@univerjs-pro/collaboration-client 0.6.10-nightly.202504251607 → 0.6.10-nightly.202504261606
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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 _0x5e85b0=_0x30b8;(function(_0x3f29d9,_0x424e6a){var _0x4b1dcb=_0x30b8,_0x1081ac=_0x3f29d9();while(!![]){try{var _0x2feec7=-parseInt(_0x4b1dcb(0x1af))/0x1*(-parseInt(_0x4b1dcb(0x2fb))/0x2)+-parseInt(_0x4b1dcb(0x32e))/0x3+parseInt(_0x4b1dcb(0x2c6))/0x4*(parseInt(_0x4b1dcb(0x2c3))/0x5)+-parseInt(_0x4b1dcb(0x26f))/0x6*(parseInt(_0x4b1dcb(0x368))/0x7)+parseInt(_0x4b1dcb(0x15c))/0x8+-parseInt(_0x4b1dcb(0x25a))/0x9+-parseInt(_0x4b1dcb(0x393))/0xa*(parseInt(_0x4b1dcb(0x16f))/0xb);if(_0x2feec7===_0x424e6a)break;else _0x1081ac['push'](_0x1081ac['shift']());}catch(_0x25933a){_0x1081ac['push'](_0x1081ac['shift']());}}}(_0x4c89,0xea81f));var wi=Object[_0x5e85b0(0x2d3)],Pi=(_0x15dbfb,_0x4094e8,_0x4224a8)=>_0x4094e8 in _0x15dbfb?wi(_0x15dbfb,_0x4094e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4224a8}):_0x15dbfb[_0x4094e8]=_0x4224a8,N=(_0xfb6b9c,_0x4aa7df,_0x1d51d5)=>Pi(_0xfb6b9c,typeof _0x4aa7df!=_0x5e85b0(0x3ea)?_0x4aa7df+'':_0x4aa7df,_0x1d51d5);import{createIdentifier as _0x189597,Inject as _0x4e6a0f,Injector as _0x2a76ad,IConfigService as _0x57235c,ILogService as _0x4f17e2,Disposable as _0x30c483,DisposableCollection as _0x3f4e35,toDisposable as _0x50f250,IUniverInstanceService as _0x187759,UserManagerService as _0x5a566c,UniverInstanceType as _0x3ac655,LocaleService as _0x4ff38c,Optional as _0x8e5208,RxDisposable as _0x5d06b1,Tools as _0x37a7ab,Rectangle as _0x583950,ICommandService as _0x1020e1,JSONX as _0xfcf1b6,CommandType as _0x33a20c,IUndoRedoService as _0x1d308d,IPermissionService as _0xfde829,sequenceExecute as _0x437532,Workbook as _0x18a8fa,MentionType as _0xce6fc5,isInternalEditorID as _0x479967,LocalUndoRedoService as _0x13d1ac,IContextService as _0x4267cc,DependentOn as _0x2709f9,Plugin as _0x31b165,merge as _0x4b650d,mergeOverrideWithDependencies as _0x47ea98,IAuthzIoService as _0x18882c,IMentionIOService as _0x2bde30,registerDependencies as _0x234443,Quantity as _0x518a69,touchDependencies as _0x4b5881}from'@univerjs/core';import{Subject as _0x481b7e,merge as _0x2ba3bf,of as _0x2e5cdf,BehaviorSubject as _0x5a2e2c,takeUntil as _0x396fca,ReplaySubject as _0x5b7e53,take as _0x27b4b5,map as _0x107ff5,shareReplay as _0x217924,firstValueFrom as _0x115cc6,concatMap as _0x3427eb}from'rxjs';import{map as _0x4f42e4,take as _0x193ab3,filter as _0x30fc86,delay as _0x1eb048,takeUntil as _0x384cc0}from'rxjs/operators';import{CollaborationEvent as _0x5d967f,ISnapshotServerService as _0x422aa5,parseChangesetToProtocol as _0x343d15,ITransformService as _0x32e708,isTransformMutationsWithChangesetSuccess as _0x5ed7eb,mapDocumentTypeToUniverType as _0x5c53de,RevisionService as _0x57826d,isTransformChangesetsSuccess as _0x4fb575,CompressMutationService as _0x52c586,parseProtocolChangeset as _0x183a67,SnapshotService as _0x29da2c,textEncoder as _0x5b4c86,b64DecodeUnicode as _0x43586c,isTransformMutationsWithChangesetFailure as _0x14ad98,UniverCollaborationPlugin as _0x50c844}from'@univerjs-pro/collaboration';import{HTTPService as _0x4dfb46,ISocketService as _0x85c071,MergeInterceptorFactory as _0x4ff298,HTTPRequest as _0x5104ad,UniverNetworkPlugin as _0x3df885,ThresholdInterceptorFactory as _0x2d4b93}from'@univerjs/network';import{ITelemetryService as _0x380d9e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x25e173}from'@univerjs/docs';import{SheetsSelectionsService as _0x187bbd,SetSelectionsOperation as _0x1a8b57,InsertSheetMutation as _0x104b1f,EmptyMutation as _0xf556b8,WorkbookEditablePermission as _0x3c0caf,SheetPermissionInitController as _0x21933f}from'@univerjs/sheets';import{ImageSourceType as _0xda66a3,ImageUploadStatusType as _0x1469d9,IImageIoService as _0x47430b}from'@univerjs/drawing';import{getGlobalObject as _0x301c5d}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x5e85b0(0x160),Sn='SNAPSHOT_URL_KEY',Lr=_0x5e85b0(0x2ef),En=0x7d0,In=_0x5e85b0(0x18f),Tn=_0x5e85b0(0x27f),xr=_0x5e85b0(0x1b0),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x5e85b0(0x1e8),gi=0x4e20,bn=0x4e20,On=_0x5e85b0(0x1fb),yn=0x3,Mr=_0x5e85b0(0x3cc),kr=0x3e8,Nn=_0x5e85b0(0x2e3),Dn='/universer-api/comb',Un=_0x5e85b0(0x1b6),An=_0x5e85b0(0x146),$r=_0x5e85b0(0x414),Hr=_0x5e85b0(0x23e);var Si=(_0x6174d3=>(_0x6174d3[_0x6174d3[_0x5e85b0(0x387)]=0x0]='UNDEFINED',_0x6174d3[_0x6174d3['OK']=0x1]='OK',_0x6174d3[_0x6174d3[_0x5e85b0(0x3a6)]=0x2]='INTERNAL_ERROR',_0x6174d3[_0x6174d3[_0x5e85b0(0x1a3)]=0x3]='PERMISSION_DENIED',_0x6174d3[_0x6174d3['NOT_FOUND']=0x4]=_0x5e85b0(0x120),_0x6174d3[_0x6174d3[_0x5e85b0(0x2d6)]=0x5]=_0x5e85b0(0x2d6),_0x6174d3[_0x6174d3[_0x5e85b0(0x3b9)]=0x6]=_0x5e85b0(0x3b9),_0x6174d3[_0x6174d3[_0x5e85b0(0x2ac)]=0x7]=_0x5e85b0(0x2ac),_0x6174d3[_0x6174d3[_0x5e85b0(0x1d1)]=0x8]=_0x5e85b0(0x1d1),_0x6174d3[_0x6174d3[_0x5e85b0(0x3ff)]=0x9]=_0x5e85b0(0x3ff),_0x6174d3[_0x6174d3[_0x5e85b0(0x1ee)]=0xa]='LOGIN_FAILED',_0x6174d3[_0x6174d3[_0x5e85b0(0x1c7)]=0x1389]=_0x5e85b0(0x1c7),_0x6174d3[_0x6174d3[_0x5e85b0(0x3d5)]=0x1771]=_0x5e85b0(0x3d5),_0x6174d3[_0x6174d3[_0x5e85b0(0x349)]=0x1772]=_0x5e85b0(0x349),_0x6174d3[_0x6174d3[_0x5e85b0(0x293)]=0x1773]=_0x5e85b0(0x293),_0x6174d3[_0x6174d3[_0x5e85b0(0x3dc)]=0x1b59]=_0x5e85b0(0x3dc),_0x6174d3[_0x6174d3[_0x5e85b0(0x382)]=0x1b5a]=_0x5e85b0(0x382),_0x6174d3[_0x6174d3[_0x5e85b0(0x274)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x6174d3[_0x6174d3['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5e85b0(0x2a4),_0x6174d3[_0x6174d3[_0x5e85b0(0x246)]=0x1b5d]=_0x5e85b0(0x246),_0x6174d3[_0x6174d3[_0x5e85b0(0x279)]=0x1f41]=_0x5e85b0(0x279),_0x6174d3[_0x6174d3[_0x5e85b0(0x2bd)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x6174d3[_0x6174d3[_0x5e85b0(0x3ba)]=0x232a]=_0x5e85b0(0x3ba),_0x6174d3[_0x6174d3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5e85b0(0x3c2),_0x6174d3[_0x6174d3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5e85b0(0x2e7),_0x6174d3[_0x6174d3[_0x5e85b0(0x335)]=0x232d]=_0x5e85b0(0x335),_0x6174d3[_0x6174d3['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x6174d3[_0x6174d3[_0x5e85b0(0x1f2)]=0x2712]=_0x5e85b0(0x1f2),_0x6174d3[_0x6174d3[_0x5e85b0(0x3a2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x6174d3[_0x6174d3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5e85b0(0x15d),_0x6174d3[_0x6174d3[_0x5e85b0(0x1ac)]=0x271a]=_0x5e85b0(0x1ac),_0x6174d3[_0x6174d3[_0x5e85b0(0x3b5)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x6174d3[_0x6174d3[_0x5e85b0(0x139)]=0x2af9]=_0x5e85b0(0x139),_0x6174d3[_0x6174d3[_0x5e85b0(0x22d)]=0x2ee1]=_0x5e85b0(0x22d),_0x6174d3[_0x6174d3['INVALID_INVITE_CODE']=0x2ee2]=_0x5e85b0(0x340),_0x6174d3[_0x6174d3[_0x5e85b0(0x1f9)]=0x2ee3]=_0x5e85b0(0x1f9),_0x6174d3[_0x6174d3[_0x5e85b0(0x38f)]=0x2ee4]=_0x5e85b0(0x38f),_0x6174d3[_0x6174d3['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5e85b0(0x1e2),_0x6174d3[_0x6174d3[_0x5e85b0(0x29f)]=0x32c9]=_0x5e85b0(0x29f),_0x6174d3[_0x6174d3['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x6174d3[_0x6174d3[_0x5e85b0(0x339)]=0x32cb]=_0x5e85b0(0x339),_0x6174d3[_0x6174d3[_0x5e85b0(0x3bc)]=-0x1]=_0x5e85b0(0x3bc),_0x6174d3))(Si||{}),Q=(_0x5e05fc=>(_0x5e05fc[_0x5e05fc['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x5e05fc[_0x5e05fc['UNIVER_DOC']=0x1]=_0x5e85b0(0x1dc),_0x5e05fc[_0x5e05fc['UNIVER_SHEET']=0x2]=_0x5e85b0(0x26b),_0x5e05fc[_0x5e05fc[_0x5e85b0(0x164)]=0x3]='UNIVER_SLIDE',_0x5e05fc[_0x5e05fc[_0x5e85b0(0x3f8)]=0x4]=_0x5e85b0(0x3f8),_0x5e05fc[_0x5e05fc['UNRECOGNIZED']=-0x1]=_0x5e85b0(0x3bc),_0x5e05fc))(Q||{}),F=(_0x56be21=>(_0x56be21[_0x56be21[_0x5e85b0(0x3e4)]=0x0]=_0x5e85b0(0x3e4),_0x56be21[_0x56be21['HELLO']=0x1]='HELLO',_0x56be21[_0x56be21[_0x5e85b0(0x1bd)]=0x2]=_0x5e85b0(0x1bd),_0x56be21[_0x56be21[_0x5e85b0(0x144)]=0x3]=_0x5e85b0(0x144),_0x56be21[_0x56be21['INGEST']=0x4]=_0x5e85b0(0x285),_0x56be21[_0x56be21[_0x5e85b0(0x1f4)]=0x5]='HEARTBEAT',_0x56be21[_0x56be21[_0x5e85b0(0x178)]=0x6]=_0x5e85b0(0x178),_0x56be21[_0x56be21[_0x5e85b0(0x3bc)]=-0x1]=_0x5e85b0(0x3bc),_0x56be21))(F||{}),ge=(_0x9c301b=>(_0x9c301b[_0x9c301b[_0x5e85b0(0x36e)]=0x0]=_0x5e85b0(0x36e),_0x9c301b[_0x9c301b['OK']=0x1]='OK',_0x9c301b[_0x9c301b[_0x5e85b0(0x26e)]=0x2]=_0x5e85b0(0x26e),_0x9c301b[_0x9c301b['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x9c301b[_0x9c301b[_0x5e85b0(0x19a)]=0x3ea]=_0x5e85b0(0x19a),_0x9c301b[_0x9c301b[_0x5e85b0(0x1bf)]=0x3eb]=_0x5e85b0(0x1bf),_0x9c301b[_0x9c301b[_0x5e85b0(0x12c)]=0x3ec]=_0x5e85b0(0x12c),_0x9c301b[_0x9c301b[_0x5e85b0(0x3bc)]=-0x1]=_0x5e85b0(0x3bc),_0x9c301b))(ge||{}),Ei=(_0x38891b=>(_0x38891b[_0x38891b[_0x5e85b0(0x306)]=0x0]='Undefined',_0x38891b[_0x38891b['HttpImport']=0x1]=_0x5e85b0(0x386),_0x38891b[_0x38891b[_0x5e85b0(0x128)]=0x2]=_0x5e85b0(0x128),_0x38891b[_0x38891b['UnitEmbedded']=0x3]='UnitEmbedded',_0x38891b[_0x38891b[_0x5e85b0(0x2b2)]=0x4]='UnitSnapshot',_0x38891b[_0x38891b[_0x5e85b0(0x3c4)]=0x5]=_0x5e85b0(0x3c4),_0x38891b[_0x38891b[_0x5e85b0(0x3bc)]=-0x1]='UNRECOGNIZED',_0x38891b))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x58d461=>(_0x58d461[_0x5e85b0(0x21a)]=_0x5e85b0(0x21a),_0x58d461[_0x5e85b0(0x1a3)]='PERMISSION_DENIED',_0x58d461[_0x5e85b0(0x16d)]='CONFLICT',_0x58d461[_0x5e85b0(0x12b)]=_0x5e85b0(0x12b),_0x58d461[_0x5e85b0(0x2fe)]=_0x5e85b0(0x2fe),_0x58d461['SOCKET_FAILED_RETRY']=_0x5e85b0(0x3db),_0x58d461[_0x5e85b0(0x2b1)]=_0x5e85b0(0x2b1),_0x58d461[_0x5e85b0(0x166)]=_0x5e85b0(0x166),_0x58d461))(re||{});class pe{constructor(){var _0x5394c5=_0x5e85b0;N(this,'_event$',new _0x481b7e()),N(this,_0x5394c5(0x412),this[_0x5394c5(0x2e5)]['asObservable']());}[_0x5e85b0(0x258)](_0x7e23f1){var _0x4f1a8b=_0x5e85b0;this[_0x4f1a8b(0x2e5)][_0x4f1a8b(0x2ce)](_0x7e23f1);}}const Pn=_0x189597(_0x5e85b0(0x21e));function Ln(_0x405e85){var _0xa763de=_0x5e85b0,_0x2ee72f,_0x4cf9a3,_0x581cc7,_0x29c7a3,_0x175951;const _0x2bd9d1=_0x405e85[_0xa763de(0x401)],_0x1b5dc8=JSON[_0xa763de(0x2aa)](_0x2bd9d1);switch(_0x1b5dc8['cmd']){case F[_0xa763de(0x1f4)]:case F['HELLO']:{const _0x20d01d=_0x1b5dc8[_0xa763de(0x2fc)];return{..._0x1b5dc8,'data':_0x20d01d,'cmd':_0x1b5dc8[_0xa763de(0x31d)]};}case F['JOIN']:{const _0x147d3d=_0x1b5dc8[_0xa763de(0x37c)];return{..._0x1b5dc8,'data':_0x147d3d,'cmd':_0x1b5dc8[_0xa763de(0x31d)]};}case F[_0xa763de(0x178)]:{const _0x109d81=_0x1b5dc8[_0xa763de(0x2da)];switch(_0x109d81['eventID']){case _0x5d967f[_0xa763de(0x2e6)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x2ee72f=_0x109d81['permissionRejEvent'])==null?void 0x0:_0x2ee72f['cs']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x37d)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x4cf9a3=_0x109d81[_0xa763de(0x2d9)])==null?void 0x0:_0x4cf9a3['cs']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x3d1)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x581cc7=_0x109d81['newCsEvent'])==null?void 0x0:_0x581cc7['cs']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x1c8)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x29c7a3=_0x109d81['csRejEvent'])==null?void 0x0:_0x29c7a3['cs']},'cmd':_0x1b5dc8['cmd']};case _0x5d967f[_0xa763de(0x163)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':(_0x175951=_0x109d81[_0xa763de(0x215)])==null?void 0x0:_0x175951['cs']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x3b6)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x124)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x138)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x2ad)]},'cmd':_0x1b5dc8['cmd']};case _0x5d967f['USERS_LEAVE']:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x361)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x2fd)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81['liveShareNewHost']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x1e0)]:case _0x5d967f[_0xa763de(0x232)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81['liveShareOperation']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f['LIVESHARE_TERMINATE']:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x38b)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x2cc)]:return{..._0x1b5dc8,'data':_0x109d81,'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f[_0xa763de(0x265)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x1a0)]},'cmd':_0x1b5dc8['cmd']};case _0x5d967f[_0xa763de(0x248)]:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x208)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f['SHOULD_CLOSE_CONN']:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81[_0xa763de(0x291)]},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};case _0x5d967f['UNISCRIPT_RUN']:return{..._0x1b5dc8,'data':{..._0x109d81,'data':_0x109d81['uniscriptRunEvent']},'cmd':_0x1b5dc8[_0xa763de(0x31d)]};default:return _0x1b5dc8;}}default:return _0x1b5dc8;}}function xn(_0x353856){var _0x3e360d=_0x5e85b0;switch(_0x353856[_0x3e360d(0x31d)]){case F[_0x3e360d(0x1f4)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x353856[_0x3e360d(0x31d)],'routeKey':_0x353856[_0x3e360d(0x27e)]});case F[_0x3e360d(0x285)]:{let _0x38041e;switch(_0x353856[_0x3e360d(0x401)][_0x3e360d(0x388)]){case _0x5d967f[_0x3e360d(0x3b6)]:{_0x38041e={'eventID':_0x5d967f['UPDATE_CURSOR'],'updateCursorEvent':_0x353856['data'][_0x3e360d(0x401)]};break;}case _0x5d967f['USERS_LEAVE']:{_0x38041e={'eventID':_0x5d967f['USERS_LEAVE'],'leaveEvent':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f['USERS_ENTER']:{_0x38041e={'eventID':_0x5d967f['USERS_ENTER'],'joinEvent':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f[_0x3e360d(0x2fd)]:{_0x38041e={'eventID':_0x5d967f[_0x3e360d(0x2fd)],'liveShareNewHost':_0x353856['data'][_0x3e360d(0x401)]};break;}case _0x5d967f['LIVESHARE_OPERATION']:{_0x38041e={'eventID':_0x5d967f[_0x3e360d(0x232)],'liveShareOperation':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f[_0x3e360d(0x256)]:{_0x38041e={'eventID':_0x5d967f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f['LIVESHARE_REQUEST_HOST']:{_0x38041e={'eventID':_0x5d967f[_0x3e360d(0x2f2)],'liveShareRequestHost':_0x353856[_0x3e360d(0x401)][_0x3e360d(0x401)]};break;}case _0x5d967f['LIVESHARE_FETCH_OPERATIONS']:{_0x38041e={'eventID':_0x5d967f[_0x3e360d(0x1e0)]};break;}default:_0x38041e={'eventID':_0x353856['data'][_0x3e360d(0x388)]};}return JSON[_0x3e360d(0x2a9)]({'cmd':_0x353856[_0x3e360d(0x31d)],'routeKey':_0x353856[_0x3e360d(0x27e)],'collaMsg':_0x38041e});}case F[_0x3e360d(0x1bd)]:return JSON[_0x3e360d(0x2a9)]({'cmd':_0x353856[_0x3e360d(0x31d)],'routeKey':_0x353856[_0x3e360d(0x27e)],'joinReq':_0x353856[_0x3e360d(0x401)]});case F[_0x3e360d(0x144)]:return JSON[_0x3e360d(0x2a9)]({'cmd':_0x353856['cmd'],'routeKey':_0x353856[_0x3e360d(0x27e)],'leaveReq':_0x353856[_0x3e360d(0x401)]});default:throw new Error(_0x3e360d(0x3c0));}}var Mn=Object[_0x5e85b0(0x3b0)],kn=(_0x2268cf,_0x154182,_0x2977cb,_0x3f6917)=>{var _0x3b00ab=_0x5e85b0;for(var _0x7180a3=_0x3f6917>0x1?void 0x0:_0x3f6917?Mn(_0x154182,_0x2977cb):_0x154182,_0x387178=_0x2268cf[_0x3b00ab(0x317)]-0x1,_0x4c73f8;_0x387178>=0x0;_0x387178--)(_0x4c73f8=_0x2268cf[_0x387178])&&(_0x7180a3=_0x4c73f8(_0x7180a3)||_0x7180a3);return _0x7180a3;},Ae=(_0x11ac56,_0x55098f)=>(_0x370cfa,_0x58e33a)=>_0x55098f(_0x370cfa,_0x58e33a,_0x11ac56);const Ii=_0x189597('univer-pro.collaboration-client-socket-service');function $n(_0x1d3c75,_0x1be183,_0x5403df){var _0x34d2bb=_0x5e85b0;return _0x1d3c75+'/'+_0x1be183+_0x34d2bb(0x2a1)+_0x5403df+_0x34d2bb(0x147);}let Gt=class extends _0x30c483{constructor(_0x403f0c,_0x455fa5,_0x4ba1fe,_0x5e8314,_0x274773){var _0x935304=_0x5e85b0;super(),this[_0x935304(0x35f)]=_0x403f0c,this[_0x935304(0x40b)]=_0x455fa5,this[_0x935304(0x161)]=_0x4ba1fe,this[_0x935304(0x154)]=_0x5e8314,this[_0x935304(0x3e2)]=_0x274773;}[_0x5e85b0(0x2bc)](_0x57bc13){var _0x1d641f=_0x5e85b0;const _0x32fe76=this[_0x1d641f(0x35f)][_0x1d641f(0x3d0)](_0x85c071);if(!_0x32fe76)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x43eea9=_0x32fe76[_0x1d641f(0x165)](_0x57bc13);if(!_0x43eea9)throw new Error(_0x1d641f(0x40c));const _0x393520=new _0x3f4e35(),_0x46cfa2=new _0x481b7e();_0x393520[_0x1d641f(0x228)](_0x43eea9[_0x1d641f(0x1c3)][_0x1d641f(0x292)](_0x211ceb=>_0x46cfa2['next'](_0x211ceb))),_0x393520[_0x1d641f(0x228)](_0x50f250(()=>_0x46cfa2['complete']()));const _0x1a3f80=new _0x481b7e();_0x393520['add'](_0x43eea9[_0x1d641f(0x296)][_0x1d641f(0x292)](_0x5594d2=>_0x1a3f80[_0x1d641f(0x2ce)](_0x5594d2))),_0x393520['add'](_0x50f250(()=>_0x1a3f80[_0x1d641f(0x240)]()));const _0x4adc09=new _0x481b7e();_0x393520[_0x1d641f(0x228)](_0x43eea9[_0x1d641f(0x27d)][_0x1d641f(0x292)](_0x1c032e=>{const _0xb2e2c0=Ln(_0x1c032e);_0x4adc09['next'](_0xb2e2c0);})),_0x393520['add'](_0x50f250(()=>_0x4adc09['complete']()));let _0x2aec5b;const _0x123974=()=>{var _0x3364cc=_0x1d641f;_0x1a3f80[_0x3364cc(0x2ce)](new Event(_0x3364cc(0x3fe))),_0x46cfa2[_0x3364cc(0x2ce)](new Event(_0x3364cc(0x3fe))),_0x2aec5b[_0x3364cc(0x3be)]();};return _0x2aec5b={'memberID':'','close$':_0x46cfa2[_0x1d641f(0x175)](),'error$':_0x1a3f80[_0x1d641f(0x175)](),'open$':_0x43eea9[_0x1d641f(0x383)],'message$':_0x4adc09['asObservable'](),'send':_0x24596a=>{var _0x2f30a7=_0x1d641f;if(_0x24596a['cmd']===F[_0x2f30a7(0x285)]){if(_0x24596a[_0x2f30a7(0x401)]['eventID']===_0x5d967f[_0x2f30a7(0x25d)]){this[_0x2f30a7(0x2c4)](_0x2aec5b,_0x24596a[_0x2f30a7(0x401)])[_0x2f30a7(0x364)](_0xc17a5f=>{var _0x255a42=_0x2f30a7;this[_0x255a42(0x154)][_0x255a42(0x371)](_0xc17a5f),_0x123974();});return;}if(_0x24596a[_0x2f30a7(0x401)][_0x2f30a7(0x388)]===_0x5d967f[_0x2f30a7(0x398)]){const _0x408fbd=_0x24596a['data'];this[_0x2f30a7(0x22f)](_0x408fbd)[_0x2f30a7(0x22c)](_0xdc6ff3=>{var _0x1eb2d4=_0x2f30a7;_0x4adc09[_0x1eb2d4(0x2ce)]({'cmd':F[_0x1eb2d4(0x178)],'code':ge['OK'],'routeKey':_0x408fbd[_0x1eb2d4(0x401)][_0x1eb2d4(0x373)],'routeType':'','data':{'eventID':_0x5d967f[_0x1eb2d4(0x3df)],'data':{'changesets':_0xdc6ff3}}});})[_0x2f30a7(0x364)](_0x3fe184=>{var _0x45bafc=_0x2f30a7;this['_logService'][_0x45bafc(0x371)](_0x3fe184),_0x123974();});return;}}_0x43eea9[_0x2f30a7(0x14e)](xn(_0x24596a));},'close':()=>{var _0x86d756=_0x1d641f;_0x43eea9[_0x86d756(0x3be)](),_0x393520[_0x86d756(0x41a)]();}},_0x2aec5b;}async[_0x5e85b0(0x2c4)](_0xe08af,_0x53d9fd){var _0x3e3eb0=_0x5e85b0,_0x3d172c,_0x412d49;const {unitType:_0x220062,unitID:_0x30281a,changeset:_0x30d199}=_0x53d9fd[_0x3e3eb0(0x401)],_0x390cef={'unitID':_0x30281a,'memberID':_0xe08af[_0x3e3eb0(0x1c2)],'type':_0x220062,'changeset':_0x343d15(_0x30d199)},_0x428b1e=this[_0x3e3eb0(0x161)][_0x3e3eb0(0x314)](Nn),_0x367e9c=this[_0x3e3eb0(0x161)][_0x3e3eb0(0x314)](q),_0x10e980=$n((_0x412d49=(_0x3d172c=_0x367e9c==null?void 0x0:_0x367e9c['collabSubmitChangesetUrl'])!=null?_0x3d172c:_0x428b1e)!=null?_0x412d49:Dn,_0x220062,_0x30281a);try{await this['_httpService']['post'](_0x10e980,{'body':_0x390cef});}catch(_0x1b4bb9){throw this[_0x3e3eb0(0x154)][_0x3e3eb0(0x371)](_0x3e3eb0(0x28f),_0x3e3eb0(0x2c5)),_0x1b4bb9;}}async['_fetchMissChangesets'](_0x33e591){var _0x54d889=_0x5e85b0;const {unitID:_0xdeb53d,from:_0x439a72,to:_0x1395f8,unitType:_0x40153e}=_0x33e591[_0x54d889(0x401)];return(await this['_snapshotServerService'][_0x54d889(0x24e)]({'metadata':void 0x0},{'unitID':_0xdeb53d,'type':_0x40153e,'from':_0x439a72,'to':_0x1395f8}))[_0x54d889(0x1e6)];}};Gt=kn([Ae(0x0,_0x4e6a0f(_0x2a76ad)),Ae(0x1,_0x4e6a0f(_0x4dfb46)),Ae(0x2,_0x57235c),Ae(0x3,_0x4f17e2),Ae(0x4,_0x422aa5)],Gt);const Hn=_0x5e85b0(0x33a);function Bn(_0x1da5b2){var _0x108b4f=_0x5e85b0;return JSON['stringify'](_0x1da5b2)[_0x108b4f(0x317)];}class Ti{constructor(){var _0x46d715=_0x5e85b0;N(this,_0x46d715(0x186),new _0x481b7e()),N(this,_0x46d715(0x324),this['_commentUpdate$']['asObservable']());}['onCommentUpdate'](_0xbbed27){var _0x263adc=_0x5e85b0;this[_0x263adc(0x186)][_0x263adc(0x2ce)](_0xbbed27);}}var jn=Object[_0x5e85b0(0x3b0)],Fn=(_0x4a3f2d,_0x4e583c,_0x41da20,_0x332c36)=>{var _0x461512=_0x5e85b0;for(var _0x1b1704=_0x332c36>0x1?void 0x0:_0x332c36?jn(_0x4e583c,_0x41da20):_0x4e583c,_0x275549=_0x4a3f2d[_0x461512(0x317)]-0x1,_0x11a183;_0x275549>=0x0;_0x275549--)(_0x11a183=_0x4a3f2d[_0x275549])&&(_0x1b1704=_0x11a183(_0x1b1704)||_0x1b1704);return _0x1b1704;},Wt=(_0x212fe4,_0x58fa12)=>(_0x507e8e,_0x172952)=>_0x58fa12(_0x507e8e,_0x172952,_0x212fe4);let Le=class extends _0x30c483{constructor(_0x3677ac,_0x3c362a){var _0x43f184=_0x5e85b0;super(),N(this,_0x43f184(0x3fb),new Map()),N(this,_0x43f184(0x369),new _0x481b7e()),(this['_univerInstanceService']=_0x3677ac,this[_0x43f184(0x1de)]=_0x3c362a,this['disposeWithMe'](_0x2ba3bf(this[_0x43f184(0x396)][_0x43f184(0x34d)](_0x3ac655[_0x43f184(0x26b)])[_0x43f184(0x2c0)](_0x4f42e4(_0xceb463=>_0xceb463[_0x43f184(0x21c)]())),this[_0x43f184(0x396)][_0x43f184(0x34d)](_0x3ac655[_0x43f184(0x1dc)])['pipe'](_0x4f42e4(_0x5ecded=>_0x5ecded[_0x43f184(0x21c)]())),this['_univerInstanceService'][_0x43f184(0x34d)](_0x3ac655[_0x43f184(0x164)])[_0x43f184(0x2c0)](_0x4f42e4(_0x40cc10=>_0x40cc10[_0x43f184(0x21c)]())))[_0x43f184(0x292)](_0x4f393d=>this[_0x43f184(0x421)](_0x4f393d))));}[_0x5e85b0(0x148)](_0x3d479f){var _0x1a4950=_0x5e85b0;return this[_0x1a4950(0x3fb)][_0x1a4950(0x2ed)](_0x3d479f)?_0x2e5cdf(this[_0x1a4950(0x3fb)][_0x1a4950(0x3d0)](_0x3d479f)):this[_0x1a4950(0x369)][_0x1a4950(0x2c0)](_0x4f42e4(_0x28cac8=>{var _0x3dd91a=_0x1a4950;if(_0x28cac8===_0x3d479f)return this[_0x3dd91a(0x3fb)][_0x3dd91a(0x3d0)](_0x28cac8);}));}[_0x5e85b0(0x359)](_0x192d7f){var _0x28f3d0=_0x5e85b0;this[_0x28f3d0(0x1de)][_0x28f3d0(0x359)](_0x192d7f);}[_0x5e85b0(0x375)](){var _0x1837d9=_0x5e85b0;return this[_0x1837d9(0x1de)]['getCurrentUser']();}[_0x5e85b0(0x277)](_0x276649,_0x3d75fc){var _0x5b1c3d=_0x5e85b0;let _0x2baabc=this[_0x5b1c3d(0x3fb)][_0x5b1c3d(0x3d0)](_0x276649);_0x2baabc||(_0x2baabc=new Vn(),this[_0x5b1c3d(0x3fb)][_0x5b1c3d(0x28a)](_0x276649,_0x2baabc),this[_0x5b1c3d(0x369)][_0x5b1c3d(0x2ce)](_0x276649)),_0x2baabc[_0x5b1c3d(0x277)](_0x3d75fc);}[_0x5e85b0(0x392)](_0x1d6575,_0x2a9693){var _0x4ae9ee=_0x5e85b0;const _0x51db90=this[_0x4ae9ee(0x3fb)][_0x4ae9ee(0x3d0)](_0x1d6575);_0x51db90&&_0x51db90[_0x4ae9ee(0x392)](_0x2a9693);}[_0x5e85b0(0x2f0)](_0x2eb0fa){var _0x2c707a=_0x5e85b0;return this[_0x2c707a(0x3fb)][_0x2c707a(0x3d0)](_0x2eb0fa);}[_0x5e85b0(0x394)](_0x14f6e2,_0xdb8d87){var _0x42e50f=_0x5e85b0;const _0x57f19d=this['_roomMembers'][_0x42e50f(0x3d0)](_0x14f6e2);if(_0x57f19d)return _0x57f19d[_0x42e50f(0x394)](_0xdb8d87);}[_0x5e85b0(0x421)](_0x4c70b8){var _0x565308=_0x5e85b0;const _0x182552=this[_0x565308(0x3fb)][_0x565308(0x3d0)](_0x4c70b8);_0x182552&&(_0x182552[_0x565308(0x41a)](),this[_0x565308(0x3fb)][_0x565308(0x3d2)](_0x4c70b8));}['dispose'](){var _0xb9e2eb=_0x5e85b0;this[_0xb9e2eb(0x3fb)][_0xb9e2eb(0x1b4)](_0x5f474e=>_0x5f474e['dispose']()),this['_roomMembers'][_0xb9e2eb(0x21b)](),this[_0xb9e2eb(0x369)]['complete']();}};Le=Fn([Wt(0x0,_0x187759),Wt(0x1,_0x4e6a0f(_0x5a566c))],Le);class Vn extends _0x30c483{constructor(){var _0x4be609=_0x5e85b0;super(...arguments),N(this,_0x4be609(0x155),new Map()),N(this,_0x4be609(0x30b),new _0x5a2e2c(this['_members'])),N(this,'members$',this[_0x4be609(0x30b)][_0x4be609(0x175)]());}[_0x5e85b0(0x41a)](){var _0x51f9b2=_0x5e85b0;this['_members'][_0x51f9b2(0x21b)]();}[_0x5e85b0(0x277)](_0x15b381){var _0x1dc08f=_0x5e85b0;this[_0x1dc08f(0x155)]['set'](_0x15b381[_0x1dc08f(0x1c2)],_0x15b381),this[_0x1dc08f(0x1cf)]();}[_0x5e85b0(0x392)](_0x47f4eb){var _0x5768f8=_0x5e85b0;this[_0x5768f8(0x155)][_0x5768f8(0x3d2)](_0x47f4eb);}[_0x5e85b0(0x394)](_0x5258d9){var _0x3d6032=_0x5e85b0;return this[_0x3d6032(0x155)]['get'](_0x5258d9);}[_0x5e85b0(0x19e)](){var _0x26a12a=_0x5e85b0;return Array['from'](this[_0x26a12a(0x155)][_0x26a12a(0x420)]());}[_0x5e85b0(0x1cf)](){var _0x1d1a15=_0x5e85b0;this['_members$'][_0x1d1a15(0x2ce)](this['_members']);}}var Gn=Object[_0x5e85b0(0x3b0)],Wn=(_0x5a2bf1,_0x5222e6,_0x7a36df,_0xeefd0d)=>{var _0x4a2a54=_0x5e85b0;for(var _0x5d35c2=_0xeefd0d>0x1?void 0x0:_0xeefd0d?Gn(_0x5222e6,_0x7a36df):_0x5222e6,_0x42d5bc=_0x5a2bf1[_0x4a2a54(0x317)]-0x1,_0x4a33eb;_0x42d5bc>=0x0;_0x42d5bc--)(_0x4a33eb=_0x5a2bf1[_0x42d5bc])&&(_0x5d35c2=_0x4a33eb(_0x5d35c2)||_0x5d35c2);return _0x5d35c2;},me=(_0x2e80f1,_0x28eeb3)=>(_0x3dfb45,_0x3fee37)=>_0x28eeb3(_0x3dfb45,_0x3fee37,_0x2e80f1),Ee=(_0x4a794e=>(_0x4a794e[_0x4a794e['IDLE']=0x0]=_0x5e85b0(0x183),_0x4a794e[_0x4a794e[_0x5e85b0(0x255)]=0x1]=_0x5e85b0(0x255),_0x4a794e[_0x4a794e['OFFLINE']=0x2]=_0x5e85b0(0x27b),_0x4a794e[_0x4a794e['ONLINE']=0x3]=_0x5e85b0(0x267),_0x4a794e))(Ee||{});const Kt={[ge['FAIL']]:'session.join-failed',[ge[_0x5e85b0(0x28c)]]:'session.room-full',[ge['JOIN_ROOM_NOT_EXISTS']]:_0x5e85b0(0x35c),[ge[_0x5e85b0(0x1bf)]]:_0x5e85b0(0x209),[ge[_0x5e85b0(0x12c)]]:_0x5e85b0(0x1cc)};let Et=class extends _0x5d06b1{constructor(_0x1cd0ad,_0x12fa2e,_0x540248,_0x31b000,_0x306104,_0x48df4f,_0x3e43d3,_0x224ccf,_0x4343e8){var _0x1d9134=_0x5e85b0;super(),N(this,'_sessionStatus$',new _0x5a2e2c(0x0)),N(this,_0x1d9134(0x3a8),this[_0x1d9134(0x231)]['asObservable']()),N(this,_0x1d9134(0x2e5),new _0x481b7e()),N(this,_0x1d9134(0x412),this['_event$'][_0x1d9134(0x175)]()),N(this,_0x1d9134(0x405)),N(this,_0x1d9134(0x273)),N(this,_0x1d9134(0x200)),N(this,_0x1d9134(0x346),!0x1),N(this,_0x1d9134(0x226),null),(this[_0x1d9134(0x33f)]=_0x1cd0ad,this['_logService']=_0x540248,this[_0x1d9134(0x161)]=_0x31b000,this[_0x1d9134(0x198)]=_0x306104,this[_0x1d9134(0x24c)]=_0x48df4f,this[_0x1d9134(0x2f3)]=_0x3e43d3,this[_0x1d9134(0x262)]=_0x224ccf,this['_telemetryService']=_0x4343e8,this[_0x1d9134(0x346)]=!!this[_0x1d9134(0x278)],_0x12fa2e['pipe'](_0x396fca(this['dispose$']))[_0x1d9134(0x292)](_0xa328e1=>{var _0x459cc4=_0x1d9134,_0x1c528e;typeof _0xa328e1>'u'||(this['_socket']=_0xa328e1,_0xa328e1?(this[_0x459cc4(0x14d)](_0xa328e1),this['_socketMessageSubscription']=_0xa328e1[_0x459cc4(0x27d)][_0x459cc4(0x292)](_0x15b5ce=>{var _0x16b899=_0x459cc4;_0x15b5ce['routeKey']===this[_0x16b899(0x33f)]&&this[_0x16b899(0x329)](_0x15b5ce);})):(this[_0x459cc4(0x350)](),this['_sessionStatus$'][_0x459cc4(0x2ce)](0x2),(_0x1c528e=this[_0x459cc4(0x273)])==null||_0x1c528e['unsubscribe'](),this[_0x459cc4(0x273)]=null));}));}get[_0x5e85b0(0x145)](){var _0x90c852=_0x5e85b0;return this[_0x90c852(0x231)][_0x90c852(0x141)]();}[_0x5e85b0(0x263)](){var _0x157bed=_0x5e85b0,_0x5a4c19,_0x205362;return(_0x205362=(_0x5a4c19=this[_0x157bed(0x405)])==null?void 0x0:_0x5a4c19['memberID'])!=null?_0x205362:null;}[_0x5e85b0(0x41a)](){var _0x15ead2=_0x5e85b0;super['dispose'](),this[_0x15ead2(0x239)][_0x15ead2(0x2ce)](),this['dispose$'][_0x15ead2(0x240)]();}[_0x5e85b0(0x3be)](){var _0x3b0d1f=_0x5e85b0,_0x7ea2af,_0x5637fa;this[_0x3b0d1f(0x350)](),(_0x7ea2af=this[_0x3b0d1f(0x405)])==null||_0x7ea2af['send']({'cmd':F[_0x3b0d1f(0x144)],'data':{'roomID':this[_0x3b0d1f(0x33f)]}}),(_0x5637fa=this[_0x3b0d1f(0x405)])==null||_0x5637fa[_0x3b0d1f(0x3be)](),this[_0x3b0d1f(0x2e5)][_0x3b0d1f(0x240)](),this[_0x3b0d1f(0x231)][_0x3b0d1f(0x240)](),this[_0x3b0d1f(0x41a)]();}[_0x5e85b0(0x329)](_0x4c5d73){var _0x1c5d11=_0x5e85b0;_0x4c5d73[_0x1c5d11(0x31d)]===F[_0x1c5d11(0x1bd)]?this[_0x1c5d11(0x358)](_0x4c5d73):_0x4c5d73[_0x1c5d11(0x31d)]===F[_0x1c5d11(0x178)]&&this[_0x1c5d11(0x143)](_0x4c5d73);}[_0x5e85b0(0x14d)](_0x40ce07){var _0x3ccf90=_0x5e85b0;this[_0x3ccf90(0x231)][_0x3ccf90(0x2ce)](0x1),_0x40ce07[_0x3ccf90(0x14e)]({'cmd':F[_0x3ccf90(0x1bd)],'routeKey':this[_0x3ccf90(0x33f)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5e85b0(0x358)](_0x2fc492){var _0x4ad41f=_0x5e85b0,_0x274a60;if(_0x2fc492[_0x4ad41f(0x1c4)]in Kt){this[_0x4ad41f(0x262)][_0x4ad41f(0x258)]({'id':re[_0x4ad41f(0x2fe)],'data':Kt[_0x2fc492[_0x4ad41f(0x1c4)]]}),this[_0x4ad41f(0x231)][_0x4ad41f(0x2ce)](0x2);return;}this[_0x4ad41f(0x231)][_0x4ad41f(0x2ce)](0x3);const _0x102d53=(_0x274a60=_0x2fc492[_0x4ad41f(0x401)][_0x4ad41f(0x194)][this['_unitID']])==null?void 0x0:_0x274a60['members'];_0x102d53&&_0x102d53[_0x4ad41f(0x1b4)](_0x670262=>this[_0x4ad41f(0x24c)][_0x4ad41f(0x277)](this[_0x4ad41f(0x33f)],_0x670262));}[_0x5e85b0(0x143)](_0x4fe6ea){var _0x507c4e=_0x5e85b0;try{const _0x865686=_0x4fe6ea['data'];switch(_0x865686[_0x507c4e(0x388)]){case _0x5d967f[_0x507c4e(0x138)]:this['_onUserJoin'](_0x865686),this[_0x507c4e(0x2e5)][_0x507c4e(0x2ce)](_0x865686);break;case _0x5d967f[_0x507c4e(0x211)]:this[_0x507c4e(0x2be)](_0x865686),this[_0x507c4e(0x2e5)][_0x507c4e(0x2ce)](_0x865686);break;case _0x5d967f[_0x507c4e(0x37d)]:case _0x5d967f[_0x507c4e(0x163)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x507c4e(0x2e5)][_0x507c4e(0x2ce)](_0x865686);break;case _0x5d967f['MSG_FOR_ERROR']:this['_logService'][_0x507c4e(0x371)](_0x507c4e(0x286)+JSON[_0x507c4e(0x2a9)](_0x865686)),this[_0x507c4e(0x2e5)][_0x507c4e(0x2ce)](_0x865686);break;case _0x5d967f['COMMENT_UPDATE']:this[_0x507c4e(0x2f3)][_0x507c4e(0x357)](_0x865686[_0x507c4e(0x401)]),this[_0x507c4e(0x2e5)]['next'](_0x865686);break;default:this[_0x507c4e(0x2e5)]['next'](_0x865686);}}catch(_0x42f41d){this[_0x507c4e(0x154)][_0x507c4e(0x371)](_0x42f41d,_0x4fe6ea);}}[_0x5e85b0(0x319)](_0x3aa59b){var _0x35fec4=_0x5e85b0;this[_0x35fec4(0x24c)][_0x35fec4(0x277)](this['_unitID'],_0x3aa59b[_0x35fec4(0x401)]);}[_0x5e85b0(0x2be)](_0x21cc94){var _0x1b39c5=_0x5e85b0;this[_0x1b39c5(0x24c)]['removeMember'](this[_0x1b39c5(0x33f)],_0x21cc94[_0x1b39c5(0x401)][_0x1b39c5(0x1c2)]);}async[_0x5e85b0(0x14e)](_0xfede5c,_0x2b9992){var _0x499245=_0x5e85b0;if(this['sessionStatus']!==0x3||!this[_0x499245(0x405)])throw new Error(_0x499245(0x318));try{_0xfede5c[_0x499245(0x388)]===_0x5d967f[_0x499245(0x25d)]&&(this[_0x499245(0x1e1)](),this['_startTelemetryCollaborationNewChangeset'](_0xfede5c)),this['_socket'][_0x499245(0x14e)]({'cmd':F[_0x499245(0x285)],'routeKey':_0x2b9992,'routeType':'','data':_0xfede5c});}catch(_0xfc7669){this[_0x499245(0x154)]['error'](_0xfc7669);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5f487b=_0x5e85b0,_0x4641a8;this[_0x5f487b(0x200)]=setTimeout(()=>{var _0x4fcf4b=_0x5f487b;this['_collaborationTimeoutTimer']=null,this[_0x4fcf4b(0x262)][_0x4fcf4b(0x258)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4641a8=this[_0x5f487b(0x161)][_0x5f487b(0x314)](mi))!=null?_0x4641a8:gi);}[_0x5e85b0(0x39a)](){var _0x44859d=_0x5e85b0;this[_0x44859d(0x200)]&&(clearTimeout(this[_0x44859d(0x200)]),this['_collaborationTimeoutTimer']=null);}[_0x5e85b0(0x168)](_0x3203ea){var _0xf39beb=_0x5e85b0;if(!this[_0xf39beb(0x346)])return;const {data:_0x23c9cd}=_0x3203ea,{unitID:_0x4e94aa,changeset:_0x26ee02}=_0x23c9cd,{mutations:_0x21109c,type:_0x35210a}=_0x26ee02;this[_0xf39beb(0x226)]={'unitId':_0x4e94aa,'type':_0x35210a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x21109c)};}[_0x5e85b0(0x312)](){var _0x3b6b4d=_0x5e85b0;if(this['_shouldReportTelemetry']){if(!this[_0x3b6b4d(0x226)]){this[_0x3b6b4d(0x154)][_0x3b6b4d(0x371)](_0x3b6b4d(0x28f),_0x3b6b4d(0x2d5));return;}this[_0x3b6b4d(0x226)][_0x3b6b4d(0x2ab)]=performance[_0x3b6b4d(0x3c1)](),this[_0x3b6b4d(0x226)][_0x3b6b4d(0x2ea)]=this[_0x3b6b4d(0x226)][_0x3b6b4d(0x2ab)]-this[_0x3b6b4d(0x226)][_0x3b6b4d(0x341)],this[_0x3b6b4d(0x278)][_0x3b6b4d(0x290)](Hn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x5e85b0(0x350)](){var _0x4942e2=_0x5e85b0;this[_0x4942e2(0x226)]=null;}};Et=Wn([me(0x2,_0x4f17e2),me(0x3,_0x57235c),me(0x4,_0x4e6a0f(_0x4ff38c)),me(0x5,_0x4e6a0f(Le)),me(0x6,_0x4e6a0f(Ti)),me(0x7,_0x4e6a0f(pe)),me(0x8,_0x8e5208(_0x380d9e))],Et);var Kn=Object[_0x5e85b0(0x3b0)],Yn=(_0x581a55,_0x57f23b,_0x1d8d77,_0x3e2fc5)=>{var _0x588fc1=_0x5e85b0;for(var _0x5646c5=_0x3e2fc5>0x1?void 0x0:_0x3e2fc5?Kn(_0x57f23b,_0x1d8d77):_0x57f23b,_0x486590=_0x581a55[_0x588fc1(0x317)]-0x1,_0x4adbf5;_0x486590>=0x0;_0x486590--)(_0x4adbf5=_0x581a55[_0x486590])&&(_0x5646c5=_0x4adbf5(_0x5646c5)||_0x5646c5);return _0x5646c5;},be=(_0x2965fd,_0x3d086b)=>(_0x5a29eb,_0x18e6d1)=>_0x3d086b(_0x5a29eb,_0x18e6d1,_0x2965fd);let xe=class extends _0x30c483{constructor(_0x22054a,_0x2ec059,_0x4ea6e5,_0x438635,_0x4754aa,_0x5aae44){var _0x39b5eb=_0x5e85b0;super(),N(this,_0x39b5eb(0x16b),new _0x5a2e2c(void 0x0)),N(this,'socket$',this['_socket$'][_0x39b5eb(0x175)]()),N(this,_0x39b5eb(0x241),null),N(this,_0x39b5eb(0x2c8),new Map()),N(this,'_status$',new _0x5a2e2c(Ee[_0x39b5eb(0x183)])),N(this,_0x39b5eb(0x2b3),this[_0x39b5eb(0x3c7)][_0x39b5eb(0x175)]()),N(this,_0x39b5eb(0x219),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x39b5eb(0x2f1),0x0),N(this,_0x39b5eb(0x12f)),N(this,_0x39b5eb(0x289)),(this[_0x39b5eb(0x35f)]=_0x22054a,this[_0x39b5eb(0x154)]=_0x2ec059,this['_configService']=_0x4ea6e5,this[_0x39b5eb(0x271)]=_0x438635,this[_0x39b5eb(0x262)]=_0x4754aa,this[_0x39b5eb(0x2b5)]=_0x5aae44,this['_listenToNetworkCondition']());}get[_0x5e85b0(0x405)](){var _0xd5c1e3=_0x5e85b0;return this['_socket$'][_0xd5c1e3(0x141)]();}[_0x5e85b0(0x15e)](){var _0x1ec738=_0x5e85b0;this[_0x1ec738(0x2b5)]&&this[_0x1ec738(0x1d4)](this[_0x1ec738(0x2b5)][_0x1ec738(0x121)]['subscribe'](_0x245835=>{var _0x18cbea=_0x1ec738;_0x245835&&!this[_0x18cbea(0x405)]&&this['reconnect'](),_0x245835||this[_0x18cbea(0x23c)]();}));}[_0x5e85b0(0x41a)](){var _0x1c1116=_0x5e85b0;super['dispose'](),this[_0x1c1116(0x34c)](),this[_0x1c1116(0x2d8)](),this[_0x1c1116(0x378)](),this['_sessions']['forEach'](_0x21646a=>_0x21646a[_0x1c1116(0x41a)]()),this[_0x1c1116(0x2c8)][_0x1c1116(0x21b)](),this[_0x1c1116(0x3c7)][_0x1c1116(0x240)]();}async[_0x5e85b0(0x18b)](_0x5a5538){var _0x1e4208=_0x5e85b0;if(this[_0x1e4208(0x2c8)]['has'](_0x5a5538))return this[_0x1e4208(0x2c8)]['get'](_0x5a5538);this[_0x1e4208(0x332)]();const _0x351cb6=this[_0x1e4208(0x35f)][_0x1e4208(0x313)](Et,_0x5a5538,this[_0x1e4208(0x16b)][_0x1e4208(0x175)]());return this['_sessions']['set'](_0x5a5538,_0x351cb6),_0x351cb6;}['closeSession'](_0x29cfe5){var _0x39d53a=_0x5e85b0,_0x5b6e9d;const _0x348c54=this[_0x39d53a(0x2c8)]['get'](_0x29cfe5);_0x348c54&&(this[_0x39d53a(0x2c8)][_0x39d53a(0x3d2)](_0x29cfe5),_0x348c54[_0x39d53a(0x3be)]()),this['_sessions']['size']||(_0x5b6e9d=this['_socket'])==null||_0x5b6e9d['close']();}['reconnect'](){var _0x23c925=_0x5e85b0;this[_0x23c925(0x2f1)]=0x0,this[_0x23c925(0x34c)](),this[_0x23c925(0x3fd)]();}[_0x5e85b0(0x34c)](){var _0x2b5dba=_0x5e85b0;this[_0x2b5dba(0x1a1)]!=null&&(clearTimeout(this[_0x2b5dba(0x1a1)]),this[_0x2b5dba(0x1a1)]=null);}async[_0x5e85b0(0x37b)](){var _0x1ea9ed=_0x5e85b0,_0x29bb26,_0x159fea;const _0x49ac64=this[_0x1ea9ed(0x161)]['getConfig'](In),_0x1fa98f=this[_0x1ea9ed(0x161)][_0x1ea9ed(0x314)](q),_0x4f148e=(_0x159fea=(_0x29bb26=_0x1fa98f==null?void 0x0:_0x1fa98f['collabWebSocketUrl'])!=null?_0x29bb26:_0x49ac64)!=null?_0x159fea:Tn,_0x2eb96e=await this['_socketService'][_0x1ea9ed(0x165)](_0x4f148e);return this[_0x1ea9ed(0x241)]=_0x2eb96e,_0x2eb96e;}async[_0x5e85b0(0x332)](){var _0x31057e=_0x5e85b0,_0x5cad0d,_0xa3547e;try{const _0x53a9b9=(_0xa3547e=(_0x5cad0d=this[_0x31057e(0x405)])!=null?_0x5cad0d:this[_0x31057e(0x241)])!=null?_0xa3547e:await this[_0x31057e(0x37b)]();if(_0x53a9b9){const _0x2230dc=_0x53a9b9[_0x31057e(0x14e)];_0x53a9b9[_0x31057e(0x14e)]=_0x4ba323=>(this[_0x31057e(0x32a)](),_0x2230dc[_0x31057e(0x2dd)](_0x53a9b9,[_0x4ba323])),_0x53a9b9[_0x31057e(0x27d)][_0x31057e(0x292)](_0x38fc62=>this['_onMessage'](_0x53a9b9,_0x38fc62)),_0x53a9b9['error$']['pipe'](_0x193ab3(0x1))[_0x31057e(0x292)](_0x34f951=>this['_logService']['error'](_0x31057e(0x28b),_0x34f951)),_0x53a9b9[_0x31057e(0x383)]['pipe'](_0x193ab3(0x1))['subscribe'](()=>{var _0x5534da=_0x31057e;this[_0x5534da(0x2ba)](_0x53a9b9);}),_0x53a9b9[_0x31057e(0x1c3)][_0x31057e(0x2c0)](_0x193ab3(0x1))[_0x31057e(0x292)](_0x5ac8fb=>{var _0x7371a4=_0x31057e;this[_0x7371a4(0x154)]['debug'](_0x7371a4(0x355),_0x7371a4(0x3eb),_0x5ac8fb),this[_0x7371a4(0x33c)]();});}}catch(_0x5320a8){this[_0x31057e(0x154)][_0x31057e(0x371)](_0x5320a8),this['_onConnectionFailed']();}}[_0x5e85b0(0x2ba)](_0x4c53e2){var _0x22f8d5=_0x5e85b0;this[_0x22f8d5(0x154)][_0x22f8d5(0x156)]('[CollaborationSessionService]','socket\x20open.'),_0x4c53e2[_0x22f8d5(0x14e)]({'cmd':F[_0x22f8d5(0x1d2)]}),this[_0x22f8d5(0x32a)]();}[_0x5e85b0(0x23c)](){var _0x2068ea=_0x5e85b0;this[_0x2068ea(0x219)]=!0x1,this[_0x2068ea(0x241)]=null,this[_0x2068ea(0x3c7)]['next'](Ee[_0x2068ea(0x27b)]),this[_0x2068ea(0x16b)][_0x2068ea(0x2ce)](null),this['_clearTimeoutTimer'](),this[_0x2068ea(0x378)]();}[_0x5e85b0(0x33c)](){var _0xdb2288=_0x5e85b0,_0x3a111f;this[_0xdb2288(0x23c)](),this[_0xdb2288(0x2f1)]<((_0x3a111f=this['_configService'][_0xdb2288(0x314)](On))!=null?_0x3a111f:yn)?(this[_0xdb2288(0x262)][_0xdb2288(0x258)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0xdb2288(0x3fd)]()):this[_0xdb2288(0x262)][_0xdb2288(0x258)]({'id':re['SOCKET_FAILED']});}[_0x5e85b0(0x3fd)](){var _0x41628e=_0x5e85b0,_0x57ad75;const _0x42658b=this[_0x41628e(0x2f1)],_0x34c2a5=this[_0x41628e(0x161)][_0x41628e(0x314)](q),_0x24bfcb=_0x42658b===0x0?0x0:((_0x57ad75=_0x34c2a5==null?void 0x0:_0x34c2a5['retryConnectingInterval'])!=null?_0x57ad75:bn)*0x2**_0x42658b;this[_0x41628e(0x1a1)]=setTimeout(()=>{var _0x1d24ee=_0x41628e;clearTimeout(this[_0x1d24ee(0x1a1)]),this['_retryConnectingTimer']=null,this[_0x1d24ee(0x332)]();},_0x24bfcb),this['_retryCount']+=0x1;}[_0x5e85b0(0x13d)](_0xe5343f,_0xbf5347){var _0x115c89=_0x5e85b0;const {cmd:_0x5c0853}=_0xbf5347;_0x5c0853===F[_0x115c89(0x1d2)]&&!this[_0x115c89(0x219)]&&(_0xe5343f[_0x115c89(0x1c2)]=_0xbf5347['data'][_0x115c89(0x1c2)],this[_0x115c89(0x16b)][_0x115c89(0x2ce)](_0xe5343f),this[_0x115c89(0x3c7)][_0x115c89(0x2ce)](Ee['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x5c0853===F['HEARTBEAT']&&this[_0x115c89(0x2d8)](),this[_0x115c89(0x32a)]();}['_rescheduleHeartbeat'](){var _0x2969cf=_0x5e85b0,_0x2dfd56;this[_0x2969cf(0x378)](),this[_0x2969cf(0x12f)]=setTimeout(()=>this[_0x2969cf(0x3e3)](),(_0x2dfd56=this[_0x2969cf(0x161)][_0x2969cf(0x314)](Cn))!=null?_0x2dfd56:Rn);}['_sendHeartbeat'](){var _0x3e9d82=_0x5e85b0;this['_socket'][_0x3e9d82(0x14e)]({'cmd':F[_0x3e9d82(0x1f4)]}),this[_0x3e9d82(0x402)]();}[_0x5e85b0(0x402)](){var _0x48e6ba=_0x5e85b0,_0x5d61b9;this[_0x48e6ba(0x289)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5d61b9=this[_0x48e6ba(0x161)][_0x48e6ba(0x314)](mi))!=null?_0x5d61b9:gi);}[_0x5e85b0(0x378)](){var _0x26499b=_0x5e85b0;this[_0x26499b(0x12f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x26499b(0x12f)]=null);}[_0x5e85b0(0x2d8)](){var _0x2bd4d7=_0x5e85b0;this[_0x2bd4d7(0x289)]!=null&&(clearTimeout(this[_0x2bd4d7(0x289)]),this[_0x2bd4d7(0x289)]=null);}};xe=Yn([be(0x0,_0x4e6a0f(_0x2a76ad)),be(0x1,_0x4f17e2),be(0x2,_0x57235c),be(0x3,Ii),be(0x4,_0x4e6a0f(pe)),be(0x5,_0x8e5208(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x5e85b0(0x1e3)]((t+0x100)[_0x5e85b0(0x199)](0x10)[_0x5e85b0(0x3ae)](0x1));function qn(_0x34e51c,_0xf4933f=0x0){var _0x1dfc76=_0x5e85b0;return(V[_0x34e51c[_0xf4933f+0x0]]+V[_0x34e51c[_0xf4933f+0x1]]+V[_0x34e51c[_0xf4933f+0x2]]+V[_0x34e51c[_0xf4933f+0x3]]+'-'+V[_0x34e51c[_0xf4933f+0x4]]+V[_0x34e51c[_0xf4933f+0x5]]+'-'+V[_0x34e51c[_0xf4933f+0x6]]+V[_0x34e51c[_0xf4933f+0x7]]+'-'+V[_0x34e51c[_0xf4933f+0x8]]+V[_0x34e51c[_0xf4933f+0x9]]+'-'+V[_0x34e51c[_0xf4933f+0xa]]+V[_0x34e51c[_0xf4933f+0xb]]+V[_0x34e51c[_0xf4933f+0xc]]+V[_0x34e51c[_0xf4933f+0xd]]+V[_0x34e51c[_0xf4933f+0xe]]+V[_0x34e51c[_0xf4933f+0xf]])[_0x1dfc76(0x22e)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x25a5dd=_0x5e85b0;if(!ut){if(typeof crypto>'u'||!crypto[_0x25a5dd(0x3a4)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x25a5dd(0x3a4)]['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x5e85b0(0x31e)]&&crypto[_0x5e85b0(0x31e)][_0x5e85b0(0x2d7)](crypto),Yt={'randomUUID':Xn};function Zn(_0xc0a048,_0x505e4c,_0x2ef58f){var _0x130cbb=_0x5e85b0,_0x46f6a5,_0x46ed75,_0x43a47c;if(Yt[_0x130cbb(0x31e)]&&!_0xc0a048)return Yt[_0x130cbb(0x31e)]();_0xc0a048=_0xc0a048||{};const _0x5786b6=(_0x43a47c=(_0x46ed75=_0xc0a048[_0x130cbb(0x238)])!=null?_0x46ed75:(_0x46f6a5=_0xc0a048[_0x130cbb(0x325)])==null?void 0x0:_0x46f6a5['call'](_0xc0a048))!=null?_0x43a47c:Jn();if(_0x5786b6[_0x130cbb(0x317)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x5786b6[0x6]=_0x5786b6[0x6]&0xf|0x40,_0x5786b6[0x8]=_0x5786b6[0x8]&0x3f|0x80,qn(_0x5786b6);}const J=_0x189597(_0x5e85b0(0x322));function Br(_0x5011a9){return'unit-cache-'+_0x5011a9;}var Qn=Object[_0x5e85b0(0x3b0)],es=(_0x3e86ea,_0x51de8d,_0x31cd2b,_0x24e8dd)=>{var _0x5005c9=_0x5e85b0;for(var _0x213ca9=_0x24e8dd>0x1?void 0x0:_0x24e8dd?Qn(_0x51de8d,_0x31cd2b):_0x51de8d,_0x42ee4a=_0x3e86ea[_0x5005c9(0x317)]-0x1,_0xd2cad8;_0x42ee4a>=0x0;_0x42ee4a--)(_0xd2cad8=_0x3e86ea[_0x42ee4a])&&(_0x213ca9=_0xd2cad8(_0x213ca9)||_0x213ca9);return _0x213ca9;},dt=(_0x233e1a,_0x54fea8)=>(_0x83180f,_0x4f90cd)=>_0x54fea8(_0x83180f,_0x4f90cd,_0x233e1a);function ts(_0x4cb86b){var _0x58ef09=_0x5e85b0;const {unitID:_0x565959,mutations:_0xaf4130}=_0x4cb86b;return{'unitId':_0x565959,'subUnitId':_0xaf4130[0x0]['params'][_0x58ef09(0x189)]};}let it=class{constructor(_0x3a7907,_0x307472,_0x1927fc){var _0x4695a3=_0x5e85b0;this['_injector']=_0x3a7907,this[_0x4695a3(0x129)]=_0x307472,this[_0x4695a3(0x153)]=_0x1927fc;}['transformSelections'](_0x53ea0f){var _0x3009a4=_0x5e85b0,_0x45b6d2,_0x44f2f8,_0x263552,_0x5aea94;const _0x1a0c25=this[_0x3009a4(0x35f)]['get'](_0x187bbd),{unitId:_0x1c487c,subUnitId:_0x576c9a}=ts(_0x53ea0f),_0x3aee1b=_0x1a0c25==null?void 0x0:_0x1a0c25['getWorkbookSelections'](_0x1c487c)[_0x3009a4(0x243)](),_0x108e5f=(_0x44f2f8=(_0x45b6d2=this['_instanceService']['getUnit'](_0x1c487c))==null?void 0x0:_0x45b6d2[_0x3009a4(0x19b)]())==null?void 0x0:_0x44f2f8[_0x3009a4(0x33b)]();if(_0x3aee1b[_0x3009a4(0x317)]===0x0||!_0x1c487c||!_0x576c9a)return;const _0x932d25=[{'id':_0x1a8b57['id'],'params':{'unitId':_0x1c487c,'subUnitId':_0x108e5f,'selections':_0x37a7ab[_0x3009a4(0x275)](_0x3aee1b)}}],_0x3d770e=this[_0x3009a4(0x129)][_0x3009a4(0x2a3)](_0x53ea0f,_0x932d25);if(!_0x5ed7eb(_0x3d770e))throw _0x3d770e[_0x3009a4(0x371)];const _0x246396=(_0x5aea94=(_0x263552=_0x3d770e['m2Prime'][0x0])==null?void 0x0:_0x263552[_0x3009a4(0x2d0)])==null?void 0x0:_0x5aea94[_0x3009a4(0x1b2)];if(Array[_0x3009a4(0x260)](_0x246396)&&_0x246396[_0x3009a4(0x317)]){if(_0x246396[_0x3009a4(0x317)]===_0x932d25[0x0][_0x3009a4(0x2d0)]['selections'][_0x3009a4(0x317)]&&_0x246396[_0x3009a4(0x167)]((_0x5bd42c,_0x24c620)=>_0x583950[_0x3009a4(0x253)](_0x5bd42c[_0x3009a4(0x3f9)],_0x932d25[0x0][_0x3009a4(0x2d0)]['selections'][_0x24c620]['range'])))return;this[_0x3009a4(0x35f)][_0x3009a4(0x3d0)](_0x1020e1)[_0x3009a4(0x37e)](_0x1a8b57['id'],{'unitId':_0x1c487c,'subUnitId':_0x108e5f,'selections':_0x246396});}}};it=es([dt(0x0,_0x4e6a0f(_0x2a76ad)),dt(0x1,_0x32e708),dt(0x2,_0x187759)],it);const ht=_0x189597(_0x5e85b0(0x3b1));var Ci=(_0x167ff7=>(_0x167ff7[_0x167ff7['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x5e85b0(0x196),_0x167ff7[_0x167ff7[_0x5e85b0(0x22b)]=0x1]='OTHER_CLIENTS_EDITING',_0x167ff7))(Ci||{});const is=new Set([_0x104b1f['id']]);function qt(_0x5b161c,_0xcf2f19,_0x54b20d,_0x2edb71,_0x5bd034){var _0x1065b9=_0x5e85b0,_0xea17b1,_0x302cbf,_0x5c83b0,_0x5a39eb;const _0x4b5e7c=[];for(const _0x116330 of _0x5b161c)if(is[_0x1065b9(0x2ed)](_0x116330['id'])){if(_0x4b5e7c['length']>0x0)break;_0x4b5e7c[_0x1065b9(0x1e3)](_0x116330);break;}else _0x4b5e7c['push'](_0x116330);const _0x4bdd6c=(_0x302cbf=(_0xea17b1=_0x5bd034[_0x1065b9(0x375)]())==null?void 0x0:_0xea17b1['userID'])!=null?_0x302cbf:_0x1065b9(0x3d8),_0x30c38b=(_0x5a39eb=(_0x5c83b0=_0x5bd034['getCurrentUser']())==null?void 0x0:_0x5c83b0['memberID'])!=null?_0x5a39eb:_0x1065b9(0x3d8);return{'changeset':{'unitID':_0xcf2f19,'type':_0x5c53de(_0x54b20d['getUnitType'](_0xcf2f19)),'baseRev':_0x2edb71[_0x1065b9(0x3bd)](_0xcf2f19),'revision':0x0,'userID':_0x4bdd6c,'memberID':_0x30c38b,'mutations':_0x4b5e7c},'pendingMutations':_0x5b161c[_0x1065b9(0x3ae)](_0x4b5e7c[_0x1065b9(0x317)])};}function ns(_0x50deb2,_0x508c15,_0x3ac0bf,_0x2fcb18,_0x227250){var _0x1983a2=_0x5e85b0,_0x3ef8ee,_0x526f33,_0x5a001c,_0x4271f0;const _0xcf6e69=[_0x50deb2[_0x1983a2(0x1c0)]((_0x451970,_0x23ccfa)=>{var _0x432de7=_0x1983a2,_0x981619;const {id:_0x10718f}=_0x451970,{id:_0x2c5b91,type:_0x509748}=_0x23ccfa,_0x1ba454=(_0x981619=_0x451970[_0x432de7(0x2d0)])!=null?_0x981619:{'actions':null},_0xb37730=_0x23ccfa[_0x432de7(0x2d0)];if(_0x10718f&&_0x10718f!==_0x2c5b91)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x10718f+_0x432de7(0x320)+_0x2c5b91+'.');return{..._0x451970,'id':_0x2c5b91,'type':_0x509748,'params':{'unitId':_0xb37730[_0x432de7(0x37f)],'textRanges':_0xb37730[_0x432de7(0x363)],'actions':_0xfcf1b6['compose'](_0x1ba454[_0x432de7(0x13b)],_0xb37730[_0x432de7(0x13b)])}};},{})],_0x1ddfdb=(_0x526f33=(_0x3ef8ee=_0x227250[_0x1983a2(0x375)]())==null?void 0x0:_0x3ef8ee[_0x1983a2(0x36a)])!=null?_0x526f33:'unknown',_0x12dea2=(_0x4271f0=(_0x5a001c=_0x227250[_0x1983a2(0x375)]())==null?void 0x0:_0x5a001c['memberID'])!=null?_0x4271f0:_0x1983a2(0x3d8);return{'changeset':{'unitID':_0x508c15,'type':_0x5c53de(_0x3ac0bf[_0x1983a2(0x1ef)](_0x508c15)),'baseRev':_0x2fcb18[_0x1983a2(0x3bd)](_0x508c15),'revision':0x0,'userID':_0x1ddfdb,'memberID':_0x12dea2,'mutations':_0xcf6e69},'pendingMutations':[]};}function Ri(_0x42ed97,_0x570920){var _0x58a6cb=_0x5e85b0;const _0x1a1f36=new _0x5b7e53(0x1);return setTimeout(()=>_0x1a1f36['next'](_0x570920),_0x42ed97),_0x1a1f36['asObservable']()[_0x58a6cb(0x2c0)](_0x27b4b5(0x1));}const ss={'id':_0xf556b8['id'],'type':_0x33a20c['MUTATION'],'params':{}};var rs=Object[_0x5e85b0(0x3b0)],Te=(_0xd08e98,_0x5de5ed,_0x58b507,_0x3c48f5)=>{var _0x3a6390=_0x5e85b0;for(var _0x3b4d97=_0x3c48f5>0x1?void 0x0:_0x3c48f5?rs(_0x5de5ed,_0x58b507):_0x5de5ed,_0x4e0630=_0xd08e98[_0x3a6390(0x317)]-0x1,_0x46bcf5;_0x4e0630>=0x0;_0x4e0630--)(_0x46bcf5=_0xd08e98[_0x4e0630])&&(_0x3b4d97=_0x46bcf5(_0x3b4d97)||_0x3b4d97);return _0x3b4d97;},P=(_0x397598,_0x163262)=>(_0x24181e,_0x55f4b1)=>_0x163262(_0x24181e,_0x55f4b1,_0x397598),bi=(_0x3ec250=>(_0x3ec250[_0x5e85b0(0x3c5)]=_0x5e85b0(0x213),_0x3ec250[_0x5e85b0(0x1f5)]='synced',_0x3ec250[_0x5e85b0(0x125)]=_0x5e85b0(0x362),_0x3ec250[_0x5e85b0(0x3a3)]='awaiting',_0x3ec250[_0x5e85b0(0x2ff)]=_0x5e85b0(0x1db),_0x3ec250[_0x5e85b0(0x3ed)]='fetch_missing',_0x3ec250[_0x5e85b0(0x16d)]=_0x5e85b0(0x36d),_0x3ec250[_0x5e85b0(0x27b)]=_0x5e85b0(0x236),_0x3ec250))(bi||{});const Oi=0xea60;class Ce{constructor(_0x314e73,_0x20cffa,_0x35a177,_0x510af0,_0x42976f,_0x208428,_0x4f5d49,_0x2ef5b0,_0x4bb44a){var _0x177a27=_0x5e85b0;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x177a27(0x373)]=_0x314e73,this[_0x177a27(0x233)]=_0x20cffa,this[_0x177a27(0x309)]=_0x42976f,this[_0x177a27(0x336)]=_0x208428,this[_0x177a27(0x356)]=_0x4f5d49,this[_0x177a27(0x13c)]=_0x2ef5b0,this['_localCacheService']=_0x4bb44a,this[_0x177a27(0x3a5)]=_0x35a177,this['_pendingMutations']=_0x510af0);}['_checkMissing'](_0x24e456){var _0x4b5f63=_0x5e85b0;const _0x3baec0=this[_0x4b5f63(0x13c)]['getCurrentRevOfUnit'](this[_0x4b5f63(0x373)]);return _0x24e456['revision']>_0x3baec0+0x1?(this['_handler'][_0x4b5f63(0x300)]({'from':_0x3baec0,'to':_0x24e456[_0x4b5f63(0x181)]-0x1}),!0x0):!0x1;}[_0x5e85b0(0x391)](_0x11a9b2){var _0xd1dfd9=_0x5e85b0;this['_undoRedoService'][_0xd1dfd9(0x3b7)](this[_0xd1dfd9(0x373)],_0x11a9b2);}[_0x5e85b0(0x1fc)](_0x439c1d){var _0xc72370=_0x5e85b0,_0xb61ffe,_0x11ec78;(_0x11ec78=(_0xb61ffe=this[_0xc72370(0x309)])[_0xc72370(0x3cd)])==null||_0x11ec78[_0xc72370(0x17e)](_0xb61ffe,_0x439c1d);}['_transformIMECache'](_0x2abef1){var _0x411f9f=_0x5e85b0,_0x1202ae,_0x45d4a4;return(_0x45d4a4=(_0x1202ae=this['_handler'])[_0x411f9f(0x15a)])==null?void 0x0:_0x45d4a4[_0x411f9f(0x17e)](_0x1202ae,_0x2abef1);}[_0x5e85b0(0x225)](_0x1c7c33){var _0x40e9f1=_0x5e85b0,_0xd816bc,_0xcd2618;return(_0xcd2618=(_0xd816bc=this[_0x40e9f1(0x309)])[_0x40e9f1(0x2a5)])==null?void 0x0:_0xcd2618['call'](_0xd816bc,_0x1c7c33);}[_0x5e85b0(0x2bf)](_0x1caac3){var _0x2b27ec=_0x5e85b0,_0x5f1692,_0x214742,_0x3e5848;return(_0x3e5848=(_0x214742=(_0x5f1692=this[_0x2b27ec(0x309)])[_0x2b27ec(0x29d)])==null?void 0x0:_0x214742[_0x2b27ec(0x17e)](_0x5f1692,_0x1caac3))!=null?_0x3e5848:_0x1caac3;}[_0x5e85b0(0x411)](_0x26d14b){var _0x1f9061=_0x5e85b0,_0x485222,_0x57b112,_0x229a0f;return(_0x229a0f=(_0x57b112=(_0x485222=this[_0x1f9061(0x309)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x57b112['call'](_0x485222,_0x26d14b))!=null?_0x229a0f:_0x26d14b;}['_syncEditingCollabCursor'](_0x5f5bea){var _0x2e6a07=_0x5e85b0,_0x2937ee,_0x4a4406;if(this[_0x2e6a07(0x233)]===Q[_0x2e6a07(0x1dc)]){const {unitID:_0x114965,mutations:_0x3a1e22,memberID:_0x531dc4}=_0x5f5bea,_0x58b602=_0x3a1e22[0x0][_0x2e6a07(0x2d0)][_0x2e6a07(0x363)];Array['isArray'](_0x58b602)&&_0x58b602[_0x2e6a07(0x317)]>0x0&&((_0x4a4406=(_0x2937ee=this[_0x2e6a07(0x309)])[_0x2e6a07(0x204)])==null||_0x4a4406[_0x2e6a07(0x17e)](_0x2937ee,{'unitID':_0x114965,'memberID':_0x531dc4,'textRanges':_0x58b602}));}}['_updateLocalCache'](){var _0x5252fe=_0x5e85b0,_0x1c24e0;(_0x1c24e0=this[_0x5252fe(0x3f0)])==null||_0x1c24e0[_0x5252fe(0x1b1)](this[_0x5252fe(0x373)],this[_0x5252fe(0x233)],this[_0x5252fe(0x3a5)],this[_0x5252fe(0x29a)]);}[_0x5e85b0(0x302)](){var _0x5e659b=_0x5e85b0;return this[_0x5e659b(0x13c)][_0x5e659b(0x3bd)](this[_0x5e659b(0x373)]);}[_0x5e85b0(0x3e6)](){var _0x166be5=_0x5e85b0;this[_0x166be5(0x13c)][_0x166be5(0x19d)](this[_0x166be5(0x373)]);}['_executeRemoteChangeset'](_0x383898){var _0x4bd9a1=_0x5e85b0,_0x1dd2a0;let _0x3339c0=this[_0x4bd9a1(0x2bf)](_0x383898);_0x3339c0=this[_0x4bd9a1(0x411)](_0x3339c0);const _0x2f8c5=_0x437532(_0x3339c0[_0x4bd9a1(0x126)],this[_0x4bd9a1(0x336)],{'fromCollab':!0x0});if(!_0x2f8c5[_0x4bd9a1(0x385)])throw _0x2f8c5[_0x4bd9a1(0x371)]instanceof Error?_0x2f8c5[_0x4bd9a1(0x371)]:new Error((_0x1dd2a0=_0x2f8c5[_0x4bd9a1(0x371)])!=null?_0x1dd2a0:_0x4bd9a1(0x2af));this[_0x4bd9a1(0x1d9)](_0x3339c0),this[_0x4bd9a1(0x225)](_0x3339c0),this[_0x4bd9a1(0x391)](_0x383898),this[_0x4bd9a1(0x1fc)](_0x3339c0),this[_0x4bd9a1(0x24b)](_0x3339c0),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x9cbc9,_0x394937,_0xab27a3,_0x13377f,_0x7108f9,_0x12e2d5,_0x4fc6d1,_0x198670,_0x9b4092,_0xe6231f){var _0x2de3d3=_0x5e85b0;super(_0x9cbc9,_0x394937,null,[],_0xab27a3,_0x4fc6d1,_0x12e2d5,_0x13377f,_0xe6231f),N(this,'status',_0x2de3d3(0x347)),(this[_0x2de3d3(0x35f)]=_0x7108f9,this[_0x2de3d3(0x154)]=_0x198670,this[_0x2de3d3(0x129)]=_0x9b4092,this[_0x2de3d3(0x3d3)]=_0xe6231f);}[_0x5e85b0(0x1a7)](_0xf4a9cd){var _0x42bdab=_0x5e85b0;const _0x313b19=this[_0x42bdab(0x35f)]['createInstance'](ae,this['unitID'],this['type'],[_0xf4a9cd],this[_0x42bdab(0x309)]);return _0x313b19[_0x42bdab(0x331)](),_0x313b19[_0x42bdab(0x21d)](),_0x313b19;}[_0x5e85b0(0x191)](_0x3b49c8){var _0x593c89=_0x5e85b0;if(this[_0x593c89(0x269)](_0x3b49c8))return this[_0x593c89(0x35f)][_0x593c89(0x313)](ee,this[_0x593c89(0x373)],this['type'],null,[],null,[_0x3b49c8],this[_0x593c89(0x309)]);try{const _0x5d2349=this[_0x593c89(0x129)][_0x593c89(0x2a3)](_0x3b49c8,[ss]);if(_0x5ed7eb(_0x5d2349)){const {c1Prime:_0x3cc5f8}=_0x5d2349;return this['_executeRemoteChangeset'](_0x3cc5f8),this;}throw _0x5d2349[_0x593c89(0x371)];}catch(_0x3eda91){return this['_logService']['error'](_0x3eda91),this[_0x593c89(0x308)](!0x1);}}[_0x5e85b0(0x308)](_0x4227da){var _0x4adc8d=_0x5e85b0;return this[_0x4adc8d(0x35f)][_0x4adc8d(0x313)](ue,this[_0x4adc8d(0x373)],this[_0x4adc8d(0x233)],null,[],this[_0x4adc8d(0x309)],_0x4227da);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5e85b0(0x30c)](){var _0x41798a=_0x5e85b0;throw new Error(_0x41798a(0x26d));}[_0x5e85b0(0x379)](){return this;}[_0x5e85b0(0x2f4)](){var _0x2a6cd4=_0x5e85b0;return this[_0x2a6cd4(0x35f)][_0x2a6cd4(0x313)](de,this['unitID'],this['type'],null,[],this[_0x2a6cd4(0x309)]);}['toggleOnline'](){return this;}[_0x5e85b0(0x202)](){var _0x357cf2=_0x5e85b0;throw new Error(_0x357cf2(0x20e));}['fetchMiss'](){var _0x4c6de9=_0x5e85b0;const _0xf6c5ac=this[_0x4c6de9(0x13c)][_0x4c6de9(0x3bd)](this[_0x4c6de9(0x373)]);return this[_0x4c6de9(0x309)][_0x4c6de9(0x300)]({'from':_0xf6c5ac,'to':0x0}),this['_injector']['createInstance'](ee,this['unitID'],this[_0x4c6de9(0x233)],null,[],null,[],this[_0x4c6de9(0x309)]);}};Ne=Te([P(0x3,_0x4e6a0f(_0x57826d)),P(0x4,_0x4e6a0f(_0x2a76ad)),P(0x5,_0x1d308d),P(0x6,_0x1020e1),P(0x7,_0x4f17e2),P(0x8,_0x32e708),P(0x9,_0x8e5208(J))],Ne);let ae=class extends Ce{constructor(_0x20daec,_0x3028fb,_0x34d86e,_0x79c78a,_0x2dea33,_0x98cc8f,_0x2fd2ec,_0x2f9a0c,_0x1edc5d,_0x1f4c34,_0x4a62de,_0x3d0a44,_0x3378fe,_0x1d5e34){var _0x2bede4=_0x5e85b0;super(_0x20daec,_0x3028fb,null,_0x34d86e,_0x79c78a,_0x1edc5d,_0x3378fe,_0x98cc8f,_0x1d5e34),N(this,_0x2bede4(0x229),_0x2bede4(0x362)),N(this,_0x2bede4(0x3e7),null),N(this,_0x2bede4(0x3f7),null),(this[_0x2bede4(0x35f)]=_0x2dea33,this['_memberService']=_0x2fd2ec,this[_0x2bede4(0x154)]=_0x2f9a0c,this[_0x2bede4(0x161)]=_0x1f4c34,this[_0x2bede4(0x129)]=_0x4a62de,this['_univerInstanceService']=_0x3d0a44);}[_0x5e85b0(0x1a7)](_0x120d89){var _0x14ffee=_0x5e85b0;return this[_0x14ffee(0x29a)][_0x14ffee(0x1e3)](_0x120d89),this[_0x14ffee(0x21d)](),this;}[_0x5e85b0(0x191)](_0x34faa8){var _0x497db4=_0x5e85b0;if(this[_0x497db4(0x269)](_0x34faa8))return this[_0x497db4(0x2db)](),this[_0x497db4(0x35f)]['createInstance'](ee,this[_0x497db4(0x373)],this[_0x497db4(0x233)],null,this[_0x497db4(0x29a)],null,[_0x34faa8],this[_0x497db4(0x309)]);try{const _0x2ace49=this['_transformService'][_0x497db4(0x2a3)](_0x34faa8,this[_0x497db4(0x29a)]);if(_0x5ed7eb(_0x2ace49)){const {c1Prime:_0x5c7f84,m2Prime:_0x419ba1}=_0x2ace49;this[_0x497db4(0x264)](_0x5c7f84);const _0x21727f=this[_0x497db4(0x35f)]['createInstance'](ae,this[_0x497db4(0x373)],this[_0x497db4(0x233)],_0x419ba1,this[_0x497db4(0x309)]);this[_0x497db4(0x2db)]();const _0x906be2=new Date()[_0x497db4(0x173)](),_0x27856f=this[_0x497db4(0x3e7)]?Math[_0x497db4(0x395)](this['_scheduleCompleteTimestamp']-_0x906be2,0x0):this['_getSendChangesetTimeout']();return _0x21727f[_0x497db4(0x331)](_0x27856f),_0x21727f;}throw _0x2ace49[_0x497db4(0x371)];}catch(_0x12e5ab){return this[_0x497db4(0x154)][_0x497db4(0x371)](_0x12e5ab),this[_0x497db4(0x308)](!0x1);}}[_0x5e85b0(0x1b3)](){var _0x16ab8e=_0x5e85b0;throw new Error(_0x16ab8e(0x32b));}[_0x5e85b0(0x30c)](){var _0x4e4cfe=_0x5e85b0;throw new Error(_0x4e4cfe(0x19c));}[_0x5e85b0(0x379)](){return this;}[_0x5e85b0(0x2f4)](){var _0x4962e5=_0x5e85b0;return this[_0x4962e5(0x2db)](),this[_0x4962e5(0x35f)][_0x4962e5(0x313)](de,this[_0x4962e5(0x373)],this['type'],null,this[_0x4962e5(0x29a)],this[_0x4962e5(0x309)]);}[_0x5e85b0(0x24d)](){return this;}[_0x5e85b0(0x331)](_0x3a3868){var _0x2b5c21=_0x5e85b0;const _0x22e56b=_0x3a3868!=null?_0x3a3868:this[_0x2b5c21(0x14a)]();this[_0x2b5c21(0x3e7)]=new Date()[_0x2b5c21(0x173)]()+_0x22e56b,this[_0x2b5c21(0x3f7)]=setTimeout(()=>{var _0x565613=_0x2b5c21;this[_0x565613(0x2db)]();let _0x37625e=null;switch(this['type']){case Q[_0x565613(0x26b)]:{_0x37625e=qt(this[_0x565613(0x29a)],this[_0x565613(0x373)],this[_0x565613(0x396)],this[_0x565613(0x13c)],this[_0x565613(0x24c)]);break;}case Q[_0x565613(0x1dc)]:{this[_0x565613(0x29a)][_0x565613(0x167)](_0x4f50ee=>_0x4f50ee['id']===_0x25e173['id'])?_0x37625e=ns(this[_0x565613(0x29a)],this[_0x565613(0x373)],this[_0x565613(0x396)],this[_0x565613(0x13c)],this[_0x565613(0x24c)]):_0x37625e=qt(this[_0x565613(0x29a)],this[_0x565613(0x373)],this[_0x565613(0x396)],this[_0x565613(0x13c)],this[_0x565613(0x24c)]);break;}default:throw new Error(_0x565613(0x2d2)+this[_0x565613(0x233)]+_0x565613(0x3af));}const {changeset:_0x13ec18,pendingMutations:_0x31e18d}=_0x37625e;this['_handler']['onSendChangeset'](_0x13ec18);const _0x1e16ae=_0x31e18d[_0x565613(0x317)]?this['_injector'][_0x565613(0x313)](oe,this[_0x565613(0x373)],this[_0x565613(0x233)],_0x13ec18,_0x31e18d,this[_0x565613(0x309)],void 0x0):this[_0x565613(0x35f)][_0x565613(0x313)](le,this['unitID'],this[_0x565613(0x233)],_0x13ec18,this['_handler']);_0x1e16ae[_0x565613(0x21d)](),this[_0x565613(0x309)][_0x565613(0x2df)](this,_0x1e16ae);},_0x22e56b);}['_getSendChangesetTimeout'](){var _0x1c68e9=_0x5e85b0,_0x1a80ff;const _0x323e7a=this[_0x1c68e9(0x161)][_0x1c68e9(0x314)](q);return(_0x1a80ff=_0x323e7a==null?void 0x0:_0x323e7a[_0x1c68e9(0x176)])!=null?_0x1a80ff:En;}[_0x5e85b0(0x202)](){var _0x3fb98e=_0x5e85b0;throw new Error(_0x3fb98e(0x170));}[_0x5e85b0(0x2db)](){var _0x511062=_0x5e85b0;this['_sendingTimer']!=null&&(clearTimeout(this[_0x511062(0x3f7)]),this[_0x511062(0x3f7)]=null);}[_0x5e85b0(0x308)](_0x79e23c){var _0x39abf8=_0x5e85b0;return this['_clearScheduledTask'](),this[_0x39abf8(0x35f)]['createInstance'](ue,this[_0x39abf8(0x373)],this[_0x39abf8(0x233)],null,this[_0x39abf8(0x29a)],this[_0x39abf8(0x309)],_0x79e23c);}};ae=Te([P(0x4,_0x4e6a0f(_0x2a76ad)),P(0x5,_0x4e6a0f(_0x57826d)),P(0x6,_0x4e6a0f(Le)),P(0x7,_0x4f17e2),P(0x8,_0x1020e1),P(0x9,_0x57235c),P(0xa,_0x32e708),P(0xb,_0x187759),P(0xc,_0x1d308d),P(0xd,_0x8e5208(J))],ae);let le=class extends Ce{constructor(_0x216c3a,_0xde1a32,_0x3108cf,_0x296e65,_0x362f7e,_0x807540,_0x167a9c,_0x3a58fe,_0x189d38,_0x13bc86,_0x4c0c69){var _0x5555b9=_0x5e85b0;super(_0x216c3a,_0xde1a32,_0x3108cf,[],_0x296e65,_0x167a9c,_0x13bc86,_0x807540,_0x4c0c69),N(this,_0x5555b9(0x229),_0x5555b9(0x29b)),N(this,_0x5555b9(0x39c),0x0),N(this,_0x5555b9(0x397)),N(this,_0x5555b9(0x327)),(this[_0x5555b9(0x35f)]=_0x362f7e,this[_0x5555b9(0x154)]=_0x3a58fe,this[_0x5555b9(0x129)]=_0x189d38);}[_0x5e85b0(0x1a7)](_0x2e787b){var _0x199664=_0x5e85b0;this[_0x199664(0x2db)]();const _0x1cca00=this['_injector'][_0x199664(0x313)](oe,this[_0x199664(0x373)],this[_0x199664(0x233)],this[_0x199664(0x3a5)],[_0x2e787b],this[_0x199664(0x309)],this[_0x199664(0x397)]);return _0x1cca00[_0x199664(0x21d)](),_0x1cca00;}[_0x5e85b0(0x191)](_0x3c8760){var _0x4853e5=_0x5e85b0;if(this[_0x4853e5(0x269)](_0x3c8760))return this[_0x4853e5(0x2db)](),this[_0x4853e5(0x35f)][_0x4853e5(0x313)](ee,this[_0x4853e5(0x373)],this['type'],this[_0x4853e5(0x3a5)],[],null,[_0x3c8760],this[_0x4853e5(0x309)]);try{const _0x24ca97=this[_0x4853e5(0x129)][_0x4853e5(0x3a0)]([_0x3c8760],[this[_0x4853e5(0x3a5)]],!0x1);if(_0x4fb575(_0x24ca97)){const {c1Prime:_0x499b86,c2Prime:_0xe6723f}=_0x24ca97;this[_0x4853e5(0x264)](_0x499b86[0x0]),_0xe6723f[0x0][_0x4853e5(0x130)]=this['_getCurrentRevision'](),this[_0x4853e5(0x2db)]();const _0x4a0ff6=this['_injector'][_0x4853e5(0x313)](le,this[_0x4853e5(0x373)],this[_0x4853e5(0x233)],_0xe6723f[0x0],this[_0x4853e5(0x309)]);return _0x4a0ff6[_0x4853e5(0x21d)](),_0x4a0ff6;}return this['_onConflict'](!0x1);}catch(_0x47493d){return this[_0x4853e5(0x154)][_0x4853e5(0x371)](_0x47493d),this[_0x4853e5(0x308)](!0x1);}}[_0x5e85b0(0x1b3)](_0x54fe37){var _0x4b838e=_0x5e85b0;this[_0x4b838e(0x2db)]();const _0x5060dc=this['_revisionService'][_0x4b838e(0x3bd)](this[_0x4b838e(0x373)]);if(_0x54fe37[_0x4b838e(0x181)]<_0x5060dc-0x1)return this;if(this[_0x4b838e(0x269)](_0x54fe37))return this[_0x4b838e(0x35f)][_0x4b838e(0x313)](ee,this[_0x4b838e(0x373)],this['type'],null,[],this[_0x4b838e(0x3a5)],[],this[_0x4b838e(0x309)]);this['_incrementRevisionNumber']();const _0x131a60=this['_injector'][_0x4b838e(0x313)](Ne,this[_0x4b838e(0x373)],this[_0x4b838e(0x233)],this[_0x4b838e(0x309)]);return _0x131a60['_updateLocalCache'](),_0x131a60;}[_0x5e85b0(0x30c)](_0x41b7a3){var _0x48d6ec=_0x5e85b0;return this[_0x48d6ec(0x308)](!!(_0x41b7a3!=null&&_0x41b7a3['isPermissionRej']));}[_0x5e85b0(0x379)](_0x7e0739){var _0x588c64=_0x5e85b0;return this[_0x588c64(0x39c)]>Oi?this[_0x588c64(0x2f4)]():(this['_resendTimer']=Ri(this[_0x588c64(0x39c)],{'timeout':this[_0x588c64(0x39c)],'reqId':_0x7e0739['reqId']}),this[_0x588c64(0x327)]=this[_0x588c64(0x397)][_0x588c64(0x292)](({reqId:_0x294864,timeout:_0x151c23})=>{var _0xcd67cf=_0x588c64;this[_0xcd67cf(0x1a4)](_0x294864,_0x151c23);}),this);}['toggleOffline'](){var _0x1aef72=_0x5e85b0;return this[_0x1aef72(0x2db)](),this[_0x1aef72(0x35f)][_0x1aef72(0x313)](de,this[_0x1aef72(0x373)],this['type'],this[_0x1aef72(0x3a5)],[],this[_0x1aef72(0x309)]);}[_0x5e85b0(0x24d)](){return this;}[_0x5e85b0(0x202)](){var _0x1464d4=_0x5e85b0;this['_handler'][_0x1464d4(0x1ad)](this[_0x1464d4(0x3a5)]);}['_onConflict'](_0x4dc19d){var _0x2e6e6e=_0x5e85b0;return this['_clearScheduledTask'](),this['_injector'][_0x2e6e6e(0x313)](ue,this[_0x2e6e6e(0x373)],this[_0x2e6e6e(0x233)],this[_0x2e6e6e(0x3a5)],[],this[_0x2e6e6e(0x309)],_0x4dc19d);}[_0x5e85b0(0x1a4)](_0x332d18,_0x3fda38){var _0xbd9f91=_0x5e85b0,_0x1f7d86;_0x332d18===((_0x1f7d86=this['_awaitingChangeset'])==null?void 0x0:_0x1f7d86[_0xbd9f91(0x403)])&&(this[_0xbd9f91(0x202)](),this[_0xbd9f91(0x39c)]=_0x3fda38===0x0?0x3e8:_0x3fda38*0x2);}['_clearScheduledTask'](){var _0x4e9a46=_0x5e85b0,_0x2ce058;(_0x2ce058=this[_0x4e9a46(0x327)])==null||_0x2ce058[_0x4e9a46(0x247)](),this[_0x4e9a46(0x39c)]=0x0;}};le=Te([P(0x4,_0x4e6a0f(_0x2a76ad)),P(0x5,_0x4e6a0f(_0x57826d)),P(0x6,_0x1020e1),P(0x7,_0x4f17e2),P(0x8,_0x32e708),P(0x9,_0x1d308d),P(0xa,_0x8e5208(J))],le);let oe=class extends Ce{constructor(_0x5b5d55,_0x50225d,_0x21ebe5,_0x351086,_0x3a6c07,_0xb0ec19,_0x22d4b7,_0x366d7f,_0x21411a,_0x2fe550,_0x125733,_0x57f012,_0x543464){var _0x364073=_0x5e85b0;super(_0x5b5d55,_0x50225d,_0x21ebe5,_0x351086,_0x3a6c07,_0x21411a,_0x57f012,_0x366d7f,_0x543464),N(this,_0x364073(0x229),_0x364073(0x1db)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x364073(0x327)),(this[_0x364073(0x35f)]=_0x22d4b7,this[_0x364073(0x154)]=_0x2fe550,this[_0x364073(0x129)]=_0x125733,this[_0x364073(0x3d3)]=_0x543464,_0xb0ec19&&(this[_0x364073(0x397)]=_0xb0ec19,this['_sender']=this[_0x364073(0x397)][_0x364073(0x292)](({reqId:_0x3a6567,timeout:_0x4a53eb})=>{var _0x1278bb=_0x364073;this[_0x1278bb(0x1a4)](_0x3a6567,_0x4a53eb);})));}[_0x5e85b0(0x1a7)](_0x195369){var _0x730082=_0x5e85b0;return this[_0x730082(0x29a)][_0x730082(0x1e3)](_0x195369),this;}[_0x5e85b0(0x191)](_0x531e8a){var _0x5ec9ed=_0x5e85b0;if(this[_0x5ec9ed(0x269)](_0x531e8a))return this['_clearScheduledTask'](),this[_0x5ec9ed(0x35f)]['createInstance'](ee,this[_0x5ec9ed(0x373)],this[_0x5ec9ed(0x233)],this[_0x5ec9ed(0x3a5)],this[_0x5ec9ed(0x29a)],null,[_0x531e8a],this[_0x5ec9ed(0x309)]);try{const _0x33d1ab=this[_0x5ec9ed(0x129)][_0x5ec9ed(0x3a0)]([_0x531e8a],[this['_awaitingChangeset']],!0x1);if(_0x4fb575(_0x33d1ab)){const {c1Prime:_0x53ada7,c2Prime:_0x147e79}=_0x33d1ab,_0x1b7f36=this[_0x5ec9ed(0x129)]['transformMutationsWithChangeset'](_0x53ada7[0x0],this[_0x5ec9ed(0x29a)]);if(_0x5ed7eb(_0x1b7f36)){const {c1Prime:_0x3f39ed,m2Prime:_0x35ef91}=_0x1b7f36;return this['_executeRemoteChangeset'](_0x3f39ed),_0x147e79[0x0][_0x5ec9ed(0x130)]=this[_0x5ec9ed(0x302)](),this[_0x5ec9ed(0x2db)](),this['_injector']['createInstance'](oe,this[_0x5ec9ed(0x373)],this[_0x5ec9ed(0x233)],_0x147e79[0x0],_0x35ef91,this[_0x5ec9ed(0x309)],void 0x0);}throw _0x1b7f36[_0x5ec9ed(0x371)];}throw _0x33d1ab[_0x5ec9ed(0x371)];}catch(_0x4a136c){return this[_0x5ec9ed(0x154)]['error'](_0x4a136c),this[_0x5ec9ed(0x308)](!0x1);}}[_0x5e85b0(0x1b3)](_0x30bc11){var _0x5ed874=_0x5e85b0;if(this[_0x5ed874(0x2db)](),this[_0x5ed874(0x269)](_0x30bc11))return this[_0x5ed874(0x35f)]['createInstance'](ee,this[_0x5ed874(0x373)],this[_0x5ed874(0x233)],null,this[_0x5ed874(0x29a)],this[_0x5ed874(0x3a5)],[],this[_0x5ed874(0x309)]);this[_0x5ed874(0x3e6)]();const _0x68f939=this[_0x5ed874(0x35f)][_0x5ed874(0x313)](ae,this[_0x5ed874(0x373)],this[_0x5ed874(0x233)],this[_0x5ed874(0x29a)],this['_handler']);return _0x68f939[_0x5ed874(0x331)](),_0x68f939[_0x5ed874(0x21d)](),_0x68f939;}[_0x5e85b0(0x30c)](_0x19aacb){var _0x412437=_0x5e85b0;return this['_onConflict'](!!(_0x19aacb!=null&&_0x19aacb[_0x412437(0x2eb)]));}[_0x5e85b0(0x379)](_0x5e71c3){var _0x53f628=_0x5e85b0;return this[_0x53f628(0x39c)]>Oi?this[_0x53f628(0x2f4)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x53f628(0x39c)],'reqId':_0x5e71c3['reqId']}),this[_0x53f628(0x327)]=this[_0x53f628(0x397)][_0x53f628(0x292)](({reqId:_0x4b3c66,timeout:_0x29b5d8})=>{var _0x3f5460=_0x53f628;this[_0x3f5460(0x1a4)](_0x4b3c66,_0x29b5d8);}),this);}[_0x5e85b0(0x2f4)](){var _0x37139c=_0x5e85b0;return this[_0x37139c(0x2db)](),this['_injector'][_0x37139c(0x313)](de,this[_0x37139c(0x373)],this[_0x37139c(0x233)],this['_awaitingChangeset'],this[_0x37139c(0x29a)],this[_0x37139c(0x309)]);}[_0x5e85b0(0x24d)](){return this;}[_0x5e85b0(0x202)](){var _0x2c54c0=_0x5e85b0;this[_0x2c54c0(0x309)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5e85b0(0x308)](_0x14d464){var _0x37edf9=_0x5e85b0;return this[_0x37edf9(0x2db)](),this[_0x37edf9(0x35f)]['createInstance'](ue,this['unitID'],this[_0x37edf9(0x233)],null,this['_pendingMutations'],this['_handler'],_0x14d464);}[_0x5e85b0(0x1a4)](_0x6816bd,_0x758b27){var _0x151b67=_0x5e85b0,_0x7aa29e;_0x6816bd===((_0x7aa29e=this[_0x151b67(0x3a5)])==null?void 0x0:_0x7aa29e[_0x151b67(0x403)])&&(this[_0x151b67(0x202)](),this[_0x151b67(0x39c)]=_0x758b27===0x0?0x3e8:_0x758b27*0x2);}[_0x5e85b0(0x2db)](){var _0x5a2c43=_0x5e85b0,_0x5db973;(_0x5db973=this[_0x5a2c43(0x327)])==null||_0x5db973[_0x5a2c43(0x247)](),this[_0x5a2c43(0x39c)]=0x0;}};oe=Te([P(0x6,_0x4e6a0f(_0x2a76ad)),P(0x7,_0x4e6a0f(_0x57826d)),P(0x8,_0x1020e1),P(0x9,_0x4f17e2),P(0xa,_0x32e708),P(0xb,_0x1d308d),P(0xc,_0x8e5208(J))],oe);let ue=class extends Ce{constructor(_0x10277b,_0x1e049b,_0x16bd58,_0x507df9,_0x5aba16,_0x37559c=!0x1,_0x265a55,_0x43f1c9,_0x2befa0,_0x42b2b0,_0x55919c,_0x3fc0d9,_0x20d4e2){var _0x58f2bc=_0x5e85b0;super(_0x10277b,_0x1e049b,_0x16bd58,_0x507df9,_0x5aba16,_0x43f1c9,_0x2befa0,_0x42b2b0,_0x20d4e2),N(this,_0x58f2bc(0x229),_0x58f2bc(0x36d)),(this[_0x58f2bc(0x12e)]=_0x37559c,this[_0x58f2bc(0x190)]=_0x265a55,this[_0x58f2bc(0x198)]=_0x55919c,this['_collaborationUIEventService']=_0x3fc0d9,this['localCacheService']=_0x20d4e2,this[_0x58f2bc(0x276)](),this[_0x58f2bc(0x23a)](),this['_disableEditing']());}[_0x5e85b0(0x1a7)](){return this;}[_0x5e85b0(0x191)](){return this;}[_0x5e85b0(0x1b3)](){return this;}[_0x5e85b0(0x30c)](){return this;}[_0x5e85b0(0x379)](){return this;}[_0x5e85b0(0x2f4)](){return this;}['toggleOnline'](){return this;}[_0x5e85b0(0x202)](){var _0x396ad4=_0x5e85b0;throw new Error(_0x396ad4(0x330));}[_0x5e85b0(0x23a)](){var _0x2fb4b2=_0x5e85b0,_0x40c15a;(_0x40c15a=this[_0x2fb4b2(0x3f0)])==null||_0x40c15a[_0x2fb4b2(0x1b1)](this[_0x2fb4b2(0x373)],this['type'],null,[]);}[_0x5e85b0(0x276)](){var _0x5e158f=_0x5e85b0;this[_0x5e158f(0x12e)]?this[_0x5e158f(0x262)][_0x5e158f(0x258)]({'id':re[_0x5e158f(0x1a3)]}):this[_0x5e158f(0x262)]['emitEvent']({'id':re[_0x5e158f(0x16d)]});}['_disableEditing'](){var _0x50414b=_0x5e85b0;this[_0x50414b(0x190)][_0x50414b(0x150)](new _0x3c0caf(this[_0x50414b(0x373)])['id'],!0x1);}};ue=Te([P(0x6,_0x4e6a0f(_0xfde829)),P(0x7,_0x1020e1),P(0x8,_0x1d308d),P(0x9,_0x4e6a0f(_0x57826d)),P(0xa,_0x4e6a0f(_0x4ff38c)),P(0xb,_0x4e6a0f(pe)),P(0xc,_0x8e5208(J))],ue);let de=class extends Ce{constructor(_0x475df0,_0x2d1e6e,_0xb25c5b,_0x4e0d0b,_0x456229,_0x53e7b3,_0x5d1bba,_0x584bfa,_0x753464,_0x551c9a){var _0x435ec6=_0x5e85b0;super(_0x475df0,_0x2d1e6e,_0xb25c5b,_0x4e0d0b,_0x456229,_0x584bfa,_0x753464,_0x5d1bba,_0x551c9a),N(this,'status',_0x435ec6(0x236)),this['_injector']=_0x53e7b3;}['appendMutation'](_0x393f63){var _0x3d6b0e=_0x5e85b0;return this[_0x3d6b0e(0x29a)]['push'](_0x393f63),this[_0x3d6b0e(0x21d)](),this;}[_0x5e85b0(0x191)](_0x578df5){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x237302=_0x5e85b0;throw new Error(_0x237302(0x172));}[_0x5e85b0(0x30c)](){var _0x19510b=_0x5e85b0;throw new Error(_0x19510b(0x184));}[_0x5e85b0(0x379)](){return this;}[_0x5e85b0(0x2f4)](){return this;}['toggleOnline'](){var _0x49d950=_0x5e85b0;const {_injector:_0x4ba171,_pendingMutations:_0x14400b,_awaitingChangeset:_0x556b97,unitID:_0x536739,_handler:_0x49706c,type:_0x42d71d}=this,_0x203670=yi(_0x4ba171,_0x536739,_0x42d71d,_0x556b97,_0x14400b,_0x49706c);return _0x203670 instanceof ae?_0x203670['_schedule']():(_0x203670 instanceof oe||_0x203670 instanceof le)&&_0x203670[_0x49d950(0x202)](),_0x203670;}[_0x5e85b0(0x202)](){var _0x331d9c=_0x5e85b0;throw new Error(_0x331d9c(0x2f6));}};de=Te([P(0x5,_0x4e6a0f(_0x2a76ad)),P(0x6,_0x4e6a0f(_0x57826d)),P(0x7,_0x1020e1),P(0x8,_0x1d308d),P(0x9,_0x8e5208(J))],de);let ee=class extends Ce{constructor(_0x81404d,_0x458e39,_0x3c9c82,_0x308a66,_0x3d0cb2,_0x29bed2,_0x485717,_0x58fb5d,_0x5e8ee4,_0x563082,_0xa9ca11,_0x433ad4,_0x237e3d,_0x4beb01){var _0x198f36=_0x5e85b0;super(_0x81404d,_0x458e39,_0x3c9c82,_0x308a66,_0x485717,_0xa9ca11,_0x433ad4,_0x5e8ee4,_0x4beb01),N(this,_0x198f36(0x229),_0x198f36(0x3aa)),(this[_0x198f36(0x2cb)]=_0x3d0cb2,this[_0x198f36(0x30a)]=_0x29bed2,this[_0x198f36(0x35f)]=_0x58fb5d,this['_logService']=_0x563082,this[_0x198f36(0x129)]=_0x237e3d,this[_0x198f36(0x3d3)]=_0x4beb01);}['onMissedChangesetFetched'](_0x528564){var _0x14af6c=_0x5e85b0;try{const _0x128065=[..._0x528564,...this['_queuedRemoteChangesets']],_0xdefda8=[this[_0x14af6c(0x3a5)]||this[_0x14af6c(0x2cb)]][_0x14af6c(0x3c6)](_0x1f55c8=>!!_0x1f55c8);let _0x15f10f,_0x1e6b22;if(_0xdefda8[_0x14af6c(0x317)]){const _0x556081=this[_0x14af6c(0x129)][_0x14af6c(0x3a0)](_0x128065,_0xdefda8,!0x1);if(!_0x4fb575(_0x556081))throw _0x556081[_0x14af6c(0x371)];_0x15f10f=_0x556081[_0x14af6c(0x1ca)],_0x1e6b22=_0x556081['c2Prime'];}else _0x15f10f=_0x128065,_0x1e6b22=[];let _0x42ac33=this[_0x14af6c(0x29a)];_0x15f10f[_0x14af6c(0x1b4)](_0x16ee8a=>{var _0x5407dc=_0x14af6c;let _0x5eccc7;if(_0x42ac33[_0x5407dc(0x317)]){const _0x2d3251=this[_0x5407dc(0x129)][_0x5407dc(0x2a3)](_0x16ee8a,_0x42ac33);if(!_0x5ed7eb(_0x2d3251))throw _0x2d3251[_0x5407dc(0x371)];_0x5eccc7=_0x2d3251[_0x5407dc(0x1ca)],_0x42ac33=_0x2d3251[_0x5407dc(0x1e5)];}else _0x5eccc7=_0x16ee8a;this[_0x5407dc(0x264)](_0x5eccc7);}),this[_0x14af6c(0x2cb)]&&this['_incrementRevisionNumber'](),this[_0x14af6c(0x3a5)]&&_0x1e6b22[_0x14af6c(0x317)]&&(_0x1e6b22[0x0][_0x14af6c(0x130)]=this['_getCurrentRevision']());let _0x4f66a5;if(this['_awaitingChangeset']&&_0x42ac33[_0x14af6c(0x317)]!==0x0)_0x4f66a5=this['_injector'][_0x14af6c(0x313)](oe,this[_0x14af6c(0x373)],this['type'],_0x1e6b22[0x0],_0x42ac33,this[_0x14af6c(0x309)],void 0x0);else{if(this[_0x14af6c(0x3a5)]&&_0x42ac33[_0x14af6c(0x317)]===0x0)_0x1e6b22[0x0]['baseRev']=this[_0x14af6c(0x302)](),_0x4f66a5=this[_0x14af6c(0x35f)][_0x14af6c(0x313)](le,this['unitID'],this[_0x14af6c(0x233)],_0x1e6b22[0x0],this[_0x14af6c(0x309)]);else{if(_0x42ac33[_0x14af6c(0x317)]!==0x0){const _0x88342=this[_0x14af6c(0x35f)][_0x14af6c(0x313)](ae,this[_0x14af6c(0x373)],this[_0x14af6c(0x233)],_0x42ac33,this['_handler']);_0x88342[_0x14af6c(0x331)](),_0x4f66a5=_0x88342;}else _0x4f66a5=this['_injector'][_0x14af6c(0x313)](Ne,this[_0x14af6c(0x373)],this['type'],this[_0x14af6c(0x309)]);}}return _0x4f66a5[_0x14af6c(0x21d)](),_0x4f66a5;}catch(_0x44b66f){return this[_0x14af6c(0x154)][_0x14af6c(0x371)](_0x14af6c(0x1bc),_0x14af6c(0x348),_0x44b66f),this['_injector'][_0x14af6c(0x313)](ue,this[_0x14af6c(0x373)],this[_0x14af6c(0x233)],this['_awaitingChangeset'],this[_0x14af6c(0x29a)],this[_0x14af6c(0x309)],!0x1);}}[_0x5e85b0(0x202)](){var _0x37e2fd=_0x5e85b0;throw new Error(_0x37e2fd(0x3e9));}['appendMutation'](_0x29c90b){var _0x25e8a8=_0x5e85b0;return this[_0x25e8a8(0x29a)][_0x25e8a8(0x1e3)](_0x29c90b),this;}[_0x5e85b0(0x191)](_0x3d5b72){var _0x30aa78=_0x5e85b0;return this[_0x30aa78(0x30a)]['push'](_0x3d5b72),this;}[_0x5e85b0(0x1b3)](_0x1c32b3){var _0x4f5b31=_0x5e85b0;if(this['_awaitingChangeset'])return this[_0x4f5b31(0x2cb)]=this[_0x4f5b31(0x3a5)],this[_0x4f5b31(0x3a5)]=null,this;throw new Error(_0x4f5b31(0x2c9));}['onRemoteRej'](_0x3aed95){var _0x4bb1eb=_0x5e85b0;return this[_0x4bb1eb(0x308)](!!(_0x3aed95!=null&&_0x3aed95[_0x4bb1eb(0x2eb)]));}[_0x5e85b0(0x379)](){return this;}['toggleOffline'](){var _0x400a45=_0x5e85b0;return this[_0x400a45(0x35f)]['createInstance'](de,this[_0x400a45(0x373)],this[_0x400a45(0x233)],this[_0x400a45(0x3a5)],this['_pendingMutations'],this['_handler']);}[_0x5e85b0(0x24d)](){return this;}['_onConflict'](_0x39c4fb){var _0x42dfd5=_0x5e85b0;return this[_0x42dfd5(0x35f)][_0x42dfd5(0x313)](ue,this['unitID'],this[_0x42dfd5(0x233)],this[_0x42dfd5(0x3a5)],this[_0x42dfd5(0x29a)],this[_0x42dfd5(0x309)],_0x39c4fb);}};ee=Te([P(0x7,_0x4e6a0f(_0x2a76ad)),P(0x8,_0x4e6a0f(_0x57826d)),P(0x9,_0x4f17e2),P(0xa,_0x1020e1),P(0xb,_0x1d308d),P(0xc,_0x32e708),P(0xd,_0x8e5208(J))],ee);function yi(_0x1a4229,_0x487544,_0x4b83a2,_0x26f745,_0x14d6b8,_0x50ccc8){var _0x36f8e1=_0x5e85b0;return _0x26f745&&_0x14d6b8[_0x36f8e1(0x317)]?_0x1a4229[_0x36f8e1(0x313)](oe,_0x487544,_0x4b83a2,_0x26f745,_0x14d6b8,_0x50ccc8,void 0x0):_0x26f745?_0x1a4229[_0x36f8e1(0x313)](le,_0x487544,_0x4b83a2,_0x26f745,_0x50ccc8):_0x14d6b8[_0x36f8e1(0x317)]?_0x1a4229[_0x36f8e1(0x313)](ae,_0x487544,_0x4b83a2,_0x14d6b8,_0x50ccc8):_0x1a4229[_0x36f8e1(0x313)](Ne,_0x487544,_0x4b83a2,_0x50ccc8);}var as=Object[_0x5e85b0(0x3b0)],Lt=(_0x44986d,_0xf4185b,_0x5e44e0,_0x528a83)=>{for(var _0xb27f83=_0x528a83>0x1?void 0x0:_0x528a83?as(_0xf4185b,_0x5e44e0):_0xf4185b,_0x20b53a=_0x44986d['length']-0x1,_0x149629;_0x20b53a>=0x0;_0x20b53a--)(_0x149629=_0x44986d[_0x20b53a])&&(_0xb27f83=_0x149629(_0xb27f83)||_0xb27f83);return _0xb27f83;},H=(_0xbe674,_0x1fe142)=>(_0x86f0ca,_0x18fa50)=>_0x1fe142(_0x86f0ca,_0x18fa50,_0xbe674);let nt=class extends _0x5d06b1{constructor(_0x4aab1e,_0x57ac46,_0x450106,_0x150b0b,_0x51ec4a,_0x319fcc,_0x59778b,_0xa5051c,_0xb163b8,_0x1f6f29,_0xf6a9fa,_0x2099ca,_0x2d1b70){var _0x48f276=_0x5e85b0;super(),N(this,'_state$',new _0x5a2e2c(null)),N(this,_0x48f276(0x2ca),this[_0x48f276(0x2e4)][_0x48f276(0x175)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,_0x48f276(0x407),''),N(this,_0x48f276(0x315),0x0),N(this,_0x48f276(0x2b3),this[_0x48f276(0x2ca)][_0x48f276(0x2c0)](_0x107ff5(_0x3fec28=>_0x3fec28?_0x3fec28['status']:bi['OFFLINE']),_0x217924(0x1))),N(this,_0x48f276(0x1c6),!0x1),N(this,_0x48f276(0x1d0),[]),(this[_0x48f276(0x373)]=_0x4aab1e,this[_0x48f276(0x133)]=_0x57ac46,this[_0x48f276(0x280)]=_0x450106,this[_0x48f276(0x35f)]=_0x150b0b,this['_compressMutationService']=_0x51ec4a,this[_0x48f276(0x198)]=_0x319fcc,this[_0x48f276(0x13c)]=_0x59778b,this[_0x48f276(0x261)]=_0xa5051c,this[_0x48f276(0x154)]=_0xb163b8,this[_0x48f276(0x336)]=_0x1f6f29,this[_0x48f276(0x190)]=_0xf6a9fa,this[_0x48f276(0x259)]=_0x2099ca,this[_0x48f276(0x3f0)]=_0x2d1b70);}get[_0x5e85b0(0x2ae)](){var _0x1383f8=_0x5e85b0;return this[_0x1383f8(0x1cd)];}async[_0x5e85b0(0x1a5)](){var _0x261cfa=_0x5e85b0;if(this[_0x261cfa(0x2ae)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x5e85b0(0x1aa)](){var _0x507a6a=_0x5e85b0;return this[_0x507a6a(0x352)]=!0x0,_0x50f250(()=>{var _0x1f1591=_0x507a6a;this[_0x1f1591(0x352)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5e85b0(0x3c3)](_0x58f21a){var _0x464cb5=_0x5e85b0;this[_0x464cb5(0x1be)](_0x58f21a);}['_updateState'](_0x3e8515){var _0x154356=_0x5e85b0;this['_state']=_0x3e8515,this[_0x154356(0x2e4)][_0x154356(0x2ce)](_0x3e8515);}async[_0x5e85b0(0x3e5)](){var _0x2d22d3=_0x5e85b0,_0x33d84d;this['_updateState'](await this['_createInitialState']()),this[_0x2d22d3(0x259)]&&((_0x33d84d=this[_0x2d22d3(0x259)])==null||_0x33d84d[_0x2d22d3(0x18a)](this[_0x2d22d3(0x373)]),this[_0x2d22d3(0x1d4)](this[_0x2d22d3(0x259)][_0x2d22d3(0x1fe)](this[_0x2d22d3(0x373)])[_0x2d22d3(0x292)](_0x43336a=>{var _0x2d891d=_0x2d22d3;this['_logService'][_0x2d891d(0x156)](_0x2d891d(0x2fa),_0x2d891d(0x32d),_0x43336a),_0x43336a===Ci[_0x2d891d(0x22b)]?(this[_0x2d891d(0x261)]['emitEvent']({'id':re[_0x2d891d(0x21a)]}),this[_0x2d891d(0x190)][_0x2d891d(0x150)](new _0x3c0caf(this[_0x2d891d(0x373)])['id'],!0x1),this[_0x2d891d(0x190)][_0x2d891d(0x38a)](!0x1)):(this['_permissionService'][_0x2d891d(0x150)](new _0x3c0caf(this[_0x2d891d(0x373)])['id'],!0x0),this[_0x2d891d(0x190)]['setShowComponents'](!0x0));})));let _0xeb52ba=!0x1;return this[_0x2d22d3(0x1d4)](this[_0x2d22d3(0x133)][_0x2d22d3(0x3a8)][_0x2d22d3(0x292)](_0x442d79=>{var _0x2bdb74=_0x2d22d3;_0x442d79===Ee[_0x2bdb74(0x267)]?this[_0x2bdb74(0x1d6)](_0xeb52ba):_0x442d79===Ee[_0x2bdb74(0x27b)]&&(_0xeb52ba=!0x0,this[_0x2bdb74(0x2e2)]());})),this[_0x2d22d3(0x1d4)](this[_0x2d22d3(0x133)][_0x2d22d3(0x412)]['subscribe'](_0x243616=>{var _0x4772c5=_0x2d22d3;try{switch(_0x243616[_0x4772c5(0x388)]){case _0x5d967f[_0x4772c5(0x3d1)]:{this[_0x4772c5(0x2d4)](_0x183a67(_0x243616[_0x4772c5(0x401)]));break;}case _0x5d967f[_0x4772c5(0x37d)]:{this['_onRemoteACK'](_0x243616[_0x4772c5(0x401)]);break;}case _0x5d967f['CHANGESET_REJ']:{this[_0x4772c5(0x416)]();break;}case _0x5d967f[_0x4772c5(0x163)]:{this['_onRemoteRetry'](_0x243616[_0x4772c5(0x401)]);break;}case _0x5d967f['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4772c5(0x1eb)](_0x243616[_0x4772c5(0x401)][_0x4772c5(0x1e6)][_0x4772c5(0x3bf)](_0x430d46=>_0x183a67(_0x430d46)));break;}case _0x5d967f[_0x4772c5(0x2e6)]:{this[_0x4772c5(0x416)]({'isPermissionRej':!0x0});break;}case _0x5d967f['UNISCRIPT_RUN']:break;}}catch(_0x21a671){throw console[_0x4772c5(0x371)]('Error\x20on\x20receiving\x20event',_0x21a671),_0x21a671;}})),this[_0x2d22d3(0x1cd)];}[_0x5e85b0(0x31c)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x3f7a93=_0x5e85b0;if(this['_transitionLocked'])throw new Error(_0x3f7a93(0x17d));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x12ef54){var _0x196827=_0x5e85b0;this['_lockTransition'](),this[_0x196827(0x28e)](this['_state']['appendMutation'](_0x12ef54)),this[_0x196827(0x31c)]();}[_0x5e85b0(0x2d4)](_0x509104){var _0x307760=_0x5e85b0;if(!(_0x509104[_0x307760(0x181)]<=this[_0x307760(0x13c)][_0x307760(0x3bd)](this[_0x307760(0x373)]))){if(this[_0x307760(0x352)]){this['_remoteChangesetQueue'][_0x307760(0x1e3)](_0x509104);return;}this[_0x307760(0x3da)](_0x509104);}}[_0x5e85b0(0x177)](){var _0x2415ff=_0x5e85b0;this[_0x2415ff(0x1d0)][_0x2415ff(0x1b4)](_0x3f273d=>this[_0x2415ff(0x3da)](_0x3f273d)),this[_0x2415ff(0x1d0)]=[];}[_0x5e85b0(0x3da)](_0x5709cc){var _0x1a80cd=_0x5e85b0;const _0x1a38c8=this[_0x1a80cd(0x26a)][_0x1a80cd(0x342)]['fetchThroughInterceptors'](this[_0x1a80cd(0x26a)][_0x1a80cd(0x342)][_0x1a80cd(0x16a)]()[_0x1a80cd(0x217)])(_0x5709cc[_0x1a80cd(0x126)],null)||_0x5709cc[_0x1a80cd(0x126)],_0x30306b={..._0x5709cc,'mutations':_0x1a38c8};this[_0x1a80cd(0x3bb)](),this[_0x1a80cd(0x28e)](this['_state'][_0x1a80cd(0x191)](_0x30306b)),this['_unlockTransition']();}[_0x5e85b0(0x3f4)](_0x6957b0){var _0x6cb37b=_0x5e85b0;this[_0x6cb37b(0x3bb)](),this[_0x6cb37b(0x28e)](this[_0x6cb37b(0x1cd)][_0x6cb37b(0x1b3)](_0x6957b0)),this[_0x6cb37b(0x31c)]();}[_0x5e85b0(0x416)](_0x4b1ca9){var _0x101d64=_0x5e85b0;this['_lockTransition'](),this[_0x101d64(0x28e)](this[_0x101d64(0x1cd)][_0x101d64(0x30c)](_0x4b1ca9)),this[_0x101d64(0x31c)]();}[_0x5e85b0(0x1e7)](_0x2e080a){var _0x324998=_0x5e85b0;this[_0x324998(0x3bb)](),this[_0x324998(0x28e)](this['_state'][_0x324998(0x379)](_0x2e080a)),this[_0x324998(0x31c)]();}['_onFetchMissResult'](_0x467b60){var _0x6d9d6=_0x5e85b0;if(!(this[_0x6d9d6(0x1cd)]instanceof ee))throw new TypeError(_0x6d9d6(0x151));const _0x30a780=_0x467b60[_0x6d9d6(0x3bf)](_0x497ed8=>{var _0x5946be=_0x6d9d6;const _0x13fbf1=this[_0x5946be(0x26a)][_0x5946be(0x342)][_0x5946be(0x334)](this[_0x5946be(0x26a)][_0x5946be(0x342)][_0x5946be(0x16a)]()[_0x5946be(0x217)])(_0x497ed8[_0x5946be(0x126)],null)||_0x497ed8[_0x5946be(0x126)];return{..._0x497ed8,'mutations':_0x13fbf1};});this[_0x6d9d6(0x3bb)](),this[_0x6d9d6(0x28e)](this[_0x6d9d6(0x1cd)][_0x6d9d6(0x1c9)](_0x30a780)),this['_unlockTransition']();}[_0x5e85b0(0x2e2)](){var _0x5418ee=_0x5e85b0;this[_0x5418ee(0x3bb)](),this[_0x5418ee(0x28e)](this[_0x5418ee(0x1cd)][_0x5418ee(0x2f4)]()),this[_0x5418ee(0x31c)]();}[_0x5e85b0(0x1d6)](_0x2d030c=!0x1){var _0x3c3fab=_0x5e85b0;this[_0x3c3fab(0x3bb)](),this['_updateState'](this['_state'][_0x3c3fab(0x24d)]()),this[_0x3c3fab(0x31c)]();const _0x5128a7=this['_state'];_0x2d030c&&_0x5128a7 instanceof Ne&&(this[_0x3c3fab(0x3bb)](),this['_updateState'](_0x5128a7['fetchMiss']()),this[_0x3c3fab(0x31c)]());}async[_0x5e85b0(0x3fc)](){return new Promise(_0x32922d=>{var _0x26289b=_0x30b8;this[_0x26289b(0x133)][_0x26289b(0x3a8)][_0x26289b(0x2c0)](_0x27b4b5(0x1))['subscribe'](async _0x16dd77=>{var _0x4c326d=_0x26289b;_0x32922d(await this[_0x4c326d(0x2b6)](_0x16dd77===Ee['ONLINE']));});});}[_0x5e85b0(0x24a)](){const _0x482ad6=this['unitID'];return{'onStateChange':(_0x367eed,_0x5365ad)=>{var _0x2b9227=_0x30b8;if(_0x367eed!==this['_state'])throw new Error(_0x2b9227(0x179)+_0x367eed[_0x2b9227(0x229)]+_0x2b9227(0x2a0)+_0x5365ad[_0x2b9227(0x229)]+_0x2b9227(0x3ad)+this['_state'][_0x2b9227(0x229)]);this[_0x2b9227(0x28e)](_0x5365ad);},'onSendChangeset':_0x21a623=>{var _0x427f98=_0x30b8;_0x21a623['sid']||(_0x21a623['sid']=this[_0x427f98(0x407)],_0x21a623['reqId']=++this[_0x427f98(0x315)]);const _0xb7113a={'eventID':_0x5d967f['SUBMIT_CHANGESET'],'data':{'unitID':_0x21a623[_0x427f98(0x373)],'unitType':this['_type'],'changeset':_0x21a623,'memberID':this[_0x427f98(0x133)][_0x427f98(0x263)]()}};this['session']['send'](_0xb7113a,this[_0x427f98(0x373)]);},'onMissingChangesets':({from:_0x52c7e2,to:_0x4c864e})=>{var _0x560565=_0x30b8;this[_0x560565(0x154)][_0x560565(0x156)](_0x560565(0x2fa),_0x560565(0x3f6)+_0x52c7e2+'\x20to\x20'+_0x4c864e);const _0x32409b={'eventID':_0x5d967f['FETCH_MISSING'],'data':{'unitID':_0x482ad6,'unitType':this[_0x560565(0x280)],'from':_0x52c7e2,'to':_0x4c864e}};this['session']['send'](_0x32409b,this['unitID']);}};}async[_0x5e85b0(0x2b6)](_0x20c43f){var _0x1c8523=_0x5e85b0,_0x1590e2,_0x5b4e51,_0x344e3e;const _0x1c299f=await((_0x1590e2=this[_0x1c8523(0x3f0)])==null?void 0x0:_0x1590e2[_0x1c8523(0x2e1)](this[_0x1c8523(0x373)])),_0xbb94b8=(_0x5b4e51=_0x1c299f==null?void 0x0:_0x1c299f[_0x1c8523(0x126)])!=null?_0x5b4e51:[],_0x4c5039=(_0x344e3e=_0x1c299f==null?void 0x0:_0x1c299f[_0x1c8523(0x2cd)])!=null?_0x344e3e:null,_0x19ab05=!!(_0x4c5039!=null&&_0x4c5039['sid'])&&!!(_0x4c5039!=null&&_0x4c5039[_0x1c8523(0x403)]);this[_0x1c8523(0x407)]=_0x19ab05?_0x4c5039[_0x1c8523(0x39e)]:Zn(),this[_0x1c8523(0x315)]=_0x19ab05?_0x4c5039[_0x1c8523(0x403)]:0x0;const _0x2a4c79=this[_0x1c8523(0x373)];try{this['_replayCachedMutations'](_0x4c5039,_0xbb94b8);}catch(_0x15f0b9){this[_0x1c8523(0x154)][_0x1c8523(0x371)](_0x15f0b9);}const _0x45692e=this[_0x1c8523(0x24a)]();if(_0x20c43f){const _0x4b171a=yi(this['_injector'],_0x2a4c79,this[_0x1c8523(0x280)],_0x4c5039,_0xbb94b8,_0x45692e);return _0x4b171a instanceof ae?_0x4b171a[_0x1c8523(0x331)]():(_0x4b171a instanceof oe||_0x4b171a instanceof le)&&_0x4b171a[_0x1c8523(0x202)](),_0x4b171a;}return this['_injector'][_0x1c8523(0x313)](de,_0x2a4c79,this[_0x1c8523(0x280)],_0x4c5039,_0xbb94b8,_0x45692e);}['_replayCachedMutations'](_0x50d215,_0x505213){var _0x498d92=_0x5e85b0,_0x17d884,_0x4601ed;const _0x253b51=this[_0x498d92(0x26a)][_0x498d92(0x342)]['fetchThroughInterceptors'](this[_0x498d92(0x26a)][_0x498d92(0x342)][_0x498d92(0x16a)]()[_0x498d92(0x217)]);(_0x17d884=_0x253b51((_0x50d215==null?void 0x0:_0x50d215['mutations'])||[],null))==null||_0x17d884[_0x498d92(0x1b4)](_0x3db4c5=>this[_0x498d92(0x336)]['executeCommand'](_0x3db4c5['id'],_0x3db4c5[_0x498d92(0x2d0)])),(_0x4601ed=_0x253b51(_0x505213||[],null))==null||_0x4601ed['forEach'](_0x33482f=>this['_commandService'][_0x498d92(0x37e)](_0x33482f['id'],_0x33482f[_0x498d92(0x2d0)]));}};nt=Lt([H(0x3,_0x4e6a0f(_0x2a76ad)),H(0x4,_0x4e6a0f(_0x52c586)),H(0x5,_0x4e6a0f(_0x4ff38c)),H(0x6,_0x4e6a0f(_0x57826d)),H(0x7,_0x4e6a0f(pe)),H(0x8,_0x4f17e2),H(0x9,_0x1020e1),H(0xa,_0xfde829),H(0xb,_0x8e5208(ht)),H(0xc,_0x8e5208(J))],nt);let It=class extends nt{constructor(_0x513456,_0x3221bc,_0x40f5af,_0x78797a,_0x3d7dfb,_0x1a59b5,_0x2335e5,_0x38a7ba,_0x1fc7b9,_0x56b232,_0xa928fa,_0x5a7148,_0x407992){var _0x4a9f9e=_0x5e85b0;super(_0x513456,_0x40f5af,_0x3221bc,_0x78797a,_0x3d7dfb,_0x1a59b5,_0x2335e5,_0x38a7ba,_0x1fc7b9,_0x56b232,_0xa928fa,_0x5a7148,_0x407992),N(this,_0x4a9f9e(0x2b0),null),(this[_0x4a9f9e(0x373)]=_0x513456,this[_0x4a9f9e(0x233)]=_0x3221bc);}[_0x5e85b0(0x2b4)](_0x19297a){this['_handlerCallback']=_0x19297a;}[_0x5e85b0(0x41a)](){var _0x17d244=_0x5e85b0;this['_handlerCallback']=null,super[_0x17d244(0x41a)]();}['_createHandler'](){var _0x1e4c82=_0x5e85b0;const _0x45043a=super[_0x1e4c82(0x24a)]();return _0x45043a[_0x1e4c82(0x15a)]=_0x1cedf3=>{var _0x160bc4=_0x1e4c82,_0x3cf6c8,_0x378590;return(_0x378590=(_0x3cf6c8=this[_0x160bc4(0x2b0)])==null?void 0x0:_0x3cf6c8[_0x160bc4(0x15a)])==null?void 0x0:_0x378590[_0x160bc4(0x17e)](_0x3cf6c8,_0x1cedf3);},_0x45043a[_0x1e4c82(0x2a5)]=_0x38c9b2=>{var _0x688810=_0x1e4c82,_0x4ff056,_0x4861f5;return(_0x4861f5=(_0x4ff056=this[_0x688810(0x2b0)])==null?void 0x0:_0x4ff056[_0x688810(0x2a5)])==null?void 0x0:_0x4861f5[_0x688810(0x17e)](_0x4ff056,_0x38c9b2);},_0x45043a['onTransformSelections']=_0x3098c6=>{var _0x2cda3f=_0x1e4c82,_0x1c1fa7,_0x4b70d2;return(_0x4b70d2=(_0x1c1fa7=this[_0x2cda3f(0x2b0)])==null?void 0x0:_0x1c1fa7[_0x2cda3f(0x3cd)])==null?void 0x0:_0x4b70d2[_0x2cda3f(0x17e)](_0x1c1fa7,_0x3098c6);},_0x45043a['onSyncEditingCollabCursor']=_0x2db55c=>{var _0x4574d9=_0x1e4c82,_0x502ab6,_0x2a0fec;return(_0x2a0fec=(_0x502ab6=this['_handlerCallback'])==null?void 0x0:_0x502ab6[_0x4574d9(0x204)])==null?void 0x0:_0x2a0fec['call'](_0x502ab6,_0x2db55c);},_0x45043a[_0x1e4c82(0x29d)]=_0x17a5e0=>{var _0x58f01c=_0x1e4c82,_0x233619,_0x54a474,_0x10794b;if(!((_0x233619=this['_handlerCallback'])!=null&&_0x233619['onTransformRemoteChangesetByIMECache']))throw new Error(_0x58f01c(0x367));return(_0x10794b=(_0x54a474=this[_0x58f01c(0x2b0)])==null?void 0x0:_0x54a474[_0x58f01c(0x29d)])==null?void 0x0:_0x10794b[_0x58f01c(0x17e)](_0x54a474,_0x17a5e0);},_0x45043a[_0x1e4c82(0x149)]=_0x19ddee=>{var _0x471ab2=_0x1e4c82,_0xe52174,_0x225dd0,_0x2dcd4a;if(!((_0xe52174=this['_handlerCallback'])!=null&&_0xe52174['onTransformRemoteChangesetByStateCache']))throw new Error(_0x471ab2(0x3e8));return(_0x2dcd4a=(_0x225dd0=this[_0x471ab2(0x2b0)])==null?void 0x0:_0x225dd0['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2dcd4a[_0x471ab2(0x17e)](_0x225dd0,_0x19ddee);},_0x45043a;}async['_init'](){var _0x49761c=_0x5e85b0;const _0x33fdce=await super['_init']();return this[_0x49761c(0x1d4)](this[_0x49761c(0x336)]['onCommandExecuted']((_0x4b2446,_0x277401)=>{var _0x451f78=_0x49761c;if(_0x4b2446[_0x451f78(0x233)]!==_0x33a20c[_0x451f78(0x182)]||_0x277401!=null&&_0x277401['fromCollab']||_0x277401!=null&&_0x277401['onlyLocal']||_0x4b2446['id']===_0x25e173['id'])return;const _0x1a2700=_0x4b2446[_0x451f78(0x2d0)];if((_0x1a2700==null?void 0x0:_0x1a2700['unitId'])!==this[_0x451f78(0x373)])return;const _0x5cfb29=_0x4b2446,_0x5b7c54=this[_0x451f78(0x26a)][_0x451f78(0x342)]['fetchThroughInterceptors'](this[_0x451f78(0x26a)][_0x451f78(0x342)][_0x451f78(0x16a)]()['COMPRESS_MUTATION_SEND'])([_0x5cfb29],null)||[_0x5cfb29];this[_0x451f78(0x1be)](_0x5b7c54[0x0]);})),_0x33fdce;}};It=Lt([H(0x3,_0x4e6a0f(_0x2a76ad)),H(0x4,_0x4e6a0f(_0x52c586)),H(0x5,_0x4e6a0f(_0x4ff38c)),H(0x6,_0x4e6a0f(_0x57826d)),H(0x7,_0x4e6a0f(pe)),H(0x8,_0x4f17e2),H(0x9,_0x1020e1),H(0xa,_0xfde829),H(0xb,_0x8e5208(ht)),H(0xc,_0x8e5208(J))],It);let Tt=class extends nt{constructor(_0x1f9d93,_0x1ae040,_0xf2f7f6,_0x3351be,_0x6d277,_0x38dded,_0x397294,_0x1099d9,_0x39aaee,_0x39dd10,_0x273750,_0xcb0c41,_0x19c25a,_0x54de7f){var _0x1abdda=_0x5e85b0;super(_0x1f9d93,_0xf2f7f6,_0x1ae040,_0x3351be,_0x6d277,_0x38dded,_0x397294,_0x39aaee,_0x39dd10,_0x273750,_0xcb0c41,_0x19c25a,_0x54de7f),this[_0x1abdda(0x373)]=_0x1f9d93,this[_0x1abdda(0x233)]=_0x1ae040,this[_0x1abdda(0x25b)]=_0x1099d9;}[_0x5e85b0(0x24a)](){var _0x19b919=_0x5e85b0;const _0x5bae30=super[_0x19b919(0x24a)]();return _0x5bae30[_0x19b919(0x3cd)]=_0x4ec541=>this[_0x19b919(0x25b)][_0x19b919(0x142)](_0x4ec541),_0x5bae30;}async[_0x5e85b0(0x3e5)](){var _0x220c04=_0x5e85b0;const _0x59f18=await super[_0x220c04(0x3e5)]();return this[_0x220c04(0x1d4)](this[_0x220c04(0x336)]['onCommandExecuted']((_0x3125a1,_0x2f3e0d)=>{var _0x164865=_0x220c04;if(_0x3125a1[_0x164865(0x233)]!==_0x33a20c[_0x164865(0x182)]||_0x2f3e0d!=null&&_0x2f3e0d[_0x164865(0x1ec)]||_0x2f3e0d!=null&&_0x2f3e0d['onlyLocal'])return;const _0x32e419=_0x3125a1[_0x164865(0x2d0)];if((_0x32e419==null?void 0x0:_0x32e419[_0x164865(0x37f)])!==this[_0x164865(0x373)])return;const _0x7c53d=_0x3125a1,_0x182750=this[_0x164865(0x26a)][_0x164865(0x342)]['fetchThroughInterceptors'](this[_0x164865(0x26a)][_0x164865(0x342)][_0x164865(0x16a)]()[_0x164865(0x12a)])([_0x7c53d],null)||[_0x7c53d];this[_0x164865(0x1be)](_0x182750[0x0]);})),_0x59f18;}};Tt=Lt([H(0x3,_0x4e6a0f(_0x2a76ad)),H(0x4,_0x4e6a0f(_0x52c586)),H(0x5,_0x4e6a0f(_0x4ff38c)),H(0x6,_0x4e6a0f(_0x57826d)),H(0x7,_0x4e6a0f(it)),H(0x8,_0x4e6a0f(pe)),H(0x9,_0x4f17e2),H(0xa,_0x1020e1),H(0xb,_0xfde829),H(0xc,_0x8e5208(ht)),H(0xd,_0x8e5208(J))],Tt);var os=Object[_0x5e85b0(0x3b0)],cs=(_0x2f4f3a,_0x4a198d,_0x20573d,_0x4281e)=>{var _0x79621d=_0x5e85b0;for(var _0x152f23=_0x4281e>0x1?void 0x0:_0x4281e?os(_0x4a198d,_0x20573d):_0x4a198d,_0x209413=_0x2f4f3a[_0x79621d(0x317)]-0x1,_0x29c413;_0x209413>=0x0;_0x209413--)(_0x29c413=_0x2f4f3a[_0x209413])&&(_0x152f23=_0x29c413(_0x152f23)||_0x152f23);return _0x152f23;},ft=(_0x3debdf,_0x539f9a)=>(_0x411c5c,_0x41c570)=>_0x539f9a(_0x411c5c,_0x41c570,_0x3debdf);let st=class extends _0x5d06b1{constructor(_0x450c58,_0x57e940,_0x3e6113){var _0x12d91c=_0x5e85b0;super(),N(this,_0x12d91c(0x353),new Map()),N(this,_0x12d91c(0x417),new _0x481b7e()),N(this,_0x12d91c(0x187),this[_0x12d91c(0x417)]['asObservable']()),(this[_0x12d91c(0x35f)]=_0x450c58,this[_0x12d91c(0x16e)]=_0x57e940,this[_0x12d91c(0x396)]=_0x3e6113,this['_init']());}[_0x5e85b0(0x41a)](){var _0x3f9a3f=_0x5e85b0;super[_0x3f9a3f(0x41a)](),this[_0x3f9a3f(0x353)][_0x3f9a3f(0x1b4)](_0xd27c5a=>_0xd27c5a['dispose']()),this['_entities'][_0x3f9a3f(0x21b)]();}['getCollabEntity'](_0x263118){var _0x3166dc=_0x5e85b0,_0x3b7420;return(_0x3b7420=this[_0x3166dc(0x353)]['get'](_0x263118))!=null?_0x3b7420:null;}['getCollabEntity$'](_0x295e3c){var _0x28eb70=_0x5e85b0;const _0xec02c6=this[_0x28eb70(0x14f)](_0x295e3c);return _0xec02c6?_0x2e5cdf(_0xec02c6):this['_entityInit$'][_0x28eb70(0x2c0)](_0x30fc86(_0x2e524f=>_0x2e524f[_0x28eb70(0x373)]===_0x295e3c));}['readyForCollab'](_0x2640ba){var _0x32b7b3=_0x5e85b0;return _0x115cc6(this[_0x32b7b3(0x337)](_0x2640ba)[_0x32b7b3(0x2c0)](_0x4f42e4(()=>{})));}[_0x5e85b0(0x3e5)](){var _0x241fb3=_0x5e85b0;this['_univerInstanceService'][_0x241fb3(0x25f)](_0x3ac655[_0x241fb3(0x26b)])[_0x241fb3(0x2c0)](_0x396fca(this[_0x241fb3(0x239)]),_0x1eb048(0x10))['subscribe'](async _0x464df=>{var _0x572cd1=_0x241fb3;const _0x56a8f8=_0x464df['getUnitId'](),_0x28b47f=await this[_0x572cd1(0x1a9)](_0x56a8f8,Q['UNIVER_SHEET']);this[_0x572cd1(0x353)][_0x572cd1(0x28a)](_0x56a8f8,_0x28b47f);}),this[_0x241fb3(0x396)][_0x241fb3(0x25f)](_0x3ac655[_0x241fb3(0x1dc)])[_0x241fb3(0x2c0)](_0x396fca(this[_0x241fb3(0x239)]),_0x1eb048(0x10))[_0x241fb3(0x2c0)](_0x30fc86(_0x54de4f=>!_0x54de4f[_0x241fb3(0x21c)]()['startsWith']('__')))[_0x241fb3(0x292)](async _0x4600d3=>{var _0x4bf437=_0x241fb3;const _0x19836b=_0x4600d3[_0x4bf437(0x21c)](),_0xf770f5=await this['_startCollaboration'](_0x19836b,Q[_0x4bf437(0x1dc)]);this[_0x4bf437(0x353)][_0x4bf437(0x28a)](_0x19836b,_0xf770f5);}),_0x2ba3bf(this[_0x241fb3(0x396)][_0x241fb3(0x34d)](_0x3ac655[_0x241fb3(0x26b)]),this[_0x241fb3(0x396)][_0x241fb3(0x34d)](_0x3ac655[_0x241fb3(0x1dc)]))[_0x241fb3(0x2c0)](_0x396fca(this[_0x241fb3(0x239)]))[_0x241fb3(0x292)](_0x5cced8=>{var _0x194388=_0x241fb3;const _0x162e67=_0x5cced8['getUnitId'](),_0x11b28a=this['_entities'][_0x194388(0x3d0)](_0x162e67);_0x11b28a&&(_0x11b28a[_0x194388(0x41a)](),this[_0x194388(0x353)]['delete'](_0x162e67));});}async[_0x5e85b0(0x1a9)](_0x70abd2,_0x498706){var _0x13ab1f=_0x5e85b0;const _0x4834f2=await this[_0x13ab1f(0x16e)][_0x13ab1f(0x18b)](_0x70abd2),_0x5d5fd8=this[_0x13ab1f(0x35f)]['createInstance'](this['_getCtorByUniverType'](_0x498706),_0x70abd2,_0x498706,_0x4834f2);return await _0x5d5fd8[_0x13ab1f(0x1a5)](),this[_0x13ab1f(0x417)]['next'](_0x5d5fd8),_0x5d5fd8;}['_getCtorByUniverType'](_0x5b910e){var _0x4d563d=_0x5e85b0;switch(_0x5b910e){case Q[_0x4d563d(0x1dc)]:return It;case Q[_0x4d563d(0x26b)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5b910e);}}};st=cs([ft(0x0,_0x4e6a0f(_0x2a76ad)),ft(0x1,_0x4e6a0f(xe)),ft(0x2,_0x187759)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x21d9d1,_0x371455,_0x5e57de,_0x2e52f9)=>{var _0xd77042=_0x5e85b0;for(var _0x21a276=_0x2e52f9>0x1?void 0x0:_0x2e52f9?hs(_0x371455,_0x5e57de):_0x371455,_0x4f239c=_0x21d9d1[_0xd77042(0x317)]-0x1,_0x2f2b2c;_0x4f239c>=0x0;_0x4f239c--)(_0x2f2b2c=_0x21d9d1[_0x4f239c])&&(_0x21a276=_0x2f2b2c(_0x21a276)||_0x21a276);return _0x21a276;},zt=(_0x5d359a,_0x1cb1ef)=>(_0x50e26a,_0xd4b5f4)=>_0x1cb1ef(_0x50e26a,_0xd4b5f4,_0x5d359a);const ls=_0x5e85b0(0x404),us=_0x5e85b0(0x281);let Ct=class extends _0x30c483{constructor(_0x7103ec,_0x59e581){var _0x3e95c1=_0x5e85b0;super(),this[_0x3e95c1(0x396)]=_0x7103ec,this['_configService']=_0x59e581,this[_0x3e95c1(0x3e5)]();}['_init'](){var _0x363b15=_0x5e85b0;this[_0x363b15(0x1d4)](this[_0x363b15(0x396)][_0x363b15(0x1f6)][_0x363b15(0x292)](()=>{var _0x1b1f87=_0x363b15,_0x1ce480;const _0x50c74d=this[_0x1b1f87(0x396)][_0x1b1f87(0x31b)]();let _0x975acb=(_0x1ce480=this['_configService'][_0x1b1f87(0x314)](ls))!=null?_0x1ce480:us;_0x50c74d instanceof _0x18a8fa&&(_0x975acb=_0x50c74d['name']),document[_0x1b1f87(0x227)]=_0x975acb;}));}};Ct=_s([zt(0x0,_0x187759),zt(0x1,_0x57235c)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x36cc87,_0x12d9a6,_0x3aaf8e,_0x23afba)=>{var _0x515dd5=_0x5e85b0;for(var _0x2084f5=_0x23afba>0x1?void 0x0:_0x23afba?ds(_0x12d9a6,_0x3aaf8e):_0x12d9a6,_0x39673c=_0x36cc87[_0x515dd5(0x317)]-0x1,_0x1f10ad;_0x39673c>=0x0;_0x39673c--)(_0x1f10ad=_0x36cc87[_0x39673c])&&(_0x2084f5=_0x1f10ad(_0x2084f5)||_0x2084f5);return _0x2084f5;},vt=(_0x1cdec9,_0x54f2f0)=>(_0x5de123,_0x1012f4)=>_0x54f2f0(_0x5de123,_0x1012f4,_0x1cdec9);let rt=class{constructor(_0x4569ab,_0x574b50,_0x47bb03){var _0x30354e=_0x5e85b0;this['_configService']=_0x4569ab,this[_0x30354e(0x40b)]=_0x574b50,this[_0x30354e(0x272)]=_0x47bb03,this[_0x30354e(0x1a5)]();}[_0x5e85b0(0x1a5)](){var _0x406675=_0x5e85b0;this[_0x406675(0x40b)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x268a54,_0x5abf8a)=>_0x5abf8a(_0x268a54)[_0x406675(0x2c0)](_0x3427eb(async _0x107a25=>{var _0x31d100=_0x406675;const _0x25113e=_0x107a25;if(_0x25113e[_0x31d100(0x229)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this['localeService']['t'](_0x31d100(0x13f)))){const _0x21f684=window[_0x31d100(0x220)](window[_0x31d100(0x134)][_0x31d100(0x33e)]);window[_0x31d100(0x134)]['href']=this['_getLoginPath']()+'?url='+_0x21f684;}}return _0x25113e;}))});}[_0x5e85b0(0x135)](){var _0x53655f=_0x5e85b0,_0x438306,_0x460993;const _0x2f57f6=this[_0x53655f(0x161)][_0x53655f(0x314)](Un),_0x1778ca=this[_0x53655f(0x161)][_0x53655f(0x314)](q);return(_0x460993=(_0x438306=_0x1778ca==null?void 0x0:_0x1778ca[_0x53655f(0x311)])!=null?_0x438306:_0x2f57f6)!=null?_0x460993:An;}};rt=fs([vt(0x0,_0x57235c),vt(0x1,_0x4e6a0f(_0x4dfb46)),vt(0x2,_0x4e6a0f(_0x4ff38c))],rt);var vs=Object[_0x5e85b0(0x3b0)],ps=(_0xf62d06,_0xa15e46,_0x50183a,_0x51d672)=>{var _0x55bf9d=_0x5e85b0;for(var _0x33a29c=_0x51d672>0x1?void 0x0:_0x51d672?vs(_0xa15e46,_0x50183a):_0xa15e46,_0x458ef6=_0xf62d06[_0x55bf9d(0x317)]-0x1,_0x145dc9;_0x458ef6>=0x0;_0x458ef6--)(_0x145dc9=_0xf62d06[_0x458ef6])&&(_0x33a29c=_0x145dc9(_0x33a29c)||_0x33a29c);return _0x33a29c;},Jt=(_0x2e4e4b,_0x504086)=>(_0x52c99c,_0x1dd521)=>_0x504086(_0x52c99c,_0x1dd521,_0x2e4e4b);const Ni=_0x5e85b0(0x1d7),ms=_0x5e85b0(0x2ec);let Rt=class extends _0x30c483{constructor(_0x3e5d24,_0x5add8d){var _0x4850b4=_0x5e85b0;super(),this[_0x4850b4(0x333)]=_0x3e5d24,this['_configService']=_0x5add8d,this[_0x4850b4(0x2a2)]();}[_0x5e85b0(0x2a2)](){var _0x1326c4=_0x5e85b0;const _0x3ed3d3=this;this['disposeWithMe'](this[_0x1326c4(0x333)][_0x1326c4(0x1a2)]({'priority':0x3e7,'interceptor':_0x4ff298({'isMatch'(_0x3ee5b6){var _0x2a62e7=_0x1326c4,_0x30ea66;if(_0x3ee5b6[_0x2a62e7(0x2de)]===_0x2a62e7(0x41c)&&((_0x30ea66=_0x3ee5b6[_0x2a62e7(0x257)])!=null&&_0x30ea66[_0x2a62e7(0x250)])){const {objectID:_0x4634a0,objectType:_0x37f846}=_0x3ee5b6[_0x2a62e7(0x257)][_0x2a62e7(0x250)]||{};if(!_0x4634a0||_0x37f846===void 0x0)return!0x1;const _0x2cbef6=_0x3ed3d3[_0x2a62e7(0x3dd)]()+'/'+_0x37f846+_0x2a62e7(0x374)+_0x4634a0+'/allowed';if(_0x3ee5b6[_0x2a62e7(0x26c)]===_0x2cbef6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x544cc1){var _0xef6d20=_0x1326c4,_0x3c1de3;return(_0x3c1de3=_0x544cc1[_0xef6d20(0x257)])==null?void 0x0:_0x3c1de3[_0xef6d20(0x250)];},'mergeParamsToRequest'(_0x3c2630,_0x35f0aa){var _0x467a2d=_0x1326c4;const _0x10e8bb=_0x3ed3d3[_0x467a2d(0x3dd)]()+'/-/object/-/batch_allowed',_0x311816=_0x3c2630[_0x467a2d(0x1c0)]((_0x46137b,_0x19d03f)=>{var _0x5c1876=_0x467a2d;const {unitID:_0x473396,objectID:_0x24a858,objectType:_0x4453aa,actions:_0x48cedc}=_0x19d03f;return _0x46137b[_0x473396]||(_0x46137b[_0x473396]={}),_0x46137b[_0x473396][_0x24a858]||(_0x46137b[_0x473396][_0x24a858]={'objectID':_0x24a858,'objectType':_0x4453aa,'actions':[]}),_0x46137b[_0x473396][_0x24a858]['actions'][_0x5c1876(0x1e3)](..._0x48cedc),_0x46137b;},{}),_0x4afe1e=[];for(const _0x5e1cb7 in _0x311816)for(const _0x183dbf in _0x311816[_0x5e1cb7]){const {actions:_0x58a62d,objectType:_0x44d42f}=_0x311816[_0x5e1cb7][_0x183dbf],_0x2d29aa=[...new Set(_0x58a62d)];_0x4afe1e['push']({'unitID':_0x5e1cb7,'objectID':_0x183dbf,'objectType':_0x44d42f,'actions':_0x2d29aa});}return new _0x5104ad(_0x467a2d(0x41c),_0x10e8bb,{'headers':_0x35f0aa['headers'],'withCredentials':_0x35f0aa[_0x467a2d(0x1b7)],'responseType':_0x35f0aa[_0x467a2d(0x3ef)],'body':{'requests':_0x4afe1e}});}},{'distributeResult'(_0x52a1cf,_0x4f5927){var _0xe5d80c=_0x1326c4;const {objectActions:_0x146cf0}=_0x52a1cf;return _0x4f5927[_0xe5d80c(0x3bf)](_0x43dd22=>{var _0x1291c7=_0xe5d80c;const {unitID:_0x29c650,objectID:_0x15125d,actions:_0x1e2af5}=_0x43dd22,_0x1dfa05=_0x146cf0[_0x1291c7(0x366)](_0x511a9d=>_0x511a9d[_0x1291c7(0x373)]===_0x29c650&&_0x511a9d[_0x1291c7(0x2f9)]===_0x15125d),_0x556279=_0x1e2af5['map'](_0x2f9d5d=>_0x1dfa05==null?void 0x0:_0x1dfa05[_0x1291c7(0x13b)][_0x1291c7(0x366)](_0x2cb9b3=>_0x2cb9b3['action']===_0x2f9d5d))['filter'](_0x42329b=>!!_0x42329b);return{'config':_0x43dd22,'result':{'actions':_0x556279,'error':_0x52a1cf[_0x1291c7(0x371)]}};});}})}));}[_0x5e85b0(0x3dd)](){var _0x4a98c9=_0x5e85b0,_0x114ae2,_0x348865;const _0x58407b=this['_configService']['getConfig'](Ni),_0x1d0642=this[_0x4a98c9(0x161)][_0x4a98c9(0x314)](q);return(_0x348865=(_0x114ae2=_0x1d0642==null?void 0x0:_0x1d0642[_0x4a98c9(0x185)])!=null?_0x114ae2:_0x58407b)!=null?_0x348865:ms;}async[_0x5e85b0(0x131)](_0x5740b8){var _0x2f328a=_0x5e85b0;const _0x35147c=this['_getAPIPrefixPath']()+'/'+_0x5740b8['objectType']+'/object';return(await this['_HTTPService'][_0x2f328a(0x40e)](_0x35147c,{'body':_0x5740b8}))[_0x2f328a(0x250)][_0x2f328a(0x2f9)]||'';}async[_0x5e85b0(0x2a6)](_0x433671){var _0x340f5a=_0x5e85b0;const _0x2843a1=this['_getAPIPrefixPath']()+_0x340f5a(0x171);return(await this['_HTTPService'][_0x340f5a(0x40e)](_0x2843a1,{'body':_0x433671}))[_0x340f5a(0x250)][_0x340f5a(0x399)];}async['update'](_0x167378){var _0x53c632=_0x5e85b0,_0x515d73,_0x260238;const _0x42dad2=this[_0x53c632(0x3dd)]()+'/'+_0x167378[_0x53c632(0x13e)]+_0x53c632(0x374)+_0x167378[_0x53c632(0x2f9)],_0x4f50c0=await this[_0x53c632(0x333)][_0x53c632(0x287)](_0x42dad2,{'body':_0x167378});if(((_0x260238=(_0x515d73=_0x4f50c0==null?void 0x0:_0x4f50c0[_0x53c632(0x250)])==null?void 0x0:_0x515d73['error'])==null?void 0x0:_0x260238[_0x53c632(0x1c4)])!==0x1)throw new Error(_0x53c632(0x1ea));}async['allowed'](_0x959614){var _0x5f5d94=_0x5e85b0;const _0xd4fb5f=this[_0x5f5d94(0x3dd)]()+'/'+_0x959614[_0x5f5d94(0x13e)]+'/object/'+_0x959614[_0x5f5d94(0x2f9)]+_0x5f5d94(0x216);return(await this[_0x5f5d94(0x333)][_0x5f5d94(0x40e)](_0xd4fb5f,{'body':_0x959614}))[_0x5f5d94(0x250)][_0x5f5d94(0x13b)];}async['batchAllowed'](_0x386af2){var _0x471068=_0x5e85b0;const _0xcb1613=this[_0x471068(0x3dd)]()+'/-/object/-/batch_allowed';return(await this[_0x471068(0x333)][_0x471068(0x40e)](_0xcb1613,{'body':{'requests':_0x386af2}}))[_0x471068(0x250)][_0x471068(0x212)];}async['listRoles'](_0x59dfd2){var _0x77f0ea=_0x5e85b0;const _0x3d4979=this[_0x77f0ea(0x3dd)]()+'/'+_0x59dfd2[_0x77f0ea(0x13e)]+'/role',_0x5ac974=await this[_0x77f0ea(0x333)][_0x77f0ea(0x40e)](_0x3d4979,{'body':_0x59dfd2});return{'roles':_0x5ac974[_0x77f0ea(0x250)]['roles'],'actions':_0x5ac974[_0x77f0ea(0x250)][_0x77f0ea(0x13b)]};}async[_0x5e85b0(0x288)](_0x543433){var _0x114d1b=_0x5e85b0;const _0x56c3e6=this[_0x114d1b(0x3dd)]()+_0x114d1b(0x222);await this['_HTTPService'][_0x114d1b(0x3d2)](_0x56c3e6,{'params':{'collaboratorID':_0x543433[_0x114d1b(0x237)],'objectID':_0x543433[_0x114d1b(0x2f9)],'unitID':_0x543433[_0x114d1b(0x373)]}});}async['updateCollaborator'](_0x2737d3){var _0xb29b5f=_0x5e85b0;const _0x374621=this[_0xb29b5f(0x3dd)]()+_0xb29b5f(0x222);await this[_0xb29b5f(0x333)]['patch'](_0x374621,{'body':_0x2737d3});}async['createCollaborator'](_0x57503d){var _0x2bc91e=_0x5e85b0;const _0x5865d9=this[_0x2bc91e(0x3dd)]()+_0x2bc91e(0x222);await this[_0x2bc91e(0x333)][_0x2bc91e(0x40e)](_0x5865d9,{'body':_0x57503d});}async[_0x5e85b0(0x214)](_0xdd8023){var _0x3b80e7=_0x5e85b0;const _0x4fb427=this['_getAPIPrefixPath']()+_0x3b80e7(0x222);return(await this[_0x3b80e7(0x333)][_0x3b80e7(0x3d0)](_0x4fb427,{'params':{'objectID':_0xdd8023[_0x3b80e7(0x2f9)],'unitID':_0xdd8023[_0x3b80e7(0x373)]}}))[_0x3b80e7(0x250)]['collaborators'];}async[_0x5e85b0(0x40a)](_0x1ec3d2){var _0x47a237=_0x5e85b0;const _0x1b25ae=this[_0x47a237(0x3dd)]()+_0x47a237(0x222);await this[_0x47a237(0x333)][_0x47a237(0x287)](_0x1b25ae,{'body':_0x1ec3d2});}};Rt=ps([Jt(0x0,_0x4e6a0f(_0x4dfb46)),Jt(0x1,_0x4e6a0f(_0x57235c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x398c6d){var _0x421992=_0x5e85b0;return _0x398c6d&&_0x398c6d['__esModule']&&Object[_0x421992(0x282)][_0x421992(0x301)][_0x421992(0x17e)](_0x398c6d,_0x421992(0x3a7))?_0x398c6d[_0x421992(0x3a7)]:_0x398c6d;}var Ve={'exports':{}};function gs(_0x367fe6){var _0x21aaa8=_0x5e85b0;throw new Error(_0x21aaa8(0x123)+_0x367fe6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x4fca73=_0x5e85b0;return Xt||(Xt=0x1,function(_0x11c2bd,_0x1a151f){(function(_0x4c3be8,_0x209ab2){var _0x5815ad=_0x30b8;_0x11c2bd[_0x5815ad(0x2dc)]=_0x209ab2();}(Ss,function(){var _0x5e816=_0x5e816||function(_0x1093ad,_0x1f07e9){var _0x53f450=_0x30b8,_0x37bc1e;if(typeof window<'u'&&window[_0x53f450(0x14c)]&&(_0x37bc1e=window['crypto']),typeof self<'u'&&self[_0x53f450(0x14c)]&&(_0x37bc1e=self[_0x53f450(0x14c)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x37bc1e=globalThis[_0x53f450(0x14c)]),!_0x37bc1e&&typeof window<'u'&&window['msCrypto']&&(_0x37bc1e=window[_0x53f450(0x3ab)]),!_0x37bc1e&&typeof pt<'u'&&pt[_0x53f450(0x14c)]&&(_0x37bc1e=pt[_0x53f450(0x14c)]),!_0x37bc1e&&typeof gs==_0x53f450(0x1b5))try{_0x37bc1e=require('crypto');}catch{}var _0x4af6ff=function(){var _0x314391=_0x53f450;if(_0x37bc1e){if(typeof _0x37bc1e[_0x314391(0x3a4)]==_0x314391(0x1b5))try{return _0x37bc1e[_0x314391(0x3a4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x37bc1e[_0x314391(0x37a)]==_0x314391(0x1b5))try{return _0x37bc1e[_0x314391(0x37a)](0x4)[_0x314391(0x174)]();}catch{}}throw new Error(_0x314391(0x206));},_0xff98ef=Object[_0x53f450(0x131)]||(function(){function _0x5d2b8(){}return function(_0x311ff){var _0x170aa4=_0x30b8,_0x594ee1;return _0x5d2b8['prototype']=_0x311ff,_0x594ee1=new _0x5d2b8(),_0x5d2b8[_0x170aa4(0x282)]=null,_0x594ee1;};}()),_0x551bab={},_0x3a5f2b=_0x551bab['lib']={},_0x5ae3e2=_0x3a5f2b[_0x53f450(0x1fd)]=(function(){return{'extend':function(_0x3b672f){var _0x4f754c=_0x30b8,_0x48dabb=_0xff98ef(this);return _0x3b672f&&_0x48dabb[_0x4f754c(0x180)](_0x3b672f),(!_0x48dabb[_0x4f754c(0x301)]('init')||this[_0x4f754c(0x1a5)]===_0x48dabb[_0x4f754c(0x1a5)])&&(_0x48dabb[_0x4f754c(0x1a5)]=function(){var _0x4a50b9=_0x4f754c;_0x48dabb['$super'][_0x4a50b9(0x1a5)]['apply'](this,arguments);}),_0x48dabb[_0x4f754c(0x1a5)]['prototype']=_0x48dabb,_0x48dabb[_0x4f754c(0x40f)]=this,_0x48dabb;},'create':function(){var _0x468bfc=_0x30b8,_0x4ece2c=this[_0x468bfc(0x305)]();return _0x4ece2c['init'][_0x468bfc(0x2dd)](_0x4ece2c,arguments),_0x4ece2c;},'init':function(){},'mixIn':function(_0x52714c){var _0x314526=_0x30b8;for(var _0x5163a4 in _0x52714c)_0x52714c[_0x314526(0x301)](_0x5163a4)&&(this[_0x5163a4]=_0x52714c[_0x5163a4]);_0x52714c[_0x314526(0x301)](_0x314526(0x199))&&(this[_0x314526(0x199)]=_0x52714c[_0x314526(0x199)]);},'clone':function(){var _0xcfe393=_0x30b8;return this[_0xcfe393(0x1a5)][_0xcfe393(0x282)]['extend'](this);}};}()),_0x1c4cb4=_0x3a5f2b[_0x53f450(0x14b)]=_0x5ae3e2['extend']({'init':function(_0x89dd37,_0x4837fa){var _0x2ef930=_0x53f450;_0x89dd37=this['words']=_0x89dd37||[],_0x4837fa!=_0x1f07e9?this[_0x2ef930(0x1e9)]=_0x4837fa:this['sigBytes']=_0x89dd37[_0x2ef930(0x317)]*0x4;},'toString':function(_0x2acb6c){var _0x259537=_0x53f450;return(_0x2acb6c||_0x5b74fb)[_0x259537(0x2a9)](this);},'concat':function(_0x61b958){var _0x3f6138=_0x53f450,_0x2c5c64=this[_0x3f6138(0x326)],_0x127a40=_0x61b958[_0x3f6138(0x326)],_0x17bcda=this[_0x3f6138(0x1e9)],_0x1bcca3=_0x61b958[_0x3f6138(0x1e9)];if(this[_0x3f6138(0x354)](),_0x17bcda%0x4)for(var _0x5e9261=0x0;_0x5e9261<_0x1bcca3;_0x5e9261++){var _0x1f358c=_0x127a40[_0x5e9261>>>0x2]>>>0x18-_0x5e9261%0x4*0x8&0xff;_0x2c5c64[_0x17bcda+_0x5e9261>>>0x2]|=_0x1f358c<<0x18-(_0x17bcda+_0x5e9261)%0x4*0x8;}else{for(var _0x3fa2b9=0x0;_0x3fa2b9<_0x1bcca3;_0x3fa2b9+=0x4)_0x2c5c64[_0x17bcda+_0x3fa2b9>>>0x2]=_0x127a40[_0x3fa2b9>>>0x2];}return this[_0x3f6138(0x1e9)]+=_0x1bcca3,this;},'clamp':function(){var _0x9dd449=_0x53f450,_0x2da266=this[_0x9dd449(0x326)],_0x16384d=this[_0x9dd449(0x1e9)];_0x2da266[_0x16384d>>>0x2]&=0xffffffff<<0x20-_0x16384d%0x4*0x8,_0x2da266[_0x9dd449(0x317)]=_0x1093ad['ceil'](_0x16384d/0x4);},'clone':function(){var _0x57247e=_0x53f450,_0x2b641d=_0x5ae3e2[_0x57247e(0x31a)]['call'](this);return _0x2b641d['words']=this[_0x57247e(0x326)]['slice'](0x0),_0x2b641d;},'random':function(_0xae3583){var _0x2e5941=_0x53f450;for(var _0x4434b2=[],_0x63d1c5=0x0;_0x63d1c5<_0xae3583;_0x63d1c5+=0x4)_0x4434b2[_0x2e5941(0x1e3)](_0x4af6ff());return new _0x1c4cb4[(_0x2e5941(0x1a5))](_0x4434b2,_0xae3583);}}),_0x17d531=_0x551bab[_0x53f450(0x2d1)]={},_0x5b74fb=_0x17d531[_0x53f450(0x169)]={'stringify':function(_0x494d38){var _0x59211f=_0x53f450;for(var _0x197cde=_0x494d38[_0x59211f(0x326)],_0x4a492d=_0x494d38[_0x59211f(0x1e9)],_0x19acc0=[],_0x2a9765=0x0;_0x2a9765<_0x4a492d;_0x2a9765++){var _0x92b1ca=_0x197cde[_0x2a9765>>>0x2]>>>0x18-_0x2a9765%0x4*0x8&0xff;_0x19acc0[_0x59211f(0x1e3)]((_0x92b1ca>>>0x4)[_0x59211f(0x199)](0x10)),_0x19acc0[_0x59211f(0x1e3)]((_0x92b1ca&0xf)[_0x59211f(0x199)](0x10));}return _0x19acc0['join']('');},'parse':function(_0x16c57){var _0x9633c2=_0x53f450;for(var _0x9b2c3c=_0x16c57[_0x9633c2(0x317)],_0x5672b9=[],_0x527ba3=0x0;_0x527ba3<_0x9b2c3c;_0x527ba3+=0x2)_0x5672b9[_0x527ba3>>>0x3]|=parseInt(_0x16c57['substr'](_0x527ba3,0x2),0x10)<<0x18-_0x527ba3%0x8*0x4;return new _0x1c4cb4[(_0x9633c2(0x1a5))](_0x5672b9,_0x9b2c3c/0x2);}},_0xdbe72a=_0x17d531['Latin1']={'stringify':function(_0x20d14b){var _0x17f370=_0x53f450;for(var _0x45eb72=_0x20d14b[_0x17f370(0x326)],_0x1fabd1=_0x20d14b[_0x17f370(0x1e9)],_0x227780=[],_0x4c96df=0x0;_0x4c96df<_0x1fabd1;_0x4c96df++){var _0x4e21f9=_0x45eb72[_0x4c96df>>>0x2]>>>0x18-_0x4c96df%0x4*0x8&0xff;_0x227780[_0x17f370(0x1e3)](String['fromCharCode'](_0x4e21f9));}return _0x227780[_0x17f370(0x1f3)]('');},'parse':function(_0x4fa1af){var _0x1f0c22=_0x53f450;for(var _0x260cd7=_0x4fa1af[_0x1f0c22(0x317)],_0x5027b8=[],_0x383528=0x0;_0x383528<_0x260cd7;_0x383528++)_0x5027b8[_0x383528>>>0x2]|=(_0x4fa1af[_0x1f0c22(0x223)](_0x383528)&0xff)<<0x18-_0x383528%0x4*0x8;return new _0x1c4cb4[(_0x1f0c22(0x1a5))](_0x5027b8,_0x260cd7);}},_0x10f5d5=_0x17d531[_0x53f450(0x345)]={'stringify':function(_0x3ca901){var _0x43a184=_0x53f450;try{return decodeURIComponent(escape(_0xdbe72a[_0x43a184(0x2a9)](_0x3ca901)));}catch{throw new Error(_0x43a184(0x197));}},'parse':function(_0x142a2f){var _0x329ee8=_0x53f450;return _0xdbe72a[_0x329ee8(0x2aa)](unescape(encodeURIComponent(_0x142a2f)));}},_0x303f2d=_0x3a5f2b[_0x53f450(0x1f7)]=_0x5ae3e2[_0x53f450(0x305)]({'reset':function(){var _0x164bd4=_0x53f450;this[_0x164bd4(0x29e)]=new _0x1c4cb4['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x1485b4){var _0x4dce1a=_0x53f450;typeof _0x1485b4==_0x4dce1a(0x1da)&&(_0x1485b4=_0x10f5d5[_0x4dce1a(0x2aa)](_0x1485b4)),this[_0x4dce1a(0x29e)][_0x4dce1a(0x18e)](_0x1485b4),this['_nDataBytes']+=_0x1485b4[_0x4dce1a(0x1e9)];},'_process':function(_0xbf2a47){var _0x587a1f=_0x53f450,_0x1e1b9a,_0x563c33=this[_0x587a1f(0x29e)],_0xad6dba=_0x563c33['words'],_0x3a8154=_0x563c33[_0x587a1f(0x1e9)],_0xe2030f=this[_0x587a1f(0x2e8)],_0x1b5d21=_0xe2030f*0x4,_0x242521=_0x3a8154/_0x1b5d21;_0xbf2a47?_0x242521=_0x1093ad[_0x587a1f(0x32c)](_0x242521):_0x242521=_0x1093ad[_0x587a1f(0x395)]((_0x242521|0x0)-this[_0x587a1f(0x152)],0x0);var _0x5f10d2=_0x242521*_0xe2030f,_0x5d0654=_0x1093ad[_0x587a1f(0x3f3)](_0x5f10d2*0x4,_0x3a8154);if(_0x5f10d2){for(var _0x29b08f=0x0;_0x29b08f<_0x5f10d2;_0x29b08f+=_0xe2030f)this[_0x587a1f(0x205)](_0xad6dba,_0x29b08f);_0x1e1b9a=_0xad6dba['splice'](0x0,_0x5f10d2),_0x563c33[_0x587a1f(0x1e9)]-=_0x5d0654;}return new _0x1c4cb4['init'](_0x1e1b9a,_0x5d0654);},'clone':function(){var _0x32ea63=_0x53f450,_0xa4bd7a=_0x5ae3e2['clone'][_0x32ea63(0x17e)](this);return _0xa4bd7a[_0x32ea63(0x29e)]=this['_data'][_0x32ea63(0x31a)](),_0xa4bd7a;},'_minBufferSize':0x0});_0x3a5f2b['Hasher']=_0x303f2d[_0x53f450(0x305)]({'cfg':_0x5ae3e2['extend'](),'init':function(_0x3f80c9){var _0xa4b83c=_0x53f450;this[_0xa4b83c(0x188)]=this['cfg'][_0xa4b83c(0x305)](_0x3f80c9),this['reset']();},'reset':function(){var _0x3c937e=_0x53f450;_0x303f2d['reset']['call'](this),this[_0x3c937e(0x30e)]();},'update':function(_0x42fc72){var _0x2a9b1d=_0x53f450;return this[_0x2a9b1d(0x2b8)](_0x42fc72),this[_0x2a9b1d(0x3f1)](),this;},'finalize':function(_0x34d20a){var _0x4e9d0e=_0x53f450;_0x34d20a&&this[_0x4e9d0e(0x2b8)](_0x34d20a);var _0x5db4ef=this[_0x4e9d0e(0x18d)]();return _0x5db4ef;},'blockSize':0x10,'_createHelper':function(_0x32b176){return function(_0x1bb474,_0x9389ec){var _0x4a0c92=_0x30b8;return new _0x32b176[(_0x4a0c92(0x1a5))](_0x9389ec)[_0x4a0c92(0x1ba)](_0x1bb474);};},'_createHmacHelper':function(_0x14bf18){return function(_0x45a7c5,_0x508c77){var _0x286a5e=_0x30b8;return new _0x3fd9a3[(_0x286a5e(0x2f5))]['init'](_0x14bf18,_0x508c77)[_0x286a5e(0x1ba)](_0x45a7c5);};}});var _0x3fd9a3=_0x551bab['algo']={};return _0x551bab;}(Math);return _0x5e816;}));}(Ge)),Ge[_0x4fca73(0x2dc)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){var _0x5ef221=_0x5e85b0;return Zt||(Zt=0x1,function(_0x9f1693,_0x2daf82){(function(_0x145985,_0x5ee137){var _0x2ae61a=_0x30b8;_0x9f1693[_0x2ae61a(0x2dc)]=_0x5ee137(ie());}(Es,function(_0x4762c9){var _0xec7d23=_0x30b8;return(function(){var _0x4a7b22=_0x30b8,_0xa940ed=_0x4762c9,_0x4bb181=_0xa940ed['lib'],_0x22d451=_0x4bb181[_0x4a7b22(0x14b)],_0x109ec7=_0xa940ed[_0x4a7b22(0x2d1)];_0x109ec7[_0x4a7b22(0x15f)]={'stringify':function(_0x2983ae){var _0x16d807=_0x4a7b22,_0x3fcf28=_0x2983ae['words'],_0xec478c=_0x2983ae[_0x16d807(0x1e9)],_0x2c8d1c=this[_0x16d807(0x1f8)];_0x2983ae[_0x16d807(0x354)]();for(var _0x8b8f18=[],_0x393ef3=0x0;_0x393ef3<_0xec478c;_0x393ef3+=0x3)for(var _0x411db2=_0x3fcf28[_0x393ef3>>>0x2]>>>0x18-_0x393ef3%0x4*0x8&0xff,_0x209d8a=_0x3fcf28[_0x393ef3+0x1>>>0x2]>>>0x18-(_0x393ef3+0x1)%0x4*0x8&0xff,_0x1a0985=_0x3fcf28[_0x393ef3+0x2>>>0x2]>>>0x18-(_0x393ef3+0x2)%0x4*0x8&0xff,_0x1e13cf=_0x411db2<<0x10|_0x209d8a<<0x8|_0x1a0985,_0x2d57d2=0x0;_0x2d57d2<0x4&&_0x393ef3+_0x2d57d2*0.75<_0xec478c;_0x2d57d2++)_0x8b8f18[_0x16d807(0x1e3)](_0x2c8d1c[_0x16d807(0x242)](_0x1e13cf>>>0x6*(0x3-_0x2d57d2)&0x3f));var _0xb134a5=_0x2c8d1c['charAt'](0x40);if(_0xb134a5){for(;_0x8b8f18[_0x16d807(0x317)]%0x4;)_0x8b8f18[_0x16d807(0x1e3)](_0xb134a5);}return _0x8b8f18[_0x16d807(0x1f3)]('');},'parse':function(_0x2aea1b){var _0x7bed0f=_0x4a7b22,_0x468cca=_0x2aea1b[_0x7bed0f(0x317)],_0x458e12=this[_0x7bed0f(0x1f8)],_0xbf72fa=this[_0x7bed0f(0x297)];if(!_0xbf72fa){_0xbf72fa=this[_0x7bed0f(0x297)]=[];for(var _0x224a9f=0x0;_0x224a9f<_0x458e12[_0x7bed0f(0x317)];_0x224a9f++)_0xbf72fa[_0x458e12[_0x7bed0f(0x223)](_0x224a9f)]=_0x224a9f;}var _0x282fd6=_0x458e12[_0x7bed0f(0x242)](0x40);if(_0x282fd6){var _0x5a8dbf=_0x2aea1b[_0x7bed0f(0x41e)](_0x282fd6);_0x5a8dbf!==-0x1&&(_0x468cca=_0x5a8dbf);}return _0x3b39ac(_0x2aea1b,_0x468cca,_0xbf72fa);},'_map':_0x4a7b22(0x235)};function _0x3b39ac(_0x284af6,_0x2cd08c,_0x223a9d){var _0x321807=_0x4a7b22;for(var _0x46e14e=[],_0x42c043=0x0,_0x23c96e=0x0;_0x23c96e<_0x2cd08c;_0x23c96e++)if(_0x23c96e%0x4){var _0x7b9e97=_0x223a9d[_0x284af6[_0x321807(0x223)](_0x23c96e-0x1)]<<_0x23c96e%0x4*0x2,_0x538ade=_0x223a9d[_0x284af6[_0x321807(0x223)](_0x23c96e)]>>>0x6-_0x23c96e%0x4*0x2,_0x766619=_0x7b9e97|_0x538ade;_0x46e14e[_0x42c043>>>0x2]|=_0x766619<<0x18-_0x42c043%0x4*0x8,_0x42c043++;}return _0x22d451['create'](_0x46e14e,_0x42c043);}}()),_0x4762c9[_0xec7d23(0x2d1)][_0xec7d23(0x15f)];}));}(We)),We[_0x5ef221(0x2dc)];}var Ke={'exports':{}},Is=Ke[_0x5e85b0(0x2dc)],Qt;function Ts(){var _0x63292d=_0x5e85b0;return Qt||(Qt=0x1,function(_0x4907f2,_0x14f545){(function(_0x65ed2d,_0x4994e8){_0x4907f2['exports']=_0x4994e8(ie());}(Is,function(_0x513838){return function(_0x27fcf3){var _0x2976b8=_0x30b8,_0x51efd6=_0x513838,_0x3787d0=_0x51efd6[_0x2976b8(0x3f2)],_0x2306e3=_0x3787d0[_0x2976b8(0x14b)],_0x1f3d17=_0x3787d0['Hasher'],_0x92df33=_0x51efd6['algo'],_0x5f4cb4=[];(function(){for(var _0x2519c4=0x0;_0x2519c4<0x40;_0x2519c4++)_0x5f4cb4[_0x2519c4]=_0x27fcf3['abs'](_0x27fcf3['sin'](_0x2519c4+0x1))*0x100000000|0x0;}());var _0x317e58=_0x92df33[_0x2976b8(0x418)]=_0x1f3d17[_0x2976b8(0x305)]({'_doReset':function(){var _0xf1fde2=_0x2976b8;this[_0xf1fde2(0x3a1)]=new _0x2306e3[(_0xf1fde2(0x1a5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x137a1c,_0x278990){var _0x1cd94d=_0x2976b8;for(var _0x29f3f9=0x0;_0x29f3f9<0x10;_0x29f3f9++){var _0x3a501c=_0x278990+_0x29f3f9,_0x57aae0=_0x137a1c[_0x3a501c];_0x137a1c[_0x3a501c]=(_0x57aae0<<0x8|_0x57aae0>>>0x18)&0xff00ff|(_0x57aae0<<0x18|_0x57aae0>>>0x8)&0xff00ff00;}var _0x291191=this['_hash'][_0x1cd94d(0x326)],_0x2bb9ca=_0x137a1c[_0x278990+0x0],_0x42d14a=_0x137a1c[_0x278990+0x1],_0x3f5c2e=_0x137a1c[_0x278990+0x2],_0x50654f=_0x137a1c[_0x278990+0x3],_0x43fe51=_0x137a1c[_0x278990+0x4],_0x5395db=_0x137a1c[_0x278990+0x5],_0x5b8e61=_0x137a1c[_0x278990+0x6],_0x4205ec=_0x137a1c[_0x278990+0x7],_0x54dd89=_0x137a1c[_0x278990+0x8],_0x11370d=_0x137a1c[_0x278990+0x9],_0x12adfa=_0x137a1c[_0x278990+0xa],_0x2a279c=_0x137a1c[_0x278990+0xb],_0x6ed4c8=_0x137a1c[_0x278990+0xc],_0x48c178=_0x137a1c[_0x278990+0xd],_0x1a1be6=_0x137a1c[_0x278990+0xe],_0x4050f8=_0x137a1c[_0x278990+0xf],_0x577e9c=_0x291191[0x0],_0x4bab6e=_0x291191[0x1],_0xb5b865=_0x291191[0x2],_0x39b33d=_0x291191[0x3];_0x577e9c=_0x956b1a(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x2bb9ca,0x7,_0x5f4cb4[0x0]),_0x39b33d=_0x956b1a(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x42d14a,0xc,_0x5f4cb4[0x1]),_0xb5b865=_0x956b1a(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x3f5c2e,0x11,_0x5f4cb4[0x2]),_0x4bab6e=_0x956b1a(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x50654f,0x16,_0x5f4cb4[0x3]),_0x577e9c=_0x956b1a(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x43fe51,0x7,_0x5f4cb4[0x4]),_0x39b33d=_0x956b1a(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x5395db,0xc,_0x5f4cb4[0x5]),_0xb5b865=_0x956b1a(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x5b8e61,0x11,_0x5f4cb4[0x6]),_0x4bab6e=_0x956b1a(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x4205ec,0x16,_0x5f4cb4[0x7]),_0x577e9c=_0x956b1a(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x54dd89,0x7,_0x5f4cb4[0x8]),_0x39b33d=_0x956b1a(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x11370d,0xc,_0x5f4cb4[0x9]),_0xb5b865=_0x956b1a(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x12adfa,0x11,_0x5f4cb4[0xa]),_0x4bab6e=_0x956b1a(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x2a279c,0x16,_0x5f4cb4[0xb]),_0x577e9c=_0x956b1a(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x6ed4c8,0x7,_0x5f4cb4[0xc]),_0x39b33d=_0x956b1a(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x48c178,0xc,_0x5f4cb4[0xd]),_0xb5b865=_0x956b1a(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x1a1be6,0x11,_0x5f4cb4[0xe]),_0x4bab6e=_0x956b1a(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x4050f8,0x16,_0x5f4cb4[0xf]),_0x577e9c=_0x52fd4d(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x42d14a,0x5,_0x5f4cb4[0x10]),_0x39b33d=_0x52fd4d(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x5b8e61,0x9,_0x5f4cb4[0x11]),_0xb5b865=_0x52fd4d(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x2a279c,0xe,_0x5f4cb4[0x12]),_0x4bab6e=_0x52fd4d(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x2bb9ca,0x14,_0x5f4cb4[0x13]),_0x577e9c=_0x52fd4d(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x5395db,0x5,_0x5f4cb4[0x14]),_0x39b33d=_0x52fd4d(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x12adfa,0x9,_0x5f4cb4[0x15]),_0xb5b865=_0x52fd4d(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x4050f8,0xe,_0x5f4cb4[0x16]),_0x4bab6e=_0x52fd4d(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x43fe51,0x14,_0x5f4cb4[0x17]),_0x577e9c=_0x52fd4d(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x11370d,0x5,_0x5f4cb4[0x18]),_0x39b33d=_0x52fd4d(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x1a1be6,0x9,_0x5f4cb4[0x19]),_0xb5b865=_0x52fd4d(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x50654f,0xe,_0x5f4cb4[0x1a]),_0x4bab6e=_0x52fd4d(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x54dd89,0x14,_0x5f4cb4[0x1b]),_0x577e9c=_0x52fd4d(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x48c178,0x5,_0x5f4cb4[0x1c]),_0x39b33d=_0x52fd4d(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x3f5c2e,0x9,_0x5f4cb4[0x1d]),_0xb5b865=_0x52fd4d(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x4205ec,0xe,_0x5f4cb4[0x1e]),_0x4bab6e=_0x52fd4d(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x6ed4c8,0x14,_0x5f4cb4[0x1f]),_0x577e9c=_0x447d7f(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x5395db,0x4,_0x5f4cb4[0x20]),_0x39b33d=_0x447d7f(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x54dd89,0xb,_0x5f4cb4[0x21]),_0xb5b865=_0x447d7f(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x2a279c,0x10,_0x5f4cb4[0x22]),_0x4bab6e=_0x447d7f(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x1a1be6,0x17,_0x5f4cb4[0x23]),_0x577e9c=_0x447d7f(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x42d14a,0x4,_0x5f4cb4[0x24]),_0x39b33d=_0x447d7f(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x43fe51,0xb,_0x5f4cb4[0x25]),_0xb5b865=_0x447d7f(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x4205ec,0x10,_0x5f4cb4[0x26]),_0x4bab6e=_0x447d7f(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x12adfa,0x17,_0x5f4cb4[0x27]),_0x577e9c=_0x447d7f(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x48c178,0x4,_0x5f4cb4[0x28]),_0x39b33d=_0x447d7f(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x2bb9ca,0xb,_0x5f4cb4[0x29]),_0xb5b865=_0x447d7f(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x50654f,0x10,_0x5f4cb4[0x2a]),_0x4bab6e=_0x447d7f(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x5b8e61,0x17,_0x5f4cb4[0x2b]),_0x577e9c=_0x447d7f(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x11370d,0x4,_0x5f4cb4[0x2c]),_0x39b33d=_0x447d7f(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x6ed4c8,0xb,_0x5f4cb4[0x2d]),_0xb5b865=_0x447d7f(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x4050f8,0x10,_0x5f4cb4[0x2e]),_0x4bab6e=_0x447d7f(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x3f5c2e,0x17,_0x5f4cb4[0x2f]),_0x577e9c=_0x36f989(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x2bb9ca,0x6,_0x5f4cb4[0x30]),_0x39b33d=_0x36f989(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x4205ec,0xa,_0x5f4cb4[0x31]),_0xb5b865=_0x36f989(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x1a1be6,0xf,_0x5f4cb4[0x32]),_0x4bab6e=_0x36f989(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x5395db,0x15,_0x5f4cb4[0x33]),_0x577e9c=_0x36f989(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x6ed4c8,0x6,_0x5f4cb4[0x34]),_0x39b33d=_0x36f989(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x50654f,0xa,_0x5f4cb4[0x35]),_0xb5b865=_0x36f989(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x12adfa,0xf,_0x5f4cb4[0x36]),_0x4bab6e=_0x36f989(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x42d14a,0x15,_0x5f4cb4[0x37]),_0x577e9c=_0x36f989(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x54dd89,0x6,_0x5f4cb4[0x38]),_0x39b33d=_0x36f989(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x4050f8,0xa,_0x5f4cb4[0x39]),_0xb5b865=_0x36f989(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x5b8e61,0xf,_0x5f4cb4[0x3a]),_0x4bab6e=_0x36f989(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x48c178,0x15,_0x5f4cb4[0x3b]),_0x577e9c=_0x36f989(_0x577e9c,_0x4bab6e,_0xb5b865,_0x39b33d,_0x43fe51,0x6,_0x5f4cb4[0x3c]),_0x39b33d=_0x36f989(_0x39b33d,_0x577e9c,_0x4bab6e,_0xb5b865,_0x2a279c,0xa,_0x5f4cb4[0x3d]),_0xb5b865=_0x36f989(_0xb5b865,_0x39b33d,_0x577e9c,_0x4bab6e,_0x3f5c2e,0xf,_0x5f4cb4[0x3e]),_0x4bab6e=_0x36f989(_0x4bab6e,_0xb5b865,_0x39b33d,_0x577e9c,_0x11370d,0x15,_0x5f4cb4[0x3f]),_0x291191[0x0]=_0x291191[0x0]+_0x577e9c|0x0,_0x291191[0x1]=_0x291191[0x1]+_0x4bab6e|0x0,_0x291191[0x2]=_0x291191[0x2]+_0xb5b865|0x0,_0x291191[0x3]=_0x291191[0x3]+_0x39b33d|0x0;},'_doFinalize':function(){var _0x53e07f=_0x2976b8,_0x1cd103=this[_0x53e07f(0x29e)],_0x3e285d=_0x1cd103[_0x53e07f(0x326)],_0x5dcc20=this[_0x53e07f(0x1c5)]*0x8,_0x5e6dbb=_0x1cd103['sigBytes']*0x8;_0x3e285d[_0x5e6dbb>>>0x5]|=0x80<<0x18-_0x5e6dbb%0x20;var _0x2419a5=_0x27fcf3['floor'](_0x5dcc20/0x100000000),_0x191743=_0x5dcc20;_0x3e285d[(_0x5e6dbb+0x40>>>0x9<<0x4)+0xf]=(_0x2419a5<<0x8|_0x2419a5>>>0x18)&0xff00ff|(_0x2419a5<<0x18|_0x2419a5>>>0x8)&0xff00ff00,_0x3e285d[(_0x5e6dbb+0x40>>>0x9<<0x4)+0xe]=(_0x191743<<0x8|_0x191743>>>0x18)&0xff00ff|(_0x191743<<0x18|_0x191743>>>0x8)&0xff00ff00,_0x1cd103['sigBytes']=(_0x3e285d[_0x53e07f(0x317)]+0x1)*0x4,this[_0x53e07f(0x3f1)]();for(var _0x6a4b49=this[_0x53e07f(0x3a1)],_0x52cc73=_0x6a4b49[_0x53e07f(0x326)],_0x39814a=0x0;_0x39814a<0x4;_0x39814a++){var _0x5f1924=_0x52cc73[_0x39814a];_0x52cc73[_0x39814a]=(_0x5f1924<<0x8|_0x5f1924>>>0x18)&0xff00ff|(_0x5f1924<<0x18|_0x5f1924>>>0x8)&0xff00ff00;}return _0x6a4b49;},'clone':function(){var _0x342088=_0x2976b8,_0x101f87=_0x1f3d17[_0x342088(0x31a)][_0x342088(0x17e)](this);return _0x101f87[_0x342088(0x3a1)]=this[_0x342088(0x3a1)]['clone'](),_0x101f87;}});function _0x956b1a(_0x154b4a,_0x7146e7,_0x21c9d9,_0x42501d,_0x19cffc,_0x54bffe,_0x48cbf3){var _0x668dca=_0x154b4a+(_0x7146e7&_0x21c9d9|~_0x7146e7&_0x42501d)+_0x19cffc+_0x48cbf3;return(_0x668dca<<_0x54bffe|_0x668dca>>>0x20-_0x54bffe)+_0x7146e7;}function _0x52fd4d(_0x3ab84e,_0x24e5ee,_0x260c1d,_0x955762,_0x4a4522,_0x389e5d,_0x8a4d5b){var _0x4dd892=_0x3ab84e+(_0x24e5ee&_0x955762|_0x260c1d&~_0x955762)+_0x4a4522+_0x8a4d5b;return(_0x4dd892<<_0x389e5d|_0x4dd892>>>0x20-_0x389e5d)+_0x24e5ee;}function _0x447d7f(_0x34f578,_0x4fc768,_0x4bb585,_0x4b76ab,_0x52c8c1,_0x21b90c,_0x2ac198){var _0x426789=_0x34f578+(_0x4fc768^_0x4bb585^_0x4b76ab)+_0x52c8c1+_0x2ac198;return(_0x426789<<_0x21b90c|_0x426789>>>0x20-_0x21b90c)+_0x4fc768;}function _0x36f989(_0x48c21a,_0x3dc59a,_0x11c08c,_0x5db55a,_0x5d5630,_0x169362,_0x1c1359){var _0x58a334=_0x48c21a+(_0x11c08c^(_0x3dc59a|~_0x5db55a))+_0x5d5630+_0x1c1359;return(_0x58a334<<_0x169362|_0x58a334>>>0x20-_0x169362)+_0x3dc59a;}_0x51efd6[_0x2976b8(0x418)]=_0x1f3d17[_0x2976b8(0x20f)](_0x317e58),_0x51efd6['HmacMD5']=_0x1f3d17['_createHmacHelper'](_0x317e58);}(Math),_0x513838['MD5'];}));}(Ke)),Ke[_0x63292d(0x2dc)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x5e85b0(0x2dc)],ei;function Rs(){var _0x2bd53a=_0x5e85b0;return ei||(ei=0x1,function(_0x1075b2,_0x286ecb){(function(_0x7594c9,_0x2ea294){_0x1075b2['exports']=_0x2ea294(ie());}(Cs,function(_0x5d9fef){var _0x3c7b7e=_0x30b8;return(function(){var _0x43d50d=_0x30b8,_0x3193d7=_0x5d9fef,_0x5c532b=_0x3193d7[_0x43d50d(0x3f2)],_0x53c119=_0x5c532b['WordArray'],_0x3589d7=_0x5c532b[_0x43d50d(0x127)],_0x4523dd=_0x3193d7[_0x43d50d(0x203)],_0x48fd4e=[],_0x2bc43e=_0x4523dd[_0x43d50d(0x2b9)]=_0x3589d7['extend']({'_doReset':function(){var _0x5a8d33=_0x43d50d;this[_0x5a8d33(0x3a1)]=new _0x53c119[(_0x5a8d33(0x1a5))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x34a719,_0x3bd1f6){var _0x305813=_0x43d50d;for(var _0xed15e0=this['_hash'][_0x305813(0x326)],_0x4bce77=_0xed15e0[0x0],_0x34a34a=_0xed15e0[0x1],_0x2bb521=_0xed15e0[0x2],_0x514027=_0xed15e0[0x3],_0x40491f=_0xed15e0[0x4],_0x640ea5=0x0;_0x640ea5<0x50;_0x640ea5++){if(_0x640ea5<0x10)_0x48fd4e[_0x640ea5]=_0x34a719[_0x3bd1f6+_0x640ea5]|0x0;else{var _0x47a96c=_0x48fd4e[_0x640ea5-0x3]^_0x48fd4e[_0x640ea5-0x8]^_0x48fd4e[_0x640ea5-0xe]^_0x48fd4e[_0x640ea5-0x10];_0x48fd4e[_0x640ea5]=_0x47a96c<<0x1|_0x47a96c>>>0x1f;}var _0x4813c2=(_0x4bce77<<0x5|_0x4bce77>>>0x1b)+_0x40491f+_0x48fd4e[_0x640ea5];_0x640ea5<0x14?_0x4813c2+=(_0x34a34a&_0x2bb521|~_0x34a34a&_0x514027)+0x5a827999:_0x640ea5<0x28?_0x4813c2+=(_0x34a34a^_0x2bb521^_0x514027)+0x6ed9eba1:_0x640ea5<0x3c?_0x4813c2+=(_0x34a34a&_0x2bb521|_0x34a34a&_0x514027|_0x2bb521&_0x514027)-0x70e44324:_0x4813c2+=(_0x34a34a^_0x2bb521^_0x514027)-0x359d3e2a,_0x40491f=_0x514027,_0x514027=_0x2bb521,_0x2bb521=_0x34a34a<<0x1e|_0x34a34a>>>0x2,_0x34a34a=_0x4bce77,_0x4bce77=_0x4813c2;}_0xed15e0[0x0]=_0xed15e0[0x0]+_0x4bce77|0x0,_0xed15e0[0x1]=_0xed15e0[0x1]+_0x34a34a|0x0,_0xed15e0[0x2]=_0xed15e0[0x2]+_0x2bb521|0x0,_0xed15e0[0x3]=_0xed15e0[0x3]+_0x514027|0x0,_0xed15e0[0x4]=_0xed15e0[0x4]+_0x40491f|0x0;},'_doFinalize':function(){var _0x26228b=_0x43d50d,_0x43c6bd=this['_data'],_0x5a8334=_0x43c6bd[_0x26228b(0x326)],_0x328b09=this[_0x26228b(0x1c5)]*0x8,_0x373313=_0x43c6bd[_0x26228b(0x1e9)]*0x8;return _0x5a8334[_0x373313>>>0x5]|=0x80<<0x18-_0x373313%0x20,_0x5a8334[(_0x373313+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x328b09/0x100000000),_0x5a8334[(_0x373313+0x40>>>0x9<<0x4)+0xf]=_0x328b09,_0x43c6bd[_0x26228b(0x1e9)]=_0x5a8334[_0x26228b(0x317)]*0x4,this[_0x26228b(0x3f1)](),this[_0x26228b(0x3a1)];},'clone':function(){var _0x515852=_0x43d50d,_0x1069f9=_0x3589d7[_0x515852(0x31a)]['call'](this);return _0x1069f9[_0x515852(0x3a1)]=this[_0x515852(0x3a1)][_0x515852(0x31a)](),_0x1069f9;}});_0x3193d7['SHA1']=_0x3589d7[_0x43d50d(0x20f)](_0x2bc43e),_0x3193d7[_0x43d50d(0x360)]=_0x3589d7[_0x43d50d(0x389)](_0x2bc43e);}()),_0x5d9fef[_0x3c7b7e(0x2b9)];}));}(qe)),qe[_0x2bd53a(0x2dc)];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){return ti||(ti=0x1,function(_0x2f1b0f,_0x5c9c59){(function(_0xbfd6b5,_0x187a6c){var _0x537d21=_0x30b8;_0x2f1b0f[_0x537d21(0x2dc)]=_0x187a6c(ie());}(bs,function(_0x5743ff){(function(){var _0x3ce52f=_0x30b8,_0x320468=_0x5743ff,_0x4dd59e=_0x320468[_0x3ce52f(0x3f2)],_0x5446ec=_0x4dd59e[_0x3ce52f(0x1fd)],_0x460dfe=_0x320468[_0x3ce52f(0x2d1)],_0x378cc4=_0x460dfe['Utf8'],_0x1c0ce5=_0x320468[_0x3ce52f(0x203)];_0x1c0ce5['HMAC']=_0x5446ec['extend']({'init':function(_0x51265a,_0x5e0d77){var _0x34864c=_0x3ce52f;_0x51265a=this[_0x34864c(0x270)]=new _0x51265a[(_0x34864c(0x1a5))](),typeof _0x5e0d77==_0x34864c(0x1da)&&(_0x5e0d77=_0x378cc4['parse'](_0x5e0d77));var _0x52eb8a=_0x51265a['blockSize'],_0x2862a7=_0x52eb8a*0x4;_0x5e0d77[_0x34864c(0x1e9)]>_0x2862a7&&(_0x5e0d77=_0x51265a[_0x34864c(0x1ba)](_0x5e0d77)),_0x5e0d77[_0x34864c(0x354)]();for(var _0x19118b=this[_0x34864c(0x1dd)]=_0x5e0d77['clone'](),_0x8e83dc=this[_0x34864c(0x27c)]=_0x5e0d77[_0x34864c(0x31a)](),_0xcae5b8=_0x19118b[_0x34864c(0x326)],_0x3f3c73=_0x8e83dc[_0x34864c(0x326)],_0x335674=0x0;_0x335674<_0x52eb8a;_0x335674++)_0xcae5b8[_0x335674]^=0x5c5c5c5c,_0x3f3c73[_0x335674]^=0x36363636;_0x19118b[_0x34864c(0x1e9)]=_0x8e83dc[_0x34864c(0x1e9)]=_0x2862a7,this[_0x34864c(0x284)]();},'reset':function(){var _0x5bbb07=_0x3ce52f,_0x26fba1=this['_hasher'];_0x26fba1[_0x5bbb07(0x284)](),_0x26fba1[_0x5bbb07(0x3b2)](this[_0x5bbb07(0x27c)]);},'update':function(_0x3e7f9f){var _0x4144b7=_0x3ce52f;return this[_0x4144b7(0x270)][_0x4144b7(0x3b2)](_0x3e7f9f),this;},'finalize':function(_0x2138e3){var _0x286bae=_0x3ce52f,_0x282e21=this[_0x286bae(0x270)],_0x2bc622=_0x282e21[_0x286bae(0x1ba)](_0x2138e3);_0x282e21[_0x286bae(0x284)]();var _0x1b4161=_0x282e21[_0x286bae(0x1ba)](this[_0x286bae(0x1dd)][_0x286bae(0x31a)]()[_0x286bae(0x18e)](_0x2bc622));return _0x1b4161;}});}());}));}(ze)),ze['exports'];}var ys=Ye[_0x5e85b0(0x2dc)],ii;function Ui(){return ii||(ii=0x1,function(_0x2d3ed0,_0x1f3367){(function(_0x188291,_0x6f7c9d,_0x5c884c){var _0x199a16=_0x30b8;_0x2d3ed0[_0x199a16(0x2dc)]=_0x6f7c9d(ie(),Rs(),Os());}(ys,function(_0x4a7448){var _0x255b19=_0x30b8;return(function(){var _0x2a80dd=_0x30b8,_0x2af728=_0x4a7448,_0xf18812=_0x2af728[_0x2a80dd(0x3f2)],_0x44154e=_0xf18812[_0x2a80dd(0x1fd)],_0x45dcfc=_0xf18812[_0x2a80dd(0x14b)],_0x449b40=_0x2af728['algo'],_0x43e0d7=_0x449b40[_0x2a80dd(0x418)],_0x433e15=_0x449b40[_0x2a80dd(0x2e9)]=_0x44154e[_0x2a80dd(0x305)]({'cfg':_0x44154e['extend']({'keySize':0x80/0x20,'hasher':_0x43e0d7,'iterations':0x1}),'init':function(_0x5a67a9){var _0x181205=_0x2a80dd;this['cfg']=this[_0x181205(0x188)][_0x181205(0x305)](_0x5a67a9);},'compute':function(_0x4d829e,_0x46acdb){var _0x130604=_0x2a80dd;for(var _0x29fdc4,_0x122230=this[_0x130604(0x188)],_0x4c2db5=_0x122230['hasher'][_0x130604(0x131)](),_0x6c0a14=_0x45dcfc[_0x130604(0x131)](),_0x459b9d=_0x6c0a14[_0x130604(0x326)],_0x20093d=_0x122230['keySize'],_0x1b0363=_0x122230['iterations'];_0x459b9d[_0x130604(0x317)]<_0x20093d;){_0x29fdc4&&_0x4c2db5[_0x130604(0x3b2)](_0x29fdc4),_0x29fdc4=_0x4c2db5[_0x130604(0x3b2)](_0x4d829e)[_0x130604(0x1ba)](_0x46acdb),_0x4c2db5[_0x130604(0x284)]();for(var _0x1cf281=0x1;_0x1cf281<_0x1b0363;_0x1cf281++)_0x29fdc4=_0x4c2db5[_0x130604(0x1ba)](_0x29fdc4),_0x4c2db5[_0x130604(0x284)]();_0x6c0a14[_0x130604(0x18e)](_0x29fdc4);}return _0x6c0a14[_0x130604(0x1e9)]=_0x20093d*0x4,_0x6c0a14;}});_0x2af728[_0x2a80dd(0x2e9)]=function(_0x2116ea,_0x35ca7c,_0x4e6f46){var _0x5b1504=_0x2a80dd;return _0x433e15[_0x5b1504(0x131)](_0x4e6f46)[_0x5b1504(0x3e0)](_0x2116ea,_0x35ca7c);};}()),_0x4a7448[_0x255b19(0x2e9)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je[_0x5e85b0(0x2dc)],ni;function Ai(){var _0xc1eff9=_0x5e85b0;return ni||(ni=0x1,function(_0x51bae1,_0x45bc13){(function(_0x704733,_0x57fda4,_0x406725){_0x51bae1['exports']=_0x57fda4(ie(),Ui());}(Ns,function(_0x326bf7){var _0x1ca421=_0x30b8;_0x326bf7['lib'][_0x1ca421(0x132)]||function(_0x458de1){var _0x5aa909=_0x1ca421,_0x26685f=_0x326bf7,_0x116e42=_0x26685f['lib'],_0x11018b=_0x116e42[_0x5aa909(0x1fd)],_0x393a24=_0x116e42[_0x5aa909(0x14b)],_0x287693=_0x116e42[_0x5aa909(0x1f7)],_0x2c9a30=_0x26685f[_0x5aa909(0x2d1)];_0x2c9a30['Utf8'];var _0x4fc5bc=_0x2c9a30['Base64'],_0x566553=_0x26685f['algo'],_0x5922fc=_0x566553[_0x5aa909(0x2e9)],_0x4ed74d=_0x116e42[_0x5aa909(0x132)]=_0x287693[_0x5aa909(0x305)]({'cfg':_0x11018b['extend'](),'createEncryptor':function(_0x39885d,_0x3216e7){var _0x23129d=_0x5aa909;return this[_0x23129d(0x131)](this['_ENC_XFORM_MODE'],_0x39885d,_0x3216e7);},'createDecryptor':function(_0x2c8218,_0x38b298){var _0x2f51a6=_0x5aa909;return this[_0x2f51a6(0x131)](this['_DEC_XFORM_MODE'],_0x2c8218,_0x38b298);},'init':function(_0x4d9eab,_0x1a6946,_0x3a4a29){var _0x15dd5f=_0x5aa909;this['cfg']=this[_0x15dd5f(0x188)]['extend'](_0x3a4a29),this[_0x15dd5f(0x3ec)]=_0x4d9eab,this[_0x15dd5f(0x34a)]=_0x1a6946,this[_0x15dd5f(0x284)]();},'reset':function(){var _0x123f90=_0x5aa909;_0x287693[_0x123f90(0x284)][_0x123f90(0x17e)](this),this[_0x123f90(0x30e)]();},'process':function(_0x44536c){var _0x494611=_0x5aa909;return this['_append'](_0x44536c),this[_0x494611(0x3f1)]();},'finalize':function(_0x51c4da){var _0x10c0ac=_0x5aa909;_0x51c4da&&this[_0x10c0ac(0x2b8)](_0x51c4da);var _0x18f43e=this[_0x10c0ac(0x18d)]();return _0x18f43e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5a2c41(_0x385575){var _0x7647e=_0x30b8;return typeof _0x385575==_0x7647e(0x1da)?_0x201ef9:_0x568a89;}return function(_0x166da3){return{'encrypt':function(_0x478952,_0x25e7a0,_0x19b665){var _0x21d7ed=_0x30b8;return _0x5a2c41(_0x25e7a0)[_0x21d7ed(0x2a7)](_0x166da3,_0x478952,_0x25e7a0,_0x19b665);},'decrypt':function(_0xb1d1a4,_0x3b9e30,_0x3fe69d){return _0x5a2c41(_0x3b9e30)['decrypt'](_0x166da3,_0xb1d1a4,_0x3b9e30,_0x3fe69d);}};};}())});_0x116e42[_0x5aa909(0x28d)]=_0x4ed74d[_0x5aa909(0x305)]({'_doFinalize':function(){var _0x5c9f3b=_0x5aa909,_0x5ea79e=this[_0x5c9f3b(0x3f1)](!0x0);return _0x5ea79e;},'blockSize':0x1});var _0x14c739=_0x26685f[_0x5aa909(0x1ce)]={},_0xeace=_0x116e42[_0x5aa909(0x304)]=_0x11018b[_0x5aa909(0x305)]({'createEncryptor':function(_0x53ebe4,_0x10dd17){var _0x35cfe7=_0x5aa909;return this['Encryptor'][_0x35cfe7(0x131)](_0x53ebe4,_0x10dd17);},'createDecryptor':function(_0x49fd76,_0x4e0bb9){var _0x1b65cd=_0x5aa909;return this[_0x1b65cd(0x3f5)]['create'](_0x49fd76,_0x4e0bb9);},'init':function(_0x4e84db,_0x54f3ad){var _0x1af72c=_0x5aa909;this[_0x1af72c(0x17f)]=_0x4e84db,this[_0x1af72c(0x419)]=_0x54f3ad;}}),_0x423e27=_0x14c739[_0x5aa909(0x17a)]=(function(){var _0x8bc908=_0x5aa909,_0x1b3f0c=_0xeace[_0x8bc908(0x305)]();_0x1b3f0c[_0x8bc908(0x20c)]=_0x1b3f0c[_0x8bc908(0x305)]({'processBlock':function(_0x16aa91,_0x48e027){var _0x4a9767=_0x8bc908,_0x425e26=this[_0x4a9767(0x17f)],_0x1e1edc=_0x425e26[_0x4a9767(0x2e8)];_0x53eb3d[_0x4a9767(0x17e)](this,_0x16aa91,_0x48e027,_0x1e1edc),_0x425e26[_0x4a9767(0x244)](_0x16aa91,_0x48e027),this[_0x4a9767(0x1ed)]=_0x16aa91[_0x4a9767(0x3ae)](_0x48e027,_0x48e027+_0x1e1edc);}}),_0x1b3f0c[_0x8bc908(0x3f5)]=_0x1b3f0c[_0x8bc908(0x305)]({'processBlock':function(_0x3f4a3d,_0x2315c4){var _0x2ddf48=_0x8bc908,_0x422515=this[_0x2ddf48(0x17f)],_0x349a31=_0x422515['blockSize'],_0x46c12a=_0x3f4a3d[_0x2ddf48(0x3ae)](_0x2315c4,_0x2315c4+_0x349a31);_0x422515[_0x2ddf48(0x3b8)](_0x3f4a3d,_0x2315c4),_0x53eb3d[_0x2ddf48(0x17e)](this,_0x3f4a3d,_0x2315c4,_0x349a31),this[_0x2ddf48(0x1ed)]=_0x46c12a;}});function _0x53eb3d(_0x264d4a,_0xe86298,_0x1eafaf){var _0x1fbd27=_0x8bc908,_0x457706,_0x4a1c1a=this[_0x1fbd27(0x419)];_0x4a1c1a?(_0x457706=_0x4a1c1a,this['_iv']=_0x458de1):_0x457706=this[_0x1fbd27(0x1ed)];for(var _0x1fabea=0x0;_0x1fabea<_0x1eafaf;_0x1fabea++)_0x264d4a[_0xe86298+_0x1fabea]^=_0x457706[_0x1fabea];}return _0x1b3f0c;}()),_0x3ac3cf=_0x26685f[_0x5aa909(0x192)]={},_0x40e233=_0x3ac3cf[_0x5aa909(0x36f)]={'pad':function(_0x110786,_0x5c262a){var _0x19f546=_0x5aa909;for(var _0x57b678=_0x5c262a*0x4,_0x10238d=_0x57b678-_0x110786[_0x19f546(0x1e9)]%_0x57b678,_0x2d1925=_0x10238d<<0x18|_0x10238d<<0x10|_0x10238d<<0x8|_0x10238d,_0x342094=[],_0x3a39af=0x0;_0x3a39af<_0x10238d;_0x3a39af+=0x4)_0x342094[_0x19f546(0x1e3)](_0x2d1925);var _0x557531=_0x393a24['create'](_0x342094,_0x10238d);_0x110786[_0x19f546(0x18e)](_0x557531);},'unpad':function(_0x18f2c2){var _0x1f7591=_0x5aa909,_0x4d22c1=_0x18f2c2[_0x1f7591(0x326)][_0x18f2c2[_0x1f7591(0x1e9)]-0x1>>>0x2]&0xff;_0x18f2c2['sigBytes']-=_0x4d22c1;}};_0x116e42['BlockCipher']=_0x4ed74d[_0x5aa909(0x305)]({'cfg':_0x4ed74d[_0x5aa909(0x188)][_0x5aa909(0x305)]({'mode':_0x423e27,'padding':_0x40e233}),'reset':function(){var _0x483a0f=_0x5aa909,_0x6e0bac;_0x4ed74d[_0x483a0f(0x284)][_0x483a0f(0x17e)](this);var _0xd1d679=this[_0x483a0f(0x188)],_0x4f900c=_0xd1d679['iv'],_0x538db7=_0xd1d679[_0x483a0f(0x1ce)];this[_0x483a0f(0x3ec)]==this[_0x483a0f(0x20b)]?_0x6e0bac=_0x538db7[_0x483a0f(0x299)]:(_0x6e0bac=_0x538db7['createDecryptor'],this['_minBufferSize']=0x1),this[_0x483a0f(0x24f)]&&this['_mode'][_0x483a0f(0x252)]==_0x6e0bac?this['_mode'][_0x483a0f(0x1a5)](this,_0x4f900c&&_0x4f900c[_0x483a0f(0x326)]):(this[_0x483a0f(0x24f)]=_0x6e0bac[_0x483a0f(0x17e)](_0x538db7,this,_0x4f900c&&_0x4f900c[_0x483a0f(0x326)]),this[_0x483a0f(0x24f)][_0x483a0f(0x252)]=_0x6e0bac);},'_doProcessBlock':function(_0x1559b1,_0x58f08e){var _0x5a8fe6=_0x5aa909;this[_0x5a8fe6(0x24f)][_0x5a8fe6(0x2e0)](_0x1559b1,_0x58f08e);},'_doFinalize':function(){var _0x5a7526=_0x5aa909,_0x26a5d6,_0x191be0=this[_0x5a7526(0x188)][_0x5a7526(0x3ca)];return this[_0x5a7526(0x3ec)]==this[_0x5a7526(0x20b)]?(_0x191be0[_0x5a7526(0x192)](this[_0x5a7526(0x29e)],this[_0x5a7526(0x2e8)]),_0x26a5d6=this[_0x5a7526(0x3f1)](!0x0)):(_0x26a5d6=this[_0x5a7526(0x3f1)](!0x0),_0x191be0[_0x5a7526(0x298)](_0x26a5d6)),_0x26a5d6;},'blockSize':0x80/0x20});var _0x36432a=_0x116e42[_0x5aa909(0x41f)]=_0x11018b[_0x5aa909(0x305)]({'init':function(_0x4a7f5e){var _0x1ed72d=_0x5aa909;this[_0x1ed72d(0x180)](_0x4a7f5e);},'toString':function(_0x3b3e40){var _0xeabea3=_0x5aa909;return(_0x3b3e40||this[_0xeabea3(0x3b3)])[_0xeabea3(0x2a9)](this);}}),_0x7b5b97=_0x26685f[_0x5aa909(0x18c)]={},_0x3a1a5f=_0x7b5b97['OpenSSL']={'stringify':function(_0x1cc851){var _0x281789=_0x5aa909,_0x50e14b,_0x5ea730=_0x1cc851[_0x281789(0x207)],_0x24d6e3=_0x1cc851[_0x281789(0x245)];return _0x24d6e3?_0x50e14b=_0x393a24[_0x281789(0x131)]([0x53616c74,0x65645f5f])[_0x281789(0x18e)](_0x24d6e3)[_0x281789(0x18e)](_0x5ea730):_0x50e14b=_0x5ea730,_0x50e14b[_0x281789(0x199)](_0x4fc5bc);},'parse':function(_0x44f116){var _0x203215=_0x5aa909,_0xf14735,_0x46d20a=_0x4fc5bc[_0x203215(0x2aa)](_0x44f116),_0x159ccb=_0x46d20a['words'];return _0x159ccb[0x0]==0x53616c74&&_0x159ccb[0x1]==0x65645f5f&&(_0xf14735=_0x393a24[_0x203215(0x131)](_0x159ccb[_0x203215(0x3ae)](0x2,0x4)),_0x159ccb['splice'](0x0,0x4),_0x46d20a[_0x203215(0x1e9)]-=0x10),_0x36432a[_0x203215(0x131)]({'ciphertext':_0x46d20a,'salt':_0xf14735});}},_0x568a89=_0x116e42['SerializableCipher']=_0x11018b[_0x5aa909(0x305)]({'cfg':_0x11018b[_0x5aa909(0x305)]({'format':_0x3a1a5f}),'encrypt':function(_0x26ca1b,_0x536223,_0x3dbc6e,_0x1aa408){var _0xa100e2=_0x5aa909;_0x1aa408=this[_0xa100e2(0x188)][_0xa100e2(0x305)](_0x1aa408);var _0x42474f=_0x26ca1b[_0xa100e2(0x299)](_0x3dbc6e,_0x1aa408),_0x152bc7=_0x42474f['finalize'](_0x536223),_0x2fc6f8=_0x42474f[_0xa100e2(0x188)];return _0x36432a[_0xa100e2(0x131)]({'ciphertext':_0x152bc7,'key':_0x3dbc6e,'iv':_0x2fc6f8['iv'],'algorithm':_0x26ca1b,'mode':_0x2fc6f8[_0xa100e2(0x1ce)],'padding':_0x2fc6f8[_0xa100e2(0x3ca)],'blockSize':_0x26ca1b[_0xa100e2(0x2e8)],'formatter':_0x1aa408[_0xa100e2(0x18c)]});},'decrypt':function(_0x9576c,_0x42c80b,_0x661c63,_0x1845f8){var _0x9a0b2c=_0x5aa909;_0x1845f8=this[_0x9a0b2c(0x188)][_0x9a0b2c(0x305)](_0x1845f8),_0x42c80b=this[_0x9a0b2c(0x30f)](_0x42c80b,_0x1845f8[_0x9a0b2c(0x18c)]);var _0x51ad60=_0x9576c[_0x9a0b2c(0x2a8)](_0x661c63,_0x1845f8)[_0x9a0b2c(0x1ba)](_0x42c80b[_0x9a0b2c(0x207)]);return _0x51ad60;},'_parse':function(_0x26db0b,_0x4e28ad){var _0x3eb169=_0x5aa909;return typeof _0x26db0b=='string'?_0x4e28ad[_0x3eb169(0x2aa)](_0x26db0b,this):_0x26db0b;}}),_0x4b4bed=_0x26685f['kdf']={},_0x38b2a8=_0x4b4bed[_0x5aa909(0x3ac)]={'execute':function(_0x2c5d46,_0x6da848,_0x5980cc,_0x482af7,_0x5e4474){var _0x13c01e=_0x5aa909;if(_0x482af7||(_0x482af7=_0x393a24[_0x13c01e(0x238)](0x40/0x8)),_0x5e4474)var _0x5d55a2=_0x5922fc[_0x13c01e(0x131)]({'keySize':_0x6da848+_0x5980cc,'hasher':_0x5e4474})[_0x13c01e(0x3e0)](_0x2c5d46,_0x482af7);else var _0x5d55a2=_0x5922fc[_0x13c01e(0x131)]({'keySize':_0x6da848+_0x5980cc})[_0x13c01e(0x3e0)](_0x2c5d46,_0x482af7);var _0xcdf069=_0x393a24['create'](_0x5d55a2[_0x13c01e(0x326)][_0x13c01e(0x3ae)](_0x6da848),_0x5980cc*0x4);return _0x5d55a2[_0x13c01e(0x1e9)]=_0x6da848*0x4,_0x36432a[_0x13c01e(0x131)]({'key':_0x5d55a2,'iv':_0xcdf069,'salt':_0x482af7});}},_0x201ef9=_0x116e42[_0x5aa909(0x390)]=_0x568a89[_0x5aa909(0x305)]({'cfg':_0x568a89[_0x5aa909(0x188)]['extend']({'kdf':_0x38b2a8}),'encrypt':function(_0x1d22fb,_0x11a9b5,_0x4c2f38,_0x37e3bc){var _0x53fea2=_0x5aa909;_0x37e3bc=this[_0x53fea2(0x188)][_0x53fea2(0x305)](_0x37e3bc);var _0x171f6b=_0x37e3bc['kdf']['execute'](_0x4c2f38,_0x1d22fb['keySize'],_0x1d22fb[_0x53fea2(0x3c9)],_0x37e3bc[_0x53fea2(0x245)],_0x37e3bc[_0x53fea2(0x158)]);_0x37e3bc['iv']=_0x171f6b['iv'];var _0x4580ab=_0x568a89[_0x53fea2(0x2a7)][_0x53fea2(0x17e)](this,_0x1d22fb,_0x11a9b5,_0x171f6b[_0x53fea2(0x268)],_0x37e3bc);return _0x4580ab['mixIn'](_0x171f6b),_0x4580ab;},'decrypt':function(_0xd199b0,_0x4d46f3,_0x50d867,_0x501d06){var _0x5c22f4=_0x5aa909;_0x501d06=this[_0x5c22f4(0x188)][_0x5c22f4(0x305)](_0x501d06),_0x4d46f3=this['_parse'](_0x4d46f3,_0x501d06[_0x5c22f4(0x18c)]);var _0x5a0d00=_0x501d06[_0x5c22f4(0x3cb)][_0x5c22f4(0x1b8)](_0x50d867,_0xd199b0[_0x5c22f4(0x2b7)],_0xd199b0[_0x5c22f4(0x3c9)],_0x4d46f3[_0x5c22f4(0x245)],_0x501d06[_0x5c22f4(0x158)]);_0x501d06['iv']=_0x5a0d00['iv'];var _0x389bf0=_0x568a89['decrypt'][_0x5c22f4(0x17e)](this,_0xd199b0,_0x4d46f3,_0x5a0d00[_0x5c22f4(0x268)],_0x501d06);return _0x389bf0;}});}();}));}(Je)),Je[_0xc1eff9(0x2dc)];}var Ds=Ve[_0x5e85b0(0x2dc)],si;function Us(){var _0x373c92=_0x5e85b0;return si||(si=0x1,function(_0x5e24bf,_0x5cf821){(function(_0x253948,_0x384706,_0x259a44){var _0x5112f0=_0x30b8;_0x5e24bf[_0x5112f0(0x2dc)]=_0x384706(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x52bd8f){var _0x11abec=_0x30b8;return(function(){var _0x44a611=_0x30b8,_0x27e233=_0x52bd8f,_0x321a63=_0x27e233[_0x44a611(0x3f2)],_0x649fd5=_0x321a63[_0x44a611(0x1ff)],_0x2b7ac7=_0x27e233[_0x44a611(0x203)],_0x1ac983=[],_0x14e234=[],_0x2ab619=[],_0x4f7de3=[],_0x3f73ed=[],_0x47cab5=[],_0x3dc089=[],_0x5650e2=[],_0x101ce1=[],_0x51ed0b=[];(function(){for(var _0x3d1293=[],_0x5405ab=0x0;_0x5405ab<0x100;_0x5405ab++)_0x5405ab<0x80?_0x3d1293[_0x5405ab]=_0x5405ab<<0x1:_0x3d1293[_0x5405ab]=_0x5405ab<<0x1^0x11b;for(var _0x3f3868=0x0,_0x4c5ca3=0x0,_0x5405ab=0x0;_0x5405ab<0x100;_0x5405ab++){var _0x3eaf6b=_0x4c5ca3^_0x4c5ca3<<0x1^_0x4c5ca3<<0x2^_0x4c5ca3<<0x3^_0x4c5ca3<<0x4;_0x3eaf6b=_0x3eaf6b>>>0x8^_0x3eaf6b&0xff^0x63,_0x1ac983[_0x3f3868]=_0x3eaf6b,_0x14e234[_0x3eaf6b]=_0x3f3868;var _0x3610b0=_0x3d1293[_0x3f3868],_0x3bb373=_0x3d1293[_0x3610b0],_0x4ff0ed=_0x3d1293[_0x3bb373],_0xbc4fb1=_0x3d1293[_0x3eaf6b]*0x101^_0x3eaf6b*0x1010100;_0x2ab619[_0x3f3868]=_0xbc4fb1<<0x18|_0xbc4fb1>>>0x8,_0x4f7de3[_0x3f3868]=_0xbc4fb1<<0x10|_0xbc4fb1>>>0x10,_0x3f73ed[_0x3f3868]=_0xbc4fb1<<0x8|_0xbc4fb1>>>0x18,_0x47cab5[_0x3f3868]=_0xbc4fb1;var _0xbc4fb1=_0x4ff0ed*0x1010101^_0x3bb373*0x10001^_0x3610b0*0x101^_0x3f3868*0x1010100;_0x3dc089[_0x3eaf6b]=_0xbc4fb1<<0x18|_0xbc4fb1>>>0x8,_0x5650e2[_0x3eaf6b]=_0xbc4fb1<<0x10|_0xbc4fb1>>>0x10,_0x101ce1[_0x3eaf6b]=_0xbc4fb1<<0x8|_0xbc4fb1>>>0x18,_0x51ed0b[_0x3eaf6b]=_0xbc4fb1,_0x3f3868?(_0x3f3868=_0x3610b0^_0x3d1293[_0x3d1293[_0x3d1293[_0x4ff0ed^_0x3610b0]]],_0x4c5ca3^=_0x3d1293[_0x3d1293[_0x4c5ca3]]):_0x3f3868=_0x4c5ca3=0x1;}}());var _0x54e453=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x460a99=_0x2b7ac7[_0x44a611(0x3de)]=_0x649fd5[_0x44a611(0x305)]({'_doReset':function(){var _0x431d90=_0x44a611,_0x5d308b;if(!(this[_0x431d90(0x36c)]&&this['_keyPriorReset']===this[_0x431d90(0x34a)])){for(var _0x50ead8=this[_0x431d90(0x380)]=this['_key'],_0x10a247=_0x50ead8[_0x431d90(0x326)],_0x295d14=_0x50ead8[_0x431d90(0x1e9)]/0x4,_0xe7df23=this[_0x431d90(0x36c)]=_0x295d14+0x6,_0x1db88a=(_0xe7df23+0x1)*0x4,_0x12dc6d=this['_keySchedule']=[],_0x183893=0x0;_0x183893<_0x1db88a;_0x183893++)_0x183893<_0x295d14?_0x12dc6d[_0x183893]=_0x10a247[_0x183893]:(_0x5d308b=_0x12dc6d[_0x183893-0x1],_0x183893%_0x295d14?_0x295d14>0x6&&_0x183893%_0x295d14==0x4&&(_0x5d308b=_0x1ac983[_0x5d308b>>>0x18]<<0x18|_0x1ac983[_0x5d308b>>>0x10&0xff]<<0x10|_0x1ac983[_0x5d308b>>>0x8&0xff]<<0x8|_0x1ac983[_0x5d308b&0xff]):(_0x5d308b=_0x5d308b<<0x8|_0x5d308b>>>0x18,_0x5d308b=_0x1ac983[_0x5d308b>>>0x18]<<0x18|_0x1ac983[_0x5d308b>>>0x10&0xff]<<0x10|_0x1ac983[_0x5d308b>>>0x8&0xff]<<0x8|_0x1ac983[_0x5d308b&0xff],_0x5d308b^=_0x54e453[_0x183893/_0x295d14|0x0]<<0x18),_0x12dc6d[_0x183893]=_0x12dc6d[_0x183893-_0x295d14]^_0x5d308b);for(var _0x26daf7=this[_0x431d90(0x343)]=[],_0x358d0c=0x0;_0x358d0c<_0x1db88a;_0x358d0c++){var _0x183893=_0x1db88a-_0x358d0c;if(_0x358d0c%0x4)var _0x5d308b=_0x12dc6d[_0x183893];else var _0x5d308b=_0x12dc6d[_0x183893-0x4];_0x358d0c<0x4||_0x183893<=0x4?_0x26daf7[_0x358d0c]=_0x5d308b:_0x26daf7[_0x358d0c]=_0x3dc089[_0x1ac983[_0x5d308b>>>0x18]]^_0x5650e2[_0x1ac983[_0x5d308b>>>0x10&0xff]]^_0x101ce1[_0x1ac983[_0x5d308b>>>0x8&0xff]]^_0x51ed0b[_0x1ac983[_0x5d308b&0xff]];}}},'encryptBlock':function(_0x4b5346,_0x131236){var _0x3b852e=_0x44a611;this[_0x3b852e(0x1f0)](_0x4b5346,_0x131236,this[_0x3b852e(0x25e)],_0x2ab619,_0x4f7de3,_0x3f73ed,_0x47cab5,_0x1ac983);},'decryptBlock':function(_0x14865b,_0x12fa51){var _0xc3e007=_0x44a611,_0x4bee3b=_0x14865b[_0x12fa51+0x1];_0x14865b[_0x12fa51+0x1]=_0x14865b[_0x12fa51+0x3],_0x14865b[_0x12fa51+0x3]=_0x4bee3b,this[_0xc3e007(0x1f0)](_0x14865b,_0x12fa51,this[_0xc3e007(0x343)],_0x3dc089,_0x5650e2,_0x101ce1,_0x51ed0b,_0x14e234);var _0x4bee3b=_0x14865b[_0x12fa51+0x1];_0x14865b[_0x12fa51+0x1]=_0x14865b[_0x12fa51+0x3],_0x14865b[_0x12fa51+0x3]=_0x4bee3b;},'_doCryptBlock':function(_0x4d9d2c,_0x1085de,_0x55825e,_0x333817,_0x553fe8,_0xb57a80,_0x4ba090,_0x2704a7){var _0x2b7455=_0x44a611;for(var _0x2e19af=this[_0x2b7455(0x36c)],_0xddd4a5=_0x4d9d2c[_0x1085de]^_0x55825e[0x0],_0x5ca8b2=_0x4d9d2c[_0x1085de+0x1]^_0x55825e[0x1],_0x260658=_0x4d9d2c[_0x1085de+0x2]^_0x55825e[0x2],_0x1e6f62=_0x4d9d2c[_0x1085de+0x3]^_0x55825e[0x3],_0x9b6a08=0x4,_0x2e0b70=0x1;_0x2e0b70<_0x2e19af;_0x2e0b70++){var _0x6e8d8e=_0x333817[_0xddd4a5>>>0x18]^_0x553fe8[_0x5ca8b2>>>0x10&0xff]^_0xb57a80[_0x260658>>>0x8&0xff]^_0x4ba090[_0x1e6f62&0xff]^_0x55825e[_0x9b6a08++],_0x3f38e1=_0x333817[_0x5ca8b2>>>0x18]^_0x553fe8[_0x260658>>>0x10&0xff]^_0xb57a80[_0x1e6f62>>>0x8&0xff]^_0x4ba090[_0xddd4a5&0xff]^_0x55825e[_0x9b6a08++],_0x31dd40=_0x333817[_0x260658>>>0x18]^_0x553fe8[_0x1e6f62>>>0x10&0xff]^_0xb57a80[_0xddd4a5>>>0x8&0xff]^_0x4ba090[_0x5ca8b2&0xff]^_0x55825e[_0x9b6a08++],_0x7b9071=_0x333817[_0x1e6f62>>>0x18]^_0x553fe8[_0xddd4a5>>>0x10&0xff]^_0xb57a80[_0x5ca8b2>>>0x8&0xff]^_0x4ba090[_0x260658&0xff]^_0x55825e[_0x9b6a08++];_0xddd4a5=_0x6e8d8e,_0x5ca8b2=_0x3f38e1,_0x260658=_0x31dd40,_0x1e6f62=_0x7b9071;}var _0x6e8d8e=(_0x2704a7[_0xddd4a5>>>0x18]<<0x18|_0x2704a7[_0x5ca8b2>>>0x10&0xff]<<0x10|_0x2704a7[_0x260658>>>0x8&0xff]<<0x8|_0x2704a7[_0x1e6f62&0xff])^_0x55825e[_0x9b6a08++],_0x3f38e1=(_0x2704a7[_0x5ca8b2>>>0x18]<<0x18|_0x2704a7[_0x260658>>>0x10&0xff]<<0x10|_0x2704a7[_0x1e6f62>>>0x8&0xff]<<0x8|_0x2704a7[_0xddd4a5&0xff])^_0x55825e[_0x9b6a08++],_0x31dd40=(_0x2704a7[_0x260658>>>0x18]<<0x18|_0x2704a7[_0x1e6f62>>>0x10&0xff]<<0x10|_0x2704a7[_0xddd4a5>>>0x8&0xff]<<0x8|_0x2704a7[_0x5ca8b2&0xff])^_0x55825e[_0x9b6a08++],_0x7b9071=(_0x2704a7[_0x1e6f62>>>0x18]<<0x18|_0x2704a7[_0xddd4a5>>>0x10&0xff]<<0x10|_0x2704a7[_0x5ca8b2>>>0x8&0xff]<<0x8|_0x2704a7[_0x260658&0xff])^_0x55825e[_0x9b6a08++];_0x4d9d2c[_0x1085de]=_0x6e8d8e,_0x4d9d2c[_0x1085de+0x1]=_0x3f38e1,_0x4d9d2c[_0x1085de+0x2]=_0x31dd40,_0x4d9d2c[_0x1085de+0x3]=_0x7b9071;},'keySize':0x100/0x20});_0x27e233[_0x44a611(0x3de)]=_0x649fd5['_createHelper'](_0x460a99);}()),_0x52bd8f[_0x11abec(0x3de)];}));}(Ve)),Ve[_0x373c92(0x2dc)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x5e85b0(0x2dc)],ai;function xs(){return ai||(ai=0x1,function(_0x2c6950,_0x58cea8){(function(_0x23ad8e,_0x2d72cf){_0x2c6950['exports']=_0x2d72cf(ie());}(Ls,function(_0x58c566){var _0x1ca3b3=_0x30b8;return _0x58c566[_0x1ca3b3(0x2d1)][_0x1ca3b3(0x345)];}));}(Xe)),Xe['exports'];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x5e85b0(0x2dc)],oi;function Hs(){var _0xe60069=_0x5e85b0;return oi||(oi=0x1,function(_0x379759,_0x3b4754){(function(_0x5b06b5,_0x3df177){var _0x25aaff=_0x30b8;_0x379759[_0x25aaff(0x2dc)]=_0x3df177(ie());}($s,function(_0x97214d){var _0x1ddfbe=_0x30b8;return(function(){var _0x15e644=_0x30b8;if(typeof ArrayBuffer==_0x15e644(0x1b5)){var _0x2437d9=_0x97214d,_0xf5d308=_0x2437d9[_0x15e644(0x3f2)],_0x264be3=_0xf5d308[_0x15e644(0x14b)],_0x4de550=_0x264be3[_0x15e644(0x1a5)],_0x3f8bc4=_0x264be3['init']=function(_0x56a93a){var _0x3be6fd=_0x15e644;if(_0x56a93a instanceof ArrayBuffer&&(_0x56a93a=new Uint8Array(_0x56a93a)),(_0x56a93a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x56a93a instanceof Uint8ClampedArray||_0x56a93a instanceof Int16Array||_0x56a93a instanceof Uint16Array||_0x56a93a instanceof Int32Array||_0x56a93a instanceof Uint32Array||_0x56a93a instanceof Float32Array||_0x56a93a instanceof Float64Array)&&(_0x56a93a=new Uint8Array(_0x56a93a[_0x3be6fd(0x294)],_0x56a93a[_0x3be6fd(0x19f)],_0x56a93a[_0x3be6fd(0x2c2)])),_0x56a93a instanceof Uint8Array){for(var _0x46eefb=_0x56a93a[_0x3be6fd(0x2c2)],_0x32f27d=[],_0x5ee8a6=0x0;_0x5ee8a6<_0x46eefb;_0x5ee8a6++)_0x32f27d[_0x5ee8a6>>>0x2]|=_0x56a93a[_0x5ee8a6]<<0x18-_0x5ee8a6%0x4*0x8;_0x4de550['call'](this,_0x32f27d,_0x46eefb);}else _0x4de550[_0x3be6fd(0x2dd)](this,arguments);};_0x3f8bc4[_0x15e644(0x282)]=_0x264be3;}}()),_0x97214d[_0x1ddfbe(0x3f2)][_0x1ddfbe(0x14b)];}));}(Ze)),Ze[_0xe60069(0x2dc)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x5e85b0(0x2dc)],ci;function Vs(){var _0x5a376b=_0x5e85b0;return ci||(ci=0x1,function(_0x6b4104,_0xb79a0d){(function(_0x474dc4,_0x523eea,_0x34950a){_0x6b4104['exports']=_0x523eea(ie(),Ai());}(Fs,function(_0x298aef){var _0x322e74=_0x30b8;return _0x298aef[_0x322e74(0x192)][_0x322e74(0x295)]={'pad':function(){},'unpad':function(){}},_0x298aef[_0x322e74(0x192)]['NoPadding'];}));}(Qe)),Qe[_0x5a376b(0x2dc)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x381224,_0x493936){var _0xdb43d4=_0x5e85b0;const _0xf029d1=_0x493936-_0x381224[_0xdb43d4(0x317)]%_0x493936,_0x5ac46b=String[_0xdb43d4(0x39b)](_0xf029d1)[_0xdb43d4(0x303)](_0xf029d1);return _0x381224+_0x5ac46b;}function Ys(_0x4bc5f2,_0x35efd9){var _0x1e6060=_0x5e85b0;const _0x176ad0=js['random'](0x10),_0x46bc86=Ks(_0x4bc5f2,0x10),_0x3fd0c3=ws[_0x1e6060(0x2a7)](ks[_0x1e6060(0x2aa)](_0x46bc86),ri[_0x1e6060(0x2aa)](_0x35efd9),{'iv':_0x176ad0,'padding':Ws});return _0x176ad0[_0x1e6060(0x18e)](_0x3fd0c3['ciphertext'])['toString'](ri);}function qs(){var _0xb5e46d=_0x5e85b0;const _0x1ef37a=_0x301c5d()[_0xb5e46d(0x370)];if(_0x1ef37a){const _0x4f66db={'time':Math[_0xb5e46d(0x20a)](Date[_0xb5e46d(0x3c1)]()/0x3e8),'domain':location[_0xb5e46d(0x234)]};return Ys(JSON[_0xb5e46d(0x2a9)](_0x4f66db),_0x1ef37a);}}var zs=Object[_0x5e85b0(0x3b0)],Js=(_0x135b44,_0xa2a40c,_0x131f6d,_0x30adf3)=>{for(var _0x1188bc=_0x30adf3>0x1?void 0x0:_0x30adf3?zs(_0xa2a40c,_0x131f6d):_0xa2a40c,_0x436d74=_0x135b44['length']-0x1,_0x12f69c;_0x436d74>=0x0;_0x436d74--)(_0x12f69c=_0x135b44[_0x436d74])&&(_0x1188bc=_0x12f69c(_0x1188bc)||_0x1188bc);return _0x1188bc;},Xs=(_0x31ac9a,_0x3f0a05)=>(_0x58c9e8,_0xa64ca5)=>_0x3f0a05(_0x58c9e8,_0xa64ca5,_0x31ac9a);let at=class{constructor(_0x1be80b){this['_httpService']=_0x1be80b,this['_initRequestHeader']();}[_0x5e85b0(0x316)](){var _0xe43867=_0x5e85b0;this[_0xe43867(0x40b)][_0xe43867(0x1a2)]({'interceptor':(_0x5b31a4,_0x54c616)=>{var _0x4b6482=_0xe43867;const _0xa5a3c2=_0x5b31a4[_0x4b6482(0x3b4)],_0x20d8ce=qs();return _0x20d8ce&&_0xa5a3c2[_0x4b6482(0x28a)]('x-univer-host',_0x20d8ce),_0x54c616(_0x5b31a4);}});}};at=Js([Xs(0x0,_0x4e6a0f(_0x4dfb46))],at);var Zs=Object[_0x5e85b0(0x3b0)],Qs=(_0x2d009f,_0x514414,_0x3a0f83,_0x3b9e93)=>{var _0x25322a=_0x5e85b0;for(var _0x58013c=_0x3b9e93>0x1?void 0x0:_0x3b9e93?Zs(_0x514414,_0x3a0f83):_0x514414,_0x44bc1=_0x2d009f[_0x25322a(0x317)]-0x1,_0x3007da;_0x44bc1>=0x0;_0x44bc1--)(_0x3007da=_0x2d009f[_0x44bc1])&&(_0x58013c=_0x3007da(_0x58013c)||_0x58013c);return _0x58013c;},mt=(_0x12f614,_0x16100a)=>(_0xf7c33,_0x285421)=>_0x16100a(_0xf7c33,_0x285421,_0x12f614);function _0x30b8(_0x27045a,_0x8e42bc){var _0x4c89eb=_0x4c89();return _0x30b8=function(_0x30b811,_0x32ccbc){_0x30b811=_0x30b811-0x120;var _0x2c8353=_0x4c89eb[_0x30b811];return _0x2c8353;},_0x30b8(_0x27045a,_0x8e42bc);}let bt=class extends _0x5d06b1{constructor(_0x10a4aa,_0x50fd45,_0x16f281){var _0xb12da8=_0x5e85b0;super(),N(this,_0xb12da8(0x36b),new _0x5a2e2c(null)),N(this,'unitInfo$',this[_0xb12da8(0x36b)][_0xb12da8(0x175)]()),(this[_0xb12da8(0x154)]=_0x10a4aa,this['_snapshotService']=_0x50fd45,this[_0xb12da8(0x3f0)]=_0x16f281);}async[_0x5e85b0(0x1ab)](_0x63b8e5,_0x16a0c3,_0x3d97ff){var _0x392ea8=_0x5e85b0;this[_0x392ea8(0x36b)][_0x392ea8(0x2ce)]({'unitId':_0x63b8e5,'type':_0x16a0c3,'subUnitId':_0x3d97ff});let _0x2424d3=null;switch(_0x16a0c3){case Q[_0x392ea8(0x26b)]:{_0x2424d3=await this[_0x392ea8(0x400)](_0x63b8e5);break;}case Q[_0x392ea8(0x1dc)]:{_0x2424d3=await this['_loadDoc'](_0x63b8e5);break;}default:{this[_0x392ea8(0x154)]['error'](_0x392ea8(0x22a),_0x392ea8(0x2c7));break;}}return _0x2424d3;}async[_0x5e85b0(0x400)](_0x3eda70){var _0x109af4=_0x5e85b0,_0x25d170;let _0x2cea1c=0x0;const _0x5e4df9=await((_0x25d170=this[_0x109af4(0x3f0)])==null?void 0x0:_0x25d170[_0x109af4(0x2e1)](_0x3eda70));return _0x5e4df9&&(_0x5e4df9[_0x109af4(0x2cd)]||_0x5e4df9[_0x109af4(0x126)][_0x109af4(0x317)]!==0x0)&&(_0x2cea1c=_0x5e4df9['rev']),_0x2cea1c===0x0&&this['_logService']['debug'](_0x109af4(0x22a),_0x109af4(0x2cf)),this[_0x109af4(0x38d)][_0x109af4(0x1cb)](_0x3eda70,_0x2cea1c);}async[_0x5e85b0(0x33d)](_0x35cfbe){var _0x46397e=_0x5e85b0,_0x20b3f3;let _0x4cf007=0x0;const _0x4d0b69=await((_0x20b3f3=this['_localCacheService'])==null?void 0x0:_0x20b3f3[_0x46397e(0x2e1)](_0x35cfbe));return _0x4d0b69&&(_0x4d0b69['awaitingChangeset']||_0x4d0b69['mutations'][_0x46397e(0x317)]!==0x0)&&(_0x4cf007=_0x4d0b69['rev']),_0x4cf007===0x0&&this[_0x46397e(0x154)][_0x46397e(0x156)]('[DataLoaderService]',_0x46397e(0x2cf)),this[_0x46397e(0x38d)][_0x46397e(0x25c)](_0x35cfbe,_0x4cf007);}};bt=Qs([mt(0x0,_0x4f17e2),mt(0x1,_0x4e6a0f(_0x29da2c)),mt(0x2,_0x8e5208(J))],bt);var er=Object[_0x5e85b0(0x3b0)],tr=(_0xf618a2,_0x503358,_0x4fcbe5,_0x397f2e)=>{for(var _0x29ed26=_0x397f2e>0x1?void 0x0:_0x397f2e?er(_0x503358,_0x4fcbe5):_0x503358,_0x1a487a=_0xf618a2['length']-0x1,_0x1e7881;_0x1a487a>=0x0;_0x1a487a--)(_0x1e7881=_0xf618a2[_0x1a487a])&&(_0x29ed26=_0x1e7881(_0x29ed26)||_0x29ed26);return _0x29ed26;},gt=(_0x3c3574,_0x4b8d4a)=>(_0x40f014,_0x1ee227)=>_0x4b8d4a(_0x40f014,_0x1ee227,_0x3c3574);const ir=['image/png',_0x5e85b0(0x1fa),_0x5e85b0(0x159),_0x5e85b0(0x162),_0x5e85b0(0x21f)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0x5e85b0(0x34e),ar=_0x5e85b0(0x3fa),or=_0x5e85b0(0x384);let Ot=class{constructor(_0x578e45,_0x486109,_0x14f870){var _0x5ee6cb=_0x5e85b0;N(this,_0x5ee6cb(0x41d),0x0),N(this,_0x5ee6cb(0x38e),new _0x481b7e()),N(this,'change$',this[_0x5ee6cb(0x38e)]),N(this,_0x5ee6cb(0x34b),new Map()),(this[_0x5ee6cb(0x40b)]=_0x578e45,this[_0x5ee6cb(0x161)]=_0x486109,this[_0x5ee6cb(0x396)]=_0x14f870);}[_0x5e85b0(0x1d3)](_0xa4def4){var _0x2aeda7=_0x5e85b0;this[_0x2aeda7(0x41d)]=_0xa4def4,this[_0x2aeda7(0x38e)]['next'](_0xa4def4);}['getImageSourceCache'](_0x57886a,_0x5a9cab){var _0x4deb2a=_0x5e85b0;if(_0x5a9cab===_0xda66a3[_0x4deb2a(0x23b)]){const _0x44181d=new Image();return _0x44181d['src']=_0x57886a,_0x44181d;}return this['_imageSourceCache']['get'](_0x57886a);}[_0x5e85b0(0x3d4)](_0x458d8a,_0x2a918c,_0x5042c5){var _0x17c549=_0x5e85b0;_0x2a918c===_0xda66a3['BASE64']||_0x5042c5==null||this[_0x17c549(0x34b)]['set'](_0x458d8a,_0x5042c5);}async[_0x5e85b0(0x31f)](_0x3ca93e){var _0x2916ad=_0x5e85b0;try{const _0x2a83af=this[_0x2916ad(0x376)](this[_0x2916ad(0x23d)](),''+_0x3ca93e),_0x5cca67=(await this['_httpService'][_0x2916ad(0x3d0)](_0x2a83af))[_0x2916ad(0x250)];if(_0x5cca67[_0x2916ad(0x371)]&&_0x5cca67[_0x2916ad(0x371)][_0x2916ad(0x1c4)]===Si['OK']){const _0x19b296=new URL(_0x5cca67[_0x2916ad(0x26c)],this[_0x2916ad(0x40d)]())[_0x2916ad(0x199)]();return Promise[_0x2916ad(0x372)](_0x19b296);}return Promise[_0x2916ad(0x195)](_0x5cca67['error']);}catch(_0x589ac1){return Promise[_0x2916ad(0x195)](_0x589ac1);}}async[_0x5e85b0(0x23f)](_0x307988){var _0xe78785=_0x5e85b0;let _0x23ccac='';if(!ir[_0xe78785(0x377)](_0x307988[_0xe78785(0x233)]))return this[_0xe78785(0x20d)](),Promise[_0xe78785(0x195)](new Error(_0x1469d9[_0xe78785(0x32f)]));if(_0x307988['size']>nr)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1469d9[_0xe78785(0x35a)]));try{const _0x269a93=new FormData();_0x269a93[_0xe78785(0x1df)](_0xe78785(0x1ae),_0x307988);const _0x25de9a=this[_0xe78785(0x396)][_0xe78785(0x31b)](),_0x3bd669=_0x25de9a==null?void 0x0:_0x25de9a['getUnitId']();if(!_0x3bd669)throw new Error(_0xe78785(0x193));const _0x1cf23a=this[_0xe78785(0x34f)]()+'?size='+_0x307988[_0xe78785(0x338)][_0xe78785(0x199)]()+_0xe78785(0x35d)+Ei[_0xe78785(0x266)]+_0xe78785(0x415)+encodeURIComponent(_0x3bd669),_0x1a301d=await(await fetch(_0x1cf23a,{'method':'POST','body':_0x269a93}))[_0xe78785(0x310)]();if(typeof _0x1a301d[_0xe78785(0x13a)]!=_0xe78785(0x1da))return this[_0xe78785(0x20d)](),Promise[_0xe78785(0x195)](new Error(_0x1469d9[_0xe78785(0x3cf)]));_0x23ccac=_0x1a301d[_0xe78785(0x13a)];}catch{return this[_0xe78785(0x20d)](),Promise['reject'](new Error(_0x1469d9[_0xe78785(0x3cf)]));}return new Promise((_0x1534fc,_0x4c5b9c)=>{var _0x32901e=_0xe78785;const _0x523eb9=new FileReader();_0x523eb9[_0x32901e(0x381)](_0x307988),_0x523eb9[_0x32901e(0x2f8)]=_0x1bddbd=>{var _0x49a123=_0x32901e,_0x2ca13a;const _0x2873a1=(_0x2ca13a=_0x1bddbd['target'])==null?void 0x0:_0x2ca13a[_0x49a123(0x385)];if(_0x2873a1==null){this[_0x49a123(0x20d)](),_0x4c5b9c(new Error(_0x1469d9[_0x49a123(0x3cf)]));return;}const _0x17c314=_0x37a7ab[_0x49a123(0x1bb)](0x6);_0x1534fc({'imageId':_0x17c314,'imageSourceType':_0xda66a3['UUID'],'source':_0x23ccac,'base64Cache':_0x2873a1,'status':_0x1469d9[_0x49a123(0x157)]}),this[_0x49a123(0x20d)]();};});}['_getUploadFileURL'](){var _0x19835b=_0x5e85b0,_0x4f169b,_0x542631;const _0x3ff74f=this[_0x19835b(0x161)]['getConfig'](sr),_0x4ae814=this[_0x19835b(0x161)][_0x19835b(0x314)](q);return(_0x542631=(_0x4f169b=_0x4ae814==null?void 0x0:_0x4ae814[_0x19835b(0x3e1)])!=null?_0x4f169b:_0x3ff74f)!=null?_0x542631:rr;}[_0x5e85b0(0x23d)](){var _0x3090a7=_0x5e85b0,_0x3cc288,_0xcd8f81;const _0x5a2b67=this['_configService'][_0x3090a7(0x314)](ar),_0x25ca05=this[_0x3090a7(0x161)][_0x3090a7(0x314)](q);return(_0xcd8f81=(_0x3cc288=_0x25ca05==null?void 0x0:_0x25ca05[_0x3090a7(0x323)])!=null?_0x3cc288:_0x5a2b67)!=null?_0xcd8f81:or;}['_getDownloadEndpointURL'](){var _0x26e638=_0x5e85b0,_0x55b3c4;const _0x22ba5d=this[_0x26e638(0x161)]['getConfig'](q);return(_0x55b3c4=_0x22ba5d==null?void 0x0:_0x22ba5d['downloadEndpointUrl'])!=null?_0x55b3c4:location['origin'];}[_0x5e85b0(0x376)](_0xad5b38,_0x2ff23b){var _0x698c75=_0x5e85b0;return _0xad5b38[_0x698c75(0x35b)](_0x698c75(0x221),_0x2ff23b);}[_0x5e85b0(0x20d)](){var _0x8b0891=_0x5e85b0;this[_0x8b0891(0x41d)]-=0x1,this[_0x8b0891(0x38e)]['next'](this['_waitCount']);}};Ot=tr([gt(0x0,_0x4e6a0f(_0x4dfb46)),gt(0x1,_0x57235c),gt(0x2,_0x4e6a0f(_0x187759))],Ot);var cr=Object[_0x5e85b0(0x3b0)],hr=(_0x28f11b,_0x43059e,_0x504931,_0xb512a4)=>{for(var _0x58bd06=_0xb512a4>0x1?void 0x0:_0xb512a4?cr(_0x43059e,_0x504931):_0x43059e,_0x497e47=_0x28f11b['length']-0x1,_0x3b3d93;_0x497e47>=0x0;_0x497e47--)(_0x3b3d93=_0x28f11b[_0x497e47])&&(_0x58bd06=_0x3b3d93(_0x58bd06)||_0x58bd06);return _0x58bd06;},hi=(_0x19ea5f,_0xa45fd1)=>(_0xe0bd9e,_0x2c5c2a)=>_0xa45fd1(_0xe0bd9e,_0x2c5c2a,_0x19ea5f);const _r=_0x5e85b0(0x2ec);let yt=class{constructor(_0x3dd77f,_0x594ca1){var _0xbc6b02=_0x5e85b0;this['_configService']=_0x3dd77f,this[_0xbc6b02(0x333)]=_0x594ca1;}['_getAPIPrefixPath'](){var _0x530c31=_0x5e85b0,_0x3f4d84,_0x542529;const _0x21b417=this[_0x530c31(0x161)][_0x530c31(0x314)](Ni),_0x1aadda=this[_0x530c31(0x161)][_0x530c31(0x314)](q);return(_0x542529=(_0x3f4d84=_0x1aadda==null?void 0x0:_0x1aadda[_0x530c31(0x185)])!=null?_0x3f4d84:_0x21b417)!=null?_0x542529:_r;}async[_0x5e85b0(0x2a6)](_0x16b3be){var _0x2d9f3f=_0x5e85b0;const _0x3c7491=this[_0x2d9f3f(0x3dd)]()+_0x2d9f3f(0x222);return{'list':[{'title':_0x2d9f3f(0x27a),'mentions':(await this[_0x2d9f3f(0x333)][_0x2d9f3f(0x3d0)](_0x3c7491,{'params':{'objectID':_0x16b3be[_0x2d9f3f(0x37f)],'unitID':_0x16b3be[_0x2d9f3f(0x37f)]}}))[_0x2d9f3f(0x250)][_0x2d9f3f(0x249)]['map'](_0x51e50c=>({'objectId':_0x51e50c['id'],'name':_0x51e50c[_0x2d9f3f(0x1d8)]['name'],'metadata':{'icon':_0x51e50c[_0x2d9f3f(0x1d8)][_0x2d9f3f(0x210)]},'label':_0x51e50c[_0x2d9f3f(0x1d8)][_0x2d9f3f(0x29c)],'objectType':_0xce6fc5['PERSON']})),'metadata':{},'type':_0xce6fc5[_0x2d9f3f(0x230)]}]};}};yt=hr([hi(0x0,_0x4e6a0f(_0x57235c)),hi(0x1,_0x4e6a0f(_0x4dfb46))],yt);var lr=Object[_0x5e85b0(0x3b0)],ur=(_0x2e3735,_0x27fecb,_0x26556c,_0x20e779)=>{var _0xe5a002=_0x5e85b0;for(var _0x52e151=_0x20e779>0x1?void 0x0:_0x20e779?lr(_0x27fecb,_0x26556c):_0x27fecb,_0x485ac2=_0x2e3735[_0xe5a002(0x317)]-0x1,_0x323264;_0x485ac2>=0x0;_0x485ac2--)(_0x323264=_0x2e3735[_0x485ac2])&&(_0x52e151=_0x323264(_0x52e151)||_0x52e151);return _0x52e151;},we=(_0x2e5d76,_0x43ca96)=>(_0xf54c8,_0x51dfac)=>_0x43ca96(_0xf54c8,_0x51dfac,_0x2e5d76);let ot=class extends _0x5d06b1{constructor(_0x5dfa1b,_0x500991,_0x3525c3,_0xb6ee9c,_0x1a8102){var _0x251942=_0x5e85b0;super(),this[_0x251942(0x35f)]=_0x5dfa1b,this['_univerInstanceService']=_0x500991,this[_0x251942(0x190)]=_0x3525c3,this[_0x251942(0x16c)]=_0xb6ee9c,this['_collaborationUIEventService']=_0x1a8102,this['_initUnitPermissionChange'](),this[_0x251942(0x413)]();}[_0x5e85b0(0x413)](){var _0x1a69f6=_0x5e85b0;const _0x585f61=async _0x3bc3e9=>{var _0x50b6ef=_0x30b8;(await this[_0x50b6ef(0x16c)][_0x50b6ef(0x18b)](_0x3bc3e9))['event$'][_0x50b6ef(0x2c0)](_0x30fc86(_0x5c569d=>_0x5c569d[_0x50b6ef(0x388)]===_0x5d967f['SHOULD_CLOSE_CONN']),_0x384cc0(this[_0x50b6ef(0x239)]))[_0x50b6ef(0x292)](_0x111961=>{var _0x335790=_0x50b6ef;const _0x1d0426=_0x111961,{reason:_0x30db62}=_0x1d0426[_0x335790(0x401)];this[_0x335790(0x262)][_0x335790(0x258)]({'id':re[_0x335790(0x12b)],'data':_0x30db62}),this[_0x335790(0x190)]['updatePermissionPoint'](new _0x3c0caf(_0x3bc3e9)['id'],!0x1),this[_0x335790(0x16c)]['closeSession'](_0x3bc3e9);});};_0x2ba3bf(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3ac655[_0x1a69f6(0x26b)]),this[_0x1a69f6(0x396)][_0x1a69f6(0x25f)](_0x3ac655['UNIVER_DOC']))[_0x1a69f6(0x2c0)](_0x4f42e4(_0x2d47c0=>_0x2d47c0['getUnitId']()),_0x30fc86(_0x5a496f=>!_0x479967(_0x5a496f)),_0x384cc0(this[_0x1a69f6(0x239)]))[_0x1a69f6(0x292)](_0x3fbc9c=>{_0x585f61(_0x3fbc9c);});}[_0x5e85b0(0x2c1)](){var _0x392613=_0x5e85b0;const _0x462461=async _0x428e0e=>{var _0x4093c7=_0x30b8;const _0x4786a0=await this[_0x4093c7(0x16c)]['requireSession'](_0x428e0e),_0x2764dc=this[_0x4093c7(0x35f)][_0x4093c7(0x3d0)](_0x21933f);_0x4786a0['event$']['pipe'](_0x30fc86(_0xaa4fb5=>_0xaa4fb5[_0x4093c7(0x388)]===_0x5d967f[_0x4093c7(0x248)]),_0x384cc0(this[_0x4093c7(0x239)]))[_0x4093c7(0x292)](_0x202581=>{var _0x1347a2=_0x4093c7;const _0x31080d=_0x202581,{objectId:_0x2464b5}=_0x31080d['data'];_0x2464b5===_0x428e0e?_0x2764dc[_0x1347a2(0x1f1)](_0x428e0e):_0x2764dc[_0x1347a2(0x3ee)](_0x428e0e,_0x2464b5);});};_0x2ba3bf(this[_0x392613(0x396)]['getTypeOfUnitAdded$'](_0x3ac655[_0x392613(0x26b)]))[_0x392613(0x2c0)](_0x4f42e4(_0x39cda1=>_0x39cda1['getUnitId']()),_0x30fc86(_0x911d3f=>!_0x479967(_0x911d3f)),_0x384cc0(this['dispose$']))[_0x392613(0x292)](_0x5968be=>{_0x462461(_0x5968be);});}};ot=ur([we(0x0,_0x4e6a0f(_0x2a76ad)),we(0x1,_0x187759),we(0x2,_0xfde829),we(0x3,_0x4e6a0f(xe)),we(0x4,_0x4e6a0f(pe))],ot);var dr=Object[_0x5e85b0(0x3b0)],fr=(_0x2ccd8a,_0x48f280,_0x1b5af7,_0x501c62)=>{for(var _0x4b6fa9=_0x501c62>0x1?void 0x0:_0x501c62?dr(_0x48f280,_0x1b5af7):_0x48f280,_0x1dc8cc=_0x2ccd8a['length']-0x1,_0x419c7c;_0x1dc8cc>=0x0;_0x1dc8cc--)(_0x419c7c=_0x2ccd8a[_0x1dc8cc])&&(_0x4b6fa9=_0x419c7c(_0x4b6fa9)||_0x4b6fa9);return _0x4b6fa9;},_i=(_0x3687a5,_0x581d73)=>(_0x123241,_0x12f802)=>_0x581d73(_0x123241,_0x12f802,_0x3687a5);let Nt=class{constructor(_0x381314,_0x4a781e){var _0x40dfe2=_0x5e85b0;this[_0x40dfe2(0x161)]=_0x381314,this[_0x40dfe2(0x40b)]=_0x4a781e;}async['getUnitOnRev'](_0x2af5cd,_0x392712){var _0x19578e=_0x5e85b0,_0x16f82d;const {unitID:_0x4dc309,type:_0x5ece54,revision:_0x1b112f=0x0}=_0x392712,_0x5e90a1=this['getSnapshotAPIPath']()+'/'+_0x5ece54+_0x19578e(0x2a1)+_0x4dc309+'/rev/'+_0x1b112f,_0x188be3=(await this[_0x19578e(0x40b)][_0x19578e(0x3d0)](_0x5e90a1))[_0x19578e(0x250)],_0x408984=(_0x16f82d=_0x188be3['snapshot'])==null?void 0x0:_0x16f82d[_0x19578e(0x1a6)];if(_0x408984){const _0x32848c=_0x408984==null?void 0x0:_0x408984[_0x19578e(0x3ce)],_0x116cc3=_0x5b4c86['encode'](_0x43586c(_0x32848c));_0x408984['originalMeta']=_0x116cc3,Object[_0x19578e(0x1b9)](_0x408984[_0x19578e(0x365)])[_0x19578e(0x1b4)](([,_0x50f159])=>{var _0x2207f8=_0x19578e;const _0x42cae3=_0x50f159[_0x2207f8(0x3ce)],_0x3cbcf9=_0x5b4c86['encode'](_0x43586c(_0x42cae3));_0x50f159[_0x2207f8(0x3ce)]=_0x3cbcf9;});}return _0x188be3;}async['getSheetBlock'](_0x27fc6b,_0x11082e){var _0x1f6f3c=_0x5e85b0;const {unitID:_0x33570c,type:_0x1a3c19,blockID:_0x4b5b33}=_0x11082e,_0x489357=this[_0x1f6f3c(0x137)]()+'/'+_0x1a3c19+'/unit/'+_0x33570c+_0x1f6f3c(0x140)+_0x4b5b33;return(await this['_httpService'][_0x1f6f3c(0x3d0)](_0x489357))[_0x1f6f3c(0x250)];}async['getDeserializedSheetBlock'](_0x3c91f6,_0x56a2b9){var _0x47fa9b=_0x5e85b0;const {unitID:_0x467ed0,type:_0x2ca9f1,blockID:_0x1396ce}=_0x56a2b9,_0x38f386=this[_0x47fa9b(0x137)]()+_0x47fa9b(0x140)+_0x2ca9f1+_0x47fa9b(0x2a1)+_0x467ed0+_0x47fa9b(0x140)+_0x1396ce;return(await this['_httpService'][_0x47fa9b(0x3d0)](_0x38f386))[_0x47fa9b(0x250)];}async[_0x5e85b0(0x24e)](_0x17f77c,_0x36948d){var _0x86d85f=_0x5e85b0;const {unitID:_0x3d6e79,type:_0x3a1bf7,from:_0x4dca0a,to:_0x453dac}=_0x36948d,_0x4b4934=this['_getAPIPrefix']()+'/'+_0x3a1bf7+_0x86d85f(0x2a1)+_0x3d6e79+_0x86d85f(0x224)+_0x4dca0a+_0x86d85f(0x1c1)+_0x453dac;return(await this['_httpService'][_0x86d85f(0x3d0)](_0x4b4934))[_0x86d85f(0x250)];}[_0x5e85b0(0x136)](){var _0x34e457=_0x5e85b0,_0x591a63;return(_0x591a63=this[_0x34e457(0x161)][_0x34e457(0x314)](Sn))!=null?_0x591a63:this['_getAPIPrefix']();}[_0x5e85b0(0x137)](){var _0x4eea51=_0x5e85b0,_0x4f699b,_0x2949ce;const _0x5bd6c2=this[_0x4eea51(0x161)][_0x4eea51(0x314)](mn),_0x457c49=this[_0x4eea51(0x161)][_0x4eea51(0x314)](q);return(_0x2949ce=(_0x4f699b=_0x457c49==null?void 0x0:_0x457c49['snapshotServerUrl'])!=null?_0x4f699b:_0x5bd6c2)!=null?_0x2949ce:gn;}async[_0x5e85b0(0x321)](_0x27b210,_0x4cbb5c){var _0x1ffa21=_0x5e85b0;const _0x3c6b5c=_0x1ffa21(0x3c8)+_0x4cbb5c[_0x1ffa21(0x233)]+_0x1ffa21(0x2a1)+_0x4cbb5c[_0x1ffa21(0x373)]+'/resources';return(await this['_httpService'][_0x1ffa21(0x3d0)](_0x3c6b5c,{'params':{'resourceId':JSON[_0x1ffa21(0x2a9)](_0x4cbb5c[_0x1ffa21(0x1a8)])}}))[_0x1ffa21(0x250)];}[_0x5e85b0(0x409)](){var _0x31a2b9=_0x5e85b0;throw new Error(_0x31a2b9(0x410));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e85b0(0x35e)](){var _0x5cff6b=_0x5e85b0;throw new Error(_0x5cff6b(0x410));}['copyFileMeta'](){var _0x2ecd58=_0x5e85b0;throw new Error(_0x2ecd58(0x410));}[_0x5e85b0(0x408)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x57235c),_i(0x1,_0x4e6a0f(_0x4dfb46))],Nt);var vr=Object[_0x5e85b0(0x3b0)],pr=(_0x34c962,_0x3018a6,_0x52ad8c,_0x602a1d)=>{var _0x2c751b=_0x5e85b0;for(var _0x4671b9=_0x602a1d>0x1?void 0x0:_0x602a1d?vr(_0x3018a6,_0x52ad8c):_0x3018a6,_0x582326=_0x34c962[_0x2c751b(0x317)]-0x1,_0x4d3d92;_0x582326>=0x0;_0x582326--)(_0x4d3d92=_0x34c962[_0x582326])&&(_0x4671b9=_0x4d3d92(_0x4671b9)||_0x4671b9);return _0x4671b9;},Pe=(_0x6e5c64,_0x5356fe)=>(_0x520457,_0x3e51b8)=>_0x5356fe(_0x520457,_0x3e51b8,_0x6e5c64);let Dt=class extends _0x13d1ac{constructor(_0x230358,_0x476fd7,_0x5cc8d2,_0x30c661,_0x4b5a46){var _0x59bb85=_0x5e85b0;super(_0x230358,_0x476fd7,_0x5cc8d2),this[_0x59bb85(0x129)]=_0x30c661,this[_0x59bb85(0x154)]=_0x4b5a46;}['transformUndoRedo'](_0x261891,_0x5e7295){var _0x433e78=_0x5e85b0;const _0x2a3482=this[_0x433e78(0x351)](_0x261891);if(_0x2a3482)try{const _0x115a93=this[_0x433e78(0x12d)](_0x2a3482,_0x5e7295);this[_0x433e78(0x344)](_0x261891,_0x115a93);}catch(_0x2b85d4){this['_logService'][_0x433e78(0x371)](_0x433e78(0x254),_0x2b85d4),this[_0x433e78(0x122)](_0x261891);}const _0x5bc92a=this[_0x433e78(0x406)](_0x261891);if(_0x5bc92a)try{const _0x2684ff=this[_0x433e78(0x12d)](_0x5bc92a,_0x5e7295);this[_0x433e78(0x201)](_0x261891,_0x2684ff);}catch(_0x284d16){this['_logService'][_0x433e78(0x371)](_0x284d16),this[_0x433e78(0x41b)](_0x261891);}}[_0x5e85b0(0x122)](_0x18293d){var _0x402d8a=_0x5e85b0;const _0x66a9de=this[_0x402d8a(0x351)](_0x18293d);_0x66a9de&&(_0x66a9de[_0x402d8a(0x317)]=0x0,this[_0x402d8a(0x17c)]());}[_0x5e85b0(0x41b)](_0x53bbc2){var _0x555778=_0x5e85b0;const _0x41b511=this['_getRedoStack'](_0x53bbc2);_0x41b511&&(_0x41b511[_0x555778(0x317)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x295447,_0x16a510){var _0x2524b8=_0x5e85b0;this[_0x2524b8(0x1d5)][_0x2524b8(0x28a)](_0x295447,_0x16a510),this[_0x2524b8(0x17c)]();}[_0x5e85b0(0x201)](_0x4005e1,_0x45873a){var _0x7a1f1e=_0x5e85b0;this[_0x7a1f1e(0x38c)]['set'](_0x4005e1,_0x45873a),this['_updateStatus']();}[_0x5e85b0(0x12d)](_0x145ba4,_0x5b0cc8){var _0x2c7e9b=_0x5e85b0;const _0x505004=[];let _0x218839=_0x5b0cc8,_0x3c8f90=_0x5b0cc8;for(let _0x49c7d3=_0x145ba4[_0x2c7e9b(0x317)]-0x1;_0x49c7d3>=0x0;_0x49c7d3--){const {unitID:_0x4dcc11,undoMutations:_0xcb683b,redoMutations:_0x2af2c2}=_0x145ba4[_0x49c7d3],_0x5b5dc1=this['_transformService'][_0x2c7e9b(0x2a3)](_0x218839,_0xcb683b),_0x5c131a=this['_transformService'][_0x2c7e9b(0x2a3)](_0x3c8f90,_0x2af2c2);if(_0x14ad98(_0x5b5dc1)||_0x14ad98(_0x5c131a)){this['_logService'][_0x2c7e9b(0x371)](_0x2c7e9b(0x254),_0x2c7e9b(0x39d),_0x5b5dc1,_0x5c131a);break;}_0x218839=_0x5b5dc1[_0x2c7e9b(0x1ca)],_0x3c8f90=_0x5c131a[_0x2c7e9b(0x1ca)],_0x505004[_0x2c7e9b(0x1e3)]({'unitID':_0x4dcc11,'undoMutations':_0x5b5dc1['m2Prime'],'redoMutations':_0x5c131a[_0x2c7e9b(0x1e5)]});}return _0x505004[_0x2c7e9b(0x3d9)]();}};Dt=pr([Pe(0x0,_0x187759),Pe(0x1,_0x1020e1),Pe(0x2,_0x4267cc),Pe(0x3,_0x32e708),Pe(0x4,_0x4f17e2)],Dt);var mr=Object[_0x5e85b0(0x2d3)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x16a826,_0x21ca1f,_0x2c0958)=>_0x21ca1f in _0x16a826?mr(_0x16a826,_0x21ca1f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c0958}):_0x16a826[_0x21ca1f]=_0x2c0958,Er=(_0x3cf999,_0x575e32,_0x22cb83,_0xcf95eb)=>{for(var _0x482394=_0xcf95eb>0x1?void 0x0:_0xcf95eb?gr(_0x575e32,_0x22cb83):_0x575e32,_0x136179=_0x3cf999['length']-0x1,_0x3fbe72;_0x136179>=0x0;_0x136179--)(_0x3fbe72=_0x3cf999[_0x136179])&&(_0x482394=_0x3fbe72(_0x482394)||_0x482394);return _0x482394;},St=(_0x59f316,_0x483710)=>(_0x3567c7,_0x3a79ae)=>_0x483710(_0x3567c7,_0x3a79ae,_0x59f316),Ir=(_0x10e0de,_0x24a4ef,_0x56f9fe)=>Sr(_0x10e0de,_0x24a4ef+'',_0x56f9fe);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x31b165{constructor(_0x54a3f9,_0x5529c3,_0x2fe44e,_0x36e647){var _0x471c7e=_0x5e85b0;super(),N(this,_0x471c7e(0x2bb)),(this['_logService']=_0x5529c3,this[_0x471c7e(0x35f)]=_0x2fe44e,this[_0x471c7e(0x161)]=_0x36e647);const {..._0x2ca74d}=_0x4b650d({},wn,_0x54a3f9);if(!_0x2ca74d[_0x471c7e(0x283)])throw new Error(_0x471c7e(0x3d6));this[_0x471c7e(0x2bb)]=_0x2ca74d,this['_configService'][_0x471c7e(0x218)](q,_0x2ca74d);}['onStarting'](){var _0x122340=_0x5e85b0;this[_0x122340(0x2f7)](),this[_0x122340(0x3d7)]();}[_0x5e85b0(0x2f7)](){var _0x501120=_0x5e85b0,_0x5bed08,_0x298a41;this[_0x501120(0x35f)][_0x501120(0x2ed)](_0x1d308d)&&this['_logService'][_0x501120(0x371)](_0x501120(0x2ee),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x27d74f=_0x47ea98([[_0x1d308d,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x501120(0x283)]}],[_0x422aa5,{'useClass':Nt}],[_0x18882c,{'useClass':Rt}],[_0x47430b,{'useClass':Ot}],[_0x2bde30,{'useClass':yt}],[st],[Ct]],(_0x5bed08=this[_0x501120(0x2bb)])==null?void 0x0:_0x5bed08[_0x501120(0x251)]);if(!((_0x298a41=this[_0x501120(0x2bb)])!=null&&_0x298a41[_0x501120(0x3a9)])){const _0x121f6a=_0x27d74f[_0x501120(0x30d)](([_0x4f21bc])=>_0x4f21bc===ht);_0x121f6a!==-0x1&&_0x27d74f[_0x501120(0x1e4)](_0x121f6a,0x1);}_0x234443(this['_injector'],_0x27d74f);}[_0x5e85b0(0x3d7)](){var _0x1d3a01=_0x5e85b0,_0x8c5e86,_0x37f002,_0x5b0c51;this[_0x1d3a01(0x35f)][_0x1d3a01(0x3d0)](_0x4dfb46)[_0x1d3a01(0x1a2)]({'priority':0x14,'interceptor':_0x2d4b93({'maxParallel':0x6})}),(_0x8c5e86=this[_0x1d3a01(0x2bb)])!=null&&_0x8c5e86[_0x1d3a01(0x328)]||(_0x37f002=this[_0x1d3a01(0x35f)]['get'](J,_0x518a69[_0x1d3a01(0x17b)]))==null||_0x37f002[_0x1d3a01(0x307)](),(_0x5b0c51=this['_config'])!=null&&_0x5b0c51[_0x1d3a01(0x15b)]&&_0x4b5881(this[_0x1d3a01(0x35f)],[[rt]]),_0x4b5881(this[_0x1d3a01(0x35f)],[[at],[st],[ot]]);}};Ir(Ut,_0x5e85b0(0x39f),Tr),Ut=Er([_0x2709f9(_0x50c844,_0x3df885),St(0x1,_0x4f17e2),St(0x2,_0x4e6a0f(_0x2a76ad)),St(0x3,_0x57235c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};function _0x4c89(){var _0xf01714=['_changesetReqId','_initRequestHeader','length','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onUserJoin','clone','getFocusedUnit','_unlockTransition','cmd','randomUUID','getImage','\x20-\x20','getResourcesRequest','collaboration-client.local-cache-service','signUrlServerUrl','commentUpdate$','rng','words','_sender','enableOfflineEditing','_onCombEvent','_rescheduleHeartbeat','[PendingState]:\x20received\x20acknowledgement.','ceil','editing\x20status\x20changed\x20to','5342724EikLHu','ERROR_IMAGE_TYPE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_schedule','_tryEnsureSocket','_HTTPService','fetchThroughInterceptors','LICENSE_DISTRO_REJECTED','_commandService','getCollabEntity$','size','EMAIL_HAS_BEEN_BOUND','collaboration_new_changeset','getSheetId','_onConnectionFailed','_loadDoc','href','_unitID','INVALID_INVITE_CODE','startTime','interceptor','_invKeySchedule','_substituteUndoStack','Utf8','_shouldReportTelemetry','synced','failed\x20to\x20apply\x20missed\x20changesets!','SNAPSHOT_HAS_BEEN_REMOVED','_key','_imageSourceCache','_clearRetryConnectingTimer','getTypeOfUnitDisposed$','/universer-api/stream/file/upload','_getUploadFileURL','_throwTelemetryCollaborationNewChangeset','_getUndoStack','_collaborationPaused','_entities','clamp','[CollaborationSessionService]','_undoRedoService','onCommentUpdate','_onJoinRoomEvent','setCurrentUser','ERROR_EXCEED_SIZE','replace','session.room-not-exists','&source=','saveChangeset','_injector','HmacSHA1','leaveEvent','pending','textRanges','catch','sheets','find','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','7YKSaSn','_roomCreated$','userID','_unitInfo$','_nRounds','conflict','UNKNOWN_CODE','Pkcs7','__Key__','error','resolve','unitID','/object/','getCurrentUser','_replaceFileID','includes','_clearHeartbeatTimer','onRemoteRetry','randomBytes','_createSocket','joinRsp','CHANGESET_ACK','executeCommand','unitId','_keyPriorReset','readAsDataURL','APPLY_NON_SEQUENTIAL_REVISION','open$','/universer-api/file/{fileID}/sign-url','result','HttpImport','UNDEFINED','eventID','_createHmacHelper','setShowComponents','liveShareNewHost','_redoStacks','_snapshotService','_change$','USER_NOT_INVITED_CODE','PasswordBasedCipher','_transformUndoredo','removeMember','4652810euEOyy','getMember','max','_univerInstanceService','_resendTimer','FETCH_MISSING','objects','_clearCollaborationTimeoutTimer','fromCharCode','_resendTimeout','transformStack\x20failed!','sid','pluginName','transformChangesets','_hash','YUUMI_RATE_OVER_LIMIT','AWAITING','getRandomValues','_awaitingChangeset','INTERNAL_ERROR','default','sessionStatus$','enableSingleActiveInstanceLock','fetch_missing','msCrypto','OpenSSL','\x0aCurrent:\x20','slice','\x20in\x20_schedule.','getOwnPropertyDescriptor','univer-pro.collaboration-client.single-active-unit-service','update','formatter','headers','YUUMI_ASYNCIO_CANCELLED','UPDATE_CURSOR','transformUndoRedo','decryptBlock','ALREADY_EXISTS','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_lockTransition','UNRECOGNIZED','getCurrentRevOfUnit','close','map','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','now','LICENSE_IMPORT_SIZE_EXCEEDED','onLocalMutation','UserProfileImg','NOT_COLLAB','filter','_status$','/universer-api/snapshot/','ivSize','padding','kdf','LOCAL_CACHE_INTERVAL','onTransformSelections','originalMeta','ERROR_IMAGE','get','NEW_CHANGESETS','delete','localCacheService','addImageSourceCache','SNAPSHOT_INVALID_SNAPSHOT','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_initDependencies','unknown','reverse','_applyRemoteChangeset','SOCKET_FAILED_RETRY','APPLY_REJECT','_getAPIPrefixPath','AES','PSEUDO_FETCH_MISSING_RESULT','compute','uploadFileServerUrl','_snapshotServerService','_sendHeartbeat','UNKNOWN_CMD','_init','_incrementRevisionNumber','_scheduleCompleteTimestamp','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','symbol','socket\x20close','_xformMode','FETCH_MISS','refreshPermission','responseType','_localCacheService','_process','lib','min','_onRemoteACK','Decryptor','fetching\x20missing\x20changesets\x20from\x20','_sendingTimer','UNIVER_PROJECT','range','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_roomMembers','_createInitialState','_tryReconnect','connection\x20error','COMPLETION_FINISHED','_loadSheet','data','_waitForHeartbeatResponse','reqId','DEFAULT_FILE_NAME','_socket','_getRedoStack','_changesetSessionId','getLatestCsReqIdBySid','saveSnapshot','putCollaborators','_httpService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_getDownloadEndpointURL','post','$super','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformRemoteChangesetByStateCache','event$','_initCloseConn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','&assign=','_onRemoteRejected','_entityInit$','MD5','_iv','dispose','_clearRedo','POST','_waitCount','indexOf','CipherParams','values','_removeRoom','NOT_FOUND','online$','_clearUndo','Could\x20not\x20dynamically\x20require\x20\x22','updateCursorEvent','PENDING','mutations','Hasher','HttpExport','_transformService','COMPRESS_MUTATION_SEND','CLOSE_ROOM','GLOBAL_ROOMS_CNT_EXCEEDS','_transformStack','_isPermissionRej','_sendHeartbeatTimer','baseRev','create','Cipher','session','location','_getLoginPath','getSnapshotAPIPath','_getAPIPrefix','USERS_ENTER','PY_RUNTIME_SCRIPT_ERROR','FileId','actions','_revisionService','_onMessage','objectType','auth.needGotoLoginAlert','/block/','getValue','transformSelections','_onRecvEvent','LEAVE','sessionStatus','/universer-api/oidc/authpage','/new_changes','waitForRoom$','onTransformRemoteChangesetByStateCache','_getSendChangesetTimeout','WordArray','crypto','_joinRoom','send','getCollabEntity','updatePermissionPoint','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_minBufferSize','_instanceService','_logService','_members','debug','SUCCUSS','hasher','image/jpg','onTransformIME','enableAuthServer','7008512biFhkH','YUUMI_SUBSCRIPTION_NOT_FOUND','_listenToNetworkCondition','Base64','/universer-api/snapshot','_configService','image/gif','CHANGESET_SHOULD_RETRY','UNIVER_SLIDE','createSocket','SUBMIT_CHANGESET_TIMEOUT','every','_startTelemetryCollaborationNewChangeset','Hex','getInterceptPoints','_socket$','_collaborationSessionService','CONFLICT','_collabSessionService','22wflJus','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/-/object/list','[OfflineState]:\x20received\x20acknowledgement.','getTime','readInt32LE','asObservable','sendChangesetTimeout','_exhaustRemoteChangesetQueue','RECV','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CBC','OPTIONAL','_updateStatus','[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.','call','_cipher','mixIn','revision','MUTATION','IDLE','[OfflineState]:\x20received\x20rejection.','authzUrl','_commentUpdate$','entityInit$','cfg','subUnitId','editingUnit','requireSession','format','_doFinalize','concat','COLLAB_WEB_SOCKET_URL','_permissionService','onRemoteChangeset','pad','unitId\x20is\x20not\x20found','roomInfos','reject','NO_OTHER_CLIENTS_EDITING','Malformed\x20UTF-8\x20data','_localeService','toString','JOIN_ROOM_NOT_EXISTS','getActiveSheet','[PendingState]:\x20received\x20rejection.','incrementRevOfUnit','getAllMembers','byteOffset','commentUpdateEvent','_retryConnectingTimer','registerHTTPInterceptor','PERMISSION_DENIED','_resendWithTimeout','init','workbook','appendMutation','resourceIDs','_startCollaboration','pauseCollaboration','loadUnit','YUUMI_NO_CUBOID_FOR_QUESTION','onSendChangeset','file','19GqzoWE','/universer-api/user/session-ticket','updateOfflineData','selections','onRemoteAck','forEach','function','LOGIN_URL_KEY','withCredentials','execute','entries','finalize','generateRandomId','[FetchMissState]','JOIN','_onLocalMutation','JOIN_ROOM_PERMISSION_DENIED','reduce','&to=','memberID','close$','code','_nDataBytes','_transitionLocked','CHANGESET_REVISION_CONFILICT','CHANGESET_REJ','onMissedChangesetFetched','c1Prime','loadSheet','session.room-cnt-exceeds','_state','mode','_emitMembers','_remoteChangesetQueue','TOO_MANY_REQUESTS','HELLO','setWaitCount','disposeWithMe','_undoStacks','_toggleOnline','AUTHZ_URL_KEY','subject','_transformIMECache','string','awaiting_with_pending','UNIVER_DOC','_oKey','_userManagerService','append','LIVESHARE_FETCH_OPERATIONS','_scheduleCollaborationTimeoutTimer','INVITE_CODE_ALREADY_BOUND','push','splice','m2Prime','changesets','_onRemoteRetry','HEARTBEAT_TIMEOUT','sigBytes','Failed\x20to\x20update\x20permission\x20point','_onFetchMissResult','fromCollab','_prevBlock','LOGIN_FAILED','getUnitType','_doCryptBlock','initWorkbookPermissionChange','YUUMI_URL_COL_OUT_OF_RANGE','join','HEARTBEAT','SYNCED','focused$','BufferedBlockAlgorithm','_map','INVITE_CODE_REQUIRED','image/jpeg','RETRY_CONNECTING_MAX_COUNT','_transformSelections','Base','getUnitStatus$','BlockCipher','_collaborationTimeoutTimer','_substituteRedoStack','resend','algo','onSyncEditingCollabCursor','_doProcessBlock','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ciphertext','updatePermissionObjEvent','session.room-permission-denied','floor','_ENC_XFORM_MODE','Encryptor','_decreaseWaiting','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_createHelper','avatar','USERS_LEAVE','objectActions','not_collab','listCollaborators','csShouldRetryEvent','/allowed','COMPRESS_MUTATION_APPLY','setConfig','_socketReady','OTHER_CLIENT_EDITING','clear','getUnitId','_updateLocalCache','univer-pro.collaboration-client.network-condition.service','image/bmp','encodeURIComponent','{fileID}','/collaborator','charCodeAt','/fetchmissing?from=','_transformStateCache','_telemetryInfo','title','add','status','[DataLoaderService]','OTHER_CLIENTS_EDITING','then','INVITE_CODE_HAS_BEEN_UES','toLowerCase','_fetchMissChangesets','PERSON','_sessionStatus$','LIVESHARE_OPERATION','type','hostname','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','offline','collaboratorID','random','dispose$','_clearLocalCache','BASE64','_onOffline','_getSignURL','/universer-api/uniscript','saveImage','complete','_candidateSocket','charAt','getCurrentSelections','encryptBlock','salt','APPLY_DUPLICATED','unsubscribe','UPDATE_PERMISSION_OBJ','collaborators','_createHandler','_syncEditingCollabCursor','_memberService','toggleOnline','fetchMissingChangesets','_mode','body','override','__creator','equals','[CollaborationUndoRedoService]','JOINING','LIVESHARE_TERMINATE','requestParams','emitEvent','_singleActiveUnitService','1198359JCjckS','_sheetTransformSelectionsService','loadDoc','SUBMIT_CHANGESET','_keySchedule','getTypeOfUnitAdded$','isArray','_eventService','_collaborationUIEventService','getMemberID','_executeRemoteChangeset','COMMENT_UPDATE','UnitEmbedded','ONLINE','key','_checkMissing','_compressMutationService','UNIVER_SHEET','url','[SyncedState]:\x20received\x20rejection.','FAIL','2739894pcwJfL','_hasher','_socketService','localeService','_socketMessageSubscription','APPLY_REVISION_CONFILICT','deepClone','_showConflictNotification','updateMember','_telemetryService','CONNECTOR_DATA_TOO_LARGE','People','OFFLINE','_iKey','message$','routeKey','ws://127.0.0.1:8000/universer-api/comb/connect','_type','Univer','prototype','socketService','reset','INGEST','save\x20fail\x20reason\x20is\x20','put','deleteCollaborator','_timeoutTimer','set','[CollaborationSessionService]:\x20socket\x20error','JOIN_ROOM_FULL','StreamCipher','_updateState','[CollaborationSession]','capture','shouldCloseConn','subscribe','ENSURE_SNAPSHOT_EXECUTION','buffer','NoPadding','error$','_reverseMap','unpad','createEncryptor','_pendingMutations','awaiting','name','onTransformRemoteChangesetByIMECache','_data','WECHAT_HAS_BEEN_BOUND','\x0aAfter:\x20','/unit/','_initMergeInterceptor','transformMutationsWithChangeset','APPLY_PERMISSION_DENIED','onTransformState','list','encrypt','createDecryptor','stringify','parse','stopTime','INVALID_ARGUMENT','joinEvent','state','[CollaborationState]:\x20apply\x20error!','_handlerCallback','SOCKET_FAILED','UnitSnapshot','status$','addHandlerCallback','_networkConditionService','_createInitialStateImpl','keySize','_append','SHA1','_onConnectionOpen','_config','_doCreateSocket','LICENSE_MAX_UNITS_EXCEEDED','_onUserLeave','_transformRemoteChangesetByIMECache','pipe','_initUnitPermissionChange','byteLength','4368020xAItCe','_submitChangeset','submit\x20changeset\x20error!','8ZjIejn','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_sessions','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','state$','_acknowledgedAwaitingChangeset','MSG_FOR_ERROR','awaitingChangeset','next','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','params','enc','[PendingState]:\x20unhandled\x20univer\x20type:\x20','defineProperty','_onRemoteChangeset','telemetry\x20info\x20is\x20not\x20initialized','UNAUTHENTICATED','bind','_clearTimeoutTimer','csAckEvent','collaMsg','_clearScheduledTask','exports','apply','method','onStateChange','processBlock','loadOfflineData','_toggleOffline','COLLAB_SUBMIT_CHANGESET_URL','_state$','_event$','PERMISSION_REJ','LICENSE_EXPORT_SIZE_EXCEEDED','blockSize','EvpKDF','duration','isPermissionRej','/universer-api/authz','has','[UniverCollaborationClientPlugin]','SEND_CHANGESET_TIMEOUT','getRoom','_retryCount','LIVESHARE_REQUEST_HOST','_commentService','toggleOffline','HMAC','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_registerDependencies','onload','objectID','[CollaborationEntity]','172478aoPuCY','infoRsp','LIVESHARE_NEW_HOST','JOIN_ROOM_FAILED','AWAITING_WITH_PENDING','onMissingChangesets','hasOwnProperty','_getCurrentRevision','repeat','BlockCipherMode','extend','Undefined','disableLocalCache','_onConflict','_handler','_queuedRemoteChangesets','_members$','onRemoteRej','findIndex','_doReset','_parse','json','loginUrlKey','_stopTelemetryCollaborationNewChangeset','createInstance','getConfig'];_0x4c89=function(){return _0xf01714;};return _0x4c89();}
|
1
|
+
var _0x225508=_0x1e04;(function(_0x1e9a63,_0x380650){var _0x2f9139=_0x1e04,_0x3b1c63=_0x1e9a63();while(!![]){try{var _0x36f7fb=parseInt(_0x2f9139(0x46e))/0x1+parseInt(_0x2f9139(0x286))/0x2*(parseInt(_0x2f9139(0x2ff))/0x3)+-parseInt(_0x2f9139(0x380))/0x4+parseInt(_0x2f9139(0x3f5))/0x5+parseInt(_0x2f9139(0x30f))/0x6+-parseInt(_0x2f9139(0x17c))/0x7*(-parseInt(_0x2f9139(0x265))/0x8)+-parseInt(_0x2f9139(0x426))/0x9;if(_0x36f7fb===_0x380650)break;else _0x3b1c63['push'](_0x3b1c63['shift']());}catch(_0x477dbf){_0x3b1c63['push'](_0x3b1c63['shift']());}}}(_0x2c4e,0xd54bf));var wi=Object[_0x225508(0x23e)],Pi=(_0x146692,_0x266d4b,_0x31d146)=>_0x266d4b in _0x146692?wi(_0x146692,_0x266d4b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31d146}):_0x146692[_0x266d4b]=_0x31d146,N=(_0x28a5d7,_0x2fbd0a,_0x81cdde)=>Pi(_0x28a5d7,typeof _0x2fbd0a!='symbol'?_0x2fbd0a+'':_0x2fbd0a,_0x81cdde);import{createIdentifier as _0x15f102,Inject as _0x59c5a0,Injector as _0x1f43c7,IConfigService as _0x299d0c,ILogService as _0x4017e6,Disposable as _0x31b068,DisposableCollection as _0x15ac30,toDisposable as _0x479cb1,IUniverInstanceService as _0x5db9d5,UserManagerService as _0x530e97,UniverInstanceType as _0x1a0c97,LocaleService as _0x236a91,Optional as _0x182985,RxDisposable as _0xbb1137,Tools as _0x3b2e42,Rectangle as _0x4d5ac0,ICommandService as _0x171c01,JSONX as _0x3c4ef4,CommandType as _0x3dc4e2,IUndoRedoService as _0x315796,IPermissionService as _0x52947d,sequenceExecute as _0x3f10ac,Workbook as _0x2791cc,MentionType as _0x276f56,isInternalEditorID as _0x59d445,LocalUndoRedoService as _0x39d871,IContextService as _0xf8639d,DependentOn as _0x10a9dd,Plugin as _0x6cabb,merge as _0x8436fc,mergeOverrideWithDependencies as _0x28d45e,IAuthzIoService as _0x44cc2c,IMentionIOService as _0x4b4db4,registerDependencies as _0x53b829,Quantity as _0x2fb8ba,touchDependencies as _0x1cc1f7}from'@univerjs/core';import{Subject as _0x7a0b0d,merge as _0x3e5ef6,of as _0x47cd70,BehaviorSubject as _0x25de28,takeUntil as _0x42950a,ReplaySubject as _0x1bbf2f,take as _0x3c6b39,map as _0xdfbfa2,shareReplay as _0x141b06,firstValueFrom as _0x2ebee8,concatMap as _0x5b1340}from'rxjs';import{map as _0x4cad8a,take as _0xf52af0,filter as _0x3495eb,delay as _0x1a6441,takeUntil as _0x3ef981}from'rxjs/operators';import{CollaborationEvent as _0x3c1a33,ISnapshotServerService as _0x36ae02,parseChangesetToProtocol as _0x5521e7,ITransformService as _0x4832d4,isTransformMutationsWithChangesetSuccess as _0xb3d720,mapDocumentTypeToUniverType as _0x33e8d7,RevisionService as _0x3f05b9,isTransformChangesetsSuccess as _0x5f1444,CompressMutationService as _0x53a952,parseProtocolChangeset as _0x5653ba,SnapshotService as _0x10c059,textEncoder as _0x37d4f5,b64DecodeUnicode as _0x1f368d,isTransformMutationsWithChangesetFailure as _0x1492ce,UniverCollaborationPlugin as _0x4bb8dc}from'@univerjs-pro/collaboration';import{HTTPService as _0x33df68,ISocketService as _0x506a4b,MergeInterceptorFactory as _0xa66d9,HTTPRequest as _0x434b5a,UniverNetworkPlugin as _0x4bf2bc,ThresholdInterceptorFactory as _0x34e59f}from'@univerjs/network';import{ITelemetryService as _0x15bb86}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5c3dc0}from'@univerjs/docs';import{SheetsSelectionsService as _0xa58a50,SetSelectionsOperation as _0x2f54cc,InsertSheetMutation as _0x5caf3c,EmptyMutation as _0x493c9d,WorkbookEditablePermission as _0x2340c5,SheetPermissionInitController as _0x1f0098}from'@univerjs/sheets';import{ImageSourceType as _0x3e1698,ImageUploadStatusType as _0x390909,IImageIoService as _0x499c3e}from'@univerjs/drawing';import{getGlobalObject as _0x11844b}from'@univerjs-pro/license';const mn=_0x225508(0x2d4),gn=_0x225508(0x464),Sn='SNAPSHOT_URL_KEY',Lr=_0x225508(0x379),En=0x7d0,In=_0x225508(0x3ed),Tn=_0x225508(0x2d8),xr=_0x225508(0x311),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x225508(0x41a),gi=0x4e20,bn=0x4e20,On=_0x225508(0x26a),yn=0x3,Mr=_0x225508(0x211),kr=0x3e8,Nn=_0x225508(0x2f9),Dn=_0x225508(0x266),Un=_0x225508(0x209),An='/universer-api/oidc/authpage',$r=_0x225508(0x1fa),Hr=_0x225508(0x24a);var Si=(_0x378a5a=>(_0x378a5a[_0x378a5a['UNDEFINED']=0x0]=_0x225508(0x1d2),_0x378a5a[_0x378a5a['OK']=0x1]='OK',_0x378a5a[_0x378a5a['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x378a5a[_0x378a5a['PERMISSION_DENIED']=0x3]=_0x225508(0x1ef),_0x378a5a[_0x378a5a['NOT_FOUND']=0x4]=_0x225508(0x372),_0x378a5a[_0x378a5a['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x378a5a[_0x378a5a[_0x225508(0x30c)]=0x6]=_0x225508(0x30c),_0x378a5a[_0x378a5a[_0x225508(0x29d)]=0x7]='INVALID_ARGUMENT',_0x378a5a[_0x378a5a[_0x225508(0x40f)]=0x8]=_0x225508(0x40f),_0x378a5a[_0x378a5a[_0x225508(0x430)]=0x9]=_0x225508(0x430),_0x378a5a[_0x378a5a[_0x225508(0x39a)]=0xa]=_0x225508(0x39a),_0x378a5a[_0x378a5a[_0x225508(0x3fb)]=0x1389]=_0x225508(0x3fb),_0x378a5a[_0x378a5a[_0x225508(0x381)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x378a5a[_0x378a5a[_0x225508(0x2cd)]=0x1772]=_0x225508(0x2cd),_0x378a5a[_0x378a5a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x225508(0x444),_0x378a5a[_0x378a5a['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x378a5a[_0x378a5a[_0x225508(0x215)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x378a5a[_0x378a5a[_0x225508(0x18a)]=0x1b5b]=_0x225508(0x18a),_0x378a5a[_0x378a5a[_0x225508(0x17d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x378a5a[_0x378a5a['APPLY_DUPLICATED']=0x1b5d]=_0x225508(0x24b),_0x378a5a[_0x378a5a[_0x225508(0x2a6)]=0x1f41]=_0x225508(0x2a6),_0x378a5a[_0x378a5a[_0x225508(0x457)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x378a5a[_0x378a5a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x225508(0x20a),_0x378a5a[_0x378a5a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x225508(0x2c1),_0x378a5a[_0x378a5a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x378a5a[_0x378a5a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x225508(0x3fa),_0x378a5a[_0x378a5a[_0x225508(0x36e)]=0x2711]=_0x225508(0x36e),_0x378a5a[_0x378a5a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x225508(0x23a),_0x378a5a[_0x378a5a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x225508(0x431),_0x378a5a[_0x378a5a[_0x225508(0x2e9)]=0x2714]=_0x225508(0x2e9),_0x378a5a[_0x378a5a[_0x225508(0x307)]=0x271a]=_0x225508(0x307),_0x378a5a[_0x378a5a[_0x225508(0x25b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x378a5a[_0x378a5a[_0x225508(0x2bc)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x378a5a[_0x378a5a[_0x225508(0x340)]=0x2ee1]=_0x225508(0x340),_0x378a5a[_0x378a5a['INVALID_INVITE_CODE']=0x2ee2]=_0x225508(0x46b),_0x378a5a[_0x378a5a[_0x225508(0x2e5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x378a5a[_0x378a5a[_0x225508(0x347)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x378a5a[_0x378a5a[_0x225508(0x1eb)]=0x2ee5]=_0x225508(0x1eb),_0x378a5a[_0x378a5a['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x225508(0x2c9),_0x378a5a[_0x378a5a[_0x225508(0x2a5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x378a5a[_0x378a5a[_0x225508(0x290)]=0x32cb]=_0x225508(0x290),_0x378a5a[_0x378a5a[_0x225508(0x3e2)]=-0x1]='UNRECOGNIZED',_0x378a5a))(Si||{}),Q=(_0x26a775=>(_0x26a775[_0x26a775[_0x225508(0x42b)]=0x0]=_0x225508(0x42b),_0x26a775[_0x26a775[_0x225508(0x2e1)]=0x1]=_0x225508(0x2e1),_0x26a775[_0x26a775[_0x225508(0x409)]=0x2]=_0x225508(0x409),_0x26a775[_0x26a775[_0x225508(0x357)]=0x3]=_0x225508(0x357),_0x26a775[_0x26a775[_0x225508(0x18d)]=0x4]=_0x225508(0x18d),_0x26a775[_0x26a775[_0x225508(0x3e2)]=-0x1]=_0x225508(0x3e2),_0x26a775))(Q||{}),F=(_0x2baf56=>(_0x2baf56[_0x2baf56[_0x225508(0x294)]=0x0]=_0x225508(0x294),_0x2baf56[_0x2baf56[_0x225508(0x38c)]=0x1]=_0x225508(0x38c),_0x2baf56[_0x2baf56[_0x225508(0x2b5)]=0x2]=_0x225508(0x2b5),_0x2baf56[_0x2baf56['LEAVE']=0x3]=_0x225508(0x249),_0x2baf56[_0x2baf56[_0x225508(0x317)]=0x4]=_0x225508(0x317),_0x2baf56[_0x2baf56[_0x225508(0x345)]=0x5]=_0x225508(0x345),_0x2baf56[_0x2baf56['RECV']=0x6]=_0x225508(0x275),_0x2baf56[_0x2baf56[_0x225508(0x3e2)]=-0x1]=_0x225508(0x3e2),_0x2baf56))(F||{}),ge=(_0x5d7a2b=>(_0x5d7a2b[_0x5d7a2b[_0x225508(0x35e)]=0x0]=_0x225508(0x35e),_0x5d7a2b[_0x5d7a2b['OK']=0x1]='OK',_0x5d7a2b[_0x5d7a2b[_0x225508(0x33a)]=0x2]=_0x225508(0x33a),_0x5d7a2b[_0x5d7a2b['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x5d7a2b[_0x5d7a2b[_0x225508(0x33e)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x5d7a2b[_0x5d7a2b[_0x225508(0x3a0)]=0x3eb]=_0x225508(0x3a0),_0x5d7a2b[_0x5d7a2b[_0x225508(0x31b)]=0x3ec]=_0x225508(0x31b),_0x5d7a2b[_0x5d7a2b['UNRECOGNIZED']=-0x1]=_0x225508(0x3e2),_0x5d7a2b))(ge||{}),Ei=(_0x215360=>(_0x215360[_0x215360[_0x225508(0x2a7)]=0x0]=_0x225508(0x2a7),_0x215360[_0x215360[_0x225508(0x19b)]=0x1]=_0x225508(0x19b),_0x215360[_0x215360[_0x225508(0x404)]=0x2]=_0x225508(0x404),_0x215360[_0x215360[_0x225508(0x174)]=0x3]=_0x225508(0x174),_0x215360[_0x215360['UnitSnapshot']=0x4]=_0x225508(0x3b4),_0x215360[_0x215360[_0x225508(0x301)]=0x5]=_0x225508(0x301),_0x215360[_0x215360[_0x225508(0x3e2)]=-0x1]=_0x225508(0x3e2),_0x215360))(Ei||{});const q=_0x225508(0x37f),wn={};var re=(_0x15dced=>(_0x15dced['OTHER_CLIENT_EDITING']=_0x225508(0x194),_0x15dced['PERMISSION_DENIED']='PERMISSION_DENIED',_0x15dced[_0x225508(0x1e9)]=_0x225508(0x1e9),_0x15dced[_0x225508(0x287)]='CLOSE_ROOM',_0x15dced[_0x225508(0x315)]=_0x225508(0x315),_0x15dced[_0x225508(0x235)]='SOCKET_FAILED_RETRY',_0x15dced[_0x225508(0x3b3)]=_0x225508(0x3b3),_0x15dced[_0x225508(0x2d7)]='SUBMIT_CHANGESET_TIMEOUT',_0x15dced))(re||{});class pe{constructor(){var _0x2129b6=_0x225508;N(this,_0x2129b6(0x385),new _0x7a0b0d()),N(this,'event$',this[_0x2129b6(0x385)][_0x2129b6(0x1c9)]());}[_0x225508(0x206)](_0x4fb92e){var _0x2b71bb=_0x225508;this[_0x2b71bb(0x385)][_0x2b71bb(0x246)](_0x4fb92e);}}const Pn=_0x15f102(_0x225508(0x254));function Ln(_0x5cf391){var _0x5086a1=_0x225508,_0x368a44,_0x38c505,_0x1e5cf8,_0x13d78e,_0x203da9;const _0x2ee7bf=_0x5cf391[_0x5086a1(0x295)],_0x47e742=JSON[_0x5086a1(0x338)](_0x2ee7bf);switch(_0x47e742[_0x5086a1(0x2cb)]){case F[_0x5086a1(0x345)]:case F['HELLO']:{const _0x169f0=_0x47e742[_0x5086a1(0x333)];return{..._0x47e742,'data':_0x169f0,'cmd':_0x47e742[_0x5086a1(0x2cb)]};}case F[_0x5086a1(0x2b5)]:{const _0x3db264=_0x47e742[_0x5086a1(0x29a)];return{..._0x47e742,'data':_0x3db264,'cmd':_0x47e742['cmd']};}case F['RECV']:{const _0x154cfa=_0x47e742[_0x5086a1(0x188)];switch(_0x154cfa[_0x5086a1(0x350)]){case _0x3c1a33['PERMISSION_REJ']:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x368a44=_0x154cfa[_0x5086a1(0x366)])==null?void 0x0:_0x368a44['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33['CHANGESET_ACK']:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x38c505=_0x154cfa[_0x5086a1(0x2f2)])==null?void 0x0:_0x38c505['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x177)]:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x1e5cf8=_0x154cfa[_0x5086a1(0x23d)])==null?void 0x0:_0x1e5cf8['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x1fb)]:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x13d78e=_0x154cfa[_0x5086a1(0x3d8)])==null?void 0x0:_0x13d78e['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x37c)]:return{..._0x47e742,'data':{..._0x154cfa,'data':(_0x203da9=_0x154cfa[_0x5086a1(0x222)])==null?void 0x0:_0x203da9['cs']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x1f9)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa['updateCursorEvent']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x232)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa['joinEvent']},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x3da)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x19e)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33['LIVESHARE_NEW_HOST']:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x370)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x260)]:case _0x3c1a33['LIVESHARE_OPERATION']:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x171)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x42c)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x370)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x3b6)]:return{..._0x47e742,'data':_0x154cfa,'cmd':_0x47e742['cmd']};case _0x3c1a33[_0x5086a1(0x2ab)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x44b)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33[_0x5086a1(0x314)]:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x2d2)]},'cmd':_0x47e742['cmd']};case _0x3c1a33['SHOULD_CLOSE_CONN']:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x440)]},'cmd':_0x47e742[_0x5086a1(0x2cb)]};case _0x3c1a33['UNISCRIPT_RUN']:return{..._0x47e742,'data':{..._0x154cfa,'data':_0x154cfa[_0x5086a1(0x18e)]},'cmd':_0x47e742['cmd']};default:return _0x47e742;}}default:return _0x47e742;}}function xn(_0x4fcc66){var _0xcf9e69=_0x225508;switch(_0x4fcc66[_0xcf9e69(0x2cb)]){case F['HEARTBEAT']:case F[_0xcf9e69(0x38c)]:return JSON[_0xcf9e69(0x363)]({'cmd':_0x4fcc66[_0xcf9e69(0x2cb)],'routeKey':_0x4fcc66[_0xcf9e69(0x1f3)]});case F[_0xcf9e69(0x317)]:{let _0x5c647c;switch(_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x350)]){case _0x3c1a33[_0xcf9e69(0x1f9)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x1f9)],'updateCursorEvent':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x3da)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x3da)],'leaveEvent':_0x4fcc66['data'][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x232)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x232)],'joinEvent':_0x4fcc66[_0xcf9e69(0x295)]['data']};break;}case _0x3c1a33['LIVESHARE_NEW_HOST']:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x26e)],'liveShareNewHost':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x34c)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x34c)],'liveShareOperation':_0x4fcc66[_0xcf9e69(0x295)]['data']};break;}case _0x3c1a33[_0xcf9e69(0x42c)]:{_0x5c647c={'eventID':_0x3c1a33['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x455)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x455)],'liveShareRequestHost':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x295)]};break;}case _0x3c1a33[_0xcf9e69(0x260)]:{_0x5c647c={'eventID':_0x3c1a33[_0xcf9e69(0x260)]};break;}default:_0x5c647c={'eventID':_0x4fcc66[_0xcf9e69(0x295)][_0xcf9e69(0x350)]};}return JSON[_0xcf9e69(0x363)]({'cmd':_0x4fcc66[_0xcf9e69(0x2cb)],'routeKey':_0x4fcc66[_0xcf9e69(0x1f3)],'collaMsg':_0x5c647c});}case F[_0xcf9e69(0x2b5)]:return JSON[_0xcf9e69(0x363)]({'cmd':_0x4fcc66['cmd'],'routeKey':_0x4fcc66[_0xcf9e69(0x1f3)],'joinReq':_0x4fcc66[_0xcf9e69(0x295)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x4fcc66[_0xcf9e69(0x2cb)],'routeKey':_0x4fcc66[_0xcf9e69(0x1f3)],'leaveReq':_0x4fcc66[_0xcf9e69(0x295)]});default:throw new Error(_0xcf9e69(0x1e0));}}var Mn=Object[_0x225508(0x3dd)],kn=(_0x2f0484,_0xa605e8,_0xc43226,_0x4b3c8a)=>{var _0x3e01e8=_0x225508;for(var _0x338b52=_0x4b3c8a>0x1?void 0x0:_0x4b3c8a?Mn(_0xa605e8,_0xc43226):_0xa605e8,_0x94538c=_0x2f0484[_0x3e01e8(0x348)]-0x1,_0x500436;_0x94538c>=0x0;_0x94538c--)(_0x500436=_0x2f0484[_0x94538c])&&(_0x338b52=_0x500436(_0x338b52)||_0x338b52);return _0x338b52;},Ae=(_0xdaf538,_0x3136b2)=>(_0x52c212,_0x2f0ef8)=>_0x3136b2(_0x52c212,_0x2f0ef8,_0xdaf538);const Ii=_0x15f102(_0x225508(0x460));function $n(_0x207b4d,_0x592d31,_0x5b40b2){var _0x2bb814=_0x225508;return _0x207b4d+'/'+_0x592d31+_0x2bb814(0x3f8)+_0x5b40b2+_0x2bb814(0x18f);}let Gt=class extends _0x31b068{constructor(_0x29d48a,_0x23278d,_0x63352c,_0x59edcb,_0x5df0e3){var _0x10062d=_0x225508;super(),this[_0x10062d(0x1e1)]=_0x29d48a,this['_httpService']=_0x23278d,this['_configService']=_0x63352c,this[_0x10062d(0x2fe)]=_0x59edcb,this['_snapshotServerService']=_0x5df0e3;}[_0x225508(0x2dc)](_0x46e1f){var _0x399afa=_0x225508;const _0x51581a=this[_0x399afa(0x1e1)][_0x399afa(0x2a2)](_0x506a4b);if(!_0x51581a)throw new Error(_0x399afa(0x2bb));const _0x4ece92=_0x51581a[_0x399afa(0x285)](_0x46e1f);if(!_0x4ece92)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x19e23a=new _0x15ac30(),_0x17dcb2=new _0x7a0b0d();_0x19e23a[_0x399afa(0x3d3)](_0x4ece92['close$'][_0x399afa(0x1df)](_0x1dba02=>_0x17dcb2[_0x399afa(0x246)](_0x1dba02))),_0x19e23a[_0x399afa(0x3d3)](_0x479cb1(()=>_0x17dcb2[_0x399afa(0x2e6)]()));const _0x27d610=new _0x7a0b0d();_0x19e23a[_0x399afa(0x3d3)](_0x4ece92[_0x399afa(0x3f1)][_0x399afa(0x1df)](_0x52b15d=>_0x27d610[_0x399afa(0x246)](_0x52b15d))),_0x19e23a['add'](_0x479cb1(()=>_0x27d610['complete']()));const _0x56a069=new _0x7a0b0d();_0x19e23a['add'](_0x4ece92[_0x399afa(0x1c8)][_0x399afa(0x1df)](_0x506743=>{var _0x222792=_0x399afa;const _0x2e5f3b=Ln(_0x506743);_0x56a069[_0x222792(0x246)](_0x2e5f3b);})),_0x19e23a['add'](_0x479cb1(()=>_0x56a069[_0x399afa(0x2e6)]()));let _0x2bf7a4;const _0x95d3da=()=>{var _0x3dc6aa=_0x399afa;_0x27d610[_0x3dc6aa(0x246)](new Event('connection\x20error')),_0x17dcb2[_0x3dc6aa(0x246)](new Event(_0x3dc6aa(0x40b))),_0x2bf7a4['close']();};return _0x2bf7a4={'memberID':'','close$':_0x17dcb2['asObservable'](),'error$':_0x27d610[_0x399afa(0x1c9)](),'open$':_0x4ece92[_0x399afa(0x31f)],'message$':_0x56a069[_0x399afa(0x1c9)](),'send':_0x47fb67=>{var _0xa84a6b=_0x399afa;if(_0x47fb67[_0xa84a6b(0x2cb)]===F[_0xa84a6b(0x317)]){if(_0x47fb67[_0xa84a6b(0x295)]['eventID']===_0x3c1a33[_0xa84a6b(0x324)]){this[_0xa84a6b(0x322)](_0x2bf7a4,_0x47fb67[_0xa84a6b(0x295)])[_0xa84a6b(0x443)](_0x58cd9f=>{var _0x162f3b=_0xa84a6b;this[_0x162f3b(0x2fe)][_0x162f3b(0x376)](_0x58cd9f),_0x95d3da();});return;}if(_0x47fb67[_0xa84a6b(0x295)]['eventID']===_0x3c1a33[_0xa84a6b(0x190)]){const _0x5d1d52=_0x47fb67[_0xa84a6b(0x295)];this[_0xa84a6b(0x28c)](_0x5d1d52)[_0xa84a6b(0x42a)](_0x9fe244=>{var _0x47922c=_0xa84a6b;_0x56a069[_0x47922c(0x246)]({'cmd':F['RECV'],'code':ge['OK'],'routeKey':_0x5d1d52[_0x47922c(0x295)]['unitID'],'routeType':'','data':{'eventID':_0x3c1a33[_0x47922c(0x1b7)],'data':{'changesets':_0x9fe244}}});})[_0xa84a6b(0x443)](_0x441d29=>{var _0x1123d7=_0xa84a6b;this[_0x1123d7(0x2fe)][_0x1123d7(0x376)](_0x441d29),_0x95d3da();});return;}}_0x4ece92[_0xa84a6b(0x2a4)](xn(_0x47fb67));},'close':()=>{var _0x5912a0=_0x399afa;_0x4ece92[_0x5912a0(0x3d2)](),_0x19e23a[_0x5912a0(0x355)]();}},_0x2bf7a4;}async[_0x225508(0x322)](_0x2f123f,_0x2a2b85){var _0x311caa=_0x225508,_0x1679b8,_0x5d0d4a;const {unitType:_0xf8c6fa,unitID:_0x12e263,changeset:_0x2716d7}=_0x2a2b85[_0x311caa(0x295)],_0x2c652d={'unitID':_0x12e263,'memberID':_0x2f123f['memberID'],'type':_0xf8c6fa,'changeset':_0x5521e7(_0x2716d7)},_0xd56851=this[_0x311caa(0x2a3)][_0x311caa(0x202)](Nn),_0x3fcdb9=this[_0x311caa(0x2a3)]['getConfig'](q),_0x34120e=$n((_0x5d0d4a=(_0x1679b8=_0x3fcdb9==null?void 0x0:_0x3fcdb9[_0x311caa(0x36b)])!=null?_0x1679b8:_0xd56851)!=null?_0x5d0d4a:Dn,_0xf8c6fa,_0x12e263);try{await this[_0x311caa(0x3aa)]['post'](_0x34120e,{'body':_0x2c652d});}catch(_0x1ddbd4){throw this['_logService'][_0x311caa(0x376)]('[CollaborationSession]',_0x311caa(0x3f9)),_0x1ddbd4;}}async['_fetchMissChangesets'](_0x37d87f){var _0x5f3364=_0x225508;const {unitID:_0x45caa1,from:_0x4bb184,to:_0x4d5ea2,unitType:_0x24a650}=_0x37d87f['data'];return(await this['_snapshotServerService'][_0x5f3364(0x446)]({'metadata':void 0x0},{'unitID':_0x45caa1,'type':_0x24a650,'from':_0x4bb184,'to':_0x4d5ea2}))[_0x5f3364(0x1f1)];}};Gt=kn([Ae(0x0,_0x59c5a0(_0x1f43c7)),Ae(0x1,_0x59c5a0(_0x33df68)),Ae(0x2,_0x299d0c),Ae(0x3,_0x4017e6),Ae(0x4,_0x36ae02)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x2aaeb4){var _0x4c7a94=_0x225508;return JSON[_0x4c7a94(0x363)](_0x2aaeb4)[_0x4c7a94(0x348)];}class Ti{constructor(){var _0x1f9e88=_0x225508;N(this,_0x1f9e88(0x183),new _0x7a0b0d()),N(this,_0x1f9e88(0x3d1),this[_0x1f9e88(0x183)][_0x1f9e88(0x1c9)]());}[_0x225508(0x1b5)](_0xebb33b){var _0x225655=_0x225508;this[_0x225655(0x183)]['next'](_0xebb33b);}}var jn=Object[_0x225508(0x3dd)],Fn=(_0x186ce0,_0x48c0d4,_0x453371,_0x2246bf)=>{for(var _0x2094ca=_0x2246bf>0x1?void 0x0:_0x2246bf?jn(_0x48c0d4,_0x453371):_0x48c0d4,_0x2ed47d=_0x186ce0['length']-0x1,_0x5bef5d;_0x2ed47d>=0x0;_0x2ed47d--)(_0x5bef5d=_0x186ce0[_0x2ed47d])&&(_0x2094ca=_0x5bef5d(_0x2094ca)||_0x2094ca);return _0x2094ca;},Wt=(_0x48e9ef,_0x4ce150)=>(_0x5347eb,_0x415116)=>_0x4ce150(_0x5347eb,_0x415116,_0x48e9ef);let Le=class extends _0x31b068{constructor(_0x564b3e,_0x3a4ea5){var _0x334f99=_0x225508;super(),N(this,_0x334f99(0x1ee),new Map()),N(this,_0x334f99(0x30d),new _0x7a0b0d()),(this['_univerInstanceService']=_0x564b3e,this['_userManagerService']=_0x3a4ea5,this['disposeWithMe'](_0x3e5ef6(this[_0x334f99(0x1f5)]['getTypeOfUnitDisposed$'](_0x1a0c97[_0x334f99(0x409)])['pipe'](_0x4cad8a(_0x1b17dc=>_0x1b17dc['getUnitId']())),this[_0x334f99(0x1f5)][_0x334f99(0x1cb)](_0x1a0c97[_0x334f99(0x2e1)])['pipe'](_0x4cad8a(_0x475c94=>_0x475c94[_0x334f99(0x398)]())),this[_0x334f99(0x1f5)][_0x334f99(0x1cb)](_0x1a0c97['UNIVER_SLIDE'])[_0x334f99(0x1dc)](_0x4cad8a(_0x5bdbb7=>_0x5bdbb7[_0x334f99(0x398)]())))[_0x334f99(0x1df)](_0x234b25=>this[_0x334f99(0x454)](_0x234b25))));}[_0x225508(0x2fa)](_0x464f37){var _0x279c68=_0x225508;return this['_roomMembers'][_0x279c68(0x247)](_0x464f37)?_0x47cd70(this[_0x279c68(0x1ee)]['get'](_0x464f37)):this[_0x279c68(0x30d)]['pipe'](_0x4cad8a(_0x2b1a3f=>{var _0x10b55f=_0x279c68;if(_0x2b1a3f===_0x464f37)return this[_0x10b55f(0x1ee)][_0x10b55f(0x2a2)](_0x2b1a3f);}));}[_0x225508(0x2e3)](_0xcf9f6c){var _0xd24c26=_0x225508;this[_0xd24c26(0x32c)]['setCurrentUser'](_0xcf9f6c);}[_0x225508(0x210)](){var _0x58d58d=_0x225508;return this['_userManagerService'][_0x58d58d(0x210)]();}['updateMember'](_0x36c267,_0x28cc3a){var _0x1871c8=_0x225508;let _0x197277=this['_roomMembers']['get'](_0x36c267);_0x197277||(_0x197277=new Vn(),this['_roomMembers']['set'](_0x36c267,_0x197277),this[_0x1871c8(0x30d)]['next'](_0x36c267)),_0x197277[_0x1871c8(0x41d)](_0x28cc3a);}[_0x225508(0x33b)](_0x29ebbf,_0x19697c){var _0x5af36e=_0x225508;const _0x58fa73=this[_0x5af36e(0x1ee)][_0x5af36e(0x2a2)](_0x29ebbf);_0x58fa73&&_0x58fa73[_0x5af36e(0x33b)](_0x19697c);}[_0x225508(0x44c)](_0x2dea1f){var _0x57599d=_0x225508;return this['_roomMembers'][_0x57599d(0x2a2)](_0x2dea1f);}[_0x225508(0x41c)](_0x55a67d,_0xd079a9){var _0x1d27a2=_0x225508;const _0x539060=this[_0x1d27a2(0x1ee)][_0x1d27a2(0x2a2)](_0x55a67d);if(_0x539060)return _0x539060[_0x1d27a2(0x41c)](_0xd079a9);}[_0x225508(0x454)](_0x32ef02){var _0x4daae0=_0x225508;const _0x1a218e=this[_0x4daae0(0x1ee)][_0x4daae0(0x2a2)](_0x32ef02);_0x1a218e&&(_0x1a218e[_0x4daae0(0x355)](),this['_roomMembers'][_0x4daae0(0x213)](_0x32ef02));}[_0x225508(0x355)](){var _0xdcec8=_0x225508;this[_0xdcec8(0x1ee)][_0xdcec8(0x21b)](_0x86ea4b=>_0x86ea4b[_0xdcec8(0x355)]()),this[_0xdcec8(0x1ee)][_0xdcec8(0x34b)](),this[_0xdcec8(0x30d)][_0xdcec8(0x2e6)]();}};Le=Fn([Wt(0x0,_0x5db9d5),Wt(0x1,_0x59c5a0(_0x530e97))],Le);class Vn extends _0x31b068{constructor(){var _0x2eab5d=_0x225508;super(...arguments),N(this,_0x2eab5d(0x405),new Map()),N(this,_0x2eab5d(0x3ab),new _0x25de28(this['_members'])),N(this,_0x2eab5d(0x2fd),this[_0x2eab5d(0x3ab)][_0x2eab5d(0x1c9)]());}[_0x225508(0x355)](){this['_members']['clear']();}[_0x225508(0x41d)](_0x57aef){var _0x82ed49=_0x225508;this[_0x82ed49(0x405)]['set'](_0x57aef[_0x82ed49(0x296)],_0x57aef),this[_0x82ed49(0x40a)]();}[_0x225508(0x33b)](_0x47edef){var _0x12633a=_0x225508;this[_0x12633a(0x405)]['delete'](_0x47edef);}[_0x225508(0x41c)](_0x18fe5e){var _0x47a06e=_0x225508;return this[_0x47a06e(0x405)]['get'](_0x18fe5e);}[_0x225508(0x28a)](){var _0x355d83=_0x225508;return Array[_0x355d83(0x3e3)](this[_0x355d83(0x405)][_0x355d83(0x3f0)]());}['_emitMembers'](){var _0x27d89a=_0x225508;this[_0x27d89a(0x3ab)][_0x27d89a(0x246)](this[_0x27d89a(0x405)]);}}var Gn=Object[_0x225508(0x3dd)],Wn=(_0x260694,_0xa97738,_0x42bde5,_0x261020)=>{var _0x332ec1=_0x225508;for(var _0x486e38=_0x261020>0x1?void 0x0:_0x261020?Gn(_0xa97738,_0x42bde5):_0xa97738,_0x28261f=_0x260694[_0x332ec1(0x348)]-0x1,_0x3021b1;_0x28261f>=0x0;_0x28261f--)(_0x3021b1=_0x260694[_0x28261f])&&(_0x486e38=_0x3021b1(_0x486e38)||_0x486e38);return _0x486e38;},me=(_0xcbce8d,_0x1d7008)=>(_0x3a61c3,_0x55b438)=>_0x1d7008(_0x3a61c3,_0x55b438,_0xcbce8d),Ee=(_0x278fd0=>(_0x278fd0[_0x278fd0[_0x225508(0x38d)]=0x0]=_0x225508(0x38d),_0x278fd0[_0x278fd0[_0x225508(0x282)]=0x1]=_0x225508(0x282),_0x278fd0[_0x278fd0['OFFLINE']=0x2]=_0x225508(0x44f),_0x278fd0[_0x278fd0['ONLINE']=0x3]=_0x225508(0x3a9),_0x278fd0))(Ee||{});const Kt={[ge['FAIL']]:_0x225508(0x2d3),[ge[_0x225508(0x3a5)]]:_0x225508(0x1ab),[ge[_0x225508(0x33e)]]:_0x225508(0x327),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x225508(0x445),[ge[_0x225508(0x31b)]]:_0x225508(0x3bd)};let Et=class extends _0xbb1137{constructor(_0x18f00f,_0x1e7ea6,_0x4e4a2a,_0x4d86e0,_0xb72385,_0x3cd6a9,_0x514dc3,_0x23bf6e,_0x4dc583){var _0x52aaf8=_0x225508;super(),N(this,_0x52aaf8(0x466),new _0x25de28(0x0)),N(this,'sessionStatus$',this[_0x52aaf8(0x466)]['asObservable']()),N(this,'_event$',new _0x7a0b0d()),N(this,_0x52aaf8(0x25f),this[_0x52aaf8(0x385)][_0x52aaf8(0x1c9)]()),N(this,_0x52aaf8(0x253)),N(this,_0x52aaf8(0x428)),N(this,'_collaborationTimeoutTimer'),N(this,_0x52aaf8(0x204),!0x1),N(this,_0x52aaf8(0x1d0),null),(this[_0x52aaf8(0x3f3)]=_0x18f00f,this['_logService']=_0x4e4a2a,this[_0x52aaf8(0x2a3)]=_0x4d86e0,this[_0x52aaf8(0x20b)]=_0xb72385,this[_0x52aaf8(0x336)]=_0x3cd6a9,this['_commentService']=_0x514dc3,this[_0x52aaf8(0x369)]=_0x23bf6e,this[_0x52aaf8(0x23b)]=_0x4dc583,this['_shouldReportTelemetry']=!!this[_0x52aaf8(0x23b)],_0x1e7ea6['pipe'](_0x42950a(this[_0x52aaf8(0x33d)]))['subscribe'](_0x17bbf0=>{var _0x47488f=_0x52aaf8,_0x4eccca;typeof _0x17bbf0>'u'||(this[_0x47488f(0x253)]=_0x17bbf0,_0x17bbf0?(this[_0x47488f(0x2d0)](_0x17bbf0),this['_socketMessageSubscription']=_0x17bbf0['message$'][_0x47488f(0x1df)](_0x30bfa7=>{var _0x2e98ea=_0x47488f;_0x30bfa7[_0x2e98ea(0x1f3)]===this[_0x2e98ea(0x3f3)]&&this['_onCombEvent'](_0x30bfa7);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x47488f(0x246)](0x2),(_0x4eccca=this[_0x47488f(0x428)])==null||_0x4eccca['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x225508(0x170)](){var _0x5ed044=_0x225508;return this[_0x5ed044(0x466)]['getValue']();}[_0x225508(0x1e7)](){var _0x32b0bf=_0x225508,_0x2402e4,_0x5b5c6b;return(_0x5b5c6b=(_0x2402e4=this[_0x32b0bf(0x253)])==null?void 0x0:_0x2402e4['memberID'])!=null?_0x5b5c6b:null;}[_0x225508(0x355)](){var _0x45c417=_0x225508;super[_0x45c417(0x355)](),this[_0x45c417(0x33d)][_0x45c417(0x246)](),this[_0x45c417(0x33d)][_0x45c417(0x2e6)]();}[_0x225508(0x3d2)](){var _0x2b2fae=_0x225508,_0xc19f7f,_0x1a0e1b;this[_0x2b2fae(0x1c7)](),(_0xc19f7f=this[_0x2b2fae(0x253)])==null||_0xc19f7f[_0x2b2fae(0x2a4)]({'cmd':F[_0x2b2fae(0x249)],'data':{'roomID':this['_unitID']}}),(_0x1a0e1b=this[_0x2b2fae(0x253)])==null||_0x1a0e1b[_0x2b2fae(0x3d2)](),this[_0x2b2fae(0x385)][_0x2b2fae(0x2e6)](),this['_sessionStatus$'][_0x2b2fae(0x2e6)](),this['dispose']();}[_0x225508(0x2e0)](_0x5b366f){var _0xf952cb=_0x225508;_0x5b366f['cmd']===F[_0xf952cb(0x2b5)]?this[_0xf952cb(0x354)](_0x5b366f):_0x5b366f['cmd']===F[_0xf952cb(0x275)]&&this[_0xf952cb(0x30a)](_0x5b366f);}['_joinRoom'](_0x3d802d){var _0x572eb8=_0x225508;this[_0x572eb8(0x466)][_0x572eb8(0x246)](0x1),_0x3d802d['send']({'cmd':F[_0x572eb8(0x2b5)],'routeKey':this[_0x572eb8(0x3f3)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x225508(0x354)](_0x342908){var _0x2931f6=_0x225508,_0x5435f3;if(_0x342908['code']in Kt){this[_0x2931f6(0x369)]['emitEvent']({'id':re[_0x2931f6(0x315)],'data':Kt[_0x342908[_0x2931f6(0x29c)]]}),this[_0x2931f6(0x466)]['next'](0x2);return;}this[_0x2931f6(0x466)][_0x2931f6(0x246)](0x3);const _0x5a4f6d=(_0x5435f3=_0x342908[_0x2931f6(0x295)][_0x2931f6(0x38a)][this['_unitID']])==null?void 0x0:_0x5435f3[_0x2931f6(0x42d)];_0x5a4f6d&&_0x5a4f6d[_0x2931f6(0x21b)](_0x3e6d8f=>this[_0x2931f6(0x336)][_0x2931f6(0x41d)](this[_0x2931f6(0x3f3)],_0x3e6d8f));}[_0x225508(0x30a)](_0x372cb6){var _0x5c2f5a=_0x225508;try{const _0x59044c=_0x372cb6[_0x5c2f5a(0x295)];switch(_0x59044c[_0x5c2f5a(0x350)]){case _0x3c1a33[_0x5c2f5a(0x232)]:this['_onUserJoin'](_0x59044c),this['_event$'][_0x5c2f5a(0x246)](_0x59044c);break;case _0x3c1a33[_0x5c2f5a(0x3da)]:this[_0x5c2f5a(0x186)](_0x59044c),this[_0x5c2f5a(0x385)][_0x5c2f5a(0x246)](_0x59044c);break;case _0x3c1a33[_0x5c2f5a(0x395)]:case _0x3c1a33['CHANGESET_SHOULD_RETRY']:this[_0x5c2f5a(0x323)](),this[_0x5c2f5a(0x3a7)](),this[_0x5c2f5a(0x385)][_0x5c2f5a(0x246)](_0x59044c);break;case _0x3c1a33[_0x5c2f5a(0x3b6)]:this[_0x5c2f5a(0x2fe)][_0x5c2f5a(0x376)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5c2f5a(0x363)](_0x59044c)),this[_0x5c2f5a(0x385)][_0x5c2f5a(0x246)](_0x59044c);break;case _0x3c1a33[_0x5c2f5a(0x2ab)]:this['_commentService'][_0x5c2f5a(0x1b5)](_0x59044c[_0x5c2f5a(0x295)]),this['_event$']['next'](_0x59044c);break;default:this[_0x5c2f5a(0x385)][_0x5c2f5a(0x246)](_0x59044c);}}catch(_0x3b0bbe){this[_0x5c2f5a(0x2fe)][_0x5c2f5a(0x376)](_0x3b0bbe,_0x372cb6);}}[_0x225508(0x45a)](_0x447a42){var _0x36b1dd=_0x225508;this[_0x36b1dd(0x336)][_0x36b1dd(0x41d)](this['_unitID'],_0x447a42[_0x36b1dd(0x295)]);}[_0x225508(0x186)](_0x57cac8){var _0x33964f=_0x225508;this['_memberService']['removeMember'](this['_unitID'],_0x57cac8[_0x33964f(0x295)]['memberID']);}async[_0x225508(0x2a4)](_0x4007b9,_0x1205ac){var _0x2b0539=_0x225508;if(this[_0x2b0539(0x170)]!==0x3||!this[_0x2b0539(0x253)])throw new Error(_0x2b0539(0x259));try{_0x4007b9[_0x2b0539(0x350)]===_0x3c1a33[_0x2b0539(0x324)]&&(this[_0x2b0539(0x343)](),this['_startTelemetryCollaborationNewChangeset'](_0x4007b9)),this[_0x2b0539(0x253)][_0x2b0539(0x2a4)]({'cmd':F[_0x2b0539(0x317)],'routeKey':_0x1205ac,'routeType':'','data':_0x4007b9});}catch(_0x47470e){this[_0x2b0539(0x2fe)][_0x2b0539(0x376)](_0x47470e);}}[_0x225508(0x343)](){var _0x24dcc2=_0x225508,_0x5372ce;this[_0x24dcc2(0x421)]=setTimeout(()=>{var _0x50b2d0=_0x24dcc2;this['_collaborationTimeoutTimer']=null,this[_0x50b2d0(0x369)][_0x50b2d0(0x206)]({'id':re[_0x50b2d0(0x2d7)]});},(_0x5372ce=this[_0x24dcc2(0x2a3)][_0x24dcc2(0x202)](mi))!=null?_0x5372ce:gi);}['_clearCollaborationTimeoutTimer'](){var _0x5d080e=_0x225508;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5d080e(0x421)]=null);}[_0x225508(0x3f2)](_0x13ed5b){var _0x1c3ee5=_0x225508;if(!this['_shouldReportTelemetry'])return;const {data:_0x35b949}=_0x13ed5b,{unitID:_0x1378fe,changeset:_0x4cfd72}=_0x35b949,{mutations:_0x33101c,type:_0x59d67a}=_0x4cfd72;this[_0x1c3ee5(0x1d0)]={'unitId':_0x1378fe,'type':_0x59d67a,'startTime':performance[_0x1c3ee5(0x1c5)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x33101c)};}[_0x225508(0x323)](){var _0x4a2399=_0x225508;if(this['_shouldReportTelemetry']){if(!this[_0x4a2399(0x1d0)]){this[_0x4a2399(0x2fe)][_0x4a2399(0x376)](_0x4a2399(0x332),_0x4a2399(0x3ea));return;}this[_0x4a2399(0x1d0)]['stopTime']=performance['now'](),this[_0x4a2399(0x1d0)][_0x4a2399(0x1c4)]=this[_0x4a2399(0x1d0)]['stopTime']-this[_0x4a2399(0x1d0)][_0x4a2399(0x207)],this[_0x4a2399(0x23b)][_0x4a2399(0x2f7)](Hn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x4017e6),me(0x3,_0x299d0c),me(0x4,_0x59c5a0(_0x236a91)),me(0x5,_0x59c5a0(Le)),me(0x6,_0x59c5a0(Ti)),me(0x7,_0x59c5a0(pe)),me(0x8,_0x182985(_0x15bb86))],Et);var Kn=Object[_0x225508(0x3dd)],Yn=(_0x205e30,_0x46af7b,_0x242631,_0x267a0e)=>{var _0x5192b4=_0x225508;for(var _0x37f18c=_0x267a0e>0x1?void 0x0:_0x267a0e?Kn(_0x46af7b,_0x242631):_0x46af7b,_0x5b2662=_0x205e30[_0x5192b4(0x348)]-0x1,_0x4120cc;_0x5b2662>=0x0;_0x5b2662--)(_0x4120cc=_0x205e30[_0x5b2662])&&(_0x37f18c=_0x4120cc(_0x37f18c)||_0x37f18c);return _0x37f18c;},be=(_0x3ca132,_0xabbf26)=>(_0x1ba6e8,_0x10566f)=>_0xabbf26(_0x1ba6e8,_0x10566f,_0x3ca132);let xe=class extends _0x31b068{constructor(_0x3b2e18,_0x38d2f1,_0x25d860,_0x41dff0,_0x473042,_0x55625f){var _0x44d842=_0x225508;super(),N(this,_0x44d842(0x1ea),new _0x25de28(void 0x0)),N(this,'socket$',this[_0x44d842(0x1ea)]['asObservable']()),N(this,_0x44d842(0x244),null),N(this,'_sessions',new Map()),N(this,_0x44d842(0x437),new _0x25de28(Ee[_0x44d842(0x38d)])),N(this,_0x44d842(0x40d),this[_0x44d842(0x437)][_0x44d842(0x1c9)]()),N(this,_0x44d842(0x2a0),!0x1),N(this,_0x44d842(0x2dd)),N(this,_0x44d842(0x3cb),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x44d842(0x1e1)]=_0x3b2e18,this[_0x44d842(0x2fe)]=_0x38d2f1,this[_0x44d842(0x2a3)]=_0x25d860,this[_0x44d842(0x16c)]=_0x41dff0,this[_0x44d842(0x369)]=_0x473042,this['_networkConditionService']=_0x55625f,this[_0x44d842(0x245)]());}get['_socket'](){var _0x3983b7=_0x225508;return this[_0x3983b7(0x1ea)]['getValue']();}[_0x225508(0x245)](){var _0x37c29a=_0x225508;this['_networkConditionService']&&this['disposeWithMe'](this[_0x37c29a(0x3b0)][_0x37c29a(0x1ce)][_0x37c29a(0x1df)](_0x3a1feb=>{var _0x11c16f=_0x37c29a;_0x3a1feb&&!this[_0x11c16f(0x253)]&&this[_0x11c16f(0x2b9)](),_0x3a1feb||this['_onOffline']();}));}[_0x225508(0x355)](){var _0x118402=_0x225508;super[_0x118402(0x355)](),this['_clearRetryConnectingTimer'](),this[_0x118402(0x227)](),this[_0x118402(0x23c)](),this['_sessions'][_0x118402(0x21b)](_0x4ef7a0=>_0x4ef7a0['dispose']()),this[_0x118402(0x1f0)][_0x118402(0x34b)](),this[_0x118402(0x437)][_0x118402(0x2e6)]();}async[_0x225508(0x200)](_0x18ae28){var _0x3cef51=_0x225508;if(this[_0x3cef51(0x1f0)][_0x3cef51(0x247)](_0x18ae28))return this[_0x3cef51(0x1f0)][_0x3cef51(0x2a2)](_0x18ae28);this['_tryEnsureSocket']();const _0x3c2aea=this[_0x3cef51(0x1e1)][_0x3cef51(0x471)](Et,_0x18ae28,this[_0x3cef51(0x1ea)][_0x3cef51(0x1c9)]());return this[_0x3cef51(0x1f0)][_0x3cef51(0x26c)](_0x18ae28,_0x3c2aea),_0x3c2aea;}[_0x225508(0x390)](_0x17dd25){var _0x2d143f=_0x225508,_0x12aad8;const _0x1c6548=this[_0x2d143f(0x1f0)][_0x2d143f(0x2a2)](_0x17dd25);_0x1c6548&&(this[_0x2d143f(0x1f0)][_0x2d143f(0x213)](_0x17dd25),_0x1c6548[_0x2d143f(0x3d2)]()),this['_sessions'][_0x2d143f(0x271)]||(_0x12aad8=this['_socket'])==null||_0x12aad8['close']();}[_0x225508(0x2b9)](){var _0x42106c=_0x225508;this[_0x42106c(0x3cb)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x42106c(0x2ca)]();}[_0x225508(0x402)](){var _0x1b4995=_0x225508;this[_0x1b4995(0x2dd)]!=null&&(clearTimeout(this[_0x1b4995(0x2dd)]),this[_0x1b4995(0x2dd)]=null);}async[_0x225508(0x2c4)](){var _0x2d9c74=_0x225508,_0x5e8cce,_0x1f3944;const _0x2bff47=this[_0x2d9c74(0x2a3)][_0x2d9c74(0x202)](In),_0x1448dd=this[_0x2d9c74(0x2a3)][_0x2d9c74(0x202)](q),_0x4cb69a=(_0x1f3944=(_0x5e8cce=_0x1448dd==null?void 0x0:_0x1448dd['collabWebSocketUrl'])!=null?_0x5e8cce:_0x2bff47)!=null?_0x1f3944:Tn,_0x14a4e5=await this[_0x2d9c74(0x16c)]['createSocket'](_0x4cb69a);return this[_0x2d9c74(0x244)]=_0x14a4e5,_0x14a4e5;}async['_tryEnsureSocket'](){var _0x39a8e0=_0x225508,_0x2f661a,_0x128d1c;try{const _0x2e4b1c=(_0x128d1c=(_0x2f661a=this['_socket'])!=null?_0x2f661a:this[_0x39a8e0(0x244)])!=null?_0x128d1c:await this['_createSocket']();if(_0x2e4b1c){const _0x32f147=_0x2e4b1c[_0x39a8e0(0x2a4)];_0x2e4b1c[_0x39a8e0(0x2a4)]=_0x2e03fd=>(this['_rescheduleHeartbeat'](),_0x32f147['apply'](_0x2e4b1c,[_0x2e03fd])),_0x2e4b1c['message$'][_0x39a8e0(0x1df)](_0x2e24dc=>this['_onMessage'](_0x2e4b1c,_0x2e24dc)),_0x2e4b1c[_0x39a8e0(0x3f1)][_0x39a8e0(0x1dc)](_0xf52af0(0x1))[_0x39a8e0(0x1df)](_0x570b9c=>this[_0x39a8e0(0x2fe)][_0x39a8e0(0x376)](_0x39a8e0(0x3e4),_0x570b9c)),_0x2e4b1c['open$'][_0x39a8e0(0x1dc)](_0xf52af0(0x1))['subscribe'](()=>{var _0x576a1c=_0x39a8e0;this[_0x576a1c(0x3c8)](_0x2e4b1c);}),_0x2e4b1c[_0x39a8e0(0x43c)]['pipe'](_0xf52af0(0x1))['subscribe'](_0x214215=>{var _0x5bfa8d=_0x39a8e0;this[_0x5bfa8d(0x2fe)][_0x5bfa8d(0x1a9)](_0x5bfa8d(0x37d),_0x5bfa8d(0x414),_0x214215),this[_0x5bfa8d(0x2fb)]();});}}catch(_0x6fde9e){this[_0x39a8e0(0x2fe)][_0x39a8e0(0x376)](_0x6fde9e),this['_onConnectionFailed']();}}[_0x225508(0x3c8)](_0xa8756f){var _0xed1481=_0x225508;this[_0xed1481(0x2fe)]['debug']('[CollaborationSessionService]',_0xed1481(0x192)),_0xa8756f[_0xed1481(0x2a4)]({'cmd':F[_0xed1481(0x38c)]}),this['_rescheduleHeartbeat']();}[_0x225508(0x387)](){var _0x2cce94=_0x225508;this[_0x2cce94(0x2a0)]=!0x1,this[_0x2cce94(0x244)]=null,this[_0x2cce94(0x437)][_0x2cce94(0x246)](Ee[_0x2cce94(0x44f)]),this[_0x2cce94(0x1ea)][_0x2cce94(0x246)](null),this[_0x2cce94(0x227)](),this[_0x2cce94(0x23c)]();}[_0x225508(0x2fb)](){var _0xaccdf8=_0x225508,_0x802aa1;this['_onOffline'](),this[_0xaccdf8(0x3cb)]<((_0x802aa1=this['_configService'][_0xaccdf8(0x202)](On))!=null?_0x802aa1:yn)?(this[_0xaccdf8(0x369)][_0xaccdf8(0x206)]({'id':re[_0xaccdf8(0x235)]}),this['_tryReconnect']()):this[_0xaccdf8(0x369)]['emitEvent']({'id':re['SOCKET_FAILED']});}[_0x225508(0x2ca)](){var _0x254e29=_0x225508,_0x32c2fa;const _0x32e21d=this['_retryCount'],_0x2bef98=this[_0x254e29(0x2a3)][_0x254e29(0x202)](q),_0x5a093a=_0x32e21d===0x0?0x0:((_0x32c2fa=_0x2bef98==null?void 0x0:_0x2bef98[_0x254e29(0x1f7)])!=null?_0x32c2fa:bn)*0x2**_0x32e21d;this[_0x254e29(0x2dd)]=setTimeout(()=>{var _0x17bfca=_0x254e29;clearTimeout(this[_0x17bfca(0x2dd)]),this[_0x17bfca(0x2dd)]=null,this[_0x17bfca(0x330)]();},_0x5a093a),this[_0x254e29(0x3cb)]+=0x1;}[_0x225508(0x2e4)](_0x2f7a02,_0x4ce927){var _0x544234=_0x225508;const {cmd:_0x41c070}=_0x4ce927;_0x41c070===F[_0x544234(0x38c)]&&!this['_socketReady']&&(_0x2f7a02[_0x544234(0x296)]=_0x4ce927[_0x544234(0x295)][_0x544234(0x296)],this[_0x544234(0x1ea)][_0x544234(0x246)](_0x2f7a02),this[_0x544234(0x437)][_0x544234(0x246)](Ee['ONLINE']),this[_0x544234(0x2a0)]=!0x0,this[_0x544234(0x244)]=null),_0x41c070===F[_0x544234(0x345)]&&this['_clearTimeoutTimer'](),this[_0x544234(0x28f)]();}[_0x225508(0x28f)](){var _0x126d43=_0x225508,_0x45e10a;this['_clearHeartbeatTimer'](),this[_0x126d43(0x299)]=setTimeout(()=>this[_0x126d43(0x3d4)](),(_0x45e10a=this[_0x126d43(0x2a3)]['getConfig'](Cn))!=null?_0x45e10a:Rn);}[_0x225508(0x3d4)](){var _0x139db4=_0x225508;this[_0x139db4(0x253)][_0x139db4(0x2a4)]({'cmd':F['HEARTBEAT']}),this[_0x139db4(0x1fe)]();}[_0x225508(0x1fe)](){var _0xc07a0b=_0x225508,_0x48705e;this[_0xc07a0b(0x419)]=setTimeout(()=>this[_0xc07a0b(0x2fb)](),(_0x48705e=this['_configService'][_0xc07a0b(0x202)](mi))!=null?_0x48705e:gi);}['_clearHeartbeatTimer'](){var _0x2f8adc=_0x225508;this[_0x2f8adc(0x299)]!=null&&(clearTimeout(this[_0x2f8adc(0x299)]),this[_0x2f8adc(0x299)]=null);}[_0x225508(0x227)](){var _0x382e9e=_0x225508;this[_0x382e9e(0x419)]!=null&&(clearTimeout(this[_0x382e9e(0x419)]),this[_0x382e9e(0x419)]=null);}};xe=Yn([be(0x0,_0x59c5a0(_0x1f43c7)),be(0x1,_0x4017e6),be(0x2,_0x299d0c),be(0x3,Ii),be(0x4,_0x59c5a0(pe)),be(0x5,_0x182985(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x225508(0x3c4)]((t+0x100)['toString'](0x10)[_0x225508(0x1d8)](0x1));function qn(_0x3e295a,_0x3043f3=0x0){return(V[_0x3e295a[_0x3043f3+0x0]]+V[_0x3e295a[_0x3043f3+0x1]]+V[_0x3e295a[_0x3043f3+0x2]]+V[_0x3e295a[_0x3043f3+0x3]]+'-'+V[_0x3e295a[_0x3043f3+0x4]]+V[_0x3e295a[_0x3043f3+0x5]]+'-'+V[_0x3e295a[_0x3043f3+0x6]]+V[_0x3e295a[_0x3043f3+0x7]]+'-'+V[_0x3e295a[_0x3043f3+0x8]]+V[_0x3e295a[_0x3043f3+0x9]]+'-'+V[_0x3e295a[_0x3043f3+0xa]]+V[_0x3e295a[_0x3043f3+0xb]]+V[_0x3e295a[_0x3043f3+0xc]]+V[_0x3e295a[_0x3043f3+0xd]]+V[_0x3e295a[_0x3043f3+0xe]]+V[_0x3e295a[_0x3043f3+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x345f7d=_0x225508;if(!ut){if(typeof crypto>'u'||!crypto[_0x345f7d(0x185)])throw new Error(_0x345f7d(0x198));ut=crypto[_0x345f7d(0x185)][_0x345f7d(0x19a)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x225508(0x262)]&&crypto[_0x225508(0x262)]['bind'](crypto),Yt={'randomUUID':Xn};function Zn(_0x625e88,_0xbd5d53,_0x4f99f0){var _0x199180=_0x225508,_0x1754f1,_0x6138c1,_0x393df0;if(Yt['randomUUID']&&!_0x625e88)return Yt[_0x199180(0x262)]();_0x625e88=_0x625e88||{};const _0x3cf0f9=(_0x393df0=(_0x6138c1=_0x625e88[_0x199180(0x21c)])!=null?_0x6138c1:(_0x1754f1=_0x625e88['rng'])==null?void 0x0:_0x1754f1[_0x199180(0x3db)](_0x625e88))!=null?_0x393df0:Jn();if(_0x3cf0f9['length']<0x10)throw new Error(_0x199180(0x473));return _0x3cf0f9[0x6]=_0x3cf0f9[0x6]&0xf|0x40,_0x3cf0f9[0x8]=_0x3cf0f9[0x8]&0x3f|0x80,qn(_0x3cf0f9);}const J=_0x15f102(_0x225508(0x37e));function Br(_0x402834){var _0x366b01=_0x225508;return _0x366b01(0x472)+_0x402834;}var Qn=Object[_0x225508(0x3dd)],es=(_0x36ed28,_0x466513,_0xe4f72a,_0x275a55)=>{for(var _0x473034=_0x275a55>0x1?void 0x0:_0x275a55?Qn(_0x466513,_0xe4f72a):_0x466513,_0x5cadd1=_0x36ed28['length']-0x1,_0x4e2f42;_0x5cadd1>=0x0;_0x5cadd1--)(_0x4e2f42=_0x36ed28[_0x5cadd1])&&(_0x473034=_0x4e2f42(_0x473034)||_0x473034);return _0x473034;},dt=(_0x1c521a,_0x49cace)=>(_0x4aa635,_0x8c98ea)=>_0x49cace(_0x4aa635,_0x8c98ea,_0x1c521a);function ts(_0x2c7864){var _0x43bee5=_0x225508;const {unitID:_0x38532b,mutations:_0x1dde26}=_0x2c7864;return{'unitId':_0x38532b,'subUnitId':_0x1dde26[0x0]['params'][_0x43bee5(0x1d6)]};}let it=class{constructor(_0x4bb863,_0x1059a5,_0x24443b){var _0x3203dc=_0x225508;this['_injector']=_0x4bb863,this['_transformService']=_0x1059a5,this[_0x3203dc(0x16b)]=_0x24443b;}[_0x225508(0x3b5)](_0x435333){var _0x16c8dd=_0x225508,_0x4128c6,_0x255ccd,_0xa2718c,_0x38366c;const _0x549417=this['_injector'][_0x16c8dd(0x2a2)](_0xa58a50),{unitId:_0x5f4fd9,subUnitId:_0x568a66}=ts(_0x435333),_0x49e556=_0x549417==null?void 0x0:_0x549417[_0x16c8dd(0x41b)](_0x5f4fd9)[_0x16c8dd(0x3a6)](),_0x278d06=(_0x255ccd=(_0x4128c6=this[_0x16c8dd(0x16b)][_0x16c8dd(0x474)](_0x5f4fd9))==null?void 0x0:_0x4128c6['getActiveSheet']())==null?void 0x0:_0x255ccd[_0x16c8dd(0x3bc)]();if(_0x49e556[_0x16c8dd(0x348)]===0x0||!_0x5f4fd9||!_0x568a66)return;const _0x3fda1c=[{'id':_0x2f54cc['id'],'params':{'unitId':_0x5f4fd9,'subUnitId':_0x278d06,'selections':_0x3b2e42[_0x16c8dd(0x217)](_0x49e556)}}],_0x235f01=this[_0x16c8dd(0x173)][_0x16c8dd(0x27f)](_0x435333,_0x3fda1c);if(!_0xb3d720(_0x235f01))throw _0x235f01[_0x16c8dd(0x376)];const _0x1e4148=(_0x38366c=(_0xa2718c=_0x235f01['m2Prime'][0x0])==null?void 0x0:_0xa2718c[_0x16c8dd(0x418)])==null?void 0x0:_0x38366c[_0x16c8dd(0x361)];if(Array[_0x16c8dd(0x238)](_0x1e4148)&&_0x1e4148['length']){if(_0x1e4148[_0x16c8dd(0x348)]===_0x3fda1c[0x0][_0x16c8dd(0x418)][_0x16c8dd(0x361)][_0x16c8dd(0x348)]&&_0x1e4148['every']((_0x5b14d6,_0x2d3758)=>_0x4d5ac0[_0x16c8dd(0x2b6)](_0x5b14d6[_0x16c8dd(0x400)],_0x3fda1c[0x0][_0x16c8dd(0x418)][_0x16c8dd(0x361)][_0x2d3758]['range'])))return;this[_0x16c8dd(0x1e1)][_0x16c8dd(0x2a2)](_0x171c01)[_0x16c8dd(0x255)](_0x2f54cc['id'],{'unitId':_0x5f4fd9,'subUnitId':_0x278d06,'selections':_0x1e4148});}}};it=es([dt(0x0,_0x59c5a0(_0x1f43c7)),dt(0x1,_0x4832d4),dt(0x2,_0x5db9d5)],it);const ht=_0x15f102(_0x225508(0x35a));var Ci=(_0x1385b8=>(_0x1385b8[_0x1385b8[_0x225508(0x448)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x1385b8[_0x1385b8['OTHER_CLIENTS_EDITING']=0x1]=_0x225508(0x2c2),_0x1385b8))(Ci||{});const is=new Set([_0x5caf3c['id']]);function qt(_0x1a0b58,_0x1afb0c,_0x5902cb,_0x12c8f5,_0x294a1c){var _0x288552=_0x225508,_0x47971d,_0x2d7a50,_0x41d62d,_0x4f1382;const _0x4bfe51=[];for(const _0x10baa9 of _0x1a0b58)if(is['has'](_0x10baa9['id'])){if(_0x4bfe51[_0x288552(0x348)]>0x0)break;_0x4bfe51[_0x288552(0x3c4)](_0x10baa9);break;}else _0x4bfe51[_0x288552(0x3c4)](_0x10baa9);const _0x443172=(_0x2d7a50=(_0x47971d=_0x294a1c[_0x288552(0x210)]())==null?void 0x0:_0x47971d[_0x288552(0x273)])!=null?_0x2d7a50:_0x288552(0x1be),_0x19b873=(_0x4f1382=(_0x41d62d=_0x294a1c[_0x288552(0x210)]())==null?void 0x0:_0x41d62d[_0x288552(0x296)])!=null?_0x4f1382:_0x288552(0x1be);return{'changeset':{'unitID':_0x1afb0c,'type':_0x33e8d7(_0x5902cb[_0x288552(0x2df)](_0x1afb0c)),'baseRev':_0x12c8f5[_0x288552(0x3a3)](_0x1afb0c),'revision':0x0,'userID':_0x443172,'memberID':_0x19b873,'mutations':_0x4bfe51},'pendingMutations':_0x1a0b58['slice'](_0x4bfe51[_0x288552(0x348)])};}function ns(_0x37ed28,_0x18937b,_0x14c3c6,_0x3af150,_0x478390){var _0x2d94f5=_0x225508,_0x49c46f,_0x4dbde5,_0x298897,_0x4dcf1b;const _0xf0fef3=[_0x37ed28[_0x2d94f5(0x316)]((_0x4cb1d2,_0x4060af)=>{var _0x2d6a33=_0x2d94f5,_0x58ce2a;const {id:_0xc61855}=_0x4cb1d2,{id:_0x16cf1b,type:_0x1135d0}=_0x4060af,_0x35bc3e=(_0x58ce2a=_0x4cb1d2[_0x2d6a33(0x418)])!=null?_0x58ce2a:{'actions':null},_0x1fa6bc=_0x4060af['params'];if(_0xc61855&&_0xc61855!==_0x16cf1b)throw new Error(_0x2d6a33(0x233)+_0xc61855+_0x2d6a33(0x3f7)+_0x16cf1b+'.');return{..._0x4cb1d2,'id':_0x16cf1b,'type':_0x1135d0,'params':{'unitId':_0x1fa6bc[_0x2d6a33(0x3ec)],'textRanges':_0x1fa6bc[_0x2d6a33(0x374)],'actions':_0x3c4ef4[_0x2d6a33(0x2b3)](_0x35bc3e[_0x2d6a33(0x18b)],_0x1fa6bc[_0x2d6a33(0x18b)])}};},{})],_0x2de3ea=(_0x4dbde5=(_0x49c46f=_0x478390[_0x2d94f5(0x210)]())==null?void 0x0:_0x49c46f[_0x2d94f5(0x273)])!=null?_0x4dbde5:'unknown',_0x197a08=(_0x4dcf1b=(_0x298897=_0x478390[_0x2d94f5(0x210)]())==null?void 0x0:_0x298897[_0x2d94f5(0x296)])!=null?_0x4dcf1b:_0x2d94f5(0x1be);return{'changeset':{'unitID':_0x18937b,'type':_0x33e8d7(_0x14c3c6[_0x2d94f5(0x2df)](_0x18937b)),'baseRev':_0x3af150[_0x2d94f5(0x3a3)](_0x18937b),'revision':0x0,'userID':_0x2de3ea,'memberID':_0x197a08,'mutations':_0xf0fef3},'pendingMutations':[]};}function Ri(_0x11d012,_0x1e5814){var _0x4e8390=_0x225508;const _0x26b42d=new _0x1bbf2f(0x1);return setTimeout(()=>_0x26b42d['next'](_0x1e5814),_0x11d012),_0x26b42d[_0x4e8390(0x1c9)]()[_0x4e8390(0x1dc)](_0x3c6b39(0x1));}const ss={'id':_0x493c9d['id'],'type':_0x3dc4e2['MUTATION'],'params':{}};var rs=Object[_0x225508(0x3dd)],Te=(_0x219e06,_0x5908c2,_0x5dd291,_0x5db4d2)=>{for(var _0x560d58=_0x5db4d2>0x1?void 0x0:_0x5db4d2?rs(_0x5908c2,_0x5dd291):_0x5908c2,_0xa5c974=_0x219e06['length']-0x1,_0x15f52f;_0xa5c974>=0x0;_0xa5c974--)(_0x15f52f=_0x219e06[_0xa5c974])&&(_0x560d58=_0x15f52f(_0x560d58)||_0x560d58);return _0x560d58;},P=(_0x2bbfbe,_0x25625f)=>(_0x4d56b9,_0x243c12)=>_0x25625f(_0x4d56b9,_0x243c12,_0x2bbfbe),bi=(_0x228017=>(_0x228017[_0x225508(0x39e)]=_0x225508(0x196),_0x228017[_0x225508(0x1bc)]=_0x225508(0x27a),_0x228017[_0x225508(0x1a2)]='pending',_0x228017[_0x225508(0x178)]='awaiting',_0x228017[_0x225508(0x1af)]='awaiting_with_pending',_0x228017['FETCH_MISS']=_0x225508(0x43b),_0x228017[_0x225508(0x1e9)]=_0x225508(0x3ff),_0x228017[_0x225508(0x44f)]=_0x225508(0x236),_0x228017))(bi||{});const Oi=0xea60;class Ce{constructor(_0x121155,_0x61620b,_0x5ab96a,_0x325bb3,_0x4075d4,_0x1edd17,_0x18280f,_0x5273b6,_0x4cbff6){var _0x233cf3=_0x225508;N(this,_0x233cf3(0x1a4),null),N(this,_0x233cf3(0x3cd),[]),(this[_0x233cf3(0x3b1)]=_0x121155,this[_0x233cf3(0x219)]=_0x61620b,this[_0x233cf3(0x3d9)]=_0x4075d4,this['_commandService']=_0x1edd17,this[_0x233cf3(0x32d)]=_0x18280f,this[_0x233cf3(0x367)]=_0x5273b6,this['_localCacheService']=_0x4cbff6,this[_0x233cf3(0x1a4)]=_0x5ab96a,this['_pendingMutations']=_0x325bb3);}[_0x225508(0x3cc)](_0x60ce9c){var _0x314552=_0x225508;const _0x1cefab=this['_revisionService'][_0x314552(0x3a3)](this[_0x314552(0x3b1)]);return _0x60ce9c['revision']>_0x1cefab+0x1?(this[_0x314552(0x3d9)][_0x314552(0x3de)]({'from':_0x1cefab,'to':_0x60ce9c[_0x314552(0x298)]-0x1}),!0x0):!0x1;}[_0x225508(0x261)](_0x3623ba){var _0x3d89e5=_0x225508;this[_0x3d89e5(0x32d)][_0x3d89e5(0x40c)](this[_0x3d89e5(0x3b1)],_0x3623ba);}['_transformSelections'](_0x7f9da7){var _0x351f8e=_0x225508,_0x3bef1a,_0x499a72;(_0x499a72=(_0x3bef1a=this[_0x351f8e(0x3d9)])[_0x351f8e(0x3e6)])==null||_0x499a72[_0x351f8e(0x3db)](_0x3bef1a,_0x7f9da7);}[_0x225508(0x1f2)](_0x75c254){var _0x159ec6=_0x225508,_0x229057,_0x110d37;return(_0x110d37=(_0x229057=this['_handler'])['onTransformIME'])==null?void 0x0:_0x110d37[_0x159ec6(0x3db)](_0x229057,_0x75c254);}[_0x225508(0x191)](_0x16452a){var _0x72adc7=_0x225508,_0x1e2062,_0x393000;return(_0x393000=(_0x1e2062=this['_handler'])['onTransformState'])==null?void 0x0:_0x393000[_0x72adc7(0x3db)](_0x1e2062,_0x16452a);}[_0x225508(0x3a4)](_0x2da9f2){var _0x5480ea=_0x225508,_0x3ba0cb,_0x29e138,_0x4fa924;return(_0x4fa924=(_0x29e138=(_0x3ba0cb=this[_0x5480ea(0x3d9)])[_0x5480ea(0x226)])==null?void 0x0:_0x29e138['call'](_0x3ba0cb,_0x2da9f2))!=null?_0x4fa924:_0x2da9f2;}[_0x225508(0x2d6)](_0x276905){var _0x12813e=_0x225508,_0x439f8d,_0x359599,_0x578c23;return(_0x578c23=(_0x359599=(_0x439f8d=this[_0x12813e(0x3d9)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x359599[_0x12813e(0x3db)](_0x439f8d,_0x276905))!=null?_0x578c23:_0x276905;}[_0x225508(0x1b0)](_0x52009d){var _0x54ad55=_0x225508,_0x3cb0d0,_0x4e9d20;if(this[_0x54ad55(0x219)]===Q[_0x54ad55(0x2e1)]){const {unitID:_0x4afc07,mutations:_0x5b23c3,memberID:_0xcd6942}=_0x52009d,_0x20d108=_0x5b23c3[0x0][_0x54ad55(0x418)][_0x54ad55(0x374)];Array[_0x54ad55(0x238)](_0x20d108)&&_0x20d108[_0x54ad55(0x348)]>0x0&&((_0x4e9d20=(_0x3cb0d0=this[_0x54ad55(0x3d9)])[_0x54ad55(0x358)])==null||_0x4e9d20[_0x54ad55(0x3db)](_0x3cb0d0,{'unitID':_0x4afc07,'memberID':_0xcd6942,'textRanges':_0x20d108}));}}['_updateLocalCache'](){var _0x1f6b1d=_0x225508,_0x13199c;(_0x13199c=this['_localCacheService'])==null||_0x13199c['updateOfflineData'](this[_0x1f6b1d(0x3b1)],this['type'],this[_0x1f6b1d(0x1a4)],this['_pendingMutations']);}[_0x225508(0x306)](){var _0x10b509=_0x225508;return this[_0x10b509(0x367)][_0x10b509(0x3a3)](this[_0x10b509(0x3b1)]);}[_0x225508(0x2bf)](){var _0x3e94a0=_0x225508;this[_0x3e94a0(0x367)][_0x3e94a0(0x237)](this[_0x3e94a0(0x3b1)]);}[_0x225508(0x458)](_0x4563b8){var _0x3ddf44=_0x225508,_0x46ebea;let _0x5de1d7=this['_transformRemoteChangesetByIMECache'](_0x4563b8);_0x5de1d7=this[_0x3ddf44(0x2d6)](_0x5de1d7);const _0x20aa79=_0x3f10ac(_0x5de1d7[_0x3ddf44(0x3be)],this[_0x3ddf44(0x45d)],{'fromCollab':!0x0});if(!_0x20aa79[_0x3ddf44(0x2fc)])throw _0x20aa79['error']instanceof Error?_0x20aa79[_0x3ddf44(0x376)]:new Error((_0x46ebea=_0x20aa79['error'])!=null?_0x46ebea:_0x3ddf44(0x3b8));this['_transformIMECache'](_0x5de1d7),this['_transformStateCache'](_0x5de1d7),this[_0x3ddf44(0x261)](_0x4563b8),this[_0x3ddf44(0x461)](_0x5de1d7),this[_0x3ddf44(0x1b0)](_0x5de1d7),this[_0x3ddf44(0x2bf)]();}}let Ne=class extends Ce{constructor(_0x53b794,_0x21a496,_0x5a441e,_0x2e00c6,_0x33ad3a,_0x43bbe2,_0x1751c7,_0x15e0ec,_0x23320c,_0x12b65b){var _0x47674b=_0x225508;super(_0x53b794,_0x21a496,null,[],_0x5a441e,_0x1751c7,_0x43bbe2,_0x2e00c6,_0x12b65b),N(this,_0x47674b(0x388),_0x47674b(0x27a)),(this[_0x47674b(0x1e1)]=_0x33ad3a,this[_0x47674b(0x2fe)]=_0x15e0ec,this[_0x47674b(0x173)]=_0x23320c,this[_0x47674b(0x26b)]=_0x12b65b);}[_0x225508(0x394)](_0x55b325){var _0x243c65=_0x225508;const _0x522b0c=this[_0x243c65(0x1e1)][_0x243c65(0x471)](ae,this['unitID'],this['type'],[_0x55b325],this[_0x243c65(0x3d9)]);return _0x522b0c[_0x243c65(0x2ed)](),_0x522b0c[_0x243c65(0x2ee)](),_0x522b0c;}[_0x225508(0x1e4)](_0x3faa20){var _0x3fdd66=_0x225508;if(this[_0x3fdd66(0x3cc)](_0x3faa20))return this[_0x3fdd66(0x1e1)][_0x3fdd66(0x471)](ee,this[_0x3fdd66(0x3b1)],this[_0x3fdd66(0x219)],null,[],null,[_0x3faa20],this[_0x3fdd66(0x3d9)]);try{const _0xb1cfa5=this[_0x3fdd66(0x173)][_0x3fdd66(0x27f)](_0x3faa20,[ss]);if(_0xb3d720(_0xb1cfa5)){const {c1Prime:_0x2decf3}=_0xb1cfa5;return this[_0x3fdd66(0x458)](_0x2decf3),this;}throw _0xb1cfa5[_0x3fdd66(0x376)];}catch(_0x574940){return this[_0x3fdd66(0x2fe)][_0x3fdd66(0x376)](_0x574940),this[_0x3fdd66(0x27e)](!0x1);}}[_0x225508(0x27e)](_0x289abc){var _0x5027ff=_0x225508;return this['_injector'][_0x5027ff(0x471)](ue,this[_0x5027ff(0x3b1)],this[_0x5027ff(0x219)],null,[],this[_0x5027ff(0x3d9)],_0x289abc);}[_0x225508(0x284)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x225508(0x403)](){var _0x24e930=_0x225508;throw new Error(_0x24e930(0x1f8));}['onRemoteRetry'](){return this;}[_0x225508(0x181)](){var _0x2c61a0=_0x225508;return this[_0x2c61a0(0x1e1)][_0x2c61a0(0x471)](de,this[_0x2c61a0(0x3b1)],this[_0x2c61a0(0x219)],null,[],this[_0x2c61a0(0x3d9)]);}['toggleOnline'](){return this;}[_0x225508(0x3c3)](){var _0x34ebc5=_0x225508;throw new Error(_0x34ebc5(0x359));}[_0x225508(0x35f)](){var _0x22ad4e=_0x225508;const _0x5271ce=this[_0x22ad4e(0x367)]['getCurrentRevOfUnit'](this[_0x22ad4e(0x3b1)]);return this[_0x22ad4e(0x3d9)][_0x22ad4e(0x3de)]({'from':_0x5271ce,'to':0x0}),this[_0x22ad4e(0x1e1)][_0x22ad4e(0x471)](ee,this[_0x22ad4e(0x3b1)],this[_0x22ad4e(0x219)],null,[],null,[],this[_0x22ad4e(0x3d9)]);}};Ne=Te([P(0x3,_0x59c5a0(_0x3f05b9)),P(0x4,_0x59c5a0(_0x1f43c7)),P(0x5,_0x315796),P(0x6,_0x171c01),P(0x7,_0x4017e6),P(0x8,_0x4832d4),P(0x9,_0x182985(J))],Ne);let ae=class extends Ce{constructor(_0x2054e1,_0x37a20d,_0x3aa996,_0x1390bb,_0x35b7a7,_0x5580c4,_0x282eb5,_0x5ddb54,_0x4b347e,_0x556456,_0x58089f,_0x59daba,_0x164e63,_0x2393f2){var _0x3e6574=_0x225508;super(_0x2054e1,_0x37a20d,null,_0x3aa996,_0x1390bb,_0x4b347e,_0x164e63,_0x5580c4,_0x2393f2),N(this,_0x3e6574(0x388),'pending'),N(this,_0x3e6574(0x1bd),null),N(this,_0x3e6574(0x303),null),(this[_0x3e6574(0x1e1)]=_0x35b7a7,this[_0x3e6574(0x336)]=_0x282eb5,this[_0x3e6574(0x2fe)]=_0x5ddb54,this[_0x3e6574(0x2a3)]=_0x556456,this['_transformService']=_0x58089f,this[_0x3e6574(0x1f5)]=_0x59daba);}[_0x225508(0x394)](_0x340069){var _0xff21c9=_0x225508;return this[_0xff21c9(0x3cd)][_0xff21c9(0x3c4)](_0x340069),this[_0xff21c9(0x2ee)](),this;}[_0x225508(0x1e4)](_0x287610){var _0x3c1ad7=_0x225508;if(this[_0x3c1ad7(0x3cc)](_0x287610))return this[_0x3c1ad7(0x382)](),this[_0x3c1ad7(0x1e1)][_0x3c1ad7(0x471)](ee,this['unitID'],this[_0x3c1ad7(0x219)],null,this[_0x3c1ad7(0x3cd)],null,[_0x287610],this[_0x3c1ad7(0x3d9)]);try{const _0x3018c9=this[_0x3c1ad7(0x173)]['transformMutationsWithChangeset'](_0x287610,this[_0x3c1ad7(0x3cd)]);if(_0xb3d720(_0x3018c9)){const {c1Prime:_0x392aeb,m2Prime:_0x51b1e7}=_0x3018c9;this[_0x3c1ad7(0x458)](_0x392aeb);const _0x38f519=this[_0x3c1ad7(0x1e1)]['createInstance'](ae,this['unitID'],this['type'],_0x51b1e7,this[_0x3c1ad7(0x3d9)]);this[_0x3c1ad7(0x382)]();const _0x57c196=new Date()[_0x3c1ad7(0x2b1)](),_0x104c89=this[_0x3c1ad7(0x1bd)]?Math['max'](this[_0x3c1ad7(0x1bd)]-_0x57c196,0x0):this[_0x3c1ad7(0x220)]();return _0x38f519[_0x3c1ad7(0x2ed)](_0x104c89),_0x38f519;}throw _0x3018c9[_0x3c1ad7(0x376)];}catch(_0x51fdac){return this[_0x3c1ad7(0x2fe)][_0x3c1ad7(0x376)](_0x51fdac),this[_0x3c1ad7(0x27e)](!0x1);}}[_0x225508(0x284)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x225508(0x403)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x225508(0x182)](){return this;}[_0x225508(0x181)](){var _0x3cec36=_0x225508;return this[_0x3cec36(0x382)](),this[_0x3cec36(0x1e1)]['createInstance'](de,this[_0x3cec36(0x3b1)],this['type'],null,this[_0x3cec36(0x3cd)],this['_handler']);}[_0x225508(0x256)](){return this;}['_schedule'](_0x111665){var _0x107141=_0x225508;const _0x478d93=_0x111665!=null?_0x111665:this[_0x107141(0x220)]();this[_0x107141(0x1bd)]=new Date()[_0x107141(0x2b1)]()+_0x478d93,this[_0x107141(0x303)]=setTimeout(()=>{var _0x44d91e=_0x107141;this[_0x44d91e(0x382)]();let _0xe4855b=null;switch(this[_0x44d91e(0x219)]){case Q[_0x44d91e(0x409)]:{_0xe4855b=qt(this['_pendingMutations'],this['unitID'],this[_0x44d91e(0x1f5)],this['_revisionService'],this[_0x44d91e(0x336)]);break;}case Q[_0x44d91e(0x2e1)]:{this[_0x44d91e(0x3cd)][_0x44d91e(0x3c2)](_0x249bf7=>_0x249bf7['id']===_0x5c3dc0['id'])?_0xe4855b=ns(this[_0x44d91e(0x3cd)],this['unitID'],this[_0x44d91e(0x1f5)],this[_0x44d91e(0x367)],this['_memberService']):_0xe4855b=qt(this[_0x44d91e(0x3cd)],this[_0x44d91e(0x3b1)],this[_0x44d91e(0x1f5)],this[_0x44d91e(0x367)],this[_0x44d91e(0x336)]);break;}default:throw new Error(_0x44d91e(0x1a6)+this[_0x44d91e(0x219)]+'\x20in\x20_schedule.');}const {changeset:_0x36e340,pendingMutations:_0x372b52}=_0xe4855b;this[_0x44d91e(0x3d9)][_0x44d91e(0x234)](_0x36e340);const _0x2447c9=_0x372b52[_0x44d91e(0x348)]?this[_0x44d91e(0x1e1)][_0x44d91e(0x471)](oe,this[_0x44d91e(0x3b1)],this[_0x44d91e(0x219)],_0x36e340,_0x372b52,this[_0x44d91e(0x3d9)],void 0x0):this['_injector']['createInstance'](le,this[_0x44d91e(0x3b1)],this[_0x44d91e(0x219)],_0x36e340,this[_0x44d91e(0x3d9)]);_0x2447c9[_0x44d91e(0x2ee)](),this[_0x44d91e(0x3d9)][_0x44d91e(0x25d)](this,_0x2447c9);},_0x478d93);}['_getSendChangesetTimeout'](){var _0x165e27=_0x225508,_0x1f6245;const _0x4b7b78=this[_0x165e27(0x2a3)]['getConfig'](q);return(_0x1f6245=_0x4b7b78==null?void 0x0:_0x4b7b78[_0x165e27(0x3ac)])!=null?_0x1f6245:En;}[_0x225508(0x3c3)](){var _0x3d20a9=_0x225508;throw new Error(_0x3d20a9(0x24e));}[_0x225508(0x382)](){var _0x37f8c4=_0x225508;this[_0x37f8c4(0x303)]!=null&&(clearTimeout(this[_0x37f8c4(0x303)]),this['_sendingTimer']=null);}[_0x225508(0x27e)](_0x2c5c25){var _0x4c420b=_0x225508;return this[_0x4c420b(0x382)](),this[_0x4c420b(0x1e1)][_0x4c420b(0x471)](ue,this['unitID'],this[_0x4c420b(0x219)],null,this['_pendingMutations'],this[_0x4c420b(0x3d9)],_0x2c5c25);}};ae=Te([P(0x4,_0x59c5a0(_0x1f43c7)),P(0x5,_0x59c5a0(_0x3f05b9)),P(0x6,_0x59c5a0(Le)),P(0x7,_0x4017e6),P(0x8,_0x171c01),P(0x9,_0x299d0c),P(0xa,_0x4832d4),P(0xb,_0x5db9d5),P(0xc,_0x315796),P(0xd,_0x182985(J))],ae);let le=class extends Ce{constructor(_0x26dbaa,_0x155493,_0x3eb9d1,_0x33193b,_0x2e9d39,_0x8598ba,_0x168d19,_0x4ba687,_0x222187,_0x385801,_0xda4cc2){var _0x156131=_0x225508;super(_0x26dbaa,_0x155493,_0x3eb9d1,[],_0x33193b,_0x168d19,_0x385801,_0x8598ba,_0xda4cc2),N(this,_0x156131(0x388),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x156131(0x270)),N(this,_0x156131(0x280)),(this[_0x156131(0x1e1)]=_0x2e9d39,this[_0x156131(0x2fe)]=_0x4ba687,this[_0x156131(0x173)]=_0x222187);}[_0x225508(0x394)](_0x3d9597){var _0x3973d2=_0x225508;this[_0x3973d2(0x382)]();const _0x3cda1b=this[_0x3973d2(0x1e1)][_0x3973d2(0x471)](oe,this[_0x3973d2(0x3b1)],this[_0x3973d2(0x219)],this['_awaitingChangeset'],[_0x3d9597],this['_handler'],this[_0x3973d2(0x270)]);return _0x3cda1b['_updateLocalCache'](),_0x3cda1b;}[_0x225508(0x1e4)](_0x2dc3e7){var _0x29a938=_0x225508;if(this[_0x29a938(0x3cc)](_0x2dc3e7))return this[_0x29a938(0x382)](),this[_0x29a938(0x1e1)][_0x29a938(0x471)](ee,this[_0x29a938(0x3b1)],this[_0x29a938(0x219)],this[_0x29a938(0x1a4)],[],null,[_0x2dc3e7],this[_0x29a938(0x3d9)]);try{const _0x3e355d=this[_0x29a938(0x173)][_0x29a938(0x349)]([_0x2dc3e7],[this['_awaitingChangeset']],!0x1);if(_0x5f1444(_0x3e355d)){const {c1Prime:_0x448edf,c2Prime:_0xba9867}=_0x3e355d;this[_0x29a938(0x458)](_0x448edf[0x0]),_0xba9867[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x29a938(0x382)]();const _0x43c1d4=this[_0x29a938(0x1e1)][_0x29a938(0x471)](le,this['unitID'],this['type'],_0xba9867[0x0],this[_0x29a938(0x3d9)]);return _0x43c1d4[_0x29a938(0x2ee)](),_0x43c1d4;}return this['_onConflict'](!0x1);}catch(_0x53ac0f){return this['_logService'][_0x29a938(0x376)](_0x53ac0f),this[_0x29a938(0x27e)](!0x1);}}[_0x225508(0x284)](_0xc63ce4){var _0x4ed69=_0x225508;this['_clearScheduledTask']();const _0x1844c7=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4ed69(0x3b1)]);if(_0xc63ce4[_0x4ed69(0x298)]<_0x1844c7-0x1)return this;if(this[_0x4ed69(0x3cc)](_0xc63ce4))return this['_injector'][_0x4ed69(0x471)](ee,this[_0x4ed69(0x3b1)],this[_0x4ed69(0x219)],null,[],this[_0x4ed69(0x1a4)],[],this[_0x4ed69(0x3d9)]);this[_0x4ed69(0x2bf)]();const _0x552a5d=this[_0x4ed69(0x1e1)]['createInstance'](Ne,this[_0x4ed69(0x3b1)],this['type'],this[_0x4ed69(0x3d9)]);return _0x552a5d['_updateLocalCache'](),_0x552a5d;}['onRemoteRej'](_0x51442d){return this['_onConflict'](!!(_0x51442d!=null&&_0x51442d['isPermissionRej']));}['onRemoteRetry'](_0x5a1c2e){var _0x1e29c1=_0x225508;return this[_0x1e29c1(0x264)]>Oi?this[_0x1e29c1(0x181)]():(this[_0x1e29c1(0x270)]=Ri(this[_0x1e29c1(0x264)],{'timeout':this[_0x1e29c1(0x264)],'reqId':_0x5a1c2e[_0x1e29c1(0x17b)]}),this['_sender']=this['_resendTimer'][_0x1e29c1(0x1df)](({reqId:_0x1426a0,timeout:_0x2f7527})=>{this['_resendWithTimeout'](_0x1426a0,_0x2f7527);}),this);}[_0x225508(0x181)](){var _0x2702cb=_0x225508;return this[_0x2702cb(0x382)](),this[_0x2702cb(0x1e1)]['createInstance'](de,this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x225508(0x3c3)](){var _0x327ac5=_0x225508;this[_0x327ac5(0x3d9)][_0x327ac5(0x234)](this[_0x327ac5(0x1a4)]);}[_0x225508(0x27e)](_0xb7ce48){var _0x1fa605=_0x225508;return this[_0x1fa605(0x382)](),this[_0x1fa605(0x1e1)][_0x1fa605(0x471)](ue,this['unitID'],this[_0x1fa605(0x219)],this[_0x1fa605(0x1a4)],[],this[_0x1fa605(0x3d9)],_0xb7ce48);}[_0x225508(0x44d)](_0xb2a0ae,_0x5ce973){var _0x216ebc=_0x225508,_0x36f8dc;_0xb2a0ae===((_0x36f8dc=this[_0x216ebc(0x1a4)])==null?void 0x0:_0x36f8dc['reqId'])&&(this[_0x216ebc(0x3c3)](),this[_0x216ebc(0x264)]=_0x5ce973===0x0?0x3e8:_0x5ce973*0x2);}[_0x225508(0x382)](){var _0x1c4cf7=_0x225508,_0x352b6f;(_0x352b6f=this[_0x1c4cf7(0x280)])==null||_0x352b6f['unsubscribe'](),this[_0x1c4cf7(0x264)]=0x0;}};le=Te([P(0x4,_0x59c5a0(_0x1f43c7)),P(0x5,_0x59c5a0(_0x3f05b9)),P(0x6,_0x171c01),P(0x7,_0x4017e6),P(0x8,_0x4832d4),P(0x9,_0x315796),P(0xa,_0x182985(J))],le);let oe=class extends Ce{constructor(_0x4180e1,_0x43917c,_0x16f7fc,_0xc282b6,_0x4083b4,_0x32e491,_0x170b5a,_0x5ac993,_0x525c23,_0x2881e2,_0x171415,_0x485ca0,_0x23d319){var _0x20f4c6=_0x225508;super(_0x4180e1,_0x43917c,_0x16f7fc,_0xc282b6,_0x4083b4,_0x525c23,_0x485ca0,_0x5ac993,_0x23d319),N(this,_0x20f4c6(0x388),_0x20f4c6(0x279)),N(this,_0x20f4c6(0x264),0x0),N(this,'_resendTimer'),N(this,_0x20f4c6(0x280)),(this['_injector']=_0x170b5a,this['_logService']=_0x2881e2,this[_0x20f4c6(0x173)]=_0x171415,this['localCacheService']=_0x23d319,_0x32e491&&(this[_0x20f4c6(0x270)]=_0x32e491,this[_0x20f4c6(0x280)]=this[_0x20f4c6(0x270)][_0x20f4c6(0x1df)](({reqId:_0x1ac4e2,timeout:_0x4fabf8})=>{var _0x40f1c5=_0x20f4c6;this[_0x40f1c5(0x44d)](_0x1ac4e2,_0x4fabf8);})));}[_0x225508(0x394)](_0x4fc93b){return this['_pendingMutations']['push'](_0x4fc93b),this;}['onRemoteChangeset'](_0xddcf9f){var _0x1dd577=_0x225508;if(this[_0x1dd577(0x3cc)](_0xddcf9f))return this[_0x1dd577(0x382)](),this['_injector'][_0x1dd577(0x471)](ee,this[_0x1dd577(0x3b1)],this[_0x1dd577(0x219)],this[_0x1dd577(0x1a4)],this[_0x1dd577(0x3cd)],null,[_0xddcf9f],this[_0x1dd577(0x3d9)]);try{const _0x24431f=this[_0x1dd577(0x173)][_0x1dd577(0x349)]([_0xddcf9f],[this[_0x1dd577(0x1a4)]],!0x1);if(_0x5f1444(_0x24431f)){const {c1Prime:_0xe821de,c2Prime:_0x273e71}=_0x24431f,_0x27ce3a=this['_transformService']['transformMutationsWithChangeset'](_0xe821de[0x0],this[_0x1dd577(0x3cd)]);if(_0xb3d720(_0x27ce3a)){const {c1Prime:_0x186f06,m2Prime:_0x21af30}=_0x27ce3a;return this['_executeRemoteChangeset'](_0x186f06),_0x273e71[0x0]['baseRev']=this[_0x1dd577(0x306)](),this[_0x1dd577(0x382)](),this[_0x1dd577(0x1e1)][_0x1dd577(0x471)](oe,this[_0x1dd577(0x3b1)],this['type'],_0x273e71[0x0],_0x21af30,this[_0x1dd577(0x3d9)],void 0x0);}throw _0x27ce3a['error'];}throw _0x24431f[_0x1dd577(0x376)];}catch(_0xcf26e2){return this['_logService'][_0x1dd577(0x376)](_0xcf26e2),this[_0x1dd577(0x27e)](!0x1);}}[_0x225508(0x284)](_0xa68eb1){var _0x5c35b4=_0x225508;if(this[_0x5c35b4(0x382)](),this['_checkMissing'](_0xa68eb1))return this[_0x5c35b4(0x1e1)][_0x5c35b4(0x471)](ee,this['unitID'],this['type'],null,this[_0x5c35b4(0x3cd)],this[_0x5c35b4(0x1a4)],[],this[_0x5c35b4(0x3d9)]);this['_incrementRevisionNumber']();const _0x330d59=this[_0x5c35b4(0x1e1)][_0x5c35b4(0x471)](ae,this['unitID'],this[_0x5c35b4(0x219)],this['_pendingMutations'],this[_0x5c35b4(0x3d9)]);return _0x330d59[_0x5c35b4(0x2ed)](),_0x330d59['_updateLocalCache'](),_0x330d59;}[_0x225508(0x403)](_0x256e75){var _0x12b658=_0x225508;return this[_0x12b658(0x27e)](!!(_0x256e75!=null&&_0x256e75[_0x12b658(0x335)]));}[_0x225508(0x182)](_0x5eefb7){var _0x137927=_0x225508;return this['_resendTimeout']>Oi?this[_0x137927(0x181)]():(this[_0x137927(0x270)]=Ri(this[_0x137927(0x264)],{'timeout':this[_0x137927(0x264)],'reqId':_0x5eefb7['reqId']}),this[_0x137927(0x280)]=this[_0x137927(0x270)][_0x137927(0x1df)](({reqId:_0x54932c,timeout:_0x28a827})=>{var _0x393f4a=_0x137927;this[_0x393f4a(0x44d)](_0x54932c,_0x28a827);}),this);}[_0x225508(0x181)](){var _0x137a3a=_0x225508;return this[_0x137a3a(0x382)](),this[_0x137a3a(0x1e1)]['createInstance'](de,this['unitID'],this[_0x137a3a(0x219)],this[_0x137a3a(0x1a4)],this[_0x137a3a(0x3cd)],this['_handler']);}[_0x225508(0x256)](){return this;}[_0x225508(0x3c3)](){var _0x4e9c6a=_0x225508;this[_0x4e9c6a(0x3d9)][_0x4e9c6a(0x234)](this[_0x4e9c6a(0x1a4)]);}[_0x225508(0x27e)](_0x4d619a){var _0xda2c17=_0x225508;return this['_clearScheduledTask'](),this[_0xda2c17(0x1e1)][_0xda2c17(0x471)](ue,this['unitID'],this[_0xda2c17(0x219)],null,this[_0xda2c17(0x3cd)],this[_0xda2c17(0x3d9)],_0x4d619a);}['_resendWithTimeout'](_0x5cbdb4,_0x28d592){var _0x2c7206=_0x225508,_0x259306;_0x5cbdb4===((_0x259306=this[_0x2c7206(0x1a4)])==null?void 0x0:_0x259306['reqId'])&&(this['resend'](),this[_0x2c7206(0x264)]=_0x28d592===0x0?0x3e8:_0x28d592*0x2);}['_clearScheduledTask'](){var _0x421bc5=_0x225508,_0x68af29;(_0x68af29=this[_0x421bc5(0x280)])==null||_0x68af29['unsubscribe'](),this[_0x421bc5(0x264)]=0x0;}};oe=Te([P(0x6,_0x59c5a0(_0x1f43c7)),P(0x7,_0x59c5a0(_0x3f05b9)),P(0x8,_0x171c01),P(0x9,_0x4017e6),P(0xa,_0x4832d4),P(0xb,_0x315796),P(0xc,_0x182985(J))],oe);let ue=class extends Ce{constructor(_0x3bbf27,_0x47d80c,_0x5f1691,_0x7fe55e,_0x4b74c6,_0x4219e8=!0x1,_0x1431a7,_0x5d7e0b,_0x18493e,_0x7cdab2,_0x85a885,_0x450aa3,_0x429eec){var _0xa8a38e=_0x225508;super(_0x3bbf27,_0x47d80c,_0x5f1691,_0x7fe55e,_0x4b74c6,_0x5d7e0b,_0x18493e,_0x7cdab2,_0x429eec),N(this,_0xa8a38e(0x388),_0xa8a38e(0x3ff)),(this[_0xa8a38e(0x46a)]=_0x4219e8,this[_0xa8a38e(0x342)]=_0x1431a7,this[_0xa8a38e(0x20b)]=_0x85a885,this[_0xa8a38e(0x369)]=_0x450aa3,this['localCacheService']=_0x429eec,this['_showConflictNotification'](),this[_0xa8a38e(0x2aa)](),this['_disableEditing']());}[_0x225508(0x394)](){return this;}[_0x225508(0x1e4)](){return this;}[_0x225508(0x284)](){return this;}[_0x225508(0x403)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x225508(0x256)](){return this;}[_0x225508(0x3c3)](){var _0xba3a29=_0x225508;throw new Error(_0xba3a29(0x1cd));}[_0x225508(0x2aa)](){var _0x2472ea=_0x225508,_0x5642e8;(_0x5642e8=this[_0x2472ea(0x22b)])==null||_0x5642e8[_0x2472ea(0x2de)](this['unitID'],this[_0x2472ea(0x219)],null,[]);}[_0x225508(0x187)](){var _0x301397=_0x225508;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x301397(0x206)]({'id':re[_0x301397(0x1ef)]}):this[_0x301397(0x369)][_0x301397(0x206)]({'id':re['CONFLICT']});}[_0x225508(0x289)](){var _0x179d3f=_0x225508;this[_0x179d3f(0x342)][_0x179d3f(0x1b6)](new _0x2340c5(this['unitID'])['id'],!0x1);}};ue=Te([P(0x6,_0x59c5a0(_0x52947d)),P(0x7,_0x171c01),P(0x8,_0x315796),P(0x9,_0x59c5a0(_0x3f05b9)),P(0xa,_0x59c5a0(_0x236a91)),P(0xb,_0x59c5a0(pe)),P(0xc,_0x182985(J))],ue);let de=class extends Ce{constructor(_0x58c60f,_0x8e535d,_0x24cbee,_0x5e0961,_0x52c16d,_0xee012c,_0x57d66a,_0x13f13c,_0x3e40ae,_0x34436e){var _0x21dc0b=_0x225508;super(_0x58c60f,_0x8e535d,_0x24cbee,_0x5e0961,_0x52c16d,_0x13f13c,_0x3e40ae,_0x57d66a,_0x34436e),N(this,_0x21dc0b(0x388),_0x21dc0b(0x236)),this['_injector']=_0xee012c;}['appendMutation'](_0x381a39){var _0x416ef1=_0x225508;return this[_0x416ef1(0x3cd)][_0x416ef1(0x3c4)](_0x381a39),this[_0x416ef1(0x2ee)](),this;}[_0x225508(0x1e4)](_0x4c0823){var _0x4fae45=_0x225508;throw new Error(_0x4fae45(0x468));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x225508(0x403)](){var _0xd0919f=_0x225508;throw new Error(_0xd0919f(0x221));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x225508(0x256)](){var _0x1836a8=_0x225508;const {_injector:_0x25ea4f,_pendingMutations:_0x3b53f5,_awaitingChangeset:_0x5a506c,unitID:_0x192537,_handler:_0x35d642,type:_0x36a870}=this,_0x2e6901=yi(_0x25ea4f,_0x192537,_0x36a870,_0x5a506c,_0x3b53f5,_0x35d642);return _0x2e6901 instanceof ae?_0x2e6901[_0x1836a8(0x2ed)]():(_0x2e6901 instanceof oe||_0x2e6901 instanceof le)&&_0x2e6901[_0x1836a8(0x3c3)](),_0x2e6901;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x59c5a0(_0x1f43c7)),P(0x6,_0x59c5a0(_0x3f05b9)),P(0x7,_0x171c01),P(0x8,_0x315796),P(0x9,_0x182985(J))],de);let ee=class extends Ce{constructor(_0x4ac1c6,_0x3b2a75,_0xf72d9f,_0x14747a,_0x4f80e8,_0x38ec11,_0xd9cb3b,_0x3ec1d3,_0x2e43dd,_0x5c8b5b,_0x14f3c2,_0x397c95,_0x4c9364,_0x256899){var _0x20dce7=_0x225508;super(_0x4ac1c6,_0x3b2a75,_0xf72d9f,_0x14747a,_0xd9cb3b,_0x14f3c2,_0x397c95,_0x2e43dd,_0x256899),N(this,_0x20dce7(0x388),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x4f80e8,this['_queuedRemoteChangesets']=_0x38ec11,this[_0x20dce7(0x1e1)]=_0x3ec1d3,this[_0x20dce7(0x2fe)]=_0x5c8b5b,this[_0x20dce7(0x173)]=_0x4c9364,this['localCacheService']=_0x256899);}['onMissedChangesetFetched'](_0x408a97){var _0x2d6ff7=_0x225508;try{const _0x5511bd=[..._0x408a97,...this['_queuedRemoteChangesets']],_0x2e5c8e=[this[_0x2d6ff7(0x1a4)]||this[_0x2d6ff7(0x172)]][_0x2d6ff7(0x392)](_0x1a3b4e=>!!_0x1a3b4e);let _0xce683b,_0x298c08;if(_0x2e5c8e['length']){const _0x2b5e1a=this[_0x2d6ff7(0x173)][_0x2d6ff7(0x349)](_0x5511bd,_0x2e5c8e,!0x1);if(!_0x5f1444(_0x2b5e1a))throw _0x2b5e1a[_0x2d6ff7(0x376)];_0xce683b=_0x2b5e1a[_0x2d6ff7(0x377)],_0x298c08=_0x2b5e1a[_0x2d6ff7(0x478)];}else _0xce683b=_0x5511bd,_0x298c08=[];let _0x3b4129=this[_0x2d6ff7(0x3cd)];_0xce683b[_0x2d6ff7(0x21b)](_0x521b0d=>{var _0x3a17f7=_0x2d6ff7;let _0x2c1a3a;if(_0x3b4129['length']){const _0x985f79=this[_0x3a17f7(0x173)]['transformMutationsWithChangeset'](_0x521b0d,_0x3b4129);if(!_0xb3d720(_0x985f79))throw _0x985f79[_0x3a17f7(0x376)];_0x2c1a3a=_0x985f79[_0x3a17f7(0x377)],_0x3b4129=_0x985f79[_0x3a17f7(0x46f)];}else _0x2c1a3a=_0x521b0d;this[_0x3a17f7(0x458)](_0x2c1a3a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2d6ff7(0x2bf)](),this[_0x2d6ff7(0x1a4)]&&_0x298c08[_0x2d6ff7(0x348)]&&(_0x298c08[0x0]['baseRev']=this['_getCurrentRevision']());let _0x28bbee;if(this[_0x2d6ff7(0x1a4)]&&_0x3b4129[_0x2d6ff7(0x348)]!==0x0)_0x28bbee=this[_0x2d6ff7(0x1e1)][_0x2d6ff7(0x471)](oe,this['unitID'],this['type'],_0x298c08[0x0],_0x3b4129,this[_0x2d6ff7(0x3d9)],void 0x0);else{if(this[_0x2d6ff7(0x1a4)]&&_0x3b4129['length']===0x0)_0x298c08[0x0]['baseRev']=this[_0x2d6ff7(0x306)](),_0x28bbee=this[_0x2d6ff7(0x1e1)]['createInstance'](le,this['unitID'],this[_0x2d6ff7(0x219)],_0x298c08[0x0],this[_0x2d6ff7(0x3d9)]);else{if(_0x3b4129[_0x2d6ff7(0x348)]!==0x0){const _0x392b6a=this[_0x2d6ff7(0x1e1)]['createInstance'](ae,this[_0x2d6ff7(0x3b1)],this['type'],_0x3b4129,this[_0x2d6ff7(0x3d9)]);_0x392b6a['_schedule'](),_0x28bbee=_0x392b6a;}else _0x28bbee=this[_0x2d6ff7(0x1e1)][_0x2d6ff7(0x471)](Ne,this[_0x2d6ff7(0x3b1)],this[_0x2d6ff7(0x219)],this[_0x2d6ff7(0x3d9)]);}}return _0x28bbee[_0x2d6ff7(0x2ee)](),_0x28bbee;}catch(_0x543530){return this[_0x2d6ff7(0x2fe)]['error'](_0x2d6ff7(0x360),'failed\x20to\x20apply\x20missed\x20changesets!',_0x543530),this[_0x2d6ff7(0x1e1)]['createInstance'](ue,this[_0x2d6ff7(0x3b1)],this[_0x2d6ff7(0x219)],this['_awaitingChangeset'],this[_0x2d6ff7(0x3cd)],this[_0x2d6ff7(0x3d9)],!0x1);}}[_0x225508(0x3c3)](){var _0x354a24=_0x225508;throw new Error(_0x354a24(0x24c));}[_0x225508(0x394)](_0xa3f52e){var _0x975f23=_0x225508;return this[_0x975f23(0x3cd)][_0x975f23(0x3c4)](_0xa3f52e),this;}[_0x225508(0x1e4)](_0x58cf2e){var _0x472dff=_0x225508;return this[_0x472dff(0x2b8)][_0x472dff(0x3c4)](_0x58cf2e),this;}['onRemoteAck'](_0x4b6427){var _0x391db8=_0x225508;if(this[_0x391db8(0x1a4)])return this[_0x391db8(0x172)]=this[_0x391db8(0x1a4)],this[_0x391db8(0x1a4)]=null,this;throw new Error(_0x391db8(0x2ea));}[_0x225508(0x403)](_0x1e2a84){var _0x1e9d36=_0x225508;return this[_0x1e9d36(0x27e)](!!(_0x1e2a84!=null&&_0x1e2a84[_0x1e9d36(0x335)]));}[_0x225508(0x182)](){return this;}['toggleOffline'](){var _0x1772b7=_0x225508;return this[_0x1772b7(0x1e1)]['createInstance'](de,this[_0x1772b7(0x3b1)],this[_0x1772b7(0x219)],this[_0x1772b7(0x1a4)],this[_0x1772b7(0x3cd)],this['_handler']);}[_0x225508(0x256)](){return this;}[_0x225508(0x27e)](_0x7cd574){var _0x3dbadb=_0x225508;return this['_injector'][_0x3dbadb(0x471)](ue,this[_0x3dbadb(0x3b1)],this[_0x3dbadb(0x219)],this['_awaitingChangeset'],this[_0x3dbadb(0x3cd)],this['_handler'],_0x7cd574);}};ee=Te([P(0x7,_0x59c5a0(_0x1f43c7)),P(0x8,_0x59c5a0(_0x3f05b9)),P(0x9,_0x4017e6),P(0xa,_0x171c01),P(0xb,_0x315796),P(0xc,_0x4832d4),P(0xd,_0x182985(J))],ee);function yi(_0x55df06,_0x3fe6e3,_0x75a788,_0x537402,_0x325353,_0x388f65){var _0x18a04f=_0x225508;return _0x537402&&_0x325353['length']?_0x55df06[_0x18a04f(0x471)](oe,_0x3fe6e3,_0x75a788,_0x537402,_0x325353,_0x388f65,void 0x0):_0x537402?_0x55df06[_0x18a04f(0x471)](le,_0x3fe6e3,_0x75a788,_0x537402,_0x388f65):_0x325353[_0x18a04f(0x348)]?_0x55df06['createInstance'](ae,_0x3fe6e3,_0x75a788,_0x325353,_0x388f65):_0x55df06['createInstance'](Ne,_0x3fe6e3,_0x75a788,_0x388f65);}var as=Object[_0x225508(0x3dd)],Lt=(_0x373aee,_0x50ce5b,_0x53d024,_0x4f1d73)=>{for(var _0x10c5a4=_0x4f1d73>0x1?void 0x0:_0x4f1d73?as(_0x50ce5b,_0x53d024):_0x50ce5b,_0x17aba0=_0x373aee['length']-0x1,_0x150d26;_0x17aba0>=0x0;_0x17aba0--)(_0x150d26=_0x373aee[_0x17aba0])&&(_0x10c5a4=_0x150d26(_0x10c5a4)||_0x10c5a4);return _0x10c5a4;},H=(_0x3d9249,_0xa23709)=>(_0x2de4a4,_0x38177f)=>_0xa23709(_0x2de4a4,_0x38177f,_0x3d9249);let nt=class extends _0xbb1137{constructor(_0x3a4ecd,_0x204429,_0x417ea5,_0x5dcd9c,_0x588c48,_0x4ab4a,_0x14edfb,_0x1ad136,_0x417ae1,_0x294996,_0x5037c0,_0x4e490b,_0x3aeaa4){var _0x42a093=_0x225508;super(),N(this,_0x42a093(0x203),new _0x25de28(null)),N(this,'state$',this[_0x42a093(0x203)][_0x42a093(0x1c9)]()),N(this,_0x42a093(0x424)),N(this,_0x42a093(0x240),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,_0x42a093(0x40d),this[_0x42a093(0x479)][_0x42a093(0x1dc)](_0xdfbfa2(_0x21ed77=>_0x21ed77?_0x21ed77[_0x42a093(0x388)]:bi[_0x42a093(0x44f)]),_0x141b06(0x1))),N(this,_0x42a093(0x27c),!0x1),N(this,_0x42a093(0x3e5),[]),(this[_0x42a093(0x3b1)]=_0x3a4ecd,this['session']=_0x204429,this[_0x42a093(0x32e)]=_0x417ea5,this[_0x42a093(0x1e1)]=_0x5dcd9c,this['_compressMutationService']=_0x588c48,this[_0x42a093(0x20b)]=_0x4ab4a,this[_0x42a093(0x367)]=_0x14edfb,this['_eventService']=_0x1ad136,this[_0x42a093(0x2fe)]=_0x417ae1,this[_0x42a093(0x45d)]=_0x294996,this['_permissionService']=_0x5037c0,this[_0x42a093(0x462)]=_0x4e490b,this[_0x42a093(0x22b)]=_0x3aeaa4);}get[_0x225508(0x31e)](){var _0x22b0ed=_0x225508;return this[_0x22b0ed(0x424)];}async[_0x225508(0x1b3)](){var _0x2571ed=_0x225508;if(this['state'])throw new Error(_0x2571ed(0x44e));await this[_0x2571ed(0x33f)]();}[_0x225508(0x3b2)](){var _0x25c10d=_0x225508;return this[_0x25c10d(0x240)]=!0x0,_0x479cb1(()=>{var _0x721778=_0x25c10d;this[_0x721778(0x240)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x225508(0x35d)](_0x34a3e9){var _0x5d005a=_0x225508;this[_0x5d005a(0x341)](_0x34a3e9);}['_updateState'](_0x17b7e1){var _0x63392f=_0x225508;this['_state']=_0x17b7e1,this[_0x63392f(0x203)]['next'](_0x17b7e1);}async[_0x225508(0x33f)](){var _0x134937=_0x225508,_0x2a0cdb;this['_updateState'](await this['_createInitialState']()),this[_0x134937(0x462)]&&((_0x2a0cdb=this[_0x134937(0x462)])==null||_0x2a0cdb[_0x134937(0x1a3)](this[_0x134937(0x3b1)]),this[_0x134937(0x28d)](this[_0x134937(0x462)][_0x134937(0x2c0)](this[_0x134937(0x3b1)])[_0x134937(0x1df)](_0xcb8c2a=>{var _0x49586f=_0x134937;this[_0x49586f(0x2fe)][_0x49586f(0x1a9)](_0x49586f(0x2a8),_0x49586f(0x195),_0xcb8c2a),_0xcb8c2a===Ci[_0x49586f(0x2c2)]?(this[_0x49586f(0x396)][_0x49586f(0x206)]({'id':re[_0x49586f(0x194)]}),this[_0x49586f(0x342)]['updatePermissionPoint'](new _0x2340c5(this[_0x49586f(0x3b1)])['id'],!0x1),this[_0x49586f(0x342)][_0x49586f(0x420)](!0x1)):(this[_0x49586f(0x342)]['updatePermissionPoint'](new _0x2340c5(this[_0x49586f(0x3b1)])['id'],!0x0),this['_permissionService'][_0x49586f(0x420)](!0x0));})));let _0x3914a1=!0x1;return this[_0x134937(0x28d)](this['session']['sessionStatus$']['subscribe'](_0xf3f32a=>{var _0x4b340a=_0x134937;_0xf3f32a===Ee[_0x4b340a(0x3a9)]?this[_0x4b340a(0x1c1)](_0x3914a1):_0xf3f32a===Ee[_0x4b340a(0x44f)]&&(_0x3914a1=!0x0,this['_toggleOffline']());})),this[_0x134937(0x28d)](this[_0x134937(0x334)][_0x134937(0x25f)]['subscribe'](_0xfa47ff=>{var _0x29f2d9=_0x134937;try{switch(_0xfa47ff[_0x29f2d9(0x350)]){case _0x3c1a33[_0x29f2d9(0x177)]:{this[_0x29f2d9(0x1ff)](_0x5653ba(_0xfa47ff[_0x29f2d9(0x295)]));break;}case _0x3c1a33[_0x29f2d9(0x395)]:{this[_0x29f2d9(0x375)](_0xfa47ff[_0x29f2d9(0x295)]);break;}case _0x3c1a33[_0x29f2d9(0x1fb)]:{this['_onRemoteRejected']();break;}case _0x3c1a33[_0x29f2d9(0x37c)]:{this[_0x29f2d9(0x1f4)](_0xfa47ff[_0x29f2d9(0x295)]);break;}case _0x3c1a33[_0x29f2d9(0x1b7)]:{this[_0x29f2d9(0x179)](_0xfa47ff['data']['changesets'][_0x29f2d9(0x393)](_0x35668f=>_0x5653ba(_0x35668f)));break;}case _0x3c1a33[_0x29f2d9(0x21a)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3c1a33['UNISCRIPT_RUN']:break;}}catch(_0x594564){throw console[_0x29f2d9(0x376)](_0x29f2d9(0x351),_0x594564),_0x594564;}})),this[_0x134937(0x424)];}['_unlockTransition'](){var _0x418606=_0x225508;this[_0x418606(0x27c)]=!0x1;}[_0x225508(0x1e2)](){var _0x4b14ef=_0x225508;if(this['_transitionLocked'])throw new Error(_0x4b14ef(0x328));this['_transitionLocked']=!0x0;}[_0x225508(0x341)](_0x1d7b99){var _0x15a770=_0x225508;this['_lockTransition'](),this[_0x15a770(0x2cc)](this['_state'][_0x15a770(0x394)](_0x1d7b99)),this[_0x15a770(0x31a)]();}[_0x225508(0x1ff)](_0x2c5c66){var _0x516969=_0x225508;if(!(_0x2c5c66[_0x516969(0x298)]<=this['_revisionService'][_0x516969(0x3a3)](this['unitID']))){if(this['_collaborationPaused']){this[_0x516969(0x3e5)][_0x516969(0x3c4)](_0x2c5c66);return;}this['_applyRemoteChangeset'](_0x2c5c66);}}[_0x225508(0x1ac)](){var _0xb93103=_0x225508;this[_0xb93103(0x3e5)][_0xb93103(0x21b)](_0x3fa4d4=>this[_0xb93103(0x413)](_0x3fa4d4)),this[_0xb93103(0x3e5)]=[];}[_0x225508(0x413)](_0x379ca2){var _0xcac99b=_0x225508;const _0x1b4b5b=this[_0xcac99b(0x467)]['interceptor'][_0xcac99b(0x20e)](this['_compressMutationService'][_0xcac99b(0x36f)][_0xcac99b(0x371)]()['COMPRESS_MUTATION_APPLY'])(_0x379ca2[_0xcac99b(0x3be)],null)||_0x379ca2[_0xcac99b(0x3be)],_0x81be5d={..._0x379ca2,'mutations':_0x1b4b5b};this[_0xcac99b(0x1e2)](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x81be5d)),this['_unlockTransition']();}[_0x225508(0x375)](_0x2a5737){var _0x19b58a=_0x225508;this[_0x19b58a(0x1e2)](),this[_0x19b58a(0x2cc)](this[_0x19b58a(0x424)][_0x19b58a(0x284)](_0x2a5737)),this[_0x19b58a(0x31a)]();}[_0x225508(0x1cf)](_0x10b035){var _0x3c86ef=_0x225508;this[_0x3c86ef(0x1e2)](),this[_0x3c86ef(0x2cc)](this['_state'][_0x3c86ef(0x403)](_0x10b035)),this[_0x3c86ef(0x31a)]();}[_0x225508(0x1f4)](_0x310062){var _0x48520e=_0x225508;this[_0x48520e(0x1e2)](),this['_updateState'](this[_0x48520e(0x424)]['onRemoteRetry'](_0x310062)),this[_0x48520e(0x31a)]();}[_0x225508(0x179)](_0x3ce40d){var _0x43d875=_0x225508;if(!(this[_0x43d875(0x424)]instanceof ee))throw new TypeError(_0x43d875(0x3b9));const _0x5bdcf1=_0x3ce40d['map'](_0x538280=>{var _0x5eb13e=_0x43d875;const _0x5910b0=this[_0x5eb13e(0x467)][_0x5eb13e(0x36f)]['fetchThroughInterceptors'](this[_0x5eb13e(0x467)][_0x5eb13e(0x36f)][_0x5eb13e(0x371)]()[_0x5eb13e(0x30b)])(_0x538280[_0x5eb13e(0x3be)],null)||_0x538280[_0x5eb13e(0x3be)];return{..._0x538280,'mutations':_0x5910b0};});this[_0x43d875(0x1e2)](),this['_updateState'](this[_0x43d875(0x424)][_0x43d875(0x239)](_0x5bdcf1)),this[_0x43d875(0x31a)]();}[_0x225508(0x1e6)](){var _0x3d4449=_0x225508;this[_0x3d4449(0x1e2)](),this[_0x3d4449(0x2cc)](this[_0x3d4449(0x424)][_0x3d4449(0x181)]()),this[_0x3d4449(0x31a)]();}[_0x225508(0x1c1)](_0x5bdb00=!0x1){var _0x274787=_0x225508;this[_0x274787(0x1e2)](),this[_0x274787(0x2cc)](this['_state'][_0x274787(0x256)]()),this[_0x274787(0x31a)]();const _0x2f5b1f=this[_0x274787(0x424)];_0x5bdb00&&_0x2f5b1f instanceof Ne&&(this['_lockTransition'](),this['_updateState'](_0x2f5b1f[_0x274787(0x35f)]()),this['_unlockTransition']());}async[_0x225508(0x346)](){return new Promise(_0x28f1f8=>{var _0x417f76=_0x1e04;this['session']['sessionStatus$'][_0x417f76(0x1dc)](_0x3c6b39(0x1))['subscribe'](async _0x10a25a=>{var _0x2be6d8=_0x417f76;_0x28f1f8(await this[_0x2be6d8(0x46c)](_0x10a25a===Ee[_0x2be6d8(0x3a9)]));});});}[_0x225508(0x3df)](){const _0x249369=this['unitID'];return{'onStateChange':(_0x4fda8b,_0x50852e)=>{var _0xd68713=_0x1e04;if(_0x4fda8b!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4fda8b['status']+_0xd68713(0x1b1)+_0x50852e[_0xd68713(0x388)]+'\x0aCurrent:\x20'+this['_state'][_0xd68713(0x388)]);this['_updateState'](_0x50852e);},'onSendChangeset':_0x2309df=>{var _0x278b9b=_0x1e04;_0x2309df[_0x278b9b(0x267)]||(_0x2309df[_0x278b9b(0x267)]=this[_0x278b9b(0x34f)],_0x2309df[_0x278b9b(0x17b)]=++this[_0x278b9b(0x337)]);const _0x28c99b={'eventID':_0x3c1a33['SUBMIT_CHANGESET'],'data':{'unitID':_0x2309df[_0x278b9b(0x3b1)],'unitType':this[_0x278b9b(0x32e)],'changeset':_0x2309df,'memberID':this['session'][_0x278b9b(0x1e7)]()}};this[_0x278b9b(0x334)][_0x278b9b(0x2a4)](_0x28c99b,this[_0x278b9b(0x3b1)]);},'onMissingChangesets':({from:_0x6cd7e0,to:_0xa451e5})=>{var _0x2a9173=_0x1e04;this['_logService']['debug']('[CollaborationEntity]',_0x2a9173(0x3af)+_0x6cd7e0+_0x2a9173(0x362)+_0xa451e5);const _0x47b64d={'eventID':_0x3c1a33[_0x2a9173(0x190)],'data':{'unitID':_0x249369,'unitType':this[_0x2a9173(0x32e)],'from':_0x6cd7e0,'to':_0xa451e5}};this[_0x2a9173(0x334)][_0x2a9173(0x2a4)](_0x47b64d,this[_0x2a9173(0x3b1)]);}};}async[_0x225508(0x46c)](_0x5e19a9){var _0x570c5a=_0x225508,_0x126940,_0x42fe4f,_0x22c48c;const _0x4c88d9=await((_0x126940=this['_localCacheService'])==null?void 0x0:_0x126940['loadOfflineData'](this[_0x570c5a(0x3b1)])),_0x412290=(_0x42fe4f=_0x4c88d9==null?void 0x0:_0x4c88d9[_0x570c5a(0x3be)])!=null?_0x42fe4f:[],_0x1ce0b4=(_0x22c48c=_0x4c88d9==null?void 0x0:_0x4c88d9[_0x570c5a(0x432)])!=null?_0x22c48c:null,_0x4292d4=!!(_0x1ce0b4!=null&&_0x1ce0b4['sid'])&&!!(_0x1ce0b4!=null&&_0x1ce0b4['reqId']);this['_changesetSessionId']=_0x4292d4?_0x1ce0b4['sid']:Zn(),this[_0x570c5a(0x337)]=_0x4292d4?_0x1ce0b4[_0x570c5a(0x17b)]:0x0;const _0x26e481=this[_0x570c5a(0x3b1)];try{this[_0x570c5a(0x208)](_0x1ce0b4,_0x412290);}catch(_0x5358d8){this[_0x570c5a(0x2fe)][_0x570c5a(0x376)](_0x5358d8);}const _0x1cac56=this[_0x570c5a(0x3df)]();if(_0x5e19a9){const _0x1680de=yi(this[_0x570c5a(0x1e1)],_0x26e481,this[_0x570c5a(0x32e)],_0x1ce0b4,_0x412290,_0x1cac56);return _0x1680de instanceof ae?_0x1680de['_schedule']():(_0x1680de instanceof oe||_0x1680de instanceof le)&&_0x1680de[_0x570c5a(0x3c3)](),_0x1680de;}return this[_0x570c5a(0x1e1)]['createInstance'](de,_0x26e481,this[_0x570c5a(0x32e)],_0x1ce0b4,_0x412290,_0x1cac56);}['_replayCachedMutations'](_0x193581,_0x6750da){var _0x3c1196=_0x225508,_0x1dce37,_0x34568f;const _0x196ea1=this[_0x3c1196(0x467)][_0x3c1196(0x36f)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3c1196(0x36f)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x1dce37=_0x196ea1((_0x193581==null?void 0x0:_0x193581[_0x3c1196(0x3be)])||[],null))==null||_0x1dce37[_0x3c1196(0x21b)](_0x40a68f=>this[_0x3c1196(0x45d)][_0x3c1196(0x255)](_0x40a68f['id'],_0x40a68f[_0x3c1196(0x418)])),(_0x34568f=_0x196ea1(_0x6750da||[],null))==null||_0x34568f[_0x3c1196(0x21b)](_0x30fd21=>this['_commandService'][_0x3c1196(0x255)](_0x30fd21['id'],_0x30fd21[_0x3c1196(0x418)]));}};nt=Lt([H(0x3,_0x59c5a0(_0x1f43c7)),H(0x4,_0x59c5a0(_0x53a952)),H(0x5,_0x59c5a0(_0x236a91)),H(0x6,_0x59c5a0(_0x3f05b9)),H(0x7,_0x59c5a0(pe)),H(0x8,_0x4017e6),H(0x9,_0x171c01),H(0xa,_0x52947d),H(0xb,_0x182985(ht)),H(0xc,_0x182985(J))],nt);let It=class extends nt{constructor(_0x50dd22,_0x2c9dd2,_0x4e7b10,_0x568698,_0x2a4bc4,_0xa0e444,_0x37928a,_0x3cd2c1,_0x7f39c3,_0x49ee0b,_0x220066,_0x15c433,_0x6b3d51){var _0x2e21bc=_0x225508;super(_0x50dd22,_0x4e7b10,_0x2c9dd2,_0x568698,_0x2a4bc4,_0xa0e444,_0x37928a,_0x3cd2c1,_0x7f39c3,_0x49ee0b,_0x220066,_0x15c433,_0x6b3d51),N(this,_0x2e21bc(0x310),null),(this[_0x2e21bc(0x3b1)]=_0x50dd22,this[_0x2e21bc(0x219)]=_0x2c9dd2);}[_0x225508(0x325)](_0x223aeb){var _0x4b555e=_0x225508;this[_0x4b555e(0x310)]=_0x223aeb;}[_0x225508(0x355)](){var _0x3e6b83=_0x225508;this[_0x3e6b83(0x310)]=null,super[_0x3e6b83(0x355)]();}['_createHandler'](){var _0x5e8190=_0x225508;const _0x288834=super[_0x5e8190(0x3df)]();return _0x288834['onTransformIME']=_0x1f2815=>{var _0x5e0abf=_0x5e8190,_0x14fc8b,_0x3cdb3d;return(_0x3cdb3d=(_0x14fc8b=this['_handlerCallback'])==null?void 0x0:_0x14fc8b[_0x5e0abf(0x17f)])==null?void 0x0:_0x3cdb3d[_0x5e0abf(0x3db)](_0x14fc8b,_0x1f2815);},_0x288834[_0x5e8190(0x364)]=_0x15ca55=>{var _0x1123b7=_0x5e8190,_0x5d7940,_0x3a600f;return(_0x3a600f=(_0x5d7940=this[_0x1123b7(0x310)])==null?void 0x0:_0x5d7940[_0x1123b7(0x364)])==null?void 0x0:_0x3a600f[_0x1123b7(0x3db)](_0x5d7940,_0x15ca55);},_0x288834[_0x5e8190(0x3e6)]=_0x5ccbc4=>{var _0x55183f=_0x5e8190,_0x557fb9,_0x5406c7;return(_0x5406c7=(_0x557fb9=this[_0x55183f(0x310)])==null?void 0x0:_0x557fb9[_0x55183f(0x3e6)])==null?void 0x0:_0x5406c7['call'](_0x557fb9,_0x5ccbc4);},_0x288834[_0x5e8190(0x358)]=_0x12492d=>{var _0x3ec5bb=_0x5e8190,_0x20f4a9,_0x5b12a0;return(_0x5b12a0=(_0x20f4a9=this[_0x3ec5bb(0x310)])==null?void 0x0:_0x20f4a9[_0x3ec5bb(0x358)])==null?void 0x0:_0x5b12a0['call'](_0x20f4a9,_0x12492d);},_0x288834[_0x5e8190(0x226)]=_0x376bf7=>{var _0x3f8754=_0x5e8190,_0x51e039,_0xacc071,_0x15748f;if(!((_0x51e039=this['_handlerCallback'])!=null&&_0x51e039[_0x3f8754(0x226)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x15748f=(_0xacc071=this[_0x3f8754(0x310)])==null?void 0x0:_0xacc071['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x15748f[_0x3f8754(0x3db)](_0xacc071,_0x376bf7);},_0x288834[_0x5e8190(0x1d7)]=_0x15df12=>{var _0x3bf66a=_0x5e8190,_0x51e867,_0x13ee9f,_0x58ecb3;if(!((_0x51e867=this[_0x3bf66a(0x310)])!=null&&_0x51e867['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3bf66a(0x230));return(_0x58ecb3=(_0x13ee9f=this[_0x3bf66a(0x310)])==null?void 0x0:_0x13ee9f[_0x3bf66a(0x1d7)])==null?void 0x0:_0x58ecb3['call'](_0x13ee9f,_0x15df12);},_0x288834;}async['_init'](){var _0x50ca38=_0x225508;const _0x11f81f=await super[_0x50ca38(0x33f)]();return this[_0x50ca38(0x28d)](this[_0x50ca38(0x45d)]['onCommandExecuted']((_0x18f2f4,_0xaa2d9d)=>{var _0x207892=_0x50ca38;if(_0x18f2f4[_0x207892(0x219)]!==_0x3dc4e2[_0x207892(0x1de)]||_0xaa2d9d!=null&&_0xaa2d9d[_0x207892(0x3ce)]||_0xaa2d9d!=null&&_0xaa2d9d['onlyLocal']||_0x18f2f4['id']===_0x5c3dc0['id'])return;const _0x2783dd=_0x18f2f4['params'];if((_0x2783dd==null?void 0x0:_0x2783dd[_0x207892(0x3ec)])!==this[_0x207892(0x3b1)])return;const _0x7760a6=_0x18f2f4,_0x87abd3=this['_compressMutationService'][_0x207892(0x36f)][_0x207892(0x20e)](this[_0x207892(0x467)][_0x207892(0x36f)][_0x207892(0x371)]()[_0x207892(0x32f)])([_0x7760a6],null)||[_0x7760a6];this[_0x207892(0x341)](_0x87abd3[0x0]);})),_0x11f81f;}};It=Lt([H(0x3,_0x59c5a0(_0x1f43c7)),H(0x4,_0x59c5a0(_0x53a952)),H(0x5,_0x59c5a0(_0x236a91)),H(0x6,_0x59c5a0(_0x3f05b9)),H(0x7,_0x59c5a0(pe)),H(0x8,_0x4017e6),H(0x9,_0x171c01),H(0xa,_0x52947d),H(0xb,_0x182985(ht)),H(0xc,_0x182985(J))],It);let Tt=class extends nt{constructor(_0x4b4755,_0x3b2a28,_0x40c518,_0x35d96b,_0x13e1c6,_0x42827e,_0x2a6926,_0x249f69,_0x24c95e,_0x2d8215,_0x181677,_0x379eb3,_0x3c5c4d,_0x1c09bf){var _0x116d07=_0x225508;super(_0x4b4755,_0x40c518,_0x3b2a28,_0x35d96b,_0x13e1c6,_0x42827e,_0x2a6926,_0x24c95e,_0x2d8215,_0x181677,_0x379eb3,_0x3c5c4d,_0x1c09bf),this[_0x116d07(0x3b1)]=_0x4b4755,this['type']=_0x3b2a28,this[_0x116d07(0x2c8)]=_0x249f69;}[_0x225508(0x3df)](){var _0x5b2ff3=_0x225508;const _0x24a350=super[_0x5b2ff3(0x3df)]();return _0x24a350[_0x5b2ff3(0x3e6)]=_0x3deea8=>this[_0x5b2ff3(0x2c8)][_0x5b2ff3(0x3b5)](_0x3deea8),_0x24a350;}async['_init'](){var _0x47fee2=_0x225508;const _0x1d2657=await super['_init']();return this[_0x47fee2(0x28d)](this[_0x47fee2(0x45d)]['onCommandExecuted']((_0xc58d2b,_0xc182ff)=>{var _0x4aae9d=_0x47fee2;if(_0xc58d2b[_0x4aae9d(0x219)]!==_0x3dc4e2[_0x4aae9d(0x1de)]||_0xc182ff!=null&&_0xc182ff[_0x4aae9d(0x3ce)]||_0xc182ff!=null&&_0xc182ff['onlyLocal'])return;const _0xb6fa8c=_0xc58d2b[_0x4aae9d(0x418)];if((_0xb6fa8c==null?void 0x0:_0xb6fa8c[_0x4aae9d(0x3ec)])!==this[_0x4aae9d(0x3b1)])return;const _0x450f47=_0xc58d2b,_0x2e8780=this['_compressMutationService'][_0x4aae9d(0x36f)][_0x4aae9d(0x20e)](this[_0x4aae9d(0x467)][_0x4aae9d(0x36f)][_0x4aae9d(0x371)]()[_0x4aae9d(0x32f)])([_0x450f47],null)||[_0x450f47];this['_onLocalMutation'](_0x2e8780[0x0]);})),_0x1d2657;}};Tt=Lt([H(0x3,_0x59c5a0(_0x1f43c7)),H(0x4,_0x59c5a0(_0x53a952)),H(0x5,_0x59c5a0(_0x236a91)),H(0x6,_0x59c5a0(_0x3f05b9)),H(0x7,_0x59c5a0(it)),H(0x8,_0x59c5a0(pe)),H(0x9,_0x4017e6),H(0xa,_0x171c01),H(0xb,_0x52947d),H(0xc,_0x182985(ht)),H(0xd,_0x182985(J))],Tt);var os=Object[_0x225508(0x3dd)],cs=(_0x544fb2,_0x26b885,_0x3ebf8c,_0x3a1836)=>{var _0x388ebe=_0x225508;for(var _0x3872ea=_0x3a1836>0x1?void 0x0:_0x3a1836?os(_0x26b885,_0x3ebf8c):_0x26b885,_0x480a6f=_0x544fb2[_0x388ebe(0x348)]-0x1,_0x4cd669;_0x480a6f>=0x0;_0x480a6f--)(_0x4cd669=_0x544fb2[_0x480a6f])&&(_0x3872ea=_0x4cd669(_0x3872ea)||_0x3872ea);return _0x3872ea;},ft=(_0x562c27,_0x11de77)=>(_0xddd55f,_0x314f14)=>_0x11de77(_0xddd55f,_0x314f14,_0x562c27);let st=class extends _0xbb1137{constructor(_0x452fb9,_0x4d4281,_0x1c528c){var _0x41ca45=_0x225508;super(),N(this,_0x41ca45(0x477),new Map()),N(this,_0x41ca45(0x1e5),new _0x7a0b0d()),N(this,_0x41ca45(0x3f6),this[_0x41ca45(0x1e5)][_0x41ca45(0x1c9)]()),(this[_0x41ca45(0x1e1)]=_0x452fb9,this[_0x41ca45(0x42e)]=_0x4d4281,this[_0x41ca45(0x1f5)]=_0x1c528c,this[_0x41ca45(0x33f)]());}['dispose'](){var _0x1be1ca=_0x225508;super[_0x1be1ca(0x355)](),this[_0x1be1ca(0x477)]['forEach'](_0xcbe4e5=>_0xcbe4e5[_0x1be1ca(0x355)]()),this['_entities'][_0x1be1ca(0x34b)]();}['getCollabEntity'](_0x337e63){var _0x3bb391=_0x225508,_0x1fb339;return(_0x1fb339=this[_0x3bb391(0x477)]['get'](_0x337e63))!=null?_0x1fb339:null;}['getCollabEntity$'](_0x20719b){var _0x2987f7=_0x225508;const _0x3dd9e9=this[_0x2987f7(0x205)](_0x20719b);return _0x3dd9e9?_0x47cd70(_0x3dd9e9):this['_entityInit$'][_0x2987f7(0x1dc)](_0x3495eb(_0x111d5e=>_0x111d5e[_0x2987f7(0x3b1)]===_0x20719b));}[_0x225508(0x252)](_0x5af404){var _0x4fa708=_0x225508;return _0x2ebee8(this[_0x4fa708(0x16e)](_0x5af404)['pipe'](_0x4cad8a(()=>{})));}[_0x225508(0x33f)](){var _0x3a91bd=_0x225508;this[_0x3a91bd(0x1f5)][_0x3a91bd(0x302)](_0x1a0c97['UNIVER_SHEET'])['pipe'](_0x42950a(this[_0x3a91bd(0x33d)]),_0x1a6441(0x10))[_0x3a91bd(0x1df)](async _0x1dd608=>{var _0x5f0512=_0x3a91bd;const _0x4aabdb=_0x1dd608[_0x5f0512(0x398)](),_0x507141=await this[_0x5f0512(0x27d)](_0x4aabdb,Q[_0x5f0512(0x409)]);this['_entities'][_0x5f0512(0x26c)](_0x4aabdb,_0x507141);}),this[_0x3a91bd(0x1f5)][_0x3a91bd(0x302)](_0x1a0c97[_0x3a91bd(0x2e1)])[_0x3a91bd(0x1dc)](_0x42950a(this[_0x3a91bd(0x33d)]),_0x1a6441(0x10))[_0x3a91bd(0x1dc)](_0x3495eb(_0x21e634=>!_0x21e634[_0x3a91bd(0x398)]()[_0x3a91bd(0x439)]('__')))[_0x3a91bd(0x1df)](async _0x3f3411=>{var _0x3db3a2=_0x3a91bd;const _0x4f3643=_0x3f3411[_0x3db3a2(0x398)](),_0x3d3e7b=await this[_0x3db3a2(0x27d)](_0x4f3643,Q[_0x3db3a2(0x2e1)]);this[_0x3db3a2(0x477)][_0x3db3a2(0x26c)](_0x4f3643,_0x3d3e7b);}),_0x3e5ef6(this[_0x3a91bd(0x1f5)][_0x3a91bd(0x1cb)](_0x1a0c97[_0x3a91bd(0x409)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1a0c97[_0x3a91bd(0x2e1)]))['pipe'](_0x42950a(this[_0x3a91bd(0x33d)]))[_0x3a91bd(0x1df)](_0x4a58f6=>{var _0x124312=_0x3a91bd;const _0x3ea361=_0x4a58f6[_0x124312(0x398)](),_0x93516d=this[_0x124312(0x477)][_0x124312(0x2a2)](_0x3ea361);_0x93516d&&(_0x93516d[_0x124312(0x355)](),this[_0x124312(0x477)][_0x124312(0x213)](_0x3ea361));});}async[_0x225508(0x27d)](_0x575591,_0x5de389){var _0x111c41=_0x225508;const _0x5acecf=await this['_collabSessionService'][_0x111c41(0x200)](_0x575591),_0x5d2a99=this[_0x111c41(0x1e1)]['createInstance'](this['_getCtorByUniverType'](_0x5de389),_0x575591,_0x5de389,_0x5acecf);return await _0x5d2a99['init'](),this[_0x111c41(0x1e5)]['next'](_0x5d2a99),_0x5d2a99;}[_0x225508(0x2c7)](_0x106119){var _0x2b6bca=_0x225508;switch(_0x106119){case Q[_0x2b6bca(0x2e1)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x2b6bca(0x19c)+_0x106119);}}};st=cs([ft(0x0,_0x59c5a0(_0x1f43c7)),ft(0x1,_0x59c5a0(xe)),ft(0x2,_0x5db9d5)],st);var hs=Object[_0x225508(0x3dd)],_s=(_0x1ad711,_0x5e6b5d,_0x50a706,_0x17bd76)=>{var _0x449aaa=_0x225508;for(var _0x2b0ec4=_0x17bd76>0x1?void 0x0:_0x17bd76?hs(_0x5e6b5d,_0x50a706):_0x5e6b5d,_0x301661=_0x1ad711[_0x449aaa(0x348)]-0x1,_0x38fe64;_0x301661>=0x0;_0x301661--)(_0x38fe64=_0x1ad711[_0x301661])&&(_0x2b0ec4=_0x38fe64(_0x2b0ec4)||_0x2b0ec4);return _0x2b0ec4;},zt=(_0x18520c,_0x3f0096)=>(_0x25e0dd,_0x2c209d)=>_0x3f0096(_0x25e0dd,_0x2c209d,_0x18520c);const ls=_0x225508(0x2eb),us=_0x225508(0x1a7);let Ct=class extends _0x31b068{constructor(_0xe35f86,_0x3d916c){var _0x85cbe1=_0x225508;super(),this[_0x85cbe1(0x1f5)]=_0xe35f86,this[_0x85cbe1(0x2a3)]=_0x3d916c,this[_0x85cbe1(0x33f)]();}[_0x225508(0x33f)](){var _0x1cec5c=_0x225508;this[_0x1cec5c(0x28d)](this[_0x1cec5c(0x1f5)][_0x1cec5c(0x451)][_0x1cec5c(0x1df)](()=>{var _0x49442e=_0x1cec5c,_0x4eab38;const _0x4de9d3=this['_univerInstanceService'][_0x49442e(0x45e)]();let _0x2697ee=(_0x4eab38=this['_configService'][_0x49442e(0x202)](ls))!=null?_0x4eab38:us;_0x4de9d3 instanceof _0x2791cc&&(_0x2697ee=_0x4de9d3[_0x49442e(0x1e8)]),document[_0x49442e(0x214)]=_0x2697ee;}));}};Ct=_s([zt(0x0,_0x5db9d5),zt(0x1,_0x299d0c)],Ct);var ds=Object[_0x225508(0x3dd)],fs=(_0x13f8bb,_0x58247a,_0x59cd56,_0x367547)=>{var _0x24cc15=_0x225508;for(var _0x502814=_0x367547>0x1?void 0x0:_0x367547?ds(_0x58247a,_0x59cd56):_0x58247a,_0x12e963=_0x13f8bb[_0x24cc15(0x348)]-0x1,_0x2ce712;_0x12e963>=0x0;_0x12e963--)(_0x2ce712=_0x13f8bb[_0x12e963])&&(_0x502814=_0x2ce712(_0x502814)||_0x502814);return _0x502814;},vt=(_0x18022,_0x5d62c3)=>(_0x534a99,_0x5a1387)=>_0x5d62c3(_0x534a99,_0x5a1387,_0x18022);let rt=class{constructor(_0x2cce76,_0x4edeeb,_0x54d424){var _0x39c0bf=_0x225508;this[_0x39c0bf(0x2a3)]=_0x2cce76,this[_0x39c0bf(0x3aa)]=_0x4edeeb,this[_0x39c0bf(0x459)]=_0x54d424,this['init']();}[_0x225508(0x1b3)](){var _0x280f80=_0x225508;this[_0x280f80(0x3aa)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xe340a8,_0x385033)=>_0x385033(_0xe340a8)[_0x280f80(0x1dc)](_0x5b1340(async _0x40a27b=>{var _0x4e58a0=_0x280f80;const _0x554ca0=_0x40a27b;if(_0x554ca0[_0x4e58a0(0x388)]===0x191){if(typeof window>'u')throw new Error(_0x4e58a0(0x281));if(window[_0x4e58a0(0x3ca)](this[_0x4e58a0(0x459)]['t'](_0x4e58a0(0x2f5)))){const _0x1ce4f9=window['encodeURIComponent'](window[_0x4e58a0(0x34a)][_0x4e58a0(0x368)]);window[_0x4e58a0(0x34a)][_0x4e58a0(0x368)]=this[_0x4e58a0(0x397)]()+'?url='+_0x1ce4f9;}}return _0x554ca0;}))});}[_0x225508(0x397)](){var _0x4a62b7=_0x225508,_0x2a8515,_0x716c68;const _0x3aef0e=this[_0x4a62b7(0x2a3)][_0x4a62b7(0x202)](Un),_0x2d4af2=this[_0x4a62b7(0x2a3)][_0x4a62b7(0x202)](q);return(_0x716c68=(_0x2a8515=_0x2d4af2==null?void 0x0:_0x2d4af2[_0x4a62b7(0x1b9)])!=null?_0x2a8515:_0x3aef0e)!=null?_0x716c68:An;}};rt=fs([vt(0x0,_0x299d0c),vt(0x1,_0x59c5a0(_0x33df68)),vt(0x2,_0x59c5a0(_0x236a91))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x957930,_0x39300d,_0x3b93f7,_0x232b39)=>{var _0x5bdff1=_0x225508;for(var _0x1c95b7=_0x232b39>0x1?void 0x0:_0x232b39?vs(_0x39300d,_0x3b93f7):_0x39300d,_0x537b5b=_0x957930[_0x5bdff1(0x348)]-0x1,_0xb6b015;_0x537b5b>=0x0;_0x537b5b--)(_0xb6b015=_0x957930[_0x537b5b])&&(_0x1c95b7=_0xb6b015(_0x1c95b7)||_0x1c95b7);return _0x1c95b7;},Jt=(_0x1d1064,_0x4e2bfd)=>(_0x8b2b4b,_0x5ddbd7)=>_0x4e2bfd(_0x8b2b4b,_0x5ddbd7,_0x1d1064);const Ni=_0x225508(0x1ba),ms=_0x225508(0x17e);let Rt=class extends _0x31b068{constructor(_0x51f1d7,_0x1227c7){var _0x53dcca=_0x225508;super(),this[_0x53dcca(0x46d)]=_0x51f1d7,this[_0x53dcca(0x2a3)]=_0x1227c7,this['_initMergeInterceptor']();}[_0x225508(0x193)](){var _0x1f77cb=_0x225508;const _0x376722=this;this[_0x1f77cb(0x28d)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xa66d9({'isMatch'(_0x455c23){var _0x49ebc4=_0x1f77cb,_0x4c05cb;if(_0x455c23[_0x49ebc4(0x24d)]==='POST'&&((_0x4c05cb=_0x455c23['requestParams'])!=null&&_0x4c05cb['body'])){const {objectID:_0x21ee85,objectType:_0x16fe78}=_0x455c23[_0x49ebc4(0x45b)][_0x49ebc4(0x1bb)]||{};if(!_0x21ee85||_0x16fe78===void 0x0)return!0x1;const _0x5abcfe=_0x376722[_0x49ebc4(0x30e)]()+'/'+_0x16fe78+_0x49ebc4(0x3b7)+_0x21ee85+'/allowed';if(_0x455c23[_0x49ebc4(0x411)]===_0x5abcfe)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bfb5b){var _0x4a14c4=_0x1f77cb,_0x22747a;return(_0x22747a=_0x1bfb5b[_0x4a14c4(0x45b)])==null?void 0x0:_0x22747a[_0x4a14c4(0x1bb)];},'mergeParamsToRequest'(_0x120d45,_0x10df86){var _0x3cce82=_0x1f77cb;const _0x3daf00=_0x376722[_0x3cce82(0x30e)]()+_0x3cce82(0x1ae),_0x5a88fd=_0x120d45[_0x3cce82(0x316)]((_0x3c2bb5,_0xd47bcd)=>{var _0x4e61ac=_0x3cce82;const {unitID:_0x30a416,objectID:_0xe68d0e,objectType:_0x485eec,actions:_0x1a1e94}=_0xd47bcd;return _0x3c2bb5[_0x30a416]||(_0x3c2bb5[_0x30a416]={}),_0x3c2bb5[_0x30a416][_0xe68d0e]||(_0x3c2bb5[_0x30a416][_0xe68d0e]={'objectID':_0xe68d0e,'objectType':_0x485eec,'actions':[]}),_0x3c2bb5[_0x30a416][_0xe68d0e][_0x4e61ac(0x18b)][_0x4e61ac(0x3c4)](..._0x1a1e94),_0x3c2bb5;},{}),_0x631658=[];for(const _0x5de479 in _0x5a88fd)for(const _0x52198b in _0x5a88fd[_0x5de479]){const {actions:_0x1d0515,objectType:_0x1ead22}=_0x5a88fd[_0x5de479][_0x52198b],_0x515d6b=[...new Set(_0x1d0515)];_0x631658[_0x3cce82(0x3c4)]({'unitID':_0x5de479,'objectID':_0x52198b,'objectType':_0x1ead22,'actions':_0x515d6b});}return new _0x434b5a(_0x3cce82(0x450),_0x3daf00,{'headers':_0x10df86[_0x3cce82(0x305)],'withCredentials':_0x10df86[_0x3cce82(0x35b)],'responseType':_0x10df86['responseType'],'body':{'requests':_0x631658}});}},{'distributeResult'(_0xf57256,_0x479c8b){var _0x27b340=_0x1f77cb;const {objectActions:_0x1e9fe1}=_0xf57256;return _0x479c8b[_0x27b340(0x393)](_0x40aff8=>{var _0x567ba4=_0x27b340;const {unitID:_0x259f44,objectID:_0x1178ae,actions:_0x9e805e}=_0x40aff8,_0x278a10=_0x1e9fe1[_0x567ba4(0x1c3)](_0x7c6a3b=>_0x7c6a3b[_0x567ba4(0x3b1)]===_0x259f44&&_0x7c6a3b['objectID']===_0x1178ae),_0xe52b60=_0x9e805e[_0x567ba4(0x393)](_0x7ade54=>_0x278a10==null?void 0x0:_0x278a10[_0x567ba4(0x18b)][_0x567ba4(0x1c3)](_0x38e1b9=>_0x38e1b9[_0x567ba4(0x1fc)]===_0x7ade54))['filter'](_0x5b763f=>!!_0x5b763f);return{'config':_0x40aff8,'result':{'actions':_0xe52b60,'error':_0xf57256['error']}};});}})}));}[_0x225508(0x30e)](){var _0x1647f1=_0x225508,_0xacfdb7,_0x4774ba;const _0x5b36cf=this[_0x1647f1(0x2a3)][_0x1647f1(0x202)](Ni),_0x2892cd=this[_0x1647f1(0x2a3)]['getConfig'](q);return(_0x4774ba=(_0xacfdb7=_0x2892cd==null?void 0x0:_0x2892cd[_0x1647f1(0x331)])!=null?_0xacfdb7:_0x5b36cf)!=null?_0x4774ba:ms;}async[_0x225508(0x3c0)](_0x112e2a){var _0x143ba0=_0x225508;const _0x57bb30=this['_getAPIPrefixPath']()+'/'+_0x112e2a[_0x143ba0(0x3c1)]+_0x143ba0(0x269);return(await this[_0x143ba0(0x46d)]['post'](_0x57bb30,{'body':_0x112e2a}))[_0x143ba0(0x1bb)][_0x143ba0(0x218)]||'';}async['list'](_0x2e0bfa){var _0x42ae67=_0x225508;const _0x5ce2ba=this[_0x42ae67(0x30e)]()+_0x42ae67(0x176);return(await this['_HTTPService'][_0x42ae67(0x277)](_0x5ce2ba,{'body':_0x2e0bfa}))['body'][_0x42ae67(0x3a1)];}async[_0x225508(0x1bf)](_0x50933b){var _0x205220=_0x225508,_0x42e870,_0x59c7a5;const _0x2ccaf3=this[_0x205220(0x30e)]()+'/'+_0x50933b['objectType']+_0x205220(0x3b7)+_0x50933b['objectID'],_0x27a32c=await this[_0x205220(0x46d)]['put'](_0x2ccaf3,{'body':_0x50933b});if(((_0x59c7a5=(_0x42e870=_0x27a32c==null?void 0x0:_0x27a32c[_0x205220(0x1bb)])==null?void 0x0:_0x42e870['error'])==null?void 0x0:_0x59c7a5[_0x205220(0x29c)])!==0x1)throw new Error(_0x205220(0x3e0));}async[_0x225508(0x1c2)](_0x48e714){var _0x1b861d=_0x225508;const _0x3ffe80=this[_0x1b861d(0x30e)]()+'/'+_0x48e714[_0x1b861d(0x3c1)]+_0x1b861d(0x3b7)+_0x48e714[_0x1b861d(0x218)]+'/allowed';return(await this[_0x1b861d(0x46d)]['post'](_0x3ffe80,{'body':_0x48e714}))[_0x1b861d(0x1bb)][_0x1b861d(0x18b)];}async['batchAllowed'](_0x1ebec7){var _0x1327a7=_0x225508;const _0x5c64f0=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x1327a7(0x46d)][_0x1327a7(0x277)](_0x5c64f0,{'body':{'requests':_0x1ebec7}}))[_0x1327a7(0x1bb)]['objectActions'];}async[_0x225508(0x3e8)](_0x51fb83){var _0xc0bc18=_0x225508;const _0x47070d=this[_0xc0bc18(0x30e)]()+'/'+_0x51fb83[_0xc0bc18(0x3c1)]+_0xc0bc18(0x456),_0x578e6f=await this[_0xc0bc18(0x46d)][_0xc0bc18(0x277)](_0x47070d,{'body':_0x51fb83});return{'roles':_0x578e6f[_0xc0bc18(0x1bb)][_0xc0bc18(0x410)],'actions':_0x578e6f[_0xc0bc18(0x1bb)][_0xc0bc18(0x18b)]};}async[_0x225508(0x2af)](_0x53db45){var _0x2b554d=_0x225508;const _0x1336f8=this[_0x2b554d(0x30e)]()+_0x2b554d(0x2ba);await this['_HTTPService'][_0x2b554d(0x213)](_0x1336f8,{'params':{'collaboratorID':_0x53db45[_0x2b554d(0x2d5)],'objectID':_0x53db45[_0x2b554d(0x218)],'unitID':_0x53db45[_0x2b554d(0x3b1)]}});}async[_0x225508(0x415)](_0x10adb9){var _0x404acc=_0x225508;const _0xe8842a=this[_0x404acc(0x30e)]()+_0x404acc(0x2ba);await this[_0x404acc(0x46d)][_0x404acc(0x41f)](_0xe8842a,{'body':_0x10adb9});}async['createCollaborator'](_0x35e6fa){var _0x29ec46=_0x225508;const _0x1b13cd=this[_0x29ec46(0x30e)]()+'/collaborator';await this[_0x29ec46(0x46d)][_0x29ec46(0x277)](_0x1b13cd,{'body':_0x35e6fa});}async[_0x225508(0x378)](_0xf3dc51){var _0x22e955=_0x225508;const _0x1614a7=this['_getAPIPrefixPath']()+_0x22e955(0x2ba);return(await this['_HTTPService']['get'](_0x1614a7,{'params':{'objectID':_0xf3dc51[_0x22e955(0x218)],'unitID':_0xf3dc51[_0x22e955(0x3b1)]}}))[_0x22e955(0x1bb)][_0x22e955(0x2c3)];}async[_0x225508(0x26d)](_0x5bbe14){var _0x589599=_0x225508;const _0x1c4a1f=this[_0x589599(0x30e)]()+_0x589599(0x2ba);await this['_HTTPService']['put'](_0x1c4a1f,{'body':_0x5bbe14});}};Rt=ps([Jt(0x0,_0x59c5a0(_0x33df68)),Jt(0x1,_0x59c5a0(_0x299d0c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x33e4bb){var _0x439351=_0x225508;return _0x33e4bb&&_0x33e4bb['__esModule']&&Object[_0x439351(0x35c)][_0x439351(0x199)]['call'](_0x33e4bb,'default')?_0x33e4bb[_0x439351(0x2e2)]:_0x33e4bb;}var Ve={'exports':{}};function gs(_0x1572b1){var _0x18f644=_0x225508;throw new Error(_0x18f644(0x24f)+_0x1572b1+_0x18f644(0x27b));}var Ge={'exports':{}},Ss=Ge[_0x225508(0x3cf)],Xt;function ie(){var _0x559ba5=_0x225508;return Xt||(Xt=0x1,function(_0x29666e,_0x1e88ae){(function(_0x2c1480,_0x195ce3){_0x29666e['exports']=_0x195ce3();}(Ss,function(){var _0x376e17=_0x376e17||function(_0xd785d8,_0x4cdf1f){var _0xa4f459=_0x1e04,_0x465c31;if(typeof window<'u'&&window[_0xa4f459(0x399)]&&(_0x465c31=window[_0xa4f459(0x399)]),typeof self<'u'&&self[_0xa4f459(0x399)]&&(_0x465c31=self['crypto']),typeof globalThis<'u'&&globalThis[_0xa4f459(0x399)]&&(_0x465c31=globalThis[_0xa4f459(0x399)]),!_0x465c31&&typeof window<'u'&&window[_0xa4f459(0x3ae)]&&(_0x465c31=window[_0xa4f459(0x3ae)]),!_0x465c31&&typeof pt<'u'&&pt[_0xa4f459(0x399)]&&(_0x465c31=pt[_0xa4f459(0x399)]),!_0x465c31&&typeof gs=='function')try{_0x465c31=require(_0xa4f459(0x399));}catch{}var _0x260963=function(){var _0xa56cc=_0xa4f459;if(_0x465c31){if(typeof _0x465c31[_0xa56cc(0x185)]==_0xa56cc(0x300))try{return _0x465c31[_0xa56cc(0x185)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x465c31['randomBytes']==_0xa56cc(0x300))try{return _0x465c31[_0xa56cc(0x386)](0x4)['readInt32LE']();}catch{}}throw new Error(_0xa56cc(0x33c));},_0x3fa1d4=Object[_0xa4f459(0x3c0)]||(function(){function _0x4ecea5(){}return function(_0x2a380d){var _0x5385e8=_0x1e04,_0x1edecc;return _0x4ecea5[_0x5385e8(0x35c)]=_0x2a380d,_0x1edecc=new _0x4ecea5(),_0x4ecea5['prototype']=null,_0x1edecc;};}()),_0x293350={},_0x5dccb7=_0x293350['lib']={},_0x58bb23=_0x5dccb7['Base']=(function(){return{'extend':function(_0x27d1c7){var _0x52bc12=_0x1e04,_0x410cfb=_0x3fa1d4(this);return _0x27d1c7&&_0x410cfb[_0x52bc12(0x319)](_0x27d1c7),(!_0x410cfb['hasOwnProperty']('init')||this[_0x52bc12(0x1b3)]===_0x410cfb['init'])&&(_0x410cfb[_0x52bc12(0x1b3)]=function(){var _0x1782e5=_0x52bc12;_0x410cfb[_0x1782e5(0x3c9)][_0x1782e5(0x1b3)][_0x1782e5(0x38f)](this,arguments);}),_0x410cfb[_0x52bc12(0x1b3)][_0x52bc12(0x35c)]=_0x410cfb,_0x410cfb[_0x52bc12(0x3c9)]=this,_0x410cfb;},'create':function(){var _0x203b4d=_0x1e04,_0x1c6cb2=this[_0x203b4d(0x309)]();return _0x1c6cb2[_0x203b4d(0x1b3)]['apply'](_0x1c6cb2,arguments),_0x1c6cb2;},'init':function(){},'mixIn':function(_0x477992){var _0x1aba60=_0x1e04;for(var _0x31a9e5 in _0x477992)_0x477992[_0x1aba60(0x199)](_0x31a9e5)&&(this[_0x31a9e5]=_0x477992[_0x31a9e5]);_0x477992[_0x1aba60(0x199)](_0x1aba60(0x29f))&&(this[_0x1aba60(0x29f)]=_0x477992[_0x1aba60(0x29f)]);},'clone':function(){var _0x1ad747=_0x1e04;return this[_0x1ad747(0x1b3)]['prototype'][_0x1ad747(0x309)](this);}};}()),_0x129502=_0x5dccb7['WordArray']=_0x58bb23['extend']({'init':function(_0x570d04,_0x28fddb){var _0x563c7c=_0xa4f459;_0x570d04=this[_0x563c7c(0x2e7)]=_0x570d04||[],_0x28fddb!=_0x4cdf1f?this[_0x563c7c(0x1ec)]=_0x28fddb:this[_0x563c7c(0x1ec)]=_0x570d04[_0x563c7c(0x348)]*0x4;},'toString':function(_0x1374dd){var _0x2e13f0=_0xa4f459;return(_0x1374dd||_0x137333)[_0x2e13f0(0x363)](this);},'concat':function(_0x380bd3){var _0x47eed8=_0xa4f459,_0x591476=this[_0x47eed8(0x2e7)],_0x4b6747=_0x380bd3[_0x47eed8(0x2e7)],_0x599184=this[_0x47eed8(0x1ec)],_0x37a837=_0x380bd3[_0x47eed8(0x1ec)];if(this[_0x47eed8(0x34e)](),_0x599184%0x4)for(var _0x18a52c=0x0;_0x18a52c<_0x37a837;_0x18a52c++){var _0x53961e=_0x4b6747[_0x18a52c>>>0x2]>>>0x18-_0x18a52c%0x4*0x8&0xff;_0x591476[_0x599184+_0x18a52c>>>0x2]|=_0x53961e<<0x18-(_0x599184+_0x18a52c)%0x4*0x8;}else{for(var _0x10b42b=0x0;_0x10b42b<_0x37a837;_0x10b42b+=0x4)_0x591476[_0x599184+_0x10b42b>>>0x2]=_0x4b6747[_0x10b42b>>>0x2];}return this[_0x47eed8(0x1ec)]+=_0x37a837,this;},'clamp':function(){var _0x4020a1=_0xa4f459,_0x254489=this[_0x4020a1(0x2e7)],_0x35c00e=this[_0x4020a1(0x1ec)];_0x254489[_0x35c00e>>>0x2]&=0xffffffff<<0x20-_0x35c00e%0x4*0x8,_0x254489['length']=_0xd785d8[_0x4020a1(0x288)](_0x35c00e/0x4);},'clone':function(){var _0x125ba8=_0xa4f459,_0x1e125c=_0x58bb23[_0x125ba8(0x31c)]['call'](this);return _0x1e125c[_0x125ba8(0x2e7)]=this['words'][_0x125ba8(0x1d8)](0x0),_0x1e125c;},'random':function(_0x16ed90){var _0x46a06b=_0xa4f459;for(var _0x2af893=[],_0x31117c=0x0;_0x31117c<_0x16ed90;_0x31117c+=0x4)_0x2af893[_0x46a06b(0x3c4)](_0x260963());return new _0x129502[(_0x46a06b(0x1b3))](_0x2af893,_0x16ed90);}}),_0x47af2d=_0x293350['enc']={},_0x137333=_0x47af2d[_0xa4f459(0x3bf)]={'stringify':function(_0x41a7ca){var _0x1a8c66=_0xa4f459;for(var _0xbc6163=_0x41a7ca[_0x1a8c66(0x2e7)],_0x4b8d1b=_0x41a7ca['sigBytes'],_0x3cca6e=[],_0x3778e3=0x0;_0x3778e3<_0x4b8d1b;_0x3778e3++){var _0x5428cc=_0xbc6163[_0x3778e3>>>0x2]>>>0x18-_0x3778e3%0x4*0x8&0xff;_0x3cca6e['push']((_0x5428cc>>>0x4)[_0x1a8c66(0x29f)](0x10)),_0x3cca6e['push']((_0x5428cc&0xf)[_0x1a8c66(0x29f)](0x10));}return _0x3cca6e[_0x1a8c66(0x1c0)]('');},'parse':function(_0x380900){var _0x29e684=_0xa4f459;for(var _0x53960f=_0x380900[_0x29e684(0x348)],_0xe2da69=[],_0x1ebdc7=0x0;_0x1ebdc7<_0x53960f;_0x1ebdc7+=0x2)_0xe2da69[_0x1ebdc7>>>0x3]|=parseInt(_0x380900[_0x29e684(0x16f)](_0x1ebdc7,0x2),0x10)<<0x18-_0x1ebdc7%0x8*0x4;return new _0x129502['init'](_0xe2da69,_0x53960f/0x2);}},_0x70ffa7=_0x47af2d[_0xa4f459(0x34d)]={'stringify':function(_0x1c57d8){var _0x5b70f4=_0xa4f459;for(var _0x15fe9c=_0x1c57d8[_0x5b70f4(0x2e7)],_0x1164c9=_0x1c57d8[_0x5b70f4(0x1ec)],_0x426bdc=[],_0x5353e9=0x0;_0x5353e9<_0x1164c9;_0x5353e9++){var _0x5c5f92=_0x15fe9c[_0x5353e9>>>0x2]>>>0x18-_0x5353e9%0x4*0x8&0xff;_0x426bdc[_0x5b70f4(0x3c4)](String[_0x5b70f4(0x21f)](_0x5c5f92));}return _0x426bdc[_0x5b70f4(0x1c0)]('');},'parse':function(_0x280128){var _0x518f62=_0xa4f459;for(var _0x328646=_0x280128[_0x518f62(0x348)],_0x66f9c0=[],_0x44cbe9=0x0;_0x44cbe9<_0x328646;_0x44cbe9++)_0x66f9c0[_0x44cbe9>>>0x2]|=(_0x280128[_0x518f62(0x22c)](_0x44cbe9)&0xff)<<0x18-_0x44cbe9%0x4*0x8;return new _0x129502[(_0x518f62(0x1b3))](_0x66f9c0,_0x328646);}},_0x54cc6d=_0x47af2d[_0xa4f459(0x449)]={'stringify':function(_0x5368c6){var _0x182e2a=_0xa4f459;try{return decodeURIComponent(escape(_0x70ffa7[_0x182e2a(0x363)](_0x5368c6)));}catch{throw new Error(_0x182e2a(0x29b));}},'parse':function(_0x440fb9){var _0x2f2de8=_0xa4f459;return _0x70ffa7[_0x2f2de8(0x338)](unescape(encodeURIComponent(_0x440fb9)));}},_0x1ec735=_0x5dccb7[_0xa4f459(0x2d1)]=_0x58bb23[_0xa4f459(0x309)]({'reset':function(){var _0x467250=_0xa4f459;this[_0x467250(0x3ad)]=new _0x129502['init'](),this[_0x467250(0x383)]=0x0;},'_append':function(_0x413f6a){var _0x4b38ae=_0xa4f459;typeof _0x413f6a=='string'&&(_0x413f6a=_0x54cc6d[_0x4b38ae(0x338)](_0x413f6a)),this[_0x4b38ae(0x3ad)][_0x4b38ae(0x389)](_0x413f6a),this[_0x4b38ae(0x383)]+=_0x413f6a[_0x4b38ae(0x1ec)];},'_process':function(_0x326e00){var _0x56283e=_0xa4f459,_0x4e846d,_0x29b486=this[_0x56283e(0x3ad)],_0x4c68af=_0x29b486[_0x56283e(0x2e7)],_0x2b7e9b=_0x29b486[_0x56283e(0x1ec)],_0x4bf824=this[_0x56283e(0x19f)],_0x62a944=_0x4bf824*0x4,_0x47abc6=_0x2b7e9b/_0x62a944;_0x326e00?_0x47abc6=_0xd785d8[_0x56283e(0x288)](_0x47abc6):_0x47abc6=_0xd785d8['max']((_0x47abc6|0x0)-this[_0x56283e(0x3ee)],0x0);var _0x51fd6e=_0x47abc6*_0x4bf824,_0x4d1f33=_0xd785d8['min'](_0x51fd6e*0x4,_0x2b7e9b);if(_0x51fd6e){for(var _0x50fd26=0x0;_0x50fd26<_0x51fd6e;_0x50fd26+=_0x4bf824)this['_doProcessBlock'](_0x4c68af,_0x50fd26);_0x4e846d=_0x4c68af[_0x56283e(0x308)](0x0,_0x51fd6e),_0x29b486[_0x56283e(0x1ec)]-=_0x4d1f33;}return new _0x129502[(_0x56283e(0x1b3))](_0x4e846d,_0x4d1f33);},'clone':function(){var _0x260d48=_0xa4f459,_0x388de6=_0x58bb23[_0x260d48(0x31c)]['call'](this);return _0x388de6[_0x260d48(0x3ad)]=this[_0x260d48(0x3ad)][_0x260d48(0x31c)](),_0x388de6;},'_minBufferSize':0x0});_0x5dccb7['Hasher']=_0x1ec735['extend']({'cfg':_0x58bb23[_0xa4f459(0x309)](),'init':function(_0xafbe65){var _0x1a1a90=_0xa4f459;this['cfg']=this['cfg'][_0x1a1a90(0x309)](_0xafbe65),this[_0x1a1a90(0x228)]();},'reset':function(){var _0x3de648=_0xa4f459;_0x1ec735['reset'][_0x3de648(0x3db)](this),this['_doReset']();},'update':function(_0x5e2612){var _0x483a83=_0xa4f459;return this[_0x483a83(0x2ec)](_0x5e2612),this[_0x483a83(0x2f4)](),this;},'finalize':function(_0x34377a){var _0x24a2ee=_0xa4f459;_0x34377a&&this['_append'](_0x34377a);var _0x3bbf18=this[_0x24a2ee(0x2d9)]();return _0x3bbf18;},'blockSize':0x10,'_createHelper':function(_0x59ff5b){return function(_0x160ca8,_0x328286){var _0x4e466b=_0x1e04;return new _0x59ff5b[(_0x4e466b(0x1b3))](_0x328286)['finalize'](_0x160ca8);};},'_createHmacHelper':function(_0x30d34b){return function(_0x41b290,_0x22075d){var _0x57a88a=_0x1e04;return new _0x4c77ec[(_0x57a88a(0x223))]['init'](_0x30d34b,_0x22075d)[_0x57a88a(0x3d5)](_0x41b290);};}});var _0x4c77ec=_0x293350['algo']={};return _0x293350;}(Math);return _0x376e17;}));}(Ge)),Ge[_0x559ba5(0x3cf)];}var We={'exports':{}},Es=We[_0x225508(0x3cf)],Zt;function Di(){var _0x4bce4f=_0x225508;return Zt||(Zt=0x1,function(_0x1a49ae,_0x55ba5f){(function(_0x2dcd57,_0x55bcc2){var _0x3a8f9b=_0x1e04;_0x1a49ae[_0x3a8f9b(0x3cf)]=_0x55bcc2(ie());}(Es,function(_0xdd6139){return(function(){var _0x28c8ab=_0x1e04,_0x3415a5=_0xdd6139,_0x528fad=_0x3415a5[_0x28c8ab(0x3e7)],_0x4fa022=_0x528fad[_0x28c8ab(0x297)],_0x3c015d=_0x3415a5[_0x28c8ab(0x365)];_0x3c015d['Base64']={'stringify':function(_0x2cb1ad){var _0x2d6359=_0x28c8ab,_0x2fd772=_0x2cb1ad[_0x2d6359(0x2e7)],_0x62488f=_0x2cb1ad[_0x2d6359(0x1ec)],_0x48089f=this[_0x2d6359(0x1b2)];_0x2cb1ad[_0x2d6359(0x34e)]();for(var _0x1824ab=[],_0xe63fc8=0x0;_0xe63fc8<_0x62488f;_0xe63fc8+=0x3)for(var _0x235944=_0x2fd772[_0xe63fc8>>>0x2]>>>0x18-_0xe63fc8%0x4*0x8&0xff,_0xcca51b=_0x2fd772[_0xe63fc8+0x1>>>0x2]>>>0x18-(_0xe63fc8+0x1)%0x4*0x8&0xff,_0x396f19=_0x2fd772[_0xe63fc8+0x2>>>0x2]>>>0x18-(_0xe63fc8+0x2)%0x4*0x8&0xff,_0x3586bf=_0x235944<<0x10|_0xcca51b<<0x8|_0x396f19,_0x2db6fc=0x0;_0x2db6fc<0x4&&_0xe63fc8+_0x2db6fc*0.75<_0x62488f;_0x2db6fc++)_0x1824ab['push'](_0x48089f[_0x2d6359(0x436)](_0x3586bf>>>0x6*(0x3-_0x2db6fc)&0x3f));var _0x118089=_0x48089f[_0x2d6359(0x436)](0x40);if(_0x118089){for(;_0x1824ab[_0x2d6359(0x348)]%0x4;)_0x1824ab['push'](_0x118089);}return _0x1824ab[_0x2d6359(0x1c0)]('');},'parse':function(_0x40092c){var _0x1c966d=_0x28c8ab,_0x160170=_0x40092c['length'],_0x1b87f9=this['_map'],_0x29f5ed=this['_reverseMap'];if(!_0x29f5ed){_0x29f5ed=this[_0x1c966d(0x43e)]=[];for(var _0xf43540=0x0;_0xf43540<_0x1b87f9[_0x1c966d(0x348)];_0xf43540++)_0x29f5ed[_0x1b87f9[_0x1c966d(0x22c)](_0xf43540)]=_0xf43540;}var _0x42b3f1=_0x1b87f9['charAt'](0x40);if(_0x42b3f1){var _0x1ab43d=_0x40092c[_0x1c966d(0x384)](_0x42b3f1);_0x1ab43d!==-0x1&&(_0x160170=_0x1ab43d);}return _0x489827(_0x40092c,_0x160170,_0x29f5ed);},'_map':_0x28c8ab(0x248)};function _0x489827(_0x381b97,_0x3acff1,_0x3af7b4){var _0x301c20=_0x28c8ab;for(var _0x46e4cc=[],_0xe80572=0x0,_0x42a87a=0x0;_0x42a87a<_0x3acff1;_0x42a87a++)if(_0x42a87a%0x4){var _0x3c1733=_0x3af7b4[_0x381b97[_0x301c20(0x22c)](_0x42a87a-0x1)]<<_0x42a87a%0x4*0x2,_0x1641c1=_0x3af7b4[_0x381b97['charCodeAt'](_0x42a87a)]>>>0x6-_0x42a87a%0x4*0x2,_0x5266fd=_0x3c1733|_0x1641c1;_0x46e4cc[_0xe80572>>>0x2]|=_0x5266fd<<0x18-_0xe80572%0x4*0x8,_0xe80572++;}return _0x4fa022['create'](_0x46e4cc,_0xe80572);}}()),_0xdd6139['enc']['Base64'];}));}(We)),We[_0x4bce4f(0x3cf)];}var Ke={'exports':{}},Is=Ke[_0x225508(0x3cf)],Qt;function Ts(){var _0x4e977f=_0x225508;return Qt||(Qt=0x1,function(_0x29a354,_0x58614f){(function(_0xecdb8b,_0x4ed409){var _0x54c6cf=_0x1e04;_0x29a354[_0x54c6cf(0x3cf)]=_0x4ed409(ie());}(Is,function(_0x3ec501){return function(_0xc87b20){var _0x42e9e2=_0x1e04,_0x91cf47=_0x3ec501,_0x386148=_0x91cf47[_0x42e9e2(0x3e7)],_0x3fc1be=_0x386148[_0x42e9e2(0x297)],_0x1ce738=_0x386148[_0x42e9e2(0x3a8)],_0x2e783d=_0x91cf47[_0x42e9e2(0x391)],_0x39d97c=[];(function(){var _0x5c4f6a=_0x42e9e2;for(var _0x5beb3f=0x0;_0x5beb3f<0x40;_0x5beb3f++)_0x39d97c[_0x5beb3f]=_0xc87b20[_0x5c4f6a(0x427)](_0xc87b20[_0x5c4f6a(0x3c5)](_0x5beb3f+0x1))*0x100000000|0x0;}());var _0x35fd11=_0x2e783d[_0x42e9e2(0x407)]=_0x1ce738[_0x42e9e2(0x309)]({'_doReset':function(){var _0x1f4834=_0x42e9e2;this[_0x1f4834(0x1cc)]=new _0x3fc1be[(_0x1f4834(0x1b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1621a6,_0x340b1e){var _0x1d9d29=_0x42e9e2;for(var _0x3a2fb2=0x0;_0x3a2fb2<0x10;_0x3a2fb2++){var _0x178738=_0x340b1e+_0x3a2fb2,_0x5f4058=_0x1621a6[_0x178738];_0x1621a6[_0x178738]=(_0x5f4058<<0x8|_0x5f4058>>>0x18)&0xff00ff|(_0x5f4058<<0x18|_0x5f4058>>>0x8)&0xff00ff00;}var _0x48ce30=this['_hash'][_0x1d9d29(0x2e7)],_0x2674fa=_0x1621a6[_0x340b1e+0x0],_0x171d93=_0x1621a6[_0x340b1e+0x1],_0x2c45b2=_0x1621a6[_0x340b1e+0x2],_0x290a17=_0x1621a6[_0x340b1e+0x3],_0x296179=_0x1621a6[_0x340b1e+0x4],_0x1b2cb1=_0x1621a6[_0x340b1e+0x5],_0x2e9dc0=_0x1621a6[_0x340b1e+0x6],_0x5b3da8=_0x1621a6[_0x340b1e+0x7],_0x365b5a=_0x1621a6[_0x340b1e+0x8],_0x2cbbc9=_0x1621a6[_0x340b1e+0x9],_0xcd36b5=_0x1621a6[_0x340b1e+0xa],_0xf430f4=_0x1621a6[_0x340b1e+0xb],_0x35cc24=_0x1621a6[_0x340b1e+0xc],_0x36b958=_0x1621a6[_0x340b1e+0xd],_0x59effe=_0x1621a6[_0x340b1e+0xe],_0x2b207c=_0x1621a6[_0x340b1e+0xf],_0x536b00=_0x48ce30[0x0],_0x5b329d=_0x48ce30[0x1],_0x287f6a=_0x48ce30[0x2],_0x3ed6a0=_0x48ce30[0x3];_0x536b00=_0x25e78c(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x2674fa,0x7,_0x39d97c[0x0]),_0x3ed6a0=_0x25e78c(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x171d93,0xc,_0x39d97c[0x1]),_0x287f6a=_0x25e78c(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2c45b2,0x11,_0x39d97c[0x2]),_0x5b329d=_0x25e78c(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x290a17,0x16,_0x39d97c[0x3]),_0x536b00=_0x25e78c(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x296179,0x7,_0x39d97c[0x4]),_0x3ed6a0=_0x25e78c(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x1b2cb1,0xc,_0x39d97c[0x5]),_0x287f6a=_0x25e78c(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2e9dc0,0x11,_0x39d97c[0x6]),_0x5b329d=_0x25e78c(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b3da8,0x16,_0x39d97c[0x7]),_0x536b00=_0x25e78c(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x365b5a,0x7,_0x39d97c[0x8]),_0x3ed6a0=_0x25e78c(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2cbbc9,0xc,_0x39d97c[0x9]),_0x287f6a=_0x25e78c(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0xcd36b5,0x11,_0x39d97c[0xa]),_0x5b329d=_0x25e78c(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0xf430f4,0x16,_0x39d97c[0xb]),_0x536b00=_0x25e78c(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x35cc24,0x7,_0x39d97c[0xc]),_0x3ed6a0=_0x25e78c(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x36b958,0xc,_0x39d97c[0xd]),_0x287f6a=_0x25e78c(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x59effe,0x11,_0x39d97c[0xe]),_0x5b329d=_0x25e78c(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2b207c,0x16,_0x39d97c[0xf]),_0x536b00=_0x4a4034(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x171d93,0x5,_0x39d97c[0x10]),_0x3ed6a0=_0x4a4034(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2e9dc0,0x9,_0x39d97c[0x11]),_0x287f6a=_0x4a4034(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0xf430f4,0xe,_0x39d97c[0x12]),_0x5b329d=_0x4a4034(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2674fa,0x14,_0x39d97c[0x13]),_0x536b00=_0x4a4034(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x1b2cb1,0x5,_0x39d97c[0x14]),_0x3ed6a0=_0x4a4034(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0xcd36b5,0x9,_0x39d97c[0x15]),_0x287f6a=_0x4a4034(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2b207c,0xe,_0x39d97c[0x16]),_0x5b329d=_0x4a4034(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x296179,0x14,_0x39d97c[0x17]),_0x536b00=_0x4a4034(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x2cbbc9,0x5,_0x39d97c[0x18]),_0x3ed6a0=_0x4a4034(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x59effe,0x9,_0x39d97c[0x19]),_0x287f6a=_0x4a4034(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x290a17,0xe,_0x39d97c[0x1a]),_0x5b329d=_0x4a4034(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x365b5a,0x14,_0x39d97c[0x1b]),_0x536b00=_0x4a4034(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x36b958,0x5,_0x39d97c[0x1c]),_0x3ed6a0=_0x4a4034(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2c45b2,0x9,_0x39d97c[0x1d]),_0x287f6a=_0x4a4034(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x5b3da8,0xe,_0x39d97c[0x1e]),_0x5b329d=_0x4a4034(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x35cc24,0x14,_0x39d97c[0x1f]),_0x536b00=_0x32b8a7(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x1b2cb1,0x4,_0x39d97c[0x20]),_0x3ed6a0=_0x32b8a7(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x365b5a,0xb,_0x39d97c[0x21]),_0x287f6a=_0x32b8a7(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0xf430f4,0x10,_0x39d97c[0x22]),_0x5b329d=_0x32b8a7(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x59effe,0x17,_0x39d97c[0x23]),_0x536b00=_0x32b8a7(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x171d93,0x4,_0x39d97c[0x24]),_0x3ed6a0=_0x32b8a7(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x296179,0xb,_0x39d97c[0x25]),_0x287f6a=_0x32b8a7(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x5b3da8,0x10,_0x39d97c[0x26]),_0x5b329d=_0x32b8a7(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0xcd36b5,0x17,_0x39d97c[0x27]),_0x536b00=_0x32b8a7(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x36b958,0x4,_0x39d97c[0x28]),_0x3ed6a0=_0x32b8a7(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2674fa,0xb,_0x39d97c[0x29]),_0x287f6a=_0x32b8a7(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x290a17,0x10,_0x39d97c[0x2a]),_0x5b329d=_0x32b8a7(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2e9dc0,0x17,_0x39d97c[0x2b]),_0x536b00=_0x32b8a7(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x2cbbc9,0x4,_0x39d97c[0x2c]),_0x3ed6a0=_0x32b8a7(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x35cc24,0xb,_0x39d97c[0x2d]),_0x287f6a=_0x32b8a7(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2b207c,0x10,_0x39d97c[0x2e]),_0x5b329d=_0x32b8a7(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2c45b2,0x17,_0x39d97c[0x2f]),_0x536b00=_0x3648d8(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x2674fa,0x6,_0x39d97c[0x30]),_0x3ed6a0=_0x3648d8(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x5b3da8,0xa,_0x39d97c[0x31]),_0x287f6a=_0x3648d8(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x59effe,0xf,_0x39d97c[0x32]),_0x5b329d=_0x3648d8(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x1b2cb1,0x15,_0x39d97c[0x33]),_0x536b00=_0x3648d8(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x35cc24,0x6,_0x39d97c[0x34]),_0x3ed6a0=_0x3648d8(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x290a17,0xa,_0x39d97c[0x35]),_0x287f6a=_0x3648d8(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0xcd36b5,0xf,_0x39d97c[0x36]),_0x5b329d=_0x3648d8(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x171d93,0x15,_0x39d97c[0x37]),_0x536b00=_0x3648d8(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x365b5a,0x6,_0x39d97c[0x38]),_0x3ed6a0=_0x3648d8(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0x2b207c,0xa,_0x39d97c[0x39]),_0x287f6a=_0x3648d8(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2e9dc0,0xf,_0x39d97c[0x3a]),_0x5b329d=_0x3648d8(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x36b958,0x15,_0x39d97c[0x3b]),_0x536b00=_0x3648d8(_0x536b00,_0x5b329d,_0x287f6a,_0x3ed6a0,_0x296179,0x6,_0x39d97c[0x3c]),_0x3ed6a0=_0x3648d8(_0x3ed6a0,_0x536b00,_0x5b329d,_0x287f6a,_0xf430f4,0xa,_0x39d97c[0x3d]),_0x287f6a=_0x3648d8(_0x287f6a,_0x3ed6a0,_0x536b00,_0x5b329d,_0x2c45b2,0xf,_0x39d97c[0x3e]),_0x5b329d=_0x3648d8(_0x5b329d,_0x287f6a,_0x3ed6a0,_0x536b00,_0x2cbbc9,0x15,_0x39d97c[0x3f]),_0x48ce30[0x0]=_0x48ce30[0x0]+_0x536b00|0x0,_0x48ce30[0x1]=_0x48ce30[0x1]+_0x5b329d|0x0,_0x48ce30[0x2]=_0x48ce30[0x2]+_0x287f6a|0x0,_0x48ce30[0x3]=_0x48ce30[0x3]+_0x3ed6a0|0x0;},'_doFinalize':function(){var _0x147107=_0x42e9e2,_0x5f9629=this['_data'],_0x6663da=_0x5f9629[_0x147107(0x2e7)],_0x4035a7=this[_0x147107(0x383)]*0x8,_0x28abf0=_0x5f9629[_0x147107(0x1ec)]*0x8;_0x6663da[_0x28abf0>>>0x5]|=0x80<<0x18-_0x28abf0%0x20;var _0x58fbf6=_0xc87b20[_0x147107(0x28e)](_0x4035a7/0x100000000),_0x1dd576=_0x4035a7;_0x6663da[(_0x28abf0+0x40>>>0x9<<0x4)+0xf]=(_0x58fbf6<<0x8|_0x58fbf6>>>0x18)&0xff00ff|(_0x58fbf6<<0x18|_0x58fbf6>>>0x8)&0xff00ff00,_0x6663da[(_0x28abf0+0x40>>>0x9<<0x4)+0xe]=(_0x1dd576<<0x8|_0x1dd576>>>0x18)&0xff00ff|(_0x1dd576<<0x18|_0x1dd576>>>0x8)&0xff00ff00,_0x5f9629['sigBytes']=(_0x6663da[_0x147107(0x348)]+0x1)*0x4,this[_0x147107(0x2f4)]();for(var _0x4962d4=this[_0x147107(0x1cc)],_0x3ab76c=_0x4962d4[_0x147107(0x2e7)],_0x47c110=0x0;_0x47c110<0x4;_0x47c110++){var _0x10aab4=_0x3ab76c[_0x47c110];_0x3ab76c[_0x47c110]=(_0x10aab4<<0x8|_0x10aab4>>>0x18)&0xff00ff|(_0x10aab4<<0x18|_0x10aab4>>>0x8)&0xff00ff00;}return _0x4962d4;},'clone':function(){var _0xad9aac=_0x42e9e2,_0x3d0656=_0x1ce738[_0xad9aac(0x31c)][_0xad9aac(0x3db)](this);return _0x3d0656[_0xad9aac(0x1cc)]=this[_0xad9aac(0x1cc)]['clone'](),_0x3d0656;}});function _0x25e78c(_0x14e6e3,_0x3e58cf,_0x1e380d,_0x2d0b70,_0x2726df,_0x19f4ec,_0x404ee3){var _0x3b566d=_0x14e6e3+(_0x3e58cf&_0x1e380d|~_0x3e58cf&_0x2d0b70)+_0x2726df+_0x404ee3;return(_0x3b566d<<_0x19f4ec|_0x3b566d>>>0x20-_0x19f4ec)+_0x3e58cf;}function _0x4a4034(_0x192b66,_0x319e7f,_0x3e51fa,_0x239fdf,_0x1bb01c,_0x5568e2,_0x206ae6){var _0x2eec0a=_0x192b66+(_0x319e7f&_0x239fdf|_0x3e51fa&~_0x239fdf)+_0x1bb01c+_0x206ae6;return(_0x2eec0a<<_0x5568e2|_0x2eec0a>>>0x20-_0x5568e2)+_0x319e7f;}function _0x32b8a7(_0x4eb9da,_0x4ff963,_0xd2aecf,_0x22866d,_0x4b0a88,_0x2f4cf3,_0x577b95){var _0xff2fc0=_0x4eb9da+(_0x4ff963^_0xd2aecf^_0x22866d)+_0x4b0a88+_0x577b95;return(_0xff2fc0<<_0x2f4cf3|_0xff2fc0>>>0x20-_0x2f4cf3)+_0x4ff963;}function _0x3648d8(_0x12c26d,_0x37566c,_0x20ce44,_0x270783,_0x3ff95e,_0x1d1b57,_0x3de357){var _0x9dae9d=_0x12c26d+(_0x20ce44^(_0x37566c|~_0x270783))+_0x3ff95e+_0x3de357;return(_0x9dae9d<<_0x1d1b57|_0x9dae9d>>>0x20-_0x1d1b57)+_0x37566c;}_0x91cf47[_0x42e9e2(0x407)]=_0x1ce738[_0x42e9e2(0x16d)](_0x35fd11),_0x91cf47[_0x42e9e2(0x469)]=_0x1ce738[_0x42e9e2(0x2c5)](_0x35fd11);}(Math),_0x3ec501['MD5'];}));}(Ke)),Ke[_0x4e977f(0x3cf)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x225508(0x3cf)],ei;function Rs(){return ei||(ei=0x1,function(_0x2a6f02,_0x200607){(function(_0x1569fe,_0x4a8cd2){var _0x192c5e=_0x1e04;_0x2a6f02[_0x192c5e(0x3cf)]=_0x4a8cd2(ie());}(Cs,function(_0x36835e){var _0x1ff40c=_0x1e04;return(function(){var _0xd0d295=_0x1e04,_0x569615=_0x36835e,_0x1d2ab9=_0x569615[_0xd0d295(0x3e7)],_0x9e91a5=_0x1d2ab9[_0xd0d295(0x297)],_0x1fe595=_0x1d2ab9[_0xd0d295(0x3a8)],_0x4fadbb=_0x569615['algo'],_0x2e1851=[],_0x3dd194=_0x4fadbb[_0xd0d295(0x292)]=_0x1fe595[_0xd0d295(0x309)]({'_doReset':function(){var _0x17a496=_0xd0d295;this[_0x17a496(0x1cc)]=new _0x9e91a5[(_0x17a496(0x1b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x105c52,_0x45eae4){var _0x19ef29=_0xd0d295;for(var _0x4e04af=this['_hash'][_0x19ef29(0x2e7)],_0x47c6f6=_0x4e04af[0x0],_0x1d918f=_0x4e04af[0x1],_0x1e0a73=_0x4e04af[0x2],_0xa1d1af=_0x4e04af[0x3],_0x453584=_0x4e04af[0x4],_0x910e36=0x0;_0x910e36<0x50;_0x910e36++){if(_0x910e36<0x10)_0x2e1851[_0x910e36]=_0x105c52[_0x45eae4+_0x910e36]|0x0;else{var _0xac757e=_0x2e1851[_0x910e36-0x3]^_0x2e1851[_0x910e36-0x8]^_0x2e1851[_0x910e36-0xe]^_0x2e1851[_0x910e36-0x10];_0x2e1851[_0x910e36]=_0xac757e<<0x1|_0xac757e>>>0x1f;}var _0x366c3b=(_0x47c6f6<<0x5|_0x47c6f6>>>0x1b)+_0x453584+_0x2e1851[_0x910e36];_0x910e36<0x14?_0x366c3b+=(_0x1d918f&_0x1e0a73|~_0x1d918f&_0xa1d1af)+0x5a827999:_0x910e36<0x28?_0x366c3b+=(_0x1d918f^_0x1e0a73^_0xa1d1af)+0x6ed9eba1:_0x910e36<0x3c?_0x366c3b+=(_0x1d918f&_0x1e0a73|_0x1d918f&_0xa1d1af|_0x1e0a73&_0xa1d1af)-0x70e44324:_0x366c3b+=(_0x1d918f^_0x1e0a73^_0xa1d1af)-0x359d3e2a,_0x453584=_0xa1d1af,_0xa1d1af=_0x1e0a73,_0x1e0a73=_0x1d918f<<0x1e|_0x1d918f>>>0x2,_0x1d918f=_0x47c6f6,_0x47c6f6=_0x366c3b;}_0x4e04af[0x0]=_0x4e04af[0x0]+_0x47c6f6|0x0,_0x4e04af[0x1]=_0x4e04af[0x1]+_0x1d918f|0x0,_0x4e04af[0x2]=_0x4e04af[0x2]+_0x1e0a73|0x0,_0x4e04af[0x3]=_0x4e04af[0x3]+_0xa1d1af|0x0,_0x4e04af[0x4]=_0x4e04af[0x4]+_0x453584|0x0;},'_doFinalize':function(){var _0x275eca=_0xd0d295,_0x15b8c1=this[_0x275eca(0x3ad)],_0x2daf9a=_0x15b8c1['words'],_0x169091=this[_0x275eca(0x383)]*0x8,_0x5e8f3b=_0x15b8c1[_0x275eca(0x1ec)]*0x8;return _0x2daf9a[_0x5e8f3b>>>0x5]|=0x80<<0x18-_0x5e8f3b%0x20,_0x2daf9a[(_0x5e8f3b+0x40>>>0x9<<0x4)+0xe]=Math[_0x275eca(0x28e)](_0x169091/0x100000000),_0x2daf9a[(_0x5e8f3b+0x40>>>0x9<<0x4)+0xf]=_0x169091,_0x15b8c1['sigBytes']=_0x2daf9a[_0x275eca(0x348)]*0x4,this[_0x275eca(0x2f4)](),this['_hash'];},'clone':function(){var _0x28ecdd=_0xd0d295,_0xda0211=_0x1fe595[_0x28ecdd(0x31c)][_0x28ecdd(0x3db)](this);return _0xda0211[_0x28ecdd(0x1cc)]=this[_0x28ecdd(0x1cc)][_0x28ecdd(0x31c)](),_0xda0211;}});_0x569615[_0xd0d295(0x292)]=_0x1fe595['_createHelper'](_0x3dd194),_0x569615[_0xd0d295(0x1a8)]=_0x1fe595['_createHmacHelper'](_0x3dd194);}()),_0x36835e[_0x1ff40c(0x292)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze[_0x225508(0x3cf)],ti;function Os(){var _0x14c801=_0x225508;return ti||(ti=0x1,function(_0x548bbd,_0x48da01){(function(_0x3480a0,_0x36b401){_0x548bbd['exports']=_0x36b401(ie());}(bs,function(_0x140e64){(function(){var _0x26ba4=_0x1e04,_0x767bc=_0x140e64,_0x3cbbaf=_0x767bc[_0x26ba4(0x3e7)],_0x422226=_0x3cbbaf[_0x26ba4(0x353)],_0x209f89=_0x767bc[_0x26ba4(0x365)],_0x5dbbe2=_0x209f89['Utf8'],_0x4d25ac=_0x767bc[_0x26ba4(0x391)];_0x4d25ac['HMAC']=_0x422226['extend']({'init':function(_0x104590,_0x178a18){var _0x1b52d7=_0x26ba4;_0x104590=this['_hasher']=new _0x104590[(_0x1b52d7(0x1b3))](),typeof _0x178a18==_0x1b52d7(0x2f8)&&(_0x178a18=_0x5dbbe2['parse'](_0x178a18));var _0x52e3f0=_0x104590[_0x1b52d7(0x19f)],_0x2d067d=_0x52e3f0*0x4;_0x178a18['sigBytes']>_0x2d067d&&(_0x178a18=_0x104590[_0x1b52d7(0x3d5)](_0x178a18)),_0x178a18[_0x1b52d7(0x34e)]();for(var _0x4848cb=this[_0x1b52d7(0x434)]=_0x178a18[_0x1b52d7(0x31c)](),_0x2ef37f=this['_iKey']=_0x178a18['clone'](),_0x2ce97f=_0x4848cb[_0x1b52d7(0x2e7)],_0x4943c8=_0x2ef37f[_0x1b52d7(0x2e7)],_0x35fbac=0x0;_0x35fbac<_0x52e3f0;_0x35fbac++)_0x2ce97f[_0x35fbac]^=0x5c5c5c5c,_0x4943c8[_0x35fbac]^=0x36363636;_0x4848cb['sigBytes']=_0x2ef37f['sigBytes']=_0x2d067d,this['reset']();},'reset':function(){var _0x31b548=_0x26ba4,_0x1725a3=this[_0x31b548(0x45c)];_0x1725a3[_0x31b548(0x228)](),_0x1725a3[_0x31b548(0x1bf)](this[_0x31b548(0x23f)]);},'update':function(_0x54baae){var _0x1adb25=_0x26ba4;return this['_hasher'][_0x1adb25(0x1bf)](_0x54baae),this;},'finalize':function(_0x48eae7){var _0x5a4e4e=_0x26ba4,_0x338ff7=this['_hasher'],_0x1b50fc=_0x338ff7[_0x5a4e4e(0x3d5)](_0x48eae7);_0x338ff7[_0x5a4e4e(0x228)]();var _0xbd54b0=_0x338ff7[_0x5a4e4e(0x3d5)](this[_0x5a4e4e(0x434)]['clone']()['concat'](_0x1b50fc));return _0xbd54b0;}});}());}));}(ze)),ze[_0x14c801(0x3cf)];}var ys=Ye['exports'],ii;function Ui(){return ii||(ii=0x1,function(_0x9b3fc3,_0x48d387){(function(_0x590525,_0x303bc1,_0x44652d){var _0xe40f70=_0x1e04;_0x9b3fc3[_0xe40f70(0x3cf)]=_0x303bc1(ie(),Rs(),Os());}(ys,function(_0x5dd03b){var _0x4f10aa=_0x1e04;return(function(){var _0x5e68c9=_0x1e04,_0x438419=_0x5dd03b,_0x54c425=_0x438419[_0x5e68c9(0x3e7)],_0x98d7c1=_0x54c425['Base'],_0x2beaac=_0x54c425[_0x5e68c9(0x297)],_0x8f4050=_0x438419[_0x5e68c9(0x391)],_0x2e36eb=_0x8f4050[_0x5e68c9(0x407)],_0x7c88d8=_0x8f4050[_0x5e68c9(0x39b)]=_0x98d7c1[_0x5e68c9(0x309)]({'cfg':_0x98d7c1[_0x5e68c9(0x309)]({'keySize':0x80/0x20,'hasher':_0x2e36eb,'iterations':0x1}),'init':function(_0x235335){var _0x54baee=_0x5e68c9;this[_0x54baee(0x438)]=this['cfg'][_0x54baee(0x309)](_0x235335);},'compute':function(_0xfe9b80,_0x549bcd){var _0xb947cd=_0x5e68c9;for(var _0x3e1ef2,_0x457170=this[_0xb947cd(0x438)],_0x3a6a64=_0x457170[_0xb947cd(0x36a)][_0xb947cd(0x3c0)](),_0x133b01=_0x2beaac[_0xb947cd(0x3c0)](),_0x3ed4f0=_0x133b01['words'],_0x440ccf=_0x457170[_0xb947cd(0x463)],_0x598073=_0x457170[_0xb947cd(0x43d)];_0x3ed4f0[_0xb947cd(0x348)]<_0x440ccf;){_0x3e1ef2&&_0x3a6a64[_0xb947cd(0x1bf)](_0x3e1ef2),_0x3e1ef2=_0x3a6a64['update'](_0xfe9b80)[_0xb947cd(0x3d5)](_0x549bcd),_0x3a6a64[_0xb947cd(0x228)]();for(var _0x144c72=0x1;_0x144c72<_0x598073;_0x144c72++)_0x3e1ef2=_0x3a6a64[_0xb947cd(0x3d5)](_0x3e1ef2),_0x3a6a64[_0xb947cd(0x228)]();_0x133b01[_0xb947cd(0x389)](_0x3e1ef2);}return _0x133b01[_0xb947cd(0x1ec)]=_0x440ccf*0x4,_0x133b01;}});_0x438419[_0x5e68c9(0x39b)]=function(_0x5c2a46,_0x5c9932,_0x164653){var _0xd5ae47=_0x5e68c9;return _0x7c88d8[_0xd5ae47(0x3c0)](_0x164653)[_0xd5ae47(0x476)](_0x5c2a46,_0x5c9932);};}()),_0x5dd03b[_0x4f10aa(0x39b)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Ns=Je[_0x225508(0x3cf)],ni;function Ai(){var _0x4b1d2e=_0x225508;return ni||(ni=0x1,function(_0x27558b,_0x5c3298){(function(_0x3578b7,_0x358f22,_0x2b1022){var _0x2541ac=_0x1e04;_0x27558b[_0x2541ac(0x3cf)]=_0x358f22(ie(),Ui());}(Ns,function(_0x2bd69d){var _0x4f4638=_0x1e04;_0x2bd69d['lib'][_0x4f4638(0x2f6)]||function(_0x324365){var _0x46750b=_0x4f4638,_0x476125=_0x2bd69d,_0x17ceb0=_0x476125[_0x46750b(0x3e7)],_0xd16db3=_0x17ceb0['Base'],_0x52cc29=_0x17ceb0[_0x46750b(0x297)],_0x149d88=_0x17ceb0['BufferedBlockAlgorithm'],_0x68585b=_0x476125[_0x46750b(0x365)];_0x68585b[_0x46750b(0x449)];var _0x41e44c=_0x68585b[_0x46750b(0x39c)],_0x2ace18=_0x476125['algo'],_0x4d8489=_0x2ace18[_0x46750b(0x39b)],_0x268983=_0x17ceb0[_0x46750b(0x2f6)]=_0x149d88[_0x46750b(0x309)]({'cfg':_0xd16db3['extend'](),'createEncryptor':function(_0x4024ae,_0x40dcd9){var _0x366c3f=_0x46750b;return this[_0x366c3f(0x3c0)](this['_ENC_XFORM_MODE'],_0x4024ae,_0x40dcd9);},'createDecryptor':function(_0x5200f4,_0x123ca6){var _0x475bde=_0x46750b;return this['create'](this[_0x475bde(0x1ed)],_0x5200f4,_0x123ca6);},'init':function(_0x1aff51,_0x28c976,_0x2cd471){var _0x595fa6=_0x46750b;this[_0x595fa6(0x438)]=this[_0x595fa6(0x438)][_0x595fa6(0x309)](_0x2cd471),this[_0x595fa6(0x43f)]=_0x1aff51,this[_0x595fa6(0x1e3)]=_0x28c976,this[_0x595fa6(0x228)]();},'reset':function(){var _0x3e6f91=_0x46750b;_0x149d88['reset'][_0x3e6f91(0x3db)](this),this[_0x3e6f91(0x17a)]();},'process':function(_0x4b3ae4){var _0x10d0ae=_0x46750b;return this['_append'](_0x4b3ae4),this[_0x10d0ae(0x2f4)]();},'finalize':function(_0x21e7bd){var _0x27b0c3=_0x46750b;_0x21e7bd&&this[_0x27b0c3(0x2ec)](_0x21e7bd);var _0xf5eab6=this['_doFinalize']();return _0xf5eab6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1ec073(_0x1fd4de){var _0x5a6bce=_0x1e04;return typeof _0x1fd4de==_0x5a6bce(0x2f8)?_0x22370c:_0x44632e;}return function(_0xeb86c7){return{'encrypt':function(_0x54a76f,_0xea3042,_0x27cda1){var _0x1a751f=_0x1e04;return _0x1ec073(_0xea3042)[_0x1a751f(0x1a1)](_0xeb86c7,_0x54a76f,_0xea3042,_0x27cda1);},'decrypt':function(_0x41d508,_0x17af7f,_0x30e891){var _0x173e1a=_0x1e04;return _0x1ec073(_0x17af7f)[_0x173e1a(0x272)](_0xeb86c7,_0x41d508,_0x17af7f,_0x30e891);}};};}())});_0x17ceb0[_0x46750b(0x291)]=_0x268983[_0x46750b(0x309)]({'_doFinalize':function(){var _0x284f1f=this['_process'](!0x0);return _0x284f1f;},'blockSize':0x1});var _0x4bddd6=_0x476125[_0x46750b(0x274)]={},_0xd18807=_0x17ceb0[_0x46750b(0x2be)]=_0xd16db3[_0x46750b(0x309)]({'createEncryptor':function(_0x383834,_0x11b563){var _0x50f9b7=_0x46750b;return this[_0x50f9b7(0x1a5)]['create'](_0x383834,_0x11b563);},'createDecryptor':function(_0x66c0e7,_0x5b0f4e){var _0x3cf023=_0x46750b;return this[_0x3cf023(0x231)][_0x3cf023(0x3c0)](_0x66c0e7,_0x5b0f4e);},'init':function(_0x3d95fb,_0x35c688){var _0x160eca=_0x46750b;this[_0x160eca(0x42f)]=_0x3d95fb,this[_0x160eca(0x1ad)]=_0x35c688;}}),_0x43a93c=_0x4bddd6['CBC']=(function(){var _0x3a85bd=_0x46750b,_0x16477a=_0xd18807[_0x3a85bd(0x309)]();_0x16477a[_0x3a85bd(0x1a5)]=_0x16477a[_0x3a85bd(0x309)]({'processBlock':function(_0x200f20,_0x4c7a4c){var _0x42ea00=_0x3a85bd,_0x538b92=this[_0x42ea00(0x42f)],_0x184512=_0x538b92[_0x42ea00(0x19f)];_0x2e125a[_0x42ea00(0x3db)](this,_0x200f20,_0x4c7a4c,_0x184512),_0x538b92[_0x42ea00(0x1d5)](_0x200f20,_0x4c7a4c),this[_0x42ea00(0x20c)]=_0x200f20[_0x42ea00(0x1d8)](_0x4c7a4c,_0x4c7a4c+_0x184512);}}),_0x16477a[_0x3a85bd(0x231)]=_0x16477a[_0x3a85bd(0x309)]({'processBlock':function(_0x1fe37b,_0x419922){var _0x452b9b=_0x3a85bd,_0x59a8a4=this[_0x452b9b(0x42f)],_0x44334f=_0x59a8a4['blockSize'],_0x10c657=_0x1fe37b[_0x452b9b(0x1d8)](_0x419922,_0x419922+_0x44334f);_0x59a8a4['decryptBlock'](_0x1fe37b,_0x419922),_0x2e125a[_0x452b9b(0x3db)](this,_0x1fe37b,_0x419922,_0x44334f),this[_0x452b9b(0x20c)]=_0x10c657;}});function _0x2e125a(_0x27ab75,_0x87ae6e,_0x2764a3){var _0x2d6baa=_0x3a85bd,_0x52dd1e,_0x27de67=this[_0x2d6baa(0x1ad)];_0x27de67?(_0x52dd1e=_0x27de67,this[_0x2d6baa(0x1ad)]=_0x324365):_0x52dd1e=this['_prevBlock'];for(var _0x4ac685=0x0;_0x4ac685<_0x2764a3;_0x4ac685++)_0x27ab75[_0x87ae6e+_0x4ac685]^=_0x52dd1e[_0x4ac685];}return _0x16477a;}()),_0x538f56=_0x476125[_0x46750b(0x373)]={},_0xfc011d=_0x538f56[_0x46750b(0x3d0)]={'pad':function(_0x130894,_0x6bff9e){var _0x3e4035=_0x46750b;for(var _0x5abf10=_0x6bff9e*0x4,_0x5db6e3=_0x5abf10-_0x130894[_0x3e4035(0x1ec)]%_0x5abf10,_0x2ebd87=_0x5db6e3<<0x18|_0x5db6e3<<0x10|_0x5db6e3<<0x8|_0x5db6e3,_0x1bcbc=[],_0x384042=0x0;_0x384042<_0x5db6e3;_0x384042+=0x4)_0x1bcbc[_0x3e4035(0x3c4)](_0x2ebd87);var _0x46b4ff=_0x52cc29[_0x3e4035(0x3c0)](_0x1bcbc,_0x5db6e3);_0x130894[_0x3e4035(0x389)](_0x46b4ff);},'unpad':function(_0x26163b){var _0x4ebe7f=_0x46750b,_0x3e67d3=_0x26163b[_0x4ebe7f(0x2e7)][_0x26163b[_0x4ebe7f(0x1ec)]-0x1>>>0x2]&0xff;_0x26163b[_0x4ebe7f(0x1ec)]-=_0x3e67d3;}};_0x17ceb0['BlockCipher']=_0x268983[_0x46750b(0x309)]({'cfg':_0x268983[_0x46750b(0x438)][_0x46750b(0x309)]({'mode':_0x43a93c,'padding':_0xfc011d}),'reset':function(){var _0x39c017=_0x46750b,_0x4dbe74;_0x268983['reset'][_0x39c017(0x3db)](this);var _0x5e8fd0=this['cfg'],_0x3b7bd5=_0x5e8fd0['iv'],_0xa70b18=_0x5e8fd0[_0x39c017(0x274)];this[_0x39c017(0x43f)]==this[_0x39c017(0x225)]?_0x4dbe74=_0xa70b18[_0x39c017(0x189)]:(_0x4dbe74=_0xa70b18[_0x39c017(0x1f6)],this[_0x39c017(0x3ee)]=0x1),this[_0x39c017(0x2a1)]&&this[_0x39c017(0x2a1)][_0x39c017(0x43a)]==_0x4dbe74?this[_0x39c017(0x2a1)][_0x39c017(0x1b3)](this,_0x3b7bd5&&_0x3b7bd5['words']):(this['_mode']=_0x4dbe74[_0x39c017(0x3db)](_0xa70b18,this,_0x3b7bd5&&_0x3b7bd5[_0x39c017(0x2e7)]),this[_0x39c017(0x2a1)][_0x39c017(0x43a)]=_0x4dbe74);},'_doProcessBlock':function(_0x252009,_0x2c82ea){var _0x57de44=_0x46750b;this[_0x57de44(0x2a1)][_0x57de44(0x1d3)](_0x252009,_0x2c82ea);},'_doFinalize':function(){var _0x310802=_0x46750b,_0x121f40,_0x583c72=this[_0x310802(0x438)][_0x310802(0x32b)];return this[_0x310802(0x43f)]==this[_0x310802(0x225)]?(_0x583c72['pad'](this[_0x310802(0x3ad)],this[_0x310802(0x19f)]),_0x121f40=this['_process'](!0x0)):(_0x121f40=this[_0x310802(0x2f4)](!0x0),_0x583c72[_0x310802(0x1dd)](_0x121f40)),_0x121f40;},'blockSize':0x80/0x20});var _0x111dc6=_0x17ceb0[_0x46750b(0x39f)]=_0xd16db3[_0x46750b(0x309)]({'init':function(_0x48b589){this['mixIn'](_0x48b589);},'toString':function(_0x51e119){var _0x10aec3=_0x46750b;return(_0x51e119||this[_0x10aec3(0x2da)])[_0x10aec3(0x363)](this);}}),_0x4512db=_0x476125['format']={},_0x18b1a8=_0x4512db[_0x46750b(0x416)]={'stringify':function(_0x221fff){var _0x38a7e7=_0x46750b,_0x139608,_0x5253c6=_0x221fff[_0x38a7e7(0x320)],_0x4da606=_0x221fff[_0x38a7e7(0x1c6)];return _0x4da606?_0x139608=_0x52cc29[_0x38a7e7(0x3c0)]([0x53616c74,0x65645f5f])['concat'](_0x4da606)[_0x38a7e7(0x389)](_0x5253c6):_0x139608=_0x5253c6,_0x139608[_0x38a7e7(0x29f)](_0x41e44c);},'parse':function(_0x179d14){var _0x455ea2=_0x46750b,_0x280050,_0x431d24=_0x41e44c[_0x455ea2(0x338)](_0x179d14),_0xbaf689=_0x431d24['words'];return _0xbaf689[0x0]==0x53616c74&&_0xbaf689[0x1]==0x65645f5f&&(_0x280050=_0x52cc29[_0x455ea2(0x3c0)](_0xbaf689['slice'](0x2,0x4)),_0xbaf689[_0x455ea2(0x308)](0x0,0x4),_0x431d24[_0x455ea2(0x1ec)]-=0x10),_0x111dc6[_0x455ea2(0x3c0)]({'ciphertext':_0x431d24,'salt':_0x280050});}},_0x44632e=_0x17ceb0[_0x46750b(0x318)]=_0xd16db3[_0x46750b(0x309)]({'cfg':_0xd16db3[_0x46750b(0x309)]({'format':_0x18b1a8}),'encrypt':function(_0x208307,_0x1aadc4,_0x509d01,_0x3593f2){var _0x78d07c=_0x46750b;_0x3593f2=this['cfg'][_0x78d07c(0x309)](_0x3593f2);var _0x46393e=_0x208307[_0x78d07c(0x189)](_0x509d01,_0x3593f2),_0x1eaf57=_0x46393e['finalize'](_0x1aadc4),_0x5e34ee=_0x46393e[_0x78d07c(0x438)];return _0x111dc6[_0x78d07c(0x3c0)]({'ciphertext':_0x1eaf57,'key':_0x509d01,'iv':_0x5e34ee['iv'],'algorithm':_0x208307,'mode':_0x5e34ee['mode'],'padding':_0x5e34ee[_0x78d07c(0x32b)],'blockSize':_0x208307[_0x78d07c(0x19f)],'formatter':_0x3593f2['format']});},'decrypt':function(_0x52e42b,_0x410fd6,_0x383369,_0x2bb3dd){var _0x2ba403=_0x46750b;_0x2bb3dd=this[_0x2ba403(0x438)][_0x2ba403(0x309)](_0x2bb3dd),_0x410fd6=this[_0x2ba403(0x31d)](_0x410fd6,_0x2bb3dd[_0x2ba403(0x441)]);var _0x1da0a5=_0x52e42b[_0x2ba403(0x1f6)](_0x383369,_0x2bb3dd)['finalize'](_0x410fd6[_0x2ba403(0x320)]);return _0x1da0a5;},'_parse':function(_0x33b24c,_0x5a1366){var _0x34669d=_0x46750b;return typeof _0x33b24c==_0x34669d(0x2f8)?_0x5a1366[_0x34669d(0x338)](_0x33b24c,this):_0x33b24c;}}),_0x37e68b=_0x476125[_0x46750b(0x1d9)]={},_0x37ce7b=_0x37e68b[_0x46750b(0x416)]={'execute':function(_0x5b1a8b,_0x4df611,_0x452b3b,_0x4c4f42,_0x56aad9){var _0x103843=_0x46750b;if(_0x4c4f42||(_0x4c4f42=_0x52cc29[_0x103843(0x21c)](0x40/0x8)),_0x56aad9)var _0xe22a94=_0x4d8489[_0x103843(0x3c0)]({'keySize':_0x4df611+_0x452b3b,'hasher':_0x56aad9})['compute'](_0x5b1a8b,_0x4c4f42);else var _0xe22a94=_0x4d8489[_0x103843(0x3c0)]({'keySize':_0x4df611+_0x452b3b})[_0x103843(0x476)](_0x5b1a8b,_0x4c4f42);var _0x59208e=_0x52cc29[_0x103843(0x3c0)](_0xe22a94[_0x103843(0x2e7)][_0x103843(0x1d8)](_0x4df611),_0x452b3b*0x4);return _0xe22a94['sigBytes']=_0x4df611*0x4,_0x111dc6[_0x103843(0x3c0)]({'key':_0xe22a94,'iv':_0x59208e,'salt':_0x4c4f42});}},_0x22370c=_0x17ceb0['PasswordBasedCipher']=_0x44632e[_0x46750b(0x309)]({'cfg':_0x44632e[_0x46750b(0x438)]['extend']({'kdf':_0x37ce7b}),'encrypt':function(_0x433382,_0x24d3e0,_0x82c7e9,_0xe6ce17){var _0x512a26=_0x46750b;_0xe6ce17=this['cfg']['extend'](_0xe6ce17);var _0x249957=_0xe6ce17[_0x512a26(0x1d9)][_0x512a26(0x470)](_0x82c7e9,_0x433382[_0x512a26(0x463)],_0x433382[_0x512a26(0x20f)],_0xe6ce17[_0x512a26(0x1c6)],_0xe6ce17[_0x512a26(0x36a)]);_0xe6ce17['iv']=_0x249957['iv'];var _0x257bb7=_0x44632e[_0x512a26(0x1a1)][_0x512a26(0x3db)](this,_0x433382,_0x24d3e0,_0x249957[_0x512a26(0x36d)],_0xe6ce17);return _0x257bb7[_0x512a26(0x319)](_0x249957),_0x257bb7;},'decrypt':function(_0x12f950,_0x44d885,_0x3d8b48,_0x33dd40){var _0x4e8d10=_0x46750b;_0x33dd40=this[_0x4e8d10(0x438)]['extend'](_0x33dd40),_0x44d885=this['_parse'](_0x44d885,_0x33dd40[_0x4e8d10(0x441)]);var _0x597bb3=_0x33dd40[_0x4e8d10(0x1d9)][_0x4e8d10(0x470)](_0x3d8b48,_0x12f950[_0x4e8d10(0x463)],_0x12f950[_0x4e8d10(0x20f)],_0x44d885[_0x4e8d10(0x1c6)],_0x33dd40[_0x4e8d10(0x36a)]);_0x33dd40['iv']=_0x597bb3['iv'];var _0x5306b3=_0x44632e[_0x4e8d10(0x272)][_0x4e8d10(0x3db)](this,_0x12f950,_0x44d885,_0x597bb3['key'],_0x33dd40);return _0x5306b3;}});}();}));}(Je)),Je[_0x4b1d2e(0x3cf)];}var Ds=Ve['exports'],si;function Us(){var _0x52c1b8=_0x225508;return si||(si=0x1,function(_0x310892,_0xd72513){(function(_0xd07dc6,_0x208454,_0x168205){_0x310892['exports']=_0x208454(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x1b8cd1){var _0x2abb3d=_0x1e04;return(function(){var _0x11efea=_0x1e04,_0x4b0481=_0x1b8cd1,_0x2ff986=_0x4b0481[_0x11efea(0x3e7)],_0x5b6e7e=_0x2ff986[_0x11efea(0x37a)],_0x2bbbe8=_0x4b0481[_0x11efea(0x391)],_0x51abe0=[],_0x38ece9=[],_0x1c228e=[],_0x195073=[],_0x4ffd09=[],_0x5aa9d8=[],_0x23f2e0=[],_0x19e26c=[],_0x3246b9=[],_0x3dfe2a=[];(function(){for(var _0x49f0f1=[],_0x4d5b96=0x0;_0x4d5b96<0x100;_0x4d5b96++)_0x4d5b96<0x80?_0x49f0f1[_0x4d5b96]=_0x4d5b96<<0x1:_0x49f0f1[_0x4d5b96]=_0x4d5b96<<0x1^0x11b;for(var _0x293a47=0x0,_0x5e328e=0x0,_0x4d5b96=0x0;_0x4d5b96<0x100;_0x4d5b96++){var _0xcfb036=_0x5e328e^_0x5e328e<<0x1^_0x5e328e<<0x2^_0x5e328e<<0x3^_0x5e328e<<0x4;_0xcfb036=_0xcfb036>>>0x8^_0xcfb036&0xff^0x63,_0x51abe0[_0x293a47]=_0xcfb036,_0x38ece9[_0xcfb036]=_0x293a47;var _0xf90503=_0x49f0f1[_0x293a47],_0x562f83=_0x49f0f1[_0xf90503],_0x4c800a=_0x49f0f1[_0x562f83],_0x47f3b5=_0x49f0f1[_0xcfb036]*0x101^_0xcfb036*0x1010100;_0x1c228e[_0x293a47]=_0x47f3b5<<0x18|_0x47f3b5>>>0x8,_0x195073[_0x293a47]=_0x47f3b5<<0x10|_0x47f3b5>>>0x10,_0x4ffd09[_0x293a47]=_0x47f3b5<<0x8|_0x47f3b5>>>0x18,_0x5aa9d8[_0x293a47]=_0x47f3b5;var _0x47f3b5=_0x4c800a*0x1010101^_0x562f83*0x10001^_0xf90503*0x101^_0x293a47*0x1010100;_0x23f2e0[_0xcfb036]=_0x47f3b5<<0x18|_0x47f3b5>>>0x8,_0x19e26c[_0xcfb036]=_0x47f3b5<<0x10|_0x47f3b5>>>0x10,_0x3246b9[_0xcfb036]=_0x47f3b5<<0x8|_0x47f3b5>>>0x18,_0x3dfe2a[_0xcfb036]=_0x47f3b5,_0x293a47?(_0x293a47=_0xf90503^_0x49f0f1[_0x49f0f1[_0x49f0f1[_0x4c800a^_0xf90503]]],_0x5e328e^=_0x49f0f1[_0x49f0f1[_0x5e328e]]):_0x293a47=_0x5e328e=0x1;}}());var _0x158ea1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38705a=_0x2bbbe8[_0x11efea(0x422)]=_0x5b6e7e[_0x11efea(0x309)]({'_doReset':function(){var _0x396306=_0x11efea,_0x2e90ed;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x6d81bc=this[_0x396306(0x1ca)]=this['_key'],_0x4bb2b6=_0x6d81bc[_0x396306(0x2e7)],_0x358fde=_0x6d81bc[_0x396306(0x1ec)]/0x4,_0x5e575c=this[_0x396306(0x25c)]=_0x358fde+0x6,_0x568884=(_0x5e575c+0x1)*0x4,_0x163300=this[_0x396306(0x2b4)]=[],_0x1e9cc7=0x0;_0x1e9cc7<_0x568884;_0x1e9cc7++)_0x1e9cc7<_0x358fde?_0x163300[_0x1e9cc7]=_0x4bb2b6[_0x1e9cc7]:(_0x2e90ed=_0x163300[_0x1e9cc7-0x1],_0x1e9cc7%_0x358fde?_0x358fde>0x6&&_0x1e9cc7%_0x358fde==0x4&&(_0x2e90ed=_0x51abe0[_0x2e90ed>>>0x18]<<0x18|_0x51abe0[_0x2e90ed>>>0x10&0xff]<<0x10|_0x51abe0[_0x2e90ed>>>0x8&0xff]<<0x8|_0x51abe0[_0x2e90ed&0xff]):(_0x2e90ed=_0x2e90ed<<0x8|_0x2e90ed>>>0x18,_0x2e90ed=_0x51abe0[_0x2e90ed>>>0x18]<<0x18|_0x51abe0[_0x2e90ed>>>0x10&0xff]<<0x10|_0x51abe0[_0x2e90ed>>>0x8&0xff]<<0x8|_0x51abe0[_0x2e90ed&0xff],_0x2e90ed^=_0x158ea1[_0x1e9cc7/_0x358fde|0x0]<<0x18),_0x163300[_0x1e9cc7]=_0x163300[_0x1e9cc7-_0x358fde]^_0x2e90ed);for(var _0x2571cb=this[_0x396306(0x3e9)]=[],_0x5c9be7=0x0;_0x5c9be7<_0x568884;_0x5c9be7++){var _0x1e9cc7=_0x568884-_0x5c9be7;if(_0x5c9be7%0x4)var _0x2e90ed=_0x163300[_0x1e9cc7];else var _0x2e90ed=_0x163300[_0x1e9cc7-0x4];_0x5c9be7<0x4||_0x1e9cc7<=0x4?_0x2571cb[_0x5c9be7]=_0x2e90ed:_0x2571cb[_0x5c9be7]=_0x23f2e0[_0x51abe0[_0x2e90ed>>>0x18]]^_0x19e26c[_0x51abe0[_0x2e90ed>>>0x10&0xff]]^_0x3246b9[_0x51abe0[_0x2e90ed>>>0x8&0xff]]^_0x3dfe2a[_0x51abe0[_0x2e90ed&0xff]];}}},'encryptBlock':function(_0x1a34fa,_0x3c2dcd){var _0x1b2629=_0x11efea;this[_0x1b2629(0x442)](_0x1a34fa,_0x3c2dcd,this[_0x1b2629(0x2b4)],_0x1c228e,_0x195073,_0x4ffd09,_0x5aa9d8,_0x51abe0);},'decryptBlock':function(_0x4c389e,_0x34d8db){var _0x43f799=_0x11efea,_0x54cb42=_0x4c389e[_0x34d8db+0x1];_0x4c389e[_0x34d8db+0x1]=_0x4c389e[_0x34d8db+0x3],_0x4c389e[_0x34d8db+0x3]=_0x54cb42,this['_doCryptBlock'](_0x4c389e,_0x34d8db,this[_0x43f799(0x3e9)],_0x23f2e0,_0x19e26c,_0x3246b9,_0x3dfe2a,_0x38ece9);var _0x54cb42=_0x4c389e[_0x34d8db+0x1];_0x4c389e[_0x34d8db+0x1]=_0x4c389e[_0x34d8db+0x3],_0x4c389e[_0x34d8db+0x3]=_0x54cb42;},'_doCryptBlock':function(_0x98139d,_0x27496c,_0x2471f9,_0x20c510,_0x3f15f9,_0x5b8b47,_0x4d2e8e,_0x4b2608){var _0x55a0a8=_0x11efea;for(var _0x1f2502=this[_0x55a0a8(0x25c)],_0x5d913e=_0x98139d[_0x27496c]^_0x2471f9[0x0],_0x5a408b=_0x98139d[_0x27496c+0x1]^_0x2471f9[0x1],_0x9f9ed0=_0x98139d[_0x27496c+0x2]^_0x2471f9[0x2],_0x549009=_0x98139d[_0x27496c+0x3]^_0x2471f9[0x3],_0xa576dc=0x4,_0x3985c4=0x1;_0x3985c4<_0x1f2502;_0x3985c4++){var _0x25ed1e=_0x20c510[_0x5d913e>>>0x18]^_0x3f15f9[_0x5a408b>>>0x10&0xff]^_0x5b8b47[_0x9f9ed0>>>0x8&0xff]^_0x4d2e8e[_0x549009&0xff]^_0x2471f9[_0xa576dc++],_0x4e88db=_0x20c510[_0x5a408b>>>0x18]^_0x3f15f9[_0x9f9ed0>>>0x10&0xff]^_0x5b8b47[_0x549009>>>0x8&0xff]^_0x4d2e8e[_0x5d913e&0xff]^_0x2471f9[_0xa576dc++],_0x1fd097=_0x20c510[_0x9f9ed0>>>0x18]^_0x3f15f9[_0x549009>>>0x10&0xff]^_0x5b8b47[_0x5d913e>>>0x8&0xff]^_0x4d2e8e[_0x5a408b&0xff]^_0x2471f9[_0xa576dc++],_0x3cc976=_0x20c510[_0x549009>>>0x18]^_0x3f15f9[_0x5d913e>>>0x10&0xff]^_0x5b8b47[_0x5a408b>>>0x8&0xff]^_0x4d2e8e[_0x9f9ed0&0xff]^_0x2471f9[_0xa576dc++];_0x5d913e=_0x25ed1e,_0x5a408b=_0x4e88db,_0x9f9ed0=_0x1fd097,_0x549009=_0x3cc976;}var _0x25ed1e=(_0x4b2608[_0x5d913e>>>0x18]<<0x18|_0x4b2608[_0x5a408b>>>0x10&0xff]<<0x10|_0x4b2608[_0x9f9ed0>>>0x8&0xff]<<0x8|_0x4b2608[_0x549009&0xff])^_0x2471f9[_0xa576dc++],_0x4e88db=(_0x4b2608[_0x5a408b>>>0x18]<<0x18|_0x4b2608[_0x9f9ed0>>>0x10&0xff]<<0x10|_0x4b2608[_0x549009>>>0x8&0xff]<<0x8|_0x4b2608[_0x5d913e&0xff])^_0x2471f9[_0xa576dc++],_0x1fd097=(_0x4b2608[_0x9f9ed0>>>0x18]<<0x18|_0x4b2608[_0x549009>>>0x10&0xff]<<0x10|_0x4b2608[_0x5d913e>>>0x8&0xff]<<0x8|_0x4b2608[_0x5a408b&0xff])^_0x2471f9[_0xa576dc++],_0x3cc976=(_0x4b2608[_0x549009>>>0x18]<<0x18|_0x4b2608[_0x5d913e>>>0x10&0xff]<<0x10|_0x4b2608[_0x5a408b>>>0x8&0xff]<<0x8|_0x4b2608[_0x9f9ed0&0xff])^_0x2471f9[_0xa576dc++];_0x98139d[_0x27496c]=_0x25ed1e,_0x98139d[_0x27496c+0x1]=_0x4e88db,_0x98139d[_0x27496c+0x2]=_0x1fd097,_0x98139d[_0x27496c+0x3]=_0x3cc976;},'keySize':0x100/0x20});_0x4b0481['AES']=_0x5b6e7e[_0x11efea(0x16d)](_0x38705a);}()),_0x1b8cd1[_0x2abb3d(0x422)];}));}(Ve)),Ve[_0x52c1b8(0x3cf)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x225508(0x3cf)],ai;function xs(){return ai||(ai=0x1,function(_0x3196fa,_0x33253e){(function(_0x1b0fd0,_0x5ae828){var _0x239e51=_0x1e04;_0x3196fa[_0x239e51(0x3cf)]=_0x5ae828(ie());}(Ls,function(_0x1b27ee){var _0x1ec68d=_0x1e04;return _0x1b27ee[_0x1ec68d(0x365)][_0x1ec68d(0x449)];}));}(Xe)),Xe['exports'];}function _0x1e04(_0x2786c5,_0x14c989){var _0x2c4ee6=_0x2c4e();return _0x1e04=function(_0x1e04ef,_0x1c31a9){_0x1e04ef=_0x1e04ef-0x16b;var _0x210ca6=_0x2c4ee6[_0x1e04ef];return _0x210ca6;},_0x1e04(_0x2786c5,_0x14c989);}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x225508(0x3cf)],oi;function Hs(){return oi||(oi=0x1,function(_0x49908f,_0xbb0ab1){(function(_0x47e121,_0x2df8ef){var _0x1f249b=_0x1e04;_0x49908f[_0x1f249b(0x3cf)]=_0x2df8ef(ie());}($s,function(_0x2ac40c){var _0x276c65=_0x1e04;return(function(){var _0x3b6eb1=_0x1e04;if(typeof ArrayBuffer==_0x3b6eb1(0x300)){var _0x4043ab=_0x2ac40c,_0x4d7b3b=_0x4043ab[_0x3b6eb1(0x3e7)],_0x4c0733=_0x4d7b3b['WordArray'],_0x1202f8=_0x4c0733[_0x3b6eb1(0x1b3)],_0x4674d0=_0x4c0733[_0x3b6eb1(0x1b3)]=function(_0x4d2bd6){var _0x39c745=_0x3b6eb1;if(_0x4d2bd6 instanceof ArrayBuffer&&(_0x4d2bd6=new Uint8Array(_0x4d2bd6)),(_0x4d2bd6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4d2bd6 instanceof Uint8ClampedArray||_0x4d2bd6 instanceof Int16Array||_0x4d2bd6 instanceof Uint16Array||_0x4d2bd6 instanceof Int32Array||_0x4d2bd6 instanceof Uint32Array||_0x4d2bd6 instanceof Float32Array||_0x4d2bd6 instanceof Float64Array)&&(_0x4d2bd6=new Uint8Array(_0x4d2bd6[_0x39c745(0x433)],_0x4d2bd6[_0x39c745(0x406)],_0x4d2bd6[_0x39c745(0x435)])),_0x4d2bd6 instanceof Uint8Array){for(var _0x1ba5d7=_0x4d2bd6['byteLength'],_0x5b19aa=[],_0x13c402=0x0;_0x13c402<_0x1ba5d7;_0x13c402++)_0x5b19aa[_0x13c402>>>0x2]|=_0x4d2bd6[_0x13c402]<<0x18-_0x13c402%0x4*0x8;_0x1202f8[_0x39c745(0x3db)](this,_0x5b19aa,_0x1ba5d7);}else _0x1202f8['apply'](this,arguments);};_0x4674d0[_0x3b6eb1(0x35c)]=_0x4c0733;}}()),_0x2ac40c[_0x276c65(0x3e7)][_0x276c65(0x297)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x225508(0x3cf)],ci;function _0x2c4e(){var _0x3071bf=['unitId\x20is\x20not\x20found','transformStack\x20failed!','csAckEvent','replace','_process','auth.needGotoLoginAlert','Cipher','capture','string','COLLAB_SUBMIT_CHANGESET_URL','waitForRoom$','_onConnectionFailed','result','members$','_logService','2631009ALhVjf','function','UserProfileImg','getTypeOfUnitAdded$','_sendingTimer','resourceIDs','headers','_getCurrentRevision','YUUMI_NO_CUBOID_FOR_QUESTION','splice','extend','_onRecvEvent','COMPRESS_MUTATION_APPLY','ALREADY_EXISTS','_roomCreated$','_getAPIPrefixPath','10145388CYAMgj','_handlerCallback','/universer-api/user/session-ticket','src','onStarting','UPDATE_PERMISSION_OBJ','JOIN_ROOM_FAILED','reduce','INGEST','SerializableCipher','mixIn','_unlockTransition','GLOBAL_ROOMS_CNT_EXCEEDS','clone','_parse','state','open$','ciphertext','UNIVER_COLLABORATION_CLIENT_PLUGIN','_submitChangeset','_stopTelemetryCollaborationNewChangeset','SUBMIT_CHANGESET','addHandlerCallback','enableAuthServer','session.room-not-exists','[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.','/rev/','includes','padding','_userManagerService','_undoRedoService','_type','COMPRESS_MUTATION_SEND','_tryEnsureSocket','authzUrl','[CollaborationSession]','infoRsp','session','isPermissionRej','_memberService','_changesetReqId','parse','_initDependencies','FAIL','removeMember','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','dispose$','JOIN_ROOM_NOT_EXISTS','_init','INVITE_CODE_HAS_BEEN_UES','_onLocalMutation','_permissionService','_scheduleCollaborationTimeoutTimer','avatar','HEARTBEAT','_createInitialState','USER_NOT_INVITED_CODE','length','transformChangesets','location','clear','LIVESHARE_OPERATION','Latin1','clamp','_changesetSessionId','eventID','Error\x20on\x20receiving\x20event','override','Base','_onJoinRoomEvent','dispose','_decreaseWaiting','UNIVER_SLIDE','onSyncEditingCollabCursor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','univer-pro.collaboration-client.single-active-unit-service','withCredentials','prototype','onLocalMutation','UNKNOWN_CODE','fetchMiss','[FetchMissState]','selections','\x20to\x20','stringify','onTransformState','enc','permissionRejEvent','_revisionService','href','_collaborationUIEventService','hasher','collabSubmitChangesetUrl','_substituteUndoStack','key','YUUMI_UNABLE_LOAD_URL','interceptor','liveShareNewHost','getInterceptPoints','NOT_FOUND','pad','textRanges','_onRemoteACK','error','c1Prime','listCollaborators','SEND_CHANGESET_TIMEOUT','BlockCipher','_updateStatus','CHANGESET_SHOULD_RETRY','[CollaborationSessionService]','collaboration-client.local-cache-service','collaboration-client.config','3276512YjdDiZ','SNAPSHOT_INVALID_SNAPSHOT','_clearScheduledTask','_nDataBytes','indexOf','_event$','randomBytes','_onOffline','status','concat','roomInfos','NoPadding','HELLO','IDLE','hostname','apply','closeSession','algo','filter','map','appendMutation','CHANGESET_ACK','_eventService','_getLoginPath','getUnitId','crypto','LOGIN_FAILED','EvpKDF','Base64','_imageSourceCache','NOT_COLLAB','CipherParams','JOIN_ROOM_PERMISSION_DENIED','objects','getImageSourceCache','getCurrentRevOfUnit','_transformRemoteChangesetByIMECache','JOIN_ROOM_FULL','getCurrentSelections','_clearCollaborationTimeoutTimer','Hasher','ONLINE','_httpService','_members$','sendChangesetTimeout','_data','msCrypto','fetching\x20missing\x20changesets\x20from\x20','_networkConditionService','unitID','pauseCollaboration','SOCKET_FAILED','UnitSnapshot','transformSelections','MSG_FOR_ERROR','/object/','[CollaborationState]:\x20apply\x20error!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','readAsDataURL','_initRequestHeader','getSheetId','session.room-cnt-exceeds','mutations','Hex','create','objectType','every','resend','push','sin','target','UUID','_onConnectionOpen','$super','confirm','_retryCount','_checkMissing','_pendingMutations','fromCollab','exports','Pkcs7','commentUpdate$','close','add','_sendHeartbeat','finalize','getSheetBlock','encode','csRejEvent','_handler','USERS_LEAVE','call','getImage','getOwnPropertyDescriptor','onMissingChangesets','_createHandler','Failed\x20to\x20update\x20permission\x20point','_replaceFileID','UNRECOGNIZED','from','[CollaborationSessionService]:\x20socket\x20error','_remoteChangesetQueue','onTransformSelections','lib','listRoles','_invKeySchedule','telemetry\x20info\x20is\x20not\x20initialized','_waitCount','unitId','COLLAB_WEB_SOCKET_URL','_minBufferSize','_getSignURL','values','error$','_startTelemetryCollaborationNewChangeset','_unitID','ERROR_EXCEED_SIZE','6465085HbSDlz','entityInit$','\x20-\x20','/unit/','submit\x20changeset\x20error!','LICENSE_DISTRO_REJECTED','CHANGESET_REVISION_CONFILICT','origin','_collaborationSessionService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','conflict','range','People','_clearRetryConnectingTimer','onRemoteRej','HttpExport','_members','byteOffset','MD5','getLatestCsReqIdBySid','UNIVER_SHEET','_emitMembers','connection\x20error','transformUndoRedo','status$','x-univer-host','TOO_MANY_REQUESTS','roles','url','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_applyRemoteChangeset','socket\x20close','updateCollaborator','OpenSSL','[DataLoaderService]','params','_timeoutTimer','HEARTBEAT_TIMEOUT','getWorkbookSelections','getMember','updateMember','onload','patch','setShowComponents','_collaborationTimeoutTimer','AES','_getAPIPrefix','_state','/block/','38091465myzclw','abs','_socketMessageSubscription','/fetchmissing?from=','then','UNIVER_UNKNOWN','LIVESHARE_TERMINATE','members','_collabSessionService','_cipher','COMPLETION_FINISHED','YUUMI_RATE_OVER_LIMIT','awaitingChangeset','buffer','_oKey','byteLength','charAt','_status$','cfg','startsWith','__creator','fetch_missing','close$','iterations','_reverseMap','_xformMode','shouldCloseConn','format','_doCryptBlock','catch','ENSURE_SNAPSHOT_EXECUTION','session.room-permission-denied','fetchMissingChangesets','image/jpg','NO_OTHER_CLIENTS_EDITING','Utf8','_transformStack','commentUpdateEvent','getRoom','_resendWithTimeout','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','OFFLINE','POST','focused$','/universer-api/snapshot/','originalMeta','_removeRoom','LIVESHARE_REQUEST_HOST','/role','LICENSE_MAX_UNITS_EXCEEDED','_executeRemoteChangeset','localeService','_onUserJoin','requestParams','_hasher','_commandService','getFocusedUnit','_initUnitPermissionChange','univer-pro.collaboration-client-socket-service','_transformSelections','_singleActiveUnitService','keySize','/universer-api/snapshot','image/png','_sessionStatus$','_compressMutationService','[OfflineState]:\x20received\x20changeset.','HmacMD5','_isPermissionRej','INVALID_INVITE_CODE','_createInitialStateImpl','_HTTPService','1426607BDvSTQ','m2Prime','execute','createInstance','unit-cache-','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','getUnit','SUCCUSS','compute','_entities','c2Prime','state$','_instanceService','_socketService','_createHelper','getCollabEntity$','substr','sessionStatus','liveShareOperation','_acknowledgedAwaitingChangeset','_transformService','UnitEmbedded','[CollaborationUndoRedoService]','/-/object/list','NEW_CHANGESETS','AWAITING','_onFetchMissResult','_doReset','reqId','4463557kPVBFy','APPLY_PERMISSION_DENIED','/universer-api/authz','onTransformIME','getResourcesRequest','toggleOffline','onRemoteRetry','_commentUpdate$','getUnitOnRev','getRandomValues','_onUserLeave','_showConflictNotification','collaMsg','createEncryptor','APPLY_REVISION_CONFILICT','actions','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','UNIVER_PROJECT','uniscriptRunEvent','/new_changes','FETCH_MISSING','_transformStateCache','socket\x20open.','_initMergeInterceptor','OTHER_CLIENT_EDITING','editing\x20status\x20changed\x20to','not_collab','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','hasOwnProperty','bind','HttpImport','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','json','leaveEvent','blockSize','reject','encrypt','PENDING','editingUnit','_awaitingChangeset','Encryptor','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Univer','HmacSHA1','debug','_loadDoc','session.room-full','_exhaustRemoteChangesetQueue','_iv','/-/object/-/batch_allowed','AWAITING_WITH_PENDING','_syncEditingCollabCursor','\x0aAfter:\x20','_map','init','_snapshotService','onCommentUpdate','updatePermissionPoint','PSEUDO_FETCH_MISSING_RESULT','_getRedoStack','loginUrlKey','AUTHZ_URL_KEY','body','SYNCED','_scheduleCompleteTimestamp','unknown','update','join','_toggleOnline','allowed','find','duration','now','salt','_throwTelemetryCollaborationNewChangeset','message$','asObservable','_keyPriorReset','getTypeOfUnitDisposed$','_hash','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','online$','_onRemoteRejected','_telemetryInfo','_clearRedo','UNDEFINED','processBlock','/universer-api/file/{fileID}/sign-url','encryptBlock','subUnitId','onTransformRemoteChangesetByStateCache','slice','kdf','_unitInfo$','refreshPermission','pipe','unpad','MUTATION','subscribe','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_injector','_lockTransition','_key','onRemoteChangeset','_entityInit$','_toggleOffline','getMemberID','name','CONFLICT','_socket$','INVITE_CODE_ALREADY_BOUND','sigBytes','_DEC_XFORM_MODE','_roomMembers','PERMISSION_DENIED','_sessions','changesets','_transformIMECache','routeKey','_onRemoteRetry','_univerInstanceService','createDecryptor','retryConnectingInterval','[SyncedState]:\x20received\x20rejection.','UPDATE_CURSOR','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CHANGESET_REJ','action','BASE64','_waitForHeartbeatResponse','_onRemoteChangeset','requireSession','enableOfflineEditing','getConfig','_state$','_shouldReportTelemetry','getCollabEntity','emitEvent','startTime','_replayCachedMutations','LOGIN_URL_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localeService','_prevBlock','pluginName','fetchThroughInterceptors','ivSize','getCurrentUser','LOCAL_CACHE_INTERVAL','loadSheet','delete','title','APPLY_NON_SEQUENTIAL_REVISION','entries','deepClone','objectID','type','PERMISSION_REJ','forEach','random','resolve','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fromCharCode','_getSendChangesetTimeout','[OfflineState]:\x20received\x20rejection.','csShouldRetryEvent','HMAC','subject','_ENC_XFORM_MODE','onTransformRemoteChangesetByIMECache','_clearTimeoutTimer','reset','?size=','unitInfo$','_localCacheService','charCodeAt','registerHTTPInterceptor','signUrlServerUrl','&source=','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Decryptor','USERS_ENTER','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onSendChangeset','SOCKET_FAILED_RETRY','offline','incrementRevOfUnit','isArray','onMissedChangesetFetched','YUUMI_URL_COL_OUT_OF_RANGE','_telemetryService','_clearHeartbeatTimer','newCsEvent','defineProperty','_iKey','_collaborationPaused','_undoStacks','downloadEndpointUrl','copyFileMeta','_candidateSocket','_listenToNetworkCondition','next','has','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LEAVE','/universer-api/uniscript','APPLY_DUPLICATED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','method','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Could\x20not\x20dynamically\x20require\x20\x22','_change$','FileId','readyForCollab','_socket','univer-pro.collaboration-client.network-condition.service','executeCommand','toggleOnline','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','initWorkbookPermissionChange','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ERROR_IMAGE_TYPE','YUUMI_ASYNCIO_CANCELLED','_nRounds','onStateChange','[UniverCollaborationClientPlugin]','event$','LIVESHARE_FETCH_OPERATIONS','_transformUndoredo','randomUUID','snapshotServerUrl','_resendTimeout','8ZLDnLi','/universer-api/comb','sid','append','/object','RETRY_CONNECTING_MAX_COUNT','localCacheService','set','putCollaborators','LIVESHARE_NEW_HOST','PERSON','_resendTimer','size','decrypt','userID','mode','RECV','addImageSourceCache','post','_config','awaiting_with_pending','synced','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_transitionLocked','_startCollaboration','_onConflict','transformMutationsWithChangeset','_sender','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','JOINING','findIndex','onRemoteAck','createSocket','2GZdRVu','CLOSE_ROOM','ceil','_disableEditing','getAllMembers','_getDownloadEndpointURL','_fetchMissChangesets','disposeWithMe','floor','_rescheduleHeartbeat','EMAIL_HAS_BEEN_BOUND','StreamCipher','SHA1','_substituteRedoStack','UNKNOWN_CMD','data','memberID','WordArray','revision','_sendHeartbeatTimer','joinRsp','Malformed\x20UTF-8\x20data','code','INVALID_ARGUMENT','_clearUndo','toString','_socketReady','_mode','get','_configService','send','MOBILE_HAS_BEEN_BOUND','CONNECTOR_DATA_TOO_LARGE','Undefined','[CollaborationEntity]','{fileID}','_clearLocalCache','COMMENT_UPDATE','_getUndoStack','saveSnapshot','_loadSheet','deleteCollaborator','getSnapshotAPIPath','getTime','_redoStacks','compose','_keySchedule','JOIN','equals','enableSingleActiveInstanceLock','_queuedRemoteChangesets','reconnect','/collaborator','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','PY_RUNTIME_SCRIPT_ERROR','workbook','BlockCipherMode','_incrementRevisionNumber','getUnitStatus$','LICENSE_IMPORT_SIZE_EXCEEDED','OTHER_CLIENTS_EDITING','collaborators','_createSocket','_createHmacHelper','sheets','_getCtorByUniverType','_sheetTransformSelectionsService','WECHAT_HAS_BEEN_BOUND','_tryReconnect','cmd','_updateState','SNAPSHOT_HAS_BEEN_REMOVED','ERROR_IMAGE','loadOfflineData','_joinRoom','BufferedBlockAlgorithm','updatePermissionObjEvent','session.join-failed','SNAPSHOT_SERVER_URL_KEY','collaboratorID','_transformRemoteChangesetByStateCache','SUBMIT_CHANGESET_TIMEOUT','ws://127.0.0.1:8000/universer-api/comb/connect','_doFinalize','formatter','OPTIONAL','_doCreateSocket','_retryConnectingTimer','updateOfflineData','getUnitType','_onCombEvent','UNIVER_DOC','default','setCurrentUser','_onMessage','INVITE_CODE_REQUIRED','complete','words','file','YUUMI_SUBSCRIPTION_NOT_FOUND','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','DEFAULT_FILE_NAME','_append','_schedule','_updateLocalCache','rev'];_0x2c4e=function(){return _0x3071bf;};return _0x2c4e();}function Vs(){var _0x17067e=_0x225508;return ci||(ci=0x1,function(_0x37285e,_0x210599){(function(_0xd217f0,_0x5a1560,_0x283d24){_0x37285e['exports']=_0x5a1560(ie(),Ai());}(Fs,function(_0x4adfe2){var _0x3c9d8a=_0x1e04;return _0x4adfe2['pad'][_0x3c9d8a(0x38b)]={'pad':function(){},'unpad':function(){}},_0x4adfe2[_0x3c9d8a(0x373)][_0x3c9d8a(0x38b)];}));}(Qe)),Qe[_0x17067e(0x3cf)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x59986f,_0x2324e0){var _0x12afa7=_0x225508;const _0x2ffab5=_0x2324e0-_0x59986f[_0x12afa7(0x348)]%_0x2324e0,_0x56d0e2=String[_0x12afa7(0x21f)](_0x2ffab5)['repeat'](_0x2ffab5);return _0x59986f+_0x56d0e2;}function Ys(_0x543e5f,_0xe26fd3){var _0x2bf787=_0x225508;const _0x55bfaf=js[_0x2bf787(0x21c)](0x10),_0xd7f41f=Ks(_0x543e5f,0x10),_0x4a665e=ws[_0x2bf787(0x1a1)](ks[_0x2bf787(0x338)](_0xd7f41f),ri[_0x2bf787(0x338)](_0xe26fd3),{'iv':_0x55bfaf,'padding':Ws});return _0x55bfaf[_0x2bf787(0x389)](_0x4a665e['ciphertext'])[_0x2bf787(0x29f)](ri);}function qs(){var _0x46a8c2=_0x225508;const _0x90fef3=_0x11844b()['__Key__'];if(_0x90fef3){const _0x1c67bd={'time':Math['floor'](Date[_0x46a8c2(0x1c5)]()/0x3e8),'domain':location[_0x46a8c2(0x38e)]};return Ys(JSON[_0x46a8c2(0x363)](_0x1c67bd),_0x90fef3);}}var zs=Object[_0x225508(0x3dd)],Js=(_0x364c6d,_0xeff589,_0x561282,_0x1fd997)=>{var _0x118628=_0x225508;for(var _0x4e3db1=_0x1fd997>0x1?void 0x0:_0x1fd997?zs(_0xeff589,_0x561282):_0xeff589,_0x6ee5d0=_0x364c6d[_0x118628(0x348)]-0x1,_0x3afa18;_0x6ee5d0>=0x0;_0x6ee5d0--)(_0x3afa18=_0x364c6d[_0x6ee5d0])&&(_0x4e3db1=_0x3afa18(_0x4e3db1)||_0x4e3db1);return _0x4e3db1;},Xs=(_0x13deb9,_0x5f5950)=>(_0x9898fd,_0x323a31)=>_0x5f5950(_0x9898fd,_0x323a31,_0x13deb9);let at=class{constructor(_0x1ab1fd){var _0x1ba750=_0x225508;this['_httpService']=_0x1ab1fd,this[_0x1ba750(0x3bb)]();}[_0x225508(0x3bb)](){var _0x465e40=_0x225508;this[_0x465e40(0x3aa)][_0x465e40(0x22d)]({'interceptor':(_0x5c2f9b,_0x4b3b51)=>{var _0x38a2e5=_0x465e40;const _0x35d6b0=_0x5c2f9b[_0x38a2e5(0x305)],_0x3c6c3a=qs();return _0x3c6c3a&&_0x35d6b0[_0x38a2e5(0x26c)](_0x38a2e5(0x40e),_0x3c6c3a),_0x4b3b51(_0x5c2f9b);}});}};at=Js([Xs(0x0,_0x59c5a0(_0x33df68))],at);var Zs=Object[_0x225508(0x3dd)],Qs=(_0x1b70bd,_0x545a89,_0x3d3828,_0x1a9b7a)=>{var _0x540c8b=_0x225508;for(var _0x21cddf=_0x1a9b7a>0x1?void 0x0:_0x1a9b7a?Zs(_0x545a89,_0x3d3828):_0x545a89,_0x50b641=_0x1b70bd[_0x540c8b(0x348)]-0x1,_0x5d8bb4;_0x50b641>=0x0;_0x50b641--)(_0x5d8bb4=_0x1b70bd[_0x50b641])&&(_0x21cddf=_0x5d8bb4(_0x21cddf)||_0x21cddf);return _0x21cddf;},mt=(_0x17b025,_0xcf8cad)=>(_0x261cfb,_0x5081ed)=>_0xcf8cad(_0x261cfb,_0x5081ed,_0x17b025);let bt=class extends _0xbb1137{constructor(_0xb16b5e,_0x443c20,_0x5734a4){var _0xf3bcd9=_0x225508;super(),N(this,_0xf3bcd9(0x1da),new _0x25de28(null)),N(this,_0xf3bcd9(0x22a),this[_0xf3bcd9(0x1da)][_0xf3bcd9(0x1c9)]()),(this[_0xf3bcd9(0x2fe)]=_0xb16b5e,this[_0xf3bcd9(0x1b4)]=_0x443c20,this[_0xf3bcd9(0x22b)]=_0x5734a4);}async['loadUnit'](_0xc62998,_0x177346,_0x4a83cb){var _0xf3e49a=_0x225508;this[_0xf3e49a(0x1da)][_0xf3e49a(0x246)]({'unitId':_0xc62998,'type':_0x177346,'subUnitId':_0x4a83cb});let _0x46737f=null;switch(_0x177346){case Q[_0xf3e49a(0x409)]:{_0x46737f=await this[_0xf3e49a(0x2ae)](_0xc62998);break;}case Q[_0xf3e49a(0x2e1)]:{_0x46737f=await this[_0xf3e49a(0x1aa)](_0xc62998);break;}default:{this[_0xf3e49a(0x2fe)][_0xf3e49a(0x376)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x46737f;}async[_0x225508(0x2ae)](_0x4a9409){var _0x5d42e3=_0x225508,_0x232b16;let _0x5c5839=0x0;const _0x3f3778=await((_0x232b16=this[_0x5d42e3(0x22b)])==null?void 0x0:_0x232b16['loadOfflineData'](_0x4a9409));return _0x3f3778&&(_0x3f3778['awaitingChangeset']||_0x3f3778[_0x5d42e3(0x3be)][_0x5d42e3(0x348)]!==0x0)&&(_0x5c5839=_0x3f3778['rev']),_0x5c5839===0x0&&this[_0x5d42e3(0x2fe)][_0x5d42e3(0x1a9)](_0x5d42e3(0x417),_0x5d42e3(0x197)),this[_0x5d42e3(0x1b4)][_0x5d42e3(0x212)](_0x4a9409,_0x5c5839);}async[_0x225508(0x1aa)](_0x37485e){var _0x11ae20=_0x225508,_0x26c70c;let _0x334b86=0x0;const _0xf97ba1=await((_0x26c70c=this[_0x11ae20(0x22b)])==null?void 0x0:_0x26c70c[_0x11ae20(0x2cf)](_0x37485e));return _0xf97ba1&&(_0xf97ba1[_0x11ae20(0x432)]||_0xf97ba1['mutations'][_0x11ae20(0x348)]!==0x0)&&(_0x334b86=_0xf97ba1[_0x11ae20(0x2ef)]),_0x334b86===0x0&&this[_0x11ae20(0x2fe)][_0x11ae20(0x1a9)]('[DataLoaderService]',_0x11ae20(0x197)),this['_snapshotService']['loadDoc'](_0x37485e,_0x334b86);}};bt=Qs([mt(0x0,_0x4017e6),mt(0x1,_0x59c5a0(_0x10c059)),mt(0x2,_0x182985(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x28decc,_0x1f5d3f,_0x310353,_0x368f84)=>{var _0x36c1ed=_0x225508;for(var _0x2906c7=_0x368f84>0x1?void 0x0:_0x368f84?er(_0x1f5d3f,_0x310353):_0x1f5d3f,_0x3f67c7=_0x28decc[_0x36c1ed(0x348)]-0x1,_0x34bd18;_0x3f67c7>=0x0;_0x3f67c7--)(_0x34bd18=_0x28decc[_0x3f67c7])&&(_0x2906c7=_0x34bd18(_0x2906c7)||_0x2906c7);return _0x2906c7;},gt=(_0x168a57,_0xee5fed)=>(_0x10cbe0,_0x397c33)=>_0xee5fed(_0x10cbe0,_0x397c33,_0x168a57);const ir=[_0x225508(0x465),'image/jpeg',_0x225508(0x447),'image/gif','image/bmp'],nr=0x5*0x400*0x400,sr=_0x225508(0x18c),rr='/universer-api/stream/file/upload',ar=_0x225508(0x412),or=_0x225508(0x1d4);let Ot=class{constructor(_0x10a3ec,_0x44f5cf,_0x1212e6){var _0x5dbad3=_0x225508;N(this,_0x5dbad3(0x3eb),0x0),N(this,_0x5dbad3(0x250),new _0x7a0b0d()),N(this,'change$',this['_change$']),N(this,_0x5dbad3(0x39d),new Map()),(this['_httpService']=_0x10a3ec,this[_0x5dbad3(0x2a3)]=_0x44f5cf,this['_univerInstanceService']=_0x1212e6);}['setWaitCount'](_0x1ed812){var _0xb4338d=_0x225508;this['_waitCount']=_0x1ed812,this[_0xb4338d(0x250)]['next'](_0x1ed812);}[_0x225508(0x3a2)](_0x4bfe63,_0x1c99a3){var _0x135cbe=_0x225508;if(_0x1c99a3===_0x3e1698[_0x135cbe(0x1fd)]){const _0x3ff2e9=new Image();return _0x3ff2e9[_0x135cbe(0x312)]=_0x4bfe63,_0x3ff2e9;}return this[_0x135cbe(0x39d)][_0x135cbe(0x2a2)](_0x4bfe63);}[_0x225508(0x276)](_0x156913,_0x523607,_0x1c8ee7){var _0x4a22f1=_0x225508;_0x523607===_0x3e1698[_0x4a22f1(0x1fd)]||_0x1c8ee7==null||this[_0x4a22f1(0x39d)][_0x4a22f1(0x26c)](_0x156913,_0x1c8ee7);}async[_0x225508(0x3dc)](_0x1f1325){var _0x360dd2=_0x225508;try{const _0x11a565=this[_0x360dd2(0x3e1)](this[_0x360dd2(0x3ef)](),''+_0x1f1325),_0x37f4db=(await this[_0x360dd2(0x3aa)][_0x360dd2(0x2a2)](_0x11a565))[_0x360dd2(0x1bb)];if(_0x37f4db[_0x360dd2(0x376)]&&_0x37f4db[_0x360dd2(0x376)][_0x360dd2(0x29c)]===Si['OK']){const _0xb5b40=new URL(_0x37f4db['url'],this[_0x360dd2(0x28b)]())[_0x360dd2(0x29f)]();return Promise[_0x360dd2(0x21d)](_0xb5b40);}return Promise[_0x360dd2(0x1a0)](_0x37f4db[_0x360dd2(0x376)]);}catch(_0x16f6c0){return Promise[_0x360dd2(0x1a0)](_0x16f6c0);}}async['saveImage'](_0x5d53b0){var _0x4c2045=_0x225508;let _0x543f36='';if(!ir[_0x4c2045(0x32a)](_0x5d53b0['type']))return this[_0x4c2045(0x356)](),Promise[_0x4c2045(0x1a0)](new Error(_0x390909[_0x4c2045(0x25a)]));if(_0x5d53b0[_0x4c2045(0x271)]>nr)return this[_0x4c2045(0x356)](),Promise[_0x4c2045(0x1a0)](new Error(_0x390909[_0x4c2045(0x3f4)]));try{const _0x12d984=new FormData();_0x12d984[_0x4c2045(0x268)](_0x4c2045(0x2e8),_0x5d53b0);const _0x4e3965=this[_0x4c2045(0x1f5)][_0x4c2045(0x45e)](),_0x5c61d6=_0x4e3965==null?void 0x0:_0x4e3965[_0x4c2045(0x398)]();if(!_0x5c61d6)throw new Error(_0x4c2045(0x2f0));const _0x5ee338=this['_getUploadFileURL']()+_0x4c2045(0x229)+_0x5d53b0[_0x4c2045(0x271)]['toString']()+_0x4c2045(0x22f)+Ei[_0x4c2045(0x174)]+'&assign='+encodeURIComponent(_0x5c61d6),_0x5f24f3=await(await fetch(_0x5ee338,{'method':_0x4c2045(0x450),'body':_0x12d984}))[_0x4c2045(0x19d)]();if(typeof _0x5f24f3[_0x4c2045(0x251)]!=_0x4c2045(0x2f8))return this[_0x4c2045(0x356)](),Promise[_0x4c2045(0x1a0)](new Error(_0x390909[_0x4c2045(0x2ce)]));_0x543f36=_0x5f24f3[_0x4c2045(0x251)];}catch{return this[_0x4c2045(0x356)](),Promise[_0x4c2045(0x1a0)](new Error(_0x390909[_0x4c2045(0x2ce)]));}return new Promise((_0xbd0e80,_0x4faa8f)=>{var _0x36437e=_0x4c2045;const _0x2c94a4=new FileReader();_0x2c94a4[_0x36437e(0x3ba)](_0x5d53b0),_0x2c94a4[_0x36437e(0x41e)]=_0x4a6e33=>{var _0x4da21b=_0x36437e,_0x54da7f;const _0x521627=(_0x54da7f=_0x4a6e33[_0x4da21b(0x3c6)])==null?void 0x0:_0x54da7f[_0x4da21b(0x2fc)];if(_0x521627==null){this[_0x4da21b(0x356)](),_0x4faa8f(new Error(_0x390909['ERROR_IMAGE']));return;}const _0x5cc275=_0x3b2e42['generateRandomId'](0x6);_0xbd0e80({'imageId':_0x5cc275,'imageSourceType':_0x3e1698[_0x4da21b(0x3c7)],'source':_0x543f36,'base64Cache':_0x521627,'status':_0x390909[_0x4da21b(0x475)]}),this[_0x4da21b(0x356)]();};});}['_getUploadFileURL'](){var _0xd188c3=_0x225508,_0x9e3b63,_0x4a7f87;const _0x249428=this[_0xd188c3(0x2a3)][_0xd188c3(0x202)](sr),_0x142dab=this['_configService']['getConfig'](q);return(_0x4a7f87=(_0x9e3b63=_0x142dab==null?void 0x0:_0x142dab['uploadFileServerUrl'])!=null?_0x9e3b63:_0x249428)!=null?_0x4a7f87:rr;}[_0x225508(0x3ef)](){var _0x2085b2=_0x225508,_0x55a5a7,_0x3fbf7d;const _0x122137=this[_0x2085b2(0x2a3)][_0x2085b2(0x202)](ar),_0x26870d=this[_0x2085b2(0x2a3)][_0x2085b2(0x202)](q);return(_0x3fbf7d=(_0x55a5a7=_0x26870d==null?void 0x0:_0x26870d[_0x2085b2(0x22e)])!=null?_0x55a5a7:_0x122137)!=null?_0x3fbf7d:or;}[_0x225508(0x28b)](){var _0x30b7f1=_0x225508,_0x2de54d;const _0x4b650c=this[_0x30b7f1(0x2a3)]['getConfig'](q);return(_0x2de54d=_0x4b650c==null?void 0x0:_0x4b650c[_0x30b7f1(0x242)])!=null?_0x2de54d:location[_0x30b7f1(0x3fc)];}['_replaceFileID'](_0x32e403,_0x5041a7){var _0x2adbfd=_0x225508;return _0x32e403[_0x2adbfd(0x2f3)](_0x2adbfd(0x2a9),_0x5041a7);}[_0x225508(0x356)](){var _0x3f7e30=_0x225508;this['_waitCount']-=0x1,this[_0x3f7e30(0x250)][_0x3f7e30(0x246)](this[_0x3f7e30(0x3eb)]);}};Ot=tr([gt(0x0,_0x59c5a0(_0x33df68)),gt(0x1,_0x299d0c),gt(0x2,_0x59c5a0(_0x5db9d5))],Ot);var cr=Object[_0x225508(0x3dd)],hr=(_0x1f799c,_0x2433dd,_0x1003b4,_0x34bbc9)=>{for(var _0x3f0d8f=_0x34bbc9>0x1?void 0x0:_0x34bbc9?cr(_0x2433dd,_0x1003b4):_0x2433dd,_0x1fd6a8=_0x1f799c['length']-0x1,_0x2215b1;_0x1fd6a8>=0x0;_0x1fd6a8--)(_0x2215b1=_0x1f799c[_0x1fd6a8])&&(_0x3f0d8f=_0x2215b1(_0x3f0d8f)||_0x3f0d8f);return _0x3f0d8f;},hi=(_0x468352,_0x155573)=>(_0x29a2ab,_0x21a9db)=>_0x155573(_0x29a2ab,_0x21a9db,_0x468352);const _r=_0x225508(0x17e);let yt=class{constructor(_0x13e2c2,_0x5ecf51){var _0x184dc8=_0x225508;this[_0x184dc8(0x2a3)]=_0x13e2c2,this[_0x184dc8(0x46d)]=_0x5ecf51;}[_0x225508(0x30e)](){var _0x50ce63=_0x225508,_0x30664d,_0x525115;const _0x34a873=this[_0x50ce63(0x2a3)]['getConfig'](Ni),_0x3868c5=this['_configService'][_0x50ce63(0x202)](q);return(_0x525115=(_0x30664d=_0x3868c5==null?void 0x0:_0x3868c5[_0x50ce63(0x331)])!=null?_0x30664d:_0x34a873)!=null?_0x525115:_r;}async['list'](_0x27a562){var _0x3c4e87=_0x225508;const _0x4180a8=this['_getAPIPrefixPath']()+_0x3c4e87(0x2ba);return{'list':[{'title':_0x3c4e87(0x401),'mentions':(await this[_0x3c4e87(0x46d)][_0x3c4e87(0x2a2)](_0x4180a8,{'params':{'objectID':_0x27a562[_0x3c4e87(0x3ec)],'unitID':_0x27a562['unitId']}}))[_0x3c4e87(0x1bb)][_0x3c4e87(0x2c3)][_0x3c4e87(0x393)](_0x1f4f1f=>({'objectId':_0x1f4f1f['id'],'name':_0x1f4f1f[_0x3c4e87(0x224)][_0x3c4e87(0x1e8)],'metadata':{'icon':_0x1f4f1f[_0x3c4e87(0x224)][_0x3c4e87(0x344)]},'label':_0x1f4f1f[_0x3c4e87(0x224)][_0x3c4e87(0x1e8)],'objectType':_0x276f56['PERSON']})),'metadata':{},'type':_0x276f56[_0x3c4e87(0x26f)]}]};}};yt=hr([hi(0x0,_0x59c5a0(_0x299d0c)),hi(0x1,_0x59c5a0(_0x33df68))],yt);var lr=Object[_0x225508(0x3dd)],ur=(_0x52c483,_0x49b94f,_0x3ec15a,_0x35f08f)=>{for(var _0x16ef74=_0x35f08f>0x1?void 0x0:_0x35f08f?lr(_0x49b94f,_0x3ec15a):_0x49b94f,_0xdec95b=_0x52c483['length']-0x1,_0x48b56a;_0xdec95b>=0x0;_0xdec95b--)(_0x48b56a=_0x52c483[_0xdec95b])&&(_0x16ef74=_0x48b56a(_0x16ef74)||_0x16ef74);return _0x16ef74;},we=(_0x915e0c,_0x3fc376)=>(_0x178c3f,_0x4568a1)=>_0x3fc376(_0x178c3f,_0x4568a1,_0x915e0c);let ot=class extends _0xbb1137{constructor(_0x5c4b23,_0x4122dc,_0x78ec7,_0x48a70b,_0x248a38){var _0x3cf3d9=_0x225508;super(),this[_0x3cf3d9(0x1e1)]=_0x5c4b23,this[_0x3cf3d9(0x1f5)]=_0x4122dc,this[_0x3cf3d9(0x342)]=_0x78ec7,this[_0x3cf3d9(0x3fd)]=_0x48a70b,this[_0x3cf3d9(0x369)]=_0x248a38,this[_0x3cf3d9(0x45f)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x36ee84=_0x225508;const _0x1c209a=async _0x14b00d=>{var _0x599540=_0x1e04;(await this['_collaborationSessionService'][_0x599540(0x200)](_0x14b00d))[_0x599540(0x25f)]['pipe'](_0x3495eb(_0x3a4c5d=>_0x3a4c5d[_0x599540(0x350)]===_0x3c1a33['SHOULD_CLOSE_CONN']),_0x3ef981(this[_0x599540(0x33d)]))[_0x599540(0x1df)](_0x219d03=>{var _0xe2516a=_0x599540;const _0x39a234=_0x219d03,{reason:_0x5861a0}=_0x39a234[_0xe2516a(0x295)];this[_0xe2516a(0x369)][_0xe2516a(0x206)]({'id':re[_0xe2516a(0x287)],'data':_0x5861a0}),this[_0xe2516a(0x342)]['updatePermissionPoint'](new _0x2340c5(_0x14b00d)['id'],!0x1),this[_0xe2516a(0x3fd)][_0xe2516a(0x390)](_0x14b00d);});};_0x3e5ef6(this[_0x36ee84(0x1f5)][_0x36ee84(0x302)](_0x1a0c97[_0x36ee84(0x409)]),this[_0x36ee84(0x1f5)][_0x36ee84(0x302)](_0x1a0c97[_0x36ee84(0x2e1)]))[_0x36ee84(0x1dc)](_0x4cad8a(_0x44c429=>_0x44c429['getUnitId']()),_0x3495eb(_0x2403bf=>!_0x59d445(_0x2403bf)),_0x3ef981(this['dispose$']))[_0x36ee84(0x1df)](_0x13368f=>{_0x1c209a(_0x13368f);});}[_0x225508(0x45f)](){var _0x4ec6cd=_0x225508;const _0x195327=async _0x51eae6=>{var _0x28e1aa=_0x1e04;const _0x16d1ea=await this[_0x28e1aa(0x3fd)][_0x28e1aa(0x200)](_0x51eae6),_0x373692=this[_0x28e1aa(0x1e1)]['get'](_0x1f0098);_0x16d1ea[_0x28e1aa(0x25f)][_0x28e1aa(0x1dc)](_0x3495eb(_0x2361c2=>_0x2361c2[_0x28e1aa(0x350)]===_0x3c1a33['UPDATE_PERMISSION_OBJ']),_0x3ef981(this[_0x28e1aa(0x33d)]))[_0x28e1aa(0x1df)](_0x9ad709=>{var _0x2b3803=_0x28e1aa;const _0x24b131=_0x9ad709,{objectId:_0x5f0dd1}=_0x24b131[_0x2b3803(0x295)];_0x5f0dd1===_0x51eae6?_0x373692[_0x2b3803(0x258)](_0x51eae6):_0x373692[_0x2b3803(0x1db)](_0x51eae6,_0x5f0dd1);});};_0x3e5ef6(this[_0x4ec6cd(0x1f5)]['getTypeOfUnitAdded$'](_0x1a0c97[_0x4ec6cd(0x409)]))[_0x4ec6cd(0x1dc)](_0x4cad8a(_0xd0f827=>_0xd0f827['getUnitId']()),_0x3495eb(_0x87e83b=>!_0x59d445(_0x87e83b)),_0x3ef981(this[_0x4ec6cd(0x33d)]))[_0x4ec6cd(0x1df)](_0x17d6a2=>{_0x195327(_0x17d6a2);});}};ot=ur([we(0x0,_0x59c5a0(_0x1f43c7)),we(0x1,_0x5db9d5),we(0x2,_0x52947d),we(0x3,_0x59c5a0(xe)),we(0x4,_0x59c5a0(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x1076ae,_0x56b760,_0x1e46e7,_0x130753)=>{var _0x1589fa=_0x225508;for(var _0x107ca6=_0x130753>0x1?void 0x0:_0x130753?dr(_0x56b760,_0x1e46e7):_0x56b760,_0xb912a1=_0x1076ae[_0x1589fa(0x348)]-0x1,_0x235b65;_0xb912a1>=0x0;_0xb912a1--)(_0x235b65=_0x1076ae[_0xb912a1])&&(_0x107ca6=_0x235b65(_0x107ca6)||_0x107ca6);return _0x107ca6;},_i=(_0x210cb1,_0x3b33a3)=>(_0x1dc23c,_0x393897)=>_0x3b33a3(_0x1dc23c,_0x393897,_0x210cb1);let Nt=class{constructor(_0x8a3080,_0x4fade4){var _0x42564a=_0x225508;this[_0x42564a(0x2a3)]=_0x8a3080,this[_0x42564a(0x3aa)]=_0x4fade4;}async[_0x225508(0x184)](_0xe1df6c,_0x39c3cd){var _0x4e0299=_0x225508,_0x5f4ddf;const {unitID:_0x2111b8,type:_0x24e7aa,revision:_0x3a8d93=0x0}=_0x39c3cd,_0x1f7236=this[_0x4e0299(0x2b0)]()+'/'+_0x24e7aa+_0x4e0299(0x3f8)+_0x2111b8+_0x4e0299(0x329)+_0x3a8d93,_0x571d43=(await this[_0x4e0299(0x3aa)][_0x4e0299(0x2a2)](_0x1f7236))[_0x4e0299(0x1bb)],_0x211512=(_0x5f4ddf=_0x571d43['snapshot'])==null?void 0x0:_0x5f4ddf[_0x4e0299(0x2bd)];if(_0x211512){const _0x3590d0=_0x211512==null?void 0x0:_0x211512[_0x4e0299(0x453)],_0x1ad586=_0x37d4f5[_0x4e0299(0x3d7)](_0x1f368d(_0x3590d0));_0x211512[_0x4e0299(0x453)]=_0x1ad586,Object[_0x4e0299(0x216)](_0x211512[_0x4e0299(0x2c6)])['forEach'](([,_0x34a96c])=>{var _0x1fe0b2=_0x4e0299;const _0x15dba5=_0x34a96c[_0x1fe0b2(0x453)],_0x2703ba=_0x37d4f5['encode'](_0x1f368d(_0x15dba5));_0x34a96c[_0x1fe0b2(0x453)]=_0x2703ba;});}return _0x571d43;}async[_0x225508(0x3d6)](_0x25e3e7,_0x5d15e9){var _0x3351e3=_0x225508;const {unitID:_0x35cd38,type:_0x32a0fa,blockID:_0x4c2cdc}=_0x5d15e9,_0x2917a7=this[_0x3351e3(0x423)]()+'/'+_0x32a0fa+_0x3351e3(0x3f8)+_0x35cd38+_0x3351e3(0x425)+_0x4c2cdc;return(await this['_httpService'][_0x3351e3(0x2a2)](_0x2917a7))[_0x3351e3(0x1bb)];}async['getDeserializedSheetBlock'](_0x1d7970,_0x285e84){var _0x8a809b=_0x225508;const {unitID:_0x310b53,type:_0x6e228f,blockID:_0x194fd6}=_0x285e84,_0x306f55=this['_getAPIPrefix']()+_0x8a809b(0x425)+_0x6e228f+_0x8a809b(0x3f8)+_0x310b53+_0x8a809b(0x425)+_0x194fd6;return(await this['_httpService'][_0x8a809b(0x2a2)](_0x306f55))[_0x8a809b(0x1bb)];}async[_0x225508(0x446)](_0x4e4f88,_0x3027d2){var _0x174cfd=_0x225508;const {unitID:_0x2dc7df,type:_0x5dccef,from:_0x5dda52,to:_0x1e2e1b}=_0x3027d2,_0x416c01=this[_0x174cfd(0x423)]()+'/'+_0x5dccef+_0x174cfd(0x3f8)+_0x2dc7df+_0x174cfd(0x429)+_0x5dda52+'&to='+_0x1e2e1b;return(await this[_0x174cfd(0x3aa)][_0x174cfd(0x2a2)](_0x416c01))['body'];}[_0x225508(0x2b0)](){var _0x4ca86a=_0x225508,_0x2efe3d;return(_0x2efe3d=this[_0x4ca86a(0x2a3)][_0x4ca86a(0x202)](Sn))!=null?_0x2efe3d:this[_0x4ca86a(0x423)]();}['_getAPIPrefix'](){var _0x411dbc=_0x225508,_0x977c87,_0x11d42d;const _0x1c0bdb=this[_0x411dbc(0x2a3)]['getConfig'](mn),_0x57dec3=this['_configService'][_0x411dbc(0x202)](q);return(_0x11d42d=(_0x977c87=_0x57dec3==null?void 0x0:_0x57dec3[_0x411dbc(0x263)])!=null?_0x977c87:_0x1c0bdb)!=null?_0x11d42d:gn;}async[_0x225508(0x180)](_0x8267ab,_0x32cfe4){var _0x4b25f5=_0x225508;const _0xa2cf8b=_0x4b25f5(0x452)+_0x32cfe4[_0x4b25f5(0x219)]+_0x4b25f5(0x3f8)+_0x32cfe4[_0x4b25f5(0x3b1)]+'/resources';return(await this['_httpService'][_0x4b25f5(0x2a2)](_0xa2cf8b,{'params':{'resourceId':JSON['stringify'](_0x32cfe4[_0x4b25f5(0x304)])}}))[_0x4b25f5(0x1bb)];}[_0x225508(0x2ad)](){var _0x342369=_0x225508;throw new Error(_0x342369(0x21e));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x225508(0x243)](){var _0x578a31=_0x225508;throw new Error(_0x578a31(0x21e));}[_0x225508(0x408)](){var _0x1f4f82=_0x225508;throw new Error(_0x1f4f82(0x21e));}};Nt=fr([_i(0x0,_0x299d0c),_i(0x1,_0x59c5a0(_0x33df68))],Nt);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x21bccd,_0x4e25ee,_0x43e693,_0x312fe1)=>{for(var _0x442abe=_0x312fe1>0x1?void 0x0:_0x312fe1?vr(_0x4e25ee,_0x43e693):_0x4e25ee,_0x459231=_0x21bccd['length']-0x1,_0xba581;_0x459231>=0x0;_0x459231--)(_0xba581=_0x21bccd[_0x459231])&&(_0x442abe=_0xba581(_0x442abe)||_0x442abe);return _0x442abe;},Pe=(_0x43631d,_0x26d0ea)=>(_0x147595,_0x2c3e84)=>_0x26d0ea(_0x147595,_0x2c3e84,_0x43631d);let Dt=class extends _0x39d871{constructor(_0x47858e,_0x4c260a,_0x2bb136,_0x424fe2,_0x38711b){var _0x314cf0=_0x225508;super(_0x47858e,_0x4c260a,_0x2bb136),this[_0x314cf0(0x173)]=_0x424fe2,this[_0x314cf0(0x2fe)]=_0x38711b;}[_0x225508(0x40c)](_0x381e10,_0x186043){var _0x506074=_0x225508;const _0x1c6451=this[_0x506074(0x2ac)](_0x381e10);if(_0x1c6451)try{const _0x4196cb=this[_0x506074(0x44a)](_0x1c6451,_0x186043);this[_0x506074(0x36c)](_0x381e10,_0x4196cb);}catch(_0x403a34){this[_0x506074(0x2fe)][_0x506074(0x376)](_0x506074(0x175),_0x403a34),this['_clearUndo'](_0x381e10);}const _0x31c4df=this['_getRedoStack'](_0x381e10);if(_0x31c4df)try{const _0x13cb31=this[_0x506074(0x44a)](_0x31c4df,_0x186043);this[_0x506074(0x293)](_0x381e10,_0x13cb31);}catch(_0x27e36d){this['_logService'][_0x506074(0x376)](_0x27e36d),this[_0x506074(0x1d1)](_0x381e10);}}[_0x225508(0x29e)](_0x163b8b){var _0x19d212=_0x225508;const _0x575a23=this['_getUndoStack'](_0x163b8b);_0x575a23&&(_0x575a23[_0x19d212(0x348)]=0x0,this[_0x19d212(0x37b)]());}[_0x225508(0x1d1)](_0x427bf0){var _0xf972e1=_0x225508;const _0x8f9b6e=this[_0xf972e1(0x1b8)](_0x427bf0);_0x8f9b6e&&(_0x8f9b6e['length']=0x0,this[_0xf972e1(0x37b)]());}[_0x225508(0x36c)](_0x2147c1,_0x1d3650){var _0x227c90=_0x225508;this[_0x227c90(0x241)]['set'](_0x2147c1,_0x1d3650),this[_0x227c90(0x37b)]();}['_substituteRedoStack'](_0x15cee0,_0x12afcc){var _0x19a8b4=_0x225508;this[_0x19a8b4(0x2b2)][_0x19a8b4(0x26c)](_0x15cee0,_0x12afcc),this['_updateStatus']();}[_0x225508(0x44a)](_0x18c262,_0x1abadf){var _0x517391=_0x225508;const _0x2ecece=[];let _0x2537de=_0x1abadf,_0x385cab=_0x1abadf;for(let _0x1545ed=_0x18c262[_0x517391(0x348)]-0x1;_0x1545ed>=0x0;_0x1545ed--){const {unitID:_0x397789,undoMutations:_0x5a3c52,redoMutations:_0x2a8df6}=_0x18c262[_0x1545ed],_0x5a7e63=this['_transformService']['transformMutationsWithChangeset'](_0x2537de,_0x5a3c52),_0x2bf85a=this['_transformService'][_0x517391(0x27f)](_0x385cab,_0x2a8df6);if(_0x1492ce(_0x5a7e63)||_0x1492ce(_0x2bf85a)){this[_0x517391(0x2fe)][_0x517391(0x376)]('[CollaborationUndoRedoService]',_0x517391(0x2f1),_0x5a7e63,_0x2bf85a);break;}_0x2537de=_0x5a7e63[_0x517391(0x377)],_0x385cab=_0x2bf85a[_0x517391(0x377)],_0x2ecece[_0x517391(0x3c4)]({'unitID':_0x397789,'undoMutations':_0x5a7e63['m2Prime'],'redoMutations':_0x2bf85a[_0x517391(0x46f)]});}return _0x2ecece['reverse']();}};Dt=pr([Pe(0x0,_0x5db9d5),Pe(0x1,_0x171c01),Pe(0x2,_0xf8639d),Pe(0x3,_0x4832d4),Pe(0x4,_0x4017e6)],Dt);var mr=Object[_0x225508(0x23e)],gr=Object[_0x225508(0x3dd)],Sr=(_0x1573cb,_0x419078,_0x2dd4d1)=>_0x419078 in _0x1573cb?mr(_0x1573cb,_0x419078,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2dd4d1}):_0x1573cb[_0x419078]=_0x2dd4d1,Er=(_0x468649,_0xbc49cd,_0x576b0f,_0x18e74a)=>{var _0x1939ce=_0x225508;for(var _0x729b25=_0x18e74a>0x1?void 0x0:_0x18e74a?gr(_0xbc49cd,_0x576b0f):_0xbc49cd,_0x3a6345=_0x468649[_0x1939ce(0x348)]-0x1,_0x177a0d;_0x3a6345>=0x0;_0x3a6345--)(_0x177a0d=_0x468649[_0x3a6345])&&(_0x729b25=_0x177a0d(_0x729b25)||_0x729b25);return _0x729b25;},St=(_0x592e8a,_0x2cb54f)=>(_0x20a1f6,_0x26d215)=>_0x2cb54f(_0x20a1f6,_0x26d215,_0x592e8a),Ir=(_0x247ec2,_0x7523a1,_0x4ced50)=>Sr(_0x247ec2,_0x7523a1+'',_0x4ced50);const Tr=_0x225508(0x321);let Ut=class extends _0x6cabb{constructor(_0x515624,_0x3c018a,_0x5dda7f,_0x56db58){var _0x256812=_0x225508;super(),N(this,_0x256812(0x278)),(this['_logService']=_0x3c018a,this[_0x256812(0x1e1)]=_0x5dda7f,this[_0x256812(0x2a3)]=_0x56db58);const {..._0x14d1b2}=_0x8436fc({},wn,_0x515624);if(!_0x14d1b2['socketService'])throw new Error(_0x256812(0x257));this[_0x256812(0x278)]=_0x14d1b2,this[_0x256812(0x2a3)]['setConfig'](q,_0x14d1b2);}[_0x225508(0x313)](){var _0x5addd1=_0x225508;this['_registerDependencies'](),this[_0x5addd1(0x339)]();}['_registerDependencies'](){var _0x36d39d=_0x225508,_0xbfc2f0,_0x20768d;this[_0x36d39d(0x1e1)][_0x36d39d(0x247)](_0x315796)&&this['_logService'][_0x36d39d(0x376)](_0x36d39d(0x25e),_0x36d39d(0x3fe));const _0x3e0720=_0x28d45e([[_0x315796,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x36d39d(0x278)]['socketService']}],[_0x36ae02,{'useClass':Nt}],[_0x44cc2c,{'useClass':Rt}],[_0x499c3e,{'useClass':Ot}],[_0x4b4db4,{'useClass':yt}],[st],[Ct]],(_0xbfc2f0=this[_0x36d39d(0x278)])==null?void 0x0:_0xbfc2f0[_0x36d39d(0x352)]);if(!((_0x20768d=this['_config'])!=null&&_0x20768d[_0x36d39d(0x2b7)])){const _0x42fd2c=_0x3e0720[_0x36d39d(0x283)](([_0x6214f5])=>_0x6214f5===ht);_0x42fd2c!==-0x1&&_0x3e0720['splice'](_0x42fd2c,0x1);}_0x53b829(this['_injector'],_0x3e0720);}[_0x225508(0x339)](){var _0x5e4df2=_0x225508,_0x4f37d8,_0x216ba0,_0x1b25a6;this[_0x5e4df2(0x1e1)][_0x5e4df2(0x2a2)](_0x33df68)[_0x5e4df2(0x22d)]({'priority':0x14,'interceptor':_0x34e59f({'maxParallel':0x6})}),(_0x4f37d8=this[_0x5e4df2(0x278)])!=null&&_0x4f37d8[_0x5e4df2(0x201)]||(_0x216ba0=this['_injector'][_0x5e4df2(0x2a2)](J,_0x2fb8ba[_0x5e4df2(0x2db)]))==null||_0x216ba0['disableLocalCache'](),(_0x1b25a6=this[_0x5e4df2(0x278)])!=null&&_0x1b25a6[_0x5e4df2(0x326)]&&_0x1cc1f7(this['_injector'],[[rt]]),_0x1cc1f7(this[_0x5e4df2(0x1e1)],[[at],[st],[ot]]);}};Ir(Ut,_0x225508(0x20d),Tr),Ut=Er([_0x10a9dd(_0x4bb8dc,_0x4bf2bc),St(0x1,_0x4017e6),St(0x2,_0x59c5a0(_0x1f43c7)),St(0x3,_0x299d0c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|