@univerjs-pro/collaboration-client 0.5.0-nightly.202411111606 → 0.5.0-nightly.202411121606
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/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/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/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/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/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/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 +16 -16
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x18be96=_0x3fdc;(function(_0x58b1f0,_0x1e1bd4){const _0x4b4b31=_0x3fdc,_0x3f82ca=_0x58b1f0();while(!![]){try{const _0x44438a=parseInt(_0x4b4b31(0x232))/0x1+-parseInt(_0x4b4b31(0x502))/0x2+parseInt(_0x4b4b31(0x1c2))/0x3*(parseInt(_0x4b4b31(0x344))/0x4)+-parseInt(_0x4b4b31(0x3bf))/0x5+-parseInt(_0x4b4b31(0x35f))/0x6+-parseInt(_0x4b4b31(0x50f))/0x7+parseInt(_0x4b4b31(0x363))/0x8;if(_0x44438a===_0x1e1bd4)break;else _0x3f82ca['push'](_0x3f82ca['shift']());}catch(_0x14fa7e){_0x3f82ca['push'](_0x3f82ca['shift']());}}}(_0x5e1d,0xd3c91));var qi=Object[_0x18be96(0x2b6)],Xi=(_0x23850a,_0x410812,_0x8a636a)=>_0x410812 in _0x23850a?qi(_0x23850a,_0x410812,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8a636a}):_0x23850a[_0x410812]=_0x8a636a,g=(_0x5bfbbd,_0xdadeb6,_0x5f08ea)=>Xi(_0x5bfbbd,typeof _0xdadeb6!=_0x18be96(0x460)?_0xdadeb6+'':_0xdadeb6,_0x5f08ea);import{createIdentifier as _0x48646b,Inject as _0x5a6d6a,Disposable as _0x5689e0,DisposableCollection as _0x15f4b9,toDisposable as _0x186f86,IConfigService as _0x38b553,ILogService as _0x18037c,UserManagerService as _0x2f5018,UniverInstanceType as _0xaaf3fc,IUniverInstanceService as _0x1f1cc4,LocaleService as _0x14cd71,Optional as _0x1ec62d,RxDisposable as _0x2a7a1c,Injector as _0x5081af,Tools as _0x3c4730,ILocalStorageService as _0x17273f,Rectangle as _0x41e881,ICommandService as _0x1078f7,DOC_RANGE_TYPE as _0x2aeffc,JSONX as _0x553604,CommandType as _0xe820e2,IPermissionService as _0x2d238b,IUndoRedoService as _0x1cae06,sequenceExecute as _0x4661c1,debounce as _0x1b4769,COLORS as _0x4647e4,ColorKit as _0xdd0748,ThemeService as _0x1ebfe5,fromEventSubject as _0x10f4dd,useDependency as _0x46987e,connectInjector as _0x50a108,Workbook as _0x2eae4c,isInternalEditorID as _0x3db32f,LocalUndoRedoService as _0x287ad6,IContextService as _0x57f922,DependentOn as _0x2779b1,Plugin as _0x198763,touchDependencies as _0x207b00,IAuthzIoService as _0x278fc5,registerDependencies as _0x4af9b2,mergeOverrideWithDependencies as _0x2e0120}from'@univerjs/core';import{Subject as _0x3c35ab,merge as _0xb29ff3,takeUntil as _0x224c08,BehaviorSubject as _0x398285,distinctUntilChanged as _0x577349,fromEvent as _0x11a751,ReplaySubject as _0x4c5d09,take as _0x1ea4cd,map as _0x3deca5,shareReplay as _0x5d8c15,of as _0x1aa3f9,debounceTime as _0x1bb1f9,filter as _0x121cc6,switchMap as _0x303958,combineLatest as _0x3fabbe,concatMap as _0x59d5f3,mapTo as _0x1714ea}from'rxjs';import{map as _0x4c2e7e,take as _0x3769a3,filter as _0x25082a,delay as _0x5aa0ee,throttleTime as _0x1f9830,takeUntil as _0x2dcb0f,switchMap as _0xcdbf9e}from'rxjs/operators';import{MessageType as _0x370e57,Tooltip as _0x1b3e8f}from'@univerjs/design';import{IBeforeCloseService as _0x35c551,IMessageService as _0x1f110a,INotificationService as _0x59b2b5,useObservable as _0x2dbeaa,BuiltInUIPart as _0x18155e,IUIPartsService as _0xdf3ca2}from'@univerjs/ui';import{HTTPService as _0x2de674,WebSocketService as _0x4faa1d,MergeInterceptorFactory as _0x4e30d3,HTTPRequest as _0x46bc61,UniverNetworkPlugin as _0x54765b,ThresholdInterceptorFactory as _0x3851be}from'@univerjs/network';import{CollaborationEvent as _0x4757a2,parseChangesetToProtocol as _0x42983b,ISnapshotServerService as _0x40dc08,isTransformMutationFailure as _0x55ec7f,isTransformMutationsWithChangesetSuccess as _0x2a5aee,ITransformService as _0x56124f,RevisionService as _0x4839c7,mapDocumentTypeToUniverType as _0xb5b885,isTransformChangesetsSuccess as _0x131d97,CompressMutationService as _0x35b7e5,parseProtocolChangeset as _0x2b8409,SnapshotService as _0x2a3951,textEncoder as _0x3212eb,b64DecodeUnicode as _0x1d0aa5,isTransformMutationsWithChangesetFailure as _0x2c12e7,UniverCollaborationPlugin as _0x597e73}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x38a637}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x2a9d40,DocStateChangeManagerService as _0x388e27,NodePositionConvertToCursor as _0x1b02ad,NodePositionConvertToRectRange as _0x42092a,TEXT_RANGE_LAYER_INDEX as _0x5a02c3,SetDocZoomRatioOperation as _0x5dda65}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x23ad72,SetSelectionsOperation as _0xfb1397,InsertSheetMutation as _0x2c56aa,EmptyMutation as _0x2f7f85,WorkbookEditablePermission as _0x146322,RefRangeService as _0x1226ee,EffectRefRangId as _0x378df7,handleIRemoveRow as _0x47e29e,handleIRemoveCol as _0x55b1c8,handleMoveRange as _0x5a0bc9,handleInsertRow as _0x41c872,handleInsertRangeMoveRight as _0x36b3a5,handleInsertRangeMoveDown as _0x2d0c21,handleInsertCol as _0x3185fb,handleDeleteRangeMoveUp as _0x19eb2d,handleDeleteRangeMoveLeft as _0x16699f,runRefRangeMutations as _0x14ffc2,SetWorksheetActivateCommand as _0x27e013}from'@univerjs/sheets';import{IRenderManagerService as _0x8e85eb,Shape as _0x1e847a,Rect as _0x329a57,getColor as _0x745fb0,RegularPolygon as _0x1bf31a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x298d7e,Vector2 as _0x47e690}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5b2f3a,RichTextEditingMutation as _0x35bc3d,SetTextSelectionsOperation as _0x5bd696,DocSkeletonManagerService as _0x58cac6}from'@univerjs/docs';import{ImageSourceType as _0x35ab90,ImageUploadStatusType as _0xd2c84e,IImageIoService as _0x373eb2}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x39ba31,serializeRangeWithSheet as _0x52c77c}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x220b93,VIEWPORT_KEY as _0x2b24a1,getCoordByCell as _0x3967c6,getSheetObject as _0x18d796,SheetPermissionInitController as _0x11df93}from'@univerjs/sheets-ui';import _0x5cd23e,{forwardRef as _0x1edf8b,useRef as _0x1a3d0f,createElement as _0x2d32de,useCallback as _0x5af290}from'react';import{IRemoteInstanceService as _0x2dcb0a}from'@univerjs/rpc';const cr=_0x18be96(0x17c),hr=_0x18be96(0x2ee),lr='SNAPSHOT_URL_KEY',Xc='SEND_CHANGESET_TIMEOUT',_r=0x7d0,ur='COLLAB_WEB_SOCKET_URL',dr=_0x18be96(0x37f),fr=_0x18be96(0x1c1),vr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,mr=0x4e20,pr='RETRY_CONNECTING_MAX_COUNT',gr=0x3,Sr=_0x18be96(0x3af),Ir=0x3e8,Cr='COLLAB_SUBMIT_CHANGESET_URL',Er=_0x18be96(0x356),br='LOGIN_URL_KEY',Tr='/universer-api/oidc/authpage';var Ri=(_0x3bae53=>(_0x3bae53[_0x3bae53[_0x18be96(0x44a)]=0x0]='UNDEFINED',_0x3bae53[_0x3bae53['OK']=0x1]='OK',_0x3bae53[_0x3bae53[_0x18be96(0x152)]=0x2]=_0x18be96(0x152),_0x3bae53[_0x3bae53[_0x18be96(0x40d)]=0x3]=_0x18be96(0x40d),_0x3bae53[_0x3bae53[_0x18be96(0x3ff)]=0x4]=_0x18be96(0x3ff),_0x3bae53[_0x3bae53[_0x18be96(0x474)]=0x5]=_0x18be96(0x474),_0x3bae53[_0x3bae53[_0x18be96(0x136)]=0x6]=_0x18be96(0x136),_0x3bae53[_0x3bae53['INVALID_ARGUMENT']=0x7]=_0x18be96(0x521),_0x3bae53[_0x3bae53[_0x18be96(0x437)]=0x8]=_0x18be96(0x437),_0x3bae53[_0x3bae53[_0x18be96(0x3d9)]=0x9]='COMPLETION_FINISHED',_0x3bae53[_0x3bae53['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x18be96(0x482),_0x3bae53[_0x3bae53[_0x18be96(0x4b1)]=0x1771]=_0x18be96(0x4b1),_0x3bae53[_0x3bae53['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3bae53[_0x3bae53[_0x18be96(0x352)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3bae53[_0x3bae53[_0x18be96(0x2a2)]=0x1b59]=_0x18be96(0x2a2),_0x3bae53[_0x3bae53[_0x18be96(0x3bb)]=0x1b5a]=_0x18be96(0x3bb),_0x3bae53[_0x3bae53[_0x18be96(0x157)]=0x1b5b]=_0x18be96(0x157),_0x3bae53[_0x3bae53[_0x18be96(0x48b)]=0x1b5c]=_0x18be96(0x48b),_0x3bae53[_0x3bae53[_0x18be96(0x2c2)]=0x1b5d]=_0x18be96(0x2c2),_0x3bae53[_0x3bae53[_0x18be96(0x265)]=0x1f41]=_0x18be96(0x265),_0x3bae53[_0x3bae53['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x18be96(0x2bf),_0x3bae53[_0x3bae53['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x18be96(0x374),_0x3bae53[_0x3bae53[_0x18be96(0x45d)]=0x232b]=_0x18be96(0x45d),_0x3bae53[_0x3bae53[_0x18be96(0x260)]=0x232c]=_0x18be96(0x260),_0x3bae53[_0x3bae53[_0x18be96(0x335)]=0x232d]=_0x18be96(0x335),_0x3bae53[_0x3bae53[_0x18be96(0x2e1)]=0x2711]=_0x18be96(0x2e1),_0x3bae53[_0x3bae53[_0x18be96(0x224)]=0x2712]=_0x18be96(0x224),_0x3bae53[_0x3bae53['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3bae53[_0x3bae53['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x18be96(0x2c6),_0x3bae53[_0x3bae53[_0x18be96(0x46e)]=-0x1]=_0x18be96(0x46e),_0x3bae53))(Ri||{}),ce=(_0x41f492=>(_0x41f492[_0x41f492[_0x18be96(0x4ac)]=0x0]='UNIVER_UNKNOWN',_0x41f492[_0x41f492['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x41f492[_0x41f492[_0x18be96(0x1cd)]=0x2]=_0x18be96(0x1cd),_0x41f492[_0x41f492[_0x18be96(0x3ca)]=0x3]='UNIVER_SLIDE',_0x41f492[_0x41f492[_0x18be96(0x49e)]=0x4]='UNIVER_PROJECT',_0x41f492[_0x41f492[_0x18be96(0x46e)]=-0x1]=_0x18be96(0x46e),_0x41f492))(ce||{}),W=(_0x1d20a7=>(_0x1d20a7[_0x1d20a7['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x1d20a7[_0x1d20a7[_0x18be96(0x2b9)]=0x1]=_0x18be96(0x2b9),_0x1d20a7[_0x1d20a7[_0x18be96(0x2b5)]=0x2]=_0x18be96(0x2b5),_0x1d20a7[_0x1d20a7['LEAVE']=0x3]='LEAVE',_0x1d20a7[_0x1d20a7[_0x18be96(0x2f4)]=0x4]=_0x18be96(0x2f4),_0x1d20a7[_0x1d20a7['HEARTBEAT']=0x5]='HEARTBEAT',_0x1d20a7[_0x1d20a7['RECV']=0x6]='RECV',_0x1d20a7[_0x1d20a7[_0x18be96(0x46e)]=-0x1]=_0x18be96(0x46e),_0x1d20a7))(W||{}),Is=(_0x589279=>(_0x589279[_0x589279[_0x18be96(0x257)]=0x0]=_0x18be96(0x257),_0x589279[_0x589279['OK']=0x1]='OK',_0x589279[_0x589279['FAIL']=0x2]='FAIL',_0x589279[_0x589279['UNRECOGNIZED']=-0x1]=_0x18be96(0x46e),_0x589279))(Is||{}),yi=(_0x1dc1b2=>(_0x1dc1b2[_0x1dc1b2[_0x18be96(0x376)]=0x0]=_0x18be96(0x376),_0x1dc1b2[_0x1dc1b2[_0x18be96(0x4df)]=0x1]=_0x18be96(0x4df),_0x1dc1b2[_0x1dc1b2[_0x18be96(0x1e5)]=0x2]=_0x18be96(0x1e5),_0x1dc1b2[_0x1dc1b2[_0x18be96(0x303)]=0x3]=_0x18be96(0x303),_0x1dc1b2[_0x1dc1b2[_0x18be96(0x3ea)]=0x4]=_0x18be96(0x3ea),_0x1dc1b2[_0x1dc1b2['UNRECOGNIZED']=-0x1]=_0x18be96(0x46e),_0x1dc1b2))(yi||{});const ie=_0x18be96(0x296),Rr={};function yr(_0x315b09){const _0x3358a3=_0x18be96;var _0x1f15b6,_0x3388bb,_0x5240b7,_0x39e7cd,_0x147f56;const _0x26cdb9=_0x315b09['data'],_0x22690d=JSON[_0x3358a3(0x3ef)](_0x26cdb9);switch(_0x22690d[_0x3358a3(0x32a)]){case W[_0x3358a3(0x223)]:case W[_0x3358a3(0x2b9)]:{const _0x4f1720=_0x22690d[_0x3358a3(0x195)];return{..._0x22690d,'data':_0x4f1720,'cmd':_0x22690d[_0x3358a3(0x32a)]};}case W[_0x3358a3(0x2b5)]:{const _0x23ef25=_0x22690d[_0x3358a3(0x17a)];return{..._0x22690d,'data':_0x23ef25,'cmd':_0x22690d[_0x3358a3(0x32a)]};}case W[_0x3358a3(0x467)]:{const _0x280024=_0x22690d[_0x3358a3(0x2d7)];switch(_0x280024['eventID']){case _0x4757a2[_0x3358a3(0x2a7)]:return{..._0x22690d,'data':{..._0x280024,'data':(_0x1f15b6=_0x280024[_0x3358a3(0x37c)])==null?void 0x0:_0x1f15b6['cs']},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2['CHANGESET_ACK']:return{..._0x22690d,'data':{..._0x280024,'data':(_0x3388bb=_0x280024['csAckEvent'])==null?void 0x0:_0x3388bb['cs']},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2[_0x3358a3(0x277)]:return{..._0x22690d,'data':{..._0x280024,'data':(_0x5240b7=_0x280024[_0x3358a3(0x25f)])==null?void 0x0:_0x5240b7['cs']},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2[_0x3358a3(0x3b8)]:return{..._0x22690d,'data':{..._0x280024,'data':(_0x39e7cd=_0x280024[_0x3358a3(0x1d0)])==null?void 0x0:_0x39e7cd['cs']},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2[_0x3358a3(0x3dd)]:return{..._0x22690d,'data':{..._0x280024,'data':(_0x147f56=_0x280024[_0x3358a3(0x288)])==null?void 0x0:_0x147f56['cs']},'cmd':_0x22690d['cmd']};case _0x4757a2[_0x3358a3(0x16e)]:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024[_0x3358a3(0x383)]},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2[_0x3358a3(0x503)]:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024['joinEvent']},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2[_0x3358a3(0x1eb)]:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024[_0x3358a3(0x290)]},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2[_0x3358a3(0x2ae)]:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024[_0x3358a3(0x3fc)]},'cmd':_0x22690d['cmd']};case _0x4757a2['LIVESHARE_FETCH_OPERATIONS']:case _0x4757a2[_0x3358a3(0x47c)]:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024[_0x3358a3(0x415)]},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2['LIVESHARE_TERMINATE']:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024[_0x3358a3(0x3fc)]},'cmd':_0x22690d['cmd']};case _0x4757a2[_0x3358a3(0x27d)]:return{..._0x22690d,'data':_0x280024,'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2['COMMENT_UPDATE']:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024[_0x3358a3(0x42c)]},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2[_0x3358a3(0x3b4)]:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024[_0x3358a3(0x38c)]},'cmd':_0x22690d[_0x3358a3(0x32a)]};case _0x4757a2[_0x3358a3(0x492)]:return{..._0x22690d,'data':{..._0x280024,'data':_0x280024[_0x3358a3(0x3f2)]},'cmd':_0x22690d[_0x3358a3(0x32a)]};default:return _0x22690d;}}default:return _0x22690d;}}function Or(_0x110856){const _0x3c38a8=_0x18be96;switch(_0x110856['cmd']){case W[_0x3c38a8(0x223)]:case W['HELLO']:return JSON[_0x3c38a8(0x2e7)]({'cmd':_0x110856['cmd'],'routeKey':_0x110856[_0x3c38a8(0x163)]});case W[_0x3c38a8(0x2f4)]:{let _0x214c02;switch(_0x110856[_0x3c38a8(0x292)][_0x3c38a8(0x418)]){case _0x4757a2['UPDATE_CURSOR']:{_0x214c02={'eventID':_0x4757a2[_0x3c38a8(0x16e)],'updateCursorEvent':_0x110856[_0x3c38a8(0x292)][_0x3c38a8(0x292)]};break;}case _0x4757a2[_0x3c38a8(0x1eb)]:{_0x214c02={'eventID':_0x4757a2[_0x3c38a8(0x1eb)],'leaveEvent':_0x110856[_0x3c38a8(0x292)][_0x3c38a8(0x292)]};break;}case _0x4757a2['USERS_ENTER']:{_0x214c02={'eventID':_0x4757a2['USERS_ENTER'],'joinEvent':_0x110856['data'][_0x3c38a8(0x292)]};break;}case _0x4757a2[_0x3c38a8(0x2ae)]:{_0x214c02={'eventID':_0x4757a2[_0x3c38a8(0x2ae)],'liveShareNewHost':_0x110856[_0x3c38a8(0x292)]['data']};break;}case _0x4757a2[_0x3c38a8(0x47c)]:{_0x214c02={'eventID':_0x4757a2[_0x3c38a8(0x47c)],'liveShareOperation':_0x110856['data']['data']};break;}case _0x4757a2['LIVESHARE_TERMINATE']:{_0x214c02={'eventID':_0x4757a2[_0x3c38a8(0x2d9)],'liveShareTerminate':_0x110856[_0x3c38a8(0x292)]['data']};break;}case _0x4757a2['LIVESHARE_REQUEST_HOST']:{_0x214c02={'eventID':_0x4757a2['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x110856[_0x3c38a8(0x292)]['data']};break;}case _0x4757a2[_0x3c38a8(0x27c)]:{_0x214c02={'eventID':_0x4757a2[_0x3c38a8(0x27c)]};break;}default:_0x214c02={'eventID':_0x110856[_0x3c38a8(0x292)][_0x3c38a8(0x418)]};}return JSON[_0x3c38a8(0x2e7)]({'cmd':_0x110856[_0x3c38a8(0x32a)],'routeKey':_0x110856[_0x3c38a8(0x163)],'collaMsg':_0x214c02});}case W['JOIN']:return JSON[_0x3c38a8(0x2e7)]({'cmd':_0x110856[_0x3c38a8(0x32a)],'routeKey':_0x110856[_0x3c38a8(0x163)],'joinReq':_0x110856[_0x3c38a8(0x292)]});case W[_0x3c38a8(0x247)]:return JSON[_0x3c38a8(0x2e7)]({'cmd':_0x110856['cmd'],'routeKey':_0x110856[_0x3c38a8(0x163)],'leaveReq':_0x110856[_0x3c38a8(0x292)]});default:throw new Error(_0x3c38a8(0x4ef));}}var wr=Object['defineProperty'],Dr=Object[_0x18be96(0x48e)],Pr=(_0x16952d,_0x49bf67,_0x5a6b5f,_0xddf5ae)=>{const _0x3e61e2=_0x18be96;for(var _0x4c5f6f=_0xddf5ae>0x1?void 0x0:_0xddf5ae?Dr(_0x49bf67,_0x5a6b5f):_0x49bf67,_0x37b103=_0x16952d[_0x3e61e2(0x3fe)]-0x1,_0x8a06c3;_0x37b103>=0x0;_0x37b103--)(_0x8a06c3=_0x16952d[_0x37b103])&&(_0x4c5f6f=(_0xddf5ae?_0x8a06c3(_0x49bf67,_0x5a6b5f,_0x4c5f6f):_0x8a06c3(_0x4c5f6f))||_0x4c5f6f);return _0xddf5ae&&_0x4c5f6f&&wr(_0x49bf67,_0x5a6b5f,_0x4c5f6f),_0x4c5f6f;},qe=(_0x392fac,_0xe62921)=>(_0x16a26f,_0x599986)=>_0xe62921(_0x16a26f,_0x599986,_0x392fac);const Oi=_0x48646b(_0x18be96(0x2a6));function Ur(_0xa1548,_0xe8bc00,_0x51a550){const _0x332409=_0x18be96;return _0xa1548+'/'+_0xe8bc00+_0x332409(0x53a)+_0x51a550+_0x332409(0x2ec);}let es=class extends _0x5689e0{constructor(_0x484c5d,_0x584144,_0x2fe7ee,_0x311ec5,_0x277cbb){const _0x846726=_0x18be96;super(),this[_0x846726(0x151)]=_0x484c5d,this[_0x846726(0x3c0)]=_0x584144,this['_configService']=_0x2fe7ee,this[_0x846726(0x47f)]=_0x311ec5,this['_snapshotServerService']=_0x277cbb;}[_0x18be96(0x2ff)](_0x86b468){const _0x2e0842=_0x18be96,_0x50484e=this['_ws'][_0x2e0842(0x2ff)](_0x86b468);if(!_0x50484e)throw new Error(_0x2e0842(0x3e3));const _0x59dc36=new _0x15f4b9(),_0x1056d0=new _0x3c35ab();_0x59dc36['add'](_0x50484e['close$'][_0x2e0842(0x450)](_0x4494c2=>_0x1056d0['next'](_0x4494c2))),_0x59dc36[_0x2e0842(0x338)](_0x186f86(()=>_0x1056d0[_0x2e0842(0x4d5)]()));const _0x56ff76=new _0x3c35ab();_0x59dc36[_0x2e0842(0x338)](_0x50484e[_0x2e0842(0x51d)]['subscribe'](_0x4d3a63=>_0x56ff76[_0x2e0842(0x319)](_0x4d3a63))),_0x59dc36['add'](_0x186f86(()=>_0x56ff76[_0x2e0842(0x4d5)]()));const _0x338071=new _0x3c35ab();_0x59dc36[_0x2e0842(0x338)](_0x50484e['message$'][_0x2e0842(0x450)](_0x30246d=>{const _0x3c2054=_0x2e0842,_0x33fcdf=yr(_0x30246d);_0x338071[_0x3c2054(0x319)](_0x33fcdf);})),_0x59dc36['add'](_0x186f86(()=>_0x338071[_0x2e0842(0x4d5)]()));let _0x150912;const _0x398915=()=>{const _0x102b0f=_0x2e0842;_0x56ff76[_0x102b0f(0x319)](new Event('connection\x20error')),_0x1056d0[_0x102b0f(0x319)](new CloseEvent(_0x102b0f(0x30e))),_0x150912[_0x102b0f(0x409)]();};return _0x150912={'memberID':'','close$':_0x1056d0['asObservable'](),'error$':_0x56ff76[_0x2e0842(0x35e)](),'open$':_0x50484e[_0x2e0842(0x137)],'message$':_0x338071[_0x2e0842(0x35e)](),'send':_0x5a648f=>{const _0x3008bc=_0x2e0842;if(_0x5a648f['cmd']===W[_0x3008bc(0x2f4)]){if(_0x5a648f[_0x3008bc(0x292)][_0x3008bc(0x418)]===_0x4757a2['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x150912,_0x5a648f[_0x3008bc(0x292)])[_0x3008bc(0x488)](_0x2dbd96=>{const _0x3c8335=_0x3008bc;this[_0x3c8335(0x47f)][_0x3c8335(0x494)](_0x2dbd96),_0x398915();});return;}if(_0x5a648f[_0x3008bc(0x292)][_0x3008bc(0x418)]===_0x4757a2[_0x3008bc(0x422)]){const _0x1509dd=_0x5a648f[_0x3008bc(0x292)];this['_fetchMissChangesets'](_0x1509dd)['then'](_0x26e207=>{const _0x43405f=_0x3008bc;_0x338071[_0x43405f(0x319)]({'cmd':W[_0x43405f(0x467)],'code':Is['OK'],'routeKey':_0x1509dd[_0x43405f(0x292)][_0x43405f(0x3c4)],'routeType':'','data':{'eventID':_0x4757a2[_0x43405f(0x174)],'data':{'changesets':_0x26e207}}});})[_0x3008bc(0x488)](_0x420d07=>{const _0x515cad=_0x3008bc;this['_logService'][_0x515cad(0x494)](_0x420d07),_0x398915();});return;}}_0x50484e['send'](Or(_0x5a648f));},'close':()=>{_0x50484e['close'](),_0x59dc36['dispose']();}},_0x150912;}async['_submitChangeset'](_0x7b5d68,_0x39d823){const _0x548ee6=_0x18be96;var _0x11fa8b,_0x3b03b2;const {unitType:_0x2510b9,unitID:_0x47b8f0,changeset:_0x2fac2a}=_0x39d823[_0x548ee6(0x292)],_0x3c3f74={'unitID':_0x47b8f0,'memberID':_0x7b5d68[_0x548ee6(0x21d)],'type':_0x2510b9,'changeset':_0x42983b(_0x2fac2a)},_0x400a00=this[_0x548ee6(0x36d)][_0x548ee6(0x26f)](Cr),_0x28f9cf=this[_0x548ee6(0x36d)][_0x548ee6(0x26f)](ie),_0x2fe603=Ur((_0x3b03b2=(_0x11fa8b=_0x28f9cf==null?void 0x0:_0x28f9cf[_0x548ee6(0x1bc)])!=null?_0x11fa8b:_0x400a00)!=null?_0x3b03b2:Er,_0x2510b9,_0x47b8f0);try{await this['_http'][_0x548ee6(0x177)](_0x2fe603,{'body':_0x3c3f74});}catch(_0x5dfaea){throw this[_0x548ee6(0x47f)]['error'](_0x548ee6(0x486),'submit\x20changeset\x20error!'),_0x5dfaea;}}async[_0x18be96(0x23a)](_0x2f8526){const _0xb98091=_0x18be96,{unitID:_0x49606d,from:_0x53c629,to:_0x3fd3ed,unitType:_0x39d6d3}=_0x2f8526[_0xb98091(0x292)];return(await this[_0xb98091(0x308)][_0xb98091(0x1ca)]({'metadata':void 0x0},{'unitID':_0x49606d,'type':_0x39d6d3,'from':_0x53c629,'to':_0x3fd3ed}))['changesets'];}};es=Pr([qe(0x0,_0x5a6d6a(_0x2de674)),qe(0x1,_0x5a6d6a(_0x4faa1d)),qe(0x2,_0x38b553),qe(0x3,_0x18037c),qe(0x4,_0x40dc08)],es);const Nr='collaboration_new_changeset';function Ar(_0x34039e){const _0x3641a7=_0x18be96;return JSON[_0x3641a7(0x2e7)](_0x34039e)[_0x3641a7(0x3fe)];}class wi{constructor(){const _0x5a8542=_0x18be96;g(this,_0x5a8542(0x420),new _0x3c35ab()),g(this,'commentUpdate$',this[_0x5a8542(0x420)][_0x5a8542(0x35e)]());}[_0x18be96(0x3f9)](_0x5e9c9b){const _0x1ef64d=_0x18be96;this['_commentUpdate$'][_0x1ef64d(0x319)](_0x5e9c9b);}}var Mr=Object[_0x18be96(0x2b6)],xr=Object[_0x18be96(0x48e)],Lr=(_0x3b8498,_0x355494,_0x5d9277,_0x35b7ae)=>{for(var _0x20ac69=_0x35b7ae>0x1?void 0x0:_0x35b7ae?xr(_0x355494,_0x5d9277):_0x355494,_0x1e1c44=_0x3b8498['length']-0x1,_0x482177;_0x1e1c44>=0x0;_0x1e1c44--)(_0x482177=_0x3b8498[_0x1e1c44])&&(_0x20ac69=(_0x35b7ae?_0x482177(_0x355494,_0x5d9277,_0x20ac69):_0x482177(_0x20ac69))||_0x20ac69);return _0x35b7ae&&_0x20ac69&&Mr(_0x355494,_0x5d9277,_0x20ac69),_0x20ac69;},Hs=(_0x321f78,_0x41ce49)=>(_0x45270e,_0x2cedce)=>_0x41ce49(_0x45270e,_0x2cedce,_0x321f78);let Ne=class extends _0x5689e0{constructor(_0x27cc9b,_0x230071){const _0x38c059=_0x18be96;super(),g(this,_0x38c059(0x3d8),new Map()),(this[_0x38c059(0x1bb)]=_0x27cc9b,this[_0x38c059(0x2e8)]=_0x230071,this[_0x38c059(0x388)](_0x186f86(_0xb29ff3(this[_0x38c059(0x1bb)]['getTypeOfUnitDisposed$'](_0xaaf3fc[_0x38c059(0x1cd)])[_0x38c059(0x1e7)](_0x4c2e7e(_0x25a817=>_0x25a817[_0x38c059(0x15f)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xaaf3fc[_0x38c059(0x24b)])[_0x38c059(0x1e7)](_0x4c2e7e(_0x59e386=>_0x59e386[_0x38c059(0x15f)]())),this[_0x38c059(0x1bb)][_0x38c059(0x201)](_0xaaf3fc[_0x38c059(0x3ca)])[_0x38c059(0x1e7)](_0x4c2e7e(_0x423f43=>_0x423f43[_0x38c059(0x15f)]())))[_0x38c059(0x450)](_0x2dca60=>this[_0x38c059(0x40f)](_0x2dca60)))));}[_0x18be96(0x3dc)](_0x261046){const _0x30aa51=_0x18be96;this['_userManagerService'][_0x30aa51(0x3dc)](_0x261046);}['getCurrentUser'](){const _0x4f1d6d=_0x18be96;return this['_userManagerService'][_0x4f1d6d(0x285)]();}[_0x18be96(0x3ad)](_0x5be288,_0x1f5dbf){const _0x2676a5=_0x18be96;let _0x68c29b=this[_0x2676a5(0x3d8)]['get'](_0x5be288);_0x68c29b||(_0x68c29b=new $r(),this[_0x2676a5(0x3d8)]['set'](_0x5be288,_0x68c29b)),_0x68c29b[_0x2676a5(0x3ad)](_0x1f5dbf);}[_0x18be96(0x517)](_0x55ea0d,_0x4b9252){const _0x30b24a=_0x18be96,_0x493587=this[_0x30b24a(0x3d8)][_0x30b24a(0x281)](_0x55ea0d);_0x493587&&_0x493587[_0x30b24a(0x517)](_0x4b9252);}['getRoom'](_0x141842){return this['_roomMembers']['get'](_0x141842);}[_0x18be96(0x50e)](_0x2fe2d6,_0x4df302){const _0x23aa0e=_0x18be96,_0x5f3a33=this[_0x23aa0e(0x3d8)][_0x23aa0e(0x281)](_0x2fe2d6);if(_0x5f3a33)return _0x5f3a33['getMember'](_0x4df302);}['_removeRoom'](_0x1917e9){const _0x4c54ab=_0x18be96,_0x3a024=this[_0x4c54ab(0x3d8)][_0x4c54ab(0x281)](_0x1917e9);_0x3a024&&(_0x3a024[_0x4c54ab(0x2e5)](),this['_roomMembers'][_0x4c54ab(0x249)](_0x1917e9));}[_0x18be96(0x2e5)](){const _0x37b1ef=_0x18be96;this[_0x37b1ef(0x3d8)][_0x37b1ef(0x1ce)](_0x3fae28=>_0x3fae28[_0x37b1ef(0x2e5)]()),this[_0x37b1ef(0x3d8)]['clear']();}};Ne=Lr([Hs(0x0,_0x1f1cc4),Hs(0x1,_0x5a6d6a(_0x2f5018))],Ne);class $r extends _0x5689e0{constructor(){const _0x39e5f4=_0x18be96;super(...arguments),g(this,_0x39e5f4(0x4cd),new Map());}[_0x18be96(0x2e5)](){const _0x37b61a=_0x18be96;this[_0x37b61a(0x4cd)][_0x37b61a(0x27f)]();}[_0x18be96(0x3ad)](_0x56b622){const _0x42da8b=_0x18be96;this['_members'][_0x42da8b(0x29c)](_0x56b622['memberID'],_0x56b622);}['removeMember'](_0x59af65){const _0x59901e=_0x18be96;this[_0x59901e(0x4cd)][_0x59901e(0x249)](_0x59af65);}['getMember'](_0x5294f6){const _0x1b3c7e=_0x18be96;return this[_0x1b3c7e(0x4cd)][_0x1b3c7e(0x281)](_0x5294f6);}['getAllMembers'](){const _0x45ee15=_0x18be96;return Array[_0x45ee15(0x3eb)](this[_0x45ee15(0x4cd)][_0x45ee15(0x371)]());}}var Hr=Object['defineProperty'],jr=Object['getOwnPropertyDescriptor'],Br=(_0x2844e3,_0x262699,_0xd6f663,_0x1fabf3)=>{const _0x399970=_0x18be96;for(var _0x3f0b87=_0x1fabf3>0x1?void 0x0:_0x1fabf3?jr(_0x262699,_0xd6f663):_0x262699,_0x527892=_0x2844e3[_0x399970(0x3fe)]-0x1,_0x26da6e;_0x527892>=0x0;_0x527892--)(_0x26da6e=_0x2844e3[_0x527892])&&(_0x3f0b87=(_0x1fabf3?_0x26da6e(_0x262699,_0xd6f663,_0x3f0b87):_0x26da6e(_0x3f0b87))||_0x3f0b87);return _0x1fabf3&&_0x3f0b87&&Hr(_0x262699,_0xd6f663,_0x3f0b87),_0x3f0b87;},Ee=(_0x1cec84,_0x2553f9)=>(_0x490433,_0x1e59b7)=>_0x2553f9(_0x490433,_0x1e59b7,_0x1cec84),ve=(_0x2a0a30=>(_0x2a0a30[_0x2a0a30['IDLE']=0x0]=_0x18be96(0x45e),_0x2a0a30[_0x2a0a30[_0x18be96(0x2b7)]=0x1]=_0x18be96(0x2b7),_0x2a0a30[_0x2a0a30[_0x18be96(0x167)]=0x2]=_0x18be96(0x167),_0x2a0a30[_0x2a0a30[_0x18be96(0x416)]=0x3]=_0x18be96(0x416),_0x2a0a30))(ve||{});let ts=class extends _0x2a7a1c{constructor(_0x4cca37,_0x194bfb,_0x2f6f37,_0x7e19bf,_0x1d7343,_0x406131,_0x4db0bc,_0x4deca6,_0x1a7665,_0x17d41d){const _0x5e8d59=_0x18be96;super(),g(this,_0x5e8d59(0x29a),new _0x398285(0x0)),g(this,'sessionStatus$',this['_sessionStatus$'][_0x5e8d59(0x35e)]()),g(this,'_event$',new _0x3c35ab()),g(this,_0x5e8d59(0x435),this[_0x5e8d59(0x147)][_0x5e8d59(0x35e)]()),g(this,_0x5e8d59(0x20b)),g(this,_0x5e8d59(0x15b)),g(this,_0x5e8d59(0x448)),g(this,_0x5e8d59(0x3e4),!0x1),g(this,_0x5e8d59(0x40c),null),(this[_0x5e8d59(0x3a9)]=_0x4cca37,this[_0x5e8d59(0x47f)]=_0x2f6f37,this[_0x5e8d59(0x500)]=_0x7e19bf,this[_0x5e8d59(0x1fd)]=_0x1d7343,this[_0x5e8d59(0x36d)]=_0x406131,this[_0x5e8d59(0x3d6)]=_0x4db0bc,this['_memberService']=_0x4deca6,this['_commentService']=_0x1a7665,this[_0x5e8d59(0x2f2)]=_0x17d41d,this[_0x5e8d59(0x3e4)]=!!this[_0x5e8d59(0x2f2)],_0x194bfb[_0x5e8d59(0x1e7)](_0x224c08(this[_0x5e8d59(0x3f4)]))[_0x5e8d59(0x450)](_0x5bbd5e=>{const _0x2a8885=_0x5e8d59;var _0x83ec9c;typeof _0x5bbd5e>'u'||(this[_0x2a8885(0x20b)]=_0x5bbd5e,_0x5bbd5e?(this[_0x2a8885(0x196)](_0x5bbd5e),this['_socketMessageSubscription']=_0x5bbd5e[_0x2a8885(0x470)][_0x2a8885(0x450)](_0x2a32bd=>{const _0x78174a=_0x2a8885;_0x2a32bd[_0x78174a(0x163)]===this['_unitID']&&this[_0x78174a(0x365)](_0x2a32bd);})):(this[_0x2a8885(0x497)](),this[_0x2a8885(0x29a)][_0x2a8885(0x319)](0x2),(_0x83ec9c=this[_0x2a8885(0x15b)])==null||_0x83ec9c['unsubscribe'](),this[_0x2a8885(0x15b)]=null));}),this[_0x5e8d59(0x388)](this[_0x5e8d59(0x500)][_0x5e8d59(0x21f)](()=>{const _0x4f2c2c=_0x5e8d59;var _0x2aced2;(_0x2aced2=this['_socket'])==null||_0x2aced2[_0x4f2c2c(0x20c)]({'cmd':W[_0x4f2c2c(0x247)],'data':{'roomID':this['_unitID']}});})));}get[_0x18be96(0x4d0)](){const _0x1a3306=_0x18be96;return this[_0x1a3306(0x29a)]['getValue']();}[_0x18be96(0x1b6)](){const _0x3be07b=_0x18be96;var _0x4fb028,_0x3960de;return(_0x3960de=(_0x4fb028=this[_0x3be07b(0x20b)])==null?void 0x0:_0x4fb028[_0x3be07b(0x21d)])!=null?_0x3960de:null;}[_0x18be96(0x2e5)](){const _0x4dba3c=_0x18be96;super[_0x4dba3c(0x2e5)](),this[_0x4dba3c(0x3f4)][_0x4dba3c(0x319)](),this[_0x4dba3c(0x3f4)][_0x4dba3c(0x4d5)]();}[_0x18be96(0x409)](){const _0x1dabb4=_0x18be96;var _0x1fc0e5,_0x1b78d4;this[_0x1dabb4(0x497)](),(_0x1fc0e5=this[_0x1dabb4(0x20b)])==null||_0x1fc0e5['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x1dabb4(0x3a9)]}}),(_0x1b78d4=this[_0x1dabb4(0x20b)])==null||_0x1b78d4[_0x1dabb4(0x409)](),this[_0x1dabb4(0x147)][_0x1dabb4(0x4d5)](),this[_0x1dabb4(0x29a)][_0x1dabb4(0x4d5)](),this['dispose']();}[_0x18be96(0x365)](_0x22d337){const _0xd31dce=_0x18be96;_0x22d337[_0xd31dce(0x32a)]===W[_0xd31dce(0x2b5)]?this['_onJoinRoomEvent'](_0x22d337):_0x22d337[_0xd31dce(0x32a)]===W['RECV']&&this[_0xd31dce(0x52d)](_0x22d337);}[_0x18be96(0x196)](_0x7f093c){const _0x4c427e=_0x18be96;this[_0x4c427e(0x29a)][_0x4c427e(0x319)](0x1),_0x7f093c[_0x4c427e(0x20c)]({'cmd':W[_0x4c427e(0x2b5)],'routeKey':this[_0x4c427e(0x3a9)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x107fa2){const _0x26455c=_0x18be96;var _0x10691e;if(_0x107fa2[_0x26455c(0x22d)]===Is[_0x26455c(0x405)]){this[_0x26455c(0x1fd)][_0x26455c(0x3a3)]({'type':_0x370e57[_0x26455c(0x239)],'content':this['_localeService']['t']('session.room-full')}),this['_sessionStatus$']['next'](0x2);return;}this[_0x26455c(0x29a)]['next'](0x3);const _0x5252c3=(_0x10691e=_0x107fa2[_0x26455c(0x292)][_0x26455c(0x42e)][this['_unitID']])==null?void 0x0:_0x10691e[_0x26455c(0x4af)];_0x5252c3&&_0x5252c3[_0x26455c(0x1ce)](_0x5c8d95=>this['_memberService'][_0x26455c(0x3ad)](this[_0x26455c(0x3a9)],_0x5c8d95));}[_0x18be96(0x52d)](_0x5e6b06){const _0x5db746=_0x18be96;try{const _0x389efc=_0x5e6b06['data'];switch(_0x389efc['eventID']){case _0x4757a2[_0x5db746(0x503)]:this[_0x5db746(0x2a8)](_0x389efc),this[_0x5db746(0x147)][_0x5db746(0x319)](_0x389efc);break;case _0x4757a2[_0x5db746(0x1eb)]:this[_0x5db746(0x4b2)](_0x389efc),this['_event$'][_0x5db746(0x319)](_0x389efc);break;case _0x4757a2[_0x5db746(0x44f)]:case _0x4757a2[_0x5db746(0x3dd)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x5db746(0x147)][_0x5db746(0x319)](_0x389efc);break;case _0x4757a2[_0x5db746(0x27d)]:this[_0x5db746(0x47f)]['error'](_0x5db746(0x53d)+JSON[_0x5db746(0x2e7)](_0x389efc)),this['_event$']['next'](_0x389efc);break;case _0x4757a2[_0x5db746(0x44e)]:this[_0x5db746(0x254)][_0x5db746(0x3f9)](_0x389efc['data']),this[_0x5db746(0x147)][_0x5db746(0x319)](_0x389efc);break;default:this[_0x5db746(0x147)][_0x5db746(0x319)](_0x389efc);}}catch(_0x5ba869){this[_0x5db746(0x47f)]['error'](_0x5ba869,_0x5e6b06);}}['_onUserJoin'](_0x408c48){const _0x52c803=_0x18be96;this[_0x52c803(0x431)][_0x52c803(0x3ad)](this[_0x52c803(0x3a9)],_0x408c48[_0x52c803(0x292)]);}[_0x18be96(0x4b2)](_0x1471a8){const _0x43eb49=_0x18be96;this[_0x43eb49(0x431)][_0x43eb49(0x517)](this[_0x43eb49(0x3a9)],_0x1471a8['data'][_0x43eb49(0x21d)]);}async[_0x18be96(0x20c)](_0x55ddd7,_0x183b2a){const _0x4ca399=_0x18be96;if(this['sessionStatus']!==0x3||!this[_0x4ca399(0x20b)])throw new Error(_0x4ca399(0x227));try{_0x55ddd7['eventID']===_0x4757a2['SUBMIT_CHANGESET']&&(this[_0x4ca399(0x349)](),this[_0x4ca399(0x2a9)](_0x55ddd7)),this[_0x4ca399(0x20b)]['send']({'cmd':W[_0x4ca399(0x2f4)],'routeKey':_0x183b2a,'routeType':'','data':_0x55ddd7});}catch(_0x2ca2f2){this[_0x4ca399(0x47f)][_0x4ca399(0x494)](_0x2ca2f2);}}[_0x18be96(0x349)](){const _0x2c1ea6=_0x18be96;var _0x4a7aa4;this[_0x2c1ea6(0x448)]=window[_0x2c1ea6(0x382)](()=>{const _0x3aba9f=_0x2c1ea6;this[_0x3aba9f(0x448)]=null,this['_messageService'][_0x3aba9f(0x3a3)]({'type':_0x370e57['Error'],'content':this[_0x3aba9f(0x3d6)]['t']('session.collaboration-timeout')});},(_0x4a7aa4=this[_0x2c1ea6(0x36d)][_0x2c1ea6(0x26f)](bi))!=null?_0x4a7aa4:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x806958=_0x18be96;this[_0x806958(0x448)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x806958(0x448)]=null);}[_0x18be96(0x2a9)](_0x2cf80e){const _0x3ed6e4=_0x18be96;if(!this['_shouldReportTelemetry'])return;const {data:_0x6b54d9}=_0x2cf80e,{unitID:_0x4bbbad,changeset:_0x6dd7f4}=_0x6b54d9,{mutations:_0xdde3bd,type:_0x5782c5}=_0x6dd7f4;this[_0x3ed6e4(0x40c)]={'unitId':_0x4bbbad,'type':_0x5782c5,'startTime':performance[_0x3ed6e4(0x36f)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0xdde3bd)};}[_0x18be96(0x392)](){const _0x475f46=_0x18be96;if(this[_0x475f46(0x3e4)]){if(!this[_0x475f46(0x40c)]){this[_0x475f46(0x47f)][_0x475f46(0x494)](_0x475f46(0x486),_0x475f46(0x3ba));return;}this[_0x475f46(0x40c)]['stopTime']=performance['now'](),this[_0x475f46(0x40c)][_0x475f46(0x2c0)]=this[_0x475f46(0x40c)][_0x475f46(0x347)]-this[_0x475f46(0x40c)]['startTime'],this[_0x475f46(0x2f2)][_0x475f46(0x274)](Nr,this[_0x475f46(0x40c)]),this[_0x475f46(0x40c)]=null;}}[_0x18be96(0x497)](){const _0x3e576c=_0x18be96;this[_0x3e576c(0x40c)]=null;}};ts=Br([Ee(0x2,_0x18037c),Ee(0x3,_0x35c551),Ee(0x4,_0x1f110a),Ee(0x5,_0x38b553),Ee(0x6,_0x5a6d6a(_0x14cd71)),Ee(0x7,_0x5a6d6a(Ne)),Ee(0x8,_0x5a6d6a(wi)),Ee(0x9,_0x1ec62d(_0x38a637))],ts);var kr=Object[_0x18be96(0x2b6)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x3803a4,_0xe1d35e,_0x4740dc,_0x35a450)=>{const _0x43a655=_0x18be96;for(var _0x14fae2=_0x35a450>0x1?void 0x0:_0x35a450?Wr(_0xe1d35e,_0x4740dc):_0xe1d35e,_0x32008d=_0x3803a4[_0x43a655(0x3fe)]-0x1,_0x177f39;_0x32008d>=0x0;_0x32008d--)(_0x177f39=_0x3803a4[_0x32008d])&&(_0x14fae2=(_0x35a450?_0x177f39(_0xe1d35e,_0x4740dc,_0x14fae2):_0x177f39(_0x14fae2))||_0x14fae2);return _0x35a450&&_0x14fae2&&kr(_0xe1d35e,_0x4740dc,_0x14fae2),_0x14fae2;},je=(_0x1cadeb,_0x406bb0)=>(_0x49c6d4,_0x5b0dcf)=>_0x406bb0(_0x49c6d4,_0x5b0dcf,_0x1cadeb);let Ae=class extends _0x5689e0{constructor(_0xf2e9cd,_0x9a9949,_0x357c44,_0x522628,_0x246bfa,_0x455fad){const _0x19d9ec=_0x18be96;super(),g(this,_0x19d9ec(0x4e6),new _0x398285(void 0x0)),g(this,_0x19d9ec(0x413),this[_0x19d9ec(0x4e6)][_0x19d9ec(0x35e)]()),g(this,_0x19d9ec(0x538),null),g(this,_0x19d9ec(0x1e6),new Map()),g(this,_0x19d9ec(0x4e3),new _0x398285(ve['IDLE'])),g(this,'status$',this[_0x19d9ec(0x4e3)][_0x19d9ec(0x35e)]()),g(this,_0x19d9ec(0x316),!0x1),g(this,_0x19d9ec(0x47d)),g(this,_0x19d9ec(0x188),0x0),g(this,_0x19d9ec(0x139)),g(this,_0x19d9ec(0x1d1)),(this[_0x19d9ec(0x273)]=_0xf2e9cd,this['_localeService']=_0x9a9949,this['_messageService']=_0x357c44,this[_0x19d9ec(0x47f)]=_0x522628,this['_configService']=_0x246bfa,this['_socketService']=_0x455fad,this[_0x19d9ec(0x4a6)]());}get[_0x18be96(0x20b)](){const _0x23b5db=_0x18be96;return this[_0x23b5db(0x4e6)][_0x23b5db(0x485)]();}[_0x18be96(0x4a6)](){const _0xa426d0=_0x18be96;this[_0xa426d0(0x36b)](),this[_0xa426d0(0x3a2)]();}[_0x18be96(0x2e5)](){const _0x1dd062=_0x18be96;super[_0x1dd062(0x2e5)](),this[_0x1dd062(0x1e6)]['forEach'](_0x121d39=>_0x121d39['dispose']()),this[_0x1dd062(0x1e6)][_0x1dd062(0x27f)](),this[_0x1dd062(0x4e3)][_0x1dd062(0x4d5)]();}async[_0x18be96(0x33f)](_0x1ed670){const _0x2b47dc=_0x18be96;if(this[_0x2b47dc(0x1e6)][_0x2b47dc(0x3a5)](_0x1ed670))return this[_0x2b47dc(0x1e6)][_0x2b47dc(0x281)](_0x1ed670);this[_0x2b47dc(0x4c2)]();const _0x36481c=this[_0x2b47dc(0x273)][_0x2b47dc(0x2eb)](ts,_0x1ed670,this[_0x2b47dc(0x4e6)]['asObservable']());return this['_sessions'][_0x2b47dc(0x29c)](_0x1ed670,_0x36481c),_0x36481c;}['closeSession'](_0x309135){const _0x800cb3=_0x18be96;var _0x39b667;const _0x5bb3c3=this['_sessions'][_0x800cb3(0x281)](_0x309135);_0x5bb3c3&&(this[_0x800cb3(0x1e6)]['delete'](_0x309135),_0x5bb3c3['close']()),this[_0x800cb3(0x1e6)][_0x800cb3(0x4b6)]||(_0x39b667=this[_0x800cb3(0x20b)])==null||_0x39b667[_0x800cb3(0x409)]();}[_0x18be96(0x355)](){const _0x20210f=_0x18be96;this[_0x20210f(0x188)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x20210f(0x47d)]),this[_0x20210f(0x47d)]=null),this[_0x20210f(0x20e)]();}[_0x18be96(0x212)](){const _0x414378=_0x18be96;var _0xf745d5,_0x3c0677;const _0x1a805f=this[_0x414378(0x36d)][_0x414378(0x26f)](ur),_0x563877=this[_0x414378(0x36d)][_0x414378(0x26f)](ie),_0x5047df=(_0x3c0677=(_0xf745d5=_0x563877==null?void 0x0:_0x563877[_0x414378(0x33a)])!=null?_0xf745d5:_0x1a805f)!=null?_0x3c0677:dr,_0x58ea16=this[_0x414378(0x45b)][_0x414378(0x2ff)](_0x5047df);return this[_0x414378(0x538)]=_0x58ea16,_0x58ea16;}[_0x18be96(0x4c2)](){const _0x27b514=_0x18be96;var _0x164ddc,_0x32a9f6;try{const _0x2df479=(_0x32a9f6=(_0x164ddc=this[_0x27b514(0x20b)])!=null?_0x164ddc:this[_0x27b514(0x538)])!=null?_0x32a9f6:this[_0x27b514(0x212)]();if(_0x2df479){const _0x3c2a54=_0x2df479[_0x27b514(0x20c)];_0x2df479['send']=_0x3e3a7c=>(this[_0x27b514(0x41b)](),_0x3c2a54[_0x27b514(0x1da)](_0x2df479,[_0x3e3a7c])),_0x2df479['message$'][_0x27b514(0x450)](_0x211f43=>this[_0x27b514(0x183)](_0x2df479,_0x211f43)),_0x2df479[_0x27b514(0x51d)][_0x27b514(0x1e7)](_0x3769a3(0x1))['subscribe'](_0x939a8f=>this[_0x27b514(0x47f)][_0x27b514(0x494)](_0x27b514(0x346),_0x939a8f)),_0x2df479['open$'][_0x27b514(0x1e7)](_0x3769a3(0x1))[_0x27b514(0x450)](()=>{const _0x51bb2d=_0x27b514;this[_0x51bb2d(0x51b)](_0x2df479);}),_0x2df479[_0x27b514(0x433)][_0x27b514(0x1e7)](_0x3769a3(0x1))[_0x27b514(0x450)](_0x1475a2=>{const _0x3a5b57=_0x27b514;this[_0x3a5b57(0x47f)][_0x3a5b57(0x529)](_0x3a5b57(0x31c),_0x3a5b57(0x34e),_0x1475a2),this[_0x3a5b57(0x3c8)]();});}}catch(_0x3d41fc){this['_logService']['error'](_0x3d41fc),this[_0x27b514(0x3c8)]();}}['_onConnectionOpen'](_0x5d4755){const _0xc472fa=_0x18be96;this[_0xc472fa(0x47f)]['debug']('[CollaborationSessionService]',_0xc472fa(0x372)),_0x5d4755[_0xc472fa(0x20c)]({'cmd':W[_0xc472fa(0x2b9)]}),this[_0xc472fa(0x41b)]();}[_0x18be96(0x36b)](){const _0x43654a=_0x18be96;window[_0x43654a(0x4cc)](_0x43654a(0x366),()=>this[_0x43654a(0x304)]());}['_onOffline'](){const _0x24b033=_0x18be96;this[_0x24b033(0x316)]=!0x1,this['_candidateSocket']=null,this[_0x24b033(0x4e3)]['next'](ve[_0x24b033(0x167)]),this[_0x24b033(0x4e6)][_0x24b033(0x319)](null),this[_0x24b033(0x52e)](),this[_0x24b033(0x3cb)]();}['_onConnectionFailed'](){const _0x107ffb=_0x18be96;var _0x2f41b7;this[_0x107ffb(0x304)](),this['_retryCount']<((_0x2f41b7=this[_0x107ffb(0x36d)][_0x107ffb(0x26f)](pr))!=null?_0x2f41b7:gr)?(this[_0x107ffb(0x1fd)][_0x107ffb(0x3a3)]({'key':_0x107ffb(0x3a4),'type':_0x370e57['Warning'],'content':this[_0x107ffb(0x3d6)]['t'](_0x107ffb(0x190))}),this[_0x107ffb(0x20e)]()):this[_0x107ffb(0x1fd)][_0x107ffb(0x3a3)]({'key':_0x107ffb(0x3a4),'type':_0x370e57['Error'],'content':this[_0x107ffb(0x3d6)]['t'](_0x107ffb(0x42b))});}[_0x18be96(0x3a2)](){const _0x1be89b=_0x18be96,_0x1f4d04=()=>{const _0x3330b5=_0x3fdc;this['_socket']||this[_0x3330b5(0x355)]();},_0x5b8031=()=>{const _0xd36a16=_0x3fdc;this[_0xd36a16(0x20b)]||document[_0xd36a16(0x39f)]===_0xd36a16(0x4d9)||this['reconnect']();};window[_0x1be89b(0x4cc)](_0x1be89b(0x244),_0x1f4d04),document['addEventListener'](_0x1be89b(0x51f),_0x5b8031);}['_tryReconnect'](){const _0xd4d3e=_0x18be96;var _0x56ba10;const _0x51d12b=this[_0xd4d3e(0x188)],_0x568df6=this[_0xd4d3e(0x36d)][_0xd4d3e(0x26f)](ie),_0x18e561=_0x51d12b===0x0?0x0:((_0x56ba10=_0x568df6==null?void 0x0:_0x568df6[_0xd4d3e(0x2b4)])!=null?_0x56ba10:mr)*0x2**_0x51d12b;this['_retryConnectingTimer']=window[_0xd4d3e(0x382)](()=>{const _0x3f145b=_0xd4d3e;clearTimeout(this[_0x3f145b(0x47d)]),this[_0x3f145b(0x47d)]=null,this['_tryEnsureSocket']();},_0x18e561),this[_0xd4d3e(0x188)]+=0x1;}[_0x18be96(0x183)](_0x5f03a1,_0x51485c){const _0x15f3f5=_0x18be96,{cmd:_0x30785c}=_0x51485c;_0x30785c===W[_0x15f3f5(0x2b9)]&&!this[_0x15f3f5(0x316)]&&(_0x5f03a1[_0x15f3f5(0x21d)]=_0x51485c[_0x15f3f5(0x292)][_0x15f3f5(0x21d)],this[_0x15f3f5(0x4e6)][_0x15f3f5(0x319)](_0x5f03a1),this['_status$'][_0x15f3f5(0x319)](ve[_0x15f3f5(0x416)]),this[_0x15f3f5(0x316)]=!0x0,this['_candidateSocket']=null),_0x30785c===W[_0x15f3f5(0x223)]&&this['_clearTimeoutTimer'](),this[_0x15f3f5(0x41b)]();}['_rescheduleHeartbeat'](){const _0x479522=_0x18be96;var _0x23b219;this[_0x479522(0x3cb)](),this[_0x479522(0x139)]=window[_0x479522(0x382)](()=>this['_sendHeartbeat'](),(_0x23b219=this[_0x479522(0x36d)]['getConfig'](fr))!=null?_0x23b219:vr);}[_0x18be96(0x186)](){const _0x353c7a=_0x18be96;this[_0x353c7a(0x20b)][_0x353c7a(0x20c)]({'cmd':W[_0x353c7a(0x223)]}),this[_0x353c7a(0x35c)]();}[_0x18be96(0x35c)](){const _0x204e77=_0x18be96;var _0x5dc5dd;this[_0x204e77(0x1d1)]=window[_0x204e77(0x382)](()=>this['_onConnectionFailed'](),(_0x5dc5dd=this[_0x204e77(0x36d)]['getConfig'](bi))!=null?_0x5dc5dd:Ti);}[_0x18be96(0x3cb)](){const _0x2c345d=_0x18be96;this[_0x2c345d(0x139)]!=null&&(clearTimeout(this[_0x2c345d(0x139)]),this[_0x2c345d(0x139)]=null);}['_clearTimeoutTimer'](){const _0x4d0019=_0x18be96;this[_0x4d0019(0x1d1)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};Ae=Fr([je(0x0,_0x5a6d6a(_0x5081af)),je(0x1,_0x5a6d6a(_0x14cd71)),je(0x2,_0x1f110a),je(0x3,_0x18037c),je(0x4,_0x38b553),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x18be96(0x263)]((i+0x100)['toString'](0x10)[_0x18be96(0x3b6)](0x1));function Vr(_0x5476ae,_0x398bff=0x0){const _0x3563c9=_0x18be96;return(Y[_0x5476ae[_0x398bff+0x0]]+Y[_0x5476ae[_0x398bff+0x1]]+Y[_0x5476ae[_0x398bff+0x2]]+Y[_0x5476ae[_0x398bff+0x3]]+'-'+Y[_0x5476ae[_0x398bff+0x4]]+Y[_0x5476ae[_0x398bff+0x5]]+'-'+Y[_0x5476ae[_0x398bff+0x6]]+Y[_0x5476ae[_0x398bff+0x7]]+'-'+Y[_0x5476ae[_0x398bff+0x8]]+Y[_0x5476ae[_0x398bff+0x9]]+'-'+Y[_0x5476ae[_0x398bff+0xa]]+Y[_0x5476ae[_0x398bff+0xb]]+Y[_0x5476ae[_0x398bff+0xc]]+Y[_0x5476ae[_0x398bff+0xd]]+Y[_0x5476ae[_0x398bff+0xe]]+Y[_0x5476ae[_0x398bff+0xf]])[_0x3563c9(0x1cf)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x42393c=_0x18be96;if(!Nt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x42393c(0x18f));Nt=crypto['getRandomValues'][_0x42393c(0x1e0)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto[_0x18be96(0x2f5)]&&crypto[_0x18be96(0x2f5)][_0x18be96(0x1e0)](crypto),js={'randomUUID':Kr};function zr(_0x2e7974,_0x48f9d5,_0xecd058){const _0x1ad5d7=_0x18be96;if(js[_0x1ad5d7(0x2f5)]&&!_0x48f9d5&&!_0x2e7974)return js[_0x1ad5d7(0x2f5)]();_0x2e7974=_0x2e7974||{};const _0x5a4917=_0x2e7974[_0x1ad5d7(0x15c)]||(_0x2e7974[_0x1ad5d7(0x2f1)]||Yr)();return _0x5a4917[0x6]=_0x5a4917[0x6]&0xf|0x40,_0x5a4917[0x8]=_0x5a4917[0x8]&0x3f|0x80,Vr(_0x5a4917);}var qr=Object['defineProperty'],Xr=Object[_0x18be96(0x48e)],Jr=(_0x59154d,_0x3186bb,_0x30a4d1,_0x40f3e7)=>{const _0x1558e2=_0x18be96;for(var _0x211a71=_0x40f3e7>0x1?void 0x0:_0x40f3e7?Xr(_0x3186bb,_0x30a4d1):_0x3186bb,_0x4b70a8=_0x59154d[_0x1558e2(0x3fe)]-0x1,_0xdaebc5;_0x4b70a8>=0x0;_0x4b70a8--)(_0xdaebc5=_0x59154d[_0x4b70a8])&&(_0x211a71=(_0x40f3e7?_0xdaebc5(_0x3186bb,_0x30a4d1,_0x211a71):_0xdaebc5(_0x211a71))||_0x211a71);return _0x40f3e7&&_0x211a71&&qr(_0x3186bb,_0x30a4d1,_0x211a71),_0x211a71;},At=(_0xff588e,_0xef199a)=>(_0x589deb,_0x12c098)=>_0xef199a(_0x589deb,_0x12c098,_0xff588e);let ft=class{constructor(_0x5dfa47,_0x515a9c,_0x1756d1){const _0x351c7e=_0x18be96;this['_injector']=_0x5dfa47,this['_transformService']=_0x515a9c,this[_0x351c7e(0x39a)]=_0x1756d1;}[_0x18be96(0x1ab)](_0x23d5d9){this['_transformUndoRedoStack'](_0x23d5d9),this['_transformPreviousActiveRange'](_0x23d5d9);}['transformRemoteChangeset'](_0x5d6411){const _0x1df913=_0x18be96,{unitID:_0x56c8c9}=_0x5d6411,_0x2dc9f6=this[_0x1df913(0x39a)]['getRenderById'](_0x56c8c9)['with'](_0x2a9d40),{redoCache:_0x3cf563}=_0x2dc9f6[_0x1df913(0x3d7)]();if(_0x3cf563[_0x1df913(0x3fe)]===0x0)return _0x5d6411;let _0x20d6bb=_0x3c4730['deepClone'](_0x5d6411[_0x1df913(0x3d4)][0x0]);for(let _0x18ba91=0x0;_0x18ba91<_0x3cf563[_0x1df913(0x3fe)];_0x18ba91++){const _0x5c3500={'id':_0x1df913(0x4e4),'params':{..._0x3cf563[_0x18ba91]}},_0xa31f48=this['_transformService'][_0x1df913(0x52f)](_0x20d6bb,_0x5c3500,!0x1);if(_0x55ec7f(_0xa31f48))throw _0xa31f48[_0x1df913(0x494)];_0x20d6bb=_0xa31f48['m1Prime'];}return{..._0x3c4730[_0x1df913(0x215)](_0x5d6411),'mutations':[_0x20d6bb]};}[_0x18be96(0x2bc)](_0x2dbe15){const _0x485c49=_0x18be96,{unitID:_0x46c7ca}=_0x2dbe15,_0x36a0b8=this['_renderManagerService'][_0x485c49(0x52a)](_0x46c7ca)['with'](_0x2a9d40),{undoCache:_0x1ccdb7,redoCache:_0x303ad}=_0x36a0b8[_0x485c49(0x3d7)]();if(_0x1ccdb7[_0x485c49(0x3fe)]===0x0||_0x303ad[_0x485c49(0x3fe)]===0x0)return;const _0x31ed5b=[],_0x23f7b8=[];let _0x21265a=_0x3c4730[_0x485c49(0x215)](_0x2dbe15['mutations'][0x0]),_0x2e4adb=_0x3c4730['deepClone'](_0x2dbe15['mutations'][0x0]);for(let _0x2cb476=_0x1ccdb7[_0x485c49(0x3fe)]-0x1;_0x2cb476>=0x0;_0x2cb476--){const _0x2bdea0={'id':'doc.mutation.rich-text-editing','params':{..._0x1ccdb7[_0x2cb476]}},_0x139f69={'id':_0x485c49(0x4e4),'params':{..._0x303ad[_0x2cb476]}},_0x59a199=this[_0x485c49(0x38f)][_0x485c49(0x52f)](_0x21265a,_0x2bdea0,!0x1),_0x491dd=this[_0x485c49(0x38f)][_0x485c49(0x52f)](_0x2e4adb,_0x139f69,!0x1);if(_0x55ec7f(_0x59a199))throw _0x59a199[_0x485c49(0x494)];if(_0x55ec7f(_0x491dd))throw _0x491dd[_0x485c49(0x494)];_0x31ed5b[_0x485c49(0x153)](_0x59a199[_0x485c49(0x446)][_0x485c49(0x1cc)]),_0x23f7b8[_0x485c49(0x153)](_0x491dd['m2Prime'][_0x485c49(0x1cc)]),_0x21265a=_0x59a199[_0x485c49(0x32b)],_0x2e4adb=_0x491dd['m1Prime'];}_0x36a0b8[_0x485c49(0x48d)]({'undoCache':_0x31ed5b,'redoCache':_0x23f7b8});}[_0x18be96(0x25a)](_0x2d7a8e){const _0x5832e0=_0x18be96,{unitID:_0x4e9b15}=_0x2d7a8e,_0xb494c7=this[_0x5832e0(0x39a)][_0x5832e0(0x52a)](_0x4e9b15)['with'](_0x2a9d40),_0x386f35=_0xb494c7[_0x5832e0(0x513)]();if(_0x386f35==null)return;const _0x8ef318=[{'id':_0x5832e0(0x4e4),'params':{'unitId':_0x2d7a8e[_0x5832e0(0x3c4)],'actions':null,'textRanges':[_0x386f35]}}],_0x30d827=this['_transformService'][_0x5832e0(0x291)](_0x2d7a8e,_0x8ef318);if(!_0x2a5aee(_0x30d827))throw _0x30d827['error'];const _0x4ca860=_0x30d827[_0x5832e0(0x446)][0x0][_0x5832e0(0x1cc)][_0x5832e0(0x461)];Array[_0x5832e0(0x3b3)](_0x4ca860)&&_0x4ca860[_0x5832e0(0x3fe)]&&_0xb494c7[_0x5832e0(0x162)](_0x4ca860[0x0]);}};ft=Jr([At(0x0,_0x5a6d6a(_0x5081af)),At(0x1,_0x56124f),At(0x2,_0x8e85eb)],ft);var Zr=Object[_0x18be96(0x2b6)],Qr=Object[_0x18be96(0x48e)],eo=(_0x2d53df,_0xafd797,_0x571b99,_0x22e1e1)=>{const _0x15c637=_0x18be96;for(var _0x141582=_0x22e1e1>0x1?void 0x0:_0x22e1e1?Qr(_0xafd797,_0x571b99):_0xafd797,_0x572c7d=_0x2d53df[_0x15c637(0x3fe)]-0x1,_0x3bd022;_0x572c7d>=0x0;_0x572c7d--)(_0x3bd022=_0x2d53df[_0x572c7d])&&(_0x141582=(_0x22e1e1?_0x3bd022(_0xafd797,_0x571b99,_0x141582):_0x3bd022(_0x141582))||_0x141582);return _0x22e1e1&&_0x141582&&Zr(_0xafd797,_0x571b99,_0x141582),_0x141582;},Xe=(_0x496341,_0x5e72e2)=>(_0x4b37f5,_0x1f8481)=>_0x5e72e2(_0x4b37f5,_0x1f8481,_0x496341);let q=class extends _0x5689e0{constructor(_0x2ae50a,_0x471e57,_0x2e7efa,_0xf6042f,_0x46826a){const _0x2404d0=_0x18be96;super(),g(this,_0x2404d0(0x526),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x2404d0(0x2a1),!0x1),(this[_0x2404d0(0x36d)]=_0x2ae50a,this[_0x2404d0(0x2c1)]=_0x471e57,this[_0x2404d0(0x500)]=_0x2e7efa,this[_0x2404d0(0x3d6)]=_0xf6042f,this[_0x2404d0(0x4c9)]=_0x46826a,this[_0x2404d0(0x43f)]());}[_0x18be96(0x30b)](){this['_disabled']=!0x0;}[_0x18be96(0x4be)](){this['_disabled']=!0x1;}['dispose'](){const _0x48a04c=_0x18be96;this[_0x48a04c(0x1c6)]()['then'](()=>super['dispose']());}async[_0x18be96(0x3fd)](_0x3be5f5){const _0x8bfee2=_0x18be96;return this['_disabled']?null:this['_localStorageService'][_0x8bfee2(0x4e0)](Bs(_0x3be5f5));}async[_0x18be96(0x226)](_0x478315,_0xdc07c9){const _0x168334=_0x18be96;return!!this[_0x168334(0x2c1)][_0x168334(0x33e)](_0x478315,_0xdc07c9);}[_0x18be96(0x1bf)](_0x4d90de,_0x15f158,_0x198731,_0x1b470c){const _0x559314=_0x18be96,_0x2ab861=this[_0x559314(0x4c9)][_0x559314(0x214)](_0x4d90de);this[_0x559314(0x526)][_0x559314(0x29c)](_0x4d90de,{'unitID':_0x4d90de,'type':_0x15f158,'awaitingChangeset':_0x198731,'mutations':_0x1b470c,'rev':_0x2ab861}),this[_0x559314(0x4ca)][_0x559314(0x3a5)](_0x4d90de)||this['_scheduleSaving'](_0x4d90de);}[_0x18be96(0x42f)](_0xf74cba){const _0x2c8846=_0x18be96,_0x52f9d2=this['_getSaveTimeout']();_0x52f9d2===0x0?this[_0x2c8846(0x2f8)](_0xf74cba):this[_0x2c8846(0x4ca)][_0x2c8846(0x29c)](_0xf74cba,setTimeout(()=>this[_0x2c8846(0x2f8)](_0xf74cba),_0x52f9d2));}[_0x18be96(0x242)](){const _0x252f9e=_0x18be96;var _0x46e02b;return(_0x46e02b=this[_0x252f9e(0x36d)][_0x252f9e(0x26f)](Sr))!=null?_0x46e02b:Ir;}[_0x18be96(0x2f8)](_0xc1c296){const _0x39d056=_0x18be96,_0x4cd1a8=this[_0x39d056(0x4ca)][_0x39d056(0x281)](_0xc1c296);return _0x4cd1a8!==void 0x0&&window[_0x39d056(0x255)](_0x4cd1a8),this[_0x39d056(0x2c1)][_0x39d056(0x33e)](Bs(_0xc1c296),this[_0x39d056(0x526)][_0x39d056(0x281)](_0xc1c296))['then'](()=>this[_0x39d056(0x4ca)]['delete'](_0xc1c296));}async[_0x18be96(0x1c6)](){const _0xb39e1d=_0x18be96,_0x10f633=[];this[_0xb39e1d(0x4ca)][_0xb39e1d(0x1ce)]((_0x2f0e72,_0x30b3bc)=>{const _0x29db08=_0xb39e1d;window['clearTimeout'](_0x2f0e72),_0x10f633[_0x29db08(0x263)](this[_0x29db08(0x2f8)](_0x30b3bc)[_0x29db08(0x14f)](()=>{const _0x11614f=_0x29db08;this[_0x11614f(0x4ca)][_0x11614f(0x249)](_0x30b3bc);}));}),await Promise[_0xb39e1d(0x206)](_0x10f633);}[_0x18be96(0x43f)](){const _0x53ff55=_0x18be96;this[_0x53ff55(0x388)](this[_0x53ff55(0x500)][_0x53ff55(0x2ba)](()=>{const _0x295ef3=_0x53ff55;if(this[_0x295ef3(0x4ca)][_0x295ef3(0x4b6)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}};q=eo([Xe(0x0,_0x38b553),Xe(0x1,_0x17273f),Xe(0x2,_0x35c551),Xe(0x3,_0x5a6d6a(_0x14cd71)),Xe(0x4,_0x5a6d6a(_0x4839c7))],q);function Bs(_0x5eb3bc){return'unit-cache-'+_0x5eb3bc;}var to=Object[_0x18be96(0x2b6)],so=Object[_0x18be96(0x48e)],io=(_0x2c5d8d,_0xc09ea3,_0x1a1262,_0x30b3c7)=>{const _0x40da80=_0x18be96;for(var _0x3b69db=_0x30b3c7>0x1?void 0x0:_0x30b3c7?so(_0xc09ea3,_0x1a1262):_0xc09ea3,_0x4a524e=_0x2c5d8d[_0x40da80(0x3fe)]-0x1,_0x55cc21;_0x4a524e>=0x0;_0x4a524e--)(_0x55cc21=_0x2c5d8d[_0x4a524e])&&(_0x3b69db=(_0x30b3c7?_0x55cc21(_0xc09ea3,_0x1a1262,_0x3b69db):_0x55cc21(_0x3b69db))||_0x3b69db);return _0x30b3c7&&_0x3b69db&&to(_0xc09ea3,_0x1a1262,_0x3b69db),_0x3b69db;},Mt=(_0x279db8,_0x15c462)=>(_0x3829d2,_0x178dc4)=>_0x15c462(_0x3829d2,_0x178dc4,_0x279db8);function no(_0x476b19){const _0x133d89=_0x18be96,{unitID:_0x1e65eb,mutations:_0x5137e5}=_0x476b19;return{'unitId':_0x1e65eb,'subUnitId':_0x5137e5[0x0]['params'][_0x133d89(0x256)]};}let vt=class{constructor(_0x46cd44,_0x5388ce,_0x167ac5){const _0x17b797=_0x18be96;this[_0x17b797(0x273)]=_0x46cd44,this[_0x17b797(0x38f)]=_0x5388ce,this[_0x17b797(0x3d2)]=_0x167ac5;}[_0x18be96(0x419)](_0x45d6f2){const _0x6cec78=_0x18be96;var _0x1f1873,_0x3e5fe3,_0xe287e4,_0x48ea52;const _0x47c751=this[_0x6cec78(0x273)][_0x6cec78(0x281)](_0x23ad72),{unitId:_0x1a9cfc,subUnitId:_0x2da4a9}=no(_0x45d6f2),_0xa9fbd9=_0x47c751[_0x6cec78(0x1ae)](_0x1a9cfc)[_0x6cec78(0x4f1)](),_0xbe2a3e=(_0x3e5fe3=(_0x1f1873=this[_0x6cec78(0x3d2)][_0x6cec78(0x48f)](_0x1a9cfc))==null?void 0x0:_0x1f1873[_0x6cec78(0x4e9)]())==null?void 0x0:_0x3e5fe3[_0x6cec78(0x26e)]();if(_0xa9fbd9[_0x6cec78(0x3fe)]===0x0||!_0x1a9cfc||!_0x2da4a9)return;const _0x5bf383=[{'id':_0xfb1397['id'],'params':{'unitId':_0x1a9cfc,'subUnitId':_0xbe2a3e,'selections':_0x3c4730['deepClone'](_0xa9fbd9)}}],_0x524554=this[_0x6cec78(0x38f)][_0x6cec78(0x291)](_0x45d6f2,_0x5bf383);if(!_0x2a5aee(_0x524554))throw _0x524554[_0x6cec78(0x494)];const _0x4c5b12=(_0x48ea52=(_0xe287e4=_0x524554[_0x6cec78(0x446)][0x0])==null?void 0x0:_0xe287e4['params'])==null?void 0x0:_0x48ea52[_0x6cec78(0x2fc)];if(Array['isArray'](_0x4c5b12)&&_0x4c5b12['length']){if(_0x4c5b12[_0x6cec78(0x3fe)]===_0x5bf383[0x0][_0x6cec78(0x1cc)]['selections'][_0x6cec78(0x3fe)]&&_0x4c5b12[_0x6cec78(0x2d6)]((_0x485a33,_0x1b9b22)=>_0x41e881['equals'](_0x485a33[_0x6cec78(0x4c4)],_0x5bf383[0x0][_0x6cec78(0x1cc)]['selections'][_0x1b9b22][_0x6cec78(0x4c4)])))return;this[_0x6cec78(0x273)]['get'](_0x1078f7)[_0x6cec78(0x180)](_0xfb1397['id'],{'unitId':_0x1a9cfc,'subUnitId':_0xbe2a3e,'selections':_0x4c5b12});}}};vt=io([Mt(0x0,_0x5a6d6a(_0x5081af)),Mt(0x1,_0x56124f),Mt(0x2,_0x1f1cc4)],vt);const Rt=_0x48646b(_0x18be96(0x367));var Di=(_0x242a16=>(_0x242a16[_0x242a16[_0x18be96(0x4b8)]=0x0]=_0x18be96(0x4b8),_0x242a16[_0x242a16['OTHER_CLIENTS_EDITING']=0x1]=_0x18be96(0x2f7),_0x242a16))(Di||{});const ks=0x7530,Ws=_0x18be96(0x406);class ro extends _0x5689e0{constructor(){const _0x5301e9=_0x18be96;super(),g(this,_0x5301e9(0x3cc),_0x3c4730[_0x5301e9(0x531)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x5301e9(0x525),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x5301e9(0x2d0),new Map()),g(this,'_unitStatus',new Map()),this[_0x5301e9(0x466)]();}[_0x18be96(0x2e5)](){const _0x4491d1=_0x18be96;super[_0x4491d1(0x2e5)](),this[_0x4491d1(0x2d0)][_0x4491d1(0x1ce)]((_0x37d108,_0x2559e0)=>this[_0x4491d1(0x1a2)](_0x2559e0)),this[_0x4491d1(0x42d)]&&window[_0x4491d1(0x3c7)](this['_heartbeatTimer']);}[_0x18be96(0x1df)](_0x1073ca){const _0x54e1c6=_0x18be96;return this[_0x54e1c6(0x46f)](_0x1073ca)[_0x54e1c6(0x1e7)](_0x577349());}['editingUnit'](_0x10df6b){const _0x15ff7b=_0x18be96;this[_0x15ff7b(0x31d)][_0x15ff7b(0x4b6)]===0x0&&this['_scheduleHeartbeat'](),this[_0x15ff7b(0x31d)][_0x15ff7b(0x338)](_0x10df6b),this[_0x15ff7b(0x4ba)]({'type':0x0,'memberID':this[_0x15ff7b(0x3cc)],'unitIDs':[_0x10df6b],'isForwarded':!0x1});}[_0x18be96(0x351)](_0x489603){const _0x565b5e=_0x18be96;this[_0x565b5e(0x31d)][_0x565b5e(0x249)](_0x489603),this[_0x565b5e(0x31d)][_0x565b5e(0x4b6)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x18be96(0x466)](){const _0x1b1ef0=_0x18be96;this['disposeWithMe'](_0x186f86(_0x11a751(window,'storage')['subscribe'](_0x732211=>{const _0x4a92db=_0x3fdc;if(_0x732211[_0x4a92db(0x14a)]!==Ws||!_0x732211[_0x4a92db(0x1ed)])return;const _0x3a8b88=JSON[_0x4a92db(0x3ef)](_0x732211[_0x4a92db(0x1ed)]);this[_0x4a92db(0x36c)](_0x3a8b88);}))),window[_0x1b1ef0(0x4cc)](_0x1b1ef0(0x2f0),()=>this[_0x1b1ef0(0x4ba)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1b1ef0(0x3eb)](this[_0x1b1ef0(0x31d)])}));}[_0x18be96(0x36c)](_0x32041e){const _0x308de3=_0x18be96;switch(_0x32041e[_0x308de3(0x307)]){case 0x0:this[_0x308de3(0x132)](_0x32041e);break;case 0x1:this[_0x308de3(0x4fa)](_0x32041e);break;case 0x2:this['_handleHeartbeatEvent'](_0x32041e);break;}}[_0x18be96(0x132)](_0x1da454){const _0x514d31=_0x18be96,{unitIDs:_0x548b80,memberID:_0x41d634,isForwarded:_0x28d8fb}=_0x1da454;_0x548b80[_0x514d31(0x1ce)](_0x2e936f=>{const _0x121055=_0x514d31;if(!_0x28d8fb&&this[_0x121055(0x525)][_0x121055(0x3a5)](_0x2e936f)&&this[_0x121055(0x46f)](_0x2e936f)[_0x121055(0x319)](0x1),!this[_0x121055(0x525)][_0x121055(0x3a5)](_0x2e936f)||!this[_0x121055(0x525)][_0x121055(0x281)](_0x2e936f)['has'](_0x41d634)){const _0x116286=this[_0x121055(0x525)][_0x121055(0x281)](_0x2e936f)||new Set();_0x116286[_0x121055(0x338)](_0x41d634),this[_0x121055(0x525)][_0x121055(0x29c)](_0x2e936f,_0x116286),this[_0x121055(0x3e1)](_0x41d634);}}),_0x28d8fb||this['_send']({'type':0x0,'memberID':this[_0x514d31(0x3cc)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x18be96(0x3e1)](_0x2c2a1b){const _0x243918=_0x18be96;this['_removeClearOtherTimer'](_0x2c2a1b);const _0x56e691=window[_0x243918(0x382)](()=>{const _0x519939=_0x243918;this[_0x519939(0x525)][_0x519939(0x1ce)](_0x1323cb=>{const _0x2cce91=_0x519939;_0x1323cb[_0x2cce91(0x249)](_0x2c2a1b);});},ks*0x2);this[_0x243918(0x2d0)][_0x243918(0x29c)](_0x2c2a1b,_0x56e691);}[_0x18be96(0x1a2)](_0xea2276){const _0x5ee986=_0x18be96;if(this[_0x5ee986(0x2d0)][_0x5ee986(0x3a5)](_0xea2276)){const _0x43fe19=this[_0x5ee986(0x2d0)][_0x5ee986(0x281)](_0xea2276);_0x43fe19&&window['clearTimeout'](_0x43fe19),this[_0x5ee986(0x2d0)][_0x5ee986(0x29c)](_0xea2276,null);}}[_0x18be96(0x4fa)](_0x24b470){const _0x1fb990=_0x18be96,{memberID:_0x275bed,unitIDs:_0x7da310}=_0x24b470;_0x7da310[_0x1fb990(0x1ce)](_0x13a470=>{const _0x400066=_0x1fb990;var _0x39d187;const _0x2bd21d=this[_0x400066(0x525)][_0x400066(0x281)](_0x13a470);_0x2bd21d&&(_0x2bd21d['delete'](_0x275bed),(_0x39d187=this[_0x400066(0x46f)](_0x13a470))==null||_0x39d187[_0x400066(0x319)](_0x2bd21d[_0x400066(0x4b6)]===0x0?0x0:0x1));}),this[_0x1fb990(0x1a2)](_0x275bed);}[_0x18be96(0x2da)](_0x324bd5){const _0x1ea9d3=_0x18be96;this[_0x1ea9d3(0x3e1)](_0x324bd5[_0x1ea9d3(0x21d)]);}[_0x18be96(0x4ba)](_0x5cb470){const _0x37fe71=_0x18be96;localStorage[_0x37fe71(0x33e)](Ws,JSON[_0x37fe71(0x2e7)](_0x5cb470));}[_0x18be96(0x41d)](){const _0x45430a=_0x18be96;this[_0x45430a(0x42d)]=window['setInterval'](()=>{const _0x14cfe9=_0x45430a;this[_0x14cfe9(0x4ba)]({'type':0x2,'memberID':this[_0x14cfe9(0x3cc)]});},ks);}[_0x18be96(0x46f)](_0x1f95b3){const _0x3ee0e4=_0x18be96;return this['_unitStatus'][_0x3ee0e4(0x3a5)](_0x1f95b3)||this[_0x3ee0e4(0x1db)][_0x3ee0e4(0x29c)](_0x1f95b3,new _0x398285(0x0)),this[_0x3ee0e4(0x1db)][_0x3ee0e4(0x281)](_0x1f95b3);}}var oo=Object[_0x18be96(0x2b6)],ao=Object['getOwnPropertyDescriptor'],co=(_0x55ef96,_0x366221,_0x29cb0c,_0x3fc911)=>{const _0x1bc813=_0x18be96;for(var _0x43722c=_0x3fc911>0x1?void 0x0:_0x3fc911?ao(_0x366221,_0x29cb0c):_0x366221,_0x367b56=_0x55ef96[_0x1bc813(0x3fe)]-0x1,_0xe810f4;_0x367b56>=0x0;_0x367b56--)(_0xe810f4=_0x55ef96[_0x367b56])&&(_0x43722c=(_0x3fc911?_0xe810f4(_0x366221,_0x29cb0c,_0x43722c):_0xe810f4(_0x43722c))||_0x43722c);return _0x3fc911&&_0x43722c&&oo(_0x366221,_0x29cb0c,_0x43722c),_0x43722c;},xt=(_0x592b98,_0xef5b67)=>(_0x1a46eb,_0x2fb442)=>_0xef5b67(_0x1a46eb,_0x2fb442,_0x592b98);let mt=class{constructor(_0x5714e1,_0x21da3d,_0x3e60ae){const _0x30b181=_0x18be96;this[_0x30b181(0x273)]=_0x5714e1,this[_0x30b181(0x38f)]=_0x21da3d,this[_0x30b181(0x340)]=_0x3e60ae;}[_0x18be96(0x36a)](_0xf01cb7){this['_transformHistoryAndStateStack'](_0xf01cb7);}['transformRemoteChangeset'](_0x5c8e54){const _0x224052=_0x18be96,{unitID:_0x3116a8}=_0x5c8e54,{collaboration:_0x2c633f}=this['_docStateChangeManagerService'][_0x224052(0x2b8)](_0x3116a8);if(_0x2c633f[_0x224052(0x3fe)]===0x0)return _0x5c8e54;let _0x197bba=_0x3c4730['deepClone'](_0x5c8e54[_0x224052(0x3d4)][0x0]);for(let _0x22d781=0x0;_0x22d781<_0x2c633f[_0x224052(0x3fe)];_0x22d781++){const _0x3723f1={'id':_0x224052(0x4e4),'params':{'unitId':_0x2c633f[_0x22d781][_0x224052(0x45a)],..._0x2c633f[_0x22d781][_0x224052(0x528)]}},_0x36fa86=this[_0x224052(0x38f)]['transformMutation'](_0x197bba,_0x3723f1,!0x1);if(_0x55ec7f(_0x36fa86))throw _0x36fa86[_0x224052(0x494)];_0x197bba=_0x36fa86[_0x224052(0x32b)];}return{..._0x3c4730[_0x224052(0x215)](_0x5c8e54),'mutations':[_0x197bba]};}[_0x18be96(0x279)](_0x24325c){const _0x3a4224=_0x18be96,{unitID:_0x55df4a}=_0x24325c,{history:_0x4fe249,collaboration:_0x11f410}=this[_0x3a4224(0x340)][_0x3a4224(0x2b8)](_0x55df4a);if(_0x4fe249[_0x3a4224(0x3fe)]===0x0&&_0x11f410[_0x3a4224(0x3fe)]===0x0)return;const _0x5aae19=[],_0xff8c7c=[];let _0x267c44=_0x3c4730[_0x3a4224(0x215)](_0x24325c['mutations'][0x0]),_0x82c68f=_0x3c4730[_0x3a4224(0x215)](_0x24325c['mutations'][0x0]);for(let _0x364038=_0x4fe249['length']-0x1;_0x364038>=0x0;_0x364038--){const _0x2be44e={'id':_0x3a4224(0x4e4),'params':{'unitId':_0x4fe249[_0x364038][_0x3a4224(0x45a)],..._0x4fe249[_0x364038][_0x3a4224(0x228)]}},_0x5f2983={'id':_0x3a4224(0x4e4),'params':{'unitId':_0x4fe249[_0x364038][_0x3a4224(0x45a)],..._0x4fe249[_0x364038][_0x3a4224(0x528)]}},_0x1d9034=this[_0x3a4224(0x38f)][_0x3a4224(0x52f)](_0x267c44,_0x2be44e,!0x1),_0x5ccaea=this[_0x3a4224(0x38f)]['transformMutation'](_0x82c68f,_0x5f2983,!0x1);if(_0x55ec7f(_0x1d9034))throw _0x1d9034[_0x3a4224(0x494)];if(_0x55ec7f(_0x5ccaea))throw _0x5ccaea[_0x3a4224(0x494)];_0x5aae19[_0x3a4224(0x153)]({..._0x4fe249[_0x364038],'undoState':_0x1d9034[_0x3a4224(0x446)][_0x3a4224(0x1cc)],'redoState':_0x5ccaea[_0x3a4224(0x446)][_0x3a4224(0x1cc)]}),_0x267c44=_0x1d9034[_0x3a4224(0x32b)],_0x82c68f=_0x5ccaea[_0x3a4224(0x32b)];}_0x267c44=_0x3c4730['deepClone'](_0x24325c[_0x3a4224(0x3d4)][0x0]),_0x82c68f=_0x3c4730[_0x3a4224(0x215)](_0x24325c[_0x3a4224(0x3d4)][0x0]);for(let _0x2982a1=_0x11f410[_0x3a4224(0x3fe)]-0x1;_0x2982a1>=0x0;_0x2982a1--){const _0x46c104={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11f410[_0x2982a1][_0x3a4224(0x45a)],..._0x11f410[_0x2982a1][_0x3a4224(0x228)]}},_0x233698={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11f410[_0x2982a1][_0x3a4224(0x45a)],..._0x11f410[_0x2982a1][_0x3a4224(0x528)]}},_0x2905e4=this[_0x3a4224(0x38f)][_0x3a4224(0x52f)](_0x267c44,_0x46c104,!0x1),_0x220f77=this[_0x3a4224(0x38f)][_0x3a4224(0x52f)](_0x82c68f,_0x233698,!0x1);if(_0x55ec7f(_0x2905e4))throw _0x2905e4[_0x3a4224(0x494)];if(_0x55ec7f(_0x220f77))throw _0x220f77['error'];_0xff8c7c[_0x3a4224(0x153)]({..._0x11f410[_0x2982a1],'undoState':_0x2905e4['m2Prime'][_0x3a4224(0x1cc)],'redoState':_0x220f77[_0x3a4224(0x446)][_0x3a4224(0x1cc)]}),_0x267c44=_0x2905e4[_0x3a4224(0x32b)],_0x82c68f=_0x220f77[_0x3a4224(0x32b)];}this['_docStateChangeManagerService'][_0x3a4224(0x2f6)](_0x55df4a,{'history':_0x5aae19,'collaboration':_0xff8c7c});}};mt=co([xt(0x0,_0x5a6d6a(_0x5081af)),xt(0x1,_0x56124f),xt(0x2,_0x5a6d6a(_0x388e27))],mt);function Pi(_0x15464c){let _0x275073='';for(const _0x488467 of _0x15464c){const {startOffset:_0x5c0cee,endOffset:_0x11f210,isActive:_0x11d52f,rangeType:_0x3082e4,segmentId:_0x282295,segmentPage:_0x653612}=_0x488467;_0x275073['length']&&(_0x275073+=','),_0x275073+=_0x5c0cee+':'+_0x11f210+':'+(_0x11d52f?'1':'0')+':'+_0x3082e4+':'+_0x282295+':'+_0x653612;}return _0x275073;}function ho(_0x4c9634){const _0xb48cbf=_0x18be96,_0x4e5716=_0x4c9634[_0xb48cbf(0x13b)](','),_0x14d491=[];for(const _0x3f58a8 of _0x4e5716){const [_0x134639,_0x30ba4f,_0x1bd406,_0x1a7b09,_0x5143d9,_0x73aa28]=_0x3f58a8[_0xb48cbf(0x13b)](':');_0x14d491[_0xb48cbf(0x263)]({'startOffset':Number(_0x134639),'endOffset':Number(_0x30ba4f),'collapsed':_0x134639===_0x30ba4f,'isActive':_0x1bd406==='1','rangeType':_0x1a7b09===_0x2aeffc[_0xb48cbf(0x278)]?_0x2aeffc[_0xb48cbf(0x278)]:_0x2aeffc[_0xb48cbf(0x2bd)],'segmentId':typeof _0x5143d9=='string'?String(_0x5143d9):'','segmentPage':Number(_0x73aa28!=null?_0x73aa28:-0x1)});}return _0x14d491[_0xb48cbf(0x1f0)](_0x131a83=>_0x131a83['isActive'])||(_0x14d491[0x0]['isActive']=!0x0),_0x14d491;}class Cs extends _0x2a7a1c{constructor(){const _0x505020=_0x18be96;super(...arguments),g(this,_0x505020(0x3c5),new _0x398285(null)),g(this,_0x505020(0x4f9),this[_0x505020(0x3c5)][_0x505020(0x35e)]());}['syncEditingCollabCursor'](_0x1316d8){const _0x2a19bd=_0x18be96,{unitID:_0x581f91,memberID:_0x14bdfd,textRanges:_0x20cb0e}=_0x1316d8,_0xeafa2e=Pi(_0x20cb0e);if(_0xeafa2e==='')return;const _0x5193af={'unitID':_0x581f91,'memberID':_0x14bdfd,'selection':_0xeafa2e};this['_collabCursorState$'][_0x2a19bd(0x319)](_0x5193af);}}var lo=Object[_0x18be96(0x2b6)],_o=Object[_0x18be96(0x48e)],uo=(_0x1b441c,_0x2ac57d,_0x48a0ee,_0x588a6a)=>{const _0x3a1591=_0x18be96;for(var _0x27e90d=_0x588a6a>0x1?void 0x0:_0x588a6a?_o(_0x2ac57d,_0x48a0ee):_0x2ac57d,_0x528f46=_0x1b441c[_0x3a1591(0x3fe)]-0x1,_0x4f3580;_0x528f46>=0x0;_0x528f46--)(_0x4f3580=_0x1b441c[_0x528f46])&&(_0x27e90d=(_0x588a6a?_0x4f3580(_0x2ac57d,_0x48a0ee,_0x27e90d):_0x4f3580(_0x27e90d))||_0x27e90d);return _0x588a6a&&_0x27e90d&&lo(_0x2ac57d,_0x48a0ee,_0x27e90d),_0x27e90d;},Fs=(_0x50f1f0,_0x32f3c3)=>(_0x43546a,_0x49077f)=>_0x32f3c3(_0x43546a,_0x49077f,_0x50f1f0);let pt=class{constructor(_0xe35ef1,_0x4c665f){const _0x203e14=_0x18be96;this[_0x203e14(0x273)]=_0xe35ef1,this[_0x203e14(0x38f)]=_0x4c665f;}[_0x18be96(0x419)](_0x5d7ae7){const _0x20c901=_0x18be96;var _0x1a96a5;const _0x5dfa21=this['_injector'][_0x20c901(0x281)](_0x5b2f3a),_0x566512=(_0x1a96a5=_0x5dfa21[_0x20c901(0x2e2)]())!=null?_0x1a96a5:[];if(_0x566512[_0x20c901(0x3fe)]===0x0)return;const _0x2009a3=_0x5d7ae7[_0x20c901(0x3c4)],_0xcdd0f1=[{'id':_0x20c901(0x4e4),'params':{'unitId':_0x2009a3,'actions':null,'textRanges':_0x566512}}],_0xfa88cb=this[_0x20c901(0x38f)][_0x20c901(0x291)](_0x5d7ae7,_0xcdd0f1);if(!_0x2a5aee(_0xfa88cb))throw _0xfa88cb['error'];const _0x374bc9=_0xfa88cb[_0x20c901(0x446)][0x0][_0x20c901(0x1cc)][_0x20c901(0x461)];Array[_0x20c901(0x3b3)](_0x374bc9)&&_0x374bc9[_0x20c901(0x3fe)]&&_0x5dfa21[_0x20c901(0x1aa)](_0x374bc9,{'unitId':_0x2009a3,'subUnitId':_0x2009a3},!0x1);}};pt=uo([Fs(0x0,_0x5a6d6a(_0x5081af)),Fs(0x1,_0x56124f)],pt);const fo=new Set([_0x2c56aa['id']]);function Vs(_0x168963,_0x166fd4,_0x5085af,_0x51ad03,_0x2615f2){const _0x3ff6a5=_0x18be96;var _0x15c8d8,_0xac4ad,_0x542ab3,_0x4d7c67;const _0x3564be=[];for(const _0x3cadbc of _0x168963)if(fo['has'](_0x3cadbc['id'])){if(_0x3564be[_0x3ff6a5(0x3fe)]>0x0)break;_0x3564be[_0x3ff6a5(0x263)](_0x3cadbc);break;}else _0x3564be[_0x3ff6a5(0x263)](_0x3cadbc);const _0x16968c=(_0xac4ad=(_0x15c8d8=_0x2615f2['getCurrentUser']())==null?void 0x0:_0x15c8d8['userID'])!=null?_0xac4ad:'unknown',_0x304784=(_0x4d7c67=(_0x542ab3=_0x2615f2[_0x3ff6a5(0x285)]())==null?void 0x0:_0x542ab3[_0x3ff6a5(0x21d)])!=null?_0x4d7c67:_0x3ff6a5(0x317);return{'changeset':{'unitID':_0x166fd4,'type':_0xb5b885(_0x5085af['getUnitType'](_0x166fd4)),'baseRev':_0x51ad03['getCurrentRevOfUnit'](_0x166fd4),'revision':0x0,'userID':_0x16968c,'memberID':_0x304784,'mutations':_0x3564be},'pendingMutations':_0x168963['slice'](_0x3564be[_0x3ff6a5(0x3fe)])};}function vo(_0x22b845,_0x26ff9f,_0x4a8534,_0x4eea1e,_0x56d2b7){const _0x328205=_0x18be96;var _0xb84753,_0x146e4d,_0x40ab0f,_0x543b32;const _0x25b099=[_0x22b845[_0x328205(0x1a1)]((_0x286f9,_0x226852)=>{const _0x142adc=_0x328205;var _0x576eec;const {id:_0x4c8d7e}=_0x286f9,{id:_0x2b3b22,type:_0x54b778}=_0x226852,_0x46440b=(_0x576eec=_0x286f9[_0x142adc(0x1cc)])!=null?_0x576eec:{'actions':null},_0x1abc84=_0x226852[_0x142adc(0x1cc)];if(_0x4c8d7e&&_0x4c8d7e!==_0x2b3b22)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4c8d7e+_0x142adc(0x49a)+_0x2b3b22+'.');return{..._0x286f9,'id':_0x2b3b22,'type':_0x54b778,'params':{'unitId':_0x1abc84[_0x142adc(0x45a)],'textRanges':_0x1abc84[_0x142adc(0x461)],'actions':_0x553604[_0x142adc(0x26a)](_0x46440b['actions'],_0x1abc84[_0x142adc(0x208)])}};},{})],_0x265faf=(_0x146e4d=(_0xb84753=_0x56d2b7[_0x328205(0x285)]())==null?void 0x0:_0xb84753[_0x328205(0x189)])!=null?_0x146e4d:'unknown',_0x59fa13=(_0x543b32=(_0x40ab0f=_0x56d2b7[_0x328205(0x285)]())==null?void 0x0:_0x40ab0f[_0x328205(0x21d)])!=null?_0x543b32:_0x328205(0x317);return{'changeset':{'unitID':_0x26ff9f,'type':_0xb5b885(_0x4a8534['getUnitType'](_0x26ff9f)),'baseRev':_0x4eea1e[_0x328205(0x214)](_0x26ff9f),'revision':0x0,'userID':_0x265faf,'memberID':_0x59fa13,'mutations':_0x25b099},'pendingMutations':[]};}function Ui(_0x46ca17,_0x367fc6){const _0x1d0c9b=_0x18be96,_0x49b7b7=new _0x4c5d09(0x1);return setTimeout(()=>_0x49b7b7[_0x1d0c9b(0x319)](_0x367fc6),_0x46ca17),_0x49b7b7[_0x1d0c9b(0x35e)]()['pipe'](_0x1ea4cd(0x1));}const mo={'id':_0x2f7f85['id'],'type':_0xe820e2[_0x18be96(0x301)],'params':{}};var po=Object['defineProperty'],go=Object[_0x18be96(0x48e)],Le=(_0x14bd85,_0x41f45b,_0x14671a,_0x4e9a4a)=>{const _0xd8ca9b=_0x18be96;for(var _0xe71179=_0x4e9a4a>0x1?void 0x0:_0x4e9a4a?go(_0x41f45b,_0x14671a):_0x41f45b,_0x3946e3=_0x14bd85[_0xd8ca9b(0x3fe)]-0x1,_0x52a584;_0x3946e3>=0x0;_0x3946e3--)(_0x52a584=_0x14bd85[_0x3946e3])&&(_0xe71179=(_0x4e9a4a?_0x52a584(_0x41f45b,_0x14671a,_0xe71179):_0x52a584(_0xe71179))||_0xe71179);return _0x4e9a4a&&_0xe71179&&po(_0x41f45b,_0x14671a,_0xe71179),_0xe71179;},A=(_0x1a2738,_0x1ca0b5)=>(_0x2b08a8,_0x199669)=>_0x1ca0b5(_0x2b08a8,_0x199669,_0x1a2738),J=(_0x262dc8=>(_0x262dc8[_0x18be96(0x176)]=_0x18be96(0x155),_0x262dc8[_0x18be96(0x477)]=_0x18be96(0x229),_0x262dc8[_0x18be96(0x407)]='pending',_0x262dc8[_0x18be96(0x3bd)]='awaiting',_0x262dc8['AWAITING_WITH_PENDING']=_0x18be96(0x2e6),_0x262dc8[_0x18be96(0x364)]=_0x18be96(0x1b8),_0x262dc8[_0x18be96(0x23e)]=_0x18be96(0x4f2),_0x262dc8[_0x18be96(0x167)]=_0x18be96(0x366),_0x262dc8))(J||{});const Ni=0xea60;class $e{constructor(_0x457aaa,_0xff7aa9,_0x1b245f,_0x92d552,_0x3960cc,_0x453cfd,_0x4f2c54,_0xa92ed,_0x5204f8){const _0x4ac4a4=_0x18be96;g(this,_0x4ac4a4(0x246),null),g(this,_0x4ac4a4(0x345),[]),(this[_0x4ac4a4(0x3c4)]=_0x457aaa,this[_0x4ac4a4(0x307)]=_0xff7aa9,this['_handler']=_0x3960cc,this[_0x4ac4a4(0x20f)]=_0x453cfd,this['_undoRedoService']=_0x4f2c54,this[_0x4ac4a4(0x4c9)]=_0xa92ed,this[_0x4ac4a4(0x252)]=_0x5204f8,this[_0x4ac4a4(0x246)]=_0x1b245f,this[_0x4ac4a4(0x345)]=_0x92d552);}[_0x18be96(0x2b2)](_0x4b1e19){const _0x17f61f=_0x18be96,_0x4bdd57=this[_0x17f61f(0x4c9)][_0x17f61f(0x214)](this[_0x17f61f(0x3c4)]);return _0x4b1e19[_0x17f61f(0x17e)]>_0x4bdd57+0x1?(this[_0x17f61f(0x1f8)][_0x17f61f(0x4bc)]({'from':_0x4bdd57,'to':_0x4b1e19['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5a6f4e){const _0x38c1d9=_0x18be96;this[_0x38c1d9(0x30a)][_0x38c1d9(0x21c)](this[_0x38c1d9(0x3c4)],_0x5a6f4e);}[_0x18be96(0x4b3)](_0x49f062){const _0xcda226=_0x18be96;var _0x18a918,_0x243c9e;(_0x243c9e=(_0x18a918=this[_0xcda226(0x1f8)])[_0xcda226(0x237)])==null||_0x243c9e[_0xcda226(0x2bb)](_0x18a918,_0x49f062);}[_0x18be96(0x451)](_0x530092){const _0x501393=_0x18be96;var _0x38146c,_0x1a920a;return(_0x1a920a=(_0x38146c=this[_0x501393(0x1f8)])['onTransformIME'])==null?void 0x0:_0x1a920a[_0x501393(0x2bb)](_0x38146c,_0x530092);}['_transformStateCache'](_0x21a59a){const _0x167b2a=_0x18be96;var _0x3fae0d,_0x5d4e1d;return(_0x5d4e1d=(_0x3fae0d=this['_handler'])[_0x167b2a(0x280)])==null?void 0x0:_0x5d4e1d['call'](_0x3fae0d,_0x21a59a);}['_transformRemoteChangesetByIMECache'](_0x187d4){const _0x2de4e1=_0x18be96;var _0x28a8bd,_0x1496bb,_0x1fe613;return(_0x1fe613=(_0x1496bb=(_0x28a8bd=this[_0x2de4e1(0x1f8)])[_0x2de4e1(0x181)])==null?void 0x0:_0x1496bb[_0x2de4e1(0x2bb)](_0x28a8bd,_0x187d4))!=null?_0x1fe613:_0x187d4;}[_0x18be96(0x4ea)](_0x4d917f){const _0x22ba13=_0x18be96;var _0x190764,_0x815e0e,_0x599778;return(_0x599778=(_0x815e0e=(_0x190764=this[_0x22ba13(0x1f8)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x815e0e['call'](_0x190764,_0x4d917f))!=null?_0x599778:_0x4d917f;}[_0x18be96(0x175)](_0x3376f8){const _0xe4a8d0=_0x18be96;var _0x927ec1,_0x511466;if(this[_0xe4a8d0(0x307)]===ce[_0xe4a8d0(0x24b)]){const {unitID:_0x279dd4,mutations:_0x499ead,memberID:_0x53d31b}=_0x3376f8,_0x340be6=_0x499ead[0x0][_0xe4a8d0(0x1cc)]['textRanges'];Array[_0xe4a8d0(0x3b3)](_0x340be6)&&_0x340be6[_0xe4a8d0(0x3fe)]>0x0&&((_0x511466=(_0x927ec1=this[_0xe4a8d0(0x1f8)])[_0xe4a8d0(0x441)])==null||_0x511466[_0xe4a8d0(0x2bb)](_0x927ec1,{'unitID':_0x279dd4,'memberID':_0x53d31b,'textRanges':_0x340be6}));}}[_0x18be96(0x329)](){const _0x44d028=_0x18be96;this['_localCacheService'][_0x44d028(0x1bf)](this[_0x44d028(0x3c4)],this[_0x44d028(0x307)],this[_0x44d028(0x246)],this[_0x44d028(0x345)]);}[_0x18be96(0x289)](){const _0x4e085e=_0x18be96;return this[_0x4e085e(0x4c9)]['getCurrentRevOfUnit'](this[_0x4e085e(0x3c4)]);}['_incrementRevisionNumber'](){const _0x44083d=_0x18be96;this[_0x44083d(0x4c9)]['incrementRevOfUnit'](this[_0x44083d(0x3c4)]);}['_executeRemoteChangeset'](_0x394ce3){const _0x20116a=_0x18be96;var _0x534ede;let _0x504c67=this[_0x20116a(0x38d)](_0x394ce3);_0x504c67=this['_transformRemoteChangesetByStateCache'](_0x504c67);const _0x2c55cc=_0x4661c1(_0x504c67['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x2c55cc[_0x20116a(0x1fb)])throw _0x2c55cc['error']instanceof Error?_0x2c55cc[_0x20116a(0x494)]:new Error((_0x534ede=_0x2c55cc[_0x20116a(0x494)])!=null?_0x534ede:_0x20116a(0x16c));this['_transformIMECache'](_0x504c67),this[_0x20116a(0x436)](_0x504c67),this[_0x20116a(0x3cf)](_0x394ce3),this[_0x20116a(0x4b3)](_0x504c67),this[_0x20116a(0x175)](_0x504c67),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x3facca,_0x1ff2d2,_0x3823c4,_0x46c196,_0x5432d0,_0x235cc0,_0x3a051f,_0x341567,_0x24a1f5,_0x5f0e5b){const _0xf290c=_0x18be96;super(_0x3facca,_0x1ff2d2,null,[],_0x3823c4,_0x341567,_0x3a051f,_0x46c196,_0x5432d0),g(this,_0xf290c(0x2cf),_0xf290c(0x229)),(this[_0xf290c(0x273)]=_0x235cc0,this[_0xf290c(0x47f)]=_0x24a1f5,this[_0xf290c(0x38f)]=_0x5f0e5b);}[_0x18be96(0x4f6)](_0x4aa781){const _0x121fb2=_0x18be96,_0x356dc4=this[_0x121fb2(0x273)][_0x121fb2(0x2eb)](pe,this[_0x121fb2(0x3c4)],this[_0x121fb2(0x307)],[_0x4aa781],this[_0x121fb2(0x1f8)]);return _0x356dc4[_0x121fb2(0x1e2)](),_0x356dc4[_0x121fb2(0x329)](),_0x356dc4;}[_0x18be96(0x4a0)](_0x34158d){const _0x1491e3=_0x18be96;if(this[_0x1491e3(0x2b2)](_0x34158d))return this[_0x1491e3(0x273)][_0x1491e3(0x2eb)](he,this['unitID'],this[_0x1491e3(0x307)],null,[],null,[_0x34158d],this['_handler']);try{const _0x11835f=this[_0x1491e3(0x38f)][_0x1491e3(0x291)](_0x34158d,[mo]);if(_0x2a5aee(_0x11835f)){const {c1Prime:_0x3e04d8}=_0x11835f;return this[_0x1491e3(0x539)](_0x3e04d8),this;}throw _0x11835f['error'];}catch(_0x596a30){return this[_0x1491e3(0x47f)][_0x1491e3(0x494)](_0x596a30),this[_0x1491e3(0x331)](!0x1);}}['_onConflict'](_0x50aed7){const _0x335323=_0x18be96;return this[_0x335323(0x273)][_0x335323(0x2eb)](Re,this['unitID'],this[_0x335323(0x307)],null,[],this[_0x335323(0x1f8)],_0x50aed7);}['onRemoteAck'](){const _0xa8d4d=_0x18be96;throw new Error(_0xa8d4d(0x2c7));}['onRemoteRej'](){const _0x26bb08=_0x18be96;throw new Error(_0x26bb08(0x540));}['onRemoteRetry'](){return this;}[_0x18be96(0x543)](){const _0x290f86=_0x18be96;return this[_0x290f86(0x273)][_0x290f86(0x2eb)](ye,this[_0x290f86(0x3c4)],this['type'],null,[],this['_handler']);}[_0x18be96(0x524)](){return this;}[_0x18be96(0x3c1)](){const _0xc5689b=_0x18be96;throw new Error(_0xc5689b(0x1c0));}[_0x18be96(0x445)](){const _0x5740dc=_0x18be96,_0x197cfe=this['_revisionService'][_0x5740dc(0x214)](this['unitID']);return this[_0x5740dc(0x1f8)][_0x5740dc(0x4bc)]({'from':_0x197cfe,'to':0x0}),this[_0x5740dc(0x273)][_0x5740dc(0x2eb)](he,this[_0x5740dc(0x3c4)],this[_0x5740dc(0x307)],null,[],null,[],this['_handler']);}};Fe=Le([A(0x3,_0x5a6d6a(_0x4839c7)),A(0x4,_0x5a6d6a(q)),A(0x5,_0x5a6d6a(_0x5081af)),A(0x6,_0x1cae06),A(0x7,_0x1078f7),A(0x8,_0x18037c),A(0x9,_0x56124f)],Fe);let pe=class extends $e{constructor(_0x27fa83,_0x2f98f8,_0x10ec44,_0x13f2a5,_0x1effb0,_0x6755a8,_0x520d76,_0x2f02a4,_0x71db2,_0x1e944a,_0x2b0f1e,_0x3acf49,_0x582838,_0x258a23){const _0x47682c=_0x18be96;super(_0x27fa83,_0x2f98f8,null,_0x10ec44,_0x13f2a5,_0x1e944a,_0x258a23,_0x6755a8,_0x520d76),g(this,'status',_0x47682c(0x499)),g(this,_0x47682c(0x12d),null),g(this,_0x47682c(0x198),null),(this['_injector']=_0x1effb0,this[_0x47682c(0x431)]=_0x2f02a4,this['_logService']=_0x71db2,this[_0x47682c(0x36d)]=_0x2b0f1e,this[_0x47682c(0x38f)]=_0x3acf49,this[_0x47682c(0x1bb)]=_0x582838);}['appendMutation'](_0x529493){const _0x1e1573=_0x18be96;return this[_0x1e1573(0x345)][_0x1e1573(0x263)](_0x529493),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1f276f){const _0x3e2cad=_0x18be96;if(this[_0x3e2cad(0x2b2)](_0x1f276f))return this[_0x3e2cad(0x166)](),this[_0x3e2cad(0x273)][_0x3e2cad(0x2eb)](he,this[_0x3e2cad(0x3c4)],this[_0x3e2cad(0x307)],null,this[_0x3e2cad(0x345)],null,[_0x1f276f],this[_0x3e2cad(0x1f8)]);try{const _0x56ca89=this[_0x3e2cad(0x38f)][_0x3e2cad(0x291)](_0x1f276f,this[_0x3e2cad(0x345)]);if(_0x2a5aee(_0x56ca89)){const {c1Prime:_0x111ab5,m2Prime:_0x4596a7}=_0x56ca89;this[_0x3e2cad(0x539)](_0x111ab5);const _0x226e88=this[_0x3e2cad(0x273)][_0x3e2cad(0x2eb)](pe,this[_0x3e2cad(0x3c4)],this[_0x3e2cad(0x307)],_0x4596a7,this[_0x3e2cad(0x1f8)]);return this[_0x3e2cad(0x166)](),_0x226e88[_0x3e2cad(0x1e2)](this['_scheduleTimestamp']?Math[_0x3e2cad(0x272)](0x0,new Date()[_0x3e2cad(0x1fc)]()-this[_0x3e2cad(0x12d)]):this[_0x3e2cad(0x4de)]()),_0x226e88;}throw _0x56ca89[_0x3e2cad(0x494)];}catch(_0x30e9e2){return this[_0x3e2cad(0x47f)][_0x3e2cad(0x494)](_0x30e9e2),this['_onConflict'](!0x1);}}[_0x18be96(0x426)](){const _0x5a8f2e=_0x18be96;throw new Error(_0x5a8f2e(0x26d));}['onRemoteRej'](){const _0x5bd6f7=_0x18be96;throw new Error(_0x5bd6f7(0x398));}['onRemoteRetry'](){return this;}[_0x18be96(0x543)](){const _0x51e556=_0x18be96;return this[_0x51e556(0x166)](),this['_injector'][_0x51e556(0x2eb)](ye,this[_0x51e556(0x3c4)],this['type'],null,this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x18be96(0x1e2)](_0x2e72dc){const _0x2ef525=_0x18be96,_0x43052e=_0x2e72dc!=null?_0x2e72dc:this['_getSendChangesetTimeout']();this[_0x2ef525(0x12d)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x2ef525(0x382)](()=>{const _0x11fda9=_0x2ef525;this[_0x11fda9(0x166)]();let _0x1c7f81=null;switch(this[_0x11fda9(0x307)]){case ce[_0x11fda9(0x1cd)]:{_0x1c7f81=Vs(this[_0x11fda9(0x345)],this['unitID'],this[_0x11fda9(0x1bb)],this[_0x11fda9(0x4c9)],this[_0x11fda9(0x431)]);break;}case ce['UNIVER_DOC']:{this[_0x11fda9(0x345)][_0x11fda9(0x2d6)](_0x8f4ca1=>_0x8f4ca1['id']===_0x35bc3d['id'])?_0x1c7f81=vo(this['_pendingMutations'],this['unitID'],this[_0x11fda9(0x1bb)],this[_0x11fda9(0x4c9)],this['_memberService']):_0x1c7f81=Vs(this[_0x11fda9(0x345)],this[_0x11fda9(0x3c4)],this['_univerInstanceService'],this[_0x11fda9(0x4c9)],this[_0x11fda9(0x431)]);break;}default:throw new Error(_0x11fda9(0x377)+this[_0x11fda9(0x307)]+'\x20in\x20_schedule.');}const {changeset:_0xfa6d38,pendingMutations:_0x3d88f9}=_0x1c7f81;this[_0x11fda9(0x1f8)][_0x11fda9(0x41c)](_0xfa6d38);const _0x1634bb=_0x3d88f9[_0x11fda9(0x3fe)]?this[_0x11fda9(0x273)]['createInstance'](ge,this[_0x11fda9(0x3c4)],this[_0x11fda9(0x307)],_0xfa6d38,_0x3d88f9,this[_0x11fda9(0x1f8)],void 0x0):this[_0x11fda9(0x273)][_0x11fda9(0x2eb)](Te,this[_0x11fda9(0x3c4)],this[_0x11fda9(0x307)],_0xfa6d38,this[_0x11fda9(0x1f8)]);_0x1634bb['_updateLocalCache'](),this[_0x11fda9(0x1f8)][_0x11fda9(0x4bd)](this,_0x1634bb);},_0x43052e);}[_0x18be96(0x4de)](){const _0x2bcaa1=_0x18be96;var _0x1aecd3;const _0x5ded37=this[_0x2bcaa1(0x36d)][_0x2bcaa1(0x26f)](ie);return(_0x1aecd3=_0x5ded37==null?void 0x0:_0x5ded37[_0x2bcaa1(0x14d)])!=null?_0x1aecd3:_r;}['resend'](){const _0x27dac5=_0x18be96;throw new Error(_0x27dac5(0x37e));}[_0x18be96(0x166)](){const _0x1e4631=_0x18be96;this[_0x1e4631(0x198)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x18be96(0x331)](_0x2c17d4){const _0x878d65=_0x18be96;return this[_0x878d65(0x166)](),this[_0x878d65(0x273)]['createInstance'](Re,this[_0x878d65(0x3c4)],this[_0x878d65(0x307)],null,this[_0x878d65(0x345)],this[_0x878d65(0x1f8)],_0x2c17d4);}};pe=Le([A(0x4,_0x5a6d6a(_0x5081af)),A(0x5,_0x5a6d6a(_0x4839c7)),A(0x6,_0x5a6d6a(q)),A(0x7,_0x5a6d6a(Ne)),A(0x8,_0x18037c),A(0x9,_0x1078f7),A(0xa,_0x38b553),A(0xb,_0x56124f),A(0xc,_0x1f1cc4),A(0xd,_0x1cae06)],pe);let Te=class extends $e{constructor(_0x456f2e,_0x80130d,_0x3c12d9,_0x337a79,_0x55a7e3,_0x5747b8,_0x988ef7,_0x38b6c0,_0x177f96,_0x37ea05,_0x4a1271){const _0x3f83e3=_0x18be96;super(_0x456f2e,_0x80130d,_0x3c12d9,[],_0x337a79,_0x38b6c0,_0x4a1271,_0x5747b8,_0x988ef7),g(this,_0x3f83e3(0x2cf),_0x3f83e3(0x462)),g(this,'_resendTimeout',0x0),g(this,_0x3f83e3(0x194)),g(this,_0x3f83e3(0x13e)),(this[_0x3f83e3(0x273)]=_0x55a7e3,this['_logService']=_0x177f96,this[_0x3f83e3(0x38f)]=_0x37ea05);}[_0x18be96(0x4f6)](_0x28b2f5){const _0x4b5a9d=_0x18be96;this[_0x4b5a9d(0x166)]();const _0x454f2f=this[_0x4b5a9d(0x273)][_0x4b5a9d(0x2eb)](ge,this[_0x4b5a9d(0x3c4)],this[_0x4b5a9d(0x307)],this['_awaitingChangeset'],[_0x28b2f5],this[_0x4b5a9d(0x1f8)],this[_0x4b5a9d(0x194)]);return _0x454f2f[_0x4b5a9d(0x329)](),_0x454f2f;}[_0x18be96(0x4a0)](_0x263b9f){const _0x2372c6=_0x18be96;if(this[_0x2372c6(0x2b2)](_0x263b9f))return this[_0x2372c6(0x166)](),this[_0x2372c6(0x273)][_0x2372c6(0x2eb)](he,this[_0x2372c6(0x3c4)],this[_0x2372c6(0x307)],this[_0x2372c6(0x246)],[],null,[_0x263b9f],this[_0x2372c6(0x1f8)]);try{const _0x250881=this[_0x2372c6(0x38f)]['transformChangesets']([_0x263b9f],[this[_0x2372c6(0x246)]],!0x1);if(_0x131d97(_0x250881)){const {c1Prime:_0x259a35,c2Prime:_0x5d6c42}=_0x250881;this[_0x2372c6(0x539)](_0x259a35[0x0]),_0x5d6c42[0x0][_0x2372c6(0x46b)]=this[_0x2372c6(0x289)](),this['_clearScheduledTask']();const _0x11e301=this[_0x2372c6(0x273)][_0x2372c6(0x2eb)](Te,this[_0x2372c6(0x3c4)],this[_0x2372c6(0x307)],_0x5d6c42[0x0],this['_handler']);return _0x11e301['_updateLocalCache'](),_0x11e301;}return this[_0x2372c6(0x331)](!0x1);}catch(_0x3bb271){return this['_logService'][_0x2372c6(0x494)](_0x3bb271),this[_0x2372c6(0x331)](!0x1);}}['onRemoteAck'](_0x38eba4){const _0x32a995=_0x18be96;this[_0x32a995(0x166)]();const _0x1a5d7e=this[_0x32a995(0x4c9)]['getCurrentRevOfUnit'](this[_0x32a995(0x3c4)]);if(_0x38eba4[_0x32a995(0x17e)]<_0x1a5d7e-0x1)return this;if(this['_checkMissing'](_0x38eba4))return this[_0x32a995(0x273)][_0x32a995(0x2eb)](he,this[_0x32a995(0x3c4)],this['type'],null,[],this[_0x32a995(0x246)],[],this[_0x32a995(0x1f8)]);this[_0x32a995(0x1bd)]();const _0x4445fc=this[_0x32a995(0x273)][_0x32a995(0x2eb)](Fe,this[_0x32a995(0x3c4)],this[_0x32a995(0x307)],this[_0x32a995(0x1f8)]);return _0x4445fc[_0x32a995(0x329)](),_0x4445fc;}['onRemoteRej'](_0x4006fd){const _0x5a68f2=_0x18be96;return this[_0x5a68f2(0x331)](!!(_0x4006fd!=null&&_0x4006fd[_0x5a68f2(0x253)]));}['onRemoteRetry'](_0x2f62b1){const _0x2bbe42=_0x18be96;return this[_0x2bbe42(0x2e0)]>Ni?this[_0x2bbe42(0x543)]():(this[_0x2bbe42(0x194)]=Ui(this['_resendTimeout'],{'timeout':this[_0x2bbe42(0x2e0)],'reqId':_0x2f62b1['reqId']}),this[_0x2bbe42(0x13e)]=this[_0x2bbe42(0x194)][_0x2bbe42(0x450)](({reqId:_0x13a56d,timeout:_0x2b1d90})=>{const _0x1199a6=_0x2bbe42;this[_0x1199a6(0x49f)](_0x13a56d,_0x2b1d90);}),this);}[_0x18be96(0x543)](){const _0xad18ce=_0x18be96;return this['_clearScheduledTask'](),this['_injector'][_0xad18ce(0x2eb)](ye,this[_0xad18ce(0x3c4)],this[_0xad18ce(0x307)],this['_awaitingChangeset'],[],this[_0xad18ce(0x1f8)]);}[_0x18be96(0x524)](){return this;}[_0x18be96(0x3c1)](){const _0x2168fa=_0x18be96;this[_0x2168fa(0x1f8)][_0x2168fa(0x41c)](this[_0x2168fa(0x246)]);}[_0x18be96(0x331)](_0x5b910e){const _0x40b06d=_0x18be96;return this[_0x40b06d(0x166)](),this['_injector'][_0x40b06d(0x2eb)](Re,this[_0x40b06d(0x3c4)],this[_0x40b06d(0x307)],this[_0x40b06d(0x246)],[],this[_0x40b06d(0x1f8)],_0x5b910e);}[_0x18be96(0x49f)](_0x2348f0,_0x57a1ab){const _0x11a8a9=_0x18be96;var _0x5ddcd1;_0x2348f0===((_0x5ddcd1=this[_0x11a8a9(0x246)])==null?void 0x0:_0x5ddcd1['reqId'])&&(this[_0x11a8a9(0x3c1)](),this[_0x11a8a9(0x2e0)]=_0x57a1ab===0x0?0x3e8:_0x57a1ab*0x2);}[_0x18be96(0x166)](){const _0x4ec6a1=_0x18be96;var _0x4303ed;(_0x4303ed=this[_0x4ec6a1(0x13e)])==null||_0x4303ed[_0x4ec6a1(0x318)](),this[_0x4ec6a1(0x2e0)]=0x0;}};Te=Le([A(0x4,_0x5a6d6a(_0x5081af)),A(0x5,_0x5a6d6a(_0x4839c7)),A(0x6,_0x5a6d6a(q)),A(0x7,_0x1078f7),A(0x8,_0x18037c),A(0x9,_0x56124f),A(0xa,_0x1cae06)],Te);let ge=class extends $e{constructor(_0x57c3d5,_0x24ef6d,_0x3932e9,_0x7dc72d,_0x81fa40,_0x52d1ad,_0x26775a,_0x34e08a,_0x4e1dac,_0x13c568,_0x5ef18f,_0x5f3adc,_0x4025f9){const _0x1960f6=_0x18be96;super(_0x57c3d5,_0x24ef6d,_0x3932e9,_0x7dc72d,_0x81fa40,_0x13c568,_0x4025f9,_0x34e08a,_0x4e1dac),g(this,_0x1960f6(0x2cf),_0x1960f6(0x2e6)),g(this,_0x1960f6(0x2e0),0x0),g(this,_0x1960f6(0x194)),g(this,_0x1960f6(0x13e)),(this[_0x1960f6(0x273)]=_0x26775a,this['_logService']=_0x5ef18f,this['_transformService']=_0x5f3adc,_0x52d1ad&&(this[_0x1960f6(0x194)]=_0x52d1ad,this[_0x1960f6(0x13e)]=this[_0x1960f6(0x194)][_0x1960f6(0x450)](({reqId:_0x481c38,timeout:_0x311290})=>{this['_resendWithTimeout'](_0x481c38,_0x311290);})));}[_0x18be96(0x4f6)](_0x4e099b){const _0x5d8fff=_0x18be96;return this[_0x5d8fff(0x345)][_0x5d8fff(0x263)](_0x4e099b),this;}[_0x18be96(0x4a0)](_0x3f1c41){const _0x264677=_0x18be96;if(this['_checkMissing'](_0x3f1c41))return this[_0x264677(0x166)](),this[_0x264677(0x273)][_0x264677(0x2eb)](he,this[_0x264677(0x3c4)],this['type'],this[_0x264677(0x246)],this['_pendingMutations'],null,[_0x3f1c41],this[_0x264677(0x1f8)]);try{const _0x59358d=this[_0x264677(0x38f)][_0x264677(0x4b7)]([_0x3f1c41],[this[_0x264677(0x246)]],!0x1);if(_0x131d97(_0x59358d)){const {c1Prime:_0x28eefd,c2Prime:_0x3c8d89}=_0x59358d,_0x23d34d=this[_0x264677(0x38f)]['transformMutationsWithChangeset'](_0x28eefd[0x0],this[_0x264677(0x345)]);if(_0x2a5aee(_0x23d34d)){const {c1Prime:_0xe2b156,m2Prime:_0x56ed75}=_0x23d34d;return this['_executeRemoteChangeset'](_0xe2b156),_0x3c8d89[0x0][_0x264677(0x46b)]=this[_0x264677(0x289)](),this[_0x264677(0x166)](),this[_0x264677(0x273)][_0x264677(0x2eb)](ge,this[_0x264677(0x3c4)],this[_0x264677(0x307)],_0x3c8d89[0x0],_0x56ed75,this[_0x264677(0x1f8)],void 0x0);}throw _0x23d34d[_0x264677(0x494)];}throw _0x59358d[_0x264677(0x494)];}catch(_0x19d745){return this[_0x264677(0x47f)]['error'](_0x19d745),this[_0x264677(0x331)](!0x1);}}[_0x18be96(0x426)](_0x3106c7){const _0x164afc=_0x18be96;if(this['_clearScheduledTask'](),this[_0x164afc(0x2b2)](_0x3106c7))return this[_0x164afc(0x273)]['createInstance'](he,this[_0x164afc(0x3c4)],this[_0x164afc(0x307)],null,this[_0x164afc(0x345)],this[_0x164afc(0x246)],[],this[_0x164afc(0x1f8)]);this[_0x164afc(0x1bd)]();const _0x49dff9=this[_0x164afc(0x273)][_0x164afc(0x2eb)](pe,this[_0x164afc(0x3c4)],this['type'],this[_0x164afc(0x345)],this[_0x164afc(0x1f8)]);return _0x49dff9[_0x164afc(0x1e2)](),_0x49dff9[_0x164afc(0x329)](),_0x49dff9;}[_0x18be96(0x35b)](_0x5b372f){const _0x3e6f04=_0x18be96;return this[_0x3e6f04(0x331)](!!(_0x5b372f!=null&&_0x5b372f['isPermissionRej']));}[_0x18be96(0x235)](_0x39965e){const _0x44d9e7=_0x18be96;return this[_0x44d9e7(0x2e0)]>Ni?this[_0x44d9e7(0x543)]():(this[_0x44d9e7(0x194)]=Ui(this[_0x44d9e7(0x2e0)],{'timeout':this['_resendTimeout'],'reqId':_0x39965e['reqId']}),this[_0x44d9e7(0x13e)]=this[_0x44d9e7(0x194)][_0x44d9e7(0x450)](({reqId:_0x4bada4,timeout:_0x41a6be})=>{this['_resendWithTimeout'](_0x4bada4,_0x41a6be);}),this);}['toggleOffline'](){const _0x52db7f=_0x18be96;return this[_0x52db7f(0x166)](),this[_0x52db7f(0x273)][_0x52db7f(0x2eb)](ye,this['unitID'],this[_0x52db7f(0x307)],this[_0x52db7f(0x246)],this['_pendingMutations'],this[_0x52db7f(0x1f8)]);}['toggleOnline'](){return this;}[_0x18be96(0x3c1)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x18be96(0x331)](_0x40deb2){const _0x1f151=_0x18be96;return this[_0x1f151(0x166)](),this[_0x1f151(0x273)][_0x1f151(0x2eb)](Re,this['unitID'],this[_0x1f151(0x307)],null,this['_pendingMutations'],this[_0x1f151(0x1f8)],_0x40deb2);}[_0x18be96(0x49f)](_0xf9b09c,_0x3cb928){const _0x55b086=_0x18be96;var _0xf30d6f;_0xf9b09c===((_0xf30d6f=this[_0x55b086(0x246)])==null?void 0x0:_0xf30d6f[_0x55b086(0x251)])&&(this[_0x55b086(0x3c1)](),this['_resendTimeout']=_0x3cb928===0x0?0x3e8:_0x3cb928*0x2);}[_0x18be96(0x166)](){const _0x2856db=_0x18be96;var _0x2c4acd;(_0x2c4acd=this[_0x2856db(0x13e)])==null||_0x2c4acd['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x5a6d6a(_0x5081af)),A(0x7,_0x5a6d6a(_0x4839c7)),A(0x8,_0x5a6d6a(q)),A(0x9,_0x1078f7),A(0xa,_0x18037c),A(0xb,_0x56124f),A(0xc,_0x1cae06)],ge);let Re=class extends $e{constructor(_0x26c24b,_0x8f6823,_0x182641,_0x326741,_0x2df74b,_0x4142d9=!0x1,_0xf9c745,_0x538e78,_0x233725,_0x38869c,_0x57ddc9,_0x37a2ff,_0x2bd06b){const _0x3158c7=_0x18be96;super(_0x26c24b,_0x8f6823,_0x182641,_0x326741,_0x2df74b,_0x538e78,_0x233725,_0x57ddc9,_0x38869c),g(this,'status',_0x3158c7(0x4f2)),(this['_isPermissionRej']=_0x4142d9,this[_0x3158c7(0x3b0)]=_0xf9c745,this['_localeService']=_0x37a2ff,this[_0x3158c7(0x19b)]=_0x2bd06b,this[_0x3158c7(0x135)](),this[_0x3158c7(0x490)](),this[_0x3158c7(0x4fb)]());}['appendMutation'](){return this;}[_0x18be96(0x4a0)](){return this;}[_0x18be96(0x426)](){return this;}['onRemoteRej'](){return this;}[_0x18be96(0x235)](){return this;}[_0x18be96(0x543)](){return this;}['toggleOnline'](){return this;}[_0x18be96(0x3c1)](){const _0x199d09=_0x18be96;throw new Error(_0x199d09(0x202));}['_clearLocalCache'](){const _0xacb1f9=_0x18be96;this[_0xacb1f9(0x252)]['updateOfflineData'](this[_0xacb1f9(0x3c4)],this[_0xacb1f9(0x307)],null,[]);}['_showConflictNotification'](){const _0x35b38a=_0x18be96;this[_0x35b38a(0x19e)]?this[_0x35b38a(0x19b)][_0x35b38a(0x3a3)]({'title':this['_localeService']['t'](_0x35b38a(0x1dc)),'content':this[_0x35b38a(0x3d6)]['t'](_0x35b38a(0x27a)),'type':_0x35b38a(0x494),'duration':0x0}):this[_0x35b38a(0x19b)]['show']({'title':this[_0x35b38a(0x3d6)]['t'](_0x35b38a(0x297)),'content':this[_0x35b38a(0x3d6)]['t'](_0x35b38a(0x3fb)),'type':_0x35b38a(0x494),'duration':0x0});}[_0x18be96(0x4fb)](){const _0xf4e4c5=_0x18be96;this[_0xf4e4c5(0x3b0)]['updatePermissionPoint'](new _0x146322(this[_0xf4e4c5(0x3c4)])['id'],!0x1);}};Re=Le([A(0x6,_0x5a6d6a(_0x2d238b)),A(0x7,_0x1078f7),A(0x8,_0x1cae06),A(0x9,_0x5a6d6a(q)),A(0xa,_0x5a6d6a(_0x4839c7)),A(0xb,_0x5a6d6a(_0x14cd71)),A(0xc,_0x59b2b5)],Re);let ye=class extends $e{constructor(_0x4fa7a3,_0x525e39,_0x1d1c25,_0x5589ae,_0x1b3981,_0x128329,_0x1c008e,_0x82a293,_0x1ec899,_0x2925ca){const _0x1ef355=_0x18be96;super(_0x4fa7a3,_0x525e39,_0x1d1c25,_0x5589ae,_0x1b3981,_0x1ec899,_0x2925ca,_0x1c008e,_0x82a293),g(this,_0x1ef355(0x2cf),'offline'),this[_0x1ef355(0x273)]=_0x128329;}[_0x18be96(0x4f6)](_0x2b3886){const _0x550154=_0x18be96;return this[_0x550154(0x345)][_0x550154(0x263)](_0x2b3886),this[_0x550154(0x329)](),this;}['onRemoteChangeset'](_0x2dc5f4){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x18be96(0x426)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x18be96(0x35b)](){const _0x3b541c=_0x18be96;throw new Error(_0x3b541c(0x1c7));}[_0x18be96(0x235)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0x527e33=_0x18be96,{_injector:_0x69b805,_pendingMutations:_0x461e65,_awaitingChangeset:_0x45f915,unitID:_0x8f67b0,_handler:_0x3594e2,type:_0x2e2db4}=this,_0x1741ee=Ai(_0x69b805,_0x8f67b0,_0x2e2db4,_0x45f915,_0x461e65,_0x3594e2);return _0x1741ee instanceof pe?_0x1741ee[_0x527e33(0x1e2)]():(_0x1741ee instanceof ge||_0x1741ee instanceof Te)&&_0x1741ee[_0x527e33(0x3c1)](),_0x1741ee;}[_0x18be96(0x3c1)](){const _0x501852=_0x18be96;throw new Error(_0x501852(0x267));}};ye=Le([A(0x5,_0x5a6d6a(_0x5081af)),A(0x6,_0x5a6d6a(_0x4839c7)),A(0x7,_0x5a6d6a(q)),A(0x8,_0x1078f7),A(0x9,_0x1cae06)],ye);let he=class extends $e{constructor(_0x582779,_0x8732a6,_0x56f852,_0x312fa6,_0x2d3429,_0x3b5459,_0x3b48f8,_0x1fc602,_0xad517a,_0x55b69c,_0x5799c4,_0x52dbb2,_0x5ef847,_0x34befb){const _0x42b133=_0x18be96;super(_0x582779,_0x8732a6,_0x56f852,_0x312fa6,_0x3b48f8,_0x52dbb2,_0x5ef847,_0xad517a,_0x55b69c),g(this,_0x42b133(0x2cf),_0x42b133(0x1b8)),(this[_0x42b133(0x27b)]=_0x2d3429,this[_0x42b133(0x4c0)]=_0x3b5459,this[_0x42b133(0x273)]=_0x1fc602,this[_0x42b133(0x47f)]=_0x5799c4,this[_0x42b133(0x38f)]=_0x34befb);}[_0x18be96(0x427)](_0x4f27bf){const _0x120621=_0x18be96;try{const _0x4f2a34=[..._0x4f27bf,...this[_0x120621(0x4c0)]],_0x39871a=[this[_0x120621(0x246)]||this['_acknowledgedAwaitingChangeset']][_0x120621(0x199)](_0x2b726c=>!!_0x2b726c);let _0xe0ad07,_0xbb65fd;if(_0x39871a[_0x120621(0x3fe)]){const _0x21531f=this[_0x120621(0x38f)][_0x120621(0x4b7)](_0x4f2a34,_0x39871a,!0x1);if(!_0x131d97(_0x21531f))throw _0x21531f['error'];_0xe0ad07=_0x21531f[_0x120621(0x2b3)],_0xbb65fd=_0x21531f['c2Prime'];}else _0xe0ad07=_0x4f2a34,_0xbb65fd=[];let _0x4781e4=this[_0x120621(0x345)];_0xe0ad07[_0x120621(0x1ce)](_0x15b887=>{const _0x1682ba=_0x120621;let _0x1114a6;if(_0x4781e4[_0x1682ba(0x3fe)]){const _0x25add0=this['_transformService'][_0x1682ba(0x291)](_0x15b887,_0x4781e4);if(!_0x2a5aee(_0x25add0))throw _0x25add0[_0x1682ba(0x494)];_0x1114a6=_0x25add0[_0x1682ba(0x2b3)],_0x4781e4=_0x25add0['m2Prime'];}else _0x1114a6=_0x15b887;this[_0x1682ba(0x539)](_0x1114a6);}),this['_acknowledgedAwaitingChangeset']&&this[_0x120621(0x1bd)](),this[_0x120621(0x246)]&&_0xbb65fd[_0x120621(0x3fe)]&&(_0xbb65fd[0x0][_0x120621(0x46b)]=this[_0x120621(0x289)]());let _0x668fc;if(this['_awaitingChangeset']&&_0x4781e4[_0x120621(0x3fe)]!==0x0)_0x668fc=this[_0x120621(0x273)]['createInstance'](ge,this[_0x120621(0x3c4)],this[_0x120621(0x307)],_0xbb65fd[0x0],_0x4781e4,this[_0x120621(0x1f8)],void 0x0);else{if(this[_0x120621(0x246)]&&_0x4781e4['length']===0x0)_0xbb65fd[0x0][_0x120621(0x46b)]=this['_getCurrentRevision'](),_0x668fc=this['_injector'][_0x120621(0x2eb)](Te,this[_0x120621(0x3c4)],this[_0x120621(0x307)],_0xbb65fd[0x0],this[_0x120621(0x1f8)]);else{if(_0x4781e4[_0x120621(0x3fe)]!==0x0){const _0x468f4d=this[_0x120621(0x273)][_0x120621(0x2eb)](pe,this[_0x120621(0x3c4)],this['type'],_0x4781e4,this[_0x120621(0x1f8)]);_0x468f4d['_schedule'](),_0x668fc=_0x468f4d;}else _0x668fc=this[_0x120621(0x273)]['createInstance'](Fe,this[_0x120621(0x3c4)],this[_0x120621(0x307)],this[_0x120621(0x1f8)]);}}return _0x668fc['_updateLocalCache'](),_0x668fc;}catch(_0x126443){return this[_0x120621(0x47f)][_0x120621(0x494)](_0x120621(0x527),_0x120621(0x32e),_0x126443),this['_injector'][_0x120621(0x2eb)](Re,this[_0x120621(0x3c4)],this[_0x120621(0x307)],this[_0x120621(0x246)],this['_pendingMutations'],this[_0x120621(0x1f8)],!0x1);}}[_0x18be96(0x3c1)](){const _0x5afc23=_0x18be96;throw new Error(_0x5afc23(0x48a));}['appendMutation'](_0x43b327){const _0x4ba743=_0x18be96;return this[_0x4ba743(0x345)][_0x4ba743(0x263)](_0x43b327),this;}[_0x18be96(0x4a0)](_0x2b4661){const _0x13fb04=_0x18be96;return this[_0x13fb04(0x4c0)][_0x13fb04(0x263)](_0x2b4661),this;}[_0x18be96(0x426)](_0x25c7c9){const _0x3a24a8=_0x18be96;if(this[_0x3a24a8(0x246)])return this[_0x3a24a8(0x27b)]=this[_0x3a24a8(0x246)],this[_0x3a24a8(0x246)]=null,this;throw new Error(_0x3a24a8(0x46c));}[_0x18be96(0x35b)](_0x3acb36){const _0x4221f2=_0x18be96;return this['_onConflict'](!!(_0x3acb36!=null&&_0x3acb36[_0x4221f2(0x253)]));}[_0x18be96(0x235)](){return this;}['toggleOffline'](){const _0x3a7fed=_0x18be96;return this[_0x3a7fed(0x273)][_0x3a7fed(0x2eb)](ye,this[_0x3a7fed(0x3c4)],this['type'],this[_0x3a7fed(0x246)],this['_pendingMutations'],this[_0x3a7fed(0x1f8)]);}[_0x18be96(0x524)](){return this;}[_0x18be96(0x331)](_0x4458d7){const _0x38fddf=_0x18be96;return this[_0x38fddf(0x273)][_0x38fddf(0x2eb)](Re,this[_0x38fddf(0x3c4)],this[_0x38fddf(0x307)],this[_0x38fddf(0x246)],this['_pendingMutations'],this['_handler'],_0x4458d7);}};he=Le([A(0x7,_0x5a6d6a(_0x5081af)),A(0x8,_0x5a6d6a(_0x4839c7)),A(0x9,_0x5a6d6a(q)),A(0xa,_0x18037c),A(0xb,_0x1078f7),A(0xc,_0x1cae06),A(0xd,_0x56124f)],he);function Ai(_0x288032,_0x1886a5,_0x1e252e,_0x5ca06c,_0x45fe40,_0x5e7c0d){const _0x55af0d=_0x18be96;return _0x5ca06c&&_0x45fe40[_0x55af0d(0x3fe)]?_0x288032[_0x55af0d(0x2eb)](ge,_0x1886a5,_0x1e252e,_0x5ca06c,_0x45fe40,_0x5e7c0d,void 0x0):_0x5ca06c?_0x288032[_0x55af0d(0x2eb)](Te,_0x1886a5,_0x1e252e,_0x5ca06c,_0x5e7c0d):_0x45fe40[_0x55af0d(0x3fe)]?_0x288032[_0x55af0d(0x2eb)](pe,_0x1886a5,_0x1e252e,_0x45fe40,_0x5e7c0d):_0x288032[_0x55af0d(0x2eb)](Fe,_0x1886a5,_0x1e252e,_0x5e7c0d);}var So=Object[_0x18be96(0x2b6)],Io=Object['getOwnPropertyDescriptor'],Es=(_0x18a0d3,_0x4a194f,_0x1cdf02,_0x550399)=>{const _0x5f1100=_0x18be96;for(var _0x2c1307=_0x550399>0x1?void 0x0:_0x550399?Io(_0x4a194f,_0x1cdf02):_0x4a194f,_0x2b3787=_0x18a0d3[_0x5f1100(0x3fe)]-0x1,_0x7b24eb;_0x2b3787>=0x0;_0x2b3787--)(_0x7b24eb=_0x18a0d3[_0x2b3787])&&(_0x2c1307=(_0x550399?_0x7b24eb(_0x4a194f,_0x1cdf02,_0x2c1307):_0x7b24eb(_0x2c1307))||_0x2c1307);return _0x550399&&_0x2c1307&&So(_0x4a194f,_0x1cdf02,_0x2c1307),_0x2c1307;},H=(_0x49f885,_0x4bcc39)=>(_0x174b7c,_0x1b1142)=>_0x4bcc39(_0x174b7c,_0x1b1142,_0x49f885);let gt=class extends _0x2a7a1c{constructor(_0x5ad776,_0x109254,_0x33f667,_0x325ff5,_0x3389a,_0xa705f3,_0x2d4ad5,_0xb09a0f,_0x258996,_0x5826ea,_0x44db32,_0x3982fe,_0x21b251){const _0x22a2dd=_0x18be96;super(),g(this,'_state$',new _0x398285(null)),g(this,_0x22a2dd(0x4bf),this[_0x22a2dd(0x475)]['asObservable']()),g(this,_0x22a2dd(0x1a3)),g(this,_0x22a2dd(0x241),!0x1),g(this,_0x22a2dd(0x293),''),g(this,'_changesetReqId',0x0),g(this,_0x22a2dd(0x1ec),this['state$'][_0x22a2dd(0x1e7)](_0x3deca5(_0x1aaed4=>_0x1aaed4?_0x1aaed4[_0x22a2dd(0x2cf)]:J[_0x22a2dd(0x167)]),_0x5d8c15(0x1))),g(this,_0x22a2dd(0x2ed),!0x1),g(this,_0x22a2dd(0x19f),[]),(this['unitID']=_0x5ad776,this['session']=_0x109254,this[_0x22a2dd(0x429)]=_0x33f667,this['_injector']=_0x325ff5,this[_0x22a2dd(0x252)]=_0x3389a,this[_0x22a2dd(0x487)]=_0xa705f3,this[_0x22a2dd(0x3d6)]=_0x2d4ad5,this[_0x22a2dd(0x4c9)]=_0xb09a0f,this[_0x22a2dd(0x47f)]=_0x258996,this[_0x22a2dd(0x20f)]=_0x5826ea,this[_0x22a2dd(0x1fd)]=_0x44db32,this[_0x22a2dd(0x3b0)]=_0x3982fe,this[_0x22a2dd(0x360)]=_0x21b251);}get[_0x18be96(0x156)](){const _0x875a74=_0x18be96;return this[_0x875a74(0x1a3)];}async['init'](){const _0x4d78bf=_0x18be96;if(this[_0x4d78bf(0x156)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x4d78bf(0x466)]();}[_0x18be96(0x149)](){const _0x2e61b4=_0x18be96;return this[_0x2e61b4(0x241)]=!0x0,_0x186f86(()=>{const _0x2fcbf1=_0x2e61b4;this[_0x2fcbf1(0x241)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x18be96(0x18b)](_0x4ea78b){const _0x53eed0=_0x18be96;this[_0x53eed0(0x1a3)]=_0x4ea78b,this[_0x53eed0(0x475)][_0x53eed0(0x319)](_0x4ea78b);}async['_init'](){const _0x2036a6=_0x18be96;var _0x1dda7d;this['_updateState'](await this[_0x2036a6(0x2dc)]()),this[_0x2036a6(0x360)]&&((_0x1dda7d=this[_0x2036a6(0x360)])==null||_0x1dda7d[_0x2036a6(0x258)](this[_0x2036a6(0x3c4)]),this['disposeWithMe'](this[_0x2036a6(0x360)][_0x2036a6(0x1df)](this[_0x2036a6(0x3c4)])[_0x2036a6(0x450)](_0x961851=>{const _0x35ae7f=_0x2036a6;this[_0x35ae7f(0x47f)][_0x35ae7f(0x529)]('[CollaborationEntity]',_0x35ae7f(0x341),_0x961851),_0x961851===Di[_0x35ae7f(0x2f7)]?(this[_0x35ae7f(0x1fd)]['show']({'content':this[_0x35ae7f(0x3d6)]['t'](_0x35ae7f(0x1af)),'type':_0x370e57[_0x35ae7f(0x239)]}),this[_0x35ae7f(0x3b0)]['updatePermissionPoint'](new _0x146322(this[_0x35ae7f(0x3c4)])['id'],!0x1),this[_0x35ae7f(0x3b0)]['setShowComponents'](!0x1)):(this[_0x35ae7f(0x3b0)][_0x35ae7f(0x3be)](new _0x146322(this[_0x35ae7f(0x3c4)])['id'],!0x0),this[_0x35ae7f(0x3b0)][_0x35ae7f(0x2c4)](!0x0));})));let _0x550c23=!0x1;return this[_0x2036a6(0x388)](this['session'][_0x2036a6(0x46d)][_0x2036a6(0x450)](_0x24e09b=>{const _0x4411ac=_0x2036a6;_0x24e09b===ve[_0x4411ac(0x416)]?this[_0x4411ac(0x4d4)](_0x550c23):_0x24e09b===ve[_0x4411ac(0x167)]&&(_0x550c23=!0x0,this[_0x4411ac(0x154)]());})),this[_0x2036a6(0x388)](this[_0x2036a6(0x504)][_0x2036a6(0x435)]['subscribe'](_0x2f27d5=>{const _0x171252=_0x2036a6;try{switch(_0x2f27d5[_0x171252(0x418)]){case _0x4757a2['NEW_CHANGESETS']:{this[_0x171252(0x22e)](_0x2b8409(_0x2f27d5[_0x171252(0x292)]));break;}case _0x4757a2[_0x171252(0x44f)]:{this['_onRemoteACK'](_0x2f27d5[_0x171252(0x292)]);break;}case _0x4757a2[_0x171252(0x3b8)]:{this[_0x171252(0x3a6)]();break;}case _0x4757a2[_0x171252(0x3dd)]:{this[_0x171252(0x17d)](_0x2f27d5[_0x171252(0x292)]);break;}case _0x4757a2[_0x171252(0x174)]:{this[_0x171252(0x28f)](_0x2f27d5[_0x171252(0x292)][_0x171252(0x187)][_0x171252(0x220)](_0x4b6492=>_0x2b8409(_0x4b6492)));break;}case _0x4757a2[_0x171252(0x2a7)]:this[_0x171252(0x3a6)]({'isPermissionRej':!0x0});}}catch(_0xe9a4ff){throw console['error'](_0x171252(0x428),_0xe9a4ff),_0xe9a4ff;}})),this['_state'];}[_0x18be96(0x53c)](){const _0x328c68=_0x18be96;this[_0x328c68(0x2ed)]=!0x1;}['_lockTransition'](){const _0x4774ce=_0x18be96;if(this[_0x4774ce(0x2ed)])throw new Error(_0x4774ce(0x12f));this[_0x4774ce(0x2ed)]=!0x0;}[_0x18be96(0x53b)](_0x302c4b){const _0x4ebf9b=_0x18be96;this['_lockTransition'](),this['_updateState'](this[_0x4ebf9b(0x1a3)]['appendMutation'](_0x302c4b)),this['_unlockTransition']();}[_0x18be96(0x22e)](_0x59b72a){const _0x5bcba0=_0x18be96;if(!(_0x59b72a[_0x5bcba0(0x17e)]<=this[_0x5bcba0(0x4c9)][_0x5bcba0(0x214)](this[_0x5bcba0(0x3c4)]))){if(this['_collaborationPaused']){this[_0x5bcba0(0x19f)][_0x5bcba0(0x263)](_0x59b72a);return;}this[_0x5bcba0(0x2c8)](_0x59b72a);}}['_exhaustRemoteChangesetQueue'](){const _0x58120e=_0x18be96;this['_remoteChangesetQueue'][_0x58120e(0x1ce)](_0x4af0d8=>this[_0x58120e(0x2c8)](_0x4af0d8)),this[_0x58120e(0x19f)]=[];}['_applyRemoteChangeset'](_0x416a96){const _0x346ea7=_0x18be96,_0x549606=this[_0x346ea7(0x487)][_0x346ea7(0x496)][_0x346ea7(0x321)](this[_0x346ea7(0x487)][_0x346ea7(0x496)][_0x346ea7(0x134)]()['COMPRESS_MUTATION_APPLY'])(_0x416a96[_0x346ea7(0x3d4)],null)||_0x416a96[_0x346ea7(0x3d4)],_0x4f5a10={..._0x416a96,'mutations':_0x549606};this['_lockTransition'](),this[_0x346ea7(0x18b)](this['_state'][_0x346ea7(0x4a0)](_0x4f5a10)),this[_0x346ea7(0x53c)]();}[_0x18be96(0x2ce)](_0x708b52){const _0x3cd945=_0x18be96;this[_0x3cd945(0x386)](),this[_0x3cd945(0x18b)](this['_state']['onRemoteAck'](_0x708b52)),this[_0x3cd945(0x53c)]();}[_0x18be96(0x3a6)](_0x21807a){const _0x6558fa=_0x18be96;this['_lockTransition'](),this[_0x6558fa(0x18b)](this['_state'][_0x6558fa(0x35b)](_0x21807a)),this[_0x6558fa(0x53c)]();}[_0x18be96(0x17d)](_0x4c6329){const _0x539d7d=_0x18be96;this[_0x539d7d(0x386)](),this[_0x539d7d(0x18b)](this[_0x539d7d(0x1a3)]['onRemoteRetry'](_0x4c6329)),this[_0x539d7d(0x53c)]();}[_0x18be96(0x28f)](_0x3420db){const _0x22e738=_0x18be96;if(!(this[_0x22e738(0x1a3)]instanceof he))throw new TypeError(_0x22e738(0x231));const _0xd5eb85=_0x3420db[_0x22e738(0x220)](_0x5ca187=>{const _0x2b8c75=_0x22e738,_0x25d529=this[_0x2b8c75(0x487)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x2b8c75(0x1ee)])(_0x5ca187[_0x2b8c75(0x3d4)],null)||_0x5ca187['mutations'];return{..._0x5ca187,'mutations':_0x25d529};});this[_0x22e738(0x386)](),this[_0x22e738(0x18b)](this['_state'][_0x22e738(0x427)](_0xd5eb85)),this['_unlockTransition']();}[_0x18be96(0x154)](){const _0x4b3cf2=_0x18be96;this[_0x4b3cf2(0x386)](),this[_0x4b3cf2(0x18b)](this['_state'][_0x4b3cf2(0x543)]()),this['_unlockTransition']();}[_0x18be96(0x4d4)](_0x261f51=!0x1){const _0x5d0795=_0x18be96;this['_lockTransition'](),this[_0x5d0795(0x18b)](this['_state']['toggleOnline']()),this[_0x5d0795(0x53c)]();const _0x39c17c=this[_0x5d0795(0x1a3)];_0x261f51&&_0x39c17c instanceof Fe&&(this['_lockTransition'](),this[_0x5d0795(0x18b)](_0x39c17c[_0x5d0795(0x445)]()),this[_0x5d0795(0x53c)]());}async[_0x18be96(0x2dc)](){return new Promise(_0x21bef1=>{const _0x417d5f=_0x3fdc;this[_0x417d5f(0x504)]['sessionStatus$'][_0x417d5f(0x1e7)](_0x1ea4cd(0x1))[_0x417d5f(0x450)](async _0x4a9ad4=>{const _0x3f1181=_0x417d5f;_0x21bef1(await this[_0x3f1181(0x439)](_0x4a9ad4===ve['ONLINE']));});});}[_0x18be96(0x19d)](){const _0x38450a=_0x18be96,_0x2795f8=this[_0x38450a(0x3c4)];return{'onStateChange':(_0x98d7be,_0x1cd854)=>{const _0x5c023c=_0x38450a;if(_0x98d7be!==this[_0x5c023c(0x1a3)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x98d7be['status']+_0x5c023c(0x400)+_0x1cd854[_0x5c023c(0x2cf)]+_0x5c023c(0x43d)+this[_0x5c023c(0x1a3)][_0x5c023c(0x2cf)]);this[_0x5c023c(0x18b)](_0x1cd854);},'onSendChangeset':_0x2341e0=>{const _0x141234=_0x38450a;_0x2341e0['sid']||(_0x2341e0[_0x141234(0x4cf)]=this[_0x141234(0x293)],_0x2341e0[_0x141234(0x251)]=++this['_changesetReqId']);const _0x23d9da={'eventID':_0x4757a2[_0x141234(0x28a)],'data':{'unitID':_0x2341e0[_0x141234(0x3c4)],'unitType':this[_0x141234(0x429)],'changeset':_0x2341e0,'memberID':this[_0x141234(0x504)][_0x141234(0x1b6)]()}};this['session']['send'](_0x23d9da,this[_0x141234(0x3c4)]);},'onMissingChangesets':({from:_0x3f5b74,to:_0x3ebcc0})=>{const _0x6b078=_0x38450a;this[_0x6b078(0x47f)][_0x6b078(0x529)](_0x6b078(0x468),_0x6b078(0x24d)+_0x3f5b74+'\x20to\x20'+_0x3ebcc0);const _0x2d80ea={'eventID':_0x4757a2[_0x6b078(0x422)],'data':{'unitID':_0x2795f8,'unitType':this['_type'],'from':_0x3f5b74,'to':_0x3ebcc0}};this[_0x6b078(0x504)]['send'](_0x2d80ea,this[_0x6b078(0x3c4)]);}};}async[_0x18be96(0x439)](_0x402156){const _0xa7ad47=_0x18be96;var _0x564ec2,_0x567c4c;const _0x2d75c7=await this['_localCacheService'][_0xa7ad47(0x3fd)](this['unitID']),_0x1d54a2=(_0x564ec2=_0x2d75c7==null?void 0x0:_0x2d75c7[_0xa7ad47(0x3d4)])!=null?_0x564ec2:[],_0x4f93c8=(_0x567c4c=_0x2d75c7==null?void 0x0:_0x2d75c7[_0xa7ad47(0x1d9)])!=null?_0x567c4c:null,_0x3cea10=!!(_0x4f93c8!=null&&_0x4f93c8[_0xa7ad47(0x4cf)])&&!!(_0x4f93c8!=null&&_0x4f93c8[_0xa7ad47(0x251)]);this[_0xa7ad47(0x293)]=_0x3cea10?_0x4f93c8[_0xa7ad47(0x4cf)]:zr(),this[_0xa7ad47(0x483)]=_0x3cea10?_0x4f93c8[_0xa7ad47(0x251)]:0x0;const _0x1e14e4=this[_0xa7ad47(0x3c4)];try{this[_0xa7ad47(0x457)](_0x4f93c8,_0x1d54a2);}catch(_0x237093){this['_logService'][_0xa7ad47(0x494)](_0x237093);}const _0x441321=this[_0xa7ad47(0x19d)]();if(_0x402156){const _0x49b8c4=Ai(this[_0xa7ad47(0x273)],_0x1e14e4,this[_0xa7ad47(0x429)],_0x4f93c8,_0x1d54a2,_0x441321);return _0x49b8c4 instanceof pe?_0x49b8c4[_0xa7ad47(0x1e2)]():(_0x49b8c4 instanceof ge||_0x49b8c4 instanceof Te)&&_0x49b8c4[_0xa7ad47(0x3c1)](),_0x49b8c4;}return this[_0xa7ad47(0x273)][_0xa7ad47(0x2eb)](ye,_0x1e14e4,this['_type'],_0x4f93c8,_0x1d54a2,_0x441321);}['_replayCachedMutations'](_0x18b109,_0x296b3f){const _0x4b300b=_0x18be96;var _0x15253a,_0x510843;const _0x59d5dc=this[_0x4b300b(0x487)][_0x4b300b(0x496)][_0x4b300b(0x321)](this[_0x4b300b(0x487)][_0x4b300b(0x496)][_0x4b300b(0x134)]()['COMPRESS_MUTATION_APPLY']);(_0x15253a=_0x59d5dc((_0x18b109==null?void 0x0:_0x18b109[_0x4b300b(0x3d4)])||[],null))==null||_0x15253a['forEach'](_0xcacda4=>this[_0x4b300b(0x20f)][_0x4b300b(0x180)](_0xcacda4['id'],_0xcacda4['params'])),(_0x510843=_0x59d5dc(_0x296b3f||[],null))==null||_0x510843['forEach'](_0x4ac47b=>this[_0x4b300b(0x20f)][_0x4b300b(0x180)](_0x4ac47b['id'],_0x4ac47b[_0x4b300b(0x1cc)]));}};gt=Es([H(0x3,_0x5a6d6a(_0x5081af)),H(0x4,_0x5a6d6a(q)),H(0x5,_0x5a6d6a(_0x35b7e5)),H(0x6,_0x5a6d6a(_0x14cd71)),H(0x7,_0x5a6d6a(_0x4839c7)),H(0x8,_0x18037c),H(0x9,_0x1078f7),H(0xa,_0x1f110a),H(0xb,_0x2d238b),H(0xc,_0x1ec62d(Rt))],gt);let ss=class extends gt{constructor(_0x29ef6e,_0x5e3c12,_0x109df3,_0x534550,_0x32c863,_0x1a7408,_0xeabda,_0x5b0858,_0x79e69c,_0x5013de,_0x2a4f1b,_0x2e9a67,_0x1e3f35,_0x5bdda7,_0x16b899,_0x2e5d31,_0x3aba5c,_0x25e401){const _0x11745c=_0x18be96;super(_0x29ef6e,_0x109df3,_0x5e3c12,_0x534550,_0x32c863,_0x1a7408,_0xeabda,_0x5b0858,_0x5bdda7,_0x16b899,_0x2e5d31,_0x3aba5c,_0x25e401),this[_0x11745c(0x3c4)]=_0x29ef6e,this[_0x11745c(0x307)]=_0x5e3c12,this[_0x11745c(0x340)]=_0x79e69c,this[_0x11745c(0x305)]=_0x5013de,this[_0x11745c(0x29e)]=_0x2a4f1b,this[_0x11745c(0x455)]=_0x2e9a67,this['_docSyncEditingCollabCursorService']=_0x1e3f35;}[_0x18be96(0x19d)](){const _0x3d8b02=_0x18be96,_0x2afae2=super['_createHandler']();return _0x2afae2[_0x3d8b02(0x2d1)]=_0xed6b5a=>this[_0x3d8b02(0x305)][_0x3d8b02(0x1ab)](_0xed6b5a),_0x2afae2[_0x3d8b02(0x280)]=_0x36352c=>this[_0x3d8b02(0x29e)]['transformStateCache'](_0x36352c),_0x2afae2[_0x3d8b02(0x237)]=_0x3ea7e2=>this['_docTransformSelectionsService'][_0x3d8b02(0x419)](_0x3ea7e2),_0x2afae2[_0x3d8b02(0x441)]=_0x3e4e87=>this[_0x3d8b02(0x133)][_0x3d8b02(0x3ae)](_0x3e4e87),_0x2afae2[_0x3d8b02(0x181)]=_0x15d427=>this[_0x3d8b02(0x305)][_0x3d8b02(0x138)](_0x15d427),_0x2afae2[_0x3d8b02(0x535)]=_0x440aa4=>this[_0x3d8b02(0x29e)][_0x3d8b02(0x138)](_0x440aa4),_0x2afae2;}async['_init'](){const _0x3500cf=_0x18be96,_0x5bc7bd=await super[_0x3500cf(0x466)]();return this[_0x3500cf(0x340)][_0x3500cf(0x1be)]['pipe'](_0x224c08(this[_0x3500cf(0x3f4)]))[_0x3500cf(0x450)](_0xeeb531=>{const _0x34d78f=_0x3500cf;if(_0xeeb531==null)return;const {unitId:_0x2c2743,redoState:_0xd2f0a,commandId:_0x4d21d8}=_0xeeb531;if(_0x2c2743!==this[_0x34d78f(0x3c4)])return;const _0x591c1d={'id':_0x4d21d8,'type':_0xe820e2['MUTATION'],'params':{'unitId':_0x2c2743,'actions':_0xd2f0a['actions'],'textRanges':null}};this['_onLocalMutation'](_0x591c1d);}),_0x5bc7bd;}};ss=Es([H(0x3,_0x5a6d6a(_0x5081af)),H(0x4,_0x5a6d6a(q)),H(0x5,_0x5a6d6a(_0x35b7e5)),H(0x6,_0x5a6d6a(_0x14cd71)),H(0x7,_0x5a6d6a(_0x4839c7)),H(0x8,_0x5a6d6a(_0x388e27)),H(0x9,_0x5a6d6a(ft)),H(0xa,_0x5a6d6a(mt)),H(0xb,_0x5a6d6a(pt)),H(0xc,_0x5a6d6a(Cs)),H(0xd,_0x18037c),H(0xe,_0x1078f7),H(0xf,_0x1f110a),H(0x10,_0x2d238b),H(0x11,_0x1ec62d(Rt))],ss);let is=class extends gt{constructor(_0x436fcc,_0x38bbce,_0x7a2a9b,_0x2161cb,_0x3d526e,_0x415855,_0x2092c2,_0x1cc3a2,_0x317cf8,_0x4e7eda,_0x5e8411,_0x13548d,_0x5ee1f8,_0x1e1592){const _0x566ca4=_0x18be96;super(_0x436fcc,_0x7a2a9b,_0x38bbce,_0x2161cb,_0x3d526e,_0x415855,_0x2092c2,_0x1cc3a2,_0x4e7eda,_0x5e8411,_0x13548d,_0x5ee1f8,_0x1e1592),this[_0x566ca4(0x3c4)]=_0x436fcc,this[_0x566ca4(0x307)]=_0x38bbce,this[_0x566ca4(0x3d1)]=_0x317cf8;}[_0x18be96(0x19d)](){const _0x4ae993=_0x18be96,_0x585f42=super[_0x4ae993(0x19d)]();return _0x585f42[_0x4ae993(0x237)]=_0x47ccd9=>this[_0x4ae993(0x3d1)][_0x4ae993(0x419)](_0x47ccd9),_0x585f42;}async[_0x18be96(0x466)](){const _0x23dada=_0x18be96,_0x2e1862=await super[_0x23dada(0x466)]();return this[_0x23dada(0x388)](this['_commandService'][_0x23dada(0x1e1)]((_0x5b8c79,_0x12e0fd)=>{const _0x3a1950=_0x23dada;if(_0x5b8c79[_0x3a1950(0x307)]!==_0xe820e2[_0x3a1950(0x301)]||_0x12e0fd!=null&&_0x12e0fd['fromCollab']||_0x12e0fd!=null&&_0x12e0fd[_0x3a1950(0x4a4)])return;const _0xeed26e=_0x5b8c79['params'];if((_0xeed26e==null?void 0x0:_0xeed26e[_0x3a1950(0x45a)])!==this[_0x3a1950(0x3c4)])return;const _0x45956e=_0x5b8c79,_0x2330f2=this[_0x3a1950(0x487)][_0x3a1950(0x496)][_0x3a1950(0x321)](this[_0x3a1950(0x487)][_0x3a1950(0x496)][_0x3a1950(0x134)]()[_0x3a1950(0x4da)])([_0x45956e],null)||[_0x45956e];this['_onLocalMutation'](_0x2330f2[0x0]);})),_0x2e1862;}};is=Es([H(0x3,_0x5a6d6a(_0x5081af)),H(0x4,_0x5a6d6a(q)),H(0x5,_0x5a6d6a(_0x35b7e5)),H(0x6,_0x5a6d6a(_0x14cd71)),H(0x7,_0x5a6d6a(_0x4839c7)),H(0x8,_0x5a6d6a(vt)),H(0x9,_0x18037c),H(0xa,_0x1078f7),H(0xb,_0x1f110a),H(0xc,_0x2d238b),H(0xd,_0x1ec62d(Rt))],is);var Co=Object[_0x18be96(0x2b6)],Eo=Object[_0x18be96(0x48e)],bo=(_0x11de5e,_0x2a02b1,_0x4d026d,_0x1f5cd2)=>{const _0x34254b=_0x18be96;for(var _0x36b058=_0x1f5cd2>0x1?void 0x0:_0x1f5cd2?Eo(_0x2a02b1,_0x4d026d):_0x2a02b1,_0x3c3872=_0x11de5e[_0x34254b(0x3fe)]-0x1,_0x4f02ba;_0x3c3872>=0x0;_0x3c3872--)(_0x4f02ba=_0x11de5e[_0x3c3872])&&(_0x36b058=(_0x1f5cd2?_0x4f02ba(_0x2a02b1,_0x4d026d,_0x36b058):_0x4f02ba(_0x36b058))||_0x36b058);return _0x1f5cd2&&_0x36b058&&Co(_0x2a02b1,_0x4d026d,_0x36b058),_0x36b058;},Lt=(_0x1c082f,_0xa6a151)=>(_0xb7a6a2,_0x47ad79)=>_0xa6a151(_0xb7a6a2,_0x47ad79,_0x1c082f);let it=class extends _0x2a7a1c{constructor(_0x23daf1,_0x2013ca,_0x255dea){const _0x460264=_0x18be96;super(),g(this,_0x460264(0x2c3),new Map()),g(this,_0x460264(0x537),new _0x3c35ab()),(this[_0x460264(0x273)]=_0x23daf1,this[_0x460264(0x443)]=_0x2013ca,this[_0x460264(0x1bb)]=_0x255dea,this['_init']());}[_0x18be96(0x2e5)](){const _0x3c36e5=_0x18be96;super[_0x3c36e5(0x2e5)](),this['_entities'][_0x3c36e5(0x1ce)](_0x2cea3e=>_0x2cea3e[_0x3c36e5(0x2e5)]()),this['_entities'][_0x3c36e5(0x27f)]();}[_0x18be96(0x2e3)](_0x4399c6){const _0x2fc94f=_0x18be96;var _0x3383ba;return(_0x3383ba=this[_0x2fc94f(0x2c3)][_0x2fc94f(0x281)](_0x4399c6))!=null?_0x3383ba:null;}[_0x18be96(0x4e8)](_0x57dc3a){const _0x49e927=_0x18be96,_0x3895c8=this[_0x49e927(0x2e3)](_0x57dc3a);return _0x3895c8?_0x1aa3f9(_0x3895c8):this[_0x49e927(0x537)][_0x49e927(0x1e7)](_0x25082a(_0x53051e=>_0x53051e[_0x49e927(0x3c4)]===_0x57dc3a));}['_init'](){const _0x5ec340=_0x18be96;this[_0x5ec340(0x1bb)]['getTypeOfUnitAdded$'](_0xaaf3fc[_0x5ec340(0x1cd)])[_0x5ec340(0x1e7)](_0x224c08(this['dispose$']),_0x5aa0ee(0x10))['subscribe'](async _0x1e73d9=>{const _0x1606b4=_0x5ec340,_0xc0d2c3=_0x1e73d9['getUnitId'](),_0x2e1ee2=await this[_0x1606b4(0x425)](_0xc0d2c3,ce[_0x1606b4(0x1cd)]);this['_entities'][_0x1606b4(0x29c)](_0xc0d2c3,_0x2e1ee2);}),this[_0x5ec340(0x1bb)][_0x5ec340(0x312)](_0xaaf3fc[_0x5ec340(0x24b)])['pipe'](_0x224c08(this['dispose$']),_0x5aa0ee(0x10))[_0x5ec340(0x1e7)](_0x25082a(_0x8fcdf=>!_0x8fcdf[_0x5ec340(0x15f)]()[_0x5ec340(0x3c9)]('__')))['subscribe'](async _0x17d7dc=>{const _0x1830f7=_0x5ec340,_0x5c6b20=_0x17d7dc[_0x1830f7(0x15f)](),_0x19e21b=await this['_startCollaboration'](_0x5c6b20,ce[_0x1830f7(0x24b)]);this[_0x1830f7(0x2c3)][_0x1830f7(0x29c)](_0x5c6b20,_0x19e21b);}),_0xb29ff3(this[_0x5ec340(0x1bb)][_0x5ec340(0x201)](_0xaaf3fc['UNIVER_SHEET']),this['_univerInstanceService'][_0x5ec340(0x201)](_0xaaf3fc[_0x5ec340(0x24b)]))[_0x5ec340(0x1e7)](_0x224c08(this[_0x5ec340(0x3f4)]))['subscribe'](_0x2fdd70=>{const _0x168c4b=_0x5ec340,_0x5e9f1a=_0x2fdd70[_0x168c4b(0x15f)](),_0x7042c9=this['_entities'][_0x168c4b(0x281)](_0x5e9f1a);_0x7042c9&&(_0x7042c9[_0x168c4b(0x2e5)](),this[_0x168c4b(0x2c3)]['delete'](_0x5e9f1a));});}async[_0x18be96(0x425)](_0x1df7d9,_0x2e8258){const _0x362fab=_0x18be96,_0x4e77a8=await this['_collabSessionService'][_0x362fab(0x33f)](_0x1df7d9),_0x3996fe=this['_injector']['createInstance'](this[_0x362fab(0x4a1)](_0x2e8258),_0x1df7d9,_0x2e8258,_0x4e77a8);return await _0x3996fe['init'](),this[_0x362fab(0x537)]['next'](_0x3996fe),_0x3996fe;}['_getCtorByUniverType'](_0x5d1766){const _0x12e735=_0x18be96;switch(_0x5d1766){case ce[_0x12e735(0x24b)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5d1766);}}};it=bo([Lt(0x0,_0x5a6d6a(_0x5081af)),Lt(0x1,_0x5a6d6a(Ae)),Lt(0x2,_0x1f1cc4)],it);const Gs=[_0x18be96(0x1ea),_0x18be96(0x314),_0x18be96(0x442),_0x18be96(0x368),'blue400',_0x18be96(0x4d1)];class bs extends _0x5689e0{constructor(){const _0x4fa1b1=_0x18be96;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x4fa1b1(0x4dd),0x0);}[_0x18be96(0x37b)](_0x108a5a){const _0x5f5647=_0x18be96;if(this['_assignedColors'][_0x5f5647(0x3a5)](_0x108a5a))return this[_0x5f5647(0x449)][_0x5f5647(0x281)](_0x108a5a);const _0x36c1be=Gs[this[_0x5f5647(0x4dd)]];return this['_colorIndex']=(this[_0x5f5647(0x4dd)]+0x1)%Gs['length'],this[_0x5f5647(0x449)][_0x5f5647(0x29c)](_0x108a5a,_0x36c1be),_0x36c1be;}}var To=Object[_0x18be96(0x2b6)],Ro=Object['getOwnPropertyDescriptor'],yo=(_0x4ee498,_0x4ab63a,_0x1be5b6,_0x4dfaff)=>{const _0x3b3b48=_0x18be96;for(var _0x4e33e7=_0x4dfaff>0x1?void 0x0:_0x4dfaff?Ro(_0x4ab63a,_0x1be5b6):_0x4ab63a,_0x9bddb6=_0x4ee498[_0x3b3b48(0x3fe)]-0x1,_0x582d93;_0x9bddb6>=0x0;_0x9bddb6--)(_0x582d93=_0x4ee498[_0x9bddb6])&&(_0x4e33e7=(_0x4dfaff?_0x582d93(_0x4ab63a,_0x1be5b6,_0x4e33e7):_0x582d93(_0x4e33e7))||_0x4e33e7);return _0x4dfaff&&_0x4e33e7&&To(_0x4ab63a,_0x1be5b6,_0x4e33e7),_0x4e33e7;},Oe=(_0x32025c,_0x4ba2fe)=>(_0xfaa5dd,_0x5d34e1)=>_0x4ba2fe(_0xfaa5dd,_0x5d34e1,_0x32025c);const Oo=0x12c,wo=0x64;let ns=class extends _0x2a7a1c{constructor(_0x10225b,_0x11b976,_0x244cac,_0x50f583,_0x42a7d6,_0x5f254e,_0x4696a0,_0xfc2b8d,_0x321b3b){const _0x31a00c=_0x18be96;super(),g(this,_0x31a00c(0x143),!0x1),g(this,_0x31a00c(0x466),!0x1),g(this,_0x31a00c(0x4d6),new _0x398285(new Map())),g(this,_0x31a00c(0x359),this['_cursorInfo$'][_0x31a00c(0x35e)]()),g(this,_0x31a00c(0x44c),new _0x398285([])),g(this,_0x31a00c(0x4aa),this['_roomMembers$']['pipe'](_0x1bb1f9(Oo))),g(this,_0x31a00c(0x238),_0x1b4769(_0x20c1dd=>{const _0x5cd21a=_0x31a00c,_0x29c73e={'eventID':_0x4757a2[_0x5cd21a(0x16e)],'data':{'unitID':this['unitID'],'memberID':this[_0x5cd21a(0x440)][_0x5cd21a(0x1b6)](),'selection':Pi(_0x20c1dd)}};this[_0x5cd21a(0x440)][_0x5cd21a(0x20c)](_0x29c73e,this['unitID']);},wo)),(this[_0x31a00c(0x3c4)]=_0x10225b,this[_0x31a00c(0x440)]=_0x11b976,this[_0x31a00c(0x273)]=_0x244cac,this[_0x31a00c(0x3bc)]=_0x50f583,this[_0x31a00c(0x431)]=_0x42a7d6,this[_0x31a00c(0x37d)]=_0x5f254e,this[_0x31a00c(0x38f)]=_0x4696a0,this[_0x31a00c(0x1bb)]=_0xfc2b8d,this[_0x31a00c(0x20f)]=_0x321b3b);}get[_0x18be96(0x337)](){const _0x16d43f=_0x18be96;return this[_0x16d43f(0x4d6)]['getValue']();}get[_0x18be96(0x26b)](){const _0xf0a8fd=_0x18be96;return this[_0xf0a8fd(0x44c)][_0xf0a8fd(0x485)]();}['dispose'](){const _0x47373d=_0x18be96;super[_0x47373d(0x2e5)](),this[_0x47373d(0x4d6)][_0x47373d(0x319)](new Map()),this[_0x47373d(0x4d6)][_0x47373d(0x4d5)](),this[_0x47373d(0x44c)][_0x47373d(0x319)]([]),this[_0x47373d(0x44c)][_0x47373d(0x4d5)]();}['init'](){const _0x248d2e=_0x18be96;this[_0x248d2e(0x466)]||(this[_0x248d2e(0x466)]=!0x0,this[_0x248d2e(0x440)][_0x248d2e(0x46d)][_0x248d2e(0x1e7)](_0x224c08(this[_0x248d2e(0x3f4)]))['subscribe'](_0x12bcc1=>{const _0x2b6cca=_0x248d2e;_0x12bcc1===ve[_0x2b6cca(0x416)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x248d2e(0x440)]['event$'][_0x248d2e(0x1e7)](_0x224c08(this[_0x248d2e(0x3f4)]))[_0x248d2e(0x450)](_0x4c941b=>{const _0x5a46ee=_0x248d2e,_0x20e59a=_0x4c941b[_0x5a46ee(0x418)];_0x20e59a===_0x4757a2[_0x5a46ee(0x16e)]&&this[_0x5a46ee(0x306)](_0x4c941b),_0x20e59a===_0x4757a2[_0x5a46ee(0x1eb)]&&this[_0x5a46ee(0x444)](_0x4c941b);}),this[_0x248d2e(0x388)](this[_0x248d2e(0x20f)][_0x248d2e(0x1e1)](_0xe8d580=>{const _0x1191da=_0x248d2e,_0x5c3aa6=_0xe8d580[_0x1191da(0x1cc)];_0x5c3aa6!=null&&this[_0x1191da(0x143)]&&_0xe8d580['id']===_0x5bd696['id']&&_0x5c3aa6[_0x1191da(0x45a)]===this['unitID']&&_0x5c3aa6[_0x1191da(0x362)]===!0x1&&_0x5c3aa6['ranges'][_0x1191da(0x3fe)]>0x0&&this[_0x1191da(0x238)](_0x5c3aa6['ranges']);})),this[_0x248d2e(0x37d)][_0x248d2e(0x4f9)]['pipe'](_0x224c08(this[_0x248d2e(0x3f4)]))[_0x248d2e(0x450)](_0x15ffea=>{const _0x48e377=_0x248d2e;if((_0x15ffea==null?void 0x0:_0x15ffea['unitID'])!==this['unitID'])return;const _0x245405={'eventID':_0x4757a2[_0x48e377(0x16e)],'data':_0x15ffea};this['_onCursorUpdate'](_0x245405);}),this['disposeWithMe'](this[_0x248d2e(0x20f)][_0x248d2e(0x1e1)](_0xa28a88=>{const _0x34f4ed=_0x248d2e;if(_0xa28a88['params']==null)return;const _0x2e7d36=_0xa28a88[_0x34f4ed(0x1cc)];if(_0xa28a88['id']!==_0x35bc3d['id']||_0x2e7d36[_0x34f4ed(0x45a)]!==this[_0x34f4ed(0x3c4)])return;const _0x4a7e8e={'id':_0x34f4ed(0x4e4),'params':_0x2e7d36},_0x1bbffa=this[_0x34f4ed(0x337)];for(const [_0x1171e1,_0x1c070d]of _0x1bbffa){const _0x4602c1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1c070d[_0x34f4ed(0x2f3)]}},_0x22b824=this[_0x34f4ed(0x38f)][_0x34f4ed(0x52f)](_0x4a7e8e,_0x4602c1,!0x1);if(_0x55ec7f(_0x22b824))throw _0x22b824[_0x34f4ed(0x494)];_0x1bbffa[_0x34f4ed(0x29c)](_0x1171e1,{..._0x1c070d,'ranges':_0x22b824['m2Prime'][_0x34f4ed(0x1cc)][_0x34f4ed(0x461)]});}queueMicrotask(()=>{const _0x211099=_0x34f4ed;this[_0x211099(0x4d6)]['next'](_0x1bbffa);});})));}[_0x18be96(0x306)](_0x35a68d){const _0x134297=_0x18be96;var _0x9a85be,_0x1f3d61;const {memberID:_0x584300,selection:_0x56a640}=_0x35a68d[_0x134297(0x292)],_0x657b8f=ho(_0x56a640),_0x34b1a1=(_0x1f3d61=(_0x9a85be=this['_memberService'][_0x134297(0x50e)](this['unitID'],_0x584300))==null?void 0x0:_0x9a85be[_0x134297(0x236)])!=null?_0x1f3d61:_0x134297(0x1fa),_0x4c60d5={'color':this['_colorAssignService'][_0x134297(0x37b)](_0x584300),'name':_0x34b1a1,'ranges':_0x657b8f},_0x2abf2e=this[_0x134297(0x337)];_0x2abf2e[_0x134297(0x29c)](_0x584300,_0x4c60d5),this[_0x134297(0x4d6)]['next'](_0x2abf2e);}[_0x18be96(0x444)](_0x1e3d10){const _0x24d67d=_0x18be96,{memberID:_0x50631f}=_0x1e3d10['data'],_0x298340=this[_0x24d67d(0x337)];_0x298340['delete'](_0x50631f),this['_cursorInfo$'][_0x24d67d(0x319)](_0x298340);}[_0x18be96(0x4d4)](){const _0x1a1dfb=_0x18be96;var _0x24ebd9;if(this[_0x1a1dfb(0x143)]=!0x0,((_0x24ebd9=this['_univerInstanceService'][_0x1a1dfb(0x3c3)]())==null?void 0x0:_0x24ebd9[_0x1a1dfb(0x15f)]())!==this[_0x1a1dfb(0x3c4)])return;const _0x45c03c=this[_0x1a1dfb(0x273)]['get'](_0x5b2f3a)['getDocRanges']();Array[_0x1a1dfb(0x3b3)](_0x45c03c)&&_0x45c03c[_0x1a1dfb(0x3fe)]>0x0&&this[_0x1a1dfb(0x238)](_0x45c03c);}[_0x18be96(0x154)](){const _0x4f67d2=_0x18be96;this[_0x4f67d2(0x143)]=!0x1;}};ns=yo([Oe(0x2,_0x5a6d6a(_0x5081af)),Oe(0x3,_0x5a6d6a(bs)),Oe(0x4,_0x5a6d6a(Ne)),Oe(0x5,_0x5a6d6a(Cs)),Oe(0x6,_0x56124f),Oe(0x7,_0x1f1cc4),Oe(0x8,_0x1078f7)],ns);var Do=Object[_0x18be96(0x2b6)],Po=Object[_0x18be96(0x48e)],Uo=(_0x2905aa,_0x35fd63,_0xd630af,_0x34c3e5)=>{const _0xd7d08c=_0x18be96;for(var _0x662605=_0x34c3e5>0x1?void 0x0:_0x34c3e5?Po(_0x35fd63,_0xd630af):_0x35fd63,_0x1f69eb=_0x2905aa[_0xd7d08c(0x3fe)]-0x1,_0xe5bff7;_0x1f69eb>=0x0;_0x1f69eb--)(_0xe5bff7=_0x2905aa[_0x1f69eb])&&(_0x662605=(_0x34c3e5?_0xe5bff7(_0x35fd63,_0xd630af,_0x662605):_0xe5bff7(_0x662605))||_0x662605);return _0x34c3e5&&_0x662605&&Do(_0x35fd63,_0xd630af,_0x662605),_0x662605;},Be=(_0x30edaf,_0x28388f)=>(_0x4cd98a,_0x16dee4)=>_0x28388f(_0x4cd98a,_0x16dee4,_0x30edaf);const No=0x12c,Ao=0x64,Mo=()=>{let _0x5c5d90=[],_0x5f39a1=!0x1;return _0x211db0=>{const _0x47fe2e=_0x3fdc;_0x5c5d90[_0x47fe2e(0x263)](_0x211db0),_0x5f39a1||(_0x5f39a1=!0x0,setTimeout(()=>{_0x5c5d90['forEach'](_0x1d1a03=>_0x1d1a03()),_0x5c5d90=[],_0x5f39a1=!0x1;}));};};let rs=class extends _0x2a7a1c{constructor(_0x489df1,_0x28372b,_0x1b3438,_0x59b918,_0x1f5d23,_0x3ac456,_0xe5b8a2,_0x216baf){const _0x4181cf=_0x18be96;super(),g(this,_0x4181cf(0x143),!0x1),g(this,'_init',!0x1),g(this,_0x4181cf(0x4d6),new _0x398285(new Map())),g(this,_0x4181cf(0x359),this[_0x4181cf(0x4d6)][_0x4181cf(0x35e)]()),g(this,'_roomMembers$',new _0x398285([])),g(this,_0x4181cf(0x4aa),this[_0x4181cf(0x44c)][_0x4181cf(0x1e7)](_0x1bb1f9(No))),g(this,_0x4181cf(0x238),_0x1b4769((_0x539f64,_0x583dcf)=>{const _0xaa09a7=_0x4181cf,_0x4bb6d3={'eventID':_0x4757a2[_0xaa09a7(0x16e)],'data':{'unitID':this['unitID'],'memberID':this[_0xaa09a7(0x440)][_0xaa09a7(0x1b6)](),'selection':_0x52c77c(_0x539f64,_0x583dcf[_0xaa09a7(0x4c4)])}};this[_0xaa09a7(0x440)][_0xaa09a7(0x20c)](_0x4bb6d3,this[_0xaa09a7(0x3c4)]);},Ao)),(this['unitID']=_0x489df1,this[_0x4181cf(0x440)]=_0x28372b,this[_0x4181cf(0x273)]=_0x1b3438,this[_0x4181cf(0x3bc)]=_0x59b918,this[_0x4181cf(0x431)]=_0x1f5d23,this['_univerInstanceService']=_0x3ac456,this[_0x4181cf(0x20f)]=_0xe5b8a2,this[_0x4181cf(0x31a)]=_0x216baf);}get[_0x18be96(0x337)](){const _0x42bdab=_0x18be96;return this['_cursorInfo$'][_0x42bdab(0x485)]();}get[_0x18be96(0x26b)](){const _0x3c0dd9=_0x18be96;return this[_0x3c0dd9(0x44c)][_0x3c0dd9(0x485)]();}[_0x18be96(0x2e5)](){const _0x2809e3=_0x18be96;super[_0x2809e3(0x2e5)](),this['_cursorInfo$']['next'](new Map()),this[_0x2809e3(0x4d6)][_0x2809e3(0x4d5)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x2809e3(0x4d5)]();}['init'](){const _0x79f019=_0x18be96;this['_init']||(this[_0x79f019(0x466)]=!0x0,this['_session'][_0x79f019(0x46d)][_0x79f019(0x1e7)](_0x224c08(this[_0x79f019(0x3f4)]))['subscribe'](_0x273ed0=>{const _0xe0708a=_0x79f019;_0x273ed0===ve[_0xe0708a(0x416)]?this[_0xe0708a(0x4d4)]():this[_0xe0708a(0x154)]();}),this[_0x79f019(0x440)]['event$']['pipe'](_0x224c08(this[_0x79f019(0x3f4)]))[_0x79f019(0x450)](_0x462b5c=>{const _0x2edc90=_0x79f019,_0x51cffd=_0x462b5c[_0x2edc90(0x418)];_0x51cffd===_0x4757a2[_0x2edc90(0x16e)]&&this[_0x2edc90(0x306)](_0x462b5c),_0x51cffd===_0x4757a2[_0x2edc90(0x1eb)]&&this[_0x2edc90(0x444)](_0x462b5c);}),this[_0x79f019(0x4c1)](),this[_0x79f019(0x388)](this[_0x79f019(0x20f)][_0x79f019(0x1e1)](_0x2c473e=>{const _0x2e608c=_0x79f019;if(this['_online']&&_0x2c473e['id']===_0xfb1397['id']&&_0x2c473e[_0x2e608c(0x1cc)][_0x2e608c(0x45a)]===this[_0x2e608c(0x3c4)]){const _0x2e9e2c=_0x2c473e[_0x2e608c(0x1cc)];this[_0x2e608c(0x238)](_0x2e9e2c[_0x2e608c(0x256)],_0x2e9e2c[_0x2e608c(0x2fc)][0x0]);}})));}[_0x18be96(0x306)](_0x399312){const _0x5763cd=_0x18be96;var _0x36c855,_0x2de817;const {memberID:_0x305bdf,selection:_0x2c941f}=_0x399312[_0x5763cd(0x292)],{sheetName:_0x5cb005,range:_0x249ea9}=_0x39ba31(_0x2c941f),_0x3f3bbc={'name':(_0x2de817=(_0x36c855=this[_0x5763cd(0x431)]['getMember'](this[_0x5763cd(0x3c4)],_0x305bdf))==null?void 0x0:_0x36c855[_0x5763cd(0x236)])!=null?_0x2de817:_0x5763cd(0x1fa),'range':this[_0x5763cd(0x334)](_0x5cb005,_0x249ea9),'sheetID':_0x5cb005,'color':this['_colorAssignService'][_0x5763cd(0x37b)](_0x305bdf),'selection':_0x2c941f},_0x29dcde=this[_0x5763cd(0x337)];_0x29dcde['set'](_0x305bdf,_0x3f3bbc),this[_0x5763cd(0x4d6)][_0x5763cd(0x319)](_0x29dcde);}[_0x18be96(0x444)](_0x1cdae2){const _0x24775f=_0x18be96,{memberID:_0x3ed09e}=_0x1cdae2[_0x24775f(0x292)],_0xe821c8=this[_0x24775f(0x337)];_0xe821c8['delete'](_0x3ed09e),this[_0x24775f(0x4d6)][_0x24775f(0x319)](_0xe821c8);}[_0x18be96(0x334)](_0xf2dab7,_0x58f168){const _0x2d80f4=_0x18be96;var _0x206618,_0x46528f;const _0x208fec=(_0x46528f=(_0x206618=this[_0x2d80f4(0x1bb)]['getUniverSheetInstance'](this[_0x2d80f4(0x3c4)]))==null?void 0x0:_0x206618[_0x2d80f4(0x2db)](_0xf2dab7))==null?void 0x0:_0x46528f[_0x2d80f4(0x509)]();return(_0x208fec==null?void 0x0:_0x208fec[_0x2d80f4(0x24f)](_0x25e0ec=>_0x41e881[_0x2d80f4(0x261)](_0x25e0ec,_0x58f168)))||_0x58f168;}['_onRefRangeChange'](){const _0x31896e=_0x18be96,_0x289c5a=new _0x15f4b9(),_0x3684ab=Mo(),_0x352515=()=>{const _0x4b8038=_0x3fdc;_0x289c5a[_0x4b8038(0x2e5)]();const _0x37958d=(_0x54043d,_0x17467e,_0x104a23,_0x53e83a)=>{const _0x59742e=_0x4b8038;let _0x311103=[];switch(_0x54043d['id']){case _0x378df7[_0x59742e(0x2dd)]:{_0x311103=_0x16699f(_0x54043d,_0x53e83a);break;}case _0x378df7['DeleteRangeMoveUpCommandId']:{_0x311103=_0x19eb2d(_0x54043d,_0x53e83a);break;}case _0x378df7[_0x59742e(0x49b)]:{_0x311103=_0x3185fb(_0x54043d,_0x53e83a);break;}case _0x378df7[_0x59742e(0x411)]:{_0x311103=_0x2d0c21(_0x54043d,_0x53e83a);break;}case _0x378df7[_0x59742e(0x286)]:{_0x311103=_0x36b3a5(_0x54043d,_0x53e83a);break;}case _0x378df7['InsertRowCommandId']:{_0x311103=_0x41c872(_0x54043d,_0x53e83a);break;}case _0x378df7['MoveRangeCommandId']:{_0x311103=_0x5a0bc9(_0x54043d,_0x53e83a);break;}case _0x378df7[_0x59742e(0x192)]:{_0x311103=_0x55b1c8(_0x54043d,_0x53e83a);break;}case _0x378df7[_0x59742e(0x1a4)]:{_0x311103=_0x47e29e(_0x54043d,_0x53e83a);break;}}const _0x44fbbc=_0x14ffc2(_0x311103,_0x53e83a),_0x2093c2=this[_0x59742e(0x337)][_0x59742e(0x281)](_0x17467e);if(_0x2093c2&&_0x44fbbc){const _0x30bc53={..._0x2093c2,'range':_0x44fbbc};this[_0x59742e(0x337)]['set'](_0x17467e,_0x30bc53),_0x3684ab(()=>{const _0x140eb0=_0x59742e,_0x2f61d3=this[_0x140eb0(0x31a)][_0x140eb0(0x2ab)](_0x44fbbc,_0x5b3eb1=>(_0x2f61d3[_0x140eb0(0x2e5)](),_0x37958d(_0x5b3eb1,_0x17467e,_0x104a23,_0x44fbbc)));_0x289c5a[_0x140eb0(0x338)](_0x2f61d3);});}return{'redos':[],'undos':[]};};this[_0x4b8038(0x337)][_0x4b8038(0x1ce)]((_0xf34b27,_0x9f2aec)=>{const _0x2c3fdc=_0x4b8038,{range:_0x53109f,sheetID:_0x2c9869}=_0xf34b27,_0x1b15e9=this[_0x2c3fdc(0x31a)][_0x2c3fdc(0x2ab)](_0x53109f,_0x55bf2d=>(_0x1b15e9[_0x2c3fdc(0x2e5)](),_0x37958d(_0x55bf2d,_0x9f2aec,_0x2c9869,_0x53109f)));_0x289c5a[_0x2c3fdc(0x338)](_0x1b15e9);});};this[_0x31896e(0x388)](_0x186f86(this[_0x31896e(0x4d6)][_0x31896e(0x450)](()=>{_0x352515();})));}[_0x18be96(0x4d4)](){const _0x136f9c=_0x18be96;var _0x19e0f8,_0x44da39;if(this[_0x136f9c(0x143)]=!0x0,((_0x19e0f8=this[_0x136f9c(0x1bb)][_0x136f9c(0x3c3)]())==null?void 0x0:_0x19e0f8[_0x136f9c(0x15f)]())!==this['unitID'])return;const _0x44a450=(_0x44da39=this['_injector'][_0x136f9c(0x281)](_0x23ad72)[_0x136f9c(0x4f1)]())==null?void 0x0:_0x44da39[0x0],_0x2fe57b=this[_0x136f9c(0x1bb)][_0x136f9c(0x35d)](_0xaaf3fc[_0x136f9c(0x1cd)])['getActiveSheet']();_0x44a450&&_0x2fe57b&&this['_updateLocalCursor'](_0x2fe57b['getSheetId'](),_0x44a450);}[_0x18be96(0x154)](){const _0x283d1d=_0x18be96;this[_0x283d1d(0x143)]=!0x1;}};rs=Uo([Be(0x2,_0x5a6d6a(_0x5081af)),Be(0x3,_0x5a6d6a(bs)),Be(0x4,_0x5a6d6a(Ne)),Be(0x5,_0x1f1cc4),Be(0x6,_0x1078f7),Be(0x7,_0x5a6d6a(_0x1226ee))],rs);var xo=Object[_0x18be96(0x2b6)],Lo=Object[_0x18be96(0x48e)],$o=(_0x4992aa,_0x52d5d1,_0x4cc0a7,_0x602c21)=>{const _0x14555a=_0x18be96;for(var _0x51bd3e=_0x602c21>0x1?void 0x0:_0x602c21?Lo(_0x52d5d1,_0x4cc0a7):_0x52d5d1,_0x4a1aa2=_0x4992aa[_0x14555a(0x3fe)]-0x1,_0x405b08;_0x4a1aa2>=0x0;_0x4a1aa2--)(_0x405b08=_0x4992aa[_0x4a1aa2])&&(_0x51bd3e=(_0x602c21?_0x405b08(_0x52d5d1,_0x4cc0a7,_0x51bd3e):_0x405b08(_0x51bd3e))||_0x51bd3e);return _0x602c21&&_0x51bd3e&&xo(_0x52d5d1,_0x4cc0a7,_0x51bd3e),_0x51bd3e;},$t=(_0x19639b,_0x5a8042)=>(_0x20e0bd,_0x4b85e8)=>_0x5a8042(_0x20e0bd,_0x4b85e8,_0x19639b);let Ve=class extends _0x2a7a1c{constructor(_0x33fb3e,_0x10de0a,_0x4a3563){const _0x2d8d32=_0x18be96;super(),g(this,_0x2d8d32(0x2c3),new Map()),g(this,_0x2d8d32(0x537),new _0x3c35ab()),(this[_0x2d8d32(0x1bb)]=_0x33fb3e,this[_0x2d8d32(0x273)]=_0x10de0a,this['_collabSessionService']=_0x4a3563,this['_init']());}[_0x18be96(0x2e5)](){const _0x41f0ba=_0x18be96;super[_0x41f0ba(0x2e5)](),this[_0x41f0ba(0x537)]['complete'](),this[_0x41f0ba(0x2c3)][_0x41f0ba(0x1ce)](_0x154d08=>_0x154d08[_0x41f0ba(0x2e5)]());}[_0x18be96(0x25e)](_0x3fccd1){const _0x37478e=_0x18be96;return this['_entities'][_0x37478e(0x3a5)](_0x3fccd1)?this[_0x37478e(0x2c3)][_0x37478e(0x281)](_0x3fccd1)['cursorInfo$']:this['_entityInit$'][_0x37478e(0x1e7)](_0x121cc6(_0x3d9736=>_0x3d9736[_0x37478e(0x3c4)]===_0x3fccd1),_0x303958(_0x5bcb8a=>_0x5bcb8a[_0x37478e(0x359)]));}['_init'](){const _0x1f365b=_0x18be96;this[_0x1f365b(0x1bb)][_0x1f365b(0x312)](_0xaaf3fc['UNIVER_SHEET'])[_0x1f365b(0x1e7)](_0x224c08(this[_0x1f365b(0x3f4)]))[_0x1f365b(0x450)](async _0xbbd262=>{const _0x50f735=_0x1f365b,_0x1d872f=_0xbbd262[_0x50f735(0x15f)](),_0x4c50c6=await this[_0x50f735(0x1e4)](_0x1d872f);this[_0x50f735(0x537)][_0x50f735(0x319)](_0x4c50c6),this[_0x50f735(0x2c3)]['set'](_0x1d872f,_0x4c50c6);}),this[_0x1f365b(0x1bb)]['getTypeOfUnitAdded$'](_0xaaf3fc[_0x1f365b(0x24b)])['pipe'](_0x224c08(this['dispose$']))[_0x1f365b(0x1e7)](_0x121cc6(_0x400b08=>!_0x400b08['getUnitId']()['startsWith']('__')))[_0x1f365b(0x450)](async _0x4cce21=>{const _0x176051=_0x1f365b,_0xf54e86=_0x4cce21[_0x176051(0x15f)](),_0x46dbae=await this[_0x176051(0x417)](_0xf54e86);this['_entityInit$'][_0x176051(0x319)](_0x46dbae),this[_0x176051(0x2c3)]['set'](_0xf54e86,_0x46dbae);}),_0xb29ff3(this[_0x1f365b(0x1bb)][_0x1f365b(0x201)](_0xaaf3fc[_0x1f365b(0x24b)]),this[_0x1f365b(0x1bb)][_0x1f365b(0x201)](_0xaaf3fc['UNIVER_SHEET']))[_0x1f365b(0x1e7)](_0x224c08(this['dispose$']))[_0x1f365b(0x450)](_0x49e99b=>{const _0xf7abc5=_0x1f365b,_0x116aee=_0x49e99b[_0xf7abc5(0x15f)](),_0xcee46e=this[_0xf7abc5(0x2c3)][_0xf7abc5(0x281)](_0x116aee);_0xcee46e&&(_0xcee46e[_0xf7abc5(0x2e5)](),this[_0xf7abc5(0x2c3)][_0xf7abc5(0x249)](_0x116aee));});}async[_0x18be96(0x1e4)](_0x239796){const _0x903605=_0x18be96,_0x3810e2=await this[_0x903605(0x443)][_0x903605(0x33f)](_0x239796),_0x37f865=this[_0x903605(0x273)]['createInstance'](rs,_0x239796,_0x3810e2);return _0x37f865[_0x903605(0x47e)](),_0x37f865;}async[_0x18be96(0x417)](_0x34c8b3){const _0x4fc110=_0x18be96,_0x5a07e9=await this['_collabSessionService'][_0x4fc110(0x33f)](_0x34c8b3),_0x5eb097=this[_0x4fc110(0x273)][_0x4fc110(0x2eb)](ns,_0x34c8b3,_0x5a07e9);return _0x5eb097[_0x4fc110(0x47e)](),_0x5eb097;}};Ve=$o([$t(0x0,_0x1f1cc4),$t(0x1,_0x5a6d6a(_0x5081af)),$t(0x2,_0x5a6d6a(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x519e52,_0x5f2c1a){const _0x265a80=_0x18be96;let {radius:_0x10222e,width:_0x2a25a3,height:_0x1cf9dc}=_0x5f2c1a;_0x10222e=_0x10222e!=null?_0x10222e:0x0,_0x2a25a3=_0x2a25a3!=null?_0x2a25a3:0x1e,_0x1cf9dc=_0x1cf9dc!=null?_0x1cf9dc:0x1e;let _0x5bee0a=0x0,_0x104106=0x0,_0x4d5678=0x0;_0x5bee0a=_0x104106=_0x4d5678=Math[_0x265a80(0x4e1)](_0x10222e,_0x2a25a3/0x2,_0x1cf9dc/0x2),_0x519e52['beginPath'](),_0x519e52[_0x265a80(0x221)](_0x5bee0a,0x0),_0x519e52[_0x265a80(0x24a)](_0x2a25a3-_0x104106,0x0),_0x519e52[_0x265a80(0x1f5)](_0x2a25a3-_0x104106,_0x104106,_0x104106,Math['PI']*0x3/0x2,0x0,!0x1),_0x519e52[_0x265a80(0x24a)](_0x2a25a3,_0x1cf9dc-_0x4d5678),_0x519e52[_0x265a80(0x1f5)](_0x2a25a3-_0x4d5678,_0x1cf9dc-_0x4d5678,_0x4d5678,0x0,Math['PI']/0x2,!0x1),_0x519e52[_0x265a80(0x24a)](0x0,_0x1cf9dc),_0x519e52['lineTo'](0x0,_0x5bee0a),_0x519e52['arc'](_0x5bee0a,_0x5bee0a,_0x5bee0a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x519e52['closePath'](),_0x5f2c1a[_0x265a80(0x39c)]&&(_0x519e52[_0x265a80(0x43e)](),_0x519e52['fillStyle']=_0x5f2c1a[_0x265a80(0x39c)],_0x5f2c1a[_0x265a80(0x302)]===_0x265a80(0x131)?_0x519e52[_0x265a80(0x39c)](_0x265a80(0x131)):_0x519e52[_0x265a80(0x39c)](),_0x519e52[_0x265a80(0x3b2)]());}class yt extends _0x1e847a{constructor(_0x2a0e9e,_0x268b4d){const _0x2517c1=_0x18be96;super(_0x2a0e9e,_0x268b4d),g(this,'color'),g(this,_0x2517c1(0x432)),(this['color']=_0x268b4d==null?void 0x0:_0x268b4d[_0x2517c1(0x1a9)],this['text']=_0x268b4d==null?void 0x0:_0x268b4d[_0x2517c1(0x432)]);}static[_0x18be96(0x4d3)](_0x1e7e53,_0x3587e1){const _0x3bb450=_0x18be96,{text:_0x1a4279,color:_0x5d9d70}=_0x3587e1;_0x1e7e53[_0x3bb450(0x43e)](),_0x1e7e53[_0x3bb450(0x1f9)]=_0x3bb450(0x2fd);const _0x5d33ea=_0x1e7e53[_0x3bb450(0x165)](_0x1a4279)[_0x3bb450(0x476)],_0x5d7e63=Math['min'](_0x5d33ea+0x2*Ht,Ys);jo(_0x1e7e53,{'height':nt,'radius':0x4,'width':_0x5d7e63,'fill':_0x5d9d70,'evented':!0x1}),_0x1e7e53[_0x3bb450(0x1b5)]=_0x3bb450(0x30f);const _0x2eb612=Ht,_0x5f5bf3=nt-Ho,_0xccbecf=Ys-0x2*Ht;if(_0x5d33ea>_0xccbecf){let _0x2e3875='',_0x365bd1=0x0;for(const _0x1e6a5f of _0x1a4279){const _0x1e8dfb=_0x1e7e53[_0x3bb450(0x165)](_0x1e6a5f)[_0x3bb450(0x476)];if(_0x365bd1+_0x1e8dfb<=_0xccbecf-_0x1e7e53[_0x3bb450(0x165)](_0x3bb450(0x36e))['width'])_0x2e3875+=_0x1e6a5f,_0x365bd1+=_0x1e8dfb;else{_0x2e3875+=_0x3bb450(0x36e);break;}}_0x1e7e53[_0x3bb450(0x1d6)](_0x2e3875,_0x2eb612,_0x5f5bf3);}else _0x1e7e53[_0x3bb450(0x1d6)](_0x1a4279,_0x2eb612,_0x5f5bf3);_0x1e7e53[_0x3bb450(0x3b2)]();}[_0x18be96(0x1d2)](_0x2b41be){const _0x2adf4c=_0x18be96;yt[_0x2adf4c(0x4d3)](_0x2b41be,this);}}const jt=_0x18be96(0x200),Bo='collab-text-range-',ko=_0x18be96(0x332),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x3747ee,_0x1bab39,_0x3c4457,_0x3eaf22){const _0x4ee6e3=_0x18be96;g(this,_0x4ee6e3(0x4ce),[]),g(this,_0x4ee6e3(0x1b9),null),g(this,_0x4ee6e3(0x3de),null),g(this,_0x4ee6e3(0x248),null),g(this,_0x4ee6e3(0x3a7),null),g(this,_0x4ee6e3(0x3cd),null),(this['_cursor']=_0x3747ee,this[_0x4ee6e3(0x16d)]=_0x1bab39,this[_0x4ee6e3(0x1b1)]=_0x3c4457,this[_0x4ee6e3(0x1ad)]=_0x3eaf22,this['_render']());}set[_0x18be96(0x179)](_0x5748cb){const _0x507164=_0x18be96;_0x5748cb?(this['_anchorDot']&&this[_0x507164(0x248)][_0x507164(0x1dd)](),this['_textBubble']&&this[_0x507164(0x3de)][_0x507164(0x3a3)]()):(this[_0x507164(0x248)]&&this[_0x507164(0x248)][_0x507164(0x3a3)](),this[_0x507164(0x3de)]&&this[_0x507164(0x3de)][_0x507164(0x1dd)]());}['dispose'](){const _0x4efa82=_0x18be96;for(const _0x46f5c2 of this[_0x4efa82(0x4ce)])_0x46f5c2[_0x4efa82(0x2e5)]();this['_textBubble']&&this[_0x4efa82(0x3de)][_0x4efa82(0x2e5)](),this['_anchorDot']&&this[_0x4efa82(0x248)]['dispose'](),this[_0x4efa82(0x1b9)]&&this[_0x4efa82(0x1b9)]['dispose'](),this[_0x4efa82(0x3cd)]&&this[_0x4efa82(0x3cd)]();}[_0x18be96(0x18c)](){const _0x3607f3=_0x18be96;var _0x52f2e8;const {_docSkeleton:_0x503d8e,_document:_0x417ea2}=this,{color:_0xd3cf7d,name:_0x135617,ranges:_0x244b50}=this[_0x3607f3(0x164)],_0x16e6cf=_0x417ea2[_0x3607f3(0x3f0)](),{docsLeft:_0x52ce21,docsTop:_0x33f72a}=_0x16e6cf,_0x319c09=new _0x1b02ad(_0x16e6cf,_0x503d8e);for(const {startOffset:_0x21c020,endOffset:_0x4bc0da,rangeType:_0x6cbda5,segmentId:_0x5ec798,segmentPage:_0x342ce2,collapsed:_0x3473c4,isActive:_0x38232}of _0x244b50){const _0x414647=_0x503d8e[_0x3607f3(0x39b)](_0x21c020,!0x0,_0x5ec798,_0x342ce2);let _0x319a35=_0x503d8e['findNodePositionByCharIndex'](_0x4bc0da,!0x0,_0x5ec798,_0x342ce2);if(_0x319a35==null&&(_0x319a35=_0x503d8e[_0x3607f3(0x39b)](_0x4bc0da-0x1,!0x1,_0x5ec798,_0x342ce2)),_0x38232){const {contentBoxPointGroup:_0x26a4b7}=_0x319c09[_0x3607f3(0x218)](_0x319a35,_0x319a35);if(_0x26a4b7['length']===0x0)continue;this[_0x3607f3(0x16a)](_0xd3cf7d,_0x26a4b7,_0x52ce21,_0x33f72a,_0x135617),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x414647&&_0x319a35){if(_0x6cbda5===_0x2aeffc[_0x3607f3(0x2bd)]){const _0x300fca=new _0x42092a(_0x16e6cf,_0x503d8e),{pointGroup:_0xefa24f}=(_0x52f2e8=_0x300fca['getRangePointData'](_0x414647,_0x319a35))!=null?_0x52f2e8:{};if(_0xefa24f==null||_0xefa24f[_0x3607f3(0x3fe)]===0x0)continue;this[_0x3607f3(0x3ce)](_0xd3cf7d,_0xefa24f,_0x52ce21,_0x33f72a);}else{if(!_0x3473c4){const {borderBoxPointGroup:_0x23bc49}=_0x319c09['getRangePointData'](_0x414647,_0x319a35);if(_0x23bc49[_0x3607f3(0x3fe)]===0x0)continue;this[_0x3607f3(0x159)](_0xd3cf7d,_0x23bc49,_0x52ce21,_0x33f72a);}}}}}[_0x18be96(0x16a)](_0xb7736b,_0x164d23,_0x327239,_0x1ae94f,_0x5c513d){const _0x5e32dc=_0x18be96,_0x397a66=this[_0x5e32dc(0x391)](_0x164d23),{left:_0x348af1,top:_0x2f78ec,height:_0xdde46}=_0x397a66,_0x430b7e=this[_0x5e32dc(0x3aa)](),_0x238c1b=Fo/_0x430b7e,_0x2d4682=new _0x329a57(jt+_0x3c4730[_0x5e32dc(0x531)](Je),{'left':_0x348af1+_0x327239-_0x238c1b,'top':_0x2f78ec+_0x1ae94f,'height':_0xdde46,'width':Wo,'fill':_0xb7736b||_0x745fb0(_0x4647e4[_0x5e32dc(0x3ed)],0x0),'strokeWidth':_0x238c1b,'stroke':Vo,'evented':!0x0});this[_0x5e32dc(0x1b9)]=_0x2d4682,this[_0x5e32dc(0x16d)]['addObject'](_0x2d4682,_0x5a02c3);const _0x3c0c7d=new _0x329a57(jt+_0x3c4730[_0x5e32dc(0x531)](Je),{'left':_0x348af1+_0x327239-_0x238c1b,'top':_0x2f78ec+_0x1ae94f-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xb7736b||_0x745fb0(_0x4647e4[_0x5e32dc(0x3ed)],0x0),'strokeWidth':0x0,'stroke':_0xb7736b||_0x745fb0(_0x4647e4[_0x5e32dc(0x3ed)],0x0),'evented':!0x1});this[_0x5e32dc(0x248)]=_0x3c0c7d,this[_0x5e32dc(0x16d)][_0x5e32dc(0x145)](_0x3c0c7d,_0x5a02c3);const _0x2fed4a=new yt(jt+_0x3c4730['generateRandomId'](Je),{'left':_0x348af1+_0x327239-_0x238c1b,'top':_0x2f78ec+_0x1ae94f-nt,'text':_0x5c513d,'color':_0xb7736b});this[_0x5e32dc(0x3de)]=_0x2fed4a,this[_0x5e32dc(0x16d)][_0x5e32dc(0x145)](_0x2fed4a,_0x5a02c3),this[_0x5e32dc(0x179)]=!0x1;}[_0x18be96(0x343)](){const _0x8ea36d=_0x18be96,_0xd7295c=this[_0x8ea36d(0x1b9)][_0x8ea36d(0x41a)][_0x8ea36d(0x49c)](()=>{const _0x54ae82=_0x8ea36d;this[_0x54ae82(0x179)]=!0x0;}),_0x1d4053=this[_0x8ea36d(0x1b9)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x3da390=_0x8ea36d;this[_0x3da390(0x3a7)]&&clearTimeout(this[_0x3da390(0x3a7)]),this[_0x3da390(0x3a7)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x288b24=_0x8ea36d;_0xd7295c[_0x288b24(0x318)](),_0x1d4053[_0x288b24(0x318)]();};}['_drawTextRange'](_0x36bbd3,_0x589ace,_0x21b521,_0x3215ac){const _0x2f90d6=_0x18be96,_0x27484e=new _0xdd0748(_0x36bbd3)[_0x2f90d6(0x4a7)](0.2)[_0x2f90d6(0x2d2)](),_0x246e63=new _0x1bf31a(Bo+_0x3c4730[_0x2f90d6(0x531)](Je),{'pointsGroup':_0x589ace,'fill':_0x27484e||_0x745fb0(_0x4647e4[_0x2f90d6(0x3ed)],0.2),'left':_0x21b521,'top':_0x3215ac,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f90d6(0x4ce)][_0x2f90d6(0x263)](_0x246e63),this[_0x2f90d6(0x16d)][_0x2f90d6(0x145)](_0x246e63,_0x5a02c3);}['_drawRectRange'](_0xe132c7,_0x51606d,_0x518956,_0x5a3590){const _0x18ab5f=_0x18be96,_0x51cf94=new _0xdd0748(_0xe132c7)['setAlpha'](0.2)[_0x18ab5f(0x2d2)](),_0x2dce17=new _0x1bf31a(ko+_0x3c4730[_0x18ab5f(0x531)](Je),{'pointsGroup':_0x51606d,'fill':_0x51cf94||_0x745fb0(_0x4647e4[_0x18ab5f(0x3ed)],0.2),'left':_0x518956,'top':_0x5a3590,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18ab5f(0x4ce)][_0x18ab5f(0x263)](_0x2dce17),this[_0x18ab5f(0x16d)][_0x18ab5f(0x145)](_0x2dce17,_0x5a02c3);}[_0x18be96(0x391)](_0x472c17){const _0x5a37d8=_0x472c17[0x0],_0x460ae2=_0x5a37d8[0x0],_0x3ddb57=_0x5a37d8[0x2],{x:_0x67f0f4,y:_0x4ef7b7}=_0x460ae2,{x:_0x3b5dfa,y:_0x1bde60}=_0x3ddb57;return{'left':_0x67f0f4,'top':_0x4ef7b7,'width':_0x3b5dfa-_0x67f0f4,'height':_0x1bde60-_0x4ef7b7};}[_0x18be96(0x3aa)](){const {scaleX:_0x1a5b9f,scaleY:_0x46ea7c}=this['_scene']['getAncestorScale']();return Math['max'](_0x1a5b9f,_0x46ea7c);}}var Go=Object[_0x18be96(0x2b6)],Yo=Object[_0x18be96(0x48e)],Ko=(_0x15116f,_0x21f9f6,_0x457020,_0x32a54e)=>{const _0x15b0f8=_0x18be96;for(var _0x5ab559=_0x32a54e>0x1?void 0x0:_0x32a54e?Yo(_0x21f9f6,_0x457020):_0x21f9f6,_0x364177=_0x15116f[_0x15b0f8(0x3fe)]-0x1,_0x3a5df0;_0x364177>=0x0;_0x364177--)(_0x3a5df0=_0x15116f[_0x364177])&&(_0x5ab559=(_0x32a54e?_0x3a5df0(_0x21f9f6,_0x457020,_0x5ab559):_0x3a5df0(_0x5ab559))||_0x5ab559);return _0x32a54e&&_0x5ab559&&Go(_0x21f9f6,_0x457020,_0x5ab559),_0x5ab559;},ct=(_0x5f379a,_0x5d6316)=>(_0x13a0b0,_0x1db5a7)=>_0x5d6316(_0x13a0b0,_0x1db5a7,_0x5f379a);let os=class extends _0x2a7a1c{constructor(_0x22aa95,_0xe6068e,_0x448cd8,_0x1eb63e,_0x2e8c53){const _0x4142a9=_0x18be96;super(),g(this,_0x4142a9(0x1cb),[]),g(this,_0x4142a9(0x361),[]),(this['_context']=_0x22aa95,this[_0x4142a9(0x23b)]=_0xe6068e,this['_collabCursorController']=_0x448cd8,this[_0x4142a9(0x20f)]=_0x1eb63e,this['_themeService']=_0x2e8c53,this[_0x4142a9(0x466)]());}[_0x18be96(0x466)](){const _0x265553=_0x18be96,_0xaa5bfe=this[_0x265553(0x358)][_0x265553(0x45a)],_0x121127=this[_0x265553(0x23b)];this[_0x265553(0x388)](_0x3fabbe([this['_collabCursorController'][_0x265553(0x25e)](_0xaa5bfe),this[_0x265553(0x13f)][_0x265553(0x323)]])['pipe'](_0x4c2e7e(([_0x3fc4c0,_0x5c31ac])=>({'skeleton':_0x121127[_0x265553(0x522)](),'cursors':[..._0x3fc4c0[_0x265553(0x371)]()][_0x265553(0x51a)](_0x106945=>({..._0x106945,'color':_0x5c31ac[_0x106945['color']]}))})))[_0x265553(0x450)](_0x252507=>{const _0xbe74ce=_0x265553;if(this[_0xbe74ce(0x32f)](),_0x252507){const {skeleton:_0x20a33c,cursors:_0x4b44d7}=_0x252507;this[_0xbe74ce(0x2af)](_0x20a33c,_0x4b44d7);}})),this['_initResize'](),this[_0x265553(0x43b)]();}[_0x18be96(0x2af)](_0x46fa9e,_0xdfc0c3){const _0xd4be98=_0x18be96,{scene:_0x4ef531,mainComponent:_0x5c687d}=this[_0xd4be98(0x358)],_0x43937f=_0xdfc0c3[_0xd4be98(0x220)](_0x14c717=>new Ks(_0x14c717,_0x4ef531,_0x46fa9e,_0x5c687d));this[_0xd4be98(0x1cb)]=_0x43937f,this[_0xd4be98(0x361)]=_0xdfc0c3;}[_0x18be96(0x32d)](){const _0x56f6a1=_0x18be96;this[_0x56f6a1(0x32f)]();const {scene:_0x114651,mainComponent:_0x35ff4f}=this['_context'],_0x34af38=this[_0x56f6a1(0x23b)][_0x56f6a1(0x522)](),_0x18dd34=this[_0x56f6a1(0x361)]['map'](_0x4fadb3=>new Ks(_0x4fadb3,_0x114651,_0x34af38,_0x35ff4f));this[_0x56f6a1(0x1cb)]=_0x18dd34;}[_0x18be96(0x32f)](){const _0x3ed85f=_0x18be96;this['_cursorShapes'][_0x3ed85f(0x1ce)](_0x434fa0=>_0x434fa0[_0x3ed85f(0x2e5)]()),this[_0x3ed85f(0x1cb)]=[];}[_0x18be96(0x43b)](){const _0x10bac9=_0x18be96,_0x3bd132=[_0x5dda65['id']];this[_0x10bac9(0x388)](this[_0x10bac9(0x20f)][_0x10bac9(0x1e1)](_0x198b31=>{const _0x33f23a=_0x10bac9;_0x3bd132[_0x33f23a(0x373)](_0x198b31['id'])&&_0x198b31[_0x33f23a(0x1cc)][_0x33f23a(0x45a)]===this[_0x33f23a(0x358)][_0x33f23a(0x45a)]&&this[_0x33f23a(0x32d)]();}));}[_0x18be96(0x4ab)](){const _0x3e7cc9=_0x18be96;this[_0x3e7cc9(0x388)](_0x10f4dd(this[_0x3e7cc9(0x358)]['engine'][_0x3e7cc9(0x3c6)])[_0x3e7cc9(0x1e7)](_0x25082a(_0x4d52c1=>_0x4d52c1[_0x3e7cc9(0x307)]===_0x298d7e['resize']),_0x1f9830(0x10))[_0x3e7cc9(0x450)](()=>{const _0x75b2c3=_0x3e7cc9;this[_0x75b2c3(0x32d)]();}));}};os=Ko([ct(0x1,_0x5a6d6a(_0x58cac6)),ct(0x2,_0x5a6d6a(Ve)),ct(0x3,_0x1078f7),ct(0x4,_0x5a6d6a(_0x1ebfe5))],os);const zo=0x1,qo=1.5;class Xo extends _0x1e847a{constructor(_0x452845,_0x406d40){const _0x3f6fd0=_0x18be96;super(_0x452845,_0x406d40),g(this,_0x3f6fd0(0x39e)),g(this,_0x3f6fd0(0x240),!0x1),g(this,_0x3f6fd0(0x53f)),g(this,_0x3f6fd0(0x140),''),g(this,_0x3f6fd0(0x4c5),_0x3f6fd0(0x287)),g(this,'_backgroundColor'),(_0x406d40&&this[_0x3f6fd0(0x484)](_0x406d40),this[_0x3f6fd0(0x41a)][_0x3f6fd0(0x49c)](()=>this[_0x3f6fd0(0x484)]({'hovered':!0x0})),this[_0x3f6fd0(0x243)][_0x3f6fd0(0x49c)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x18be96(0x484)](_0xeb6a9d){const _0xb66bec=_0x18be96;var _0x509fdd,_0x1bf3a6,_0x4915a4,_0x1b5957,_0x371f60,_0x26207a;this[_0xb66bec(0x39e)]=(_0x509fdd=_0xeb6a9d[_0xb66bec(0x1a9)])!=null?_0x509fdd:this[_0xb66bec(0x39e)],this[_0xb66bec(0x240)]=(_0x1bf3a6=_0xeb6a9d[_0xb66bec(0x29b)])!=null?_0x1bf3a6:this['_hovered'],this['_range']=(_0x4915a4=_0xeb6a9d[_0xb66bec(0x4c4)])!=null?_0x4915a4:this[_0xb66bec(0x53f)],this[_0xb66bec(0x140)]=(_0x1b5957=_0xeb6a9d[_0xb66bec(0x236)])!=null?_0x1b5957:this['_name'],this[_0xb66bec(0x4c5)]=(_0x371f60=_0xeb6a9d[_0xb66bec(0x216)])!=null?_0x371f60:this[_0xb66bec(0x4c5)],this[_0xb66bec(0x310)]=(_0x26207a=_0xeb6a9d[_0xb66bec(0x1c4)])!=null?_0x26207a:this[_0xb66bec(0x310)],this[_0xb66bec(0x42a)]({'width':_0xeb6a9d[_0xb66bec(0x476)],'height':_0xeb6a9d['height']});}['onMouseMove'](_0x328aee){const _0xa2bb9f=_0x18be96,{row:_0x410ff3,column:_0x5a9198}=_0x328aee;if(_0x410ff3>=this[_0xa2bb9f(0x53f)][_0xa2bb9f(0x514)]&&_0x410ff3<=this['_range'][_0xa2bb9f(0x403)]&&_0x5a9198>=this[_0xa2bb9f(0x53f)]['startColumn']&&_0x5a9198<=this['_range'][_0xa2bb9f(0x519)]){this[_0xa2bb9f(0x484)]({'hovered':!0x0});return;}this[_0xa2bb9f(0x484)]({'hovered':!0x1});}['triggerDblclick'](_0x214429){return!0x1;}['_draw'](_0x4e9eda){const _0x3e9bef=_0x18be96;_0x329a57[_0x3e9bef(0x4d3)](_0x4e9eda,{'width':this['width'],'height':this[_0x3e9bef(0x1e9)],'strokeWidth':qo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3e9bef(0x310)]}),this[_0x3e9bef(0x240)]&&(_0x4e9eda[_0x3e9bef(0x43e)](),_0x4e9eda[_0x3e9bef(0x150)](0x1,0x0,0x0,0x1,this['width'],this[_0x3e9bef(0x4c5)]==='bottom'?0x0:-nt),yt[_0x3e9bef(0x4d3)](_0x4e9eda,{'text':this[_0x3e9bef(0x140)],'color':this[_0x3e9bef(0x39e)]}),_0x4e9eda[_0x3e9bef(0x3b2)]());}}var Jo=Object[_0x18be96(0x2b6)],Zo=Object[_0x18be96(0x48e)],Qo=(_0x2c2a8e,_0x38985a,_0x43032e,_0x3e1c2f)=>{const _0x72b58f=_0x18be96;for(var _0x2e34b0=_0x3e1c2f>0x1?void 0x0:_0x3e1c2f?Zo(_0x38985a,_0x43032e):_0x38985a,_0x1a5a7a=_0x2c2a8e[_0x72b58f(0x3fe)]-0x1,_0x3b1248;_0x1a5a7a>=0x0;_0x1a5a7a--)(_0x3b1248=_0x2c2a8e[_0x1a5a7a])&&(_0x2e34b0=(_0x3e1c2f?_0x3b1248(_0x38985a,_0x43032e,_0x2e34b0):_0x3b1248(_0x2e34b0))||_0x2e34b0);return _0x3e1c2f&&_0x2e34b0&&Jo(_0x38985a,_0x43032e,_0x2e34b0),_0x2e34b0;},kt=(_0x43d73d,_0xc7deb3)=>(_0x39604e,_0x266237)=>_0xc7deb3(_0x39604e,_0x266237,_0x43d73d);const ea=0x1389;let as=class extends _0x2a7a1c{constructor(_0xb28c80,_0x1c944c,_0x1d3b7d,_0x17e772){const _0x5de0df=_0x18be96;super(),g(this,_0x5de0df(0x361),new Set()),g(this,_0x5de0df(0x168),null),(this[_0x5de0df(0x358)]=_0xb28c80,this[_0x5de0df(0x3fa)]=_0x1c944c,this[_0x5de0df(0x4ec)]=_0x1d3b7d,this['_themeService']=_0x17e772,this['_init']());}['_init'](){const _0x160f34=_0x18be96;this[_0x160f34(0x3fa)][_0x160f34(0x158)][_0x160f34(0x1e7)](_0x2dcb0f(this[_0x160f34(0x3f4)]),_0xcdbf9e(_0x1e00a7=>{const _0x102872=_0x160f34;if(_0x1e00a7){const _0x11e353=_0x1e00a7[_0x102872(0x204)];return _0x3fabbe(this[_0x102872(0x4ec)][_0x102872(0x25e)](this[_0x102872(0x358)]['unitId']),this[_0x102872(0x13f)][_0x102872(0x323)])[_0x102872(0x1e7)](_0x4c2e7e(([_0x152c63,_0x15948f])=>{const _0x2b4739=new Map();return _0x152c63['forEach']((_0x342a45,_0x5f10b3)=>{const _0x4e4e2b=_0x3fdc;if(_0x342a45['sheetID']===_0x11e353){const _0x65f6f7={..._0x342a45};_0x65f6f7[_0x4e4e2b(0x1a9)]=_0x15948f[_0x342a45['color']],_0x2b4739[_0x4e4e2b(0x29c)](_0x5f10b3,_0x65f6f7);}}),{'skeleton':_0x1e00a7,'cursors':_0x2b4739};}));}return _0x1aa3f9({'skeleton':null,'cursors':new Map()});}))[_0x160f34(0x450)](({skeleton:_0x36a2a7,cursors:_0x3a6092})=>{const _0x377a6f=_0x160f34;this[_0x377a6f(0x32f)](),_0x36a2a7&&this[_0x377a6f(0x2af)](_0x36a2a7,_0x3a6092);}),this[_0x160f34(0x3fa)][_0x160f34(0x158)][_0x160f34(0x450)](_0x504c9b=>{const _0x22b03c=_0x160f34;if(_0x504c9b==null)return;const {skeleton:_0xcd93ef}=_0x504c9b,{scene:_0x57824f}=this[_0x22b03c(0x358)];_0x57824f[_0x22b03c(0x530)]['subscribeEvent'](_0x1b4769(_0x5c8482=>{const _0x5b12f9=_0x22b03c;var _0x37a84e,_0x28dfa7;const {offsetX:_0x1e3fee,offsetY:_0x1e707a}=_0x5c8482,{x:_0x34bd4c,y:_0x36c5a4}=_0x57824f['getRelativeToViewportCoord'](_0x47e690[_0x5b12f9(0x49d)]([_0x1e3fee,_0x1e707a])),{scaleX:_0x24ec77,scaleY:_0x7c3176}=_0x57824f['getAncestorScale'](),_0x3f5285=_0x57824f['getViewport'](_0x2b24a1[_0x5b12f9(0x41f)]),_0x463667=_0x57824f['getVpScrollXYInfoByPosToVp'](_0x47e690[_0x5b12f9(0x49d)]([_0x34bd4c,_0x36c5a4]),_0x3f5285),_0x189462=_0xcd93ef['getCellPositionByOffset'](_0x1e3fee,_0x1e707a,_0x24ec77,_0x7c3176,_0x463667);((_0x37a84e=this[_0x5b12f9(0x168)])==null?void 0x0:_0x37a84e[_0x5b12f9(0x495)])===_0x189462[_0x5b12f9(0x495)]&&((_0x28dfa7=this[_0x5b12f9(0x168)])==null?void 0x0:_0x28dfa7[_0x5b12f9(0x454)])===_0x189462[_0x5b12f9(0x454)]||this[_0x5b12f9(0x361)][_0x5b12f9(0x1ce)](_0x553914=>{const _0x285707=_0x5b12f9;_0x553914[_0x285707(0x31f)](_0x189462);});},0x64));});}[_0x18be96(0x2af)](_0x225074,_0x84a81e){const _0x239024=_0x18be96;var _0x461cb2;const _0x1e18f0=(_0x461cb2=this[_0x239024(0x3fa)][_0x239024(0x284)]())==null?void 0x0:_0x461cb2['skeleton'];if(!_0x1e18f0)return;const _0x43aa53=this['_getSheetObject']();if(!_0x43aa53)return;this[_0x239024(0x361)][_0x239024(0x1ce)](_0x5a2648=>{const _0x4ffad0=_0x239024;_0x5a2648[_0x4ffad0(0x2cd)]();});const {scene:_0x59017e}=_0x43aa53,_0x4cf288=ta(Array[_0x239024(0x3eb)](_0x84a81e[_0x239024(0x371)]()))['map'](_0x121b49=>{const _0x48da24=_0x239024,{color:_0x5d50f8,range:_0xf95837,name:_0xedfdba,selection:_0x58aff4,sheetID:_0x2a34e8}=_0x121b49,{startColumn:_0x27d50d,startRow:_0x588f16,endColumn:_0x111beb,endRow:_0x1bf40b}=_0xf95837,_0x4f2650=_0x3967c6(_0x588f16,_0x27d50d,_0x59017e,_0x1e18f0),_0x2b24b6=_0x3967c6(_0x1bf40b,_0x111beb,_0x59017e,_0x1e18f0),{columnHeaderHeightAndMarginTop:_0x42c6f8}=_0x1e18f0,{startX:_0x1ad834,startY:_0x1378a5}=_0x4f2650,{endX:_0x90e150,endY:_0x4c8809}=_0x2b24b6,_0x521a1a=_0x90e150-_0x1ad834,_0x556585=_0x4c8809-_0x1378a5,_0x1bef5d={'labelPosition':_0x1378a5-_0x42c6f8>=nt?_0x48da24(0x287):'bottom','sheetID':_0x2a34e8,'range':_0xf95837,'color':_0x5d50f8,'name':_0xedfdba,'selection':_0x58aff4,'left':_0x1ad834,'top':_0x1378a5,'width':_0x521a1a,'height':_0x556585,'evented':!0x1,'zIndex':ea};return new Xo(_0xedfdba,_0x1bef5d);});_0x59017e[_0x239024(0x30d)](_0x4cf288,zo),this['_cursors']=new Set(_0x4cf288);}[_0x18be96(0x32f)](){const _0xdb272=_0x18be96;var _0x29dccc;(_0x29dccc=this[_0xdb272(0x361)])==null||_0x29dccc['forEach'](_0x508e0c=>_0x508e0c[_0xdb272(0x2e5)]());}[_0x18be96(0x50a)](){const _0x3b06d2=_0x18be96;return _0x18d796(this[_0x3b06d2(0x358)][_0x3b06d2(0x44b)],this[_0x3b06d2(0x358)]);}};as=Qo([kt(0x1,_0x5a6d6a(_0x220b93)),kt(0x2,_0x5a6d6a(Ve)),kt(0x3,_0x5a6d6a(_0x1ebfe5))],as);function ta(_0x90bc26){const _0xdf3a62=_0x18be96,_0x504abe=new Map();return _0x90bc26[_0xdf3a62(0x1ce)](_0x131bf4=>{const _0x249996=_0xdf3a62;if(_0x504abe[_0x249996(0x3a5)](_0x131bf4[_0x249996(0x37a)])){const _0x24bdb3=_0x504abe[_0x249996(0x281)](_0x131bf4[_0x249996(0x37a)]);_0x24bdb3[_0x249996(0x236)]+=',\x20'+_0x131bf4[_0x249996(0x236)];}else _0x504abe[_0x249996(0x29c)](_0x131bf4[_0x249996(0x37a)],_0x131bf4);}),Array[_0xdf3a62(0x3eb)](_0x504abe['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x3cf9f8){const _0x59140f=_0x18be96;return _0x3cf9f8&&_0x3cf9f8[_0x59140f(0x430)]&&Object[_0x59140f(0x397)]['hasOwnProperty'][_0x59140f(0x2bb)](_0x3cf9f8,_0x59140f(0x3b9))?_0x3cf9f8[_0x59140f(0x3b9)]:_0x3cf9f8;}var Mi={'exports':{}},Ot={},sa=_0x5cd23e,ia=Symbol[_0x18be96(0x276)](_0x18be96(0x16b)),na=Symbol[_0x18be96(0x276)](_0x18be96(0x2a5)),ra=Object[_0x18be96(0x397)][_0x18be96(0x4f5)],oa=sa[_0x18be96(0x2fb)][_0x18be96(0x326)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x39c997,_0x1dcdad,_0x4e392f){const _0x2b2d69=_0x18be96;var _0x4e78df,_0x481bc7={},_0x309581=null,_0x3c1374=null;_0x4e392f!==void 0x0&&(_0x309581=''+_0x4e392f),_0x1dcdad['key']!==void 0x0&&(_0x309581=''+_0x1dcdad[_0x2b2d69(0x14a)]),_0x1dcdad[_0x2b2d69(0x324)]!==void 0x0&&(_0x3c1374=_0x1dcdad[_0x2b2d69(0x324)]);for(_0x4e78df in _0x1dcdad)ra[_0x2b2d69(0x2bb)](_0x1dcdad,_0x4e78df)&&!aa['hasOwnProperty'](_0x4e78df)&&(_0x481bc7[_0x4e78df]=_0x1dcdad[_0x4e78df]);if(_0x39c997&&_0x39c997[_0x2b2d69(0x330)]){for(_0x4e78df in(_0x1dcdad=_0x39c997[_0x2b2d69(0x330)],_0x1dcdad))_0x481bc7[_0x4e78df]===void 0x0&&(_0x481bc7[_0x4e78df]=_0x1dcdad[_0x4e78df]);}return{'$$typeof':ia,'type':_0x39c997,'key':_0x309581,'ref':_0x3c1374,'props':_0x481bc7,'_owner':oa[_0x2b2d69(0x472)]};}Ot[_0x18be96(0x1b3)]=na,Ot[_0x18be96(0x456)]=xi,Ot[_0x18be96(0x3d0)]=xi,Mi[_0x18be96(0x4e5)]=Ot;var we=Mi['exports'],ee=function(){const _0x17be99=_0x18be96;return ee=Object[_0x17be99(0x3ac)]||function(_0xf4acf5){const _0xfb190a=_0x17be99;for(var _0x3c995f,_0x2bfd54=0x1,_0x43635a=arguments[_0xfb190a(0x3fe)];_0x2bfd54<_0x43635a;_0x2bfd54++){_0x3c995f=arguments[_0x2bfd54];for(var _0x4c7ae9 in _0x3c995f)Object['prototype'][_0xfb190a(0x4f5)][_0xfb190a(0x2bb)](_0x3c995f,_0x4c7ae9)&&(_0xf4acf5[_0x4c7ae9]=_0x3c995f[_0x4c7ae9]);}return _0xf4acf5;},ee[_0x17be99(0x1da)](this,arguments);},ca=function(_0x5b354e,_0x501971){const _0x12fd87=_0x18be96;var _0x337821={};for(var _0x14536d in _0x5b354e)Object['prototype']['hasOwnProperty']['call'](_0x5b354e,_0x14536d)&&_0x501971[_0x12fd87(0x4ff)](_0x14536d)<0x0&&(_0x337821[_0x14536d]=_0x5b354e[_0x14536d]);if(_0x5b354e!=null&&typeof Object[_0x12fd87(0x28c)]==_0x12fd87(0x4b5)){for(var _0x430347=0x0,_0x14536d=Object[_0x12fd87(0x28c)](_0x5b354e);_0x430347<_0x14536d[_0x12fd87(0x3fe)];_0x430347++)_0x501971[_0x12fd87(0x4ff)](_0x14536d[_0x430347])<0x0&&Object[_0x12fd87(0x397)][_0x12fd87(0x19c)][_0x12fd87(0x2bb)](_0x5b354e,_0x14536d[_0x430347])&&(_0x337821[_0x14536d[_0x430347]]=_0x5b354e[_0x14536d[_0x430347]]);}return _0x337821;},Ts=_0x1edf8b(function(_0x2ba92b,_0x35b66e){const _0x554532=_0x18be96;var _0xfff845=_0x2ba92b[_0x554532(0x17b)],_0x28bc11=_0x2ba92b['id'],_0x30aba3=_0x2ba92b[_0x554532(0x29f)],_0x6bf64c=_0x2ba92b[_0x554532(0x4a5)],_0x194ec6=ca(_0x2ba92b,[_0x554532(0x17b),'id',_0x554532(0x29f),_0x554532(0x4a5)]),_0x39ab16=_0x554532(0x402)[_0x554532(0x50b)](_0x28bc11,'\x20')[_0x554532(0x50b)](_0x30aba3||'')[_0x554532(0x3b5)](),_0x21b874=_0x1a3d0f('_'[_0x554532(0x50b)](_a()));return Li(_0xfff845,''['concat'](_0x28bc11),{'defIds':_0xfff845[_0x554532(0x1fe)],'idSuffix':_0x21b874['current']},ee({'ref':_0x35b66e,'className':_0x39ab16},_0x194ec6),_0x6bf64c);});function Li(_0x1d0969,_0x142b76,_0x520030,_0x4edd26,_0x47664e){const _0x2ad8ec=_0x18be96;return _0x2d32de(_0x1d0969[_0x2ad8ec(0x2f9)],ee(ee({'key':_0x142b76},ha(_0x1d0969,_0x520030,_0x47664e)),_0x4edd26),(la(_0x1d0969,_0x520030)[_0x2ad8ec(0x2ac)]||[])[_0x2ad8ec(0x220)](function(_0x5bf2cc,_0x13e3f2){const _0x46a656=_0x2ad8ec;return Li(_0x5bf2cc,''['concat'](_0x142b76,'-')[_0x46a656(0x50b)](_0x1d0969[_0x46a656(0x2f9)],'-')['concat'](_0x13e3f2),_0x520030,void 0x0,_0x47664e);}));}function ha(_0x244620,_0x3a974c,_0x5d988d){const _0x5a3105=_0x18be96;var _0x45abe2=ee({},_0x244620[_0x5a3105(0x3e6)]);_0x5d988d!=null&&_0x5d988d[_0x5a3105(0x13d)]&&_0x45abe2['fill']===_0x5a3105(0x13d)&&(_0x45abe2[_0x5a3105(0x39c)]=_0x5d988d[_0x5a3105(0x13d)]);var _0x41f46c=_0x3a974c[_0x5a3105(0x1fe)];return!_0x41f46c||_0x41f46c['length']===0x0||(_0x244620[_0x5a3105(0x2f9)]===_0x5a3105(0x182)&&_0x45abe2[_0x5a3105(0x2a0)]&&(_0x45abe2[_0x5a3105(0x2a0)]=_0x45abe2[_0x5a3105(0x2a0)]+_0x3a974c[_0x5a3105(0x13c)]),Object[_0x5a3105(0x399)](_0x45abe2)[_0x5a3105(0x1ce)](function(_0x22b750){const _0x4d4bbc=_0x5a3105;var _0x5bebc0=_0x22b750[0x0],_0x1ee047=_0x22b750[0x1];typeof _0x1ee047==_0x4d4bbc(0x34d)&&(_0x45abe2[_0x5bebc0]=_0x1ee047[_0x4d4bbc(0x384)](/url\(#(.*)\)/,_0x4d4bbc(0x478)[_0x4d4bbc(0x50b)](_0x3a974c['idSuffix'],')')));})),_0x45abe2;}function la(_0x99a2da,_0x50ca39){const _0x27cd2a=_0x18be96;var _0x153a6a,_0x5b1150=_0x50ca39[_0x27cd2a(0x1fe)];return!_0x5b1150||_0x5b1150[_0x27cd2a(0x3fe)]===0x0?_0x99a2da:_0x99a2da[_0x27cd2a(0x2f9)]===_0x27cd2a(0x4e7)&&(!((_0x153a6a=_0x99a2da['children'])===null||_0x153a6a===void 0x0)&&_0x153a6a['length'])?ee(ee({},_0x99a2da),{'children':_0x99a2da[_0x27cd2a(0x2ac)][_0x27cd2a(0x220)](function(_0x1300f5){const _0x5ba170=_0x27cd2a;return typeof _0x1300f5[_0x5ba170(0x3e6)]['id']=='string'&&_0x5b1150&&_0x5b1150[_0x5ba170(0x4ff)](_0x1300f5[_0x5ba170(0x3e6)]['id'])>-0x1?ee(ee({},_0x1300f5),{'attrs':ee(ee({},_0x1300f5['attrs']),{'id':_0x1300f5['attrs']['id']+_0x50ca39[_0x5ba170(0x13c)]})}):_0x1300f5;})}):_0x99a2da;}function _a(){const _0x54590e=_0x18be96;return Math['random']()[_0x54590e(0x4dc)](0x24)[_0x54590e(0x1b4)](0x2,0x8);}Ts[_0x18be96(0x3a0)]=_0x18be96(0x1e3);var ua={'tag':_0x18be96(0x4c6),'attrs':{'fill':_0x18be96(0x339),'viewBox':_0x18be96(0x511),'width':_0x18be96(0x3f6),'height':_0x18be96(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x18be96(0x536),'attrs':{'stroke':_0x18be96(0x501),'d':_0x18be96(0x45c),'strokeLinecap':_0x18be96(0x1d3),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x18be96(0x4e7),'attrs':{},'children':[{'tag':_0x18be96(0x1f3),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x18be96(0x536),'attrs':{'fill':'#fff','d':_0x18be96(0x479)}}]}]}],'defIds':['off-line-single_clip0_910_343']},$i=_0x1edf8b(function(_0x3c7799,_0x3eaffe){const _0x12c06d=_0x18be96;return _0x2d32de(Ts,Object[_0x12c06d(0x3ac)]({},_0x3c7799,{'id':_0x12c06d(0x354),'ref':_0x3eaffe,'icon':ua}));});$i[_0x18be96(0x3a0)]=_0x18be96(0x3a1);var da={'tag':_0x18be96(0x4c6),'attrs':{'fill':_0x18be96(0x339),'viewBox':'0\x200\x2017\x2016','width':_0x18be96(0x3f6),'height':_0x18be96(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':_0x18be96(0x213)},'children':[{'tag':'path','attrs':{'stroke':_0x18be96(0x501),'d':_0x18be96(0x3e7),'strokeLinecap':_0x18be96(0x1d3),'strokeLinejoin':_0x18be96(0x1d3),'strokeWidth':1.2}}]},{'tag':_0x18be96(0x4e7),'attrs':{},'children':[{'tag':_0x18be96(0x1f3),'attrs':{'id':_0x18be96(0x17f)},'children':[{'tag':'path','attrs':{'fill':_0x18be96(0x171),'d':'M0\x200H16V16H0z','transform':_0x18be96(0x18a)}}]}]}],'defIds':[_0x18be96(0x17f)]},Hi=_0x1edf8b(function(_0x5bdb48,_0x151f6d){return _0x2d32de(Ts,Object['assign']({},_0x5bdb48,{'id':'on-line-single','ref':_0x151f6d,'icon':da}));});Hi[_0x18be96(0x3a0)]='OnLineSingle';function ji(_0x5d085c){const _0x51d922=_0x18be96;var _0x966a4d,_0x101018,_0x45cb3d='';if(typeof _0x5d085c==_0x51d922(0x34d)||typeof _0x5d085c==_0x51d922(0x34a))_0x45cb3d+=_0x5d085c;else{if(typeof _0x5d085c==_0x51d922(0x172)){if(Array[_0x51d922(0x3b3)](_0x5d085c)){var _0x4bf05c=_0x5d085c[_0x51d922(0x3fe)];for(_0x966a4d=0x0;_0x966a4d<_0x4bf05c;_0x966a4d++)_0x5d085c[_0x966a4d]&&(_0x101018=ji(_0x5d085c[_0x966a4d]))&&(_0x45cb3d&&(_0x45cb3d+='\x20'),_0x45cb3d+=_0x101018);}else{for(_0x101018 in _0x5d085c)_0x5d085c[_0x101018]&&(_0x45cb3d&&(_0x45cb3d+='\x20'),_0x45cb3d+=_0x101018);}}}return _0x45cb3d;}function fa(){const _0x321394=_0x18be96;for(var _0x56c128,_0xa2ca85,_0xecc19b=0x0,_0x2d7ca5='',_0x2c14b6=arguments[_0x321394(0x3fe)];_0xecc19b<_0x2c14b6;_0xecc19b++)(_0x56c128=arguments[_0xecc19b])&&(_0xa2ca85=ji(_0x56c128))&&(_0x2d7ca5&&(_0x2d7ca5+='\x20'),_0x2d7ca5+=_0xa2ca85);return _0x2d7ca5;}const va=_0x18be96(0x33d),ma=_0x18be96(0x4a3),pa='univer-online-status',ga=_0x18be96(0x4ad),Sa=_0x18be96(0x185),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x264b5a){const _0x18bc7d=_0x18be96;switch(_0x264b5a){case J[_0x18bc7d(0x167)]:return _0x18bc7d(0x512);case J[_0x18bc7d(0x23e)]:return _0x18bc7d(0x222);case J['FETCH_MISS']:return _0x18bc7d(0x184);case J[_0x18bc7d(0x176)]:return'collabStatus.notCollab';case J[_0x18bc7d(0x3bd)]:case J[_0x18bc7d(0x33c)]:return'collabStatus.syncing';case J[_0x18bc7d(0x477)]:case J['PENDING']:return _0x18bc7d(0x516);}}function Ca(_0x1e29e8){const _0x1f2f2c=_0x18be96,{status$:_0x5eaf54}=_0x1e29e8,_0x4834f8=_0x2dbeaa(_0x5eaf54,J[_0x1f2f2c(0x176)]),_0x2daa52=_0x46987e(_0x14cd71),_0x134485=_0x46987e(Ae),_0x5e0700=_0x4834f8!==J['OFFLINE'],_0x55f8d3=_0x2daa52['t'](Ia(_0x4834f8)),_0xb1f675=fa(Ze[_0x1f2f2c(0x1a0)],{[Ze[_0x1f2f2c(0x244)]]:_0x5e0700,[Ze[_0x1f2f2c(0x366)]]:!_0x5e0700}),_0x299928=_0x5e0700?we[_0x1f2f2c(0x456)](Hi,{}):we[_0x1f2f2c(0x456)]($i,{}),_0x11405c=_0x5af290(()=>{const _0x5a7ab9=_0x1f2f2c;_0x5e0700||_0x134485[_0x5a7ab9(0x355)]();},[_0x5e0700,_0x134485]);function _0x56d00d(){const _0x59a8e4=_0x1f2f2c;return we[_0x59a8e4(0x3d0)](_0x59a8e4(0x3f8),{'className':_0xb1f675,'onClick':_0x11405c,'children':[we[_0x59a8e4(0x456)](_0x59a8e4(0x3f8),{'className':Ze[_0x59a8e4(0x23d)],'children':_0x299928}),we[_0x59a8e4(0x456)](_0x59a8e4(0x3f8),{'className':Ze[_0x59a8e4(0x309)],'children':_0x55f8d3})]});}return _0x5e0700?_0x56d00d():we[_0x1f2f2c(0x456)](_0x1b3e8f,{'title':_0x2daa52['t'](_0x1f2f2c(0x2d5)),'children':_0x56d00d()});}var Ea=Object[_0x18be96(0x2b6)],ba=Object[_0x18be96(0x48e)],Ta=(_0xe7c137,_0x57794a,_0x21848b,_0x10cd7b)=>{for(var _0x333f30=_0x10cd7b>0x1?void 0x0:_0x10cd7b?ba(_0x57794a,_0x21848b):_0x57794a,_0x5be19d=_0xe7c137['length']-0x1,_0x4025a5;_0x5be19d>=0x0;_0x5be19d--)(_0x4025a5=_0xe7c137[_0x5be19d])&&(_0x333f30=(_0x10cd7b?_0x4025a5(_0x57794a,_0x21848b,_0x333f30):_0x4025a5(_0x333f30))||_0x333f30);return _0x10cd7b&&_0x333f30&&Ea(_0x57794a,_0x21848b,_0x333f30),_0x333f30;},ht=(_0x26708b,_0x178fc0)=>(_0x26d7a1,_0x350b8a)=>_0x178fc0(_0x26d7a1,_0x350b8a,_0x26708b);let St=class extends _0x5689e0{constructor(_0x13610a,_0x22c007,_0x569cd0,_0x36f5e9){const _0x312e57=_0x18be96;super(),g(this,_0x312e57(0x4e3),new _0x398285(J['NOT_COLLAB'])),(this[_0x312e57(0x1bb)]=_0x13610a,this['_uiPartsService']=_0x22c007,this['_injector']=_0x569cd0,this['_collaborationController']=_0x36f5e9,this[_0x312e57(0x142)](),this['_initStatusListener']());}[_0x18be96(0x34b)](){const _0x173c13=_0x18be96;this[_0x173c13(0x388)](this[_0x173c13(0x1bb)][_0x173c13(0x12e)][_0x173c13(0x1e7)](_0x303958(()=>{const _0x2c650c=_0x173c13,_0x146f1b=this['_univerInstanceService'][_0x2c650c(0x3c3)]();return _0x146f1b?this[_0x2c650c(0x348)][_0x2c650c(0x4e8)](_0x146f1b[_0x2c650c(0x15f)]()):_0x1aa3f9(null);}),_0x303958(_0x192afd=>_0x192afd?_0x192afd[_0x173c13(0x1ec)]:_0x1aa3f9(J[_0x173c13(0x176)])))['subscribe'](_0x15bab5=>{const _0x1fba36=_0x173c13;this[_0x1fba36(0x4e3)][_0x1fba36(0x319)](_0x15bab5);}));}[_0x18be96(0x142)](){const _0x4b1bac=_0x18be96;this[_0x4b1bac(0x388)](this[_0x4b1bac(0x15e)]['registerComponent'](_0x18155e[_0x4b1bac(0x350)],()=>_0x50a108(Ra({'status$':this['_status$'][_0x4b1bac(0x35e)]()}),this[_0x4b1bac(0x273)])));}};St=Ta([ht(0x0,_0x1f1cc4),ht(0x1,_0xdf3ca2),ht(0x2,_0x5a6d6a(_0x5081af)),ht(0x3,_0x5a6d6a(it))],St);function Ra(_0x1b1852){const {status$:_0x57afa0}=_0x1b1852;return function(){return we['jsx'](Ca,{'status$':_0x57afa0});};}const Bi=_0x48646b(_0x18be96(0x510));var ya=Object[_0x18be96(0x2b6)],Oa=Object[_0x18be96(0x48e)],wa=(_0x57ac77,_0x2b7e76,_0x29d1b7,_0xa34721)=>{for(var _0x54164a=_0xa34721>0x1?void 0x0:_0xa34721?Oa(_0x2b7e76,_0x29d1b7):_0x2b7e76,_0x3da4c9=_0x57ac77['length']-0x1,_0x4f5a0f;_0x3da4c9>=0x0;_0x3da4c9--)(_0x4f5a0f=_0x57ac77[_0x3da4c9])&&(_0x54164a=(_0xa34721?_0x4f5a0f(_0x2b7e76,_0x29d1b7,_0x54164a):_0x4f5a0f(_0x54164a))||_0x54164a);return _0xa34721&&_0x54164a&&ya(_0x2b7e76,_0x29d1b7,_0x54164a),_0x54164a;},ke=(_0x2b1551,_0x37d03f)=>(_0x4a82ae,_0xeb6297)=>_0x37d03f(_0x4a82ae,_0xeb6297,_0x2b1551);let It=class extends _0x2a7a1c{constructor(_0x5a389a,_0x28a5c4,_0x2e0e00,_0x4a26ea,_0x417dc5,_0x420c2b){const _0x443855=_0x18be96;super(),this['_urlService']=_0x5a389a,this[_0x443855(0x47f)]=_0x28a5c4,this[_0x443855(0x20f)]=_0x2e0e00,this[_0x443855(0x252)]=_0x4a26ea,this['_snapshotService']=_0x417dc5,_0x420c2b?_0x420c2b==null||_0x420c2b[_0x443855(0x1f4)]()[_0x443855(0x14f)](()=>this['_init']()):(this[_0x443855(0x47f)][_0x443855(0x529)](_0x443855(0x353),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x443855(0x466)]());}async[_0x18be96(0x466)](){const _0x2564a6=_0x18be96,_0x3db4dc=this[_0x2564a6(0x3a8)]['getParam'](_0x2564a6(0x44b)),_0x1606a9=this[_0x2564a6(0x3a8)][_0x2564a6(0x3b7)]('type');if(!_0x3db4dc||!_0x1606a9){this[_0x2564a6(0x47f)][_0x2564a6(0x529)](_0x2564a6(0x353),_0x2564a6(0x4f8));return;}switch(Number(_0x1606a9)){case ce[_0x2564a6(0x1cd)]:{const _0x2a6c27=await this[_0x2564a6(0x282)](_0x3db4dc);this['_setupSubUnitSync'](_0x2a6c27);break;}case ce['UNIVER_DOC']:{await this[_0x2564a6(0x325)](_0x3db4dc);break;}default:{this[_0x2564a6(0x47f)][_0x2564a6(0x494)](_0x2564a6(0x353),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x18be96(0x31e)](_0x50f880){const _0x2b5ba6=_0x18be96;await this[_0x2b5ba6(0x1b7)](_0x50f880),_0x50f880[_0x2b5ba6(0x3e8)][_0x2b5ba6(0x1e7)](_0x224c08(this['dispose$']))[_0x2b5ba6(0x450)](_0x537643=>{const _0x52b8a0=_0x2b5ba6;_0x537643&&this[_0x52b8a0(0x4b4)](_0x537643);}),this[_0x2b5ba6(0x3a8)][_0x2b5ba6(0x1c9)][_0x2b5ba6(0x1e7)](_0x224c08(this[_0x2b5ba6(0x3f4)]))['subscribe'](()=>this[_0x2b5ba6(0x1b7)](_0x50f880));}[_0x18be96(0x4b4)](_0x4f0f0d,_0x39f1f3=!0x1){const _0x2c0e2c=_0x18be96,_0x214a90=this[_0x2c0e2c(0x3a8)][_0x2c0e2c(0x3b7)](_0x2c0e2c(0x24e));_0x4f0f0d[_0x2c0e2c(0x26e)]()!==_0x214a90&&this[_0x2c0e2c(0x3a8)][_0x2c0e2c(0x2ad)](_0x2c0e2c(0x24e),_0x4f0f0d[_0x2c0e2c(0x26e)](),_0x39f1f3);}async[_0x18be96(0x1b7)](_0x2982cd){const _0x54d357=_0x18be96;var _0x14afc0;const _0x2891f4=this[_0x54d357(0x3a8)]['getParam']('subunit');if(!_0x2891f4||!_0x2982cd[_0x54d357(0x2db)](_0x2891f4)){const _0x3dc406=_0x2982cd[_0x54d357(0x2b0)]()[0x0],_0x4eb114=_0x2982cd['getSheetBySheetId'](_0x3dc406);if(!_0x4eb114)return;this[_0x54d357(0x4b4)](_0x4eb114,!0x0),await this[_0x54d357(0x20f)][_0x54d357(0x180)](_0x27e013['id'],{'unitId':_0x2982cd[_0x54d357(0x15f)](),'subUnitId':_0x3dc406});return;}((_0x14afc0=_0x2982cd[_0x54d357(0x4e9)]())==null?void 0x0:_0x14afc0[_0x54d357(0x26e)]())!==_0x2891f4&&await this[_0x54d357(0x20f)][_0x54d357(0x180)](_0x27e013['id'],{'unitId':_0x2982cd[_0x54d357(0x15f)](),'subUnitId':_0x2891f4});}async[_0x18be96(0x282)](_0x5ca84d){const _0x523841=_0x18be96;let _0x5f159c=0x0;const _0x55ff50=await this[_0x523841(0x252)]['loadOfflineData'](_0x5ca84d);return _0x55ff50&&(_0x55ff50['awaitingChangeset']||_0x55ff50[_0x523841(0x3d4)][_0x523841(0x3fe)]!==0x0)&&(_0x5f159c=_0x55ff50[_0x523841(0x375)]),_0x5f159c===0x0&&this['_logService'][_0x523841(0x529)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x523841(0x298)][_0x523841(0x390)](_0x5ca84d,_0x5f159c);}async[_0x18be96(0x325)](_0x2b7b04){const _0x30a723=_0x18be96;let _0x97e615=0x0;const _0x380069=await this[_0x30a723(0x252)]['loadOfflineData'](_0x2b7b04);return _0x380069&&(_0x380069[_0x30a723(0x1d9)]||_0x380069[_0x30a723(0x3d4)][_0x30a723(0x3fe)]!==0x0)&&(_0x97e615=_0x380069[_0x30a723(0x375)]),_0x97e615===0x0&&this[_0x30a723(0x47f)]['debug'](_0x30a723(0x353),_0x30a723(0x421)),this['_snapshotService'][_0x30a723(0x320)](_0x2b7b04,_0x97e615);}};It=wa([ke(0x0,Bi),ke(0x1,_0x18037c),ke(0x2,_0x1078f7),ke(0x3,_0x5a6d6a(q)),ke(0x4,_0x5a6d6a(_0x2a3951)),ke(0x5,_0x1ec62d(_0x2dcb0a))],It);var Da=Object[_0x18be96(0x2b6)],Pa=Object[_0x18be96(0x48e)],Ua=(_0x70a483,_0x2e6d3f,_0x4822aa,_0xa04aa5)=>{const _0x41228f=_0x18be96;for(var _0x59e254=_0xa04aa5>0x1?void 0x0:_0xa04aa5?Pa(_0x2e6d3f,_0x4822aa):_0x2e6d3f,_0x3f19c9=_0x70a483[_0x41228f(0x3fe)]-0x1,_0x38a90b;_0x3f19c9>=0x0;_0x3f19c9--)(_0x38a90b=_0x70a483[_0x3f19c9])&&(_0x59e254=(_0xa04aa5?_0x38a90b(_0x2e6d3f,_0x4822aa,_0x59e254):_0x38a90b(_0x59e254))||_0x59e254);return _0xa04aa5&&_0x59e254&&Da(_0x2e6d3f,_0x4822aa,_0x59e254),_0x59e254;},zs=(_0x5b6f71,_0x1e3f21)=>(_0x119755,_0x585f83)=>_0x1e3f21(_0x119755,_0x585f83,_0x5b6f71);const Na=_0x18be96(0x34c),Aa=_0x18be96(0x523);let Ct=class extends _0x5689e0{constructor(_0x521829,_0x231ba9){const _0x376c71=_0x18be96;super(),this[_0x376c71(0x1bb)]=_0x521829,this[_0x376c71(0x36d)]=_0x231ba9,this[_0x376c71(0x466)]();}['_init'](){const _0x213fff=_0x18be96;this[_0x213fff(0x388)](this[_0x213fff(0x1bb)][_0x213fff(0x12e)]['subscribe'](()=>{const _0x417c81=_0x213fff;var _0x445b5e;const _0x18b348=this[_0x417c81(0x1bb)][_0x417c81(0x3c3)]();let _0x9645a7=(_0x445b5e=this[_0x417c81(0x36d)][_0x417c81(0x26f)](Na))!=null?_0x445b5e:Aa;_0x18b348 instanceof _0x2eae4c&&(_0x9645a7=_0x18b348['name']),document['title']=_0x9645a7;}));}};Ct=Ua([zs(0x0,_0x1f1cc4),zs(0x1,_0x38b553)],Ct);var Ma=Object['defineProperty'],xa=Object[_0x18be96(0x48e)],La=(_0x19a46c,_0x88c76b,_0x16c513,_0x56f4dd)=>{for(var _0x36fb67=_0x56f4dd>0x1?void 0x0:_0x56f4dd?xa(_0x88c76b,_0x16c513):_0x88c76b,_0x4539f4=_0x19a46c['length']-0x1,_0x2f785e;_0x4539f4>=0x0;_0x4539f4--)(_0x2f785e=_0x19a46c[_0x4539f4])&&(_0x36fb67=(_0x56f4dd?_0x2f785e(_0x88c76b,_0x16c513,_0x36fb67):_0x2f785e(_0x36fb67))||_0x36fb67);return _0x56f4dd&&_0x36fb67&&Ma(_0x88c76b,_0x16c513,_0x36fb67),_0x36fb67;},Wt=(_0x7f9874,_0xb6087a)=>(_0x52bce7,_0x2338bb)=>_0xb6087a(_0x52bce7,_0x2338bb,_0x7f9874);let Et=class{constructor(_0x150f9a,_0x2b9450,_0x5f3731){const _0x26f44a=_0x18be96;this[_0x26f44a(0x36d)]=_0x150f9a,this['_httpService']=_0x2b9450,this[_0x26f44a(0x1a6)]=_0x5f3731,this['init']();}[_0x18be96(0x47e)](){const _0x26c0f5=_0x18be96;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2e419a,_0x39c523)=>_0x39c523(_0x2e419a)[_0x26c0f5(0x1e7)](_0x59d5f3(async _0x54e47f=>{const _0x2e1aae=_0x26c0f5,_0x1d1369=_0x54e47f;if(_0x1d1369[_0x2e1aae(0x2cf)]===0x191&&window[_0x2e1aae(0x30c)](this[_0x2e1aae(0x1a6)]['t'](_0x2e1aae(0x245)))){const _0x8ca6cc=window[_0x2e1aae(0x2de)](window[_0x2e1aae(0x22c)]['href']);window[_0x2e1aae(0x22c)][_0x2e1aae(0x3f3)]=this[_0x2e1aae(0x33b)]()+_0x2e1aae(0x1e8)+_0x8ca6cc;}return _0x1d1369;}))});}['_getLoginPath'](){const _0x111199=_0x18be96;var _0x41b4be,_0x3b756f;const _0x7cee0=this[_0x111199(0x36d)][_0x111199(0x26f)](br),_0x59889f=this['_configService'][_0x111199(0x26f)](ie);return(_0x3b756f=(_0x41b4be=_0x59889f==null?void 0x0:_0x59889f[_0x111199(0x271)])!=null?_0x41b4be:_0x7cee0)!=null?_0x3b756f:Tr;}};Et=La([Wt(0x0,_0x38b553),Wt(0x1,_0x5a6d6a(_0x2de674)),Wt(0x2,_0x5a6d6a(_0x14cd71))],Et);var $a=Object['defineProperty'],Ha=Object[_0x18be96(0x48e)],ja=(_0x5e6566,_0x1d12a3,_0x521c13,_0x3399b3)=>{const _0x489e0a=_0x18be96;for(var _0x38baeb=_0x3399b3>0x1?void 0x0:_0x3399b3?Ha(_0x1d12a3,_0x521c13):_0x1d12a3,_0x290347=_0x5e6566[_0x489e0a(0x3fe)]-0x1,_0x10165c;_0x290347>=0x0;_0x290347--)(_0x10165c=_0x5e6566[_0x290347])&&(_0x38baeb=(_0x3399b3?_0x10165c(_0x1d12a3,_0x521c13,_0x38baeb):_0x10165c(_0x38baeb))||_0x38baeb);return _0x3399b3&&_0x38baeb&&$a(_0x1d12a3,_0x521c13,_0x38baeb),_0x38baeb;},qs=(_0x3e28ac,_0x5f4522)=>(_0x44fe72,_0x1e9110)=>_0x5f4522(_0x44fe72,_0x1e9110,_0x3e28ac);const Ba=_0x18be96(0x4fd),ka=_0x18be96(0x4f0);let cs=class extends _0x5689e0{constructor(_0x3a3f46,_0x404cce){const _0x4238b4=_0x18be96;super(),this[_0x4238b4(0x51e)]=_0x3a3f46,this[_0x4238b4(0x36d)]=_0x404cce,this[_0x4238b4(0x19a)]();}[_0x18be96(0x19a)](){const _0x267e36=_0x18be96,_0x19c466=this;this[_0x267e36(0x388)](this[_0x267e36(0x51e)][_0x267e36(0x259)]({'priority':0x3e7,'interceptor':_0x4e30d3({'isMatch'(_0x2f6c98){const _0x2737f1=_0x267e36;var _0x222f31;if(_0x2f6c98['method']===_0x2737f1(0x130)&&((_0x222f31=_0x2f6c98[_0x2737f1(0x38b)])!=null&&_0x222f31[_0x2737f1(0x18d)])){const {objectID:_0x9e138a,objectType:_0x57047e}=_0x2f6c98[_0x2737f1(0x38b)][_0x2737f1(0x18d)]||{};if(!_0x9e138a||_0x57047e===void 0x0)return!0x1;const _0x1d6f8c=_0x19c466['_getAPIPrefixPath']()+'/'+_0x57047e+_0x2737f1(0x3f5)+_0x9e138a+_0x2737f1(0x50d);if(_0x2f6c98['url']===_0x1d6f8c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x48cfe2){const _0x5786f2=_0x267e36;var _0x3b16f9;return(_0x3b16f9=_0x48cfe2[_0x5786f2(0x38b)])==null?void 0x0:_0x3b16f9['body'];},'mergeParamsToRequest'(_0x33d56,_0x52d774){const _0x56d910=_0x267e36,_0x3dca8d=_0x19c466[_0x56d910(0x203)]()+'/-/object/-/batch_allowed',_0x11891a=_0x33d56['reduce']((_0x5bcc2a,_0xc5cba2)=>{const _0x11e2f4=_0x56d910,{unitID:_0x5e8f71,objectID:_0x38c72f,objectType:_0x10d3a5,actions:_0x365880}=_0xc5cba2;return _0x5bcc2a[_0x5e8f71]||(_0x5bcc2a[_0x5e8f71]={}),_0x5bcc2a[_0x5e8f71][_0x38c72f]||(_0x5bcc2a[_0x5e8f71][_0x38c72f]={'objectID':_0x38c72f,'objectType':_0x10d3a5,'actions':[]}),_0x5bcc2a[_0x5e8f71][_0x38c72f][_0x11e2f4(0x208)][_0x11e2f4(0x263)](..._0x365880),_0x5bcc2a;},{}),_0x10bb2b=[];for(const _0x2a970e in _0x11891a)for(const _0x505d42 in _0x11891a[_0x2a970e]){const {actions:_0x506d4c,objectType:_0x5e54dd}=_0x11891a[_0x2a970e][_0x505d42],_0x565da9=[...new Set(_0x506d4c)];_0x10bb2b[_0x56d910(0x263)]({'unitID':_0x2a970e,'objectID':_0x505d42,'objectType':_0x5e54dd,'actions':_0x565da9});}return new _0x46bc61(_0x56d910(0x130),_0x3dca8d,{'headers':_0x52d774[_0x56d910(0x491)],'withCredentials':_0x52d774['withCredentials'],'responseType':_0x52d774[_0x56d910(0x268)],'body':{'requests':_0x10bb2b}});}},{'distributeResult'(_0x1716ad,_0x44bfa6){const _0x4369dd=_0x267e36,{objectActions:_0x234d96}=_0x1716ad;return _0x44bfa6[_0x4369dd(0x220)](_0x1f361d=>{const _0x30768f=_0x4369dd,{unitID:_0x1cced2,objectID:_0x4fd6f4,actions:_0x357ca6}=_0x1f361d,_0x345635=_0x234d96['find'](_0x49e665=>_0x49e665['unitID']===_0x1cced2&&_0x49e665['objectID']===_0x4fd6f4),_0x4f0776=_0x357ca6[_0x30768f(0x220)](_0x308f25=>_0x345635==null?void 0x0:_0x345635[_0x30768f(0x208)][_0x30768f(0x24f)](_0x153a19=>_0x153a19[_0x30768f(0x395)]===_0x308f25))[_0x30768f(0x199)](_0x5b3764=>!!_0x5b3764);return{'config':_0x1f361d,'result':{'actions':_0x4f0776,'error':_0x1716ad[_0x30768f(0x494)]}};});}})}));}[_0x18be96(0x203)](){const _0x1453ef=_0x18be96;var _0x36d92b,_0x5afd82;const _0x47350a=this['_configService'][_0x1453ef(0x26f)](Ba),_0x54c292=this['_configService']['getConfig'](ie);return(_0x5afd82=(_0x36d92b=_0x54c292==null?void 0x0:_0x54c292[_0x1453ef(0x1ba)])!=null?_0x36d92b:_0x47350a)!=null?_0x5afd82:ka;}async['create'](_0x342e73){const _0x3733c7=_0x18be96,_0x181bfc=this['_getAPIPrefixPath']()+'/'+_0x342e73['objectType']+_0x3733c7(0x46a);return(await this[_0x3733c7(0x51e)][_0x3733c7(0x177)](_0x181bfc,{'body':_0x342e73}))[_0x3733c7(0x18d)]['objectID']||'';}async[_0x18be96(0x16f)](_0x424266){const _0x351eb8=_0x18be96,_0x42853c=this['_getAPIPrefixPath']()+_0x351eb8(0x14c);return(await this[_0x351eb8(0x51e)][_0x351eb8(0x177)](_0x42853c,{'body':_0x424266}))[_0x351eb8(0x18d)][_0x351eb8(0x493)];}async[_0x18be96(0x300)](_0x52e93a){const _0x1d14ab=_0x18be96,_0x17513a=this[_0x1d14ab(0x203)]()+'/'+_0x52e93a['objectType']+_0x1d14ab(0x3f5)+_0x52e93a[_0x1d14ab(0x532)];await this[_0x1d14ab(0x51e)][_0x1d14ab(0x262)](_0x17513a,{'body':_0x52e93a});}async['allowed'](_0x218be7){const _0x41a801=_0x18be96,_0x2650dc=this[_0x41a801(0x203)]()+'/'+_0x218be7[_0x41a801(0x385)]+_0x41a801(0x3f5)+_0x218be7['objectID']+_0x41a801(0x50d);return(await this['_HTTPService']['post'](_0x2650dc,{'body':_0x218be7}))[_0x41a801(0x18d)][_0x41a801(0x208)];}async[_0x18be96(0x410)](_0x45e97a){const _0x1e50b0=_0x18be96,_0x367258=this[_0x1e50b0(0x203)]()+'/-/object/-/batch_allowed';return(await this[_0x1e50b0(0x51e)][_0x1e50b0(0x177)](_0x367258,{'body':{'requests':_0x45e97a}}))['body']['objectActions'];}async[_0x18be96(0x28d)](_0x7f6149){const _0x4d1ade=_0x18be96,_0x240b28=this['_getAPIPrefixPath']()+'/'+_0x7f6149[_0x4d1ade(0x385)]+_0x4d1ade(0x2ea),_0x14d03d=await this[_0x4d1ade(0x51e)][_0x4d1ade(0x177)](_0x240b28,{'body':_0x7f6149});return{'roles':_0x14d03d[_0x4d1ade(0x18d)][_0x4d1ade(0x191)],'actions':_0x14d03d[_0x4d1ade(0x18d)][_0x4d1ade(0x208)]};}async[_0x18be96(0x25d)](_0x573c99){const _0x3c1272=_0x18be96,_0xf5a7c=this['_getAPIPrefixPath']()+_0x3c1272(0x14b);await this[_0x3c1272(0x51e)][_0x3c1272(0x249)](_0xf5a7c,{'params':{'collaboratorID':_0x573c99[_0x3c1272(0x21a)],'objectID':_0x573c99[_0x3c1272(0x532)],'unitID':_0x573c99[_0x3c1272(0x3c4)]}});}async['updateCollaborator'](_0x2e55f2){const _0x3eea61=_0x18be96,_0x5d21a4=this[_0x3eea61(0x203)]()+_0x3eea61(0x14b);await this['_HTTPService'][_0x3eea61(0x2be)](_0x5d21a4,{'body':_0x2e55f2});}async[_0x18be96(0x197)](_0x41a20d){const _0x52223a=_0x18be96,_0xaad0e4=this['_getAPIPrefixPath']()+_0x52223a(0x14b);await this[_0x52223a(0x51e)][_0x52223a(0x177)](_0xaad0e4,{'body':_0x41a20d});}async[_0x18be96(0x22f)](_0x52147c){const _0x8af3fc=_0x18be96,_0x2a9690=this[_0x8af3fc(0x203)]()+'/collaborator';return(await this[_0x8af3fc(0x51e)][_0x8af3fc(0x281)](_0x2a9690,{'params':{'objectID':_0x52147c[_0x8af3fc(0x532)],'unitID':_0x52147c[_0x8af3fc(0x3c4)]}}))['body'][_0x8af3fc(0x295)];}async[_0x18be96(0x4bb)](_0x5afc30){const _0x30f2dd=_0x18be96,_0x573114=this[_0x30f2dd(0x203)]()+_0x30f2dd(0x14b);await this[_0x30f2dd(0x51e)][_0x30f2dd(0x262)](_0x573114,{'body':_0x5afc30});}};cs=ja([qs(0x0,_0x5a6d6a(_0x2de674)),qs(0x1,_0x5a6d6a(_0x38b553))],cs);var ki={'exports':{}};function Wa(_0x1a1d52){const _0x520ff8=_0x18be96;throw new Error(_0x520ff8(0x464)+_0x1a1d52+_0x520ff8(0x28b));}var Ft={'exports':{}},Xs;function ue(){const _0x162da2=_0x18be96;return Xs||(Xs=0x1,function(_0x14b7cd,_0x53633f){(function(_0x107994,_0x5ee788){const _0x14d38f=_0x3fdc;_0x14b7cd[_0x14d38f(0x4e5)]=_0x5ee788();}(Z,function(){var _0x309c24=_0x309c24||function(_0x534311,_0x4a336d){const _0x350578=_0x3fdc;var _0x6a3d4b;if(typeof window<'u'&&window[_0x350578(0x210)]&&(_0x6a3d4b=window[_0x350578(0x210)]),typeof self<'u'&&self['crypto']&&(_0x6a3d4b=self[_0x350578(0x210)]),typeof globalThis<'u'&&globalThis[_0x350578(0x210)]&&(_0x6a3d4b=globalThis[_0x350578(0x210)]),!_0x6a3d4b&&typeof window<'u'&&window[_0x350578(0x2d4)]&&(_0x6a3d4b=window['msCrypto']),!_0x6a3d4b&&typeof Z<'u'&&Z[_0x350578(0x210)]&&(_0x6a3d4b=Z[_0x350578(0x210)]),!_0x6a3d4b&&typeof Wa==_0x350578(0x4b5))try{_0x6a3d4b=require(_0x350578(0x210));}catch{}var _0x1b623b=function(){const _0x30007d=_0x350578;if(_0x6a3d4b){if(typeof _0x6a3d4b['getRandomValues']==_0x30007d(0x4b5))try{return _0x6a3d4b[_0x30007d(0x1a7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6a3d4b['randomBytes']==_0x30007d(0x4b5))try{return _0x6a3d4b['randomBytes'](0x4)[_0x30007d(0x4a9)]();}catch{}}throw new Error(_0x30007d(0x4e2));},_0x30c013=Object[_0x350578(0x370)]||(function(){function _0xe0152f(){}return function(_0x260c46){const _0x4820d2=_0x3fdc;var _0x74ba6f;return _0xe0152f[_0x4820d2(0x397)]=_0x260c46,_0x74ba6f=new _0xe0152f(),_0xe0152f[_0x4820d2(0x397)]=null,_0x74ba6f;};}()),_0x4dd585={},_0x1b97e5=_0x4dd585[_0x350578(0x381)]={},_0xcffc01=_0x1b97e5[_0x350578(0x380)]=(function(){return{'extend':function(_0x4e2e01){const _0x25b6d3=_0x3fdc;var _0x4e85af=_0x30c013(this);return _0x4e2e01&&_0x4e85af['mixIn'](_0x4e2e01),(!_0x4e85af['hasOwnProperty'](_0x25b6d3(0x47e))||this['init']===_0x4e85af[_0x25b6d3(0x47e)])&&(_0x4e85af[_0x25b6d3(0x47e)]=function(){const _0x57ef30=_0x25b6d3;_0x4e85af['$super'][_0x57ef30(0x47e)]['apply'](this,arguments);}),_0x4e85af['init'][_0x25b6d3(0x397)]=_0x4e85af,_0x4e85af[_0x25b6d3(0x2e4)]=this,_0x4e85af;},'create':function(){const _0x1bdc13=_0x3fdc;var _0x25caa2=this[_0x1bdc13(0x4a5)]();return _0x25caa2['init'][_0x1bdc13(0x1da)](_0x25caa2,arguments),_0x25caa2;},'init':function(){},'mixIn':function(_0x30dde8){const _0x54f3e6=_0x3fdc;for(var _0x1f4a5e in _0x30dde8)_0x30dde8[_0x54f3e6(0x4f5)](_0x1f4a5e)&&(this[_0x1f4a5e]=_0x30dde8[_0x1f4a5e]);_0x30dde8[_0x54f3e6(0x4f5)](_0x54f3e6(0x4dc))&&(this[_0x54f3e6(0x4dc)]=_0x30dde8[_0x54f3e6(0x4dc)]);},'clone':function(){const _0x419eff=_0x3fdc;return this['init'][_0x419eff(0x397)][_0x419eff(0x4a5)](this);}};}()),_0x252ceb=_0x1b97e5[_0x350578(0x3d3)]=_0xcffc01[_0x350578(0x4a5)]({'init':function(_0x46b475,_0x573a87){const _0x24d07c=_0x350578;_0x46b475=this[_0x24d07c(0x520)]=_0x46b475||[],_0x573a87!=_0x4a336d?this[_0x24d07c(0x1c5)]=_0x573a87:this[_0x24d07c(0x1c5)]=_0x46b475[_0x24d07c(0x3fe)]*0x4;},'toString':function(_0x54ce48){const _0x15abda=_0x350578;return(_0x54ce48||_0x33a0cd)[_0x15abda(0x2e7)](this);},'concat':function(_0x252c93){const _0x47d3f7=_0x350578;var _0x257a40=this[_0x47d3f7(0x520)],_0x508bdf=_0x252c93[_0x47d3f7(0x520)],_0x3086ef=this[_0x47d3f7(0x1c5)],_0x445033=_0x252c93[_0x47d3f7(0x1c5)];if(this[_0x47d3f7(0x2e9)](),_0x3086ef%0x4)for(var _0xb35566=0x0;_0xb35566<_0x445033;_0xb35566++){var _0x3901ef=_0x508bdf[_0xb35566>>>0x2]>>>0x18-_0xb35566%0x4*0x8&0xff;_0x257a40[_0x3086ef+_0xb35566>>>0x2]|=_0x3901ef<<0x18-(_0x3086ef+_0xb35566)%0x4*0x8;}else{for(var _0x452f6d=0x0;_0x452f6d<_0x445033;_0x452f6d+=0x4)_0x257a40[_0x3086ef+_0x452f6d>>>0x2]=_0x508bdf[_0x452f6d>>>0x2];}return this['sigBytes']+=_0x445033,this;},'clamp':function(){const _0x152790=_0x350578;var _0x1cf88a=this[_0x152790(0x520)],_0x501a1f=this[_0x152790(0x1c5)];_0x1cf88a[_0x501a1f>>>0x2]&=0xffffffff<<0x20-_0x501a1f%0x4*0x8,_0x1cf88a['length']=_0x534311['ceil'](_0x501a1f/0x4);},'clone':function(){const _0x250c83=_0x350578;var _0x5c5bc7=_0xcffc01['clone'][_0x250c83(0x2bb)](this);return _0x5c5bc7[_0x250c83(0x520)]=this[_0x250c83(0x520)]['slice'](0x0),_0x5c5bc7;},'random':function(_0x3e1af6){const _0x15bf4b=_0x350578;for(var _0x549144=[],_0x33564d=0x0;_0x33564d<_0x3e1af6;_0x33564d+=0x4)_0x549144[_0x15bf4b(0x263)](_0x1b623b());return new _0x252ceb[(_0x15bf4b(0x47e))](_0x549144,_0x3e1af6);}}),_0x278c2f=_0x4dd585[_0x350578(0x3c2)]={},_0x33a0cd=_0x278c2f[_0x350578(0x45f)]={'stringify':function(_0x4a3f27){const _0x46f945=_0x350578;for(var _0x32bad3=_0x4a3f27['words'],_0x44d730=_0x4a3f27[_0x46f945(0x1c5)],_0x42eb87=[],_0x4f90ca=0x0;_0x4f90ca<_0x44d730;_0x4f90ca++){var _0x24497d=_0x32bad3[_0x4f90ca>>>0x2]>>>0x18-_0x4f90ca%0x4*0x8&0xff;_0x42eb87[_0x46f945(0x263)]((_0x24497d>>>0x4)[_0x46f945(0x4dc)](0x10)),_0x42eb87['push']((_0x24497d&0xf)[_0x46f945(0x4dc)](0x10));}return _0x42eb87['join']('');},'parse':function(_0x116909){const _0x35e69d=_0x350578;for(var _0x10c75a=_0x116909[_0x35e69d(0x3fe)],_0x30cb76=[],_0x4b45a0=0x0;_0x4b45a0<_0x10c75a;_0x4b45a0+=0x2)_0x30cb76[_0x4b45a0>>>0x3]|=parseInt(_0x116909[_0x35e69d(0x1c8)](_0x4b45a0,0x2),0x10)<<0x18-_0x4b45a0%0x8*0x4;return new _0x252ceb[(_0x35e69d(0x47e))](_0x30cb76,_0x10c75a/0x2);}},_0x58682a=_0x278c2f[_0x350578(0x233)]={'stringify':function(_0x426358){const _0x5efa51=_0x350578;for(var _0x3e9601=_0x426358[_0x5efa51(0x520)],_0x48c584=_0x426358[_0x5efa51(0x1c5)],_0x2d5f0f=[],_0xb7d7fb=0x0;_0xb7d7fb<_0x48c584;_0xb7d7fb++){var _0x3939d7=_0x3e9601[_0xb7d7fb>>>0x2]>>>0x18-_0xb7d7fb%0x4*0x8&0xff;_0x2d5f0f[_0x5efa51(0x263)](String['fromCharCode'](_0x3939d7));}return _0x2d5f0f[_0x5efa51(0x438)]('');},'parse':function(_0x3cd1f2){for(var _0x34c082=_0x3cd1f2['length'],_0x4eb824=[],_0x1e6b4f=0x0;_0x1e6b4f<_0x34c082;_0x1e6b4f++)_0x4eb824[_0x1e6b4f>>>0x2]|=(_0x3cd1f2['charCodeAt'](_0x1e6b4f)&0xff)<<0x18-_0x1e6b4f%0x4*0x8;return new _0x252ceb['init'](_0x4eb824,_0x34c082);}},_0x2e7f31=_0x278c2f[_0x350578(0x39d)]={'stringify':function(_0x518816){const _0xc887ef=_0x350578;try{return decodeURIComponent(escape(_0x58682a[_0xc887ef(0x2e7)](_0x518816)));}catch{throw new Error(_0xc887ef(0x217));}},'parse':function(_0x73923d){const _0x180c28=_0x350578;return _0x58682a[_0x180c28(0x3ef)](unescape(encodeURIComponent(_0x73923d)));}},_0x27c5b9=_0x1b97e5[_0x350578(0x515)]=_0xcffc01['extend']({'reset':function(){const _0x15b072=_0x350578;this[_0x15b072(0x313)]=new _0x252ceb[(_0x15b072(0x47e))](),this[_0x15b072(0x473)]=0x0;},'_append':function(_0x505894){const _0xf98e0a=_0x350578;typeof _0x505894=='string'&&(_0x505894=_0x2e7f31['parse'](_0x505894)),this[_0xf98e0a(0x313)][_0xf98e0a(0x50b)](_0x505894),this[_0xf98e0a(0x473)]+=_0x505894['sigBytes'];},'_process':function(_0x36e77c){const _0x17de13=_0x350578;var _0x49b846,_0x32c594=this[_0x17de13(0x313)],_0x19e344=_0x32c594['words'],_0x148073=_0x32c594[_0x17de13(0x1c5)],_0x4a4ff7=this[_0x17de13(0x3da)],_0x8038d5=_0x4a4ff7*0x4,_0x1912f4=_0x148073/_0x8038d5;_0x36e77c?_0x1912f4=_0x534311[_0x17de13(0x1d8)](_0x1912f4):_0x1912f4=_0x534311[_0x17de13(0x272)]((_0x1912f4|0x0)-this[_0x17de13(0x38e)],0x0);var _0x1c70e1=_0x1912f4*_0x4a4ff7,_0x222d2a=_0x534311['min'](_0x1c70e1*0x4,_0x148073);if(_0x1c70e1){for(var _0x152a55=0x0;_0x152a55<_0x1c70e1;_0x152a55+=_0x4a4ff7)this[_0x17de13(0x4f3)](_0x19e344,_0x152a55);_0x49b846=_0x19e344[_0x17de13(0x2a3)](0x0,_0x1c70e1),_0x32c594[_0x17de13(0x1c5)]-=_0x222d2a;}return new _0x252ceb[(_0x17de13(0x47e))](_0x49b846,_0x222d2a);},'clone':function(){const _0xf16444=_0x350578;var _0xda0c9d=_0xcffc01[_0xf16444(0x20d)][_0xf16444(0x2bb)](this);return _0xda0c9d[_0xf16444(0x313)]=this[_0xf16444(0x313)][_0xf16444(0x20d)](),_0xda0c9d;},'_minBufferSize':0x0});_0x1b97e5[_0x350578(0x518)]=_0x27c5b9['extend']({'cfg':_0xcffc01[_0x350578(0x4a5)](),'init':function(_0x1bb9b7){const _0x1c16ec=_0x350578;this['cfg']=this[_0x1c16ec(0x1a8)][_0x1c16ec(0x4a5)](_0x1bb9b7),this[_0x1c16ec(0x481)]();},'reset':function(){const _0x2f4439=_0x350578;_0x27c5b9['reset'][_0x2f4439(0x2bb)](this),this[_0x2f4439(0x4fe)]();},'update':function(_0x522e0e){const _0x524fa2=_0x350578;return this[_0x524fa2(0x3db)](_0x522e0e),this[_0x524fa2(0x447)](),this;},'finalize':function(_0x4e7480){const _0x5baf2c=_0x350578;_0x4e7480&&this[_0x5baf2c(0x3db)](_0x4e7480);var _0x122015=this[_0x5baf2c(0x412)]();return _0x122015;},'blockSize':0x10,'_createHelper':function(_0x5e4c40){return function(_0x33c8c5,_0x3efb4d){const _0x462af6=_0x3fdc;return new _0x5e4c40['init'](_0x3efb4d)[_0x462af6(0x327)](_0x33c8c5);};},'_createHmacHelper':function(_0x4493bf){return function(_0x596d45,_0x119fcc){const _0x3a4811=_0x3fdc;return new _0x18c56d[(_0x3a4811(0x1d5))][(_0x3a4811(0x47e))](_0x4493bf,_0x119fcc)[_0x3a4811(0x327)](_0x596d45);};}});var _0x18c56d=_0x4dd585['algo']={};return _0x4dd585;}(Math);return _0x309c24;}));}(Ft)),Ft[_0x162da2(0x4e5)];}var Vt={'exports':{}},Js;function Wi(){const _0x210a4a=_0x18be96;return Js||(Js=0x1,function(_0x12c1fb,_0x3e08a0){(function(_0x5cf3b3,_0x4e8cb0){_0x12c1fb['exports']=_0x4e8cb0(ue());}(Z,function(_0x1db277){const _0xa4c3f6=_0x3fdc;return(function(){const _0x20febc=_0x3fdc;var _0x34bcc=_0x1db277,_0x4c0cc5=_0x34bcc['lib'],_0x3d2852=_0x4c0cc5['WordArray'],_0x5e0b3e=_0x34bcc['enc'];_0x5e0b3e[_0x20febc(0x4f7)]={'stringify':function(_0x3c59b0){const _0x550ddd=_0x20febc;var _0x4efe58=_0x3c59b0[_0x550ddd(0x520)],_0x52c844=_0x3c59b0[_0x550ddd(0x1c5)],_0x1696ac=this[_0x550ddd(0x2d3)];_0x3c59b0[_0x550ddd(0x2e9)]();for(var _0x22eb86=[],_0x50441c=0x0;_0x50441c<_0x52c844;_0x50441c+=0x3)for(var _0x53c8e8=_0x4efe58[_0x50441c>>>0x2]>>>0x18-_0x50441c%0x4*0x8&0xff,_0x10d0b2=_0x4efe58[_0x50441c+0x1>>>0x2]>>>0x18-(_0x50441c+0x1)%0x4*0x8&0xff,_0xee217a=_0x4efe58[_0x50441c+0x2>>>0x2]>>>0x18-(_0x50441c+0x2)%0x4*0x8&0xff,_0x52a969=_0x53c8e8<<0x10|_0x10d0b2<<0x8|_0xee217a,_0xccee9e=0x0;_0xccee9e<0x4&&_0x50441c+_0xccee9e*0.75<_0x52c844;_0xccee9e++)_0x22eb86[_0x550ddd(0x263)](_0x1696ac['charAt'](_0x52a969>>>0x6*(0x3-_0xccee9e)&0x3f));var _0x2bf4f8=_0x1696ac['charAt'](0x40);if(_0x2bf4f8){for(;_0x22eb86['length']%0x4;)_0x22eb86[_0x550ddd(0x263)](_0x2bf4f8);}return _0x22eb86[_0x550ddd(0x438)]('');},'parse':function(_0x29354d){const _0x512afb=_0x20febc;var _0x12237e=_0x29354d[_0x512afb(0x3fe)],_0x53bfe5=this[_0x512afb(0x2d3)],_0x894dc3=this[_0x512afb(0x141)];if(!_0x894dc3){_0x894dc3=this[_0x512afb(0x141)]=[];for(var _0x5d1d95=0x0;_0x5d1d95<_0x53bfe5[_0x512afb(0x3fe)];_0x5d1d95++)_0x894dc3[_0x53bfe5[_0x512afb(0x22a)](_0x5d1d95)]=_0x5d1d95;}var _0x2a11ce=_0x53bfe5[_0x512afb(0x1ff)](0x40);if(_0x2a11ce){var _0x573486=_0x29354d['indexOf'](_0x2a11ce);_0x573486!==-0x1&&(_0x12237e=_0x573486);}return _0x3d9f3e(_0x29354d,_0x12237e,_0x894dc3);},'_map':_0x20febc(0x4d2)};function _0x3d9f3e(_0x556219,_0x37d0ee,_0x343346){const _0x274b55=_0x20febc;for(var _0x1fa26f=[],_0x116245=0x0,_0x23a15c=0x0;_0x23a15c<_0x37d0ee;_0x23a15c++)if(_0x23a15c%0x4){var _0x5151cc=_0x343346[_0x556219[_0x274b55(0x22a)](_0x23a15c-0x1)]<<_0x23a15c%0x4*0x2,_0x125141=_0x343346[_0x556219[_0x274b55(0x22a)](_0x23a15c)]>>>0x6-_0x23a15c%0x4*0x2,_0x536041=_0x5151cc|_0x125141;_0x1fa26f[_0x116245>>>0x2]|=_0x536041<<0x18-_0x116245%0x4*0x8,_0x116245++;}return _0x3d2852[_0x274b55(0x370)](_0x1fa26f,_0x116245);}}()),_0x1db277[_0xa4c3f6(0x3c2)][_0xa4c3f6(0x4f7)];}));}(Vt)),Vt[_0x210a4a(0x4e5)];}var Gt={'exports':{}},Zs;function Fa(){return Zs||(Zs=0x1,function(_0x14049e,_0x56a6e0){(function(_0x283c46,_0x19246c){const _0x24403b=_0x3fdc;_0x14049e[_0x24403b(0x4e5)]=_0x19246c(ue());}(Z,function(_0x32b2bf){const _0x110d8a=_0x3fdc;return function(_0x603701){const _0x37ebb4=_0x3fdc;var _0x4a2847=_0x32b2bf,_0x2f28a4=_0x4a2847['lib'],_0x2f5474=_0x2f28a4['WordArray'],_0x5b9501=_0x2f28a4[_0x37ebb4(0x518)],_0x358b31=_0x4a2847['algo'],_0x7239e5=[];(function(){const _0x12a5ed=_0x37ebb4;for(var _0xe96838=0x0;_0xe96838<0x40;_0xe96838++)_0x7239e5[_0xe96838]=_0x603701[_0x12a5ed(0x1b2)](_0x603701[_0x12a5ed(0x505)](_0xe96838+0x1))*0x100000000|0x0;}());var _0x240620=_0x358b31[_0x37ebb4(0x1a5)]=_0x5b9501['extend']({'_doReset':function(){const _0x319cf1=_0x37ebb4;this[_0x319cf1(0x4d8)]=new _0x2f5474['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x43399a,_0x380eb0){const _0xbf8856=_0x37ebb4;for(var _0x4cb2e1=0x0;_0x4cb2e1<0x10;_0x4cb2e1++){var _0x37a702=_0x380eb0+_0x4cb2e1,_0x38c816=_0x43399a[_0x37a702];_0x43399a[_0x37a702]=(_0x38c816<<0x8|_0x38c816>>>0x18)&0xff00ff|(_0x38c816<<0x18|_0x38c816>>>0x8)&0xff00ff00;}var _0x5a34a4=this[_0xbf8856(0x4d8)][_0xbf8856(0x520)],_0x2dc0e7=_0x43399a[_0x380eb0+0x0],_0x8d4b55=_0x43399a[_0x380eb0+0x1],_0x306558=_0x43399a[_0x380eb0+0x2],_0x390c7d=_0x43399a[_0x380eb0+0x3],_0x13d620=_0x43399a[_0x380eb0+0x4],_0x45b666=_0x43399a[_0x380eb0+0x5],_0x591880=_0x43399a[_0x380eb0+0x6],_0x3ff7d0=_0x43399a[_0x380eb0+0x7],_0x5d446d=_0x43399a[_0x380eb0+0x8],_0x253bf3=_0x43399a[_0x380eb0+0x9],_0x24dee4=_0x43399a[_0x380eb0+0xa],_0x3de94b=_0x43399a[_0x380eb0+0xb],_0x2e49a9=_0x43399a[_0x380eb0+0xc],_0x3c5252=_0x43399a[_0x380eb0+0xd],_0x1e83ad=_0x43399a[_0x380eb0+0xe],_0x393d35=_0x43399a[_0x380eb0+0xf],_0x5ef5c2=_0x5a34a4[0x0],_0x59ee88=_0x5a34a4[0x1],_0x36603c=_0x5a34a4[0x2],_0x57389f=_0x5a34a4[0x3];_0x5ef5c2=_0x22e3f6(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x2dc0e7,0x7,_0x7239e5[0x0]),_0x57389f=_0x22e3f6(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x8d4b55,0xc,_0x7239e5[0x1]),_0x36603c=_0x22e3f6(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x306558,0x11,_0x7239e5[0x2]),_0x59ee88=_0x22e3f6(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x390c7d,0x16,_0x7239e5[0x3]),_0x5ef5c2=_0x22e3f6(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x13d620,0x7,_0x7239e5[0x4]),_0x57389f=_0x22e3f6(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x45b666,0xc,_0x7239e5[0x5]),_0x36603c=_0x22e3f6(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x591880,0x11,_0x7239e5[0x6]),_0x59ee88=_0x22e3f6(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x3ff7d0,0x16,_0x7239e5[0x7]),_0x5ef5c2=_0x22e3f6(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x5d446d,0x7,_0x7239e5[0x8]),_0x57389f=_0x22e3f6(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x253bf3,0xc,_0x7239e5[0x9]),_0x36603c=_0x22e3f6(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x24dee4,0x11,_0x7239e5[0xa]),_0x59ee88=_0x22e3f6(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x3de94b,0x16,_0x7239e5[0xb]),_0x5ef5c2=_0x22e3f6(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x2e49a9,0x7,_0x7239e5[0xc]),_0x57389f=_0x22e3f6(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x3c5252,0xc,_0x7239e5[0xd]),_0x36603c=_0x22e3f6(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x1e83ad,0x11,_0x7239e5[0xe]),_0x59ee88=_0x22e3f6(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x393d35,0x16,_0x7239e5[0xf]),_0x5ef5c2=_0x5bf67f(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x8d4b55,0x5,_0x7239e5[0x10]),_0x57389f=_0x5bf67f(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x591880,0x9,_0x7239e5[0x11]),_0x36603c=_0x5bf67f(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x3de94b,0xe,_0x7239e5[0x12]),_0x59ee88=_0x5bf67f(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x2dc0e7,0x14,_0x7239e5[0x13]),_0x5ef5c2=_0x5bf67f(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x45b666,0x5,_0x7239e5[0x14]),_0x57389f=_0x5bf67f(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x24dee4,0x9,_0x7239e5[0x15]),_0x36603c=_0x5bf67f(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x393d35,0xe,_0x7239e5[0x16]),_0x59ee88=_0x5bf67f(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x13d620,0x14,_0x7239e5[0x17]),_0x5ef5c2=_0x5bf67f(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x253bf3,0x5,_0x7239e5[0x18]),_0x57389f=_0x5bf67f(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x1e83ad,0x9,_0x7239e5[0x19]),_0x36603c=_0x5bf67f(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x390c7d,0xe,_0x7239e5[0x1a]),_0x59ee88=_0x5bf67f(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x5d446d,0x14,_0x7239e5[0x1b]),_0x5ef5c2=_0x5bf67f(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x3c5252,0x5,_0x7239e5[0x1c]),_0x57389f=_0x5bf67f(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x306558,0x9,_0x7239e5[0x1d]),_0x36603c=_0x5bf67f(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x3ff7d0,0xe,_0x7239e5[0x1e]),_0x59ee88=_0x5bf67f(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x2e49a9,0x14,_0x7239e5[0x1f]),_0x5ef5c2=_0x5bd413(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x45b666,0x4,_0x7239e5[0x20]),_0x57389f=_0x5bd413(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x5d446d,0xb,_0x7239e5[0x21]),_0x36603c=_0x5bd413(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x3de94b,0x10,_0x7239e5[0x22]),_0x59ee88=_0x5bd413(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x1e83ad,0x17,_0x7239e5[0x23]),_0x5ef5c2=_0x5bd413(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x8d4b55,0x4,_0x7239e5[0x24]),_0x57389f=_0x5bd413(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x13d620,0xb,_0x7239e5[0x25]),_0x36603c=_0x5bd413(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x3ff7d0,0x10,_0x7239e5[0x26]),_0x59ee88=_0x5bd413(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x24dee4,0x17,_0x7239e5[0x27]),_0x5ef5c2=_0x5bd413(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x3c5252,0x4,_0x7239e5[0x28]),_0x57389f=_0x5bd413(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x2dc0e7,0xb,_0x7239e5[0x29]),_0x36603c=_0x5bd413(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x390c7d,0x10,_0x7239e5[0x2a]),_0x59ee88=_0x5bd413(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x591880,0x17,_0x7239e5[0x2b]),_0x5ef5c2=_0x5bd413(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x253bf3,0x4,_0x7239e5[0x2c]),_0x57389f=_0x5bd413(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x2e49a9,0xb,_0x7239e5[0x2d]),_0x36603c=_0x5bd413(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x393d35,0x10,_0x7239e5[0x2e]),_0x59ee88=_0x5bd413(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x306558,0x17,_0x7239e5[0x2f]),_0x5ef5c2=_0x6a4eb1(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x2dc0e7,0x6,_0x7239e5[0x30]),_0x57389f=_0x6a4eb1(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x3ff7d0,0xa,_0x7239e5[0x31]),_0x36603c=_0x6a4eb1(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x1e83ad,0xf,_0x7239e5[0x32]),_0x59ee88=_0x6a4eb1(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x45b666,0x15,_0x7239e5[0x33]),_0x5ef5c2=_0x6a4eb1(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x2e49a9,0x6,_0x7239e5[0x34]),_0x57389f=_0x6a4eb1(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x390c7d,0xa,_0x7239e5[0x35]),_0x36603c=_0x6a4eb1(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x24dee4,0xf,_0x7239e5[0x36]),_0x59ee88=_0x6a4eb1(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x8d4b55,0x15,_0x7239e5[0x37]),_0x5ef5c2=_0x6a4eb1(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x5d446d,0x6,_0x7239e5[0x38]),_0x57389f=_0x6a4eb1(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x393d35,0xa,_0x7239e5[0x39]),_0x36603c=_0x6a4eb1(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x591880,0xf,_0x7239e5[0x3a]),_0x59ee88=_0x6a4eb1(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x3c5252,0x15,_0x7239e5[0x3b]),_0x5ef5c2=_0x6a4eb1(_0x5ef5c2,_0x59ee88,_0x36603c,_0x57389f,_0x13d620,0x6,_0x7239e5[0x3c]),_0x57389f=_0x6a4eb1(_0x57389f,_0x5ef5c2,_0x59ee88,_0x36603c,_0x3de94b,0xa,_0x7239e5[0x3d]),_0x36603c=_0x6a4eb1(_0x36603c,_0x57389f,_0x5ef5c2,_0x59ee88,_0x306558,0xf,_0x7239e5[0x3e]),_0x59ee88=_0x6a4eb1(_0x59ee88,_0x36603c,_0x57389f,_0x5ef5c2,_0x253bf3,0x15,_0x7239e5[0x3f]),_0x5a34a4[0x0]=_0x5a34a4[0x0]+_0x5ef5c2|0x0,_0x5a34a4[0x1]=_0x5a34a4[0x1]+_0x59ee88|0x0,_0x5a34a4[0x2]=_0x5a34a4[0x2]+_0x36603c|0x0,_0x5a34a4[0x3]=_0x5a34a4[0x3]+_0x57389f|0x0;},'_doFinalize':function(){const _0x381024=_0x37ebb4;var _0x5ae09e=this[_0x381024(0x313)],_0x53888a=_0x5ae09e['words'],_0x25a66c=this[_0x381024(0x473)]*0x8,_0xcd1623=_0x5ae09e[_0x381024(0x1c5)]*0x8;_0x53888a[_0xcd1623>>>0x5]|=0x80<<0x18-_0xcd1623%0x20;var _0x4ea541=_0x603701[_0x381024(0x219)](_0x25a66c/0x100000000),_0x4da8df=_0x25a66c;_0x53888a[(_0xcd1623+0x40>>>0x9<<0x4)+0xf]=(_0x4ea541<<0x8|_0x4ea541>>>0x18)&0xff00ff|(_0x4ea541<<0x18|_0x4ea541>>>0x8)&0xff00ff00,_0x53888a[(_0xcd1623+0x40>>>0x9<<0x4)+0xe]=(_0x4da8df<<0x8|_0x4da8df>>>0x18)&0xff00ff|(_0x4da8df<<0x18|_0x4da8df>>>0x8)&0xff00ff00,_0x5ae09e[_0x381024(0x1c5)]=(_0x53888a[_0x381024(0x3fe)]+0x1)*0x4,this[_0x381024(0x447)]();for(var _0x362403=this['_hash'],_0x1f7e79=_0x362403[_0x381024(0x520)],_0x1723b7=0x0;_0x1723b7<0x4;_0x1723b7++){var _0x514608=_0x1f7e79[_0x1723b7];_0x1f7e79[_0x1723b7]=(_0x514608<<0x8|_0x514608>>>0x18)&0xff00ff|(_0x514608<<0x18|_0x514608>>>0x8)&0xff00ff00;}return _0x362403;},'clone':function(){const _0x1ecd7a=_0x37ebb4;var _0x3bc61a=_0x5b9501[_0x1ecd7a(0x20d)][_0x1ecd7a(0x2bb)](this);return _0x3bc61a[_0x1ecd7a(0x4d8)]=this[_0x1ecd7a(0x4d8)][_0x1ecd7a(0x20d)](),_0x3bc61a;}});function _0x22e3f6(_0x4b241e,_0x49e874,_0x2898fc,_0x136021,_0x3dce2b,_0x480f77,_0x46b084){var _0x191a02=_0x4b241e+(_0x49e874&_0x2898fc|~_0x49e874&_0x136021)+_0x3dce2b+_0x46b084;return(_0x191a02<<_0x480f77|_0x191a02>>>0x20-_0x480f77)+_0x49e874;}function _0x5bf67f(_0x34566b,_0x1a7b00,_0x36aab5,_0x1e0a57,_0xddd0b7,_0x1820aa,_0x5f5bc3){var _0x2c6a92=_0x34566b+(_0x1a7b00&_0x1e0a57|_0x36aab5&~_0x1e0a57)+_0xddd0b7+_0x5f5bc3;return(_0x2c6a92<<_0x1820aa|_0x2c6a92>>>0x20-_0x1820aa)+_0x1a7b00;}function _0x5bd413(_0x1f4402,_0x5355a5,_0xd6230b,_0x4b1316,_0x628510,_0x102b56,_0x40560c){var _0x62f747=_0x1f4402+(_0x5355a5^_0xd6230b^_0x4b1316)+_0x628510+_0x40560c;return(_0x62f747<<_0x102b56|_0x62f747>>>0x20-_0x102b56)+_0x5355a5;}function _0x6a4eb1(_0x3c9a0a,_0x6ba6f4,_0xb02fd4,_0x301938,_0x49cb8b,_0x2c8caa,_0x3928bd){var _0x5888b2=_0x3c9a0a+(_0xb02fd4^(_0x6ba6f4|~_0x301938))+_0x49cb8b+_0x3928bd;return(_0x5888b2<<_0x2c8caa|_0x5888b2>>>0x20-_0x2c8caa)+_0x6ba6f4;}_0x4a2847[_0x37ebb4(0x1a5)]=_0x5b9501[_0x37ebb4(0x47b)](_0x240620),_0x4a2847['HmacMD5']=_0x5b9501[_0x37ebb4(0x178)](_0x240620);}(Math),_0x32b2bf[_0x110d8a(0x1a5)];}));}(Gt)),Gt['exports'];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x47ee1c=_0x18be96;return Qs||(Qs=0x1,function(_0x37b5a5,_0x3f531e){(function(_0x2f0d11,_0x535301){const _0x5adc0e=_0x3fdc;_0x37b5a5[_0x5adc0e(0x4e5)]=_0x535301(ue());}(Z,function(_0x4aa1a1){const _0x20d2cb=_0x3fdc;return(function(){const _0x20a09c=_0x3fdc;var _0x314a86=_0x4aa1a1,_0x571206=_0x314a86[_0x20a09c(0x381)],_0x116718=_0x571206[_0x20a09c(0x3d3)],_0x47529d=_0x571206[_0x20a09c(0x518)],_0x313ddb=_0x314a86[_0x20a09c(0x328)],_0x1c4cba=[],_0x548728=_0x313ddb[_0x20a09c(0x489)]=_0x47529d[_0x20a09c(0x4a5)]({'_doReset':function(){const _0x406ec2=_0x20a09c;this['_hash']=new _0x116718[(_0x406ec2(0x47e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4ea8d4,_0x56d531){for(var _0x6bb1d=this['_hash']['words'],_0x2c1446=_0x6bb1d[0x0],_0xf9c94=_0x6bb1d[0x1],_0x43fb58=_0x6bb1d[0x2],_0x28dc7f=_0x6bb1d[0x3],_0x5a013d=_0x6bb1d[0x4],_0x4a32f7=0x0;_0x4a32f7<0x50;_0x4a32f7++){if(_0x4a32f7<0x10)_0x1c4cba[_0x4a32f7]=_0x4ea8d4[_0x56d531+_0x4a32f7]|0x0;else{var _0x75617b=_0x1c4cba[_0x4a32f7-0x3]^_0x1c4cba[_0x4a32f7-0x8]^_0x1c4cba[_0x4a32f7-0xe]^_0x1c4cba[_0x4a32f7-0x10];_0x1c4cba[_0x4a32f7]=_0x75617b<<0x1|_0x75617b>>>0x1f;}var _0xc19c07=(_0x2c1446<<0x5|_0x2c1446>>>0x1b)+_0x5a013d+_0x1c4cba[_0x4a32f7];_0x4a32f7<0x14?_0xc19c07+=(_0xf9c94&_0x43fb58|~_0xf9c94&_0x28dc7f)+0x5a827999:_0x4a32f7<0x28?_0xc19c07+=(_0xf9c94^_0x43fb58^_0x28dc7f)+0x6ed9eba1:_0x4a32f7<0x3c?_0xc19c07+=(_0xf9c94&_0x43fb58|_0xf9c94&_0x28dc7f|_0x43fb58&_0x28dc7f)-0x70e44324:_0xc19c07+=(_0xf9c94^_0x43fb58^_0x28dc7f)-0x359d3e2a,_0x5a013d=_0x28dc7f,_0x28dc7f=_0x43fb58,_0x43fb58=_0xf9c94<<0x1e|_0xf9c94>>>0x2,_0xf9c94=_0x2c1446,_0x2c1446=_0xc19c07;}_0x6bb1d[0x0]=_0x6bb1d[0x0]+_0x2c1446|0x0,_0x6bb1d[0x1]=_0x6bb1d[0x1]+_0xf9c94|0x0,_0x6bb1d[0x2]=_0x6bb1d[0x2]+_0x43fb58|0x0,_0x6bb1d[0x3]=_0x6bb1d[0x3]+_0x28dc7f|0x0,_0x6bb1d[0x4]=_0x6bb1d[0x4]+_0x5a013d|0x0;},'_doFinalize':function(){const _0x2be841=_0x20a09c;var _0x18b85b=this[_0x2be841(0x313)],_0x562f67=_0x18b85b[_0x2be841(0x520)],_0x5114c3=this[_0x2be841(0x473)]*0x8,_0x9ad021=_0x18b85b[_0x2be841(0x1c5)]*0x8;return _0x562f67[_0x9ad021>>>0x5]|=0x80<<0x18-_0x9ad021%0x20,_0x562f67[(_0x9ad021+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5114c3/0x100000000),_0x562f67[(_0x9ad021+0x40>>>0x9<<0x4)+0xf]=_0x5114c3,_0x18b85b[_0x2be841(0x1c5)]=_0x562f67[_0x2be841(0x3fe)]*0x4,this['_process'](),this[_0x2be841(0x4d8)];},'clone':function(){const _0x12e46b=_0x20a09c;var _0x550680=_0x47529d['clone'][_0x12e46b(0x2bb)](this);return _0x550680[_0x12e46b(0x4d8)]=this[_0x12e46b(0x4d8)][_0x12e46b(0x20d)](),_0x550680;}});_0x314a86[_0x20a09c(0x489)]=_0x47529d['_createHelper'](_0x548728),_0x314a86[_0x20a09c(0x250)]=_0x47529d[_0x20a09c(0x178)](_0x548728);}()),_0x4aa1a1[_0x20d2cb(0x489)];}));}(Kt)),Kt[_0x47ee1c(0x4e5)];}var zt={'exports':{}},ei;function Ga(){const _0x1eb89d=_0x18be96;return ei||(ei=0x1,function(_0x5c83a5,_0x3fc9bc){(function(_0x50a34c,_0x1ab66b){const _0x248277=_0x3fdc;_0x5c83a5[_0x248277(0x4e5)]=_0x1ab66b(ue());}(Z,function(_0x516730){(function(){const _0x5946cc=_0x3fdc;var _0x20e5f9=_0x516730,_0x42fec5=_0x20e5f9[_0x5946cc(0x381)],_0x5d236b=_0x42fec5[_0x5946cc(0x380)],_0x409e58=_0x20e5f9[_0x5946cc(0x3c2)],_0x1d2efd=_0x409e58[_0x5946cc(0x39d)],_0x4b5351=_0x20e5f9[_0x5946cc(0x328)];_0x4b5351[_0x5946cc(0x1d5)]=_0x5d236b[_0x5946cc(0x4a5)]({'init':function(_0xe68980,_0x4aeff0){const _0x145ebb=_0x5946cc;_0xe68980=this[_0x145ebb(0x2fe)]=new _0xe68980[(_0x145ebb(0x47e))](),typeof _0x4aeff0==_0x145ebb(0x34d)&&(_0x4aeff0=_0x1d2efd[_0x145ebb(0x3ef)](_0x4aeff0));var _0x5c7e14=_0xe68980[_0x145ebb(0x3da)],_0x253c79=_0x5c7e14*0x4;_0x4aeff0[_0x145ebb(0x1c5)]>_0x253c79&&(_0x4aeff0=_0xe68980[_0x145ebb(0x327)](_0x4aeff0)),_0x4aeff0[_0x145ebb(0x2e9)]();for(var _0x229dd9=this[_0x145ebb(0x2c5)]=_0x4aeff0[_0x145ebb(0x20d)](),_0x116b03=this[_0x145ebb(0x4cb)]=_0x4aeff0[_0x145ebb(0x20d)](),_0x331fa3=_0x229dd9[_0x145ebb(0x520)],_0x5e1a5f=_0x116b03[_0x145ebb(0x520)],_0x451066=0x0;_0x451066<_0x5c7e14;_0x451066++)_0x331fa3[_0x451066]^=0x5c5c5c5c,_0x5e1a5f[_0x451066]^=0x36363636;_0x229dd9[_0x145ebb(0x1c5)]=_0x116b03[_0x145ebb(0x1c5)]=_0x253c79,this[_0x145ebb(0x481)]();},'reset':function(){const _0x1852bc=_0x5946cc;var _0x39b3dc=this[_0x1852bc(0x2fe)];_0x39b3dc['reset'](),_0x39b3dc[_0x1852bc(0x300)](this[_0x1852bc(0x4cb)]);},'update':function(_0x5f4f46){const _0x12a77f=_0x5946cc;return this[_0x12a77f(0x2fe)][_0x12a77f(0x300)](_0x5f4f46),this;},'finalize':function(_0x3168fe){const _0x9fc104=_0x5946cc;var _0x3520e4=this[_0x9fc104(0x2fe)],_0x4f692d=_0x3520e4[_0x9fc104(0x327)](_0x3168fe);_0x3520e4[_0x9fc104(0x481)]();var _0x1b1f16=_0x3520e4[_0x9fc104(0x327)](this['_oKey']['clone']()[_0x9fc104(0x50b)](_0x4f692d));return _0x1b1f16;}});}());}));}(zt)),zt[_0x1eb89d(0x4e5)];}var ti;function Fi(){const _0xefde26=_0x18be96;return ti||(ti=0x1,function(_0x491438,_0x3a3def){(function(_0x963b4e,_0xbdd752,_0x338857){const _0x4ca575=_0x3fdc;_0x491438[_0x4ca575(0x4e5)]=_0xbdd752(ue(),Va(),Ga());}(Z,function(_0x20d3d8){const _0x135eb6=_0x3fdc;return(function(){const _0x47023d=_0x3fdc;var _0x4cb1c6=_0x20d3d8,_0x564cb2=_0x4cb1c6[_0x47023d(0x381)],_0x96bd41=_0x564cb2['Base'],_0x1435f8=_0x564cb2[_0x47023d(0x3d3)],_0x4caec4=_0x4cb1c6[_0x47023d(0x328)],_0x406972=_0x4caec4['MD5'],_0x5f3dcb=_0x4caec4['EvpKDF']=_0x96bd41[_0x47023d(0x4a5)]({'cfg':_0x96bd41['extend']({'keySize':0x80/0x20,'hasher':_0x406972,'iterations':0x1}),'init':function(_0xb595ab){const _0x42283c=_0x47023d;this[_0x42283c(0x1a8)]=this['cfg'][_0x42283c(0x4a5)](_0xb595ab);},'compute':function(_0x3c4a3a,_0x23bef5){const _0x58c0c4=_0x47023d;for(var _0x303df2,_0x4772ad=this[_0x58c0c4(0x1a8)],_0x1498e4=_0x4772ad[_0x58c0c4(0x4c3)][_0x58c0c4(0x370)](),_0xa521a0=_0x1435f8[_0x58c0c4(0x370)](),_0x489f1e=_0xa521a0[_0x58c0c4(0x520)],_0x149a66=_0x4772ad['keySize'],_0x49ae8f=_0x4772ad[_0x58c0c4(0x423)];_0x489f1e[_0x58c0c4(0x3fe)]<_0x149a66;){_0x303df2&&_0x1498e4['update'](_0x303df2),_0x303df2=_0x1498e4[_0x58c0c4(0x300)](_0x3c4a3a)[_0x58c0c4(0x327)](_0x23bef5),_0x1498e4[_0x58c0c4(0x481)]();for(var _0x453623=0x1;_0x453623<_0x49ae8f;_0x453623++)_0x303df2=_0x1498e4[_0x58c0c4(0x327)](_0x303df2),_0x1498e4[_0x58c0c4(0x481)]();_0xa521a0[_0x58c0c4(0x50b)](_0x303df2);}return _0xa521a0[_0x58c0c4(0x1c5)]=_0x149a66*0x4,_0xa521a0;}});_0x4cb1c6[_0x47023d(0x534)]=function(_0x188599,_0x2d2860,_0x1a8900){const _0x1a22ee=_0x47023d;return _0x5f3dcb[_0x1a22ee(0x370)](_0x1a8900)[_0x1a22ee(0x1d4)](_0x188599,_0x2d2860);};}()),_0x20d3d8[_0x135eb6(0x534)];}));}(Yt)),Yt[_0xefde26(0x4e5)];}var qt={'exports':{}},si;function Vi(){const _0x2e3497=_0x18be96;return si||(si=0x1,function(_0x723ec6,_0x2a8c04){(function(_0x1503c5,_0x3115b1,_0x1d6945){_0x723ec6['exports']=_0x3115b1(ue(),Fi());}(Z,function(_0x4e5758){const _0x414364=_0x3fdc;_0x4e5758[_0x414364(0x381)][_0x414364(0x2cb)]||function(_0x1d8812){const _0x4aa3c1=_0x414364;var _0x205a66=_0x4e5758,_0x578410=_0x205a66[_0x4aa3c1(0x381)],_0x5698f8=_0x578410[_0x4aa3c1(0x380)],_0x3e03b7=_0x578410['WordArray'],_0xd90ae=_0x578410[_0x4aa3c1(0x515)],_0x56000c=_0x205a66[_0x4aa3c1(0x3c2)];_0x56000c[_0x4aa3c1(0x39d)];var _0x456c4e=_0x56000c[_0x4aa3c1(0x4f7)],_0x26563a=_0x205a66[_0x4aa3c1(0x328)],_0x211793=_0x26563a[_0x4aa3c1(0x534)],_0x9fafa6=_0x578410[_0x4aa3c1(0x2cb)]=_0xd90ae[_0x4aa3c1(0x4a5)]({'cfg':_0x5698f8[_0x4aa3c1(0x4a5)](),'createEncryptor':function(_0x3a6824,_0x39eb48){const _0x2ff466=_0x4aa3c1;return this[_0x2ff466(0x370)](this[_0x2ff466(0x2cc)],_0x3a6824,_0x39eb48);},'createDecryptor':function(_0x166fc2,_0x4c522a){const _0x2686a4=_0x4aa3c1;return this[_0x2686a4(0x370)](this['_DEC_XFORM_MODE'],_0x166fc2,_0x4c522a);},'init':function(_0x26245f,_0x1c76c8,_0x421edc){const _0x82a3c2=_0x4aa3c1;this[_0x82a3c2(0x1a8)]=this[_0x82a3c2(0x1a8)][_0x82a3c2(0x4a5)](_0x421edc),this[_0x82a3c2(0x28e)]=_0x26245f,this[_0x82a3c2(0x1f7)]=_0x1c76c8,this[_0x82a3c2(0x481)]();},'reset':function(){const _0x330272=_0x4aa3c1;_0xd90ae[_0x330272(0x481)][_0x330272(0x2bb)](this),this[_0x330272(0x4fe)]();},'process':function(_0xc05bf3){const _0x469c04=_0x4aa3c1;return this[_0x469c04(0x3db)](_0xc05bf3),this[_0x469c04(0x447)]();},'finalize':function(_0x3eb668){_0x3eb668&&this['_append'](_0x3eb668);var _0x4a3be3=this['_doFinalize']();return _0x4a3be3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x22df45(_0x4447ca){const _0xdabb37=_0x3fdc;return typeof _0x4447ca==_0xdabb37(0x34d)?_0x17341c:_0x368811;}return function(_0x427aa8){return{'encrypt':function(_0x55691b,_0x476971,_0x3b5834){return _0x22df45(_0x476971)['encrypt'](_0x427aa8,_0x55691b,_0x476971,_0x3b5834);},'decrypt':function(_0x5431ea,_0x336ad6,_0x30a403){return _0x22df45(_0x336ad6)['decrypt'](_0x427aa8,_0x5431ea,_0x336ad6,_0x30a403);}};};}())});_0x578410[_0x4aa3c1(0x1f2)]=_0x9fafa6[_0x4aa3c1(0x4a5)]({'_doFinalize':function(){const _0x4cc012=_0x4aa3c1;var _0x5d75fc=this[_0x4cc012(0x447)](!0x0);return _0x5d75fc;},'blockSize':0x1});var _0x518c29=_0x205a66[_0x4aa3c1(0x205)]={},_0x3c016e=_0x578410[_0x4aa3c1(0x542)]=_0x5698f8['extend']({'createEncryptor':function(_0x2d3919,_0x4ae0f4){const _0x570169=_0x4aa3c1;return this[_0x570169(0x508)][_0x570169(0x370)](_0x2d3919,_0x4ae0f4);},'createDecryptor':function(_0x5e70ab,_0x3660c5){const _0x27c999=_0x4aa3c1;return this[_0x27c999(0x3f1)][_0x27c999(0x370)](_0x5e70ab,_0x3660c5);},'init':function(_0x1c1d94,_0xeed0ef){this['_cipher']=_0x1c1d94,this['_iv']=_0xeed0ef;}}),_0x436ddd=_0x518c29[_0x4aa3c1(0x51c)]=(function(){const _0x200a13=_0x4aa3c1;var _0x5ed04a=_0x3c016e['extend']();_0x5ed04a['Encryptor']=_0x5ed04a[_0x200a13(0x4a5)]({'processBlock':function(_0x5bd800,_0x5da36d){const _0x289cc0=_0x200a13;var _0x3fcda2=this[_0x289cc0(0x369)],_0x1be4a3=_0x3fcda2[_0x289cc0(0x3da)];_0x99e749[_0x289cc0(0x2bb)](this,_0x5bd800,_0x5da36d,_0x1be4a3),_0x3fcda2[_0x289cc0(0x270)](_0x5bd800,_0x5da36d),this[_0x289cc0(0x193)]=_0x5bd800['slice'](_0x5da36d,_0x5da36d+_0x1be4a3);}}),_0x5ed04a[_0x200a13(0x3f1)]=_0x5ed04a[_0x200a13(0x4a5)]({'processBlock':function(_0x4a602a,_0x2ab170){const _0x4b4776=_0x200a13;var _0xa58cd4=this[_0x4b4776(0x369)],_0x4e27e7=_0xa58cd4['blockSize'],_0x3dc9c7=_0x4a602a[_0x4b4776(0x3b6)](_0x2ab170,_0x2ab170+_0x4e27e7);_0xa58cd4['decryptBlock'](_0x4a602a,_0x2ab170),_0x99e749[_0x4b4776(0x2bb)](this,_0x4a602a,_0x2ab170,_0x4e27e7),this['_prevBlock']=_0x3dc9c7;}});function _0x99e749(_0x52d464,_0x37c0d8,_0x294e9f){const _0x16401e=_0x200a13;var _0x45a9a2,_0x2b7f98=this[_0x16401e(0x40e)];_0x2b7f98?(_0x45a9a2=_0x2b7f98,this[_0x16401e(0x40e)]=_0x1d8812):_0x45a9a2=this['_prevBlock'];for(var _0x470473=0x0;_0x470473<_0x294e9f;_0x470473++)_0x52d464[_0x37c0d8+_0x470473]^=_0x45a9a2[_0x470473];}return _0x5ed04a;}()),_0x216006=_0x205a66[_0x4aa3c1(0x15a)]={},_0x3f409b=_0x216006[_0x4aa3c1(0x394)]={'pad':function(_0x249704,_0x5449d3){const _0x13a720=_0x4aa3c1;for(var _0xf204b7=_0x5449d3*0x4,_0x1d3d8e=_0xf204b7-_0x249704[_0x13a720(0x1c5)]%_0xf204b7,_0x2eaeae=_0x1d3d8e<<0x18|_0x1d3d8e<<0x10|_0x1d3d8e<<0x8|_0x1d3d8e,_0x944e22=[],_0x388fc0=0x0;_0x388fc0<_0x1d3d8e;_0x388fc0+=0x4)_0x944e22[_0x13a720(0x263)](_0x2eaeae);var _0xbad310=_0x3e03b7['create'](_0x944e22,_0x1d3d8e);_0x249704[_0x13a720(0x50b)](_0xbad310);},'unpad':function(_0x5d1f45){const _0x5541ce=_0x4aa3c1;var _0x1e7ee8=_0x5d1f45['words'][_0x5d1f45[_0x5541ce(0x1c5)]-0x1>>>0x2]&0xff;_0x5d1f45[_0x5541ce(0x1c5)]-=_0x1e7ee8;}};_0x578410[_0x4aa3c1(0x38a)]=_0x9fafa6[_0x4aa3c1(0x4a5)]({'cfg':_0x9fafa6[_0x4aa3c1(0x1a8)][_0x4aa3c1(0x4a5)]({'mode':_0x436ddd,'padding':_0x3f409b}),'reset':function(){const _0x3d51a0=_0x4aa3c1;var _0x7a41dd;_0x9fafa6['reset'][_0x3d51a0(0x2bb)](this);var _0x48996b=this[_0x3d51a0(0x1a8)],_0x59b6d1=_0x48996b['iv'],_0x35f02b=_0x48996b[_0x3d51a0(0x205)];this['_xformMode']==this[_0x3d51a0(0x2cc)]?_0x7a41dd=_0x35f02b[_0x3d51a0(0x453)]:(_0x7a41dd=_0x35f02b[_0x3d51a0(0x29d)],this[_0x3d51a0(0x38e)]=0x1),this['_mode']&&this[_0x3d51a0(0x336)]['__creator']==_0x7a41dd?this[_0x3d51a0(0x336)][_0x3d51a0(0x47e)](this,_0x59b6d1&&_0x59b6d1[_0x3d51a0(0x520)]):(this[_0x3d51a0(0x336)]=_0x7a41dd[_0x3d51a0(0x2bb)](_0x35f02b,this,_0x59b6d1&&_0x59b6d1[_0x3d51a0(0x520)]),this[_0x3d51a0(0x336)][_0x3d51a0(0x458)]=_0x7a41dd);},'_doProcessBlock':function(_0x3cc16c,_0x3b84ca){const _0x534161=_0x4aa3c1;this[_0x534161(0x336)][_0x534161(0x160)](_0x3cc16c,_0x3b84ca);},'_doFinalize':function(){const _0x4537c5=_0x4aa3c1;var _0x581310,_0x2ce89b=this[_0x4537c5(0x1a8)][_0x4537c5(0x459)];return this[_0x4537c5(0x28e)]==this[_0x4537c5(0x2cc)]?(_0x2ce89b[_0x4537c5(0x15a)](this['_data'],this[_0x4537c5(0x3da)]),_0x581310=this['_process'](!0x0)):(_0x581310=this[_0x4537c5(0x447)](!0x0),_0x2ce89b['unpad'](_0x581310)),_0x581310;},'blockSize':0x80/0x20});var _0x59a339=_0x578410[_0x4aa3c1(0x225)]=_0x5698f8[_0x4aa3c1(0x4a5)]({'init':function(_0x19df2c){const _0x198fe9=_0x4aa3c1;this[_0x198fe9(0x3e5)](_0x19df2c);},'toString':function(_0x1177f1){const _0xbba520=_0x4aa3c1;return(_0x1177f1||this[_0xbba520(0x1ef)])[_0xbba520(0x2e7)](this);}}),_0x2d9ec8=_0x205a66[_0x4aa3c1(0x1d7)]={},_0x4ad015=_0x2d9ec8['OpenSSL']={'stringify':function(_0x3e8147){const _0x20e4dc=_0x4aa3c1;var _0x1ffb6c,_0x219289=_0x3e8147[_0x20e4dc(0x3d5)],_0xccab70=_0x3e8147[_0x20e4dc(0x47a)];return _0xccab70?_0x1ffb6c=_0x3e03b7['create']([0x53616c74,0x65645f5f])[_0x20e4dc(0x50b)](_0xccab70)[_0x20e4dc(0x50b)](_0x219289):_0x1ffb6c=_0x219289,_0x1ffb6c['toString'](_0x456c4e);},'parse':function(_0x2555fb){const _0x34104a=_0x4aa3c1;var _0x3c7f3c,_0x4860a1=_0x456c4e[_0x34104a(0x3ef)](_0x2555fb),_0x321039=_0x4860a1[_0x34104a(0x520)];return _0x321039[0x0]==0x53616c74&&_0x321039[0x1]==0x65645f5f&&(_0x3c7f3c=_0x3e03b7[_0x34104a(0x370)](_0x321039[_0x34104a(0x3b6)](0x2,0x4)),_0x321039['splice'](0x0,0x4),_0x4860a1[_0x34104a(0x1c5)]-=0x10),_0x59a339[_0x34104a(0x370)]({'ciphertext':_0x4860a1,'salt':_0x3c7f3c});}},_0x368811=_0x578410[_0x4aa3c1(0x434)]=_0x5698f8[_0x4aa3c1(0x4a5)]({'cfg':_0x5698f8[_0x4aa3c1(0x4a5)]({'format':_0x4ad015}),'encrypt':function(_0x21b80b,_0x10163d,_0x560f1e,_0x4e746e){const _0x4ed0a7=_0x4aa3c1;_0x4e746e=this[_0x4ed0a7(0x1a8)][_0x4ed0a7(0x4a5)](_0x4e746e);var _0x56514c=_0x21b80b[_0x4ed0a7(0x453)](_0x560f1e,_0x4e746e),_0x23f698=_0x56514c[_0x4ed0a7(0x327)](_0x10163d),_0x48385e=_0x56514c[_0x4ed0a7(0x1a8)];return _0x59a339[_0x4ed0a7(0x370)]({'ciphertext':_0x23f698,'key':_0x560f1e,'iv':_0x48385e['iv'],'algorithm':_0x21b80b,'mode':_0x48385e[_0x4ed0a7(0x205)],'padding':_0x48385e[_0x4ed0a7(0x459)],'blockSize':_0x21b80b[_0x4ed0a7(0x3da)],'formatter':_0x4e746e[_0x4ed0a7(0x1d7)]});},'decrypt':function(_0x180653,_0x412612,_0x2d01cd,_0x2fd0d9){const _0x1647b7=_0x4aa3c1;_0x2fd0d9=this[_0x1647b7(0x1a8)][_0x1647b7(0x4a5)](_0x2fd0d9),_0x412612=this['_parse'](_0x412612,_0x2fd0d9[_0x1647b7(0x1d7)]);var _0x450304=_0x180653[_0x1647b7(0x29d)](_0x2d01cd,_0x2fd0d9)[_0x1647b7(0x327)](_0x412612[_0x1647b7(0x3d5)]);return _0x450304;},'_parse':function(_0x3fe34c,_0x370273){return typeof _0x3fe34c=='string'?_0x370273['parse'](_0x3fe34c,this):_0x3fe34c;}}),_0x27f7e6=_0x205a66[_0x4aa3c1(0x146)]={},_0x18dbf3=_0x27f7e6[_0x4aa3c1(0x23f)]={'execute':function(_0x353578,_0xa6915d,_0x3efe3f,_0x4e9cbd,_0x5dcd0e){const _0x362dea=_0x4aa3c1;if(_0x4e9cbd||(_0x4e9cbd=_0x3e03b7[_0x362dea(0x15c)](0x40/0x8)),_0x5dcd0e)var _0x1a8b59=_0x211793['create']({'keySize':_0xa6915d+_0x3efe3f,'hasher':_0x5dcd0e})[_0x362dea(0x1d4)](_0x353578,_0x4e9cbd);else var _0x1a8b59=_0x211793[_0x362dea(0x370)]({'keySize':_0xa6915d+_0x3efe3f})[_0x362dea(0x1d4)](_0x353578,_0x4e9cbd);var _0x1d0990=_0x3e03b7[_0x362dea(0x370)](_0x1a8b59[_0x362dea(0x520)]['slice'](_0xa6915d),_0x3efe3f*0x4);return _0x1a8b59[_0x362dea(0x1c5)]=_0xa6915d*0x4,_0x59a339[_0x362dea(0x370)]({'key':_0x1a8b59,'iv':_0x1d0990,'salt':_0x4e9cbd});}},_0x17341c=_0x578410[_0x4aa3c1(0x18e)]=_0x368811[_0x4aa3c1(0x4a5)]({'cfg':_0x368811[_0x4aa3c1(0x1a8)][_0x4aa3c1(0x4a5)]({'kdf':_0x18dbf3}),'encrypt':function(_0x141d85,_0x226041,_0x2db401,_0x5659dc){const _0x19dd38=_0x4aa3c1;_0x5659dc=this[_0x19dd38(0x1a8)][_0x19dd38(0x4a5)](_0x5659dc);var _0x57545d=_0x5659dc[_0x19dd38(0x146)]['execute'](_0x2db401,_0x141d85[_0x19dd38(0x26c)],_0x141d85[_0x19dd38(0x31b)],_0x5659dc[_0x19dd38(0x47a)],_0x5659dc[_0x19dd38(0x4c3)]);_0x5659dc['iv']=_0x57545d['iv'];var _0x23eb21=_0x368811[_0x19dd38(0x4a8)]['call'](this,_0x141d85,_0x226041,_0x57545d[_0x19dd38(0x14a)],_0x5659dc);return _0x23eb21[_0x19dd38(0x3e5)](_0x57545d),_0x23eb21;},'decrypt':function(_0x576088,_0x3cc9ec,_0x36d65c,_0x324cf2){const _0x3b7a3d=_0x4aa3c1;_0x324cf2=this[_0x3b7a3d(0x1a8)][_0x3b7a3d(0x4a5)](_0x324cf2),_0x3cc9ec=this[_0x3b7a3d(0x507)](_0x3cc9ec,_0x324cf2[_0x3b7a3d(0x1d7)]);var _0x343e1e=_0x324cf2[_0x3b7a3d(0x146)][_0x3b7a3d(0x169)](_0x36d65c,_0x576088[_0x3b7a3d(0x26c)],_0x576088[_0x3b7a3d(0x31b)],_0x3cc9ec['salt'],_0x324cf2[_0x3b7a3d(0x4c3)]);_0x324cf2['iv']=_0x343e1e['iv'];var _0x3f27a1=_0x368811[_0x3b7a3d(0x2c9)][_0x3b7a3d(0x2bb)](this,_0x576088,_0x3cc9ec,_0x343e1e['key'],_0x324cf2);return _0x3f27a1;}});}();}));}(qt)),qt[_0x2e3497(0x4e5)];}(function(_0x525c62,_0x306ef7){(function(_0x4e8afe,_0x46476f,_0x145e83){_0x525c62['exports']=_0x46476f(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x25720c){const _0x21febb=_0x3fdc;return(function(){const _0x277d08=_0x3fdc;var _0x4065e0=_0x25720c,_0xd49d62=_0x4065e0[_0x277d08(0x381)],_0x231377=_0xd49d62[_0x277d08(0x38a)],_0x196977=_0x4065e0[_0x277d08(0x328)],_0x5ca71c=[],_0x38fc98=[],_0x257f06=[],_0x2f3fe7=[],_0x2fb320=[],_0x9f2d36=[],_0x49fa36=[],_0x320d15=[],_0x521ec3=[],_0x581c2f=[];(function(){for(var _0xa20a94=[],_0x3ffd2e=0x0;_0x3ffd2e<0x100;_0x3ffd2e++)_0x3ffd2e<0x80?_0xa20a94[_0x3ffd2e]=_0x3ffd2e<<0x1:_0xa20a94[_0x3ffd2e]=_0x3ffd2e<<0x1^0x11b;for(var _0x1fa5cd=0x0,_0x3fa76e=0x0,_0x3ffd2e=0x0;_0x3ffd2e<0x100;_0x3ffd2e++){var _0x5e9f7a=_0x3fa76e^_0x3fa76e<<0x1^_0x3fa76e<<0x2^_0x3fa76e<<0x3^_0x3fa76e<<0x4;_0x5e9f7a=_0x5e9f7a>>>0x8^_0x5e9f7a&0xff^0x63,_0x5ca71c[_0x1fa5cd]=_0x5e9f7a,_0x38fc98[_0x5e9f7a]=_0x1fa5cd;var _0x134e69=_0xa20a94[_0x1fa5cd],_0x22617a=_0xa20a94[_0x134e69],_0x1e8af0=_0xa20a94[_0x22617a],_0x553963=_0xa20a94[_0x5e9f7a]*0x101^_0x5e9f7a*0x1010100;_0x257f06[_0x1fa5cd]=_0x553963<<0x18|_0x553963>>>0x8,_0x2f3fe7[_0x1fa5cd]=_0x553963<<0x10|_0x553963>>>0x10,_0x2fb320[_0x1fa5cd]=_0x553963<<0x8|_0x553963>>>0x18,_0x9f2d36[_0x1fa5cd]=_0x553963;var _0x553963=_0x1e8af0*0x1010101^_0x22617a*0x10001^_0x134e69*0x101^_0x1fa5cd*0x1010100;_0x49fa36[_0x5e9f7a]=_0x553963<<0x18|_0x553963>>>0x8,_0x320d15[_0x5e9f7a]=_0x553963<<0x10|_0x553963>>>0x10,_0x521ec3[_0x5e9f7a]=_0x553963<<0x8|_0x553963>>>0x18,_0x581c2f[_0x5e9f7a]=_0x553963,_0x1fa5cd?(_0x1fa5cd=_0x134e69^_0xa20a94[_0xa20a94[_0xa20a94[_0x1e8af0^_0x134e69]]],_0x3fa76e^=_0xa20a94[_0xa20a94[_0x3fa76e]]):_0x1fa5cd=_0x3fa76e=0x1;}}());var _0x452d1d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x37f4c5=_0x196977[_0x277d08(0x4ed)]=_0x231377['extend']({'_doReset':function(){const _0x4dc240=_0x277d08;var _0x13dfc1;if(!(this[_0x4dc240(0x4f4)]&&this[_0x4dc240(0x533)]===this[_0x4dc240(0x1f7)])){for(var _0x4534f5=this['_keyPriorReset']=this['_key'],_0x3f5cf6=_0x4534f5[_0x4dc240(0x520)],_0x2e3430=_0x4534f5['sigBytes']/0x4,_0x99fe6a=this[_0x4dc240(0x4f4)]=_0x2e3430+0x6,_0x30376c=(_0x99fe6a+0x1)*0x4,_0x43397e=this[_0x4dc240(0x4db)]=[],_0x143091=0x0;_0x143091<_0x30376c;_0x143091++)_0x143091<_0x2e3430?_0x43397e[_0x143091]=_0x3f5cf6[_0x143091]:(_0x13dfc1=_0x43397e[_0x143091-0x1],_0x143091%_0x2e3430?_0x2e3430>0x6&&_0x143091%_0x2e3430==0x4&&(_0x13dfc1=_0x5ca71c[_0x13dfc1>>>0x18]<<0x18|_0x5ca71c[_0x13dfc1>>>0x10&0xff]<<0x10|_0x5ca71c[_0x13dfc1>>>0x8&0xff]<<0x8|_0x5ca71c[_0x13dfc1&0xff]):(_0x13dfc1=_0x13dfc1<<0x8|_0x13dfc1>>>0x18,_0x13dfc1=_0x5ca71c[_0x13dfc1>>>0x18]<<0x18|_0x5ca71c[_0x13dfc1>>>0x10&0xff]<<0x10|_0x5ca71c[_0x13dfc1>>>0x8&0xff]<<0x8|_0x5ca71c[_0x13dfc1&0xff],_0x13dfc1^=_0x452d1d[_0x143091/_0x2e3430|0x0]<<0x18),_0x43397e[_0x143091]=_0x43397e[_0x143091-_0x2e3430]^_0x13dfc1);for(var _0x5810f9=this['_invKeySchedule']=[],_0x3cd6ac=0x0;_0x3cd6ac<_0x30376c;_0x3cd6ac++){var _0x143091=_0x30376c-_0x3cd6ac;if(_0x3cd6ac%0x4)var _0x13dfc1=_0x43397e[_0x143091];else var _0x13dfc1=_0x43397e[_0x143091-0x4];_0x3cd6ac<0x4||_0x143091<=0x4?_0x5810f9[_0x3cd6ac]=_0x13dfc1:_0x5810f9[_0x3cd6ac]=_0x49fa36[_0x5ca71c[_0x13dfc1>>>0x18]]^_0x320d15[_0x5ca71c[_0x13dfc1>>>0x10&0xff]]^_0x521ec3[_0x5ca71c[_0x13dfc1>>>0x8&0xff]]^_0x581c2f[_0x5ca71c[_0x13dfc1&0xff]];}}},'encryptBlock':function(_0x4972b3,_0x527de5){const _0x10ef85=_0x277d08;this[_0x10ef85(0x25c)](_0x4972b3,_0x527de5,this[_0x10ef85(0x4db)],_0x257f06,_0x2f3fe7,_0x2fb320,_0x9f2d36,_0x5ca71c);},'decryptBlock':function(_0x289b81,_0x32a636){var _0x3c9059=_0x289b81[_0x32a636+0x1];_0x289b81[_0x32a636+0x1]=_0x289b81[_0x32a636+0x3],_0x289b81[_0x32a636+0x3]=_0x3c9059,this['_doCryptBlock'](_0x289b81,_0x32a636,this['_invKeySchedule'],_0x49fa36,_0x320d15,_0x521ec3,_0x581c2f,_0x38fc98);var _0x3c9059=_0x289b81[_0x32a636+0x1];_0x289b81[_0x32a636+0x1]=_0x289b81[_0x32a636+0x3],_0x289b81[_0x32a636+0x3]=_0x3c9059;},'_doCryptBlock':function(_0x279d0f,_0x12f27d,_0x1cf2af,_0x116e66,_0x35a3ca,_0x888e54,_0x5c56bf,_0x20b08b){const _0x1302ce=_0x277d08;for(var _0x39e40d=this[_0x1302ce(0x4f4)],_0x191b2f=_0x279d0f[_0x12f27d]^_0x1cf2af[0x0],_0xf0372e=_0x279d0f[_0x12f27d+0x1]^_0x1cf2af[0x1],_0x1ef30a=_0x279d0f[_0x12f27d+0x2]^_0x1cf2af[0x2],_0x5999b1=_0x279d0f[_0x12f27d+0x3]^_0x1cf2af[0x3],_0x4f83e0=0x4,_0x1c4a4a=0x1;_0x1c4a4a<_0x39e40d;_0x1c4a4a++){var _0x1211df=_0x116e66[_0x191b2f>>>0x18]^_0x35a3ca[_0xf0372e>>>0x10&0xff]^_0x888e54[_0x1ef30a>>>0x8&0xff]^_0x5c56bf[_0x5999b1&0xff]^_0x1cf2af[_0x4f83e0++],_0x59ba04=_0x116e66[_0xf0372e>>>0x18]^_0x35a3ca[_0x1ef30a>>>0x10&0xff]^_0x888e54[_0x5999b1>>>0x8&0xff]^_0x5c56bf[_0x191b2f&0xff]^_0x1cf2af[_0x4f83e0++],_0x29f059=_0x116e66[_0x1ef30a>>>0x18]^_0x35a3ca[_0x5999b1>>>0x10&0xff]^_0x888e54[_0x191b2f>>>0x8&0xff]^_0x5c56bf[_0xf0372e&0xff]^_0x1cf2af[_0x4f83e0++],_0x3a29f6=_0x116e66[_0x5999b1>>>0x18]^_0x35a3ca[_0x191b2f>>>0x10&0xff]^_0x888e54[_0xf0372e>>>0x8&0xff]^_0x5c56bf[_0x1ef30a&0xff]^_0x1cf2af[_0x4f83e0++];_0x191b2f=_0x1211df,_0xf0372e=_0x59ba04,_0x1ef30a=_0x29f059,_0x5999b1=_0x3a29f6;}var _0x1211df=(_0x20b08b[_0x191b2f>>>0x18]<<0x18|_0x20b08b[_0xf0372e>>>0x10&0xff]<<0x10|_0x20b08b[_0x1ef30a>>>0x8&0xff]<<0x8|_0x20b08b[_0x5999b1&0xff])^_0x1cf2af[_0x4f83e0++],_0x59ba04=(_0x20b08b[_0xf0372e>>>0x18]<<0x18|_0x20b08b[_0x1ef30a>>>0x10&0xff]<<0x10|_0x20b08b[_0x5999b1>>>0x8&0xff]<<0x8|_0x20b08b[_0x191b2f&0xff])^_0x1cf2af[_0x4f83e0++],_0x29f059=(_0x20b08b[_0x1ef30a>>>0x18]<<0x18|_0x20b08b[_0x5999b1>>>0x10&0xff]<<0x10|_0x20b08b[_0x191b2f>>>0x8&0xff]<<0x8|_0x20b08b[_0xf0372e&0xff])^_0x1cf2af[_0x4f83e0++],_0x3a29f6=(_0x20b08b[_0x5999b1>>>0x18]<<0x18|_0x20b08b[_0x191b2f>>>0x10&0xff]<<0x10|_0x20b08b[_0xf0372e>>>0x8&0xff]<<0x8|_0x20b08b[_0x1ef30a&0xff])^_0x1cf2af[_0x4f83e0++];_0x279d0f[_0x12f27d]=_0x1211df,_0x279d0f[_0x12f27d+0x1]=_0x59ba04,_0x279d0f[_0x12f27d+0x2]=_0x29f059,_0x279d0f[_0x12f27d+0x3]=_0x3a29f6;},'keySize':0x100/0x20});_0x4065e0['AES']=_0x231377[_0x277d08(0x47b)](_0x37f4c5);}()),_0x25720c[_0x21febb(0x4ed)];}));}(ki));var Ya=ki[_0x18be96(0x4e5)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x3dda9e,_0x49e7ac){(function(_0x1d96bc,_0x445184){const _0x18f8cd=_0x3fdc;_0x3dda9e[_0x18f8cd(0x4e5)]=_0x445184(ue());}(Z,function(_0x38792f){const _0x1a8732=_0x3fdc;return _0x38792f[_0x1a8732(0x3c2)][_0x1a8732(0x39d)];}));}(Gi));var qa=Gi[_0x18be96(0x4e5)];const Xa=at(qa);function _0x5e1d(){const _0x43b7b6=['x-univer-host','parse','getOffsetConfig','Decryptor','shouldCloseConn','href','dispose$','/object/','1em','hostname','div','onCommentUpdate','_sheetSkeletonManagerService','conflict.content','liveShareNewHost','loadOfflineData','length','NOT_FOUND','\x0aAfter:\x20','encode','univerjs-icon\x20univerjs-icon-','endRow','replaceState','FAIL','ACTIVE_UNIT_EVENT_CHANNEL','PENDING','signUrlServerUrl','close','byteLength','resourceIDs','_telemetryInfo','PERMISSION_DENIED','_iv','_removeRoom','batchAllowed','InsertRangeMoveDownCommandId','_doFinalize','socket$','UNIVER_COLLABORATION_CLIENT_PLUGIN','liveShareOperation','ONLINE','_startDocCollabCursor','eventID','transformSelections','onPointerEnter$','_rescheduleHeartbeat','onSendChangeset','_scheduleHeartbeat','collaboration.closeRoom','VIEW_MAIN','_commentUpdate$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','FETCH_MISSING','iterations','closeSession','_startCollaboration','onRemoteAck','onMissedChangesetFetched','Error\x20on\x20receiving\x20event','_type','transformByState','session.connection-failed','commentUpdateEvent','_heartbeatTimer','roomInfos','_scheduleSaving','__esModule','_memberService','text','close$','SerializableCipher','event$','_transformStateCache','TOO_MANY_REQUESTS','join','_createInitialStateImpl','_httpService','_initCommandExecutedListener','&to=','\x0aCurrent:\x20','save','_setupBeforeClosingHandler','_session','onSyncEditingCollabCursor','verdancy600','_collabSessionService','_onCursorDelete','fetchMiss','m2Prime','_process','_collaborationTimeoutTimer','_assignedColors','UNDEFINED','unit','_roomMembers$','[CollaborationUndoRedoService]','COMMENT_UPDATE','CHANGESET_ACK','subscribe','_transformIMECache','_config','createEncryptor','row','_docTransformSelectionsService','jsx','_replayCachedMutations','__creator','padding','unitId','_socketService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','LICENSE_IMPORT_SIZE_EXCEEDED','IDLE','Hex','symbol','textRanges','awaiting','getSheetBlock','Could\x20not\x20dynamically\x20require\x20\x22','_decreaseWaiting','_init','RECV','[CollaborationEntity]','popstate','/object','baseRev','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','sessionStatus$','UNRECOGNIZED','_ensureSubject','message$','addImageSourceCache','current','_nDataBytes','UNAUTHENTICATED','_state$','width','SYNCED','url(#$1','M0\x200H16V16H0z','salt','_createHelper','LIVESHARE_OPERATION','_retryConnectingTimer','init','_logService','override','reset','CHANGESET_REVISION_CONFILICT','_changesetReqId','setShapeProps','getValue','[CollaborationSession]','_compressMutationService','catch','SHA1','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_PERMISSION_DENIED','snapshotServerUrl','setUndoRedoMutationParamsCache','getOwnPropertyDescriptor','getUnit','_clearLocalCache','headers','SHOULD_CLOSE_CONN','objects','error','column','interceptor','_throwTelemetryCollaborationNewChangeset','/block/','pending','\x20-\x20','InsertColCommandId','subscribeEvent','FromArray','UNIVER_PROJECT','_resendWithTimeout','onRemoteChangeset','_getCtorByUniverType','reject','univer-online-status-title','onlyLocal','extend','_initEventListeners','setAlpha','encrypt','readInt32LE','roomMembers$','_initResize','UNIVER_UNKNOWN','univer-online','image/jpeg','members','_substituteUndoStack','SNAPSHOT_INVALID_SNAPSHOT','_onUserLeave','_transformSelections','_updateURLWithCurrentState','function','size','transformChangesets','NO_OTHER_CLIENTS_EDITING','registerRenderModule','_send','putCollaborators','onMissingChangesets','onStateChange','enableLocalCache','state$','_queuedRemoteChangesets','_onRefRangeChange','_tryEnsureSocket','hasher','range','_labelPosition','svg','image/png','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_revisionService','_saveTaskMap','_iKey','addEventListener','_members','_shapes','sid','sessionStatus','gold400','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','drawWith','_toggleOnline','complete','_cursorInfo$','_registerRenderDependencies','_hash','hidden','COMPRESS_MUTATION_SEND','_keySchedule','toString','_colorIndex','_getSendChangesetTimeout','HttpImport','getItem','min','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_status$','doc.mutation.rich-text-editing','exports','_socket$','defs','getCollabEntity$','getActiveSheet','_transformRemoteChangesetByStateCache','_getSnapshotAPIPrefix','_collabCursorController','AES','SUCCUSS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/universer-api/authz','getCurrentSelections','conflict','_doProcessBlock','_nRounds','hasOwnProperty','appendMutation','Base64','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabCursorState$','_handleLeaveEvent','_disableEditing','getLatestCsReqIdBySid','AUTHZ_URL_KEY','_doReset','indexOf','_beforeCloseService','currentColor','1999034MJtdCZ','USERS_ENTER','session','sin','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_parse','Encryptor','getMergeData','_getSheetObject','concat','_collaborationSessionService','/allowed','getMember','10885847gJkBCH','uni.network.url-service','0\x200\x2016\x2016','collabStatus.offline','getActiveRange','startRow','BufferedBlockAlgorithm','collabStatus.synced','removeMember','Hasher','endColumn','flatMap','_onConnectionOpen','CBC','error$','_HTTPService','visibilitychange','words','INVALID_ARGUMENT','getSkeleton','Univer','toggleOnline','_unitOnClients','_cachedData','[FetchMissState]','redoState','debug','getRenderById','src','buffer','_onRecvEvent','_clearTimeoutTimer','transformMutation','onPointerMove$','generateRandomId','objectID','_keyPriorReset','EvpKDF','onTransformRemoteChangesetByStateCache','path','_entityInit$','_candidateSocket','_executeRemoteChangeset','/unit/','_onLocalMutation','_unlockTransition','save\x20fail\x20reason\x20is\x20','searchParams','_range','[SyncedState]:\x20received\x20rejection.','{fileID}','BlockCipherMode','toggleOffline','_scheduleTimestamp','focused$','[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.','POST','evenodd','_handleJoinEvent','_docSyncEditingCollabCursorService','getInterceptPoints','_showConflictNotification','ALREADY_EXISTS','open$','transformRemoteChangeset','_sendHeartbeatTimer','transformStack\x20failed!','split','idSuffix','colorChannel1','_sender','_themeService','_name','_reverseMap','_initStatusComponent','_online','/fetchmissing?from=','addObject','kdf','_event$','_imageSourceCache','pauseCollaboration','key','/collaborator','/-/object/list','sendChangesetTimeout','ERROR_IMAGE','then','transform','_http','INTERNAL_ERROR','unshift','_toggleOffline','not_collab','state','APPLY_REVISION_CONFILICT','currentSkeleton$','_drawTextRange','pad','_socketMessageSubscription','random','_getAPIPrefix','_uiPartsService','getUnitId','processBlock','saveChangeset','setActiveRange','routeKey','_cursor','measureText','_clearScheduledTask','OFFLINE','_lastPointer','execute','_drawAnchor','react.element','[CollaborationState]:\x20apply\x20error!','_scene','UPDATE_CURSOR','list','_redoStacks','#fff','object','_substituteRedoStack','PSEUDO_FETCH_MISSING_RESULT','_syncEditingCollabCursor','NOT_COLLAB','post','_createHmacHelper','_hover','joinRsp','icon','SNAPSHOT_SERVER_URL_KEY','_onRemoteRetry','revision','on-line-single_clip0_910_349','executeCommand','onTransformRemoteChangesetByIMECache','use','_onMessage','collabStatus.fetchMiss','univer-offline','_sendHeartbeat','changesets','_retryCount','userID','translate(.97)','_updateState','_render','body','PasswordBasedCipher','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','session.will-retry','roles','RemoveColCommandId','_prevBlock','_resendTimer','infoRsp','_joinRoom','createCollaborator','_sendingTimer','filter','_initMergeInterceptor','_notificationService','propertyIsEnumerable','_createHandler','_isPermissionRej','_remoteChangesetQueue','onlineStatus','reduce','_removeClearOtherTimer','_state','RemoveRowCommandId','MD5','localeService','getRandomValues','cfg','color','replaceDocRanges','transformIMECache','ERROR_EXCEED_SIZE','_document','getWorkbookSelections','collaboration.single-unit.warning','setConfig','_docSkeleton','abs','Fragment','substring','fillStyle','getMemberID','_updateSubUnitFromURLParams','fetch_missing','_anchor','authzUrl','_univerInstanceService','collabSubmitChangesetUrl','_incrementRevisionNumber','docStateChange$','updateOfflineData','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_INTERVAL','222LKzIVa','_registerDependencies','backgroundColor','sigBytes','exhaustSavingTask','[OfflineState]:\x20received\x20rejection.','substr','urlChange$','fetchMissingChangesets','_cursorShapes','params','UNIVER_SHEET','forEach','toLowerCase','csRejEvent','_timeoutTimer','_draw','round','compute','HMAC','fillText','format','ceil','awaitingChangeset','apply','_unitStatus','permission.title','hide','workbook','getUnitStatus$','bind','onCommandExecuted','_schedule','UniverIcon','_startSheetCollabCursor','HttpExport','_sessions','pipe','?url=','height','purple300','USERS_LEAVE','status$','newValue','COMPRESS_MUTATION_APPLY','formatter','some','sheets','StreamCipher','clipPath','whenReady','arc','socketService','_key','_handler','font','Unknown\x20user','result','getTime','_messageService','defIds','charAt','collab-text-anchor-','getTypeOfUnitDisposed$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefixPath','sheetId','mode','all','originalMeta','actions','_updateStatus','_clearUndo','_socket','send','clone','_tryReconnect','_commandService','crypto','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_createSocket','url(#on-line-single_clip0_910_349)','getCurrentRevOfUnit','deepClone','labelPosition','Malformed\x20UTF-8\x20data','getRangePointData','floor','collaboratorID','NoPadding','transformUndoRedo','memberID','byteOffset','registerOnClose','map','moveTo','collabStatus.conflict','HEARTBEAT','YUUMI_URL_COL_OUT_OF_RANGE','CipherParams','saveOfflineData','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','undoState','synced','charCodeAt','_waitCount','location','code','_onRemoteChangeset','listCollaborators','saveImage','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','1602759BAwWPA','Latin1','enableOfflineEditing','onRemoteRetry','name','onTransformSelections','_updateLocalCursor','Warning','_fetchMissChangesets','_docSkeletonManagerService','enableSingleActiveInstanceLock','onlineStatusIcon','CONFLICT','OpenSSL','_hovered','_collaborationPaused','_getSaveTimeout','onPointerLeave$','online','auth.needGotoLoginAlert','_awaitingChangeset','LEAVE','_anchorDot','delete','lineTo','UNIVER_DOC','copyFileMeta','fetching\x20missing\x20changesets\x20from\x20','subunit','find','HmacSHA1','reqId','_localCacheService','isPermissionRej','_commentService','clearTimeout','subUnitId','UNKNOWN_CODE','editingUnit','registerHTTPInterceptor','_transformPreviousActiveRange','/resources','_doCryptBlock','deleteCollaborator','getCollabCursors$','newCsEvent','LICENSE_EXPORT_SIZE_EXCEEDED','contains','put','push','unitId\x20is\x20not\x20found','CONNECTOR_DATA_TOO_LARGE','_initCloseConn','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','responseType','_getSignURL','compose','roomMembers','keySize','[PendingState]:\x20received\x20acknowledgement.','getSheetId','getConfig','encryptBlock','loginUrlKey','max','_injector','capture','onStarting','for','NEW_CHANGESETS','TEXT','_transformHistoryAndStateStack','permission.content','_acknowledgedAwaitingChangeset','LIVESHARE_FETCH_OPERATIONS','MSG_FOR_ERROR','_getUploadFileURL','clear','onTransformState','get','_loadSheet','file','getCurrent','getCurrentUser','InsertRangeMoveRightCommandId','top','csShouldRetryEvent','_getCurrentRevision','SUBMIT_CHANGESET','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getOwnPropertySymbols','listRoles','_xformMode','_onFetchMissResult','leaveEvent','transformMutationsWithChangeset','data','_changesetSessionId','origin','collaborators','collaboration-client.config','conflict.title','_snapshotService','history','_sessionStatus$','hovered','set','createDecryptor','_docTransformStateCacheService','className','xlink:href','_disabled','APPLY_REJECT','splice','getDeserializedSheetBlock','react.fragment','univer-pro.collaboration-client-socket-service','PERMISSION_REJ','_onUserJoin','_startTelemetryCollaborationNewChangeset','fromCharCode','registerRefRange','children','setParam','LIVESHARE_NEW_HOST','_updateCollabCursors','getUnhiddenWorksheets','_initDependencies','_checkMissing','c1Prime','retryConnectingInterval','JOIN','defineProperty','JOINING','getStateCache','HELLO','registerBeforeClose','call','_transformUndoRedoStack','RECT','patch','LICENSE_MAX_UNITS_EXCEEDED','duration','_localStorageService','APPLY_DUPLICATED','_entities','setShowComponents','_oKey','YUUMI_SUBSCRIPTION_NOT_FOUND','[SyncedState]:\x20received\x20acknowledgement.','_applyRemoteChangeset','decrypt','__Key__','Cipher','_ENC_XFORM_MODE','makeDirty','_onRemoteACK','status','_clearOtherTimers','onTransformIME','toRgbString','_map','msCrypto','collab-client.tooltip.reconnect','every','collaMsg','_transformStack','LIVESHARE_TERMINATE','_handleHeartbeatEvent','getSheetBySheetId','_createInitialState','DeleteRangeMoveLeftCommandId','encodeURIComponent','_replaceFileID','_resendTimeout','YUUMI_UNABLE_LOAD_URL','getDocRanges','getCollabEntity','$super','dispose','awaiting_with_pending','stringify','_userManagerService','clamp','/role','createInstance','/new_changes','_transitionLocked','/universer-api/snapshot','_getUndoStack','unload','rng','_telemetryService','ranges','INGEST','randomUUID','setStateCache','OTHER_CLIENTS_EDITING','_saveCache','tag','enableAuthServer','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','selections','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_hasher','createSocket','update','MUTATION','fillRule','UnitEmbedded','_onOffline','_docTransformIMECacheService','_onCursorUpdate','type','_snapshotServerService','onlineStatusTitle','_undoRedoService','disableLocalCache','confirm','addObjects','connection\x20error','#FFF','_backgroundColor','/universer-api/file/{fileID}/sign-url','getTypeOfUnitAdded$','_data','jiqing500','_clearRedo','_socketReady','unknown','unsubscribe','next','_refRangeService','ivSize','[CollaborationSessionService]','_selfUnitIDs','_setupSubUnitSync','onMouseMove','loadDoc','fetchThroughInterceptors','BASE64','currentTheme$','ref','_loadDoc','ReactCurrentOwner','finalize','algo','_updateLocalCache','cmd','m1Prime','setWaitCount','_refreshCollabCursors','failed\x20to\x20apply\x20missed\x20changesets!','_removeCollabCursors','defaultProps','_onConflict','collab-rect-range-','_undoStacks','_getMergeRange','LICENSE_DISTRO_REJECTED','_mode','cursorInfo','add','none','collabWebSocketUrl','_getLoginPath','AWAITING_WITH_PENDING','univer-online-status-icon','setItem','requireSession','_docStateChangeManagerService','editing\x20status\x20changed\x20to','/rev/','_handleHover','49876QGzpCH','_pendingMutations','[CollaborationSessionService]:\x20socket\x20error','stopTime','_collaborationController','_scheduleCollaborationTimeoutTimer','number','_initStatusListener','DEFAULT_FILE_NAME','string','socket\x20close','onReady','HEADER_MENU','disposeUnit','ENSURE_SNAPSHOT_EXECUTION','[DataLoaderController]','off-line-single','reconnect','/universer-api/comb','onload','_context','cursorInfo$','_getDownloadEndpointURL','onRemoteRej','_waitForHeartbeatResponse','getCurrentUnitForType','asObservable','6273042Oesibh','_singleActiveUnitService','_cursors','isEditing','17844920rIijcL','FETCH_MISS','_onCombEvent','offline','univer-pro.collaboration-client.single-active-unit-service','red300','_cipher','transformStateCache','_listenToOfflineEvent','_handleEvent','_configService','...','now','create','values','socket\x20open.','includes','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','rev','Undefined','[PendingState]:\x20unhandled\x20univer\x20type:\x20','json','downloadEndpointUrl','selection','assignAColorForMemberID','permissionRejEvent','_syncEditingCollabCursorService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ws://127.0.0.1:8000/universer-api/comb/connect','Base','lib','setTimeout','updateCursorEvent','replace','objectType','_lockTransition','change$','disposeWithMe','FileId','BlockCipher','requestParams','updatePermissionObjEvent','_transformRemoteChangesetByIMECache','_minBufferSize','_transformService','loadSheet','_getAnchorBounding','_stopTelemetryCollaborationNewChangeset','_initUnitPermissionChange','Pkcs7','action','getUnitOnRev','prototype','[PendingState]:\x20received\x20rejection.','entries','_renderManagerService','findNodePositionByCharIndex','fill','Utf8','_color','visibilityState','displayName','OffLineSingle','_listenToOnlineEvent','show','collaboration-session-retry','has','_onRemoteRejected','_hideTimer','_urlService','_unitID','_getScale','repeat','assign','updateMember','syncEditingCollabCursor','LOCAL_CACHE_INTERVAL','_permissionService','uploadFileServerUrl','restore','isArray','UPDATE_PERMISSION_OBJ','trim','slice','getParam','CHANGESET_REJ','default','telemetry\x20info\x20is\x20not\x20initialized','APPLY_NON_SEQUENTIAL_REVISION','_colorAssignService','AWAITING','updatePermissionPoint','1442310gEQoZz','_ws','resend','enc','getFocusedUnit','unitID','_collabCursorState$','onTransformChange$','clearInterval','_onConnectionFailed','startsWith','UNIVER_SLIDE','_clearHeartbeatTimer','_id','_eventUnsubscribe','_drawRectRange','_transformUndoredo','jsxs','_sheetTransformSelectionsService','_instanceService','WordArray','mutations','ciphertext','_localeService','getUndoRedoMutationParamsCache','_roomMembers','COMPLETION_FINISHED','blockSize','_append','setCurrentUser','CHANGESET_SHOULD_RETRY','_textBubble','_change$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_scheduleClearOtherTimer','image/bmp','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_shouldReportTelemetry','mixIn','attrs','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','activeSheet$','getImageSourceCache','UnitSnapshot','from','target','black'];_0x5e1d=function(){return _0x43b7b6;};return _0x5e1d();}var Yi={'exports':{}};(function(_0x2dc504,_0x51547e){(function(_0x4856eb,_0x449adc){const _0x1a9d09=_0x3fdc;_0x2dc504[_0x1a9d09(0x4e5)]=_0x449adc(ue());}(Z,function(_0x4844e2){const _0x33e107=_0x3fdc;return(function(){const _0x2781b7=_0x3fdc;if(typeof ArrayBuffer=='function'){var _0x277a4c=_0x4844e2,_0x45f0ee=_0x277a4c[_0x2781b7(0x381)],_0x368ce3=_0x45f0ee[_0x2781b7(0x3d3)],_0x68d12=_0x368ce3['init'],_0x28d19a=_0x368ce3[_0x2781b7(0x47e)]=function(_0x3879cd){const _0x103526=_0x2781b7;if(_0x3879cd instanceof ArrayBuffer&&(_0x3879cd=new Uint8Array(_0x3879cd)),(_0x3879cd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3879cd instanceof Uint8ClampedArray||_0x3879cd instanceof Int16Array||_0x3879cd instanceof Uint16Array||_0x3879cd instanceof Int32Array||_0x3879cd instanceof Uint32Array||_0x3879cd instanceof Float32Array||_0x3879cd instanceof Float64Array)&&(_0x3879cd=new Uint8Array(_0x3879cd[_0x103526(0x52c)],_0x3879cd[_0x103526(0x21e)],_0x3879cd[_0x103526(0x40a)])),_0x3879cd instanceof Uint8Array){for(var _0x39f68b=_0x3879cd[_0x103526(0x40a)],_0x40b87c=[],_0x4bcff6=0x0;_0x4bcff6<_0x39f68b;_0x4bcff6++)_0x40b87c[_0x4bcff6>>>0x2]|=_0x3879cd[_0x4bcff6]<<0x18-_0x4bcff6%0x4*0x8;_0x68d12[_0x103526(0x2bb)](this,_0x40b87c,_0x39f68b);}else _0x68d12[_0x103526(0x1da)](this,arguments);};_0x28d19a[_0x2781b7(0x397)]=_0x368ce3;}}()),_0x4844e2[_0x33e107(0x381)][_0x33e107(0x3d3)];}));}(Yi));var Ja=Yi[_0x18be96(0x4e5)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x313ade,_0x380b71){(function(_0x485a35,_0x4265b4,_0x1923b9){const _0x39e644=_0x3fdc;_0x313ade[_0x39e644(0x4e5)]=_0x4265b4(ue(),Vi());}(Z,function(_0x507113){const _0x46dfc5=_0x3fdc;return _0x507113[_0x46dfc5(0x15a)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x507113[_0x46dfc5(0x15a)][_0x46dfc5(0x21b)];}));}(Ki));var Qa=Ki[_0x18be96(0x4e5)];const ec=at(Qa);function tc(_0x27e5c4,_0x256e9d){const _0x189cbf=_0x18be96,_0x510dd5=_0x256e9d-_0x27e5c4['length']%_0x256e9d,_0x4b0247=String[_0x189cbf(0x2aa)](_0x510dd5)[_0x189cbf(0x3ab)](_0x510dd5);return _0x27e5c4+_0x4b0247;}function sc(_0xde576f,_0x117b56){const _0x12768f=_0x18be96,_0x6a516f=Za[_0x12768f(0x15c)](0x10),_0x1aa251=tc(_0xde576f,0x10),_0x363b98=Ka[_0x12768f(0x4a8)](Xa['parse'](_0x1aa251),ii['parse'](_0x117b56),{'iv':_0x6a516f,'padding':ec});return _0x6a516f[_0x12768f(0x50b)](_0x363b98['ciphertext'])[_0x12768f(0x4dc)](ii);}function ic(){const _0x4dd168=_0x18be96,_0x1f4c79=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x4dd168(0x2ca)];if(_0x1f4c79){const _0x236a15={'time':Math[_0x4dd168(0x219)](Date['now']()/0x3e8),'domain':location[_0x4dd168(0x3f7)]};return sc(JSON[_0x4dd168(0x2e7)](_0x236a15),_0x1f4c79);}}var nc=Object[_0x18be96(0x2b6)],rc=Object[_0x18be96(0x48e)],oc=(_0x1e2b0b,_0xebde95,_0x63552c,_0x535123)=>{const _0x3761b4=_0x18be96;for(var _0x164cc2=_0x535123>0x1?void 0x0:_0x535123?rc(_0xebde95,_0x63552c):_0xebde95,_0x18b506=_0x1e2b0b[_0x3761b4(0x3fe)]-0x1,_0xce29ff;_0x18b506>=0x0;_0x18b506--)(_0xce29ff=_0x1e2b0b[_0x18b506])&&(_0x164cc2=(_0x535123?_0xce29ff(_0xebde95,_0x63552c,_0x164cc2):_0xce29ff(_0x164cc2))||_0x164cc2);return _0x535123&&_0x164cc2&&nc(_0xebde95,_0x63552c,_0x164cc2),_0x164cc2;},ac=(_0x15cc93,_0x1a0ffb)=>(_0x101f19,_0xa7282d)=>_0x1a0ffb(_0x101f19,_0xa7282d,_0x15cc93);let bt=class{constructor(_0x3c3747){const _0x4d0c36=_0x18be96;this[_0x4d0c36(0x43a)]=_0x3c3747,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x102592=_0x18be96;this[_0x102592(0x43a)][_0x102592(0x259)]({'interceptor':(_0x1a211f,_0x18e4f4)=>{const _0x5f060e=_0x102592,_0x5b5bfb=_0x1a211f[_0x5f060e(0x491)],_0x16d85e=ic();return _0x16d85e&&_0x5b5bfb[_0x5f060e(0x29c)](_0x5f060e(0x3ee),_0x16d85e),_0x18e4f4(_0x1a211f);}});}};bt=oc([ac(0x0,_0x5a6d6a(_0x2de674))],bt);var cc=Object[_0x18be96(0x2b6)],hc=Object[_0x18be96(0x48e)],lc=(_0x3906c1,_0x478197,_0x5b91b4,_0x32f57c)=>{const _0x555488=_0x18be96;for(var _0x27a8d4=_0x32f57c>0x1?void 0x0:_0x32f57c?hc(_0x478197,_0x5b91b4):_0x478197,_0x2173bc=_0x3906c1[_0x555488(0x3fe)]-0x1,_0x443a50;_0x2173bc>=0x0;_0x2173bc--)(_0x443a50=_0x3906c1[_0x2173bc])&&(_0x27a8d4=(_0x32f57c?_0x443a50(_0x478197,_0x5b91b4,_0x27a8d4):_0x443a50(_0x27a8d4))||_0x27a8d4);return _0x32f57c&&_0x27a8d4&&cc(_0x478197,_0x5b91b4,_0x27a8d4),_0x27a8d4;},Xt=(_0x5748fe,_0xfca67a)=>(_0x20984f,_0xa3849b)=>_0xfca67a(_0x20984f,_0xa3849b,_0x5748fe);const _c=[_0x18be96(0x4c7),_0x18be96(0x4ae),'image/jpg','image/gif',_0x18be96(0x3e2)],uc=0x5*0x400*0x400,dc=_0x18be96(0x4c8),fc='/universer-api/stream/file/upload',vc=_0x18be96(0x211),mc=_0x18be96(0x311);let hs=class{constructor(_0x5534a1,_0x35f3cf,_0x13bbca){const _0x1b88dc=_0x18be96;g(this,_0x1b88dc(0x22b),0x0),g(this,_0x1b88dc(0x3df),new _0x3c35ab()),g(this,_0x1b88dc(0x387),this['_change$']),g(this,_0x1b88dc(0x148),new Map()),(this[_0x1b88dc(0x43a)]=_0x5534a1,this['_configService']=_0x35f3cf,this[_0x1b88dc(0x1bb)]=_0x13bbca);}[_0x18be96(0x32c)](_0x32cb0e){const _0x22d60d=_0x18be96;this[_0x22d60d(0x22b)]=_0x32cb0e,this[_0x22d60d(0x3df)][_0x22d60d(0x319)](_0x32cb0e);}[_0x18be96(0x3e9)](_0x29aa70,_0xff3077){const _0x21cd86=_0x18be96;if(_0xff3077===_0x35ab90[_0x21cd86(0x322)]){const _0x34c24e=new Image();return _0x34c24e[_0x21cd86(0x52b)]=_0x29aa70,_0x34c24e;}return this[_0x21cd86(0x148)]['get'](_0x29aa70);}[_0x18be96(0x471)](_0x54e345,_0x2b13c2,_0x4daf95){const _0x91fe35=_0x18be96;_0x2b13c2===_0x35ab90[_0x91fe35(0x322)]||_0x4daf95==null||this[_0x91fe35(0x148)][_0x91fe35(0x29c)](_0x54e345,_0x4daf95);}async['getImage'](_0x3f7a86){const _0x5fe89c=_0x18be96;try{const _0x4b168f=this[_0x5fe89c(0x2df)](this[_0x5fe89c(0x269)](),''+_0x3f7a86),_0x20f854=(await this[_0x5fe89c(0x43a)][_0x5fe89c(0x281)](_0x4b168f))['body'];if(_0x20f854[_0x5fe89c(0x494)]&&_0x20f854[_0x5fe89c(0x494)]['code']===Ri['OK']){const _0x2ebc81=new URL(_0x20f854['url'],this[_0x5fe89c(0x35a)]())['toString']();return Promise['resolve'](_0x2ebc81);}return Promise['reject'](_0x20f854[_0x5fe89c(0x494)]);}catch(_0x497df5){return Promise[_0x5fe89c(0x4a2)](_0x497df5);}}async[_0x18be96(0x230)](_0xf76447){const _0x2db8f4=_0x18be96;let _0x3335b6='';if(!_c[_0x2db8f4(0x373)](_0xf76447[_0x2db8f4(0x307)]))return this['_decreaseWaiting'](),Promise[_0x2db8f4(0x4a2)](new Error(_0xd2c84e['ERROR_IMAGE_TYPE']));if(_0xf76447['size']>uc)return this[_0x2db8f4(0x465)](),Promise[_0x2db8f4(0x4a2)](new Error(_0xd2c84e[_0x2db8f4(0x1ac)]));try{const _0x1204ad=new FormData();_0x1204ad['append'](_0x2db8f4(0x283),_0xf76447);const _0x129f7d=this['_univerInstanceService'][_0x2db8f4(0x3c3)](),_0x5daf04=_0x129f7d==null?void 0x0:_0x129f7d[_0x2db8f4(0x15f)]();if(!_0x5daf04)throw new Error(_0x2db8f4(0x264));const _0xadba4e=this[_0x2db8f4(0x27e)]()+'?size='+_0xf76447['size'][_0x2db8f4(0x4dc)]()+'&source='+yi[_0x2db8f4(0x303)]+'&assign='+encodeURIComponent(_0x5daf04),_0x2169f4=await(await fetch(_0xadba4e,{'method':_0x2db8f4(0x130),'body':_0x1204ad}))[_0x2db8f4(0x378)]();if(typeof _0x2169f4[_0x2db8f4(0x389)]!='string')return this[_0x2db8f4(0x465)](),Promise['reject'](new Error(_0xd2c84e[_0x2db8f4(0x14e)]));_0x3335b6=_0x2169f4[_0x2db8f4(0x389)];}catch{return this[_0x2db8f4(0x465)](),Promise[_0x2db8f4(0x4a2)](new Error(_0xd2c84e[_0x2db8f4(0x14e)]));}return new Promise((_0x58b0df,_0x4a41b7)=>{const _0x563e42=_0x2db8f4,_0x42d91d=new FileReader();_0x42d91d['readAsDataURL'](_0xf76447),_0x42d91d[_0x563e42(0x357)]=_0x4f7496=>{const _0xce2181=_0x563e42;var _0x70906a;const _0x7dac59=(_0x70906a=_0x4f7496[_0xce2181(0x3ec)])==null?void 0x0:_0x70906a[_0xce2181(0x1fb)];if(_0x7dac59==null){this[_0xce2181(0x465)](),_0x4a41b7(new Error(_0xd2c84e[_0xce2181(0x14e)]));return;}const _0x3fbf5d=_0x3c4730[_0xce2181(0x531)](0x6);_0x58b0df({'imageId':_0x3fbf5d,'imageSourceType':_0x35ab90['UUID'],'source':_0x3335b6,'base64Cache':_0x7dac59,'status':_0xd2c84e[_0xce2181(0x4ee)]}),this['_decreaseWaiting']();};});}[_0x18be96(0x27e)](){const _0x1a6850=_0x18be96;var _0x585b82,_0x44c8b6;const _0xc4576e=this[_0x1a6850(0x36d)][_0x1a6850(0x26f)](dc),_0x338068=this[_0x1a6850(0x36d)][_0x1a6850(0x26f)](ie);return(_0x44c8b6=(_0x585b82=_0x338068==null?void 0x0:_0x338068[_0x1a6850(0x3b1)])!=null?_0x585b82:_0xc4576e)!=null?_0x44c8b6:fc;}[_0x18be96(0x269)](){const _0x1f88b9=_0x18be96;var _0x3b89b7,_0xcfd857;const _0x3a65c1=this['_configService'][_0x1f88b9(0x26f)](vc),_0x19c5e3=this[_0x1f88b9(0x36d)][_0x1f88b9(0x26f)](ie);return(_0xcfd857=(_0x3b89b7=_0x19c5e3==null?void 0x0:_0x19c5e3[_0x1f88b9(0x408)])!=null?_0x3b89b7:_0x3a65c1)!=null?_0xcfd857:mc;}[_0x18be96(0x35a)](){const _0x3db056=_0x18be96;var _0x24b6a6;const _0xa66211=this['_configService'][_0x3db056(0x26f)](ie);return(_0x24b6a6=_0xa66211==null?void 0x0:_0xa66211[_0x3db056(0x379)])!=null?_0x24b6a6:location[_0x3db056(0x294)];}['_replaceFileID'](_0x16d879,_0x2f0cc3){const _0x162143=_0x18be96;return _0x16d879['replace'](_0x162143(0x541),_0x2f0cc3);}[_0x18be96(0x465)](){const _0x1a346c=_0x18be96;this['_waitCount']-=0x1,this[_0x1a346c(0x3df)][_0x1a346c(0x319)](this[_0x1a346c(0x22b)]);}};hs=lc([Xt(0x0,_0x5a6d6a(_0x2de674)),Xt(0x1,_0x38b553),Xt(0x2,_0x5a6d6a(_0x1f1cc4))],hs);var pc=Object[_0x18be96(0x2b6)],gc=Object[_0x18be96(0x48e)],Sc=(_0xa58a61,_0xd92c52,_0x466c91,_0x547246)=>{const _0x4f7f4a=_0x18be96;for(var _0x1a2d7c=_0x547246>0x1?void 0x0:_0x547246?gc(_0xd92c52,_0x466c91):_0xd92c52,_0x2eab32=_0xa58a61[_0x4f7f4a(0x3fe)]-0x1,_0x3c8408;_0x2eab32>=0x0;_0x2eab32--)(_0x3c8408=_0xa58a61[_0x2eab32])&&(_0x1a2d7c=(_0x547246?_0x3c8408(_0xd92c52,_0x466c91,_0x1a2d7c):_0x3c8408(_0x1a2d7c))||_0x1a2d7c);return _0x547246&&_0x1a2d7c&&pc(_0xd92c52,_0x466c91,_0x1a2d7c),_0x1a2d7c;},Qe=(_0x3b4392,_0x56445f)=>(_0x2e3d26,_0x49f575)=>_0x56445f(_0x2e3d26,_0x49f575,_0x3b4392);let Tt=class extends _0x2a7a1c{constructor(_0x5958c1,_0x73521a,_0xd5dd62,_0x1462b3,_0x2d051f){const _0x4b1cf7=_0x18be96;super(),this[_0x4b1cf7(0x273)]=_0x5958c1,this['_univerInstanceService']=_0x73521a,this[_0x4b1cf7(0x3b0)]=_0xd5dd62,this[_0x4b1cf7(0x50c)]=_0x1462b3,this[_0x4b1cf7(0x3d6)]=_0x2d051f,this[_0x4b1cf7(0x393)](),this[_0x4b1cf7(0x266)]();}['_initCloseConn'](){const _0x20eac7=_0x18be96,_0x13da5a=async _0x28357e=>{const _0x3052b1=_0x3fdc;(await this[_0x3052b1(0x50c)]['requireSession'](_0x28357e))[_0x3052b1(0x435)][_0x3052b1(0x1e7)](_0x25082a(_0x1d49b3=>_0x1d49b3['eventID']===_0x4757a2[_0x3052b1(0x492)]),_0x2dcb0f(this[_0x3052b1(0x3f4)]))[_0x3052b1(0x450)](_0x92b136=>{const _0x204e88=_0x3052b1,_0x4c0148=_0x92b136,{reason:_0x55a4bc}=_0x4c0148['data'];this[_0x204e88(0x273)]['get'](_0x1f110a)[_0x204e88(0x3a3)]({'type':_0x370e57['Error'],'content':this[_0x204e88(0x3d6)]['t'](_0x204e88(0x41e))+'('+_0x55a4bc+')'}),this['_permissionService'][_0x204e88(0x3be)](new _0x146322(_0x28357e)['id'],!0x1),this[_0x204e88(0x50c)][_0x204e88(0x424)](_0x28357e);});};_0xb29ff3(this[_0x20eac7(0x1bb)][_0x20eac7(0x312)](_0xaaf3fc[_0x20eac7(0x1cd)]),this[_0x20eac7(0x1bb)][_0x20eac7(0x312)](_0xaaf3fc['UNIVER_DOC']))[_0x20eac7(0x1e7)](_0x4c2e7e(_0x491a43=>_0x491a43[_0x20eac7(0x15f)]()),_0x25082a(_0x40593b=>!_0x3db32f(_0x40593b)),_0x2dcb0f(this[_0x20eac7(0x3f4)]))[_0x20eac7(0x450)](_0x2a403c=>{_0x13da5a(_0x2a403c);});}[_0x18be96(0x393)](){const _0x12891b=_0x18be96,_0x58f173=async _0x1e88c1=>{const _0x4afa01=_0x3fdc;(await this[_0x4afa01(0x50c)][_0x4afa01(0x33f)](_0x1e88c1))[_0x4afa01(0x435)][_0x4afa01(0x1e7)](_0x25082a(_0x268ced=>_0x268ced[_0x4afa01(0x418)]===_0x4757a2['UPDATE_PERMISSION_OBJ']),_0x2dcb0f(this[_0x4afa01(0x3f4)]))[_0x4afa01(0x450)](_0x27a655=>{const _0x427472=_0x4afa01,_0x4cf143=_0x27a655,{objectId:_0x13fc05}=_0x4cf143[_0x427472(0x292)],_0x2e06d3=this[_0x427472(0x273)][_0x427472(0x281)](_0x11df93);_0x13fc05===_0x1e88c1?_0x2e06d3['initWorkbookPermissionChange'](_0x1e88c1):_0x2e06d3['refreshPermission'](_0x1e88c1,_0x13fc05);});};_0xb29ff3(this[_0x12891b(0x1bb)][_0x12891b(0x312)](_0xaaf3fc[_0x12891b(0x1cd)]),this['_univerInstanceService'][_0x12891b(0x312)](_0xaaf3fc[_0x12891b(0x24b)]))[_0x12891b(0x1e7)](_0x4c2e7e(_0x377971=>_0x377971[_0x12891b(0x15f)]()),_0x25082a(_0x23ea89=>!_0x3db32f(_0x23ea89)),_0x2dcb0f(this[_0x12891b(0x3f4)]))[_0x12891b(0x450)](_0x4d09b1=>{_0x58f173(_0x4d09b1);});}};function _0x3fdc(_0x139d0a,_0x3d9906){const _0x5e1d2d=_0x5e1d();return _0x3fdc=function(_0x3fdcae,_0x446b10){_0x3fdcae=_0x3fdcae-0x12d;let _0x46bd94=_0x5e1d2d[_0x3fdcae];return _0x46bd94;},_0x3fdc(_0x139d0a,_0x3d9906);}Tt=Sc([Qe(0x0,_0x5a6d6a(_0x5081af)),Qe(0x1,_0x1f1cc4),Qe(0x2,_0x2d238b),Qe(0x3,_0x5a6d6a(Ae)),Qe(0x4,_0x5a6d6a(_0x14cd71))],Tt);var Ic=Object[_0x18be96(0x2b6)],Cc=Object[_0x18be96(0x48e)],Ec=(_0x4d9d5d,_0x539eb7,_0x2e594a,_0x72c6a8)=>{for(var _0x3f7940=_0x72c6a8>0x1?void 0x0:_0x72c6a8?Cc(_0x539eb7,_0x2e594a):_0x539eb7,_0x28add5=_0x4d9d5d['length']-0x1,_0x28485c;_0x28add5>=0x0;_0x28add5--)(_0x28485c=_0x4d9d5d[_0x28add5])&&(_0x3f7940=(_0x72c6a8?_0x28485c(_0x539eb7,_0x2e594a,_0x3f7940):_0x28485c(_0x3f7940))||_0x3f7940);return _0x72c6a8&&_0x3f7940&&Ic(_0x539eb7,_0x2e594a,_0x3f7940),_0x3f7940;},ni=(_0x3a3c50,_0x4101e7)=>(_0x429ea7,_0x4a6038)=>_0x4101e7(_0x429ea7,_0x4a6038,_0x3a3c50);let ls=class{constructor(_0xbdbd2,_0x2a2bf3){const _0x2f92ef=_0x18be96;this[_0x2f92ef(0x36d)]=_0xbdbd2,this[_0x2f92ef(0x43a)]=_0x2a2bf3;}async[_0x18be96(0x396)](_0x44dc80,_0x400e77){const _0x33e88c=_0x18be96;var _0xe07116;const {unitID:_0x45fcfa,type:_0x12443d,revision:_0x4e32ef=0x0}=_0x400e77,_0xe8c2d=this[_0x33e88c(0x4eb)]()+'/'+_0x12443d+_0x33e88c(0x53a)+_0x45fcfa+_0x33e88c(0x342)+_0x4e32ef,_0x107cca=(await this[_0x33e88c(0x43a)]['get'](_0xe8c2d))[_0x33e88c(0x18d)],_0x16df70=(_0xe07116=_0x107cca['snapshot'])==null?void 0x0:_0xe07116[_0x33e88c(0x1de)];if(_0x16df70){const _0x4adb25=_0x16df70==null?void 0x0:_0x16df70[_0x33e88c(0x207)],_0x5ba2df=_0x3212eb[_0x33e88c(0x401)](_0x1d0aa5(_0x4adb25));_0x16df70[_0x33e88c(0x207)]=_0x5ba2df,Object['entries'](_0x16df70[_0x33e88c(0x1f1)])['forEach'](([,_0x595d2d])=>{const _0x104c7d=_0x33e88c,_0xc10428=_0x595d2d[_0x104c7d(0x207)],_0x19ca03=_0x3212eb[_0x104c7d(0x401)](_0x1d0aa5(_0xc10428));_0x595d2d['originalMeta']=_0x19ca03;});}return _0x107cca;}async[_0x18be96(0x463)](_0x4d6edc,_0x7e7947){const _0x2d45c2=_0x18be96,{unitID:_0x4de856,type:_0x496ecd,blockID:_0x4499ce}=_0x7e7947,_0x44b53a=this[_0x2d45c2(0x15d)]()+'/'+_0x496ecd+_0x2d45c2(0x53a)+_0x4de856+_0x2d45c2(0x498)+_0x4499ce;return(await this[_0x2d45c2(0x43a)][_0x2d45c2(0x281)](_0x44b53a))[_0x2d45c2(0x18d)];}async[_0x18be96(0x2a4)](_0x1f8083,_0x15ce5a){const _0x263f6a=_0x18be96,{unitID:_0x40856b,type:_0x2e6fe0,blockID:_0x889252}=_0x15ce5a,_0x35742f=this['_getAPIPrefix']()+_0x263f6a(0x498)+_0x2e6fe0+_0x263f6a(0x53a)+_0x40856b+_0x263f6a(0x498)+_0x889252;return(await this[_0x263f6a(0x43a)]['get'](_0x35742f))['body'];}async['fetchMissingChangesets'](_0x554b82,_0x240286){const _0x4ce1ec=_0x18be96,{unitID:_0x3277dc,type:_0xfc7368,from:_0x35a8db,to:_0x4c8dee}=_0x240286,_0x55276f=this['_getAPIPrefix']()+'/'+_0xfc7368+_0x4ce1ec(0x53a)+_0x3277dc+_0x4ce1ec(0x144)+_0x35a8db+_0x4ce1ec(0x43c)+_0x4c8dee;return(await this[_0x4ce1ec(0x43a)][_0x4ce1ec(0x281)](_0x55276f))[_0x4ce1ec(0x18d)];}[_0x18be96(0x4eb)](){const _0x4ca5ae=_0x18be96;var _0x3bc01a;return(_0x3bc01a=this[_0x4ca5ae(0x36d)][_0x4ca5ae(0x26f)](lr))!=null?_0x3bc01a:this['_getAPIPrefix']();}[_0x18be96(0x15d)](){const _0x3487f7=_0x18be96;var _0x19f06d,_0x3c80c1;const _0xed27ba=this[_0x3487f7(0x36d)][_0x3487f7(0x26f)](cr),_0x5c0dc3=this[_0x3487f7(0x36d)][_0x3487f7(0x26f)](ie);return(_0x3c80c1=(_0x19f06d=_0x5c0dc3==null?void 0x0:_0x5c0dc3[_0x3487f7(0x48c)])!=null?_0x19f06d:_0xed27ba)!=null?_0x3c80c1:hr;}async['getResourcesRequest'](_0x555cf9,_0x7eb092){const _0x537a45=_0x18be96,_0x5d919a='/universer-api/snapshot/'+_0x7eb092[_0x537a45(0x307)]+_0x537a45(0x53a)+_0x7eb092[_0x537a45(0x3c4)]+_0x537a45(0x25b);return(await this['_httpService'][_0x537a45(0x281)](_0x5d919a,{'params':{'resourceId':JSON[_0x537a45(0x2e7)](_0x7eb092[_0x537a45(0x40b)])}}))[_0x537a45(0x18d)];}['saveSnapshot'](){const _0x4cc849=_0x18be96;throw new Error(_0x4cc849(0x506));}['saveSheetBlock'](){const _0x39ef2d=_0x18be96;throw new Error(_0x39ef2d(0x506));}[_0x18be96(0x161)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x18be96(0x24c)](){const _0x38b085=_0x18be96;throw new Error(_0x38b085(0x506));}[_0x18be96(0x4fc)](){const _0x4449cd=_0x18be96;throw new Error(_0x4449cd(0x506));}};ls=Ec([ni(0x0,_0x38b553),ni(0x1,_0x5a6d6a(_0x2de674))],ls);var bc=Object[_0x18be96(0x2b6)],Tc=Object[_0x18be96(0x48e)],Rc=(_0x29c0e4,_0x28e81e,_0x434b2f,_0x3e3c3b)=>{const _0x5bc988=_0x18be96;for(var _0x380e54=_0x3e3c3b>0x1?void 0x0:_0x3e3c3b?Tc(_0x28e81e,_0x434b2f):_0x28e81e,_0x423551=_0x29c0e4[_0x5bc988(0x3fe)]-0x1,_0x4449dc;_0x423551>=0x0;_0x423551--)(_0x4449dc=_0x29c0e4[_0x423551])&&(_0x380e54=(_0x3e3c3b?_0x4449dc(_0x28e81e,_0x434b2f,_0x380e54):_0x4449dc(_0x380e54))||_0x380e54);return _0x3e3c3b&&_0x380e54&&bc(_0x28e81e,_0x434b2f,_0x380e54),_0x380e54;},et=(_0x31b22b,_0x56f698)=>(_0x2890a8,_0x114480)=>_0x56f698(_0x2890a8,_0x114480,_0x31b22b);let _s=class extends _0x287ad6{constructor(_0x2af4ec,_0xfb0d4a,_0x18a365,_0x4a498f,_0x1374c0){const _0xcaa2fe=_0x18be96;super(_0x2af4ec,_0xfb0d4a,_0x18a365),this['_transformService']=_0x4a498f,this[_0xcaa2fe(0x47f)]=_0x1374c0;}['transformUndoRedo'](_0x326027,_0x490a3b){const _0x23a6f0=_0x18be96,_0x330fc2=this[_0x23a6f0(0x2ef)](_0x326027);if(_0x330fc2)try{const _0x3ec797=this[_0x23a6f0(0x2d8)](_0x330fc2,_0x490a3b);this[_0x23a6f0(0x4b0)](_0x326027,_0x3ec797);}catch(_0x4e92b2){this[_0x23a6f0(0x47f)][_0x23a6f0(0x494)](_0x23a6f0(0x44d),_0x4e92b2),this[_0x23a6f0(0x20a)](_0x326027);}const _0x5ba8b3=this['_getRedoStack'](_0x326027);if(_0x5ba8b3)try{const _0x4613b2=this['_transformStack'](_0x5ba8b3,_0x490a3b);this[_0x23a6f0(0x173)](_0x326027,_0x4613b2);}catch(_0x7e5bc2){this[_0x23a6f0(0x47f)][_0x23a6f0(0x494)](_0x7e5bc2),this[_0x23a6f0(0x315)](_0x326027);}}[_0x18be96(0x20a)](_0x370dd4){const _0x5d265b=_0x18be96,_0x343ba9=this[_0x5d265b(0x2ef)](_0x370dd4);_0x343ba9&&(_0x343ba9['length']=0x0,this['_updateStatus']());}[_0x18be96(0x315)](_0x5841de){const _0x463070=_0x18be96,_0x5367e9=this['_getRedoStack'](_0x5841de);_0x5367e9&&(_0x5367e9[_0x463070(0x3fe)]=0x0,this[_0x463070(0x209)]());}[_0x18be96(0x4b0)](_0x58d782,_0x4fa6dc){const _0x5aa7ea=_0x18be96;this[_0x5aa7ea(0x333)][_0x5aa7ea(0x29c)](_0x58d782,_0x4fa6dc),this[_0x5aa7ea(0x209)]();}[_0x18be96(0x173)](_0x952096,_0x5d23ed){const _0x5547e0=_0x18be96;this[_0x5547e0(0x170)][_0x5547e0(0x29c)](_0x952096,_0x5d23ed),this[_0x5547e0(0x209)]();}[_0x18be96(0x2d8)](_0x24e356,_0x2944e4){const _0x2717aa=_0x18be96,_0x30cf3e=[];let _0x243ffd=_0x2944e4,_0x4b0ecb=_0x2944e4;for(let _0x455b51=_0x24e356['length']-0x1;_0x455b51>=0x0;_0x455b51--){const {unitID:_0x145858,undoMutations:_0x4247f2,redoMutations:_0x217274}=_0x24e356[_0x455b51],_0x4563a2=this[_0x2717aa(0x38f)]['transformMutationsWithChangeset'](_0x243ffd,_0x4247f2),_0x3efe10=this[_0x2717aa(0x38f)][_0x2717aa(0x291)](_0x4b0ecb,_0x217274);if(_0x2c12e7(_0x4563a2)||_0x2c12e7(_0x3efe10)){this[_0x2717aa(0x47f)]['error']('[CollaborationUndoRedoService]',_0x2717aa(0x13a),_0x4563a2,_0x3efe10);break;}_0x243ffd=_0x4563a2['c1Prime'],_0x4b0ecb=_0x3efe10[_0x2717aa(0x2b3)],_0x30cf3e['push']({'unitID':_0x145858,'undoMutations':_0x4563a2[_0x2717aa(0x446)],'redoMutations':_0x3efe10['m2Prime']});}return _0x30cf3e['reverse']();}};_s=Rc([et(0x0,_0x1f1cc4),et(0x1,_0x1078f7),et(0x2,_0x57f922),et(0x3,_0x56124f),et(0x4,_0x18037c)],_s);class yc extends _0x2a7a1c{constructor(){const _0x3d330a=_0x18be96;super(),g(this,_0x3d330a(0x1c9)),this[_0x3d330a(0x1c9)]=_0x11a751(window,_0x3d330a(0x469))[_0x3d330a(0x1e7)](_0x224c08(this[_0x3d330a(0x3f4)]),_0x5d8c15(0x1),_0x1714ea(void 0x0));}['setParam'](_0x2387fe,_0x1ac826,_0x226e67=!0x1){const _0x28b9ff=_0x18be96,_0x31f20e=new URL(window['location'][_0x28b9ff(0x3f3)]);_0x31f20e['searchParams'][_0x28b9ff(0x29c)](_0x2387fe,_0x1ac826),_0x226e67?window['history'][_0x28b9ff(0x404)]('','',_0x31f20e[_0x28b9ff(0x4dc)]()):window[_0x28b9ff(0x299)]['pushState']('','',_0x31f20e[_0x28b9ff(0x4dc)]());}['removeParam'](_0x478c30,_0x4ddad7=!0x1){const _0x2ad20e=_0x18be96,_0x79807=new URL(window[_0x2ad20e(0x22c)][_0x2ad20e(0x3f3)]);_0x79807['searchParams'][_0x2ad20e(0x249)](_0x478c30),_0x4ddad7?window['history'][_0x2ad20e(0x404)]('','',_0x79807['toString']()):window[_0x2ad20e(0x299)]['pushState']('','',_0x79807['toString']());}[_0x18be96(0x3b7)](_0x367563){const _0x3f00d7=_0x18be96;var _0x141455;return(_0x141455=new URL(window[_0x3f00d7(0x22c)][_0x3f00d7(0x3f3)])[_0x3f00d7(0x53e)]['get'](_0x367563))!=null?_0x141455:void 0x0;}}var zi=Object[_0x18be96(0x2b6)],Oc=Object[_0x18be96(0x48e)],wc=(_0x2952c6,_0x1ae032,_0x54f7c3)=>_0x1ae032 in _0x2952c6?zi(_0x2952c6,_0x1ae032,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54f7c3}):_0x2952c6[_0x1ae032]=_0x54f7c3,Dc=(_0x6b58cb,_0x77e68e,_0x43881a,_0x3a4608)=>{const _0x5d2b3e=_0x18be96;for(var _0x179b05=_0x3a4608>0x1?void 0x0:_0x3a4608?Oc(_0x77e68e,_0x43881a):_0x77e68e,_0x2e813b=_0x6b58cb[_0x5d2b3e(0x3fe)]-0x1,_0x9e2dc6;_0x2e813b>=0x0;_0x2e813b--)(_0x9e2dc6=_0x6b58cb[_0x2e813b])&&(_0x179b05=(_0x3a4608?_0x9e2dc6(_0x77e68e,_0x43881a,_0x179b05):_0x9e2dc6(_0x179b05))||_0x179b05);return _0x3a4608&&_0x179b05&&zi(_0x77e68e,_0x43881a,_0x179b05),_0x179b05;},lt=(_0x3115eb,_0x48bc13)=>(_0x156a98,_0x1619c8)=>_0x48bc13(_0x156a98,_0x1619c8,_0x3115eb),Pc=(_0x50593c,_0x4d64fe,_0x12fcdc)=>wc(_0x50593c,_0x4d64fe+'',_0x12fcdc);const Uc=_0x18be96(0x414);let us=class extends _0x198763{constructor(_0x1ca3a9=Rr,_0x3de976,_0x528baa,_0xb51be0,_0x5d164a){const _0x197522=_0x18be96;super(),this[_0x197522(0x452)]=_0x1ca3a9,this[_0x197522(0x47f)]=_0x3de976,this[_0x197522(0x39a)]=_0x528baa,this[_0x197522(0x273)]=_0xb51be0,this[_0x197522(0x36d)]=_0x5d164a;const {..._0x14f19d}=this[_0x197522(0x452)];this[_0x197522(0x36d)][_0x197522(0x1b0)](ie,_0x14f19d);}[_0x18be96(0x275)](){const _0x28d716=_0x18be96;this[_0x28d716(0x1c3)](),this[_0x28d716(0x2b1)]();}[_0x18be96(0x34f)](){const _0x360a2d=_0x18be96;_0x207b00(this[_0x360a2d(0x273)],[[Ct]]);}['onRendered'](){const _0x2d242d=_0x18be96;this[_0x2d242d(0x4d7)]();}[_0x18be96(0x1c3)](){const _0x84bbf3=_0x18be96;var _0x16edb9,_0x16e7ed,_0x48b1ce,_0x1cf159;this['_injector'][_0x84bbf3(0x3a5)](_0x1cae06)&&this['_logService'][_0x84bbf3(0x494)]('[UniverCollaborationClientPlugin]',_0x84bbf3(0x3e0));const _0x4a0ddd=[[_0x1cae06,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x4faa1d],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x16e7ed=(_0x16edb9=this[_0x84bbf3(0x452)])==null?void 0x0:_0x16edb9[_0x84bbf3(0x1f6)])!=null?_0x16e7ed:es}],[_0x40dc08,{'useClass':ls}],[_0x278fc5,{'useClass':cs}],[_0x373eb2,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x48b1ce=this[_0x84bbf3(0x452)])!=null&&_0x48b1ce[_0x84bbf3(0x23c)]&&_0x4a0ddd[_0x84bbf3(0x263)]([Rt,{'useClass':ro}]),_0x4af9b2(this['_injector'],_0x2e0120(_0x4a0ddd,(_0x1cf159=this[_0x84bbf3(0x452)])==null?void 0x0:_0x1cf159[_0x84bbf3(0x480)]));}['_registerRenderDependencies'](){const _0x4a17d4=_0x18be96;this[_0x4a17d4(0x388)](this['_renderManagerService'][_0x4a17d4(0x4b9)](_0xaaf3fc[_0x4a17d4(0x24b)],[os])),this[_0x4a17d4(0x388)](this[_0x4a17d4(0x39a)][_0x4a17d4(0x4b9)](_0xaaf3fc['UNIVER_SHEET'],[as]));}[_0x18be96(0x2b1)](){const _0x543a6e=_0x18be96;var _0x3a7fd9,_0x2cbbfe;this[_0x543a6e(0x273)][_0x543a6e(0x281)](_0x2de674)[_0x543a6e(0x259)]({'priority':0x14,'interceptor':_0x3851be({'maxParallel':0x6})}),(_0x3a7fd9=this[_0x543a6e(0x452)])!=null&&_0x3a7fd9[_0x543a6e(0x234)]||this[_0x543a6e(0x273)]['get'](q)[_0x543a6e(0x30b)](),(_0x2cbbfe=this[_0x543a6e(0x452)])!=null&&_0x2cbbfe[_0x543a6e(0x2fa)]&&_0x207b00(this['_injector'],[[Et]]),_0x207b00(this[_0x543a6e(0x273)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,'pluginName',Uc),us=Dc([_0x2779b1(_0x597e73,_0x54765b),lt(0x1,_0x18037c),lt(0x2,_0x8e85eb),lt(0x3,_0x5a6d6a(_0x5081af)),lt(0x4,_0x38b553)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};
|
1
|
+
const _0x4e7919=_0x5ed9;(function(_0x10c871,_0x339caa){const _0xccc6c6=_0x5ed9,_0x2603b5=_0x10c871();while(!![]){try{const _0xd70969=parseInt(_0xccc6c6(0x7e))/0x1+parseInt(_0xccc6c6(0x488))/0x2+parseInt(_0xccc6c6(0xfe))/0x3*(parseInt(_0xccc6c6(0x191))/0x4)+-parseInt(_0xccc6c6(0x2e0))/0x5+-parseInt(_0xccc6c6(0x21c))/0x6*(parseInt(_0xccc6c6(0xcb))/0x7)+-parseInt(_0xccc6c6(0x42b))/0x8*(parseInt(_0xccc6c6(0x462))/0x9)+-parseInt(_0xccc6c6(0x2de))/0xa*(-parseInt(_0xccc6c6(0x476))/0xb);if(_0xd70969===_0x339caa)break;else _0x2603b5['push'](_0x2603b5['shift']());}catch(_0x4e51d2){_0x2603b5['push'](_0x2603b5['shift']());}}}(_0x3f1c,0x40157));var qi=Object[_0x4e7919(0x13e)],Xi=(_0x3bb28d,_0xe7c4ef,_0x17464f)=>_0xe7c4ef in _0x3bb28d?qi(_0x3bb28d,_0xe7c4ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17464f}):_0x3bb28d[_0xe7c4ef]=_0x17464f,g=(_0x298b68,_0x42767f,_0x4f734a)=>Xi(_0x298b68,typeof _0x42767f!=_0x4e7919(0xe9)?_0x42767f+'':_0x42767f,_0x4f734a);import{createIdentifier as _0x20f251,Inject as _0x557b7a,Disposable as _0x4b38ce,DisposableCollection as _0x1eefc9,toDisposable as _0x290028,IConfigService as _0x88f14,ILogService as _0x2f9740,UserManagerService as _0xc5ea1b,UniverInstanceType as _0x470972,IUniverInstanceService as _0x5e27bc,LocaleService as _0x5e134c,Optional as _0x263588,RxDisposable as _0x15900e,Injector as _0x5a5437,Tools as _0x162500,ILocalStorageService as _0x3f82b2,Rectangle as _0x1b7c4d,ICommandService as _0x37f6d3,DOC_RANGE_TYPE as _0x5c08e3,JSONX as _0xc3f172,CommandType as _0x2809bc,IPermissionService as _0x4f30d5,IUndoRedoService as _0x5aca87,sequenceExecute as _0x4c2f40,debounce as _0x28300d,COLORS as _0x32fcb3,ColorKit as _0xdc4b2c,ThemeService as _0x15da4e,fromEventSubject as _0x4666d7,useDependency as _0x46f302,connectInjector as _0x2a6bad,Workbook as _0x3c605a,isInternalEditorID as _0x55b28a,LocalUndoRedoService as _0x19c15f,IContextService as _0xa5a717,DependentOn as _0x596afe,Plugin as _0x405522,touchDependencies as _0x5a6de0,IAuthzIoService as _0xe9480b,registerDependencies as _0x12b218,mergeOverrideWithDependencies as _0xf3c8ba}from'@univerjs/core';import{Subject as _0x7a1bd7,merge as _0x365701,takeUntil as _0x234986,BehaviorSubject as _0x524b68,distinctUntilChanged as _0x3783a1,fromEvent as _0xf4893f,ReplaySubject as _0x24a41e,take as _0xb3cf89,map as _0x50280c,shareReplay as _0x42be71,of as _0x2a024c,debounceTime as _0x4f25a9,filter as _0x238f7b,switchMap as _0x6ad44a,combineLatest as _0x36dc82,concatMap as _0x245147,mapTo as _0x2d24bf}from'rxjs';import{map as _0x1a1a5b,take as _0x33eb95,filter as _0x27f80a,delay as _0x2b0474,throttleTime as _0x48050a,takeUntil as _0xcb8c8d,switchMap as _0x2e98c4}from'rxjs/operators';import{MessageType as _0x302b10,Tooltip as _0x2f2e68}from'@univerjs/design';import{IBeforeCloseService as _0x507e18,IMessageService as _0x4e3214,INotificationService as _0x700f62,useObservable as _0x530867,BuiltInUIPart as _0x37e12e,IUIPartsService as _0x358cc7}from'@univerjs/ui';import{HTTPService as _0x55adc1,WebSocketService as _0x352ba8,MergeInterceptorFactory as _0x309f2d,HTTPRequest as _0x223f2c,UniverNetworkPlugin as _0xac975f,ThresholdInterceptorFactory as _0x20684f}from'@univerjs/network';import{CollaborationEvent as _0xb7e982,parseChangesetToProtocol as _0x3ab3da,ISnapshotServerService as _0x18fdab,isTransformMutationFailure as _0x5bbb53,isTransformMutationsWithChangesetSuccess as _0x26df4b,ITransformService as _0xd1dd82,RevisionService as _0x39bde1,mapDocumentTypeToUniverType as _0x556ed2,isTransformChangesetsSuccess as _0x3775ff,CompressMutationService as _0x2145c9,parseProtocolChangeset as _0x2034a6,SnapshotService as _0x399fd9,textEncoder as _0x2f80e5,b64DecodeUnicode as _0x51acde,isTransformMutationsWithChangesetFailure as _0x15ad50,UniverCollaborationPlugin as _0xa4a5c8}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x56469e}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1e7a00,DocStateChangeManagerService as _0x39f3d6,NodePositionConvertToCursor as _0x26a44f,NodePositionConvertToRectRange as _0x280a98,TEXT_RANGE_LAYER_INDEX as _0x4c8fab,SetDocZoomRatioOperation as _0x1b3e7b}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x36bb55,SetSelectionsOperation as _0x3d4acc,InsertSheetMutation as _0x5f5608,EmptyMutation as _0x67b7f2,WorkbookEditablePermission as _0x32a62a,RefRangeService as _0x23b4a0,EffectRefRangId as _0x270c40,handleIRemoveRow as _0x3820ed,handleIRemoveCol as _0x33fa28,handleMoveRange as _0x1ff957,handleInsertRow as _0x5c2462,handleInsertRangeMoveRight as _0x6e61e4,handleInsertRangeMoveDown as _0x1dc6d5,handleInsertCol as _0x40fdf9,handleDeleteRangeMoveUp as _0x471763,handleDeleteRangeMoveLeft as _0xebe455,runRefRangeMutations as _0x3d211e,SetWorksheetActivateCommand as _0x50f4a2}from'@univerjs/sheets';import{IRenderManagerService as _0x9b882e,Shape as _0x41c73d,Rect as _0x1b9705,getColor as _0x12aeda,RegularPolygon as _0x17397d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x38fd6d,Vector2 as _0x219fb7}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5c70ee,RichTextEditingMutation as _0x36d845,SetTextSelectionsOperation as _0x3a05c0,DocSkeletonManagerService as _0x35f028}from'@univerjs/docs';import{ImageSourceType as _0x16cd67,ImageUploadStatusType as _0x890ba8,IImageIoService as _0x4a4912}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x5bdf02,serializeRangeWithSheet as _0x3e9623}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4500ad,VIEWPORT_KEY as _0x20a435,getCoordByCell as _0x1e2de7,getSheetObject as _0xa694a6,SheetPermissionInitController as _0x10dd90}from'@univerjs/sheets-ui';import _0x320623,{forwardRef as _0x392400,useRef as _0x59e222,createElement as _0x2b736f,useCallback as _0x23fbd9}from'react';import{IRemoteInstanceService as _0x57bd22}from'@univerjs/rpc';const cr=_0x4e7919(0x491),hr=_0x4e7919(0x275),lr=_0x4e7919(0x134),Xc=_0x4e7919(0x31e),_r=0x7d0,ur='COLLAB_WEB_SOCKET_URL',dr=_0x4e7919(0x1a4),fr=_0x4e7919(0x183),vr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,mr=0x4e20,pr=_0x4e7919(0x38e),gr=0x3,Sr=_0x4e7919(0x391),Ir=0x3e8,Cr=_0x4e7919(0x197),Er=_0x4e7919(0x1b3),br=_0x4e7919(0x1b8),Tr=_0x4e7919(0x3f6);var Ri=(_0x3b2981=>(_0x3b2981[_0x3b2981[_0x4e7919(0x48d)]=0x0]='UNDEFINED',_0x3b2981[_0x3b2981['OK']=0x1]='OK',_0x3b2981[_0x3b2981[_0x4e7919(0x397)]=0x2]=_0x4e7919(0x397),_0x3b2981[_0x3b2981[_0x4e7919(0x10c)]=0x3]=_0x4e7919(0x10c),_0x3b2981[_0x3b2981[_0x4e7919(0x97)]=0x4]=_0x4e7919(0x97),_0x3b2981[_0x3b2981[_0x4e7919(0x3be)]=0x5]='UNAUTHENTICATED',_0x3b2981[_0x3b2981[_0x4e7919(0x242)]=0x6]=_0x4e7919(0x242),_0x3b2981[_0x3b2981['INVALID_ARGUMENT']=0x7]=_0x4e7919(0x1e5),_0x3b2981[_0x3b2981[_0x4e7919(0xa7)]=0x8]=_0x4e7919(0xa7),_0x3b2981[_0x3b2981['COMPLETION_FINISHED']=0x9]=_0x4e7919(0x48c),_0x3b2981[_0x3b2981[_0x4e7919(0x3a7)]=0x1389]=_0x4e7919(0x3a7),_0x3b2981[_0x3b2981['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4e7919(0x1a0),_0x3b2981[_0x3b2981['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4e7919(0x41e),_0x3b2981[_0x3b2981[_0x4e7919(0x12a)]=0x1773]=_0x4e7919(0x12a),_0x3b2981[_0x3b2981['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3b2981[_0x3b2981[_0x4e7919(0x141)]=0x1b5a]=_0x4e7919(0x141),_0x3b2981[_0x3b2981[_0x4e7919(0x3c9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3b2981[_0x3b2981[_0x4e7919(0x156)]=0x1b5c]=_0x4e7919(0x156),_0x3b2981[_0x3b2981['APPLY_DUPLICATED']=0x1b5d]=_0x4e7919(0x331),_0x3b2981[_0x3b2981[_0x4e7919(0x2f3)]=0x1f41]=_0x4e7919(0x2f3),_0x3b2981[_0x3b2981['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4e7919(0x24b),_0x3b2981[_0x3b2981[_0x4e7919(0x264)]=0x232a]=_0x4e7919(0x264),_0x3b2981[_0x3b2981[_0x4e7919(0x375)]=0x232b]=_0x4e7919(0x375),_0x3b2981[_0x3b2981[_0x4e7919(0x12e)]=0x232c]=_0x4e7919(0x12e),_0x3b2981[_0x3b2981[_0x4e7919(0x211)]=0x232d]=_0x4e7919(0x211),_0x3b2981[_0x3b2981['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4e7919(0x416),_0x3b2981[_0x3b2981[_0x4e7919(0x2bc)]=0x2712]=_0x4e7919(0x2bc),_0x3b2981[_0x3b2981[_0x4e7919(0x493)]=0x2713]=_0x4e7919(0x493),_0x3b2981[_0x3b2981[_0x4e7919(0x1c6)]=0x2714]=_0x4e7919(0x1c6),_0x3b2981[_0x3b2981['UNRECOGNIZED']=-0x1]=_0x4e7919(0x2b9),_0x3b2981))(Ri||{}),ce=(_0x3ffcc1=>(_0x3ffcc1[_0x3ffcc1[_0x4e7919(0x2ba)]=0x0]='UNIVER_UNKNOWN',_0x3ffcc1[_0x3ffcc1[_0x4e7919(0x3ca)]=0x1]=_0x4e7919(0x3ca),_0x3ffcc1[_0x3ffcc1[_0x4e7919(0x29f)]=0x2]=_0x4e7919(0x29f),_0x3ffcc1[_0x3ffcc1[_0x4e7919(0x225)]=0x3]='UNIVER_SLIDE',_0x3ffcc1[_0x3ffcc1[_0x4e7919(0xa4)]=0x4]=_0x4e7919(0xa4),_0x3ffcc1[_0x3ffcc1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3ffcc1))(ce||{}),W=(_0x3dd788=>(_0x3dd788[_0x3dd788['UNKNOWN_CMD']=0x0]=_0x4e7919(0x95),_0x3dd788[_0x3dd788[_0x4e7919(0x427)]=0x1]='HELLO',_0x3dd788[_0x3dd788['JOIN']=0x2]='JOIN',_0x3dd788[_0x3dd788[_0x4e7919(0x3ea)]=0x3]=_0x4e7919(0x3ea),_0x3dd788[_0x3dd788[_0x4e7919(0x3e6)]=0x4]=_0x4e7919(0x3e6),_0x3dd788[_0x3dd788[_0x4e7919(0x213)]=0x5]=_0x4e7919(0x213),_0x3dd788[_0x3dd788[_0x4e7919(0xe0)]=0x6]=_0x4e7919(0xe0),_0x3dd788[_0x3dd788['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3dd788))(W||{}),Is=(_0x4447f1=>(_0x4447f1[_0x4447f1[_0x4e7919(0x223)]=0x0]=_0x4e7919(0x223),_0x4447f1[_0x4447f1['OK']=0x1]='OK',_0x4447f1[_0x4447f1[_0x4e7919(0x487)]=0x2]=_0x4e7919(0x487),_0x4447f1[_0x4447f1[_0x4e7919(0x2b9)]=-0x1]=_0x4e7919(0x2b9),_0x4447f1))(Is||{}),yi=(_0xb216d9=>(_0xb216d9[_0xb216d9[_0x4e7919(0x3f8)]=0x0]=_0x4e7919(0x3f8),_0xb216d9[_0xb216d9[_0x4e7919(0x13d)]=0x1]=_0x4e7919(0x13d),_0xb216d9[_0xb216d9[_0x4e7919(0x472)]=0x2]=_0x4e7919(0x472),_0xb216d9[_0xb216d9['UnitEmbedded']=0x3]=_0x4e7919(0x2c7),_0xb216d9[_0xb216d9[_0x4e7919(0x456)]=0x4]='UnitSnapshot',_0xb216d9[_0xb216d9['UNRECOGNIZED']=-0x1]=_0x4e7919(0x2b9),_0xb216d9))(yi||{});const ie=_0x4e7919(0x1ca),Rr={};function yr(_0x4d88a5){const _0x4f8947=_0x4e7919;var _0x27f265,_0x3f2f65,_0x15cc7,_0x7b3d8d,_0x300f72;const _0x3ea174=_0x4d88a5[_0x4f8947(0x28a)],_0x1fa48b=JSON[_0x4f8947(0xdc)](_0x3ea174);switch(_0x1fa48b[_0x4f8947(0xb9)]){case W[_0x4f8947(0x213)]:case W['HELLO']:{const _0xa05f11=_0x1fa48b[_0x4f8947(0x3da)];return{..._0x1fa48b,'data':_0xa05f11,'cmd':_0x1fa48b['cmd']};}case W[_0x4f8947(0x366)]:{const _0x34b88f=_0x1fa48b[_0x4f8947(0xed)];return{..._0x1fa48b,'data':_0x34b88f,'cmd':_0x1fa48b[_0x4f8947(0xb9)]};}case W['RECV']:{const _0xd0379a=_0x1fa48b[_0x4f8947(0x2a4)];switch(_0xd0379a[_0x4f8947(0x161)]){case _0xb7e982[_0x4f8947(0x463)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x27f265=_0xd0379a[_0x4f8947(0xd3)])==null?void 0x0:_0x27f265['cs']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0xfa)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x3f2f65=_0xd0379a[_0x4f8947(0x121)])==null?void 0x0:_0x3f2f65['cs']},'cmd':_0x1fa48b['cmd']};case _0xb7e982['NEW_CHANGESETS']:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x15cc7=_0xd0379a[_0x4f8947(0x20e)])==null?void 0x0:_0x15cc7['cs']},'cmd':_0x1fa48b['cmd']};case _0xb7e982[_0x4f8947(0x3c6)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x7b3d8d=_0xd0379a[_0x4f8947(0x399)])==null?void 0x0:_0x7b3d8d['cs']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x2a5)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':(_0x300f72=_0xd0379a[_0x4f8947(0x1d5)])==null?void 0x0:_0x300f72['cs']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x483)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x294)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x3e5)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x1e2)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x348)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x47b)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x35a)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0xec)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x196)]:case _0xb7e982[_0x4f8947(0x334)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0xa0)]},'cmd':_0x1fa48b['cmd']};case _0xb7e982[_0x4f8947(0xd8)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a['liveShareNewHost']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982['MSG_FOR_ERROR']:return{..._0x1fa48b,'data':_0xd0379a,'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x378)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x2d3)]},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};case _0xb7e982[_0x4f8947(0x206)]:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a[_0x4f8947(0x2da)]},'cmd':_0x1fa48b['cmd']};case _0xb7e982['SHOULD_CLOSE_CONN']:return{..._0x1fa48b,'data':{..._0xd0379a,'data':_0xd0379a['shouldCloseConn']},'cmd':_0x1fa48b[_0x4f8947(0xb9)]};default:return _0x1fa48b;}}default:return _0x1fa48b;}}function Or(_0x9c656e){const _0x3ee0d1=_0x4e7919;switch(_0x9c656e[_0x3ee0d1(0xb9)]){case W[_0x3ee0d1(0x213)]:case W['HELLO']:return JSON[_0x3ee0d1(0x47a)]({'cmd':_0x9c656e[_0x3ee0d1(0xb9)],'routeKey':_0x9c656e[_0x3ee0d1(0x3ed)]});case W['INGEST']:{let _0x3fc1e6;switch(_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x161)]){case _0xb7e982[_0x3ee0d1(0x483)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x483)],'updateCursorEvent':_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x28a)]};break;}case _0xb7e982[_0x3ee0d1(0x348)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x348)],'leaveEvent':_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x28a)]};break;}case _0xb7e982[_0x3ee0d1(0x3e5)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x3e5)],'joinEvent':_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x28a)]};break;}case _0xb7e982[_0x3ee0d1(0x35a)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x35a)],'liveShareNewHost':_0x9c656e[_0x3ee0d1(0x28a)][_0x3ee0d1(0x28a)]};break;}case _0xb7e982[_0x3ee0d1(0x334)]:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x334)],'liveShareOperation':_0x9c656e[_0x3ee0d1(0x28a)]['data']};break;}case _0xb7e982[_0x3ee0d1(0xd8)]:{_0x3fc1e6={'eventID':_0xb7e982['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x9c656e[_0x3ee0d1(0x28a)]['data']};break;}case _0xb7e982[_0x3ee0d1(0x33e)]:{_0x3fc1e6={'eventID':_0xb7e982['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x9c656e['data'][_0x3ee0d1(0x28a)]};break;}case _0xb7e982['LIVESHARE_FETCH_OPERATIONS']:{_0x3fc1e6={'eventID':_0xb7e982[_0x3ee0d1(0x196)]};break;}default:_0x3fc1e6={'eventID':_0x9c656e[_0x3ee0d1(0x28a)]['eventID']};}return JSON[_0x3ee0d1(0x47a)]({'cmd':_0x9c656e[_0x3ee0d1(0xb9)],'routeKey':_0x9c656e['routeKey'],'collaMsg':_0x3fc1e6});}case W[_0x3ee0d1(0x366)]:return JSON[_0x3ee0d1(0x47a)]({'cmd':_0x9c656e['cmd'],'routeKey':_0x9c656e[_0x3ee0d1(0x3ed)],'joinReq':_0x9c656e[_0x3ee0d1(0x28a)]});case W[_0x3ee0d1(0x3ea)]:return JSON[_0x3ee0d1(0x47a)]({'cmd':_0x9c656e[_0x3ee0d1(0xb9)],'routeKey':_0x9c656e['routeKey'],'leaveReq':_0x9c656e[_0x3ee0d1(0x28a)]});default:throw new Error(_0x3ee0d1(0x14b));}}var wr=Object[_0x4e7919(0x13e)],Dr=Object[_0x4e7919(0x3a9)],Pr=(_0x16da93,_0x53419e,_0x6f3b55,_0x32caef)=>{for(var _0x39e9d2=_0x32caef>0x1?void 0x0:_0x32caef?Dr(_0x53419e,_0x6f3b55):_0x53419e,_0x49c7b1=_0x16da93['length']-0x1,_0x1a2741;_0x49c7b1>=0x0;_0x49c7b1--)(_0x1a2741=_0x16da93[_0x49c7b1])&&(_0x39e9d2=(_0x32caef?_0x1a2741(_0x53419e,_0x6f3b55,_0x39e9d2):_0x1a2741(_0x39e9d2))||_0x39e9d2);return _0x32caef&&_0x39e9d2&&wr(_0x53419e,_0x6f3b55,_0x39e9d2),_0x39e9d2;},qe=(_0x4cd30e,_0x4cf915)=>(_0x1b922f,_0x2b77e5)=>_0x4cf915(_0x1b922f,_0x2b77e5,_0x4cd30e);const Oi=_0x20f251(_0x4e7919(0xcf));function Ur(_0x52a9a6,_0x3346ca,_0x430e59){const _0x2cfc63=_0x4e7919;return _0x52a9a6+'/'+_0x3346ca+_0x2cfc63(0x28e)+_0x430e59+_0x2cfc63(0x478);}let es=class extends _0x4b38ce{constructor(_0x3d0a39,_0x4362da,_0x338476,_0xc0eb46,_0x3fe1b6){const _0x2af57a=_0x4e7919;super(),this[_0x2af57a(0x2f4)]=_0x3d0a39,this['_ws']=_0x4362da,this[_0x2af57a(0x1f4)]=_0x338476,this[_0x2af57a(0x18f)]=_0xc0eb46,this['_snapshotServerService']=_0x3fe1b6;}[_0x4e7919(0x18a)](_0x3f63cd){const _0x522569=_0x4e7919,_0x562b4e=this[_0x522569(0x35e)][_0x522569(0x18a)](_0x3f63cd);if(!_0x562b4e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4e5f97=new _0x1eefc9(),_0x29122f=new _0x7a1bd7();_0x4e5f97[_0x522569(0x2dc)](_0x562b4e[_0x522569(0xd6)][_0x522569(0x1f1)](_0x439116=>_0x29122f[_0x522569(0x409)](_0x439116))),_0x4e5f97['add'](_0x290028(()=>_0x29122f[_0x522569(0x40f)]()));const _0x3b5629=new _0x7a1bd7();_0x4e5f97[_0x522569(0x2dc)](_0x562b4e[_0x522569(0x1b7)][_0x522569(0x1f1)](_0x117f77=>_0x3b5629[_0x522569(0x409)](_0x117f77))),_0x4e5f97[_0x522569(0x2dc)](_0x290028(()=>_0x3b5629[_0x522569(0x40f)]()));const _0x4183ca=new _0x7a1bd7();_0x4e5f97[_0x522569(0x2dc)](_0x562b4e[_0x522569(0x405)]['subscribe'](_0x4801d4=>{const _0x3f67a6=_0x522569,_0x30c2b3=yr(_0x4801d4);_0x4183ca[_0x3f67a6(0x409)](_0x30c2b3);})),_0x4e5f97[_0x522569(0x2dc)](_0x290028(()=>_0x4183ca['complete']()));let _0xed774f;const _0x4de42d=()=>{const _0x31054f=_0x522569;_0x3b5629['next'](new Event('connection\x20error')),_0x29122f[_0x31054f(0x409)](new CloseEvent(_0x31054f(0x14d))),_0xed774f['close']();};return _0xed774f={'memberID':'','close$':_0x29122f[_0x522569(0x180)](),'error$':_0x3b5629['asObservable'](),'open$':_0x562b4e[_0x522569(0x39d)],'message$':_0x4183ca[_0x522569(0x180)](),'send':_0x4e461f=>{const _0x102f6f=_0x522569;if(_0x4e461f['cmd']===W[_0x102f6f(0x3e6)]){if(_0x4e461f[_0x102f6f(0x28a)]['eventID']===_0xb7e982[_0x102f6f(0x26a)]){this[_0x102f6f(0xdb)](_0xed774f,_0x4e461f['data'])[_0x102f6f(0x317)](_0x343861=>{const _0x256202=_0x102f6f;this[_0x256202(0x18f)][_0x256202(0x24d)](_0x343861),_0x4de42d();});return;}if(_0x4e461f[_0x102f6f(0x28a)][_0x102f6f(0x161)]===_0xb7e982['FETCH_MISSING']){const _0x2afd16=_0x4e461f[_0x102f6f(0x28a)];this[_0x102f6f(0x40b)](_0x2afd16)[_0x102f6f(0x86)](_0x47e1e2=>{const _0x233216=_0x102f6f;_0x4183ca['next']({'cmd':W[_0x233216(0xe0)],'code':Is['OK'],'routeKey':_0x2afd16[_0x233216(0x28a)][_0x233216(0x8b)],'routeType':'','data':{'eventID':_0xb7e982[_0x233216(0x3c0)],'data':{'changesets':_0x47e1e2}}});})[_0x102f6f(0x317)](_0x1ccdd0=>{const _0x22e446=_0x102f6f;this['_logService'][_0x22e446(0x24d)](_0x1ccdd0),_0x4de42d();});return;}}_0x562b4e[_0x102f6f(0x7c)](Or(_0x4e461f));},'close':()=>{const _0x495769=_0x522569;_0x562b4e[_0x495769(0x116)](),_0x4e5f97[_0x495769(0xc0)]();}},_0xed774f;}async['_submitChangeset'](_0x4928c1,_0x1ba03b){const _0x45ef65=_0x4e7919;var _0x29c328,_0x3fe604;const {unitType:_0x2ef669,unitID:_0x21a05f,changeset:_0x5872e5}=_0x1ba03b[_0x45ef65(0x28a)],_0x19e6a6={'unitID':_0x21a05f,'memberID':_0x4928c1[_0x45ef65(0x20a)],'type':_0x2ef669,'changeset':_0x3ab3da(_0x5872e5)},_0x574a82=this[_0x45ef65(0x1f4)]['getConfig'](Cr),_0x3b9b1c=this[_0x45ef65(0x1f4)][_0x45ef65(0x2a3)](ie),_0x129070=Ur((_0x3fe604=(_0x29c328=_0x3b9b1c==null?void 0x0:_0x3b9b1c[_0x45ef65(0x3d5)])!=null?_0x29c328:_0x574a82)!=null?_0x3fe604:Er,_0x2ef669,_0x21a05f);try{await this[_0x45ef65(0x2f4)]['post'](_0x129070,{'body':_0x19e6a6});}catch(_0x2608f5){throw this['_logService'][_0x45ef65(0x24d)]('[CollaborationSession]',_0x45ef65(0x200)),_0x2608f5;}}async[_0x4e7919(0x40b)](_0x2dd5ad){const _0xcfcda3=_0x4e7919,{unitID:_0x4f3807,from:_0x49013c,to:_0x81c1d4,unitType:_0x463c22}=_0x2dd5ad['data'];return(await this[_0xcfcda3(0x41c)][_0xcfcda3(0x2d0)]({'metadata':void 0x0},{'unitID':_0x4f3807,'type':_0x463c22,'from':_0x49013c,'to':_0x81c1d4}))[_0xcfcda3(0x2be)];}};es=Pr([qe(0x0,_0x557b7a(_0x55adc1)),qe(0x1,_0x557b7a(_0x352ba8)),qe(0x2,_0x88f14),qe(0x3,_0x2f9740),qe(0x4,_0x18fdab)],es);const Nr=_0x4e7919(0x288);function Ar(_0xda5ed0){const _0x5461a2=_0x4e7919;return JSON[_0x5461a2(0x47a)](_0xda5ed0)[_0x5461a2(0x126)];}class wi{constructor(){const _0x4e6405=_0x4e7919;g(this,_0x4e6405(0x3ad),new _0x7a1bd7()),g(this,_0x4e6405(0x3b2),this[_0x4e6405(0x3ad)][_0x4e6405(0x180)]());}[_0x4e7919(0x3ff)](_0x13fd67){const _0x566b0a=_0x4e7919;this[_0x566b0a(0x3ad)]['next'](_0x13fd67);}}var Mr=Object['defineProperty'],xr=Object[_0x4e7919(0x3a9)],Lr=(_0x4c3222,_0x441913,_0x3bfd7f,_0x529a88)=>{for(var _0x3f5a54=_0x529a88>0x1?void 0x0:_0x529a88?xr(_0x441913,_0x3bfd7f):_0x441913,_0x2ea1cf=_0x4c3222['length']-0x1,_0x10a7cf;_0x2ea1cf>=0x0;_0x2ea1cf--)(_0x10a7cf=_0x4c3222[_0x2ea1cf])&&(_0x3f5a54=(_0x529a88?_0x10a7cf(_0x441913,_0x3bfd7f,_0x3f5a54):_0x10a7cf(_0x3f5a54))||_0x3f5a54);return _0x529a88&&_0x3f5a54&&Mr(_0x441913,_0x3bfd7f,_0x3f5a54),_0x3f5a54;},Hs=(_0x424541,_0x2d5c8f)=>(_0x3abcc5,_0x3d3ce3)=>_0x2d5c8f(_0x3abcc5,_0x3d3ce3,_0x424541);let Ne=class extends _0x4b38ce{constructor(_0x4a0f21,_0xcd81e6){const _0x360a14=_0x4e7919;super(),g(this,'_roomMembers',new Map()),(this[_0x360a14(0x29a)]=_0x4a0f21,this[_0x360a14(0x175)]=_0xcd81e6,this[_0x360a14(0xb0)](_0x290028(_0x365701(this[_0x360a14(0x29a)][_0x360a14(0x18c)](_0x470972[_0x360a14(0x29f)])[_0x360a14(0x210)](_0x1a1a5b(_0x3fa061=>_0x3fa061[_0x360a14(0x426)]())),this['_univerInstanceService'][_0x360a14(0x18c)](_0x470972[_0x360a14(0x3ca)])['pipe'](_0x1a1a5b(_0x3710b1=>_0x3710b1[_0x360a14(0x426)]())),this[_0x360a14(0x29a)][_0x360a14(0x18c)](_0x470972[_0x360a14(0x225)])['pipe'](_0x1a1a5b(_0x2080bb=>_0x2080bb[_0x360a14(0x426)]())))['subscribe'](_0xb33f56=>this[_0x360a14(0x25b)](_0xb33f56)))));}[_0x4e7919(0xa1)](_0xa09cc5){const _0x15d200=_0x4e7919;this[_0x15d200(0x175)][_0x15d200(0xa1)](_0xa09cc5);}['getCurrentUser'](){const _0x1b1c73=_0x4e7919;return this[_0x1b1c73(0x175)][_0x1b1c73(0x3c4)]();}[_0x4e7919(0x1d3)](_0x4a9b7f,_0x88eb39){const _0x23e4c4=_0x4e7919;let _0x48cca6=this['_roomMembers']['get'](_0x4a9b7f);_0x48cca6||(_0x48cca6=new $r(),this['_roomMembers'][_0x23e4c4(0x2a0)](_0x4a9b7f,_0x48cca6)),_0x48cca6[_0x23e4c4(0x1d3)](_0x88eb39);}[_0x4e7919(0xb6)](_0x90b97,_0x5a274c){const _0x17b409=_0x4e7919,_0x9371c=this[_0x17b409(0x376)][_0x17b409(0x16e)](_0x90b97);_0x9371c&&_0x9371c[_0x17b409(0xb6)](_0x5a274c);}['getRoom'](_0x4621f8){const _0x3d2cde=_0x4e7919;return this[_0x3d2cde(0x376)][_0x3d2cde(0x16e)](_0x4621f8);}[_0x4e7919(0x324)](_0x1423cb,_0x28076b){const _0x70135e=_0x4e7919,_0xb993d7=this[_0x70135e(0x376)][_0x70135e(0x16e)](_0x1423cb);if(_0xb993d7)return _0xb993d7[_0x70135e(0x324)](_0x28076b);}[_0x4e7919(0x25b)](_0x203766){const _0x56fb56=_0x4e7919,_0x3d2c96=this[_0x56fb56(0x376)][_0x56fb56(0x16e)](_0x203766);_0x3d2c96&&(_0x3d2c96[_0x56fb56(0xc0)](),this[_0x56fb56(0x376)][_0x56fb56(0x15f)](_0x203766));}[_0x4e7919(0xc0)](){const _0x178664=_0x4e7919;this[_0x178664(0x376)][_0x178664(0x21b)](_0x2a1c26=>_0x2a1c26[_0x178664(0xc0)]()),this[_0x178664(0x376)][_0x178664(0x414)]();}};Ne=Lr([Hs(0x0,_0x5e27bc),Hs(0x1,_0x557b7a(_0xc5ea1b))],Ne);class $r extends _0x4b38ce{constructor(){const _0x482f3f=_0x4e7919;super(...arguments),g(this,_0x482f3f(0x187),new Map());}[_0x4e7919(0xc0)](){const _0x272494=_0x4e7919;this[_0x272494(0x187)]['clear']();}['updateMember'](_0x5da94b){const _0x4ccb31=_0x4e7919;this[_0x4ccb31(0x187)][_0x4ccb31(0x2a0)](_0x5da94b[_0x4ccb31(0x20a)],_0x5da94b);}[_0x4e7919(0xb6)](_0x1f4a62){const _0x1238bf=_0x4e7919;this[_0x1238bf(0x187)][_0x1238bf(0x15f)](_0x1f4a62);}[_0x4e7919(0x324)](_0x28598b){const _0xd09ff0=_0x4e7919;return this[_0xd09ff0(0x187)][_0xd09ff0(0x16e)](_0x28598b);}[_0x4e7919(0x435)](){const _0x459898=_0x4e7919;return Array[_0x459898(0x468)](this[_0x459898(0x187)][_0x459898(0x13a)]());}}var Hr=Object[_0x4e7919(0x13e)],jr=Object['getOwnPropertyDescriptor'],Br=(_0x1d88dd,_0x469e40,_0xdbedf6,_0x39f42d)=>{const _0xdbd0de=_0x4e7919;for(var _0x49ac17=_0x39f42d>0x1?void 0x0:_0x39f42d?jr(_0x469e40,_0xdbedf6):_0x469e40,_0x2fd7fa=_0x1d88dd[_0xdbd0de(0x126)]-0x1,_0x1933dc;_0x2fd7fa>=0x0;_0x2fd7fa--)(_0x1933dc=_0x1d88dd[_0x2fd7fa])&&(_0x49ac17=(_0x39f42d?_0x1933dc(_0x469e40,_0xdbedf6,_0x49ac17):_0x1933dc(_0x49ac17))||_0x49ac17);return _0x39f42d&&_0x49ac17&&Hr(_0x469e40,_0xdbedf6,_0x49ac17),_0x49ac17;},Ee=(_0x1ad5c9,_0x4d6af2)=>(_0x3e0f67,_0x2892b6)=>_0x4d6af2(_0x3e0f67,_0x2892b6,_0x1ad5c9),ve=(_0x269122=>(_0x269122[_0x269122['IDLE']=0x0]=_0x4e7919(0x2f8),_0x269122[_0x269122[_0x4e7919(0xbe)]=0x1]=_0x4e7919(0xbe),_0x269122[_0x269122['OFFLINE']=0x2]=_0x4e7919(0x3f4),_0x269122[_0x269122[_0x4e7919(0x28f)]=0x3]='ONLINE',_0x269122))(ve||{});let ts=class extends _0x15900e{constructor(_0x2782c1,_0x123226,_0x5e878f,_0x29f993,_0x2792ba,_0xbd48f4,_0x3f13a9,_0x4d9ff9,_0x21ca8e,_0x4bb363){const _0x23a6e9=_0x4e7919;super(),g(this,_0x23a6e9(0x286),new _0x524b68(0x0)),g(this,_0x23a6e9(0x109),this[_0x23a6e9(0x286)]['asObservable']()),g(this,'_event$',new _0x7a1bd7()),g(this,'event$',this[_0x23a6e9(0x17a)][_0x23a6e9(0x180)]()),g(this,_0x23a6e9(0x113)),g(this,_0x23a6e9(0x235)),g(this,_0x23a6e9(0x320)),g(this,_0x23a6e9(0x14a),!0x1),g(this,_0x23a6e9(0x440),null),(this['_unitID']=_0x2782c1,this[_0x23a6e9(0x18f)]=_0x5e878f,this[_0x23a6e9(0xda)]=_0x29f993,this[_0x23a6e9(0x443)]=_0x2792ba,this['_configService']=_0xbd48f4,this[_0x23a6e9(0x238)]=_0x3f13a9,this[_0x23a6e9(0x17d)]=_0x4d9ff9,this[_0x23a6e9(0x36e)]=_0x21ca8e,this[_0x23a6e9(0x7a)]=_0x4bb363,this[_0x23a6e9(0x14a)]=!!this[_0x23a6e9(0x7a)],_0x123226[_0x23a6e9(0x210)](_0x234986(this[_0x23a6e9(0x15d)]))['subscribe'](_0x317fa0=>{const _0x527873=_0x23a6e9;var _0x3e8877;typeof _0x317fa0>'u'||(this[_0x527873(0x113)]=_0x317fa0,_0x317fa0?(this['_joinRoom'](_0x317fa0),this[_0x527873(0x235)]=_0x317fa0['message$']['subscribe'](_0x3ca1ea=>{const _0x439442=_0x527873;_0x3ca1ea[_0x439442(0x3ed)]===this[_0x439442(0x46a)]&&this[_0x439442(0x142)](_0x3ca1ea);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x527873(0x409)](0x2),(_0x3e8877=this[_0x527873(0x235)])==null||_0x3e8877[_0x527873(0x155)](),this[_0x527873(0x235)]=null));}),this[_0x23a6e9(0xb0)](this['_beforeCloseService'][_0x23a6e9(0x38d)](()=>{const _0x38df57=_0x23a6e9;var _0xe35f30;(_0xe35f30=this[_0x38df57(0x113)])==null||_0xe35f30[_0x38df57(0x7c)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x38df57(0x46a)]}});})));}get[_0x4e7919(0x37a)](){const _0x304a00=_0x4e7919;return this[_0x304a00(0x286)][_0x304a00(0x358)]();}[_0x4e7919(0x3cd)](){const _0x958323=_0x4e7919;var _0x2ad31f,_0x2e8454;return(_0x2e8454=(_0x2ad31f=this[_0x958323(0x113)])==null?void 0x0:_0x2ad31f[_0x958323(0x20a)])!=null?_0x2e8454:null;}[_0x4e7919(0xc0)](){const _0x52cab3=_0x4e7919;super[_0x52cab3(0xc0)](),this[_0x52cab3(0x15d)][_0x52cab3(0x409)](),this[_0x52cab3(0x15d)][_0x52cab3(0x40f)]();}[_0x4e7919(0x116)](){const _0x22f84a=_0x4e7919;var _0x5e01f0,_0x1a5fc6;this[_0x22f84a(0x29d)](),(_0x5e01f0=this[_0x22f84a(0x113)])==null||_0x5e01f0[_0x22f84a(0x7c)]({'cmd':W[_0x22f84a(0x3ea)],'data':{'roomID':this[_0x22f84a(0x46a)]}}),(_0x1a5fc6=this['_socket'])==null||_0x1a5fc6['close'](),this[_0x22f84a(0x17a)]['complete'](),this[_0x22f84a(0x286)]['complete'](),this[_0x22f84a(0xc0)]();}[_0x4e7919(0x142)](_0x493502){const _0x207192=_0x4e7919;_0x493502['cmd']===W['JOIN']?this[_0x207192(0x42a)](_0x493502):_0x493502[_0x207192(0xb9)]===W[_0x207192(0xe0)]&&this['_onRecvEvent'](_0x493502);}[_0x4e7919(0x3ef)](_0x5d828b){const _0x45c3f9=_0x4e7919;this[_0x45c3f9(0x286)][_0x45c3f9(0x409)](0x1),_0x5d828b[_0x45c3f9(0x7c)]({'cmd':W['JOIN'],'routeKey':this[_0x45c3f9(0x46a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x45c3f9(0x46a)]}]}});}[_0x4e7919(0x42a)](_0x143029){const _0x25ade9=_0x4e7919;var _0x5b5c95;if(_0x143029['code']===Is['FAIL']){this['_messageService'][_0x25ade9(0x243)]({'type':_0x302b10[_0x25ade9(0x1dc)],'content':this[_0x25ade9(0x238)]['t']('session.room-full')}),this[_0x25ade9(0x286)][_0x25ade9(0x409)](0x2);return;}this[_0x25ade9(0x286)][_0x25ade9(0x409)](0x3);const _0x704f99=(_0x5b5c95=_0x143029[_0x25ade9(0x28a)][_0x25ade9(0xaf)][this['_unitID']])==null?void 0x0:_0x5b5c95['members'];_0x704f99&&_0x704f99[_0x25ade9(0x21b)](_0x2cb75a=>this['_memberService'][_0x25ade9(0x1d3)](this[_0x25ade9(0x46a)],_0x2cb75a));}[_0x4e7919(0x3c2)](_0x517676){const _0x5e6d57=_0x4e7919;try{const _0x1fddec=_0x517676[_0x5e6d57(0x28a)];switch(_0x1fddec[_0x5e6d57(0x161)]){case _0xb7e982[_0x5e6d57(0x3e5)]:this[_0x5e6d57(0x313)](_0x1fddec),this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);break;case _0xb7e982[_0x5e6d57(0x348)]:this[_0x5e6d57(0x115)](_0x1fddec),this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);break;case _0xb7e982[_0x5e6d57(0xfa)]:case _0xb7e982[_0x5e6d57(0x2a5)]:this[_0x5e6d57(0x21a)](),this[_0x5e6d57(0x445)](),this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);break;case _0xb7e982[_0x5e6d57(0xa9)]:this[_0x5e6d57(0x18f)]['error'](_0x5e6d57(0x2fa)+JSON['stringify'](_0x1fddec)),this['_event$'][_0x5e6d57(0x409)](_0x1fddec);break;case _0xb7e982['COMMENT_UPDATE']:this[_0x5e6d57(0x36e)][_0x5e6d57(0x3ff)](_0x1fddec[_0x5e6d57(0x28a)]),this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);break;default:this[_0x5e6d57(0x17a)][_0x5e6d57(0x409)](_0x1fddec);}}catch(_0x32dd9a){this[_0x5e6d57(0x18f)]['error'](_0x32dd9a,_0x517676);}}[_0x4e7919(0x313)](_0x3cefa3){const _0x3fc7b9=_0x4e7919;this[_0x3fc7b9(0x17d)]['updateMember'](this[_0x3fc7b9(0x46a)],_0x3cefa3[_0x3fc7b9(0x28a)]);}['_onUserLeave'](_0x457c20){const _0x3e5a2d=_0x4e7919;this[_0x3e5a2d(0x17d)]['removeMember'](this['_unitID'],_0x457c20[_0x3e5a2d(0x28a)]['memberID']);}async[_0x4e7919(0x7c)](_0x624f10,_0x2ad54c){const _0x3bb47b=_0x4e7919;if(this[_0x3bb47b(0x37a)]!==0x3||!this[_0x3bb47b(0x113)])throw new Error(_0x3bb47b(0x2ab));try{_0x624f10[_0x3bb47b(0x161)]===_0xb7e982['SUBMIT_CHANGESET']&&(this[_0x3bb47b(0x410)](),this['_startTelemetryCollaborationNewChangeset'](_0x624f10)),this['_socket'][_0x3bb47b(0x7c)]({'cmd':W[_0x3bb47b(0x3e6)],'routeKey':_0x2ad54c,'routeType':'','data':_0x624f10});}catch(_0x470fc6){this['_logService']['error'](_0x470fc6);}}[_0x4e7919(0x410)](){const _0x11e267=_0x4e7919;var _0x1c3c1b;this[_0x11e267(0x320)]=window[_0x11e267(0x1f7)](()=>{const _0x2f417c=_0x11e267;this['_collaborationTimeoutTimer']=null,this['_messageService']['show']({'type':_0x302b10[_0x2f417c(0x457)],'content':this[_0x2f417c(0x238)]['t'](_0x2f417c(0x492))});},(_0x1c3c1b=this[_0x11e267(0x1f4)][_0x11e267(0x2a3)](bi))!=null?_0x1c3c1b:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x5f4b61=_0x4e7919;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5f4b61(0x320)]),this[_0x5f4b61(0x320)]=null);}[_0x4e7919(0x34f)](_0x9f315d){const _0x159a60=_0x4e7919;if(!this[_0x159a60(0x14a)])return;const {data:_0x5c5fc6}=_0x9f315d,{unitID:_0x4b8f6c,changeset:_0x3c8061}=_0x5c5fc6,{mutations:_0x3e2ec1,type:_0x557f98}=_0x3c8061;this[_0x159a60(0x440)]={'unitId':_0x4b8f6c,'type':_0x557f98,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x3e2ec1)};}[_0x4e7919(0x21a)](){const _0x214c79=_0x4e7919;if(this[_0x214c79(0x14a)]){if(!this[_0x214c79(0x440)]){this['_logService']['error'](_0x214c79(0xad),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x214c79(0x2f9)]=performance[_0x214c79(0x26f)](),this[_0x214c79(0x440)][_0x214c79(0x2c8)]=this[_0x214c79(0x440)][_0x214c79(0x2f9)]-this[_0x214c79(0x440)][_0x214c79(0x42f)],this[_0x214c79(0x7a)][_0x214c79(0x13c)](Nr,this[_0x214c79(0x440)]),this[_0x214c79(0x440)]=null;}}[_0x4e7919(0x29d)](){this['_telemetryInfo']=null;}};ts=Br([Ee(0x2,_0x2f9740),Ee(0x3,_0x507e18),Ee(0x4,_0x4e3214),Ee(0x5,_0x88f14),Ee(0x6,_0x557b7a(_0x5e134c)),Ee(0x7,_0x557b7a(Ne)),Ee(0x8,_0x557b7a(wi)),Ee(0x9,_0x263588(_0x56469e))],ts);var kr=Object[_0x4e7919(0x13e)],Wr=Object[_0x4e7919(0x3a9)],Fr=(_0x16052d,_0x3c20be,_0x2f8bce,_0x400e3d)=>{for(var _0x1d1e80=_0x400e3d>0x1?void 0x0:_0x400e3d?Wr(_0x3c20be,_0x2f8bce):_0x3c20be,_0xa5c6c1=_0x16052d['length']-0x1,_0x2139da;_0xa5c6c1>=0x0;_0xa5c6c1--)(_0x2139da=_0x16052d[_0xa5c6c1])&&(_0x1d1e80=(_0x400e3d?_0x2139da(_0x3c20be,_0x2f8bce,_0x1d1e80):_0x2139da(_0x1d1e80))||_0x1d1e80);return _0x400e3d&&_0x1d1e80&&kr(_0x3c20be,_0x2f8bce,_0x1d1e80),_0x1d1e80;},je=(_0x54f468,_0x346192)=>(_0x1d7c48,_0x2c3f64)=>_0x346192(_0x1d7c48,_0x2c3f64,_0x54f468);let Ae=class extends _0x4b38ce{constructor(_0x1dbd07,_0x7fa04f,_0x88c0de,_0xd66ba,_0xd5bbc,_0x47eea0){const _0x19a182=_0x4e7919;super(),g(this,_0x19a182(0x19e),new _0x524b68(void 0x0)),g(this,'socket$',this[_0x19a182(0x19e)][_0x19a182(0x180)]()),g(this,_0x19a182(0x27f),null),g(this,'_sessions',new Map()),g(this,'_status$',new _0x524b68(ve[_0x19a182(0x2f8)])),g(this,_0x19a182(0x1cf),this[_0x19a182(0x221)][_0x19a182(0x180)]()),g(this,'_socketReady',!0x1),g(this,'_retryConnectingTimer'),g(this,_0x19a182(0x1f5),0x0),g(this,'_sendHeartbeatTimer'),g(this,_0x19a182(0x381)),(this[_0x19a182(0x1e4)]=_0x1dbd07,this[_0x19a182(0x238)]=_0x7fa04f,this[_0x19a182(0x443)]=_0x88c0de,this[_0x19a182(0x18f)]=_0xd66ba,this[_0x19a182(0x1f4)]=_0xd5bbc,this['_socketService']=_0x47eea0,this[_0x19a182(0x474)]());}get['_socket'](){const _0x4bd24d=_0x4e7919;return this[_0x4bd24d(0x19e)]['getValue']();}[_0x4e7919(0x474)](){const _0x5575bd=_0x4e7919;this[_0x5575bd(0x165)](),this[_0x5575bd(0x230)]();}['dispose'](){const _0x47507d=_0x4e7919;super[_0x47507d(0xc0)](),this[_0x47507d(0xc1)][_0x47507d(0x21b)](_0x4c0fe1=>_0x4c0fe1[_0x47507d(0xc0)]()),this[_0x47507d(0xc1)][_0x47507d(0x414)](),this[_0x47507d(0x221)][_0x47507d(0x40f)]();}async[_0x4e7919(0x386)](_0x484926){const _0x182670=_0x4e7919;if(this[_0x182670(0xc1)]['has'](_0x484926))return this[_0x182670(0xc1)][_0x182670(0x16e)](_0x484926);this[_0x182670(0x2ea)]();const _0x4f8ea5=this[_0x182670(0x1e4)][_0x182670(0x2c9)](ts,_0x484926,this[_0x182670(0x19e)][_0x182670(0x180)]());return this[_0x182670(0xc1)][_0x182670(0x2a0)](_0x484926,_0x4f8ea5),_0x4f8ea5;}[_0x4e7919(0x355)](_0x3ded39){const _0x4ddab1=_0x4e7919;var _0x55b6e7;const _0x37b40b=this[_0x4ddab1(0xc1)][_0x4ddab1(0x16e)](_0x3ded39);_0x37b40b&&(this[_0x4ddab1(0xc1)]['delete'](_0x3ded39),_0x37b40b['close']()),this[_0x4ddab1(0xc1)][_0x4ddab1(0x277)]||(_0x55b6e7=this['_socket'])==null||_0x55b6e7[_0x4ddab1(0x116)]();}[_0x4e7919(0x215)](){const _0x17c683=_0x4e7919;this[_0x17c683(0x1f5)]=0x0,this[_0x17c683(0x28d)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x17c683(0x28d)]=null),this[_0x17c683(0x248)]();}[_0x4e7919(0x2ad)](){const _0x25d8ad=_0x4e7919;var _0x2d4450,_0x2e1493;const _0x1fb12b=this[_0x25d8ad(0x1f4)][_0x25d8ad(0x2a3)](ur),_0x23e078=this[_0x25d8ad(0x1f4)][_0x25d8ad(0x2a3)](ie),_0x516dd1=(_0x2e1493=(_0x2d4450=_0x23e078==null?void 0x0:_0x23e078['collabWebSocketUrl'])!=null?_0x2d4450:_0x1fb12b)!=null?_0x2e1493:dr,_0x1e6104=this['_socketService'][_0x25d8ad(0x18a)](_0x516dd1);return this['_candidateSocket']=_0x1e6104,_0x1e6104;}[_0x4e7919(0x2ea)](){const _0x4b9cbc=_0x4e7919;var _0x4ee457,_0x2aedc0;try{const _0x5b6756=(_0x2aedc0=(_0x4ee457=this['_socket'])!=null?_0x4ee457:this[_0x4b9cbc(0x27f)])!=null?_0x2aedc0:this[_0x4b9cbc(0x2ad)]();if(_0x5b6756){const _0x8520c2=_0x5b6756[_0x4b9cbc(0x7c)];_0x5b6756[_0x4b9cbc(0x7c)]=_0x5b2f51=>(this[_0x4b9cbc(0x3cc)](),_0x8520c2[_0x4b9cbc(0x2d7)](_0x5b6756,[_0x5b2f51])),_0x5b6756['message$'][_0x4b9cbc(0x1f1)](_0x30bb9d=>this[_0x4b9cbc(0x1ad)](_0x5b6756,_0x30bb9d)),_0x5b6756[_0x4b9cbc(0x1b7)][_0x4b9cbc(0x210)](_0x33eb95(0x1))[_0x4b9cbc(0x1f1)](_0x5008fe=>this[_0x4b9cbc(0x18f)][_0x4b9cbc(0x24d)](_0x4b9cbc(0xbf),_0x5008fe)),_0x5b6756[_0x4b9cbc(0x39d)][_0x4b9cbc(0x210)](_0x33eb95(0x1))[_0x4b9cbc(0x1f1)](()=>{const _0x4ee749=_0x4b9cbc;this[_0x4ee749(0x2bf)](_0x5b6756);}),_0x5b6756[_0x4b9cbc(0xd6)][_0x4b9cbc(0x210)](_0x33eb95(0x1))[_0x4b9cbc(0x1f1)](_0x5c7cf3=>{const _0x5c184d=_0x4b9cbc;this[_0x5c184d(0x18f)][_0x5c184d(0x236)](_0x5c184d(0xb4),_0x5c184d(0x48a),_0x5c7cf3),this[_0x5c184d(0x3db)]();});}}catch(_0x525d3d){this[_0x4b9cbc(0x18f)][_0x4b9cbc(0x24d)](_0x525d3d),this[_0x4b9cbc(0x3db)]();}}[_0x4e7919(0x2bf)](_0x3e6cca){const _0x3bde97=_0x4e7919;this[_0x3bde97(0x18f)][_0x3bde97(0x236)](_0x3bde97(0xb4),_0x3bde97(0x259)),_0x3e6cca[_0x3bde97(0x7c)]({'cmd':W[_0x3bde97(0x427)]}),this[_0x3bde97(0x3cc)]();}[_0x4e7919(0x165)](){window['addEventListener']('offline',()=>this['_onOffline']());}['_onOffline'](){const _0xcf70d5=_0x4e7919;this[_0xcf70d5(0x489)]=!0x1,this[_0xcf70d5(0x27f)]=null,this[_0xcf70d5(0x221)][_0xcf70d5(0x409)](ve['OFFLINE']),this[_0xcf70d5(0x19e)][_0xcf70d5(0x409)](null),this['_clearTimeoutTimer'](),this[_0xcf70d5(0x245)]();}[_0x4e7919(0x3db)](){const _0x369592=_0x4e7919;var _0x200f14;this['_onOffline'](),this['_retryCount']<((_0x200f14=this[_0x369592(0x1f4)][_0x369592(0x2a3)](pr))!=null?_0x200f14:gr)?(this[_0x369592(0x443)][_0x369592(0x243)]({'key':_0x369592(0x352),'type':_0x302b10[_0x369592(0x1dc)],'content':this[_0x369592(0x238)]['t']('session.will-retry')}),this[_0x369592(0x248)]()):this[_0x369592(0x443)][_0x369592(0x243)]({'key':_0x369592(0x352),'type':_0x302b10['Error'],'content':this[_0x369592(0x238)]['t'](_0x369592(0x301))});}[_0x4e7919(0x230)](){const _0x3e26a2=_0x4e7919,_0x44aff6=()=>{const _0x5a8a23=_0x5ed9;this[_0x5a8a23(0x113)]||this[_0x5a8a23(0x215)]();},_0x7ec602=()=>{const _0x294861=_0x5ed9;this[_0x294861(0x113)]||document[_0x294861(0xe4)]===_0x294861(0x372)||this[_0x294861(0x215)]();};window[_0x3e26a2(0x315)](_0x3e26a2(0x300),_0x44aff6),document[_0x3e26a2(0x315)]('visibilitychange',_0x7ec602);}[_0x4e7919(0x248)](){const _0x6c2de3=_0x4e7919;var _0x405b35;const _0xd11e9c=this['_retryCount'],_0x23cf77=this[_0x6c2de3(0x1f4)]['getConfig'](ie),_0x3ec518=_0xd11e9c===0x0?0x0:((_0x405b35=_0x23cf77==null?void 0x0:_0x23cf77[_0x6c2de3(0x2c4)])!=null?_0x405b35:mr)*0x2**_0xd11e9c;this[_0x6c2de3(0x28d)]=window[_0x6c2de3(0x1f7)](()=>{const _0x3bc7a1=_0x6c2de3;clearTimeout(this[_0x3bc7a1(0x28d)]),this[_0x3bc7a1(0x28d)]=null,this['_tryEnsureSocket']();},_0x3ec518),this[_0x6c2de3(0x1f5)]+=0x1;}['_onMessage'](_0xd9914,_0x3fb1af){const _0x1cf375=_0x4e7919,{cmd:_0x283e45}=_0x3fb1af;_0x283e45===W['HELLO']&&!this[_0x1cf375(0x489)]&&(_0xd9914[_0x1cf375(0x20a)]=_0x3fb1af['data']['memberID'],this[_0x1cf375(0x19e)][_0x1cf375(0x409)](_0xd9914),this[_0x1cf375(0x221)]['next'](ve[_0x1cf375(0x28f)]),this[_0x1cf375(0x489)]=!0x0,this['_candidateSocket']=null),_0x283e45===W[_0x1cf375(0x213)]&&this['_clearTimeoutTimer'](),this[_0x1cf375(0x3cc)]();}[_0x4e7919(0x3cc)](){const _0x3c6a27=_0x4e7919;var _0x5d0f99;this['_clearHeartbeatTimer'](),this[_0x3c6a27(0xeb)]=window[_0x3c6a27(0x1f7)](()=>this[_0x3c6a27(0x1ae)](),(_0x5d0f99=this[_0x3c6a27(0x1f4)]['getConfig'](fr))!=null?_0x5d0f99:vr);}[_0x4e7919(0x1ae)](){const _0x8cce3b=_0x4e7919;this[_0x8cce3b(0x113)][_0x8cce3b(0x7c)]({'cmd':W[_0x8cce3b(0x213)]}),this[_0x8cce3b(0x3af)]();}['_waitForHeartbeatResponse'](){const _0x1dc09d=_0x4e7919;var _0x1761af;this[_0x1dc09d(0x381)]=window[_0x1dc09d(0x1f7)](()=>this[_0x1dc09d(0x3db)](),(_0x1761af=this[_0x1dc09d(0x1f4)]['getConfig'](bi))!=null?_0x1761af:Ti);}[_0x4e7919(0x245)](){const _0x1aab30=_0x4e7919;this[_0x1aab30(0xeb)]!=null&&(clearTimeout(this[_0x1aab30(0xeb)]),this[_0x1aab30(0xeb)]=null);}[_0x4e7919(0x1d2)](){const _0x7ee228=_0x4e7919;this[_0x7ee228(0x381)]!=null&&(clearTimeout(this[_0x7ee228(0x381)]),this[_0x7ee228(0x381)]=null);}};Ae=Fr([je(0x0,_0x557b7a(_0x5a5437)),je(0x1,_0x557b7a(_0x5e134c)),je(0x2,_0x4e3214),je(0x3,_0x2f9740),je(0x4,_0x88f14),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x4e7919(0x209)]((i+0x100)[_0x4e7919(0x227)](0x10)[_0x4e7919(0x41b)](0x1));function Vr(_0x3c206e,_0x37048c=0x0){const _0x2da91f=_0x4e7919;return(Y[_0x3c206e[_0x37048c+0x0]]+Y[_0x3c206e[_0x37048c+0x1]]+Y[_0x3c206e[_0x37048c+0x2]]+Y[_0x3c206e[_0x37048c+0x3]]+'-'+Y[_0x3c206e[_0x37048c+0x4]]+Y[_0x3c206e[_0x37048c+0x5]]+'-'+Y[_0x3c206e[_0x37048c+0x6]]+Y[_0x3c206e[_0x37048c+0x7]]+'-'+Y[_0x3c206e[_0x37048c+0x8]]+Y[_0x3c206e[_0x37048c+0x9]]+'-'+Y[_0x3c206e[_0x37048c+0xa]]+Y[_0x3c206e[_0x37048c+0xb]]+Y[_0x3c206e[_0x37048c+0xc]]+Y[_0x3c206e[_0x37048c+0xd]]+Y[_0x3c206e[_0x37048c+0xe]]+Y[_0x3c206e[_0x37048c+0xf]])[_0x2da91f(0x176)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x4d1bbf=_0x4e7919;if(!Nt){if(typeof crypto>'u'||!crypto[_0x4d1bbf(0x19d)])throw new Error(_0x4d1bbf(0x3fa));Nt=crypto[_0x4d1bbf(0x19d)][_0x4d1bbf(0x193)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto[_0x4e7919(0x425)]&&crypto[_0x4e7919(0x425)][_0x4e7919(0x193)](crypto),js={'randomUUID':Kr};function zr(_0x488c04,_0x4dd1e6,_0x531596){const _0x451989=_0x4e7919;if(js[_0x451989(0x425)]&&!_0x4dd1e6&&!_0x488c04)return js[_0x451989(0x425)]();_0x488c04=_0x488c04||{};const _0x382610=_0x488c04[_0x451989(0x329)]||(_0x488c04[_0x451989(0xf6)]||Yr)();return _0x382610[0x6]=_0x382610[0x6]&0xf|0x40,_0x382610[0x8]=_0x382610[0x8]&0x3f|0x80,Vr(_0x382610);}var qr=Object['defineProperty'],Xr=Object[_0x4e7919(0x3a9)],Jr=(_0xc49008,_0x1f4278,_0x209646,_0x2f7b8e)=>{for(var _0x5b3b96=_0x2f7b8e>0x1?void 0x0:_0x2f7b8e?Xr(_0x1f4278,_0x209646):_0x1f4278,_0x43ffaa=_0xc49008['length']-0x1,_0x52ee01;_0x43ffaa>=0x0;_0x43ffaa--)(_0x52ee01=_0xc49008[_0x43ffaa])&&(_0x5b3b96=(_0x2f7b8e?_0x52ee01(_0x1f4278,_0x209646,_0x5b3b96):_0x52ee01(_0x5b3b96))||_0x5b3b96);return _0x2f7b8e&&_0x5b3b96&&qr(_0x1f4278,_0x209646,_0x5b3b96),_0x5b3b96;},At=(_0x3b63cb,_0x3c138c)=>(_0x408dc0,_0x37cf4b)=>_0x3c138c(_0x408dc0,_0x37cf4b,_0x3b63cb);function _0x5ed9(_0x2a9333,_0x1ce175){const _0x3f1c13=_0x3f1c();return _0x5ed9=function(_0x5ed994,_0x50fcd4){_0x5ed994=_0x5ed994-0x79;let _0x4a5a84=_0x3f1c13[_0x5ed994];return _0x4a5a84;},_0x5ed9(_0x2a9333,_0x1ce175);}let ft=class{constructor(_0x3deb0c,_0xcfca0,_0x903f4a){const _0x508d8c=_0x4e7919;this[_0x508d8c(0x1e4)]=_0x3deb0c,this[_0x508d8c(0x2ac)]=_0xcfca0,this[_0x508d8c(0x370)]=_0x903f4a;}['transformIMECache'](_0x34c5c0){const _0x9f74d8=_0x4e7919;this[_0x9f74d8(0xc9)](_0x34c5c0),this[_0x9f74d8(0x7d)](_0x34c5c0);}[_0x4e7919(0x309)](_0x4886f8){const _0x2b389b=_0x4e7919,{unitID:_0x1b3441}=_0x4886f8,_0xdd4393=this[_0x2b389b(0x370)][_0x2b389b(0x119)](_0x1b3441)[_0x2b389b(0xb1)](_0x1e7a00),{redoCache:_0x643450}=_0xdd4393[_0x2b389b(0x2f7)]();if(_0x643450[_0x2b389b(0x126)]===0x0)return _0x4886f8;let _0x4970ac=_0x162500['deepClone'](_0x4886f8['mutations'][0x0]);for(let _0x4ea121=0x0;_0x4ea121<_0x643450[_0x2b389b(0x126)];_0x4ea121++){const _0x50f094={'id':'doc.mutation.rich-text-editing','params':{..._0x643450[_0x4ea121]}},_0x31cb3e=this[_0x2b389b(0x2ac)]['transformMutation'](_0x4970ac,_0x50f094,!0x1);if(_0x5bbb53(_0x31cb3e))throw _0x31cb3e[_0x2b389b(0x24d)];_0x4970ac=_0x31cb3e[_0x2b389b(0x19b)];}return{..._0x162500[_0x2b389b(0x2cb)](_0x4886f8),'mutations':[_0x4970ac]};}[_0x4e7919(0xc9)](_0x57ff25){const _0x1bf034=_0x4e7919,{unitID:_0x6f246e}=_0x57ff25,_0x3acf5a=this[_0x1bf034(0x370)]['getRenderById'](_0x6f246e)[_0x1bf034(0xb1)](_0x1e7a00),{undoCache:_0xa1fc21,redoCache:_0x1bd39c}=_0x3acf5a[_0x1bf034(0x2f7)]();if(_0xa1fc21['length']===0x0||_0x1bd39c[_0x1bf034(0x126)]===0x0)return;const _0x2c174c=[],_0x3c1033=[];let _0x520378=_0x162500[_0x1bf034(0x2cb)](_0x57ff25[_0x1bf034(0x13b)][0x0]),_0x585961=_0x162500[_0x1bf034(0x2cb)](_0x57ff25[_0x1bf034(0x13b)][0x0]);for(let _0x4c15fc=_0xa1fc21['length']-0x1;_0x4c15fc>=0x0;_0x4c15fc--){const _0x112c1c={'id':_0x1bf034(0x3b8),'params':{..._0xa1fc21[_0x4c15fc]}},_0x414a10={'id':'doc.mutation.rich-text-editing','params':{..._0x1bd39c[_0x4c15fc]}},_0x16a3b0=this[_0x1bf034(0x2ac)][_0x1bf034(0x132)](_0x520378,_0x112c1c,!0x1),_0x3c4d57=this[_0x1bf034(0x2ac)]['transformMutation'](_0x585961,_0x414a10,!0x1);if(_0x5bbb53(_0x16a3b0))throw _0x16a3b0[_0x1bf034(0x24d)];if(_0x5bbb53(_0x3c4d57))throw _0x3c4d57[_0x1bf034(0x24d)];_0x2c174c['unshift'](_0x16a3b0['m2Prime']['params']),_0x3c1033['unshift'](_0x3c4d57[_0x1bf034(0xca)]['params']),_0x520378=_0x16a3b0[_0x1bf034(0x19b)],_0x585961=_0x3c4d57['m1Prime'];}_0x3acf5a[_0x1bf034(0x322)]({'undoCache':_0x2c174c,'redoCache':_0x3c1033});}[_0x4e7919(0x7d)](_0x2af36b){const _0x3f8db3=_0x4e7919,{unitID:_0x28e00f}=_0x2af36b,_0xdeb473=this[_0x3f8db3(0x370)]['getRenderById'](_0x28e00f)['with'](_0x1e7a00),_0x2037a8=_0xdeb473['getActiveRange']();if(_0x2037a8==null)return;const _0x100a17=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2af36b[_0x3f8db3(0x8b)],'actions':null,'textRanges':[_0x2037a8]}}],_0x1b4d3c=this[_0x3f8db3(0x2ac)]['transformMutationsWithChangeset'](_0x2af36b,_0x100a17);if(!_0x26df4b(_0x1b4d3c))throw _0x1b4d3c['error'];const _0x8445f6=_0x1b4d3c['m2Prime'][0x0][_0x3f8db3(0x244)][_0x3f8db3(0x21d)];Array[_0x3f8db3(0x1a9)](_0x8445f6)&&_0x8445f6['length']&&_0xdeb473['setActiveRange'](_0x8445f6[0x0]);}};ft=Jr([At(0x0,_0x557b7a(_0x5a5437)),At(0x1,_0xd1dd82),At(0x2,_0x9b882e)],ft);var Zr=Object[_0x4e7919(0x13e)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x156201,_0x1cfb38,_0x8cabc6,_0x18052c)=>{for(var _0x1e33e9=_0x18052c>0x1?void 0x0:_0x18052c?Qr(_0x1cfb38,_0x8cabc6):_0x1cfb38,_0x3fa3c8=_0x156201['length']-0x1,_0x4e31df;_0x3fa3c8>=0x0;_0x3fa3c8--)(_0x4e31df=_0x156201[_0x3fa3c8])&&(_0x1e33e9=(_0x18052c?_0x4e31df(_0x1cfb38,_0x8cabc6,_0x1e33e9):_0x4e31df(_0x1e33e9))||_0x1e33e9);return _0x18052c&&_0x1e33e9&&Zr(_0x1cfb38,_0x8cabc6,_0x1e33e9),_0x1e33e9;},Xe=(_0x95e841,_0x14a98b)=>(_0xfec21a,_0x5b1c49)=>_0x14a98b(_0xfec21a,_0x5b1c49,_0x95e841);let q=class extends _0x4b38ce{constructor(_0x232f7a,_0xaf094a,_0x5ba666,_0xeea177,_0x20ee45){const _0x14decd=_0x4e7919;super(),g(this,'_cachedData',new Map()),g(this,_0x14decd(0x1bf),new Map()),g(this,'_disabled',!0x1),(this[_0x14decd(0x1f4)]=_0x232f7a,this[_0x14decd(0x436)]=_0xaf094a,this['_beforeCloseService']=_0x5ba666,this[_0x14decd(0x238)]=_0xeea177,this[_0x14decd(0xf9)]=_0x20ee45,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x5def6e=_0x4e7919;this[_0x5def6e(0x167)]=!0x0;}[_0x4e7919(0x446)](){const _0xad988b=_0x4e7919;this[_0xad988b(0x167)]=!0x1;}[_0x4e7919(0xc0)](){const _0xd0441e=_0x4e7919;this['exhaustSavingTask']()['then'](()=>super[_0xd0441e(0xc0)]());}async[_0x4e7919(0x281)](_0xfc2038){const _0x17fa0a=_0x4e7919;return this[_0x17fa0a(0x167)]?null:this['_localStorageService'][_0x17fa0a(0xe1)](Bs(_0xfc2038));}async[_0x4e7919(0x247)](_0x3b18df,_0x1aa42c){const _0x3f72aa=_0x4e7919;return!!this[_0x3f72aa(0x436)]['setItem'](_0x3b18df,_0x1aa42c);}[_0x4e7919(0x357)](_0x455f80,_0x5d1e97,_0x581b01,_0x555efd){const _0x2dc171=_0x4e7919,_0x13760c=this[_0x2dc171(0xf9)][_0x2dc171(0x344)](_0x455f80);this[_0x2dc171(0x2a1)]['set'](_0x455f80,{'unitID':_0x455f80,'type':_0x5d1e97,'awaitingChangeset':_0x581b01,'mutations':_0x555efd,'rev':_0x13760c}),this[_0x2dc171(0x1bf)]['has'](_0x455f80)||this[_0x2dc171(0x179)](_0x455f80);}[_0x4e7919(0x179)](_0xd40fb0){const _0xc74e91=_0x4e7919,_0x2b2913=this[_0xc74e91(0xc8)]();_0x2b2913===0x0?this[_0xc74e91(0x1d8)](_0xd40fb0):this[_0xc74e91(0x1bf)][_0xc74e91(0x2a0)](_0xd40fb0,setTimeout(()=>this[_0xc74e91(0x1d8)](_0xd40fb0),_0x2b2913));}[_0x4e7919(0xc8)](){const _0x5566e0=_0x4e7919;var _0x222453;return(_0x222453=this[_0x5566e0(0x1f4)][_0x5566e0(0x2a3)](Sr))!=null?_0x222453:Ir;}[_0x4e7919(0x1d8)](_0x57a61b){const _0x95fe7f=_0x4e7919,_0x3c194d=this[_0x95fe7f(0x1bf)][_0x95fe7f(0x16e)](_0x57a61b);return _0x3c194d!==void 0x0&&window[_0x95fe7f(0x228)](_0x3c194d),this['_localStorageService'][_0x95fe7f(0x354)](Bs(_0x57a61b),this[_0x95fe7f(0x2a1)]['get'](_0x57a61b))[_0x95fe7f(0x86)](()=>this[_0x95fe7f(0x1bf)][_0x95fe7f(0x15f)](_0x57a61b));}async[_0x4e7919(0x451)](){const _0x5c4de0=_0x4e7919,_0x132fc1=[];this[_0x5c4de0(0x1bf)]['forEach']((_0x1e71ab,_0x342b4f)=>{const _0x3e3ceb=_0x5c4de0;window[_0x3e3ceb(0x228)](_0x1e71ab),_0x132fc1[_0x3e3ceb(0x209)](this[_0x3e3ceb(0x1d8)](_0x342b4f)['then'](()=>{const _0x5324fd=_0x3e3ceb;this['_saveTaskMap'][_0x5324fd(0x15f)](_0x342b4f);}));}),await Promise[_0x5c4de0(0x16c)](_0x132fc1);}[_0x4e7919(0x304)](){const _0x992325=_0x4e7919;this['disposeWithMe'](this[_0x992325(0xda)][_0x992325(0xd7)](()=>{const _0x3faa4e=_0x992325;if(this[_0x3faa4e(0x1bf)][_0x3faa4e(0x277)])return this[_0x3faa4e(0x238)]['t'](_0x3faa4e(0x22e));}));}};q=eo([Xe(0x0,_0x88f14),Xe(0x1,_0x3f82b2),Xe(0x2,_0x507e18),Xe(0x3,_0x557b7a(_0x5e134c)),Xe(0x4,_0x557b7a(_0x39bde1))],q);function Bs(_0x199077){return'unit-cache-'+_0x199077;}var to=Object['defineProperty'],so=Object[_0x4e7919(0x3a9)],io=(_0x51ff30,_0x409ccf,_0xb7db37,_0x71c8a7)=>{const _0x6197ba=_0x4e7919;for(var _0x1a0884=_0x71c8a7>0x1?void 0x0:_0x71c8a7?so(_0x409ccf,_0xb7db37):_0x409ccf,_0x5bdbb4=_0x51ff30[_0x6197ba(0x126)]-0x1,_0x61a701;_0x5bdbb4>=0x0;_0x5bdbb4--)(_0x61a701=_0x51ff30[_0x5bdbb4])&&(_0x1a0884=(_0x71c8a7?_0x61a701(_0x409ccf,_0xb7db37,_0x1a0884):_0x61a701(_0x1a0884))||_0x1a0884);return _0x71c8a7&&_0x1a0884&&to(_0x409ccf,_0xb7db37,_0x1a0884),_0x1a0884;},Mt=(_0x4fbf0b,_0x1ce87b)=>(_0x5da8a8,_0x57c861)=>_0x1ce87b(_0x5da8a8,_0x57c861,_0x4fbf0b);function no(_0x4b0584){const _0x353a2b=_0x4e7919,{unitID:_0x37b034,mutations:_0xe3996f}=_0x4b0584;return{'unitId':_0x37b034,'subUnitId':_0xe3996f[0x0][_0x353a2b(0x244)][_0x353a2b(0xd5)]};}let vt=class{constructor(_0x17aec7,_0x5e41c1,_0x4252c1){const _0x3c31e6=_0x4e7919;this[_0x3c31e6(0x1e4)]=_0x17aec7,this['_transformService']=_0x5e41c1,this[_0x3c31e6(0x32a)]=_0x4252c1;}[_0x4e7919(0x12d)](_0xa8c4aa){const _0x46b8b8=_0x4e7919;var _0x2b77c4,_0x5fdf94,_0x5291da,_0x236fad;const _0x1406bf=this['_injector'][_0x46b8b8(0x16e)](_0x36bb55),{unitId:_0x184260,subUnitId:_0x59e28b}=no(_0xa8c4aa),_0x124281=_0x1406bf[_0x46b8b8(0x1e9)](_0x184260)['getCurrentSelections'](),_0x170c68=(_0x5fdf94=(_0x2b77c4=this[_0x46b8b8(0x32a)]['getUnit'](_0x184260))==null?void 0x0:_0x2b77c4['getActiveSheet']())==null?void 0x0:_0x5fdf94[_0x46b8b8(0x201)]();if(_0x124281[_0x46b8b8(0x126)]===0x0||!_0x184260||!_0x59e28b)return;const _0x3d67bf=[{'id':_0x3d4acc['id'],'params':{'unitId':_0x184260,'subUnitId':_0x170c68,'selections':_0x162500['deepClone'](_0x124281)}}],_0xf9a18e=this['_transformService'][_0x46b8b8(0x214)](_0xa8c4aa,_0x3d67bf);if(!_0x26df4b(_0xf9a18e))throw _0xf9a18e[_0x46b8b8(0x24d)];const _0x1bb99a=(_0x236fad=(_0x5291da=_0xf9a18e[_0x46b8b8(0xca)][0x0])==null?void 0x0:_0x5291da[_0x46b8b8(0x244)])==null?void 0x0:_0x236fad[_0x46b8b8(0x107)];if(Array[_0x46b8b8(0x1a9)](_0x1bb99a)&&_0x1bb99a['length']){if(_0x1bb99a[_0x46b8b8(0x126)]===_0x3d67bf[0x0][_0x46b8b8(0x244)][_0x46b8b8(0x107)][_0x46b8b8(0x126)]&&_0x1bb99a[_0x46b8b8(0x1f3)]((_0x36af3e,_0x3ebb82)=>_0x1b7c4d[_0x46b8b8(0x401)](_0x36af3e[_0x46b8b8(0xa5)],_0x3d67bf[0x0]['params'][_0x46b8b8(0x107)][_0x3ebb82][_0x46b8b8(0xa5)])))return;this['_injector']['get'](_0x37f6d3)['executeCommand'](_0x3d4acc['id'],{'unitId':_0x184260,'subUnitId':_0x170c68,'selections':_0x1bb99a});}}};vt=io([Mt(0x0,_0x557b7a(_0x5a5437)),Mt(0x1,_0xd1dd82),Mt(0x2,_0x5e27bc)],vt);const Rt=_0x20f251('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x245c6b=>(_0x245c6b[_0x245c6b[_0x4e7919(0x470)]=0x0]=_0x4e7919(0x470),_0x245c6b[_0x245c6b[_0x4e7919(0x1b6)]=0x1]=_0x4e7919(0x1b6),_0x245c6b))(Di||{});const ks=0x7530,Ws=_0x4e7919(0x3c7);class ro extends _0x4b38ce{constructor(){const _0x2e8395=_0x4e7919;super(),g(this,'_id',_0x162500['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x2e8395(0x22b),new Map()),g(this,_0x2e8395(0xf4),null),g(this,_0x2e8395(0x1cd),new Map()),g(this,_0x2e8395(0x144),new Map()),this['_init']();}[_0x4e7919(0xc0)](){const _0xc7b2d6=_0x4e7919;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x4dcf18,_0x289a20)=>this['_removeClearOtherTimer'](_0x289a20)),this[_0xc7b2d6(0xf4)]&&window[_0xc7b2d6(0x3c5)](this[_0xc7b2d6(0xf4)]);}[_0x4e7919(0x31d)](_0x2b25a9){const _0x4da8a9=_0x4e7919;return this[_0x4da8a9(0x26c)](_0x2b25a9)[_0x4da8a9(0x210)](_0x3783a1());}[_0x4e7919(0x91)](_0x39aa36){const _0x2d1a21=_0x4e7919;this[_0x2d1a21(0x299)][_0x2d1a21(0x277)]===0x0&&this[_0x2d1a21(0x177)](),this['_selfUnitIDs']['add'](_0x39aa36),this[_0x2d1a21(0x172)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x39aa36],'isForwarded':!0x1});}['disposeUnit'](_0x550f0d){const _0x207eb7=_0x4e7919;this['_selfUnitIDs'][_0x207eb7(0x15f)](_0x550f0d),this[_0x207eb7(0x299)][_0x207eb7(0x277)]===0x0&&this[_0x207eb7(0xf4)]&&window[_0x207eb7(0x3c5)](this[_0x207eb7(0xf4)]);}[_0x4e7919(0x350)](){const _0x336035=_0x4e7919;this[_0x336035(0xb0)](_0x290028(_0xf4893f(window,'storage')[_0x336035(0x1f1)](_0x209325=>{const _0x17e19f=_0x336035;if(_0x209325[_0x17e19f(0x1a7)]!==Ws||!_0x209325[_0x17e19f(0x449)])return;const _0x2bb2e2=JSON['parse'](_0x209325[_0x17e19f(0x449)]);this['_handleEvent'](_0x2bb2e2);}))),window['addEventListener'](_0x336035(0x26d),()=>this[_0x336035(0x172)]({'type':0x1,'memberID':this[_0x336035(0x10e)],'unitIDs':Array[_0x336035(0x468)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x3523cb){const _0x5eb53c=_0x4e7919;switch(_0x3523cb[_0x5eb53c(0x195)]){case 0x0:this['_handleJoinEvent'](_0x3523cb);break;case 0x1:this[_0x5eb53c(0x2e7)](_0x3523cb);break;case 0x2:this[_0x5eb53c(0x442)](_0x3523cb);break;}}[_0x4e7919(0x1cb)](_0x2e1d92){const _0x541865=_0x4e7919,{unitIDs:_0x9ef486,memberID:_0x8ea333,isForwarded:_0xf01df5}=_0x2e1d92;_0x9ef486[_0x541865(0x21b)](_0x43d5b5=>{const _0x307df2=_0x541865;if(!_0xf01df5&&this[_0x307df2(0x22b)][_0x307df2(0x297)](_0x43d5b5)&&this[_0x307df2(0x26c)](_0x43d5b5)[_0x307df2(0x409)](0x1),!this[_0x307df2(0x22b)][_0x307df2(0x297)](_0x43d5b5)||!this[_0x307df2(0x22b)][_0x307df2(0x16e)](_0x43d5b5)['has'](_0x8ea333)){const _0x3fd36d=this[_0x307df2(0x22b)]['get'](_0x43d5b5)||new Set();_0x3fd36d[_0x307df2(0x2dc)](_0x8ea333),this[_0x307df2(0x22b)][_0x307df2(0x2a0)](_0x43d5b5,_0x3fd36d),this[_0x307df2(0x34a)](_0x8ea333);}}),_0xf01df5||this[_0x541865(0x172)]({'type':0x0,'memberID':this[_0x541865(0x10e)],'unitIDs':[...this[_0x541865(0x299)]],'isForwarded':!0x0});}[_0x4e7919(0x34a)](_0x8b97cc){this['_removeClearOtherTimer'](_0x8b97cc);const _0x4178c8=window['setTimeout'](()=>{const _0xce5081=_0x5ed9;this['_unitOnClients'][_0xce5081(0x21b)](_0x456491=>{_0x456491['delete'](_0x8b97cc);});},ks*0x2);this['_clearOtherTimers']['set'](_0x8b97cc,_0x4178c8);}[_0x4e7919(0xae)](_0x12c216){const _0x148e9d=_0x4e7919;if(this[_0x148e9d(0x1cd)][_0x148e9d(0x297)](_0x12c216)){const _0x492154=this[_0x148e9d(0x1cd)][_0x148e9d(0x16e)](_0x12c216);_0x492154&&window['clearTimeout'](_0x492154),this['_clearOtherTimers']['set'](_0x12c216,null);}}['_handleLeaveEvent'](_0x1e6c37){const _0x585d60=_0x4e7919,{memberID:_0x4a1eb1,unitIDs:_0x52d606}=_0x1e6c37;_0x52d606[_0x585d60(0x21b)](_0x1e1b05=>{const _0x2cef52=_0x585d60;var _0x4fa32f;const _0x18bf4e=this['_unitOnClients'][_0x2cef52(0x16e)](_0x1e1b05);_0x18bf4e&&(_0x18bf4e[_0x2cef52(0x15f)](_0x4a1eb1),(_0x4fa32f=this['_ensureSubject'](_0x1e1b05))==null||_0x4fa32f[_0x2cef52(0x409)](_0x18bf4e['size']===0x0?0x0:0x1));}),this[_0x585d60(0xae)](_0x4a1eb1);}['_handleHeartbeatEvent'](_0x524a43){const _0x497f65=_0x4e7919;this[_0x497f65(0x34a)](_0x524a43[_0x497f65(0x20a)]);}[_0x4e7919(0x172)](_0x3cf1d1){localStorage['setItem'](Ws,JSON['stringify'](_0x3cf1d1));}[_0x4e7919(0x177)](){const _0x534e59=_0x4e7919;this[_0x534e59(0xf4)]=window[_0x534e59(0x1d1)](()=>{const _0x345e0a=_0x534e59;this[_0x345e0a(0x172)]({'type':0x2,'memberID':this['_id']});},ks);}[_0x4e7919(0x26c)](_0x4d82fa){const _0x3c746a=_0x4e7919;return this['_unitStatus'][_0x3c746a(0x297)](_0x4d82fa)||this[_0x3c746a(0x144)][_0x3c746a(0x2a0)](_0x4d82fa,new _0x524b68(0x0)),this[_0x3c746a(0x144)]['get'](_0x4d82fa);}}var oo=Object['defineProperty'],ao=Object[_0x4e7919(0x3a9)],co=(_0x3adc92,_0x2ef3e6,_0x32f0c2,_0x10ff3d)=>{for(var _0x372406=_0x10ff3d>0x1?void 0x0:_0x10ff3d?ao(_0x2ef3e6,_0x32f0c2):_0x2ef3e6,_0xe32d28=_0x3adc92['length']-0x1,_0x18b163;_0xe32d28>=0x0;_0xe32d28--)(_0x18b163=_0x3adc92[_0xe32d28])&&(_0x372406=(_0x10ff3d?_0x18b163(_0x2ef3e6,_0x32f0c2,_0x372406):_0x18b163(_0x372406))||_0x372406);return _0x10ff3d&&_0x372406&&oo(_0x2ef3e6,_0x32f0c2,_0x372406),_0x372406;},xt=(_0x21ca0b,_0x3eae25)=>(_0x141f05,_0x3ef763)=>_0x3eae25(_0x141f05,_0x3ef763,_0x21ca0b);let mt=class{constructor(_0x2f47c3,_0x216f14,_0x38d536){const _0x53cafb=_0x4e7919;this[_0x53cafb(0x1e4)]=_0x2f47c3,this[_0x53cafb(0x2ac)]=_0x216f14,this['_docStateChangeManagerService']=_0x38d536;}[_0x4e7919(0x39c)](_0x2de3b7){const _0xe041ee=_0x4e7919;this[_0xe041ee(0x1c2)](_0x2de3b7);}[_0x4e7919(0x309)](_0x2d8a18){const _0x15c48a=_0x4e7919,{unitID:_0x30bf4b}=_0x2d8a18,{collaboration:_0x36e429}=this[_0x15c48a(0x2a2)]['getStateCache'](_0x30bf4b);if(_0x36e429['length']===0x0)return _0x2d8a18;let _0x54ff19=_0x162500[_0x15c48a(0x2cb)](_0x2d8a18[_0x15c48a(0x13b)][0x0]);for(let _0x5bc142=0x0;_0x5bc142<_0x36e429[_0x15c48a(0x126)];_0x5bc142++){const _0x49ab35={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36e429[_0x5bc142]['unitId'],..._0x36e429[_0x5bc142][_0x15c48a(0x158)]}},_0x27d828=this[_0x15c48a(0x2ac)][_0x15c48a(0x132)](_0x54ff19,_0x49ab35,!0x1);if(_0x5bbb53(_0x27d828))throw _0x27d828[_0x15c48a(0x24d)];_0x54ff19=_0x27d828[_0x15c48a(0x19b)];}return{..._0x162500[_0x15c48a(0x2cb)](_0x2d8a18),'mutations':[_0x54ff19]};}[_0x4e7919(0x1c2)](_0x4a4dae){const _0x2831f7=_0x4e7919,{unitID:_0x4a6ff6}=_0x4a4dae,{history:_0x2ad44d,collaboration:_0x4cd9ba}=this['_docStateChangeManagerService'][_0x2831f7(0x18e)](_0x4a6ff6);if(_0x2ad44d['length']===0x0&&_0x4cd9ba[_0x2831f7(0x126)]===0x0)return;const _0x3fdfe0=[],_0xf38ae2=[];let _0x3dd16=_0x162500[_0x2831f7(0x2cb)](_0x4a4dae[_0x2831f7(0x13b)][0x0]),_0x28c0cf=_0x162500[_0x2831f7(0x2cb)](_0x4a4dae[_0x2831f7(0x13b)][0x0]);for(let _0x5be456=_0x2ad44d[_0x2831f7(0x126)]-0x1;_0x5be456>=0x0;_0x5be456--){const _0x425087={'id':_0x2831f7(0x3b8),'params':{'unitId':_0x2ad44d[_0x5be456][_0x2831f7(0x3e7)],..._0x2ad44d[_0x5be456][_0x2831f7(0xe5)]}},_0x47697a={'id':_0x2831f7(0x3b8),'params':{'unitId':_0x2ad44d[_0x5be456][_0x2831f7(0x3e7)],..._0x2ad44d[_0x5be456][_0x2831f7(0x158)]}},_0x287ca3=this['_transformService'][_0x2831f7(0x132)](_0x3dd16,_0x425087,!0x1),_0x233b54=this['_transformService'][_0x2831f7(0x132)](_0x28c0cf,_0x47697a,!0x1);if(_0x5bbb53(_0x287ca3))throw _0x287ca3['error'];if(_0x5bbb53(_0x233b54))throw _0x233b54[_0x2831f7(0x24d)];_0x3fdfe0[_0x2831f7(0x495)]({..._0x2ad44d[_0x5be456],'undoState':_0x287ca3[_0x2831f7(0xca)][_0x2831f7(0x244)],'redoState':_0x233b54[_0x2831f7(0xca)]['params']}),_0x3dd16=_0x287ca3[_0x2831f7(0x19b)],_0x28c0cf=_0x233b54['m1Prime'];}_0x3dd16=_0x162500[_0x2831f7(0x2cb)](_0x4a4dae[_0x2831f7(0x13b)][0x0]),_0x28c0cf=_0x162500[_0x2831f7(0x2cb)](_0x4a4dae[_0x2831f7(0x13b)][0x0]);for(let _0x328564=_0x4cd9ba['length']-0x1;_0x328564>=0x0;_0x328564--){const _0x18e2e8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cd9ba[_0x328564]['unitId'],..._0x4cd9ba[_0x328564][_0x2831f7(0xe5)]}},_0x16275e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cd9ba[_0x328564][_0x2831f7(0x3e7)],..._0x4cd9ba[_0x328564][_0x2831f7(0x158)]}},_0x116bb1=this[_0x2831f7(0x2ac)][_0x2831f7(0x132)](_0x3dd16,_0x18e2e8,!0x1),_0x486f5b=this[_0x2831f7(0x2ac)][_0x2831f7(0x132)](_0x28c0cf,_0x16275e,!0x1);if(_0x5bbb53(_0x116bb1))throw _0x116bb1[_0x2831f7(0x24d)];if(_0x5bbb53(_0x486f5b))throw _0x486f5b['error'];_0xf38ae2[_0x2831f7(0x495)]({..._0x4cd9ba[_0x328564],'undoState':_0x116bb1[_0x2831f7(0xca)][_0x2831f7(0x244)],'redoState':_0x486f5b[_0x2831f7(0xca)]['params']}),_0x3dd16=_0x116bb1[_0x2831f7(0x19b)],_0x28c0cf=_0x486f5b[_0x2831f7(0x19b)];}this['_docStateChangeManagerService'][_0x2831f7(0x312)](_0x4a6ff6,{'history':_0x3fdfe0,'collaboration':_0xf38ae2});}};mt=co([xt(0x0,_0x557b7a(_0x5a5437)),xt(0x1,_0xd1dd82),xt(0x2,_0x557b7a(_0x39f3d6))],mt);function Pi(_0x4a4b98){const _0x209893=_0x4e7919;let _0x313465='';for(const _0x566046 of _0x4a4b98){const {startOffset:_0x3b05ae,endOffset:_0x1f8219,isActive:_0x24c812,rangeType:_0x53469d,segmentId:_0x269289,segmentPage:_0x337e32}=_0x566046;_0x313465[_0x209893(0x126)]&&(_0x313465+=','),_0x313465+=_0x3b05ae+':'+_0x1f8219+':'+(_0x24c812?'1':'0')+':'+_0x53469d+':'+_0x269289+':'+_0x337e32;}return _0x313465;}function ho(_0x4fc96d){const _0x295a5b=_0x4e7919,_0x4f18e5=_0x4fc96d[_0x295a5b(0x33d)](','),_0x115add=[];for(const _0x59deb2 of _0x4f18e5){const [_0x4e1bff,_0x41c64f,_0xd38702,_0x36e5f5,_0x33db89,_0x47bcc8]=_0x59deb2[_0x295a5b(0x33d)](':');_0x115add['push']({'startOffset':Number(_0x4e1bff),'endOffset':Number(_0x41c64f),'collapsed':_0x4e1bff===_0x41c64f,'isActive':_0xd38702==='1','rangeType':_0x36e5f5===_0x5c08e3['TEXT']?_0x5c08e3[_0x295a5b(0x8d)]:_0x5c08e3['RECT'],'segmentId':typeof _0x33db89=='string'?String(_0x33db89):'','segmentPage':Number(_0x47bcc8!=null?_0x47bcc8:-0x1)});}return _0x115add['some'](_0x59b065=>_0x59b065['isActive'])||(_0x115add[0x0][_0x295a5b(0x3b3)]=!0x0),_0x115add;}class Cs extends _0x15900e{constructor(){const _0x17e6ee=_0x4e7919;super(...arguments),g(this,_0x17e6ee(0x21f),new _0x524b68(null)),g(this,'collabCursorState$',this[_0x17e6ee(0x21f)][_0x17e6ee(0x180)]());}[_0x4e7919(0x2ed)](_0x24d806){const _0x28b462=_0x4e7919,{unitID:_0x14075e,memberID:_0x30cd00,textRanges:_0x37207d}=_0x24d806,_0x486eff=Pi(_0x37207d);if(_0x486eff==='')return;const _0x22f54c={'unitID':_0x14075e,'memberID':_0x30cd00,'selection':_0x486eff};this[_0x28b462(0x21f)]['next'](_0x22f54c);}}var lo=Object[_0x4e7919(0x13e)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x2614f6,_0x41b530,_0x5b819b,_0xd8c758)=>{const _0x198ae6=_0x4e7919;for(var _0x187371=_0xd8c758>0x1?void 0x0:_0xd8c758?_o(_0x41b530,_0x5b819b):_0x41b530,_0x49c4c5=_0x2614f6[_0x198ae6(0x126)]-0x1,_0x3b6016;_0x49c4c5>=0x0;_0x49c4c5--)(_0x3b6016=_0x2614f6[_0x49c4c5])&&(_0x187371=(_0xd8c758?_0x3b6016(_0x41b530,_0x5b819b,_0x187371):_0x3b6016(_0x187371))||_0x187371);return _0xd8c758&&_0x187371&&lo(_0x41b530,_0x5b819b,_0x187371),_0x187371;},Fs=(_0x864e23,_0x8fd370)=>(_0x3cbd44,_0x57fe4b)=>_0x8fd370(_0x3cbd44,_0x57fe4b,_0x864e23);let pt=class{constructor(_0x1aa793,_0x20810e){const _0x3638af=_0x4e7919;this[_0x3638af(0x1e4)]=_0x1aa793,this[_0x3638af(0x2ac)]=_0x20810e;}['transformSelections'](_0x132252){const _0xfadebe=_0x4e7919;var _0x398d3b;const _0x35824a=this[_0xfadebe(0x1e4)][_0xfadebe(0x16e)](_0x5c70ee),_0x52dcc8=(_0x398d3b=_0x35824a[_0xfadebe(0x1bb)]())!=null?_0x398d3b:[];if(_0x52dcc8[_0xfadebe(0x126)]===0x0)return;const _0x35a28e=_0x132252['unitID'],_0x40faf7=[{'id':_0xfadebe(0x3b8),'params':{'unitId':_0x35a28e,'actions':null,'textRanges':_0x52dcc8}}],_0x125cbd=this[_0xfadebe(0x2ac)]['transformMutationsWithChangeset'](_0x132252,_0x40faf7);if(!_0x26df4b(_0x125cbd))throw _0x125cbd[_0xfadebe(0x24d)];const _0xd52052=_0x125cbd[_0xfadebe(0xca)][0x0]['params'][_0xfadebe(0x21d)];Array[_0xfadebe(0x1a9)](_0xd52052)&&_0xd52052['length']&&_0x35824a[_0xfadebe(0x10a)](_0xd52052,{'unitId':_0x35a28e,'subUnitId':_0x35a28e},!0x1);}};pt=uo([Fs(0x0,_0x557b7a(_0x5a5437)),Fs(0x1,_0xd1dd82)],pt);const fo=new Set([_0x5f5608['id']]);function Vs(_0x2d2b52,_0x28dfc7,_0x584b5a,_0x53c41b,_0x1ac79b){const _0x9b6a1b=_0x4e7919;var _0x449385,_0x1747d9,_0xe05b57,_0x68ea71;const _0x5c0973=[];for(const _0x249be2 of _0x2d2b52)if(fo[_0x9b6a1b(0x297)](_0x249be2['id'])){if(_0x5c0973[_0x9b6a1b(0x126)]>0x0)break;_0x5c0973[_0x9b6a1b(0x209)](_0x249be2);break;}else _0x5c0973[_0x9b6a1b(0x209)](_0x249be2);const _0x299671=(_0x1747d9=(_0x449385=_0x1ac79b[_0x9b6a1b(0x3c4)]())==null?void 0x0:_0x449385[_0x9b6a1b(0x342)])!=null?_0x1747d9:_0x9b6a1b(0x2d5),_0x404ccd=(_0x68ea71=(_0xe05b57=_0x1ac79b[_0x9b6a1b(0x3c4)]())==null?void 0x0:_0xe05b57[_0x9b6a1b(0x20a)])!=null?_0x68ea71:_0x9b6a1b(0x2d5);return{'changeset':{'unitID':_0x28dfc7,'type':_0x556ed2(_0x584b5a[_0x9b6a1b(0x307)](_0x28dfc7)),'baseRev':_0x53c41b['getCurrentRevOfUnit'](_0x28dfc7),'revision':0x0,'userID':_0x299671,'memberID':_0x404ccd,'mutations':_0x5c0973},'pendingMutations':_0x2d2b52[_0x9b6a1b(0x41b)](_0x5c0973[_0x9b6a1b(0x126)])};}function vo(_0xeebbed,_0x8b7834,_0x40b924,_0x2e7cd6,_0x72e4e9){const _0x110ffc=_0x4e7919;var _0x2c06d1,_0x542b7b,_0x46fcc3,_0x26286e;const _0xa2bd36=[_0xeebbed[_0x110ffc(0x16b)]((_0x13dac2,_0x45a45a)=>{const _0x11b9c5=_0x110ffc;var _0x186472;const {id:_0x40f916}=_0x13dac2,{id:_0x20d632,type:_0x45fcd5}=_0x45a45a,_0x1ff2a3=(_0x186472=_0x13dac2[_0x11b9c5(0x244)])!=null?_0x186472:{'actions':null},_0x14d74e=_0x45a45a[_0x11b9c5(0x244)];if(_0x40f916&&_0x40f916!==_0x20d632)throw new Error(_0x11b9c5(0x39b)+_0x40f916+_0x11b9c5(0xcc)+_0x20d632+'.');return{..._0x13dac2,'id':_0x20d632,'type':_0x45fcd5,'params':{'unitId':_0x14d74e[_0x11b9c5(0x3e7)],'textRanges':_0x14d74e[_0x11b9c5(0x21d)],'actions':_0xc3f172[_0x11b9c5(0x43d)](_0x1ff2a3[_0x11b9c5(0x367)],_0x14d74e[_0x11b9c5(0x367)])}};},{})],_0x28e68e=(_0x542b7b=(_0x2c06d1=_0x72e4e9['getCurrentUser']())==null?void 0x0:_0x2c06d1['userID'])!=null?_0x542b7b:_0x110ffc(0x2d5),_0x1c5006=(_0x26286e=(_0x46fcc3=_0x72e4e9[_0x110ffc(0x3c4)]())==null?void 0x0:_0x46fcc3[_0x110ffc(0x20a)])!=null?_0x26286e:_0x110ffc(0x2d5);return{'changeset':{'unitID':_0x8b7834,'type':_0x556ed2(_0x40b924[_0x110ffc(0x307)](_0x8b7834)),'baseRev':_0x2e7cd6[_0x110ffc(0x344)](_0x8b7834),'revision':0x0,'userID':_0x28e68e,'memberID':_0x1c5006,'mutations':_0xa2bd36},'pendingMutations':[]};}function Ui(_0x585a61,_0x15cb13){const _0x3b2f7f=_0x4e7919,_0x16c2dc=new _0x24a41e(0x1);return setTimeout(()=>_0x16c2dc[_0x3b2f7f(0x409)](_0x15cb13),_0x585a61),_0x16c2dc[_0x3b2f7f(0x180)]()['pipe'](_0xb3cf89(0x1));}const mo={'id':_0x67b7f2['id'],'type':_0x2809bc[_0x4e7919(0x140)],'params':{}};var po=Object[_0x4e7919(0x13e)],go=Object[_0x4e7919(0x3a9)],Le=(_0x3b2d89,_0x19db42,_0x17be02,_0x54dc2)=>{for(var _0x5e7f61=_0x54dc2>0x1?void 0x0:_0x54dc2?go(_0x19db42,_0x17be02):_0x19db42,_0x224d59=_0x3b2d89['length']-0x1,_0x2b3bfe;_0x224d59>=0x0;_0x224d59--)(_0x2b3bfe=_0x3b2d89[_0x224d59])&&(_0x5e7f61=(_0x54dc2?_0x2b3bfe(_0x19db42,_0x17be02,_0x5e7f61):_0x2b3bfe(_0x5e7f61))||_0x5e7f61);return _0x54dc2&&_0x5e7f61&&po(_0x19db42,_0x17be02,_0x5e7f61),_0x5e7f61;},A=(_0x1bb021,_0x30e465)=>(_0x8e143,_0x1a3757)=>_0x30e465(_0x8e143,_0x1a3757,_0x1bb021),J=(_0x142ae4=>(_0x142ae4['NOT_COLLAB']=_0x4e7919(0x2b7),_0x142ae4['SYNCED']=_0x4e7919(0x2f1),_0x142ae4[_0x4e7919(0x3aa)]=_0x4e7919(0x85),_0x142ae4[_0x4e7919(0x289)]='awaiting',_0x142ae4[_0x4e7919(0x1c7)]='awaiting_with_pending',_0x142ae4[_0x4e7919(0x8a)]=_0x4e7919(0x30e),_0x142ae4[_0x4e7919(0x3d8)]=_0x4e7919(0x3cb),_0x142ae4[_0x4e7919(0x3f4)]='offline',_0x142ae4))(J||{});const Ni=0xea60;class $e{constructor(_0x236506,_0x43e5a2,_0xc05ed4,_0x2e52c9,_0x4eb10d,_0xce4865,_0xbe0f6,_0x4fbc3c,_0x9da57b){const _0x18139f=_0x4e7919;g(this,'_awaitingChangeset',null),g(this,'_pendingMutations',[]),(this[_0x18139f(0x8b)]=_0x236506,this[_0x18139f(0x195)]=_0x43e5a2,this[_0x18139f(0x128)]=_0x4eb10d,this['_commandService']=_0xce4865,this[_0x18139f(0x316)]=_0xbe0f6,this['_revisionService']=_0x4fbc3c,this['_localCacheService']=_0x9da57b,this['_awaitingChangeset']=_0xc05ed4,this[_0x18139f(0x293)]=_0x2e52c9);}['_checkMissing'](_0x169ffd){const _0x5c1523=_0x4e7919,_0x4b8110=this[_0x5c1523(0xf9)][_0x5c1523(0x344)](this[_0x5c1523(0x8b)]);return _0x169ffd[_0x5c1523(0x3bf)]>_0x4b8110+0x1?(this['_handler'][_0x5c1523(0x308)]({'from':_0x4b8110,'to':_0x169ffd['revision']-0x1}),!0x0):!0x1;}[_0x4e7919(0x273)](_0x2fefab){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x2fefab);}[_0x4e7919(0x80)](_0x1df4cc){const _0x22d404=_0x4e7919;var _0x19e572,_0x3e4128;(_0x3e4128=(_0x19e572=this[_0x22d404(0x128)])['onTransformSelections'])==null||_0x3e4128[_0x22d404(0x326)](_0x19e572,_0x1df4cc);}[_0x4e7919(0x15c)](_0x591eb5){const _0x188dfc=_0x4e7919;var _0x19c209,_0x566424;return(_0x566424=(_0x19c209=this[_0x188dfc(0x128)])[_0x188dfc(0x282)])==null?void 0x0:_0x566424['call'](_0x19c209,_0x591eb5);}[_0x4e7919(0x3a0)](_0x184df5){const _0x25c758=_0x4e7919;var _0x4ccd77,_0x2d7ec6;return(_0x2d7ec6=(_0x4ccd77=this[_0x25c758(0x128)])[_0x25c758(0x3fd)])==null?void 0x0:_0x2d7ec6[_0x25c758(0x326)](_0x4ccd77,_0x184df5);}[_0x4e7919(0x2d6)](_0x20c8e5){const _0x1e06ce=_0x4e7919;var _0x35ccb2,_0x2ee4c7,_0x43497d;return(_0x43497d=(_0x2ee4c7=(_0x35ccb2=this[_0x1e06ce(0x128)])[_0x1e06ce(0x2e3)])==null?void 0x0:_0x2ee4c7['call'](_0x35ccb2,_0x20c8e5))!=null?_0x43497d:_0x20c8e5;}[_0x4e7919(0x460)](_0x367337){const _0x37ee1c=_0x4e7919;var _0xf66ea7,_0x2a1c50,_0x492fda;return(_0x492fda=(_0x2a1c50=(_0xf66ea7=this[_0x37ee1c(0x128)])[_0x37ee1c(0x212)])==null?void 0x0:_0x2a1c50['call'](_0xf66ea7,_0x367337))!=null?_0x492fda:_0x367337;}[_0x4e7919(0x152)](_0x59e2be){const _0x229e27=_0x4e7919;var _0x57144a,_0x2a3b5c;if(this['type']===ce[_0x229e27(0x3ca)]){const {unitID:_0x55fef8,mutations:_0x3d1e09,memberID:_0x32f0c9}=_0x59e2be,_0x539d8b=_0x3d1e09[0x0][_0x229e27(0x244)][_0x229e27(0x21d)];Array[_0x229e27(0x1a9)](_0x539d8b)&&_0x539d8b[_0x229e27(0x126)]>0x0&&((_0x2a3b5c=(_0x57144a=this[_0x229e27(0x128)])['onSyncEditingCollabCursor'])==null||_0x2a3b5c[_0x229e27(0x326)](_0x57144a,{'unitID':_0x55fef8,'memberID':_0x32f0c9,'textRanges':_0x539d8b}));}}[_0x4e7919(0x205)](){const _0x3bbb9a=_0x4e7919;this['_localCacheService'][_0x3bbb9a(0x357)](this[_0x3bbb9a(0x8b)],this[_0x3bbb9a(0x195)],this['_awaitingChangeset'],this[_0x3bbb9a(0x293)]);}[_0x4e7919(0x153)](){const _0x3d8e92=_0x4e7919;return this['_revisionService'][_0x3d8e92(0x344)](this[_0x3d8e92(0x8b)]);}[_0x4e7919(0x15b)](){const _0x257ed6=_0x4e7919;this[_0x257ed6(0xf9)]['incrementRevOfUnit'](this[_0x257ed6(0x8b)]);}[_0x4e7919(0x290)](_0xb63cb8){const _0x538315=_0x4e7919;var _0x69e9c6;let _0x4e7846=this[_0x538315(0x2d6)](_0xb63cb8);_0x4e7846=this[_0x538315(0x460)](_0x4e7846);const _0x92432d=_0x4c2f40(_0x4e7846[_0x538315(0x13b)],this[_0x538315(0x2c6)],{'fromCollab':!0x0});if(!_0x92432d[_0x538315(0x338)])throw _0x92432d['error']instanceof Error?_0x92432d['error']:new Error((_0x69e9c6=_0x92432d['error'])!=null?_0x69e9c6:_0x538315(0x25a));this[_0x538315(0x15c)](_0x4e7846),this['_transformStateCache'](_0x4e7846),this['_transformUndoredo'](_0xb63cb8),this[_0x538315(0x80)](_0x4e7846),this[_0x538315(0x152)](_0x4e7846),this[_0x538315(0x15b)]();}}let Fe=class extends $e{constructor(_0x1431d0,_0x2f861c,_0x3ed15b,_0x3a04b1,_0xe6a8d8,_0x56d828,_0x9200af,_0x52f850,_0x4a17a1,_0x43cb2b){const _0x20267e=_0x4e7919;super(_0x1431d0,_0x2f861c,null,[],_0x3ed15b,_0x52f850,_0x9200af,_0x3a04b1,_0xe6a8d8),g(this,_0x20267e(0x459),_0x20267e(0x2f1)),(this[_0x20267e(0x1e4)]=_0x56d828,this[_0x20267e(0x18f)]=_0x4a17a1,this['_transformService']=_0x43cb2b);}['appendMutation'](_0x1f6c2e){const _0x136de7=_0x4e7919,_0x3b302e=this[_0x136de7(0x1e4)][_0x136de7(0x2c9)](pe,this['unitID'],this['type'],[_0x1f6c2e],this[_0x136de7(0x128)]);return _0x3b302e['_schedule'](),_0x3b302e[_0x136de7(0x205)](),_0x3b302e;}[_0x4e7919(0x455)](_0x5490f5){const _0x1a96a3=_0x4e7919;if(this[_0x1a96a3(0x25c)](_0x5490f5))return this[_0x1a96a3(0x1e4)][_0x1a96a3(0x2c9)](he,this[_0x1a96a3(0x8b)],this[_0x1a96a3(0x195)],null,[],null,[_0x5490f5],this[_0x1a96a3(0x128)]);try{const _0x8e82d6=this[_0x1a96a3(0x2ac)][_0x1a96a3(0x214)](_0x5490f5,[mo]);if(_0x26df4b(_0x8e82d6)){const {c1Prime:_0x24e81d}=_0x8e82d6;return this[_0x1a96a3(0x290)](_0x24e81d),this;}throw _0x8e82d6[_0x1a96a3(0x24d)];}catch(_0x552efc){return this[_0x1a96a3(0x18f)][_0x1a96a3(0x24d)](_0x552efc),this['_onConflict'](!0x1);}}[_0x4e7919(0x182)](_0x5943c7){const _0x56bc8c=_0x4e7919;return this[_0x56bc8c(0x1e4)][_0x56bc8c(0x2c9)](Re,this[_0x56bc8c(0x8b)],this[_0x56bc8c(0x195)],null,[],this['_handler'],_0x5943c7);}[_0x4e7919(0x3fb)](){const _0x6269a4=_0x4e7919;throw new Error(_0x6269a4(0x318));}['onRemoteRej'](){const _0x1f8da9=_0x4e7919;throw new Error(_0x1f8da9(0x30f));}[_0x4e7919(0x1a3)](){return this;}[_0x4e7919(0x222)](){const _0x1f9ce9=_0x4e7919;return this['_injector'][_0x1f9ce9(0x2c9)](ye,this[_0x1f9ce9(0x8b)],this[_0x1f9ce9(0x195)],null,[],this[_0x1f9ce9(0x128)]);}[_0x4e7919(0x3b1)](){return this;}[_0x4e7919(0x38c)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x353bea=_0x4e7919,_0x55b880=this[_0x353bea(0xf9)][_0x353bea(0x344)](this[_0x353bea(0x8b)]);return this[_0x353bea(0x128)][_0x353bea(0x308)]({'from':_0x55b880,'to':0x0}),this[_0x353bea(0x1e4)][_0x353bea(0x2c9)](he,this[_0x353bea(0x8b)],this['type'],null,[],null,[],this[_0x353bea(0x128)]);}};Fe=Le([A(0x3,_0x557b7a(_0x39bde1)),A(0x4,_0x557b7a(q)),A(0x5,_0x557b7a(_0x5a5437)),A(0x6,_0x5aca87),A(0x7,_0x37f6d3),A(0x8,_0x2f9740),A(0x9,_0xd1dd82)],Fe);let pe=class extends $e{constructor(_0x3b390d,_0x21008d,_0x5cba9a,_0x329144,_0x24a94c,_0x2a0bb2,_0x3d54d3,_0x40bf68,_0x261250,_0x47eb2f,_0x1769fc,_0x17d83a,_0xfb9ac8,_0xf7fd5b){const _0xa264bf=_0x4e7919;super(_0x3b390d,_0x21008d,null,_0x5cba9a,_0x329144,_0x47eb2f,_0xf7fd5b,_0x2a0bb2,_0x3d54d3),g(this,'status',_0xa264bf(0x85)),g(this,_0xa264bf(0x337),null),g(this,_0xa264bf(0x46e),null),(this['_injector']=_0x24a94c,this[_0xa264bf(0x17d)]=_0x40bf68,this[_0xa264bf(0x18f)]=_0x261250,this[_0xa264bf(0x1f4)]=_0x1769fc,this[_0xa264bf(0x2ac)]=_0x17d83a,this[_0xa264bf(0x29a)]=_0xfb9ac8);}[_0x4e7919(0x7b)](_0x1593be){const _0x21163d=_0x4e7919;return this[_0x21163d(0x293)][_0x21163d(0x209)](_0x1593be),this['_updateLocalCache'](),this;}[_0x4e7919(0x455)](_0xf170fa){const _0x1f3f26=_0x4e7919;if(this[_0x1f3f26(0x25c)](_0xf170fa))return this['_clearScheduledTask'](),this[_0x1f3f26(0x1e4)]['createInstance'](he,this[_0x1f3f26(0x8b)],this[_0x1f3f26(0x195)],null,this[_0x1f3f26(0x293)],null,[_0xf170fa],this[_0x1f3f26(0x128)]);try{const _0x3b49af=this[_0x1f3f26(0x2ac)][_0x1f3f26(0x214)](_0xf170fa,this[_0x1f3f26(0x293)]);if(_0x26df4b(_0x3b49af)){const {c1Prime:_0x169e35,m2Prime:_0xda5dee}=_0x3b49af;this['_executeRemoteChangeset'](_0x169e35);const _0x1a8f15=this[_0x1f3f26(0x1e4)][_0x1f3f26(0x2c9)](pe,this[_0x1f3f26(0x8b)],this[_0x1f3f26(0x195)],_0xda5dee,this[_0x1f3f26(0x128)]);return this[_0x1f3f26(0x9c)](),_0x1a8f15['_schedule'](this['_scheduleTimestamp']?Math[_0x1f3f26(0x384)](0x0,new Date()[_0x1f3f26(0x23a)]()-this['_scheduleTimestamp']):this[_0x1f3f26(0x174)]()),_0x1a8f15;}throw _0x3b49af[_0x1f3f26(0x24d)];}catch(_0x3466c5){return this['_logService'][_0x1f3f26(0x24d)](_0x3466c5),this['_onConflict'](!0x1);}}[_0x4e7919(0x3fb)](){const _0x1506e9=_0x4e7919;throw new Error(_0x1506e9(0x481));}[_0x4e7919(0x173)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4e7919(0x1a3)](){return this;}[_0x4e7919(0x222)](){const _0x4fae98=_0x4e7919;return this[_0x4fae98(0x9c)](),this[_0x4fae98(0x1e4)][_0x4fae98(0x2c9)](ye,this[_0x4fae98(0x8b)],this['type'],null,this[_0x4fae98(0x293)],this[_0x4fae98(0x128)]);}['toggleOnline'](){return this;}['_schedule'](_0x219c6f){const _0x38eb28=_0x4e7919,_0x2457a2=_0x219c6f!=null?_0x219c6f:this['_getSendChangesetTimeout']();this[_0x38eb28(0x337)]=new Date()[_0x38eb28(0x23a)](),this['_sendingTimer']=window[_0x38eb28(0x1f7)](()=>{const _0x57e88c=_0x38eb28;this[_0x57e88c(0x9c)]();let _0x27f1c2=null;switch(this[_0x57e88c(0x195)]){case ce['UNIVER_SHEET']:{_0x27f1c2=Vs(this[_0x57e88c(0x293)],this['unitID'],this['_univerInstanceService'],this[_0x57e88c(0xf9)],this[_0x57e88c(0x17d)]);break;}case ce[_0x57e88c(0x3ca)]:{this[_0x57e88c(0x293)]['every'](_0x4a5a61=>_0x4a5a61['id']===_0x36d845['id'])?_0x27f1c2=vo(this['_pendingMutations'],this[_0x57e88c(0x8b)],this['_univerInstanceService'],this[_0x57e88c(0xf9)],this[_0x57e88c(0x17d)]):_0x27f1c2=Vs(this['_pendingMutations'],this[_0x57e88c(0x8b)],this[_0x57e88c(0x29a)],this['_revisionService'],this[_0x57e88c(0x17d)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x57e88c(0x47c));}const {changeset:_0x4eb0db,pendingMutations:_0x9f2d36}=_0x27f1c2;this[_0x57e88c(0x128)]['onSendChangeset'](_0x4eb0db);const _0x1054ca=_0x9f2d36['length']?this[_0x57e88c(0x1e4)][_0x57e88c(0x2c9)](ge,this['unitID'],this[_0x57e88c(0x195)],_0x4eb0db,_0x9f2d36,this[_0x57e88c(0x128)],void 0x0):this[_0x57e88c(0x1e4)]['createInstance'](Te,this[_0x57e88c(0x8b)],this['type'],_0x4eb0db,this[_0x57e88c(0x128)]);_0x1054ca[_0x57e88c(0x205)](),this[_0x57e88c(0x128)][_0x57e88c(0x23b)](this,_0x1054ca);},_0x2457a2);}['_getSendChangesetTimeout'](){const _0x29de09=_0x4e7919;var _0x58a283;const _0x4f6d54=this[_0x29de09(0x1f4)][_0x29de09(0x2a3)](ie);return(_0x58a283=_0x4f6d54==null?void 0x0:_0x4f6d54[_0x29de09(0x420)])!=null?_0x58a283:_r;}['resend'](){const _0x2ac612=_0x4e7919;throw new Error(_0x2ac612(0xbb));}[_0x4e7919(0x9c)](){const _0x40fe2c=_0x4e7919;this['_sendingTimer']!=null&&(clearTimeout(this[_0x40fe2c(0x46e)]),this[_0x40fe2c(0x46e)]=null);}[_0x4e7919(0x182)](_0x15e7a1){const _0x44d309=_0x4e7919;return this[_0x44d309(0x9c)](),this[_0x44d309(0x1e4)][_0x44d309(0x2c9)](Re,this[_0x44d309(0x8b)],this['type'],null,this[_0x44d309(0x293)],this[_0x44d309(0x128)],_0x15e7a1);}};pe=Le([A(0x4,_0x557b7a(_0x5a5437)),A(0x5,_0x557b7a(_0x39bde1)),A(0x6,_0x557b7a(q)),A(0x7,_0x557b7a(Ne)),A(0x8,_0x2f9740),A(0x9,_0x37f6d3),A(0xa,_0x88f14),A(0xb,_0xd1dd82),A(0xc,_0x5e27bc),A(0xd,_0x5aca87)],pe);let Te=class extends $e{constructor(_0x14c0e8,_0x25507f,_0x2296fb,_0x54cd0a,_0x29cff9,_0x928ad0,_0x222126,_0x1e598a,_0x5bfb48,_0x441e37,_0x16bf09){const _0xbd8154=_0x4e7919;super(_0x14c0e8,_0x25507f,_0x2296fb,[],_0x54cd0a,_0x1e598a,_0x16bf09,_0x928ad0,_0x222126),g(this,_0xbd8154(0x459),'awaiting'),g(this,'_resendTimeout',0x0),g(this,'_resendTimer'),g(this,_0xbd8154(0x44e)),(this[_0xbd8154(0x1e4)]=_0x29cff9,this[_0xbd8154(0x18f)]=_0x5bfb48,this['_transformService']=_0x441e37);}[_0x4e7919(0x7b)](_0x40fb4a){const _0x373ef5=_0x4e7919;this[_0x373ef5(0x9c)]();const _0x3c1732=this[_0x373ef5(0x1e4)]['createInstance'](ge,this['unitID'],this['type'],this[_0x373ef5(0xf2)],[_0x40fb4a],this[_0x373ef5(0x128)],this[_0x373ef5(0x1df)]);return _0x3c1732[_0x373ef5(0x205)](),_0x3c1732;}[_0x4e7919(0x455)](_0x5356dc){const _0x4d33a2=_0x4e7919;if(this['_checkMissing'](_0x5356dc))return this['_clearScheduledTask'](),this[_0x4d33a2(0x1e4)][_0x4d33a2(0x2c9)](he,this[_0x4d33a2(0x8b)],this[_0x4d33a2(0x195)],this[_0x4d33a2(0xf2)],[],null,[_0x5356dc],this[_0x4d33a2(0x128)]);try{const _0x4e5770=this[_0x4d33a2(0x2ac)][_0x4d33a2(0x166)]([_0x5356dc],[this[_0x4d33a2(0xf2)]],!0x1);if(_0x3775ff(_0x4e5770)){const {c1Prime:_0x3f1546,c2Prime:_0x2c8120}=_0x4e5770;this[_0x4d33a2(0x290)](_0x3f1546[0x0]),_0x2c8120[0x0][_0x4d33a2(0x178)]=this[_0x4d33a2(0x153)](),this[_0x4d33a2(0x9c)]();const _0x1e63f0=this['_injector']['createInstance'](Te,this['unitID'],this[_0x4d33a2(0x195)],_0x2c8120[0x0],this['_handler']);return _0x1e63f0[_0x4d33a2(0x205)](),_0x1e63f0;}return this['_onConflict'](!0x1);}catch(_0x4f51ad){return this[_0x4d33a2(0x18f)][_0x4d33a2(0x24d)](_0x4f51ad),this[_0x4d33a2(0x182)](!0x1);}}[_0x4e7919(0x3fb)](_0x718a1d){const _0x3c5fae=_0x4e7919;this[_0x3c5fae(0x9c)]();const _0x31703a=this['_revisionService'][_0x3c5fae(0x344)](this[_0x3c5fae(0x8b)]);if(_0x718a1d[_0x3c5fae(0x3bf)]<_0x31703a-0x1)return this;if(this[_0x3c5fae(0x25c)](_0x718a1d))return this[_0x3c5fae(0x1e4)][_0x3c5fae(0x2c9)](he,this[_0x3c5fae(0x8b)],this[_0x3c5fae(0x195)],null,[],this[_0x3c5fae(0xf2)],[],this['_handler']);this[_0x3c5fae(0x15b)]();const _0x53dc92=this[_0x3c5fae(0x1e4)][_0x3c5fae(0x2c9)](Fe,this['unitID'],this['type'],this[_0x3c5fae(0x128)]);return _0x53dc92[_0x3c5fae(0x205)](),_0x53dc92;}['onRemoteRej'](_0x57b150){const _0x2c87b2=_0x4e7919;return this[_0x2c87b2(0x182)](!!(_0x57b150!=null&&_0x57b150[_0x2c87b2(0x254)]));}[_0x4e7919(0x1a3)](_0x59bce4){const _0x3ddedf=_0x4e7919;return this[_0x3ddedf(0xa6)]>Ni?this['toggleOffline']():(this[_0x3ddedf(0x1df)]=Ui(this[_0x3ddedf(0xa6)],{'timeout':this[_0x3ddedf(0xa6)],'reqId':_0x59bce4[_0x3ddedf(0x250)]}),this[_0x3ddedf(0x44e)]=this['_resendTimer']['subscribe'](({reqId:_0x2cf275,timeout:_0x518e4e})=>{const _0x1b2b46=_0x3ddedf;this[_0x1b2b46(0x2e6)](_0x2cf275,_0x518e4e);}),this);}[_0x4e7919(0x222)](){const _0x4f10ad=_0x4e7919;return this['_clearScheduledTask'](),this[_0x4f10ad(0x1e4)][_0x4f10ad(0x2c9)](ye,this[_0x4f10ad(0x8b)],this['type'],this['_awaitingChangeset'],[],this[_0x4f10ad(0x128)]);}[_0x4e7919(0x3b1)](){return this;}[_0x4e7919(0x38c)](){const _0x339427=_0x4e7919;this[_0x339427(0x128)][_0x339427(0x466)](this['_awaitingChangeset']);}[_0x4e7919(0x182)](_0x4f57eb){const _0x141961=_0x4e7919;return this[_0x141961(0x9c)](),this[_0x141961(0x1e4)]['createInstance'](Re,this[_0x141961(0x8b)],this['type'],this[_0x141961(0xf2)],[],this[_0x141961(0x128)],_0x4f57eb);}['_resendWithTimeout'](_0x579316,_0xf8c00){const _0x14cf77=_0x4e7919;var _0x1d4e5d;_0x579316===((_0x1d4e5d=this['_awaitingChangeset'])==null?void 0x0:_0x1d4e5d[_0x14cf77(0x250)])&&(this['resend'](),this['_resendTimeout']=_0xf8c00===0x0?0x3e8:_0xf8c00*0x2);}[_0x4e7919(0x9c)](){const _0x3dc03e=_0x4e7919;var _0x162f77;(_0x162f77=this[_0x3dc03e(0x44e)])==null||_0x162f77[_0x3dc03e(0x155)](),this[_0x3dc03e(0xa6)]=0x0;}};Te=Le([A(0x4,_0x557b7a(_0x5a5437)),A(0x5,_0x557b7a(_0x39bde1)),A(0x6,_0x557b7a(q)),A(0x7,_0x37f6d3),A(0x8,_0x2f9740),A(0x9,_0xd1dd82),A(0xa,_0x5aca87)],Te);let ge=class extends $e{constructor(_0x3cabda,_0x48dcfe,_0x5dd677,_0x149795,_0x4941ed,_0xcde578,_0x309681,_0x31b192,_0x2d3781,_0x1ab286,_0x460ba3,_0x51e964,_0x29c406){const _0x3d8360=_0x4e7919;super(_0x3cabda,_0x48dcfe,_0x5dd677,_0x149795,_0x4941ed,_0x1ab286,_0x29c406,_0x31b192,_0x2d3781),g(this,_0x3d8360(0x459),_0x3d8360(0x9e)),g(this,'_resendTimeout',0x0),g(this,_0x3d8360(0x1df)),g(this,'_sender'),(this['_injector']=_0x309681,this['_logService']=_0x460ba3,this[_0x3d8360(0x2ac)]=_0x51e964,_0xcde578&&(this['_resendTimer']=_0xcde578,this[_0x3d8360(0x44e)]=this[_0x3d8360(0x1df)][_0x3d8360(0x1f1)](({reqId:_0x50a521,timeout:_0x2e83b0})=>{const _0x24fef9=_0x3d8360;this[_0x24fef9(0x2e6)](_0x50a521,_0x2e83b0);})));}['appendMutation'](_0x1777d9){const _0x4c9105=_0x4e7919;return this[_0x4c9105(0x293)]['push'](_0x1777d9),this;}['onRemoteChangeset'](_0x1382b3){const _0x5bcd44=_0x4e7919;if(this['_checkMissing'](_0x1382b3))return this[_0x5bcd44(0x9c)](),this[_0x5bcd44(0x1e4)][_0x5bcd44(0x2c9)](he,this[_0x5bcd44(0x8b)],this[_0x5bcd44(0x195)],this[_0x5bcd44(0xf2)],this['_pendingMutations'],null,[_0x1382b3],this[_0x5bcd44(0x128)]);try{const _0x72f605=this[_0x5bcd44(0x2ac)][_0x5bcd44(0x166)]([_0x1382b3],[this[_0x5bcd44(0xf2)]],!0x1);if(_0x3775ff(_0x72f605)){const {c1Prime:_0x2f9124,c2Prime:_0x2925d8}=_0x72f605,_0x639bd3=this['_transformService']['transformMutationsWithChangeset'](_0x2f9124[0x0],this['_pendingMutations']);if(_0x26df4b(_0x639bd3)){const {c1Prime:_0x2669da,m2Prime:_0x39b7f6}=_0x639bd3;return this['_executeRemoteChangeset'](_0x2669da),_0x2925d8[0x0][_0x5bcd44(0x178)]=this[_0x5bcd44(0x153)](),this['_clearScheduledTask'](),this['_injector'][_0x5bcd44(0x2c9)](ge,this[_0x5bcd44(0x8b)],this[_0x5bcd44(0x195)],_0x2925d8[0x0],_0x39b7f6,this[_0x5bcd44(0x128)],void 0x0);}throw _0x639bd3['error'];}throw _0x72f605[_0x5bcd44(0x24d)];}catch(_0x2f2cf5){return this[_0x5bcd44(0x18f)][_0x5bcd44(0x24d)](_0x2f2cf5),this[_0x5bcd44(0x182)](!0x1);}}[_0x4e7919(0x3fb)](_0x4cb3ce){const _0x2bcd03=_0x4e7919;if(this[_0x2bcd03(0x9c)](),this[_0x2bcd03(0x25c)](_0x4cb3ce))return this['_injector'][_0x2bcd03(0x2c9)](he,this[_0x2bcd03(0x8b)],this[_0x2bcd03(0x195)],null,this[_0x2bcd03(0x293)],this[_0x2bcd03(0xf2)],[],this[_0x2bcd03(0x128)]);this[_0x2bcd03(0x15b)]();const _0x3b0344=this[_0x2bcd03(0x1e4)][_0x2bcd03(0x2c9)](pe,this[_0x2bcd03(0x8b)],this['type'],this[_0x2bcd03(0x293)],this[_0x2bcd03(0x128)]);return _0x3b0344[_0x2bcd03(0x20c)](),_0x3b0344[_0x2bcd03(0x205)](),_0x3b0344;}[_0x4e7919(0x173)](_0x204c1c){const _0x1d0695=_0x4e7919;return this[_0x1d0695(0x182)](!!(_0x204c1c!=null&&_0x204c1c[_0x1d0695(0x254)]));}[_0x4e7919(0x1a3)](_0x1f8573){const _0x3c6404=_0x4e7919;return this[_0x3c6404(0xa6)]>Ni?this[_0x3c6404(0x222)]():(this['_resendTimer']=Ui(this[_0x3c6404(0xa6)],{'timeout':this['_resendTimeout'],'reqId':_0x1f8573[_0x3c6404(0x250)]}),this['_sender']=this['_resendTimer'][_0x3c6404(0x1f1)](({reqId:_0x106a33,timeout:_0x5af822})=>{const _0x5b8785=_0x3c6404;this[_0x5b8785(0x2e6)](_0x106a33,_0x5af822);}),this);}[_0x4e7919(0x222)](){const _0x42ca89=_0x4e7919;return this['_clearScheduledTask'](),this[_0x42ca89(0x1e4)][_0x42ca89(0x2c9)](ye,this[_0x42ca89(0x8b)],this[_0x42ca89(0x195)],this[_0x42ca89(0xf2)],this['_pendingMutations'],this[_0x42ca89(0x128)]);}[_0x4e7919(0x3b1)](){return this;}[_0x4e7919(0x38c)](){const _0x61cf9a=_0x4e7919;this[_0x61cf9a(0x128)][_0x61cf9a(0x466)](this[_0x61cf9a(0xf2)]);}[_0x4e7919(0x182)](_0x3063a6){const _0x5832b1=_0x4e7919;return this[_0x5832b1(0x9c)](),this[_0x5832b1(0x1e4)][_0x5832b1(0x2c9)](Re,this['unitID'],this[_0x5832b1(0x195)],null,this['_pendingMutations'],this[_0x5832b1(0x128)],_0x3063a6);}[_0x4e7919(0x2e6)](_0x586a49,_0x478ef3){const _0xd34f0a=_0x4e7919;var _0x40016d;_0x586a49===((_0x40016d=this['_awaitingChangeset'])==null?void 0x0:_0x40016d[_0xd34f0a(0x250)])&&(this[_0xd34f0a(0x38c)](),this['_resendTimeout']=_0x478ef3===0x0?0x3e8:_0x478ef3*0x2);}[_0x4e7919(0x9c)](){const _0x618033=_0x4e7919;var _0x5e40bd;(_0x5e40bd=this['_sender'])==null||_0x5e40bd[_0x618033(0x155)](),this[_0x618033(0xa6)]=0x0;}};ge=Le([A(0x6,_0x557b7a(_0x5a5437)),A(0x7,_0x557b7a(_0x39bde1)),A(0x8,_0x557b7a(q)),A(0x9,_0x37f6d3),A(0xa,_0x2f9740),A(0xb,_0xd1dd82),A(0xc,_0x5aca87)],ge);let Re=class extends $e{constructor(_0x4764fe,_0x2dc46c,_0x400819,_0xa3b20b,_0x3ce735,_0x1f831d=!0x1,_0x28b42d,_0x42af09,_0x6b3ab5,_0xa2ee8b,_0x24f9f3,_0x434f3c,_0x38e4cc){const _0x189bbb=_0x4e7919;super(_0x4764fe,_0x2dc46c,_0x400819,_0xa3b20b,_0x3ce735,_0x42af09,_0x6b3ab5,_0x24f9f3,_0xa2ee8b),g(this,_0x189bbb(0x459),_0x189bbb(0x3cb)),(this[_0x189bbb(0x2c5)]=_0x1f831d,this['_permissionService']=_0x28b42d,this['_localeService']=_0x434f3c,this[_0x189bbb(0x363)]=_0x38e4cc,this['_showConflictNotification'](),this[_0x189bbb(0x226)](),this['_disableEditing']());}[_0x4e7919(0x7b)](){return this;}[_0x4e7919(0x455)](){return this;}[_0x4e7919(0x3fb)](){return this;}[_0x4e7919(0x173)](){return this;}[_0x4e7919(0x1a3)](){return this;}[_0x4e7919(0x222)](){return this;}[_0x4e7919(0x3b1)](){return this;}[_0x4e7919(0x38c)](){const _0x5816ad=_0x4e7919;throw new Error(_0x5816ad(0x2fd));}['_clearLocalCache'](){const _0x3ef01b=_0x4e7919;this[_0x3ef01b(0x27a)]['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x4e7919(0x3cf)](){const _0x4fb0f0=_0x4e7919;this['_isPermissionRej']?this['_notificationService']['show']({'title':this[_0x4fb0f0(0x238)]['t'](_0x4fb0f0(0x1b5)),'content':this[_0x4fb0f0(0x238)]['t'](_0x4fb0f0(0x434)),'type':_0x4fb0f0(0x24d),'duration':0x0}):this[_0x4fb0f0(0x363)][_0x4fb0f0(0x243)]({'title':this[_0x4fb0f0(0x238)]['t'](_0x4fb0f0(0x25d)),'content':this[_0x4fb0f0(0x238)]['t']('conflict.content'),'type':_0x4fb0f0(0x24d),'duration':0x0});}['_disableEditing'](){const _0x5f4cb2=_0x4e7919;this[_0x5f4cb2(0x16a)][_0x5f4cb2(0x17b)](new _0x32a62a(this[_0x5f4cb2(0x8b)])['id'],!0x1);}};Re=Le([A(0x6,_0x557b7a(_0x4f30d5)),A(0x7,_0x37f6d3),A(0x8,_0x5aca87),A(0x9,_0x557b7a(q)),A(0xa,_0x557b7a(_0x39bde1)),A(0xb,_0x557b7a(_0x5e134c)),A(0xc,_0x700f62)],Re);let ye=class extends $e{constructor(_0x13db81,_0x2b91b3,_0x228e1d,_0xd4b8e2,_0x2b27ca,_0x1e3c94,_0x241194,_0x4f1861,_0x378b6f,_0x2001bf){const _0x4dea28=_0x4e7919;super(_0x13db81,_0x2b91b3,_0x228e1d,_0xd4b8e2,_0x2b27ca,_0x378b6f,_0x2001bf,_0x241194,_0x4f1861),g(this,_0x4dea28(0x459),_0x4dea28(0x444)),this[_0x4dea28(0x1e4)]=_0x1e3c94;}[_0x4e7919(0x7b)](_0x541ac3){const _0xb1edfd=_0x4e7919;return this[_0xb1edfd(0x293)]['push'](_0x541ac3),this['_updateLocalCache'](),this;}[_0x4e7919(0x455)](_0x39d51a){const _0x54bf40=_0x4e7919;throw new Error(_0x54bf40(0x388));}[_0x4e7919(0x3fb)](){const _0x2738f7=_0x4e7919;throw new Error(_0x2738f7(0x204));}[_0x4e7919(0x173)](){const _0x131ea5=_0x4e7919;throw new Error(_0x131ea5(0x12f));}[_0x4e7919(0x1a3)](){return this;}['toggleOffline'](){return this;}[_0x4e7919(0x3b1)](){const _0x13ed56=_0x4e7919,{_injector:_0x815a74,_pendingMutations:_0x1a38c9,_awaitingChangeset:_0x2bb767,unitID:_0x765003,_handler:_0x58df22,type:_0x27d542}=this,_0x2383cf=Ai(_0x815a74,_0x765003,_0x27d542,_0x2bb767,_0x1a38c9,_0x58df22);return _0x2383cf instanceof pe?_0x2383cf['_schedule']():(_0x2383cf instanceof ge||_0x2383cf instanceof Te)&&_0x2383cf[_0x13ed56(0x38c)](),_0x2383cf;}[_0x4e7919(0x38c)](){const _0x187930=_0x4e7919;throw new Error(_0x187930(0xfb));}};ye=Le([A(0x5,_0x557b7a(_0x5a5437)),A(0x6,_0x557b7a(_0x39bde1)),A(0x7,_0x557b7a(q)),A(0x8,_0x37f6d3),A(0x9,_0x5aca87)],ye);let he=class extends $e{constructor(_0x1b3f3c,_0x3ce544,_0x2c179e,_0x34b476,_0x2b93cc,_0x18612b,_0x5c60ff,_0x33077e,_0xae757b,_0x142a19,_0x1a10c8,_0x2289d2,_0x489521,_0x4f9fd9){const _0x2f21ca=_0x4e7919;super(_0x1b3f3c,_0x3ce544,_0x2c179e,_0x34b476,_0x5c60ff,_0x2289d2,_0x489521,_0xae757b,_0x142a19),g(this,_0x2f21ca(0x459),_0x2f21ca(0x30e)),(this[_0x2f21ca(0x44c)]=_0x2b93cc,this[_0x2f21ca(0x2af)]=_0x18612b,this[_0x2f21ca(0x1e4)]=_0x33077e,this[_0x2f21ca(0x18f)]=_0x1a10c8,this['_transformService']=_0x4f9fd9);}['onMissedChangesetFetched'](_0x1297b4){const _0x3c2bc9=_0x4e7919;try{const _0xfa0e73=[..._0x1297b4,...this['_queuedRemoteChangesets']],_0x320b03=[this[_0x3c2bc9(0xf2)]||this[_0x3c2bc9(0x44c)]][_0x3c2bc9(0x42e)](_0x44bb95=>!!_0x44bb95);let _0xfbc677,_0x4a6359;if(_0x320b03[_0x3c2bc9(0x126)]){const _0x2201da=this[_0x3c2bc9(0x2ac)]['transformChangesets'](_0xfa0e73,_0x320b03,!0x1);if(!_0x3775ff(_0x2201da))throw _0x2201da[_0x3c2bc9(0x24d)];_0xfbc677=_0x2201da[_0x3c2bc9(0x89)],_0x4a6359=_0x2201da['c2Prime'];}else _0xfbc677=_0xfa0e73,_0x4a6359=[];let _0x2475bc=this['_pendingMutations'];_0xfbc677[_0x3c2bc9(0x21b)](_0x396b66=>{const _0x570042=_0x3c2bc9;let _0x2b3e81;if(_0x2475bc['length']){const _0x4aa612=this[_0x570042(0x2ac)][_0x570042(0x214)](_0x396b66,_0x2475bc);if(!_0x26df4b(_0x4aa612))throw _0x4aa612[_0x570042(0x24d)];_0x2b3e81=_0x4aa612[_0x570042(0x89)],_0x2475bc=_0x4aa612[_0x570042(0xca)];}else _0x2b3e81=_0x396b66;this[_0x570042(0x290)](_0x2b3e81);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3c2bc9(0x15b)](),this[_0x3c2bc9(0xf2)]&&_0x4a6359[_0x3c2bc9(0x126)]&&(_0x4a6359[0x0][_0x3c2bc9(0x178)]=this[_0x3c2bc9(0x153)]());let _0x4b6d41;if(this[_0x3c2bc9(0xf2)]&&_0x2475bc['length']!==0x0)_0x4b6d41=this['_injector'][_0x3c2bc9(0x2c9)](ge,this[_0x3c2bc9(0x8b)],this['type'],_0x4a6359[0x0],_0x2475bc,this[_0x3c2bc9(0x128)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2475bc[_0x3c2bc9(0x126)]===0x0)_0x4a6359[0x0][_0x3c2bc9(0x178)]=this[_0x3c2bc9(0x153)](),_0x4b6d41=this[_0x3c2bc9(0x1e4)][_0x3c2bc9(0x2c9)](Te,this[_0x3c2bc9(0x8b)],this[_0x3c2bc9(0x195)],_0x4a6359[0x0],this[_0x3c2bc9(0x128)]);else{if(_0x2475bc[_0x3c2bc9(0x126)]!==0x0){const _0x451d09=this[_0x3c2bc9(0x1e4)][_0x3c2bc9(0x2c9)](pe,this[_0x3c2bc9(0x8b)],this[_0x3c2bc9(0x195)],_0x2475bc,this[_0x3c2bc9(0x128)]);_0x451d09[_0x3c2bc9(0x20c)](),_0x4b6d41=_0x451d09;}else _0x4b6d41=this[_0x3c2bc9(0x1e4)]['createInstance'](Fe,this[_0x3c2bc9(0x8b)],this[_0x3c2bc9(0x195)],this[_0x3c2bc9(0x128)]);}}return _0x4b6d41[_0x3c2bc9(0x205)](),_0x4b6d41;}catch(_0x5974ce){return this[_0x3c2bc9(0x18f)]['error'](_0x3c2bc9(0x32d),_0x3c2bc9(0x382),_0x5974ce),this[_0x3c2bc9(0x1e4)]['createInstance'](Re,this[_0x3c2bc9(0x8b)],this['type'],this[_0x3c2bc9(0xf2)],this[_0x3c2bc9(0x293)],this[_0x3c2bc9(0x128)],!0x1);}}[_0x4e7919(0x38c)](){const _0x27f6fd=_0x4e7919;throw new Error(_0x27f6fd(0x2cd));}['appendMutation'](_0x1b8256){const _0x584471=_0x4e7919;return this[_0x584471(0x293)][_0x584471(0x209)](_0x1b8256),this;}[_0x4e7919(0x455)](_0x495e11){return this['_queuedRemoteChangesets']['push'](_0x495e11),this;}[_0x4e7919(0x3fb)](_0x10ed80){const _0x9a70e1=_0x4e7919;if(this[_0x9a70e1(0xf2)])return this[_0x9a70e1(0x44c)]=this[_0x9a70e1(0xf2)],this[_0x9a70e1(0xf2)]=null,this;throw new Error(_0x9a70e1(0x43f));}[_0x4e7919(0x173)](_0x3b5e25){const _0x5ee3d5=_0x4e7919;return this[_0x5ee3d5(0x182)](!!(_0x3b5e25!=null&&_0x3b5e25[_0x5ee3d5(0x254)]));}[_0x4e7919(0x1a3)](){return this;}['toggleOffline'](){const _0x446f87=_0x4e7919;return this['_injector'][_0x446f87(0x2c9)](ye,this[_0x446f87(0x8b)],this[_0x446f87(0x195)],this[_0x446f87(0xf2)],this[_0x446f87(0x293)],this['_handler']);}['toggleOnline'](){return this;}[_0x4e7919(0x182)](_0x14cce8){const _0x5ef02b=_0x4e7919;return this[_0x5ef02b(0x1e4)][_0x5ef02b(0x2c9)](Re,this[_0x5ef02b(0x8b)],this[_0x5ef02b(0x195)],this[_0x5ef02b(0xf2)],this[_0x5ef02b(0x293)],this[_0x5ef02b(0x128)],_0x14cce8);}};he=Le([A(0x7,_0x557b7a(_0x5a5437)),A(0x8,_0x557b7a(_0x39bde1)),A(0x9,_0x557b7a(q)),A(0xa,_0x2f9740),A(0xb,_0x37f6d3),A(0xc,_0x5aca87),A(0xd,_0xd1dd82)],he);function Ai(_0x213612,_0x1b6008,_0xfb8b6d,_0x57491b,_0x31b3fd,_0x2ee7ec){const _0x3bf435=_0x4e7919;return _0x57491b&&_0x31b3fd[_0x3bf435(0x126)]?_0x213612['createInstance'](ge,_0x1b6008,_0xfb8b6d,_0x57491b,_0x31b3fd,_0x2ee7ec,void 0x0):_0x57491b?_0x213612[_0x3bf435(0x2c9)](Te,_0x1b6008,_0xfb8b6d,_0x57491b,_0x2ee7ec):_0x31b3fd[_0x3bf435(0x126)]?_0x213612['createInstance'](pe,_0x1b6008,_0xfb8b6d,_0x31b3fd,_0x2ee7ec):_0x213612[_0x3bf435(0x2c9)](Fe,_0x1b6008,_0xfb8b6d,_0x2ee7ec);}var So=Object[_0x4e7919(0x13e)],Io=Object[_0x4e7919(0x3a9)],Es=(_0x406dca,_0xf7e44b,_0x1adfb4,_0x9f1e7e)=>{for(var _0x10b7f1=_0x9f1e7e>0x1?void 0x0:_0x9f1e7e?Io(_0xf7e44b,_0x1adfb4):_0xf7e44b,_0x39d02f=_0x406dca['length']-0x1,_0x1f7f38;_0x39d02f>=0x0;_0x39d02f--)(_0x1f7f38=_0x406dca[_0x39d02f])&&(_0x10b7f1=(_0x9f1e7e?_0x1f7f38(_0xf7e44b,_0x1adfb4,_0x10b7f1):_0x1f7f38(_0x10b7f1))||_0x10b7f1);return _0x9f1e7e&&_0x10b7f1&&So(_0xf7e44b,_0x1adfb4,_0x10b7f1),_0x10b7f1;},H=(_0x56507a,_0x14ef5f)=>(_0x373a8c,_0x395707)=>_0x14ef5f(_0x373a8c,_0x395707,_0x56507a);let gt=class extends _0x15900e{constructor(_0x497a4c,_0x23ef3c,_0x405a8a,_0x34dca0,_0x4d00a7,_0x1e9c26,_0x400eed,_0x4d8726,_0x4004f0,_0x5b26df,_0x28b292,_0x122ca5,_0x50c54e){const _0x228bb8=_0x4e7919;super(),g(this,_0x228bb8(0x3dd),new _0x524b68(null)),g(this,'state$',this['_state$'][_0x228bb8(0x180)]()),g(this,_0x228bb8(0x46d)),g(this,_0x228bb8(0x267),!0x1),g(this,'_changesetSessionId',''),g(this,_0x228bb8(0x3ba),0x0),g(this,_0x228bb8(0x1cf),this[_0x228bb8(0x45d)][_0x228bb8(0x210)](_0x50280c(_0x468e50=>_0x468e50?_0x468e50['status']:J[_0x228bb8(0x3f4)]),_0x42be71(0x1))),g(this,_0x228bb8(0x2bd),!0x1),g(this,_0x228bb8(0x232),[]),(this[_0x228bb8(0x8b)]=_0x497a4c,this[_0x228bb8(0x336)]=_0x23ef3c,this[_0x228bb8(0x327)]=_0x405a8a,this[_0x228bb8(0x1e4)]=_0x34dca0,this['_localCacheService']=_0x4d00a7,this[_0x228bb8(0x296)]=_0x1e9c26,this[_0x228bb8(0x238)]=_0x400eed,this[_0x228bb8(0xf9)]=_0x4d8726,this[_0x228bb8(0x18f)]=_0x4004f0,this['_commandService']=_0x5b26df,this[_0x228bb8(0x443)]=_0x28b292,this[_0x228bb8(0x16a)]=_0x122ca5,this[_0x228bb8(0x458)]=_0x50c54e);}get[_0x4e7919(0x450)](){const _0x594109=_0x4e7919;return this[_0x594109(0x46d)];}async[_0x4e7919(0x251)](){const _0x37668d=_0x4e7919;if(this[_0x37668d(0x450)])throw new Error(_0x37668d(0x24c));await this[_0x37668d(0x350)]();}[_0x4e7919(0x268)](){const _0x4f7b39=_0x4e7919;return this[_0x4f7b39(0x267)]=!0x0,_0x290028(()=>{const _0x2dd5cc=_0x4f7b39;this[_0x2dd5cc(0x267)]=!0x1,this[_0x2dd5cc(0x43b)]();});}[_0x4e7919(0x3d4)](_0x24f305){const _0x3817e1=_0x4e7919;this['_state']=_0x24f305,this[_0x3817e1(0x3dd)][_0x3817e1(0x409)](_0x24f305);}async[_0x4e7919(0x350)](){const _0x23c1b1=_0x4e7919;var _0x5ce4e8;this[_0x23c1b1(0x3d4)](await this[_0x23c1b1(0x473)]()),this[_0x23c1b1(0x458)]&&((_0x5ce4e8=this['_singleActiveUnitService'])==null||_0x5ce4e8[_0x23c1b1(0x91)](this[_0x23c1b1(0x8b)]),this['disposeWithMe'](this[_0x23c1b1(0x458)]['getUnitStatus$'](this[_0x23c1b1(0x8b)])['subscribe'](_0x57e02c=>{const _0x18f89b=_0x23c1b1;this[_0x18f89b(0x18f)][_0x18f89b(0x236)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x57e02c),_0x57e02c===Di[_0x18f89b(0x1b6)]?(this[_0x18f89b(0x443)]['show']({'content':this[_0x18f89b(0x238)]['t']('collaboration.single-unit.warning'),'type':_0x302b10['Warning']}),this[_0x18f89b(0x16a)][_0x18f89b(0x17b)](new _0x32a62a(this[_0x18f89b(0x8b)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this['_permissionService'][_0x18f89b(0x17b)](new _0x32a62a(this['unitID'])['id'],!0x0),this['_permissionService'][_0x18f89b(0x36d)](!0x0));})));let _0xb30b3e=!0x1;return this['disposeWithMe'](this[_0x23c1b1(0x336)][_0x23c1b1(0x109)][_0x23c1b1(0x1f1)](_0x23a24d=>{const _0x2a4ca6=_0x23c1b1;_0x23a24d===ve[_0x2a4ca6(0x28f)]?this[_0x2a4ca6(0x3d2)](_0xb30b3e):_0x23a24d===ve[_0x2a4ca6(0x3f4)]&&(_0xb30b3e=!0x0,this[_0x2a4ca6(0x419)]());})),this[_0x23c1b1(0xb0)](this[_0x23c1b1(0x336)][_0x23c1b1(0x16d)][_0x23c1b1(0x1f1)](_0x139fa1=>{const _0xe65095=_0x23c1b1;try{switch(_0x139fa1[_0xe65095(0x161)]){case _0xb7e982[_0xe65095(0x383)]:{this['_onRemoteChangeset'](_0x2034a6(_0x139fa1['data']));break;}case _0xb7e982[_0xe65095(0xfa)]:{this[_0xe65095(0x34d)](_0x139fa1[_0xe65095(0x28a)]);break;}case _0xb7e982[_0xe65095(0x3c6)]:{this[_0xe65095(0x2b4)]();break;}case _0xb7e982[_0xe65095(0x2a5)]:{this[_0xe65095(0x1bc)](_0x139fa1[_0xe65095(0x28a)]);break;}case _0xb7e982[_0xe65095(0x3c0)]:{this[_0xe65095(0xd2)](_0x139fa1['data'][_0xe65095(0x2be)][_0xe65095(0x32e)](_0x3f90e8=>_0x2034a6(_0x3f90e8)));break;}case _0xb7e982['PERMISSION_REJ']:this[_0xe65095(0x2b4)]({'isPermissionRej':!0x0});}}catch(_0x3bf8ce){throw console[_0xe65095(0x24d)](_0xe65095(0x323),_0x3bf8ce),_0x3bf8ce;}})),this[_0x23c1b1(0x46d)];}[_0x4e7919(0x110)](){const _0x28c4dc=_0x4e7919;this[_0x28c4dc(0x2bd)]=!0x1;}['_lockTransition'](){const _0x30bd2b=_0x4e7919;if(this['_transitionLocked'])throw new Error(_0x30bd2b(0x3ae));this[_0x30bd2b(0x2bd)]=!0x0;}[_0x4e7919(0x2ff)](_0xe51ed4){const _0x4ebb17=_0x4e7919;this[_0x4ebb17(0x207)](),this[_0x4ebb17(0x3d4)](this[_0x4ebb17(0x46d)][_0x4ebb17(0x7b)](_0xe51ed4)),this['_unlockTransition']();}[_0x4e7919(0x239)](_0x49f1b5){const _0x15650c=_0x4e7919;if(!(_0x49f1b5['revision']<=this[_0x15650c(0xf9)][_0x15650c(0x344)](this[_0x15650c(0x8b)]))){if(this['_collaborationPaused']){this[_0x15650c(0x232)]['push'](_0x49f1b5);return;}this['_applyRemoteChangeset'](_0x49f1b5);}}[_0x4e7919(0x43b)](){const _0x1c8351=_0x4e7919;this['_remoteChangesetQueue']['forEach'](_0x177091=>this[_0x1c8351(0x24e)](_0x177091)),this[_0x1c8351(0x232)]=[];}['_applyRemoteChangeset'](_0x58dd5e){const _0x5f3665=_0x4e7919,_0x4697a6=this[_0x5f3665(0x296)][_0x5f3665(0x25e)][_0x5f3665(0x163)](this['_compressMutationService'][_0x5f3665(0x25e)]['getInterceptPoints']()[_0x5f3665(0x103)])(_0x58dd5e[_0x5f3665(0x13b)],null)||_0x58dd5e[_0x5f3665(0x13b)],_0x4a9b63={..._0x58dd5e,'mutations':_0x4697a6};this[_0x5f3665(0x207)](),this[_0x5f3665(0x3d4)](this[_0x5f3665(0x46d)]['onRemoteChangeset'](_0x4a9b63)),this[_0x5f3665(0x110)]();}[_0x4e7919(0x34d)](_0x1f944f){const _0x253af3=_0x4e7919;this[_0x253af3(0x207)](),this['_updateState'](this[_0x253af3(0x46d)][_0x253af3(0x3fb)](_0x1f944f)),this[_0x253af3(0x110)]();}['_onRemoteRejected'](_0xde7797){const _0x28c105=_0x4e7919;this['_lockTransition'](),this[_0x28c105(0x3d4)](this[_0x28c105(0x46d)][_0x28c105(0x173)](_0xde7797)),this[_0x28c105(0x110)]();}[_0x4e7919(0x1bc)](_0x4a8c43){const _0x56fdb6=_0x4e7919;this['_lockTransition'](),this[_0x56fdb6(0x3d4)](this[_0x56fdb6(0x46d)][_0x56fdb6(0x1a3)](_0x4a8c43)),this[_0x56fdb6(0x110)]();}[_0x4e7919(0xd2)](_0x1351cc){const _0x364afd=_0x4e7919;if(!(this[_0x364afd(0x46d)]instanceof he))throw new TypeError(_0x364afd(0x48f));const _0x5950a1=_0x1351cc[_0x364afd(0x32e)](_0x3bc715=>{const _0x123be9=_0x364afd,_0x5102f5=this[_0x123be9(0x296)][_0x123be9(0x25e)][_0x123be9(0x163)](this[_0x123be9(0x296)][_0x123be9(0x25e)][_0x123be9(0x32f)]()[_0x123be9(0x103)])(_0x3bc715[_0x123be9(0x13b)],null)||_0x3bc715['mutations'];return{..._0x3bc715,'mutations':_0x5102f5};});this[_0x364afd(0x207)](),this[_0x364afd(0x3d4)](this[_0x364afd(0x46d)][_0x364afd(0x408)](_0x5950a1)),this[_0x364afd(0x110)]();}[_0x4e7919(0x419)](){const _0x5aedcd=_0x4e7919;this[_0x5aedcd(0x207)](),this[_0x5aedcd(0x3d4)](this[_0x5aedcd(0x46d)][_0x5aedcd(0x222)]()),this[_0x5aedcd(0x110)]();}[_0x4e7919(0x3d2)](_0x3d2445=!0x1){const _0x14a8ce=_0x4e7919;this[_0x14a8ce(0x207)](),this[_0x14a8ce(0x3d4)](this['_state'][_0x14a8ce(0x3b1)]()),this['_unlockTransition']();const _0x34de33=this[_0x14a8ce(0x46d)];_0x3d2445&&_0x34de33 instanceof Fe&&(this['_lockTransition'](),this[_0x14a8ce(0x3d4)](_0x34de33['fetchMiss']()),this[_0x14a8ce(0x110)]());}async['_createInitialState'](){return new Promise(_0x19153d=>{const _0x254b57=_0x5ed9;this['session'][_0x254b57(0x109)]['pipe'](_0xb3cf89(0x1))[_0x254b57(0x1f1)](async _0xd9c8aa=>{const _0x381296=_0x254b57;_0x19153d(await this[_0x381296(0x41d)](_0xd9c8aa===ve[_0x381296(0x28f)]));});});}[_0x4e7919(0x2ee)](){const _0x1f2e07=_0x4e7919,_0x20fa04=this[_0x1f2e07(0x8b)];return{'onStateChange':(_0x285106,_0x49fc67)=>{const _0x23b751=_0x1f2e07;if(_0x285106!==this[_0x23b751(0x46d)])throw new Error(_0x23b751(0x284)+_0x285106[_0x23b751(0x459)]+_0x23b751(0x39a)+_0x49fc67['status']+_0x23b751(0x437)+this['_state']['status']);this[_0x23b751(0x3d4)](_0x49fc67);},'onSendChangeset':_0x32fa25=>{const _0x3fb0cc=_0x1f2e07;_0x32fa25[_0x3fb0cc(0x27e)]||(_0x32fa25['sid']=this[_0x3fb0cc(0x2f2)],_0x32fa25[_0x3fb0cc(0x250)]=++this[_0x3fb0cc(0x3ba)]);const _0x1153fe={'eventID':_0xb7e982['SUBMIT_CHANGESET'],'data':{'unitID':_0x32fa25[_0x3fb0cc(0x8b)],'unitType':this[_0x3fb0cc(0x327)],'changeset':_0x32fa25,'memberID':this[_0x3fb0cc(0x336)][_0x3fb0cc(0x3cd)]()}};this[_0x3fb0cc(0x336)][_0x3fb0cc(0x7c)](_0x1153fe,this['unitID']);},'onMissingChangesets':({from:_0x5d45a1,to:_0xd69ac5})=>{const _0x36e869=_0x1f2e07;this['_logService'][_0x36e869(0x236)]('[CollaborationEntity]',_0x36e869(0x1b9)+_0x5d45a1+_0x36e869(0x30b)+_0xd69ac5);const _0x4dd986={'eventID':_0xb7e982[_0x36e869(0x3f1)],'data':{'unitID':_0x20fa04,'unitType':this[_0x36e869(0x327)],'from':_0x5d45a1,'to':_0xd69ac5}};this[_0x36e869(0x336)][_0x36e869(0x7c)](_0x4dd986,this[_0x36e869(0x8b)]);}};}async[_0x4e7919(0x41d)](_0x418b14){const _0xd2c173=_0x4e7919;var _0x381848,_0xc6e10;const _0x21836e=await this[_0xd2c173(0x27a)][_0xd2c173(0x281)](this['unitID']),_0x5c7c4c=(_0x381848=_0x21836e==null?void 0x0:_0x21836e[_0xd2c173(0x13b)])!=null?_0x381848:[],_0x5949fc=(_0xc6e10=_0x21836e==null?void 0x0:_0x21836e[_0xd2c173(0x398)])!=null?_0xc6e10:null,_0x48ee42=!!(_0x5949fc!=null&&_0x5949fc[_0xd2c173(0x27e)])&&!!(_0x5949fc!=null&&_0x5949fc[_0xd2c173(0x250)]);this[_0xd2c173(0x2f2)]=_0x48ee42?_0x5949fc[_0xd2c173(0x27e)]:zr(),this[_0xd2c173(0x3ba)]=_0x48ee42?_0x5949fc[_0xd2c173(0x250)]:0x0;const _0xfa50e5=this[_0xd2c173(0x8b)];try{this[_0xd2c173(0x283)](_0x5949fc,_0x5c7c4c);}catch(_0x3cfd65){this[_0xd2c173(0x18f)]['error'](_0x3cfd65);}const _0x1ad0d6=this[_0xd2c173(0x2ee)]();if(_0x418b14){const _0x1209f7=Ai(this[_0xd2c173(0x1e4)],_0xfa50e5,this[_0xd2c173(0x327)],_0x5949fc,_0x5c7c4c,_0x1ad0d6);return _0x1209f7 instanceof pe?_0x1209f7[_0xd2c173(0x20c)]():(_0x1209f7 instanceof ge||_0x1209f7 instanceof Te)&&_0x1209f7['resend'](),_0x1209f7;}return this[_0xd2c173(0x1e4)][_0xd2c173(0x2c9)](ye,_0xfa50e5,this['_type'],_0x5949fc,_0x5c7c4c,_0x1ad0d6);}[_0x4e7919(0x283)](_0xc738bb,_0x2a2dd7){const _0x539a5e=_0x4e7919;var _0x53de10,_0x4626d5;const _0x352f92=this['_compressMutationService'][_0x539a5e(0x25e)][_0x539a5e(0x163)](this['_compressMutationService'][_0x539a5e(0x25e)][_0x539a5e(0x32f)]()['COMPRESS_MUTATION_APPLY']);(_0x53de10=_0x352f92((_0xc738bb==null?void 0x0:_0xc738bb['mutations'])||[],null))==null||_0x53de10[_0x539a5e(0x21b)](_0xc54236=>this[_0x539a5e(0x2c6)][_0x539a5e(0x122)](_0xc54236['id'],_0xc54236[_0x539a5e(0x244)])),(_0x4626d5=_0x352f92(_0x2a2dd7||[],null))==null||_0x4626d5['forEach'](_0xb7d227=>this[_0x539a5e(0x2c6)][_0x539a5e(0x122)](_0xb7d227['id'],_0xb7d227[_0x539a5e(0x244)]));}};gt=Es([H(0x3,_0x557b7a(_0x5a5437)),H(0x4,_0x557b7a(q)),H(0x5,_0x557b7a(_0x2145c9)),H(0x6,_0x557b7a(_0x5e134c)),H(0x7,_0x557b7a(_0x39bde1)),H(0x8,_0x2f9740),H(0x9,_0x37f6d3),H(0xa,_0x4e3214),H(0xb,_0x4f30d5),H(0xc,_0x263588(Rt))],gt);let ss=class extends gt{constructor(_0x5d899b,_0x47d3e7,_0x2e8ac0,_0x2bb30b,_0x1dc78d,_0x2ef783,_0x333ae7,_0x51d66e,_0x1b04ee,_0x21cfd5,_0x4eb945,_0x7fd02c,_0x399e6d,_0x53c984,_0x3ec023,_0x149008,_0x5649fb,_0x5a0699){const _0x3e4a6e=_0x4e7919;super(_0x5d899b,_0x2e8ac0,_0x47d3e7,_0x2bb30b,_0x1dc78d,_0x2ef783,_0x333ae7,_0x51d66e,_0x53c984,_0x3ec023,_0x149008,_0x5649fb,_0x5a0699),this[_0x3e4a6e(0x8b)]=_0x5d899b,this[_0x3e4a6e(0x195)]=_0x47d3e7,this['_docStateChangeManagerService']=_0x1b04ee,this[_0x3e4a6e(0x3b5)]=_0x21cfd5,this[_0x3e4a6e(0x424)]=_0x4eb945,this['_docTransformSelectionsService']=_0x7fd02c,this[_0x3e4a6e(0x135)]=_0x399e6d;}['_createHandler'](){const _0x378307=_0x4e7919,_0x5636e7=super[_0x378307(0x2ee)]();return _0x5636e7['onTransformIME']=_0x4ca574=>this['_docTransformIMECacheService'][_0x378307(0x356)](_0x4ca574),_0x5636e7['onTransformState']=_0x339e00=>this['_docTransformStateCacheService']['transformStateCache'](_0x339e00),_0x5636e7['onTransformSelections']=_0x2e6275=>this[_0x378307(0x3b0)][_0x378307(0x12d)](_0x2e6275),_0x5636e7[_0x378307(0x37b)]=_0x4d8b35=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x4d8b35),_0x5636e7['onTransformRemoteChangesetByIMECache']=_0x4bd750=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x4bd750),_0x5636e7['onTransformRemoteChangesetByStateCache']=_0x598909=>this[_0x378307(0x424)]['transformRemoteChangeset'](_0x598909),_0x5636e7;}async[_0x4e7919(0x350)](){const _0x210b25=_0x4e7919,_0x3d422f=await super[_0x210b25(0x350)]();return this[_0x210b25(0x2a2)][_0x210b25(0x1fc)]['pipe'](_0x234986(this[_0x210b25(0x15d)]))[_0x210b25(0x1f1)](_0x27fc1e=>{const _0x101b38=_0x210b25;if(_0x27fc1e==null)return;const {unitId:_0x3a9390,redoState:_0x5eea11,commandId:_0x35900f}=_0x27fc1e;if(_0x3a9390!==this[_0x101b38(0x8b)])return;const _0x3775f2={'id':_0x35900f,'type':_0x2809bc[_0x101b38(0x140)],'params':{'unitId':_0x3a9390,'actions':_0x5eea11[_0x101b38(0x367)],'textRanges':null}};this[_0x101b38(0x2ff)](_0x3775f2);}),_0x3d422f;}};ss=Es([H(0x3,_0x557b7a(_0x5a5437)),H(0x4,_0x557b7a(q)),H(0x5,_0x557b7a(_0x2145c9)),H(0x6,_0x557b7a(_0x5e134c)),H(0x7,_0x557b7a(_0x39bde1)),H(0x8,_0x557b7a(_0x39f3d6)),H(0x9,_0x557b7a(ft)),H(0xa,_0x557b7a(mt)),H(0xb,_0x557b7a(pt)),H(0xc,_0x557b7a(Cs)),H(0xd,_0x2f9740),H(0xe,_0x37f6d3),H(0xf,_0x4e3214),H(0x10,_0x4f30d5),H(0x11,_0x263588(Rt))],ss);let is=class extends gt{constructor(_0x5f4cc1,_0x1c1f77,_0x736bf7,_0x569765,_0x279b38,_0x2ebe26,_0xdea03,_0x3198a8,_0x260dc2,_0x4c63ef,_0x431eca,_0xb416e9,_0x38ff9e,_0x5634f5){const _0x4a49cb=_0x4e7919;super(_0x5f4cc1,_0x736bf7,_0x1c1f77,_0x569765,_0x279b38,_0x2ebe26,_0xdea03,_0x3198a8,_0x4c63ef,_0x431eca,_0xb416e9,_0x38ff9e,_0x5634f5),this[_0x4a49cb(0x8b)]=_0x5f4cc1,this[_0x4a49cb(0x195)]=_0x1c1f77,this['_sheetTransformSelectionsService']=_0x260dc2;}[_0x4e7919(0x2ee)](){const _0x3d910f=_0x4e7919,_0x25ca53=super[_0x3d910f(0x2ee)]();return _0x25ca53[_0x3d910f(0x169)]=_0x5e739a=>this[_0x3d910f(0x2aa)][_0x3d910f(0x12d)](_0x5e739a),_0x25ca53;}async[_0x4e7919(0x350)](){const _0xaec626=_0x4e7919,_0x2b3ad4=await super[_0xaec626(0x350)]();return this[_0xaec626(0xb0)](this[_0xaec626(0x2c6)][_0xaec626(0x406)]((_0x4fc40f,_0x20d180)=>{const _0x160df8=_0xaec626;if(_0x4fc40f['type']!==_0x2809bc[_0x160df8(0x140)]||_0x20d180!=null&&_0x20d180['fromCollab']||_0x20d180!=null&&_0x20d180['onlyLocal'])return;const _0x39db99=_0x4fc40f[_0x160df8(0x244)];if((_0x39db99==null?void 0x0:_0x39db99['unitId'])!==this[_0x160df8(0x8b)])return;const _0x29d261=_0x4fc40f,_0x2aa0a0=this['_compressMutationService'][_0x160df8(0x25e)][_0x160df8(0x163)](this[_0x160df8(0x296)][_0x160df8(0x25e)][_0x160df8(0x32f)]()['COMPRESS_MUTATION_SEND'])([_0x29d261],null)||[_0x29d261];this[_0x160df8(0x2ff)](_0x2aa0a0[0x0]);})),_0x2b3ad4;}};is=Es([H(0x3,_0x557b7a(_0x5a5437)),H(0x4,_0x557b7a(q)),H(0x5,_0x557b7a(_0x2145c9)),H(0x6,_0x557b7a(_0x5e134c)),H(0x7,_0x557b7a(_0x39bde1)),H(0x8,_0x557b7a(vt)),H(0x9,_0x2f9740),H(0xa,_0x37f6d3),H(0xb,_0x4e3214),H(0xc,_0x4f30d5),H(0xd,_0x263588(Rt))],is);var Co=Object[_0x4e7919(0x13e)],Eo=Object[_0x4e7919(0x3a9)],bo=(_0x24e9f2,_0x2478e7,_0x567d05,_0x167eb2)=>{const _0x5c3e15=_0x4e7919;for(var _0x58983e=_0x167eb2>0x1?void 0x0:_0x167eb2?Eo(_0x2478e7,_0x567d05):_0x2478e7,_0x1271bf=_0x24e9f2[_0x5c3e15(0x126)]-0x1,_0x82ab50;_0x1271bf>=0x0;_0x1271bf--)(_0x82ab50=_0x24e9f2[_0x1271bf])&&(_0x58983e=(_0x167eb2?_0x82ab50(_0x2478e7,_0x567d05,_0x58983e):_0x82ab50(_0x58983e))||_0x58983e);return _0x167eb2&&_0x58983e&&Co(_0x2478e7,_0x567d05,_0x58983e),_0x58983e;},Lt=(_0x1538bb,_0x55ec58)=>(_0x51b012,_0x50251d)=>_0x55ec58(_0x51b012,_0x50251d,_0x1538bb);let it=class extends _0x15900e{constructor(_0x291e6e,_0x22f6f6,_0x3fe0bb){const _0x26e474=_0x4e7919;super(),g(this,'_entities',new Map()),g(this,_0x26e474(0x83),new _0x7a1bd7()),(this[_0x26e474(0x1e4)]=_0x291e6e,this[_0x26e474(0x106)]=_0x22f6f6,this[_0x26e474(0x29a)]=_0x3fe0bb,this[_0x26e474(0x350)]());}[_0x4e7919(0xc0)](){const _0x593808=_0x4e7919;super[_0x593808(0xc0)](),this[_0x593808(0x29c)][_0x593808(0x21b)](_0x614b6d=>_0x614b6d[_0x593808(0xc0)]()),this['_entities'][_0x593808(0x414)]();}['getCollabEntity'](_0x2a694a){const _0x1e23de=_0x4e7919;var _0x11ea5a;return(_0x11ea5a=this[_0x1e23de(0x29c)][_0x1e23de(0x16e)](_0x2a694a))!=null?_0x11ea5a:null;}[_0x4e7919(0x184)](_0x381cb2){const _0x5e2f08=_0x4e7919,_0x584fa7=this[_0x5e2f08(0x194)](_0x381cb2);return _0x584fa7?_0x2a024c(_0x584fa7):this[_0x5e2f08(0x83)][_0x5e2f08(0x210)](_0x27f80a(_0x5ab9a9=>_0x5ab9a9[_0x5e2f08(0x8b)]===_0x381cb2));}[_0x4e7919(0x350)](){const _0x501700=_0x4e7919;this[_0x501700(0x29a)][_0x501700(0x27d)](_0x470972[_0x501700(0x29f)])[_0x501700(0x210)](_0x234986(this[_0x501700(0x15d)]),_0x2b0474(0x10))[_0x501700(0x1f1)](async _0x2d2eeb=>{const _0x47e90a=_0x501700,_0x109157=_0x2d2eeb['getUnitId'](),_0x3cea74=await this[_0x47e90a(0x224)](_0x109157,ce['UNIVER_SHEET']);this['_entities'][_0x47e90a(0x2a0)](_0x109157,_0x3cea74);}),this[_0x501700(0x29a)][_0x501700(0x27d)](_0x470972[_0x501700(0x3ca)])[_0x501700(0x210)](_0x234986(this[_0x501700(0x15d)]),_0x2b0474(0x10))[_0x501700(0x210)](_0x27f80a(_0x21cd94=>!_0x21cd94[_0x501700(0x426)]()[_0x501700(0x164)]('__')))['subscribe'](async _0x5bc206=>{const _0x31fb28=_0x501700,_0x4e5bb6=_0x5bc206[_0x31fb28(0x426)](),_0x429b12=await this[_0x31fb28(0x224)](_0x4e5bb6,ce[_0x31fb28(0x3ca)]);this[_0x31fb28(0x29c)]['set'](_0x4e5bb6,_0x429b12);}),_0x365701(this[_0x501700(0x29a)]['getTypeOfUnitDisposed$'](_0x470972[_0x501700(0x29f)]),this[_0x501700(0x29a)][_0x501700(0x18c)](_0x470972['UNIVER_DOC']))[_0x501700(0x210)](_0x234986(this[_0x501700(0x15d)]))['subscribe'](_0x52a3ff=>{const _0x5ba1e2=_0x501700,_0x59a60c=_0x52a3ff[_0x5ba1e2(0x426)](),_0x442264=this['_entities'][_0x5ba1e2(0x16e)](_0x59a60c);_0x442264&&(_0x442264[_0x5ba1e2(0xc0)](),this['_entities']['delete'](_0x59a60c));});}async[_0x4e7919(0x224)](_0x643700,_0xb849f3){const _0xd5920e=_0x4e7919,_0x16aa30=await this[_0xd5920e(0x106)][_0xd5920e(0x386)](_0x643700),_0x5900fc=this[_0xd5920e(0x1e4)][_0xd5920e(0x2c9)](this['_getCtorByUniverType'](_0xb849f3),_0x643700,_0xb849f3,_0x16aa30);return await _0x5900fc[_0xd5920e(0x251)](),this[_0xd5920e(0x83)][_0xd5920e(0x409)](_0x5900fc),_0x5900fc;}[_0x4e7919(0xfd)](_0x309be1){const _0x5280e1=_0x4e7919;switch(_0x309be1){case ce[_0x5280e1(0x3ca)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x5280e1(0x349)+_0x309be1);}}};it=bo([Lt(0x0,_0x557b7a(_0x5a5437)),Lt(0x1,_0x557b7a(Ae)),Lt(0x2,_0x5e27bc)],it);const Gs=['purple300',_0x4e7919(0x2fb),'verdancy600',_0x4e7919(0x1a5),_0x4e7919(0x431),_0x4e7919(0x373)];class bs extends _0x4b38ce{constructor(){const _0x435ec8=_0x4e7919;super(...arguments),g(this,_0x435ec8(0xba),new Map()),g(this,_0x435ec8(0x1e3),0x0);}[_0x4e7919(0xa8)](_0x271036){const _0x3c44aa=_0x4e7919;if(this[_0x3c44aa(0xba)][_0x3c44aa(0x297)](_0x271036))return this[_0x3c44aa(0xba)][_0x3c44aa(0x16e)](_0x271036);const _0x319f3e=Gs[this[_0x3c44aa(0x1e3)]];return this[_0x3c44aa(0x1e3)]=(this[_0x3c44aa(0x1e3)]+0x1)%Gs[_0x3c44aa(0x126)],this[_0x3c44aa(0xba)][_0x3c44aa(0x2a0)](_0x271036,_0x319f3e),_0x319f3e;}}var To=Object[_0x4e7919(0x13e)],Ro=Object[_0x4e7919(0x3a9)],yo=(_0x4d0403,_0x1d068b,_0x165d2d,_0x2654ad)=>{const _0x564004=_0x4e7919;for(var _0x598302=_0x2654ad>0x1?void 0x0:_0x2654ad?Ro(_0x1d068b,_0x165d2d):_0x1d068b,_0x155e1a=_0x4d0403[_0x564004(0x126)]-0x1,_0x240f91;_0x155e1a>=0x0;_0x155e1a--)(_0x240f91=_0x4d0403[_0x155e1a])&&(_0x598302=(_0x2654ad?_0x240f91(_0x1d068b,_0x165d2d,_0x598302):_0x240f91(_0x598302))||_0x598302);return _0x2654ad&&_0x598302&&To(_0x1d068b,_0x165d2d,_0x598302),_0x598302;},Oe=(_0x248fca,_0x5beba6)=>(_0x3472e7,_0x48f68b)=>_0x5beba6(_0x3472e7,_0x48f68b,_0x248fca);const Oo=0x12c,wo=0x64;let ns=class extends _0x15900e{constructor(_0x5c5cc2,_0x5c8fbd,_0x5ed1af,_0x60c188,_0x1f3aba,_0x2ab83a,_0x2d25be,_0x191f2f,_0x107f9d){const _0xe6e59=_0x4e7919;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,_0xe6e59(0x1db),new _0x524b68(new Map())),g(this,_0xe6e59(0x1e0),this[_0xe6e59(0x1db)][_0xe6e59(0x180)]()),g(this,_0xe6e59(0x13f),new _0x524b68([])),g(this,_0xe6e59(0x2b1),this[_0xe6e59(0x13f)]['pipe'](_0x4f25a9(Oo))),g(this,_0xe6e59(0x48b),_0x28300d(_0x5b13bd=>{const _0x54e28c=_0xe6e59,_0x4ad108={'eventID':_0xb7e982[_0x54e28c(0x483)],'data':{'unitID':this[_0x54e28c(0x8b)],'memberID':this[_0x54e28c(0x3e2)][_0x54e28c(0x3cd)](),'selection':Pi(_0x5b13bd)}};this[_0x54e28c(0x3e2)][_0x54e28c(0x7c)](_0x4ad108,this[_0x54e28c(0x8b)]);},wo)),(this[_0xe6e59(0x8b)]=_0x5c5cc2,this[_0xe6e59(0x3e2)]=_0x5c8fbd,this[_0xe6e59(0x1e4)]=_0x5ed1af,this['_colorAssignService']=_0x60c188,this[_0xe6e59(0x17d)]=_0x1f3aba,this[_0xe6e59(0x143)]=_0x2ab83a,this[_0xe6e59(0x2ac)]=_0x2d25be,this[_0xe6e59(0x29a)]=_0x191f2f,this[_0xe6e59(0x2c6)]=_0x107f9d);}get[_0x4e7919(0x1ec)](){const _0x1f0cd1=_0x4e7919;return this[_0x1f0cd1(0x1db)][_0x1f0cd1(0x358)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x4e7919(0xc0)](){const _0x299dab=_0x4e7919;super[_0x299dab(0xc0)](),this[_0x299dab(0x1db)][_0x299dab(0x409)](new Map()),this['_cursorInfo$']['complete'](),this[_0x299dab(0x13f)][_0x299dab(0x409)]([]),this[_0x299dab(0x13f)]['complete']();}['init'](){const _0xc78999=_0x4e7919;this[_0xc78999(0x350)]||(this[_0xc78999(0x350)]=!0x0,this[_0xc78999(0x3e2)][_0xc78999(0x109)][_0xc78999(0x210)](_0x234986(this[_0xc78999(0x15d)]))['subscribe'](_0x2ef40f=>{const _0x39b493=_0xc78999;_0x2ef40f===ve[_0x39b493(0x28f)]?this['_toggleOnline']():this[_0x39b493(0x419)]();}),this['_session'][_0xc78999(0x16d)]['pipe'](_0x234986(this[_0xc78999(0x15d)]))['subscribe'](_0xbc038e=>{const _0x112be3=_0xc78999,_0x5933eb=_0xbc038e[_0x112be3(0x161)];_0x5933eb===_0xb7e982[_0x112be3(0x483)]&&this[_0x112be3(0x36f)](_0xbc038e),_0x5933eb===_0xb7e982[_0x112be3(0x348)]&&this[_0x112be3(0x117)](_0xbc038e);}),this[_0xc78999(0xb0)](this[_0xc78999(0x2c6)][_0xc78999(0x406)](_0x380447=>{const _0x1105b9=_0xc78999,_0x215b88=_0x380447['params'];_0x215b88!=null&&this[_0x1105b9(0x1c1)]&&_0x380447['id']===_0x3a05c0['id']&&_0x215b88[_0x1105b9(0x3e7)]===this[_0x1105b9(0x8b)]&&_0x215b88[_0x1105b9(0x32c)]===!0x1&&_0x215b88[_0x1105b9(0xc6)][_0x1105b9(0x126)]>0x0&&this[_0x1105b9(0x48b)](_0x215b88[_0x1105b9(0xc6)]);})),this[_0xc78999(0x143)]['collabCursorState$'][_0xc78999(0x210)](_0x234986(this[_0xc78999(0x15d)]))[_0xc78999(0x1f1)](_0x5c2568=>{const _0x500c8e=_0xc78999;if((_0x5c2568==null?void 0x0:_0x5c2568[_0x500c8e(0x8b)])!==this[_0x500c8e(0x8b)])return;const _0x3c5c81={'eventID':_0xb7e982[_0x500c8e(0x483)],'data':_0x5c2568};this['_onCursorUpdate'](_0x3c5c81);}),this[_0xc78999(0xb0)](this[_0xc78999(0x2c6)][_0xc78999(0x406)](_0x1b173d=>{const _0x595093=_0xc78999;if(_0x1b173d[_0x595093(0x244)]==null)return;const _0x5bed76=_0x1b173d[_0x595093(0x244)];if(_0x1b173d['id']!==_0x36d845['id']||_0x5bed76['unitId']!==this[_0x595093(0x8b)])return;const _0x29dc8a={'id':_0x595093(0x3b8),'params':_0x5bed76},_0x5bb3d2=this['cursorInfo'];for(const [_0x2ae0d6,_0x3887c4]of _0x5bb3d2){const _0x549592={'id':_0x595093(0x3b8),'params':{'unitId':this[_0x595093(0x8b)],'actions':null,'textRanges':_0x3887c4[_0x595093(0xc6)]}},_0x5a903c=this[_0x595093(0x2ac)][_0x595093(0x132)](_0x29dc8a,_0x549592,!0x1);if(_0x5bbb53(_0x5a903c))throw _0x5a903c[_0x595093(0x24d)];_0x5bb3d2[_0x595093(0x2a0)](_0x2ae0d6,{..._0x3887c4,'ranges':_0x5a903c['m2Prime'][_0x595093(0x244)][_0x595093(0x21d)]});}queueMicrotask(()=>{const _0x4e6d8e=_0x595093;this[_0x4e6d8e(0x1db)]['next'](_0x5bb3d2);});})));}[_0x4e7919(0x36f)](_0x8d6aab){const _0x433fbf=_0x4e7919;var _0x288deb,_0x226947;const {memberID:_0x53818d,selection:_0x270bb5}=_0x8d6aab[_0x433fbf(0x28a)],_0x3e0406=ho(_0x270bb5),_0x197b52=(_0x226947=(_0x288deb=this['_memberService']['getMember'](this['unitID'],_0x53818d))==null?void 0x0:_0x288deb['name'])!=null?_0x226947:_0x433fbf(0x2dd),_0x14315c={'color':this[_0x433fbf(0x1fd)]['assignAColorForMemberID'](_0x53818d),'name':_0x197b52,'ranges':_0x3e0406},_0x54b901=this['cursorInfo'];_0x54b901[_0x433fbf(0x2a0)](_0x53818d,_0x14315c),this['_cursorInfo$'][_0x433fbf(0x409)](_0x54b901);}[_0x4e7919(0x117)](_0x5b9499){const _0x2f9811=_0x4e7919,{memberID:_0x353d5c}=_0x5b9499[_0x2f9811(0x28a)],_0xcf02da=this['cursorInfo'];_0xcf02da[_0x2f9811(0x15f)](_0x353d5c),this[_0x2f9811(0x1db)][_0x2f9811(0x409)](_0xcf02da);}[_0x4e7919(0x3d2)](){const _0x71e09=_0x4e7919;var _0x2013e6;if(this[_0x71e09(0x1c1)]=!0x0,((_0x2013e6=this[_0x71e09(0x29a)][_0x71e09(0x41f)]())==null?void 0x0:_0x2013e6[_0x71e09(0x426)]())!==this[_0x71e09(0x8b)])return;const _0x4a1f4c=this[_0x71e09(0x1e4)][_0x71e09(0x16e)](_0x5c70ee)['getDocRanges']();Array[_0x71e09(0x1a9)](_0x4a1f4c)&&_0x4a1f4c[_0x71e09(0x126)]>0x0&&this[_0x71e09(0x48b)](_0x4a1f4c);}[_0x4e7919(0x419)](){const _0x4f9e9=_0x4e7919;this[_0x4f9e9(0x1c1)]=!0x1;}};ns=yo([Oe(0x2,_0x557b7a(_0x5a5437)),Oe(0x3,_0x557b7a(bs)),Oe(0x4,_0x557b7a(Ne)),Oe(0x5,_0x557b7a(Cs)),Oe(0x6,_0xd1dd82),Oe(0x7,_0x5e27bc),Oe(0x8,_0x37f6d3)],ns);var Do=Object[_0x4e7919(0x13e)],Po=Object[_0x4e7919(0x3a9)],Uo=(_0x2de317,_0x53c554,_0x43f792,_0x5b07ff)=>{const _0x2ecb36=_0x4e7919;for(var _0x374906=_0x5b07ff>0x1?void 0x0:_0x5b07ff?Po(_0x53c554,_0x43f792):_0x53c554,_0x5b143e=_0x2de317[_0x2ecb36(0x126)]-0x1,_0x55dc0f;_0x5b143e>=0x0;_0x5b143e--)(_0x55dc0f=_0x2de317[_0x5b143e])&&(_0x374906=(_0x5b07ff?_0x55dc0f(_0x53c554,_0x43f792,_0x374906):_0x55dc0f(_0x374906))||_0x374906);return _0x5b07ff&&_0x374906&&Do(_0x53c554,_0x43f792,_0x374906),_0x374906;},Be=(_0xe55145,_0x440d20)=>(_0x2f22a9,_0x453f57)=>_0x440d20(_0x2f22a9,_0x453f57,_0xe55145);const No=0x12c,Ao=0x64,Mo=()=>{let _0x10d221=[],_0x418df3=!0x1;return _0x2d4d75=>{const _0x21160b=_0x5ed9;_0x10d221[_0x21160b(0x209)](_0x2d4d75),_0x418df3||(_0x418df3=!0x0,setTimeout(()=>{const _0x1d044a=_0x21160b;_0x10d221[_0x1d044a(0x21b)](_0x1cfb2a=>_0x1cfb2a()),_0x10d221=[],_0x418df3=!0x1;}));};};let rs=class extends _0x15900e{constructor(_0x7cc70,_0x59e2f4,_0x24ab99,_0x3da043,_0x1f42b5,_0x34cbbf,_0x205dbc,_0x2b861d){const _0x2145e2=_0x4e7919;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,'_cursorInfo$',new _0x524b68(new Map())),g(this,_0x2145e2(0x1e0),this['_cursorInfo$'][_0x2145e2(0x180)]()),g(this,_0x2145e2(0x13f),new _0x524b68([])),g(this,'roomMembers$',this[_0x2145e2(0x13f)][_0x2145e2(0x210)](_0x4f25a9(No))),g(this,_0x2145e2(0x48b),_0x28300d((_0x3de9ef,_0xa867bc)=>{const _0x2c96ac=_0x2145e2,_0x1e502e={'eventID':_0xb7e982[_0x2c96ac(0x483)],'data':{'unitID':this['unitID'],'memberID':this[_0x2c96ac(0x3e2)][_0x2c96ac(0x3cd)](),'selection':_0x3e9623(_0x3de9ef,_0xa867bc['range'])}};this[_0x2c96ac(0x3e2)][_0x2c96ac(0x7c)](_0x1e502e,this[_0x2c96ac(0x8b)]);},Ao)),(this[_0x2145e2(0x8b)]=_0x7cc70,this['_session']=_0x59e2f4,this[_0x2145e2(0x1e4)]=_0x24ab99,this[_0x2145e2(0x1fd)]=_0x3da043,this[_0x2145e2(0x17d)]=_0x1f42b5,this[_0x2145e2(0x29a)]=_0x34cbbf,this[_0x2145e2(0x2c6)]=_0x205dbc,this[_0x2145e2(0x92)]=_0x2b861d);}get['cursorInfo'](){const _0x2aece0=_0x4e7919;return this[_0x2aece0(0x1db)]['getValue']();}get[_0x4e7919(0x1d4)](){const _0x1b5633=_0x4e7919;return this['_roomMembers$'][_0x1b5633(0x358)]();}[_0x4e7919(0xc0)](){const _0x6c874a=_0x4e7919;super[_0x6c874a(0xc0)](),this['_cursorInfo$'][_0x6c874a(0x409)](new Map()),this[_0x6c874a(0x1db)]['complete'](),this[_0x6c874a(0x13f)]['next']([]),this[_0x6c874a(0x13f)]['complete']();}[_0x4e7919(0x251)](){const _0x34d678=_0x4e7919;this[_0x34d678(0x350)]||(this[_0x34d678(0x350)]=!0x0,this[_0x34d678(0x3e2)][_0x34d678(0x109)][_0x34d678(0x210)](_0x234986(this[_0x34d678(0x15d)]))[_0x34d678(0x1f1)](_0x14aa6f=>{const _0x5e2fbf=_0x34d678;_0x14aa6f===ve[_0x5e2fbf(0x28f)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x34d678(0x16d)][_0x34d678(0x210)](_0x234986(this[_0x34d678(0x15d)]))[_0x34d678(0x1f1)](_0x189ff9=>{const _0x26e76e=_0x34d678,_0x5b2803=_0x189ff9['eventID'];_0x5b2803===_0xb7e982['UPDATE_CURSOR']&&this[_0x26e76e(0x36f)](_0x189ff9),_0x5b2803===_0xb7e982[_0x26e76e(0x348)]&&this[_0x26e76e(0x117)](_0x189ff9);}),this[_0x34d678(0x3de)](),this[_0x34d678(0xb0)](this[_0x34d678(0x2c6)][_0x34d678(0x406)](_0x22d0a9=>{const _0x3dc77c=_0x34d678;if(this['_online']&&_0x22d0a9['id']===_0x3d4acc['id']&&_0x22d0a9['params'][_0x3dc77c(0x3e7)]===this[_0x3dc77c(0x8b)]){const _0x304292=_0x22d0a9[_0x3dc77c(0x244)];this[_0x3dc77c(0x48b)](_0x304292['subUnitId'],_0x304292['selections'][0x0]);}})));}[_0x4e7919(0x36f)](_0x5da1b7){const _0x57a5d3=_0x4e7919;var _0xe4c9c1,_0x25e27d;const {memberID:_0x34d958,selection:_0x5ae57c}=_0x5da1b7['data'],{sheetName:_0x387182,range:_0x25faa7}=_0x5bdf02(_0x5ae57c),_0x1e68aa={'name':(_0x25e27d=(_0xe4c9c1=this[_0x57a5d3(0x17d)]['getMember'](this['unitID'],_0x34d958))==null?void 0x0:_0xe4c9c1['name'])!=null?_0x25e27d:_0x57a5d3(0x2dd),'range':this[_0x57a5d3(0x11f)](_0x387182,_0x25faa7),'sheetID':_0x387182,'color':this[_0x57a5d3(0x1fd)][_0x57a5d3(0xa8)](_0x34d958),'selection':_0x5ae57c},_0x2a4c8d=this[_0x57a5d3(0x1ec)];_0x2a4c8d['set'](_0x34d958,_0x1e68aa),this[_0x57a5d3(0x1db)][_0x57a5d3(0x409)](_0x2a4c8d);}[_0x4e7919(0x117)](_0x82ef14){const _0x1b26f9=_0x4e7919,{memberID:_0x16d646}=_0x82ef14[_0x1b26f9(0x28a)],_0x57db17=this[_0x1b26f9(0x1ec)];_0x57db17['delete'](_0x16d646),this[_0x1b26f9(0x1db)][_0x1b26f9(0x409)](_0x57db17);}[_0x4e7919(0x11f)](_0x45b005,_0x41bc1e){const _0x49b226=_0x4e7919;var _0x5c84e8,_0x2156b9;const _0x13a08d=(_0x2156b9=(_0x5c84e8=this[_0x49b226(0x29a)][_0x49b226(0x2e1)](this[_0x49b226(0x8b)]))==null?void 0x0:_0x5c84e8[_0x49b226(0x2c3)](_0x45b005))==null?void 0x0:_0x2156b9[_0x49b226(0x1dd)]();return(_0x13a08d==null?void 0x0:_0x13a08d[_0x49b226(0x22a)](_0x26521d=>_0x1b7c4d[_0x49b226(0x45b)](_0x26521d,_0x41bc1e)))||_0x41bc1e;}[_0x4e7919(0x3de)](){const _0x5d8a32=_0x4e7919,_0x460b27=new _0x1eefc9(),_0x53e689=Mo(),_0x3902f2=()=>{const _0x374cf6=_0x5ed9;_0x460b27[_0x374cf6(0xc0)]();const _0x106e9e=(_0x59efe2,_0x23f8cb,_0x57b0d6,_0x18a4ae)=>{const _0x55adf5=_0x374cf6;let _0x1241dd=[];switch(_0x59efe2['id']){case _0x270c40[_0x55adf5(0x3b7)]:{_0x1241dd=_0xebe455(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x2a9)]:{_0x1241dd=_0x471763(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x263)]:{_0x1241dd=_0x40fdf9(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x328)]:{_0x1241dd=_0x1dc6d5(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0xd9)]:{_0x1241dd=_0x6e61e4(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x2b0)]:{_0x1241dd=_0x5c2462(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0xe6)]:{_0x1241dd=_0x1ff957(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x45c)]:{_0x1241dd=_0x33fa28(_0x59efe2,_0x18a4ae);break;}case _0x270c40[_0x55adf5(0x2b3)]:{_0x1241dd=_0x3820ed(_0x59efe2,_0x18a4ae);break;}}const _0x344ded=_0x3d211e(_0x1241dd,_0x18a4ae),_0x12a3ea=this[_0x55adf5(0x1ec)]['get'](_0x23f8cb);if(_0x12a3ea&&_0x344ded){const _0x260900={..._0x12a3ea,'range':_0x344ded};this[_0x55adf5(0x1ec)]['set'](_0x23f8cb,_0x260900),_0x53e689(()=>{const _0xb0eace=_0x55adf5,_0x4f5b6f=this[_0xb0eace(0x92)][_0xb0eace(0x1a2)](_0x344ded,_0x34b87d=>(_0x4f5b6f[_0xb0eace(0xc0)](),_0x106e9e(_0x34b87d,_0x23f8cb,_0x57b0d6,_0x344ded)));_0x460b27['add'](_0x4f5b6f);});}return{'redos':[],'undos':[]};};this[_0x374cf6(0x1ec)][_0x374cf6(0x21b)]((_0x2413d6,_0x11e789)=>{const _0x4aee5b=_0x374cf6,{range:_0x1edc53,sheetID:_0x52b4dc}=_0x2413d6,_0x1cac51=this[_0x4aee5b(0x92)][_0x4aee5b(0x1a2)](_0x1edc53,_0x37dc2d=>(_0x1cac51['dispose'](),_0x106e9e(_0x37dc2d,_0x11e789,_0x52b4dc,_0x1edc53)));_0x460b27['add'](_0x1cac51);});};this['disposeWithMe'](_0x290028(this[_0x5d8a32(0x1db)][_0x5d8a32(0x1f1)](()=>{_0x3902f2();})));}[_0x4e7919(0x3d2)](){const _0x43074e=_0x4e7919;var _0x560cba,_0x57f58d;if(this[_0x43074e(0x1c1)]=!0x0,((_0x560cba=this[_0x43074e(0x29a)]['getFocusedUnit']())==null?void 0x0:_0x560cba[_0x43074e(0x426)]())!==this['unitID'])return;const _0x256936=(_0x57f58d=this[_0x43074e(0x1e4)]['get'](_0x36bb55)[_0x43074e(0x137)]())==null?void 0x0:_0x57f58d[0x0],_0x1cb451=this[_0x43074e(0x29a)][_0x43074e(0x2d4)](_0x470972[_0x43074e(0x29f)])[_0x43074e(0x45e)]();_0x256936&&_0x1cb451&&this[_0x43074e(0x48b)](_0x1cb451[_0x43074e(0x201)](),_0x256936);}[_0x4e7919(0x419)](){this['_online']=!0x1;}};rs=Uo([Be(0x2,_0x557b7a(_0x5a5437)),Be(0x3,_0x557b7a(bs)),Be(0x4,_0x557b7a(Ne)),Be(0x5,_0x5e27bc),Be(0x6,_0x37f6d3),Be(0x7,_0x557b7a(_0x23b4a0))],rs);var xo=Object[_0x4e7919(0x13e)],Lo=Object[_0x4e7919(0x3a9)],$o=(_0x522267,_0x1b94a2,_0x51dbb9,_0x31fc5c)=>{const _0x5bf214=_0x4e7919;for(var _0xbceb57=_0x31fc5c>0x1?void 0x0:_0x31fc5c?Lo(_0x1b94a2,_0x51dbb9):_0x1b94a2,_0x1b40b0=_0x522267[_0x5bf214(0x126)]-0x1,_0x23ce99;_0x1b40b0>=0x0;_0x1b40b0--)(_0x23ce99=_0x522267[_0x1b40b0])&&(_0xbceb57=(_0x31fc5c?_0x23ce99(_0x1b94a2,_0x51dbb9,_0xbceb57):_0x23ce99(_0xbceb57))||_0xbceb57);return _0x31fc5c&&_0xbceb57&&xo(_0x1b94a2,_0x51dbb9,_0xbceb57),_0xbceb57;},$t=(_0x591651,_0x48db23)=>(_0x43dc94,_0x364408)=>_0x48db23(_0x43dc94,_0x364408,_0x591651);let Ve=class extends _0x15900e{constructor(_0x52de1d,_0xb0b93b,_0x3b5348){const _0x534a05=_0x4e7919;super(),g(this,_0x534a05(0x29c),new Map()),g(this,_0x534a05(0x83),new _0x7a1bd7()),(this[_0x534a05(0x29a)]=_0x52de1d,this[_0x534a05(0x1e4)]=_0xb0b93b,this[_0x534a05(0x106)]=_0x3b5348,this[_0x534a05(0x350)]());}[_0x4e7919(0xc0)](){const _0x3b671c=_0x4e7919;super[_0x3b671c(0xc0)](),this[_0x3b671c(0x83)][_0x3b671c(0x40f)](),this[_0x3b671c(0x29c)][_0x3b671c(0x21b)](_0x1db002=>_0x1db002[_0x3b671c(0xc0)]());}[_0x4e7919(0x314)](_0x53acff){const _0x51bdfe=_0x4e7919;return this[_0x51bdfe(0x29c)]['has'](_0x53acff)?this[_0x51bdfe(0x29c)]['get'](_0x53acff)[_0x51bdfe(0x1e0)]:this[_0x51bdfe(0x83)]['pipe'](_0x238f7b(_0x380ca1=>_0x380ca1[_0x51bdfe(0x8b)]===_0x53acff),_0x6ad44a(_0x105a37=>_0x105a37[_0x51bdfe(0x1e0)]));}[_0x4e7919(0x350)](){const _0x31ca86=_0x4e7919;this[_0x31ca86(0x29a)]['getTypeOfUnitAdded$'](_0x470972[_0x31ca86(0x29f)])[_0x31ca86(0x210)](_0x234986(this[_0x31ca86(0x15d)]))['subscribe'](async _0x1e9c68=>{const _0x2d2807=_0x31ca86,_0x5df571=_0x1e9c68['getUnitId'](),_0xf3150a=await this['_startSheetCollabCursor'](_0x5df571);this[_0x2d2807(0x83)][_0x2d2807(0x409)](_0xf3150a),this[_0x2d2807(0x29c)][_0x2d2807(0x2a0)](_0x5df571,_0xf3150a);}),this['_univerInstanceService'][_0x31ca86(0x27d)](_0x470972['UNIVER_DOC'])['pipe'](_0x234986(this[_0x31ca86(0x15d)]))[_0x31ca86(0x210)](_0x238f7b(_0x3e4e70=>!_0x3e4e70[_0x31ca86(0x426)]()[_0x31ca86(0x164)]('__')))[_0x31ca86(0x1f1)](async _0x88e3f=>{const _0x2f7a85=_0x31ca86,_0x51a226=_0x88e3f['getUnitId'](),_0x42e66e=await this[_0x2f7a85(0x262)](_0x51a226);this['_entityInit$'][_0x2f7a85(0x409)](_0x42e66e),this[_0x2f7a85(0x29c)]['set'](_0x51a226,_0x42e66e);}),_0x365701(this['_univerInstanceService'][_0x31ca86(0x18c)](_0x470972[_0x31ca86(0x3ca)]),this[_0x31ca86(0x29a)][_0x31ca86(0x18c)](_0x470972[_0x31ca86(0x29f)]))[_0x31ca86(0x210)](_0x234986(this['dispose$']))[_0x31ca86(0x1f1)](_0x3201e3=>{const _0x370e72=_0x31ca86,_0x313adf=_0x3201e3[_0x370e72(0x426)](),_0x2bb1cc=this[_0x370e72(0x29c)][_0x370e72(0x16e)](_0x313adf);_0x2bb1cc&&(_0x2bb1cc[_0x370e72(0xc0)](),this[_0x370e72(0x29c)][_0x370e72(0x15f)](_0x313adf));});}async[_0x4e7919(0x37e)](_0x10e69c){const _0x54b9f7=_0x4e7919,_0x11d8ac=await this[_0x54b9f7(0x106)][_0x54b9f7(0x386)](_0x10e69c),_0x2d2a85=this[_0x54b9f7(0x1e4)][_0x54b9f7(0x2c9)](rs,_0x10e69c,_0x11d8ac);return _0x2d2a85[_0x54b9f7(0x251)](),_0x2d2a85;}async[_0x4e7919(0x262)](_0x2bb8f6){const _0xa5b4a9=_0x4e7919,_0x3075df=await this['_collabSessionService'][_0xa5b4a9(0x386)](_0x2bb8f6),_0x298c5b=this[_0xa5b4a9(0x1e4)][_0xa5b4a9(0x2c9)](ns,_0x2bb8f6,_0x3075df);return _0x298c5b[_0xa5b4a9(0x251)](),_0x298c5b;}};Ve=$o([$t(0x0,_0x5e27bc),$t(0x1,_0x557b7a(_0x5a5437)),$t(0x2,_0x557b7a(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x35174f,_0x26d46b){const _0x4f73ef=_0x4e7919;let {radius:_0x1ed141,width:_0x3d0284,height:_0x115cd3}=_0x26d46b;_0x1ed141=_0x1ed141!=null?_0x1ed141:0x0,_0x3d0284=_0x3d0284!=null?_0x3d0284:0x1e,_0x115cd3=_0x115cd3!=null?_0x115cd3:0x1e;let _0x120788=0x0,_0x5db4e=0x0,_0x3f9079=0x0;_0x120788=_0x5db4e=_0x3f9079=Math['min'](_0x1ed141,_0x3d0284/0x2,_0x115cd3/0x2),_0x35174f['beginPath'](),_0x35174f[_0x4f73ef(0x43c)](_0x120788,0x0),_0x35174f[_0x4f73ef(0x2ef)](_0x3d0284-_0x5db4e,0x0),_0x35174f[_0x4f73ef(0x43a)](_0x3d0284-_0x5db4e,_0x5db4e,_0x5db4e,Math['PI']*0x3/0x2,0x0,!0x1),_0x35174f[_0x4f73ef(0x2ef)](_0x3d0284,_0x115cd3-_0x3f9079),_0x35174f[_0x4f73ef(0x43a)](_0x3d0284-_0x3f9079,_0x115cd3-_0x3f9079,_0x3f9079,0x0,Math['PI']/0x2,!0x1),_0x35174f[_0x4f73ef(0x2ef)](0x0,_0x115cd3),_0x35174f['lineTo'](0x0,_0x120788),_0x35174f[_0x4f73ef(0x43a)](_0x120788,_0x120788,_0x120788,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x35174f[_0x4f73ef(0x418)](),_0x26d46b['fill']&&(_0x35174f[_0x4f73ef(0xb8)](),_0x35174f['fillStyle']=_0x26d46b[_0x4f73ef(0x186)],_0x26d46b[_0x4f73ef(0x429)]===_0x4f73ef(0x1c5)?_0x35174f[_0x4f73ef(0x186)]('evenodd'):_0x35174f[_0x4f73ef(0x186)](),_0x35174f[_0x4f73ef(0x37f)]());}class yt extends _0x41c73d{constructor(_0x3627d4,_0x19dd41){const _0x2e1cb7=_0x4e7919;super(_0x3627d4,_0x19dd41),g(this,_0x2e1cb7(0x26b)),g(this,_0x2e1cb7(0x93)),(this[_0x2e1cb7(0x26b)]=_0x19dd41==null?void 0x0:_0x19dd41[_0x2e1cb7(0x26b)],this[_0x2e1cb7(0x93)]=_0x19dd41==null?void 0x0:_0x19dd41[_0x2e1cb7(0x93)]);}static[_0x4e7919(0x3f2)](_0x1eb7b7,_0x2df11b){const _0xce39ad=_0x4e7919,{text:_0x35bdfc,color:_0x73b763}=_0x2df11b;_0x1eb7b7[_0xce39ad(0xb8)](),_0x1eb7b7[_0xce39ad(0x2c1)]=_0xce39ad(0x3fe);const _0x4b56cf=_0x1eb7b7[_0xce39ad(0x15e)](_0x35bdfc)[_0xce39ad(0x471)],_0xb349d1=Math['min'](_0x4b56cf+0x2*Ht,Ys);jo(_0x1eb7b7,{'height':nt,'radius':0x4,'width':_0xb349d1,'fill':_0x73b763,'evented':!0x1}),_0x1eb7b7[_0xce39ad(0x219)]='#FFF';const _0x1bf4cd=Ht,_0x49c57c=nt-Ho,_0x39209a=Ys-0x2*Ht;if(_0x4b56cf>_0x39209a){let _0x1b0a8d='',_0x53f7b2=0x0;for(const _0x3e66a of _0x35bdfc){const _0x5f35da=_0x1eb7b7[_0xce39ad(0x15e)](_0x3e66a)['width'];if(_0x53f7b2+_0x5f35da<=_0x39209a-_0x1eb7b7[_0xce39ad(0x15e)]('...')[_0xce39ad(0x471)])_0x1b0a8d+=_0x3e66a,_0x53f7b2+=_0x5f35da;else{_0x1b0a8d+=_0xce39ad(0x432);break;}}_0x1eb7b7[_0xce39ad(0x1fa)](_0x1b0a8d,_0x1bf4cd,_0x49c57c);}else _0x1eb7b7[_0xce39ad(0x1fa)](_0x35bdfc,_0x1bf4cd,_0x49c57c);_0x1eb7b7[_0xce39ad(0x37f)]();}[_0x4e7919(0x249)](_0x23ac69){yt['drawWith'](_0x23ac69,this);}}const jt='collab-text-anchor-',Bo=_0x4e7919(0xdd),ko=_0x4e7919(0x19c),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x4e7919(0x343);class Ks{constructor(_0x31544b,_0x3662fd,_0x5c9110,_0x598f71){const _0x29895a=_0x4e7919;g(this,_0x29895a(0x41a),[]),g(this,_0x29895a(0x292),null),g(this,_0x29895a(0x3a8),null),g(this,_0x29895a(0x335),null),g(this,'_hideTimer',null),g(this,_0x29895a(0x271),null),(this[_0x29895a(0x146)]=_0x31544b,this[_0x29895a(0x2db)]=_0x3662fd,this[_0x29895a(0x2bb)]=_0x5c9110,this['_document']=_0x598f71,this[_0x29895a(0x34e)]());}set['_hover'](_0x15c07c){const _0x17d253=_0x4e7919;_0x15c07c?(this['_anchorDot']&&this[_0x17d253(0x335)][_0x17d253(0x231)](),this[_0x17d253(0x3a8)]&&this[_0x17d253(0x3a8)][_0x17d253(0x243)]()):(this[_0x17d253(0x335)]&&this['_anchorDot']['show'](),this[_0x17d253(0x3a8)]&&this[_0x17d253(0x3a8)]['hide']());}[_0x4e7919(0xc0)](){const _0x2cefd1=_0x4e7919;for(const _0x538183 of this[_0x2cefd1(0x41a)])_0x538183[_0x2cefd1(0xc0)]();this[_0x2cefd1(0x3a8)]&&this[_0x2cefd1(0x3a8)]['dispose'](),this[_0x2cefd1(0x335)]&&this['_anchorDot'][_0x2cefd1(0xc0)](),this[_0x2cefd1(0x292)]&&this[_0x2cefd1(0x292)][_0x2cefd1(0xc0)](),this[_0x2cefd1(0x271)]&&this[_0x2cefd1(0x271)]();}[_0x4e7919(0x34e)](){const _0x230bc7=_0x4e7919;var _0x51c9f1;const {_docSkeleton:_0xd5fac1,_document:_0x49e38d}=this,{color:_0x226df9,name:_0x2523ac,ranges:_0x1ced85}=this[_0x230bc7(0x146)],_0x10edbc=_0x49e38d[_0x230bc7(0x1b4)](),{docsLeft:_0x2f6758,docsTop:_0x34a9a2}=_0x10edbc,_0x18f508=new _0x26a44f(_0x10edbc,_0xd5fac1);for(const {startOffset:_0x214f5a,endOffset:_0x3aa4ac,rangeType:_0x326919,segmentId:_0x6bf680,segmentPage:_0x2aab48,collapsed:_0x5cc1cd,isActive:_0x1ab06f}of _0x1ced85){const _0x3789ea=_0xd5fac1[_0x230bc7(0xf5)](_0x214f5a,!0x0,_0x6bf680,_0x2aab48);let _0x4b97e3=_0xd5fac1[_0x230bc7(0xf5)](_0x3aa4ac,!0x0,_0x6bf680,_0x2aab48);if(_0x4b97e3==null&&(_0x4b97e3=_0xd5fac1['findNodePositionByCharIndex'](_0x3aa4ac-0x1,!0x1,_0x6bf680,_0x2aab48)),_0x1ab06f){const {contentBoxPointGroup:_0x382555}=_0x18f508[_0x230bc7(0x402)](_0x4b97e3,_0x4b97e3);if(_0x382555[_0x230bc7(0x126)]===0x0)continue;this[_0x230bc7(0x23e)](_0x226df9,_0x382555,_0x2f6758,_0x34a9a2,_0x2523ac),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x3789ea&&_0x4b97e3){if(_0x326919===_0x5c08e3[_0x230bc7(0x3f5)]){const _0x289c44=new _0x280a98(_0x10edbc,_0xd5fac1),{pointGroup:_0xa2841b}=(_0x51c9f1=_0x289c44['getRangePointData'](_0x3789ea,_0x4b97e3))!=null?_0x51c9f1:{};if(_0xa2841b==null||_0xa2841b[_0x230bc7(0x126)]===0x0)continue;this[_0x230bc7(0x17e)](_0x226df9,_0xa2841b,_0x2f6758,_0x34a9a2);}else{if(!_0x5cc1cd){const {borderBoxPointGroup:_0x373b64}=_0x18f508['getRangePointData'](_0x3789ea,_0x4b97e3);if(_0x373b64[_0x230bc7(0x126)]===0x0)continue;this[_0x230bc7(0x3c8)](_0x226df9,_0x373b64,_0x2f6758,_0x34a9a2);}}}}}[_0x4e7919(0x23e)](_0x4bb0af,_0xd3afba,_0x59a18,_0xff7c72,_0x553616){const _0x4df97a=_0x4e7919,_0x30d8c6=this['_getAnchorBounding'](_0xd3afba),{left:_0x26df26,top:_0x4d1819,height:_0x92268}=_0x30d8c6,_0x4db7be=this[_0x4df97a(0x3f0)](),_0x3ac4cd=Fo/_0x4db7be,_0x23c3ad=new _0x1b9705(jt+_0x162500[_0x4df97a(0x34b)](Je),{'left':_0x26df26+_0x59a18-_0x3ac4cd,'top':_0x4d1819+_0xff7c72,'height':_0x92268,'width':Wo,'fill':_0x4bb0af||_0x12aeda(_0x32fcb3['black'],0x0),'strokeWidth':_0x3ac4cd,'stroke':Vo,'evented':!0x0});this[_0x4df97a(0x292)]=_0x23c3ad,this[_0x4df97a(0x2db)]['addObject'](_0x23c3ad,_0x4c8fab);const _0x1596ec=new _0x1b9705(jt+_0x162500['generateRandomId'](Je),{'left':_0x26df26+_0x59a18-_0x3ac4cd,'top':_0x4d1819+_0xff7c72-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x4bb0af||_0x12aeda(_0x32fcb3[_0x4df97a(0x102)],0x0),'strokeWidth':0x0,'stroke':_0x4bb0af||_0x12aeda(_0x32fcb3[_0x4df97a(0x102)],0x0),'evented':!0x1});this[_0x4df97a(0x335)]=_0x1596ec,this[_0x4df97a(0x2db)][_0x4df97a(0x35b)](_0x1596ec,_0x4c8fab);const _0xc5ef33=new yt(jt+_0x162500[_0x4df97a(0x34b)](Je),{'left':_0x26df26+_0x59a18-_0x3ac4cd,'top':_0x4d1819+_0xff7c72-nt,'text':_0x553616,'color':_0x4bb0af});this['_textBubble']=_0xc5ef33,this[_0x4df97a(0x2db)][_0x4df97a(0x35b)](_0xc5ef33,_0x4c8fab),this[_0x4df97a(0x133)]=!0x1;}[_0x4e7919(0x154)](){const _0x272b89=_0x4e7919,_0x218473=this[_0x272b89(0x292)][_0x272b89(0x1c4)][_0x272b89(0x278)](()=>{const _0x548388=_0x272b89;this[_0x548388(0x133)]=!0x0;}),_0x557942=this[_0x272b89(0x292)]['onPointerLeave$'][_0x272b89(0x278)](()=>{const _0x3c9947=_0x272b89;this[_0x3c9947(0x252)]&&clearTimeout(this[_0x3c9947(0x252)]),this[_0x3c9947(0x252)]=setTimeout(()=>{const _0x565e74=_0x3c9947;this[_0x565e74(0x133)]=!0x1;},0x7d0);});return()=>{const _0x9f4b1=_0x272b89;_0x218473[_0x9f4b1(0x155)](),_0x557942[_0x9f4b1(0x155)]();};}[_0x4e7919(0x3c8)](_0x4ea723,_0x5eebf2,_0xe2497a,_0x3afb27){const _0x4b8c6a=_0x4e7919,_0x4693fb=new _0xdc4b2c(_0x4ea723)[_0x4b8c6a(0x17f)](0.2)['toRgbString'](),_0x420ef5=new _0x17397d(Bo+_0x162500[_0x4b8c6a(0x34b)](Je),{'pointsGroup':_0x5eebf2,'fill':_0x4693fb||_0x12aeda(_0x32fcb3[_0x4b8c6a(0x102)],0.2),'left':_0xe2497a,'top':_0x3afb27,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b8c6a(0x41a)]['push'](_0x420ef5),this['_scene']['addObject'](_0x420ef5,_0x4c8fab);}['_drawRectRange'](_0x459f7f,_0x3c0131,_0x560e1c,_0x492a71){const _0x252d60=_0x4e7919,_0x3d5927=new _0xdc4b2c(_0x459f7f)['setAlpha'](0.2)[_0x252d60(0x127)](),_0x55f082=new _0x17397d(ko+_0x162500['generateRandomId'](Je),{'pointsGroup':_0x3c0131,'fill':_0x3d5927||_0x12aeda(_0x32fcb3['black'],0.2),'left':_0x560e1c,'top':_0x492a71,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x55f082),this['_scene'][_0x252d60(0x35b)](_0x55f082,_0x4c8fab);}[_0x4e7919(0x12b)](_0x88535f){const _0x53dd49=_0x88535f[0x0],_0x22fef3=_0x53dd49[0x0],_0xc6f9b1=_0x53dd49[0x2],{x:_0x5c9cea,y:_0x5e0cbe}=_0x22fef3,{x:_0x113a17,y:_0x367ad6}=_0xc6f9b1;return{'left':_0x5c9cea,'top':_0x5e0cbe,'width':_0x113a17-_0x5c9cea,'height':_0x367ad6-_0x5e0cbe};}[_0x4e7919(0x3f0)](){const _0xf2804c=_0x4e7919,{scaleX:_0x463c2a,scaleY:_0x20a4b4}=this['_scene'][_0xf2804c(0x94)]();return Math[_0xf2804c(0x384)](_0x463c2a,_0x20a4b4);}}var Go=Object['defineProperty'],Yo=Object['getOwnPropertyDescriptor'],Ko=(_0x2337c8,_0x5abfb1,_0x48ccc3,_0x13f7f5)=>{const _0x557597=_0x4e7919;for(var _0x443308=_0x13f7f5>0x1?void 0x0:_0x13f7f5?Yo(_0x5abfb1,_0x48ccc3):_0x5abfb1,_0x14016f=_0x2337c8[_0x557597(0x126)]-0x1,_0x1c8e48;_0x14016f>=0x0;_0x14016f--)(_0x1c8e48=_0x2337c8[_0x14016f])&&(_0x443308=(_0x13f7f5?_0x1c8e48(_0x5abfb1,_0x48ccc3,_0x443308):_0x1c8e48(_0x443308))||_0x443308);return _0x13f7f5&&_0x443308&&Go(_0x5abfb1,_0x48ccc3,_0x443308),_0x443308;},ct=(_0x25ae9f,_0x3013d6)=>(_0x9b469b,_0x13f0c8)=>_0x3013d6(_0x9b469b,_0x13f0c8,_0x25ae9f);let os=class extends _0x15900e{constructor(_0x3e9730,_0x580728,_0x482da1,_0x4cfdcb,_0x867e1f){const _0x383290=_0x4e7919;super(),g(this,_0x383290(0x298),[]),g(this,_0x383290(0x1f8),[]),(this[_0x383290(0x306)]=_0x3e9730,this['_docSkeletonManagerService']=_0x580728,this[_0x383290(0x2c2)]=_0x482da1,this['_commandService']=_0x4cfdcb,this['_themeService']=_0x867e1f,this[_0x383290(0x350)]());}['_init'](){const _0x26be4a=_0x4e7919,_0x571389=this[_0x26be4a(0x306)]['unitId'],_0x2da191=this['_docSkeletonManagerService'];this[_0x26be4a(0xb0)](_0x36dc82([this[_0x26be4a(0x2c2)]['getCollabCursors$'](_0x571389),this[_0x26be4a(0x1c8)][_0x26be4a(0x423)]])[_0x26be4a(0x210)](_0x1a1a5b(([_0x46806c,_0x42c04e])=>({'skeleton':_0x2da191[_0x26be4a(0x145)](),'cursors':[..._0x46806c['values']()][_0x26be4a(0xf8)](_0x72cbf2=>({..._0x72cbf2,'color':_0x42c04e[_0x72cbf2[_0x26be4a(0x26b)]]}))})))['subscribe'](_0x4b59d0=>{const _0x288892=_0x26be4a;if(this[_0x288892(0xa2)](),_0x4b59d0){const {skeleton:_0x496b85,cursors:_0x92d697}=_0x4b59d0;this[_0x288892(0x1de)](_0x496b85,_0x92d697);}})),this[_0x26be4a(0x40c)](),this['_initCommandExecutedListener']();}[_0x4e7919(0x1de)](_0x46c2ff,_0x17e54b){const _0x5ef8d9=_0x4e7919,{scene:_0x10ed59,mainComponent:_0x57530f}=this['_context'],_0x57cb3c=_0x17e54b['map'](_0x5f0f04=>new Ks(_0x5f0f04,_0x10ed59,_0x46c2ff,_0x57530f));this[_0x5ef8d9(0x298)]=_0x57cb3c,this[_0x5ef8d9(0x1f8)]=_0x17e54b;}['_refreshCollabCursors'](){const _0x57a2d1=_0x4e7919;this[_0x57a2d1(0xa2)]();const {scene:_0x53bc5a,mainComponent:_0x474b8d}=this[_0x57a2d1(0x306)],_0x13455e=this[_0x57a2d1(0x23c)][_0x57a2d1(0x145)](),_0x4afe59=this[_0x57a2d1(0x1f8)]['map'](_0x3a2688=>new Ks(_0x3a2688,_0x53bc5a,_0x13455e,_0x474b8d));this[_0x57a2d1(0x298)]=_0x4afe59;}[_0x4e7919(0xa2)](){const _0x37279f=_0x4e7919;this['_cursorShapes'][_0x37279f(0x21b)](_0x2ad4a8=>_0x2ad4a8[_0x37279f(0xc0)]()),this[_0x37279f(0x298)]=[];}[_0x4e7919(0x42d)](){const _0x21bb83=_0x4e7919,_0x5dcdc6=[_0x1b3e7b['id']];this[_0x21bb83(0xb0)](this[_0x21bb83(0x2c6)][_0x21bb83(0x406)](_0x3ef8eb=>{const _0xe27086=_0x21bb83;_0x5dcdc6['includes'](_0x3ef8eb['id'])&&_0x3ef8eb[_0xe27086(0x244)]['unitId']===this[_0xe27086(0x306)][_0xe27086(0x3e7)]&&this[_0xe27086(0x3ab)]();}));}[_0x4e7919(0x40c)](){const _0x1c8d37=_0x4e7919;this[_0x1c8d37(0xb0)](_0x4666d7(this[_0x1c8d37(0x306)]['engine']['onTransformChange$'])[_0x1c8d37(0x210)](_0x27f80a(_0x20219b=>_0x20219b[_0x1c8d37(0x195)]===_0x38fd6d['resize']),_0x48050a(0x10))[_0x1c8d37(0x1f1)](()=>{this['_refreshCollabCursors']();}));}};os=Ko([ct(0x1,_0x557b7a(_0x35f028)),ct(0x2,_0x557b7a(Ve)),ct(0x3,_0x37f6d3),ct(0x4,_0x557b7a(_0x15da4e))],os);const zo=0x1,qo=1.5;class Xo extends _0x41c73d{constructor(_0x4a57f1,_0x2538b8){const _0x519508=_0x4e7919;super(_0x4a57f1,_0x2538b8),g(this,'_color'),g(this,_0x519508(0xb5),!0x1),g(this,'_range'),g(this,_0x519508(0x27c),''),g(this,_0x519508(0x8c),'top'),g(this,_0x519508(0x1ba)),(_0x2538b8&&this[_0x519508(0x45f)](_0x2538b8),this[_0x519508(0x1c4)][_0x519508(0x278)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x519508(0x88)]['subscribeEvent'](()=>this[_0x519508(0x45f)]({'hovered':!0x1})));}[_0x4e7919(0x45f)](_0x5490e5){const _0x583e26=_0x4e7919;var _0x4bc986,_0x2a61d3,_0x5e6710,_0x55099f,_0x3c6069,_0x20053d;this[_0x583e26(0x351)]=(_0x4bc986=_0x5490e5[_0x583e26(0x26b)])!=null?_0x4bc986:this[_0x583e26(0x351)],this['_hovered']=(_0x2a61d3=_0x5490e5[_0x583e26(0x3a1)])!=null?_0x2a61d3:this['_hovered'],this[_0x583e26(0x413)]=(_0x5e6710=_0x5490e5[_0x583e26(0xa5)])!=null?_0x5e6710:this[_0x583e26(0x413)],this['_name']=(_0x55099f=_0x5490e5[_0x583e26(0x3df)])!=null?_0x55099f:this['_name'],this[_0x583e26(0x8c)]=(_0x3c6069=_0x5490e5['labelPosition'])!=null?_0x3c6069:this[_0x583e26(0x8c)],this['_backgroundColor']=(_0x20053d=_0x5490e5[_0x583e26(0x3ec)])!=null?_0x20053d:this[_0x583e26(0x1ba)],this[_0x583e26(0xb2)]({'width':_0x5490e5[_0x583e26(0x471)],'height':_0x5490e5[_0x583e26(0x48e)]});}[_0x4e7919(0x35f)](_0x1a8e67){const _0xa16820=_0x4e7919,{row:_0x1ea559,column:_0x5a7fd4}=_0x1a8e67;if(_0x1ea559>=this[_0xa16820(0x413)][_0xa16820(0x291)]&&_0x1ea559<=this[_0xa16820(0x413)][_0xa16820(0x477)]&&_0x5a7fd4>=this[_0xa16820(0x413)][_0xa16820(0x396)]&&_0x5a7fd4<=this[_0xa16820(0x413)]['endColumn']){this[_0xa16820(0x45f)]({'hovered':!0x0});return;}this[_0xa16820(0x45f)]({'hovered':!0x1});}[_0x4e7919(0x28b)](_0x29149b){return!0x1;}[_0x4e7919(0x249)](_0x409183){const _0x3b2b3a=_0x4e7919;_0x1b9705['drawWith'](_0x409183,{'width':this[_0x3b2b3a(0x471)],'height':this[_0x3b2b3a(0x48e)],'strokeWidth':qo,'stroke':this[_0x3b2b3a(0x351)],'evented':!0x1,'fill':this[_0x3b2b3a(0x1ba)]}),this[_0x3b2b3a(0xb5)]&&(_0x409183[_0x3b2b3a(0xb8)](),_0x409183['transform'](0x1,0x0,0x0,0x1,this[_0x3b2b3a(0x471)],this[_0x3b2b3a(0x8c)]==='bottom'?0x0:-nt),yt[_0x3b2b3a(0x3f2)](_0x409183,{'text':this['_name'],'color':this['_color']}),_0x409183[_0x3b2b3a(0x37f)]());}}var Jo=Object[_0x4e7919(0x13e)],Zo=Object[_0x4e7919(0x3a9)],Qo=(_0x5e9fc7,_0x438c9c,_0x5db2ba,_0x5bcc87)=>{const _0x97d01f=_0x4e7919;for(var _0x1ffb4e=_0x5bcc87>0x1?void 0x0:_0x5bcc87?Zo(_0x438c9c,_0x5db2ba):_0x438c9c,_0x51fdd2=_0x5e9fc7[_0x97d01f(0x126)]-0x1,_0x265f78;_0x51fdd2>=0x0;_0x51fdd2--)(_0x265f78=_0x5e9fc7[_0x51fdd2])&&(_0x1ffb4e=(_0x5bcc87?_0x265f78(_0x438c9c,_0x5db2ba,_0x1ffb4e):_0x265f78(_0x1ffb4e))||_0x1ffb4e);return _0x5bcc87&&_0x1ffb4e&&Jo(_0x438c9c,_0x5db2ba,_0x1ffb4e),_0x1ffb4e;},kt=(_0x3fb422,_0x452543)=>(_0x29c317,_0x6f45fe)=>_0x452543(_0x29c317,_0x6f45fe,_0x3fb422);const ea=0x1389;let as=class extends _0x15900e{constructor(_0x5642b2,_0x31f06b,_0x1bc441,_0x156a03){const _0x1d3029=_0x4e7919;super(),g(this,_0x1d3029(0x1f8),new Set()),g(this,_0x1d3029(0x258),null),(this[_0x1d3029(0x306)]=_0x5642b2,this[_0x1d3029(0x123)]=_0x31f06b,this[_0x1d3029(0x2c2)]=_0x1bc441,this[_0x1d3029(0x1c8)]=_0x156a03,this[_0x1d3029(0x350)]());}[_0x4e7919(0x350)](){const _0x300861=_0x4e7919;this[_0x300861(0x123)][_0x300861(0x138)][_0x300861(0x210)](_0xcb8c8d(this[_0x300861(0x15d)]),_0x2e98c4(_0x5e16dd=>{const _0x537443=_0x300861;if(_0x5e16dd){const _0x295a25=_0x5e16dd['sheetId'];return _0x36dc82(this[_0x537443(0x2c2)][_0x537443(0x314)](this[_0x537443(0x306)][_0x537443(0x3e7)]),this[_0x537443(0x1c8)][_0x537443(0x423)])[_0x537443(0x210)](_0x1a1a5b(([_0x42abae,_0x26c183])=>{const _0x2d5e50=new Map();return _0x42abae['forEach']((_0x3db33a,_0x5cf74a)=>{const _0x5a9b0c=_0x5ed9;if(_0x3db33a[_0x5a9b0c(0x1af)]===_0x295a25){const _0xe1ac={..._0x3db33a};_0xe1ac['color']=_0x26c183[_0x3db33a[_0x5a9b0c(0x26b)]],_0x2d5e50[_0x5a9b0c(0x2a0)](_0x5cf74a,_0xe1ac);}}),{'skeleton':_0x5e16dd,'cursors':_0x2d5e50};}));}return _0x2a024c({'skeleton':null,'cursors':new Map()});}))[_0x300861(0x1f1)](({skeleton:_0x2db218,cursors:_0x8d9269})=>{const _0xb1bbe7=_0x300861;this[_0xb1bbe7(0xa2)](),_0x2db218&&this[_0xb1bbe7(0x1de)](_0x2db218,_0x8d9269);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x5c76b4=>{const _0xcd95e1=_0x300861;if(_0x5c76b4==null)return;const {skeleton:_0x414eb7}=_0x5c76b4,{scene:_0x512c54}=this[_0xcd95e1(0x306)];_0x512c54[_0xcd95e1(0x1ee)][_0xcd95e1(0x278)](_0x28300d(_0x292860=>{const _0x3b4452=_0xcd95e1;var _0x517ac0,_0x4588a5;const {offsetX:_0x21a9e8,offsetY:_0x1f0817}=_0x292860,{x:_0x414341,y:_0x13df97}=_0x512c54[_0x3b4452(0x3ce)](_0x219fb7[_0x3b4452(0x1da)]([_0x21a9e8,_0x1f0817])),{scaleX:_0x582b66,scaleY:_0x4d38d6}=_0x512c54['getAncestorScale'](),_0x4a0420=_0x512c54[_0x3b4452(0x217)](_0x20a435[_0x3b4452(0x189)]),_0x4c71de=_0x512c54[_0x3b4452(0x2d1)](_0x219fb7[_0x3b4452(0x1da)]([_0x414341,_0x13df97]),_0x4a0420),_0x98ad39=_0x414eb7['getCellPositionByOffset'](_0x21a9e8,_0x1f0817,_0x582b66,_0x4d38d6,_0x4c71de);((_0x517ac0=this[_0x3b4452(0x258)])==null?void 0x0:_0x517ac0[_0x3b4452(0x1ef)])===_0x98ad39[_0x3b4452(0x1ef)]&&((_0x4588a5=this[_0x3b4452(0x258)])==null?void 0x0:_0x4588a5[_0x3b4452(0x148)])===_0x98ad39[_0x3b4452(0x148)]||this[_0x3b4452(0x1f8)]['forEach'](_0x746b80=>{const _0x31fafa=_0x3b4452;_0x746b80[_0x31fafa(0x35f)](_0x98ad39);});},0x64));});}['_updateCollabCursors'](_0x4217b6,_0x44d2d1){const _0xfeb8a8=_0x4e7919;var _0x583579;const _0x26761b=(_0x583579=this[_0xfeb8a8(0x123)][_0xfeb8a8(0x203)]())==null?void 0x0:_0x583579[_0xfeb8a8(0x101)];if(!_0x26761b)return;const _0x1bd529=this[_0xfeb8a8(0x422)]();if(!_0x1bd529)return;this[_0xfeb8a8(0x1f8)][_0xfeb8a8(0x21b)](_0x10f70d=>{_0x10f70d['makeDirty']();});const {scene:_0x41896e}=_0x1bd529,_0x3bd325=ta(Array[_0xfeb8a8(0x468)](_0x44d2d1['values']()))['map'](_0x237e38=>{const _0x3baea2=_0xfeb8a8,{color:_0x805c88,range:_0x25e0b1,name:_0x486563,selection:_0x5eeb5c,sheetID:_0x503c1f}=_0x237e38,{startColumn:_0x3f9dd4,startRow:_0xdfbfe1,endColumn:_0xfe582d,endRow:_0x106c45}=_0x25e0b1,_0x53bf5f=_0x1e2de7(_0xdfbfe1,_0x3f9dd4,_0x41896e,_0x26761b),_0x45178a=_0x1e2de7(_0x106c45,_0xfe582d,_0x41896e,_0x26761b),{columnHeaderHeightAndMarginTop:_0x320195}=_0x26761b,{startX:_0x56e828,startY:_0x581719}=_0x53bf5f,{endX:_0x127907,endY:_0x44e167}=_0x45178a,_0x48bf8a=_0x127907-_0x56e828,_0x16fbe5=_0x44e167-_0x581719,_0xb4b5d3={'labelPosition':_0x581719-_0x320195>=nt?_0x3baea2(0x2a6):_0x3baea2(0x44f),'sheetID':_0x503c1f,'range':_0x25e0b1,'color':_0x805c88,'name':_0x486563,'selection':_0x5eeb5c,'left':_0x56e828,'top':_0x581719,'width':_0x48bf8a,'height':_0x16fbe5,'evented':!0x1,'zIndex':ea};return new Xo(_0x486563,_0xb4b5d3);});_0x41896e[_0xfeb8a8(0x1fb)](_0x3bd325,zo),this[_0xfeb8a8(0x1f8)]=new Set(_0x3bd325);}['_removeCollabCursors'](){const _0x573ed2=_0x4e7919;var _0x5dbd26;(_0x5dbd26=this[_0x573ed2(0x1f8)])==null||_0x5dbd26[_0x573ed2(0x21b)](_0x54cff9=>_0x54cff9[_0x573ed2(0xc0)]());}[_0x4e7919(0x422)](){const _0x1da450=_0x4e7919;return _0xa694a6(this[_0x1da450(0x306)][_0x1da450(0x3fc)],this[_0x1da450(0x306)]);}};as=Qo([kt(0x1,_0x557b7a(_0x4500ad)),kt(0x2,_0x557b7a(Ve)),kt(0x3,_0x557b7a(_0x15da4e))],as);function ta(_0x14b84d){const _0x4789ab=_0x4e7919,_0xe3d332=new Map();return _0x14b84d[_0x4789ab(0x21b)](_0x46a358=>{const _0x3c15fb=_0x4789ab;if(_0xe3d332[_0x3c15fb(0x297)](_0x46a358['selection'])){const _0x518402=_0xe3d332[_0x3c15fb(0x16e)](_0x46a358[_0x3c15fb(0x1f0)]);_0x518402['name']+=',\x20'+_0x46a358[_0x3c15fb(0x3df)];}else _0xe3d332[_0x3c15fb(0x2a0)](_0x46a358[_0x3c15fb(0x1f0)],_0x46a358);}),Array[_0x4789ab(0x468)](_0xe3d332['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x19c8a8){const _0x38e86a=_0x4e7919;return _0x19c8a8&&_0x19c8a8[_0x38e86a(0x465)]&&Object[_0x38e86a(0x208)][_0x38e86a(0x1a1)]['call'](_0x19c8a8,_0x38e86a(0x98))?_0x19c8a8['default']:_0x19c8a8;}var Mi={'exports':{}},Ot={},sa=_0x320623,ia=Symbol['for'](_0x4e7919(0x36b)),na=Symbol['for'](_0x4e7919(0x330)),ra=Object['prototype'][_0x4e7919(0x1a1)],oa=sa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED']['ReactCurrentOwner'],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x361104,_0x2e021b,_0x2659c1){const _0x4c791a=_0x4e7919;var _0x5e1c7f,_0x20ed02={},_0x4e66a8=null,_0xde383a=null;_0x2659c1!==void 0x0&&(_0x4e66a8=''+_0x2659c1),_0x2e021b[_0x4c791a(0x1a7)]!==void 0x0&&(_0x4e66a8=''+_0x2e021b[_0x4c791a(0x1a7)]),_0x2e021b[_0x4c791a(0x1f6)]!==void 0x0&&(_0xde383a=_0x2e021b[_0x4c791a(0x1f6)]);for(_0x5e1c7f in _0x2e021b)ra[_0x4c791a(0x326)](_0x2e021b,_0x5e1c7f)&&!aa[_0x4c791a(0x1a1)](_0x5e1c7f)&&(_0x20ed02[_0x5e1c7f]=_0x2e021b[_0x5e1c7f]);if(_0x361104&&_0x361104[_0x4c791a(0x2b2)]){for(_0x5e1c7f in(_0x2e021b=_0x361104[_0x4c791a(0x2b2)],_0x2e021b))_0x20ed02[_0x5e1c7f]===void 0x0&&(_0x20ed02[_0x5e1c7f]=_0x2e021b[_0x5e1c7f]);}return{'$$typeof':ia,'type':_0x361104,'key':_0x4e66a8,'ref':_0xde383a,'props':_0x20ed02,'_owner':oa['current']};}Ot['Fragment']=na,Ot[_0x4e7919(0x2fc)]=xi,Ot['jsxs']=xi,Mi[_0x4e7919(0x279)]=Ot;var we=Mi[_0x4e7919(0x279)],ee=function(){const _0x36625a=_0x4e7919;return ee=Object[_0x36625a(0x333)]||function(_0x419c0b){const _0xa8d913=_0x36625a;for(var _0x2f8718,_0x49e0ee=0x1,_0xf18cea=arguments['length'];_0x49e0ee<_0xf18cea;_0x49e0ee++){_0x2f8718=arguments[_0x49e0ee];for(var _0xe8ec1a in _0x2f8718)Object['prototype'][_0xa8d913(0x1a1)][_0xa8d913(0x326)](_0x2f8718,_0xe8ec1a)&&(_0x419c0b[_0xe8ec1a]=_0x2f8718[_0xe8ec1a]);}return _0x419c0b;},ee[_0x36625a(0x2d7)](this,arguments);},ca=function(_0x4a6433,_0x2a4a3c){const _0x41e120=_0x4e7919;var _0x53e944={};for(var _0x265fc9 in _0x4a6433)Object[_0x41e120(0x208)][_0x41e120(0x1a1)]['call'](_0x4a6433,_0x265fc9)&&_0x2a4a3c[_0x41e120(0x1e7)](_0x265fc9)<0x0&&(_0x53e944[_0x265fc9]=_0x4a6433[_0x265fc9]);if(_0x4a6433!=null&&typeof Object[_0x41e120(0x33a)]=='function'){for(var _0x25378b=0x0,_0x265fc9=Object[_0x41e120(0x33a)](_0x4a6433);_0x25378b<_0x265fc9[_0x41e120(0x126)];_0x25378b++)_0x2a4a3c['indexOf'](_0x265fc9[_0x25378b])<0x0&&Object[_0x41e120(0x208)]['propertyIsEnumerable']['call'](_0x4a6433,_0x265fc9[_0x25378b])&&(_0x53e944[_0x265fc9[_0x25378b]]=_0x4a6433[_0x265fc9[_0x25378b]]);}return _0x53e944;},Ts=_0x392400(function(_0x56594a,_0x5e019e){const _0x16181c=_0x4e7919;var _0x52a651=_0x56594a[_0x16181c(0x42c)],_0x2a5463=_0x56594a['id'],_0x491ff9=_0x56594a['className'],_0x4577ac=_0x56594a[_0x16181c(0x3d3)],_0x18fe39=ca(_0x56594a,[_0x16181c(0x42c),'id',_0x16181c(0x40d),_0x16181c(0x3d3)]),_0x4031ca=_0x16181c(0x2df)[_0x16181c(0x24a)](_0x2a5463,'\x20')[_0x16181c(0x24a)](_0x491ff9||'')[_0x16181c(0x361)](),_0x330cdc=_0x59e222('_'[_0x16181c(0x24a)](_a()));return Li(_0x52a651,''[_0x16181c(0x24a)](_0x2a5463),{'defIds':_0x52a651['defIds'],'idSuffix':_0x330cdc['current']},ee({'ref':_0x5e019e,'className':_0x4031ca},_0x18fe39),_0x4577ac);});function Li(_0x6079d4,_0x5d517f,_0x8d532e,_0x8e8886,_0x3491a4){const _0x35e13d=_0x4e7919;return _0x2b736f(_0x6079d4[_0x35e13d(0x28c)],ee(ee({'key':_0x5d517f},ha(_0x6079d4,_0x8d532e,_0x3491a4)),_0x8e8886),(la(_0x6079d4,_0x8d532e)['children']||[])[_0x35e13d(0x32e)](function(_0xbe72e7,_0x5d2fd2){const _0x346df2=_0x35e13d;return Li(_0xbe72e7,''[_0x346df2(0x24a)](_0x5d517f,'-')[_0x346df2(0x24a)](_0x6079d4[_0x346df2(0x28c)],'-')[_0x346df2(0x24a)](_0x5d2fd2),_0x8d532e,void 0x0,_0x3491a4);}));}function ha(_0x18a105,_0x29cab7,_0x38f338){const _0x4a2cfd=_0x4e7919;var _0x3f8db5=ee({},_0x18a105[_0x4a2cfd(0x3c3)]);_0x38f338!=null&&_0x38f338[_0x4a2cfd(0x285)]&&_0x3f8db5[_0x4a2cfd(0x186)]===_0x4a2cfd(0x285)&&(_0x3f8db5[_0x4a2cfd(0x186)]=_0x38f338[_0x4a2cfd(0x285)]);var _0x236f52=_0x29cab7['defIds'];return!_0x236f52||_0x236f52[_0x4a2cfd(0x126)]===0x0||(_0x18a105[_0x4a2cfd(0x28c)]===_0x4a2cfd(0xf3)&&_0x3f8db5['xlink:href']&&(_0x3f8db5[_0x4a2cfd(0x303)]=_0x3f8db5[_0x4a2cfd(0x303)]+_0x29cab7['idSuffix']),Object[_0x4a2cfd(0x26e)](_0x3f8db5)['forEach'](function(_0x2c4d31){const _0x7708b8=_0x4a2cfd;var _0x5df697=_0x2c4d31[0x0],_0x4d1006=_0x2c4d31[0x1];typeof _0x4d1006=='string'&&(_0x3f8db5[_0x5df697]=_0x4d1006[_0x7708b8(0x43e)](/url\(#(.*)\)/,'url(#$1'[_0x7708b8(0x24a)](_0x29cab7[_0x7708b8(0x31b)],')')));})),_0x3f8db5;}function la(_0x250692,_0x401fdc){const _0x343232=_0x4e7919;var _0x4d0076,_0x164f31=_0x401fdc[_0x343232(0xfc)];return!_0x164f31||_0x164f31['length']===0x0?_0x250692:_0x250692[_0x343232(0x28c)]===_0x343232(0x38b)&&(!((_0x4d0076=_0x250692[_0x343232(0x1b1)])===null||_0x4d0076===void 0x0)&&_0x4d0076[_0x343232(0x126)])?ee(ee({},_0x250692),{'children':_0x250692[_0x343232(0x1b1)][_0x343232(0x32e)](function(_0x2ff68b){const _0x527b87=_0x343232;return typeof _0x2ff68b[_0x527b87(0x3c3)]['id']==_0x527b87(0x216)&&_0x164f31&&_0x164f31[_0x527b87(0x1e7)](_0x2ff68b['attrs']['id'])>-0x1?ee(ee({},_0x2ff68b),{'attrs':ee(ee({},_0x2ff68b['attrs']),{'id':_0x2ff68b[_0x527b87(0x3c3)]['id']+_0x401fdc[_0x527b87(0x31b)]})}):_0x2ff68b;})}):_0x250692;}function _a(){const _0x5d1a61=_0x4e7919;return Math[_0x5d1a61(0x329)]()[_0x5d1a61(0x227)](0x24)[_0x5d1a61(0x2fe)](0x2,0x8);}Ts[_0x4e7919(0x159)]=_0x4e7919(0x3e8);var ua={'tag':_0x4e7919(0xbd),'attrs':{'fill':'none','viewBox':_0x4e7919(0x261),'width':_0x4e7919(0x1a6),'height':_0x4e7919(0x1a6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4e7919(0x404),'attrs':{'stroke':_0x4e7919(0x44d),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x4e7919(0x2eb),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e7919(0x17c),'attrs':{'id':_0x4e7919(0x353)},'children':[{'tag':_0x4e7919(0x404),'attrs':{'fill':_0x4e7919(0x461),'d':_0x4e7919(0x2e9)}}]}]}],'defIds':[_0x4e7919(0x353)]},$i=_0x392400(function(_0x406156,_0x3d9317){const _0x42e3ac=_0x4e7919;return _0x2b736f(Ts,Object[_0x42e3ac(0x333)]({},_0x406156,{'id':_0x42e3ac(0x2d2),'ref':_0x3d9317,'icon':ua}));});$i[_0x4e7919(0x159)]=_0x4e7919(0x3ac);var da={'tag':_0x4e7919(0xbd),'attrs':{'fill':_0x4e7919(0x2cf),'viewBox':_0x4e7919(0x3b9),'width':_0x4e7919(0x1a6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4e7919(0x18d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x4e7919(0x340),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4e7919(0x38b),'attrs':{},'children':[{'tag':_0x4e7919(0x17c),'attrs':{'id':_0x4e7919(0x3a5)},'children':[{'tag':_0x4e7919(0x404),'attrs':{'fill':_0x4e7919(0x461),'d':_0x4e7919(0x2e9),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x392400(function(_0x1b8f23,_0x366553){const _0xe1465f=_0x4e7919;return _0x2b736f(Ts,Object[_0xe1465f(0x333)]({},_0x1b8f23,{'id':_0xe1465f(0x441),'ref':_0x366553,'icon':da}));});Hi[_0x4e7919(0x159)]=_0x4e7919(0x453);function ji(_0x4a2104){const _0x24fc1c=_0x4e7919;var _0x437b4b,_0x5ea4bb,_0xcdb7ab='';if(typeof _0x4a2104==_0x24fc1c(0x216)||typeof _0x4a2104==_0x24fc1c(0xac))_0xcdb7ab+=_0x4a2104;else{if(typeof _0x4a2104==_0x24fc1c(0x22f)){if(Array[_0x24fc1c(0x1a9)](_0x4a2104)){var _0x176181=_0x4a2104[_0x24fc1c(0x126)];for(_0x437b4b=0x0;_0x437b4b<_0x176181;_0x437b4b++)_0x4a2104[_0x437b4b]&&(_0x5ea4bb=ji(_0x4a2104[_0x437b4b]))&&(_0xcdb7ab&&(_0xcdb7ab+='\x20'),_0xcdb7ab+=_0x5ea4bb);}else{for(_0x5ea4bb in _0x4a2104)_0x4a2104[_0x5ea4bb]&&(_0xcdb7ab&&(_0xcdb7ab+='\x20'),_0xcdb7ab+=_0x5ea4bb);}}}return _0xcdb7ab;}function fa(){const _0x3b7d6c=_0x4e7919;for(var _0x438499,_0x328f5b,_0x43f108=0x0,_0x43e40d='',_0x4da4a0=arguments[_0x3b7d6c(0x126)];_0x43f108<_0x4da4a0;_0x43f108++)(_0x438499=arguments[_0x43f108])&&(_0x328f5b=ji(_0x438499))&&(_0x43e40d&&(_0x43e40d+='\x20'),_0x43e40d+=_0x328f5b);return _0x43e40d;}const va='univer-online-status-icon',ma=_0x4e7919(0xe2),pa=_0x4e7919(0x20f),ga=_0x4e7919(0x2b6),Sa=_0x4e7919(0x415),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x2129e9){const _0x264ec5=_0x4e7919;switch(_0x2129e9){case J['OFFLINE']:return _0x264ec5(0xff);case J[_0x264ec5(0x3d8)]:return _0x264ec5(0x34c);case J['FETCH_MISS']:return _0x264ec5(0x90);case J[_0x264ec5(0x199)]:return'collabStatus.notCollab';case J[_0x264ec5(0x289)]:case J[_0x264ec5(0x1c7)]:return _0x264ec5(0x1fe);case J[_0x264ec5(0x387)]:case J[_0x264ec5(0x3aa)]:return _0x264ec5(0x240);}}function Ca(_0x5d6638){const _0x32f7dc=_0x4e7919,{status$:_0x293b2f}=_0x5d6638,_0x4927a9=_0x530867(_0x293b2f,J[_0x32f7dc(0x199)]),_0xaf5a08=_0x46f302(_0x5e134c),_0x68f457=_0x46f302(Ae),_0x5093c5=_0x4927a9!==J[_0x32f7dc(0x3f4)],_0x3d3c51=_0xaf5a08['t'](Ia(_0x4927a9)),_0x3eb44f=fa(Ze[_0x32f7dc(0x1cc)],{[Ze['online']]:_0x5093c5,[Ze['offline']]:!_0x5093c5}),_0x4790c2=_0x5093c5?we[_0x32f7dc(0x2fc)](Hi,{}):we[_0x32f7dc(0x2fc)]($i,{}),_0x4fb82e=_0x23fbd9(()=>{const _0x221207=_0x32f7dc;_0x5093c5||_0x68f457[_0x221207(0x215)]();},[_0x5093c5,_0x68f457]);function _0x42044e(){const _0x40743f=_0x32f7dc;return we[_0x40743f(0x1eb)](_0x40743f(0x253),{'className':_0x3eb44f,'onClick':_0x4fb82e,'children':[we[_0x40743f(0x2fc)](_0x40743f(0x253),{'className':Ze[_0x40743f(0x417)],'children':_0x4790c2}),we[_0x40743f(0x2fc)](_0x40743f(0x253),{'className':Ze[_0x40743f(0x469)],'children':_0x3d3c51})]});}return _0x5093c5?_0x42044e():we[_0x32f7dc(0x2fc)](_0x2f2e68,{'title':_0xaf5a08['t'](_0x32f7dc(0x1e1)),'children':_0x42044e()});}var Ea=Object[_0x4e7919(0x13e)],ba=Object[_0x4e7919(0x3a9)],Ta=(_0x7733ea,_0x44b65b,_0x56ad34,_0xd89701)=>{const _0x21995f=_0x4e7919;for(var _0x10c5ab=_0xd89701>0x1?void 0x0:_0xd89701?ba(_0x44b65b,_0x56ad34):_0x44b65b,_0x5a535f=_0x7733ea[_0x21995f(0x126)]-0x1,_0x507c25;_0x5a535f>=0x0;_0x5a535f--)(_0x507c25=_0x7733ea[_0x5a535f])&&(_0x10c5ab=(_0xd89701?_0x507c25(_0x44b65b,_0x56ad34,_0x10c5ab):_0x507c25(_0x10c5ab))||_0x10c5ab);return _0xd89701&&_0x10c5ab&&Ea(_0x44b65b,_0x56ad34,_0x10c5ab),_0x10c5ab;},ht=(_0x453d7c,_0x32e174)=>(_0xba3128,_0xce053b)=>_0x32e174(_0xba3128,_0xce053b,_0x453d7c);let St=class extends _0x4b38ce{constructor(_0x564596,_0x10d37a,_0x15db0a,_0x48e935){const _0xa3d923=_0x4e7919;super(),g(this,'_status$',new _0x524b68(J[_0xa3d923(0x199)])),(this['_univerInstanceService']=_0x564596,this[_0xa3d923(0x3ee)]=_0x10d37a,this['_injector']=_0x15db0a,this['_collaborationController']=_0x48e935,this[_0xa3d923(0x37d)](),this[_0xa3d923(0x496)]());}[_0x4e7919(0x496)](){const _0x16d4a6=_0x4e7919;this[_0x16d4a6(0xb0)](this[_0x16d4a6(0x29a)][_0x16d4a6(0x346)][_0x16d4a6(0x210)](_0x6ad44a(()=>{const _0x2f55dd=_0x16d4a6,_0x22f1bd=this[_0x2f55dd(0x29a)][_0x2f55dd(0x41f)]();return _0x22f1bd?this[_0x2f55dd(0x27b)][_0x2f55dd(0x184)](_0x22f1bd[_0x2f55dd(0x426)]()):_0x2a024c(null);}),_0x6ad44a(_0x40e63c=>_0x40e63c?_0x40e63c[_0x16d4a6(0x1cf)]:_0x2a024c(J['NOT_COLLAB'])))['subscribe'](_0x456598=>{const _0x431480=_0x16d4a6;this[_0x431480(0x221)][_0x431480(0x409)](_0x456598);}));}['_initStatusComponent'](){const _0x451140=_0x4e7919;this[_0x451140(0xb0)](this[_0x451140(0x3ee)][_0x451140(0x32b)](_0x37e12e[_0x451140(0x265)],()=>_0x2a6bad(Ra({'status$':this['_status$'][_0x451140(0x180)]()}),this[_0x451140(0x1e4)])));}};St=Ta([ht(0x0,_0x5e27bc),ht(0x1,_0x358cc7),ht(0x2,_0x557b7a(_0x5a5437)),ht(0x3,_0x557b7a(it))],St);function Ra(_0x4d5f7c){const {status$:_0x31d877}=_0x4d5f7c;return function(){const _0x41d223=_0x5ed9;return we[_0x41d223(0x2fc)](Ca,{'status$':_0x31d877});};}const Bi=_0x20f251(_0x4e7919(0xab));var ya=Object['defineProperty'],Oa=Object[_0x4e7919(0x3a9)],wa=(_0x2a4155,_0xf902fe,_0x197006,_0x488cc8)=>{const _0x1394f4=_0x4e7919;for(var _0x1a0cff=_0x488cc8>0x1?void 0x0:_0x488cc8?Oa(_0xf902fe,_0x197006):_0xf902fe,_0x254a4c=_0x2a4155[_0x1394f4(0x126)]-0x1,_0x2cfebc;_0x254a4c>=0x0;_0x254a4c--)(_0x2cfebc=_0x2a4155[_0x254a4c])&&(_0x1a0cff=(_0x488cc8?_0x2cfebc(_0xf902fe,_0x197006,_0x1a0cff):_0x2cfebc(_0x1a0cff))||_0x1a0cff);return _0x488cc8&&_0x1a0cff&&ya(_0xf902fe,_0x197006,_0x1a0cff),_0x1a0cff;},ke=(_0x2ec5b0,_0x1199ae)=>(_0x2dd833,_0x545f2f)=>_0x1199ae(_0x2dd833,_0x545f2f,_0x2ec5b0);let It=class extends _0x15900e{constructor(_0x5d2f4a,_0x9e718b,_0x4aedd7,_0x2f2405,_0x112e18,_0x1dbabb){const _0x261f78=_0x4e7919;super(),this['_urlService']=_0x5d2f4a,this[_0x261f78(0x18f)]=_0x9e718b,this[_0x261f78(0x2c6)]=_0x4aedd7,this[_0x261f78(0x27a)]=_0x2f2405,this[_0x261f78(0x280)]=_0x112e18,_0x1dbabb?_0x1dbabb==null||_0x1dbabb[_0x261f78(0x319)]()['then'](()=>this[_0x261f78(0x350)]()):(this[_0x261f78(0x18f)][_0x261f78(0x236)](_0x261f78(0x36a),_0x261f78(0xcd)),this[_0x261f78(0x350)]());}async['_init'](){const _0x384dfd=_0x4e7919,_0x318f24=this[_0x384dfd(0xea)][_0x384dfd(0x1bd)]('unit'),_0x379add=this[_0x384dfd(0xea)][_0x384dfd(0x1bd)](_0x384dfd(0x195));if(!_0x318f24||!_0x379add){this[_0x384dfd(0x18f)][_0x384dfd(0x236)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x379add)){case ce[_0x384dfd(0x29f)]:{const _0x3c0f88=await this[_0x384dfd(0x341)](_0x318f24);this['_setupSubUnitSync'](_0x3c0f88);break;}case ce['UNIVER_DOC']:{await this[_0x384dfd(0x1f9)](_0x318f24);break;}default:{this['_logService'][_0x384dfd(0x24d)](_0x384dfd(0x36a),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x4e7919(0x395)](_0x18b604){const _0x264c06=_0x4e7919;await this[_0x264c06(0x1f2)](_0x18b604),_0x18b604[_0x264c06(0x241)][_0x264c06(0x210)](_0x234986(this[_0x264c06(0x15d)]))[_0x264c06(0x1f1)](_0x2494e7=>{const _0x4f8312=_0x264c06;_0x2494e7&&this[_0x4f8312(0x359)](_0x2494e7);}),this['_urlService'][_0x264c06(0x104)][_0x264c06(0x210)](_0x234986(this['dispose$']))[_0x264c06(0x1f1)](()=>this[_0x264c06(0x1f2)](_0x18b604));}['_updateURLWithCurrentState'](_0x4efd9e,_0x3815a3=!0x1){const _0x4aa660=_0x4e7919,_0x643e2a=this[_0x4aa660(0xea)][_0x4aa660(0x1bd)](_0x4aa660(0x2ca));_0x4efd9e[_0x4aa660(0x201)]()!==_0x643e2a&&this[_0x4aa660(0xea)][_0x4aa660(0xef)](_0x4aa660(0x2ca),_0x4efd9e[_0x4aa660(0x201)](),_0x3815a3);}async[_0x4e7919(0x1f2)](_0x411b6a){const _0x502a9e=_0x4e7919;var _0x1b990f;const _0x3ee31e=this[_0x502a9e(0xea)][_0x502a9e(0x1bd)]('subunit');if(!_0x3ee31e||!_0x411b6a[_0x502a9e(0x2c3)](_0x3ee31e)){const _0x861059=_0x411b6a['getUnhiddenWorksheets']()[0x0],_0x2d19f1=_0x411b6a['getSheetBySheetId'](_0x861059);if(!_0x2d19f1)return;this['_updateURLWithCurrentState'](_0x2d19f1,!0x0),await this[_0x502a9e(0x2c6)][_0x502a9e(0x122)](_0x50f4a2['id'],{'unitId':_0x411b6a[_0x502a9e(0x426)](),'subUnitId':_0x861059});return;}((_0x1b990f=_0x411b6a[_0x502a9e(0x45e)]())==null?void 0x0:_0x1b990f[_0x502a9e(0x201)]())!==_0x3ee31e&&await this[_0x502a9e(0x2c6)]['executeCommand'](_0x50f4a2['id'],{'unitId':_0x411b6a['getUnitId'](),'subUnitId':_0x3ee31e});}async[_0x4e7919(0x341)](_0x2f2806){const _0x534c50=_0x4e7919;let _0xebd75c=0x0;const _0x46a8b3=await this['_localCacheService']['loadOfflineData'](_0x2f2806);return _0x46a8b3&&(_0x46a8b3[_0x534c50(0x398)]||_0x46a8b3[_0x534c50(0x13b)][_0x534c50(0x126)]!==0x0)&&(_0xebd75c=_0x46a8b3[_0x534c50(0x452)]),_0xebd75c===0x0&&this['_logService']['debug'](_0x534c50(0x36a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x534c50(0x280)][_0x534c50(0x379)](_0x2f2806,_0xebd75c);}async['_loadDoc'](_0x179dfc){const _0x1939fe=_0x4e7919;let _0x395ada=0x0;const _0x377bf9=await this['_localCacheService'][_0x1939fe(0x281)](_0x179dfc);return _0x377bf9&&(_0x377bf9[_0x1939fe(0x398)]||_0x377bf9[_0x1939fe(0x13b)][_0x1939fe(0x126)]!==0x0)&&(_0x395ada=_0x377bf9[_0x1939fe(0x452)]),_0x395ada===0x0&&this[_0x1939fe(0x18f)][_0x1939fe(0x236)]('[DataLoaderController]',_0x1939fe(0x3d1)),this[_0x1939fe(0x280)][_0x1939fe(0x490)](_0x179dfc,_0x395ada);}};It=wa([ke(0x0,Bi),ke(0x1,_0x2f9740),ke(0x2,_0x37f6d3),ke(0x3,_0x557b7a(q)),ke(0x4,_0x557b7a(_0x399fd9)),ke(0x5,_0x263588(_0x57bd22))],It);var Da=Object[_0x4e7919(0x13e)],Pa=Object[_0x4e7919(0x3a9)],Ua=(_0x1010a3,_0x317cf9,_0x3a7ad5,_0x1dec94)=>{const _0x4bad0a=_0x4e7919;for(var _0x2fe79c=_0x1dec94>0x1?void 0x0:_0x1dec94?Pa(_0x317cf9,_0x3a7ad5):_0x317cf9,_0x170312=_0x1010a3[_0x4bad0a(0x126)]-0x1,_0x3505a0;_0x170312>=0x0;_0x170312--)(_0x3505a0=_0x1010a3[_0x170312])&&(_0x2fe79c=(_0x1dec94?_0x3505a0(_0x317cf9,_0x3a7ad5,_0x2fe79c):_0x3505a0(_0x2fe79c))||_0x2fe79c);return _0x1dec94&&_0x2fe79c&&Da(_0x317cf9,_0x3a7ad5,_0x2fe79c),_0x2fe79c;},zs=(_0x300a18,_0x23f029)=>(_0x2b8512,_0x1ba95a)=>_0x23f029(_0x2b8512,_0x1ba95a,_0x300a18);const Na=_0x4e7919(0x36c),Aa=_0x4e7919(0x38f);let Ct=class extends _0x4b38ce{constructor(_0x1eb770,_0x120b34){const _0x30f276=_0x4e7919;super(),this['_univerInstanceService']=_0x1eb770,this[_0x30f276(0x1f4)]=_0x120b34,this[_0x30f276(0x350)]();}[_0x4e7919(0x350)](){const _0x4b3ef2=_0x4e7919;this['disposeWithMe'](this[_0x4b3ef2(0x29a)][_0x4b3ef2(0x346)][_0x4b3ef2(0x1f1)](()=>{const _0x1113c2=_0x4b3ef2;var _0x46639f;const _0x379060=this[_0x1113c2(0x29a)][_0x1113c2(0x41f)]();let _0x591742=(_0x46639f=this[_0x1113c2(0x1f4)][_0x1113c2(0x2a3)](Na))!=null?_0x46639f:Aa;_0x379060 instanceof _0x3c605a&&(_0x591742=_0x379060[_0x1113c2(0x3df)]),document['title']=_0x591742;}));}};Ct=Ua([zs(0x0,_0x5e27bc),zs(0x1,_0x88f14)],Ct);var Ma=Object[_0x4e7919(0x13e)],xa=Object['getOwnPropertyDescriptor'],La=(_0x517579,_0xda4319,_0x29a5b9,_0x85e3c2)=>{const _0x39e66e=_0x4e7919;for(var _0x4034ac=_0x85e3c2>0x1?void 0x0:_0x85e3c2?xa(_0xda4319,_0x29a5b9):_0xda4319,_0x1fa0da=_0x517579[_0x39e66e(0x126)]-0x1,_0x2677cc;_0x1fa0da>=0x0;_0x1fa0da--)(_0x2677cc=_0x517579[_0x1fa0da])&&(_0x4034ac=(_0x85e3c2?_0x2677cc(_0xda4319,_0x29a5b9,_0x4034ac):_0x2677cc(_0x4034ac))||_0x4034ac);return _0x85e3c2&&_0x4034ac&&Ma(_0xda4319,_0x29a5b9,_0x4034ac),_0x4034ac;},Wt=(_0x3c2fa8,_0x3b6f5a)=>(_0x21b625,_0x55e8b7)=>_0x3b6f5a(_0x21b625,_0x55e8b7,_0x3c2fa8);let Et=class{constructor(_0xcf31c7,_0x1c3c87,_0x565645){const _0x4dadfe=_0x4e7919;this['_configService']=_0xcf31c7,this[_0x4dadfe(0x2a7)]=_0x1c3c87,this['localeService']=_0x565645,this[_0x4dadfe(0x251)]();}['init'](){const _0x189f0a=_0x4e7919;this[_0x189f0a(0x2a7)][_0x189f0a(0x171)]({'priority':0x1,'interceptor':(_0x5c4d8c,_0x6aa053)=>_0x6aa053(_0x5c4d8c)[_0x189f0a(0x210)](_0x245147(async _0x305d75=>{const _0x5eff7e=_0x189f0a,_0x7535cd=_0x305d75;if(_0x7535cd[_0x5eff7e(0x459)]===0x191&&window[_0x5eff7e(0xf0)](this['localeService']['t'](_0x5eff7e(0x1c9)))){const _0x26e65d=window[_0x5eff7e(0x168)](window[_0x5eff7e(0x3e9)][_0x5eff7e(0xc3)]);window[_0x5eff7e(0x3e9)][_0x5eff7e(0xc3)]=this['_getLoginPath']()+'?url='+_0x26e65d;}return _0x7535cd;}))});}[_0x4e7919(0xa3)](){const _0x38d8d3=_0x4e7919;var _0x44d12d,_0x483e11;const _0x5b38fb=this[_0x38d8d3(0x1f4)][_0x38d8d3(0x2a3)](br),_0x3d6a1c=this[_0x38d8d3(0x1f4)][_0x38d8d3(0x2a3)](ie);return(_0x483e11=(_0x44d12d=_0x3d6a1c==null?void 0x0:_0x3d6a1c['loginUrlKey'])!=null?_0x44d12d:_0x5b38fb)!=null?_0x483e11:Tr;}};Et=La([Wt(0x0,_0x88f14),Wt(0x1,_0x557b7a(_0x55adc1)),Wt(0x2,_0x557b7a(_0x5e134c))],Et);var $a=Object[_0x4e7919(0x13e)],Ha=Object[_0x4e7919(0x3a9)],ja=(_0x503f68,_0x3554f8,_0x4d6653,_0x38aa5e)=>{const _0x1835d6=_0x4e7919;for(var _0x1b89c5=_0x38aa5e>0x1?void 0x0:_0x38aa5e?Ha(_0x3554f8,_0x4d6653):_0x3554f8,_0x24826d=_0x503f68[_0x1835d6(0x126)]-0x1,_0x4363a8;_0x24826d>=0x0;_0x24826d--)(_0x4363a8=_0x503f68[_0x24826d])&&(_0x1b89c5=(_0x38aa5e?_0x4363a8(_0x3554f8,_0x4d6653,_0x1b89c5):_0x4363a8(_0x1b89c5))||_0x1b89c5);return _0x38aa5e&&_0x1b89c5&&$a(_0x3554f8,_0x4d6653,_0x1b89c5),_0x1b89c5;},qs=(_0x4de218,_0x26aa6a)=>(_0x3cd8cb,_0x5bd997)=>_0x26aa6a(_0x3cd8cb,_0x5bd997,_0x4de218);const Ba=_0x4e7919(0x47e),ka=_0x4e7919(0x2ec);let cs=class extends _0x4b38ce{constructor(_0x18138a,_0x436ba4){const _0x3eaa27=_0x4e7919;super(),this[_0x3eaa27(0x1e8)]=_0x18138a,this[_0x3eaa27(0x1f4)]=_0x436ba4,this[_0x3eaa27(0x31a)]();}['_initMergeInterceptor'](){const _0xbd7ef6=_0x4e7919,_0x3096f3=this;this[_0xbd7ef6(0xb0)](this['_HTTPService'][_0xbd7ef6(0x171)]({'priority':0x3e7,'interceptor':_0x309f2d({'isMatch'(_0x380a18){const _0x3f7c27=_0xbd7ef6;var _0x1ba4e4;if(_0x380a18[_0x3f7c27(0x3a4)]===_0x3f7c27(0x1aa)&&((_0x1ba4e4=_0x380a18[_0x3f7c27(0x1ce)])!=null&&_0x1ba4e4[_0x3f7c27(0x47f)])){const {objectID:_0x50f85f,objectType:_0x4cde50}=_0x380a18[_0x3f7c27(0x1ce)][_0x3f7c27(0x47f)]||{};if(!_0x50f85f||_0x4cde50===void 0x0)return!0x1;const _0x105eb9=_0x3096f3[_0x3f7c27(0x229)]()+'/'+_0x4cde50+'/object/'+_0x50f85f+_0x3f7c27(0x464);if(_0x380a18[_0x3f7c27(0x139)]===_0x105eb9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x30a5e3){const _0x3b1324=_0xbd7ef6;var _0x4bffdc;return(_0x4bffdc=_0x30a5e3[_0x3b1324(0x1ce)])==null?void 0x0:_0x4bffdc[_0x3b1324(0x47f)];},'mergeParamsToRequest'(_0x5cdbac,_0x5e03c0){const _0x39f3c1=_0xbd7ef6,_0x34cc99=_0x3096f3[_0x39f3c1(0x229)]()+_0x39f3c1(0x256),_0x3b559a=_0x5cdbac[_0x39f3c1(0x16b)]((_0x351fbc,_0x2c90db)=>{const _0x4e577b=_0x39f3c1,{unitID:_0x59d4fa,objectID:_0x53ede4,objectType:_0x2b2a43,actions:_0x1845a1}=_0x2c90db;return _0x351fbc[_0x59d4fa]||(_0x351fbc[_0x59d4fa]={}),_0x351fbc[_0x59d4fa][_0x53ede4]||(_0x351fbc[_0x59d4fa][_0x53ede4]={'objectID':_0x53ede4,'objectType':_0x2b2a43,'actions':[]}),_0x351fbc[_0x59d4fa][_0x53ede4]['actions'][_0x4e577b(0x209)](..._0x1845a1),_0x351fbc;},{}),_0xae8d56=[];for(const _0x3de101 in _0x3b559a)for(const _0x340f62 in _0x3b559a[_0x3de101]){const {actions:_0xcc8a0,objectType:_0x515601}=_0x3b559a[_0x3de101][_0x340f62],_0x5797a1=[...new Set(_0xcc8a0)];_0xae8d56[_0x39f3c1(0x209)]({'unitID':_0x3de101,'objectID':_0x340f62,'objectType':_0x515601,'actions':_0x5797a1});}return new _0x223f2c(_0x39f3c1(0x1aa),_0x34cc99,{'headers':_0x5e03c0['headers'],'withCredentials':_0x5e03c0[_0x39f3c1(0x454)],'responseType':_0x5e03c0[_0x39f3c1(0x347)],'body':{'requests':_0xae8d56}});}},{'distributeResult'(_0x526eda,_0x5eebb6){const _0x3b39db=_0xbd7ef6,{objectActions:_0x4c7d13}=_0x526eda;return _0x5eebb6[_0x3b39db(0x32e)](_0x3680ad=>{const _0x47c053=_0x3b39db,{unitID:_0x280bf8,objectID:_0x4ecb08,actions:_0x2dd2f7}=_0x3680ad,_0x12b338=_0x4c7d13['find'](_0x2b5456=>_0x2b5456[_0x47c053(0x8b)]===_0x280bf8&&_0x2b5456['objectID']===_0x4ecb08),_0x32ce5d=_0x2dd2f7[_0x47c053(0x32e)](_0x33f7ac=>_0x12b338==null?void 0x0:_0x12b338[_0x47c053(0x367)][_0x47c053(0x22a)](_0x4b5028=>_0x4b5028['action']===_0x33f7ac))[_0x47c053(0x42e)](_0x5bab37=>!!_0x5bab37);return{'config':_0x3680ad,'result':{'actions':_0x32ce5d,'error':_0x526eda[_0x47c053(0x24d)]}};});}})}));}['_getAPIPrefixPath'](){const _0x169ad8=_0x4e7919;var _0x159c1a,_0x11e8b8;const _0x2f7d29=this[_0x169ad8(0x1f4)][_0x169ad8(0x2a3)](Ba),_0x51053f=this[_0x169ad8(0x1f4)][_0x169ad8(0x2a3)](ie);return(_0x11e8b8=(_0x159c1a=_0x51053f==null?void 0x0:_0x51053f[_0x169ad8(0x368)])!=null?_0x159c1a:_0x2f7d29)!=null?_0x11e8b8:ka;}async[_0x4e7919(0x447)](_0x2f84da){const _0x4c43de=_0x4e7919,_0x2871f7=this[_0x4c43de(0x229)]()+'/'+_0x2f84da[_0x4c43de(0x44a)]+_0x4c43de(0x2ae);return(await this[_0x4c43de(0x1e8)][_0x4c43de(0x480)](_0x2871f7,{'body':_0x2f84da}))['body']['objectID']||'';}async['list'](_0x1c3ef5){const _0x37fdd9=_0x4e7919,_0x17c64a=this['_getAPIPrefixPath']()+_0x37fdd9(0x30a);return(await this[_0x37fdd9(0x1e8)][_0x37fdd9(0x480)](_0x17c64a,{'body':_0x1c3ef5}))[_0x37fdd9(0x47f)][_0x37fdd9(0x37c)];}async[_0x4e7919(0x3c1)](_0x50505e){const _0x360f22=_0x4e7919,_0x142294=this[_0x360f22(0x229)]()+'/'+_0x50505e[_0x360f22(0x44a)]+'/object/'+_0x50505e[_0x360f22(0x9f)];await this['_HTTPService']['put'](_0x142294,{'body':_0x50505e});}async[_0x4e7919(0x1b0)](_0x3229d0){const _0x25fd2c=_0x4e7919,_0xcacb5a=this[_0x25fd2c(0x229)]()+'/'+_0x3229d0['objectType']+_0x25fd2c(0x325)+_0x3229d0[_0x25fd2c(0x9f)]+_0x25fd2c(0x464);return(await this['_HTTPService'][_0x25fd2c(0x480)](_0xcacb5a,{'body':_0x3229d0}))[_0x25fd2c(0x47f)]['actions'];}async[_0x4e7919(0xe3)](_0x20a34c){const _0x212871=_0x4e7919,_0x8e9330=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x212871(0x1e8)][_0x212871(0x480)](_0x8e9330,{'body':{'requests':_0x20a34c}}))[_0x212871(0x47f)][_0x212871(0x1ea)];}async[_0x4e7919(0x11a)](_0x3b969a){const _0x4d925b=_0x4e7919,_0x4147ed=this['_getAPIPrefixPath']()+'/'+_0x3b969a[_0x4d925b(0x44a)]+_0x4d925b(0x407),_0x49f930=await this['_HTTPService'][_0x4d925b(0x480)](_0x4147ed,{'body':_0x3b969a});return{'roles':_0x49f930[_0x4d925b(0x47f)][_0x4d925b(0xc4)],'actions':_0x49f930[_0x4d925b(0x47f)][_0x4d925b(0x367)]};}async['deleteCollaborator'](_0x50be26){const _0x27d10d=_0x4e7919,_0x1d6cff=this['_getAPIPrefixPath']()+_0x27d10d(0x233);await this[_0x27d10d(0x1e8)][_0x27d10d(0x15f)](_0x1d6cff,{'params':{'collaboratorID':_0x50be26[_0x27d10d(0x35d)],'objectID':_0x50be26[_0x27d10d(0x9f)],'unitID':_0x50be26[_0x27d10d(0x8b)]}});}async['updateCollaborator'](_0x16f378){const _0x31d701=_0x4e7919,_0x4867de=this[_0x31d701(0x229)]()+_0x31d701(0x233);await this[_0x31d701(0x1e8)]['patch'](_0x4867de,{'body':_0x16f378});}async[_0x4e7919(0x272)](_0x5a0d20){const _0x5273e9=_0x4e7919,_0x2d7127=this[_0x5273e9(0x229)]()+'/collaborator';await this['_HTTPService'][_0x5273e9(0x480)](_0x2d7127,{'body':_0x5a0d20});}async['listCollaborators'](_0x4ea963){const _0x24faba=_0x4e7919,_0x2b4dda=this[_0x24faba(0x229)]()+_0x24faba(0x233);return(await this[_0x24faba(0x1e8)][_0x24faba(0x16e)](_0x2b4dda,{'params':{'objectID':_0x4ea963[_0x24faba(0x9f)],'unitID':_0x4ea963['unitID']}}))['body'][_0x24faba(0x3e1)];}async['putCollaborators'](_0x39063c){const _0x5c4de9=_0x4e7919,_0x5912e6=this[_0x5c4de9(0x229)]()+_0x5c4de9(0x233);await this['_HTTPService'][_0x5c4de9(0x475)](_0x5912e6,{'body':_0x39063c});}};cs=ja([qs(0x0,_0x557b7a(_0x55adc1)),qs(0x1,_0x557b7a(_0x88f14))],cs);var ki={'exports':{}};function Wa(_0x468067){const _0x21a640=_0x4e7919;throw new Error(_0x21a640(0x82)+_0x468067+_0x21a640(0x136));}var Ft={'exports':{}},Xs;function ue(){const _0x22551a=_0x4e7919;return Xs||(Xs=0x1,function(_0x363b30,_0x3f5e64){(function(_0x2ddeda,_0x51b557){const _0xaf903b=_0x5ed9;_0x363b30[_0xaf903b(0x279)]=_0x51b557();}(Z,function(){var _0x4043cd=_0x4043cd||function(_0x465733,_0x4cbd1b){const _0x4d64a2=_0x5ed9;var _0x123f83;if(typeof window<'u'&&window[_0x4d64a2(0x1b2)]&&(_0x123f83=window[_0x4d64a2(0x1b2)]),typeof self<'u'&&self[_0x4d64a2(0x1b2)]&&(_0x123f83=self[_0x4d64a2(0x1b2)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x123f83=globalThis[_0x4d64a2(0x1b2)]),!_0x123f83&&typeof window<'u'&&window[_0x4d64a2(0x16f)]&&(_0x123f83=window[_0x4d64a2(0x16f)]),!_0x123f83&&typeof Z<'u'&&Z[_0x4d64a2(0x1b2)]&&(_0x123f83=Z[_0x4d64a2(0x1b2)]),!_0x123f83&&typeof Wa==_0x4d64a2(0x389))try{_0x123f83=require(_0x4d64a2(0x1b2));}catch{}var _0x338b0f=function(){const _0x18ceac=_0x4d64a2;if(_0x123f83){if(typeof _0x123f83[_0x18ceac(0x19d)]=='function')try{return _0x123f83[_0x18ceac(0x19d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x123f83[_0x18ceac(0x220)]==_0x18ceac(0x389))try{return _0x123f83[_0x18ceac(0x220)](0x4)[_0x18ceac(0x3e3)]();}catch{}}throw new Error(_0x18ceac(0x22c));},_0x411826=Object['create']||(function(){function _0x104998(){}return function(_0x1c3583){const _0x1fff3b=_0x5ed9;var _0x27ac75;return _0x104998[_0x1fff3b(0x208)]=_0x1c3583,_0x27ac75=new _0x104998(),_0x104998[_0x1fff3b(0x208)]=null,_0x27ac75;};}()),_0x20b9c4={},_0x4d9fa8=_0x20b9c4[_0x4d64a2(0x24f)]={},_0x116ef8=_0x4d9fa8[_0x4d64a2(0x21e)]=(function(){return{'extend':function(_0x475c0e){const _0x528cfa=_0x5ed9;var _0x499fe8=_0x411826(this);return _0x475c0e&&_0x499fe8[_0x528cfa(0x9d)](_0x475c0e),(!_0x499fe8['hasOwnProperty'](_0x528cfa(0x251))||this['init']===_0x499fe8[_0x528cfa(0x251)])&&(_0x499fe8['init']=function(){const _0x1f7ffd=_0x528cfa;_0x499fe8[_0x1f7ffd(0x19a)][_0x1f7ffd(0x251)][_0x1f7ffd(0x2d7)](this,arguments);}),_0x499fe8[_0x528cfa(0x251)]['prototype']=_0x499fe8,_0x499fe8[_0x528cfa(0x19a)]=this,_0x499fe8;},'create':function(){const _0x10726=_0x5ed9;var _0x35cd1a=this[_0x10726(0x3d3)]();return _0x35cd1a[_0x10726(0x251)][_0x10726(0x2d7)](_0x35cd1a,arguments),_0x35cd1a;},'init':function(){},'mixIn':function(_0x56d05c){const _0x31a9e4=_0x5ed9;for(var _0x23a2dc in _0x56d05c)_0x56d05c[_0x31a9e4(0x1a1)](_0x23a2dc)&&(this[_0x23a2dc]=_0x56d05c[_0x23a2dc]);_0x56d05c[_0x31a9e4(0x1a1)](_0x31a9e4(0x227))&&(this[_0x31a9e4(0x227)]=_0x56d05c[_0x31a9e4(0x227)]);},'clone':function(){const _0x3e4987=_0x5ed9;return this[_0x3e4987(0x251)][_0x3e4987(0x208)][_0x3e4987(0x3d3)](this);}};}()),_0x274c39=_0x4d9fa8['WordArray']=_0x116ef8[_0x4d64a2(0x3d3)]({'init':function(_0x39daad,_0x448347){const _0x5e1a3b=_0x4d64a2;_0x39daad=this[_0x5e1a3b(0x10f)]=_0x39daad||[],_0x448347!=_0x4cbd1b?this[_0x5e1a3b(0x3bb)]=_0x448347:this[_0x5e1a3b(0x3bb)]=_0x39daad[_0x5e1a3b(0x126)]*0x4;},'toString':function(_0x580f4e){return(_0x580f4e||_0x18dd1b)['stringify'](this);},'concat':function(_0x78824c){const _0x4fac22=_0x4d64a2;var _0x108d80=this[_0x4fac22(0x10f)],_0x3162d3=_0x78824c[_0x4fac22(0x10f)],_0x2d385e=this[_0x4fac22(0x3bb)],_0x26aee9=_0x78824c[_0x4fac22(0x3bb)];if(this['clamp'](),_0x2d385e%0x4)for(var _0x3ac2b8=0x0;_0x3ac2b8<_0x26aee9;_0x3ac2b8++){var _0x3a2ca3=_0x3162d3[_0x3ac2b8>>>0x2]>>>0x18-_0x3ac2b8%0x4*0x8&0xff;_0x108d80[_0x2d385e+_0x3ac2b8>>>0x2]|=_0x3a2ca3<<0x18-(_0x2d385e+_0x3ac2b8)%0x4*0x8;}else{for(var _0x55e76d=0x0;_0x55e76d<_0x26aee9;_0x55e76d+=0x4)_0x108d80[_0x2d385e+_0x55e76d>>>0x2]=_0x3162d3[_0x55e76d>>>0x2];}return this[_0x4fac22(0x3bb)]+=_0x26aee9,this;},'clamp':function(){const _0x557913=_0x4d64a2;var _0x39d607=this[_0x557913(0x10f)],_0x2f6a4b=this[_0x557913(0x3bb)];_0x39d607[_0x2f6a4b>>>0x2]&=0xffffffff<<0x20-_0x2f6a4b%0x4*0x8,_0x39d607[_0x557913(0x126)]=_0x465733[_0x557913(0x2e5)](_0x2f6a4b/0x4);},'clone':function(){const _0x390bfa=_0x4d64a2;var _0x4abb86=_0x116ef8[_0x390bfa(0x2f5)][_0x390bfa(0x326)](this);return _0x4abb86['words']=this[_0x390bfa(0x10f)][_0x390bfa(0x41b)](0x0),_0x4abb86;},'random':function(_0x548dea){const _0x211ae5=_0x4d64a2;for(var _0x1187a5=[],_0x31964d=0x0;_0x31964d<_0x548dea;_0x31964d+=0x4)_0x1187a5[_0x211ae5(0x209)](_0x338b0f());return new _0x274c39[(_0x211ae5(0x251))](_0x1187a5,_0x548dea);}}),_0x36ca94=_0x20b9c4['enc']={},_0x18dd1b=_0x36ca94[_0x4d64a2(0x3d0)]={'stringify':function(_0x20294f){const _0x5be746=_0x4d64a2;for(var _0x170fc8=_0x20294f[_0x5be746(0x10f)],_0xd42c9=_0x20294f['sigBytes'],_0x7ba385=[],_0x496a69=0x0;_0x496a69<_0xd42c9;_0x496a69++){var _0x42c37b=_0x170fc8[_0x496a69>>>0x2]>>>0x18-_0x496a69%0x4*0x8&0xff;_0x7ba385[_0x5be746(0x209)]((_0x42c37b>>>0x4)[_0x5be746(0x227)](0x10)),_0x7ba385[_0x5be746(0x209)]((_0x42c37b&0xf)[_0x5be746(0x227)](0x10));}return _0x7ba385[_0x5be746(0x2e2)]('');},'parse':function(_0x12eb05){const _0x1f89ff=_0x4d64a2;for(var _0x1d3d5a=_0x12eb05[_0x1f89ff(0x126)],_0x13ec14=[],_0x28e634=0x0;_0x28e634<_0x1d3d5a;_0x28e634+=0x2)_0x13ec14[_0x28e634>>>0x3]|=parseInt(_0x12eb05['substr'](_0x28e634,0x2),0x10)<<0x18-_0x28e634%0x8*0x4;return new _0x274c39['init'](_0x13ec14,_0x1d3d5a/0x2);}},_0x25b94d=_0x36ca94[_0x4d64a2(0x3dc)]={'stringify':function(_0x239458){const _0x4d5b9f=_0x4d64a2;for(var _0x36df88=_0x239458['words'],_0x1c727e=_0x239458['sigBytes'],_0x6aea54=[],_0x30ff1a=0x0;_0x30ff1a<_0x1c727e;_0x30ff1a++){var _0xc80006=_0x36df88[_0x30ff1a>>>0x2]>>>0x18-_0x30ff1a%0x4*0x8&0xff;_0x6aea54[_0x4d5b9f(0x209)](String[_0x4d5b9f(0x11c)](_0xc80006));}return _0x6aea54[_0x4d5b9f(0x2e2)]('');},'parse':function(_0x4ccaf4){const _0x5d125e=_0x4d64a2;for(var _0x1fa6da=_0x4ccaf4['length'],_0x2901ce=[],_0x3782b2=0x0;_0x3782b2<_0x1fa6da;_0x3782b2++)_0x2901ce[_0x3782b2>>>0x2]|=(_0x4ccaf4['charCodeAt'](_0x3782b2)&0xff)<<0x18-_0x3782b2%0x4*0x8;return new _0x274c39[(_0x5d125e(0x251))](_0x2901ce,_0x1fa6da);}},_0x4c375f=_0x36ca94[_0x4d64a2(0x479)]={'stringify':function(_0x540aa3){const _0x67878f=_0x4d64a2;try{return decodeURIComponent(escape(_0x25b94d[_0x67878f(0x47a)](_0x540aa3)));}catch{throw new Error(_0x67878f(0x131));}},'parse':function(_0x3417d8){const _0x56968f=_0x4d64a2;return _0x25b94d[_0x56968f(0xdc)](unescape(encodeURIComponent(_0x3417d8)));}},_0x3c7d40=_0x4d9fa8[_0x4d64a2(0x20b)]=_0x116ef8[_0x4d64a2(0x3d3)]({'reset':function(){const _0x1898d0=_0x4d64a2;this[_0x1898d0(0x1ed)]=new _0x274c39[(_0x1898d0(0x251))](),this[_0x1898d0(0x428)]=0x0;},'_append':function(_0x1af0cf){const _0x546daa=_0x4d64a2;typeof _0x1af0cf==_0x546daa(0x216)&&(_0x1af0cf=_0x4c375f[_0x546daa(0xdc)](_0x1af0cf)),this[_0x546daa(0x1ed)][_0x546daa(0x24a)](_0x1af0cf),this[_0x546daa(0x428)]+=_0x1af0cf[_0x546daa(0x3bb)];},'_process':function(_0xbbaf86){const _0x14267a=_0x4d64a2;var _0x48ef70,_0x450cfa=this[_0x14267a(0x1ed)],_0x5ae2c5=_0x450cfa['words'],_0x280ecf=_0x450cfa[_0x14267a(0x3bb)],_0x420553=this['blockSize'],_0x2267f3=_0x420553*0x4,_0x447612=_0x280ecf/_0x2267f3;_0xbbaf86?_0x447612=_0x465733['ceil'](_0x447612):_0x447612=_0x465733[_0x14267a(0x384)]((_0x447612|0x0)-this[_0x14267a(0x1d6)],0x0);var _0x5b5a88=_0x447612*_0x420553,_0x5af15f=_0x465733[_0x14267a(0x3a2)](_0x5b5a88*0x4,_0x280ecf);if(_0x5b5a88){for(var _0x1e6931=0x0;_0x1e6931<_0x5b5a88;_0x1e6931+=_0x420553)this[_0x14267a(0x1d0)](_0x5ae2c5,_0x1e6931);_0x48ef70=_0x5ae2c5[_0x14267a(0x3d9)](0x0,_0x5b5a88),_0x450cfa[_0x14267a(0x3bb)]-=_0x5af15f;}return new _0x274c39[(_0x14267a(0x251))](_0x48ef70,_0x5af15f);},'clone':function(){const _0x50b85b=_0x4d64a2;var _0x5ccbec=_0x116ef8['clone'][_0x50b85b(0x326)](this);return _0x5ccbec['_data']=this[_0x50b85b(0x1ed)][_0x50b85b(0x2f5)](),_0x5ccbec;},'_minBufferSize':0x0});_0x4d9fa8[_0x4d64a2(0x218)]=_0x3c7d40['extend']({'cfg':_0x116ef8[_0x4d64a2(0x3d3)](),'init':function(_0x538fa0){const _0x139a9e=_0x4d64a2;this[_0x139a9e(0x150)]=this[_0x139a9e(0x150)][_0x139a9e(0x3d3)](_0x538fa0),this[_0x139a9e(0x486)]();},'reset':function(){const _0x1fb3ba=_0x4d64a2;_0x3c7d40['reset'][_0x1fb3ba(0x326)](this),this[_0x1fb3ba(0x374)]();},'update':function(_0x4723f9){const _0x1beacf=_0x4d64a2;return this[_0x1beacf(0x3d7)](_0x4723f9),this[_0x1beacf(0x181)](),this;},'finalize':function(_0x4a2371){const _0x2b5557=_0x4d64a2;_0x4a2371&&this[_0x2b5557(0x3d7)](_0x4a2371);var _0x1ff4e1=this['_doFinalize']();return _0x1ff4e1;},'blockSize':0x10,'_createHelper':function(_0x546e65){return function(_0x14376d,_0x452c58){const _0x14eeaa=_0x5ed9;return new _0x546e65[(_0x14eeaa(0x251))](_0x452c58)[_0x14eeaa(0x1d9)](_0x14376d);};},'_createHmacHelper':function(_0x18eca4){return function(_0x3be3b2,_0x3420fb){const _0x5b10bb=_0x5ed9;return new _0x50d9ea[(_0x5b10bb(0x394))][(_0x5b10bb(0x251))](_0x18eca4,_0x3420fb)[_0x5b10bb(0x1d9)](_0x3be3b2);};}});var _0x50d9ea=_0x20b9c4['algo']={};return _0x20b9c4;}(Math);return _0x4043cd;}));}(Ft)),Ft[_0x22551a(0x279)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x294d01,_0x5c8c6e){(function(_0x102172,_0x39cf30){const _0x17ea8e=_0x5ed9;_0x294d01[_0x17ea8e(0x279)]=_0x39cf30(ue());}(Z,function(_0x527657){const _0x11d2e1=_0x5ed9;return(function(){const _0x3b29d0=_0x5ed9;var _0x319187=_0x527657,_0xcc5b4d=_0x319187[_0x3b29d0(0x24f)],_0x14c296=_0xcc5b4d['WordArray'],_0x4f7438=_0x319187[_0x3b29d0(0xc5)];_0x4f7438[_0x3b29d0(0x2e4)]={'stringify':function(_0x6265e0){const _0x30a88e=_0x3b29d0;var _0xe23173=_0x6265e0[_0x30a88e(0x10f)],_0x109ad2=_0x6265e0[_0x30a88e(0x3bb)],_0x1d0e13=this['_map'];_0x6265e0[_0x30a88e(0xdf)]();for(var _0x35e99e=[],_0x5b5bf7=0x0;_0x5b5bf7<_0x109ad2;_0x5b5bf7+=0x3)for(var _0x53bc5d=_0xe23173[_0x5b5bf7>>>0x2]>>>0x18-_0x5b5bf7%0x4*0x8&0xff,_0xe805d2=_0xe23173[_0x5b5bf7+0x1>>>0x2]>>>0x18-(_0x5b5bf7+0x1)%0x4*0x8&0xff,_0x1000b9=_0xe23173[_0x5b5bf7+0x2>>>0x2]>>>0x18-(_0x5b5bf7+0x2)%0x4*0x8&0xff,_0x2ec685=_0x53bc5d<<0x10|_0xe805d2<<0x8|_0x1000b9,_0x1932e3=0x0;_0x1932e3<0x4&&_0x5b5bf7+_0x1932e3*0.75<_0x109ad2;_0x1932e3++)_0x35e99e['push'](_0x1d0e13[_0x30a88e(0x130)](_0x2ec685>>>0x6*(0x3-_0x1932e3)&0x3f));var _0x563b0f=_0x1d0e13[_0x30a88e(0x130)](0x40);if(_0x563b0f){for(;_0x35e99e[_0x30a88e(0x126)]%0x4;)_0x35e99e[_0x30a88e(0x209)](_0x563b0f);}return _0x35e99e[_0x30a88e(0x2e2)]('');},'parse':function(_0x11cd17){const _0x16030e=_0x3b29d0;var _0x37d1ec=_0x11cd17[_0x16030e(0x126)],_0x516a9c=this[_0x16030e(0x2e8)],_0x5054d5=this[_0x16030e(0xe7)];if(!_0x5054d5){_0x5054d5=this[_0x16030e(0xe7)]=[];for(var _0x10aec3=0x0;_0x10aec3<_0x516a9c[_0x16030e(0x126)];_0x10aec3++)_0x5054d5[_0x516a9c[_0x16030e(0x79)](_0x10aec3)]=_0x10aec3;}var _0x19148f=_0x516a9c[_0x16030e(0x130)](0x40);if(_0x19148f){var _0x2a6137=_0x11cd17[_0x16030e(0x1e7)](_0x19148f);_0x2a6137!==-0x1&&(_0x37d1ec=_0x2a6137);}return _0x4a56f5(_0x11cd17,_0x37d1ec,_0x5054d5);},'_map':_0x3b29d0(0x484)};function _0x4a56f5(_0x1cc844,_0x2febca,_0x33646b){const _0x121970=_0x3b29d0;for(var _0x4aff3a=[],_0x363b96=0x0,_0x53148b=0x0;_0x53148b<_0x2febca;_0x53148b++)if(_0x53148b%0x4){var _0x3efa81=_0x33646b[_0x1cc844[_0x121970(0x79)](_0x53148b-0x1)]<<_0x53148b%0x4*0x2,_0x566e07=_0x33646b[_0x1cc844[_0x121970(0x79)](_0x53148b)]>>>0x6-_0x53148b%0x4*0x2,_0x3eb0f6=_0x3efa81|_0x566e07;_0x4aff3a[_0x363b96>>>0x2]|=_0x3eb0f6<<0x18-_0x363b96%0x4*0x8,_0x363b96++;}return _0x14c296[_0x121970(0x447)](_0x4aff3a,_0x363b96);}}()),_0x527657[_0x11d2e1(0xc5)][_0x11d2e1(0x2e4)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x139e29=_0x4e7919;return Zs||(Zs=0x1,function(_0x5d3a92,_0x43d144){(function(_0x203600,_0x2375fd){const _0x570471=_0x5ed9;_0x5d3a92[_0x570471(0x279)]=_0x2375fd(ue());}(Z,function(_0x5bf9cf){const _0x3e9fd6=_0x5ed9;return function(_0x22c53c){const _0x46e6c4=_0x5ed9;var _0x2c4782=_0x5bf9cf,_0x4e9638=_0x2c4782['lib'],_0x2ad1ea=_0x4e9638['WordArray'],_0x5eb0c1=_0x4e9638['Hasher'],_0x320f87=_0x2c4782['algo'],_0x3475a5=[];(function(){const _0x498122=_0x5ed9;for(var _0x39dfbf=0x0;_0x39dfbf<0x40;_0x39dfbf++)_0x3475a5[_0x39dfbf]=_0x22c53c[_0x498122(0x23d)](_0x22c53c[_0x498122(0x321)](_0x39dfbf+0x1))*0x100000000|0x0;}());var _0x3398f8=_0x320f87['MD5']=_0x5eb0c1[_0x46e6c4(0x3d3)]({'_doReset':function(){const _0x7b70f4=_0x46e6c4;this[_0x7b70f4(0x339)]=new _0x2ad1ea['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x192ed7,_0x4f1d45){const _0x56fc2e=_0x46e6c4;for(var _0x20c9c5=0x0;_0x20c9c5<0x10;_0x20c9c5++){var _0x1b61d9=_0x4f1d45+_0x20c9c5,_0x1498ce=_0x192ed7[_0x1b61d9];_0x192ed7[_0x1b61d9]=(_0x1498ce<<0x8|_0x1498ce>>>0x18)&0xff00ff|(_0x1498ce<<0x18|_0x1498ce>>>0x8)&0xff00ff00;}var _0x33c374=this[_0x56fc2e(0x339)][_0x56fc2e(0x10f)],_0x586e67=_0x192ed7[_0x4f1d45+0x0],_0x1dc3e6=_0x192ed7[_0x4f1d45+0x1],_0x4b7d2a=_0x192ed7[_0x4f1d45+0x2],_0x448d5f=_0x192ed7[_0x4f1d45+0x3],_0x274cd6=_0x192ed7[_0x4f1d45+0x4],_0x303405=_0x192ed7[_0x4f1d45+0x5],_0x41307b=_0x192ed7[_0x4f1d45+0x6],_0x24d551=_0x192ed7[_0x4f1d45+0x7],_0x41d4bd=_0x192ed7[_0x4f1d45+0x8],_0x5be2ee=_0x192ed7[_0x4f1d45+0x9],_0x1285b2=_0x192ed7[_0x4f1d45+0xa],_0x2cccee=_0x192ed7[_0x4f1d45+0xb],_0x4270ec=_0x192ed7[_0x4f1d45+0xc],_0x2f0a1a=_0x192ed7[_0x4f1d45+0xd],_0x23ce05=_0x192ed7[_0x4f1d45+0xe],_0x220231=_0x192ed7[_0x4f1d45+0xf],_0x449da9=_0x33c374[0x0],_0x5863e4=_0x33c374[0x1],_0x2052fe=_0x33c374[0x2],_0x255749=_0x33c374[0x3];_0x449da9=_0x3c1197(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x586e67,0x7,_0x3475a5[0x0]),_0x255749=_0x3c1197(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x1dc3e6,0xc,_0x3475a5[0x1]),_0x2052fe=_0x3c1197(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x4b7d2a,0x11,_0x3475a5[0x2]),_0x5863e4=_0x3c1197(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x448d5f,0x16,_0x3475a5[0x3]),_0x449da9=_0x3c1197(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x274cd6,0x7,_0x3475a5[0x4]),_0x255749=_0x3c1197(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x303405,0xc,_0x3475a5[0x5]),_0x2052fe=_0x3c1197(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x41307b,0x11,_0x3475a5[0x6]),_0x5863e4=_0x3c1197(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x24d551,0x16,_0x3475a5[0x7]),_0x449da9=_0x3c1197(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x41d4bd,0x7,_0x3475a5[0x8]),_0x255749=_0x3c1197(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x5be2ee,0xc,_0x3475a5[0x9]),_0x2052fe=_0x3c1197(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x1285b2,0x11,_0x3475a5[0xa]),_0x5863e4=_0x3c1197(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x2cccee,0x16,_0x3475a5[0xb]),_0x449da9=_0x3c1197(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x4270ec,0x7,_0x3475a5[0xc]),_0x255749=_0x3c1197(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x2f0a1a,0xc,_0x3475a5[0xd]),_0x2052fe=_0x3c1197(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x23ce05,0x11,_0x3475a5[0xe]),_0x5863e4=_0x3c1197(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x220231,0x16,_0x3475a5[0xf]),_0x449da9=_0x14b4dc(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x1dc3e6,0x5,_0x3475a5[0x10]),_0x255749=_0x14b4dc(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x41307b,0x9,_0x3475a5[0x11]),_0x2052fe=_0x14b4dc(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x2cccee,0xe,_0x3475a5[0x12]),_0x5863e4=_0x14b4dc(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x586e67,0x14,_0x3475a5[0x13]),_0x449da9=_0x14b4dc(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x303405,0x5,_0x3475a5[0x14]),_0x255749=_0x14b4dc(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x1285b2,0x9,_0x3475a5[0x15]),_0x2052fe=_0x14b4dc(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x220231,0xe,_0x3475a5[0x16]),_0x5863e4=_0x14b4dc(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x274cd6,0x14,_0x3475a5[0x17]),_0x449da9=_0x14b4dc(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x5be2ee,0x5,_0x3475a5[0x18]),_0x255749=_0x14b4dc(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x23ce05,0x9,_0x3475a5[0x19]),_0x2052fe=_0x14b4dc(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x448d5f,0xe,_0x3475a5[0x1a]),_0x5863e4=_0x14b4dc(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x41d4bd,0x14,_0x3475a5[0x1b]),_0x449da9=_0x14b4dc(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x2f0a1a,0x5,_0x3475a5[0x1c]),_0x255749=_0x14b4dc(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x4b7d2a,0x9,_0x3475a5[0x1d]),_0x2052fe=_0x14b4dc(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x24d551,0xe,_0x3475a5[0x1e]),_0x5863e4=_0x14b4dc(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x4270ec,0x14,_0x3475a5[0x1f]),_0x449da9=_0xb34aae(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x303405,0x4,_0x3475a5[0x20]),_0x255749=_0xb34aae(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x41d4bd,0xb,_0x3475a5[0x21]),_0x2052fe=_0xb34aae(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x2cccee,0x10,_0x3475a5[0x22]),_0x5863e4=_0xb34aae(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x23ce05,0x17,_0x3475a5[0x23]),_0x449da9=_0xb34aae(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x1dc3e6,0x4,_0x3475a5[0x24]),_0x255749=_0xb34aae(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x274cd6,0xb,_0x3475a5[0x25]),_0x2052fe=_0xb34aae(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x24d551,0x10,_0x3475a5[0x26]),_0x5863e4=_0xb34aae(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x1285b2,0x17,_0x3475a5[0x27]),_0x449da9=_0xb34aae(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x2f0a1a,0x4,_0x3475a5[0x28]),_0x255749=_0xb34aae(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x586e67,0xb,_0x3475a5[0x29]),_0x2052fe=_0xb34aae(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x448d5f,0x10,_0x3475a5[0x2a]),_0x5863e4=_0xb34aae(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x41307b,0x17,_0x3475a5[0x2b]),_0x449da9=_0xb34aae(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x5be2ee,0x4,_0x3475a5[0x2c]),_0x255749=_0xb34aae(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x4270ec,0xb,_0x3475a5[0x2d]),_0x2052fe=_0xb34aae(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x220231,0x10,_0x3475a5[0x2e]),_0x5863e4=_0xb34aae(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x4b7d2a,0x17,_0x3475a5[0x2f]),_0x449da9=_0x5a7e6e(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x586e67,0x6,_0x3475a5[0x30]),_0x255749=_0x5a7e6e(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x24d551,0xa,_0x3475a5[0x31]),_0x2052fe=_0x5a7e6e(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x23ce05,0xf,_0x3475a5[0x32]),_0x5863e4=_0x5a7e6e(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x303405,0x15,_0x3475a5[0x33]),_0x449da9=_0x5a7e6e(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x4270ec,0x6,_0x3475a5[0x34]),_0x255749=_0x5a7e6e(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x448d5f,0xa,_0x3475a5[0x35]),_0x2052fe=_0x5a7e6e(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x1285b2,0xf,_0x3475a5[0x36]),_0x5863e4=_0x5a7e6e(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x1dc3e6,0x15,_0x3475a5[0x37]),_0x449da9=_0x5a7e6e(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x41d4bd,0x6,_0x3475a5[0x38]),_0x255749=_0x5a7e6e(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x220231,0xa,_0x3475a5[0x39]),_0x2052fe=_0x5a7e6e(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x41307b,0xf,_0x3475a5[0x3a]),_0x5863e4=_0x5a7e6e(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x2f0a1a,0x15,_0x3475a5[0x3b]),_0x449da9=_0x5a7e6e(_0x449da9,_0x5863e4,_0x2052fe,_0x255749,_0x274cd6,0x6,_0x3475a5[0x3c]),_0x255749=_0x5a7e6e(_0x255749,_0x449da9,_0x5863e4,_0x2052fe,_0x2cccee,0xa,_0x3475a5[0x3d]),_0x2052fe=_0x5a7e6e(_0x2052fe,_0x255749,_0x449da9,_0x5863e4,_0x4b7d2a,0xf,_0x3475a5[0x3e]),_0x5863e4=_0x5a7e6e(_0x5863e4,_0x2052fe,_0x255749,_0x449da9,_0x5be2ee,0x15,_0x3475a5[0x3f]),_0x33c374[0x0]=_0x33c374[0x0]+_0x449da9|0x0,_0x33c374[0x1]=_0x33c374[0x1]+_0x5863e4|0x0,_0x33c374[0x2]=_0x33c374[0x2]+_0x2052fe|0x0,_0x33c374[0x3]=_0x33c374[0x3]+_0x255749|0x0;},'_doFinalize':function(){const _0x5f240e=_0x46e6c4;var _0x8cb964=this[_0x5f240e(0x1ed)],_0x4e3163=_0x8cb964['words'],_0x2eb491=this['_nDataBytes']*0x8,_0x3742f2=_0x8cb964[_0x5f240e(0x3bb)]*0x8;_0x4e3163[_0x3742f2>>>0x5]|=0x80<<0x18-_0x3742f2%0x20;var _0x2e593d=_0x22c53c[_0x5f240e(0x1be)](_0x2eb491/0x100000000),_0x365625=_0x2eb491;_0x4e3163[(_0x3742f2+0x40>>>0x9<<0x4)+0xf]=(_0x2e593d<<0x8|_0x2e593d>>>0x18)&0xff00ff|(_0x2e593d<<0x18|_0x2e593d>>>0x8)&0xff00ff00,_0x4e3163[(_0x3742f2+0x40>>>0x9<<0x4)+0xe]=(_0x365625<<0x8|_0x365625>>>0x18)&0xff00ff|(_0x365625<<0x18|_0x365625>>>0x8)&0xff00ff00,_0x8cb964[_0x5f240e(0x3bb)]=(_0x4e3163[_0x5f240e(0x126)]+0x1)*0x4,this[_0x5f240e(0x181)]();for(var _0x5676b2=this[_0x5f240e(0x339)],_0x1edd8b=_0x5676b2[_0x5f240e(0x10f)],_0x4e777a=0x0;_0x4e777a<0x4;_0x4e777a++){var _0x1be32c=_0x1edd8b[_0x4e777a];_0x1edd8b[_0x4e777a]=(_0x1be32c<<0x8|_0x1be32c>>>0x18)&0xff00ff|(_0x1be32c<<0x18|_0x1be32c>>>0x8)&0xff00ff00;}return _0x5676b2;},'clone':function(){const _0x128e46=_0x46e6c4;var _0x9ebe5e=_0x5eb0c1[_0x128e46(0x2f5)][_0x128e46(0x326)](this);return _0x9ebe5e['_hash']=this['_hash']['clone'](),_0x9ebe5e;}});function _0x3c1197(_0x5a2ef8,_0x1713f1,_0x580d50,_0x21573f,_0x524b46,_0x32b39c,_0xd686c6){var _0x244b74=_0x5a2ef8+(_0x1713f1&_0x580d50|~_0x1713f1&_0x21573f)+_0x524b46+_0xd686c6;return(_0x244b74<<_0x32b39c|_0x244b74>>>0x20-_0x32b39c)+_0x1713f1;}function _0x14b4dc(_0xedd01f,_0x466bb9,_0x2c53a9,_0xa7690e,_0x17b1a2,_0xc476bb,_0x27bc3a){var _0x2ff807=_0xedd01f+(_0x466bb9&_0xa7690e|_0x2c53a9&~_0xa7690e)+_0x17b1a2+_0x27bc3a;return(_0x2ff807<<_0xc476bb|_0x2ff807>>>0x20-_0xc476bb)+_0x466bb9;}function _0xb34aae(_0x46b67d,_0x2e86bf,_0x501021,_0x5aa75d,_0x40be07,_0x3a1d39,_0x54bc2b){var _0x4abfdb=_0x46b67d+(_0x2e86bf^_0x501021^_0x5aa75d)+_0x40be07+_0x54bc2b;return(_0x4abfdb<<_0x3a1d39|_0x4abfdb>>>0x20-_0x3a1d39)+_0x2e86bf;}function _0x5a7e6e(_0x30bed1,_0x270554,_0x11e315,_0x3c8b2b,_0x3679ad,_0x496aa9,_0x5a155f){var _0x35b991=_0x30bed1+(_0x11e315^(_0x270554|~_0x3c8b2b))+_0x3679ad+_0x5a155f;return(_0x35b991<<_0x496aa9|_0x35b991>>>0x20-_0x496aa9)+_0x270554;}_0x2c4782['MD5']=_0x5eb0c1[_0x46e6c4(0x3a3)](_0x3398f8),_0x2c4782[_0x46e6c4(0x392)]=_0x5eb0c1[_0x46e6c4(0x11e)](_0x3398f8);}(Math),_0x5bf9cf[_0x3e9fd6(0x3f3)];}));}(Gt)),Gt[_0x139e29(0x279)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x3a5465=_0x4e7919;return Qs||(Qs=0x1,function(_0x510843,_0x164530){(function(_0x16a5f7,_0x4353ca){const _0x191660=_0x5ed9;_0x510843[_0x191660(0x279)]=_0x4353ca(ue());}(Z,function(_0x53ad02){const _0x580046=_0x5ed9;return(function(){const _0x5dccee=_0x5ed9;var _0x2e0eed=_0x53ad02,_0x46219b=_0x2e0eed[_0x5dccee(0x24f)],_0x319969=_0x46219b[_0x5dccee(0x3e0)],_0xf72a55=_0x46219b['Hasher'],_0x6fe206=_0x2e0eed[_0x5dccee(0x2c0)],_0x5ec502=[],_0x515506=_0x6fe206[_0x5dccee(0xd4)]=_0xf72a55[_0x5dccee(0x3d3)]({'_doReset':function(){const _0x4348f1=_0x5dccee;this[_0x4348f1(0x339)]=new _0x319969[(_0x4348f1(0x251))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x374a56,_0xa27a7d){const _0x1100be=_0x5dccee;for(var _0x3a8e52=this[_0x1100be(0x339)][_0x1100be(0x10f)],_0x2d903c=_0x3a8e52[0x0],_0x421747=_0x3a8e52[0x1],_0x387623=_0x3a8e52[0x2],_0x279ffd=_0x3a8e52[0x3],_0x4b4704=_0x3a8e52[0x4],_0x132599=0x0;_0x132599<0x50;_0x132599++){if(_0x132599<0x10)_0x5ec502[_0x132599]=_0x374a56[_0xa27a7d+_0x132599]|0x0;else{var _0x270b3b=_0x5ec502[_0x132599-0x3]^_0x5ec502[_0x132599-0x8]^_0x5ec502[_0x132599-0xe]^_0x5ec502[_0x132599-0x10];_0x5ec502[_0x132599]=_0x270b3b<<0x1|_0x270b3b>>>0x1f;}var _0x17b276=(_0x2d903c<<0x5|_0x2d903c>>>0x1b)+_0x4b4704+_0x5ec502[_0x132599];_0x132599<0x14?_0x17b276+=(_0x421747&_0x387623|~_0x421747&_0x279ffd)+0x5a827999:_0x132599<0x28?_0x17b276+=(_0x421747^_0x387623^_0x279ffd)+0x6ed9eba1:_0x132599<0x3c?_0x17b276+=(_0x421747&_0x387623|_0x421747&_0x279ffd|_0x387623&_0x279ffd)-0x70e44324:_0x17b276+=(_0x421747^_0x387623^_0x279ffd)-0x359d3e2a,_0x4b4704=_0x279ffd,_0x279ffd=_0x387623,_0x387623=_0x421747<<0x1e|_0x421747>>>0x2,_0x421747=_0x2d903c,_0x2d903c=_0x17b276;}_0x3a8e52[0x0]=_0x3a8e52[0x0]+_0x2d903c|0x0,_0x3a8e52[0x1]=_0x3a8e52[0x1]+_0x421747|0x0,_0x3a8e52[0x2]=_0x3a8e52[0x2]+_0x387623|0x0,_0x3a8e52[0x3]=_0x3a8e52[0x3]+_0x279ffd|0x0,_0x3a8e52[0x4]=_0x3a8e52[0x4]+_0x4b4704|0x0;},'_doFinalize':function(){const _0x1bf0ac=_0x5dccee;var _0x412245=this[_0x1bf0ac(0x1ed)],_0x243306=_0x412245[_0x1bf0ac(0x10f)],_0x46d16d=this[_0x1bf0ac(0x428)]*0x8,_0x3c57cd=_0x412245[_0x1bf0ac(0x3bb)]*0x8;return _0x243306[_0x3c57cd>>>0x5]|=0x80<<0x18-_0x3c57cd%0x20,_0x243306[(_0x3c57cd+0x40>>>0x9<<0x4)+0xe]=Math[_0x1bf0ac(0x1be)](_0x46d16d/0x100000000),_0x243306[(_0x3c57cd+0x40>>>0x9<<0x4)+0xf]=_0x46d16d,_0x412245[_0x1bf0ac(0x3bb)]=_0x243306['length']*0x4,this[_0x1bf0ac(0x181)](),this['_hash'];},'clone':function(){const _0xc538d5=_0x5dccee;var _0x2e660e=_0xf72a55[_0xc538d5(0x2f5)][_0xc538d5(0x326)](this);return _0x2e660e[_0xc538d5(0x339)]=this[_0xc538d5(0x339)][_0xc538d5(0x2f5)](),_0x2e660e;}});_0x2e0eed['SHA1']=_0xf72a55['_createHelper'](_0x515506),_0x2e0eed['HmacSHA1']=_0xf72a55['_createHmacHelper'](_0x515506);}()),_0x53ad02[_0x580046(0xd4)];}));}(Kt)),Kt[_0x3a5465(0x279)];}var zt={'exports':{}},ei;function Ga(){const _0x5d41ec=_0x4e7919;return ei||(ei=0x1,function(_0x4663b4,_0x48e654){(function(_0x5bbee1,_0x339ab0){_0x4663b4['exports']=_0x339ab0(ue());}(Z,function(_0x4e1d8a){(function(){const _0x3ea72a=_0x5ed9;var _0x45449e=_0x4e1d8a,_0x3aa9fb=_0x45449e['lib'],_0x4f244a=_0x3aa9fb[_0x3ea72a(0x21e)],_0x1cce0e=_0x45449e[_0x3ea72a(0xc5)],_0x1d0df6=_0x1cce0e['Utf8'],_0x4ad0ff=_0x45449e[_0x3ea72a(0x2c0)];_0x4ad0ff[_0x3ea72a(0x394)]=_0x4f244a[_0x3ea72a(0x3d3)]({'init':function(_0x2af4b0,_0x2de934){const _0x880af0=_0x3ea72a;_0x2af4b0=this[_0x880af0(0x390)]=new _0x2af4b0[(_0x880af0(0x251))](),typeof _0x2de934==_0x880af0(0x216)&&(_0x2de934=_0x1d0df6[_0x880af0(0xdc)](_0x2de934));var _0x4ea867=_0x2af4b0[_0x880af0(0x44b)],_0x31058d=_0x4ea867*0x4;_0x2de934['sigBytes']>_0x31058d&&(_0x2de934=_0x2af4b0[_0x880af0(0x1d9)](_0x2de934)),_0x2de934[_0x880af0(0xdf)]();for(var _0x34d3fe=this[_0x880af0(0x1c0)]=_0x2de934[_0x880af0(0x2f5)](),_0x311d4f=this['_iKey']=_0x2de934['clone'](),_0x593dee=_0x34d3fe[_0x880af0(0x10f)],_0xf22929=_0x311d4f[_0x880af0(0x10f)],_0x2af0b1=0x0;_0x2af0b1<_0x4ea867;_0x2af0b1++)_0x593dee[_0x2af0b1]^=0x5c5c5c5c,_0xf22929[_0x2af0b1]^=0x36363636;_0x34d3fe['sigBytes']=_0x311d4f[_0x880af0(0x3bb)]=_0x31058d,this[_0x880af0(0x486)]();},'reset':function(){const _0x1d4fa7=_0x3ea72a;var _0x1abc4e=this[_0x1d4fa7(0x390)];_0x1abc4e[_0x1d4fa7(0x486)](),_0x1abc4e[_0x1d4fa7(0x3c1)](this['_iKey']);},'update':function(_0x33e9fd){const _0x3230d4=_0x3ea72a;return this[_0x3230d4(0x390)][_0x3230d4(0x3c1)](_0x33e9fd),this;},'finalize':function(_0x1c19b5){const _0x672d79=_0x3ea72a;var _0x4b8689=this[_0x672d79(0x390)],_0x5563a1=_0x4b8689[_0x672d79(0x1d9)](_0x1c19b5);_0x4b8689['reset']();var _0x3713e1=_0x4b8689[_0x672d79(0x1d9)](this[_0x672d79(0x1c0)][_0x672d79(0x2f5)]()[_0x672d79(0x24a)](_0x5563a1));return _0x3713e1;}});}());}));}(zt)),zt[_0x5d41ec(0x279)];}var ti;function Fi(){const _0x192677=_0x4e7919;return ti||(ti=0x1,function(_0x1dae0b,_0x368c90){(function(_0x3e5406,_0x431e0c,_0x5ab923){const _0x313497=_0x5ed9;_0x1dae0b[_0x313497(0x279)]=_0x431e0c(ue(),Va(),Ga());}(Z,function(_0x5cd4f7){const _0x4f9b77=_0x5ed9;return(function(){const _0x2b2511=_0x5ed9;var _0x5cd92d=_0x5cd4f7,_0x4f45d4=_0x5cd92d[_0x2b2511(0x24f)],_0x515c23=_0x4f45d4[_0x2b2511(0x21e)],_0x2ecf1d=_0x4f45d4[_0x2b2511(0x3e0)],_0x597e66=_0x5cd92d[_0x2b2511(0x2c0)],_0x34fa1c=_0x597e66[_0x2b2511(0x3f3)],_0x14a9a8=_0x597e66[_0x2b2511(0x45a)]=_0x515c23[_0x2b2511(0x3d3)]({'cfg':_0x515c23[_0x2b2511(0x3d3)]({'keySize':0x80/0x20,'hasher':_0x34fa1c,'iterations':0x1}),'init':function(_0x279370){const _0x5ad044=_0x2b2511;this[_0x5ad044(0x150)]=this['cfg'][_0x5ad044(0x3d3)](_0x279370);},'compute':function(_0x27d7fe,_0x22545d){const _0x1c1bf6=_0x2b2511;for(var _0x215664,_0x2a0e63=this['cfg'],_0x245574=_0x2a0e63[_0x1c1bf6(0x3eb)]['create'](),_0x2d79bb=_0x2ecf1d[_0x1c1bf6(0x447)](),_0x14fdca=_0x2d79bb[_0x1c1bf6(0x10f)],_0x54fdb3=_0x2a0e63[_0x1c1bf6(0x157)],_0x30c9b0=_0x2a0e63[_0x1c1bf6(0x29b)];_0x14fdca[_0x1c1bf6(0x126)]<_0x54fdb3;){_0x215664&&_0x245574[_0x1c1bf6(0x3c1)](_0x215664),_0x215664=_0x245574[_0x1c1bf6(0x3c1)](_0x27d7fe)[_0x1c1bf6(0x1d9)](_0x22545d),_0x245574[_0x1c1bf6(0x486)]();for(var _0xe7c238=0x1;_0xe7c238<_0x30c9b0;_0xe7c238++)_0x215664=_0x245574['finalize'](_0x215664),_0x245574[_0x1c1bf6(0x486)]();_0x2d79bb[_0x1c1bf6(0x24a)](_0x215664);}return _0x2d79bb['sigBytes']=_0x54fdb3*0x4,_0x2d79bb;}});_0x5cd92d['EvpKDF']=function(_0x95ce3a,_0x2ef351,_0x372082){const _0x3e71d4=_0x2b2511;return _0x14a9a8['create'](_0x372082)[_0x3e71d4(0x124)](_0x95ce3a,_0x2ef351);};}()),_0x5cd4f7[_0x4f9b77(0x45a)];}));}(Yt)),Yt[_0x192677(0x279)];}var qt={'exports':{}},si;function Vi(){const _0xf38521=_0x4e7919;return si||(si=0x1,function(_0x316690,_0x2a9cff){(function(_0x198d74,_0xfc1cc7,_0x25ce30){const _0x964111=_0x5ed9;_0x316690[_0x964111(0x279)]=_0xfc1cc7(ue(),Fi());}(Z,function(_0x4b3631){const _0x241fc3=_0x5ed9;_0x4b3631[_0x241fc3(0x24f)]['Cipher']||function(_0x301deb){const _0x401910=_0x241fc3;var _0x4a9760=_0x4b3631,_0x4ec537=_0x4a9760[_0x401910(0x24f)],_0x3ccafb=_0x4ec537[_0x401910(0x21e)],_0x2e786d=_0x4ec537['WordArray'],_0x1e2ecc=_0x4ec537[_0x401910(0x20b)],_0x3019a2=_0x4a9760[_0x401910(0xc5)];_0x3019a2[_0x401910(0x479)];var _0x351334=_0x3019a2[_0x401910(0x2e4)],_0x1d134f=_0x4a9760[_0x401910(0x2c0)],_0x22b8de=_0x1d134f[_0x401910(0x45a)],_0x5decfe=_0x4ec537[_0x401910(0x29e)]=_0x1e2ecc[_0x401910(0x3d3)]({'cfg':_0x3ccafb[_0x401910(0x3d3)](),'createEncryptor':function(_0x237839,_0x5bdc6){const _0x2baf49=_0x401910;return this[_0x2baf49(0x447)](this['_ENC_XFORM_MODE'],_0x237839,_0x5bdc6);},'createDecryptor':function(_0x98cc8a,_0x508b3c){const _0x4f62eb=_0x401910;return this[_0x4f62eb(0x447)](this['_DEC_XFORM_MODE'],_0x98cc8a,_0x508b3c);},'init':function(_0x4db08f,_0x31bf47,_0x370a5c){const _0x34ea48=_0x401910;this[_0x34ea48(0x150)]=this[_0x34ea48(0x150)][_0x34ea48(0x3d3)](_0x370a5c),this[_0x34ea48(0x274)]=_0x4db08f,this[_0x34ea48(0x33f)]=_0x31bf47,this[_0x34ea48(0x486)]();},'reset':function(){const _0x4f0f62=_0x401910;_0x1e2ecc[_0x4f0f62(0x486)]['call'](this),this[_0x4f0f62(0x374)]();},'process':function(_0x238b54){const _0xc9d0dd=_0x401910;return this[_0xc9d0dd(0x3d7)](_0x238b54),this[_0xc9d0dd(0x181)]();},'finalize':function(_0x5260e2){const _0x511169=_0x401910;_0x5260e2&&this[_0x511169(0x3d7)](_0x5260e2);var _0x3b1196=this['_doFinalize']();return _0x3b1196;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x43cc56(_0x52fe1a){return typeof _0x52fe1a=='string'?_0x6c0253:_0x4bfc83;}return function(_0x5d38d8){return{'encrypt':function(_0x4486df,_0x46dc24,_0x33516c){const _0xd19544=_0x5ed9;return _0x43cc56(_0x46dc24)[_0xd19544(0x188)](_0x5d38d8,_0x4486df,_0x46dc24,_0x33516c);},'decrypt':function(_0x7d6518,_0x46ab10,_0x59b945){const _0x3f210a=_0x5ed9;return _0x43cc56(_0x46ab10)[_0x3f210a(0x430)](_0x5d38d8,_0x7d6518,_0x46ab10,_0x59b945);}};};}())});_0x4ec537[_0x401910(0x112)]=_0x5decfe[_0x401910(0x3d3)]({'_doFinalize':function(){var _0x2deb48=this['_process'](!0x0);return _0x2deb48;},'blockSize':0x1});var _0x3f1a95=_0x4a9760[_0x401910(0x362)]={},_0x543ce6=_0x4ec537[_0x401910(0x448)]=_0x3ccafb[_0x401910(0x3d3)]({'createEncryptor':function(_0x3cfead,_0x288dc0){return this['Encryptor']['create'](_0x3cfead,_0x288dc0);},'createDecryptor':function(_0x30e500,_0x566457){const _0x276e8=_0x401910;return this['Decryptor'][_0x276e8(0x447)](_0x30e500,_0x566457);},'init':function(_0x4b6f70,_0x5752b9){const _0x51827d=_0x401910;this[_0x51827d(0x87)]=_0x4b6f70,this[_0x51827d(0x467)]=_0x5752b9;}}),_0x5975a3=_0x3f1a95[_0x401910(0x11d)]=(function(){const _0x236723=_0x401910;var _0x3772b7=_0x543ce6[_0x236723(0x3d3)]();_0x3772b7['Encryptor']=_0x3772b7['extend']({'processBlock':function(_0xcf465c,_0x1473ae){const _0x15bebe=_0x236723;var _0x9d9a1c=this[_0x15bebe(0x87)],_0x483a10=_0x9d9a1c['blockSize'];_0x174e87[_0x15bebe(0x326)](this,_0xcf465c,_0x1473ae,_0x483a10),_0x9d9a1c[_0x15bebe(0x360)](_0xcf465c,_0x1473ae),this[_0x15bebe(0x305)]=_0xcf465c['slice'](_0x1473ae,_0x1473ae+_0x483a10);}}),_0x3772b7['Decryptor']=_0x3772b7[_0x236723(0x3d3)]({'processBlock':function(_0x15be34,_0x12f753){const _0x5c7fa3=_0x236723;var _0x217873=this[_0x5c7fa3(0x87)],_0x339913=_0x217873[_0x5c7fa3(0x44b)],_0x3f5d43=_0x15be34[_0x5c7fa3(0x41b)](_0x12f753,_0x12f753+_0x339913);_0x217873[_0x5c7fa3(0x46c)](_0x15be34,_0x12f753),_0x174e87[_0x5c7fa3(0x326)](this,_0x15be34,_0x12f753,_0x339913),this[_0x5c7fa3(0x305)]=_0x3f5d43;}});function _0x174e87(_0x10feb6,_0x431939,_0x2e3331){const _0xb63f67=_0x236723;var _0x55bcc8,_0x4ccc7e=this['_iv'];_0x4ccc7e?(_0x55bcc8=_0x4ccc7e,this['_iv']=_0x301deb):_0x55bcc8=this[_0xb63f67(0x305)];for(var _0x403cec=0x0;_0x403cec<_0x2e3331;_0x403cec++)_0x10feb6[_0x431939+_0x403cec]^=_0x55bcc8[_0x403cec];}return _0x3772b7;}()),_0x52a37e=_0x4a9760[_0x401910(0x10b)]={},_0x4689d7=_0x52a37e['Pkcs7']={'pad':function(_0x119ffb,_0x262bc0){const _0x47c6f9=_0x401910;for(var _0x39ff75=_0x262bc0*0x4,_0x4fda1a=_0x39ff75-_0x119ffb['sigBytes']%_0x39ff75,_0x1287df=_0x4fda1a<<0x18|_0x4fda1a<<0x10|_0x4fda1a<<0x8|_0x4fda1a,_0x2544a1=[],_0x4b5fee=0x0;_0x4b5fee<_0x4fda1a;_0x4b5fee+=0x4)_0x2544a1[_0x47c6f9(0x209)](_0x1287df);var _0x1dac12=_0x2e786d[_0x47c6f9(0x447)](_0x2544a1,_0x4fda1a);_0x119ffb[_0x47c6f9(0x24a)](_0x1dac12);},'unpad':function(_0x2b1700){const _0x433e36=_0x401910;var _0x5e3858=_0x2b1700[_0x433e36(0x10f)][_0x2b1700[_0x433e36(0x3bb)]-0x1>>>0x2]&0xff;_0x2b1700[_0x433e36(0x3bb)]-=_0x5e3858;}};_0x4ec537[_0x401910(0x234)]=_0x5decfe['extend']({'cfg':_0x5decfe['cfg'][_0x401910(0x3d3)]({'mode':_0x5975a3,'padding':_0x4689d7}),'reset':function(){const _0x4c6ab4=_0x401910;var _0x12a162;_0x5decfe[_0x4c6ab4(0x486)]['call'](this);var _0x34d3c4=this[_0x4c6ab4(0x150)],_0x5d1d46=_0x34d3c4['iv'],_0x5e8c17=_0x34d3c4['mode'];this['_xformMode']==this[_0x4c6ab4(0x40e)]?_0x12a162=_0x5e8c17[_0x4c6ab4(0x39e)]:(_0x12a162=_0x5e8c17[_0x4c6ab4(0x160)],this[_0x4c6ab4(0x1d6)]=0x1),this[_0x4c6ab4(0x1ff)]&&this[_0x4c6ab4(0x1ff)][_0x4c6ab4(0x15a)]==_0x12a162?this[_0x4c6ab4(0x1ff)]['init'](this,_0x5d1d46&&_0x5d1d46['words']):(this[_0x4c6ab4(0x1ff)]=_0x12a162[_0x4c6ab4(0x326)](_0x5e8c17,this,_0x5d1d46&&_0x5d1d46['words']),this[_0x4c6ab4(0x1ff)]['__creator']=_0x12a162);},'_doProcessBlock':function(_0x186881,_0x1a99e0){const _0x5e3eea=_0x401910;this[_0x5e3eea(0x1ff)][_0x5e3eea(0x257)](_0x186881,_0x1a99e0);},'_doFinalize':function(){const _0x4e5acf=_0x401910;var _0x42f24b,_0x5d4f76=this[_0x4e5acf(0x150)]['padding'];return this['_xformMode']==this[_0x4e5acf(0x40e)]?(_0x5d4f76['pad'](this['_data'],this[_0x4e5acf(0x44b)]),_0x42f24b=this[_0x4e5acf(0x181)](!0x0)):(_0x42f24b=this['_process'](!0x0),_0x5d4f76[_0x4e5acf(0x287)](_0x42f24b)),_0x42f24b;},'blockSize':0x80/0x20});var _0x1f962f=_0x4ec537['CipherParams']=_0x3ccafb['extend']({'init':function(_0x15c2e3){const _0x2ea1e7=_0x401910;this[_0x2ea1e7(0x9d)](_0x15c2e3);},'toString':function(_0x580035){const _0x2da8d0=_0x401910;return(_0x580035||this[_0x2da8d0(0x23f)])[_0x2da8d0(0x47a)](this);}}),_0xb62bae=_0x4a9760[_0x401910(0x485)]={},_0x38abd8=_0xb62bae[_0x401910(0xd1)]={'stringify':function(_0x518668){const _0x1bef8c=_0x401910;var _0x5d67a9,_0x4f24bf=_0x518668[_0x1bef8c(0x255)],_0x42525b=_0x518668[_0x1bef8c(0x3f9)];return _0x42525b?_0x5d67a9=_0x2e786d[_0x1bef8c(0x447)]([0x53616c74,0x65645f5f])[_0x1bef8c(0x24a)](_0x42525b)[_0x1bef8c(0x24a)](_0x4f24bf):_0x5d67a9=_0x4f24bf,_0x5d67a9[_0x1bef8c(0x227)](_0x351334);},'parse':function(_0x52913d){const _0x3fae64=_0x401910;var _0x438dae,_0x466ae5=_0x351334[_0x3fae64(0xdc)](_0x52913d),_0x199b70=_0x466ae5['words'];return _0x199b70[0x0]==0x53616c74&&_0x199b70[0x1]==0x65645f5f&&(_0x438dae=_0x2e786d[_0x3fae64(0x447)](_0x199b70[_0x3fae64(0x41b)](0x2,0x4)),_0x199b70[_0x3fae64(0x3d9)](0x0,0x4),_0x466ae5[_0x3fae64(0x3bb)]-=0x10),_0x1f962f[_0x3fae64(0x447)]({'ciphertext':_0x466ae5,'salt':_0x438dae});}},_0x4bfc83=_0x4ec537[_0x401910(0x129)]=_0x3ccafb[_0x401910(0x3d3)]({'cfg':_0x3ccafb[_0x401910(0x3d3)]({'format':_0x38abd8}),'encrypt':function(_0x4f2ee5,_0x133e32,_0x42eb35,_0x5dd8bd){const _0x2fd68d=_0x401910;_0x5dd8bd=this[_0x2fd68d(0x150)][_0x2fd68d(0x3d3)](_0x5dd8bd);var _0x3ba993=_0x4f2ee5['createEncryptor'](_0x42eb35,_0x5dd8bd),_0x27d5c0=_0x3ba993[_0x2fd68d(0x1d9)](_0x133e32),_0x25f4b0=_0x3ba993[_0x2fd68d(0x150)];return _0x1f962f['create']({'ciphertext':_0x27d5c0,'key':_0x42eb35,'iv':_0x25f4b0['iv'],'algorithm':_0x4f2ee5,'mode':_0x25f4b0[_0x2fd68d(0x362)],'padding':_0x25f4b0['padding'],'blockSize':_0x4f2ee5[_0x2fd68d(0x44b)],'formatter':_0x5dd8bd[_0x2fd68d(0x485)]});},'decrypt':function(_0x2470ba,_0x5ddaad,_0x37c9fd,_0x1b7038){const _0x468970=_0x401910;_0x1b7038=this[_0x468970(0x150)][_0x468970(0x3d3)](_0x1b7038),_0x5ddaad=this[_0x468970(0x412)](_0x5ddaad,_0x1b7038[_0x468970(0x485)]);var _0x45ec0b=_0x2470ba[_0x468970(0x160)](_0x37c9fd,_0x1b7038)[_0x468970(0x1d9)](_0x5ddaad['ciphertext']);return _0x45ec0b;},'_parse':function(_0x12c234,_0x1ac32f){const _0x121db2=_0x401910;return typeof _0x12c234==_0x121db2(0x216)?_0x1ac32f[_0x121db2(0xdc)](_0x12c234,this):_0x12c234;}}),_0x6d1cd0=_0x4a9760[_0x401910(0x46b)]={},_0xd47263=_0x6d1cd0[_0x401910(0xd1)]={'execute':function(_0x23231c,_0x530f33,_0x17953a,_0x1ed985,_0x1af956){const _0x327c03=_0x401910;if(_0x1ed985||(_0x1ed985=_0x2e786d['random'](0x40/0x8)),_0x1af956)var _0x3a61dd=_0x22b8de[_0x327c03(0x447)]({'keySize':_0x530f33+_0x17953a,'hasher':_0x1af956})[_0x327c03(0x124)](_0x23231c,_0x1ed985);else var _0x3a61dd=_0x22b8de[_0x327c03(0x447)]({'keySize':_0x530f33+_0x17953a})[_0x327c03(0x124)](_0x23231c,_0x1ed985);var _0x5ab071=_0x2e786d[_0x327c03(0x447)](_0x3a61dd[_0x327c03(0x10f)][_0x327c03(0x41b)](_0x530f33),_0x17953a*0x4);return _0x3a61dd[_0x327c03(0x3bb)]=_0x530f33*0x4,_0x1f962f[_0x327c03(0x447)]({'key':_0x3a61dd,'iv':_0x5ab071,'salt':_0x1ed985});}},_0x6c0253=_0x4ec537[_0x401910(0x2d9)]=_0x4bfc83[_0x401910(0x3d3)]({'cfg':_0x4bfc83['cfg'][_0x401910(0x3d3)]({'kdf':_0xd47263}),'encrypt':function(_0x531c4e,_0x2a3568,_0x52461a,_0x82f526){const _0x1d0ad7=_0x401910;_0x82f526=this[_0x1d0ad7(0x150)][_0x1d0ad7(0x3d3)](_0x82f526);var _0x4de1bd=_0x82f526['kdf'][_0x1d0ad7(0x2b5)](_0x52461a,_0x531c4e[_0x1d0ad7(0x157)],_0x531c4e[_0x1d0ad7(0x19f)],_0x82f526['salt'],_0x82f526['hasher']);_0x82f526['iv']=_0x4de1bd['iv'];var _0x20f51c=_0x4bfc83[_0x1d0ad7(0x188)]['call'](this,_0x531c4e,_0x2a3568,_0x4de1bd[_0x1d0ad7(0x1a7)],_0x82f526);return _0x20f51c['mixIn'](_0x4de1bd),_0x20f51c;},'decrypt':function(_0x540276,_0x385aac,_0x55a1d3,_0x4ad085){const _0x47d0b8=_0x401910;_0x4ad085=this[_0x47d0b8(0x150)][_0x47d0b8(0x3d3)](_0x4ad085),_0x385aac=this[_0x47d0b8(0x412)](_0x385aac,_0x4ad085[_0x47d0b8(0x485)]);var _0x1b87ad=_0x4ad085[_0x47d0b8(0x46b)][_0x47d0b8(0x2b5)](_0x55a1d3,_0x540276[_0x47d0b8(0x157)],_0x540276[_0x47d0b8(0x19f)],_0x385aac['salt'],_0x4ad085[_0x47d0b8(0x3eb)]);_0x4ad085['iv']=_0x1b87ad['iv'];var _0x59dffe=_0x4bfc83[_0x47d0b8(0x430)][_0x47d0b8(0x326)](this,_0x540276,_0x385aac,_0x1b87ad[_0x47d0b8(0x1a7)],_0x4ad085);return _0x59dffe;}});}();}));}(qt)),qt[_0xf38521(0x279)];}(function(_0x25e113,_0x35851b){(function(_0x287f4a,_0x2595db,_0x3c16ce){const _0x109032=_0x5ed9;_0x25e113[_0x109032(0x279)]=_0x2595db(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x115911){const _0x1ca586=_0x5ed9;return(function(){const _0x410863=_0x5ed9;var _0x22da41=_0x115911,_0x4332a1=_0x22da41['lib'],_0x33f2d0=_0x4332a1[_0x410863(0x234)],_0x4c193f=_0x22da41['algo'],_0x2cf256=[],_0xb0585c=[],_0x30933a=[],_0x67c2da=[],_0x2ac4b1=[],_0x4b0724=[],_0x462def=[],_0x1308dc=[],_0x3b5710=[],_0x148a53=[];(function(){for(var _0x2fefa6=[],_0x397417=0x0;_0x397417<0x100;_0x397417++)_0x397417<0x80?_0x2fefa6[_0x397417]=_0x397417<<0x1:_0x2fefa6[_0x397417]=_0x397417<<0x1^0x11b;for(var _0x3525c9=0x0,_0x12d76=0x0,_0x397417=0x0;_0x397417<0x100;_0x397417++){var _0x45b3=_0x12d76^_0x12d76<<0x1^_0x12d76<<0x2^_0x12d76<<0x3^_0x12d76<<0x4;_0x45b3=_0x45b3>>>0x8^_0x45b3&0xff^0x63,_0x2cf256[_0x3525c9]=_0x45b3,_0xb0585c[_0x45b3]=_0x3525c9;var _0x5692f5=_0x2fefa6[_0x3525c9],_0x464837=_0x2fefa6[_0x5692f5],_0x4c5c54=_0x2fefa6[_0x464837],_0x369eb9=_0x2fefa6[_0x45b3]*0x101^_0x45b3*0x1010100;_0x30933a[_0x3525c9]=_0x369eb9<<0x18|_0x369eb9>>>0x8,_0x67c2da[_0x3525c9]=_0x369eb9<<0x10|_0x369eb9>>>0x10,_0x2ac4b1[_0x3525c9]=_0x369eb9<<0x8|_0x369eb9>>>0x18,_0x4b0724[_0x3525c9]=_0x369eb9;var _0x369eb9=_0x4c5c54*0x1010101^_0x464837*0x10001^_0x5692f5*0x101^_0x3525c9*0x1010100;_0x462def[_0x45b3]=_0x369eb9<<0x18|_0x369eb9>>>0x8,_0x1308dc[_0x45b3]=_0x369eb9<<0x10|_0x369eb9>>>0x10,_0x3b5710[_0x45b3]=_0x369eb9<<0x8|_0x369eb9>>>0x18,_0x148a53[_0x45b3]=_0x369eb9,_0x3525c9?(_0x3525c9=_0x5692f5^_0x2fefa6[_0x2fefa6[_0x2fefa6[_0x4c5c54^_0x5692f5]]],_0x12d76^=_0x2fefa6[_0x2fefa6[_0x12d76]]):_0x3525c9=_0x12d76=0x1;}}());var _0x297b8b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38e123=_0x4c193f[_0x410863(0x25f)]=_0x33f2d0[_0x410863(0x3d3)]({'_doReset':function(){const _0x548650=_0x410863;var _0x580d28;if(!(this['_nRounds']&&this[_0x548650(0x81)]===this['_key'])){for(var _0x2afccb=this[_0x548650(0x81)]=this[_0x548650(0x33f)],_0x44f407=_0x2afccb[_0x548650(0x10f)],_0x5537bc=_0x2afccb['sigBytes']/0x4,_0x3f0a4e=this[_0x548650(0xd0)]=_0x5537bc+0x6,_0xadab14=(_0x3f0a4e+0x1)*0x4,_0x4f9fc2=this[_0x548650(0x1a8)]=[],_0x3fb18f=0x0;_0x3fb18f<_0xadab14;_0x3fb18f++)_0x3fb18f<_0x5537bc?_0x4f9fc2[_0x3fb18f]=_0x44f407[_0x3fb18f]:(_0x580d28=_0x4f9fc2[_0x3fb18f-0x1],_0x3fb18f%_0x5537bc?_0x5537bc>0x6&&_0x3fb18f%_0x5537bc==0x4&&(_0x580d28=_0x2cf256[_0x580d28>>>0x18]<<0x18|_0x2cf256[_0x580d28>>>0x10&0xff]<<0x10|_0x2cf256[_0x580d28>>>0x8&0xff]<<0x8|_0x2cf256[_0x580d28&0xff]):(_0x580d28=_0x580d28<<0x8|_0x580d28>>>0x18,_0x580d28=_0x2cf256[_0x580d28>>>0x18]<<0x18|_0x2cf256[_0x580d28>>>0x10&0xff]<<0x10|_0x2cf256[_0x580d28>>>0x8&0xff]<<0x8|_0x2cf256[_0x580d28&0xff],_0x580d28^=_0x297b8b[_0x3fb18f/_0x5537bc|0x0]<<0x18),_0x4f9fc2[_0x3fb18f]=_0x4f9fc2[_0x3fb18f-_0x5537bc]^_0x580d28);for(var _0x234327=this[_0x548650(0x7f)]=[],_0x594466=0x0;_0x594466<_0xadab14;_0x594466++){var _0x3fb18f=_0xadab14-_0x594466;if(_0x594466%0x4)var _0x580d28=_0x4f9fc2[_0x3fb18f];else var _0x580d28=_0x4f9fc2[_0x3fb18f-0x4];_0x594466<0x4||_0x3fb18f<=0x4?_0x234327[_0x594466]=_0x580d28:_0x234327[_0x594466]=_0x462def[_0x2cf256[_0x580d28>>>0x18]]^_0x1308dc[_0x2cf256[_0x580d28>>>0x10&0xff]]^_0x3b5710[_0x2cf256[_0x580d28>>>0x8&0xff]]^_0x148a53[_0x2cf256[_0x580d28&0xff]];}}},'encryptBlock':function(_0x244b51,_0x24b363){const _0x1b19e9=_0x410863;this[_0x1b19e9(0x433)](_0x244b51,_0x24b363,this[_0x1b19e9(0x1a8)],_0x30933a,_0x67c2da,_0x2ac4b1,_0x4b0724,_0x2cf256);},'decryptBlock':function(_0x554d19,_0xd9a4b3){const _0x578e03=_0x410863;var _0x5b1441=_0x554d19[_0xd9a4b3+0x1];_0x554d19[_0xd9a4b3+0x1]=_0x554d19[_0xd9a4b3+0x3],_0x554d19[_0xd9a4b3+0x3]=_0x5b1441,this[_0x578e03(0x433)](_0x554d19,_0xd9a4b3,this[_0x578e03(0x7f)],_0x462def,_0x1308dc,_0x3b5710,_0x148a53,_0xb0585c);var _0x5b1441=_0x554d19[_0xd9a4b3+0x1];_0x554d19[_0xd9a4b3+0x1]=_0x554d19[_0xd9a4b3+0x3],_0x554d19[_0xd9a4b3+0x3]=_0x5b1441;},'_doCryptBlock':function(_0x1d0237,_0x24182a,_0x128cc5,_0x52556d,_0xfbb0c,_0x4dfbe3,_0x2695e0,_0x188438){const _0x46f9dd=_0x410863;for(var _0x21aecc=this[_0x46f9dd(0xd0)],_0x57f1d2=_0x1d0237[_0x24182a]^_0x128cc5[0x0],_0x25b065=_0x1d0237[_0x24182a+0x1]^_0x128cc5[0x1],_0x4e2096=_0x1d0237[_0x24182a+0x2]^_0x128cc5[0x2],_0x5d6039=_0x1d0237[_0x24182a+0x3]^_0x128cc5[0x3],_0x10f88d=0x4,_0x15cc18=0x1;_0x15cc18<_0x21aecc;_0x15cc18++){var _0x212e87=_0x52556d[_0x57f1d2>>>0x18]^_0xfbb0c[_0x25b065>>>0x10&0xff]^_0x4dfbe3[_0x4e2096>>>0x8&0xff]^_0x2695e0[_0x5d6039&0xff]^_0x128cc5[_0x10f88d++],_0x3fc560=_0x52556d[_0x25b065>>>0x18]^_0xfbb0c[_0x4e2096>>>0x10&0xff]^_0x4dfbe3[_0x5d6039>>>0x8&0xff]^_0x2695e0[_0x57f1d2&0xff]^_0x128cc5[_0x10f88d++],_0x2899a4=_0x52556d[_0x4e2096>>>0x18]^_0xfbb0c[_0x5d6039>>>0x10&0xff]^_0x4dfbe3[_0x57f1d2>>>0x8&0xff]^_0x2695e0[_0x25b065&0xff]^_0x128cc5[_0x10f88d++],_0x301a98=_0x52556d[_0x5d6039>>>0x18]^_0xfbb0c[_0x57f1d2>>>0x10&0xff]^_0x4dfbe3[_0x25b065>>>0x8&0xff]^_0x2695e0[_0x4e2096&0xff]^_0x128cc5[_0x10f88d++];_0x57f1d2=_0x212e87,_0x25b065=_0x3fc560,_0x4e2096=_0x2899a4,_0x5d6039=_0x301a98;}var _0x212e87=(_0x188438[_0x57f1d2>>>0x18]<<0x18|_0x188438[_0x25b065>>>0x10&0xff]<<0x10|_0x188438[_0x4e2096>>>0x8&0xff]<<0x8|_0x188438[_0x5d6039&0xff])^_0x128cc5[_0x10f88d++],_0x3fc560=(_0x188438[_0x25b065>>>0x18]<<0x18|_0x188438[_0x4e2096>>>0x10&0xff]<<0x10|_0x188438[_0x5d6039>>>0x8&0xff]<<0x8|_0x188438[_0x57f1d2&0xff])^_0x128cc5[_0x10f88d++],_0x2899a4=(_0x188438[_0x4e2096>>>0x18]<<0x18|_0x188438[_0x5d6039>>>0x10&0xff]<<0x10|_0x188438[_0x57f1d2>>>0x8&0xff]<<0x8|_0x188438[_0x25b065&0xff])^_0x128cc5[_0x10f88d++],_0x301a98=(_0x188438[_0x5d6039>>>0x18]<<0x18|_0x188438[_0x57f1d2>>>0x10&0xff]<<0x10|_0x188438[_0x25b065>>>0x8&0xff]<<0x8|_0x188438[_0x4e2096&0xff])^_0x128cc5[_0x10f88d++];_0x1d0237[_0x24182a]=_0x212e87,_0x1d0237[_0x24182a+0x1]=_0x3fc560,_0x1d0237[_0x24182a+0x2]=_0x2899a4,_0x1d0237[_0x24182a+0x3]=_0x301a98;},'keySize':0x100/0x20});_0x22da41['AES']=_0x33f2d0['_createHelper'](_0x38e123);}()),_0x115911[_0x1ca586(0x25f)];}));}(ki));var Ya=ki['exports'];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x117851,_0x3e82cb){(function(_0x2e87de,_0x44187f){const _0x125566=_0x5ed9;_0x117851[_0x125566(0x279)]=_0x44187f(ue());}(Z,function(_0x3ab2bc){const _0x5d0174=_0x5ed9;return _0x3ab2bc[_0x5d0174(0xc5)]['Utf8'];}));}(Gi));var qa=Gi[_0x4e7919(0x279)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x6e0154,_0x55e219){(function(_0xd85524,_0x19a803){const _0x4e1b66=_0x5ed9;_0x6e0154[_0x4e1b66(0x279)]=_0x19a803(ue());}(Z,function(_0x4c75e6){const _0x1f742c=_0x5ed9;return(function(){const _0x4ad9a5=_0x5ed9;if(typeof ArrayBuffer==_0x4ad9a5(0x389)){var _0x1dd597=_0x4c75e6,_0x236c64=_0x1dd597[_0x4ad9a5(0x24f)],_0x30780f=_0x236c64['WordArray'],_0x2d5360=_0x30780f[_0x4ad9a5(0x251)],_0x2730f0=_0x30780f['init']=function(_0x2742c6){const _0x3ae610=_0x4ad9a5;if(_0x2742c6 instanceof ArrayBuffer&&(_0x2742c6=new Uint8Array(_0x2742c6)),(_0x2742c6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2742c6 instanceof Uint8ClampedArray||_0x2742c6 instanceof Int16Array||_0x2742c6 instanceof Uint16Array||_0x2742c6 instanceof Int32Array||_0x2742c6 instanceof Uint32Array||_0x2742c6 instanceof Float32Array||_0x2742c6 instanceof Float64Array)&&(_0x2742c6=new Uint8Array(_0x2742c6['buffer'],_0x2742c6[_0x3ae610(0x190)],_0x2742c6[_0x3ae610(0x310)])),_0x2742c6 instanceof Uint8Array){for(var _0x371ab2=_0x2742c6[_0x3ae610(0x310)],_0x30d80a=[],_0x11cc8c=0x0;_0x11cc8c<_0x371ab2;_0x11cc8c++)_0x30d80a[_0x11cc8c>>>0x2]|=_0x2742c6[_0x11cc8c]<<0x18-_0x11cc8c%0x4*0x8;_0x2d5360['call'](this,_0x30d80a,_0x371ab2);}else _0x2d5360[_0x3ae610(0x2d7)](this,arguments);};_0x2730f0[_0x4ad9a5(0x208)]=_0x30780f;}}()),_0x4c75e6[_0x1f742c(0x24f)][_0x1f742c(0x3e0)];}));}(Yi));function _0x3f1c(){const _0x40230c=['equals','getRangePointData','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','path','message$','onCommandExecuted','/role','onMissedChangesetFetched','next','UNIVER_COLLABORATION_CLIENT_PLUGIN','_fetchMissChangesets','_initResize','className','_ENC_XFORM_MODE','complete','_scheduleCollaborationTimeoutTimer','snapshotServerUrl','_parse','_range','clear','univer-offline','YUUMI_UNABLE_LOAD_URL','onlineStatusIcon','closePath','_toggleOffline','_shapes','slice','_snapshotServerService','_createInitialStateImpl','SNAPSHOT_HAS_BEEN_REMOVED','getFocusedUnit','sendChangesetTimeout','replaceState','_getSheetObject','currentTheme$','_docTransformStateCacheService','randomUUID','getUnitId','HELLO','_nDataBytes','fillRule','_onJoinRoomEvent','1128FFDAOx','icon','_initCommandExecutedListener','filter','startTime','decrypt','blue400','...','_doCryptBlock','permission.content','getAllMembers','_localStorageService','\x0aCurrent:\x20','_config','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','arc','_exhaustRemoteChangesetQueue','moveTo','compose','replace','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_telemetryInfo','on-line-single','_handleHeartbeatEvent','_messageService','offline','_clearCollaborationTimeoutTimer','enableLocalCache','create','BlockCipherMode','newValue','objectType','blockSize','_acknowledgedAwaitingChangeset','currentColor','_sender','bottom','state','exhaustSavingTask','rev','OnLineSingle','withCredentials','onRemoteChangeset','UnitSnapshot','Error','_singleActiveUnitService','status','EvpKDF','contains','RemoveColCommandId','state$','getActiveSheet','setShapeProps','_transformRemoteChangesetByStateCache','#fff','29961rYSYey','PERMISSION_REJ','/allowed','__esModule','onSendChangeset','_iv','from','onlineStatusTitle','_unitID','kdf','decryptBlock','_state','_sendingTimer','origin','NO_OTHER_CLIENTS_EDITING','width','HttpExport','_createInitialState','_initEventListeners','put','4290803FrAHCt','endRow','/new_changes','Utf8','stringify','leaveEvent','\x20in\x20_schedule.','registerRenderModule','AUTHZ_URL_KEY','body','post','[PendingState]:\x20received\x20acknowledgement.','change$','UPDATE_CURSOR','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','format','reset','FAIL','563624szrwul','_socketReady','socket\x20close','_updateLocalCursor','COMPLETION_FINISHED','UNDEFINED','height','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','loadDoc','SNAPSHOT_SERVER_URL_KEY','session.collaboration-timeout','YUUMI_RATE_OVER_LIMIT','json','unshift','_initStatusListener','charCodeAt','_telemetryService','appendMutation','send','_transformPreviousActiveRange','177175OgpNjk','_invKeySchedule','_transformSelections','_keyPriorReset','Could\x20not\x20dynamically\x20require\x20\x22','_entityInit$','transformUndoRedo','pending','then','_cipher','onPointerLeave$','c1Prime','FETCH_MISS','unitID','_labelPosition','TEXT','image/png','FileId','collabStatus.fetchMiss','editingUnit','_refRangeService','text','getAncestorScale','UNKNOWN_CMD','BASE64','NOT_FOUND','default','popstate','&assign=','_getAPIPrefix','_clearScheduledTask','mixIn','awaiting_with_pending','objectID','liveShareOperation','setCurrentUser','_removeCollabCursors','_getLoginPath','UNIVER_PROJECT','range','_resendTimeout','TOO_MANY_REQUESTS','assignAColorForMemberID','MSG_FOR_ERROR','_waitCount','uni.network.url-service','number','[CollaborationSession]','_removeClearOtherTimer','roomInfos','disposeWithMe','with','transformByState','_redoStacks','[CollaborationSessionService]','_hovered','removeMember','history','save','cmd','_assignedColors','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_getUndoStack','svg','JOINING','[CollaborationSessionService]:\x20socket\x20error','dispose','_sessions','ERROR_EXCEED_SIZE','href','roles','enc','ranges','reject','_getSaveTimeout','_transformUndoRedoStack','m2Prime','14YesLZH','\x20-\x20','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','repeat','univer-pro.collaboration-client-socket-service','_nRounds','OpenSSL','_onFetchMissResult','permissionRejEvent','SHA1','subUnitId','close$','registerBeforeClose','LIVESHARE_TERMINATE','InsertRangeMoveRightCommandId','_beforeCloseService','_submitChangeset','parse','collab-text-range-','getImage','clamp','RECV','getItem','univer-online-status-title','batchAllowed','visibilityState','undoState','MoveRangeCommandId','_reverseMap','{fileID}','symbol','_urlService','_sendHeartbeatTimer','liveShareNewHost','joinRsp','downloadEndpointUrl','setParam','confirm','_getUploadFileURL','_awaitingChangeset','use','_heartbeatTimer','findNodePositionByCharIndex','rng','_collaborationSessionService','flatMap','_revisionService','CHANGESET_ACK','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','defIds','_getCtorByUniverType','357NknLJm','collabStatus.offline','_change$','skeleton','black','COMPRESS_MUTATION_APPLY','urlChange$','image/bmp','_collabSessionService','selections','x-univer-host','sessionStatus$','replaceDocRanges','pad','PERMISSION_DENIED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_id','words','_unlockTransition','enableSingleActiveInstanceLock','StreamCipher','_socket','reverse','_onUserLeave','close','_onCursorDelete','sheets','getRenderById','listRoles','workbook','fromCharCode','CBC','_createHmacHelper','_getMergeRange','/fetchmissing?from=','csAckEvent','executeCommand','_sheetSkeletonManagerService','compute','override','length','toRgbString','_handler','SerializableCipher','ENSURE_SNAPSHOT_EXECUTION','_getAnchorBounding','/universer-api/stream/file/upload','transformSelections','LICENSE_EXPORT_SIZE_EXCEEDED','[OfflineState]:\x20received\x20rejection.','charAt','Malformed\x20UTF-8\x20data','transformMutation','_hover','SNAPSHOT_URL_KEY','_docSyncEditingCollabCursorService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getCurrentSelections','currentSkeleton$','url','values','mutations','capture','HttpImport','defineProperty','_roomMembers$','MUTATION','APPLY_NON_SEQUENTIAL_REVISION','_onCombEvent','_syncEditingCollabCursorService','_unitStatus','getSkeleton','_cursor','searchParams','row','collaboration.closeRoom','_shouldReportTelemetry','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','__Key__','connection\x20error','encode','enableOfflineEditing','cfg','saveSnapshot','_syncEditingCollabCursor','_getCurrentRevision','_handleHover','unsubscribe','APPLY_PERMISSION_DENIED','keySize','redoState','displayName','__creator','_incrementRevisionNumber','_transformIMECache','dispose$','measureText','delete','createDecryptor','eventID','/resources','fetchThroughInterceptors','startsWith','_listenToOfflineEvent','transformChangesets','_disabled','encodeURIComponent','onTransformSelections','_permissionService','reduce','all','event$','get','msCrypto','_replaceFileID','registerHTTPInterceptor','_send','onRemoteRej','_getSendChangesetTimeout','_userManagerService','toLowerCase','_scheduleHeartbeat','baseRev','_scheduleSaving','_event$','updatePermissionPoint','clipPath','_memberService','_drawRectRange','setAlpha','asObservable','_process','_onConflict','HEARTBEAT_INTERVAL','getCollabEntity$','_getSnapshotAPIPrefix','fill','_members','encrypt','VIEW_MAIN','createSocket','onStarting','getTypeOfUnitDisposed$','url(#on-line-single_clip0_910_349)','getStateCache','_logService','byteOffset','13360jUOiJQ','_initRequestHeader','bind','getCollabEntity','type','LIVESHARE_FETCH_OPERATIONS','COLLAB_SUBMIT_CHANGESET_URL','?size=','NOT_COLLAB','$super','m1Prime','collab-rect-range-','getRandomValues','_socket$','ivSize','SNAPSHOT_INVALID_SNAPSHOT','hasOwnProperty','registerRefRange','onRemoteRetry','ws://127.0.0.1:8000/universer-api/comb/connect','red300','1em','key','_keySchedule','isArray','POST','NoPadding','target','_onMessage','_sendHeartbeat','sheetID','allowed','children','crypto','/universer-api/comb','getOffsetConfig','permission.title','OTHER_CLIENTS_EDITING','error$','LOGIN_URL_KEY','fetching\x20missing\x20changesets\x20from\x20','_backgroundColor','getDocRanges','_onRemoteRetry','getParam','floor','_saveTaskMap','_oKey','_online','_transformHistoryAndStateStack','saveChangeset','onPointerEnter$','evenodd','YUUMI_SUBSCRIPTION_NOT_FOUND','AWAITING_WITH_PENDING','_themeService','auth.needGotoLoginAlert','collaboration-client.config','_handleJoinEvent','onlineStatus','_clearOtherTimers','requestParams','status$','_doProcessBlock','setInterval','_clearTimeoutTimer','updateMember','roomMembers','csShouldRetryEvent','_minBufferSize','transformStack\x20failed!','_saveCache','finalize','FromArray','_cursorInfo$','Warning','getMergeData','_updateCollabCursors','_resendTimer','cursorInfo$','collab-client.tooltip.reconnect','joinEvent','_colorIndex','_injector','INVALID_ARGUMENT','onReady','indexOf','_HTTPService','getWorkbookSelections','objectActions','jsxs','cursorInfo','_data','onPointerMove$','column','selection','subscribe','_updateSubUnitFromURLParams','every','_configService','_retryCount','ref','setTimeout','_cursors','_loadDoc','fillText','addObjects','docStateChange$','_colorAssignService','collabStatus.syncing','_mode','submit\x20changeset\x20error!','getSheetId','[UniverCollaborationClientPlugin]','getCurrent','[OfflineState]:\x20received\x20acknowledgement.','_updateLocalCache','UPDATE_PERMISSION_OBJ','_lockTransition','prototype','push','memberID','BufferedBlockAlgorithm','_schedule','/block/','newCsEvent','univer-online-status','pipe','LICENSE_DISTRO_REJECTED','onTransformRemoteChangesetByStateCache','HEARTBEAT','transformMutationsWithChangeset','reconnect','string','getViewport','Hasher','fillStyle','_stopTelemetryCollaborationNewChangeset','forEach','1267218FDZmpL','textRanges','Base','_collabCursorState$','randomBytes','_status$','toggleOffline','UNKNOWN_CODE','_startCollaboration','UNIVER_SLIDE','_clearLocalCache','toString','clearTimeout','_getAPIPrefixPath','find','_unitOnClients','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationUndoRedoService]','collaboration-client.offline-data-not-saved','object','_listenToOnlineEvent','hide','_remoteChangesetQueue','/collaborator','BlockCipher','_socketMessageSubscription','debug','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_localeService','_onRemoteChangeset','getTime','onStateChange','_docSkeletonManagerService','abs','_drawAnchor','formatter','collabStatus.synced','activeSheet$','ALREADY_EXISTS','show','params','_clearHeartbeatTimer','enableAuthServer','saveOfflineData','_tryReconnect','_draw','concat','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','error','_applyRemoteChangeset','lib','reqId','init','_hideTimer','div','isPermissionRej','ciphertext','/-/object/-/batch_allowed','processBlock','_lastPointer','socket\x20open.','[CollaborationState]:\x20apply\x20error!','_removeRoom','_checkMissing','conflict.title','interceptor','AES','originalMeta','0\x200\x2016\x2016','_startDocCollabCursor','InsertColCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HEADER_MENU','UUID','_collaborationPaused','pauseCollaboration','&to=','SUBMIT_CHANGESET','color','_ensureSubject','unload','entries','now','_initUnitPermissionChange','_eventUnsubscribe','createCollaborator','_transformUndoredo','_xformMode','/universer-api/snapshot','/universer-api/file/{fileID}/sign-url','size','subscribeEvent','exports','_localCacheService','_collaborationController','_name','getTypeOfUnitAdded$','sid','_candidateSocket','_snapshotService','loadOfflineData','onTransformIME','_replayCachedMutations','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','colorChannel1','_sessionStatus$','unpad','collaboration_new_changeset','AWAITING','data','triggerDblclick','tag','_retryConnectingTimer','/unit/','ONLINE','_executeRemoteChangeset','startRow','_anchor','_pendingMutations','updateCursorEvent','code','_compressMutationService','has','_cursorShapes','_selfUnitIDs','_univerInstanceService','iterations','_entities','_throwTelemetryCollaborationNewChangeset','Cipher','UNIVER_SHEET','set','_cachedData','_docStateChangeManagerService','getConfig','collaMsg','CHANGESET_SHOULD_RETRY','top','_httpService','_transformStack','DeleteRangeMoveUpCommandId','_sheetTransformSelectionsService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformService','_createSocket','/object','_queuedRemoteChangesets','InsertRowCommandId','roomMembers$','defaultProps','RemoveRowCommandId','_onRemoteRejected','execute','univer-online','not_collab','resolve','UNRECOGNIZED','UNIVER_UNKNOWN','_docSkeleton','YUUMI_URL_COL_OUT_OF_RANGE','_transitionLocked','changesets','_onConnectionOpen','algo','font','_collabCursorController','getSheetBySheetId','retryConnectingInterval','_isPermissionRej','_commandService','UnitEmbedded','duration','createInstance','subunit','deepClone','_getSignURL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateStatus','none','fetchMissingChangesets','getVpScrollXYInfoByPosToVp','off-line-single','commentUpdateEvent','getCurrentUnitForType','unknown','_transformRemoteChangesetByIMECache','apply','getResourcesRequest','PasswordBasedCipher','updatePermissionObjEvent','_scene','add','Unknown\x20user','10vhpUDc','univerjs-icon\x20univerjs-icon-','461190idefZC','getUniverSheetInstance','join','onTransformRemoteChangesetByIMECache','Base64','ceil','_resendWithTimeout','_handleLeaveEvent','_map','M0\x200H16V16H0z','_tryEnsureSocket','round','/universer-api/authz','syncEditingCollabCursor','_createHandler','lineTo','SHOULD_CLOSE_CONN','synced','_changesetSessionId','CONNECTOR_DATA_TOO_LARGE','_http','clone','ERROR_IMAGE','getUndoRedoMutationParamsCache','IDLE','stopTime','save\x20fail\x20reason\x20is\x20','jiqing500','jsx','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','substring','_onLocalMutation','online','session.connection-failed','signUrlServerUrl','xlink:href','_setupBeforeClosingHandler','_prevBlock','_context','getUnitType','onMissingChangesets','transformRemoteChangeset','/-/object/list','\x20to\x20','disableLocalCache','pluginName','fetch_missing','[SyncedState]:\x20received\x20rejection.','byteLength','onload','setStateCache','_onUserJoin','getCollabCursors$','addEventListener','_undoRedoService','catch','[SyncedState]:\x20received\x20acknowledgement.','whenReady','_initMergeInterceptor','idSuffix','setWaitCount','getUnitStatus$','SEND_CHANGESET_TIMEOUT','_clearRedo','_collaborationTimeoutTimer','sin','setUndoRedoMutationParamsCache','Error\x20on\x20receiving\x20event','getMember','/object/','call','_type','InsertRangeMoveDownCommandId','random','_instanceService','registerComponent','isEditing','[FetchMissState]','map','getInterceptPoints','react.fragment','APPLY_DUPLICATED','image/jpg','assign','LIVESHARE_OPERATION','_anchorDot','session','_scheduleTimestamp','result','_hash','getOwnPropertySymbols','pushState','_initCloseConn','split','LIVESHARE_REQUEST_HOST','_key','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_loadSheet','userID','rgba(255,\x20255,\x20255,\x200.01)','getCurrentRevOfUnit','_decreaseWaiting','focused$','responseType','USERS_LEAVE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_scheduleClearOtherTimer','generateRandomId','collabStatus.conflict','_onRemoteACK','_render','_startTelemetryCollaborationNewChangeset','_init','_color','collaboration-session-retry','off-line-single_clip0_910_343','setItem','closeSession','transformIMECache','updateOfflineData','getValue','_updateURLWithCurrentState','LIVESHARE_NEW_HOST','addObject','_substituteUndoStack','collaboratorID','_ws','onMouseMove','encryptBlock','trim','mode','_notificationService','includes','getSheetBlock','JOIN','actions','authzUrl','SUCCUSS','[DataLoaderController]','react.element','DEFAULT_FILE_NAME','setShowComponents','_commentService','_onCursorUpdate','_renderManagerService','headers','hidden','gold400','_doReset','LICENSE_IMPORT_SIZE_EXCEEDED','_roomMembers','copyFileMeta','COMMENT_UPDATE','loadSheet','sessionStatus','onSyncEditingCollabCursor','objects','_initStatusComponent','_startSheetCollabCursor','restore','getLatestCsReqIdBySid','_timeoutTimer','failed\x20to\x20apply\x20missed\x20changesets!','NEW_CHANGESETS','max','initWorkbookPermissionChange','requireSession','SYNCED','[OfflineState]:\x20received\x20changeset.','function','image/jpeg','defs','resend','registerOnClose','RETRY_CONNECTING_MAX_COUNT','Univer','_hasher','LOCAL_CACHE_INTERVAL','HmacMD5','_registerDependencies','HMAC','_setupSubUnitSync','startColumn','INTERNAL_ERROR','awaitingChangeset','csRejEvent','\x0aAfter:\x20','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','transformStateCache','open$','createEncryptor','refreshPermission','_transformStateCache','hovered','min','_createHelper','method','on-line-single_clip0_910_349','hostname','CHANGESET_REVISION_CONFILICT','_textBubble','getOwnPropertyDescriptor','PENDING','_refreshCollabCursors','OffLineSingle','_commentUpdate$','[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.','_waitForHeartbeatResponse','_docTransformSelectionsService','toggleOnline','commentUpdate$','isActive','_getRedoStack','_docTransformIMECacheService','saveSheetBlock','DeleteRangeMoveLeftCommandId','doc.mutation.rich-text-editing','0\x200\x2017\x2016','_changesetReqId','sigBytes','uploadFileServerUrl','_clearUndo','UNAUTHENTICATED','revision','PSEUDO_FETCH_MISSING_RESULT','update','_onRecvEvent','attrs','getCurrentUser','clearInterval','CHANGESET_REJ','ACTIVE_UNIT_EVENT_CHANNEL','_drawTextRange','APPLY_REVISION_CONFILICT','UNIVER_DOC','conflict','_rescheduleHeartbeat','getMemberID','getRelativeToViewportCoord','_showConflictNotification','Hex','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_toggleOnline','extend','_updateState','collabSubmitChangesetUrl','_registerRenderDependencies','_append','CONFLICT','splice','infoRsp','_onConnectionFailed','Latin1','_state$','_onRefRangeChange','name','WordArray','collaborators','_session','readInt32LE','append','USERS_ENTER','INGEST','unitId','UniverIcon','location','LEAVE','hasher','backgroundColor','routeKey','_uiPartsService','_joinRoom','_getScale','FETCH_MISSING','drawWith','MD5','OFFLINE','RECT','/universer-api/oidc/authpage','_imageSourceCache','Undefined','salt','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','onRemoteAck','unit','onTransformState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onCommentUpdate','_substituteRedoStack'];_0x3f1c=function(){return _0x40230c;};return _0x3f1c();}var Ja=Yi[_0x4e7919(0x279)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x1ae468,_0x21ce08){(function(_0x46c892,_0xae9e68,_0x3a6fa9){const _0x50ab58=_0x5ed9;_0x1ae468[_0x50ab58(0x279)]=_0xae9e68(ue(),Vi());}(Z,function(_0x3d6ad8){const _0x555010=_0x5ed9;return _0x3d6ad8[_0x555010(0x10b)][_0x555010(0x1ab)]={'pad':function(){},'unpad':function(){}},_0x3d6ad8[_0x555010(0x10b)][_0x555010(0x1ab)];}));}(Ki));var Qa=Ki[_0x4e7919(0x279)];const ec=at(Qa);function tc(_0x4c95d4,_0x2536d6){const _0x4955d4=_0x4e7919,_0x2050ab=_0x2536d6-_0x4c95d4[_0x4955d4(0x126)]%_0x2536d6,_0x7133b5=String[_0x4955d4(0x11c)](_0x2050ab)[_0x4955d4(0xce)](_0x2050ab);return _0x4c95d4+_0x7133b5;}function sc(_0x57b908,_0x54589c){const _0x48b209=_0x4e7919,_0x6c6962=Za[_0x48b209(0x329)](0x10),_0x44f483=tc(_0x57b908,0x10),_0x229408=Ka[_0x48b209(0x188)](Xa['parse'](_0x44f483),ii['parse'](_0x54589c),{'iv':_0x6c6962,'padding':ec});return _0x6c6962['concat'](_0x229408[_0x48b209(0x255)])[_0x48b209(0x227)](ii);}function ic(){const _0x18ceaf=_0x4e7919,_0x5ae601=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x18ceaf(0x14c)];if(_0x5ae601){const _0x3cabd1={'time':Math[_0x18ceaf(0x1be)](Date[_0x18ceaf(0x26f)]()/0x3e8),'domain':location[_0x18ceaf(0x3a6)]};return sc(JSON[_0x18ceaf(0x47a)](_0x3cabd1),_0x5ae601);}}var nc=Object[_0x4e7919(0x13e)],rc=Object['getOwnPropertyDescriptor'],oc=(_0x381091,_0x40d18e,_0x44bd59,_0x3354aa)=>{for(var _0x2517ff=_0x3354aa>0x1?void 0x0:_0x3354aa?rc(_0x40d18e,_0x44bd59):_0x40d18e,_0x2cb450=_0x381091['length']-0x1,_0x2b08c8;_0x2cb450>=0x0;_0x2cb450--)(_0x2b08c8=_0x381091[_0x2cb450])&&(_0x2517ff=(_0x3354aa?_0x2b08c8(_0x40d18e,_0x44bd59,_0x2517ff):_0x2b08c8(_0x2517ff))||_0x2517ff);return _0x3354aa&&_0x2517ff&&nc(_0x40d18e,_0x44bd59,_0x2517ff),_0x2517ff;},ac=(_0x59b458,_0x3c0f9f)=>(_0x53ad8c,_0x2ccd5c)=>_0x3c0f9f(_0x53ad8c,_0x2ccd5c,_0x59b458);let bt=class{constructor(_0x58729f){const _0x2d61fc=_0x4e7919;this['_httpService']=_0x58729f,this[_0x2d61fc(0x192)]();}[_0x4e7919(0x192)](){const _0x591442=_0x4e7919;this['_httpService'][_0x591442(0x171)]({'interceptor':(_0x1c98a7,_0x2fa61f)=>{const _0x5258b5=_0x591442,_0x4e7895=_0x1c98a7[_0x5258b5(0x371)],_0x4292eb=ic();return _0x4292eb&&_0x4e7895[_0x5258b5(0x2a0)](_0x5258b5(0x108),_0x4292eb),_0x2fa61f(_0x1c98a7);}});}};bt=oc([ac(0x0,_0x557b7a(_0x55adc1))],bt);var cc=Object['defineProperty'],hc=Object['getOwnPropertyDescriptor'],lc=(_0x1c88dc,_0x4519db,_0x25799f,_0x4069db)=>{const _0x453085=_0x4e7919;for(var _0x5d8383=_0x4069db>0x1?void 0x0:_0x4069db?hc(_0x4519db,_0x25799f):_0x4519db,_0x2fc8ab=_0x1c88dc[_0x453085(0x126)]-0x1,_0x31da09;_0x2fc8ab>=0x0;_0x2fc8ab--)(_0x31da09=_0x1c88dc[_0x2fc8ab])&&(_0x5d8383=(_0x4069db?_0x31da09(_0x4519db,_0x25799f,_0x5d8383):_0x31da09(_0x5d8383))||_0x5d8383);return _0x4069db&&_0x5d8383&&cc(_0x4519db,_0x25799f,_0x5d8383),_0x5d8383;},Xt=(_0x8979a7,_0x328897)=>(_0x559b77,_0x2fd2a9)=>_0x328897(_0x559b77,_0x2fd2a9,_0x8979a7);const _c=[_0x4e7919(0x8e),_0x4e7919(0x38a),_0x4e7919(0x332),'image/gif',_0x4e7919(0x105)],uc=0x5*0x400*0x400,dc=_0x4e7919(0x237),fc=_0x4e7919(0x12c),vc=_0x4e7919(0x10d),mc=_0x4e7919(0x276);let hs=class{constructor(_0x495f9a,_0x4a31b2,_0x1b120c){const _0x537007=_0x4e7919;g(this,_0x537007(0xaa),0x0),g(this,_0x537007(0x100),new _0x7a1bd7()),g(this,_0x537007(0x482),this['_change$']),g(this,'_imageSourceCache',new Map()),(this[_0x537007(0x2a7)]=_0x495f9a,this[_0x537007(0x1f4)]=_0x4a31b2,this[_0x537007(0x29a)]=_0x1b120c);}[_0x4e7919(0x31c)](_0x7c1e3a){const _0x10d06e=_0x4e7919;this[_0x10d06e(0xaa)]=_0x7c1e3a,this['_change$'][_0x10d06e(0x409)](_0x7c1e3a);}['getImageSourceCache'](_0x9be56f,_0x298f0b){const _0xaa76ec=_0x4e7919;if(_0x298f0b===_0x16cd67[_0xaa76ec(0x96)]){const _0x3fe660=new Image();return _0x3fe660['src']=_0x9be56f,_0x3fe660;}return this[_0xaa76ec(0x3f7)][_0xaa76ec(0x16e)](_0x9be56f);}['addImageSourceCache'](_0x4e2564,_0x284c05,_0x3d3b78){const _0x47f6f0=_0x4e7919;_0x284c05===_0x16cd67[_0x47f6f0(0x96)]||_0x3d3b78==null||this[_0x47f6f0(0x3f7)]['set'](_0x4e2564,_0x3d3b78);}async[_0x4e7919(0xde)](_0x3a24ab){const _0x38231a=_0x4e7919;try{const _0xa93812=this[_0x38231a(0x170)](this['_getSignURL'](),''+_0x3a24ab),_0x586d33=(await this[_0x38231a(0x2a7)]['get'](_0xa93812))[_0x38231a(0x47f)];if(_0x586d33[_0x38231a(0x24d)]&&_0x586d33[_0x38231a(0x24d)][_0x38231a(0x295)]===Ri['OK']){const _0x534801=new URL(_0x586d33['url'],this['_getDownloadEndpointURL']())[_0x38231a(0x227)]();return Promise[_0x38231a(0x2b8)](_0x534801);}return Promise[_0x38231a(0xc7)](_0x586d33[_0x38231a(0x24d)]);}catch(_0x48a5e6){return Promise[_0x38231a(0xc7)](_0x48a5e6);}}async['saveImage'](_0x4ee31e){const _0x441bef=_0x4e7919;let _0x29d3bc='';if(!_c[_0x441bef(0x364)](_0x4ee31e['type']))return this['_decreaseWaiting'](),Promise[_0x441bef(0xc7)](new Error(_0x890ba8['ERROR_IMAGE_TYPE']));if(_0x4ee31e[_0x441bef(0x277)]>uc)return this[_0x441bef(0x345)](),Promise[_0x441bef(0xc7)](new Error(_0x890ba8[_0x441bef(0xc2)]));try{const _0x3485d4=new FormData();_0x3485d4[_0x441bef(0x3e4)]('file',_0x4ee31e);const _0x396905=this[_0x441bef(0x29a)][_0x441bef(0x41f)](),_0x25bcd2=_0x396905==null?void 0x0:_0x396905[_0x441bef(0x426)]();if(!_0x25bcd2)throw new Error('unitId\x20is\x20not\x20found');const _0xa9f3fc=this[_0x441bef(0xf1)]()+_0x441bef(0x198)+_0x4ee31e['size'][_0x441bef(0x227)]()+'&source='+yi['UnitEmbedded']+_0x441bef(0x9a)+encodeURIComponent(_0x25bcd2),_0x53065d=await(await fetch(_0xa9f3fc,{'method':_0x441bef(0x1aa),'body':_0x3485d4}))[_0x441bef(0x494)]();if(typeof _0x53065d[_0x441bef(0x8f)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x890ba8[_0x441bef(0x2f6)]));_0x29d3bc=_0x53065d[_0x441bef(0x8f)];}catch{return this[_0x441bef(0x345)](),Promise[_0x441bef(0xc7)](new Error(_0x890ba8[_0x441bef(0x2f6)]));}return new Promise((_0x5170e6,_0x495b53)=>{const _0x4f13b1=_0x441bef,_0x5b700a=new FileReader();_0x5b700a['readAsDataURL'](_0x4ee31e),_0x5b700a[_0x4f13b1(0x311)]=_0x51410=>{const _0x46a400=_0x4f13b1;var _0xf2f00;const _0x14c249=(_0xf2f00=_0x51410[_0x46a400(0x1ac)])==null?void 0x0:_0xf2f00[_0x46a400(0x338)];if(_0x14c249==null){this[_0x46a400(0x345)](),_0x495b53(new Error(_0x890ba8[_0x46a400(0x2f6)]));return;}const _0x43ba47=_0x162500[_0x46a400(0x34b)](0x6);_0x5170e6({'imageId':_0x43ba47,'imageSourceType':_0x16cd67[_0x46a400(0x266)],'source':_0x29d3bc,'base64Cache':_0x14c249,'status':_0x890ba8[_0x46a400(0x369)]}),this[_0x46a400(0x345)]();};});}[_0x4e7919(0xf1)](){const _0x4eaf55=_0x4e7919;var _0x7ae53c,_0x3e56de;const _0x3afcf9=this['_configService'][_0x4eaf55(0x2a3)](dc),_0x1c8054=this[_0x4eaf55(0x1f4)][_0x4eaf55(0x2a3)](ie);return(_0x3e56de=(_0x7ae53c=_0x1c8054==null?void 0x0:_0x1c8054[_0x4eaf55(0x3bc)])!=null?_0x7ae53c:_0x3afcf9)!=null?_0x3e56de:fc;}[_0x4e7919(0x2cc)](){const _0x357eb6=_0x4e7919;var _0x331bdf,_0xc6591;const _0x16ee44=this[_0x357eb6(0x1f4)][_0x357eb6(0x2a3)](vc),_0x3eb690=this[_0x357eb6(0x1f4)][_0x357eb6(0x2a3)](ie);return(_0xc6591=(_0x331bdf=_0x3eb690==null?void 0x0:_0x3eb690[_0x357eb6(0x302)])!=null?_0x331bdf:_0x16ee44)!=null?_0xc6591:mc;}['_getDownloadEndpointURL'](){const _0x38c5ad=_0x4e7919;var _0x598802;const _0x1fbe28=this['_configService'][_0x38c5ad(0x2a3)](ie);return(_0x598802=_0x1fbe28==null?void 0x0:_0x1fbe28[_0x38c5ad(0xee)])!=null?_0x598802:location[_0x38c5ad(0x46f)];}['_replaceFileID'](_0x1d3554,_0x447484){const _0x57aafe=_0x4e7919;return _0x1d3554['replace'](_0x57aafe(0xe8),_0x447484);}[_0x4e7919(0x345)](){const _0x40cc7d=_0x4e7919;this[_0x40cc7d(0xaa)]-=0x1,this[_0x40cc7d(0x100)][_0x40cc7d(0x409)](this[_0x40cc7d(0xaa)]);}};hs=lc([Xt(0x0,_0x557b7a(_0x55adc1)),Xt(0x1,_0x88f14),Xt(0x2,_0x557b7a(_0x5e27bc))],hs);var pc=Object[_0x4e7919(0x13e)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x5e9e0d,_0x17d949,_0x40fffe,_0x501bae)=>{const _0x203f78=_0x4e7919;for(var _0x4b3f9b=_0x501bae>0x1?void 0x0:_0x501bae?gc(_0x17d949,_0x40fffe):_0x17d949,_0x73a709=_0x5e9e0d[_0x203f78(0x126)]-0x1,_0x5d53d6;_0x73a709>=0x0;_0x73a709--)(_0x5d53d6=_0x5e9e0d[_0x73a709])&&(_0x4b3f9b=(_0x501bae?_0x5d53d6(_0x17d949,_0x40fffe,_0x4b3f9b):_0x5d53d6(_0x4b3f9b))||_0x4b3f9b);return _0x501bae&&_0x4b3f9b&&pc(_0x17d949,_0x40fffe,_0x4b3f9b),_0x4b3f9b;},Qe=(_0x1945bc,_0x5afed2)=>(_0x50704f,_0x5f13c7)=>_0x5afed2(_0x50704f,_0x5f13c7,_0x1945bc);let Tt=class extends _0x15900e{constructor(_0x2d3503,_0x25d901,_0x2b0250,_0x584405,_0xa2c656){const _0x52da8f=_0x4e7919;super(),this['_injector']=_0x2d3503,this[_0x52da8f(0x29a)]=_0x25d901,this[_0x52da8f(0x16a)]=_0x2b0250,this[_0x52da8f(0xf7)]=_0x584405,this[_0x52da8f(0x238)]=_0xa2c656,this[_0x52da8f(0x270)](),this[_0x52da8f(0x33c)]();}[_0x4e7919(0x33c)](){const _0x8d32c7=_0x4e7919,_0x120849=async _0x1a950b=>{const _0x1f999e=_0x5ed9;(await this[_0x1f999e(0xf7)][_0x1f999e(0x386)](_0x1a950b))[_0x1f999e(0x16d)][_0x1f999e(0x210)](_0x27f80a(_0x34b985=>_0x34b985[_0x1f999e(0x161)]===_0xb7e982[_0x1f999e(0x2f0)]),_0xcb8c8d(this[_0x1f999e(0x15d)]))[_0x1f999e(0x1f1)](_0x255c1c=>{const _0x19d3df=_0x1f999e,_0x1ebe9b=_0x255c1c,{reason:_0x2bf51f}=_0x1ebe9b[_0x19d3df(0x28a)];this[_0x19d3df(0x1e4)][_0x19d3df(0x16e)](_0x4e3214)[_0x19d3df(0x243)]({'type':_0x302b10[_0x19d3df(0x457)],'content':this['_localeService']['t'](_0x19d3df(0x149))+'('+_0x2bf51f+')'}),this[_0x19d3df(0x16a)][_0x19d3df(0x17b)](new _0x32a62a(_0x1a950b)['id'],!0x1),this[_0x19d3df(0xf7)][_0x19d3df(0x355)](_0x1a950b);});};_0x365701(this[_0x8d32c7(0x29a)][_0x8d32c7(0x27d)](_0x470972[_0x8d32c7(0x29f)]),this[_0x8d32c7(0x29a)]['getTypeOfUnitAdded$'](_0x470972[_0x8d32c7(0x3ca)]))[_0x8d32c7(0x210)](_0x1a1a5b(_0x2c0a04=>_0x2c0a04['getUnitId']()),_0x27f80a(_0x52bfaf=>!_0x55b28a(_0x52bfaf)),_0xcb8c8d(this[_0x8d32c7(0x15d)]))['subscribe'](_0xfe8642=>{_0x120849(_0xfe8642);});}[_0x4e7919(0x270)](){const _0x2a962a=_0x4e7919,_0x15071c=async _0x42c86f=>{const _0x5d8184=_0x5ed9;(await this[_0x5d8184(0xf7)][_0x5d8184(0x386)](_0x42c86f))[_0x5d8184(0x16d)][_0x5d8184(0x210)](_0x27f80a(_0x11d4d6=>_0x11d4d6[_0x5d8184(0x161)]===_0xb7e982['UPDATE_PERMISSION_OBJ']),_0xcb8c8d(this[_0x5d8184(0x15d)]))['subscribe'](_0x2c71f3=>{const _0x2bf552=_0x5d8184,_0x3ea4c5=_0x2c71f3,{objectId:_0xf41c60}=_0x3ea4c5[_0x2bf552(0x28a)],_0x2ec0b1=this[_0x2bf552(0x1e4)][_0x2bf552(0x16e)](_0x10dd90);_0xf41c60===_0x42c86f?_0x2ec0b1[_0x2bf552(0x385)](_0x42c86f):_0x2ec0b1[_0x2bf552(0x39f)](_0x42c86f,_0xf41c60);});};_0x365701(this['_univerInstanceService'][_0x2a962a(0x27d)](_0x470972[_0x2a962a(0x29f)]),this['_univerInstanceService'][_0x2a962a(0x27d)](_0x470972[_0x2a962a(0x3ca)]))[_0x2a962a(0x210)](_0x1a1a5b(_0x5d4c5c=>_0x5d4c5c[_0x2a962a(0x426)]()),_0x27f80a(_0x5070a7=>!_0x55b28a(_0x5070a7)),_0xcb8c8d(this[_0x2a962a(0x15d)]))[_0x2a962a(0x1f1)](_0x16aa0f=>{_0x15071c(_0x16aa0f);});}};Tt=Sc([Qe(0x0,_0x557b7a(_0x5a5437)),Qe(0x1,_0x5e27bc),Qe(0x2,_0x4f30d5),Qe(0x3,_0x557b7a(Ae)),Qe(0x4,_0x557b7a(_0x5e134c))],Tt);var Ic=Object['defineProperty'],Cc=Object[_0x4e7919(0x3a9)],Ec=(_0x34a2b5,_0x1dc6d3,_0x4e3882,_0x573043)=>{const _0x4e5602=_0x4e7919;for(var _0x275358=_0x573043>0x1?void 0x0:_0x573043?Cc(_0x1dc6d3,_0x4e3882):_0x1dc6d3,_0xaf8260=_0x34a2b5[_0x4e5602(0x126)]-0x1,_0x59c1ca;_0xaf8260>=0x0;_0xaf8260--)(_0x59c1ca=_0x34a2b5[_0xaf8260])&&(_0x275358=(_0x573043?_0x59c1ca(_0x1dc6d3,_0x4e3882,_0x275358):_0x59c1ca(_0x275358))||_0x275358);return _0x573043&&_0x275358&&Ic(_0x1dc6d3,_0x4e3882,_0x275358),_0x275358;},ni=(_0x459f80,_0x3ea3a2)=>(_0x50c2f0,_0x12cdd0)=>_0x3ea3a2(_0x50c2f0,_0x12cdd0,_0x459f80);let ls=class{constructor(_0x41ac35,_0x427eb0){const _0x3c2224=_0x4e7919;this[_0x3c2224(0x1f4)]=_0x41ac35,this[_0x3c2224(0x2a7)]=_0x427eb0;}async['getUnitOnRev'](_0x292bc2,_0x12eac5){const _0x140158=_0x4e7919;var _0x15257a;const {unitID:_0x317602,type:_0x35da18,revision:_0x188e85=0x0}=_0x12eac5,_0x241abb=this[_0x140158(0x185)]()+'/'+_0x35da18+_0x140158(0x28e)+_0x317602+'/rev/'+_0x188e85,_0x330a13=(await this[_0x140158(0x2a7)][_0x140158(0x16e)](_0x241abb))['body'],_0x11e2fc=(_0x15257a=_0x330a13['snapshot'])==null?void 0x0:_0x15257a[_0x140158(0x11b)];if(_0x11e2fc){const _0x46e56f=_0x11e2fc==null?void 0x0:_0x11e2fc[_0x140158(0x260)],_0x55997e=_0x2f80e5[_0x140158(0x14e)](_0x51acde(_0x46e56f));_0x11e2fc['originalMeta']=_0x55997e,Object[_0x140158(0x26e)](_0x11e2fc[_0x140158(0x118)])['forEach'](([,_0x572403])=>{const _0x292db0=_0x140158,_0x51d35c=_0x572403['originalMeta'],_0x4693a3=_0x2f80e5[_0x292db0(0x14e)](_0x51acde(_0x51d35c));_0x572403[_0x292db0(0x260)]=_0x4693a3;});}return _0x330a13;}async[_0x4e7919(0x365)](_0x20bb28,_0x2f6376){const _0x36d98e=_0x4e7919,{unitID:_0xd86b7b,type:_0x1d2c86,blockID:_0x31c591}=_0x2f6376,_0x453c5d=this['_getAPIPrefix']()+'/'+_0x1d2c86+_0x36d98e(0x28e)+_0xd86b7b+_0x36d98e(0x20d)+_0x31c591;return(await this['_httpService'][_0x36d98e(0x16e)](_0x453c5d))[_0x36d98e(0x47f)];}async['getDeserializedSheetBlock'](_0x42f4f9,_0xbb095d){const _0x49b737=_0x4e7919,{unitID:_0x2a9486,type:_0x206dee,blockID:_0x532e90}=_0xbb095d,_0x1b336f=this[_0x49b737(0x9b)]()+'/block/'+_0x206dee+_0x49b737(0x28e)+_0x2a9486+_0x49b737(0x20d)+_0x532e90;return(await this[_0x49b737(0x2a7)][_0x49b737(0x16e)](_0x1b336f))[_0x49b737(0x47f)];}async[_0x4e7919(0x2d0)](_0x568745,_0x5cd246){const _0x207d55=_0x4e7919,{unitID:_0xa98fa8,type:_0x3a25d5,from:_0x1ebb79,to:_0x1b1bef}=_0x5cd246,_0x9cd934=this['_getAPIPrefix']()+'/'+_0x3a25d5+_0x207d55(0x28e)+_0xa98fa8+_0x207d55(0x120)+_0x1ebb79+_0x207d55(0x269)+_0x1b1bef;return(await this[_0x207d55(0x2a7)][_0x207d55(0x16e)](_0x9cd934))['body'];}[_0x4e7919(0x185)](){const _0x5b912=_0x4e7919;var _0x45a9e5;return(_0x45a9e5=this[_0x5b912(0x1f4)]['getConfig'](lr))!=null?_0x45a9e5:this['_getAPIPrefix']();}[_0x4e7919(0x9b)](){const _0x2d8cb6=_0x4e7919;var _0x265ce6,_0x305302;const _0xcef28d=this[_0x2d8cb6(0x1f4)]['getConfig'](cr),_0x41e879=this[_0x2d8cb6(0x1f4)][_0x2d8cb6(0x2a3)](ie);return(_0x305302=(_0x265ce6=_0x41e879==null?void 0x0:_0x41e879[_0x2d8cb6(0x411)])!=null?_0x265ce6:_0xcef28d)!=null?_0x305302:hr;}async[_0x4e7919(0x2d8)](_0x46899a,_0xb7702c){const _0x34049d=_0x4e7919,_0x5b4e3b='/universer-api/snapshot/'+_0xb7702c['type']+_0x34049d(0x28e)+_0xb7702c[_0x34049d(0x8b)]+_0x34049d(0x162);return(await this[_0x34049d(0x2a7)]['get'](_0x5b4e3b,{'params':{'resourceId':JSON['stringify'](_0xb7702c['resourceIDs'])}}))[_0x34049d(0x47f)];}[_0x4e7919(0x151)](){const _0x376d39=_0x4e7919;throw new Error(_0x376d39(0x439));}[_0x4e7919(0x3b6)](){const _0x49d71c=_0x4e7919;throw new Error(_0x49d71c(0x439));}[_0x4e7919(0x1c3)](){const _0x4dbb59=_0x4e7919;throw new Error(_0x4dbb59(0x439));}[_0x4e7919(0x377)](){const _0x52e605=_0x4e7919;throw new Error(_0x52e605(0x439));}[_0x4e7919(0x380)](){const _0x28c7b0=_0x4e7919;throw new Error(_0x28c7b0(0x439));}};ls=Ec([ni(0x0,_0x88f14),ni(0x1,_0x557b7a(_0x55adc1))],ls);var bc=Object[_0x4e7919(0x13e)],Tc=Object[_0x4e7919(0x3a9)],Rc=(_0xeb6bde,_0x2cdf76,_0x11bad2,_0x1fec3e)=>{for(var _0x23d066=_0x1fec3e>0x1?void 0x0:_0x1fec3e?Tc(_0x2cdf76,_0x11bad2):_0x2cdf76,_0xc83abf=_0xeb6bde['length']-0x1,_0x35d8b1;_0xc83abf>=0x0;_0xc83abf--)(_0x35d8b1=_0xeb6bde[_0xc83abf])&&(_0x23d066=(_0x1fec3e?_0x35d8b1(_0x2cdf76,_0x11bad2,_0x23d066):_0x35d8b1(_0x23d066))||_0x23d066);return _0x1fec3e&&_0x23d066&&bc(_0x2cdf76,_0x11bad2,_0x23d066),_0x23d066;},et=(_0x507724,_0x111a88)=>(_0x1c732a,_0x1d29a3)=>_0x111a88(_0x1c732a,_0x1d29a3,_0x507724);let _s=class extends _0x19c15f{constructor(_0x4034fd,_0xcf8d44,_0x3ccab0,_0x3bacc3,_0x19fffe){const _0x121ff3=_0x4e7919;super(_0x4034fd,_0xcf8d44,_0x3ccab0),this['_transformService']=_0x3bacc3,this[_0x121ff3(0x18f)]=_0x19fffe;}[_0x4e7919(0x84)](_0x538fa3,_0x5ee905){const _0x1f7d0b=_0x4e7919,_0x5131df=this[_0x1f7d0b(0xbc)](_0x538fa3);if(_0x5131df)try{const _0x2ef1c9=this['_transformStack'](_0x5131df,_0x5ee905);this[_0x1f7d0b(0x35c)](_0x538fa3,_0x2ef1c9);}catch(_0x59b1f6){this[_0x1f7d0b(0x18f)][_0x1f7d0b(0x24d)](_0x1f7d0b(0x22d),_0x59b1f6),this['_clearUndo'](_0x538fa3);}const _0x23b22b=this['_getRedoStack'](_0x538fa3);if(_0x23b22b)try{const _0x4a2122=this['_transformStack'](_0x23b22b,_0x5ee905);this[_0x1f7d0b(0x400)](_0x538fa3,_0x4a2122);}catch(_0xc36d04){this[_0x1f7d0b(0x18f)][_0x1f7d0b(0x24d)](_0xc36d04),this['_clearRedo'](_0x538fa3);}}[_0x4e7919(0x3bd)](_0x554943){const _0x2c2ebd=_0x4e7919,_0x168377=this[_0x2c2ebd(0xbc)](_0x554943);_0x168377&&(_0x168377['length']=0x0,this['_updateStatus']());}[_0x4e7919(0x31f)](_0x46da5e){const _0x7f6c4e=_0x4e7919,_0x12b9f9=this[_0x7f6c4e(0x3b4)](_0x46da5e);_0x12b9f9&&(_0x12b9f9[_0x7f6c4e(0x126)]=0x0,this[_0x7f6c4e(0x2ce)]());}[_0x4e7919(0x35c)](_0xe9c603,_0x1eaf6e){const _0x2056ac=_0x4e7919;this['_undoStacks'][_0x2056ac(0x2a0)](_0xe9c603,_0x1eaf6e),this[_0x2056ac(0x2ce)]();}[_0x4e7919(0x400)](_0x5a3fcc,_0x682080){const _0x50a40c=_0x4e7919;this[_0x50a40c(0xb3)][_0x50a40c(0x2a0)](_0x5a3fcc,_0x682080),this[_0x50a40c(0x2ce)]();}[_0x4e7919(0x2a8)](_0x488261,_0xbf26e2){const _0x37abb6=_0x4e7919,_0x92ab32=[];let _0x5878a4=_0xbf26e2,_0x9540b=_0xbf26e2;for(let _0xfb87e4=_0x488261[_0x37abb6(0x126)]-0x1;_0xfb87e4>=0x0;_0xfb87e4--){const {unitID:_0x1af778,undoMutations:_0x51f630,redoMutations:_0x3b4ac9}=_0x488261[_0xfb87e4],_0x511c2f=this[_0x37abb6(0x2ac)][_0x37abb6(0x214)](_0x5878a4,_0x51f630),_0x616d05=this['_transformService'][_0x37abb6(0x214)](_0x9540b,_0x3b4ac9);if(_0x15ad50(_0x511c2f)||_0x15ad50(_0x616d05)){this[_0x37abb6(0x18f)][_0x37abb6(0x24d)]('[CollaborationUndoRedoService]',_0x37abb6(0x1d7),_0x511c2f,_0x616d05);break;}_0x5878a4=_0x511c2f[_0x37abb6(0x89)],_0x9540b=_0x616d05[_0x37abb6(0x89)],_0x92ab32[_0x37abb6(0x209)]({'unitID':_0x1af778,'undoMutations':_0x511c2f[_0x37abb6(0xca)],'redoMutations':_0x616d05[_0x37abb6(0xca)]});}return _0x92ab32[_0x37abb6(0x114)]();}};_s=Rc([et(0x0,_0x5e27bc),et(0x1,_0x37f6d3),et(0x2,_0xa5a717),et(0x3,_0xd1dd82),et(0x4,_0x2f9740)],_s);class yc extends _0x15900e{constructor(){const _0x1d1890=_0x4e7919;super(),g(this,_0x1d1890(0x104)),this[_0x1d1890(0x104)]=_0xf4893f(window,_0x1d1890(0x99))['pipe'](_0x234986(this[_0x1d1890(0x15d)]),_0x42be71(0x1),_0x2d24bf(void 0x0));}[_0x4e7919(0xef)](_0x5e79da,_0x58c98f,_0x52428b=!0x1){const _0x10c283=_0x4e7919,_0x97496f=new URL(window[_0x10c283(0x3e9)][_0x10c283(0xc3)]);_0x97496f[_0x10c283(0x147)][_0x10c283(0x2a0)](_0x5e79da,_0x58c98f),_0x52428b?window[_0x10c283(0xb7)]['replaceState']('','',_0x97496f[_0x10c283(0x227)]()):window[_0x10c283(0xb7)][_0x10c283(0x33b)]('','',_0x97496f['toString']());}['removeParam'](_0x40d746,_0x26dbf3=!0x1){const _0x283fac=_0x4e7919,_0x36f472=new URL(window[_0x283fac(0x3e9)][_0x283fac(0xc3)]);_0x36f472[_0x283fac(0x147)]['delete'](_0x40d746),_0x26dbf3?window[_0x283fac(0xb7)][_0x283fac(0x421)]('','',_0x36f472[_0x283fac(0x227)]()):window[_0x283fac(0xb7)]['pushState']('','',_0x36f472['toString']());}[_0x4e7919(0x1bd)](_0x4172e2){const _0x5261ee=_0x4e7919;var _0x4d3d8b;return(_0x4d3d8b=new URL(window[_0x5261ee(0x3e9)][_0x5261ee(0xc3)])[_0x5261ee(0x147)][_0x5261ee(0x16e)](_0x4172e2))!=null?_0x4d3d8b:void 0x0;}}var zi=Object['defineProperty'],Oc=Object[_0x4e7919(0x3a9)],wc=(_0x2d1e3d,_0x3c8ad7,_0x4b6f1a)=>_0x3c8ad7 in _0x2d1e3d?zi(_0x2d1e3d,_0x3c8ad7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b6f1a}):_0x2d1e3d[_0x3c8ad7]=_0x4b6f1a,Dc=(_0x571468,_0x254ad0,_0x3d831f,_0x4333d2)=>{const _0x42794a=_0x4e7919;for(var _0x11eece=_0x4333d2>0x1?void 0x0:_0x4333d2?Oc(_0x254ad0,_0x3d831f):_0x254ad0,_0x644654=_0x571468[_0x42794a(0x126)]-0x1,_0x1c902e;_0x644654>=0x0;_0x644654--)(_0x1c902e=_0x571468[_0x644654])&&(_0x11eece=(_0x4333d2?_0x1c902e(_0x254ad0,_0x3d831f,_0x11eece):_0x1c902e(_0x11eece))||_0x11eece);return _0x4333d2&&_0x11eece&&zi(_0x254ad0,_0x3d831f,_0x11eece),_0x11eece;},lt=(_0x4a8e84,_0xd463dd)=>(_0x9ee23c,_0x432fcb)=>_0xd463dd(_0x9ee23c,_0x432fcb,_0x4a8e84),Pc=(_0x5000f0,_0x2d5830,_0x2e5543)=>wc(_0x5000f0,_0x2d5830+'',_0x2e5543);const Uc=_0x4e7919(0x40a);let us=class extends _0x405522{constructor(_0xeebbd1=Rr,_0x56a3b6,_0x38cb6d,_0x4ece6a,_0x3b1812){const _0x1f1786=_0x4e7919;super(),this[_0x1f1786(0x438)]=_0xeebbd1,this[_0x1f1786(0x18f)]=_0x56a3b6,this['_renderManagerService']=_0x38cb6d,this['_injector']=_0x4ece6a,this[_0x1f1786(0x1f4)]=_0x3b1812;const {..._0x1f0a27}=this[_0x1f1786(0x438)];this[_0x1f1786(0x1f4)]['setConfig'](ie,_0x1f0a27);}[_0x4e7919(0x18b)](){const _0x5c7876=_0x4e7919;this[_0x5c7876(0x393)](),this['_initDependencies']();}[_0x4e7919(0x1e6)](){const _0x46b3b1=_0x4e7919;_0x5a6de0(this[_0x46b3b1(0x1e4)],[[Ct]]);}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4bea3a=_0x4e7919;var _0x5aaf22,_0x2b9b83,_0x3e4454,_0x106ea9;this['_injector'][_0x4bea3a(0x297)](_0x5aca87)&&this[_0x4bea3a(0x18f)][_0x4bea3a(0x24d)](_0x4bea3a(0x202),_0x4bea3a(0x403));const _0x19c5d5=[[_0x5aca87,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x352ba8],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x2b9b83=(_0x5aaf22=this[_0x4bea3a(0x438)])==null?void 0x0:_0x5aaf22['socketService'])!=null?_0x2b9b83:es}],[_0x18fdab,{'useClass':ls}],[_0xe9480b,{'useClass':cs}],[_0x4a4912,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x3e4454=this[_0x4bea3a(0x438)])!=null&&_0x3e4454[_0x4bea3a(0x111)]&&_0x19c5d5[_0x4bea3a(0x209)]([Rt,{'useClass':ro}]),_0x12b218(this['_injector'],_0xf3c8ba(_0x19c5d5,(_0x106ea9=this[_0x4bea3a(0x438)])==null?void 0x0:_0x106ea9[_0x4bea3a(0x125)]));}[_0x4e7919(0x3d6)](){const _0x30f172=_0x4e7919;this[_0x30f172(0xb0)](this[_0x30f172(0x370)][_0x30f172(0x47d)](_0x470972[_0x30f172(0x3ca)],[os])),this[_0x30f172(0xb0)](this['_renderManagerService'][_0x30f172(0x47d)](_0x470972[_0x30f172(0x29f)],[as]));}['_initDependencies'](){const _0x5ed8a9=_0x4e7919;var _0x5733ee,_0x19ab0c;this['_injector'][_0x5ed8a9(0x16e)](_0x55adc1)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x20684f({'maxParallel':0x6})}),(_0x5733ee=this[_0x5ed8a9(0x438)])!=null&&_0x5733ee[_0x5ed8a9(0x14f)]||this[_0x5ed8a9(0x1e4)][_0x5ed8a9(0x16e)](q)[_0x5ed8a9(0x30c)](),(_0x19ab0c=this[_0x5ed8a9(0x438)])!=null&&_0x19ab0c[_0x5ed8a9(0x246)]&&_0x5a6de0(this[_0x5ed8a9(0x1e4)],[[Et]]),_0x5a6de0(this[_0x5ed8a9(0x1e4)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x4e7919(0x30d),Uc),us=Dc([_0x596afe(_0xa4a5c8,_0xac975f),lt(0x1,_0x2f9740),lt(0x2,_0x9b882e),lt(0x3,_0x557b7a(_0x5a5437)),lt(0x4,_0x88f14)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};
|