@univerjs-pro/collaboration-client 0.5.0-nightly.202411111606 → 0.5.0-nightly.202411120616
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 _0xf37888=_0x136c;(function(_0xa94db3,_0x423779){const _0x4e4261=_0x136c,_0x4841f6=_0xa94db3();while(!![]){try{const _0x1d94b5=-parseInt(_0x4e4261(0x1bd))/0x1+-parseInt(_0x4e4261(0x29e))/0x2*(parseInt(_0x4e4261(0x3f5))/0x3)+parseInt(_0x4e4261(0x2f7))/0x4*(parseInt(_0x4e4261(0x193))/0x5)+parseInt(_0x4e4261(0x3ac))/0x6+-parseInt(_0x4e4261(0x300))/0x7*(parseInt(_0x4e4261(0x34a))/0x8)+parseInt(_0x4e4261(0x444))/0x9+-parseInt(_0x4e4261(0x246))/0xa;if(_0x1d94b5===_0x423779)break;else _0x4841f6['push'](_0x4841f6['shift']());}catch(_0x29fa80){_0x4841f6['push'](_0x4841f6['shift']());}}}(_0xc3a6,0x5f845));var qi=Object[_0xf37888(0x320)],Xi=(_0x14249b,_0xc88a6,_0x2d3fdb)=>_0xc88a6 in _0x14249b?qi(_0x14249b,_0xc88a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d3fdb}):_0x14249b[_0xc88a6]=_0x2d3fdb,g=(_0x4d7119,_0x1ccb48,_0x5d9f8b)=>Xi(_0x4d7119,typeof _0x1ccb48!=_0xf37888(0x28f)?_0x1ccb48+'':_0x1ccb48,_0x5d9f8b);import{createIdentifier as _0x11a95d,Inject as _0x39c8b8,Disposable as _0xb54fec,DisposableCollection as _0x241f26,toDisposable as _0x5b8af0,IConfigService as _0x45a6b3,ILogService as _0x399eca,UserManagerService as _0xc3f0d8,UniverInstanceType as _0x42608e,IUniverInstanceService as _0x6b8e83,LocaleService as _0x50f35b,Optional as _0x174482,RxDisposable as _0x3c16d2,Injector as _0x2fd08f,Tools as _0x5d7755,ILocalStorageService as _0x4f5ce1,Rectangle as _0x3bc9a8,ICommandService as _0x48fc43,DOC_RANGE_TYPE as _0x3b2ca6,JSONX as _0x1fe550,CommandType as _0x357ec8,IPermissionService as _0x19df2d,IUndoRedoService as _0x46b156,sequenceExecute as _0x18d035,debounce as _0x4bf9ba,COLORS as _0x197df6,ColorKit as _0xd157f,ThemeService as _0x1d0ffa,fromEventSubject as _0x153a49,useDependency as _0x5d0a14,connectInjector as _0x31c12e,Workbook as _0x400c08,isInternalEditorID as _0x59fd1a,LocalUndoRedoService as _0x4a62a2,IContextService as _0x1b23d4,DependentOn as _0x1c29a2,Plugin as _0x7a55e0,touchDependencies as _0x5f3d41,IAuthzIoService as _0xb968ca,registerDependencies as _0x1e42a3,mergeOverrideWithDependencies as _0x208ba0}from'@univerjs/core';import{Subject as _0x382230,merge as _0x45ad1c,takeUntil as _0x1825a9,BehaviorSubject as _0x7465ad,distinctUntilChanged as _0x7d7043,fromEvent as _0x5ea6fd,ReplaySubject as _0x56e22a,take as _0x5f06ad,map as _0x1af8db,shareReplay as _0xac7976,of as _0x5ac583,debounceTime as _0x2edddb,filter as _0x14383b,switchMap as _0x784c53,combineLatest as _0x42f291,concatMap as _0x1240df,mapTo as _0x20444c}from'rxjs';import{map as _0x5ba592,take as _0xf9885d,filter as _0x2d7a63,delay as _0x207ed1,throttleTime as _0x1b38bd,takeUntil as _0xf05386,switchMap as _0x380453}from'rxjs/operators';import{MessageType as _0x30a0d6,Tooltip as _0x542c0a}from'@univerjs/design';import{IBeforeCloseService as _0x1e394f,IMessageService as _0xffafbc,INotificationService as _0x5158a3,useObservable as _0x26f539,BuiltInUIPart as _0x31b17c,IUIPartsService as _0x1c0ace}from'@univerjs/ui';import{HTTPService as _0xf3436a,WebSocketService as _0x1827c1,MergeInterceptorFactory as _0x5d3d7a,HTTPRequest as _0x3738a7,UniverNetworkPlugin as _0x4caaee,ThresholdInterceptorFactory as _0x8c39a4}from'@univerjs/network';import{CollaborationEvent as _0x3c3869,parseChangesetToProtocol as _0x539718,ISnapshotServerService as _0x5f2fc3,isTransformMutationFailure as _0xfceaae,isTransformMutationsWithChangesetSuccess as _0x2de823,ITransformService as _0x36ceed,RevisionService as _0x304c49,mapDocumentTypeToUniverType as _0x5ab887,isTransformChangesetsSuccess as _0x56533c,CompressMutationService as _0x78bcc3,parseProtocolChangeset as _0x411b74,SnapshotService as _0x19a3ab,textEncoder as _0x4821ce,b64DecodeUnicode as _0x1925e3,isTransformMutationsWithChangesetFailure as _0x40847e,UniverCollaborationPlugin as _0x4a89ea}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5a8609}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1ee80f,DocStateChangeManagerService as _0x3b95d5,NodePositionConvertToCursor as _0x45cbb8,NodePositionConvertToRectRange as _0x14dcc5,TEXT_RANGE_LAYER_INDEX as _0x2a8154,SetDocZoomRatioOperation as _0x3212df}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2ff3ec,SetSelectionsOperation as _0x455bea,InsertSheetMutation as _0x4ef24f,EmptyMutation as _0x59dd9d,WorkbookEditablePermission as _0x57c2ed,RefRangeService as _0x34f847,EffectRefRangId as _0x393a47,handleIRemoveRow as _0x52d0b5,handleIRemoveCol as _0x5d6597,handleMoveRange as _0x204fc1,handleInsertRow as _0xae5700,handleInsertRangeMoveRight as _0x2723eb,handleInsertRangeMoveDown as _0x59b66c,handleInsertCol as _0x53232e,handleDeleteRangeMoveUp as _0xb8cee4,handleDeleteRangeMoveLeft as _0xc0b2af,runRefRangeMutations as _0x4681f0,SetWorksheetActivateCommand as _0x4fb117}from'@univerjs/sheets';import{IRenderManagerService as _0x4e7ca1,Shape as _0x20c0e5,Rect as _0x53b95b,getColor as _0x1403d6,RegularPolygon as _0x4d7468,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2bfb82,Vector2 as _0x5d97fd}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x17cd7b,RichTextEditingMutation as _0x216675,SetTextSelectionsOperation as _0x4cbea3,DocSkeletonManagerService as _0x511bb7}from'@univerjs/docs';import{ImageSourceType as _0x4b9ffc,ImageUploadStatusType as _0x3da702,IImageIoService as _0x548da5}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x213db1,serializeRangeWithSheet as _0x30ad03}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4ee0f9,VIEWPORT_KEY as _0xc2d531,getCoordByCell as _0x7b28d2,getSheetObject as _0xd198a1,SheetPermissionInitController as _0x3ee48e}from'@univerjs/sheets-ui';import _0x5101ec,{forwardRef as _0x11c4ff,useRef as _0x360e34,createElement as _0x517cae,useCallback as _0x31a143}from'react';import{IRemoteInstanceService as _0x480e23}from'@univerjs/rpc';const cr=_0xf37888(0x37e),hr=_0xf37888(0x2e8),lr='SNAPSHOT_URL_KEY',Xc=_0xf37888(0x17e),_r=0x7d0,ur=_0xf37888(0x3bc),dr=_0xf37888(0x4c9),fr=_0xf37888(0x27c),vr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,mr=0x4e20,pr='RETRY_CONNECTING_MAX_COUNT',gr=0x3,Sr=_0xf37888(0x478),Ir=0x3e8,Cr=_0xf37888(0x410),Er=_0xf37888(0x2f4),br='LOGIN_URL_KEY',Tr=_0xf37888(0x3ea);var Ri=(_0x2a3009=>(_0x2a3009[_0x2a3009[_0xf37888(0x479)]=0x0]=_0xf37888(0x479),_0x2a3009[_0x2a3009['OK']=0x1]='OK',_0x2a3009[_0x2a3009['INTERNAL_ERROR']=0x2]=_0xf37888(0x149),_0x2a3009[_0x2a3009['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2a3009[_0x2a3009[_0xf37888(0x2b3)]=0x4]='NOT_FOUND',_0x2a3009[_0x2a3009[_0xf37888(0x2ec)]=0x5]='UNAUTHENTICATED',_0x2a3009[_0x2a3009[_0xf37888(0x3cc)]=0x6]='ALREADY_EXISTS',_0x2a3009[_0x2a3009[_0xf37888(0x1ca)]=0x7]=_0xf37888(0x1ca),_0x2a3009[_0x2a3009['TOO_MANY_REQUESTS']=0x8]=_0xf37888(0x3ca),_0x2a3009[_0x2a3009[_0xf37888(0x23e)]=0x9]='COMPLETION_FINISHED',_0x2a3009[_0x2a3009[_0xf37888(0x4a8)]=0x1389]=_0xf37888(0x4a8),_0x2a3009[_0x2a3009[_0xf37888(0x225)]=0x1771]=_0xf37888(0x225),_0x2a3009[_0x2a3009['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xf37888(0x39d),_0x2a3009[_0x2a3009[_0xf37888(0x509)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2a3009[_0x2a3009[_0xf37888(0x1a9)]=0x1b59]=_0xf37888(0x1a9),_0x2a3009[_0x2a3009[_0xf37888(0x3f8)]=0x1b5a]=_0xf37888(0x3f8),_0x2a3009[_0x2a3009[_0xf37888(0x272)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2a3009[_0x2a3009[_0xf37888(0x2bc)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2a3009[_0x2a3009[_0xf37888(0x39f)]=0x1b5d]=_0xf37888(0x39f),_0x2a3009[_0x2a3009[_0xf37888(0x1ae)]=0x1f41]=_0xf37888(0x1ae),_0x2a3009[_0x2a3009[_0xf37888(0x318)]=0x2329]=_0xf37888(0x318),_0x2a3009[_0x2a3009[_0xf37888(0x160)]=0x232a]=_0xf37888(0x160),_0x2a3009[_0x2a3009[_0xf37888(0x219)]=0x232b]=_0xf37888(0x219),_0x2a3009[_0x2a3009[_0xf37888(0x157)]=0x232c]=_0xf37888(0x157),_0x2a3009[_0x2a3009['LICENSE_DISTRO_REJECTED']=0x232d]=_0xf37888(0x216),_0x2a3009[_0x2a3009[_0xf37888(0x2c4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2a3009[_0x2a3009['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xf37888(0x24d),_0x2a3009[_0x2a3009[_0xf37888(0x381)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a3009[_0x2a3009[_0xf37888(0x2d5)]=0x2714]=_0xf37888(0x2d5),_0x2a3009[_0x2a3009[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x2a3009))(Ri||{}),ce=(_0x900bdc=>(_0x900bdc[_0x900bdc[_0xf37888(0x1ff)]=0x0]=_0xf37888(0x1ff),_0x900bdc[_0x900bdc['UNIVER_DOC']=0x1]=_0xf37888(0x1c1),_0x900bdc[_0x900bdc[_0xf37888(0x19a)]=0x2]='UNIVER_SHEET',_0x900bdc[_0x900bdc[_0xf37888(0x3e5)]=0x3]=_0xf37888(0x3e5),_0x900bdc[_0x900bdc[_0xf37888(0x29b)]=0x4]=_0xf37888(0x29b),_0x900bdc[_0x900bdc[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x900bdc))(ce||{}),W=(_0x16f8e7=>(_0x16f8e7[_0x16f8e7['UNKNOWN_CMD']=0x0]=_0xf37888(0x357),_0x16f8e7[_0x16f8e7[_0xf37888(0x42e)]=0x1]='HELLO',_0x16f8e7[_0x16f8e7['JOIN']=0x2]='JOIN',_0x16f8e7[_0x16f8e7['LEAVE']=0x3]=_0xf37888(0x4c7),_0x16f8e7[_0x16f8e7['INGEST']=0x4]=_0xf37888(0x393),_0x16f8e7[_0x16f8e7[_0xf37888(0x1c7)]=0x5]='HEARTBEAT',_0x16f8e7[_0x16f8e7[_0xf37888(0x2e7)]=0x6]='RECV',_0x16f8e7[_0x16f8e7['UNRECOGNIZED']=-0x1]=_0xf37888(0x504),_0x16f8e7))(W||{}),Is=(_0x1c874f=>(_0x1c874f[_0x1c874f[_0xf37888(0x30a)]=0x0]=_0xf37888(0x30a),_0x1c874f[_0x1c874f['OK']=0x1]='OK',_0x1c874f[_0x1c874f[_0xf37888(0x18b)]=0x2]=_0xf37888(0x18b),_0x1c874f[_0x1c874f[_0xf37888(0x504)]=-0x1]=_0xf37888(0x504),_0x1c874f))(Is||{}),yi=(_0x1015d6=>(_0x1015d6[_0x1015d6['Undefined']=0x0]=_0xf37888(0x2ae),_0x1015d6[_0x1015d6[_0xf37888(0x426)]=0x1]=_0xf37888(0x426),_0x1015d6[_0x1015d6[_0xf37888(0x1a3)]=0x2]='HttpExport',_0x1015d6[_0x1015d6[_0xf37888(0x49e)]=0x3]=_0xf37888(0x49e),_0x1015d6[_0x1015d6[_0xf37888(0x3bd)]=0x4]=_0xf37888(0x3bd),_0x1015d6[_0x1015d6['UNRECOGNIZED']=-0x1]=_0xf37888(0x504),_0x1015d6))(yi||{});const ie=_0xf37888(0x242),Rr={};function yr(_0x2d384b){const _0x102f7a=_0xf37888;var _0x2a72c5,_0x19def3,_0x5ce383,_0x5180ee,_0x2ed2f4;const _0x584c58=_0x2d384b[_0x102f7a(0x1cc)],_0x13d4b9=JSON[_0x102f7a(0x2e9)](_0x584c58);switch(_0x13d4b9[_0x102f7a(0x180)]){case W[_0x102f7a(0x1c7)]:case W['HELLO']:{const _0x7d5259=_0x13d4b9[_0x102f7a(0x286)];return{..._0x13d4b9,'data':_0x7d5259,'cmd':_0x13d4b9['cmd']};}case W[_0x102f7a(0x2c2)]:{const _0x5aa2e1=_0x13d4b9[_0x102f7a(0x4fe)];return{..._0x13d4b9,'data':_0x5aa2e1,'cmd':_0x13d4b9[_0x102f7a(0x180)]};}case W[_0x102f7a(0x2e7)]:{const _0x603bd7=_0x13d4b9[_0x102f7a(0x4ca)];switch(_0x603bd7['eventID']){case _0x3c3869[_0x102f7a(0x271)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x2a72c5=_0x603bd7['permissionRejEvent'])==null?void 0x0:_0x2a72c5['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x309)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x19def3=_0x603bd7['csAckEvent'])==null?void 0x0:_0x19def3['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x3ce)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x5ce383=_0x603bd7['newCsEvent'])==null?void 0x0:_0x5ce383['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['CHANGESET_REJ']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x5180ee=_0x603bd7[_0x102f7a(0x206)])==null?void 0x0:_0x5180ee['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x37f)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':(_0x2ed2f4=_0x603bd7['csShouldRetryEvent'])==null?void 0x0:_0x2ed2f4['cs']},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x494)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x1e7)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['USERS_ENTER']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x50f)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869['USERS_LEAVE']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x1e6)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869['LIVESHARE_NEW_HOST']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x121)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x244)]:case _0x3c3869[_0x102f7a(0x419)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x4aa)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x462)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x121)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869['MSG_FOR_ERROR']:return{..._0x13d4b9,'data':_0x603bd7,'cmd':_0x13d4b9['cmd']};case _0x3c3869['COMMENT_UPDATE']:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x21d)]},'cmd':_0x13d4b9['cmd']};case _0x3c3869[_0x102f7a(0x2ff)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x4f6)]},'cmd':_0x13d4b9[_0x102f7a(0x180)]};case _0x3c3869[_0x102f7a(0x131)]:return{..._0x13d4b9,'data':{..._0x603bd7,'data':_0x603bd7[_0x102f7a(0x268)]},'cmd':_0x13d4b9['cmd']};default:return _0x13d4b9;}}default:return _0x13d4b9;}}function Or(_0x456d46){const _0x5221cc=_0xf37888;switch(_0x456d46['cmd']){case W['HEARTBEAT']:case W[_0x5221cc(0x42e)]:return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46[_0x5221cc(0x180)],'routeKey':_0x456d46['routeKey']});case W['INGEST']:{let _0x49b378;switch(_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x214)]){case _0x3c3869['UPDATE_CURSOR']:{_0x49b378={'eventID':_0x3c3869['UPDATE_CURSOR'],'updateCursorEvent':_0x456d46[_0x5221cc(0x1cc)]['data']};break;}case _0x3c3869[_0x5221cc(0x3c2)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x3c2)],'leaveEvent':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x170)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x170)],'joinEvent':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x377)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x377)],'liveShareNewHost':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x419)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x419)],'liveShareOperation':_0x456d46['data']['data']};break;}case _0x3c3869[_0x5221cc(0x462)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x462)],'liveShareTerminate':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869[_0x5221cc(0x477)]:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x477)],'liveShareRequestHost':_0x456d46[_0x5221cc(0x1cc)][_0x5221cc(0x1cc)]};break;}case _0x3c3869['LIVESHARE_FETCH_OPERATIONS']:{_0x49b378={'eventID':_0x3c3869[_0x5221cc(0x244)]};break;}default:_0x49b378={'eventID':_0x456d46['data'][_0x5221cc(0x214)]};}return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46['cmd'],'routeKey':_0x456d46[_0x5221cc(0x379)],'collaMsg':_0x49b378});}case W[_0x5221cc(0x2c2)]:return JSON['stringify']({'cmd':_0x456d46[_0x5221cc(0x180)],'routeKey':_0x456d46[_0x5221cc(0x379)],'joinReq':_0x456d46['data']});case W[_0x5221cc(0x4c7)]:return JSON[_0x5221cc(0x387)]({'cmd':_0x456d46['cmd'],'routeKey':_0x456d46['routeKey'],'leaveReq':_0x456d46['data']});default:throw new Error(_0x5221cc(0x4bc));}}var wr=Object[_0xf37888(0x320)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x14417d,_0x5502df,_0x57e6e8,_0x444db7)=>{const _0x327984=_0xf37888;for(var _0x41daa0=_0x444db7>0x1?void 0x0:_0x444db7?Dr(_0x5502df,_0x57e6e8):_0x5502df,_0x5e9101=_0x14417d[_0x327984(0x42c)]-0x1,_0x4b41bf;_0x5e9101>=0x0;_0x5e9101--)(_0x4b41bf=_0x14417d[_0x5e9101])&&(_0x41daa0=(_0x444db7?_0x4b41bf(_0x5502df,_0x57e6e8,_0x41daa0):_0x4b41bf(_0x41daa0))||_0x41daa0);return _0x444db7&&_0x41daa0&&wr(_0x5502df,_0x57e6e8,_0x41daa0),_0x41daa0;},qe=(_0x9ecdcb,_0x4ce94f)=>(_0x344bb3,_0x4c30e5)=>_0x4ce94f(_0x344bb3,_0x4c30e5,_0x9ecdcb);const Oi=_0x11a95d('univer-pro.collaboration-client-socket-service');function Ur(_0x178e6c,_0x28769,_0xcaf87){const _0x32981e=_0xf37888;return _0x178e6c+'/'+_0x28769+_0x32981e(0x4cb)+_0xcaf87+'/new_changes';}let es=class extends _0xb54fec{constructor(_0xa139e8,_0x2993f7,_0x1e74dc,_0x4bd698,_0x351102){const _0x19e734=_0xf37888;super(),this[_0x19e734(0x40b)]=_0xa139e8,this['_ws']=_0x2993f7,this[_0x19e734(0x1f2)]=_0x1e74dc,this[_0x19e734(0x2c3)]=_0x4bd698,this[_0x19e734(0x1c5)]=_0x351102;}[_0xf37888(0x4fb)](_0x2dbd6e){const _0x29053a=_0xf37888,_0x1574e2=this['_ws'][_0x29053a(0x4fb)](_0x2dbd6e);if(!_0x1574e2)throw new Error(_0x29053a(0x135));const _0x224202=new _0x241f26(),_0x4429d3=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x45f)][_0x29053a(0x236)](_0x3ed68d=>_0x4429d3[_0x29053a(0x2d2)](_0x3ed68d))),_0x224202[_0x29053a(0x389)](_0x5b8af0(()=>_0x4429d3[_0x29053a(0x12e)]()));const _0xbff510=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x497)][_0x29053a(0x236)](_0x2bfbeb=>_0xbff510[_0x29053a(0x2d2)](_0x2bfbeb))),_0x224202[_0x29053a(0x389)](_0x5b8af0(()=>_0xbff510['complete']()));const _0x4745cd=new _0x382230();_0x224202[_0x29053a(0x389)](_0x1574e2[_0x29053a(0x12b)][_0x29053a(0x236)](_0x23c4d3=>{const _0x17c8f9=_0x29053a,_0x1c9c67=yr(_0x23c4d3);_0x4745cd[_0x17c8f9(0x2d2)](_0x1c9c67);})),_0x224202['add'](_0x5b8af0(()=>_0x4745cd[_0x29053a(0x12e)]()));let _0x522b42;const _0x46135c=()=>{const _0x1a6749=_0x29053a;_0xbff510['next'](new Event(_0x1a6749(0x18a))),_0x4429d3[_0x1a6749(0x2d2)](new CloseEvent('connection\x20error')),_0x522b42[_0x1a6749(0x137)]();};return _0x522b42={'memberID':'','close$':_0x4429d3[_0x29053a(0x2cf)](),'error$':_0xbff510[_0x29053a(0x2cf)](),'open$':_0x1574e2[_0x29053a(0x11b)],'message$':_0x4745cd[_0x29053a(0x2cf)](),'send':_0x7a9e4d=>{const _0xc91710=_0x29053a;if(_0x7a9e4d[_0xc91710(0x180)]===W['INGEST']){if(_0x7a9e4d[_0xc91710(0x1cc)][_0xc91710(0x214)]===_0x3c3869[_0xc91710(0x1f3)]){this[_0xc91710(0x207)](_0x522b42,_0x7a9e4d[_0xc91710(0x1cc)])['catch'](_0x375810=>{const _0x5534c9=_0xc91710;this[_0x5534c9(0x2c3)][_0x5534c9(0x329)](_0x375810),_0x46135c();});return;}if(_0x7a9e4d['data'][_0xc91710(0x214)]===_0x3c3869[_0xc91710(0x44f)]){const _0x2a998b=_0x7a9e4d[_0xc91710(0x1cc)];this['_fetchMissChangesets'](_0x2a998b)[_0xc91710(0x1ed)](_0x31b637=>{const _0x4d081a=_0xc91710;_0x4745cd[_0x4d081a(0x2d2)]({'cmd':W[_0x4d081a(0x2e7)],'code':Is['OK'],'routeKey':_0x2a998b[_0x4d081a(0x1cc)]['unitID'],'routeType':'','data':{'eventID':_0x3c3869[_0x4d081a(0x11d)],'data':{'changesets':_0x31b637}}});})[_0xc91710(0x489)](_0x3d9b96=>{const _0x3c11b3=_0xc91710;this[_0x3c11b3(0x2c3)][_0x3c11b3(0x329)](_0x3d9b96),_0x46135c();});return;}}_0x1574e2['send'](Or(_0x7a9e4d));},'close':()=>{const _0x4d635f=_0x29053a;_0x1574e2['close'](),_0x224202[_0x4d635f(0x4d5)]();}},_0x522b42;}async[_0xf37888(0x207)](_0x25f23c,_0x413ce1){const _0x206c63=_0xf37888;var _0x351dff,_0x8bfe70;const {unitType:_0x2d2d16,unitID:_0x16ed32,changeset:_0x111b99}=_0x413ce1[_0x206c63(0x1cc)],_0x19f5aa={'unitID':_0x16ed32,'memberID':_0x25f23c[_0x206c63(0x498)],'type':_0x2d2d16,'changeset':_0x539718(_0x111b99)},_0x268ef1=this['_configService'][_0x206c63(0x37a)](Cr),_0x2df54b=this['_configService'][_0x206c63(0x37a)](ie),_0x13bb0a=Ur((_0x8bfe70=(_0x351dff=_0x2df54b==null?void 0x0:_0x2df54b[_0x206c63(0x407)])!=null?_0x351dff:_0x268ef1)!=null?_0x8bfe70:Er,_0x2d2d16,_0x16ed32);try{await this['_http'][_0x206c63(0x141)](_0x13bb0a,{'body':_0x19f5aa});}catch(_0xc9a6ca){throw this[_0x206c63(0x2c3)]['error']('[CollaborationSession]',_0x206c63(0x1f1)),_0xc9a6ca;}}async[_0xf37888(0x3e9)](_0xb705bd){const _0x522477=_0xf37888,{unitID:_0x45f4ec,from:_0x1a7225,to:_0x439e5b,unitType:_0xe41a02}=_0xb705bd[_0x522477(0x1cc)];return(await this[_0x522477(0x1c5)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x45f4ec,'type':_0xe41a02,'from':_0x1a7225,'to':_0x439e5b}))['changesets'];}};es=Pr([qe(0x0,_0x39c8b8(_0xf3436a)),qe(0x1,_0x39c8b8(_0x1827c1)),qe(0x2,_0x45a6b3),qe(0x3,_0x399eca),qe(0x4,_0x5f2fc3)],es);const Nr='collaboration_new_changeset';function Ar(_0x51a09c){const _0x22fed5=_0xf37888;return JSON[_0x22fed5(0x387)](_0x51a09c)[_0x22fed5(0x42c)];}class wi{constructor(){const _0x4b7d9b=_0xf37888;g(this,_0x4b7d9b(0x50e),new _0x382230()),g(this,'commentUpdate$',this[_0x4b7d9b(0x50e)][_0x4b7d9b(0x2cf)]());}['onCommentUpdate'](_0x1d4a88){const _0x59d262=_0xf37888;this[_0x59d262(0x50e)][_0x59d262(0x2d2)](_0x1d4a88);}}var Mr=Object[_0xf37888(0x320)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x16bba5,_0x3f57d5,_0x3ad258,_0x8fbbcf)=>{const _0x3b45f2=_0xf37888;for(var _0x17c604=_0x8fbbcf>0x1?void 0x0:_0x8fbbcf?xr(_0x3f57d5,_0x3ad258):_0x3f57d5,_0x4dd04d=_0x16bba5[_0x3b45f2(0x42c)]-0x1,_0x1b25c4;_0x4dd04d>=0x0;_0x4dd04d--)(_0x1b25c4=_0x16bba5[_0x4dd04d])&&(_0x17c604=(_0x8fbbcf?_0x1b25c4(_0x3f57d5,_0x3ad258,_0x17c604):_0x1b25c4(_0x17c604))||_0x17c604);return _0x8fbbcf&&_0x17c604&&Mr(_0x3f57d5,_0x3ad258,_0x17c604),_0x17c604;},Hs=(_0x2556c1,_0x1e5f56)=>(_0x4992d6,_0x2a7add)=>_0x1e5f56(_0x4992d6,_0x2a7add,_0x2556c1);let Ne=class extends _0xb54fec{constructor(_0x395ee9,_0x3338a6){const _0x47114d=_0xf37888;super(),g(this,'_roomMembers',new Map()),(this[_0x47114d(0x1c2)]=_0x395ee9,this[_0x47114d(0x34f)]=_0x3338a6,this[_0x47114d(0x3ec)](_0x5b8af0(_0x45ad1c(this[_0x47114d(0x1c2)]['getTypeOfUnitDisposed$'](_0x42608e['UNIVER_SHEET'])['pipe'](_0x5ba592(_0x6c4bdd=>_0x6c4bdd[_0x47114d(0x1a4)]())),this[_0x47114d(0x1c2)][_0x47114d(0x465)](_0x42608e[_0x47114d(0x1c1)])[_0x47114d(0x3bf)](_0x5ba592(_0x3bad8b=>_0x3bad8b[_0x47114d(0x1a4)]())),this[_0x47114d(0x1c2)][_0x47114d(0x465)](_0x42608e['UNIVER_SLIDE'])['pipe'](_0x5ba592(_0x44db19=>_0x44db19[_0x47114d(0x1a4)]())))[_0x47114d(0x236)](_0x56ac85=>this[_0x47114d(0x31a)](_0x56ac85)))));}[_0xf37888(0x2a1)](_0x5ab48f){const _0x199dc8=_0xf37888;this['_userManagerService'][_0x199dc8(0x2a1)](_0x5ab48f);}[_0xf37888(0x2a0)](){const _0x337491=_0xf37888;return this[_0x337491(0x34f)][_0x337491(0x2a0)]();}[_0xf37888(0x1cb)](_0x2f89a5,_0x66bb3c){const _0x83a2cb=_0xf37888;let _0x14fed7=this['_roomMembers'][_0x83a2cb(0x166)](_0x2f89a5);_0x14fed7||(_0x14fed7=new $r(),this['_roomMembers']['set'](_0x2f89a5,_0x14fed7)),_0x14fed7[_0x83a2cb(0x1cb)](_0x66bb3c);}[_0xf37888(0x204)](_0x211465,_0x530f3a){const _0x22c676=_0xf37888,_0x2dbc22=this[_0x22c676(0x23b)]['get'](_0x211465);_0x2dbc22&&_0x2dbc22[_0x22c676(0x204)](_0x530f3a);}[_0xf37888(0x488)](_0x48cf7a){const _0x178e9d=_0xf37888;return this[_0x178e9d(0x23b)][_0x178e9d(0x166)](_0x48cf7a);}['getMember'](_0xcf2c61,_0x46790c){const _0x2259f1=_0xf37888,_0x1ecc87=this[_0x2259f1(0x23b)][_0x2259f1(0x166)](_0xcf2c61);if(_0x1ecc87)return _0x1ecc87[_0x2259f1(0x208)](_0x46790c);}[_0xf37888(0x31a)](_0x4530af){const _0x260c41=_0xf37888,_0x24a7fe=this[_0x260c41(0x23b)]['get'](_0x4530af);_0x24a7fe&&(_0x24a7fe['dispose'](),this[_0x260c41(0x23b)]['delete'](_0x4530af));}['dispose'](){const _0x50b3c4=_0xf37888;this[_0x50b3c4(0x23b)][_0x50b3c4(0x321)](_0x1037b7=>_0x1037b7['dispose']()),this[_0x50b3c4(0x23b)][_0x50b3c4(0x415)]();}};Ne=Lr([Hs(0x0,_0x6b8e83),Hs(0x1,_0x39c8b8(_0xc3f0d8))],Ne);class $r extends _0xb54fec{constructor(){const _0xf031f6=_0xf37888;super(...arguments),g(this,_0xf031f6(0x120),new Map());}[_0xf37888(0x4d5)](){const _0x71593b=_0xf37888;this[_0x71593b(0x120)]['clear']();}['updateMember'](_0x32d5ab){const _0xe952f7=_0xf37888;this[_0xe952f7(0x120)][_0xe952f7(0x1ec)](_0x32d5ab[_0xe952f7(0x498)],_0x32d5ab);}['removeMember'](_0x94c88a){const _0xcf70b9=_0xf37888;this[_0xcf70b9(0x120)]['delete'](_0x94c88a);}[_0xf37888(0x208)](_0x2214e4){const _0x438778=_0xf37888;return this[_0x438778(0x120)]['get'](_0x2214e4);}[_0xf37888(0x21b)](){const _0x39b135=_0xf37888;return Array[_0x39b135(0x123)](this[_0x39b135(0x120)][_0x39b135(0x317)]());}}var Hr=Object[_0xf37888(0x320)],jr=Object[_0xf37888(0x26b)],Br=(_0x32c0e6,_0x13115d,_0x34e686,_0xa4957a)=>{for(var _0x38cf1a=_0xa4957a>0x1?void 0x0:_0xa4957a?jr(_0x13115d,_0x34e686):_0x13115d,_0xb77bfe=_0x32c0e6['length']-0x1,_0x2c15a6;_0xb77bfe>=0x0;_0xb77bfe--)(_0x2c15a6=_0x32c0e6[_0xb77bfe])&&(_0x38cf1a=(_0xa4957a?_0x2c15a6(_0x13115d,_0x34e686,_0x38cf1a):_0x2c15a6(_0x38cf1a))||_0x38cf1a);return _0xa4957a&&_0x38cf1a&&Hr(_0x13115d,_0x34e686,_0x38cf1a),_0x38cf1a;},Ee=(_0x21d844,_0x52dc9f)=>(_0x57f98c,_0x563010)=>_0x52dc9f(_0x57f98c,_0x563010,_0x21d844),ve=(_0x441a2b=>(_0x441a2b[_0x441a2b[_0xf37888(0x13a)]=0x0]='IDLE',_0x441a2b[_0x441a2b[_0xf37888(0x356)]=0x1]='JOINING',_0x441a2b[_0x441a2b[_0xf37888(0x33c)]=0x2]=_0xf37888(0x33c),_0x441a2b[_0x441a2b[_0xf37888(0x312)]=0x3]=_0xf37888(0x312),_0x441a2b))(ve||{});let ts=class extends _0x3c16d2{constructor(_0xd00612,_0xca24ec,_0x30e278,_0x1a3ac3,_0x223dab,_0x2324fe,_0x1d272c,_0x290526,_0x562832,_0x395e0c){const _0x49e2a0=_0xf37888;super(),g(this,_0x49e2a0(0x1fe),new _0x7465ad(0x0)),g(this,_0x49e2a0(0x3e3),this['_sessionStatus$'][_0x49e2a0(0x2cf)]()),g(this,_0x49e2a0(0x3e8),new _0x382230()),g(this,_0x49e2a0(0x3c5),this['_event$'][_0x49e2a0(0x2cf)]()),g(this,_0x49e2a0(0x223)),g(this,'_socketMessageSubscription'),g(this,_0x49e2a0(0x4b1)),g(this,_0x49e2a0(0x402),!0x1),g(this,'_telemetryInfo',null),(this[_0x49e2a0(0x145)]=_0xd00612,this[_0x49e2a0(0x2c3)]=_0x30e278,this[_0x49e2a0(0x291)]=_0x1a3ac3,this[_0x49e2a0(0x3a9)]=_0x223dab,this['_configService']=_0x2324fe,this[_0x49e2a0(0x428)]=_0x1d272c,this[_0x49e2a0(0x1d0)]=_0x290526,this[_0x49e2a0(0x3aa)]=_0x562832,this['_telemetryService']=_0x395e0c,this[_0x49e2a0(0x402)]=!!this[_0x49e2a0(0x382)],_0xca24ec[_0x49e2a0(0x3bf)](_0x1825a9(this[_0x49e2a0(0x118)]))[_0x49e2a0(0x236)](_0x289c73=>{const _0x23934a=_0x49e2a0;var _0x543272;typeof _0x289c73>'u'||(this[_0x23934a(0x223)]=_0x289c73,_0x289c73?(this[_0x23934a(0x116)](_0x289c73),this[_0x23934a(0x273)]=_0x289c73[_0x23934a(0x12b)]['subscribe'](_0x124403=>{const _0x25f8df=_0x23934a;_0x124403[_0x25f8df(0x379)]===this[_0x25f8df(0x145)]&&this[_0x25f8df(0x420)](_0x124403);})):(this[_0x23934a(0x3be)](),this[_0x23934a(0x1fe)][_0x23934a(0x2d2)](0x2),(_0x543272=this['_socketMessageSubscription'])==null||_0x543272[_0x23934a(0x308)](),this[_0x23934a(0x273)]=null));}),this[_0x49e2a0(0x3ec)](this['_beforeCloseService']['registerOnClose'](()=>{const _0x2c9375=_0x49e2a0;var _0x6f0df5;(_0x6f0df5=this['_socket'])==null||_0x6f0df5[_0x2c9375(0x512)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x2c9375(0x145)]}});})));}get[_0xf37888(0x1b7)](){return this['_sessionStatus$']['getValue']();}[_0xf37888(0x440)](){var _0x79c2b8,_0x262fb4;return(_0x262fb4=(_0x79c2b8=this['_socket'])==null?void 0x0:_0x79c2b8['memberID'])!=null?_0x262fb4:null;}[_0xf37888(0x4d5)](){const _0x14db51=_0xf37888;super['dispose'](),this[_0x14db51(0x118)][_0x14db51(0x2d2)](),this[_0x14db51(0x118)][_0x14db51(0x12e)]();}[_0xf37888(0x137)](){const _0x367063=_0xf37888;var _0x46b9e9,_0x1ba3bc;this['_throwTelemetryCollaborationNewChangeset'](),(_0x46b9e9=this[_0x367063(0x223)])==null||_0x46b9e9['send']({'cmd':W[_0x367063(0x4c7)],'data':{'roomID':this[_0x367063(0x145)]}}),(_0x1ba3bc=this[_0x367063(0x223)])==null||_0x1ba3bc[_0x367063(0x137)](),this[_0x367063(0x3e8)][_0x367063(0x12e)](),this['_sessionStatus$'][_0x367063(0x12e)](),this[_0x367063(0x4d5)]();}[_0xf37888(0x420)](_0x17bcc1){const _0x18361b=_0xf37888;_0x17bcc1[_0x18361b(0x180)]===W['JOIN']?this[_0x18361b(0x10d)](_0x17bcc1):_0x17bcc1['cmd']===W[_0x18361b(0x2e7)]&&this['_onRecvEvent'](_0x17bcc1);}[_0xf37888(0x116)](_0x33e1af){const _0x182c4c=_0xf37888;this[_0x182c4c(0x1fe)][_0x182c4c(0x2d2)](0x1),_0x33e1af[_0x182c4c(0x512)]({'cmd':W['JOIN'],'routeKey':this[_0x182c4c(0x145)],'routeType':'','data':{'rooms':[{'roomID':this[_0x182c4c(0x145)]}]}});}[_0xf37888(0x10d)](_0x2499a3){const _0x22568c=_0xf37888;var _0x512aa1;if(_0x2499a3[_0x22568c(0x266)]===Is[_0x22568c(0x18b)]){this[_0x22568c(0x3a9)]['show']({'type':_0x30a0d6['Warning'],'content':this[_0x22568c(0x428)]['t'](_0x22568c(0x126))}),this['_sessionStatus$'][_0x22568c(0x2d2)](0x2);return;}this['_sessionStatus$'][_0x22568c(0x2d2)](0x3);const _0x2a9e8c=(_0x512aa1=_0x2499a3[_0x22568c(0x1cc)][_0x22568c(0x278)][this[_0x22568c(0x145)]])==null?void 0x0:_0x512aa1[_0x22568c(0x175)];_0x2a9e8c&&_0x2a9e8c[_0x22568c(0x321)](_0x1c364d=>this['_memberService'][_0x22568c(0x1cb)](this[_0x22568c(0x145)],_0x1c364d));}['_onRecvEvent'](_0x12f98e){const _0x31d173=_0xf37888;try{const _0x4ac4ee=_0x12f98e['data'];switch(_0x4ac4ee[_0x31d173(0x214)]){case _0x3c3869[_0x31d173(0x170)]:this['_onUserJoin'](_0x4ac4ee),this['_event$']['next'](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x3c2)]:this[_0x31d173(0x133)](_0x4ac4ee),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x309)]:case _0x3c3869[_0x31d173(0x37f)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x31d173(0x296)](),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;case _0x3c3869[_0x31d173(0x445)]:this['_logService'][_0x31d173(0x329)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4ac4ee)),this[_0x31d173(0x3e8)]['next'](_0x4ac4ee);break;case _0x3c3869['COMMENT_UPDATE']:this['_commentService'][_0x31d173(0x2a8)](_0x4ac4ee[_0x31d173(0x1cc)]),this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);break;default:this[_0x31d173(0x3e8)][_0x31d173(0x2d2)](_0x4ac4ee);}}catch(_0x5b8f0c){this[_0x31d173(0x2c3)]['error'](_0x5b8f0c,_0x12f98e);}}['_onUserJoin'](_0x14e139){const _0x26a086=_0xf37888;this[_0x26a086(0x1d0)][_0x26a086(0x1cb)](this[_0x26a086(0x145)],_0x14e139[_0x26a086(0x1cc)]);}[_0xf37888(0x133)](_0x5dda7a){const _0x612278=_0xf37888;this['_memberService'][_0x612278(0x204)](this[_0x612278(0x145)],_0x5dda7a[_0x612278(0x1cc)][_0x612278(0x498)]);}async[_0xf37888(0x512)](_0x2be4a2,_0xa28601){const _0x125f0f=_0xf37888;if(this[_0x125f0f(0x1b7)]!==0x3||!this[_0x125f0f(0x223)])throw new Error(_0x125f0f(0x411));try{_0x2be4a2['eventID']===_0x3c3869['SUBMIT_CHANGESET']&&(this[_0x125f0f(0x229)](),this[_0x125f0f(0x210)](_0x2be4a2)),this[_0x125f0f(0x223)][_0x125f0f(0x512)]({'cmd':W[_0x125f0f(0x393)],'routeKey':_0xa28601,'routeType':'','data':_0x2be4a2});}catch(_0xa93f01){this[_0x125f0f(0x2c3)][_0x125f0f(0x329)](_0xa93f01);}}[_0xf37888(0x229)](){const _0x8e06a9=_0xf37888;var _0x4fd344;this[_0x8e06a9(0x4b1)]=window[_0x8e06a9(0x486)](()=>{const _0x45a778=_0x8e06a9;this[_0x45a778(0x4b1)]=null,this[_0x45a778(0x3a9)][_0x45a778(0x228)]({'type':_0x30a0d6[_0x45a778(0x45d)],'content':this[_0x45a778(0x428)]['t'](_0x45a778(0x283))});},(_0x4fd344=this['_configService'][_0x8e06a9(0x37a)](bi))!=null?_0x4fd344:Ti);}[_0xf37888(0x296)](){const _0x2ea754=_0xf37888;this[_0x2ea754(0x4b1)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2ea754(0x4b1)]=null);}[_0xf37888(0x210)](_0x59e1b3){const _0x862733=_0xf37888;if(!this[_0x862733(0x402)])return;const {data:_0x24e181}=_0x59e1b3,{unitID:_0x2fbd1a,changeset:_0x5d9454}=_0x24e181,{mutations:_0x12b4da,type:_0x37d81f}=_0x5d9454;this[_0x862733(0x496)]={'unitId':_0x2fbd1a,'type':_0x37d81f,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x12b4da)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x5397f5=_0xf37888;if(this[_0x5397f5(0x402)]){if(!this[_0x5397f5(0x496)]){this['_logService'][_0x5397f5(0x329)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x5397f5(0x496)][_0x5397f5(0x16f)]=performance[_0x5397f5(0x41e)](),this[_0x5397f5(0x496)]['duration']=this[_0x5397f5(0x496)]['stopTime']-this[_0x5397f5(0x496)][_0x5397f5(0x2f0)],this[_0x5397f5(0x382)]['capture'](Nr,this[_0x5397f5(0x496)]),this[_0x5397f5(0x496)]=null;}}[_0xf37888(0x3be)](){const _0x478877=_0xf37888;this[_0x478877(0x496)]=null;}};ts=Br([Ee(0x2,_0x399eca),Ee(0x3,_0x1e394f),Ee(0x4,_0xffafbc),Ee(0x5,_0x45a6b3),Ee(0x6,_0x39c8b8(_0x50f35b)),Ee(0x7,_0x39c8b8(Ne)),Ee(0x8,_0x39c8b8(wi)),Ee(0x9,_0x174482(_0x5a8609))],ts);var kr=Object[_0xf37888(0x320)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x182db0,_0x58cf4e,_0x22b8b7,_0x47f8b5)=>{const _0x4397ef=_0xf37888;for(var _0x41ac82=_0x47f8b5>0x1?void 0x0:_0x47f8b5?Wr(_0x58cf4e,_0x22b8b7):_0x58cf4e,_0x489af4=_0x182db0[_0x4397ef(0x42c)]-0x1,_0x2a9f75;_0x489af4>=0x0;_0x489af4--)(_0x2a9f75=_0x182db0[_0x489af4])&&(_0x41ac82=(_0x47f8b5?_0x2a9f75(_0x58cf4e,_0x22b8b7,_0x41ac82):_0x2a9f75(_0x41ac82))||_0x41ac82);return _0x47f8b5&&_0x41ac82&&kr(_0x58cf4e,_0x22b8b7,_0x41ac82),_0x41ac82;},je=(_0x1d748b,_0x1e5996)=>(_0x563472,_0x5a18d6)=>_0x1e5996(_0x563472,_0x5a18d6,_0x1d748b);let Ae=class extends _0xb54fec{constructor(_0x474a30,_0x4ab738,_0x5119c3,_0x4a756f,_0x2c9737,_0x459436){const _0x52557d=_0xf37888;super(),g(this,_0x52557d(0x2d0),new _0x7465ad(void 0x0)),g(this,'socket$',this['_socket$']['asObservable']()),g(this,_0x52557d(0x176),null),g(this,_0x52557d(0x287),new Map()),g(this,_0x52557d(0x18e),new _0x7465ad(ve[_0x52557d(0x13a)])),g(this,_0x52557d(0x263),this['_status$'][_0x52557d(0x2cf)]()),g(this,_0x52557d(0x115),!0x1),g(this,_0x52557d(0x467)),g(this,'_retryCount',0x0),g(this,_0x52557d(0x4f2)),g(this,_0x52557d(0x24e)),(this[_0x52557d(0x43d)]=_0x474a30,this['_localeService']=_0x4ab738,this[_0x52557d(0x3a9)]=_0x5119c3,this[_0x52557d(0x2c3)]=_0x4a756f,this[_0x52557d(0x1f2)]=_0x2c9737,this['_socketService']=_0x459436,this['_initEventListeners']());}get['_socket'](){const _0x225f2c=_0xf37888;return this[_0x225f2c(0x2d0)][_0x225f2c(0x1aa)]();}['_initEventListeners'](){const _0x1846f3=_0xf37888;this[_0x1846f3(0x289)](),this[_0x1846f3(0x456)]();}[_0xf37888(0x4d5)](){const _0x45a09f=_0xf37888;super[_0x45a09f(0x4d5)](),this[_0x45a09f(0x287)]['forEach'](_0x4cab81=>_0x4cab81[_0x45a09f(0x4d5)]()),this[_0x45a09f(0x287)]['clear'](),this[_0x45a09f(0x18e)]['complete']();}async[_0xf37888(0x4f0)](_0x18c4d9){const _0x425c99=_0xf37888;if(this['_sessions']['has'](_0x18c4d9))return this['_sessions'][_0x425c99(0x166)](_0x18c4d9);this[_0x425c99(0x4c2)]();const _0x5539f9=this[_0x425c99(0x43d)][_0x425c99(0x3d0)](ts,_0x18c4d9,this['_socket$'][_0x425c99(0x2cf)]());return this[_0x425c99(0x287)][_0x425c99(0x1ec)](_0x18c4d9,_0x5539f9),_0x5539f9;}[_0xf37888(0x38f)](_0x28ce30){const _0x5ba6d8=_0xf37888;var _0x4d6128;const _0x4afd37=this[_0x5ba6d8(0x287)][_0x5ba6d8(0x166)](_0x28ce30);_0x4afd37&&(this[_0x5ba6d8(0x287)][_0x5ba6d8(0x3ab)](_0x28ce30),_0x4afd37['close']()),this[_0x5ba6d8(0x287)][_0x5ba6d8(0x189)]||(_0x4d6128=this['_socket'])==null||_0x4d6128[_0x5ba6d8(0x137)]();}[_0xf37888(0x3cd)](){const _0x49b2bc=_0xf37888;this[_0x49b2bc(0x295)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x49b2bc(0x467)]=null),this[_0x49b2bc(0x151)]();}[_0xf37888(0x1d5)](){const _0x1068cd=_0xf37888;var _0x41a29c,_0x213040;const _0x496a40=this[_0x1068cd(0x1f2)][_0x1068cd(0x37a)](ur),_0x19e418=this[_0x1068cd(0x1f2)]['getConfig'](ie),_0x599291=(_0x213040=(_0x41a29c=_0x19e418==null?void 0x0:_0x19e418[_0x1068cd(0x114)])!=null?_0x41a29c:_0x496a40)!=null?_0x213040:dr,_0x54d8ed=this['_socketService'][_0x1068cd(0x4fb)](_0x599291);return this[_0x1068cd(0x176)]=_0x54d8ed,_0x54d8ed;}[_0xf37888(0x4c2)](){const _0x335069=_0xf37888;var _0x34ada7,_0x8c7b65;try{const _0x120a53=(_0x8c7b65=(_0x34ada7=this[_0x335069(0x223)])!=null?_0x34ada7:this[_0x335069(0x176)])!=null?_0x8c7b65:this[_0x335069(0x1d5)]();if(_0x120a53){const _0x3fc139=_0x120a53[_0x335069(0x512)];_0x120a53[_0x335069(0x512)]=_0x2b85f2=>(this[_0x335069(0x400)](),_0x3fc139['apply'](_0x120a53,[_0x2b85f2])),_0x120a53['message$'][_0x335069(0x236)](_0x45511b=>this[_0x335069(0x1b1)](_0x120a53,_0x45511b)),_0x120a53[_0x335069(0x497)]['pipe'](_0xf9885d(0x1))[_0x335069(0x236)](_0x28b741=>this[_0x335069(0x2c3)][_0x335069(0x329)](_0x335069(0x17c),_0x28b741)),_0x120a53[_0x335069(0x11b)][_0x335069(0x3bf)](_0xf9885d(0x1))[_0x335069(0x236)](()=>{const _0x34fa95=_0x335069;this[_0x34fa95(0x21e)](_0x120a53);}),_0x120a53[_0x335069(0x45f)][_0x335069(0x3bf)](_0xf9885d(0x1))[_0x335069(0x236)](_0x5a8fbb=>{const _0x7f8817=_0x335069;this['_logService'][_0x7f8817(0x13c)](_0x7f8817(0x260),'socket\x20close',_0x5a8fbb),this[_0x7f8817(0x454)]();});}}catch(_0x57af49){this[_0x335069(0x2c3)][_0x335069(0x329)](_0x57af49),this[_0x335069(0x454)]();}}[_0xf37888(0x21e)](_0x6d5758){const _0x541115=_0xf37888;this[_0x541115(0x2c3)][_0x541115(0x13c)](_0x541115(0x260),'socket\x20open.'),_0x6d5758[_0x541115(0x512)]({'cmd':W[_0x541115(0x42e)]}),this[_0x541115(0x400)]();}[_0xf37888(0x289)](){const _0x40b10c=_0xf37888;window[_0x40b10c(0x453)]('offline',()=>this['_onOffline']());}['_onOffline'](){const _0x402c31=_0xf37888;this[_0x402c31(0x115)]=!0x1,this['_candidateSocket']=null,this[_0x402c31(0x18e)][_0x402c31(0x2d2)](ve[_0x402c31(0x33c)]),this[_0x402c31(0x2d0)]['next'](null),this[_0x402c31(0x3a1)](),this[_0x402c31(0x178)]();}[_0xf37888(0x454)](){const _0x4d4716=_0xf37888;var _0x29460d;this['_onOffline'](),this['_retryCount']<((_0x29460d=this[_0x4d4716(0x1f2)]['getConfig'](pr))!=null?_0x29460d:gr)?(this['_messageService']['show']({'key':_0x4d4716(0x1cd),'type':_0x30a0d6[_0x4d4716(0x22f)],'content':this[_0x4d4716(0x428)]['t'](_0x4d4716(0x3a8))}),this['_tryReconnect']()):this[_0x4d4716(0x3a9)][_0x4d4716(0x228)]({'key':_0x4d4716(0x1cd),'type':_0x30a0d6[_0x4d4716(0x45d)],'content':this['_localeService']['t'](_0x4d4716(0x18d))});}[_0xf37888(0x456)](){const _0x42b25f=_0xf37888,_0x1e51ea=()=>{const _0x39488d=_0x136c;this[_0x39488d(0x223)]||this[_0x39488d(0x3cd)]();},_0xb11a33=()=>{const _0x211dda=_0x136c;this[_0x211dda(0x223)]||document[_0x211dda(0x1af)]===_0x211dda(0x41c)||this[_0x211dda(0x3cd)]();};window[_0x42b25f(0x453)]('online',_0x1e51ea),document[_0x42b25f(0x453)]('visibilitychange',_0xb11a33);}['_tryReconnect'](){const _0x51acee=_0xf37888;var _0x2e1ead;const _0x332b9c=this['_retryCount'],_0x4fee95=this[_0x51acee(0x1f2)][_0x51acee(0x37a)](ie),_0x2f1f25=_0x332b9c===0x0?0x0:((_0x2e1ead=_0x4fee95==null?void 0x0:_0x4fee95[_0x51acee(0x491)])!=null?_0x2e1ead:mr)*0x2**_0x332b9c;this[_0x51acee(0x467)]=window['setTimeout'](()=>{const _0x4bcf84=_0x51acee;clearTimeout(this['_retryConnectingTimer']),this[_0x4bcf84(0x467)]=null,this[_0x4bcf84(0x4c2)]();},_0x2f1f25),this['_retryCount']+=0x1;}[_0xf37888(0x1b1)](_0x1d8122,_0x36a487){const _0x4208a0=_0xf37888,{cmd:_0x27fde9}=_0x36a487;_0x27fde9===W[_0x4208a0(0x42e)]&&!this['_socketReady']&&(_0x1d8122[_0x4208a0(0x498)]=_0x36a487['data'][_0x4208a0(0x498)],this['_socket$'][_0x4208a0(0x2d2)](_0x1d8122),this['_status$'][_0x4208a0(0x2d2)](ve[_0x4208a0(0x312)]),this[_0x4208a0(0x115)]=!0x0,this[_0x4208a0(0x176)]=null),_0x27fde9===W[_0x4208a0(0x1c7)]&&this[_0x4208a0(0x3a1)](),this[_0x4208a0(0x400)]();}[_0xf37888(0x400)](){const _0x2779a8=_0xf37888;var _0x4d0a25;this[_0x2779a8(0x178)](),this[_0x2779a8(0x4f2)]=window[_0x2779a8(0x486)](()=>this[_0x2779a8(0x252)](),(_0x4d0a25=this[_0x2779a8(0x1f2)]['getConfig'](fr))!=null?_0x4d0a25:vr);}[_0xf37888(0x252)](){const _0x3ab3a1=_0xf37888;this[_0x3ab3a1(0x223)][_0x3ab3a1(0x512)]({'cmd':W[_0x3ab3a1(0x1c7)]}),this[_0x3ab3a1(0x261)]();}[_0xf37888(0x261)](){const _0x4e55c9=_0xf37888;var _0x20c1e1;this[_0x4e55c9(0x24e)]=window[_0x4e55c9(0x486)](()=>this[_0x4e55c9(0x454)](),(_0x20c1e1=this[_0x4e55c9(0x1f2)]['getConfig'](bi))!=null?_0x20c1e1:Ti);}[_0xf37888(0x178)](){const _0x57903c=_0xf37888;this[_0x57903c(0x4f2)]!=null&&(clearTimeout(this[_0x57903c(0x4f2)]),this['_sendHeartbeatTimer']=null);}[_0xf37888(0x3a1)](){const _0x5ba6e0=_0xf37888;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5ba6e0(0x24e)]=null);}};Ae=Fr([je(0x0,_0x39c8b8(_0x2fd08f)),je(0x1,_0x39c8b8(_0x50f35b)),je(0x2,_0xffafbc),je(0x3,_0x399eca),je(0x4,_0x45a6b3),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0xf37888(0x270)]((i+0x100)[_0xf37888(0x492)](0x10)[_0xf37888(0x3cb)](0x1));function Vr(_0x1d28f0,_0x2b9dde=0x0){const _0x296bdc=_0xf37888;return(Y[_0x1d28f0[_0x2b9dde+0x0]]+Y[_0x1d28f0[_0x2b9dde+0x1]]+Y[_0x1d28f0[_0x2b9dde+0x2]]+Y[_0x1d28f0[_0x2b9dde+0x3]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x4]]+Y[_0x1d28f0[_0x2b9dde+0x5]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x6]]+Y[_0x1d28f0[_0x2b9dde+0x7]]+'-'+Y[_0x1d28f0[_0x2b9dde+0x8]]+Y[_0x1d28f0[_0x2b9dde+0x9]]+'-'+Y[_0x1d28f0[_0x2b9dde+0xa]]+Y[_0x1d28f0[_0x2b9dde+0xb]]+Y[_0x1d28f0[_0x2b9dde+0xc]]+Y[_0x1d28f0[_0x2b9dde+0xd]]+Y[_0x1d28f0[_0x2b9dde+0xe]]+Y[_0x1d28f0[_0x2b9dde+0xf]])[_0x296bdc(0x4a4)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0xa1e9ae=_0xf37888;if(!Nt){if(typeof crypto>'u'||!crypto[_0xa1e9ae(0x232)])throw new Error(_0xa1e9ae(0x1e5));Nt=crypto['getRandomValues']['bind'](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto[_0xf37888(0x2c0)]&&crypto[_0xf37888(0x2c0)]['bind'](crypto),js={'randomUUID':Kr};function zr(_0x51b278,_0x5742f3,_0x52fd44){const _0x22a971=_0xf37888;if(js['randomUUID']&&!_0x5742f3&&!_0x51b278)return js[_0x22a971(0x2c0)]();_0x51b278=_0x51b278||{};const _0xd1344b=_0x51b278[_0x22a971(0x226)]||(_0x51b278[_0x22a971(0x49d)]||Yr)();return _0xd1344b[0x6]=_0xd1344b[0x6]&0xf|0x40,_0xd1344b[0x8]=_0xd1344b[0x8]&0x3f|0x80,Vr(_0xd1344b);}var qr=Object['defineProperty'],Xr=Object[_0xf37888(0x26b)],Jr=(_0x2efee8,_0x21a6ac,_0x47e58b,_0xdf884e)=>{const _0x406431=_0xf37888;for(var _0x14f212=_0xdf884e>0x1?void 0x0:_0xdf884e?Xr(_0x21a6ac,_0x47e58b):_0x21a6ac,_0x20d8c5=_0x2efee8[_0x406431(0x42c)]-0x1,_0x377bb2;_0x20d8c5>=0x0;_0x20d8c5--)(_0x377bb2=_0x2efee8[_0x20d8c5])&&(_0x14f212=(_0xdf884e?_0x377bb2(_0x21a6ac,_0x47e58b,_0x14f212):_0x377bb2(_0x14f212))||_0x14f212);return _0xdf884e&&_0x14f212&&qr(_0x21a6ac,_0x47e58b,_0x14f212),_0x14f212;},At=(_0x3736cb,_0x5a2454)=>(_0x1a18f1,_0x24fadd)=>_0x5a2454(_0x1a18f1,_0x24fadd,_0x3736cb);let ft=class{constructor(_0x30f25d,_0x374560,_0x320cb8){const _0x64c5cb=_0xf37888;this[_0x64c5cb(0x43d)]=_0x30f25d,this[_0x64c5cb(0x310)]=_0x374560,this[_0x64c5cb(0x1b5)]=_0x320cb8;}[_0xf37888(0x30b)](_0x3c4dfd){const _0x2c8d54=_0xf37888;this['_transformUndoRedoStack'](_0x3c4dfd),this[_0x2c8d54(0x2be)](_0x3c4dfd);}[_0xf37888(0x423)](_0x2c7c68){const _0x5c6c83=_0xf37888,{unitID:_0xd2129b}=_0x2c7c68,_0x15da21=this[_0x5c6c83(0x1b5)]['getRenderById'](_0xd2129b)['with'](_0x1ee80f),{redoCache:_0x444dcd}=_0x15da21['getUndoRedoMutationParamsCache']();if(_0x444dcd[_0x5c6c83(0x42c)]===0x0)return _0x2c7c68;let _0x131b48=_0x5d7755[_0x5c6c83(0x1ea)](_0x2c7c68[_0x5c6c83(0x372)][0x0]);for(let _0xb7b8f0=0x0;_0xb7b8f0<_0x444dcd[_0x5c6c83(0x42c)];_0xb7b8f0++){const _0x315e7f={'id':_0x5c6c83(0x1a5),'params':{..._0x444dcd[_0xb7b8f0]}},_0x235a21=this['_transformService'][_0x5c6c83(0x1b8)](_0x131b48,_0x315e7f,!0x1);if(_0xfceaae(_0x235a21))throw _0x235a21['error'];_0x131b48=_0x235a21[_0x5c6c83(0x36b)];}return{..._0x5d7755[_0x5c6c83(0x1ea)](_0x2c7c68),'mutations':[_0x131b48]};}['_transformUndoRedoStack'](_0x48645d){const _0x5d47eb=_0xf37888,{unitID:_0x29b427}=_0x48645d,_0x2f8e8c=this[_0x5d47eb(0x1b5)][_0x5d47eb(0x46d)](_0x29b427)['with'](_0x1ee80f),{undoCache:_0x3a1494,redoCache:_0x4fa7e5}=_0x2f8e8c[_0x5d47eb(0x267)]();if(_0x3a1494['length']===0x0||_0x4fa7e5['length']===0x0)return;const _0x3d0075=[],_0x43ada0=[];let _0x5545cf=_0x5d7755[_0x5d47eb(0x1ea)](_0x48645d['mutations'][0x0]),_0x20c010=_0x5d7755['deepClone'](_0x48645d['mutations'][0x0]);for(let _0x481508=_0x3a1494['length']-0x1;_0x481508>=0x0;_0x481508--){const _0x28c541={'id':_0x5d47eb(0x1a5),'params':{..._0x3a1494[_0x481508]}},_0x127ce5={'id':_0x5d47eb(0x1a5),'params':{..._0x4fa7e5[_0x481508]}},_0x40d1ce=this[_0x5d47eb(0x310)][_0x5d47eb(0x1b8)](_0x5545cf,_0x28c541,!0x1),_0x3789fb=this[_0x5d47eb(0x310)][_0x5d47eb(0x1b8)](_0x20c010,_0x127ce5,!0x1);if(_0xfceaae(_0x40d1ce))throw _0x40d1ce[_0x5d47eb(0x329)];if(_0xfceaae(_0x3789fb))throw _0x3789fb[_0x5d47eb(0x329)];_0x3d0075[_0x5d47eb(0x46c)](_0x40d1ce[_0x5d47eb(0x44b)][_0x5d47eb(0x274)]),_0x43ada0[_0x5d47eb(0x46c)](_0x3789fb[_0x5d47eb(0x44b)][_0x5d47eb(0x274)]),_0x5545cf=_0x40d1ce[_0x5d47eb(0x36b)],_0x20c010=_0x3789fb['m1Prime'];}_0x2f8e8c[_0x5d47eb(0x4a6)]({'undoCache':_0x3d0075,'redoCache':_0x43ada0});}['_transformPreviousActiveRange'](_0x1821f1){const _0x322eef=_0xf37888,{unitID:_0x409cad}=_0x1821f1,_0x3b3868=this[_0x322eef(0x1b5)][_0x322eef(0x46d)](_0x409cad)[_0x322eef(0x2f6)](_0x1ee80f),_0x40fc50=_0x3b3868[_0x322eef(0x2c5)]();if(_0x40fc50==null)return;const _0x3cee09=[{'id':_0x322eef(0x1a5),'params':{'unitId':_0x1821f1['unitID'],'actions':null,'textRanges':[_0x40fc50]}}],_0x59c592=this[_0x322eef(0x310)][_0x322eef(0x134)](_0x1821f1,_0x3cee09);if(!_0x2de823(_0x59c592))throw _0x59c592[_0x322eef(0x329)];const _0x16bf48=_0x59c592['m2Prime'][0x0]['params']['textRanges'];Array[_0x322eef(0x255)](_0x16bf48)&&_0x16bf48['length']&&_0x3b3868[_0x322eef(0x2fb)](_0x16bf48[0x0]);}};ft=Jr([At(0x0,_0x39c8b8(_0x2fd08f)),At(0x1,_0x36ceed),At(0x2,_0x4e7ca1)],ft);var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x239746,_0x541419,_0x2902ab,_0x5788f5)=>{const _0x43cf28=_0xf37888;for(var _0xf8d472=_0x5788f5>0x1?void 0x0:_0x5788f5?Qr(_0x541419,_0x2902ab):_0x541419,_0x1c6fd5=_0x239746[_0x43cf28(0x42c)]-0x1,_0x294c7e;_0x1c6fd5>=0x0;_0x1c6fd5--)(_0x294c7e=_0x239746[_0x1c6fd5])&&(_0xf8d472=(_0x5788f5?_0x294c7e(_0x541419,_0x2902ab,_0xf8d472):_0x294c7e(_0xf8d472))||_0xf8d472);return _0x5788f5&&_0xf8d472&&Zr(_0x541419,_0x2902ab,_0xf8d472),_0xf8d472;},Xe=(_0x40acf4,_0x5e8f11)=>(_0x54aa00,_0x99de38)=>_0x5e8f11(_0x54aa00,_0x99de38,_0x40acf4);let q=class extends _0xb54fec{constructor(_0x73765c,_0x662ac3,_0x24a704,_0x1efddb,_0x4eefa1){const _0x1f8707=_0xf37888;super(),g(this,_0x1f8707(0x17d),new Map()),g(this,'_saveTaskMap',new Map()),g(this,'_disabled',!0x1),(this[_0x1f8707(0x1f2)]=_0x73765c,this[_0x1f8707(0x4d8)]=_0x662ac3,this[_0x1f8707(0x291)]=_0x24a704,this[_0x1f8707(0x428)]=_0x1efddb,this[_0x1f8707(0x437)]=_0x4eefa1,this[_0x1f8707(0x1dd)]());}[_0xf37888(0x3a7)](){this['_disabled']=!0x0;}[_0xf37888(0x4ce)](){const _0x425b0c=_0xf37888;this[_0x425b0c(0x234)]=!0x1;}[_0xf37888(0x4d5)](){const _0x365a8a=_0xf37888;this['exhaustSavingTask']()['then'](()=>super[_0x365a8a(0x4d5)]());}async['loadOfflineData'](_0x2d5cc4){const _0x5c0b00=_0xf37888;return this['_disabled']?null:this[_0x5c0b00(0x4d8)][_0x5c0b00(0x1f0)](Bs(_0x2d5cc4));}async[_0xf37888(0x194)](_0x104f66,_0x21b96b){const _0x4b82c7=_0xf37888;return!!this[_0x4b82c7(0x4d8)][_0x4b82c7(0x4b8)](_0x104f66,_0x21b96b);}[_0xf37888(0x22b)](_0x145e3a,_0xd8db9f,_0x31fa54,_0x45f314){const _0x269314=_0xf37888,_0x28c2eb=this[_0x269314(0x437)][_0x269314(0x4c3)](_0x145e3a);this[_0x269314(0x17d)][_0x269314(0x1ec)](_0x145e3a,{'unitID':_0x145e3a,'type':_0xd8db9f,'awaitingChangeset':_0x31fa54,'mutations':_0x45f314,'rev':_0x28c2eb}),this[_0x269314(0x47c)][_0x269314(0x4af)](_0x145e3a)||this[_0x269314(0x325)](_0x145e3a);}['_scheduleSaving'](_0x1022cc){const _0x155e4d=_0xf37888,_0x2c0d55=this[_0x155e4d(0x2bd)]();_0x2c0d55===0x0?this[_0x155e4d(0x16c)](_0x1022cc):this[_0x155e4d(0x47c)][_0x155e4d(0x1ec)](_0x1022cc,setTimeout(()=>this['_saveCache'](_0x1022cc),_0x2c0d55));}[_0xf37888(0x2bd)](){const _0x45373d=_0xf37888;var _0xdf686f;return(_0xdf686f=this[_0x45373d(0x1f2)][_0x45373d(0x37a)](Sr))!=null?_0xdf686f:Ir;}[_0xf37888(0x16c)](_0x350de2){const _0x5c3d15=_0xf37888,_0x1ddd0e=this['_saveTaskMap'][_0x5c3d15(0x166)](_0x350de2);return _0x1ddd0e!==void 0x0&&window[_0x5c3d15(0x13f)](_0x1ddd0e),this[_0x5c3d15(0x4d8)]['setItem'](Bs(_0x350de2),this[_0x5c3d15(0x17d)][_0x5c3d15(0x166)](_0x350de2))[_0x5c3d15(0x1ed)](()=>this[_0x5c3d15(0x47c)][_0x5c3d15(0x3ab)](_0x350de2));}async['exhaustSavingTask'](){const _0x49be1a=[];this['_saveTaskMap']['forEach']((_0xd4702d,_0x5c1e7b)=>{const _0x3a751e=_0x136c;window['clearTimeout'](_0xd4702d),_0x49be1a[_0x3a751e(0x270)](this[_0x3a751e(0x16c)](_0x5c1e7b)[_0x3a751e(0x1ed)](()=>{const _0x3128be=_0x3a751e;this[_0x3128be(0x47c)][_0x3128be(0x3ab)](_0x5c1e7b);}));}),await Promise['all'](_0x49be1a);}[_0xf37888(0x1dd)](){const _0x425bf1=_0xf37888;this[_0x425bf1(0x3ec)](this['_beforeCloseService'][_0x425bf1(0x351)](()=>{const _0x54aa57=_0x425bf1;if(this['_saveTaskMap'][_0x54aa57(0x189)])return this[_0x54aa57(0x428)]['t']('collaboration-client.offline-data-not-saved');}));}};q=eo([Xe(0x0,_0x45a6b3),Xe(0x1,_0x4f5ce1),Xe(0x2,_0x1e394f),Xe(0x3,_0x39c8b8(_0x50f35b)),Xe(0x4,_0x39c8b8(_0x304c49))],q);function Bs(_0x147b30){const _0xd4cea0=_0xf37888;return _0xd4cea0(0x32b)+_0x147b30;}var to=Object[_0xf37888(0x320)],so=Object[_0xf37888(0x26b)],io=(_0xfdb552,_0x67ae64,_0x48949d,_0x3ad777)=>{for(var _0x5aace7=_0x3ad777>0x1?void 0x0:_0x3ad777?so(_0x67ae64,_0x48949d):_0x67ae64,_0x4f0cc7=_0xfdb552['length']-0x1,_0x57a557;_0x4f0cc7>=0x0;_0x4f0cc7--)(_0x57a557=_0xfdb552[_0x4f0cc7])&&(_0x5aace7=(_0x3ad777?_0x57a557(_0x67ae64,_0x48949d,_0x5aace7):_0x57a557(_0x5aace7))||_0x5aace7);return _0x3ad777&&_0x5aace7&&to(_0x67ae64,_0x48949d,_0x5aace7),_0x5aace7;},Mt=(_0x2e700e,_0x4807a0)=>(_0x3eaa1c,_0x5ce090)=>_0x4807a0(_0x3eaa1c,_0x5ce090,_0x2e700e);function no(_0x55fad2){const _0x29aba7=_0xf37888,{unitID:_0x29dadc,mutations:_0x572cd6}=_0x55fad2;return{'unitId':_0x29dadc,'subUnitId':_0x572cd6[0x0][_0x29aba7(0x274)][_0x29aba7(0x24a)]};}let vt=class{constructor(_0x2fcb22,_0x57efba,_0x3cc029){const _0x42867a=_0xf37888;this['_injector']=_0x2fcb22,this[_0x42867a(0x310)]=_0x57efba,this['_instanceService']=_0x3cc029;}[_0xf37888(0x2c1)](_0x3dadf8){const _0x40c75d=_0xf37888;var _0x52cdca,_0x680aa0,_0x37ad2b,_0x3273cc;const _0x3027da=this['_injector']['get'](_0x2ff3ec),{unitId:_0x354531,subUnitId:_0x392f5e}=no(_0x3dadf8),_0x416ec0=_0x3027da[_0x40c75d(0x3c1)](_0x354531)['getCurrentSelections'](),_0x5dc47c=(_0x680aa0=(_0x52cdca=this[_0x40c75d(0x202)][_0x40c75d(0x30e)](_0x354531))==null?void 0x0:_0x52cdca[_0x40c75d(0x14f)]())==null?void 0x0:_0x680aa0[_0x40c75d(0x370)]();if(_0x416ec0[_0x40c75d(0x42c)]===0x0||!_0x354531||!_0x392f5e)return;const _0x4d9a7f=[{'id':_0x455bea['id'],'params':{'unitId':_0x354531,'subUnitId':_0x5dc47c,'selections':_0x5d7755[_0x40c75d(0x1ea)](_0x416ec0)}}],_0x4b4933=this[_0x40c75d(0x310)][_0x40c75d(0x134)](_0x3dadf8,_0x4d9a7f);if(!_0x2de823(_0x4b4933))throw _0x4b4933[_0x40c75d(0x329)];const _0x27244b=(_0x3273cc=(_0x37ad2b=_0x4b4933[_0x40c75d(0x44b)][0x0])==null?void 0x0:_0x37ad2b[_0x40c75d(0x274)])==null?void 0x0:_0x3273cc[_0x40c75d(0x3fb)];if(Array[_0x40c75d(0x255)](_0x27244b)&&_0x27244b[_0x40c75d(0x42c)]){if(_0x27244b['length']===_0x4d9a7f[0x0]['params'][_0x40c75d(0x3fb)][_0x40c75d(0x42c)]&&_0x27244b[_0x40c75d(0x195)]((_0x41b4a0,_0x1cf99a)=>_0x3bc9a8[_0x40c75d(0x142)](_0x41b4a0[_0x40c75d(0x3f9)],_0x4d9a7f[0x0]['params'][_0x40c75d(0x3fb)][_0x1cf99a][_0x40c75d(0x3f9)])))return;this['_injector'][_0x40c75d(0x166)](_0x48fc43)[_0x40c75d(0x163)](_0x455bea['id'],{'unitId':_0x354531,'subUnitId':_0x5dc47c,'selections':_0x27244b});}}};vt=io([Mt(0x0,_0x39c8b8(_0x2fd08f)),Mt(0x1,_0x36ceed),Mt(0x2,_0x6b8e83)],vt);const Rt=_0x11a95d('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x2462cb=>(_0x2462cb[_0x2462cb[_0xf37888(0x334)]=0x0]=_0xf37888(0x334),_0x2462cb[_0x2462cb['OTHER_CLIENTS_EDITING']=0x1]=_0xf37888(0x280),_0x2462cb))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class ro extends _0xb54fec{constructor(){const _0x41b157=_0xf37888;super(),g(this,'_id',_0x5d7755[_0x41b157(0x44e)]()),g(this,_0x41b157(0x4de),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,_0x41b157(0x25a),new Map()),g(this,_0x41b157(0x466),new Map()),this[_0x41b157(0x406)]();}['dispose'](){const _0x1e065b=_0xf37888;super[_0x1e065b(0x4d5)](),this[_0x1e065b(0x25a)][_0x1e065b(0x321)]((_0x59726f,_0xb720fd)=>this[_0x1e065b(0x4cc)](_0xb720fd)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x1e065b(0x182)]);}[_0xf37888(0x3e4)](_0x344c2f){const _0x215de6=_0xf37888;return this[_0x215de6(0x347)](_0x344c2f)[_0x215de6(0x3bf)](_0x7d7043());}[_0xf37888(0x1f8)](_0x47facc){const _0x433403=_0xf37888;this[_0x433403(0x4de)][_0x433403(0x189)]===0x0&&this[_0x433403(0x32e)](),this[_0x433403(0x4de)][_0x433403(0x389)](_0x47facc),this[_0x433403(0x4e0)]({'type':0x0,'memberID':this[_0x433403(0x503)],'unitIDs':[_0x47facc],'isForwarded':!0x1});}['disposeUnit'](_0x148046){const _0x47604a=_0xf37888;this[_0x47604a(0x4de)][_0x47604a(0x3ab)](_0x148046),this[_0x47604a(0x4de)][_0x47604a(0x189)]===0x0&&this[_0x47604a(0x182)]&&window[_0x47604a(0x330)](this['_heartbeatTimer']);}[_0xf37888(0x406)](){const _0x2b29a9=_0xf37888;this[_0x2b29a9(0x3ec)](_0x5b8af0(_0x5ea6fd(window,_0x2b29a9(0x37d))[_0x2b29a9(0x236)](_0xba5eda=>{const _0x128cf4=_0x2b29a9;if(_0xba5eda[_0x128cf4(0x335)]!==Ws||!_0xba5eda['newValue'])return;const _0x588b14=JSON[_0x128cf4(0x2e9)](_0xba5eda['newValue']);this[_0x128cf4(0x164)](_0x588b14);}))),window['addEventListener'](_0x2b29a9(0x20a),()=>this[_0x2b29a9(0x4e0)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2b29a9(0x123)](this['_selfUnitIDs'])}));}[_0xf37888(0x164)](_0x194d0e){const _0x788c82=_0xf37888;switch(_0x194d0e[_0x788c82(0x1fd)]){case 0x0:this[_0x788c82(0x39c)](_0x194d0e);break;case 0x1:this[_0x788c82(0x348)](_0x194d0e);break;case 0x2:this[_0x788c82(0x3da)](_0x194d0e);break;}}['_handleJoinEvent'](_0xe2640b){const _0x586436=_0xf37888,{unitIDs:_0x4f0278,memberID:_0x5bd9f9,isForwarded:_0x51dd2b}=_0xe2640b;_0x4f0278[_0x586436(0x321)](_0x28a442=>{const _0x5b7438=_0x586436;if(!_0x51dd2b&&this[_0x5b7438(0x2de)][_0x5b7438(0x4af)](_0x28a442)&&this['_ensureSubject'](_0x28a442)['next'](0x1),!this[_0x5b7438(0x2de)][_0x5b7438(0x4af)](_0x28a442)||!this[_0x5b7438(0x2de)][_0x5b7438(0x166)](_0x28a442)[_0x5b7438(0x4af)](_0x5bd9f9)){const _0xd45264=this[_0x5b7438(0x2de)][_0x5b7438(0x166)](_0x28a442)||new Set();_0xd45264[_0x5b7438(0x389)](_0x5bd9f9),this[_0x5b7438(0x2de)]['set'](_0x28a442,_0xd45264),this[_0x5b7438(0x1e4)](_0x5bd9f9);}}),_0x51dd2b||this[_0x586436(0x4e0)]({'type':0x0,'memberID':this[_0x586436(0x503)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xf37888(0x1e4)](_0x35d79d){const _0x30454f=_0xf37888;this[_0x30454f(0x4cc)](_0x35d79d);const _0x193fd1=window['setTimeout'](()=>{const _0x5a7186=_0x30454f;this[_0x5a7186(0x2de)][_0x5a7186(0x321)](_0x422565=>{const _0x1ac828=_0x5a7186;_0x422565[_0x1ac828(0x3ab)](_0x35d79d);});},ks*0x2);this[_0x30454f(0x25a)]['set'](_0x35d79d,_0x193fd1);}[_0xf37888(0x4cc)](_0x254858){const _0x3c829f=_0xf37888;if(this[_0x3c829f(0x25a)][_0x3c829f(0x4af)](_0x254858)){const _0x43a50e=this['_clearOtherTimers']['get'](_0x254858);_0x43a50e&&window[_0x3c829f(0x13f)](_0x43a50e),this[_0x3c829f(0x25a)]['set'](_0x254858,null);}}[_0xf37888(0x348)](_0x273b43){const _0x58dbaa=_0xf37888,{memberID:_0x2ee493,unitIDs:_0x3bc9da}=_0x273b43;_0x3bc9da[_0x58dbaa(0x321)](_0x4464da=>{const _0x2ed70e=_0x58dbaa;var _0x11971f;const _0x5a65e8=this['_unitOnClients']['get'](_0x4464da);_0x5a65e8&&(_0x5a65e8[_0x2ed70e(0x3ab)](_0x2ee493),(_0x11971f=this[_0x2ed70e(0x347)](_0x4464da))==null||_0x11971f['next'](_0x5a65e8['size']===0x0?0x0:0x1));}),this[_0x58dbaa(0x4cc)](_0x2ee493);}[_0xf37888(0x3da)](_0x317bd7){const _0xd701b7=_0xf37888;this[_0xd701b7(0x1e4)](_0x317bd7['memberID']);}[_0xf37888(0x4e0)](_0x3af05f){const _0x1215b7=_0xf37888;localStorage[_0x1215b7(0x4b8)](Ws,JSON[_0x1215b7(0x387)](_0x3af05f));}[_0xf37888(0x32e)](){const _0x1ec7a6=_0xf37888;this[_0x1ec7a6(0x182)]=window[_0x1ec7a6(0x276)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ks);}['_ensureSubject'](_0x6d34ab){const _0x520598=_0xf37888;return this[_0x520598(0x466)][_0x520598(0x4af)](_0x6d34ab)||this['_unitStatus'][_0x520598(0x1ec)](_0x6d34ab,new _0x7465ad(0x0)),this['_unitStatus']['get'](_0x6d34ab);}}var oo=Object[_0xf37888(0x320)],ao=Object[_0xf37888(0x26b)],co=(_0x552c10,_0xb358fc,_0x41fd49,_0x5986de)=>{const _0x55b511=_0xf37888;for(var _0x35a4c1=_0x5986de>0x1?void 0x0:_0x5986de?ao(_0xb358fc,_0x41fd49):_0xb358fc,_0x58bedf=_0x552c10[_0x55b511(0x42c)]-0x1,_0x22feab;_0x58bedf>=0x0;_0x58bedf--)(_0x22feab=_0x552c10[_0x58bedf])&&(_0x35a4c1=(_0x5986de?_0x22feab(_0xb358fc,_0x41fd49,_0x35a4c1):_0x22feab(_0x35a4c1))||_0x35a4c1);return _0x5986de&&_0x35a4c1&&oo(_0xb358fc,_0x41fd49,_0x35a4c1),_0x35a4c1;},xt=(_0x2bfef2,_0x353309)=>(_0x5dfdb7,_0x46e3d0)=>_0x353309(_0x5dfdb7,_0x46e3d0,_0x2bfef2);let mt=class{constructor(_0x165413,_0x1f3f0b,_0x70b6f5){const _0x29d577=_0xf37888;this[_0x29d577(0x43d)]=_0x165413,this['_transformService']=_0x1f3f0b,this[_0x29d577(0x1ce)]=_0x70b6f5;}[_0xf37888(0x20e)](_0x238e65){const _0x55154b=_0xf37888;this[_0x55154b(0x47a)](_0x238e65);}['transformRemoteChangeset'](_0x145501){const _0x32eb4b=_0xf37888,{unitID:_0x428237}=_0x145501,{collaboration:_0x4c10bc}=this[_0x32eb4b(0x1ce)]['getStateCache'](_0x428237);if(_0x4c10bc[_0x32eb4b(0x42c)]===0x0)return _0x145501;let _0x3c6469=_0x5d7755['deepClone'](_0x145501[_0x32eb4b(0x372)][0x0]);for(let _0x219740=0x0;_0x219740<_0x4c10bc[_0x32eb4b(0x42c)];_0x219740++){const _0xf8fc17={'id':_0x32eb4b(0x1a5),'params':{'unitId':_0x4c10bc[_0x219740]['unitId'],..._0x4c10bc[_0x219740][_0x32eb4b(0x3d9)]}},_0xf2366d=this[_0x32eb4b(0x310)][_0x32eb4b(0x1b8)](_0x3c6469,_0xf8fc17,!0x1);if(_0xfceaae(_0xf2366d))throw _0xf2366d[_0x32eb4b(0x329)];_0x3c6469=_0xf2366d[_0x32eb4b(0x36b)];}return{..._0x5d7755[_0x32eb4b(0x1ea)](_0x145501),'mutations':[_0x3c6469]};}[_0xf37888(0x47a)](_0x5de8ed){const _0x1a5b1b=_0xf37888,{unitID:_0x587770}=_0x5de8ed,{history:_0x191e31,collaboration:_0x12ff61}=this[_0x1a5b1b(0x1ce)][_0x1a5b1b(0x339)](_0x587770);if(_0x191e31[_0x1a5b1b(0x42c)]===0x0&&_0x12ff61[_0x1a5b1b(0x42c)]===0x0)return;const _0x380045=[],_0x221ae3=[];let _0x36a037=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]),_0x4449d9=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]);for(let _0x306820=_0x191e31[_0x1a5b1b(0x42c)]-0x1;_0x306820>=0x0;_0x306820--){const _0x592f38={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x191e31[_0x306820][_0x1a5b1b(0x442)],..._0x191e31[_0x306820][_0x1a5b1b(0x4f1)]}},_0xf267f3={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x191e31[_0x306820]['unitId'],..._0x191e31[_0x306820][_0x1a5b1b(0x3d9)]}},_0x1822a9=this[_0x1a5b1b(0x310)][_0x1a5b1b(0x1b8)](_0x36a037,_0x592f38,!0x1),_0x140542=this[_0x1a5b1b(0x310)][_0x1a5b1b(0x1b8)](_0x4449d9,_0xf267f3,!0x1);if(_0xfceaae(_0x1822a9))throw _0x1822a9[_0x1a5b1b(0x329)];if(_0xfceaae(_0x140542))throw _0x140542[_0x1a5b1b(0x329)];_0x380045['unshift']({..._0x191e31[_0x306820],'undoState':_0x1822a9[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)],'redoState':_0x140542['m2Prime'][_0x1a5b1b(0x274)]}),_0x36a037=_0x1822a9[_0x1a5b1b(0x36b)],_0x4449d9=_0x140542['m1Prime'];}_0x36a037=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed[_0x1a5b1b(0x372)][0x0]),_0x4449d9=_0x5d7755[_0x1a5b1b(0x1ea)](_0x5de8ed['mutations'][0x0]);for(let _0x58d5fe=_0x12ff61[_0x1a5b1b(0x42c)]-0x1;_0x58d5fe>=0x0;_0x58d5fe--){const _0x862e52={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x12ff61[_0x58d5fe]['unitId'],..._0x12ff61[_0x58d5fe]['undoState']}},_0x188ec3={'id':_0x1a5b1b(0x1a5),'params':{'unitId':_0x12ff61[_0x58d5fe]['unitId'],..._0x12ff61[_0x58d5fe][_0x1a5b1b(0x3d9)]}},_0x308e78=this['_transformService'][_0x1a5b1b(0x1b8)](_0x36a037,_0x862e52,!0x1),_0x390f72=this['_transformService'][_0x1a5b1b(0x1b8)](_0x4449d9,_0x188ec3,!0x1);if(_0xfceaae(_0x308e78))throw _0x308e78['error'];if(_0xfceaae(_0x390f72))throw _0x390f72[_0x1a5b1b(0x329)];_0x221ae3[_0x1a5b1b(0x46c)]({..._0x12ff61[_0x58d5fe],'undoState':_0x308e78[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)],'redoState':_0x390f72[_0x1a5b1b(0x44b)][_0x1a5b1b(0x274)]}),_0x36a037=_0x308e78[_0x1a5b1b(0x36b)],_0x4449d9=_0x390f72[_0x1a5b1b(0x36b)];}this[_0x1a5b1b(0x1ce)]['setStateCache'](_0x587770,{'history':_0x380045,'collaboration':_0x221ae3});}};mt=co([xt(0x0,_0x39c8b8(_0x2fd08f)),xt(0x1,_0x36ceed),xt(0x2,_0x39c8b8(_0x3b95d5))],mt);function Pi(_0x341e6d){let _0x533490='';for(const _0x38fd46 of _0x341e6d){const {startOffset:_0x37af8e,endOffset:_0x55a254,isActive:_0x511ab1,rangeType:_0x5c284f,segmentId:_0xe9e271,segmentPage:_0x26bc52}=_0x38fd46;_0x533490['length']&&(_0x533490+=','),_0x533490+=_0x37af8e+':'+_0x55a254+':'+(_0x511ab1?'1':'0')+':'+_0x5c284f+':'+_0xe9e271+':'+_0x26bc52;}return _0x533490;}function ho(_0x5822bd){const _0x3cfcfb=_0xf37888,_0x43a043=_0x5822bd[_0x3cfcfb(0x127)](','),_0xd1e159=[];for(const _0x53614e of _0x43a043){const [_0x50a6d7,_0x18260f,_0x3acc5b,_0xf0cb28,_0x4bc67a,_0x5d3dfd]=_0x53614e[_0x3cfcfb(0x127)](':');_0xd1e159[_0x3cfcfb(0x270)]({'startOffset':Number(_0x50a6d7),'endOffset':Number(_0x18260f),'collapsed':_0x50a6d7===_0x18260f,'isActive':_0x3acc5b==='1','rangeType':_0xf0cb28===_0x3b2ca6[_0x3cfcfb(0x40c)]?_0x3b2ca6[_0x3cfcfb(0x40c)]:_0x3b2ca6[_0x3cfcfb(0x282)],'segmentId':typeof _0x4bc67a==_0x3cfcfb(0x384)?String(_0x4bc67a):'','segmentPage':Number(_0x5d3dfd!=null?_0x5d3dfd:-0x1)});}return _0xd1e159[_0x3cfcfb(0x413)](_0x4495e9=>_0x4495e9[_0x3cfcfb(0x438)])||(_0xd1e159[0x0][_0x3cfcfb(0x438)]=!0x0),_0xd1e159;}class Cs extends _0x3c16d2{constructor(){const _0x55d77b=_0xf37888;super(...arguments),g(this,_0x55d77b(0x366),new _0x7465ad(null)),g(this,'collabCursorState$',this[_0x55d77b(0x366)]['asObservable']());}[_0xf37888(0x39e)](_0x5c9ed9){const {unitID:_0xe2aa60,memberID:_0x4037a1,textRanges:_0x1eb79b}=_0x5c9ed9,_0x481384=Pi(_0x1eb79b);if(_0x481384==='')return;const _0x48caa4={'unitID':_0xe2aa60,'memberID':_0x4037a1,'selection':_0x481384};this['_collabCursorState$']['next'](_0x48caa4);}}var lo=Object['defineProperty'],_o=Object[_0xf37888(0x26b)],uo=(_0x2a8dc6,_0x40d5f6,_0xed5c8b,_0x18c01c)=>{const _0x3bc4e7=_0xf37888;for(var _0x163c01=_0x18c01c>0x1?void 0x0:_0x18c01c?_o(_0x40d5f6,_0xed5c8b):_0x40d5f6,_0x35aa69=_0x2a8dc6[_0x3bc4e7(0x42c)]-0x1,_0x2287bf;_0x35aa69>=0x0;_0x35aa69--)(_0x2287bf=_0x2a8dc6[_0x35aa69])&&(_0x163c01=(_0x18c01c?_0x2287bf(_0x40d5f6,_0xed5c8b,_0x163c01):_0x2287bf(_0x163c01))||_0x163c01);return _0x18c01c&&_0x163c01&&lo(_0x40d5f6,_0xed5c8b,_0x163c01),_0x163c01;},Fs=(_0x2cd93a,_0x258625)=>(_0x3c460b,_0x239eca)=>_0x258625(_0x3c460b,_0x239eca,_0x2cd93a);let pt=class{constructor(_0x49e85a,_0x2a48d8){const _0x13a080=_0xf37888;this['_injector']=_0x49e85a,this[_0x13a080(0x310)]=_0x2a48d8;}[_0xf37888(0x2c1)](_0x55fb2a){const _0x574cff=_0xf37888;var _0x3c2b70;const _0x384252=this[_0x574cff(0x43d)][_0x574cff(0x166)](_0x17cd7b),_0x2b8655=(_0x3c2b70=_0x384252[_0x574cff(0x2fd)]())!=null?_0x3c2b70:[];if(_0x2b8655[_0x574cff(0x42c)]===0x0)return;const _0x16e517=_0x55fb2a['unitID'],_0x2a11ab=[{'id':_0x574cff(0x1a5),'params':{'unitId':_0x16e517,'actions':null,'textRanges':_0x2b8655}}],_0x4fa375=this['_transformService'][_0x574cff(0x134)](_0x55fb2a,_0x2a11ab);if(!_0x2de823(_0x4fa375))throw _0x4fa375[_0x574cff(0x329)];const _0xabdc11=_0x4fa375[_0x574cff(0x44b)][0x0][_0x574cff(0x274)][_0x574cff(0x485)];Array[_0x574cff(0x255)](_0xabdc11)&&_0xabdc11['length']&&_0x384252[_0x574cff(0x35c)](_0xabdc11,{'unitId':_0x16e517,'subUnitId':_0x16e517},!0x1);}};pt=uo([Fs(0x0,_0x39c8b8(_0x2fd08f)),Fs(0x1,_0x36ceed)],pt);const fo=new Set([_0x4ef24f['id']]);function Vs(_0x529897,_0x254a6e,_0x2c0270,_0x1b1c96,_0x4c29f6){const _0x2bde8a=_0xf37888;var _0x11adf9,_0x258233,_0x3d0bc1,_0x410a0e;const _0x4c4146=[];for(const _0x34f518 of _0x529897)if(fo['has'](_0x34f518['id'])){if(_0x4c4146['length']>0x0)break;_0x4c4146[_0x2bde8a(0x270)](_0x34f518);break;}else _0x4c4146['push'](_0x34f518);const _0x35744d=(_0x258233=(_0x11adf9=_0x4c29f6[_0x2bde8a(0x2a0)]())==null?void 0x0:_0x11adf9[_0x2bde8a(0x1b4)])!=null?_0x258233:_0x2bde8a(0x418),_0x2d0649=(_0x410a0e=(_0x3d0bc1=_0x4c29f6['getCurrentUser']())==null?void 0x0:_0x3d0bc1[_0x2bde8a(0x498)])!=null?_0x410a0e:_0x2bde8a(0x418);return{'changeset':{'unitID':_0x254a6e,'type':_0x5ab887(_0x2c0270['getUnitType'](_0x254a6e)),'baseRev':_0x1b1c96[_0x2bde8a(0x4c3)](_0x254a6e),'revision':0x0,'userID':_0x35744d,'memberID':_0x2d0649,'mutations':_0x4c4146},'pendingMutations':_0x529897[_0x2bde8a(0x3cb)](_0x4c4146[_0x2bde8a(0x42c)])};}function vo(_0x3358f6,_0x472363,_0x230c48,_0x40f328,_0x510434){const _0x7dd74f=_0xf37888;var _0x104472,_0x3ad8f5,_0x2477a4,_0x20d2cc;const _0x4fc9ce=[_0x3358f6[_0x7dd74f(0x3b8)]((_0x192fe0,_0x4498ed)=>{const _0x5e330f=_0x7dd74f;var _0x20900f;const {id:_0x416c52}=_0x192fe0,{id:_0x147bd5,type:_0x1dcdac}=_0x4498ed,_0x105785=(_0x20900f=_0x192fe0[_0x5e330f(0x274)])!=null?_0x20900f:{'actions':null},_0x42c879=_0x4498ed[_0x5e330f(0x274)];if(_0x416c52&&_0x416c52!==_0x147bd5)throw new Error(_0x5e330f(0x3f3)+_0x416c52+'\x20-\x20'+_0x147bd5+'.');return{..._0x192fe0,'id':_0x147bd5,'type':_0x1dcdac,'params':{'unitId':_0x42c879['unitId'],'textRanges':_0x42c879['textRanges'],'actions':_0x1fe550[_0x5e330f(0x111)](_0x105785[_0x5e330f(0x2fc)],_0x42c879['actions'])}};},{})],_0x2a5276=(_0x3ad8f5=(_0x104472=_0x510434[_0x7dd74f(0x2a0)]())==null?void 0x0:_0x104472[_0x7dd74f(0x1b4)])!=null?_0x3ad8f5:_0x7dd74f(0x418),_0x5820bb=(_0x20d2cc=(_0x2477a4=_0x510434[_0x7dd74f(0x2a0)]())==null?void 0x0:_0x2477a4['memberID'])!=null?_0x20d2cc:_0x7dd74f(0x418);return{'changeset':{'unitID':_0x472363,'type':_0x5ab887(_0x230c48['getUnitType'](_0x472363)),'baseRev':_0x40f328[_0x7dd74f(0x4c3)](_0x472363),'revision':0x0,'userID':_0x2a5276,'memberID':_0x5820bb,'mutations':_0x4fc9ce},'pendingMutations':[]};}function Ui(_0x5e2aeb,_0x39b59c){const _0x220c86=_0xf37888,_0x4fb267=new _0x56e22a(0x1);return setTimeout(()=>_0x4fb267[_0x220c86(0x2d2)](_0x39b59c),_0x5e2aeb),_0x4fb267['asObservable']()['pipe'](_0x5f06ad(0x1));}const mo={'id':_0x59dd9d['id'],'type':_0x357ec8[_0xf37888(0x1de)],'params':{}};var po=Object[_0xf37888(0x320)],go=Object['getOwnPropertyDescriptor'],Le=(_0x4ed62b,_0x9a81a5,_0x1b2a89,_0x65bd6a)=>{const _0x56e74f=_0xf37888;for(var _0x10f3eb=_0x65bd6a>0x1?void 0x0:_0x65bd6a?go(_0x9a81a5,_0x1b2a89):_0x9a81a5,_0x31d4b5=_0x4ed62b[_0x56e74f(0x42c)]-0x1,_0x4446a1;_0x31d4b5>=0x0;_0x31d4b5--)(_0x4446a1=_0x4ed62b[_0x31d4b5])&&(_0x10f3eb=(_0x65bd6a?_0x4446a1(_0x9a81a5,_0x1b2a89,_0x10f3eb):_0x4446a1(_0x10f3eb))||_0x10f3eb);return _0x65bd6a&&_0x10f3eb&&po(_0x9a81a5,_0x1b2a89,_0x10f3eb),_0x10f3eb;},A=(_0x5e7ff0,_0x4dc10b)=>(_0x54084c,_0x37e209)=>_0x4dc10b(_0x54084c,_0x37e209,_0x5e7ff0),J=(_0x2fb840=>(_0x2fb840[_0xf37888(0x4ea)]=_0xf37888(0x1f6),_0x2fb840[_0xf37888(0x4cf)]=_0xf37888(0x2d6),_0x2fb840[_0xf37888(0x240)]=_0xf37888(0x153),_0x2fb840[_0xf37888(0x48a)]=_0xf37888(0x441),_0x2fb840['AWAITING_WITH_PENDING']=_0xf37888(0x27a),_0x2fb840[_0xf37888(0x3c0)]='fetch_missing',_0x2fb840['CONFLICT']='conflict',_0x2fb840['OFFLINE']='offline',_0x2fb840))(J||{});const Ni=0xea60;class $e{constructor(_0x3bff70,_0x36b180,_0x1623d2,_0x1d665c,_0x26d28e,_0x41f69b,_0x4c6534,_0x3b29b5,_0x241d10){const _0x555535=_0xf37888;g(this,_0x555535(0x19f),null),g(this,'_pendingMutations',[]),(this[_0x555535(0x24f)]=_0x3bff70,this[_0x555535(0x1fd)]=_0x36b180,this[_0x555535(0x132)]=_0x26d28e,this[_0x555535(0x1fb)]=_0x41f69b,this[_0x555535(0x2ed)]=_0x4c6534,this[_0x555535(0x437)]=_0x3b29b5,this[_0x555535(0x324)]=_0x241d10,this['_awaitingChangeset']=_0x1623d2,this[_0x555535(0x431)]=_0x1d665c);}[_0xf37888(0x3f4)](_0x4e3826){const _0x417c6c=_0xf37888,_0x4c5c2e=this[_0x417c6c(0x437)]['getCurrentRevOfUnit'](this[_0x417c6c(0x24f)]);return _0x4e3826[_0x417c6c(0x4fc)]>_0x4c5c2e+0x1?(this['_handler'][_0x417c6c(0x12d)]({'from':_0x4c5c2e,'to':_0x4e3826[_0x417c6c(0x4fc)]-0x1}),!0x0):!0x1;}[_0xf37888(0x374)](_0x4a8c5e){const _0x5ddd8d=_0xf37888;this['_undoRedoService'][_0x5ddd8d(0x446)](this[_0x5ddd8d(0x24f)],_0x4a8c5e);}[_0xf37888(0x18f)](_0x2a0268){const _0x47a170=_0xf37888;var _0x46616e,_0x384ea0;(_0x384ea0=(_0x46616e=this[_0x47a170(0x132)])[_0x47a170(0x380)])==null||_0x384ea0[_0x47a170(0x3b7)](_0x46616e,_0x2a0268);}['_transformIMECache'](_0x29c5d4){const _0x496656=_0xf37888;var _0x157210,_0x49226e;return(_0x49226e=(_0x157210=this['_handler'])[_0x496656(0x371)])==null?void 0x0:_0x49226e[_0x496656(0x3b7)](_0x157210,_0x29c5d4);}[_0xf37888(0x2db)](_0x4137cc){const _0xaf903c=_0xf37888;var _0x3f0f12,_0x51cb21;return(_0x51cb21=(_0x3f0f12=this['_handler'])[_0xaf903c(0x376)])==null?void 0x0:_0x51cb21[_0xaf903c(0x3b7)](_0x3f0f12,_0x4137cc);}[_0xf37888(0x22e)](_0x52acd0){const _0x279cd0=_0xf37888;var _0x15c9c0,_0x46e373,_0xd8fd78;return(_0xd8fd78=(_0x46e373=(_0x15c9c0=this[_0x279cd0(0x132)])[_0x279cd0(0x3a5)])==null?void 0x0:_0x46e373[_0x279cd0(0x3b7)](_0x15c9c0,_0x52acd0))!=null?_0xd8fd78:_0x52acd0;}['_transformRemoteChangesetByStateCache'](_0x2f4a5c){const _0x437136=_0xf37888;var _0x3a6395,_0x5e2eeb,_0x538072;return(_0x538072=(_0x5e2eeb=(_0x3a6395=this[_0x437136(0x132)])[_0x437136(0x42f)])==null?void 0x0:_0x5e2eeb[_0x437136(0x3b7)](_0x3a6395,_0x2f4a5c))!=null?_0x538072:_0x2f4a5c;}[_0xf37888(0x452)](_0x24810e){const _0x1d13a3=_0xf37888;var _0x4b4056,_0x329979;if(this[_0x1d13a3(0x1fd)]===ce['UNIVER_DOC']){const {unitID:_0x52f666,mutations:_0x2b7ad5,memberID:_0x42e3db}=_0x24810e,_0x21fe4d=_0x2b7ad5[0x0][_0x1d13a3(0x274)][_0x1d13a3(0x485)];Array[_0x1d13a3(0x255)](_0x21fe4d)&&_0x21fe4d['length']>0x0&&((_0x329979=(_0x4b4056=this[_0x1d13a3(0x132)])[_0x1d13a3(0x506)])==null||_0x329979['call'](_0x4b4056,{'unitID':_0x52f666,'memberID':_0x42e3db,'textRanges':_0x21fe4d}));}}[_0xf37888(0x1be)](){const _0x5d4c56=_0xf37888;this['_localCacheService']['updateOfflineData'](this[_0x5d4c56(0x24f)],this[_0x5d4c56(0x1fd)],this[_0x5d4c56(0x19f)],this[_0x5d4c56(0x431)]);}[_0xf37888(0x26a)](){const _0x306e5e=_0xf37888;return this[_0x306e5e(0x437)][_0x306e5e(0x4c3)](this[_0x306e5e(0x24f)]);}[_0xf37888(0x2e3)](){const _0x294661=_0xf37888;this[_0x294661(0x437)][_0x294661(0x28c)](this['unitID']);}['_executeRemoteChangeset'](_0x187059){const _0x5f0e78=_0xf37888;var _0xc54f1a;let _0x2ebded=this[_0x5f0e78(0x22e)](_0x187059);_0x2ebded=this[_0x5f0e78(0x435)](_0x2ebded);const _0x580516=_0x18d035(_0x2ebded[_0x5f0e78(0x372)],this[_0x5f0e78(0x1fb)],{'fromCollab':!0x0});if(!_0x580516['result'])throw _0x580516[_0x5f0e78(0x329)]instanceof Error?_0x580516['error']:new Error((_0xc54f1a=_0x580516['error'])!=null?_0xc54f1a:'[CollaborationState]:\x20apply\x20error!');this[_0x5f0e78(0x43b)](_0x2ebded),this['_transformStateCache'](_0x2ebded),this[_0x5f0e78(0x374)](_0x187059),this[_0x5f0e78(0x18f)](_0x2ebded),this[_0x5f0e78(0x452)](_0x2ebded),this[_0x5f0e78(0x2e3)]();}}function _0xc3a6(){const _0x52e75f=['_userManagerService','onPointerLeave$','registerBeforeClose','verdancy600','byteLength','BlockCipherMode','_initDependencies','JOINING','UNKNOWN_CMD','MD5','_loadDoc','setAlpha','patch','replaceDocRanges','url','_showConflictNotification','FromArray','#fff','method','localeService','roles','none','collaborators','_collabCursorState$','_resendTimer','_getSnapshotAPIPrefix','_color','onRemoteRetry','m1Prime','/object','_cursor','_roomMembers$','ceil','getSheetId','onTransformIME','mutations','create','_transformUndoredo','_getAPIPrefix','onTransformState','LIVESHARE_NEW_HOST','closePath','routeKey','getConfig','onStarting','_context','storage','SNAPSHOT_SERVER_URL_KEY','CHANGESET_SHOULD_RETRY','onTransformSelections','YUUMI_RATE_OVER_LIMIT','_telemetryService','PasswordBasedCipher','string','_cursors','COMPRESS_MUTATION_SEND','stringify','focused$','add','_process','_change$','labelPosition','onMouseMove','_state','closeSession','cursorInfo','_updateURLWithCurrentState','_toggleOffline','INGEST','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getInterceptPoints','objects','_entityInit$','red300','M0\x200H16V16H0z','c2Prime','measureText','_handleJoinEvent','SNAPSHOT_HAS_BEEN_REMOVED','syncEditingCollabCursor','APPLY_DUPLICATED','objectID','_clearTimeoutTimer','InsertRangeMoveDownCommandId','InsertColCommandId','HmacMD5','onTransformRemoteChangesetByIMECache','_replayCachedMutations','disableLocalCache','session.will-retry','_messageService','_commentService','delete','1124310FgvHum','_getLoginPath','hasOwnProperty','_ENC_XFORM_MODE','getCollabCursors$','reject','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','findNodePositionByCharIndex','concat','/-/object/-/batch_allowed','onTransformChange$','call','reduce','toggleOffline','deleteCollaborator','assignAColorForMemberID','COLLAB_WEB_SOCKET_URL','UnitSnapshot','_throwTelemetryCollaborationNewChangeset','pipe','FETCH_MISS','getWorkbookSelections','USERS_LEAVE','editing\x20status\x20changed\x20to','_entities','event$','_changesetReqId','sheets','responseType','cursorInfo$','TOO_MANY_REQUESTS','slice','ALREADY_EXISTS','reconnect','NEW_CHANGESETS','_startSheetCollabCursor','createInstance','headers','_drawRectRange','colorChannel1','originalMeta','_nRounds','_hash','addObject','docStateChange$','redoState','_handleHeartbeatEvent','onRemoteAck','defaultProps','_hovered','rev','_substituteRedoStack','searchParams','Decryptor','unpad','sessionStatus$','getUnitStatus$','UNIVER_SLIDE','_createHandler','conflict.content','_event$','_fetchMissChangesets','/universer-api/oidc/authpage','CBC','disposeWithMe','_cipher','_updateCollabCursors','_sheetTransformSelectionsService','_refreshCollabCursors','_getSheetObject','HmacSHA1','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_checkMissing','22023HHnRQI','createEncryptor','propertyIsEnumerable','APPLY_NON_SEQUENTIAL_REVISION','range','_textBubble','selections','_sendingTimer','_cursorShapes','_iv','COMPRESS_MUTATION_APPLY','_rescheduleHeartbeat','subscribeEvent','_shouldReportTelemetry','Base','collab-text-range-','_colorIndex','_init','collabSubmitChangesetUrl','triggerDblclick','listRoles','setShowComponents','_http','TEXT','transformByState','loadOfflineData','_getSendChangesetTimeout','COLLAB_SUBMIT_CHANGESET_URL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','salt','some','\x0aCurrent:\x20','clear','gold400','endRow','unknown','LIVESHARE_OPERATION','univer-online','map','hidden','makeDirty','now','byteOffset','_onCombEvent','confirm','fetchMissingChangesets','transformRemoteChangeset','formatter','_anchorDot','HttpImport','repeat','_localeService','session','BlockCipher','initWorkbookPermissionChange','length','appendMutation','HELLO','onTransformRemoteChangesetByStateCache','save','_pendingMutations','_removeCollabCursors','reset','DeleteRangeMoveUpCommandId','_transformRemoteChangesetByStateCache','resend','_revisionService','isActive','ref','_getRedoStack','_transformIMECache','defs','_injector','execute','_exhaustRemoteChangesetQueue','getMemberID','awaiting','unitId','purple300','2355309mNZfUM','MSG_FOR_ERROR','transformUndoRedo','listCollaborators','msCrypto','fillRule','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','m2Prime','_updateStatus','blockSize','generateRandomId','FETCH_MISSING','_anchor','_resendTimeout','_syncEditingCollabCursor','addEventListener','_onConnectionFailed','_backgroundColor','_listenToOnlineEvent','EvpKDF','registerComponent','_startDocCollabCursor','_createHmacHelper','column','getViewport','Error','ranges','close$','ERROR_IMAGE','text','LIVESHARE_TERMINATE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSheetBlock','getTypeOfUnitDisposed$','_unitStatus','_retryConnectingTimer','_labelPosition','update','hide','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','unshift','getRenderById','sid','onRemoteRej','clone','_lockTransition','_config','image/png','getRangePointData','ciphertext','put','LIVESHARE_REQUEST_HOST','LOCAL_CACHE_INTERVAL','UNDEFINED','_transformHistoryAndStateStack','enableOfflineEditing','_saveTaskMap','/object/','__esModule','_collabSessionService','_onRemoteACK','Pkcs7','origin','_undoStacks','ivSize','textRanges','setTimeout','onMissedChangesetFetched','getRoom','catch','AWAITING','collabStatus.notCollab','_singleActiveUnitService','OpenSSL','randomBytes','_doCryptBlock','className','retryConnectingInterval','toString','getTypeOfUnitAdded$','UPDATE_CURSOR','NoPadding','_telemetryInfo','error$','memberID','_iKey','getDeserializedSheetBlock','interceptor','onlineStatusTitle','rng','UnitEmbedded','onReady','_getCtorByUniverType','status','fill','AES','toLowerCase','_assignedColors','setUndoRedoMutationParamsCache','image/bmp','CHANGESET_REVISION_CONFILICT','collaboration.single-unit.warning','liveShareOperation','ERROR_IMAGE_TYPE','_updateLocalCursor','_decreaseWaiting','changesets','has','find','_collaborationTimeoutTimer','_permissionService','HEADER_MENU','filter','fillStyle','image/jpeg','url(#$1','setItem','_render','flatMap','_scene','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collab-rect-range-','&source=','exports','sin','replaceState','_tryEnsureSocket','getCurrentRevOfUnit','/universer-api/authz','uni.network.url-service','_HTTPService','LEAVE','downloadEndpointUrl','ws://127.0.0.1:8000/universer-api/comb/connect','collaMsg','/unit/','_removeClearOtherTimer','_initCloseConn','enableLocalCache','SYNCED','for','backgroundColor','_remoteChangesetQueue','univerjs-icon\x20univerjs-icon-','getUnhiddenWorksheets','dispose','getCellPositionByOffset','BASE64','_localStorageService','substr','allowed','baseRev','Utf8','sendChangesetTimeout','_selfUnitIDs','_reverseMap','_send','height','onCommandExecuted','permission.content','copyFileMeta','encode','isEditing','getUniverSheetInstance','withCredentials','_range','NOT_COLLAB','react.fragment','[PendingState]:\x20received\x20rejection.','AUTHZ_URL_KEY','image/gif','lineTo','requireSession','undoState','_sendHeartbeatTimer','_createInitialStateImpl','conflict','_refRangeService','updatePermissionObjEvent','defIds','CONFLICT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','action','createSocket','revision','_draw','joinRsp','#FFF','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','registerHTTPInterceptor','sigBytes','_id','UNRECOGNIZED','_collaborationPaused','onSyncEditingCollabCursor','round','/resources','ENSURE_SNAPSHOT_EXECUTION','onload','padding','registerRenderModule','apply','_commentUpdate$','joinEvent','default','_mode','send','_onRemoteRejected','_type','color','tag','drawWith','_onJoinRoomEvent','init','change$','sheetID','compose','_imageSourceCache','_getUploadFileURL','collabWebSocketUrl','_socketReady','_joinRoom','hovered','dispose$','[UniverCollaborationClientPlugin]','file','open$','getTime','PSEUDO_FETCH_MISSING_RESULT','keySize','_parse','_members','liveShareNewHost','floor','from','_key','_hover','session.room-full','split','collab-client.tooltip.reconnect','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','loadSheet','message$','collaboratorID','onMissingChangesets','complete','on-line-single','fromCharCode','SHOULD_CLOSE_CONN','_handler','_onUserLeave','transformMutationsWithChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','selection','close','_createInitialState','readAsDataURL','IDLE','encrypt','debug','iterations','getImageSourceCache','clearTimeout','_isPermissionRej','post','equals','_clearRedo','_getAPIPrefixPath','_unitID','snapshotServerUrl','setShapeProps','_cursorInfo$','INTERNAL_ERROR','socketService','_initRequestHeader','_colorAssignService','div','name','getActiveSheet','_toggleOnline','_tryReconnect','jsxs','pending','&assign=','_syncEditingCollabCursorService','/block/','LICENSE_EXPORT_SIZE_EXCEEDED','_append','_session','getCollabEntity$','CipherParams','_transitionLocked','processBlock','_nDataBytes','_onCursorDelete','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fromCollab','pauseCollaboration','executeCommand','_handleEvent','history','get','fetching\x20missing\x20changesets\x20from\x20','unitId\x20is\x20not\x20found','_httpService','StreamCipher','target','_saveCache','prototype','_themeService','stopTime','USERS_ENTER','onlineStatus','collabCursorState$','batchAllowed','fetchThroughInterceptors','members','_candidateSocket','Cipher','_clearHeartbeatTimer','1em','resourceIDs','collabStatus.syncing','[CollaborationSessionService]:\x20socket\x20error','_cachedData','SEND_CHANGESET_TIMEOUT','currentColor','cmd','onPointerMove$','_heartbeatTimer','roomMembers$','_name','mixIn','collabStatus.offline','SHA1','transformChangesets','size','connection\x20error','FAIL','_getAnchorBounding','session.connection-failed','_status$','_transformSelections','getParam','pushState','off-line-single','10JFmclm','saveOfflineData','every','saveSheetBlock','[OfflineState]:\x20received\x20changeset.','/allowed','updateCollaborator','UNIVER_SHEET','_executeRemoteChangeset','_eventUnsubscribe','?url=','c1Prime','_awaitingChangeset','splice','_initCommandExecutedListener','0\x200\x2016\x2016','HttpExport','getUnitId','doc.mutation.rich-text-editing','getImage','currentSkeleton$','getCurrent','APPLY_REJECT','getValue','{fileID}','fetch_missing','json','CONNECTOR_DATA_TOO_LARGE','visibilityState','substring','_onMessage','algo','...','userID','_renderManagerService','Encryptor','sessionStatus','transformMutation','_applyRemoteChangeset','OnLineSingle','_unlockTransition','function','280911ollIac','_updateLocalCache','collab-text-anchor-','univer-online-status-title','UNIVER_DOC','_univerInstanceService','_onRemoteRetry','_getSignURL','_snapshotServerService','top','HEARTBEAT','enableSingleActiveInstanceLock','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','INVALID_ARGUMENT','updateMember','data','collaboration-session-retry','_docStateChangeManagerService','univer-offline','_memberService','isPermissionRej','onStateChange','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_docTransformIMECacheService','_createSocket','endColumn','_sheetSkeletonManagerService','putCollaborators','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_registerRenderDependencies','/universer-api/file/{fileID}/sign-url','_getScale','_setupBeforeClosingHandler','MUTATION','charCodeAt','_docTransformStateCacheService','collabStatus.fetchMiss','attrs','saveSnapshot','_scheduleClearOtherTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','leaveEvent','updateCursorEvent','_doFinalize','object','deepClone','indexOf','set','then','_handleHover','join','getItem','submit\x20changeset\x20error!','_configService','SUBMIT_CHANGESET','Base64','lib','not_collab','currentTheme$','editingUnit','trim','Hasher','_commandService','charAt','type','_sessionStatus$','UNIVER_UNKNOWN','_minBufferSize','/collaborator','_instanceService','_getDownloadEndpointURL','removeMember','location','csRejEvent','_submitChangeset','getMember','row','unload','jsx','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','moveTo','transformStateCache','/-/object/list','_startTelemetryCollaborationNewChangeset','toggleOnline','_clearLocalCache','Unknown\x20user','eventID','replace','LICENSE_DISTRO_REJECTED','entries','clamp','LICENSE_IMPORT_SIZE_EXCEEDED','x-univer-host','getAllMembers','objectType','commentUpdateEvent','_onConnectionOpen','_registerDependencies','UNIVER_COLLABORATION_CLIENT_PLUGIN','saveImage','HMAC','_socket','removeParam','SNAPSHOT_INVALID_SNAPSHOT','random','requestParams','show','_scheduleCollaborationTimeoutTimer','urlChange$','updateOfflineData','fetchMiss','finalize','_transformRemoteChangesetByIMECache','Warning','svg','\x20in\x20_schedule.','getRandomValues','words','_disabled','SUCCUSS','subscribe','_urlService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','createDecryptor','_roomMembers','authzUrl','objectActions','COMPLETION_FINISHED','_scheduleTimestamp','PENDING','use','collaboration-client.config','_substituteUndoStack','LIVESHARE_FETCH_OPERATIONS','_initMergeInterceptor','1668350lAVhcI','_collaborationController','UUID','append','subUnitId','_lastPointer','addImageSourceCache','YUUMI_URL_COL_OUT_OF_RANGE','_timeoutTimer','unitID','_shapes','body','_sendHeartbeat','uploadFileServerUrl','_transformStack','isArray','min','_notificationService','includes','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_clearOtherTimers','cfg','SerializableCipher','_changesetSessionId','ERROR_EXCEED_SIZE','&to=','[CollaborationSessionService]','_waitForHeartbeatResponse','reqId','status$','_map','_updateSubUnitFromURLParams','code','getUndoRedoMutationParamsCache','shouldCloseConn','crypto','_getCurrentRevision','getOwnPropertyDescriptor','_uiPartsService','getAncestorScale','InsertRowCommandId','failed\x20to\x20apply\x20missed\x20changesets!','push','PERMISSION_REJ','APPLY_REVISION_CONFILICT','_socketMessageSubscription','params','_getUndoStack','setInterval','_data','roomInfos','_onLocalMutation','awaiting_with_pending','children','HEARTBEAT_INTERVAL','idSuffix','_onConflict','transform','OTHER_CLIENTS_EDITING','src','RECT','session.collaboration-timeout','_clearScheduledTask','UniverIcon','infoRsp','_sessions','_hideTimer','_listenToOfflineEvent','evenodd','_keyPriorReset','incrementRevOfUnit','loginUrlKey','_online','symbol','WordArray','_beforeCloseService','jiqing500','getLatestCsReqIdBySid','_onFetchMissResult','_retryCount','_clearCollaborationTimeoutTimer','_waitCount','online','_collaborationSessionService','engine','UNIVER_PROJECT','_sender','pad','50vKnvPK','[OfflineState]:\x20received\x20rejection.','getCurrentUser','setCurrentUser','Univer','ReactCurrentOwner','_onRefRangeChange','_startCollaboration','Fragment','\x0aAfter:\x20','onCommentUpdate','hostname','collabStatus.synced','_compressMutationService','_onCursorUpdate','toRgbString','Undefined','result','_doReset','__creator','collaboration.closeRoom','NOT_FOUND','black','blue400','awaitingChangeset','href','[CollaborationEntity]','state$','_collabCursorController','roomMembers','APPLY_PERMISSION_DENIED','_getSaveTimeout','_transformPreviousActiveRange','RemoveColCommandId','randomUUID','transformSelections','JOIN','_logService','YUUMI_UNABLE_LOAD_URL','getActiveRange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','offline','_invKeySchedule','getSkeleton','whenReady','_docSkeletonManagerService','_getMergeRange','width','/universer-api/snapshot/','asObservable','_socket$','/universer-api/stream/file/upload','next','getOffsetConfig','_keySchedule','YUUMI_SUBSCRIPTION_NOT_FOUND','synced','off-line-single_clip0_910_343','displayName','max','auth.needGotoLoginAlert','_transformStateCache','Malformed\x20UTF-8\x20data','restore','_unitOnClients','_schedule','Latin1','[FetchMissState]','_drawAnchor','_incrementRevisionNumber','format','state','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','RECV','/universer-api/snapshot','parse','path','_createHelper','UNAUTHENTICATED','_undoRedoService','refreshPermission','Could\x20not\x20dynamically\x20require\x20\x22','startTime','registerRefRange','getFocusedUnit','_queuedRemoteChangesets','/universer-api/comb','POST','with','1248232IkrVuk','bottom','onPointerEnter$','popstate','setActiveRange','actions','getDocRanges','decrypt','UPDATE_PERMISSION_OBJ','2982JDXWhl','mode','AWAITING_WITH_PENDING','arc','xlink:href','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','0\x200\x2017\x2016','icon','unsubscribe','CHANGESET_ACK','UNKNOWN_CODE','transformIMECache','assign','_updateState','getUnit','fillText','_transformService','_initStatusListener','ONLINE','sheetId','on-line-single_clip0_910_349','onlineStatusIcon','addObjects','values','LICENSE_MAX_UNITS_EXCEEDED','abs','_removeRoom','_docSkeleton','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','hasher','_docSyncEditingCollabCursorService','updatePermissionPoint','defineProperty','forEach','_disableEditing','subunit','_localCacheService','_scheduleSaving','_acknowledgedAwaitingChangeset','extend','_setupSubUnitSync','error','collabStatus.conflict','unit-cache-','getCurrentUnitForType','[DataLoaderController]','_scheduleHeartbeat','_state$','clearInterval','getSheetBySheetId','kdf','[CollaborationUndoRedoService]','NO_OTHER_CLIENTS_EDITING','key','compute','_hasher','onRemoteChangeset','getStateCache','[SyncedState]:\x20received\x20acknowledgement.','_replaceFileID','OFFLINE','_oKey','_snapshotService','_clearUndo','_resendWithTimeout','setParam','getCollabEntity','enc','_initResize','CHANGESET_REJ','transformStack\x20failed!','_ensureSubject','_handleLeaveEvent','$super','952CAduZK','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onSendChangeset','startsWith','buffer'];_0xc3a6=function(){return _0x52e75f;};return _0xc3a6();}let Fe=class extends $e{constructor(_0x70f402,_0x447f99,_0xe27224,_0x575bd9,_0x52b049,_0x239a37,_0x59a582,_0x19d3d6,_0xcd2e5,_0x3549be){const _0x19d8ce=_0xf37888;super(_0x70f402,_0x447f99,null,[],_0xe27224,_0x19d3d6,_0x59a582,_0x575bd9,_0x52b049),g(this,'status','synced'),(this[_0x19d8ce(0x43d)]=_0x239a37,this[_0x19d8ce(0x2c3)]=_0xcd2e5,this[_0x19d8ce(0x310)]=_0x3549be);}[_0xf37888(0x42d)](_0x39854){const _0x1f11b9=_0xf37888,_0x19830c=this[_0x1f11b9(0x43d)][_0x1f11b9(0x3d0)](pe,this[_0x1f11b9(0x24f)],this[_0x1f11b9(0x1fd)],[_0x39854],this[_0x1f11b9(0x132)]);return _0x19830c['_schedule'](),_0x19830c[_0x1f11b9(0x1be)](),_0x19830c;}['onRemoteChangeset'](_0x448987){const _0x227b1e=_0xf37888;if(this[_0x227b1e(0x3f4)](_0x448987))return this[_0x227b1e(0x43d)][_0x227b1e(0x3d0)](he,this[_0x227b1e(0x24f)],this['type'],null,[],null,[_0x448987],this['_handler']);try{const _0x1d3fca=this[_0x227b1e(0x310)]['transformMutationsWithChangeset'](_0x448987,[mo]);if(_0x2de823(_0x1d3fca)){const {c1Prime:_0x362663}=_0x1d3fca;return this[_0x227b1e(0x19b)](_0x362663),this;}throw _0x1d3fca[_0x227b1e(0x329)];}catch(_0x1019e3){return this[_0x227b1e(0x2c3)][_0x227b1e(0x329)](_0x1019e3),this['_onConflict'](!0x1);}}[_0xf37888(0x27e)](_0x1dcb78){const _0x144f18=_0xf37888;return this[_0x144f18(0x43d)]['createInstance'](Re,this[_0x144f18(0x24f)],this[_0x144f18(0x1fd)],null,[],this[_0x144f18(0x132)],_0x1dcb78);}[_0xf37888(0x3db)](){const _0x2f9448=_0xf37888;throw new Error(_0x2f9448(0x33a));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x2227ae=_0xf37888;return this['_injector'][_0x2227ae(0x3d0)](ye,this[_0x2227ae(0x24f)],this[_0x2227ae(0x1fd)],null,[],this[_0x2227ae(0x132)]);}[_0xf37888(0x211)](){return this;}['resend'](){const _0x11febe=_0xf37888;throw new Error(_0x11febe(0x1c9));}[_0xf37888(0x22c)](){const _0x5f41fb=_0xf37888,_0xd064f0=this[_0x5f41fb(0x437)][_0x5f41fb(0x4c3)](this[_0x5f41fb(0x24f)]);return this[_0x5f41fb(0x132)]['onMissingChangesets']({'from':_0xd064f0,'to':0x0}),this[_0x5f41fb(0x43d)]['createInstance'](he,this[_0x5f41fb(0x24f)],this[_0x5f41fb(0x1fd)],null,[],null,[],this['_handler']);}};Fe=Le([A(0x3,_0x39c8b8(_0x304c49)),A(0x4,_0x39c8b8(q)),A(0x5,_0x39c8b8(_0x2fd08f)),A(0x6,_0x46b156),A(0x7,_0x48fc43),A(0x8,_0x399eca),A(0x9,_0x36ceed)],Fe);let pe=class extends $e{constructor(_0x211ebb,_0x9ff2f9,_0x3b12b1,_0x5dbc86,_0x5f49a2,_0x13101b,_0x338bba,_0x3d0c94,_0x3eabba,_0x22ad7e,_0x2eeb10,_0x4a75ae,_0x463a9e,_0x12e783){const _0x510603=_0xf37888;super(_0x211ebb,_0x9ff2f9,null,_0x3b12b1,_0x5dbc86,_0x22ad7e,_0x12e783,_0x13101b,_0x338bba),g(this,_0x510603(0x4a1),'pending'),g(this,_0x510603(0x23f),null),g(this,_0x510603(0x3fc),null),(this['_injector']=_0x5f49a2,this['_memberService']=_0x3d0c94,this[_0x510603(0x2c3)]=_0x3eabba,this['_configService']=_0x2eeb10,this['_transformService']=_0x4a75ae,this[_0x510603(0x1c2)]=_0x463a9e);}['appendMutation'](_0x283d5a){const _0xdbb9cf=_0xf37888;return this['_pendingMutations']['push'](_0x283d5a),this[_0xdbb9cf(0x1be)](),this;}[_0xf37888(0x338)](_0x6b8d64){const _0x211508=_0xf37888;if(this['_checkMissing'](_0x6b8d64))return this['_clearScheduledTask'](),this[_0x211508(0x43d)][_0x211508(0x3d0)](he,this[_0x211508(0x24f)],this[_0x211508(0x1fd)],null,this['_pendingMutations'],null,[_0x6b8d64],this[_0x211508(0x132)]);try{const _0x427cad=this[_0x211508(0x310)][_0x211508(0x134)](_0x6b8d64,this['_pendingMutations']);if(_0x2de823(_0x427cad)){const {c1Prime:_0x25e730,m2Prime:_0x4d46aa}=_0x427cad;this[_0x211508(0x19b)](_0x25e730);const _0x19dec1=this[_0x211508(0x43d)]['createInstance'](pe,this[_0x211508(0x24f)],this[_0x211508(0x1fd)],_0x4d46aa,this[_0x211508(0x132)]);return this[_0x211508(0x284)](),_0x19dec1[_0x211508(0x2df)](this[_0x211508(0x23f)]?Math['max'](0x0,new Date()[_0x211508(0x11c)]()-this[_0x211508(0x23f)]):this['_getSendChangesetTimeout']()),_0x19dec1;}throw _0x427cad[_0x211508(0x329)];}catch(_0x301545){return this[_0x211508(0x2c3)][_0x211508(0x329)](_0x301545),this['_onConflict'](!0x1);}}[_0xf37888(0x3db)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3b3484=_0xf37888;throw new Error(_0x3b3484(0x4ec));}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x8d4195=_0xf37888;return this[_0x8d4195(0x284)](),this['_injector'][_0x8d4195(0x3d0)](ye,this[_0x8d4195(0x24f)],this[_0x8d4195(0x1fd)],null,this[_0x8d4195(0x431)],this[_0x8d4195(0x132)]);}[_0xf37888(0x211)](){return this;}[_0xf37888(0x2df)](_0x647213){const _0x4526e4=_0xf37888,_0x5666b1=_0x647213!=null?_0x647213:this[_0x4526e4(0x40f)]();this[_0x4526e4(0x23f)]=new Date()[_0x4526e4(0x11c)](),this[_0x4526e4(0x3fc)]=window[_0x4526e4(0x486)](()=>{const _0x3124e1=_0x4526e4;this[_0x3124e1(0x284)]();let _0x2394f2=null;switch(this[_0x3124e1(0x1fd)]){case ce[_0x3124e1(0x19a)]:{_0x2394f2=Vs(this[_0x3124e1(0x431)],this['unitID'],this[_0x3124e1(0x1c2)],this[_0x3124e1(0x437)],this['_memberService']);break;}case ce[_0x3124e1(0x1c1)]:{this[_0x3124e1(0x431)][_0x3124e1(0x195)](_0x47408a=>_0x47408a['id']===_0x216675['id'])?_0x2394f2=vo(this[_0x3124e1(0x431)],this[_0x3124e1(0x24f)],this[_0x3124e1(0x1c2)],this['_revisionService'],this[_0x3124e1(0x1d0)]):_0x2394f2=Vs(this[_0x3124e1(0x431)],this[_0x3124e1(0x24f)],this[_0x3124e1(0x1c2)],this[_0x3124e1(0x437)],this['_memberService']);break;}default:throw new Error(_0x3124e1(0x394)+this[_0x3124e1(0x1fd)]+_0x3124e1(0x231));}const {changeset:_0x66bd2,pendingMutations:_0x4e843f}=_0x2394f2;this[_0x3124e1(0x132)]['onSendChangeset'](_0x66bd2);const _0xa4a968=_0x4e843f['length']?this[_0x3124e1(0x43d)][_0x3124e1(0x3d0)](ge,this[_0x3124e1(0x24f)],this[_0x3124e1(0x1fd)],_0x66bd2,_0x4e843f,this[_0x3124e1(0x132)],void 0x0):this[_0x3124e1(0x43d)][_0x3124e1(0x3d0)](Te,this[_0x3124e1(0x24f)],this['type'],_0x66bd2,this['_handler']);_0xa4a968[_0x3124e1(0x1be)](),this[_0x3124e1(0x132)][_0x3124e1(0x1d2)](this,_0xa4a968);},_0x5666b1);}[_0xf37888(0x40f)](){const _0x2a1132=_0xf37888;var _0x4f1b68;const _0x3efce8=this[_0x2a1132(0x1f2)][_0x2a1132(0x37a)](ie);return(_0x4f1b68=_0x3efce8==null?void 0x0:_0x3efce8[_0x2a1132(0x4dd)])!=null?_0x4f1b68:_r;}[_0xf37888(0x436)](){const _0x40674d=_0xf37888;throw new Error(_0x40674d(0x500));}[_0xf37888(0x284)](){const _0x44583b=_0xf37888;this[_0x44583b(0x3fc)]!=null&&(clearTimeout(this[_0x44583b(0x3fc)]),this[_0x44583b(0x3fc)]=null);}[_0xf37888(0x27e)](_0x215173){const _0x329a6b=_0xf37888;return this[_0x329a6b(0x284)](),this[_0x329a6b(0x43d)][_0x329a6b(0x3d0)](Re,this[_0x329a6b(0x24f)],this[_0x329a6b(0x1fd)],null,this[_0x329a6b(0x431)],this['_handler'],_0x215173);}};pe=Le([A(0x4,_0x39c8b8(_0x2fd08f)),A(0x5,_0x39c8b8(_0x304c49)),A(0x6,_0x39c8b8(q)),A(0x7,_0x39c8b8(Ne)),A(0x8,_0x399eca),A(0x9,_0x48fc43),A(0xa,_0x45a6b3),A(0xb,_0x36ceed),A(0xc,_0x6b8e83),A(0xd,_0x46b156)],pe);let Te=class extends $e{constructor(_0x74be91,_0x5abf1e,_0x2e8129,_0x3b9ce0,_0x4559b7,_0x443afd,_0x58bb00,_0x320ad1,_0x472740,_0x137eeb,_0x3630c9){const _0x355ebd=_0xf37888;super(_0x74be91,_0x5abf1e,_0x2e8129,[],_0x3b9ce0,_0x320ad1,_0x3630c9,_0x443afd,_0x58bb00),g(this,'status','awaiting'),g(this,'_resendTimeout',0x0),g(this,_0x355ebd(0x367)),g(this,'_sender'),(this[_0x355ebd(0x43d)]=_0x4559b7,this[_0x355ebd(0x2c3)]=_0x472740,this['_transformService']=_0x137eeb);}[_0xf37888(0x42d)](_0x18c25e){const _0x5c6bc5=_0xf37888;this[_0x5c6bc5(0x284)]();const _0x4cbac5=this['_injector'][_0x5c6bc5(0x3d0)](ge,this['unitID'],this[_0x5c6bc5(0x1fd)],this[_0x5c6bc5(0x19f)],[_0x18c25e],this[_0x5c6bc5(0x132)],this[_0x5c6bc5(0x367)]);return _0x4cbac5[_0x5c6bc5(0x1be)](),_0x4cbac5;}[_0xf37888(0x338)](_0x5d2830){const _0x1343e9=_0xf37888;if(this[_0x1343e9(0x3f4)](_0x5d2830))return this['_clearScheduledTask'](),this[_0x1343e9(0x43d)][_0x1343e9(0x3d0)](he,this[_0x1343e9(0x24f)],this[_0x1343e9(0x1fd)],this[_0x1343e9(0x19f)],[],null,[_0x5d2830],this['_handler']);try{const _0x28828c=this[_0x1343e9(0x310)][_0x1343e9(0x188)]([_0x5d2830],[this['_awaitingChangeset']],!0x1);if(_0x56533c(_0x28828c)){const {c1Prime:_0x37ec85,c2Prime:_0x3ced03}=_0x28828c;this[_0x1343e9(0x19b)](_0x37ec85[0x0]),_0x3ced03[0x0]['baseRev']=this[_0x1343e9(0x26a)](),this['_clearScheduledTask']();const _0x11d9cb=this[_0x1343e9(0x43d)][_0x1343e9(0x3d0)](Te,this['unitID'],this[_0x1343e9(0x1fd)],_0x3ced03[0x0],this[_0x1343e9(0x132)]);return _0x11d9cb[_0x1343e9(0x1be)](),_0x11d9cb;}return this[_0x1343e9(0x27e)](!0x1);}catch(_0x3d8b9c){return this['_logService']['error'](_0x3d8b9c),this[_0x1343e9(0x27e)](!0x1);}}['onRemoteAck'](_0x3ff62a){const _0x10ec1d=_0xf37888;this[_0x10ec1d(0x284)]();const _0x53e6a9=this[_0x10ec1d(0x437)]['getCurrentRevOfUnit'](this[_0x10ec1d(0x24f)]);if(_0x3ff62a[_0x10ec1d(0x4fc)]<_0x53e6a9-0x1)return this;if(this[_0x10ec1d(0x3f4)](_0x3ff62a))return this['_injector'][_0x10ec1d(0x3d0)](he,this[_0x10ec1d(0x24f)],this['type'],null,[],this[_0x10ec1d(0x19f)],[],this[_0x10ec1d(0x132)]);this[_0x10ec1d(0x2e3)]();const _0x4890b0=this[_0x10ec1d(0x43d)][_0x10ec1d(0x3d0)](Fe,this[_0x10ec1d(0x24f)],this['type'],this[_0x10ec1d(0x132)]);return _0x4890b0[_0x10ec1d(0x1be)](),_0x4890b0;}['onRemoteRej'](_0x4c5376){const _0x43a8d6=_0xf37888;return this[_0x43a8d6(0x27e)](!!(_0x4c5376!=null&&_0x4c5376[_0x43a8d6(0x1d1)]));}[_0xf37888(0x36a)](_0x455fef){const _0x34ea9a=_0xf37888;return this[_0x34ea9a(0x451)]>Ni?this[_0x34ea9a(0x3b9)]():(this[_0x34ea9a(0x367)]=Ui(this['_resendTimeout'],{'timeout':this[_0x34ea9a(0x451)],'reqId':_0x455fef['reqId']}),this[_0x34ea9a(0x29c)]=this[_0x34ea9a(0x367)][_0x34ea9a(0x236)](({reqId:_0x370a15,timeout:_0x19e098})=>{const _0x1ff6d9=_0x34ea9a;this[_0x1ff6d9(0x340)](_0x370a15,_0x19e098);}),this);}['toggleOffline'](){const _0x50cc03=_0xf37888;return this[_0x50cc03(0x284)](),this[_0x50cc03(0x43d)][_0x50cc03(0x3d0)](ye,this[_0x50cc03(0x24f)],this[_0x50cc03(0x1fd)],this['_awaitingChangeset'],[],this[_0x50cc03(0x132)]);}['toggleOnline'](){return this;}['resend'](){const _0x45bd11=_0xf37888;this[_0x45bd11(0x132)][_0x45bd11(0x34c)](this[_0x45bd11(0x19f)]);}['_onConflict'](_0x48b5b3){const _0x33e8b0=_0xf37888;return this[_0x33e8b0(0x284)](),this[_0x33e8b0(0x43d)][_0x33e8b0(0x3d0)](Re,this[_0x33e8b0(0x24f)],this[_0x33e8b0(0x1fd)],this[_0x33e8b0(0x19f)],[],this['_handler'],_0x48b5b3);}['_resendWithTimeout'](_0xdb6817,_0x4085f1){const _0x49c6ea=_0xf37888;var _0x14f8ee;_0xdb6817===((_0x14f8ee=this[_0x49c6ea(0x19f)])==null?void 0x0:_0x14f8ee[_0x49c6ea(0x262)])&&(this['resend'](),this['_resendTimeout']=_0x4085f1===0x0?0x3e8:_0x4085f1*0x2);}[_0xf37888(0x284)](){const _0x2784a9=_0xf37888;var _0x5c1c58;(_0x5c1c58=this[_0x2784a9(0x29c)])==null||_0x5c1c58['unsubscribe'](),this[_0x2784a9(0x451)]=0x0;}};Te=Le([A(0x4,_0x39c8b8(_0x2fd08f)),A(0x5,_0x39c8b8(_0x304c49)),A(0x6,_0x39c8b8(q)),A(0x7,_0x48fc43),A(0x8,_0x399eca),A(0x9,_0x36ceed),A(0xa,_0x46b156)],Te);let ge=class extends $e{constructor(_0x1d4c8d,_0x4dae98,_0x87c354,_0x49ef95,_0x53aee7,_0x50053f,_0x22da54,_0x414f80,_0x51ed46,_0x83e4a1,_0x186de3,_0x132768,_0x2b0a4f){const _0x289eeb=_0xf37888;super(_0x1d4c8d,_0x4dae98,_0x87c354,_0x49ef95,_0x53aee7,_0x83e4a1,_0x2b0a4f,_0x414f80,_0x51ed46),g(this,_0x289eeb(0x4a1),_0x289eeb(0x27a)),g(this,_0x289eeb(0x451),0x0),g(this,_0x289eeb(0x367)),g(this,_0x289eeb(0x29c)),(this[_0x289eeb(0x43d)]=_0x22da54,this[_0x289eeb(0x2c3)]=_0x186de3,this[_0x289eeb(0x310)]=_0x132768,_0x50053f&&(this[_0x289eeb(0x367)]=_0x50053f,this[_0x289eeb(0x29c)]=this[_0x289eeb(0x367)][_0x289eeb(0x236)](({reqId:_0x4498fb,timeout:_0x31f0cb})=>{const _0x112258=_0x289eeb;this[_0x112258(0x340)](_0x4498fb,_0x31f0cb);})));}[_0xf37888(0x42d)](_0xa842fe){const _0x10d0fe=_0xf37888;return this[_0x10d0fe(0x431)][_0x10d0fe(0x270)](_0xa842fe),this;}[_0xf37888(0x338)](_0x298c3e){const _0x5667ef=_0xf37888;if(this[_0x5667ef(0x3f4)](_0x298c3e))return this['_clearScheduledTask'](),this[_0x5667ef(0x43d)][_0x5667ef(0x3d0)](he,this[_0x5667ef(0x24f)],this[_0x5667ef(0x1fd)],this[_0x5667ef(0x19f)],this[_0x5667ef(0x431)],null,[_0x298c3e],this[_0x5667ef(0x132)]);try{const _0x14cbec=this[_0x5667ef(0x310)][_0x5667ef(0x188)]([_0x298c3e],[this[_0x5667ef(0x19f)]],!0x1);if(_0x56533c(_0x14cbec)){const {c1Prime:_0x5ab9d4,c2Prime:_0x22f6bf}=_0x14cbec,_0x22f238=this[_0x5667ef(0x310)]['transformMutationsWithChangeset'](_0x5ab9d4[0x0],this[_0x5667ef(0x431)]);if(_0x2de823(_0x22f238)){const {c1Prime:_0x474376,m2Prime:_0x502788}=_0x22f238;return this['_executeRemoteChangeset'](_0x474376),_0x22f6bf[0x0][_0x5667ef(0x4db)]=this[_0x5667ef(0x26a)](),this['_clearScheduledTask'](),this['_injector'][_0x5667ef(0x3d0)](ge,this[_0x5667ef(0x24f)],this[_0x5667ef(0x1fd)],_0x22f6bf[0x0],_0x502788,this[_0x5667ef(0x132)],void 0x0);}throw _0x22f238[_0x5667ef(0x329)];}throw _0x14cbec[_0x5667ef(0x329)];}catch(_0x5e32e4){return this[_0x5667ef(0x2c3)][_0x5667ef(0x329)](_0x5e32e4),this[_0x5667ef(0x27e)](!0x1);}}[_0xf37888(0x3db)](_0x2c5680){const _0x3ebe09=_0xf37888;if(this[_0x3ebe09(0x284)](),this[_0x3ebe09(0x3f4)](_0x2c5680))return this[_0x3ebe09(0x43d)][_0x3ebe09(0x3d0)](he,this[_0x3ebe09(0x24f)],this['type'],null,this[_0x3ebe09(0x431)],this[_0x3ebe09(0x19f)],[],this[_0x3ebe09(0x132)]);this[_0x3ebe09(0x2e3)]();const _0x4c56fc=this['_injector']['createInstance'](pe,this[_0x3ebe09(0x24f)],this[_0x3ebe09(0x1fd)],this[_0x3ebe09(0x431)],this[_0x3ebe09(0x132)]);return _0x4c56fc[_0x3ebe09(0x2df)](),_0x4c56fc['_updateLocalCache'](),_0x4c56fc;}['onRemoteRej'](_0x35f726){const _0x1ca4f4=_0xf37888;return this['_onConflict'](!!(_0x35f726!=null&&_0x35f726[_0x1ca4f4(0x1d1)]));}[_0xf37888(0x36a)](_0x5433e6){const _0x5ed2e5=_0xf37888;return this[_0x5ed2e5(0x451)]>Ni?this[_0x5ed2e5(0x3b9)]():(this[_0x5ed2e5(0x367)]=Ui(this[_0x5ed2e5(0x451)],{'timeout':this[_0x5ed2e5(0x451)],'reqId':_0x5433e6[_0x5ed2e5(0x262)]}),this[_0x5ed2e5(0x29c)]=this[_0x5ed2e5(0x367)][_0x5ed2e5(0x236)](({reqId:_0x499830,timeout:_0x23b07c})=>{const _0xe92610=_0x5ed2e5;this[_0xe92610(0x340)](_0x499830,_0x23b07c);}),this);}[_0xf37888(0x3b9)](){const _0x1206e7=_0xf37888;return this['_clearScheduledTask'](),this[_0x1206e7(0x43d)][_0x1206e7(0x3d0)](ye,this[_0x1206e7(0x24f)],this[_0x1206e7(0x1fd)],this[_0x1206e7(0x19f)],this[_0x1206e7(0x431)],this['_handler']);}['toggleOnline'](){return this;}[_0xf37888(0x436)](){const _0x5ebb18=_0xf37888;this[_0x5ebb18(0x132)][_0x5ebb18(0x34c)](this[_0x5ebb18(0x19f)]);}[_0xf37888(0x27e)](_0x1083be){const _0x369e3b=_0xf37888;return this[_0x369e3b(0x284)](),this[_0x369e3b(0x43d)][_0x369e3b(0x3d0)](Re,this[_0x369e3b(0x24f)],this['type'],null,this[_0x369e3b(0x431)],this['_handler'],_0x1083be);}[_0xf37888(0x340)](_0x343b82,_0x2dd2d2){const _0x3049b2=_0xf37888;var _0x274b86;_0x343b82===((_0x274b86=this[_0x3049b2(0x19f)])==null?void 0x0:_0x274b86[_0x3049b2(0x262)])&&(this['resend'](),this[_0x3049b2(0x451)]=_0x2dd2d2===0x0?0x3e8:_0x2dd2d2*0x2);}[_0xf37888(0x284)](){const _0x527304=_0xf37888;var _0x25ea6d;(_0x25ea6d=this[_0x527304(0x29c)])==null||_0x25ea6d[_0x527304(0x308)](),this[_0x527304(0x451)]=0x0;}};ge=Le([A(0x6,_0x39c8b8(_0x2fd08f)),A(0x7,_0x39c8b8(_0x304c49)),A(0x8,_0x39c8b8(q)),A(0x9,_0x48fc43),A(0xa,_0x399eca),A(0xb,_0x36ceed),A(0xc,_0x46b156)],ge);let Re=class extends $e{constructor(_0x2029c4,_0x3f2d9b,_0xc14c3a,_0x391f49,_0x301945,_0x14be6c=!0x1,_0x480f06,_0x590c0f,_0x3dbb99,_0x4cb38f,_0x4ab47b,_0x285cdb,_0x28edb2){const _0x56e45b=_0xf37888;super(_0x2029c4,_0x3f2d9b,_0xc14c3a,_0x391f49,_0x301945,_0x590c0f,_0x3dbb99,_0x4ab47b,_0x4cb38f),g(this,_0x56e45b(0x4a1),_0x56e45b(0x4f4)),(this['_isPermissionRej']=_0x14be6c,this[_0x56e45b(0x4b2)]=_0x480f06,this[_0x56e45b(0x428)]=_0x285cdb,this[_0x56e45b(0x257)]=_0x28edb2,this[_0x56e45b(0x35e)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0xf37888(0x42d)](){return this;}[_0xf37888(0x338)](){return this;}[_0xf37888(0x3db)](){return this;}[_0xf37888(0x46f)](){return this;}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){return this;}[_0xf37888(0x211)](){return this;}[_0xf37888(0x436)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf37888(0x212)](){const _0x4bb4b5=_0xf37888;this[_0x4bb4b5(0x324)][_0x4bb4b5(0x22b)](this['unitID'],this[_0x4bb4b5(0x1fd)],null,[]);}[_0xf37888(0x35e)](){const _0x17e427=_0xf37888;this[_0x17e427(0x140)]?this[_0x17e427(0x257)][_0x17e427(0x228)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x17e427(0x4e3)),'type':_0x17e427(0x329),'duration':0x0}):this[_0x17e427(0x257)][_0x17e427(0x228)]({'title':this[_0x17e427(0x428)]['t']('conflict.title'),'content':this[_0x17e427(0x428)]['t'](_0x17e427(0x3e7)),'type':'error','duration':0x0});}[_0xf37888(0x322)](){const _0x113e8b=_0xf37888;this[_0x113e8b(0x4b2)][_0x113e8b(0x31f)](new _0x57c2ed(this[_0x113e8b(0x24f)])['id'],!0x1);}};Re=Le([A(0x6,_0x39c8b8(_0x19df2d)),A(0x7,_0x48fc43),A(0x8,_0x46b156),A(0x9,_0x39c8b8(q)),A(0xa,_0x39c8b8(_0x304c49)),A(0xb,_0x39c8b8(_0x50f35b)),A(0xc,_0x5158a3)],Re);let ye=class extends $e{constructor(_0x333174,_0x1e7f77,_0x360911,_0x266d89,_0x4749d0,_0x4d5b73,_0x3a2a69,_0x39ff56,_0x2ad4e7,_0x47f9a9){const _0x2cd564=_0xf37888;super(_0x333174,_0x1e7f77,_0x360911,_0x266d89,_0x4749d0,_0x2ad4e7,_0x47f9a9,_0x3a2a69,_0x39ff56),g(this,_0x2cd564(0x4a1),_0x2cd564(0x2c7)),this['_injector']=_0x4d5b73;}[_0xf37888(0x42d)](_0xa3efa4){const _0x44b31b=_0xf37888;return this[_0x44b31b(0x431)][_0x44b31b(0x270)](_0xa3efa4),this['_updateLocalCache'](),this;}[_0xf37888(0x338)](_0x2429dc){const _0x510a06=_0xf37888;throw new Error(_0x510a06(0x197));}[_0xf37888(0x3db)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xf37888(0x46f)](){const _0x29f9e4=_0xf37888;throw new Error(_0x29f9e4(0x29f));}[_0xf37888(0x36a)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0xe78119=_0xf37888,{_injector:_0x1b4f95,_pendingMutations:_0x48dab0,_awaitingChangeset:_0x3c7e23,unitID:_0x3e97d6,_handler:_0x54d318,type:_0x4aa685}=this,_0x378f98=Ai(_0x1b4f95,_0x3e97d6,_0x4aa685,_0x3c7e23,_0x48dab0,_0x54d318);return _0x378f98 instanceof pe?_0x378f98[_0xe78119(0x2df)]():(_0x378f98 instanceof ge||_0x378f98 instanceof Te)&&_0x378f98[_0xe78119(0x436)](),_0x378f98;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x39c8b8(_0x2fd08f)),A(0x6,_0x39c8b8(_0x304c49)),A(0x7,_0x39c8b8(q)),A(0x8,_0x48fc43),A(0x9,_0x46b156)],ye);let he=class extends $e{constructor(_0x375a72,_0x4d10c2,_0x3ef4c5,_0x1ef9c0,_0x129268,_0x1a521e,_0x13d40f,_0xa368c6,_0x410656,_0x2a60a1,_0x1cf6cb,_0x22cc37,_0x20219a,_0xcc5fff){const _0x4b8e0e=_0xf37888;super(_0x375a72,_0x4d10c2,_0x3ef4c5,_0x1ef9c0,_0x13d40f,_0x22cc37,_0x20219a,_0x410656,_0x2a60a1),g(this,'status',_0x4b8e0e(0x1ac)),(this[_0x4b8e0e(0x326)]=_0x129268,this[_0x4b8e0e(0x2f3)]=_0x1a521e,this[_0x4b8e0e(0x43d)]=_0xa368c6,this[_0x4b8e0e(0x2c3)]=_0x1cf6cb,this[_0x4b8e0e(0x310)]=_0xcc5fff);}[_0xf37888(0x487)](_0x1baaae){const _0x39c5d9=_0xf37888;try{const _0xa632c7=[..._0x1baaae,...this['_queuedRemoteChangesets']],_0x344a95=[this[_0x39c5d9(0x19f)]||this[_0x39c5d9(0x326)]][_0x39c5d9(0x4b4)](_0x383a42=>!!_0x383a42);let _0x5cabb6,_0x51946b;if(_0x344a95['length']){const _0x2a667d=this['_transformService']['transformChangesets'](_0xa632c7,_0x344a95,!0x1);if(!_0x56533c(_0x2a667d))throw _0x2a667d[_0x39c5d9(0x329)];_0x5cabb6=_0x2a667d[_0x39c5d9(0x19e)],_0x51946b=_0x2a667d[_0x39c5d9(0x39a)];}else _0x5cabb6=_0xa632c7,_0x51946b=[];let _0x2b8bc4=this[_0x39c5d9(0x431)];_0x5cabb6[_0x39c5d9(0x321)](_0x5a0df9=>{const _0x4263d8=_0x39c5d9;let _0x238607;if(_0x2b8bc4['length']){const _0x55ace1=this[_0x4263d8(0x310)][_0x4263d8(0x134)](_0x5a0df9,_0x2b8bc4);if(!_0x2de823(_0x55ace1))throw _0x55ace1['error'];_0x238607=_0x55ace1[_0x4263d8(0x19e)],_0x2b8bc4=_0x55ace1[_0x4263d8(0x44b)];}else _0x238607=_0x5a0df9;this[_0x4263d8(0x19b)](_0x238607);}),this[_0x39c5d9(0x326)]&&this[_0x39c5d9(0x2e3)](),this['_awaitingChangeset']&&_0x51946b[_0x39c5d9(0x42c)]&&(_0x51946b[0x0][_0x39c5d9(0x4db)]=this[_0x39c5d9(0x26a)]());let _0x3afa60;if(this['_awaitingChangeset']&&_0x2b8bc4['length']!==0x0)_0x3afa60=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](ge,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],_0x51946b[0x0],_0x2b8bc4,this[_0x39c5d9(0x132)],void 0x0);else{if(this[_0x39c5d9(0x19f)]&&_0x2b8bc4[_0x39c5d9(0x42c)]===0x0)_0x51946b[0x0][_0x39c5d9(0x4db)]=this['_getCurrentRevision'](),_0x3afa60=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](Te,this['unitID'],this[_0x39c5d9(0x1fd)],_0x51946b[0x0],this[_0x39c5d9(0x132)]);else{if(_0x2b8bc4[_0x39c5d9(0x42c)]!==0x0){const _0x12ee0d=this[_0x39c5d9(0x43d)][_0x39c5d9(0x3d0)](pe,this[_0x39c5d9(0x24f)],this['type'],_0x2b8bc4,this[_0x39c5d9(0x132)]);_0x12ee0d['_schedule'](),_0x3afa60=_0x12ee0d;}else _0x3afa60=this['_injector'][_0x39c5d9(0x3d0)](Fe,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],this[_0x39c5d9(0x132)]);}}return _0x3afa60[_0x39c5d9(0x1be)](),_0x3afa60;}catch(_0x590211){return this[_0x39c5d9(0x2c3)][_0x39c5d9(0x329)](_0x39c5d9(0x2e1),_0x39c5d9(0x26f),_0x590211),this[_0x39c5d9(0x43d)]['createInstance'](Re,this[_0x39c5d9(0x24f)],this[_0x39c5d9(0x1fd)],this['_awaitingChangeset'],this[_0x39c5d9(0x431)],this[_0x39c5d9(0x132)],!0x1);}}[_0xf37888(0x436)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf37888(0x42d)](_0x5b90ad){const _0x34bf29=_0xf37888;return this[_0x34bf29(0x431)][_0x34bf29(0x270)](_0x5b90ad),this;}[_0xf37888(0x338)](_0x291659){const _0x554c2d=_0xf37888;return this[_0x554c2d(0x2f3)][_0x554c2d(0x270)](_0x291659),this;}[_0xf37888(0x3db)](_0x396bfe){const _0x32676a=_0xf37888;if(this[_0x32676a(0x19f)])return this[_0x32676a(0x326)]=this['_awaitingChangeset'],this[_0x32676a(0x19f)]=null,this;throw new Error(_0x32676a(0x34b));}['onRemoteRej'](_0x498df9){const _0x56de70=_0xf37888;return this[_0x56de70(0x27e)](!!(_0x498df9!=null&&_0x498df9[_0x56de70(0x1d1)]));}[_0xf37888(0x36a)](){return this;}[_0xf37888(0x3b9)](){const _0x144509=_0xf37888;return this['_injector'][_0x144509(0x3d0)](ye,this[_0x144509(0x24f)],this['type'],this['_awaitingChangeset'],this[_0x144509(0x431)],this['_handler']);}[_0xf37888(0x211)](){return this;}[_0xf37888(0x27e)](_0x3f1376){const _0x24c64b=_0xf37888;return this['_injector'][_0x24c64b(0x3d0)](Re,this[_0x24c64b(0x24f)],this[_0x24c64b(0x1fd)],this[_0x24c64b(0x19f)],this['_pendingMutations'],this[_0x24c64b(0x132)],_0x3f1376);}};he=Le([A(0x7,_0x39c8b8(_0x2fd08f)),A(0x8,_0x39c8b8(_0x304c49)),A(0x9,_0x39c8b8(q)),A(0xa,_0x399eca),A(0xb,_0x48fc43),A(0xc,_0x46b156),A(0xd,_0x36ceed)],he);function Ai(_0x3336d7,_0x2301dc,_0x49b1a3,_0x3636c8,_0x252fb2,_0x22758c){const _0x435b86=_0xf37888;return _0x3636c8&&_0x252fb2[_0x435b86(0x42c)]?_0x3336d7['createInstance'](ge,_0x2301dc,_0x49b1a3,_0x3636c8,_0x252fb2,_0x22758c,void 0x0):_0x3636c8?_0x3336d7['createInstance'](Te,_0x2301dc,_0x49b1a3,_0x3636c8,_0x22758c):_0x252fb2[_0x435b86(0x42c)]?_0x3336d7[_0x435b86(0x3d0)](pe,_0x2301dc,_0x49b1a3,_0x252fb2,_0x22758c):_0x3336d7[_0x435b86(0x3d0)](Fe,_0x2301dc,_0x49b1a3,_0x22758c);}var So=Object['defineProperty'],Io=Object[_0xf37888(0x26b)],Es=(_0x32f30b,_0x2d9939,_0x229055,_0x171b22)=>{const _0x546702=_0xf37888;for(var _0x5df276=_0x171b22>0x1?void 0x0:_0x171b22?Io(_0x2d9939,_0x229055):_0x2d9939,_0x37014f=_0x32f30b[_0x546702(0x42c)]-0x1,_0x48d84f;_0x37014f>=0x0;_0x37014f--)(_0x48d84f=_0x32f30b[_0x37014f])&&(_0x5df276=(_0x171b22?_0x48d84f(_0x2d9939,_0x229055,_0x5df276):_0x48d84f(_0x5df276))||_0x5df276);return _0x171b22&&_0x5df276&&So(_0x2d9939,_0x229055,_0x5df276),_0x5df276;},H=(_0x48a2e4,_0x30dfeb)=>(_0xeb67e8,_0x1cc93d)=>_0x30dfeb(_0xeb67e8,_0x1cc93d,_0x48a2e4);let gt=class extends _0x3c16d2{constructor(_0x5adce2,_0x186ea6,_0x30bf7c,_0x429947,_0x22562b,_0x3a9968,_0x2107e7,_0x3deb68,_0x37cb02,_0x590246,_0xf92d87,_0x3f096d,_0x91c4f){const _0x2aed07=_0xf37888;super(),g(this,_0x2aed07(0x32f),new _0x7465ad(null)),g(this,_0x2aed07(0x2b9),this[_0x2aed07(0x32f)][_0x2aed07(0x2cf)]()),g(this,_0x2aed07(0x38e)),g(this,_0x2aed07(0x505),!0x1),g(this,'_changesetSessionId',''),g(this,_0x2aed07(0x3c6),0x0),g(this,_0x2aed07(0x263),this[_0x2aed07(0x2b9)][_0x2aed07(0x3bf)](_0x1af8db(_0x11fade=>_0x11fade?_0x11fade[_0x2aed07(0x4a1)]:J['OFFLINE']),_0xac7976(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x2aed07(0x4d2),[]),(this['unitID']=_0x5adce2,this['session']=_0x186ea6,this['_type']=_0x30bf7c,this[_0x2aed07(0x43d)]=_0x429947,this[_0x2aed07(0x324)]=_0x22562b,this['_compressMutationService']=_0x3a9968,this[_0x2aed07(0x428)]=_0x2107e7,this['_revisionService']=_0x3deb68,this[_0x2aed07(0x2c3)]=_0x37cb02,this[_0x2aed07(0x1fb)]=_0x590246,this[_0x2aed07(0x3a9)]=_0xf92d87,this[_0x2aed07(0x4b2)]=_0x3f096d,this[_0x2aed07(0x48c)]=_0x91c4f);}get[_0xf37888(0x2e5)](){return this['_state'];}async['init'](){const _0x2f7ef8=_0xf37888;if(this[_0x2f7ef8(0x2e5)])throw new Error(_0x2f7ef8(0x1d3));await this['_init']();}[_0xf37888(0x162)](){const _0x5f2ad8=_0xf37888;return this[_0x5f2ad8(0x505)]=!0x0,_0x5b8af0(()=>{const _0x3a1106=_0x5f2ad8;this[_0x3a1106(0x505)]=!0x1,this[_0x3a1106(0x43f)]();});}[_0xf37888(0x30d)](_0x449920){const _0x3d7072=_0xf37888;this[_0x3d7072(0x38e)]=_0x449920,this['_state$']['next'](_0x449920);}async[_0xf37888(0x406)](){const _0x36541d=_0xf37888;var _0x5c4ee6;this[_0x36541d(0x30d)](await this[_0x36541d(0x138)]()),this[_0x36541d(0x48c)]&&((_0x5c4ee6=this['_singleActiveUnitService'])==null||_0x5c4ee6[_0x36541d(0x1f8)](this['unitID']),this['disposeWithMe'](this['_singleActiveUnitService'][_0x36541d(0x3e4)](this[_0x36541d(0x24f)])[_0x36541d(0x236)](_0x4d5802=>{const _0x1088e0=_0x36541d;this['_logService']['debug'](_0x1088e0(0x2b8),_0x1088e0(0x3c3),_0x4d5802),_0x4d5802===Di[_0x1088e0(0x280)]?(this['_messageService']['show']({'content':this[_0x1088e0(0x428)]['t'](_0x1088e0(0x4a9)),'type':_0x30a0d6[_0x1088e0(0x22f)]}),this[_0x1088e0(0x4b2)][_0x1088e0(0x31f)](new _0x57c2ed(this['unitID'])['id'],!0x1),this[_0x1088e0(0x4b2)][_0x1088e0(0x40a)](!0x1)):(this[_0x1088e0(0x4b2)][_0x1088e0(0x31f)](new _0x57c2ed(this[_0x1088e0(0x24f)])['id'],!0x0),this[_0x1088e0(0x4b2)][_0x1088e0(0x40a)](!0x0));})));let _0x1abe28=!0x1;return this['disposeWithMe'](this[_0x36541d(0x429)][_0x36541d(0x3e3)][_0x36541d(0x236)](_0x16ccf9=>{const _0x303f20=_0x36541d;_0x16ccf9===ve[_0x303f20(0x312)]?this['_toggleOnline'](_0x1abe28):_0x16ccf9===ve[_0x303f20(0x33c)]&&(_0x1abe28=!0x0,this['_toggleOffline']());})),this[_0x36541d(0x3ec)](this[_0x36541d(0x429)][_0x36541d(0x3c5)][_0x36541d(0x236)](_0x185298=>{const _0x4638bc=_0x36541d;try{switch(_0x185298[_0x4638bc(0x214)]){case _0x3c3869[_0x4638bc(0x3ce)]:{this['_onRemoteChangeset'](_0x411b74(_0x185298[_0x4638bc(0x1cc)]));break;}case _0x3c3869[_0x4638bc(0x309)]:{this[_0x4638bc(0x480)](_0x185298['data']);break;}case _0x3c3869[_0x4638bc(0x345)]:{this[_0x4638bc(0x513)]();break;}case _0x3c3869['CHANGESET_SHOULD_RETRY']:{this[_0x4638bc(0x1c3)](_0x185298[_0x4638bc(0x1cc)]);break;}case _0x3c3869[_0x4638bc(0x11d)]:{this[_0x4638bc(0x294)](_0x185298[_0x4638bc(0x1cc)][_0x4638bc(0x4ae)][_0x4638bc(0x41b)](_0x40737b=>_0x411b74(_0x40737b)));break;}case _0x3c3869['PERMISSION_REJ']:this[_0x4638bc(0x513)]({'isPermissionRej':!0x0});}}catch(_0x156271){throw console[_0x4638bc(0x329)]('Error\x20on\x20receiving\x20event',_0x156271),_0x156271;}})),this[_0x36541d(0x38e)];}[_0xf37888(0x1bb)](){const _0xa4a429=_0xf37888;this[_0xa4a429(0x15c)]=!0x1;}[_0xf37888(0x471)](){const _0x5778ac=_0xf37888;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5778ac(0x15c)]=!0x0;}['_onLocalMutation'](_0x4a9a81){const _0x17c789=_0xf37888;this['_lockTransition'](),this[_0x17c789(0x30d)](this['_state'][_0x17c789(0x42d)](_0x4a9a81)),this[_0x17c789(0x1bb)]();}['_onRemoteChangeset'](_0x111f17){const _0x33526e=_0xf37888;if(!(_0x111f17[_0x33526e(0x4fc)]<=this[_0x33526e(0x437)]['getCurrentRevOfUnit'](this['unitID']))){if(this['_collaborationPaused']){this[_0x33526e(0x4d2)]['push'](_0x111f17);return;}this[_0x33526e(0x1b9)](_0x111f17);}}[_0xf37888(0x43f)](){const _0x577423=_0xf37888;this[_0x577423(0x4d2)][_0x577423(0x321)](_0x5b4bc3=>this[_0x577423(0x1b9)](_0x5b4bc3)),this[_0x577423(0x4d2)]=[];}[_0xf37888(0x1b9)](_0xb51458){const _0x503b29=_0xf37888,_0x3f9ef9=this[_0x503b29(0x2ab)][_0x503b29(0x49b)][_0x503b29(0x174)](this[_0x503b29(0x2ab)][_0x503b29(0x49b)][_0x503b29(0x395)]()['COMPRESS_MUTATION_APPLY'])(_0xb51458[_0x503b29(0x372)],null)||_0xb51458[_0x503b29(0x372)],_0x554673={..._0xb51458,'mutations':_0x3f9ef9};this[_0x503b29(0x471)](),this[_0x503b29(0x30d)](this[_0x503b29(0x38e)][_0x503b29(0x338)](_0x554673)),this[_0x503b29(0x1bb)]();}[_0xf37888(0x480)](_0x5426c6){const _0x1c7fc3=_0xf37888;this[_0x1c7fc3(0x471)](),this[_0x1c7fc3(0x30d)](this[_0x1c7fc3(0x38e)][_0x1c7fc3(0x3db)](_0x5426c6)),this[_0x1c7fc3(0x1bb)]();}[_0xf37888(0x513)](_0x2688f6){const _0x4160ab=_0xf37888;this[_0x4160ab(0x471)](),this[_0x4160ab(0x30d)](this[_0x4160ab(0x38e)]['onRemoteRej'](_0x2688f6)),this[_0x4160ab(0x1bb)]();}[_0xf37888(0x1c3)](_0x149f59){const _0x517159=_0xf37888;this['_lockTransition'](),this[_0x517159(0x30d)](this[_0x517159(0x38e)][_0x517159(0x36a)](_0x149f59)),this[_0x517159(0x1bb)]();}[_0xf37888(0x294)](_0x484665){const _0x53d968=_0xf37888;if(!(this[_0x53d968(0x38e)]instanceof he))throw new TypeError(_0x53d968(0x31c));const _0x5a3720=_0x484665[_0x53d968(0x41b)](_0x402946=>{const _0x39d29e=_0x53d968,_0x3e3833=this[_0x39d29e(0x2ab)][_0x39d29e(0x49b)][_0x39d29e(0x174)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x39d29e(0x3ff)])(_0x402946['mutations'],null)||_0x402946[_0x39d29e(0x372)];return{..._0x402946,'mutations':_0x3e3833};});this['_lockTransition'](),this[_0x53d968(0x30d)](this[_0x53d968(0x38e)][_0x53d968(0x487)](_0x5a3720)),this['_unlockTransition']();}[_0xf37888(0x392)](){const _0x4f2335=_0xf37888;this[_0x4f2335(0x471)](),this['_updateState'](this['_state'][_0x4f2335(0x3b9)]()),this['_unlockTransition']();}[_0xf37888(0x150)](_0x130021=!0x1){const _0x2830ea=_0xf37888;this[_0x2830ea(0x471)](),this['_updateState'](this['_state'][_0x2830ea(0x211)]()),this['_unlockTransition']();const _0x154b91=this[_0x2830ea(0x38e)];_0x130021&&_0x154b91 instanceof Fe&&(this['_lockTransition'](),this['_updateState'](_0x154b91[_0x2830ea(0x22c)]()),this[_0x2830ea(0x1bb)]());}async[_0xf37888(0x138)](){return new Promise(_0x2303a0=>{const _0x398ee5=_0x136c;this['session'][_0x398ee5(0x3e3)][_0x398ee5(0x3bf)](_0x5f06ad(0x1))['subscribe'](async _0x4458d2=>{const _0x573057=_0x398ee5;_0x2303a0(await this[_0x573057(0x4f3)](_0x4458d2===ve[_0x573057(0x312)]));});});}[_0xf37888(0x3e6)](){const _0x27174b=_0xf37888,_0x4cad0a=this[_0x27174b(0x24f)];return{'onStateChange':(_0x1c4e49,_0x1883dc)=>{const _0x2728d6=_0x27174b;if(_0x1c4e49!==this[_0x2728d6(0x38e)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1c4e49['status']+_0x2728d6(0x2a7)+_0x1883dc['status']+_0x2728d6(0x414)+this[_0x2728d6(0x38e)][_0x2728d6(0x4a1)]);this[_0x2728d6(0x30d)](_0x1883dc);},'onSendChangeset':_0x4ddc57=>{const _0x4491dd=_0x27174b;_0x4ddc57[_0x4491dd(0x46e)]||(_0x4ddc57[_0x4491dd(0x46e)]=this[_0x4491dd(0x25d)],_0x4ddc57[_0x4491dd(0x262)]=++this[_0x4491dd(0x3c6)]);const _0x49291e={'eventID':_0x3c3869[_0x4491dd(0x1f3)],'data':{'unitID':_0x4ddc57[_0x4491dd(0x24f)],'unitType':this[_0x4491dd(0x514)],'changeset':_0x4ddc57,'memberID':this[_0x4491dd(0x429)]['getMemberID']()}};this[_0x4491dd(0x429)][_0x4491dd(0x512)](_0x49291e,this[_0x4491dd(0x24f)]);},'onMissingChangesets':({from:_0x312282,to:_0x297953})=>{const _0x3f9e69=_0x27174b;this[_0x3f9e69(0x2c3)][_0x3f9e69(0x13c)](_0x3f9e69(0x2b8),_0x3f9e69(0x167)+_0x312282+'\x20to\x20'+_0x297953);const _0xde8e79={'eventID':_0x3c3869[_0x3f9e69(0x44f)],'data':{'unitID':_0x4cad0a,'unitType':this[_0x3f9e69(0x514)],'from':_0x312282,'to':_0x297953}};this[_0x3f9e69(0x429)][_0x3f9e69(0x512)](_0xde8e79,this['unitID']);}};}async['_createInitialStateImpl'](_0x426c36){const _0x17a1f0=_0xf37888;var _0x5a588c,_0x3c2ef5;const _0x43971b=await this['_localCacheService'][_0x17a1f0(0x40e)](this[_0x17a1f0(0x24f)]),_0x42a188=(_0x5a588c=_0x43971b==null?void 0x0:_0x43971b['mutations'])!=null?_0x5a588c:[],_0x2b4b77=(_0x3c2ef5=_0x43971b==null?void 0x0:_0x43971b[_0x17a1f0(0x2b6)])!=null?_0x3c2ef5:null,_0x15f864=!!(_0x2b4b77!=null&&_0x2b4b77[_0x17a1f0(0x46e)])&&!!(_0x2b4b77!=null&&_0x2b4b77['reqId']);this[_0x17a1f0(0x25d)]=_0x15f864?_0x2b4b77[_0x17a1f0(0x46e)]:zr(),this[_0x17a1f0(0x3c6)]=_0x15f864?_0x2b4b77['reqId']:0x0;const _0x1a5c76=this[_0x17a1f0(0x24f)];try{this[_0x17a1f0(0x3a6)](_0x2b4b77,_0x42a188);}catch(_0xf3890a){this[_0x17a1f0(0x2c3)][_0x17a1f0(0x329)](_0xf3890a);}const _0x2a524a=this[_0x17a1f0(0x3e6)]();if(_0x426c36){const _0x204342=Ai(this['_injector'],_0x1a5c76,this[_0x17a1f0(0x514)],_0x2b4b77,_0x42a188,_0x2a524a);return _0x204342 instanceof pe?_0x204342[_0x17a1f0(0x2df)]():(_0x204342 instanceof ge||_0x204342 instanceof Te)&&_0x204342['resend'](),_0x204342;}return this[_0x17a1f0(0x43d)][_0x17a1f0(0x3d0)](ye,_0x1a5c76,this['_type'],_0x2b4b77,_0x42a188,_0x2a524a);}[_0xf37888(0x3a6)](_0x26eb3b,_0x16ed00){const _0x3c4c54=_0xf37888;var _0x150e9c,_0x4867c5;const _0xf02e34=this[_0x3c4c54(0x2ab)][_0x3c4c54(0x49b)][_0x3c4c54(0x174)](this['_compressMutationService'][_0x3c4c54(0x49b)][_0x3c4c54(0x395)]()[_0x3c4c54(0x3ff)]);(_0x150e9c=_0xf02e34((_0x26eb3b==null?void 0x0:_0x26eb3b[_0x3c4c54(0x372)])||[],null))==null||_0x150e9c[_0x3c4c54(0x321)](_0x31d3e7=>this[_0x3c4c54(0x1fb)]['executeCommand'](_0x31d3e7['id'],_0x31d3e7[_0x3c4c54(0x274)])),(_0x4867c5=_0xf02e34(_0x16ed00||[],null))==null||_0x4867c5[_0x3c4c54(0x321)](_0xfa6f68=>this['_commandService']['executeCommand'](_0xfa6f68['id'],_0xfa6f68[_0x3c4c54(0x274)]));}};gt=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x399eca),H(0x9,_0x48fc43),H(0xa,_0xffafbc),H(0xb,_0x19df2d),H(0xc,_0x174482(Rt))],gt);let ss=class extends gt{constructor(_0x182175,_0x2ffb9a,_0x4df09d,_0x251218,_0x41f49a,_0x1a3bcd,_0x3cefac,_0x414a70,_0x4e9450,_0x4bdeba,_0x524a8f,_0x25dd37,_0x1ab093,_0x104f8d,_0x490a96,_0x2cb77b,_0x551ce5,_0x2209bd){const _0x3cbd48=_0xf37888;super(_0x182175,_0x4df09d,_0x2ffb9a,_0x251218,_0x41f49a,_0x1a3bcd,_0x3cefac,_0x414a70,_0x104f8d,_0x490a96,_0x2cb77b,_0x551ce5,_0x2209bd),this[_0x3cbd48(0x24f)]=_0x182175,this[_0x3cbd48(0x1fd)]=_0x2ffb9a,this['_docStateChangeManagerService']=_0x4e9450,this['_docTransformIMECacheService']=_0x4bdeba,this['_docTransformStateCacheService']=_0x524a8f,this['_docTransformSelectionsService']=_0x25dd37,this[_0x3cbd48(0x31e)]=_0x1ab093;}[_0xf37888(0x3e6)](){const _0x85309f=_0xf37888,_0x1184df=super[_0x85309f(0x3e6)]();return _0x1184df[_0x85309f(0x371)]=_0x4fac7a=>this[_0x85309f(0x1d4)][_0x85309f(0x30b)](_0x4fac7a),_0x1184df[_0x85309f(0x376)]=_0x16dbf1=>this['_docTransformStateCacheService'][_0x85309f(0x20e)](_0x16dbf1),_0x1184df[_0x85309f(0x380)]=_0x7d1f6d=>this['_docTransformSelectionsService'][_0x85309f(0x2c1)](_0x7d1f6d),_0x1184df[_0x85309f(0x506)]=_0x2870cb=>this['_docSyncEditingCollabCursorService'][_0x85309f(0x39e)](_0x2870cb),_0x1184df['onTransformRemoteChangesetByIMECache']=_0xa33172=>this[_0x85309f(0x1d4)][_0x85309f(0x423)](_0xa33172),_0x1184df[_0x85309f(0x42f)]=_0x3d7032=>this[_0x85309f(0x1e0)][_0x85309f(0x423)](_0x3d7032),_0x1184df;}async[_0xf37888(0x406)](){const _0x594d02=_0xf37888,_0x15b562=await super['_init']();return this[_0x594d02(0x1ce)][_0x594d02(0x3d8)][_0x594d02(0x3bf)](_0x1825a9(this['dispose$']))[_0x594d02(0x236)](_0x4be8d5=>{const _0x291ce4=_0x594d02;if(_0x4be8d5==null)return;const {unitId:_0x5ea167,redoState:_0x2e96d4,commandId:_0x3869e1}=_0x4be8d5;if(_0x5ea167!==this[_0x291ce4(0x24f)])return;const _0x5450cc={'id':_0x3869e1,'type':_0x357ec8[_0x291ce4(0x1de)],'params':{'unitId':_0x5ea167,'actions':_0x2e96d4[_0x291ce4(0x2fc)],'textRanges':null}};this[_0x291ce4(0x279)](_0x5450cc);}),_0x15b562;}};ss=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x39c8b8(_0x3b95d5)),H(0x9,_0x39c8b8(ft)),H(0xa,_0x39c8b8(mt)),H(0xb,_0x39c8b8(pt)),H(0xc,_0x39c8b8(Cs)),H(0xd,_0x399eca),H(0xe,_0x48fc43),H(0xf,_0xffafbc),H(0x10,_0x19df2d),H(0x11,_0x174482(Rt))],ss);let is=class extends gt{constructor(_0x464dbe,_0x2fbf7a,_0x5b6b49,_0x4f4a38,_0x184280,_0x22efb2,_0x966aa6,_0x46276f,_0x35fa8d,_0x2f9d54,_0x325292,_0x159f96,_0x264c29,_0x4adc06){const _0x2e2d4d=_0xf37888;super(_0x464dbe,_0x5b6b49,_0x2fbf7a,_0x4f4a38,_0x184280,_0x22efb2,_0x966aa6,_0x46276f,_0x2f9d54,_0x325292,_0x159f96,_0x264c29,_0x4adc06),this[_0x2e2d4d(0x24f)]=_0x464dbe,this[_0x2e2d4d(0x1fd)]=_0x2fbf7a,this[_0x2e2d4d(0x3ef)]=_0x35fa8d;}[_0xf37888(0x3e6)](){const _0x55d65b=_0xf37888,_0x4bb546=super[_0x55d65b(0x3e6)]();return _0x4bb546[_0x55d65b(0x380)]=_0x3bf5c9=>this[_0x55d65b(0x3ef)][_0x55d65b(0x2c1)](_0x3bf5c9),_0x4bb546;}async[_0xf37888(0x406)](){const _0x1e974d=_0xf37888,_0x12d531=await super[_0x1e974d(0x406)]();return this[_0x1e974d(0x3ec)](this[_0x1e974d(0x1fb)][_0x1e974d(0x4e2)]((_0x28849d,_0x463674)=>{const _0x3bca48=_0x1e974d;if(_0x28849d[_0x3bca48(0x1fd)]!==_0x357ec8['MUTATION']||_0x463674!=null&&_0x463674[_0x3bca48(0x161)]||_0x463674!=null&&_0x463674['onlyLocal'])return;const _0x58ef2e=_0x28849d[_0x3bca48(0x274)];if((_0x58ef2e==null?void 0x0:_0x58ef2e['unitId'])!==this[_0x3bca48(0x24f)])return;const _0x1e0bdd=_0x28849d,_0x477477=this[_0x3bca48(0x2ab)][_0x3bca48(0x49b)][_0x3bca48(0x174)](this[_0x3bca48(0x2ab)][_0x3bca48(0x49b)][_0x3bca48(0x395)]()[_0x3bca48(0x386)])([_0x1e0bdd],null)||[_0x1e0bdd];this[_0x3bca48(0x279)](_0x477477[0x0]);})),_0x12d531;}};is=Es([H(0x3,_0x39c8b8(_0x2fd08f)),H(0x4,_0x39c8b8(q)),H(0x5,_0x39c8b8(_0x78bcc3)),H(0x6,_0x39c8b8(_0x50f35b)),H(0x7,_0x39c8b8(_0x304c49)),H(0x8,_0x39c8b8(vt)),H(0x9,_0x399eca),H(0xa,_0x48fc43),H(0xb,_0xffafbc),H(0xc,_0x19df2d),H(0xd,_0x174482(Rt))],is);var Co=Object[_0xf37888(0x320)],Eo=Object[_0xf37888(0x26b)],bo=(_0x3c5ef7,_0x1700c1,_0x345948,_0x3a198f)=>{const _0x588d6c=_0xf37888;for(var _0x281513=_0x3a198f>0x1?void 0x0:_0x3a198f?Eo(_0x1700c1,_0x345948):_0x1700c1,_0xb5a6a9=_0x3c5ef7[_0x588d6c(0x42c)]-0x1,_0x13081f;_0xb5a6a9>=0x0;_0xb5a6a9--)(_0x13081f=_0x3c5ef7[_0xb5a6a9])&&(_0x281513=(_0x3a198f?_0x13081f(_0x1700c1,_0x345948,_0x281513):_0x13081f(_0x281513))||_0x281513);return _0x3a198f&&_0x281513&&Co(_0x1700c1,_0x345948,_0x281513),_0x281513;},Lt=(_0x231f69,_0x4fc6cd)=>(_0x5d8f67,_0x251130)=>_0x4fc6cd(_0x5d8f67,_0x251130,_0x231f69);let it=class extends _0x3c16d2{constructor(_0x10a728,_0x10973a,_0x3465a8){const _0x4b5b9d=_0xf37888;super(),g(this,_0x4b5b9d(0x3c4),new Map()),g(this,_0x4b5b9d(0x397),new _0x382230()),(this['_injector']=_0x10a728,this[_0x4b5b9d(0x47f)]=_0x10973a,this[_0x4b5b9d(0x1c2)]=_0x3465a8,this['_init']());}['dispose'](){const _0x14f6a8=_0xf37888;super[_0x14f6a8(0x4d5)](),this[_0x14f6a8(0x3c4)][_0x14f6a8(0x321)](_0x1c6053=>_0x1c6053[_0x14f6a8(0x4d5)]()),this[_0x14f6a8(0x3c4)][_0x14f6a8(0x415)]();}['getCollabEntity'](_0x246761){const _0x18b5d7=_0xf37888;var _0xf4399c;return(_0xf4399c=this['_entities'][_0x18b5d7(0x166)](_0x246761))!=null?_0xf4399c:null;}[_0xf37888(0x15a)](_0x2acf60){const _0x5c45f5=_0xf37888,_0x5dbb04=this[_0x5c45f5(0x342)](_0x2acf60);return _0x5dbb04?_0x5ac583(_0x5dbb04):this['_entityInit$'][_0x5c45f5(0x3bf)](_0x2d7a63(_0x695051=>_0x695051[_0x5c45f5(0x24f)]===_0x2acf60));}[_0xf37888(0x406)](){const _0xc79ab9=_0xf37888;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42608e[_0xc79ab9(0x19a)])[_0xc79ab9(0x3bf)](_0x1825a9(this['dispose$']),_0x207ed1(0x10))[_0xc79ab9(0x236)](async _0x3186d1=>{const _0x540974=_0xc79ab9,_0x5b248a=_0x3186d1['getUnitId'](),_0x2b66f1=await this[_0x540974(0x2a5)](_0x5b248a,ce[_0x540974(0x19a)]);this[_0x540974(0x3c4)][_0x540974(0x1ec)](_0x5b248a,_0x2b66f1);}),this[_0xc79ab9(0x1c2)][_0xc79ab9(0x493)](_0x42608e['UNIVER_DOC'])[_0xc79ab9(0x3bf)](_0x1825a9(this[_0xc79ab9(0x118)]),_0x207ed1(0x10))[_0xc79ab9(0x3bf)](_0x2d7a63(_0x533c75=>!_0x533c75[_0xc79ab9(0x1a4)]()[_0xc79ab9(0x34d)]('__')))[_0xc79ab9(0x236)](async _0xb7ded=>{const _0xf2f320=_0xc79ab9,_0x4338cf=_0xb7ded[_0xf2f320(0x1a4)](),_0x5692bb=await this['_startCollaboration'](_0x4338cf,ce[_0xf2f320(0x1c1)]);this['_entities']['set'](_0x4338cf,_0x5692bb);}),_0x45ad1c(this['_univerInstanceService'][_0xc79ab9(0x465)](_0x42608e['UNIVER_SHEET']),this[_0xc79ab9(0x1c2)][_0xc79ab9(0x465)](_0x42608e['UNIVER_DOC']))[_0xc79ab9(0x3bf)](_0x1825a9(this[_0xc79ab9(0x118)]))[_0xc79ab9(0x236)](_0x27219f=>{const _0x4d940d=_0xc79ab9,_0x18b2d0=_0x27219f[_0x4d940d(0x1a4)](),_0x441360=this[_0x4d940d(0x3c4)][_0x4d940d(0x166)](_0x18b2d0);_0x441360&&(_0x441360[_0x4d940d(0x4d5)](),this[_0x4d940d(0x3c4)][_0x4d940d(0x3ab)](_0x18b2d0));});}async['_startCollaboration'](_0x2edf34,_0x102b34){const _0x2503c8=_0xf37888,_0x4d1b4f=await this[_0x2503c8(0x47f)][_0x2503c8(0x4f0)](_0x2edf34),_0xf0f604=this[_0x2503c8(0x43d)][_0x2503c8(0x3d0)](this[_0x2503c8(0x4a0)](_0x102b34),_0x2edf34,_0x102b34,_0x4d1b4f);return await _0xf0f604['init'](),this[_0x2503c8(0x397)]['next'](_0xf0f604),_0xf0f604;}[_0xf37888(0x4a0)](_0xbfd30c){const _0x191f11=_0xf37888;switch(_0xbfd30c){case ce[_0x191f11(0x1c1)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x191f11(0x46b)+_0xbfd30c);}}};it=bo([Lt(0x0,_0x39c8b8(_0x2fd08f)),Lt(0x1,_0x39c8b8(Ae)),Lt(0x2,_0x6b8e83)],it);const Gs=[_0xf37888(0x443),_0xf37888(0x292),_0xf37888(0x352),_0xf37888(0x398),_0xf37888(0x2b5),_0xf37888(0x416)];class bs extends _0xb54fec{constructor(){const _0x4dde15=_0xf37888;super(...arguments),g(this,_0x4dde15(0x4a5),new Map()),g(this,_0x4dde15(0x405),0x0);}[_0xf37888(0x3bb)](_0x355df0){const _0x632c03=_0xf37888;if(this[_0x632c03(0x4a5)][_0x632c03(0x4af)](_0x355df0))return this[_0x632c03(0x4a5)][_0x632c03(0x166)](_0x355df0);const _0x69d3cc=Gs[this[_0x632c03(0x405)]];return this['_colorIndex']=(this[_0x632c03(0x405)]+0x1)%Gs[_0x632c03(0x42c)],this[_0x632c03(0x4a5)]['set'](_0x355df0,_0x69d3cc),_0x69d3cc;}}var To=Object[_0xf37888(0x320)],Ro=Object[_0xf37888(0x26b)],yo=(_0x21b4a1,_0x23efa3,_0x1cae2c,_0x9093e5)=>{const _0x26c04a=_0xf37888;for(var _0x35790e=_0x9093e5>0x1?void 0x0:_0x9093e5?Ro(_0x23efa3,_0x1cae2c):_0x23efa3,_0x3988e4=_0x21b4a1[_0x26c04a(0x42c)]-0x1,_0x1fe6bb;_0x3988e4>=0x0;_0x3988e4--)(_0x1fe6bb=_0x21b4a1[_0x3988e4])&&(_0x35790e=(_0x9093e5?_0x1fe6bb(_0x23efa3,_0x1cae2c,_0x35790e):_0x1fe6bb(_0x35790e))||_0x35790e);return _0x9093e5&&_0x35790e&&To(_0x23efa3,_0x1cae2c,_0x35790e),_0x35790e;},Oe=(_0x1f9ab5,_0x1e5686)=>(_0x35a1a5,_0x4cfd24)=>_0x1e5686(_0x35a1a5,_0x4cfd24,_0x1f9ab5);const Oo=0x12c,wo=0x64;let ns=class extends _0x3c16d2{constructor(_0x31734f,_0x37f1c9,_0x311b4e,_0x25070e,_0x2fa7f2,_0x4fcedc,_0x26cc5a,_0x8ac0b1,_0x596f8e){const _0x2d71d2=_0xf37888;super(),g(this,'_online',!0x1),g(this,_0x2d71d2(0x406),!0x1),g(this,_0x2d71d2(0x148),new _0x7465ad(new Map())),g(this,_0x2d71d2(0x3c9),this[_0x2d71d2(0x148)][_0x2d71d2(0x2cf)]()),g(this,_0x2d71d2(0x36e),new _0x7465ad([])),g(this,'roomMembers$',this['_roomMembers$'][_0x2d71d2(0x3bf)](_0x2edddb(Oo))),g(this,_0x2d71d2(0x4ac),_0x4bf9ba(_0x41c397=>{const _0x1ec082=_0x2d71d2,_0x17217b={'eventID':_0x3c3869[_0x1ec082(0x494)],'data':{'unitID':this[_0x1ec082(0x24f)],'memberID':this[_0x1ec082(0x159)]['getMemberID'](),'selection':Pi(_0x41c397)}};this[_0x1ec082(0x159)][_0x1ec082(0x512)](_0x17217b,this[_0x1ec082(0x24f)]);},wo)),(this[_0x2d71d2(0x24f)]=_0x31734f,this[_0x2d71d2(0x159)]=_0x37f1c9,this['_injector']=_0x311b4e,this[_0x2d71d2(0x14c)]=_0x25070e,this[_0x2d71d2(0x1d0)]=_0x2fa7f2,this[_0x2d71d2(0x155)]=_0x4fcedc,this[_0x2d71d2(0x310)]=_0x26cc5a,this[_0x2d71d2(0x1c2)]=_0x8ac0b1,this[_0x2d71d2(0x1fb)]=_0x596f8e);}get['cursorInfo'](){const _0x5280c3=_0xf37888;return this['_cursorInfo$'][_0x5280c3(0x1aa)]();}get[_0xf37888(0x2bb)](){const _0x5a7c87=_0xf37888;return this[_0x5a7c87(0x36e)][_0x5a7c87(0x1aa)]();}[_0xf37888(0x4d5)](){const _0x198eee=_0xf37888;super['dispose'](),this['_cursorInfo$'][_0x198eee(0x2d2)](new Map()),this[_0x198eee(0x148)]['complete'](),this['_roomMembers$'][_0x198eee(0x2d2)]([]),this[_0x198eee(0x36e)][_0x198eee(0x12e)]();}[_0xf37888(0x10e)](){const _0x1ac161=_0xf37888;this['_init']||(this[_0x1ac161(0x406)]=!0x0,this[_0x1ac161(0x159)][_0x1ac161(0x3e3)][_0x1ac161(0x3bf)](_0x1825a9(this[_0x1ac161(0x118)]))['subscribe'](_0x5975ec=>{const _0x2d680b=_0x1ac161;_0x5975ec===ve[_0x2d680b(0x312)]?this[_0x2d680b(0x150)]():this[_0x2d680b(0x392)]();}),this['_session'][_0x1ac161(0x3c5)][_0x1ac161(0x3bf)](_0x1825a9(this[_0x1ac161(0x118)]))[_0x1ac161(0x236)](_0x1b5195=>{const _0x26141d=_0x1ac161,_0x304a86=_0x1b5195[_0x26141d(0x214)];_0x304a86===_0x3c3869['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1b5195),_0x304a86===_0x3c3869[_0x26141d(0x3c2)]&&this[_0x26141d(0x15f)](_0x1b5195);}),this[_0x1ac161(0x3ec)](this[_0x1ac161(0x1fb)]['onCommandExecuted'](_0x52c033=>{const _0x2bc3ad=_0x1ac161,_0xfde7ae=_0x52c033[_0x2bc3ad(0x274)];_0xfde7ae!=null&&this[_0x2bc3ad(0x28e)]&&_0x52c033['id']===_0x4cbea3['id']&&_0xfde7ae['unitId']===this['unitID']&&_0xfde7ae[_0x2bc3ad(0x4e6)]===!0x1&&_0xfde7ae[_0x2bc3ad(0x45e)][_0x2bc3ad(0x42c)]>0x0&&this[_0x2bc3ad(0x4ac)](_0xfde7ae[_0x2bc3ad(0x45e)]);})),this[_0x1ac161(0x155)][_0x1ac161(0x172)]['pipe'](_0x1825a9(this[_0x1ac161(0x118)]))[_0x1ac161(0x236)](_0x38a06c=>{const _0x1f2e66=_0x1ac161;if((_0x38a06c==null?void 0x0:_0x38a06c[_0x1f2e66(0x24f)])!==this[_0x1f2e66(0x24f)])return;const _0x37c180={'eventID':_0x3c3869[_0x1f2e66(0x494)],'data':_0x38a06c};this['_onCursorUpdate'](_0x37c180);}),this[_0x1ac161(0x3ec)](this[_0x1ac161(0x1fb)][_0x1ac161(0x4e2)](_0x516fa0=>{const _0x138a58=_0x1ac161;if(_0x516fa0[_0x138a58(0x274)]==null)return;const _0x566f8d=_0x516fa0[_0x138a58(0x274)];if(_0x516fa0['id']!==_0x216675['id']||_0x566f8d['unitId']!==this[_0x138a58(0x24f)])return;const _0x672d7f={'id':_0x138a58(0x1a5),'params':_0x566f8d},_0x4395af=this[_0x138a58(0x390)];for(const [_0x322903,_0x202ba6]of _0x4395af){const _0x174404={'id':_0x138a58(0x1a5),'params':{'unitId':this[_0x138a58(0x24f)],'actions':null,'textRanges':_0x202ba6['ranges']}},_0x770d6b=this['_transformService']['transformMutation'](_0x672d7f,_0x174404,!0x1);if(_0xfceaae(_0x770d6b))throw _0x770d6b['error'];_0x4395af[_0x138a58(0x1ec)](_0x322903,{..._0x202ba6,'ranges':_0x770d6b['m2Prime'][_0x138a58(0x274)][_0x138a58(0x485)]});}queueMicrotask(()=>{const _0x40f142=_0x138a58;this[_0x40f142(0x148)][_0x40f142(0x2d2)](_0x4395af);});})));}[_0xf37888(0x2ac)](_0x25fd65){const _0x237921=_0xf37888;var _0x1b5caf,_0x422333;const {memberID:_0x25381e,selection:_0x2241c1}=_0x25fd65[_0x237921(0x1cc)],_0x1202d2=ho(_0x2241c1),_0x57230e=(_0x422333=(_0x1b5caf=this['_memberService'][_0x237921(0x208)](this['unitID'],_0x25381e))==null?void 0x0:_0x1b5caf[_0x237921(0x14e)])!=null?_0x422333:'Unknown\x20user',_0x2edfea={'color':this[_0x237921(0x14c)][_0x237921(0x3bb)](_0x25381e),'name':_0x57230e,'ranges':_0x1202d2},_0x93ec7c=this[_0x237921(0x390)];_0x93ec7c[_0x237921(0x1ec)](_0x25381e,_0x2edfea),this['_cursorInfo$']['next'](_0x93ec7c);}[_0xf37888(0x15f)](_0x11b27f){const _0x53ad41=_0xf37888,{memberID:_0xeedb9d}=_0x11b27f[_0x53ad41(0x1cc)],_0x377064=this[_0x53ad41(0x390)];_0x377064[_0x53ad41(0x3ab)](_0xeedb9d),this[_0x53ad41(0x148)][_0x53ad41(0x2d2)](_0x377064);}[_0xf37888(0x150)](){const _0x414feb=_0xf37888;var _0x504c61;if(this[_0x414feb(0x28e)]=!0x0,((_0x504c61=this[_0x414feb(0x1c2)][_0x414feb(0x2f2)]())==null?void 0x0:_0x504c61['getUnitId']())!==this['unitID'])return;const _0x55bc58=this[_0x414feb(0x43d)]['get'](_0x17cd7b)[_0x414feb(0x2fd)]();Array['isArray'](_0x55bc58)&&_0x55bc58[_0x414feb(0x42c)]>0x0&&this[_0x414feb(0x4ac)](_0x55bc58);}[_0xf37888(0x392)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x39c8b8(_0x2fd08f)),Oe(0x3,_0x39c8b8(bs)),Oe(0x4,_0x39c8b8(Ne)),Oe(0x5,_0x39c8b8(Cs)),Oe(0x6,_0x36ceed),Oe(0x7,_0x6b8e83),Oe(0x8,_0x48fc43)],ns);var Do=Object[_0xf37888(0x320)],Po=Object['getOwnPropertyDescriptor'],Uo=(_0xc8f0a2,_0x399e3,_0x261c86,_0x164401)=>{const _0x36abd1=_0xf37888;for(var _0x5b16c1=_0x164401>0x1?void 0x0:_0x164401?Po(_0x399e3,_0x261c86):_0x399e3,_0x5dabaa=_0xc8f0a2[_0x36abd1(0x42c)]-0x1,_0x29f71b;_0x5dabaa>=0x0;_0x5dabaa--)(_0x29f71b=_0xc8f0a2[_0x5dabaa])&&(_0x5b16c1=(_0x164401?_0x29f71b(_0x399e3,_0x261c86,_0x5b16c1):_0x29f71b(_0x5b16c1))||_0x5b16c1);return _0x164401&&_0x5b16c1&&Do(_0x399e3,_0x261c86,_0x5b16c1),_0x5b16c1;},Be=(_0x5a5e83,_0x32b088)=>(_0x179288,_0xc57c41)=>_0x32b088(_0x179288,_0xc57c41,_0x5a5e83);const No=0x12c,Ao=0x64,Mo=()=>{let _0xcee33f=[],_0x1a1134=!0x1;return _0x188ce0=>{const _0x1368e9=_0x136c;_0xcee33f[_0x1368e9(0x270)](_0x188ce0),_0x1a1134||(_0x1a1134=!0x0,setTimeout(()=>{const _0x303767=_0x1368e9;_0xcee33f[_0x303767(0x321)](_0x4de1e7=>_0x4de1e7()),_0xcee33f=[],_0x1a1134=!0x1;}));};};let rs=class extends _0x3c16d2{constructor(_0x1b60f5,_0x42aae2,_0x554abf,_0x1fb196,_0x5ba236,_0x47ba85,_0xd714bd,_0x30eddc){const _0x1f489c=_0xf37888;super(),g(this,'_online',!0x1),g(this,_0x1f489c(0x406),!0x1),g(this,_0x1f489c(0x148),new _0x7465ad(new Map())),g(this,_0x1f489c(0x3c9),this[_0x1f489c(0x148)][_0x1f489c(0x2cf)]()),g(this,_0x1f489c(0x36e),new _0x7465ad([])),g(this,_0x1f489c(0x183),this['_roomMembers$'][_0x1f489c(0x3bf)](_0x2edddb(No))),g(this,_0x1f489c(0x4ac),_0x4bf9ba((_0x4b6418,_0xd20cf2)=>{const _0x169124=_0x1f489c,_0x3f35ab={'eventID':_0x3c3869[_0x169124(0x494)],'data':{'unitID':this['unitID'],'memberID':this[_0x169124(0x159)][_0x169124(0x440)](),'selection':_0x30ad03(_0x4b6418,_0xd20cf2[_0x169124(0x3f9)])}};this[_0x169124(0x159)][_0x169124(0x512)](_0x3f35ab,this[_0x169124(0x24f)]);},Ao)),(this[_0x1f489c(0x24f)]=_0x1b60f5,this[_0x1f489c(0x159)]=_0x42aae2,this[_0x1f489c(0x43d)]=_0x554abf,this[_0x1f489c(0x14c)]=_0x1fb196,this[_0x1f489c(0x1d0)]=_0x5ba236,this[_0x1f489c(0x1c2)]=_0x47ba85,this['_commandService']=_0xd714bd,this[_0x1f489c(0x4f5)]=_0x30eddc);}get[_0xf37888(0x390)](){const _0x4ba10e=_0xf37888;return this[_0x4ba10e(0x148)][_0x4ba10e(0x1aa)]();}get[_0xf37888(0x2bb)](){const _0xf81d7a=_0xf37888;return this[_0xf81d7a(0x36e)]['getValue']();}[_0xf37888(0x4d5)](){const _0x33e6ed=_0xf37888;super[_0x33e6ed(0x4d5)](),this['_cursorInfo$'][_0x33e6ed(0x2d2)](new Map()),this[_0x33e6ed(0x148)][_0x33e6ed(0x12e)](),this[_0x33e6ed(0x36e)]['next']([]),this[_0x33e6ed(0x36e)][_0x33e6ed(0x12e)]();}[_0xf37888(0x10e)](){const _0x3802de=_0xf37888;this[_0x3802de(0x406)]||(this[_0x3802de(0x406)]=!0x0,this[_0x3802de(0x159)]['sessionStatus$'][_0x3802de(0x3bf)](_0x1825a9(this['dispose$']))[_0x3802de(0x236)](_0x1bc186=>{const _0x5cae75=_0x3802de;_0x1bc186===ve[_0x5cae75(0x312)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3802de(0x159)]['event$']['pipe'](_0x1825a9(this['dispose$']))[_0x3802de(0x236)](_0x29e001=>{const _0x4a1335=_0x3802de,_0x43be2a=_0x29e001[_0x4a1335(0x214)];_0x43be2a===_0x3c3869['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x29e001),_0x43be2a===_0x3c3869[_0x4a1335(0x3c2)]&&this[_0x4a1335(0x15f)](_0x29e001);}),this['_onRefRangeChange'](),this[_0x3802de(0x3ec)](this[_0x3802de(0x1fb)][_0x3802de(0x4e2)](_0x44b1c9=>{const _0x148a6c=_0x3802de;if(this[_0x148a6c(0x28e)]&&_0x44b1c9['id']===_0x455bea['id']&&_0x44b1c9[_0x148a6c(0x274)][_0x148a6c(0x442)]===this[_0x148a6c(0x24f)]){const _0x495635=_0x44b1c9['params'];this[_0x148a6c(0x4ac)](_0x495635[_0x148a6c(0x24a)],_0x495635[_0x148a6c(0x3fb)][0x0]);}})));}[_0xf37888(0x2ac)](_0x306e5b){const _0x2a906b=_0xf37888;var _0x49425c,_0x4e3c7d;const {memberID:_0x1d0940,selection:_0x43ca06}=_0x306e5b[_0x2a906b(0x1cc)],{sheetName:_0x6772fc,range:_0x117ceb}=_0x213db1(_0x43ca06),_0x286c37={'name':(_0x4e3c7d=(_0x49425c=this['_memberService'][_0x2a906b(0x208)](this[_0x2a906b(0x24f)],_0x1d0940))==null?void 0x0:_0x49425c['name'])!=null?_0x4e3c7d:_0x2a906b(0x213),'range':this[_0x2a906b(0x2cc)](_0x6772fc,_0x117ceb),'sheetID':_0x6772fc,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1d0940),'selection':_0x43ca06},_0x1d5d3e=this[_0x2a906b(0x390)];_0x1d5d3e[_0x2a906b(0x1ec)](_0x1d0940,_0x286c37),this[_0x2a906b(0x148)][_0x2a906b(0x2d2)](_0x1d5d3e);}['_onCursorDelete'](_0x4f7ed6){const _0x196bee=_0xf37888,{memberID:_0x439ce9}=_0x4f7ed6['data'],_0x33e576=this[_0x196bee(0x390)];_0x33e576[_0x196bee(0x3ab)](_0x439ce9),this[_0x196bee(0x148)][_0x196bee(0x2d2)](_0x33e576);}[_0xf37888(0x2cc)](_0x5b6c8e,_0x33f4ab){const _0x2ace4b=_0xf37888;var _0x375caf,_0x4232a6;const _0x57b7b0=(_0x4232a6=(_0x375caf=this[_0x2ace4b(0x1c2)][_0x2ace4b(0x4e7)](this[_0x2ace4b(0x24f)]))==null?void 0x0:_0x375caf[_0x2ace4b(0x331)](_0x5b6c8e))==null?void 0x0:_0x4232a6['getMergeData']();return(_0x57b7b0==null?void 0x0:_0x57b7b0[_0x2ace4b(0x4b0)](_0x4303dd=>_0x3bc9a8['contains'](_0x4303dd,_0x33f4ab)))||_0x33f4ab;}[_0xf37888(0x2a4)](){const _0x4c41d3=_0xf37888,_0x282689=new _0x241f26(),_0x5043ca=Mo(),_0x24f608=()=>{const _0x535d48=_0x136c;_0x282689[_0x535d48(0x4d5)]();const _0x16aced=(_0x175558,_0x4c2c08,_0x32208f,_0x3819f0)=>{const _0x624f32=_0x535d48;let _0x1d7b59=[];switch(_0x175558['id']){case _0x393a47['DeleteRangeMoveLeftCommandId']:{_0x1d7b59=_0xc0b2af(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x434)]:{_0x1d7b59=_0xb8cee4(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x3a3)]:{_0x1d7b59=_0x53232e(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x3a2)]:{_0x1d7b59=_0x59b66c(_0x175558,_0x3819f0);break;}case _0x393a47['InsertRangeMoveRightCommandId']:{_0x1d7b59=_0x2723eb(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x26e)]:{_0x1d7b59=_0xae5700(_0x175558,_0x3819f0);break;}case _0x393a47['MoveRangeCommandId']:{_0x1d7b59=_0x204fc1(_0x175558,_0x3819f0);break;}case _0x393a47[_0x624f32(0x2bf)]:{_0x1d7b59=_0x5d6597(_0x175558,_0x3819f0);break;}case _0x393a47['RemoveRowCommandId']:{_0x1d7b59=_0x52d0b5(_0x175558,_0x3819f0);break;}}const _0x86bb54=_0x4681f0(_0x1d7b59,_0x3819f0),_0x2001a0=this[_0x624f32(0x390)]['get'](_0x4c2c08);if(_0x2001a0&&_0x86bb54){const _0x575eb0={..._0x2001a0,'range':_0x86bb54};this[_0x624f32(0x390)][_0x624f32(0x1ec)](_0x4c2c08,_0x575eb0),_0x5043ca(()=>{const _0x3380c0=_0x624f32,_0x2eabb4=this[_0x3380c0(0x4f5)][_0x3380c0(0x2f1)](_0x86bb54,_0x1eaf20=>(_0x2eabb4[_0x3380c0(0x4d5)](),_0x16aced(_0x1eaf20,_0x4c2c08,_0x32208f,_0x86bb54)));_0x282689['add'](_0x2eabb4);});}return{'redos':[],'undos':[]};};this[_0x535d48(0x390)][_0x535d48(0x321)]((_0x137c31,_0x16b045)=>{const _0x47e946=_0x535d48,{range:_0x9cf924,sheetID:_0xccc131}=_0x137c31,_0x5141e7=this[_0x47e946(0x4f5)][_0x47e946(0x2f1)](_0x9cf924,_0x477816=>(_0x5141e7['dispose'](),_0x16aced(_0x477816,_0x16b045,_0xccc131,_0x9cf924)));_0x282689[_0x47e946(0x389)](_0x5141e7);});};this[_0x4c41d3(0x3ec)](_0x5b8af0(this['_cursorInfo$'][_0x4c41d3(0x236)](()=>{_0x24f608();})));}[_0xf37888(0x150)](){const _0x3a6fa7=_0xf37888;var _0x2e366f,_0x163795;if(this[_0x3a6fa7(0x28e)]=!0x0,((_0x2e366f=this['_univerInstanceService'][_0x3a6fa7(0x2f2)]())==null?void 0x0:_0x2e366f[_0x3a6fa7(0x1a4)]())!==this[_0x3a6fa7(0x24f)])return;const _0x56776a=(_0x163795=this[_0x3a6fa7(0x43d)][_0x3a6fa7(0x166)](_0x2ff3ec)['getCurrentSelections']())==null?void 0x0:_0x163795[0x0],_0x2ec63e=this[_0x3a6fa7(0x1c2)][_0x3a6fa7(0x32c)](_0x42608e[_0x3a6fa7(0x19a)])[_0x3a6fa7(0x14f)]();_0x56776a&&_0x2ec63e&&this[_0x3a6fa7(0x4ac)](_0x2ec63e[_0x3a6fa7(0x370)](),_0x56776a);}['_toggleOffline'](){const _0x328edd=_0xf37888;this[_0x328edd(0x28e)]=!0x1;}};rs=Uo([Be(0x2,_0x39c8b8(_0x2fd08f)),Be(0x3,_0x39c8b8(bs)),Be(0x4,_0x39c8b8(Ne)),Be(0x5,_0x6b8e83),Be(0x6,_0x48fc43),Be(0x7,_0x39c8b8(_0x34f847))],rs);var xo=Object[_0xf37888(0x320)],Lo=Object[_0xf37888(0x26b)],$o=(_0x389b9a,_0xe876b7,_0x6e3c27,_0x3651aa)=>{for(var _0x161590=_0x3651aa>0x1?void 0x0:_0x3651aa?Lo(_0xe876b7,_0x6e3c27):_0xe876b7,_0x545201=_0x389b9a['length']-0x1,_0xcf8185;_0x545201>=0x0;_0x545201--)(_0xcf8185=_0x389b9a[_0x545201])&&(_0x161590=(_0x3651aa?_0xcf8185(_0xe876b7,_0x6e3c27,_0x161590):_0xcf8185(_0x161590))||_0x161590);return _0x3651aa&&_0x161590&&xo(_0xe876b7,_0x6e3c27,_0x161590),_0x161590;},$t=(_0x2da47b,_0x2ccb07)=>(_0x5daad6,_0xc956c0)=>_0x2ccb07(_0x5daad6,_0xc956c0,_0x2da47b);let Ve=class extends _0x3c16d2{constructor(_0x464ee7,_0x48ce05,_0x38f3a0){const _0x5447d1=_0xf37888;super(),g(this,'_entities',new Map()),g(this,_0x5447d1(0x397),new _0x382230()),(this[_0x5447d1(0x1c2)]=_0x464ee7,this[_0x5447d1(0x43d)]=_0x48ce05,this[_0x5447d1(0x47f)]=_0x38f3a0,this[_0x5447d1(0x406)]());}[_0xf37888(0x4d5)](){const _0x1e2176=_0xf37888;super[_0x1e2176(0x4d5)](),this[_0x1e2176(0x397)]['complete'](),this[_0x1e2176(0x3c4)]['forEach'](_0x22d9bc=>_0x22d9bc[_0x1e2176(0x4d5)]());}[_0xf37888(0x3b0)](_0x4b2da4){const _0x1872e6=_0xf37888;return this[_0x1872e6(0x3c4)][_0x1872e6(0x4af)](_0x4b2da4)?this[_0x1872e6(0x3c4)][_0x1872e6(0x166)](_0x4b2da4)[_0x1872e6(0x3c9)]:this[_0x1872e6(0x397)][_0x1872e6(0x3bf)](_0x14383b(_0x52d315=>_0x52d315[_0x1872e6(0x24f)]===_0x4b2da4),_0x784c53(_0xef58de=>_0xef58de['cursorInfo$']));}[_0xf37888(0x406)](){const _0x1db1c9=_0xf37888;this['_univerInstanceService'][_0x1db1c9(0x493)](_0x42608e[_0x1db1c9(0x19a)])['pipe'](_0x1825a9(this['dispose$']))[_0x1db1c9(0x236)](async _0x200c9f=>{const _0x25163a=_0x1db1c9,_0xb9a49b=_0x200c9f['getUnitId'](),_0x349ef7=await this[_0x25163a(0x3cf)](_0xb9a49b);this[_0x25163a(0x397)][_0x25163a(0x2d2)](_0x349ef7),this[_0x25163a(0x3c4)][_0x25163a(0x1ec)](_0xb9a49b,_0x349ef7);}),this[_0x1db1c9(0x1c2)][_0x1db1c9(0x493)](_0x42608e['UNIVER_DOC'])[_0x1db1c9(0x3bf)](_0x1825a9(this['dispose$']))[_0x1db1c9(0x3bf)](_0x14383b(_0x4c5445=>!_0x4c5445[_0x1db1c9(0x1a4)]()[_0x1db1c9(0x34d)]('__')))[_0x1db1c9(0x236)](async _0x5d377f=>{const _0x152b68=_0x1db1c9,_0x48618d=_0x5d377f['getUnitId'](),_0x3fc9c7=await this[_0x152b68(0x459)](_0x48618d);this['_entityInit$'][_0x152b68(0x2d2)](_0x3fc9c7),this[_0x152b68(0x3c4)]['set'](_0x48618d,_0x3fc9c7);}),_0x45ad1c(this[_0x1db1c9(0x1c2)][_0x1db1c9(0x465)](_0x42608e['UNIVER_DOC']),this[_0x1db1c9(0x1c2)][_0x1db1c9(0x465)](_0x42608e['UNIVER_SHEET']))[_0x1db1c9(0x3bf)](_0x1825a9(this[_0x1db1c9(0x118)]))[_0x1db1c9(0x236)](_0x1d714a=>{const _0x23bc8b=_0x1db1c9,_0x94734b=_0x1d714a[_0x23bc8b(0x1a4)](),_0x6eae8=this[_0x23bc8b(0x3c4)][_0x23bc8b(0x166)](_0x94734b);_0x6eae8&&(_0x6eae8[_0x23bc8b(0x4d5)](),this[_0x23bc8b(0x3c4)]['delete'](_0x94734b));});}async[_0xf37888(0x3cf)](_0x27ab4d){const _0x1119ff=_0xf37888,_0x1bdcd9=await this[_0x1119ff(0x47f)][_0x1119ff(0x4f0)](_0x27ab4d),_0x4d26c9=this['_injector'][_0x1119ff(0x3d0)](rs,_0x27ab4d,_0x1bdcd9);return _0x4d26c9[_0x1119ff(0x10e)](),_0x4d26c9;}async['_startDocCollabCursor'](_0x372609){const _0x587cb0=_0xf37888,_0x4cd5d4=await this[_0x587cb0(0x47f)][_0x587cb0(0x4f0)](_0x372609),_0x4a552e=this[_0x587cb0(0x43d)][_0x587cb0(0x3d0)](ns,_0x372609,_0x4cd5d4);return _0x4a552e['init'](),_0x4a552e;}};Ve=$o([$t(0x0,_0x6b8e83),$t(0x1,_0x39c8b8(_0x2fd08f)),$t(0x2,_0x39c8b8(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x36aea9,_0x4cdd95){const _0x37f884=_0xf37888;let {radius:_0x548544,width:_0x30ee9f,height:_0x2bb4a5}=_0x4cdd95;_0x548544=_0x548544!=null?_0x548544:0x0,_0x30ee9f=_0x30ee9f!=null?_0x30ee9f:0x1e,_0x2bb4a5=_0x2bb4a5!=null?_0x2bb4a5:0x1e;let _0x4caa12=0x0,_0x1bdf6d=0x0,_0x36bbbf=0x0;_0x4caa12=_0x1bdf6d=_0x36bbbf=Math[_0x37f884(0x256)](_0x548544,_0x30ee9f/0x2,_0x2bb4a5/0x2),_0x36aea9['beginPath'](),_0x36aea9[_0x37f884(0x20d)](_0x4caa12,0x0),_0x36aea9['lineTo'](_0x30ee9f-_0x1bdf6d,0x0),_0x36aea9[_0x37f884(0x303)](_0x30ee9f-_0x1bdf6d,_0x1bdf6d,_0x1bdf6d,Math['PI']*0x3/0x2,0x0,!0x1),_0x36aea9[_0x37f884(0x4ef)](_0x30ee9f,_0x2bb4a5-_0x36bbbf),_0x36aea9[_0x37f884(0x303)](_0x30ee9f-_0x36bbbf,_0x2bb4a5-_0x36bbbf,_0x36bbbf,0x0,Math['PI']/0x2,!0x1),_0x36aea9[_0x37f884(0x4ef)](0x0,_0x2bb4a5),_0x36aea9[_0x37f884(0x4ef)](0x0,_0x4caa12),_0x36aea9[_0x37f884(0x303)](_0x4caa12,_0x4caa12,_0x4caa12,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36aea9[_0x37f884(0x378)](),_0x4cdd95['fill']&&(_0x36aea9[_0x37f884(0x430)](),_0x36aea9[_0x37f884(0x4b5)]=_0x4cdd95[_0x37f884(0x4a2)],_0x4cdd95[_0x37f884(0x449)]==='evenodd'?_0x36aea9[_0x37f884(0x4a2)](_0x37f884(0x28a)):_0x36aea9['fill'](),_0x36aea9[_0x37f884(0x2dd)]());}class yt extends _0x20c0e5{constructor(_0x5cb2bc,_0x3337a3){const _0x20ce2e=_0xf37888;super(_0x5cb2bc,_0x3337a3),g(this,_0x20ce2e(0x10a)),g(this,_0x20ce2e(0x461)),(this[_0x20ce2e(0x10a)]=_0x3337a3==null?void 0x0:_0x3337a3[_0x20ce2e(0x10a)],this['text']=_0x3337a3==null?void 0x0:_0x3337a3[_0x20ce2e(0x461)]);}static['drawWith'](_0x5277af,_0x11dff3){const _0x9ed4ea=_0xf37888,{text:_0x2d1405,color:_0x16c21f}=_0x11dff3;_0x5277af[_0x9ed4ea(0x430)](),_0x5277af['font']=_0x9ed4ea(0x463);const _0x39790d=_0x5277af[_0x9ed4ea(0x39b)](_0x2d1405)[_0x9ed4ea(0x2cd)],_0x43d584=Math['min'](_0x39790d+0x2*Ht,Ys);jo(_0x5277af,{'height':nt,'radius':0x4,'width':_0x43d584,'fill':_0x16c21f,'evented':!0x1}),_0x5277af[_0x9ed4ea(0x4b5)]=_0x9ed4ea(0x4ff);const _0x5c640d=Ht,_0x3b0c4b=nt-Ho,_0x5466a9=Ys-0x2*Ht;if(_0x39790d>_0x5466a9){let _0x4afd6a='',_0x1e986a=0x0;for(const _0x338420 of _0x2d1405){const _0x5d32f6=_0x5277af[_0x9ed4ea(0x39b)](_0x338420)[_0x9ed4ea(0x2cd)];if(_0x1e986a+_0x5d32f6<=_0x5466a9-_0x5277af[_0x9ed4ea(0x39b)](_0x9ed4ea(0x1b3))['width'])_0x4afd6a+=_0x338420,_0x1e986a+=_0x5d32f6;else{_0x4afd6a+=_0x9ed4ea(0x1b3);break;}}_0x5277af[_0x9ed4ea(0x30f)](_0x4afd6a,_0x5c640d,_0x3b0c4b);}else _0x5277af[_0x9ed4ea(0x30f)](_0x2d1405,_0x5c640d,_0x3b0c4b);_0x5277af[_0x9ed4ea(0x2dd)]();}[_0xf37888(0x4fd)](_0xceab52){const _0x251f81=_0xf37888;yt[_0x251f81(0x10c)](_0xceab52,this);}}const jt=_0xf37888(0x1bf),Bo=_0xf37888(0x404),ko=_0xf37888(0x4bd),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x27ef7a,_0x5cb10b,_0x5a1aec,_0x2156b9){const _0x521413=_0xf37888;g(this,_0x521413(0x250),[]),g(this,_0x521413(0x450),null),g(this,_0x521413(0x3fa),null),g(this,_0x521413(0x425),null),g(this,'_hideTimer',null),g(this,_0x521413(0x19c),null),(this[_0x521413(0x36d)]=_0x27ef7a,this['_scene']=_0x5cb10b,this[_0x521413(0x31b)]=_0x5a1aec,this['_document']=_0x2156b9,this[_0x521413(0x4b9)]());}set[_0xf37888(0x125)](_0x5bf1c2){const _0x4f846e=_0xf37888;_0x5bf1c2?(this[_0x4f846e(0x425)]&&this[_0x4f846e(0x425)][_0x4f846e(0x46a)](),this[_0x4f846e(0x3fa)]&&this[_0x4f846e(0x3fa)][_0x4f846e(0x228)]()):(this[_0x4f846e(0x425)]&&this[_0x4f846e(0x425)][_0x4f846e(0x228)](),this['_textBubble']&&this[_0x4f846e(0x3fa)][_0x4f846e(0x46a)]());}['dispose'](){const _0x34bf60=_0xf37888;for(const _0x2d691c of this[_0x34bf60(0x250)])_0x2d691c[_0x34bf60(0x4d5)]();this[_0x34bf60(0x3fa)]&&this[_0x34bf60(0x3fa)]['dispose'](),this[_0x34bf60(0x425)]&&this[_0x34bf60(0x425)][_0x34bf60(0x4d5)](),this[_0x34bf60(0x450)]&&this[_0x34bf60(0x450)][_0x34bf60(0x4d5)](),this[_0x34bf60(0x19c)]&&this['_eventUnsubscribe']();}[_0xf37888(0x4b9)](){const _0x421b16=_0xf37888;var _0x562e97;const {_docSkeleton:_0x65de8c,_document:_0x379435}=this,{color:_0x23448f,name:_0x4986c1,ranges:_0x5b1446}=this[_0x421b16(0x36d)],_0x2078ed=_0x379435[_0x421b16(0x2d3)](),{docsLeft:_0xb5f4d1,docsTop:_0x89fbf5}=_0x2078ed,_0x38c7f3=new _0x45cbb8(_0x2078ed,_0x65de8c);for(const {startOffset:_0x16d4cb,endOffset:_0x8aa99d,rangeType:_0x5e0fa2,segmentId:_0x4b0865,segmentPage:_0x2f23ab,collapsed:_0x278707,isActive:_0x2aff57}of _0x5b1446){const _0x250179=_0x65de8c[_0x421b16(0x3b3)](_0x16d4cb,!0x0,_0x4b0865,_0x2f23ab);let _0xe04f59=_0x65de8c[_0x421b16(0x3b3)](_0x8aa99d,!0x0,_0x4b0865,_0x2f23ab);if(_0xe04f59==null&&(_0xe04f59=_0x65de8c['findNodePositionByCharIndex'](_0x8aa99d-0x1,!0x1,_0x4b0865,_0x2f23ab)),_0x2aff57){const {contentBoxPointGroup:_0x407499}=_0x38c7f3['getRangePointData'](_0xe04f59,_0xe04f59);if(_0x407499['length']===0x0)continue;this[_0x421b16(0x2e2)](_0x23448f,_0x407499,_0xb5f4d1,_0x89fbf5,_0x4986c1),this[_0x421b16(0x19c)]=this[_0x421b16(0x1ee)]();}if(_0x250179&&_0xe04f59){if(_0x5e0fa2===_0x3b2ca6[_0x421b16(0x282)]){const _0x1e97fc=new _0x14dcc5(_0x2078ed,_0x65de8c),{pointGroup:_0x28a1ae}=(_0x562e97=_0x1e97fc[_0x421b16(0x474)](_0x250179,_0xe04f59))!=null?_0x562e97:{};if(_0x28a1ae==null||_0x28a1ae['length']===0x0)continue;this[_0x421b16(0x3d2)](_0x23448f,_0x28a1ae,_0xb5f4d1,_0x89fbf5);}else{if(!_0x278707){const {borderBoxPointGroup:_0xe89705}=_0x38c7f3[_0x421b16(0x474)](_0x250179,_0xe04f59);if(_0xe89705['length']===0x0)continue;this['_drawTextRange'](_0x23448f,_0xe89705,_0xb5f4d1,_0x89fbf5);}}}}}[_0xf37888(0x2e2)](_0x4f1ebb,_0x5afd47,_0x5b891d,_0x1f9823,_0x1e3367){const _0x472a73=_0xf37888,_0x1fd7e0=this[_0x472a73(0x18c)](_0x5afd47),{left:_0x57b352,top:_0x405377,height:_0x47bb54}=_0x1fd7e0,_0x60a225=this[_0x472a73(0x1dc)](),_0x38d8d4=Fo/_0x60a225,_0x4c4f7c=new _0x53b95b(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823,'height':_0x47bb54,'width':Wo,'fill':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'strokeWidth':_0x38d8d4,'stroke':Vo,'evented':!0x0});this[_0x472a73(0x450)]=_0x4c4f7c,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x4c4f7c,_0x2a8154);const _0x56ed50=new _0x53b95b(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'strokeWidth':0x0,'stroke':_0x4f1ebb||_0x1403d6(_0x197df6[_0x472a73(0x2b4)],0x0),'evented':!0x1});this[_0x472a73(0x425)]=_0x56ed50,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x56ed50,_0x2a8154);const _0x41cd7e=new yt(jt+_0x5d7755[_0x472a73(0x44e)](Je),{'left':_0x57b352+_0x5b891d-_0x38d8d4,'top':_0x405377+_0x1f9823-nt,'text':_0x1e3367,'color':_0x4f1ebb});this[_0x472a73(0x3fa)]=_0x41cd7e,this[_0x472a73(0x4bb)][_0x472a73(0x3d7)](_0x41cd7e,_0x2a8154),this[_0x472a73(0x125)]=!0x1;}[_0xf37888(0x1ee)](){const _0x4e23e2=_0xf37888,_0x210c37=this[_0x4e23e2(0x450)][_0x4e23e2(0x2f9)][_0x4e23e2(0x401)](()=>{this['_hover']=!0x0;}),_0x40e044=this[_0x4e23e2(0x450)][_0x4e23e2(0x350)][_0x4e23e2(0x401)](()=>{const _0x265994=_0x4e23e2;this[_0x265994(0x288)]&&clearTimeout(this['_hideTimer']),this[_0x265994(0x288)]=setTimeout(()=>{const _0x537692=_0x265994;this[_0x537692(0x125)]=!0x1;},0x7d0);});return()=>{_0x210c37['unsubscribe'](),_0x40e044['unsubscribe']();};}['_drawTextRange'](_0xebb6fc,_0x13b75e,_0x515c2a,_0xd239d8){const _0x855a4b=_0xf37888,_0x8f66ea=new _0xd157f(_0xebb6fc)[_0x855a4b(0x35a)](0.2)[_0x855a4b(0x2ad)](),_0x21cd8f=new _0x4d7468(Bo+_0x5d7755[_0x855a4b(0x44e)](Je),{'pointsGroup':_0x13b75e,'fill':_0x8f66ea||_0x1403d6(_0x197df6[_0x855a4b(0x2b4)],0.2),'left':_0x515c2a,'top':_0xd239d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x855a4b(0x250)]['push'](_0x21cd8f),this[_0x855a4b(0x4bb)][_0x855a4b(0x3d7)](_0x21cd8f,_0x2a8154);}[_0xf37888(0x3d2)](_0xdb4799,_0x42733d,_0x3fc049,_0x2b0447){const _0x413495=_0xf37888,_0x5468d7=new _0xd157f(_0xdb4799)['setAlpha'](0.2)[_0x413495(0x2ad)](),_0x2ca696=new _0x4d7468(ko+_0x5d7755[_0x413495(0x44e)](Je),{'pointsGroup':_0x42733d,'fill':_0x5468d7||_0x1403d6(_0x197df6['black'],0.2),'left':_0x3fc049,'top':_0x2b0447,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x413495(0x250)][_0x413495(0x270)](_0x2ca696),this[_0x413495(0x4bb)][_0x413495(0x3d7)](_0x2ca696,_0x2a8154);}[_0xf37888(0x18c)](_0x3695a5){const _0x3fb2be=_0x3695a5[0x0],_0x4f5941=_0x3fb2be[0x0],_0x346e7d=_0x3fb2be[0x2],{x:_0x2d1066,y:_0x4e0f95}=_0x4f5941,{x:_0x3acb42,y:_0xee508c}=_0x346e7d;return{'left':_0x2d1066,'top':_0x4e0f95,'width':_0x3acb42-_0x2d1066,'height':_0xee508c-_0x4e0f95};}[_0xf37888(0x1dc)](){const _0x5b41a8=_0xf37888,{scaleX:_0x802c49,scaleY:_0x36f618}=this[_0x5b41a8(0x4bb)]['getAncestorScale']();return Math['max'](_0x802c49,_0x36f618);}}var Go=Object[_0xf37888(0x320)],Yo=Object[_0xf37888(0x26b)],Ko=(_0x2808ae,_0x59a007,_0x7b5468,_0x2bd484)=>{for(var _0x5c0f11=_0x2bd484>0x1?void 0x0:_0x2bd484?Yo(_0x59a007,_0x7b5468):_0x59a007,_0x10dbaa=_0x2808ae['length']-0x1,_0x198add;_0x10dbaa>=0x0;_0x10dbaa--)(_0x198add=_0x2808ae[_0x10dbaa])&&(_0x5c0f11=(_0x2bd484?_0x198add(_0x59a007,_0x7b5468,_0x5c0f11):_0x198add(_0x5c0f11))||_0x5c0f11);return _0x2bd484&&_0x5c0f11&&Go(_0x59a007,_0x7b5468,_0x5c0f11),_0x5c0f11;},ct=(_0x20131d,_0x5586c1)=>(_0x1984d2,_0x173461)=>_0x5586c1(_0x1984d2,_0x173461,_0x20131d);let os=class extends _0x3c16d2{constructor(_0x48b1a1,_0x4591c5,_0x4584e2,_0xb17394,_0x5a65ca){const _0x750c11=_0xf37888;super(),g(this,_0x750c11(0x3fd),[]),g(this,_0x750c11(0x385),[]),(this[_0x750c11(0x37c)]=_0x48b1a1,this[_0x750c11(0x2cb)]=_0x4591c5,this['_collabCursorController']=_0x4584e2,this[_0x750c11(0x1fb)]=_0xb17394,this['_themeService']=_0x5a65ca,this['_init']());}[_0xf37888(0x406)](){const _0x2848a4=_0xf37888,_0x43607b=this['_context'][_0x2848a4(0x442)],_0x5cb2d4=this[_0x2848a4(0x2cb)];this[_0x2848a4(0x3ec)](_0x42f291([this[_0x2848a4(0x2ba)][_0x2848a4(0x3b0)](_0x43607b),this[_0x2848a4(0x16e)]['currentTheme$']])[_0x2848a4(0x3bf)](_0x5ba592(([_0x2dfdf9,_0x5d6bc7])=>({'skeleton':_0x5cb2d4[_0x2848a4(0x2c9)](),'cursors':[..._0x2dfdf9[_0x2848a4(0x317)]()][_0x2848a4(0x4ba)](_0x2dea0a=>({..._0x2dea0a,'color':_0x5d6bc7[_0x2dea0a['color']]}))})))[_0x2848a4(0x236)](_0x1417d7=>{if(this['_removeCollabCursors'](),_0x1417d7){const {skeleton:_0x57308a,cursors:_0xc2f40a}=_0x1417d7;this['_updateCollabCursors'](_0x57308a,_0xc2f40a);}})),this[_0x2848a4(0x344)](),this[_0x2848a4(0x1a1)]();}[_0xf37888(0x3ee)](_0x509f80,_0x166916){const _0x18db5e=_0xf37888,{scene:_0x4ce91f,mainComponent:_0x58018a}=this[_0x18db5e(0x37c)],_0x2ebcae=_0x166916['map'](_0x5c5d4d=>new Ks(_0x5c5d4d,_0x4ce91f,_0x509f80,_0x58018a));this['_cursorShapes']=_0x2ebcae,this['_cursors']=_0x166916;}[_0xf37888(0x3f0)](){const _0x2d00c8=_0xf37888;this[_0x2d00c8(0x432)]();const {scene:_0x2c2ded,mainComponent:_0x59f1f9}=this[_0x2d00c8(0x37c)],_0x293e5d=this[_0x2d00c8(0x2cb)]['getSkeleton'](),_0x1f0ae2=this[_0x2d00c8(0x385)]['map'](_0x573b29=>new Ks(_0x573b29,_0x2c2ded,_0x293e5d,_0x59f1f9));this[_0x2d00c8(0x3fd)]=_0x1f0ae2;}[_0xf37888(0x432)](){const _0x5ac179=_0xf37888;this[_0x5ac179(0x3fd)][_0x5ac179(0x321)](_0x178a0c=>_0x178a0c[_0x5ac179(0x4d5)]()),this[_0x5ac179(0x3fd)]=[];}['_initCommandExecutedListener'](){const _0x3069f0=_0xf37888,_0x9440ab=[_0x3212df['id']];this['disposeWithMe'](this['_commandService'][_0x3069f0(0x4e2)](_0x3c35e5=>{const _0x3652c3=_0x3069f0;_0x9440ab[_0x3652c3(0x258)](_0x3c35e5['id'])&&_0x3c35e5['params']['unitId']===this[_0x3652c3(0x37c)]['unitId']&&this[_0x3652c3(0x3f0)]();}));}['_initResize'](){const _0x240ad9=_0xf37888;this[_0x240ad9(0x3ec)](_0x153a49(this[_0x240ad9(0x37c)][_0x240ad9(0x29a)][_0x240ad9(0x3b6)])[_0x240ad9(0x3bf)](_0x2d7a63(_0x41524d=>_0x41524d[_0x240ad9(0x1fd)]===_0x2bfb82['resize']),_0x1b38bd(0x10))[_0x240ad9(0x236)](()=>{const _0x268c17=_0x240ad9;this[_0x268c17(0x3f0)]();}));}};os=Ko([ct(0x1,_0x39c8b8(_0x511bb7)),ct(0x2,_0x39c8b8(Ve)),ct(0x3,_0x48fc43),ct(0x4,_0x39c8b8(_0x1d0ffa))],os);const zo=0x1,qo=1.5;class Xo extends _0x20c0e5{constructor(_0x1cb595,_0x2446b0){const _0x2407e1=_0xf37888;super(_0x1cb595,_0x2446b0),g(this,_0x2407e1(0x369)),g(this,_0x2407e1(0x3dd),!0x1),g(this,_0x2407e1(0x4e9)),g(this,'_name',''),g(this,_0x2407e1(0x468),'top'),g(this,_0x2407e1(0x455)),(_0x2446b0&&this[_0x2407e1(0x147)](_0x2446b0),this[_0x2407e1(0x2f9)]['subscribeEvent'](()=>this[_0x2407e1(0x147)]({'hovered':!0x0})),this[_0x2407e1(0x350)][_0x2407e1(0x401)](()=>this[_0x2407e1(0x147)]({'hovered':!0x1})));}[_0xf37888(0x147)](_0x41b4c1){const _0x1fbb3d=_0xf37888;var _0x320ab4,_0x16930f,_0x111099,_0x1715b9,_0x325ccb,_0x4cef42;this[_0x1fbb3d(0x369)]=(_0x320ab4=_0x41b4c1[_0x1fbb3d(0x10a)])!=null?_0x320ab4:this[_0x1fbb3d(0x369)],this['_hovered']=(_0x16930f=_0x41b4c1[_0x1fbb3d(0x117)])!=null?_0x16930f:this[_0x1fbb3d(0x3dd)],this[_0x1fbb3d(0x4e9)]=(_0x111099=_0x41b4c1[_0x1fbb3d(0x3f9)])!=null?_0x111099:this['_range'],this[_0x1fbb3d(0x184)]=(_0x1715b9=_0x41b4c1['name'])!=null?_0x1715b9:this[_0x1fbb3d(0x184)],this[_0x1fbb3d(0x468)]=(_0x325ccb=_0x41b4c1[_0x1fbb3d(0x38c)])!=null?_0x325ccb:this[_0x1fbb3d(0x468)],this[_0x1fbb3d(0x455)]=(_0x4cef42=_0x41b4c1[_0x1fbb3d(0x4d1)])!=null?_0x4cef42:this[_0x1fbb3d(0x455)],this[_0x1fbb3d(0x40d)]({'width':_0x41b4c1[_0x1fbb3d(0x2cd)],'height':_0x41b4c1[_0x1fbb3d(0x4e1)]});}[_0xf37888(0x38d)](_0x28fc2e){const _0x420dce=_0xf37888,{row:_0x6fc681,column:_0x33c14b}=_0x28fc2e;if(_0x6fc681>=this['_range']['startRow']&&_0x6fc681<=this[_0x420dce(0x4e9)][_0x420dce(0x417)]&&_0x33c14b>=this[_0x420dce(0x4e9)]['startColumn']&&_0x33c14b<=this[_0x420dce(0x4e9)][_0x420dce(0x1d6)]){this[_0x420dce(0x147)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xf37888(0x408)](_0x2ae673){return!0x1;}[_0xf37888(0x4fd)](_0xc6321f){const _0x4a3e3a=_0xf37888;_0x53b95b[_0x4a3e3a(0x10c)](_0xc6321f,{'width':this[_0x4a3e3a(0x2cd)],'height':this[_0x4a3e3a(0x4e1)],'strokeWidth':qo,'stroke':this[_0x4a3e3a(0x369)],'evented':!0x1,'fill':this[_0x4a3e3a(0x455)]}),this[_0x4a3e3a(0x3dd)]&&(_0xc6321f[_0x4a3e3a(0x430)](),_0xc6321f[_0x4a3e3a(0x27f)](0x1,0x0,0x0,0x1,this[_0x4a3e3a(0x2cd)],this['_labelPosition']===_0x4a3e3a(0x2f8)?0x0:-nt),yt[_0x4a3e3a(0x10c)](_0xc6321f,{'text':this['_name'],'color':this[_0x4a3e3a(0x369)]}),_0xc6321f[_0x4a3e3a(0x2dd)]());}}var Jo=Object['defineProperty'],Zo=Object[_0xf37888(0x26b)],Qo=(_0x26e792,_0x1a12a9,_0x5489d0,_0x4d692c)=>{const _0x384dda=_0xf37888;for(var _0x5ccb8a=_0x4d692c>0x1?void 0x0:_0x4d692c?Zo(_0x1a12a9,_0x5489d0):_0x1a12a9,_0xa9c3e0=_0x26e792[_0x384dda(0x42c)]-0x1,_0x4fe250;_0xa9c3e0>=0x0;_0xa9c3e0--)(_0x4fe250=_0x26e792[_0xa9c3e0])&&(_0x5ccb8a=(_0x4d692c?_0x4fe250(_0x1a12a9,_0x5489d0,_0x5ccb8a):_0x4fe250(_0x5ccb8a))||_0x5ccb8a);return _0x4d692c&&_0x5ccb8a&&Jo(_0x1a12a9,_0x5489d0,_0x5ccb8a),_0x5ccb8a;},kt=(_0x244316,_0x1c8ae8)=>(_0x348ba2,_0x40a95f)=>_0x1c8ae8(_0x348ba2,_0x40a95f,_0x244316);const ea=0x1389;let as=class extends _0x3c16d2{constructor(_0x2b9982,_0x211b32,_0x10a078,_0x5bfde5){const _0x5b37db=_0xf37888;super(),g(this,_0x5b37db(0x385),new Set()),g(this,_0x5b37db(0x24b),null),(this[_0x5b37db(0x37c)]=_0x2b9982,this[_0x5b37db(0x1d7)]=_0x211b32,this[_0x5b37db(0x2ba)]=_0x10a078,this[_0x5b37db(0x16e)]=_0x5bfde5,this[_0x5b37db(0x406)]());}[_0xf37888(0x406)](){const _0x3f4b5f=_0xf37888;this[_0x3f4b5f(0x1d7)]['currentSkeleton$'][_0x3f4b5f(0x3bf)](_0xf05386(this[_0x3f4b5f(0x118)]),_0x380453(_0x57d434=>{const _0xe06ee1=_0x3f4b5f;if(_0x57d434){const _0x172800=_0x57d434[_0xe06ee1(0x313)];return _0x42f291(this[_0xe06ee1(0x2ba)]['getCollabCursors$'](this[_0xe06ee1(0x37c)]['unitId']),this[_0xe06ee1(0x16e)][_0xe06ee1(0x1f7)])['pipe'](_0x5ba592(([_0x22b98e,_0x16c02f])=>{const _0x450b12=_0xe06ee1,_0x287955=new Map();return _0x22b98e[_0x450b12(0x321)]((_0x435c2e,_0x4ea949)=>{const _0x5b908d=_0x450b12;if(_0x435c2e[_0x5b908d(0x110)]===_0x172800){const _0x2d0697={..._0x435c2e};_0x2d0697[_0x5b908d(0x10a)]=_0x16c02f[_0x435c2e[_0x5b908d(0x10a)]],_0x287955[_0x5b908d(0x1ec)](_0x4ea949,_0x2d0697);}}),{'skeleton':_0x57d434,'cursors':_0x287955};}));}return _0x5ac583({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x34c501,cursors:_0x6e21e0})=>{const _0x3981a2=_0x3f4b5f;this[_0x3981a2(0x432)](),_0x34c501&&this['_updateCollabCursors'](_0x34c501,_0x6e21e0);}),this[_0x3f4b5f(0x1d7)][_0x3f4b5f(0x1a7)][_0x3f4b5f(0x236)](_0xa5d702=>{const _0x58424f=_0x3f4b5f;if(_0xa5d702==null)return;const {skeleton:_0x27116c}=_0xa5d702,{scene:_0x57df4d}=this[_0x58424f(0x37c)];_0x57df4d[_0x58424f(0x181)][_0x58424f(0x401)](_0x4bf9ba(_0x31d06a=>{const _0x1bfd03=_0x58424f;var _0x4a4dc8,_0x6d1ee0;const {offsetX:_0x3858c9,offsetY:_0x2369d0}=_0x31d06a,{x:_0x3f8e1d,y:_0x61a9d5}=_0x57df4d['getRelativeToViewportCoord'](_0x5d97fd['FromArray']([_0x3858c9,_0x2369d0])),{scaleX:_0x2d8dc5,scaleY:_0x31410a}=_0x57df4d[_0x1bfd03(0x26d)](),_0x465319=_0x57df4d[_0x1bfd03(0x45c)](_0xc2d531['VIEW_MAIN']),_0x2f0d3b=_0x57df4d['getVpScrollXYInfoByPosToVp'](_0x5d97fd[_0x1bfd03(0x35f)]([_0x3f8e1d,_0x61a9d5]),_0x465319),_0x274bb4=_0x27116c[_0x1bfd03(0x4d6)](_0x3858c9,_0x2369d0,_0x2d8dc5,_0x31410a,_0x2f0d3b);((_0x4a4dc8=this[_0x1bfd03(0x24b)])==null?void 0x0:_0x4a4dc8[_0x1bfd03(0x45b)])===_0x274bb4[_0x1bfd03(0x45b)]&&((_0x6d1ee0=this[_0x1bfd03(0x24b)])==null?void 0x0:_0x6d1ee0['row'])===_0x274bb4[_0x1bfd03(0x209)]||this['_cursors'][_0x1bfd03(0x321)](_0xfe963d=>{const _0x338057=_0x1bfd03;_0xfe963d[_0x338057(0x38d)](_0x274bb4);});},0x64));});}[_0xf37888(0x3ee)](_0x53b3b9,_0x29bdd4){const _0x228fd6=_0xf37888;var _0x398aa2;const _0x1da4a2=(_0x398aa2=this[_0x228fd6(0x1d7)][_0x228fd6(0x1a8)]())==null?void 0x0:_0x398aa2['skeleton'];if(!_0x1da4a2)return;const _0x464007=this[_0x228fd6(0x3f1)]();if(!_0x464007)return;this[_0x228fd6(0x385)]['forEach'](_0x2e0ba9=>{const _0x144220=_0x228fd6;_0x2e0ba9[_0x144220(0x41d)]();});const {scene:_0x4847ac}=_0x464007,_0x11e2e6=ta(Array[_0x228fd6(0x123)](_0x29bdd4[_0x228fd6(0x317)]()))['map'](_0x199c93=>{const _0x31f49d=_0x228fd6,{color:_0x438205,range:_0x384f9d,name:_0x5e5d39,selection:_0xa45666,sheetID:_0x41f033}=_0x199c93,{startColumn:_0xb1df71,startRow:_0x4c4a65,endColumn:_0x1b137d,endRow:_0x4d55a4}=_0x384f9d,_0x146544=_0x7b28d2(_0x4c4a65,_0xb1df71,_0x4847ac,_0x1da4a2),_0x9ba75e=_0x7b28d2(_0x4d55a4,_0x1b137d,_0x4847ac,_0x1da4a2),{columnHeaderHeightAndMarginTop:_0x5000af}=_0x1da4a2,{startX:_0x352d98,startY:_0x2a7d1f}=_0x146544,{endX:_0x31b3ef,endY:_0x24c803}=_0x9ba75e,_0x18daee=_0x31b3ef-_0x352d98,_0x13d058=_0x24c803-_0x2a7d1f,_0x573e66={'labelPosition':_0x2a7d1f-_0x5000af>=nt?_0x31f49d(0x1c6):_0x31f49d(0x2f8),'sheetID':_0x41f033,'range':_0x384f9d,'color':_0x438205,'name':_0x5e5d39,'selection':_0xa45666,'left':_0x352d98,'top':_0x2a7d1f,'width':_0x18daee,'height':_0x13d058,'evented':!0x1,'zIndex':ea};return new Xo(_0x5e5d39,_0x573e66);});_0x4847ac[_0x228fd6(0x316)](_0x11e2e6,zo),this[_0x228fd6(0x385)]=new Set(_0x11e2e6);}[_0xf37888(0x432)](){const _0x377b19=_0xf37888;var _0x533fed;(_0x533fed=this[_0x377b19(0x385)])==null||_0x533fed[_0x377b19(0x321)](_0x30ca0e=>_0x30ca0e[_0x377b19(0x4d5)]());}['_getSheetObject'](){const _0x4abe4b=_0xf37888;return _0xd198a1(this[_0x4abe4b(0x37c)]['unit'],this['_context']);}};as=Qo([kt(0x1,_0x39c8b8(_0x4ee0f9)),kt(0x2,_0x39c8b8(Ve)),kt(0x3,_0x39c8b8(_0x1d0ffa))],as);function ta(_0x59bbb9){const _0x2d1daa=_0xf37888,_0x507e9b=new Map();return _0x59bbb9['forEach'](_0x3199ea=>{const _0x100fc1=_0x136c;if(_0x507e9b[_0x100fc1(0x4af)](_0x3199ea[_0x100fc1(0x136)])){const _0x15b8b8=_0x507e9b[_0x100fc1(0x166)](_0x3199ea[_0x100fc1(0x136)]);_0x15b8b8[_0x100fc1(0x14e)]+=',\x20'+_0x3199ea['name'];}else _0x507e9b[_0x100fc1(0x1ec)](_0x3199ea['selection'],_0x3199ea);}),Array[_0x2d1daa(0x123)](_0x507e9b['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x189afd){const _0x181c60=_0xf37888;return _0x189afd&&_0x189afd[_0x181c60(0x47e)]&&Object[_0x181c60(0x16d)][_0x181c60(0x3ae)][_0x181c60(0x3b7)](_0x189afd,'default')?_0x189afd[_0x181c60(0x510)]:_0x189afd;}var Mi={'exports':{}},Ot={},sa=_0x5101ec,ia=Symbol[_0xf37888(0x4d0)]('react.element'),na=Symbol['for'](_0xf37888(0x4eb)),ra=Object[_0xf37888(0x16d)][_0xf37888(0x3ae)],oa=sa[_0xf37888(0x129)][_0xf37888(0x2a3)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x1c67a6,_0x1535fd,_0x180de5){const _0x12d128=_0xf37888;var _0x1cdfdf,_0x1af783={},_0x28d853=null,_0x2c186d=null;_0x180de5!==void 0x0&&(_0x28d853=''+_0x180de5),_0x1535fd[_0x12d128(0x335)]!==void 0x0&&(_0x28d853=''+_0x1535fd[_0x12d128(0x335)]),_0x1535fd[_0x12d128(0x439)]!==void 0x0&&(_0x2c186d=_0x1535fd[_0x12d128(0x439)]);for(_0x1cdfdf in _0x1535fd)ra[_0x12d128(0x3b7)](_0x1535fd,_0x1cdfdf)&&!aa[_0x12d128(0x3ae)](_0x1cdfdf)&&(_0x1af783[_0x1cdfdf]=_0x1535fd[_0x1cdfdf]);if(_0x1c67a6&&_0x1c67a6[_0x12d128(0x3dc)]){for(_0x1cdfdf in(_0x1535fd=_0x1c67a6['defaultProps'],_0x1535fd))_0x1af783[_0x1cdfdf]===void 0x0&&(_0x1af783[_0x1cdfdf]=_0x1535fd[_0x1cdfdf]);}return{'$$typeof':ia,'type':_0x1c67a6,'key':_0x28d853,'ref':_0x2c186d,'props':_0x1af783,'_owner':oa['current']};}Ot[_0xf37888(0x2a6)]=na,Ot[_0xf37888(0x20b)]=xi,Ot[_0xf37888(0x152)]=xi,Mi[_0xf37888(0x4bf)]=Ot;var we=Mi['exports'],ee=function(){const _0x8ca1f5=_0xf37888;return ee=Object[_0x8ca1f5(0x30c)]||function(_0x38ef81){const _0x250ceb=_0x8ca1f5;for(var _0x88822b,_0x44345b=0x1,_0x11d839=arguments['length'];_0x44345b<_0x11d839;_0x44345b++){_0x88822b=arguments[_0x44345b];for(var _0x133198 in _0x88822b)Object[_0x250ceb(0x16d)]['hasOwnProperty'][_0x250ceb(0x3b7)](_0x88822b,_0x133198)&&(_0x38ef81[_0x133198]=_0x88822b[_0x133198]);}return _0x38ef81;},ee[_0x8ca1f5(0x50d)](this,arguments);},ca=function(_0x3fe83a,_0x337ad8){const _0x5173ae=_0xf37888;var _0x524008={};for(var _0x21dac2 in _0x3fe83a)Object[_0x5173ae(0x16d)][_0x5173ae(0x3ae)][_0x5173ae(0x3b7)](_0x3fe83a,_0x21dac2)&&_0x337ad8[_0x5173ae(0x1eb)](_0x21dac2)<0x0&&(_0x524008[_0x21dac2]=_0x3fe83a[_0x21dac2]);if(_0x3fe83a!=null&&typeof Object['getOwnPropertySymbols']==_0x5173ae(0x1bc)){for(var _0x5505d6=0x0,_0x21dac2=Object['getOwnPropertySymbols'](_0x3fe83a);_0x5505d6<_0x21dac2[_0x5173ae(0x42c)];_0x5505d6++)_0x337ad8['indexOf'](_0x21dac2[_0x5505d6])<0x0&&Object[_0x5173ae(0x16d)][_0x5173ae(0x3f7)]['call'](_0x3fe83a,_0x21dac2[_0x5505d6])&&(_0x524008[_0x21dac2[_0x5505d6]]=_0x3fe83a[_0x21dac2[_0x5505d6]]);}return _0x524008;},Ts=_0x11c4ff(function(_0x4e4eec,_0x32668e){const _0x33e542=_0xf37888;var _0x4794a8=_0x4e4eec[_0x33e542(0x307)],_0x3d6908=_0x4e4eec['id'],_0x4372a8=_0x4e4eec[_0x33e542(0x490)],_0x547628=_0x4e4eec['extend'],_0x137a31=ca(_0x4e4eec,[_0x33e542(0x307),'id','className','extend']),_0x234ee5=_0x33e542(0x4d3)[_0x33e542(0x3b4)](_0x3d6908,'\x20')[_0x33e542(0x3b4)](_0x4372a8||'')[_0x33e542(0x1f9)](),_0x37d497=_0x360e34('_'[_0x33e542(0x3b4)](_a()));return Li(_0x4794a8,''[_0x33e542(0x3b4)](_0x3d6908),{'defIds':_0x4794a8['defIds'],'idSuffix':_0x37d497['current']},ee({'ref':_0x32668e,'className':_0x234ee5},_0x137a31),_0x547628);});function Li(_0x196448,_0xf61a9b,_0x4e7a82,_0x3de020,_0xfd0681){const _0x5fee26=_0xf37888;return _0x517cae(_0x196448['tag'],ee(ee({'key':_0xf61a9b},ha(_0x196448,_0x4e7a82,_0xfd0681)),_0x3de020),(la(_0x196448,_0x4e7a82)[_0x5fee26(0x27b)]||[])[_0x5fee26(0x41b)](function(_0x1aa7d7,_0x418e2c){const _0x5490d0=_0x5fee26;return Li(_0x1aa7d7,''[_0x5490d0(0x3b4)](_0xf61a9b,'-')[_0x5490d0(0x3b4)](_0x196448[_0x5490d0(0x10b)],'-')['concat'](_0x418e2c),_0x4e7a82,void 0x0,_0xfd0681);}));}function ha(_0x1d69b6,_0x577d49,_0x4f7174){const _0x125bc4=_0xf37888;var _0x22966b=ee({},_0x1d69b6[_0x125bc4(0x1e2)]);_0x4f7174!=null&&_0x4f7174[_0x125bc4(0x3d3)]&&_0x22966b[_0x125bc4(0x4a2)]==='colorChannel1'&&(_0x22966b[_0x125bc4(0x4a2)]=_0x4f7174[_0x125bc4(0x3d3)]);var _0x297a3f=_0x577d49[_0x125bc4(0x4f7)];return!_0x297a3f||_0x297a3f[_0x125bc4(0x42c)]===0x0||(_0x1d69b6[_0x125bc4(0x10b)]===_0x125bc4(0x241)&&_0x22966b[_0x125bc4(0x304)]&&(_0x22966b[_0x125bc4(0x304)]=_0x22966b[_0x125bc4(0x304)]+_0x577d49[_0x125bc4(0x27d)]),Object[_0x125bc4(0x217)](_0x22966b)[_0x125bc4(0x321)](function(_0x43c993){const _0x1144d2=_0x125bc4;var _0x36cbca=_0x43c993[0x0],_0x3ae384=_0x43c993[0x1];typeof _0x3ae384==_0x1144d2(0x384)&&(_0x22966b[_0x36cbca]=_0x3ae384[_0x1144d2(0x215)](/url\(#(.*)\)/,_0x1144d2(0x4b7)['concat'](_0x577d49['idSuffix'],')')));})),_0x22966b;}function la(_0x3fef88,_0x5bac90){const _0x1e3b77=_0xf37888;var _0x532b57,_0x418b94=_0x5bac90[_0x1e3b77(0x4f7)];return!_0x418b94||_0x418b94['length']===0x0?_0x3fef88:_0x3fef88['tag']===_0x1e3b77(0x43c)&&(!((_0x532b57=_0x3fef88['children'])===null||_0x532b57===void 0x0)&&_0x532b57[_0x1e3b77(0x42c)])?ee(ee({},_0x3fef88),{'children':_0x3fef88[_0x1e3b77(0x27b)]['map'](function(_0x52cfbd){const _0x4e0022=_0x1e3b77;return typeof _0x52cfbd[_0x4e0022(0x1e2)]['id']==_0x4e0022(0x384)&&_0x418b94&&_0x418b94['indexOf'](_0x52cfbd[_0x4e0022(0x1e2)]['id'])>-0x1?ee(ee({},_0x52cfbd),{'attrs':ee(ee({},_0x52cfbd[_0x4e0022(0x1e2)]),{'id':_0x52cfbd[_0x4e0022(0x1e2)]['id']+_0x5bac90[_0x4e0022(0x27d)]})}):_0x52cfbd;})}):_0x3fef88;}function _a(){const _0x355e8c=_0xf37888;return Math['random']()[_0x355e8c(0x492)](0x24)[_0x355e8c(0x1b0)](0x2,0x8);}Ts[_0xf37888(0x2d8)]=_0xf37888(0x285);var ua={'tag':_0xf37888(0x230),'attrs':{'fill':_0xf37888(0x364),'viewBox':_0xf37888(0x1a2),'width':'1em','height':_0xf37888(0x179)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'stroke':_0xf37888(0x17f),'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':_0xf37888(0x507),'strokeLinejoin':_0xf37888(0x507),'strokeWidth':1.2}}]},{'tag':_0xf37888(0x43c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xf37888(0x2d7)]},$i=_0x11c4ff(function(_0x34ee5c,_0x46e073){const _0x156f60=_0xf37888;return _0x517cae(Ts,Object[_0x156f60(0x30c)]({},_0x34ee5c,{'id':_0x156f60(0x192),'ref':_0x46e073,'icon':ua}));});$i['displayName']='OffLineSingle';var da={'tag':_0xf37888(0x230),'attrs':{'fill':_0xf37888(0x364),'viewBox':_0xf37888(0x306),'width':_0xf37888(0x179),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'stroke':_0xf37888(0x17f),'d':_0xf37888(0x2e6),'strokeLinecap':_0xf37888(0x507),'strokeLinejoin':_0xf37888(0x507),'strokeWidth':1.2}}]},{'tag':_0xf37888(0x43c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xf37888(0x314)},'children':[{'tag':_0xf37888(0x2ea),'attrs':{'fill':_0xf37888(0x360),'d':_0xf37888(0x399),'transform':'translate(.97)'}}]}]}],'defIds':[_0xf37888(0x314)]},Hi=_0x11c4ff(function(_0x155792,_0x4db751){const _0x5088d9=_0xf37888;return _0x517cae(Ts,Object['assign']({},_0x155792,{'id':_0x5088d9(0x12f),'ref':_0x4db751,'icon':da}));});Hi[_0xf37888(0x2d8)]=_0xf37888(0x1ba);function ji(_0x39514f){const _0x2fcb64=_0xf37888;var _0x3d58e6,_0x41c40e,_0x39ca31='';if(typeof _0x39514f==_0x2fcb64(0x384)||typeof _0x39514f=='number')_0x39ca31+=_0x39514f;else{if(typeof _0x39514f==_0x2fcb64(0x1e9)){if(Array[_0x2fcb64(0x255)](_0x39514f)){var _0x31c662=_0x39514f['length'];for(_0x3d58e6=0x0;_0x3d58e6<_0x31c662;_0x3d58e6++)_0x39514f[_0x3d58e6]&&(_0x41c40e=ji(_0x39514f[_0x3d58e6]))&&(_0x39ca31&&(_0x39ca31+='\x20'),_0x39ca31+=_0x41c40e);}else{for(_0x41c40e in _0x39514f)_0x39514f[_0x41c40e]&&(_0x39ca31&&(_0x39ca31+='\x20'),_0x39ca31+=_0x41c40e);}}}return _0x39ca31;}function fa(){const _0xc46a2b=_0xf37888;for(var _0x6d8796,_0x2a89c3,_0x484636=0x0,_0x1dfb67='',_0x3ead5d=arguments[_0xc46a2b(0x42c)];_0x484636<_0x3ead5d;_0x484636++)(_0x6d8796=arguments[_0x484636])&&(_0x2a89c3=ji(_0x6d8796))&&(_0x1dfb67&&(_0x1dfb67+='\x20'),_0x1dfb67+=_0x2a89c3);return _0x1dfb67;}const va='univer-online-status-icon',ma=_0xf37888(0x1c0),pa='univer-online-status',ga=_0xf37888(0x41a),Sa=_0xf37888(0x1cf),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x23f8ee){const _0xc1d6bf=_0xf37888;switch(_0x23f8ee){case J['OFFLINE']:return _0xc1d6bf(0x186);case J[_0xc1d6bf(0x4f8)]:return _0xc1d6bf(0x32a);case J[_0xc1d6bf(0x3c0)]:return _0xc1d6bf(0x1e1);case J[_0xc1d6bf(0x4ea)]:return _0xc1d6bf(0x48b);case J[_0xc1d6bf(0x48a)]:case J[_0xc1d6bf(0x302)]:return _0xc1d6bf(0x17b);case J[_0xc1d6bf(0x4cf)]:case J[_0xc1d6bf(0x240)]:return _0xc1d6bf(0x2aa);}}function Ca(_0x48ed5f){const _0x38f0d5=_0xf37888,{status$:_0x25a31c}=_0x48ed5f,_0x2e5296=_0x26f539(_0x25a31c,J[_0x38f0d5(0x4ea)]),_0x37ae90=_0x5d0a14(_0x50f35b),_0x283128=_0x5d0a14(Ae),_0x1fe480=_0x2e5296!==J[_0x38f0d5(0x33c)],_0x19a22b=_0x37ae90['t'](Ia(_0x2e5296)),_0x2cf05a=fa(Ze[_0x38f0d5(0x171)],{[Ze[_0x38f0d5(0x298)]]:_0x1fe480,[Ze['offline']]:!_0x1fe480}),_0x3a07e4=_0x1fe480?we['jsx'](Hi,{}):we[_0x38f0d5(0x20b)]($i,{}),_0x287a21=_0x31a143(()=>{const _0x571eb9=_0x38f0d5;_0x1fe480||_0x283128[_0x571eb9(0x3cd)]();},[_0x1fe480,_0x283128]);function _0x28feae(){const _0x2e6fea=_0x38f0d5;return we[_0x2e6fea(0x152)](_0x2e6fea(0x14d),{'className':_0x2cf05a,'onClick':_0x287a21,'children':[we[_0x2e6fea(0x20b)]('div',{'className':Ze[_0x2e6fea(0x315)],'children':_0x3a07e4}),we[_0x2e6fea(0x20b)]('div',{'className':Ze[_0x2e6fea(0x49c)],'children':_0x19a22b})]});}return _0x1fe480?_0x28feae():we[_0x38f0d5(0x20b)](_0x542c0a,{'title':_0x37ae90['t'](_0x38f0d5(0x128)),'children':_0x28feae()});}var Ea=Object[_0xf37888(0x320)],ba=Object[_0xf37888(0x26b)],Ta=(_0x4e2f69,_0xb37e57,_0x24f386,_0x404342)=>{const _0x462af2=_0xf37888;for(var _0x26dad0=_0x404342>0x1?void 0x0:_0x404342?ba(_0xb37e57,_0x24f386):_0xb37e57,_0x21bedf=_0x4e2f69[_0x462af2(0x42c)]-0x1,_0x1b9f39;_0x21bedf>=0x0;_0x21bedf--)(_0x1b9f39=_0x4e2f69[_0x21bedf])&&(_0x26dad0=(_0x404342?_0x1b9f39(_0xb37e57,_0x24f386,_0x26dad0):_0x1b9f39(_0x26dad0))||_0x26dad0);return _0x404342&&_0x26dad0&&Ea(_0xb37e57,_0x24f386,_0x26dad0),_0x26dad0;},ht=(_0x48106d,_0xded0e5)=>(_0x2f67aa,_0xd203ff)=>_0xded0e5(_0x2f67aa,_0xd203ff,_0x48106d);let St=class extends _0xb54fec{constructor(_0x1bcac2,_0x478273,_0x5c6a4f,_0x1cb960){const _0x4ccdb0=_0xf37888;super(),g(this,_0x4ccdb0(0x18e),new _0x7465ad(J['NOT_COLLAB'])),(this[_0x4ccdb0(0x1c2)]=_0x1bcac2,this[_0x4ccdb0(0x26c)]=_0x478273,this['_injector']=_0x5c6a4f,this[_0x4ccdb0(0x247)]=_0x1cb960,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xf37888(0x311)](){const _0x3e5628=_0xf37888;this[_0x3e5628(0x3ec)](this['_univerInstanceService'][_0x3e5628(0x388)][_0x3e5628(0x3bf)](_0x784c53(()=>{const _0x2a5b80=_0x3e5628,_0x1bef92=this['_univerInstanceService']['getFocusedUnit']();return _0x1bef92?this[_0x2a5b80(0x247)][_0x2a5b80(0x15a)](_0x1bef92['getUnitId']()):_0x5ac583(null);}),_0x784c53(_0x4c2ce8=>_0x4c2ce8?_0x4c2ce8['status$']:_0x5ac583(J['NOT_COLLAB'])))[_0x3e5628(0x236)](_0x5717f9=>{const _0x9c7450=_0x3e5628;this[_0x9c7450(0x18e)]['next'](_0x5717f9);}));}['_initStatusComponent'](){const _0x2ed757=_0xf37888;this[_0x2ed757(0x3ec)](this['_uiPartsService'][_0x2ed757(0x458)](_0x31b17c[_0x2ed757(0x4b3)],()=>_0x31c12e(Ra({'status$':this[_0x2ed757(0x18e)][_0x2ed757(0x2cf)]()}),this[_0x2ed757(0x43d)])));}};St=Ta([ht(0x0,_0x6b8e83),ht(0x1,_0x1c0ace),ht(0x2,_0x39c8b8(_0x2fd08f)),ht(0x3,_0x39c8b8(it))],St);function Ra(_0x155a77){const {status$:_0x34b98e}=_0x155a77;return function(){return we['jsx'](Ca,{'status$':_0x34b98e});};}const Bi=_0x11a95d(_0xf37888(0x4c5));var ya=Object[_0xf37888(0x320)],Oa=Object[_0xf37888(0x26b)],wa=(_0x201348,_0x5a16e8,_0x21405b,_0x5739f7)=>{for(var _0x179e3f=_0x5739f7>0x1?void 0x0:_0x5739f7?Oa(_0x5a16e8,_0x21405b):_0x5a16e8,_0x491ff9=_0x201348['length']-0x1,_0x218519;_0x491ff9>=0x0;_0x491ff9--)(_0x218519=_0x201348[_0x491ff9])&&(_0x179e3f=(_0x5739f7?_0x218519(_0x5a16e8,_0x21405b,_0x179e3f):_0x218519(_0x179e3f))||_0x179e3f);return _0x5739f7&&_0x179e3f&&ya(_0x5a16e8,_0x21405b,_0x179e3f),_0x179e3f;},ke=(_0x59f844,_0x1ff9c4)=>(_0x6715c,_0x578740)=>_0x1ff9c4(_0x6715c,_0x578740,_0x59f844);let It=class extends _0x3c16d2{constructor(_0x24de85,_0x4f0e06,_0x3cbfea,_0x183961,_0x490d79,_0x16bbf7){const _0x36a40d=_0xf37888;super(),this[_0x36a40d(0x237)]=_0x24de85,this[_0x36a40d(0x2c3)]=_0x4f0e06,this['_commandService']=_0x3cbfea,this[_0x36a40d(0x324)]=_0x183961,this[_0x36a40d(0x33e)]=_0x490d79,_0x16bbf7?_0x16bbf7==null||_0x16bbf7[_0x36a40d(0x2ca)]()[_0x36a40d(0x1ed)](()=>this[_0x36a40d(0x406)]()):(this[_0x36a40d(0x2c3)][_0x36a40d(0x13c)](_0x36a40d(0x32d),_0x36a40d(0x1d9)),this[_0x36a40d(0x406)]());}async[_0xf37888(0x406)](){const _0x2f7a3f=_0xf37888,_0x1d0109=this[_0x2f7a3f(0x237)][_0x2f7a3f(0x190)]('unit'),_0x492368=this[_0x2f7a3f(0x237)][_0x2f7a3f(0x190)](_0x2f7a3f(0x1fd));if(!_0x1d0109||!_0x492368){this[_0x2f7a3f(0x2c3)][_0x2f7a3f(0x13c)](_0x2f7a3f(0x32d),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x492368)){case ce[_0x2f7a3f(0x19a)]:{const _0x37f9d2=await this['_loadSheet'](_0x1d0109);this[_0x2f7a3f(0x328)](_0x37f9d2);break;}case ce[_0x2f7a3f(0x1c1)]:{await this['_loadDoc'](_0x1d0109);break;}default:{this[_0x2f7a3f(0x2c3)][_0x2f7a3f(0x329)](_0x2f7a3f(0x32d),_0x2f7a3f(0x20c));break;}}}async[_0xf37888(0x328)](_0x543866){const _0x4c938c=_0xf37888;await this['_updateSubUnitFromURLParams'](_0x543866),_0x543866['activeSheet$']['pipe'](_0x1825a9(this[_0x4c938c(0x118)]))[_0x4c938c(0x236)](_0x2de3a5=>{const _0x2375f2=_0x4c938c;_0x2de3a5&&this[_0x2375f2(0x391)](_0x2de3a5);}),this[_0x4c938c(0x237)][_0x4c938c(0x22a)][_0x4c938c(0x3bf)](_0x1825a9(this[_0x4c938c(0x118)]))[_0x4c938c(0x236)](()=>this[_0x4c938c(0x265)](_0x543866));}[_0xf37888(0x391)](_0x6098e2,_0x353eb5=!0x1){const _0x5b9eed=_0xf37888,_0x35260=this[_0x5b9eed(0x237)][_0x5b9eed(0x190)](_0x5b9eed(0x323));_0x6098e2['getSheetId']()!==_0x35260&&this[_0x5b9eed(0x237)]['setParam']('subunit',_0x6098e2['getSheetId'](),_0x353eb5);}async[_0xf37888(0x265)](_0x49e2d1){const _0x1b969e=_0xf37888;var _0x3acc2e;const _0x57b684=this[_0x1b969e(0x237)]['getParam'](_0x1b969e(0x323));if(!_0x57b684||!_0x49e2d1['getSheetBySheetId'](_0x57b684)){const _0x4d8a29=_0x49e2d1[_0x1b969e(0x4d4)]()[0x0],_0x3742d4=_0x49e2d1['getSheetBySheetId'](_0x4d8a29);if(!_0x3742d4)return;this[_0x1b969e(0x391)](_0x3742d4,!0x0),await this[_0x1b969e(0x1fb)][_0x1b969e(0x163)](_0x4fb117['id'],{'unitId':_0x49e2d1['getUnitId'](),'subUnitId':_0x4d8a29});return;}((_0x3acc2e=_0x49e2d1[_0x1b969e(0x14f)]())==null?void 0x0:_0x3acc2e[_0x1b969e(0x370)]())!==_0x57b684&&await this[_0x1b969e(0x1fb)][_0x1b969e(0x163)](_0x4fb117['id'],{'unitId':_0x49e2d1[_0x1b969e(0x1a4)](),'subUnitId':_0x57b684});}async['_loadSheet'](_0x2404f3){const _0x3404f2=_0xf37888;let _0x21843c=0x0;const _0x152faf=await this[_0x3404f2(0x324)]['loadOfflineData'](_0x2404f3);return _0x152faf&&(_0x152faf[_0x3404f2(0x2b6)]||_0x152faf[_0x3404f2(0x372)][_0x3404f2(0x42c)]!==0x0)&&(_0x21843c=_0x152faf[_0x3404f2(0x3de)]),_0x21843c===0x0&&this[_0x3404f2(0x2c3)][_0x3404f2(0x13c)]('[DataLoaderController]',_0x3404f2(0x3b2)),this[_0x3404f2(0x33e)][_0x3404f2(0x12a)](_0x2404f3,_0x21843c);}async[_0xf37888(0x359)](_0x5bcb9e){const _0x303241=_0xf37888;let _0x3a7043=0x0;const _0x2ad6be=await this['_localCacheService']['loadOfflineData'](_0x5bcb9e);return _0x2ad6be&&(_0x2ad6be[_0x303241(0x2b6)]||_0x2ad6be[_0x303241(0x372)][_0x303241(0x42c)]!==0x0)&&(_0x3a7043=_0x2ad6be[_0x303241(0x3de)]),_0x3a7043===0x0&&this[_0x303241(0x2c3)][_0x303241(0x13c)]('[DataLoaderController]',_0x303241(0x3b2)),this[_0x303241(0x33e)]['loadDoc'](_0x5bcb9e,_0x3a7043);}};It=wa([ke(0x0,Bi),ke(0x1,_0x399eca),ke(0x2,_0x48fc43),ke(0x3,_0x39c8b8(q)),ke(0x4,_0x39c8b8(_0x19a3ab)),ke(0x5,_0x174482(_0x480e23))],It);var Da=Object[_0xf37888(0x320)],Pa=Object[_0xf37888(0x26b)],Ua=(_0x207fc8,_0x227033,_0x514a4f,_0x5d4a5e)=>{const _0x3bfdfd=_0xf37888;for(var _0x280d58=_0x5d4a5e>0x1?void 0x0:_0x5d4a5e?Pa(_0x227033,_0x514a4f):_0x227033,_0x51978b=_0x207fc8[_0x3bfdfd(0x42c)]-0x1,_0x33ad6d;_0x51978b>=0x0;_0x51978b--)(_0x33ad6d=_0x207fc8[_0x51978b])&&(_0x280d58=(_0x5d4a5e?_0x33ad6d(_0x227033,_0x514a4f,_0x280d58):_0x33ad6d(_0x280d58))||_0x280d58);return _0x5d4a5e&&_0x280d58&&Da(_0x227033,_0x514a4f,_0x280d58),_0x280d58;},zs=(_0x21070c,_0x1af66b)=>(_0xaa4df1,_0x2a787f)=>_0x1af66b(_0xaa4df1,_0x2a787f,_0x21070c);const Na='DEFAULT_FILE_NAME',Aa=_0xf37888(0x2a2);let Ct=class extends _0xb54fec{constructor(_0x558ad0,_0x5bf2b2){const _0x204f95=_0xf37888;super(),this['_univerInstanceService']=_0x558ad0,this[_0x204f95(0x1f2)]=_0x5bf2b2,this[_0x204f95(0x406)]();}[_0xf37888(0x406)](){const _0x47f59f=_0xf37888;this['disposeWithMe'](this[_0x47f59f(0x1c2)][_0x47f59f(0x388)][_0x47f59f(0x236)](()=>{const _0x27581d=_0x47f59f;var _0x4f7922;const _0x24900f=this[_0x27581d(0x1c2)]['getFocusedUnit']();let _0x116bea=(_0x4f7922=this[_0x27581d(0x1f2)][_0x27581d(0x37a)](Na))!=null?_0x4f7922:Aa;_0x24900f instanceof _0x400c08&&(_0x116bea=_0x24900f[_0x27581d(0x14e)]),document['title']=_0x116bea;}));}};Ct=Ua([zs(0x0,_0x6b8e83),zs(0x1,_0x45a6b3)],Ct);var Ma=Object['defineProperty'],xa=Object[_0xf37888(0x26b)],La=(_0x400391,_0x33a45e,_0xd44e6f,_0x2d7452)=>{for(var _0x19e291=_0x2d7452>0x1?void 0x0:_0x2d7452?xa(_0x33a45e,_0xd44e6f):_0x33a45e,_0x59c276=_0x400391['length']-0x1,_0x5f4a24;_0x59c276>=0x0;_0x59c276--)(_0x5f4a24=_0x400391[_0x59c276])&&(_0x19e291=(_0x2d7452?_0x5f4a24(_0x33a45e,_0xd44e6f,_0x19e291):_0x5f4a24(_0x19e291))||_0x19e291);return _0x2d7452&&_0x19e291&&Ma(_0x33a45e,_0xd44e6f,_0x19e291),_0x19e291;},Wt=(_0x25ac31,_0x3d18aa)=>(_0x323629,_0x17794d)=>_0x3d18aa(_0x323629,_0x17794d,_0x25ac31);let Et=class{constructor(_0x44d9d5,_0x4c080e,_0x462c8f){const _0x155445=_0xf37888;this[_0x155445(0x1f2)]=_0x44d9d5,this[_0x155445(0x169)]=_0x4c080e,this[_0x155445(0x362)]=_0x462c8f,this[_0x155445(0x10e)]();}['init'](){const _0x678d7a=_0xf37888;this[_0x678d7a(0x169)][_0x678d7a(0x501)]({'priority':0x1,'interceptor':(_0xce2d50,_0xbc7ca7)=>_0xbc7ca7(_0xce2d50)[_0x678d7a(0x3bf)](_0x1240df(async _0x3b5b21=>{const _0x2ae3be=_0x678d7a,_0x1a698b=_0x3b5b21;if(_0x1a698b[_0x2ae3be(0x4a1)]===0x191&&window[_0x2ae3be(0x421)](this['localeService']['t'](_0x2ae3be(0x2da)))){const _0x489cab=window['encodeURIComponent'](window[_0x2ae3be(0x205)][_0x2ae3be(0x2b7)]);window[_0x2ae3be(0x205)][_0x2ae3be(0x2b7)]=this[_0x2ae3be(0x3ad)]()+_0x2ae3be(0x19d)+_0x489cab;}return _0x1a698b;}))});}[_0xf37888(0x3ad)](){const _0x18528b=_0xf37888;var _0xac4301,_0xa5ca9f;const _0x8380f2=this[_0x18528b(0x1f2)][_0x18528b(0x37a)](br),_0x1faf3a=this[_0x18528b(0x1f2)][_0x18528b(0x37a)](ie);return(_0xa5ca9f=(_0xac4301=_0x1faf3a==null?void 0x0:_0x1faf3a[_0x18528b(0x28d)])!=null?_0xac4301:_0x8380f2)!=null?_0xa5ca9f:Tr;}};Et=La([Wt(0x0,_0x45a6b3),Wt(0x1,_0x39c8b8(_0xf3436a)),Wt(0x2,_0x39c8b8(_0x50f35b))],Et);var $a=Object[_0xf37888(0x320)],Ha=Object[_0xf37888(0x26b)],ja=(_0x47c6d1,_0x210918,_0x167ded,_0x544de9)=>{const _0x568e7a=_0xf37888;for(var _0x228100=_0x544de9>0x1?void 0x0:_0x544de9?Ha(_0x210918,_0x167ded):_0x210918,_0x3a5cc6=_0x47c6d1[_0x568e7a(0x42c)]-0x1,_0x145efd;_0x3a5cc6>=0x0;_0x3a5cc6--)(_0x145efd=_0x47c6d1[_0x3a5cc6])&&(_0x228100=(_0x544de9?_0x145efd(_0x210918,_0x167ded,_0x228100):_0x145efd(_0x228100))||_0x228100);return _0x544de9&&_0x228100&&$a(_0x210918,_0x167ded,_0x228100),_0x228100;},qs=(_0x7719da,_0x4d25b0)=>(_0xda2bce,_0x5537a6)=>_0x4d25b0(_0xda2bce,_0x5537a6,_0x7719da);const Ba=_0xf37888(0x4ed),ka=_0xf37888(0x4c4);let cs=class extends _0xb54fec{constructor(_0x2a261c,_0xc8803){const _0x89e980=_0xf37888;super(),this[_0x89e980(0x4c6)]=_0x2a261c,this[_0x89e980(0x1f2)]=_0xc8803,this[_0x89e980(0x245)]();}[_0xf37888(0x245)](){const _0x33c735=_0xf37888,_0x2b64a5=this;this[_0x33c735(0x3ec)](this['_HTTPService'][_0x33c735(0x501)]({'priority':0x3e7,'interceptor':_0x5d3d7a({'isMatch'(_0x12cd40){const _0x598dcd=_0x33c735;var _0x227bc2;if(_0x12cd40[_0x598dcd(0x361)]===_0x598dcd(0x2f5)&&((_0x227bc2=_0x12cd40[_0x598dcd(0x227)])!=null&&_0x227bc2['body'])){const {objectID:_0x51873f,objectType:_0x1f66e9}=_0x12cd40['requestParams']['body']||{};if(!_0x51873f||_0x1f66e9===void 0x0)return!0x1;const _0x32acc9=_0x2b64a5['_getAPIPrefixPath']()+'/'+_0x1f66e9+_0x598dcd(0x47d)+_0x51873f+'/allowed';if(_0x12cd40[_0x598dcd(0x35d)]===_0x32acc9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x16f245){const _0x24aa6b=_0x33c735;var _0x3cf2ef;return(_0x3cf2ef=_0x16f245['requestParams'])==null?void 0x0:_0x3cf2ef[_0x24aa6b(0x251)];},'mergeParamsToRequest'(_0xdc37f1,_0x135fb9){const _0x43a908=_0x33c735,_0xa9efd7=_0x2b64a5['_getAPIPrefixPath']()+_0x43a908(0x3b5),_0x2aee7f=_0xdc37f1['reduce']((_0x140566,_0x153687)=>{const _0x5f2b94=_0x43a908,{unitID:_0x418fa1,objectID:_0x1ed233,objectType:_0x335906,actions:_0x39e034}=_0x153687;return _0x140566[_0x418fa1]||(_0x140566[_0x418fa1]={}),_0x140566[_0x418fa1][_0x1ed233]||(_0x140566[_0x418fa1][_0x1ed233]={'objectID':_0x1ed233,'objectType':_0x335906,'actions':[]}),_0x140566[_0x418fa1][_0x1ed233][_0x5f2b94(0x2fc)][_0x5f2b94(0x270)](..._0x39e034),_0x140566;},{}),_0x45265f=[];for(const _0x18291e in _0x2aee7f)for(const _0x13a0fa in _0x2aee7f[_0x18291e]){const {actions:_0x216c03,objectType:_0x3747d1}=_0x2aee7f[_0x18291e][_0x13a0fa],_0x5e4efa=[...new Set(_0x216c03)];_0x45265f[_0x43a908(0x270)]({'unitID':_0x18291e,'objectID':_0x13a0fa,'objectType':_0x3747d1,'actions':_0x5e4efa});}return new _0x3738a7(_0x43a908(0x2f5),_0xa9efd7,{'headers':_0x135fb9[_0x43a908(0x3d1)],'withCredentials':_0x135fb9[_0x43a908(0x4e8)],'responseType':_0x135fb9[_0x43a908(0x3c8)],'body':{'requests':_0x45265f}});}},{'distributeResult'(_0x19e02d,_0x5744ec){const _0x536c7d=_0x33c735,{objectActions:_0x518f52}=_0x19e02d;return _0x5744ec[_0x536c7d(0x41b)](_0x2310d9=>{const _0x424d32=_0x536c7d,{unitID:_0xa1cd0b,objectID:_0xae7cfa,actions:_0x56287a}=_0x2310d9,_0x5b3408=_0x518f52[_0x424d32(0x4b0)](_0x55ad22=>_0x55ad22[_0x424d32(0x24f)]===_0xa1cd0b&&_0x55ad22[_0x424d32(0x3a0)]===_0xae7cfa),_0x30df90=_0x56287a[_0x424d32(0x41b)](_0x2dfb0f=>_0x5b3408==null?void 0x0:_0x5b3408[_0x424d32(0x2fc)][_0x424d32(0x4b0)](_0x5a3adc=>_0x5a3adc[_0x424d32(0x4fa)]===_0x2dfb0f))[_0x424d32(0x4b4)](_0x3c9b88=>!!_0x3c9b88);return{'config':_0x2310d9,'result':{'actions':_0x30df90,'error':_0x19e02d[_0x424d32(0x329)]}};});}})}));}[_0xf37888(0x144)](){const _0x5be1e7=_0xf37888;var _0x10cbad,_0x28e394;const _0x4961ef=this[_0x5be1e7(0x1f2)][_0x5be1e7(0x37a)](Ba),_0x3592a3=this[_0x5be1e7(0x1f2)][_0x5be1e7(0x37a)](ie);return(_0x28e394=(_0x10cbad=_0x3592a3==null?void 0x0:_0x3592a3[_0x5be1e7(0x23c)])!=null?_0x10cbad:_0x4961ef)!=null?_0x28e394:ka;}async[_0xf37888(0x373)](_0xcee737){const _0x107ac6=_0xf37888,_0x532007=this['_getAPIPrefixPath']()+'/'+_0xcee737['objectType']+_0x107ac6(0x36c);return(await this[_0x107ac6(0x4c6)][_0x107ac6(0x141)](_0x532007,{'body':_0xcee737}))[_0x107ac6(0x251)][_0x107ac6(0x3a0)]||'';}async['list'](_0x44d9e4){const _0x3483f6=_0xf37888,_0x1b43ec=this['_getAPIPrefixPath']()+_0x3483f6(0x20f);return(await this[_0x3483f6(0x4c6)][_0x3483f6(0x141)](_0x1b43ec,{'body':_0x44d9e4}))[_0x3483f6(0x251)][_0x3483f6(0x396)];}async[_0xf37888(0x469)](_0x282a7b){const _0x366a68=_0xf37888,_0x329c1e=this['_getAPIPrefixPath']()+'/'+_0x282a7b[_0x366a68(0x21c)]+_0x366a68(0x47d)+_0x282a7b[_0x366a68(0x3a0)];await this[_0x366a68(0x4c6)][_0x366a68(0x476)](_0x329c1e,{'body':_0x282a7b});}async[_0xf37888(0x4da)](_0x10099d){const _0xac88ee=_0xf37888,_0x417e59=this['_getAPIPrefixPath']()+'/'+_0x10099d[_0xac88ee(0x21c)]+_0xac88ee(0x47d)+_0x10099d[_0xac88ee(0x3a0)]+_0xac88ee(0x198);return(await this[_0xac88ee(0x4c6)]['post'](_0x417e59,{'body':_0x10099d}))['body'][_0xac88ee(0x2fc)];}async[_0xf37888(0x173)](_0x522c81){const _0x573990=_0xf37888,_0x596937=this[_0x573990(0x144)]()+_0x573990(0x3b5);return(await this['_HTTPService']['post'](_0x596937,{'body':{'requests':_0x522c81}}))['body'][_0x573990(0x23d)];}async[_0xf37888(0x409)](_0x2cd18e){const _0x46fcee=_0xf37888,_0x449bc4=this[_0x46fcee(0x144)]()+'/'+_0x2cd18e[_0x46fcee(0x21c)]+'/role',_0x1fcf20=await this[_0x46fcee(0x4c6)]['post'](_0x449bc4,{'body':_0x2cd18e});return{'roles':_0x1fcf20[_0x46fcee(0x251)][_0x46fcee(0x363)],'actions':_0x1fcf20[_0x46fcee(0x251)]['actions']};}async[_0xf37888(0x3ba)](_0x4c2c23){const _0x47980a=_0xf37888,_0x3374e9=this['_getAPIPrefixPath']()+_0x47980a(0x201);await this[_0x47980a(0x4c6)][_0x47980a(0x3ab)](_0x3374e9,{'params':{'collaboratorID':_0x4c2c23[_0x47980a(0x12c)],'objectID':_0x4c2c23[_0x47980a(0x3a0)],'unitID':_0x4c2c23['unitID']}});}async[_0xf37888(0x199)](_0x3f53fa){const _0xd46668=_0xf37888,_0x4cd14f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xd46668(0x4c6)][_0xd46668(0x35b)](_0x4cd14f,{'body':_0x3f53fa});}async['createCollaborator'](_0x15f4f3){const _0x585ca7=_0xf37888,_0x204520=this[_0x585ca7(0x144)]()+'/collaborator';await this[_0x585ca7(0x4c6)][_0x585ca7(0x141)](_0x204520,{'body':_0x15f4f3});}async[_0xf37888(0x447)](_0x1fc25d){const _0x42671c=_0xf37888,_0x468522=this[_0x42671c(0x144)]()+_0x42671c(0x201);return(await this[_0x42671c(0x4c6)][_0x42671c(0x166)](_0x468522,{'params':{'objectID':_0x1fc25d['objectID'],'unitID':_0x1fc25d[_0x42671c(0x24f)]}}))['body'][_0x42671c(0x365)];}async[_0xf37888(0x1d8)](_0x408a1d){const _0x3b808b=_0xf37888,_0x363369=this[_0x3b808b(0x144)]()+_0x3b808b(0x201);await this['_HTTPService']['put'](_0x363369,{'body':_0x408a1d});}};cs=ja([qs(0x0,_0x39c8b8(_0xf3436a)),qs(0x1,_0x39c8b8(_0x45a6b3))],cs);var ki={'exports':{}};function Wa(_0x411360){const _0x1d1e57=_0xf37888;throw new Error(_0x1d1e57(0x2ef)+_0x411360+_0x1d1e57(0x2c6));}var Ft={'exports':{}},Xs;function ue(){const _0x232aca=_0xf37888;return Xs||(Xs=0x1,function(_0x57a201,_0x562480){(function(_0x553a22,_0x32d51d){const _0x9f71f7=_0x136c;_0x57a201[_0x9f71f7(0x4bf)]=_0x32d51d();}(Z,function(){var _0x409769=_0x409769||function(_0x340872,_0x1027fb){const _0x34b363=_0x136c;var _0x497f4e;if(typeof window<'u'&&window[_0x34b363(0x269)]&&(_0x497f4e=window['crypto']),typeof self<'u'&&self[_0x34b363(0x269)]&&(_0x497f4e=self[_0x34b363(0x269)]),typeof globalThis<'u'&&globalThis[_0x34b363(0x269)]&&(_0x497f4e=globalThis[_0x34b363(0x269)]),!_0x497f4e&&typeof window<'u'&&window[_0x34b363(0x448)]&&(_0x497f4e=window[_0x34b363(0x448)]),!_0x497f4e&&typeof Z<'u'&&Z[_0x34b363(0x269)]&&(_0x497f4e=Z[_0x34b363(0x269)]),!_0x497f4e&&typeof Wa==_0x34b363(0x1bc))try{_0x497f4e=require(_0x34b363(0x269));}catch{}var _0x59c8bb=function(){const _0x53b141=_0x34b363;if(_0x497f4e){if(typeof _0x497f4e[_0x53b141(0x232)]==_0x53b141(0x1bc))try{return _0x497f4e[_0x53b141(0x232)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x497f4e[_0x53b141(0x48e)]==_0x53b141(0x1bc))try{return _0x497f4e['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x53b141(0x238));},_0x2f1b8c=Object['create']||(function(){function _0x489f9c(){}return function(_0x24897e){const _0xe9663f=_0x136c;var _0x571d4a;return _0x489f9c[_0xe9663f(0x16d)]=_0x24897e,_0x571d4a=new _0x489f9c(),_0x489f9c['prototype']=null,_0x571d4a;};}()),_0x5c86e5={},_0x482ff6=_0x5c86e5[_0x34b363(0x1f5)]={},_0x8c5c72=_0x482ff6['Base']=(function(){return{'extend':function(_0x5798a4){const _0x1b75ce=_0x136c;var _0x834a6c=_0x2f1b8c(this);return _0x5798a4&&_0x834a6c[_0x1b75ce(0x185)](_0x5798a4),(!_0x834a6c['hasOwnProperty'](_0x1b75ce(0x10e))||this[_0x1b75ce(0x10e)]===_0x834a6c[_0x1b75ce(0x10e)])&&(_0x834a6c[_0x1b75ce(0x10e)]=function(){const _0x1a4fce=_0x1b75ce;_0x834a6c[_0x1a4fce(0x349)]['init']['apply'](this,arguments);}),_0x834a6c['init'][_0x1b75ce(0x16d)]=_0x834a6c,_0x834a6c[_0x1b75ce(0x349)]=this,_0x834a6c;},'create':function(){const _0x15a955=_0x136c;var _0x229ff3=this[_0x15a955(0x327)]();return _0x229ff3[_0x15a955(0x10e)][_0x15a955(0x50d)](_0x229ff3,arguments),_0x229ff3;},'init':function(){},'mixIn':function(_0x575624){const _0x38d43b=_0x136c;for(var _0x2feb31 in _0x575624)_0x575624[_0x38d43b(0x3ae)](_0x2feb31)&&(this[_0x2feb31]=_0x575624[_0x2feb31]);_0x575624[_0x38d43b(0x3ae)](_0x38d43b(0x492))&&(this[_0x38d43b(0x492)]=_0x575624[_0x38d43b(0x492)]);},'clone':function(){const _0x221c5c=_0x136c;return this[_0x221c5c(0x10e)]['prototype'][_0x221c5c(0x327)](this);}};}()),_0x221ccc=_0x482ff6['WordArray']=_0x8c5c72['extend']({'init':function(_0x240270,_0x4207ba){const _0x11c952=_0x34b363;_0x240270=this[_0x11c952(0x233)]=_0x240270||[],_0x4207ba!=_0x1027fb?this[_0x11c952(0x502)]=_0x4207ba:this['sigBytes']=_0x240270[_0x11c952(0x42c)]*0x4;},'toString':function(_0x31580e){const _0x4c78f9=_0x34b363;return(_0x31580e||_0x50d2a0)[_0x4c78f9(0x387)](this);},'concat':function(_0x5c9e4f){const _0x2ebb32=_0x34b363;var _0x411498=this[_0x2ebb32(0x233)],_0x491f72=_0x5c9e4f['words'],_0x10d77c=this['sigBytes'],_0x4dbed0=_0x5c9e4f['sigBytes'];if(this[_0x2ebb32(0x218)](),_0x10d77c%0x4)for(var _0x50f1e6=0x0;_0x50f1e6<_0x4dbed0;_0x50f1e6++){var _0x217100=_0x491f72[_0x50f1e6>>>0x2]>>>0x18-_0x50f1e6%0x4*0x8&0xff;_0x411498[_0x10d77c+_0x50f1e6>>>0x2]|=_0x217100<<0x18-(_0x10d77c+_0x50f1e6)%0x4*0x8;}else{for(var _0x31c357=0x0;_0x31c357<_0x4dbed0;_0x31c357+=0x4)_0x411498[_0x10d77c+_0x31c357>>>0x2]=_0x491f72[_0x31c357>>>0x2];}return this[_0x2ebb32(0x502)]+=_0x4dbed0,this;},'clamp':function(){const _0x142421=_0x34b363;var _0x3bfe1c=this[_0x142421(0x233)],_0x8fff1b=this['sigBytes'];_0x3bfe1c[_0x8fff1b>>>0x2]&=0xffffffff<<0x20-_0x8fff1b%0x4*0x8,_0x3bfe1c[_0x142421(0x42c)]=_0x340872[_0x142421(0x36f)](_0x8fff1b/0x4);},'clone':function(){const _0x5e3201=_0x34b363;var _0x4ec504=_0x8c5c72[_0x5e3201(0x470)][_0x5e3201(0x3b7)](this);return _0x4ec504[_0x5e3201(0x233)]=this[_0x5e3201(0x233)][_0x5e3201(0x3cb)](0x0),_0x4ec504;},'random':function(_0x3d4fbb){const _0x1479b7=_0x34b363;for(var _0x1e7551=[],_0xe4fecc=0x0;_0xe4fecc<_0x3d4fbb;_0xe4fecc+=0x4)_0x1e7551[_0x1479b7(0x270)](_0x59c8bb());return new _0x221ccc[(_0x1479b7(0x10e))](_0x1e7551,_0x3d4fbb);}}),_0x31694f=_0x5c86e5[_0x34b363(0x343)]={},_0x50d2a0=_0x31694f['Hex']={'stringify':function(_0x34d3b8){const _0x1a073b=_0x34b363;for(var _0x4b7123=_0x34d3b8[_0x1a073b(0x233)],_0x4351a9=_0x34d3b8[_0x1a073b(0x502)],_0x306bca=[],_0x45d2ab=0x0;_0x45d2ab<_0x4351a9;_0x45d2ab++){var _0x13d697=_0x4b7123[_0x45d2ab>>>0x2]>>>0x18-_0x45d2ab%0x4*0x8&0xff;_0x306bca[_0x1a073b(0x270)]((_0x13d697>>>0x4)['toString'](0x10)),_0x306bca[_0x1a073b(0x270)]((_0x13d697&0xf)[_0x1a073b(0x492)](0x10));}return _0x306bca[_0x1a073b(0x1ef)]('');},'parse':function(_0x1b6e21){const _0x5c93d1=_0x34b363;for(var _0x2ec28e=_0x1b6e21[_0x5c93d1(0x42c)],_0x29b71e=[],_0x1dd395=0x0;_0x1dd395<_0x2ec28e;_0x1dd395+=0x2)_0x29b71e[_0x1dd395>>>0x3]|=parseInt(_0x1b6e21[_0x5c93d1(0x4d9)](_0x1dd395,0x2),0x10)<<0x18-_0x1dd395%0x8*0x4;return new _0x221ccc[(_0x5c93d1(0x10e))](_0x29b71e,_0x2ec28e/0x2);}},_0x40c2c8=_0x31694f[_0x34b363(0x2e0)]={'stringify':function(_0x5bca80){const _0x3eae25=_0x34b363;for(var _0x1582ce=_0x5bca80['words'],_0x12959e=_0x5bca80[_0x3eae25(0x502)],_0x21629c=[],_0x504d71=0x0;_0x504d71<_0x12959e;_0x504d71++){var _0x2e1786=_0x1582ce[_0x504d71>>>0x2]>>>0x18-_0x504d71%0x4*0x8&0xff;_0x21629c['push'](String[_0x3eae25(0x130)](_0x2e1786));}return _0x21629c[_0x3eae25(0x1ef)]('');},'parse':function(_0x29346d){const _0x3c1725=_0x34b363;for(var _0x5424a3=_0x29346d[_0x3c1725(0x42c)],_0x45fcdf=[],_0x1a8018=0x0;_0x1a8018<_0x5424a3;_0x1a8018++)_0x45fcdf[_0x1a8018>>>0x2]|=(_0x29346d[_0x3c1725(0x1df)](_0x1a8018)&0xff)<<0x18-_0x1a8018%0x4*0x8;return new _0x221ccc[(_0x3c1725(0x10e))](_0x45fcdf,_0x5424a3);}},_0x5f26b1=_0x31694f['Utf8']={'stringify':function(_0x415dfe){const _0x27a0cb=_0x34b363;try{return decodeURIComponent(escape(_0x40c2c8[_0x27a0cb(0x387)](_0x415dfe)));}catch{throw new Error(_0x27a0cb(0x2dc));}},'parse':function(_0x1da73c){return _0x40c2c8['parse'](unescape(encodeURIComponent(_0x1da73c)));}},_0x4a5fca=_0x482ff6['BufferedBlockAlgorithm']=_0x8c5c72[_0x34b363(0x327)]({'reset':function(){const _0x2b2a40=_0x34b363;this[_0x2b2a40(0x277)]=new _0x221ccc[(_0x2b2a40(0x10e))](),this[_0x2b2a40(0x15e)]=0x0;},'_append':function(_0x2e697d){const _0x167159=_0x34b363;typeof _0x2e697d=='string'&&(_0x2e697d=_0x5f26b1[_0x167159(0x2e9)](_0x2e697d)),this['_data'][_0x167159(0x3b4)](_0x2e697d),this[_0x167159(0x15e)]+=_0x2e697d[_0x167159(0x502)];},'_process':function(_0x5ac58f){const _0x2f44b6=_0x34b363;var _0xe7a8fb,_0x5b4eec=this[_0x2f44b6(0x277)],_0x38a961=_0x5b4eec[_0x2f44b6(0x233)],_0x51cb84=_0x5b4eec['sigBytes'],_0x34ce17=this[_0x2f44b6(0x44d)],_0x4c9c2a=_0x34ce17*0x4,_0x4e1cbe=_0x51cb84/_0x4c9c2a;_0x5ac58f?_0x4e1cbe=_0x340872[_0x2f44b6(0x36f)](_0x4e1cbe):_0x4e1cbe=_0x340872[_0x2f44b6(0x2d9)]((_0x4e1cbe|0x0)-this[_0x2f44b6(0x200)],0x0);var _0x4e2296=_0x4e1cbe*_0x34ce17,_0x5a0c0c=_0x340872[_0x2f44b6(0x256)](_0x4e2296*0x4,_0x51cb84);if(_0x4e2296){for(var _0xe23486=0x0;_0xe23486<_0x4e2296;_0xe23486+=_0x34ce17)this['_doProcessBlock'](_0x38a961,_0xe23486);_0xe7a8fb=_0x38a961[_0x2f44b6(0x1a0)](0x0,_0x4e2296),_0x5b4eec[_0x2f44b6(0x502)]-=_0x5a0c0c;}return new _0x221ccc['init'](_0xe7a8fb,_0x5a0c0c);},'clone':function(){const _0x22dfbc=_0x34b363;var _0x22751b=_0x8c5c72[_0x22dfbc(0x470)][_0x22dfbc(0x3b7)](this);return _0x22751b[_0x22dfbc(0x277)]=this['_data'][_0x22dfbc(0x470)](),_0x22751b;},'_minBufferSize':0x0});_0x482ff6[_0x34b363(0x1fa)]=_0x4a5fca['extend']({'cfg':_0x8c5c72[_0x34b363(0x327)](),'init':function(_0x40e8a4){const _0x19d14e=_0x34b363;this[_0x19d14e(0x25b)]=this[_0x19d14e(0x25b)]['extend'](_0x40e8a4),this['reset']();},'reset':function(){const _0x493914=_0x34b363;_0x4a5fca[_0x493914(0x433)][_0x493914(0x3b7)](this),this[_0x493914(0x2b0)]();},'update':function(_0x1962fa){const _0x358c60=_0x34b363;return this['_append'](_0x1962fa),this[_0x358c60(0x38a)](),this;},'finalize':function(_0x50df86){const _0x4834c3=_0x34b363;_0x50df86&&this['_append'](_0x50df86);var _0xdccda0=this[_0x4834c3(0x1e8)]();return _0xdccda0;},'blockSize':0x10,'_createHelper':function(_0x4dc584){return function(_0xcc1fdb,_0x59b6a1){const _0x15897b=_0x136c;return new _0x4dc584[(_0x15897b(0x10e))](_0x59b6a1)[_0x15897b(0x22d)](_0xcc1fdb);};},'_createHmacHelper':function(_0x538285){return function(_0x8638c0,_0x4e1947){const _0x1a7228=_0x136c;return new _0x2b2334[(_0x1a7228(0x222))][(_0x1a7228(0x10e))](_0x538285,_0x4e1947)[_0x1a7228(0x22d)](_0x8638c0);};}});var _0x2b2334=_0x5c86e5[_0x34b363(0x1b2)]={};return _0x5c86e5;}(Math);return _0x409769;}));}(Ft)),Ft[_0x232aca(0x4bf)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x1cfed1,_0xa656a3){(function(_0x32d02d,_0x36ec76){_0x1cfed1['exports']=_0x36ec76(ue());}(Z,function(_0x312fc6){const _0x5bffff=_0x136c;return(function(){const _0x4e37ec=_0x136c;var _0x32b643=_0x312fc6,_0xf08d05=_0x32b643[_0x4e37ec(0x1f5)],_0x4f8c60=_0xf08d05[_0x4e37ec(0x290)],_0x20ed88=_0x32b643[_0x4e37ec(0x343)];_0x20ed88[_0x4e37ec(0x1f4)]={'stringify':function(_0x2fedc1){const _0x1a917f=_0x4e37ec;var _0x384863=_0x2fedc1[_0x1a917f(0x233)],_0x1abada=_0x2fedc1[_0x1a917f(0x502)],_0x75de3=this[_0x1a917f(0x264)];_0x2fedc1[_0x1a917f(0x218)]();for(var _0x49023c=[],_0x4af49e=0x0;_0x4af49e<_0x1abada;_0x4af49e+=0x3)for(var _0x191948=_0x384863[_0x4af49e>>>0x2]>>>0x18-_0x4af49e%0x4*0x8&0xff,_0x412be3=_0x384863[_0x4af49e+0x1>>>0x2]>>>0x18-(_0x4af49e+0x1)%0x4*0x8&0xff,_0x4f206f=_0x384863[_0x4af49e+0x2>>>0x2]>>>0x18-(_0x4af49e+0x2)%0x4*0x8&0xff,_0x2ce99e=_0x191948<<0x10|_0x412be3<<0x8|_0x4f206f,_0x5c7148=0x0;_0x5c7148<0x4&&_0x4af49e+_0x5c7148*0.75<_0x1abada;_0x5c7148++)_0x49023c[_0x1a917f(0x270)](_0x75de3[_0x1a917f(0x1fc)](_0x2ce99e>>>0x6*(0x3-_0x5c7148)&0x3f));var _0x1d2393=_0x75de3[_0x1a917f(0x1fc)](0x40);if(_0x1d2393){for(;_0x49023c['length']%0x4;)_0x49023c[_0x1a917f(0x270)](_0x1d2393);}return _0x49023c[_0x1a917f(0x1ef)]('');},'parse':function(_0x1135ec){const _0x26c914=_0x4e37ec;var _0x5cca10=_0x1135ec['length'],_0x22dfe5=this[_0x26c914(0x264)],_0x2d3a81=this['_reverseMap'];if(!_0x2d3a81){_0x2d3a81=this[_0x26c914(0x4df)]=[];for(var _0xfe796e=0x0;_0xfe796e<_0x22dfe5[_0x26c914(0x42c)];_0xfe796e++)_0x2d3a81[_0x22dfe5[_0x26c914(0x1df)](_0xfe796e)]=_0xfe796e;}var _0x192b33=_0x22dfe5['charAt'](0x40);if(_0x192b33){var _0x1a7bbb=_0x1135ec[_0x26c914(0x1eb)](_0x192b33);_0x1a7bbb!==-0x1&&(_0x5cca10=_0x1a7bbb);}return _0x3874f5(_0x1135ec,_0x5cca10,_0x2d3a81);},'_map':_0x4e37ec(0x239)};function _0x3874f5(_0x751371,_0x536879,_0x31645a){const _0x564347=_0x4e37ec;for(var _0x115631=[],_0x46a038=0x0,_0x1314f8=0x0;_0x1314f8<_0x536879;_0x1314f8++)if(_0x1314f8%0x4){var _0x22eb57=_0x31645a[_0x751371['charCodeAt'](_0x1314f8-0x1)]<<_0x1314f8%0x4*0x2,_0x35a09f=_0x31645a[_0x751371[_0x564347(0x1df)](_0x1314f8)]>>>0x6-_0x1314f8%0x4*0x2,_0x18fcea=_0x22eb57|_0x35a09f;_0x115631[_0x46a038>>>0x2]|=_0x18fcea<<0x18-_0x46a038%0x4*0x8,_0x46a038++;}return _0x4f8c60[_0x564347(0x373)](_0x115631,_0x46a038);}}()),_0x312fc6[_0x5bffff(0x343)][_0x5bffff(0x1f4)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x2377d8=_0xf37888;return Zs||(Zs=0x1,function(_0x22f671,_0x23e447){(function(_0xbc78a8,_0x5947b0){_0x22f671['exports']=_0x5947b0(ue());}(Z,function(_0x498788){const _0x2b2fb2=_0x136c;return function(_0x21f90c){const _0x5e1f76=_0x136c;var _0x236941=_0x498788,_0x1dd523=_0x236941[_0x5e1f76(0x1f5)],_0x5b6625=_0x1dd523[_0x5e1f76(0x290)],_0x410951=_0x1dd523['Hasher'],_0x4a0e9e=_0x236941[_0x5e1f76(0x1b2)],_0x3a6318=[];(function(){const _0x53f38d=_0x5e1f76;for(var _0x44cd5b=0x0;_0x44cd5b<0x40;_0x44cd5b++)_0x3a6318[_0x44cd5b]=_0x21f90c[_0x53f38d(0x319)](_0x21f90c[_0x53f38d(0x4c0)](_0x44cd5b+0x1))*0x100000000|0x0;}());var _0xa0b7fd=_0x4a0e9e['MD5']=_0x410951[_0x5e1f76(0x327)]({'_doReset':function(){const _0x4e4e27=_0x5e1f76;this[_0x4e4e27(0x3d6)]=new _0x5b6625[(_0x4e4e27(0x10e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2ba2bb,_0x5876d4){const _0x4e16e1=_0x5e1f76;for(var _0x2eda31=0x0;_0x2eda31<0x10;_0x2eda31++){var _0x4fc04e=_0x5876d4+_0x2eda31,_0x870d3c=_0x2ba2bb[_0x4fc04e];_0x2ba2bb[_0x4fc04e]=(_0x870d3c<<0x8|_0x870d3c>>>0x18)&0xff00ff|(_0x870d3c<<0x18|_0x870d3c>>>0x8)&0xff00ff00;}var _0x5d6cfc=this[_0x4e16e1(0x3d6)][_0x4e16e1(0x233)],_0x4f8239=_0x2ba2bb[_0x5876d4+0x0],_0xa2530b=_0x2ba2bb[_0x5876d4+0x1],_0x10a705=_0x2ba2bb[_0x5876d4+0x2],_0x24a1b7=_0x2ba2bb[_0x5876d4+0x3],_0x82be4f=_0x2ba2bb[_0x5876d4+0x4],_0x250b31=_0x2ba2bb[_0x5876d4+0x5],_0x446a7c=_0x2ba2bb[_0x5876d4+0x6],_0x4fa67b=_0x2ba2bb[_0x5876d4+0x7],_0x30cc5e=_0x2ba2bb[_0x5876d4+0x8],_0x44c8a4=_0x2ba2bb[_0x5876d4+0x9],_0xd05d06=_0x2ba2bb[_0x5876d4+0xa],_0x31340d=_0x2ba2bb[_0x5876d4+0xb],_0x541ebe=_0x2ba2bb[_0x5876d4+0xc],_0x18635e=_0x2ba2bb[_0x5876d4+0xd],_0x52573d=_0x2ba2bb[_0x5876d4+0xe],_0x52b5d6=_0x2ba2bb[_0x5876d4+0xf],_0x38f6c9=_0x5d6cfc[0x0],_0x494d75=_0x5d6cfc[0x1],_0x48bfef=_0x5d6cfc[0x2],_0x107b54=_0x5d6cfc[0x3];_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x4f8239,0x7,_0x3a6318[0x0]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0xa2530b,0xc,_0x3a6318[0x1]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x10a705,0x11,_0x3a6318[0x2]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x24a1b7,0x16,_0x3a6318[0x3]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x82be4f,0x7,_0x3a6318[0x4]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x250b31,0xc,_0x3a6318[0x5]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x446a7c,0x11,_0x3a6318[0x6]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x4fa67b,0x16,_0x3a6318[0x7]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x30cc5e,0x7,_0x3a6318[0x8]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x44c8a4,0xc,_0x3a6318[0x9]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0xd05d06,0x11,_0x3a6318[0xa]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x31340d,0x16,_0x3a6318[0xb]),_0x38f6c9=_0x4722b8(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x541ebe,0x7,_0x3a6318[0xc]),_0x107b54=_0x4722b8(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x18635e,0xc,_0x3a6318[0xd]),_0x48bfef=_0x4722b8(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52573d,0x11,_0x3a6318[0xe]),_0x494d75=_0x4722b8(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x52b5d6,0x16,_0x3a6318[0xf]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0xa2530b,0x5,_0x3a6318[0x10]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x446a7c,0x9,_0x3a6318[0x11]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x31340d,0xe,_0x3a6318[0x12]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x4f8239,0x14,_0x3a6318[0x13]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x250b31,0x5,_0x3a6318[0x14]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0xd05d06,0x9,_0x3a6318[0x15]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52b5d6,0xe,_0x3a6318[0x16]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x82be4f,0x14,_0x3a6318[0x17]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x44c8a4,0x5,_0x3a6318[0x18]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x52573d,0x9,_0x3a6318[0x19]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x24a1b7,0xe,_0x3a6318[0x1a]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x30cc5e,0x14,_0x3a6318[0x1b]),_0x38f6c9=_0x3191c3(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x18635e,0x5,_0x3a6318[0x1c]),_0x107b54=_0x3191c3(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x10a705,0x9,_0x3a6318[0x1d]),_0x48bfef=_0x3191c3(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x4fa67b,0xe,_0x3a6318[0x1e]),_0x494d75=_0x3191c3(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x541ebe,0x14,_0x3a6318[0x1f]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x250b31,0x4,_0x3a6318[0x20]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x30cc5e,0xb,_0x3a6318[0x21]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x31340d,0x10,_0x3a6318[0x22]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x52573d,0x17,_0x3a6318[0x23]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0xa2530b,0x4,_0x3a6318[0x24]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x82be4f,0xb,_0x3a6318[0x25]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x4fa67b,0x10,_0x3a6318[0x26]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0xd05d06,0x17,_0x3a6318[0x27]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x18635e,0x4,_0x3a6318[0x28]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x4f8239,0xb,_0x3a6318[0x29]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x24a1b7,0x10,_0x3a6318[0x2a]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x446a7c,0x17,_0x3a6318[0x2b]),_0x38f6c9=_0x245b4f(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x44c8a4,0x4,_0x3a6318[0x2c]),_0x107b54=_0x245b4f(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x541ebe,0xb,_0x3a6318[0x2d]),_0x48bfef=_0x245b4f(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52b5d6,0x10,_0x3a6318[0x2e]),_0x494d75=_0x245b4f(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x10a705,0x17,_0x3a6318[0x2f]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x4f8239,0x6,_0x3a6318[0x30]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x4fa67b,0xa,_0x3a6318[0x31]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x52573d,0xf,_0x3a6318[0x32]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x250b31,0x15,_0x3a6318[0x33]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x541ebe,0x6,_0x3a6318[0x34]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x24a1b7,0xa,_0x3a6318[0x35]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0xd05d06,0xf,_0x3a6318[0x36]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0xa2530b,0x15,_0x3a6318[0x37]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x30cc5e,0x6,_0x3a6318[0x38]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x52b5d6,0xa,_0x3a6318[0x39]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x446a7c,0xf,_0x3a6318[0x3a]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x18635e,0x15,_0x3a6318[0x3b]),_0x38f6c9=_0x131fc2(_0x38f6c9,_0x494d75,_0x48bfef,_0x107b54,_0x82be4f,0x6,_0x3a6318[0x3c]),_0x107b54=_0x131fc2(_0x107b54,_0x38f6c9,_0x494d75,_0x48bfef,_0x31340d,0xa,_0x3a6318[0x3d]),_0x48bfef=_0x131fc2(_0x48bfef,_0x107b54,_0x38f6c9,_0x494d75,_0x10a705,0xf,_0x3a6318[0x3e]),_0x494d75=_0x131fc2(_0x494d75,_0x48bfef,_0x107b54,_0x38f6c9,_0x44c8a4,0x15,_0x3a6318[0x3f]),_0x5d6cfc[0x0]=_0x5d6cfc[0x0]+_0x38f6c9|0x0,_0x5d6cfc[0x1]=_0x5d6cfc[0x1]+_0x494d75|0x0,_0x5d6cfc[0x2]=_0x5d6cfc[0x2]+_0x48bfef|0x0,_0x5d6cfc[0x3]=_0x5d6cfc[0x3]+_0x107b54|0x0;},'_doFinalize':function(){const _0x533d57=_0x5e1f76;var _0x351d73=this[_0x533d57(0x277)],_0x41fd93=_0x351d73[_0x533d57(0x233)],_0xf3dbf5=this[_0x533d57(0x15e)]*0x8,_0x242e80=_0x351d73['sigBytes']*0x8;_0x41fd93[_0x242e80>>>0x5]|=0x80<<0x18-_0x242e80%0x20;var _0x5c0e7d=_0x21f90c['floor'](_0xf3dbf5/0x100000000),_0x2290f8=_0xf3dbf5;_0x41fd93[(_0x242e80+0x40>>>0x9<<0x4)+0xf]=(_0x5c0e7d<<0x8|_0x5c0e7d>>>0x18)&0xff00ff|(_0x5c0e7d<<0x18|_0x5c0e7d>>>0x8)&0xff00ff00,_0x41fd93[(_0x242e80+0x40>>>0x9<<0x4)+0xe]=(_0x2290f8<<0x8|_0x2290f8>>>0x18)&0xff00ff|(_0x2290f8<<0x18|_0x2290f8>>>0x8)&0xff00ff00,_0x351d73[_0x533d57(0x502)]=(_0x41fd93['length']+0x1)*0x4,this[_0x533d57(0x38a)]();for(var _0x4a8385=this['_hash'],_0x2bf259=_0x4a8385['words'],_0x408fdc=0x0;_0x408fdc<0x4;_0x408fdc++){var _0x2f6687=_0x2bf259[_0x408fdc];_0x2bf259[_0x408fdc]=(_0x2f6687<<0x8|_0x2f6687>>>0x18)&0xff00ff|(_0x2f6687<<0x18|_0x2f6687>>>0x8)&0xff00ff00;}return _0x4a8385;},'clone':function(){const _0x3b9173=_0x5e1f76;var _0x57187b=_0x410951[_0x3b9173(0x470)][_0x3b9173(0x3b7)](this);return _0x57187b[_0x3b9173(0x3d6)]=this['_hash'][_0x3b9173(0x470)](),_0x57187b;}});function _0x4722b8(_0x4a09c2,_0x5c5552,_0xf5b337,_0xb7b97c,_0x31abc1,_0x38d342,_0x170c29){var _0x23c2d2=_0x4a09c2+(_0x5c5552&_0xf5b337|~_0x5c5552&_0xb7b97c)+_0x31abc1+_0x170c29;return(_0x23c2d2<<_0x38d342|_0x23c2d2>>>0x20-_0x38d342)+_0x5c5552;}function _0x3191c3(_0x23812a,_0x4d1337,_0xe97c4b,_0x30f11a,_0x4cdf9f,_0x38d6e6,_0x59a032){var _0xb0d02a=_0x23812a+(_0x4d1337&_0x30f11a|_0xe97c4b&~_0x30f11a)+_0x4cdf9f+_0x59a032;return(_0xb0d02a<<_0x38d6e6|_0xb0d02a>>>0x20-_0x38d6e6)+_0x4d1337;}function _0x245b4f(_0x299ed0,_0x23ed4f,_0x535bf2,_0x1627dd,_0x2e80ec,_0x5a9c58,_0x2ddb79){var _0x2bccd7=_0x299ed0+(_0x23ed4f^_0x535bf2^_0x1627dd)+_0x2e80ec+_0x2ddb79;return(_0x2bccd7<<_0x5a9c58|_0x2bccd7>>>0x20-_0x5a9c58)+_0x23ed4f;}function _0x131fc2(_0x16b46b,_0x56bd65,_0xf0ff18,_0xac921e,_0x2c001e,_0xe3d147,_0x5be4a1){var _0x3a5f1e=_0x16b46b+(_0xf0ff18^(_0x56bd65|~_0xac921e))+_0x2c001e+_0x5be4a1;return(_0x3a5f1e<<_0xe3d147|_0x3a5f1e>>>0x20-_0xe3d147)+_0x56bd65;}_0x236941[_0x5e1f76(0x358)]=_0x410951['_createHelper'](_0xa0b7fd),_0x236941[_0x5e1f76(0x3a4)]=_0x410951[_0x5e1f76(0x45a)](_0xa0b7fd);}(Math),_0x498788[_0x2b2fb2(0x358)];}));}(Gt)),Gt[_0x2377d8(0x4bf)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x3903f4=_0xf37888;return Qs||(Qs=0x1,function(_0x16db25,_0x5cdb7a){(function(_0x3e5b50,_0x40df8c){const _0xe4f58a=_0x136c;_0x16db25[_0xe4f58a(0x4bf)]=_0x40df8c(ue());}(Z,function(_0x16d70d){const _0x2c2002=_0x136c;return(function(){const _0x5c8084=_0x136c;var _0x5a4309=_0x16d70d,_0x5452de=_0x5a4309[_0x5c8084(0x1f5)],_0x17384b=_0x5452de[_0x5c8084(0x290)],_0x3813d6=_0x5452de[_0x5c8084(0x1fa)],_0x4de8d4=_0x5a4309[_0x5c8084(0x1b2)],_0x294101=[],_0x57d048=_0x4de8d4['SHA1']=_0x3813d6[_0x5c8084(0x327)]({'_doReset':function(){const _0x3d68a2=_0x5c8084;this['_hash']=new _0x17384b[(_0x3d68a2(0x10e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4458cb,_0x1a92b4){const _0xd3efa5=_0x5c8084;for(var _0x417cfd=this[_0xd3efa5(0x3d6)][_0xd3efa5(0x233)],_0xa77a37=_0x417cfd[0x0],_0x24cf12=_0x417cfd[0x1],_0x55473a=_0x417cfd[0x2],_0x2bcc5f=_0x417cfd[0x3],_0x5ec70b=_0x417cfd[0x4],_0x1f42a4=0x0;_0x1f42a4<0x50;_0x1f42a4++){if(_0x1f42a4<0x10)_0x294101[_0x1f42a4]=_0x4458cb[_0x1a92b4+_0x1f42a4]|0x0;else{var _0x323662=_0x294101[_0x1f42a4-0x3]^_0x294101[_0x1f42a4-0x8]^_0x294101[_0x1f42a4-0xe]^_0x294101[_0x1f42a4-0x10];_0x294101[_0x1f42a4]=_0x323662<<0x1|_0x323662>>>0x1f;}var _0xb7e11b=(_0xa77a37<<0x5|_0xa77a37>>>0x1b)+_0x5ec70b+_0x294101[_0x1f42a4];_0x1f42a4<0x14?_0xb7e11b+=(_0x24cf12&_0x55473a|~_0x24cf12&_0x2bcc5f)+0x5a827999:_0x1f42a4<0x28?_0xb7e11b+=(_0x24cf12^_0x55473a^_0x2bcc5f)+0x6ed9eba1:_0x1f42a4<0x3c?_0xb7e11b+=(_0x24cf12&_0x55473a|_0x24cf12&_0x2bcc5f|_0x55473a&_0x2bcc5f)-0x70e44324:_0xb7e11b+=(_0x24cf12^_0x55473a^_0x2bcc5f)-0x359d3e2a,_0x5ec70b=_0x2bcc5f,_0x2bcc5f=_0x55473a,_0x55473a=_0x24cf12<<0x1e|_0x24cf12>>>0x2,_0x24cf12=_0xa77a37,_0xa77a37=_0xb7e11b;}_0x417cfd[0x0]=_0x417cfd[0x0]+_0xa77a37|0x0,_0x417cfd[0x1]=_0x417cfd[0x1]+_0x24cf12|0x0,_0x417cfd[0x2]=_0x417cfd[0x2]+_0x55473a|0x0,_0x417cfd[0x3]=_0x417cfd[0x3]+_0x2bcc5f|0x0,_0x417cfd[0x4]=_0x417cfd[0x4]+_0x5ec70b|0x0;},'_doFinalize':function(){const _0x549a30=_0x5c8084;var _0x4f100d=this['_data'],_0x11e037=_0x4f100d[_0x549a30(0x233)],_0x117f10=this[_0x549a30(0x15e)]*0x8,_0xad8180=_0x4f100d[_0x549a30(0x502)]*0x8;return _0x11e037[_0xad8180>>>0x5]|=0x80<<0x18-_0xad8180%0x20,_0x11e037[(_0xad8180+0x40>>>0x9<<0x4)+0xe]=Math[_0x549a30(0x122)](_0x117f10/0x100000000),_0x11e037[(_0xad8180+0x40>>>0x9<<0x4)+0xf]=_0x117f10,_0x4f100d[_0x549a30(0x502)]=_0x11e037['length']*0x4,this[_0x549a30(0x38a)](),this['_hash'];},'clone':function(){const _0x272226=_0x5c8084;var _0x8e3398=_0x3813d6['clone'][_0x272226(0x3b7)](this);return _0x8e3398[_0x272226(0x3d6)]=this[_0x272226(0x3d6)][_0x272226(0x470)](),_0x8e3398;}});_0x5a4309[_0x5c8084(0x187)]=_0x3813d6[_0x5c8084(0x2eb)](_0x57d048),_0x5a4309[_0x5c8084(0x3f2)]=_0x3813d6['_createHmacHelper'](_0x57d048);}()),_0x16d70d[_0x2c2002(0x187)];}));}(Kt)),Kt[_0x3903f4(0x4bf)];}var zt={'exports':{}},ei;function Ga(){const _0x482ca6=_0xf37888;return ei||(ei=0x1,function(_0x4e3608,_0x2c7101){(function(_0x538371,_0x588911){_0x4e3608['exports']=_0x588911(ue());}(Z,function(_0x276388){(function(){const _0x4e67b1=_0x136c;var _0x25589e=_0x276388,_0x1e34ed=_0x25589e[_0x4e67b1(0x1f5)],_0x1a4d19=_0x1e34ed['Base'],_0xf3fd96=_0x25589e[_0x4e67b1(0x343)],_0x5ec71e=_0xf3fd96[_0x4e67b1(0x4dc)],_0x3007cb=_0x25589e[_0x4e67b1(0x1b2)];_0x3007cb[_0x4e67b1(0x222)]=_0x1a4d19['extend']({'init':function(_0x2b17d9,_0x1a046e){const _0x13f010=_0x4e67b1;_0x2b17d9=this[_0x13f010(0x337)]=new _0x2b17d9[(_0x13f010(0x10e))](),typeof _0x1a046e=='string'&&(_0x1a046e=_0x5ec71e[_0x13f010(0x2e9)](_0x1a046e));var _0x17c7c8=_0x2b17d9[_0x13f010(0x44d)],_0x3856dc=_0x17c7c8*0x4;_0x1a046e['sigBytes']>_0x3856dc&&(_0x1a046e=_0x2b17d9['finalize'](_0x1a046e)),_0x1a046e[_0x13f010(0x218)]();for(var _0x5b7a38=this[_0x13f010(0x33d)]=_0x1a046e[_0x13f010(0x470)](),_0xcff1dd=this[_0x13f010(0x499)]=_0x1a046e[_0x13f010(0x470)](),_0x3d7ee2=_0x5b7a38['words'],_0x5965d5=_0xcff1dd[_0x13f010(0x233)],_0x175031=0x0;_0x175031<_0x17c7c8;_0x175031++)_0x3d7ee2[_0x175031]^=0x5c5c5c5c,_0x5965d5[_0x175031]^=0x36363636;_0x5b7a38[_0x13f010(0x502)]=_0xcff1dd['sigBytes']=_0x3856dc,this[_0x13f010(0x433)]();},'reset':function(){const _0x5475dd=_0x4e67b1;var _0x48abef=this[_0x5475dd(0x337)];_0x48abef[_0x5475dd(0x433)](),_0x48abef['update'](this[_0x5475dd(0x499)]);},'update':function(_0x3b39fa){const _0x24f38=_0x4e67b1;return this[_0x24f38(0x337)][_0x24f38(0x469)](_0x3b39fa),this;},'finalize':function(_0x363b5a){const _0x53f932=_0x4e67b1;var _0x45c85c=this[_0x53f932(0x337)],_0x564670=_0x45c85c[_0x53f932(0x22d)](_0x363b5a);_0x45c85c[_0x53f932(0x433)]();var _0x3862a6=_0x45c85c['finalize'](this[_0x53f932(0x33d)][_0x53f932(0x470)]()[_0x53f932(0x3b4)](_0x564670));return _0x3862a6;}});}());}));}(zt)),zt[_0x482ca6(0x4bf)];}var ti;function Fi(){const _0x44a461=_0xf37888;return ti||(ti=0x1,function(_0x3c0db1,_0xea068d){(function(_0x23ddf1,_0x8ab39b,_0x5e8561){const _0x4c5a4c=_0x136c;_0x3c0db1[_0x4c5a4c(0x4bf)]=_0x8ab39b(ue(),Va(),Ga());}(Z,function(_0x54b175){const _0x2f0a33=_0x136c;return(function(){const _0x1e2bac=_0x136c;var _0x510a64=_0x54b175,_0x585d3b=_0x510a64[_0x1e2bac(0x1f5)],_0x304a2b=_0x585d3b[_0x1e2bac(0x403)],_0xec0689=_0x585d3b['WordArray'],_0x2e672d=_0x510a64[_0x1e2bac(0x1b2)],_0x5f5628=_0x2e672d[_0x1e2bac(0x358)],_0x62f4bf=_0x2e672d['EvpKDF']=_0x304a2b[_0x1e2bac(0x327)]({'cfg':_0x304a2b[_0x1e2bac(0x327)]({'keySize':0x80/0x20,'hasher':_0x5f5628,'iterations':0x1}),'init':function(_0x44da24){const _0x22cf39=_0x1e2bac;this[_0x22cf39(0x25b)]=this[_0x22cf39(0x25b)][_0x22cf39(0x327)](_0x44da24);},'compute':function(_0x363c2e,_0x94755){const _0x152d88=_0x1e2bac;for(var _0x3a3852,_0x106916=this[_0x152d88(0x25b)],_0x2fc410=_0x106916[_0x152d88(0x31d)][_0x152d88(0x373)](),_0xacdb2a=_0xec0689[_0x152d88(0x373)](),_0x48a4e2=_0xacdb2a['words'],_0x12d775=_0x106916[_0x152d88(0x11e)],_0x41051c=_0x106916[_0x152d88(0x13d)];_0x48a4e2[_0x152d88(0x42c)]<_0x12d775;){_0x3a3852&&_0x2fc410[_0x152d88(0x469)](_0x3a3852),_0x3a3852=_0x2fc410['update'](_0x363c2e)['finalize'](_0x94755),_0x2fc410['reset']();for(var _0x505109=0x1;_0x505109<_0x41051c;_0x505109++)_0x3a3852=_0x2fc410['finalize'](_0x3a3852),_0x2fc410[_0x152d88(0x433)]();_0xacdb2a['concat'](_0x3a3852);}return _0xacdb2a[_0x152d88(0x502)]=_0x12d775*0x4,_0xacdb2a;}});_0x510a64[_0x1e2bac(0x457)]=function(_0x444105,_0x2c01de,_0x19c38f){const _0x4a46b2=_0x1e2bac;return _0x62f4bf[_0x4a46b2(0x373)](_0x19c38f)['compute'](_0x444105,_0x2c01de);};}()),_0x54b175[_0x2f0a33(0x457)];}));}(Yt)),Yt[_0x44a461(0x4bf)];}var qt={'exports':{}},si;function Vi(){const _0x4fee42=_0xf37888;return si||(si=0x1,function(_0x1962b0,_0x2bcaad){(function(_0xa06285,_0x4c7189,_0x53be77){const _0x10ebc0=_0x136c;_0x1962b0[_0x10ebc0(0x4bf)]=_0x4c7189(ue(),Fi());}(Z,function(_0x231d58){const _0x4abbe3=_0x136c;_0x231d58[_0x4abbe3(0x1f5)][_0x4abbe3(0x177)]||function(_0x571ab8){const _0x3665ce=_0x4abbe3;var _0x472028=_0x231d58,_0x43517b=_0x472028[_0x3665ce(0x1f5)],_0x3f99d3=_0x43517b[_0x3665ce(0x403)],_0x20a2a6=_0x43517b[_0x3665ce(0x290)],_0x257e07=_0x43517b['BufferedBlockAlgorithm'],_0x38da92=_0x472028[_0x3665ce(0x343)];_0x38da92[_0x3665ce(0x4dc)];var _0x3ac6ef=_0x38da92['Base64'],_0xf202e9=_0x472028[_0x3665ce(0x1b2)],_0x368a0b=_0xf202e9[_0x3665ce(0x457)],_0x50f1f1=_0x43517b[_0x3665ce(0x177)]=_0x257e07[_0x3665ce(0x327)]({'cfg':_0x3f99d3[_0x3665ce(0x327)](),'createEncryptor':function(_0x185b60,_0x497fc9){const _0x5543d7=_0x3665ce;return this[_0x5543d7(0x373)](this[_0x5543d7(0x3af)],_0x185b60,_0x497fc9);},'createDecryptor':function(_0x334129,_0x6cd0fe){const _0x177181=_0x3665ce;return this[_0x177181(0x373)](this['_DEC_XFORM_MODE'],_0x334129,_0x6cd0fe);},'init':function(_0x470665,_0x5ce798,_0x14b3c6){const _0x572dd3=_0x3665ce;this[_0x572dd3(0x25b)]=this[_0x572dd3(0x25b)]['extend'](_0x14b3c6),this['_xformMode']=_0x470665,this[_0x572dd3(0x124)]=_0x5ce798,this[_0x572dd3(0x433)]();},'reset':function(){const _0x5482ae=_0x3665ce;_0x257e07[_0x5482ae(0x433)]['call'](this),this[_0x5482ae(0x2b0)]();},'process':function(_0x2ebc1e){const _0x2dc107=_0x3665ce;return this[_0x2dc107(0x158)](_0x2ebc1e),this['_process']();},'finalize':function(_0x29245e){const _0x846bee=_0x3665ce;_0x29245e&&this[_0x846bee(0x158)](_0x29245e);var _0x1e8b72=this[_0x846bee(0x1e8)]();return _0x1e8b72;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x34914e(_0x309cb0){const _0x1bcd9d=_0x136c;return typeof _0x309cb0==_0x1bcd9d(0x384)?_0x321dca:_0x1590d4;}return function(_0x4a8f49){return{'encrypt':function(_0x17312b,_0x40c878,_0x50c84b){return _0x34914e(_0x40c878)['encrypt'](_0x4a8f49,_0x17312b,_0x40c878,_0x50c84b);},'decrypt':function(_0x355e33,_0x4f3f27,_0x112904){const _0x37c72d=_0x136c;return _0x34914e(_0x4f3f27)[_0x37c72d(0x2fe)](_0x4a8f49,_0x355e33,_0x4f3f27,_0x112904);}};};}())});_0x43517b[_0x3665ce(0x16a)]=_0x50f1f1['extend']({'_doFinalize':function(){const _0x511de8=_0x3665ce;var _0x17f938=this[_0x511de8(0x38a)](!0x0);return _0x17f938;},'blockSize':0x1});var _0x48aca5=_0x472028[_0x3665ce(0x301)]={},_0x4263ae=_0x43517b[_0x3665ce(0x354)]=_0x3f99d3['extend']({'createEncryptor':function(_0x4b6309,_0x1a80a5){const _0xf98439=_0x3665ce;return this['Encryptor'][_0xf98439(0x373)](_0x4b6309,_0x1a80a5);},'createDecryptor':function(_0x2dffc8,_0x3be7ee){const _0x1ddb26=_0x3665ce;return this[_0x1ddb26(0x3e1)][_0x1ddb26(0x373)](_0x2dffc8,_0x3be7ee);},'init':function(_0x11dfa7,_0x7ed1fc){const _0x46b55a=_0x3665ce;this[_0x46b55a(0x3ed)]=_0x11dfa7,this[_0x46b55a(0x3fe)]=_0x7ed1fc;}}),_0x5e0b56=_0x48aca5[_0x3665ce(0x3eb)]=(function(){const _0x28f937=_0x3665ce;var _0x4e23a8=_0x4263ae['extend']();_0x4e23a8[_0x28f937(0x1b6)]=_0x4e23a8[_0x28f937(0x327)]({'processBlock':function(_0x558309,_0x363626){const _0x3fff19=_0x28f937;var _0xdc6c5=this['_cipher'],_0x2d16aa=_0xdc6c5['blockSize'];_0x2cfad0[_0x3fff19(0x3b7)](this,_0x558309,_0x363626,_0x2d16aa),_0xdc6c5['encryptBlock'](_0x558309,_0x363626),this['_prevBlock']=_0x558309[_0x3fff19(0x3cb)](_0x363626,_0x363626+_0x2d16aa);}}),_0x4e23a8[_0x28f937(0x3e1)]=_0x4e23a8[_0x28f937(0x327)]({'processBlock':function(_0x2f6e2f,_0x4d0191){const _0x1cc660=_0x28f937;var _0x138d20=this[_0x1cc660(0x3ed)],_0x453f3e=_0x138d20[_0x1cc660(0x44d)],_0x4632ec=_0x2f6e2f[_0x1cc660(0x3cb)](_0x4d0191,_0x4d0191+_0x453f3e);_0x138d20['decryptBlock'](_0x2f6e2f,_0x4d0191),_0x2cfad0[_0x1cc660(0x3b7)](this,_0x2f6e2f,_0x4d0191,_0x453f3e),this['_prevBlock']=_0x4632ec;}});function _0x2cfad0(_0x4b1515,_0x1d8d01,_0x408973){const _0x9e9afb=_0x28f937;var _0x3b12f5,_0x462881=this[_0x9e9afb(0x3fe)];_0x462881?(_0x3b12f5=_0x462881,this['_iv']=_0x571ab8):_0x3b12f5=this['_prevBlock'];for(var _0x367f9d=0x0;_0x367f9d<_0x408973;_0x367f9d++)_0x4b1515[_0x1d8d01+_0x367f9d]^=_0x3b12f5[_0x367f9d];}return _0x4e23a8;}()),_0xd83589=_0x472028[_0x3665ce(0x29d)]={},_0x42a2f1=_0xd83589[_0x3665ce(0x481)]={'pad':function(_0x5256f5,_0x1984e3){const _0x5360dc=_0x3665ce;for(var _0x700bbd=_0x1984e3*0x4,_0x1ae98d=_0x700bbd-_0x5256f5[_0x5360dc(0x502)]%_0x700bbd,_0xfa28c7=_0x1ae98d<<0x18|_0x1ae98d<<0x10|_0x1ae98d<<0x8|_0x1ae98d,_0x29fda5=[],_0x37ed54=0x0;_0x37ed54<_0x1ae98d;_0x37ed54+=0x4)_0x29fda5[_0x5360dc(0x270)](_0xfa28c7);var _0x390563=_0x20a2a6[_0x5360dc(0x373)](_0x29fda5,_0x1ae98d);_0x5256f5['concat'](_0x390563);},'unpad':function(_0x4fa29d){const _0xb435f1=_0x3665ce;var _0x529c9c=_0x4fa29d[_0xb435f1(0x233)][_0x4fa29d[_0xb435f1(0x502)]-0x1>>>0x2]&0xff;_0x4fa29d[_0xb435f1(0x502)]-=_0x529c9c;}};_0x43517b[_0x3665ce(0x42a)]=_0x50f1f1[_0x3665ce(0x327)]({'cfg':_0x50f1f1[_0x3665ce(0x25b)]['extend']({'mode':_0x5e0b56,'padding':_0x42a2f1}),'reset':function(){const _0x461211=_0x3665ce;var _0x2614df;_0x50f1f1['reset'][_0x461211(0x3b7)](this);var _0x2845c9=this['cfg'],_0x1731de=_0x2845c9['iv'],_0x40075a=_0x2845c9[_0x461211(0x301)];this['_xformMode']==this[_0x461211(0x3af)]?_0x2614df=_0x40075a[_0x461211(0x3f6)]:(_0x2614df=_0x40075a[_0x461211(0x23a)],this[_0x461211(0x200)]=0x1),this['_mode']&&this[_0x461211(0x511)]['__creator']==_0x2614df?this[_0x461211(0x511)][_0x461211(0x10e)](this,_0x1731de&&_0x1731de[_0x461211(0x233)]):(this[_0x461211(0x511)]=_0x2614df[_0x461211(0x3b7)](_0x40075a,this,_0x1731de&&_0x1731de[_0x461211(0x233)]),this[_0x461211(0x511)][_0x461211(0x2b1)]=_0x2614df);},'_doProcessBlock':function(_0x1659b5,_0x45e2de){const _0x14eda9=_0x3665ce;this[_0x14eda9(0x511)][_0x14eda9(0x15d)](_0x1659b5,_0x45e2de);},'_doFinalize':function(){const _0x1c3304=_0x3665ce;var _0xcf309b,_0xc2e041=this[_0x1c3304(0x25b)][_0x1c3304(0x50b)];return this['_xformMode']==this[_0x1c3304(0x3af)]?(_0xc2e041[_0x1c3304(0x29d)](this[_0x1c3304(0x277)],this[_0x1c3304(0x44d)]),_0xcf309b=this['_process'](!0x0)):(_0xcf309b=this['_process'](!0x0),_0xc2e041[_0x1c3304(0x3e2)](_0xcf309b)),_0xcf309b;},'blockSize':0x80/0x20});var _0x42f1ed=_0x43517b[_0x3665ce(0x15b)]=_0x3f99d3[_0x3665ce(0x327)]({'init':function(_0x1f586c){const _0x2ae3ea=_0x3665ce;this[_0x2ae3ea(0x185)](_0x1f586c);},'toString':function(_0x17ce46){const _0x283336=_0x3665ce;return(_0x17ce46||this[_0x283336(0x424)])[_0x283336(0x387)](this);}}),_0x10004a=_0x472028[_0x3665ce(0x2e4)]={},_0x306ca6=_0x10004a[_0x3665ce(0x48d)]={'stringify':function(_0x489d25){const _0x52fcc9=_0x3665ce;var _0x2dd79c,_0x359fd8=_0x489d25['ciphertext'],_0x643fe0=_0x489d25[_0x52fcc9(0x412)];return _0x643fe0?_0x2dd79c=_0x20a2a6[_0x52fcc9(0x373)]([0x53616c74,0x65645f5f])['concat'](_0x643fe0)[_0x52fcc9(0x3b4)](_0x359fd8):_0x2dd79c=_0x359fd8,_0x2dd79c[_0x52fcc9(0x492)](_0x3ac6ef);},'parse':function(_0x5d1841){const _0x367139=_0x3665ce;var _0x2ceebd,_0x1b8b31=_0x3ac6ef[_0x367139(0x2e9)](_0x5d1841),_0x24606c=_0x1b8b31[_0x367139(0x233)];return _0x24606c[0x0]==0x53616c74&&_0x24606c[0x1]==0x65645f5f&&(_0x2ceebd=_0x20a2a6['create'](_0x24606c[_0x367139(0x3cb)](0x2,0x4)),_0x24606c[_0x367139(0x1a0)](0x0,0x4),_0x1b8b31[_0x367139(0x502)]-=0x10),_0x42f1ed[_0x367139(0x373)]({'ciphertext':_0x1b8b31,'salt':_0x2ceebd});}},_0x1590d4=_0x43517b[_0x3665ce(0x25c)]=_0x3f99d3[_0x3665ce(0x327)]({'cfg':_0x3f99d3['extend']({'format':_0x306ca6}),'encrypt':function(_0x38df95,_0x10e1c0,_0xb4d96e,_0x55c780){const _0x135adc=_0x3665ce;_0x55c780=this[_0x135adc(0x25b)][_0x135adc(0x327)](_0x55c780);var _0xb6b03f=_0x38df95[_0x135adc(0x3f6)](_0xb4d96e,_0x55c780),_0x1362c8=_0xb6b03f[_0x135adc(0x22d)](_0x10e1c0),_0x4e6079=_0xb6b03f[_0x135adc(0x25b)];return _0x42f1ed['create']({'ciphertext':_0x1362c8,'key':_0xb4d96e,'iv':_0x4e6079['iv'],'algorithm':_0x38df95,'mode':_0x4e6079[_0x135adc(0x301)],'padding':_0x4e6079[_0x135adc(0x50b)],'blockSize':_0x38df95[_0x135adc(0x44d)],'formatter':_0x55c780[_0x135adc(0x2e4)]});},'decrypt':function(_0xcb4faf,_0xd77a4e,_0x16bdbc,_0x119c19){const _0x278da1=_0x3665ce;_0x119c19=this[_0x278da1(0x25b)]['extend'](_0x119c19),_0xd77a4e=this[_0x278da1(0x11f)](_0xd77a4e,_0x119c19[_0x278da1(0x2e4)]);var _0x30d528=_0xcb4faf['createDecryptor'](_0x16bdbc,_0x119c19)[_0x278da1(0x22d)](_0xd77a4e[_0x278da1(0x475)]);return _0x30d528;},'_parse':function(_0x5bc52e,_0x14f5f8){const _0x4e6766=_0x3665ce;return typeof _0x5bc52e==_0x4e6766(0x384)?_0x14f5f8[_0x4e6766(0x2e9)](_0x5bc52e,this):_0x5bc52e;}}),_0x3b0039=_0x472028[_0x3665ce(0x332)]={},_0x2a3b34=_0x3b0039[_0x3665ce(0x48d)]={'execute':function(_0x1d2541,_0x4f5a36,_0x321ade,_0x1f73b4,_0x273f2b){const _0x4f5ca7=_0x3665ce;if(_0x1f73b4||(_0x1f73b4=_0x20a2a6[_0x4f5ca7(0x226)](0x40/0x8)),_0x273f2b)var _0x3c3c8c=_0x368a0b[_0x4f5ca7(0x373)]({'keySize':_0x4f5a36+_0x321ade,'hasher':_0x273f2b})[_0x4f5ca7(0x336)](_0x1d2541,_0x1f73b4);else var _0x3c3c8c=_0x368a0b[_0x4f5ca7(0x373)]({'keySize':_0x4f5a36+_0x321ade})[_0x4f5ca7(0x336)](_0x1d2541,_0x1f73b4);var _0x585cc4=_0x20a2a6['create'](_0x3c3c8c[_0x4f5ca7(0x233)][_0x4f5ca7(0x3cb)](_0x4f5a36),_0x321ade*0x4);return _0x3c3c8c[_0x4f5ca7(0x502)]=_0x4f5a36*0x4,_0x42f1ed[_0x4f5ca7(0x373)]({'key':_0x3c3c8c,'iv':_0x585cc4,'salt':_0x1f73b4});}},_0x321dca=_0x43517b[_0x3665ce(0x383)]=_0x1590d4['extend']({'cfg':_0x1590d4[_0x3665ce(0x25b)]['extend']({'kdf':_0x2a3b34}),'encrypt':function(_0x1ed991,_0x5c71ac,_0x37867a,_0x216b24){const _0x6f0ecf=_0x3665ce;_0x216b24=this['cfg'][_0x6f0ecf(0x327)](_0x216b24);var _0x50a3ac=_0x216b24['kdf'][_0x6f0ecf(0x43e)](_0x37867a,_0x1ed991['keySize'],_0x1ed991[_0x6f0ecf(0x484)],_0x216b24[_0x6f0ecf(0x412)],_0x216b24[_0x6f0ecf(0x31d)]);_0x216b24['iv']=_0x50a3ac['iv'];var _0x4eb596=_0x1590d4[_0x6f0ecf(0x13b)][_0x6f0ecf(0x3b7)](this,_0x1ed991,_0x5c71ac,_0x50a3ac[_0x6f0ecf(0x335)],_0x216b24);return _0x4eb596[_0x6f0ecf(0x185)](_0x50a3ac),_0x4eb596;},'decrypt':function(_0x1e2c78,_0x3e45d6,_0x1b626d,_0x561720){const _0x30a269=_0x3665ce;_0x561720=this[_0x30a269(0x25b)]['extend'](_0x561720),_0x3e45d6=this['_parse'](_0x3e45d6,_0x561720[_0x30a269(0x2e4)]);var _0x2cfe87=_0x561720[_0x30a269(0x332)][_0x30a269(0x43e)](_0x1b626d,_0x1e2c78[_0x30a269(0x11e)],_0x1e2c78['ivSize'],_0x3e45d6[_0x30a269(0x412)],_0x561720['hasher']);_0x561720['iv']=_0x2cfe87['iv'];var _0x10afa1=_0x1590d4['decrypt'][_0x30a269(0x3b7)](this,_0x1e2c78,_0x3e45d6,_0x2cfe87['key'],_0x561720);return _0x10afa1;}});}();}));}(qt)),qt[_0x4fee42(0x4bf)];}(function(_0xf9f339,_0x40d57b){(function(_0x1dd24f,_0x1e402a,_0x4c87bb){_0xf9f339['exports']=_0x1e402a(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x1c60f4){const _0x843a1e=_0x136c;return(function(){const _0x1a4c78=_0x136c;var _0x4bd960=_0x1c60f4,_0x5e0602=_0x4bd960['lib'],_0x266248=_0x5e0602[_0x1a4c78(0x42a)],_0x4fb5f0=_0x4bd960[_0x1a4c78(0x1b2)],_0x416af0=[],_0x1c0438=[],_0x1de7c1=[],_0x30a85b=[],_0x3df97a=[],_0x7e8d60=[],_0x24482f=[],_0x5477a4=[],_0x5e85cd=[],_0x107227=[];(function(){for(var _0x15cc08=[],_0x2afa19=0x0;_0x2afa19<0x100;_0x2afa19++)_0x2afa19<0x80?_0x15cc08[_0x2afa19]=_0x2afa19<<0x1:_0x15cc08[_0x2afa19]=_0x2afa19<<0x1^0x11b;for(var _0x363248=0x0,_0x3a1a41=0x0,_0x2afa19=0x0;_0x2afa19<0x100;_0x2afa19++){var _0x16dc66=_0x3a1a41^_0x3a1a41<<0x1^_0x3a1a41<<0x2^_0x3a1a41<<0x3^_0x3a1a41<<0x4;_0x16dc66=_0x16dc66>>>0x8^_0x16dc66&0xff^0x63,_0x416af0[_0x363248]=_0x16dc66,_0x1c0438[_0x16dc66]=_0x363248;var _0x4cb151=_0x15cc08[_0x363248],_0x10403f=_0x15cc08[_0x4cb151],_0x2f2aa2=_0x15cc08[_0x10403f],_0x85c5c4=_0x15cc08[_0x16dc66]*0x101^_0x16dc66*0x1010100;_0x1de7c1[_0x363248]=_0x85c5c4<<0x18|_0x85c5c4>>>0x8,_0x30a85b[_0x363248]=_0x85c5c4<<0x10|_0x85c5c4>>>0x10,_0x3df97a[_0x363248]=_0x85c5c4<<0x8|_0x85c5c4>>>0x18,_0x7e8d60[_0x363248]=_0x85c5c4;var _0x85c5c4=_0x2f2aa2*0x1010101^_0x10403f*0x10001^_0x4cb151*0x101^_0x363248*0x1010100;_0x24482f[_0x16dc66]=_0x85c5c4<<0x18|_0x85c5c4>>>0x8,_0x5477a4[_0x16dc66]=_0x85c5c4<<0x10|_0x85c5c4>>>0x10,_0x5e85cd[_0x16dc66]=_0x85c5c4<<0x8|_0x85c5c4>>>0x18,_0x107227[_0x16dc66]=_0x85c5c4,_0x363248?(_0x363248=_0x4cb151^_0x15cc08[_0x15cc08[_0x15cc08[_0x2f2aa2^_0x4cb151]]],_0x3a1a41^=_0x15cc08[_0x15cc08[_0x3a1a41]]):_0x363248=_0x3a1a41=0x1;}}());var _0x2584eb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28766e=_0x4fb5f0[_0x1a4c78(0x4a3)]=_0x266248[_0x1a4c78(0x327)]({'_doReset':function(){const _0x31024f=_0x1a4c78;var _0x48a309;if(!(this[_0x31024f(0x3d5)]&&this[_0x31024f(0x28b)]===this[_0x31024f(0x124)])){for(var _0x193d6a=this[_0x31024f(0x28b)]=this[_0x31024f(0x124)],_0xdd8b9=_0x193d6a[_0x31024f(0x233)],_0x5d16b3=_0x193d6a[_0x31024f(0x502)]/0x4,_0x3345f0=this[_0x31024f(0x3d5)]=_0x5d16b3+0x6,_0x18ca4c=(_0x3345f0+0x1)*0x4,_0x409ab9=this[_0x31024f(0x2d4)]=[],_0x9b2d35=0x0;_0x9b2d35<_0x18ca4c;_0x9b2d35++)_0x9b2d35<_0x5d16b3?_0x409ab9[_0x9b2d35]=_0xdd8b9[_0x9b2d35]:(_0x48a309=_0x409ab9[_0x9b2d35-0x1],_0x9b2d35%_0x5d16b3?_0x5d16b3>0x6&&_0x9b2d35%_0x5d16b3==0x4&&(_0x48a309=_0x416af0[_0x48a309>>>0x18]<<0x18|_0x416af0[_0x48a309>>>0x10&0xff]<<0x10|_0x416af0[_0x48a309>>>0x8&0xff]<<0x8|_0x416af0[_0x48a309&0xff]):(_0x48a309=_0x48a309<<0x8|_0x48a309>>>0x18,_0x48a309=_0x416af0[_0x48a309>>>0x18]<<0x18|_0x416af0[_0x48a309>>>0x10&0xff]<<0x10|_0x416af0[_0x48a309>>>0x8&0xff]<<0x8|_0x416af0[_0x48a309&0xff],_0x48a309^=_0x2584eb[_0x9b2d35/_0x5d16b3|0x0]<<0x18),_0x409ab9[_0x9b2d35]=_0x409ab9[_0x9b2d35-_0x5d16b3]^_0x48a309);for(var _0x49b304=this[_0x31024f(0x2c8)]=[],_0x2820c8=0x0;_0x2820c8<_0x18ca4c;_0x2820c8++){var _0x9b2d35=_0x18ca4c-_0x2820c8;if(_0x2820c8%0x4)var _0x48a309=_0x409ab9[_0x9b2d35];else var _0x48a309=_0x409ab9[_0x9b2d35-0x4];_0x2820c8<0x4||_0x9b2d35<=0x4?_0x49b304[_0x2820c8]=_0x48a309:_0x49b304[_0x2820c8]=_0x24482f[_0x416af0[_0x48a309>>>0x18]]^_0x5477a4[_0x416af0[_0x48a309>>>0x10&0xff]]^_0x5e85cd[_0x416af0[_0x48a309>>>0x8&0xff]]^_0x107227[_0x416af0[_0x48a309&0xff]];}}},'encryptBlock':function(_0x4c09f2,_0x225737){const _0x426a6f=_0x1a4c78;this[_0x426a6f(0x48f)](_0x4c09f2,_0x225737,this[_0x426a6f(0x2d4)],_0x1de7c1,_0x30a85b,_0x3df97a,_0x7e8d60,_0x416af0);},'decryptBlock':function(_0x43c5bb,_0x34ad43){const _0x37665b=_0x1a4c78;var _0x41043b=_0x43c5bb[_0x34ad43+0x1];_0x43c5bb[_0x34ad43+0x1]=_0x43c5bb[_0x34ad43+0x3],_0x43c5bb[_0x34ad43+0x3]=_0x41043b,this[_0x37665b(0x48f)](_0x43c5bb,_0x34ad43,this['_invKeySchedule'],_0x24482f,_0x5477a4,_0x5e85cd,_0x107227,_0x1c0438);var _0x41043b=_0x43c5bb[_0x34ad43+0x1];_0x43c5bb[_0x34ad43+0x1]=_0x43c5bb[_0x34ad43+0x3],_0x43c5bb[_0x34ad43+0x3]=_0x41043b;},'_doCryptBlock':function(_0x23dd48,_0x5a0f8d,_0x177543,_0x2c9d64,_0x4e6f16,_0x7a6207,_0x137b2b,_0x5d1b58){const _0x3ff5cd=_0x1a4c78;for(var _0x4dbc4a=this[_0x3ff5cd(0x3d5)],_0x14fb93=_0x23dd48[_0x5a0f8d]^_0x177543[0x0],_0x4fb1ed=_0x23dd48[_0x5a0f8d+0x1]^_0x177543[0x1],_0x2eac14=_0x23dd48[_0x5a0f8d+0x2]^_0x177543[0x2],_0x43bb30=_0x23dd48[_0x5a0f8d+0x3]^_0x177543[0x3],_0x1e65eb=0x4,_0x20b728=0x1;_0x20b728<_0x4dbc4a;_0x20b728++){var _0x398382=_0x2c9d64[_0x14fb93>>>0x18]^_0x4e6f16[_0x4fb1ed>>>0x10&0xff]^_0x7a6207[_0x2eac14>>>0x8&0xff]^_0x137b2b[_0x43bb30&0xff]^_0x177543[_0x1e65eb++],_0x4853fa=_0x2c9d64[_0x4fb1ed>>>0x18]^_0x4e6f16[_0x2eac14>>>0x10&0xff]^_0x7a6207[_0x43bb30>>>0x8&0xff]^_0x137b2b[_0x14fb93&0xff]^_0x177543[_0x1e65eb++],_0x58b188=_0x2c9d64[_0x2eac14>>>0x18]^_0x4e6f16[_0x43bb30>>>0x10&0xff]^_0x7a6207[_0x14fb93>>>0x8&0xff]^_0x137b2b[_0x4fb1ed&0xff]^_0x177543[_0x1e65eb++],_0x63ff55=_0x2c9d64[_0x43bb30>>>0x18]^_0x4e6f16[_0x14fb93>>>0x10&0xff]^_0x7a6207[_0x4fb1ed>>>0x8&0xff]^_0x137b2b[_0x2eac14&0xff]^_0x177543[_0x1e65eb++];_0x14fb93=_0x398382,_0x4fb1ed=_0x4853fa,_0x2eac14=_0x58b188,_0x43bb30=_0x63ff55;}var _0x398382=(_0x5d1b58[_0x14fb93>>>0x18]<<0x18|_0x5d1b58[_0x4fb1ed>>>0x10&0xff]<<0x10|_0x5d1b58[_0x2eac14>>>0x8&0xff]<<0x8|_0x5d1b58[_0x43bb30&0xff])^_0x177543[_0x1e65eb++],_0x4853fa=(_0x5d1b58[_0x4fb1ed>>>0x18]<<0x18|_0x5d1b58[_0x2eac14>>>0x10&0xff]<<0x10|_0x5d1b58[_0x43bb30>>>0x8&0xff]<<0x8|_0x5d1b58[_0x14fb93&0xff])^_0x177543[_0x1e65eb++],_0x58b188=(_0x5d1b58[_0x2eac14>>>0x18]<<0x18|_0x5d1b58[_0x43bb30>>>0x10&0xff]<<0x10|_0x5d1b58[_0x14fb93>>>0x8&0xff]<<0x8|_0x5d1b58[_0x4fb1ed&0xff])^_0x177543[_0x1e65eb++],_0x63ff55=(_0x5d1b58[_0x43bb30>>>0x18]<<0x18|_0x5d1b58[_0x14fb93>>>0x10&0xff]<<0x10|_0x5d1b58[_0x4fb1ed>>>0x8&0xff]<<0x8|_0x5d1b58[_0x2eac14&0xff])^_0x177543[_0x1e65eb++];_0x23dd48[_0x5a0f8d]=_0x398382,_0x23dd48[_0x5a0f8d+0x1]=_0x4853fa,_0x23dd48[_0x5a0f8d+0x2]=_0x58b188,_0x23dd48[_0x5a0f8d+0x3]=_0x63ff55;},'keySize':0x100/0x20});_0x4bd960[_0x1a4c78(0x4a3)]=_0x266248[_0x1a4c78(0x2eb)](_0x28766e);}()),_0x1c60f4[_0x843a1e(0x4a3)];}));}(ki));var Ya=ki[_0xf37888(0x4bf)];function _0x136c(_0x425692,_0xa8815c){const _0xc3a6a0=_0xc3a6();return _0x136c=function(_0x136c71,_0x35ce06){_0x136c71=_0x136c71-0x10a;let _0x32f4b4=_0xc3a6a0[_0x136c71];return _0x32f4b4;},_0x136c(_0x425692,_0xa8815c);}const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x4b43c5,_0x2cdfa0){(function(_0x4ee7bf,_0x325acc){const _0x5bc76d=_0x136c;_0x4b43c5[_0x5bc76d(0x4bf)]=_0x325acc(ue());}(Z,function(_0x20a2f3){const _0x7c69cc=_0x136c;return _0x20a2f3[_0x7c69cc(0x343)][_0x7c69cc(0x4dc)];}));}(Gi));var qa=Gi[_0xf37888(0x4bf)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x163cff,_0x3670d9){(function(_0x5135aa,_0x38693c){const _0x257a19=_0x136c;_0x163cff[_0x257a19(0x4bf)]=_0x38693c(ue());}(Z,function(_0x4ee502){const _0xf01531=_0x136c;return(function(){const _0x4c34ba=_0x136c;if(typeof ArrayBuffer==_0x4c34ba(0x1bc)){var _0x15bd98=_0x4ee502,_0x334172=_0x15bd98[_0x4c34ba(0x1f5)],_0x3f47e0=_0x334172[_0x4c34ba(0x290)],_0x27e5de=_0x3f47e0[_0x4c34ba(0x10e)],_0x549f36=_0x3f47e0[_0x4c34ba(0x10e)]=function(_0x39d551){const _0x496561=_0x4c34ba;if(_0x39d551 instanceof ArrayBuffer&&(_0x39d551=new Uint8Array(_0x39d551)),(_0x39d551 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x39d551 instanceof Uint8ClampedArray||_0x39d551 instanceof Int16Array||_0x39d551 instanceof Uint16Array||_0x39d551 instanceof Int32Array||_0x39d551 instanceof Uint32Array||_0x39d551 instanceof Float32Array||_0x39d551 instanceof Float64Array)&&(_0x39d551=new Uint8Array(_0x39d551[_0x496561(0x34e)],_0x39d551[_0x496561(0x41f)],_0x39d551[_0x496561(0x353)])),_0x39d551 instanceof Uint8Array){for(var _0x2a7ba0=_0x39d551[_0x496561(0x353)],_0x1541ad=[],_0x23333f=0x0;_0x23333f<_0x2a7ba0;_0x23333f++)_0x1541ad[_0x23333f>>>0x2]|=_0x39d551[_0x23333f]<<0x18-_0x23333f%0x4*0x8;_0x27e5de[_0x496561(0x3b7)](this,_0x1541ad,_0x2a7ba0);}else _0x27e5de['apply'](this,arguments);};_0x549f36[_0x4c34ba(0x16d)]=_0x3f47e0;}}()),_0x4ee502[_0xf01531(0x1f5)][_0xf01531(0x290)];}));}(Yi));var Ja=Yi[_0xf37888(0x4bf)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x2b7164,_0x59dee5){(function(_0x6ce975,_0x5657e2,_0x216157){const _0x45239a=_0x136c;_0x2b7164[_0x45239a(0x4bf)]=_0x5657e2(ue(),Vi());}(Z,function(_0x267848){const _0x2437a8=_0x136c;return _0x267848['pad'][_0x2437a8(0x495)]={'pad':function(){},'unpad':function(){}},_0x267848['pad'][_0x2437a8(0x495)];}));}(Ki));var Qa=Ki[_0xf37888(0x4bf)];const ec=at(Qa);function tc(_0x5c866,_0x508711){const _0x34ac20=_0xf37888,_0x193ba5=_0x508711-_0x5c866[_0x34ac20(0x42c)]%_0x508711,_0x470001=String[_0x34ac20(0x130)](_0x193ba5)[_0x34ac20(0x427)](_0x193ba5);return _0x5c866+_0x470001;}function sc(_0x3a941c,_0x4ca613){const _0x14aaf3=_0xf37888,_0x585d11=Za['random'](0x10),_0x18362e=tc(_0x3a941c,0x10),_0x592d3b=Ka[_0x14aaf3(0x13b)](Xa['parse'](_0x18362e),ii[_0x14aaf3(0x2e9)](_0x4ca613),{'iv':_0x585d11,'padding':ec});return _0x585d11[_0x14aaf3(0x3b4)](_0x592d3b[_0x14aaf3(0x475)])[_0x14aaf3(0x492)](ii);}function ic(){const _0x967598=_0xf37888,_0x299f87=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x299f87){const _0x439343={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x967598(0x2a9)]};return sc(JSON['stringify'](_0x439343),_0x299f87);}}var nc=Object[_0xf37888(0x320)],rc=Object['getOwnPropertyDescriptor'],oc=(_0x2571fc,_0x24138d,_0x16e217,_0x553d19)=>{const _0x5ddc56=_0xf37888;for(var _0x3cdf4b=_0x553d19>0x1?void 0x0:_0x553d19?rc(_0x24138d,_0x16e217):_0x24138d,_0x14f114=_0x2571fc[_0x5ddc56(0x42c)]-0x1,_0x1dd066;_0x14f114>=0x0;_0x14f114--)(_0x1dd066=_0x2571fc[_0x14f114])&&(_0x3cdf4b=(_0x553d19?_0x1dd066(_0x24138d,_0x16e217,_0x3cdf4b):_0x1dd066(_0x3cdf4b))||_0x3cdf4b);return _0x553d19&&_0x3cdf4b&&nc(_0x24138d,_0x16e217,_0x3cdf4b),_0x3cdf4b;},ac=(_0x12c37e,_0x21882b)=>(_0x12c83f,_0x2cf02f)=>_0x21882b(_0x12c83f,_0x2cf02f,_0x12c37e);let bt=class{constructor(_0x130f7e){const _0x5f2ec1=_0xf37888;this[_0x5f2ec1(0x169)]=_0x130f7e,this[_0x5f2ec1(0x14b)]();}[_0xf37888(0x14b)](){const _0x302a3e=_0xf37888;this[_0x302a3e(0x169)][_0x302a3e(0x501)]({'interceptor':(_0x46fd7e,_0x337bed)=>{const _0x59aeda=_0x302a3e,_0x5edc17=_0x46fd7e[_0x59aeda(0x3d1)],_0x21d5fa=ic();return _0x21d5fa&&_0x5edc17[_0x59aeda(0x1ec)](_0x59aeda(0x21a),_0x21d5fa),_0x337bed(_0x46fd7e);}});}};bt=oc([ac(0x0,_0x39c8b8(_0xf3436a))],bt);var cc=Object[_0xf37888(0x320)],hc=Object['getOwnPropertyDescriptor'],lc=(_0x1a3a0d,_0x2a3459,_0x27f675,_0x276b52)=>{const _0x1bafe8=_0xf37888;for(var _0x1a0bc6=_0x276b52>0x1?void 0x0:_0x276b52?hc(_0x2a3459,_0x27f675):_0x2a3459,_0x23f158=_0x1a3a0d[_0x1bafe8(0x42c)]-0x1,_0x58c8b8;_0x23f158>=0x0;_0x23f158--)(_0x58c8b8=_0x1a3a0d[_0x23f158])&&(_0x1a0bc6=(_0x276b52?_0x58c8b8(_0x2a3459,_0x27f675,_0x1a0bc6):_0x58c8b8(_0x1a0bc6))||_0x1a0bc6);return _0x276b52&&_0x1a0bc6&&cc(_0x2a3459,_0x27f675,_0x1a0bc6),_0x1a0bc6;},Xt=(_0x4ccda3,_0x426380)=>(_0x305c1c,_0x36b2d8)=>_0x426380(_0x305c1c,_0x36b2d8,_0x4ccda3);const _c=[_0xf37888(0x473),_0xf37888(0x4b6),'image/jpg',_0xf37888(0x4ee),_0xf37888(0x4a7)],uc=0x5*0x400*0x400,dc=_0xf37888(0x259),fc=_0xf37888(0x2d1),vc=_0xf37888(0x4f9),mc=_0xf37888(0x1db);let hs=class{constructor(_0x18ec8f,_0x21d7ad,_0x3e739a){const _0x38134=_0xf37888;g(this,_0x38134(0x297),0x0),g(this,_0x38134(0x38b),new _0x382230()),g(this,_0x38134(0x10f),this['_change$']),g(this,_0x38134(0x112),new Map()),(this[_0x38134(0x169)]=_0x18ec8f,this[_0x38134(0x1f2)]=_0x21d7ad,this[_0x38134(0x1c2)]=_0x3e739a);}['setWaitCount'](_0x146a64){const _0x2b4a26=_0xf37888;this[_0x2b4a26(0x297)]=_0x146a64,this[_0x2b4a26(0x38b)][_0x2b4a26(0x2d2)](_0x146a64);}[_0xf37888(0x13e)](_0x232686,_0xb99353){const _0x1b2978=_0xf37888;if(_0xb99353===_0x4b9ffc[_0x1b2978(0x4d7)]){const _0x2de8c1=new Image();return _0x2de8c1[_0x1b2978(0x281)]=_0x232686,_0x2de8c1;}return this[_0x1b2978(0x112)][_0x1b2978(0x166)](_0x232686);}[_0xf37888(0x24c)](_0x1500c7,_0x236f1c,_0x592c91){const _0xfa1ee6=_0xf37888;_0x236f1c===_0x4b9ffc[_0xfa1ee6(0x4d7)]||_0x592c91==null||this['_imageSourceCache'][_0xfa1ee6(0x1ec)](_0x1500c7,_0x592c91);}async[_0xf37888(0x1a6)](_0x210a36){const _0x6b1e9c=_0xf37888;try{const _0x35201b=this[_0x6b1e9c(0x33b)](this[_0x6b1e9c(0x1c4)](),''+_0x210a36),_0x248aae=(await this[_0x6b1e9c(0x169)][_0x6b1e9c(0x166)](_0x35201b))[_0x6b1e9c(0x251)];if(_0x248aae['error']&&_0x248aae[_0x6b1e9c(0x329)]['code']===Ri['OK']){const _0x57011d=new URL(_0x248aae[_0x6b1e9c(0x35d)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x57011d);}return Promise['reject'](_0x248aae[_0x6b1e9c(0x329)]);}catch(_0x1ad26a){return Promise[_0x6b1e9c(0x3b1)](_0x1ad26a);}}async[_0xf37888(0x221)](_0x2cdd67){const _0x5a3596=_0xf37888;let _0x499ba8='';if(!_c[_0x5a3596(0x258)](_0x2cdd67['type']))return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x4ab)]));if(_0x2cdd67[_0x5a3596(0x189)]>uc)return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x25e)]));try{const _0x53d89f=new FormData();_0x53d89f[_0x5a3596(0x249)](_0x5a3596(0x11a),_0x2cdd67);const _0x2a1caa=this[_0x5a3596(0x1c2)][_0x5a3596(0x2f2)](),_0x191041=_0x2a1caa==null?void 0x0:_0x2a1caa[_0x5a3596(0x1a4)]();if(!_0x191041)throw new Error(_0x5a3596(0x168));const _0x53d4be=this['_getUploadFileURL']()+'?size='+_0x2cdd67[_0x5a3596(0x189)][_0x5a3596(0x492)]()+_0x5a3596(0x4be)+yi[_0x5a3596(0x49e)]+_0x5a3596(0x154)+encodeURIComponent(_0x191041),_0x114d18=await(await fetch(_0x53d4be,{'method':_0x5a3596(0x2f5),'body':_0x53d89f}))[_0x5a3596(0x1ad)]();if(typeof _0x114d18['FileId']!=_0x5a3596(0x384))return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x460)]));_0x499ba8=_0x114d18['FileId'];}catch{return this[_0x5a3596(0x4ad)](),Promise[_0x5a3596(0x3b1)](new Error(_0x3da702[_0x5a3596(0x460)]));}return new Promise((_0x4ae557,_0x4242e1)=>{const _0xc3ba90=_0x5a3596,_0x1e6754=new FileReader();_0x1e6754[_0xc3ba90(0x139)](_0x2cdd67),_0x1e6754[_0xc3ba90(0x50a)]=_0x4c4b25=>{const _0x286a75=_0xc3ba90;var _0x10e591;const _0x32d4fd=(_0x10e591=_0x4c4b25[_0x286a75(0x16b)])==null?void 0x0:_0x10e591[_0x286a75(0x2af)];if(_0x32d4fd==null){this[_0x286a75(0x4ad)](),_0x4242e1(new Error(_0x3da702[_0x286a75(0x460)]));return;}const _0x1b1670=_0x5d7755[_0x286a75(0x44e)](0x6);_0x4ae557({'imageId':_0x1b1670,'imageSourceType':_0x4b9ffc[_0x286a75(0x248)],'source':_0x499ba8,'base64Cache':_0x32d4fd,'status':_0x3da702[_0x286a75(0x235)]}),this[_0x286a75(0x4ad)]();};});}[_0xf37888(0x113)](){const _0x3206a1=_0xf37888;var _0x2bb280,_0xff83fa;const _0x54a511=this[_0x3206a1(0x1f2)][_0x3206a1(0x37a)](dc),_0x3c1282=this[_0x3206a1(0x1f2)][_0x3206a1(0x37a)](ie);return(_0xff83fa=(_0x2bb280=_0x3c1282==null?void 0x0:_0x3c1282[_0x3206a1(0x253)])!=null?_0x2bb280:_0x54a511)!=null?_0xff83fa:fc;}[_0xf37888(0x1c4)](){const _0x11e06d=_0xf37888;var _0x55dfac,_0xd9442f;const _0x116549=this[_0x11e06d(0x1f2)][_0x11e06d(0x37a)](vc),_0x3c72ca=this[_0x11e06d(0x1f2)][_0x11e06d(0x37a)](ie);return(_0xd9442f=(_0x55dfac=_0x3c72ca==null?void 0x0:_0x3c72ca['signUrlServerUrl'])!=null?_0x55dfac:_0x116549)!=null?_0xd9442f:mc;}[_0xf37888(0x203)](){const _0x494230=_0xf37888;var _0x15152b;const _0x3504c2=this[_0x494230(0x1f2)][_0x494230(0x37a)](ie);return(_0x15152b=_0x3504c2==null?void 0x0:_0x3504c2[_0x494230(0x4c8)])!=null?_0x15152b:location[_0x494230(0x482)];}[_0xf37888(0x33b)](_0x333c43,_0x1d78c0){const _0x3937da=_0xf37888;return _0x333c43[_0x3937da(0x215)](_0x3937da(0x1ab),_0x1d78c0);}[_0xf37888(0x4ad)](){const _0x297651=_0xf37888;this[_0x297651(0x297)]-=0x1,this[_0x297651(0x38b)][_0x297651(0x2d2)](this['_waitCount']);}};hs=lc([Xt(0x0,_0x39c8b8(_0xf3436a)),Xt(0x1,_0x45a6b3),Xt(0x2,_0x39c8b8(_0x6b8e83))],hs);var pc=Object[_0xf37888(0x320)],gc=Object[_0xf37888(0x26b)],Sc=(_0xcaeadb,_0x4705c4,_0x46ffd6,_0x16be63)=>{const _0x18d603=_0xf37888;for(var _0xf82764=_0x16be63>0x1?void 0x0:_0x16be63?gc(_0x4705c4,_0x46ffd6):_0x4705c4,_0x1c1eaa=_0xcaeadb[_0x18d603(0x42c)]-0x1,_0x47425b;_0x1c1eaa>=0x0;_0x1c1eaa--)(_0x47425b=_0xcaeadb[_0x1c1eaa])&&(_0xf82764=(_0x16be63?_0x47425b(_0x4705c4,_0x46ffd6,_0xf82764):_0x47425b(_0xf82764))||_0xf82764);return _0x16be63&&_0xf82764&&pc(_0x4705c4,_0x46ffd6,_0xf82764),_0xf82764;},Qe=(_0x22e6da,_0x18f13f)=>(_0x2f0002,_0x67c695)=>_0x18f13f(_0x2f0002,_0x67c695,_0x22e6da);let Tt=class extends _0x3c16d2{constructor(_0x28b54f,_0x2bbbc5,_0x31df84,_0x3bd5e2,_0x23d6ef){const _0x7c1873=_0xf37888;super(),this[_0x7c1873(0x43d)]=_0x28b54f,this[_0x7c1873(0x1c2)]=_0x2bbbc5,this[_0x7c1873(0x4b2)]=_0x31df84,this[_0x7c1873(0x299)]=_0x3bd5e2,this[_0x7c1873(0x428)]=_0x23d6ef,this['_initUnitPermissionChange'](),this[_0x7c1873(0x4cd)]();}[_0xf37888(0x4cd)](){const _0x1d9797=_0xf37888,_0x8a772d=async _0x118e62=>{const _0x308f29=_0x136c;(await this[_0x308f29(0x299)][_0x308f29(0x4f0)](_0x118e62))[_0x308f29(0x3c5)]['pipe'](_0x2d7a63(_0x5bd0f8=>_0x5bd0f8[_0x308f29(0x214)]===_0x3c3869[_0x308f29(0x131)]),_0xf05386(this['dispose$']))[_0x308f29(0x236)](_0x1071c4=>{const _0x30083a=_0x308f29,_0xbc8ca2=_0x1071c4,{reason:_0x16fea9}=_0xbc8ca2[_0x30083a(0x1cc)];this['_injector']['get'](_0xffafbc)[_0x30083a(0x228)]({'type':_0x30a0d6[_0x30083a(0x45d)],'content':this['_localeService']['t'](_0x30083a(0x2b2))+'('+_0x16fea9+')'}),this['_permissionService'][_0x30083a(0x31f)](new _0x57c2ed(_0x118e62)['id'],!0x1),this[_0x30083a(0x299)][_0x30083a(0x38f)](_0x118e62);});};_0x45ad1c(this[_0x1d9797(0x1c2)]['getTypeOfUnitAdded$'](_0x42608e[_0x1d9797(0x19a)]),this[_0x1d9797(0x1c2)]['getTypeOfUnitAdded$'](_0x42608e[_0x1d9797(0x1c1)]))[_0x1d9797(0x3bf)](_0x5ba592(_0x544cfd=>_0x544cfd[_0x1d9797(0x1a4)]()),_0x2d7a63(_0x309678=>!_0x59fd1a(_0x309678)),_0xf05386(this[_0x1d9797(0x118)]))[_0x1d9797(0x236)](_0xfad417=>{_0x8a772d(_0xfad417);});}['_initUnitPermissionChange'](){const _0x3621f8=_0xf37888,_0x369623=async _0x1f1925=>{const _0x25e5c6=_0x136c;(await this[_0x25e5c6(0x299)][_0x25e5c6(0x4f0)](_0x1f1925))[_0x25e5c6(0x3c5)][_0x25e5c6(0x3bf)](_0x2d7a63(_0x167ea6=>_0x167ea6[_0x25e5c6(0x214)]===_0x3c3869['UPDATE_PERMISSION_OBJ']),_0xf05386(this['dispose$']))[_0x25e5c6(0x236)](_0xa60ca8=>{const _0x427630=_0x25e5c6,_0x32a56d=_0xa60ca8,{objectId:_0x1f8302}=_0x32a56d[_0x427630(0x1cc)],_0x4b20f1=this[_0x427630(0x43d)][_0x427630(0x166)](_0x3ee48e);_0x1f8302===_0x1f1925?_0x4b20f1[_0x427630(0x42b)](_0x1f1925):_0x4b20f1[_0x427630(0x2ee)](_0x1f1925,_0x1f8302);});};_0x45ad1c(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42608e['UNIVER_SHEET']),this[_0x3621f8(0x1c2)][_0x3621f8(0x493)](_0x42608e[_0x3621f8(0x1c1)]))[_0x3621f8(0x3bf)](_0x5ba592(_0x23e299=>_0x23e299['getUnitId']()),_0x2d7a63(_0x2b4e63=>!_0x59fd1a(_0x2b4e63)),_0xf05386(this['dispose$']))['subscribe'](_0x2fcfed=>{_0x369623(_0x2fcfed);});}};Tt=Sc([Qe(0x0,_0x39c8b8(_0x2fd08f)),Qe(0x1,_0x6b8e83),Qe(0x2,_0x19df2d),Qe(0x3,_0x39c8b8(Ae)),Qe(0x4,_0x39c8b8(_0x50f35b))],Tt);var Ic=Object['defineProperty'],Cc=Object['getOwnPropertyDescriptor'],Ec=(_0x3f6477,_0x36ceef,_0x512754,_0x2f7805)=>{const _0x317413=_0xf37888;for(var _0x196431=_0x2f7805>0x1?void 0x0:_0x2f7805?Cc(_0x36ceef,_0x512754):_0x36ceef,_0x2fefe0=_0x3f6477[_0x317413(0x42c)]-0x1,_0x49f3e5;_0x2fefe0>=0x0;_0x2fefe0--)(_0x49f3e5=_0x3f6477[_0x2fefe0])&&(_0x196431=(_0x2f7805?_0x49f3e5(_0x36ceef,_0x512754,_0x196431):_0x49f3e5(_0x196431))||_0x196431);return _0x2f7805&&_0x196431&&Ic(_0x36ceef,_0x512754,_0x196431),_0x196431;},ni=(_0x3615a4,_0x5444f7)=>(_0x165b8a,_0x487d2c)=>_0x5444f7(_0x165b8a,_0x487d2c,_0x3615a4);let ls=class{constructor(_0x1cfacd,_0x504b55){const _0x2baa0d=_0xf37888;this['_configService']=_0x1cfacd,this[_0x2baa0d(0x169)]=_0x504b55;}async['getUnitOnRev'](_0x2e1fc6,_0x555c34){const _0x3fdca6=_0xf37888;var _0x5cf273;const {unitID:_0x411ae2,type:_0x2f64b6,revision:_0x450421=0x0}=_0x555c34,_0x53f0da=this[_0x3fdca6(0x368)]()+'/'+_0x2f64b6+'/unit/'+_0x411ae2+'/rev/'+_0x450421,_0xb618cb=(await this['_httpService'][_0x3fdca6(0x166)](_0x53f0da))[_0x3fdca6(0x251)],_0x45c19f=(_0x5cf273=_0xb618cb['snapshot'])==null?void 0x0:_0x5cf273['workbook'];if(_0x45c19f){const _0x267997=_0x45c19f==null?void 0x0:_0x45c19f[_0x3fdca6(0x3d4)],_0x4d88ea=_0x4821ce[_0x3fdca6(0x4e5)](_0x1925e3(_0x267997));_0x45c19f[_0x3fdca6(0x3d4)]=_0x4d88ea,Object[_0x3fdca6(0x217)](_0x45c19f[_0x3fdca6(0x3c7)])[_0x3fdca6(0x321)](([,_0x1c595b])=>{const _0x2050a8=_0x3fdca6,_0x339fe7=_0x1c595b[_0x2050a8(0x3d4)],_0x200f87=_0x4821ce[_0x2050a8(0x4e5)](_0x1925e3(_0x339fe7));_0x1c595b[_0x2050a8(0x3d4)]=_0x200f87;});}return _0xb618cb;}async[_0xf37888(0x464)](_0x25a7e0,_0x43fcf9){const _0x517459=_0xf37888,{unitID:_0x195728,type:_0xedd9ae,blockID:_0x595453}=_0x43fcf9,_0x1f721f=this[_0x517459(0x375)]()+'/'+_0xedd9ae+_0x517459(0x4cb)+_0x195728+_0x517459(0x156)+_0x595453;return(await this[_0x517459(0x169)][_0x517459(0x166)](_0x1f721f))['body'];}async[_0xf37888(0x49a)](_0x1274d0,_0x355753){const _0x431327=_0xf37888,{unitID:_0x52e4b6,type:_0x59851f,blockID:_0x53fb1a}=_0x355753,_0x378313=this[_0x431327(0x375)]()+'/block/'+_0x59851f+'/unit/'+_0x52e4b6+_0x431327(0x156)+_0x53fb1a;return(await this[_0x431327(0x169)][_0x431327(0x166)](_0x378313))[_0x431327(0x251)];}async[_0xf37888(0x422)](_0x1e882b,_0x5c1541){const _0x4d8787=_0xf37888,{unitID:_0x5d92fa,type:_0x15036e,from:_0xbfdcb8,to:_0x3a8355}=_0x5c1541,_0x5e0849=this[_0x4d8787(0x375)]()+'/'+_0x15036e+_0x4d8787(0x4cb)+_0x5d92fa+'/fetchmissing?from='+_0xbfdcb8+_0x4d8787(0x25f)+_0x3a8355;return(await this[_0x4d8787(0x169)]['get'](_0x5e0849))[_0x4d8787(0x251)];}[_0xf37888(0x368)](){const _0x3ab7b1=_0xf37888;var _0x1f4ba3;return(_0x1f4ba3=this['_configService'][_0x3ab7b1(0x37a)](lr))!=null?_0x1f4ba3:this[_0x3ab7b1(0x375)]();}[_0xf37888(0x375)](){const _0x145eb6=_0xf37888;var _0x2e4851,_0x1f60d3;const _0x133cf6=this[_0x145eb6(0x1f2)][_0x145eb6(0x37a)](cr),_0x2083ed=this['_configService'][_0x145eb6(0x37a)](ie);return(_0x1f60d3=(_0x2e4851=_0x2083ed==null?void 0x0:_0x2083ed[_0x145eb6(0x146)])!=null?_0x2e4851:_0x133cf6)!=null?_0x1f60d3:hr;}async['getResourcesRequest'](_0x278c00,_0x32e905){const _0x636c7b=_0xf37888,_0x53e243=_0x636c7b(0x2ce)+_0x32e905[_0x636c7b(0x1fd)]+_0x636c7b(0x4cb)+_0x32e905[_0x636c7b(0x24f)]+_0x636c7b(0x508);return(await this['_httpService']['get'](_0x53e243,{'params':{'resourceId':JSON[_0x636c7b(0x387)](_0x32e905[_0x636c7b(0x17a)])}}))[_0x636c7b(0x251)];}[_0xf37888(0x1e3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf37888(0x196)](){const _0x19ee51=_0xf37888;throw new Error(_0x19ee51(0x305));}['saveChangeset'](){const _0x5ee2fd=_0xf37888;throw new Error(_0x5ee2fd(0x305));}[_0xf37888(0x4e4)](){const _0x12e509=_0xf37888;throw new Error(_0x12e509(0x305));}[_0xf37888(0x293)](){const _0x21bf06=_0xf37888;throw new Error(_0x21bf06(0x305));}};ls=Ec([ni(0x0,_0x45a6b3),ni(0x1,_0x39c8b8(_0xf3436a))],ls);var bc=Object[_0xf37888(0x320)],Tc=Object[_0xf37888(0x26b)],Rc=(_0x1e7733,_0x56ced5,_0x4af483,_0x39515)=>{const _0x154cfe=_0xf37888;for(var _0xb62189=_0x39515>0x1?void 0x0:_0x39515?Tc(_0x56ced5,_0x4af483):_0x56ced5,_0x147194=_0x1e7733[_0x154cfe(0x42c)]-0x1,_0x786ba;_0x147194>=0x0;_0x147194--)(_0x786ba=_0x1e7733[_0x147194])&&(_0xb62189=(_0x39515?_0x786ba(_0x56ced5,_0x4af483,_0xb62189):_0x786ba(_0xb62189))||_0xb62189);return _0x39515&&_0xb62189&&bc(_0x56ced5,_0x4af483,_0xb62189),_0xb62189;},et=(_0xcedc12,_0x40b23f)=>(_0x10a1e6,_0x254c99)=>_0x40b23f(_0x10a1e6,_0x254c99,_0xcedc12);let _s=class extends _0x4a62a2{constructor(_0x96ae70,_0x560a21,_0x50d0e0,_0x2bff3f,_0x436e9f){const _0x33bc84=_0xf37888;super(_0x96ae70,_0x560a21,_0x50d0e0),this[_0x33bc84(0x310)]=_0x2bff3f,this[_0x33bc84(0x2c3)]=_0x436e9f;}[_0xf37888(0x446)](_0x1a56cb,_0x2a845a){const _0x2bfbba=_0xf37888,_0x1d2850=this[_0x2bfbba(0x275)](_0x1a56cb);if(_0x1d2850)try{const _0x34b692=this['_transformStack'](_0x1d2850,_0x2a845a);this[_0x2bfbba(0x243)](_0x1a56cb,_0x34b692);}catch(_0x50bd88){this[_0x2bfbba(0x2c3)][_0x2bfbba(0x329)](_0x2bfbba(0x333),_0x50bd88),this['_clearUndo'](_0x1a56cb);}const _0x154f92=this[_0x2bfbba(0x43a)](_0x1a56cb);if(_0x154f92)try{const _0x4e9fed=this[_0x2bfbba(0x254)](_0x154f92,_0x2a845a);this[_0x2bfbba(0x3df)](_0x1a56cb,_0x4e9fed);}catch(_0x324f1d){this['_logService'][_0x2bfbba(0x329)](_0x324f1d),this[_0x2bfbba(0x143)](_0x1a56cb);}}[_0xf37888(0x33f)](_0xc0966c){const _0x510ebc=_0xf37888,_0x6fac53=this[_0x510ebc(0x275)](_0xc0966c);_0x6fac53&&(_0x6fac53[_0x510ebc(0x42c)]=0x0,this[_0x510ebc(0x44c)]());}['_clearRedo'](_0x553707){const _0x58c156=_0xf37888,_0x438f6a=this[_0x58c156(0x43a)](_0x553707);_0x438f6a&&(_0x438f6a[_0x58c156(0x42c)]=0x0,this[_0x58c156(0x44c)]());}[_0xf37888(0x243)](_0x191744,_0x4862be){const _0x522686=_0xf37888;this[_0x522686(0x483)][_0x522686(0x1ec)](_0x191744,_0x4862be),this[_0x522686(0x44c)]();}[_0xf37888(0x3df)](_0x1c66a1,_0x7d8606){const _0x182636=_0xf37888;this['_redoStacks']['set'](_0x1c66a1,_0x7d8606),this[_0x182636(0x44c)]();}[_0xf37888(0x254)](_0x44fc46,_0xc64898){const _0x1546cf=_0xf37888,_0x152017=[];let _0x52ca46=_0xc64898,_0x4a610f=_0xc64898;for(let _0x2b4c97=_0x44fc46[_0x1546cf(0x42c)]-0x1;_0x2b4c97>=0x0;_0x2b4c97--){const {unitID:_0x398f9a,undoMutations:_0x175c4f,redoMutations:_0x3bdfa7}=_0x44fc46[_0x2b4c97],_0xa45c42=this['_transformService'][_0x1546cf(0x134)](_0x52ca46,_0x175c4f),_0x42eae5=this[_0x1546cf(0x310)][_0x1546cf(0x134)](_0x4a610f,_0x3bdfa7);if(_0x40847e(_0xa45c42)||_0x40847e(_0x42eae5)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x1546cf(0x346),_0xa45c42,_0x42eae5);break;}_0x52ca46=_0xa45c42[_0x1546cf(0x19e)],_0x4a610f=_0x42eae5[_0x1546cf(0x19e)],_0x152017[_0x1546cf(0x270)]({'unitID':_0x398f9a,'undoMutations':_0xa45c42[_0x1546cf(0x44b)],'redoMutations':_0x42eae5[_0x1546cf(0x44b)]});}return _0x152017['reverse']();}};_s=Rc([et(0x0,_0x6b8e83),et(0x1,_0x48fc43),et(0x2,_0x1b23d4),et(0x3,_0x36ceed),et(0x4,_0x399eca)],_s);class yc extends _0x3c16d2{constructor(){const _0x57fd6c=_0xf37888;super(),g(this,_0x57fd6c(0x22a)),this[_0x57fd6c(0x22a)]=_0x5ea6fd(window,_0x57fd6c(0x2fa))['pipe'](_0x1825a9(this['dispose$']),_0xac7976(0x1),_0x20444c(void 0x0));}[_0xf37888(0x341)](_0x37046f,_0x5cdd16,_0x3c1cac=!0x1){const _0xc4630=_0xf37888,_0x323207=new URL(window[_0xc4630(0x205)][_0xc4630(0x2b7)]);_0x323207[_0xc4630(0x3e0)][_0xc4630(0x1ec)](_0x37046f,_0x5cdd16),_0x3c1cac?window['history']['replaceState']('','',_0x323207[_0xc4630(0x492)]()):window['history'][_0xc4630(0x191)]('','',_0x323207[_0xc4630(0x492)]());}[_0xf37888(0x224)](_0x26e23d,_0x16dddf=!0x1){const _0x24b0ca=_0xf37888,_0x81ffa1=new URL(window['location'][_0x24b0ca(0x2b7)]);_0x81ffa1['searchParams'][_0x24b0ca(0x3ab)](_0x26e23d),_0x16dddf?window[_0x24b0ca(0x165)][_0x24b0ca(0x4c1)]('','',_0x81ffa1[_0x24b0ca(0x492)]()):window[_0x24b0ca(0x165)][_0x24b0ca(0x191)]('','',_0x81ffa1[_0x24b0ca(0x492)]());}[_0xf37888(0x190)](_0x2ab6fa){const _0x2f468c=_0xf37888;var _0x3834c6;return(_0x3834c6=new URL(window['location'][_0x2f468c(0x2b7)])['searchParams'][_0x2f468c(0x166)](_0x2ab6fa))!=null?_0x3834c6:void 0x0;}}var zi=Object['defineProperty'],Oc=Object['getOwnPropertyDescriptor'],wc=(_0x5a6cfa,_0x1c11f7,_0x42cdb4)=>_0x1c11f7 in _0x5a6cfa?zi(_0x5a6cfa,_0x1c11f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42cdb4}):_0x5a6cfa[_0x1c11f7]=_0x42cdb4,Dc=(_0x5cff08,_0x17f569,_0x513a45,_0x120956)=>{for(var _0x81db4e=_0x120956>0x1?void 0x0:_0x120956?Oc(_0x17f569,_0x513a45):_0x17f569,_0x42a9f2=_0x5cff08['length']-0x1,_0x7d9344;_0x42a9f2>=0x0;_0x42a9f2--)(_0x7d9344=_0x5cff08[_0x42a9f2])&&(_0x81db4e=(_0x120956?_0x7d9344(_0x17f569,_0x513a45,_0x81db4e):_0x7d9344(_0x81db4e))||_0x81db4e);return _0x120956&&_0x81db4e&&zi(_0x17f569,_0x513a45,_0x81db4e),_0x81db4e;},lt=(_0x2544c2,_0x32b0e1)=>(_0xfc1e98,_0x159796)=>_0x32b0e1(_0xfc1e98,_0x159796,_0x2544c2),Pc=(_0x5199d1,_0x8598cd,_0x309a76)=>wc(_0x5199d1,_0x8598cd+'',_0x309a76);const Uc=_0xf37888(0x220);let us=class extends _0x7a55e0{constructor(_0x226e7d=Rr,_0x525f30,_0xb814a7,_0x3d4084,_0x2a8d36){const _0x4844b9=_0xf37888;super(),this['_config']=_0x226e7d,this['_logService']=_0x525f30,this[_0x4844b9(0x1b5)]=_0xb814a7,this[_0x4844b9(0x43d)]=_0x3d4084,this['_configService']=_0x2a8d36;const {..._0x13d22c}=this['_config'];this[_0x4844b9(0x1f2)]['setConfig'](ie,_0x13d22c);}[_0xf37888(0x37b)](){const _0x395888=_0xf37888;this['_registerDependencies'](),this[_0x395888(0x355)]();}[_0xf37888(0x49f)](){_0x5f3d41(this['_injector'],[[Ct]]);}['onRendered'](){const _0x2624fe=_0xf37888;this[_0x2624fe(0x1da)]();}[_0xf37888(0x21f)](){const _0x4e2824=_0xf37888;var _0x1bd9db,_0x26fc06,_0x1179d8,_0xd94e1c;this[_0x4e2824(0x43d)][_0x4e2824(0x4af)](_0x46b156)&&this[_0x4e2824(0x2c3)][_0x4e2824(0x329)](_0x4e2824(0x119),_0x4e2824(0x44a));const _0x25d9e6=[[_0x46b156,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x1827c1],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x26fc06=(_0x1bd9db=this['_config'])==null?void 0x0:_0x1bd9db[_0x4e2824(0x14a)])!=null?_0x26fc06:es}],[_0x5f2fc3,{'useClass':ls}],[_0xb968ca,{'useClass':cs}],[_0x548da5,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x1179d8=this['_config'])!=null&&_0x1179d8[_0x4e2824(0x1c8)]&&_0x25d9e6[_0x4e2824(0x270)]([Rt,{'useClass':ro}]),_0x1e42a3(this['_injector'],_0x208ba0(_0x25d9e6,(_0xd94e1c=this['_config'])==null?void 0x0:_0xd94e1c['override']));}[_0xf37888(0x1da)](){const _0x4bae3e=_0xf37888;this[_0x4bae3e(0x3ec)](this[_0x4bae3e(0x1b5)][_0x4bae3e(0x50c)](_0x42608e[_0x4bae3e(0x1c1)],[os])),this[_0x4bae3e(0x3ec)](this[_0x4bae3e(0x1b5)][_0x4bae3e(0x50c)](_0x42608e[_0x4bae3e(0x19a)],[as]));}[_0xf37888(0x355)](){const _0x593549=_0xf37888;var _0x159498,_0x2617a2;this[_0x593549(0x43d)][_0x593549(0x166)](_0xf3436a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x8c39a4({'maxParallel':0x6})}),(_0x159498=this['_config'])!=null&&_0x159498[_0x593549(0x47b)]||this['_injector'][_0x593549(0x166)](q)[_0x593549(0x3a7)](),(_0x2617a2=this[_0x593549(0x472)])!=null&&_0x2617a2['enableAuthServer']&&_0x5f3d41(this[_0x593549(0x43d)],[[Et]]),_0x5f3d41(this[_0x593549(0x43d)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,'pluginName',Uc),us=Dc([_0x1c29a2(_0x4a89ea,_0x4caaee),lt(0x1,_0x399eca),lt(0x2,_0x4e7ca1),lt(0x3,_0x39c8b8(_0x2fd08f)),lt(0x4,_0x45a6b3)],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};
|