@univerjs-pro/collaboration-client 0.5.4-nightly.202501150735 → 0.5.4-nightly.202501151252
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 +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x2bc529=_0xbb4d;(function(_0x24f10f,_0xb8e781){var _0x121217=_0xbb4d,_0x138281=_0x24f10f();while(!![]){try{var _0x263f4b=parseInt(_0x121217(0xcd))/0x1+-parseInt(_0x121217(0x234))/0x2+parseInt(_0x121217(0x2e2))/0x3*(-parseInt(_0x121217(0x1fe))/0x4)+parseInt(_0x121217(0x1eb))/0x5*(parseInt(_0x121217(0x1d6))/0x6)+-parseInt(_0x121217(0x128))/0x7+parseInt(_0x121217(0x342))/0x8*(parseInt(_0x121217(0x1d2))/0x9)+-parseInt(_0x121217(0x36b))/0xa;if(_0x263f4b===_0xb8e781)break;else _0x138281['push'](_0x138281['shift']());}catch(_0x56e1bb){_0x138281['push'](_0x138281['shift']());}}}(_0x53cc,0xc1252));var Li=Object[_0x2bc529(0x1a2)],Mi=(_0x4c6660,_0x1c4ee3,_0xbdba0e)=>_0x1c4ee3 in _0x4c6660?Li(_0x4c6660,_0x1c4ee3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbdba0e}):_0x4c6660[_0x1c4ee3]=_0xbdba0e,N=(_0x521669,_0x18a60c,_0xbf240f)=>Mi(_0x521669,typeof _0x18a60c!=_0x2bc529(0x1c4)?_0x18a60c+'':_0x18a60c,_0xbf240f);import{createIdentifier as _0x5990b7,Inject as _0x168dfb,Injector as _0x25ad6f,Disposable as _0x5a5f96,DisposableCollection as _0x3200d8,toDisposable as _0x1ca5c7,IConfigService as _0x56e40a,ILogService as _0x455813,UserManagerService as _0x17d148,UniverInstanceType as _0x432cf6,IUniverInstanceService as _0x2e9407,LocaleService as _0x46be6e,Optional as _0x17ac87,RxDisposable as _0x357f9f,Tools as _0x5a3ad9,Rectangle as _0x140bbd,ICommandService as _0x3c6d09,JSONX as _0x3dbb64,CommandType as _0x5bd9db,IPermissionService as _0x1231a3,IUndoRedoService as _0x16ee51,sequenceExecute as _0x56570f,Workbook as _0xe43557,MentionType as _0x24253a,IAuthzIoService as _0x414183,isInternalEditorID as _0x2fc829,LocalUndoRedoService as _0xe5885d,IContextService as _0x305ee1,DependentOn as _0x13627c,Plugin as _0x3fa707,merge as _0x1a9abb,mergeOverrideWithDependencies as _0x2a1c6a,IMentionIOService as _0x465698,registerDependencies as _0x3a2b51,Quantity as _0xba53e1,touchDependencies as _0x702351}from'@univerjs/core';import{Subject as _0x41bed3,merge as _0x375c6f,of as _0x21da04,BehaviorSubject as _0x47bc14,takeUntil as _0x482c59,ReplaySubject as _0x3d9a04,take as _0x227a1a,map as _0x5a83ff,shareReplay as _0x4cc5b7,firstValueFrom as _0x45fcaa,concatMap as _0x423568}from'rxjs';import{map as _0x1d550d,take as _0x366971,filter as _0x4ca0f2,delay as _0x2cef54,takeUntil as _0x12149e}from'rxjs/operators';import{HTTPService as _0x2aebad,ISocketService as _0x2583c5,MergeInterceptorFactory as _0x3c43bc,HTTPRequest as _0x5e272e,UniverNetworkPlugin as _0x556763,ThresholdInterceptorFactory as _0x17ad46}from'@univerjs/network';import{CollaborationEvent as _0xc77da8,parseChangesetToProtocol as _0x4c19d7,ISnapshotServerService as _0x59b46c,isTransformMutationsWithChangesetSuccess as _0x24c061,ITransformService as _0x5aa706,mapDocumentTypeToUniverType as _0x41a530,RevisionService as _0x2b637c,isTransformChangesetsSuccess as _0x364536,CompressMutationService as _0x43aab2,parseProtocolChangeset as _0x445dda,SnapshotService as _0x1b7601,textEncoder as _0x4312d5,b64DecodeUnicode as _0x2225b2,isTransformMutationsWithChangesetFailure as _0x2eb018,UniverCollaborationPlugin as _0x312fc2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x16094b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x34e152}from'@univerjs/docs';import{SheetsSelectionsService as _0x12cb24,SetSelectionsOperation as _0x86acec,InsertSheetMutation as _0x2ddf1a,EmptyMutation as _0x529b7c,WorkbookEditablePermission as _0x3ec26a,SheetPermissionInitController as _0x2dd290,UniverSheetsPlugin as _0x59a301}from'@univerjs/sheets';import{ImageSourceType as _0x103643,ImageUploadStatusType as _0x5086de,IImageIoService as _0x3e94da}from'@univerjs/drawing';function _0xbb4d(_0x1ece3d,_0x51ccf3){var _0x53ccd2=_0x53cc();return _0xbb4d=function(_0xbb4d55,_0x23917a){_0xbb4d55=_0xbb4d55-0xb3;var _0x5c73d1=_0x53ccd2[_0xbb4d55];return _0x5c73d1;},_0xbb4d(_0x1ece3d,_0x51ccf3);}import{getGlobalObject as _0x22c908}from'@univerjs-pro/license';const En=_0x2bc529(0x166),In='/universer-api/snapshot',Tn=_0x2bc529(0x3a9),eo=_0x2bc529(0x177),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn='ws://127.0.0.1:8000/universer-api/comb/connect',On=_0x2bc529(0x1f4),yn=_0x2bc529(0x298),Nn=0x7530,Si=_0x2bc529(0x148),Ei=0x4e20,Dn=0x4e20,Pn=_0x2bc529(0x348),wn=0x3,to=_0x2bc529(0x240),io=0x3e8,Un=_0x2bc529(0x1e5),An='/universer-api/comb',xn=_0x2bc529(0x13f),Ln='/universer-api/oidc/authpage',no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x2bc529(0x22e);var Ii=(_0x15d414=>(_0x15d414[_0x15d414[_0x2bc529(0x154)]=0x0]=_0x2bc529(0x154),_0x15d414[_0x15d414['OK']=0x1]='OK',_0x15d414[_0x15d414['INTERNAL_ERROR']=0x2]=_0x2bc529(0x237),_0x15d414[_0x15d414[_0x2bc529(0x193)]=0x3]=_0x2bc529(0x193),_0x15d414[_0x15d414[_0x2bc529(0x110)]=0x4]=_0x2bc529(0x110),_0x15d414[_0x15d414['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x15d414[_0x15d414['ALREADY_EXISTS']=0x6]=_0x2bc529(0x3a0),_0x15d414[_0x15d414[_0x2bc529(0xcc)]=0x7]=_0x2bc529(0xcc),_0x15d414[_0x15d414[_0x2bc529(0x2a4)]=0x8]=_0x2bc529(0x2a4),_0x15d414[_0x15d414[_0x2bc529(0x29c)]=0x9]='COMPLETION_FINISHED',_0x15d414[_0x15d414[_0x2bc529(0x115)]=0x1389]=_0x2bc529(0x115),_0x15d414[_0x15d414[_0x2bc529(0x203)]=0x1771]=_0x2bc529(0x203),_0x15d414[_0x15d414['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2bc529(0x130),_0x15d414[_0x15d414[_0x2bc529(0x3b3)]=0x1773]=_0x2bc529(0x3b3),_0x15d414[_0x15d414[_0x2bc529(0xf2)]=0x1b59]=_0x2bc529(0xf2),_0x15d414[_0x15d414[_0x2bc529(0x15f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x15d414[_0x15d414[_0x2bc529(0x1fd)]=0x1b5b]=_0x2bc529(0x1fd),_0x15d414[_0x15d414[_0x2bc529(0x302)]=0x1b5c]=_0x2bc529(0x302),_0x15d414[_0x15d414[_0x2bc529(0x33c)]=0x1b5d]=_0x2bc529(0x33c),_0x15d414[_0x15d414['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2bc529(0x108),_0x15d414[_0x15d414['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x15d414[_0x15d414[_0x2bc529(0x375)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x15d414[_0x15d414[_0x2bc529(0x1f9)]=0x232b]=_0x2bc529(0x1f9),_0x15d414[_0x15d414[_0x2bc529(0x201)]=0x232c]=_0x2bc529(0x201),_0x15d414[_0x15d414['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x15d414[_0x15d414[_0x2bc529(0x20c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x15d414[_0x15d414[_0x2bc529(0xf1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15d414[_0x15d414[_0x2bc529(0x26e)]=0x2713]=_0x2bc529(0x26e),_0x15d414[_0x15d414['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x15d414[_0x15d414['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2bc529(0x2e5),_0x15d414[_0x15d414[_0x2bc529(0x385)]=-0x1]='UNRECOGNIZED',_0x15d414))(Ii||{}),Q=(_0x42dfef=>(_0x42dfef[_0x42dfef[_0x2bc529(0xc0)]=0x0]='UNIVER_UNKNOWN',_0x42dfef[_0x42dfef[_0x2bc529(0x14e)]=0x1]=_0x2bc529(0x14e),_0x42dfef[_0x42dfef[_0x2bc529(0x38c)]=0x2]='UNIVER_SHEET',_0x42dfef[_0x42dfef[_0x2bc529(0x34f)]=0x3]=_0x2bc529(0x34f),_0x42dfef[_0x42dfef[_0x2bc529(0xda)]=0x4]=_0x2bc529(0xda),_0x42dfef[_0x42dfef[_0x2bc529(0x385)]=-0x1]=_0x2bc529(0x385),_0x42dfef))(Q||{}),F=(_0x134ab8=>(_0x134ab8[_0x134ab8[_0x2bc529(0x2ff)]=0x0]='UNKNOWN_CMD',_0x134ab8[_0x134ab8[_0x2bc529(0x2fe)]=0x1]=_0x2bc529(0x2fe),_0x134ab8[_0x134ab8['JOIN']=0x2]='JOIN',_0x134ab8[_0x134ab8[_0x2bc529(0x1a1)]=0x3]=_0x2bc529(0x1a1),_0x134ab8[_0x134ab8[_0x2bc529(0x2ec)]=0x4]=_0x2bc529(0x2ec),_0x134ab8[_0x134ab8[_0x2bc529(0x239)]=0x5]='HEARTBEAT',_0x134ab8[_0x134ab8[_0x2bc529(0x26d)]=0x6]=_0x2bc529(0x26d),_0x134ab8[_0x134ab8[_0x2bc529(0x385)]=-0x1]=_0x2bc529(0x385),_0x134ab8))(F||{}),Ee=(_0x12009e=>(_0x12009e[_0x12009e[_0x2bc529(0x165)]=0x0]='UNKNOWN_CODE',_0x12009e[_0x12009e['OK']=0x1]='OK',_0x12009e[_0x12009e[_0x2bc529(0x3b0)]=0x2]=_0x2bc529(0x3b0),_0x12009e[_0x12009e[_0x2bc529(0x392)]=0x3e9]='JOIN_ROOM_FULL',_0x12009e[_0x12009e['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2bc529(0x151),_0x12009e[_0x12009e[_0x2bc529(0x1be)]=0x3eb]=_0x2bc529(0x1be),_0x12009e[_0x12009e[_0x2bc529(0x102)]=0x3ec]=_0x2bc529(0x102),_0x12009e[_0x12009e[_0x2bc529(0x385)]=-0x1]=_0x2bc529(0x385),_0x12009e))(Ee||{}),Ti=(_0x1c464d=>(_0x1c464d[_0x1c464d['Undefined']=0x0]='Undefined',_0x1c464d[_0x1c464d[_0x2bc529(0x2b9)]=0x1]=_0x2bc529(0x2b9),_0x1c464d[_0x1c464d[_0x2bc529(0xdf)]=0x2]=_0x2bc529(0xdf),_0x1c464d[_0x1c464d['UnitEmbedded']=0x3]='UnitEmbedded',_0x1c464d[_0x1c464d['UnitSnapshot']=0x4]=_0x2bc529(0x170),_0x1c464d[_0x1c464d[_0x2bc529(0x385)]=-0x1]=_0x2bc529(0x385),_0x1c464d))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x2bf5e1=>(_0x2bf5e1['OTHER_CLIENT_EDITING']=_0x2bc529(0x25b),_0x2bf5e1[_0x2bc529(0x193)]=_0x2bc529(0x193),_0x2bf5e1[_0x2bc529(0x247)]=_0x2bc529(0x247),_0x2bf5e1['CLOSE_ROOM']=_0x2bc529(0x309),_0x2bf5e1[_0x2bc529(0x212)]='JOIN_ROOM_FAILED',_0x2bf5e1[_0x2bc529(0x382)]=_0x2bc529(0x382),_0x2bf5e1[_0x2bc529(0x157)]=_0x2bc529(0x157),_0x2bf5e1[_0x2bc529(0x2e4)]=_0x2bc529(0x2e4),_0x2bf5e1))(se||{});class pe{constructor(){var _0x2c5b49=_0x2bc529;N(this,_0x2c5b49(0x232),new _0x41bed3()),N(this,_0x2c5b49(0xe4),this[_0x2c5b49(0x232)]['asObservable']());}['emitEvent'](_0x38fe34){var _0x265f3a=_0x2bc529;this[_0x265f3a(0x232)]['next'](_0x38fe34);}}const Mn=_0x5990b7(_0x2bc529(0x381));function $n(_0x3c2af4){var _0x485661=_0x2bc529,_0x50785d,_0xdac34c,_0x19e650,_0x1a074a,_0x56b00a;const _0x1ce5cd=_0x3c2af4[_0x485661(0x33f)],_0x6cbb5b=JSON['parse'](_0x1ce5cd);switch(_0x6cbb5b[_0x485661(0x133)]){case F['HEARTBEAT']:case F[_0x485661(0x2fe)]:{const _0x1bdb7b=_0x6cbb5b[_0x485661(0x2ad)];return{..._0x6cbb5b,'data':_0x1bdb7b,'cmd':_0x6cbb5b[_0x485661(0x133)]};}case F[_0x485661(0x225)]:{const _0x13d41f=_0x6cbb5b[_0x485661(0x1ed)];return{..._0x6cbb5b,'data':_0x13d41f,'cmd':_0x6cbb5b[_0x485661(0x133)]};}case F[_0x485661(0x26d)]:{const _0x255b4f=_0x6cbb5b[_0x485661(0x397)];switch(_0x255b4f['eventID']){case _0xc77da8[_0x485661(0x138)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':(_0x50785d=_0x255b4f[_0x485661(0x25e)])==null?void 0x0:_0x50785d['cs']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8[_0x485661(0xf7)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':(_0xdac34c=_0x255b4f[_0x485661(0x1a0)])==null?void 0x0:_0xdac34c['cs']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8[_0x485661(0x206)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':(_0x19e650=_0x255b4f[_0x485661(0x1d1)])==null?void 0x0:_0x19e650['cs']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8[_0x485661(0x16f)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':(_0x1a074a=_0x255b4f[_0x485661(0x3ab)])==null?void 0x0:_0x1a074a['cs']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8['CHANGESET_SHOULD_RETRY']:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':(_0x56b00a=_0x255b4f['csShouldRetryEvent'])==null?void 0x0:_0x56b00a['cs']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8['UPDATE_CURSOR']:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f['updateCursorEvent']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8['USERS_ENTER']:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f['joinEvent']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8['USERS_LEAVE']:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f[_0x485661(0x254)]},'cmd':_0x6cbb5b['cmd']};case _0xc77da8[_0x485661(0x2c4)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f['liveShareNewHost']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8['LIVESHARE_FETCH_OPERATIONS']:case _0xc77da8[_0x485661(0x1ae)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f[_0x485661(0x19c)]},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8[_0x485661(0x141)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f[_0x485661(0x353)]},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8[_0x485661(0x2a7)]:return{..._0x6cbb5b,'data':_0x255b4f,'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8[_0x485661(0x2b0)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f['commentUpdateEvent']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8['UPDATE_PERMISSION_OBJ']:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f['updatePermissionObjEvent']},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8[_0x485661(0x213)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f[_0x485661(0x355)]},'cmd':_0x6cbb5b[_0x485661(0x133)]};case _0xc77da8[_0x485661(0x398)]:return{..._0x6cbb5b,'data':{..._0x255b4f,'data':_0x255b4f[_0x485661(0x384)]},'cmd':_0x6cbb5b[_0x485661(0x133)]};default:return _0x6cbb5b;}}default:return _0x6cbb5b;}}function Hn(_0x14fe28){var _0x2e88ca=_0x2bc529;switch(_0x14fe28['cmd']){case F['HEARTBEAT']:case F[_0x2e88ca(0x2fe)]:return JSON['stringify']({'cmd':_0x14fe28[_0x2e88ca(0x133)],'routeKey':_0x14fe28[_0x2e88ca(0x14f)]});case F[_0x2e88ca(0x2ec)]:{let _0x580464;switch(_0x14fe28['data']['eventID']){case _0xc77da8[_0x2e88ca(0x304)]:{_0x580464={'eventID':_0xc77da8[_0x2e88ca(0x304)],'updateCursorEvent':_0x14fe28['data'][_0x2e88ca(0x33f)]};break;}case _0xc77da8[_0x2e88ca(0x289)]:{_0x580464={'eventID':_0xc77da8[_0x2e88ca(0x289)],'leaveEvent':_0x14fe28[_0x2e88ca(0x33f)]['data']};break;}case _0xc77da8[_0x2e88ca(0x32b)]:{_0x580464={'eventID':_0xc77da8[_0x2e88ca(0x32b)],'joinEvent':_0x14fe28[_0x2e88ca(0x33f)][_0x2e88ca(0x33f)]};break;}case _0xc77da8[_0x2e88ca(0x2c4)]:{_0x580464={'eventID':_0xc77da8[_0x2e88ca(0x2c4)],'liveShareNewHost':_0x14fe28['data'][_0x2e88ca(0x33f)]};break;}case _0xc77da8[_0x2e88ca(0x1ae)]:{_0x580464={'eventID':_0xc77da8['LIVESHARE_OPERATION'],'liveShareOperation':_0x14fe28[_0x2e88ca(0x33f)][_0x2e88ca(0x33f)]};break;}case _0xc77da8['LIVESHARE_TERMINATE']:{_0x580464={'eventID':_0xc77da8[_0x2e88ca(0x141)],'liveShareTerminate':_0x14fe28['data']['data']};break;}case _0xc77da8[_0x2e88ca(0x37c)]:{_0x580464={'eventID':_0xc77da8[_0x2e88ca(0x37c)],'liveShareRequestHost':_0x14fe28[_0x2e88ca(0x33f)][_0x2e88ca(0x33f)]};break;}case _0xc77da8['LIVESHARE_FETCH_OPERATIONS']:{_0x580464={'eventID':_0xc77da8[_0x2e88ca(0x275)]};break;}default:_0x580464={'eventID':_0x14fe28[_0x2e88ca(0x33f)][_0x2e88ca(0x1da)]};}return JSON[_0x2e88ca(0xe6)]({'cmd':_0x14fe28[_0x2e88ca(0x133)],'routeKey':_0x14fe28['routeKey'],'collaMsg':_0x580464});}case F[_0x2e88ca(0x225)]:return JSON[_0x2e88ca(0xe6)]({'cmd':_0x14fe28[_0x2e88ca(0x133)],'routeKey':_0x14fe28['routeKey'],'joinReq':_0x14fe28[_0x2e88ca(0x33f)]});case F['LEAVE']:return JSON[_0x2e88ca(0xe6)]({'cmd':_0x14fe28[_0x2e88ca(0x133)],'routeKey':_0x14fe28['routeKey'],'leaveReq':_0x14fe28[_0x2e88ca(0x33f)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x2bc529(0x1a2)],jn=Object[_0x2bc529(0x1b8)],Bn=(_0xfbecb9,_0x33b893,_0x4aa3da,_0x4b05ed)=>{var _0x18949a=_0x2bc529;for(var _0x2059f9=_0x4b05ed>0x1?void 0x0:_0x4b05ed?jn(_0x33b893,_0x4aa3da):_0x33b893,_0x4cbe5f=_0xfbecb9[_0x18949a(0x1d4)]-0x1,_0x4f5894;_0x4cbe5f>=0x0;_0x4cbe5f--)(_0x4f5894=_0xfbecb9[_0x4cbe5f])&&(_0x2059f9=(_0x4b05ed?_0x4f5894(_0x33b893,_0x4aa3da,_0x2059f9):_0x4f5894(_0x2059f9))||_0x2059f9);return _0x4b05ed&&_0x2059f9&&kn(_0x33b893,_0x4aa3da,_0x2059f9),_0x2059f9;},Ue=(_0x448342,_0x38cf11)=>(_0x56cd1c,_0x1041d3)=>_0x38cf11(_0x56cd1c,_0x1041d3,_0x448342);const Ci=_0x5990b7(_0x2bc529(0x2f6));function Fn(_0x1df3a0,_0x18b6f4,_0x49e6a1){var _0x4aaa8a=_0x2bc529;return _0x1df3a0+'/'+_0x18b6f4+'/unit/'+_0x49e6a1+_0x4aaa8a(0x27e);}let Et=class extends _0x5a5f96{constructor(_0x23abbb,_0x168393,_0x5689fe,_0x25222c,_0x58bfbf){var _0x3c0043=_0x2bc529;super(),this[_0x3c0043(0x129)]=_0x23abbb,this[_0x3c0043(0x1ea)]=_0x168393,this[_0x3c0043(0x1e1)]=_0x5689fe,this[_0x3c0043(0x2e9)]=_0x25222c,this['_snapshotServerService']=_0x58bfbf;}[_0x2bc529(0x174)](_0x2c14c0){var _0x360659=_0x2bc529;const _0x190f51=this['_injector'][_0x360659(0x227)](_0x2583c5);if(!_0x190f51)throw new Error(_0x360659(0x1fc));const _0x1c6816=_0x190f51['createSocket'](_0x2c14c0);if(!_0x1c6816)throw new Error(_0x360659(0x3a3));const _0x15694e=new _0x3200d8(),_0x41d485=new _0x41bed3();_0x15694e[_0x360659(0x3a4)](_0x1c6816[_0x360659(0x28f)][_0x360659(0x285)](_0x3d2181=>_0x41d485[_0x360659(0x318)](_0x3d2181))),_0x15694e[_0x360659(0x3a4)](_0x1ca5c7(()=>_0x41d485[_0x360659(0x356)]()));const _0xb26b76=new _0x41bed3();_0x15694e[_0x360659(0x3a4)](_0x1c6816[_0x360659(0x105)]['subscribe'](_0x162771=>_0xb26b76[_0x360659(0x318)](_0x162771))),_0x15694e[_0x360659(0x3a4)](_0x1ca5c7(()=>_0xb26b76[_0x360659(0x356)]()));const _0x996ea1=new _0x41bed3();_0x15694e[_0x360659(0x3a4)](_0x1c6816[_0x360659(0x164)][_0x360659(0x285)](_0x1ad632=>{var _0x268efe=_0x360659;const _0x2c1ed2=$n(_0x1ad632);_0x996ea1[_0x268efe(0x318)](_0x2c1ed2);})),_0x15694e[_0x360659(0x3a4)](_0x1ca5c7(()=>_0x996ea1['complete']()));let _0xaebc58;const _0xd7c758=()=>{var _0x134a05=_0x360659;_0xb26b76['next'](new Event('connection\x20error')),_0x41d485[_0x134a05(0x318)](new CloseEvent(_0x134a05(0x17e))),_0xaebc58['close']();};return _0xaebc58={'memberID':'','close$':_0x41d485[_0x360659(0x20f)](),'error$':_0xb26b76[_0x360659(0x20f)](),'open$':_0x1c6816[_0x360659(0x1bc)],'message$':_0x996ea1['asObservable'](),'send':_0x31ebef=>{var _0x5a1d2d=_0x360659;if(_0x31ebef[_0x5a1d2d(0x133)]===F[_0x5a1d2d(0x2ec)]){if(_0x31ebef['data'][_0x5a1d2d(0x1da)]===_0xc77da8[_0x5a1d2d(0x2ef)]){this[_0x5a1d2d(0x29e)](_0xaebc58,_0x31ebef[_0x5a1d2d(0x33f)])[_0x5a1d2d(0x305)](_0x2b8ece=>{var _0x311575=_0x5a1d2d;this[_0x311575(0x2e9)]['error'](_0x2b8ece),_0xd7c758();});return;}if(_0x31ebef[_0x5a1d2d(0x33f)][_0x5a1d2d(0x1da)]===_0xc77da8[_0x5a1d2d(0x119)]){const _0x52da87=_0x31ebef[_0x5a1d2d(0x33f)];this['_fetchMissChangesets'](_0x52da87)[_0x5a1d2d(0x2cd)](_0x2b8877=>{var _0x110dfd=_0x5a1d2d;_0x996ea1['next']({'cmd':F[_0x110dfd(0x26d)],'code':Ee['OK'],'routeKey':_0x52da87[_0x110dfd(0x33f)]['unitID'],'routeType':'','data':{'eventID':_0xc77da8[_0x110dfd(0x10a)],'data':{'changesets':_0x2b8877}}});})[_0x5a1d2d(0x305)](_0xa3ef3b=>{var _0x5283a0=_0x5a1d2d;this[_0x5283a0(0x2e9)]['error'](_0xa3ef3b),_0xd7c758();});return;}}_0x1c6816['send'](Hn(_0x31ebef));},'close':()=>{var _0x46361f=_0x360659;_0x1c6816[_0x46361f(0x1c7)](),_0x15694e[_0x46361f(0x3a8)]();}},_0xaebc58;}async[_0x2bc529(0x29e)](_0x16b02c,_0x3c9709){var _0x5e8b30=_0x2bc529,_0x322d16,_0x313484;const {unitType:_0x1136ab,unitID:_0x5f1438,changeset:_0x1dffc3}=_0x3c9709[_0x5e8b30(0x33f)],_0x5299a2={'unitID':_0x5f1438,'memberID':_0x16b02c[_0x5e8b30(0x2d0)],'type':_0x1136ab,'changeset':_0x4c19d7(_0x1dffc3)},_0x8987c0=this['_configService']['getConfig'](Un),_0x4d5f92=this['_configService'][_0x5e8b30(0x2db)](q),_0x5230ba=Fn((_0x313484=(_0x322d16=_0x4d5f92==null?void 0x0:_0x4d5f92[_0x5e8b30(0x1f0)])!=null?_0x322d16:_0x8987c0)!=null?_0x313484:An,_0x1136ab,_0x5f1438);try{await this[_0x5e8b30(0x1ea)]['post'](_0x5230ba,{'body':_0x5299a2});}catch(_0x4ddfa){throw this[_0x5e8b30(0x2e9)][_0x5e8b30(0x185)](_0x5e8b30(0x2e7),'submit\x20changeset\x20error!'),_0x4ddfa;}}async[_0x2bc529(0x22b)](_0xe8b208){var _0x20d064=_0x2bc529;const {unitID:_0x1dd4ba,from:_0x4db553,to:_0x53b993,unitType:_0x3810c8}=_0xe8b208[_0x20d064(0x33f)];return(await this[_0x20d064(0x274)][_0x20d064(0x349)]({'metadata':void 0x0},{'unitID':_0x1dd4ba,'type':_0x3810c8,'from':_0x4db553,'to':_0x53b993}))['changesets'];}};Et=Bn([Ue(0x0,_0x168dfb(_0x25ad6f)),Ue(0x1,_0x168dfb(_0x2aebad)),Ue(0x2,_0x56e40a),Ue(0x3,_0x455813),Ue(0x4,_0x59b46c)],Et);const Vn='collaboration_new_changeset';function Gn(_0x3a010a){var _0x52297d=_0x2bc529;return JSON[_0x52297d(0xe6)](_0x3a010a)[_0x52297d(0x1d4)];}class Ri{constructor(){var _0x17fc9f=_0x2bc529;N(this,_0x17fc9f(0x1bb),new _0x41bed3()),N(this,_0x17fc9f(0x262),this['_commentUpdate$'][_0x17fc9f(0x20f)]());}['onCommentUpdate'](_0x1b7bb8){var _0x54290c=_0x2bc529;this[_0x54290c(0x1bb)][_0x54290c(0x318)](_0x1b7bb8);}}var Wn=Object[_0x2bc529(0x1a2)],Kn=Object[_0x2bc529(0x1b8)],Yn=(_0x4f5a9a,_0xa5537f,_0x1e8d49,_0x869039)=>{var _0x32cade=_0x2bc529;for(var _0x3d89f5=_0x869039>0x1?void 0x0:_0x869039?Kn(_0xa5537f,_0x1e8d49):_0xa5537f,_0x4a43aa=_0x4f5a9a[_0x32cade(0x1d4)]-0x1,_0x10716c;_0x4a43aa>=0x0;_0x4a43aa--)(_0x10716c=_0x4f5a9a[_0x4a43aa])&&(_0x3d89f5=(_0x869039?_0x10716c(_0xa5537f,_0x1e8d49,_0x3d89f5):_0x10716c(_0x3d89f5))||_0x3d89f5);return _0x869039&&_0x3d89f5&&Wn(_0xa5537f,_0x1e8d49,_0x3d89f5),_0x3d89f5;},Kt=(_0x30ab40,_0x1f81a7)=>(_0x4339cb,_0x5cdf4b)=>_0x1f81a7(_0x4339cb,_0x5cdf4b,_0x30ab40);let xe=class extends _0x5a5f96{constructor(_0xa2e35d,_0x3ee0e6){var _0x4e621c=_0x2bc529;super(),N(this,_0x4e621c(0x1f5),new Map()),N(this,_0x4e621c(0x2b7),new _0x41bed3()),(this['_univerInstanceService']=_0xa2e35d,this['_userManagerService']=_0x3ee0e6,this['disposeWithMe'](_0x375c6f(this['_univerInstanceService'][_0x4e621c(0x194)](_0x432cf6[_0x4e621c(0x38c)])[_0x4e621c(0x2e6)](_0x1d550d(_0x212224=>_0x212224[_0x4e621c(0x1d0)]())),this[_0x4e621c(0xc3)][_0x4e621c(0x194)](_0x432cf6[_0x4e621c(0x14e)])['pipe'](_0x1d550d(_0x3f09c9=>_0x3f09c9[_0x4e621c(0x1d0)]())),this[_0x4e621c(0xc3)][_0x4e621c(0x194)](_0x432cf6[_0x4e621c(0x34f)])[_0x4e621c(0x2e6)](_0x1d550d(_0x4835a0=>_0x4835a0['getUnitId']())))['subscribe'](_0x5dd3a9=>this[_0x4e621c(0x260)](_0x5dd3a9))));}[_0x2bc529(0x39c)](_0x506956){var _0x27badb=_0x2bc529;return this[_0x27badb(0x1f5)]['has'](_0x506956)?_0x21da04(this[_0x27badb(0x1f5)][_0x27badb(0x227)](_0x506956)):this['_roomCreated$'][_0x27badb(0x2e6)](_0x1d550d(_0x224c88=>{var _0x201df9=_0x27badb;if(_0x224c88===_0x506956)return this[_0x201df9(0x1f5)][_0x201df9(0x227)](_0x224c88);}));}[_0x2bc529(0x2c0)](_0x9f0bdd){var _0x5ea834=_0x2bc529;this[_0x5ea834(0x210)]['setCurrentUser'](_0x9f0bdd);}[_0x2bc529(0xd2)](){var _0x442de4=_0x2bc529;return this[_0x442de4(0x210)][_0x442de4(0xd2)]();}[_0x2bc529(0x1a6)](_0x304cee,_0x3e6b33){var _0x19e0fc=_0x2bc529;let _0x529d3f=this['_roomMembers']['get'](_0x304cee);_0x529d3f||(_0x529d3f=new qn(),this['_roomMembers']['set'](_0x304cee,_0x529d3f),this[_0x19e0fc(0x2b7)][_0x19e0fc(0x318)](_0x304cee)),_0x529d3f[_0x19e0fc(0x1a6)](_0x3e6b33);}[_0x2bc529(0x26f)](_0x52c723,_0x5317fc){var _0x3e1c96=_0x2bc529;const _0x333b6c=this[_0x3e1c96(0x1f5)][_0x3e1c96(0x227)](_0x52c723);_0x333b6c&&_0x333b6c['removeMember'](_0x5317fc);}[_0x2bc529(0x2ba)](_0x38a229){var _0x43a46b=_0x2bc529;return this[_0x43a46b(0x1f5)][_0x43a46b(0x227)](_0x38a229);}['getMember'](_0x61ec4,_0x50837e){var _0x1046b4=_0x2bc529;const _0x34632e=this['_roomMembers']['get'](_0x61ec4);if(_0x34632e)return _0x34632e[_0x1046b4(0x313)](_0x50837e);}[_0x2bc529(0x260)](_0x334fd8){var _0x435dcd=_0x2bc529;const _0x25610e=this[_0x435dcd(0x1f5)][_0x435dcd(0x227)](_0x334fd8);_0x25610e&&(_0x25610e[_0x435dcd(0x3a8)](),this[_0x435dcd(0x1f5)][_0x435dcd(0x396)](_0x334fd8));}[_0x2bc529(0x3a8)](){var _0x1775cc=_0x2bc529;this[_0x1775cc(0x1f5)]['forEach'](_0x5dcc6f=>_0x5dcc6f[_0x1775cc(0x3a8)]()),this[_0x1775cc(0x1f5)][_0x1775cc(0x31e)](),this[_0x1775cc(0x2b7)][_0x1775cc(0x356)]();}};xe=Yn([Kt(0x0,_0x2e9407),Kt(0x1,_0x168dfb(_0x17d148))],xe);class qn extends _0x5a5f96{constructor(){var _0x36a618=_0x2bc529;super(...arguments),N(this,'_members',new Map()),N(this,_0x36a618(0x2f1),new _0x47bc14(this[_0x36a618(0xb3)])),N(this,_0x36a618(0x2d6),this[_0x36a618(0x2f1)][_0x36a618(0x20f)]());}[_0x2bc529(0x3a8)](){var _0x43829c=_0x2bc529;this[_0x43829c(0xb3)][_0x43829c(0x31e)]();}['updateMember'](_0x53ed18){var _0x54554c=_0x2bc529;this[_0x54554c(0xb3)][_0x54554c(0x2de)](_0x53ed18['memberID'],_0x53ed18),this[_0x54554c(0x256)]();}['removeMember'](_0x2d7bb7){var _0x1d6a6f=_0x2bc529;this['_members'][_0x1d6a6f(0x396)](_0x2d7bb7);}[_0x2bc529(0x313)](_0x599426){var _0x322f02=_0x2bc529;return this[_0x322f02(0xb3)][_0x322f02(0x227)](_0x599426);}[_0x2bc529(0x149)](){var _0x586805=_0x2bc529;return Array[_0x586805(0x2f7)](this[_0x586805(0xb3)][_0x586805(0x314)]());}['_emitMembers'](){var _0x646c5d=_0x2bc529;this['_members$'][_0x646c5d(0x318)](this['_members']);}}var zn=Object['defineProperty'],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x173516,_0x459e6e,_0x27d432,_0xe3fbfb)=>{var _0x43ed54=_0x2bc529;for(var _0x825cf9=_0xe3fbfb>0x1?void 0x0:_0xe3fbfb?Jn(_0x459e6e,_0x27d432):_0x459e6e,_0x1f1a2b=_0x173516[_0x43ed54(0x1d4)]-0x1,_0x31f76c;_0x1f1a2b>=0x0;_0x1f1a2b--)(_0x31f76c=_0x173516[_0x1f1a2b])&&(_0x825cf9=(_0xe3fbfb?_0x31f76c(_0x459e6e,_0x27d432,_0x825cf9):_0x31f76c(_0x825cf9))||_0x825cf9);return _0xe3fbfb&&_0x825cf9&&zn(_0x459e6e,_0x27d432,_0x825cf9),_0x825cf9;},me=(_0x3aed7d,_0x33a037)=>(_0x8271b1,_0x13f9ba)=>_0x33a037(_0x8271b1,_0x13f9ba,_0x3aed7d),Te=(_0x1b4a54=>(_0x1b4a54[_0x1b4a54['IDLE']=0x0]=_0x2bc529(0x28a),_0x1b4a54[_0x1b4a54[_0x2bc529(0x106)]=0x1]='JOINING',_0x1b4a54[_0x1b4a54['OFFLINE']=0x2]=_0x2bc529(0x30b),_0x1b4a54[_0x1b4a54[_0x2bc529(0xfa)]=0x3]=_0x2bc529(0xfa),_0x1b4a54))(Te||{});const Yt={[Ee[_0x2bc529(0x3b0)]]:_0x2bc529(0x299),[Ee[_0x2bc529(0x392)]]:_0x2bc529(0x1d8),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x2bc529(0x345),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x2bc529(0x1c2),[Ee[_0x2bc529(0x102)]]:_0x2bc529(0xea)};let It=class extends _0x357f9f{constructor(_0x1a6246,_0x4958f0,_0x541beb,_0x5a8c77,_0x5613d3,_0x1c8938,_0x467f69,_0x5fa920,_0x2fb4af){var _0x4321df=_0x2bc529;super(),N(this,_0x4321df(0x24b),new _0x47bc14(0x0)),N(this,_0x4321df(0xb7),this[_0x4321df(0x24b)][_0x4321df(0x20f)]()),N(this,_0x4321df(0x232),new _0x41bed3()),N(this,_0x4321df(0xe4),this['_event$'][_0x4321df(0x20f)]()),N(this,_0x4321df(0x2a9)),N(this,_0x4321df(0x350)),N(this,_0x4321df(0x270)),N(this,_0x4321df(0x2a3),!0x1),N(this,_0x4321df(0x341),null),(this['_unitID']=_0x1a6246,this[_0x4321df(0x2e9)]=_0x541beb,this[_0x4321df(0x1e1)]=_0x5a8c77,this[_0x4321df(0xf4)]=_0x5613d3,this[_0x4321df(0x361)]=_0x1c8938,this[_0x4321df(0x23b)]=_0x467f69,this['_collaborationUIEventService']=_0x5fa920,this[_0x4321df(0x147)]=_0x2fb4af,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x4958f0[_0x4321df(0x2e6)](_0x482c59(this[_0x4321df(0x1c0)]))[_0x4321df(0x285)](_0x510c11=>{var _0x22099f=_0x4321df,_0x550e6e;typeof _0x510c11>'u'||(this[_0x22099f(0x2a9)]=_0x510c11,_0x510c11?(this[_0x22099f(0xdc)](_0x510c11),this[_0x22099f(0x350)]=_0x510c11['message$'][_0x22099f(0x285)](_0x328b12=>{var _0x3299c0=_0x22099f;_0x328b12['routeKey']===this[_0x3299c0(0x2e8)]&&this['_onCombEvent'](_0x328b12);})):(this[_0x22099f(0x26a)](),this[_0x22099f(0x24b)][_0x22099f(0x318)](0x2),(_0x550e6e=this[_0x22099f(0x350)])==null||_0x550e6e[_0x22099f(0x18f)](),this['_socketMessageSubscription']=null));}));}get[_0x2bc529(0xf9)](){var _0x3b48a4=_0x2bc529;return this[_0x3b48a4(0x24b)][_0x3b48a4(0x2d9)]();}[_0x2bc529(0xc7)](){var _0x438b0d=_0x2bc529,_0x3f1318,_0x3f4dfa;return(_0x3f4dfa=(_0x3f1318=this[_0x438b0d(0x2a9)])==null?void 0x0:_0x3f1318['memberID'])!=null?_0x3f4dfa:null;}[_0x2bc529(0x3a8)](){var _0x5b8e1d=_0x2bc529;super[_0x5b8e1d(0x3a8)](),this[_0x5b8e1d(0x1c0)][_0x5b8e1d(0x318)](),this[_0x5b8e1d(0x1c0)][_0x5b8e1d(0x356)]();}[_0x2bc529(0x1c7)](){var _0x31ec9b=_0x2bc529,_0xa7f38d,_0x2c0a3;this[_0x31ec9b(0x26a)](),(_0xa7f38d=this[_0x31ec9b(0x2a9)])==null||_0xa7f38d['send']({'cmd':F[_0x31ec9b(0x1a1)],'data':{'roomID':this[_0x31ec9b(0x2e8)]}}),(_0x2c0a3=this[_0x31ec9b(0x2a9)])==null||_0x2c0a3[_0x31ec9b(0x1c7)](),this[_0x31ec9b(0x232)][_0x31ec9b(0x356)](),this[_0x31ec9b(0x24b)][_0x31ec9b(0x356)](),this[_0x31ec9b(0x3a8)]();}[_0x2bc529(0x167)](_0x31b3de){var _0x20d681=_0x2bc529;_0x31b3de[_0x20d681(0x133)]===F['JOIN']?this[_0x20d681(0x393)](_0x31b3de):_0x31b3de['cmd']===F[_0x20d681(0x26d)]&&this[_0x20d681(0x18c)](_0x31b3de);}[_0x2bc529(0xdc)](_0x343083){var _0x335648=_0x2bc529;this[_0x335648(0x24b)][_0x335648(0x318)](0x1),_0x343083[_0x335648(0xdd)]({'cmd':F['JOIN'],'routeKey':this[_0x335648(0x2e8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x335648(0x2e8)]}]}});}[_0x2bc529(0x393)](_0x4808c2){var _0x2d7008=_0x2bc529,_0x2ab270;if(_0x4808c2[_0x2d7008(0x142)]in Yt){this['_collaborationUIEventService'][_0x2d7008(0x2a5)]({'id':se[_0x2d7008(0x212)],'data':Yt[_0x4808c2['code']]}),this['_sessionStatus$'][_0x2d7008(0x318)](0x2);return;}this[_0x2d7008(0x24b)][_0x2d7008(0x318)](0x3);const _0x4fef7d=(_0x2ab270=_0x4808c2[_0x2d7008(0x33f)][_0x2d7008(0x307)][this[_0x2d7008(0x2e8)]])==null?void 0x0:_0x2ab270['members'];_0x4fef7d&&_0x4fef7d[_0x2d7008(0x351)](_0x82c5b0=>this[_0x2d7008(0x361)][_0x2d7008(0x1a6)](this['_unitID'],_0x82c5b0));}[_0x2bc529(0x18c)](_0x75b5f9){var _0x289312=_0x2bc529;try{const _0x365d45=_0x75b5f9[_0x289312(0x33f)];switch(_0x365d45[_0x289312(0x1da)]){case _0xc77da8[_0x289312(0x32b)]:this[_0x289312(0x282)](_0x365d45),this[_0x289312(0x232)][_0x289312(0x318)](_0x365d45);break;case _0xc77da8[_0x289312(0x289)]:this[_0x289312(0x12e)](_0x365d45),this[_0x289312(0x232)]['next'](_0x365d45);break;case _0xc77da8['CHANGESET_ACK']:case _0xc77da8[_0x289312(0x17d)]:this[_0x289312(0x241)](),this[_0x289312(0x118)](),this[_0x289312(0x232)]['next'](_0x365d45);break;case _0xc77da8[_0x289312(0x2a7)]:this['_logService'][_0x289312(0x185)](_0x289312(0x344)+JSON[_0x289312(0xe6)](_0x365d45)),this[_0x289312(0x232)][_0x289312(0x318)](_0x365d45);break;case _0xc77da8[_0x289312(0x2b0)]:this[_0x289312(0x23b)][_0x289312(0x354)](_0x365d45['data']),this[_0x289312(0x232)][_0x289312(0x318)](_0x365d45);break;default:this[_0x289312(0x232)][_0x289312(0x318)](_0x365d45);}}catch(_0x344e9e){this[_0x289312(0x2e9)]['error'](_0x344e9e,_0x75b5f9);}}[_0x2bc529(0x282)](_0x452732){var _0x4aef35=_0x2bc529;this[_0x4aef35(0x361)][_0x4aef35(0x1a6)](this[_0x4aef35(0x2e8)],_0x452732['data']);}[_0x2bc529(0x12e)](_0x3504ff){var _0x35e57c=_0x2bc529;this[_0x35e57c(0x361)]['removeMember'](this['_unitID'],_0x3504ff['data'][_0x35e57c(0x2d0)]);}async['send'](_0x31aed0,_0xad9429){var _0x4b20df=_0x2bc529;if(this[_0x4b20df(0xf9)]!==0x3||!this[_0x4b20df(0x2a9)])throw new Error(_0x4b20df(0x21a));try{_0x31aed0[_0x4b20df(0x1da)]===_0xc77da8[_0x4b20df(0x2ef)]&&(this[_0x4b20df(0xfb)](),this[_0x4b20df(0x311)](_0x31aed0)),this[_0x4b20df(0x2a9)][_0x4b20df(0xdd)]({'cmd':F[_0x4b20df(0x2ec)],'routeKey':_0xad9429,'routeType':'','data':_0x31aed0});}catch(_0x1916e8){this['_logService'][_0x4b20df(0x185)](_0x1916e8);}}[_0x2bc529(0xfb)](){var _0x2c783d=_0x2bc529,_0x2fd941;this[_0x2c783d(0x270)]=setTimeout(()=>{var _0x2b9429=_0x2c783d;this[_0x2b9429(0x270)]=null,this[_0x2b9429(0x360)]['emitEvent']({'id':se[_0x2b9429(0x2e4)]});},(_0x2fd941=this[_0x2c783d(0x1e1)]['getConfig'](Si))!=null?_0x2fd941:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x4ff340=_0x2bc529;this[_0x4ff340(0x270)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4ff340(0x270)]=null);}[_0x2bc529(0x311)](_0x2ff03c){var _0x1e53df=_0x2bc529;if(!this[_0x1e53df(0x2a3)])return;const {data:_0x12b55b}=_0x2ff03c,{unitID:_0x5d210f,changeset:_0x54c67f}=_0x12b55b,{mutations:_0x221987,type:_0x16580f}=_0x54c67f;this['_telemetryInfo']={'unitId':_0x5d210f,'type':_0x16580f,'startTime':performance[_0x1e53df(0x327)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x221987)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x31d073=_0x2bc529;if(this[_0x31d073(0x2a3)]){if(!this['_telemetryInfo']){this[_0x31d073(0x2e9)]['error'](_0x31d073(0x2e7),_0x31d073(0x2f0));return;}this[_0x31d073(0x341)]['stopTime']=performance[_0x31d073(0x327)](),this[_0x31d073(0x341)][_0x31d073(0x337)]=this[_0x31d073(0x341)][_0x31d073(0xfe)]-this[_0x31d073(0x341)][_0x31d073(0x3a6)],this[_0x31d073(0x147)][_0x31d073(0x1a7)](Vn,this[_0x31d073(0x341)]),this[_0x31d073(0x341)]=null;}}[_0x2bc529(0x26a)](){var _0x1525cb=_0x2bc529;this[_0x1525cb(0x341)]=null;}};It=Xn([me(0x2,_0x455813),me(0x3,_0x56e40a),me(0x4,_0x168dfb(_0x46be6e)),me(0x5,_0x168dfb(xe)),me(0x6,_0x168dfb(Ri)),me(0x7,_0x168dfb(pe)),me(0x8,_0x17ac87(_0x16094b))],It);var Zn=Object[_0x2bc529(0x1a2)],Qn=Object[_0x2bc529(0x1b8)],er=(_0x6fd55b,_0x35027c,_0x42a055,_0x3772bb)=>{for(var _0x54e147=_0x3772bb>0x1?void 0x0:_0x3772bb?Qn(_0x35027c,_0x42a055):_0x35027c,_0x1728a6=_0x6fd55b['length']-0x1,_0x274e90;_0x1728a6>=0x0;_0x1728a6--)(_0x274e90=_0x6fd55b[_0x1728a6])&&(_0x54e147=(_0x3772bb?_0x274e90(_0x35027c,_0x42a055,_0x54e147):_0x274e90(_0x54e147))||_0x54e147);return _0x3772bb&&_0x54e147&&Zn(_0x35027c,_0x42a055,_0x54e147),_0x54e147;},ge=(_0x48c405,_0x3c74d2)=>(_0x5d2e14,_0x277cad)=>_0x3c74d2(_0x5d2e14,_0x277cad,_0x48c405);let Le=class extends _0x5a5f96{constructor(_0x4a56b2,_0x21b51c,_0x41f313,_0x280d9c,_0x15da2b,_0x180b26,_0x4d0d7d){var _0x304a6c=_0x2bc529;super(),N(this,_0x304a6c(0x30c),new _0x47bc14(void 0x0)),N(this,_0x304a6c(0x31d),this[_0x304a6c(0x30c)][_0x304a6c(0x20f)]()),N(this,_0x304a6c(0x1d3),null),N(this,_0x304a6c(0x332),new Map()),N(this,_0x304a6c(0x1f3),new _0x47bc14(Te[_0x304a6c(0x28a)])),N(this,'status$',this[_0x304a6c(0x1f3)][_0x304a6c(0x20f)]()),N(this,_0x304a6c(0x310),!0x1),N(this,_0x304a6c(0x2ca)),N(this,_0x304a6c(0x183),0x0),N(this,_0x304a6c(0x336)),N(this,'_timeoutTimer'),(this[_0x304a6c(0x129)]=_0x4a56b2,this[_0x304a6c(0x2e9)]=_0x21b51c,this[_0x304a6c(0x1e1)]=_0x41f313,this[_0x304a6c(0x347)]=_0x280d9c,this[_0x304a6c(0x3a2)]=_0x15da2b,this['_collaborationUIEventService']=_0x180b26,this[_0x304a6c(0x2a6)]=_0x4d0d7d,this['_listenToNetworkCondition']());}get[_0x2bc529(0x2a9)](){var _0x41332c=_0x2bc529;return this[_0x41332c(0x30c)][_0x41332c(0x2d9)]();}['_listenToNetworkCondition'](){var _0x44bc1a=_0x2bc529;this[_0x44bc1a(0x2a6)]&&this['disposeWithMe'](this[_0x44bc1a(0x2a6)][_0x44bc1a(0x111)][_0x44bc1a(0x285)](_0x2b53d4=>{var _0x36406d=_0x44bc1a;_0x2b53d4&&!this[_0x36406d(0x2a9)]&&this[_0x36406d(0xcf)](),_0x2b53d4||this[_0x36406d(0x35e)]();}));}['dispose'](){var _0x5278ea=_0x2bc529;super['dispose'](),this['_sessions']['forEach'](_0x210231=>_0x210231[_0x5278ea(0x3a8)]()),this[_0x5278ea(0x332)][_0x5278ea(0x31e)](),this[_0x5278ea(0x1f3)][_0x5278ea(0x356)]();}async['requireSession'](_0x2f568e){var _0x4479ab=_0x2bc529;if(this[_0x4479ab(0x332)]['has'](_0x2f568e))return this['_sessions'][_0x4479ab(0x227)](_0x2f568e);this['_tryEnsureSocket']();const _0x5dc929=this['_injector']['createInstance'](It,_0x2f568e,this[_0x4479ab(0x30c)][_0x4479ab(0x20f)]());return this[_0x4479ab(0x332)][_0x4479ab(0x2de)](_0x2f568e,_0x5dc929),_0x5dc929;}['closeSession'](_0x69dafb){var _0x42033d=_0x2bc529,_0x594212;const _0x2a8800=this[_0x42033d(0x332)]['get'](_0x69dafb);_0x2a8800&&(this[_0x42033d(0x332)][_0x42033d(0x396)](_0x69dafb),_0x2a8800[_0x42033d(0x1c7)]()),this['_sessions'][_0x42033d(0x36c)]||(_0x594212=this[_0x42033d(0x2a9)])==null||_0x594212[_0x42033d(0x1c7)]();}['reconnect'](){var _0x156e73=_0x2bc529;this[_0x156e73(0x183)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x156e73(0x2ca)]=null),this[_0x156e73(0x199)]();}async[_0x2bc529(0x15c)](){var _0x3e3a71=_0x2bc529,_0xac3390,_0x1e9514,_0x4187cf;const _0x5aa314=this[_0x3e3a71(0x1e1)]['getConfig'](q),_0x53ab93=(_0xac3390=_0x5aa314==null?void 0x0:_0x5aa314['wsSessionTicketUrl'])!=null?_0xac3390:On;return(_0x4187cf=(_0x1e9514=(await this[_0x3e3a71(0x3a2)]['get'](_0x53ab93,{'headers':{'Content-Type':_0x3e3a71(0x208)}}))[_0x3e3a71(0x32f)])==null?void 0x0:_0x1e9514[_0x3e3a71(0x103)])!=null?_0x4187cf:'';}[_0x2bc529(0x2a0)](_0x946b5b){var _0x290a80=_0x2bc529,_0x1ba645,_0x3a0eb3;const _0x12b3c3=this[_0x290a80(0x1e1)][_0x290a80(0x2db)](Rn),_0x4e9d6=this[_0x290a80(0x1e1)][_0x290a80(0x2db)](q),_0x180f8e=(_0x3a0eb3=(_0x1ba645=_0x4e9d6==null?void 0x0:_0x4e9d6[_0x290a80(0xef)])!=null?_0x1ba645:_0x12b3c3)!=null?_0x3a0eb3:bn,_0x5061eb=typeof window>'u'?new URL(_0x180f8e):new URL(_0x180f8e,window[_0x290a80(0x27b)][_0x290a80(0x1c3)]);_0x5061eb['searchParams'][_0x290a80(0x2de)](_0x290a80(0x156),_0x946b5b);const _0x3a30dd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x290a80(0x27b)]['search']);return _0x3a30dd[_0x290a80(0x227)]('runId')&&_0x5061eb['searchParams'][_0x290a80(0x2de)](_0x290a80(0x11b),_0x3a30dd[_0x290a80(0x227)](_0x290a80(0x11b))),_0x5061eb[_0x290a80(0x261)]();}async[_0x2bc529(0x2a2)](){var _0x1ad700=_0x2bc529;const _0x5b5898=await this['_getSessionTicket'](),_0x33fab0=this[_0x1ad700(0x2a0)](_0x5b5898),_0x187c85=this[_0x1ad700(0x347)][_0x1ad700(0x174)](_0x33fab0);return this[_0x1ad700(0x1d3)]=_0x187c85,_0x187c85;}async[_0x2bc529(0x21e)](){var _0x474673=_0x2bc529,_0x104dae,_0x4b329f;try{const _0x35292e=(_0x4b329f=(_0x104dae=this[_0x474673(0x2a9)])!=null?_0x104dae:this[_0x474673(0x1d3)])!=null?_0x4b329f:await this[_0x474673(0x2a2)]();if(_0x35292e){const _0x856933=_0x35292e[_0x474673(0xdd)];_0x35292e[_0x474673(0xdd)]=_0x7bf045=>(this[_0x474673(0x23f)](),_0x856933[_0x474673(0x32d)](_0x35292e,[_0x7bf045])),_0x35292e[_0x474673(0x164)][_0x474673(0x285)](_0x2a0aee=>this[_0x474673(0x1e4)](_0x35292e,_0x2a0aee)),_0x35292e['error$'][_0x474673(0x2e6)](_0x366971(0x1))[_0x474673(0x285)](_0x40f575=>this[_0x474673(0x2e9)][_0x474673(0x185)](_0x474673(0x19f),_0x40f575)),_0x35292e[_0x474673(0x1bc)][_0x474673(0x2e6)](_0x366971(0x1))[_0x474673(0x285)](()=>{var _0x442762=_0x474673;this[_0x442762(0x1d7)](_0x35292e);}),_0x35292e[_0x474673(0x28f)][_0x474673(0x2e6)](_0x366971(0x1))['subscribe'](_0x2361c2=>{var _0x265383=_0x474673;this[_0x265383(0x2e9)][_0x265383(0x2f3)](_0x265383(0x2ab),'socket\x20close',_0x2361c2),this['_onConnectionFailed']();});}}catch(_0x3efd7b){this[_0x474673(0x2e9)][_0x474673(0x185)](_0x3efd7b),this[_0x474673(0x186)]();}}[_0x2bc529(0x1d7)](_0x594e9b){var _0x13e53b=_0x2bc529;this[_0x13e53b(0x2e9)]['debug'](_0x13e53b(0x2ab),_0x13e53b(0x23c)),_0x594e9b[_0x13e53b(0xdd)]({'cmd':F[_0x13e53b(0x2fe)]}),this[_0x13e53b(0x23f)]();}[_0x2bc529(0x35e)](){var _0x51fa94=_0x2bc529;this[_0x51fa94(0x310)]=!0x1,this[_0x51fa94(0x1d3)]=null,this[_0x51fa94(0x1f3)][_0x51fa94(0x318)](Te[_0x51fa94(0x30b)]),this[_0x51fa94(0x30c)][_0x51fa94(0x318)](null),this[_0x51fa94(0x1f8)](),this['_clearHeartbeatTimer']();}[_0x2bc529(0x186)](){var _0x47bb05=_0x2bc529,_0x119aef;this['_onOffline'](),this[_0x47bb05(0x183)]<((_0x119aef=this[_0x47bb05(0x1e1)]['getConfig'](Pn))!=null?_0x119aef:wn)?(this[_0x47bb05(0x360)][_0x47bb05(0x2a5)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x47bb05(0x199)]()):this[_0x47bb05(0x360)][_0x47bb05(0x2a5)]({'id':se[_0x47bb05(0x157)]});}[_0x2bc529(0x199)](){var _0x6ab1b8=_0x2bc529,_0x77c3de;const _0x583975=this[_0x6ab1b8(0x183)],_0x17d55f=this[_0x6ab1b8(0x1e1)][_0x6ab1b8(0x2db)](q),_0x73012f=_0x583975===0x0?0x0:((_0x77c3de=_0x17d55f==null?void 0x0:_0x17d55f['retryConnectingInterval'])!=null?_0x77c3de:Dn)*0x2**_0x583975;this[_0x6ab1b8(0x2ca)]=setTimeout(()=>{var _0x2353ba=_0x6ab1b8;clearTimeout(this[_0x2353ba(0x2ca)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x73012f),this['_retryCount']+=0x1;}[_0x2bc529(0x1e4)](_0x39064e,_0x4adb56){var _0x1aa59d=_0x2bc529;const {cmd:_0x4a2f5a}=_0x4adb56;_0x4a2f5a===F['HELLO']&&!this[_0x1aa59d(0x310)]&&(_0x39064e[_0x1aa59d(0x2d0)]=_0x4adb56['data'][_0x1aa59d(0x2d0)],this[_0x1aa59d(0x30c)]['next'](_0x39064e),this[_0x1aa59d(0x1f3)][_0x1aa59d(0x318)](Te[_0x1aa59d(0xfa)]),this[_0x1aa59d(0x310)]=!0x0,this[_0x1aa59d(0x1d3)]=null),_0x4a2f5a===F[_0x1aa59d(0x239)]&&this[_0x1aa59d(0x1f8)](),this[_0x1aa59d(0x23f)]();}['_rescheduleHeartbeat'](){var _0x238a12=_0x2bc529,_0x2f23e3;this[_0x238a12(0x2df)](),this[_0x238a12(0x336)]=setTimeout(()=>this[_0x238a12(0xee)](),(_0x2f23e3=this[_0x238a12(0x1e1)][_0x238a12(0x2db)](yn))!=null?_0x2f23e3:Nn);}['_sendHeartbeat'](){var _0x5f2606=_0x2bc529;this['_socket'][_0x5f2606(0xdd)]({'cmd':F[_0x5f2606(0x239)]}),this[_0x5f2606(0xf0)]();}[_0x2bc529(0xf0)](){var _0xa39d37=_0x2bc529,_0x2c96c2;this[_0xa39d37(0x15d)]=setTimeout(()=>this[_0xa39d37(0x186)](),(_0x2c96c2=this[_0xa39d37(0x1e1)][_0xa39d37(0x2db)](Si))!=null?_0x2c96c2:Ei);}[_0x2bc529(0x2df)](){var _0xca056d=_0x2bc529;this[_0xca056d(0x336)]!=null&&(clearTimeout(this[_0xca056d(0x336)]),this[_0xca056d(0x336)]=null);}[_0x2bc529(0x1f8)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x168dfb(_0x25ad6f)),ge(0x1,_0x455813),ge(0x2,_0x56e40a),ge(0x3,Ci),ge(0x4,_0x168dfb(_0x2aebad)),ge(0x5,_0x168dfb(pe)),ge(0x6,_0x17ac87(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x2bc529(0x3ae)]((n+0x100)[_0x2bc529(0x261)](0x10)['slice'](0x1));function tr(_0x30468a,_0x249a6b=0x0){var _0x49585b=_0x2bc529;return(V[_0x30468a[_0x249a6b+0x0]]+V[_0x30468a[_0x249a6b+0x1]]+V[_0x30468a[_0x249a6b+0x2]]+V[_0x30468a[_0x249a6b+0x3]]+'-'+V[_0x30468a[_0x249a6b+0x4]]+V[_0x30468a[_0x249a6b+0x5]]+'-'+V[_0x30468a[_0x249a6b+0x6]]+V[_0x30468a[_0x249a6b+0x7]]+'-'+V[_0x30468a[_0x249a6b+0x8]]+V[_0x30468a[_0x249a6b+0x9]]+'-'+V[_0x30468a[_0x249a6b+0xa]]+V[_0x30468a[_0x249a6b+0xb]]+V[_0x30468a[_0x249a6b+0xc]]+V[_0x30468a[_0x249a6b+0xd]]+V[_0x30468a[_0x249a6b+0xe]]+V[_0x30468a[_0x249a6b+0xf]])[_0x49585b(0x315)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x48b499=_0x2bc529;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x48b499(0x1c1));ut=crypto[_0x48b499(0x25c)]['bind'](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x2bc529(0x10e)]&&crypto[_0x2bc529(0x10e)][_0x2bc529(0x2cb)](crypto),qt={'randomUUID':rr};function sr(_0x23099b,_0x2f0da6,_0x56d22b){var _0x2ec12f=_0x2bc529,_0x33e762,_0x405810,_0x4dbaed;if(qt[_0x2ec12f(0x10e)]&&!_0x23099b)return qt[_0x2ec12f(0x10e)]();_0x23099b=_0x23099b||{};const _0x443056=(_0x4dbaed=(_0x405810=_0x23099b['random'])!=null?_0x405810:(_0x33e762=_0x23099b['rng'])==null?void 0x0:_0x33e762['call'](_0x23099b))!=null?_0x4dbaed:nr();if(_0x443056[_0x2ec12f(0x1d4)]<0x10)throw new Error(_0x2ec12f(0xe2));return _0x443056[0x6]=_0x443056[0x6]&0xf|0x40,_0x443056[0x8]=_0x443056[0x8]&0x3f|0x80,tr(_0x443056);}const J=_0x5990b7(_0x2bc529(0x1e6));function so(_0x417ee7){return'unit-cache-'+_0x417ee7;}var or=Object[_0x2bc529(0x1a2)],ar=Object[_0x2bc529(0x1b8)],cr=(_0x1cd8b8,_0xc5ef13,_0x4caccd,_0x18fa19)=>{for(var _0x41d899=_0x18fa19>0x1?void 0x0:_0x18fa19?ar(_0xc5ef13,_0x4caccd):_0xc5ef13,_0x2a0aa0=_0x1cd8b8['length']-0x1,_0x27cd98;_0x2a0aa0>=0x0;_0x2a0aa0--)(_0x27cd98=_0x1cd8b8[_0x2a0aa0])&&(_0x41d899=(_0x18fa19?_0x27cd98(_0xc5ef13,_0x4caccd,_0x41d899):_0x27cd98(_0x41d899))||_0x41d899);return _0x18fa19&&_0x41d899&&or(_0xc5ef13,_0x4caccd,_0x41d899),_0x41d899;},dt=(_0xccb77c,_0x58ec97)=>(_0x2fd956,_0x8de5d9)=>_0x58ec97(_0x2fd956,_0x8de5d9,_0xccb77c);function hr(_0x352d78){var _0x189122=_0x2bc529;const {unitID:_0x339116,mutations:_0x3b2e56}=_0x352d78;return{'unitId':_0x339116,'subUnitId':_0x3b2e56[0x0][_0x189122(0x399)][_0x189122(0x323)]};}let it=class{constructor(_0x510b0e,_0x4a6493,_0x4768e4){var _0x219a34=_0x2bc529;this[_0x219a34(0x129)]=_0x510b0e,this[_0x219a34(0x18d)]=_0x4a6493,this[_0x219a34(0x1ba)]=_0x4768e4;}[_0x2bc529(0x259)](_0x2b2bc8){var _0x1cd333=_0x2bc529,_0x2428df,_0x1872e7,_0x2b7ab4,_0x33c55d;const _0x549fc2=this[_0x1cd333(0x129)]['get'](_0x12cb24),{unitId:_0x1f97bf,subUnitId:_0x58f933}=hr(_0x2b2bc8),_0x295036=_0x549fc2==null?void 0x0:_0x549fc2[_0x1cd333(0x1b6)](_0x1f97bf)[_0x1cd333(0x378)](),_0x4b69d8=(_0x1872e7=(_0x2428df=this[_0x1cd333(0x1ba)][_0x1cd333(0x33e)](_0x1f97bf))==null?void 0x0:_0x2428df[_0x1cd333(0x152)]())==null?void 0x0:_0x1872e7[_0x1cd333(0x366)]();if(_0x295036[_0x1cd333(0x1d4)]===0x0||!_0x1f97bf||!_0x58f933)return;const _0x5744c6=[{'id':_0x86acec['id'],'params':{'unitId':_0x1f97bf,'subUnitId':_0x4b69d8,'selections':_0x5a3ad9[_0x1cd333(0x190)](_0x295036)}}],_0x25d4c5=this[_0x1cd333(0x18d)]['transformMutationsWithChangeset'](_0x2b2bc8,_0x5744c6);if(!_0x24c061(_0x25d4c5))throw _0x25d4c5[_0x1cd333(0x185)];const _0x154a25=(_0x33c55d=(_0x2b7ab4=_0x25d4c5[_0x1cd333(0x23a)][0x0])==null?void 0x0:_0x2b7ab4[_0x1cd333(0x399)])==null?void 0x0:_0x33c55d[_0x1cd333(0xe9)];if(Array[_0x1cd333(0x109)](_0x154a25)&&_0x154a25[_0x1cd333(0x1d4)]){if(_0x154a25[_0x1cd333(0x1d4)]===_0x5744c6[0x0][_0x1cd333(0x399)]['selections'][_0x1cd333(0x1d4)]&&_0x154a25[_0x1cd333(0x1dc)]((_0x1347a3,_0x495e66)=>_0x140bbd['equals'](_0x1347a3[_0x1cd333(0x372)],_0x5744c6[0x0][_0x1cd333(0x399)][_0x1cd333(0xe9)][_0x495e66][_0x1cd333(0x372)])))return;this[_0x1cd333(0x129)][_0x1cd333(0x227)](_0x3c6d09)[_0x1cd333(0x3ad)](_0x86acec['id'],{'unitId':_0x1f97bf,'subUnitId':_0x4b69d8,'selections':_0x154a25});}}};it=cr([dt(0x0,_0x168dfb(_0x25ad6f)),dt(0x1,_0x5aa706),dt(0x2,_0x2e9407)],it);const ht=_0x5990b7('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x4d4a20=>(_0x4d4a20[_0x4d4a20[_0x2bc529(0xc2)]=0x0]=_0x2bc529(0xc2),_0x4d4a20[_0x4d4a20[_0x2bc529(0x38e)]=0x1]=_0x2bc529(0x38e),_0x4d4a20))(bi||{});const _r=new Set([_0x2ddf1a['id']]);function zt(_0x3e124f,_0x497e3e,_0x5658f4,_0x455169,_0x454a93){var _0x5b3d88=_0x2bc529,_0x314d6b,_0xdd13f,_0x7b28bd,_0x4dc74e;const _0x3e8639=[];for(const _0x266477 of _0x3e124f)if(_r[_0x5b3d88(0x155)](_0x266477['id'])){if(_0x3e8639[_0x5b3d88(0x1d4)]>0x0)break;_0x3e8639[_0x5b3d88(0x3ae)](_0x266477);break;}else _0x3e8639[_0x5b3d88(0x3ae)](_0x266477);const _0x1575a5=(_0xdd13f=(_0x314d6b=_0x454a93[_0x5b3d88(0xd2)]())==null?void 0x0:_0x314d6b[_0x5b3d88(0x29f)])!=null?_0xdd13f:_0x5b3d88(0x1b0),_0x1c11ab=(_0x4dc74e=(_0x7b28bd=_0x454a93[_0x5b3d88(0xd2)]())==null?void 0x0:_0x7b28bd[_0x5b3d88(0x2d0)])!=null?_0x4dc74e:_0x5b3d88(0x1b0);return{'changeset':{'unitID':_0x497e3e,'type':_0x41a530(_0x5658f4['getUnitType'](_0x497e3e)),'baseRev':_0x455169[_0x5b3d88(0x1b9)](_0x497e3e),'revision':0x0,'userID':_0x1575a5,'memberID':_0x1c11ab,'mutations':_0x3e8639},'pendingMutations':_0x3e124f[_0x5b3d88(0x2b2)](_0x3e8639[_0x5b3d88(0x1d4)])};}function lr(_0x1290b1,_0x119800,_0x5a207c,_0x381560,_0x30fd38){var _0x565ca1=_0x2bc529,_0xa24671,_0x5d3300,_0x213df0,_0x5c553a;const _0x5aeba0=[_0x1290b1[_0x565ca1(0xb8)]((_0x4d5312,_0x48f099)=>{var _0x155632=_0x565ca1,_0x26e0e4;const {id:_0xe822d3}=_0x4d5312,{id:_0xa26c8c,type:_0x435c8a}=_0x48f099,_0x2f1225=(_0x26e0e4=_0x4d5312[_0x155632(0x399)])!=null?_0x26e0e4:{'actions':null},_0x2bc3b2=_0x48f099[_0x155632(0x399)];if(_0xe822d3&&_0xe822d3!==_0xa26c8c)throw new Error(_0x155632(0x2b1)+_0xe822d3+_0x155632(0xb4)+_0xa26c8c+'.');return{..._0x4d5312,'id':_0xa26c8c,'type':_0x435c8a,'params':{'unitId':_0x2bc3b2[_0x155632(0x168)],'textRanges':_0x2bc3b2[_0x155632(0xcb)],'actions':_0x3dbb64[_0x155632(0x1ad)](_0x2f1225[_0x155632(0x2b6)],_0x2bc3b2[_0x155632(0x2b6)])}};},{})],_0x275bbe=(_0x5d3300=(_0xa24671=_0x30fd38[_0x565ca1(0xd2)]())==null?void 0x0:_0xa24671[_0x565ca1(0x29f)])!=null?_0x5d3300:_0x565ca1(0x1b0),_0x378290=(_0x5c553a=(_0x213df0=_0x30fd38[_0x565ca1(0xd2)]())==null?void 0x0:_0x213df0['memberID'])!=null?_0x5c553a:_0x565ca1(0x1b0);return{'changeset':{'unitID':_0x119800,'type':_0x41a530(_0x5a207c[_0x565ca1(0x215)](_0x119800)),'baseRev':_0x381560[_0x565ca1(0x1b9)](_0x119800),'revision':0x0,'userID':_0x275bbe,'memberID':_0x378290,'mutations':_0x5aeba0},'pendingMutations':[]};}function Oi(_0x4e3ccc,_0x589d50){var _0x28b0c2=_0x2bc529;const _0x209b43=new _0x3d9a04(0x1);return setTimeout(()=>_0x209b43[_0x28b0c2(0x318)](_0x589d50),_0x4e3ccc),_0x209b43[_0x28b0c2(0x20f)]()['pipe'](_0x227a1a(0x1));}const ur={'id':_0x529b7c['id'],'type':_0x5bd9db['MUTATION'],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x2bc529(0x1b8)],Re=(_0x3963e3,_0x2fb28c,_0x1756eb,_0x1a4c89)=>{var _0x2a019b=_0x2bc529;for(var _0x4c145f=_0x1a4c89>0x1?void 0x0:_0x1a4c89?fr(_0x2fb28c,_0x1756eb):_0x2fb28c,_0x313a0f=_0x3963e3[_0x2a019b(0x1d4)]-0x1,_0x10e5ec;_0x313a0f>=0x0;_0x313a0f--)(_0x10e5ec=_0x3963e3[_0x313a0f])&&(_0x4c145f=(_0x1a4c89?_0x10e5ec(_0x2fb28c,_0x1756eb,_0x4c145f):_0x10e5ec(_0x4c145f))||_0x4c145f);return _0x1a4c89&&_0x4c145f&&dr(_0x2fb28c,_0x1756eb,_0x4c145f),_0x4c145f;},A=(_0x515580,_0x3442b4)=>(_0x17cd8d,_0x411cfe)=>_0x3442b4(_0x17cd8d,_0x411cfe,_0x515580),yi=(_0x11a3ab=>(_0x11a3ab['NOT_COLLAB']='not_collab',_0x11a3ab[_0x2bc529(0x364)]=_0x2bc529(0x20a),_0x11a3ab[_0x2bc529(0x235)]=_0x2bc529(0x271),_0x11a3ab[_0x2bc529(0x321)]=_0x2bc529(0x231),_0x11a3ab['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x11a3ab[_0x2bc529(0x300)]=_0x2bc529(0x116),_0x11a3ab[_0x2bc529(0x247)]='conflict',_0x11a3ab['OFFLINE']=_0x2bc529(0x11c),_0x11a3ab))(yi||{});const Ni=0xea60;class be{constructor(_0x1a2dc9,_0x17ed94,_0x4d9e63,_0x11a2f3,_0x142404,_0x1c482a,_0x558fdc,_0x5b770d,_0x100de3){var _0x4bc9c2=_0x2bc529;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x4bc9c2(0x171)]=_0x1a2dc9,this[_0x4bc9c2(0x1b3)]=_0x17ed94,this[_0x4bc9c2(0x1f1)]=_0x142404,this['_commandService']=_0x1c482a,this[_0x4bc9c2(0x317)]=_0x558fdc,this[_0x4bc9c2(0x124)]=_0x5b770d,this['_localCacheService']=_0x100de3,this[_0x4bc9c2(0x277)]=_0x4d9e63,this['_pendingMutations']=_0x11a2f3);}['_checkMissing'](_0x361d94){var _0x110576=_0x2bc529;const _0x521352=this[_0x110576(0x124)][_0x110576(0x1b9)](this['unitID']);return _0x361d94[_0x110576(0x33d)]>_0x521352+0x1?(this[_0x110576(0x1f1)]['onMissingChangesets']({'from':_0x521352,'to':_0x361d94[_0x110576(0x33d)]-0x1}),!0x0):!0x1;}[_0x2bc529(0x131)](_0x183cac){var _0x237058=_0x2bc529;this['_undoRedoService']['transformUndoRedo'](this[_0x237058(0x171)],_0x183cac);}[_0x2bc529(0x2b3)](_0x103846){var _0x2a06aa=_0x2bc529,_0x5d65b8,_0x636aa1;(_0x636aa1=(_0x5d65b8=this[_0x2a06aa(0x1f1)])[_0x2a06aa(0x357)])==null||_0x636aa1[_0x2a06aa(0x145)](_0x5d65b8,_0x103846);}['_transformIMECache'](_0x1ee851){var _0x1c489f=_0x2bc529,_0x12f993,_0x45ffc4;return(_0x45ffc4=(_0x12f993=this[_0x1c489f(0x1f1)])[_0x1c489f(0x2cc)])==null?void 0x0:_0x45ffc4[_0x1c489f(0x145)](_0x12f993,_0x1ee851);}[_0x2bc529(0x16c)](_0x9f50de){var _0x17dcb9=_0x2bc529,_0x3be5ab,_0x5b6339;return(_0x5b6339=(_0x3be5ab=this[_0x17dcb9(0x1f1)])[_0x17dcb9(0x127)])==null?void 0x0:_0x5b6339[_0x17dcb9(0x145)](_0x3be5ab,_0x9f50de);}['_transformRemoteChangesetByIMECache'](_0x18567c){var _0x36a5bb=_0x2bc529,_0x279b58,_0xa55ecc,_0xe80931;return(_0xe80931=(_0xa55ecc=(_0x279b58=this['_handler'])[_0x36a5bb(0x253)])==null?void 0x0:_0xa55ecc['call'](_0x279b58,_0x18567c))!=null?_0xe80931:_0x18567c;}[_0x2bc529(0x17f)](_0x25a093){var _0x1ab5ed=_0x2bc529,_0x1401ee,_0x4d255c,_0x3bbfdc;return(_0x3bbfdc=(_0x4d255c=(_0x1401ee=this['_handler'])[_0x1ab5ed(0x331)])==null?void 0x0:_0x4d255c[_0x1ab5ed(0x145)](_0x1401ee,_0x25a093))!=null?_0x3bbfdc:_0x25a093;}[_0x2bc529(0x214)](_0x2e755c){var _0x255344=_0x2bc529,_0x52c12b,_0x2cd9f6;if(this['type']===Q[_0x255344(0x14e)]){const {unitID:_0xcdaa17,mutations:_0x40c8a9,memberID:_0x5b996b}=_0x2e755c,_0x869d8d=_0x40c8a9[0x0]['params'][_0x255344(0xcb)];Array[_0x255344(0x109)](_0x869d8d)&&_0x869d8d[_0x255344(0x1d4)]>0x0&&((_0x2cd9f6=(_0x52c12b=this['_handler'])[_0x255344(0x394)])==null||_0x2cd9f6['call'](_0x52c12b,{'unitID':_0xcdaa17,'memberID':_0x5b996b,'textRanges':_0x869d8d}));}}[_0x2bc529(0x1cf)](){var _0x4cf975=_0x2bc529,_0xdb4877;(_0xdb4877=this[_0x4cf975(0x320)])==null||_0xdb4877[_0x4cf975(0x113)](this[_0x4cf975(0x171)],this[_0x4cf975(0x1b3)],this[_0x4cf975(0x277)],this[_0x4cf975(0x1ec)]);}['_getCurrentRevision'](){var _0x54ae56=_0x2bc529;return this[_0x54ae56(0x124)][_0x54ae56(0x1b9)](this['unitID']);}['_incrementRevisionNumber'](){var _0x5ebf36=_0x2bc529;this[_0x5ebf36(0x124)]['incrementRevOfUnit'](this[_0x5ebf36(0x171)]);}[_0x2bc529(0x249)](_0x155e6a){var _0x18f9a4=_0x2bc529,_0x365927;let _0x1f2e11=this['_transformRemoteChangesetByIMECache'](_0x155e6a);_0x1f2e11=this[_0x18f9a4(0x17f)](_0x1f2e11);const _0x4a6183=_0x56570f(_0x1f2e11[_0x18f9a4(0x36f)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4a6183[_0x18f9a4(0xe3)])throw _0x4a6183[_0x18f9a4(0x185)]instanceof Error?_0x4a6183[_0x18f9a4(0x185)]:new Error((_0x365927=_0x4a6183[_0x18f9a4(0x185)])!=null?_0x365927:_0x18f9a4(0x38a));this[_0x18f9a4(0x126)](_0x1f2e11),this[_0x18f9a4(0x16c)](_0x1f2e11),this[_0x18f9a4(0x131)](_0x155e6a),this[_0x18f9a4(0x2b3)](_0x1f2e11),this['_syncEditingCollabCursor'](_0x1f2e11),this[_0x18f9a4(0x2d2)]();}}let De=class extends be{constructor(_0x264b25,_0x321b4e,_0x4f999c,_0x3a892a,_0x5d196f,_0x1029b6,_0x403f4e,_0x1ce42f,_0x5e71e6,_0x10d324){var _0x408c9b=_0x2bc529;super(_0x264b25,_0x321b4e,null,[],_0x4f999c,_0x403f4e,_0x1029b6,_0x3a892a,_0x10d324),N(this,_0x408c9b(0xba),_0x408c9b(0x20a)),(this[_0x408c9b(0x129)]=_0x5d196f,this[_0x408c9b(0x2e9)]=_0x1ce42f,this[_0x408c9b(0x18d)]=_0x5e71e6,this[_0x408c9b(0x18a)]=_0x10d324);}[_0x2bc529(0x371)](_0x2c8d77){var _0x1d11cb=_0x2bc529;const _0x178f76=this[_0x1d11cb(0x129)][_0x1d11cb(0x29b)](oe,this[_0x1d11cb(0x171)],this[_0x1d11cb(0x1b3)],[_0x2c8d77],this[_0x1d11cb(0x1f1)]);return _0x178f76[_0x1d11cb(0x1d5)](),_0x178f76['_updateLocalCache'](),_0x178f76;}[_0x2bc529(0x37f)](_0x5067da){var _0x28722a=_0x2bc529;if(this[_0x28722a(0x333)](_0x5067da))return this['_injector']['createInstance'](te,this[_0x28722a(0x171)],this['type'],null,[],null,[_0x5067da],this['_handler']);try{const _0x349893=this['_transformService']['transformMutationsWithChangeset'](_0x5067da,[ur]);if(_0x24c061(_0x349893)){const {c1Prime:_0x55921f}=_0x349893;return this[_0x28722a(0x249)](_0x55921f),this;}throw _0x349893[_0x28722a(0x185)];}catch(_0x281793){return this[_0x28722a(0x2e9)][_0x28722a(0x185)](_0x281793),this[_0x28722a(0x3a1)](!0x1);}}[_0x2bc529(0x3a1)](_0x198aa7){var _0x21445a=_0x2bc529;return this['_injector'][_0x21445a(0x29b)](de,this['unitID'],this[_0x21445a(0x1b3)],null,[],this[_0x21445a(0x1f1)],_0x198aa7);}[_0x2bc529(0x2fd)](){var _0x342e60=_0x2bc529;throw new Error(_0x342e60(0x373));}[_0x2bc529(0x136)](){var _0x356c93=_0x2bc529;throw new Error(_0x356c93(0x1b4));}['onRemoteRetry'](){return this;}[_0x2bc529(0x1bf)](){var _0x328df3=_0x2bc529;return this[_0x328df3(0x129)]['createInstance'](fe,this[_0x328df3(0x171)],this[_0x328df3(0x1b3)],null,[],this[_0x328df3(0x1f1)]);}[_0x2bc529(0x1c6)](){return this;}[_0x2bc529(0x374)](){var _0x47500f=_0x2bc529;throw new Error(_0x47500f(0x291));}[_0x2bc529(0x226)](){var _0x4d7beb=_0x2bc529;const _0x8d0cc4=this['_revisionService'][_0x4d7beb(0x1b9)](this[_0x4d7beb(0x171)]);return this['_handler'][_0x4d7beb(0x33a)]({'from':_0x8d0cc4,'to':0x0}),this[_0x4d7beb(0x129)]['createInstance'](te,this[_0x4d7beb(0x171)],this[_0x4d7beb(0x1b3)],null,[],null,[],this[_0x4d7beb(0x1f1)]);}};De=Re([A(0x3,_0x168dfb(_0x2b637c)),A(0x4,_0x168dfb(_0x25ad6f)),A(0x5,_0x16ee51),A(0x6,_0x3c6d09),A(0x7,_0x455813),A(0x8,_0x5aa706),A(0x9,_0x17ac87(J))],De);let oe=class extends be{constructor(_0x1188fa,_0x44ebc0,_0x495b1f,_0x40cae9,_0x10dcac,_0x44b819,_0x4e0f0e,_0x36dc03,_0xad960d,_0x5a8c0c,_0x4a5010,_0x47843f,_0x1ea39f,_0x92425d){var _0x18ab31=_0x2bc529;super(_0x1188fa,_0x44ebc0,null,_0x495b1f,_0x40cae9,_0xad960d,_0x1ea39f,_0x44b819,_0x92425d),N(this,'status',_0x18ab31(0x271)),N(this,_0x18ab31(0x2e1),null),N(this,_0x18ab31(0x120),null),(this[_0x18ab31(0x129)]=_0x10dcac,this[_0x18ab31(0x361)]=_0x4e0f0e,this[_0x18ab31(0x2e9)]=_0x36dc03,this[_0x18ab31(0x1e1)]=_0x5a8c0c,this[_0x18ab31(0x18d)]=_0x4a5010,this[_0x18ab31(0xc3)]=_0x47843f);}[_0x2bc529(0x371)](_0x3f3f50){var _0x2dc73a=_0x2bc529;return this[_0x2dc73a(0x1ec)]['push'](_0x3f3f50),this[_0x2dc73a(0x1cf)](),this;}[_0x2bc529(0x37f)](_0x135e20){var _0x444790=_0x2bc529;if(this[_0x444790(0x333)](_0x135e20))return this[_0x444790(0x339)](),this[_0x444790(0x129)][_0x444790(0x29b)](te,this[_0x444790(0x171)],this['type'],null,this[_0x444790(0x1ec)],null,[_0x135e20],this[_0x444790(0x1f1)]);try{const _0x3206d0=this[_0x444790(0x18d)][_0x444790(0x278)](_0x135e20,this[_0x444790(0x1ec)]);if(_0x24c061(_0x3206d0)){const {c1Prime:_0x3fcbd9,m2Prime:_0x4e6063}=_0x3206d0;this['_executeRemoteChangeset'](_0x3fcbd9);const _0x2cd85d=this[_0x444790(0x129)][_0x444790(0x29b)](oe,this[_0x444790(0x171)],this[_0x444790(0x1b3)],_0x4e6063,this[_0x444790(0x1f1)]);this[_0x444790(0x339)]();const _0x41c408=new Date()[_0x444790(0x107)](),_0x40564f=this['_scheduleCompleteTimestamp']?Math[_0x444790(0x367)](this['_scheduleCompleteTimestamp']-_0x41c408,0x0):this[_0x444790(0x14b)]();return _0x2cd85d[_0x444790(0x1d5)](_0x40564f),_0x2cd85d;}throw _0x3206d0['error'];}catch(_0x4c6522){return this[_0x444790(0x2e9)][_0x444790(0x185)](_0x4c6522),this[_0x444790(0x3a1)](!0x1);}}[_0x2bc529(0x2fd)](){var _0xc9f7aa=_0x2bc529;throw new Error(_0xc9f7aa(0xbb));}[_0x2bc529(0x136)](){var _0x47e668=_0x2bc529;throw new Error(_0x47e668(0x230));}[_0x2bc529(0x35b)](){return this;}['toggleOffline'](){var _0x1ec1b5=_0x2bc529;return this[_0x1ec1b5(0x339)](),this[_0x1ec1b5(0x129)][_0x1ec1b5(0x29b)](fe,this[_0x1ec1b5(0x171)],this[_0x1ec1b5(0x1b3)],null,this[_0x1ec1b5(0x1ec)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x12ceb0){var _0x1ad47e=_0x2bc529;const _0x1957a6=_0x12ceb0!=null?_0x12ceb0:this[_0x1ad47e(0x14b)]();this[_0x1ad47e(0x2e1)]=new Date()[_0x1ad47e(0x107)]()+_0x1957a6,this['_sendingTimer']=setTimeout(()=>{var _0x2e1bab=_0x1ad47e;this['_clearScheduledTask']();let _0x2360d2=null;switch(this[_0x2e1bab(0x1b3)]){case Q[_0x2e1bab(0x38c)]:{_0x2360d2=zt(this[_0x2e1bab(0x1ec)],this[_0x2e1bab(0x171)],this[_0x2e1bab(0xc3)],this['_revisionService'],this[_0x2e1bab(0x361)]);break;}case Q[_0x2e1bab(0x14e)]:{this[_0x2e1bab(0x1ec)][_0x2e1bab(0x1dc)](_0x891ec7=>_0x891ec7['id']===_0x34e152['id'])?_0x2360d2=lr(this[_0x2e1bab(0x1ec)],this['unitID'],this[_0x2e1bab(0xc3)],this[_0x2e1bab(0x124)],this['_memberService']):_0x2360d2=zt(this[_0x2e1bab(0x1ec)],this[_0x2e1bab(0x171)],this[_0x2e1bab(0xc3)],this[_0x2e1bab(0x124)],this[_0x2e1bab(0x361)]);break;}default:throw new Error(_0x2e1bab(0xbd)+this['type']+_0x2e1bab(0xb9));}const {changeset:_0xb3e9e0,pendingMutations:_0x32c3ac}=_0x2360d2;this[_0x2e1bab(0x1f1)][_0x2e1bab(0x19a)](_0xb3e9e0);const _0x216e38=_0x32c3ac[_0x2e1bab(0x1d4)]?this[_0x2e1bab(0x129)]['createInstance'](ae,this[_0x2e1bab(0x171)],this[_0x2e1bab(0x1b3)],_0xb3e9e0,_0x32c3ac,this[_0x2e1bab(0x1f1)],void 0x0):this['_injector'][_0x2e1bab(0x29b)](ue,this[_0x2e1bab(0x171)],this['type'],_0xb3e9e0,this['_handler']);_0x216e38['_updateLocalCache'](),this[_0x2e1bab(0x1f1)][_0x2e1bab(0x377)](this,_0x216e38);},_0x1957a6);}[_0x2bc529(0x14b)](){var _0x4d4e2c=_0x2bc529,_0x5342ac;const _0x54be17=this[_0x4d4e2c(0x1e1)][_0x4d4e2c(0x2db)](q);return(_0x5342ac=_0x54be17==null?void 0x0:_0x54be17['sendChangesetTimeout'])!=null?_0x5342ac:Cn;}[_0x2bc529(0x374)](){var _0x283d37=_0x2bc529;throw new Error(_0x283d37(0x24e));}[_0x2bc529(0x339)](){var _0x153ddf=_0x2bc529;this['_sendingTimer']!=null&&(clearTimeout(this[_0x153ddf(0x120)]),this['_sendingTimer']=null);}[_0x2bc529(0x3a1)](_0x220371){var _0x55c54f=_0x2bc529;return this[_0x55c54f(0x339)](),this[_0x55c54f(0x129)][_0x55c54f(0x29b)](de,this[_0x55c54f(0x171)],this[_0x55c54f(0x1b3)],null,this[_0x55c54f(0x1ec)],this[_0x55c54f(0x1f1)],_0x220371);}};oe=Re([A(0x4,_0x168dfb(_0x25ad6f)),A(0x5,_0x168dfb(_0x2b637c)),A(0x6,_0x168dfb(xe)),A(0x7,_0x455813),A(0x8,_0x3c6d09),A(0x9,_0x56e40a),A(0xa,_0x5aa706),A(0xb,_0x2e9407),A(0xc,_0x16ee51),A(0xd,_0x17ac87(J))],oe);let ue=class extends be{constructor(_0x12e122,_0x1c0890,_0x4c08e0,_0x171719,_0xd732e6,_0x46489f,_0x5ca0a8,_0x54bec5,_0x1c4bf1,_0x210044,_0x389bc8){var _0x572963=_0x2bc529;super(_0x12e122,_0x1c0890,_0x4c08e0,[],_0x171719,_0x5ca0a8,_0x210044,_0x46489f,_0x389bc8),N(this,'status',_0x572963(0x231)),N(this,_0x572963(0x395),0x0),N(this,_0x572963(0x175)),N(this,'_sender'),(this[_0x572963(0x129)]=_0xd732e6,this[_0x572963(0x2e9)]=_0x54bec5,this[_0x572963(0x18d)]=_0x1c4bf1);}['appendMutation'](_0x11f0cf){var _0x36dccd=_0x2bc529;this['_clearScheduledTask']();const _0x4944ad=this[_0x36dccd(0x129)][_0x36dccd(0x29b)](ae,this['unitID'],this['type'],this[_0x36dccd(0x277)],[_0x11f0cf],this['_handler'],this[_0x36dccd(0x175)]);return _0x4944ad[_0x36dccd(0x1cf)](),_0x4944ad;}[_0x2bc529(0x37f)](_0x5ab6aa){var _0x374756=_0x2bc529;if(this[_0x374756(0x333)](_0x5ab6aa))return this[_0x374756(0x339)](),this[_0x374756(0x129)][_0x374756(0x29b)](te,this[_0x374756(0x171)],this[_0x374756(0x1b3)],this[_0x374756(0x277)],[],null,[_0x5ab6aa],this[_0x374756(0x1f1)]);try{const _0x2c04b6=this[_0x374756(0x18d)][_0x374756(0x29a)]([_0x5ab6aa],[this['_awaitingChangeset']],!0x1);if(_0x364536(_0x2c04b6)){const {c1Prime:_0x126264,c2Prime:_0x2ea1d9}=_0x2c04b6;this[_0x374756(0x249)](_0x126264[0x0]),_0x2ea1d9[0x0][_0x374756(0x3b2)]=this['_getCurrentRevision'](),this[_0x374756(0x339)]();const _0x45e75f=this['_injector']['createInstance'](ue,this[_0x374756(0x171)],this[_0x374756(0x1b3)],_0x2ea1d9[0x0],this[_0x374756(0x1f1)]);return _0x45e75f[_0x374756(0x1cf)](),_0x45e75f;}return this[_0x374756(0x3a1)](!0x1);}catch(_0x1355d0){return this[_0x374756(0x2e9)][_0x374756(0x185)](_0x1355d0),this[_0x374756(0x3a1)](!0x1);}}[_0x2bc529(0x2fd)](_0x31efc3){var _0x3320e0=_0x2bc529;this[_0x3320e0(0x339)]();const _0x9d9e46=this[_0x3320e0(0x124)][_0x3320e0(0x1b9)](this[_0x3320e0(0x171)]);if(_0x31efc3[_0x3320e0(0x33d)]<_0x9d9e46-0x1)return this;if(this[_0x3320e0(0x333)](_0x31efc3))return this[_0x3320e0(0x129)][_0x3320e0(0x29b)](te,this[_0x3320e0(0x171)],this[_0x3320e0(0x1b3)],null,[],this[_0x3320e0(0x277)],[],this['_handler']);this[_0x3320e0(0x2d2)]();const _0x4b0e7d=this[_0x3320e0(0x129)][_0x3320e0(0x29b)](De,this[_0x3320e0(0x171)],this[_0x3320e0(0x1b3)],this[_0x3320e0(0x1f1)]);return _0x4b0e7d['_updateLocalCache'](),_0x4b0e7d;}[_0x2bc529(0x136)](_0x5c3115){var _0x310a15=_0x2bc529;return this[_0x310a15(0x3a1)](!!(_0x5c3115!=null&&_0x5c3115[_0x310a15(0x13a)]));}[_0x2bc529(0x35b)](_0x7056aa){var _0x32aa96=_0x2bc529;return this[_0x32aa96(0x395)]>Ni?this[_0x32aa96(0x1bf)]():(this[_0x32aa96(0x175)]=Oi(this[_0x32aa96(0x395)],{'timeout':this[_0x32aa96(0x395)],'reqId':_0x7056aa['reqId']}),this[_0x32aa96(0x26c)]=this[_0x32aa96(0x175)][_0x32aa96(0x285)](({reqId:_0x4371ec,timeout:_0x516fd6})=>{var _0x175688=_0x32aa96;this[_0x175688(0x1ef)](_0x4371ec,_0x516fd6);}),this);}['toggleOffline'](){var _0x463d3b=_0x2bc529;return this[_0x463d3b(0x339)](),this[_0x463d3b(0x129)][_0x463d3b(0x29b)](fe,this[_0x463d3b(0x171)],this['type'],this[_0x463d3b(0x277)],[],this['_handler']);}[_0x2bc529(0x1c6)](){return this;}[_0x2bc529(0x374)](){var _0x52395d=_0x2bc529;this[_0x52395d(0x1f1)][_0x52395d(0x19a)](this['_awaitingChangeset']);}[_0x2bc529(0x3a1)](_0xe15d50){var _0x2ce219=_0x2bc529;return this['_clearScheduledTask'](),this[_0x2ce219(0x129)][_0x2ce219(0x29b)](de,this[_0x2ce219(0x171)],this[_0x2ce219(0x1b3)],this[_0x2ce219(0x277)],[],this['_handler'],_0xe15d50);}['_resendWithTimeout'](_0x42f6e0,_0x4dbfa6){var _0x353538=_0x2bc529,_0x18d139;_0x42f6e0===((_0x18d139=this[_0x353538(0x277)])==null?void 0x0:_0x18d139[_0x353538(0x1e3)])&&(this[_0x353538(0x374)](),this['_resendTimeout']=_0x4dbfa6===0x0?0x3e8:_0x4dbfa6*0x2);}[_0x2bc529(0x339)](){var _0x37994c=_0x2bc529,_0x2f1ba8;(_0x2f1ba8=this[_0x37994c(0x26c)])==null||_0x2f1ba8[_0x37994c(0x18f)](),this[_0x37994c(0x395)]=0x0;}};ue=Re([A(0x4,_0x168dfb(_0x25ad6f)),A(0x5,_0x168dfb(_0x2b637c)),A(0x6,_0x3c6d09),A(0x7,_0x455813),A(0x8,_0x5aa706),A(0x9,_0x16ee51),A(0xa,_0x17ac87(J))],ue);let ae=class extends be{constructor(_0x5bafa0,_0x536d62,_0x5bd906,_0x4dfcae,_0x566661,_0x3f8975,_0x36132d,_0x2434b7,_0x57e572,_0x2a4e78,_0x17042a,_0x41744b,_0x1ed74b){var _0x2f3c84=_0x2bc529;super(_0x5bafa0,_0x536d62,_0x5bd906,_0x4dfcae,_0x566661,_0x57e572,_0x41744b,_0x2434b7,_0x1ed74b),N(this,_0x2f3c84(0xba),_0x2f3c84(0xeb)),N(this,_0x2f3c84(0x395),0x0),N(this,_0x2f3c84(0x175)),N(this,_0x2f3c84(0x26c)),(this[_0x2f3c84(0x129)]=_0x36132d,this['_logService']=_0x2a4e78,this[_0x2f3c84(0x18d)]=_0x17042a,this[_0x2f3c84(0x18a)]=_0x1ed74b,_0x3f8975&&(this[_0x2f3c84(0x175)]=_0x3f8975,this['_sender']=this[_0x2f3c84(0x175)][_0x2f3c84(0x285)](({reqId:_0x4e8758,timeout:_0x4d3617})=>{var _0x1462a8=_0x2f3c84;this[_0x1462a8(0x1ef)](_0x4e8758,_0x4d3617);})));}[_0x2bc529(0x371)](_0x2ea3d4){var _0x422a7a=_0x2bc529;return this[_0x422a7a(0x1ec)][_0x422a7a(0x3ae)](_0x2ea3d4),this;}[_0x2bc529(0x37f)](_0x2ea33f){var _0x51657f=_0x2bc529;if(this[_0x51657f(0x333)](_0x2ea33f))return this[_0x51657f(0x339)](),this[_0x51657f(0x129)][_0x51657f(0x29b)](te,this[_0x51657f(0x171)],this[_0x51657f(0x1b3)],this['_awaitingChangeset'],this[_0x51657f(0x1ec)],null,[_0x2ea33f],this[_0x51657f(0x1f1)]);try{const _0x4c85d9=this[_0x51657f(0x18d)][_0x51657f(0x29a)]([_0x2ea33f],[this['_awaitingChangeset']],!0x1);if(_0x364536(_0x4c85d9)){const {c1Prime:_0x3ac9bf,c2Prime:_0x21354a}=_0x4c85d9,_0x493cd8=this[_0x51657f(0x18d)][_0x51657f(0x278)](_0x3ac9bf[0x0],this[_0x51657f(0x1ec)]);if(_0x24c061(_0x493cd8)){const {c1Prime:_0x330554,m2Prime:_0x381a08}=_0x493cd8;return this[_0x51657f(0x249)](_0x330554),_0x21354a[0x0][_0x51657f(0x3b2)]=this[_0x51657f(0x34c)](),this[_0x51657f(0x339)](),this[_0x51657f(0x129)][_0x51657f(0x29b)](ae,this['unitID'],this[_0x51657f(0x1b3)],_0x21354a[0x0],_0x381a08,this[_0x51657f(0x1f1)],void 0x0);}throw _0x493cd8['error'];}throw _0x4c85d9[_0x51657f(0x185)];}catch(_0x25b363){return this['_logService'][_0x51657f(0x185)](_0x25b363),this['_onConflict'](!0x1);}}[_0x2bc529(0x2fd)](_0xb9a187){var _0x1e8609=_0x2bc529;if(this['_clearScheduledTask'](),this['_checkMissing'](_0xb9a187))return this['_injector']['createInstance'](te,this[_0x1e8609(0x171)],this[_0x1e8609(0x1b3)],null,this[_0x1e8609(0x1ec)],this[_0x1e8609(0x277)],[],this[_0x1e8609(0x1f1)]);this[_0x1e8609(0x2d2)]();const _0x378c37=this['_injector'][_0x1e8609(0x29b)](oe,this[_0x1e8609(0x171)],this[_0x1e8609(0x1b3)],this['_pendingMutations'],this[_0x1e8609(0x1f1)]);return _0x378c37[_0x1e8609(0x1d5)](),_0x378c37[_0x1e8609(0x1cf)](),_0x378c37;}[_0x2bc529(0x136)](_0x49efb2){return this['_onConflict'](!!(_0x49efb2!=null&&_0x49efb2['isPermissionRej']));}[_0x2bc529(0x35b)](_0x1a9c20){var _0x5ddb5c=_0x2bc529;return this[_0x5ddb5c(0x395)]>Ni?this[_0x5ddb5c(0x1bf)]():(this[_0x5ddb5c(0x175)]=Oi(this['_resendTimeout'],{'timeout':this[_0x5ddb5c(0x395)],'reqId':_0x1a9c20[_0x5ddb5c(0x1e3)]}),this[_0x5ddb5c(0x26c)]=this[_0x5ddb5c(0x175)][_0x5ddb5c(0x285)](({reqId:_0x11487b,timeout:_0x4bee07})=>{this['_resendWithTimeout'](_0x11487b,_0x4bee07);}),this);}[_0x2bc529(0x1bf)](){var _0x52e8d8=_0x2bc529;return this[_0x52e8d8(0x339)](),this['_injector']['createInstance'](fe,this[_0x52e8d8(0x171)],this[_0x52e8d8(0x1b3)],this[_0x52e8d8(0x277)],this[_0x52e8d8(0x1ec)],this[_0x52e8d8(0x1f1)]);}['toggleOnline'](){return this;}[_0x2bc529(0x374)](){var _0x284658=_0x2bc529;this[_0x284658(0x1f1)][_0x284658(0x19a)](this[_0x284658(0x277)]);}[_0x2bc529(0x3a1)](_0x52f5ef){var _0x295fb8=_0x2bc529;return this[_0x295fb8(0x339)](),this['_injector'][_0x295fb8(0x29b)](de,this[_0x295fb8(0x171)],this[_0x295fb8(0x1b3)],null,this[_0x295fb8(0x1ec)],this[_0x295fb8(0x1f1)],_0x52f5ef);}[_0x2bc529(0x1ef)](_0x310c15,_0x2c22e4){var _0x1b44b9=_0x2bc529,_0x356fe6;_0x310c15===((_0x356fe6=this['_awaitingChangeset'])==null?void 0x0:_0x356fe6['reqId'])&&(this[_0x1b44b9(0x374)](),this['_resendTimeout']=_0x2c22e4===0x0?0x3e8:_0x2c22e4*0x2);}[_0x2bc529(0x339)](){var _0x4c75a9=_0x2bc529,_0x573cb2;(_0x573cb2=this[_0x4c75a9(0x26c)])==null||_0x573cb2['unsubscribe'](),this[_0x4c75a9(0x395)]=0x0;}};ae=Re([A(0x6,_0x168dfb(_0x25ad6f)),A(0x7,_0x168dfb(_0x2b637c)),A(0x8,_0x3c6d09),A(0x9,_0x455813),A(0xa,_0x5aa706),A(0xb,_0x16ee51),A(0xc,_0x17ac87(J))],ae);let de=class extends be{constructor(_0x228734,_0x2866bb,_0x25bc6f,_0x420c69,_0x2c5427,_0x309a40=!0x1,_0x2b23b0,_0x532955,_0x7ad4d1,_0x317a8a,_0x3ea806,_0x50faaa,_0x11ab07){var _0x5c0d0d=_0x2bc529;super(_0x228734,_0x2866bb,_0x25bc6f,_0x420c69,_0x2c5427,_0x532955,_0x7ad4d1,_0x317a8a,_0x11ab07),N(this,'status',_0x5c0d0d(0x158)),(this[_0x5c0d0d(0x35d)]=_0x309a40,this['_permissionService']=_0x2b23b0,this['_localeService']=_0x3ea806,this[_0x5c0d0d(0x360)]=_0x50faaa,this[_0x5c0d0d(0x18a)]=_0x11ab07,this[_0x5c0d0d(0x1fb)](),this['_clearLocalCache'](),this[_0x5c0d0d(0xd7)]());}[_0x2bc529(0x371)](){return this;}[_0x2bc529(0x37f)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x2bc529(0x35b)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x23e69b=_0x2bc529;throw new Error(_0x23e69b(0x3b1));}['_clearLocalCache'](){var _0x39bb13=_0x2bc529,_0x386ff5;(_0x386ff5=this['_localCacheService'])==null||_0x386ff5[_0x39bb13(0x113)](this[_0x39bb13(0x171)],this[_0x39bb13(0x1b3)],null,[]);}[_0x2bc529(0x1fb)](){var _0x889474=_0x2bc529;this['_isPermissionRej']?this[_0x889474(0x360)][_0x889474(0x2a5)]({'id':se[_0x889474(0x193)]}):this[_0x889474(0x360)][_0x889474(0x2a5)]({'id':se[_0x889474(0x247)]});}[_0x2bc529(0xd7)](){var _0x156326=_0x2bc529;this[_0x156326(0x117)][_0x156326(0x365)](new _0x3ec26a(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x168dfb(_0x1231a3)),A(0x7,_0x3c6d09),A(0x8,_0x16ee51),A(0x9,_0x168dfb(_0x2b637c)),A(0xa,_0x168dfb(_0x46be6e)),A(0xb,_0x168dfb(pe)),A(0xc,_0x17ac87(J))],de);let fe=class extends be{constructor(_0x10adfb,_0x121888,_0x24d4f9,_0x10f70a,_0x180837,_0x4c829b,_0x42807f,_0xd0ac8f,_0xa3d7e5,_0xda9d81){var _0x35488b=_0x2bc529;super(_0x10adfb,_0x121888,_0x24d4f9,_0x10f70a,_0x180837,_0xd0ac8f,_0xa3d7e5,_0x42807f,_0xda9d81),N(this,_0x35488b(0xba),'offline'),this[_0x35488b(0x129)]=_0x4c829b;}[_0x2bc529(0x371)](_0x12efd0){var _0x31b44f=_0x2bc529;return this[_0x31b44f(0x1ec)][_0x31b44f(0x3ae)](_0x12efd0),this['_updateLocalCache'](),this;}[_0x2bc529(0x37f)](_0x1acc6f){var _0x56094c=_0x2bc529;throw new Error(_0x56094c(0x34e));}[_0x2bc529(0x2fd)](){var _0x5be6be=_0x2bc529;throw new Error(_0x5be6be(0x182));}[_0x2bc529(0x136)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x2bc529(0x35b)](){return this;}[_0x2bc529(0x1bf)](){return this;}[_0x2bc529(0x1c6)](){var _0x574756=_0x2bc529;const {_injector:_0x26ca60,_pendingMutations:_0x3be3e0,_awaitingChangeset:_0x112620,unitID:_0x202656,_handler:_0x301869,type:_0x4caa49}=this,_0x1b55f5=Di(_0x26ca60,_0x202656,_0x4caa49,_0x112620,_0x3be3e0,_0x301869);return _0x1b55f5 instanceof oe?_0x1b55f5[_0x574756(0x1d5)]():(_0x1b55f5 instanceof ae||_0x1b55f5 instanceof ue)&&_0x1b55f5[_0x574756(0x374)](),_0x1b55f5;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x168dfb(_0x25ad6f)),A(0x6,_0x168dfb(_0x2b637c)),A(0x7,_0x3c6d09),A(0x8,_0x16ee51),A(0x9,_0x17ac87(J))],fe);let te=class extends be{constructor(_0x140720,_0x35419a,_0x596a18,_0x1bd7fb,_0x9c19f5,_0x5064dc,_0x11757c,_0x5065ce,_0x4b92da,_0x37cd75,_0x52f2eb,_0x439769,_0x3c7620,_0x2c16b8){var _0x2e9ed9=_0x2bc529;super(_0x140720,_0x35419a,_0x596a18,_0x1bd7fb,_0x11757c,_0x52f2eb,_0x439769,_0x4b92da,_0x2c16b8),N(this,'status',_0x2e9ed9(0x116)),(this[_0x2e9ed9(0x10f)]=_0x9c19f5,this['_queuedRemoteChangesets']=_0x5064dc,this[_0x2e9ed9(0x129)]=_0x5065ce,this[_0x2e9ed9(0x2e9)]=_0x37cd75,this[_0x2e9ed9(0x18d)]=_0x3c7620,this[_0x2e9ed9(0x18a)]=_0x2c16b8);}[_0x2bc529(0x326)](_0x33bffa){var _0x3b8d45=_0x2bc529;try{const _0x2078f4=[..._0x33bffa,...this[_0x3b8d45(0x2cf)]],_0x7eeeb1=[this[_0x3b8d45(0x277)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x3e128e=>!!_0x3e128e);let _0x362ae3,_0x133c9f;if(_0x7eeeb1[_0x3b8d45(0x1d4)]){const _0x281274=this[_0x3b8d45(0x18d)][_0x3b8d45(0x29a)](_0x2078f4,_0x7eeeb1,!0x1);if(!_0x364536(_0x281274))throw _0x281274[_0x3b8d45(0x185)];_0x362ae3=_0x281274[_0x3b8d45(0x1b7)],_0x133c9f=_0x281274[_0x3b8d45(0x36e)];}else _0x362ae3=_0x2078f4,_0x133c9f=[];let _0x3730e3=this[_0x3b8d45(0x1ec)];_0x362ae3[_0x3b8d45(0x351)](_0x14531a=>{var _0x2e3848=_0x3b8d45;let _0x222074;if(_0x3730e3['length']){const _0x53803b=this[_0x2e3848(0x18d)][_0x2e3848(0x278)](_0x14531a,_0x3730e3);if(!_0x24c061(_0x53803b))throw _0x53803b[_0x2e3848(0x185)];_0x222074=_0x53803b[_0x2e3848(0x1b7)],_0x3730e3=_0x53803b[_0x2e3848(0x23a)];}else _0x222074=_0x14531a;this['_executeRemoteChangeset'](_0x222074);}),this[_0x3b8d45(0x10f)]&&this[_0x3b8d45(0x2d2)](),this[_0x3b8d45(0x277)]&&_0x133c9f['length']&&(_0x133c9f[0x0][_0x3b8d45(0x3b2)]=this['_getCurrentRevision']());let _0x445db2;if(this[_0x3b8d45(0x277)]&&_0x3730e3[_0x3b8d45(0x1d4)]!==0x0)_0x445db2=this[_0x3b8d45(0x129)]['createInstance'](ae,this[_0x3b8d45(0x171)],this[_0x3b8d45(0x1b3)],_0x133c9f[0x0],_0x3730e3,this[_0x3b8d45(0x1f1)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3730e3[_0x3b8d45(0x1d4)]===0x0)_0x133c9f[0x0][_0x3b8d45(0x3b2)]=this['_getCurrentRevision'](),_0x445db2=this[_0x3b8d45(0x129)]['createInstance'](ue,this[_0x3b8d45(0x171)],this[_0x3b8d45(0x1b3)],_0x133c9f[0x0],this[_0x3b8d45(0x1f1)]);else{if(_0x3730e3[_0x3b8d45(0x1d4)]!==0x0){const _0x56cf4b=this[_0x3b8d45(0x129)]['createInstance'](oe,this['unitID'],this[_0x3b8d45(0x1b3)],_0x3730e3,this[_0x3b8d45(0x1f1)]);_0x56cf4b['_schedule'](),_0x445db2=_0x56cf4b;}else _0x445db2=this[_0x3b8d45(0x129)][_0x3b8d45(0x29b)](De,this[_0x3b8d45(0x171)],this[_0x3b8d45(0x1b3)],this[_0x3b8d45(0x1f1)]);}}return _0x445db2[_0x3b8d45(0x1cf)](),_0x445db2;}catch(_0x19dc36){return this['_logService'][_0x3b8d45(0x185)]('[FetchMissState]',_0x3b8d45(0x2d3),_0x19dc36),this['_injector'][_0x3b8d45(0x29b)](de,this['unitID'],this[_0x3b8d45(0x1b3)],this[_0x3b8d45(0x277)],this['_pendingMutations'],this[_0x3b8d45(0x1f1)],!0x1);}}['resend'](){var _0x401423=_0x2bc529;throw new Error(_0x401423(0x24f));}['appendMutation'](_0x4224b3){return this['_pendingMutations']['push'](_0x4224b3),this;}[_0x2bc529(0x37f)](_0x1327c8){var _0x15986e=_0x2bc529;return this[_0x15986e(0x2cf)]['push'](_0x1327c8),this;}['onRemoteAck'](_0x29b752){var _0x2dddb2=_0x2bc529;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x2dddb2(0x277)],this[_0x2dddb2(0x277)]=null,this;throw new Error(_0x2dddb2(0x18b));}[_0x2bc529(0x136)](_0x2179c7){var _0x5e6e15=_0x2bc529;return this['_onConflict'](!!(_0x2179c7!=null&&_0x2179c7[_0x5e6e15(0x13a)]));}['onRemoteRetry'](){return this;}[_0x2bc529(0x1bf)](){var _0x25e6e1=_0x2bc529;return this[_0x25e6e1(0x129)][_0x25e6e1(0x29b)](fe,this[_0x25e6e1(0x171)],this[_0x25e6e1(0x1b3)],this[_0x25e6e1(0x277)],this[_0x25e6e1(0x1ec)],this['_handler']);}[_0x2bc529(0x1c6)](){return this;}[_0x2bc529(0x3a1)](_0x5bd3c6){var _0x64bf6c=_0x2bc529;return this[_0x64bf6c(0x129)][_0x64bf6c(0x29b)](de,this['unitID'],this[_0x64bf6c(0x1b3)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x64bf6c(0x1f1)],_0x5bd3c6);}};te=Re([A(0x7,_0x168dfb(_0x25ad6f)),A(0x8,_0x168dfb(_0x2b637c)),A(0x9,_0x455813),A(0xa,_0x3c6d09),A(0xb,_0x16ee51),A(0xc,_0x5aa706),A(0xd,_0x17ac87(J))],te);function Di(_0x3ffe6e,_0x32f554,_0x364faf,_0xd219b,_0x535371,_0x237ec1){var _0x15c8e3=_0x2bc529;return _0xd219b&&_0x535371[_0x15c8e3(0x1d4)]?_0x3ffe6e[_0x15c8e3(0x29b)](ae,_0x32f554,_0x364faf,_0xd219b,_0x535371,_0x237ec1,void 0x0):_0xd219b?_0x3ffe6e[_0x15c8e3(0x29b)](ue,_0x32f554,_0x364faf,_0xd219b,_0x237ec1):_0x535371[_0x15c8e3(0x1d4)]?_0x3ffe6e['createInstance'](oe,_0x32f554,_0x364faf,_0x535371,_0x237ec1):_0x3ffe6e[_0x15c8e3(0x29b)](De,_0x32f554,_0x364faf,_0x237ec1);}var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x2d8551,_0x2fb04d,_0x4c32fe,_0x2b5318)=>{for(var _0x546ee3=_0x2b5318>0x1?void 0x0:_0x2b5318?pr(_0x2fb04d,_0x4c32fe):_0x2fb04d,_0x3a6fcb=_0x2d8551['length']-0x1,_0x341679;_0x3a6fcb>=0x0;_0x3a6fcb--)(_0x341679=_0x2d8551[_0x3a6fcb])&&(_0x546ee3=(_0x2b5318?_0x341679(_0x2fb04d,_0x4c32fe,_0x546ee3):_0x341679(_0x546ee3))||_0x546ee3);return _0x2b5318&&_0x546ee3&&vr(_0x2fb04d,_0x4c32fe,_0x546ee3),_0x546ee3;},k=(_0x3d4106,_0x5bee60)=>(_0x56b034,_0x163971)=>_0x5bee60(_0x56b034,_0x163971,_0x3d4106);let nt=class extends _0x357f9f{constructor(_0x56e56b,_0x4a2347,_0x675af1,_0x5d97e4,_0x427fa7,_0x2f336e,_0x57617f,_0x250033,_0x3c86af,_0x14ae43,_0x2e8d23,_0xc050ae,_0x5149bc){var _0x3471c6=_0x2bc529;super(),N(this,_0x3471c6(0x37b),new _0x47bc14(null)),N(this,_0x3471c6(0x1e8),this[_0x3471c6(0x37b)][_0x3471c6(0x20f)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,_0x3471c6(0x380),''),N(this,_0x3471c6(0x114),0x0),N(this,_0x3471c6(0xb5),this[_0x3471c6(0x1e8)]['pipe'](_0x5a83ff(_0x16f79f=>_0x16f79f?_0x16f79f[_0x3471c6(0xba)]:yi[_0x3471c6(0x30b)]),_0x4cc5b7(0x1))),N(this,_0x3471c6(0x122),!0x1),N(this,_0x3471c6(0x11f),[]),(this['unitID']=_0x56e56b,this[_0x3471c6(0x228)]=_0x4a2347,this['_type']=_0x675af1,this[_0x3471c6(0x129)]=_0x5d97e4,this[_0x3471c6(0x16e)]=_0x427fa7,this[_0x3471c6(0xf4)]=_0x2f336e,this['_revisionService']=_0x57617f,this[_0x3471c6(0xbc)]=_0x250033,this[_0x3471c6(0x2e9)]=_0x3c86af,this[_0x3471c6(0xe5)]=_0x14ae43,this[_0x3471c6(0x117)]=_0x2e8d23,this[_0x3471c6(0x30a)]=_0xc050ae,this[_0x3471c6(0x320)]=_0x5149bc);}get[_0x2bc529(0x38f)](){var _0x2456ee=_0x2bc529;return this[_0x2456ee(0x329)];}async[_0x2bc529(0x209)](){var _0x43174c=_0x2bc529;if(this[_0x43174c(0x38f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x2bc529(0x3a5)](){return this['_collaborationPaused']=!0x0,_0x1ca5c7(()=>{var _0x5156b1=_0xbb4d;this['_collaborationPaused']=!0x1,this[_0x5156b1(0x32a)]();});}[_0x2bc529(0x1c9)](_0x53ab44){var _0x3f73df=_0x2bc529;this[_0x3f73df(0x1ce)](_0x53ab44);}['_updateState'](_0x345bf6){var _0x4405d3=_0x2bc529;this['_state']=_0x345bf6,this[_0x4405d3(0x37b)][_0x4405d3(0x318)](_0x345bf6);}async[_0x2bc529(0x13b)](){var _0x41bfba=_0x2bc529,_0x365af9;this[_0x41bfba(0x2da)](await this[_0x41bfba(0x135)]()),this[_0x41bfba(0x30a)]&&((_0x365af9=this['_singleActiveUnitService'])==null||_0x365af9[_0x41bfba(0x2a1)](this[_0x41bfba(0x171)]),this[_0x41bfba(0x2bd)](this['_singleActiveUnitService'][_0x41bfba(0x246)](this[_0x41bfba(0x171)])['subscribe'](_0x507e45=>{var _0x5bc87c=_0x41bfba;this['_logService'][_0x5bc87c(0x2f3)](_0x5bc87c(0x153),_0x5bc87c(0xf3),_0x507e45),_0x507e45===bi[_0x5bc87c(0x38e)]?(this[_0x5bc87c(0xbc)][_0x5bc87c(0x2a5)]({'id':se[_0x5bc87c(0x25b)]}),this[_0x5bc87c(0x117)]['updatePermissionPoint'](new _0x3ec26a(this[_0x5bc87c(0x171)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x5bc87c(0x117)][_0x5bc87c(0x365)](new _0x3ec26a(this[_0x5bc87c(0x171)])['id'],!0x0),this[_0x5bc87c(0x117)][_0x5bc87c(0x2bc)](!0x0));})));let _0x3d8b09=!0x1;return this[_0x41bfba(0x2bd)](this[_0x41bfba(0x228)][_0x41bfba(0xb7)][_0x41bfba(0x285)](_0x144905=>{var _0x264a6c=_0x41bfba;_0x144905===Te[_0x264a6c(0xfa)]?this[_0x264a6c(0xc4)](_0x3d8b09):_0x144905===Te[_0x264a6c(0x30b)]&&(_0x3d8b09=!0x0,this[_0x264a6c(0xc8)]());})),this[_0x41bfba(0x2bd)](this[_0x41bfba(0x228)]['event$'][_0x41bfba(0x285)](_0x4e80bc=>{var _0x802dc1=_0x41bfba;try{switch(_0x4e80bc[_0x802dc1(0x1da)]){case _0xc77da8[_0x802dc1(0x206)]:{this[_0x802dc1(0x296)](_0x445dda(_0x4e80bc['data']));break;}case _0xc77da8[_0x802dc1(0xf7)]:{this[_0x802dc1(0x312)](_0x4e80bc[_0x802dc1(0x33f)]);break;}case _0xc77da8[_0x802dc1(0x16f)]:{this[_0x802dc1(0xd9)]();break;}case _0xc77da8['CHANGESET_SHOULD_RETRY']:{this[_0x802dc1(0x3af)](_0x4e80bc[_0x802dc1(0x33f)]);break;}case _0xc77da8[_0x802dc1(0x10a)]:{this[_0x802dc1(0x2b5)](_0x4e80bc['data'][_0x802dc1(0x2c6)][_0x802dc1(0x2dc)](_0x304717=>_0x445dda(_0x304717)));break;}case _0xc77da8[_0x802dc1(0x138)]:{this[_0x802dc1(0xd9)]({'isPermissionRej':!0x0});break;}case _0xc77da8[_0x802dc1(0x398)]:break;}}catch(_0x110e65){throw console[_0x802dc1(0x185)](_0x802dc1(0x243),_0x110e65),_0x110e65;}})),this['_state'];}[_0x2bc529(0x2bb)](){var _0x43e0f5=_0x2bc529;this[_0x43e0f5(0x122)]=!0x1;}['_lockTransition'](){var _0x46d23a=_0x2bc529;if(this[_0x46d23a(0x122)])throw new Error(_0x46d23a(0x1cd));this['_transitionLocked']=!0x0;}[_0x2bc529(0x1ce)](_0x4693ee){var _0x4ea153=_0x2bc529;this['_lockTransition'](),this['_updateState'](this[_0x4ea153(0x329)][_0x4ea153(0x371)](_0x4693ee)),this[_0x4ea153(0x2bb)]();}[_0x2bc529(0x296)](_0x4e727b){var _0x1b4fb9=_0x2bc529;if(!(_0x4e727b[_0x1b4fb9(0x33d)]<=this[_0x1b4fb9(0x124)][_0x1b4fb9(0x1b9)](this[_0x1b4fb9(0x171)]))){if(this['_collaborationPaused']){this[_0x1b4fb9(0x11f)][_0x1b4fb9(0x3ae)](_0x4e727b);return;}this['_applyRemoteChangeset'](_0x4e727b);}}['_exhaustRemoteChangesetQueue'](){var _0x4e0f4e=_0x2bc529;this[_0x4e0f4e(0x11f)][_0x4e0f4e(0x351)](_0x4aa30c=>this[_0x4e0f4e(0x146)](_0x4aa30c)),this[_0x4e0f4e(0x11f)]=[];}['_applyRemoteChangeset'](_0x5324c5){var _0x5c559e=_0x2bc529;const _0x25fa99=this[_0x5c559e(0x16e)][_0x5c559e(0x163)][_0x5c559e(0x2f9)](this[_0x5c559e(0x16e)]['interceptor']['getInterceptPoints']()[_0x5c559e(0x319)])(_0x5324c5[_0x5c559e(0x36f)],null)||_0x5324c5['mutations'],_0x235811={..._0x5324c5,'mutations':_0x25fa99};this[_0x5c559e(0x32e)](),this[_0x5c559e(0x2da)](this['_state']['onRemoteChangeset'](_0x235811)),this[_0x5c559e(0x2bb)]();}[_0x2bc529(0x312)](_0x5c7197){var _0x1907c1=_0x2bc529;this[_0x1907c1(0x32e)](),this['_updateState'](this[_0x1907c1(0x329)][_0x1907c1(0x2fd)](_0x5c7197)),this['_unlockTransition']();}['_onRemoteRejected'](_0xa4d93e){var _0x35b3de=_0x2bc529;this[_0x35b3de(0x32e)](),this[_0x35b3de(0x2da)](this[_0x35b3de(0x329)][_0x35b3de(0x136)](_0xa4d93e)),this[_0x35b3de(0x2bb)]();}[_0x2bc529(0x3af)](_0x3af499){var _0x3e8ea4=_0x2bc529;this[_0x3e8ea4(0x32e)](),this[_0x3e8ea4(0x2da)](this['_state'][_0x3e8ea4(0x35b)](_0x3af499)),this['_unlockTransition']();}[_0x2bc529(0x2b5)](_0xe22830){var _0x22058c=_0x2bc529;if(!(this['_state']instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x7cfb9=_0xe22830[_0x22058c(0x2dc)](_0x1c93a5=>{var _0x479362=_0x22058c;const _0x92a56=this['_compressMutationService'][_0x479362(0x163)]['fetchThroughInterceptors'](this[_0x479362(0x16e)][_0x479362(0x163)]['getInterceptPoints']()[_0x479362(0x319)])(_0x1c93a5[_0x479362(0x36f)],null)||_0x1c93a5['mutations'];return{..._0x1c93a5,'mutations':_0x92a56};});this[_0x22058c(0x32e)](),this[_0x22058c(0x2da)](this[_0x22058c(0x329)][_0x22058c(0x326)](_0x7cfb9)),this['_unlockTransition']();}[_0x2bc529(0xc8)](){var _0x54bace=_0x2bc529;this['_lockTransition'](),this[_0x54bace(0x2da)](this[_0x54bace(0x329)][_0x54bace(0x1bf)]()),this[_0x54bace(0x2bb)]();}[_0x2bc529(0xc4)](_0x1ff4ca=!0x1){var _0x1d1394=_0x2bc529;this[_0x1d1394(0x32e)](),this['_updateState'](this[_0x1d1394(0x329)][_0x1d1394(0x1c6)]()),this[_0x1d1394(0x2bb)]();const _0x2f2356=this['_state'];_0x1ff4ca&&_0x2f2356 instanceof De&&(this['_lockTransition'](),this[_0x1d1394(0x2da)](_0x2f2356[_0x1d1394(0x226)]()),this['_unlockTransition']());}async[_0x2bc529(0x135)](){return new Promise(_0x2f6968=>{var _0x50447a=_0xbb4d;this['session'][_0x50447a(0xb7)][_0x50447a(0x2e6)](_0x227a1a(0x1))[_0x50447a(0x285)](async _0x2be321=>{var _0x220b14=_0x50447a;_0x2f6968(await this[_0x220b14(0x265)](_0x2be321===Te[_0x220b14(0xfa)]));});});}['_createHandler'](){const _0x4c2290=this['unitID'];return{'onStateChange':(_0x37e9ee,_0x3f591d)=>{var _0x46f731=_0xbb4d;if(_0x37e9ee!==this[_0x46f731(0x329)])throw new Error(_0x46f731(0x17a)+_0x37e9ee[_0x46f731(0xba)]+_0x46f731(0x2f2)+_0x3f591d[_0x46f731(0xba)]+_0x46f731(0x2b4)+this[_0x46f731(0x329)][_0x46f731(0xba)]);this[_0x46f731(0x2da)](_0x3f591d);},'onSendChangeset':_0x430413=>{var _0xc35214=_0xbb4d;_0x430413[_0xc35214(0x31a)]||(_0x430413[_0xc35214(0x31a)]=this[_0xc35214(0x380)],_0x430413[_0xc35214(0x1e3)]=++this[_0xc35214(0x114)]);const _0xe14b89={'eventID':_0xc77da8[_0xc35214(0x2ef)],'data':{'unitID':_0x430413[_0xc35214(0x171)],'unitType':this[_0xc35214(0x17c)],'changeset':_0x430413,'memberID':this['session'][_0xc35214(0xc7)]()}};this[_0xc35214(0x228)][_0xc35214(0xdd)](_0xe14b89,this[_0xc35214(0x171)]);},'onMissingChangesets':({from:_0x391ef0,to:_0x40fa4d})=>{var _0x29a4f8=_0xbb4d;this[_0x29a4f8(0x2e9)][_0x29a4f8(0x2f3)](_0x29a4f8(0x153),_0x29a4f8(0x242)+_0x391ef0+_0x29a4f8(0x1e7)+_0x40fa4d);const _0x3fd137={'eventID':_0xc77da8[_0x29a4f8(0x119)],'data':{'unitID':_0x4c2290,'unitType':this[_0x29a4f8(0x17c)],'from':_0x391ef0,'to':_0x40fa4d}};this[_0x29a4f8(0x228)]['send'](_0x3fd137,this[_0x29a4f8(0x171)]);}};}async[_0x2bc529(0x265)](_0x12b416){var _0x3279e5=_0x2bc529,_0x2d4e42,_0x5e99c9,_0x1e28ce;const _0x36a3a5=await((_0x2d4e42=this[_0x3279e5(0x320)])==null?void 0x0:_0x2d4e42[_0x3279e5(0x2aa)](this[_0x3279e5(0x171)])),_0x53adc6=(_0x5e99c9=_0x36a3a5==null?void 0x0:_0x36a3a5['mutations'])!=null?_0x5e99c9:[],_0xb30221=(_0x1e28ce=_0x36a3a5==null?void 0x0:_0x36a3a5[_0x3279e5(0x390)])!=null?_0x1e28ce:null,_0x480319=!!(_0xb30221!=null&&_0xb30221['sid'])&&!!(_0xb30221!=null&&_0xb30221[_0x3279e5(0x1e3)]);this['_changesetSessionId']=_0x480319?_0xb30221['sid']:sr(),this['_changesetReqId']=_0x480319?_0xb30221[_0x3279e5(0x1e3)]:0x0;const _0x3a147a=this[_0x3279e5(0x171)];try{this[_0x3279e5(0x2b8)](_0xb30221,_0x53adc6);}catch(_0x3fd60a){this['_logService'][_0x3279e5(0x185)](_0x3fd60a);}const _0x429c73=this['_createHandler']();if(_0x12b416){const _0x4c5846=Di(this[_0x3279e5(0x129)],_0x3a147a,this[_0x3279e5(0x17c)],_0xb30221,_0x53adc6,_0x429c73);return _0x4c5846 instanceof oe?_0x4c5846[_0x3279e5(0x1d5)]():(_0x4c5846 instanceof ae||_0x4c5846 instanceof ue)&&_0x4c5846[_0x3279e5(0x374)](),_0x4c5846;}return this[_0x3279e5(0x129)][_0x3279e5(0x29b)](fe,_0x3a147a,this[_0x3279e5(0x17c)],_0xb30221,_0x53adc6,_0x429c73);}[_0x2bc529(0x2b8)](_0x5a2770,_0x5aaa31){var _0x2f6d87=_0x2bc529,_0x3de169,_0x4eb90c;const _0x5aeac8=this[_0x2f6d87(0x16e)][_0x2f6d87(0x163)][_0x2f6d87(0x2f9)](this[_0x2f6d87(0x16e)][_0x2f6d87(0x163)][_0x2f6d87(0x1a9)]()['COMPRESS_MUTATION_APPLY']);(_0x3de169=_0x5aeac8((_0x5a2770==null?void 0x0:_0x5a2770['mutations'])||[],null))==null||_0x3de169['forEach'](_0x2429c4=>this[_0x2f6d87(0xe5)][_0x2f6d87(0x3ad)](_0x2429c4['id'],_0x2429c4[_0x2f6d87(0x399)])),(_0x4eb90c=_0x5aeac8(_0x5aaa31||[],null))==null||_0x4eb90c[_0x2f6d87(0x351)](_0x1b7f42=>this[_0x2f6d87(0xe5)][_0x2f6d87(0x3ad)](_0x1b7f42['id'],_0x1b7f42[_0x2f6d87(0x399)]));}};nt=Lt([k(0x3,_0x168dfb(_0x25ad6f)),k(0x4,_0x168dfb(_0x43aab2)),k(0x5,_0x168dfb(_0x46be6e)),k(0x6,_0x168dfb(_0x2b637c)),k(0x7,_0x168dfb(pe)),k(0x8,_0x455813),k(0x9,_0x3c6d09),k(0xa,_0x1231a3),k(0xb,_0x17ac87(ht)),k(0xc,_0x17ac87(J))],nt);let Tt=class extends nt{constructor(_0x47323c,_0x3c2fe7,_0x2e7200,_0x39a7ad,_0x3dbae0,_0x4be94f,_0xe15b1b,_0x2459cd,_0x413bae,_0x23de23,_0x328f66,_0x4bf22c,_0x1ec8f1){var _0x6f24fa=_0x2bc529;super(_0x47323c,_0x2e7200,_0x3c2fe7,_0x39a7ad,_0x3dbae0,_0x4be94f,_0xe15b1b,_0x2459cd,_0x413bae,_0x23de23,_0x328f66,_0x4bf22c,_0x1ec8f1),N(this,_0x6f24fa(0x250),null),(this[_0x6f24fa(0x171)]=_0x47323c,this['type']=_0x3c2fe7);}[_0x2bc529(0x104)](_0x1881a6){var _0x202bb1=_0x2bc529;this[_0x202bb1(0x250)]=_0x1881a6;}['dispose'](){var _0x4c6546=_0x2bc529;this[_0x4c6546(0x250)]=null,super[_0x4c6546(0x3a8)]();}[_0x2bc529(0x1ac)](){var _0x517437=_0x2bc529;const _0x11c9ed=super['_createHandler']();return _0x11c9ed[_0x517437(0x2cc)]=_0x2688e9=>{var _0x18bbe1=_0x517437,_0xc4a1e6,_0x565033;return(_0x565033=(_0xc4a1e6=this[_0x18bbe1(0x250)])==null?void 0x0:_0xc4a1e6['onTransformIME'])==null?void 0x0:_0x565033['call'](_0xc4a1e6,_0x2688e9);},_0x11c9ed[_0x517437(0x127)]=_0x3c1d89=>{var _0x18af38=_0x517437,_0x5de4ad,_0x5091c7;return(_0x5091c7=(_0x5de4ad=this['_handlerCallback'])==null?void 0x0:_0x5de4ad['onTransformState'])==null?void 0x0:_0x5091c7[_0x18af38(0x145)](_0x5de4ad,_0x3c1d89);},_0x11c9ed[_0x517437(0x357)]=_0x4c4d5c=>{var _0x27bc14=_0x517437,_0x25f3fd,_0x6a0323;return(_0x6a0323=(_0x25f3fd=this[_0x27bc14(0x250)])==null?void 0x0:_0x25f3fd['onTransformSelections'])==null?void 0x0:_0x6a0323['call'](_0x25f3fd,_0x4c4d5c);},_0x11c9ed['onSyncEditingCollabCursor']=_0x292e1e=>{var _0x5cd4e0=_0x517437,_0x34a47b,_0x1d5ad4;return(_0x1d5ad4=(_0x34a47b=this['_handlerCallback'])==null?void 0x0:_0x34a47b[_0x5cd4e0(0x394)])==null?void 0x0:_0x1d5ad4[_0x5cd4e0(0x145)](_0x34a47b,_0x292e1e);},_0x11c9ed['onTransformRemoteChangesetByIMECache']=_0xbea732=>{var _0x47e048=_0x517437,_0x15bae4,_0x543f5e,_0x55b7cb;if(!((_0x15bae4=this[_0x47e048(0x250)])!=null&&_0x15bae4[_0x47e048(0x253)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x55b7cb=(_0x543f5e=this[_0x47e048(0x250)])==null?void 0x0:_0x543f5e[_0x47e048(0x253)])==null?void 0x0:_0x55b7cb[_0x47e048(0x145)](_0x543f5e,_0xbea732);},_0x11c9ed['onTransformRemoteChangesetByStateCache']=_0x3e4801=>{var _0x3a29e5=_0x517437,_0x3a9e6c,_0x7b7b46,_0x327e38;if(!((_0x3a9e6c=this['_handlerCallback'])!=null&&_0x3a9e6c[_0x3a29e5(0x331)]))throw new Error(_0x3a29e5(0x220));return(_0x327e38=(_0x7b7b46=this[_0x3a29e5(0x250)])==null?void 0x0:_0x7b7b46[_0x3a29e5(0x331)])==null?void 0x0:_0x327e38['call'](_0x7b7b46,_0x3e4801);},_0x11c9ed;}async[_0x2bc529(0x13b)](){var _0x23f91b=_0x2bc529;const _0x28f56b=await super['_init']();return this[_0x23f91b(0x2bd)](this['_commandService']['onCommandExecuted']((_0x4e6ca4,_0x1d0fb7)=>{var _0x4ddc86=_0x23f91b;if(_0x4e6ca4['type']!==_0x5bd9db[_0x4ddc86(0x37a)]||_0x1d0fb7!=null&&_0x1d0fb7[_0x4ddc86(0x2ee)]||_0x1d0fb7!=null&&_0x1d0fb7[_0x4ddc86(0x12f)]||_0x4e6ca4['id']===_0x34e152['id'])return;const _0x5b8c76=_0x4e6ca4[_0x4ddc86(0x399)];if((_0x5b8c76==null?void 0x0:_0x5b8c76[_0x4ddc86(0x168)])!==this[_0x4ddc86(0x171)])return;const _0x524c5d=_0x4e6ca4,_0x463187=this['_compressMutationService'][_0x4ddc86(0x163)][_0x4ddc86(0x2f9)](this[_0x4ddc86(0x16e)][_0x4ddc86(0x163)][_0x4ddc86(0x1a9)]()[_0x4ddc86(0x328)])([_0x524c5d],null)||[_0x524c5d];this[_0x4ddc86(0x1ce)](_0x463187[0x0]);})),_0x28f56b;}};Tt=Lt([k(0x3,_0x168dfb(_0x25ad6f)),k(0x4,_0x168dfb(_0x43aab2)),k(0x5,_0x168dfb(_0x46be6e)),k(0x6,_0x168dfb(_0x2b637c)),k(0x7,_0x168dfb(pe)),k(0x8,_0x455813),k(0x9,_0x3c6d09),k(0xa,_0x1231a3),k(0xb,_0x17ac87(ht)),k(0xc,_0x17ac87(J))],Tt);let Ct=class extends nt{constructor(_0x356074,_0x18bad9,_0x16d1ba,_0x4c0c8b,_0x45b83f,_0x1bae92,_0x5695d5,_0x26b8bb,_0x512331,_0x13e03d,_0x478129,_0x2327e2,_0x562673,_0x3f74e2){var _0x29343f=_0x2bc529;super(_0x356074,_0x16d1ba,_0x18bad9,_0x4c0c8b,_0x45b83f,_0x1bae92,_0x5695d5,_0x512331,_0x13e03d,_0x478129,_0x2327e2,_0x562673,_0x3f74e2),this[_0x29343f(0x171)]=_0x356074,this['type']=_0x18bad9,this[_0x29343f(0x281)]=_0x26b8bb;}[_0x2bc529(0x1ac)](){var _0x91391c=_0x2bc529;const _0x4541aa=super[_0x91391c(0x1ac)]();return _0x4541aa[_0x91391c(0x357)]=_0x51d458=>this['_sheetTransformSelectionsService'][_0x91391c(0x259)](_0x51d458),_0x4541aa;}async[_0x2bc529(0x13b)](){var _0x5db326=_0x2bc529;const _0x22047e=await super[_0x5db326(0x13b)]();return this[_0x5db326(0x2bd)](this[_0x5db326(0xe5)][_0x5db326(0x132)]((_0x26ff47,_0x58d6c4)=>{var _0x523c4a=_0x5db326;if(_0x26ff47['type']!==_0x5bd9db[_0x523c4a(0x37a)]||_0x58d6c4!=null&&_0x58d6c4[_0x523c4a(0x2ee)]||_0x58d6c4!=null&&_0x58d6c4[_0x523c4a(0x12f)])return;const _0x4ef06a=_0x26ff47[_0x523c4a(0x399)];if((_0x4ef06a==null?void 0x0:_0x4ef06a['unitId'])!==this['unitID'])return;const _0x33318d=_0x26ff47,_0x1b8380=this[_0x523c4a(0x16e)]['interceptor'][_0x523c4a(0x2f9)](this[_0x523c4a(0x16e)][_0x523c4a(0x163)][_0x523c4a(0x1a9)]()[_0x523c4a(0x328)])([_0x33318d],null)||[_0x33318d];this[_0x523c4a(0x1ce)](_0x1b8380[0x0]);})),_0x22047e;}};Ct=Lt([k(0x3,_0x168dfb(_0x25ad6f)),k(0x4,_0x168dfb(_0x43aab2)),k(0x5,_0x168dfb(_0x46be6e)),k(0x6,_0x168dfb(_0x2b637c)),k(0x7,_0x168dfb(it)),k(0x8,_0x168dfb(pe)),k(0x9,_0x455813),k(0xa,_0x3c6d09),k(0xb,_0x1231a3),k(0xc,_0x17ac87(ht)),k(0xd,_0x17ac87(J))],Ct);var mr=Object[_0x2bc529(0x1a2)],gr=Object[_0x2bc529(0x1b8)],Sr=(_0x50667b,_0x358606,_0x5a4622,_0xa0bb91)=>{var _0x495a5a=_0x2bc529;for(var _0x52ca1f=_0xa0bb91>0x1?void 0x0:_0xa0bb91?gr(_0x358606,_0x5a4622):_0x358606,_0x43e98a=_0x50667b[_0x495a5a(0x1d4)]-0x1,_0x52c0be;_0x43e98a>=0x0;_0x43e98a--)(_0x52c0be=_0x50667b[_0x43e98a])&&(_0x52ca1f=(_0xa0bb91?_0x52c0be(_0x358606,_0x5a4622,_0x52ca1f):_0x52c0be(_0x52ca1f))||_0x52ca1f);return _0xa0bb91&&_0x52ca1f&&mr(_0x358606,_0x5a4622,_0x52ca1f),_0x52ca1f;},ft=(_0x19f495,_0x485dd1)=>(_0x12d769,_0xcc9be1)=>_0x485dd1(_0x12d769,_0xcc9be1,_0x19f495);let rt=class extends _0x357f9f{constructor(_0x5aacab,_0x3c3d9f,_0x24d2be){var _0x161f64=_0x2bc529;super(),N(this,'_entities',new Map()),N(this,_0x161f64(0x39f),new _0x41bed3()),N(this,'entityInit$',this[_0x161f64(0x39f)][_0x161f64(0x20f)]()),(this['_injector']=_0x5aacab,this[_0x161f64(0x179)]=_0x3c3d9f,this[_0x161f64(0xc3)]=_0x24d2be,this[_0x161f64(0x13b)]());}['dispose'](){var _0x12c006=_0x2bc529;super['dispose'](),this[_0x12c006(0x217)][_0x12c006(0x351)](_0x142708=>_0x142708[_0x12c006(0x3a8)]()),this[_0x12c006(0x217)]['clear']();}[_0x2bc529(0x12a)](_0x496741){var _0x59e0e0=_0x2bc529,_0x59286e;return(_0x59286e=this[_0x59e0e0(0x217)][_0x59e0e0(0x227)](_0x496741))!=null?_0x59286e:null;}[_0x2bc529(0x24a)](_0xfa9622){var _0x1d37dc=_0x2bc529;const _0x5789d0=this[_0x1d37dc(0x12a)](_0xfa9622);return _0x5789d0?_0x21da04(_0x5789d0):this[_0x1d37dc(0x39f)]['pipe'](_0x4ca0f2(_0x12700f=>_0x12700f[_0x1d37dc(0x171)]===_0xfa9622));}[_0x2bc529(0x112)](_0x529e03){var _0x4baa9e=_0x2bc529;return _0x45fcaa(this['getCollabEntity$'](_0x529e03)[_0x4baa9e(0x2e6)](_0x1d550d(()=>{})));}['_init'](){var _0x261dc5=_0x2bc529;this[_0x261dc5(0xc3)][_0x261dc5(0x180)](_0x432cf6[_0x261dc5(0x38c)])[_0x261dc5(0x2e6)](_0x482c59(this[_0x261dc5(0x1c0)]),_0x2cef54(0x10))[_0x261dc5(0x285)](async _0x1a142e=>{var _0x526dbf=_0x261dc5;const _0x55baa1=_0x1a142e[_0x526dbf(0x1d0)](),_0x3c87e9=await this[_0x526dbf(0x1c8)](_0x55baa1,Q[_0x526dbf(0x38c)]);this[_0x526dbf(0x217)][_0x526dbf(0x2de)](_0x55baa1,_0x3c87e9);}),this[_0x261dc5(0xc3)][_0x261dc5(0x180)](_0x432cf6[_0x261dc5(0x14e)])[_0x261dc5(0x2e6)](_0x482c59(this[_0x261dc5(0x1c0)]),_0x2cef54(0x10))[_0x261dc5(0x2e6)](_0x4ca0f2(_0x1cccd4=>!_0x1cccd4['getUnitId']()[_0x261dc5(0x173)]('__')))['subscribe'](async _0x3e4c89=>{var _0x2c4d8e=_0x261dc5;const _0x1cc3cb=_0x3e4c89[_0x2c4d8e(0x1d0)](),_0x5d270d=await this[_0x2c4d8e(0x1c8)](_0x1cc3cb,Q[_0x2c4d8e(0x14e)]);this['_entities'][_0x2c4d8e(0x2de)](_0x1cc3cb,_0x5d270d);}),_0x375c6f(this['_univerInstanceService'][_0x261dc5(0x194)](_0x432cf6[_0x261dc5(0x38c)]),this[_0x261dc5(0xc3)][_0x261dc5(0x194)](_0x432cf6[_0x261dc5(0x14e)]))['pipe'](_0x482c59(this[_0x261dc5(0x1c0)]))[_0x261dc5(0x285)](_0x5d3de1=>{var _0x51a24f=_0x261dc5;const _0x3ce658=_0x5d3de1['getUnitId'](),_0x519dd5=this[_0x51a24f(0x217)][_0x51a24f(0x227)](_0x3ce658);_0x519dd5&&(_0x519dd5[_0x51a24f(0x3a8)](),this[_0x51a24f(0x217)]['delete'](_0x3ce658));});}async[_0x2bc529(0x1c8)](_0x44d293,_0x654f23){var _0x2fc854=_0x2bc529;const _0x47bc23=await this[_0x2fc854(0x179)]['requireSession'](_0x44d293),_0xf27144=this[_0x2fc854(0x129)][_0x2fc854(0x29b)](this[_0x2fc854(0x2d4)](_0x654f23),_0x44d293,_0x654f23,_0x47bc23);return await _0xf27144[_0x2fc854(0x209)](),this[_0x2fc854(0x39f)]['next'](_0xf27144),_0xf27144;}[_0x2bc529(0x2d4)](_0x19b72e){var _0x52065c=_0x2bc529;switch(_0x19b72e){case Q[_0x52065c(0x14e)]:return Tt;case Q[_0x52065c(0x38c)]:return Ct;default:throw new Error(_0x52065c(0xf8)+_0x19b72e);}}};rt=Sr([ft(0x0,_0x168dfb(_0x25ad6f)),ft(0x1,_0x168dfb(Le)),ft(0x2,_0x2e9407)],rt);var Er=Object['defineProperty'],Ir=Object[_0x2bc529(0x1b8)],Tr=(_0xc46a02,_0x40da6d,_0x7c4b03,_0x5b7943)=>{var _0x164163=_0x2bc529;for(var _0x52bc83=_0x5b7943>0x1?void 0x0:_0x5b7943?Ir(_0x40da6d,_0x7c4b03):_0x40da6d,_0x292b24=_0xc46a02[_0x164163(0x1d4)]-0x1,_0x407319;_0x292b24>=0x0;_0x292b24--)(_0x407319=_0xc46a02[_0x292b24])&&(_0x52bc83=(_0x5b7943?_0x407319(_0x40da6d,_0x7c4b03,_0x52bc83):_0x407319(_0x52bc83))||_0x52bc83);return _0x5b7943&&_0x52bc83&&Er(_0x40da6d,_0x7c4b03,_0x52bc83),_0x52bc83;},Jt=(_0x14a2b6,_0x1f4b46)=>(_0x4eb579,_0x50a0b7)=>_0x1f4b46(_0x4eb579,_0x50a0b7,_0x14a2b6);const Cr=_0x2bc529(0x346),Rr=_0x2bc529(0xff);let Rt=class extends _0x5a5f96{constructor(_0x2b3a5d,_0x5228fd){var _0x5a9553=_0x2bc529;super(),this[_0x5a9553(0xc3)]=_0x2b3a5d,this[_0x5a9553(0x1e1)]=_0x5228fd,this[_0x5a9553(0x13b)]();}['_init'](){var _0x18e139=_0x2bc529;this[_0x18e139(0x2bd)](this[_0x18e139(0xc3)][_0x18e139(0x205)][_0x18e139(0x285)](()=>{var _0x3d71fc=_0x18e139,_0x5a923c;const _0x528cc4=this[_0x3d71fc(0xc3)][_0x3d71fc(0x11e)]();let _0x10de18=(_0x5a923c=this[_0x3d71fc(0x1e1)]['getConfig'](Cr))!=null?_0x5a923c:Rr;_0x528cc4 instanceof _0xe43557&&(_0x10de18=_0x528cc4[_0x3d71fc(0x383)]),document[_0x3d71fc(0x224)]=_0x10de18;}));}};Rt=Tr([Jt(0x0,_0x2e9407),Jt(0x1,_0x56e40a)],Rt);var br=Object['defineProperty'],Or=Object[_0x2bc529(0x1b8)],yr=(_0x413a6a,_0xf0b1b2,_0x4a150c,_0x4587b5)=>{for(var _0x2ade1d=_0x4587b5>0x1?void 0x0:_0x4587b5?Or(_0xf0b1b2,_0x4a150c):_0xf0b1b2,_0x38d379=_0x413a6a['length']-0x1,_0x25cf4b;_0x38d379>=0x0;_0x38d379--)(_0x25cf4b=_0x413a6a[_0x38d379])&&(_0x2ade1d=(_0x4587b5?_0x25cf4b(_0xf0b1b2,_0x4a150c,_0x2ade1d):_0x25cf4b(_0x2ade1d))||_0x2ade1d);return _0x4587b5&&_0x2ade1d&&br(_0xf0b1b2,_0x4a150c,_0x2ade1d),_0x2ade1d;},vt=(_0xfefdb8,_0x1a4455)=>(_0x362ac6,_0x2c4ccb)=>_0x1a4455(_0x362ac6,_0x2c4ccb,_0xfefdb8);let st=class{constructor(_0x272985,_0x279d6a,_0x2ad72f){var _0x80d24d=_0x2bc529;this[_0x80d24d(0x1e1)]=_0x272985,this[_0x80d24d(0x3a2)]=_0x279d6a,this[_0x80d24d(0x263)]=_0x2ad72f,this['init']();}[_0x2bc529(0x209)](){var _0x5cada4=_0x2bc529;this[_0x5cada4(0x3a2)][_0x5cada4(0x325)]({'priority':0x1,'interceptor':(_0x41646f,_0x370f73)=>_0x370f73(_0x41646f)[_0x5cada4(0x2e6)](_0x423568(async _0x335d2b=>{var _0x413a6e=_0x5cada4;const _0x53058e=_0x335d2b;if(_0x53058e[_0x413a6e(0xba)]===0x191){if(typeof window>'u')throw new Error(_0x413a6e(0x28d));if(window[_0x413a6e(0x257)](this[_0x413a6e(0x263)]['t'](_0x413a6e(0x1cc)))){const _0x2c30eb=window[_0x413a6e(0x287)](window['location'][_0x413a6e(0x221)]);window[_0x413a6e(0x27b)][_0x413a6e(0x221)]=this[_0x413a6e(0x334)]()+_0x413a6e(0x2d8)+_0x2c30eb;}}return _0x53058e;}))});}[_0x2bc529(0x334)](){var _0x26708e=_0x2bc529,_0x244d37,_0x2ed25e;const _0xdc28d=this[_0x26708e(0x1e1)][_0x26708e(0x2db)](xn),_0x2c316d=this[_0x26708e(0x1e1)][_0x26708e(0x2db)](q);return(_0x2ed25e=(_0x244d37=_0x2c316d==null?void 0x0:_0x2c316d[_0x26708e(0xd3)])!=null?_0x244d37:_0xdc28d)!=null?_0x2ed25e:Ln;}};st=yr([vt(0x0,_0x56e40a),vt(0x1,_0x168dfb(_0x2aebad)),vt(0x2,_0x168dfb(_0x46be6e))],st);var Nr=Object['defineProperty'],Dr=Object[_0x2bc529(0x1b8)],Pr=(_0x1b549b,_0x5b228b,_0x33c358,_0x9fa8a0)=>{var _0x4ce40a=_0x2bc529;for(var _0x1fa233=_0x9fa8a0>0x1?void 0x0:_0x9fa8a0?Dr(_0x5b228b,_0x33c358):_0x5b228b,_0x5d6f72=_0x1b549b[_0x4ce40a(0x1d4)]-0x1,_0x23f43a;_0x5d6f72>=0x0;_0x5d6f72--)(_0x23f43a=_0x1b549b[_0x5d6f72])&&(_0x1fa233=(_0x9fa8a0?_0x23f43a(_0x5b228b,_0x33c358,_0x1fa233):_0x23f43a(_0x1fa233))||_0x1fa233);return _0x9fa8a0&&_0x1fa233&&Nr(_0x5b228b,_0x33c358,_0x1fa233),_0x1fa233;},Xt=(_0x5cd348,_0x320a10)=>(_0xde3989,_0x4a9781)=>_0x320a10(_0xde3989,_0x4a9781,_0x5cd348);function _0x53cc(){var _0x58294c=['_onMessage','COLLAB_SUBMIT_CHANGESET_URL','collaboration-client.local-cache-service','\x20to\x20','state$','pad','_http','231275DgtOUR','_pendingMutations','joinRsp','reject','_resendWithTimeout','collabSubmitChangesetUrl','_handler','/role','_status$','/universer-api/user/session-ticket','_roomMembers','/universer-api/file/{fileID}/sign-url','_getAPIPrefix','_clearTimeoutTimer','LICENSE_IMPORT_SIZE_EXCEEDED','_xformMode','_showConflictNotification','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','APPLY_REVISION_CONFILICT','1115732uiccud','_hash','Cipher','LICENSE_EXPORT_SIZE_EXCEEDED','post','SNAPSHOT_INVALID_SNAPSHOT','reverse','focused$','NEW_CHANGESETS','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','application/json','init','synced','objects','YUUMI_UNABLE_LOAD_URL','enableSingleActiveInstanceLock','[DataLoaderService]','asObservable','_userManagerService','image/bmp','JOIN_ROOM_FAILED','SHOULD_CLOSE_CONN','_syncEditingCollabCursor','getUnitType','createEncryptor','_entities','key','withCredentials','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','encrypt','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ciphertext','_tryEnsureSocket','/universer-api/snapshot/','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','href','_getSignURL','_replaceFileID','title','JOIN','fetchMiss','get','session','override','createDecryptor','_fetchMissChangesets','clamp','finalize','/universer-api/uniscript','_key','[PendingState]:\x20received\x20rejection.','awaiting','_event$','_config','453836skOQNG','PENDING','disableLocalCache','INTERNAL_ERROR','_getDownloadEndpointURL','HEARTBEAT','m2Prime','_commentService','socket\x20open.','_doProcessBlock','Hasher','_rescheduleHeartbeat','LOCAL_CACHE_INTERVAL','_stopTelemetryCollaborationNewChangeset','fetching\x20missing\x20changesets\x20from\x20','Error\x20on\x20receiving\x20event','change$','_getUndoStack','getUnitStatus$','CONFLICT','default','_executeRemoteChangeset','getCollabEntity$','_sessionStatus$','AUTHZ_URL_KEY','Could\x20not\x20dynamically\x20require\x20\x22','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_handlerCallback','?size=','putCollaborators','onTransformRemoteChangesetByIMECache','leaveEvent','/unit/','_emitMembers','confirm','CipherParams','transformSelections','charCodeAt','OTHER_CLIENT_EDITING','getRandomValues','readAsDataURL','permissionRejEvent','__creator','_removeRoom','toString','commentUpdate$','localeService','batchAllowed','_createInitialStateImpl','function','PERSON','_substituteUndoStack','{fileID}','_throwTelemetryCollaborationNewChangeset','/rev/','_sender','RECV','YUUMI_RATE_OVER_LIMIT','removeMember','_collaborationTimeoutTimer','pending','EvpKDF','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_snapshotServerService','LIVESHARE_FETCH_OPERATIONS','sin','_awaitingChangeset','transformMutationsWithChangeset','_decreaseWaiting','format','location','AES','_clearRedo','/new_changes','encode','Base64','_sheetTransformSelectionsService','_onUserJoin','byteLength','_reverseMap','subscribe','floor','encodeURIComponent','sheets','USERS_LEAVE','IDLE','_prevBlock','salt','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','listRoles','close$','unpad','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_keyPriorReset','randomBytes','_redoStacks','_iv','_onRemoteChangeset','Decryptor','HEARTBEAT_INTERVAL','session.join-failed','transformChangesets','createInstance','COMPLETION_FINISHED','repeat','_submitChangeset','userID','_createSocketURL','editingUnit','_createSocket','_shouldReportTelemetry','TOO_MANY_REQUESTS','emitEvent','_networkConditionService','MSG_FOR_ERROR','ERROR_IMAGE_TYPE','_socket','loadOfflineData','[CollaborationSessionService]','_cipher','infoRsp','SUCCUSS','json','COMMENT_UPDATE','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','slice','_transformSelections','\x0aCurrent:\x20','_onFetchMissResult','actions','_roomCreated$','_replayCachedMutations','HttpImport','getRoom','_unlockTransition','setShowComponents','disposeWithMe','_nDataBytes','requireSession','setCurrentUser','target','_change$','reset','LIVESHARE_NEW_HOST','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','changesets','charAt','UNIVER_COLLABORATION_CLIENT_PLUGIN','_nRounds','_retryConnectingTimer','bind','onTransformIME','then','image/jpeg','_queuedRemoteChangesets','memberID','objectActions','_incrementRevisionNumber','failed\x20to\x20apply\x20missed\x20changesets!','_getCtorByUniverType','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','members$','_substituteRedoStack','?url=','getValue','_updateState','getConfig','map','put','set','_clearHeartbeatTimer','file','_scheduleCompleteTimestamp','3VSMlTu','sigBytes','SUBMIT_CHANGESET_TIMEOUT','PY_RUNTIME_SCRIPT_ERROR','pipe','[CollaborationSession]','_unitID','_logService','_map','_undoStacks','INGEST','createCollaborator','fromCollab','SUBMIT_CHANGESET','telemetry\x20info\x20is\x20not\x20initialized','_members$','\x0aAfter:\x20','debug','enc','byteOffset','univer-pro.collaboration-client-socket-service','from','&assign=','fetchThroughInterceptors','fromCharCode','&source=','UnitEmbedded','onRemoteAck','HELLO','UNKNOWN_CMD','FETCH_MISS','kdf','APPLY_PERMISSION_DENIED','listCollaborators','UPDATE_CURSOR','catch','generateRandomId','roomInfos','ERROR_IMAGE','CLOSE_ROOM','_singleActiveUnitService','OFFLINE','_socket$','/fetchmissing?from=','string','FileId','_socketReady','_startTelemetryCollaborationNewChangeset','_onRemoteACK','getMember','values','toLowerCase','filter','_undoRedoService','next','COMPRESS_MUTATION_APPLY','sid','onload','find','socket$','clear','initWorkbookPermissionChange','_localCacheService','AWAITING','_mode','subUnitId','getResourcesRequest','registerHTTPInterceptor','onMissedChangesetFetched','now','COMPRESS_MUTATION_SEND','_state','_exhaustRemoteChangesetQueue','USERS_ENTER','random','apply','_lockTransition','body','algo','onTransformRemoteChangesetByStateCache','_sessions','_checkMissing','_getLoginPath','_doFinalize','_sendHeartbeatTimer','duration','x-univer-host','_clearScheduledTask','onMissingChangesets','/-/object/-/batch_allowed','APPLY_DUPLICATED','revision','getUnit','data','/-/object/list','_telemetryInfo','200XSYYBX','authzUrl','save\x20fail\x20reason\x20is\x20','session.room-not-exists','DEFAULT_FILE_NAME','_socketService','RETRY_CONNECTING_MAX_COUNT','fetchMissingChangesets','_collaborationSessionService','MD5','_getCurrentRevision','People','[OfflineState]:\x20received\x20changeset.','UNIVER_SLIDE','_socketMessageSubscription','forEach','Utf8','liveShareNewHost','onCommentUpdate','shouldCloseConn','complete','onTransformSelections','update','abs','Base','onRemoteRetry','includes','_isPermissionRej','_onOffline','mixIn','_collaborationUIEventService','_memberService','PasswordBasedCipher','rev','SYNCED','updatePermissionPoint','getSheetId','max','/collaborator','_getAPIPrefixPath','addImageSourceCache','4462470gyLUFC','size','CBC','c2Prime','mutations','BufferedBlockAlgorithm','appendMutation','range','[SyncedState]:\x20received\x20acknowledgement.','resend','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','socketService','onStateChange','getCurrentSelections','hasOwnProperty','MUTATION','_state$','LIVESHARE_REQUEST_HOST','transformStack\x20failed!','hasher','onRemoteChangeset','_changesetSessionId','univer-pro.collaboration-client.network-condition.service','SOCKET_FAILED_RETRY','name','uniscriptRunEvent','UNRECOGNIZED','ERROR_EXCEED_SIZE','src','objectType','decrypt','[CollaborationState]:\x20apply\x20error!','Latin1','UNIVER_SHEET','lib','OTHER_CLIENTS_EDITING','state','awaitingChangeset','deleteCollaborator','JOIN_ROOM_FULL','_onJoinRoomEvent','onSyncEditingCollabCursor','_resendTimeout','delete','collaMsg','UNISCRIPT_RUN','params','BlockCipher','loadUnit','waitForRoom$','/universer-api/authz','image/gif','_entityInit$','ALREADY_EXISTS','_onConflict','_httpService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','add','pauseCollaboration','startTime','updateCollaborator','dispose','SNAPSHOT_URL_KEY','HmacMD5','csRejEvent','_doReset','executeCommand','push','_onRemoteRetry','FAIL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','baseRev','ENSURE_SNAPSHOT_EXECUTION','_getRedoStack','_members','\x20-\x20','status$','uploadFileServerUrl','sessionStatus$','reduce','\x20in\x20_schedule.','status','[PendingState]:\x20received\x20acknowledgement.','_eventService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','extend','cfg','UNIVER_UNKNOWN','_getUploadFileURL','NO_OTHER_CLIENTS_EDITING','_univerInstanceService','_toggleOnline','execute','_snapshotService','getMemberID','_toggleOffline','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','loadDoc','textRanges','INVALID_ARGUMENT','924631KFluVw','transformUndoRedo','reconnect','subject','exports','getCurrentUser','loginUrlKey','headers','msCrypto','readInt32LE','_disableEditing','method','_onRemoteRejected','UNIVER_PROJECT','requestParams','_joinRoom','send','replace','HttpExport','Encryptor','blockSize','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','result','event$','_commandService','stringify','append','url','selections','session.room-cnt-exceeds','awaiting_with_pending','objectID','_append','_sendHeartbeat','collabWebSocketUrl','_waitForHeartbeatResponse','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_REJECT','editing\x20status\x20changed\x20to','_localeService','_initDependencies','originalMeta','CHANGESET_ACK','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','sessionStatus','ONLINE','_scheduleCollaborationTimeoutTimer','_invKeySchedule','collaborators','stopTime','Univer','&to=','_createHelper','GLOBAL_ROOMS_CNT_EXCEEDS','ticket','addHandlerCallback','error$','JOINING','getTime','CONNECTOR_DATA_TOO_LARGE','isArray','PSEUDO_FETCH_MISSING_RESULT','_loadSheet','_parse','[CollaborationUndoRedoService]','randomUUID','_acknowledgedAwaitingChangeset','NOT_FOUND','online$','readyForCollab','updateOfflineData','_changesetReqId','CHANGESET_REVISION_CONFILICT','fetch_missing','_permissionService','_clearCollaborationTimeoutTimer','FETCH_MISSING','/allowed','runId','offline','_initUnitPermissionChange','getFocusedUnit','_remoteChangesetQueue','_sendingTimer','allowed','_transitionLocked','_oKey','_revisionService','WordArray','_transformIMECache','onTransformState','6988807pZTejI','_injector','getCollabEntity','create','saveImage','POST','_onUserLeave','onlyLocal','SNAPSHOT_HAS_BEEN_REMOVED','_transformUndoredo','onCommandExecuted','cmd','getSnapshotAPIPath','_createInitialState','onRemoteRej','/object/','PERMISSION_REJ','concat','isPermissionRej','_init','HmacSHA1','NoPadding','_doCryptBlock','LOGIN_URL_KEY','downloadEndpointUrl','LIVESHARE_TERMINATE','code','/resources','compute','call','_applyRemoteChangeset','_telemetryService','HEARTBEAT_TIMEOUT','getAllMembers','_imageSourceCache','_getSendChangesetTimeout','patch','padding','UNIVER_DOC','routeKey','_data','JOIN_ROOM_NOT_EXISTS','getActiveSheet','[CollaborationEntity]','UNDEFINED','has','sessionTicket','SOCKET_FAILED','conflict','parse','OpenSSL','_hasher','_getSessionTicket','_timeoutTimer','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_NON_SEQUENTIAL_REVISION','saveChangeset','_minBufferSize','_waitCount','interceptor','message$','UNKNOWN_CODE','SNAPSHOT_SERVER_URL_KEY','_onCombEvent','unitId','SHA1','keySize','_initRequestHeader','_transformStateCache','_unitInfo$','_compressMutationService','CHANGESET_REJ','UnitSnapshot','unitID','_ENC_XFORM_MODE','startsWith','createSocket','_resendTimer','HMAC','SEND_CHANGESET_TIMEOUT','mode','_collabSessionService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','entries','_type','CHANGESET_SHOULD_RETRY','connection\x20error','_transformRemoteChangesetByStateCache','getTypeOfUnitAdded$','_clearUndo','[OfflineState]:\x20received\x20acknowledgement.','_retryCount','_keySchedule','error','_onConnectionFailed','formatter','join','_process','localCacheService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRecvEvent','_transformService','_initMergeInterceptor','unsubscribe','deepClone','getLatestCsReqIdBySid','[UniverCollaborationClientPlugin]','PERMISSION_DENIED','getTypeOfUnitDisposed$','_transformStack','enableOfflineEditing','_HTTPService','getSheetBlock','_tryReconnect','onSendChangeset','refreshPermission','liveShareOperation','resourceIDs','prototype','[CollaborationSessionService]:\x20socket\x20error','csAckEvent','LEAVE','defineProperty','loadSheet','clone','list','updateMember','capture','crypto','getInterceptPoints','_initCloseConn','copyFileMeta','_createHandler','compose','LIVESHARE_OPERATION','iterations','unknown','words','splice','type','[SyncedState]:\x20received\x20rejection.','ivSize','getWorkbookSelections','c1Prime','getOwnPropertyDescriptor','getCurrentRevOfUnit','_instanceService','_commentUpdate$','open$','min','JOIN_ROOM_PERMISSION_DENIED','toggleOffline','dispose$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','session.room-permission-denied','origin','symbol','_updateStatus','toggleOnline','close','_startCollaboration','onLocalMutation','saveSheetBlock','/universer-api/stream/file/upload','auth.needGotoLoginAlert','[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.','_onLocalMutation','_updateLocalCache','getUnitId','newCsEvent','271125mGgnuO','_candidateSocket','length','_schedule','138NQDDtx','_onConnectionOpen','session.room-full','snapshot','eventID','_createHmacHelper','every','BlockCipherMode','EXCHANGE_SIGN_URL_SERVER_URL_KEY','/block/','$super','_configService','SerializableCipher','reqId'];_0x53cc=function(){return _0x58294c;};return _0x53cc();}const Pi=_0x2bc529(0x24c),wr=_0x2bc529(0x39d);let bt=class extends _0x5a5f96{constructor(_0x1074fe,_0x12e34a){var _0x3a2a19=_0x2bc529;super(),this[_0x3a2a19(0x197)]=_0x1074fe,this[_0x3a2a19(0x1e1)]=_0x12e34a,this[_0x3a2a19(0x18e)]();}[_0x2bc529(0x18e)](){var _0x2b7133=_0x2bc529;const _0x1e243c=this;this[_0x2b7133(0x2bd)](this[_0x2b7133(0x197)][_0x2b7133(0x325)]({'priority':0x3e7,'interceptor':_0x3c43bc({'isMatch'(_0x154cff){var _0x41b8a5=_0x2b7133,_0xa7d474;if(_0x154cff[_0x41b8a5(0xd8)]==='POST'&&((_0xa7d474=_0x154cff['requestParams'])!=null&&_0xa7d474[_0x41b8a5(0x32f)])){const {objectID:_0x564b68,objectType:_0x1c51fc}=_0x154cff[_0x41b8a5(0xdb)][_0x41b8a5(0x32f)]||{};if(!_0x564b68||_0x1c51fc===void 0x0)return!0x1;const _0x37cbf1=_0x1e243c[_0x41b8a5(0x369)]()+'/'+_0x1c51fc+_0x41b8a5(0x137)+_0x564b68+_0x41b8a5(0x11a);if(_0x154cff[_0x41b8a5(0xe8)]===_0x37cbf1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x27c5f2){var _0xa22b4e=_0x2b7133,_0x164f40;return(_0x164f40=_0x27c5f2[_0xa22b4e(0xdb)])==null?void 0x0:_0x164f40[_0xa22b4e(0x32f)];},'mergeParamsToRequest'(_0x1fe4dd,_0x59cb5f){var _0x2df11e=_0x2b7133;const _0x343ae3=_0x1e243c['_getAPIPrefixPath']()+_0x2df11e(0x33b),_0x3bf23c=_0x1fe4dd['reduce']((_0x2a6734,_0x1958a6)=>{var _0x441bae=_0x2df11e;const {unitID:_0x3760e0,objectID:_0x175a4e,objectType:_0x345807,actions:_0x27bf13}=_0x1958a6;return _0x2a6734[_0x3760e0]||(_0x2a6734[_0x3760e0]={}),_0x2a6734[_0x3760e0][_0x175a4e]||(_0x2a6734[_0x3760e0][_0x175a4e]={'objectID':_0x175a4e,'objectType':_0x345807,'actions':[]}),_0x2a6734[_0x3760e0][_0x175a4e]['actions'][_0x441bae(0x3ae)](..._0x27bf13),_0x2a6734;},{}),_0x49ff39=[];for(const _0x4c68c0 in _0x3bf23c)for(const _0xefd2ec in _0x3bf23c[_0x4c68c0]){const {actions:_0x50487b,objectType:_0x285280}=_0x3bf23c[_0x4c68c0][_0xefd2ec],_0x2d8b34=[...new Set(_0x50487b)];_0x49ff39['push']({'unitID':_0x4c68c0,'objectID':_0xefd2ec,'objectType':_0x285280,'actions':_0x2d8b34});}return new _0x5e272e(_0x2df11e(0x12d),_0x343ae3,{'headers':_0x59cb5f[_0x2df11e(0xd4)],'withCredentials':_0x59cb5f[_0x2df11e(0x219)],'responseType':_0x59cb5f['responseType'],'body':{'requests':_0x49ff39}});}},{'distributeResult'(_0x49eca3,_0x235569){var _0x231a06=_0x2b7133;const {objectActions:_0x2b0954}=_0x49eca3;return _0x235569[_0x231a06(0x2dc)](_0x25383e=>{var _0xe95a73=_0x231a06;const {unitID:_0xa50b20,objectID:_0x9f4b05,actions:_0x2715c8}=_0x25383e,_0x2f1827=_0x2b0954[_0xe95a73(0x31c)](_0x452482=>_0x452482[_0xe95a73(0x171)]===_0xa50b20&&_0x452482['objectID']===_0x9f4b05),_0x4a2514=_0x2715c8['map'](_0x1630fc=>_0x2f1827==null?void 0x0:_0x2f1827['actions'][_0xe95a73(0x31c)](_0x45eb08=>_0x45eb08['action']===_0x1630fc))[_0xe95a73(0x316)](_0x11982a=>!!_0x11982a);return{'config':_0x25383e,'result':{'actions':_0x4a2514,'error':_0x49eca3['error']}};});}})}));}[_0x2bc529(0x369)](){var _0x3b63c4=_0x2bc529,_0x3f24a9,_0x3a8e52;const _0x355ff0=this[_0x3b63c4(0x1e1)][_0x3b63c4(0x2db)](Pi),_0x19ae7a=this[_0x3b63c4(0x1e1)][_0x3b63c4(0x2db)](q);return(_0x3a8e52=(_0x3f24a9=_0x19ae7a==null?void 0x0:_0x19ae7a['authzUrl'])!=null?_0x3f24a9:_0x355ff0)!=null?_0x3a8e52:wr;}async['create'](_0x4c5138){var _0x211d61=_0x2bc529;const _0xe393c3=this[_0x211d61(0x369)]()+'/'+_0x4c5138[_0x211d61(0x388)]+'/object';return(await this[_0x211d61(0x197)][_0x211d61(0x202)](_0xe393c3,{'body':_0x4c5138}))['body']['objectID']||'';}async[_0x2bc529(0x1a5)](_0x3adea1){var _0x59dd8f=_0x2bc529;const _0x2e3bbd=this[_0x59dd8f(0x369)]()+_0x59dd8f(0x340);return(await this[_0x59dd8f(0x197)][_0x59dd8f(0x202)](_0x2e3bbd,{'body':_0x3adea1}))[_0x59dd8f(0x32f)][_0x59dd8f(0x20b)];}async[_0x2bc529(0x358)](_0x455740){var _0x36dbec=_0x2bc529;const _0x3a05a7=this[_0x36dbec(0x369)]()+'/'+_0x455740[_0x36dbec(0x388)]+_0x36dbec(0x137)+_0x455740[_0x36dbec(0xec)];await this[_0x36dbec(0x197)][_0x36dbec(0x2dd)](_0x3a05a7,{'body':_0x455740});}async[_0x2bc529(0x121)](_0x34ce2f){var _0x7f4847=_0x2bc529;const _0x4cbe98=this['_getAPIPrefixPath']()+'/'+_0x34ce2f[_0x7f4847(0x388)]+_0x7f4847(0x137)+_0x34ce2f['objectID']+_0x7f4847(0x11a);return(await this['_HTTPService']['post'](_0x4cbe98,{'body':_0x34ce2f}))['body'][_0x7f4847(0x2b6)];}async[_0x2bc529(0x264)](_0x4e27ea){var _0xc92243=_0x2bc529;const _0x4b98e5=this[_0xc92243(0x369)]()+_0xc92243(0x33b);return(await this['_HTTPService'][_0xc92243(0x202)](_0x4b98e5,{'body':{'requests':_0x4e27ea}}))[_0xc92243(0x32f)][_0xc92243(0x2d1)];}async[_0x2bc529(0x28e)](_0x351eeb){var _0x578439=_0x2bc529;const _0x16d6d3=this[_0x578439(0x369)]()+'/'+_0x351eeb[_0x578439(0x388)]+_0x578439(0x1f2),_0x1f7141=await this[_0x578439(0x197)]['post'](_0x16d6d3,{'body':_0x351eeb});return{'roles':_0x1f7141[_0x578439(0x32f)]['roles'],'actions':_0x1f7141[_0x578439(0x32f)]['actions']};}async[_0x2bc529(0x391)](_0x5e4b00){var _0xce6b3c=_0x2bc529;const _0x2ea226=this[_0xce6b3c(0x369)]()+'/collaborator';await this[_0xce6b3c(0x197)]['delete'](_0x2ea226,{'params':{'collaboratorID':_0x5e4b00['collaboratorID'],'objectID':_0x5e4b00[_0xce6b3c(0xec)],'unitID':_0x5e4b00[_0xce6b3c(0x171)]}});}async[_0x2bc529(0x3a7)](_0x384c2c){var _0xe9327=_0x2bc529;const _0x543272=this['_getAPIPrefixPath']()+_0xe9327(0x368);await this[_0xe9327(0x197)][_0xe9327(0x14c)](_0x543272,{'body':_0x384c2c});}async[_0x2bc529(0x2ed)](_0x5329d3){var _0x2316ef=_0x2bc529;const _0x1d350a=this[_0x2316ef(0x369)]()+_0x2316ef(0x368);await this['_HTTPService'][_0x2316ef(0x202)](_0x1d350a,{'body':_0x5329d3});}async[_0x2bc529(0x303)](_0x2ebb20){var _0x360702=_0x2bc529;const _0x32f011=this[_0x360702(0x369)]()+_0x360702(0x368);return(await this[_0x360702(0x197)][_0x360702(0x227)](_0x32f011,{'params':{'objectID':_0x2ebb20[_0x360702(0xec)],'unitID':_0x2ebb20[_0x360702(0x171)]}}))[_0x360702(0x32f)][_0x360702(0xfd)];}async[_0x2bc529(0x252)](_0x3e5698){var _0x3989e5=_0x2bc529;const _0x4720f2=this[_0x3989e5(0x369)]()+_0x3989e5(0x368);await this[_0x3989e5(0x197)][_0x3989e5(0x2dd)](_0x4720f2,{'body':_0x3e5698});}};bt=Pr([Xt(0x0,_0x168dfb(_0x2aebad)),Xt(0x1,_0x168dfb(_0x56e40a))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x246b82){var _0x297385=_0x2bc529;return _0x246b82&&_0x246b82['__esModule']&&Object[_0x297385(0x19e)][_0x297385(0x379)][_0x297385(0x145)](_0x246b82,_0x297385(0x248))?_0x246b82[_0x297385(0x248)]:_0x246b82;}var Ve={'exports':{}};function Ur(_0x192405){var _0x19d554=_0x2bc529;throw new Error(_0x19d554(0x24d)+_0x192405+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x2bc529(0xd1)],Zt;function ne(){var _0x21111d=_0x2bc529;return Zt||(Zt=0x1,function(_0x5c7d0f,_0x45d0ff){(function(_0x41ed7c,_0x3593d1){_0x5c7d0f['exports']=_0x3593d1();}(Ar,function(){var _0x14ba44=_0x14ba44||function(_0x537028,_0x585909){var _0x2d465f=_0xbb4d,_0xbf06b3;if(typeof window<'u'&&window[_0x2d465f(0x1a8)]&&(_0xbf06b3=window[_0x2d465f(0x1a8)]),typeof self<'u'&&self[_0x2d465f(0x1a8)]&&(_0xbf06b3=self[_0x2d465f(0x1a8)]),typeof globalThis<'u'&&globalThis[_0x2d465f(0x1a8)]&&(_0xbf06b3=globalThis[_0x2d465f(0x1a8)]),!_0xbf06b3&&typeof window<'u'&&window[_0x2d465f(0xd5)]&&(_0xbf06b3=window[_0x2d465f(0xd5)]),!_0xbf06b3&&typeof pt<'u'&&pt['crypto']&&(_0xbf06b3=pt[_0x2d465f(0x1a8)]),!_0xbf06b3&&typeof Ur=='function')try{_0xbf06b3=require('crypto');}catch{}var _0x2f23ee=function(){var _0x44aa8e=_0x2d465f;if(_0xbf06b3){if(typeof _0xbf06b3['getRandomValues']==_0x44aa8e(0x266))try{return _0xbf06b3[_0x44aa8e(0x25c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xbf06b3[_0x44aa8e(0x293)]==_0x44aa8e(0x266))try{return _0xbf06b3[_0x44aa8e(0x293)](0x4)[_0x44aa8e(0xd6)]();}catch{}}throw new Error(_0x44aa8e(0xc9));},_0x2bcf69=Object[_0x2d465f(0x12b)]||(function(){function _0x51a8ca(){}return function(_0x372b91){var _0x3ed345;return _0x51a8ca['prototype']=_0x372b91,_0x3ed345=new _0x51a8ca(),_0x51a8ca['prototype']=null,_0x3ed345;};}()),_0x50e9c9={},_0x1a958d=_0x50e9c9[_0x2d465f(0x38d)]={},_0x1567a0=_0x1a958d[_0x2d465f(0x35a)]=(function(){return{'extend':function(_0x448b02){var _0x35604d=_0xbb4d,_0x3b023d=_0x2bcf69(this);return _0x448b02&&_0x3b023d[_0x35604d(0x35f)](_0x448b02),(!_0x3b023d[_0x35604d(0x379)]('init')||this[_0x35604d(0x209)]===_0x3b023d[_0x35604d(0x209)])&&(_0x3b023d['init']=function(){var _0x39d60a=_0x35604d;_0x3b023d[_0x39d60a(0x1e0)][_0x39d60a(0x209)][_0x39d60a(0x32d)](this,arguments);}),_0x3b023d[_0x35604d(0x209)][_0x35604d(0x19e)]=_0x3b023d,_0x3b023d[_0x35604d(0x1e0)]=this,_0x3b023d;},'create':function(){var _0x4a9978=_0xbb4d,_0x98fd25=this[_0x4a9978(0xbe)]();return _0x98fd25[_0x4a9978(0x209)][_0x4a9978(0x32d)](_0x98fd25,arguments),_0x98fd25;},'init':function(){},'mixIn':function(_0x708f2c){var _0x197376=_0xbb4d;for(var _0x3ef8f2 in _0x708f2c)_0x708f2c[_0x197376(0x379)](_0x3ef8f2)&&(this[_0x3ef8f2]=_0x708f2c[_0x3ef8f2]);_0x708f2c[_0x197376(0x379)](_0x197376(0x261))&&(this['toString']=_0x708f2c[_0x197376(0x261)]);},'clone':function(){var _0xff0b1b=_0xbb4d;return this[_0xff0b1b(0x209)][_0xff0b1b(0x19e)][_0xff0b1b(0xbe)](this);}};}()),_0x53e828=_0x1a958d['WordArray']=_0x1567a0['extend']({'init':function(_0x1aa6e4,_0x5c5622){var _0x44006c=_0x2d465f;_0x1aa6e4=this['words']=_0x1aa6e4||[],_0x5c5622!=_0x585909?this['sigBytes']=_0x5c5622:this[_0x44006c(0x2e3)]=_0x1aa6e4[_0x44006c(0x1d4)]*0x4;},'toString':function(_0x204b92){var _0x38c6ac=_0x2d465f;return(_0x204b92||_0x179a80)[_0x38c6ac(0xe6)](this);},'concat':function(_0x44df3c){var _0x4ab75d=_0x2d465f,_0xb44295=this[_0x4ab75d(0x1b1)],_0x4c9767=_0x44df3c['words'],_0x17942c=this[_0x4ab75d(0x2e3)],_0xe74729=_0x44df3c[_0x4ab75d(0x2e3)];if(this['clamp'](),_0x17942c%0x4)for(var _0x3d5e25=0x0;_0x3d5e25<_0xe74729;_0x3d5e25++){var _0x1c889a=_0x4c9767[_0x3d5e25>>>0x2]>>>0x18-_0x3d5e25%0x4*0x8&0xff;_0xb44295[_0x17942c+_0x3d5e25>>>0x2]|=_0x1c889a<<0x18-(_0x17942c+_0x3d5e25)%0x4*0x8;}else{for(var _0x58a3fc=0x0;_0x58a3fc<_0xe74729;_0x58a3fc+=0x4)_0xb44295[_0x17942c+_0x58a3fc>>>0x2]=_0x4c9767[_0x58a3fc>>>0x2];}return this['sigBytes']+=_0xe74729,this;},'clamp':function(){var _0x3eb267=_0x2d465f,_0x255fc9=this['words'],_0x50cd32=this['sigBytes'];_0x255fc9[_0x50cd32>>>0x2]&=0xffffffff<<0x20-_0x50cd32%0x4*0x8,_0x255fc9[_0x3eb267(0x1d4)]=_0x537028['ceil'](_0x50cd32/0x4);},'clone':function(){var _0x197a1d=_0x2d465f,_0x43ea7d=_0x1567a0[_0x197a1d(0x1a4)][_0x197a1d(0x145)](this);return _0x43ea7d[_0x197a1d(0x1b1)]=this[_0x197a1d(0x1b1)]['slice'](0x0),_0x43ea7d;},'random':function(_0x3a0a2d){var _0x566d1b=_0x2d465f;for(var _0x1e2e4e=[],_0x1014b6=0x0;_0x1014b6<_0x3a0a2d;_0x1014b6+=0x4)_0x1e2e4e['push'](_0x2f23ee());return new _0x53e828[(_0x566d1b(0x209))](_0x1e2e4e,_0x3a0a2d);}}),_0x27cc34=_0x50e9c9['enc']={},_0x179a80=_0x27cc34['Hex']={'stringify':function(_0x4412c2){var _0x569d47=_0x2d465f;for(var _0x42d53b=_0x4412c2[_0x569d47(0x1b1)],_0x1ba486=_0x4412c2['sigBytes'],_0x37246f=[],_0x219c67=0x0;_0x219c67<_0x1ba486;_0x219c67++){var _0x5835d4=_0x42d53b[_0x219c67>>>0x2]>>>0x18-_0x219c67%0x4*0x8&0xff;_0x37246f['push']((_0x5835d4>>>0x4)[_0x569d47(0x261)](0x10)),_0x37246f['push']((_0x5835d4&0xf)['toString'](0x10));}return _0x37246f[_0x569d47(0x188)]('');},'parse':function(_0x3ec7a3){var _0x56e9ab=_0x2d465f;for(var _0x29406e=_0x3ec7a3['length'],_0x1a42c7=[],_0x43dd9e=0x0;_0x43dd9e<_0x29406e;_0x43dd9e+=0x2)_0x1a42c7[_0x43dd9e>>>0x3]|=parseInt(_0x3ec7a3['substr'](_0x43dd9e,0x2),0x10)<<0x18-_0x43dd9e%0x8*0x4;return new _0x53e828[(_0x56e9ab(0x209))](_0x1a42c7,_0x29406e/0x2);}},_0x4c159e=_0x27cc34[_0x2d465f(0x38b)]={'stringify':function(_0x4702aa){var _0xbd43c2=_0x2d465f;for(var _0x3ccb13=_0x4702aa[_0xbd43c2(0x1b1)],_0xfcbad9=_0x4702aa[_0xbd43c2(0x2e3)],_0x48f3db=[],_0x5bb72d=0x0;_0x5bb72d<_0xfcbad9;_0x5bb72d++){var _0x2c613e=_0x3ccb13[_0x5bb72d>>>0x2]>>>0x18-_0x5bb72d%0x4*0x8&0xff;_0x48f3db[_0xbd43c2(0x3ae)](String[_0xbd43c2(0x2fa)](_0x2c613e));}return _0x48f3db[_0xbd43c2(0x188)]('');},'parse':function(_0x476426){var _0x1ab00f=_0x2d465f;for(var _0x1b9cc8=_0x476426[_0x1ab00f(0x1d4)],_0x5dd877=[],_0x626e25=0x0;_0x626e25<_0x1b9cc8;_0x626e25++)_0x5dd877[_0x626e25>>>0x2]|=(_0x476426[_0x1ab00f(0x25a)](_0x626e25)&0xff)<<0x18-_0x626e25%0x4*0x8;return new _0x53e828['init'](_0x5dd877,_0x1b9cc8);}},_0x104b6c=_0x27cc34[_0x2d465f(0x352)]={'stringify':function(_0x2552aa){var _0x29ab3e=_0x2d465f;try{return decodeURIComponent(escape(_0x4c159e[_0x29ab3e(0xe6)](_0x2552aa)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x476cae){var _0x334301=_0x2d465f;return _0x4c159e[_0x334301(0x159)](unescape(encodeURIComponent(_0x476cae)));}},_0x62605c=_0x1a958d[_0x2d465f(0x370)]=_0x1567a0['extend']({'reset':function(){var _0x549c23=_0x2d465f;this['_data']=new _0x53e828['init'](),this[_0x549c23(0x2be)]=0x0;},'_append':function(_0x392bd6){var _0x5c0173=_0x2d465f;typeof _0x392bd6==_0x5c0173(0x30e)&&(_0x392bd6=_0x104b6c[_0x5c0173(0x159)](_0x392bd6)),this['_data']['concat'](_0x392bd6),this[_0x5c0173(0x2be)]+=_0x392bd6[_0x5c0173(0x2e3)];},'_process':function(_0x5a7911){var _0x4b57ae=_0x2d465f,_0x5e2fa7,_0x1319b0=this[_0x4b57ae(0x150)],_0xd3f859=_0x1319b0[_0x4b57ae(0x1b1)],_0x34f1c8=_0x1319b0['sigBytes'],_0x1cf861=this[_0x4b57ae(0xe1)],_0x329113=_0x1cf861*0x4,_0x428e1e=_0x34f1c8/_0x329113;_0x5a7911?_0x428e1e=_0x537028['ceil'](_0x428e1e):_0x428e1e=_0x537028['max']((_0x428e1e|0x0)-this[_0x4b57ae(0x161)],0x0);var _0x30cbb6=_0x428e1e*_0x1cf861,_0x372c7f=_0x537028[_0x4b57ae(0x1bd)](_0x30cbb6*0x4,_0x34f1c8);if(_0x30cbb6){for(var _0x2f32b4=0x0;_0x2f32b4<_0x30cbb6;_0x2f32b4+=_0x1cf861)this[_0x4b57ae(0x23d)](_0xd3f859,_0x2f32b4);_0x5e2fa7=_0xd3f859[_0x4b57ae(0x1b2)](0x0,_0x30cbb6),_0x1319b0['sigBytes']-=_0x372c7f;}return new _0x53e828['init'](_0x5e2fa7,_0x372c7f);},'clone':function(){var _0xf39721=_0x2d465f,_0x2babd5=_0x1567a0[_0xf39721(0x1a4)]['call'](this);return _0x2babd5[_0xf39721(0x150)]=this['_data'][_0xf39721(0x1a4)](),_0x2babd5;},'_minBufferSize':0x0});_0x1a958d['Hasher']=_0x62605c[_0x2d465f(0xbe)]({'cfg':_0x1567a0[_0x2d465f(0xbe)](),'init':function(_0x3d38cf){var _0x3f019b=_0x2d465f;this[_0x3f019b(0xbf)]=this[_0x3f019b(0xbf)][_0x3f019b(0xbe)](_0x3d38cf),this[_0x3f019b(0x2c3)]();},'reset':function(){var _0x11d8f9=_0x2d465f;_0x62605c[_0x11d8f9(0x2c3)]['call'](this),this[_0x11d8f9(0x3ac)]();},'update':function(_0x226730){var _0x40fc87=_0x2d465f;return this[_0x40fc87(0xed)](_0x226730),this[_0x40fc87(0x189)](),this;},'finalize':function(_0x775314){var _0x470cbf=_0x2d465f;_0x775314&&this[_0x470cbf(0xed)](_0x775314);var _0x48b2ba=this[_0x470cbf(0x335)]();return _0x48b2ba;},'blockSize':0x10,'_createHelper':function(_0x33a516){return function(_0x1d3d36,_0x1546ee){var _0x2fd33f=_0xbb4d;return new _0x33a516[(_0x2fd33f(0x209))](_0x1546ee)[_0x2fd33f(0x22d)](_0x1d3d36);};},'_createHmacHelper':function(_0x24f0de){return function(_0x5a8aff,_0x31fa9f){var _0x21403f=_0xbb4d;return new _0x225597['HMAC'][(_0x21403f(0x209))](_0x24f0de,_0x31fa9f)[_0x21403f(0x22d)](_0x5a8aff);};}});var _0x225597=_0x50e9c9[_0x2d465f(0x330)]={};return _0x50e9c9;}(Math);return _0x14ba44;}));}(Ge)),Ge[_0x21111d(0xd1)];}var We={'exports':{}},xr=We[_0x2bc529(0xd1)],Qt;function wi(){var _0x2c9d0a=_0x2bc529;return Qt||(Qt=0x1,function(_0x2fb113,_0x2b1180){(function(_0x5bc4b0,_0x5a72d4){_0x2fb113['exports']=_0x5a72d4(ne());}(xr,function(_0x5f431b){var _0x4f71c9=_0xbb4d;return(function(){var _0x3baa56=_0xbb4d,_0x32f944=_0x5f431b,_0x5e0b7a=_0x32f944[_0x3baa56(0x38d)],_0x5ddd42=_0x5e0b7a[_0x3baa56(0x125)],_0x557a15=_0x32f944[_0x3baa56(0x2f4)];_0x557a15['Base64']={'stringify':function(_0x11a889){var _0x44ec4a=_0x3baa56,_0x54a945=_0x11a889[_0x44ec4a(0x1b1)],_0x38d638=_0x11a889[_0x44ec4a(0x2e3)],_0x608cfc=this[_0x44ec4a(0x2ea)];_0x11a889[_0x44ec4a(0x22c)]();for(var _0x3fb0e4=[],_0x3c1aec=0x0;_0x3c1aec<_0x38d638;_0x3c1aec+=0x3)for(var _0x469c33=_0x54a945[_0x3c1aec>>>0x2]>>>0x18-_0x3c1aec%0x4*0x8&0xff,_0x576377=_0x54a945[_0x3c1aec+0x1>>>0x2]>>>0x18-(_0x3c1aec+0x1)%0x4*0x8&0xff,_0x2f8331=_0x54a945[_0x3c1aec+0x2>>>0x2]>>>0x18-(_0x3c1aec+0x2)%0x4*0x8&0xff,_0x44950d=_0x469c33<<0x10|_0x576377<<0x8|_0x2f8331,_0x2dd1e6=0x0;_0x2dd1e6<0x4&&_0x3c1aec+_0x2dd1e6*0.75<_0x38d638;_0x2dd1e6++)_0x3fb0e4['push'](_0x608cfc[_0x44ec4a(0x2c7)](_0x44950d>>>0x6*(0x3-_0x2dd1e6)&0x3f));var _0x4a28a7=_0x608cfc[_0x44ec4a(0x2c7)](0x40);if(_0x4a28a7){for(;_0x3fb0e4[_0x44ec4a(0x1d4)]%0x4;)_0x3fb0e4[_0x44ec4a(0x3ae)](_0x4a28a7);}return _0x3fb0e4[_0x44ec4a(0x188)]('');},'parse':function(_0x1ea8c2){var _0x44cfd5=_0x3baa56,_0x33102a=_0x1ea8c2['length'],_0x165303=this[_0x44cfd5(0x2ea)],_0xacd4c8=this[_0x44cfd5(0x284)];if(!_0xacd4c8){_0xacd4c8=this[_0x44cfd5(0x284)]=[];for(var _0x399000=0x0;_0x399000<_0x165303[_0x44cfd5(0x1d4)];_0x399000++)_0xacd4c8[_0x165303[_0x44cfd5(0x25a)](_0x399000)]=_0x399000;}var _0x254cec=_0x165303[_0x44cfd5(0x2c7)](0x40);if(_0x254cec){var _0x364224=_0x1ea8c2['indexOf'](_0x254cec);_0x364224!==-0x1&&(_0x33102a=_0x364224);}return _0x390a71(_0x1ea8c2,_0x33102a,_0xacd4c8);},'_map':_0x3baa56(0x2d5)};function _0x390a71(_0x2e5c31,_0x34aa12,_0x1ece37){var _0x2b2310=_0x3baa56;for(var _0x5ae8aa=[],_0xd6fc98=0x0,_0x25332e=0x0;_0x25332e<_0x34aa12;_0x25332e++)if(_0x25332e%0x4){var _0x43e75e=_0x1ece37[_0x2e5c31['charCodeAt'](_0x25332e-0x1)]<<_0x25332e%0x4*0x2,_0x8d25bf=_0x1ece37[_0x2e5c31[_0x2b2310(0x25a)](_0x25332e)]>>>0x6-_0x25332e%0x4*0x2,_0x6ca6a9=_0x43e75e|_0x8d25bf;_0x5ae8aa[_0xd6fc98>>>0x2]|=_0x6ca6a9<<0x18-_0xd6fc98%0x4*0x8,_0xd6fc98++;}return _0x5ddd42[_0x2b2310(0x12b)](_0x5ae8aa,_0xd6fc98);}}()),_0x5f431b[_0x4f71c9(0x2f4)][_0x4f71c9(0x280)];}));}(We)),We[_0x2c9d0a(0xd1)];}var Ke={'exports':{}},Lr=Ke[_0x2bc529(0xd1)],ei;function Mr(){var _0x1d49b2=_0x2bc529;return ei||(ei=0x1,function(_0x310907,_0x33536b){(function(_0x5e7c53,_0xc80b6c){var _0x5e25f2=_0xbb4d;_0x310907[_0x5e25f2(0xd1)]=_0xc80b6c(ne());}(Lr,function(_0xc1ad97){var _0x9a5abd=_0xbb4d;return function(_0x25194f){var _0xcc0f83=_0xbb4d,_0x3525a2=_0xc1ad97,_0x552b83=_0x3525a2['lib'],_0x28c873=_0x552b83[_0xcc0f83(0x125)],_0x5d3c0c=_0x552b83['Hasher'],_0x34727d=_0x3525a2['algo'],_0x8a97f2=[];(function(){var _0x355c99=_0xcc0f83;for(var _0x38de50=0x0;_0x38de50<0x40;_0x38de50++)_0x8a97f2[_0x38de50]=_0x25194f[_0x355c99(0x359)](_0x25194f[_0x355c99(0x276)](_0x38de50+0x1))*0x100000000|0x0;}());var _0x1a783b=_0x34727d['MD5']=_0x5d3c0c[_0xcc0f83(0xbe)]({'_doReset':function(){var _0x2eb838=_0xcc0f83;this['_hash']=new _0x28c873[(_0x2eb838(0x209))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x154cd7,_0x3487d6){var _0x228cfe=_0xcc0f83;for(var _0x208dc0=0x0;_0x208dc0<0x10;_0x208dc0++){var _0x5175b4=_0x3487d6+_0x208dc0,_0x3d8bd3=_0x154cd7[_0x5175b4];_0x154cd7[_0x5175b4]=(_0x3d8bd3<<0x8|_0x3d8bd3>>>0x18)&0xff00ff|(_0x3d8bd3<<0x18|_0x3d8bd3>>>0x8)&0xff00ff00;}var _0x52a1b2=this[_0x228cfe(0x1ff)]['words'],_0x28fed8=_0x154cd7[_0x3487d6+0x0],_0x3e2660=_0x154cd7[_0x3487d6+0x1],_0x1fb171=_0x154cd7[_0x3487d6+0x2],_0x4c1eb5=_0x154cd7[_0x3487d6+0x3],_0x3f7993=_0x154cd7[_0x3487d6+0x4],_0x38d128=_0x154cd7[_0x3487d6+0x5],_0x1cd05d=_0x154cd7[_0x3487d6+0x6],_0x2b0124=_0x154cd7[_0x3487d6+0x7],_0x4c9efb=_0x154cd7[_0x3487d6+0x8],_0x45711b=_0x154cd7[_0x3487d6+0x9],_0x535afc=_0x154cd7[_0x3487d6+0xa],_0x22b86e=_0x154cd7[_0x3487d6+0xb],_0xa7cbdb=_0x154cd7[_0x3487d6+0xc],_0x1843c0=_0x154cd7[_0x3487d6+0xd],_0x1a2ca1=_0x154cd7[_0x3487d6+0xe],_0x59ffa7=_0x154cd7[_0x3487d6+0xf],_0x54ad74=_0x52a1b2[0x0],_0x535358=_0x52a1b2[0x1],_0xf85fed=_0x52a1b2[0x2],_0x4a3550=_0x52a1b2[0x3];_0x54ad74=_0x1389c0(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x28fed8,0x7,_0x8a97f2[0x0]),_0x4a3550=_0x1389c0(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x3e2660,0xc,_0x8a97f2[0x1]),_0xf85fed=_0x1389c0(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x1fb171,0x11,_0x8a97f2[0x2]),_0x535358=_0x1389c0(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x4c1eb5,0x16,_0x8a97f2[0x3]),_0x54ad74=_0x1389c0(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x3f7993,0x7,_0x8a97f2[0x4]),_0x4a3550=_0x1389c0(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x38d128,0xc,_0x8a97f2[0x5]),_0xf85fed=_0x1389c0(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x1cd05d,0x11,_0x8a97f2[0x6]),_0x535358=_0x1389c0(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x2b0124,0x16,_0x8a97f2[0x7]),_0x54ad74=_0x1389c0(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x4c9efb,0x7,_0x8a97f2[0x8]),_0x4a3550=_0x1389c0(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x45711b,0xc,_0x8a97f2[0x9]),_0xf85fed=_0x1389c0(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x535afc,0x11,_0x8a97f2[0xa]),_0x535358=_0x1389c0(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x22b86e,0x16,_0x8a97f2[0xb]),_0x54ad74=_0x1389c0(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0xa7cbdb,0x7,_0x8a97f2[0xc]),_0x4a3550=_0x1389c0(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x1843c0,0xc,_0x8a97f2[0xd]),_0xf85fed=_0x1389c0(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x1a2ca1,0x11,_0x8a97f2[0xe]),_0x535358=_0x1389c0(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x59ffa7,0x16,_0x8a97f2[0xf]),_0x54ad74=_0x209d67(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x3e2660,0x5,_0x8a97f2[0x10]),_0x4a3550=_0x209d67(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x1cd05d,0x9,_0x8a97f2[0x11]),_0xf85fed=_0x209d67(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x22b86e,0xe,_0x8a97f2[0x12]),_0x535358=_0x209d67(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x28fed8,0x14,_0x8a97f2[0x13]),_0x54ad74=_0x209d67(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x38d128,0x5,_0x8a97f2[0x14]),_0x4a3550=_0x209d67(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x535afc,0x9,_0x8a97f2[0x15]),_0xf85fed=_0x209d67(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x59ffa7,0xe,_0x8a97f2[0x16]),_0x535358=_0x209d67(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x3f7993,0x14,_0x8a97f2[0x17]),_0x54ad74=_0x209d67(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x45711b,0x5,_0x8a97f2[0x18]),_0x4a3550=_0x209d67(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x1a2ca1,0x9,_0x8a97f2[0x19]),_0xf85fed=_0x209d67(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x4c1eb5,0xe,_0x8a97f2[0x1a]),_0x535358=_0x209d67(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x4c9efb,0x14,_0x8a97f2[0x1b]),_0x54ad74=_0x209d67(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x1843c0,0x5,_0x8a97f2[0x1c]),_0x4a3550=_0x209d67(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x1fb171,0x9,_0x8a97f2[0x1d]),_0xf85fed=_0x209d67(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x2b0124,0xe,_0x8a97f2[0x1e]),_0x535358=_0x209d67(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0xa7cbdb,0x14,_0x8a97f2[0x1f]),_0x54ad74=_0x5f7864(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x38d128,0x4,_0x8a97f2[0x20]),_0x4a3550=_0x5f7864(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x4c9efb,0xb,_0x8a97f2[0x21]),_0xf85fed=_0x5f7864(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x22b86e,0x10,_0x8a97f2[0x22]),_0x535358=_0x5f7864(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x1a2ca1,0x17,_0x8a97f2[0x23]),_0x54ad74=_0x5f7864(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x3e2660,0x4,_0x8a97f2[0x24]),_0x4a3550=_0x5f7864(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x3f7993,0xb,_0x8a97f2[0x25]),_0xf85fed=_0x5f7864(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x2b0124,0x10,_0x8a97f2[0x26]),_0x535358=_0x5f7864(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x535afc,0x17,_0x8a97f2[0x27]),_0x54ad74=_0x5f7864(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x1843c0,0x4,_0x8a97f2[0x28]),_0x4a3550=_0x5f7864(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x28fed8,0xb,_0x8a97f2[0x29]),_0xf85fed=_0x5f7864(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x4c1eb5,0x10,_0x8a97f2[0x2a]),_0x535358=_0x5f7864(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x1cd05d,0x17,_0x8a97f2[0x2b]),_0x54ad74=_0x5f7864(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x45711b,0x4,_0x8a97f2[0x2c]),_0x4a3550=_0x5f7864(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0xa7cbdb,0xb,_0x8a97f2[0x2d]),_0xf85fed=_0x5f7864(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x59ffa7,0x10,_0x8a97f2[0x2e]),_0x535358=_0x5f7864(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x1fb171,0x17,_0x8a97f2[0x2f]),_0x54ad74=_0x5b928e(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x28fed8,0x6,_0x8a97f2[0x30]),_0x4a3550=_0x5b928e(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x2b0124,0xa,_0x8a97f2[0x31]),_0xf85fed=_0x5b928e(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x1a2ca1,0xf,_0x8a97f2[0x32]),_0x535358=_0x5b928e(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x38d128,0x15,_0x8a97f2[0x33]),_0x54ad74=_0x5b928e(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0xa7cbdb,0x6,_0x8a97f2[0x34]),_0x4a3550=_0x5b928e(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x4c1eb5,0xa,_0x8a97f2[0x35]),_0xf85fed=_0x5b928e(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x535afc,0xf,_0x8a97f2[0x36]),_0x535358=_0x5b928e(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x3e2660,0x15,_0x8a97f2[0x37]),_0x54ad74=_0x5b928e(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x4c9efb,0x6,_0x8a97f2[0x38]),_0x4a3550=_0x5b928e(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x59ffa7,0xa,_0x8a97f2[0x39]),_0xf85fed=_0x5b928e(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x1cd05d,0xf,_0x8a97f2[0x3a]),_0x535358=_0x5b928e(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x1843c0,0x15,_0x8a97f2[0x3b]),_0x54ad74=_0x5b928e(_0x54ad74,_0x535358,_0xf85fed,_0x4a3550,_0x3f7993,0x6,_0x8a97f2[0x3c]),_0x4a3550=_0x5b928e(_0x4a3550,_0x54ad74,_0x535358,_0xf85fed,_0x22b86e,0xa,_0x8a97f2[0x3d]),_0xf85fed=_0x5b928e(_0xf85fed,_0x4a3550,_0x54ad74,_0x535358,_0x1fb171,0xf,_0x8a97f2[0x3e]),_0x535358=_0x5b928e(_0x535358,_0xf85fed,_0x4a3550,_0x54ad74,_0x45711b,0x15,_0x8a97f2[0x3f]),_0x52a1b2[0x0]=_0x52a1b2[0x0]+_0x54ad74|0x0,_0x52a1b2[0x1]=_0x52a1b2[0x1]+_0x535358|0x0,_0x52a1b2[0x2]=_0x52a1b2[0x2]+_0xf85fed|0x0,_0x52a1b2[0x3]=_0x52a1b2[0x3]+_0x4a3550|0x0;},'_doFinalize':function(){var _0xd6b05f=_0xcc0f83,_0x3c1b96=this[_0xd6b05f(0x150)],_0x13e2f8=_0x3c1b96[_0xd6b05f(0x1b1)],_0x5543b5=this[_0xd6b05f(0x2be)]*0x8,_0x5273a8=_0x3c1b96[_0xd6b05f(0x2e3)]*0x8;_0x13e2f8[_0x5273a8>>>0x5]|=0x80<<0x18-_0x5273a8%0x20;var _0x21d953=_0x25194f[_0xd6b05f(0x286)](_0x5543b5/0x100000000),_0x4a712f=_0x5543b5;_0x13e2f8[(_0x5273a8+0x40>>>0x9<<0x4)+0xf]=(_0x21d953<<0x8|_0x21d953>>>0x18)&0xff00ff|(_0x21d953<<0x18|_0x21d953>>>0x8)&0xff00ff00,_0x13e2f8[(_0x5273a8+0x40>>>0x9<<0x4)+0xe]=(_0x4a712f<<0x8|_0x4a712f>>>0x18)&0xff00ff|(_0x4a712f<<0x18|_0x4a712f>>>0x8)&0xff00ff00,_0x3c1b96['sigBytes']=(_0x13e2f8[_0xd6b05f(0x1d4)]+0x1)*0x4,this[_0xd6b05f(0x189)]();for(var _0x329681=this[_0xd6b05f(0x1ff)],_0x3f9ce4=_0x329681[_0xd6b05f(0x1b1)],_0x3c9867=0x0;_0x3c9867<0x4;_0x3c9867++){var _0x43adbc=_0x3f9ce4[_0x3c9867];_0x3f9ce4[_0x3c9867]=(_0x43adbc<<0x8|_0x43adbc>>>0x18)&0xff00ff|(_0x43adbc<<0x18|_0x43adbc>>>0x8)&0xff00ff00;}return _0x329681;},'clone':function(){var _0x2b9fed=_0xcc0f83,_0x1ea523=_0x5d3c0c['clone'][_0x2b9fed(0x145)](this);return _0x1ea523[_0x2b9fed(0x1ff)]=this[_0x2b9fed(0x1ff)][_0x2b9fed(0x1a4)](),_0x1ea523;}});function _0x1389c0(_0xdb29f2,_0x57cc82,_0x272013,_0x241ed7,_0x36ab9f,_0xf27c50,_0x546a3d){var _0x49efbd=_0xdb29f2+(_0x57cc82&_0x272013|~_0x57cc82&_0x241ed7)+_0x36ab9f+_0x546a3d;return(_0x49efbd<<_0xf27c50|_0x49efbd>>>0x20-_0xf27c50)+_0x57cc82;}function _0x209d67(_0x542911,_0x390513,_0x55adeb,_0x567dc4,_0x50d7fe,_0x4c17c8,_0x1b0c2b){var _0x3b39c8=_0x542911+(_0x390513&_0x567dc4|_0x55adeb&~_0x567dc4)+_0x50d7fe+_0x1b0c2b;return(_0x3b39c8<<_0x4c17c8|_0x3b39c8>>>0x20-_0x4c17c8)+_0x390513;}function _0x5f7864(_0x1272dd,_0x49b0d6,_0x319eea,_0x3e1177,_0x3985c0,_0x15a4d2,_0x421623){var _0x2861d2=_0x1272dd+(_0x49b0d6^_0x319eea^_0x3e1177)+_0x3985c0+_0x421623;return(_0x2861d2<<_0x15a4d2|_0x2861d2>>>0x20-_0x15a4d2)+_0x49b0d6;}function _0x5b928e(_0x1631f2,_0x4a29e0,_0x750bb2,_0x507ec7,_0x4376d9,_0x1bd65a,_0x18f842){var _0x554477=_0x1631f2+(_0x750bb2^(_0x4a29e0|~_0x507ec7))+_0x4376d9+_0x18f842;return(_0x554477<<_0x1bd65a|_0x554477>>>0x20-_0x1bd65a)+_0x4a29e0;}_0x3525a2[_0xcc0f83(0x34b)]=_0x5d3c0c[_0xcc0f83(0x101)](_0x1a783b),_0x3525a2[_0xcc0f83(0x3aa)]=_0x5d3c0c[_0xcc0f83(0x1db)](_0x1a783b);}(Math),_0xc1ad97[_0x9a5abd(0x34b)];}));}(Ke)),Ke[_0x1d49b2(0xd1)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){return ti||(ti=0x1,function(_0x3f14a6,_0x46eaef){(function(_0x43645c,_0x24cca7){_0x3f14a6['exports']=_0x24cca7(ne());}($r,function(_0x4d6798){return(function(){var _0x258ced=_0xbb4d,_0x55b685=_0x4d6798,_0x1034be=_0x55b685[_0x258ced(0x38d)],_0x13c8e8=_0x1034be[_0x258ced(0x125)],_0x25f38c=_0x1034be[_0x258ced(0x23e)],_0x2a3980=_0x55b685[_0x258ced(0x330)],_0x4c65d1=[],_0x258dda=_0x2a3980[_0x258ced(0x169)]=_0x25f38c[_0x258ced(0xbe)]({'_doReset':function(){var _0x1a229c=_0x258ced;this[_0x1a229c(0x1ff)]=new _0x13c8e8[(_0x1a229c(0x209))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x469d86,_0x251e67){var _0x231b54=_0x258ced;for(var _0x4a01eb=this[_0x231b54(0x1ff)]['words'],_0x23d210=_0x4a01eb[0x0],_0x5b32e1=_0x4a01eb[0x1],_0xb2d5b2=_0x4a01eb[0x2],_0x13f60b=_0x4a01eb[0x3],_0x2058db=_0x4a01eb[0x4],_0x46bfff=0x0;_0x46bfff<0x50;_0x46bfff++){if(_0x46bfff<0x10)_0x4c65d1[_0x46bfff]=_0x469d86[_0x251e67+_0x46bfff]|0x0;else{var _0x55082c=_0x4c65d1[_0x46bfff-0x3]^_0x4c65d1[_0x46bfff-0x8]^_0x4c65d1[_0x46bfff-0xe]^_0x4c65d1[_0x46bfff-0x10];_0x4c65d1[_0x46bfff]=_0x55082c<<0x1|_0x55082c>>>0x1f;}var _0x46d774=(_0x23d210<<0x5|_0x23d210>>>0x1b)+_0x2058db+_0x4c65d1[_0x46bfff];_0x46bfff<0x14?_0x46d774+=(_0x5b32e1&_0xb2d5b2|~_0x5b32e1&_0x13f60b)+0x5a827999:_0x46bfff<0x28?_0x46d774+=(_0x5b32e1^_0xb2d5b2^_0x13f60b)+0x6ed9eba1:_0x46bfff<0x3c?_0x46d774+=(_0x5b32e1&_0xb2d5b2|_0x5b32e1&_0x13f60b|_0xb2d5b2&_0x13f60b)-0x70e44324:_0x46d774+=(_0x5b32e1^_0xb2d5b2^_0x13f60b)-0x359d3e2a,_0x2058db=_0x13f60b,_0x13f60b=_0xb2d5b2,_0xb2d5b2=_0x5b32e1<<0x1e|_0x5b32e1>>>0x2,_0x5b32e1=_0x23d210,_0x23d210=_0x46d774;}_0x4a01eb[0x0]=_0x4a01eb[0x0]+_0x23d210|0x0,_0x4a01eb[0x1]=_0x4a01eb[0x1]+_0x5b32e1|0x0,_0x4a01eb[0x2]=_0x4a01eb[0x2]+_0xb2d5b2|0x0,_0x4a01eb[0x3]=_0x4a01eb[0x3]+_0x13f60b|0x0,_0x4a01eb[0x4]=_0x4a01eb[0x4]+_0x2058db|0x0;},'_doFinalize':function(){var _0x256093=_0x258ced,_0x45368b=this[_0x256093(0x150)],_0x546ffc=_0x45368b['words'],_0x5af3b4=this[_0x256093(0x2be)]*0x8,_0x4beb96=_0x45368b[_0x256093(0x2e3)]*0x8;return _0x546ffc[_0x4beb96>>>0x5]|=0x80<<0x18-_0x4beb96%0x20,_0x546ffc[(_0x4beb96+0x40>>>0x9<<0x4)+0xe]=Math[_0x256093(0x286)](_0x5af3b4/0x100000000),_0x546ffc[(_0x4beb96+0x40>>>0x9<<0x4)+0xf]=_0x5af3b4,_0x45368b[_0x256093(0x2e3)]=_0x546ffc[_0x256093(0x1d4)]*0x4,this['_process'](),this[_0x256093(0x1ff)];},'clone':function(){var _0x57a3f7=_0x258ced,_0x3e9179=_0x25f38c[_0x57a3f7(0x1a4)][_0x57a3f7(0x145)](this);return _0x3e9179[_0x57a3f7(0x1ff)]=this[_0x57a3f7(0x1ff)][_0x57a3f7(0x1a4)](),_0x3e9179;}});_0x55b685[_0x258ced(0x169)]=_0x25f38c[_0x258ced(0x101)](_0x258dda),_0x55b685[_0x258ced(0x13c)]=_0x25f38c[_0x258ced(0x1db)](_0x258dda);}()),_0x4d6798['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x2bc529(0xd1)],ii;function jr(){return ii||(ii=0x1,function(_0x1dfce8,_0x3b948e){(function(_0x4f2a10,_0x510bd3){_0x1dfce8['exports']=_0x510bd3(ne());}(kr,function(_0xc9ee67){(function(){var _0x19132e=_0xbb4d,_0x513769=_0xc9ee67,_0x4f17ec=_0x513769[_0x19132e(0x38d)],_0x23cbae=_0x4f17ec[_0x19132e(0x35a)],_0x6b2e37=_0x513769[_0x19132e(0x2f4)],_0x1bf9d0=_0x6b2e37[_0x19132e(0x352)],_0x51e30e=_0x513769[_0x19132e(0x330)];_0x51e30e[_0x19132e(0x176)]=_0x23cbae[_0x19132e(0xbe)]({'init':function(_0x579731,_0x333467){var _0x39f1f7=_0x19132e;_0x579731=this[_0x39f1f7(0x15b)]=new _0x579731[(_0x39f1f7(0x209))](),typeof _0x333467=='string'&&(_0x333467=_0x1bf9d0[_0x39f1f7(0x159)](_0x333467));var _0x537d74=_0x579731[_0x39f1f7(0xe1)],_0x403ee4=_0x537d74*0x4;_0x333467[_0x39f1f7(0x2e3)]>_0x403ee4&&(_0x333467=_0x579731['finalize'](_0x333467)),_0x333467[_0x39f1f7(0x22c)]();for(var _0x4defdb=this[_0x39f1f7(0x123)]=_0x333467[_0x39f1f7(0x1a4)](),_0x529842=this['_iKey']=_0x333467[_0x39f1f7(0x1a4)](),_0x35ea81=_0x4defdb[_0x39f1f7(0x1b1)],_0x14e22e=_0x529842[_0x39f1f7(0x1b1)],_0x316d9b=0x0;_0x316d9b<_0x537d74;_0x316d9b++)_0x35ea81[_0x316d9b]^=0x5c5c5c5c,_0x14e22e[_0x316d9b]^=0x36363636;_0x4defdb[_0x39f1f7(0x2e3)]=_0x529842['sigBytes']=_0x403ee4,this[_0x39f1f7(0x2c3)]();},'reset':function(){var _0x14ec15=_0x19132e,_0x43b00d=this[_0x14ec15(0x15b)];_0x43b00d[_0x14ec15(0x2c3)](),_0x43b00d[_0x14ec15(0x358)](this['_iKey']);},'update':function(_0x538f88){var _0x53e76a=_0x19132e;return this['_hasher'][_0x53e76a(0x358)](_0x538f88),this;},'finalize':function(_0x139b4e){var _0x17feb0=_0x19132e,_0x407938=this[_0x17feb0(0x15b)],_0x57d1e1=_0x407938[_0x17feb0(0x22d)](_0x139b4e);_0x407938[_0x17feb0(0x2c3)]();var _0x49fb78=_0x407938[_0x17feb0(0x22d)](this['_oKey'][_0x17feb0(0x1a4)]()[_0x17feb0(0x139)](_0x57d1e1));return _0x49fb78;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x2bc529(0xd1)],ni;function Ui(){var _0xb12be=_0x2bc529;return ni||(ni=0x1,function(_0x2cf7e1,_0x1d969e){(function(_0xac6899,_0x2c2cbe,_0x5ad92d){_0x2cf7e1['exports']=_0x2c2cbe(ne(),Hr(),jr());}(Br,function(_0x4ef586){var _0x2ca3e1=_0xbb4d;return(function(){var _0x1bfa3f=_0xbb4d,_0x274101=_0x4ef586,_0x42b494=_0x274101[_0x1bfa3f(0x38d)],_0x11f271=_0x42b494['Base'],_0x2fdf22=_0x42b494['WordArray'],_0x3c3c0a=_0x274101[_0x1bfa3f(0x330)],_0x1cf305=_0x3c3c0a['MD5'],_0x160cdf=_0x3c3c0a[_0x1bfa3f(0x272)]=_0x11f271[_0x1bfa3f(0xbe)]({'cfg':_0x11f271[_0x1bfa3f(0xbe)]({'keySize':0x80/0x20,'hasher':_0x1cf305,'iterations':0x1}),'init':function(_0x572832){var _0x13c846=_0x1bfa3f;this[_0x13c846(0xbf)]=this[_0x13c846(0xbf)][_0x13c846(0xbe)](_0x572832);},'compute':function(_0x4adf08,_0x427dfb){var _0x84ad07=_0x1bfa3f;for(var _0x25c9ca,_0x46873f=this[_0x84ad07(0xbf)],_0xde7ccc=_0x46873f['hasher'][_0x84ad07(0x12b)](),_0x40bc57=_0x2fdf22[_0x84ad07(0x12b)](),_0x2ff38e=_0x40bc57[_0x84ad07(0x1b1)],_0x123f94=_0x46873f['keySize'],_0x411664=_0x46873f[_0x84ad07(0x1af)];_0x2ff38e[_0x84ad07(0x1d4)]<_0x123f94;){_0x25c9ca&&_0xde7ccc[_0x84ad07(0x358)](_0x25c9ca),_0x25c9ca=_0xde7ccc['update'](_0x4adf08)[_0x84ad07(0x22d)](_0x427dfb),_0xde7ccc[_0x84ad07(0x2c3)]();for(var _0x2da61f=0x1;_0x2da61f<_0x411664;_0x2da61f++)_0x25c9ca=_0xde7ccc[_0x84ad07(0x22d)](_0x25c9ca),_0xde7ccc['reset']();_0x40bc57[_0x84ad07(0x139)](_0x25c9ca);}return _0x40bc57[_0x84ad07(0x2e3)]=_0x123f94*0x4,_0x40bc57;}});_0x274101['EvpKDF']=function(_0x111b6b,_0x297320,_0x4cc300){var _0x179fdf=_0x1bfa3f;return _0x160cdf[_0x179fdf(0x12b)](_0x4cc300)[_0x179fdf(0x144)](_0x111b6b,_0x297320);};}()),_0x4ef586[_0x2ca3e1(0x272)];}));}(Ye)),Ye[_0xb12be(0xd1)];}var Je={'exports':{}},Fr=Je[_0x2bc529(0xd1)],ri;function Ai(){var _0x1b5f78=_0x2bc529;return ri||(ri=0x1,function(_0xc4cbc6,_0x4e23b5){(function(_0x1e8b87,_0x2a2b84,_0x405206){var _0x9109d2=_0xbb4d;_0xc4cbc6[_0x9109d2(0xd1)]=_0x2a2b84(ne(),Ui());}(Fr,function(_0xc7e099){var _0x36f13e=_0xbb4d;_0xc7e099[_0x36f13e(0x38d)][_0x36f13e(0x200)]||function(_0x2e1955){var _0x4ba5f2=_0x36f13e,_0x11629c=_0xc7e099,_0x4e754b=_0x11629c[_0x4ba5f2(0x38d)],_0x132e02=_0x4e754b['Base'],_0x575f64=_0x4e754b[_0x4ba5f2(0x125)],_0x34bf72=_0x4e754b[_0x4ba5f2(0x370)],_0x60f9c5=_0x11629c[_0x4ba5f2(0x2f4)];_0x60f9c5['Utf8'];var _0x1218d2=_0x60f9c5[_0x4ba5f2(0x280)],_0x1a4855=_0x11629c['algo'],_0x27d377=_0x1a4855[_0x4ba5f2(0x272)],_0x1258f1=_0x4e754b[_0x4ba5f2(0x200)]=_0x34bf72['extend']({'cfg':_0x132e02[_0x4ba5f2(0xbe)](),'createEncryptor':function(_0x3287b0,_0x2ffe12){var _0x406412=_0x4ba5f2;return this[_0x406412(0x12b)](this[_0x406412(0x172)],_0x3287b0,_0x2ffe12);},'createDecryptor':function(_0x4f721d,_0xd603eb){return this['create'](this['_DEC_XFORM_MODE'],_0x4f721d,_0xd603eb);},'init':function(_0x28b8f8,_0x15110b,_0x129fa3){var _0x5c5932=_0x4ba5f2;this[_0x5c5932(0xbf)]=this[_0x5c5932(0xbf)][_0x5c5932(0xbe)](_0x129fa3),this[_0x5c5932(0x1fa)]=_0x28b8f8,this[_0x5c5932(0x22f)]=_0x15110b,this[_0x5c5932(0x2c3)]();},'reset':function(){var _0x122554=_0x4ba5f2;_0x34bf72['reset']['call'](this),this[_0x122554(0x3ac)]();},'process':function(_0x416571){var _0xf049df=_0x4ba5f2;return this[_0xf049df(0xed)](_0x416571),this[_0xf049df(0x189)]();},'finalize':function(_0x30fd4c){var _0x491581=_0x4ba5f2;_0x30fd4c&&this[_0x491581(0xed)](_0x30fd4c);var _0xb20f97=this['_doFinalize']();return _0xb20f97;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x214f33(_0x4e1516){var _0x11d62f=_0xbb4d;return typeof _0x4e1516==_0x11d62f(0x30e)?_0x3f174b:_0x4e96a0;}return function(_0x24957c){return{'encrypt':function(_0x4d8b99,_0x4c0098,_0x38c69d){var _0x354eaa=_0xbb4d;return _0x214f33(_0x4c0098)[_0x354eaa(0x21b)](_0x24957c,_0x4d8b99,_0x4c0098,_0x38c69d);},'decrypt':function(_0x55ca1b,_0xfe833a,_0x52465d){return _0x214f33(_0xfe833a)['decrypt'](_0x24957c,_0x55ca1b,_0xfe833a,_0x52465d);}};};}())});_0x4e754b['StreamCipher']=_0x1258f1['extend']({'_doFinalize':function(){var _0x5f219a=this['_process'](!0x0);return _0x5f219a;},'blockSize':0x1});var _0x2c6dd9=_0x11629c['mode']={},_0x144fa5=_0x4e754b[_0x4ba5f2(0x1dd)]=_0x132e02['extend']({'createEncryptor':function(_0xcdd1ff,_0x1ff126){var _0x139db3=_0x4ba5f2;return this[_0x139db3(0xe0)][_0x139db3(0x12b)](_0xcdd1ff,_0x1ff126);},'createDecryptor':function(_0x426570,_0x5c08c7){var _0x58e0f5=_0x4ba5f2;return this['Decryptor'][_0x58e0f5(0x12b)](_0x426570,_0x5c08c7);},'init':function(_0x53b521,_0x53d3ee){var _0x709cc2=_0x4ba5f2;this[_0x709cc2(0x2ac)]=_0x53b521,this[_0x709cc2(0x295)]=_0x53d3ee;}}),_0x40be94=_0x2c6dd9[_0x4ba5f2(0x36d)]=(function(){var _0x376893=_0x4ba5f2,_0x2af7f2=_0x144fa5[_0x376893(0xbe)]();_0x2af7f2[_0x376893(0xe0)]=_0x2af7f2['extend']({'processBlock':function(_0x3dd940,_0x3a139f){var _0xb5e55=_0x376893,_0x4b8006=this[_0xb5e55(0x2ac)],_0x3baa63=_0x4b8006['blockSize'];_0x1023f6[_0xb5e55(0x145)](this,_0x3dd940,_0x3a139f,_0x3baa63),_0x4b8006['encryptBlock'](_0x3dd940,_0x3a139f),this[_0xb5e55(0x28b)]=_0x3dd940[_0xb5e55(0x2b2)](_0x3a139f,_0x3a139f+_0x3baa63);}}),_0x2af7f2[_0x376893(0x297)]=_0x2af7f2[_0x376893(0xbe)]({'processBlock':function(_0xdb79d,_0x3ab9ce){var _0xcd9699=_0x376893,_0x46a070=this[_0xcd9699(0x2ac)],_0x2ec5f1=_0x46a070[_0xcd9699(0xe1)],_0x13a50a=_0xdb79d[_0xcd9699(0x2b2)](_0x3ab9ce,_0x3ab9ce+_0x2ec5f1);_0x46a070['decryptBlock'](_0xdb79d,_0x3ab9ce),_0x1023f6[_0xcd9699(0x145)](this,_0xdb79d,_0x3ab9ce,_0x2ec5f1),this[_0xcd9699(0x28b)]=_0x13a50a;}});function _0x1023f6(_0x54754f,_0x5b453b,_0x122c82){var _0x27ae9b=_0x376893,_0x59cae6,_0x57b651=this[_0x27ae9b(0x295)];_0x57b651?(_0x59cae6=_0x57b651,this[_0x27ae9b(0x295)]=_0x2e1955):_0x59cae6=this['_prevBlock'];for(var _0x5f3251=0x0;_0x5f3251<_0x122c82;_0x5f3251++)_0x54754f[_0x5b453b+_0x5f3251]^=_0x59cae6[_0x5f3251];}return _0x2af7f2;}()),_0xa50b5c=_0x11629c[_0x4ba5f2(0x1e9)]={},_0x409532=_0xa50b5c['Pkcs7']={'pad':function(_0x3a71b6,_0x448a79){var _0x1d4891=_0x4ba5f2;for(var _0x283ae0=_0x448a79*0x4,_0x3beec8=_0x283ae0-_0x3a71b6[_0x1d4891(0x2e3)]%_0x283ae0,_0x97e723=_0x3beec8<<0x18|_0x3beec8<<0x10|_0x3beec8<<0x8|_0x3beec8,_0xc7702=[],_0x50b312=0x0;_0x50b312<_0x3beec8;_0x50b312+=0x4)_0xc7702[_0x1d4891(0x3ae)](_0x97e723);var _0x1e3397=_0x575f64[_0x1d4891(0x12b)](_0xc7702,_0x3beec8);_0x3a71b6[_0x1d4891(0x139)](_0x1e3397);},'unpad':function(_0x4ef4e2){var _0x2485a3=_0x4ba5f2,_0x116f8b=_0x4ef4e2['words'][_0x4ef4e2[_0x2485a3(0x2e3)]-0x1>>>0x2]&0xff;_0x4ef4e2[_0x2485a3(0x2e3)]-=_0x116f8b;}};_0x4e754b['BlockCipher']=_0x1258f1[_0x4ba5f2(0xbe)]({'cfg':_0x1258f1[_0x4ba5f2(0xbf)][_0x4ba5f2(0xbe)]({'mode':_0x40be94,'padding':_0x409532}),'reset':function(){var _0x519d62=_0x4ba5f2,_0x526979;_0x1258f1[_0x519d62(0x2c3)][_0x519d62(0x145)](this);var _0x318592=this['cfg'],_0xe7346b=_0x318592['iv'],_0x23a073=_0x318592[_0x519d62(0x178)];this[_0x519d62(0x1fa)]==this[_0x519d62(0x172)]?_0x526979=_0x23a073[_0x519d62(0x216)]:(_0x526979=_0x23a073[_0x519d62(0x22a)],this['_minBufferSize']=0x1),this[_0x519d62(0x322)]&&this[_0x519d62(0x322)][_0x519d62(0x25f)]==_0x526979?this[_0x519d62(0x322)]['init'](this,_0xe7346b&&_0xe7346b[_0x519d62(0x1b1)]):(this[_0x519d62(0x322)]=_0x526979[_0x519d62(0x145)](_0x23a073,this,_0xe7346b&&_0xe7346b['words']),this[_0x519d62(0x322)][_0x519d62(0x25f)]=_0x526979);},'_doProcessBlock':function(_0x3a7cd8,_0x2e38c8){var _0x1164ca=_0x4ba5f2;this[_0x1164ca(0x322)]['processBlock'](_0x3a7cd8,_0x2e38c8);},'_doFinalize':function(){var _0x2a8c5c=_0x4ba5f2,_0x219eb7,_0x198fa5=this[_0x2a8c5c(0xbf)][_0x2a8c5c(0x14d)];return this[_0x2a8c5c(0x1fa)]==this[_0x2a8c5c(0x172)]?(_0x198fa5[_0x2a8c5c(0x1e9)](this[_0x2a8c5c(0x150)],this['blockSize']),_0x219eb7=this[_0x2a8c5c(0x189)](!0x0)):(_0x219eb7=this['_process'](!0x0),_0x198fa5[_0x2a8c5c(0x290)](_0x219eb7)),_0x219eb7;},'blockSize':0x80/0x20});var _0x28b344=_0x4e754b[_0x4ba5f2(0x258)]=_0x132e02[_0x4ba5f2(0xbe)]({'init':function(_0x3a178b){var _0x5bec98=_0x4ba5f2;this[_0x5bec98(0x35f)](_0x3a178b);},'toString':function(_0x38e08e){var _0x42b985=_0x4ba5f2;return(_0x38e08e||this[_0x42b985(0x187)])['stringify'](this);}}),_0x472eb8=_0x11629c[_0x4ba5f2(0x27a)]={},_0x277de0=_0x472eb8[_0x4ba5f2(0x15a)]={'stringify':function(_0x1f9574){var _0x1b1444=_0x4ba5f2,_0x150d7c,_0x5b92b7=_0x1f9574['ciphertext'],_0x12338d=_0x1f9574[_0x1b1444(0x28c)];return _0x12338d?_0x150d7c=_0x575f64['create']([0x53616c74,0x65645f5f])[_0x1b1444(0x139)](_0x12338d)[_0x1b1444(0x139)](_0x5b92b7):_0x150d7c=_0x5b92b7,_0x150d7c[_0x1b1444(0x261)](_0x1218d2);},'parse':function(_0x41e410){var _0x88d6b7=_0x4ba5f2,_0x448906,_0x14d151=_0x1218d2[_0x88d6b7(0x159)](_0x41e410),_0x21b959=_0x14d151[_0x88d6b7(0x1b1)];return _0x21b959[0x0]==0x53616c74&&_0x21b959[0x1]==0x65645f5f&&(_0x448906=_0x575f64[_0x88d6b7(0x12b)](_0x21b959[_0x88d6b7(0x2b2)](0x2,0x4)),_0x21b959[_0x88d6b7(0x1b2)](0x0,0x4),_0x14d151['sigBytes']-=0x10),_0x28b344[_0x88d6b7(0x12b)]({'ciphertext':_0x14d151,'salt':_0x448906});}},_0x4e96a0=_0x4e754b[_0x4ba5f2(0x1e2)]=_0x132e02[_0x4ba5f2(0xbe)]({'cfg':_0x132e02[_0x4ba5f2(0xbe)]({'format':_0x277de0}),'encrypt':function(_0x5cca69,_0x1428a7,_0x63be3b,_0x349c28){var _0x18806=_0x4ba5f2;_0x349c28=this['cfg'][_0x18806(0xbe)](_0x349c28);var _0x5f186f=_0x5cca69[_0x18806(0x216)](_0x63be3b,_0x349c28),_0x1eb57d=_0x5f186f[_0x18806(0x22d)](_0x1428a7),_0x29eef9=_0x5f186f[_0x18806(0xbf)];return _0x28b344[_0x18806(0x12b)]({'ciphertext':_0x1eb57d,'key':_0x63be3b,'iv':_0x29eef9['iv'],'algorithm':_0x5cca69,'mode':_0x29eef9['mode'],'padding':_0x29eef9[_0x18806(0x14d)],'blockSize':_0x5cca69['blockSize'],'formatter':_0x349c28[_0x18806(0x27a)]});},'decrypt':function(_0x4b3ccc,_0x3b2550,_0x10d9df,_0x192f93){var _0x2108f1=_0x4ba5f2;_0x192f93=this[_0x2108f1(0xbf)][_0x2108f1(0xbe)](_0x192f93),_0x3b2550=this[_0x2108f1(0x10c)](_0x3b2550,_0x192f93['format']);var _0x597f45=_0x4b3ccc['createDecryptor'](_0x10d9df,_0x192f93)[_0x2108f1(0x22d)](_0x3b2550[_0x2108f1(0x21d)]);return _0x597f45;},'_parse':function(_0x426e34,_0x4a4c80){var _0x3c9e8b=_0x4ba5f2;return typeof _0x426e34==_0x3c9e8b(0x30e)?_0x4a4c80['parse'](_0x426e34,this):_0x426e34;}}),_0xfe4652=_0x11629c[_0x4ba5f2(0x301)]={},_0x32d503=_0xfe4652['OpenSSL']={'execute':function(_0x3bb1f7,_0x471341,_0x52fa53,_0x113e2c,_0x28d244){var _0x4feaa0=_0x4ba5f2;if(_0x113e2c||(_0x113e2c=_0x575f64[_0x4feaa0(0x32c)](0x40/0x8)),_0x28d244)var _0x5d3fb5=_0x27d377[_0x4feaa0(0x12b)]({'keySize':_0x471341+_0x52fa53,'hasher':_0x28d244})[_0x4feaa0(0x144)](_0x3bb1f7,_0x113e2c);else var _0x5d3fb5=_0x27d377[_0x4feaa0(0x12b)]({'keySize':_0x471341+_0x52fa53})[_0x4feaa0(0x144)](_0x3bb1f7,_0x113e2c);var _0xe3bf27=_0x575f64[_0x4feaa0(0x12b)](_0x5d3fb5[_0x4feaa0(0x1b1)][_0x4feaa0(0x2b2)](_0x471341),_0x52fa53*0x4);return _0x5d3fb5['sigBytes']=_0x471341*0x4,_0x28b344[_0x4feaa0(0x12b)]({'key':_0x5d3fb5,'iv':_0xe3bf27,'salt':_0x113e2c});}},_0x3f174b=_0x4e754b[_0x4ba5f2(0x362)]=_0x4e96a0[_0x4ba5f2(0xbe)]({'cfg':_0x4e96a0[_0x4ba5f2(0xbf)][_0x4ba5f2(0xbe)]({'kdf':_0x32d503}),'encrypt':function(_0x1bfed6,_0x4f9790,_0x292fb2,_0x38037d){var _0x59cd8c=_0x4ba5f2;_0x38037d=this['cfg'][_0x59cd8c(0xbe)](_0x38037d);var _0x593305=_0x38037d['kdf'][_0x59cd8c(0xc5)](_0x292fb2,_0x1bfed6[_0x59cd8c(0x16a)],_0x1bfed6[_0x59cd8c(0x1b5)],_0x38037d[_0x59cd8c(0x28c)],_0x38037d[_0x59cd8c(0x37e)]);_0x38037d['iv']=_0x593305['iv'];var _0x138f62=_0x4e96a0[_0x59cd8c(0x21b)]['call'](this,_0x1bfed6,_0x4f9790,_0x593305[_0x59cd8c(0x218)],_0x38037d);return _0x138f62[_0x59cd8c(0x35f)](_0x593305),_0x138f62;},'decrypt':function(_0x2dc9b6,_0x14b4aa,_0x503523,_0x3b9f48){var _0x27cb21=_0x4ba5f2;_0x3b9f48=this[_0x27cb21(0xbf)][_0x27cb21(0xbe)](_0x3b9f48),_0x14b4aa=this[_0x27cb21(0x10c)](_0x14b4aa,_0x3b9f48[_0x27cb21(0x27a)]);var _0x204a5b=_0x3b9f48[_0x27cb21(0x301)][_0x27cb21(0xc5)](_0x503523,_0x2dc9b6[_0x27cb21(0x16a)],_0x2dc9b6[_0x27cb21(0x1b5)],_0x14b4aa['salt'],_0x3b9f48['hasher']);_0x3b9f48['iv']=_0x204a5b['iv'];var _0x2e88fe=_0x4e96a0[_0x27cb21(0x389)]['call'](this,_0x2dc9b6,_0x14b4aa,_0x204a5b['key'],_0x3b9f48);return _0x2e88fe;}});}();}));}(Je)),Je[_0x1b5f78(0xd1)];}var Vr=Ve[_0x2bc529(0xd1)],si;function Gr(){var _0x919dfe=_0x2bc529;return si||(si=0x1,function(_0x31c094,_0x290387){(function(_0x8b0af8,_0xbad880,_0x19370b){_0x31c094['exports']=_0xbad880(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x4efec0){var _0x1bc08d=_0xbb4d;return(function(){var _0x11ba31=_0xbb4d,_0x17e87a=_0x4efec0,_0x2397c0=_0x17e87a['lib'],_0x18d377=_0x2397c0[_0x11ba31(0x39a)],_0x223778=_0x17e87a[_0x11ba31(0x330)],_0x46d248=[],_0x1077e3=[],_0x382223=[],_0xdcd6a6=[],_0x19bb11=[],_0x1963ca=[],_0x385951=[],_0x7f8376=[],_0x49581a=[],_0x2e4e2d=[];(function(){for(var _0x5484e2=[],_0x41b088=0x0;_0x41b088<0x100;_0x41b088++)_0x41b088<0x80?_0x5484e2[_0x41b088]=_0x41b088<<0x1:_0x5484e2[_0x41b088]=_0x41b088<<0x1^0x11b;for(var _0x1f03d0=0x0,_0x3962b2=0x0,_0x41b088=0x0;_0x41b088<0x100;_0x41b088++){var _0x1715d8=_0x3962b2^_0x3962b2<<0x1^_0x3962b2<<0x2^_0x3962b2<<0x3^_0x3962b2<<0x4;_0x1715d8=_0x1715d8>>>0x8^_0x1715d8&0xff^0x63,_0x46d248[_0x1f03d0]=_0x1715d8,_0x1077e3[_0x1715d8]=_0x1f03d0;var _0x3ec39a=_0x5484e2[_0x1f03d0],_0x61026e=_0x5484e2[_0x3ec39a],_0x29afee=_0x5484e2[_0x61026e],_0x21523b=_0x5484e2[_0x1715d8]*0x101^_0x1715d8*0x1010100;_0x382223[_0x1f03d0]=_0x21523b<<0x18|_0x21523b>>>0x8,_0xdcd6a6[_0x1f03d0]=_0x21523b<<0x10|_0x21523b>>>0x10,_0x19bb11[_0x1f03d0]=_0x21523b<<0x8|_0x21523b>>>0x18,_0x1963ca[_0x1f03d0]=_0x21523b;var _0x21523b=_0x29afee*0x1010101^_0x61026e*0x10001^_0x3ec39a*0x101^_0x1f03d0*0x1010100;_0x385951[_0x1715d8]=_0x21523b<<0x18|_0x21523b>>>0x8,_0x7f8376[_0x1715d8]=_0x21523b<<0x10|_0x21523b>>>0x10,_0x49581a[_0x1715d8]=_0x21523b<<0x8|_0x21523b>>>0x18,_0x2e4e2d[_0x1715d8]=_0x21523b,_0x1f03d0?(_0x1f03d0=_0x3ec39a^_0x5484e2[_0x5484e2[_0x5484e2[_0x29afee^_0x3ec39a]]],_0x3962b2^=_0x5484e2[_0x5484e2[_0x3962b2]]):_0x1f03d0=_0x3962b2=0x1;}}());var _0x34e5fb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x78397f=_0x223778['AES']=_0x18d377[_0x11ba31(0xbe)]({'_doReset':function(){var _0x2518bc=_0x11ba31,_0x30e34e;if(!(this['_nRounds']&&this[_0x2518bc(0x292)]===this[_0x2518bc(0x22f)])){for(var _0x51af62=this['_keyPriorReset']=this[_0x2518bc(0x22f)],_0x4fdbb4=_0x51af62[_0x2518bc(0x1b1)],_0x1b8f20=_0x51af62[_0x2518bc(0x2e3)]/0x4,_0x4ecf2c=this[_0x2518bc(0x2c9)]=_0x1b8f20+0x6,_0x5565e8=(_0x4ecf2c+0x1)*0x4,_0x2b562a=this[_0x2518bc(0x184)]=[],_0x272b26=0x0;_0x272b26<_0x5565e8;_0x272b26++)_0x272b26<_0x1b8f20?_0x2b562a[_0x272b26]=_0x4fdbb4[_0x272b26]:(_0x30e34e=_0x2b562a[_0x272b26-0x1],_0x272b26%_0x1b8f20?_0x1b8f20>0x6&&_0x272b26%_0x1b8f20==0x4&&(_0x30e34e=_0x46d248[_0x30e34e>>>0x18]<<0x18|_0x46d248[_0x30e34e>>>0x10&0xff]<<0x10|_0x46d248[_0x30e34e>>>0x8&0xff]<<0x8|_0x46d248[_0x30e34e&0xff]):(_0x30e34e=_0x30e34e<<0x8|_0x30e34e>>>0x18,_0x30e34e=_0x46d248[_0x30e34e>>>0x18]<<0x18|_0x46d248[_0x30e34e>>>0x10&0xff]<<0x10|_0x46d248[_0x30e34e>>>0x8&0xff]<<0x8|_0x46d248[_0x30e34e&0xff],_0x30e34e^=_0x34e5fb[_0x272b26/_0x1b8f20|0x0]<<0x18),_0x2b562a[_0x272b26]=_0x2b562a[_0x272b26-_0x1b8f20]^_0x30e34e);for(var _0x4e0187=this[_0x2518bc(0xfc)]=[],_0x583ebe=0x0;_0x583ebe<_0x5565e8;_0x583ebe++){var _0x272b26=_0x5565e8-_0x583ebe;if(_0x583ebe%0x4)var _0x30e34e=_0x2b562a[_0x272b26];else var _0x30e34e=_0x2b562a[_0x272b26-0x4];_0x583ebe<0x4||_0x272b26<=0x4?_0x4e0187[_0x583ebe]=_0x30e34e:_0x4e0187[_0x583ebe]=_0x385951[_0x46d248[_0x30e34e>>>0x18]]^_0x7f8376[_0x46d248[_0x30e34e>>>0x10&0xff]]^_0x49581a[_0x46d248[_0x30e34e>>>0x8&0xff]]^_0x2e4e2d[_0x46d248[_0x30e34e&0xff]];}}},'encryptBlock':function(_0xa377ab,_0x52c811){var _0xad2e0d=_0x11ba31;this[_0xad2e0d(0x13e)](_0xa377ab,_0x52c811,this[_0xad2e0d(0x184)],_0x382223,_0xdcd6a6,_0x19bb11,_0x1963ca,_0x46d248);},'decryptBlock':function(_0x441203,_0x226dc2){var _0x2d741c=_0x11ba31,_0x2bf653=_0x441203[_0x226dc2+0x1];_0x441203[_0x226dc2+0x1]=_0x441203[_0x226dc2+0x3],_0x441203[_0x226dc2+0x3]=_0x2bf653,this['_doCryptBlock'](_0x441203,_0x226dc2,this[_0x2d741c(0xfc)],_0x385951,_0x7f8376,_0x49581a,_0x2e4e2d,_0x1077e3);var _0x2bf653=_0x441203[_0x226dc2+0x1];_0x441203[_0x226dc2+0x1]=_0x441203[_0x226dc2+0x3],_0x441203[_0x226dc2+0x3]=_0x2bf653;},'_doCryptBlock':function(_0x2067ed,_0x311535,_0x3a7ce1,_0x2ffaf6,_0x1e5c12,_0x3f97a1,_0x35e17e,_0x22c644){for(var _0x472b3f=this['_nRounds'],_0x1f5bb0=_0x2067ed[_0x311535]^_0x3a7ce1[0x0],_0x43abe8=_0x2067ed[_0x311535+0x1]^_0x3a7ce1[0x1],_0x2b453b=_0x2067ed[_0x311535+0x2]^_0x3a7ce1[0x2],_0xc3ca0=_0x2067ed[_0x311535+0x3]^_0x3a7ce1[0x3],_0x18489d=0x4,_0x560e26=0x1;_0x560e26<_0x472b3f;_0x560e26++){var _0x505e8e=_0x2ffaf6[_0x1f5bb0>>>0x18]^_0x1e5c12[_0x43abe8>>>0x10&0xff]^_0x3f97a1[_0x2b453b>>>0x8&0xff]^_0x35e17e[_0xc3ca0&0xff]^_0x3a7ce1[_0x18489d++],_0x35817e=_0x2ffaf6[_0x43abe8>>>0x18]^_0x1e5c12[_0x2b453b>>>0x10&0xff]^_0x3f97a1[_0xc3ca0>>>0x8&0xff]^_0x35e17e[_0x1f5bb0&0xff]^_0x3a7ce1[_0x18489d++],_0x1a32fe=_0x2ffaf6[_0x2b453b>>>0x18]^_0x1e5c12[_0xc3ca0>>>0x10&0xff]^_0x3f97a1[_0x1f5bb0>>>0x8&0xff]^_0x35e17e[_0x43abe8&0xff]^_0x3a7ce1[_0x18489d++],_0x265053=_0x2ffaf6[_0xc3ca0>>>0x18]^_0x1e5c12[_0x1f5bb0>>>0x10&0xff]^_0x3f97a1[_0x43abe8>>>0x8&0xff]^_0x35e17e[_0x2b453b&0xff]^_0x3a7ce1[_0x18489d++];_0x1f5bb0=_0x505e8e,_0x43abe8=_0x35817e,_0x2b453b=_0x1a32fe,_0xc3ca0=_0x265053;}var _0x505e8e=(_0x22c644[_0x1f5bb0>>>0x18]<<0x18|_0x22c644[_0x43abe8>>>0x10&0xff]<<0x10|_0x22c644[_0x2b453b>>>0x8&0xff]<<0x8|_0x22c644[_0xc3ca0&0xff])^_0x3a7ce1[_0x18489d++],_0x35817e=(_0x22c644[_0x43abe8>>>0x18]<<0x18|_0x22c644[_0x2b453b>>>0x10&0xff]<<0x10|_0x22c644[_0xc3ca0>>>0x8&0xff]<<0x8|_0x22c644[_0x1f5bb0&0xff])^_0x3a7ce1[_0x18489d++],_0x1a32fe=(_0x22c644[_0x2b453b>>>0x18]<<0x18|_0x22c644[_0xc3ca0>>>0x10&0xff]<<0x10|_0x22c644[_0x1f5bb0>>>0x8&0xff]<<0x8|_0x22c644[_0x43abe8&0xff])^_0x3a7ce1[_0x18489d++],_0x265053=(_0x22c644[_0xc3ca0>>>0x18]<<0x18|_0x22c644[_0x1f5bb0>>>0x10&0xff]<<0x10|_0x22c644[_0x43abe8>>>0x8&0xff]<<0x8|_0x22c644[_0x2b453b&0xff])^_0x3a7ce1[_0x18489d++];_0x2067ed[_0x311535]=_0x505e8e,_0x2067ed[_0x311535+0x1]=_0x35817e,_0x2067ed[_0x311535+0x2]=_0x1a32fe,_0x2067ed[_0x311535+0x3]=_0x265053;},'keySize':0x100/0x20});_0x17e87a[_0x11ba31(0x27c)]=_0x18d377['_createHelper'](_0x78397f);}()),_0x4efec0[_0x1bc08d(0x27c)];}));}(Ve)),Ve[_0x919dfe(0xd1)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x2bc529(0xd1)],ai;function zr(){var _0x7332b9=_0x2bc529;return ai||(ai=0x1,function(_0x5524e4,_0x3b4e9c){(function(_0x5b5502,_0x27ecbf){_0x5524e4['exports']=_0x27ecbf(ne());}(qr,function(_0x33ffed){var _0x561da1=_0xbb4d;return _0x33ffed[_0x561da1(0x2f4)]['Utf8'];}));}(Xe)),Xe[_0x7332b9(0xd1)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x2bc529(0xd1)],ci;function Qr(){var _0x3e005c=_0x2bc529;return ci||(ci=0x1,function(_0x5b7f53,_0x1ad599){(function(_0x2531d4,_0x13038d){var _0x5f3e36=_0xbb4d;_0x5b7f53[_0x5f3e36(0xd1)]=_0x13038d(ne());}(Zr,function(_0x2fecc4){var _0x32f29a=_0xbb4d;return(function(){var _0x316dbf=_0xbb4d;if(typeof ArrayBuffer==_0x316dbf(0x266)){var _0x22d8b2=_0x2fecc4,_0x12e012=_0x22d8b2[_0x316dbf(0x38d)],_0x45e23e=_0x12e012[_0x316dbf(0x125)],_0x182c1f=_0x45e23e[_0x316dbf(0x209)],_0xa0cd9e=_0x45e23e['init']=function(_0x44a0a2){var _0x66d790=_0x316dbf;if(_0x44a0a2 instanceof ArrayBuffer&&(_0x44a0a2=new Uint8Array(_0x44a0a2)),(_0x44a0a2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x44a0a2 instanceof Uint8ClampedArray||_0x44a0a2 instanceof Int16Array||_0x44a0a2 instanceof Uint16Array||_0x44a0a2 instanceof Int32Array||_0x44a0a2 instanceof Uint32Array||_0x44a0a2 instanceof Float32Array||_0x44a0a2 instanceof Float64Array)&&(_0x44a0a2=new Uint8Array(_0x44a0a2['buffer'],_0x44a0a2[_0x66d790(0x2f5)],_0x44a0a2[_0x66d790(0x283)])),_0x44a0a2 instanceof Uint8Array){for(var _0x3933e7=_0x44a0a2[_0x66d790(0x283)],_0x5291ec=[],_0x5562db=0x0;_0x5562db<_0x3933e7;_0x5562db++)_0x5291ec[_0x5562db>>>0x2]|=_0x44a0a2[_0x5562db]<<0x18-_0x5562db%0x4*0x8;_0x182c1f[_0x66d790(0x145)](this,_0x5291ec,_0x3933e7);}else _0x182c1f['apply'](this,arguments);};_0xa0cd9e[_0x316dbf(0x19e)]=_0x45e23e;}}()),_0x2fecc4[_0x32f29a(0x38d)][_0x32f29a(0x125)];}));}(Ze)),Ze[_0x3e005c(0xd1)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x644bac=_0x2bc529;return hi||(hi=0x1,function(_0xd9827a,_0x4eb1ee){(function(_0x11febb,_0x45e7e1,_0x1af756){var _0x49fae4=_0xbb4d;_0xd9827a[_0x49fae4(0xd1)]=_0x45e7e1(ne(),Ai());}(is,function(_0x461107){var _0xde66f=_0xbb4d;return _0x461107[_0xde66f(0x1e9)][_0xde66f(0x13d)]={'pad':function(){},'unpad':function(){}},_0x461107[_0xde66f(0x1e9)]['NoPadding'];}));}(Qe)),Qe[_0x644bac(0xd1)];}var rs=ns();const ss=ke(rs);function os(_0x1893a7,_0x2d0dc5){var _0x44e4de=_0x2bc529;const _0x14c8be=_0x2d0dc5-_0x1893a7[_0x44e4de(0x1d4)]%_0x2d0dc5,_0x208730=String[_0x44e4de(0x2fa)](_0x14c8be)[_0x44e4de(0x29d)](_0x14c8be);return _0x1893a7+_0x208730;}function as(_0x5631a8,_0x3bc49d){var _0x6f5eae=_0x2bc529;const _0x8e0b4b=ts['random'](0x10),_0x2671ce=os(_0x5631a8,0x10),_0x1d53c4=Kr[_0x6f5eae(0x21b)](Xr[_0x6f5eae(0x159)](_0x2671ce),oi[_0x6f5eae(0x159)](_0x3bc49d),{'iv':_0x8e0b4b,'padding':ss});return _0x8e0b4b[_0x6f5eae(0x139)](_0x1d53c4[_0x6f5eae(0x21d)])[_0x6f5eae(0x261)](oi);}function cs(){var _0x4d2e91=_0x2bc529;const _0x133d1a=_0x22c908()['__Key__'];if(_0x133d1a){const _0x1f5a9c={'time':Math['floor'](Date[_0x4d2e91(0x327)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x4d2e91(0xe6)](_0x1f5a9c),_0x133d1a);}}var hs=Object[_0x2bc529(0x1a2)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x3d6d0e,_0x45b8b3,_0x33b45d,_0x38909d)=>{var _0x4e0369=_0x2bc529;for(var _0x15a71b=_0x38909d>0x1?void 0x0:_0x38909d?_s(_0x45b8b3,_0x33b45d):_0x45b8b3,_0x5c185d=_0x3d6d0e[_0x4e0369(0x1d4)]-0x1,_0x416ce1;_0x5c185d>=0x0;_0x5c185d--)(_0x416ce1=_0x3d6d0e[_0x5c185d])&&(_0x15a71b=(_0x38909d?_0x416ce1(_0x45b8b3,_0x33b45d,_0x15a71b):_0x416ce1(_0x15a71b))||_0x15a71b);return _0x38909d&&_0x15a71b&&hs(_0x45b8b3,_0x33b45d,_0x15a71b),_0x15a71b;},us=(_0x2d0f8d,_0x358e48)=>(_0x5412ce,_0x473102)=>_0x358e48(_0x5412ce,_0x473102,_0x2d0f8d);let ot=class{constructor(_0x23350b){var _0xa4eba=_0x2bc529;this[_0xa4eba(0x3a2)]=_0x23350b,this['_initRequestHeader']();}[_0x2bc529(0x16b)](){var _0x3c74ed=_0x2bc529;this[_0x3c74ed(0x3a2)]['registerHTTPInterceptor']({'interceptor':(_0x4204ae,_0x2bfc28)=>{var _0x948659=_0x3c74ed;const _0x1dae1c=_0x4204ae['headers'],_0x756a16=cs();return _0x756a16&&_0x1dae1c[_0x948659(0x2de)](_0x948659(0x338),_0x756a16),_0x2bfc28(_0x4204ae);}});}};ot=ls([us(0x0,_0x168dfb(_0x2aebad))],ot);var ds=Object['defineProperty'],fs=Object[_0x2bc529(0x1b8)],vs=(_0x2c31fc,_0x3d89ac,_0x16357f,_0x84e736)=>{var _0x10a55c=_0x2bc529;for(var _0x42518c=_0x84e736>0x1?void 0x0:_0x84e736?fs(_0x3d89ac,_0x16357f):_0x3d89ac,_0x35267f=_0x2c31fc[_0x10a55c(0x1d4)]-0x1,_0x29e886;_0x35267f>=0x0;_0x35267f--)(_0x29e886=_0x2c31fc[_0x35267f])&&(_0x42518c=(_0x84e736?_0x29e886(_0x3d89ac,_0x16357f,_0x42518c):_0x29e886(_0x42518c))||_0x42518c);return _0x84e736&&_0x42518c&&ds(_0x3d89ac,_0x16357f,_0x42518c),_0x42518c;},mt=(_0xcc9668,_0x520361)=>(_0x38fb1e,_0x55c4c3)=>_0x520361(_0x38fb1e,_0x55c4c3,_0xcc9668);let Ot=class extends _0x357f9f{constructor(_0x365c7d,_0x3448dc,_0xdbdf){var _0xbee15f=_0x2bc529;super(),N(this,'_unitInfo$',new _0x47bc14(null)),N(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this['_logService']=_0x365c7d,this[_0xbee15f(0xc6)]=_0x3448dc,this['_localCacheService']=_0xdbdf);}async[_0x2bc529(0x39b)](_0x58c58b,_0x4697ad,_0x51cb6f){var _0x52abde=_0x2bc529;this[_0x52abde(0x16d)]['next']({'unitId':_0x58c58b,'type':_0x4697ad,'subUnitId':_0x51cb6f});let _0x5d2cc6=null;switch(_0x4697ad){case Q[_0x52abde(0x38c)]:{_0x5d2cc6=await this[_0x52abde(0x10b)](_0x58c58b);break;}case Q[_0x52abde(0x14e)]:{_0x5d2cc6=await this['_loadDoc'](_0x58c58b);break;}default:{this[_0x52abde(0x2e9)][_0x52abde(0x185)](_0x52abde(0x20e),_0x52abde(0x207));break;}}return _0x5d2cc6;}async[_0x2bc529(0x10b)](_0x44686c){var _0x95a7f0=_0x2bc529,_0x29d413;let _0x222193=0x0;const _0x535af4=await((_0x29d413=this['_localCacheService'])==null?void 0x0:_0x29d413[_0x95a7f0(0x2aa)](_0x44686c));return _0x535af4&&(_0x535af4[_0x95a7f0(0x390)]||_0x535af4[_0x95a7f0(0x36f)][_0x95a7f0(0x1d4)]!==0x0)&&(_0x222193=_0x535af4['rev']),_0x222193===0x0&&this[_0x95a7f0(0x2e9)][_0x95a7f0(0x2f3)](_0x95a7f0(0x20e),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x95a7f0(0xc6)][_0x95a7f0(0x1a3)](_0x44686c,_0x222193);}async['_loadDoc'](_0x98c610){var _0x323956=_0x2bc529,_0x40f09e;let _0xb0f790=0x0;const _0x5133b3=await((_0x40f09e=this[_0x323956(0x320)])==null?void 0x0:_0x40f09e['loadOfflineData'](_0x98c610));return _0x5133b3&&(_0x5133b3[_0x323956(0x390)]||_0x5133b3['mutations'][_0x323956(0x1d4)]!==0x0)&&(_0xb0f790=_0x5133b3[_0x323956(0x363)]),_0xb0f790===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x323956(0x21c)),this[_0x323956(0xc6)][_0x323956(0xca)](_0x98c610,_0xb0f790);}};Ot=vs([mt(0x0,_0x455813),mt(0x1,_0x168dfb(_0x1b7601)),mt(0x2,_0x17ac87(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x2bc529(0x1b8)],gs=(_0x50bb18,_0x373409,_0x41c7a4,_0x8d5427)=>{for(var _0x2e53fe=_0x8d5427>0x1?void 0x0:_0x8d5427?ms(_0x373409,_0x41c7a4):_0x373409,_0x254984=_0x50bb18['length']-0x1,_0x2c7bd2;_0x254984>=0x0;_0x254984--)(_0x2c7bd2=_0x50bb18[_0x254984])&&(_0x2e53fe=(_0x8d5427?_0x2c7bd2(_0x373409,_0x41c7a4,_0x2e53fe):_0x2c7bd2(_0x2e53fe))||_0x2e53fe);return _0x8d5427&&_0x2e53fe&&ps(_0x373409,_0x41c7a4,_0x2e53fe),_0x2e53fe;},gt=(_0x542c4a,_0x544aac)=>(_0x21f6b4,_0x393af8)=>_0x544aac(_0x21f6b4,_0x393af8,_0x542c4a);const Ss=['image/png',_0x2bc529(0x2ce),'image/jpg',_0x2bc529(0x39e),_0x2bc529(0x211)],Es=0x5*0x400*0x400,Is=_0x2bc529(0x15e),Ts=_0x2bc529(0x1cb),Cs=_0x2bc529(0x1de),Rs=_0x2bc529(0x1f6);let yt=class{constructor(_0x24fad1,_0x55b310,_0x3433e2){var _0x119f1e=_0x2bc529;N(this,_0x119f1e(0x162),0x0),N(this,'_change$',new _0x41bed3()),N(this,_0x119f1e(0x244),this[_0x119f1e(0x2c2)]),N(this,_0x119f1e(0x14a),new Map()),(this[_0x119f1e(0x3a2)]=_0x24fad1,this['_configService']=_0x55b310,this[_0x119f1e(0xc3)]=_0x3433e2);}['setWaitCount'](_0x4cb3a3){var _0x24e471=_0x2bc529;this[_0x24e471(0x162)]=_0x4cb3a3,this['_change$'][_0x24e471(0x318)](_0x4cb3a3);}['getImageSourceCache'](_0x260db8,_0x29c65d){var _0x1ff059=_0x2bc529;if(_0x29c65d===_0x103643['BASE64']){const _0xb99587=new Image();return _0xb99587[_0x1ff059(0x387)]=_0x260db8,_0xb99587;}return this[_0x1ff059(0x14a)][_0x1ff059(0x227)](_0x260db8);}[_0x2bc529(0x36a)](_0x42420d,_0x150ea6,_0x5ed5db){var _0xf9074b=_0x2bc529;_0x150ea6===_0x103643['BASE64']||_0x5ed5db==null||this['_imageSourceCache'][_0xf9074b(0x2de)](_0x42420d,_0x5ed5db);}async['getImage'](_0x469554){var _0x5c8f8a=_0x2bc529;try{const _0x4df9d4=this[_0x5c8f8a(0x223)](this[_0x5c8f8a(0x222)](),''+_0x469554),_0x338abc=(await this['_httpService'][_0x5c8f8a(0x227)](_0x4df9d4))['body'];if(_0x338abc['error']&&_0x338abc[_0x5c8f8a(0x185)][_0x5c8f8a(0x142)]===Ii['OK']){const _0x2a01a0=new URL(_0x338abc[_0x5c8f8a(0xe8)],this[_0x5c8f8a(0x238)]())[_0x5c8f8a(0x261)]();return Promise['resolve'](_0x2a01a0);}return Promise[_0x5c8f8a(0x1ee)](_0x338abc[_0x5c8f8a(0x185)]);}catch(_0x5344cb){return Promise['reject'](_0x5344cb);}}async[_0x2bc529(0x12c)](_0x58d15b){var _0x116791=_0x2bc529;let _0x1f931a='';if(!Ss[_0x116791(0x35c)](_0x58d15b['type']))return this[_0x116791(0x279)](),Promise['reject'](new Error(_0x5086de[_0x116791(0x2a8)]));if(_0x58d15b[_0x116791(0x36c)]>Es)return this[_0x116791(0x279)](),Promise['reject'](new Error(_0x5086de[_0x116791(0x386)]));try{const _0x5e65d2=new FormData();_0x5e65d2[_0x116791(0xe7)](_0x116791(0x2e0),_0x58d15b);const _0x5268f8=this[_0x116791(0xc3)][_0x116791(0x11e)](),_0x2ff187=_0x5268f8==null?void 0x0:_0x5268f8[_0x116791(0x1d0)]();if(!_0x2ff187)throw new Error('unitId\x20is\x20not\x20found');const _0x3f373b=this[_0x116791(0xc1)]()+_0x116791(0x251)+_0x58d15b['size'][_0x116791(0x261)]()+_0x116791(0x2fb)+Ti[_0x116791(0x2fc)]+_0x116791(0x2f8)+encodeURIComponent(_0x2ff187),_0x94967d=await(await fetch(_0x3f373b,{'method':_0x116791(0x12d),'body':_0x5e65d2}))[_0x116791(0x2af)]();if(typeof _0x94967d[_0x116791(0x30f)]!=_0x116791(0x30e))return this[_0x116791(0x279)](),Promise[_0x116791(0x1ee)](new Error(_0x5086de[_0x116791(0x308)]));_0x1f931a=_0x94967d[_0x116791(0x30f)];}catch{return this[_0x116791(0x279)](),Promise[_0x116791(0x1ee)](new Error(_0x5086de[_0x116791(0x308)]));}return new Promise((_0x484c29,_0xd06fb2)=>{var _0x32f30d=_0x116791;const _0x473acc=new FileReader();_0x473acc[_0x32f30d(0x25d)](_0x58d15b),_0x473acc[_0x32f30d(0x31b)]=_0x116027=>{var _0x1cb4a2=_0x32f30d,_0x1a49db;const _0x2ab53b=(_0x1a49db=_0x116027[_0x1cb4a2(0x2c1)])==null?void 0x0:_0x1a49db[_0x1cb4a2(0xe3)];if(_0x2ab53b==null){this[_0x1cb4a2(0x279)](),_0xd06fb2(new Error(_0x5086de['ERROR_IMAGE']));return;}const _0x3319c9=_0x5a3ad9[_0x1cb4a2(0x306)](0x6);_0x484c29({'imageId':_0x3319c9,'imageSourceType':_0x103643['UUID'],'source':_0x1f931a,'base64Cache':_0x2ab53b,'status':_0x5086de[_0x1cb4a2(0x2ae)]}),this[_0x1cb4a2(0x279)]();};});}[_0x2bc529(0xc1)](){var _0x179d36=_0x2bc529,_0x255f08,_0x5ada53;const _0x43b20e=this[_0x179d36(0x1e1)][_0x179d36(0x2db)](Is),_0x3dcd82=this[_0x179d36(0x1e1)][_0x179d36(0x2db)](q);return(_0x5ada53=(_0x255f08=_0x3dcd82==null?void 0x0:_0x3dcd82[_0x179d36(0xb6)])!=null?_0x255f08:_0x43b20e)!=null?_0x5ada53:Ts;}['_getSignURL'](){var _0x162ade=_0x2bc529,_0x1cb96e,_0x2edd25;const _0x187c47=this[_0x162ade(0x1e1)][_0x162ade(0x2db)](Cs),_0x438ae5=this['_configService'][_0x162ade(0x2db)](q);return(_0x2edd25=(_0x1cb96e=_0x438ae5==null?void 0x0:_0x438ae5['signUrlServerUrl'])!=null?_0x1cb96e:_0x187c47)!=null?_0x2edd25:Rs;}[_0x2bc529(0x238)](){var _0x219a72=_0x2bc529,_0x57c64e;const _0x5cab79=this[_0x219a72(0x1e1)][_0x219a72(0x2db)](q);return(_0x57c64e=_0x5cab79==null?void 0x0:_0x5cab79[_0x219a72(0x140)])!=null?_0x57c64e:location[_0x219a72(0x1c3)];}['_replaceFileID'](_0x28ebf9,_0x59c6bf){var _0x55b60d=_0x2bc529;return _0x28ebf9[_0x55b60d(0xde)](_0x55b60d(0x269),_0x59c6bf);}['_decreaseWaiting'](){var _0x4aed9f=_0x2bc529;this[_0x4aed9f(0x162)]-=0x1,this[_0x4aed9f(0x2c2)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x168dfb(_0x2aebad)),gt(0x1,_0x56e40a),gt(0x2,_0x168dfb(_0x2e9407))],yt);var bs=Object[_0x2bc529(0x1a2)],Os=Object[_0x2bc529(0x1b8)],ys=(_0x4b8a65,_0x4cf242,_0x13ea5b,_0x334714)=>{var _0x2757a8=_0x2bc529;for(var _0x1ab09b=_0x334714>0x1?void 0x0:_0x334714?Os(_0x4cf242,_0x13ea5b):_0x4cf242,_0x5b3483=_0x4b8a65[_0x2757a8(0x1d4)]-0x1,_0x5808dd;_0x5b3483>=0x0;_0x5b3483--)(_0x5808dd=_0x4b8a65[_0x5b3483])&&(_0x1ab09b=(_0x334714?_0x5808dd(_0x4cf242,_0x13ea5b,_0x1ab09b):_0x5808dd(_0x1ab09b))||_0x1ab09b);return _0x334714&&_0x1ab09b&&bs(_0x4cf242,_0x13ea5b,_0x1ab09b),_0x1ab09b;},_i=(_0x2cd6c6,_0x58bbc6)=>(_0x5c5a41,_0xbb5f41)=>_0x58bbc6(_0x5c5a41,_0xbb5f41,_0x2cd6c6);const Ns=_0x2bc529(0x39d);let Nt=class{constructor(_0x28157c,_0x1c0711){var _0x18e966=_0x2bc529;this[_0x18e966(0x1e1)]=_0x28157c,this[_0x18e966(0x197)]=_0x1c0711;}['_getAPIPrefixPath'](){var _0x2810b1=_0x2bc529,_0x4dc182,_0x2ae52b;const _0xaa1a2=this[_0x2810b1(0x1e1)][_0x2810b1(0x2db)](Pi),_0x4c01bf=this[_0x2810b1(0x1e1)][_0x2810b1(0x2db)](q);return(_0x2ae52b=(_0x4dc182=_0x4c01bf==null?void 0x0:_0x4c01bf[_0x2810b1(0x343)])!=null?_0x4dc182:_0xaa1a2)!=null?_0x2ae52b:Ns;}async[_0x2bc529(0x1a5)](_0x18eee3){var _0x226d29=_0x2bc529;const _0x3632e2=this[_0x226d29(0x369)]()+_0x226d29(0x368);return{'list':[{'title':_0x226d29(0x34d),'mentions':(await this[_0x226d29(0x197)]['get'](_0x3632e2,{'params':{'objectID':_0x18eee3[_0x226d29(0x168)],'unitID':_0x18eee3[_0x226d29(0x168)]}}))[_0x226d29(0x32f)][_0x226d29(0xfd)]['map'](_0x440845=>({'objectId':_0x440845['id'],'name':_0x440845[_0x226d29(0xd0)][_0x226d29(0x383)],'metadata':{'icon':_0x440845[_0x226d29(0xd0)]['avatar']},'label':_0x440845[_0x226d29(0xd0)]['name'],'objectType':_0x24253a[_0x226d29(0x267)]})),'metadata':{},'type':_0x24253a['PERSON']}]};}};Nt=ys([_i(0x0,_0x168dfb(_0x56e40a)),_i(0x1,_0x168dfb(_0x2aebad))],Nt);var Ds=Object['defineProperty'],Ps=Object[_0x2bc529(0x1b8)],ws=(_0x5d0453,_0x2068ad,_0xc43c98,_0x2cc0da)=>{var _0x8da2c3=_0x2bc529;for(var _0x25386f=_0x2cc0da>0x1?void 0x0:_0x2cc0da?Ps(_0x2068ad,_0xc43c98):_0x2068ad,_0x37806b=_0x5d0453[_0x8da2c3(0x1d4)]-0x1,_0x1c7a15;_0x37806b>=0x0;_0x37806b--)(_0x1c7a15=_0x5d0453[_0x37806b])&&(_0x25386f=(_0x2cc0da?_0x1c7a15(_0x2068ad,_0xc43c98,_0x25386f):_0x1c7a15(_0x25386f))||_0x25386f);return _0x2cc0da&&_0x25386f&&Ds(_0x2068ad,_0xc43c98,_0x25386f),_0x25386f;},Se=(_0x5c6e81,_0x8513c4)=>(_0x20925d,_0x5e90df)=>_0x8513c4(_0x20925d,_0x5e90df,_0x5c6e81);let at=class extends _0x357f9f{constructor(_0x5c34c2,_0x21e35a,_0x2a6c3f,_0x25dbd4,_0x4dddf4,_0x1361b7,_0x585c5b){var _0x37de8e=_0x2bc529;super(),this['_injector']=_0x5c34c2,this['_univerInstanceService']=_0x21e35a,this[_0x37de8e(0x117)]=_0x2a6c3f,this[_0x37de8e(0x34a)]=_0x25dbd4,this[_0x37de8e(0x360)]=_0x4dddf4,this['_authzIoService']=_0x1361b7,this[_0x37de8e(0x317)]=_0x585c5b,this[_0x37de8e(0x11d)](),this[_0x37de8e(0x1aa)]();}['_initCloseConn'](){var _0x42ae05=_0x2bc529;const _0x1c7dd5=async _0x39b39a=>{var _0x840c79=_0xbb4d;(await this[_0x840c79(0x34a)][_0x840c79(0x2bf)](_0x39b39a))[_0x840c79(0xe4)][_0x840c79(0x2e6)](_0x4ca0f2(_0x4140b6=>_0x4140b6[_0x840c79(0x1da)]===_0xc77da8[_0x840c79(0x213)]),_0x12149e(this[_0x840c79(0x1c0)]))['subscribe'](_0x5676fc=>{var _0x1d9bc6=_0x840c79;const _0xce04e4=_0x5676fc,{reason:_0x127e3b}=_0xce04e4['data'];this[_0x1d9bc6(0x360)][_0x1d9bc6(0x2a5)]({'id':se[_0x1d9bc6(0x309)],'data':_0x127e3b}),this[_0x1d9bc6(0x117)]['updatePermissionPoint'](new _0x3ec26a(_0x39b39a)['id'],!0x1),this[_0x1d9bc6(0x34a)]['closeSession'](_0x39b39a);});};_0x375c6f(this[_0x42ae05(0xc3)]['getTypeOfUnitAdded$'](_0x432cf6[_0x42ae05(0x38c)]),this[_0x42ae05(0xc3)][_0x42ae05(0x180)](_0x432cf6[_0x42ae05(0x14e)]))['pipe'](_0x1d550d(_0x503852=>_0x503852[_0x42ae05(0x1d0)]()),_0x4ca0f2(_0x3d4f1d=>!_0x2fc829(_0x3d4f1d)),_0x12149e(this[_0x42ae05(0x1c0)]))[_0x42ae05(0x285)](_0x4b2a2d=>{_0x1c7dd5(_0x4b2a2d);});}['_initUnitPermissionChange'](){var _0x26b8ff=_0x2bc529;const _0x40e5d4=async _0x1f58d5=>{var _0x3b2a60=_0xbb4d;const _0x11ca24=await this['_collaborationSessionService'][_0x3b2a60(0x2bf)](_0x1f58d5),_0x1735a8=this['_injector'][_0x3b2a60(0x227)](_0x2dd290);_0x11ca24[_0x3b2a60(0xe4)]['pipe'](_0x4ca0f2(_0x1b1ced=>_0x1b1ced[_0x3b2a60(0x1da)]===_0xc77da8['UPDATE_PERMISSION_OBJ']),_0x12149e(this[_0x3b2a60(0x1c0)]))['subscribe'](_0x270ebb=>{var _0xb9b6d6=_0x3b2a60;const _0x5b1654=_0x270ebb,{objectId:_0x5af9cd}=_0x5b1654[_0xb9b6d6(0x33f)];_0x5af9cd===_0x1f58d5?_0x1735a8[_0xb9b6d6(0x31f)](_0x1f58d5):_0x1735a8[_0xb9b6d6(0x19b)](_0x1f58d5,_0x5af9cd);});};_0x375c6f(this[_0x26b8ff(0xc3)][_0x26b8ff(0x180)](_0x432cf6[_0x26b8ff(0x38c)]),this[_0x26b8ff(0xc3)][_0x26b8ff(0x180)](_0x432cf6[_0x26b8ff(0x14e)]))[_0x26b8ff(0x2e6)](_0x1d550d(_0x34c19a=>_0x34c19a[_0x26b8ff(0x1d0)]()),_0x4ca0f2(_0x53a400=>!_0x2fc829(_0x53a400)),_0x12149e(this[_0x26b8ff(0x1c0)]))[_0x26b8ff(0x285)](_0x32245a=>{_0x40e5d4(_0x32245a);});}};at=ws([Se(0x0,_0x168dfb(_0x25ad6f)),Se(0x1,_0x2e9407),Se(0x2,_0x1231a3),Se(0x3,_0x168dfb(Le)),Se(0x4,_0x168dfb(pe)),Se(0x5,_0x414183),Se(0x6,_0x16ee51)],at);var Us=Object['defineProperty'],As=Object[_0x2bc529(0x1b8)],xs=(_0x5f1e26,_0x12ba01,_0x1d2af0,_0x248af5)=>{var _0x15622a=_0x2bc529;for(var _0x503bf7=_0x248af5>0x1?void 0x0:_0x248af5?As(_0x12ba01,_0x1d2af0):_0x12ba01,_0x8467b2=_0x5f1e26[_0x15622a(0x1d4)]-0x1,_0xbc4574;_0x8467b2>=0x0;_0x8467b2--)(_0xbc4574=_0x5f1e26[_0x8467b2])&&(_0x503bf7=(_0x248af5?_0xbc4574(_0x12ba01,_0x1d2af0,_0x503bf7):_0xbc4574(_0x503bf7))||_0x503bf7);return _0x248af5&&_0x503bf7&&Us(_0x12ba01,_0x1d2af0,_0x503bf7),_0x503bf7;},li=(_0x47d646,_0x2187d9)=>(_0x126572,_0x407968)=>_0x2187d9(_0x126572,_0x407968,_0x47d646);let Dt=class{constructor(_0x17687b,_0x20e5d3){var _0x4b5e20=_0x2bc529;this[_0x4b5e20(0x1e1)]=_0x17687b,this[_0x4b5e20(0x3a2)]=_0x20e5d3;}async['getUnitOnRev'](_0x164cff,_0x4cb0b2){var _0x2f2b18=_0x2bc529,_0x4c58bc;const {unitID:_0x3470e1,type:_0xa1aceb,revision:_0xa926e7=0x0}=_0x4cb0b2,_0x31f93a=this[_0x2f2b18(0x134)]()+'/'+_0xa1aceb+'/unit/'+_0x3470e1+_0x2f2b18(0x26b)+_0xa926e7,_0x41a4bb=(await this[_0x2f2b18(0x3a2)][_0x2f2b18(0x227)](_0x31f93a))['body'],_0xb4d5f=(_0x4c58bc=_0x41a4bb[_0x2f2b18(0x1d9)])==null?void 0x0:_0x4c58bc['workbook'];if(_0xb4d5f){const _0x23e0a6=_0xb4d5f==null?void 0x0:_0xb4d5f[_0x2f2b18(0xf6)],_0x1a17c5=_0x4312d5['encode'](_0x2225b2(_0x23e0a6));_0xb4d5f[_0x2f2b18(0xf6)]=_0x1a17c5,Object[_0x2f2b18(0x17b)](_0xb4d5f[_0x2f2b18(0x288)])[_0x2f2b18(0x351)](([,_0x99687b])=>{var _0x2a1ab3=_0x2f2b18;const _0x35e870=_0x99687b[_0x2a1ab3(0xf6)],_0xaceee5=_0x4312d5[_0x2a1ab3(0x27f)](_0x2225b2(_0x35e870));_0x99687b['originalMeta']=_0xaceee5;});}return _0x41a4bb;}async[_0x2bc529(0x198)](_0x34a91b,_0x2f75f1){var _0x18cb5b=_0x2bc529;const {unitID:_0x15b8ef,type:_0x1ea29b,blockID:_0x147438}=_0x2f75f1,_0x5d0eb1=this[_0x18cb5b(0x1f7)]()+'/'+_0x1ea29b+_0x18cb5b(0x255)+_0x15b8ef+'/block/'+_0x147438;return(await this[_0x18cb5b(0x3a2)][_0x18cb5b(0x227)](_0x5d0eb1))[_0x18cb5b(0x32f)];}async['getDeserializedSheetBlock'](_0x15d89d,_0xdff313){var _0x25fa22=_0x2bc529;const {unitID:_0x6d80da,type:_0x163cd2,blockID:_0x536406}=_0xdff313,_0x5101ec=this[_0x25fa22(0x1f7)]()+'/block/'+_0x163cd2+_0x25fa22(0x255)+_0x6d80da+_0x25fa22(0x1df)+_0x536406;return(await this[_0x25fa22(0x3a2)][_0x25fa22(0x227)](_0x5101ec))[_0x25fa22(0x32f)];}async[_0x2bc529(0x349)](_0x115222,_0x48745f){var _0x37e913=_0x2bc529;const {unitID:_0x2b7814,type:_0x57746e,from:_0x26ed81,to:_0x7815db}=_0x48745f,_0x5972c9=this[_0x37e913(0x1f7)]()+'/'+_0x57746e+'/unit/'+_0x2b7814+_0x37e913(0x30d)+_0x26ed81+_0x37e913(0x100)+_0x7815db;return(await this['_httpService'][_0x37e913(0x227)](_0x5972c9))[_0x37e913(0x32f)];}[_0x2bc529(0x134)](){var _0x266814=_0x2bc529,_0x24e348;return(_0x24e348=this[_0x266814(0x1e1)][_0x266814(0x2db)](Tn))!=null?_0x24e348:this[_0x266814(0x1f7)]();}[_0x2bc529(0x1f7)](){var _0x3805d6=_0x2bc529,_0x26e4d1,_0x13d00d;const _0x59cbba=this[_0x3805d6(0x1e1)][_0x3805d6(0x2db)](En),_0x811a3=this[_0x3805d6(0x1e1)][_0x3805d6(0x2db)](q);return(_0x13d00d=(_0x26e4d1=_0x811a3==null?void 0x0:_0x811a3['snapshotServerUrl'])!=null?_0x26e4d1:_0x59cbba)!=null?_0x13d00d:In;}async[_0x2bc529(0x324)](_0x336b42,_0x4f11e8){var _0x5b833e=_0x2bc529;const _0x45347d=_0x5b833e(0x21f)+_0x4f11e8[_0x5b833e(0x1b3)]+_0x5b833e(0x255)+_0x4f11e8[_0x5b833e(0x171)]+_0x5b833e(0x143);return(await this[_0x5b833e(0x3a2)][_0x5b833e(0x227)](_0x45347d,{'params':{'resourceId':JSON['stringify'](_0x4f11e8[_0x5b833e(0x19d)])}}))[_0x5b833e(0x32f)];}['saveSnapshot'](){var _0x22e312=_0x2bc529;throw new Error(_0x22e312(0x2c5));}[_0x2bc529(0x1ca)](){var _0x12aba8=_0x2bc529;throw new Error(_0x12aba8(0x2c5));}[_0x2bc529(0x160)](){var _0x5de251=_0x2bc529;throw new Error(_0x5de251(0x2c5));}[_0x2bc529(0x1ab)](){var _0x15acc4=_0x2bc529;throw new Error(_0x15acc4(0x2c5));}[_0x2bc529(0x191)](){var _0x2b8747=_0x2bc529;throw new Error(_0x2b8747(0x2c5));}};Dt=xs([li(0x0,_0x56e40a),li(0x1,_0x168dfb(_0x2aebad))],Dt);var Ls=Object[_0x2bc529(0x1a2)],Ms=Object[_0x2bc529(0x1b8)],$s=(_0x3eaab7,_0x3f5ac1,_0x3342d1,_0x43dd1e)=>{var _0x340e61=_0x2bc529;for(var _0x45c6c5=_0x43dd1e>0x1?void 0x0:_0x43dd1e?Ms(_0x3f5ac1,_0x3342d1):_0x3f5ac1,_0x482bb1=_0x3eaab7[_0x340e61(0x1d4)]-0x1,_0x15cf2;_0x482bb1>=0x0;_0x482bb1--)(_0x15cf2=_0x3eaab7[_0x482bb1])&&(_0x45c6c5=(_0x43dd1e?_0x15cf2(_0x3f5ac1,_0x3342d1,_0x45c6c5):_0x15cf2(_0x45c6c5))||_0x45c6c5);return _0x43dd1e&&_0x45c6c5&&Ls(_0x3f5ac1,_0x3342d1,_0x45c6c5),_0x45c6c5;},Ae=(_0x249b7e,_0x551250)=>(_0x4e4243,_0xc69ca3)=>_0x551250(_0x4e4243,_0xc69ca3,_0x249b7e);let Pt=class extends _0xe5885d{constructor(_0x3964a8,_0x56f725,_0x5d27fc,_0x107cb4,_0x3e8644){var _0x293d96=_0x2bc529;super(_0x3964a8,_0x56f725,_0x5d27fc),this[_0x293d96(0x18d)]=_0x107cb4,this[_0x293d96(0x2e9)]=_0x3e8644;}[_0x2bc529(0xce)](_0x35b690,_0x3a7e36){var _0x50e6b8=_0x2bc529;const _0x23bf32=this[_0x50e6b8(0x245)](_0x35b690);if(_0x23bf32)try{const _0x1d5e48=this[_0x50e6b8(0x195)](_0x23bf32,_0x3a7e36);this[_0x50e6b8(0x268)](_0x35b690,_0x1d5e48);}catch(_0x302872){this[_0x50e6b8(0x2e9)][_0x50e6b8(0x185)](_0x50e6b8(0x10d),_0x302872),this[_0x50e6b8(0x181)](_0x35b690);}const _0x5eeb60=this[_0x50e6b8(0x3b4)](_0x35b690);if(_0x5eeb60)try{const _0x4422d7=this['_transformStack'](_0x5eeb60,_0x3a7e36);this[_0x50e6b8(0x2d7)](_0x35b690,_0x4422d7);}catch(_0x2bc558){this[_0x50e6b8(0x2e9)]['error'](_0x2bc558),this['_clearRedo'](_0x35b690);}}['_clearUndo'](_0x5d54e8){var _0x3dc533=_0x2bc529;const _0x6ba9fd=this[_0x3dc533(0x245)](_0x5d54e8);_0x6ba9fd&&(_0x6ba9fd[_0x3dc533(0x1d4)]=0x0,this[_0x3dc533(0x1c5)]());}[_0x2bc529(0x27d)](_0x1ef14b){var _0x10f8b1=_0x2bc529;const _0x2d9de2=this[_0x10f8b1(0x3b4)](_0x1ef14b);_0x2d9de2&&(_0x2d9de2[_0x10f8b1(0x1d4)]=0x0,this[_0x10f8b1(0x1c5)]());}[_0x2bc529(0x268)](_0x8fded9,_0x2ad88d){var _0x25ba9=_0x2bc529;this[_0x25ba9(0x2eb)][_0x25ba9(0x2de)](_0x8fded9,_0x2ad88d),this['_updateStatus']();}[_0x2bc529(0x2d7)](_0x212557,_0x4cc689){var _0xce0940=_0x2bc529;this[_0xce0940(0x294)][_0xce0940(0x2de)](_0x212557,_0x4cc689),this[_0xce0940(0x1c5)]();}[_0x2bc529(0x195)](_0x23398e,_0x4c924b){var _0x220694=_0x2bc529;const _0x4e6833=[];let _0x2a1fd8=_0x4c924b,_0x581828=_0x4c924b;for(let _0xa11e0f=_0x23398e[_0x220694(0x1d4)]-0x1;_0xa11e0f>=0x0;_0xa11e0f--){const {unitID:_0x3d462e,undoMutations:_0x5939f7,redoMutations:_0x420c3b}=_0x23398e[_0xa11e0f],_0x386c66=this['_transformService']['transformMutationsWithChangeset'](_0x2a1fd8,_0x5939f7),_0x573e50=this['_transformService'][_0x220694(0x278)](_0x581828,_0x420c3b);if(_0x2eb018(_0x386c66)||_0x2eb018(_0x573e50)){this[_0x220694(0x2e9)]['error']('[CollaborationUndoRedoService]',_0x220694(0x37d),_0x386c66,_0x573e50);break;}_0x2a1fd8=_0x386c66[_0x220694(0x1b7)],_0x581828=_0x573e50[_0x220694(0x1b7)],_0x4e6833['push']({'unitID':_0x3d462e,'undoMutations':_0x386c66[_0x220694(0x23a)],'redoMutations':_0x573e50['m2Prime']});}return _0x4e6833[_0x220694(0x204)]();}};Pt=$s([Ae(0x0,_0x2e9407),Ae(0x1,_0x3c6d09),Ae(0x2,_0x305ee1),Ae(0x3,_0x5aa706),Ae(0x4,_0x455813)],Pt);var xi=Object[_0x2bc529(0x1a2)],Hs=Object[_0x2bc529(0x1b8)],ks=(_0xca2a77,_0x2e8f72,_0x323a5b)=>_0x2e8f72 in _0xca2a77?xi(_0xca2a77,_0x2e8f72,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x323a5b}):_0xca2a77[_0x2e8f72]=_0x323a5b,js=(_0x753432,_0x4f1c12,_0x5907dd,_0x36eae5)=>{for(var _0x3f8472=_0x36eae5>0x1?void 0x0:_0x36eae5?Hs(_0x4f1c12,_0x5907dd):_0x4f1c12,_0x30043b=_0x753432['length']-0x1,_0x4f23cc;_0x30043b>=0x0;_0x30043b--)(_0x4f23cc=_0x753432[_0x30043b])&&(_0x3f8472=(_0x36eae5?_0x4f23cc(_0x4f1c12,_0x5907dd,_0x3f8472):_0x4f23cc(_0x3f8472))||_0x3f8472);return _0x36eae5&&_0x3f8472&&xi(_0x4f1c12,_0x5907dd,_0x3f8472),_0x3f8472;},St=(_0x5be510,_0x17fc5d)=>(_0xd6d004,_0x4ad2ba)=>_0x17fc5d(_0xd6d004,_0x4ad2ba,_0x5be510),Bs=(_0x1263de,_0x358330,_0x353ffa)=>ks(_0x1263de,_0x358330+'',_0x353ffa);const Fs=_0x2bc529(0x2c8);let wt=class extends _0x3fa707{constructor(_0x2b7166=Wt,_0x4447ca,_0xf4371c,_0xb79fa7){var _0x2ce24e=_0x2bc529;super(),this[_0x2ce24e(0x233)]=_0x2b7166,this[_0x2ce24e(0x2e9)]=_0x4447ca,this['_injector']=_0xf4371c,this[_0x2ce24e(0x1e1)]=_0xb79fa7;const {..._0x535658}=_0x1a9abb({},Wt,this['_config']);this[_0x2ce24e(0x1e1)]['setConfig'](q,_0x535658);}['onStarting'](){var _0x389e76=_0x2bc529;this['_registerDependencies'](),this[_0x389e76(0xf5)]();}['_registerDependencies'](){var _0x4f1829=_0x2bc529,_0x302fd5,_0x2ae58e,_0x588e70,_0xba28d8;this[_0x4f1829(0x129)][_0x4f1829(0x155)](_0x16ee51)&&this[_0x4f1829(0x2e9)][_0x4f1829(0x185)](_0x4f1829(0x192),_0x4f1829(0x273));const _0x570d73=_0x2a1c6a([[_0x16ee51,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x2ae58e=(_0x302fd5=this[_0x4f1829(0x233)])==null?void 0x0:_0x302fd5[_0x4f1829(0x376)])!=null?_0x2ae58e:Et}],[_0x59b46c,{'useClass':Dt}],[_0x414183,{'useClass':bt}],[_0x3e94da,{'useClass':yt}],[_0x465698,{'useClass':Nt}],[rt],[Rt]],(_0x588e70=this[_0x4f1829(0x233)])==null?void 0x0:_0x588e70[_0x4f1829(0x229)]);if(!((_0xba28d8=this[_0x4f1829(0x233)])!=null&&_0xba28d8[_0x4f1829(0x20d)])){const _0x9468f3=_0x570d73['findIndex'](([_0x1b1a13])=>_0x1b1a13===ht);_0x9468f3!==-0x1&&_0x570d73[_0x4f1829(0x1b2)](_0x9468f3,0x1);}_0x3a2b51(this['_injector'],_0x570d73);}[_0x2bc529(0xf5)](){var _0x1fcc8d=_0x2bc529,_0xb0df3a,_0x4e2eb7,_0x2ad89e;this[_0x1fcc8d(0x129)][_0x1fcc8d(0x227)](_0x2aebad)[_0x1fcc8d(0x325)]({'priority':0x14,'interceptor':_0x17ad46({'maxParallel':0x6})}),(_0xb0df3a=this[_0x1fcc8d(0x233)])!=null&&_0xb0df3a[_0x1fcc8d(0x196)]||(_0x4e2eb7=this['_injector'][_0x1fcc8d(0x227)](J,_0xba53e1['OPTIONAL']))==null||_0x4e2eb7[_0x1fcc8d(0x236)](),(_0x2ad89e=this['_config'])!=null&&_0x2ad89e['enableAuthServer']&&_0x702351(this[_0x1fcc8d(0x129)],[[st]]),_0x702351(this[_0x1fcc8d(0x129)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x13627c(_0x312fc2,_0x59a301,_0x556763),St(0x1,_0x455813),St(0x2,_0x168dfb(_0x25ad6f)),St(0x3,_0x56e40a)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x583b84=_0x2d6f;(function(_0x4b9802,_0xfc1ad3){var _0x49f78a=_0x2d6f,_0x577bca=_0x4b9802();while(!![]){try{var _0x16729d=-parseInt(_0x49f78a(0x315))/0x1*(parseInt(_0x49f78a(0x2e4))/0x2)+-parseInt(_0x49f78a(0x94))/0x3*(-parseInt(_0x49f78a(0x122))/0x4)+parseInt(_0x49f78a(0x301))/0x5+-parseInt(_0x49f78a(0x2a6))/0x6*(-parseInt(_0x49f78a(0x1a6))/0x7)+parseInt(_0x49f78a(0x237))/0x8+parseInt(_0x49f78a(0x100))/0x9+-parseInt(_0x49f78a(0x2f9))/0xa*(parseInt(_0x49f78a(0x324))/0xb);if(_0x16729d===_0xfc1ad3)break;else _0x577bca['push'](_0x577bca['shift']());}catch(_0x1c9522){_0x577bca['push'](_0x577bca['shift']());}}}(_0x3ee4,0xbebde));var Li=Object['defineProperty'],Mi=(_0x5d3208,_0x5333c0,_0x5c7c90)=>_0x5333c0 in _0x5d3208?Li(_0x5d3208,_0x5333c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c7c90}):_0x5d3208[_0x5333c0]=_0x5c7c90,N=(_0x2c3369,_0x873ef5,_0x281cbf)=>Mi(_0x2c3369,typeof _0x873ef5!=_0x583b84(0x152)?_0x873ef5+'':_0x873ef5,_0x281cbf);import{createIdentifier as _0x2a2119,Inject as _0x5c4668,Injector as _0x34af1d,Disposable as _0x1aefe5,DisposableCollection as _0x2db1b7,toDisposable as _0x24db1e,IConfigService as _0x160534,ILogService as _0x123211,UserManagerService as _0x44c1ba,UniverInstanceType as _0x431bd9,IUniverInstanceService as _0x4370c6,LocaleService as _0xcd17d6,Optional as _0x44dbea,RxDisposable as _0x20dc00,Tools as _0x2d6fb6,Rectangle as _0x55aca8,ICommandService as _0xb9d06b,JSONX as _0x1bc2ca,CommandType as _0x2c6493,IPermissionService as _0x314716,IUndoRedoService as _0x56aaba,sequenceExecute as _0x242bb1,Workbook as _0x2f9a3e,MentionType as _0x1525eb,IAuthzIoService as _0x1f3f0f,isInternalEditorID as _0x3e51e2,LocalUndoRedoService as _0x5243cc,IContextService as _0x376f93,DependentOn as _0x120641,Plugin as _0x11371e,merge as _0x4ccc3c,mergeOverrideWithDependencies as _0x27c6ba,IMentionIOService as _0x32c649,registerDependencies as _0x12893d,Quantity as _0x480f7b,touchDependencies as _0x412960}from'@univerjs/core';import{Subject as _0x64d656,merge as _0x61905d,of as _0x4f43e2,BehaviorSubject as _0x247d2c,takeUntil as _0x1c0a07,ReplaySubject as _0x333371,take as _0x311556,map as _0x308eae,shareReplay as _0x4c5e93,firstValueFrom as _0x5c78e2,concatMap as _0x25f3c6}from'rxjs';import{map as _0x3b1d85,take as _0x4490b6,filter as _0x2ccb3d,delay as _0x24611f,takeUntil as _0x44dfb3}from'rxjs/operators';import{HTTPService as _0x163924,ISocketService as _0x146ad8,MergeInterceptorFactory as _0x1ed1a9,HTTPRequest as _0x3b8195,UniverNetworkPlugin as _0x2105f0,ThresholdInterceptorFactory as _0x475898}from'@univerjs/network';import{CollaborationEvent as _0x332b6d,parseChangesetToProtocol as _0x43f76e,ISnapshotServerService as _0x5581d6,isTransformMutationsWithChangesetSuccess as _0x2c0ca9,ITransformService as _0x15c301,mapDocumentTypeToUniverType as _0x14fc9f,RevisionService as _0x38a7bc,isTransformChangesetsSuccess as _0x24b52a,CompressMutationService as _0xcb4869,parseProtocolChangeset as _0x2583f8,SnapshotService as _0x35716f,textEncoder as _0xc5aca8,b64DecodeUnicode as _0xc3c39a,isTransformMutationsWithChangesetFailure as _0x525453,UniverCollaborationPlugin as _0x1d6b57}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5ea7f6}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x352886}from'@univerjs/docs';import{SheetsSelectionsService as _0x2c4967,SetSelectionsOperation as _0x36f1c6,InsertSheetMutation as _0x4facfa,EmptyMutation as _0x481e79,WorkbookEditablePermission as _0x4abfdf,SheetPermissionInitController as _0x5865c0,UniverSheetsPlugin as _0x29cf6c}from'@univerjs/sheets';import{ImageSourceType as _0x29459a,ImageUploadStatusType as _0x44e917,IImageIoService as _0x4c82dc}from'@univerjs/drawing';import{getGlobalObject as _0x5c7154}from'@univerjs-pro/license';const En=_0x583b84(0x25f),In=_0x583b84(0x209),Tn=_0x583b84(0x340),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x583b84(0x127),bn=_0x583b84(0x119),On=_0x583b84(0x350),yn=_0x583b84(0x1c4),Nn=0x7530,Si=_0x583b84(0x145),Ei=0x4e20,Dn=0x4e20,Pn=_0x583b84(0x357),wn=0x3,to=_0x583b84(0x1da),io=0x3e8,Un=_0x583b84(0x227),An='/universer-api/comb',xn=_0x583b84(0x1cf),Ln='/universer-api/oidc/authpage',no=_0x583b84(0x347),ro=_0x583b84(0x290);var Ii=(_0x1b7b90=>(_0x1b7b90[_0x1b7b90[_0x583b84(0x2aa)]=0x0]='UNDEFINED',_0x1b7b90[_0x1b7b90['OK']=0x1]='OK',_0x1b7b90[_0x1b7b90[_0x583b84(0x20a)]=0x2]='INTERNAL_ERROR',_0x1b7b90[_0x1b7b90[_0x583b84(0xe3)]=0x3]='PERMISSION_DENIED',_0x1b7b90[_0x1b7b90[_0x583b84(0x2ed)]=0x4]=_0x583b84(0x2ed),_0x1b7b90[_0x1b7b90[_0x583b84(0x2de)]=0x5]=_0x583b84(0x2de),_0x1b7b90[_0x1b7b90[_0x583b84(0x2d7)]=0x6]=_0x583b84(0x2d7),_0x1b7b90[_0x1b7b90['INVALID_ARGUMENT']=0x7]=_0x583b84(0xa9),_0x1b7b90[_0x1b7b90['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1b7b90[_0x1b7b90[_0x583b84(0x1b1)]=0x9]=_0x583b84(0x1b1),_0x1b7b90[_0x1b7b90['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x583b84(0x135),_0x1b7b90[_0x1b7b90['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1b7b90[_0x1b7b90[_0x583b84(0x185)]=0x1772]=_0x583b84(0x185),_0x1b7b90[_0x1b7b90[_0x583b84(0x344)]=0x1773]=_0x583b84(0x344),_0x1b7b90[_0x1b7b90[_0x583b84(0x31d)]=0x1b59]=_0x583b84(0x31d),_0x1b7b90[_0x1b7b90[_0x583b84(0x285)]=0x1b5a]=_0x583b84(0x285),_0x1b7b90[_0x1b7b90[_0x583b84(0x1be)]=0x1b5b]=_0x583b84(0x1be),_0x1b7b90[_0x1b7b90[_0x583b84(0x2b3)]=0x1b5c]=_0x583b84(0x2b3),_0x1b7b90[_0x1b7b90[_0x583b84(0x111)]=0x1b5d]='APPLY_DUPLICATED',_0x1b7b90[_0x1b7b90[_0x583b84(0x260)]=0x1f41]=_0x583b84(0x260),_0x1b7b90[_0x1b7b90[_0x583b84(0x293)]=0x2329]=_0x583b84(0x293),_0x1b7b90[_0x1b7b90[_0x583b84(0x313)]=0x232a]=_0x583b84(0x313),_0x1b7b90[_0x1b7b90[_0x583b84(0x143)]=0x232b]=_0x583b84(0x143),_0x1b7b90[_0x1b7b90[_0x583b84(0x2cf)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1b7b90[_0x1b7b90[_0x583b84(0x1b3)]=0x232d]=_0x583b84(0x1b3),_0x1b7b90[_0x1b7b90['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1b7b90[_0x1b7b90['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x583b84(0x167),_0x1b7b90[_0x1b7b90['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x583b84(0x1a1),_0x1b7b90[_0x1b7b90[_0x583b84(0x25e)]=0x2714]=_0x583b84(0x25e),_0x1b7b90[_0x1b7b90[_0x583b84(0x1f0)]=0x2af9]=_0x583b84(0x1f0),_0x1b7b90[_0x1b7b90['UNRECOGNIZED']=-0x1]=_0x583b84(0x1ec),_0x1b7b90))(Ii||{}),Q=(_0x5bc03a=>(_0x5bc03a[_0x5bc03a[_0x583b84(0x236)]=0x0]=_0x583b84(0x236),_0x5bc03a[_0x5bc03a[_0x583b84(0xb5)]=0x1]=_0x583b84(0xb5),_0x5bc03a[_0x5bc03a['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x5bc03a[_0x5bc03a['UNIVER_SLIDE']=0x3]=_0x583b84(0x1fd),_0x5bc03a[_0x5bc03a[_0x583b84(0x26e)]=0x4]=_0x583b84(0x26e),_0x5bc03a[_0x5bc03a[_0x583b84(0x1ec)]=-0x1]=_0x583b84(0x1ec),_0x5bc03a))(Q||{}),F=(_0xcca5f=>(_0xcca5f[_0xcca5f[_0x583b84(0x254)]=0x0]=_0x583b84(0x254),_0xcca5f[_0xcca5f[_0x583b84(0x1d4)]=0x1]='HELLO',_0xcca5f[_0xcca5f[_0x583b84(0xa8)]=0x2]=_0x583b84(0xa8),_0xcca5f[_0xcca5f[_0x583b84(0x31a)]=0x3]='LEAVE',_0xcca5f[_0xcca5f[_0x583b84(0x29d)]=0x4]=_0x583b84(0x29d),_0xcca5f[_0xcca5f[_0x583b84(0x310)]=0x5]=_0x583b84(0x310),_0xcca5f[_0xcca5f[_0x583b84(0x336)]=0x6]=_0x583b84(0x336),_0xcca5f[_0xcca5f[_0x583b84(0x1ec)]=-0x1]=_0x583b84(0x1ec),_0xcca5f))(F||{}),Ee=(_0x174355=>(_0x174355[_0x174355[_0x583b84(0x2ad)]=0x0]=_0x583b84(0x2ad),_0x174355[_0x174355['OK']=0x1]='OK',_0x174355[_0x174355[_0x583b84(0x18d)]=0x2]=_0x583b84(0x18d),_0x174355[_0x174355['JOIN_ROOM_FULL']=0x3e9]=_0x583b84(0x1fe),_0x174355[_0x174355[_0x583b84(0x12c)]=0x3ea]=_0x583b84(0x12c),_0x174355[_0x174355[_0x583b84(0xc6)]=0x3eb]=_0x583b84(0xc6),_0x174355[_0x174355[_0x583b84(0x36f)]=0x3ec]=_0x583b84(0x36f),_0x174355[_0x174355[_0x583b84(0x1ec)]=-0x1]='UNRECOGNIZED',_0x174355))(Ee||{}),Ti=(_0x290b43=>(_0x290b43[_0x290b43[_0x583b84(0xcb)]=0x0]=_0x583b84(0xcb),_0x290b43[_0x290b43['HttpImport']=0x1]=_0x583b84(0x30e),_0x290b43[_0x290b43['HttpExport']=0x2]=_0x583b84(0x321),_0x290b43[_0x290b43[_0x583b84(0x300)]=0x3]=_0x583b84(0x300),_0x290b43[_0x290b43['UnitSnapshot']=0x4]=_0x583b84(0x114),_0x290b43[_0x290b43[_0x583b84(0x1ec)]=-0x1]=_0x583b84(0x1ec),_0x290b43))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x397ba6=>(_0x397ba6[_0x583b84(0xe1)]=_0x583b84(0xe1),_0x397ba6[_0x583b84(0xe3)]=_0x583b84(0xe3),_0x397ba6[_0x583b84(0x96)]=_0x583b84(0x96),_0x397ba6[_0x583b84(0x170)]=_0x583b84(0x170),_0x397ba6[_0x583b84(0x2e6)]=_0x583b84(0x2e6),_0x397ba6['SOCKET_FAILED_RETRY']=_0x583b84(0x31c),_0x397ba6[_0x583b84(0x13a)]=_0x583b84(0x13a),_0x397ba6['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x397ba6))(se||{});class pe{constructor(){var _0x18d43a=_0x583b84;N(this,_0x18d43a(0x2d5),new _0x64d656()),N(this,_0x18d43a(0xc8),this['_event$'][_0x18d43a(0xb6)]());}[_0x583b84(0x2f3)](_0x2a3b36){var _0x598a3a=_0x583b84;this[_0x598a3a(0x2d5)][_0x598a3a(0x1f3)](_0x2a3b36);}}const Mn=_0x2a2119('univer-pro.collaboration-client.network-condition.service');function $n(_0x4cd1e4){var _0x747050=_0x583b84,_0x28d7e5,_0x53f788,_0xea8b3e,_0x268ef1,_0x8d7d7;const _0x200dab=_0x4cd1e4[_0x747050(0x359)],_0x1a720d=JSON['parse'](_0x200dab);switch(_0x1a720d[_0x747050(0x332)]){case F[_0x747050(0x310)]:case F[_0x747050(0x1d4)]:{const _0x214822=_0x1a720d['infoRsp'];return{..._0x1a720d,'data':_0x214822,'cmd':_0x1a720d[_0x747050(0x332)]};}case F[_0x747050(0xa8)]:{const _0x271a28=_0x1a720d[_0x747050(0xef)];return{..._0x1a720d,'data':_0x271a28,'cmd':_0x1a720d['cmd']};}case F[_0x747050(0x336)]:{const _0x3345f5=_0x1a720d[_0x747050(0x213)];switch(_0x3345f5['eventID']){case _0x332b6d[_0x747050(0x263)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':(_0x28d7e5=_0x3345f5[_0x747050(0x358)])==null?void 0x0:_0x28d7e5['cs']},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0x113)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':(_0x53f788=_0x3345f5[_0x747050(0x360)])==null?void 0x0:_0x53f788['cs']},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d['NEW_CHANGESETS']:return{..._0x1a720d,'data':{..._0x3345f5,'data':(_0xea8b3e=_0x3345f5['newCsEvent'])==null?void 0x0:_0xea8b3e['cs']},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d['CHANGESET_REJ']:return{..._0x1a720d,'data':{..._0x3345f5,'data':(_0x268ef1=_0x3345f5[_0x747050(0x17a)])==null?void 0x0:_0x268ef1['cs']},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0x38a)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':(_0x8d7d7=_0x3345f5[_0x747050(0x1f2)])==null?void 0x0:_0x8d7d7['cs']},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0x101)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5[_0x747050(0x302)]},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0x251)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5[_0x747050(0x286)]},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0x2fe)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5[_0x747050(0xf5)]},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d['LIVESHARE_NEW_HOST']:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5['liveShareNewHost']},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0xab)]:case _0x332b6d[_0x747050(0xf3)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5[_0x747050(0x2ba)]},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0x207)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5[_0x747050(0x20d)]},'cmd':_0x1a720d['cmd']};case _0x332b6d[_0x747050(0x1b7)]:return{..._0x1a720d,'data':_0x3345f5,'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0x105)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5[_0x747050(0x27c)]},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0xc9)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5['updatePermissionObjEvent']},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d[_0x747050(0xd6)]:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5[_0x747050(0x153)]},'cmd':_0x1a720d[_0x747050(0x332)]};case _0x332b6d['UNISCRIPT_RUN']:return{..._0x1a720d,'data':{..._0x3345f5,'data':_0x3345f5[_0x747050(0x30f)]},'cmd':_0x1a720d[_0x747050(0x332)]};default:return _0x1a720d;}}default:return _0x1a720d;}}function Hn(_0x3a82bd){var _0x544916=_0x583b84;switch(_0x3a82bd[_0x544916(0x332)]){case F[_0x544916(0x310)]:case F[_0x544916(0x1d4)]:return JSON['stringify']({'cmd':_0x3a82bd['cmd'],'routeKey':_0x3a82bd[_0x544916(0x1e5)]});case F[_0x544916(0x29d)]:{let _0x323b6d;switch(_0x3a82bd[_0x544916(0x359)][_0x544916(0x1a9)]){case _0x332b6d['UPDATE_CURSOR']:{_0x323b6d={'eventID':_0x332b6d[_0x544916(0x101)],'updateCursorEvent':_0x3a82bd[_0x544916(0x359)][_0x544916(0x359)]};break;}case _0x332b6d['USERS_LEAVE']:{_0x323b6d={'eventID':_0x332b6d[_0x544916(0x2fe)],'leaveEvent':_0x3a82bd['data']['data']};break;}case _0x332b6d['USERS_ENTER']:{_0x323b6d={'eventID':_0x332b6d['USERS_ENTER'],'joinEvent':_0x3a82bd[_0x544916(0x359)][_0x544916(0x359)]};break;}case _0x332b6d[_0x544916(0x363)]:{_0x323b6d={'eventID':_0x332b6d[_0x544916(0x363)],'liveShareNewHost':_0x3a82bd[_0x544916(0x359)]['data']};break;}case _0x332b6d[_0x544916(0xf3)]:{_0x323b6d={'eventID':_0x332b6d[_0x544916(0xf3)],'liveShareOperation':_0x3a82bd[_0x544916(0x359)][_0x544916(0x359)]};break;}case _0x332b6d[_0x544916(0x207)]:{_0x323b6d={'eventID':_0x332b6d[_0x544916(0x207)],'liveShareTerminate':_0x3a82bd[_0x544916(0x359)]['data']};break;}case _0x332b6d['LIVESHARE_REQUEST_HOST']:{_0x323b6d={'eventID':_0x332b6d[_0x544916(0x379)],'liveShareRequestHost':_0x3a82bd[_0x544916(0x359)][_0x544916(0x359)]};break;}case _0x332b6d[_0x544916(0xab)]:{_0x323b6d={'eventID':_0x332b6d[_0x544916(0xab)]};break;}default:_0x323b6d={'eventID':_0x3a82bd['data']['eventID']};}return JSON[_0x544916(0x1a2)]({'cmd':_0x3a82bd[_0x544916(0x332)],'routeKey':_0x3a82bd[_0x544916(0x1e5)],'collaMsg':_0x323b6d});}case F['JOIN']:return JSON[_0x544916(0x1a2)]({'cmd':_0x3a82bd[_0x544916(0x332)],'routeKey':_0x3a82bd[_0x544916(0x1e5)],'joinReq':_0x3a82bd['data']});case F[_0x544916(0x31a)]:return JSON[_0x544916(0x1a2)]({'cmd':_0x3a82bd['cmd'],'routeKey':_0x3a82bd[_0x544916(0x1e5)],'leaveReq':_0x3a82bd['data']});default:throw new Error(_0x544916(0x179));}}var kn=Object['defineProperty'],jn=Object[_0x583b84(0x17e)],Bn=(_0x54fbc4,_0x42345e,_0x5afcc6,_0xe600a4)=>{var _0x2dd3d5=_0x583b84;for(var _0x398eab=_0xe600a4>0x1?void 0x0:_0xe600a4?jn(_0x42345e,_0x5afcc6):_0x42345e,_0x19d842=_0x54fbc4[_0x2dd3d5(0x30d)]-0x1,_0x5930b6;_0x19d842>=0x0;_0x19d842--)(_0x5930b6=_0x54fbc4[_0x19d842])&&(_0x398eab=(_0xe600a4?_0x5930b6(_0x42345e,_0x5afcc6,_0x398eab):_0x5930b6(_0x398eab))||_0x398eab);return _0xe600a4&&_0x398eab&&kn(_0x42345e,_0x5afcc6,_0x398eab),_0x398eab;},Ue=(_0x41946c,_0x4fb76f)=>(_0x5038a8,_0x25593c)=>_0x4fb76f(_0x5038a8,_0x25593c,_0x41946c);const Ci=_0x2a2119('univer-pro.collaboration-client-socket-service');function Fn(_0x145674,_0x47c913,_0x3858ea){var _0x1c6438=_0x583b84;return _0x145674+'/'+_0x47c913+'/unit/'+_0x3858ea+_0x1c6438(0xdd);}let Et=class extends _0x1aefe5{constructor(_0x3d9a54,_0x205939,_0x1e8b82,_0x24219f,_0xa0247d){var _0x3ff4d2=_0x583b84;super(),this[_0x3ff4d2(0x34f)]=_0x3d9a54,this[_0x3ff4d2(0x2a3)]=_0x205939,this['_configService']=_0x1e8b82,this[_0x3ff4d2(0x195)]=_0x24219f,this[_0x3ff4d2(0x243)]=_0xa0247d;}['createSocket'](_0xd5cedc){var _0x15847b=_0x583b84;const _0x4de25c=this[_0x15847b(0x34f)]['get'](_0x146ad8);if(!_0x4de25c)throw new Error(_0x15847b(0x23b));const _0x3c65d9=_0x4de25c[_0x15847b(0x126)](_0xd5cedc);if(!_0x3c65d9)throw new Error(_0x15847b(0xf0));const _0x4738f9=new _0x2db1b7(),_0x17cc1a=new _0x64d656();_0x4738f9[_0x15847b(0x223)](_0x3c65d9[_0x15847b(0x149)][_0x15847b(0x9b)](_0x310258=>_0x17cc1a[_0x15847b(0x1f3)](_0x310258))),_0x4738f9[_0x15847b(0x223)](_0x24db1e(()=>_0x17cc1a[_0x15847b(0xb4)]()));const _0x3617ee=new _0x64d656();_0x4738f9['add'](_0x3c65d9[_0x15847b(0x1d5)][_0x15847b(0x9b)](_0x2e46a7=>_0x3617ee[_0x15847b(0x1f3)](_0x2e46a7))),_0x4738f9[_0x15847b(0x223)](_0x24db1e(()=>_0x3617ee[_0x15847b(0xb4)]()));const _0x541b4f=new _0x64d656();_0x4738f9[_0x15847b(0x223)](_0x3c65d9[_0x15847b(0x189)][_0x15847b(0x9b)](_0x42e5f4=>{var _0x16a9ed=_0x15847b;const _0x17b0d9=$n(_0x42e5f4);_0x541b4f[_0x16a9ed(0x1f3)](_0x17b0d9);})),_0x4738f9[_0x15847b(0x223)](_0x24db1e(()=>_0x541b4f[_0x15847b(0xb4)]()));let _0x7ada0e;const _0x2ac4ac=()=>{var _0x24be29=_0x15847b;_0x3617ee['next'](new Event('connection\x20error')),_0x17cc1a[_0x24be29(0x1f3)](new CloseEvent(_0x24be29(0x31e))),_0x7ada0e[_0x24be29(0x334)]();};return _0x7ada0e={'memberID':'','close$':_0x17cc1a[_0x15847b(0xb6)](),'error$':_0x3617ee['asObservable'](),'open$':_0x3c65d9[_0x15847b(0x28d)],'message$':_0x541b4f[_0x15847b(0xb6)](),'send':_0x33313e=>{var _0x1e8c47=_0x15847b;if(_0x33313e[_0x1e8c47(0x332)]===F[_0x1e8c47(0x29d)]){if(_0x33313e[_0x1e8c47(0x359)]['eventID']===_0x332b6d[_0x1e8c47(0x168)]){this[_0x1e8c47(0x10c)](_0x7ada0e,_0x33313e[_0x1e8c47(0x359)])[_0x1e8c47(0x91)](_0xdd118e=>{var _0x445cc9=_0x1e8c47;this[_0x445cc9(0x195)]['error'](_0xdd118e),_0x2ac4ac();});return;}if(_0x33313e[_0x1e8c47(0x359)]['eventID']===_0x332b6d['FETCH_MISSING']){const _0x1b5de9=_0x33313e[_0x1e8c47(0x359)];this['_fetchMissChangesets'](_0x1b5de9)[_0x1e8c47(0x10b)](_0x4681d9=>{var _0x248889=_0x1e8c47;_0x541b4f[_0x248889(0x1f3)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x1b5de9[_0x248889(0x359)][_0x248889(0x115)],'routeType':'','data':{'eventID':_0x332b6d[_0x248889(0x1c2)],'data':{'changesets':_0x4681d9}}});})[_0x1e8c47(0x91)](_0x2701c8=>{var _0x38e577=_0x1e8c47;this[_0x38e577(0x195)][_0x38e577(0x1bf)](_0x2701c8),_0x2ac4ac();});return;}}_0x3c65d9[_0x1e8c47(0x365)](Hn(_0x33313e));},'close':()=>{var _0x5de6f9=_0x15847b;_0x3c65d9[_0x5de6f9(0x334)](),_0x4738f9['dispose']();}},_0x7ada0e;}async[_0x583b84(0x10c)](_0x3fb82a,_0x1d10fa){var _0x5e2c65=_0x583b84,_0xec5d6b,_0x4e0767;const {unitType:_0x34fd68,unitID:_0x46e27f,changeset:_0x10d838}=_0x1d10fa[_0x5e2c65(0x359)],_0x10a9eb={'unitID':_0x46e27f,'memberID':_0x3fb82a[_0x5e2c65(0x2b0)],'type':_0x34fd68,'changeset':_0x43f76e(_0x10d838)},_0x581420=this[_0x5e2c65(0x36b)]['getConfig'](Un),_0x14ff86=this[_0x5e2c65(0x36b)]['getConfig'](q),_0x109841=Fn((_0x4e0767=(_0xec5d6b=_0x14ff86==null?void 0x0:_0x14ff86[_0x5e2c65(0x19a)])!=null?_0xec5d6b:_0x581420)!=null?_0x4e0767:An,_0x34fd68,_0x46e27f);try{await this[_0x5e2c65(0x2a3)][_0x5e2c65(0x1b9)](_0x109841,{'body':_0x10a9eb});}catch(_0x144adc){throw this['_logService'][_0x5e2c65(0x1bf)](_0x5e2c65(0x1dc),'submit\x20changeset\x20error!'),_0x144adc;}}async[_0x583b84(0x37e)](_0x3a8173){var _0xe56196=_0x583b84;const {unitID:_0x4d9821,from:_0x5f4ab2,to:_0x3f0bd1,unitType:_0x59e3b3}=_0x3a8173[_0xe56196(0x359)];return(await this[_0xe56196(0x243)][_0xe56196(0x24c)]({'metadata':void 0x0},{'unitID':_0x4d9821,'type':_0x59e3b3,'from':_0x5f4ab2,'to':_0x3f0bd1}))[_0xe56196(0x2ee)];}};Et=Bn([Ue(0x0,_0x5c4668(_0x34af1d)),Ue(0x1,_0x5c4668(_0x163924)),Ue(0x2,_0x160534),Ue(0x3,_0x123211),Ue(0x4,_0x5581d6)],Et);const Vn=_0x583b84(0x201);function Gn(_0x48f1d3){var _0x5778d4=_0x583b84;return JSON[_0x5778d4(0x1a2)](_0x48f1d3)[_0x5778d4(0x30d)];}class Ri{constructor(){var _0x218df7=_0x583b84;N(this,_0x218df7(0x269),new _0x64d656()),N(this,'commentUpdate$',this[_0x218df7(0x269)][_0x218df7(0xb6)]());}[_0x583b84(0xc5)](_0x91e361){var _0x57a2b4=_0x583b84;this[_0x57a2b4(0x269)][_0x57a2b4(0x1f3)](_0x91e361);}}var Wn=Object[_0x583b84(0x14e)],Kn=Object[_0x583b84(0x17e)],Yn=(_0x3b58ce,_0x2574c0,_0x137a39,_0x4eb304)=>{var _0x21b3ee=_0x583b84;for(var _0x23d073=_0x4eb304>0x1?void 0x0:_0x4eb304?Kn(_0x2574c0,_0x137a39):_0x2574c0,_0x14918a=_0x3b58ce[_0x21b3ee(0x30d)]-0x1,_0x3b8f71;_0x14918a>=0x0;_0x14918a--)(_0x3b8f71=_0x3b58ce[_0x14918a])&&(_0x23d073=(_0x4eb304?_0x3b8f71(_0x2574c0,_0x137a39,_0x23d073):_0x3b8f71(_0x23d073))||_0x23d073);return _0x4eb304&&_0x23d073&&Wn(_0x2574c0,_0x137a39,_0x23d073),_0x23d073;},Kt=(_0x58704c,_0x32f883)=>(_0x116c2f,_0x598fa4)=>_0x32f883(_0x116c2f,_0x598fa4,_0x58704c);let xe=class extends _0x1aefe5{constructor(_0x5717d4,_0x172202){var _0x5240f6=_0x583b84;super(),N(this,_0x5240f6(0x1d9),new Map()),N(this,_0x5240f6(0x279),new _0x64d656()),(this[_0x5240f6(0x390)]=_0x5717d4,this[_0x5240f6(0x2db)]=_0x172202,this[_0x5240f6(0x291)](_0x61905d(this[_0x5240f6(0x390)][_0x5240f6(0x1fc)](_0x431bd9[_0x5240f6(0x1f5)])['pipe'](_0x3b1d85(_0x3aaba9=>_0x3aaba9['getUnitId']())),this['_univerInstanceService'][_0x5240f6(0x1fc)](_0x431bd9[_0x5240f6(0xb5)])[_0x5240f6(0x161)](_0x3b1d85(_0x232a80=>_0x232a80['getUnitId']())),this['_univerInstanceService'][_0x5240f6(0x1fc)](_0x431bd9[_0x5240f6(0x1fd)])[_0x5240f6(0x161)](_0x3b1d85(_0x27add7=>_0x27add7[_0x5240f6(0x22d)]())))[_0x5240f6(0x9b)](_0x4b9b4e=>this[_0x5240f6(0x2eb)](_0x4b9b4e))));}[_0x583b84(0x348)](_0x365b62){var _0x1df74f=_0x583b84;return this['_roomMembers'][_0x1df74f(0x21d)](_0x365b62)?_0x4f43e2(this['_roomMembers']['get'](_0x365b62)):this[_0x1df74f(0x279)][_0x1df74f(0x161)](_0x3b1d85(_0x36f538=>{var _0x23f985=_0x1df74f;if(_0x36f538===_0x365b62)return this[_0x23f985(0x1d9)][_0x23f985(0x1d0)](_0x36f538);}));}[_0x583b84(0xe9)](_0x21a81e){var _0x328697=_0x583b84;this['_userManagerService'][_0x328697(0xe9)](_0x21a81e);}[_0x583b84(0x240)](){var _0x1ce42c=_0x583b84;return this[_0x1ce42c(0x2db)][_0x1ce42c(0x240)]();}[_0x583b84(0x244)](_0xdf8c93,_0x480214){var _0x43f1e6=_0x583b84;let _0x5a1d69=this[_0x43f1e6(0x1d9)][_0x43f1e6(0x1d0)](_0xdf8c93);_0x5a1d69||(_0x5a1d69=new qn(),this[_0x43f1e6(0x1d9)][_0x43f1e6(0x371)](_0xdf8c93,_0x5a1d69),this[_0x43f1e6(0x279)][_0x43f1e6(0x1f3)](_0xdf8c93)),_0x5a1d69[_0x43f1e6(0x244)](_0x480214);}['removeMember'](_0x3b51b2,_0x419d21){var _0x290164=_0x583b84;const _0x3e7e86=this['_roomMembers']['get'](_0x3b51b2);_0x3e7e86&&_0x3e7e86[_0x290164(0x323)](_0x419d21);}['getRoom'](_0x278856){var _0x5aad05=_0x583b84;return this[_0x5aad05(0x1d9)][_0x5aad05(0x1d0)](_0x278856);}[_0x583b84(0x345)](_0x53ac81,_0x439ddb){var _0x35026a=_0x583b84;const _0x232637=this[_0x35026a(0x1d9)][_0x35026a(0x1d0)](_0x53ac81);if(_0x232637)return _0x232637[_0x35026a(0x345)](_0x439ddb);}[_0x583b84(0x2eb)](_0x4e3bb5){var _0x4ff3c8=_0x583b84;const _0x439b87=this['_roomMembers'][_0x4ff3c8(0x1d0)](_0x4e3bb5);_0x439b87&&(_0x439b87[_0x4ff3c8(0x1ab)](),this[_0x4ff3c8(0x1d9)][_0x4ff3c8(0x2f1)](_0x4e3bb5));}['dispose'](){var _0x3cad15=_0x583b84;this['_roomMembers']['forEach'](_0x1038af=>_0x1038af[_0x3cad15(0x1ab)]()),this[_0x3cad15(0x1d9)][_0x3cad15(0x2df)](),this[_0x3cad15(0x279)][_0x3cad15(0xb4)]();}};xe=Yn([Kt(0x0,_0x4370c6),Kt(0x1,_0x5c4668(_0x44c1ba))],xe);class qn extends _0x1aefe5{constructor(){var _0x58e637=_0x583b84;super(...arguments),N(this,'_members',new Map()),N(this,_0x58e637(0x2c0),new _0x247d2c(this[_0x58e637(0x13c)])),N(this,_0x58e637(0xca),this[_0x58e637(0x2c0)][_0x58e637(0xb6)]());}[_0x583b84(0x1ab)](){var _0x381fe9=_0x583b84;this['_members'][_0x381fe9(0x2df)]();}[_0x583b84(0x244)](_0x113a68){var _0x2e9823=_0x583b84;this[_0x2e9823(0x13c)][_0x2e9823(0x371)](_0x113a68[_0x2e9823(0x2b0)],_0x113a68),this[_0x2e9823(0x8e)]();}[_0x583b84(0x323)](_0x133cc9){var _0x261439=_0x583b84;this[_0x261439(0x13c)][_0x261439(0x2f1)](_0x133cc9);}['getMember'](_0x5f0367){var _0x5696de=_0x583b84;return this[_0x5696de(0x13c)]['get'](_0x5f0367);}[_0x583b84(0x257)](){var _0x23d786=_0x583b84;return Array[_0x23d786(0x217)](this[_0x23d786(0x13c)][_0x23d786(0x37d)]());}[_0x583b84(0x8e)](){var _0x14f524=_0x583b84;this[_0x14f524(0x2c0)][_0x14f524(0x1f3)](this[_0x14f524(0x13c)]);}}var zn=Object['defineProperty'],Jn=Object[_0x583b84(0x17e)],Xn=(_0xd5c62c,_0x1640fa,_0x1089f3,_0x1cc0dd)=>{var _0x370c2f=_0x583b84;for(var _0x1c21cb=_0x1cc0dd>0x1?void 0x0:_0x1cc0dd?Jn(_0x1640fa,_0x1089f3):_0x1640fa,_0x4e0d92=_0xd5c62c[_0x370c2f(0x30d)]-0x1,_0x5e1b67;_0x4e0d92>=0x0;_0x4e0d92--)(_0x5e1b67=_0xd5c62c[_0x4e0d92])&&(_0x1c21cb=(_0x1cc0dd?_0x5e1b67(_0x1640fa,_0x1089f3,_0x1c21cb):_0x5e1b67(_0x1c21cb))||_0x1c21cb);return _0x1cc0dd&&_0x1c21cb&&zn(_0x1640fa,_0x1089f3,_0x1c21cb),_0x1c21cb;},me=(_0x1af236,_0x5405c0)=>(_0x39c98f,_0xdd7e2d)=>_0x5405c0(_0x39c98f,_0xdd7e2d,_0x1af236),Te=(_0x3ff81b=>(_0x3ff81b[_0x3ff81b[_0x583b84(0x2d1)]=0x0]=_0x583b84(0x2d1),_0x3ff81b[_0x3ff81b[_0x583b84(0xd9)]=0x1]=_0x583b84(0xd9),_0x3ff81b[_0x3ff81b[_0x583b84(0x2e9)]=0x2]=_0x583b84(0x2e9),_0x3ff81b[_0x3ff81b[_0x583b84(0x128)]=0x3]=_0x583b84(0x128),_0x3ff81b))(Te||{});const Yt={[Ee[_0x583b84(0x18d)]]:'session.join-failed',[Ee[_0x583b84(0x1fe)]]:'session.room-full',[Ee[_0x583b84(0x12c)]]:_0x583b84(0xcc),[Ee[_0x583b84(0xc6)]]:_0x583b84(0xcd),[Ee[_0x583b84(0x36f)]]:_0x583b84(0x278)};let It=class extends _0x20dc00{constructor(_0xb44da0,_0x2a7947,_0xf0d46e,_0x1dadf3,_0x5e3bc9,_0x5e1e2c,_0x7ded5a,_0x5f136e,_0x2bc9ec){var _0x4c56d0=_0x583b84;super(),N(this,_0x4c56d0(0xf4),new _0x247d2c(0x0)),N(this,_0x4c56d0(0x93),this['_sessionStatus$'][_0x4c56d0(0xb6)]()),N(this,_0x4c56d0(0x2d5),new _0x64d656()),N(this,_0x4c56d0(0xc8),this[_0x4c56d0(0x2d5)][_0x4c56d0(0xb6)]()),N(this,'_socket'),N(this,_0x4c56d0(0x320)),N(this,_0x4c56d0(0x314)),N(this,_0x4c56d0(0x2e7),!0x1),N(this,'_telemetryInfo',null),(this[_0x4c56d0(0x16b)]=_0xb44da0,this[_0x4c56d0(0x195)]=_0xf0d46e,this[_0x4c56d0(0x36b)]=_0x1dadf3,this['_localeService']=_0x5e3bc9,this[_0x4c56d0(0x24a)]=_0x5e1e2c,this[_0x4c56d0(0x150)]=_0x7ded5a,this[_0x4c56d0(0x308)]=_0x5f136e,this['_telemetryService']=_0x2bc9ec,this[_0x4c56d0(0x2e7)]=!!this[_0x4c56d0(0x375)],_0x2a7947[_0x4c56d0(0x161)](_0x1c0a07(this[_0x4c56d0(0x1ee)]))[_0x4c56d0(0x9b)](_0x1ca9ca=>{var _0x4dc5a1=_0x4c56d0,_0x225194;typeof _0x1ca9ca>'u'||(this['_socket']=_0x1ca9ca,_0x1ca9ca?(this[_0x4dc5a1(0x224)](_0x1ca9ca),this[_0x4dc5a1(0x320)]=_0x1ca9ca[_0x4dc5a1(0x189)][_0x4dc5a1(0x9b)](_0x4af041=>{var _0x506ebf=_0x4dc5a1;_0x4af041['routeKey']===this['_unitID']&&this[_0x506ebf(0x1d7)](_0x4af041);})):(this[_0x4dc5a1(0x229)](),this[_0x4dc5a1(0xf4)][_0x4dc5a1(0x1f3)](0x2),(_0x225194=this[_0x4dc5a1(0x320)])==null||_0x225194[_0x4dc5a1(0x18c)](),this[_0x4dc5a1(0x320)]=null));}));}get['sessionStatus'](){var _0x7a03ac=_0x583b84;return this[_0x7a03ac(0xf4)][_0x7a03ac(0x130)]();}[_0x583b84(0x361)](){var _0x57b30b=_0x583b84,_0x18b1ff,_0x4add6f;return(_0x4add6f=(_0x18b1ff=this[_0x57b30b(0x239)])==null?void 0x0:_0x18b1ff[_0x57b30b(0x2b0)])!=null?_0x4add6f:null;}[_0x583b84(0x1ab)](){var _0x49ba05=_0x583b84;super[_0x49ba05(0x1ab)](),this[_0x49ba05(0x1ee)][_0x49ba05(0x1f3)](),this[_0x49ba05(0x1ee)][_0x49ba05(0xb4)]();}['close'](){var _0x2f5783=_0x583b84,_0x501ecf,_0xaa80bf;this[_0x2f5783(0x229)](),(_0x501ecf=this[_0x2f5783(0x239)])==null||_0x501ecf[_0x2f5783(0x365)]({'cmd':F[_0x2f5783(0x31a)],'data':{'roomID':this[_0x2f5783(0x16b)]}}),(_0xaa80bf=this[_0x2f5783(0x239)])==null||_0xaa80bf[_0x2f5783(0x334)](),this[_0x2f5783(0x2d5)][_0x2f5783(0xb4)](),this['_sessionStatus$'][_0x2f5783(0xb4)](),this[_0x2f5783(0x1ab)]();}[_0x583b84(0x1d7)](_0x118ede){var _0x1ea679=_0x583b84;_0x118ede[_0x1ea679(0x332)]===F[_0x1ea679(0xa8)]?this[_0x1ea679(0x108)](_0x118ede):_0x118ede[_0x1ea679(0x332)]===F[_0x1ea679(0x336)]&&this[_0x1ea679(0xc7)](_0x118ede);}[_0x583b84(0x224)](_0x3b9041){var _0x32ed54=_0x583b84;this['_sessionStatus$']['next'](0x1),_0x3b9041[_0x32ed54(0x365)]({'cmd':F[_0x32ed54(0xa8)],'routeKey':this[_0x32ed54(0x16b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x32ed54(0x16b)]}]}});}[_0x583b84(0x108)](_0x450080){var _0x5d05ad=_0x583b84,_0x78f4ee;if(_0x450080['code']in Yt){this[_0x5d05ad(0x308)][_0x5d05ad(0x2f3)]({'id':se[_0x5d05ad(0x2e6)],'data':Yt[_0x450080['code']]}),this[_0x5d05ad(0xf4)]['next'](0x2);return;}this[_0x5d05ad(0xf4)][_0x5d05ad(0x1f3)](0x3);const _0x4a28bd=(_0x78f4ee=_0x450080[_0x5d05ad(0x359)][_0x5d05ad(0x35a)][this[_0x5d05ad(0x16b)]])==null?void 0x0:_0x78f4ee[_0x5d05ad(0x241)];_0x4a28bd&&_0x4a28bd[_0x5d05ad(0x12a)](_0x181a84=>this[_0x5d05ad(0x24a)]['updateMember'](this[_0x5d05ad(0x16b)],_0x181a84));}[_0x583b84(0xc7)](_0x175874){var _0x9a2296=_0x583b84;try{const _0x49da0a=_0x175874[_0x9a2296(0x359)];switch(_0x49da0a[_0x9a2296(0x1a9)]){case _0x332b6d[_0x9a2296(0x251)]:this[_0x9a2296(0x27a)](_0x49da0a),this[_0x9a2296(0x2d5)][_0x9a2296(0x1f3)](_0x49da0a);break;case _0x332b6d[_0x9a2296(0x2fe)]:this[_0x9a2296(0x191)](_0x49da0a),this[_0x9a2296(0x2d5)][_0x9a2296(0x1f3)](_0x49da0a);break;case _0x332b6d[_0x9a2296(0x113)]:case _0x332b6d['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x9a2296(0x1f3)](_0x49da0a);break;case _0x332b6d[_0x9a2296(0x1b7)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x9a2296(0x1a2)](_0x49da0a)),this[_0x9a2296(0x2d5)]['next'](_0x49da0a);break;case _0x332b6d[_0x9a2296(0x105)]:this[_0x9a2296(0x150)]['onCommentUpdate'](_0x49da0a[_0x9a2296(0x359)]),this[_0x9a2296(0x2d5)][_0x9a2296(0x1f3)](_0x49da0a);break;default:this[_0x9a2296(0x2d5)]['next'](_0x49da0a);}}catch(_0x2a6637){this[_0x9a2296(0x195)][_0x9a2296(0x1bf)](_0x2a6637,_0x175874);}}[_0x583b84(0x27a)](_0x1e039b){var _0xb6ebe6=_0x583b84;this[_0xb6ebe6(0x24a)][_0xb6ebe6(0x244)](this[_0xb6ebe6(0x16b)],_0x1e039b[_0xb6ebe6(0x359)]);}[_0x583b84(0x191)](_0x23e00f){var _0x2a579b=_0x583b84;this[_0x2a579b(0x24a)][_0x2a579b(0x323)](this[_0x2a579b(0x16b)],_0x23e00f[_0x2a579b(0x359)][_0x2a579b(0x2b0)]);}async[_0x583b84(0x365)](_0x3dbaf7,_0x55d24e){var _0x2a5545=_0x583b84;if(this[_0x2a5545(0x362)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3dbaf7[_0x2a5545(0x1a9)]===_0x332b6d[_0x2a5545(0x168)]&&(this[_0x2a5545(0xee)](),this[_0x2a5545(0x303)](_0x3dbaf7)),this['_socket'][_0x2a5545(0x365)]({'cmd':F['INGEST'],'routeKey':_0x55d24e,'routeType':'','data':_0x3dbaf7});}catch(_0x2b6ed5){this['_logService']['error'](_0x2b6ed5);}}[_0x583b84(0xee)](){var _0x1402b6=_0x583b84,_0xfe2be5;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1d32f3=_0x2d6f;this[_0x1d32f3(0x314)]=null,this[_0x1d32f3(0x308)][_0x1d32f3(0x2f3)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0xfe2be5=this[_0x1402b6(0x36b)][_0x1402b6(0x197)](Si))!=null?_0xfe2be5:Ei);}[_0x583b84(0xa7)](){var _0x3346ca=_0x583b84;this[_0x3346ca(0x314)]&&(clearTimeout(this[_0x3346ca(0x314)]),this[_0x3346ca(0x314)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x41d8ca){var _0x4dff6a=_0x583b84;if(!this[_0x4dff6a(0x2e7)])return;const {data:_0x4d1827}=_0x41d8ca,{unitID:_0x366441,changeset:_0x1e5dfe}=_0x4d1827,{mutations:_0x4bb1b4,type:_0x3cadd5}=_0x1e5dfe;this[_0x4dff6a(0x110)]={'unitId':_0x366441,'type':_0x3cadd5,'startTime':performance[_0x4dff6a(0x173)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4bb1b4)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xc66bf0=_0x583b84;if(this['_shouldReportTelemetry']){if(!this[_0xc66bf0(0x110)]){this[_0xc66bf0(0x195)][_0xc66bf0(0x1bf)]('[CollaborationSession]',_0xc66bf0(0x166));return;}this[_0xc66bf0(0x110)][_0xc66bf0(0x2a0)]=performance['now'](),this[_0xc66bf0(0x110)][_0xc66bf0(0x214)]=this[_0xc66bf0(0x110)][_0xc66bf0(0x2a0)]-this[_0xc66bf0(0x110)][_0xc66bf0(0xd0)],this[_0xc66bf0(0x375)]['capture'](Vn,this[_0xc66bf0(0x110)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2f80f0=_0x583b84;this[_0x2f80f0(0x110)]=null;}};It=Xn([me(0x2,_0x123211),me(0x3,_0x160534),me(0x4,_0x5c4668(_0xcd17d6)),me(0x5,_0x5c4668(xe)),me(0x6,_0x5c4668(Ri)),me(0x7,_0x5c4668(pe)),me(0x8,_0x44dbea(_0x5ea7f6))],It);var Zn=Object[_0x583b84(0x14e)],Qn=Object[_0x583b84(0x17e)],er=(_0x542734,_0x4cd20e,_0x53508c,_0x2f17bf)=>{for(var _0x7ac098=_0x2f17bf>0x1?void 0x0:_0x2f17bf?Qn(_0x4cd20e,_0x53508c):_0x4cd20e,_0x1003ac=_0x542734['length']-0x1,_0x350829;_0x1003ac>=0x0;_0x1003ac--)(_0x350829=_0x542734[_0x1003ac])&&(_0x7ac098=(_0x2f17bf?_0x350829(_0x4cd20e,_0x53508c,_0x7ac098):_0x350829(_0x7ac098))||_0x7ac098);return _0x2f17bf&&_0x7ac098&&Zn(_0x4cd20e,_0x53508c,_0x7ac098),_0x7ac098;},ge=(_0x4fd2d9,_0x5aac6)=>(_0x1e9290,_0x1d125d)=>_0x5aac6(_0x1e9290,_0x1d125d,_0x4fd2d9);let Le=class extends _0x1aefe5{constructor(_0xc84d3a,_0x9459d1,_0xe0ef52,_0x32a9d1,_0x2020c7,_0x570750,_0x2aab62){var _0x3d3911=_0x583b84;super(),N(this,'_socket$',new _0x247d2c(void 0x0)),N(this,_0x3d3911(0x29e),this[_0x3d3911(0x2d9)]['asObservable']()),N(this,_0x3d3911(0x1df),null),N(this,_0x3d3911(0x2c1),new Map()),N(this,'_status$',new _0x247d2c(Te[_0x3d3911(0x2d1)])),N(this,'status$',this['_status$'][_0x3d3911(0xb6)]()),N(this,_0x3d3911(0x1a5),!0x1),N(this,_0x3d3911(0xac)),N(this,'_retryCount',0x0),N(this,_0x3d3911(0x133)),N(this,_0x3d3911(0x144)),(this['_injector']=_0xc84d3a,this['_logService']=_0x9459d1,this[_0x3d3911(0x36b)]=_0xe0ef52,this[_0x3d3911(0x2b7)]=_0x32a9d1,this['_httpService']=_0x2020c7,this[_0x3d3911(0x308)]=_0x570750,this[_0x3d3911(0x2b5)]=_0x2aab62,this['_listenToNetworkCondition']());}get[_0x583b84(0x239)](){var _0x3d251c=_0x583b84;return this['_socket$'][_0x3d251c(0x130)]();}[_0x583b84(0x326)](){var _0x52ab27=_0x583b84;this['_networkConditionService']&&this[_0x52ab27(0x291)](this[_0x52ab27(0x2b5)][_0x52ab27(0x23c)][_0x52ab27(0x9b)](_0x1ff2d6=>{var _0x2f5810=_0x52ab27;_0x1ff2d6&&!this[_0x2f5810(0x239)]&&this['reconnect'](),_0x1ff2d6||this['_onOffline']();}));}['dispose'](){var _0x46ac3a=_0x583b84;super[_0x46ac3a(0x1ab)](),this[_0x46ac3a(0x2c1)][_0x46ac3a(0x12a)](_0x5e7da4=>_0x5e7da4[_0x46ac3a(0x1ab)]()),this[_0x46ac3a(0x2c1)]['clear'](),this[_0x46ac3a(0x32f)][_0x46ac3a(0xb4)]();}async[_0x583b84(0xbd)](_0x5ef29e){var _0x344e06=_0x583b84;if(this[_0x344e06(0x2c1)]['has'](_0x5ef29e))return this[_0x344e06(0x2c1)][_0x344e06(0x1d0)](_0x5ef29e);this[_0x344e06(0x159)]();const _0xd740c2=this[_0x344e06(0x34f)]['createInstance'](It,_0x5ef29e,this[_0x344e06(0x2d9)]['asObservable']());return this[_0x344e06(0x2c1)][_0x344e06(0x371)](_0x5ef29e,_0xd740c2),_0xd740c2;}['closeSession'](_0x4a3df1){var _0x2d5023=_0x583b84,_0x286e69;const _0x2947fa=this['_sessions']['get'](_0x4a3df1);_0x2947fa&&(this['_sessions'][_0x2d5023(0x2f1)](_0x4a3df1),_0x2947fa[_0x2d5023(0x334)]()),this[_0x2d5023(0x2c1)][_0x2d5023(0x1e2)]||(_0x286e69=this['_socket'])==null||_0x286e69['close']();}[_0x583b84(0x1e7)](){var _0x4e514a=_0x583b84;this[_0x4e514a(0xd7)]=0x0,this[_0x4e514a(0xac)]!=null&&(clearTimeout(this[_0x4e514a(0xac)]),this[_0x4e514a(0xac)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x2cd95b=_0x583b84,_0x69f12e,_0x1022c8,_0x4b0472;const _0x2e55f2=this[_0x2cd95b(0x36b)][_0x2cd95b(0x197)](q),_0x5753c2=(_0x69f12e=_0x2e55f2==null?void 0x0:_0x2e55f2[_0x2cd95b(0x29f)])!=null?_0x69f12e:On;return(_0x4b0472=(_0x1022c8=(await this[_0x2cd95b(0xf1)]['get'](_0x5753c2,{'headers':{'Content-Type':_0x2cd95b(0xae)}}))[_0x2cd95b(0x212)])==null?void 0x0:_0x1022c8[_0x2cd95b(0x12f)])!=null?_0x4b0472:'';}['_createSocketURL'](_0x1d16f8){var _0x4f222c=_0x583b84,_0x2c616d,_0x52584d;const _0x17cbae=this[_0x4f222c(0x36b)][_0x4f222c(0x197)](Rn),_0x58eb33=this[_0x4f222c(0x36b)]['getConfig'](q),_0x46d702=(_0x52584d=(_0x2c616d=_0x58eb33==null?void 0x0:_0x58eb33[_0x4f222c(0x176)])!=null?_0x2c616d:_0x17cbae)!=null?_0x52584d:bn,_0x182ad0=typeof window>'u'?new URL(_0x46d702):new URL(_0x46d702,window['location']['origin']);_0x182ad0['searchParams'][_0x4f222c(0x371)](_0x4f222c(0x196),_0x1d16f8);const _0x461761=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4f222c(0x2c6)][_0x4f222c(0x8f)]);return _0x461761[_0x4f222c(0x1d0)](_0x4f222c(0x2dd))&&_0x182ad0[_0x4f222c(0x25d)][_0x4f222c(0x371)]('runId',_0x461761[_0x4f222c(0x1d0)]('runId')),_0x182ad0[_0x4f222c(0xfe)]();}async[_0x583b84(0xb2)](){var _0x4bb7f8=_0x583b84;const _0x3c6203=await this[_0x4bb7f8(0x136)](),_0x1823ff=this[_0x4bb7f8(0x200)](_0x3c6203),_0x331c0d=this[_0x4bb7f8(0x2b7)][_0x4bb7f8(0x126)](_0x1823ff);return this[_0x4bb7f8(0x1df)]=_0x331c0d,_0x331c0d;}async[_0x583b84(0x159)](){var _0x38a3e4=_0x583b84,_0x5f3bf3,_0x2ca51e;try{const _0x25d94f=(_0x2ca51e=(_0x5f3bf3=this[_0x38a3e4(0x239)])!=null?_0x5f3bf3:this[_0x38a3e4(0x1df)])!=null?_0x2ca51e:await this[_0x38a3e4(0xb2)]();if(_0x25d94f){const _0x3b96f4=_0x25d94f['send'];_0x25d94f['send']=_0x5ed3b4=>(this[_0x38a3e4(0x103)](),_0x3b96f4['apply'](_0x25d94f,[_0x5ed3b4])),_0x25d94f[_0x38a3e4(0x189)][_0x38a3e4(0x9b)](_0x1672f7=>this[_0x38a3e4(0x231)](_0x25d94f,_0x1672f7)),_0x25d94f[_0x38a3e4(0x1d5)][_0x38a3e4(0x161)](_0x4490b6(0x1))[_0x38a3e4(0x9b)](_0x2d51e8=>this[_0x38a3e4(0x195)][_0x38a3e4(0x1bf)](_0x38a3e4(0x394),_0x2d51e8)),_0x25d94f['open$'][_0x38a3e4(0x161)](_0x4490b6(0x1))[_0x38a3e4(0x9b)](()=>{var _0xc2b574=_0x38a3e4;this[_0xc2b574(0x125)](_0x25d94f);}),_0x25d94f[_0x38a3e4(0x149)][_0x38a3e4(0x161)](_0x4490b6(0x1))[_0x38a3e4(0x9b)](_0x2c00c3=>{var _0x3b696b=_0x38a3e4;this[_0x3b696b(0x195)][_0x3b696b(0x1c6)](_0x3b696b(0x183),_0x3b696b(0xda),_0x2c00c3),this[_0x3b696b(0x389)]();});}}catch(_0x36a96a){this[_0x38a3e4(0x195)][_0x38a3e4(0x1bf)](_0x36a96a),this[_0x38a3e4(0x389)]();}}[_0x583b84(0x125)](_0x50e0f5){var _0x370192=_0x583b84;this[_0x370192(0x195)]['debug']('[CollaborationSessionService]',_0x370192(0x30c)),_0x50e0f5[_0x370192(0x365)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x3d9789=_0x583b84;this[_0x3d9789(0x1a5)]=!0x1,this[_0x3d9789(0x1df)]=null,this['_status$'][_0x3d9789(0x1f3)](Te[_0x3d9789(0x2e9)]),this['_socket$']['next'](null),this[_0x3d9789(0x33e)](),this[_0x3d9789(0x172)]();}['_onConnectionFailed'](){var _0x4b5972=_0x583b84,_0x2a283f;this['_onOffline'](),this['_retryCount']<((_0x2a283f=this[_0x4b5972(0x36b)]['getConfig'](Pn))!=null?_0x2a283f:wn)?(this['_collaborationUIEventService'][_0x4b5972(0x2f3)]({'id':se[_0x4b5972(0x31c)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x4b5972(0x2f3)]({'id':se[_0x4b5972(0x13a)]});}[_0x583b84(0x282)](){var _0x1ae1d6=_0x583b84,_0x5e087a;const _0x3650ef=this[_0x1ae1d6(0xd7)],_0x34f5ac=this['_configService']['getConfig'](q),_0x4cd7a5=_0x3650ef===0x0?0x0:((_0x5e087a=_0x34f5ac==null?void 0x0:_0x34f5ac['retryConnectingInterval'])!=null?_0x5e087a:Dn)*0x2**_0x3650ef;this[_0x1ae1d6(0xac)]=setTimeout(()=>{var _0x158e40=_0x1ae1d6;clearTimeout(this['_retryConnectingTimer']),this[_0x158e40(0xac)]=null,this[_0x158e40(0x159)]();},_0x4cd7a5),this[_0x1ae1d6(0xd7)]+=0x1;}[_0x583b84(0x231)](_0x48d57c,_0xe33755){var _0x38a4ce=_0x583b84;const {cmd:_0x2c429f}=_0xe33755;_0x2c429f===F[_0x38a4ce(0x1d4)]&&!this['_socketReady']&&(_0x48d57c['memberID']=_0xe33755['data'][_0x38a4ce(0x2b0)],this[_0x38a4ce(0x2d9)][_0x38a4ce(0x1f3)](_0x48d57c),this[_0x38a4ce(0x32f)]['next'](Te[_0x38a4ce(0x128)]),this[_0x38a4ce(0x1a5)]=!0x0,this[_0x38a4ce(0x1df)]=null),_0x2c429f===F[_0x38a4ce(0x310)]&&this[_0x38a4ce(0x33e)](),this[_0x38a4ce(0x103)]();}[_0x583b84(0x103)](){var _0x27cabf=_0x583b84,_0x4d7e45;this[_0x27cabf(0x172)](),this[_0x27cabf(0x133)]=setTimeout(()=>this[_0x27cabf(0x264)](),(_0x4d7e45=this[_0x27cabf(0x36b)][_0x27cabf(0x197)](yn))!=null?_0x4d7e45:Nn);}['_sendHeartbeat'](){var _0x57472d=_0x583b84;this[_0x57472d(0x239)]['send']({'cmd':F[_0x57472d(0x310)]}),this['_waitForHeartbeatResponse']();}[_0x583b84(0xb7)](){var _0x366ed4=_0x583b84,_0x22bed4;this[_0x366ed4(0x144)]=setTimeout(()=>this[_0x366ed4(0x389)](),(_0x22bed4=this[_0x366ed4(0x36b)][_0x366ed4(0x197)](Si))!=null?_0x22bed4:Ei);}['_clearHeartbeatTimer'](){var _0x63a7ef=_0x583b84;this[_0x63a7ef(0x133)]!=null&&(clearTimeout(this[_0x63a7ef(0x133)]),this[_0x63a7ef(0x133)]=null);}[_0x583b84(0x33e)](){var _0x1f37a2=_0x583b84;this[_0x1f37a2(0x144)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1f37a2(0x144)]=null);}};Le=er([ge(0x0,_0x5c4668(_0x34af1d)),ge(0x1,_0x123211),ge(0x2,_0x160534),ge(0x3,Ci),ge(0x4,_0x5c4668(_0x163924)),ge(0x5,_0x5c4668(pe)),ge(0x6,_0x44dbea(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x583b84(0x384)]((n+0x100)[_0x583b84(0xfe)](0x10)[_0x583b84(0x1aa)](0x1));function tr(_0x483c3e,_0xc6bd54=0x0){var _0x3442e0=_0x583b84;return(V[_0x483c3e[_0xc6bd54+0x0]]+V[_0x483c3e[_0xc6bd54+0x1]]+V[_0x483c3e[_0xc6bd54+0x2]]+V[_0x483c3e[_0xc6bd54+0x3]]+'-'+V[_0x483c3e[_0xc6bd54+0x4]]+V[_0x483c3e[_0xc6bd54+0x5]]+'-'+V[_0x483c3e[_0xc6bd54+0x6]]+V[_0x483c3e[_0xc6bd54+0x7]]+'-'+V[_0x483c3e[_0xc6bd54+0x8]]+V[_0x483c3e[_0xc6bd54+0x9]]+'-'+V[_0x483c3e[_0xc6bd54+0xa]]+V[_0x483c3e[_0xc6bd54+0xb]]+V[_0x483c3e[_0xc6bd54+0xc]]+V[_0x483c3e[_0xc6bd54+0xd]]+V[_0x483c3e[_0xc6bd54+0xe]]+V[_0x483c3e[_0xc6bd54+0xf]])[_0x3442e0(0x35d)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x7be6da=_0x583b84;if(!ut){if(typeof crypto>'u'||!crypto[_0x7be6da(0xe2)])throw new Error(_0x7be6da(0x250));ut=crypto[_0x7be6da(0xe2)][_0x7be6da(0x330)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x583b84(0x12b)]&&crypto[_0x583b84(0x12b)][_0x583b84(0x330)](crypto),qt={'randomUUID':rr};function sr(_0x152c71,_0x337208,_0x46ddf2){var _0x50bfc1=_0x583b84,_0x8be67d,_0xa04af2,_0x3da390;if(qt['randomUUID']&&!_0x152c71)return qt[_0x50bfc1(0x12b)]();_0x152c71=_0x152c71||{};const _0xd8a114=(_0x3da390=(_0xa04af2=_0x152c71[_0x50bfc1(0x120)])!=null?_0xa04af2:(_0x8be67d=_0x152c71[_0x50bfc1(0x1f6)])==null?void 0x0:_0x8be67d[_0x50bfc1(0x1e9)](_0x152c71))!=null?_0x3da390:nr();if(_0xd8a114['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0xd8a114[0x6]=_0xd8a114[0x6]&0xf|0x40,_0xd8a114[0x8]=_0xd8a114[0x8]&0x3f|0x80,tr(_0xd8a114);}const J=_0x2a2119(_0x583b84(0x211));function so(_0x2d6e9e){return'unit-cache-'+_0x2d6e9e;}var or=Object[_0x583b84(0x14e)],ar=Object[_0x583b84(0x17e)],cr=(_0x34ae18,_0x25a28c,_0x41b2a5,_0x40647f)=>{for(var _0xc99d1e=_0x40647f>0x1?void 0x0:_0x40647f?ar(_0x25a28c,_0x41b2a5):_0x25a28c,_0x77526c=_0x34ae18['length']-0x1,_0x230d58;_0x77526c>=0x0;_0x77526c--)(_0x230d58=_0x34ae18[_0x77526c])&&(_0xc99d1e=(_0x40647f?_0x230d58(_0x25a28c,_0x41b2a5,_0xc99d1e):_0x230d58(_0xc99d1e))||_0xc99d1e);return _0x40647f&&_0xc99d1e&&or(_0x25a28c,_0x41b2a5,_0xc99d1e),_0xc99d1e;},dt=(_0xcd367e,_0x38ca2d)=>(_0x238ff5,_0x5caf77)=>_0x38ca2d(_0x238ff5,_0x5caf77,_0xcd367e);function hr(_0x55c318){var _0x4edc17=_0x583b84;const {unitID:_0x21954d,mutations:_0x190ff3}=_0x55c318;return{'unitId':_0x21954d,'subUnitId':_0x190ff3[0x0]['params'][_0x4edc17(0x238)]};}let it=class{constructor(_0x2eff61,_0x1e1740,_0x83a0b3){var _0x5c35b2=_0x583b84;this[_0x5c35b2(0x34f)]=_0x2eff61,this[_0x5c35b2(0x21b)]=_0x1e1740,this[_0x5c35b2(0x99)]=_0x83a0b3;}[_0x583b84(0x155)](_0x15aee4){var _0x493ddb=_0x583b84,_0x11ea64,_0x337e27,_0x5a0447,_0x2cb8bb;const _0x3758bc=this[_0x493ddb(0x34f)]['get'](_0x2c4967),{unitId:_0x1013ee,subUnitId:_0x1360f0}=hr(_0x15aee4),_0x498cda=_0x3758bc==null?void 0x0:_0x3758bc['getWorkbookSelections'](_0x1013ee)[_0x493ddb(0x1a3)](),_0x331287=(_0x337e27=(_0x11ea64=this[_0x493ddb(0x99)][_0x493ddb(0x1f7)](_0x1013ee))==null?void 0x0:_0x11ea64[_0x493ddb(0x1b2)]())==null?void 0x0:_0x337e27['getSheetId']();if(_0x498cda[_0x493ddb(0x30d)]===0x0||!_0x1013ee||!_0x1360f0)return;const _0xec0a08=[{'id':_0x36f1c6['id'],'params':{'unitId':_0x1013ee,'subUnitId':_0x331287,'selections':_0x2d6fb6[_0x493ddb(0x2c5)](_0x498cda)}}],_0x4410c5=this['_transformService']['transformMutationsWithChangeset'](_0x15aee4,_0xec0a08);if(!_0x2c0ca9(_0x4410c5))throw _0x4410c5[_0x493ddb(0x1bf)];const _0x48cb51=(_0x2cb8bb=(_0x5a0447=_0x4410c5[_0x493ddb(0x12d)][0x0])==null?void 0x0:_0x5a0447[_0x493ddb(0x20f)])==null?void 0x0:_0x2cb8bb[_0x493ddb(0x23e)];if(Array['isArray'](_0x48cb51)&&_0x48cb51['length']){if(_0x48cb51[_0x493ddb(0x30d)]===_0xec0a08[0x0]['params'][_0x493ddb(0x23e)][_0x493ddb(0x30d)]&&_0x48cb51[_0x493ddb(0x2a4)]((_0x32d20c,_0x2973b6)=>_0x55aca8[_0x493ddb(0x1c1)](_0x32d20c[_0x493ddb(0x24b)],_0xec0a08[0x0]['params'][_0x493ddb(0x23e)][_0x2973b6][_0x493ddb(0x24b)])))return;this[_0x493ddb(0x34f)]['get'](_0xb9d06b)[_0x493ddb(0xf9)](_0x36f1c6['id'],{'unitId':_0x1013ee,'subUnitId':_0x331287,'selections':_0x48cb51});}}};it=cr([dt(0x0,_0x5c4668(_0x34af1d)),dt(0x1,_0x15c301),dt(0x2,_0x4370c6)],it);const ht=_0x2a2119(_0x583b84(0x2c8));var bi=(_0x222a64=>(_0x222a64[_0x222a64[_0x583b84(0x25c)]=0x0]=_0x583b84(0x25c),_0x222a64[_0x222a64[_0x583b84(0x95)]=0x1]=_0x583b84(0x95),_0x222a64))(bi||{});const _r=new Set([_0x4facfa['id']]);function zt(_0x72e743,_0x2f677b,_0x113238,_0x3b36e7,_0x32a4fe){var _0x5e3911=_0x583b84,_0x1e9dc3,_0x29f6a5,_0x49d871,_0x27c0b6;const _0x243978=[];for(const _0x4ba4c9 of _0x72e743)if(_r[_0x5e3911(0x21d)](_0x4ba4c9['id'])){if(_0x243978[_0x5e3911(0x30d)]>0x0)break;_0x243978['push'](_0x4ba4c9);break;}else _0x243978['push'](_0x4ba4c9);const _0x4fbf03=(_0x29f6a5=(_0x1e9dc3=_0x32a4fe['getCurrentUser']())==null?void 0x0:_0x1e9dc3['userID'])!=null?_0x29f6a5:_0x5e3911(0xed),_0x1b597d=(_0x27c0b6=(_0x49d871=_0x32a4fe[_0x5e3911(0x240)]())==null?void 0x0:_0x49d871[_0x5e3911(0x2b0)])!=null?_0x27c0b6:'unknown';return{'changeset':{'unitID':_0x2f677b,'type':_0x14fc9f(_0x113238[_0x5e3911(0xfa)](_0x2f677b)),'baseRev':_0x3b36e7['getCurrentRevOfUnit'](_0x2f677b),'revision':0x0,'userID':_0x4fbf03,'memberID':_0x1b597d,'mutations':_0x243978},'pendingMutations':_0x72e743[_0x5e3911(0x1aa)](_0x243978[_0x5e3911(0x30d)])};}function lr(_0x136ce0,_0x5914aa,_0x22b1fb,_0x99811d,_0x8b751c){var _0x1b62dc=_0x583b84,_0x8927e,_0x2c3575,_0x5efeef,_0x2c0569;const _0x42328f=[_0x136ce0['reduce']((_0x56f518,_0x5aba01)=>{var _0x12ed36=_0x2d6f,_0x47db6a;const {id:_0x2d381c}=_0x56f518,{id:_0x1d4275,type:_0x2d1f6a}=_0x5aba01,_0x2bc71f=(_0x47db6a=_0x56f518[_0x12ed36(0x20f)])!=null?_0x47db6a:{'actions':null},_0x251016=_0x5aba01['params'];if(_0x2d381c&&_0x2d381c!==_0x1d4275)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2d381c+'\x20-\x20'+_0x1d4275+'.');return{..._0x56f518,'id':_0x1d4275,'type':_0x2d1f6a,'params':{'unitId':_0x251016[_0x12ed36(0xd2)],'textRanges':_0x251016[_0x12ed36(0x261)],'actions':_0x1bc2ca[_0x12ed36(0x33b)](_0x2bc71f[_0x12ed36(0x22f)],_0x251016[_0x12ed36(0x22f)])}};},{})],_0x59d000=(_0x2c3575=(_0x8927e=_0x8b751c[_0x1b62dc(0x240)]())==null?void 0x0:_0x8927e['userID'])!=null?_0x2c3575:'unknown',_0x2750f8=(_0x2c0569=(_0x5efeef=_0x8b751c[_0x1b62dc(0x240)]())==null?void 0x0:_0x5efeef[_0x1b62dc(0x2b0)])!=null?_0x2c0569:_0x1b62dc(0xed);return{'changeset':{'unitID':_0x5914aa,'type':_0x14fc9f(_0x22b1fb[_0x1b62dc(0xfa)](_0x5914aa)),'baseRev':_0x99811d['getCurrentRevOfUnit'](_0x5914aa),'revision':0x0,'userID':_0x59d000,'memberID':_0x2750f8,'mutations':_0x42328f},'pendingMutations':[]};}function Oi(_0x34e2f3,_0x1aabab){var _0x2fc864=_0x583b84;const _0x52fccd=new _0x333371(0x1);return setTimeout(()=>_0x52fccd[_0x2fc864(0x1f3)](_0x1aabab),_0x34e2f3),_0x52fccd[_0x2fc864(0xb6)]()[_0x2fc864(0x161)](_0x311556(0x1));}const ur={'id':_0x481e79['id'],'type':_0x2c6493['MUTATION'],'params':{}};var dr=Object[_0x583b84(0x14e)],fr=Object['getOwnPropertyDescriptor'],Re=(_0x4d2ce8,_0x5035be,_0x4990c8,_0x254a5f)=>{for(var _0x23b089=_0x254a5f>0x1?void 0x0:_0x254a5f?fr(_0x5035be,_0x4990c8):_0x5035be,_0x17bbbf=_0x4d2ce8['length']-0x1,_0x2221f8;_0x17bbbf>=0x0;_0x17bbbf--)(_0x2221f8=_0x4d2ce8[_0x17bbbf])&&(_0x23b089=(_0x254a5f?_0x2221f8(_0x5035be,_0x4990c8,_0x23b089):_0x2221f8(_0x23b089))||_0x23b089);return _0x254a5f&&_0x23b089&&dr(_0x5035be,_0x4990c8,_0x23b089),_0x23b089;},A=(_0x55fc24,_0x414027)=>(_0x5b94a6,_0x19071b)=>_0x414027(_0x5b94a6,_0x19071b,_0x55fc24),yi=(_0x4b0845=>(_0x4b0845['NOT_COLLAB']='not_collab',_0x4b0845[_0x583b84(0x15a)]='synced',_0x4b0845[_0x583b84(0x248)]=_0x583b84(0x305),_0x4b0845[_0x583b84(0x2a9)]=_0x583b84(0x228),_0x4b0845[_0x583b84(0xdf)]=_0x583b84(0x26b),_0x4b0845[_0x583b84(0x2fb)]=_0x583b84(0x37b),_0x4b0845[_0x583b84(0x96)]=_0x583b84(0x1b0),_0x4b0845[_0x583b84(0x2e9)]=_0x583b84(0x378),_0x4b0845))(yi||{});const Ni=0xea60;class be{constructor(_0x188ae9,_0x1ba1ad,_0xdf06c2,_0x50ff2f,_0x3c0613,_0x5907fe,_0x3631aa,_0x564d53,_0x4239d1){var _0x278cf7=_0x583b84;N(this,_0x278cf7(0x2f4),null),N(this,_0x278cf7(0x206),[]),(this[_0x278cf7(0x115)]=_0x188ae9,this[_0x278cf7(0x184)]=_0x1ba1ad,this[_0x278cf7(0x295)]=_0x3c0613,this['_commandService']=_0x5907fe,this[_0x278cf7(0x24d)]=_0x3631aa,this[_0x278cf7(0x13b)]=_0x564d53,this['_localCacheService']=_0x4239d1,this[_0x278cf7(0x2f4)]=_0xdf06c2,this[_0x278cf7(0x206)]=_0x50ff2f);}[_0x583b84(0xde)](_0x29a715){var _0x595181=_0x583b84;const _0x1570b4=this[_0x595181(0x13b)][_0x595181(0x1f4)](this[_0x595181(0x115)]);return _0x29a715[_0x595181(0x1ea)]>_0x1570b4+0x1?(this[_0x595181(0x295)][_0x595181(0x35b)]({'from':_0x1570b4,'to':_0x29a715[_0x595181(0x1ea)]-0x1}),!0x0):!0x1;}[_0x583b84(0x246)](_0x5afc49){var _0x5a9c92=_0x583b84;this[_0x5a9c92(0x24d)][_0x5a9c92(0x1e0)](this[_0x5a9c92(0x115)],_0x5afc49);}['_transformSelections'](_0x56eeb3){var _0x32a0ee=_0x583b84,_0x5a9040,_0x55f49b;(_0x55f49b=(_0x5a9040=this[_0x32a0ee(0x295)])['onTransformSelections'])==null||_0x55f49b['call'](_0x5a9040,_0x56eeb3);}['_transformIMECache'](_0x1dcf90){var _0x2a388f=_0x583b84,_0x2cbe77,_0x54e905;return(_0x54e905=(_0x2cbe77=this[_0x2a388f(0x295)])[_0x2a388f(0x337)])==null?void 0x0:_0x54e905[_0x2a388f(0x1e9)](_0x2cbe77,_0x1dcf90);}[_0x583b84(0x34a)](_0xbe6d9){var _0x18ec40=_0x583b84,_0x549803,_0x1b8bc3;return(_0x1b8bc3=(_0x549803=this['_handler'])[_0x18ec40(0x1e4)])==null?void 0x0:_0x1b8bc3[_0x18ec40(0x1e9)](_0x549803,_0xbe6d9);}[_0x583b84(0x18a)](_0x43b50d){var _0x34f9dd=_0x583b84,_0x34640f,_0xd705c5,_0x8e6f0;return(_0x8e6f0=(_0xd705c5=(_0x34640f=this[_0x34f9dd(0x295)])[_0x34f9dd(0x2ff)])==null?void 0x0:_0xd705c5[_0x34f9dd(0x1e9)](_0x34640f,_0x43b50d))!=null?_0x8e6f0:_0x43b50d;}[_0x583b84(0x1ff)](_0x47cd4f){var _0x14871f=_0x583b84,_0xae9e8f,_0x17df14,_0x182af7;return(_0x182af7=(_0x17df14=(_0xae9e8f=this[_0x14871f(0x295)])[_0x14871f(0x25b)])==null?void 0x0:_0x17df14['call'](_0xae9e8f,_0x47cd4f))!=null?_0x182af7:_0x47cd4f;}[_0x583b84(0xbf)](_0x4f9b2d){var _0x1281a4=_0x583b84,_0x5c5a81,_0x3e8c73;if(this['type']===Q[_0x1281a4(0xb5)]){const {unitID:_0x460c20,mutations:_0x51d5e1,memberID:_0x5aae92}=_0x4f9b2d,_0x269abd=_0x51d5e1[0x0]['params']['textRanges'];Array[_0x1281a4(0x20c)](_0x269abd)&&_0x269abd[_0x1281a4(0x30d)]>0x0&&((_0x3e8c73=(_0x5c5a81=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x3e8c73[_0x1281a4(0x1e9)](_0x5c5a81,{'unitID':_0x460c20,'memberID':_0x5aae92,'textRanges':_0x269abd}));}}[_0x583b84(0x11c)](){var _0x43f28d=_0x583b84,_0x4361b7;(_0x4361b7=this[_0x43f28d(0x2f7)])==null||_0x4361b7[_0x43f28d(0x273)](this[_0x43f28d(0x115)],this[_0x43f28d(0x184)],this[_0x43f28d(0x2f4)],this[_0x43f28d(0x206)]);}[_0x583b84(0x18e)](){var _0x20960d=_0x583b84;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x20960d(0x115)]);}[_0x583b84(0x233)](){var _0xc47774=_0x583b84;this[_0xc47774(0x13b)][_0xc47774(0x292)](this[_0xc47774(0x115)]);}[_0x583b84(0x169)](_0xa3d4f){var _0x22db0c=_0x583b84,_0x3384d0;let _0x191990=this[_0x22db0c(0x18a)](_0xa3d4f);_0x191990=this['_transformRemoteChangesetByStateCache'](_0x191990);const _0x47f09b=_0x242bb1(_0x191990[_0x22db0c(0x8d)],this[_0x22db0c(0x354)],{'fromCollab':!0x0});if(!_0x47f09b['result'])throw _0x47f09b[_0x22db0c(0x1bf)]instanceof Error?_0x47f09b[_0x22db0c(0x1bf)]:new Error((_0x3384d0=_0x47f09b['error'])!=null?_0x3384d0:_0x22db0c(0x1db));this[_0x22db0c(0x12e)](_0x191990),this[_0x22db0c(0x34a)](_0x191990),this[_0x22db0c(0x246)](_0xa3d4f),this[_0x22db0c(0x2ab)](_0x191990),this[_0x22db0c(0xbf)](_0x191990),this[_0x22db0c(0x233)]();}}let De=class extends be{constructor(_0x252170,_0x5cb508,_0x554684,_0x37e0b1,_0x22b462,_0x1529c2,_0x316fbd,_0xbd5579,_0x2697dc,_0x194e2d){var _0x1a1c44=_0x583b84;super(_0x252170,_0x5cb508,null,[],_0x554684,_0x316fbd,_0x1529c2,_0x37e0b1,_0x194e2d),N(this,_0x1a1c44(0x296),_0x1a1c44(0x19c)),(this[_0x1a1c44(0x34f)]=_0x22b462,this[_0x1a1c44(0x195)]=_0xbd5579,this['_transformService']=_0x2697dc,this[_0x1a1c44(0x14d)]=_0x194e2d);}[_0x583b84(0x26a)](_0x1352f9){var _0x28dd96=_0x583b84;const _0xef2f81=this[_0x28dd96(0x34f)][_0x28dd96(0x32d)](oe,this[_0x28dd96(0x115)],this['type'],[_0x1352f9],this[_0x28dd96(0x295)]);return _0xef2f81[_0x28dd96(0x117)](),_0xef2f81[_0x28dd96(0x11c)](),_0xef2f81;}[_0x583b84(0x16f)](_0x1dadef){var _0x2518de=_0x583b84;if(this['_checkMissing'](_0x1dadef))return this[_0x2518de(0x34f)][_0x2518de(0x32d)](te,this[_0x2518de(0x115)],this[_0x2518de(0x184)],null,[],null,[_0x1dadef],this[_0x2518de(0x295)]);try{const _0x424f30=this[_0x2518de(0x21b)][_0x2518de(0x35e)](_0x1dadef,[ur]);if(_0x2c0ca9(_0x424f30)){const {c1Prime:_0x372375}=_0x424f30;return this[_0x2518de(0x169)](_0x372375),this;}throw _0x424f30[_0x2518de(0x1bf)];}catch(_0x40a356){return this[_0x2518de(0x195)][_0x2518de(0x1bf)](_0x40a356),this[_0x2518de(0x1b8)](!0x1);}}['_onConflict'](_0x558202){var _0xfeaffb=_0x583b84;return this[_0xfeaffb(0x34f)][_0xfeaffb(0x32d)](de,this['unitID'],this[_0xfeaffb(0x184)],null,[],this[_0xfeaffb(0x295)],_0x558202);}[_0x583b84(0x1d6)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x583b84(0xe4)](){var _0x2876a9=_0x583b84;throw new Error(_0x2876a9(0x1c8));}[_0x583b84(0x1af)](){return this;}[_0x583b84(0xd1)](){var _0x4c89ef=_0x583b84;return this[_0x4c89ef(0x34f)]['createInstance'](fe,this[_0x4c89ef(0x115)],this[_0x4c89ef(0x184)],null,[],this['_handler']);}[_0x583b84(0x210)](){return this;}['resend'](){var _0x421cf4=_0x583b84;throw new Error(_0x421cf4(0x252));}['fetchMiss'](){var _0x3813e9=_0x583b84;const _0x2afaf9=this[_0x3813e9(0x13b)]['getCurrentRevOfUnit'](this[_0x3813e9(0x115)]);return this[_0x3813e9(0x295)][_0x3813e9(0x35b)]({'from':_0x2afaf9,'to':0x0}),this[_0x3813e9(0x34f)][_0x3813e9(0x32d)](te,this[_0x3813e9(0x115)],this[_0x3813e9(0x184)],null,[],null,[],this[_0x3813e9(0x295)]);}};De=Re([A(0x3,_0x5c4668(_0x38a7bc)),A(0x4,_0x5c4668(_0x34af1d)),A(0x5,_0x56aaba),A(0x6,_0xb9d06b),A(0x7,_0x123211),A(0x8,_0x15c301),A(0x9,_0x44dbea(J))],De);let oe=class extends be{constructor(_0x85aa41,_0x5cdd87,_0x1a4118,_0xfa3367,_0xf6c251,_0x5d92f4,_0x43f295,_0x2cb6b9,_0x3133a2,_0x3e0911,_0x1ac847,_0x4d6d52,_0x4b10c2,_0x14c4c2){var _0x436513=_0x583b84;super(_0x85aa41,_0x5cdd87,null,_0x1a4118,_0xfa3367,_0x3133a2,_0x4b10c2,_0x5d92f4,_0x14c4c2),N(this,_0x436513(0x296),_0x436513(0x305)),N(this,_0x436513(0x26d),null),N(this,_0x436513(0x9d),null),(this[_0x436513(0x34f)]=_0xf6c251,this['_memberService']=_0x43f295,this['_logService']=_0x2cb6b9,this[_0x436513(0x36b)]=_0x3e0911,this[_0x436513(0x21b)]=_0x1ac847,this[_0x436513(0x390)]=_0x4d6d52);}[_0x583b84(0x26a)](_0x51d15e){var _0x3a71ce=_0x583b84;return this[_0x3a71ce(0x206)][_0x3a71ce(0x384)](_0x51d15e),this['_updateLocalCache'](),this;}[_0x583b84(0x16f)](_0x4a968e){var _0xedbba0=_0x583b84;if(this[_0xedbba0(0xde)](_0x4a968e))return this[_0xedbba0(0x364)](),this[_0xedbba0(0x34f)]['createInstance'](te,this[_0xedbba0(0x115)],this[_0xedbba0(0x184)],null,this['_pendingMutations'],null,[_0x4a968e],this[_0xedbba0(0x295)]);try{const _0x1d0be9=this[_0xedbba0(0x21b)][_0xedbba0(0x35e)](_0x4a968e,this[_0xedbba0(0x206)]);if(_0x2c0ca9(_0x1d0be9)){const {c1Prime:_0x5a4429,m2Prime:_0x4ce0c0}=_0x1d0be9;this[_0xedbba0(0x169)](_0x5a4429);const _0xced0cd=this[_0xedbba0(0x34f)][_0xedbba0(0x32d)](oe,this[_0xedbba0(0x115)],this[_0xedbba0(0x184)],_0x4ce0c0,this[_0xedbba0(0x295)]);this['_clearScheduledTask']();const _0x41323e=new Date()[_0xedbba0(0x253)](),_0x5c9919=this[_0xedbba0(0x26d)]?Math['max'](this[_0xedbba0(0x26d)]-_0x41323e,0x0):this[_0xedbba0(0x294)]();return _0xced0cd['_schedule'](_0x5c9919),_0xced0cd;}throw _0x1d0be9['error'];}catch(_0x2b3934){return this[_0xedbba0(0x195)][_0xedbba0(0x1bf)](_0x2b3934),this['_onConflict'](!0x1);}}[_0x583b84(0x1d6)](){var _0xe3f1a8=_0x583b84;throw new Error(_0xe3f1a8(0x23f));}[_0x583b84(0xe4)](){var _0x201b9d=_0x583b84;throw new Error(_0x201b9d(0xdb));}['onRemoteRetry'](){return this;}[_0x583b84(0xd1)](){var _0x1a0705=_0x583b84;return this['_clearScheduledTask'](),this[_0x1a0705(0x34f)][_0x1a0705(0x32d)](fe,this['unitID'],this['type'],null,this[_0x1a0705(0x206)],this[_0x1a0705(0x295)]);}[_0x583b84(0x210)](){return this;}[_0x583b84(0x117)](_0x2add2b){var _0x48b8b6=_0x583b84;const _0x3b23f1=_0x2add2b!=null?_0x2add2b:this['_getSendChangesetTimeout']();this[_0x48b8b6(0x26d)]=new Date()['getTime']()+_0x3b23f1,this[_0x48b8b6(0x9d)]=setTimeout(()=>{var _0x1b0821=_0x48b8b6;this[_0x1b0821(0x364)]();let _0x4b9631=null;switch(this[_0x1b0821(0x184)]){case Q['UNIVER_SHEET']:{_0x4b9631=zt(this[_0x1b0821(0x206)],this[_0x1b0821(0x115)],this[_0x1b0821(0x390)],this[_0x1b0821(0x13b)],this['_memberService']);break;}case Q[_0x1b0821(0xb5)]:{this['_pendingMutations'][_0x1b0821(0x2a4)](_0x122588=>_0x122588['id']===_0x352886['id'])?_0x4b9631=lr(this[_0x1b0821(0x206)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x4b9631=zt(this['_pendingMutations'],this['unitID'],this[_0x1b0821(0x390)],this[_0x1b0821(0x13b)],this[_0x1b0821(0x24a)]);break;}default:throw new Error(_0x1b0821(0x232)+this[_0x1b0821(0x184)]+_0x1b0821(0x13d));}const {changeset:_0x3330e5,pendingMutations:_0x1a8c18}=_0x4b9631;this['_handler']['onSendChangeset'](_0x3330e5);const _0x302634=_0x1a8c18[_0x1b0821(0x30d)]?this['_injector'][_0x1b0821(0x32d)](ae,this['unitID'],this[_0x1b0821(0x184)],_0x3330e5,_0x1a8c18,this[_0x1b0821(0x295)],void 0x0):this['_injector'][_0x1b0821(0x32d)](ue,this['unitID'],this[_0x1b0821(0x184)],_0x3330e5,this['_handler']);_0x302634['_updateLocalCache'](),this[_0x1b0821(0x295)]['onStateChange'](this,_0x302634);},_0x3b23f1);}[_0x583b84(0x294)](){var _0x45cd3e=_0x583b84,_0x1447fa;const _0x33f165=this[_0x45cd3e(0x36b)]['getConfig'](q);return(_0x1447fa=_0x33f165==null?void 0x0:_0x33f165['sendChangesetTimeout'])!=null?_0x1447fa:Cn;}[_0x583b84(0x271)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x583b84(0x364)](){var _0x26eac1=_0x583b84;this['_sendingTimer']!=null&&(clearTimeout(this[_0x26eac1(0x9d)]),this['_sendingTimer']=null);}[_0x583b84(0x1b8)](_0xf799a9){var _0x5ec3d9=_0x583b84;return this[_0x5ec3d9(0x364)](),this['_injector'][_0x5ec3d9(0x32d)](de,this[_0x5ec3d9(0x115)],this[_0x5ec3d9(0x184)],null,this[_0x5ec3d9(0x206)],this[_0x5ec3d9(0x295)],_0xf799a9);}};oe=Re([A(0x4,_0x5c4668(_0x34af1d)),A(0x5,_0x5c4668(_0x38a7bc)),A(0x6,_0x5c4668(xe)),A(0x7,_0x123211),A(0x8,_0xb9d06b),A(0x9,_0x160534),A(0xa,_0x15c301),A(0xb,_0x4370c6),A(0xc,_0x56aaba),A(0xd,_0x44dbea(J))],oe);let ue=class extends be{constructor(_0x30d206,_0x263e36,_0x43f4df,_0x5b78d0,_0x384e9c,_0x5d857a,_0x4e377d,_0x3c31e6,_0x39293d,_0x4aa3f9,_0xb94603){var _0x51b9f0=_0x583b84;super(_0x30d206,_0x263e36,_0x43f4df,[],_0x5b78d0,_0x4e377d,_0x4aa3f9,_0x5d857a,_0xb94603),N(this,_0x51b9f0(0x296),_0x51b9f0(0x228)),N(this,_0x51b9f0(0x383),0x0),N(this,_0x51b9f0(0x2d0)),N(this,'_sender'),(this[_0x51b9f0(0x34f)]=_0x384e9c,this[_0x51b9f0(0x195)]=_0x3c31e6,this[_0x51b9f0(0x21b)]=_0x39293d);}[_0x583b84(0x26a)](_0x38add2){var _0x18c944=_0x583b84;this[_0x18c944(0x364)]();const _0x52aabe=this[_0x18c944(0x34f)][_0x18c944(0x32d)](ae,this['unitID'],this[_0x18c944(0x184)],this[_0x18c944(0x2f4)],[_0x38add2],this[_0x18c944(0x295)],this[_0x18c944(0x2d0)]);return _0x52aabe[_0x18c944(0x11c)](),_0x52aabe;}[_0x583b84(0x16f)](_0x466833){var _0xd28819=_0x583b84;if(this[_0xd28819(0xde)](_0x466833))return this[_0xd28819(0x364)](),this[_0xd28819(0x34f)][_0xd28819(0x32d)](te,this['unitID'],this[_0xd28819(0x184)],this[_0xd28819(0x2f4)],[],null,[_0x466833],this[_0xd28819(0x295)]);try{const _0x49898c=this[_0xd28819(0x21b)]['transformChangesets']([_0x466833],[this['_awaitingChangeset']],!0x1);if(_0x24b52a(_0x49898c)){const {c1Prime:_0x44c486,c2Prime:_0x4aa95b}=_0x49898c;this[_0xd28819(0x169)](_0x44c486[0x0]),_0x4aa95b[0x0][_0xd28819(0xa1)]=this[_0xd28819(0x18e)](),this[_0xd28819(0x364)]();const _0x21e199=this['_injector']['createInstance'](ue,this['unitID'],this[_0xd28819(0x184)],_0x4aa95b[0x0],this[_0xd28819(0x295)]);return _0x21e199[_0xd28819(0x11c)](),_0x21e199;}return this[_0xd28819(0x1b8)](!0x1);}catch(_0x77c001){return this['_logService'][_0xd28819(0x1bf)](_0x77c001),this[_0xd28819(0x1b8)](!0x1);}}[_0x583b84(0x1d6)](_0x63c19c){var _0x34247a=_0x583b84;this[_0x34247a(0x364)]();const _0x2d97d3=this[_0x34247a(0x13b)]['getCurrentRevOfUnit'](this[_0x34247a(0x115)]);if(_0x63c19c[_0x34247a(0x1ea)]<_0x2d97d3-0x1)return this;if(this[_0x34247a(0xde)](_0x63c19c))return this[_0x34247a(0x34f)][_0x34247a(0x32d)](te,this['unitID'],this[_0x34247a(0x184)],null,[],this[_0x34247a(0x2f4)],[],this[_0x34247a(0x295)]);this[_0x34247a(0x233)]();const _0x1d7804=this[_0x34247a(0x34f)][_0x34247a(0x32d)](De,this[_0x34247a(0x115)],this['type'],this['_handler']);return _0x1d7804['_updateLocalCache'](),_0x1d7804;}[_0x583b84(0xe4)](_0x42c075){var _0x26e014=_0x583b84;return this[_0x26e014(0x1b8)](!!(_0x42c075!=null&&_0x42c075[_0x26e014(0x1e8)]));}[_0x583b84(0x1af)](_0x19a9b9){var _0x317fe2=_0x583b84;return this[_0x317fe2(0x383)]>Ni?this[_0x317fe2(0xd1)]():(this[_0x317fe2(0x2d0)]=Oi(this[_0x317fe2(0x383)],{'timeout':this[_0x317fe2(0x383)],'reqId':_0x19a9b9['reqId']}),this['_sender']=this[_0x317fe2(0x2d0)][_0x317fe2(0x9b)](({reqId:_0x31e102,timeout:_0x41e6a7})=>{var _0xeb20f4=_0x317fe2;this[_0xeb20f4(0x13f)](_0x31e102,_0x41e6a7);}),this);}[_0x583b84(0xd1)](){var _0x2195b2=_0x583b84;return this[_0x2195b2(0x364)](),this[_0x2195b2(0x34f)][_0x2195b2(0x32d)](fe,this[_0x2195b2(0x115)],this['type'],this[_0x2195b2(0x2f4)],[],this[_0x2195b2(0x295)]);}['toggleOnline'](){return this;}['resend'](){var _0x293fab=_0x583b84;this[_0x293fab(0x295)][_0x293fab(0x2d2)](this[_0x293fab(0x2f4)]);}[_0x583b84(0x1b8)](_0x450fd4){var _0x288506=_0x583b84;return this[_0x288506(0x364)](),this[_0x288506(0x34f)]['createInstance'](de,this[_0x288506(0x115)],this[_0x288506(0x184)],this[_0x288506(0x2f4)],[],this[_0x288506(0x295)],_0x450fd4);}[_0x583b84(0x13f)](_0x40c3d9,_0x425d80){var _0xdc8163=_0x583b84,_0x2652fa;_0x40c3d9===((_0x2652fa=this[_0xdc8163(0x2f4)])==null?void 0x0:_0x2652fa[_0xdc8163(0x349)])&&(this['resend'](),this['_resendTimeout']=_0x425d80===0x0?0x3e8:_0x425d80*0x2);}[_0x583b84(0x364)](){var _0x26bf6a=_0x583b84,_0x230b7d;(_0x230b7d=this[_0x26bf6a(0x370)])==null||_0x230b7d['unsubscribe'](),this[_0x26bf6a(0x383)]=0x0;}};ue=Re([A(0x4,_0x5c4668(_0x34af1d)),A(0x5,_0x5c4668(_0x38a7bc)),A(0x6,_0xb9d06b),A(0x7,_0x123211),A(0x8,_0x15c301),A(0x9,_0x56aaba),A(0xa,_0x44dbea(J))],ue);let ae=class extends be{constructor(_0x4f0638,_0x136a11,_0x3d8489,_0x4266e9,_0x517ad4,_0x441775,_0x484757,_0x427c40,_0x2d5ec4,_0x39fac2,_0x1bee0d,_0x230d63,_0x4a391c){var _0x194dc5=_0x583b84;super(_0x4f0638,_0x136a11,_0x3d8489,_0x4266e9,_0x517ad4,_0x2d5ec4,_0x230d63,_0x427c40,_0x4a391c),N(this,_0x194dc5(0x296),_0x194dc5(0x26b)),N(this,_0x194dc5(0x383),0x0),N(this,_0x194dc5(0x2d0)),N(this,'_sender'),(this['_injector']=_0x484757,this[_0x194dc5(0x195)]=_0x39fac2,this[_0x194dc5(0x21b)]=_0x1bee0d,this[_0x194dc5(0x14d)]=_0x4a391c,_0x441775&&(this[_0x194dc5(0x2d0)]=_0x441775,this[_0x194dc5(0x370)]=this['_resendTimer'][_0x194dc5(0x9b)](({reqId:_0x583a2a,timeout:_0x57cb69})=>{var _0x469996=_0x194dc5;this[_0x469996(0x13f)](_0x583a2a,_0x57cb69);})));}[_0x583b84(0x26a)](_0x155583){var _0x5a0124=_0x583b84;return this[_0x5a0124(0x206)][_0x5a0124(0x384)](_0x155583),this;}[_0x583b84(0x16f)](_0x5cb655){var _0x562af2=_0x583b84;if(this['_checkMissing'](_0x5cb655))return this[_0x562af2(0x364)](),this['_injector'][_0x562af2(0x32d)](te,this['unitID'],this['type'],this[_0x562af2(0x2f4)],this['_pendingMutations'],null,[_0x5cb655],this[_0x562af2(0x295)]);try{const _0x4a331d=this[_0x562af2(0x21b)][_0x562af2(0x2b9)]([_0x5cb655],[this[_0x562af2(0x2f4)]],!0x1);if(_0x24b52a(_0x4a331d)){const {c1Prime:_0x2c4816,c2Prime:_0x54bc57}=_0x4a331d,_0x5505a7=this[_0x562af2(0x21b)][_0x562af2(0x35e)](_0x2c4816[0x0],this[_0x562af2(0x206)]);if(_0x2c0ca9(_0x5505a7)){const {c1Prime:_0x27efac,m2Prime:_0x5947a8}=_0x5505a7;return this[_0x562af2(0x169)](_0x27efac),_0x54bc57[0x0][_0x562af2(0xa1)]=this[_0x562af2(0x18e)](),this[_0x562af2(0x364)](),this[_0x562af2(0x34f)][_0x562af2(0x32d)](ae,this[_0x562af2(0x115)],this[_0x562af2(0x184)],_0x54bc57[0x0],_0x5947a8,this['_handler'],void 0x0);}throw _0x5505a7[_0x562af2(0x1bf)];}throw _0x4a331d[_0x562af2(0x1bf)];}catch(_0x1044b2){return this['_logService'][_0x562af2(0x1bf)](_0x1044b2),this[_0x562af2(0x1b8)](!0x1);}}[_0x583b84(0x1d6)](_0x445707){var _0x6fb013=_0x583b84;if(this['_clearScheduledTask'](),this[_0x6fb013(0xde)](_0x445707))return this['_injector'][_0x6fb013(0x32d)](te,this[_0x6fb013(0x115)],this[_0x6fb013(0x184)],null,this[_0x6fb013(0x206)],this['_awaitingChangeset'],[],this[_0x6fb013(0x295)]);this['_incrementRevisionNumber']();const _0x16ab6d=this[_0x6fb013(0x34f)]['createInstance'](oe,this[_0x6fb013(0x115)],this[_0x6fb013(0x184)],this[_0x6fb013(0x206)],this[_0x6fb013(0x295)]);return _0x16ab6d[_0x6fb013(0x117)](),_0x16ab6d[_0x6fb013(0x11c)](),_0x16ab6d;}['onRemoteRej'](_0x142cf8){var _0x5cc5d9=_0x583b84;return this[_0x5cc5d9(0x1b8)](!!(_0x142cf8!=null&&_0x142cf8[_0x5cc5d9(0x1e8)]));}[_0x583b84(0x1af)](_0x22d9c8){var _0x4db80d=_0x583b84;return this[_0x4db80d(0x383)]>Ni?this['toggleOffline']():(this[_0x4db80d(0x2d0)]=Oi(this[_0x4db80d(0x383)],{'timeout':this['_resendTimeout'],'reqId':_0x22d9c8[_0x4db80d(0x349)]}),this['_sender']=this[_0x4db80d(0x2d0)][_0x4db80d(0x9b)](({reqId:_0x144d43,timeout:_0x2e28ca})=>{var _0x18216d=_0x4db80d;this[_0x18216d(0x13f)](_0x144d43,_0x2e28ca);}),this);}[_0x583b84(0xd1)](){var _0x8a89a4=_0x583b84;return this[_0x8a89a4(0x364)](),this[_0x8a89a4(0x34f)]['createInstance'](fe,this[_0x8a89a4(0x115)],this['type'],this[_0x8a89a4(0x2f4)],this[_0x8a89a4(0x206)],this['_handler']);}[_0x583b84(0x210)](){return this;}[_0x583b84(0x271)](){var _0x43a644=_0x583b84;this[_0x43a644(0x295)][_0x43a644(0x2d2)](this[_0x43a644(0x2f4)]);}['_onConflict'](_0x5496ce){var _0xef2d52=_0x583b84;return this['_clearScheduledTask'](),this['_injector'][_0xef2d52(0x32d)](de,this['unitID'],this[_0xef2d52(0x184)],null,this[_0xef2d52(0x206)],this[_0xef2d52(0x295)],_0x5496ce);}['_resendWithTimeout'](_0x588971,_0x1c1d34){var _0x1c41b8=_0x583b84,_0x4c4a81;_0x588971===((_0x4c4a81=this[_0x1c41b8(0x2f4)])==null?void 0x0:_0x4c4a81[_0x1c41b8(0x349)])&&(this['resend'](),this['_resendTimeout']=_0x1c1d34===0x0?0x3e8:_0x1c1d34*0x2);}[_0x583b84(0x364)](){var _0x4bf599=_0x583b84,_0x124ee9;(_0x124ee9=this[_0x4bf599(0x370)])==null||_0x124ee9[_0x4bf599(0x18c)](),this[_0x4bf599(0x383)]=0x0;}};ae=Re([A(0x6,_0x5c4668(_0x34af1d)),A(0x7,_0x5c4668(_0x38a7bc)),A(0x8,_0xb9d06b),A(0x9,_0x123211),A(0xa,_0x15c301),A(0xb,_0x56aaba),A(0xc,_0x44dbea(J))],ae);let de=class extends be{constructor(_0x10e56b,_0x11004f,_0x5e23a8,_0x1dcd89,_0x20eabc,_0x5b1a6d=!0x1,_0x28a58b,_0x293c81,_0x4c09a9,_0x354a24,_0x1d3ccf,_0x474582,_0x4fd5b7){var _0x5ef35f=_0x583b84;super(_0x10e56b,_0x11004f,_0x5e23a8,_0x1dcd89,_0x20eabc,_0x293c81,_0x4c09a9,_0x354a24,_0x4fd5b7),N(this,_0x5ef35f(0x296),_0x5ef35f(0x1b0)),(this[_0x5ef35f(0x339)]=_0x5b1a6d,this[_0x5ef35f(0x18f)]=_0x28a58b,this['_localeService']=_0x1d3ccf,this[_0x5ef35f(0x308)]=_0x474582,this[_0x5ef35f(0x14d)]=_0x4fd5b7,this[_0x5ef35f(0x2b1)](),this[_0x5ef35f(0x1cb)](),this[_0x5ef35f(0x27f)]());}['appendMutation'](){return this;}[_0x583b84(0x16f)](){return this;}['onRemoteAck'](){return this;}[_0x583b84(0xe4)](){return this;}[_0x583b84(0x1af)](){return this;}['toggleOffline'](){return this;}[_0x583b84(0x210)](){return this;}[_0x583b84(0x271)](){var _0x33925e=_0x583b84;throw new Error(_0x33925e(0x9f));}[_0x583b84(0x1cb)](){var _0xa762f8=_0x583b84,_0x19e12f;(_0x19e12f=this['_localCacheService'])==null||_0x19e12f[_0xa762f8(0x273)](this[_0xa762f8(0x115)],this[_0xa762f8(0x184)],null,[]);}[_0x583b84(0x2b1)](){var _0x46671c=_0x583b84;this[_0x46671c(0x339)]?this[_0x46671c(0x308)][_0x46671c(0x2f3)]({'id':se[_0x46671c(0xe3)]}):this[_0x46671c(0x308)]['emitEvent']({'id':se['CONFLICT']});}[_0x583b84(0x27f)](){var _0x66efba=_0x583b84;this[_0x66efba(0x18f)][_0x66efba(0xc2)](new _0x4abfdf(this[_0x66efba(0x115)])['id'],!0x1);}};de=Re([A(0x6,_0x5c4668(_0x314716)),A(0x7,_0xb9d06b),A(0x8,_0x56aaba),A(0x9,_0x5c4668(_0x38a7bc)),A(0xa,_0x5c4668(_0xcd17d6)),A(0xb,_0x5c4668(pe)),A(0xc,_0x44dbea(J))],de);let fe=class extends be{constructor(_0x25b999,_0x837b60,_0x499622,_0x21547a,_0x22d7f2,_0xe54e5b,_0x5ddb93,_0x5a1e8a,_0xf0f946,_0x177730){var _0x264619=_0x583b84;super(_0x25b999,_0x837b60,_0x499622,_0x21547a,_0x22d7f2,_0x5a1e8a,_0xf0f946,_0x5ddb93,_0x177730),N(this,_0x264619(0x296),_0x264619(0x378)),this['_injector']=_0xe54e5b;}[_0x583b84(0x26a)](_0x1f2b2f){var _0x3a6375=_0x583b84;return this['_pendingMutations'][_0x3a6375(0x384)](_0x1f2b2f),this[_0x3a6375(0x11c)](),this;}[_0x583b84(0x16f)](_0x1888a1){var _0x508bc6=_0x583b84;throw new Error(_0x508bc6(0x15e));}[_0x583b84(0x1d6)](){var _0x2f0977=_0x583b84;throw new Error(_0x2f0977(0x16c));}[_0x583b84(0xe4)](){var _0x327439=_0x583b84;throw new Error(_0x327439(0x266));}[_0x583b84(0x1af)](){return this;}['toggleOffline'](){return this;}[_0x583b84(0x210)](){var _0x5b1487=_0x583b84;const {_injector:_0x14a67c,_pendingMutations:_0x2bc0ce,_awaitingChangeset:_0x43232d,unitID:_0x251f7a,_handler:_0x19256d,type:_0x3a95ec}=this,_0x3b1400=Di(_0x14a67c,_0x251f7a,_0x3a95ec,_0x43232d,_0x2bc0ce,_0x19256d);return _0x3b1400 instanceof oe?_0x3b1400['_schedule']():(_0x3b1400 instanceof ae||_0x3b1400 instanceof ue)&&_0x3b1400[_0x5b1487(0x271)](),_0x3b1400;}[_0x583b84(0x271)](){var _0x3054e7=_0x583b84;throw new Error(_0x3054e7(0x1ac));}};fe=Re([A(0x5,_0x5c4668(_0x34af1d)),A(0x6,_0x5c4668(_0x38a7bc)),A(0x7,_0xb9d06b),A(0x8,_0x56aaba),A(0x9,_0x44dbea(J))],fe);let te=class extends be{constructor(_0x4ac464,_0x13cfd3,_0x178664,_0x404933,_0xd73308,_0x2f345c,_0x11916a,_0x7b571d,_0xc75f75,_0x109081,_0x5e62f3,_0x864949,_0x51b93f,_0x23c0d9){var _0x96f4cb=_0x583b84;super(_0x4ac464,_0x13cfd3,_0x178664,_0x404933,_0x11916a,_0x5e62f3,_0x864949,_0xc75f75,_0x23c0d9),N(this,_0x96f4cb(0x296),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0xd73308,this[_0x96f4cb(0xbe)]=_0x2f345c,this[_0x96f4cb(0x34f)]=_0x7b571d,this['_logService']=_0x109081,this[_0x96f4cb(0x21b)]=_0x51b93f,this[_0x96f4cb(0x14d)]=_0x23c0d9);}[_0x583b84(0x396)](_0x406e4f){var _0x41501c=_0x583b84;try{const _0x375593=[..._0x406e4f,...this[_0x41501c(0xbe)]],_0x35e596=[this[_0x41501c(0x2f4)]||this[_0x41501c(0x2a7)]]['filter'](_0x3468d1=>!!_0x3468d1);let _0x475905,_0x4a4b8b;if(_0x35e596[_0x41501c(0x30d)]){const _0x259c52=this[_0x41501c(0x21b)][_0x41501c(0x2b9)](_0x375593,_0x35e596,!0x1);if(!_0x24b52a(_0x259c52))throw _0x259c52['error'];_0x475905=_0x259c52['c1Prime'],_0x4a4b8b=_0x259c52[_0x41501c(0x32e)];}else _0x475905=_0x375593,_0x4a4b8b=[];let _0x1ad218=this[_0x41501c(0x206)];_0x475905[_0x41501c(0x12a)](_0x221b15=>{var _0x99ed5e=_0x41501c;let _0x4a817e;if(_0x1ad218['length']){const _0x2c2bf5=this[_0x99ed5e(0x21b)][_0x99ed5e(0x35e)](_0x221b15,_0x1ad218);if(!_0x2c0ca9(_0x2c2bf5))throw _0x2c2bf5[_0x99ed5e(0x1bf)];_0x4a817e=_0x2c2bf5[_0x99ed5e(0x346)],_0x1ad218=_0x2c2bf5[_0x99ed5e(0x12d)];}else _0x4a817e=_0x221b15;this['_executeRemoteChangeset'](_0x4a817e);}),this[_0x41501c(0x2a7)]&&this[_0x41501c(0x233)](),this[_0x41501c(0x2f4)]&&_0x4a4b8b[_0x41501c(0x30d)]&&(_0x4a4b8b[0x0]['baseRev']=this['_getCurrentRevision']());let _0x41d325;if(this[_0x41501c(0x2f4)]&&_0x1ad218[_0x41501c(0x30d)]!==0x0)_0x41d325=this[_0x41501c(0x34f)][_0x41501c(0x32d)](ae,this['unitID'],this[_0x41501c(0x184)],_0x4a4b8b[0x0],_0x1ad218,this[_0x41501c(0x295)],void 0x0);else{if(this[_0x41501c(0x2f4)]&&_0x1ad218[_0x41501c(0x30d)]===0x0)_0x4a4b8b[0x0][_0x41501c(0xa1)]=this['_getCurrentRevision'](),_0x41d325=this[_0x41501c(0x34f)][_0x41501c(0x32d)](ue,this[_0x41501c(0x115)],this[_0x41501c(0x184)],_0x4a4b8b[0x0],this['_handler']);else{if(_0x1ad218['length']!==0x0){const _0x29c370=this[_0x41501c(0x34f)]['createInstance'](oe,this[_0x41501c(0x115)],this[_0x41501c(0x184)],_0x1ad218,this[_0x41501c(0x295)]);_0x29c370['_schedule'](),_0x41d325=_0x29c370;}else _0x41d325=this[_0x41501c(0x34f)]['createInstance'](De,this[_0x41501c(0x115)],this['type'],this['_handler']);}}return _0x41d325[_0x41501c(0x11c)](),_0x41d325;}catch(_0x4b35ed){return this[_0x41501c(0x195)]['error'](_0x41501c(0xc3),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4b35ed),this['_injector'][_0x41501c(0x32d)](de,this[_0x41501c(0x115)],this[_0x41501c(0x184)],this['_awaitingChangeset'],this[_0x41501c(0x206)],this[_0x41501c(0x295)],!0x1);}}[_0x583b84(0x271)](){var _0x3020f5=_0x583b84;throw new Error(_0x3020f5(0x1bc));}['appendMutation'](_0x485faa){var _0x5dd5ca=_0x583b84;return this['_pendingMutations'][_0x5dd5ca(0x384)](_0x485faa),this;}[_0x583b84(0x16f)](_0x49507c){var _0x2baadc=_0x583b84;return this[_0x2baadc(0xbe)][_0x2baadc(0x384)](_0x49507c),this;}[_0x583b84(0x1d6)](_0x3a3614){var _0x1a7cbe=_0x583b84;if(this[_0x1a7cbe(0x2f4)])return this[_0x1a7cbe(0x2a7)]=this[_0x1a7cbe(0x2f4)],this[_0x1a7cbe(0x2f4)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x583b84(0xe4)](_0x3afafc){return this['_onConflict'](!!(_0x3afafc!=null&&_0x3afafc['isPermissionRej']));}[_0x583b84(0x1af)](){return this;}[_0x583b84(0xd1)](){var _0x484780=_0x583b84;return this['_injector'][_0x484780(0x32d)](fe,this[_0x484780(0x115)],this['type'],this[_0x484780(0x2f4)],this[_0x484780(0x206)],this[_0x484780(0x295)]);}[_0x583b84(0x210)](){return this;}[_0x583b84(0x1b8)](_0xa691d5){var _0x5242f5=_0x583b84;return this['_injector'][_0x5242f5(0x32d)](de,this[_0x5242f5(0x115)],this['type'],this['_awaitingChangeset'],this[_0x5242f5(0x206)],this['_handler'],_0xa691d5);}};te=Re([A(0x7,_0x5c4668(_0x34af1d)),A(0x8,_0x5c4668(_0x38a7bc)),A(0x9,_0x123211),A(0xa,_0xb9d06b),A(0xb,_0x56aaba),A(0xc,_0x15c301),A(0xd,_0x44dbea(J))],te);function Di(_0x1c2592,_0x38f160,_0x541a28,_0x29adf1,_0x45faa3,_0x17bc95){var _0x39fce0=_0x583b84;return _0x29adf1&&_0x45faa3[_0x39fce0(0x30d)]?_0x1c2592[_0x39fce0(0x32d)](ae,_0x38f160,_0x541a28,_0x29adf1,_0x45faa3,_0x17bc95,void 0x0):_0x29adf1?_0x1c2592[_0x39fce0(0x32d)](ue,_0x38f160,_0x541a28,_0x29adf1,_0x17bc95):_0x45faa3[_0x39fce0(0x30d)]?_0x1c2592[_0x39fce0(0x32d)](oe,_0x38f160,_0x541a28,_0x45faa3,_0x17bc95):_0x1c2592['createInstance'](De,_0x38f160,_0x541a28,_0x17bc95);}var vr=Object[_0x583b84(0x14e)],pr=Object[_0x583b84(0x17e)],Lt=(_0x164338,_0x186072,_0x241dab,_0xa41797)=>{var _0x35b38a=_0x583b84;for(var _0x3050a3=_0xa41797>0x1?void 0x0:_0xa41797?pr(_0x186072,_0x241dab):_0x186072,_0x111efd=_0x164338[_0x35b38a(0x30d)]-0x1,_0x271c14;_0x111efd>=0x0;_0x111efd--)(_0x271c14=_0x164338[_0x111efd])&&(_0x3050a3=(_0xa41797?_0x271c14(_0x186072,_0x241dab,_0x3050a3):_0x271c14(_0x3050a3))||_0x3050a3);return _0xa41797&&_0x3050a3&&vr(_0x186072,_0x241dab,_0x3050a3),_0x3050a3;},k=(_0x5c559f,_0x14a343)=>(_0x50b111,_0x15a91b)=>_0x14a343(_0x50b111,_0x15a91b,_0x5c559f);let nt=class extends _0x20dc00{constructor(_0x9d979,_0x47f4a4,_0x12fa44,_0x50d1f3,_0x4c933a,_0x148562,_0x9f5c2e,_0xc055fb,_0x88834c,_0x20906b,_0x34fa15,_0x303390,_0x531e3b){var _0x2ad484=_0x583b84;super(),N(this,_0x2ad484(0x258),new _0x247d2c(null)),N(this,_0x2ad484(0x190),this['_state$'][_0x2ad484(0xb6)]()),N(this,_0x2ad484(0x138)),N(this,_0x2ad484(0x216),!0x1),N(this,_0x2ad484(0x16e),''),N(this,_0x2ad484(0x304),0x0),N(this,_0x2ad484(0xba),this['state$']['pipe'](_0x308eae(_0x1a2e7a=>_0x1a2e7a?_0x1a2e7a[_0x2ad484(0x296)]:yi[_0x2ad484(0x2e9)]),_0x4c5e93(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x2ad484(0x222),[]),(this[_0x2ad484(0x115)]=_0x9d979,this[_0x2ad484(0x385)]=_0x47f4a4,this['_type']=_0x12fa44,this[_0x2ad484(0x34f)]=_0x50d1f3,this['_compressMutationService']=_0x4c933a,this[_0x2ad484(0x15c)]=_0x148562,this[_0x2ad484(0x13b)]=_0x9f5c2e,this[_0x2ad484(0x38d)]=_0xc055fb,this[_0x2ad484(0x195)]=_0x88834c,this[_0x2ad484(0x354)]=_0x20906b,this[_0x2ad484(0x18f)]=_0x34fa15,this[_0x2ad484(0x10f)]=_0x303390,this[_0x2ad484(0x2f7)]=_0x531e3b);}get[_0x583b84(0x17f)](){var _0x176730=_0x583b84;return this[_0x176730(0x138)];}async['init'](){var _0x5b1662=_0x583b84;if(this['state'])throw new Error(_0x5b1662(0x2d4));await this['_init']();}['pauseCollaboration'](){var _0x302052=_0x583b84;return this[_0x302052(0x216)]=!0x0,_0x24db1e(()=>{var _0xcba604=_0x302052;this['_collaborationPaused']=!0x1,this[_0xcba604(0x148)]();});}[_0x583b84(0xaf)](_0x57504f){this['_onLocalMutation'](_0x57504f);}[_0x583b84(0x374)](_0x5e6f25){var _0x49ef79=_0x583b84;this['_state']=_0x5e6f25,this[_0x49ef79(0x258)][_0x49ef79(0x1f3)](_0x5e6f25);}async['_init'](){var _0x262196=_0x583b84,_0x24edba;this[_0x262196(0x374)](await this[_0x262196(0x31f)]()),this[_0x262196(0x10f)]&&((_0x24edba=this[_0x262196(0x10f)])==null||_0x24edba[_0x262196(0x1a0)](this[_0x262196(0x115)]),this[_0x262196(0x291)](this[_0x262196(0x10f)][_0x262196(0x1eb)](this['unitID'])[_0x262196(0x9b)](_0x37d151=>{var _0x5648d9=_0x262196;this[_0x5648d9(0x195)][_0x5648d9(0x1c6)](_0x5648d9(0x27e),_0x5648d9(0x14a),_0x37d151),_0x37d151===bi[_0x5648d9(0x95)]?(this[_0x5648d9(0x38d)][_0x5648d9(0x2f3)]({'id':se[_0x5648d9(0xe1)]}),this[_0x5648d9(0x18f)][_0x5648d9(0xc2)](new _0x4abfdf(this[_0x5648d9(0x115)])['id'],!0x1),this[_0x5648d9(0x18f)]['setShowComponents'](!0x1)):(this[_0x5648d9(0x18f)][_0x5648d9(0xc2)](new _0x4abfdf(this[_0x5648d9(0x115)])['id'],!0x0),this[_0x5648d9(0x18f)][_0x5648d9(0x1e6)](!0x0));})));let _0x2f9178=!0x1;return this[_0x262196(0x291)](this[_0x262196(0x385)][_0x262196(0x93)][_0x262196(0x9b)](_0x2504e8=>{var _0x33b265=_0x262196;_0x2504e8===Te[_0x33b265(0x128)]?this[_0x33b265(0x311)](_0x2f9178):_0x2504e8===Te['OFFLINE']&&(_0x2f9178=!0x0,this[_0x33b265(0x35c)]());})),this['disposeWithMe'](this['session'][_0x262196(0xc8)][_0x262196(0x9b)](_0x5750c9=>{var _0x50d72f=_0x262196;try{switch(_0x5750c9['eventID']){case _0x332b6d['NEW_CHANGESETS']:{this[_0x50d72f(0x2b4)](_0x2583f8(_0x5750c9[_0x50d72f(0x359)]));break;}case _0x332b6d[_0x50d72f(0x113)]:{this[_0x50d72f(0x2bf)](_0x5750c9[_0x50d72f(0x359)]);break;}case _0x332b6d[_0x50d72f(0xa5)]:{this[_0x50d72f(0xfc)]();break;}case _0x332b6d[_0x50d72f(0x38a)]:{this['_onRemoteRetry'](_0x5750c9[_0x50d72f(0x359)]);break;}case _0x332b6d[_0x50d72f(0x1c2)]:{this[_0x50d72f(0x391)](_0x5750c9[_0x50d72f(0x359)][_0x50d72f(0x2ee)][_0x50d72f(0x338)](_0x2793a4=>_0x2583f8(_0x2793a4)));break;}case _0x332b6d[_0x50d72f(0x263)]:{this[_0x50d72f(0xfc)]({'isPermissionRej':!0x0});break;}case _0x332b6d[_0x50d72f(0x32c)]:break;}}catch(_0x19bb73){throw console['error'](_0x50d72f(0x2ca),_0x19bb73),_0x19bb73;}})),this[_0x262196(0x138)];}[_0x583b84(0x38e)](){var _0xc7c6d1=_0x583b84;this[_0xc7c6d1(0x1ed)]=!0x1;}[_0x583b84(0x1b5)](){var _0x5c7a4d=_0x583b84;if(this[_0x5c7a4d(0x1ed)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5c7a4d(0x1ed)]=!0x0;}['_onLocalMutation'](_0x39e03b){var _0x5d9371=_0x583b84;this[_0x5d9371(0x1b5)](),this[_0x5d9371(0x374)](this[_0x5d9371(0x138)][_0x5d9371(0x26a)](_0x39e03b)),this['_unlockTransition']();}[_0x583b84(0x2b4)](_0x299bfc){var _0x3cb4c8=_0x583b84;if(!(_0x299bfc[_0x3cb4c8(0x1ea)]<=this[_0x3cb4c8(0x13b)][_0x3cb4c8(0x1f4)](this[_0x3cb4c8(0x115)]))){if(this[_0x3cb4c8(0x216)]){this['_remoteChangesetQueue'][_0x3cb4c8(0x384)](_0x299bfc);return;}this[_0x3cb4c8(0x14c)](_0x299bfc);}}[_0x583b84(0x148)](){var _0x147e3a=_0x583b84;this['_remoteChangesetQueue'][_0x147e3a(0x12a)](_0x497631=>this[_0x147e3a(0x14c)](_0x497631)),this[_0x147e3a(0x222)]=[];}[_0x583b84(0x14c)](_0xfd869e){var _0x33e488=_0x583b84;const _0x219f92=this[_0x33e488(0x329)][_0x33e488(0x1d2)][_0x33e488(0x90)](this[_0x33e488(0x329)][_0x33e488(0x1d2)][_0x33e488(0x2be)]()[_0x33e488(0x2dc)])(_0xfd869e[_0x33e488(0x8d)],null)||_0xfd869e[_0x33e488(0x8d)],_0x169b7b={..._0xfd869e,'mutations':_0x219f92};this[_0x33e488(0x1b5)](),this['_updateState'](this[_0x33e488(0x138)]['onRemoteChangeset'](_0x169b7b)),this[_0x33e488(0x38e)]();}[_0x583b84(0x2bf)](_0x59f89e){var _0x570065=_0x583b84;this[_0x570065(0x1b5)](),this['_updateState'](this[_0x570065(0x138)]['onRemoteAck'](_0x59f89e)),this[_0x570065(0x38e)]();}[_0x583b84(0xfc)](_0x5cb73c){var _0x5b2fe7=_0x583b84;this[_0x5b2fe7(0x1b5)](),this[_0x5b2fe7(0x374)](this[_0x5b2fe7(0x138)][_0x5b2fe7(0xe4)](_0x5cb73c)),this[_0x5b2fe7(0x38e)]();}['_onRemoteRetry'](_0x24a27e){var _0x3bf681=_0x583b84;this['_lockTransition'](),this[_0x3bf681(0x374)](this[_0x3bf681(0x138)][_0x3bf681(0x1af)](_0x24a27e)),this[_0x3bf681(0x38e)]();}[_0x583b84(0x391)](_0x8efc0e){var _0x1c579e=_0x583b84;if(!(this[_0x1c579e(0x138)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x358745=_0x8efc0e[_0x1c579e(0x338)](_0x34a267=>{var _0x3208a6=_0x1c579e;const _0x28c2dc=this[_0x3208a6(0x329)][_0x3208a6(0x1d2)][_0x3208a6(0x90)](this[_0x3208a6(0x329)][_0x3208a6(0x1d2)][_0x3208a6(0x2be)]()[_0x3208a6(0x2dc)])(_0x34a267['mutations'],null)||_0x34a267[_0x3208a6(0x8d)];return{..._0x34a267,'mutations':_0x28c2dc};});this[_0x1c579e(0x1b5)](),this[_0x1c579e(0x374)](this[_0x1c579e(0x138)][_0x1c579e(0x396)](_0x358745)),this[_0x1c579e(0x38e)]();}[_0x583b84(0x35c)](){var _0x39f074=_0x583b84;this[_0x39f074(0x1b5)](),this[_0x39f074(0x374)](this[_0x39f074(0x138)][_0x39f074(0xd1)]()),this[_0x39f074(0x38e)]();}[_0x583b84(0x311)](_0x2ccb00=!0x1){var _0x3a1da1=_0x583b84;this[_0x3a1da1(0x1b5)](),this[_0x3a1da1(0x374)](this[_0x3a1da1(0x138)]['toggleOnline']()),this[_0x3a1da1(0x38e)]();const _0x4d15b0=this['_state'];_0x2ccb00&&_0x4d15b0 instanceof De&&(this[_0x3a1da1(0x1b5)](),this[_0x3a1da1(0x374)](_0x4d15b0[_0x3a1da1(0x19b)]()),this[_0x3a1da1(0x38e)]());}async[_0x583b84(0x31f)](){return new Promise(_0xa0108a=>{var _0xddbc3f=_0x2d6f;this[_0xddbc3f(0x385)][_0xddbc3f(0x93)][_0xddbc3f(0x161)](_0x311556(0x1))[_0xddbc3f(0x9b)](async _0x2485a7=>{var _0x580341=_0xddbc3f;_0xa0108a(await this[_0x580341(0x309)](_0x2485a7===Te['ONLINE']));});});}[_0x583b84(0x306)](){var _0x45a005=_0x583b84;const _0xfc81df=this[_0x45a005(0x115)];return{'onStateChange':(_0x218e3a,_0x8daecf)=>{var _0x31fe99=_0x45a005;if(_0x218e3a!==this[_0x31fe99(0x138)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x218e3a[_0x31fe99(0x296)]+_0x31fe99(0x16d)+_0x8daecf['status']+'\x0aCurrent:\x20'+this[_0x31fe99(0x138)]['status']);this[_0x31fe99(0x374)](_0x8daecf);},'onSendChangeset':_0x17ea52=>{var _0x2e825c=_0x45a005;_0x17ea52[_0x2e825c(0x267)]||(_0x17ea52['sid']=this[_0x2e825c(0x16e)],_0x17ea52['reqId']=++this['_changesetReqId']);const _0x33b861={'eventID':_0x332b6d[_0x2e825c(0x168)],'data':{'unitID':_0x17ea52[_0x2e825c(0x115)],'unitType':this[_0x2e825c(0xd8)],'changeset':_0x17ea52,'memberID':this[_0x2e825c(0x385)]['getMemberID']()}};this[_0x2e825c(0x385)][_0x2e825c(0x365)](_0x33b861,this['unitID']);},'onMissingChangesets':({from:_0x141157,to:_0x4113a8})=>{var _0x5e7a15=_0x45a005;this[_0x5e7a15(0x195)][_0x5e7a15(0x1c6)](_0x5e7a15(0x27e),_0x5e7a15(0x395)+_0x141157+_0x5e7a15(0x20e)+_0x4113a8);const _0x363b10={'eventID':_0x332b6d[_0x5e7a15(0x380)],'data':{'unitID':_0xfc81df,'unitType':this[_0x5e7a15(0xd8)],'from':_0x141157,'to':_0x4113a8}};this[_0x5e7a15(0x385)][_0x5e7a15(0x365)](_0x363b10,this[_0x5e7a15(0x115)]);}};}async['_createInitialStateImpl'](_0x597c31){var _0x1bc012=_0x583b84,_0x5927d1,_0x549899,_0x308329;const _0x1198e2=await((_0x5927d1=this[_0x1bc012(0x2f7)])==null?void 0x0:_0x5927d1[_0x1bc012(0x202)](this[_0x1bc012(0x115)])),_0x87b84b=(_0x549899=_0x1198e2==null?void 0x0:_0x1198e2[_0x1bc012(0x8d)])!=null?_0x549899:[],_0x33e724=(_0x308329=_0x1198e2==null?void 0x0:_0x1198e2[_0x1bc012(0x259)])!=null?_0x308329:null,_0x5e68a3=!!(_0x33e724!=null&&_0x33e724[_0x1bc012(0x267)])&&!!(_0x33e724!=null&&_0x33e724[_0x1bc012(0x349)]);this[_0x1bc012(0x16e)]=_0x5e68a3?_0x33e724['sid']:sr(),this[_0x1bc012(0x304)]=_0x5e68a3?_0x33e724['reqId']:0x0;const _0x4696e9=this['unitID'];try{this[_0x1bc012(0x2fd)](_0x33e724,_0x87b84b);}catch(_0x259e37){this[_0x1bc012(0x195)]['error'](_0x259e37);}const _0x55289f=this['_createHandler']();if(_0x597c31){const _0x2f6079=Di(this[_0x1bc012(0x34f)],_0x4696e9,this[_0x1bc012(0xd8)],_0x33e724,_0x87b84b,_0x55289f);return _0x2f6079 instanceof oe?_0x2f6079[_0x1bc012(0x117)]():(_0x2f6079 instanceof ae||_0x2f6079 instanceof ue)&&_0x2f6079[_0x1bc012(0x271)](),_0x2f6079;}return this[_0x1bc012(0x34f)]['createInstance'](fe,_0x4696e9,this[_0x1bc012(0xd8)],_0x33e724,_0x87b84b,_0x55289f);}[_0x583b84(0x2fd)](_0x4c9cab,_0x5a8128){var _0x4bf27a=_0x583b84,_0x379917,_0x10ae9f;const _0x3fb5a9=this[_0x4bf27a(0x329)][_0x4bf27a(0x1d2)][_0x4bf27a(0x90)](this[_0x4bf27a(0x329)][_0x4bf27a(0x1d2)][_0x4bf27a(0x2be)]()[_0x4bf27a(0x2dc)]);(_0x379917=_0x3fb5a9((_0x4c9cab==null?void 0x0:_0x4c9cab[_0x4bf27a(0x8d)])||[],null))==null||_0x379917[_0x4bf27a(0x12a)](_0x25308b=>this[_0x4bf27a(0x354)][_0x4bf27a(0xf9)](_0x25308b['id'],_0x25308b[_0x4bf27a(0x20f)])),(_0x10ae9f=_0x3fb5a9(_0x5a8128||[],null))==null||_0x10ae9f[_0x4bf27a(0x12a)](_0x5d34a3=>this[_0x4bf27a(0x354)][_0x4bf27a(0xf9)](_0x5d34a3['id'],_0x5d34a3['params']));}};nt=Lt([k(0x3,_0x5c4668(_0x34af1d)),k(0x4,_0x5c4668(_0xcb4869)),k(0x5,_0x5c4668(_0xcd17d6)),k(0x6,_0x5c4668(_0x38a7bc)),k(0x7,_0x5c4668(pe)),k(0x8,_0x123211),k(0x9,_0xb9d06b),k(0xa,_0x314716),k(0xb,_0x44dbea(ht)),k(0xc,_0x44dbea(J))],nt);let Tt=class extends nt{constructor(_0x2080e2,_0x1a2b9d,_0x2c533c,_0x547bc0,_0x5450c2,_0x5074e4,_0x7ba0ca,_0x5d3f1e,_0x52cc72,_0xa2dc41,_0x3cf103,_0x15eba3,_0x5868f4){var _0x4443ac=_0x583b84;super(_0x2080e2,_0x2c533c,_0x1a2b9d,_0x547bc0,_0x5450c2,_0x5074e4,_0x7ba0ca,_0x5d3f1e,_0x52cc72,_0xa2dc41,_0x3cf103,_0x15eba3,_0x5868f4),N(this,_0x4443ac(0x2e0),null),(this[_0x4443ac(0x115)]=_0x2080e2,this[_0x4443ac(0x184)]=_0x1a2b9d);}[_0x583b84(0x36c)](_0x857a3e){var _0x46f57e=_0x583b84;this[_0x46f57e(0x2e0)]=_0x857a3e;}[_0x583b84(0x1ab)](){var _0x36a27d=_0x583b84;this[_0x36a27d(0x2e0)]=null,super[_0x36a27d(0x1ab)]();}[_0x583b84(0x306)](){var _0x133dfe=_0x583b84;const _0xd49c7d=super[_0x133dfe(0x306)]();return _0xd49c7d[_0x133dfe(0x337)]=_0x1a6c4f=>{var _0x36f6ed=_0x133dfe,_0x3a68b8,_0x2d2e1d;return(_0x2d2e1d=(_0x3a68b8=this['_handlerCallback'])==null?void 0x0:_0x3a68b8[_0x36f6ed(0x337)])==null?void 0x0:_0x2d2e1d[_0x36f6ed(0x1e9)](_0x3a68b8,_0x1a6c4f);},_0xd49c7d[_0x133dfe(0x1e4)]=_0x432d11=>{var _0x57178f=_0x133dfe,_0x4cbde5,_0x16ac92;return(_0x16ac92=(_0x4cbde5=this['_handlerCallback'])==null?void 0x0:_0x4cbde5['onTransformState'])==null?void 0x0:_0x16ac92[_0x57178f(0x1e9)](_0x4cbde5,_0x432d11);},_0xd49c7d[_0x133dfe(0x1c5)]=_0x3a81ec=>{var _0x2d2193=_0x133dfe,_0x214b6e,_0x41c6c6;return(_0x41c6c6=(_0x214b6e=this['_handlerCallback'])==null?void 0x0:_0x214b6e[_0x2d2193(0x1c5)])==null?void 0x0:_0x41c6c6['call'](_0x214b6e,_0x3a81ec);},_0xd49c7d['onSyncEditingCollabCursor']=_0x1e3b76=>{var _0x512c73=_0x133dfe,_0x406791,_0x4c5d68;return(_0x4c5d68=(_0x406791=this[_0x512c73(0x2e0)])==null?void 0x0:_0x406791[_0x512c73(0x14b)])==null?void 0x0:_0x4c5d68[_0x512c73(0x1e9)](_0x406791,_0x1e3b76);},_0xd49c7d['onTransformRemoteChangesetByIMECache']=_0x4397af=>{var _0x1c2768=_0x133dfe,_0x2a911b,_0x3df629,_0x7a5f16;if(!((_0x2a911b=this[_0x1c2768(0x2e0)])!=null&&_0x2a911b[_0x1c2768(0x2ff)]))throw new Error(_0x1c2768(0x187));return(_0x7a5f16=(_0x3df629=this['_handlerCallback'])==null?void 0x0:_0x3df629[_0x1c2768(0x2ff)])==null?void 0x0:_0x7a5f16[_0x1c2768(0x1e9)](_0x3df629,_0x4397af);},_0xd49c7d[_0x133dfe(0x25b)]=_0x53d250=>{var _0x27a467=_0x133dfe,_0x3034d1,_0x5b7f90,_0x204b88;if(!((_0x3034d1=this[_0x27a467(0x2e0)])!=null&&_0x3034d1['onTransformRemoteChangesetByStateCache']))throw new Error(_0x27a467(0xcf));return(_0x204b88=(_0x5b7f90=this[_0x27a467(0x2e0)])==null?void 0x0:_0x5b7f90[_0x27a467(0x25b)])==null?void 0x0:_0x204b88[_0x27a467(0x1e9)](_0x5b7f90,_0x53d250);},_0xd49c7d;}async[_0x583b84(0xb3)](){var _0x47e1f7=_0x583b84;const _0x309116=await super['_init']();return this[_0x47e1f7(0x291)](this[_0x47e1f7(0x354)][_0x47e1f7(0x215)]((_0x3b4eba,_0x4ee161)=>{var _0x268300=_0x47e1f7;if(_0x3b4eba['type']!==_0x2c6493[_0x268300(0x1cc)]||_0x4ee161!=null&&_0x4ee161[_0x268300(0x1fa)]||_0x4ee161!=null&&_0x4ee161['onlyLocal']||_0x3b4eba['id']===_0x352886['id'])return;const _0x4b8abb=_0x3b4eba['params'];if((_0x4b8abb==null?void 0x0:_0x4b8abb[_0x268300(0xd2)])!==this[_0x268300(0x115)])return;const _0x282f2a=_0x3b4eba,_0x3b405f=this[_0x268300(0x329)][_0x268300(0x1d2)][_0x268300(0x90)](this[_0x268300(0x329)]['interceptor'][_0x268300(0x2be)]()[_0x268300(0x20b)])([_0x282f2a],null)||[_0x282f2a];this[_0x268300(0x174)](_0x3b405f[0x0]);})),_0x309116;}};Tt=Lt([k(0x3,_0x5c4668(_0x34af1d)),k(0x4,_0x5c4668(_0xcb4869)),k(0x5,_0x5c4668(_0xcd17d6)),k(0x6,_0x5c4668(_0x38a7bc)),k(0x7,_0x5c4668(pe)),k(0x8,_0x123211),k(0x9,_0xb9d06b),k(0xa,_0x314716),k(0xb,_0x44dbea(ht)),k(0xc,_0x44dbea(J))],Tt);let Ct=class extends nt{constructor(_0x226bbc,_0x148604,_0x5614c9,_0xbf69a1,_0xb499eb,_0xfc3d44,_0x25ffcd,_0x503dbe,_0xd38a50,_0x4c8fa6,_0x2d9fed,_0x3f8b34,_0x46e367,_0x4e8e11){var _0x2aba71=_0x583b84;super(_0x226bbc,_0x5614c9,_0x148604,_0xbf69a1,_0xb499eb,_0xfc3d44,_0x25ffcd,_0xd38a50,_0x4c8fa6,_0x2d9fed,_0x3f8b34,_0x46e367,_0x4e8e11),this[_0x2aba71(0x115)]=_0x226bbc,this[_0x2aba71(0x184)]=_0x148604,this[_0x2aba71(0x36a)]=_0x503dbe;}[_0x583b84(0x306)](){var _0x1a1f33=_0x583b84;const _0x55003c=super[_0x1a1f33(0x306)]();return _0x55003c[_0x1a1f33(0x1c5)]=_0x1bda26=>this['_sheetTransformSelectionsService'][_0x1a1f33(0x155)](_0x1bda26),_0x55003c;}async[_0x583b84(0xb3)](){var _0x5ac376=_0x583b84;const _0x46de4d=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x5ac376(0x215)]((_0x18a1dd,_0x10d3d0)=>{var _0x524c90=_0x5ac376;if(_0x18a1dd[_0x524c90(0x184)]!==_0x2c6493[_0x524c90(0x1cc)]||_0x10d3d0!=null&&_0x10d3d0['fromCollab']||_0x10d3d0!=null&&_0x10d3d0[_0x524c90(0x2a5)])return;const _0x5575aa=_0x18a1dd[_0x524c90(0x20f)];if((_0x5575aa==null?void 0x0:_0x5575aa[_0x524c90(0xd2)])!==this[_0x524c90(0x115)])return;const _0x92f5b3=_0x18a1dd,_0x5f05af=this['_compressMutationService']['interceptor'][_0x524c90(0x90)](this[_0x524c90(0x329)][_0x524c90(0x1d2)][_0x524c90(0x2be)]()[_0x524c90(0x20b)])([_0x92f5b3],null)||[_0x92f5b3];this[_0x524c90(0x174)](_0x5f05af[0x0]);})),_0x46de4d;}};Ct=Lt([k(0x3,_0x5c4668(_0x34af1d)),k(0x4,_0x5c4668(_0xcb4869)),k(0x5,_0x5c4668(_0xcd17d6)),k(0x6,_0x5c4668(_0x38a7bc)),k(0x7,_0x5c4668(it)),k(0x8,_0x5c4668(pe)),k(0x9,_0x123211),k(0xa,_0xb9d06b),k(0xb,_0x314716),k(0xc,_0x44dbea(ht)),k(0xd,_0x44dbea(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x583b84(0x17e)],Sr=(_0x5ce7c3,_0x3a6327,_0x5c7f62,_0xfb59d0)=>{var _0x597aa1=_0x583b84;for(var _0x150080=_0xfb59d0>0x1?void 0x0:_0xfb59d0?gr(_0x3a6327,_0x5c7f62):_0x3a6327,_0xa5e857=_0x5ce7c3[_0x597aa1(0x30d)]-0x1,_0x479b45;_0xa5e857>=0x0;_0xa5e857--)(_0x479b45=_0x5ce7c3[_0xa5e857])&&(_0x150080=(_0xfb59d0?_0x479b45(_0x3a6327,_0x5c7f62,_0x150080):_0x479b45(_0x150080))||_0x150080);return _0xfb59d0&&_0x150080&&mr(_0x3a6327,_0x5c7f62,_0x150080),_0x150080;},ft=(_0x2f93e2,_0xa2ec70)=>(_0x2f2554,_0x2ac619)=>_0xa2ec70(_0x2f2554,_0x2ac619,_0x2f93e2);let rt=class extends _0x20dc00{constructor(_0xa16dd,_0x1d08bd,_0x47f120){var _0x3860e7=_0x583b84;super(),N(this,_0x3860e7(0x112),new Map()),N(this,'_entityInit$',new _0x64d656()),N(this,_0x3860e7(0x33d),this[_0x3860e7(0x22a)][_0x3860e7(0xb6)]()),(this[_0x3860e7(0x34f)]=_0xa16dd,this['_collabSessionService']=_0x1d08bd,this[_0x3860e7(0x390)]=_0x47f120,this[_0x3860e7(0xb3)]());}[_0x583b84(0x1ab)](){var _0x4601cc=_0x583b84;super[_0x4601cc(0x1ab)](),this[_0x4601cc(0x112)][_0x4601cc(0x12a)](_0xa32763=>_0xa32763[_0x4601cc(0x1ab)]()),this[_0x4601cc(0x112)][_0x4601cc(0x2df)]();}[_0x583b84(0x205)](_0x4e8a1e){var _0x431111=_0x583b84,_0x353e4c;return(_0x353e4c=this[_0x431111(0x112)]['get'](_0x4e8a1e))!=null?_0x353e4c:null;}[_0x583b84(0xa6)](_0x11d338){var _0x40aa53=_0x583b84;const _0x12c011=this[_0x40aa53(0x205)](_0x11d338);return _0x12c011?_0x4f43e2(_0x12c011):this['_entityInit$'][_0x40aa53(0x161)](_0x2ccb3d(_0x502152=>_0x502152[_0x40aa53(0x115)]===_0x11d338));}[_0x583b84(0x156)](_0x5a7b82){var _0x3ba3a6=_0x583b84;return _0x5c78e2(this[_0x3ba3a6(0xa6)](_0x5a7b82)[_0x3ba3a6(0x161)](_0x3b1d85(()=>{})));}[_0x583b84(0xb3)](){var _0x44997f=_0x583b84;this[_0x44997f(0x390)][_0x44997f(0x31b)](_0x431bd9['UNIVER_SHEET'])[_0x44997f(0x161)](_0x1c0a07(this[_0x44997f(0x1ee)]),_0x24611f(0x10))[_0x44997f(0x9b)](async _0x49476c=>{var _0x169b19=_0x44997f;const _0xf9706d=_0x49476c[_0x169b19(0x22d)](),_0x4b7b6c=await this['_startCollaboration'](_0xf9706d,Q[_0x169b19(0x1f5)]);this[_0x169b19(0x112)]['set'](_0xf9706d,_0x4b7b6c);}),this[_0x44997f(0x390)][_0x44997f(0x31b)](_0x431bd9[_0x44997f(0xb5)])[_0x44997f(0x161)](_0x1c0a07(this[_0x44997f(0x1ee)]),_0x24611f(0x10))['pipe'](_0x2ccb3d(_0x3835b8=>!_0x3835b8[_0x44997f(0x22d)]()[_0x44997f(0x9e)]('__')))[_0x44997f(0x9b)](async _0x136096=>{var _0x1f0820=_0x44997f;const _0x31931e=_0x136096[_0x1f0820(0x22d)](),_0x5976f3=await this['_startCollaboration'](_0x31931e,Q[_0x1f0820(0xb5)]);this[_0x1f0820(0x112)][_0x1f0820(0x371)](_0x31931e,_0x5976f3);}),_0x61905d(this[_0x44997f(0x390)][_0x44997f(0x1fc)](_0x431bd9[_0x44997f(0x1f5)]),this[_0x44997f(0x390)][_0x44997f(0x1fc)](_0x431bd9[_0x44997f(0xb5)]))['pipe'](_0x1c0a07(this[_0x44997f(0x1ee)]))['subscribe'](_0x5479f6=>{var _0x5c576e=_0x44997f;const _0xbd3e6a=_0x5479f6['getUnitId'](),_0x449e43=this[_0x5c576e(0x112)][_0x5c576e(0x1d0)](_0xbd3e6a);_0x449e43&&(_0x449e43['dispose'](),this[_0x5c576e(0x112)][_0x5c576e(0x2f1)](_0xbd3e6a));});}async[_0x583b84(0x1bb)](_0x389ea9,_0x3b2e70){var _0x2974be=_0x583b84;const _0x6d4e65=await this[_0x2974be(0x37a)][_0x2974be(0xbd)](_0x389ea9),_0x10bc4b=this['_injector'][_0x2974be(0x32d)](this['_getCtorByUniverType'](_0x3b2e70),_0x389ea9,_0x3b2e70,_0x6d4e65);return await _0x10bc4b['init'](),this[_0x2974be(0x22a)][_0x2974be(0x1f3)](_0x10bc4b),_0x10bc4b;}['_getCtorByUniverType'](_0x3e3bdc){var _0x2f847d=_0x583b84;switch(_0x3e3bdc){case Q['UNIVER_DOC']:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x2f847d(0x2af)+_0x3e3bdc);}}};rt=Sr([ft(0x0,_0x5c4668(_0x34af1d)),ft(0x1,_0x5c4668(Le)),ft(0x2,_0x4370c6)],rt);var Er=Object[_0x583b84(0x14e)],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0x321989,_0x49a9c2,_0x5a64e0,_0x556338)=>{for(var _0x5e535e=_0x556338>0x1?void 0x0:_0x556338?Ir(_0x49a9c2,_0x5a64e0):_0x49a9c2,_0x42c546=_0x321989['length']-0x1,_0x481767;_0x42c546>=0x0;_0x42c546--)(_0x481767=_0x321989[_0x42c546])&&(_0x5e535e=(_0x556338?_0x481767(_0x49a9c2,_0x5a64e0,_0x5e535e):_0x481767(_0x5e535e))||_0x5e535e);return _0x556338&&_0x5e535e&&Er(_0x49a9c2,_0x5a64e0,_0x5e535e),_0x5e535e;},Jt=(_0x51ea73,_0x2b1c40)=>(_0x4ebecd,_0x6f3f60)=>_0x2b1c40(_0x4ebecd,_0x6f3f60,_0x51ea73);const Cr=_0x583b84(0x1a7),Rr='Univer';let Rt=class extends _0x1aefe5{constructor(_0x2cc894,_0x1289c9){var _0x8a28d1=_0x583b84;super(),this['_univerInstanceService']=_0x2cc894,this[_0x8a28d1(0x36b)]=_0x1289c9,this[_0x8a28d1(0xb3)]();}['_init'](){var _0x3134f0=_0x583b84;this['disposeWithMe'](this[_0x3134f0(0x390)][_0x3134f0(0x23a)][_0x3134f0(0x9b)](()=>{var _0x52dcac=_0x3134f0,_0x3d1106;const _0x392487=this[_0x52dcac(0x390)][_0x52dcac(0x1d3)]();let _0x4687f0=(_0x3d1106=this[_0x52dcac(0x36b)]['getConfig'](Cr))!=null?_0x3d1106:Rr;_0x392487 instanceof _0x2f9a3e&&(_0x4687f0=_0x392487['name']),document[_0x52dcac(0x2c9)]=_0x4687f0;}));}};Rt=Tr([Jt(0x0,_0x4370c6),Jt(0x1,_0x160534)],Rt);var br=Object[_0x583b84(0x14e)],Or=Object['getOwnPropertyDescriptor'],yr=(_0x245591,_0x80bf9b,_0xd8901d,_0x3567a8)=>{for(var _0x43c975=_0x3567a8>0x1?void 0x0:_0x3567a8?Or(_0x80bf9b,_0xd8901d):_0x80bf9b,_0x4b3cba=_0x245591['length']-0x1,_0x20a8fc;_0x4b3cba>=0x0;_0x4b3cba--)(_0x20a8fc=_0x245591[_0x4b3cba])&&(_0x43c975=(_0x3567a8?_0x20a8fc(_0x80bf9b,_0xd8901d,_0x43c975):_0x20a8fc(_0x43c975))||_0x43c975);return _0x3567a8&&_0x43c975&&br(_0x80bf9b,_0xd8901d,_0x43c975),_0x43c975;},vt=(_0x306f53,_0x376719)=>(_0x2e64a6,_0x3a2e52)=>_0x376719(_0x2e64a6,_0x3a2e52,_0x306f53);let st=class{constructor(_0x139488,_0x5e38aa,_0x573c3d){var _0x5ba1e8=_0x583b84;this[_0x5ba1e8(0x36b)]=_0x139488,this['_httpService']=_0x5e38aa,this['localeService']=_0x573c3d,this['init']();}[_0x583b84(0x2bc)](){var _0x1e4fe0=_0x583b84;this[_0x1e4fe0(0xf1)][_0x1e4fe0(0x235)]({'priority':0x1,'interceptor':(_0x47c4e4,_0x296891)=>_0x296891(_0x47c4e4)[_0x1e4fe0(0x161)](_0x25f3c6(async _0x3d015b=>{var _0x285f3c=_0x1e4fe0;const _0x4cb11d=_0x3d015b;if(_0x4cb11d[_0x285f3c(0x296)]===0x191){if(typeof window>'u')throw new Error(_0x285f3c(0xd5));if(window[_0x285f3c(0x1bd)](this[_0x285f3c(0x221)]['t'](_0x285f3c(0x230)))){const _0x5b56d0=window['encodeURIComponent'](window[_0x285f3c(0x2c6)][_0x285f3c(0x275)]);window[_0x285f3c(0x2c6)]['href']=this[_0x285f3c(0x2e8)]()+_0x285f3c(0x325)+_0x5b56d0;}}return _0x4cb11d;}))});}[_0x583b84(0x2e8)](){var _0xab7308=_0x583b84,_0x108ce6,_0xd1d51e;const _0x462d60=this[_0xab7308(0x36b)][_0xab7308(0x197)](xn),_0x189af8=this['_configService'][_0xab7308(0x197)](q);return(_0xd1d51e=(_0x108ce6=_0x189af8==null?void 0x0:_0x189af8[_0xab7308(0x165)])!=null?_0x108ce6:_0x462d60)!=null?_0xd1d51e:Ln;}};st=yr([vt(0x0,_0x160534),vt(0x1,_0x5c4668(_0x163924)),vt(0x2,_0x5c4668(_0xcd17d6))],st);var Nr=Object['defineProperty'],Dr=Object[_0x583b84(0x17e)],Pr=(_0x2768ee,_0x4d3679,_0x944a00,_0x3c2c23)=>{for(var _0x1834e4=_0x3c2c23>0x1?void 0x0:_0x3c2c23?Dr(_0x4d3679,_0x944a00):_0x4d3679,_0x335953=_0x2768ee['length']-0x1,_0x412180;_0x335953>=0x0;_0x335953--)(_0x412180=_0x2768ee[_0x335953])&&(_0x1834e4=(_0x3c2c23?_0x412180(_0x4d3679,_0x944a00,_0x1834e4):_0x412180(_0x1834e4))||_0x1834e4);return _0x3c2c23&&_0x1834e4&&Nr(_0x4d3679,_0x944a00,_0x1834e4),_0x1834e4;},Xt=(_0x1ff88d,_0x550154)=>(_0x4ddc3b,_0x4ae05c)=>_0x550154(_0x4ddc3b,_0x4ae05c,_0x1ff88d);const Pi=_0x583b84(0xb0),wr=_0x583b84(0xa4);let bt=class extends _0x1aefe5{constructor(_0x5ac882,_0x1a3e77){var _0x2a1d9f=_0x583b84;super(),this[_0x2a1d9f(0x158)]=_0x5ac882,this['_configService']=_0x1a3e77,this[_0x2a1d9f(0x392)]();}[_0x583b84(0x392)](){var _0x401ab7=_0x583b84;const _0x33ac25=this;this[_0x401ab7(0x291)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1ed1a9({'isMatch'(_0x1642c2){var _0x212e32=_0x401ab7,_0x85ed18;if(_0x1642c2[_0x212e32(0x1cd)]==='POST'&&((_0x85ed18=_0x1642c2[_0x212e32(0x11b)])!=null&&_0x85ed18['body'])){const {objectID:_0x3e44e6,objectType:_0x583b76}=_0x1642c2[_0x212e32(0x11b)]['body']||{};if(!_0x3e44e6||_0x583b76===void 0x0)return!0x1;const _0x2f9e52=_0x33ac25[_0x212e32(0x1dd)]()+'/'+_0x583b76+_0x212e32(0x104)+_0x3e44e6+_0x212e32(0x2c7);if(_0x1642c2[_0x212e32(0x289)]===_0x2f9e52)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x39b393){var _0x1eaae8=_0x401ab7,_0x916bac;return(_0x916bac=_0x39b393[_0x1eaae8(0x11b)])==null?void 0x0:_0x916bac[_0x1eaae8(0x212)];},'mergeParamsToRequest'(_0x4afbd0,_0x5d7f48){var _0x4583dc=_0x401ab7;const _0x2e4126=_0x33ac25[_0x4583dc(0x1dd)]()+_0x4583dc(0x124),_0x9ed646=_0x4afbd0[_0x4583dc(0x281)]((_0x1b508e,_0x1d4b18)=>{var _0x490f7d=_0x4583dc;const {unitID:_0x2077ce,objectID:_0xba597f,objectType:_0x50b149,actions:_0x5be450}=_0x1d4b18;return _0x1b508e[_0x2077ce]||(_0x1b508e[_0x2077ce]={}),_0x1b508e[_0x2077ce][_0xba597f]||(_0x1b508e[_0x2077ce][_0xba597f]={'objectID':_0xba597f,'objectType':_0x50b149,'actions':[]}),_0x1b508e[_0x2077ce][_0xba597f][_0x490f7d(0x22f)][_0x490f7d(0x384)](..._0x5be450),_0x1b508e;},{}),_0x18af3f=[];for(const _0x3a5022 in _0x9ed646)for(const _0x411b61 in _0x9ed646[_0x3a5022]){const {actions:_0x280d9f,objectType:_0x2349f8}=_0x9ed646[_0x3a5022][_0x411b61],_0x505227=[...new Set(_0x280d9f)];_0x18af3f[_0x4583dc(0x384)]({'unitID':_0x3a5022,'objectID':_0x411b61,'objectType':_0x2349f8,'actions':_0x505227});}return new _0x3b8195(_0x4583dc(0x1c9),_0x2e4126,{'headers':_0x5d7f48[_0x4583dc(0x11d)],'withCredentials':_0x5d7f48[_0x4583dc(0x2ec)],'responseType':_0x5d7f48[_0x4583dc(0x276)],'body':{'requests':_0x18af3f}});}},{'distributeResult'(_0x28066f,_0x184191){var _0x325d2e=_0x401ab7;const {objectActions:_0x1499a4}=_0x28066f;return _0x184191[_0x325d2e(0x338)](_0x528f81=>{var _0x4286ba=_0x325d2e;const {unitID:_0x584257,objectID:_0x36503d,actions:_0x4cdefa}=_0x528f81,_0x6579e9=_0x1499a4[_0x4286ba(0xbc)](_0x319f94=>_0x319f94[_0x4286ba(0x115)]===_0x584257&&_0x319f94['objectID']===_0x36503d),_0x423ac1=_0x4cdefa[_0x4286ba(0x338)](_0x5a5f1c=>_0x6579e9==null?void 0x0:_0x6579e9[_0x4286ba(0x22f)][_0x4286ba(0xbc)](_0x36df99=>_0x36df99[_0x4286ba(0x274)]===_0x5a5f1c))['filter'](_0x181e6d=>!!_0x181e6d);return{'config':_0x528f81,'result':{'actions':_0x423ac1,'error':_0x28066f[_0x4286ba(0x1bf)]}};});}})}));}[_0x583b84(0x1dd)](){var _0x4f44b5=_0x583b84,_0x4562c0,_0x3a017f;const _0x4a14b1=this[_0x4f44b5(0x36b)]['getConfig'](Pi),_0x1e110f=this[_0x4f44b5(0x36b)][_0x4f44b5(0x197)](q);return(_0x3a017f=(_0x4562c0=_0x1e110f==null?void 0x0:_0x1e110f['authzUrl'])!=null?_0x4562c0:_0x4a14b1)!=null?_0x3a017f:wr;}async['create'](_0xc604a7){var _0x1622ca=_0x583b84;const _0x5ca118=this[_0x1622ca(0x1dd)]()+'/'+_0xc604a7[_0x1622ca(0x2f0)]+_0x1622ca(0x15d);return(await this['_HTTPService']['post'](_0x5ca118,{'body':_0xc604a7}))[_0x1622ca(0x212)][_0x1622ca(0x26f)]||'';}async['list'](_0x5bbbb5){var _0x43e08a=_0x583b84;const _0x288d77=this[_0x43e08a(0x1dd)]()+'/-/object/list';return(await this[_0x43e08a(0x158)][_0x43e08a(0x1b9)](_0x288d77,{'body':_0x5bbbb5}))[_0x43e08a(0x212)][_0x43e08a(0x1ba)];}async[_0x583b84(0x226)](_0x188cfb){var _0x43b39a=_0x583b84;const _0x30c72e=this[_0x43b39a(0x1dd)]()+'/'+_0x188cfb[_0x43b39a(0x2f0)]+_0x43b39a(0x104)+_0x188cfb['objectID'];await this[_0x43b39a(0x158)][_0x43b39a(0xdc)](_0x30c72e,{'body':_0x188cfb});}async[_0x583b84(0x219)](_0x3d7142){var _0x430e93=_0x583b84;const _0x20936c=this[_0x430e93(0x1dd)]()+'/'+_0x3d7142[_0x430e93(0x2f0)]+_0x430e93(0x104)+_0x3d7142['objectID']+_0x430e93(0x2c7);return(await this[_0x430e93(0x158)]['post'](_0x20936c,{'body':_0x3d7142}))[_0x430e93(0x212)]['actions'];}async[_0x583b84(0x283)](_0x40f19d){var _0x20ee21=_0x583b84;const _0x2c6f3a=this[_0x20ee21(0x1dd)]()+_0x20ee21(0x124);return(await this['_HTTPService']['post'](_0x2c6f3a,{'body':{'requests':_0x40f19d}}))['body'][_0x20ee21(0x19d)];}async[_0x583b84(0x2c3)](_0x54326e){var _0x46207f=_0x583b84;const _0x3edf3c=this[_0x46207f(0x1dd)]()+'/'+_0x54326e[_0x46207f(0x2f0)]+_0x46207f(0x208),_0x59de58=await this[_0x46207f(0x158)][_0x46207f(0x1b9)](_0x3edf3c,{'body':_0x54326e});return{'roles':_0x59de58[_0x46207f(0x212)]['roles'],'actions':_0x59de58['body'][_0x46207f(0x22f)]};}async[_0x583b84(0x23d)](_0x10e674){var _0x2b5a16=_0x583b84;const _0x4c8b61=this[_0x2b5a16(0x1dd)]()+'/collaborator';await this[_0x2b5a16(0x158)]['delete'](_0x4c8b61,{'params':{'collaboratorID':_0x10e674[_0x2b5a16(0x186)],'objectID':_0x10e674[_0x2b5a16(0x26f)],'unitID':_0x10e674['unitID']}});}async[_0x583b84(0xaa)](_0x59a44d){var _0x5d764b=_0x583b84;const _0x35f04f=this['_getAPIPrefixPath']()+_0x5d764b(0x393);await this[_0x5d764b(0x158)][_0x5d764b(0x129)](_0x35f04f,{'body':_0x59a44d});}async[_0x583b84(0x14f)](_0x123a45){var _0x1152d6=_0x583b84;const _0x12711c=this['_getAPIPrefixPath']()+_0x1152d6(0x393);await this['_HTTPService'][_0x1152d6(0x1b9)](_0x12711c,{'body':_0x123a45});}async[_0x583b84(0x11e)](_0x324ebc){var _0x254cc0=_0x583b84;const _0x3807d3=this[_0x254cc0(0x1dd)]()+_0x254cc0(0x393);return(await this[_0x254cc0(0x158)][_0x254cc0(0x1d0)](_0x3807d3,{'params':{'objectID':_0x324ebc['objectID'],'unitID':_0x324ebc[_0x254cc0(0x115)]}}))[_0x254cc0(0x212)][_0x254cc0(0x284)];}async[_0x583b84(0x163)](_0x4b225f){var _0x3c1016=_0x583b84;const _0x57e948=this[_0x3c1016(0x1dd)]()+_0x3c1016(0x393);await this[_0x3c1016(0x158)]['put'](_0x57e948,{'body':_0x4b225f});}};bt=Pr([Xt(0x0,_0x5c4668(_0x163924)),Xt(0x1,_0x5c4668(_0x160534))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x17c957){var _0x4f3002=_0x583b84;return _0x17c957&&_0x17c957[_0x4f3002(0x25a)]&&Object[_0x4f3002(0x2a2)][_0x4f3002(0x381)][_0x4f3002(0x1e9)](_0x17c957,_0x4f3002(0xfd))?_0x17c957[_0x4f3002(0xfd)]:_0x17c957;}var Ve={'exports':{}};function Ur(_0x5e3051){var _0x3429e6=_0x583b84;throw new Error(_0x3429e6(0x35f)+_0x5e3051+_0x3429e6(0x203));}var Ge={'exports':{}},Ar=Ge[_0x583b84(0x2fa)],Zt;function ne(){var _0x4c192e=_0x583b84;return Zt||(Zt=0x1,function(_0x565ada,_0x3c0c5a){(function(_0x18ff10,_0x27ad63){var _0x54e0a3=_0x2d6f;_0x565ada[_0x54e0a3(0x2fa)]=_0x27ad63();}(Ar,function(){var _0x81596f=_0x81596f||function(_0x3875c5,_0x49dad2){var _0x2eccb4=_0x2d6f,_0x599142;if(typeof window<'u'&&window[_0x2eccb4(0x21a)]&&(_0x599142=window['crypto']),typeof self<'u'&&self[_0x2eccb4(0x21a)]&&(_0x599142=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2eccb4(0x21a)]&&(_0x599142=globalThis['crypto']),!_0x599142&&typeof window<'u'&&window['msCrypto']&&(_0x599142=window[_0x2eccb4(0x204)]),!_0x599142&&typeof pt<'u'&&pt[_0x2eccb4(0x21a)]&&(_0x599142=pt[_0x2eccb4(0x21a)]),!_0x599142&&typeof Ur=='function')try{_0x599142=require(_0x2eccb4(0x21a));}catch{}var _0x45b8f6=function(){var _0x3739d3=_0x2eccb4;if(_0x599142){if(typeof _0x599142['getRandomValues']=='function')try{return _0x599142['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x599142[_0x3739d3(0x38f)]=='function')try{return _0x599142[_0x3739d3(0x38f)](0x4)[_0x3739d3(0x2ea)]();}catch{}}throw new Error(_0x3739d3(0x177));},_0x5267be=Object['create']||(function(){function _0x2e7f49(){}return function(_0x5f01c9){var _0x42a517=_0x2d6f,_0x4c4633;return _0x2e7f49[_0x42a517(0x2a2)]=_0x5f01c9,_0x4c4633=new _0x2e7f49(),_0x2e7f49['prototype']=null,_0x4c4633;};}()),_0x1ca2d7={},_0x43d1f4=_0x1ca2d7[_0x2eccb4(0x151)]={},_0x4d38b6=_0x43d1f4[_0x2eccb4(0x123)]=(function(){return{'extend':function(_0x49d7a5){var _0x4de385=_0x2d6f,_0x55d8a3=_0x5267be(this);return _0x49d7a5&&_0x55d8a3['mixIn'](_0x49d7a5),(!_0x55d8a3[_0x4de385(0x381)]('init')||this[_0x4de385(0x2bc)]===_0x55d8a3['init'])&&(_0x55d8a3[_0x4de385(0x2bc)]=function(){var _0x1a8cad=_0x4de385;_0x55d8a3[_0x1a8cad(0x36d)][_0x1a8cad(0x2bc)][_0x1a8cad(0x1de)](this,arguments);}),_0x55d8a3[_0x4de385(0x2bc)][_0x4de385(0x2a2)]=_0x55d8a3,_0x55d8a3[_0x4de385(0x36d)]=this,_0x55d8a3;},'create':function(){var _0x17a441=_0x2d6f,_0x8f62b4=this['extend']();return _0x8f62b4[_0x17a441(0x2bc)]['apply'](_0x8f62b4,arguments),_0x8f62b4;},'init':function(){},'mixIn':function(_0xa7ded0){var _0x1d4f9f=_0x2d6f;for(var _0x25851e in _0xa7ded0)_0xa7ded0['hasOwnProperty'](_0x25851e)&&(this[_0x25851e]=_0xa7ded0[_0x25851e]);_0xa7ded0[_0x1d4f9f(0x381)](_0x1d4f9f(0xfe))&&(this[_0x1d4f9f(0xfe)]=_0xa7ded0[_0x1d4f9f(0xfe)]);},'clone':function(){var _0x492cbd=_0x2d6f;return this[_0x492cbd(0x2bc)][_0x492cbd(0x2a2)][_0x492cbd(0x351)](this);}};}()),_0x245b01=_0x43d1f4[_0x2eccb4(0x140)]=_0x4d38b6['extend']({'init':function(_0x3f3965,_0x49473b){var _0x140930=_0x2eccb4;_0x3f3965=this[_0x140930(0x18b)]=_0x3f3965||[],_0x49473b!=_0x49dad2?this['sigBytes']=_0x49473b:this['sigBytes']=_0x3f3965[_0x140930(0x30d)]*0x4;},'toString':function(_0x59bdde){var _0x109282=_0x2eccb4;return(_0x59bdde||_0x453e54)[_0x109282(0x1a2)](this);},'concat':function(_0x57f438){var _0x197aa7=_0x2eccb4,_0x353678=this['words'],_0x33acab=_0x57f438[_0x197aa7(0x18b)],_0x55c014=this[_0x197aa7(0x2b8)],_0x443bf5=_0x57f438[_0x197aa7(0x2b8)];if(this[_0x197aa7(0x287)](),_0x55c014%0x4)for(var _0xa1de0b=0x0;_0xa1de0b<_0x443bf5;_0xa1de0b++){var _0x38c50b=_0x33acab[_0xa1de0b>>>0x2]>>>0x18-_0xa1de0b%0x4*0x8&0xff;_0x353678[_0x55c014+_0xa1de0b>>>0x2]|=_0x38c50b<<0x18-(_0x55c014+_0xa1de0b)%0x4*0x8;}else{for(var _0x5e321d=0x0;_0x5e321d<_0x443bf5;_0x5e321d+=0x4)_0x353678[_0x55c014+_0x5e321d>>>0x2]=_0x33acab[_0x5e321d>>>0x2];}return this[_0x197aa7(0x2b8)]+=_0x443bf5,this;},'clamp':function(){var _0x1e5f4f=_0x2eccb4,_0x480f87=this[_0x1e5f4f(0x18b)],_0x53106a=this[_0x1e5f4f(0x2b8)];_0x480f87[_0x53106a>>>0x2]&=0xffffffff<<0x20-_0x53106a%0x4*0x8,_0x480f87['length']=_0x3875c5[_0x1e5f4f(0xd3)](_0x53106a/0x4);},'clone':function(){var _0x3cec62=_0x2eccb4,_0x120f35=_0x4d38b6[_0x3cec62(0x17d)][_0x3cec62(0x1e9)](this);return _0x120f35[_0x3cec62(0x18b)]=this['words'][_0x3cec62(0x1aa)](0x0),_0x120f35;},'random':function(_0x4ac892){var _0xc16e6=_0x2eccb4;for(var _0x50b22c=[],_0x28f59c=0x0;_0x28f59c<_0x4ac892;_0x28f59c+=0x4)_0x50b22c[_0xc16e6(0x384)](_0x45b8f6());return new _0x245b01[(_0xc16e6(0x2bc))](_0x50b22c,_0x4ac892);}}),_0x304cd6=_0x1ca2d7[_0x2eccb4(0x22b)]={},_0x453e54=_0x304cd6[_0x2eccb4(0xf7)]={'stringify':function(_0x1e181d){var _0xfea485=_0x2eccb4;for(var _0x2ce917=_0x1e181d['words'],_0x2ea6f0=_0x1e181d[_0xfea485(0x2b8)],_0xf6a9f5=[],_0x51f6ac=0x0;_0x51f6ac<_0x2ea6f0;_0x51f6ac++){var _0x3efc1b=_0x2ce917[_0x51f6ac>>>0x2]>>>0x18-_0x51f6ac%0x4*0x8&0xff;_0xf6a9f5[_0xfea485(0x384)]((_0x3efc1b>>>0x4)['toString'](0x10)),_0xf6a9f5[_0xfea485(0x384)]((_0x3efc1b&0xf)[_0xfea485(0xfe)](0x10));}return _0xf6a9f5['join']('');},'parse':function(_0x45a224){var _0x5f4ea1=_0x2eccb4;for(var _0xf0c9eb=_0x45a224['length'],_0x3f88fe=[],_0x48e6b7=0x0;_0x48e6b7<_0xf0c9eb;_0x48e6b7+=0x2)_0x3f88fe[_0x48e6b7>>>0x3]|=parseInt(_0x45a224[_0x5f4ea1(0x387)](_0x48e6b7,0x2),0x10)<<0x18-_0x48e6b7%0x8*0x4;return new _0x245b01[(_0x5f4ea1(0x2bc))](_0x3f88fe,_0xf0c9eb/0x2);}},_0x31aae2=_0x304cd6[_0x2eccb4(0xfb)]={'stringify':function(_0x353449){var _0x3247c8=_0x2eccb4;for(var _0x41bf89=_0x353449[_0x3247c8(0x18b)],_0x5b3395=_0x353449['sigBytes'],_0x1c0c40=[],_0x14a0ec=0x0;_0x14a0ec<_0x5b3395;_0x14a0ec++){var _0x43507c=_0x41bf89[_0x14a0ec>>>0x2]>>>0x18-_0x14a0ec%0x4*0x8&0xff;_0x1c0c40[_0x3247c8(0x384)](String[_0x3247c8(0x24f)](_0x43507c));}return _0x1c0c40[_0x3247c8(0x373)]('');},'parse':function(_0x313460){for(var _0x28ce88=_0x313460['length'],_0x1c0d9e=[],_0x2b2b35=0x0;_0x2b2b35<_0x28ce88;_0x2b2b35++)_0x1c0d9e[_0x2b2b35>>>0x2]|=(_0x313460['charCodeAt'](_0x2b2b35)&0xff)<<0x18-_0x2b2b35%0x4*0x8;return new _0x245b01['init'](_0x1c0d9e,_0x28ce88);}},_0x35f073=_0x304cd6['Utf8']={'stringify':function(_0x556389){try{return decodeURIComponent(escape(_0x31aae2['stringify'](_0x556389)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x35b54c){var _0x4c1639=_0x2eccb4;return _0x31aae2[_0x4c1639(0xe8)](unescape(encodeURIComponent(_0x35b54c)));}},_0x13451d=_0x43d1f4['BufferedBlockAlgorithm']=_0x4d38b6[_0x2eccb4(0x351)]({'reset':function(){var _0x1d849a=_0x2eccb4;this[_0x1d849a(0x1b6)]=new _0x245b01[(_0x1d849a(0x2bc))](),this[_0x1d849a(0x21e)]=0x0;},'_append':function(_0xc1efe4){var _0x146e7a=_0x2eccb4;typeof _0xc1efe4==_0x146e7a(0x15b)&&(_0xc1efe4=_0x35f073['parse'](_0xc1efe4)),this[_0x146e7a(0x1b6)]['concat'](_0xc1efe4),this[_0x146e7a(0x21e)]+=_0xc1efe4[_0x146e7a(0x2b8)];},'_process':function(_0x3cbdfb){var _0x252de4=_0x2eccb4,_0x7152e9,_0x14eeec=this[_0x252de4(0x1b6)],_0x48017d=_0x14eeec[_0x252de4(0x18b)],_0x13f661=_0x14eeec['sigBytes'],_0x566d26=this['blockSize'],_0x55b4d3=_0x566d26*0x4,_0x1cc1d1=_0x13f661/_0x55b4d3;_0x3cbdfb?_0x1cc1d1=_0x3875c5[_0x252de4(0xd3)](_0x1cc1d1):_0x1cc1d1=_0x3875c5[_0x252de4(0xc1)]((_0x1cc1d1|0x0)-this[_0x252de4(0x1fb)],0x0);var _0x5e3a87=_0x1cc1d1*_0x566d26,_0x264531=_0x3875c5[_0x252de4(0x2e5)](_0x5e3a87*0x4,_0x13f661);if(_0x5e3a87){for(var _0x55025b=0x0;_0x55025b<_0x5e3a87;_0x55025b+=_0x566d26)this[_0x252de4(0x234)](_0x48017d,_0x55025b);_0x7152e9=_0x48017d['splice'](0x0,_0x5e3a87),_0x14eeec[_0x252de4(0x2b8)]-=_0x264531;}return new _0x245b01[(_0x252de4(0x2bc))](_0x7152e9,_0x264531);},'clone':function(){var _0x46a398=_0x2eccb4,_0xff698c=_0x4d38b6[_0x46a398(0x17d)]['call'](this);return _0xff698c['_data']=this[_0x46a398(0x1b6)][_0x46a398(0x17d)](),_0xff698c;},'_minBufferSize':0x0});_0x43d1f4[_0x2eccb4(0x22e)]=_0x13451d[_0x2eccb4(0x351)]({'cfg':_0x4d38b6[_0x2eccb4(0x351)](),'init':function(_0x240264){var _0x743f6d=_0x2eccb4;this[_0x743f6d(0x160)]=this[_0x743f6d(0x160)][_0x743f6d(0x351)](_0x240264),this[_0x743f6d(0x142)]();},'reset':function(){var _0x3d5e47=_0x2eccb4;_0x13451d['reset'][_0x3d5e47(0x1e9)](this),this['_doReset']();},'update':function(_0x5487f6){var _0x4fc11f=_0x2eccb4;return this[_0x4fc11f(0x106)](_0x5487f6),this[_0x4fc11f(0x188)](),this;},'finalize':function(_0x1b4c69){var _0x1811d9=_0x2eccb4;_0x1b4c69&&this[_0x1811d9(0x106)](_0x1b4c69);var _0x50632a=this[_0x1811d9(0x2ac)]();return _0x50632a;},'blockSize':0x10,'_createHelper':function(_0x3090c2){return function(_0x3730e6,_0x566172){var _0x452dbb=_0x2d6f;return new _0x3090c2[(_0x452dbb(0x2bc))](_0x566172)[_0x452dbb(0x1f9)](_0x3730e6);};},'_createHmacHelper':function(_0x313ea4){return function(_0x314f1b,_0x3cceff){var _0x3c40c5=_0x2d6f;return new _0x56189b[(_0x3c40c5(0x38c))][(_0x3c40c5(0x2bc))](_0x313ea4,_0x3cceff)[_0x3c40c5(0x1f9)](_0x314f1b);};}});var _0x56189b=_0x1ca2d7[_0x2eccb4(0xad)]={};return _0x1ca2d7;}(Math);return _0x81596f;}));}(Ge)),Ge[_0x4c192e(0x2fa)];}var We={'exports':{}},xr=We[_0x583b84(0x2fa)],Qt;function wi(){var _0x4afcf0=_0x583b84;return Qt||(Qt=0x1,function(_0x26b22a,_0x312a4b){(function(_0x3747ad,_0x40cfa6){var _0x16706c=_0x2d6f;_0x26b22a[_0x16706c(0x2fa)]=_0x40cfa6(ne());}(xr,function(_0x48889e){var _0x5e580c=_0x2d6f;return(function(){var _0x4ed340=_0x2d6f,_0x473e32=_0x48889e,_0x3eea52=_0x473e32['lib'],_0x1916a3=_0x3eea52[_0x4ed340(0x140)],_0x3c2c01=_0x473e32[_0x4ed340(0x22b)];_0x3c2c01[_0x4ed340(0xc0)]={'stringify':function(_0x266c3f){var _0x2f88c5=_0x4ed340,_0x446444=_0x266c3f[_0x2f88c5(0x18b)],_0x845be4=_0x266c3f[_0x2f88c5(0x2b8)],_0x17a346=this['_map'];_0x266c3f[_0x2f88c5(0x287)]();for(var _0x299426=[],_0x2decf7=0x0;_0x2decf7<_0x845be4;_0x2decf7+=0x3)for(var _0x1cf9ad=_0x446444[_0x2decf7>>>0x2]>>>0x18-_0x2decf7%0x4*0x8&0xff,_0x333e29=_0x446444[_0x2decf7+0x1>>>0x2]>>>0x18-(_0x2decf7+0x1)%0x4*0x8&0xff,_0x27a679=_0x446444[_0x2decf7+0x2>>>0x2]>>>0x18-(_0x2decf7+0x2)%0x4*0x8&0xff,_0x136114=_0x1cf9ad<<0x10|_0x333e29<<0x8|_0x27a679,_0x179868=0x0;_0x179868<0x4&&_0x2decf7+_0x179868*0.75<_0x845be4;_0x179868++)_0x299426[_0x2f88c5(0x384)](_0x17a346[_0x2f88c5(0xa2)](_0x136114>>>0x6*(0x3-_0x179868)&0x3f));var _0x583a15=_0x17a346[_0x2f88c5(0xa2)](0x40);if(_0x583a15){for(;_0x299426[_0x2f88c5(0x30d)]%0x4;)_0x299426['push'](_0x583a15);}return _0x299426['join']('');},'parse':function(_0x5b5d14){var _0x5c3e87=_0x4ed340,_0x2ed329=_0x5b5d14[_0x5c3e87(0x30d)],_0x40ab4f=this['_map'],_0x3920d5=this['_reverseMap'];if(!_0x3920d5){_0x3920d5=this['_reverseMap']=[];for(var _0x45efdc=0x0;_0x45efdc<_0x40ab4f[_0x5c3e87(0x30d)];_0x45efdc++)_0x3920d5[_0x40ab4f[_0x5c3e87(0x9c)](_0x45efdc)]=_0x45efdc;}var _0xeb7748=_0x40ab4f[_0x5c3e87(0xa2)](0x40);if(_0xeb7748){var _0x2d7529=_0x5b5d14['indexOf'](_0xeb7748);_0x2d7529!==-0x1&&(_0x2ed329=_0x2d7529);}return _0xf08d76(_0x5b5d14,_0x2ed329,_0x3920d5);},'_map':_0x4ed340(0x366)};function _0xf08d76(_0x572daf,_0x518bc6,_0x15053d){var _0x4f842d=_0x4ed340;for(var _0x22f647=[],_0x2f46e9=0x0,_0x1ae05d=0x0;_0x1ae05d<_0x518bc6;_0x1ae05d++)if(_0x1ae05d%0x4){var _0x5448f3=_0x15053d[_0x572daf[_0x4f842d(0x9c)](_0x1ae05d-0x1)]<<_0x1ae05d%0x4*0x2,_0x181185=_0x15053d[_0x572daf['charCodeAt'](_0x1ae05d)]>>>0x6-_0x1ae05d%0x4*0x2,_0x2f6694=_0x5448f3|_0x181185;_0x22f647[_0x2f46e9>>>0x2]|=_0x2f6694<<0x18-_0x2f46e9%0x4*0x8,_0x2f46e9++;}return _0x1916a3[_0x4f842d(0x34d)](_0x22f647,_0x2f46e9);}}()),_0x48889e[_0x5e580c(0x22b)][_0x5e580c(0xc0)];}));}(We)),We[_0x4afcf0(0x2fa)];}var Ke={'exports':{}},Lr=Ke[_0x583b84(0x2fa)],ei;function Mr(){var _0x1602eb=_0x583b84;return ei||(ei=0x1,function(_0x47d652,_0x26900b){(function(_0x5efb44,_0x314081){var _0x17896c=_0x2d6f;_0x47d652[_0x17896c(0x2fa)]=_0x314081(ne());}(Lr,function(_0x5e2e0b){return function(_0x429296){var _0x5358cf=_0x2d6f,_0x2befbf=_0x5e2e0b,_0x19cfed=_0x2befbf[_0x5358cf(0x151)],_0x3fe2a8=_0x19cfed['WordArray'],_0x370922=_0x19cfed['Hasher'],_0x109acf=_0x2befbf[_0x5358cf(0xad)],_0x210b7f=[];(function(){var _0xd68fa2=_0x5358cf;for(var _0x2a666f=0x0;_0x2a666f<0x40;_0x2a666f++)_0x210b7f[_0x2a666f]=_0x429296[_0xd68fa2(0x272)](_0x429296[_0xd68fa2(0x11f)](_0x2a666f+0x1))*0x100000000|0x0;}());var _0x722b72=_0x109acf[_0x5358cf(0x356)]=_0x370922[_0x5358cf(0x351)]({'_doReset':function(){var _0x3e60d7=_0x5358cf;this[_0x3e60d7(0x1ef)]=new _0x3fe2a8[(_0x3e60d7(0x2bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x471ca5,_0x3b4ff4){var _0x29d3f6=_0x5358cf;for(var _0xbefdca=0x0;_0xbefdca<0x10;_0xbefdca++){var _0x70db02=_0x3b4ff4+_0xbefdca,_0xc38e46=_0x471ca5[_0x70db02];_0x471ca5[_0x70db02]=(_0xc38e46<<0x8|_0xc38e46>>>0x18)&0xff00ff|(_0xc38e46<<0x18|_0xc38e46>>>0x8)&0xff00ff00;}var _0x402321=this[_0x29d3f6(0x1ef)][_0x29d3f6(0x18b)],_0x3ffc64=_0x471ca5[_0x3b4ff4+0x0],_0x22c7f8=_0x471ca5[_0x3b4ff4+0x1],_0x479e11=_0x471ca5[_0x3b4ff4+0x2],_0x444b54=_0x471ca5[_0x3b4ff4+0x3],_0x291504=_0x471ca5[_0x3b4ff4+0x4],_0x24d7da=_0x471ca5[_0x3b4ff4+0x5],_0xa1a778=_0x471ca5[_0x3b4ff4+0x6],_0x3a8357=_0x471ca5[_0x3b4ff4+0x7],_0x35a861=_0x471ca5[_0x3b4ff4+0x8],_0x2b91fb=_0x471ca5[_0x3b4ff4+0x9],_0x3dc337=_0x471ca5[_0x3b4ff4+0xa],_0x3c2f2c=_0x471ca5[_0x3b4ff4+0xb],_0x41317a=_0x471ca5[_0x3b4ff4+0xc],_0x42c312=_0x471ca5[_0x3b4ff4+0xd],_0x23a6fb=_0x471ca5[_0x3b4ff4+0xe],_0x15a912=_0x471ca5[_0x3b4ff4+0xf],_0x4c89e2=_0x402321[0x0],_0x3fa1f2=_0x402321[0x1],_0x270069=_0x402321[0x2],_0x67e24a=_0x402321[0x3];_0x4c89e2=_0x21b413(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x3ffc64,0x7,_0x210b7f[0x0]),_0x67e24a=_0x21b413(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x22c7f8,0xc,_0x210b7f[0x1]),_0x270069=_0x21b413(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x479e11,0x11,_0x210b7f[0x2]),_0x3fa1f2=_0x21b413(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x444b54,0x16,_0x210b7f[0x3]),_0x4c89e2=_0x21b413(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x291504,0x7,_0x210b7f[0x4]),_0x67e24a=_0x21b413(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x24d7da,0xc,_0x210b7f[0x5]),_0x270069=_0x21b413(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0xa1a778,0x11,_0x210b7f[0x6]),_0x3fa1f2=_0x21b413(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x3a8357,0x16,_0x210b7f[0x7]),_0x4c89e2=_0x21b413(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x35a861,0x7,_0x210b7f[0x8]),_0x67e24a=_0x21b413(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x2b91fb,0xc,_0x210b7f[0x9]),_0x270069=_0x21b413(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x3dc337,0x11,_0x210b7f[0xa]),_0x3fa1f2=_0x21b413(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x3c2f2c,0x16,_0x210b7f[0xb]),_0x4c89e2=_0x21b413(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x41317a,0x7,_0x210b7f[0xc]),_0x67e24a=_0x21b413(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x42c312,0xc,_0x210b7f[0xd]),_0x270069=_0x21b413(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x23a6fb,0x11,_0x210b7f[0xe]),_0x3fa1f2=_0x21b413(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x15a912,0x16,_0x210b7f[0xf]),_0x4c89e2=_0x41145a(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x22c7f8,0x5,_0x210b7f[0x10]),_0x67e24a=_0x41145a(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0xa1a778,0x9,_0x210b7f[0x11]),_0x270069=_0x41145a(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x3c2f2c,0xe,_0x210b7f[0x12]),_0x3fa1f2=_0x41145a(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x3ffc64,0x14,_0x210b7f[0x13]),_0x4c89e2=_0x41145a(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x24d7da,0x5,_0x210b7f[0x14]),_0x67e24a=_0x41145a(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x3dc337,0x9,_0x210b7f[0x15]),_0x270069=_0x41145a(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x15a912,0xe,_0x210b7f[0x16]),_0x3fa1f2=_0x41145a(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x291504,0x14,_0x210b7f[0x17]),_0x4c89e2=_0x41145a(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x2b91fb,0x5,_0x210b7f[0x18]),_0x67e24a=_0x41145a(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x23a6fb,0x9,_0x210b7f[0x19]),_0x270069=_0x41145a(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x444b54,0xe,_0x210b7f[0x1a]),_0x3fa1f2=_0x41145a(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x35a861,0x14,_0x210b7f[0x1b]),_0x4c89e2=_0x41145a(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x42c312,0x5,_0x210b7f[0x1c]),_0x67e24a=_0x41145a(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x479e11,0x9,_0x210b7f[0x1d]),_0x270069=_0x41145a(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x3a8357,0xe,_0x210b7f[0x1e]),_0x3fa1f2=_0x41145a(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x41317a,0x14,_0x210b7f[0x1f]),_0x4c89e2=_0x447eb9(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x24d7da,0x4,_0x210b7f[0x20]),_0x67e24a=_0x447eb9(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x35a861,0xb,_0x210b7f[0x21]),_0x270069=_0x447eb9(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x3c2f2c,0x10,_0x210b7f[0x22]),_0x3fa1f2=_0x447eb9(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x23a6fb,0x17,_0x210b7f[0x23]),_0x4c89e2=_0x447eb9(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x22c7f8,0x4,_0x210b7f[0x24]),_0x67e24a=_0x447eb9(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x291504,0xb,_0x210b7f[0x25]),_0x270069=_0x447eb9(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x3a8357,0x10,_0x210b7f[0x26]),_0x3fa1f2=_0x447eb9(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x3dc337,0x17,_0x210b7f[0x27]),_0x4c89e2=_0x447eb9(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x42c312,0x4,_0x210b7f[0x28]),_0x67e24a=_0x447eb9(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x3ffc64,0xb,_0x210b7f[0x29]),_0x270069=_0x447eb9(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x444b54,0x10,_0x210b7f[0x2a]),_0x3fa1f2=_0x447eb9(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0xa1a778,0x17,_0x210b7f[0x2b]),_0x4c89e2=_0x447eb9(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x2b91fb,0x4,_0x210b7f[0x2c]),_0x67e24a=_0x447eb9(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x41317a,0xb,_0x210b7f[0x2d]),_0x270069=_0x447eb9(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x15a912,0x10,_0x210b7f[0x2e]),_0x3fa1f2=_0x447eb9(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x479e11,0x17,_0x210b7f[0x2f]),_0x4c89e2=_0x569519(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x3ffc64,0x6,_0x210b7f[0x30]),_0x67e24a=_0x569519(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x3a8357,0xa,_0x210b7f[0x31]),_0x270069=_0x569519(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x23a6fb,0xf,_0x210b7f[0x32]),_0x3fa1f2=_0x569519(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x24d7da,0x15,_0x210b7f[0x33]),_0x4c89e2=_0x569519(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x41317a,0x6,_0x210b7f[0x34]),_0x67e24a=_0x569519(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x444b54,0xa,_0x210b7f[0x35]),_0x270069=_0x569519(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x3dc337,0xf,_0x210b7f[0x36]),_0x3fa1f2=_0x569519(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x22c7f8,0x15,_0x210b7f[0x37]),_0x4c89e2=_0x569519(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x35a861,0x6,_0x210b7f[0x38]),_0x67e24a=_0x569519(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x15a912,0xa,_0x210b7f[0x39]),_0x270069=_0x569519(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0xa1a778,0xf,_0x210b7f[0x3a]),_0x3fa1f2=_0x569519(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x42c312,0x15,_0x210b7f[0x3b]),_0x4c89e2=_0x569519(_0x4c89e2,_0x3fa1f2,_0x270069,_0x67e24a,_0x291504,0x6,_0x210b7f[0x3c]),_0x67e24a=_0x569519(_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x270069,_0x3c2f2c,0xa,_0x210b7f[0x3d]),_0x270069=_0x569519(_0x270069,_0x67e24a,_0x4c89e2,_0x3fa1f2,_0x479e11,0xf,_0x210b7f[0x3e]),_0x3fa1f2=_0x569519(_0x3fa1f2,_0x270069,_0x67e24a,_0x4c89e2,_0x2b91fb,0x15,_0x210b7f[0x3f]),_0x402321[0x0]=_0x402321[0x0]+_0x4c89e2|0x0,_0x402321[0x1]=_0x402321[0x1]+_0x3fa1f2|0x0,_0x402321[0x2]=_0x402321[0x2]+_0x270069|0x0,_0x402321[0x3]=_0x402321[0x3]+_0x67e24a|0x0;},'_doFinalize':function(){var _0x1afa2b=_0x5358cf,_0x43a44e=this[_0x1afa2b(0x1b6)],_0x5a3ebe=_0x43a44e['words'],_0x2f3ad5=this[_0x1afa2b(0x21e)]*0x8,_0x55bee3=_0x43a44e[_0x1afa2b(0x2b8)]*0x8;_0x5a3ebe[_0x55bee3>>>0x5]|=0x80<<0x18-_0x55bee3%0x20;var _0x4a6e0e=_0x429296[_0x1afa2b(0x16a)](_0x2f3ad5/0x100000000),_0x35c86a=_0x2f3ad5;_0x5a3ebe[(_0x55bee3+0x40>>>0x9<<0x4)+0xf]=(_0x4a6e0e<<0x8|_0x4a6e0e>>>0x18)&0xff00ff|(_0x4a6e0e<<0x18|_0x4a6e0e>>>0x8)&0xff00ff00,_0x5a3ebe[(_0x55bee3+0x40>>>0x9<<0x4)+0xe]=(_0x35c86a<<0x8|_0x35c86a>>>0x18)&0xff00ff|(_0x35c86a<<0x18|_0x35c86a>>>0x8)&0xff00ff00,_0x43a44e[_0x1afa2b(0x2b8)]=(_0x5a3ebe['length']+0x1)*0x4,this[_0x1afa2b(0x188)]();for(var _0x1eb5f4=this[_0x1afa2b(0x1ef)],_0x420824=_0x1eb5f4['words'],_0x1678ed=0x0;_0x1678ed<0x4;_0x1678ed++){var _0x592079=_0x420824[_0x1678ed];_0x420824[_0x1678ed]=(_0x592079<<0x8|_0x592079>>>0x18)&0xff00ff|(_0x592079<<0x18|_0x592079>>>0x8)&0xff00ff00;}return _0x1eb5f4;},'clone':function(){var _0x58fd5e=_0x5358cf,_0xf4e06a=_0x370922[_0x58fd5e(0x17d)][_0x58fd5e(0x1e9)](this);return _0xf4e06a['_hash']=this['_hash'][_0x58fd5e(0x17d)](),_0xf4e06a;}});function _0x21b413(_0x5609ba,_0x4922ab,_0x3e1f63,_0x472885,_0x322129,_0x4ee845,_0x5591db){var _0x5634af=_0x5609ba+(_0x4922ab&_0x3e1f63|~_0x4922ab&_0x472885)+_0x322129+_0x5591db;return(_0x5634af<<_0x4ee845|_0x5634af>>>0x20-_0x4ee845)+_0x4922ab;}function _0x41145a(_0x4e0e66,_0x26393f,_0x896641,_0x4d31d3,_0x220f42,_0x1001d8,_0x5dfbd7){var _0x47c5f2=_0x4e0e66+(_0x26393f&_0x4d31d3|_0x896641&~_0x4d31d3)+_0x220f42+_0x5dfbd7;return(_0x47c5f2<<_0x1001d8|_0x47c5f2>>>0x20-_0x1001d8)+_0x26393f;}function _0x447eb9(_0xf66534,_0x7a91a4,_0x209a92,_0x22d644,_0x14a013,_0x4ddd43,_0x41d77e){var _0x514221=_0xf66534+(_0x7a91a4^_0x209a92^_0x22d644)+_0x14a013+_0x41d77e;return(_0x514221<<_0x4ddd43|_0x514221>>>0x20-_0x4ddd43)+_0x7a91a4;}function _0x569519(_0xfb3fb8,_0x1fbe79,_0x332c16,_0x4ebf57,_0x24db84,_0xc5b43f,_0x22839e){var _0x4c6673=_0xfb3fb8+(_0x332c16^(_0x1fbe79|~_0x4ebf57))+_0x24db84+_0x22839e;return(_0x4c6673<<_0xc5b43f|_0x4c6673>>>0x20-_0xc5b43f)+_0x1fbe79;}_0x2befbf[_0x5358cf(0x356)]=_0x370922[_0x5358cf(0xa3)](_0x722b72),_0x2befbf[_0x5358cf(0x335)]=_0x370922[_0x5358cf(0x132)](_0x722b72);}(Math),_0x5e2e0b['MD5'];}));}(Ke)),Ke[_0x1602eb(0x2fa)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x578a17=_0x583b84;return ti||(ti=0x1,function(_0x5f02e1,_0x117643){(function(_0x58b9f9,_0x2598e7){var _0x5759eb=_0x2d6f;_0x5f02e1[_0x5759eb(0x2fa)]=_0x2598e7(ne());}($r,function(_0x3d831a){var _0x210617=_0x2d6f;return(function(){var _0x4888e2=_0x2d6f,_0x332a89=_0x3d831a,_0x1a5a60=_0x332a89[_0x4888e2(0x151)],_0x1dd7b8=_0x1a5a60[_0x4888e2(0x140)],_0x374163=_0x1a5a60[_0x4888e2(0x22e)],_0x44ec9a=_0x332a89[_0x4888e2(0xad)],_0xbc56ac=[],_0x1357de=_0x44ec9a[_0x4888e2(0x139)]=_0x374163[_0x4888e2(0x351)]({'_doReset':function(){var _0x1a1e3f=_0x4888e2;this['_hash']=new _0x1dd7b8[(_0x1a1e3f(0x2bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5559b0,_0x1443d8){for(var _0x1c8d9d=this['_hash']['words'],_0x6d17=_0x1c8d9d[0x0],_0x32504b=_0x1c8d9d[0x1],_0x53d0e2=_0x1c8d9d[0x2],_0x3dec9a=_0x1c8d9d[0x3],_0x3a96cd=_0x1c8d9d[0x4],_0x58b1ce=0x0;_0x58b1ce<0x50;_0x58b1ce++){if(_0x58b1ce<0x10)_0xbc56ac[_0x58b1ce]=_0x5559b0[_0x1443d8+_0x58b1ce]|0x0;else{var _0x293857=_0xbc56ac[_0x58b1ce-0x3]^_0xbc56ac[_0x58b1ce-0x8]^_0xbc56ac[_0x58b1ce-0xe]^_0xbc56ac[_0x58b1ce-0x10];_0xbc56ac[_0x58b1ce]=_0x293857<<0x1|_0x293857>>>0x1f;}var _0x4baccf=(_0x6d17<<0x5|_0x6d17>>>0x1b)+_0x3a96cd+_0xbc56ac[_0x58b1ce];_0x58b1ce<0x14?_0x4baccf+=(_0x32504b&_0x53d0e2|~_0x32504b&_0x3dec9a)+0x5a827999:_0x58b1ce<0x28?_0x4baccf+=(_0x32504b^_0x53d0e2^_0x3dec9a)+0x6ed9eba1:_0x58b1ce<0x3c?_0x4baccf+=(_0x32504b&_0x53d0e2|_0x32504b&_0x3dec9a|_0x53d0e2&_0x3dec9a)-0x70e44324:_0x4baccf+=(_0x32504b^_0x53d0e2^_0x3dec9a)-0x359d3e2a,_0x3a96cd=_0x3dec9a,_0x3dec9a=_0x53d0e2,_0x53d0e2=_0x32504b<<0x1e|_0x32504b>>>0x2,_0x32504b=_0x6d17,_0x6d17=_0x4baccf;}_0x1c8d9d[0x0]=_0x1c8d9d[0x0]+_0x6d17|0x0,_0x1c8d9d[0x1]=_0x1c8d9d[0x1]+_0x32504b|0x0,_0x1c8d9d[0x2]=_0x1c8d9d[0x2]+_0x53d0e2|0x0,_0x1c8d9d[0x3]=_0x1c8d9d[0x3]+_0x3dec9a|0x0,_0x1c8d9d[0x4]=_0x1c8d9d[0x4]+_0x3a96cd|0x0;},'_doFinalize':function(){var _0x5cafec=_0x4888e2,_0x3bb806=this['_data'],_0x434ecb=_0x3bb806[_0x5cafec(0x18b)],_0x3a3b8d=this[_0x5cafec(0x21e)]*0x8,_0x1722d3=_0x3bb806[_0x5cafec(0x2b8)]*0x8;return _0x434ecb[_0x1722d3>>>0x5]|=0x80<<0x18-_0x1722d3%0x20,_0x434ecb[(_0x1722d3+0x40>>>0x9<<0x4)+0xe]=Math[_0x5cafec(0x16a)](_0x3a3b8d/0x100000000),_0x434ecb[(_0x1722d3+0x40>>>0x9<<0x4)+0xf]=_0x3a3b8d,_0x3bb806[_0x5cafec(0x2b8)]=_0x434ecb[_0x5cafec(0x30d)]*0x4,this[_0x5cafec(0x188)](),this[_0x5cafec(0x1ef)];},'clone':function(){var _0x3fe6f3=_0x4888e2,_0x5abb58=_0x374163[_0x3fe6f3(0x17d)][_0x3fe6f3(0x1e9)](this);return _0x5abb58[_0x3fe6f3(0x1ef)]=this[_0x3fe6f3(0x1ef)][_0x3fe6f3(0x17d)](),_0x5abb58;}});_0x332a89[_0x4888e2(0x139)]=_0x374163[_0x4888e2(0xa3)](_0x1357de),_0x332a89['HmacSHA1']=_0x374163['_createHmacHelper'](_0x1357de);}()),_0x3d831a[_0x210617(0x139)];}));}(qe)),qe[_0x578a17(0x2fa)];}var ze={'exports':{}},kr=ze[_0x583b84(0x2fa)],ii;function jr(){var _0x1487bb=_0x583b84;return ii||(ii=0x1,function(_0x3a770a,_0x5cb146){(function(_0x4363d2,_0x32c63f){var _0x2eef85=_0x2d6f;_0x3a770a[_0x2eef85(0x2fa)]=_0x32c63f(ne());}(kr,function(_0x4041ca){(function(){var _0x2e8504=_0x2d6f,_0x5723d7=_0x4041ca,_0x5b2db1=_0x5723d7[_0x2e8504(0x151)],_0x5ad73a=_0x5b2db1[_0x2e8504(0x123)],_0x1a9113=_0x5723d7[_0x2e8504(0x22b)],_0x21573b=_0x1a9113['Utf8'],_0x127905=_0x5723d7['algo'];_0x127905[_0x2e8504(0x38c)]=_0x5ad73a[_0x2e8504(0x351)]({'init':function(_0x329525,_0x843b26){var _0x13fbcc=_0x2e8504;_0x329525=this[_0x13fbcc(0x342)]=new _0x329525[(_0x13fbcc(0x2bc))](),typeof _0x843b26==_0x13fbcc(0x15b)&&(_0x843b26=_0x21573b[_0x13fbcc(0xe8)](_0x843b26));var _0x40d1a5=_0x329525[_0x13fbcc(0x386)],_0x13fd1b=_0x40d1a5*0x4;_0x843b26[_0x13fbcc(0x2b8)]>_0x13fd1b&&(_0x843b26=_0x329525['finalize'](_0x843b26)),_0x843b26[_0x13fbcc(0x287)]();for(var _0x12d7e1=this['_oKey']=_0x843b26['clone'](),_0x44e68a=this[_0x13fbcc(0x218)]=_0x843b26[_0x13fbcc(0x17d)](),_0x2d428c=_0x12d7e1[_0x13fbcc(0x18b)],_0x2bf6a6=_0x44e68a[_0x13fbcc(0x18b)],_0x2c54eb=0x0;_0x2c54eb<_0x40d1a5;_0x2c54eb++)_0x2d428c[_0x2c54eb]^=0x5c5c5c5c,_0x2bf6a6[_0x2c54eb]^=0x36363636;_0x12d7e1[_0x13fbcc(0x2b8)]=_0x44e68a[_0x13fbcc(0x2b8)]=_0x13fd1b,this[_0x13fbcc(0x142)]();},'reset':function(){var _0x420310=_0x2e8504,_0x20a11c=this['_hasher'];_0x20a11c[_0x420310(0x142)](),_0x20a11c['update'](this[_0x420310(0x218)]);},'update':function(_0x13d0dd){var _0x45b77d=_0x2e8504;return this['_hasher'][_0x45b77d(0x226)](_0x13d0dd),this;},'finalize':function(_0x3df3d4){var _0x44808a=_0x2e8504,_0x4093b5=this[_0x44808a(0x342)],_0x1fdf21=_0x4093b5['finalize'](_0x3df3d4);_0x4093b5[_0x44808a(0x142)]();var _0x4849ca=_0x4093b5[_0x44808a(0x1f9)](this[_0x44808a(0x1c7)][_0x44808a(0x17d)]()[_0x44808a(0x2da)](_0x1fdf21));return _0x4849ca;}});}());}));}(ze)),ze[_0x1487bb(0x2fa)];}var Br=Ye[_0x583b84(0x2fa)],ni;function _0x3ee4(){var _0x3c181a=['post','objects','_startCollaboration','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','confirm','APPLY_REVISION_CONFILICT','error','kdf','equals','PSEUDO_FETCH_MISSING_RESULT','downloadEndpointUrl','HEARTBEAT_INTERVAL','onTransformSelections','debug','_oKey','[SyncedState]:\x20received\x20rejection.','POST','pluginName','_clearLocalCache','MUTATION','method','PasswordBasedCipher','LOGIN_URL_KEY','get','saveSnapshot','interceptor','getFocusedUnit','HELLO','error$','onRemoteAck','_onCombEvent','includes','_roomMembers','LOCAL_CACHE_INTERVAL','[CollaborationState]:\x20apply\x20error!','[CollaborationSession]','_getAPIPrefixPath','apply','_candidateSocket','transformUndoRedo','[CollaborationUndoRedoService]','size','/unit/','onTransformState','routeKey','setShowComponents','reconnect','isPermissionRej','call','revision','getUnitStatus$','UNRECOGNIZED','_transitionLocked','dispose$','_hash','PY_RUNTIME_SCRIPT_ERROR','SUCCUSS','csShouldRetryEvent','next','getCurrentRevOfUnit','UNIVER_SHEET','rng','getUnit','unpad','finalize','fromCollab','_minBufferSize','getTypeOfUnitDisposed$','UNIVER_SLIDE','JOIN_ROOM_FULL','_transformRemoteChangesetByStateCache','_createSocketURL','collaboration_new_changeset','loadOfflineData','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','msCrypto','getCollabEntity','_pendingMutations','LIVESHARE_TERMINATE','/role','/universer-api/snapshot','INTERNAL_ERROR','COMPRESS_MUTATION_SEND','isArray','liveShareNewHost','\x20to\x20','params','toggleOnline','collaboration-client.local-cache-service','body','collaMsg','duration','onCommandExecuted','_collaborationPaused','from','_iKey','allowed','crypto','_transformService','saveSheetBlock','has','_nDataBytes','saveImage','_getUploadFileURL','localeService','_remoteChangesetQueue','add','_joinRoom','mixIn','update','COLLAB_SUBMIT_CHANGESET_URL','awaiting','_throwTelemetryCollaborationNewChangeset','_entityInit$','enc','_imageSourceCache','getUnitId','Hasher','actions','auth.needGotoLoginAlert','_onMessage','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_incrementRevisionNumber','_doProcessBlock','registerHTTPInterceptor','UNIVER_UNKNOWN','10230280RqTbuk','subUnitId','_socket','focused$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','online$','deleteCollaborator','selections','[PendingState]:\x20received\x20acknowledgement.','getCurrentUser','members','_getRedoStack','_snapshotServerService','updateMember','/fetchmissing?from=','_transformUndoredo','reverse','PENDING','__creator','_memberService','range','fetchMissingChangesets','_undoRedoService','code','fromCharCode','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','USERS_ENTER','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getTime','UNKNOWN_CMD','reject','/resources','getAllMembers','_state$','awaitingChangeset','__esModule','onTransformRemoteChangesetByStateCache','NO_OTHER_CLIENTS_EDITING','searchParams','YUUMI_SUBSCRIPTION_NOT_FOUND','SNAPSHOT_SERVER_URL_KEY','CONNECTOR_DATA_TOO_LARGE','textRanges','_key','PERMISSION_REJ','_sendHeartbeat','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[OfflineState]:\x20received\x20rejection.','sid','hasher','_commentUpdate$','appendMutation','awaiting_with_pending','_cipher','_scheduleCompleteTimestamp','UNIVER_PROJECT','objectID','OpenSSL','resend','abs','updateOfflineData','action','href','responseType','key','session.room-cnt-exceeds','_roomCreated$','_onUserJoin','_getDownloadEndpointURL','commentUpdateEvent','BufferedBlockAlgorithm','[CollaborationEntity]','_disableEditing','getSheetBlock','reduce','_tryReconnect','batchAllowed','collaborators','APPLY_NON_SEQUENTIAL_REVISION','joinEvent','clamp','padding','url','iterations','_keyPriorReset','BASE64','open$','&assign=','image/jpg','/universer-api/uniscript','disposeWithMe','incrementRevOfUnit','LICENSE_MAX_UNITS_EXCEEDED','_getSendChangesetTimeout','_handler','status','/universer-api/file/{fileID}/sign-url','Pkcs7','addImageSourceCache','decrypt','_prevBlock','_doCryptBlock','INGEST','socket$','wsSessionTicketUrl','stopTime','compute','prototype','_http','every','onlyLocal','19506GutHpt','_acknowledgedAwaitingChangeset','_snapshotService','AWAITING','UNDEFINED','_transformSelections','_doFinalize','UNKNOWN_CODE','loadUnit','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','memberID','_showConflictNotification','image/bmp','APPLY_PERMISSION_DENIED','_onRemoteChangeset','_networkConditionService','byteLength','_socketService','sigBytes','transformChangesets','liveShareOperation','_config','init','getDeserializedSheetBlock','getInterceptPoints','_onRemoteACK','_members$','_sessions','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','listRoles','enableSingleActiveInstanceLock','deepClone','location','/allowed','univer-pro.collaboration-client.single-active-unit-service','title','Error\x20on\x20receiving\x20event','/universer-api/stream/file/upload','_keySchedule','_nRounds','_loadSheet','LICENSE_EXPORT_SIZE_EXCEEDED','_resendTimer','IDLE','onSendChangeset','getLatestCsReqIdBySid','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_event$','createEncryptor','ALREADY_EXISTS','createDecryptor','_socket$','concat','_userManagerService','COMPRESS_MUTATION_APPLY','runId','UNAUTHENTICATED','clear','_handlerCallback','_collaborationSessionService','/universer-api/snapshot/','_decreaseWaiting','452HpuTZg','min','JOIN_ROOM_FAILED','_shouldReportTelemetry','_getLoginPath','OFFLINE','readInt32LE','_removeRoom','withCredentials','NOT_FOUND','changesets','initWorkbookPermissionChange','objectType','delete','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','emitEvent','_awaitingChangeset','buffer','_change$','_localCacheService','uploadFileServerUrl','5910KGuFrg','exports','FETCH_MISS','pad','_replayCachedMutations','USERS_LEAVE','onTransformRemoteChangesetByIMECache','UnitEmbedded','2614565pQXOpc','updateCursorEvent','_startTelemetryCollaborationNewChangeset','_changesetReqId','pending','_createHandler','_doReset','_collaborationUIEventService','_createInitialStateImpl','CBC','format','socket\x20open.','length','HttpImport','uniscriptRunEvent','HEARTBEAT','_toggleOnline','BlockCipherMode','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collaborationTimeoutTimer','189txBbWb','sheets','enableAuthServer','mode','byteOffset','LEAVE','getTypeOfUnitAdded$','SOCKET_FAILED_RETRY','APPLY_REJECT','connection\x20error','_createInitialState','_socketMessageSubscription','HttpExport','_clearUndo','removeMember','74239jprIyk','?url=','_listenToNetworkCondition','execute','Cipher','_compressMutationService','StreamCipher','socketService','UNISCRIPT_RUN','createInstance','c2Prime','_status$','bind','change$','cmd','_substituteUndoStack','close','HmacMD5','RECV','onTransformIME','map','_isPermissionRej','result','compose','AES','entityInit$','_clearTimeoutTimer','loadDoc','SNAPSHOT_URL_KEY','ERROR_IMAGE_TYPE','_hasher','resourceIDs','ENSURE_SNAPSHOT_EXECUTION','getMember','c1Prime','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','waitForRoom$','reqId','_transformStateCache','repeat','subject','create','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_injector','/universer-api/user/session-ticket','extend','_initCloseConn','_getAPIPrefix','_commandService','salt','MD5','RETRY_CONNECTING_MAX_COUNT','permissionRejEvent','data','roomInfos','onMissingChangesets','_toggleOffline','toLowerCase','transformMutationsWithChangeset','Could\x20not\x20dynamically\x20require\x20\x22','csAckEvent','getMemberID','sessionStatus','LIVESHARE_NEW_HOST','_clearScheduledTask','send','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','image/gif','encryptBlock','encrypt','_sheetTransformSelectionsService','_configService','addHandlerCallback','$super','_getUndoStack','GLOBAL_ROOMS_CNT_EXCEEDS','_sender','set','/block/','join','_updateState','_telemetryService','function','_parse','offline','LIVESHARE_REQUEST_HOST','_collabSessionService','fetch_missing','loadSheet','values','_fetchMissChangesets','splice','FETCH_MISSING','hasOwnProperty','list','_resendTimeout','push','session','blockSize','substr','[DataLoaderService]','_onConnectionFailed','CHANGESET_SHOULD_RETRY','copyFileMeta','HMAC','_eventService','_unlockTransition','randomBytes','_univerInstanceService','_onFetchMissResult','_initMergeInterceptor','/collaborator','[CollaborationSessionService]:\x20socket\x20error','fetching\x20missing\x20changesets\x20from\x20','onMissedChangesetFetched','mutations','_emitMembers','search','fetchThroughInterceptors','catch','FileId','sessionStatus$','66ECMzFI','OTHER_CLIENTS_EDITING','CONFLICT','_registerDependencies','encode','_instanceService','_redoStacks','subscribe','charCodeAt','_sendingTimer','startsWith','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','People','baseRev','charAt','_createHelper','/universer-api/authz','CHANGESET_REJ','getCollabEntity$','_clearCollaborationTimeoutTimer','JOIN','INVALID_ARGUMENT','updateCollaborator','LIVESHARE_FETCH_OPERATIONS','_retryConnectingTimer','algo','application/json','onLocalMutation','AUTHZ_URL_KEY','image/png','_createSocket','_init','complete','UNIVER_DOC','asObservable','_waitForHeartbeatResponse','_loadDoc','EvpKDF','status$','disableLocalCache','find','requireSession','_queuedRemoteChangesets','_syncEditingCollabCursor','Base64','max','updatePermissionPoint','[FetchMissState]','BlockCipher','onCommentUpdate','JOIN_ROOM_PERMISSION_DENIED','_onRecvEvent','event$','UPDATE_PERMISSION_OBJ','members$','Undefined','session.room-not-exists','session.room-permission-denied','formatter','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','startTime','toggleOffline','unitId','ceil','_clearRedo','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','SHOULD_CLOSE_CONN','_retryCount','_type','JOINING','socket\x20close','[PendingState]:\x20received\x20rejection.','put','/new_changes','_checkMissing','AWAITING_WITH_PENDING','_substituteRedoStack','OTHER_CLIENT_EDITING','getRandomValues','PERMISSION_DENIED','onRemoteRej','_updateStatus','NoPadding','transformStack\x20failed!','parse','setCurrentUser','authzUrl','_waitCount','EXCHANGE_SIGN_URL_SERVER_URL_KEY','unknown','_scheduleCollaborationTimeoutTimer','joinRsp','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_httpService','src','LIVESHARE_OPERATION','_sessionStatus$','leaveEvent','_initDependencies','Hex','ciphertext','executeCommand','getUnitType','Latin1','_onRemoteRejected','default','toString','findIndex','9394938cnPmPk','UPDATE_CURSOR','PERSON','_rescheduleHeartbeat','/object/','COMMENT_UPDATE','_append','_transformStack','_onJoinRoomEvent','keySize','__Key__','then','_submitChangeset','getSnapshotAPIPath','unitId\x20is\x20not\x20found','_singleActiveUnitService','_telemetryInfo','APPLY_DUPLICATED','_entities','CHANGESET_ACK','UnitSnapshot','unitID','rev','_schedule','UNIVER_COLLABORATION_CLIENT_PLUGIN','ws://127.0.0.1:8000/universer-api/comb/connect','SerializableCipher','requestParams','_updateLocalCache','headers','listCollaborators','sin','random','&source=','173820TqkGaS','Base','/-/object/-/batch_allowed','_onConnectionOpen','createSocket','COLLAB_WEB_SOCKET_URL','ONLINE','patch','forEach','randomUUID','JOIN_ROOM_NOT_EXISTS','m2Prime','_transformIMECache','ticket','getValue','replace','_createHmacHelper','_sendHeartbeatTimer','Decryptor','CHANGESET_REVISION_CONFILICT','_getSessionTicket','{fileID}','_state','SHA1','SOCKET_FAILED','_revisionService','_members','\x20in\x20_schedule.','_xformMode','_resendWithTimeout','WordArray','_invKeySchedule','reset','LICENSE_IMPORT_SIZE_EXCEEDED','_timeoutTimer','HEARTBEAT_TIMEOUT','origin','json','_exhaustRemoteChangesetQueue','close$','editing\x20status\x20changed\x20to','onSyncEditingCollabCursor','_applyRemoteChangeset','localCacheService','defineProperty','createCollaborator','_commentService','lib','symbol','shouldCloseConn','target','transformSelections','readyForCollab','refreshPermission','_HTTPService','_tryEnsureSocket','SYNCED','string','_localeService','/object','[OfflineState]:\x20received\x20changeset.','_unitInfo$','cfg','pipe','generateRandomId','putCollaborators','_iv','loginUrlKey','telemetry\x20info\x20is\x20not\x20initialized','YUUMI_URL_COL_OUT_OF_RANGE','SUBMIT_CHANGESET','_executeRemoteChangeset','floor','_unitID','[OfflineState]:\x20received\x20acknowledgement.','\x0aAfter:\x20','_changesetSessionId','onRemoteChangeset','CLOSE_ROOM','originalMeta','_clearHeartbeatTimer','now','_onLocalMutation','_initUnitPermissionChange','collabWebSocketUrl','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','readAsDataURL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','csRejEvent','entries','_getSignURL','clone','getOwnPropertyDescriptor','state','getUnitOnRev','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_ENC_XFORM_MODE','[CollaborationSessionService]','type','SNAPSHOT_HAS_BEEN_REMOVED','collaboratorID','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_process','message$','_transformRemoteChangesetByIMECache','words','unsubscribe','FAIL','_getCurrentRevision','_permissionService','state$','_onUserLeave','?size=','saveChangeset','setWaitCount','_logService','sessionTicket','getConfig','signUrlServerUrl','ERROR_EXCEED_SIZE','collabSubmitChangesetUrl','fetchMiss','synced','objectActions','Utf8','_replaceFileID','editingUnit','YUUMI_RATE_OVER_LIMIT','stringify','getCurrentSelections','_initRequestHeader','_socketReady','2177isddBx','DEFAULT_FILE_NAME','avatar','eventID','slice','dispose','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_mode','getImageSourceCache','onRemoteRetry','conflict','COMPLETION_FINISHED','getActiveSheet','LICENSE_DISTRO_REJECTED','ivSize','_lockTransition','_data','MSG_FOR_ERROR','_onConflict'];_0x3ee4=function(){return _0x3c181a;};return _0x3ee4();}function Ui(){return ni||(ni=0x1,function(_0x44bdac,_0x3b7b4d){(function(_0x35b908,_0x3a41ed,_0x384eca){var _0x183fb3=_0x2d6f;_0x44bdac[_0x183fb3(0x2fa)]=_0x3a41ed(ne(),Hr(),jr());}(Br,function(_0x1d628b){var _0x3eadea=_0x2d6f;return(function(){var _0x3fe014=_0x2d6f,_0x3493bb=_0x1d628b,_0x5131fb=_0x3493bb[_0x3fe014(0x151)],_0x1a0f3a=_0x5131fb[_0x3fe014(0x123)],_0x3d9498=_0x5131fb['WordArray'],_0x2dba18=_0x3493bb['algo'],_0xcc61d5=_0x2dba18['MD5'],_0xde7fda=_0x2dba18[_0x3fe014(0xb9)]=_0x1a0f3a['extend']({'cfg':_0x1a0f3a[_0x3fe014(0x351)]({'keySize':0x80/0x20,'hasher':_0xcc61d5,'iterations':0x1}),'init':function(_0x2d1720){var _0x1f09fe=_0x3fe014;this[_0x1f09fe(0x160)]=this[_0x1f09fe(0x160)][_0x1f09fe(0x351)](_0x2d1720);},'compute':function(_0x90621c,_0x13dab1){var _0x56e2a3=_0x3fe014;for(var _0x474e83,_0x52ca0b=this['cfg'],_0x166833=_0x52ca0b[_0x56e2a3(0x268)][_0x56e2a3(0x34d)](),_0x588125=_0x3d9498[_0x56e2a3(0x34d)](),_0x1fd493=_0x588125[_0x56e2a3(0x18b)],_0x259b1d=_0x52ca0b[_0x56e2a3(0x109)],_0xd459eb=_0x52ca0b[_0x56e2a3(0x28a)];_0x1fd493['length']<_0x259b1d;){_0x474e83&&_0x166833['update'](_0x474e83),_0x474e83=_0x166833['update'](_0x90621c)['finalize'](_0x13dab1),_0x166833[_0x56e2a3(0x142)]();for(var _0x273433=0x1;_0x273433<_0xd459eb;_0x273433++)_0x474e83=_0x166833[_0x56e2a3(0x1f9)](_0x474e83),_0x166833[_0x56e2a3(0x142)]();_0x588125[_0x56e2a3(0x2da)](_0x474e83);}return _0x588125[_0x56e2a3(0x2b8)]=_0x259b1d*0x4,_0x588125;}});_0x3493bb[_0x3fe014(0xb9)]=function(_0x42b391,_0x1d78c4,_0x31a969){var _0x49e759=_0x3fe014;return _0xde7fda['create'](_0x31a969)[_0x49e759(0x2a1)](_0x42b391,_0x1d78c4);};}()),_0x1d628b[_0x3eadea(0xb9)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x22086b=_0x583b84;return ri||(ri=0x1,function(_0x1d0129,_0x5b4f9c){(function(_0x56281d,_0x5ce158,_0x2d9689){var _0x3f3391=_0x2d6f;_0x1d0129[_0x3f3391(0x2fa)]=_0x5ce158(ne(),Ui());}(Fr,function(_0x19e037){var _0x55ef93=_0x2d6f;_0x19e037[_0x55ef93(0x151)][_0x55ef93(0x328)]||function(_0x4bcda8){var _0x38aeaa=_0x55ef93,_0x5e6b01=_0x19e037,_0xa377ad=_0x5e6b01['lib'],_0x33c69e=_0xa377ad['Base'],_0x3abea8=_0xa377ad['WordArray'],_0x20adb3=_0xa377ad[_0x38aeaa(0x27d)],_0x4cec08=_0x5e6b01[_0x38aeaa(0x22b)];_0x4cec08[_0x38aeaa(0x19e)];var _0xc2357b=_0x4cec08['Base64'],_0x36413c=_0x5e6b01[_0x38aeaa(0xad)],_0x24b4bb=_0x36413c[_0x38aeaa(0xb9)],_0x1cc47b=_0xa377ad[_0x38aeaa(0x328)]=_0x20adb3[_0x38aeaa(0x351)]({'cfg':_0x33c69e[_0x38aeaa(0x351)](),'createEncryptor':function(_0x5e2f9a,_0x173d7b){var _0x30bb8e=_0x38aeaa;return this['create'](this[_0x30bb8e(0x182)],_0x5e2f9a,_0x173d7b);},'createDecryptor':function(_0xd2b054,_0x48cf02){var _0x1e3dea=_0x38aeaa;return this[_0x1e3dea(0x34d)](this['_DEC_XFORM_MODE'],_0xd2b054,_0x48cf02);},'init':function(_0xea78a,_0x1e166f,_0x400de6){var _0x12151f=_0x38aeaa;this['cfg']=this[_0x12151f(0x160)][_0x12151f(0x351)](_0x400de6),this['_xformMode']=_0xea78a,this['_key']=_0x1e166f,this[_0x12151f(0x142)]();},'reset':function(){var _0x4b303a=_0x38aeaa;_0x20adb3['reset'][_0x4b303a(0x1e9)](this),this[_0x4b303a(0x307)]();},'process':function(_0x3e55c8){var _0x1f1160=_0x38aeaa;return this[_0x1f1160(0x106)](_0x3e55c8),this[_0x1f1160(0x188)]();},'finalize':function(_0x1afbc5){var _0x159473=_0x38aeaa;_0x1afbc5&&this['_append'](_0x1afbc5);var _0x1f1273=this[_0x159473(0x2ac)]();return _0x1f1273;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x44afbe(_0x5298ab){var _0x36f206=_0x2d6f;return typeof _0x5298ab==_0x36f206(0x15b)?_0x2076eb:_0x73bde1;}return function(_0x4974e1){return{'encrypt':function(_0x2343c8,_0x4149cb,_0x45fc79){return _0x44afbe(_0x4149cb)['encrypt'](_0x4974e1,_0x2343c8,_0x4149cb,_0x45fc79);},'decrypt':function(_0x2bafcb,_0x43daa1,_0x52111a){return _0x44afbe(_0x43daa1)['decrypt'](_0x4974e1,_0x2bafcb,_0x43daa1,_0x52111a);}};};}())});_0xa377ad[_0x38aeaa(0x32a)]=_0x1cc47b[_0x38aeaa(0x351)]({'_doFinalize':function(){var _0xd88eca=_0x38aeaa,_0x3bbff5=this[_0xd88eca(0x188)](!0x0);return _0x3bbff5;},'blockSize':0x1});var _0x231d47=_0x5e6b01[_0x38aeaa(0x318)]={},_0x5aff57=_0xa377ad[_0x38aeaa(0x312)]=_0x33c69e[_0x38aeaa(0x351)]({'createEncryptor':function(_0x94ae71,_0x528165){var _0x138ad8=_0x38aeaa;return this['Encryptor'][_0x138ad8(0x34d)](_0x94ae71,_0x528165);},'createDecryptor':function(_0xa51c0d,_0x15adfc){var _0x538258=_0x38aeaa;return this[_0x538258(0x134)]['create'](_0xa51c0d,_0x15adfc);},'init':function(_0x429ceb,_0x5c10ee){var _0x53b5de=_0x38aeaa;this[_0x53b5de(0x26c)]=_0x429ceb,this[_0x53b5de(0x164)]=_0x5c10ee;}}),_0x342aac=_0x231d47[_0x38aeaa(0x30a)]=(function(){var _0x27a700=_0x38aeaa,_0x5ac6da=_0x5aff57[_0x27a700(0x351)]();_0x5ac6da['Encryptor']=_0x5ac6da['extend']({'processBlock':function(_0x5ec4a1,_0x3efd75){var _0x5a409f=_0x27a700,_0x4b2cee=this[_0x5a409f(0x26c)],_0x4ce9f5=_0x4b2cee[_0x5a409f(0x386)];_0x12b321[_0x5a409f(0x1e9)](this,_0x5ec4a1,_0x3efd75,_0x4ce9f5),_0x4b2cee[_0x5a409f(0x368)](_0x5ec4a1,_0x3efd75),this[_0x5a409f(0x29b)]=_0x5ec4a1[_0x5a409f(0x1aa)](_0x3efd75,_0x3efd75+_0x4ce9f5);}}),_0x5ac6da[_0x27a700(0x134)]=_0x5ac6da[_0x27a700(0x351)]({'processBlock':function(_0x15f794,_0x35fc4e){var _0x1469cd=_0x27a700,_0x4efd9f=this['_cipher'],_0x14d02f=_0x4efd9f[_0x1469cd(0x386)],_0x476195=_0x15f794[_0x1469cd(0x1aa)](_0x35fc4e,_0x35fc4e+_0x14d02f);_0x4efd9f['decryptBlock'](_0x15f794,_0x35fc4e),_0x12b321[_0x1469cd(0x1e9)](this,_0x15f794,_0x35fc4e,_0x14d02f),this[_0x1469cd(0x29b)]=_0x476195;}});function _0x12b321(_0x6dec69,_0x45eda3,_0x1829c6){var _0x4c3ae7=_0x27a700,_0x4dec7f,_0x496306=this[_0x4c3ae7(0x164)];_0x496306?(_0x4dec7f=_0x496306,this[_0x4c3ae7(0x164)]=_0x4bcda8):_0x4dec7f=this['_prevBlock'];for(var _0x974226=0x0;_0x974226<_0x1829c6;_0x974226++)_0x6dec69[_0x45eda3+_0x974226]^=_0x4dec7f[_0x974226];}return _0x5ac6da;}()),_0x1114ff=_0x5e6b01[_0x38aeaa(0x2fc)]={},_0xd42c18=_0x1114ff[_0x38aeaa(0x298)]={'pad':function(_0x4ec5e7,_0x1a5c38){var _0x211b95=_0x38aeaa;for(var _0x43e608=_0x1a5c38*0x4,_0x4caa20=_0x43e608-_0x4ec5e7[_0x211b95(0x2b8)]%_0x43e608,_0x11302c=_0x4caa20<<0x18|_0x4caa20<<0x10|_0x4caa20<<0x8|_0x4caa20,_0xc9f6b9=[],_0x4184a1=0x0;_0x4184a1<_0x4caa20;_0x4184a1+=0x4)_0xc9f6b9[_0x211b95(0x384)](_0x11302c);var _0x18efbe=_0x3abea8[_0x211b95(0x34d)](_0xc9f6b9,_0x4caa20);_0x4ec5e7[_0x211b95(0x2da)](_0x18efbe);},'unpad':function(_0x2761b5){var _0xc36c44=_0x38aeaa,_0x56227e=_0x2761b5[_0xc36c44(0x18b)][_0x2761b5[_0xc36c44(0x2b8)]-0x1>>>0x2]&0xff;_0x2761b5['sigBytes']-=_0x56227e;}};_0xa377ad[_0x38aeaa(0xc4)]=_0x1cc47b[_0x38aeaa(0x351)]({'cfg':_0x1cc47b[_0x38aeaa(0x160)]['extend']({'mode':_0x342aac,'padding':_0xd42c18}),'reset':function(){var _0x26bb34=_0x38aeaa,_0x4d1e39;_0x1cc47b[_0x26bb34(0x142)][_0x26bb34(0x1e9)](this);var _0x1eb49a=this['cfg'],_0x255ee7=_0x1eb49a['iv'],_0x41e72c=_0x1eb49a['mode'];this[_0x26bb34(0x13e)]==this[_0x26bb34(0x182)]?_0x4d1e39=_0x41e72c['createEncryptor']:(_0x4d1e39=_0x41e72c['createDecryptor'],this[_0x26bb34(0x1fb)]=0x1),this[_0x26bb34(0x1ad)]&&this[_0x26bb34(0x1ad)][_0x26bb34(0x249)]==_0x4d1e39?this['_mode'][_0x26bb34(0x2bc)](this,_0x255ee7&&_0x255ee7[_0x26bb34(0x18b)]):(this['_mode']=_0x4d1e39[_0x26bb34(0x1e9)](_0x41e72c,this,_0x255ee7&&_0x255ee7['words']),this[_0x26bb34(0x1ad)]['__creator']=_0x4d1e39);},'_doProcessBlock':function(_0x3f135a,_0xb3230e){var _0x3e1960=_0x38aeaa;this[_0x3e1960(0x1ad)]['processBlock'](_0x3f135a,_0xb3230e);},'_doFinalize':function(){var _0x132236=_0x38aeaa,_0x25939c,_0x4eb1dd=this[_0x132236(0x160)][_0x132236(0x288)];return this[_0x132236(0x13e)]==this[_0x132236(0x182)]?(_0x4eb1dd[_0x132236(0x2fc)](this[_0x132236(0x1b6)],this[_0x132236(0x386)]),_0x25939c=this['_process'](!0x0)):(_0x25939c=this['_process'](!0x0),_0x4eb1dd[_0x132236(0x1f8)](_0x25939c)),_0x25939c;},'blockSize':0x80/0x20});var _0x150067=_0xa377ad['CipherParams']=_0x33c69e['extend']({'init':function(_0x530369){var _0x77395b=_0x38aeaa;this[_0x77395b(0x225)](_0x530369);},'toString':function(_0x1c5859){var _0x633f67=_0x38aeaa;return(_0x1c5859||this[_0x633f67(0xce)])[_0x633f67(0x1a2)](this);}}),_0x1a8ade=_0x5e6b01[_0x38aeaa(0x30b)]={},_0x3f8036=_0x1a8ade[_0x38aeaa(0x270)]={'stringify':function(_0x1cf5e6){var _0x445c8f=_0x38aeaa,_0x40e275,_0x6970f=_0x1cf5e6[_0x445c8f(0xf8)],_0x55353e=_0x1cf5e6[_0x445c8f(0x355)];return _0x55353e?_0x40e275=_0x3abea8[_0x445c8f(0x34d)]([0x53616c74,0x65645f5f])[_0x445c8f(0x2da)](_0x55353e)[_0x445c8f(0x2da)](_0x6970f):_0x40e275=_0x6970f,_0x40e275[_0x445c8f(0xfe)](_0xc2357b);},'parse':function(_0x4de16b){var _0x3b23a6=_0x38aeaa,_0x429755,_0xb27282=_0xc2357b[_0x3b23a6(0xe8)](_0x4de16b),_0x50263a=_0xb27282[_0x3b23a6(0x18b)];return _0x50263a[0x0]==0x53616c74&&_0x50263a[0x1]==0x65645f5f&&(_0x429755=_0x3abea8[_0x3b23a6(0x34d)](_0x50263a[_0x3b23a6(0x1aa)](0x2,0x4)),_0x50263a[_0x3b23a6(0x37f)](0x0,0x4),_0xb27282[_0x3b23a6(0x2b8)]-=0x10),_0x150067[_0x3b23a6(0x34d)]({'ciphertext':_0xb27282,'salt':_0x429755});}},_0x73bde1=_0xa377ad[_0x38aeaa(0x11a)]=_0x33c69e[_0x38aeaa(0x351)]({'cfg':_0x33c69e[_0x38aeaa(0x351)]({'format':_0x3f8036}),'encrypt':function(_0xe858f,_0x54a4c0,_0x9ec4b0,_0x209190){var _0x37dd46=_0x38aeaa;_0x209190=this[_0x37dd46(0x160)][_0x37dd46(0x351)](_0x209190);var _0x253f4c=_0xe858f[_0x37dd46(0x2d6)](_0x9ec4b0,_0x209190),_0x3a33c9=_0x253f4c[_0x37dd46(0x1f9)](_0x54a4c0),_0x4f0ea1=_0x253f4c[_0x37dd46(0x160)];return _0x150067[_0x37dd46(0x34d)]({'ciphertext':_0x3a33c9,'key':_0x9ec4b0,'iv':_0x4f0ea1['iv'],'algorithm':_0xe858f,'mode':_0x4f0ea1[_0x37dd46(0x318)],'padding':_0x4f0ea1['padding'],'blockSize':_0xe858f[_0x37dd46(0x386)],'formatter':_0x209190[_0x37dd46(0x30b)]});},'decrypt':function(_0x8298ca,_0x47ee3f,_0x505eac,_0x4bcfdd){var _0x9788e3=_0x38aeaa;_0x4bcfdd=this[_0x9788e3(0x160)][_0x9788e3(0x351)](_0x4bcfdd),_0x47ee3f=this['_parse'](_0x47ee3f,_0x4bcfdd['format']);var _0x5969a4=_0x8298ca[_0x9788e3(0x2d8)](_0x505eac,_0x4bcfdd)[_0x9788e3(0x1f9)](_0x47ee3f[_0x9788e3(0xf8)]);return _0x5969a4;},'_parse':function(_0x50dad6,_0x1fdef0){var _0x359c84=_0x38aeaa;return typeof _0x50dad6=='string'?_0x1fdef0[_0x359c84(0xe8)](_0x50dad6,this):_0x50dad6;}}),_0x62e1fc=_0x5e6b01[_0x38aeaa(0x1c0)]={},_0x19fcbc=_0x62e1fc[_0x38aeaa(0x270)]={'execute':function(_0x35d903,_0x285a41,_0x2a2b4e,_0x1fc371,_0x13a386){var _0x5ac3cc=_0x38aeaa;if(_0x1fc371||(_0x1fc371=_0x3abea8[_0x5ac3cc(0x120)](0x40/0x8)),_0x13a386)var _0x14d64e=_0x24b4bb['create']({'keySize':_0x285a41+_0x2a2b4e,'hasher':_0x13a386})[_0x5ac3cc(0x2a1)](_0x35d903,_0x1fc371);else var _0x14d64e=_0x24b4bb[_0x5ac3cc(0x34d)]({'keySize':_0x285a41+_0x2a2b4e})[_0x5ac3cc(0x2a1)](_0x35d903,_0x1fc371);var _0x42551e=_0x3abea8[_0x5ac3cc(0x34d)](_0x14d64e[_0x5ac3cc(0x18b)][_0x5ac3cc(0x1aa)](_0x285a41),_0x2a2b4e*0x4);return _0x14d64e['sigBytes']=_0x285a41*0x4,_0x150067[_0x5ac3cc(0x34d)]({'key':_0x14d64e,'iv':_0x42551e,'salt':_0x1fc371});}},_0x2076eb=_0xa377ad[_0x38aeaa(0x1ce)]=_0x73bde1[_0x38aeaa(0x351)]({'cfg':_0x73bde1[_0x38aeaa(0x160)][_0x38aeaa(0x351)]({'kdf':_0x19fcbc}),'encrypt':function(_0x3fcdc4,_0x4c03f4,_0xf6a8d3,_0x4b6dd0){var _0x4c8d30=_0x38aeaa;_0x4b6dd0=this[_0x4c8d30(0x160)][_0x4c8d30(0x351)](_0x4b6dd0);var _0xce6d8d=_0x4b6dd0[_0x4c8d30(0x1c0)][_0x4c8d30(0x327)](_0xf6a8d3,_0x3fcdc4[_0x4c8d30(0x109)],_0x3fcdc4['ivSize'],_0x4b6dd0[_0x4c8d30(0x355)],_0x4b6dd0[_0x4c8d30(0x268)]);_0x4b6dd0['iv']=_0xce6d8d['iv'];var _0x19cda0=_0x73bde1[_0x4c8d30(0x369)]['call'](this,_0x3fcdc4,_0x4c03f4,_0xce6d8d[_0x4c8d30(0x277)],_0x4b6dd0);return _0x19cda0[_0x4c8d30(0x225)](_0xce6d8d),_0x19cda0;},'decrypt':function(_0x549274,_0xc2c813,_0x517c36,_0x1fb7d8){var _0x414683=_0x38aeaa;_0x1fb7d8=this[_0x414683(0x160)][_0x414683(0x351)](_0x1fb7d8),_0xc2c813=this[_0x414683(0x377)](_0xc2c813,_0x1fb7d8['format']);var _0xfce5fc=_0x1fb7d8['kdf'][_0x414683(0x327)](_0x517c36,_0x549274[_0x414683(0x109)],_0x549274[_0x414683(0x1b4)],_0xc2c813[_0x414683(0x355)],_0x1fb7d8['hasher']);_0x1fb7d8['iv']=_0xfce5fc['iv'];var _0x2e8dc8=_0x73bde1[_0x414683(0x29a)][_0x414683(0x1e9)](this,_0x549274,_0xc2c813,_0xfce5fc['key'],_0x1fb7d8);return _0x2e8dc8;}});}();}));}(Je)),Je[_0x22086b(0x2fa)];}var Vr=Ve[_0x583b84(0x2fa)],si;function Gr(){var _0x793601=_0x583b84;return si||(si=0x1,function(_0x2b22d1,_0x361e4c){(function(_0x4b5516,_0xdf15e4,_0x115dfa){var _0x2e2609=_0x2d6f;_0x2b22d1[_0x2e2609(0x2fa)]=_0xdf15e4(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x390e9a){var _0xd69901=_0x2d6f;return(function(){var _0x200831=_0x2d6f,_0x2bdc06=_0x390e9a,_0x2919d2=_0x2bdc06['lib'],_0x117f00=_0x2919d2[_0x200831(0xc4)],_0x5a6167=_0x2bdc06[_0x200831(0xad)],_0x409846=[],_0x1f9e02=[],_0x5042d4=[],_0x539ef9=[],_0x162a9a=[],_0x4422cc=[],_0x42c288=[],_0x9ddd33=[],_0x274b49=[],_0x341cfc=[];(function(){for(var _0x1a137d=[],_0x468778=0x0;_0x468778<0x100;_0x468778++)_0x468778<0x80?_0x1a137d[_0x468778]=_0x468778<<0x1:_0x1a137d[_0x468778]=_0x468778<<0x1^0x11b;for(var _0x493b8d=0x0,_0x148c4f=0x0,_0x468778=0x0;_0x468778<0x100;_0x468778++){var _0x58cee7=_0x148c4f^_0x148c4f<<0x1^_0x148c4f<<0x2^_0x148c4f<<0x3^_0x148c4f<<0x4;_0x58cee7=_0x58cee7>>>0x8^_0x58cee7&0xff^0x63,_0x409846[_0x493b8d]=_0x58cee7,_0x1f9e02[_0x58cee7]=_0x493b8d;var _0xa8e64=_0x1a137d[_0x493b8d],_0x1235d4=_0x1a137d[_0xa8e64],_0x3ebd05=_0x1a137d[_0x1235d4],_0x4f6643=_0x1a137d[_0x58cee7]*0x101^_0x58cee7*0x1010100;_0x5042d4[_0x493b8d]=_0x4f6643<<0x18|_0x4f6643>>>0x8,_0x539ef9[_0x493b8d]=_0x4f6643<<0x10|_0x4f6643>>>0x10,_0x162a9a[_0x493b8d]=_0x4f6643<<0x8|_0x4f6643>>>0x18,_0x4422cc[_0x493b8d]=_0x4f6643;var _0x4f6643=_0x3ebd05*0x1010101^_0x1235d4*0x10001^_0xa8e64*0x101^_0x493b8d*0x1010100;_0x42c288[_0x58cee7]=_0x4f6643<<0x18|_0x4f6643>>>0x8,_0x9ddd33[_0x58cee7]=_0x4f6643<<0x10|_0x4f6643>>>0x10,_0x274b49[_0x58cee7]=_0x4f6643<<0x8|_0x4f6643>>>0x18,_0x341cfc[_0x58cee7]=_0x4f6643,_0x493b8d?(_0x493b8d=_0xa8e64^_0x1a137d[_0x1a137d[_0x1a137d[_0x3ebd05^_0xa8e64]]],_0x148c4f^=_0x1a137d[_0x1a137d[_0x148c4f]]):_0x493b8d=_0x148c4f=0x1;}}());var _0x591859=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4d030e=_0x5a6167['AES']=_0x117f00[_0x200831(0x351)]({'_doReset':function(){var _0x2982e5=_0x200831,_0x207e5c;if(!(this[_0x2982e5(0x2cd)]&&this[_0x2982e5(0x28b)]===this[_0x2982e5(0x262)])){for(var _0x1aef5e=this[_0x2982e5(0x28b)]=this[_0x2982e5(0x262)],_0x2cd07c=_0x1aef5e['words'],_0x331b6e=_0x1aef5e[_0x2982e5(0x2b8)]/0x4,_0x4ea1a3=this[_0x2982e5(0x2cd)]=_0x331b6e+0x6,_0x36d30c=(_0x4ea1a3+0x1)*0x4,_0x3e403e=this[_0x2982e5(0x2cc)]=[],_0x48ed6b=0x0;_0x48ed6b<_0x36d30c;_0x48ed6b++)_0x48ed6b<_0x331b6e?_0x3e403e[_0x48ed6b]=_0x2cd07c[_0x48ed6b]:(_0x207e5c=_0x3e403e[_0x48ed6b-0x1],_0x48ed6b%_0x331b6e?_0x331b6e>0x6&&_0x48ed6b%_0x331b6e==0x4&&(_0x207e5c=_0x409846[_0x207e5c>>>0x18]<<0x18|_0x409846[_0x207e5c>>>0x10&0xff]<<0x10|_0x409846[_0x207e5c>>>0x8&0xff]<<0x8|_0x409846[_0x207e5c&0xff]):(_0x207e5c=_0x207e5c<<0x8|_0x207e5c>>>0x18,_0x207e5c=_0x409846[_0x207e5c>>>0x18]<<0x18|_0x409846[_0x207e5c>>>0x10&0xff]<<0x10|_0x409846[_0x207e5c>>>0x8&0xff]<<0x8|_0x409846[_0x207e5c&0xff],_0x207e5c^=_0x591859[_0x48ed6b/_0x331b6e|0x0]<<0x18),_0x3e403e[_0x48ed6b]=_0x3e403e[_0x48ed6b-_0x331b6e]^_0x207e5c);for(var _0x5c69f8=this[_0x2982e5(0x141)]=[],_0x4d8294=0x0;_0x4d8294<_0x36d30c;_0x4d8294++){var _0x48ed6b=_0x36d30c-_0x4d8294;if(_0x4d8294%0x4)var _0x207e5c=_0x3e403e[_0x48ed6b];else var _0x207e5c=_0x3e403e[_0x48ed6b-0x4];_0x4d8294<0x4||_0x48ed6b<=0x4?_0x5c69f8[_0x4d8294]=_0x207e5c:_0x5c69f8[_0x4d8294]=_0x42c288[_0x409846[_0x207e5c>>>0x18]]^_0x9ddd33[_0x409846[_0x207e5c>>>0x10&0xff]]^_0x274b49[_0x409846[_0x207e5c>>>0x8&0xff]]^_0x341cfc[_0x409846[_0x207e5c&0xff]];}}},'encryptBlock':function(_0x22667c,_0x25659e){var _0x1038d5=_0x200831;this[_0x1038d5(0x29c)](_0x22667c,_0x25659e,this[_0x1038d5(0x2cc)],_0x5042d4,_0x539ef9,_0x162a9a,_0x4422cc,_0x409846);},'decryptBlock':function(_0xf8bdee,_0xfb9f8a){var _0x34d63b=_0x200831,_0x15fc15=_0xf8bdee[_0xfb9f8a+0x1];_0xf8bdee[_0xfb9f8a+0x1]=_0xf8bdee[_0xfb9f8a+0x3],_0xf8bdee[_0xfb9f8a+0x3]=_0x15fc15,this['_doCryptBlock'](_0xf8bdee,_0xfb9f8a,this[_0x34d63b(0x141)],_0x42c288,_0x9ddd33,_0x274b49,_0x341cfc,_0x1f9e02);var _0x15fc15=_0xf8bdee[_0xfb9f8a+0x1];_0xf8bdee[_0xfb9f8a+0x1]=_0xf8bdee[_0xfb9f8a+0x3],_0xf8bdee[_0xfb9f8a+0x3]=_0x15fc15;},'_doCryptBlock':function(_0x4c8b59,_0x3b56e7,_0x54a37f,_0x334bc0,_0x186ab3,_0xae4801,_0x2e021e,_0x2c7c64){var _0x48ce76=_0x200831;for(var _0x267302=this[_0x48ce76(0x2cd)],_0x578672=_0x4c8b59[_0x3b56e7]^_0x54a37f[0x0],_0x4438d7=_0x4c8b59[_0x3b56e7+0x1]^_0x54a37f[0x1],_0x506a42=_0x4c8b59[_0x3b56e7+0x2]^_0x54a37f[0x2],_0x443c69=_0x4c8b59[_0x3b56e7+0x3]^_0x54a37f[0x3],_0x564616=0x4,_0x27d330=0x1;_0x27d330<_0x267302;_0x27d330++){var _0x235339=_0x334bc0[_0x578672>>>0x18]^_0x186ab3[_0x4438d7>>>0x10&0xff]^_0xae4801[_0x506a42>>>0x8&0xff]^_0x2e021e[_0x443c69&0xff]^_0x54a37f[_0x564616++],_0x446cc8=_0x334bc0[_0x4438d7>>>0x18]^_0x186ab3[_0x506a42>>>0x10&0xff]^_0xae4801[_0x443c69>>>0x8&0xff]^_0x2e021e[_0x578672&0xff]^_0x54a37f[_0x564616++],_0x270d37=_0x334bc0[_0x506a42>>>0x18]^_0x186ab3[_0x443c69>>>0x10&0xff]^_0xae4801[_0x578672>>>0x8&0xff]^_0x2e021e[_0x4438d7&0xff]^_0x54a37f[_0x564616++],_0x509b9c=_0x334bc0[_0x443c69>>>0x18]^_0x186ab3[_0x578672>>>0x10&0xff]^_0xae4801[_0x4438d7>>>0x8&0xff]^_0x2e021e[_0x506a42&0xff]^_0x54a37f[_0x564616++];_0x578672=_0x235339,_0x4438d7=_0x446cc8,_0x506a42=_0x270d37,_0x443c69=_0x509b9c;}var _0x235339=(_0x2c7c64[_0x578672>>>0x18]<<0x18|_0x2c7c64[_0x4438d7>>>0x10&0xff]<<0x10|_0x2c7c64[_0x506a42>>>0x8&0xff]<<0x8|_0x2c7c64[_0x443c69&0xff])^_0x54a37f[_0x564616++],_0x446cc8=(_0x2c7c64[_0x4438d7>>>0x18]<<0x18|_0x2c7c64[_0x506a42>>>0x10&0xff]<<0x10|_0x2c7c64[_0x443c69>>>0x8&0xff]<<0x8|_0x2c7c64[_0x578672&0xff])^_0x54a37f[_0x564616++],_0x270d37=(_0x2c7c64[_0x506a42>>>0x18]<<0x18|_0x2c7c64[_0x443c69>>>0x10&0xff]<<0x10|_0x2c7c64[_0x578672>>>0x8&0xff]<<0x8|_0x2c7c64[_0x4438d7&0xff])^_0x54a37f[_0x564616++],_0x509b9c=(_0x2c7c64[_0x443c69>>>0x18]<<0x18|_0x2c7c64[_0x578672>>>0x10&0xff]<<0x10|_0x2c7c64[_0x4438d7>>>0x8&0xff]<<0x8|_0x2c7c64[_0x506a42&0xff])^_0x54a37f[_0x564616++];_0x4c8b59[_0x3b56e7]=_0x235339,_0x4c8b59[_0x3b56e7+0x1]=_0x446cc8,_0x4c8b59[_0x3b56e7+0x2]=_0x270d37,_0x4c8b59[_0x3b56e7+0x3]=_0x509b9c;},'keySize':0x100/0x20});_0x2bdc06[_0x200831(0x33c)]=_0x117f00[_0x200831(0xa3)](_0x4d030e);}()),_0x390e9a[_0xd69901(0x33c)];}));}(Ve)),Ve[_0x793601(0x2fa)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe['exports'],ai;function zr(){var _0x1e8701=_0x583b84;return ai||(ai=0x1,function(_0x56d983,_0x15ef0f){(function(_0x60cbd3,_0x5b2466){var _0x505a5f=_0x2d6f;_0x56d983[_0x505a5f(0x2fa)]=_0x5b2466(ne());}(qr,function(_0x58e9fe){var _0x113388=_0x2d6f;return _0x58e9fe[_0x113388(0x22b)][_0x113388(0x19e)];}));}(Xe)),Xe[_0x1e8701(0x2fa)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x583b84(0x2fa)],ci;function Qr(){var _0x1eef5c=_0x583b84;return ci||(ci=0x1,function(_0x52d90c,_0xf3e322){(function(_0x51aafb,_0x3ce315){var _0x5c43ae=_0x2d6f;_0x52d90c[_0x5c43ae(0x2fa)]=_0x3ce315(ne());}(Zr,function(_0x54bac9){var _0x2c4b6f=_0x2d6f;return(function(){var _0xf5362c=_0x2d6f;if(typeof ArrayBuffer==_0xf5362c(0x376)){var _0x18aecc=_0x54bac9,_0x1fd746=_0x18aecc['lib'],_0x23e274=_0x1fd746[_0xf5362c(0x140)],_0x575c57=_0x23e274[_0xf5362c(0x2bc)],_0x2d5f73=_0x23e274[_0xf5362c(0x2bc)]=function(_0x5ade03){var _0x9991e5=_0xf5362c;if(_0x5ade03 instanceof ArrayBuffer&&(_0x5ade03=new Uint8Array(_0x5ade03)),(_0x5ade03 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5ade03 instanceof Uint8ClampedArray||_0x5ade03 instanceof Int16Array||_0x5ade03 instanceof Uint16Array||_0x5ade03 instanceof Int32Array||_0x5ade03 instanceof Uint32Array||_0x5ade03 instanceof Float32Array||_0x5ade03 instanceof Float64Array)&&(_0x5ade03=new Uint8Array(_0x5ade03[_0x9991e5(0x2f5)],_0x5ade03[_0x9991e5(0x319)],_0x5ade03[_0x9991e5(0x2b6)])),_0x5ade03 instanceof Uint8Array){for(var _0x31e597=_0x5ade03[_0x9991e5(0x2b6)],_0x404f39=[],_0x5ad2ac=0x0;_0x5ad2ac<_0x31e597;_0x5ad2ac++)_0x404f39[_0x5ad2ac>>>0x2]|=_0x5ade03[_0x5ad2ac]<<0x18-_0x5ad2ac%0x4*0x8;_0x575c57['call'](this,_0x404f39,_0x31e597);}else _0x575c57[_0x9991e5(0x1de)](this,arguments);};_0x2d5f73[_0xf5362c(0x2a2)]=_0x23e274;}}()),_0x54bac9[_0x2c4b6f(0x151)][_0x2c4b6f(0x140)];}));}(Ze)),Ze[_0x1eef5c(0x2fa)];}var es=Qr();const ts=ke(es);function _0x2d6f(_0x2035c3,_0x5a9358){var _0x3ee400=_0x3ee4();return _0x2d6f=function(_0x2d6ff1,_0x310e9c){_0x2d6ff1=_0x2d6ff1-0x8d;var _0x6ea499=_0x3ee400[_0x2d6ff1];return _0x6ea499;},_0x2d6f(_0x2035c3,_0x5a9358);}var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x5a2d57=_0x583b84;return hi||(hi=0x1,function(_0x5e5d0f,_0x42cf41){(function(_0xabbd34,_0x3d88f0,_0x178e68){var _0x2ea5cf=_0x2d6f;_0x5e5d0f[_0x2ea5cf(0x2fa)]=_0x3d88f0(ne(),Ai());}(is,function(_0x4a7e83){var _0x200388=_0x2d6f;return _0x4a7e83['pad'][_0x200388(0xe6)]={'pad':function(){},'unpad':function(){}},_0x4a7e83[_0x200388(0x2fc)]['NoPadding'];}));}(Qe)),Qe[_0x5a2d57(0x2fa)];}var rs=ns();const ss=ke(rs);function os(_0x7b6e63,_0x4ace92){var _0x2bf8c0=_0x583b84;const _0x10f5ae=_0x4ace92-_0x7b6e63[_0x2bf8c0(0x30d)]%_0x4ace92,_0x52f1ab=String[_0x2bf8c0(0x24f)](_0x10f5ae)[_0x2bf8c0(0x34b)](_0x10f5ae);return _0x7b6e63+_0x52f1ab;}function as(_0x45b9e0,_0x3a229f){var _0x29992f=_0x583b84;const _0x7c0c3a=ts[_0x29992f(0x120)](0x10),_0x48e383=os(_0x45b9e0,0x10),_0x205df9=Kr[_0x29992f(0x369)](Xr[_0x29992f(0xe8)](_0x48e383),oi[_0x29992f(0xe8)](_0x3a229f),{'iv':_0x7c0c3a,'padding':ss});return _0x7c0c3a[_0x29992f(0x2da)](_0x205df9['ciphertext'])[_0x29992f(0xfe)](oi);}function cs(){var _0x52ca6f=_0x583b84;const _0x257ebc=_0x5c7154()[_0x52ca6f(0x10a)];if(_0x257ebc){const _0x3493b8={'time':Math[_0x52ca6f(0x16a)](Date[_0x52ca6f(0x173)]()/0x3e8),'domain':location['hostname']};return as(JSON[_0x52ca6f(0x1a2)](_0x3493b8),_0x257ebc);}}var hs=Object['defineProperty'],_s=Object[_0x583b84(0x17e)],ls=(_0xcfa3db,_0x1b48db,_0x4c051e,_0x428fbb)=>{var _0x54f133=_0x583b84;for(var _0x2a2249=_0x428fbb>0x1?void 0x0:_0x428fbb?_s(_0x1b48db,_0x4c051e):_0x1b48db,_0xfcb364=_0xcfa3db[_0x54f133(0x30d)]-0x1,_0x414a61;_0xfcb364>=0x0;_0xfcb364--)(_0x414a61=_0xcfa3db[_0xfcb364])&&(_0x2a2249=(_0x428fbb?_0x414a61(_0x1b48db,_0x4c051e,_0x2a2249):_0x414a61(_0x2a2249))||_0x2a2249);return _0x428fbb&&_0x2a2249&&hs(_0x1b48db,_0x4c051e,_0x2a2249),_0x2a2249;},us=(_0x37a444,_0x45d226)=>(_0x5bc6ac,_0x1a2e88)=>_0x45d226(_0x5bc6ac,_0x1a2e88,_0x37a444);let ot=class{constructor(_0x1478ed){var _0x3f3fb1=_0x583b84;this[_0x3f3fb1(0xf1)]=_0x1478ed,this[_0x3f3fb1(0x1a4)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x411aa7,_0x317301)=>{var _0x54a3b1=_0x2d6f;const _0x1f27dc=_0x411aa7[_0x54a3b1(0x11d)],_0x3b0f12=cs();return _0x3b0f12&&_0x1f27dc['set']('x-univer-host',_0x3b0f12),_0x317301(_0x411aa7);}});}};ot=ls([us(0x0,_0x5c4668(_0x163924))],ot);var ds=Object[_0x583b84(0x14e)],fs=Object['getOwnPropertyDescriptor'],vs=(_0x1cf7a0,_0x44c627,_0x219e76,_0x321604)=>{var _0x496092=_0x583b84;for(var _0x3295c0=_0x321604>0x1?void 0x0:_0x321604?fs(_0x44c627,_0x219e76):_0x44c627,_0x32116d=_0x1cf7a0[_0x496092(0x30d)]-0x1,_0x27ac4f;_0x32116d>=0x0;_0x32116d--)(_0x27ac4f=_0x1cf7a0[_0x32116d])&&(_0x3295c0=(_0x321604?_0x27ac4f(_0x44c627,_0x219e76,_0x3295c0):_0x27ac4f(_0x3295c0))||_0x3295c0);return _0x321604&&_0x3295c0&&ds(_0x44c627,_0x219e76,_0x3295c0),_0x3295c0;},mt=(_0x57adae,_0x358f5a)=>(_0x1d1380,_0x2cdee1)=>_0x358f5a(_0x1d1380,_0x2cdee1,_0x57adae);let Ot=class extends _0x20dc00{constructor(_0x3c55b8,_0x49920e,_0x4e1af5){var _0x78c258=_0x583b84;super(),N(this,_0x78c258(0x15f),new _0x247d2c(null)),N(this,'unitInfo$',this[_0x78c258(0x15f)][_0x78c258(0xb6)]()),(this[_0x78c258(0x195)]=_0x3c55b8,this[_0x78c258(0x2a8)]=_0x49920e,this[_0x78c258(0x2f7)]=_0x4e1af5);}async[_0x583b84(0x2ae)](_0x2268d7,_0x352df4,_0x230ebb){var _0x4d6b05=_0x583b84;this[_0x4d6b05(0x15f)][_0x4d6b05(0x1f3)]({'unitId':_0x2268d7,'type':_0x352df4,'subUnitId':_0x230ebb});let _0xadcb7c=null;switch(_0x352df4){case Q[_0x4d6b05(0x1f5)]:{_0xadcb7c=await this[_0x4d6b05(0x2ce)](_0x2268d7);break;}case Q[_0x4d6b05(0xb5)]:{_0xadcb7c=await this[_0x4d6b05(0xb8)](_0x2268d7);break;}default:{this[_0x4d6b05(0x195)][_0x4d6b05(0x1bf)](_0x4d6b05(0x388),_0x4d6b05(0x265));break;}}return _0xadcb7c;}async[_0x583b84(0x2ce)](_0x312620){var _0x39ce9a=_0x583b84,_0x194196;let _0x3c518c=0x0;const _0x58dd3b=await((_0x194196=this[_0x39ce9a(0x2f7)])==null?void 0x0:_0x194196[_0x39ce9a(0x202)](_0x312620));return _0x58dd3b&&(_0x58dd3b['awaitingChangeset']||_0x58dd3b['mutations']['length']!==0x0)&&(_0x3c518c=_0x58dd3b['rev']),_0x3c518c===0x0&&this[_0x39ce9a(0x195)][_0x39ce9a(0x1c6)](_0x39ce9a(0x388),_0x39ce9a(0x181)),this[_0x39ce9a(0x2a8)][_0x39ce9a(0x37c)](_0x312620,_0x3c518c);}async[_0x583b84(0xb8)](_0x1e4109){var _0x1494ff=_0x583b84,_0x4ad2fc;let _0x79c554=0x0;const _0x1588d4=await((_0x4ad2fc=this[_0x1494ff(0x2f7)])==null?void 0x0:_0x4ad2fc['loadOfflineData'](_0x1e4109));return _0x1588d4&&(_0x1588d4[_0x1494ff(0x259)]||_0x1588d4[_0x1494ff(0x8d)][_0x1494ff(0x30d)]!==0x0)&&(_0x79c554=_0x1588d4[_0x1494ff(0x116)]),_0x79c554===0x0&&this['_logService']['debug'](_0x1494ff(0x388),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1494ff(0x2a8)][_0x1494ff(0x33f)](_0x1e4109,_0x79c554);}};Ot=vs([mt(0x0,_0x123211),mt(0x1,_0x5c4668(_0x35716f)),mt(0x2,_0x44dbea(J))],Ot);var ps=Object[_0x583b84(0x14e)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x35a2c3,_0x3e6e46,_0x55bd8b,_0x5cdbb0)=>{for(var _0x47eb6e=_0x5cdbb0>0x1?void 0x0:_0x5cdbb0?ms(_0x3e6e46,_0x55bd8b):_0x3e6e46,_0x5dbfd9=_0x35a2c3['length']-0x1,_0x3540a3;_0x5dbfd9>=0x0;_0x5dbfd9--)(_0x3540a3=_0x35a2c3[_0x5dbfd9])&&(_0x47eb6e=(_0x5cdbb0?_0x3540a3(_0x3e6e46,_0x55bd8b,_0x47eb6e):_0x3540a3(_0x47eb6e))||_0x47eb6e);return _0x5cdbb0&&_0x47eb6e&&ps(_0x3e6e46,_0x55bd8b,_0x47eb6e),_0x47eb6e;},gt=(_0x20ee42,_0x2dba42)=>(_0x3454f2,_0x43af6e)=>_0x2dba42(_0x3454f2,_0x43af6e,_0x20ee42);const Ss=[_0x583b84(0xb1),'image/jpeg',_0x583b84(0x28f),_0x583b84(0x367),_0x583b84(0x2b2)],Es=0x5*0x400*0x400,Is=_0x583b84(0x34e),Ts=_0x583b84(0x2cb),Cs=_0x583b84(0xec),Rs=_0x583b84(0x297);let yt=class{constructor(_0x186092,_0x1a0ea2,_0x4e0c69){var _0x4fdc2c=_0x583b84;N(this,'_waitCount',0x0),N(this,'_change$',new _0x64d656()),N(this,_0x4fdc2c(0x331),this[_0x4fdc2c(0x2f6)]),N(this,_0x4fdc2c(0x22c),new Map()),(this[_0x4fdc2c(0xf1)]=_0x186092,this[_0x4fdc2c(0x36b)]=_0x1a0ea2,this['_univerInstanceService']=_0x4e0c69);}[_0x583b84(0x194)](_0x52c9d8){var _0x1c44f7=_0x583b84;this[_0x1c44f7(0xeb)]=_0x52c9d8,this[_0x1c44f7(0x2f6)][_0x1c44f7(0x1f3)](_0x52c9d8);}[_0x583b84(0x1ae)](_0x3b4912,_0x22da0a){var _0x1543b0=_0x583b84;if(_0x22da0a===_0x29459a[_0x1543b0(0x28c)]){const _0x34ed05=new Image();return _0x34ed05[_0x1543b0(0xf2)]=_0x3b4912,_0x34ed05;}return this[_0x1543b0(0x22c)]['get'](_0x3b4912);}[_0x583b84(0x299)](_0x5b8aca,_0x2b59cb,_0x42ef41){var _0x433fb2=_0x583b84;_0x2b59cb===_0x29459a[_0x433fb2(0x28c)]||_0x42ef41==null||this[_0x433fb2(0x22c)][_0x433fb2(0x371)](_0x5b8aca,_0x42ef41);}async['getImage'](_0x42f59e){var _0x3e898b=_0x583b84;try{const _0xcb276d=this[_0x3e898b(0x19f)](this['_getSignURL'](),''+_0x42f59e),_0x4ffd09=(await this[_0x3e898b(0xf1)][_0x3e898b(0x1d0)](_0xcb276d))[_0x3e898b(0x212)];if(_0x4ffd09[_0x3e898b(0x1bf)]&&_0x4ffd09[_0x3e898b(0x1bf)][_0x3e898b(0x24e)]===Ii['OK']){const _0x146998=new URL(_0x4ffd09[_0x3e898b(0x289)],this[_0x3e898b(0x27b)]())[_0x3e898b(0xfe)]();return Promise['resolve'](_0x146998);}return Promise[_0x3e898b(0x255)](_0x4ffd09['error']);}catch(_0x4b1858){return Promise[_0x3e898b(0x255)](_0x4b1858);}}async[_0x583b84(0x21f)](_0x1b330d){var _0x12b8cf=_0x583b84;let _0x47ea8f='';if(!Ss[_0x12b8cf(0x1d8)](_0x1b330d[_0x12b8cf(0x184)]))return this[_0x12b8cf(0x2e3)](),Promise[_0x12b8cf(0x255)](new Error(_0x44e917[_0x12b8cf(0x341)]));if(_0x1b330d[_0x12b8cf(0x1e2)]>Es)return this[_0x12b8cf(0x2e3)](),Promise[_0x12b8cf(0x255)](new Error(_0x44e917[_0x12b8cf(0x199)]));try{const _0x4b9d8a=new FormData();_0x4b9d8a['append']('file',_0x1b330d);const _0x31d5a8=this['_univerInstanceService'][_0x12b8cf(0x1d3)](),_0x26d5f1=_0x31d5a8==null?void 0x0:_0x31d5a8['getUnitId']();if(!_0x26d5f1)throw new Error(_0x12b8cf(0x10e));const _0x3c7822=this[_0x12b8cf(0x220)]()+_0x12b8cf(0x192)+_0x1b330d[_0x12b8cf(0x1e2)][_0x12b8cf(0xfe)]()+_0x12b8cf(0x121)+Ti[_0x12b8cf(0x300)]+_0x12b8cf(0x28e)+encodeURIComponent(_0x26d5f1),_0x22c100=await(await fetch(_0x3c7822,{'method':'POST','body':_0x4b9d8a}))[_0x12b8cf(0x147)]();if(typeof _0x22c100[_0x12b8cf(0x92)]!=_0x12b8cf(0x15b))return this[_0x12b8cf(0x2e3)](),Promise[_0x12b8cf(0x255)](new Error(_0x44e917['ERROR_IMAGE']));_0x47ea8f=_0x22c100['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x12b8cf(0x255)](new Error(_0x44e917['ERROR_IMAGE']));}return new Promise((_0x241f83,_0x3936c0)=>{var _0x462496=_0x12b8cf;const _0x5088eb=new FileReader();_0x5088eb[_0x462496(0x178)](_0x1b330d),_0x5088eb['onload']=_0x5454a8=>{var _0x373de2=_0x462496,_0x11a1b6;const _0x48f76c=(_0x11a1b6=_0x5454a8[_0x373de2(0x154)])==null?void 0x0:_0x11a1b6[_0x373de2(0x33a)];if(_0x48f76c==null){this[_0x373de2(0x2e3)](),_0x3936c0(new Error(_0x44e917['ERROR_IMAGE']));return;}const _0x4bc200=_0x2d6fb6[_0x373de2(0x162)](0x6);_0x241f83({'imageId':_0x4bc200,'imageSourceType':_0x29459a['UUID'],'source':_0x47ea8f,'base64Cache':_0x48f76c,'status':_0x44e917[_0x373de2(0x1f1)]}),this['_decreaseWaiting']();};});}[_0x583b84(0x220)](){var _0x5d9249=_0x583b84,_0x1e94e0,_0x4368a4;const _0xe3972=this[_0x5d9249(0x36b)][_0x5d9249(0x197)](Is),_0x38f072=this['_configService'][_0x5d9249(0x197)](q);return(_0x4368a4=(_0x1e94e0=_0x38f072==null?void 0x0:_0x38f072[_0x5d9249(0x2f8)])!=null?_0x1e94e0:_0xe3972)!=null?_0x4368a4:Ts;}[_0x583b84(0x17c)](){var _0x21be78=_0x583b84,_0x4851b9,_0xd72e2a;const _0x58a787=this[_0x21be78(0x36b)][_0x21be78(0x197)](Cs),_0x2c2d95=this[_0x21be78(0x36b)]['getConfig'](q);return(_0xd72e2a=(_0x4851b9=_0x2c2d95==null?void 0x0:_0x2c2d95[_0x21be78(0x198)])!=null?_0x4851b9:_0x58a787)!=null?_0xd72e2a:Rs;}[_0x583b84(0x27b)](){var _0x2be52b=_0x583b84,_0xd18aa8;const _0x470891=this['_configService'][_0x2be52b(0x197)](q);return(_0xd18aa8=_0x470891==null?void 0x0:_0x470891[_0x2be52b(0x1c3)])!=null?_0xd18aa8:location[_0x2be52b(0x146)];}[_0x583b84(0x19f)](_0xeb9385,_0x2e0774){var _0xabe11c=_0x583b84;return _0xeb9385[_0xabe11c(0x131)](_0xabe11c(0x137),_0x2e0774);}[_0x583b84(0x2e3)](){var _0xe193f=_0x583b84;this[_0xe193f(0xeb)]-=0x1,this['_change$'][_0xe193f(0x1f3)](this[_0xe193f(0xeb)]);}};yt=gs([gt(0x0,_0x5c4668(_0x163924)),gt(0x1,_0x160534),gt(0x2,_0x5c4668(_0x4370c6))],yt);var bs=Object[_0x583b84(0x14e)],Os=Object[_0x583b84(0x17e)],ys=(_0x20667e,_0x3fb080,_0x2569b7,_0x1f2cb0)=>{var _0x338f84=_0x583b84;for(var _0x690db0=_0x1f2cb0>0x1?void 0x0:_0x1f2cb0?Os(_0x3fb080,_0x2569b7):_0x3fb080,_0x313e11=_0x20667e[_0x338f84(0x30d)]-0x1,_0xb7d3fa;_0x313e11>=0x0;_0x313e11--)(_0xb7d3fa=_0x20667e[_0x313e11])&&(_0x690db0=(_0x1f2cb0?_0xb7d3fa(_0x3fb080,_0x2569b7,_0x690db0):_0xb7d3fa(_0x690db0))||_0x690db0);return _0x1f2cb0&&_0x690db0&&bs(_0x3fb080,_0x2569b7,_0x690db0),_0x690db0;},_i=(_0x54dd4d,_0x2da563)=>(_0x16ca65,_0x11fdfc)=>_0x2da563(_0x16ca65,_0x11fdfc,_0x54dd4d);const Ns=_0x583b84(0xa4);let Nt=class{constructor(_0x559955,_0x591903){var _0x34ffeb=_0x583b84;this['_configService']=_0x559955,this[_0x34ffeb(0x158)]=_0x591903;}['_getAPIPrefixPath'](){var _0x37f51b=_0x583b84,_0x44ff24,_0x514d5e;const _0x4b0768=this[_0x37f51b(0x36b)][_0x37f51b(0x197)](Pi),_0x175aaf=this['_configService'][_0x37f51b(0x197)](q);return(_0x514d5e=(_0x44ff24=_0x175aaf==null?void 0x0:_0x175aaf[_0x37f51b(0xea)])!=null?_0x44ff24:_0x4b0768)!=null?_0x514d5e:Ns;}async[_0x583b84(0x382)](_0xdb8f20){var _0x4084b3=_0x583b84;const _0x347b39=this[_0x4084b3(0x1dd)]()+_0x4084b3(0x393);return{'list':[{'title':_0x4084b3(0xa0),'mentions':(await this[_0x4084b3(0x158)][_0x4084b3(0x1d0)](_0x347b39,{'params':{'objectID':_0xdb8f20[_0x4084b3(0xd2)],'unitID':_0xdb8f20['unitId']}}))[_0x4084b3(0x212)][_0x4084b3(0x284)][_0x4084b3(0x338)](_0x4a6bd9=>({'objectId':_0x4a6bd9['id'],'name':_0x4a6bd9[_0x4084b3(0x34c)]['name'],'metadata':{'icon':_0x4a6bd9['subject'][_0x4084b3(0x1a8)]},'label':_0x4a6bd9[_0x4084b3(0x34c)]['name'],'objectType':_0x1525eb[_0x4084b3(0x102)]})),'metadata':{},'type':_0x1525eb[_0x4084b3(0x102)]}]};}};Nt=ys([_i(0x0,_0x5c4668(_0x160534)),_i(0x1,_0x5c4668(_0x163924))],Nt);var Ds=Object[_0x583b84(0x14e)],Ps=Object[_0x583b84(0x17e)],ws=(_0x93097a,_0x43a27d,_0x19c017,_0x11ccbf)=>{var _0x302282=_0x583b84;for(var _0x2272d4=_0x11ccbf>0x1?void 0x0:_0x11ccbf?Ps(_0x43a27d,_0x19c017):_0x43a27d,_0x5dfa22=_0x93097a[_0x302282(0x30d)]-0x1,_0x1ba3f3;_0x5dfa22>=0x0;_0x5dfa22--)(_0x1ba3f3=_0x93097a[_0x5dfa22])&&(_0x2272d4=(_0x11ccbf?_0x1ba3f3(_0x43a27d,_0x19c017,_0x2272d4):_0x1ba3f3(_0x2272d4))||_0x2272d4);return _0x11ccbf&&_0x2272d4&&Ds(_0x43a27d,_0x19c017,_0x2272d4),_0x2272d4;},Se=(_0x5f2489,_0x3c5454)=>(_0x26de2a,_0x379a9a)=>_0x3c5454(_0x26de2a,_0x379a9a,_0x5f2489);let at=class extends _0x20dc00{constructor(_0x4f2020,_0x41b81c,_0x3e53cd,_0x3b6f9d,_0x2aeb2c,_0x424c51,_0x3f2c9f){var _0xcfd653=_0x583b84;super(),this[_0xcfd653(0x34f)]=_0x4f2020,this['_univerInstanceService']=_0x41b81c,this[_0xcfd653(0x18f)]=_0x3e53cd,this[_0xcfd653(0x2e1)]=_0x3b6f9d,this['_collaborationUIEventService']=_0x2aeb2c,this['_authzIoService']=_0x424c51,this['_undoRedoService']=_0x3f2c9f,this[_0xcfd653(0x175)](),this[_0xcfd653(0x352)]();}['_initCloseConn'](){var _0x5c06b0=_0x583b84;const _0x285871=async _0x33f090=>{var _0x493c6a=_0x2d6f;(await this[_0x493c6a(0x2e1)][_0x493c6a(0xbd)](_0x33f090))[_0x493c6a(0xc8)][_0x493c6a(0x161)](_0x2ccb3d(_0x9a9406=>_0x9a9406['eventID']===_0x332b6d[_0x493c6a(0xd6)]),_0x44dfb3(this['dispose$']))['subscribe'](_0x5f4185=>{var _0x6f5cfe=_0x493c6a;const _0x56329f=_0x5f4185,{reason:_0x48e3e0}=_0x56329f[_0x6f5cfe(0x359)];this[_0x6f5cfe(0x308)][_0x6f5cfe(0x2f3)]({'id':se[_0x6f5cfe(0x170)],'data':_0x48e3e0}),this[_0x6f5cfe(0x18f)][_0x6f5cfe(0xc2)](new _0x4abfdf(_0x33f090)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x33f090);});};_0x61905d(this[_0x5c06b0(0x390)][_0x5c06b0(0x31b)](_0x431bd9[_0x5c06b0(0x1f5)]),this['_univerInstanceService'][_0x5c06b0(0x31b)](_0x431bd9[_0x5c06b0(0xb5)]))[_0x5c06b0(0x161)](_0x3b1d85(_0x392547=>_0x392547[_0x5c06b0(0x22d)]()),_0x2ccb3d(_0x34bd52=>!_0x3e51e2(_0x34bd52)),_0x44dfb3(this[_0x5c06b0(0x1ee)]))['subscribe'](_0x4f80ee=>{_0x285871(_0x4f80ee);});}[_0x583b84(0x175)](){var _0x1ee87b=_0x583b84;const _0x1f946d=async _0x100cf8=>{var _0x33a020=_0x2d6f;const _0x25f16c=await this[_0x33a020(0x2e1)][_0x33a020(0xbd)](_0x100cf8),_0x4c6192=this[_0x33a020(0x34f)][_0x33a020(0x1d0)](_0x5865c0);_0x25f16c[_0x33a020(0xc8)]['pipe'](_0x2ccb3d(_0x2ec5d2=>_0x2ec5d2['eventID']===_0x332b6d['UPDATE_PERMISSION_OBJ']),_0x44dfb3(this[_0x33a020(0x1ee)]))[_0x33a020(0x9b)](_0x1c3e0e=>{var _0x59a786=_0x33a020;const _0x318869=_0x1c3e0e,{objectId:_0xef8400}=_0x318869[_0x59a786(0x359)];_0xef8400===_0x100cf8?_0x4c6192[_0x59a786(0x2ef)](_0x100cf8):_0x4c6192[_0x59a786(0x157)](_0x100cf8,_0xef8400);});};_0x61905d(this[_0x1ee87b(0x390)][_0x1ee87b(0x31b)](_0x431bd9[_0x1ee87b(0x1f5)]),this[_0x1ee87b(0x390)][_0x1ee87b(0x31b)](_0x431bd9[_0x1ee87b(0xb5)]))[_0x1ee87b(0x161)](_0x3b1d85(_0x65555a=>_0x65555a[_0x1ee87b(0x22d)]()),_0x2ccb3d(_0x5187dd=>!_0x3e51e2(_0x5187dd)),_0x44dfb3(this['dispose$']))[_0x1ee87b(0x9b)](_0x51e505=>{_0x1f946d(_0x51e505);});}};at=ws([Se(0x0,_0x5c4668(_0x34af1d)),Se(0x1,_0x4370c6),Se(0x2,_0x314716),Se(0x3,_0x5c4668(Le)),Se(0x4,_0x5c4668(pe)),Se(0x5,_0x1f3f0f),Se(0x6,_0x56aaba)],at);var Us=Object[_0x583b84(0x14e)],As=Object[_0x583b84(0x17e)],xs=(_0xd95885,_0x5026eb,_0x3d8753,_0x3717b2)=>{var _0x5c6476=_0x583b84;for(var _0x2019f3=_0x3717b2>0x1?void 0x0:_0x3717b2?As(_0x5026eb,_0x3d8753):_0x5026eb,_0x19b7a6=_0xd95885[_0x5c6476(0x30d)]-0x1,_0xec3e2;_0x19b7a6>=0x0;_0x19b7a6--)(_0xec3e2=_0xd95885[_0x19b7a6])&&(_0x2019f3=(_0x3717b2?_0xec3e2(_0x5026eb,_0x3d8753,_0x2019f3):_0xec3e2(_0x2019f3))||_0x2019f3);return _0x3717b2&&_0x2019f3&&Us(_0x5026eb,_0x3d8753,_0x2019f3),_0x2019f3;},li=(_0x4b9249,_0x1b07cc)=>(_0x107410,_0x3e9c68)=>_0x1b07cc(_0x107410,_0x3e9c68,_0x4b9249);let Dt=class{constructor(_0x4afeef,_0x5d8baf){var _0x3299c6=_0x583b84;this['_configService']=_0x4afeef,this[_0x3299c6(0xf1)]=_0x5d8baf;}async[_0x583b84(0x180)](_0x4873e1,_0x380fca){var _0x142f9b=_0x583b84,_0x776ac3;const {unitID:_0x4bd7d1,type:_0x3d5b7e,revision:_0x5b686d=0x0}=_0x380fca,_0x27be3a=this[_0x142f9b(0x10d)]()+'/'+_0x3d5b7e+_0x142f9b(0x1e3)+_0x4bd7d1+'/rev/'+_0x5b686d,_0x24137e=(await this['_httpService']['get'](_0x27be3a))['body'],_0xfb3b11=(_0x776ac3=_0x24137e['snapshot'])==null?void 0x0:_0x776ac3['workbook'];if(_0xfb3b11){const _0x1f41d1=_0xfb3b11==null?void 0x0:_0xfb3b11[_0x142f9b(0x171)],_0xf6dddf=_0xc5aca8['encode'](_0xc3c39a(_0x1f41d1));_0xfb3b11[_0x142f9b(0x171)]=_0xf6dddf,Object[_0x142f9b(0x17b)](_0xfb3b11[_0x142f9b(0x316)])[_0x142f9b(0x12a)](([,_0x4edc05])=>{var _0x4769e3=_0x142f9b;const _0x5d4a37=_0x4edc05[_0x4769e3(0x171)],_0x40b95c=_0xc5aca8[_0x4769e3(0x98)](_0xc3c39a(_0x5d4a37));_0x4edc05[_0x4769e3(0x171)]=_0x40b95c;});}return _0x24137e;}async[_0x583b84(0x280)](_0x24188c,_0x3c390d){var _0x369c34=_0x583b84;const {unitID:_0x10fed1,type:_0x1865e2,blockID:_0x54640b}=_0x3c390d,_0x1835c3=this[_0x369c34(0x353)]()+'/'+_0x1865e2+_0x369c34(0x1e3)+_0x10fed1+_0x369c34(0x372)+_0x54640b;return(await this[_0x369c34(0xf1)]['get'](_0x1835c3))[_0x369c34(0x212)];}async[_0x583b84(0x2bd)](_0x1e6923,_0x2ae9af){var _0x407058=_0x583b84;const {unitID:_0x59bf91,type:_0x50d83f,blockID:_0x21aebb}=_0x2ae9af,_0x1dcb23=this[_0x407058(0x353)]()+_0x407058(0x372)+_0x50d83f+_0x407058(0x1e3)+_0x59bf91+_0x407058(0x372)+_0x21aebb;return(await this[_0x407058(0xf1)]['get'](_0x1dcb23))[_0x407058(0x212)];}async[_0x583b84(0x24c)](_0x155829,_0x16d306){var _0x4bca08=_0x583b84;const {unitID:_0x5d3522,type:_0x2f6103,from:_0x2cd54b,to:_0x5f5235}=_0x16d306,_0x40d139=this[_0x4bca08(0x353)]()+'/'+_0x2f6103+_0x4bca08(0x1e3)+_0x5d3522+_0x4bca08(0x245)+_0x2cd54b+'&to='+_0x5f5235;return(await this['_httpService'][_0x4bca08(0x1d0)](_0x40d139))[_0x4bca08(0x212)];}['getSnapshotAPIPath'](){var _0x1ad033=_0x583b84,_0x85400f;return(_0x85400f=this[_0x1ad033(0x36b)][_0x1ad033(0x197)](Tn))!=null?_0x85400f:this[_0x1ad033(0x353)]();}['_getAPIPrefix'](){var _0x13bc38=_0x583b84,_0x310264,_0x94bee2;const _0x164877=this[_0x13bc38(0x36b)][_0x13bc38(0x197)](En),_0x56ffa3=this[_0x13bc38(0x36b)][_0x13bc38(0x197)](q);return(_0x94bee2=(_0x310264=_0x56ffa3==null?void 0x0:_0x56ffa3['snapshotServerUrl'])!=null?_0x310264:_0x164877)!=null?_0x94bee2:In;}async['getResourcesRequest'](_0x48d3a9,_0x23bbea){var _0x910dd2=_0x583b84;const _0x165db2=_0x910dd2(0x2e2)+_0x23bbea['type']+_0x910dd2(0x1e3)+_0x23bbea[_0x910dd2(0x115)]+_0x910dd2(0x256);return(await this[_0x910dd2(0xf1)][_0x910dd2(0x1d0)](_0x165db2,{'params':{'resourceId':JSON[_0x910dd2(0x1a2)](_0x23bbea[_0x910dd2(0x343)])}}))[_0x910dd2(0x212)];}[_0x583b84(0x1d1)](){var _0x2ee839=_0x583b84;throw new Error(_0x2ee839(0x2f2));}[_0x583b84(0x21c)](){var _0x3a829f=_0x583b84;throw new Error(_0x3a829f(0x2f2));}[_0x583b84(0x193)](){var _0x5c6ee0=_0x583b84;throw new Error(_0x5c6ee0(0x2f2));}[_0x583b84(0x38b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x583b84(0x2d3)](){var _0x442d9f=_0x583b84;throw new Error(_0x442d9f(0x2f2));}};Dt=xs([li(0x0,_0x160534),li(0x1,_0x5c4668(_0x163924))],Dt);var Ls=Object['defineProperty'],Ms=Object[_0x583b84(0x17e)],$s=(_0x2c60d3,_0x268fb7,_0x213628,_0x138bb2)=>{var _0x52fca4=_0x583b84;for(var _0x4a4c9b=_0x138bb2>0x1?void 0x0:_0x138bb2?Ms(_0x268fb7,_0x213628):_0x268fb7,_0x5dd4fc=_0x2c60d3[_0x52fca4(0x30d)]-0x1,_0x199217;_0x5dd4fc>=0x0;_0x5dd4fc--)(_0x199217=_0x2c60d3[_0x5dd4fc])&&(_0x4a4c9b=(_0x138bb2?_0x199217(_0x268fb7,_0x213628,_0x4a4c9b):_0x199217(_0x4a4c9b))||_0x4a4c9b);return _0x138bb2&&_0x4a4c9b&&Ls(_0x268fb7,_0x213628,_0x4a4c9b),_0x4a4c9b;},Ae=(_0x2a93a7,_0x662f72)=>(_0x3b0f7a,_0x5349e7)=>_0x662f72(_0x3b0f7a,_0x5349e7,_0x2a93a7);let Pt=class extends _0x5243cc{constructor(_0x36369c,_0x55c991,_0x4b803b,_0x14752b,_0x1e16a7){var _0x5cbac9=_0x583b84;super(_0x36369c,_0x55c991,_0x4b803b),this['_transformService']=_0x14752b,this[_0x5cbac9(0x195)]=_0x1e16a7;}[_0x583b84(0x1e0)](_0x51a6d2,_0x4b9e4e){var _0x3e7fbd=_0x583b84;const _0x174754=this[_0x3e7fbd(0x36e)](_0x51a6d2);if(_0x174754)try{const _0x1eb070=this[_0x3e7fbd(0x107)](_0x174754,_0x4b9e4e);this['_substituteUndoStack'](_0x51a6d2,_0x1eb070);}catch(_0x17c4dc){this[_0x3e7fbd(0x195)][_0x3e7fbd(0x1bf)](_0x3e7fbd(0x1e1),_0x17c4dc),this[_0x3e7fbd(0x322)](_0x51a6d2);}const _0x4fe3c0=this[_0x3e7fbd(0x242)](_0x51a6d2);if(_0x4fe3c0)try{const _0x5afa54=this[_0x3e7fbd(0x107)](_0x4fe3c0,_0x4b9e4e);this[_0x3e7fbd(0xe0)](_0x51a6d2,_0x5afa54);}catch(_0x437c9a){this[_0x3e7fbd(0x195)]['error'](_0x437c9a),this[_0x3e7fbd(0xd4)](_0x51a6d2);}}[_0x583b84(0x322)](_0x530b06){var _0x43b273=_0x583b84;const _0x4ef7a6=this['_getUndoStack'](_0x530b06);_0x4ef7a6&&(_0x4ef7a6[_0x43b273(0x30d)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x29787a){var _0x40c490=_0x583b84;const _0x45d8bd=this[_0x40c490(0x242)](_0x29787a);_0x45d8bd&&(_0x45d8bd['length']=0x0,this[_0x40c490(0xe5)]());}[_0x583b84(0x333)](_0x5b51c6,_0x268932){var _0x778f42=_0x583b84;this['_undoStacks']['set'](_0x5b51c6,_0x268932),this[_0x778f42(0xe5)]();}[_0x583b84(0xe0)](_0x469633,_0x3f9e5d){var _0x4542bf=_0x583b84;this[_0x4542bf(0x9a)][_0x4542bf(0x371)](_0x469633,_0x3f9e5d),this[_0x4542bf(0xe5)]();}[_0x583b84(0x107)](_0xc4fc4f,_0x5dbf57){var _0x32d9e2=_0x583b84;const _0x5926a1=[];let _0xfda19e=_0x5dbf57,_0x548f70=_0x5dbf57;for(let _0x373470=_0xc4fc4f[_0x32d9e2(0x30d)]-0x1;_0x373470>=0x0;_0x373470--){const {unitID:_0x31a6b6,undoMutations:_0x237d64,redoMutations:_0x17ae2e}=_0xc4fc4f[_0x373470],_0x2479e4=this[_0x32d9e2(0x21b)][_0x32d9e2(0x35e)](_0xfda19e,_0x237d64),_0x5306b9=this[_0x32d9e2(0x21b)][_0x32d9e2(0x35e)](_0x548f70,_0x17ae2e);if(_0x525453(_0x2479e4)||_0x525453(_0x5306b9)){this['_logService'][_0x32d9e2(0x1bf)](_0x32d9e2(0x1e1),_0x32d9e2(0xe7),_0x2479e4,_0x5306b9);break;}_0xfda19e=_0x2479e4[_0x32d9e2(0x346)],_0x548f70=_0x5306b9[_0x32d9e2(0x346)],_0x5926a1['push']({'unitID':_0x31a6b6,'undoMutations':_0x2479e4[_0x32d9e2(0x12d)],'redoMutations':_0x5306b9[_0x32d9e2(0x12d)]});}return _0x5926a1[_0x32d9e2(0x247)]();}};Pt=$s([Ae(0x0,_0x4370c6),Ae(0x1,_0xb9d06b),Ae(0x2,_0x376f93),Ae(0x3,_0x15c301),Ae(0x4,_0x123211)],Pt);var xi=Object[_0x583b84(0x14e)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x1d693f,_0xd1f87,_0x246443)=>_0xd1f87 in _0x1d693f?xi(_0x1d693f,_0xd1f87,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x246443}):_0x1d693f[_0xd1f87]=_0x246443,js=(_0x444f1b,_0x4a2be0,_0x5c9a47,_0x56c561)=>{var _0x3e239d=_0x583b84;for(var _0x2c2a72=_0x56c561>0x1?void 0x0:_0x56c561?Hs(_0x4a2be0,_0x5c9a47):_0x4a2be0,_0x233583=_0x444f1b[_0x3e239d(0x30d)]-0x1,_0x547965;_0x233583>=0x0;_0x233583--)(_0x547965=_0x444f1b[_0x233583])&&(_0x2c2a72=(_0x56c561?_0x547965(_0x4a2be0,_0x5c9a47,_0x2c2a72):_0x547965(_0x2c2a72))||_0x2c2a72);return _0x56c561&&_0x2c2a72&&xi(_0x4a2be0,_0x5c9a47,_0x2c2a72),_0x2c2a72;},St=(_0x53e8b0,_0x3183d6)=>(_0x1a9a4a,_0x59d141)=>_0x3183d6(_0x1a9a4a,_0x59d141,_0x53e8b0),Bs=(_0x286f0e,_0x16ada4,_0x663cf4)=>ks(_0x286f0e,_0x16ada4+'',_0x663cf4);const Fs=_0x583b84(0x118);let wt=class extends _0x11371e{constructor(_0x241cbf=Wt,_0x39c65a,_0x829a4e,_0x2f5b9f){var _0x2976c7=_0x583b84;super(),this[_0x2976c7(0x2bb)]=_0x241cbf,this[_0x2976c7(0x195)]=_0x39c65a,this[_0x2976c7(0x34f)]=_0x829a4e,this[_0x2976c7(0x36b)]=_0x2f5b9f;const {..._0x43397c}=_0x4ccc3c({},Wt,this[_0x2976c7(0x2bb)]);this['_configService']['setConfig'](q,_0x43397c);}['onStarting'](){var _0x16fec5=_0x583b84;this[_0x16fec5(0x97)](),this['_initDependencies']();}['_registerDependencies'](){var _0x55764a=_0x583b84,_0x2ebe07,_0x36b878,_0x4de576,_0x285586;this[_0x55764a(0x34f)][_0x55764a(0x21d)](_0x56aaba)&&this[_0x55764a(0x195)][_0x55764a(0x1bf)]('[UniverCollaborationClientPlugin]',_0x55764a(0x2c2));const _0x4d0bad=_0x27c6ba([[_0x56aaba,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x36b878=(_0x2ebe07=this['_config'])==null?void 0x0:_0x2ebe07[_0x55764a(0x32b)])!=null?_0x36b878:Et}],[_0x5581d6,{'useClass':Dt}],[_0x1f3f0f,{'useClass':bt}],[_0x4c82dc,{'useClass':yt}],[_0x32c649,{'useClass':Nt}],[rt],[Rt]],(_0x4de576=this['_config'])==null?void 0x0:_0x4de576['override']);if(!((_0x285586=this[_0x55764a(0x2bb)])!=null&&_0x285586[_0x55764a(0x2c4)])){const _0x4ff6ac=_0x4d0bad[_0x55764a(0xff)](([_0x1206fd])=>_0x1206fd===ht);_0x4ff6ac!==-0x1&&_0x4d0bad['splice'](_0x4ff6ac,0x1);}_0x12893d(this['_injector'],_0x4d0bad);}[_0x583b84(0xf6)](){var _0x25a97c=_0x583b84,_0x1e3027,_0x3d61eb,_0x4e62ae;this[_0x25a97c(0x34f)][_0x25a97c(0x1d0)](_0x163924)[_0x25a97c(0x235)]({'priority':0x14,'interceptor':_0x475898({'maxParallel':0x6})}),(_0x1e3027=this[_0x25a97c(0x2bb)])!=null&&_0x1e3027['enableOfflineEditing']||(_0x3d61eb=this[_0x25a97c(0x34f)][_0x25a97c(0x1d0)](J,_0x480f7b['OPTIONAL']))==null||_0x3d61eb[_0x25a97c(0xbb)](),(_0x4e62ae=this[_0x25a97c(0x2bb)])!=null&&_0x4e62ae[_0x25a97c(0x317)]&&_0x412960(this[_0x25a97c(0x34f)],[[st]]),_0x412960(this[_0x25a97c(0x34f)],[[ot],[rt],[at]]);}};Bs(wt,_0x583b84(0x1ca),Fs),wt=js([_0x120641(_0x1d6b57,_0x29cf6c,_0x2105f0),St(0x1,_0x123211),St(0x2,_0x5c4668(_0x34af1d)),St(0x3,_0x160534)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|