@univerjs-pro/collaboration-client 0.5.0-nightly.202411231605 → 0.5.0-nightly.202411251606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x45d431=_0x5144;(function(_0x59b01a,_0x3c4711){const _0x164560=_0x5144,_0x979e8f=_0x59b01a();while(!![]){try{const _0x48830b=parseInt(_0x164560(0x121))/0x1*(-parseInt(_0x164560(0x11a))/0x2)+-parseInt(_0x164560(0x4cc))/0x3+parseInt(_0x164560(0x3bc))/0x4*(parseInt(_0x164560(0x25c))/0x5)+-parseInt(_0x164560(0x499))/0x6+-parseInt(_0x164560(0x3fa))/0x7*(parseInt(_0x164560(0x46b))/0x8)+parseInt(_0x164560(0x32c))/0x9+parseInt(_0x164560(0x1de))/0xa;if(_0x48830b===_0x3c4711)break;else _0x979e8f['push'](_0x979e8f['shift']());}catch(_0x50fc56){_0x979e8f['push'](_0x979e8f['shift']());}}}(_0x31e6,0xd984b));var sr=Object[_0x45d431(0x4f8)],ir=(_0x205ef2,_0x5bbbae,_0x3c75eb)=>_0x5bbbae in _0x205ef2?sr(_0x205ef2,_0x5bbbae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c75eb}):_0x205ef2[_0x5bbbae]=_0x3c75eb,g=(_0x45edff,_0x2dd5e4,_0x2389df)=>ir(_0x45edff,typeof _0x2dd5e4!=_0x45d431(0x223)?_0x2dd5e4+'':_0x2dd5e4,_0x2389df);import{createIdentifier as _0x590062,Inject as _0x35b6a2,Disposable as _0x4f1548,DisposableCollection as _0x53af5e,toDisposable as _0x3cfbd5,IConfigService as _0x360b05,ILogService as _0xce7964,UserManagerService as _0x1fecb7,UniverInstanceType as _0x51d633,IUniverInstanceService as _0x47d1bd,LocaleService as _0x31b970,Optional as _0x5cecc9,RxDisposable as _0x46da4c,Injector as _0xaaab92,Tools as _0x8b0f12,ILocalStorageService as _0xf9799b,Rectangle as _0x4ccd5c,ICommandService as _0x66b6aa,DOC_RANGE_TYPE as _0x1bbccb,JSONX as _0x401cc6,CommandType as _0x1da462,IPermissionService as _0x30807c,IUndoRedoService as _0x450df1,sequenceExecute as _0x342554,debounce as _0x49908a,COLORS as _0x2490d2,ColorKit as _0x4a3aef,ThemeService as _0x3871ac,fromEventSubject as _0x5d5aee,useDependency as _0x1645c2,connectInjector as _0x2eef45,Workbook as _0x576a03,MentionType as _0x4c6b7e,isInternalEditorID as _0x472f87,LocalUndoRedoService as _0x1aa308,IContextService as _0x295f83,DependentOn as _0x501c5f,Plugin as _0x48349f,touchDependencies as _0x3793a0,IAuthzIoService as _0x4f7fe5,IMentionIOService as _0x165794,registerDependencies as _0x5848a0,mergeOverrideWithDependencies as _0x1995d0}from'@univerjs/core';import{Subject as _0x54ef1d,merge as _0x35c956,takeUntil as _0x53c58e,BehaviorSubject as _0x1117fe,distinctUntilChanged as _0x48fccc,fromEvent as _0x36d4c4,ReplaySubject as _0x5c9396,take as _0x182a9e,map as _0x28520c,shareReplay as _0x5c69b3,of as _0x134634,debounceTime as _0x3f51c8,filter as _0x5e1bdd,switchMap as _0x590c63,combineLatest as _0x1eec2f,concatMap as _0x2b8903,mapTo as _0x5df0e2}from'rxjs';import{map as _0x29f8ca,take as _0x27e775,filter as _0x4cca68,delay as _0xdc4bb1,throttleTime as _0x5db531,takeUntil as _0x57b5d2,switchMap as _0x66715f}from'rxjs/operators';import{MessageType as _0x3067da,Tooltip as _0xf929fa}from'@univerjs/design';import{HTTPService as _0xa83f3b,WebSocketService as _0x4e1ec1,MergeInterceptorFactory as _0x2cc38a,HTTPRequest as _0x3acb9f,UniverNetworkPlugin as _0x1b25c9,ThresholdInterceptorFactory as _0x4ab6f7}from'@univerjs/network';import{IBeforeCloseService as _0x4ec122,IMessageService as _0x454792,INotificationService as _0xe774a5,useObservable as _0x2a3a1c,BuiltInUIPart as _0x140065,IUIPartsService as _0x33e59d}from'@univerjs/ui';import{CollaborationEvent as _0x5caf5f,parseChangesetToProtocol as _0x18c60b,ISnapshotServerService as _0x482dff,isTransformMutationFailure as _0x210785,isTransformMutationsWithChangesetSuccess as _0xabd7ef,ITransformService as _0x47de3e,RevisionService as _0x301828,mapDocumentTypeToUniverType as _0x56eb4f,isTransformChangesetsSuccess as _0x2b61ae,CompressMutationService as _0x2f2592,parseProtocolChangeset as _0x3746d2,SnapshotService as _0x45b448,textEncoder as _0x5247d7,b64DecodeUnicode as _0x27e1c3,isTransformMutationsWithChangesetFailure as _0x904b4b,UniverCollaborationPlugin as _0x2e8f5d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x135078}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x53c254,RichTextEditingMutation as _0x128c30,SetTextSelectionsOperation as _0x3c7572,DocSkeletonManagerService as _0xb3da8}from'@univerjs/docs';import{DocIMEInputManagerService as _0x57510e,DocStateChangeManagerService as _0x187b3c,IDocClipboardService as _0x1129f0,NodePositionConvertToCursor as _0x42808f,NodePositionConvertToRectRange as _0x40430c,TEXT_RANGE_LAYER_INDEX as _0x5bc0cf,SetDocZoomRatioOperation as _0x31cbee}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2a85ea,SetSelectionsOperation as _0x40ecbd,InsertSheetMutation as _0x38bcec,EmptyMutation as _0x25e507,WorkbookEditablePermission as _0x2043e8,RefRangeService as _0x20c152,EffectRefRangId as _0x1d6269,handleIRemoveRow as _0x50e967,handleIRemoveCol as _0x50dc9b,handleMoveRange as _0x464bc4,handleInsertRow as _0x38d59e,handleInsertRangeMoveRight as _0x3620db,handleInsertRangeMoveDown as _0x5e2c50,handleInsertCol as _0x397ad0,handleDeleteRangeMoveUp as _0x52d476,handleDeleteRangeMoveLeft as _0x303d24,runRefRangeMutations as _0x47737c,SetWorksheetActivateCommand as _0x1b360f}from'@univerjs/sheets';import{IRenderManagerService as _0x74ed0c,Shape as _0x43b8c6,Rect as _0x328564,getColor as _0x4e6a4f,RegularPolygon as _0xefe9f4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x27a745,Vector2 as _0x2b72e0}from'@univerjs/engine-render';import{IImageIoService as _0x43832e,ImageSourceType as _0x56a221,ImageUploadStatusType as _0x34f929}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x40b249,serializeRangeWithSheet as _0x1a4321}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4a91f5,VIEWPORT_KEY as _0x56b217,getCoordByCell as _0x1be3f7,getSheetObject as _0x4fffde,SheetPermissionInitController as _0xbf0601}from'@univerjs/sheets-ui';import _0x3e6f98,{forwardRef as _0xadd4fe,useRef as _0x390425,createElement as _0x32125f,useCallback as _0x4b842d}from'react';import{IRemoteInstanceService as _0x4a4038}from'@univerjs/rpc';const mn=_0x45d431(0x3c5),pn=_0x45d431(0x4d5),gn=_0x45d431(0x3a3),_h=_0x45d431(0x2f5),Sn=0x7d0,In=_0x45d431(0x141),Cn=_0x45d431(0x13b),En=_0x45d431(0x1e3),bn=_0x45d431(0x300),Tn=0x7530,Di=_0x45d431(0x12f),Pi=0x4e20,Rn=0x4e20,On=_0x45d431(0x263),yn=0x3,wn='LOCAL_CACHE_INTERVAL',Dn=0x3e8,Pn=_0x45d431(0x403),Un=_0x45d431(0x453),Nn=_0x45d431(0x323),An=_0x45d431(0x4a3);var Ui=(_0x5ddd80=>(_0x5ddd80[_0x5ddd80[_0x45d431(0x1d9)]=0x0]=_0x45d431(0x1d9),_0x5ddd80[_0x5ddd80['OK']=0x1]='OK',_0x5ddd80[_0x5ddd80[_0x45d431(0x31d)]=0x2]=_0x45d431(0x31d),_0x5ddd80[_0x5ddd80[_0x45d431(0x3d8)]=0x3]=_0x45d431(0x3d8),_0x5ddd80[_0x5ddd80[_0x45d431(0x29f)]=0x4]=_0x45d431(0x29f),_0x5ddd80[_0x5ddd80[_0x45d431(0x2f1)]=0x5]=_0x45d431(0x2f1),_0x5ddd80[_0x5ddd80['ALREADY_EXISTS']=0x6]=_0x45d431(0x104),_0x5ddd80[_0x5ddd80[_0x45d431(0x381)]=0x7]=_0x45d431(0x381),_0x5ddd80[_0x5ddd80['TOO_MANY_REQUESTS']=0x8]=_0x45d431(0x4b4),_0x5ddd80[_0x5ddd80[_0x45d431(0x3fe)]=0x9]=_0x45d431(0x3fe),_0x5ddd80[_0x5ddd80['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5ddd80[_0x5ddd80[_0x45d431(0x343)]=0x1771]=_0x45d431(0x343),_0x5ddd80[_0x5ddd80[_0x45d431(0x1c7)]=0x1772]=_0x45d431(0x1c7),_0x5ddd80[_0x5ddd80[_0x45d431(0x178)]=0x1773]=_0x45d431(0x178),_0x5ddd80[_0x5ddd80[_0x45d431(0x287)]=0x1b59]='APPLY_REJECT',_0x5ddd80[_0x5ddd80[_0x45d431(0x4ad)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5ddd80[_0x5ddd80[_0x45d431(0x1a5)]=0x1b5b]=_0x45d431(0x1a5),_0x5ddd80[_0x5ddd80[_0x45d431(0x29d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5ddd80[_0x5ddd80[_0x45d431(0x21d)]=0x1b5d]=_0x45d431(0x21d),_0x5ddd80[_0x5ddd80[_0x45d431(0x3b9)]=0x1f41]=_0x45d431(0x3b9),_0x5ddd80[_0x5ddd80[_0x45d431(0x443)]=0x2329]=_0x45d431(0x443),_0x5ddd80[_0x5ddd80['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x45d431(0x4a2),_0x5ddd80[_0x5ddd80[_0x45d431(0x30b)]=0x232b]=_0x45d431(0x30b),_0x5ddd80[_0x5ddd80['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x45d431(0x1b4),_0x5ddd80[_0x5ddd80[_0x45d431(0x306)]=0x232d]=_0x45d431(0x306),_0x5ddd80[_0x5ddd80[_0x45d431(0x45e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5ddd80[_0x5ddd80['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x45d431(0x212),_0x5ddd80[_0x5ddd80[_0x45d431(0x42a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5ddd80[_0x5ddd80[_0x45d431(0x1b2)]=0x2714]=_0x45d431(0x1b2),_0x5ddd80[_0x5ddd80['UNRECOGNIZED']=-0x1]=_0x45d431(0x2ef),_0x5ddd80))(Ui||{}),ce=(_0x1df09e=>(_0x1df09e[_0x1df09e[_0x45d431(0x4e0)]=0x0]=_0x45d431(0x4e0),_0x1df09e[_0x1df09e[_0x45d431(0x258)]=0x1]='UNIVER_DOC',_0x1df09e[_0x1df09e[_0x45d431(0x33c)]=0x2]=_0x45d431(0x33c),_0x1df09e[_0x1df09e[_0x45d431(0x33f)]=0x3]=_0x45d431(0x33f),_0x1df09e[_0x1df09e['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1df09e[_0x1df09e[_0x45d431(0x2ef)]=-0x1]='UNRECOGNIZED',_0x1df09e))(ce||{}),W=(_0x2c9073=>(_0x2c9073[_0x2c9073[_0x45d431(0x221)]=0x0]=_0x45d431(0x221),_0x2c9073[_0x2c9073[_0x45d431(0x131)]=0x1]=_0x45d431(0x131),_0x2c9073[_0x2c9073[_0x45d431(0x4f2)]=0x2]=_0x45d431(0x4f2),_0x2c9073[_0x2c9073[_0x45d431(0x502)]=0x3]=_0x45d431(0x502),_0x2c9073[_0x2c9073['INGEST']=0x4]='INGEST',_0x2c9073[_0x2c9073[_0x45d431(0x47c)]=0x5]=_0x45d431(0x47c),_0x2c9073[_0x2c9073[_0x45d431(0x1b6)]=0x6]=_0x45d431(0x1b6),_0x2c9073[_0x2c9073[_0x45d431(0x2ef)]=-0x1]='UNRECOGNIZED',_0x2c9073))(W||{}),bs=(_0x1ec797=>(_0x1ec797[_0x1ec797[_0x45d431(0x133)]=0x0]=_0x45d431(0x133),_0x1ec797[_0x1ec797['OK']=0x1]='OK',_0x1ec797[_0x1ec797[_0x45d431(0x173)]=0x2]='FAIL',_0x1ec797[_0x1ec797[_0x45d431(0x2ae)]=0x3e9]=_0x45d431(0x2ae),_0x1ec797[_0x1ec797[_0x45d431(0x423)]=0x3ea]=_0x45d431(0x423),_0x1ec797[_0x1ec797[_0x45d431(0x2ef)]=-0x1]=_0x45d431(0x2ef),_0x1ec797))(bs||{}),Ni=(_0x2d4154=>(_0x2d4154[_0x2d4154[_0x45d431(0x45d)]=0x0]=_0x45d431(0x45d),_0x2d4154[_0x2d4154[_0x45d431(0x372)]=0x1]=_0x45d431(0x372),_0x2d4154[_0x2d4154['HttpExport']=0x2]=_0x45d431(0x12b),_0x2d4154[_0x2d4154[_0x45d431(0x451)]=0x3]='UnitEmbedded',_0x2d4154[_0x2d4154['UnitSnapshot']=0x4]='UnitSnapshot',_0x2d4154[_0x2d4154[_0x45d431(0x2ef)]=-0x1]=_0x45d431(0x2ef),_0x2d4154))(Ni||{});const ee=_0x45d431(0x2a6),Mn={};function xn(_0x504426){const _0x598dbe=_0x45d431;var _0x59d838,_0x396ac2,_0x1b8bb5,_0x139230,_0x86760f;const _0x143a67=_0x504426[_0x598dbe(0x27a)],_0x544d0b=JSON[_0x598dbe(0xf6)](_0x143a67);switch(_0x544d0b[_0x598dbe(0x3df)]){case W['HEARTBEAT']:case W[_0x598dbe(0x131)]:{const _0xebf850=_0x544d0b['infoRsp'];return{..._0x544d0b,'data':_0xebf850,'cmd':_0x544d0b[_0x598dbe(0x3df)]};}case W['JOIN']:{const _0x190815=_0x544d0b[_0x598dbe(0x3b6)];return{..._0x544d0b,'data':_0x190815,'cmd':_0x544d0b[_0x598dbe(0x3df)]};}case W[_0x598dbe(0x1b6)]:{const _0x2d820d=_0x544d0b['collaMsg'];switch(_0x2d820d['eventID']){case _0x5caf5f[_0x598dbe(0x411)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x59d838=_0x2d820d[_0x598dbe(0x4ee)])==null?void 0x0:_0x59d838['cs']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x3b8)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x396ac2=_0x2d820d[_0x598dbe(0x214)])==null?void 0x0:_0x396ac2['cs']},'cmd':_0x544d0b['cmd']};case _0x5caf5f['NEW_CHANGESETS']:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x1b8bb5=_0x2d820d[_0x598dbe(0x435)])==null?void 0x0:_0x1b8bb5['cs']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x2ee)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x139230=_0x2d820d['csRejEvent'])==null?void 0x0:_0x139230['cs']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['CHANGESET_SHOULD_RETRY']:return{..._0x544d0b,'data':{..._0x2d820d,'data':(_0x86760f=_0x2d820d['csShouldRetryEvent'])==null?void 0x0:_0x86760f['cs']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0xf5)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x492)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['USERS_ENTER']:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x474)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x20e)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x37c)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x2eb)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x24c)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['LIVESHARE_FETCH_OPERATIONS']:case _0x5caf5f[_0x598dbe(0x243)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d['liveShareOperation']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x2b0)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d['liveShareNewHost']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['MSG_FOR_ERROR']:return{..._0x544d0b,'data':_0x2d820d,'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x48c)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d[_0x598dbe(0x254)]},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f[_0x598dbe(0x3e5)]:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d['updatePermissionObjEvent']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};case _0x5caf5f['SHOULD_CLOSE_CONN']:return{..._0x544d0b,'data':{..._0x2d820d,'data':_0x2d820d['shouldCloseConn']},'cmd':_0x544d0b[_0x598dbe(0x3df)]};default:return _0x544d0b;}}default:return _0x544d0b;}}function Ln(_0x4f8bc2){const _0x384e25=_0x45d431;switch(_0x4f8bc2[_0x384e25(0x3df)]){case W['HEARTBEAT']:case W['HELLO']:return JSON['stringify']({'cmd':_0x4f8bc2['cmd'],'routeKey':_0x4f8bc2[_0x384e25(0x457)]});case W[_0x384e25(0x37b)]:{let _0x62995c;switch(_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x273)]){case _0x5caf5f['UPDATE_CURSOR']:{_0x62995c={'eventID':_0x5caf5f['UPDATE_CURSOR'],'updateCursorEvent':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x20e)]:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x20e)],'leaveEvent':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x18b)]:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x18b)],'joinEvent':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x2eb)]:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x2eb)],'liveShareNewHost':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x243)]:{_0x62995c={'eventID':_0x5caf5f['LIVESHARE_OPERATION'],'liveShareOperation':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f['LIVESHARE_TERMINATE']:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x2b0)],'liveShareTerminate':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f[_0x384e25(0x188)]:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x188)],'liveShareRequestHost':_0x4f8bc2[_0x384e25(0x27a)][_0x384e25(0x27a)]};break;}case _0x5caf5f['LIVESHARE_FETCH_OPERATIONS']:{_0x62995c={'eventID':_0x5caf5f[_0x384e25(0x30c)]};break;}default:_0x62995c={'eventID':_0x4f8bc2['data'][_0x384e25(0x273)]};}return JSON[_0x384e25(0x359)]({'cmd':_0x4f8bc2[_0x384e25(0x3df)],'routeKey':_0x4f8bc2['routeKey'],'collaMsg':_0x62995c});}case W[_0x384e25(0x4f2)]:return JSON['stringify']({'cmd':_0x4f8bc2[_0x384e25(0x3df)],'routeKey':_0x4f8bc2['routeKey'],'joinReq':_0x4f8bc2['data']});case W['LEAVE']:return JSON[_0x384e25(0x359)]({'cmd':_0x4f8bc2[_0x384e25(0x3df)],'routeKey':_0x4f8bc2[_0x384e25(0x457)],'leaveReq':_0x4f8bc2[_0x384e25(0x27a)]});default:throw new Error(_0x384e25(0x3ff));}}var $n=Object[_0x45d431(0x4f8)],Hn=Object['getOwnPropertyDescriptor'],jn=(_0x44cecd,_0x363f9c,_0x27bdc2,_0x5263bd)=>{const _0xc06d31=_0x45d431;for(var _0x11b695=_0x5263bd>0x1?void 0x0:_0x5263bd?Hn(_0x363f9c,_0x27bdc2):_0x363f9c,_0x43f0ec=_0x44cecd[_0xc06d31(0xf0)]-0x1,_0x3a74ba;_0x43f0ec>=0x0;_0x43f0ec--)(_0x3a74ba=_0x44cecd[_0x43f0ec])&&(_0x11b695=(_0x5263bd?_0x3a74ba(_0x363f9c,_0x27bdc2,_0x11b695):_0x3a74ba(_0x11b695))||_0x11b695);return _0x5263bd&&_0x11b695&&$n(_0x363f9c,_0x27bdc2,_0x11b695),_0x11b695;},qe=(_0x5aebb3,_0x32f83d)=>(_0x405334,_0x1b2518)=>_0x32f83d(_0x405334,_0x1b2518,_0x5aebb3);const Ai=_0x590062(_0x45d431(0x200));function Bn(_0x3b4a14,_0x18bba5,_0x57d06f){const _0x4a9b40=_0x45d431;return _0x3b4a14+'/'+_0x18bba5+'/unit/'+_0x57d06f+_0x4a9b40(0x2f9);}let ss=class extends _0x4f1548{constructor(_0x23dbfc,_0x59c4e7,_0x5626de,_0x4da975,_0x583be7){const _0x3bd531=_0x45d431;super(),this['_http']=_0x23dbfc,this['_ws']=_0x59c4e7,this[_0x3bd531(0x168)]=_0x5626de,this['_logService']=_0x4da975,this['_snapshotServerService']=_0x583be7;}['createSocket'](_0xb5539b){const _0x222ed8=_0x45d431,_0x48b22b=this[_0x222ed8(0x417)][_0x222ed8(0x48f)](_0xb5539b);if(!_0x48b22b)throw new Error(_0x222ed8(0x127));const _0x27379d=new _0x53af5e(),_0x3d2713=new _0x54ef1d();_0x27379d[_0x222ed8(0x20c)](_0x48b22b[_0x222ed8(0x217)][_0x222ed8(0x23d)](_0x1e7320=>_0x3d2713['next'](_0x1e7320))),_0x27379d[_0x222ed8(0x20c)](_0x3cfbd5(()=>_0x3d2713[_0x222ed8(0x175)]()));const _0x4e5670=new _0x54ef1d();_0x27379d['add'](_0x48b22b[_0x222ed8(0x357)][_0x222ed8(0x23d)](_0x2cdc5d=>_0x4e5670['next'](_0x2cdc5d))),_0x27379d[_0x222ed8(0x20c)](_0x3cfbd5(()=>_0x4e5670[_0x222ed8(0x175)]()));const _0x47b649=new _0x54ef1d();_0x27379d[_0x222ed8(0x20c)](_0x48b22b[_0x222ed8(0x11e)][_0x222ed8(0x23d)](_0x36a9a7=>{const _0x48e789=_0x222ed8,_0x31c2fc=xn(_0x36a9a7);_0x47b649[_0x48e789(0x11b)](_0x31c2fc);})),_0x27379d[_0x222ed8(0x20c)](_0x3cfbd5(()=>_0x47b649[_0x222ed8(0x175)]()));let _0x11ab18;const _0x1dc43a=()=>{const _0x4bf539=_0x222ed8;_0x4e5670['next'](new Event(_0x4bf539(0x407))),_0x3d2713[_0x4bf539(0x11b)](new CloseEvent(_0x4bf539(0x407))),_0x11ab18[_0x4bf539(0x15e)]();};return _0x11ab18={'memberID':'','close$':_0x3d2713[_0x222ed8(0x1bc)](),'error$':_0x4e5670[_0x222ed8(0x1bc)](),'open$':_0x48b22b[_0x222ed8(0x17c)],'message$':_0x47b649[_0x222ed8(0x1bc)](),'send':_0xb5c82a=>{const _0x1dd64a=_0x222ed8;if(_0xb5c82a['cmd']===W[_0x1dd64a(0x37b)]){if(_0xb5c82a[_0x1dd64a(0x27a)][_0x1dd64a(0x273)]===_0x5caf5f[_0x1dd64a(0x156)]){this[_0x1dd64a(0x32b)](_0x11ab18,_0xb5c82a[_0x1dd64a(0x27a)])[_0x1dd64a(0x261)](_0x4a3f68=>{const _0x31655c=_0x1dd64a;this[_0x31655c(0x137)][_0x31655c(0x299)](_0x4a3f68),_0x1dc43a();});return;}if(_0xb5c82a[_0x1dd64a(0x27a)][_0x1dd64a(0x273)]===_0x5caf5f[_0x1dd64a(0x3dd)]){const _0x26e76b=_0xb5c82a['data'];this[_0x1dd64a(0x1fd)](_0x26e76b)[_0x1dd64a(0x38b)](_0x39f9e3=>{const _0x20e300=_0x1dd64a;_0x47b649['next']({'cmd':W[_0x20e300(0x1b6)],'code':bs['OK'],'routeKey':_0x26e76b[_0x20e300(0x27a)][_0x20e300(0x1b9)],'routeType':'','data':{'eventID':_0x5caf5f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x39f9e3}}});})[_0x1dd64a(0x261)](_0x54bc64=>{const _0x1db6b9=_0x1dd64a;this[_0x1db6b9(0x137)][_0x1db6b9(0x299)](_0x54bc64),_0x1dc43a();});return;}}_0x48b22b['send'](Ln(_0xb5c82a));},'close':()=>{const _0x42bc0b=_0x222ed8;_0x48b22b[_0x42bc0b(0x15e)](),_0x27379d[_0x42bc0b(0x23a)]();}},_0x11ab18;}async[_0x45d431(0x32b)](_0x445e04,_0x276c71){const _0x5b89b6=_0x45d431;var _0x16bd12,_0x657bab;const {unitType:_0x29770e,unitID:_0x7b878e,changeset:_0x1006ba}=_0x276c71[_0x5b89b6(0x27a)],_0x13e2fe={'unitID':_0x7b878e,'memberID':_0x445e04['memberID'],'type':_0x29770e,'changeset':_0x18c60b(_0x1006ba)},_0x35d01a=this[_0x5b89b6(0x168)][_0x5b89b6(0x3e4)](Pn),_0x1c97ed=this[_0x5b89b6(0x168)][_0x5b89b6(0x3e4)](ee),_0x400502=Bn((_0x657bab=(_0x16bd12=_0x1c97ed==null?void 0x0:_0x1c97ed[_0x5b89b6(0x1d8)])!=null?_0x16bd12:_0x35d01a)!=null?_0x657bab:Un,_0x29770e,_0x7b878e);try{await this[_0x5b89b6(0x488)][_0x5b89b6(0x3ca)](_0x400502,{'body':_0x13e2fe});}catch(_0x28642f){throw this[_0x5b89b6(0x137)][_0x5b89b6(0x299)]('[CollaborationSession]',_0x5b89b6(0xf2)),_0x28642f;}}async[_0x45d431(0x1fd)](_0x538f8d){const _0x2f6701=_0x45d431,{unitID:_0x4e3e4e,from:_0x4587db,to:_0xf94d03,unitType:_0x445d86}=_0x538f8d['data'];return(await this[_0x2f6701(0x3a2)][_0x2f6701(0x2fc)]({'metadata':void 0x0},{'unitID':_0x4e3e4e,'type':_0x445d86,'from':_0x4587db,'to':_0xf94d03}))['changesets'];}};ss=jn([qe(0x0,_0x35b6a2(_0xa83f3b)),qe(0x1,_0x35b6a2(_0x4e1ec1)),qe(0x2,_0x360b05),qe(0x3,_0xce7964),qe(0x4,_0x482dff)],ss);const kn=_0x45d431(0x28d);function Wn(_0x4bd517){const _0x2cf830=_0x45d431;return JSON[_0x2cf830(0x359)](_0x4bd517)[_0x2cf830(0xf0)];}class Mi{constructor(){const _0x3426a0=_0x45d431;g(this,_0x3426a0(0x233),new _0x54ef1d()),g(this,_0x3426a0(0x27f),this[_0x3426a0(0x233)][_0x3426a0(0x1bc)]());}['onCommentUpdate'](_0x54068b){const _0x56296a=_0x45d431;this[_0x56296a(0x233)][_0x56296a(0x11b)](_0x54068b);}}var Fn=Object[_0x45d431(0x4f8)],Vn=Object[_0x45d431(0x494)],Gn=(_0x1d7aa5,_0x1b96a6,_0x19a444,_0x47e8ef)=>{const _0x4ccc8d=_0x45d431;for(var _0x31ae2c=_0x47e8ef>0x1?void 0x0:_0x47e8ef?Vn(_0x1b96a6,_0x19a444):_0x1b96a6,_0xeabd16=_0x1d7aa5[_0x4ccc8d(0xf0)]-0x1,_0x1e027d;_0xeabd16>=0x0;_0xeabd16--)(_0x1e027d=_0x1d7aa5[_0xeabd16])&&(_0x31ae2c=(_0x47e8ef?_0x1e027d(_0x1b96a6,_0x19a444,_0x31ae2c):_0x1e027d(_0x31ae2c))||_0x31ae2c);return _0x47e8ef&&_0x31ae2c&&Fn(_0x1b96a6,_0x19a444,_0x31ae2c),_0x31ae2c;},Ws=(_0x19b43c,_0x3c54c2)=>(_0x198f05,_0x4b5cfd)=>_0x3c54c2(_0x198f05,_0x4b5cfd,_0x19b43c);let Me=class extends _0x4f1548{constructor(_0x1f9f6f,_0x51839f){const _0x2c76f7=_0x45d431;super(),g(this,_0x2c76f7(0x33e),new Map()),(this[_0x2c76f7(0x2e5)]=_0x1f9f6f,this[_0x2c76f7(0x2d8)]=_0x51839f,this[_0x2c76f7(0x20f)](_0x3cfbd5(_0x35c956(this[_0x2c76f7(0x2e5)]['getTypeOfUnitDisposed$'](_0x51d633[_0x2c76f7(0x33c)])[_0x2c76f7(0x476)](_0x29f8ca(_0x451273=>_0x451273[_0x2c76f7(0x2ca)]())),this[_0x2c76f7(0x2e5)][_0x2c76f7(0x209)](_0x51d633[_0x2c76f7(0x258)])[_0x2c76f7(0x476)](_0x29f8ca(_0x3d3e6c=>_0x3d3e6c[_0x2c76f7(0x2ca)]())),this[_0x2c76f7(0x2e5)][_0x2c76f7(0x209)](_0x51d633[_0x2c76f7(0x33f)])[_0x2c76f7(0x476)](_0x29f8ca(_0x6fcdaa=>_0x6fcdaa[_0x2c76f7(0x2ca)]())))[_0x2c76f7(0x23d)](_0x1b6bdf=>this['_removeRoom'](_0x1b6bdf)))));}['setCurrentUser'](_0x1caa93){this['_userManagerService']['setCurrentUser'](_0x1caa93);}[_0x45d431(0x2b8)](){const _0x26f228=_0x45d431;return this[_0x26f228(0x2d8)][_0x26f228(0x2b8)]();}[_0x45d431(0x42d)](_0x4d8e44,_0x324c4e){const _0x36acfb=_0x45d431;let _0x4353ac=this['_roomMembers']['get'](_0x4d8e44);_0x4353ac||(_0x4353ac=new Yn(),this['_roomMembers'][_0x36acfb(0x3eb)](_0x4d8e44,_0x4353ac)),_0x4353ac[_0x36acfb(0x42d)](_0x324c4e);}[_0x45d431(0x29e)](_0x5eee02,_0x32a9d0){const _0x4d3d6a=_0x45d431,_0x2def1a=this['_roomMembers']['get'](_0x5eee02);_0x2def1a&&_0x2def1a[_0x4d3d6a(0x29e)](_0x32a9d0);}['getRoom'](_0x1fbfb4){const _0x11c870=_0x45d431;return this[_0x11c870(0x33e)][_0x11c870(0x296)](_0x1fbfb4);}['getMember'](_0x399176,_0x20a949){const _0x1cf5bb=_0x45d431,_0x4991a8=this[_0x1cf5bb(0x33e)]['get'](_0x399176);if(_0x4991a8)return _0x4991a8[_0x1cf5bb(0x10c)](_0x20a949);}[_0x45d431(0x154)](_0x173e75){const _0x6a8a70=_0x45d431,_0x42fb83=this[_0x6a8a70(0x33e)]['get'](_0x173e75);_0x42fb83&&(_0x42fb83[_0x6a8a70(0x23a)](),this[_0x6a8a70(0x33e)][_0x6a8a70(0x3ea)](_0x173e75));}[_0x45d431(0x23a)](){const _0x1728e5=_0x45d431;this['_roomMembers'][_0x1728e5(0x4dd)](_0x20a846=>_0x20a846['dispose']()),this['_roomMembers'][_0x1728e5(0x1d1)]();}};Me=Gn([Ws(0x0,_0x47d1bd),Ws(0x1,_0x35b6a2(_0x1fecb7))],Me);class Yn extends _0x4f1548{constructor(){const _0x15afbe=_0x45d431;super(...arguments),g(this,_0x15afbe(0xff),new Map());}[_0x45d431(0x23a)](){const _0x248f17=_0x45d431;this[_0x248f17(0xff)][_0x248f17(0x1d1)]();}[_0x45d431(0x42d)](_0x17786b){const _0x244efc=_0x45d431;this[_0x244efc(0xff)][_0x244efc(0x3eb)](_0x17786b[_0x244efc(0x179)],_0x17786b);}[_0x45d431(0x29e)](_0x55ca00){const _0x42f219=_0x45d431;this[_0x42f219(0xff)][_0x42f219(0x3ea)](_0x55ca00);}[_0x45d431(0x10c)](_0x4b4b9c){const _0x3ec77b=_0x45d431;return this[_0x3ec77b(0xff)][_0x3ec77b(0x296)](_0x4b4b9c);}[_0x45d431(0x468)](){const _0x9e1232=_0x45d431;return Array[_0x9e1232(0x3f9)](this[_0x9e1232(0xff)][_0x9e1232(0x2c5)]());}}var Kn=Object[_0x45d431(0x4f8)],zn=Object[_0x45d431(0x494)],qn=(_0x3c59a6,_0x3b7133,_0x317013,_0x314604)=>{for(var _0x14ce7e=_0x314604>0x1?void 0x0:_0x314604?zn(_0x3b7133,_0x317013):_0x3b7133,_0x23c8fa=_0x3c59a6['length']-0x1,_0x185c9f;_0x23c8fa>=0x0;_0x23c8fa--)(_0x185c9f=_0x3c59a6[_0x23c8fa])&&(_0x14ce7e=(_0x314604?_0x185c9f(_0x3b7133,_0x317013,_0x14ce7e):_0x185c9f(_0x14ce7e))||_0x14ce7e);return _0x314604&&_0x14ce7e&&Kn(_0x3b7133,_0x317013,_0x14ce7e),_0x14ce7e;},be=(_0x1665ed,_0x4c1ad2)=>(_0x22d3ed,_0x2d2d18)=>_0x4c1ad2(_0x22d3ed,_0x2d2d18,_0x1665ed),ve=(_0x1716b2=>(_0x1716b2[_0x1716b2[_0x45d431(0x234)]=0x0]='IDLE',_0x1716b2[_0x1716b2[_0x45d431(0x43c)]=0x1]=_0x45d431(0x43c),_0x1716b2[_0x1716b2[_0x45d431(0x40c)]=0x2]='OFFLINE',_0x1716b2[_0x1716b2[_0x45d431(0x464)]=0x3]=_0x45d431(0x464),_0x1716b2))(ve||{});let is=class extends _0x46da4c{constructor(_0x51ba25,_0xde2aba,_0x96405b,_0x412858,_0x39f043,_0x356b57,_0x391a9e,_0x19b725,_0x9009f0,_0x42dbbc){const _0xb68fd0=_0x45d431;super(),g(this,_0xb68fd0(0x452),new _0x1117fe(0x0)),g(this,_0xb68fd0(0x3f2),this[_0xb68fd0(0x452)][_0xb68fd0(0x1bc)]()),g(this,_0xb68fd0(0x490),new _0x54ef1d()),g(this,_0xb68fd0(0x4f5),this['_event$'][_0xb68fd0(0x1bc)]()),g(this,_0xb68fd0(0x412)),g(this,'_socketMessageSubscription'),g(this,_0xb68fd0(0x4b3)),g(this,_0xb68fd0(0x18c),!0x1),g(this,_0xb68fd0(0x36c),null),(this[_0xb68fd0(0x427)]=_0x51ba25,this['_logService']=_0x96405b,this[_0xb68fd0(0x301)]=_0x412858,this[_0xb68fd0(0x321)]=_0x39f043,this[_0xb68fd0(0x168)]=_0x356b57,this[_0xb68fd0(0x20a)]=_0x391a9e,this['_memberService']=_0x19b725,this[_0xb68fd0(0x358)]=_0x9009f0,this['_telemetryService']=_0x42dbbc,this[_0xb68fd0(0x18c)]=!!this['_telemetryService'],_0xde2aba[_0xb68fd0(0x476)](_0x53c58e(this[_0xb68fd0(0x425)]))['subscribe'](_0x5f0b8f=>{const _0x1306ed=_0xb68fd0;var _0x29d415;typeof _0x5f0b8f>'u'||(this['_socket']=_0x5f0b8f,_0x5f0b8f?(this[_0x1306ed(0x504)](_0x5f0b8f),this[_0x1306ed(0x450)]=_0x5f0b8f['message$'][_0x1306ed(0x23d)](_0x1f754f=>{const _0x2606c1=_0x1306ed;_0x1f754f[_0x2606c1(0x457)]===this[_0x2606c1(0x427)]&&this[_0x2606c1(0x25d)](_0x1f754f);})):(this[_0x1306ed(0x1a3)](),this[_0x1306ed(0x452)][_0x1306ed(0x11b)](0x2),(_0x29d415=this['_socketMessageSubscription'])==null||_0x29d415[_0x1306ed(0x406)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0xb68fd0(0x4c7)](()=>{const _0x51b8d5=_0xb68fd0;var _0xcad2c3;(_0xcad2c3=this[_0x51b8d5(0x412)])==null||_0xcad2c3[_0x51b8d5(0x422)]({'cmd':W[_0x51b8d5(0x502)],'data':{'roomID':this[_0x51b8d5(0x427)]}});})));}get[_0x45d431(0x150)](){const _0x1cbe4e=_0x45d431;return this[_0x1cbe4e(0x452)][_0x1cbe4e(0x205)]();}['getMemberID'](){const _0x8dab86=_0x45d431;var _0x13a308,_0x327364;return(_0x327364=(_0x13a308=this[_0x8dab86(0x412)])==null?void 0x0:_0x13a308[_0x8dab86(0x179)])!=null?_0x327364:null;}[_0x45d431(0x23a)](){const _0x3423f8=_0x45d431;super[_0x3423f8(0x23a)](),this[_0x3423f8(0x425)][_0x3423f8(0x11b)](),this['dispose$']['complete']();}['close'](){const _0x78f404=_0x45d431;var _0x3a3d90,_0x2963;this[_0x78f404(0x1a3)](),(_0x3a3d90=this['_socket'])==null||_0x3a3d90[_0x78f404(0x422)]({'cmd':W[_0x78f404(0x502)],'data':{'roomID':this[_0x78f404(0x427)]}}),(_0x2963=this[_0x78f404(0x412)])==null||_0x2963[_0x78f404(0x15e)](),this[_0x78f404(0x490)][_0x78f404(0x175)](),this[_0x78f404(0x452)][_0x78f404(0x175)](),this['dispose']();}[_0x45d431(0x25d)](_0x1e3787){const _0x12f5f7=_0x45d431;_0x1e3787['cmd']===W['JOIN']?this[_0x12f5f7(0x39e)](_0x1e3787):_0x1e3787['cmd']===W[_0x12f5f7(0x1b6)]&&this[_0x12f5f7(0x340)](_0x1e3787);}[_0x45d431(0x504)](_0x5c4a3f){const _0xa79572=_0x45d431;this[_0xa79572(0x452)]['next'](0x1),_0x5c4a3f['send']({'cmd':W[_0xa79572(0x4f2)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xa79572(0x427)]}]}});}[_0x45d431(0x39e)](_0x28c561){const _0x3a662f=_0x45d431;var _0x3d7ecb;if(_0x28c561[_0x3a662f(0xf3)]===bs[_0x3a662f(0x173)]){this[_0x3a662f(0x321)][_0x3a662f(0x176)]({'type':_0x3067da['Warning'],'content':this[_0x3a662f(0x20a)]['t'](_0x3a662f(0x447))}),this['_sessionStatus$']['next'](0x2);return;}this[_0x3a662f(0x452)][_0x3a662f(0x11b)](0x3);const _0x1fcc38=(_0x3d7ecb=_0x28c561[_0x3a662f(0x27a)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x3d7ecb[_0x3a662f(0x4c9)];_0x1fcc38&&_0x1fcc38[_0x3a662f(0x4dd)](_0x2658d7=>this[_0x3a662f(0x3f3)][_0x3a662f(0x42d)](this[_0x3a662f(0x427)],_0x2658d7));}[_0x45d431(0x340)](_0x55ad09){const _0x211c46=_0x45d431;try{const _0x5eb8b6=_0x55ad09[_0x211c46(0x27a)];switch(_0x5eb8b6[_0x211c46(0x273)]){case _0x5caf5f[_0x211c46(0x18b)]:this[_0x211c46(0x44a)](_0x5eb8b6),this[_0x211c46(0x490)]['next'](_0x5eb8b6);break;case _0x5caf5f[_0x211c46(0x20e)]:this[_0x211c46(0x32a)](_0x5eb8b6),this[_0x211c46(0x490)]['next'](_0x5eb8b6);break;case _0x5caf5f[_0x211c46(0x3b8)]:case _0x5caf5f[_0x211c46(0x12d)]:this[_0x211c46(0x24f)](),this[_0x211c46(0x1ff)](),this[_0x211c46(0x490)]['next'](_0x5eb8b6);break;case _0x5caf5f[_0x211c46(0x344)]:this[_0x211c46(0x137)][_0x211c46(0x299)](_0x211c46(0x195)+JSON[_0x211c46(0x359)](_0x5eb8b6)),this[_0x211c46(0x490)]['next'](_0x5eb8b6);break;case _0x5caf5f[_0x211c46(0x48c)]:this['_commentService'][_0x211c46(0x4c1)](_0x5eb8b6[_0x211c46(0x27a)]),this['_event$']['next'](_0x5eb8b6);break;default:this[_0x211c46(0x490)][_0x211c46(0x11b)](_0x5eb8b6);}}catch(_0x5b9f02){this[_0x211c46(0x137)]['error'](_0x5b9f02,_0x55ad09);}}[_0x45d431(0x44a)](_0x4a2ac9){const _0x29ea99=_0x45d431;this['_memberService'][_0x29ea99(0x42d)](this[_0x29ea99(0x427)],_0x4a2ac9['data']);}[_0x45d431(0x32a)](_0xf85808){const _0x25fddb=_0x45d431;this['_memberService'][_0x25fddb(0x29e)](this[_0x25fddb(0x427)],_0xf85808[_0x25fddb(0x27a)][_0x25fddb(0x179)]);}async[_0x45d431(0x422)](_0x95a9b3,_0x1e02d2){const _0x5794cd=_0x45d431;if(this[_0x5794cd(0x150)]!==0x3||!this[_0x5794cd(0x412)])throw new Error(_0x5794cd(0x3c6));try{_0x95a9b3[_0x5794cd(0x273)]===_0x5caf5f[_0x5794cd(0x156)]&&(this[_0x5794cd(0x29c)](),this['_startTelemetryCollaborationNewChangeset'](_0x95a9b3)),this[_0x5794cd(0x412)][_0x5794cd(0x422)]({'cmd':W[_0x5794cd(0x37b)],'routeKey':_0x1e02d2,'routeType':'','data':_0x95a9b3});}catch(_0x3e6a05){this[_0x5794cd(0x137)]['error'](_0x3e6a05);}}[_0x45d431(0x29c)](){const _0x4b24e5=_0x45d431;var _0x57717b;this[_0x4b24e5(0x4b3)]=window[_0x4b24e5(0x1ee)](()=>{const _0x456385=_0x4b24e5;this[_0x456385(0x4b3)]=null,this[_0x456385(0x321)][_0x456385(0x176)]({'type':_0x3067da['Error'],'content':this[_0x456385(0x20a)]['t'](_0x456385(0x281))});},(_0x57717b=this[_0x4b24e5(0x168)][_0x4b24e5(0x3e4)](Di))!=null?_0x57717b:Pi);}[_0x45d431(0x1ff)](){const _0x4a95a5=_0x45d431;this[_0x4a95a5(0x4b3)]&&(clearTimeout(this[_0x4a95a5(0x4b3)]),this[_0x4a95a5(0x4b3)]=null);}[_0x45d431(0x24a)](_0x3c81d0){const _0xab9137=_0x45d431;if(!this[_0xab9137(0x18c)])return;const {data:_0x3bb6ca}=_0x3c81d0,{unitID:_0x32f8f2,changeset:_0x1d4d97}=_0x3bb6ca,{mutations:_0x5a4290,type:_0x84b819}=_0x1d4d97;this[_0xab9137(0x36c)]={'unitId':_0x32f8f2,'type':_0x84b819,'startTime':performance[_0xab9137(0x34e)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x5a4290)};}[_0x45d431(0x24f)](){const _0x2c3388=_0x45d431;if(this[_0x2c3388(0x18c)]){if(!this['_telemetryInfo']){this['_logService']['error']('[CollaborationSession]',_0x2c3388(0x4ae));return;}this[_0x2c3388(0x36c)][_0x2c3388(0x1d2)]=performance[_0x2c3388(0x34e)](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x2c3388(0x1d2)]-this[_0x2c3388(0x36c)][_0x2c3388(0x4a5)],this[_0x2c3388(0x16d)][_0x2c3388(0x15c)](kn,this[_0x2c3388(0x36c)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x3cf296=_0x45d431;this[_0x3cf296(0x36c)]=null;}};is=qn([be(0x2,_0xce7964),be(0x3,_0x4ec122),be(0x4,_0x454792),be(0x5,_0x360b05),be(0x6,_0x35b6a2(_0x31b970)),be(0x7,_0x35b6a2(Me)),be(0x8,_0x35b6a2(Mi)),be(0x9,_0x5cecc9(_0x135078))],is);var Xn=Object['defineProperty'],Jn=Object[_0x45d431(0x494)],Zn=(_0x19a86f,_0x1b32f5,_0x549095,_0x421186)=>{const _0x216b4b=_0x45d431;for(var _0x47e2a5=_0x421186>0x1?void 0x0:_0x421186?Jn(_0x1b32f5,_0x549095):_0x1b32f5,_0x594663=_0x19a86f[_0x216b4b(0xf0)]-0x1,_0x1461fd;_0x594663>=0x0;_0x594663--)(_0x1461fd=_0x19a86f[_0x594663])&&(_0x47e2a5=(_0x421186?_0x1461fd(_0x1b32f5,_0x549095,_0x47e2a5):_0x1461fd(_0x47e2a5))||_0x47e2a5);return _0x421186&&_0x47e2a5&&Xn(_0x1b32f5,_0x549095,_0x47e2a5),_0x47e2a5;},we=(_0x5a3836,_0x6a3ab0)=>(_0x22d458,_0x1287f2)=>_0x6a3ab0(_0x22d458,_0x1287f2,_0x5a3836);let xe=class extends _0x4f1548{constructor(_0x4e4199,_0x38450f,_0x34d35f,_0x3feb8f,_0x399968,_0x4b02ac,_0x3762a1){const _0x288d36=_0x45d431;super(),g(this,'_socket$',new _0x1117fe(void 0x0)),g(this,_0x288d36(0x251),this[_0x288d36(0x398)][_0x288d36(0x1bc)]()),g(this,'_candidateSocket',null),g(this,_0x288d36(0x335),new Map()),g(this,_0x288d36(0x285),new _0x1117fe(ve[_0x288d36(0x234)])),g(this,_0x288d36(0x208),this[_0x288d36(0x285)][_0x288d36(0x1bc)]()),g(this,_0x288d36(0x30a),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x288d36(0x1f5),0x0),g(this,_0x288d36(0x446)),g(this,'_timeoutTimer'),(this['_injector']=_0x4e4199,this[_0x288d36(0x20a)]=_0x38450f,this[_0x288d36(0x321)]=_0x34d35f,this[_0x288d36(0x137)]=_0x3feb8f,this[_0x288d36(0x168)]=_0x399968,this[_0x288d36(0x3fc)]=_0x4b02ac,this[_0x288d36(0x122)]=_0x3762a1,this['_initEventListeners']());}get[_0x45d431(0x412)](){return this['_socket$']['getValue']();}[_0x45d431(0x3be)](){const _0x38fb7e=_0x45d431;this[_0x38fb7e(0x202)](),this[_0x38fb7e(0x4b7)]();}[_0x45d431(0x23a)](){const _0x58564f=_0x45d431;super[_0x58564f(0x23a)](),this[_0x58564f(0x335)][_0x58564f(0x4dd)](_0x37b712=>_0x37b712['dispose']()),this[_0x58564f(0x335)]['clear'](),this[_0x58564f(0x285)][_0x58564f(0x175)]();}async[_0x45d431(0x4b6)](_0x4f88b9){const _0x1d2608=_0x45d431;if(this['_sessions'][_0x1d2608(0x471)](_0x4f88b9))return this['_sessions']['get'](_0x4f88b9);this['_tryEnsureSocket']();const _0x50f1ff=this[_0x1d2608(0x3f7)][_0x1d2608(0x50b)](is,_0x4f88b9,this[_0x1d2608(0x398)]['asObservable']());return this['_sessions'][_0x1d2608(0x3eb)](_0x4f88b9,_0x50f1ff),_0x50f1ff;}['closeSession'](_0x1a9d74){const _0x13a5d7=_0x45d431;var _0x1a8400;const _0x3c6193=this[_0x13a5d7(0x335)][_0x13a5d7(0x296)](_0x1a9d74);_0x3c6193&&(this['_sessions'][_0x13a5d7(0x3ea)](_0x1a9d74),_0x3c6193[_0x13a5d7(0x15e)]()),this['_sessions'][_0x13a5d7(0x389)]||(_0x1a8400=this['_socket'])==null||_0x1a8400[_0x13a5d7(0x15e)]();}[_0x45d431(0x498)](){const _0x43891c=_0x45d431;this[_0x43891c(0x1f5)]=0x0,this[_0x43891c(0x1f6)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x43891c(0x13f)]();}async[_0x45d431(0x190)](){const _0x2a3f47=_0x45d431;var _0x31e4ad,_0x336ca7,_0xe490e1;const _0x16a370=this[_0x2a3f47(0x168)]['getConfig'](ee),_0x24f27a=(_0x31e4ad=_0x16a370==null?void 0x0:_0x16a370[_0x2a3f47(0x315)])!=null?_0x31e4ad:En;return(_0xe490e1=(_0x336ca7=(await this['_httpService'][_0x2a3f47(0x296)](_0x24f27a,{'headers':{'Content-Type':_0x2a3f47(0x32d)}}))['body'])==null?void 0x0:_0x336ca7['ticket'])!=null?_0xe490e1:'';}['_createSocketURL'](_0x6faa5){const _0x34da9d=_0x45d431;var _0x1516b4,_0x5db6a;const _0xa8935e=this['_configService'][_0x34da9d(0x3e4)](In),_0x9f39b3=this[_0x34da9d(0x168)][_0x34da9d(0x3e4)](ee),_0x2e0b09=(_0x5db6a=(_0x1516b4=_0x9f39b3==null?void 0x0:_0x9f39b3[_0x34da9d(0x4e3)])!=null?_0x1516b4:_0xa8935e)!=null?_0x5db6a:Cn,_0x1d3ade=new URL(_0x2e0b09,window['location'][_0x34da9d(0x116)]);return _0x1d3ade[_0x34da9d(0x3dc)]['set'](_0x34da9d(0x3b5),_0x6faa5),_0x1d3ade[_0x34da9d(0x117)]();}async[_0x45d431(0x2df)](){const _0x4f84ba=_0x45d431,_0x2fa165=await this['_getSessionTicket'](),_0x407a71=this[_0x4f84ba(0x4ce)](_0x2fa165),_0x88192=this[_0x4f84ba(0x3fc)][_0x4f84ba(0x48f)](_0x407a71);return this[_0x4f84ba(0x4a7)]=_0x88192,_0x88192;}async[_0x45d431(0x4b1)](){const _0x22384a=_0x45d431;var _0x56b7d8,_0x11715a;try{const _0x510f84=(_0x11715a=(_0x56b7d8=this['_socket'])!=null?_0x56b7d8:this[_0x22384a(0x4a7)])!=null?_0x11715a:await this[_0x22384a(0x2df)]();if(_0x510f84){const _0x42386a=_0x510f84[_0x22384a(0x422)];_0x510f84[_0x22384a(0x422)]=_0x1f0798=>(this[_0x22384a(0x2e0)](),_0x42386a[_0x22384a(0x2a9)](_0x510f84,[_0x1f0798])),_0x510f84[_0x22384a(0x11e)][_0x22384a(0x23d)](_0x2270cb=>this[_0x22384a(0x119)](_0x510f84,_0x2270cb)),_0x510f84['error$'][_0x22384a(0x476)](_0x27e775(0x1))[_0x22384a(0x23d)](_0x5d0974=>this[_0x22384a(0x137)][_0x22384a(0x299)](_0x22384a(0x2d4),_0x5d0974)),_0x510f84[_0x22384a(0x17c)][_0x22384a(0x476)](_0x27e775(0x1))[_0x22384a(0x23d)](()=>{this['_onConnectionOpen'](_0x510f84);}),_0x510f84[_0x22384a(0x217)][_0x22384a(0x476)](_0x27e775(0x1))[_0x22384a(0x23d)](_0x49a47a=>{const _0x32bdd4=_0x22384a;this[_0x32bdd4(0x137)][_0x32bdd4(0x391)](_0x32bdd4(0x35b),'socket\x20close',_0x49a47a),this[_0x32bdd4(0x1c0)]();});}}catch(_0x50b26c){this[_0x22384a(0x137)][_0x22384a(0x299)](_0x50b26c),this['_onConnectionFailed']();}}[_0x45d431(0x2be)](_0x20034b){const _0x57c0d4=_0x45d431;this[_0x57c0d4(0x137)]['debug']('[CollaborationSessionService]',_0x57c0d4(0x140)),_0x20034b[_0x57c0d4(0x422)]({'cmd':W[_0x57c0d4(0x131)]}),this[_0x57c0d4(0x2e0)]();}[_0x45d431(0x202)](){const _0x442219=_0x45d431;window['addEventListener'](_0x442219(0x158),()=>this['_onOffline']());}[_0x45d431(0x17e)](){const _0x3185c0=_0x45d431;this['_socketReady']=!0x1,this[_0x3185c0(0x4a7)]=null,this['_status$']['next'](ve[_0x3185c0(0x40c)]),this[_0x3185c0(0x398)][_0x3185c0(0x11b)](null),this[_0x3185c0(0x4d8)](),this[_0x3185c0(0x50c)]();}[_0x45d431(0x1c0)](){const _0x265d8b=_0x45d431;var _0x2aecf3;this[_0x265d8b(0x17e)](),this[_0x265d8b(0x1f5)]<((_0x2aecf3=this[_0x265d8b(0x168)][_0x265d8b(0x3e4)](On))!=null?_0x2aecf3:yn)?(this[_0x265d8b(0x321)][_0x265d8b(0x176)]({'key':_0x265d8b(0x4fe),'type':_0x3067da[_0x265d8b(0x455)],'content':this[_0x265d8b(0x20a)]['t'](_0x265d8b(0x1a9))}),this[_0x265d8b(0x13f)]()):this[_0x265d8b(0x321)][_0x265d8b(0x176)]({'key':_0x265d8b(0x4fe),'type':_0x3067da[_0x265d8b(0x4de)],'content':this[_0x265d8b(0x20a)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x2e7c63=_0x45d431,_0x37c072=()=>{const _0xe16b29=_0x5144;this[_0xe16b29(0x412)]||this[_0xe16b29(0x498)]();},_0x3d55bb=()=>{const _0x53c0af=_0x5144;this['_socket']||document[_0x53c0af(0x2a5)]===_0x53c0af(0x2d1)||this[_0x53c0af(0x498)]();};window['addEventListener']('online',_0x37c072),document['addEventListener'](_0x2e7c63(0x390),_0x3d55bb);}[_0x45d431(0x13f)](){const _0x4c3ad7=_0x45d431;var _0x2abb2d;const _0x15657d=this[_0x4c3ad7(0x1f5)],_0x38eb55=this[_0x4c3ad7(0x168)][_0x4c3ad7(0x3e4)](ee),_0x34f3ad=_0x15657d===0x0?0x0:((_0x2abb2d=_0x38eb55==null?void 0x0:_0x38eb55[_0x4c3ad7(0x3a7)])!=null?_0x2abb2d:Rn)*0x2**_0x15657d;this['_retryConnectingTimer']=window[_0x4c3ad7(0x1ee)](()=>{const _0x445798=_0x4c3ad7;clearTimeout(this[_0x445798(0x1f6)]),this['_retryConnectingTimer']=null,this[_0x445798(0x4b1)]();},_0x34f3ad),this[_0x4c3ad7(0x1f5)]+=0x1;}['_onMessage'](_0x13b415,_0x1f7c03){const _0x114929=_0x45d431,{cmd:_0x57e87d}=_0x1f7c03;_0x57e87d===W['HELLO']&&!this[_0x114929(0x30a)]&&(_0x13b415['memberID']=_0x1f7c03[_0x114929(0x27a)]['memberID'],this[_0x114929(0x398)][_0x114929(0x11b)](_0x13b415),this[_0x114929(0x285)][_0x114929(0x11b)](ve[_0x114929(0x464)]),this[_0x114929(0x30a)]=!0x0,this['_candidateSocket']=null),_0x57e87d===W[_0x114929(0x47c)]&&this[_0x114929(0x4d8)](),this['_rescheduleHeartbeat']();}[_0x45d431(0x2e0)](){const _0x25cfe8=_0x45d431;var _0x4d94b4;this[_0x25cfe8(0x50c)](),this[_0x25cfe8(0x446)]=window['setTimeout'](()=>this[_0x25cfe8(0x2ea)](),(_0x4d94b4=this[_0x25cfe8(0x168)]['getConfig'](bn))!=null?_0x4d94b4:Tn);}[_0x45d431(0x2ea)](){const _0x1c9803=_0x45d431;this[_0x1c9803(0x412)][_0x1c9803(0x422)]({'cmd':W[_0x1c9803(0x47c)]}),this[_0x1c9803(0x30e)]();}['_waitForHeartbeatResponse'](){const _0x593534=_0x45d431;var _0x4d7aa6;this[_0x593534(0x1e5)]=window[_0x593534(0x1ee)](()=>this['_onConnectionFailed'](),(_0x4d7aa6=this[_0x593534(0x168)]['getConfig'](Di))!=null?_0x4d7aa6:Pi);}['_clearHeartbeatTimer'](){const _0x2cc398=_0x45d431;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x2cc398(0x446)]),this[_0x2cc398(0x446)]=null);}[_0x45d431(0x4d8)](){const _0x288c1e=_0x45d431;this[_0x288c1e(0x1e5)]!=null&&(clearTimeout(this[_0x288c1e(0x1e5)]),this[_0x288c1e(0x1e5)]=null);}};xe=Zn([we(0x0,_0x35b6a2(_0xaaab92)),we(0x1,_0x35b6a2(_0x31b970)),we(0x2,_0x454792),we(0x3,_0xce7964),we(0x4,_0x360b05),we(0x5,Ai),we(0x6,_0x35b6a2(_0xa83f3b))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x45d431(0x182)]((i+0x100)[_0x45d431(0x117)](0x10)[_0x45d431(0x3a1)](0x1));function Qn(_0x441d0e,_0x55f11f=0x0){const _0x360fc6=_0x45d431;return(Y[_0x441d0e[_0x55f11f+0x0]]+Y[_0x441d0e[_0x55f11f+0x1]]+Y[_0x441d0e[_0x55f11f+0x2]]+Y[_0x441d0e[_0x55f11f+0x3]]+'-'+Y[_0x441d0e[_0x55f11f+0x4]]+Y[_0x441d0e[_0x55f11f+0x5]]+'-'+Y[_0x441d0e[_0x55f11f+0x6]]+Y[_0x441d0e[_0x55f11f+0x7]]+'-'+Y[_0x441d0e[_0x55f11f+0x8]]+Y[_0x441d0e[_0x55f11f+0x9]]+'-'+Y[_0x441d0e[_0x55f11f+0xa]]+Y[_0x441d0e[_0x55f11f+0xb]]+Y[_0x441d0e[_0x55f11f+0xc]]+Y[_0x441d0e[_0x55f11f+0xd]]+Y[_0x441d0e[_0x55f11f+0xe]]+Y[_0x441d0e[_0x55f11f+0xf]])[_0x360fc6(0x313)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0xae3e3=_0x45d431;if(!Mt){if(typeof crypto>'u'||!crypto[_0xae3e3(0x19b)])throw new Error(_0xae3e3(0x1a7));Mt=crypto['getRandomValues'][_0xae3e3(0x2a2)](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto[_0x45d431(0x2a7)]&&crypto['randomUUID']['bind'](crypto),Fs={'randomUUID':so};function io(_0x52d06b,_0x32bb09,_0x5f5927){const _0x467423=_0x45d431;if(Fs[_0x467423(0x2a7)]&&!_0x32bb09&&!_0x52d06b)return Fs[_0x467423(0x2a7)]();_0x52d06b=_0x52d06b||{};const _0x19d33e=_0x52d06b[_0x467423(0x1c9)]||(_0x52d06b[_0x467423(0x1c1)]||to)();return _0x19d33e[0x6]=_0x19d33e[0x6]&0xf|0x40,_0x19d33e[0x8]=_0x19d33e[0x8]&0x3f|0x80,Qn(_0x19d33e);}var ro=Object[_0x45d431(0x4f8)],no=Object[_0x45d431(0x494)],oo=(_0x1816bb,_0x50b2fc,_0x2564dd,_0x260399)=>{const _0x36147e=_0x45d431;for(var _0x16b0c8=_0x260399>0x1?void 0x0:_0x260399?no(_0x50b2fc,_0x2564dd):_0x50b2fc,_0x10eeff=_0x1816bb[_0x36147e(0xf0)]-0x1,_0x3601ea;_0x10eeff>=0x0;_0x10eeff--)(_0x3601ea=_0x1816bb[_0x10eeff])&&(_0x16b0c8=(_0x260399?_0x3601ea(_0x50b2fc,_0x2564dd,_0x16b0c8):_0x3601ea(_0x16b0c8))||_0x16b0c8);return _0x260399&&_0x16b0c8&&ro(_0x50b2fc,_0x2564dd,_0x16b0c8),_0x16b0c8;},xt=(_0x15a896,_0x45906f)=>(_0x47a0fc,_0x330bf9)=>_0x45906f(_0x47a0fc,_0x330bf9,_0x15a896);let vt=class{constructor(_0x2c167c,_0x1b6961,_0x1e50cb){this['_injector']=_0x2c167c,this['_transformService']=_0x1b6961,this['_renderManagerService']=_0x1e50cb;}[_0x45d431(0x3db)](_0x9a59fc){const _0x2a2e17=_0x45d431;this['_transformUndoRedoStack'](_0x9a59fc),this[_0x2a2e17(0x33d)](_0x9a59fc);}[_0x45d431(0x2e8)](_0x17c9e3){const _0x42a206=_0x45d431,{unitID:_0x3792c7}=_0x17c9e3,_0x3b5b85=this[_0x42a206(0x279)]['getRenderById'](_0x3792c7)[_0x42a206(0x220)](_0x57510e),{redoCache:_0xf8fa9b}=_0x3b5b85[_0x42a206(0x145)]();if(_0xf8fa9b['length']===0x0)return _0x17c9e3;let _0x284203=_0x8b0f12[_0x42a206(0x3aa)](_0x17c9e3[_0x42a206(0x4fc)][0x0]);for(let _0xe40722=0x0;_0xe40722<_0xf8fa9b[_0x42a206(0xf0)];_0xe40722++){const _0x290dc4={'id':_0x42a206(0x4d7),'params':{..._0xf8fa9b[_0xe40722]}},_0x5705f3=this['_transformService'][_0x42a206(0x102)](_0x284203,_0x290dc4,!0x1);if(_0x210785(_0x5705f3))throw _0x5705f3['error'];_0x284203=_0x5705f3[_0x42a206(0x1bf)];}return{..._0x8b0f12[_0x42a206(0x3aa)](_0x17c9e3),'mutations':[_0x284203]};}[_0x45d431(0x40a)](_0x2e8aa3){const _0x53a36c=_0x45d431,{unitID:_0x225443}=_0x2e8aa3,_0x2e1ccb=this[_0x53a36c(0x279)]['getRenderById'](_0x225443)[_0x53a36c(0x220)](_0x57510e),{undoCache:_0x13a49b,redoCache:_0x535cca}=_0x2e1ccb[_0x53a36c(0x145)]();if(_0x13a49b[_0x53a36c(0xf0)]===0x0||_0x535cca['length']===0x0)return;const _0x100350=[],_0x165681=[];let _0x141a6b=_0x8b0f12['deepClone'](_0x2e8aa3[_0x53a36c(0x4fc)][0x0]),_0x41990b=_0x8b0f12[_0x53a36c(0x3aa)](_0x2e8aa3[_0x53a36c(0x4fc)][0x0]);for(let _0x3c9d34=_0x13a49b[_0x53a36c(0xf0)]-0x1;_0x3c9d34>=0x0;_0x3c9d34--){const _0x5d188b={'id':_0x53a36c(0x4d7),'params':{..._0x13a49b[_0x3c9d34]}},_0x51fecb={'id':_0x53a36c(0x4d7),'params':{..._0x535cca[_0x3c9d34]}},_0x258059=this[_0x53a36c(0x2bb)][_0x53a36c(0x102)](_0x141a6b,_0x5d188b,!0x1),_0x5661ab=this[_0x53a36c(0x2bb)][_0x53a36c(0x102)](_0x41990b,_0x51fecb,!0x1);if(_0x210785(_0x258059))throw _0x258059[_0x53a36c(0x299)];if(_0x210785(_0x5661ab))throw _0x5661ab['error'];_0x100350[_0x53a36c(0x184)](_0x258059[_0x53a36c(0x19d)][_0x53a36c(0x46f)]),_0x165681[_0x53a36c(0x184)](_0x5661ab[_0x53a36c(0x19d)]['params']),_0x141a6b=_0x258059[_0x53a36c(0x1bf)],_0x41990b=_0x5661ab['m1Prime'];}_0x2e1ccb[_0x53a36c(0x42c)]({'undoCache':_0x100350,'redoCache':_0x165681});}[_0x45d431(0x33d)](_0xbc5144){const _0x26821e=_0x45d431,{unitID:_0x1659c1}=_0xbc5144,_0x32a5d5=this[_0x26821e(0x279)][_0x26821e(0x320)](_0x1659c1)[_0x26821e(0x220)](_0x57510e),_0x5b1dc2=_0x32a5d5['getActiveRange']();if(_0x5b1dc2==null)return;const _0x4b82a3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbc5144[_0x26821e(0x1b9)],'actions':null,'textRanges':[_0x5b1dc2]}}],_0x339806=this[_0x26821e(0x2bb)][_0x26821e(0x49a)](_0xbc5144,_0x4b82a3);if(!_0xabd7ef(_0x339806))throw _0x339806[_0x26821e(0x299)];const _0x537478=_0x339806['m2Prime'][0x0][_0x26821e(0x46f)][_0x26821e(0x4d0)];Array[_0x26821e(0x496)](_0x537478)&&_0x537478[_0x26821e(0xf0)]&&_0x32a5d5[_0x26821e(0x43d)](_0x537478[0x0]);}};vt=oo([xt(0x0,_0x35b6a2(_0xaaab92)),xt(0x1,_0x47de3e),xt(0x2,_0x74ed0c)],vt);var ao=Object[_0x45d431(0x4f8)],co=Object[_0x45d431(0x494)],ho=(_0x274619,_0x2f8e13,_0x12f137,_0x1f9845)=>{const _0x4b92bc=_0x45d431;for(var _0x78d3ec=_0x1f9845>0x1?void 0x0:_0x1f9845?co(_0x2f8e13,_0x12f137):_0x2f8e13,_0x4965ee=_0x274619[_0x4b92bc(0xf0)]-0x1,_0x47f00f;_0x4965ee>=0x0;_0x4965ee--)(_0x47f00f=_0x274619[_0x4965ee])&&(_0x78d3ec=(_0x1f9845?_0x47f00f(_0x2f8e13,_0x12f137,_0x78d3ec):_0x47f00f(_0x78d3ec))||_0x78d3ec);return _0x1f9845&&_0x78d3ec&&ao(_0x2f8e13,_0x12f137,_0x78d3ec),_0x78d3ec;},Xe=(_0x2dc421,_0x37a773)=>(_0x37a4ff,_0x4442c1)=>_0x37a773(_0x37a4ff,_0x4442c1,_0x2dc421);let q=class extends _0x4f1548{constructor(_0x1ef84e,_0x127641,_0xcf04d3,_0x4981eb,_0x337e8f){const _0x474e90=_0x45d431;super(),g(this,_0x474e90(0x111),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x474e90(0x26a),!0x1),(this[_0x474e90(0x168)]=_0x1ef84e,this[_0x474e90(0x13d)]=_0x127641,this[_0x474e90(0x301)]=_0xcf04d3,this[_0x474e90(0x20a)]=_0x4981eb,this[_0x474e90(0x1c8)]=_0x337e8f,this[_0x474e90(0x3bf)]());}['disableLocalCache'](){const _0x806d85=_0x45d431;this[_0x806d85(0x26a)]=!0x0;}[_0x45d431(0x4e6)](){const _0x379164=_0x45d431;this[_0x379164(0x26a)]=!0x1;}[_0x45d431(0x23a)](){const _0x12fd75=_0x45d431;this[_0x12fd75(0x13e)]()['then'](()=>super[_0x12fd75(0x23a)]());}async[_0x45d431(0x2f8)](_0x2c0c7b){const _0x59239c=_0x45d431;return this[_0x59239c(0x26a)]?null:this[_0x59239c(0x13d)][_0x59239c(0x392)](Vs(_0x2c0c7b));}async[_0x45d431(0x224)](_0x182b8f,_0x57aefa){const _0xe710d7=_0x45d431;return!!this[_0xe710d7(0x13d)][_0xe710d7(0x34c)](_0x182b8f,_0x57aefa);}[_0x45d431(0x180)](_0x445b54,_0x489331,_0x25c33e,_0x36598b){const _0x12c8f3=_0x45d431,_0x551104=this[_0x12c8f3(0x1c8)][_0x12c8f3(0x105)](_0x445b54);this['_cachedData'][_0x12c8f3(0x3eb)](_0x445b54,{'unitID':_0x445b54,'type':_0x489331,'awaitingChangeset':_0x25c33e,'mutations':_0x36598b,'rev':_0x551104}),this[_0x12c8f3(0x159)][_0x12c8f3(0x471)](_0x445b54)||this[_0x12c8f3(0x2a3)](_0x445b54);}[_0x45d431(0x2a3)](_0x31f1bb){const _0x708a34=_0x45d431,_0x33601d=this['_getSaveTimeout']();_0x33601d===0x0?this['_saveCache'](_0x31f1bb):this['_saveTaskMap'][_0x708a34(0x3eb)](_0x31f1bb,setTimeout(()=>this['_saveCache'](_0x31f1bb),_0x33601d));}['_getSaveTimeout'](){var _0x516928;return(_0x516928=this['_configService']['getConfig'](wn))!=null?_0x516928:Dn;}[_0x45d431(0x12e)](_0x3cc90c){const _0x453628=_0x45d431,_0x13bd30=this[_0x453628(0x159)][_0x453628(0x296)](_0x3cc90c);return _0x13bd30!==void 0x0&&window[_0x453628(0x278)](_0x13bd30),this[_0x453628(0x13d)][_0x453628(0x34c)](Vs(_0x3cc90c),this[_0x453628(0x111)][_0x453628(0x296)](_0x3cc90c))[_0x453628(0x38b)](()=>this['_saveTaskMap'][_0x453628(0x3ea)](_0x3cc90c));}async[_0x45d431(0x13e)](){const _0x1b2ebd=_0x45d431,_0x3bdde6=[];this[_0x1b2ebd(0x159)]['forEach']((_0x51f28f,_0x4bd7f2)=>{const _0x33a898=_0x1b2ebd;window[_0x33a898(0x278)](_0x51f28f),_0x3bdde6[_0x33a898(0x182)](this[_0x33a898(0x12e)](_0x4bd7f2)['then'](()=>{const _0x5dabc3=_0x33a898;this[_0x5dabc3(0x159)]['delete'](_0x4bd7f2);}));}),await Promise[_0x1b2ebd(0xed)](_0x3bdde6);}[_0x45d431(0x3bf)](){const _0x30402a=_0x45d431;this[_0x30402a(0x20f)](this[_0x30402a(0x301)][_0x30402a(0x505)](()=>{const _0x3a9531=_0x30402a;if(this[_0x3a9531(0x159)][_0x3a9531(0x389)])return this[_0x3a9531(0x20a)]['t'](_0x3a9531(0x3bb));}));}};q=ho([Xe(0x0,_0x360b05),Xe(0x1,_0xf9799b),Xe(0x2,_0x4ec122),Xe(0x3,_0x35b6a2(_0x31b970)),Xe(0x4,_0x35b6a2(_0x301828))],q);function Vs(_0x1c1f6f){return'unit-cache-'+_0x1c1f6f;}var lo=Object['defineProperty'],_o=Object[_0x45d431(0x494)],uo=(_0x1230f7,_0x1dda70,_0x396b95,_0x2a3434)=>{const _0x51707b=_0x45d431;for(var _0x40ce2a=_0x2a3434>0x1?void 0x0:_0x2a3434?_o(_0x1dda70,_0x396b95):_0x1dda70,_0x19e93c=_0x1230f7[_0x51707b(0xf0)]-0x1,_0x4736fb;_0x19e93c>=0x0;_0x19e93c--)(_0x4736fb=_0x1230f7[_0x19e93c])&&(_0x40ce2a=(_0x2a3434?_0x4736fb(_0x1dda70,_0x396b95,_0x40ce2a):_0x4736fb(_0x40ce2a))||_0x40ce2a);return _0x2a3434&&_0x40ce2a&&lo(_0x1dda70,_0x396b95,_0x40ce2a),_0x40ce2a;},Lt=(_0xb6f416,_0x2e9bbf)=>(_0x2d2de7,_0x478bb2)=>_0x2e9bbf(_0x2d2de7,_0x478bb2,_0xb6f416);function fo(_0x39b877){const _0x42753c=_0x45d431,{unitID:_0x368021,mutations:_0x140577}=_0x39b877;return{'unitId':_0x368021,'subUnitId':_0x140577[0x0]['params'][_0x42753c(0x3b1)]};}let mt=class{constructor(_0x3850be,_0x499bca,_0x28a224){const _0x4fb7e9=_0x45d431;this[_0x4fb7e9(0x3f7)]=_0x3850be,this[_0x4fb7e9(0x2bb)]=_0x499bca,this[_0x4fb7e9(0x1e9)]=_0x28a224;}[_0x45d431(0x396)](_0x4581f8){const _0x5dd087=_0x45d431;var _0x36cb2b,_0x53b879,_0x5d1f85,_0x12c8bc;const _0x4bb747=this[_0x5dd087(0x3f7)]['get'](_0x2a85ea),{unitId:_0x345665,subUnitId:_0x232f07}=fo(_0x4581f8),_0x2ac7e7=_0x4bb747['getWorkbookSelections'](_0x345665)[_0x5dd087(0x4f0)](),_0x19bdc3=(_0x53b879=(_0x36cb2b=this[_0x5dd087(0x1e9)][_0x5dd087(0x114)](_0x345665))==null?void 0x0:_0x36cb2b[_0x5dd087(0x503)]())==null?void 0x0:_0x53b879['getSheetId']();if(_0x2ac7e7['length']===0x0||!_0x345665||!_0x232f07)return;const _0x2784ee=[{'id':_0x40ecbd['id'],'params':{'unitId':_0x345665,'subUnitId':_0x19bdc3,'selections':_0x8b0f12['deepClone'](_0x2ac7e7)}}],_0x422a11=this[_0x5dd087(0x2bb)]['transformMutationsWithChangeset'](_0x4581f8,_0x2784ee);if(!_0xabd7ef(_0x422a11))throw _0x422a11[_0x5dd087(0x299)];const _0x1944c9=(_0x12c8bc=(_0x5d1f85=_0x422a11[_0x5dd087(0x19d)][0x0])==null?void 0x0:_0x5d1f85[_0x5dd087(0x46f)])==null?void 0x0:_0x12c8bc[_0x5dd087(0x2c0)];if(Array[_0x5dd087(0x496)](_0x1944c9)&&_0x1944c9[_0x5dd087(0xf0)]){if(_0x1944c9[_0x5dd087(0xf0)]===_0x2784ee[0x0]['params'][_0x5dd087(0x2c0)][_0x5dd087(0xf0)]&&_0x1944c9[_0x5dd087(0x480)]((_0x475f24,_0x51c4f0)=>_0x4ccd5c['equals'](_0x475f24[_0x5dd087(0x37e)],_0x2784ee[0x0]['params'][_0x5dd087(0x2c0)][_0x51c4f0][_0x5dd087(0x37e)])))return;this['_injector'][_0x5dd087(0x296)](_0x66b6aa)['executeCommand'](_0x40ecbd['id'],{'unitId':_0x345665,'subUnitId':_0x19bdc3,'selections':_0x1944c9});}}};mt=uo([Lt(0x0,_0x35b6a2(_0xaaab92)),Lt(0x1,_0x47de3e),Lt(0x2,_0x47d1bd)],mt);const yt=_0x590062(_0x45d431(0x433));var xi=(_0x3ff0af=>(_0x3ff0af[_0x3ff0af[_0x45d431(0x28e)]=0x0]=_0x45d431(0x28e),_0x3ff0af[_0x3ff0af[_0x45d431(0x440)]=0x1]='OTHER_CLIENTS_EDITING',_0x3ff0af))(xi||{});const Gs=0x7530,Ys=_0x45d431(0x31b);class vo extends _0x4f1548{constructor(){const _0x42f40c=_0x45d431;super(),g(this,_0x42f40c(0x4e2),_0x8b0f12[_0x42f40c(0x1dc)]()),g(this,_0x42f40c(0x1db),new Set()),g(this,_0x42f40c(0x31f),new Map()),g(this,_0x42f40c(0x4a0),null),g(this,_0x42f40c(0x434),new Map()),g(this,_0x42f40c(0x473),new Map()),this[_0x42f40c(0x20b)]();}[_0x45d431(0x23a)](){const _0x5dda99=_0x45d431;super[_0x5dda99(0x23a)](),this[_0x5dda99(0x434)]['forEach']((_0x32e696,_0x4775a1)=>this['_removeClearOtherTimer'](_0x4775a1)),this[_0x5dda99(0x4a0)]&&window[_0x5dda99(0x17f)](this[_0x5dda99(0x4a0)]);}[_0x45d431(0x142)](_0x31ccb4){const _0x922452=_0x45d431;return this[_0x922452(0x14a)](_0x31ccb4)[_0x922452(0x476)](_0x48fccc());}['editingUnit'](_0x444fff){const _0x4d1858=_0x45d431;this[_0x4d1858(0x1db)][_0x4d1858(0x389)]===0x0&&this[_0x4d1858(0x3ec)](),this[_0x4d1858(0x1db)][_0x4d1858(0x20c)](_0x444fff),this[_0x4d1858(0x1ce)]({'type':0x0,'memberID':this[_0x4d1858(0x4e2)],'unitIDs':[_0x444fff],'isForwarded':!0x1});}[_0x45d431(0x109)](_0x36a147){const _0x30142e=_0x45d431;this['_selfUnitIDs']['delete'](_0x36a147),this['_selfUnitIDs'][_0x30142e(0x389)]===0x0&&this[_0x30142e(0x4a0)]&&window[_0x30142e(0x17f)](this[_0x30142e(0x4a0)]);}[_0x45d431(0x20b)](){const _0xe7f9a3=_0x45d431;this['disposeWithMe'](_0x3cfbd5(_0x36d4c4(window,_0xe7f9a3(0x2db))[_0xe7f9a3(0x23d)](_0x31af07=>{const _0x1493d8=_0xe7f9a3;if(_0x31af07['key']!==Ys||!_0x31af07[_0x1493d8(0x4a9)])return;const _0x5a2d28=JSON[_0x1493d8(0xf6)](_0x31af07[_0x1493d8(0x4a9)]);this[_0x1493d8(0x18e)](_0x5a2d28);}))),window['addEventListener']('unload',()=>this[_0xe7f9a3(0x1ce)]({'type':0x1,'memberID':this[_0xe7f9a3(0x4e2)],'unitIDs':Array[_0xe7f9a3(0x3f9)](this[_0xe7f9a3(0x1db)])}));}[_0x45d431(0x18e)](_0x40cc94){const _0x111422=_0x45d431;switch(_0x40cc94['type']){case 0x0:this[_0x111422(0xef)](_0x40cc94);break;case 0x1:this[_0x111422(0x1fb)](_0x40cc94);break;case 0x2:this[_0x111422(0x454)](_0x40cc94);break;}}['_handleJoinEvent'](_0x41b42e){const _0x260978=_0x45d431,{unitIDs:_0x1e9dc0,memberID:_0x2cd0ac,isForwarded:_0x394ddc}=_0x41b42e;_0x1e9dc0['forEach'](_0x5a20de=>{const _0x1826d9=_0x5144;if(!_0x394ddc&&this[_0x1826d9(0x31f)][_0x1826d9(0x471)](_0x5a20de)&&this[_0x1826d9(0x14a)](_0x5a20de)[_0x1826d9(0x11b)](0x1),!this[_0x1826d9(0x31f)]['has'](_0x5a20de)||!this[_0x1826d9(0x31f)]['get'](_0x5a20de)[_0x1826d9(0x471)](_0x2cd0ac)){const _0x185f03=this[_0x1826d9(0x31f)][_0x1826d9(0x296)](_0x5a20de)||new Set();_0x185f03[_0x1826d9(0x20c)](_0x2cd0ac),this[_0x1826d9(0x31f)][_0x1826d9(0x3eb)](_0x5a20de,_0x185f03),this[_0x1826d9(0x4b2)](_0x2cd0ac);}}),_0x394ddc||this['_send']({'type':0x0,'memberID':this[_0x260978(0x4e2)],'unitIDs':[...this[_0x260978(0x1db)]],'isForwarded':!0x0});}[_0x45d431(0x4b2)](_0x189ac1){const _0x1a1bad=_0x45d431;this[_0x1a1bad(0x2f0)](_0x189ac1);const _0x5c6bd9=window['setTimeout'](()=>{const _0x4e072c=_0x1a1bad;this[_0x4e072c(0x31f)][_0x4e072c(0x4dd)](_0x55e017=>{_0x55e017['delete'](_0x189ac1);});},Gs*0x2);this[_0x1a1bad(0x434)][_0x1a1bad(0x3eb)](_0x189ac1,_0x5c6bd9);}[_0x45d431(0x2f0)](_0x2fd1d9){const _0x2c737b=_0x45d431;if(this['_clearOtherTimers']['has'](_0x2fd1d9)){const _0x5d42e8=this[_0x2c737b(0x434)][_0x2c737b(0x296)](_0x2fd1d9);_0x5d42e8&&window[_0x2c737b(0x278)](_0x5d42e8),this[_0x2c737b(0x434)][_0x2c737b(0x3eb)](_0x2fd1d9,null);}}[_0x45d431(0x1fb)](_0x4116d5){const _0x1c2080=_0x45d431,{memberID:_0x7b4fbd,unitIDs:_0x4e1123}=_0x4116d5;_0x4e1123[_0x1c2080(0x4dd)](_0x427f50=>{const _0x456b2e=_0x1c2080;var _0x3bfa3f;const _0x191a49=this[_0x456b2e(0x31f)][_0x456b2e(0x296)](_0x427f50);_0x191a49&&(_0x191a49['delete'](_0x7b4fbd),(_0x3bfa3f=this['_ensureSubject'](_0x427f50))==null||_0x3bfa3f[_0x456b2e(0x11b)](_0x191a49[_0x456b2e(0x389)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x7b4fbd);}[_0x45d431(0x454)](_0x1c66df){const _0x7ad489=_0x45d431;this['_scheduleClearOtherTimer'](_0x1c66df[_0x7ad489(0x179)]);}[_0x45d431(0x1ce)](_0xbb003c){const _0x2ab3f3=_0x45d431;localStorage[_0x2ab3f3(0x34c)](Ys,JSON['stringify'](_0xbb003c));}[_0x45d431(0x3ec)](){const _0x3fdee9=_0x45d431;this[_0x3fdee9(0x4a0)]=window['setInterval'](()=>{const _0x3ab280=_0x3fdee9;this[_0x3ab280(0x1ce)]({'type':0x2,'memberID':this[_0x3ab280(0x4e2)]});},Gs);}[_0x45d431(0x14a)](_0x3d4879){const _0x4ca0d8=_0x45d431;return this[_0x4ca0d8(0x473)][_0x4ca0d8(0x471)](_0x3d4879)||this['_unitStatus']['set'](_0x3d4879,new _0x1117fe(0x0)),this[_0x4ca0d8(0x473)][_0x4ca0d8(0x296)](_0x3d4879);}}var mo=Object[_0x45d431(0x4f8)],po=Object[_0x45d431(0x494)],go=(_0x37e390,_0x49a3e9,_0x1b5543,_0x35914f)=>{const _0x43e33f=_0x45d431;for(var _0x12fc45=_0x35914f>0x1?void 0x0:_0x35914f?po(_0x49a3e9,_0x1b5543):_0x49a3e9,_0x42c739=_0x37e390[_0x43e33f(0xf0)]-0x1,_0x1e542c;_0x42c739>=0x0;_0x42c739--)(_0x1e542c=_0x37e390[_0x42c739])&&(_0x12fc45=(_0x35914f?_0x1e542c(_0x49a3e9,_0x1b5543,_0x12fc45):_0x1e542c(_0x12fc45))||_0x12fc45);return _0x35914f&&_0x12fc45&&mo(_0x49a3e9,_0x1b5543,_0x12fc45),_0x12fc45;},$t=(_0x5d6d49,_0x2d8da4)=>(_0x5a70cd,_0x56f273)=>_0x2d8da4(_0x5a70cd,_0x56f273,_0x5d6d49);let pt=class{constructor(_0x2c9254,_0x5ca283,_0x3787f4){this['_injector']=_0x2c9254,this['_transformService']=_0x5ca283,this['_docStateChangeManagerService']=_0x3787f4;}[_0x45d431(0x1f3)](_0x507daf){this['_transformHistoryAndStateStack'](_0x507daf);}['transformRemoteChangeset'](_0x396a53){const _0x3a2d91=_0x45d431,{unitID:_0x4047be}=_0x396a53,{collaboration:_0x2d53bf}=this[_0x3a2d91(0x3ee)][_0x3a2d91(0x183)](_0x4047be);if(_0x2d53bf[_0x3a2d91(0xf0)]===0x0)return _0x396a53;let _0x202ef5=_0x8b0f12['deepClone'](_0x396a53[_0x3a2d91(0x4fc)][0x0]);for(let _0x14c973=0x0;_0x14c973<_0x2d53bf[_0x3a2d91(0xf0)];_0x14c973++){const _0x2ea5f5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d53bf[_0x14c973][_0x3a2d91(0x310)],..._0x2d53bf[_0x14c973][_0x3a2d91(0x2aa)]}},_0x2503ea=this[_0x3a2d91(0x2bb)][_0x3a2d91(0x102)](_0x202ef5,_0x2ea5f5,!0x1);if(_0x210785(_0x2503ea))throw _0x2503ea['error'];_0x202ef5=_0x2503ea[_0x3a2d91(0x1bf)];}return{..._0x8b0f12[_0x3a2d91(0x3aa)](_0x396a53),'mutations':[_0x202ef5]};}[_0x45d431(0x416)](_0x3b7a06){const _0x42a47e=_0x45d431,{unitID:_0x3d10d5}=_0x3b7a06,{history:_0x5ac41f,collaboration:_0x7a060d}=this['_docStateChangeManagerService'][_0x42a47e(0x183)](_0x3d10d5);if(_0x5ac41f['length']===0x0&&_0x7a060d[_0x42a47e(0xf0)]===0x0)return;const _0x34c35b=[],_0x130f99=[];let _0x543733=_0x8b0f12[_0x42a47e(0x3aa)](_0x3b7a06[_0x42a47e(0x4fc)][0x0]),_0x473edd=_0x8b0f12['deepClone'](_0x3b7a06[_0x42a47e(0x4fc)][0x0]);for(let _0x5862ec=_0x5ac41f['length']-0x1;_0x5862ec>=0x0;_0x5862ec--){const _0x370ada={'id':_0x42a47e(0x4d7),'params':{'unitId':_0x5ac41f[_0x5862ec][_0x42a47e(0x310)],..._0x5ac41f[_0x5862ec]['undoState']}},_0x458ef8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ac41f[_0x5862ec][_0x42a47e(0x310)],..._0x5ac41f[_0x5862ec]['redoState']}},_0x2819de=this[_0x42a47e(0x2bb)]['transformMutation'](_0x543733,_0x370ada,!0x1),_0x2228b8=this[_0x42a47e(0x2bb)][_0x42a47e(0x102)](_0x473edd,_0x458ef8,!0x1);if(_0x210785(_0x2819de))throw _0x2819de['error'];if(_0x210785(_0x2228b8))throw _0x2228b8[_0x42a47e(0x299)];_0x34c35b[_0x42a47e(0x184)]({..._0x5ac41f[_0x5862ec],'undoState':_0x2819de[_0x42a47e(0x19d)][_0x42a47e(0x46f)],'redoState':_0x2228b8['m2Prime'][_0x42a47e(0x46f)]}),_0x543733=_0x2819de['m1Prime'],_0x473edd=_0x2228b8[_0x42a47e(0x1bf)];}_0x543733=_0x8b0f12['deepClone'](_0x3b7a06[_0x42a47e(0x4fc)][0x0]),_0x473edd=_0x8b0f12['deepClone'](_0x3b7a06[_0x42a47e(0x4fc)][0x0]);for(let _0x2fc306=_0x7a060d['length']-0x1;_0x2fc306>=0x0;_0x2fc306--){const _0xef6fb5={'id':_0x42a47e(0x4d7),'params':{'unitId':_0x7a060d[_0x2fc306][_0x42a47e(0x310)],..._0x7a060d[_0x2fc306][_0x42a47e(0x1aa)]}},_0x293788={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x7a060d[_0x2fc306][_0x42a47e(0x310)],..._0x7a060d[_0x2fc306][_0x42a47e(0x2aa)]}},_0x144c09=this['_transformService'][_0x42a47e(0x102)](_0x543733,_0xef6fb5,!0x1),_0x3bb252=this[_0x42a47e(0x2bb)][_0x42a47e(0x102)](_0x473edd,_0x293788,!0x1);if(_0x210785(_0x144c09))throw _0x144c09['error'];if(_0x210785(_0x3bb252))throw _0x3bb252[_0x42a47e(0x299)];_0x130f99[_0x42a47e(0x184)]({..._0x7a060d[_0x2fc306],'undoState':_0x144c09[_0x42a47e(0x19d)][_0x42a47e(0x46f)],'redoState':_0x3bb252['m2Prime']['params']}),_0x543733=_0x144c09[_0x42a47e(0x1bf)],_0x473edd=_0x3bb252[_0x42a47e(0x1bf)];}this[_0x42a47e(0x3ee)]['setStateCache'](_0x3d10d5,{'history':_0x34c35b,'collaboration':_0x130f99});}};pt=go([$t(0x0,_0x35b6a2(_0xaaab92)),$t(0x1,_0x47de3e),$t(0x2,_0x35b6a2(_0x187b3c))],pt);function Li(_0x4723a1){const _0x504ea9=_0x45d431;let _0x3d748d='';for(const _0xefcb6f of _0x4723a1){const {startOffset:_0x3fa2f7,endOffset:_0x4239f6,isActive:_0xce4714,rangeType:_0x2d63b9,segmentId:_0x45bc0f,segmentPage:_0x768220}=_0xefcb6f;_0x3d748d[_0x504ea9(0xf0)]&&(_0x3d748d+=','),_0x3d748d+=_0x3fa2f7+':'+_0x4239f6+':'+(_0xce4714?'1':'0')+':'+_0x2d63b9+':'+_0x45bc0f+':'+_0x768220;}return _0x3d748d;}function So(_0x271f33){const _0x14635c=_0x45d431,_0x20ebb4=_0x271f33[_0x14635c(0x3a8)](','),_0x5d1948=[];for(const _0x5b6895 of _0x20ebb4){const [_0x29340a,_0x46cf95,_0x165076,_0xffbc87,_0x282aa3,_0x3cd4fd]=_0x5b6895[_0x14635c(0x3a8)](':');_0x5d1948[_0x14635c(0x182)]({'startOffset':Number(_0x29340a),'endOffset':Number(_0x46cf95),'collapsed':_0x29340a===_0x46cf95,'isActive':_0x165076==='1','rangeType':_0xffbc87===_0x1bbccb[_0x14635c(0x249)]?_0x1bbccb[_0x14635c(0x249)]:_0x1bbccb['RECT'],'segmentId':typeof _0x282aa3=='string'?String(_0x282aa3):'','segmentPage':Number(_0x3cd4fd!=null?_0x3cd4fd:-0x1)});}return _0x5d1948[_0x14635c(0x2ce)](_0x3cb9d4=>_0x3cb9d4['isActive'])||(_0x5d1948[0x0][_0x14635c(0x15a)]=!0x0),_0x5d1948;}class Ts extends _0x46da4c{constructor(){const _0x29fc72=_0x45d431;super(...arguments),g(this,'_collabCursorState$',new _0x1117fe(null)),g(this,'collabCursorState$',this[_0x29fc72(0x2ec)][_0x29fc72(0x1bc)]());}[_0x45d431(0x3ab)](_0xfd9dfc){const _0x46af8d=_0x45d431,{unitID:_0x38d7d0,memberID:_0x34906e,textRanges:_0x756278}=_0xfd9dfc,_0x1ca4d3=Li(_0x756278);if(_0x1ca4d3==='')return;const _0x355580={'unitID':_0x38d7d0,'memberID':_0x34906e,'selection':_0x1ca4d3};this[_0x46af8d(0x2ec)]['next'](_0x355580);}}var Io=Object[_0x45d431(0x4f8)],Co=Object[_0x45d431(0x494)],Eo=(_0x2bd379,_0x51582e,_0xee27f0,_0x47c77a)=>{const _0x369f4f=_0x45d431;for(var _0x5e221e=_0x47c77a>0x1?void 0x0:_0x47c77a?Co(_0x51582e,_0xee27f0):_0x51582e,_0x42abef=_0x2bd379[_0x369f4f(0xf0)]-0x1,_0x524637;_0x42abef>=0x0;_0x42abef--)(_0x524637=_0x2bd379[_0x42abef])&&(_0x5e221e=(_0x47c77a?_0x524637(_0x51582e,_0xee27f0,_0x5e221e):_0x524637(_0x5e221e))||_0x5e221e);return _0x47c77a&&_0x5e221e&&Io(_0x51582e,_0xee27f0,_0x5e221e),_0x5e221e;},Ks=(_0x4a35ca,_0x135a73)=>(_0x40ecdb,_0x132f74)=>_0x135a73(_0x40ecdb,_0x132f74,_0x4a35ca);let gt=class{constructor(_0x508eac,_0x247d4c){const _0x1ca9cd=_0x45d431;this[_0x1ca9cd(0x3f7)]=_0x508eac,this[_0x1ca9cd(0x2bb)]=_0x247d4c;}[_0x45d431(0x396)](_0x16badd){const _0x7c6cef=_0x45d431;var _0xf8ac44;const _0x464348=this['_injector'][_0x7c6cef(0x296)](_0x53c254),_0x5cf2a4=(_0xf8ac44=_0x464348[_0x7c6cef(0x400)]())!=null?_0xf8ac44:[];if(_0x5cf2a4[_0x7c6cef(0xf0)]===0x0)return;const _0x1f2fd0=_0x16badd['unitID'],_0x3c6d72=[{'id':_0x7c6cef(0x4d7),'params':{'unitId':_0x1f2fd0,'actions':null,'textRanges':_0x5cf2a4}}],_0x293e66=this[_0x7c6cef(0x2bb)]['transformMutationsWithChangeset'](_0x16badd,_0x3c6d72);if(!_0xabd7ef(_0x293e66))throw _0x293e66['error'];const _0x419584=_0x293e66[_0x7c6cef(0x19d)][0x0][_0x7c6cef(0x46f)]['textRanges'];Array[_0x7c6cef(0x496)](_0x419584)&&_0x419584[_0x7c6cef(0xf0)]&&_0x464348[_0x7c6cef(0x353)](_0x419584,{'unitId':_0x1f2fd0,'subUnitId':_0x1f2fd0},!0x1);}};gt=Eo([Ks(0x0,_0x35b6a2(_0xaaab92)),Ks(0x1,_0x47de3e)],gt);const bo=new Set([_0x38bcec['id']]);function zs(_0x3009e1,_0x226a05,_0x10e5f3,_0x5110e2,_0x2942e9){const _0x3f9d85=_0x45d431;var _0x2e61c7,_0x34b325,_0x3c077b,_0x3e3f2c;const _0x555bdf=[];for(const _0x55cd2 of _0x3009e1)if(bo[_0x3f9d85(0x471)](_0x55cd2['id'])){if(_0x555bdf['length']>0x0)break;_0x555bdf[_0x3f9d85(0x182)](_0x55cd2);break;}else _0x555bdf[_0x3f9d85(0x182)](_0x55cd2);const _0x45337d=(_0x34b325=(_0x2e61c7=_0x2942e9[_0x3f9d85(0x2b8)]())==null?void 0x0:_0x2e61c7[_0x3f9d85(0x1c6)])!=null?_0x34b325:_0x3f9d85(0x383),_0x2c811b=(_0x3e3f2c=(_0x3c077b=_0x2942e9[_0x3f9d85(0x2b8)]())==null?void 0x0:_0x3c077b['memberID'])!=null?_0x3e3f2c:'unknown';return{'changeset':{'unitID':_0x226a05,'type':_0x56eb4f(_0x10e5f3[_0x3f9d85(0x22e)](_0x226a05)),'baseRev':_0x5110e2[_0x3f9d85(0x105)](_0x226a05),'revision':0x0,'userID':_0x45337d,'memberID':_0x2c811b,'mutations':_0x555bdf},'pendingMutations':_0x3009e1['slice'](_0x555bdf[_0x3f9d85(0xf0)])};}function To(_0x16261e,_0x10512d,_0x442ca5,_0x12271b,_0x2af4f9){const _0xd2fc4=_0x45d431;var _0x4d978c,_0x4e40f6,_0x4a1608,_0x23c4c9;const _0x194dfc=[_0x16261e[_0xd2fc4(0xf8)]((_0x74b2c8,_0xc08ecf)=>{const _0x49b0cd=_0xd2fc4;var _0x4c60ed;const {id:_0x2489b6}=_0x74b2c8,{id:_0xf8c0dd,type:_0x1e1686}=_0xc08ecf,_0x50249b=(_0x4c60ed=_0x74b2c8[_0x49b0cd(0x46f)])!=null?_0x4c60ed:{'actions':null},_0x1b94e5=_0xc08ecf[_0x49b0cd(0x46f)];if(_0x2489b6&&_0x2489b6!==_0xf8c0dd)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2489b6+_0x49b0cd(0x244)+_0xf8c0dd+'.');return{..._0x74b2c8,'id':_0xf8c0dd,'type':_0x1e1686,'params':{'unitId':_0x1b94e5[_0x49b0cd(0x310)],'textRanges':_0x1b94e5[_0x49b0cd(0x4d0)],'actions':_0x401cc6[_0x49b0cd(0x1cf)](_0x50249b[_0x49b0cd(0x3b4)],_0x1b94e5['actions'])}};},{})],_0x25fe08=(_0x4e40f6=(_0x4d978c=_0x2af4f9['getCurrentUser']())==null?void 0x0:_0x4d978c['userID'])!=null?_0x4e40f6:_0xd2fc4(0x383),_0x456e9b=(_0x23c4c9=(_0x4a1608=_0x2af4f9['getCurrentUser']())==null?void 0x0:_0x4a1608[_0xd2fc4(0x179)])!=null?_0x23c4c9:_0xd2fc4(0x383);return{'changeset':{'unitID':_0x10512d,'type':_0x56eb4f(_0x442ca5[_0xd2fc4(0x22e)](_0x10512d)),'baseRev':_0x12271b[_0xd2fc4(0x105)](_0x10512d),'revision':0x0,'userID':_0x25fe08,'memberID':_0x456e9b,'mutations':_0x194dfc},'pendingMutations':[]};}function $i(_0x223eb1,_0x4015b1){const _0x3e77ff=_0x45d431,_0x44dc35=new _0x5c9396(0x1);return setTimeout(()=>_0x44dc35['next'](_0x4015b1),_0x223eb1),_0x44dc35[_0x3e77ff(0x1bc)]()[_0x3e77ff(0x476)](_0x182a9e(0x1));}const Ro={'id':_0x25e507['id'],'type':_0x1da462[_0x45d431(0x366)],'params':{}};var Oo=Object[_0x45d431(0x4f8)],yo=Object['getOwnPropertyDescriptor'],$e=(_0x52a5c7,_0xa5e67,_0x51350b,_0x39e7b0)=>{const _0xb54cb4=_0x45d431;for(var _0x14d085=_0x39e7b0>0x1?void 0x0:_0x39e7b0?yo(_0xa5e67,_0x51350b):_0xa5e67,_0x346899=_0x52a5c7[_0xb54cb4(0xf0)]-0x1,_0x54b5dd;_0x346899>=0x0;_0x346899--)(_0x54b5dd=_0x52a5c7[_0x346899])&&(_0x14d085=(_0x39e7b0?_0x54b5dd(_0xa5e67,_0x51350b,_0x14d085):_0x54b5dd(_0x14d085))||_0x14d085);return _0x39e7b0&&_0x14d085&&Oo(_0xa5e67,_0x51350b,_0x14d085),_0x14d085;},A=(_0x50177e,_0x4f1d09)=>(_0x2d125c,_0x399104)=>_0x4f1d09(_0x2d125c,_0x399104,_0x50177e),J=(_0x148a2a=>(_0x148a2a[_0x45d431(0x376)]=_0x45d431(0x2a1),_0x148a2a['SYNCED']='synced',_0x148a2a[_0x45d431(0x291)]=_0x45d431(0x361),_0x148a2a[_0x45d431(0x193)]=_0x45d431(0x174),_0x148a2a[_0x45d431(0x47b)]=_0x45d431(0x328),_0x148a2a[_0x45d431(0x21e)]=_0x45d431(0x4c2),_0x148a2a[_0x45d431(0x48b)]=_0x45d431(0x10e),_0x148a2a['OFFLINE']='offline',_0x148a2a))(J||{});const Hi=0xea60;class He{constructor(_0x3a4299,_0x4f23db,_0x135071,_0x244053,_0x25a00b,_0x4f022d,_0x80d8fc,_0xa94227,_0x341260){const _0x23dcdf=_0x45d431;g(this,_0x23dcdf(0x47d),null),g(this,_0x23dcdf(0x1f7),[]),(this['unitID']=_0x3a4299,this['type']=_0x4f23db,this['_handler']=_0x25a00b,this[_0x23dcdf(0x198)]=_0x4f022d,this[_0x23dcdf(0x44d)]=_0x80d8fc,this['_revisionService']=_0xa94227,this[_0x23dcdf(0x342)]=_0x341260,this[_0x23dcdf(0x47d)]=_0x135071,this[_0x23dcdf(0x1f7)]=_0x244053);}[_0x45d431(0x39d)](_0x23c7cc){const _0x455c37=_0x45d431,_0xd56556=this['_revisionService'][_0x455c37(0x105)](this[_0x455c37(0x1b9)]);return _0x23c7cc[_0x455c37(0x277)]>_0xd56556+0x1?(this[_0x455c37(0x39a)][_0x455c37(0x1d3)]({'from':_0xd56556,'to':_0x23c7cc['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x447fcd){const _0x2b9998=_0x45d431;this[_0x2b9998(0x44d)][_0x2b9998(0x2b1)](this[_0x2b9998(0x1b9)],_0x447fcd);}['_transformSelections'](_0x8ade60){const _0x50154a=_0x45d431;var _0x1561a5,_0x46a798;(_0x46a798=(_0x1561a5=this[_0x50154a(0x39a)])[_0x50154a(0x324)])==null||_0x46a798[_0x50154a(0x3f0)](_0x1561a5,_0x8ade60);}[_0x45d431(0x22b)](_0x5b7a53){const _0x48a5e8=_0x45d431;var _0x185771,_0x4f9db6;return(_0x4f9db6=(_0x185771=this[_0x48a5e8(0x39a)])[_0x48a5e8(0x483)])==null?void 0x0:_0x4f9db6[_0x48a5e8(0x3f0)](_0x185771,_0x5b7a53);}[_0x45d431(0x29a)](_0x584d39){const _0x1656e8=_0x45d431;var _0x95bd39,_0x49b303;return(_0x49b303=(_0x95bd39=this[_0x1656e8(0x39a)])[_0x1656e8(0x467)])==null?void 0x0:_0x49b303['call'](_0x95bd39,_0x584d39);}[_0x45d431(0x31c)](_0x1143ff){const _0x4c040f=_0x45d431;var _0x56f14f,_0x49a554,_0x125866;return(_0x125866=(_0x49a554=(_0x56f14f=this[_0x4c040f(0x39a)])[_0x4c040f(0x4f4)])==null?void 0x0:_0x49a554[_0x4c040f(0x3f0)](_0x56f14f,_0x1143ff))!=null?_0x125866:_0x1143ff;}[_0x45d431(0x2dd)](_0x2f3025){const _0x572909=_0x45d431;var _0x4b87cf,_0x3dceed,_0x585159;return(_0x585159=(_0x3dceed=(_0x4b87cf=this['_handler'])[_0x572909(0x386)])==null?void 0x0:_0x3dceed[_0x572909(0x3f0)](_0x4b87cf,_0x2f3025))!=null?_0x585159:_0x2f3025;}[_0x45d431(0xfe)](_0x8522ed){const _0x4d90a7=_0x45d431;var _0x43f7b2,_0x28a2a1;if(this['type']===ce[_0x4d90a7(0x258)]){const {unitID:_0x1e9d45,mutations:_0x4a39f5,memberID:_0x3a4a16}=_0x8522ed,_0x5d8ce2=_0x4a39f5[0x0][_0x4d90a7(0x46f)][_0x4d90a7(0x4d0)];Array[_0x4d90a7(0x496)](_0x5d8ce2)&&_0x5d8ce2['length']>0x0&&((_0x28a2a1=(_0x43f7b2=this[_0x4d90a7(0x39a)])[_0x4d90a7(0x4eb)])==null||_0x28a2a1[_0x4d90a7(0x3f0)](_0x43f7b2,{'unitID':_0x1e9d45,'memberID':_0x3a4a16,'textRanges':_0x5d8ce2}));}}['_updateLocalCache'](){const _0x58aa90=_0x45d431;this[_0x58aa90(0x342)][_0x58aa90(0x180)](this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x45d431(0x3b0)](){const _0x5d89dd=_0x45d431;return this[_0x5d89dd(0x1c8)][_0x5d89dd(0x105)](this['unitID']);}[_0x45d431(0x19c)](){const _0x42d785=_0x45d431;this[_0x42d785(0x1c8)][_0x42d785(0x25a)](this['unitID']);}[_0x45d431(0x497)](_0x325766){const _0x39f6b2=_0x45d431;var _0x584141;let _0x4a8541=this['_transformRemoteChangesetByIMECache'](_0x325766);_0x4a8541=this[_0x39f6b2(0x2dd)](_0x4a8541);const _0x2716d6=_0x342554(_0x4a8541[_0x39f6b2(0x4fc)],this[_0x39f6b2(0x198)],{'fromCollab':!0x0});if(!_0x2716d6[_0x39f6b2(0x2e3)])throw _0x2716d6[_0x39f6b2(0x299)]instanceof Error?_0x2716d6[_0x39f6b2(0x299)]:new Error((_0x584141=_0x2716d6[_0x39f6b2(0x299)])!=null?_0x584141:_0x39f6b2(0x500));this[_0x39f6b2(0x22b)](_0x4a8541),this['_transformStateCache'](_0x4a8541),this[_0x39f6b2(0x47e)](_0x325766),this['_transformSelections'](_0x4a8541),this[_0x39f6b2(0xfe)](_0x4a8541),this[_0x39f6b2(0x19c)]();}}let Fe=class extends He{constructor(_0x283f07,_0x17ab74,_0x24ed02,_0x474d75,_0x3788c6,_0x2b2d47,_0x55b33b,_0x11279f,_0x4d9914,_0x1d2101){const _0x3ed2e5=_0x45d431;super(_0x283f07,_0x17ab74,null,[],_0x24ed02,_0x11279f,_0x55b33b,_0x474d75,_0x3788c6),g(this,_0x3ed2e5(0x456),_0x3ed2e5(0x1e8)),(this[_0x3ed2e5(0x3f7)]=_0x2b2d47,this['_logService']=_0x4d9914,this[_0x3ed2e5(0x2bb)]=_0x1d2101);}[_0x45d431(0x430)](_0x2e2440){const _0x1888a9=_0x45d431,_0x4c319f=this[_0x1888a9(0x3f7)][_0x1888a9(0x50b)](pe,this[_0x1888a9(0x1b9)],this[_0x1888a9(0x118)],[_0x2e2440],this[_0x1888a9(0x39a)]);return _0x4c319f['_schedule'](),_0x4c319f['_updateLocalCache'](),_0x4c319f;}[_0x45d431(0xfd)](_0x96a245){const _0x3cac37=_0x45d431;if(this[_0x3cac37(0x39d)](_0x96a245))return this[_0x3cac37(0x3f7)]['createInstance'](he,this['unitID'],this[_0x3cac37(0x118)],null,[],null,[_0x96a245],this[_0x3cac37(0x39a)]);try{const _0x57dc1a=this[_0x3cac37(0x2bb)][_0x3cac37(0x49a)](_0x96a245,[Ro]);if(_0xabd7ef(_0x57dc1a)){const {c1Prime:_0xfe54fe}=_0x57dc1a;return this['_executeRemoteChangeset'](_0xfe54fe),this;}throw _0x57dc1a[_0x3cac37(0x299)];}catch(_0x2f4b2a){return this['_logService'][_0x3cac37(0x299)](_0x2f4b2a),this[_0x3cac37(0x487)](!0x1);}}[_0x45d431(0x487)](_0x251ef3){const _0x20feb1=_0x45d431;return this[_0x20feb1(0x3f7)]['createInstance'](Oe,this[_0x20feb1(0x1b9)],this[_0x20feb1(0x118)],null,[],this[_0x20feb1(0x39a)],_0x251ef3);}['onRemoteAck'](){const _0x3f1cbc=_0x45d431;throw new Error(_0x3f1cbc(0x29b));}[_0x45d431(0x349)](){const _0x11adc8=_0x45d431;throw new Error(_0x11adc8(0x229));}[_0x45d431(0x394)](){return this;}[_0x45d431(0x326)](){const _0x41b385=_0x45d431;return this[_0x41b385(0x3f7)][_0x41b385(0x50b)](ye,this[_0x41b385(0x1b9)],this['type'],null,[],this[_0x41b385(0x39a)]);}['toggleOnline'](){return this;}[_0x45d431(0x250)](){const _0x243cf7=_0x45d431;throw new Error(_0x243cf7(0x49f));}[_0x45d431(0x2e6)](){const _0x4daf4c=_0x45d431,_0x367292=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x4daf4c(0x39a)][_0x4daf4c(0x1d3)]({'from':_0x367292,'to':0x0}),this[_0x4daf4c(0x3f7)]['createInstance'](he,this[_0x4daf4c(0x1b9)],this[_0x4daf4c(0x118)],null,[],null,[],this[_0x4daf4c(0x39a)]);}};Fe=$e([A(0x3,_0x35b6a2(_0x301828)),A(0x4,_0x35b6a2(q)),A(0x5,_0x35b6a2(_0xaaab92)),A(0x6,_0x450df1),A(0x7,_0x66b6aa),A(0x8,_0xce7964),A(0x9,_0x47de3e)],Fe);let pe=class extends He{constructor(_0x5a5b4b,_0xb6e023,_0x30ccac,_0x4bfa15,_0x75f84a,_0x74b65,_0x1bccdd,_0x56177f,_0x3545af,_0xbd2613,_0x3ff9fc,_0x3f566a,_0x3ccb47,_0x314f82){const _0x3989f0=_0x45d431;super(_0x5a5b4b,_0xb6e023,null,_0x30ccac,_0x4bfa15,_0xbd2613,_0x314f82,_0x74b65,_0x1bccdd),g(this,'status',_0x3989f0(0x361)),g(this,_0x3989f0(0x253),null),g(this,_0x3989f0(0x259),null),(this[_0x3989f0(0x3f7)]=_0x75f84a,this['_memberService']=_0x56177f,this[_0x3989f0(0x137)]=_0x3545af,this['_configService']=_0x3ff9fc,this['_transformService']=_0x3f566a,this[_0x3989f0(0x2e5)]=_0x3ccb47);}[_0x45d431(0x430)](_0x548e06){const _0x55ac94=_0x45d431;return this[_0x55ac94(0x1f7)][_0x55ac94(0x182)](_0x548e06),this[_0x55ac94(0x1af)](),this;}['onRemoteChangeset'](_0x221408){const _0x5e8bcd=_0x45d431;if(this['_checkMissing'](_0x221408))return this['_clearScheduledTask'](),this[_0x5e8bcd(0x3f7)][_0x5e8bcd(0x50b)](he,this[_0x5e8bcd(0x1b9)],this[_0x5e8bcd(0x118)],null,this['_pendingMutations'],null,[_0x221408],this['_handler']);try{const _0xef3cec=this['_transformService'][_0x5e8bcd(0x49a)](_0x221408,this['_pendingMutations']);if(_0xabd7ef(_0xef3cec)){const {c1Prime:_0x4d1131,m2Prime:_0x5ab2fe}=_0xef3cec;this[_0x5e8bcd(0x497)](_0x4d1131);const _0x1e3dba=this[_0x5e8bcd(0x3f7)]['createInstance'](pe,this['unitID'],this['type'],_0x5ab2fe,this['_handler']);return this[_0x5e8bcd(0x43a)](),_0x1e3dba['_schedule'](this['_scheduleTimestamp']?Math[_0x5e8bcd(0x1cc)](0x0,new Date()[_0x5e8bcd(0x341)]()-this[_0x5e8bcd(0x253)]):this[_0x5e8bcd(0x399)]()),_0x1e3dba;}throw _0xef3cec['error'];}catch(_0x3694eb){return this[_0x5e8bcd(0x137)]['error'](_0x3694eb),this[_0x5e8bcd(0x487)](!0x1);}}[_0x45d431(0x414)](){const _0x117d62=_0x45d431;throw new Error(_0x117d62(0x222));}[_0x45d431(0x349)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x441c92=_0x45d431;return this[_0x441c92(0x43a)](),this[_0x441c92(0x3f7)][_0x441c92(0x50b)](ye,this[_0x441c92(0x1b9)],this[_0x441c92(0x118)],null,this[_0x441c92(0x1f7)],this[_0x441c92(0x39a)]);}[_0x45d431(0x2c2)](){return this;}[_0x45d431(0x2fa)](_0x2b61f9){const _0x384247=_0x45d431,_0x1f7ef4=_0x2b61f9!=null?_0x2b61f9:this[_0x384247(0x399)]();this[_0x384247(0x253)]=new Date()[_0x384247(0x341)](),this[_0x384247(0x259)]=window[_0x384247(0x1ee)](()=>{const _0x384edd=_0x384247;this[_0x384edd(0x43a)]();let _0x238b9d=null;switch(this['type']){case ce['UNIVER_SHEET']:{_0x238b9d=zs(this[_0x384edd(0x1f7)],this[_0x384edd(0x1b9)],this['_univerInstanceService'],this['_revisionService'],this[_0x384edd(0x3f3)]);break;}case ce[_0x384edd(0x258)]:{this[_0x384edd(0x1f7)][_0x384edd(0x480)](_0x431a9b=>_0x431a9b['id']===_0x128c30['id'])?_0x238b9d=To(this[_0x384edd(0x1f7)],this['unitID'],this['_univerInstanceService'],this[_0x384edd(0x1c8)],this[_0x384edd(0x3f3)]):_0x238b9d=zs(this[_0x384edd(0x1f7)],this[_0x384edd(0x1b9)],this[_0x384edd(0x2e5)],this[_0x384edd(0x1c8)],this[_0x384edd(0x3f3)]);break;}default:throw new Error(_0x384edd(0x1e0)+this[_0x384edd(0x118)]+'\x20in\x20_schedule.');}const {changeset:_0x4a55b9,pendingMutations:_0x147b90}=_0x238b9d;this[_0x384edd(0x39a)][_0x384edd(0x228)](_0x4a55b9);const _0x1a13c1=_0x147b90[_0x384edd(0xf0)]?this[_0x384edd(0x3f7)][_0x384edd(0x50b)](ge,this[_0x384edd(0x1b9)],this[_0x384edd(0x118)],_0x4a55b9,_0x147b90,this[_0x384edd(0x39a)],void 0x0):this[_0x384edd(0x3f7)][_0x384edd(0x50b)](Re,this['unitID'],this[_0x384edd(0x118)],_0x4a55b9,this[_0x384edd(0x39a)]);_0x1a13c1[_0x384edd(0x1af)](),this[_0x384edd(0x39a)]['onStateChange'](this,_0x1a13c1);},_0x1f7ef4);}[_0x45d431(0x399)](){const _0x33a2e3=_0x45d431;var _0x3bd719;const _0x3bbdeb=this[_0x33a2e3(0x168)]['getConfig'](ee);return(_0x3bd719=_0x3bbdeb==null?void 0x0:_0x3bbdeb[_0x33a2e3(0x2cf)])!=null?_0x3bd719:Sn;}[_0x45d431(0x250)](){const _0x53047d=_0x45d431;throw new Error(_0x53047d(0x333));}[_0x45d431(0x43a)](){const _0x20cceb=_0x45d431;this[_0x20cceb(0x259)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x20cceb(0x259)]=null);}['_onConflict'](_0x586a5d){const _0x3f1b9b=_0x45d431;return this['_clearScheduledTask'](),this['_injector']['createInstance'](Oe,this[_0x3f1b9b(0x1b9)],this[_0x3f1b9b(0x118)],null,this[_0x3f1b9b(0x1f7)],this[_0x3f1b9b(0x39a)],_0x586a5d);}};pe=$e([A(0x4,_0x35b6a2(_0xaaab92)),A(0x5,_0x35b6a2(_0x301828)),A(0x6,_0x35b6a2(q)),A(0x7,_0x35b6a2(Me)),A(0x8,_0xce7964),A(0x9,_0x66b6aa),A(0xa,_0x360b05),A(0xb,_0x47de3e),A(0xc,_0x47d1bd),A(0xd,_0x450df1)],pe);let Re=class extends He{constructor(_0x39ee1e,_0x3a74c4,_0x32d523,_0x45aed5,_0x178758,_0x2b5785,_0x5e4f0d,_0x376014,_0x29420c,_0x4e0f7f,_0x1827d){const _0x4ccb14=_0x45d431;super(_0x39ee1e,_0x3a74c4,_0x32d523,[],_0x45aed5,_0x376014,_0x1827d,_0x2b5785,_0x5e4f0d),g(this,_0x4ccb14(0x456),'awaiting'),g(this,_0x4ccb14(0x2e2),0x0),g(this,_0x4ccb14(0x1ad)),g(this,_0x4ccb14(0x384)),(this[_0x4ccb14(0x3f7)]=_0x178758,this[_0x4ccb14(0x137)]=_0x29420c,this['_transformService']=_0x4e0f7f);}[_0x45d431(0x430)](_0x44f99b){const _0x3c68fe=_0x45d431;this['_clearScheduledTask']();const _0xdb47a9=this['_injector'][_0x3c68fe(0x50b)](ge,this[_0x3c68fe(0x1b9)],this['type'],this['_awaitingChangeset'],[_0x44f99b],this[_0x3c68fe(0x39a)],this[_0x3c68fe(0x1ad)]);return _0xdb47a9['_updateLocalCache'](),_0xdb47a9;}[_0x45d431(0xfd)](_0x409a24){const _0x3d649f=_0x45d431;if(this[_0x3d649f(0x39d)](_0x409a24))return this[_0x3d649f(0x43a)](),this[_0x3d649f(0x3f7)][_0x3d649f(0x50b)](he,this[_0x3d649f(0x1b9)],this[_0x3d649f(0x118)],this[_0x3d649f(0x47d)],[],null,[_0x409a24],this[_0x3d649f(0x39a)]);try{const _0x3f5c4f=this[_0x3d649f(0x2bb)][_0x3d649f(0x1bd)]([_0x409a24],[this['_awaitingChangeset']],!0x1);if(_0x2b61ae(_0x3f5c4f)){const {c1Prime:_0x7de945,c2Prime:_0x4e21f8}=_0x3f5c4f;this[_0x3d649f(0x497)](_0x7de945[0x0]),_0x4e21f8[0x0][_0x3d649f(0x3d2)]=this['_getCurrentRevision'](),this[_0x3d649f(0x43a)]();const _0x442933=this[_0x3d649f(0x3f7)][_0x3d649f(0x50b)](Re,this[_0x3d649f(0x1b9)],this[_0x3d649f(0x118)],_0x4e21f8[0x0],this[_0x3d649f(0x39a)]);return _0x442933['_updateLocalCache'](),_0x442933;}return this[_0x3d649f(0x487)](!0x1);}catch(_0x22c563){return this[_0x3d649f(0x137)][_0x3d649f(0x299)](_0x22c563),this[_0x3d649f(0x487)](!0x1);}}[_0x45d431(0x414)](_0x2c9169){const _0x57c11f=_0x45d431;this[_0x57c11f(0x43a)]();const _0x3b6eb8=this[_0x57c11f(0x1c8)]['getCurrentRevOfUnit'](this[_0x57c11f(0x1b9)]);if(_0x2c9169[_0x57c11f(0x277)]<_0x3b6eb8-0x1)return this;if(this['_checkMissing'](_0x2c9169))return this['_injector']['createInstance'](he,this['unitID'],this[_0x57c11f(0x118)],null,[],this[_0x57c11f(0x47d)],[],this[_0x57c11f(0x39a)]);this[_0x57c11f(0x19c)]();const _0x3db4ab=this['_injector'][_0x57c11f(0x50b)](Fe,this[_0x57c11f(0x1b9)],this[_0x57c11f(0x118)],this[_0x57c11f(0x39a)]);return _0x3db4ab[_0x57c11f(0x1af)](),_0x3db4ab;}['onRemoteRej'](_0x175953){const _0x2c005b=_0x45d431;return this['_onConflict'](!!(_0x175953!=null&&_0x175953[_0x2c005b(0x24e)]));}['onRemoteRetry'](_0x33a4c1){const _0x3715e6=_0x45d431;return this[_0x3715e6(0x2e2)]>Hi?this[_0x3715e6(0x326)]():(this[_0x3715e6(0x1ad)]=$i(this[_0x3715e6(0x2e2)],{'timeout':this['_resendTimeout'],'reqId':_0x33a4c1['reqId']}),this[_0x3715e6(0x384)]=this[_0x3715e6(0x1ad)][_0x3715e6(0x23d)](({reqId:_0x49e139,timeout:_0x2cdb54})=>{const _0x81d980=_0x3715e6;this[_0x81d980(0x352)](_0x49e139,_0x2cdb54);}),this);}[_0x45d431(0x326)](){const _0xc47b15=_0x45d431;return this[_0xc47b15(0x43a)](),this['_injector']['createInstance'](ye,this[_0xc47b15(0x1b9)],this[_0xc47b15(0x118)],this[_0xc47b15(0x47d)],[],this[_0xc47b15(0x39a)]);}[_0x45d431(0x2c2)](){return this;}['resend'](){const _0xc1eb5d=_0x45d431;this[_0xc1eb5d(0x39a)][_0xc1eb5d(0x228)](this[_0xc1eb5d(0x47d)]);}[_0x45d431(0x487)](_0x290e2a){const _0x1416ce=_0x45d431;return this[_0x1416ce(0x43a)](),this[_0x1416ce(0x3f7)][_0x1416ce(0x50b)](Oe,this[_0x1416ce(0x1b9)],this[_0x1416ce(0x118)],this[_0x1416ce(0x47d)],[],this[_0x1416ce(0x39a)],_0x290e2a);}[_0x45d431(0x352)](_0x23f0b8,_0x1290c4){const _0x2af7ab=_0x45d431;var _0x2f2553;_0x23f0b8===((_0x2f2553=this['_awaitingChangeset'])==null?void 0x0:_0x2f2553['reqId'])&&(this[_0x2af7ab(0x250)](),this[_0x2af7ab(0x2e2)]=_0x1290c4===0x0?0x3e8:_0x1290c4*0x2);}['_clearScheduledTask'](){const _0x51bc0f=_0x45d431;var _0xe11c87;(_0xe11c87=this['_sender'])==null||_0xe11c87['unsubscribe'](),this[_0x51bc0f(0x2e2)]=0x0;}};Re=$e([A(0x4,_0x35b6a2(_0xaaab92)),A(0x5,_0x35b6a2(_0x301828)),A(0x6,_0x35b6a2(q)),A(0x7,_0x66b6aa),A(0x8,_0xce7964),A(0x9,_0x47de3e),A(0xa,_0x450df1)],Re);let ge=class extends He{constructor(_0x303df5,_0x53590c,_0x4d10bc,_0x4eb4e0,_0x5cf97d,_0x6db173,_0x530417,_0x4cf991,_0x4d3f0e,_0x4bce10,_0x28fb7d,_0x1e112e,_0x5ee986){const _0x363a70=_0x45d431;super(_0x303df5,_0x53590c,_0x4d10bc,_0x4eb4e0,_0x5cf97d,_0x4bce10,_0x5ee986,_0x4cf991,_0x4d3f0e),g(this,'status',_0x363a70(0x328)),g(this,'_resendTimeout',0x0),g(this,_0x363a70(0x1ad)),g(this,_0x363a70(0x384)),(this[_0x363a70(0x3f7)]=_0x530417,this[_0x363a70(0x137)]=_0x28fb7d,this['_transformService']=_0x1e112e,_0x6db173&&(this[_0x363a70(0x1ad)]=_0x6db173,this[_0x363a70(0x384)]=this[_0x363a70(0x1ad)]['subscribe'](({reqId:_0x2e8390,timeout:_0x53bc1a})=>{const _0x351811=_0x363a70;this[_0x351811(0x352)](_0x2e8390,_0x53bc1a);})));}[_0x45d431(0x430)](_0x7bbc8b){const _0x1cf17e=_0x45d431;return this[_0x1cf17e(0x1f7)][_0x1cf17e(0x182)](_0x7bbc8b),this;}[_0x45d431(0xfd)](_0x508fed){const _0x2c35e5=_0x45d431;if(this[_0x2c35e5(0x39d)](_0x508fed))return this[_0x2c35e5(0x43a)](),this[_0x2c35e5(0x3f7)][_0x2c35e5(0x50b)](he,this['unitID'],this[_0x2c35e5(0x118)],this[_0x2c35e5(0x47d)],this['_pendingMutations'],null,[_0x508fed],this['_handler']);try{const _0x5c56fb=this[_0x2c35e5(0x2bb)][_0x2c35e5(0x1bd)]([_0x508fed],[this['_awaitingChangeset']],!0x1);if(_0x2b61ae(_0x5c56fb)){const {c1Prime:_0x3ca438,c2Prime:_0x1a9046}=_0x5c56fb,_0x33c113=this[_0x2c35e5(0x2bb)][_0x2c35e5(0x49a)](_0x3ca438[0x0],this['_pendingMutations']);if(_0xabd7ef(_0x33c113)){const {c1Prime:_0x26ed1d,m2Prime:_0xdd65a}=_0x33c113;return this[_0x2c35e5(0x497)](_0x26ed1d),_0x1a9046[0x0][_0x2c35e5(0x3d2)]=this[_0x2c35e5(0x3b0)](),this['_clearScheduledTask'](),this[_0x2c35e5(0x3f7)][_0x2c35e5(0x50b)](ge,this['unitID'],this['type'],_0x1a9046[0x0],_0xdd65a,this[_0x2c35e5(0x39a)],void 0x0);}throw _0x33c113[_0x2c35e5(0x299)];}throw _0x5c56fb[_0x2c35e5(0x299)];}catch(_0x4228ba){return this[_0x2c35e5(0x137)][_0x2c35e5(0x299)](_0x4228ba),this[_0x2c35e5(0x487)](!0x1);}}[_0x45d431(0x414)](_0x4c2c5e){const _0x384455=_0x45d431;if(this[_0x384455(0x43a)](),this['_checkMissing'](_0x4c2c5e))return this[_0x384455(0x3f7)][_0x384455(0x50b)](he,this[_0x384455(0x1b9)],this['type'],null,this[_0x384455(0x1f7)],this[_0x384455(0x47d)],[],this['_handler']);this[_0x384455(0x19c)]();const _0x414909=this['_injector'][_0x384455(0x50b)](pe,this[_0x384455(0x1b9)],this[_0x384455(0x118)],this[_0x384455(0x1f7)],this['_handler']);return _0x414909[_0x384455(0x2fa)](),_0x414909[_0x384455(0x1af)](),_0x414909;}['onRemoteRej'](_0x240909){const _0x5e7c5b=_0x45d431;return this[_0x5e7c5b(0x487)](!!(_0x240909!=null&&_0x240909[_0x5e7c5b(0x24e)]));}['onRemoteRetry'](_0x2a4a97){const _0x256368=_0x45d431;return this['_resendTimeout']>Hi?this['toggleOffline']():(this[_0x256368(0x1ad)]=$i(this['_resendTimeout'],{'timeout':this[_0x256368(0x2e2)],'reqId':_0x2a4a97[_0x256368(0x459)]}),this[_0x256368(0x384)]=this['_resendTimer']['subscribe'](({reqId:_0x3d1fdf,timeout:_0x48bb1a})=>{const _0x488ff9=_0x256368;this[_0x488ff9(0x352)](_0x3d1fdf,_0x48bb1a);}),this);}['toggleOffline'](){const _0x2ce0ee=_0x45d431;return this[_0x2ce0ee(0x43a)](),this[_0x2ce0ee(0x3f7)][_0x2ce0ee(0x50b)](ye,this['unitID'],this[_0x2ce0ee(0x118)],this[_0x2ce0ee(0x47d)],this[_0x2ce0ee(0x1f7)],this['_handler']);}[_0x45d431(0x2c2)](){return this;}[_0x45d431(0x250)](){const _0x3eab41=_0x45d431;this['_handler'][_0x3eab41(0x228)](this[_0x3eab41(0x47d)]);}[_0x45d431(0x487)](_0x5cb212){const _0x4764fe=_0x45d431;return this[_0x4764fe(0x43a)](),this[_0x4764fe(0x3f7)][_0x4764fe(0x50b)](Oe,this[_0x4764fe(0x1b9)],this['type'],null,this[_0x4764fe(0x1f7)],this[_0x4764fe(0x39a)],_0x5cb212);}[_0x45d431(0x352)](_0xac8b0c,_0x52001a){const _0x2a14d3=_0x45d431;var _0xf6395c;_0xac8b0c===((_0xf6395c=this[_0x2a14d3(0x47d)])==null?void 0x0:_0xf6395c[_0x2a14d3(0x459)])&&(this['resend'](),this[_0x2a14d3(0x2e2)]=_0x52001a===0x0?0x3e8:_0x52001a*0x2);}[_0x45d431(0x43a)](){const _0x5a9dff=_0x45d431;var _0x11a9af;(_0x11a9af=this[_0x5a9dff(0x384)])==null||_0x11a9af[_0x5a9dff(0x406)](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x35b6a2(_0xaaab92)),A(0x7,_0x35b6a2(_0x301828)),A(0x8,_0x35b6a2(q)),A(0x9,_0x66b6aa),A(0xa,_0xce7964),A(0xb,_0x47de3e),A(0xc,_0x450df1)],ge);let Oe=class extends He{constructor(_0x7d4cd9,_0x11ab05,_0x214843,_0x18e993,_0x2001b7,_0x1c5a2b=!0x1,_0x484f82,_0x35ce7b,_0x14d19a,_0x4b573d,_0x4f18da,_0x4e1af7,_0x4e046d){const _0x256568=_0x45d431;super(_0x7d4cd9,_0x11ab05,_0x214843,_0x18e993,_0x2001b7,_0x35ce7b,_0x14d19a,_0x4f18da,_0x4b573d),g(this,_0x256568(0x456),_0x256568(0x10e)),(this[_0x256568(0x247)]=_0x1c5a2b,this['_permissionService']=_0x484f82,this[_0x256568(0x20a)]=_0x4e1af7,this[_0x256568(0x466)]=_0x4e046d,this[_0x256568(0x1a0)](),this['_clearLocalCache'](),this[_0x256568(0x4d6)]());}[_0x45d431(0x430)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x45d431(0x349)](){return this;}['onRemoteRetry'](){return this;}[_0x45d431(0x326)](){return this;}[_0x45d431(0x2c2)](){return this;}['resend'](){const _0x511ab1=_0x45d431;throw new Error(_0x511ab1(0x2c8));}[_0x45d431(0x181)](){const _0x3d69a7=_0x45d431;this[_0x3d69a7(0x342)][_0x3d69a7(0x180)](this[_0x3d69a7(0x1b9)],this[_0x3d69a7(0x118)],null,[]);}['_showConflictNotification'](){const _0x20402a=_0x45d431;this[_0x20402a(0x247)]?this[_0x20402a(0x466)][_0x20402a(0x176)]({'title':this[_0x20402a(0x20a)]['t'](_0x20402a(0x169)),'content':this[_0x20402a(0x20a)]['t'](_0x20402a(0x235)),'type':_0x20402a(0x299),'duration':0x0}):this[_0x20402a(0x466)][_0x20402a(0x176)]({'title':this[_0x20402a(0x20a)]['t'](_0x20402a(0x41d)),'content':this[_0x20402a(0x20a)]['t'](_0x20402a(0x112)),'type':_0x20402a(0x299),'duration':0x0});}[_0x45d431(0x4d6)](){const _0x55a42a=_0x45d431;this[_0x55a42a(0x402)]['updatePermissionPoint'](new _0x2043e8(this[_0x55a42a(0x1b9)])['id'],!0x1);}};Oe=$e([A(0x6,_0x35b6a2(_0x30807c)),A(0x7,_0x66b6aa),A(0x8,_0x450df1),A(0x9,_0x35b6a2(q)),A(0xa,_0x35b6a2(_0x301828)),A(0xb,_0x35b6a2(_0x31b970)),A(0xc,_0xe774a5)],Oe);let ye=class extends He{constructor(_0x332021,_0x451433,_0x1695e6,_0x49379f,_0x2ba689,_0x4e3f94,_0x18e172,_0x201f6d,_0x28e3a1,_0x327c08){const _0x11ad82=_0x45d431;super(_0x332021,_0x451433,_0x1695e6,_0x49379f,_0x2ba689,_0x28e3a1,_0x327c08,_0x18e172,_0x201f6d),g(this,'status',_0x11ad82(0x158)),this[_0x11ad82(0x3f7)]=_0x4e3f94;}[_0x45d431(0x430)](_0x40afb6){const _0x1ff1f3=_0x45d431;return this[_0x1ff1f3(0x1f7)][_0x1ff1f3(0x182)](_0x40afb6),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x3459fa){const _0x407c76=_0x45d431;throw new Error(_0x407c76(0x4ac));}[_0x45d431(0x414)](){const _0x291535=_0x45d431;throw new Error(_0x291535(0x4df));}[_0x45d431(0x349)](){const _0x179da0=_0x45d431;throw new Error(_0x179da0(0x280));}['onRemoteRetry'](){return this;}[_0x45d431(0x326)](){return this;}['toggleOnline'](){const _0x50b696=_0x45d431,{_injector:_0x4e14e6,_pendingMutations:_0x43709f,_awaitingChangeset:_0x26a160,unitID:_0x40a662,_handler:_0x45dffc,type:_0x2a2ed0}=this,_0x4f1b06=ji(_0x4e14e6,_0x40a662,_0x2a2ed0,_0x26a160,_0x43709f,_0x45dffc);return _0x4f1b06 instanceof pe?_0x4f1b06['_schedule']():(_0x4f1b06 instanceof ge||_0x4f1b06 instanceof Re)&&_0x4f1b06[_0x50b696(0x250)](),_0x4f1b06;}['resend'](){const _0x362a05=_0x45d431;throw new Error(_0x362a05(0x19e));}};ye=$e([A(0x5,_0x35b6a2(_0xaaab92)),A(0x6,_0x35b6a2(_0x301828)),A(0x7,_0x35b6a2(q)),A(0x8,_0x66b6aa),A(0x9,_0x450df1)],ye);let he=class extends He{constructor(_0x1d65bf,_0x5e7945,_0x238d52,_0x329e95,_0x5a0eea,_0x25296a,_0x1b8c2a,_0x25d1c0,_0x16c4ca,_0x557173,_0x2c9d36,_0x2957f0,_0x2d1ee5,_0x21a211){const _0x5ed4ff=_0x45d431;super(_0x1d65bf,_0x5e7945,_0x238d52,_0x329e95,_0x1b8c2a,_0x2957f0,_0x2d1ee5,_0x16c4ca,_0x557173),g(this,'status',_0x5ed4ff(0x4c2)),(this['_acknowledgedAwaitingChangeset']=_0x5a0eea,this['_queuedRemoteChangesets']=_0x25296a,this[_0x5ed4ff(0x3f7)]=_0x25d1c0,this[_0x5ed4ff(0x137)]=_0x2c9d36,this[_0x5ed4ff(0x2bb)]=_0x21a211);}[_0x45d431(0x45c)](_0x3f9fe3){const _0x2081c5=_0x45d431;try{const _0x5c5eb3=[..._0x3f9fe3,...this[_0x2081c5(0x18a)]],_0x1db0d1=[this[_0x2081c5(0x47d)]||this[_0x2081c5(0x4d2)]][_0x2081c5(0x393)](_0x538058=>!!_0x538058);let _0x32249e,_0x1ef5dd;if(_0x1db0d1['length']){const _0x263175=this[_0x2081c5(0x2bb)][_0x2081c5(0x1bd)](_0x5c5eb3,_0x1db0d1,!0x1);if(!_0x2b61ae(_0x263175))throw _0x263175[_0x2081c5(0x299)];_0x32249e=_0x263175['c1Prime'],_0x1ef5dd=_0x263175[_0x2081c5(0x308)];}else _0x32249e=_0x5c5eb3,_0x1ef5dd=[];let _0x2aa423=this[_0x2081c5(0x1f7)];_0x32249e[_0x2081c5(0x4dd)](_0x509916=>{const _0x3679e5=_0x2081c5;let _0x590ed4;if(_0x2aa423[_0x3679e5(0xf0)]){const _0x3d7bfa=this[_0x3679e5(0x2bb)][_0x3679e5(0x49a)](_0x509916,_0x2aa423);if(!_0xabd7ef(_0x3d7bfa))throw _0x3d7bfa[_0x3679e5(0x299)];_0x590ed4=_0x3d7bfa[_0x3679e5(0x1f9)],_0x2aa423=_0x3d7bfa[_0x3679e5(0x19d)];}else _0x590ed4=_0x509916;this[_0x3679e5(0x497)](_0x590ed4);}),this[_0x2081c5(0x4d2)]&&this['_incrementRevisionNumber'](),this[_0x2081c5(0x47d)]&&_0x1ef5dd[_0x2081c5(0xf0)]&&(_0x1ef5dd[0x0][_0x2081c5(0x3d2)]=this[_0x2081c5(0x3b0)]());let _0x47472c;if(this[_0x2081c5(0x47d)]&&_0x2aa423[_0x2081c5(0xf0)]!==0x0)_0x47472c=this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](ge,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],_0x1ef5dd[0x0],_0x2aa423,this['_handler'],void 0x0);else{if(this[_0x2081c5(0x47d)]&&_0x2aa423[_0x2081c5(0xf0)]===0x0)_0x1ef5dd[0x0][_0x2081c5(0x3d2)]=this[_0x2081c5(0x3b0)](),_0x47472c=this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](Re,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],_0x1ef5dd[0x0],this['_handler']);else{if(_0x2aa423[_0x2081c5(0xf0)]!==0x0){const _0x4e7dc7=this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](pe,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],_0x2aa423,this[_0x2081c5(0x39a)]);_0x4e7dc7[_0x2081c5(0x2fa)](),_0x47472c=_0x4e7dc7;}else _0x47472c=this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](Fe,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],this['_handler']);}}return _0x47472c['_updateLocalCache'](),_0x47472c;}catch(_0x418d6f){return this[_0x2081c5(0x137)][_0x2081c5(0x299)](_0x2081c5(0x240),_0x2081c5(0x506),_0x418d6f),this[_0x2081c5(0x3f7)][_0x2081c5(0x50b)](Oe,this[_0x2081c5(0x1b9)],this[_0x2081c5(0x118)],this[_0x2081c5(0x47d)],this[_0x2081c5(0x1f7)],this[_0x2081c5(0x39a)],!0x1);}}[_0x45d431(0x250)](){const _0x47405f=_0x45d431;throw new Error(_0x47405f(0x21a));}[_0x45d431(0x430)](_0x5a7e8c){const _0x23003a=_0x45d431;return this[_0x23003a(0x1f7)][_0x23003a(0x182)](_0x5a7e8c),this;}[_0x45d431(0xfd)](_0x2e296d){const _0x2c6772=_0x45d431;return this['_queuedRemoteChangesets'][_0x2c6772(0x182)](_0x2e296d),this;}[_0x45d431(0x414)](_0xea0cf2){const _0x2fcfba=_0x45d431;if(this[_0x2fcfba(0x47d)])return this[_0x2fcfba(0x4d2)]=this[_0x2fcfba(0x47d)],this['_awaitingChangeset']=null,this;throw new Error(_0x2fcfba(0x35a));}['onRemoteRej'](_0x14a95a){const _0x536508=_0x45d431;return this[_0x536508(0x487)](!!(_0x14a95a!=null&&_0x14a95a[_0x536508(0x24e)]));}[_0x45d431(0x394)](){return this;}[_0x45d431(0x326)](){const _0x1aa9e9=_0x45d431;return this['_injector'][_0x1aa9e9(0x50b)](ye,this[_0x1aa9e9(0x1b9)],this[_0x1aa9e9(0x118)],this['_awaitingChangeset'],this[_0x1aa9e9(0x1f7)],this[_0x1aa9e9(0x39a)]);}[_0x45d431(0x2c2)](){return this;}[_0x45d431(0x487)](_0x91b9d8){const _0x27a372=_0x45d431;return this['_injector'][_0x27a372(0x50b)](Oe,this[_0x27a372(0x1b9)],this[_0x27a372(0x118)],this[_0x27a372(0x47d)],this[_0x27a372(0x1f7)],this[_0x27a372(0x39a)],_0x91b9d8);}};he=$e([A(0x7,_0x35b6a2(_0xaaab92)),A(0x8,_0x35b6a2(_0x301828)),A(0x9,_0x35b6a2(q)),A(0xa,_0xce7964),A(0xb,_0x66b6aa),A(0xc,_0x450df1),A(0xd,_0x47de3e)],he);function ji(_0x3e3a7c,_0x2b0113,_0x5c65c7,_0x359550,_0x3410be,_0x2acfde){const _0x40ee55=_0x45d431;return _0x359550&&_0x3410be[_0x40ee55(0xf0)]?_0x3e3a7c[_0x40ee55(0x50b)](ge,_0x2b0113,_0x5c65c7,_0x359550,_0x3410be,_0x2acfde,void 0x0):_0x359550?_0x3e3a7c[_0x40ee55(0x50b)](Re,_0x2b0113,_0x5c65c7,_0x359550,_0x2acfde):_0x3410be['length']?_0x3e3a7c[_0x40ee55(0x50b)](pe,_0x2b0113,_0x5c65c7,_0x3410be,_0x2acfde):_0x3e3a7c[_0x40ee55(0x50b)](Fe,_0x2b0113,_0x5c65c7,_0x2acfde);}var wo=Object['defineProperty'],Do=Object[_0x45d431(0x494)],Rs=(_0x1f172a,_0x5dbaf6,_0x5cdfbc,_0x3563f5)=>{const _0x182c5b=_0x45d431;for(var _0x1ea5a8=_0x3563f5>0x1?void 0x0:_0x3563f5?Do(_0x5dbaf6,_0x5cdfbc):_0x5dbaf6,_0x35f3f8=_0x1f172a[_0x182c5b(0xf0)]-0x1,_0x442375;_0x35f3f8>=0x0;_0x35f3f8--)(_0x442375=_0x1f172a[_0x35f3f8])&&(_0x1ea5a8=(_0x3563f5?_0x442375(_0x5dbaf6,_0x5cdfbc,_0x1ea5a8):_0x442375(_0x1ea5a8))||_0x1ea5a8);return _0x3563f5&&_0x1ea5a8&&wo(_0x5dbaf6,_0x5cdfbc,_0x1ea5a8),_0x1ea5a8;},H=(_0x4b71bb,_0x5d59a4)=>(_0x46fb5c,_0x390ed8)=>_0x5d59a4(_0x46fb5c,_0x390ed8,_0x4b71bb);let St=class extends _0x46da4c{constructor(_0x45695c,_0xba0907,_0x4c8510,_0x4f1aee,_0x3ad395,_0x2f0a92,_0x29be9a,_0x1fca7c,_0x2c50ca,_0x36db74,_0x32b52c,_0x163493,_0x353783){const _0x21617a=_0x45d431;super(),g(this,_0x21617a(0x43e),new _0x1117fe(null)),g(this,'state$',this[_0x21617a(0x43e)][_0x21617a(0x1bc)]()),g(this,_0x21617a(0x4c6)),g(this,'_collaborationPaused',!0x1),g(this,_0x21617a(0x237),''),g(this,_0x21617a(0xf4),0x0),g(this,'status$',this['state$']['pipe'](_0x28520c(_0x929ba2=>_0x929ba2?_0x929ba2[_0x21617a(0x456)]:J['OFFLINE']),_0x5c69b3(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x21617a(0x17d),[]),(this[_0x21617a(0x1b9)]=_0x45695c,this[_0x21617a(0x160)]=_0xba0907,this['_type']=_0x4c8510,this[_0x21617a(0x3f7)]=_0x4f1aee,this[_0x21617a(0x342)]=_0x3ad395,this[_0x21617a(0x4b9)]=_0x2f0a92,this[_0x21617a(0x20a)]=_0x29be9a,this[_0x21617a(0x1c8)]=_0x1fca7c,this[_0x21617a(0x137)]=_0x2c50ca,this[_0x21617a(0x198)]=_0x36db74,this[_0x21617a(0x321)]=_0x32b52c,this[_0x21617a(0x402)]=_0x163493,this[_0x21617a(0x462)]=_0x353783);}get[_0x45d431(0x304)](){const _0x5a6ea6=_0x45d431;return this[_0x5a6ea6(0x4c6)];}async[_0x45d431(0x3de)](){const _0x182dda=_0x45d431;if(this[_0x182dda(0x304)])throw new Error(_0x182dda(0x49b));await this[_0x182dda(0x20b)]();}['pauseCollaboration'](){const _0x29598f=_0x45d431;return this[_0x29598f(0x3e8)]=!0x0,_0x3cfbd5(()=>{const _0x244486=_0x29598f;this[_0x244486(0x3e8)]=!0x1,this[_0x244486(0x2f2)]();});}[_0x45d431(0x41c)](_0x5ee683){const _0x28e80e=_0x45d431;this[_0x28e80e(0x4c6)]=_0x5ee683,this[_0x28e80e(0x43e)][_0x28e80e(0x11b)](_0x5ee683);}async[_0x45d431(0x20b)](){const _0x31f860=_0x45d431;var _0x1dfcde;this[_0x31f860(0x41c)](await this['_createInitialState']()),this[_0x31f860(0x462)]&&((_0x1dfcde=this[_0x31f860(0x462)])==null||_0x1dfcde['editingUnit'](this[_0x31f860(0x1b9)]),this[_0x31f860(0x20f)](this['_singleActiveUnitService'][_0x31f860(0x142)](this[_0x31f860(0x1b9)])[_0x31f860(0x23d)](_0x2df7dc=>{const _0x357e5d=_0x31f860;this[_0x357e5d(0x137)][_0x357e5d(0x391)]('[CollaborationEntity]',_0x357e5d(0x11c),_0x2df7dc),_0x2df7dc===xi['OTHER_CLIENTS_EDITING']?(this[_0x357e5d(0x321)][_0x357e5d(0x176)]({'content':this['_localeService']['t'](_0x357e5d(0x2cc)),'type':_0x3067da['Warning']}),this[_0x357e5d(0x402)]['updatePermissionPoint'](new _0x2043e8(this[_0x357e5d(0x1b9)])['id'],!0x1),this[_0x357e5d(0x402)][_0x357e5d(0x3c4)](!0x1)):(this[_0x357e5d(0x402)]['updatePermissionPoint'](new _0x2043e8(this[_0x357e5d(0x1b9)])['id'],!0x0),this[_0x357e5d(0x402)][_0x357e5d(0x3c4)](!0x0));})));let _0x4ed135=!0x1;return this['disposeWithMe'](this[_0x31f860(0x160)][_0x31f860(0x3f2)][_0x31f860(0x23d)](_0x203095=>{const _0x362b5d=_0x31f860;_0x203095===ve[_0x362b5d(0x464)]?this[_0x362b5d(0x4e9)](_0x4ed135):_0x203095===ve[_0x362b5d(0x40c)]&&(_0x4ed135=!0x0,this[_0x362b5d(0x1ed)]());})),this[_0x31f860(0x20f)](this[_0x31f860(0x160)][_0x31f860(0x4f5)][_0x31f860(0x23d)](_0x34c924=>{const _0x4cc330=_0x31f860;try{switch(_0x34c924[_0x4cc330(0x273)]){case _0x5caf5f[_0x4cc330(0x1a4)]:{this[_0x4cc330(0x170)](_0x3746d2(_0x34c924['data']));break;}case _0x5caf5f[_0x4cc330(0x3b8)]:{this['_onRemoteACK'](_0x34c924[_0x4cc330(0x27a)]);break;}case _0x5caf5f[_0x4cc330(0x2ee)]:{this['_onRemoteRejected']();break;}case _0x5caf5f[_0x4cc330(0x12d)]:{this[_0x4cc330(0x318)](_0x34c924['data']);break;}case _0x5caf5f[_0x4cc330(0x374)]:{this[_0x4cc330(0x4ab)](_0x34c924[_0x4cc330(0x27a)]['changesets']['map'](_0x3ef702=>_0x3746d2(_0x3ef702)));break;}case _0x5caf5f[_0x4cc330(0x411)]:this[_0x4cc330(0x481)]({'isPermissionRej':!0x0});}}catch(_0x128818){throw console[_0x4cc330(0x299)](_0x4cc330(0x4af),_0x128818),_0x128818;}})),this[_0x31f860(0x4c6)];}[_0x45d431(0x351)](){const _0x36c483=_0x45d431;this[_0x36c483(0x472)]=!0x1;}[_0x45d431(0x3e0)](){const _0x4a2d0f=_0x45d431;if(this['_transitionLocked'])throw new Error(_0x4a2d0f(0x45a));this[_0x4a2d0f(0x472)]=!0x0;}[_0x45d431(0x22a)](_0x6af762){const _0x563d6b=_0x45d431;this[_0x563d6b(0x3e0)](),this[_0x563d6b(0x41c)](this[_0x563d6b(0x4c6)][_0x563d6b(0x430)](_0x6af762)),this[_0x563d6b(0x351)]();}['_onRemoteChangeset'](_0x4367fd){const _0x3cd166=_0x45d431;if(!(_0x4367fd[_0x3cd166(0x277)]<=this[_0x3cd166(0x1c8)][_0x3cd166(0x105)](this[_0x3cd166(0x1b9)]))){if(this[_0x3cd166(0x3e8)]){this[_0x3cd166(0x17d)][_0x3cd166(0x182)](_0x4367fd);return;}this[_0x3cd166(0x409)](_0x4367fd);}}[_0x45d431(0x2f2)](){const _0x24acab=_0x45d431;this[_0x24acab(0x17d)][_0x24acab(0x4dd)](_0x1a8bce=>this[_0x24acab(0x409)](_0x1a8bce)),this[_0x24acab(0x17d)]=[];}['_applyRemoteChangeset'](_0x396b4c){const _0x1c2641=_0x45d431,_0x1db29b=this[_0x1c2641(0x4b9)][_0x1c2641(0x129)][_0x1c2641(0x197)](this[_0x1c2641(0x4b9)][_0x1c2641(0x129)][_0x1c2641(0x486)]()['COMPRESS_MUTATION_APPLY'])(_0x396b4c[_0x1c2641(0x4fc)],null)||_0x396b4c[_0x1c2641(0x4fc)],_0x5eac8f={..._0x396b4c,'mutations':_0x1db29b};this['_lockTransition'](),this[_0x1c2641(0x41c)](this['_state'][_0x1c2641(0xfd)](_0x5eac8f)),this['_unlockTransition']();}['_onRemoteACK'](_0x3c1e1f){const _0x541b2c=_0x45d431;this['_lockTransition'](),this['_updateState'](this[_0x541b2c(0x4c6)]['onRemoteAck'](_0x3c1e1f)),this[_0x541b2c(0x351)]();}[_0x45d431(0x481)](_0x53dd02){const _0x15e15b=_0x45d431;this['_lockTransition'](),this[_0x15e15b(0x41c)](this[_0x15e15b(0x4c6)][_0x15e15b(0x349)](_0x53dd02)),this[_0x15e15b(0x351)]();}[_0x45d431(0x318)](_0x220c4e){const _0x2610c3=_0x45d431;this[_0x2610c3(0x3e0)](),this[_0x2610c3(0x41c)](this[_0x2610c3(0x4c6)][_0x2610c3(0x394)](_0x220c4e)),this[_0x2610c3(0x351)]();}[_0x45d431(0x4ab)](_0xa44a62){const _0x5271dd=_0x45d431;if(!(this[_0x5271dd(0x4c6)]instanceof he))throw new TypeError(_0x5271dd(0x2ff));const _0x124672=_0xa44a62['map'](_0x30838a=>{const _0x55130b=_0x5271dd,_0x2aad03=this[_0x55130b(0x4b9)][_0x55130b(0x129)][_0x55130b(0x197)](this[_0x55130b(0x4b9)]['interceptor']['getInterceptPoints']()[_0x55130b(0x201)])(_0x30838a[_0x55130b(0x4fc)],null)||_0x30838a[_0x55130b(0x4fc)];return{..._0x30838a,'mutations':_0x2aad03};});this['_lockTransition'](),this[_0x5271dd(0x41c)](this[_0x5271dd(0x4c6)]['onMissedChangesetFetched'](_0x124672)),this['_unlockTransition']();}[_0x45d431(0x1ed)](){const _0x4fe825=_0x45d431;this['_lockTransition'](),this['_updateState'](this[_0x4fe825(0x4c6)][_0x4fe825(0x326)]()),this[_0x4fe825(0x351)]();}[_0x45d431(0x4e9)](_0x2517ff=!0x1){const _0x226b33=_0x45d431;this[_0x226b33(0x3e0)](),this[_0x226b33(0x41c)](this['_state'][_0x226b33(0x2c2)]()),this['_unlockTransition']();const _0x502eea=this['_state'];_0x2517ff&&_0x502eea instanceof Fe&&(this[_0x226b33(0x3e0)](),this[_0x226b33(0x41c)](_0x502eea['fetchMiss']()),this[_0x226b33(0x351)]());}async[_0x45d431(0x2ed)](){return new Promise(_0xa74d1d=>{const _0x113bda=_0x5144;this[_0x113bda(0x160)]['sessionStatus$'][_0x113bda(0x476)](_0x182a9e(0x1))['subscribe'](async _0x4e69df=>{const _0x5a707d=_0x113bda;_0xa74d1d(await this[_0x5a707d(0x115)](_0x4e69df===ve[_0x5a707d(0x464)]));});});}[_0x45d431(0x1b0)](){const _0x22cb57=_0x45d431,_0x3b3658=this[_0x22cb57(0x1b9)];return{'onStateChange':(_0x136a9e,_0x1a1432)=>{const _0xdc8280=_0x22cb57;if(_0x136a9e!==this['_state'])throw new Error(_0xdc8280(0x19a)+_0x136a9e[_0xdc8280(0x456)]+'\x0aAfter:\x20'+_0x1a1432['status']+_0xdc8280(0x172)+this[_0xdc8280(0x4c6)][_0xdc8280(0x456)]);this[_0xdc8280(0x41c)](_0x1a1432);},'onSendChangeset':_0x57aee9=>{const _0x5831fd=_0x22cb57;_0x57aee9['sid']||(_0x57aee9[_0x5831fd(0x33a)]=this[_0x5831fd(0x237)],_0x57aee9[_0x5831fd(0x459)]=++this['_changesetReqId']);const _0x4a9540={'eventID':_0x5caf5f[_0x5831fd(0x156)],'data':{'unitID':_0x57aee9[_0x5831fd(0x1b9)],'unitType':this['_type'],'changeset':_0x57aee9,'memberID':this['session']['getMemberID']()}};this[_0x5831fd(0x160)][_0x5831fd(0x422)](_0x4a9540,this['unitID']);},'onMissingChangesets':({from:_0x51f845,to:_0x23c73b})=>{const _0x584ba0=_0x22cb57;this[_0x584ba0(0x137)][_0x584ba0(0x391)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x51f845+_0x584ba0(0x23c)+_0x23c73b);const _0x1862c2={'eventID':_0x5caf5f[_0x584ba0(0x3dd)],'data':{'unitID':_0x3b3658,'unitType':this[_0x584ba0(0x4ec)],'from':_0x51f845,'to':_0x23c73b}};this[_0x584ba0(0x160)][_0x584ba0(0x422)](_0x1862c2,this[_0x584ba0(0x1b9)]);}};}async[_0x45d431(0x115)](_0x30cf46){const _0x4347c0=_0x45d431;var _0x2bb474,_0x17e3c2;const _0x29fbdf=await this[_0x4347c0(0x342)]['loadOfflineData'](this['unitID']),_0x2e0135=(_0x2bb474=_0x29fbdf==null?void 0x0:_0x29fbdf[_0x4347c0(0x4fc)])!=null?_0x2bb474:[],_0x4c329f=(_0x17e3c2=_0x29fbdf==null?void 0x0:_0x29fbdf['awaitingChangeset'])!=null?_0x17e3c2:null,_0x4a4cd1=!!(_0x4c329f!=null&&_0x4c329f['sid'])&&!!(_0x4c329f!=null&&_0x4c329f[_0x4347c0(0x459)]);this[_0x4347c0(0x237)]=_0x4a4cd1?_0x4c329f[_0x4347c0(0x33a)]:io(),this['_changesetReqId']=_0x4a4cd1?_0x4c329f[_0x4347c0(0x459)]:0x0;const _0x499707=this[_0x4347c0(0x1b9)];try{this[_0x4347c0(0x125)](_0x4c329f,_0x2e0135);}catch(_0x582747){this[_0x4347c0(0x137)][_0x4347c0(0x299)](_0x582747);}const _0x109dff=this['_createHandler']();if(_0x30cf46){const _0x5c7c5b=ji(this['_injector'],_0x499707,this[_0x4347c0(0x4ec)],_0x4c329f,_0x2e0135,_0x109dff);return _0x5c7c5b instanceof pe?_0x5c7c5b[_0x4347c0(0x2fa)]():(_0x5c7c5b instanceof ge||_0x5c7c5b instanceof Re)&&_0x5c7c5b[_0x4347c0(0x250)](),_0x5c7c5b;}return this[_0x4347c0(0x3f7)][_0x4347c0(0x50b)](ye,_0x499707,this['_type'],_0x4c329f,_0x2e0135,_0x109dff);}['_replayCachedMutations'](_0x475cde,_0x37d914){const _0x5b70e0=_0x45d431;var _0x364729,_0x4e71bf;const _0x340ed3=this[_0x5b70e0(0x4b9)]['interceptor'][_0x5b70e0(0x197)](this['_compressMutationService'][_0x5b70e0(0x129)][_0x5b70e0(0x486)]()[_0x5b70e0(0x201)]);(_0x364729=_0x340ed3((_0x475cde==null?void 0x0:_0x475cde['mutations'])||[],null))==null||_0x364729[_0x5b70e0(0x4dd)](_0x48dbba=>this['_commandService']['executeCommand'](_0x48dbba['id'],_0x48dbba[_0x5b70e0(0x46f)])),(_0x4e71bf=_0x340ed3(_0x37d914||[],null))==null||_0x4e71bf[_0x5b70e0(0x4dd)](_0x56d86d=>this[_0x5b70e0(0x198)][_0x5b70e0(0x360)](_0x56d86d['id'],_0x56d86d[_0x5b70e0(0x46f)]));}};St=Rs([H(0x3,_0x35b6a2(_0xaaab92)),H(0x4,_0x35b6a2(q)),H(0x5,_0x35b6a2(_0x2f2592)),H(0x6,_0x35b6a2(_0x31b970)),H(0x7,_0x35b6a2(_0x301828)),H(0x8,_0xce7964),H(0x9,_0x66b6aa),H(0xa,_0x454792),H(0xb,_0x30807c),H(0xc,_0x5cecc9(yt))],St);let rs=class extends St{constructor(_0x403009,_0x1a4807,_0x5dc171,_0x3636df,_0x3fea04,_0x5a4969,_0x4f7e9e,_0x39eaac,_0x2f888d,_0x5ce690,_0xa5b03,_0x2c5916,_0x4840d7,_0x4a81cb,_0x33e635,_0x45b084,_0x41a1e2,_0x194ad1){const _0x46ad3c=_0x45d431;super(_0x403009,_0x5dc171,_0x1a4807,_0x3636df,_0x3fea04,_0x5a4969,_0x4f7e9e,_0x39eaac,_0x4a81cb,_0x33e635,_0x45b084,_0x41a1e2,_0x194ad1),this[_0x46ad3c(0x1b9)]=_0x403009,this[_0x46ad3c(0x118)]=_0x1a4807,this[_0x46ad3c(0x3ee)]=_0x2f888d,this[_0x46ad3c(0x325)]=_0x5ce690,this[_0x46ad3c(0x194)]=_0xa5b03,this[_0x46ad3c(0x3c2)]=_0x2c5916,this['_docSyncEditingCollabCursorService']=_0x4840d7;}['_createHandler'](){const _0x9adf00=_0x45d431,_0xc3f655=super[_0x9adf00(0x1b0)]();return _0xc3f655[_0x9adf00(0x483)]=_0x282859=>this['_docTransformIMECacheService'][_0x9adf00(0x3db)](_0x282859),_0xc3f655[_0x9adf00(0x467)]=_0x7a1691=>this[_0x9adf00(0x194)][_0x9adf00(0x1f3)](_0x7a1691),_0xc3f655['onTransformSelections']=_0x4c74a6=>this[_0x9adf00(0x3c2)][_0x9adf00(0x396)](_0x4c74a6),_0xc3f655[_0x9adf00(0x4eb)]=_0x22e67b=>this[_0x9adf00(0x107)][_0x9adf00(0x3ab)](_0x22e67b),_0xc3f655[_0x9adf00(0x4f4)]=_0x45a3cd=>this[_0x9adf00(0x325)][_0x9adf00(0x2e8)](_0x45a3cd),_0xc3f655['onTransformRemoteChangesetByStateCache']=_0x2255a0=>this['_docTransformStateCacheService'][_0x9adf00(0x2e8)](_0x2255a0),_0xc3f655;}async[_0x45d431(0x20b)](){const _0x351f70=_0x45d431,_0x564402=await super[_0x351f70(0x20b)]();return this[_0x351f70(0x20f)](this[_0x351f70(0x3ee)]['docStateChange$'][_0x351f70(0x476)](_0x53c58e(this[_0x351f70(0x425)]))[_0x351f70(0x23d)](_0x42b9d2=>{const _0x3985cb=_0x351f70;if(_0x42b9d2==null)return;const {unitId:_0x33e527,redoState:_0x1c8047,commandId:_0x327235}=_0x42b9d2;if(_0x33e527!==this[_0x3985cb(0x1b9)])return;const _0x3b96e1={'id':_0x327235,'type':_0x1da462[_0x3985cb(0x366)],'params':{'unitId':_0x33e527,'actions':_0x1c8047['actions'],'textRanges':null}};this[_0x3985cb(0x22a)](_0x3b96e1);})),this[_0x351f70(0x20f)](this[_0x351f70(0x198)][_0x351f70(0x48d)]((_0x5cbd16,_0x259861)=>{const _0xf2f5a0=_0x351f70;if(_0x5cbd16[_0xf2f5a0(0x118)]!==_0x1da462['MUTATION']||_0x259861!=null&&_0x259861[_0xf2f5a0(0x4fd)]||_0x259861!=null&&_0x259861[_0xf2f5a0(0x307)]||_0x5cbd16['id']===_0x128c30['id'])return;const _0x1c09e4=_0x5cbd16[_0xf2f5a0(0x46f)];if((_0x1c09e4==null?void 0x0:_0x1c09e4['unitId'])!==this['unitID'])return;const _0x53dbea=_0x5cbd16,_0x3571e2=this['_compressMutationService'][_0xf2f5a0(0x129)][_0xf2f5a0(0x197)](this[_0xf2f5a0(0x4b9)][_0xf2f5a0(0x129)][_0xf2f5a0(0x486)]()[_0xf2f5a0(0x268)])([_0x53dbea],null)||[_0x53dbea];this['_onLocalMutation'](_0x3571e2[0x0]);})),_0x564402;}};rs=Rs([H(0x3,_0x35b6a2(_0xaaab92)),H(0x4,_0x35b6a2(q)),H(0x5,_0x35b6a2(_0x2f2592)),H(0x6,_0x35b6a2(_0x31b970)),H(0x7,_0x35b6a2(_0x301828)),H(0x8,_0x35b6a2(_0x187b3c)),H(0x9,_0x35b6a2(vt)),H(0xa,_0x35b6a2(pt)),H(0xb,_0x35b6a2(gt)),H(0xc,_0x35b6a2(Ts)),H(0xd,_0xce7964),H(0xe,_0x66b6aa),H(0xf,_0x454792),H(0x10,_0x30807c),H(0x11,_0x5cecc9(yt))],rs);let ns=class extends St{constructor(_0x1503f0,_0x11b27d,_0x23dae7,_0x3e7da5,_0x3d3898,_0x57fee9,_0x528df4,_0x423999,_0x102ff3,_0x1c08d4,_0x4f9442,_0x45c544,_0x34fb38,_0x40600f){const _0x42c3b9=_0x45d431;super(_0x1503f0,_0x23dae7,_0x11b27d,_0x3e7da5,_0x3d3898,_0x57fee9,_0x528df4,_0x423999,_0x1c08d4,_0x4f9442,_0x45c544,_0x34fb38,_0x40600f),this['unitID']=_0x1503f0,this[_0x42c3b9(0x118)]=_0x11b27d,this[_0x42c3b9(0x4b8)]=_0x102ff3;}[_0x45d431(0x1b0)](){const _0x939168=_0x45d431,_0x581f68=super[_0x939168(0x1b0)]();return _0x581f68[_0x939168(0x324)]=_0x5cd991=>this[_0x939168(0x4b8)]['transformSelections'](_0x5cd991),_0x581f68;}async[_0x45d431(0x20b)](){const _0x4d6d05=_0x45d431,_0x23603f=await super[_0x4d6d05(0x20b)]();return this[_0x4d6d05(0x20f)](this['_commandService'][_0x4d6d05(0x48d)]((_0x4f7169,_0x237e59)=>{const _0x1498ea=_0x4d6d05;if(_0x4f7169[_0x1498ea(0x118)]!==_0x1da462['MUTATION']||_0x237e59!=null&&_0x237e59['fromCollab']||_0x237e59!=null&&_0x237e59[_0x1498ea(0x307)])return;const _0x51d61a=_0x4f7169[_0x1498ea(0x46f)];if((_0x51d61a==null?void 0x0:_0x51d61a['unitId'])!==this['unitID'])return;const _0x46f9d9=_0x4f7169,_0x34518d=this[_0x1498ea(0x4b9)][_0x1498ea(0x129)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1498ea(0x129)][_0x1498ea(0x486)]()[_0x1498ea(0x268)])([_0x46f9d9],null)||[_0x46f9d9];this[_0x1498ea(0x22a)](_0x34518d[0x0]);})),_0x23603f;}};ns=Rs([H(0x3,_0x35b6a2(_0xaaab92)),H(0x4,_0x35b6a2(q)),H(0x5,_0x35b6a2(_0x2f2592)),H(0x6,_0x35b6a2(_0x31b970)),H(0x7,_0x35b6a2(_0x301828)),H(0x8,_0x35b6a2(mt)),H(0x9,_0xce7964),H(0xa,_0x66b6aa),H(0xb,_0x454792),H(0xc,_0x30807c),H(0xd,_0x5cecc9(yt))],ns);var Po=Object[_0x45d431(0x4f8)],Uo=Object['getOwnPropertyDescriptor'],No=(_0x234b0d,_0x16b5e9,_0x20657e,_0x3bfee9)=>{const _0x55dc40=_0x45d431;for(var _0x386207=_0x3bfee9>0x1?void 0x0:_0x3bfee9?Uo(_0x16b5e9,_0x20657e):_0x16b5e9,_0x2a94c4=_0x234b0d[_0x55dc40(0xf0)]-0x1,_0x4cc719;_0x2a94c4>=0x0;_0x2a94c4--)(_0x4cc719=_0x234b0d[_0x2a94c4])&&(_0x386207=(_0x3bfee9?_0x4cc719(_0x16b5e9,_0x20657e,_0x386207):_0x4cc719(_0x386207))||_0x386207);return _0x3bfee9&&_0x386207&&Po(_0x16b5e9,_0x20657e,_0x386207),_0x386207;},Ht=(_0x545b1a,_0x4f7b84)=>(_0x3c7206,_0x232608)=>_0x4f7b84(_0x3c7206,_0x232608,_0x545b1a);let it=class extends _0x46da4c{constructor(_0x185129,_0x41b6a8,_0x1696d5){const _0x340e6c=_0x45d431;super(),g(this,_0x340e6c(0x44f),new Map()),g(this,_0x340e6c(0x152),new _0x54ef1d()),(this['_injector']=_0x185129,this[_0x340e6c(0x478)]=_0x41b6a8,this[_0x340e6c(0x2e5)]=_0x1696d5,this['_init']());}['dispose'](){const _0x1736b5=_0x45d431;super[_0x1736b5(0x23a)](),this[_0x1736b5(0x44f)][_0x1736b5(0x4dd)](_0x19cfbe=>_0x19cfbe[_0x1736b5(0x23a)]()),this[_0x1736b5(0x44f)][_0x1736b5(0x1d1)]();}[_0x45d431(0x290)](_0x44c6d1){const _0x1ec337=_0x45d431;var _0x50976e;return(_0x50976e=this['_entities'][_0x1ec337(0x296)](_0x44c6d1))!=null?_0x50976e:null;}[_0x45d431(0x50d)](_0x21b210){const _0x5ea89c=_0x45d431,_0x978a71=this[_0x5ea89c(0x290)](_0x21b210);return _0x978a71?_0x134634(_0x978a71):this[_0x5ea89c(0x152)]['pipe'](_0x4cca68(_0x3fdb2=>_0x3fdb2['unitID']===_0x21b210));}[_0x45d431(0x20b)](){const _0x5646c7=_0x45d431;this[_0x5646c7(0x2e5)]['getTypeOfUnitAdded$'](_0x51d633[_0x5646c7(0x33c)])[_0x5646c7(0x476)](_0x53c58e(this[_0x5646c7(0x425)]),_0xdc4bb1(0x10))[_0x5646c7(0x23d)](async _0x39a4d9=>{const _0x14fcba=_0x5646c7,_0x1a9a87=_0x39a4d9[_0x14fcba(0x2ca)](),_0x318934=await this[_0x14fcba(0x479)](_0x1a9a87,ce['UNIVER_SHEET']);this['_entities'][_0x14fcba(0x3eb)](_0x1a9a87,_0x318934);}),this[_0x5646c7(0x2e5)]['getTypeOfUnitAdded$'](_0x51d633[_0x5646c7(0x258)])[_0x5646c7(0x476)](_0x53c58e(this['dispose$']),_0xdc4bb1(0x10))[_0x5646c7(0x476)](_0x4cca68(_0x48ac1b=>!_0x48ac1b['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5692b5=>{const _0x24212a=_0x5646c7,_0xe53985=_0x5692b5[_0x24212a(0x2ca)](),_0x5129aa=await this[_0x24212a(0x479)](_0xe53985,ce[_0x24212a(0x258)]);this[_0x24212a(0x44f)][_0x24212a(0x3eb)](_0xe53985,_0x5129aa);}),_0x35c956(this[_0x5646c7(0x2e5)][_0x5646c7(0x209)](_0x51d633[_0x5646c7(0x33c)]),this[_0x5646c7(0x2e5)][_0x5646c7(0x209)](_0x51d633[_0x5646c7(0x258)]))['pipe'](_0x53c58e(this[_0x5646c7(0x425)]))[_0x5646c7(0x23d)](_0x447498=>{const _0x457b00=_0x5646c7,_0x119126=_0x447498[_0x457b00(0x2ca)](),_0x241a19=this[_0x457b00(0x44f)][_0x457b00(0x296)](_0x119126);_0x241a19&&(_0x241a19['dispose'](),this['_entities'][_0x457b00(0x3ea)](_0x119126));});}async['_startCollaboration'](_0x1116ef,_0x1b1f6b){const _0xd58d1=_0x45d431,_0x1b5a06=await this[_0xd58d1(0x478)]['requireSession'](_0x1116ef),_0x46df68=this[_0xd58d1(0x3f7)][_0xd58d1(0x50b)](this[_0xd58d1(0x485)](_0x1b1f6b),_0x1116ef,_0x1b1f6b,_0x1b5a06);return await _0x46df68['init'](),this[_0xd58d1(0x152)][_0xd58d1(0x11b)](_0x46df68),_0x46df68;}[_0x45d431(0x485)](_0x35d1b0){const _0x5df357=_0x45d431;switch(_0x35d1b0){case ce[_0x5df357(0x258)]:return rs;case ce[_0x5df357(0x33c)]:return ns;default:throw new Error(_0x5df357(0x1b1)+_0x35d1b0);}}};it=No([Ht(0x0,_0x35b6a2(_0xaaab92)),Ht(0x1,_0x35b6a2(xe)),Ht(0x2,_0x47d1bd)],it);var Ao=Object['defineProperty'],Mo=Object[_0x45d431(0x494)],xo=(_0x42ed05,_0x1bfde5,_0x231aa1,_0x4fb85c)=>{const _0x36f9d4=_0x45d431;for(var _0x3233a8=_0x4fb85c>0x1?void 0x0:_0x4fb85c?Mo(_0x1bfde5,_0x231aa1):_0x1bfde5,_0x3f0abf=_0x42ed05[_0x36f9d4(0xf0)]-0x1,_0x5c0b96;_0x3f0abf>=0x0;_0x3f0abf--)(_0x5c0b96=_0x42ed05[_0x3f0abf])&&(_0x3233a8=(_0x4fb85c?_0x5c0b96(_0x1bfde5,_0x231aa1,_0x3233a8):_0x5c0b96(_0x3233a8))||_0x3233a8);return _0x4fb85c&&_0x3233a8&&Ao(_0x1bfde5,_0x231aa1,_0x3233a8),_0x3233a8;},qs=(_0x2c990a,_0x29f318)=>(_0x5cff84,_0x326156)=>_0x29f318(_0x5cff84,_0x326156,_0x2c990a);let It=class extends _0x46da4c{constructor(_0x2c0595,_0x2661d3){const _0x52d081=_0x45d431;super(),this[_0x52d081(0x271)]=_0x2c0595,this[_0x52d081(0x470)]=_0x2661d3,this[_0x52d081(0x20b)]();}[_0x45d431(0x20b)](){const _0x12d014=_0x45d431,_0x53bb4a=this;this['disposeWithMe'](this[_0x12d014(0x271)][_0x12d014(0xf9)]({'onBeforePasteImage':async _0x265e64=>{const _0x341e66=_0x12d014,_0x45b478=await _0x53bb4a['_imageIoService'][_0x341e66(0x356)](_0x265e64);return _0x45b478?{'source':_0x45b478[_0x341e66(0x2fb)],'imageSourceType':_0x45b478[_0x341e66(0x1e1)]}:null;}}));}};It=xo([qs(0x0,_0x1129f0),qs(0x1,_0x43832e)],It);const Xs=['purple300',_0x45d431(0x18f),_0x45d431(0x12a),_0x45d431(0x49d),_0x45d431(0x210),_0x45d431(0x4c4)];class Os extends _0x4f1548{constructor(){const _0x347860=_0x45d431;super(...arguments),g(this,_0x347860(0x2c1),new Map()),g(this,_0x347860(0x4a1),0x0);}[_0x45d431(0x167)](_0x569816){const _0x4a24f0=_0x45d431;if(this[_0x4a24f0(0x2c1)][_0x4a24f0(0x471)](_0x569816))return this[_0x4a24f0(0x2c1)][_0x4a24f0(0x296)](_0x569816);const _0x5d9c0c=Xs[this[_0x4a24f0(0x4a1)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Xs['length'],this[_0x4a24f0(0x2c1)]['set'](_0x569816,_0x5d9c0c),_0x5d9c0c;}}var Lo=Object[_0x45d431(0x4f8)],$o=Object[_0x45d431(0x494)],Ho=(_0x37390a,_0x5b5b0f,_0x42fa30,_0x2d5c96)=>{for(var _0x2c5020=_0x2d5c96>0x1?void 0x0:_0x2d5c96?$o(_0x5b5b0f,_0x42fa30):_0x5b5b0f,_0x3f2b18=_0x37390a['length']-0x1,_0x452471;_0x3f2b18>=0x0;_0x3f2b18--)(_0x452471=_0x37390a[_0x3f2b18])&&(_0x2c5020=(_0x2d5c96?_0x452471(_0x5b5b0f,_0x42fa30,_0x2c5020):_0x452471(_0x2c5020))||_0x2c5020);return _0x2d5c96&&_0x2c5020&&Lo(_0x5b5b0f,_0x42fa30,_0x2c5020),_0x2c5020;},De=(_0x42622b,_0x13fd58)=>(_0x2fdab3,_0x46947d)=>_0x13fd58(_0x2fdab3,_0x46947d,_0x42622b);const jo=0x12c,Bo=0x64;let os=class extends _0x46da4c{constructor(_0xbe1c3,_0x13c0c4,_0x402cfc,_0x22e8c7,_0x55248e,_0x519481,_0x447aa2,_0x3a0bb8,_0x98dd92){const _0x5a90fc=_0x45d431;super(),g(this,_0x5a90fc(0x1fe),!0x1),g(this,_0x5a90fc(0x20b),!0x1),g(this,_0x5a90fc(0x126),new _0x1117fe(new Map())),g(this,_0x5a90fc(0x437),this[_0x5a90fc(0x126)][_0x5a90fc(0x1bc)]()),g(this,'_roomMembers$',new _0x1117fe([])),g(this,'roomMembers$',this[_0x5a90fc(0x2a4)][_0x5a90fc(0x476)](_0x3f51c8(jo))),g(this,_0x5a90fc(0x21f),_0x49908a(_0x38c895=>{const _0x3e825d=_0x5a90fc,_0x166125={'eventID':_0x5caf5f[_0x3e825d(0xf5)],'data':{'unitID':this[_0x3e825d(0x1b9)],'memberID':this[_0x3e825d(0x149)][_0x3e825d(0x1ab)](),'selection':Li(_0x38c895)}};this[_0x3e825d(0x149)][_0x3e825d(0x422)](_0x166125,this[_0x3e825d(0x1b9)]);},Bo)),(this[_0x5a90fc(0x1b9)]=_0xbe1c3,this[_0x5a90fc(0x149)]=_0x13c0c4,this[_0x5a90fc(0x3f7)]=_0x402cfc,this['_colorAssignService']=_0x22e8c7,this['_memberService']=_0x55248e,this['_syncEditingCollabCursorService']=_0x519481,this[_0x5a90fc(0x2bb)]=_0x447aa2,this[_0x5a90fc(0x2e5)]=_0x3a0bb8,this[_0x5a90fc(0x198)]=_0x98dd92);}get[_0x45d431(0x2af)](){const _0x4c79af=_0x45d431;return this[_0x4c79af(0x126)][_0x4c79af(0x205)]();}get['roomMembers'](){const _0x13a70f=_0x45d431;return this[_0x13a70f(0x2a4)][_0x13a70f(0x205)]();}['dispose'](){const _0x2a9000=_0x45d431;super[_0x2a9000(0x23a)](),this['_cursorInfo$'][_0x2a9000(0x11b)](new Map()),this[_0x2a9000(0x126)][_0x2a9000(0x175)](),this[_0x2a9000(0x2a4)]['next']([]),this[_0x2a9000(0x2a4)]['complete']();}[_0x45d431(0x3de)](){const _0x223fa2=_0x45d431;this[_0x223fa2(0x20b)]||(this[_0x223fa2(0x20b)]=!0x0,this[_0x223fa2(0x149)]['sessionStatus$'][_0x223fa2(0x476)](_0x53c58e(this[_0x223fa2(0x425)]))[_0x223fa2(0x23d)](_0x1cabd9=>{const _0x1c48d6=_0x223fa2;_0x1cabd9===ve[_0x1c48d6(0x464)]?this[_0x1c48d6(0x4e9)]():this['_toggleOffline']();}),this[_0x223fa2(0x149)][_0x223fa2(0x4f5)]['pipe'](_0x53c58e(this[_0x223fa2(0x425)]))[_0x223fa2(0x23d)](_0x29ab21=>{const _0x113dae=_0x223fa2,_0x20b0ba=_0x29ab21['eventID'];_0x20b0ba===_0x5caf5f[_0x113dae(0xf5)]&&this['_onCursorUpdate'](_0x29ab21),_0x20b0ba===_0x5caf5f[_0x113dae(0x20e)]&&this[_0x113dae(0x3a6)](_0x29ab21);}),this[_0x223fa2(0x20f)](this['_commandService'][_0x223fa2(0x48d)](_0x2f76fd=>{const _0x29cede=_0x223fa2,_0x4a4c52=_0x2f76fd[_0x29cede(0x46f)];_0x4a4c52!=null&&this[_0x29cede(0x1fe)]&&_0x2f76fd['id']===_0x3c7572['id']&&_0x4a4c52[_0x29cede(0x310)]===this['unitID']&&_0x4a4c52[_0x29cede(0x162)]===!0x1&&_0x4a4c52[_0x29cede(0x41a)][_0x29cede(0xf0)]>0x0&&this[_0x29cede(0x21f)](_0x4a4c52[_0x29cede(0x41a)]);})),this[_0x223fa2(0x1d0)][_0x223fa2(0x17a)][_0x223fa2(0x476)](_0x53c58e(this[_0x223fa2(0x425)]))[_0x223fa2(0x23d)](_0x118f46=>{const _0x22270a=_0x223fa2;if((_0x118f46==null?void 0x0:_0x118f46[_0x22270a(0x1b9)])!==this[_0x22270a(0x1b9)])return;const _0x477be0={'eventID':_0x5caf5f[_0x22270a(0xf5)],'data':_0x118f46};this[_0x22270a(0x401)](_0x477be0);}),this[_0x223fa2(0x20f)](this[_0x223fa2(0x198)][_0x223fa2(0x48d)](_0x5cd25e=>{const _0x37fd33=_0x223fa2;if(_0x5cd25e['params']==null)return;const _0x42da10=_0x5cd25e[_0x37fd33(0x46f)];if(_0x5cd25e['id']!==_0x128c30['id']||_0x42da10[_0x37fd33(0x310)]!==this['unitID'])return;const _0x54b092={'id':_0x37fd33(0x4d7),'params':_0x42da10},_0x117d4d=this[_0x37fd33(0x2af)];for(const [_0x53fcb0,_0x4c50b0]of _0x117d4d){const _0x2c840f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x37fd33(0x1b9)],'actions':null,'textRanges':_0x4c50b0['ranges']}},_0xfd2150=this[_0x37fd33(0x2bb)][_0x37fd33(0x102)](_0x54b092,_0x2c840f,!0x1);if(_0x210785(_0xfd2150))throw _0xfd2150['error'];_0x117d4d['set'](_0x53fcb0,{..._0x4c50b0,'ranges':_0xfd2150[_0x37fd33(0x19d)][_0x37fd33(0x46f)]['textRanges']});}queueMicrotask(()=>{const _0x153bb2=_0x37fd33;this[_0x153bb2(0x126)]['next'](_0x117d4d);});})));}[_0x45d431(0x401)](_0x38ee69){const _0x45d241=_0x45d431;var _0x313dbd,_0xe9ec93;const {memberID:_0x56c799,selection:_0x280058}=_0x38ee69[_0x45d241(0x27a)],_0x512f4f=So(_0x280058),_0x40a1f7=(_0xe9ec93=(_0x313dbd=this['_memberService'][_0x45d241(0x10c)](this[_0x45d241(0x1b9)],_0x56c799))==null?void 0x0:_0x313dbd['name'])!=null?_0xe9ec93:_0x45d241(0x218),_0x57e852={'color':this['_colorAssignService'][_0x45d241(0x167)](_0x56c799),'name':_0x40a1f7,'ranges':_0x512f4f},_0x8d549=this['cursorInfo'];_0x8d549[_0x45d241(0x3eb)](_0x56c799,_0x57e852),this[_0x45d241(0x126)]['next'](_0x8d549);}[_0x45d431(0x3a6)](_0x47b842){const _0x5c3ff3=_0x45d431,{memberID:_0x1ae86f}=_0x47b842[_0x5c3ff3(0x27a)],_0x243d0e=this[_0x5c3ff3(0x2af)];_0x243d0e[_0x5c3ff3(0x3ea)](_0x1ae86f),this[_0x5c3ff3(0x126)][_0x5c3ff3(0x11b)](_0x243d0e);}[_0x45d431(0x4e9)](){const _0x41b9f5=_0x45d431;var _0x320d2f;if(this['_online']=!0x0,((_0x320d2f=this['_univerInstanceService'][_0x41b9f5(0x4f9)]())==null?void 0x0:_0x320d2f[_0x41b9f5(0x2ca)]())!==this['unitID'])return;const _0x4af669=this[_0x41b9f5(0x3f7)][_0x41b9f5(0x296)](_0x53c254)['getDocRanges']();Array[_0x41b9f5(0x496)](_0x4af669)&&_0x4af669[_0x41b9f5(0xf0)]>0x0&&this['_updateLocalCursor'](_0x4af669);}['_toggleOffline'](){this['_online']=!0x1;}};os=Ho([De(0x2,_0x35b6a2(_0xaaab92)),De(0x3,_0x35b6a2(Os)),De(0x4,_0x35b6a2(Me)),De(0x5,_0x35b6a2(Ts)),De(0x6,_0x47de3e),De(0x7,_0x47d1bd),De(0x8,_0x66b6aa)],os);var ko=Object[_0x45d431(0x4f8)],Wo=Object[_0x45d431(0x494)],Fo=(_0x45fdde,_0x21b3db,_0x4dd48e,_0x92f502)=>{for(var _0x4dd0d2=_0x92f502>0x1?void 0x0:_0x92f502?Wo(_0x21b3db,_0x4dd48e):_0x21b3db,_0x2ee313=_0x45fdde['length']-0x1,_0x230f84;_0x2ee313>=0x0;_0x2ee313--)(_0x230f84=_0x45fdde[_0x2ee313])&&(_0x4dd0d2=(_0x92f502?_0x230f84(_0x21b3db,_0x4dd48e,_0x4dd0d2):_0x230f84(_0x4dd0d2))||_0x4dd0d2);return _0x92f502&&_0x4dd0d2&&ko(_0x21b3db,_0x4dd48e,_0x4dd0d2),_0x4dd0d2;},Be=(_0x3ceb7e,_0x3b3989)=>(_0x400abf,_0x154141)=>_0x3b3989(_0x400abf,_0x154141,_0x3ceb7e);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x304023=[],_0xb5fbe=!0x1;return _0x372650=>{const _0x5ad7d7=_0x5144;_0x304023[_0x5ad7d7(0x182)](_0x372650),_0xb5fbe||(_0xb5fbe=!0x0,setTimeout(()=>{const _0x4879c9=_0x5ad7d7;_0x304023[_0x4879c9(0x4dd)](_0x3abc8a=>_0x3abc8a()),_0x304023=[],_0xb5fbe=!0x1;}));};};let as=class extends _0x46da4c{constructor(_0x11f95d,_0x424ecd,_0x20f1ac,_0x197b4d,_0x5a244e,_0x114828,_0x1414c9,_0x4a7a55){const _0x2a16bf=_0x45d431;super(),g(this,_0x2a16bf(0x1fe),!0x1),g(this,_0x2a16bf(0x20b),!0x1),g(this,_0x2a16bf(0x126),new _0x1117fe(new Map())),g(this,_0x2a16bf(0x437),this[_0x2a16bf(0x126)][_0x2a16bf(0x1bc)]()),g(this,'_roomMembers$',new _0x1117fe([])),g(this,_0x2a16bf(0x4dc),this[_0x2a16bf(0x2a4)][_0x2a16bf(0x476)](_0x3f51c8(Vo))),g(this,_0x2a16bf(0x21f),_0x49908a((_0xbb0b09,_0x2a40d8)=>{const _0x31cb6e=_0x2a16bf,_0x3d35b6={'eventID':_0x5caf5f['UPDATE_CURSOR'],'data':{'unitID':this[_0x31cb6e(0x1b9)],'memberID':this[_0x31cb6e(0x149)][_0x31cb6e(0x1ab)](),'selection':_0x1a4321(_0xbb0b09,_0x2a40d8[_0x31cb6e(0x37e)])}};this[_0x31cb6e(0x149)][_0x31cb6e(0x422)](_0x3d35b6,this['unitID']);},Go)),(this[_0x2a16bf(0x1b9)]=_0x11f95d,this[_0x2a16bf(0x149)]=_0x424ecd,this[_0x2a16bf(0x3f7)]=_0x20f1ac,this['_colorAssignService']=_0x197b4d,this[_0x2a16bf(0x3f3)]=_0x5a244e,this[_0x2a16bf(0x2e5)]=_0x114828,this[_0x2a16bf(0x198)]=_0x1414c9,this[_0x2a16bf(0x1a6)]=_0x4a7a55);}get[_0x45d431(0x2af)](){const _0x380ad3=_0x45d431;return this['_cursorInfo$'][_0x380ad3(0x205)]();}get[_0x45d431(0x408)](){const _0x557629=_0x45d431;return this[_0x557629(0x2a4)][_0x557629(0x205)]();}[_0x45d431(0x23a)](){const _0x9caa1b=_0x45d431;super[_0x9caa1b(0x23a)](),this['_cursorInfo$'][_0x9caa1b(0x11b)](new Map()),this[_0x9caa1b(0x126)]['complete'](),this[_0x9caa1b(0x2a4)][_0x9caa1b(0x11b)]([]),this[_0x9caa1b(0x2a4)][_0x9caa1b(0x175)]();}[_0x45d431(0x3de)](){const _0x492b07=_0x45d431;this[_0x492b07(0x20b)]||(this[_0x492b07(0x20b)]=!0x0,this[_0x492b07(0x149)][_0x492b07(0x3f2)]['pipe'](_0x53c58e(this[_0x492b07(0x425)]))[_0x492b07(0x23d)](_0x276c8a=>{const _0x1fa79f=_0x492b07;_0x276c8a===ve[_0x1fa79f(0x464)]?this[_0x1fa79f(0x4e9)]():this[_0x1fa79f(0x1ed)]();}),this[_0x492b07(0x149)]['event$'][_0x492b07(0x476)](_0x53c58e(this[_0x492b07(0x425)]))[_0x492b07(0x23d)](_0x537930=>{const _0x43608f=_0x492b07,_0x34cbda=_0x537930[_0x43608f(0x273)];_0x34cbda===_0x5caf5f['UPDATE_CURSOR']&&this[_0x43608f(0x401)](_0x537930),_0x34cbda===_0x5caf5f[_0x43608f(0x20e)]&&this[_0x43608f(0x3a6)](_0x537930);}),this[_0x492b07(0x282)](),this['disposeWithMe'](this[_0x492b07(0x198)][_0x492b07(0x48d)](_0x55c901=>{const _0x2f41f4=_0x492b07;if(this['_online']&&_0x55c901['id']===_0x40ecbd['id']&&_0x55c901[_0x2f41f4(0x46f)][_0x2f41f4(0x310)]===this[_0x2f41f4(0x1b9)]){const _0x46df55=_0x55c901[_0x2f41f4(0x46f)];this[_0x2f41f4(0x21f)](_0x46df55[_0x2f41f4(0x3b1)],_0x46df55['selections'][0x0]);}})));}[_0x45d431(0x401)](_0x409b55){const _0x437049=_0x45d431;var _0x2970ef,_0x2616fb;const {memberID:_0x322ec1,selection:_0x2730ee}=_0x409b55['data'],{sheetName:_0x10fd6f,range:_0x3088a8}=_0x40b249(_0x2730ee),_0x4ab30b={'name':(_0x2616fb=(_0x2970ef=this[_0x437049(0x3f3)][_0x437049(0x10c)](this[_0x437049(0x1b9)],_0x322ec1))==null?void 0x0:_0x2970ef[_0x437049(0x373)])!=null?_0x2616fb:_0x437049(0x218),'range':this[_0x437049(0x128)](_0x10fd6f,_0x3088a8),'sheetID':_0x10fd6f,'color':this[_0x437049(0x3cf)][_0x437049(0x167)](_0x322ec1),'selection':_0x2730ee},_0x4d8042=this['cursorInfo'];_0x4d8042[_0x437049(0x3eb)](_0x322ec1,_0x4ab30b),this[_0x437049(0x126)][_0x437049(0x11b)](_0x4d8042);}[_0x45d431(0x3a6)](_0x5d5f56){const _0x226504=_0x45d431,{memberID:_0x2daa51}=_0x5d5f56['data'],_0x50f8d3=this[_0x226504(0x2af)];_0x50f8d3[_0x226504(0x3ea)](_0x2daa51),this[_0x226504(0x126)][_0x226504(0x11b)](_0x50f8d3);}[_0x45d431(0x128)](_0xa75132,_0x511b7d){const _0x42e1ca=_0x45d431;var _0xed2a2d,_0x4254f4;const _0x2d7fda=(_0x4254f4=(_0xed2a2d=this[_0x42e1ca(0x2e5)]['getUniverSheetInstance'](this[_0x42e1ca(0x1b9)]))==null?void 0x0:_0xed2a2d['getSheetBySheetId'](_0xa75132))==null?void 0x0:_0x4254f4[_0x42e1ca(0x36d)]();return(_0x2d7fda==null?void 0x0:_0x2d7fda[_0x42e1ca(0x2de)](_0x1e4304=>_0x4ccd5c['contains'](_0x1e4304,_0x511b7d)))||_0x511b7d;}[_0x45d431(0x282)](){const _0x2558da=_0x45d431,_0x50dfb2=new _0x53af5e(),_0x554a70=Yo(),_0x3e0b66=()=>{const _0x484962=_0x5144;_0x50dfb2[_0x484962(0x23a)]();const _0xb8edc6=(_0x159357,_0xb648f1,_0x37e22b,_0x228e0d)=>{const _0x11a960=_0x484962;let _0x38c9ac=[];switch(_0x159357['id']){case _0x1d6269[_0x11a960(0x203)]:{_0x38c9ac=_0x303d24(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x31e)]:{_0x38c9ac=_0x52d476(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x2f3)]:{_0x38c9ac=_0x397ad0(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x27c)]:{_0x38c9ac=_0x5e2c50(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x4c3)]:{_0x38c9ac=_0x3620db(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x4ba)]:{_0x38c9ac=_0x38d59e(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x36e)]:{_0x38c9ac=_0x464bc4(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x230)]:{_0x38c9ac=_0x50dc9b(_0x159357,_0x228e0d);break;}case _0x1d6269[_0x11a960(0x382)]:{_0x38c9ac=_0x50e967(_0x159357,_0x228e0d);break;}}const _0x2e6776=_0x47737c(_0x38c9ac,_0x228e0d),_0x3adf69=this[_0x11a960(0x2af)][_0x11a960(0x296)](_0xb648f1);if(_0x3adf69&&_0x2e6776){const _0x33b1bc={..._0x3adf69,'range':_0x2e6776};this[_0x11a960(0x2af)][_0x11a960(0x3eb)](_0xb648f1,_0x33b1bc),_0x554a70(()=>{const _0x27d5de=_0x11a960,_0x44fcc8=this[_0x27d5de(0x1a6)][_0x27d5de(0x1cd)](_0x2e6776,_0x1ea0a8=>(_0x44fcc8[_0x27d5de(0x23a)](),_0xb8edc6(_0x1ea0a8,_0xb648f1,_0x37e22b,_0x2e6776)));_0x50dfb2[_0x27d5de(0x20c)](_0x44fcc8);});}return{'redos':[],'undos':[]};};this[_0x484962(0x2af)]['forEach']((_0xd42845,_0x2bf27e)=>{const _0x3db2ea=_0x484962,{range:_0x22ba5f,sheetID:_0x274605}=_0xd42845,_0x1bca89=this[_0x3db2ea(0x1a6)]['registerRefRange'](_0x22ba5f,_0x27937b=>(_0x1bca89['dispose'](),_0xb8edc6(_0x27937b,_0x2bf27e,_0x274605,_0x22ba5f)));_0x50dfb2[_0x3db2ea(0x20c)](_0x1bca89);});};this[_0x2558da(0x20f)](_0x3cfbd5(this[_0x2558da(0x126)][_0x2558da(0x23d)](()=>{_0x3e0b66();})));}[_0x45d431(0x4e9)](){const _0x1edc9d=_0x45d431;var _0x1cab07,_0x35ae65;if(this[_0x1edc9d(0x1fe)]=!0x0,((_0x1cab07=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1cab07[_0x1edc9d(0x2ca)]())!==this[_0x1edc9d(0x1b9)])return;const _0x41fe80=(_0x35ae65=this[_0x1edc9d(0x3f7)][_0x1edc9d(0x296)](_0x2a85ea)[_0x1edc9d(0x4f0)]())==null?void 0x0:_0x35ae65[0x0],_0x2e7ea9=this[_0x1edc9d(0x2e5)]['getCurrentUnitForType'](_0x51d633[_0x1edc9d(0x33c)])[_0x1edc9d(0x503)]();_0x41fe80&&_0x2e7ea9&&this['_updateLocalCursor'](_0x2e7ea9[_0x1edc9d(0x1f0)](),_0x41fe80);}[_0x45d431(0x1ed)](){const _0x35abfb=_0x45d431;this[_0x35abfb(0x1fe)]=!0x1;}};as=Fo([Be(0x2,_0x35b6a2(_0xaaab92)),Be(0x3,_0x35b6a2(Os)),Be(0x4,_0x35b6a2(Me)),Be(0x5,_0x47d1bd),Be(0x6,_0x66b6aa),Be(0x7,_0x35b6a2(_0x20c152))],as);var Ko=Object[_0x45d431(0x4f8)],zo=Object[_0x45d431(0x494)],qo=(_0xf4e7c,_0x194ee2,_0x29cfce,_0x10bc58)=>{for(var _0x2ee320=_0x10bc58>0x1?void 0x0:_0x10bc58?zo(_0x194ee2,_0x29cfce):_0x194ee2,_0x4927f6=_0xf4e7c['length']-0x1,_0x55f76e;_0x4927f6>=0x0;_0x4927f6--)(_0x55f76e=_0xf4e7c[_0x4927f6])&&(_0x2ee320=(_0x10bc58?_0x55f76e(_0x194ee2,_0x29cfce,_0x2ee320):_0x55f76e(_0x2ee320))||_0x2ee320);return _0x10bc58&&_0x2ee320&&Ko(_0x194ee2,_0x29cfce,_0x2ee320),_0x2ee320;},jt=(_0xdebeb9,_0x14512b)=>(_0x12a677,_0x5ea29d)=>_0x14512b(_0x12a677,_0x5ea29d,_0xdebeb9);let Ve=class extends _0x46da4c{constructor(_0xa00c22,_0x187f3c,_0x78dc8c){const _0x34f6bd=_0x45d431;super(),g(this,_0x34f6bd(0x44f),new Map()),g(this,_0x34f6bd(0x152),new _0x54ef1d()),(this['_univerInstanceService']=_0xa00c22,this['_injector']=_0x187f3c,this['_collabSessionService']=_0x78dc8c,this[_0x34f6bd(0x20b)]());}[_0x45d431(0x23a)](){const _0x55e550=_0x45d431;super['dispose'](),this['_entityInit$'][_0x55e550(0x175)](),this[_0x55e550(0x44f)][_0x55e550(0x4dd)](_0x27dd42=>_0x27dd42['dispose']());}['getCollabCursors$'](_0x4f36c1){const _0x5ba2e4=_0x45d431;return this['_entities'][_0x5ba2e4(0x471)](_0x4f36c1)?this[_0x5ba2e4(0x44f)]['get'](_0x4f36c1)[_0x5ba2e4(0x437)]:this[_0x5ba2e4(0x152)]['pipe'](_0x5e1bdd(_0x3bf484=>_0x3bf484[_0x5ba2e4(0x1b9)]===_0x4f36c1),_0x590c63(_0x16d0f7=>_0x16d0f7['cursorInfo$']));}[_0x45d431(0x20b)](){const _0x5e217a=_0x45d431;this[_0x5e217a(0x2e5)][_0x5e217a(0x3b3)](_0x51d633[_0x5e217a(0x33c)])[_0x5e217a(0x476)](_0x53c58e(this[_0x5e217a(0x425)]))[_0x5e217a(0x23d)](async _0x4936d3=>{const _0x22b13d=_0x5e217a,_0x551f48=_0x4936d3[_0x22b13d(0x2ca)](),_0x524875=await this[_0x22b13d(0xec)](_0x551f48);this['_entityInit$'][_0x22b13d(0x11b)](_0x524875),this[_0x22b13d(0x44f)]['set'](_0x551f48,_0x524875);}),this['_univerInstanceService'][_0x5e217a(0x3b3)](_0x51d633[_0x5e217a(0x258)])[_0x5e217a(0x476)](_0x53c58e(this['dispose$']))[_0x5e217a(0x476)](_0x5e1bdd(_0x696593=>!_0x696593[_0x5e217a(0x2ca)]()['startsWith']('__')))['subscribe'](async _0x35408d=>{const _0x1297cc=_0x5e217a,_0x50e53f=_0x35408d['getUnitId'](),_0x268f4d=await this['_startDocCollabCursor'](_0x50e53f);this[_0x1297cc(0x152)][_0x1297cc(0x11b)](_0x268f4d),this[_0x1297cc(0x44f)]['set'](_0x50e53f,_0x268f4d);}),_0x35c956(this[_0x5e217a(0x2e5)][_0x5e217a(0x209)](_0x51d633[_0x5e217a(0x258)]),this[_0x5e217a(0x2e5)][_0x5e217a(0x209)](_0x51d633['UNIVER_SHEET']))[_0x5e217a(0x476)](_0x53c58e(this[_0x5e217a(0x425)]))['subscribe'](_0x30cb85=>{const _0x3278f3=_0x5e217a,_0x1e2023=_0x30cb85[_0x3278f3(0x2ca)](),_0x3c3c10=this[_0x3278f3(0x44f)][_0x3278f3(0x296)](_0x1e2023);_0x3c3c10&&(_0x3c3c10[_0x3278f3(0x23a)](),this[_0x3278f3(0x44f)]['delete'](_0x1e2023));});}async['_startSheetCollabCursor'](_0x575eb6){const _0x111be4=_0x45d431,_0x4beec1=await this[_0x111be4(0x478)][_0x111be4(0x4b6)](_0x575eb6),_0x41973f=this[_0x111be4(0x3f7)]['createInstance'](as,_0x575eb6,_0x4beec1);return _0x41973f['init'](),_0x41973f;}async[_0x45d431(0x33b)](_0x3d2436){const _0x1ee23b=_0x45d431,_0x25749a=await this[_0x1ee23b(0x478)][_0x1ee23b(0x4b6)](_0x3d2436),_0x3e4769=this['_injector'][_0x1ee23b(0x50b)](os,_0x3d2436,_0x25749a);return _0x3e4769[_0x1ee23b(0x3de)](),_0x3e4769;}};Ve=qo([jt(0x0,_0x47d1bd),jt(0x1,_0x35b6a2(_0xaaab92)),jt(0x2,_0x35b6a2(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x56e736,_0xeac871){const _0x2ee172=_0x45d431;let {radius:_0x355e52,width:_0x46cc37,height:_0x4f41e2}=_0xeac871;_0x355e52=_0x355e52!=null?_0x355e52:0x0,_0x46cc37=_0x46cc37!=null?_0x46cc37:0x1e,_0x4f41e2=_0x4f41e2!=null?_0x4f41e2:0x1e;let _0x52bf4c=0x0,_0x5cdfe4=0x0,_0x3b4558=0x0;_0x52bf4c=_0x5cdfe4=_0x3b4558=Math[_0x2ee172(0x3f4)](_0x355e52,_0x46cc37/0x2,_0x4f41e2/0x2),_0x56e736[_0x2ee172(0x148)](),_0x56e736[_0x2ee172(0x171)](_0x52bf4c,0x0),_0x56e736['lineTo'](_0x46cc37-_0x5cdfe4,0x0),_0x56e736[_0x2ee172(0x424)](_0x46cc37-_0x5cdfe4,_0x5cdfe4,_0x5cdfe4,Math['PI']*0x3/0x2,0x0,!0x1),_0x56e736[_0x2ee172(0x4bc)](_0x46cc37,_0x4f41e2-_0x3b4558),_0x56e736[_0x2ee172(0x424)](_0x46cc37-_0x3b4558,_0x4f41e2-_0x3b4558,_0x3b4558,0x0,Math['PI']/0x2,!0x1),_0x56e736[_0x2ee172(0x4bc)](0x0,_0x4f41e2),_0x56e736[_0x2ee172(0x4bc)](0x0,_0x52bf4c),_0x56e736[_0x2ee172(0x424)](_0x52bf4c,_0x52bf4c,_0x52bf4c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x56e736[_0x2ee172(0x274)](),_0xeac871[_0x2ee172(0x10b)]&&(_0x56e736['save'](),_0x56e736[_0x2ee172(0x2ad)]=_0xeac871[_0x2ee172(0x10b)],_0xeac871[_0x2ee172(0x42f)]===_0x2ee172(0x1dd)?_0x56e736[_0x2ee172(0x10b)](_0x2ee172(0x1dd)):_0x56e736[_0x2ee172(0x10b)](),_0x56e736['restore']());}class wt extends _0x43b8c6{constructor(_0x5aedee,_0x6e749e){const _0x552409=_0x45d431;super(_0x5aedee,_0x6e749e),g(this,_0x552409(0x266)),g(this,'text'),(this[_0x552409(0x266)]=_0x6e749e==null?void 0x0:_0x6e749e[_0x552409(0x266)],this['text']=_0x6e749e==null?void 0x0:_0x6e749e[_0x552409(0x2b9)]);}static['drawWith'](_0x524521,_0x5be8c8){const _0x4211e8=_0x45d431,{text:_0x59b036,color:_0x380ae8}=_0x5be8c8;_0x524521['save'](),_0x524521[_0x4211e8(0x3b7)]=_0x4211e8(0x3f1);const _0x1069d9=_0x524521[_0x4211e8(0x2d7)](_0x59b036)[_0x4211e8(0x1b5)],_0x2f5a2f=Math[_0x4211e8(0x3f4)](_0x1069d9+0x2*Bt,Js);Jo(_0x524521,{'height':rt,'radius':0x4,'width':_0x2f5a2f,'fill':_0x380ae8,'evented':!0x1}),_0x524521[_0x4211e8(0x2ad)]=_0x4211e8(0x3a9);const _0xaf5bfd=Bt,_0x5ac702=rt-Xo,_0x53aa30=Js-0x2*Bt;if(_0x1069d9>_0x53aa30){let _0x3970b8='',_0x19f417=0x0;for(const _0x2b55d7 of _0x59b036){const _0x209ee9=_0x524521[_0x4211e8(0x2d7)](_0x2b55d7)[_0x4211e8(0x1b5)];if(_0x19f417+_0x209ee9<=_0x53aa30-_0x524521[_0x4211e8(0x2d7)](_0x4211e8(0x441))[_0x4211e8(0x1b5)])_0x3970b8+=_0x2b55d7,_0x19f417+=_0x209ee9;else{_0x3970b8+=_0x4211e8(0x441);break;}}_0x524521['fillText'](_0x3970b8,_0xaf5bfd,_0x5ac702);}else _0x524521[_0x4211e8(0x48e)](_0x59b036,_0xaf5bfd,_0x5ac702);_0x524521[_0x4211e8(0x226)]();}['_draw'](_0x4cf1d9){const _0x4aae20=_0x45d431;wt[_0x4aae20(0x10a)](_0x4cf1d9,this);}}const kt=_0x45d431(0x2b7),Zo=_0x45d431(0x4fa),Qo=_0x45d431(0x426),Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa=_0x45d431(0x2d9);class Zs{constructor(_0x2bc2a4,_0x47096c,_0x1db94a,_0x5aafc7){const _0x32328c=_0x45d431;g(this,'_shapes',[]),g(this,_0x32328c(0x302),null),g(this,_0x32328c(0x155),null),g(this,_0x32328c(0x1a2),null),g(this,_0x32328c(0x204),null),g(this,_0x32328c(0x2c4),null),(this[_0x32328c(0x294)]=_0x2bc2a4,this[_0x32328c(0x418)]=_0x47096c,this['_docSkeleton']=_0x1db94a,this['_document']=_0x5aafc7,this['_render']());}set[_0x45d431(0x265)](_0x1fa24d){const _0x1dc599=_0x45d431;_0x1fa24d?(this[_0x1dc599(0x1a2)]&&this['_anchorDot'][_0x1dc599(0x413)](),this['_textBubble']&&this['_textBubble'][_0x1dc599(0x176)]()):(this[_0x1dc599(0x1a2)]&&this['_anchorDot'][_0x1dc599(0x176)](),this[_0x1dc599(0x155)]&&this[_0x1dc599(0x155)][_0x1dc599(0x413)]());}[_0x45d431(0x23a)](){const _0x2eb421=_0x45d431;for(const _0x44bd29 of this['_shapes'])_0x44bd29[_0x2eb421(0x23a)]();this['_textBubble']&&this[_0x2eb421(0x155)][_0x2eb421(0x23a)](),this[_0x2eb421(0x1a2)]&&this[_0x2eb421(0x1a2)][_0x2eb421(0x23a)](),this[_0x2eb421(0x302)]&&this[_0x2eb421(0x302)][_0x2eb421(0x23a)](),this[_0x2eb421(0x2c4)]&&this[_0x2eb421(0x2c4)]();}[_0x45d431(0x3e6)](){const _0x423bcb=_0x45d431;var _0x488500;const {_docSkeleton:_0x5619e2,_document:_0x1ec08d}=this,{color:_0xe35bc2,name:_0x44c80c,ranges:_0x5ee3f6}=this['_cursor'],_0x1b16e2=_0x1ec08d[_0x423bcb(0x256)](),{docsLeft:_0x38f7b4,docsTop:_0x286604}=_0x1b16e2,_0x391c62=new _0x42808f(_0x1b16e2,_0x5619e2);for(const {startOffset:_0x343651,endOffset:_0x3f8a5b,rangeType:_0x280a54,segmentId:_0x26f49c,segmentPage:_0x2dd5a3,collapsed:_0xdf04d7,isActive:_0x1130a3}of _0x5ee3f6){const _0x456259=_0x5619e2[_0x423bcb(0x355)](_0x343651,!0x0,_0x26f49c,_0x2dd5a3);let _0x5cdf67=_0x5619e2[_0x423bcb(0x355)](_0x3f8a5b,!0x0,_0x26f49c,_0x2dd5a3);if(_0x5cdf67==null&&(_0x5cdf67=_0x5619e2['findNodePositionByCharIndex'](_0x3f8a5b-0x1,!0x1,_0x26f49c,_0x2dd5a3)),_0x1130a3){const {contentBoxPointGroup:_0x3fcf2d}=_0x391c62[_0x423bcb(0x215)](_0x5cdf67,_0x5cdf67);if(_0x3fcf2d[_0x423bcb(0xf0)]===0x0)continue;this[_0x423bcb(0x1ae)](_0xe35bc2,_0x3fcf2d,_0x38f7b4,_0x286604,_0x44c80c),this[_0x423bcb(0x2c4)]=this['_handleHover']();}if(_0x456259&&_0x5cdf67){if(_0x280a54===_0x1bbccb[_0x423bcb(0x4cd)]){const _0x3f9be6=new _0x40430c(_0x1b16e2,_0x5619e2),{pointGroup:_0x184066}=(_0x488500=_0x3f9be6['getRangePointData'](_0x456259,_0x5cdf67))!=null?_0x488500:{};if(_0x184066==null||_0x184066[_0x423bcb(0xf0)]===0x0)continue;this[_0x423bcb(0x501)](_0xe35bc2,_0x184066,_0x38f7b4,_0x286604);}else{if(!_0xdf04d7){const {borderBoxPointGroup:_0x397fed}=_0x391c62['getRangePointData'](_0x456259,_0x5cdf67);if(_0x397fed['length']===0x0)continue;this[_0x423bcb(0x135)](_0xe35bc2,_0x397fed,_0x38f7b4,_0x286604);}}}}}[_0x45d431(0x1ae)](_0x227247,_0x5014e9,_0x3d30fb,_0x581253,_0x485551){const _0x1cd986=_0x45d431,_0x5cd786=this[_0x1cd986(0x4bd)](_0x5014e9),{left:_0x226728,top:_0x34d5f0,height:_0x4b830e}=_0x5cd786,_0x15ceec=this['_getScale'](),_0x445b29=ta/_0x15ceec,_0x22d06a=new _0x328564(kt+_0x8b0f12[_0x1cd986(0x1dc)](Je),{'left':_0x226728+_0x3d30fb-_0x445b29,'top':_0x34d5f0+_0x581253,'height':_0x4b830e,'width':ea,'fill':_0x227247||_0x4e6a4f(_0x2490d2[_0x1cd986(0x25b)],0x0),'strokeWidth':_0x445b29,'stroke':sa,'evented':!0x0});this['_anchor']=_0x22d06a,this[_0x1cd986(0x418)]['addObject'](_0x22d06a,_0x5bc0cf);const _0x22f5b9=new _0x328564(kt+_0x8b0f12['generateRandomId'](Je),{'left':_0x226728+_0x3d30fb-_0x445b29,'top':_0x34d5f0+_0x581253-Wt/0x2,'height':Wt,'width':Wt,'fill':_0x227247||_0x4e6a4f(_0x2490d2[_0x1cd986(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x227247||_0x4e6a4f(_0x2490d2[_0x1cd986(0x25b)],0x0),'evented':!0x1});this[_0x1cd986(0x1a2)]=_0x22f5b9,this[_0x1cd986(0x418)][_0x1cd986(0x3fb)](_0x22f5b9,_0x5bc0cf);const _0x5a3582=new wt(kt+_0x8b0f12[_0x1cd986(0x1dc)](Je),{'left':_0x226728+_0x3d30fb-_0x445b29,'top':_0x34d5f0+_0x581253-rt,'text':_0x485551,'color':_0x227247});this[_0x1cd986(0x155)]=_0x5a3582,this[_0x1cd986(0x418)][_0x1cd986(0x3fb)](_0x5a3582,_0x5bc0cf),this[_0x1cd986(0x265)]=!0x1;}[_0x45d431(0x3c1)](){const _0x32b48e=_0x45d431,_0x22d432=this[_0x32b48e(0x302)][_0x32b48e(0x3f6)][_0x32b48e(0x4ed)](()=>{const _0x27b224=_0x32b48e;this[_0x27b224(0x265)]=!0x0;}),_0x1e4627=this[_0x32b48e(0x302)]['onPointerLeave$'][_0x32b48e(0x4ed)](()=>{const _0x601159=_0x32b48e;this[_0x601159(0x204)]&&clearTimeout(this['_hideTimer']),this[_0x601159(0x204)]=setTimeout(()=>{const _0x1f4e31=_0x601159;this[_0x1f4e31(0x265)]=!0x1;},0x7d0);});return()=>{const _0x41f13f=_0x32b48e;_0x22d432[_0x41f13f(0x406)](),_0x1e4627[_0x41f13f(0x406)]();};}[_0x45d431(0x135)](_0x3261c9,_0x1aff12,_0xbc5a3c,_0x1972a3){const _0x309bc2=_0x45d431,_0x579631=new _0x4a3aef(_0x3261c9)[_0x309bc2(0x329)](0.2)[_0x309bc2(0x336)](),_0x33a025=new _0xefe9f4(Zo+_0x8b0f12[_0x309bc2(0x1dc)](Je),{'pointsGroup':_0x1aff12,'fill':_0x579631||_0x4e6a4f(_0x2490d2[_0x309bc2(0x25b)],0.2),'left':_0xbc5a3c,'top':_0x1972a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x309bc2(0x346)][_0x309bc2(0x182)](_0x33a025),this[_0x309bc2(0x418)][_0x309bc2(0x3fb)](_0x33a025,_0x5bc0cf);}[_0x45d431(0x501)](_0x394ec1,_0x3719fe,_0x592219,_0x232639){const _0x458450=_0x45d431,_0x22be5b=new _0x4a3aef(_0x394ec1)[_0x458450(0x329)](0.2)[_0x458450(0x336)](),_0x26a7f7=new _0xefe9f4(Qo+_0x8b0f12[_0x458450(0x1dc)](Je),{'pointsGroup':_0x3719fe,'fill':_0x22be5b||_0x4e6a4f(_0x2490d2['black'],0.2),'left':_0x592219,'top':_0x232639,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x458450(0x346)]['push'](_0x26a7f7),this[_0x458450(0x418)]['addObject'](_0x26a7f7,_0x5bc0cf);}[_0x45d431(0x4bd)](_0x1b669a){const _0x53c5ba=_0x1b669a[0x0],_0x3f7296=_0x53c5ba[0x0],_0x3e14b5=_0x53c5ba[0x2],{x:_0x2979ec,y:_0x57c6ec}=_0x3f7296,{x:_0x3ebcf0,y:_0x51ee2d}=_0x3e14b5;return{'left':_0x2979ec,'top':_0x57c6ec,'width':_0x3ebcf0-_0x2979ec,'height':_0x51ee2d-_0x57c6ec};}[_0x45d431(0x38f)](){const {scaleX:_0x2053ef,scaleY:_0x5e9173}=this['_scene']['getAncestorScale']();return Math['max'](_0x2053ef,_0x5e9173);}}var ia=Object[_0x45d431(0x4f8)],ra=Object['getOwnPropertyDescriptor'],na=(_0x4fc693,_0x359b40,_0xd1c2a2,_0xedc186)=>{const _0x5d8be2=_0x45d431;for(var _0x243409=_0xedc186>0x1?void 0x0:_0xedc186?ra(_0x359b40,_0xd1c2a2):_0x359b40,_0x11ebe0=_0x4fc693[_0x5d8be2(0xf0)]-0x1,_0x593013;_0x11ebe0>=0x0;_0x11ebe0--)(_0x593013=_0x4fc693[_0x11ebe0])&&(_0x243409=(_0xedc186?_0x593013(_0x359b40,_0xd1c2a2,_0x243409):_0x593013(_0x243409))||_0x243409);return _0xedc186&&_0x243409&&ia(_0x359b40,_0xd1c2a2,_0x243409),_0x243409;},ct=(_0x3d4f6c,_0x3622c5)=>(_0x139d57,_0x4efa04)=>_0x3622c5(_0x139d57,_0x4efa04,_0x3d4f6c);function _0x5144(_0xd49ee3,_0x161e66){const _0x31e66b=_0x31e6();return _0x5144=function(_0x5144e8,_0x2bb9e9){_0x5144e8=_0x5144e8-0xea;let _0x2ca40c=_0x31e66b[_0x5144e8];return _0x2ca40c;},_0x5144(_0xd49ee3,_0x161e66);}let cs=class extends _0x46da4c{constructor(_0x1fe946,_0x274949,_0x4c0944,_0x3841ee,_0x2788d9){const _0xdd0ff9=_0x45d431;super(),g(this,_0xdd0ff9(0x2f7),[]),g(this,_0xdd0ff9(0x42e),[]),(this['_context']=_0x1fe946,this[_0xdd0ff9(0x39f)]=_0x274949,this['_collabCursorController']=_0x4c0944,this['_commandService']=_0x3841ee,this[_0xdd0ff9(0x267)]=_0x2788d9,this[_0xdd0ff9(0x20b)]());}[_0x45d431(0x20b)](){const _0x2097c4=_0x45d431,_0x207fba=this[_0x2097c4(0x4e4)]['unitId'],_0x219b6c=this[_0x2097c4(0x39f)];this[_0x2097c4(0x20f)](_0x1eec2f([this[_0x2097c4(0x41f)][_0x2097c4(0x2f6)](_0x207fba),this[_0x2097c4(0x267)][_0x2097c4(0x275)]])[_0x2097c4(0x476)](_0x29f8ca(([_0xbea42e,_0x1442f8])=>({'skeleton':_0x219b6c['getSkeleton'](),'cursors':[..._0xbea42e[_0x2097c4(0x2c5)]()]['flatMap'](_0x42e521=>({..._0x42e521,'color':_0x1442f8[_0x42e521['color']]}))})))[_0x2097c4(0x23d)](_0x4dd67a=>{if(this['_removeCollabCursors'](),_0x4dd67a){const {skeleton:_0x613d9,cursors:_0xd976c5}=_0x4dd67a;this['_updateCollabCursors'](_0x613d9,_0xd976c5);}})),this[_0x2097c4(0x34f)](),this[_0x2097c4(0x4d3)]();}[_0x45d431(0x4f6)](_0x23bd2e,_0x3a5bad){const _0x5b59ed=_0x45d431,{scene:_0x3eaf01,mainComponent:_0x2675d6}=this[_0x5b59ed(0x4e4)],_0x481684=_0x3a5bad[_0x5b59ed(0x1fc)](_0x17e066=>new Zs(_0x17e066,_0x3eaf01,_0x23bd2e,_0x2675d6));this[_0x5b59ed(0x2f7)]=_0x481684,this['_cursors']=_0x3a5bad;}[_0x45d431(0xeb)](){const _0x3aebc5=_0x45d431;this[_0x3aebc5(0x199)]();const {scene:_0x2fbb6d,mainComponent:_0x393055}=this['_context'],_0x3d7a53=this[_0x3aebc5(0x39f)]['getSkeleton'](),_0x625e9f=this['_cursors'][_0x3aebc5(0x1fc)](_0x2c7dcc=>new Zs(_0x2c7dcc,_0x2fbb6d,_0x3d7a53,_0x393055));this[_0x3aebc5(0x2f7)]=_0x625e9f;}[_0x45d431(0x199)](){const _0x5c5fd4=_0x45d431;this[_0x5c5fd4(0x2f7)][_0x5c5fd4(0x4dd)](_0x1fb620=>_0x1fb620[_0x5c5fd4(0x23a)]()),this[_0x5c5fd4(0x2f7)]=[];}[_0x45d431(0x4d3)](){const _0x9b7be3=_0x45d431,_0x382d37=[_0x31cbee['id']];this['disposeWithMe'](this['_commandService'][_0x9b7be3(0x48d)](_0x5b02d7=>{const _0x3b097a=_0x9b7be3;_0x382d37[_0x3b097a(0x405)](_0x5b02d7['id'])&&_0x5b02d7[_0x3b097a(0x46f)][_0x3b097a(0x310)]===this[_0x3b097a(0x4e4)][_0x3b097a(0x310)]&&this['_refreshCollabCursors']();}));}[_0x45d431(0x34f)](){const _0x2cf837=_0x45d431;this[_0x2cf837(0x20f)](_0x5d5aee(this['_context']['engine'][_0x2cf837(0x2bd)])['pipe'](_0x4cca68(_0x5aefd2=>_0x5aefd2['type']===_0x27a745['resize']),_0x5db531(0x10))[_0x2cf837(0x23d)](()=>{const _0x4d7fe3=_0x2cf837;this[_0x4d7fe3(0xeb)]();}));}};cs=na([ct(0x1,_0x35b6a2(_0xb3da8)),ct(0x2,_0x35b6a2(Ve)),ct(0x3,_0x66b6aa),ct(0x4,_0x35b6a2(_0x3871ac))],cs);const oa=0x1,aa=1.5;class ca extends _0x43b8c6{constructor(_0x246988,_0x3a14bc){const _0x115670=_0x45d431;super(_0x246988,_0x3a14bc),g(this,_0x115670(0x106)),g(this,_0x115670(0x143),!0x1),g(this,_0x115670(0x1e2)),g(this,_0x115670(0x164),''),g(this,_0x115670(0x4c0),_0x115670(0xee)),g(this,_0x115670(0x2e1)),(_0x3a14bc&&this[_0x115670(0x219)](_0x3a14bc),this[_0x115670(0x3f6)][_0x115670(0x4ed)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x115670(0x3d9)][_0x115670(0x4ed)](()=>this[_0x115670(0x219)]({'hovered':!0x1})));}[_0x45d431(0x219)](_0x24470d){const _0x1cd030=_0x45d431;var _0x15c674,_0x26df52,_0x4ffec1,_0x99eb04,_0x3592b4,_0x5b52a5;this['_color']=(_0x15c674=_0x24470d[_0x1cd030(0x266)])!=null?_0x15c674:this[_0x1cd030(0x106)],this['_hovered']=(_0x26df52=_0x24470d[_0x1cd030(0x322)])!=null?_0x26df52:this[_0x1cd030(0x143)],this['_range']=(_0x4ffec1=_0x24470d[_0x1cd030(0x37e)])!=null?_0x4ffec1:this['_range'],this[_0x1cd030(0x164)]=(_0x99eb04=_0x24470d[_0x1cd030(0x373)])!=null?_0x99eb04:this[_0x1cd030(0x164)],this[_0x1cd030(0x4c0)]=(_0x3592b4=_0x24470d[_0x1cd030(0x15f)])!=null?_0x3592b4:this[_0x1cd030(0x4c0)],this[_0x1cd030(0x2e1)]=(_0x5b52a5=_0x24470d[_0x1cd030(0x303)])!=null?_0x5b52a5:this['_backgroundColor'],this['transformByState']({'width':_0x24470d['width'],'height':_0x24470d[_0x1cd030(0x151)]});}[_0x45d431(0x1c2)](_0x56e35d){const _0x386bf2=_0x45d431,{row:_0x15f661,column:_0x1919c1}=_0x56e35d;if(_0x15f661>=this[_0x386bf2(0x1e2)][_0x386bf2(0x3c3)]&&_0x15f661<=this['_range']['endRow']&&_0x1919c1>=this[_0x386bf2(0x1e2)]['startColumn']&&_0x1919c1<=this[_0x386bf2(0x1e2)][_0x386bf2(0x47a)]){this[_0x386bf2(0x219)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2ec421){return!0x1;}[_0x45d431(0x262)](_0x5442ac){const _0x252fe3=_0x45d431;_0x328564[_0x252fe3(0x10a)](_0x5442ac,{'width':this[_0x252fe3(0x1b5)],'height':this[_0x252fe3(0x151)],'strokeWidth':aa,'stroke':this[_0x252fe3(0x106)],'evented':!0x1,'fill':this[_0x252fe3(0x2e1)]}),this['_hovered']&&(_0x5442ac['save'](),_0x5442ac['transform'](0x1,0x0,0x0,0x1,this[_0x252fe3(0x1b5)],this[_0x252fe3(0x4c0)]===_0x252fe3(0x19f)?0x0:-rt),wt[_0x252fe3(0x10a)](_0x5442ac,{'text':this[_0x252fe3(0x164)],'color':this[_0x252fe3(0x106)]}),_0x5442ac[_0x252fe3(0x226)]());}}var ha=Object[_0x45d431(0x4f8)],la=Object[_0x45d431(0x494)],_a=(_0x2f7237,_0x18ed3a,_0x1734be,_0x4aa746)=>{const _0x54075c=_0x45d431;for(var _0x1864bb=_0x4aa746>0x1?void 0x0:_0x4aa746?la(_0x18ed3a,_0x1734be):_0x18ed3a,_0x48e5f1=_0x2f7237[_0x54075c(0xf0)]-0x1,_0x574790;_0x48e5f1>=0x0;_0x48e5f1--)(_0x574790=_0x2f7237[_0x48e5f1])&&(_0x1864bb=(_0x4aa746?_0x574790(_0x18ed3a,_0x1734be,_0x1864bb):_0x574790(_0x1864bb))||_0x1864bb);return _0x4aa746&&_0x1864bb&&ha(_0x18ed3a,_0x1734be,_0x1864bb),_0x1864bb;},Ft=(_0x7b7394,_0x38ecaa)=>(_0x37a838,_0x2a92d4)=>_0x38ecaa(_0x37a838,_0x2a92d4,_0x7b7394);const ua=0x1389;let hs=class extends _0x46da4c{constructor(_0xa16868,_0x181974,_0x37f5ee,_0x10ac4a){const _0x28bea0=_0x45d431;super(),g(this,_0x28bea0(0x42e),new Set()),g(this,_0x28bea0(0x192),null),(this[_0x28bea0(0x4e4)]=_0xa16868,this['_sheetSkeletonManagerService']=_0x181974,this[_0x28bea0(0x41f)]=_0x37f5ee,this[_0x28bea0(0x267)]=_0x10ac4a,this[_0x28bea0(0x20b)]());}['_init'](){const _0x66ab60=_0x45d431;this['_sheetSkeletonManagerService'][_0x66ab60(0x163)]['pipe'](_0x57b5d2(this['dispose$']),_0x66715f(_0x1c0c29=>{const _0x11813a=_0x66ab60;if(_0x1c0c29){const _0x539f8d=_0x1c0c29[_0x11813a(0x48a)];return _0x1eec2f(this[_0x11813a(0x41f)]['getCollabCursors$'](this['_context'][_0x11813a(0x310)]),this[_0x11813a(0x267)][_0x11813a(0x275)])['pipe'](_0x29f8ca(([_0xc690c3,_0x821d5b])=>{const _0x48c92c=new Map();return _0xc690c3['forEach']((_0x5b0afd,_0x4bf54d)=>{const _0x2f3968=_0x5144;if(_0x5b0afd[_0x2f3968(0x28b)]===_0x539f8d){const _0x4e7648={..._0x5b0afd};_0x4e7648[_0x2f3968(0x266)]=_0x821d5b[_0x5b0afd[_0x2f3968(0x266)]],_0x48c92c[_0x2f3968(0x3eb)](_0x4bf54d,_0x4e7648);}}),{'skeleton':_0x1c0c29,'cursors':_0x48c92c};}));}return _0x134634({'skeleton':null,'cursors':new Map()});}))[_0x66ab60(0x23d)](({skeleton:_0x2024f7,cursors:_0x55d73a})=>{const _0x36fab4=_0x66ab60;this[_0x36fab4(0x199)](),_0x2024f7&&this[_0x36fab4(0x4f6)](_0x2024f7,_0x55d73a);}),this[_0x66ab60(0x239)][_0x66ab60(0x163)][_0x66ab60(0x23d)](_0x14e3f9=>{const _0x2a9975=_0x66ab60;if(_0x14e3f9==null)return;const {skeleton:_0x53626c}=_0x14e3f9,{scene:_0x2cc960}=this[_0x2a9975(0x4e4)];_0x2cc960['onPointerMove$']['subscribeEvent'](_0x49908a(_0x137d02=>{const _0x1bb4fe=_0x2a9975;var _0x388bfe,_0x1b9f07;const {offsetX:_0x4859a6,offsetY:_0x4ccb76}=_0x137d02,{x:_0x543357,y:_0x199937}=_0x2cc960[_0x1bb4fe(0x270)](_0x2b72e0[_0x1bb4fe(0x26d)]([_0x4859a6,_0x4ccb76])),{scaleX:_0x177355,scaleY:_0x5b883d}=_0x2cc960[_0x1bb4fe(0x334)](),_0xefaade=_0x2cc960['getViewport'](_0x56b217[_0x1bb4fe(0x16e)]),_0x12de88=_0x2cc960['getVpScrollXYInfoByPosToVp'](_0x2b72e0[_0x1bb4fe(0x26d)]([_0x543357,_0x199937]),_0xefaade),_0xe2333b=_0x53626c[_0x1bb4fe(0x3f5)](_0x4859a6,_0x4ccb76,_0x177355,_0x5b883d,_0x12de88);((_0x388bfe=this['_lastPointer'])==null?void 0x0:_0x388bfe[_0x1bb4fe(0x34a)])===_0xe2333b[_0x1bb4fe(0x34a)]&&((_0x1b9f07=this[_0x1bb4fe(0x192)])==null?void 0x0:_0x1b9f07[_0x1bb4fe(0x449)])===_0xe2333b[_0x1bb4fe(0x449)]||this['_cursors']['forEach'](_0x56a46f=>{_0x56a46f['onMouseMove'](_0xe2333b);});},0x64));});}[_0x45d431(0x4f6)](_0x21a2ef,_0x44e98d){const _0x29e797=_0x45d431;var _0xeee34d;const _0x1c2283=(_0xeee34d=this['_sheetSkeletonManagerService'][_0x29e797(0x509)]())==null?void 0x0:_0xeee34d[_0x29e797(0x460)];if(!_0x1c2283)return;const _0x36a586=this['_getSheetObject']();if(!_0x36a586)return;this['_cursors'][_0x29e797(0x4dd)](_0x1e8a38=>{const _0x21202e=_0x29e797;_0x1e8a38[_0x21202e(0x1b7)]();});const {scene:_0x46710e}=_0x36a586,_0x21d7f6=da(Array['from'](_0x44e98d[_0x29e797(0x2c5)]()))['map'](_0xa8ee40=>{const _0xc57d29=_0x29e797,{color:_0x298b92,range:_0x14ea1e,name:_0x43880a,selection:_0x31dcee,sheetID:_0x2b6ee1}=_0xa8ee40,{startColumn:_0xe47aea,startRow:_0x2e0569,endColumn:_0x6ac617,endRow:_0x1ccf44}=_0x14ea1e,_0x40fb8e=_0x1be3f7(_0x2e0569,_0xe47aea,_0x46710e,_0x1c2283),_0x8e83a2=_0x1be3f7(_0x1ccf44,_0x6ac617,_0x46710e,_0x1c2283),{columnHeaderHeightAndMarginTop:_0xa684f7}=_0x1c2283,{startX:_0x459dee,startY:_0x7299e7}=_0x40fb8e,{endX:_0x3238b5,endY:_0x278936}=_0x8e83a2,_0x5cbf36=_0x3238b5-_0x459dee,_0x3d1150=_0x278936-_0x7299e7,_0x39cf1d={'labelPosition':_0x7299e7-_0xa684f7>=rt?_0xc57d29(0xee):_0xc57d29(0x19f),'sheetID':_0x2b6ee1,'range':_0x14ea1e,'color':_0x298b92,'name':_0x43880a,'selection':_0x31dcee,'left':_0x459dee,'top':_0x7299e7,'width':_0x5cbf36,'height':_0x3d1150,'evented':!0x1,'zIndex':ua};return new ca(_0x43880a,_0x39cf1d);});_0x46710e[_0x29e797(0x47f)](_0x21d7f6,oa),this[_0x29e797(0x42e)]=new Set(_0x21d7f6);}[_0x45d431(0x199)](){const _0x2279d=_0x45d431;var _0x348b17;(_0x348b17=this[_0x2279d(0x42e)])==null||_0x348b17[_0x2279d(0x4dd)](_0x58b246=>_0x58b246['dispose']());}[_0x45d431(0x157)](){const _0x494eff=_0x45d431;return _0x4fffde(this[_0x494eff(0x4e4)][_0x494eff(0x364)],this[_0x494eff(0x4e4)]);}};hs=_a([Ft(0x1,_0x35b6a2(_0x4a91f5)),Ft(0x2,_0x35b6a2(Ve)),Ft(0x3,_0x35b6a2(_0x3871ac))],hs);function da(_0x420bc5){const _0x389af1=_0x45d431,_0x228e98=new Map();return _0x420bc5[_0x389af1(0x4dd)](_0x5f172a=>{const _0x14ad75=_0x389af1;if(_0x228e98[_0x14ad75(0x471)](_0x5f172a[_0x14ad75(0x14f)])){const _0xddc84f=_0x228e98['get'](_0x5f172a[_0x14ad75(0x14f)]);_0xddc84f[_0x14ad75(0x373)]+=',\x20'+_0x5f172a[_0x14ad75(0x373)];}else _0x228e98['set'](_0x5f172a[_0x14ad75(0x14f)],_0x5f172a);}),Array[_0x389af1(0x3f9)](_0x228e98[_0x389af1(0x2c5)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x5cab34){const _0x54d337=_0x45d431;return _0x5cab34&&_0x5cab34[_0x54d337(0x1d6)]&&Object[_0x54d337(0x419)][_0x54d337(0x26f)][_0x54d337(0x3f0)](_0x5cab34,_0x54d337(0x144))?_0x5cab34[_0x54d337(0x144)]:_0x5cab34;}var Bi={'exports':{}},Dt={},fa=_0x3e6f98,va=Symbol[_0x45d431(0x44e)](_0x45d431(0x3d5)),ma=Symbol[_0x45d431(0x44e)]('react.fragment'),pa=Object[_0x45d431(0x419)][_0x45d431(0x26f)],ga=fa[_0x45d431(0x493)]['ReactCurrentOwner'],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0x242ba3,_0x17050d,_0x2de6b1){const _0x320cbc=_0x45d431;var _0x5c9f89,_0x5726cf={},_0x304b25=null,_0x48fdbd=null;_0x2de6b1!==void 0x0&&(_0x304b25=''+_0x2de6b1),_0x17050d[_0x320cbc(0x295)]!==void 0x0&&(_0x304b25=''+_0x17050d[_0x320cbc(0x295)]),_0x17050d[_0x320cbc(0x2a8)]!==void 0x0&&(_0x48fdbd=_0x17050d['ref']);for(_0x5c9f89 in _0x17050d)pa[_0x320cbc(0x3f0)](_0x17050d,_0x5c9f89)&&!Sa[_0x320cbc(0x26f)](_0x5c9f89)&&(_0x5726cf[_0x5c9f89]=_0x17050d[_0x5c9f89]);if(_0x242ba3&&_0x242ba3[_0x320cbc(0x385)]){for(_0x5c9f89 in(_0x17050d=_0x242ba3[_0x320cbc(0x385)],_0x17050d))_0x5726cf[_0x5c9f89]===void 0x0&&(_0x5726cf[_0x5c9f89]=_0x17050d[_0x5c9f89]);}return{'$$typeof':va,'type':_0x242ba3,'key':_0x304b25,'ref':_0x48fdbd,'props':_0x5726cf,'_owner':ga[_0x320cbc(0x3da)]};}Dt[_0x45d431(0x4be)]=ma,Dt[_0x45d431(0x2b4)]=ki,Dt[_0x45d431(0x314)]=ki,Bi[_0x45d431(0x305)]=Dt;var Pe=Bi[_0x45d431(0x305)],se=function(){const _0x51de61=_0x45d431;return se=Object[_0x51de61(0x16b)]||function(_0x55f7a9){const _0x496b63=_0x51de61;for(var _0x48bca5,_0x16b442=0x1,_0x742b50=arguments[_0x496b63(0xf0)];_0x16b442<_0x742b50;_0x16b442++){_0x48bca5=arguments[_0x16b442];for(var _0x559b11 in _0x48bca5)Object['prototype'][_0x496b63(0x26f)]['call'](_0x48bca5,_0x559b11)&&(_0x55f7a9[_0x559b11]=_0x48bca5[_0x559b11]);}return _0x55f7a9;},se[_0x51de61(0x2a9)](this,arguments);},Ia=function(_0x1f1230,_0x50e3f8){const _0x2fa093=_0x45d431;var _0xeb6487={};for(var _0x3896b8 in _0x1f1230)Object[_0x2fa093(0x419)][_0x2fa093(0x26f)]['call'](_0x1f1230,_0x3896b8)&&_0x50e3f8[_0x2fa093(0x319)](_0x3896b8)<0x0&&(_0xeb6487[_0x3896b8]=_0x1f1230[_0x3896b8]);if(_0x1f1230!=null&&typeof Object[_0x2fa093(0x507)]==_0x2fa093(0x40b)){for(var _0x17fe73=0x0,_0x3896b8=Object['getOwnPropertySymbols'](_0x1f1230);_0x17fe73<_0x3896b8['length'];_0x17fe73++)_0x50e3f8['indexOf'](_0x3896b8[_0x17fe73])<0x0&&Object[_0x2fa093(0x419)]['propertyIsEnumerable']['call'](_0x1f1230,_0x3896b8[_0x17fe73])&&(_0xeb6487[_0x3896b8[_0x17fe73]]=_0x1f1230[_0x3896b8[_0x17fe73]]);}return _0xeb6487;},ys=_0xadd4fe(function(_0x3d3a80,_0x557dc2){const _0x2f746c=_0x45d431;var _0x4240da=_0x3d3a80[_0x2f746c(0x469)],_0x3ff61a=_0x3d3a80['id'],_0x368fb5=_0x3d3a80[_0x2f746c(0x153)],_0x4ea77c=_0x3d3a80[_0x2f746c(0x2c3)],_0x1ce381=Ia(_0x3d3a80,[_0x2f746c(0x469),'id',_0x2f746c(0x153),'extend']),_0x3a49d4=_0x2f746c(0x4e1)[_0x2f746c(0x4b5)](_0x3ff61a,'\x20')['concat'](_0x368fb5||'')[_0x2f746c(0x367)](),_0x3891b5=_0x390425('_'[_0x2f746c(0x4b5)](ba()));return Wi(_0x4240da,''[_0x2f746c(0x4b5)](_0x3ff61a),{'defIds':_0x4240da[_0x2f746c(0x3cb)],'idSuffix':_0x3891b5[_0x2f746c(0x3da)]},se({'ref':_0x557dc2,'className':_0x3a49d4},_0x1ce381),_0x4ea77c);});function Wi(_0xe19772,_0x20aab2,_0x3afb60,_0x5950da,_0x3a06c3){const _0x513d7b=_0x45d431;return _0x32125f(_0xe19772[_0x513d7b(0x1b8)],se(se({'key':_0x20aab2},Ca(_0xe19772,_0x3afb60,_0x3a06c3)),_0x5950da),(Ea(_0xe19772,_0x3afb60)[_0x513d7b(0x1b3)]||[])[_0x513d7b(0x1fc)](function(_0x4f711c,_0x4097ac){const _0x18eebf=_0x513d7b;return Wi(_0x4f711c,''['concat'](_0x20aab2,'-')[_0x18eebf(0x4b5)](_0xe19772['tag'],'-')[_0x18eebf(0x4b5)](_0x4097ac),_0x3afb60,void 0x0,_0x3a06c3);}));}function Ca(_0xce10d3,_0x3416d6,_0x2e4e97){const _0x48e22c=_0x45d431;var _0x4a55eb=se({},_0xce10d3[_0x48e22c(0x445)]);_0x2e4e97!=null&&_0x2e4e97[_0x48e22c(0x309)]&&_0x4a55eb[_0x48e22c(0x10b)]===_0x48e22c(0x309)&&(_0x4a55eb[_0x48e22c(0x10b)]=_0x2e4e97[_0x48e22c(0x309)]);var _0x4cd021=_0x3416d6[_0x48e22c(0x3cb)];return!_0x4cd021||_0x4cd021['length']===0x0||(_0xce10d3[_0x48e22c(0x1b8)]===_0x48e22c(0x185)&&_0x4a55eb[_0x48e22c(0x312)]&&(_0x4a55eb[_0x48e22c(0x312)]=_0x4a55eb[_0x48e22c(0x312)]+_0x3416d6[_0x48e22c(0x2da)]),Object['entries'](_0x4a55eb)['forEach'](function(_0x5ad9a2){const _0x1f068d=_0x48e22c;var _0x289b29=_0x5ad9a2[0x0],_0x5366ed=_0x5ad9a2[0x1];typeof _0x5366ed==_0x1f068d(0x101)&&(_0x4a55eb[_0x289b29]=_0x5366ed['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1f068d(0x4b5)](_0x3416d6[_0x1f068d(0x2da)],')')));})),_0x4a55eb;}function Ea(_0x2862c1,_0x6a0e18){const _0x1a9687=_0x45d431;var _0x35621b,_0x1a1bb5=_0x6a0e18[_0x1a9687(0x3cb)];return!_0x1a1bb5||_0x1a1bb5[_0x1a9687(0xf0)]===0x0?_0x2862c1:_0x2862c1['tag']===_0x1a9687(0x27d)&&(!((_0x35621b=_0x2862c1['children'])===null||_0x35621b===void 0x0)&&_0x35621b[_0x1a9687(0xf0)])?se(se({},_0x2862c1),{'children':_0x2862c1[_0x1a9687(0x1b3)][_0x1a9687(0x1fc)](function(_0x58ffe5){const _0x54b62a=_0x1a9687;return typeof _0x58ffe5[_0x54b62a(0x445)]['id']==_0x54b62a(0x101)&&_0x1a1bb5&&_0x1a1bb5['indexOf'](_0x58ffe5[_0x54b62a(0x445)]['id'])>-0x1?se(se({},_0x58ffe5),{'attrs':se(se({},_0x58ffe5['attrs']),{'id':_0x58ffe5[_0x54b62a(0x445)]['id']+_0x6a0e18['idSuffix']})}):_0x58ffe5;})}):_0x2862c1;}function ba(){const _0x31ce11=_0x45d431;return Math[_0x31ce11(0x1c9)]()[_0x31ce11(0x117)](0x24)[_0x31ce11(0x27e)](0x2,0x8);}ys['displayName']=_0x45d431(0x40e);var Ta={'tag':_0x45d431(0x41e),'attrs':{'fill':_0x45d431(0x439),'viewBox':_0x45d431(0x38e),'width':_0x45d431(0x12c),'height':_0x45d431(0x12c)},'children':[{'tag':'g','attrs':{'clipPath':_0x45d431(0x146)},'children':[{'tag':_0x45d431(0x37d),'attrs':{'stroke':'currentColor','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':_0x45d431(0x292),'strokeLinejoin':_0x45d431(0x292),'strokeWidth':1.2}}]},{'tag':_0x45d431(0x27d),'attrs':{},'children':[{'tag':_0x45d431(0x26b),'attrs':{'id':_0x45d431(0x491)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x45d431(0x491)]},Fi=_0xadd4fe(function(_0x3b48e4,_0x4b8e25){const _0xab9782=_0x45d431;return _0x32125f(ys,Object[_0xab9782(0x16b)]({},_0x3b48e4,{'id':'off-line-single','ref':_0x4b8e25,'icon':Ta}));});Fi[_0x45d431(0x363)]=_0x45d431(0x3e2);var Ra={'tag':_0x45d431(0x41e),'attrs':{'fill':_0x45d431(0x439),'viewBox':_0x45d431(0x2d3),'width':_0x45d431(0x12c),'height':_0x45d431(0x12c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x45d431(0x37d),'attrs':{'stroke':_0x45d431(0x3e1),'d':_0x45d431(0x1f2),'strokeLinecap':_0x45d431(0x292),'strokeLinejoin':_0x45d431(0x292),'strokeWidth':1.2}}]},{'tag':_0x45d431(0x27d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x45d431(0x43f),'d':_0x45d431(0x1ca),'transform':'translate(.97)'}}]}]}],'defIds':[_0x45d431(0x4bf)]},Vi=_0xadd4fe(function(_0x11ffb2,_0x480e48){const _0x2380f2=_0x45d431;return _0x32125f(ys,Object[_0x2380f2(0x16b)]({},_0x11ffb2,{'id':_0x2380f2(0x2fd),'ref':_0x480e48,'icon':Ra}));});Vi['displayName']=_0x45d431(0x36b);function Gi(_0x48a265){const _0x2e1884=_0x45d431;var _0x13e3fe,_0x34531c,_0x268e28='';if(typeof _0x48a265==_0x2e1884(0x101)||typeof _0x48a265==_0x2e1884(0xf1))_0x268e28+=_0x48a265;else{if(typeof _0x48a265==_0x2e1884(0x4ef)){if(Array[_0x2e1884(0x496)](_0x48a265)){var _0x5986b4=_0x48a265['length'];for(_0x13e3fe=0x0;_0x13e3fe<_0x5986b4;_0x13e3fe++)_0x48a265[_0x13e3fe]&&(_0x34531c=Gi(_0x48a265[_0x13e3fe]))&&(_0x268e28&&(_0x268e28+='\x20'),_0x268e28+=_0x34531c);}else{for(_0x34531c in _0x48a265)_0x48a265[_0x34531c]&&(_0x268e28&&(_0x268e28+='\x20'),_0x268e28+=_0x34531c);}}}return _0x268e28;}function Oa(){for(var _0xa41f41,_0x3e0a91,_0x399f34=0x0,_0x542388='',_0x5b1f2b=arguments['length'];_0x399f34<_0x5b1f2b;_0x399f34++)(_0xa41f41=arguments[_0x399f34])&&(_0x3e0a91=Gi(_0xa41f41))&&(_0x542388&&(_0x542388+='\x20'),_0x542388+=_0x3e0a91);return _0x542388;}const ya=_0x45d431(0x4c8),wa=_0x45d431(0x35e),Da=_0x45d431(0x23b),Pa=_0x45d431(0x49e),Ua=_0x45d431(0x28f),Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x1277bd){const _0x968940=_0x45d431;switch(_0x1277bd){case J['OFFLINE']:return'collabStatus.offline';case J[_0x968940(0x48b)]:return _0x968940(0x1ea);case J[_0x968940(0x21e)]:return _0x968940(0x1c3);case J[_0x968940(0x376)]:return _0x968940(0x2e4);case J[_0x968940(0x193)]:case J['AWAITING_WITH_PENDING']:return _0x968940(0x16f);case J[_0x968940(0x2c6)]:case J['PENDING']:return'collabStatus.synced';}}function Aa(_0x396ad4){const _0x2762ab=_0x45d431,{status$:_0x23596c}=_0x396ad4,_0x35d6a6=_0x2a3a1c(_0x23596c,J[_0x2762ab(0x376)]),_0x2a8a4c=_0x1645c2(_0x31b970),_0x383c09=_0x1645c2(xe),_0x1487e4=_0x35d6a6!==J[_0x2762ab(0x40c)],_0x4c6afe=_0x2a8a4c['t'](Na(_0x35d6a6)),_0x358157=Oa(Ze['onlineStatus'],{[Ze[_0x2762ab(0x3d6)]]:_0x1487e4,[Ze[_0x2762ab(0x158)]]:!_0x1487e4}),_0x172888=_0x1487e4?Pe[_0x2762ab(0x2b4)](Vi,{}):Pe[_0x2762ab(0x2b4)](Fi,{}),_0x21d936=_0x4b842d(()=>{_0x1487e4||_0x383c09['reconnect']();},[_0x1487e4,_0x383c09]);function _0x4aca64(){const _0x49a753=_0x2762ab;return Pe[_0x49a753(0x314)](_0x49a753(0x32e),{'className':_0x358157,'onClick':_0x21d936,'children':[Pe[_0x49a753(0x2b4)](_0x49a753(0x32e),{'className':Ze['onlineStatusIcon'],'children':_0x172888}),Pe[_0x49a753(0x2b4)]('div',{'className':Ze[_0x49a753(0x2e9)],'children':_0x4c6afe})]});}return _0x1487e4?_0x4aca64():Pe[_0x2762ab(0x2b4)](_0xf929fa,{'title':_0x2a8a4c['t']('collab-client.tooltip.reconnect'),'children':_0x4aca64()});}var Ma=Object[_0x45d431(0x4f8)],xa=Object['getOwnPropertyDescriptor'],La=(_0x215959,_0x2f6481,_0x254155,_0xa8615d)=>{const _0x3d0cdc=_0x45d431;for(var _0xb28057=_0xa8615d>0x1?void 0x0:_0xa8615d?xa(_0x2f6481,_0x254155):_0x2f6481,_0x59f167=_0x215959[_0x3d0cdc(0xf0)]-0x1,_0x2ebe48;_0x59f167>=0x0;_0x59f167--)(_0x2ebe48=_0x215959[_0x59f167])&&(_0xb28057=(_0xa8615d?_0x2ebe48(_0x2f6481,_0x254155,_0xb28057):_0x2ebe48(_0xb28057))||_0xb28057);return _0xa8615d&&_0xb28057&&Ma(_0x2f6481,_0x254155,_0xb28057),_0xb28057;},ht=(_0x1faf2f,_0x25c2a2)=>(_0x1b59b5,_0x26359a)=>_0x25c2a2(_0x1b59b5,_0x26359a,_0x1faf2f);let Ct=class extends _0x4f1548{constructor(_0x3af65b,_0x10fde7,_0x1ce812,_0xc3fa8e){const _0x335df2=_0x45d431;super(),g(this,_0x335df2(0x285),new _0x1117fe(J[_0x335df2(0x376)])),(this[_0x335df2(0x2e5)]=_0x3af65b,this['_uiPartsService']=_0x10fde7,this[_0x335df2(0x3f7)]=_0x1ce812,this[_0x335df2(0x2b3)]=_0xc3fa8e,this[_0x335df2(0x2b2)](),this[_0x335df2(0x428)]());}[_0x45d431(0x428)](){const _0x10a2de=_0x45d431;this['disposeWithMe'](this[_0x10a2de(0x2e5)][_0x10a2de(0x339)][_0x10a2de(0x476)](_0x590c63(()=>{const _0x441967=_0x10a2de,_0x2c06f6=this[_0x441967(0x2e5)][_0x441967(0x4f9)]();return _0x2c06f6?this[_0x441967(0x2b3)]['getCollabEntity$'](_0x2c06f6[_0x441967(0x2ca)]()):_0x134634(null);}),_0x590c63(_0x4124a8=>_0x4124a8?_0x4124a8[_0x10a2de(0x208)]:_0x134634(J[_0x10a2de(0x376)])))[_0x10a2de(0x23d)](_0x41a28a=>{const _0x5e4109=_0x10a2de;this[_0x5e4109(0x285)][_0x5e4109(0x11b)](_0x41a28a);}));}[_0x45d431(0x2b2)](){const _0x4ac1d6=_0x45d431;this[_0x4ac1d6(0x20f)](this[_0x4ac1d6(0x40d)]['registerComponent'](_0x140065[_0x4ac1d6(0x134)],()=>_0x2eef45($a({'status$':this[_0x4ac1d6(0x285)][_0x4ac1d6(0x1bc)]()}),this[_0x4ac1d6(0x3f7)])));}};Ct=La([ht(0x0,_0x47d1bd),ht(0x1,_0x33e59d),ht(0x2,_0x35b6a2(_0xaaab92)),ht(0x3,_0x35b6a2(it))],Ct);function $a(_0x38a9fd){const {status$:_0x1e31d3}=_0x38a9fd;return function(){const _0x1ef5f0=_0x5144;return Pe[_0x1ef5f0(0x2b4)](Aa,{'status$':_0x1e31d3});};}const Yi=_0x590062(_0x45d431(0x37f));var Ha=Object[_0x45d431(0x4f8)],ja=Object[_0x45d431(0x494)],Ba=(_0x2f5888,_0x5c5605,_0x449033,_0x35d3d4)=>{for(var _0x2a5764=_0x35d3d4>0x1?void 0x0:_0x35d3d4?ja(_0x5c5605,_0x449033):_0x5c5605,_0x35158f=_0x2f5888['length']-0x1,_0x294c78;_0x35158f>=0x0;_0x35158f--)(_0x294c78=_0x2f5888[_0x35158f])&&(_0x2a5764=(_0x35d3d4?_0x294c78(_0x5c5605,_0x449033,_0x2a5764):_0x294c78(_0x2a5764))||_0x2a5764);return _0x35d3d4&&_0x2a5764&&Ha(_0x5c5605,_0x449033,_0x2a5764),_0x2a5764;},ke=(_0x3df70a,_0x44bb69)=>(_0x3387f7,_0x520344)=>_0x44bb69(_0x3387f7,_0x520344,_0x3df70a);let Et=class extends _0x46da4c{constructor(_0x492904,_0x553aa6,_0x2f6a82,_0xa296d8,_0x38cfff,_0x443c1b){const _0x5c2e7c=_0x45d431;super(),this[_0x5c2e7c(0x11d)]=_0x492904,this[_0x5c2e7c(0x137)]=_0x553aa6,this[_0x5c2e7c(0x198)]=_0x2f6a82,this[_0x5c2e7c(0x342)]=_0xa296d8,this[_0x5c2e7c(0xea)]=_0x38cfff,_0x443c1b?_0x443c1b==null||_0x443c1b[_0x5c2e7c(0x3d3)]()['then'](()=>this[_0x5c2e7c(0x20b)]()):(this[_0x5c2e7c(0x137)][_0x5c2e7c(0x391)](_0x5c2e7c(0x242),_0x5c2e7c(0x442)),this[_0x5c2e7c(0x20b)]());}async[_0x45d431(0x20b)](){const _0x2c7d88=_0x45d431,_0x3d4dc0=this[_0x2c7d88(0x11d)][_0x2c7d88(0x1ef)]('unit'),_0x1c0768=this[_0x2c7d88(0x11d)][_0x2c7d88(0x1ef)](_0x2c7d88(0x118));if(!_0x3d4dc0||!_0x1c0768){this['_logService'][_0x2c7d88(0x391)](_0x2c7d88(0x242),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x1c0768)){case ce[_0x2c7d88(0x33c)]:{const _0x216a60=await this[_0x2c7d88(0x362)](_0x3d4dc0);this['_setupSubUnitSync'](_0x216a60);break;}case ce[_0x2c7d88(0x258)]:{await this[_0x2c7d88(0x46d)](_0x3d4dc0);break;}default:{this[_0x2c7d88(0x137)][_0x2c7d88(0x299)](_0x2c7d88(0x242),_0x2c7d88(0x24d));break;}}}async[_0x45d431(0x191)](_0x4a83ed){const _0x187b44=_0x45d431;await this[_0x187b44(0x444)](_0x4a83ed),_0x4a83ed[_0x187b44(0x378)][_0x187b44(0x476)](_0x53c58e(this[_0x187b44(0x425)]))['subscribe'](_0x25714d=>{const _0x2a54af=_0x187b44;_0x25714d&&this[_0x2a54af(0x16a)](_0x25714d);}),this[_0x187b44(0x11d)][_0x187b44(0x330)][_0x187b44(0x476)](_0x53c58e(this[_0x187b44(0x425)]))['subscribe'](()=>this[_0x187b44(0x444)](_0x4a83ed));}['_updateURLWithCurrentState'](_0x304415,_0x47807a=!0x1){const _0xdffd30=_0x45d431,_0xc2e5af=this[_0xdffd30(0x11d)][_0xdffd30(0x1ef)]('subunit');_0x304415[_0xdffd30(0x1f0)]()!==_0xc2e5af&&this[_0xdffd30(0x11d)][_0xdffd30(0x17b)]('subunit',_0x304415['getSheetId'](),_0x47807a);}async[_0x45d431(0x444)](_0x5a73f2){const _0x4c644a=_0x45d431;var _0x571f26;const _0x3ef32c=this[_0x4c644a(0x11d)][_0x4c644a(0x1ef)](_0x4c644a(0x14e));if(!_0x3ef32c||!_0x5a73f2[_0x4c644a(0x368)](_0x3ef32c)){const _0x489562=_0x5a73f2['getUnhiddenWorksheets']()[0x0],_0x1ab51b=_0x5a73f2[_0x4c644a(0x368)](_0x489562);if(!_0x1ab51b)return;this['_updateURLWithCurrentState'](_0x1ab51b,!0x0),await this['_commandService'][_0x4c644a(0x360)](_0x1b360f['id'],{'unitId':_0x5a73f2['getUnitId'](),'subUnitId':_0x489562});return;}((_0x571f26=_0x5a73f2[_0x4c644a(0x503)]())==null?void 0x0:_0x571f26[_0x4c644a(0x1f0)]())!==_0x3ef32c&&await this[_0x4c644a(0x198)][_0x4c644a(0x360)](_0x1b360f['id'],{'unitId':_0x5a73f2[_0x4c644a(0x2ca)](),'subUnitId':_0x3ef32c});}async['_loadSheet'](_0x4a8018){const _0x37efc2=_0x45d431;let _0x2b2604=0x0;const _0x7b224a=await this[_0x37efc2(0x342)][_0x37efc2(0x2f8)](_0x4a8018);return _0x7b224a&&(_0x7b224a[_0x37efc2(0x50a)]||_0x7b224a[_0x37efc2(0x4fc)][_0x37efc2(0xf0)]!==0x0)&&(_0x2b2604=_0x7b224a[_0x37efc2(0x337)]),_0x2b2604===0x0&&this['_logService'][_0x37efc2(0x391)]('[DataLoaderController]',_0x37efc2(0x166)),this['_snapshotService'][_0x37efc2(0x1e4)](_0x4a8018,_0x2b2604);}async['_loadDoc'](_0x390023){const _0x11a911=_0x45d431;let _0x91e57b=0x0;const _0x233b1f=await this[_0x11a911(0x342)][_0x11a911(0x2f8)](_0x390023);return _0x233b1f&&(_0x233b1f[_0x11a911(0x50a)]||_0x233b1f[_0x11a911(0x4fc)][_0x11a911(0xf0)]!==0x0)&&(_0x91e57b=_0x233b1f[_0x11a911(0x337)]),_0x91e57b===0x0&&this['_logService'][_0x11a911(0x391)](_0x11a911(0x242),_0x11a911(0x166)),this[_0x11a911(0xea)][_0x11a911(0x39b)](_0x390023,_0x91e57b);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0xce7964),ke(0x2,_0x66b6aa),ke(0x3,_0x35b6a2(q)),ke(0x4,_0x35b6a2(_0x45b448)),ke(0x5,_0x5cecc9(_0x4a4038))],Et);var ka=Object[_0x45d431(0x4f8)],Wa=Object[_0x45d431(0x494)],Fa=(_0x561eab,_0x1f23dc,_0x10ed08,_0x354d8a)=>{const _0x4b42bb=_0x45d431;for(var _0x5a427c=_0x354d8a>0x1?void 0x0:_0x354d8a?Wa(_0x1f23dc,_0x10ed08):_0x1f23dc,_0x53c648=_0x561eab[_0x4b42bb(0xf0)]-0x1,_0x2d7cce;_0x53c648>=0x0;_0x53c648--)(_0x2d7cce=_0x561eab[_0x53c648])&&(_0x5a427c=(_0x354d8a?_0x2d7cce(_0x1f23dc,_0x10ed08,_0x5a427c):_0x2d7cce(_0x5a427c))||_0x5a427c);return _0x354d8a&&_0x5a427c&&ka(_0x1f23dc,_0x10ed08,_0x5a427c),_0x5a427c;},Qs=(_0x16408d,_0x38c98d)=>(_0x5b27ac,_0x519329)=>_0x38c98d(_0x5b27ac,_0x519329,_0x16408d);const Va=_0x45d431(0x2cd),Ga=_0x45d431(0x37a);let bt=class extends _0x4f1548{constructor(_0x5b62ec,_0x4754f1){const _0x2ad83b=_0x45d431;super(),this[_0x2ad83b(0x2e5)]=_0x5b62ec,this['_configService']=_0x4754f1,this[_0x2ad83b(0x20b)]();}[_0x45d431(0x20b)](){const _0x27f6b0=_0x45d431;this[_0x27f6b0(0x20f)](this['_univerInstanceService'][_0x27f6b0(0x339)]['subscribe'](()=>{const _0x292b40=_0x27f6b0;var _0x2f4823;const _0xd25e9f=this[_0x292b40(0x2e5)][_0x292b40(0x4f9)]();let _0x1f668b=(_0x2f4823=this[_0x292b40(0x168)][_0x292b40(0x3e4)](Va))!=null?_0x2f4823:Ga;_0xd25e9f instanceof _0x576a03&&(_0x1f668b=_0xd25e9f[_0x292b40(0x373)]),document[_0x292b40(0x3d1)]=_0x1f668b;}));}};bt=Fa([Qs(0x0,_0x47d1bd),Qs(0x1,_0x360b05)],bt);var Ya=Object[_0x45d431(0x4f8)],Ka=Object[_0x45d431(0x494)],za=(_0x515c05,_0x3d7f08,_0x4eb900,_0x104bfd)=>{const _0x57bd37=_0x45d431;for(var _0x1e32b0=_0x104bfd>0x1?void 0x0:_0x104bfd?Ka(_0x3d7f08,_0x4eb900):_0x3d7f08,_0x4a37ed=_0x515c05[_0x57bd37(0xf0)]-0x1,_0x39eb19;_0x4a37ed>=0x0;_0x4a37ed--)(_0x39eb19=_0x515c05[_0x4a37ed])&&(_0x1e32b0=(_0x104bfd?_0x39eb19(_0x3d7f08,_0x4eb900,_0x1e32b0):_0x39eb19(_0x1e32b0))||_0x1e32b0);return _0x104bfd&&_0x1e32b0&&Ya(_0x3d7f08,_0x4eb900,_0x1e32b0),_0x1e32b0;},Vt=(_0xfb4a1,_0x5c2776)=>(_0x27f767,_0x5bf5bc)=>_0x5c2776(_0x27f767,_0x5bf5bc,_0xfb4a1);let Tt=class{constructor(_0x25a284,_0xd25e4e,_0x4d2f47){const _0x5c8d09=_0x45d431;this[_0x5c8d09(0x168)]=_0x25a284,this[_0x5c8d09(0x122)]=_0xd25e4e,this[_0x5c8d09(0x1e6)]=_0x4d2f47,this[_0x5c8d09(0x3de)]();}['init'](){const _0x558656=_0x45d431;this['_httpService'][_0x558656(0x39c)]({'priority':0x1,'interceptor':(_0x1ae526,_0xd91ad8)=>_0xd91ad8(_0x1ae526)['pipe'](_0x2b8903(async _0x1d2f68=>{const _0x45a150=_0x558656,_0x396cdd=_0x1d2f68;if(_0x396cdd['status']===0x191&&window[_0x45a150(0x22f)](this[_0x45a150(0x1e6)]['t'](_0x45a150(0x2b5)))){const _0x14949c=window[_0x45a150(0x4ff)](window[_0x45a150(0x49c)][_0x45a150(0x130)]);window[_0x45a150(0x49c)][_0x45a150(0x130)]=this[_0x45a150(0x36a)]()+'?url='+_0x14949c;}return _0x396cdd;}))});}['_getLoginPath'](){const _0x25814e=_0x45d431;var _0x559f1b,_0x33a6ec;const _0x30c9d6=this['_configService']['getConfig'](Nn),_0x12c51d=this[_0x25814e(0x168)][_0x25814e(0x3e4)](ee);return(_0x33a6ec=(_0x559f1b=_0x12c51d==null?void 0x0:_0x12c51d[_0x25814e(0x388)])!=null?_0x559f1b:_0x30c9d6)!=null?_0x33a6ec:An;}};Tt=za([Vt(0x0,_0x360b05),Vt(0x1,_0x35b6a2(_0xa83f3b)),Vt(0x2,_0x35b6a2(_0x31b970))],Tt);var qa=Object[_0x45d431(0x4f8)],Xa=Object[_0x45d431(0x494)],Ja=(_0x1c9666,_0x21d0f2,_0x18a598,_0x292f26)=>{const _0x3b6dd9=_0x45d431;for(var _0xade5ba=_0x292f26>0x1?void 0x0:_0x292f26?Xa(_0x21d0f2,_0x18a598):_0x21d0f2,_0x2c106d=_0x1c9666[_0x3b6dd9(0xf0)]-0x1,_0x34d2e1;_0x2c106d>=0x0;_0x2c106d--)(_0x34d2e1=_0x1c9666[_0x2c106d])&&(_0xade5ba=(_0x292f26?_0x34d2e1(_0x21d0f2,_0x18a598,_0xade5ba):_0x34d2e1(_0xade5ba))||_0xade5ba);return _0x292f26&&_0xade5ba&&qa(_0x21d0f2,_0x18a598,_0xade5ba),_0xade5ba;},ei=(_0x20ec44,_0x53682c)=>(_0x4022d0,_0x112df9)=>_0x53682c(_0x4022d0,_0x112df9,_0x20ec44);const Ki=_0x45d431(0x4da),Za=_0x45d431(0x4a8);let ls=class extends _0x4f1548{constructor(_0x40594f,_0x1dd67f){const _0x25f0c7=_0x45d431;super(),this[_0x25f0c7(0x1f4)]=_0x40594f,this[_0x25f0c7(0x168)]=_0x1dd67f,this[_0x25f0c7(0x264)]();}[_0x45d431(0x264)](){const _0x249d3d=_0x45d431,_0x1fb81d=this;this[_0x249d3d(0x20f)](this[_0x249d3d(0x1f4)][_0x249d3d(0x39c)]({'priority':0x3e7,'interceptor':_0x2cc38a({'isMatch'(_0x2dd701){const _0x32e257=_0x249d3d;var _0x4e6d51;if(_0x2dd701['method']===_0x32e257(0x2cb)&&((_0x4e6d51=_0x2dd701[_0x32e257(0x4ea)])!=null&&_0x4e6d51[_0x32e257(0x3ce)])){const {objectID:_0x18b550,objectType:_0x3cc759}=_0x2dd701['requestParams']['body']||{};if(!_0x18b550||_0x3cc759===void 0x0)return!0x1;const _0x207907=_0x1fb81d['_getAPIPrefixPath']()+'/'+_0x3cc759+_0x32e257(0x2c7)+_0x18b550+'/allowed';if(_0x2dd701['url']===_0x207907)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4719fe){const _0xf84c32=_0x249d3d;var _0x34e37b;return(_0x34e37b=_0x4719fe[_0xf84c32(0x4ea)])==null?void 0x0:_0x34e37b[_0xf84c32(0x3ce)];},'mergeParamsToRequest'(_0x5d9b5f,_0x2d355b){const _0x26203b=_0x249d3d,_0x586acd=_0x1fb81d[_0x26203b(0x482)]()+_0x26203b(0x3a4),_0x3cc2f6=_0x5d9b5f['reduce']((_0x1e820a,_0x4818f3)=>{const {unitID:_0x389927,objectID:_0x4a2901,objectType:_0x2feee2,actions:_0x887c28}=_0x4818f3;return _0x1e820a[_0x389927]||(_0x1e820a[_0x389927]={}),_0x1e820a[_0x389927][_0x4a2901]||(_0x1e820a[_0x389927][_0x4a2901]={'objectID':_0x4a2901,'objectType':_0x2feee2,'actions':[]}),_0x1e820a[_0x389927][_0x4a2901]['actions']['push'](..._0x887c28),_0x1e820a;},{}),_0x3344e1=[];for(const _0x1843c3 in _0x3cc2f6)for(const _0x403f6f in _0x3cc2f6[_0x1843c3]){const {actions:_0x1d2ad3,objectType:_0x1738a9}=_0x3cc2f6[_0x1843c3][_0x403f6f],_0x2baf42=[...new Set(_0x1d2ad3)];_0x3344e1['push']({'unitID':_0x1843c3,'objectID':_0x403f6f,'objectType':_0x1738a9,'actions':_0x2baf42});}return new _0x3acb9f(_0x26203b(0x2cb),_0x586acd,{'headers':_0x2d355b['headers'],'withCredentials':_0x2d355b[_0x26203b(0x431)],'responseType':_0x2d355b[_0x26203b(0x4cb)],'body':{'requests':_0x3344e1}});}},{'distributeResult'(_0x37c6ff,_0x231b67){const _0x101e45=_0x249d3d,{objectActions:_0x2ac331}=_0x37c6ff;return _0x231b67[_0x101e45(0x1fc)](_0x24ce3c=>{const _0x353a73=_0x101e45,{unitID:_0x53c389,objectID:_0x547c86,actions:_0x52c784}=_0x24ce3c,_0x4b8d5c=_0x2ac331[_0x353a73(0x2de)](_0x13a410=>_0x13a410[_0x353a73(0x1b9)]===_0x53c389&&_0x13a410['objectID']===_0x547c86),_0x45826f=_0x52c784['map'](_0x19819c=>_0x4b8d5c==null?void 0x0:_0x4b8d5c['actions']['find'](_0x1f9a8f=>_0x1f9a8f['action']===_0x19819c))[_0x353a73(0x393)](_0x2f447e=>!!_0x2f447e);return{'config':_0x24ce3c,'result':{'actions':_0x45826f,'error':_0x37c6ff[_0x353a73(0x299)]}};});}})}));}[_0x45d431(0x482)](){const _0xe4c1c=_0x45d431;var _0x19d5a4,_0x301890;const _0x2ec217=this[_0xe4c1c(0x168)]['getConfig'](Ki),_0x191590=this[_0xe4c1c(0x168)][_0xe4c1c(0x3e4)](ee);return(_0x301890=(_0x19d5a4=_0x191590==null?void 0x0:_0x191590[_0xe4c1c(0x293)])!=null?_0x19d5a4:_0x2ec217)!=null?_0x301890:Za;}async[_0x45d431(0x387)](_0x6d12d8){const _0xcaee66=_0x45d431,_0x2fbd15=this['_getAPIPrefixPath']()+'/'+_0x6d12d8[_0xcaee66(0x4c5)]+_0xcaee66(0x44b);return(await this['_HTTPService'][_0xcaee66(0x3ca)](_0x2fbd15,{'body':_0x6d12d8}))[_0xcaee66(0x3ce)]['objectID']||'';}async[_0x45d431(0x4d4)](_0x1c7696){const _0x1b9244=_0x45d431,_0xf27cac=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x1b9244(0x1f4)]['post'](_0xf27cac,{'body':_0x1c7696}))['body'][_0x1b9244(0x369)];}async['update'](_0x1715fb){const _0x1bbaab=_0x45d431,_0x12e31a=this[_0x1bbaab(0x482)]()+'/'+_0x1715fb[_0x1bbaab(0x4c5)]+'/object/'+_0x1715fb['objectID'];await this[_0x1bbaab(0x1f4)][_0x1bbaab(0x311)](_0x12e31a,{'body':_0x1715fb});}async[_0x45d431(0x3a0)](_0x5a0084){const _0x1b4fae=_0x45d431,_0x1c85bc=this['_getAPIPrefixPath']()+'/'+_0x5a0084[_0x1b4fae(0x4c5)]+_0x1b4fae(0x2c7)+_0x5a0084[_0x1b4fae(0x46c)]+_0x1b4fae(0x23f);return(await this[_0x1b4fae(0x1f4)]['post'](_0x1c85bc,{'body':_0x5a0084}))[_0x1b4fae(0x3ce)]['actions'];}async[_0x45d431(0x21b)](_0x3a3c54){const _0x5f2447=_0x45d431,_0x43c419=this[_0x5f2447(0x482)]()+_0x5f2447(0x3a4);return(await this[_0x5f2447(0x1f4)][_0x5f2447(0x3ca)](_0x43c419,{'body':{'requests':_0x3a3c54}}))[_0x5f2447(0x3ce)][_0x5f2447(0x4ca)];}async['listRoles'](_0x576aa1){const _0x20041b=_0x45d431,_0x6c3636=this[_0x20041b(0x482)]()+'/'+_0x576aa1[_0x20041b(0x4c5)]+_0x20041b(0x32f),_0x16ab06=await this['_HTTPService'][_0x20041b(0x3ca)](_0x6c3636,{'body':_0x576aa1});return{'roles':_0x16ab06[_0x20041b(0x3ce)][_0x20041b(0x4f7)],'actions':_0x16ab06['body'][_0x20041b(0x3b4)]};}async[_0x45d431(0x3cd)](_0x14abba){const _0x5d3138=_0x45d431,_0x3fc182=this[_0x5d3138(0x482)]()+_0x5d3138(0xf7);await this[_0x5d3138(0x1f4)]['delete'](_0x3fc182,{'params':{'collaboratorID':_0x14abba[_0x5d3138(0x136)],'objectID':_0x14abba[_0x5d3138(0x46c)],'unitID':_0x14abba[_0x5d3138(0x1b9)]}});}async['updateCollaborator'](_0x2201df){const _0x5ec0ce=_0x45d431,_0x33da54=this[_0x5ec0ce(0x482)]()+_0x5ec0ce(0xf7);await this['_HTTPService'][_0x5ec0ce(0x2c9)](_0x33da54,{'body':_0x2201df});}async[_0x45d431(0x3ef)](_0x367727){const _0x168fbe=_0x45d431,_0x2e0a33=this['_getAPIPrefixPath']()+_0x168fbe(0xf7);await this[_0x168fbe(0x1f4)][_0x168fbe(0x3ca)](_0x2e0a33,{'body':_0x367727});}async[_0x45d431(0x2ac)](_0x5368af){const _0x37b925=_0x45d431,_0x440b2b=this[_0x37b925(0x482)]()+_0x37b925(0xf7);return(await this['_HTTPService'][_0x37b925(0x296)](_0x440b2b,{'params':{'objectID':_0x5368af[_0x37b925(0x46c)],'unitID':_0x5368af[_0x37b925(0x1b9)]}}))[_0x37b925(0x3ce)]['collaborators'];}async['putCollaborators'](_0x27be84){const _0x237151=_0x45d431,_0x550a94=this[_0x237151(0x482)]()+'/collaborator';await this[_0x237151(0x1f4)][_0x237151(0x311)](_0x550a94,{'body':_0x27be84});}};ls=Ja([ei(0x0,_0x35b6a2(_0xa83f3b)),ei(0x1,_0x35b6a2(_0x360b05))],ls);var zi={'exports':{}};function Qa(_0x521086){const _0x24048b=_0x45d431;throw new Error(_0x24048b(0x371)+_0x521086+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Gt={'exports':{}},ti;function ue(){const _0x45fae5=_0x45d431;return ti||(ti=0x1,function(_0x24f424,_0x276b4f){(function(_0x35eae,_0x63322e){const _0x93404b=_0x5144;_0x24f424[_0x93404b(0x305)]=_0x63322e();}(Z,function(){var _0x136855=_0x136855||function(_0xbca6a2,_0x792178){const _0x213b0e=_0x5144;var _0x3eeee5;if(typeof window<'u'&&window[_0x213b0e(0x3fd)]&&(_0x3eeee5=window['crypto']),typeof self<'u'&&self[_0x213b0e(0x3fd)]&&(_0x3eeee5=self[_0x213b0e(0x3fd)]),typeof globalThis<'u'&&globalThis[_0x213b0e(0x3fd)]&&(_0x3eeee5=globalThis[_0x213b0e(0x3fd)]),!_0x3eeee5&&typeof window<'u'&&window['msCrypto']&&(_0x3eeee5=window['msCrypto']),!_0x3eeee5&&typeof Z<'u'&&Z[_0x213b0e(0x3fd)]&&(_0x3eeee5=Z[_0x213b0e(0x3fd)]),!_0x3eeee5&&typeof Qa=='function')try{_0x3eeee5=require(_0x213b0e(0x3fd));}catch{}var _0x20c1c3=function(){const _0x32c65d=_0x213b0e;if(_0x3eeee5){if(typeof _0x3eeee5['getRandomValues']==_0x32c65d(0x40b))try{return _0x3eeee5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3eeee5['randomBytes']==_0x32c65d(0x40b))try{return _0x3eeee5[_0x32c65d(0x113)](0x4)[_0x32c65d(0x288)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x2f0995=Object[_0x213b0e(0x387)]||(function(){function _0x4be37a(){}return function(_0x52ca3d){const _0x4bb6f4=_0x5144;var _0x2d4265;return _0x4be37a[_0x4bb6f4(0x419)]=_0x52ca3d,_0x2d4265=new _0x4be37a(),_0x4be37a[_0x4bb6f4(0x419)]=null,_0x2d4265;};}()),_0x3d79b3={},_0x519244=_0x3d79b3['lib']={},_0x57c73f=_0x519244[_0x213b0e(0x24b)]=(function(){return{'extend':function(_0x3908df){const _0xa2841=_0x5144;var _0x18b0d5=_0x2f0995(this);return _0x3908df&&_0x18b0d5[_0xa2841(0x260)](_0x3908df),(!_0x18b0d5['hasOwnProperty'](_0xa2841(0x3de))||this[_0xa2841(0x3de)]===_0x18b0d5['init'])&&(_0x18b0d5[_0xa2841(0x3de)]=function(){const _0x49ddcb=_0xa2841;_0x18b0d5[_0x49ddcb(0xfb)]['init'][_0x49ddcb(0x2a9)](this,arguments);}),_0x18b0d5[_0xa2841(0x3de)][_0xa2841(0x419)]=_0x18b0d5,_0x18b0d5['$super']=this,_0x18b0d5;},'create':function(){const _0x5a0d25=_0x5144;var _0x1f9211=this['extend']();return _0x1f9211[_0x5a0d25(0x3de)][_0x5a0d25(0x2a9)](_0x1f9211,arguments),_0x1f9211;},'init':function(){},'mixIn':function(_0x2cda0b){const _0x30b7a8=_0x5144;for(var _0x47d184 in _0x2cda0b)_0x2cda0b['hasOwnProperty'](_0x47d184)&&(this[_0x47d184]=_0x2cda0b[_0x47d184]);_0x2cda0b[_0x30b7a8(0x26f)](_0x30b7a8(0x117))&&(this['toString']=_0x2cda0b[_0x30b7a8(0x117)]);},'clone':function(){const _0x18a442=_0x5144;return this[_0x18a442(0x3de)][_0x18a442(0x419)][_0x18a442(0x2c3)](this);}};}()),_0x53b792=_0x519244[_0x213b0e(0x489)]=_0x57c73f[_0x213b0e(0x2c3)]({'init':function(_0x1dda3b,_0x25340f){const _0x11544e=_0x213b0e;_0x1dda3b=this['words']=_0x1dda3b||[],_0x25340f!=_0x792178?this[_0x11544e(0x231)]=_0x25340f:this[_0x11544e(0x231)]=_0x1dda3b[_0x11544e(0xf0)]*0x4;},'toString':function(_0x2997e){const _0x1a89c0=_0x213b0e;return(_0x2997e||_0x23c99b)[_0x1a89c0(0x359)](this);},'concat':function(_0x3f06a5){const _0x3e7907=_0x213b0e;var _0x1893f0=this[_0x3e7907(0x14d)],_0x564012=_0x3f06a5[_0x3e7907(0x14d)],_0x29cdce=this[_0x3e7907(0x231)],_0x40975c=_0x3f06a5[_0x3e7907(0x231)];if(this[_0x3e7907(0x23e)](),_0x29cdce%0x4)for(var _0x4d7b01=0x0;_0x4d7b01<_0x40975c;_0x4d7b01++){var _0x408000=_0x564012[_0x4d7b01>>>0x2]>>>0x18-_0x4d7b01%0x4*0x8&0xff;_0x1893f0[_0x29cdce+_0x4d7b01>>>0x2]|=_0x408000<<0x18-(_0x29cdce+_0x4d7b01)%0x4*0x8;}else{for(var _0x4075d0=0x0;_0x4075d0<_0x40975c;_0x4075d0+=0x4)_0x1893f0[_0x29cdce+_0x4075d0>>>0x2]=_0x564012[_0x4075d0>>>0x2];}return this[_0x3e7907(0x231)]+=_0x40975c,this;},'clamp':function(){const _0x47c24a=_0x213b0e;var _0x137c6a=this[_0x47c24a(0x14d)],_0x440531=this[_0x47c24a(0x231)];_0x137c6a[_0x440531>>>0x2]&=0xffffffff<<0x20-_0x440531%0x4*0x8,_0x137c6a[_0x47c24a(0xf0)]=_0xbca6a2[_0x47c24a(0x20d)](_0x440531/0x4);},'clone':function(){const _0xb388e7=_0x213b0e;var _0x4983bf=_0x57c73f[_0xb388e7(0x1eb)]['call'](this);return _0x4983bf[_0xb388e7(0x14d)]=this[_0xb388e7(0x14d)][_0xb388e7(0x3a1)](0x0),_0x4983bf;},'random':function(_0x5e44b9){const _0x5a4d92=_0x213b0e;for(var _0x52aa84=[],_0x22f0c9=0x0;_0x22f0c9<_0x5e44b9;_0x22f0c9+=0x4)_0x52aa84[_0x5a4d92(0x182)](_0x20c1c3());return new _0x53b792[(_0x5a4d92(0x3de))](_0x52aa84,_0x5e44b9);}}),_0x4cf277=_0x3d79b3[_0x213b0e(0x46a)]={},_0x23c99b=_0x4cf277[_0x213b0e(0x40f)]={'stringify':function(_0x4c262d){const _0x4b3e1c=_0x213b0e;for(var _0x1fb79d=_0x4c262d['words'],_0x10514f=_0x4c262d[_0x4b3e1c(0x231)],_0x44b222=[],_0x519f59=0x0;_0x519f59<_0x10514f;_0x519f59++){var _0x19cbb3=_0x1fb79d[_0x519f59>>>0x2]>>>0x18-_0x519f59%0x4*0x8&0xff;_0x44b222[_0x4b3e1c(0x182)]((_0x19cbb3>>>0x4)[_0x4b3e1c(0x117)](0x10)),_0x44b222[_0x4b3e1c(0x182)]((_0x19cbb3&0xf)[_0x4b3e1c(0x117)](0x10));}return _0x44b222['join']('');},'parse':function(_0x1a909b){const _0x55306b=_0x213b0e;for(var _0x2bbaf4=_0x1a909b[_0x55306b(0xf0)],_0x3c8df4=[],_0x5c931a=0x0;_0x5c931a<_0x2bbaf4;_0x5c931a+=0x2)_0x3c8df4[_0x5c931a>>>0x3]|=parseInt(_0x1a909b[_0x55306b(0x27b)](_0x5c931a,0x2),0x10)<<0x18-_0x5c931a%0x8*0x4;return new _0x53b792[(_0x55306b(0x3de))](_0x3c8df4,_0x2bbaf4/0x2);}},_0x5927e4=_0x4cf277[_0x213b0e(0x30f)]={'stringify':function(_0x3cacae){const _0xee772b=_0x213b0e;for(var _0x479f01=_0x3cacae[_0xee772b(0x14d)],_0x29d65b=_0x3cacae[_0xee772b(0x231)],_0x24ca20=[],_0x20d444=0x0;_0x20d444<_0x29d65b;_0x20d444++){var _0x95be9e=_0x479f01[_0x20d444>>>0x2]>>>0x18-_0x20d444%0x4*0x8&0xff;_0x24ca20[_0xee772b(0x182)](String[_0xee772b(0x10d)](_0x95be9e));}return _0x24ca20[_0xee772b(0x165)]('');},'parse':function(_0x1a50ad){const _0x2621c9=_0x213b0e;for(var _0x1eba33=_0x1a50ad[_0x2621c9(0xf0)],_0x4c41a2=[],_0x1e165a=0x0;_0x1e165a<_0x1eba33;_0x1e165a++)_0x4c41a2[_0x1e165a>>>0x2]|=(_0x1a50ad[_0x2621c9(0x3ac)](_0x1e165a)&0xff)<<0x18-_0x1e165a%0x4*0x8;return new _0x53b792['init'](_0x4c41a2,_0x1eba33);}},_0x52613d=_0x4cf277[_0x213b0e(0x2b6)]={'stringify':function(_0x47b4d4){const _0x142278=_0x213b0e;try{return decodeURIComponent(escape(_0x5927e4[_0x142278(0x359)](_0x47b4d4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x7c2916){return _0x5927e4['parse'](unescape(encodeURIComponent(_0x7c2916)));}},_0x16dc35=_0x519244[_0x213b0e(0x196)]=_0x57c73f['extend']({'reset':function(){const _0x15c4d0=_0x213b0e;this[_0x15c4d0(0x3d7)]=new _0x53b792[(_0x15c4d0(0x3de))](),this[_0x15c4d0(0x3ed)]=0x0;},'_append':function(_0xb05993){const _0x14d96e=_0x213b0e;typeof _0xb05993==_0x14d96e(0x101)&&(_0xb05993=_0x52613d[_0x14d96e(0xf6)](_0xb05993)),this[_0x14d96e(0x3d7)][_0x14d96e(0x4b5)](_0xb05993),this[_0x14d96e(0x3ed)]+=_0xb05993['sigBytes'];},'_process':function(_0x2710f0){const _0x36658f=_0x213b0e;var _0x1c6740,_0x31e43e=this['_data'],_0x1cd60d=_0x31e43e[_0x36658f(0x14d)],_0x284d5e=_0x31e43e[_0x36658f(0x231)],_0x422089=this[_0x36658f(0x4d9)],_0x4652b3=_0x422089*0x4,_0x589d5c=_0x284d5e/_0x4652b3;_0x2710f0?_0x589d5c=_0xbca6a2[_0x36658f(0x20d)](_0x589d5c):_0x589d5c=_0xbca6a2['max']((_0x589d5c|0x0)-this[_0x36658f(0x138)],0x0);var _0x21943b=_0x589d5c*_0x422089,_0x8b4c71=_0xbca6a2[_0x36658f(0x3f4)](_0x21943b*0x4,_0x284d5e);if(_0x21943b){for(var _0x23d1d9=0x0;_0x23d1d9<_0x21943b;_0x23d1d9+=_0x422089)this['_doProcessBlock'](_0x1cd60d,_0x23d1d9);_0x1c6740=_0x1cd60d['splice'](0x0,_0x21943b),_0x31e43e[_0x36658f(0x231)]-=_0x8b4c71;}return new _0x53b792[(_0x36658f(0x3de))](_0x1c6740,_0x8b4c71);},'clone':function(){const _0x25fb1c=_0x213b0e;var _0x472d52=_0x57c73f['clone']['call'](this);return _0x472d52[_0x25fb1c(0x3d7)]=this[_0x25fb1c(0x3d7)]['clone'](),_0x472d52;},'_minBufferSize':0x0});_0x519244[_0x213b0e(0x1da)]=_0x16dc35[_0x213b0e(0x2c3)]({'cfg':_0x57c73f[_0x213b0e(0x2c3)](),'init':function(_0x5557f2){const _0x296f03=_0x213b0e;this[_0x296f03(0x177)]=this[_0x296f03(0x177)]['extend'](_0x5557f2),this[_0x296f03(0x283)]();},'reset':function(){const _0x5e5298=_0x213b0e;_0x16dc35[_0x5e5298(0x283)]['call'](this),this[_0x5e5298(0x347)]();},'update':function(_0x3c03f5){const _0x8b273e=_0x213b0e;return this['_append'](_0x3c03f5),this[_0x8b273e(0x1d5)](),this;},'finalize':function(_0x314d2c){const _0x4fd644=_0x213b0e;_0x314d2c&&this['_append'](_0x314d2c);var _0x2d2bd2=this[_0x4fd644(0x16c)]();return _0x2d2bd2;},'blockSize':0x10,'_createHelper':function(_0x587fe1){return function(_0x338be2,_0x310326){const _0x989bb9=_0x5144;return new _0x587fe1[(_0x989bb9(0x3de))](_0x310326)['finalize'](_0x338be2);};},'_createHmacHelper':function(_0x4f8e3d){return function(_0x153a67,_0x422574){const _0xc30c31=_0x5144;return new _0x31f246[(_0xc30c31(0x42b))][(_0xc30c31(0x3de))](_0x4f8e3d,_0x422574)['finalize'](_0x153a67);};}});var _0x31f246=_0x3d79b3[_0x213b0e(0x284)]={};return _0x3d79b3;}(Math);return _0x136855;}));}(Gt)),Gt[_0x45fae5(0x305)];}var Yt={'exports':{}},si;function qi(){const _0x1325af=_0x45d431;return si||(si=0x1,function(_0xf9fa1f,_0x1a1fb2){(function(_0x557db8,_0x4e0213){const _0x29733b=_0x5144;_0xf9fa1f[_0x29733b(0x305)]=_0x4e0213(ue());}(Z,function(_0x475d03){const _0x509413=_0x5144;return(function(){var _0x599f9f=_0x475d03,_0xb80112=_0x599f9f['lib'],_0xe452d3=_0xb80112['WordArray'],_0x1615b6=_0x599f9f['enc'];_0x1615b6['Base64']={'stringify':function(_0x50e22f){const _0x3f86fb=_0x5144;var _0x3e6601=_0x50e22f[_0x3f86fb(0x14d)],_0x21c07e=_0x50e22f['sigBytes'],_0x5a03a2=this['_map'];_0x50e22f[_0x3f86fb(0x23e)]();for(var _0x177b44=[],_0x4415c6=0x0;_0x4415c6<_0x21c07e;_0x4415c6+=0x3)for(var _0x3d69e8=_0x3e6601[_0x4415c6>>>0x2]>>>0x18-_0x4415c6%0x4*0x8&0xff,_0x2f4fd0=_0x3e6601[_0x4415c6+0x1>>>0x2]>>>0x18-(_0x4415c6+0x1)%0x4*0x8&0xff,_0x4c481b=_0x3e6601[_0x4415c6+0x2>>>0x2]>>>0x18-(_0x4415c6+0x2)%0x4*0x8&0xff,_0x237342=_0x3d69e8<<0x10|_0x2f4fd0<<0x8|_0x4c481b,_0x411e02=0x0;_0x411e02<0x4&&_0x4415c6+_0x411e02*0.75<_0x21c07e;_0x411e02++)_0x177b44[_0x3f86fb(0x182)](_0x5a03a2['charAt'](_0x237342>>>0x6*(0x3-_0x411e02)&0x3f));var _0x1d936c=_0x5a03a2[_0x3f86fb(0x298)](0x40);if(_0x1d936c){for(;_0x177b44['length']%0x4;)_0x177b44[_0x3f86fb(0x182)](_0x1d936c);}return _0x177b44[_0x3f86fb(0x165)]('');},'parse':function(_0x10d255){const _0x159fcd=_0x5144;var _0xafdb4a=_0x10d255['length'],_0x3d4a54=this[_0x159fcd(0x395)],_0x4ae05f=this[_0x159fcd(0x35c)];if(!_0x4ae05f){_0x4ae05f=this[_0x159fcd(0x35c)]=[];for(var _0x41d850=0x0;_0x41d850<_0x3d4a54[_0x159fcd(0xf0)];_0x41d850++)_0x4ae05f[_0x3d4a54[_0x159fcd(0x3ac)](_0x41d850)]=_0x41d850;}var _0x10c73b=_0x3d4a54[_0x159fcd(0x298)](0x40);if(_0x10c73b){var _0x6cf5d0=_0x10d255[_0x159fcd(0x319)](_0x10c73b);_0x6cf5d0!==-0x1&&(_0xafdb4a=_0x6cf5d0);}return _0x53bdb5(_0x10d255,_0xafdb4a,_0x4ae05f);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x53bdb5(_0x45a9ea,_0x2e23ce,_0x529a24){const _0xfefac5=_0x5144;for(var _0x2f1e8a=[],_0x2f6490=0x0,_0x4a3323=0x0;_0x4a3323<_0x2e23ce;_0x4a3323++)if(_0x4a3323%0x4){var _0xff0e7a=_0x529a24[_0x45a9ea[_0xfefac5(0x3ac)](_0x4a3323-0x1)]<<_0x4a3323%0x4*0x2,_0xd30927=_0x529a24[_0x45a9ea[_0xfefac5(0x3ac)](_0x4a3323)]>>>0x6-_0x4a3323%0x4*0x2,_0x2e6f95=_0xff0e7a|_0xd30927;_0x2f1e8a[_0x2f6490>>>0x2]|=_0x2e6f95<<0x18-_0x2f6490%0x4*0x8,_0x2f6490++;}return _0xe452d3[_0xfefac5(0x387)](_0x2f1e8a,_0x2f6490);}}()),_0x475d03['enc'][_0x509413(0x286)];}));}(Yt)),Yt[_0x1325af(0x305)];}var Kt={'exports':{}},ii;function ec(){return ii||(ii=0x1,function(_0x923a15,_0x531f1c){(function(_0x1c6519,_0x14d5d5){const _0x27f0c5=_0x5144;_0x923a15[_0x27f0c5(0x305)]=_0x14d5d5(ue());}(Z,function(_0x535c60){const _0x25032c=_0x5144;return function(_0x466d20){const _0x11b14b=_0x5144;var _0x3481ac=_0x535c60,_0xe20dae=_0x3481ac[_0x11b14b(0x1cb)],_0x515e37=_0xe20dae[_0x11b14b(0x489)],_0x597c23=_0xe20dae[_0x11b14b(0x1da)],_0xb95c4c=_0x3481ac[_0x11b14b(0x284)],_0x51b0d0=[];(function(){for(var _0x158b02=0x0;_0x158b02<0x40;_0x158b02++)_0x51b0d0[_0x158b02]=_0x466d20['abs'](_0x466d20['sin'](_0x158b02+0x1))*0x100000000|0x0;}());var _0x439896=_0xb95c4c[_0x11b14b(0x1fa)]=_0x597c23['extend']({'_doReset':function(){const _0x1583c8=_0x11b14b;this[_0x1583c8(0x25e)]=new _0x515e37['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x266499,_0x4539d4){const _0x4fb182=_0x11b14b;for(var _0xe4a869=0x0;_0xe4a869<0x10;_0xe4a869++){var _0x14e878=_0x4539d4+_0xe4a869,_0x4f1ca9=_0x266499[_0x14e878];_0x266499[_0x14e878]=(_0x4f1ca9<<0x8|_0x4f1ca9>>>0x18)&0xff00ff|(_0x4f1ca9<<0x18|_0x4f1ca9>>>0x8)&0xff00ff00;}var _0x5e1f2a=this[_0x4fb182(0x25e)]['words'],_0x906761=_0x266499[_0x4539d4+0x0],_0x174071=_0x266499[_0x4539d4+0x1],_0x146a38=_0x266499[_0x4539d4+0x2],_0x4f152e=_0x266499[_0x4539d4+0x3],_0x877541=_0x266499[_0x4539d4+0x4],_0x16855b=_0x266499[_0x4539d4+0x5],_0x2099b5=_0x266499[_0x4539d4+0x6],_0x140fb6=_0x266499[_0x4539d4+0x7],_0x5e5a96=_0x266499[_0x4539d4+0x8],_0x28620c=_0x266499[_0x4539d4+0x9],_0x4e0a67=_0x266499[_0x4539d4+0xa],_0x97ce4=_0x266499[_0x4539d4+0xb],_0x25ef7d=_0x266499[_0x4539d4+0xc],_0x1985be=_0x266499[_0x4539d4+0xd],_0x24a26b=_0x266499[_0x4539d4+0xe],_0x5df0fd=_0x266499[_0x4539d4+0xf],_0x22538f=_0x5e1f2a[0x0],_0x409e58=_0x5e1f2a[0x1],_0x401600=_0x5e1f2a[0x2],_0x187aeb=_0x5e1f2a[0x3];_0x22538f=_0x11ca68(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x906761,0x7,_0x51b0d0[0x0]),_0x187aeb=_0x11ca68(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x174071,0xc,_0x51b0d0[0x1]),_0x401600=_0x11ca68(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x146a38,0x11,_0x51b0d0[0x2]),_0x409e58=_0x11ca68(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x4f152e,0x16,_0x51b0d0[0x3]),_0x22538f=_0x11ca68(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x877541,0x7,_0x51b0d0[0x4]),_0x187aeb=_0x11ca68(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x16855b,0xc,_0x51b0d0[0x5]),_0x401600=_0x11ca68(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x2099b5,0x11,_0x51b0d0[0x6]),_0x409e58=_0x11ca68(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x140fb6,0x16,_0x51b0d0[0x7]),_0x22538f=_0x11ca68(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x5e5a96,0x7,_0x51b0d0[0x8]),_0x187aeb=_0x11ca68(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x28620c,0xc,_0x51b0d0[0x9]),_0x401600=_0x11ca68(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x4e0a67,0x11,_0x51b0d0[0xa]),_0x409e58=_0x11ca68(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x97ce4,0x16,_0x51b0d0[0xb]),_0x22538f=_0x11ca68(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x25ef7d,0x7,_0x51b0d0[0xc]),_0x187aeb=_0x11ca68(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x1985be,0xc,_0x51b0d0[0xd]),_0x401600=_0x11ca68(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x24a26b,0x11,_0x51b0d0[0xe]),_0x409e58=_0x11ca68(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x5df0fd,0x16,_0x51b0d0[0xf]),_0x22538f=_0x2ed602(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x174071,0x5,_0x51b0d0[0x10]),_0x187aeb=_0x2ed602(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x2099b5,0x9,_0x51b0d0[0x11]),_0x401600=_0x2ed602(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x97ce4,0xe,_0x51b0d0[0x12]),_0x409e58=_0x2ed602(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x906761,0x14,_0x51b0d0[0x13]),_0x22538f=_0x2ed602(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x16855b,0x5,_0x51b0d0[0x14]),_0x187aeb=_0x2ed602(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x4e0a67,0x9,_0x51b0d0[0x15]),_0x401600=_0x2ed602(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x5df0fd,0xe,_0x51b0d0[0x16]),_0x409e58=_0x2ed602(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x877541,0x14,_0x51b0d0[0x17]),_0x22538f=_0x2ed602(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x28620c,0x5,_0x51b0d0[0x18]),_0x187aeb=_0x2ed602(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x24a26b,0x9,_0x51b0d0[0x19]),_0x401600=_0x2ed602(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x4f152e,0xe,_0x51b0d0[0x1a]),_0x409e58=_0x2ed602(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x5e5a96,0x14,_0x51b0d0[0x1b]),_0x22538f=_0x2ed602(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x1985be,0x5,_0x51b0d0[0x1c]),_0x187aeb=_0x2ed602(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x146a38,0x9,_0x51b0d0[0x1d]),_0x401600=_0x2ed602(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x140fb6,0xe,_0x51b0d0[0x1e]),_0x409e58=_0x2ed602(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x25ef7d,0x14,_0x51b0d0[0x1f]),_0x22538f=_0x24c1b3(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x16855b,0x4,_0x51b0d0[0x20]),_0x187aeb=_0x24c1b3(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x5e5a96,0xb,_0x51b0d0[0x21]),_0x401600=_0x24c1b3(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x97ce4,0x10,_0x51b0d0[0x22]),_0x409e58=_0x24c1b3(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x24a26b,0x17,_0x51b0d0[0x23]),_0x22538f=_0x24c1b3(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x174071,0x4,_0x51b0d0[0x24]),_0x187aeb=_0x24c1b3(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x877541,0xb,_0x51b0d0[0x25]),_0x401600=_0x24c1b3(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x140fb6,0x10,_0x51b0d0[0x26]),_0x409e58=_0x24c1b3(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x4e0a67,0x17,_0x51b0d0[0x27]),_0x22538f=_0x24c1b3(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x1985be,0x4,_0x51b0d0[0x28]),_0x187aeb=_0x24c1b3(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x906761,0xb,_0x51b0d0[0x29]),_0x401600=_0x24c1b3(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x4f152e,0x10,_0x51b0d0[0x2a]),_0x409e58=_0x24c1b3(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x2099b5,0x17,_0x51b0d0[0x2b]),_0x22538f=_0x24c1b3(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x28620c,0x4,_0x51b0d0[0x2c]),_0x187aeb=_0x24c1b3(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x25ef7d,0xb,_0x51b0d0[0x2d]),_0x401600=_0x24c1b3(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x5df0fd,0x10,_0x51b0d0[0x2e]),_0x409e58=_0x24c1b3(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x146a38,0x17,_0x51b0d0[0x2f]),_0x22538f=_0x1f5420(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x906761,0x6,_0x51b0d0[0x30]),_0x187aeb=_0x1f5420(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x140fb6,0xa,_0x51b0d0[0x31]),_0x401600=_0x1f5420(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x24a26b,0xf,_0x51b0d0[0x32]),_0x409e58=_0x1f5420(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x16855b,0x15,_0x51b0d0[0x33]),_0x22538f=_0x1f5420(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x25ef7d,0x6,_0x51b0d0[0x34]),_0x187aeb=_0x1f5420(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x4f152e,0xa,_0x51b0d0[0x35]),_0x401600=_0x1f5420(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x4e0a67,0xf,_0x51b0d0[0x36]),_0x409e58=_0x1f5420(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x174071,0x15,_0x51b0d0[0x37]),_0x22538f=_0x1f5420(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x5e5a96,0x6,_0x51b0d0[0x38]),_0x187aeb=_0x1f5420(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x5df0fd,0xa,_0x51b0d0[0x39]),_0x401600=_0x1f5420(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x2099b5,0xf,_0x51b0d0[0x3a]),_0x409e58=_0x1f5420(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x1985be,0x15,_0x51b0d0[0x3b]),_0x22538f=_0x1f5420(_0x22538f,_0x409e58,_0x401600,_0x187aeb,_0x877541,0x6,_0x51b0d0[0x3c]),_0x187aeb=_0x1f5420(_0x187aeb,_0x22538f,_0x409e58,_0x401600,_0x97ce4,0xa,_0x51b0d0[0x3d]),_0x401600=_0x1f5420(_0x401600,_0x187aeb,_0x22538f,_0x409e58,_0x146a38,0xf,_0x51b0d0[0x3e]),_0x409e58=_0x1f5420(_0x409e58,_0x401600,_0x187aeb,_0x22538f,_0x28620c,0x15,_0x51b0d0[0x3f]),_0x5e1f2a[0x0]=_0x5e1f2a[0x0]+_0x22538f|0x0,_0x5e1f2a[0x1]=_0x5e1f2a[0x1]+_0x409e58|0x0,_0x5e1f2a[0x2]=_0x5e1f2a[0x2]+_0x401600|0x0,_0x5e1f2a[0x3]=_0x5e1f2a[0x3]+_0x187aeb|0x0;},'_doFinalize':function(){const _0x32ecd8=_0x11b14b;var _0x265408=this[_0x32ecd8(0x3d7)],_0x24e133=_0x265408['words'],_0x5539db=this[_0x32ecd8(0x3ed)]*0x8,_0x48fa29=_0x265408[_0x32ecd8(0x231)]*0x8;_0x24e133[_0x48fa29>>>0x5]|=0x80<<0x18-_0x48fa29%0x20;var _0x5e6e5c=_0x466d20['floor'](_0x5539db/0x100000000),_0x14f072=_0x5539db;_0x24e133[(_0x48fa29+0x40>>>0x9<<0x4)+0xf]=(_0x5e6e5c<<0x8|_0x5e6e5c>>>0x18)&0xff00ff|(_0x5e6e5c<<0x18|_0x5e6e5c>>>0x8)&0xff00ff00,_0x24e133[(_0x48fa29+0x40>>>0x9<<0x4)+0xe]=(_0x14f072<<0x8|_0x14f072>>>0x18)&0xff00ff|(_0x14f072<<0x18|_0x14f072>>>0x8)&0xff00ff00,_0x265408['sigBytes']=(_0x24e133[_0x32ecd8(0xf0)]+0x1)*0x4,this[_0x32ecd8(0x1d5)]();for(var _0x37807b=this[_0x32ecd8(0x25e)],_0x2fc699=_0x37807b['words'],_0x2688ec=0x0;_0x2688ec<0x4;_0x2688ec++){var _0x475891=_0x2fc699[_0x2688ec];_0x2fc699[_0x2688ec]=(_0x475891<<0x8|_0x475891>>>0x18)&0xff00ff|(_0x475891<<0x18|_0x475891>>>0x8)&0xff00ff00;}return _0x37807b;},'clone':function(){const _0x191e34=_0x11b14b;var _0x56675e=_0x597c23['clone'][_0x191e34(0x3f0)](this);return _0x56675e[_0x191e34(0x25e)]=this[_0x191e34(0x25e)]['clone'](),_0x56675e;}});function _0x11ca68(_0x5acac0,_0x8b0596,_0x225937,_0x304530,_0x5eabbc,_0x419b70,_0x515193){var _0x1d52cd=_0x5acac0+(_0x8b0596&_0x225937|~_0x8b0596&_0x304530)+_0x5eabbc+_0x515193;return(_0x1d52cd<<_0x419b70|_0x1d52cd>>>0x20-_0x419b70)+_0x8b0596;}function _0x2ed602(_0x4ae4d0,_0x120db1,_0x2a2930,_0x5e9575,_0x58e208,_0x56ae87,_0x5bebb3){var _0x124f08=_0x4ae4d0+(_0x120db1&_0x5e9575|_0x2a2930&~_0x5e9575)+_0x58e208+_0x5bebb3;return(_0x124f08<<_0x56ae87|_0x124f08>>>0x20-_0x56ae87)+_0x120db1;}function _0x24c1b3(_0x5b02a2,_0x7aadf8,_0x32b927,_0x54711a,_0x21aab7,_0x5b34a4,_0x2e0178){var _0xcc1c64=_0x5b02a2+(_0x7aadf8^_0x32b927^_0x54711a)+_0x21aab7+_0x2e0178;return(_0xcc1c64<<_0x5b34a4|_0xcc1c64>>>0x20-_0x5b34a4)+_0x7aadf8;}function _0x1f5420(_0x57eee4,_0x24df88,_0x42243d,_0x5c744d,_0x405a6a,_0x5cc123,_0x29a33f){var _0x5be3c3=_0x57eee4+(_0x42243d^(_0x24df88|~_0x5c744d))+_0x405a6a+_0x29a33f;return(_0x5be3c3<<_0x5cc123|_0x5be3c3>>>0x20-_0x5cc123)+_0x24df88;}_0x3481ac[_0x11b14b(0x1fa)]=_0x597c23[_0x11b14b(0x1f1)](_0x439896),_0x3481ac[_0x11b14b(0x3ba)]=_0x597c23['_createHmacHelper'](_0x439896);}(Math),_0x535c60[_0x25032c(0x1fa)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){const _0x12ff6d=_0x45d431;return ri||(ri=0x1,function(_0x22ad98,_0x3f9914){(function(_0x420867,_0x3ded16){_0x22ad98['exports']=_0x3ded16(ue());}(Z,function(_0x1e01d4){const _0x1e5075=_0x5144;return(function(){const _0x372d54=_0x5144;var _0x21f48d=_0x1e01d4,_0x3c059e=_0x21f48d['lib'],_0x5dd96d=_0x3c059e[_0x372d54(0x489)],_0x399a5b=_0x3c059e[_0x372d54(0x1da)],_0x156436=_0x21f48d[_0x372d54(0x284)],_0x53c1c7=[],_0xe35cf3=_0x156436[_0x372d54(0x187)]=_0x399a5b[_0x372d54(0x2c3)]({'_doReset':function(){const _0x41a6d1=_0x372d54;this['_hash']=new _0x5dd96d[(_0x41a6d1(0x3de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x179c35,_0x5a4cb3){const _0x500c12=_0x372d54;for(var _0x4ccf75=this['_hash'][_0x500c12(0x14d)],_0x357ac0=_0x4ccf75[0x0],_0x3ef77d=_0x4ccf75[0x1],_0x17612d=_0x4ccf75[0x2],_0x78d7c4=_0x4ccf75[0x3],_0xbf2d00=_0x4ccf75[0x4],_0x5656ff=0x0;_0x5656ff<0x50;_0x5656ff++){if(_0x5656ff<0x10)_0x53c1c7[_0x5656ff]=_0x179c35[_0x5a4cb3+_0x5656ff]|0x0;else{var _0x5ae70f=_0x53c1c7[_0x5656ff-0x3]^_0x53c1c7[_0x5656ff-0x8]^_0x53c1c7[_0x5656ff-0xe]^_0x53c1c7[_0x5656ff-0x10];_0x53c1c7[_0x5656ff]=_0x5ae70f<<0x1|_0x5ae70f>>>0x1f;}var _0x2ccf6e=(_0x357ac0<<0x5|_0x357ac0>>>0x1b)+_0xbf2d00+_0x53c1c7[_0x5656ff];_0x5656ff<0x14?_0x2ccf6e+=(_0x3ef77d&_0x17612d|~_0x3ef77d&_0x78d7c4)+0x5a827999:_0x5656ff<0x28?_0x2ccf6e+=(_0x3ef77d^_0x17612d^_0x78d7c4)+0x6ed9eba1:_0x5656ff<0x3c?_0x2ccf6e+=(_0x3ef77d&_0x17612d|_0x3ef77d&_0x78d7c4|_0x17612d&_0x78d7c4)-0x70e44324:_0x2ccf6e+=(_0x3ef77d^_0x17612d^_0x78d7c4)-0x359d3e2a,_0xbf2d00=_0x78d7c4,_0x78d7c4=_0x17612d,_0x17612d=_0x3ef77d<<0x1e|_0x3ef77d>>>0x2,_0x3ef77d=_0x357ac0,_0x357ac0=_0x2ccf6e;}_0x4ccf75[0x0]=_0x4ccf75[0x0]+_0x357ac0|0x0,_0x4ccf75[0x1]=_0x4ccf75[0x1]+_0x3ef77d|0x0,_0x4ccf75[0x2]=_0x4ccf75[0x2]+_0x17612d|0x0,_0x4ccf75[0x3]=_0x4ccf75[0x3]+_0x78d7c4|0x0,_0x4ccf75[0x4]=_0x4ccf75[0x4]+_0xbf2d00|0x0;},'_doFinalize':function(){const _0x477aa8=_0x372d54;var _0x3c5475=this[_0x477aa8(0x3d7)],_0x2cf1c0=_0x3c5475[_0x477aa8(0x14d)],_0x33d3dd=this[_0x477aa8(0x3ed)]*0x8,_0x1aeae0=_0x3c5475['sigBytes']*0x8;return _0x2cf1c0[_0x1aeae0>>>0x5]|=0x80<<0x18-_0x1aeae0%0x20,_0x2cf1c0[(_0x1aeae0+0x40>>>0x9<<0x4)+0xe]=Math[_0x477aa8(0x379)](_0x33d3dd/0x100000000),_0x2cf1c0[(_0x1aeae0+0x40>>>0x9<<0x4)+0xf]=_0x33d3dd,_0x3c5475[_0x477aa8(0x231)]=_0x2cf1c0[_0x477aa8(0xf0)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x342325=_0x372d54;var _0xf3698c=_0x399a5b[_0x342325(0x1eb)][_0x342325(0x3f0)](this);return _0xf3698c[_0x342325(0x25e)]=this[_0x342325(0x25e)][_0x342325(0x1eb)](),_0xf3698c;}});_0x21f48d[_0x372d54(0x187)]=_0x399a5b[_0x372d54(0x1f1)](_0xe35cf3),_0x21f48d['HmacSHA1']=_0x399a5b[_0x372d54(0x232)](_0xe35cf3);}()),_0x1e01d4[_0x1e5075(0x187)];}));}(qt)),qt[_0x12ff6d(0x305)];}var Xt={'exports':{}},ni;function sc(){return ni||(ni=0x1,function(_0x3a5805,_0x15ad76){(function(_0x523459,_0x5159bc){const _0x2d5a5f=_0x5144;_0x3a5805[_0x2d5a5f(0x305)]=_0x5159bc(ue());}(Z,function(_0x18a589){(function(){const _0x5b5a34=_0x5144;var _0x153023=_0x18a589,_0x3c216b=_0x153023[_0x5b5a34(0x1cb)],_0x9ba9b5=_0x3c216b[_0x5b5a34(0x24b)],_0x3947f7=_0x153023[_0x5b5a34(0x46a)],_0x1a48fb=_0x3947f7[_0x5b5a34(0x2b6)],_0x38149b=_0x153023[_0x5b5a34(0x284)];_0x38149b[_0x5b5a34(0x42b)]=_0x9ba9b5[_0x5b5a34(0x2c3)]({'init':function(_0x2ee9db,_0x4b1818){const _0x1d2a2f=_0x5b5a34;_0x2ee9db=this[_0x1d2a2f(0x3bd)]=new _0x2ee9db[(_0x1d2a2f(0x3de))](),typeof _0x4b1818==_0x1d2a2f(0x101)&&(_0x4b1818=_0x1a48fb[_0x1d2a2f(0xf6)](_0x4b1818));var _0x2db5b9=_0x2ee9db[_0x1d2a2f(0x4d9)],_0x14272f=_0x2db5b9*0x4;_0x4b1818[_0x1d2a2f(0x231)]>_0x14272f&&(_0x4b1818=_0x2ee9db[_0x1d2a2f(0x120)](_0x4b1818)),_0x4b1818[_0x1d2a2f(0x23e)]();for(var _0xfbd209=this[_0x1d2a2f(0x13c)]=_0x4b1818[_0x1d2a2f(0x1eb)](),_0x4fe653=this[_0x1d2a2f(0x46e)]=_0x4b1818[_0x1d2a2f(0x1eb)](),_0x220665=_0xfbd209['words'],_0x3041b1=_0x4fe653['words'],_0x3d2c12=0x0;_0x3d2c12<_0x2db5b9;_0x3d2c12++)_0x220665[_0x3d2c12]^=0x5c5c5c5c,_0x3041b1[_0x3d2c12]^=0x36363636;_0xfbd209[_0x1d2a2f(0x231)]=_0x4fe653[_0x1d2a2f(0x231)]=_0x14272f,this[_0x1d2a2f(0x283)]();},'reset':function(){const _0x2c2710=_0x5b5a34;var _0x759ff0=this[_0x2c2710(0x3bd)];_0x759ff0[_0x2c2710(0x283)](),_0x759ff0['update'](this[_0x2c2710(0x46e)]);},'update':function(_0x1f7dd8){const _0x3ac513=_0x5b5a34;return this[_0x3ac513(0x3bd)]['update'](_0x1f7dd8),this;},'finalize':function(_0x2db64b){const _0x506c49=_0x5b5a34;var _0x37c05f=this[_0x506c49(0x3bd)],_0x3c1cff=_0x37c05f[_0x506c49(0x120)](_0x2db64b);_0x37c05f['reset']();var _0x3625ff=_0x37c05f[_0x506c49(0x120)](this[_0x506c49(0x13c)]['clone']()['concat'](_0x3c1cff));return _0x3625ff;}});}());}));}(Xt)),Xt['exports'];}var oi;function Xi(){const _0x3ff98c=_0x45d431;return oi||(oi=0x1,function(_0x1910c5,_0x55447d){(function(_0x370d3e,_0xcc77bc,_0xdc4516){const _0x1c776b=_0x5144;_0x1910c5[_0x1c776b(0x305)]=_0xcc77bc(ue(),tc(),sc());}(Z,function(_0x5420c4){const _0x15b2dd=_0x5144;return(function(){const _0x1e1f05=_0x5144;var _0x1cb876=_0x5420c4,_0x1793fb=_0x1cb876[_0x1e1f05(0x1cb)],_0x20f3c7=_0x1793fb[_0x1e1f05(0x24b)],_0x82a796=_0x1793fb['WordArray'],_0x5c5df4=_0x1cb876['algo'],_0x5793b2=_0x5c5df4[_0x1e1f05(0x1fa)],_0x241eb7=_0x5c5df4['EvpKDF']=_0x20f3c7[_0x1e1f05(0x2c3)]({'cfg':_0x20f3c7[_0x1e1f05(0x2c3)]({'keySize':0x80/0x20,'hasher':_0x5793b2,'iterations':0x1}),'init':function(_0x203ad8){const _0x8b176=_0x1e1f05;this[_0x8b176(0x177)]=this['cfg'][_0x8b176(0x2c3)](_0x203ad8);},'compute':function(_0x2f6e6c,_0x133858){const _0x312880=_0x1e1f05;for(var _0x27c909,_0xfdc41d=this[_0x312880(0x177)],_0x2beb75=_0xfdc41d[_0x312880(0x45f)][_0x312880(0x387)](),_0x158ff8=_0x82a796[_0x312880(0x387)](),_0x423256=_0x158ff8[_0x312880(0x14d)],_0x559427=_0xfdc41d['keySize'],_0x18fa11=_0xfdc41d[_0x312880(0x1d7)];_0x423256[_0x312880(0xf0)]<_0x559427;){_0x27c909&&_0x2beb75['update'](_0x27c909),_0x27c909=_0x2beb75['update'](_0x2f6e6c)[_0x312880(0x120)](_0x133858),_0x2beb75['reset']();for(var _0x490c9f=0x1;_0x490c9f<_0x18fa11;_0x490c9f++)_0x27c909=_0x2beb75[_0x312880(0x120)](_0x27c909),_0x2beb75[_0x312880(0x283)]();_0x158ff8[_0x312880(0x4b5)](_0x27c909);}return _0x158ff8[_0x312880(0x231)]=_0x559427*0x4,_0x158ff8;}});_0x1cb876[_0x1e1f05(0x189)]=function(_0x14fb2b,_0x973eda,_0x498b29){const _0x507968=_0x1e1f05;return _0x241eb7[_0x507968(0x387)](_0x498b29)[_0x507968(0x2dc)](_0x14fb2b,_0x973eda);};}()),_0x5420c4[_0x15b2dd(0x189)];}));}(zt)),zt[_0x3ff98c(0x305)];}var Jt={'exports':{}},ai;function Ji(){const _0x382ac6=_0x45d431;return ai||(ai=0x1,function(_0x12dc84,_0x5e3566){(function(_0x242f5e,_0x85cf3e,_0xdb6afd){const _0xd5d3c2=_0x5144;_0x12dc84[_0xd5d3c2(0x305)]=_0x85cf3e(ue(),Xi());}(Z,function(_0x5517d3){const _0x16dbb9=_0x5144;_0x5517d3[_0x16dbb9(0x1cb)][_0x16dbb9(0x1c5)]||function(_0x5bcb97){const _0x73c0ab=_0x16dbb9;var _0x43e74b=_0x5517d3,_0x148db6=_0x43e74b[_0x73c0ab(0x1cb)],_0x3434d7=_0x148db6['Base'],_0x4a3e49=_0x148db6['WordArray'],_0x3e1aa1=_0x148db6[_0x73c0ab(0x196)],_0x10a553=_0x43e74b[_0x73c0ab(0x46a)];_0x10a553[_0x73c0ab(0x2b6)];var _0x5a30ee=_0x10a553[_0x73c0ab(0x286)],_0x3c7cf1=_0x43e74b['algo'],_0x3aa51c=_0x3c7cf1[_0x73c0ab(0x189)],_0x193d08=_0x148db6[_0x73c0ab(0x1c5)]=_0x3e1aa1[_0x73c0ab(0x2c3)]({'cfg':_0x3434d7[_0x73c0ab(0x2c3)](),'createEncryptor':function(_0x2e9604,_0x3765a2){const _0x5e3b5e=_0x73c0ab;return this[_0x5e3b5e(0x387)](this['_ENC_XFORM_MODE'],_0x2e9604,_0x3765a2);},'createDecryptor':function(_0x5a198d,_0xdf6b7f){const _0x206b94=_0x73c0ab;return this[_0x206b94(0x387)](this[_0x206b94(0x124)],_0x5a198d,_0xdf6b7f);},'init':function(_0x32a06e,_0x17241f,_0x62519f){const _0xf0b15a=_0x73c0ab;this[_0xf0b15a(0x177)]=this['cfg'][_0xf0b15a(0x2c3)](_0x62519f),this[_0xf0b15a(0x4f1)]=_0x32a06e,this[_0xf0b15a(0x43b)]=_0x17241f,this[_0xf0b15a(0x283)]();},'reset':function(){const _0x2908a2=_0x73c0ab;_0x3e1aa1[_0x2908a2(0x283)][_0x2908a2(0x3f0)](this),this['_doReset']();},'process':function(_0x2e7861){const _0x1a8269=_0x73c0ab;return this[_0x1a8269(0x28a)](_0x2e7861),this[_0x1a8269(0x1d5)]();},'finalize':function(_0x4231a1){const _0x19f240=_0x73c0ab;_0x4231a1&&this['_append'](_0x4231a1);var _0x357905=this[_0x19f240(0x16c)]();return _0x357905;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x45a62a(_0xe4c94b){return typeof _0xe4c94b=='string'?_0x275791:_0x45f2a7;}return function(_0x101b58){return{'encrypt':function(_0x40d394,_0x25e3e0,_0x4078cd){return _0x45a62a(_0x25e3e0)['encrypt'](_0x101b58,_0x40d394,_0x25e3e0,_0x4078cd);},'decrypt':function(_0x1cf82c,_0xe624eb,_0x6c0a57){return _0x45a62a(_0xe624eb)['decrypt'](_0x101b58,_0x1cf82c,_0xe624eb,_0x6c0a57);}};};}())});_0x148db6[_0x73c0ab(0x317)]=_0x193d08[_0x73c0ab(0x2c3)]({'_doFinalize':function(){const _0x3911db=_0x73c0ab;var _0x29b09a=this[_0x3911db(0x1d5)](!0x0);return _0x29b09a;},'blockSize':0x1});var _0xee7eeb=_0x43e74b[_0x73c0ab(0x123)]={},_0x348bf1=_0x148db6['BlockCipherMode']=_0x3434d7[_0x73c0ab(0x2c3)]({'createEncryptor':function(_0x1de6b2,_0x262db3){const _0x88c9c4=_0x73c0ab;return this[_0x88c9c4(0x429)][_0x88c9c4(0x387)](_0x1de6b2,_0x262db3);},'createDecryptor':function(_0x47d523,_0x1f2673){const _0x130fc7=_0x73c0ab;return this[_0x130fc7(0x4b0)][_0x130fc7(0x387)](_0x47d523,_0x1f2673);},'init':function(_0x58688d,_0x193fc7){const _0x35a6e0=_0x73c0ab;this[_0x35a6e0(0x2d5)]=_0x58688d,this[_0x35a6e0(0x238)]=_0x193fc7;}}),_0x2fda97=_0xee7eeb[_0x73c0ab(0x206)]=(function(){const _0x5716d5=_0x73c0ab;var _0x29ce21=_0x348bf1['extend']();_0x29ce21[_0x5716d5(0x429)]=_0x29ce21['extend']({'processBlock':function(_0x5c0988,_0x2b6da9){const _0x1db229=_0x5716d5;var _0x44aab1=this[_0x1db229(0x2d5)],_0xc4ac91=_0x44aab1['blockSize'];_0x31bec3[_0x1db229(0x3f0)](this,_0x5c0988,_0x2b6da9,_0xc4ac91),_0x44aab1[_0x1db229(0x110)](_0x5c0988,_0x2b6da9),this[_0x1db229(0x41b)]=_0x5c0988[_0x1db229(0x3a1)](_0x2b6da9,_0x2b6da9+_0xc4ac91);}}),_0x29ce21['Decryptor']=_0x29ce21[_0x5716d5(0x2c3)]({'processBlock':function(_0x55131e,_0x28f7f8){const _0x446d27=_0x5716d5;var _0xee1398=this[_0x446d27(0x2d5)],_0x322166=_0xee1398[_0x446d27(0x4d9)],_0x2ab46e=_0x55131e[_0x446d27(0x3a1)](_0x28f7f8,_0x28f7f8+_0x322166);_0xee1398[_0x446d27(0x354)](_0x55131e,_0x28f7f8),_0x31bec3[_0x446d27(0x3f0)](this,_0x55131e,_0x28f7f8,_0x322166),this[_0x446d27(0x41b)]=_0x2ab46e;}});function _0x31bec3(_0x16a381,_0x1d6d8b,_0x3b926f){const _0x36ca66=_0x5716d5;var _0x54e900,_0x22a397=this[_0x36ca66(0x238)];_0x22a397?(_0x54e900=_0x22a397,this[_0x36ca66(0x238)]=_0x5bcb97):_0x54e900=this[_0x36ca66(0x41b)];for(var _0x3f61ab=0x0;_0x3f61ab<_0x3b926f;_0x3f61ab++)_0x16a381[_0x1d6d8b+_0x3f61ab]^=_0x54e900[_0x3f61ab];}return _0x29ce21;}()),_0x8f4007=_0x43e74b[_0x73c0ab(0x410)]={},_0x4c81f8=_0x8f4007[_0x73c0ab(0x3c9)]={'pad':function(_0x5af548,_0x1a54d4){const _0x407d41=_0x73c0ab;for(var _0x149141=_0x1a54d4*0x4,_0x14beea=_0x149141-_0x5af548['sigBytes']%_0x149141,_0x53af1c=_0x14beea<<0x18|_0x14beea<<0x10|_0x14beea<<0x8|_0x14beea,_0x10fe6c=[],_0x1aad66=0x0;_0x1aad66<_0x14beea;_0x1aad66+=0x4)_0x10fe6c[_0x407d41(0x182)](_0x53af1c);var _0x5ea0d9=_0x4a3e49[_0x407d41(0x387)](_0x10fe6c,_0x14beea);_0x5af548[_0x407d41(0x4b5)](_0x5ea0d9);},'unpad':function(_0x3df260){const _0x1088b0=_0x73c0ab;var _0x37067a=_0x3df260[_0x1088b0(0x14d)][_0x3df260[_0x1088b0(0x231)]-0x1>>>0x2]&0xff;_0x3df260[_0x1088b0(0x231)]-=_0x37067a;}};_0x148db6['BlockCipher']=_0x193d08[_0x73c0ab(0x2c3)]({'cfg':_0x193d08[_0x73c0ab(0x177)][_0x73c0ab(0x2c3)]({'mode':_0x2fda97,'padding':_0x4c81f8}),'reset':function(){const _0x55b04c=_0x73c0ab;var _0x2e3036;_0x193d08[_0x55b04c(0x283)][_0x55b04c(0x3f0)](this);var _0x50eddf=this[_0x55b04c(0x177)],_0xbc9c0c=_0x50eddf['iv'],_0xdef2ab=_0x50eddf[_0x55b04c(0x123)];this[_0x55b04c(0x4f1)]==this[_0x55b04c(0x248)]?_0x2e3036=_0xdef2ab[_0x55b04c(0x1ac)]:(_0x2e3036=_0xdef2ab[_0x55b04c(0x14b)],this['_minBufferSize']=0x1),this[_0x55b04c(0x3d0)]&&this[_0x55b04c(0x3d0)][_0x55b04c(0x458)]==_0x2e3036?this[_0x55b04c(0x3d0)][_0x55b04c(0x3de)](this,_0xbc9c0c&&_0xbc9c0c[_0x55b04c(0x14d)]):(this[_0x55b04c(0x3d0)]=_0x2e3036[_0x55b04c(0x3f0)](_0xdef2ab,this,_0xbc9c0c&&_0xbc9c0c['words']),this[_0x55b04c(0x3d0)][_0x55b04c(0x458)]=_0x2e3036);},'_doProcessBlock':function(_0x1f5da9,_0x559bef){const _0x423f71=_0x73c0ab;this[_0x423f71(0x3d0)][_0x423f71(0x327)](_0x1f5da9,_0x559bef);},'_doFinalize':function(){const _0x4f6ec9=_0x73c0ab;var _0xc30e3b,_0x1d5c0d=this[_0x4f6ec9(0x177)][_0x4f6ec9(0x4a6)];return this[_0x4f6ec9(0x4f1)]==this[_0x4f6ec9(0x248)]?(_0x1d5c0d[_0x4f6ec9(0x410)](this[_0x4f6ec9(0x3d7)],this[_0x4f6ec9(0x4d9)]),_0xc30e3b=this[_0x4f6ec9(0x1d5)](!0x0)):(_0xc30e3b=this[_0x4f6ec9(0x1d5)](!0x0),_0x1d5c0d[_0x4f6ec9(0x463)](_0xc30e3b)),_0xc30e3b;},'blockSize':0x80/0x20});var _0x59f6ea=_0x148db6['CipherParams']=_0x3434d7[_0x73c0ab(0x2c3)]({'init':function(_0x5538e2){this['mixIn'](_0x5538e2);},'toString':function(_0x365224){return(_0x365224||this['formatter'])['stringify'](this);}}),_0x145dd6=_0x43e74b[_0x73c0ab(0x3f8)]={},_0x4549dc=_0x145dd6[_0x73c0ab(0x15b)]={'stringify':function(_0x1453f7){const _0x3cee36=_0x73c0ab;var _0x3513c2,_0x2960a9=_0x1453f7[_0x3cee36(0x4fb)],_0x1a132d=_0x1453f7['salt'];return _0x1a132d?_0x3513c2=_0x4a3e49[_0x3cee36(0x387)]([0x53616c74,0x65645f5f])['concat'](_0x1a132d)[_0x3cee36(0x4b5)](_0x2960a9):_0x3513c2=_0x2960a9,_0x3513c2['toString'](_0x5a30ee);},'parse':function(_0x455a96){const _0x1a6758=_0x73c0ab;var _0x2d50f9,_0x56c2b3=_0x5a30ee['parse'](_0x455a96),_0x53009d=_0x56c2b3[_0x1a6758(0x14d)];return _0x53009d[0x0]==0x53616c74&&_0x53009d[0x1]==0x65645f5f&&(_0x2d50f9=_0x4a3e49[_0x1a6758(0x387)](_0x53009d[_0x1a6758(0x3a1)](0x2,0x4)),_0x53009d[_0x1a6758(0x227)](0x0,0x4),_0x56c2b3[_0x1a6758(0x231)]-=0x10),_0x59f6ea[_0x1a6758(0x387)]({'ciphertext':_0x56c2b3,'salt':_0x2d50f9});}},_0x45f2a7=_0x148db6[_0x73c0ab(0x26c)]=_0x3434d7['extend']({'cfg':_0x3434d7[_0x73c0ab(0x2c3)]({'format':_0x4549dc}),'encrypt':function(_0x5a0f46,_0x2a82a1,_0x40781c,_0x10db0d){const _0xc1d187=_0x73c0ab;_0x10db0d=this[_0xc1d187(0x177)]['extend'](_0x10db0d);var _0x28a20c=_0x5a0f46[_0xc1d187(0x1ac)](_0x40781c,_0x10db0d),_0x55f574=_0x28a20c['finalize'](_0x2a82a1),_0x515cc0=_0x28a20c['cfg'];return _0x59f6ea[_0xc1d187(0x387)]({'ciphertext':_0x55f574,'key':_0x40781c,'iv':_0x515cc0['iv'],'algorithm':_0x5a0f46,'mode':_0x515cc0[_0xc1d187(0x123)],'padding':_0x515cc0[_0xc1d187(0x4a6)],'blockSize':_0x5a0f46[_0xc1d187(0x4d9)],'formatter':_0x10db0d['format']});},'decrypt':function(_0x27cf5b,_0x742719,_0x2537ef,_0x3b0e6b){const _0x4a8871=_0x73c0ab;_0x3b0e6b=this['cfg'][_0x4a8871(0x2c3)](_0x3b0e6b),_0x742719=this[_0x4a8871(0x3b2)](_0x742719,_0x3b0e6b[_0x4a8871(0x3f8)]);var _0x56233a=_0x27cf5b[_0x4a8871(0x14b)](_0x2537ef,_0x3b0e6b)['finalize'](_0x742719[_0x4a8871(0x4fb)]);return _0x56233a;},'_parse':function(_0x381e32,_0x40ba55){const _0x3c145e=_0x73c0ab;return typeof _0x381e32=='string'?_0x40ba55[_0x3c145e(0xf6)](_0x381e32,this):_0x381e32;}}),_0x15c620=_0x43e74b[_0x73c0ab(0x257)]={},_0x478ba2=_0x15c620[_0x73c0ab(0x15b)]={'execute':function(_0xadc0cc,_0x37bce6,_0x3a0a7b,_0x5a7670,_0x299e25){const _0x428d62=_0x73c0ab;if(_0x5a7670||(_0x5a7670=_0x4a3e49['random'](0x40/0x8)),_0x299e25)var _0x456c69=_0x3aa51c[_0x428d62(0x387)]({'keySize':_0x37bce6+_0x3a0a7b,'hasher':_0x299e25})[_0x428d62(0x2dc)](_0xadc0cc,_0x5a7670);else var _0x456c69=_0x3aa51c['create']({'keySize':_0x37bce6+_0x3a0a7b})[_0x428d62(0x2dc)](_0xadc0cc,_0x5a7670);var _0x347529=_0x4a3e49['create'](_0x456c69['words'][_0x428d62(0x3a1)](_0x37bce6),_0x3a0a7b*0x4);return _0x456c69[_0x428d62(0x231)]=_0x37bce6*0x4,_0x59f6ea[_0x428d62(0x387)]({'key':_0x456c69,'iv':_0x347529,'salt':_0x5a7670});}},_0x275791=_0x148db6[_0x73c0ab(0x2f4)]=_0x45f2a7['extend']({'cfg':_0x45f2a7[_0x73c0ab(0x177)][_0x73c0ab(0x2c3)]({'kdf':_0x478ba2}),'encrypt':function(_0x15b492,_0x5f3356,_0x34cfca,_0x2a1470){const _0x5d5f7b=_0x73c0ab;_0x2a1470=this['cfg']['extend'](_0x2a1470);var _0x599e67=_0x2a1470[_0x5d5f7b(0x257)][_0x5d5f7b(0x35d)](_0x34cfca,_0x15b492[_0x5d5f7b(0x3c8)],_0x15b492['ivSize'],_0x2a1470[_0x5d5f7b(0x186)],_0x2a1470[_0x5d5f7b(0x45f)]);_0x2a1470['iv']=_0x599e67['iv'];var _0x4b4b61=_0x45f2a7[_0x5d5f7b(0x4a4)]['call'](this,_0x15b492,_0x5f3356,_0x599e67['key'],_0x2a1470);return _0x4b4b61[_0x5d5f7b(0x260)](_0x599e67),_0x4b4b61;},'decrypt':function(_0x5dc0d9,_0x35800d,_0x3f2b25,_0x861694){const _0x7de0fd=_0x73c0ab;_0x861694=this[_0x7de0fd(0x177)][_0x7de0fd(0x2c3)](_0x861694),_0x35800d=this['_parse'](_0x35800d,_0x861694[_0x7de0fd(0x3f8)]);var _0x3761c7=_0x861694[_0x7de0fd(0x257)][_0x7de0fd(0x35d)](_0x3f2b25,_0x5dc0d9[_0x7de0fd(0x3c8)],_0x5dc0d9[_0x7de0fd(0x36f)],_0x35800d[_0x7de0fd(0x186)],_0x861694[_0x7de0fd(0x45f)]);_0x861694['iv']=_0x3761c7['iv'];var _0x5f398f=_0x45f2a7['decrypt'][_0x7de0fd(0x3f0)](this,_0x5dc0d9,_0x35800d,_0x3761c7[_0x7de0fd(0x295)],_0x861694);return _0x5f398f;}});}();}));}(Jt)),Jt[_0x382ac6(0x305)];}(function(_0xaba68e,_0x2165cd){(function(_0x426fa8,_0x4840f0,_0x4898c8){_0xaba68e['exports']=_0x4840f0(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x1177fd){const _0x2bfb5d=_0x5144;return(function(){const _0x237285=_0x5144;var _0x2c8282=_0x1177fd,_0x232018=_0x2c8282['lib'],_0x380b3a=_0x232018[_0x237285(0x45b)],_0x2d7761=_0x2c8282[_0x237285(0x284)],_0x20aaf5=[],_0x4bc75f=[],_0x3ee898=[],_0xe4866d=[],_0x9ce8de=[],_0x237c1d=[],_0xdd96a4=[],_0x21bce4=[],_0x533cff=[],_0x22f3b5=[];(function(){for(var _0x22049f=[],_0x17ed1b=0x0;_0x17ed1b<0x100;_0x17ed1b++)_0x17ed1b<0x80?_0x22049f[_0x17ed1b]=_0x17ed1b<<0x1:_0x22049f[_0x17ed1b]=_0x17ed1b<<0x1^0x11b;for(var _0xab73a1=0x0,_0x422ee1=0x0,_0x17ed1b=0x0;_0x17ed1b<0x100;_0x17ed1b++){var _0x3b5fa8=_0x422ee1^_0x422ee1<<0x1^_0x422ee1<<0x2^_0x422ee1<<0x3^_0x422ee1<<0x4;_0x3b5fa8=_0x3b5fa8>>>0x8^_0x3b5fa8&0xff^0x63,_0x20aaf5[_0xab73a1]=_0x3b5fa8,_0x4bc75f[_0x3b5fa8]=_0xab73a1;var _0x5a647b=_0x22049f[_0xab73a1],_0x178678=_0x22049f[_0x5a647b],_0x389aa9=_0x22049f[_0x178678],_0x9d8c4b=_0x22049f[_0x3b5fa8]*0x101^_0x3b5fa8*0x1010100;_0x3ee898[_0xab73a1]=_0x9d8c4b<<0x18|_0x9d8c4b>>>0x8,_0xe4866d[_0xab73a1]=_0x9d8c4b<<0x10|_0x9d8c4b>>>0x10,_0x9ce8de[_0xab73a1]=_0x9d8c4b<<0x8|_0x9d8c4b>>>0x18,_0x237c1d[_0xab73a1]=_0x9d8c4b;var _0x9d8c4b=_0x389aa9*0x1010101^_0x178678*0x10001^_0x5a647b*0x101^_0xab73a1*0x1010100;_0xdd96a4[_0x3b5fa8]=_0x9d8c4b<<0x18|_0x9d8c4b>>>0x8,_0x21bce4[_0x3b5fa8]=_0x9d8c4b<<0x10|_0x9d8c4b>>>0x10,_0x533cff[_0x3b5fa8]=_0x9d8c4b<<0x8|_0x9d8c4b>>>0x18,_0x22f3b5[_0x3b5fa8]=_0x9d8c4b,_0xab73a1?(_0xab73a1=_0x5a647b^_0x22049f[_0x22049f[_0x22049f[_0x389aa9^_0x5a647b]]],_0x422ee1^=_0x22049f[_0x22049f[_0x422ee1]]):_0xab73a1=_0x422ee1=0x1;}}());var _0x54e2cf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x44eb3f=_0x2d7761[_0x237285(0x10f)]=_0x380b3a['extend']({'_doReset':function(){const _0x38fad0=_0x237285;var _0x2d201f;if(!(this['_nRounds']&&this[_0x38fad0(0x30d)]===this[_0x38fad0(0x43b)])){for(var _0x134efe=this[_0x38fad0(0x30d)]=this[_0x38fad0(0x43b)],_0x3f4665=_0x134efe['words'],_0x6b3399=_0x134efe[_0x38fad0(0x231)]/0x4,_0x117e02=this[_0x38fad0(0x448)]=_0x6b3399+0x6,_0x21347d=(_0x117e02+0x1)*0x4,_0x52213c=this['_keySchedule']=[],_0x436817=0x0;_0x436817<_0x21347d;_0x436817++)_0x436817<_0x6b3399?_0x52213c[_0x436817]=_0x3f4665[_0x436817]:(_0x2d201f=_0x52213c[_0x436817-0x1],_0x436817%_0x6b3399?_0x6b3399>0x6&&_0x436817%_0x6b3399==0x4&&(_0x2d201f=_0x20aaf5[_0x2d201f>>>0x18]<<0x18|_0x20aaf5[_0x2d201f>>>0x10&0xff]<<0x10|_0x20aaf5[_0x2d201f>>>0x8&0xff]<<0x8|_0x20aaf5[_0x2d201f&0xff]):(_0x2d201f=_0x2d201f<<0x8|_0x2d201f>>>0x18,_0x2d201f=_0x20aaf5[_0x2d201f>>>0x18]<<0x18|_0x20aaf5[_0x2d201f>>>0x10&0xff]<<0x10|_0x20aaf5[_0x2d201f>>>0x8&0xff]<<0x8|_0x20aaf5[_0x2d201f&0xff],_0x2d201f^=_0x54e2cf[_0x436817/_0x6b3399|0x0]<<0x18),_0x52213c[_0x436817]=_0x52213c[_0x436817-_0x6b3399]^_0x2d201f);for(var _0x1d16e3=this[_0x38fad0(0x3e3)]=[],_0x4c4036=0x0;_0x4c4036<_0x21347d;_0x4c4036++){var _0x436817=_0x21347d-_0x4c4036;if(_0x4c4036%0x4)var _0x2d201f=_0x52213c[_0x436817];else var _0x2d201f=_0x52213c[_0x436817-0x4];_0x4c4036<0x4||_0x436817<=0x4?_0x1d16e3[_0x4c4036]=_0x2d201f:_0x1d16e3[_0x4c4036]=_0xdd96a4[_0x20aaf5[_0x2d201f>>>0x18]]^_0x21bce4[_0x20aaf5[_0x2d201f>>>0x10&0xff]]^_0x533cff[_0x20aaf5[_0x2d201f>>>0x8&0xff]]^_0x22f3b5[_0x20aaf5[_0x2d201f&0xff]];}}},'encryptBlock':function(_0x14fbac,_0x25ef4b){const _0x589668=_0x237285;this[_0x589668(0x28c)](_0x14fbac,_0x25ef4b,this['_keySchedule'],_0x3ee898,_0xe4866d,_0x9ce8de,_0x237c1d,_0x20aaf5);},'decryptBlock':function(_0x22bbc6,_0x5af795){const _0xd04c19=_0x237285;var _0x38d08c=_0x22bbc6[_0x5af795+0x1];_0x22bbc6[_0x5af795+0x1]=_0x22bbc6[_0x5af795+0x3],_0x22bbc6[_0x5af795+0x3]=_0x38d08c,this[_0xd04c19(0x28c)](_0x22bbc6,_0x5af795,this[_0xd04c19(0x3e3)],_0xdd96a4,_0x21bce4,_0x533cff,_0x22f3b5,_0x4bc75f);var _0x38d08c=_0x22bbc6[_0x5af795+0x1];_0x22bbc6[_0x5af795+0x1]=_0x22bbc6[_0x5af795+0x3],_0x22bbc6[_0x5af795+0x3]=_0x38d08c;},'_doCryptBlock':function(_0x2650b3,_0x443572,_0x312762,_0x1d3ce4,_0x952b3c,_0x45bc29,_0x4c0f78,_0x34d665){const _0x3b6259=_0x237285;for(var _0x471fcc=this[_0x3b6259(0x448)],_0x4f75d1=_0x2650b3[_0x443572]^_0x312762[0x0],_0x2eaf23=_0x2650b3[_0x443572+0x1]^_0x312762[0x1],_0x3ae2ba=_0x2650b3[_0x443572+0x2]^_0x312762[0x2],_0x34a1f4=_0x2650b3[_0x443572+0x3]^_0x312762[0x3],_0x257cf6=0x4,_0x158ff9=0x1;_0x158ff9<_0x471fcc;_0x158ff9++){var _0x59d4f2=_0x1d3ce4[_0x4f75d1>>>0x18]^_0x952b3c[_0x2eaf23>>>0x10&0xff]^_0x45bc29[_0x3ae2ba>>>0x8&0xff]^_0x4c0f78[_0x34a1f4&0xff]^_0x312762[_0x257cf6++],_0x251dac=_0x1d3ce4[_0x2eaf23>>>0x18]^_0x952b3c[_0x3ae2ba>>>0x10&0xff]^_0x45bc29[_0x34a1f4>>>0x8&0xff]^_0x4c0f78[_0x4f75d1&0xff]^_0x312762[_0x257cf6++],_0x577087=_0x1d3ce4[_0x3ae2ba>>>0x18]^_0x952b3c[_0x34a1f4>>>0x10&0xff]^_0x45bc29[_0x4f75d1>>>0x8&0xff]^_0x4c0f78[_0x2eaf23&0xff]^_0x312762[_0x257cf6++],_0x1633b3=_0x1d3ce4[_0x34a1f4>>>0x18]^_0x952b3c[_0x4f75d1>>>0x10&0xff]^_0x45bc29[_0x2eaf23>>>0x8&0xff]^_0x4c0f78[_0x3ae2ba&0xff]^_0x312762[_0x257cf6++];_0x4f75d1=_0x59d4f2,_0x2eaf23=_0x251dac,_0x3ae2ba=_0x577087,_0x34a1f4=_0x1633b3;}var _0x59d4f2=(_0x34d665[_0x4f75d1>>>0x18]<<0x18|_0x34d665[_0x2eaf23>>>0x10&0xff]<<0x10|_0x34d665[_0x3ae2ba>>>0x8&0xff]<<0x8|_0x34d665[_0x34a1f4&0xff])^_0x312762[_0x257cf6++],_0x251dac=(_0x34d665[_0x2eaf23>>>0x18]<<0x18|_0x34d665[_0x3ae2ba>>>0x10&0xff]<<0x10|_0x34d665[_0x34a1f4>>>0x8&0xff]<<0x8|_0x34d665[_0x4f75d1&0xff])^_0x312762[_0x257cf6++],_0x577087=(_0x34d665[_0x3ae2ba>>>0x18]<<0x18|_0x34d665[_0x34a1f4>>>0x10&0xff]<<0x10|_0x34d665[_0x4f75d1>>>0x8&0xff]<<0x8|_0x34d665[_0x2eaf23&0xff])^_0x312762[_0x257cf6++],_0x1633b3=(_0x34d665[_0x34a1f4>>>0x18]<<0x18|_0x34d665[_0x4f75d1>>>0x10&0xff]<<0x10|_0x34d665[_0x2eaf23>>>0x8&0xff]<<0x8|_0x34d665[_0x3ae2ba&0xff])^_0x312762[_0x257cf6++];_0x2650b3[_0x443572]=_0x59d4f2,_0x2650b3[_0x443572+0x1]=_0x251dac,_0x2650b3[_0x443572+0x2]=_0x577087,_0x2650b3[_0x443572+0x3]=_0x1633b3;},'keySize':0x100/0x20});_0x2c8282[_0x237285(0x10f)]=_0x380b3a[_0x237285(0x1f1)](_0x44eb3f);}()),_0x1177fd[_0x2bfb5d(0x10f)];}));}(zi));var ic=zi['exports'];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0xd7d53e,_0x5e529e){(function(_0x3eb034,_0x3bf20c){const _0x10e3a4=_0x5144;_0xd7d53e[_0x10e3a4(0x305)]=_0x3bf20c(ue());}(Z,function(_0x197c73){const _0x1b8003=_0x5144;return _0x197c73[_0x1b8003(0x46a)][_0x1b8003(0x2b6)];}));}(Zi));var oc=Zi[_0x45d431(0x305)];const ac=at(oc);var Qi={'exports':{}};(function(_0x539361,_0x543c4f){(function(_0x56e7db,_0x27e746){const _0x41ae74=_0x5144;_0x539361[_0x41ae74(0x305)]=_0x27e746(ue());}(Z,function(_0x420755){const _0x590ad7=_0x5144;return(function(){const _0x41fba0=_0x5144;if(typeof ArrayBuffer==_0x41fba0(0x40b)){var _0x2fc1eb=_0x420755,_0x1464b0=_0x2fc1eb[_0x41fba0(0x1cb)],_0x15c601=_0x1464b0[_0x41fba0(0x489)],_0xcea8f5=_0x15c601[_0x41fba0(0x3de)],_0x5117f6=_0x15c601[_0x41fba0(0x3de)]=function(_0x30e132){const _0x34ae4e=_0x41fba0;if(_0x30e132 instanceof ArrayBuffer&&(_0x30e132=new Uint8Array(_0x30e132)),(_0x30e132 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30e132 instanceof Uint8ClampedArray||_0x30e132 instanceof Int16Array||_0x30e132 instanceof Uint16Array||_0x30e132 instanceof Int32Array||_0x30e132 instanceof Uint32Array||_0x30e132 instanceof Float32Array||_0x30e132 instanceof Float64Array)&&(_0x30e132=new Uint8Array(_0x30e132[_0x34ae4e(0x103)],_0x30e132[_0x34ae4e(0x461)],_0x30e132[_0x34ae4e(0x495)])),_0x30e132 instanceof Uint8Array){for(var _0x47cfd0=_0x30e132['byteLength'],_0x59617a=[],_0x44fee2=0x0;_0x44fee2<_0x47cfd0;_0x44fee2++)_0x59617a[_0x44fee2>>>0x2]|=_0x30e132[_0x44fee2]<<0x18-_0x44fee2%0x4*0x8;_0xcea8f5[_0x34ae4e(0x3f0)](this,_0x59617a,_0x47cfd0);}else _0xcea8f5['apply'](this,arguments);};_0x5117f6['prototype']=_0x15c601;}}()),_0x420755[_0x590ad7(0x1cb)][_0x590ad7(0x489)];}));}(Qi));var cc=Qi[_0x45d431(0x305)];const hc=at(cc);var er={'exports':{}};(function(_0xc3fd21,_0x57c7ab){(function(_0x5deb01,_0x4ff7d3,_0x5e9a2d){const _0x440360=_0x5144;_0xc3fd21[_0x440360(0x305)]=_0x4ff7d3(ue(),Ji());}(Z,function(_0xbc9371){const _0x153264=_0x5144;return _0xbc9371[_0x153264(0x410)][_0x153264(0x31a)]={'pad':function(){},'unpad':function(){}},_0xbc9371[_0x153264(0x410)][_0x153264(0x31a)];}));}(er));var lc=er[_0x45d431(0x305)];function _0x31e6(){const _0x3bd96a=['getAllMembers','icon','enc','1323128gINfNa','objectID','_loadDoc','_iKey','params','_imageIoService','has','_transitionLocked','_unitStatus','joinEvent','?size=','pipe','getImage','_collabSessionService','_startCollaboration','endColumn','AWAITING_WITH_PENDING','HEARTBEAT','_awaitingChangeset','_transformUndoredo','addObjects','every','_onRemoteRejected','_getAPIPrefixPath','onTransformIME','saveSnapshot','_getCtorByUniverType','getInterceptPoints','_onConflict','_http','WordArray','sheetId','CONFLICT','COMMENT_UPDATE','onCommandExecuted','fillText','createSocket','_event$','off-line-single_clip0_910_343','updateCursorEvent','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','getOwnPropertyDescriptor','byteLength','isArray','_executeRemoteChangeset','reconnect','3667422vJNyPB','transformMutationsWithChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','location','red300','univer-online','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_heartbeatTimer','_colorIndex','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/universer-api/oidc/authpage','encrypt','startTime','padding','_candidateSocket','/universer-api/authz','newValue','snapshotServerUrl','_onFetchMissResult','[OfflineState]:\x20received\x20changeset.','APPLY_NON_SEQUENTIAL_REVISION','telemetry\x20info\x20is\x20not\x20initialized','Error\x20on\x20receiving\x20event','Decryptor','_tryEnsureSocket','_scheduleClearOtherTimer','_collaborationTimeoutTimer','TOO_MANY_REQUESTS','concat','requireSession','_listenToOnlineEvent','_sheetTransformSelectionsService','_compressMutationService','InsertRowCommandId','popstate','lineTo','_getAnchorBounding','Fragment','on-line-single_clip0_910_349','_labelPosition','onCommentUpdate','fetch_missing','InsertRangeMoveRightCommandId','gold400','objectType','_state','registerOnClose','univer-online-status-icon','members','objectActions','responseType','5177265uJgikO','RECT','_createSocketURL','repeat','textRanges','_redoStacks','_acknowledgedAwaitingChangeset','_initCommandExecutedListener','list','/universer-api/snapshot','_disableEditing','doc.mutation.rich-text-editing','_clearTimeoutTimer','blockSize','AUTHZ_URL_KEY','_imageSourceCache','roomMembers$','forEach','Error','[OfflineState]:\x20received\x20acknowledgement.','UNIVER_UNKNOWN','univerjs-icon\x20univerjs-icon-','_id','collabWebSocketUrl','_context','_initUnitPermissionChange','enableLocalCache','_substituteRedoStack','headers','_toggleOnline','requestParams','onSyncEditingCollabCursor','_type','subscribeEvent','permissionRejEvent','object','getCurrentSelections','_xformMode','JOIN','x-univer-host','onTransformRemoteChangesetByIMECache','event$','_updateCollabCursors','roles','defineProperty','getFocusedUnit','collab-text-range-','ciphertext','mutations','fromCollab','collaboration-session-retry','encodeURIComponent','[CollaborationState]:\x20apply\x20error!','_drawRectRange','LEAVE','getActiveSheet','_joinRoom','registerBeforeClose','failed\x20to\x20apply\x20missed\x20changesets!','getOwnPropertySymbols','json','getCurrent','awaitingChangeset','createInstance','_clearHeartbeatTimer','getCollabEntity$','_snapshotService','_refreshCollabCursors','_startSheetCollabCursor','all','top','_handleJoinEvent','length','number','submit\x20changeset\x20error!','code','_changesetReqId','UPDATE_CURSOR','parse','/collaborator','reduce','addClipboardHook','closeSession','$super','setConfig','onRemoteChangeset','_syncEditingCollabCursor','_members','[CollaborationUndoRedoService]','string','transformMutation','buffer','ALREADY_EXISTS','getCurrentRevOfUnit','_color','_docSyncEditingCollabCursorService','_change$','disposeUnit','drawWith','fill','getMember','fromCharCode','conflict','AES','encryptBlock','_cachedData','conflict.content','randomBytes','getUnit','_createInitialStateImpl','origin','toString','type','_onMessage','2tcltIA','next','editing\x20status\x20changed\x20to','_urlService','message$','_getUndoStack','finalize','907657lZnkHG','_httpService','mode','_DEC_XFORM_MODE','_replayCachedMutations','_cursorInfo$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_getMergeRange','interceptor','verdancy600','HttpExport','1em','CHANGESET_SHOULD_RETRY','_saveCache','HEARTBEAT_TIMEOUT','href','HELLO','_transformStack','UNKNOWN_CODE','HEADER_MENU','_drawTextRange','collaboratorID','_logService','_minBufferSize','_waitCount','pluginName','ws://127.0.0.1:8000/universer-api/comb/connect','_oKey','_localStorageService','exhaustSavingTask','_tryReconnect','socket\x20open.','COLLAB_WEB_SOCKET_URL','getUnitStatus$','_hovered','default','getUndoRedoMutationParamsCache','url(#off-line-single_clip0_910_343)','getImageSourceCache','beginPath','_session','_ensureSubject','createDecryptor','/rev/','words','subunit','selection','sessionStatus','height','_entityInit$','className','_removeRoom','_textBubble','SUBMIT_CHANGESET','_getSheetObject','offline','_saveTaskMap','isActive','OpenSSL','capture','target','close','labelPosition','session','[UniverCollaborationClientPlugin]','isEditing','currentSkeleton$','_name','join','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','assignAColorForMemberID','_configService','permission.title','_updateURLWithCurrentState','assign','_doFinalize','_telemetryService','VIEW_MAIN','collabStatus.syncing','_onRemoteChangeset','moveTo','\x0aCurrent:\x20','FAIL','awaiting','complete','show','cfg','ENSURE_SNAPSHOT_EXECUTION','memberID','collabCursorState$','setParam','open$','_remoteChangesetQueue','_onOffline','clearInterval','updateOfflineData','_clearLocalCache','push','getStateCache','unshift','use','salt','SHA1','LIVESHARE_REQUEST_HOST','EvpKDF','_queuedRemoteChangesets','USERS_ENTER','_shouldReportTelemetry','_registerDependencies','_handleEvent','jiqing500','_getSessionTicket','_setupSubUnitSync','_lastPointer','AWAITING','_docTransformStateCacheService','save\x20fail\x20reason\x20is\x20','BufferedBlockAlgorithm','fetchThroughInterceptors','_commandService','_removeCollabCursors','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getRandomValues','_incrementRevisionNumber','m2Prime','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','bottom','_showConflictNotification','downloadEndpointUrl','_anchorDot','_throwTelemetryCollaborationNewChangeset','NEW_CHANGESETS','APPLY_REVISION_CONFILICT','_refRangeService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','workbook','session.will-retry','undoState','getMemberID','createEncryptor','_resendTimer','_drawAnchor','_updateLocalCache','_createHandler','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','YUUMI_SUBSCRIPTION_NOT_FOUND','children','LICENSE_EXPORT_SIZE_EXCEEDED','width','RECV','makeDirty','tag','unitID','resourceIDs','getSheetBlock','asObservable','transformChangesets','&to=','m1Prime','_onConnectionFailed','rng','onMouseMove','collabStatus.fetchMiss','image/gif','Cipher','userID','SNAPSHOT_HAS_BEEN_REMOVED','_revisionService','random','M0\x200H16V16H0z','lib','max','registerRefRange','_send','compose','_syncEditingCollabCursorService','clear','stopTime','onMissingChangesets','onload','_process','__esModule','iterations','collabSubmitChangesetUrl','UNDEFINED','Hasher','_selfUnitIDs','generateRandomId','evenodd','38549390sfXcJa','collaboration.closeRoom','[PendingState]:\x20unhandled\x20univer\x20type:\x20','imageSourceType','_range','/universer-api/user/session-ticket','loadSheet','_timeoutTimer','localeService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','synced','_instanceService','collabStatus.conflict','clone','_initRequestHeader','_toggleOffline','setTimeout','getParam','getSheetId','_createHelper','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','transformStateCache','_HTTPService','_retryCount','_retryConnectingTimer','_pendingMutations','_substituteUndoStack','c1Prime','MD5','_handleLeaveEvent','map','_fetchMissChangesets','_online','_clearCollaborationTimeoutTimer','univer-pro.collaboration-client-socket-service','COMPRESS_MUTATION_APPLY','_listenToOfflineEvent','DeleteRangeMoveLeftCommandId','_hideTimer','getValue','CBC','SHOULD_CLOSE_CONN','status$','getTypeOfUnitDisposed$','_localeService','_init','add','ceil','USERS_LEAVE','disposeWithMe','blue400','getResourcesRequest','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_COLLABORATION_CLIENT_PLUGIN','csAckEvent','getRangePointData','override','close$','Unknown\x20user','setShapeProps','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','batchAllowed','&source=','APPLY_DUPLICATED','FETCH_MISS','_updateLocalCursor','with','UNKNOWN_CMD','[PendingState]:\x20received\x20acknowledgement.','symbol','saveOfflineData','initWorkbookPermissionChange','restore','splice','onSendChangeset','[SyncedState]:\x20received\x20rejection.','_onLocalMutation','_transformIMECache','readAsDataURL','src','getUnitType','confirm','RemoveColCommandId','sigBytes','_createHmacHelper','_commentUpdate$','IDLE','permission.content','enableAuthServer','_changesetSessionId','_iv','_sheetSkeletonManagerService','dispose','univer-online-status','\x20to\x20','subscribe','clamp','/allowed','[FetchMissState]','_getSnapshotAPIPrefix','[DataLoaderController]','LIVESHARE_OPERATION','\x20-\x20','onStarting','/fetchmissing?from=','_isPermissionRej','_ENC_XFORM_MODE','TEXT','_startTelemetryCollaborationNewChangeset','Base','liveShareNewHost','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','isPermissionRej','_stopTelemetryCollaborationNewChangeset','resend','socket$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_scheduleTimestamp','commentUpdateEvent','reverse','getOffsetConfig','kdf','UNIVER_DOC','_sendingTimer','incrementRevOfUnit','black','1271535CIILll','_onCombEvent','_hash','getLatestCsReqIdBySid','mixIn','catch','_draw','RETRY_CONNECTING_MAX_COUNT','_initMergeInterceptor','_hover','color','_themeService','COMPRESS_MUTATION_SEND','BASE64','_disabled','clipPath','SerializableCipher','FromArray','uploadFileServerUrl','hasOwnProperty','getRelativeToViewportCoord','_docClipboardService','history','eventID','closePath','currentTheme$','_clearRedo','revision','clearTimeout','_renderManagerService','data','substr','InsertRangeMoveDownCommandId','defs','substring','commentUpdate$','[OfflineState]:\x20received\x20rejection.','session.collaboration-timeout','_onRefRangeChange','reset','algo','_status$','Base64','APPLY_REJECT','readInt32LE','/universer-api/snapshot/','_append','sheetID','_doCryptBlock','collaboration_new_changeset','NO_OTHER_CLIENTS_EDITING','univer-offline','getCollabEntity','PENDING','round','authzUrl','_cursor','key','get','FileId','charAt','error','_transformStateCache','[SyncedState]:\x20received\x20acknowledgement.','_scheduleCollaborationTimeoutTimer','APPLY_PERMISSION_DENIED','removeMember','NOT_FOUND','removeParam','not_collab','bind','_scheduleSaving','_roomMembers$','visibilityState','collaboration-client.config','randomUUID','ref','apply','redoState','image/jpg','listCollaborators','fillStyle','JOIN_ROOM_FULL','cursorInfo','LIVESHARE_TERMINATE','transformUndoRedo','_initStatusComponent','_collaborationController','jsx','auth.needGotoLoginAlert','Utf8','collab-text-anchor-','getCurrentUser','text','_replaceFileID','_transformService','_clearUndo','onTransformChange$','_onConnectionOpen','updatePermissionPoint','selections','_assignedColors','toggleOnline','extend','_eventUnsubscribe','values','SYNCED','/object/','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','patch','getUnitId','POST','collaboration.single-unit.warning','DEFAULT_FILE_NAME','some','sendChangesetTimeout','file','hidden','_initCloseConn','0\x200\x2017\x2016','[CollaborationSessionService]:\x20socket\x20error','_cipher','encode','measureText','_userManagerService','rgba(255,\x20255,\x20255,\x200.01)','idSuffix','storage','compute','_transformRemoteChangesetByStateCache','find','_createSocket','_rescheduleHeartbeat','_backgroundColor','_resendTimeout','result','collabStatus.notCollab','_univerInstanceService','fetchMiss','entries','transformRemoteChangeset','onlineStatusTitle','_sendHeartbeat','LIVESHARE_NEW_HOST','_collabCursorState$','_createInitialState','CHANGESET_REJ','UNRECOGNIZED','_removeClearOtherTimer','UNAUTHENTICATED','_exhaustRemoteChangesetQueue','InsertColCommandId','PasswordBasedCipher','SEND_CHANGESET_TIMEOUT','getCollabCursors$','_cursorShapes','loadOfflineData','/new_changes','_schedule','source','fetchMissingChangesets','on-line-single','replace','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HEARTBEAT_INTERVAL','_beforeCloseService','_anchor','backgroundColor','state','exports','LICENSE_DISTRO_REJECTED','onlyLocal','c2Prime','colorChannel1','_socketReady','LICENSE_IMPORT_SIZE_EXCEEDED','LIVESHARE_FETCH_OPERATIONS','_keyPriorReset','_waitForHeartbeatResponse','Latin1','unitId','put','xlink:href','toLowerCase','jsxs','wsSessionTicketUrl','replaceState','StreamCipher','_onRemoteRetry','indexOf','NoPadding','ACTIVE_UNIT_EVENT_CHANNEL','_transformRemoteChangesetByIMECache','INTERNAL_ERROR','DeleteRangeMoveUpCommandId','_unitOnClients','getRenderById','_messageService','hovered','LOGIN_URL_KEY','onTransformSelections','_docTransformIMECacheService','toggleOffline','processBlock','awaiting_with_pending','setAlpha','_onUserLeave','_submitChangeset','5391054wEBfmq','application/json','div','/role','urlChange$','originalMeta','saveChangeset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getAncestorScale','_sessions','toRgbString','rev','image/jpeg','focused$','sid','_startDocCollabCursor','UNIVER_SHEET','_transformPreviousActiveRange','_roomMembers','UNIVER_SLIDE','_onRecvEvent','getTime','_localCacheService','SNAPSHOT_INVALID_SNAPSHOT','MSG_FOR_ERROR','/block/','_shapes','_doReset','_getAPIPrefix','onRemoteRej','column','change$','setItem','registerRenderModule','now','_initResize','subject','_unlockTransition','_resendWithTimeout','replaceDocRanges','decryptBlock','findNodePositionByCharIndex','saveImage','error$','_commentService','stringify','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[CollaborationSessionService]','_reverseMap','execute','univer-online-status-title','ERROR_EXCEED_SIZE','executeCommand','pending','_loadSheet','displayName','unit','image/bmp','MUTATION','trim','getSheetBySheetId','objects','_getLoginPath','OnLineSingle','_telemetryInfo','getMergeData','MoveRangeCommandId','ivSize','PERSON','Could\x20not\x20dynamically\x20require\x20\x22','HttpImport','name','PSEUDO_FETCH_MISSING_RESULT','ERROR_IMAGE','NOT_COLLAB','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','activeSheet$','floor','Univer','INGEST','leaveEvent','path','range','uni.network.url-service','getDeserializedSheetBlock','INVALID_ARGUMENT','RemoveRowCommandId','unknown','_sender','defaultProps','onTransformRemoteChangesetByStateCache','create','loginUrlKey','size','_updateStatus','then','&assign=','ERROR_IMAGE_TYPE','0\x200\x2016\x2016','_getScale','visibilitychange','debug','getItem','filter','onRemoteRetry','_map','transformSelections','_registerRenderDependencies','_socket$','_getSendChangesetTimeout','_handler','loadDoc','registerHTTPInterceptor','_checkMissing','_onJoinRoomEvent','_docSkeletonManagerService','allowed','slice','_snapshotServerService','SNAPSHOT_URL_KEY','/-/object/-/batch_allowed','saveSheetBlock','_onCursorDelete','retryConnectingInterval','split','#FFF','deepClone','syncEditingCollabCursor','charCodeAt','copyFileMeta','_initDependencies','_getSignURL','_getCurrentRevision','subUnitId','_parse','getTypeOfUnitAdded$','actions','sessionTicket','joinRsp','font','CHANGESET_ACK','CONNECTOR_DATA_TOO_LARGE','HmacMD5','collaboration-client.offline-data-not-saved','8UBAtQx','_hasher','_initEventListeners','_setupBeforeClosingHandler','reject','_handleHover','_docTransformSelectionsService','startRow','setShowComponents','SNAPSHOT_SERVER_URL_KEY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_getDownloadEndpointURL','keySize','Pkcs7','post','defIds','__Key__','deleteCollaborator','body','_colorAssignService','_mode','title','baseRev','whenReady','_collaborationSessionService','react.element','online','_data','PERMISSION_DENIED','onPointerLeave$','current','transformIMECache','searchParams','FETCH_MISSING','init','cmd','_lockTransition','currentColor','OffLineSingle','_invKeySchedule','getConfig','UPDATE_PERMISSION_OBJ','_render','avatar','_collaborationPaused','_decreaseWaiting','delete','set','_scheduleHeartbeat','_nDataBytes','_docStateChangeManagerService','createCollaborator','call','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionStatus$','_memberService','min','getCellPositionByOffset','onPointerEnter$','_injector','format','from','35dLfXYd','addObject','_socketService','crypto','COMPLETION_FINISHED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getDocRanges','_onCursorUpdate','_permissionService','COLLAB_SUBMIT_CHANGESET_URL','onRendered','includes','unsubscribe','connection\x20error','roomMembers','_applyRemoteChangeset','_transformUndoRedoStack','function','OFFLINE','_uiPartsService','UniverIcon','Hex','pad','PERMISSION_REJ','_socket','hide','onRemoteAck','_getRedoStack','_transformHistoryAndStateStack','_ws','_scene','prototype','ranges','_prevBlock','_updateState','conflict.title','svg','_collabCursorController','/unit/','pushState','send','JOIN_ROOM_NOT_ALLOWED','arc','dispose$','collab-rect-range-','_unitID','_initStatusListener','Encryptor','YUUMI_RATE_OVER_LIMIT','HMAC','setUndoRedoMutationParamsCache','updateMember','_cursors','fillRule','appendMutation','withCredentials','_config','univer-pro.collaboration-client.single-active-unit-service','_clearOtherTimers','newCsEvent','People','cursorInfo$','unitId\x20is\x20not\x20found','none','_clearScheduledTask','_key','JOINING','setActiveRange','_state$','#fff','OTHER_CLIENTS_EDITING','...','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','LICENSE_MAX_UNITS_EXCEEDED','_updateSubUnitFromURLParams','attrs','_sendHeartbeatTimer','session.room-full','_nRounds','row','_onUserJoin','/object','enableOfflineEditing','_undoRedoService','for','_entities','_socketMessageSubscription','UnitEmbedded','_sessionStatus$','/universer-api/comb','_handleHeartbeatEvent','Warning','status','routeKey','__creator','reqId','[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.','BlockCipher','onMissedChangesetFetched','Undefined','YUUMI_UNABLE_LOAD_URL','hasher','skeleton','byteOffset','_singleActiveUnitService','unpad','ONLINE','signUrlServerUrl','_notificationService','onTransformState'];_0x31e6=function(){return _0x3bd96a;};return _0x31e6();}const _c=at(lc);function uc(_0x5260c4,_0x2782a5){const _0x42bc10=_0x45d431,_0x81bcb9=_0x2782a5-_0x5260c4[_0x42bc10(0xf0)]%_0x2782a5,_0x4a8b8b=String['fromCharCode'](_0x81bcb9)[_0x42bc10(0x4cf)](_0x81bcb9);return _0x5260c4+_0x4a8b8b;}function dc(_0xec1c8e,_0x3dfdab){const _0x3ab8f5=_0x45d431,_0x230afc=hc[_0x3ab8f5(0x1c9)](0x10),_0x507d4a=uc(_0xec1c8e,0x10),_0x24c81c=rc[_0x3ab8f5(0x4a4)](ac[_0x3ab8f5(0xf6)](_0x507d4a),ci[_0x3ab8f5(0xf6)](_0x3dfdab),{'iv':_0x230afc,'padding':_c});return _0x230afc['concat'](_0x24c81c[_0x3ab8f5(0x4fb)])[_0x3ab8f5(0x117)](ci);}function fc(){const _0x62db45=_0x45d431,_0x3d9a97=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x62db45(0x3cc)];if(_0x3d9a97){const _0xd294da={'time':Math[_0x62db45(0x379)](Date[_0x62db45(0x34e)]()/0x3e8),'domain':location['hostname']};return dc(JSON[_0x62db45(0x359)](_0xd294da),_0x3d9a97);}}var vc=Object['defineProperty'],mc=Object[_0x45d431(0x494)],pc=(_0x28c8bf,_0x321cf7,_0x12e038,_0x41a771)=>{const _0xe2432f=_0x45d431;for(var _0x2f6c46=_0x41a771>0x1?void 0x0:_0x41a771?mc(_0x321cf7,_0x12e038):_0x321cf7,_0x3e0b3a=_0x28c8bf[_0xe2432f(0xf0)]-0x1,_0x2cf1a0;_0x3e0b3a>=0x0;_0x3e0b3a--)(_0x2cf1a0=_0x28c8bf[_0x3e0b3a])&&(_0x2f6c46=(_0x41a771?_0x2cf1a0(_0x321cf7,_0x12e038,_0x2f6c46):_0x2cf1a0(_0x2f6c46))||_0x2f6c46);return _0x41a771&&_0x2f6c46&&vc(_0x321cf7,_0x12e038,_0x2f6c46),_0x2f6c46;},gc=(_0xd173cf,_0x42ee8d)=>(_0x9de783,_0x423a14)=>_0x42ee8d(_0x9de783,_0x423a14,_0xd173cf);let Rt=class{constructor(_0x2ab5ac){const _0x44ba82=_0x45d431;this[_0x44ba82(0x122)]=_0x2ab5ac,this[_0x44ba82(0x1ec)]();}[_0x45d431(0x1ec)](){const _0x300129=_0x45d431;this[_0x300129(0x122)]['registerHTTPInterceptor']({'interceptor':(_0x25098c,_0x4efc35)=>{const _0x5c817f=_0x300129,_0x4d18ce=_0x25098c[_0x5c817f(0x4e8)],_0x163b3f=fc();return _0x163b3f&&_0x4d18ce[_0x5c817f(0x3eb)](_0x5c817f(0x4f3),_0x163b3f),_0x4efc35(_0x25098c);}});}};Rt=pc([gc(0x0,_0x35b6a2(_0xa83f3b))],Rt);var Sc=Object[_0x45d431(0x4f8)],Ic=Object[_0x45d431(0x494)],Cc=(_0x1fd861,_0x2dc5f4,_0x480b33,_0x16e635)=>{for(var _0x36be9a=_0x16e635>0x1?void 0x0:_0x16e635?Ic(_0x2dc5f4,_0x480b33):_0x2dc5f4,_0x19dbd8=_0x1fd861['length']-0x1,_0x1dd04a;_0x19dbd8>=0x0;_0x19dbd8--)(_0x1dd04a=_0x1fd861[_0x19dbd8])&&(_0x36be9a=(_0x16e635?_0x1dd04a(_0x2dc5f4,_0x480b33,_0x36be9a):_0x1dd04a(_0x36be9a))||_0x36be9a);return _0x16e635&&_0x36be9a&&Sc(_0x2dc5f4,_0x480b33,_0x36be9a),_0x36be9a;},Zt=(_0x35ea51,_0x242555)=>(_0x20cfa5,_0x174b4b)=>_0x242555(_0x20cfa5,_0x174b4b,_0x35ea51);const Ec=['image/png',_0x45d431(0x338),_0x45d431(0x2ab),_0x45d431(0x1c4),_0x45d431(0x365)],bc=0x5*0x400*0x400,Tc=_0x45d431(0x1e7),Rc='/universer-api/stream/file/upload',Oc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',yc='/universer-api/file/{fileID}/sign-url';let _s=class{constructor(_0x5a4d83,_0x481459,_0x418858){const _0x17498f=_0x45d431;g(this,_0x17498f(0x139),0x0),g(this,_0x17498f(0x108),new _0x54ef1d()),g(this,_0x17498f(0x34b),this[_0x17498f(0x108)]),g(this,_0x17498f(0x4db),new Map()),(this[_0x17498f(0x122)]=_0x5a4d83,this[_0x17498f(0x168)]=_0x481459,this[_0x17498f(0x2e5)]=_0x418858);}['setWaitCount'](_0x16254c){const _0xad0d2a=_0x45d431;this[_0xad0d2a(0x139)]=_0x16254c,this[_0xad0d2a(0x108)]['next'](_0x16254c);}[_0x45d431(0x147)](_0x899c0f,_0xe2bb95){const _0x2a8bf2=_0x45d431;if(_0xe2bb95===_0x56a221[_0x2a8bf2(0x269)]){const _0x126bd3=new Image();return _0x126bd3[_0x2a8bf2(0x22d)]=_0x899c0f,_0x126bd3;}return this[_0x2a8bf2(0x4db)]['get'](_0x899c0f);}['addImageSourceCache'](_0x226089,_0x19dd6e,_0x1a0454){const _0x360bf5=_0x45d431;_0x19dd6e===_0x56a221[_0x360bf5(0x269)]||_0x1a0454==null||this['_imageSourceCache']['set'](_0x226089,_0x1a0454);}async[_0x45d431(0x477)](_0x473a1e){const _0x150be2=_0x45d431;try{const _0x49a636=this[_0x150be2(0x2ba)](this[_0x150be2(0x3af)](),''+_0x473a1e),_0x1bd931=(await this[_0x150be2(0x122)][_0x150be2(0x296)](_0x49a636))[_0x150be2(0x3ce)];if(_0x1bd931[_0x150be2(0x299)]&&_0x1bd931[_0x150be2(0x299)][_0x150be2(0xf3)]===Ui['OK']){const _0x63094c=new URL(_0x1bd931['url'],this[_0x150be2(0x3c7)]())[_0x150be2(0x117)]();return Promise['resolve'](_0x63094c);}return Promise[_0x150be2(0x3c0)](_0x1bd931[_0x150be2(0x299)]);}catch(_0x21d796){return Promise[_0x150be2(0x3c0)](_0x21d796);}}async[_0x45d431(0x356)](_0x18e35f){const _0x31df80=_0x45d431;let _0x246926='';if(!Ec[_0x31df80(0x405)](_0x18e35f[_0x31df80(0x118)]))return this[_0x31df80(0x3e9)](),Promise[_0x31df80(0x3c0)](new Error(_0x34f929[_0x31df80(0x38d)]));if(_0x18e35f[_0x31df80(0x389)]>bc)return this[_0x31df80(0x3e9)](),Promise[_0x31df80(0x3c0)](new Error(_0x34f929[_0x31df80(0x35f)]));try{const _0x3c5016=new FormData();_0x3c5016['append'](_0x31df80(0x2d0),_0x18e35f);const _0x17c1b9=this['_univerInstanceService']['getFocusedUnit'](),_0x40569e=_0x17c1b9==null?void 0x0:_0x17c1b9[_0x31df80(0x2ca)]();if(!_0x40569e)throw new Error(_0x31df80(0x438));const _0x1b7cb6=this['_getUploadFileURL']()+_0x31df80(0x475)+_0x18e35f[_0x31df80(0x389)][_0x31df80(0x117)]()+_0x31df80(0x21c)+Ni[_0x31df80(0x451)]+_0x31df80(0x38c)+encodeURIComponent(_0x40569e),_0x20b32f=await(await fetch(_0x1b7cb6,{'method':'POST','body':_0x3c5016}))[_0x31df80(0x508)]();if(typeof _0x20b32f[_0x31df80(0x297)]!='string')return this[_0x31df80(0x3e9)](),Promise[_0x31df80(0x3c0)](new Error(_0x34f929[_0x31df80(0x375)]));_0x246926=_0x20b32f[_0x31df80(0x297)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x34f929['ERROR_IMAGE']));}return new Promise((_0x3505ff,_0x6de1b)=>{const _0x3cbda9=_0x31df80,_0x42336d=new FileReader();_0x42336d[_0x3cbda9(0x22c)](_0x18e35f),_0x42336d[_0x3cbda9(0x1d4)]=_0x58d36e=>{const _0x32f9f7=_0x3cbda9;var _0x25a917;const _0x41f345=(_0x25a917=_0x58d36e[_0x32f9f7(0x15d)])==null?void 0x0:_0x25a917[_0x32f9f7(0x2e3)];if(_0x41f345==null){this[_0x32f9f7(0x3e9)](),_0x6de1b(new Error(_0x34f929['ERROR_IMAGE']));return;}const _0x418a9a=_0x8b0f12['generateRandomId'](0x6);_0x3505ff({'imageId':_0x418a9a,'imageSourceType':_0x56a221['UUID'],'source':_0x246926,'base64Cache':_0x41f345,'status':_0x34f929['SUCCUSS']}),this[_0x32f9f7(0x3e9)]();};});}['_getUploadFileURL'](){const _0x4156dd=_0x45d431;var _0x1acece,_0x597b5b;const _0x1a65cd=this[_0x4156dd(0x168)][_0x4156dd(0x3e4)](Tc),_0x3ae66d=this[_0x4156dd(0x168)]['getConfig'](ee);return(_0x597b5b=(_0x1acece=_0x3ae66d==null?void 0x0:_0x3ae66d[_0x4156dd(0x26e)])!=null?_0x1acece:_0x1a65cd)!=null?_0x597b5b:Rc;}[_0x45d431(0x3af)](){const _0x3c0b18=_0x45d431;var _0x3a735c,_0x146399;const _0x4ddd2c=this[_0x3c0b18(0x168)][_0x3c0b18(0x3e4)](Oc),_0x4a1fc3=this[_0x3c0b18(0x168)][_0x3c0b18(0x3e4)](ee);return(_0x146399=(_0x3a735c=_0x4a1fc3==null?void 0x0:_0x4a1fc3[_0x3c0b18(0x465)])!=null?_0x3a735c:_0x4ddd2c)!=null?_0x146399:yc;}['_getDownloadEndpointURL'](){const _0x4a749b=_0x45d431;var _0x269f6f;const _0x4a7d19=this['_configService'][_0x4a749b(0x3e4)](ee);return(_0x269f6f=_0x4a7d19==null?void 0x0:_0x4a7d19[_0x4a749b(0x1a1)])!=null?_0x269f6f:location[_0x4a749b(0x116)];}[_0x45d431(0x2ba)](_0x1aff7d,_0x50e2e5){const _0x530bed=_0x45d431;return _0x1aff7d[_0x530bed(0x2fe)]('{fileID}',_0x50e2e5);}['_decreaseWaiting'](){const _0x273621=_0x45d431;this[_0x273621(0x139)]-=0x1,this['_change$'][_0x273621(0x11b)](this[_0x273621(0x139)]);}};_s=Cc([Zt(0x0,_0x35b6a2(_0xa83f3b)),Zt(0x1,_0x360b05),Zt(0x2,_0x35b6a2(_0x47d1bd))],_s);var wc=Object[_0x45d431(0x4f8)],Dc=Object['getOwnPropertyDescriptor'],Pc=(_0x52a2ff,_0x5a06de,_0xb5030,_0x215431)=>{const _0x3e089b=_0x45d431;for(var _0x386ff6=_0x215431>0x1?void 0x0:_0x215431?Dc(_0x5a06de,_0xb5030):_0x5a06de,_0x3e7cf7=_0x52a2ff[_0x3e089b(0xf0)]-0x1,_0x55ac80;_0x3e7cf7>=0x0;_0x3e7cf7--)(_0x55ac80=_0x52a2ff[_0x3e7cf7])&&(_0x386ff6=(_0x215431?_0x55ac80(_0x5a06de,_0xb5030,_0x386ff6):_0x55ac80(_0x386ff6))||_0x386ff6);return _0x215431&&_0x386ff6&&wc(_0x5a06de,_0xb5030,_0x386ff6),_0x386ff6;},hi=(_0x4754ed,_0x2e76fb)=>(_0xf7dabb,_0x3dc182)=>_0x2e76fb(_0xf7dabb,_0x3dc182,_0x4754ed);const Uc='/universer-api/authz';let us=class{constructor(_0x1f06da,_0x5dd0e0){const _0xc21f88=_0x45d431;this[_0xc21f88(0x168)]=_0x1f06da,this['_HTTPService']=_0x5dd0e0;}['_getAPIPrefixPath'](){const _0xc978fa=_0x45d431;var _0x1766f6,_0x2c5b56;const _0x3eb82f=this[_0xc978fa(0x168)]['getConfig'](Ki),_0x1b3c17=this[_0xc978fa(0x168)]['getConfig'](ee);return(_0x2c5b56=(_0x1766f6=_0x1b3c17==null?void 0x0:_0x1b3c17[_0xc978fa(0x293)])!=null?_0x1766f6:_0x3eb82f)!=null?_0x2c5b56:Uc;}async[_0x45d431(0x4d4)](_0x24a1eb){const _0x3d38ab=_0x45d431,_0x74e849=this['_getAPIPrefixPath']()+_0x3d38ab(0xf7);return{'list':[{'title':_0x3d38ab(0x436),'mentions':(await this[_0x3d38ab(0x1f4)][_0x3d38ab(0x296)](_0x74e849,{'params':{'objectID':_0x24a1eb['unitId'],'unitID':_0x24a1eb[_0x3d38ab(0x310)]}}))[_0x3d38ab(0x3ce)]['collaborators']['map'](_0x368b74=>({'objectId':_0x368b74['id'],'name':_0x368b74['subject'][_0x3d38ab(0x373)],'metadata':{'icon':_0x368b74[_0x3d38ab(0x350)][_0x3d38ab(0x3e7)]},'label':_0x368b74[_0x3d38ab(0x350)][_0x3d38ab(0x373)],'objectType':_0x4c6b7e['PERSON']})),'metadata':{},'type':_0x4c6b7e[_0x3d38ab(0x370)]}]};}};us=Pc([hi(0x0,_0x35b6a2(_0x360b05)),hi(0x1,_0x35b6a2(_0xa83f3b))],us);var Nc=Object[_0x45d431(0x4f8)],Ac=Object[_0x45d431(0x494)],Mc=(_0x2de5e0,_0x2521cc,_0x5db7fb,_0x1de1d3)=>{for(var _0x173d95=_0x1de1d3>0x1?void 0x0:_0x1de1d3?Ac(_0x2521cc,_0x5db7fb):_0x2521cc,_0x49c6e7=_0x2de5e0['length']-0x1,_0x530e83;_0x49c6e7>=0x0;_0x49c6e7--)(_0x530e83=_0x2de5e0[_0x49c6e7])&&(_0x173d95=(_0x1de1d3?_0x530e83(_0x2521cc,_0x5db7fb,_0x173d95):_0x530e83(_0x173d95))||_0x173d95);return _0x1de1d3&&_0x173d95&&Nc(_0x2521cc,_0x5db7fb,_0x173d95),_0x173d95;},Qe=(_0x20a845,_0x28ea94)=>(_0x246e95,_0x5543b7)=>_0x28ea94(_0x246e95,_0x5543b7,_0x20a845);let Ot=class extends _0x46da4c{constructor(_0x2f92e7,_0x4bba37,_0x1631d6,_0x2edd8c,_0x4f75d5){const _0xabbc31=_0x45d431;super(),this['_injector']=_0x2f92e7,this[_0xabbc31(0x2e5)]=_0x4bba37,this['_permissionService']=_0x1631d6,this[_0xabbc31(0x3d4)]=_0x2edd8c,this['_localeService']=_0x4f75d5,this[_0xabbc31(0x4e5)](),this[_0xabbc31(0x2d2)]();}[_0x45d431(0x2d2)](){const _0x37a9d0=_0x45d431,_0x5fcb1f=async _0x20f5f2=>{const _0x29bf58=_0x5144;(await this['_collaborationSessionService']['requireSession'](_0x20f5f2))['event$']['pipe'](_0x4cca68(_0x3cce93=>_0x3cce93['eventID']===_0x5caf5f[_0x29bf58(0x207)]),_0x57b5d2(this[_0x29bf58(0x425)]))['subscribe'](_0x4b8165=>{const _0x4c7583=_0x29bf58,_0x114c34=_0x4b8165,{reason:_0x1b6630}=_0x114c34['data'];this['_injector'][_0x4c7583(0x296)](_0x454792)['show']({'type':_0x3067da[_0x4c7583(0x4de)],'content':this[_0x4c7583(0x20a)]['t'](_0x4c7583(0x1df))+'('+_0x1b6630+')'}),this['_permissionService'][_0x4c7583(0x2bf)](new _0x2043e8(_0x20f5f2)['id'],!0x1),this[_0x4c7583(0x3d4)][_0x4c7583(0xfa)](_0x20f5f2);});};_0x35c956(this[_0x37a9d0(0x2e5)][_0x37a9d0(0x3b3)](_0x51d633[_0x37a9d0(0x33c)]),this[_0x37a9d0(0x2e5)][_0x37a9d0(0x3b3)](_0x51d633[_0x37a9d0(0x258)]))[_0x37a9d0(0x476)](_0x29f8ca(_0x64846e=>_0x64846e[_0x37a9d0(0x2ca)]()),_0x4cca68(_0x1347e6=>!_0x472f87(_0x1347e6)),_0x57b5d2(this[_0x37a9d0(0x425)]))[_0x37a9d0(0x23d)](_0x4fa767=>{_0x5fcb1f(_0x4fa767);});}['_initUnitPermissionChange'](){const _0x111231=_0x45d431,_0x40af7b=async _0x466667=>{const _0x404182=_0x5144;(await this[_0x404182(0x3d4)][_0x404182(0x4b6)](_0x466667))[_0x404182(0x4f5)]['pipe'](_0x4cca68(_0x4c3b80=>_0x4c3b80['eventID']===_0x5caf5f['UPDATE_PERMISSION_OBJ']),_0x57b5d2(this[_0x404182(0x425)]))[_0x404182(0x23d)](_0x10cc79=>{const _0x5b466a=_0x404182,_0x55d485=_0x10cc79,{objectId:_0x4ecdae}=_0x55d485['data'],_0x377a7c=this[_0x5b466a(0x3f7)][_0x5b466a(0x296)](_0xbf0601);_0x4ecdae===_0x466667?_0x377a7c[_0x5b466a(0x225)](_0x466667):_0x377a7c['refreshPermission'](_0x466667,_0x4ecdae);});};_0x35c956(this[_0x111231(0x2e5)][_0x111231(0x3b3)](_0x51d633[_0x111231(0x33c)]),this[_0x111231(0x2e5)][_0x111231(0x3b3)](_0x51d633[_0x111231(0x258)]))[_0x111231(0x476)](_0x29f8ca(_0x566b0b=>_0x566b0b[_0x111231(0x2ca)]()),_0x4cca68(_0x2ad1e2=>!_0x472f87(_0x2ad1e2)),_0x57b5d2(this['dispose$']))['subscribe'](_0x43c8ba=>{_0x40af7b(_0x43c8ba);});}};Ot=Mc([Qe(0x0,_0x35b6a2(_0xaaab92)),Qe(0x1,_0x47d1bd),Qe(0x2,_0x30807c),Qe(0x3,_0x35b6a2(xe)),Qe(0x4,_0x35b6a2(_0x31b970))],Ot);var xc=Object[_0x45d431(0x4f8)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x14ebce,_0x4fb6a3,_0x370e61,_0x5ea1ff)=>{const _0x2ee204=_0x45d431;for(var _0x4b5465=_0x5ea1ff>0x1?void 0x0:_0x5ea1ff?Lc(_0x4fb6a3,_0x370e61):_0x4fb6a3,_0x941174=_0x14ebce[_0x2ee204(0xf0)]-0x1,_0x1184a7;_0x941174>=0x0;_0x941174--)(_0x1184a7=_0x14ebce[_0x941174])&&(_0x4b5465=(_0x5ea1ff?_0x1184a7(_0x4fb6a3,_0x370e61,_0x4b5465):_0x1184a7(_0x4b5465))||_0x4b5465);return _0x5ea1ff&&_0x4b5465&&xc(_0x4fb6a3,_0x370e61,_0x4b5465),_0x4b5465;},li=(_0x9f341d,_0x4edf8d)=>(_0x13e7cf,_0x4dd880)=>_0x4edf8d(_0x13e7cf,_0x4dd880,_0x9f341d);let ds=class{constructor(_0x461f0f,_0x15520e){const _0x156814=_0x45d431;this[_0x156814(0x168)]=_0x461f0f,this['_httpService']=_0x15520e;}async['getUnitOnRev'](_0x276c7f,_0xe8bf9){const _0x4cf036=_0x45d431;var _0x1a6d34;const {unitID:_0x192b7a,type:_0x964e74,revision:_0x370e60=0x0}=_0xe8bf9,_0x26e82a=this[_0x4cf036(0x241)]()+'/'+_0x964e74+_0x4cf036(0x420)+_0x192b7a+_0x4cf036(0x14c)+_0x370e60,_0x2646db=(await this[_0x4cf036(0x122)][_0x4cf036(0x296)](_0x26e82a))[_0x4cf036(0x3ce)],_0x4e7cf8=(_0x1a6d34=_0x2646db['snapshot'])==null?void 0x0:_0x1a6d34[_0x4cf036(0x1a8)];if(_0x4e7cf8){const _0x4a4014=_0x4e7cf8==null?void 0x0:_0x4e7cf8[_0x4cf036(0x331)],_0x578294=_0x5247d7['encode'](_0x27e1c3(_0x4a4014));_0x4e7cf8[_0x4cf036(0x331)]=_0x578294,Object[_0x4cf036(0x2e7)](_0x4e7cf8['sheets'])[_0x4cf036(0x4dd)](([,_0x5efea9])=>{const _0xaf5dc3=_0x4cf036,_0x3656f9=_0x5efea9[_0xaf5dc3(0x331)],_0x5b49f9=_0x5247d7[_0xaf5dc3(0x2d6)](_0x27e1c3(_0x3656f9));_0x5efea9[_0xaf5dc3(0x331)]=_0x5b49f9;});}return _0x2646db;}async[_0x45d431(0x1bb)](_0x9c0f0f,_0x3929e3){const _0x529444=_0x45d431,{unitID:_0x4cba4d,type:_0x2ad8a0,blockID:_0x307e1f}=_0x3929e3,_0x2c4749=this[_0x529444(0x348)]()+'/'+_0x2ad8a0+'/unit/'+_0x4cba4d+'/block/'+_0x307e1f;return(await this[_0x529444(0x122)]['get'](_0x2c4749))['body'];}async[_0x45d431(0x380)](_0x146955,_0xea53f5){const _0x90aa94=_0x45d431,{unitID:_0x1122bf,type:_0x567c27,blockID:_0x3d5339}=_0xea53f5,_0x2cfd4a=this[_0x90aa94(0x348)]()+_0x90aa94(0x345)+_0x567c27+_0x90aa94(0x420)+_0x1122bf+'/block/'+_0x3d5339;return(await this[_0x90aa94(0x122)][_0x90aa94(0x296)](_0x2cfd4a))[_0x90aa94(0x3ce)];}async[_0x45d431(0x2fc)](_0x1bf4d3,_0x10fdf5){const _0xa6ac7f=_0x45d431,{unitID:_0x5143b5,type:_0x4e2192,from:_0x3c774f,to:_0x364207}=_0x10fdf5,_0x39f91c=this[_0xa6ac7f(0x348)]()+'/'+_0x4e2192+_0xa6ac7f(0x420)+_0x5143b5+_0xa6ac7f(0x246)+_0x3c774f+_0xa6ac7f(0x1be)+_0x364207;return(await this[_0xa6ac7f(0x122)]['get'](_0x39f91c))[_0xa6ac7f(0x3ce)];}[_0x45d431(0x241)](){const _0x1e3688=_0x45d431;var _0x26de96;return(_0x26de96=this[_0x1e3688(0x168)][_0x1e3688(0x3e4)](gn))!=null?_0x26de96:this['_getAPIPrefix']();}[_0x45d431(0x348)](){const _0x19f3d8=_0x45d431;var _0x1cc42b,_0x31a371;const _0x2e77e4=this[_0x19f3d8(0x168)][_0x19f3d8(0x3e4)](mn),_0x1352a7=this[_0x19f3d8(0x168)][_0x19f3d8(0x3e4)](ee);return(_0x31a371=(_0x1cc42b=_0x1352a7==null?void 0x0:_0x1352a7[_0x19f3d8(0x4aa)])!=null?_0x1cc42b:_0x2e77e4)!=null?_0x31a371:pn;}async[_0x45d431(0x211)](_0x20ff3d,_0x413d85){const _0x4baf61=_0x45d431,_0x42b7ec=_0x4baf61(0x289)+_0x413d85['type']+_0x4baf61(0x420)+_0x413d85[_0x4baf61(0x1b9)]+'/resources';return(await this[_0x4baf61(0x122)][_0x4baf61(0x296)](_0x42b7ec,{'params':{'resourceId':JSON[_0x4baf61(0x359)](_0x413d85[_0x4baf61(0x1ba)])}}))[_0x4baf61(0x3ce)];}[_0x45d431(0x484)](){const _0x4c2607=_0x45d431;throw new Error(_0x4c2607(0x252));}[_0x45d431(0x3a5)](){const _0x1bcb1f=_0x45d431;throw new Error(_0x1bcb1f(0x252));}[_0x45d431(0x332)](){const _0x43b939=_0x45d431;throw new Error(_0x43b939(0x252));}[_0x45d431(0x3ad)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x45d431(0x25f)](){const _0x20e5fd=_0x45d431;throw new Error(_0x20e5fd(0x252));}};ds=$c([li(0x0,_0x360b05),li(0x1,_0x35b6a2(_0xa83f3b))],ds);var Hc=Object[_0x45d431(0x4f8)],jc=Object[_0x45d431(0x494)],Bc=(_0x1b144d,_0x4273a3,_0x457d8f,_0x26a710)=>{const _0x533b30=_0x45d431;for(var _0x5e97c1=_0x26a710>0x1?void 0x0:_0x26a710?jc(_0x4273a3,_0x457d8f):_0x4273a3,_0x5603d9=_0x1b144d[_0x533b30(0xf0)]-0x1,_0x4512dd;_0x5603d9>=0x0;_0x5603d9--)(_0x4512dd=_0x1b144d[_0x5603d9])&&(_0x5e97c1=(_0x26a710?_0x4512dd(_0x4273a3,_0x457d8f,_0x5e97c1):_0x4512dd(_0x5e97c1))||_0x5e97c1);return _0x26a710&&_0x5e97c1&&Hc(_0x4273a3,_0x457d8f,_0x5e97c1),_0x5e97c1;},et=(_0x260c67,_0x34ecaa)=>(_0xdbbb1a,_0xfc168)=>_0x34ecaa(_0xdbbb1a,_0xfc168,_0x260c67);let fs=class extends _0x1aa308{constructor(_0x26b0d,_0x4cc132,_0x138409,_0x5a2922,_0x31aab9){const _0x3fbf14=_0x45d431;super(_0x26b0d,_0x4cc132,_0x138409),this[_0x3fbf14(0x2bb)]=_0x5a2922,this[_0x3fbf14(0x137)]=_0x31aab9;}[_0x45d431(0x2b1)](_0x2300e5,_0x18ab3c){const _0xb2e0ad=_0x45d431,_0x3a132d=this['_getUndoStack'](_0x2300e5);if(_0x3a132d)try{const _0x4713d8=this[_0xb2e0ad(0x132)](_0x3a132d,_0x18ab3c);this[_0xb2e0ad(0x1f8)](_0x2300e5,_0x4713d8);}catch(_0x55fe03){this[_0xb2e0ad(0x137)][_0xb2e0ad(0x299)](_0xb2e0ad(0x100),_0x55fe03),this[_0xb2e0ad(0x2bc)](_0x2300e5);}const _0x5c76c1=this[_0xb2e0ad(0x415)](_0x2300e5);if(_0x5c76c1)try{const _0x4cd4c7=this[_0xb2e0ad(0x132)](_0x5c76c1,_0x18ab3c);this[_0xb2e0ad(0x4e7)](_0x2300e5,_0x4cd4c7);}catch(_0x1719a1){this[_0xb2e0ad(0x137)][_0xb2e0ad(0x299)](_0x1719a1),this['_clearRedo'](_0x2300e5);}}[_0x45d431(0x2bc)](_0x54f563){const _0x5d1b36=_0x45d431,_0x14ba79=this[_0x5d1b36(0x11f)](_0x54f563);_0x14ba79&&(_0x14ba79[_0x5d1b36(0xf0)]=0x0,this[_0x5d1b36(0x38a)]());}[_0x45d431(0x276)](_0x5f26f7){const _0x20aa64=_0x45d431,_0x344844=this['_getRedoStack'](_0x5f26f7);_0x344844&&(_0x344844[_0x20aa64(0xf0)]=0x0,this[_0x20aa64(0x38a)]());}[_0x45d431(0x1f8)](_0x5e48eb,_0x4107e6){const _0x532eda=_0x45d431;this['_undoStacks']['set'](_0x5e48eb,_0x4107e6),this[_0x532eda(0x38a)]();}['_substituteRedoStack'](_0x1001b6,_0x6938a6){const _0x2cf150=_0x45d431;this[_0x2cf150(0x4d1)][_0x2cf150(0x3eb)](_0x1001b6,_0x6938a6),this[_0x2cf150(0x38a)]();}[_0x45d431(0x132)](_0x303d93,_0x43935e){const _0x1ce4ae=_0x45d431,_0x367e88=[];let _0x34ae74=_0x43935e,_0x205f14=_0x43935e;for(let _0xa8b374=_0x303d93[_0x1ce4ae(0xf0)]-0x1;_0xa8b374>=0x0;_0xa8b374--){const {unitID:_0xd47868,undoMutations:_0x2dd8e1,redoMutations:_0x22aa71}=_0x303d93[_0xa8b374],_0xfeefd5=this['_transformService'][_0x1ce4ae(0x49a)](_0x34ae74,_0x2dd8e1),_0x25f4eb=this['_transformService'][_0x1ce4ae(0x49a)](_0x205f14,_0x22aa71);if(_0x904b4b(_0xfeefd5)||_0x904b4b(_0x25f4eb)){this[_0x1ce4ae(0x137)][_0x1ce4ae(0x299)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0xfeefd5,_0x25f4eb);break;}_0x34ae74=_0xfeefd5[_0x1ce4ae(0x1f9)],_0x205f14=_0x25f4eb[_0x1ce4ae(0x1f9)],_0x367e88[_0x1ce4ae(0x182)]({'unitID':_0xd47868,'undoMutations':_0xfeefd5[_0x1ce4ae(0x19d)],'redoMutations':_0x25f4eb['m2Prime']});}return _0x367e88[_0x1ce4ae(0x255)]();}};fs=Bc([et(0x0,_0x47d1bd),et(0x1,_0x66b6aa),et(0x2,_0x295f83),et(0x3,_0x47de3e),et(0x4,_0xce7964)],fs);class kc extends _0x46da4c{constructor(){const _0x365b92=_0x45d431;super(),g(this,_0x365b92(0x330)),this['urlChange$']=_0x36d4c4(window,_0x365b92(0x4bb))[_0x365b92(0x476)](_0x53c58e(this[_0x365b92(0x425)]),_0x5c69b3(0x1),_0x5df0e2(void 0x0));}[_0x45d431(0x17b)](_0x2f5896,_0x53a33a,_0x18d238=!0x1){const _0xe10a33=_0x45d431,_0x4048af=new URL(window[_0xe10a33(0x49c)]['href']);_0x4048af[_0xe10a33(0x3dc)][_0xe10a33(0x3eb)](_0x2f5896,_0x53a33a),_0x18d238?window[_0xe10a33(0x272)]['replaceState']('','',_0x4048af[_0xe10a33(0x117)]()):window[_0xe10a33(0x272)][_0xe10a33(0x421)]('','',_0x4048af['toString']());}[_0x45d431(0x2a0)](_0x23e556,_0x3cdbda=!0x1){const _0x5d5626=_0x45d431,_0x2a1451=new URL(window[_0x5d5626(0x49c)][_0x5d5626(0x130)]);_0x2a1451[_0x5d5626(0x3dc)][_0x5d5626(0x3ea)](_0x23e556),_0x3cdbda?window['history'][_0x5d5626(0x316)]('','',_0x2a1451[_0x5d5626(0x117)]()):window[_0x5d5626(0x272)][_0x5d5626(0x421)]('','',_0x2a1451[_0x5d5626(0x117)]());}['getParam'](_0x1bb97c){const _0x35cdf9=_0x45d431;var _0x4f5a36;return(_0x4f5a36=new URL(window[_0x35cdf9(0x49c)][_0x35cdf9(0x130)])[_0x35cdf9(0x3dc)][_0x35cdf9(0x296)](_0x1bb97c))!=null?_0x4f5a36:void 0x0;}}var tr=Object[_0x45d431(0x4f8)],Wc=Object[_0x45d431(0x494)],Fc=(_0x48cf6b,_0x1482d2,_0xc6e17)=>_0x1482d2 in _0x48cf6b?tr(_0x48cf6b,_0x1482d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc6e17}):_0x48cf6b[_0x1482d2]=_0xc6e17,Vc=(_0x31bab,_0x348c77,_0xc21c8a,_0x1554c5)=>{const _0xb0418b=_0x45d431;for(var _0x31812f=_0x1554c5>0x1?void 0x0:_0x1554c5?Wc(_0x348c77,_0xc21c8a):_0x348c77,_0x20740a=_0x31bab[_0xb0418b(0xf0)]-0x1,_0x2a0b8b;_0x20740a>=0x0;_0x20740a--)(_0x2a0b8b=_0x31bab[_0x20740a])&&(_0x31812f=(_0x1554c5?_0x2a0b8b(_0x348c77,_0xc21c8a,_0x31812f):_0x2a0b8b(_0x31812f))||_0x31812f);return _0x1554c5&&_0x31812f&&tr(_0x348c77,_0xc21c8a,_0x31812f),_0x31812f;},lt=(_0x50e841,_0x47b3f7)=>(_0x54d2ab,_0xc17ab7)=>_0x47b3f7(_0x54d2ab,_0xc17ab7,_0x50e841),Gc=(_0x440108,_0x44b430,_0x316114)=>Fc(_0x440108,_0x44b430+'',_0x316114);const Yc=_0x45d431(0x213);let vs=class extends _0x48349f{constructor(_0x15aeee=Mn,_0x2a5e83,_0x200658,_0x42d544,_0x1e09ad){const _0x2f1d9b=_0x45d431;super(),this[_0x2f1d9b(0x432)]=_0x15aeee,this['_logService']=_0x2a5e83,this['_renderManagerService']=_0x200658,this['_injector']=_0x42d544,this[_0x2f1d9b(0x168)]=_0x1e09ad;const {..._0x1f051a}=this[_0x2f1d9b(0x432)];this[_0x2f1d9b(0x168)][_0x2f1d9b(0xfc)](ee,_0x1f051a);}[_0x45d431(0x245)](){const _0x2f5f97=_0x45d431;this[_0x2f5f97(0x18d)](),this['_initDependencies']();}['onReady'](){_0x3793a0(this['_injector'],[[bt],[It]]);}[_0x45d431(0x404)](){const _0x43b92a=_0x45d431;this[_0x43b92a(0x397)]();}[_0x45d431(0x18d)](){const _0x4f2eab=_0x45d431;var _0x175ef9,_0x5243d5,_0x30b0da,_0xf54d7a;this[_0x4f2eab(0x3f7)][_0x4f2eab(0x471)](_0x450df1)&&this[_0x4f2eab(0x137)][_0x4f2eab(0x299)](_0x4f2eab(0x161),_0x4f2eab(0x377));const _0x7cea48=[[_0x450df1,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x4e1ec1],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0x5243d5=(_0x175ef9=this[_0x4f2eab(0x432)])==null?void 0x0:_0x175ef9['socketService'])!=null?_0x5243d5:ss}],[_0x482dff,{'useClass':ds}],[_0x4f7fe5,{'useClass':ls}],[_0x43832e,{'useClass':_s}],[_0x165794,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x30b0da=this[_0x4f2eab(0x432)])!=null&&_0x30b0da['enableSingleActiveInstanceLock']&&_0x7cea48[_0x4f2eab(0x182)]([yt,{'useClass':vo}]),_0x5848a0(this[_0x4f2eab(0x3f7)],_0x1995d0(_0x7cea48,(_0xf54d7a=this['_config'])==null?void 0x0:_0xf54d7a[_0x4f2eab(0x216)]));}['_registerRenderDependencies'](){const _0x31870a=_0x45d431;this['disposeWithMe'](this[_0x31870a(0x279)][_0x31870a(0x34d)](_0x51d633[_0x31870a(0x258)],[cs])),this[_0x31870a(0x20f)](this[_0x31870a(0x279)]['registerRenderModule'](_0x51d633[_0x31870a(0x33c)],[hs]));}[_0x45d431(0x3ae)](){const _0xb4334c=_0x45d431;var _0x4cb7cc,_0x1351f4;this[_0xb4334c(0x3f7)][_0xb4334c(0x296)](_0xa83f3b)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x4ab6f7({'maxParallel':0x6})}),(_0x4cb7cc=this['_config'])!=null&&_0x4cb7cc[_0xb4334c(0x44c)]||this[_0xb4334c(0x3f7)][_0xb4334c(0x296)](q)['disableLocalCache'](),(_0x1351f4=this[_0xb4334c(0x432)])!=null&&_0x1351f4[_0xb4334c(0x236)]&&_0x3793a0(this[_0xb4334c(0x3f7)],[[Tt]]),_0x3793a0(this['_injector'],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x45d431(0x13a),Yc),vs=Vc([_0x501c5f(_0x2e8f5d,_0x1b25c9),lt(0x1,_0xce7964),lt(0x2,_0x74ed0c),lt(0x3,_0x35b6a2(_0xaaab92)),lt(0x4,_0x360b05)],vs);export{Ki as AUTHZ_URL_KEY,ls as AuthzIoHttpService,ee as COLLAB_CLIENT_CONFIG_KEY,Pn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,is as CollaborationSession,xe as CollaborationSessionService,ss as CollaborationSocketService,J as CollaborationStatus,Aa as CollaborationStatusDisplay,Mi as CommentService,Et as DataLoaderController,Ct as DesktopCollaborationStatusDisplayController,rs as DocCollaborationEntity,bn as HEARTBEAT_INTERVAL_KEY,Di as HEARTBEAT_TIMEOUT_KEY,Ai as ICollaborationSocketService,Yi as IURLService,_s as ImageIoService,wn as LOCAL_CACHE_INTERVAL_KEY,Nn as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,us as MentionIoHttpService,On as RETRY_CONNECTING_MAX_COUNT_KEY,_h as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,gn as SNAPSHOT_URL_KEY,ve as SessionStatus,ca as SheetCollabCursorShape,ns as SheetCollaborationEntity,ds as SnapshotServerOverHTTPService,vs as UniverCollaborationClientPlugin,kc as WebURLService,xn as deserializeToCombResponse,Ln as serializeCombRequest};
1
+ const _0x50a7d0=_0xc944;(function(_0x3720ac,_0x7adca0){const _0x153dfe=_0xc944,_0x2241cb=_0x3720ac();while(!![]){try{const _0x50f4bc=parseInt(_0x153dfe(0x2f3))/0x1*(-parseInt(_0x153dfe(0x2f7))/0x2)+-parseInt(_0x153dfe(0x21a))/0x3*(-parseInt(_0x153dfe(0x39e))/0x4)+parseInt(_0x153dfe(0x4ad))/0x5+parseInt(_0x153dfe(0x269))/0x6*(parseInt(_0x153dfe(0x307))/0x7)+-parseInt(_0x153dfe(0x4d1))/0x8*(-parseInt(_0x153dfe(0x123))/0x9)+parseInt(_0x153dfe(0x436))/0xa*(parseInt(_0x153dfe(0x44a))/0xb)+-parseInt(_0x153dfe(0x1f2))/0xc;if(_0x50f4bc===_0x7adca0)break;else _0x2241cb['push'](_0x2241cb['shift']());}catch(_0x265f27){_0x2241cb['push'](_0x2241cb['shift']());}}}(_0x1283,0x3bc24));var sr=Object['defineProperty'],ir=(_0x542dc2,_0x34665b,_0x1b5b4f)=>_0x34665b in _0x542dc2?sr(_0x542dc2,_0x34665b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b5b4f}):_0x542dc2[_0x34665b]=_0x1b5b4f,g=(_0x296a0f,_0x577952,_0x2943c8)=>ir(_0x296a0f,typeof _0x577952!=_0x50a7d0(0x104)?_0x577952+'':_0x577952,_0x2943c8);import{createIdentifier as _0x17c099,Inject as _0x33026a,Disposable as _0x514939,DisposableCollection as _0x2912e1,toDisposable as _0xd370ea,IConfigService as _0x533505,ILogService as _0x299b7a,UserManagerService as _0x7e9e9e,UniverInstanceType as _0x40c566,IUniverInstanceService as _0x28b990,LocaleService as _0x21b13d,Optional as _0x380b11,RxDisposable as _0x2983d9,Injector as _0x17dae8,Tools as _0x378638,ILocalStorageService as _0xd46cc5,Rectangle as _0x18079f,ICommandService as _0x2e05f8,DOC_RANGE_TYPE as _0x2b344d,JSONX as _0x198357,CommandType as _0x30659a,IPermissionService as _0x20da8e,IUndoRedoService as _0x5b0e0d,sequenceExecute as _0x396518,debounce as _0x10313f,COLORS as _0x461fc5,ColorKit as _0x3567ae,ThemeService as _0x466ca0,fromEventSubject as _0x3f0bbd,useDependency as _0x4739ca,connectInjector as _0x5acef2,Workbook as _0xf4680a,MentionType as _0x1ebf2e,isInternalEditorID as _0x520839,LocalUndoRedoService as _0x2bc4a,IContextService as _0x1b8983,DependentOn as _0x449762,Plugin as _0x318b29,touchDependencies as _0x8eb2c0,IAuthzIoService as _0x1540fd,IMentionIOService as _0x5f0aab,registerDependencies as _0x154853,mergeOverrideWithDependencies as _0x3bf386}from'@univerjs/core';import{Subject as _0x5b148b,merge as _0x4a9003,takeUntil as _0x2b44f7,BehaviorSubject as _0x22472b,distinctUntilChanged as _0x1b81a6,fromEvent as _0x226128,ReplaySubject as _0x136f27,take as _0x5cbb3a,map as _0x4aea5f,shareReplay as _0x58d478,of as _0x40848f,debounceTime as _0x521a38,filter as _0x1e1f37,switchMap as _0x150ba9,combineLatest as _0x5bce60,concatMap as _0x320b34,mapTo as _0x5c5108}from'rxjs';import{map as _0xe5458e,take as _0x5dbd78,filter as _0x7d8aef,delay as _0x1b5247,throttleTime as _0x755a89,takeUntil as _0x3d76fb,switchMap as _0x147bb3}from'rxjs/operators';import{MessageType as _0x4eaed3,Tooltip as _0x208dab}from'@univerjs/design';import{HTTPService as _0x278722,WebSocketService as _0x2d5820,MergeInterceptorFactory as _0x528585,HTTPRequest as _0x5522e9,UniverNetworkPlugin as _0x1bc40e,ThresholdInterceptorFactory as _0x4a5979}from'@univerjs/network';import{IBeforeCloseService as _0x3a2a39,IMessageService as _0xa8b33d,INotificationService as _0x45333f,useObservable as _0x30f937,BuiltInUIPart as _0x1815bd,IUIPartsService as _0x43dd49}from'@univerjs/ui';import{CollaborationEvent as _0x26d642,parseChangesetToProtocol as _0x1b0c2c,ISnapshotServerService as _0x2647d5,isTransformMutationFailure as _0x2432d6,isTransformMutationsWithChangesetSuccess as _0x545fca,ITransformService as _0x4af41b,RevisionService as _0x50f245,mapDocumentTypeToUniverType as _0x3726a0,isTransformChangesetsSuccess as _0x22d91c,CompressMutationService as _0x11828c,parseProtocolChangeset as _0x1785c0,SnapshotService as _0x413c1b,textEncoder as _0x4a42d6,b64DecodeUnicode as _0x806675,isTransformMutationsWithChangesetFailure as _0x2a96c9,UniverCollaborationPlugin as _0x8096fe}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1ff87b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x370f46,RichTextEditingMutation as _0x5e3fd9,SetTextSelectionsOperation as _0x11d07f,DocSkeletonManagerService as _0x10e516}from'@univerjs/docs';import{DocIMEInputManagerService as _0x250d28,DocStateChangeManagerService as _0x4ac2d0,IDocClipboardService as _0x3b4ce9,NodePositionConvertToCursor as _0x34ed6a,NodePositionConvertToRectRange as _0x16a980,TEXT_RANGE_LAYER_INDEX as _0x2d2bdf,SetDocZoomRatioOperation as _0x57b946}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3a11a0,SetSelectionsOperation as _0x313c8a,InsertSheetMutation as _0x47f947,EmptyMutation as _0x2b292b,WorkbookEditablePermission as _0x442ff4,RefRangeService as _0x353c51,EffectRefRangId as _0x417021,handleIRemoveRow as _0x32a4f4,handleIRemoveCol as _0x5369f9,handleMoveRange as _0x28f3e9,handleInsertRow as _0x23c885,handleInsertRangeMoveRight as _0x40abdd,handleInsertRangeMoveDown as _0x51a436,handleInsertCol as _0x1eb2df,handleDeleteRangeMoveUp as _0x1e512b,handleDeleteRangeMoveLeft as _0x471bf3,runRefRangeMutations as _0x51f717,SetWorksheetActivateCommand as _0x418451}from'@univerjs/sheets';import{IRenderManagerService as _0x984cff,Shape as _0x1626cc,Rect as _0x502301,getColor as _0x267fcd,RegularPolygon as _0x2a0302,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xe166d6,Vector2 as _0x47811b}from'@univerjs/engine-render';import{IImageIoService as _0x4a51fd,ImageSourceType as _0x253162,ImageUploadStatusType as _0x4e08d9}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0xe6e903,serializeRangeWithSheet as _0x49a24a}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0xb45b1b,VIEWPORT_KEY as _0x54d40e,getCoordByCell as _0x1070d0,getSheetObject as _0x47d2a2,SheetPermissionInitController as _0x5a857a}from'@univerjs/sheets-ui';import _0x4b9c5e,{forwardRef as _0x447627,useRef as _0x244bad,createElement as _0x513a66,useCallback as _0x311bd9}from'react';import{IRemoteInstanceService as _0x14e6c9}from'@univerjs/rpc';const mn=_0x50a7d0(0x285),pn=_0x50a7d0(0x19b),gn=_0x50a7d0(0x38b),_h='SEND_CHANGESET_TIMEOUT',Sn=0x7d0,In=_0x50a7d0(0xd3),Cn=_0x50a7d0(0x3a8),En=_0x50a7d0(0x223),bn=_0x50a7d0(0x177),Tn=0x7530,Di='HEARTBEAT_TIMEOUT',Pi=0x4e20,Rn=0x4e20,On=_0x50a7d0(0x2db),yn=0x3,wn=_0x50a7d0(0xe6),Dn=0x3e8,Pn=_0x50a7d0(0x278),Un=_0x50a7d0(0x317),Nn=_0x50a7d0(0x272),An='/universer-api/oidc/authpage';var Ui=(_0x6d77d0=>(_0x6d77d0[_0x6d77d0['UNDEFINED']=0x0]='UNDEFINED',_0x6d77d0[_0x6d77d0['OK']=0x1]='OK',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3b3)]=0x2]=_0x50a7d0(0x3b3),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x45e)]=0x3]=_0x50a7d0(0x45e),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x40d)]=0x4]=_0x50a7d0(0x40d),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x44f)]=0x5]=_0x50a7d0(0x44f),_0x6d77d0[_0x6d77d0['ALREADY_EXISTS']=0x6]=_0x50a7d0(0x2f6),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x253)]=0x7]=_0x50a7d0(0x253),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x126)]=0x8]='TOO_MANY_REQUESTS',_0x6d77d0[_0x6d77d0['COMPLETION_FINISHED']=0x9]=_0x50a7d0(0x3be),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1a7)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x302)]=0x1771]=_0x50a7d0(0x302),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x26e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x2c3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x118)]=0x1b59]='APPLY_REJECT',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3f9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x6d77d0[_0x6d77d0['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x6d77d0[_0x6d77d0['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x50a7d0(0xc4),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x355)]=0x1b5d]=_0x50a7d0(0x355),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x2bb)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x131)]=0x2329]=_0x50a7d0(0x131),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x27d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6d77d0[_0x6d77d0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x50a7d0(0x426),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1ba)]=0x232c]=_0x50a7d0(0x1ba),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x3dd)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x1cc)]=0x2711]=_0x50a7d0(0x1cc),_0x6d77d0[_0x6d77d0[_0x50a7d0(0x128)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x443)]=0x2713]=_0x50a7d0(0x443),_0x6d77d0[_0x6d77d0[_0x50a7d0(0xf2)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x6d77d0[_0x6d77d0[_0x50a7d0(0x356)]=-0x1]='UNRECOGNIZED',_0x6d77d0))(Ui||{}),ce=(_0x1583fe=>(_0x1583fe[_0x1583fe[_0x50a7d0(0x1a1)]=0x0]=_0x50a7d0(0x1a1),_0x1583fe[_0x1583fe['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1583fe[_0x1583fe[_0x50a7d0(0x331)]=0x2]=_0x50a7d0(0x331),_0x1583fe[_0x1583fe[_0x50a7d0(0x18a)]=0x3]=_0x50a7d0(0x18a),_0x1583fe[_0x1583fe[_0x50a7d0(0xc3)]=0x4]=_0x50a7d0(0xc3),_0x1583fe[_0x1583fe[_0x50a7d0(0x356)]=-0x1]='UNRECOGNIZED',_0x1583fe))(ce||{}),W=(_0x20f12e=>(_0x20f12e[_0x20f12e['UNKNOWN_CMD']=0x0]=_0x50a7d0(0x21b),_0x20f12e[_0x20f12e[_0x50a7d0(0x4ac)]=0x1]=_0x50a7d0(0x4ac),_0x20f12e[_0x20f12e[_0x50a7d0(0x197)]=0x2]=_0x50a7d0(0x197),_0x20f12e[_0x20f12e[_0x50a7d0(0x215)]=0x3]=_0x50a7d0(0x215),_0x20f12e[_0x20f12e[_0x50a7d0(0x35b)]=0x4]=_0x50a7d0(0x35b),_0x20f12e[_0x20f12e[_0x50a7d0(0x48b)]=0x5]=_0x50a7d0(0x48b),_0x20f12e[_0x20f12e['RECV']=0x6]=_0x50a7d0(0xb5),_0x20f12e[_0x20f12e['UNRECOGNIZED']=-0x1]=_0x50a7d0(0x356),_0x20f12e))(W||{}),bs=(_0x268386=>(_0x268386[_0x268386[_0x50a7d0(0x172)]=0x0]=_0x50a7d0(0x172),_0x268386[_0x268386['OK']=0x1]='OK',_0x268386[_0x268386[_0x50a7d0(0x204)]=0x2]=_0x50a7d0(0x204),_0x268386[_0x268386[_0x50a7d0(0xcb)]=0x3e9]=_0x50a7d0(0xcb),_0x268386[_0x268386[_0x50a7d0(0x2e3)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x268386[_0x268386[_0x50a7d0(0x356)]=-0x1]=_0x50a7d0(0x356),_0x268386))(bs||{}),Ni=(_0xea68ec=>(_0xea68ec[_0xea68ec['Undefined']=0x0]=_0x50a7d0(0x3ce),_0xea68ec[_0xea68ec[_0x50a7d0(0x129)]=0x1]=_0x50a7d0(0x129),_0xea68ec[_0xea68ec['HttpExport']=0x2]='HttpExport',_0xea68ec[_0xea68ec[_0x50a7d0(0x1f4)]=0x3]=_0x50a7d0(0x1f4),_0xea68ec[_0xea68ec[_0x50a7d0(0xcc)]=0x4]='UnitSnapshot',_0xea68ec[_0xea68ec[_0x50a7d0(0x356)]=-0x1]=_0x50a7d0(0x356),_0xea68ec))(Ni||{});const ee=_0x50a7d0(0x46f),Mn={};function xn(_0x1afe1a){const _0x5c09ac=_0x50a7d0;var _0xbe863a,_0x5a6efd,_0x3a7628,_0x4566ef,_0x28f273;const _0x37c006=_0x1afe1a[_0x5c09ac(0x274)],_0x3e1149=JSON[_0x5c09ac(0x47f)](_0x37c006);switch(_0x3e1149[_0x5c09ac(0xff)]){case W[_0x5c09ac(0x48b)]:case W[_0x5c09ac(0x4ac)]:{const _0x51eafa=_0x3e1149['infoRsp'];return{..._0x3e1149,'data':_0x51eafa,'cmd':_0x3e1149[_0x5c09ac(0xff)]};}case W[_0x5c09ac(0x197)]:{const _0x40a4df=_0x3e1149[_0x5c09ac(0x3e4)];return{..._0x3e1149,'data':_0x40a4df,'cmd':_0x3e1149[_0x5c09ac(0xff)]};}case W[_0x5c09ac(0xb5)]:{const _0x3ffc45=_0x3e1149[_0x5c09ac(0x48e)];switch(_0x3ffc45[_0x5c09ac(0x424)]){case _0x26d642[_0x5c09ac(0x32f)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0xbe863a=_0x3ffc45['permissionRejEvent'])==null?void 0x0:_0xbe863a['cs']},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x26d)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x5a6efd=_0x3ffc45[_0x5c09ac(0x235)])==null?void 0x0:_0x5a6efd['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x3b8)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x3a7628=_0x3ffc45[_0x5c09ac(0x310)])==null?void 0x0:_0x3a7628['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['CHANGESET_REJ']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x4566ef=_0x3ffc45[_0x5c09ac(0x35c)])==null?void 0x0:_0x4566ef['cs']},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['CHANGESET_SHOULD_RETRY']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':(_0x28f273=_0x3ffc45['csShouldRetryEvent'])==null?void 0x0:_0x28f273['cs']},'cmd':_0x3e1149['cmd']};case _0x26d642['UPDATE_CURSOR']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x1a5)]},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x3cd)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x325)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x348)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45['leaveEvent']},'cmd':_0x3e1149['cmd']};case _0x26d642[_0x5c09ac(0x13b)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x108)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x435)]:case _0x26d642[_0x5c09ac(0xd0)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x16d)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642['LIVESHARE_TERMINATE']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x108)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x3a4)]:return{..._0x3e1149,'data':_0x3ffc45,'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x11e)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x41d)]},'cmd':_0x3e1149[_0x5c09ac(0xff)]};case _0x26d642[_0x5c09ac(0x407)]:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x415)]},'cmd':_0x3e1149['cmd']};case _0x26d642['SHOULD_CLOSE_CONN']:return{..._0x3e1149,'data':{..._0x3ffc45,'data':_0x3ffc45[_0x5c09ac(0x3c7)]},'cmd':_0x3e1149['cmd']};default:return _0x3e1149;}}default:return _0x3e1149;}}function Ln(_0x410936){const _0x5d1381=_0x50a7d0;switch(_0x410936['cmd']){case W[_0x5d1381(0x48b)]:case W['HELLO']:return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)]});case W[_0x5d1381(0x35b)]:{let _0x2c7eb0;switch(_0x410936[_0x5d1381(0x274)][_0x5d1381(0x424)]){case _0x26d642[_0x5d1381(0x4ca)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x4ca)],'updateCursorEvent':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0x348)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x348)],'leaveEvent':_0x410936[_0x5d1381(0x274)]['data']};break;}case _0x26d642['USERS_ENTER']:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x3cd)],'joinEvent':_0x410936['data'][_0x5d1381(0x274)]};break;}case _0x26d642['LIVESHARE_NEW_HOST']:{_0x2c7eb0={'eventID':_0x26d642['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x410936['data'][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0xd0)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0xd0)],'liveShareOperation':_0x410936['data']['data']};break;}case _0x26d642[_0x5d1381(0x2cc)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x2cc)],'liveShareTerminate':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642['LIVESHARE_REQUEST_HOST']:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x188)],'liveShareRequestHost':_0x410936[_0x5d1381(0x274)][_0x5d1381(0x274)]};break;}case _0x26d642[_0x5d1381(0x435)]:{_0x2c7eb0={'eventID':_0x26d642[_0x5d1381(0x435)]};break;}default:_0x2c7eb0={'eventID':_0x410936['data'][_0x5d1381(0x424)]};}return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)],'collaMsg':_0x2c7eb0});}case W['JOIN']:return JSON['stringify']({'cmd':_0x410936[_0x5d1381(0xff)],'routeKey':_0x410936[_0x5d1381(0x49c)],'joinReq':_0x410936[_0x5d1381(0x274)]});case W[_0x5d1381(0x215)]:return JSON[_0x5d1381(0x2d6)]({'cmd':_0x410936['cmd'],'routeKey':_0x410936[_0x5d1381(0x49c)],'leaveReq':_0x410936[_0x5d1381(0x274)]});default:throw new Error(_0x5d1381(0x288));}}var $n=Object['defineProperty'],Hn=Object['getOwnPropertyDescriptor'],jn=(_0x19bfe3,_0x35b696,_0x46cfbd,_0x939166)=>{const _0x33f84a=_0x50a7d0;for(var _0xd48c45=_0x939166>0x1?void 0x0:_0x939166?Hn(_0x35b696,_0x46cfbd):_0x35b696,_0x2f99d1=_0x19bfe3[_0x33f84a(0x1d0)]-0x1,_0x29ea67;_0x2f99d1>=0x0;_0x2f99d1--)(_0x29ea67=_0x19bfe3[_0x2f99d1])&&(_0xd48c45=(_0x939166?_0x29ea67(_0x35b696,_0x46cfbd,_0xd48c45):_0x29ea67(_0xd48c45))||_0xd48c45);return _0x939166&&_0xd48c45&&$n(_0x35b696,_0x46cfbd,_0xd48c45),_0xd48c45;},qe=(_0x2d8302,_0x4753d3)=>(_0x2db6ea,_0x21fc4b)=>_0x4753d3(_0x2db6ea,_0x21fc4b,_0x2d8302);const Ai=_0x17c099('univer-pro.collaboration-client-socket-service');function Bn(_0x5a438b,_0x98317e,_0x23a258){const _0x5b4216=_0x50a7d0;return _0x5a438b+'/'+_0x98317e+_0x5b4216(0x224)+_0x23a258+_0x5b4216(0xb0);}let ss=class extends _0x514939{constructor(_0x180da1,_0xc7894,_0x25bad7,_0xf29a72,_0x589bf8){const _0x2ae80e=_0x50a7d0;super(),this[_0x2ae80e(0x314)]=_0x180da1,this[_0x2ae80e(0xbf)]=_0xc7894,this[_0x2ae80e(0x3bb)]=_0x25bad7,this['_logService']=_0xf29a72,this[_0x2ae80e(0x18f)]=_0x589bf8;}[_0x50a7d0(0x374)](_0x1e8792){const _0x2c22b9=_0x50a7d0,_0x3dbb88=this['_ws'][_0x2c22b9(0x374)](_0x1e8792);if(!_0x3dbb88)throw new Error(_0x2c22b9(0x49f));const _0x5a9199=new _0x2912e1(),_0x4c1422=new _0x5b148b();_0x5a9199['add'](_0x3dbb88[_0x2c22b9(0x4a7)][_0x2c22b9(0x479)](_0x37c5b7=>_0x4c1422['next'](_0x37c5b7))),_0x5a9199[_0x2c22b9(0x366)](_0xd370ea(()=>_0x4c1422[_0x2c22b9(0x3c4)]()));const _0x1d1598=new _0x5b148b();_0x5a9199['add'](_0x3dbb88['error$'][_0x2c22b9(0x479)](_0x30a81e=>_0x1d1598[_0x2c22b9(0x492)](_0x30a81e))),_0x5a9199[_0x2c22b9(0x366)](_0xd370ea(()=>_0x1d1598[_0x2c22b9(0x3c4)]()));const _0xe5bb2e=new _0x5b148b();_0x5a9199[_0x2c22b9(0x366)](_0x3dbb88[_0x2c22b9(0x103)][_0x2c22b9(0x479)](_0x1d0789=>{const _0x1b730a=_0x2c22b9,_0x4abbc4=xn(_0x1d0789);_0xe5bb2e[_0x1b730a(0x492)](_0x4abbc4);})),_0x5a9199['add'](_0xd370ea(()=>_0xe5bb2e[_0x2c22b9(0x3c4)]()));let _0x4cf208;const _0x21f7bc=()=>{const _0x47cea3=_0x2c22b9;_0x1d1598['next'](new Event(_0x47cea3(0x1b1))),_0x4c1422[_0x47cea3(0x492)](new CloseEvent('connection\x20error')),_0x4cf208[_0x47cea3(0x42b)]();};return _0x4cf208={'memberID':'','close$':_0x4c1422['asObservable'](),'error$':_0x1d1598[_0x2c22b9(0x1e8)](),'open$':_0x3dbb88[_0x2c22b9(0x241)],'message$':_0xe5bb2e[_0x2c22b9(0x1e8)](),'send':_0x247c8c=>{const _0xb930a=_0x2c22b9;if(_0x247c8c[_0xb930a(0xff)]===W[_0xb930a(0x35b)]){if(_0x247c8c['data'][_0xb930a(0x424)]===_0x26d642['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4cf208,_0x247c8c[_0xb930a(0x274)])['catch'](_0x37bea0=>{const _0x4a323c=_0xb930a;this[_0x4a323c(0x422)][_0x4a323c(0x3a2)](_0x37bea0),_0x21f7bc();});return;}if(_0x247c8c[_0xb930a(0x274)][_0xb930a(0x424)]===_0x26d642[_0xb930a(0x222)]){const _0x246b61=_0x247c8c[_0xb930a(0x274)];this['_fetchMissChangesets'](_0x246b61)[_0xb930a(0x119)](_0x2dbc54=>{const _0x214141=_0xb930a;_0xe5bb2e[_0x214141(0x492)]({'cmd':W[_0x214141(0xb5)],'code':bs['OK'],'routeKey':_0x246b61[_0x214141(0x274)][_0x214141(0xaa)],'routeType':'','data':{'eventID':_0x26d642[_0x214141(0xec)],'data':{'changesets':_0x2dbc54}}});})[_0xb930a(0x217)](_0x1b28e9=>{const _0x3081b4=_0xb930a;this[_0x3081b4(0x422)]['error'](_0x1b28e9),_0x21f7bc();});return;}}_0x3dbb88[_0xb930a(0x23c)](Ln(_0x247c8c));},'close':()=>{const _0x5df247=_0x2c22b9;_0x3dbb88[_0x5df247(0x42b)](),_0x5a9199['dispose']();}},_0x4cf208;}async[_0x50a7d0(0x3a3)](_0x2409cb,_0x34df5f){const _0x3145be=_0x50a7d0;var _0x22ca3e,_0x1e38af;const {unitType:_0x3d013c,unitID:_0x1961d1,changeset:_0x3eb2a3}=_0x34df5f[_0x3145be(0x274)],_0x1356ab={'unitID':_0x1961d1,'memberID':_0x2409cb['memberID'],'type':_0x3d013c,'changeset':_0x1b0c2c(_0x3eb2a3)},_0xa3baf4=this[_0x3145be(0x3bb)][_0x3145be(0x4c6)](Pn),_0x16bc1d=this[_0x3145be(0x3bb)][_0x3145be(0x4c6)](ee),_0x14c176=Bn((_0x1e38af=(_0x22ca3e=_0x16bc1d==null?void 0x0:_0x16bc1d[_0x3145be(0x47c)])!=null?_0x22ca3e:_0xa3baf4)!=null?_0x1e38af:Un,_0x3d013c,_0x1961d1);try{await this['_http']['post'](_0x14c176,{'body':_0x1356ab});}catch(_0x36535a){throw this[_0x3145be(0x422)][_0x3145be(0x3a2)](_0x3145be(0x417),_0x3145be(0x389)),_0x36535a;}}async[_0x50a7d0(0x3bc)](_0x29b481){const _0x1de73b=_0x50a7d0,{unitID:_0x271d67,from:_0x29b3a8,to:_0x177106,unitType:_0x5d0aac}=_0x29b481[_0x1de73b(0x274)];return(await this['_snapshotServerService'][_0x1de73b(0x392)]({'metadata':void 0x0},{'unitID':_0x271d67,'type':_0x5d0aac,'from':_0x29b3a8,'to':_0x177106}))[_0x1de73b(0xfa)];}};ss=jn([qe(0x0,_0x33026a(_0x278722)),qe(0x1,_0x33026a(_0x2d5820)),qe(0x2,_0x533505),qe(0x3,_0x299b7a),qe(0x4,_0x2647d5)],ss);const kn='collaboration_new_changeset';function Wn(_0x5f114b){const _0x4dfc98=_0x50a7d0;return JSON[_0x4dfc98(0x2d6)](_0x5f114b)[_0x4dfc98(0x1d0)];}class Mi{constructor(){const _0x59f43c=_0x50a7d0;g(this,'_commentUpdate$',new _0x5b148b()),g(this,'commentUpdate$',this[_0x59f43c(0xdb)][_0x59f43c(0x1e8)]());}['onCommentUpdate'](_0x285761){this['_commentUpdate$']['next'](_0x285761);}}var Fn=Object[_0x50a7d0(0x15c)],Vn=Object[_0x50a7d0(0x18b)],Gn=(_0x8c3914,_0xe4c5ee,_0x108fe3,_0x45551e)=>{const _0x54ae84=_0x50a7d0;for(var _0x3d1512=_0x45551e>0x1?void 0x0:_0x45551e?Vn(_0xe4c5ee,_0x108fe3):_0xe4c5ee,_0xedf349=_0x8c3914[_0x54ae84(0x1d0)]-0x1,_0x373899;_0xedf349>=0x0;_0xedf349--)(_0x373899=_0x8c3914[_0xedf349])&&(_0x3d1512=(_0x45551e?_0x373899(_0xe4c5ee,_0x108fe3,_0x3d1512):_0x373899(_0x3d1512))||_0x3d1512);return _0x45551e&&_0x3d1512&&Fn(_0xe4c5ee,_0x108fe3,_0x3d1512),_0x3d1512;},Ws=(_0x2ab125,_0x530cf3)=>(_0x1b7b52,_0x1c19a8)=>_0x530cf3(_0x1b7b52,_0x1c19a8,_0x2ab125);let Me=class extends _0x514939{constructor(_0x3b9bf8,_0x4ce08a){const _0x3f1095=_0x50a7d0;super(),g(this,_0x3f1095(0x4a3),new Map()),(this['_univerInstanceService']=_0x3b9bf8,this[_0x3f1095(0xae)]=_0x4ce08a,this[_0x3f1095(0x450)](_0xd370ea(_0x4a9003(this['_univerInstanceService'][_0x3f1095(0x42a)](_0x40c566['UNIVER_SHEET'])[_0x3f1095(0x157)](_0xe5458e(_0x446a78=>_0x446a78[_0x3f1095(0x14f)]())),this[_0x3f1095(0x283)]['getTypeOfUnitDisposed$'](_0x40c566[_0x3f1095(0x26b)])[_0x3f1095(0x157)](_0xe5458e(_0x3eb7d6=>_0x3eb7d6[_0x3f1095(0x14f)]())),this[_0x3f1095(0x283)]['getTypeOfUnitDisposed$'](_0x40c566['UNIVER_SLIDE'])[_0x3f1095(0x157)](_0xe5458e(_0x5a8dc5=>_0x5a8dc5['getUnitId']())))[_0x3f1095(0x479)](_0xfd3677=>this[_0x3f1095(0xc9)](_0xfd3677)))));}[_0x50a7d0(0x287)](_0x70e23c){const _0xfdef72=_0x50a7d0;this[_0xfdef72(0xae)][_0xfdef72(0x287)](_0x70e23c);}[_0x50a7d0(0x3e2)](){const _0x180973=_0x50a7d0;return this['_userManagerService'][_0x180973(0x3e2)]();}[_0x50a7d0(0x163)](_0x5e75c8,_0x5ce7f4){const _0x1de452=_0x50a7d0;let _0x47d10b=this['_roomMembers']['get'](_0x5e75c8);_0x47d10b||(_0x47d10b=new Yn(),this[_0x1de452(0x4a3)][_0x1de452(0x2ce)](_0x5e75c8,_0x47d10b)),_0x47d10b['updateMember'](_0x5ce7f4);}['removeMember'](_0x24fee6,_0x5d85b2){const _0x23965f=_0x50a7d0,_0x550a47=this[_0x23965f(0x4a3)][_0x23965f(0x373)](_0x24fee6);_0x550a47&&_0x550a47[_0x23965f(0x2ff)](_0x5d85b2);}['getRoom'](_0x566797){const _0x5d22e3=_0x50a7d0;return this[_0x5d22e3(0x4a3)][_0x5d22e3(0x373)](_0x566797);}['getMember'](_0x40ae34,_0x5e21a7){const _0x13bb6c=_0x50a7d0,_0x4177a7=this['_roomMembers'][_0x13bb6c(0x373)](_0x40ae34);if(_0x4177a7)return _0x4177a7[_0x13bb6c(0x34c)](_0x5e21a7);}[_0x50a7d0(0xc9)](_0x24ac4b){const _0x369a10=_0x50a7d0,_0x23f6f9=this[_0x369a10(0x4a3)][_0x369a10(0x373)](_0x24ac4b);_0x23f6f9&&(_0x23f6f9['dispose'](),this[_0x369a10(0x4a3)]['delete'](_0x24ac4b));}[_0x50a7d0(0x45c)](){const _0x2205b7=_0x50a7d0;this[_0x2205b7(0x4a3)][_0x2205b7(0x375)](_0x47c8b1=>_0x47c8b1[_0x2205b7(0x45c)]()),this[_0x2205b7(0x4a3)][_0x2205b7(0x21f)]();}};Me=Gn([Ws(0x0,_0x28b990),Ws(0x1,_0x33026a(_0x7e9e9e))],Me);class Yn extends _0x514939{constructor(){const _0x5d2b6b=_0x50a7d0;super(...arguments),g(this,_0x5d2b6b(0x2e8),new Map());}['dispose'](){const _0x3a2819=_0x50a7d0;this[_0x3a2819(0x2e8)]['clear']();}[_0x50a7d0(0x163)](_0x550717){const _0x2622bd=_0x50a7d0;this[_0x2622bd(0x2e8)][_0x2622bd(0x2ce)](_0x550717[_0x2622bd(0x13f)],_0x550717);}[_0x50a7d0(0x2ff)](_0x7a8bf3){const _0x18fd57=_0x50a7d0;this[_0x18fd57(0x2e8)][_0x18fd57(0x18d)](_0x7a8bf3);}['getMember'](_0x2454e3){const _0x32d147=_0x50a7d0;return this[_0x32d147(0x2e8)][_0x32d147(0x373)](_0x2454e3);}['getAllMembers'](){const _0x30d3a4=_0x50a7d0;return Array[_0x30d3a4(0x3bf)](this[_0x30d3a4(0x2e8)][_0x30d3a4(0x410)]());}}var Kn=Object['defineProperty'],zn=Object[_0x50a7d0(0x18b)],qn=(_0x570e5b,_0xdaf0b8,_0x2f2d48,_0x1a5d90)=>{const _0x241ada=_0x50a7d0;for(var _0x116634=_0x1a5d90>0x1?void 0x0:_0x1a5d90?zn(_0xdaf0b8,_0x2f2d48):_0xdaf0b8,_0x1f91d5=_0x570e5b[_0x241ada(0x1d0)]-0x1,_0x38626a;_0x1f91d5>=0x0;_0x1f91d5--)(_0x38626a=_0x570e5b[_0x1f91d5])&&(_0x116634=(_0x1a5d90?_0x38626a(_0xdaf0b8,_0x2f2d48,_0x116634):_0x38626a(_0x116634))||_0x116634);return _0x1a5d90&&_0x116634&&Kn(_0xdaf0b8,_0x2f2d48,_0x116634),_0x116634;},be=(_0x287b09,_0x212778)=>(_0x349a0d,_0x34dd60)=>_0x212778(_0x349a0d,_0x34dd60,_0x287b09),ve=(_0x2d0626=>(_0x2d0626[_0x2d0626[_0x50a7d0(0x3ea)]=0x0]=_0x50a7d0(0x3ea),_0x2d0626[_0x2d0626['JOINING']=0x1]=_0x50a7d0(0x4c5),_0x2d0626[_0x2d0626[_0x50a7d0(0x4a2)]=0x2]=_0x50a7d0(0x4a2),_0x2d0626[_0x2d0626['ONLINE']=0x3]='ONLINE',_0x2d0626))(ve||{});let is=class extends _0x2983d9{constructor(_0x427b63,_0x305547,_0x5d9ae7,_0x5d2249,_0x4fca08,_0x3172ac,_0xbe1aed,_0xf2b0a8,_0x158e40,_0x5dd209){const _0x44ec65=_0x50a7d0;super(),g(this,_0x44ec65(0x1e5),new _0x22472b(0x0)),g(this,'sessionStatus$',this[_0x44ec65(0x1e5)][_0x44ec65(0x1e8)]()),g(this,_0x44ec65(0x419),new _0x5b148b()),g(this,_0x44ec65(0x414),this[_0x44ec65(0x419)][_0x44ec65(0x1e8)]()),g(this,_0x44ec65(0x4ae)),g(this,'_socketMessageSubscription'),g(this,_0x44ec65(0xfd)),g(this,_0x44ec65(0x1c6),!0x1),g(this,'_telemetryInfo',null),(this[_0x44ec65(0x3d7)]=_0x427b63,this['_logService']=_0x5d9ae7,this[_0x44ec65(0x47b)]=_0x5d2249,this[_0x44ec65(0xdf)]=_0x4fca08,this[_0x44ec65(0x3bb)]=_0x3172ac,this['_localeService']=_0xbe1aed,this[_0x44ec65(0x35d)]=_0xf2b0a8,this[_0x44ec65(0x30b)]=_0x158e40,this[_0x44ec65(0x1dd)]=_0x5dd209,this[_0x44ec65(0x1c6)]=!!this['_telemetryService'],_0x305547[_0x44ec65(0x157)](_0x2b44f7(this[_0x44ec65(0x42e)]))[_0x44ec65(0x479)](_0x505dba=>{const _0x4eecfb=_0x44ec65;var _0x97a09a;typeof _0x505dba>'u'||(this[_0x4eecfb(0x4ae)]=_0x505dba,_0x505dba?(this['_joinRoom'](_0x505dba),this[_0x4eecfb(0x42f)]=_0x505dba[_0x4eecfb(0x103)][_0x4eecfb(0x479)](_0xbff601=>{const _0x3f2249=_0x4eecfb;_0xbff601[_0x3f2249(0x49c)]===this[_0x3f2249(0x3d7)]&&this['_onCombEvent'](_0xbff601);})):(this[_0x4eecfb(0xfb)](),this[_0x4eecfb(0x1e5)][_0x4eecfb(0x492)](0x2),(_0x97a09a=this['_socketMessageSubscription'])==null||_0x97a09a[_0x4eecfb(0x4b2)](),this[_0x4eecfb(0x42f)]=null));}),this[_0x44ec65(0x450)](this['_beforeCloseService'][_0x44ec65(0xd7)](()=>{const _0xb35bea=_0x44ec65;var _0xcfa50f;(_0xcfa50f=this['_socket'])==null||_0xcfa50f[_0xb35bea(0x23c)]({'cmd':W[_0xb35bea(0x215)],'data':{'roomID':this[_0xb35bea(0x3d7)]}});})));}get['sessionStatus'](){const _0x3d4a2=_0x50a7d0;return this[_0x3d4a2(0x1e5)][_0x3d4a2(0x185)]();}[_0x50a7d0(0x347)](){var _0x3a0069,_0x4a02d9;return(_0x4a02d9=(_0x3a0069=this['_socket'])==null?void 0x0:_0x3a0069['memberID'])!=null?_0x4a02d9:null;}['dispose'](){const _0x490d15=_0x50a7d0;super[_0x490d15(0x45c)](),this[_0x490d15(0x42e)][_0x490d15(0x492)](),this[_0x490d15(0x42e)]['complete']();}[_0x50a7d0(0x42b)](){const _0x51d960=_0x50a7d0;var _0x48277b,_0x45ece1;this['_throwTelemetryCollaborationNewChangeset'](),(_0x48277b=this['_socket'])==null||_0x48277b[_0x51d960(0x23c)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x45ece1=this[_0x51d960(0x4ae)])==null||_0x45ece1[_0x51d960(0x42b)](),this[_0x51d960(0x419)]['complete'](),this[_0x51d960(0x1e5)][_0x51d960(0x3c4)](),this[_0x51d960(0x45c)]();}[_0x50a7d0(0x341)](_0x59f559){const _0x34d971=_0x50a7d0;_0x59f559[_0x34d971(0xff)]===W[_0x34d971(0x197)]?this[_0x34d971(0x1ce)](_0x59f559):_0x59f559[_0x34d971(0xff)]===W['RECV']&&this['_onRecvEvent'](_0x59f559);}[_0x50a7d0(0x1b9)](_0xed96c2){const _0x2c754f=_0x50a7d0;this[_0x2c754f(0x1e5)]['next'](0x1),_0xed96c2[_0x2c754f(0x23c)]({'cmd':W[_0x2c754f(0x197)],'routeKey':this[_0x2c754f(0x3d7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2c754f(0x3d7)]}]}});}[_0x50a7d0(0x1ce)](_0x557299){const _0x3e9c4b=_0x50a7d0;var _0x54a242;if(_0x557299[_0x3e9c4b(0x48a)]===bs['FAIL']){this[_0x3e9c4b(0xdf)]['show']({'type':_0x4eaed3[_0x3e9c4b(0x4c9)],'content':this[_0x3e9c4b(0x193)]['t'](_0x3e9c4b(0x2c4))}),this['_sessionStatus$'][_0x3e9c4b(0x492)](0x2);return;}this[_0x3e9c4b(0x1e5)][_0x3e9c4b(0x492)](0x3);const _0x1ae639=(_0x54a242=_0x557299[_0x3e9c4b(0x274)][_0x3e9c4b(0x199)][this['_unitID']])==null?void 0x0:_0x54a242[_0x3e9c4b(0x3a7)];_0x1ae639&&_0x1ae639['forEach'](_0x5222e9=>this[_0x3e9c4b(0x35d)][_0x3e9c4b(0x163)](this[_0x3e9c4b(0x3d7)],_0x5222e9));}[_0x50a7d0(0x246)](_0x5a3c7a){const _0x10ceef=_0x50a7d0;try{const _0x24494c=_0x5a3c7a['data'];switch(_0x24494c[_0x10ceef(0x424)]){case _0x26d642['USERS_ENTER']:this[_0x10ceef(0x2b1)](_0x24494c),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x348)]:this[_0x10ceef(0x2fc)](_0x24494c),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x26d)]:case _0x26d642[_0x10ceef(0x354)]:this[_0x10ceef(0xf6)](),this[_0x10ceef(0x2b3)](),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x3a4)]:this[_0x10ceef(0x422)][_0x10ceef(0x3a2)](_0x10ceef(0x4cb)+JSON['stringify'](_0x24494c)),this[_0x10ceef(0x419)][_0x10ceef(0x492)](_0x24494c);break;case _0x26d642[_0x10ceef(0x11e)]:this[_0x10ceef(0x30b)]['onCommentUpdate'](_0x24494c[_0x10ceef(0x274)]),this[_0x10ceef(0x419)]['next'](_0x24494c);break;default:this[_0x10ceef(0x419)]['next'](_0x24494c);}}catch(_0xd53578){this[_0x10ceef(0x422)][_0x10ceef(0x3a2)](_0xd53578,_0x5a3c7a);}}[_0x50a7d0(0x2b1)](_0x103720){const _0x877842=_0x50a7d0;this[_0x877842(0x35d)][_0x877842(0x163)](this[_0x877842(0x3d7)],_0x103720[_0x877842(0x274)]);}[_0x50a7d0(0x2fc)](_0x5c383e){const _0x2382c8=_0x50a7d0;this[_0x2382c8(0x35d)][_0x2382c8(0x2ff)](this['_unitID'],_0x5c383e[_0x2382c8(0x274)]['memberID']);}async[_0x50a7d0(0x23c)](_0x4a1e6f,_0x9c0cd5){const _0x266db6=_0x50a7d0;if(this['sessionStatus']!==0x3||!this[_0x266db6(0x4ae)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4a1e6f[_0x266db6(0x424)]===_0x26d642[_0x266db6(0x1e4)]&&(this[_0x266db6(0x2d1)](),this['_startTelemetryCollaborationNewChangeset'](_0x4a1e6f)),this['_socket'][_0x266db6(0x23c)]({'cmd':W[_0x266db6(0x35b)],'routeKey':_0x9c0cd5,'routeType':'','data':_0x4a1e6f});}catch(_0x284cbd){this[_0x266db6(0x422)][_0x266db6(0x3a2)](_0x284cbd);}}[_0x50a7d0(0x2d1)](){const _0x485aff=_0x50a7d0;var _0x51393e;this[_0x485aff(0xfd)]=window['setTimeout'](()=>{const _0x51e48f=_0x485aff;this['_collaborationTimeoutTimer']=null,this[_0x51e48f(0xdf)]['show']({'type':_0x4eaed3[_0x51e48f(0x282)],'content':this[_0x51e48f(0x193)]['t'](_0x51e48f(0x4be))});},(_0x51393e=this[_0x485aff(0x3bb)][_0x485aff(0x4c6)](Di))!=null?_0x51393e:Pi);}['_clearCollaborationTimeoutTimer'](){const _0x5b188d=_0x50a7d0;this[_0x5b188d(0xfd)]&&(clearTimeout(this[_0x5b188d(0xfd)]),this[_0x5b188d(0xfd)]=null);}[_0x50a7d0(0x40c)](_0x56caf8){const _0x5dadf0=_0x50a7d0;if(!this[_0x5dadf0(0x1c6)])return;const {data:_0xd7927a}=_0x56caf8,{unitID:_0x5e8c8a,changeset:_0x12caee}=_0xd7927a,{mutations:_0x5e4796,type:_0x12fb8f}=_0x12caee;this['_telemetryInfo']={'unitId':_0x5e8c8a,'type':_0x12fb8f,'startTime':performance[_0x5dadf0(0x15a)](),'stopTime':0x0,'duration':0x0,'size':Wn(_0x5e4796)};}[_0x50a7d0(0xf6)](){const _0x2e7d10=_0x50a7d0;if(this['_shouldReportTelemetry']){if(!this[_0x2e7d10(0x39d)]){this[_0x2e7d10(0x422)][_0x2e7d10(0x3a2)](_0x2e7d10(0x417),_0x2e7d10(0x467));return;}this[_0x2e7d10(0x39d)][_0x2e7d10(0x4d0)]=performance[_0x2e7d10(0x15a)](),this[_0x2e7d10(0x39d)]['duration']=this[_0x2e7d10(0x39d)][_0x2e7d10(0x4d0)]-this[_0x2e7d10(0x39d)]['startTime'],this[_0x2e7d10(0x1dd)][_0x2e7d10(0x2f0)](kn,this[_0x2e7d10(0x39d)]),this[_0x2e7d10(0x39d)]=null;}}[_0x50a7d0(0xfb)](){const _0x27228f=_0x50a7d0;this[_0x27228f(0x39d)]=null;}};is=qn([be(0x2,_0x299b7a),be(0x3,_0x3a2a39),be(0x4,_0xa8b33d),be(0x5,_0x533505),be(0x6,_0x33026a(_0x21b13d)),be(0x7,_0x33026a(Me)),be(0x8,_0x33026a(Mi)),be(0x9,_0x380b11(_0x1ff87b))],is);var Xn=Object['defineProperty'],Jn=Object[_0x50a7d0(0x18b)],Zn=(_0x318848,_0x381c16,_0x12285f,_0x2c036c)=>{for(var _0x25a3cf=_0x2c036c>0x1?void 0x0:_0x2c036c?Jn(_0x381c16,_0x12285f):_0x381c16,_0xaefc80=_0x318848['length']-0x1,_0x474f6f;_0xaefc80>=0x0;_0xaefc80--)(_0x474f6f=_0x318848[_0xaefc80])&&(_0x25a3cf=(_0x2c036c?_0x474f6f(_0x381c16,_0x12285f,_0x25a3cf):_0x474f6f(_0x25a3cf))||_0x25a3cf);return _0x2c036c&&_0x25a3cf&&Xn(_0x381c16,_0x12285f,_0x25a3cf),_0x25a3cf;},we=(_0x4590b3,_0x477702)=>(_0x16041d,_0x375273)=>_0x477702(_0x16041d,_0x375273,_0x4590b3);let xe=class extends _0x514939{constructor(_0x414a80,_0x97ac0b,_0x59ebc9,_0xd0459,_0x8a4089,_0x2f92e9,_0x4ae8c2){const _0x906537=_0x50a7d0;super(),g(this,_0x906537(0x4cd),new _0x22472b(void 0x0)),g(this,_0x906537(0x3e3),this[_0x906537(0x4cd)][_0x906537(0x1e8)]()),g(this,'_candidateSocket',null),g(this,_0x906537(0x1a6),new Map()),g(this,'_status$',new _0x22472b(ve[_0x906537(0x3ea)])),g(this,'status$',this[_0x906537(0x390)]['asObservable']()),g(this,_0x906537(0x31b),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x906537(0x421),0x0),g(this,_0x906537(0x12e)),g(this,_0x906537(0x22a)),(this[_0x906537(0x408)]=_0x414a80,this[_0x906537(0x193)]=_0x97ac0b,this[_0x906537(0xdf)]=_0x59ebc9,this[_0x906537(0x422)]=_0xd0459,this[_0x906537(0x3bb)]=_0x8a4089,this[_0x906537(0x247)]=_0x2f92e9,this[_0x906537(0x38a)]=_0x4ae8c2,this['_initEventListeners']());}get[_0x50a7d0(0x4ae)](){const _0x10abf9=_0x50a7d0;return this[_0x10abf9(0x4cd)][_0x10abf9(0x185)]();}[_0x50a7d0(0x3ac)](){const _0x414cdc=_0x50a7d0;this[_0x414cdc(0x213)](),this[_0x414cdc(0x400)]();}[_0x50a7d0(0x45c)](){const _0x463392=_0x50a7d0;super[_0x463392(0x45c)](),this[_0x463392(0x1a6)][_0x463392(0x375)](_0x1df7b2=>_0x1df7b2[_0x463392(0x45c)]()),this[_0x463392(0x1a6)]['clear'](),this[_0x463392(0x390)][_0x463392(0x3c4)]();}async[_0x50a7d0(0x30a)](_0x37cbb1){const _0x422cb7=_0x50a7d0;if(this[_0x422cb7(0x1a6)]['has'](_0x37cbb1))return this[_0x422cb7(0x1a6)][_0x422cb7(0x373)](_0x37cbb1);this[_0x422cb7(0x1d4)]();const _0x3650dd=this['_injector'][_0x422cb7(0xe7)](is,_0x37cbb1,this[_0x422cb7(0x4cd)][_0x422cb7(0x1e8)]());return this['_sessions'][_0x422cb7(0x2ce)](_0x37cbb1,_0x3650dd),_0x3650dd;}[_0x50a7d0(0xc1)](_0x29970a){const _0x4e8370=_0x50a7d0;var _0x377882;const _0x35071d=this[_0x4e8370(0x1a6)]['get'](_0x29970a);_0x35071d&&(this[_0x4e8370(0x1a6)]['delete'](_0x29970a),_0x35071d[_0x4e8370(0x42b)]()),this[_0x4e8370(0x1a6)][_0x4e8370(0x1e7)]||(_0x377882=this['_socket'])==null||_0x377882[_0x4e8370(0x42b)]();}[_0x50a7d0(0x466)](){const _0xf10e3f=_0x50a7d0;this['_retryCount']=0x0,this[_0xf10e3f(0x1f0)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xf10e3f(0x1f0)]=null),this[_0xf10e3f(0xb7)]();}async['_getSessionTicket'](){const _0x55dc03=_0x50a7d0;var _0x5c000a,_0x2e9cca,_0x4dae57;const _0x546281=this[_0x55dc03(0x3bb)][_0x55dc03(0x4c6)](ee),_0x589a83=(_0x5c000a=_0x546281==null?void 0x0:_0x546281[_0x55dc03(0x2ab)])!=null?_0x5c000a:En;return(_0x4dae57=(_0x2e9cca=(await this[_0x55dc03(0x38a)][_0x55dc03(0x373)](_0x589a83,{'headers':{'Content-Type':_0x55dc03(0x133)}}))['body'])==null?void 0x0:_0x2e9cca[_0x55dc03(0x37d)])!=null?_0x4dae57:'';}['_createSocketURL'](_0xe20f48){const _0x2e9a25=_0x50a7d0;var _0x38b60d,_0x4e73ed;const _0x1a6631=this['_configService'][_0x2e9a25(0x4c6)](In),_0x1bf7b3=this[_0x2e9a25(0x3bb)][_0x2e9a25(0x4c6)](ee),_0x15afd3=(_0x4e73ed=(_0x38b60d=_0x1bf7b3==null?void 0x0:_0x1bf7b3[_0x2e9a25(0x469)])!=null?_0x38b60d:_0x1a6631)!=null?_0x4e73ed:Cn,_0x26ae3b=new URL(_0x15afd3,window[_0x2e9a25(0x41a)]['origin']);return _0x26ae3b[_0x2e9a25(0x484)]['set']('sessionTicket',_0xe20f48),_0x26ae3b[_0x2e9a25(0x45a)]();}async[_0x50a7d0(0x1f9)](){const _0x5d3f47=_0x50a7d0,_0x3eed1b=await this[_0x5d3f47(0x2f5)](),_0x5ca9b0=this['_createSocketURL'](_0x3eed1b),_0x6a6939=this[_0x5d3f47(0x247)][_0x5d3f47(0x374)](_0x5ca9b0);return this['_candidateSocket']=_0x6a6939,_0x6a6939;}async[_0x50a7d0(0x1d4)](){const _0x33374e=_0x50a7d0;var _0x45cf8c,_0x104579;try{const _0x40c2a0=(_0x104579=(_0x45cf8c=this[_0x33374e(0x4ae)])!=null?_0x45cf8c:this['_candidateSocket'])!=null?_0x104579:await this[_0x33374e(0x1f9)]();if(_0x40c2a0){const _0x467753=_0x40c2a0[_0x33374e(0x23c)];_0x40c2a0[_0x33374e(0x23c)]=_0x2bd316=>(this[_0x33374e(0x2b5)](),_0x467753[_0x33374e(0x335)](_0x40c2a0,[_0x2bd316])),_0x40c2a0[_0x33374e(0x103)][_0x33374e(0x479)](_0x2edb70=>this['_onMessage'](_0x40c2a0,_0x2edb70)),_0x40c2a0[_0x33374e(0x432)][_0x33374e(0x157)](_0x5dbd78(0x1))['subscribe'](_0x508dcd=>this[_0x33374e(0x422)][_0x33374e(0x3a2)](_0x33374e(0x2b8),_0x508dcd)),_0x40c2a0[_0x33374e(0x241)][_0x33374e(0x157)](_0x5dbd78(0x1))[_0x33374e(0x479)](()=>{const _0x3c3181=_0x33374e;this[_0x3c3181(0x152)](_0x40c2a0);}),_0x40c2a0[_0x33374e(0x4a7)]['pipe'](_0x5dbd78(0x1))[_0x33374e(0x479)](_0x24c110=>{const _0x17dc49=_0x33374e;this['_logService'][_0x17dc49(0x165)](_0x17dc49(0x112),_0x17dc49(0x4cc),_0x24c110),this[_0x17dc49(0x448)]();});}}catch(_0x4f90fc){this[_0x33374e(0x422)]['error'](_0x4f90fc),this[_0x33374e(0x448)]();}}[_0x50a7d0(0x152)](_0x57f544){const _0x2ecd6c=_0x50a7d0;this['_logService'][_0x2ecd6c(0x165)](_0x2ecd6c(0x112),_0x2ecd6c(0x13e)),_0x57f544[_0x2ecd6c(0x23c)]({'cmd':W[_0x2ecd6c(0x4ac)]}),this[_0x2ecd6c(0x2b5)]();}[_0x50a7d0(0x213)](){const _0x1d657b=_0x50a7d0;window['addEventListener']('offline',()=>this[_0x1d657b(0x3cb)]());}[_0x50a7d0(0x3cb)](){const _0x2049aa=_0x50a7d0;this[_0x2049aa(0x31b)]=!0x1,this['_candidateSocket']=null,this[_0x2049aa(0x390)][_0x2049aa(0x492)](ve['OFFLINE']),this[_0x2049aa(0x4cd)][_0x2049aa(0x492)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x50a7d0(0x448)](){const _0x1b31f1=_0x50a7d0;var _0x1dca1e;this[_0x1b31f1(0x3cb)](),this['_retryCount']<((_0x1dca1e=this[_0x1b31f1(0x3bb)][_0x1b31f1(0x4c6)](On))!=null?_0x1dca1e:yn)?(this[_0x1b31f1(0xdf)][_0x1b31f1(0x179)]({'key':'collaboration-session-retry','type':_0x4eaed3[_0x1b31f1(0x4c9)],'content':this[_0x1b31f1(0x193)]['t'](_0x1b31f1(0x2c9))}),this[_0x1b31f1(0xb7)]()):this['_messageService'][_0x1b31f1(0x179)]({'key':_0x1b31f1(0x47d),'type':_0x4eaed3['Error'],'content':this[_0x1b31f1(0x193)]['t'](_0x1b31f1(0x4b6))});}[_0x50a7d0(0x400)](){const _0x5a5234=_0x50a7d0,_0x3238b2=()=>{const _0x44b9fa=_0xc944;this['_socket']||this[_0x44b9fa(0x466)]();},_0x51a65e=()=>{const _0x25199f=_0xc944;this['_socket']||document['visibilityState']==='hidden'||this[_0x25199f(0x466)]();};window[_0x5a5234(0x3ae)](_0x5a5234(0x1bc),_0x3238b2),document[_0x5a5234(0x3ae)](_0x5a5234(0x145),_0x51a65e);}[_0x50a7d0(0xb7)](){const _0x2b66e2=_0x50a7d0;var _0xe25588;const _0x4b8f70=this['_retryCount'],_0x31efa7=this[_0x2b66e2(0x3bb)][_0x2b66e2(0x4c6)](ee),_0x733aa5=_0x4b8f70===0x0?0x0:((_0xe25588=_0x31efa7==null?void 0x0:_0x31efa7['retryConnectingInterval'])!=null?_0xe25588:Rn)*0x2**_0x4b8f70;this['_retryConnectingTimer']=window['setTimeout'](()=>{const _0x2f4ea9=_0x2b66e2;clearTimeout(this['_retryConnectingTimer']),this[_0x2f4ea9(0x1f0)]=null,this[_0x2f4ea9(0x1d4)]();},_0x733aa5),this[_0x2b66e2(0x421)]+=0x1;}[_0x50a7d0(0x324)](_0x2f85d3,_0x221940){const _0x1318f5=_0x50a7d0,{cmd:_0x1f11bd}=_0x221940;_0x1f11bd===W['HELLO']&&!this[_0x1318f5(0x31b)]&&(_0x2f85d3[_0x1318f5(0x13f)]=_0x221940[_0x1318f5(0x274)][_0x1318f5(0x13f)],this[_0x1318f5(0x4cd)][_0x1318f5(0x492)](_0x2f85d3),this[_0x1318f5(0x390)][_0x1318f5(0x492)](ve[_0x1318f5(0x156)]),this[_0x1318f5(0x31b)]=!0x0,this[_0x1318f5(0x3ba)]=null),_0x1f11bd===W[_0x1318f5(0x48b)]&&this[_0x1318f5(0x1ed)](),this[_0x1318f5(0x2b5)]();}['_rescheduleHeartbeat'](){const _0x533d70=_0x50a7d0;var _0x25c25d;this[_0x533d70(0x427)](),this[_0x533d70(0x12e)]=window[_0x533d70(0x367)](()=>this[_0x533d70(0xfe)](),(_0x25c25d=this[_0x533d70(0x3bb)][_0x533d70(0x4c6)](bn))!=null?_0x25c25d:Tn);}[_0x50a7d0(0xfe)](){const _0x333253=_0x50a7d0;this[_0x333253(0x4ae)][_0x333253(0x23c)]({'cmd':W[_0x333253(0x48b)]}),this[_0x333253(0x477)]();}['_waitForHeartbeatResponse'](){const _0x35b998=_0x50a7d0;var _0x108720;this[_0x35b998(0x22a)]=window[_0x35b998(0x367)](()=>this['_onConnectionFailed'](),(_0x108720=this['_configService'][_0x35b998(0x4c6)](Di))!=null?_0x108720:Pi);}[_0x50a7d0(0x427)](){const _0xfef7d5=_0x50a7d0;this[_0xfef7d5(0x12e)]!=null&&(clearTimeout(this[_0xfef7d5(0x12e)]),this[_0xfef7d5(0x12e)]=null);}[_0x50a7d0(0x1ed)](){const _0x2af7aa=_0x50a7d0;this[_0x2af7aa(0x22a)]!=null&&(clearTimeout(this[_0x2af7aa(0x22a)]),this[_0x2af7aa(0x22a)]=null);}};xe=Zn([we(0x0,_0x33026a(_0x17dae8)),we(0x1,_0x33026a(_0x21b13d)),we(0x2,_0xa8b33d),we(0x3,_0x299b7a),we(0x4,_0x533505),we(0x5,Ai),we(0x6,_0x33026a(_0x278722))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x50a7d0(0xc6)]((i+0x100)[_0x50a7d0(0x45a)](0x10)[_0x50a7d0(0x2bf)](0x1));function Qn(_0xf5bf73,_0x2bf021=0x0){const _0x3a7e94=_0x50a7d0;return(Y[_0xf5bf73[_0x2bf021+0x0]]+Y[_0xf5bf73[_0x2bf021+0x1]]+Y[_0xf5bf73[_0x2bf021+0x2]]+Y[_0xf5bf73[_0x2bf021+0x3]]+'-'+Y[_0xf5bf73[_0x2bf021+0x4]]+Y[_0xf5bf73[_0x2bf021+0x5]]+'-'+Y[_0xf5bf73[_0x2bf021+0x6]]+Y[_0xf5bf73[_0x2bf021+0x7]]+'-'+Y[_0xf5bf73[_0x2bf021+0x8]]+Y[_0xf5bf73[_0x2bf021+0x9]]+'-'+Y[_0xf5bf73[_0x2bf021+0xa]]+Y[_0xf5bf73[_0x2bf021+0xb]]+Y[_0xf5bf73[_0x2bf021+0xc]]+Y[_0xf5bf73[_0x2bf021+0xd]]+Y[_0xf5bf73[_0x2bf021+0xe]]+Y[_0xf5bf73[_0x2bf021+0xf]])[_0x3a7e94(0xc2)]();}let Mt;const eo=new Uint8Array(0x10);function to(){const _0x4c14b4=_0x50a7d0;if(!Mt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4c14b4(0x32e));Mt=crypto['getRandomValues']['bind'](crypto);}return Mt(eo);}const so=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x50a7d0(0x412)][_0x50a7d0(0x2b2)](crypto),Fs={'randomUUID':so};function io(_0xe89f59,_0x296116,_0x4450ec){const _0x7fb854=_0x50a7d0;if(Fs[_0x7fb854(0x412)]&&!_0x296116&&!_0xe89f59)return Fs[_0x7fb854(0x412)]();_0xe89f59=_0xe89f59||{};const _0x731d72=_0xe89f59[_0x7fb854(0x220)]||(_0xe89f59[_0x7fb854(0x495)]||to)();return _0x731d72[0x6]=_0x731d72[0x6]&0xf|0x40,_0x731d72[0x8]=_0x731d72[0x8]&0x3f|0x80,Qn(_0x731d72);}var ro=Object[_0x50a7d0(0x15c)],no=Object[_0x50a7d0(0x18b)],oo=(_0x36c680,_0x2f0467,_0x4e3d6e,_0x427a9b)=>{const _0x46dfe6=_0x50a7d0;for(var _0xdf8388=_0x427a9b>0x1?void 0x0:_0x427a9b?no(_0x2f0467,_0x4e3d6e):_0x2f0467,_0x4e5275=_0x36c680[_0x46dfe6(0x1d0)]-0x1,_0xbcbdc9;_0x4e5275>=0x0;_0x4e5275--)(_0xbcbdc9=_0x36c680[_0x4e5275])&&(_0xdf8388=(_0x427a9b?_0xbcbdc9(_0x2f0467,_0x4e3d6e,_0xdf8388):_0xbcbdc9(_0xdf8388))||_0xdf8388);return _0x427a9b&&_0xdf8388&&ro(_0x2f0467,_0x4e3d6e,_0xdf8388),_0xdf8388;},xt=(_0x44eea1,_0x57d353)=>(_0x3e1318,_0x1f381d)=>_0x57d353(_0x3e1318,_0x1f381d,_0x44eea1);let vt=class{constructor(_0x5dee18,_0x1f1f91,_0xbfffaa){const _0x4f424d=_0x50a7d0;this[_0x4f424d(0x408)]=_0x5dee18,this[_0x4f424d(0x494)]=_0x1f1f91,this[_0x4f424d(0x1af)]=_0xbfffaa;}[_0x50a7d0(0xef)](_0x1a24f0){const _0x732d8f=_0x50a7d0;this[_0x732d8f(0x3c2)](_0x1a24f0),this[_0x732d8f(0x4ab)](_0x1a24f0);}['transformRemoteChangeset'](_0x3a9935){const _0x1de53e=_0x50a7d0,{unitID:_0x18f418}=_0x3a9935,_0x4755f8=this[_0x1de53e(0x1af)]['getRenderById'](_0x18f418)[_0x1de53e(0x378)](_0x250d28),{redoCache:_0x124ff3}=_0x4755f8[_0x1de53e(0x323)]();if(_0x124ff3[_0x1de53e(0x1d0)]===0x0)return _0x3a9935;let _0x48c367=_0x378638['deepClone'](_0x3a9935['mutations'][0x0]);for(let _0x528351=0x0;_0x528351<_0x124ff3[_0x1de53e(0x1d0)];_0x528351++){const _0x19b47d={'id':_0x1de53e(0xeb),'params':{..._0x124ff3[_0x528351]}},_0x52e0d8=this[_0x1de53e(0x494)][_0x1de53e(0x1da)](_0x48c367,_0x19b47d,!0x1);if(_0x2432d6(_0x52e0d8))throw _0x52e0d8['error'];_0x48c367=_0x52e0d8[_0x1de53e(0x1c1)];}return{..._0x378638[_0x1de53e(0x2fe)](_0x3a9935),'mutations':[_0x48c367]};}[_0x50a7d0(0x3c2)](_0x521b43){const _0x2814f1=_0x50a7d0,{unitID:_0x48b191}=_0x521b43,_0x165ab2=this['_renderManagerService'][_0x2814f1(0x328)](_0x48b191)['with'](_0x250d28),{undoCache:_0x214718,redoCache:_0x44bd3d}=_0x165ab2['getUndoRedoMutationParamsCache']();if(_0x214718[_0x2814f1(0x1d0)]===0x0||_0x44bd3d[_0x2814f1(0x1d0)]===0x0)return;const _0x50cd65=[],_0x2f66fe=[];let _0x5cbaf1=_0x378638[_0x2814f1(0x2fe)](_0x521b43[_0x2814f1(0x182)][0x0]),_0x3b5957=_0x378638[_0x2814f1(0x2fe)](_0x521b43[_0x2814f1(0x182)][0x0]);for(let _0x4e6ee0=_0x214718['length']-0x1;_0x4e6ee0>=0x0;_0x4e6ee0--){const _0xf8d1e7={'id':'doc.mutation.rich-text-editing','params':{..._0x214718[_0x4e6ee0]}},_0x5ba1b1={'id':_0x2814f1(0xeb),'params':{..._0x44bd3d[_0x4e6ee0]}},_0xac92a7=this[_0x2814f1(0x494)][_0x2814f1(0x1da)](_0x5cbaf1,_0xf8d1e7,!0x1),_0x5ef3b3=this[_0x2814f1(0x494)][_0x2814f1(0x1da)](_0x3b5957,_0x5ba1b1,!0x1);if(_0x2432d6(_0xac92a7))throw _0xac92a7[_0x2814f1(0x3a2)];if(_0x2432d6(_0x5ef3b3))throw _0x5ef3b3[_0x2814f1(0x3a2)];_0x50cd65['unshift'](_0xac92a7[_0x2814f1(0x37e)]['params']),_0x2f66fe['unshift'](_0x5ef3b3[_0x2814f1(0x37e)][_0x2814f1(0x4a8)]),_0x5cbaf1=_0xac92a7['m1Prime'],_0x3b5957=_0x5ef3b3[_0x2814f1(0x1c1)];}_0x165ab2[_0x2814f1(0x33e)]({'undoCache':_0x50cd65,'redoCache':_0x2f66fe});}[_0x50a7d0(0x4ab)](_0x434c71){const _0x44476a=_0x50a7d0,{unitID:_0x540ec2}=_0x434c71,_0x2ab2a9=this[_0x44476a(0x1af)]['getRenderById'](_0x540ec2)[_0x44476a(0x378)](_0x250d28),_0x50edd5=_0x2ab2a9[_0x44476a(0x38d)]();if(_0x50edd5==null)return;const _0x4551b4=[{'id':_0x44476a(0xeb),'params':{'unitId':_0x434c71[_0x44476a(0xaa)],'actions':null,'textRanges':[_0x50edd5]}}],_0x3c1e09=this[_0x44476a(0x494)]['transformMutationsWithChangeset'](_0x434c71,_0x4551b4);if(!_0x545fca(_0x3c1e09))throw _0x3c1e09[_0x44476a(0x3a2)];const _0x58478f=_0x3c1e09[_0x44476a(0x37e)][0x0][_0x44476a(0x4a8)][_0x44476a(0x238)];Array[_0x44476a(0x20e)](_0x58478f)&&_0x58478f[_0x44476a(0x1d0)]&&_0x2ab2a9['setActiveRange'](_0x58478f[0x0]);}};vt=oo([xt(0x0,_0x33026a(_0x17dae8)),xt(0x1,_0x4af41b),xt(0x2,_0x984cff)],vt);var ao=Object['defineProperty'],co=Object['getOwnPropertyDescriptor'],ho=(_0x5b3848,_0x1e434a,_0x2879f4,_0x2ac1b3)=>{for(var _0x3000d9=_0x2ac1b3>0x1?void 0x0:_0x2ac1b3?co(_0x1e434a,_0x2879f4):_0x1e434a,_0x33e582=_0x5b3848['length']-0x1,_0x1be806;_0x33e582>=0x0;_0x33e582--)(_0x1be806=_0x5b3848[_0x33e582])&&(_0x3000d9=(_0x2ac1b3?_0x1be806(_0x1e434a,_0x2879f4,_0x3000d9):_0x1be806(_0x3000d9))||_0x3000d9);return _0x2ac1b3&&_0x3000d9&&ao(_0x1e434a,_0x2879f4,_0x3000d9),_0x3000d9;},Xe=(_0x5504c9,_0x9e3602)=>(_0x1049ba,_0xfec98)=>_0x9e3602(_0x1049ba,_0xfec98,_0x5504c9);let q=class extends _0x514939{constructor(_0x5a1ffb,_0x270e1a,_0x3b2102,_0x51ea2b,_0x2e8f33){const _0x43d7ad=_0x50a7d0;super(),g(this,_0x43d7ad(0x273),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x43d7ad(0x2d2),!0x1),(this[_0x43d7ad(0x3bb)]=_0x5a1ffb,this[_0x43d7ad(0x476)]=_0x270e1a,this['_beforeCloseService']=_0x3b2102,this[_0x43d7ad(0x193)]=_0x51ea2b,this[_0x43d7ad(0x383)]=_0x2e8f33,this[_0x43d7ad(0x2b4)]());}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x4666eb=_0x50a7d0;this[_0x4666eb(0x2d2)]=!0x1;}[_0x50a7d0(0x45c)](){const _0x5ead55=_0x50a7d0;this[_0x5ead55(0x3fe)]()[_0x5ead55(0x119)](()=>super[_0x5ead55(0x45c)]());}async['loadOfflineData'](_0x528cf1){const _0x20b2d7=_0x50a7d0;return this[_0x20b2d7(0x2d2)]?null:this[_0x20b2d7(0x476)][_0x20b2d7(0x164)](Vs(_0x528cf1));}async[_0x50a7d0(0x3b4)](_0x47a8c4,_0x2767f3){const _0xa1a0b=_0x50a7d0;return!!this['_localStorageService'][_0xa1a0b(0x31a)](_0x47a8c4,_0x2767f3);}['updateOfflineData'](_0x4a08d3,_0x3ab629,_0x1ee768,_0x5b8983){const _0x4f2d71=_0x50a7d0,_0x4f4218=this[_0x4f2d71(0x383)]['getCurrentRevOfUnit'](_0x4a08d3);this[_0x4f2d71(0x273)][_0x4f2d71(0x2ce)](_0x4a08d3,{'unitID':_0x4a08d3,'type':_0x3ab629,'awaitingChangeset':_0x1ee768,'mutations':_0x5b8983,'rev':_0x4f4218}),this[_0x4f2d71(0xbe)][_0x4f2d71(0x28d)](_0x4a08d3)||this[_0x4f2d71(0x413)](_0x4a08d3);}[_0x50a7d0(0x413)](_0x1ac8a3){const _0x425ed8=_0x50a7d0,_0x36db2=this[_0x425ed8(0x2a9)]();_0x36db2===0x0?this[_0x425ed8(0xfc)](_0x1ac8a3):this['_saveTaskMap'][_0x425ed8(0x2ce)](_0x1ac8a3,setTimeout(()=>this['_saveCache'](_0x1ac8a3),_0x36db2));}['_getSaveTimeout'](){const _0x233a9a=_0x50a7d0;var _0x3bb188;return(_0x3bb188=this[_0x233a9a(0x3bb)][_0x233a9a(0x4c6)](wn))!=null?_0x3bb188:Dn;}[_0x50a7d0(0xfc)](_0x3c9b3c){const _0x532f02=_0x50a7d0,_0xac7d6e=this[_0x532f02(0xbe)][_0x532f02(0x373)](_0x3c9b3c);return _0xac7d6e!==void 0x0&&window[_0x532f02(0x4a4)](_0xac7d6e),this[_0x532f02(0x476)][_0x532f02(0x31a)](Vs(_0x3c9b3c),this[_0x532f02(0x273)][_0x532f02(0x373)](_0x3c9b3c))['then'](()=>this[_0x532f02(0xbe)]['delete'](_0x3c9b3c));}async['exhaustSavingTask'](){const _0x2e6c92=_0x50a7d0,_0x37eb0b=[];this['_saveTaskMap'][_0x2e6c92(0x375)]((_0x54b387,_0x3e6c06)=>{const _0x139d7d=_0x2e6c92;window[_0x139d7d(0x4a4)](_0x54b387),_0x37eb0b[_0x139d7d(0xc6)](this[_0x139d7d(0xfc)](_0x3e6c06)[_0x139d7d(0x119)](()=>{const _0x4d2113=_0x139d7d;this[_0x4d2113(0xbe)][_0x4d2113(0x18d)](_0x3e6c06);}));}),await Promise['all'](_0x37eb0b);}[_0x50a7d0(0x2b4)](){const _0xa388e0=_0x50a7d0;this['disposeWithMe'](this['_beforeCloseService'][_0xa388e0(0x43a)](()=>{const _0x453dce=_0xa388e0;if(this['_saveTaskMap'][_0x453dce(0x1e7)])return this[_0x453dce(0x193)]['t']('collaboration-client.offline-data-not-saved');}));}};q=ho([Xe(0x0,_0x533505),Xe(0x1,_0xd46cc5),Xe(0x2,_0x3a2a39),Xe(0x3,_0x33026a(_0x21b13d)),Xe(0x4,_0x33026a(_0x50f245))],q);function Vs(_0x13bf7f){const _0x32e9a3=_0x50a7d0;return _0x32e9a3(0x147)+_0x13bf7f;}var lo=Object[_0x50a7d0(0x15c)],_o=Object[_0x50a7d0(0x18b)],uo=(_0x43845b,_0xf76a4,_0x442692,_0x29be65)=>{const _0x41c0e0=_0x50a7d0;for(var _0x2548d3=_0x29be65>0x1?void 0x0:_0x29be65?_o(_0xf76a4,_0x442692):_0xf76a4,_0x5760a7=_0x43845b[_0x41c0e0(0x1d0)]-0x1,_0x748510;_0x5760a7>=0x0;_0x5760a7--)(_0x748510=_0x43845b[_0x5760a7])&&(_0x2548d3=(_0x29be65?_0x748510(_0xf76a4,_0x442692,_0x2548d3):_0x748510(_0x2548d3))||_0x2548d3);return _0x29be65&&_0x2548d3&&lo(_0xf76a4,_0x442692,_0x2548d3),_0x2548d3;},Lt=(_0x222089,_0x147d1e)=>(_0x8055ac,_0x2f5d01)=>_0x147d1e(_0x8055ac,_0x2f5d01,_0x222089);function fo(_0xfaf97){const _0x4e4159=_0x50a7d0,{unitID:_0x3be2c8,mutations:_0x116281}=_0xfaf97;return{'unitId':_0x3be2c8,'subUnitId':_0x116281[0x0][_0x4e4159(0x4a8)][_0x4e4159(0x376)]};}let mt=class{constructor(_0x17e377,_0x10db8d,_0x51c290){const _0x25ed9b=_0x50a7d0;this[_0x25ed9b(0x408)]=_0x17e377,this[_0x25ed9b(0x494)]=_0x10db8d,this['_instanceService']=_0x51c290;}['transformSelections'](_0x3bc6e2){const _0x4eb9f3=_0x50a7d0;var _0x43c8b2,_0x55c572,_0x7d5500,_0x31c1df;const _0x294836=this[_0x4eb9f3(0x408)][_0x4eb9f3(0x373)](_0x3a11a0),{unitId:_0x6fc43c,subUnitId:_0x1d96b4}=fo(_0x3bc6e2),_0x1c504d=_0x294836[_0x4eb9f3(0xe5)](_0x6fc43c)['getCurrentSelections'](),_0x22e4a3=(_0x55c572=(_0x43c8b2=this['_instanceService'][_0x4eb9f3(0x346)](_0x6fc43c))==null?void 0x0:_0x43c8b2['getActiveSheet']())==null?void 0x0:_0x55c572[_0x4eb9f3(0x1ef)]();if(_0x1c504d[_0x4eb9f3(0x1d0)]===0x0||!_0x6fc43c||!_0x1d96b4)return;const _0x221803=[{'id':_0x313c8a['id'],'params':{'unitId':_0x6fc43c,'subUnitId':_0x22e4a3,'selections':_0x378638[_0x4eb9f3(0x2fe)](_0x1c504d)}}],_0x21f99b=this[_0x4eb9f3(0x494)][_0x4eb9f3(0x31d)](_0x3bc6e2,_0x221803);if(!_0x545fca(_0x21f99b))throw _0x21f99b[_0x4eb9f3(0x3a2)];const _0x5e05a0=(_0x31c1df=(_0x7d5500=_0x21f99b[_0x4eb9f3(0x37e)][0x0])==null?void 0x0:_0x7d5500[_0x4eb9f3(0x4a8)])==null?void 0x0:_0x31c1df['selections'];if(Array['isArray'](_0x5e05a0)&&_0x5e05a0[_0x4eb9f3(0x1d0)]){if(_0x5e05a0[_0x4eb9f3(0x1d0)]===_0x221803[0x0][_0x4eb9f3(0x4a8)][_0x4eb9f3(0x48f)][_0x4eb9f3(0x1d0)]&&_0x5e05a0[_0x4eb9f3(0x18c)]((_0x2000f7,_0x8ab17f)=>_0x18079f['equals'](_0x2000f7['range'],_0x221803[0x0][_0x4eb9f3(0x4a8)][_0x4eb9f3(0x48f)][_0x8ab17f][_0x4eb9f3(0x2ba)])))return;this['_injector'][_0x4eb9f3(0x373)](_0x2e05f8)[_0x4eb9f3(0x368)](_0x313c8a['id'],{'unitId':_0x6fc43c,'subUnitId':_0x22e4a3,'selections':_0x5e05a0});}}};mt=uo([Lt(0x0,_0x33026a(_0x17dae8)),Lt(0x1,_0x4af41b),Lt(0x2,_0x28b990)],mt);const yt=_0x17c099(_0x50a7d0(0x2f9));var xi=(_0x366b98=>(_0x366b98[_0x366b98[_0x50a7d0(0xc8)]=0x0]=_0x50a7d0(0xc8),_0x366b98[_0x366b98[_0x50a7d0(0xe4)]=0x1]='OTHER_CLIENTS_EDITING',_0x366b98))(xi||{});const Gs=0x7530,Ys='ACTIVE_UNIT_EVENT_CHANNEL';class vo extends _0x514939{constructor(){const _0x67cae9=_0x50a7d0;super(),g(this,'_id',_0x378638['generateRandomId']()),g(this,_0x67cae9(0x329),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,_0x67cae9(0x2bc),new Map()),g(this,_0x67cae9(0x248),new Map()),this[_0x67cae9(0x1a9)]();}[_0x50a7d0(0x45c)](){const _0x23727f=_0x50a7d0;super['dispose'](),this[_0x23727f(0x2bc)][_0x23727f(0x375)]((_0x4b5dcb,_0x23c1c7)=>this['_removeClearOtherTimer'](_0x23c1c7)),this['_heartbeatTimer']&&window[_0x23727f(0x2df)](this['_heartbeatTimer']);}[_0x50a7d0(0x2c5)](_0x5a34b0){const _0x3a59dd=_0x50a7d0;return this['_ensureSubject'](_0x5a34b0)[_0x3a59dd(0x157)](_0x1b81a6());}[_0x50a7d0(0x20a)](_0x39df4a){const _0xe52f0a=_0x50a7d0;this[_0xe52f0a(0x329)][_0xe52f0a(0x1e7)]===0x0&&this[_0xe52f0a(0x107)](),this[_0xe52f0a(0x329)][_0xe52f0a(0x366)](_0x39df4a),this[_0xe52f0a(0x127)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x39df4a],'isForwarded':!0x1});}[_0x50a7d0(0x2a5)](_0x1ad531){const _0x4a5d93=_0x50a7d0;this[_0x4a5d93(0x329)][_0x4a5d93(0x18d)](_0x1ad531),this[_0x4a5d93(0x329)][_0x4a5d93(0x1e7)]===0x0&&this[_0x4a5d93(0x113)]&&window[_0x4a5d93(0x2df)](this[_0x4a5d93(0x113)]);}[_0x50a7d0(0x1a9)](){const _0x32b17f=_0x50a7d0;this[_0x32b17f(0x450)](_0xd370ea(_0x226128(window,_0x32b17f(0x262))[_0x32b17f(0x479)](_0x3ec82d=>{const _0x326cf6=_0x32b17f;if(_0x3ec82d[_0x326cf6(0x31f)]!==Ys||!_0x3ec82d[_0x326cf6(0x3a0)])return;const _0x250b2e=JSON[_0x326cf6(0x47f)](_0x3ec82d[_0x326cf6(0x3a0)]);this[_0x326cf6(0x41e)](_0x250b2e);}))),window[_0x32b17f(0x3ae)](_0x32b17f(0x158),()=>this[_0x32b17f(0x127)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x47f76d){const _0xba625e=_0x50a7d0;switch(_0x47f76d[_0xba625e(0x105)]){case 0x0:this[_0xba625e(0x382)](_0x47f76d);break;case 0x1:this[_0xba625e(0x1f1)](_0x47f76d);break;case 0x2:this[_0xba625e(0x1bd)](_0x47f76d);break;}}[_0x50a7d0(0x382)](_0x8c5bd1){const _0x5f1146=_0x50a7d0,{unitIDs:_0x570957,memberID:_0x49294d,isForwarded:_0x117dc5}=_0x8c5bd1;_0x570957[_0x5f1146(0x375)](_0x1f88ab=>{const _0x328be0=_0x5f1146;if(!_0x117dc5&&this[_0x328be0(0x121)][_0x328be0(0x28d)](_0x1f88ab)&&this['_ensureSubject'](_0x1f88ab)[_0x328be0(0x492)](0x1),!this[_0x328be0(0x121)][_0x328be0(0x28d)](_0x1f88ab)||!this[_0x328be0(0x121)][_0x328be0(0x373)](_0x1f88ab)[_0x328be0(0x28d)](_0x49294d)){const _0x549f05=this['_unitOnClients'][_0x328be0(0x373)](_0x1f88ab)||new Set();_0x549f05[_0x328be0(0x366)](_0x49294d),this['_unitOnClients'][_0x328be0(0x2ce)](_0x1f88ab,_0x549f05),this[_0x328be0(0xba)](_0x49294d);}}),_0x117dc5||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5f1146(0x329)]],'isForwarded':!0x0});}[_0x50a7d0(0xba)](_0x15852f){const _0x544822=_0x50a7d0;this[_0x544822(0x46d)](_0x15852f);const _0x295c9b=window['setTimeout'](()=>{const _0x56f6f2=_0x544822;this[_0x56f6f2(0x121)][_0x56f6f2(0x375)](_0x1d6853=>{const _0x3dd2be=_0x56f6f2;_0x1d6853[_0x3dd2be(0x18d)](_0x15852f);});},Gs*0x2);this[_0x544822(0x2bc)][_0x544822(0x2ce)](_0x15852f,_0x295c9b);}[_0x50a7d0(0x46d)](_0x29d3e3){const _0x42dae5=_0x50a7d0;if(this[_0x42dae5(0x2bc)][_0x42dae5(0x28d)](_0x29d3e3)){const _0x55c2ab=this[_0x42dae5(0x2bc)]['get'](_0x29d3e3);_0x55c2ab&&window['clearTimeout'](_0x55c2ab),this['_clearOtherTimers'][_0x42dae5(0x2ce)](_0x29d3e3,null);}}[_0x50a7d0(0x1f1)](_0x154b30){const _0xbda5fa=_0x50a7d0,{memberID:_0xd99fd2,unitIDs:_0x331692}=_0x154b30;_0x331692[_0xbda5fa(0x375)](_0x22369f=>{const _0x35c931=_0xbda5fa;var _0x4011a9;const _0x522315=this[_0x35c931(0x121)][_0x35c931(0x373)](_0x22369f);_0x522315&&(_0x522315[_0x35c931(0x18d)](_0xd99fd2),(_0x4011a9=this[_0x35c931(0x1fc)](_0x22369f))==null||_0x4011a9[_0x35c931(0x492)](_0x522315[_0x35c931(0x1e7)]===0x0?0x0:0x1));}),this[_0xbda5fa(0x46d)](_0xd99fd2);}['_handleHeartbeatEvent'](_0x43eae2){const _0x53b763=_0x50a7d0;this['_scheduleClearOtherTimer'](_0x43eae2[_0x53b763(0x13f)]);}['_send'](_0x194576){const _0x3b63f4=_0x50a7d0;localStorage[_0x3b63f4(0x31a)](Ys,JSON[_0x3b63f4(0x2d6)](_0x194576));}['_scheduleHeartbeat'](){const _0x51a7e1=_0x50a7d0;this[_0x51a7e1(0x113)]=window[_0x51a7e1(0x3dc)](()=>{const _0x487c9b=_0x51a7e1;this['_send']({'type':0x2,'memberID':this[_0x487c9b(0x16c)]});},Gs);}[_0x50a7d0(0x1fc)](_0x493e6c){const _0x4d36e8=_0x50a7d0;return this[_0x4d36e8(0x248)][_0x4d36e8(0x28d)](_0x493e6c)||this['_unitStatus'][_0x4d36e8(0x2ce)](_0x493e6c,new _0x22472b(0x0)),this[_0x4d36e8(0x248)][_0x4d36e8(0x373)](_0x493e6c);}}var mo=Object['defineProperty'],po=Object[_0x50a7d0(0x18b)],go=(_0x4cc51f,_0x4df7bb,_0x56e4ba,_0x41bf3a)=>{for(var _0x58998f=_0x41bf3a>0x1?void 0x0:_0x41bf3a?po(_0x4df7bb,_0x56e4ba):_0x4df7bb,_0x36386f=_0x4cc51f['length']-0x1,_0x259fff;_0x36386f>=0x0;_0x36386f--)(_0x259fff=_0x4cc51f[_0x36386f])&&(_0x58998f=(_0x41bf3a?_0x259fff(_0x4df7bb,_0x56e4ba,_0x58998f):_0x259fff(_0x58998f))||_0x58998f);return _0x41bf3a&&_0x58998f&&mo(_0x4df7bb,_0x56e4ba,_0x58998f),_0x58998f;},$t=(_0x17e86e,_0xe1fae9)=>(_0x3a09cc,_0x3f8ee7)=>_0xe1fae9(_0x3a09cc,_0x3f8ee7,_0x17e86e);let pt=class{constructor(_0x2df839,_0x2d030d,_0x551db7){const _0x5303b3=_0x50a7d0;this[_0x5303b3(0x408)]=_0x2df839,this[_0x5303b3(0x494)]=_0x2d030d,this[_0x5303b3(0x321)]=_0x551db7;}[_0x50a7d0(0x191)](_0x436dae){const _0x1eeaac=_0x50a7d0;this[_0x1eeaac(0x3b7)](_0x436dae);}[_0x50a7d0(0x3e5)](_0x58a428){const _0x4f4402=_0x50a7d0,{unitID:_0x66cd93}=_0x58a428,{collaboration:_0x22b241}=this[_0x4f4402(0x321)]['getStateCache'](_0x66cd93);if(_0x22b241['length']===0x0)return _0x58a428;let _0xf45b10=_0x378638['deepClone'](_0x58a428[_0x4f4402(0x182)][0x0]);for(let _0x51492c=0x0;_0x51492c<_0x22b241['length'];_0x51492c++){const _0x228690={'id':_0x4f4402(0xeb),'params':{'unitId':_0x22b241[_0x51492c]['unitId'],..._0x22b241[_0x51492c][_0x4f4402(0x2a6)]}},_0x42fe9b=this[_0x4f4402(0x494)][_0x4f4402(0x1da)](_0xf45b10,_0x228690,!0x1);if(_0x2432d6(_0x42fe9b))throw _0x42fe9b[_0x4f4402(0x3a2)];_0xf45b10=_0x42fe9b[_0x4f4402(0x1c1)];}return{..._0x378638['deepClone'](_0x58a428),'mutations':[_0xf45b10]};}['_transformHistoryAndStateStack'](_0xc24496){const _0x4d2892=_0x50a7d0,{unitID:_0x3323ca}=_0xc24496,{history:_0x3658a0,collaboration:_0x52c3bd}=this[_0x4d2892(0x321)]['getStateCache'](_0x3323ca);if(_0x3658a0[_0x4d2892(0x1d0)]===0x0&&_0x52c3bd[_0x4d2892(0x1d0)]===0x0)return;const _0x27639f=[],_0x5daf41=[];let _0x355db8=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]),_0x1a3611=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]);for(let _0x21d603=_0x3658a0[_0x4d2892(0x1d0)]-0x1;_0x21d603>=0x0;_0x21d603--){const _0x2c91e4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3658a0[_0x21d603][_0x4d2892(0x258)],..._0x3658a0[_0x21d603]['undoState']}},_0x473344={'id':_0x4d2892(0xeb),'params':{'unitId':_0x3658a0[_0x21d603][_0x4d2892(0x258)],..._0x3658a0[_0x21d603][_0x4d2892(0x2a6)]}},_0x41a19f=this[_0x4d2892(0x494)]['transformMutation'](_0x355db8,_0x2c91e4,!0x1),_0x6660c=this[_0x4d2892(0x494)][_0x4d2892(0x1da)](_0x1a3611,_0x473344,!0x1);if(_0x2432d6(_0x41a19f))throw _0x41a19f['error'];if(_0x2432d6(_0x6660c))throw _0x6660c[_0x4d2892(0x3a2)];_0x27639f['unshift']({..._0x3658a0[_0x21d603],'undoState':_0x41a19f[_0x4d2892(0x37e)][_0x4d2892(0x4a8)],'redoState':_0x6660c[_0x4d2892(0x37e)]['params']}),_0x355db8=_0x41a19f[_0x4d2892(0x1c1)],_0x1a3611=_0x6660c[_0x4d2892(0x1c1)];}_0x355db8=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]),_0x1a3611=_0x378638[_0x4d2892(0x2fe)](_0xc24496[_0x4d2892(0x182)][0x0]);for(let _0x196133=_0x52c3bd[_0x4d2892(0x1d0)]-0x1;_0x196133>=0x0;_0x196133--){const _0x23ef36={'id':_0x4d2892(0xeb),'params':{'unitId':_0x52c3bd[_0x196133][_0x4d2892(0x258)],..._0x52c3bd[_0x196133][_0x4d2892(0x28e)]}},_0x554960={'id':_0x4d2892(0xeb),'params':{'unitId':_0x52c3bd[_0x196133][_0x4d2892(0x258)],..._0x52c3bd[_0x196133][_0x4d2892(0x2a6)]}},_0x2fc5c9=this['_transformService'][_0x4d2892(0x1da)](_0x355db8,_0x23ef36,!0x1),_0x3dd0cb=this[_0x4d2892(0x494)]['transformMutation'](_0x1a3611,_0x554960,!0x1);if(_0x2432d6(_0x2fc5c9))throw _0x2fc5c9['error'];if(_0x2432d6(_0x3dd0cb))throw _0x3dd0cb[_0x4d2892(0x3a2)];_0x5daf41[_0x4d2892(0x168)]({..._0x52c3bd[_0x196133],'undoState':_0x2fc5c9[_0x4d2892(0x37e)][_0x4d2892(0x4a8)],'redoState':_0x3dd0cb['m2Prime'][_0x4d2892(0x4a8)]}),_0x355db8=_0x2fc5c9[_0x4d2892(0x1c1)],_0x1a3611=_0x3dd0cb[_0x4d2892(0x1c1)];}this[_0x4d2892(0x321)][_0x4d2892(0x21d)](_0x3323ca,{'history':_0x27639f,'collaboration':_0x5daf41});}};pt=go([$t(0x0,_0x33026a(_0x17dae8)),$t(0x1,_0x4af41b),$t(0x2,_0x33026a(_0x4ac2d0))],pt);function Li(_0x1dd115){let _0xf4e4ca='';for(const _0x20b719 of _0x1dd115){const {startOffset:_0x52938d,endOffset:_0xfcc0c7,isActive:_0x49cda5,rangeType:_0x2325b3,segmentId:_0x24098c,segmentPage:_0x4507f3}=_0x20b719;_0xf4e4ca['length']&&(_0xf4e4ca+=','),_0xf4e4ca+=_0x52938d+':'+_0xfcc0c7+':'+(_0x49cda5?'1':'0')+':'+_0x2325b3+':'+_0x24098c+':'+_0x4507f3;}return _0xf4e4ca;}function So(_0x51197f){const _0x1561a5=_0x50a7d0,_0x4da699=_0x51197f[_0x1561a5(0xd8)](','),_0x185382=[];for(const _0xffadcc of _0x4da699){const [_0x120ca2,_0xd2b219,_0x53c95f,_0x12b220,_0x3005a6,_0x52f37e]=_0xffadcc[_0x1561a5(0xd8)](':');_0x185382[_0x1561a5(0xc6)]({'startOffset':Number(_0x120ca2),'endOffset':Number(_0xd2b219),'collapsed':_0x120ca2===_0xd2b219,'isActive':_0x53c95f==='1','rangeType':_0x12b220===_0x2b344d[_0x1561a5(0x1cb)]?_0x2b344d[_0x1561a5(0x1cb)]:_0x2b344d[_0x1561a5(0x357)],'segmentId':typeof _0x3005a6==_0x1561a5(0x218)?String(_0x3005a6):'','segmentPage':Number(_0x52f37e!=null?_0x52f37e:-0x1)});}return _0x185382[_0x1561a5(0x365)](_0x4350af=>_0x4350af['isActive'])||(_0x185382[0x0][_0x1561a5(0x28c)]=!0x0),_0x185382;}class Ts extends _0x2983d9{constructor(){const _0x6f9da2=_0x50a7d0;super(...arguments),g(this,'_collabCursorState$',new _0x22472b(null)),g(this,_0x6f9da2(0x388),this[_0x6f9da2(0x3fc)]['asObservable']());}[_0x50a7d0(0x4aa)](_0x5e0256){const _0x5d1e7c=_0x50a7d0,{unitID:_0x426ccf,memberID:_0x33b364,textRanges:_0x387f4c}=_0x5e0256,_0x30c1f3=Li(_0x387f4c);if(_0x30c1f3==='')return;const _0x4e82f1={'unitID':_0x426ccf,'memberID':_0x33b364,'selection':_0x30c1f3};this[_0x5d1e7c(0x3fc)][_0x5d1e7c(0x492)](_0x4e82f1);}}var Io=Object[_0x50a7d0(0x15c)],Co=Object[_0x50a7d0(0x18b)],Eo=(_0x22e539,_0x163a2a,_0x1f6607,_0x4c1ba0)=>{const _0x22d47c=_0x50a7d0;for(var _0x1ba67c=_0x4c1ba0>0x1?void 0x0:_0x4c1ba0?Co(_0x163a2a,_0x1f6607):_0x163a2a,_0x25eb91=_0x22e539[_0x22d47c(0x1d0)]-0x1,_0x16f2b9;_0x25eb91>=0x0;_0x25eb91--)(_0x16f2b9=_0x22e539[_0x25eb91])&&(_0x1ba67c=(_0x4c1ba0?_0x16f2b9(_0x163a2a,_0x1f6607,_0x1ba67c):_0x16f2b9(_0x1ba67c))||_0x1ba67c);return _0x4c1ba0&&_0x1ba67c&&Io(_0x163a2a,_0x1f6607,_0x1ba67c),_0x1ba67c;},Ks=(_0x4c22a4,_0x249937)=>(_0x1f33c2,_0x478287)=>_0x249937(_0x1f33c2,_0x478287,_0x4c22a4);let gt=class{constructor(_0x51fd1b,_0x1c144c){const _0x2c7606=_0x50a7d0;this[_0x2c7606(0x408)]=_0x51fd1b,this[_0x2c7606(0x494)]=_0x1c144c;}[_0x50a7d0(0x470)](_0x150ab8){const _0x1b85a2=_0x50a7d0;var _0x8722e0;const _0x4314e9=this[_0x1b85a2(0x408)]['get'](_0x370f46),_0x213f13=(_0x8722e0=_0x4314e9[_0x1b85a2(0x2ad)]())!=null?_0x8722e0:[];if(_0x213f13[_0x1b85a2(0x1d0)]===0x0)return;const _0x519882=_0x150ab8['unitID'],_0x389075=[{'id':_0x1b85a2(0xeb),'params':{'unitId':_0x519882,'actions':null,'textRanges':_0x213f13}}],_0xa2725=this[_0x1b85a2(0x494)][_0x1b85a2(0x31d)](_0x150ab8,_0x389075);if(!_0x545fca(_0xa2725))throw _0xa2725[_0x1b85a2(0x3a2)];const _0x197305=_0xa2725[_0x1b85a2(0x37e)][0x0]['params'][_0x1b85a2(0x238)];Array[_0x1b85a2(0x20e)](_0x197305)&&_0x197305['length']&&_0x4314e9[_0x1b85a2(0x25a)](_0x197305,{'unitId':_0x519882,'subUnitId':_0x519882},!0x1);}};gt=Eo([Ks(0x0,_0x33026a(_0x17dae8)),Ks(0x1,_0x4af41b)],gt);const bo=new Set([_0x47f947['id']]);function zs(_0x876ab4,_0x5dcb64,_0x1cd235,_0x1f502f,_0x19c09b){const _0xd9240d=_0x50a7d0;var _0x519d66,_0x324268,_0x49a56a,_0xcab886;const _0x38cdbd=[];for(const _0x4a7566 of _0x876ab4)if(bo[_0xd9240d(0x28d)](_0x4a7566['id'])){if(_0x38cdbd[_0xd9240d(0x1d0)]>0x0)break;_0x38cdbd[_0xd9240d(0xc6)](_0x4a7566);break;}else _0x38cdbd['push'](_0x4a7566);const _0x3085b7=(_0x324268=(_0x519d66=_0x19c09b[_0xd9240d(0x3e2)]())==null?void 0x0:_0x519d66['userID'])!=null?_0x324268:_0xd9240d(0xf8),_0x1b8849=(_0xcab886=(_0x49a56a=_0x19c09b[_0xd9240d(0x3e2)]())==null?void 0x0:_0x49a56a[_0xd9240d(0x13f)])!=null?_0xcab886:_0xd9240d(0xf8);return{'changeset':{'unitID':_0x5dcb64,'type':_0x3726a0(_0x1cd235[_0xd9240d(0x10d)](_0x5dcb64)),'baseRev':_0x1f502f[_0xd9240d(0x4cf)](_0x5dcb64),'revision':0x0,'userID':_0x3085b7,'memberID':_0x1b8849,'mutations':_0x38cdbd},'pendingMutations':_0x876ab4[_0xd9240d(0x2bf)](_0x38cdbd['length'])};}function To(_0x4b5b3e,_0x4854c6,_0x398fd8,_0x2189d9,_0x42786e){const _0x1620b5=_0x50a7d0;var _0xcd8720,_0x25a73a,_0x4910e3,_0x11463a;const _0x55a06a=[_0x4b5b3e[_0x1620b5(0x143)]((_0x38e329,_0x209bad)=>{const _0x25b3d3=_0x1620b5;var _0x585941;const {id:_0x36a90b}=_0x38e329,{id:_0xdd613a,type:_0x1d7eaf}=_0x209bad,_0x494127=(_0x585941=_0x38e329[_0x25b3d3(0x4a8)])!=null?_0x585941:{'actions':null},_0x3add27=_0x209bad[_0x25b3d3(0x4a8)];if(_0x36a90b&&_0x36a90b!==_0xdd613a)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x36a90b+'\x20-\x20'+_0xdd613a+'.');return{..._0x38e329,'id':_0xdd613a,'type':_0x1d7eaf,'params':{'unitId':_0x3add27[_0x25b3d3(0x258)],'textRanges':_0x3add27[_0x25b3d3(0x238)],'actions':_0x198357[_0x25b3d3(0x353)](_0x494127['actions'],_0x3add27[_0x25b3d3(0x433)])}};},{})],_0x1ba5be=(_0x25a73a=(_0xcd8720=_0x42786e[_0x1620b5(0x3e2)]())==null?void 0x0:_0xcd8720[_0x1620b5(0x3d3)])!=null?_0x25a73a:_0x1620b5(0xf8),_0x1a9368=(_0x11463a=(_0x4910e3=_0x42786e[_0x1620b5(0x3e2)]())==null?void 0x0:_0x4910e3['memberID'])!=null?_0x11463a:_0x1620b5(0xf8);return{'changeset':{'unitID':_0x4854c6,'type':_0x3726a0(_0x398fd8[_0x1620b5(0x10d)](_0x4854c6)),'baseRev':_0x2189d9[_0x1620b5(0x4cf)](_0x4854c6),'revision':0x0,'userID':_0x1ba5be,'memberID':_0x1a9368,'mutations':_0x55a06a},'pendingMutations':[]};}function $i(_0x30fa18,_0x187694){const _0x50d099=_0x50a7d0,_0xb8486e=new _0x136f27(0x1);return setTimeout(()=>_0xb8486e['next'](_0x187694),_0x30fa18),_0xb8486e['asObservable']()[_0x50d099(0x157)](_0x5cbb3a(0x1));}const Ro={'id':_0x2b292b['id'],'type':_0x30659a[_0x50a7d0(0x41f)],'params':{}};var Oo=Object[_0x50a7d0(0x15c)],yo=Object['getOwnPropertyDescriptor'],$e=(_0x1ba909,_0x530b38,_0x785105,_0x4eebe9)=>{const _0x3d8f73=_0x50a7d0;for(var _0x561deb=_0x4eebe9>0x1?void 0x0:_0x4eebe9?yo(_0x530b38,_0x785105):_0x530b38,_0x2b37ee=_0x1ba909[_0x3d8f73(0x1d0)]-0x1,_0x207e5f;_0x2b37ee>=0x0;_0x2b37ee--)(_0x207e5f=_0x1ba909[_0x2b37ee])&&(_0x561deb=(_0x4eebe9?_0x207e5f(_0x530b38,_0x785105,_0x561deb):_0x207e5f(_0x561deb))||_0x561deb);return _0x4eebe9&&_0x561deb&&Oo(_0x530b38,_0x785105,_0x561deb),_0x561deb;},A=(_0x260c95,_0x2a36c4)=>(_0x1433a5,_0x282f1c)=>_0x2a36c4(_0x1433a5,_0x282f1c,_0x260c95),J=(_0x2c8a9d=>(_0x2c8a9d['NOT_COLLAB']=_0x50a7d0(0x225),_0x2c8a9d['SYNCED']='synced',_0x2c8a9d['PENDING']=_0x50a7d0(0x14e),_0x2c8a9d[_0x50a7d0(0x30f)]=_0x50a7d0(0x114),_0x2c8a9d['AWAITING_WITH_PENDING']=_0x50a7d0(0x49e),_0x2c8a9d[_0x50a7d0(0x2cb)]=_0x50a7d0(0x401),_0x2c8a9d[_0x50a7d0(0x441)]='conflict',_0x2c8a9d[_0x50a7d0(0x4a2)]=_0x50a7d0(0x140),_0x2c8a9d))(J||{});const Hi=0xea60;class He{constructor(_0x28cc8f,_0x83a61c,_0x3cb097,_0x528d73,_0x26fa2e,_0x42634e,_0x57c585,_0x34c956,_0x570197){const _0x393a82=_0x50a7d0;g(this,_0x393a82(0x1aa),null),g(this,_0x393a82(0x196),[]),(this['unitID']=_0x28cc8f,this['type']=_0x83a61c,this[_0x393a82(0x106)]=_0x26fa2e,this[_0x393a82(0x293)]=_0x42634e,this['_undoRedoService']=_0x57c585,this[_0x393a82(0x383)]=_0x34c956,this[_0x393a82(0x251)]=_0x570197,this[_0x393a82(0x1aa)]=_0x3cb097,this['_pendingMutations']=_0x528d73);}[_0x50a7d0(0x195)](_0x42f3a1){const _0x171faa=_0x50a7d0,_0x3701ac=this[_0x171faa(0x383)][_0x171faa(0x4cf)](this[_0x171faa(0xaa)]);return _0x42f3a1[_0x171faa(0x29d)]>_0x3701ac+0x1?(this[_0x171faa(0x106)][_0x171faa(0xf7)]({'from':_0x3701ac,'to':_0x42f3a1[_0x171faa(0x29d)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x33bdb1){const _0x1812fd=_0x50a7d0;this[_0x1812fd(0x402)][_0x1812fd(0x30e)](this[_0x1812fd(0xaa)],_0x33bdb1);}['_transformSelections'](_0x182841){const _0x2276cb=_0x50a7d0;var _0x2b8ea2,_0x2f1d91;(_0x2f1d91=(_0x2b8ea2=this[_0x2276cb(0x106)])[_0x2276cb(0x233)])==null||_0x2f1d91[_0x2276cb(0x2a1)](_0x2b8ea2,_0x182841);}['_transformIMECache'](_0x2851db){const _0x3f5a52=_0x50a7d0;var _0x41e30f,_0x1d0d1e;return(_0x1d0d1e=(_0x41e30f=this[_0x3f5a52(0x106)])[_0x3f5a52(0x301)])==null?void 0x0:_0x1d0d1e[_0x3f5a52(0x2a1)](_0x41e30f,_0x2851db);}[_0x50a7d0(0x3f6)](_0x831b7b){const _0x30994f=_0x50a7d0;var _0x3a3ff5,_0x4f6c83;return(_0x4f6c83=(_0x3a3ff5=this[_0x30994f(0x106)])[_0x30994f(0xc0)])==null?void 0x0:_0x4f6c83[_0x30994f(0x2a1)](_0x3a3ff5,_0x831b7b);}[_0x50a7d0(0x3af)](_0x41c3f6){const _0x34da82=_0x50a7d0;var _0x3ed1a0,_0x54bbef,_0x1b30e9;return(_0x1b30e9=(_0x54bbef=(_0x3ed1a0=this[_0x34da82(0x106)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x54bbef[_0x34da82(0x2a1)](_0x3ed1a0,_0x41c3f6))!=null?_0x1b30e9:_0x41c3f6;}[_0x50a7d0(0x1d8)](_0x5ab38c){const _0x4b61ae=_0x50a7d0;var _0x30ffd1,_0x1e304b,_0x104eb6;return(_0x104eb6=(_0x1e304b=(_0x30ffd1=this[_0x4b61ae(0x106)])[_0x4b61ae(0xdd)])==null?void 0x0:_0x1e304b['call'](_0x30ffd1,_0x5ab38c))!=null?_0x104eb6:_0x5ab38c;}['_syncEditingCollabCursor'](_0x11b840){const _0x5776e6=_0x50a7d0;var _0x176ece,_0x421546;if(this[_0x5776e6(0x105)]===ce[_0x5776e6(0x26b)]){const {unitID:_0x37eade,mutations:_0x49091d,memberID:_0x33e5cc}=_0x11b840,_0x3eb364=_0x49091d[0x0][_0x5776e6(0x4a8)][_0x5776e6(0x238)];Array[_0x5776e6(0x20e)](_0x3eb364)&&_0x3eb364[_0x5776e6(0x1d0)]>0x0&&((_0x421546=(_0x176ece=this[_0x5776e6(0x106)])[_0x5776e6(0x16f)])==null||_0x421546[_0x5776e6(0x2a1)](_0x176ece,{'unitID':_0x37eade,'memberID':_0x33e5cc,'textRanges':_0x3eb364}));}}['_updateLocalCache'](){const _0x549aae=_0x50a7d0;this[_0x549aae(0x251)]['updateOfflineData'](this['unitID'],this[_0x549aae(0x105)],this[_0x549aae(0x1aa)],this[_0x549aae(0x196)]);}[_0x50a7d0(0x465)](){const _0x31d009=_0x50a7d0;return this[_0x31d009(0x383)]['getCurrentRevOfUnit'](this[_0x31d009(0xaa)]);}['_incrementRevisionNumber'](){const _0x16c025=_0x50a7d0;this[_0x16c025(0x383)][_0x16c025(0x3aa)](this[_0x16c025(0xaa)]);}[_0x50a7d0(0x130)](_0x2f3467){const _0x3c94bc=_0x50a7d0;var _0x4dcd65;let _0x5c57e8=this[_0x3c94bc(0x3af)](_0x2f3467);_0x5c57e8=this[_0x3c94bc(0x1d8)](_0x5c57e8);const _0x349758=_0x396518(_0x5c57e8[_0x3c94bc(0x182)],this['_commandService'],{'fromCollab':!0x0});if(!_0x349758['result'])throw _0x349758[_0x3c94bc(0x3a2)]instanceof Error?_0x349758['error']:new Error((_0x4dcd65=_0x349758[_0x3c94bc(0x3a2)])!=null?_0x4dcd65:_0x3c94bc(0x3df));this[_0x3c94bc(0x344)](_0x5c57e8),this[_0x3c94bc(0x3f6)](_0x5c57e8),this[_0x3c94bc(0x2f1)](_0x2f3467),this[_0x3c94bc(0x4bd)](_0x5c57e8),this[_0x3c94bc(0x192)](_0x5c57e8),this[_0x3c94bc(0x2e1)]();}}let Fe=class extends He{constructor(_0x1905dd,_0x237865,_0x138ab8,_0x40d8ee,_0x709427,_0x55d2eb,_0x2931db,_0x1c502c,_0x163712,_0x2c576e){const _0x38e527=_0x50a7d0;super(_0x1905dd,_0x237865,null,[],_0x138ab8,_0x1c502c,_0x2931db,_0x40d8ee,_0x709427),g(this,_0x38e527(0x295),_0x38e527(0x4b1)),(this[_0x38e527(0x408)]=_0x55d2eb,this[_0x38e527(0x422)]=_0x163712,this[_0x38e527(0x494)]=_0x2c576e);}[_0x50a7d0(0x442)](_0x12a543){const _0x194ad2=_0x50a7d0,_0x1ccffe=this[_0x194ad2(0x408)]['createInstance'](pe,this[_0x194ad2(0xaa)],this[_0x194ad2(0x105)],[_0x12a543],this[_0x194ad2(0x106)]);return _0x1ccffe[_0x194ad2(0x245)](),_0x1ccffe[_0x194ad2(0x461)](),_0x1ccffe;}[_0x50a7d0(0x13c)](_0x5b9197){const _0x38cbc2=_0x50a7d0;if(this[_0x38cbc2(0x195)](_0x5b9197))return this[_0x38cbc2(0x408)]['createInstance'](he,this[_0x38cbc2(0xaa)],this['type'],null,[],null,[_0x5b9197],this['_handler']);try{const _0x24c678=this[_0x38cbc2(0x494)][_0x38cbc2(0x31d)](_0x5b9197,[Ro]);if(_0x545fca(_0x24c678)){const {c1Prime:_0x2fdfe4}=_0x24c678;return this[_0x38cbc2(0x130)](_0x2fdfe4),this;}throw _0x24c678[_0x38cbc2(0x3a2)];}catch(_0x55b907){return this[_0x38cbc2(0x422)]['error'](_0x55b907),this[_0x38cbc2(0x498)](!0x1);}}[_0x50a7d0(0x498)](_0x364617){const _0x4e578f=_0x50a7d0;return this['_injector'][_0x4e578f(0xe7)](Oe,this[_0x4e578f(0xaa)],this[_0x4e578f(0x105)],null,[],this['_handler'],_0x364617);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x50a7d0(0x395)](){const _0x2f05ad=_0x50a7d0;throw new Error(_0x2f05ad(0x122));}['onRemoteRetry'](){return this;}[_0x50a7d0(0x2b9)](){const _0x2cf074=_0x50a7d0;return this[_0x2cf074(0x408)]['createInstance'](ye,this[_0x2cf074(0xaa)],this['type'],null,[],this[_0x2cf074(0x106)]);}['toggleOnline'](){return this;}['resend'](){const _0x3fd049=_0x50a7d0;throw new Error(_0x3fd049(0x3c9));}[_0x50a7d0(0x1b2)](){const _0x1d13a7=_0x50a7d0,_0x5b169b=this[_0x1d13a7(0x383)]['getCurrentRevOfUnit'](this[_0x1d13a7(0xaa)]);return this[_0x1d13a7(0x106)]['onMissingChangesets']({'from':_0x5b169b,'to':0x0}),this[_0x1d13a7(0x408)][_0x1d13a7(0xe7)](he,this[_0x1d13a7(0xaa)],this[_0x1d13a7(0x105)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x33026a(_0x50f245)),A(0x4,_0x33026a(q)),A(0x5,_0x33026a(_0x17dae8)),A(0x6,_0x5b0e0d),A(0x7,_0x2e05f8),A(0x8,_0x299b7a),A(0x9,_0x4af41b)],Fe);let pe=class extends He{constructor(_0x5a3234,_0x30967f,_0x54b2c7,_0x2b7dad,_0x4051cf,_0x1098a9,_0x366dc4,_0x58eaef,_0xeaa740,_0xdca6b7,_0x3358b7,_0x52212d,_0x413856,_0x528ea1){const _0x538f54=_0x50a7d0;super(_0x5a3234,_0x30967f,null,_0x54b2c7,_0x2b7dad,_0xdca6b7,_0x528ea1,_0x1098a9,_0x366dc4),g(this,_0x538f54(0x295),_0x538f54(0x14e)),g(this,'_scheduleTimestamp',null),g(this,'_sendingTimer',null),(this['_injector']=_0x4051cf,this[_0x538f54(0x35d)]=_0x58eaef,this[_0x538f54(0x422)]=_0xeaa740,this[_0x538f54(0x3bb)]=_0x3358b7,this[_0x538f54(0x494)]=_0x52212d,this[_0x538f54(0x283)]=_0x413856);}[_0x50a7d0(0x442)](_0x3d95ee){const _0x1d8a12=_0x50a7d0;return this[_0x1d8a12(0x196)]['push'](_0x3d95ee),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x43f34e){const _0x2a558f=_0x50a7d0;if(this[_0x2a558f(0x195)](_0x43f34e))return this[_0x2a558f(0x2c1)](),this[_0x2a558f(0x408)][_0x2a558f(0xe7)](he,this[_0x2a558f(0xaa)],this['type'],null,this[_0x2a558f(0x196)],null,[_0x43f34e],this[_0x2a558f(0x106)]);try{const _0x37fe60=this['_transformService'][_0x2a558f(0x31d)](_0x43f34e,this[_0x2a558f(0x196)]);if(_0x545fca(_0x37fe60)){const {c1Prime:_0x1ad57f,m2Prime:_0x4dae5d}=_0x37fe60;this['_executeRemoteChangeset'](_0x1ad57f);const _0x903813=this['_injector'][_0x2a558f(0xe7)](pe,this['unitID'],this[_0x2a558f(0x105)],_0x4dae5d,this['_handler']);return this['_clearScheduledTask'](),_0x903813[_0x2a558f(0x245)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x2a558f(0x4bb)]()),_0x903813;}throw _0x37fe60[_0x2a558f(0x3a2)];}catch(_0x5bc727){return this['_logService'][_0x2a558f(0x3a2)](_0x5bc727),this['_onConflict'](!0x1);}}[_0x50a7d0(0x3e8)](){const _0x1407c7=_0x50a7d0;throw new Error(_0x1407c7(0x491));}['onRemoteRej'](){const _0x51cb1e=_0x50a7d0;throw new Error(_0x51cb1e(0x425));}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){const _0xae98a8=_0x50a7d0;return this[_0xae98a8(0x2c1)](),this[_0xae98a8(0x408)]['createInstance'](ye,this[_0xae98a8(0xaa)],this[_0xae98a8(0x105)],null,this[_0xae98a8(0x196)],this[_0xae98a8(0x106)]);}[_0x50a7d0(0x30d)](){return this;}['_schedule'](_0x54b8c8){const _0x4e1bb9=_0x50a7d0,_0xd4444e=_0x54b8c8!=null?_0x54b8c8:this[_0x4e1bb9(0x4bb)]();this[_0x4e1bb9(0x1f7)]=new Date()['getTime'](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x4d7b67=_0x4e1bb9;this[_0x4d7b67(0x2c1)]();let _0xd26c96=null;switch(this[_0x4d7b67(0x105)]){case ce[_0x4d7b67(0x331)]:{_0xd26c96=zs(this[_0x4d7b67(0x196)],this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x4d7b67(0x18c)](_0x24a6c3=>_0x24a6c3['id']===_0x5e3fd9['id'])?_0xd26c96=To(this[_0x4d7b67(0x196)],this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]):_0xd26c96=zs(this[_0x4d7b67(0x196)],this['unitID'],this[_0x4d7b67(0x283)],this[_0x4d7b67(0x383)],this[_0x4d7b67(0x35d)]);break;}default:throw new Error(_0x4d7b67(0x1e9)+this['type']+_0x4d7b67(0x257));}const {changeset:_0x112d45,pendingMutations:_0x21ebfb}=_0xd26c96;this[_0x4d7b67(0x106)][_0x4d7b67(0x17a)](_0x112d45);const _0x43c3b8=_0x21ebfb[_0x4d7b67(0x1d0)]?this['_injector'][_0x4d7b67(0xe7)](ge,this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x105)],_0x112d45,_0x21ebfb,this[_0x4d7b67(0x106)],void 0x0):this[_0x4d7b67(0x408)][_0x4d7b67(0xe7)](Re,this[_0x4d7b67(0xaa)],this[_0x4d7b67(0x105)],_0x112d45,this[_0x4d7b67(0x106)]);_0x43c3b8[_0x4d7b67(0x461)](),this[_0x4d7b67(0x106)][_0x4d7b67(0x3ad)](this,_0x43c3b8);},_0xd4444e);}['_getSendChangesetTimeout'](){const _0x483e8f=_0x50a7d0;var _0xda0355;const _0x5696d1=this['_configService'][_0x483e8f(0x4c6)](ee);return(_0xda0355=_0x5696d1==null?void 0x0:_0x5696d1[_0x483e8f(0x12d)])!=null?_0xda0355:Sn;}[_0x50a7d0(0x3d1)](){const _0x1ce0a3=_0x50a7d0;throw new Error(_0x1ce0a3(0x26c));}[_0x50a7d0(0x2c1)](){const _0x8837f9=_0x50a7d0;this[_0x8837f9(0xe8)]!=null&&(clearTimeout(this[_0x8837f9(0xe8)]),this[_0x8837f9(0xe8)]=null);}['_onConflict'](_0x3740ae){const _0x141d72=_0x50a7d0;return this[_0x141d72(0x2c1)](),this[_0x141d72(0x408)]['createInstance'](Oe,this[_0x141d72(0xaa)],this[_0x141d72(0x105)],null,this[_0x141d72(0x196)],this['_handler'],_0x3740ae);}};pe=$e([A(0x4,_0x33026a(_0x17dae8)),A(0x5,_0x33026a(_0x50f245)),A(0x6,_0x33026a(q)),A(0x7,_0x33026a(Me)),A(0x8,_0x299b7a),A(0x9,_0x2e05f8),A(0xa,_0x533505),A(0xb,_0x4af41b),A(0xc,_0x28b990),A(0xd,_0x5b0e0d)],pe);let Re=class extends He{constructor(_0x52b2a3,_0x9c0b8d,_0x1652a4,_0xf2ab3c,_0x43d450,_0xca0dfe,_0x4b9ef6,_0x2b1034,_0x550433,_0x258963,_0x2e595e){const _0x27bf4c=_0x50a7d0;super(_0x52b2a3,_0x9c0b8d,_0x1652a4,[],_0xf2ab3c,_0x2b1034,_0x2e595e,_0xca0dfe,_0x4b9ef6),g(this,_0x27bf4c(0x295),_0x27bf4c(0x114)),g(this,_0x27bf4c(0x212),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x27bf4c(0x408)]=_0x43d450,this['_logService']=_0x550433,this[_0x27bf4c(0x494)]=_0x258963);}['appendMutation'](_0xe64053){const _0x210462=_0x50a7d0;this[_0x210462(0x2c1)]();const _0xa3a174=this[_0x210462(0x408)][_0x210462(0xe7)](ge,this[_0x210462(0xaa)],this[_0x210462(0x105)],this[_0x210462(0x1aa)],[_0xe64053],this['_handler'],this[_0x210462(0x160)]);return _0xa3a174[_0x210462(0x461)](),_0xa3a174;}['onRemoteChangeset'](_0x38cad0){const _0x598eb2=_0x50a7d0;if(this[_0x598eb2(0x195)](_0x38cad0))return this[_0x598eb2(0x2c1)](),this[_0x598eb2(0x408)][_0x598eb2(0xe7)](he,this[_0x598eb2(0xaa)],this[_0x598eb2(0x105)],this[_0x598eb2(0x1aa)],[],null,[_0x38cad0],this[_0x598eb2(0x106)]);try{const _0x282117=this[_0x598eb2(0x494)]['transformChangesets']([_0x38cad0],[this[_0x598eb2(0x1aa)]],!0x1);if(_0x22d91c(_0x282117)){const {c1Prime:_0xfcb90d,c2Prime:_0x1907f3}=_0x282117;this[_0x598eb2(0x130)](_0xfcb90d[0x0]),_0x1907f3[0x0]['baseRev']=this[_0x598eb2(0x465)](),this[_0x598eb2(0x2c1)]();const _0x3af899=this[_0x598eb2(0x408)][_0x598eb2(0xe7)](Re,this['unitID'],this[_0x598eb2(0x105)],_0x1907f3[0x0],this['_handler']);return _0x3af899[_0x598eb2(0x461)](),_0x3af899;}return this[_0x598eb2(0x498)](!0x1);}catch(_0x4ff7e9){return this[_0x598eb2(0x422)]['error'](_0x4ff7e9),this[_0x598eb2(0x498)](!0x1);}}[_0x50a7d0(0x3e8)](_0x113b61){const _0x11fa84=_0x50a7d0;this[_0x11fa84(0x2c1)]();const _0x586046=this['_revisionService'][_0x11fa84(0x4cf)](this[_0x11fa84(0xaa)]);if(_0x113b61[_0x11fa84(0x29d)]<_0x586046-0x1)return this;if(this['_checkMissing'](_0x113b61))return this['_injector'][_0x11fa84(0xe7)](he,this['unitID'],this[_0x11fa84(0x105)],null,[],this[_0x11fa84(0x1aa)],[],this[_0x11fa84(0x106)]);this['_incrementRevisionNumber']();const _0x4c9deb=this['_injector'][_0x11fa84(0xe7)](Fe,this[_0x11fa84(0xaa)],this[_0x11fa84(0x105)],this['_handler']);return _0x4c9deb['_updateLocalCache'](),_0x4c9deb;}[_0x50a7d0(0x395)](_0xa220f0){const _0x3d8a6d=_0x50a7d0;return this[_0x3d8a6d(0x498)](!!(_0xa220f0!=null&&_0xa220f0[_0x3d8a6d(0x260)]));}['onRemoteRetry'](_0x2fdafd){const _0x4a9a5a=_0x50a7d0;return this[_0x4a9a5a(0x212)]>Hi?this[_0x4a9a5a(0x2b9)]():(this[_0x4a9a5a(0x160)]=$i(this[_0x4a9a5a(0x212)],{'timeout':this['_resendTimeout'],'reqId':_0x2fdafd[_0x4a9a5a(0x243)]}),this['_sender']=this[_0x4a9a5a(0x160)][_0x4a9a5a(0x479)](({reqId:_0x489405,timeout:_0x55353e})=>{const _0x1a42f6=_0x4a9a5a;this[_0x1a42f6(0x167)](_0x489405,_0x55353e);}),this);}['toggleOffline'](){const _0x35df89=_0x50a7d0;return this[_0x35df89(0x2c1)](),this[_0x35df89(0x408)][_0x35df89(0xe7)](ye,this[_0x35df89(0xaa)],this[_0x35df89(0x105)],this[_0x35df89(0x1aa)],[],this[_0x35df89(0x106)]);}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){const _0x1a4974=_0x50a7d0;this[_0x1a4974(0x106)][_0x1a4974(0x17a)](this['_awaitingChangeset']);}[_0x50a7d0(0x498)](_0x19a2ce){const _0x336dfb=_0x50a7d0;return this[_0x336dfb(0x2c1)](),this['_injector']['createInstance'](Oe,this[_0x336dfb(0xaa)],this[_0x336dfb(0x105)],this[_0x336dfb(0x1aa)],[],this[_0x336dfb(0x106)],_0x19a2ce);}[_0x50a7d0(0x167)](_0x221435,_0x562378){const _0x4f6a7e=_0x50a7d0;var _0x3b358d;_0x221435===((_0x3b358d=this[_0x4f6a7e(0x1aa)])==null?void 0x0:_0x3b358d['reqId'])&&(this[_0x4f6a7e(0x3d1)](),this[_0x4f6a7e(0x212)]=_0x562378===0x0?0x3e8:_0x562378*0x2);}[_0x50a7d0(0x2c1)](){const _0x5c7918=_0x50a7d0;var _0x16e265;(_0x16e265=this[_0x5c7918(0x411)])==null||_0x16e265[_0x5c7918(0x4b2)](),this[_0x5c7918(0x212)]=0x0;}};Re=$e([A(0x4,_0x33026a(_0x17dae8)),A(0x5,_0x33026a(_0x50f245)),A(0x6,_0x33026a(q)),A(0x7,_0x2e05f8),A(0x8,_0x299b7a),A(0x9,_0x4af41b),A(0xa,_0x5b0e0d)],Re);let ge=class extends He{constructor(_0x4d84a9,_0x4820f2,_0x5be511,_0x49f57b,_0x148ed0,_0x18480c,_0x50754b,_0x313fa6,_0x50cfb3,_0x48b013,_0x189a2a,_0x4e5c4a,_0x457f53){const _0xb80f65=_0x50a7d0;super(_0x4d84a9,_0x4820f2,_0x5be511,_0x49f57b,_0x148ed0,_0x48b013,_0x457f53,_0x313fa6,_0x50cfb3),g(this,_0xb80f65(0x295),_0xb80f65(0x49e)),g(this,'_resendTimeout',0x0),g(this,_0xb80f65(0x160)),g(this,'_sender'),(this[_0xb80f65(0x408)]=_0x50754b,this['_logService']=_0x189a2a,this[_0xb80f65(0x494)]=_0x4e5c4a,_0x18480c&&(this[_0xb80f65(0x160)]=_0x18480c,this[_0xb80f65(0x411)]=this[_0xb80f65(0x160)][_0xb80f65(0x479)](({reqId:_0x108e60,timeout:_0x5ed197})=>{this['_resendWithTimeout'](_0x108e60,_0x5ed197);})));}[_0x50a7d0(0x442)](_0x59bb31){const _0xb5d625=_0x50a7d0;return this[_0xb5d625(0x196)][_0xb5d625(0xc6)](_0x59bb31),this;}[_0x50a7d0(0x13c)](_0x44e2c4){const _0x19bfb6=_0x50a7d0;if(this['_checkMissing'](_0x44e2c4))return this[_0x19bfb6(0x2c1)](),this['_injector'][_0x19bfb6(0xe7)](he,this['unitID'],this['type'],this[_0x19bfb6(0x1aa)],this[_0x19bfb6(0x196)],null,[_0x44e2c4],this[_0x19bfb6(0x106)]);try{const _0x3dcdaf=this[_0x19bfb6(0x494)][_0x19bfb6(0x100)]([_0x44e2c4],[this[_0x19bfb6(0x1aa)]],!0x1);if(_0x22d91c(_0x3dcdaf)){const {c1Prime:_0x1ba192,c2Prime:_0x21f54c}=_0x3dcdaf,_0x4e8481=this[_0x19bfb6(0x494)][_0x19bfb6(0x31d)](_0x1ba192[0x0],this['_pendingMutations']);if(_0x545fca(_0x4e8481)){const {c1Prime:_0x2c29fe,m2Prime:_0x4523ae}=_0x4e8481;return this['_executeRemoteChangeset'](_0x2c29fe),_0x21f54c[0x0][_0x19bfb6(0x170)]=this['_getCurrentRevision'](),this[_0x19bfb6(0x2c1)](),this[_0x19bfb6(0x408)][_0x19bfb6(0xe7)](ge,this['unitID'],this[_0x19bfb6(0x105)],_0x21f54c[0x0],_0x4523ae,this[_0x19bfb6(0x106)],void 0x0);}throw _0x4e8481[_0x19bfb6(0x3a2)];}throw _0x3dcdaf[_0x19bfb6(0x3a2)];}catch(_0x5a39a9){return this['_logService'][_0x19bfb6(0x3a2)](_0x5a39a9),this[_0x19bfb6(0x498)](!0x1);}}['onRemoteAck'](_0x2d8432){const _0x3d7ee5=_0x50a7d0;if(this['_clearScheduledTask'](),this[_0x3d7ee5(0x195)](_0x2d8432))return this[_0x3d7ee5(0x408)][_0x3d7ee5(0xe7)](he,this['unitID'],this['type'],null,this[_0x3d7ee5(0x196)],this['_awaitingChangeset'],[],this[_0x3d7ee5(0x106)]);this[_0x3d7ee5(0x2e1)]();const _0x1844b1=this[_0x3d7ee5(0x408)][_0x3d7ee5(0xe7)](pe,this[_0x3d7ee5(0xaa)],this[_0x3d7ee5(0x105)],this['_pendingMutations'],this[_0x3d7ee5(0x106)]);return _0x1844b1[_0x3d7ee5(0x245)](),_0x1844b1[_0x3d7ee5(0x461)](),_0x1844b1;}[_0x50a7d0(0x395)](_0x2ce8d1){const _0x4c6100=_0x50a7d0;return this[_0x4c6100(0x498)](!!(_0x2ce8d1!=null&&_0x2ce8d1[_0x4c6100(0x260)]));}[_0x50a7d0(0x29b)](_0x5e48de){const _0x35a759=_0x50a7d0;return this[_0x35a759(0x212)]>Hi?this[_0x35a759(0x2b9)]():(this[_0x35a759(0x160)]=$i(this[_0x35a759(0x212)],{'timeout':this['_resendTimeout'],'reqId':_0x5e48de[_0x35a759(0x243)]}),this[_0x35a759(0x411)]=this['_resendTimer'][_0x35a759(0x479)](({reqId:_0x58d6b0,timeout:_0x3ac83d})=>{const _0x1745d8=_0x35a759;this[_0x1745d8(0x167)](_0x58d6b0,_0x3ac83d);}),this);}[_0x50a7d0(0x2b9)](){const _0x308bce=_0x50a7d0;return this['_clearScheduledTask'](),this[_0x308bce(0x408)][_0x308bce(0xe7)](ye,this[_0x308bce(0xaa)],this[_0x308bce(0x105)],this[_0x308bce(0x1aa)],this[_0x308bce(0x196)],this[_0x308bce(0x106)]);}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){const _0x55836e=_0x50a7d0;this[_0x55836e(0x106)][_0x55836e(0x17a)](this[_0x55836e(0x1aa)]);}[_0x50a7d0(0x498)](_0x183992){const _0x30ea3b=_0x50a7d0;return this[_0x30ea3b(0x2c1)](),this[_0x30ea3b(0x408)][_0x30ea3b(0xe7)](Oe,this[_0x30ea3b(0xaa)],this['type'],null,this[_0x30ea3b(0x196)],this[_0x30ea3b(0x106)],_0x183992);}['_resendWithTimeout'](_0x219753,_0x44a01b){const _0x4aa2cb=_0x50a7d0;var _0xec7fe9;_0x219753===((_0xec7fe9=this[_0x4aa2cb(0x1aa)])==null?void 0x0:_0xec7fe9[_0x4aa2cb(0x243)])&&(this[_0x4aa2cb(0x3d1)](),this[_0x4aa2cb(0x212)]=_0x44a01b===0x0?0x3e8:_0x44a01b*0x2);}[_0x50a7d0(0x2c1)](){const _0x38c303=_0x50a7d0;var _0x2ee85b;(_0x2ee85b=this[_0x38c303(0x411)])==null||_0x2ee85b[_0x38c303(0x4b2)](),this['_resendTimeout']=0x0;}};ge=$e([A(0x6,_0x33026a(_0x17dae8)),A(0x7,_0x33026a(_0x50f245)),A(0x8,_0x33026a(q)),A(0x9,_0x2e05f8),A(0xa,_0x299b7a),A(0xb,_0x4af41b),A(0xc,_0x5b0e0d)],ge);let Oe=class extends He{constructor(_0x22ebe1,_0x3b4b95,_0x270593,_0x3ccc70,_0x58284c,_0x5695a8=!0x1,_0x3bd8fe,_0x2bc7fa,_0x408eea,_0x1cff89,_0x1252b1,_0x508c2b,_0x639674){const _0x320b2e=_0x50a7d0;super(_0x22ebe1,_0x3b4b95,_0x270593,_0x3ccc70,_0x58284c,_0x2bc7fa,_0x408eea,_0x1252b1,_0x1cff89),g(this,'status',_0x320b2e(0x312)),(this[_0x320b2e(0x33a)]=_0x5695a8,this[_0x320b2e(0x135)]=_0x3bd8fe,this['_localeService']=_0x508c2b,this[_0x320b2e(0x276)]=_0x639674,this['_showConflictNotification'](),this[_0x320b2e(0x36b)](),this[_0x320b2e(0x332)]());}[_0x50a7d0(0x442)](){return this;}[_0x50a7d0(0x13c)](){return this;}[_0x50a7d0(0x3e8)](){return this;}[_0x50a7d0(0x395)](){return this;}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){return this;}[_0x50a7d0(0x30d)](){return this;}[_0x50a7d0(0x3d1)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x2f84e9=_0x50a7d0;this[_0x2f84e9(0x251)][_0x2f84e9(0x306)](this['unitID'],this['type'],null,[]);}[_0x50a7d0(0x34f)](){const _0x292e81=_0x50a7d0;this['_isPermissionRej']?this[_0x292e81(0x276)][_0x292e81(0x179)]({'title':this[_0x292e81(0x193)]['t'](_0x292e81(0xb8)),'content':this[_0x292e81(0x193)]['t'](_0x292e81(0x48d)),'type':_0x292e81(0x3a2),'duration':0x0}):this[_0x292e81(0x276)][_0x292e81(0x179)]({'title':this[_0x292e81(0x193)]['t'](_0x292e81(0x21c)),'content':this[_0x292e81(0x193)]['t'](_0x292e81(0x453)),'type':_0x292e81(0x3a2),'duration':0x0});}['_disableEditing'](){const _0x435150=_0x50a7d0;this['_permissionService'][_0x435150(0x142)](new _0x442ff4(this[_0x435150(0xaa)])['id'],!0x1);}};Oe=$e([A(0x6,_0x33026a(_0x20da8e)),A(0x7,_0x2e05f8),A(0x8,_0x5b0e0d),A(0x9,_0x33026a(q)),A(0xa,_0x33026a(_0x50f245)),A(0xb,_0x33026a(_0x21b13d)),A(0xc,_0x45333f)],Oe);let ye=class extends He{constructor(_0x586599,_0x150197,_0x40c39c,_0x3ccdb4,_0x3a2582,_0x25ea8e,_0x2b3da7,_0x1b773c,_0x2d3359,_0x323c82){const _0x1cf574=_0x50a7d0;super(_0x586599,_0x150197,_0x40c39c,_0x3ccdb4,_0x3a2582,_0x2d3359,_0x323c82,_0x2b3da7,_0x1b773c),g(this,_0x1cf574(0x295),'offline'),this['_injector']=_0x25ea8e;}[_0x50a7d0(0x442)](_0x2236a0){const _0xc4c981=_0x50a7d0;return this[_0xc4c981(0x196)]['push'](_0x2236a0),this['_updateLocalCache'](),this;}[_0x50a7d0(0x13c)](_0x4f8270){const _0x46e123=_0x50a7d0;throw new Error(_0x46e123(0x499));}['onRemoteAck'](){const _0x4331f1=_0x50a7d0;throw new Error(_0x4331f1(0x2c6));}[_0x50a7d0(0x395)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x50a7d0(0x29b)](){return this;}[_0x50a7d0(0x2b9)](){return this;}[_0x50a7d0(0x30d)](){const {_injector:_0x39152b,_pendingMutations:_0x37fc2d,_awaitingChangeset:_0xeedad8,unitID:_0xce18ff,_handler:_0x37710e,type:_0x615554}=this,_0x2528ee=ji(_0x39152b,_0xce18ff,_0x615554,_0xeedad8,_0x37fc2d,_0x37710e);return _0x2528ee instanceof pe?_0x2528ee['_schedule']():(_0x2528ee instanceof ge||_0x2528ee instanceof Re)&&_0x2528ee['resend'](),_0x2528ee;}[_0x50a7d0(0x3d1)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=$e([A(0x5,_0x33026a(_0x17dae8)),A(0x6,_0x33026a(_0x50f245)),A(0x7,_0x33026a(q)),A(0x8,_0x2e05f8),A(0x9,_0x5b0e0d)],ye);let he=class extends He{constructor(_0x5dff0a,_0x247064,_0x1292a8,_0x31c932,_0x3f95e2,_0xba962a,_0x5e7bd3,_0x233deb,_0x543ac5,_0x1ed990,_0x202b76,_0x106800,_0x25e3d9,_0x40b52e){const _0x3544a2=_0x50a7d0;super(_0x5dff0a,_0x247064,_0x1292a8,_0x31c932,_0x5e7bd3,_0x106800,_0x25e3d9,_0x543ac5,_0x1ed990),g(this,'status',_0x3544a2(0x401)),(this[_0x3544a2(0x267)]=_0x3f95e2,this[_0x3544a2(0x43e)]=_0xba962a,this['_injector']=_0x233deb,this[_0x3544a2(0x422)]=_0x202b76,this[_0x3544a2(0x494)]=_0x40b52e);}['onMissedChangesetFetched'](_0x53fb39){const _0x3d58e2=_0x50a7d0;try{const _0x1a85d7=[..._0x53fb39,...this['_queuedRemoteChangesets']],_0x45f766=[this[_0x3d58e2(0x1aa)]||this[_0x3d58e2(0x267)]][_0x3d58e2(0x4ba)](_0x1e7fc6=>!!_0x1e7fc6);let _0x1b6a0b,_0x3dbc18;if(_0x45f766[_0x3d58e2(0x1d0)]){const _0xbb209a=this['_transformService'][_0x3d58e2(0x100)](_0x1a85d7,_0x45f766,!0x1);if(!_0x22d91c(_0xbb209a))throw _0xbb209a[_0x3d58e2(0x3a2)];_0x1b6a0b=_0xbb209a[_0x3d58e2(0x345)],_0x3dbc18=_0xbb209a[_0x3d58e2(0xcd)];}else _0x1b6a0b=_0x1a85d7,_0x3dbc18=[];let _0x1742fb=this[_0x3d58e2(0x196)];_0x1b6a0b[_0x3d58e2(0x375)](_0xc99d9c=>{const _0x344d0a=_0x3d58e2;let _0x4ab201;if(_0x1742fb[_0x344d0a(0x1d0)]){const _0x1ba115=this[_0x344d0a(0x494)][_0x344d0a(0x31d)](_0xc99d9c,_0x1742fb);if(!_0x545fca(_0x1ba115))throw _0x1ba115[_0x344d0a(0x3a2)];_0x4ab201=_0x1ba115[_0x344d0a(0x345)],_0x1742fb=_0x1ba115[_0x344d0a(0x37e)];}else _0x4ab201=_0xc99d9c;this['_executeRemoteChangeset'](_0x4ab201);}),this[_0x3d58e2(0x267)]&&this[_0x3d58e2(0x2e1)](),this[_0x3d58e2(0x1aa)]&&_0x3dbc18['length']&&(_0x3dbc18[0x0][_0x3d58e2(0x170)]=this[_0x3d58e2(0x465)]());let _0x53540f;if(this[_0x3d58e2(0x1aa)]&&_0x1742fb[_0x3d58e2(0x1d0)]!==0x0)_0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](ge,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],_0x3dbc18[0x0],_0x1742fb,this['_handler'],void 0x0);else{if(this[_0x3d58e2(0x1aa)]&&_0x1742fb[_0x3d58e2(0x1d0)]===0x0)_0x3dbc18[0x0]['baseRev']=this[_0x3d58e2(0x465)](),_0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](Re,this['unitID'],this[_0x3d58e2(0x105)],_0x3dbc18[0x0],this[_0x3d58e2(0x106)]);else{if(_0x1742fb[_0x3d58e2(0x1d0)]!==0x0){const _0x7538ac=this['_injector'][_0x3d58e2(0xe7)](pe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],_0x1742fb,this[_0x3d58e2(0x106)]);_0x7538ac[_0x3d58e2(0x245)](),_0x53540f=_0x7538ac;}else _0x53540f=this[_0x3d58e2(0x408)][_0x3d58e2(0xe7)](Fe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],this[_0x3d58e2(0x106)]);}}return _0x53540f[_0x3d58e2(0x461)](),_0x53540f;}catch(_0x50a9a8){return this['_logService'][_0x3d58e2(0x3a2)]('[FetchMissState]',_0x3d58e2(0xf4),_0x50a9a8),this[_0x3d58e2(0x408)]['createInstance'](Oe,this[_0x3d58e2(0xaa)],this[_0x3d58e2(0x105)],this[_0x3d58e2(0x1aa)],this['_pendingMutations'],this[_0x3d58e2(0x106)],!0x1);}}[_0x50a7d0(0x3d1)](){const _0x169d4a=_0x50a7d0;throw new Error(_0x169d4a(0xcf));}[_0x50a7d0(0x442)](_0x3f050c){const _0x4adbd9=_0x50a7d0;return this[_0x4adbd9(0x196)][_0x4adbd9(0xc6)](_0x3f050c),this;}[_0x50a7d0(0x13c)](_0x1bb189){const _0x2ba612=_0x50a7d0;return this[_0x2ba612(0x43e)][_0x2ba612(0xc6)](_0x1bb189),this;}['onRemoteAck'](_0x29bd24){const _0xe8f69=_0x50a7d0;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0xe8f69(0x1aa)],this[_0xe8f69(0x1aa)]=null,this;throw new Error(_0xe8f69(0x255));}[_0x50a7d0(0x395)](_0x29b485){const _0x2d3933=_0x50a7d0;return this[_0x2d3933(0x498)](!!(_0x29b485!=null&&_0x29b485[_0x2d3933(0x260)]));}['onRemoteRetry'](){return this;}[_0x50a7d0(0x2b9)](){const _0x4361c9=_0x50a7d0;return this['_injector']['createInstance'](ye,this[_0x4361c9(0xaa)],this[_0x4361c9(0x105)],this[_0x4361c9(0x1aa)],this[_0x4361c9(0x196)],this[_0x4361c9(0x106)]);}['toggleOnline'](){return this;}['_onConflict'](_0x29a01d){const _0x83ac06=_0x50a7d0;return this[_0x83ac06(0x408)][_0x83ac06(0xe7)](Oe,this[_0x83ac06(0xaa)],this[_0x83ac06(0x105)],this[_0x83ac06(0x1aa)],this[_0x83ac06(0x196)],this[_0x83ac06(0x106)],_0x29a01d);}};he=$e([A(0x7,_0x33026a(_0x17dae8)),A(0x8,_0x33026a(_0x50f245)),A(0x9,_0x33026a(q)),A(0xa,_0x299b7a),A(0xb,_0x2e05f8),A(0xc,_0x5b0e0d),A(0xd,_0x4af41b)],he);function ji(_0x4b25ed,_0x40a611,_0x2654f0,_0x2b9d91,_0x26e89c,_0x3676e2){const _0x26dba2=_0x50a7d0;return _0x2b9d91&&_0x26e89c['length']?_0x4b25ed[_0x26dba2(0xe7)](ge,_0x40a611,_0x2654f0,_0x2b9d91,_0x26e89c,_0x3676e2,void 0x0):_0x2b9d91?_0x4b25ed[_0x26dba2(0xe7)](Re,_0x40a611,_0x2654f0,_0x2b9d91,_0x3676e2):_0x26e89c['length']?_0x4b25ed[_0x26dba2(0xe7)](pe,_0x40a611,_0x2654f0,_0x26e89c,_0x3676e2):_0x4b25ed[_0x26dba2(0xe7)](Fe,_0x40a611,_0x2654f0,_0x3676e2);}var wo=Object[_0x50a7d0(0x15c)],Do=Object[_0x50a7d0(0x18b)],Rs=(_0x26a471,_0x3cfe1a,_0x34e43c,_0x5da298)=>{const _0x15b091=_0x50a7d0;for(var _0x346be7=_0x5da298>0x1?void 0x0:_0x5da298?Do(_0x3cfe1a,_0x34e43c):_0x3cfe1a,_0x5b100e=_0x26a471[_0x15b091(0x1d0)]-0x1,_0x153d31;_0x5b100e>=0x0;_0x5b100e--)(_0x153d31=_0x26a471[_0x5b100e])&&(_0x346be7=(_0x5da298?_0x153d31(_0x3cfe1a,_0x34e43c,_0x346be7):_0x153d31(_0x346be7))||_0x346be7);return _0x5da298&&_0x346be7&&wo(_0x3cfe1a,_0x34e43c,_0x346be7),_0x346be7;},H=(_0x588ee5,_0x502f9d)=>(_0x4bfbbd,_0x24972f)=>_0x502f9d(_0x4bfbbd,_0x24972f,_0x588ee5);let St=class extends _0x2983d9{constructor(_0x8469bd,_0x2d079e,_0x242c58,_0x32bd10,_0x4cbd23,_0xa69280,_0x303b7f,_0x3957e0,_0x38a85f,_0x5ac446,_0x4cefbe,_0x28694e,_0x296bc7){const _0x3eb1d4=_0x50a7d0;super(),g(this,_0x3eb1d4(0x134),new _0x22472b(null)),g(this,'state$',this[_0x3eb1d4(0x134)][_0x3eb1d4(0x1e8)]()),g(this,_0x3eb1d4(0xaf)),g(this,_0x3eb1d4(0x11d),!0x1),g(this,_0x3eb1d4(0x2dd),''),g(this,_0x3eb1d4(0x102),0x0),g(this,_0x3eb1d4(0x361),this['state$'][_0x3eb1d4(0x157)](_0x4aea5f(_0x12bb24=>_0x12bb24?_0x12bb24['status']:J['OFFLINE']),_0x58d478(0x1))),g(this,_0x3eb1d4(0x41c),!0x1),g(this,_0x3eb1d4(0x174),[]),(this[_0x3eb1d4(0xaa)]=_0x8469bd,this[_0x3eb1d4(0xd5)]=_0x2d079e,this[_0x3eb1d4(0x46e)]=_0x242c58,this[_0x3eb1d4(0x408)]=_0x32bd10,this['_localCacheService']=_0x4cbd23,this[_0x3eb1d4(0x47a)]=_0xa69280,this[_0x3eb1d4(0x193)]=_0x303b7f,this[_0x3eb1d4(0x383)]=_0x3957e0,this[_0x3eb1d4(0x422)]=_0x38a85f,this[_0x3eb1d4(0x293)]=_0x5ac446,this[_0x3eb1d4(0xdf)]=_0x4cefbe,this[_0x3eb1d4(0x135)]=_0x28694e,this[_0x3eb1d4(0x3f8)]=_0x296bc7);}get[_0x50a7d0(0x3bd)](){const _0x4b6bbd=_0x50a7d0;return this[_0x4b6bbd(0xaf)];}async[_0x50a7d0(0x237)](){const _0x1e351c=_0x50a7d0;if(this[_0x1e351c(0x3bd)])throw new Error(_0x1e351c(0x396));await this[_0x1e351c(0x1a9)]();}[_0x50a7d0(0x34a)](){const _0x2ab81f=_0x50a7d0;return this[_0x2ab81f(0x11d)]=!0x0,_0xd370ea(()=>{const _0x39e103=_0x2ab81f;this[_0x39e103(0x11d)]=!0x1,this[_0x39e103(0x2da)]();});}[_0x50a7d0(0x44b)](_0x28642f){const _0x10d2b8=_0x50a7d0;this[_0x10d2b8(0xaf)]=_0x28642f,this['_state$']['next'](_0x28642f);}async[_0x50a7d0(0x1a9)](){const _0x9bbd0c=_0x50a7d0;var _0x1c297a;this[_0x9bbd0c(0x44b)](await this['_createInitialState']()),this[_0x9bbd0c(0x3f8)]&&((_0x1c297a=this[_0x9bbd0c(0x3f8)])==null||_0x1c297a[_0x9bbd0c(0x20a)](this[_0x9bbd0c(0xaa)]),this[_0x9bbd0c(0x450)](this[_0x9bbd0c(0x3f8)][_0x9bbd0c(0x2c5)](this[_0x9bbd0c(0xaa)])[_0x9bbd0c(0x479)](_0x1260ca=>{const _0x286e89=_0x9bbd0c;this[_0x286e89(0x422)][_0x286e89(0x165)](_0x286e89(0x296),_0x286e89(0x473),_0x1260ca),_0x1260ca===xi[_0x286e89(0xe4)]?(this[_0x286e89(0xdf)][_0x286e89(0x179)]({'content':this[_0x286e89(0x193)]['t'](_0x286e89(0xc5)),'type':_0x4eaed3[_0x286e89(0x4c9)]}),this[_0x286e89(0x135)][_0x286e89(0x142)](new _0x442ff4(this['unitID'])['id'],!0x1),this[_0x286e89(0x135)][_0x286e89(0x44d)](!0x1)):(this[_0x286e89(0x135)][_0x286e89(0x142)](new _0x442ff4(this[_0x286e89(0xaa)])['id'],!0x0),this['_permissionService'][_0x286e89(0x44d)](!0x0));})));let _0x32c114=!0x1;return this[_0x9bbd0c(0x450)](this[_0x9bbd0c(0xd5)][_0x9bbd0c(0x294)][_0x9bbd0c(0x479)](_0x34cca6=>{const _0x3d459e=_0x9bbd0c;_0x34cca6===ve[_0x3d459e(0x156)]?this[_0x3d459e(0x1f6)](_0x32c114):_0x34cca6===ve[_0x3d459e(0x4a2)]&&(_0x32c114=!0x0,this[_0x3d459e(0x1a0)]());})),this['disposeWithMe'](this[_0x9bbd0c(0xd5)]['event$']['subscribe'](_0xc11fff=>{const _0x3e9221=_0x9bbd0c;try{switch(_0xc11fff[_0x3e9221(0x424)]){case _0x26d642['NEW_CHANGESETS']:{this[_0x3e9221(0x25d)](_0x1785c0(_0xc11fff[_0x3e9221(0x274)]));break;}case _0x26d642['CHANGESET_ACK']:{this[_0x3e9221(0x2c7)](_0xc11fff[_0x3e9221(0x274)]);break;}case _0x26d642[_0x3e9221(0xb1)]:{this[_0x3e9221(0x2a0)]();break;}case _0x26d642[_0x3e9221(0x354)]:{this[_0x3e9221(0x219)](_0xc11fff[_0x3e9221(0x274)]);break;}case _0x26d642[_0x3e9221(0xec)]:{this[_0x3e9221(0x3eb)](_0xc11fff[_0x3e9221(0x274)][_0x3e9221(0xfa)][_0x3e9221(0x360)](_0xa927c=>_0x1785c0(_0xa927c)));break;}case _0x26d642['PERMISSION_REJ']:this[_0x3e9221(0x2a0)]({'isPermissionRej':!0x0});}}catch(_0x310bc0){throw console[_0x3e9221(0x3a2)](_0x3e9221(0x1b8),_0x310bc0),_0x310bc0;}})),this[_0x9bbd0c(0xaf)];}[_0x50a7d0(0x316)](){const _0x2316c0=_0x50a7d0;this[_0x2316c0(0x41c)]=!0x1;}[_0x50a7d0(0x2e7)](){const _0x519ba3=_0x50a7d0;if(this[_0x519ba3(0x41c)])throw new Error(_0x519ba3(0xee));this['_transitionLocked']=!0x0;}[_0x50a7d0(0x2fd)](_0x3a8cd8){const _0x17e23d=_0x50a7d0;this[_0x17e23d(0x2e7)](),this[_0x17e23d(0x44b)](this[_0x17e23d(0xaf)][_0x17e23d(0x442)](_0x3a8cd8)),this[_0x17e23d(0x316)]();}[_0x50a7d0(0x25d)](_0x33ffdf){const _0x34f1dd=_0x50a7d0;if(!(_0x33ffdf['revision']<=this[_0x34f1dd(0x383)][_0x34f1dd(0x4cf)](this[_0x34f1dd(0xaa)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x34f1dd(0xc6)](_0x33ffdf);return;}this[_0x34f1dd(0x4bf)](_0x33ffdf);}}[_0x50a7d0(0x2da)](){const _0x371d5e=_0x50a7d0;this[_0x371d5e(0x174)][_0x371d5e(0x375)](_0x1aeed8=>this[_0x371d5e(0x4bf)](_0x1aeed8)),this['_remoteChangesetQueue']=[];}[_0x50a7d0(0x4bf)](_0x72abd2){const _0x2fd264=_0x50a7d0,_0x1c0c00=this['_compressMutationService'][_0x2fd264(0x482)]['fetchThroughInterceptors'](this[_0x2fd264(0x47a)][_0x2fd264(0x482)][_0x2fd264(0x27a)]()[_0x2fd264(0x3d2)])(_0x72abd2['mutations'],null)||_0x72abd2[_0x2fd264(0x182)],_0x59f1b1={..._0x72abd2,'mutations':_0x1c0c00};this[_0x2fd264(0x2e7)](),this[_0x2fd264(0x44b)](this['_state'][_0x2fd264(0x13c)](_0x59f1b1)),this[_0x2fd264(0x316)]();}[_0x50a7d0(0x2c7)](_0x3b0cb5){const _0x3deed7=_0x50a7d0;this[_0x3deed7(0x2e7)](),this['_updateState'](this[_0x3deed7(0xaf)]['onRemoteAck'](_0x3b0cb5)),this[_0x3deed7(0x316)]();}[_0x50a7d0(0x2a0)](_0x3b6e41){const _0x258d95=_0x50a7d0;this[_0x258d95(0x2e7)](),this['_updateState'](this[_0x258d95(0xaf)]['onRemoteRej'](_0x3b6e41)),this[_0x258d95(0x316)]();}[_0x50a7d0(0x219)](_0x425fdb){const _0x4b357b=_0x50a7d0;this['_lockTransition'](),this[_0x4b357b(0x44b)](this['_state'][_0x4b357b(0x29b)](_0x425fdb)),this[_0x4b357b(0x316)]();}[_0x50a7d0(0x3eb)](_0x3529db){const _0xa6b5bb=_0x50a7d0;if(!(this[_0xa6b5bb(0xaf)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4694d1=_0x3529db['map'](_0x162486=>{const _0x57b0f2=_0xa6b5bb,_0x2f9333=this[_0x57b0f2(0x47a)][_0x57b0f2(0x482)][_0x57b0f2(0xf1)](this[_0x57b0f2(0x47a)][_0x57b0f2(0x482)][_0x57b0f2(0x27a)]()[_0x57b0f2(0x3d2)])(_0x162486['mutations'],null)||_0x162486[_0x57b0f2(0x182)];return{..._0x162486,'mutations':_0x2f9333};});this['_lockTransition'](),this[_0xa6b5bb(0x44b)](this[_0xa6b5bb(0xaf)]['onMissedChangesetFetched'](_0x4694d1)),this[_0xa6b5bb(0x316)]();}[_0x50a7d0(0x1a0)](){const _0x360636=_0x50a7d0;this['_lockTransition'](),this[_0x360636(0x44b)](this[_0x360636(0xaf)][_0x360636(0x2b9)]()),this[_0x360636(0x316)]();}[_0x50a7d0(0x1f6)](_0x12d4b1=!0x1){const _0x2a2db8=_0x50a7d0;this[_0x2a2db8(0x2e7)](),this[_0x2a2db8(0x44b)](this[_0x2a2db8(0xaf)][_0x2a2db8(0x30d)]()),this[_0x2a2db8(0x316)]();const _0x348745=this['_state'];_0x12d4b1&&_0x348745 instanceof Fe&&(this['_lockTransition'](),this[_0x2a2db8(0x44b)](_0x348745[_0x2a2db8(0x1b2)]()),this[_0x2a2db8(0x316)]());}async['_createInitialState'](){return new Promise(_0x1e8f87=>{const _0x440a44=_0xc944;this['session'][_0x440a44(0x294)]['pipe'](_0x5cbb3a(0x1))[_0x440a44(0x479)](async _0x29da96=>{const _0x1f61f8=_0x440a44;_0x1e8f87(await this[_0x1f61f8(0x180)](_0x29da96===ve[_0x1f61f8(0x156)]));});});}[_0x50a7d0(0x455)](){const _0x4ba68c=_0x50a7d0,_0x15a718=this[_0x4ba68c(0xaa)];return{'onStateChange':(_0x204d44,_0x193076)=>{const _0x338378=_0x4ba68c;if(_0x204d44!==this['_state'])throw new Error(_0x338378(0x29a)+_0x204d44[_0x338378(0x295)]+'\x0aAfter:\x20'+_0x193076[_0x338378(0x295)]+_0x338378(0x2de)+this[_0x338378(0xaf)]['status']);this[_0x338378(0x44b)](_0x193076);},'onSendChangeset':_0x837e72=>{const _0x4acc72=_0x4ba68c;_0x837e72['sid']||(_0x837e72['sid']=this[_0x4acc72(0x2dd)],_0x837e72[_0x4acc72(0x243)]=++this['_changesetReqId']);const _0x133913={'eventID':_0x26d642['SUBMIT_CHANGESET'],'data':{'unitID':_0x837e72['unitID'],'unitType':this['_type'],'changeset':_0x837e72,'memberID':this['session'][_0x4acc72(0x347)]()}};this['session'][_0x4acc72(0x23c)](_0x133913,this[_0x4acc72(0xaa)]);},'onMissingChangesets':({from:_0x39980c,to:_0xe3df18})=>{const _0x35c90e=_0x4ba68c;this[_0x35c90e(0x422)][_0x35c90e(0x165)](_0x35c90e(0x296),_0x35c90e(0xdc)+_0x39980c+_0x35c90e(0x3f2)+_0xe3df18);const _0x1b91c1={'eventID':_0x26d642['FETCH_MISSING'],'data':{'unitID':_0x15a718,'unitType':this[_0x35c90e(0x46e)],'from':_0x39980c,'to':_0xe3df18}};this[_0x35c90e(0xd5)][_0x35c90e(0x23c)](_0x1b91c1,this[_0x35c90e(0xaa)]);}};}async['_createInitialStateImpl'](_0x1a742c){const _0x3be2df=_0x50a7d0;var _0x16c238,_0x4a598b;const _0x1e69d1=await this['_localCacheService'][_0x3be2df(0x342)](this[_0x3be2df(0xaa)]),_0x50765b=(_0x16c238=_0x1e69d1==null?void 0x0:_0x1e69d1[_0x3be2df(0x182)])!=null?_0x16c238:[],_0x5aa305=(_0x4a598b=_0x1e69d1==null?void 0x0:_0x1e69d1[_0x3be2df(0x16a)])!=null?_0x4a598b:null,_0x493a88=!!(_0x5aa305!=null&&_0x5aa305[_0x3be2df(0x291)])&&!!(_0x5aa305!=null&&_0x5aa305[_0x3be2df(0x243)]);this[_0x3be2df(0x2dd)]=_0x493a88?_0x5aa305['sid']:io(),this[_0x3be2df(0x102)]=_0x493a88?_0x5aa305['reqId']:0x0;const _0x1d5378=this[_0x3be2df(0xaa)];try{this[_0x3be2df(0x487)](_0x5aa305,_0x50765b);}catch(_0x15c796){this['_logService'][_0x3be2df(0x3a2)](_0x15c796);}const _0x3515e9=this['_createHandler']();if(_0x1a742c){const _0x15fac6=ji(this[_0x3be2df(0x408)],_0x1d5378,this[_0x3be2df(0x46e)],_0x5aa305,_0x50765b,_0x3515e9);return _0x15fac6 instanceof pe?_0x15fac6['_schedule']():(_0x15fac6 instanceof ge||_0x15fac6 instanceof Re)&&_0x15fac6[_0x3be2df(0x3d1)](),_0x15fac6;}return this[_0x3be2df(0x408)][_0x3be2df(0xe7)](ye,_0x1d5378,this[_0x3be2df(0x46e)],_0x5aa305,_0x50765b,_0x3515e9);}[_0x50a7d0(0x487)](_0x21a914,_0x4a45e4){const _0x210cbf=_0x50a7d0;var _0x5f57cb,_0x35f88d;const _0x81016c=this[_0x210cbf(0x47a)][_0x210cbf(0x482)][_0x210cbf(0xf1)](this[_0x210cbf(0x47a)][_0x210cbf(0x482)][_0x210cbf(0x27a)]()[_0x210cbf(0x3d2)]);(_0x5f57cb=_0x81016c((_0x21a914==null?void 0x0:_0x21a914[_0x210cbf(0x182)])||[],null))==null||_0x5f57cb[_0x210cbf(0x375)](_0x4be2c8=>this[_0x210cbf(0x293)][_0x210cbf(0x368)](_0x4be2c8['id'],_0x4be2c8['params'])),(_0x35f88d=_0x81016c(_0x4a45e4||[],null))==null||_0x35f88d[_0x210cbf(0x375)](_0x4cf341=>this[_0x210cbf(0x293)]['executeCommand'](_0x4cf341['id'],_0x4cf341[_0x210cbf(0x4a8)]));}};St=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x299b7a),H(0x9,_0x2e05f8),H(0xa,_0xa8b33d),H(0xb,_0x20da8e),H(0xc,_0x380b11(yt))],St);let rs=class extends St{constructor(_0x254533,_0x30124d,_0x37458e,_0x10a673,_0x482c0d,_0x1e634b,_0x535522,_0x56e6b7,_0x1e5935,_0x58f91e,_0x5dbc75,_0xd793c8,_0x46f9e8,_0x2822d0,_0x33cb83,_0x1446e0,_0x1ae22d,_0x17b1ec){const _0xf200c1=_0x50a7d0;super(_0x254533,_0x37458e,_0x30124d,_0x10a673,_0x482c0d,_0x1e634b,_0x535522,_0x56e6b7,_0x2822d0,_0x33cb83,_0x1446e0,_0x1ae22d,_0x17b1ec),this[_0xf200c1(0xaa)]=_0x254533,this[_0xf200c1(0x105)]=_0x30124d,this[_0xf200c1(0x321)]=_0x1e5935,this['_docTransformIMECacheService']=_0x58f91e,this[_0xf200c1(0x431)]=_0x5dbc75,this[_0xf200c1(0x4c3)]=_0xd793c8,this[_0xf200c1(0xd4)]=_0x46f9e8;}[_0x50a7d0(0x455)](){const _0x3fdf9c=_0x50a7d0,_0x15b82a=super[_0x3fdf9c(0x455)]();return _0x15b82a['onTransformIME']=_0x3d88fc=>this['_docTransformIMECacheService']['transformIMECache'](_0x3d88fc),_0x15b82a[_0x3fdf9c(0xc0)]=_0x2d100e=>this[_0x3fdf9c(0x431)]['transformStateCache'](_0x2d100e),_0x15b82a[_0x3fdf9c(0x233)]=_0x1993cf=>this['_docTransformSelectionsService'][_0x3fdf9c(0x470)](_0x1993cf),_0x15b82a[_0x3fdf9c(0x16f)]=_0x282cdd=>this[_0x3fdf9c(0xd4)][_0x3fdf9c(0x4aa)](_0x282cdd),_0x15b82a[_0x3fdf9c(0x14a)]=_0x2cd8d1=>this[_0x3fdf9c(0x27f)]['transformRemoteChangeset'](_0x2cd8d1),_0x15b82a[_0x3fdf9c(0xdd)]=_0x3ee88c=>this['_docTransformStateCacheService'][_0x3fdf9c(0x3e5)](_0x3ee88c),_0x15b82a;}async[_0x50a7d0(0x1a9)](){const _0x1a13f2=_0x50a7d0,_0x5e1df9=await super[_0x1a13f2(0x1a9)]();return this[_0x1a13f2(0x450)](this[_0x1a13f2(0x321)][_0x1a13f2(0x231)]['pipe'](_0x2b44f7(this[_0x1a13f2(0x42e)]))[_0x1a13f2(0x479)](_0x18d33b=>{const _0x9b1ded=_0x1a13f2;if(_0x18d33b==null)return;const {unitId:_0xae8e37,redoState:_0x238f76,commandId:_0x2dd6c2}=_0x18d33b;if(_0xae8e37!==this[_0x9b1ded(0xaa)])return;const _0x1cb5f6={'id':_0x2dd6c2,'type':_0x30659a[_0x9b1ded(0x41f)],'params':{'unitId':_0xae8e37,'actions':_0x238f76[_0x9b1ded(0x433)],'textRanges':null}};this[_0x9b1ded(0x2fd)](_0x1cb5f6);})),this['disposeWithMe'](this[_0x1a13f2(0x293)][_0x1a13f2(0x2c8)]((_0x90b0cc,_0x2cd501)=>{const _0x3a2218=_0x1a13f2;if(_0x90b0cc['type']!==_0x30659a[_0x3a2218(0x41f)]||_0x2cd501!=null&&_0x2cd501[_0x3a2218(0x336)]||_0x2cd501!=null&&_0x2cd501[_0x3a2218(0x1ad)]||_0x90b0cc['id']===_0x5e3fd9['id'])return;const _0x1e9403=_0x90b0cc[_0x3a2218(0x4a8)];if((_0x1e9403==null?void 0x0:_0x1e9403['unitId'])!==this['unitID'])return;const _0x5c1e02=_0x90b0cc,_0x531b51=this[_0x3a2218(0x47a)][_0x3a2218(0x482)][_0x3a2218(0xf1)](this[_0x3a2218(0x47a)][_0x3a2218(0x482)]['getInterceptPoints']()[_0x3a2218(0x25c)])([_0x5c1e02],null)||[_0x5c1e02];this[_0x3a2218(0x2fd)](_0x531b51[0x0]);})),_0x5e1df9;}};rs=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x33026a(_0x4ac2d0)),H(0x9,_0x33026a(vt)),H(0xa,_0x33026a(pt)),H(0xb,_0x33026a(gt)),H(0xc,_0x33026a(Ts)),H(0xd,_0x299b7a),H(0xe,_0x2e05f8),H(0xf,_0xa8b33d),H(0x10,_0x20da8e),H(0x11,_0x380b11(yt))],rs);let ns=class extends St{constructor(_0x2e6ab2,_0x2ecd73,_0x27c188,_0x1edb3f,_0x44f931,_0x5afbaf,_0x31f2c0,_0x3a9641,_0x29d86d,_0x52ef0e,_0x5a3e1a,_0x5d4248,_0xbb3925,_0x5d7dfb){const _0x2fd650=_0x50a7d0;super(_0x2e6ab2,_0x27c188,_0x2ecd73,_0x1edb3f,_0x44f931,_0x5afbaf,_0x31f2c0,_0x3a9641,_0x52ef0e,_0x5a3e1a,_0x5d4248,_0xbb3925,_0x5d7dfb),this[_0x2fd650(0xaa)]=_0x2e6ab2,this[_0x2fd650(0x105)]=_0x2ecd73,this['_sheetTransformSelectionsService']=_0x29d86d;}[_0x50a7d0(0x455)](){const _0x36f63a=_0x50a7d0,_0x84068f=super[_0x36f63a(0x455)]();return _0x84068f[_0x36f63a(0x233)]=_0x588635=>this['_sheetTransformSelectionsService'][_0x36f63a(0x470)](_0x588635),_0x84068f;}async[_0x50a7d0(0x1a9)](){const _0x35b6c1=_0x50a7d0,_0x2df28c=await super[_0x35b6c1(0x1a9)]();return this[_0x35b6c1(0x450)](this['_commandService']['onCommandExecuted']((_0x57aa7f,_0xe82c97)=>{const _0x47be35=_0x35b6c1;if(_0x57aa7f[_0x47be35(0x105)]!==_0x30659a['MUTATION']||_0xe82c97!=null&&_0xe82c97[_0x47be35(0x336)]||_0xe82c97!=null&&_0xe82c97['onlyLocal'])return;const _0xaf1d6e=_0x57aa7f[_0x47be35(0x4a8)];if((_0xaf1d6e==null?void 0x0:_0xaf1d6e[_0x47be35(0x258)])!==this['unitID'])return;const _0x447c20=_0x57aa7f,_0x12ca19=this[_0x47be35(0x47a)][_0x47be35(0x482)]['fetchThroughInterceptors'](this[_0x47be35(0x47a)][_0x47be35(0x482)][_0x47be35(0x27a)]()[_0x47be35(0x25c)])([_0x447c20],null)||[_0x447c20];this[_0x47be35(0x2fd)](_0x12ca19[0x0]);})),_0x2df28c;}};ns=Rs([H(0x3,_0x33026a(_0x17dae8)),H(0x4,_0x33026a(q)),H(0x5,_0x33026a(_0x11828c)),H(0x6,_0x33026a(_0x21b13d)),H(0x7,_0x33026a(_0x50f245)),H(0x8,_0x33026a(mt)),H(0x9,_0x299b7a),H(0xa,_0x2e05f8),H(0xb,_0xa8b33d),H(0xc,_0x20da8e),H(0xd,_0x380b11(yt))],ns);var Po=Object[_0x50a7d0(0x15c)],Uo=Object[_0x50a7d0(0x18b)],No=(_0x4b09f1,_0x20cbef,_0x5e3e66,_0x47d512)=>{for(var _0x10c1b2=_0x47d512>0x1?void 0x0:_0x47d512?Uo(_0x20cbef,_0x5e3e66):_0x20cbef,_0x168b46=_0x4b09f1['length']-0x1,_0xd90142;_0x168b46>=0x0;_0x168b46--)(_0xd90142=_0x4b09f1[_0x168b46])&&(_0x10c1b2=(_0x47d512?_0xd90142(_0x20cbef,_0x5e3e66,_0x10c1b2):_0xd90142(_0x10c1b2))||_0x10c1b2);return _0x47d512&&_0x10c1b2&&Po(_0x20cbef,_0x5e3e66,_0x10c1b2),_0x10c1b2;},Ht=(_0x569716,_0x5d0992)=>(_0x44a43c,_0x265e3a)=>_0x5d0992(_0x44a43c,_0x265e3a,_0x569716);let it=class extends _0x2983d9{constructor(_0x4e01f5,_0x2022be,_0x5d8cf8){const _0x5d61a0=_0x50a7d0;super(),g(this,_0x5d61a0(0x27e),new Map()),g(this,_0x5d61a0(0x178),new _0x5b148b()),(this[_0x5d61a0(0x408)]=_0x4e01f5,this[_0x5d61a0(0x10a)]=_0x2022be,this['_univerInstanceService']=_0x5d8cf8,this[_0x5d61a0(0x1a9)]());}[_0x50a7d0(0x45c)](){const _0xd9d0c9=_0x50a7d0;super[_0xd9d0c9(0x45c)](),this['_entities']['forEach'](_0x80ab8b=>_0x80ab8b[_0xd9d0c9(0x45c)]()),this['_entities'][_0xd9d0c9(0x21f)]();}[_0x50a7d0(0x447)](_0x19d76b){const _0xcc9364=_0x50a7d0;var _0x81a7d9;return(_0x81a7d9=this[_0xcc9364(0x27e)]['get'](_0x19d76b))!=null?_0x81a7d9:null;}[_0x50a7d0(0x29e)](_0x26d0dd){const _0x273b73=_0x50a7d0,_0x556dc6=this[_0x273b73(0x447)](_0x26d0dd);return _0x556dc6?_0x40848f(_0x556dc6):this[_0x273b73(0x178)][_0x273b73(0x157)](_0x7d8aef(_0xdceed=>_0xdceed[_0x273b73(0xaa)]===_0x26d0dd));}[_0x50a7d0(0x1a9)](){const _0x393c4b=_0x50a7d0;this[_0x393c4b(0x283)][_0x393c4b(0x162)](_0x40c566[_0x393c4b(0x331)])[_0x393c4b(0x157)](_0x2b44f7(this[_0x393c4b(0x42e)]),_0x1b5247(0x10))['subscribe'](async _0x21ade9=>{const _0x4dc474=_0x393c4b,_0x468ef8=_0x21ade9[_0x4dc474(0x14f)](),_0x277530=await this[_0x4dc474(0x39f)](_0x468ef8,ce[_0x4dc474(0x331)]);this[_0x4dc474(0x27e)]['set'](_0x468ef8,_0x277530);}),this['_univerInstanceService'][_0x393c4b(0x162)](_0x40c566['UNIVER_DOC'])[_0x393c4b(0x157)](_0x2b44f7(this[_0x393c4b(0x42e)]),_0x1b5247(0x10))[_0x393c4b(0x157)](_0x7d8aef(_0x2ca681=>!_0x2ca681[_0x393c4b(0x14f)]()[_0x393c4b(0x115)]('__')))[_0x393c4b(0x479)](async _0x5d81d7=>{const _0x223e84=_0x393c4b,_0x47545b=_0x5d81d7['getUnitId'](),_0x2e71dd=await this['_startCollaboration'](_0x47545b,ce[_0x223e84(0x26b)]);this[_0x223e84(0x27e)][_0x223e84(0x2ce)](_0x47545b,_0x2e71dd);}),_0x4a9003(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x40c566[_0x393c4b(0x331)]),this[_0x393c4b(0x283)][_0x393c4b(0x42a)](_0x40c566['UNIVER_DOC']))['pipe'](_0x2b44f7(this[_0x393c4b(0x42e)]))['subscribe'](_0x195e1b=>{const _0x5793f5=_0x393c4b,_0x563290=_0x195e1b[_0x5793f5(0x14f)](),_0x9d50c6=this[_0x5793f5(0x27e)][_0x5793f5(0x373)](_0x563290);_0x9d50c6&&(_0x9d50c6[_0x5793f5(0x45c)](),this[_0x5793f5(0x27e)][_0x5793f5(0x18d)](_0x563290));});}async[_0x50a7d0(0x39f)](_0x5a320e,_0x3b4be2){const _0xc5e915=_0x50a7d0,_0x20ddc1=await this[_0xc5e915(0x10a)][_0xc5e915(0x30a)](_0x5a320e),_0x25fb0b=this[_0xc5e915(0x408)]['createInstance'](this[_0xc5e915(0x364)](_0x3b4be2),_0x5a320e,_0x3b4be2,_0x20ddc1);return await _0x25fb0b[_0xc5e915(0x237)](),this[_0xc5e915(0x178)][_0xc5e915(0x492)](_0x25fb0b),_0x25fb0b;}['_getCtorByUniverType'](_0x4beb8f){const _0x2e6e4e=_0x50a7d0;switch(_0x4beb8f){case ce[_0x2e6e4e(0x26b)]:return rs;case ce['UNIVER_SHEET']:return ns;default:throw new Error(_0x2e6e4e(0x3fa)+_0x4beb8f);}}};it=No([Ht(0x0,_0x33026a(_0x17dae8)),Ht(0x1,_0x33026a(xe)),Ht(0x2,_0x28b990)],it);var Ao=Object[_0x50a7d0(0x15c)],Mo=Object['getOwnPropertyDescriptor'],xo=(_0xcb5dea,_0x494261,_0x155330,_0x86f6fa)=>{const _0x58b952=_0x50a7d0;for(var _0x32c8de=_0x86f6fa>0x1?void 0x0:_0x86f6fa?Mo(_0x494261,_0x155330):_0x494261,_0x47aa51=_0xcb5dea[_0x58b952(0x1d0)]-0x1,_0x49a07c;_0x47aa51>=0x0;_0x47aa51--)(_0x49a07c=_0xcb5dea[_0x47aa51])&&(_0x32c8de=(_0x86f6fa?_0x49a07c(_0x494261,_0x155330,_0x32c8de):_0x49a07c(_0x32c8de))||_0x32c8de);return _0x86f6fa&&_0x32c8de&&Ao(_0x494261,_0x155330,_0x32c8de),_0x32c8de;},qs=(_0x51df45,_0xcbe758)=>(_0x43e52e,_0x2f857f)=>_0xcbe758(_0x43e52e,_0x2f857f,_0x51df45);let It=class extends _0x2983d9{constructor(_0x5716a5,_0x494493){const _0x47b2cd=_0x50a7d0;super(),this['_docClipboardService']=_0x5716a5,this[_0x47b2cd(0x3b6)]=_0x494493,this['_init']();}[_0x50a7d0(0x1a9)](){const _0x11f90a=_0x50a7d0,_0x2a41ba=this;this['disposeWithMe'](this['_docClipboardService'][_0x11f90a(0x275)]({'onBeforePasteImage':async _0x44766b=>{const _0x356eec=_0x11f90a,_0x49bd2a=await _0x2a41ba['_imageIoService'][_0x356eec(0x4b7)](_0x44766b);return _0x49bd2a?{'source':_0x49bd2a[_0x356eec(0x290)],'imageSourceType':_0x49bd2a[_0x356eec(0x49d)]}:null;}}));}};It=xo([qs(0x0,_0x3b4ce9),qs(0x1,_0x4a51fd)],It);const Xs=[_0x50a7d0(0x2c2),_0x50a7d0(0x330),_0x50a7d0(0x481),_0x50a7d0(0x437),_0x50a7d0(0x2f8),_0x50a7d0(0x20b)];class Os extends _0x514939{constructor(){const _0x531191=_0x50a7d0;super(...arguments),g(this,_0x531191(0x1b3),new Map()),g(this,'_colorIndex',0x0);}[_0x50a7d0(0x17e)](_0x21f09b){const _0x29b6ff=_0x50a7d0;if(this[_0x29b6ff(0x1b3)]['has'](_0x21f09b))return this[_0x29b6ff(0x1b3)][_0x29b6ff(0x373)](_0x21f09b);const _0x13f025=Xs[this[_0x29b6ff(0x318)]];return this[_0x29b6ff(0x318)]=(this[_0x29b6ff(0x318)]+0x1)%Xs[_0x29b6ff(0x1d0)],this[_0x29b6ff(0x1b3)]['set'](_0x21f09b,_0x13f025),_0x13f025;}}var Lo=Object['defineProperty'],$o=Object[_0x50a7d0(0x18b)],Ho=(_0x4e6cb6,_0x2969e1,_0x20d13b,_0x522ddd)=>{const _0x55fa41=_0x50a7d0;for(var _0x5a825b=_0x522ddd>0x1?void 0x0:_0x522ddd?$o(_0x2969e1,_0x20d13b):_0x2969e1,_0x4c8866=_0x4e6cb6[_0x55fa41(0x1d0)]-0x1,_0x15cf01;_0x4c8866>=0x0;_0x4c8866--)(_0x15cf01=_0x4e6cb6[_0x4c8866])&&(_0x5a825b=(_0x522ddd?_0x15cf01(_0x2969e1,_0x20d13b,_0x5a825b):_0x15cf01(_0x5a825b))||_0x5a825b);return _0x522ddd&&_0x5a825b&&Lo(_0x2969e1,_0x20d13b,_0x5a825b),_0x5a825b;},De=(_0x4d792e,_0x4d026e)=>(_0x32573c,_0x423e0e)=>_0x4d026e(_0x32573c,_0x423e0e,_0x4d792e);const jo=0x12c,Bo=0x64;function _0x1283(){const _0x86e0ba=['joinEvent','collaboratorID','_anchorDot','getRenderById','_selfUnitIDs','top','collaboration.closeRoom','salt','_getUploadFileURL','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','PERMISSION_REJ','jiqing500','UNIVER_SHEET','_disableEditing','_createHmacHelper','_urlService','apply','fromCollab','assign','_drawRectRange','Cipher','_isPermissionRej','pushState','/object','roomMembers','setUndoRedoMutationParamsCache','univerjs-icon\x20univerjs-icon-','attrs','_onCombEvent','loadOfflineData','Could\x20not\x20dynamically\x20require\x20\x22','_transformIMECache','c1Prime','getUnit','getMemberID','USERS_LEAVE','getUnitOnRev','pauseCollaboration','__Key__','getMember','round','enableOfflineEditing','_showConflictNotification','/universer-api/file/{fileID}/sign-url','ref','_HTTPService','compose','CHANGESET_SHOULD_RETRY','APPLY_DUPLICATED','UNRECOGNIZED','RECT','deleteCollaborator','byteOffset','row','INGEST','csRejEvent','_memberService','_collaborationSessionService','enableSingleActiveInstanceLock','map','status$','_getScale','finalize','_getCtorByUniverType','some','add','setTimeout','executeCommand','_process','InsertRangeMoveRightCommandId','_clearLocalCache','function','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','FromArray','AWAITING_WITH_PENDING','react.element','NoPadding','_hash','get','createSocket','forEach','subUnitId','_getUndoStack','with','entries','?size=','_docSkeleton','_decreaseWaiting','ticket','m2Prime','repeat','defIds','{fileID}','_handleJoinEvent','_revisionService','onlineStatus','_context','localeService','&source=','collabCursorState$','submit\x20changeset\x20error!','_httpService','SNAPSHOT_URL_KEY','_snapshotService','getActiveRange','_cursor','_shapes','_status$','getOwnPropertySymbols','fetchMissingChangesets','_handleHover','_onCursorDelete','onRemoteRej','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','collabStatus.conflict','setAlpha','_eventUnsubscribe','find','_keySchedule','_data','_telemetryInfo','24rMZDYT','_startCollaboration','newValue','SHOULD_CLOSE_CONN','error','_submitChangeset','MSG_FOR_ERROR','CipherParams','byteLength','members','ws://127.0.0.1:8000/universer-api/comb/connect','_getAPIPrefix','incrementRevOfUnit','onPointerEnter$','_initEventListeners','onStateChange','addEventListener','_transformRemoteChangesetByIMECache','UniverIcon','_updateSubUnitFromURLParams','clone','INTERNAL_ERROR','saveOfflineData','_initUnitPermissionChange','_imageIoService','_transformHistoryAndStateStack','NEW_CHANGESETS','setWaitCount','_candidateSocket','_configService','_fetchMissChangesets','state','COMPLETION_FINISHED','from','ERROR_EXCEED_SIZE','onMouseMove','_transformUndoRedoStack','object','complete','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Malformed\x20UTF-8\x20data','shouldCloseConn','loadSheet','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefixPath','_onOffline','url(#off-line-single_clip0_910_343)','USERS_ENTER','Undefined','onReady','_name','resend','COMPRESS_MUTATION_APPLY','userID','sheetID','initWorkbookPermissionChange','_startDocCollabCursor','_unitID','fillStyle','_hideTimer','_themeService','PasswordBasedCipher','setInterval','LICENSE_DISTRO_REJECTED','headers','[CollaborationState]:\x20apply\x20error!','saveChangeset','_loadDoc','getCurrentUser','socket$','joinRsp','transformRemoteChangeset','evenodd','mixIn','onRemoteAck','authzUrl','IDLE','_onFetchMissResult','AES','...','_online','tag','_colorAssignService','unitId\x20is\x20not\x20found','\x20to\x20','_backgroundColor','avatar','color','_transformStateCache','__creator','_singleActiveUnitService','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getDownloadEndpointURL','_collabCursorState$','decryptBlock','exhaustSavingTask','_nDataBytes','_listenToOnlineEvent','fetch_missing','_undoRedoService','href','formatter','_xformMode','univer-online-status','UPDATE_PERMISSION_OBJ','_injector','includes','univer-online','url','_startTelemetryCollaborationNewChangeset','NOT_FOUND','_getRedoStack','_initDependencies','values','_sender','randomUUID','_scheduleSaving','event$','updatePermissionObjEvent','_getSignURL','[CollaborationSession]','_loadSheet','_event$','location','displayName','_transitionLocked','commentUpdateEvent','_handleEvent','MUTATION','UNIVER_COLLABORATION_CLIENT_PLUGIN','_retryCount','_logService','_ENC_XFORM_MODE','eventID','[PendingState]:\x20received\x20rejection.','LICENSE_IMPORT_SIZE_EXCEEDED','_clearHeartbeatTimer','NOT_COLLAB','enc','getTypeOfUnitDisposed$','close','append','override','dispose$','_socketMessageSubscription','getCollabCursors$','_docTransformStateCacheService','error$','actions','registerHTTPInterceptor','LIVESHARE_FETCH_OPERATIONS','4891070nLWRJE','red300','_sheetSkeletonManagerService','HmacMD5','registerBeforeClose','AUTHZ_URL_KEY','collabStatus.offline','_session','_queuedRemoteChangesets','_transformStack','reject','CONFLICT','appendMutation','YUUMI_RATE_OVER_LIMIT','readAsDataURL','words','_docSkeletonManagerService','getCollabEntity','_onConnectionFailed','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','11OLpPdZ','_updateState','findNodePositionByCharIndex','setShowComponents','_clearUndo','UNAUTHENTICATED','disposeWithMe','People','height','conflict.content','getOffsetConfig','_createHandler','_scene','listCollaborators','hasher','_updateLocalCursor','toString','univer-online-status-icon','dispose','updateCollaborator','PERMISSION_DENIED','className','getParam','_updateLocalCache','post','subject','enableAuthServer','_getCurrentRevision','reconnect','telemetry\x20info\x20is\x20not\x20initialized','Utf8','collabWebSocketUrl','off-line-single','_drawTextRange','_registerDependencies','_removeClearOtherTimer','_type','collaboration-client.config','transformSelections','univer-offline','ivSize','editing\x20status\x20changed\x20to','putCollaborators','DeleteRangeMoveLeftCommandId','_localStorageService','_waitForHeartbeatResponse','engine','subscribe','_compressMutationService','_beforeCloseService','collabSubmitChangesetUrl','collaboration-session-retry','backgroundColor','parse','exports','verdancy600','interceptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','searchParams','processBlock','text','_replayCachedMutations','_removeCollabCursors','EvpKDF','code','HEARTBEAT','body','permission.content','collaMsg','selections','collabStatus.syncing','[PendingState]:\x20received\x20acknowledgement.','next','makeDirty','_transformService','rng','$super','FileId','_onConflict','[OfflineState]:\x20received\x20changeset.','toRgbString','column','routeKey','imageSourceType','awaiting_with_pending','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getImageSourceCache','/universer-api/stream/file/upload','OFFLINE','_roomMembers','clearTimeout','getCurrent','collabStatus.synced','close$','params','execute','syncEditingCollabCursor','_transformPreviousActiveRange','HELLO','777520vZRFuT','_socket','_substituteRedoStack','Hasher','synced','unsubscribe','_getMergeRange','_initStatusListener','_cipher','session.connection-failed','saveImage','registerRefRange','title','filter','_getSendChangesetTimeout','clipPath','_transformSelections','session.collaboration-timeout','_applyRemoteChangeset','_iv','xlink:href','_substituteUndoStack','_docTransformSelectionsService','currentTheme$','JOINING','getConfig','?url=','react.fragment','Warning','UPDATE_CURSOR','save\x20fail\x20reason\x20is\x20','socket\x20close','_socket$','_textBubble','getCurrentRevOfUnit','stopTime','8taGCFJ','POST','unitID','objectType','_redoStacks','_nRounds','_userManagerService','_state','/new_changes','CHANGESET_REJ','_initResize','method','/allowed','RECV','colorChannel1','_tryReconnect','permission.title','roomMembers$','_scheduleClearOtherTimer','url(#$1','Univer','/object/','_saveTaskMap','_ws','onTransformState','closeSession','toLowerCase','UNIVER_PROJECT','APPLY_PERMISSION_DENIED','collaboration.single-unit.warning','push','_collaborationController','NO_OTHER_CLIENTS_EDITING','_removeRoom','reset','JOIN_ROOM_FULL','UnitSnapshot','c2Prime','ranges','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_OPERATION','[DataLoaderController]','format','COLLAB_WEB_SOCKET_URL','_docSyncEditingCollabCursorService','session','_doCryptBlock','registerOnClose','split','trim','_document','_commentUpdate$','fetching\x20missing\x20changesets\x20from\x20','onTransformRemoteChangesetByStateCache','lib','_messageService','file','_oKey','bottom','splice','OTHER_CLIENTS_EDITING','getWorkbookSelections','LOCAL_CACHE_INTERVAL','createInstance','_sendingTimer','put','sin','doc.mutation.rich-text-editing','PSEUDO_FETCH_MISSING_RESULT','onTransformChange$','[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.','transformIMECache','div','fetchThroughInterceptors','YUUMI_SUBSCRIPTION_NOT_FOUND','getVpScrollXYInfoByPosToVp','failed\x20to\x20apply\x20missed\x20changesets!','mode','_stopTelemetryCollaborationNewChangeset','onMissingChangesets','unknown','/-/object/-/batch_allowed','changesets','_throwTelemetryCollaborationNewChangeset','_saveCache','_collaborationTimeoutTimer','_sendHeartbeat','cmd','transformChangesets','resolve','_changesetReqId','message$','symbol','type','_handler','_scheduleHeartbeat','liveShareNewHost','_getSnapshotAPIPrefix','_collabSessionService','propertyIsEnumerable','_refreshCollabCursors','getUnitType','concat','blockSize','collaborators','Base','[CollaborationSessionService]','_heartbeatTimer','awaiting','startsWith','HMAC','min','APPLY_REJECT','then','/resources','join','_anchor','_collaborationPaused','COMMENT_UPDATE','msCrypto','Decryptor','_unitOnClients','[SyncedState]:\x20received\x20rejection.','2919087pVCDXk','off-line-single_clip0_910_343','name','TOO_MANY_REQUESTS','_send','YUUMI_URL_COL_OUT_OF_RANGE','HttpImport','generateRandomId','InsertRangeMoveDownCommandId','Pkcs7','sendChangesetTimeout','_sendHeartbeatTimer','_collabCursorController','_executeRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','icon','application/json','_state$','_permissionService','_doReset','update','compute','_map','hostname','LIVESHARE_NEW_HOST','onRemoteChangeset','[UniverCollaborationClientPlugin]','socket\x20open.','memberID','offline','on-line-single_clip0_910_349','updatePermissionPoint','reduce','_initStatusComponent','visibilitychange','cfg','unit-cache-','startColumn','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','onTransformRemoteChangesetByIMECache','arc','Latin1','getSkeleton','pending','getUnitId','_parse','moveTo','_onConnectionOpen','createEncryptor','addObject','prototype','ONLINE','pipe','unload','cursorInfo$','now','MoveRangeCommandId','defineProperty','isEditing','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','black','_resendTimer','_syncEditingCollabCursorService','getTypeOfUnitAdded$','updateMember','getItem','debug','confirm','_resendWithTimeout','unshift','saveSheetBlock','awaitingChangeset','image/png','_id','liveShareOperation','InsertColCommandId','onSyncEditingCollabCursor','baseRev','focused$','UNKNOWN_CODE','hovered','_remoteChangesetQueue','_hasher','MD5','HEARTBEAT_INTERVAL','_entityInit$','show','onSendChangeset','_invKeySchedule','default','clamp','assignAColorForMemberID','iterations','_createInitialStateImpl','children','mutations','ciphertext','#FFF','getValue','sheetId','on-line-single','LIVESHARE_REQUEST_HOST','collab-client.tooltip.reconnect','UNIVER_SLIDE','getOwnPropertyDescriptor','every','delete','_cursorShapes','_snapshotServerService','0\x200\x2017\x2016','transformStateCache','_syncEditingCollabCursor','_localeService','unpad','_checkMissing','_pendingMutations','JOIN','_registerRenderDependencies','roomInfos','_keyPriorReset','/universer-api/snapshot','OpenSSL','substring','EXCHANGE_SIGN_URL_SERVER_URL_KEY','restore','_toggleOffline','UNIVER_UNKNOWN','_cursors','HmacSHA1','/universer-api/authz','updateCursorEvent','_sessions','CHANGESET_REVISION_CONFILICT','sigBytes','_init','_awaitingChangeset','none','onPointerLeave$','onlyLocal','resourceIDs','_renderManagerService','_replaceFileID','connection\x20error','fetchMiss','_assignedColors','replaceState','_render','onload','idSuffix','Error\x20on\x20receiving\x20event','_joinRoom','LICENSE_EXPORT_SIZE_EXCEEDED','Base64','online','_handleHeartbeatEvent','_change$','SHA1','_getLoginPath','m1Prime','_minBufferSize','transform','save','_updateStatus','_shouldReportTelemetry','setConfig','univer-online-status-title','subscribeEvent','snapshot','TEXT','YUUMI_UNABLE_LOAD_URL','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','_onJoinRoomEvent','[CollaborationUndoRedoService]','length','_hover','saveSnapshot','closePath','_tryEnsureSocket','keySize','change$','_getAnchorBounding','_transformRemoteChangesetByStateCache','unit','transformMutation','addImageSourceCache','hide','_telemetryService','cursorInfo','_initMergeInterceptor','collab-text-range-','urlChange$','src','withCredentials','SUBMIT_CHANGESET','_sessionStatus$','_color','size','asObservable','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_config','subunit','originalMeta','_clearTimeoutTimer','#fff','getSheetId','_retryConnectingTimer','_handleLeaveEvent','8411244tyVeEA','_initRequestHeader','UnitEmbedded','_draw','_toggleOnline','_scheduleTimestamp','_iKey','_createSocket','buffer','_updateURLWithCurrentState','_ensureSubject','currentSkeleton$','BASE64','_reverseMap','_roomMembers$','_imageSourceCache','Encryptor','onRendered','FAIL','list','path','encryptBlock','charAt','lineTo','editingUnit','gold400','charCodeAt','/-/object/list','isArray','_startSheetCollabCursor','_onRefRangeChange','_onCursorUpdate','_resendTimeout','_listenToOfflineEvent','defs','LEAVE','startRow','catch','string','_onRemoteRetry','80769yDPYXf','UNKNOWN_CMD','conflict.title','setStateCache','pad','clear','random','patch','FETCH_MISSING','/universer-api/user/session-ticket','/unit/','not_collab','replace','selection','removeParam','extend','_timeoutTimer','StreamCipher','/collaborator','createDecryptor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','collabStatus.fetchMiss','getSheetBlock','docStateChange$','flatMap','onTransformSelections','pluginName','csAckEvent','setParam','init','textRanges','_doFinalize','_DEC_XFORM_MODE','PENDING','send','objectID','getSheetBySheetId','jsx','/rev/','open$','ReactCurrentOwner','reqId','_lastPointer','_schedule','_onRecvEvent','_socketService','_unitStatus','fromCharCode','ERROR_IMAGE','abs','create','for','batchAllowed','&to=','OffLineSingle','_localCacheService','_hovered','INVALID_ARGUMENT','fillText','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getDeserializedSheetBlock','\x20in\x20_schedule.','unitId','auth.needGotoLoginAlert','replaceDocRanges','url(#on-line-single_clip0_910_349)','COMPRESS_MUTATION_SEND','_onRemoteChangeset','_mode','getRangePointData','isPermissionRej','_updateCollabCursors','storage','algo','onStarting','action','requestParams','_acknowledgedAwaitingChangeset','_uiPartsService','6YbWHqb','ceil','UNIVER_DOC','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_ACK','SNAPSHOT_HAS_BEEN_REMOVED','rev','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','1em','LOGIN_URL_KEY','_cachedData','data','addClipboardHook','_notificationService','disableLocalCache','COLLAB_SUBMIT_CHANGESET_URL','decrypt','getInterceptPoints','getUniverSheetInstance','origin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_entities','_docTransformIMECacheService','_refRangeService','WordArray','Error','_univerInstanceService','BufferedBlockAlgorithm','SNAPSHOT_SERVER_URL_KEY','getRandomValues','setCurrentUser','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Hex','setShapeProps','_doProcessBlock','isActive','has','undoState','floor','source','sid','json','_commandService','sessionStatus$','status','[CollaborationEntity]','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','rgba(255,\x20255,\x20255,\x200.01)','indexOf','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRemoteRetry','current','revision','getCollabEntity$','copyFileMeta','_onRemoteRejected','call','/block/','UUID','_clearRedo','disposeUnit','redoState','encode','HEADER_MENU','_getSaveTimeout','_prevBlock','wsSessionTicketUrl','_cursorInfo$','getDocRanges','image/jpeg','createCollaborator','defaultProps','_onUserJoin','bind','_clearCollaborationTimeoutTimer','_setupBeforeClosingHandler','_rescheduleHeartbeat','beginPath','_key','[CollaborationSessionService]:\x20socket\x20error','toggleOffline','range','CONNECTOR_DATA_TOO_LARGE','_clearOtherTimers','0\x200\x2016\x2016','RemoveRowCommandId','slice','encodeURIComponent','_clearScheduledTask','purple300','ENSURE_SNAPSHOT_EXECUTION','session.room-full','getUnitStatus$','[OfflineState]:\x20received\x20acknowledgement.','_onRemoteACK','onCommandExecuted','session.will-retry','width','FETCH_MISS','LIVESHARE_TERMINATE','roles','set','BlockCipher','allowed','_scheduleCollaborationTimeoutTimer','_disabled','endColumn','history','crypto','stringify','measureText','getAncestorScale','SYNCED','_exhaustRemoteChangesetQueue','RETRY_CONNECTING_MAX_COUNT','onlineStatusIcon','_changesetSessionId','\x0aCurrent:\x20','clearInterval','collab-rect-range-','_incrementRevisionNumber','_range','JOIN_ROOM_NOT_ALLOWED','drawWith','_initCommandExecutedListener','registerRenderModule','_lockTransition','_members','listRoles','hasOwnProperty','randomBytes','Unknown\x20user','_append','snapshotServerUrl','currentColor','capture','_transformUndoredo','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','49mcWWcP','getMergeData','_getSessionTicket','ALREADY_EXISTS','16158zmXhFj','blue400','univer-pro.collaboration-client.single-active-unit-service','downloadEndpointUrl','CBC','_onUserLeave','_onLocalMutation','deepClone','removeMember','responseType','onTransformIME','SNAPSHOT_INVALID_SNAPSHOT','getViewport','__esModule','getUnhiddenWorksheets','updateOfflineData','1477616tHCGKh','padding','_waitCount','requireSession','_commentService','PERSON','toggleOnline','transformUndoRedo','AWAITING','newCsEvent','getFocusedUnit','conflict','/universer-api/snapshot/','_http','_getSheetObject','_unlockTransition','/universer-api/comb','_colorIndex','max','setItem','_socketReady','encrypt','transformMutationsWithChangeset','_labelPosition','key','jsxs','_docStateChangeManagerService','fill','getUndoRedoMutationParamsCache','_onMessage'];_0x1283=function(){return _0x86e0ba;};return _0x1283();}let os=class extends _0x2983d9{constructor(_0x2a33ff,_0x38764c,_0x3b0b7d,_0x24648c,_0x422eda,_0xbead3d,_0x1fea34,_0x5d3c0b,_0x2433b7){const _0x10fd0f=_0x50a7d0;super(),g(this,'_online',!0x1),g(this,_0x10fd0f(0x1a9),!0x1),g(this,_0x10fd0f(0x2ac),new _0x22472b(new Map())),g(this,_0x10fd0f(0x159),this['_cursorInfo$'][_0x10fd0f(0x1e8)]()),g(this,_0x10fd0f(0x200),new _0x22472b([])),g(this,'roomMembers$',this[_0x10fd0f(0x200)][_0x10fd0f(0x157)](_0x521a38(jo))),g(this,_0x10fd0f(0x459),_0x10313f(_0xc15217=>{const _0x42dadd=_0x10fd0f,_0x4308cf={'eventID':_0x26d642[_0x42dadd(0x4ca)],'data':{'unitID':this[_0x42dadd(0xaa)],'memberID':this[_0x42dadd(0x43d)][_0x42dadd(0x347)](),'selection':Li(_0xc15217)}};this[_0x42dadd(0x43d)]['send'](_0x4308cf,this['unitID']);},Bo)),(this['unitID']=_0x2a33ff,this[_0x10fd0f(0x43d)]=_0x38764c,this[_0x10fd0f(0x408)]=_0x3b0b7d,this['_colorAssignService']=_0x24648c,this[_0x10fd0f(0x35d)]=_0x422eda,this[_0x10fd0f(0x161)]=_0xbead3d,this[_0x10fd0f(0x494)]=_0x1fea34,this[_0x10fd0f(0x283)]=_0x5d3c0b,this[_0x10fd0f(0x293)]=_0x2433b7);}get[_0x50a7d0(0x1de)](){const _0x1c8a16=_0x50a7d0;return this['_cursorInfo$'][_0x1c8a16(0x185)]();}get[_0x50a7d0(0x33d)](){const _0x2fc873=_0x50a7d0;return this[_0x2fc873(0x200)]['getValue']();}[_0x50a7d0(0x45c)](){const _0x1eb571=_0x50a7d0;super[_0x1eb571(0x45c)](),this[_0x1eb571(0x2ac)][_0x1eb571(0x492)](new Map()),this[_0x1eb571(0x2ac)]['complete'](),this[_0x1eb571(0x200)]['next']([]),this[_0x1eb571(0x200)][_0x1eb571(0x3c4)]();}[_0x50a7d0(0x237)](){const _0x50c065=_0x50a7d0;this[_0x50c065(0x1a9)]||(this[_0x50c065(0x1a9)]=!0x0,this['_session'][_0x50c065(0x294)]['pipe'](_0x2b44f7(this['dispose$']))[_0x50c065(0x479)](_0x5e4856=>{const _0x306672=_0x50c065;_0x5e4856===ve[_0x306672(0x156)]?this[_0x306672(0x1f6)]():this[_0x306672(0x1a0)]();}),this[_0x50c065(0x43d)]['event$']['pipe'](_0x2b44f7(this[_0x50c065(0x42e)]))[_0x50c065(0x479)](_0x2117fb=>{const _0x5f41af=_0x50c065,_0x3734e5=_0x2117fb[_0x5f41af(0x424)];_0x3734e5===_0x26d642['UPDATE_CURSOR']&&this[_0x5f41af(0x211)](_0x2117fb),_0x3734e5===_0x26d642[_0x5f41af(0x348)]&&this[_0x5f41af(0x394)](_0x2117fb);}),this[_0x50c065(0x450)](this[_0x50c065(0x293)][_0x50c065(0x2c8)](_0x3cb9cf=>{const _0x320273=_0x50c065,_0xb99532=_0x3cb9cf[_0x320273(0x4a8)];_0xb99532!=null&&this['_online']&&_0x3cb9cf['id']===_0x11d07f['id']&&_0xb99532[_0x320273(0x258)]===this['unitID']&&_0xb99532[_0x320273(0x15d)]===!0x1&&_0xb99532[_0x320273(0xce)][_0x320273(0x1d0)]>0x0&&this[_0x320273(0x459)](_0xb99532[_0x320273(0xce)]);})),this['_syncEditingCollabCursorService'][_0x50c065(0x388)][_0x50c065(0x157)](_0x2b44f7(this[_0x50c065(0x42e)]))[_0x50c065(0x479)](_0x400247=>{const _0x3cd834=_0x50c065;if((_0x400247==null?void 0x0:_0x400247[_0x3cd834(0xaa)])!==this[_0x3cd834(0xaa)])return;const _0x12ac30={'eventID':_0x26d642[_0x3cd834(0x4ca)],'data':_0x400247};this['_onCursorUpdate'](_0x12ac30);}),this[_0x50c065(0x450)](this[_0x50c065(0x293)]['onCommandExecuted'](_0x302bb4=>{const _0x6d056f=_0x50c065;if(_0x302bb4[_0x6d056f(0x4a8)]==null)return;const _0x276d47=_0x302bb4[_0x6d056f(0x4a8)];if(_0x302bb4['id']!==_0x5e3fd9['id']||_0x276d47['unitId']!==this[_0x6d056f(0xaa)])return;const _0x132db2={'id':_0x6d056f(0xeb),'params':_0x276d47},_0x3a36f5=this[_0x6d056f(0x1de)];for(const [_0x5408be,_0x339a8b]of _0x3a36f5){const _0x4d3e24={'id':_0x6d056f(0xeb),'params':{'unitId':this[_0x6d056f(0xaa)],'actions':null,'textRanges':_0x339a8b[_0x6d056f(0xce)]}},_0x2a9bf7=this['_transformService'][_0x6d056f(0x1da)](_0x132db2,_0x4d3e24,!0x1);if(_0x2432d6(_0x2a9bf7))throw _0x2a9bf7[_0x6d056f(0x3a2)];_0x3a36f5['set'](_0x5408be,{..._0x339a8b,'ranges':_0x2a9bf7['m2Prime'][_0x6d056f(0x4a8)][_0x6d056f(0x238)]});}queueMicrotask(()=>{const _0xa09ca=_0x6d056f;this[_0xa09ca(0x2ac)]['next'](_0x3a36f5);});})));}[_0x50a7d0(0x211)](_0xb149f4){const _0x3e0051=_0x50a7d0;var _0x593631,_0x196085;const {memberID:_0x6e8645,selection:_0x447e97}=_0xb149f4['data'],_0x480602=So(_0x447e97),_0x176c7a=(_0x196085=(_0x593631=this[_0x3e0051(0x35d)][_0x3e0051(0x34c)](this['unitID'],_0x6e8645))==null?void 0x0:_0x593631[_0x3e0051(0x125)])!=null?_0x196085:'Unknown\x20user',_0x418fa9={'color':this[_0x3e0051(0x3f0)][_0x3e0051(0x17e)](_0x6e8645),'name':_0x176c7a,'ranges':_0x480602},_0xae5a38=this['cursorInfo'];_0xae5a38[_0x3e0051(0x2ce)](_0x6e8645,_0x418fa9),this[_0x3e0051(0x2ac)]['next'](_0xae5a38);}[_0x50a7d0(0x394)](_0x3026dc){const _0x459b36=_0x50a7d0,{memberID:_0x58b832}=_0x3026dc['data'],_0x2641c8=this[_0x459b36(0x1de)];_0x2641c8[_0x459b36(0x18d)](_0x58b832),this['_cursorInfo$']['next'](_0x2641c8);}[_0x50a7d0(0x1f6)](){const _0x495193=_0x50a7d0;var _0x3c1400;if(this[_0x495193(0x3ee)]=!0x0,((_0x3c1400=this[_0x495193(0x283)][_0x495193(0x311)]())==null?void 0x0:_0x3c1400[_0x495193(0x14f)]())!==this['unitID'])return;const _0x4d88f1=this[_0x495193(0x408)][_0x495193(0x373)](_0x370f46)[_0x495193(0x2ad)]();Array[_0x495193(0x20e)](_0x4d88f1)&&_0x4d88f1[_0x495193(0x1d0)]>0x0&&this[_0x495193(0x459)](_0x4d88f1);}['_toggleOffline'](){const _0x16e908=_0x50a7d0;this[_0x16e908(0x3ee)]=!0x1;}};os=Ho([De(0x2,_0x33026a(_0x17dae8)),De(0x3,_0x33026a(Os)),De(0x4,_0x33026a(Me)),De(0x5,_0x33026a(Ts)),De(0x6,_0x4af41b),De(0x7,_0x28b990),De(0x8,_0x2e05f8)],os);var ko=Object[_0x50a7d0(0x15c)],Wo=Object['getOwnPropertyDescriptor'],Fo=(_0x55f3cf,_0x155c62,_0x294fe0,_0xed47f9)=>{const _0x4d3d5b=_0x50a7d0;for(var _0xbb1d41=_0xed47f9>0x1?void 0x0:_0xed47f9?Wo(_0x155c62,_0x294fe0):_0x155c62,_0x491a81=_0x55f3cf[_0x4d3d5b(0x1d0)]-0x1,_0x1358ee;_0x491a81>=0x0;_0x491a81--)(_0x1358ee=_0x55f3cf[_0x491a81])&&(_0xbb1d41=(_0xed47f9?_0x1358ee(_0x155c62,_0x294fe0,_0xbb1d41):_0x1358ee(_0xbb1d41))||_0xbb1d41);return _0xed47f9&&_0xbb1d41&&ko(_0x155c62,_0x294fe0,_0xbb1d41),_0xbb1d41;},Be=(_0x2c1948,_0x4d20c3)=>(_0x525028,_0x2f738e)=>_0x4d20c3(_0x525028,_0x2f738e,_0x2c1948);const Vo=0x12c,Go=0x64,Yo=()=>{let _0x41badd=[],_0x32d515=!0x1;return _0x14540e=>{const _0x89fe45=_0xc944;_0x41badd[_0x89fe45(0xc6)](_0x14540e),_0x32d515||(_0x32d515=!0x0,setTimeout(()=>{_0x41badd['forEach'](_0x531041=>_0x531041()),_0x41badd=[],_0x32d515=!0x1;}));};};let as=class extends _0x2983d9{constructor(_0x2b00d6,_0x5ddcc8,_0x569df5,_0xe24e0f,_0x255cf1,_0x2af552,_0xda412d,_0x343406){const _0x2d2adb=_0x50a7d0;super(),g(this,_0x2d2adb(0x3ee),!0x1),g(this,_0x2d2adb(0x1a9),!0x1),g(this,_0x2d2adb(0x2ac),new _0x22472b(new Map())),g(this,_0x2d2adb(0x159),this['_cursorInfo$'][_0x2d2adb(0x1e8)]()),g(this,_0x2d2adb(0x200),new _0x22472b([])),g(this,_0x2d2adb(0xb9),this[_0x2d2adb(0x200)]['pipe'](_0x521a38(Vo))),g(this,_0x2d2adb(0x459),_0x10313f((_0x2573bf,_0x1cd2e6)=>{const _0x38906c=_0x2d2adb,_0x442153={'eventID':_0x26d642[_0x38906c(0x4ca)],'data':{'unitID':this['unitID'],'memberID':this[_0x38906c(0x43d)][_0x38906c(0x347)](),'selection':_0x49a24a(_0x2573bf,_0x1cd2e6['range'])}};this[_0x38906c(0x43d)][_0x38906c(0x23c)](_0x442153,this['unitID']);},Go)),(this['unitID']=_0x2b00d6,this[_0x2d2adb(0x43d)]=_0x5ddcc8,this['_injector']=_0x569df5,this['_colorAssignService']=_0xe24e0f,this[_0x2d2adb(0x35d)]=_0x255cf1,this[_0x2d2adb(0x283)]=_0x2af552,this[_0x2d2adb(0x293)]=_0xda412d,this[_0x2d2adb(0x280)]=_0x343406);}get[_0x50a7d0(0x1de)](){const _0x557737=_0x50a7d0;return this[_0x557737(0x2ac)][_0x557737(0x185)]();}get[_0x50a7d0(0x33d)](){const _0x532672=_0x50a7d0;return this[_0x532672(0x200)]['getValue']();}[_0x50a7d0(0x45c)](){const _0x2c89f0=_0x50a7d0;super[_0x2c89f0(0x45c)](),this[_0x2c89f0(0x2ac)][_0x2c89f0(0x492)](new Map()),this[_0x2c89f0(0x2ac)][_0x2c89f0(0x3c4)](),this[_0x2c89f0(0x200)]['next']([]),this[_0x2c89f0(0x200)]['complete']();}['init'](){const _0x3162a8=_0x50a7d0;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x2b44f7(this['dispose$']))[_0x3162a8(0x479)](_0x32673b=>{const _0x19b042=_0x3162a8;_0x32673b===ve[_0x19b042(0x156)]?this[_0x19b042(0x1f6)]():this[_0x19b042(0x1a0)]();}),this[_0x3162a8(0x43d)][_0x3162a8(0x414)]['pipe'](_0x2b44f7(this['dispose$']))[_0x3162a8(0x479)](_0x4b3bc5=>{const _0x1af0a7=_0x3162a8,_0x510f2b=_0x4b3bc5[_0x1af0a7(0x424)];_0x510f2b===_0x26d642[_0x1af0a7(0x4ca)]&&this[_0x1af0a7(0x211)](_0x4b3bc5),_0x510f2b===_0x26d642[_0x1af0a7(0x348)]&&this['_onCursorDelete'](_0x4b3bc5);}),this[_0x3162a8(0x210)](),this[_0x3162a8(0x450)](this['_commandService'][_0x3162a8(0x2c8)](_0x265074=>{const _0x4b9819=_0x3162a8;if(this[_0x4b9819(0x3ee)]&&_0x265074['id']===_0x313c8a['id']&&_0x265074[_0x4b9819(0x4a8)][_0x4b9819(0x258)]===this[_0x4b9819(0xaa)]){const _0x52b883=_0x265074[_0x4b9819(0x4a8)];this[_0x4b9819(0x459)](_0x52b883[_0x4b9819(0x376)],_0x52b883[_0x4b9819(0x48f)][0x0]);}})));}[_0x50a7d0(0x211)](_0x26aaab){const _0x98670a=_0x50a7d0;var _0x10e175,_0x4c87cb;const {memberID:_0x116667,selection:_0x21b3c5}=_0x26aaab[_0x98670a(0x274)],{sheetName:_0x3e4079,range:_0x34c838}=_0xe6e903(_0x21b3c5),_0x44599e={'name':(_0x4c87cb=(_0x10e175=this[_0x98670a(0x35d)]['getMember'](this[_0x98670a(0xaa)],_0x116667))==null?void 0x0:_0x10e175[_0x98670a(0x125)])!=null?_0x4c87cb:_0x98670a(0x2ec),'range':this['_getMergeRange'](_0x3e4079,_0x34c838),'sheetID':_0x3e4079,'color':this[_0x98670a(0x3f0)][_0x98670a(0x17e)](_0x116667),'selection':_0x21b3c5},_0x344bd3=this[_0x98670a(0x1de)];_0x344bd3['set'](_0x116667,_0x44599e),this[_0x98670a(0x2ac)][_0x98670a(0x492)](_0x344bd3);}[_0x50a7d0(0x394)](_0x5b3651){const _0x54f78c=_0x50a7d0,{memberID:_0x1c62a6}=_0x5b3651[_0x54f78c(0x274)],_0x31446a=this['cursorInfo'];_0x31446a[_0x54f78c(0x18d)](_0x1c62a6),this[_0x54f78c(0x2ac)][_0x54f78c(0x492)](_0x31446a);}[_0x50a7d0(0x4b3)](_0x268f89,_0x5f073b){const _0x10dc77=_0x50a7d0;var _0x5dfa3d,_0x25382f;const _0x2a095d=(_0x25382f=(_0x5dfa3d=this[_0x10dc77(0x283)][_0x10dc77(0x27b)](this['unitID']))==null?void 0x0:_0x5dfa3d[_0x10dc77(0x23e)](_0x268f89))==null?void 0x0:_0x25382f[_0x10dc77(0x2f4)]();return(_0x2a095d==null?void 0x0:_0x2a095d[_0x10dc77(0x39a)](_0x2c0e4e=>_0x18079f['contains'](_0x2c0e4e,_0x5f073b)))||_0x5f073b;}['_onRefRangeChange'](){const _0x3126c8=_0x50a7d0,_0x4ed92d=new _0x2912e1(),_0x19d0a6=Yo(),_0x5b29eb=()=>{const _0x194c79=_0xc944;_0x4ed92d[_0x194c79(0x45c)]();const _0x2dd0fe=(_0x109c22,_0x1b3604,_0x3d158a,_0x20014c)=>{const _0x305da9=_0x194c79;let _0x4e6b3d=[];switch(_0x109c22['id']){case _0x417021[_0x305da9(0x475)]:{_0x4e6b3d=_0x471bf3(_0x109c22,_0x20014c);break;}case _0x417021['DeleteRangeMoveUpCommandId']:{_0x4e6b3d=_0x1e512b(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x16e)]:{_0x4e6b3d=_0x1eb2df(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x12b)]:{_0x4e6b3d=_0x51a436(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x36a)]:{_0x4e6b3d=_0x40abdd(_0x109c22,_0x20014c);break;}case _0x417021['InsertRowCommandId']:{_0x4e6b3d=_0x23c885(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x15b)]:{_0x4e6b3d=_0x28f3e9(_0x109c22,_0x20014c);break;}case _0x417021['RemoveColCommandId']:{_0x4e6b3d=_0x5369f9(_0x109c22,_0x20014c);break;}case _0x417021[_0x305da9(0x2be)]:{_0x4e6b3d=_0x32a4f4(_0x109c22,_0x20014c);break;}}const _0x52525d=_0x51f717(_0x4e6b3d,_0x20014c),_0xad89a0=this[_0x305da9(0x1de)][_0x305da9(0x373)](_0x1b3604);if(_0xad89a0&&_0x52525d){const _0x1cb8fa={..._0xad89a0,'range':_0x52525d};this['cursorInfo'][_0x305da9(0x2ce)](_0x1b3604,_0x1cb8fa),_0x19d0a6(()=>{const _0x32742b=_0x305da9,_0x407707=this['_refRangeService']['registerRefRange'](_0x52525d,_0x1b9250=>(_0x407707[_0x32742b(0x45c)](),_0x2dd0fe(_0x1b9250,_0x1b3604,_0x3d158a,_0x52525d)));_0x4ed92d[_0x32742b(0x366)](_0x407707);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x10714f,_0x3996d3)=>{const _0x90d711=_0x194c79,{range:_0x32cf0e,sheetID:_0x2cc926}=_0x10714f,_0xa9e31c=this[_0x90d711(0x280)][_0x90d711(0x4b8)](_0x32cf0e,_0x576dc7=>(_0xa9e31c['dispose'](),_0x2dd0fe(_0x576dc7,_0x3996d3,_0x2cc926,_0x32cf0e)));_0x4ed92d[_0x90d711(0x366)](_0xa9e31c);});};this[_0x3126c8(0x450)](_0xd370ea(this[_0x3126c8(0x2ac)][_0x3126c8(0x479)](()=>{_0x5b29eb();})));}['_toggleOnline'](){const _0xf60f16=_0x50a7d0;var _0x3de7fd,_0x50ab73;if(this[_0xf60f16(0x3ee)]=!0x0,((_0x3de7fd=this[_0xf60f16(0x283)]['getFocusedUnit']())==null?void 0x0:_0x3de7fd[_0xf60f16(0x14f)]())!==this[_0xf60f16(0xaa)])return;const _0x5acd67=(_0x50ab73=this['_injector']['get'](_0x3a11a0)['getCurrentSelections']())==null?void 0x0:_0x50ab73[0x0],_0x21c87e=this['_univerInstanceService']['getCurrentUnitForType'](_0x40c566[_0xf60f16(0x331)])['getActiveSheet']();_0x5acd67&&_0x21c87e&&this[_0xf60f16(0x459)](_0x21c87e['getSheetId'](),_0x5acd67);}[_0x50a7d0(0x1a0)](){const _0x205279=_0x50a7d0;this[_0x205279(0x3ee)]=!0x1;}};as=Fo([Be(0x2,_0x33026a(_0x17dae8)),Be(0x3,_0x33026a(Os)),Be(0x4,_0x33026a(Me)),Be(0x5,_0x28b990),Be(0x6,_0x2e05f8),Be(0x7,_0x33026a(_0x353c51))],as);var Ko=Object[_0x50a7d0(0x15c)],zo=Object[_0x50a7d0(0x18b)],qo=(_0x1b1986,_0x3f3d36,_0x2ce1ae,_0x350b1d)=>{const _0x1ad75f=_0x50a7d0;for(var _0x550c57=_0x350b1d>0x1?void 0x0:_0x350b1d?zo(_0x3f3d36,_0x2ce1ae):_0x3f3d36,_0x5a3419=_0x1b1986[_0x1ad75f(0x1d0)]-0x1,_0x4af76c;_0x5a3419>=0x0;_0x5a3419--)(_0x4af76c=_0x1b1986[_0x5a3419])&&(_0x550c57=(_0x350b1d?_0x4af76c(_0x3f3d36,_0x2ce1ae,_0x550c57):_0x4af76c(_0x550c57))||_0x550c57);return _0x350b1d&&_0x550c57&&Ko(_0x3f3d36,_0x2ce1ae,_0x550c57),_0x550c57;},jt=(_0x1d9b50,_0x1f9f17)=>(_0x5e1a30,_0x117126)=>_0x1f9f17(_0x5e1a30,_0x117126,_0x1d9b50);let Ve=class extends _0x2983d9{constructor(_0x4c7c37,_0x52c498,_0x2d6399){const _0x1e01fe=_0x50a7d0;super(),g(this,'_entities',new Map()),g(this,_0x1e01fe(0x178),new _0x5b148b()),(this[_0x1e01fe(0x283)]=_0x4c7c37,this[_0x1e01fe(0x408)]=_0x52c498,this[_0x1e01fe(0x10a)]=_0x2d6399,this[_0x1e01fe(0x1a9)]());}[_0x50a7d0(0x45c)](){const _0x4f15fb=_0x50a7d0;super[_0x4f15fb(0x45c)](),this[_0x4f15fb(0x178)][_0x4f15fb(0x3c4)](),this['_entities']['forEach'](_0x1b30c3=>_0x1b30c3[_0x4f15fb(0x45c)]());}['getCollabCursors$'](_0x579291){const _0x35ee70=_0x50a7d0;return this['_entities'][_0x35ee70(0x28d)](_0x579291)?this[_0x35ee70(0x27e)]['get'](_0x579291)[_0x35ee70(0x159)]:this[_0x35ee70(0x178)]['pipe'](_0x1e1f37(_0x48bbea=>_0x48bbea[_0x35ee70(0xaa)]===_0x579291),_0x150ba9(_0x26e6e3=>_0x26e6e3[_0x35ee70(0x159)]));}[_0x50a7d0(0x1a9)](){const _0x37a6bd=_0x50a7d0;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x40c566[_0x37a6bd(0x331)])[_0x37a6bd(0x157)](_0x2b44f7(this['dispose$']))['subscribe'](async _0x2842b9=>{const _0x2536f6=_0x37a6bd,_0x8b1f9d=_0x2842b9[_0x2536f6(0x14f)](),_0x6297b7=await this['_startSheetCollabCursor'](_0x8b1f9d);this['_entityInit$'][_0x2536f6(0x492)](_0x6297b7),this[_0x2536f6(0x27e)][_0x2536f6(0x2ce)](_0x8b1f9d,_0x6297b7);}),this[_0x37a6bd(0x283)][_0x37a6bd(0x162)](_0x40c566['UNIVER_DOC'])[_0x37a6bd(0x157)](_0x2b44f7(this[_0x37a6bd(0x42e)]))[_0x37a6bd(0x157)](_0x1e1f37(_0x432800=>!_0x432800[_0x37a6bd(0x14f)]()[_0x37a6bd(0x115)]('__')))[_0x37a6bd(0x479)](async _0x31f7b1=>{const _0x54ce58=_0x37a6bd,_0x2b1928=_0x31f7b1[_0x54ce58(0x14f)](),_0x44a842=await this[_0x54ce58(0x3d6)](_0x2b1928);this[_0x54ce58(0x178)]['next'](_0x44a842),this['_entities']['set'](_0x2b1928,_0x44a842);}),_0x4a9003(this['_univerInstanceService'][_0x37a6bd(0x42a)](_0x40c566[_0x37a6bd(0x26b)]),this['_univerInstanceService'][_0x37a6bd(0x42a)](_0x40c566[_0x37a6bd(0x331)]))[_0x37a6bd(0x157)](_0x2b44f7(this[_0x37a6bd(0x42e)]))[_0x37a6bd(0x479)](_0x1dafbc=>{const _0x14d220=_0x37a6bd,_0x3ed0fe=_0x1dafbc[_0x14d220(0x14f)](),_0x4dba41=this[_0x14d220(0x27e)][_0x14d220(0x373)](_0x3ed0fe);_0x4dba41&&(_0x4dba41[_0x14d220(0x45c)](),this[_0x14d220(0x27e)][_0x14d220(0x18d)](_0x3ed0fe));});}async[_0x50a7d0(0x20f)](_0x4fc37b){const _0x156c88=_0x50a7d0,_0x10f0df=await this[_0x156c88(0x10a)]['requireSession'](_0x4fc37b),_0x29f2f5=this[_0x156c88(0x408)][_0x156c88(0xe7)](as,_0x4fc37b,_0x10f0df);return _0x29f2f5[_0x156c88(0x237)](),_0x29f2f5;}async[_0x50a7d0(0x3d6)](_0x452e61){const _0x2461b8=_0x50a7d0,_0x4fbd81=await this[_0x2461b8(0x10a)]['requireSession'](_0x452e61),_0x4edacc=this[_0x2461b8(0x408)]['createInstance'](os,_0x452e61,_0x4fbd81);return _0x4edacc[_0x2461b8(0x237)](),_0x4edacc;}};Ve=qo([jt(0x0,_0x28b990),jt(0x1,_0x33026a(_0x17dae8)),jt(0x2,_0x33026a(xe))],Ve);const rt=0x14,Js=0xc8,Bt=0x4,Xo=0x5;function Jo(_0x36b85e,_0x5c3a00){const _0x434f62=_0x50a7d0;let {radius:_0x173c8c,width:_0x19ef6c,height:_0x4084fd}=_0x5c3a00;_0x173c8c=_0x173c8c!=null?_0x173c8c:0x0,_0x19ef6c=_0x19ef6c!=null?_0x19ef6c:0x1e,_0x4084fd=_0x4084fd!=null?_0x4084fd:0x1e;let _0x4fe4dd=0x0,_0x4a6be1=0x0,_0x17148c=0x0;_0x4fe4dd=_0x4a6be1=_0x17148c=Math['min'](_0x173c8c,_0x19ef6c/0x2,_0x4084fd/0x2),_0x36b85e[_0x434f62(0x2b6)](),_0x36b85e[_0x434f62(0x151)](_0x4fe4dd,0x0),_0x36b85e[_0x434f62(0x209)](_0x19ef6c-_0x4a6be1,0x0),_0x36b85e[_0x434f62(0x14b)](_0x19ef6c-_0x4a6be1,_0x4a6be1,_0x4a6be1,Math['PI']*0x3/0x2,0x0,!0x1),_0x36b85e[_0x434f62(0x209)](_0x19ef6c,_0x4084fd-_0x17148c),_0x36b85e[_0x434f62(0x14b)](_0x19ef6c-_0x17148c,_0x4084fd-_0x17148c,_0x17148c,0x0,Math['PI']/0x2,!0x1),_0x36b85e[_0x434f62(0x209)](0x0,_0x4084fd),_0x36b85e[_0x434f62(0x209)](0x0,_0x4fe4dd),_0x36b85e[_0x434f62(0x14b)](_0x4fe4dd,_0x4fe4dd,_0x4fe4dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36b85e[_0x434f62(0x1d3)](),_0x5c3a00[_0x434f62(0x322)]&&(_0x36b85e['save'](),_0x36b85e[_0x434f62(0x3d8)]=_0x5c3a00[_0x434f62(0x322)],_0x5c3a00['fillRule']==='evenodd'?_0x36b85e[_0x434f62(0x322)](_0x434f62(0x3e6)):_0x36b85e[_0x434f62(0x322)](),_0x36b85e[_0x434f62(0x19f)]());}class wt extends _0x1626cc{constructor(_0x14dd1e,_0x3122a3){const _0x339530=_0x50a7d0;super(_0x14dd1e,_0x3122a3),g(this,_0x339530(0x3f5)),g(this,_0x339530(0x486)),(this[_0x339530(0x3f5)]=_0x3122a3==null?void 0x0:_0x3122a3[_0x339530(0x3f5)],this[_0x339530(0x486)]=_0x3122a3==null?void 0x0:_0x3122a3['text']);}static['drawWith'](_0x2dbd8e,_0x2f2af8){const _0x42239a=_0x50a7d0,{text:_0x3f967b,color:_0x339e2c}=_0x2f2af8;_0x2dbd8e[_0x42239a(0x1c4)](),_0x2dbd8e['font']=_0x42239a(0x36d);const _0x258391=_0x2dbd8e[_0x42239a(0x2d7)](_0x3f967b)['width'],_0x2ffd55=Math[_0x42239a(0x117)](_0x258391+0x2*Bt,Js);Jo(_0x2dbd8e,{'height':rt,'radius':0x4,'width':_0x2ffd55,'fill':_0x339e2c,'evented':!0x1}),_0x2dbd8e['fillStyle']=_0x42239a(0x184);const _0x31b586=Bt,_0x548576=rt-Xo,_0x4059e5=Js-0x2*Bt;if(_0x258391>_0x4059e5){let _0x17caad='',_0x5f328b=0x0;for(const _0x2c8133 of _0x3f967b){const _0x40e0ae=_0x2dbd8e['measureText'](_0x2c8133)[_0x42239a(0x2ca)];if(_0x5f328b+_0x40e0ae<=_0x4059e5-_0x2dbd8e[_0x42239a(0x2d7)](_0x42239a(0x3ed))[_0x42239a(0x2ca)])_0x17caad+=_0x2c8133,_0x5f328b+=_0x40e0ae;else{_0x17caad+='...';break;}}_0x2dbd8e['fillText'](_0x17caad,_0x31b586,_0x548576);}else _0x2dbd8e[_0x42239a(0x254)](_0x3f967b,_0x31b586,_0x548576);_0x2dbd8e[_0x42239a(0x19f)]();}[_0x50a7d0(0x1f5)](_0x5f2c9d){const _0x2a4e46=_0x50a7d0;wt[_0x2a4e46(0x2e4)](_0x5f2c9d,this);}}const kt='collab-text-anchor-',Zo=_0x50a7d0(0x1e0),Qo=_0x50a7d0(0x2e0),Je=0x6,ea=1.5,Wt=0x4,ta=1.5,sa=_0x50a7d0(0x298);class Zs{constructor(_0x325cb3,_0xc87e7c,_0x268ce2,_0x3c536a){const _0x58a8ee=_0x50a7d0;g(this,_0x58a8ee(0x38f),[]),g(this,_0x58a8ee(0x11c),null),g(this,_0x58a8ee(0x4ce),null),g(this,_0x58a8ee(0x327),null),g(this,_0x58a8ee(0x3d9),null),g(this,_0x58a8ee(0x399),null),(this[_0x58a8ee(0x38e)]=_0x325cb3,this[_0x58a8ee(0x456)]=_0xc87e7c,this[_0x58a8ee(0x37b)]=_0x268ce2,this[_0x58a8ee(0xda)]=_0x3c536a,this[_0x58a8ee(0x1b5)]());}set[_0x50a7d0(0x1d1)](_0x1a0bc8){const _0x2396cd=_0x50a7d0;_0x1a0bc8?(this[_0x2396cd(0x327)]&&this[_0x2396cd(0x327)][_0x2396cd(0x1dc)](),this[_0x2396cd(0x4ce)]&&this[_0x2396cd(0x4ce)]['show']()):(this[_0x2396cd(0x327)]&&this[_0x2396cd(0x327)]['show'](),this[_0x2396cd(0x4ce)]&&this[_0x2396cd(0x4ce)][_0x2396cd(0x1dc)]());}[_0x50a7d0(0x45c)](){const _0x2386a6=_0x50a7d0;for(const _0x2391fc of this['_shapes'])_0x2391fc[_0x2386a6(0x45c)]();this[_0x2386a6(0x4ce)]&&this[_0x2386a6(0x4ce)][_0x2386a6(0x45c)](),this[_0x2386a6(0x327)]&&this[_0x2386a6(0x327)][_0x2386a6(0x45c)](),this[_0x2386a6(0x11c)]&&this[_0x2386a6(0x11c)][_0x2386a6(0x45c)](),this[_0x2386a6(0x399)]&&this[_0x2386a6(0x399)]();}[_0x50a7d0(0x1b5)](){const _0x3a6ce3=_0x50a7d0;var _0x1c478e;const {_docSkeleton:_0x1e3f1,_document:_0x169ca5}=this,{color:_0x77cb67,name:_0x5e0f02,ranges:_0x4e4d29}=this[_0x3a6ce3(0x38e)],_0xc1ac40=_0x169ca5[_0x3a6ce3(0x454)](),{docsLeft:_0x4030a9,docsTop:_0x4c02c9}=_0xc1ac40,_0x4b5f12=new _0x34ed6a(_0xc1ac40,_0x1e3f1);for(const {startOffset:_0x5ce112,endOffset:_0x114150,rangeType:_0x36f36f,segmentId:_0x159caa,segmentPage:_0x204c68,collapsed:_0x3f702c,isActive:_0x4214e2}of _0x4e4d29){const _0xd70088=_0x1e3f1[_0x3a6ce3(0x44c)](_0x5ce112,!0x0,_0x159caa,_0x204c68);let _0xf90af4=_0x1e3f1[_0x3a6ce3(0x44c)](_0x114150,!0x0,_0x159caa,_0x204c68);if(_0xf90af4==null&&(_0xf90af4=_0x1e3f1[_0x3a6ce3(0x44c)](_0x114150-0x1,!0x1,_0x159caa,_0x204c68)),_0x4214e2){const {contentBoxPointGroup:_0x3e1a66}=_0x4b5f12[_0x3a6ce3(0x25f)](_0xf90af4,_0xf90af4);if(_0x3e1a66[_0x3a6ce3(0x1d0)]===0x0)continue;this['_drawAnchor'](_0x77cb67,_0x3e1a66,_0x4030a9,_0x4c02c9,_0x5e0f02),this[_0x3a6ce3(0x399)]=this[_0x3a6ce3(0x393)]();}if(_0xd70088&&_0xf90af4){if(_0x36f36f===_0x2b344d[_0x3a6ce3(0x357)]){const _0x410b91=new _0x16a980(_0xc1ac40,_0x1e3f1),{pointGroup:_0x51a979}=(_0x1c478e=_0x410b91[_0x3a6ce3(0x25f)](_0xd70088,_0xf90af4))!=null?_0x1c478e:{};if(_0x51a979==null||_0x51a979[_0x3a6ce3(0x1d0)]===0x0)continue;this[_0x3a6ce3(0x338)](_0x77cb67,_0x51a979,_0x4030a9,_0x4c02c9);}else{if(!_0x3f702c){const {borderBoxPointGroup:_0x48098c}=_0x4b5f12[_0x3a6ce3(0x25f)](_0xd70088,_0xf90af4);if(_0x48098c['length']===0x0)continue;this[_0x3a6ce3(0x46b)](_0x77cb67,_0x48098c,_0x4030a9,_0x4c02c9);}}}}}['_drawAnchor'](_0x3a1b81,_0x4f7a23,_0xdb37de,_0x11bca8,_0x196d96){const _0x3c0dd2=_0x50a7d0,_0x461ebe=this[_0x3c0dd2(0x1d7)](_0x4f7a23),{left:_0xd6c73c,top:_0xdd7288,height:_0x493130}=_0x461ebe,_0x59e858=this[_0x3c0dd2(0x362)](),_0x570c3a=ta/_0x59e858,_0x201292=new _0x502301(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8,'height':_0x493130,'width':ea,'fill':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'strokeWidth':_0x570c3a,'stroke':sa,'evented':!0x0});this[_0x3c0dd2(0x11c)]=_0x201292,this['_scene'][_0x3c0dd2(0x154)](_0x201292,_0x2d2bdf);const _0x17eceb=new _0x502301(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8-Wt/0x2,'height':Wt,'width':Wt,'fill':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'strokeWidth':0x0,'stroke':_0x3a1b81||_0x267fcd(_0x461fc5[_0x3c0dd2(0x15f)],0x0),'evented':!0x1});this[_0x3c0dd2(0x327)]=_0x17eceb,this[_0x3c0dd2(0x456)]['addObject'](_0x17eceb,_0x2d2bdf);const _0x4e2e5f=new wt(kt+_0x378638[_0x3c0dd2(0x12a)](Je),{'left':_0xd6c73c+_0xdb37de-_0x570c3a,'top':_0xdd7288+_0x11bca8-rt,'text':_0x196d96,'color':_0x3a1b81});this['_textBubble']=_0x4e2e5f,this['_scene']['addObject'](_0x4e2e5f,_0x2d2bdf),this[_0x3c0dd2(0x1d1)]=!0x1;}[_0x50a7d0(0x393)](){const _0x18f5cf=_0x50a7d0,_0x5e2bdb=this[_0x18f5cf(0x11c)][_0x18f5cf(0x3ab)][_0x18f5cf(0x1c9)](()=>{const _0x5861e6=_0x18f5cf;this[_0x5861e6(0x1d1)]=!0x0;}),_0x59f13b=this['_anchor'][_0x18f5cf(0x1ac)]['subscribeEvent'](()=>{const _0x369a6a=_0x18f5cf;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x369a6a(0x3d9)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x209a59=_0x18f5cf;_0x5e2bdb[_0x209a59(0x4b2)](),_0x59f13b[_0x209a59(0x4b2)]();};}['_drawTextRange'](_0x3a132d,_0x46f0cb,_0xdff8c9,_0x5d9d21){const _0x445c01=_0x50a7d0,_0x447d8e=new _0x3567ae(_0x3a132d)[_0x445c01(0x398)](0.2)['toRgbString'](),_0x3cd262=new _0x2a0302(Zo+_0x378638[_0x445c01(0x12a)](Je),{'pointsGroup':_0x46f0cb,'fill':_0x447d8e||_0x267fcd(_0x461fc5[_0x445c01(0x15f)],0.2),'left':_0xdff8c9,'top':_0x5d9d21,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x445c01(0x38f)][_0x445c01(0xc6)](_0x3cd262),this['_scene'][_0x445c01(0x154)](_0x3cd262,_0x2d2bdf);}[_0x50a7d0(0x338)](_0x52d8a2,_0x11a8f7,_0x265adb,_0x5ee66f){const _0x4e3703=_0x50a7d0,_0x11383c=new _0x3567ae(_0x52d8a2)[_0x4e3703(0x398)](0.2)[_0x4e3703(0x49a)](),_0x5a7ce4=new _0x2a0302(Qo+_0x378638[_0x4e3703(0x12a)](Je),{'pointsGroup':_0x11a8f7,'fill':_0x11383c||_0x267fcd(_0x461fc5[_0x4e3703(0x15f)],0.2),'left':_0x265adb,'top':_0x5ee66f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e3703(0x38f)]['push'](_0x5a7ce4),this['_scene'][_0x4e3703(0x154)](_0x5a7ce4,_0x2d2bdf);}[_0x50a7d0(0x1d7)](_0x4c7e4e){const _0x52802d=_0x4c7e4e[0x0],_0x1f974b=_0x52802d[0x0],_0x3fee62=_0x52802d[0x2],{x:_0x539afe,y:_0x5b92f7}=_0x1f974b,{x:_0x781ef,y:_0x396d99}=_0x3fee62;return{'left':_0x539afe,'top':_0x5b92f7,'width':_0x781ef-_0x539afe,'height':_0x396d99-_0x5b92f7};}[_0x50a7d0(0x362)](){const _0xc1a347=_0x50a7d0,{scaleX:_0xec05af,scaleY:_0x49c86f}=this[_0xc1a347(0x456)]['getAncestorScale']();return Math[_0xc1a347(0x319)](_0xec05af,_0x49c86f);}}var ia=Object[_0x50a7d0(0x15c)],ra=Object[_0x50a7d0(0x18b)],na=(_0x1672c6,_0x336655,_0x359bb7,_0x3c012a)=>{const _0x5c4413=_0x50a7d0;for(var _0x241326=_0x3c012a>0x1?void 0x0:_0x3c012a?ra(_0x336655,_0x359bb7):_0x336655,_0x36669d=_0x1672c6[_0x5c4413(0x1d0)]-0x1,_0x1d7011;_0x36669d>=0x0;_0x36669d--)(_0x1d7011=_0x1672c6[_0x36669d])&&(_0x241326=(_0x3c012a?_0x1d7011(_0x336655,_0x359bb7,_0x241326):_0x1d7011(_0x241326))||_0x241326);return _0x3c012a&&_0x241326&&ia(_0x336655,_0x359bb7,_0x241326),_0x241326;},ct=(_0x3dc01e,_0x235e7b)=>(_0x1223a,_0x1fb885)=>_0x235e7b(_0x1223a,_0x1fb885,_0x3dc01e);let cs=class extends _0x2983d9{constructor(_0x2886fd,_0x40a0ba,_0x2b17f6,_0x20ccdf,_0x5aaaf0){const _0x51414b=_0x50a7d0;super(),g(this,'_cursorShapes',[]),g(this,_0x51414b(0x1a2),[]),(this['_context']=_0x2886fd,this[_0x51414b(0x446)]=_0x40a0ba,this[_0x51414b(0x12f)]=_0x2b17f6,this['_commandService']=_0x20ccdf,this[_0x51414b(0x3da)]=_0x5aaaf0,this['_init']());}['_init'](){const _0x228864=_0x50a7d0,_0x412c0d=this[_0x228864(0x385)][_0x228864(0x258)],_0xd4348f=this['_docSkeletonManagerService'];this[_0x228864(0x450)](_0x5bce60([this[_0x228864(0x12f)]['getCollabCursors$'](_0x412c0d),this[_0x228864(0x3da)][_0x228864(0x4c4)]])['pipe'](_0xe5458e(([_0x152a07,_0x5e2508])=>({'skeleton':_0xd4348f[_0x228864(0x14d)](),'cursors':[..._0x152a07['values']()][_0x228864(0x232)](_0x21c5a4=>({..._0x21c5a4,'color':_0x5e2508[_0x21c5a4[_0x228864(0x3f5)]]}))})))[_0x228864(0x479)](_0x23c809=>{const _0xa8ca6c=_0x228864;if(this[_0xa8ca6c(0x488)](),_0x23c809){const {skeleton:_0x199873,cursors:_0x1e68fe}=_0x23c809;this[_0xa8ca6c(0x261)](_0x199873,_0x1e68fe);}})),this[_0x228864(0xb2)](),this[_0x228864(0x2e5)]();}[_0x50a7d0(0x261)](_0x3d6f1a,_0x4171f9){const _0x37098d=_0x50a7d0,{scene:_0x498f07,mainComponent:_0x46d16f}=this['_context'],_0x14c207=_0x4171f9[_0x37098d(0x360)](_0x1c5cb7=>new Zs(_0x1c5cb7,_0x498f07,_0x3d6f1a,_0x46d16f));this['_cursorShapes']=_0x14c207,this[_0x37098d(0x1a2)]=_0x4171f9;}['_refreshCollabCursors'](){const _0x1b1a78=_0x50a7d0;this[_0x1b1a78(0x488)]();const {scene:_0x50c40c,mainComponent:_0x370d7b}=this['_context'],_0x20c487=this[_0x1b1a78(0x446)][_0x1b1a78(0x14d)](),_0x27ca94=this['_cursors']['map'](_0x38f8f8=>new Zs(_0x38f8f8,_0x50c40c,_0x20c487,_0x370d7b));this[_0x1b1a78(0x18e)]=_0x27ca94;}[_0x50a7d0(0x488)](){const _0x4b1afe=_0x50a7d0;this['_cursorShapes']['forEach'](_0x3c6119=>_0x3c6119[_0x4b1afe(0x45c)]()),this['_cursorShapes']=[];}[_0x50a7d0(0x2e5)](){const _0x4d14d6=_0x50a7d0,_0x2630ff=[_0x57b946['id']];this['disposeWithMe'](this[_0x4d14d6(0x293)]['onCommandExecuted'](_0x14eab6=>{const _0x2a2dfb=_0x4d14d6;_0x2630ff[_0x2a2dfb(0x409)](_0x14eab6['id'])&&_0x14eab6[_0x2a2dfb(0x4a8)][_0x2a2dfb(0x258)]===this[_0x2a2dfb(0x385)]['unitId']&&this[_0x2a2dfb(0x10c)]();}));}['_initResize'](){const _0x17fb0c=_0x50a7d0;this[_0x17fb0c(0x450)](_0x3f0bbd(this[_0x17fb0c(0x385)][_0x17fb0c(0x478)][_0x17fb0c(0xed)])['pipe'](_0x7d8aef(_0x32d4b1=>_0x32d4b1[_0x17fb0c(0x105)]===_0xe166d6['resize']),_0x755a89(0x10))[_0x17fb0c(0x479)](()=>{const _0x39d90b=_0x17fb0c;this[_0x39d90b(0x10c)]();}));}};cs=na([ct(0x1,_0x33026a(_0x10e516)),ct(0x2,_0x33026a(Ve)),ct(0x3,_0x2e05f8),ct(0x4,_0x33026a(_0x466ca0))],cs);const oa=0x1,aa=1.5;class ca extends _0x1626cc{constructor(_0x56685e,_0x332a76){const _0x8b1299=_0x50a7d0;super(_0x56685e,_0x332a76),g(this,_0x8b1299(0x1e6)),g(this,_0x8b1299(0x252),!0x1),g(this,_0x8b1299(0x2e2)),g(this,_0x8b1299(0x3d0),''),g(this,_0x8b1299(0x31e),_0x8b1299(0x32a)),g(this,_0x8b1299(0x3f3)),(_0x332a76&&this[_0x8b1299(0x28a)](_0x332a76),this[_0x8b1299(0x3ab)]['subscribeEvent'](()=>this[_0x8b1299(0x28a)]({'hovered':!0x0})),this[_0x8b1299(0x1ac)][_0x8b1299(0x1c9)](()=>this[_0x8b1299(0x28a)]({'hovered':!0x1})));}[_0x50a7d0(0x28a)](_0x340a41){const _0x16beb7=_0x50a7d0;var _0x5e5840,_0x54eeee,_0x21aa52,_0x480513,_0x1edc68,_0x32348b;this[_0x16beb7(0x1e6)]=(_0x5e5840=_0x340a41[_0x16beb7(0x3f5)])!=null?_0x5e5840:this[_0x16beb7(0x1e6)],this[_0x16beb7(0x252)]=(_0x54eeee=_0x340a41[_0x16beb7(0x173)])!=null?_0x54eeee:this[_0x16beb7(0x252)],this['_range']=(_0x21aa52=_0x340a41[_0x16beb7(0x2ba)])!=null?_0x21aa52:this[_0x16beb7(0x2e2)],this[_0x16beb7(0x3d0)]=(_0x480513=_0x340a41[_0x16beb7(0x125)])!=null?_0x480513:this[_0x16beb7(0x3d0)],this[_0x16beb7(0x31e)]=(_0x1edc68=_0x340a41['labelPosition'])!=null?_0x1edc68:this[_0x16beb7(0x31e)],this[_0x16beb7(0x3f3)]=(_0x32348b=_0x340a41[_0x16beb7(0x47e)])!=null?_0x32348b:this[_0x16beb7(0x3f3)],this['transformByState']({'width':_0x340a41[_0x16beb7(0x2ca)],'height':_0x340a41[_0x16beb7(0x452)]});}[_0x50a7d0(0x3c1)](_0x5c1614){const _0x25de5a=_0x50a7d0,{row:_0x159881,column:_0x2b588c}=_0x5c1614;if(_0x159881>=this['_range'][_0x25de5a(0x216)]&&_0x159881<=this[_0x25de5a(0x2e2)]['endRow']&&_0x2b588c>=this['_range'][_0x25de5a(0x148)]&&_0x2b588c<=this['_range'][_0x25de5a(0x2d3)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x25de5a(0x28a)]({'hovered':!0x1});}['triggerDblclick'](_0xbc1ab2){return!0x1;}[_0x50a7d0(0x1f5)](_0xda9457){const _0x1a32ab=_0x50a7d0;_0x502301[_0x1a32ab(0x2e4)](_0xda9457,{'width':this[_0x1a32ab(0x2ca)],'height':this[_0x1a32ab(0x452)],'strokeWidth':aa,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1a32ab(0x252)]&&(_0xda9457[_0x1a32ab(0x1c4)](),_0xda9457[_0x1a32ab(0x1c3)](0x1,0x0,0x0,0x1,this[_0x1a32ab(0x2ca)],this[_0x1a32ab(0x31e)]===_0x1a32ab(0xe2)?0x0:-rt),wt[_0x1a32ab(0x2e4)](_0xda9457,{'text':this[_0x1a32ab(0x3d0)],'color':this['_color']}),_0xda9457[_0x1a32ab(0x19f)]());}}var ha=Object[_0x50a7d0(0x15c)],la=Object[_0x50a7d0(0x18b)],_a=(_0x409b34,_0x583c62,_0x5b05e2,_0x2352a5)=>{for(var _0x4ab2c2=_0x2352a5>0x1?void 0x0:_0x2352a5?la(_0x583c62,_0x5b05e2):_0x583c62,_0x3ea81a=_0x409b34['length']-0x1,_0x5e5f63;_0x3ea81a>=0x0;_0x3ea81a--)(_0x5e5f63=_0x409b34[_0x3ea81a])&&(_0x4ab2c2=(_0x2352a5?_0x5e5f63(_0x583c62,_0x5b05e2,_0x4ab2c2):_0x5e5f63(_0x4ab2c2))||_0x4ab2c2);return _0x2352a5&&_0x4ab2c2&&ha(_0x583c62,_0x5b05e2,_0x4ab2c2),_0x4ab2c2;},Ft=(_0x1a5b5f,_0x3d2f54)=>(_0x4723a8,_0x362580)=>_0x3d2f54(_0x4723a8,_0x362580,_0x1a5b5f);const ua=0x1389;let hs=class extends _0x2983d9{constructor(_0x47fedc,_0x5a6a31,_0x194c73,_0x1d3fb6){const _0x31f7fb=_0x50a7d0;super(),g(this,_0x31f7fb(0x1a2),new Set()),g(this,'_lastPointer',null),(this[_0x31f7fb(0x385)]=_0x47fedc,this[_0x31f7fb(0x438)]=_0x5a6a31,this[_0x31f7fb(0x12f)]=_0x194c73,this['_themeService']=_0x1d3fb6,this[_0x31f7fb(0x1a9)]());}[_0x50a7d0(0x1a9)](){const _0x4ed610=_0x50a7d0;this[_0x4ed610(0x438)]['currentSkeleton$'][_0x4ed610(0x157)](_0x3d76fb(this['dispose$']),_0x147bb3(_0xc4d912=>{const _0x3344f1=_0x4ed610;if(_0xc4d912){const _0x1d7ea2=_0xc4d912[_0x3344f1(0x186)];return _0x5bce60(this['_collabCursorController'][_0x3344f1(0x430)](this['_context']['unitId']),this[_0x3344f1(0x3da)][_0x3344f1(0x4c4)])[_0x3344f1(0x157)](_0xe5458e(([_0x142f6c,_0x48725e])=>{const _0x4f84d1=_0x3344f1,_0x1c39ea=new Map();return _0x142f6c[_0x4f84d1(0x375)]((_0x34ae65,_0x4afa5d)=>{const _0x47f850=_0x4f84d1;if(_0x34ae65[_0x47f850(0x3d4)]===_0x1d7ea2){const _0xff1188={..._0x34ae65};_0xff1188['color']=_0x48725e[_0x34ae65[_0x47f850(0x3f5)]],_0x1c39ea['set'](_0x4afa5d,_0xff1188);}}),{'skeleton':_0xc4d912,'cursors':_0x1c39ea};}));}return _0x40848f({'skeleton':null,'cursors':new Map()});}))[_0x4ed610(0x479)](({skeleton:_0x2dc729,cursors:_0x3f8281})=>{const _0xc0f90f=_0x4ed610;this['_removeCollabCursors'](),_0x2dc729&&this[_0xc0f90f(0x261)](_0x2dc729,_0x3f8281);}),this[_0x4ed610(0x438)][_0x4ed610(0x1fd)][_0x4ed610(0x479)](_0x4ba1fe=>{const _0x4a33f7=_0x4ed610;if(_0x4ba1fe==null)return;const {skeleton:_0x20f5da}=_0x4ba1fe,{scene:_0x373cff}=this[_0x4a33f7(0x385)];_0x373cff['onPointerMove$'][_0x4a33f7(0x1c9)](_0x10313f(_0x598267=>{const _0xe6bf5c=_0x4a33f7;var _0x2bae5b,_0x3d977a;const {offsetX:_0x1a74ad,offsetY:_0x441ff8}=_0x598267,{x:_0x28b425,y:_0x436a93}=_0x373cff['getRelativeToViewportCoord'](_0x47811b[_0xe6bf5c(0x36e)]([_0x1a74ad,_0x441ff8])),{scaleX:_0x20134e,scaleY:_0x407286}=_0x373cff[_0xe6bf5c(0x2d8)](),_0x1ce047=_0x373cff[_0xe6bf5c(0x303)](_0x54d40e['VIEW_MAIN']),_0x30868e=_0x373cff[_0xe6bf5c(0xf3)](_0x47811b['FromArray']([_0x28b425,_0x436a93]),_0x1ce047),_0x167e88=_0x20f5da['getCellPositionByOffset'](_0x1a74ad,_0x441ff8,_0x20134e,_0x407286,_0x30868e);((_0x2bae5b=this['_lastPointer'])==null?void 0x0:_0x2bae5b[_0xe6bf5c(0x49b)])===_0x167e88[_0xe6bf5c(0x49b)]&&((_0x3d977a=this[_0xe6bf5c(0x244)])==null?void 0x0:_0x3d977a[_0xe6bf5c(0x35a)])===_0x167e88[_0xe6bf5c(0x35a)]||this[_0xe6bf5c(0x1a2)]['forEach'](_0x2860b9=>{_0x2860b9['onMouseMove'](_0x167e88);});},0x64));});}[_0x50a7d0(0x261)](_0x4fd153,_0x427f4d){const _0x26b6d1=_0x50a7d0;var _0x2b9155;const _0x3919e5=(_0x2b9155=this[_0x26b6d1(0x438)][_0x26b6d1(0x4a5)]())==null?void 0x0:_0x2b9155['skeleton'];if(!_0x3919e5)return;const _0x2e601a=this[_0x26b6d1(0x315)]();if(!_0x2e601a)return;this['_cursors']['forEach'](_0x26929a=>{const _0x19d744=_0x26b6d1;_0x26929a[_0x19d744(0x493)]();});const {scene:_0x3cbbc9}=_0x2e601a,_0x84a473=da(Array[_0x26b6d1(0x3bf)](_0x427f4d[_0x26b6d1(0x410)]()))['map'](_0x517841=>{const _0x418dd2=_0x26b6d1,{color:_0x515b96,range:_0x258fa2,name:_0x3d29a3,selection:_0x4b7c4c,sheetID:_0x27a21c}=_0x517841,{startColumn:_0x337128,startRow:_0x33cac0,endColumn:_0xe1e4de,endRow:_0x30ca95}=_0x258fa2,_0x42a6e2=_0x1070d0(_0x33cac0,_0x337128,_0x3cbbc9,_0x3919e5),_0x5d3dde=_0x1070d0(_0x30ca95,_0xe1e4de,_0x3cbbc9,_0x3919e5),{columnHeaderHeightAndMarginTop:_0x51cc24}=_0x3919e5,{startX:_0x3415eb,startY:_0x19933f}=_0x42a6e2,{endX:_0x290dbf,endY:_0x584691}=_0x5d3dde,_0x5a9acd=_0x290dbf-_0x3415eb,_0x3f2d3d=_0x584691-_0x19933f,_0x467391={'labelPosition':_0x19933f-_0x51cc24>=rt?_0x418dd2(0x32a):'bottom','sheetID':_0x27a21c,'range':_0x258fa2,'color':_0x515b96,'name':_0x3d29a3,'selection':_0x4b7c4c,'left':_0x3415eb,'top':_0x19933f,'width':_0x5a9acd,'height':_0x3f2d3d,'evented':!0x1,'zIndex':ua};return new ca(_0x3d29a3,_0x467391);});_0x3cbbc9['addObjects'](_0x84a473,oa),this[_0x26b6d1(0x1a2)]=new Set(_0x84a473);}[_0x50a7d0(0x488)](){const _0x24c34f=_0x50a7d0;var _0x121099;(_0x121099=this[_0x24c34f(0x1a2)])==null||_0x121099[_0x24c34f(0x375)](_0xe05d4e=>_0xe05d4e[_0x24c34f(0x45c)]());}['_getSheetObject'](){const _0x49a8a9=_0x50a7d0;return _0x47d2a2(this['_context'][_0x49a8a9(0x1d9)],this['_context']);}};hs=_a([Ft(0x1,_0x33026a(_0xb45b1b)),Ft(0x2,_0x33026a(Ve)),Ft(0x3,_0x33026a(_0x466ca0))],hs);function da(_0x17b230){const _0x5edca7=_0x50a7d0,_0x55e1e5=new Map();return _0x17b230['forEach'](_0x6df9d8=>{const _0x408d2f=_0xc944;if(_0x55e1e5[_0x408d2f(0x28d)](_0x6df9d8[_0x408d2f(0x227)])){const _0x281314=_0x55e1e5['get'](_0x6df9d8[_0x408d2f(0x227)]);_0x281314[_0x408d2f(0x125)]+=',\x20'+_0x6df9d8['name'];}else _0x55e1e5[_0x408d2f(0x2ce)](_0x6df9d8['selection'],_0x6df9d8);}),Array[_0x5edca7(0x3bf)](_0x55e1e5['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0xfc4ad5){const _0x43d9ac=_0x50a7d0;return _0xfc4ad5&&_0xfc4ad5[_0x43d9ac(0x304)]&&Object[_0x43d9ac(0x155)][_0x43d9ac(0x2ea)][_0x43d9ac(0x2a1)](_0xfc4ad5,_0x43d9ac(0x17c))?_0xfc4ad5[_0x43d9ac(0x17c)]:_0xfc4ad5;}var Bi={'exports':{}},Dt={},fa=_0x4b9c5e,va=Symbol[_0x50a7d0(0x24d)](_0x50a7d0(0x370)),ma=Symbol[_0x50a7d0(0x24d)](_0x50a7d0(0x4c8)),pa=Object[_0x50a7d0(0x155)][_0x50a7d0(0x2ea)],ga=fa['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x50a7d0(0x242)],Sa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function ki(_0xa25987,_0x1e629c,_0x1f415c){const _0x4e72be=_0x50a7d0;var _0x5e9d63,_0x3f448f={},_0x4e66ab=null,_0x2d8830=null;_0x1f415c!==void 0x0&&(_0x4e66ab=''+_0x1f415c),_0x1e629c['key']!==void 0x0&&(_0x4e66ab=''+_0x1e629c[_0x4e72be(0x31f)]),_0x1e629c[_0x4e72be(0x351)]!==void 0x0&&(_0x2d8830=_0x1e629c[_0x4e72be(0x351)]);for(_0x5e9d63 in _0x1e629c)pa[_0x4e72be(0x2a1)](_0x1e629c,_0x5e9d63)&&!Sa[_0x4e72be(0x2ea)](_0x5e9d63)&&(_0x3f448f[_0x5e9d63]=_0x1e629c[_0x5e9d63]);if(_0xa25987&&_0xa25987[_0x4e72be(0x2b0)]){for(_0x5e9d63 in(_0x1e629c=_0xa25987['defaultProps'],_0x1e629c))_0x3f448f[_0x5e9d63]===void 0x0&&(_0x3f448f[_0x5e9d63]=_0x1e629c[_0x5e9d63]);}return{'$$typeof':va,'type':_0xa25987,'key':_0x4e66ab,'ref':_0x2d8830,'props':_0x3f448f,'_owner':ga[_0x4e72be(0x29c)]};}Dt['Fragment']=ma,Dt[_0x50a7d0(0x23f)]=ki,Dt[_0x50a7d0(0x320)]=ki,Bi[_0x50a7d0(0x480)]=Dt;var Pe=Bi[_0x50a7d0(0x480)],se=function(){const _0xc8a612=_0x50a7d0;return se=Object[_0xc8a612(0x337)]||function(_0x470526){const _0x4984d8=_0xc8a612;for(var _0x1aa514,_0x47de3a=0x1,_0x568002=arguments[_0x4984d8(0x1d0)];_0x47de3a<_0x568002;_0x47de3a++){_0x1aa514=arguments[_0x47de3a];for(var _0xa8f7c2 in _0x1aa514)Object[_0x4984d8(0x155)]['hasOwnProperty']['call'](_0x1aa514,_0xa8f7c2)&&(_0x470526[_0xa8f7c2]=_0x1aa514[_0xa8f7c2]);}return _0x470526;},se[_0xc8a612(0x335)](this,arguments);},Ia=function(_0x2661f6,_0x52f355){const _0x3dffdd=_0x50a7d0;var _0xfadb02={};for(var _0x1264ff in _0x2661f6)Object[_0x3dffdd(0x155)]['hasOwnProperty'][_0x3dffdd(0x2a1)](_0x2661f6,_0x1264ff)&&_0x52f355['indexOf'](_0x1264ff)<0x0&&(_0xfadb02[_0x1264ff]=_0x2661f6[_0x1264ff]);if(_0x2661f6!=null&&typeof Object[_0x3dffdd(0x391)]==_0x3dffdd(0x36c)){for(var _0x50b907=0x0,_0x1264ff=Object[_0x3dffdd(0x391)](_0x2661f6);_0x50b907<_0x1264ff[_0x3dffdd(0x1d0)];_0x50b907++)_0x52f355['indexOf'](_0x1264ff[_0x50b907])<0x0&&Object['prototype'][_0x3dffdd(0x10b)][_0x3dffdd(0x2a1)](_0x2661f6,_0x1264ff[_0x50b907])&&(_0xfadb02[_0x1264ff[_0x50b907]]=_0x2661f6[_0x1264ff[_0x50b907]]);}return _0xfadb02;},ys=_0x447627(function(_0x4a20bb,_0x430225){const _0x1a002f=_0x50a7d0;var _0xa0b81=_0x4a20bb[_0x1a002f(0x132)],_0x5f2f96=_0x4a20bb['id'],_0xbf310e=_0x4a20bb[_0x1a002f(0x45f)],_0x1136d4=_0x4a20bb[_0x1a002f(0x229)],_0x511032=Ia(_0x4a20bb,[_0x1a002f(0x132),'id',_0x1a002f(0x45f),_0x1a002f(0x229)]),_0x4a8160=_0x1a002f(0x33f)[_0x1a002f(0x10e)](_0x5f2f96,'\x20')['concat'](_0xbf310e||'')[_0x1a002f(0xd9)](),_0xd22f1a=_0x244bad('_'[_0x1a002f(0x10e)](ba()));return Wi(_0xa0b81,''[_0x1a002f(0x10e)](_0x5f2f96),{'defIds':_0xa0b81['defIds'],'idSuffix':_0xd22f1a[_0x1a002f(0x29c)]},se({'ref':_0x430225,'className':_0x4a8160},_0x511032),_0x1136d4);});function Wi(_0x490c1d,_0x2288ac,_0x2dfcba,_0x359109,_0x42b62b){const _0x35eb12=_0x50a7d0;return _0x513a66(_0x490c1d[_0x35eb12(0x3ef)],se(se({'key':_0x2288ac},Ca(_0x490c1d,_0x2dfcba,_0x42b62b)),_0x359109),(Ea(_0x490c1d,_0x2dfcba)[_0x35eb12(0x181)]||[])[_0x35eb12(0x360)](function(_0x2e46fa,_0x5e194b){const _0x26d1a6=_0x35eb12;return Wi(_0x2e46fa,''['concat'](_0x2288ac,'-')['concat'](_0x490c1d[_0x26d1a6(0x3ef)],'-')[_0x26d1a6(0x10e)](_0x5e194b),_0x2dfcba,void 0x0,_0x42b62b);}));}function Ca(_0x154cfa,_0x64c966,_0x20707f){const _0x8e219d=_0x50a7d0;var _0x307bc9=se({},_0x154cfa[_0x8e219d(0x340)]);_0x20707f!=null&&_0x20707f[_0x8e219d(0xb6)]&&_0x307bc9[_0x8e219d(0x322)]===_0x8e219d(0xb6)&&(_0x307bc9['fill']=_0x20707f['colorChannel1']);var _0x521d4d=_0x64c966[_0x8e219d(0x380)];return!_0x521d4d||_0x521d4d[_0x8e219d(0x1d0)]===0x0||(_0x154cfa['tag']==='use'&&_0x307bc9[_0x8e219d(0x4c1)]&&(_0x307bc9[_0x8e219d(0x4c1)]=_0x307bc9[_0x8e219d(0x4c1)]+_0x64c966[_0x8e219d(0x1b7)]),Object[_0x8e219d(0x379)](_0x307bc9)[_0x8e219d(0x375)](function(_0x3630fa){const _0x2b5e98=_0x8e219d;var _0x3c7c60=_0x3630fa[0x0],_0x3a545d=_0x3630fa[0x1];typeof _0x3a545d==_0x2b5e98(0x218)&&(_0x307bc9[_0x3c7c60]=_0x3a545d[_0x2b5e98(0x226)](/url\(#(.*)\)/,_0x2b5e98(0xbb)[_0x2b5e98(0x10e)](_0x64c966[_0x2b5e98(0x1b7)],')')));})),_0x307bc9;}function Ea(_0x3c3096,_0x4a31fd){const _0x1d6042=_0x50a7d0;var _0x410b3b,_0x51a933=_0x4a31fd[_0x1d6042(0x380)];return!_0x51a933||_0x51a933[_0x1d6042(0x1d0)]===0x0?_0x3c3096:_0x3c3096[_0x1d6042(0x3ef)]===_0x1d6042(0x214)&&(!((_0x410b3b=_0x3c3096[_0x1d6042(0x181)])===null||_0x410b3b===void 0x0)&&_0x410b3b[_0x1d6042(0x1d0)])?se(se({},_0x3c3096),{'children':_0x3c3096[_0x1d6042(0x181)][_0x1d6042(0x360)](function(_0x57e616){const _0x5dc8d1=_0x1d6042;return typeof _0x57e616[_0x5dc8d1(0x340)]['id']==_0x5dc8d1(0x218)&&_0x51a933&&_0x51a933[_0x5dc8d1(0x299)](_0x57e616['attrs']['id'])>-0x1?se(se({},_0x57e616),{'attrs':se(se({},_0x57e616[_0x5dc8d1(0x340)]),{'id':_0x57e616['attrs']['id']+_0x4a31fd[_0x5dc8d1(0x1b7)]})}):_0x57e616;})}):_0x3c3096;}function ba(){const _0x38213e=_0x50a7d0;return Math[_0x38213e(0x220)]()['toString'](0x24)[_0x38213e(0x19d)](0x2,0x8);}ys['displayName']=_0x50a7d0(0x3b0);var Ta={'tag':'svg','attrs':{'fill':_0x50a7d0(0x1ab),'viewBox':_0x50a7d0(0x2bd),'width':_0x50a7d0(0x271),'height':_0x50a7d0(0x271)},'children':[{'tag':'g','attrs':{'clipPath':_0x50a7d0(0x3cc)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'stroke':_0x50a7d0(0x2ef),'d':_0x50a7d0(0x149),'strokeLinecap':_0x50a7d0(0x34d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x50a7d0(0x214),'attrs':{},'children':[{'tag':_0x50a7d0(0x4bc),'attrs':{'id':_0x50a7d0(0x124)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Fi=_0x447627(function(_0x556ac0,_0x58b91f){const _0x26587f=_0x50a7d0;return _0x513a66(ys,Object[_0x26587f(0x337)]({},_0x556ac0,{'id':_0x26587f(0x46a),'ref':_0x58b91f,'icon':Ta}));});Fi[_0x50a7d0(0x41b)]=_0x50a7d0(0x250);var Ra={'tag':'svg','attrs':{'fill':_0x50a7d0(0x1ab),'viewBox':_0x50a7d0(0x190),'width':_0x50a7d0(0x271),'height':_0x50a7d0(0x271)},'children':[{'tag':'g','attrs':{'clipPath':_0x50a7d0(0x25b)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x50a7d0(0x1cd),'strokeLinecap':_0x50a7d0(0x34d),'strokeLinejoin':_0x50a7d0(0x34d),'strokeWidth':1.2}}]},{'tag':_0x50a7d0(0x214),'attrs':{},'children':[{'tag':_0x50a7d0(0x4bc),'attrs':{'id':_0x50a7d0(0x141)},'children':[{'tag':_0x50a7d0(0x206),'attrs':{'fill':_0x50a7d0(0x1ee),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Vi=_0x447627(function(_0x233b4e,_0x12720c){const _0x7af440=_0x50a7d0;return _0x513a66(ys,Object[_0x7af440(0x337)]({},_0x233b4e,{'id':_0x7af440(0x187),'ref':_0x12720c,'icon':Ra}));});Vi[_0x50a7d0(0x41b)]='OnLineSingle';function Gi(_0x3bcaf0){const _0x5a168e=_0x50a7d0;var _0x1a41b4,_0x5e3221,_0x535f13='';if(typeof _0x3bcaf0=='string'||typeof _0x3bcaf0=='number')_0x535f13+=_0x3bcaf0;else{if(typeof _0x3bcaf0==_0x5a168e(0x3c3)){if(Array[_0x5a168e(0x20e)](_0x3bcaf0)){var _0x2c9810=_0x3bcaf0[_0x5a168e(0x1d0)];for(_0x1a41b4=0x0;_0x1a41b4<_0x2c9810;_0x1a41b4++)_0x3bcaf0[_0x1a41b4]&&(_0x5e3221=Gi(_0x3bcaf0[_0x1a41b4]))&&(_0x535f13&&(_0x535f13+='\x20'),_0x535f13+=_0x5e3221);}else{for(_0x5e3221 in _0x3bcaf0)_0x3bcaf0[_0x5e3221]&&(_0x535f13&&(_0x535f13+='\x20'),_0x535f13+=_0x5e3221);}}}return _0x535f13;}function Oa(){const _0x17b0e6=_0x50a7d0;for(var _0x430360,_0x2e9d73,_0x527667=0x0,_0x5de755='',_0x2d338b=arguments[_0x17b0e6(0x1d0)];_0x527667<_0x2d338b;_0x527667++)(_0x430360=arguments[_0x527667])&&(_0x2e9d73=Gi(_0x430360))&&(_0x5de755&&(_0x5de755+='\x20'),_0x5de755+=_0x2e9d73);return _0x5de755;}const ya=_0x50a7d0(0x45b),wa=_0x50a7d0(0x1c8),Da=_0x50a7d0(0x406),Pa=_0x50a7d0(0x40a),Ua=_0x50a7d0(0x471),Ze={'onlineStatusIcon':ya,'onlineStatusTitle':wa,'onlineStatus':Da,'online':Pa,'offline':Ua};function Na(_0x18f8aa){const _0x218b75=_0x50a7d0;switch(_0x18f8aa){case J[_0x218b75(0x4a2)]:return _0x218b75(0x43c);case J[_0x218b75(0x441)]:return _0x218b75(0x397);case J['FETCH_MISS']:return _0x218b75(0x22f);case J[_0x218b75(0x428)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x218b75(0x36f)]:return _0x218b75(0x490);case J[_0x218b75(0x2d9)]:case J[_0x218b75(0x23b)]:return _0x218b75(0x4a6);}}function Aa(_0x298c4a){const _0x12f807=_0x50a7d0,{status$:_0x327ea0}=_0x298c4a,_0x4ed109=_0x30f937(_0x327ea0,J[_0x12f807(0x428)]),_0x2b3a11=_0x4739ca(_0x21b13d),_0x448825=_0x4739ca(xe),_0x481235=_0x4ed109!==J[_0x12f807(0x4a2)],_0x46c568=_0x2b3a11['t'](Na(_0x4ed109)),_0x3d6c10=Oa(Ze[_0x12f807(0x384)],{[Ze[_0x12f807(0x1bc)]]:_0x481235,[Ze[_0x12f807(0x140)]]:!_0x481235}),_0x34030a=_0x481235?Pe[_0x12f807(0x23f)](Vi,{}):Pe[_0x12f807(0x23f)](Fi,{}),_0x387d26=_0x311bd9(()=>{const _0x5be047=_0x12f807;_0x481235||_0x448825[_0x5be047(0x466)]();},[_0x481235,_0x448825]);function _0x20ec19(){const _0x5e451e=_0x12f807;return Pe[_0x5e451e(0x320)]('div',{'className':_0x3d6c10,'onClick':_0x387d26,'children':[Pe[_0x5e451e(0x23f)](_0x5e451e(0xf0),{'className':Ze[_0x5e451e(0x2dc)],'children':_0x34030a}),Pe[_0x5e451e(0x23f)](_0x5e451e(0xf0),{'className':Ze['onlineStatusTitle'],'children':_0x46c568})]});}return _0x481235?_0x20ec19():Pe[_0x12f807(0x23f)](_0x208dab,{'title':_0x2b3a11['t'](_0x12f807(0x189)),'children':_0x20ec19()});}var Ma=Object[_0x50a7d0(0x15c)],xa=Object['getOwnPropertyDescriptor'],La=(_0x43e91c,_0x14f5e4,_0x4a35e9,_0x549721)=>{const _0x46a9f8=_0x50a7d0;for(var _0x3c4288=_0x549721>0x1?void 0x0:_0x549721?xa(_0x14f5e4,_0x4a35e9):_0x14f5e4,_0x273aaa=_0x43e91c[_0x46a9f8(0x1d0)]-0x1,_0x4c8726;_0x273aaa>=0x0;_0x273aaa--)(_0x4c8726=_0x43e91c[_0x273aaa])&&(_0x3c4288=(_0x549721?_0x4c8726(_0x14f5e4,_0x4a35e9,_0x3c4288):_0x4c8726(_0x3c4288))||_0x3c4288);return _0x549721&&_0x3c4288&&Ma(_0x14f5e4,_0x4a35e9,_0x3c4288),_0x3c4288;},ht=(_0x402010,_0x30fc7b)=>(_0x26b221,_0x13e2f6)=>_0x30fc7b(_0x26b221,_0x13e2f6,_0x402010);let Ct=class extends _0x514939{constructor(_0x1542b1,_0x81f375,_0x12e373,_0x3764ef){const _0x6da674=_0x50a7d0;super(),g(this,_0x6da674(0x390),new _0x22472b(J[_0x6da674(0x428)])),(this['_univerInstanceService']=_0x1542b1,this[_0x6da674(0x268)]=_0x81f375,this['_injector']=_0x12e373,this['_collaborationController']=_0x3764ef,this[_0x6da674(0x144)](),this[_0x6da674(0x4b4)]());}[_0x50a7d0(0x4b4)](){const _0x38a0aa=_0x50a7d0;this['disposeWithMe'](this[_0x38a0aa(0x283)][_0x38a0aa(0x171)]['pipe'](_0x150ba9(()=>{const _0x1306e7=_0x38a0aa,_0x27c827=this['_univerInstanceService'][_0x1306e7(0x311)]();return _0x27c827?this[_0x1306e7(0xc7)][_0x1306e7(0x29e)](_0x27c827[_0x1306e7(0x14f)]()):_0x40848f(null);}),_0x150ba9(_0x3a3a8f=>_0x3a3a8f?_0x3a3a8f[_0x38a0aa(0x361)]:_0x40848f(J[_0x38a0aa(0x428)])))[_0x38a0aa(0x479)](_0x3feb22=>{const _0x28207b=_0x38a0aa;this[_0x28207b(0x390)][_0x28207b(0x492)](_0x3feb22);}));}[_0x50a7d0(0x144)](){const _0x2a1b9d=_0x50a7d0;this[_0x2a1b9d(0x450)](this['_uiPartsService']['registerComponent'](_0x1815bd[_0x2a1b9d(0x2a8)],()=>_0x5acef2($a({'status$':this[_0x2a1b9d(0x390)][_0x2a1b9d(0x1e8)]()}),this[_0x2a1b9d(0x408)])));}};Ct=La([ht(0x0,_0x28b990),ht(0x1,_0x43dd49),ht(0x2,_0x33026a(_0x17dae8)),ht(0x3,_0x33026a(it))],Ct);function $a(_0x19cfe8){const {status$:_0x3d853a}=_0x19cfe8;return function(){return Pe['jsx'](Aa,{'status$':_0x3d853a});};}const Yi=_0x17c099('uni.network.url-service');var Ha=Object['defineProperty'],ja=Object[_0x50a7d0(0x18b)],Ba=(_0x413470,_0x59cc8d,_0x4bc95a,_0x2337a0)=>{for(var _0x47930e=_0x2337a0>0x1?void 0x0:_0x2337a0?ja(_0x59cc8d,_0x4bc95a):_0x59cc8d,_0x2b4997=_0x413470['length']-0x1,_0x53ee34;_0x2b4997>=0x0;_0x2b4997--)(_0x53ee34=_0x413470[_0x2b4997])&&(_0x47930e=(_0x2337a0?_0x53ee34(_0x59cc8d,_0x4bc95a,_0x47930e):_0x53ee34(_0x47930e))||_0x47930e);return _0x2337a0&&_0x47930e&&Ha(_0x59cc8d,_0x4bc95a,_0x47930e),_0x47930e;},ke=(_0x349854,_0x5228c5)=>(_0xfd88fb,_0x15c342)=>_0x5228c5(_0xfd88fb,_0x15c342,_0x349854);let Et=class extends _0x2983d9{constructor(_0x5dd0aa,_0x2b16c8,_0x4cb698,_0x87bef,_0x4d85d6,_0x534ab3){const _0x29f960=_0x50a7d0;super(),this['_urlService']=_0x5dd0aa,this['_logService']=_0x2b16c8,this[_0x29f960(0x293)]=_0x4cb698,this[_0x29f960(0x251)]=_0x87bef,this[_0x29f960(0x38c)]=_0x4d85d6,_0x534ab3?_0x534ab3==null||_0x534ab3['whenReady']()[_0x29f960(0x119)](()=>this[_0x29f960(0x1a9)]()):(this[_0x29f960(0x422)][_0x29f960(0x165)]('[DataLoaderController]',_0x29f960(0x15e)),this[_0x29f960(0x1a9)]());}async['_init'](){const _0x2ba4fa=_0x50a7d0,_0x571167=this[_0x2ba4fa(0x334)][_0x2ba4fa(0x460)](_0x2ba4fa(0x1d9)),_0x1513a9=this[_0x2ba4fa(0x334)][_0x2ba4fa(0x460)]('type');if(!_0x571167||!_0x1513a9){this[_0x2ba4fa(0x422)][_0x2ba4fa(0x165)]('[DataLoaderController]',_0x2ba4fa(0x449));return;}switch(Number(_0x1513a9)){case ce['UNIVER_SHEET']:{const _0x5b53ce=await this[_0x2ba4fa(0x418)](_0x571167);this['_setupSubUnitSync'](_0x5b53ce);break;}case ce['UNIVER_DOC']:{await this[_0x2ba4fa(0x3e1)](_0x571167);break;}default:{this[_0x2ba4fa(0x422)][_0x2ba4fa(0x3a2)]('[DataLoaderController]',_0x2ba4fa(0x270));break;}}}async['_setupSubUnitSync'](_0x228f25){const _0x4b4939=_0x50a7d0;await this[_0x4b4939(0x3b1)](_0x228f25),_0x228f25['activeSheet$'][_0x4b4939(0x157)](_0x2b44f7(this[_0x4b4939(0x42e)]))[_0x4b4939(0x479)](_0x6646e5=>{const _0x26c621=_0x4b4939;_0x6646e5&&this[_0x26c621(0x1fb)](_0x6646e5);}),this[_0x4b4939(0x334)][_0x4b4939(0x1e1)][_0x4b4939(0x157)](_0x2b44f7(this[_0x4b4939(0x42e)]))[_0x4b4939(0x479)](()=>this['_updateSubUnitFromURLParams'](_0x228f25));}[_0x50a7d0(0x1fb)](_0x25044d,_0x4bcfc4=!0x1){const _0x11f1c1=_0x50a7d0,_0x13ff56=this[_0x11f1c1(0x334)][_0x11f1c1(0x460)](_0x11f1c1(0x1eb));_0x25044d['getSheetId']()!==_0x13ff56&&this[_0x11f1c1(0x334)][_0x11f1c1(0x236)](_0x11f1c1(0x1eb),_0x25044d[_0x11f1c1(0x1ef)](),_0x4bcfc4);}async[_0x50a7d0(0x3b1)](_0x231bac){const _0x35c2ee=_0x50a7d0;var _0x458c86;const _0x3d3656=this['_urlService'][_0x35c2ee(0x460)](_0x35c2ee(0x1eb));if(!_0x3d3656||!_0x231bac[_0x35c2ee(0x23e)](_0x3d3656)){const _0x37122c=_0x231bac[_0x35c2ee(0x305)]()[0x0],_0x3ad09a=_0x231bac['getSheetBySheetId'](_0x37122c);if(!_0x3ad09a)return;this['_updateURLWithCurrentState'](_0x3ad09a,!0x0),await this[_0x35c2ee(0x293)][_0x35c2ee(0x368)](_0x418451['id'],{'unitId':_0x231bac[_0x35c2ee(0x14f)](),'subUnitId':_0x37122c});return;}((_0x458c86=_0x231bac['getActiveSheet']())==null?void 0x0:_0x458c86[_0x35c2ee(0x1ef)]())!==_0x3d3656&&await this[_0x35c2ee(0x293)][_0x35c2ee(0x368)](_0x418451['id'],{'unitId':_0x231bac['getUnitId'](),'subUnitId':_0x3d3656});}async[_0x50a7d0(0x418)](_0xe4506d){const _0x403c60=_0x50a7d0;let _0x5d3f84=0x0;const _0x1ac91f=await this[_0x403c60(0x251)]['loadOfflineData'](_0xe4506d);return _0x1ac91f&&(_0x1ac91f[_0x403c60(0x16a)]||_0x1ac91f[_0x403c60(0x182)][_0x403c60(0x1d0)]!==0x0)&&(_0x5d3f84=_0x1ac91f[_0x403c60(0x26f)]),_0x5d3f84===0x0&&this[_0x403c60(0x422)]['debug']('[DataLoaderController]',_0x403c60(0x483)),this[_0x403c60(0x38c)][_0x403c60(0x3c8)](_0xe4506d,_0x5d3f84);}async[_0x50a7d0(0x3e1)](_0x4c4cd8){const _0x2423c2=_0x50a7d0;let _0x196e32=0x0;const _0x81c6be=await this[_0x2423c2(0x251)][_0x2423c2(0x342)](_0x4c4cd8);return _0x81c6be&&(_0x81c6be['awaitingChangeset']||_0x81c6be['mutations'][_0x2423c2(0x1d0)]!==0x0)&&(_0x196e32=_0x81c6be[_0x2423c2(0x26f)]),_0x196e32===0x0&&this['_logService']['debug'](_0x2423c2(0xd1),_0x2423c2(0x483)),this[_0x2423c2(0x38c)]['loadDoc'](_0x4c4cd8,_0x196e32);}};Et=Ba([ke(0x0,Yi),ke(0x1,_0x299b7a),ke(0x2,_0x2e05f8),ke(0x3,_0x33026a(q)),ke(0x4,_0x33026a(_0x413c1b)),ke(0x5,_0x380b11(_0x14e6c9))],Et);var ka=Object[_0x50a7d0(0x15c)],Wa=Object['getOwnPropertyDescriptor'],Fa=(_0x1ba0d7,_0x5773a2,_0x427156,_0x420c2c)=>{for(var _0x22bba3=_0x420c2c>0x1?void 0x0:_0x420c2c?Wa(_0x5773a2,_0x427156):_0x5773a2,_0x1f8e8c=_0x1ba0d7['length']-0x1,_0x8493a6;_0x1f8e8c>=0x0;_0x1f8e8c--)(_0x8493a6=_0x1ba0d7[_0x1f8e8c])&&(_0x22bba3=(_0x420c2c?_0x8493a6(_0x5773a2,_0x427156,_0x22bba3):_0x8493a6(_0x22bba3))||_0x22bba3);return _0x420c2c&&_0x22bba3&&ka(_0x5773a2,_0x427156,_0x22bba3),_0x22bba3;},Qs=(_0x385db6,_0x3eddc2)=>(_0x3717b0,_0x536741)=>_0x3eddc2(_0x3717b0,_0x536741,_0x385db6);const Va='DEFAULT_FILE_NAME',Ga=_0x50a7d0(0xbc);let bt=class extends _0x514939{constructor(_0x451eb4,_0x26d302){const _0x26e016=_0x50a7d0;super(),this[_0x26e016(0x283)]=_0x451eb4,this[_0x26e016(0x3bb)]=_0x26d302,this['_init']();}['_init'](){const _0xfa8eb4=_0x50a7d0;this['disposeWithMe'](this[_0xfa8eb4(0x283)]['focused$'][_0xfa8eb4(0x479)](()=>{const _0x53af8a=_0xfa8eb4;var _0x1595f5;const _0x375a56=this[_0x53af8a(0x283)][_0x53af8a(0x311)]();let _0x3f0b12=(_0x1595f5=this[_0x53af8a(0x3bb)]['getConfig'](Va))!=null?_0x1595f5:Ga;_0x375a56 instanceof _0xf4680a&&(_0x3f0b12=_0x375a56[_0x53af8a(0x125)]),document[_0x53af8a(0x4b9)]=_0x3f0b12;}));}};bt=Fa([Qs(0x0,_0x28b990),Qs(0x1,_0x533505)],bt);var Ya=Object[_0x50a7d0(0x15c)],Ka=Object[_0x50a7d0(0x18b)],za=(_0x286f29,_0x4911eb,_0x1371b5,_0x170f71)=>{const _0x221505=_0x50a7d0;for(var _0x196e25=_0x170f71>0x1?void 0x0:_0x170f71?Ka(_0x4911eb,_0x1371b5):_0x4911eb,_0x59e9b6=_0x286f29[_0x221505(0x1d0)]-0x1,_0x39cc91;_0x59e9b6>=0x0;_0x59e9b6--)(_0x39cc91=_0x286f29[_0x59e9b6])&&(_0x196e25=(_0x170f71?_0x39cc91(_0x4911eb,_0x1371b5,_0x196e25):_0x39cc91(_0x196e25))||_0x196e25);return _0x170f71&&_0x196e25&&Ya(_0x4911eb,_0x1371b5,_0x196e25),_0x196e25;},Vt=(_0x46015f,_0x373477)=>(_0x1fab72,_0x26f52f)=>_0x373477(_0x1fab72,_0x26f52f,_0x46015f);let Tt=class{constructor(_0x37900a,_0x4780b2,_0x3804c5){const _0x3eb9bb=_0x50a7d0;this[_0x3eb9bb(0x3bb)]=_0x37900a,this['_httpService']=_0x4780b2,this[_0x3eb9bb(0x386)]=_0x3804c5,this['init']();}[_0x50a7d0(0x237)](){const _0x21bf49=_0x50a7d0;this[_0x21bf49(0x38a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x10ee09,_0x53cebb)=>_0x53cebb(_0x10ee09)['pipe'](_0x320b34(async _0x3d3138=>{const _0x3d1429=_0x21bf49,_0x30a10c=_0x3d3138;if(_0x30a10c['status']===0x191&&window[_0x3d1429(0x166)](this[_0x3d1429(0x386)]['t'](_0x3d1429(0x259)))){const _0x2b9c34=window[_0x3d1429(0x2c0)](window[_0x3d1429(0x41a)]['href']);window['location'][_0x3d1429(0x403)]=this['_getLoginPath']()+_0x3d1429(0x4c7)+_0x2b9c34;}return _0x30a10c;}))});}[_0x50a7d0(0x1c0)](){const _0x3ba2a6=_0x50a7d0;var _0x2a8f2f,_0xa5b188;const _0x4c35e3=this['_configService'][_0x3ba2a6(0x4c6)](Nn),_0x55080a=this[_0x3ba2a6(0x3bb)][_0x3ba2a6(0x4c6)](ee);return(_0xa5b188=(_0x2a8f2f=_0x55080a==null?void 0x0:_0x55080a['loginUrlKey'])!=null?_0x2a8f2f:_0x4c35e3)!=null?_0xa5b188:An;}};Tt=za([Vt(0x0,_0x533505),Vt(0x1,_0x33026a(_0x278722)),Vt(0x2,_0x33026a(_0x21b13d))],Tt);var qa=Object[_0x50a7d0(0x15c)],Xa=Object[_0x50a7d0(0x18b)],Ja=(_0x556fe8,_0x17b803,_0x2a9792,_0x42679a)=>{for(var _0x35d6b5=_0x42679a>0x1?void 0x0:_0x42679a?Xa(_0x17b803,_0x2a9792):_0x17b803,_0x53aed8=_0x556fe8['length']-0x1,_0x1d822a;_0x53aed8>=0x0;_0x53aed8--)(_0x1d822a=_0x556fe8[_0x53aed8])&&(_0x35d6b5=(_0x42679a?_0x1d822a(_0x17b803,_0x2a9792,_0x35d6b5):_0x1d822a(_0x35d6b5))||_0x35d6b5);return _0x42679a&&_0x35d6b5&&qa(_0x17b803,_0x2a9792,_0x35d6b5),_0x35d6b5;},ei=(_0x59c863,_0x4eca7f)=>(_0x17fa19,_0x2d1aee)=>_0x4eca7f(_0x17fa19,_0x2d1aee,_0x59c863);const Ki=_0x50a7d0(0x43b),Za='/universer-api/authz';let ls=class extends _0x514939{constructor(_0x1a5985,_0x2f8dfa){const _0x18b039=_0x50a7d0;super(),this[_0x18b039(0x352)]=_0x1a5985,this[_0x18b039(0x3bb)]=_0x2f8dfa,this[_0x18b039(0x1df)]();}[_0x50a7d0(0x1df)](){const _0x1e6739=_0x50a7d0,_0x1b939c=this;this['disposeWithMe'](this[_0x1e6739(0x352)][_0x1e6739(0x434)]({'priority':0x3e7,'interceptor':_0x528585({'isMatch'(_0x3e0780){const _0x813d39=_0x1e6739;var _0x47ef4d;if(_0x3e0780[_0x813d39(0xb3)]===_0x813d39(0xa9)&&((_0x47ef4d=_0x3e0780[_0x813d39(0x266)])!=null&&_0x47ef4d[_0x813d39(0x48c)])){const {objectID:_0x15898b,objectType:_0x19698f}=_0x3e0780[_0x813d39(0x266)][_0x813d39(0x48c)]||{};if(!_0x15898b||_0x19698f===void 0x0)return!0x1;const _0x296c59=_0x1b939c[_0x813d39(0x3ca)]()+'/'+_0x19698f+_0x813d39(0xbd)+_0x15898b+_0x813d39(0xb4);if(_0x3e0780[_0x813d39(0x40b)]===_0x296c59)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32738f){const _0x3857e2=_0x1e6739;var _0x198fb8;return(_0x198fb8=_0x32738f[_0x3857e2(0x266)])==null?void 0x0:_0x198fb8[_0x3857e2(0x48c)];},'mergeParamsToRequest'(_0xbf7d1e,_0x5eb020){const _0xc51512=_0x1e6739,_0x5abc62=_0x1b939c[_0xc51512(0x3ca)]()+_0xc51512(0xf9),_0x30caa8=_0xbf7d1e['reduce']((_0x31a78f,_0x23220a)=>{const _0x427f27=_0xc51512,{unitID:_0x31a67f,objectID:_0x3c1d16,objectType:_0x3c2549,actions:_0xd65050}=_0x23220a;return _0x31a78f[_0x31a67f]||(_0x31a78f[_0x31a67f]={}),_0x31a78f[_0x31a67f][_0x3c1d16]||(_0x31a78f[_0x31a67f][_0x3c1d16]={'objectID':_0x3c1d16,'objectType':_0x3c2549,'actions':[]}),_0x31a78f[_0x31a67f][_0x3c1d16][_0x427f27(0x433)][_0x427f27(0xc6)](..._0xd65050),_0x31a78f;},{}),_0x4ef49f=[];for(const _0x1e7513 in _0x30caa8)for(const _0x285fb8 in _0x30caa8[_0x1e7513]){const {actions:_0x2f1f92,objectType:_0xdf768f}=_0x30caa8[_0x1e7513][_0x285fb8],_0x526c06=[...new Set(_0x2f1f92)];_0x4ef49f[_0xc51512(0xc6)]({'unitID':_0x1e7513,'objectID':_0x285fb8,'objectType':_0xdf768f,'actions':_0x526c06});}return new _0x5522e9(_0xc51512(0xa9),_0x5abc62,{'headers':_0x5eb020[_0xc51512(0x3de)],'withCredentials':_0x5eb020[_0xc51512(0x1e3)],'responseType':_0x5eb020[_0xc51512(0x300)],'body':{'requests':_0x4ef49f}});}},{'distributeResult'(_0x435bd0,_0x484650){const _0x4ebcf8=_0x1e6739,{objectActions:_0x3e36a6}=_0x435bd0;return _0x484650[_0x4ebcf8(0x360)](_0x3434c9=>{const _0xbb0958=_0x4ebcf8,{unitID:_0x355397,objectID:_0xd2cdea,actions:_0x94f116}=_0x3434c9,_0x49c2d2=_0x3e36a6[_0xbb0958(0x39a)](_0x1f7524=>_0x1f7524[_0xbb0958(0xaa)]===_0x355397&&_0x1f7524['objectID']===_0xd2cdea),_0x48fff4=_0x94f116[_0xbb0958(0x360)](_0x1d399b=>_0x49c2d2==null?void 0x0:_0x49c2d2[_0xbb0958(0x433)]['find'](_0x8e8030=>_0x8e8030[_0xbb0958(0x265)]===_0x1d399b))[_0xbb0958(0x4ba)](_0x162ae4=>!!_0x162ae4);return{'config':_0x3434c9,'result':{'actions':_0x48fff4,'error':_0x435bd0[_0xbb0958(0x3a2)]}};});}})}));}[_0x50a7d0(0x3ca)](){const _0x2e2fab=_0x50a7d0;var _0x184844,_0xdc07b3;const _0x5cd3fb=this[_0x2e2fab(0x3bb)][_0x2e2fab(0x4c6)](Ki),_0x3c2a1e=this[_0x2e2fab(0x3bb)]['getConfig'](ee);return(_0xdc07b3=(_0x184844=_0x3c2a1e==null?void 0x0:_0x3c2a1e[_0x2e2fab(0x3e9)])!=null?_0x184844:_0x5cd3fb)!=null?_0xdc07b3:Za;}async[_0x50a7d0(0x24c)](_0x1ede51){const _0x16858a=_0x50a7d0,_0x41835a=this['_getAPIPrefixPath']()+'/'+_0x1ede51['objectType']+_0x16858a(0x33c);return(await this['_HTTPService']['post'](_0x41835a,{'body':_0x1ede51}))['body'][_0x16858a(0x23d)]||'';}async[_0x50a7d0(0x205)](_0x114423){const _0xe10d19=_0x50a7d0,_0x5aeb20=this[_0xe10d19(0x3ca)]()+_0xe10d19(0x20d);return(await this[_0xe10d19(0x352)]['post'](_0x5aeb20,{'body':_0x114423}))[_0xe10d19(0x48c)]['objects'];}async['update'](_0x5d1719){const _0x1f8870=_0x50a7d0,_0x5b2614=this[_0x1f8870(0x3ca)]()+'/'+_0x5d1719[_0x1f8870(0xab)]+_0x1f8870(0xbd)+_0x5d1719[_0x1f8870(0x23d)];await this[_0x1f8870(0x352)][_0x1f8870(0xe9)](_0x5b2614,{'body':_0x5d1719});}async[_0x50a7d0(0x2d0)](_0x128b94){const _0x5525f1=_0x50a7d0,_0x232c5a=this[_0x5525f1(0x3ca)]()+'/'+_0x128b94['objectType']+'/object/'+_0x128b94[_0x5525f1(0x23d)]+_0x5525f1(0xb4);return(await this[_0x5525f1(0x352)][_0x5525f1(0x462)](_0x232c5a,{'body':_0x128b94}))[_0x5525f1(0x48c)][_0x5525f1(0x433)];}async[_0x50a7d0(0x24e)](_0x2bb6ed){const _0x3f45b8=_0x50a7d0,_0x57e931=this[_0x3f45b8(0x3ca)]()+_0x3f45b8(0xf9);return(await this['_HTTPService'][_0x3f45b8(0x462)](_0x57e931,{'body':{'requests':_0x2bb6ed}}))[_0x3f45b8(0x48c)]['objectActions'];}async[_0x50a7d0(0x2e9)](_0x162a11){const _0x32326d=_0x50a7d0,_0x22c346=this[_0x32326d(0x3ca)]()+'/'+_0x162a11[_0x32326d(0xab)]+'/role',_0xf4376e=await this[_0x32326d(0x352)][_0x32326d(0x462)](_0x22c346,{'body':_0x162a11});return{'roles':_0xf4376e[_0x32326d(0x48c)][_0x32326d(0x2cd)],'actions':_0xf4376e[_0x32326d(0x48c)][_0x32326d(0x433)]};}async[_0x50a7d0(0x358)](_0x180d93){const _0x3a67a2=_0x50a7d0,_0xcd1812=this[_0x3a67a2(0x3ca)]()+_0x3a67a2(0x22c);await this['_HTTPService']['delete'](_0xcd1812,{'params':{'collaboratorID':_0x180d93[_0x3a67a2(0x326)],'objectID':_0x180d93[_0x3a67a2(0x23d)],'unitID':_0x180d93[_0x3a67a2(0xaa)]}});}async[_0x50a7d0(0x45d)](_0x974f50){const _0x512ed4=_0x50a7d0,_0x6a062c=this[_0x512ed4(0x3ca)]()+_0x512ed4(0x22c);await this[_0x512ed4(0x352)][_0x512ed4(0x221)](_0x6a062c,{'body':_0x974f50});}async[_0x50a7d0(0x2af)](_0xd999c6){const _0x37d3c3=_0x50a7d0,_0x4d116f=this['_getAPIPrefixPath']()+_0x37d3c3(0x22c);await this[_0x37d3c3(0x352)]['post'](_0x4d116f,{'body':_0xd999c6});}async[_0x50a7d0(0x457)](_0x324c6f){const _0x2ad2a0=_0x50a7d0,_0x1de86c=this['_getAPIPrefixPath']()+_0x2ad2a0(0x22c);return(await this[_0x2ad2a0(0x352)][_0x2ad2a0(0x373)](_0x1de86c,{'params':{'objectID':_0x324c6f['objectID'],'unitID':_0x324c6f['unitID']}}))[_0x2ad2a0(0x48c)][_0x2ad2a0(0x110)];}async[_0x50a7d0(0x474)](_0x24548a){const _0x423873=_0x50a7d0,_0x510d49=this[_0x423873(0x3ca)]()+'/collaborator';await this[_0x423873(0x352)][_0x423873(0xe9)](_0x510d49,{'body':_0x24548a});}};ls=Ja([ei(0x0,_0x33026a(_0x278722)),ei(0x1,_0x33026a(_0x533505))],ls);var zi={'exports':{}};function Qa(_0x5d1fa7){const _0x45a4ae=_0x50a7d0;throw new Error(_0x45a4ae(0x343)+_0x5d1fa7+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Gt={'exports':{}},ti;function ue(){const _0x30ba81=_0x50a7d0;return ti||(ti=0x1,function(_0x1d648e,_0x97baaf){(function(_0xfc4064,_0x168a0f){const _0x48988e=_0xc944;_0x1d648e[_0x48988e(0x480)]=_0x168a0f();}(Z,function(){var _0x5698b2=_0x5698b2||function(_0x1e0bc3,_0x5ea41b){const _0x2697b3=_0xc944;var _0x232d0a;if(typeof window<'u'&&window[_0x2697b3(0x2d5)]&&(_0x232d0a=window[_0x2697b3(0x2d5)]),typeof self<'u'&&self[_0x2697b3(0x2d5)]&&(_0x232d0a=self[_0x2697b3(0x2d5)]),typeof globalThis<'u'&&globalThis[_0x2697b3(0x2d5)]&&(_0x232d0a=globalThis[_0x2697b3(0x2d5)]),!_0x232d0a&&typeof window<'u'&&window[_0x2697b3(0x11f)]&&(_0x232d0a=window[_0x2697b3(0x11f)]),!_0x232d0a&&typeof Z<'u'&&Z[_0x2697b3(0x2d5)]&&(_0x232d0a=Z[_0x2697b3(0x2d5)]),!_0x232d0a&&typeof Qa==_0x2697b3(0x36c))try{_0x232d0a=require(_0x2697b3(0x2d5));}catch{}var _0xfc31e2=function(){const _0x686a91=_0x2697b3;if(_0x232d0a){if(typeof _0x232d0a[_0x686a91(0x286)]==_0x686a91(0x36c))try{return _0x232d0a[_0x686a91(0x286)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x232d0a[_0x686a91(0x2eb)]==_0x686a91(0x36c))try{return _0x232d0a[_0x686a91(0x2eb)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x686a91(0x22e));},_0x37470d=Object[_0x2697b3(0x24c)]||(function(){function _0x482120(){}return function(_0x560e35){const _0x378245=_0xc944;var _0x50d9cc;return _0x482120[_0x378245(0x155)]=_0x560e35,_0x50d9cc=new _0x482120(),_0x482120[_0x378245(0x155)]=null,_0x50d9cc;};}()),_0xadaf4f={},_0x324e5d=_0xadaf4f[_0x2697b3(0xde)]={},_0x12444e=_0x324e5d[_0x2697b3(0x111)]=(function(){return{'extend':function(_0x16c96a){const _0xebfa8c=_0xc944;var _0x2ef387=_0x37470d(this);return _0x16c96a&&_0x2ef387[_0xebfa8c(0x3e7)](_0x16c96a),(!_0x2ef387[_0xebfa8c(0x2ea)]('init')||this[_0xebfa8c(0x237)]===_0x2ef387[_0xebfa8c(0x237)])&&(_0x2ef387['init']=function(){const _0x35776f=_0xebfa8c;_0x2ef387['$super'][_0x35776f(0x237)][_0x35776f(0x335)](this,arguments);}),_0x2ef387[_0xebfa8c(0x237)]['prototype']=_0x2ef387,_0x2ef387[_0xebfa8c(0x496)]=this,_0x2ef387;},'create':function(){const _0xff1874=_0xc944;var _0x36e986=this['extend']();return _0x36e986[_0xff1874(0x237)][_0xff1874(0x335)](_0x36e986,arguments),_0x36e986;},'init':function(){},'mixIn':function(_0x113b31){const _0x455abf=_0xc944;for(var _0x3a614e in _0x113b31)_0x113b31[_0x455abf(0x2ea)](_0x3a614e)&&(this[_0x3a614e]=_0x113b31[_0x3a614e]);_0x113b31[_0x455abf(0x2ea)]('toString')&&(this[_0x455abf(0x45a)]=_0x113b31['toString']);},'clone':function(){const _0xd1baa3=_0xc944;return this[_0xd1baa3(0x237)]['prototype'][_0xd1baa3(0x229)](this);}};}()),_0x3631a4=_0x324e5d[_0x2697b3(0x281)]=_0x12444e[_0x2697b3(0x229)]({'init':function(_0x2c7888,_0x555610){const _0x3191fc=_0x2697b3;_0x2c7888=this[_0x3191fc(0x445)]=_0x2c7888||[],_0x555610!=_0x5ea41b?this[_0x3191fc(0x1a8)]=_0x555610:this[_0x3191fc(0x1a8)]=_0x2c7888['length']*0x4;},'toString':function(_0x205fc4){const _0x3348ed=_0x2697b3;return(_0x205fc4||_0x31ad16)[_0x3348ed(0x2d6)](this);},'concat':function(_0x36f31a){const _0x568442=_0x2697b3;var _0x1fded6=this[_0x568442(0x445)],_0x41e8a1=_0x36f31a['words'],_0x4fd530=this['sigBytes'],_0x5d0308=_0x36f31a['sigBytes'];if(this[_0x568442(0x17d)](),_0x4fd530%0x4)for(var _0x4621a2=0x0;_0x4621a2<_0x5d0308;_0x4621a2++){var _0xf646b6=_0x41e8a1[_0x4621a2>>>0x2]>>>0x18-_0x4621a2%0x4*0x8&0xff;_0x1fded6[_0x4fd530+_0x4621a2>>>0x2]|=_0xf646b6<<0x18-(_0x4fd530+_0x4621a2)%0x4*0x8;}else{for(var _0x267d93=0x0;_0x267d93<_0x5d0308;_0x267d93+=0x4)_0x1fded6[_0x4fd530+_0x267d93>>>0x2]=_0x41e8a1[_0x267d93>>>0x2];}return this[_0x568442(0x1a8)]+=_0x5d0308,this;},'clamp':function(){const _0xd5cda1=_0x2697b3;var _0x4b8fbe=this[_0xd5cda1(0x445)],_0x4fd035=this[_0xd5cda1(0x1a8)];_0x4b8fbe[_0x4fd035>>>0x2]&=0xffffffff<<0x20-_0x4fd035%0x4*0x8,_0x4b8fbe[_0xd5cda1(0x1d0)]=_0x1e0bc3[_0xd5cda1(0x26a)](_0x4fd035/0x4);},'clone':function(){const _0x3a50f5=_0x2697b3;var _0xb8b8a4=_0x12444e[_0x3a50f5(0x3b2)]['call'](this);return _0xb8b8a4[_0x3a50f5(0x445)]=this['words'][_0x3a50f5(0x2bf)](0x0),_0xb8b8a4;},'random':function(_0x4568f5){const _0x152eb0=_0x2697b3;for(var _0x4f511b=[],_0x2f6390=0x0;_0x2f6390<_0x4568f5;_0x2f6390+=0x4)_0x4f511b[_0x152eb0(0xc6)](_0xfc31e2());return new _0x3631a4['init'](_0x4f511b,_0x4568f5);}}),_0x27f9b3=_0xadaf4f['enc']={},_0x31ad16=_0x27f9b3[_0x2697b3(0x289)]={'stringify':function(_0x1d44e9){const _0x5749b6=_0x2697b3;for(var _0x317a21=_0x1d44e9[_0x5749b6(0x445)],_0x1f0aea=_0x1d44e9[_0x5749b6(0x1a8)],_0x2cc28e=[],_0x5b71d6=0x0;_0x5b71d6<_0x1f0aea;_0x5b71d6++){var _0x532de7=_0x317a21[_0x5b71d6>>>0x2]>>>0x18-_0x5b71d6%0x4*0x8&0xff;_0x2cc28e[_0x5749b6(0xc6)]((_0x532de7>>>0x4)[_0x5749b6(0x45a)](0x10)),_0x2cc28e[_0x5749b6(0xc6)]((_0x532de7&0xf)[_0x5749b6(0x45a)](0x10));}return _0x2cc28e[_0x5749b6(0x11b)]('');},'parse':function(_0x52537d){const _0x12f76a=_0x2697b3;for(var _0x8885e2=_0x52537d[_0x12f76a(0x1d0)],_0x15719e=[],_0x44b4c3=0x0;_0x44b4c3<_0x8885e2;_0x44b4c3+=0x2)_0x15719e[_0x44b4c3>>>0x3]|=parseInt(_0x52537d['substr'](_0x44b4c3,0x2),0x10)<<0x18-_0x44b4c3%0x8*0x4;return new _0x3631a4['init'](_0x15719e,_0x8885e2/0x2);}},_0xdadb45=_0x27f9b3[_0x2697b3(0x14c)]={'stringify':function(_0x10b6de){const _0x12da7d=_0x2697b3;for(var _0x209c92=_0x10b6de[_0x12da7d(0x445)],_0x243870=_0x10b6de[_0x12da7d(0x1a8)],_0x205c11=[],_0x3ede3d=0x0;_0x3ede3d<_0x243870;_0x3ede3d++){var _0x2f35a2=_0x209c92[_0x3ede3d>>>0x2]>>>0x18-_0x3ede3d%0x4*0x8&0xff;_0x205c11[_0x12da7d(0xc6)](String[_0x12da7d(0x249)](_0x2f35a2));}return _0x205c11[_0x12da7d(0x11b)]('');},'parse':function(_0x4b548){const _0x2cb046=_0x2697b3;for(var _0x3d71e2=_0x4b548[_0x2cb046(0x1d0)],_0x3a9d19=[],_0x1ec017=0x0;_0x1ec017<_0x3d71e2;_0x1ec017++)_0x3a9d19[_0x1ec017>>>0x2]|=(_0x4b548[_0x2cb046(0x20c)](_0x1ec017)&0xff)<<0x18-_0x1ec017%0x4*0x8;return new _0x3631a4[(_0x2cb046(0x237))](_0x3a9d19,_0x3d71e2);}},_0x34d3bc=_0x27f9b3[_0x2697b3(0x468)]={'stringify':function(_0xab20b6){const _0x1310c9=_0x2697b3;try{return decodeURIComponent(escape(_0xdadb45['stringify'](_0xab20b6)));}catch{throw new Error(_0x1310c9(0x3c6));}},'parse':function(_0x5c0499){return _0xdadb45['parse'](unescape(encodeURIComponent(_0x5c0499)));}},_0x159bec=_0x324e5d[_0x2697b3(0x284)]=_0x12444e[_0x2697b3(0x229)]({'reset':function(){const _0x34c40b=_0x2697b3;this[_0x34c40b(0x39c)]=new _0x3631a4['init'](),this[_0x34c40b(0x3ff)]=0x0;},'_append':function(_0x38360b){const _0x573ae6=_0x2697b3;typeof _0x38360b==_0x573ae6(0x218)&&(_0x38360b=_0x34d3bc[_0x573ae6(0x47f)](_0x38360b)),this[_0x573ae6(0x39c)]['concat'](_0x38360b),this['_nDataBytes']+=_0x38360b[_0x573ae6(0x1a8)];},'_process':function(_0x33f302){const _0xa2f50b=_0x2697b3;var _0x1c0e81,_0x51b4a3=this[_0xa2f50b(0x39c)],_0x274680=_0x51b4a3['words'],_0x5e3ad7=_0x51b4a3[_0xa2f50b(0x1a8)],_0x4cb9ad=this['blockSize'],_0x4a80aa=_0x4cb9ad*0x4,_0x10c66c=_0x5e3ad7/_0x4a80aa;_0x33f302?_0x10c66c=_0x1e0bc3[_0xa2f50b(0x26a)](_0x10c66c):_0x10c66c=_0x1e0bc3[_0xa2f50b(0x319)]((_0x10c66c|0x0)-this[_0xa2f50b(0x1c2)],0x0);var _0xc655ef=_0x10c66c*_0x4cb9ad,_0x51fbb3=_0x1e0bc3['min'](_0xc655ef*0x4,_0x5e3ad7);if(_0xc655ef){for(var _0x2c1983=0x0;_0x2c1983<_0xc655ef;_0x2c1983+=_0x4cb9ad)this[_0xa2f50b(0x28b)](_0x274680,_0x2c1983);_0x1c0e81=_0x274680['splice'](0x0,_0xc655ef),_0x51b4a3[_0xa2f50b(0x1a8)]-=_0x51fbb3;}return new _0x3631a4['init'](_0x1c0e81,_0x51fbb3);},'clone':function(){const _0x1d5445=_0x2697b3;var _0x51cbfc=_0x12444e[_0x1d5445(0x3b2)][_0x1d5445(0x2a1)](this);return _0x51cbfc[_0x1d5445(0x39c)]=this['_data']['clone'](),_0x51cbfc;},'_minBufferSize':0x0});_0x324e5d[_0x2697b3(0x4b0)]=_0x159bec[_0x2697b3(0x229)]({'cfg':_0x12444e[_0x2697b3(0x229)](),'init':function(_0xe58cc5){const _0xd5d07f=_0x2697b3;this[_0xd5d07f(0x146)]=this[_0xd5d07f(0x146)][_0xd5d07f(0x229)](_0xe58cc5),this[_0xd5d07f(0xca)]();},'reset':function(){const _0x30d74c=_0x2697b3;_0x159bec[_0x30d74c(0xca)][_0x30d74c(0x2a1)](this),this['_doReset']();},'update':function(_0x4296ac){const _0x17975b=_0x2697b3;return this[_0x17975b(0x2ed)](_0x4296ac),this[_0x17975b(0x369)](),this;},'finalize':function(_0x19f622){_0x19f622&&this['_append'](_0x19f622);var _0x3ebff7=this['_doFinalize']();return _0x3ebff7;},'blockSize':0x10,'_createHelper':function(_0x2cdee9){return function(_0x11fd2d,_0x562698){const _0x4b5bf8=_0xc944;return new _0x2cdee9[(_0x4b5bf8(0x237))](_0x562698)[_0x4b5bf8(0x363)](_0x11fd2d);};},'_createHmacHelper':function(_0xb31df){return function(_0x21d11a,_0x4ffb07){const _0x48c726=_0xc944;return new _0x13e4b4['HMAC'][(_0x48c726(0x237))](_0xb31df,_0x4ffb07)[_0x48c726(0x363)](_0x21d11a);};}});var _0x13e4b4=_0xadaf4f[_0x2697b3(0x263)]={};return _0xadaf4f;}(Math);return _0x5698b2;}));}(Gt)),Gt[_0x30ba81(0x480)];}var Yt={'exports':{}},si;function qi(){const _0x4fb252=_0x50a7d0;return si||(si=0x1,function(_0x3a97bf,_0x26f764){(function(_0x3cfff9,_0x1f9206){const _0x5ef279=_0xc944;_0x3a97bf[_0x5ef279(0x480)]=_0x1f9206(ue());}(Z,function(_0x2671ef){const _0x45774e=_0xc944;return(function(){const _0x5ae488=_0xc944;var _0x2f1b98=_0x2671ef,_0x51273e=_0x2f1b98['lib'],_0x48073a=_0x51273e['WordArray'],_0x172e16=_0x2f1b98['enc'];_0x172e16['Base64']={'stringify':function(_0x5e580d){const _0x4e9cc5=_0xc944;var _0x5d13ed=_0x5e580d['words'],_0x401674=_0x5e580d[_0x4e9cc5(0x1a8)],_0x156150=this['_map'];_0x5e580d[_0x4e9cc5(0x17d)]();for(var _0x569f5f=[],_0x4b93a5=0x0;_0x4b93a5<_0x401674;_0x4b93a5+=0x3)for(var _0x359f01=_0x5d13ed[_0x4b93a5>>>0x2]>>>0x18-_0x4b93a5%0x4*0x8&0xff,_0x299e13=_0x5d13ed[_0x4b93a5+0x1>>>0x2]>>>0x18-(_0x4b93a5+0x1)%0x4*0x8&0xff,_0x1840e7=_0x5d13ed[_0x4b93a5+0x2>>>0x2]>>>0x18-(_0x4b93a5+0x2)%0x4*0x8&0xff,_0x381b2b=_0x359f01<<0x10|_0x299e13<<0x8|_0x1840e7,_0x4c84d9=0x0;_0x4c84d9<0x4&&_0x4b93a5+_0x4c84d9*0.75<_0x401674;_0x4c84d9++)_0x569f5f[_0x4e9cc5(0xc6)](_0x156150[_0x4e9cc5(0x208)](_0x381b2b>>>0x6*(0x3-_0x4c84d9)&0x3f));var _0x85a6ca=_0x156150['charAt'](0x40);if(_0x85a6ca){for(;_0x569f5f['length']%0x4;)_0x569f5f[_0x4e9cc5(0xc6)](_0x85a6ca);}return _0x569f5f[_0x4e9cc5(0x11b)]('');},'parse':function(_0x42337e){const _0x50d4d1=_0xc944;var _0x3ab55d=_0x42337e['length'],_0x2249a4=this[_0x50d4d1(0x139)],_0x482ac7=this[_0x50d4d1(0x1ff)];if(!_0x482ac7){_0x482ac7=this[_0x50d4d1(0x1ff)]=[];for(var _0xa09c34=0x0;_0xa09c34<_0x2249a4[_0x50d4d1(0x1d0)];_0xa09c34++)_0x482ac7[_0x2249a4['charCodeAt'](_0xa09c34)]=_0xa09c34;}var _0xe378e=_0x2249a4[_0x50d4d1(0x208)](0x40);if(_0xe378e){var _0xac9eb1=_0x42337e[_0x50d4d1(0x299)](_0xe378e);_0xac9eb1!==-0x1&&(_0x3ab55d=_0xac9eb1);}return _0x3f118e(_0x42337e,_0x3ab55d,_0x482ac7);},'_map':_0x5ae488(0x2f2)};function _0x3f118e(_0x310d69,_0x409115,_0x362e9a){const _0x4a15c2=_0x5ae488;for(var _0x2ed958=[],_0x4585f5=0x0,_0x52fe5f=0x0;_0x52fe5f<_0x409115;_0x52fe5f++)if(_0x52fe5f%0x4){var _0x287254=_0x362e9a[_0x310d69[_0x4a15c2(0x20c)](_0x52fe5f-0x1)]<<_0x52fe5f%0x4*0x2,_0x1085a9=_0x362e9a[_0x310d69['charCodeAt'](_0x52fe5f)]>>>0x6-_0x52fe5f%0x4*0x2,_0x303598=_0x287254|_0x1085a9;_0x2ed958[_0x4585f5>>>0x2]|=_0x303598<<0x18-_0x4585f5%0x4*0x8,_0x4585f5++;}return _0x48073a['create'](_0x2ed958,_0x4585f5);}}()),_0x2671ef[_0x45774e(0x429)][_0x45774e(0x1bb)];}));}(Yt)),Yt[_0x4fb252(0x480)];}var Kt={'exports':{}},ii;function ec(){return ii||(ii=0x1,function(_0x3b6e5a,_0x26f1c6){(function(_0x2c7a04,_0x12b011){const _0x1f5238=_0xc944;_0x3b6e5a[_0x1f5238(0x480)]=_0x12b011(ue());}(Z,function(_0x2068fe){const _0x13d792=_0xc944;return function(_0x177345){const _0x25b43f=_0xc944;var _0x376e6f=_0x2068fe,_0x1d24fc=_0x376e6f['lib'],_0x2946c5=_0x1d24fc[_0x25b43f(0x281)],_0x1b1f8d=_0x1d24fc[_0x25b43f(0x4b0)],_0x155436=_0x376e6f[_0x25b43f(0x263)],_0x361ac1=[];(function(){const _0x37be05=_0x25b43f;for(var _0x5e0546=0x0;_0x5e0546<0x40;_0x5e0546++)_0x361ac1[_0x5e0546]=_0x177345[_0x37be05(0x24b)](_0x177345[_0x37be05(0xea)](_0x5e0546+0x1))*0x100000000|0x0;}());var _0x174263=_0x155436['MD5']=_0x1b1f8d[_0x25b43f(0x229)]({'_doReset':function(){const _0x133b06=_0x25b43f;this['_hash']=new _0x2946c5[(_0x133b06(0x237))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1ec91f,_0x4b6db5){const _0xb966f5=_0x25b43f;for(var _0x382f51=0x0;_0x382f51<0x10;_0x382f51++){var _0x565871=_0x4b6db5+_0x382f51,_0x5b856b=_0x1ec91f[_0x565871];_0x1ec91f[_0x565871]=(_0x5b856b<<0x8|_0x5b856b>>>0x18)&0xff00ff|(_0x5b856b<<0x18|_0x5b856b>>>0x8)&0xff00ff00;}var _0x350e8d=this[_0xb966f5(0x372)][_0xb966f5(0x445)],_0x655ef4=_0x1ec91f[_0x4b6db5+0x0],_0x472ef4=_0x1ec91f[_0x4b6db5+0x1],_0x4c5026=_0x1ec91f[_0x4b6db5+0x2],_0x5c5d40=_0x1ec91f[_0x4b6db5+0x3],_0x37a6b1=_0x1ec91f[_0x4b6db5+0x4],_0x19c91d=_0x1ec91f[_0x4b6db5+0x5],_0x23c360=_0x1ec91f[_0x4b6db5+0x6],_0x40e564=_0x1ec91f[_0x4b6db5+0x7],_0x22b01e=_0x1ec91f[_0x4b6db5+0x8],_0x6c186f=_0x1ec91f[_0x4b6db5+0x9],_0xbec02b=_0x1ec91f[_0x4b6db5+0xa],_0x200ab2=_0x1ec91f[_0x4b6db5+0xb],_0x4dcebe=_0x1ec91f[_0x4b6db5+0xc],_0x3bc524=_0x1ec91f[_0x4b6db5+0xd],_0x4320d1=_0x1ec91f[_0x4b6db5+0xe],_0x396e59=_0x1ec91f[_0x4b6db5+0xf],_0x41220b=_0x350e8d[0x0],_0x4661dc=_0x350e8d[0x1],_0x2d3d16=_0x350e8d[0x2],_0x3c1839=_0x350e8d[0x3];_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x655ef4,0x7,_0x361ac1[0x0]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x472ef4,0xc,_0x361ac1[0x1]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4c5026,0x11,_0x361ac1[0x2]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x5c5d40,0x16,_0x361ac1[0x3]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x37a6b1,0x7,_0x361ac1[0x4]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x19c91d,0xc,_0x361ac1[0x5]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x23c360,0x11,_0x361ac1[0x6]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x40e564,0x16,_0x361ac1[0x7]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x22b01e,0x7,_0x361ac1[0x8]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x6c186f,0xc,_0x361ac1[0x9]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0xbec02b,0x11,_0x361ac1[0xa]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x200ab2,0x16,_0x361ac1[0xb]),_0x41220b=_0x123240(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x4dcebe,0x7,_0x361ac1[0xc]),_0x3c1839=_0x123240(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x3bc524,0xc,_0x361ac1[0xd]),_0x2d3d16=_0x123240(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4320d1,0x11,_0x361ac1[0xe]),_0x4661dc=_0x123240(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x396e59,0x16,_0x361ac1[0xf]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x472ef4,0x5,_0x361ac1[0x10]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x23c360,0x9,_0x361ac1[0x11]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x200ab2,0xe,_0x361ac1[0x12]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x655ef4,0x14,_0x361ac1[0x13]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x19c91d,0x5,_0x361ac1[0x14]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0xbec02b,0x9,_0x361ac1[0x15]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x396e59,0xe,_0x361ac1[0x16]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x37a6b1,0x14,_0x361ac1[0x17]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x6c186f,0x5,_0x361ac1[0x18]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4320d1,0x9,_0x361ac1[0x19]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x5c5d40,0xe,_0x361ac1[0x1a]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x22b01e,0x14,_0x361ac1[0x1b]),_0x41220b=_0x387c74(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x3bc524,0x5,_0x361ac1[0x1c]),_0x3c1839=_0x387c74(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4c5026,0x9,_0x361ac1[0x1d]),_0x2d3d16=_0x387c74(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x40e564,0xe,_0x361ac1[0x1e]),_0x4661dc=_0x387c74(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4dcebe,0x14,_0x361ac1[0x1f]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x19c91d,0x4,_0x361ac1[0x20]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x22b01e,0xb,_0x361ac1[0x21]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x200ab2,0x10,_0x361ac1[0x22]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4320d1,0x17,_0x361ac1[0x23]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x472ef4,0x4,_0x361ac1[0x24]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x37a6b1,0xb,_0x361ac1[0x25]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x40e564,0x10,_0x361ac1[0x26]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0xbec02b,0x17,_0x361ac1[0x27]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x3bc524,0x4,_0x361ac1[0x28]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x655ef4,0xb,_0x361ac1[0x29]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x5c5d40,0x10,_0x361ac1[0x2a]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x23c360,0x17,_0x361ac1[0x2b]),_0x41220b=_0x1086ce(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x6c186f,0x4,_0x361ac1[0x2c]),_0x3c1839=_0x1086ce(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x4dcebe,0xb,_0x361ac1[0x2d]),_0x2d3d16=_0x1086ce(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x396e59,0x10,_0x361ac1[0x2e]),_0x4661dc=_0x1086ce(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x4c5026,0x17,_0x361ac1[0x2f]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x655ef4,0x6,_0x361ac1[0x30]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x40e564,0xa,_0x361ac1[0x31]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4320d1,0xf,_0x361ac1[0x32]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x19c91d,0x15,_0x361ac1[0x33]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x4dcebe,0x6,_0x361ac1[0x34]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x5c5d40,0xa,_0x361ac1[0x35]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0xbec02b,0xf,_0x361ac1[0x36]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x472ef4,0x15,_0x361ac1[0x37]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x22b01e,0x6,_0x361ac1[0x38]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x396e59,0xa,_0x361ac1[0x39]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x23c360,0xf,_0x361ac1[0x3a]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x3bc524,0x15,_0x361ac1[0x3b]),_0x41220b=_0x5d47f5(_0x41220b,_0x4661dc,_0x2d3d16,_0x3c1839,_0x37a6b1,0x6,_0x361ac1[0x3c]),_0x3c1839=_0x5d47f5(_0x3c1839,_0x41220b,_0x4661dc,_0x2d3d16,_0x200ab2,0xa,_0x361ac1[0x3d]),_0x2d3d16=_0x5d47f5(_0x2d3d16,_0x3c1839,_0x41220b,_0x4661dc,_0x4c5026,0xf,_0x361ac1[0x3e]),_0x4661dc=_0x5d47f5(_0x4661dc,_0x2d3d16,_0x3c1839,_0x41220b,_0x6c186f,0x15,_0x361ac1[0x3f]),_0x350e8d[0x0]=_0x350e8d[0x0]+_0x41220b|0x0,_0x350e8d[0x1]=_0x350e8d[0x1]+_0x4661dc|0x0,_0x350e8d[0x2]=_0x350e8d[0x2]+_0x2d3d16|0x0,_0x350e8d[0x3]=_0x350e8d[0x3]+_0x3c1839|0x0;},'_doFinalize':function(){const _0x3c0403=_0x25b43f;var _0x897056=this['_data'],_0xd708f3=_0x897056[_0x3c0403(0x445)],_0x20bd57=this[_0x3c0403(0x3ff)]*0x8,_0x1fa521=_0x897056[_0x3c0403(0x1a8)]*0x8;_0xd708f3[_0x1fa521>>>0x5]|=0x80<<0x18-_0x1fa521%0x20;var _0x1ab8cd=_0x177345[_0x3c0403(0x28f)](_0x20bd57/0x100000000),_0x4f8f3=_0x20bd57;_0xd708f3[(_0x1fa521+0x40>>>0x9<<0x4)+0xf]=(_0x1ab8cd<<0x8|_0x1ab8cd>>>0x18)&0xff00ff|(_0x1ab8cd<<0x18|_0x1ab8cd>>>0x8)&0xff00ff00,_0xd708f3[(_0x1fa521+0x40>>>0x9<<0x4)+0xe]=(_0x4f8f3<<0x8|_0x4f8f3>>>0x18)&0xff00ff|(_0x4f8f3<<0x18|_0x4f8f3>>>0x8)&0xff00ff00,_0x897056[_0x3c0403(0x1a8)]=(_0xd708f3[_0x3c0403(0x1d0)]+0x1)*0x4,this[_0x3c0403(0x369)]();for(var _0x583ab9=this[_0x3c0403(0x372)],_0x2df6c8=_0x583ab9[_0x3c0403(0x445)],_0x374ee3=0x0;_0x374ee3<0x4;_0x374ee3++){var _0x39f5a1=_0x2df6c8[_0x374ee3];_0x2df6c8[_0x374ee3]=(_0x39f5a1<<0x8|_0x39f5a1>>>0x18)&0xff00ff|(_0x39f5a1<<0x18|_0x39f5a1>>>0x8)&0xff00ff00;}return _0x583ab9;},'clone':function(){const _0x58ec50=_0x25b43f;var _0xadb911=_0x1b1f8d[_0x58ec50(0x3b2)][_0x58ec50(0x2a1)](this);return _0xadb911[_0x58ec50(0x372)]=this[_0x58ec50(0x372)][_0x58ec50(0x3b2)](),_0xadb911;}});function _0x123240(_0x23b8c4,_0x43d331,_0x3ad984,_0x850360,_0x4365c0,_0x1e3e4e,_0x381268){var _0x2d4be7=_0x23b8c4+(_0x43d331&_0x3ad984|~_0x43d331&_0x850360)+_0x4365c0+_0x381268;return(_0x2d4be7<<_0x1e3e4e|_0x2d4be7>>>0x20-_0x1e3e4e)+_0x43d331;}function _0x387c74(_0xda78f5,_0x539bb4,_0x3a2f42,_0x28c049,_0x2d4b69,_0x5d115d,_0x4a4950){var _0x50fcd1=_0xda78f5+(_0x539bb4&_0x28c049|_0x3a2f42&~_0x28c049)+_0x2d4b69+_0x4a4950;return(_0x50fcd1<<_0x5d115d|_0x50fcd1>>>0x20-_0x5d115d)+_0x539bb4;}function _0x1086ce(_0x2ca9b0,_0x45e05f,_0x4482d8,_0x1b8138,_0xa4b8e1,_0x16514a,_0x45648f){var _0x15b0cd=_0x2ca9b0+(_0x45e05f^_0x4482d8^_0x1b8138)+_0xa4b8e1+_0x45648f;return(_0x15b0cd<<_0x16514a|_0x15b0cd>>>0x20-_0x16514a)+_0x45e05f;}function _0x5d47f5(_0x511c53,_0x3faa4c,_0x3a2bdd,_0x1391ab,_0x5565cd,_0x251fdd,_0x4d629e){var _0x3590ad=_0x511c53+(_0x3a2bdd^(_0x3faa4c|~_0x1391ab))+_0x5565cd+_0x4d629e;return(_0x3590ad<<_0x251fdd|_0x3590ad>>>0x20-_0x251fdd)+_0x3faa4c;}_0x376e6f[_0x25b43f(0x176)]=_0x1b1f8d['_createHelper'](_0x174263),_0x376e6f[_0x25b43f(0x439)]=_0x1b1f8d[_0x25b43f(0x333)](_0x174263);}(Math),_0x2068fe[_0x13d792(0x176)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},qt={'exports':{}},ri;function tc(){const _0x179b4c=_0x50a7d0;return ri||(ri=0x1,function(_0x3eda93,_0x5ebfb5){(function(_0x47f55a,_0x5e3604){const _0x4d01e2=_0xc944;_0x3eda93[_0x4d01e2(0x480)]=_0x5e3604(ue());}(Z,function(_0x499830){const _0x229e00=_0xc944;return(function(){const _0x2d31d9=_0xc944;var _0x5daf17=_0x499830,_0x2d90eb=_0x5daf17[_0x2d31d9(0xde)],_0x1ccc5c=_0x2d90eb['WordArray'],_0x316e77=_0x2d90eb[_0x2d31d9(0x4b0)],_0x92dec2=_0x5daf17['algo'],_0x607f66=[],_0x13bb31=_0x92dec2['SHA1']=_0x316e77[_0x2d31d9(0x229)]({'_doReset':function(){const _0x51054a=_0x2d31d9;this['_hash']=new _0x1ccc5c[(_0x51054a(0x237))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x564a90,_0x1de542){const _0x9486f4=_0x2d31d9;for(var _0x25e9e2=this[_0x9486f4(0x372)][_0x9486f4(0x445)],_0x274881=_0x25e9e2[0x0],_0x5b1256=_0x25e9e2[0x1],_0xbe69ba=_0x25e9e2[0x2],_0x42784e=_0x25e9e2[0x3],_0x2e3ff1=_0x25e9e2[0x4],_0x4b5e7b=0x0;_0x4b5e7b<0x50;_0x4b5e7b++){if(_0x4b5e7b<0x10)_0x607f66[_0x4b5e7b]=_0x564a90[_0x1de542+_0x4b5e7b]|0x0;else{var _0x1da282=_0x607f66[_0x4b5e7b-0x3]^_0x607f66[_0x4b5e7b-0x8]^_0x607f66[_0x4b5e7b-0xe]^_0x607f66[_0x4b5e7b-0x10];_0x607f66[_0x4b5e7b]=_0x1da282<<0x1|_0x1da282>>>0x1f;}var _0x1d76d8=(_0x274881<<0x5|_0x274881>>>0x1b)+_0x2e3ff1+_0x607f66[_0x4b5e7b];_0x4b5e7b<0x14?_0x1d76d8+=(_0x5b1256&_0xbe69ba|~_0x5b1256&_0x42784e)+0x5a827999:_0x4b5e7b<0x28?_0x1d76d8+=(_0x5b1256^_0xbe69ba^_0x42784e)+0x6ed9eba1:_0x4b5e7b<0x3c?_0x1d76d8+=(_0x5b1256&_0xbe69ba|_0x5b1256&_0x42784e|_0xbe69ba&_0x42784e)-0x70e44324:_0x1d76d8+=(_0x5b1256^_0xbe69ba^_0x42784e)-0x359d3e2a,_0x2e3ff1=_0x42784e,_0x42784e=_0xbe69ba,_0xbe69ba=_0x5b1256<<0x1e|_0x5b1256>>>0x2,_0x5b1256=_0x274881,_0x274881=_0x1d76d8;}_0x25e9e2[0x0]=_0x25e9e2[0x0]+_0x274881|0x0,_0x25e9e2[0x1]=_0x25e9e2[0x1]+_0x5b1256|0x0,_0x25e9e2[0x2]=_0x25e9e2[0x2]+_0xbe69ba|0x0,_0x25e9e2[0x3]=_0x25e9e2[0x3]+_0x42784e|0x0,_0x25e9e2[0x4]=_0x25e9e2[0x4]+_0x2e3ff1|0x0;},'_doFinalize':function(){const _0x475d83=_0x2d31d9;var _0x30e666=this[_0x475d83(0x39c)],_0x19bc5b=_0x30e666[_0x475d83(0x445)],_0x3b63c8=this[_0x475d83(0x3ff)]*0x8,_0x2cbd77=_0x30e666[_0x475d83(0x1a8)]*0x8;return _0x19bc5b[_0x2cbd77>>>0x5]|=0x80<<0x18-_0x2cbd77%0x20,_0x19bc5b[(_0x2cbd77+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3b63c8/0x100000000),_0x19bc5b[(_0x2cbd77+0x40>>>0x9<<0x4)+0xf]=_0x3b63c8,_0x30e666[_0x475d83(0x1a8)]=_0x19bc5b[_0x475d83(0x1d0)]*0x4,this[_0x475d83(0x369)](),this[_0x475d83(0x372)];},'clone':function(){const _0x1202f6=_0x2d31d9;var _0x468ce3=_0x316e77[_0x1202f6(0x3b2)]['call'](this);return _0x468ce3[_0x1202f6(0x372)]=this[_0x1202f6(0x372)][_0x1202f6(0x3b2)](),_0x468ce3;}});_0x5daf17[_0x2d31d9(0x1bf)]=_0x316e77['_createHelper'](_0x13bb31),_0x5daf17[_0x2d31d9(0x1a3)]=_0x316e77[_0x2d31d9(0x333)](_0x13bb31);}()),_0x499830[_0x229e00(0x1bf)];}));}(qt)),qt[_0x179b4c(0x480)];}var Xt={'exports':{}},ni;function sc(){const _0x52697a=_0x50a7d0;return ni||(ni=0x1,function(_0x22987c,_0x48341d){(function(_0x20d919,_0x1b87e0){const _0x236ed4=_0xc944;_0x22987c[_0x236ed4(0x480)]=_0x1b87e0(ue());}(Z,function(_0x5c1c18){(function(){const _0x30635a=_0xc944;var _0x44f8ab=_0x5c1c18,_0x1cf644=_0x44f8ab[_0x30635a(0xde)],_0x3306fa=_0x1cf644[_0x30635a(0x111)],_0xe93fea=_0x44f8ab[_0x30635a(0x429)],_0x3d2e67=_0xe93fea[_0x30635a(0x468)],_0x42ccb0=_0x44f8ab[_0x30635a(0x263)];_0x42ccb0[_0x30635a(0x116)]=_0x3306fa[_0x30635a(0x229)]({'init':function(_0x58052e,_0x3f0003){const _0x313601=_0x30635a;_0x58052e=this['_hasher']=new _0x58052e[(_0x313601(0x237))](),typeof _0x3f0003=='string'&&(_0x3f0003=_0x3d2e67[_0x313601(0x47f)](_0x3f0003));var _0x371534=_0x58052e[_0x313601(0x10f)],_0x3312fd=_0x371534*0x4;_0x3f0003[_0x313601(0x1a8)]>_0x3312fd&&(_0x3f0003=_0x58052e[_0x313601(0x363)](_0x3f0003)),_0x3f0003[_0x313601(0x17d)]();for(var _0x2576a6=this['_oKey']=_0x3f0003[_0x313601(0x3b2)](),_0x49994b=this['_iKey']=_0x3f0003[_0x313601(0x3b2)](),_0x6aa149=_0x2576a6['words'],_0x326c7b=_0x49994b[_0x313601(0x445)],_0x168b72=0x0;_0x168b72<_0x371534;_0x168b72++)_0x6aa149[_0x168b72]^=0x5c5c5c5c,_0x326c7b[_0x168b72]^=0x36363636;_0x2576a6[_0x313601(0x1a8)]=_0x49994b[_0x313601(0x1a8)]=_0x3312fd,this['reset']();},'reset':function(){const _0x1b5437=_0x30635a;var _0x30b539=this[_0x1b5437(0x175)];_0x30b539[_0x1b5437(0xca)](),_0x30b539['update'](this[_0x1b5437(0x1f8)]);},'update':function(_0x515c03){const _0x1b9890=_0x30635a;return this[_0x1b9890(0x175)][_0x1b9890(0x137)](_0x515c03),this;},'finalize':function(_0x3a1945){const _0x5d344c=_0x30635a;var _0x1a0806=this[_0x5d344c(0x175)],_0x3227d7=_0x1a0806[_0x5d344c(0x363)](_0x3a1945);_0x1a0806['reset']();var _0x57c57e=_0x1a0806[_0x5d344c(0x363)](this[_0x5d344c(0xe1)]['clone']()[_0x5d344c(0x10e)](_0x3227d7));return _0x57c57e;}});}());}));}(Xt)),Xt[_0x52697a(0x480)];}var oi;function _0xc944(_0x5cdb6b,_0x1d047a){const _0x12838f=_0x1283();return _0xc944=function(_0xc944c9,_0x3db4ed){_0xc944c9=_0xc944c9-0xa9;let _0x1556bc=_0x12838f[_0xc944c9];return _0x1556bc;},_0xc944(_0x5cdb6b,_0x1d047a);}function Xi(){const _0x20d52c=_0x50a7d0;return oi||(oi=0x1,function(_0x5138bd,_0x5a61e9){(function(_0x1ee41b,_0x2dbac4,_0x38a981){const _0x437e14=_0xc944;_0x5138bd[_0x437e14(0x480)]=_0x2dbac4(ue(),tc(),sc());}(Z,function(_0x461d1a){const _0x4d6a55=_0xc944;return(function(){const _0xb8a41f=_0xc944;var _0x452ead=_0x461d1a,_0x4c5f5e=_0x452ead[_0xb8a41f(0xde)],_0x266a1d=_0x4c5f5e[_0xb8a41f(0x111)],_0x179c9d=_0x4c5f5e[_0xb8a41f(0x281)],_0x5b92e4=_0x452ead[_0xb8a41f(0x263)],_0x203d29=_0x5b92e4[_0xb8a41f(0x176)],_0x107074=_0x5b92e4[_0xb8a41f(0x489)]=_0x266a1d[_0xb8a41f(0x229)]({'cfg':_0x266a1d[_0xb8a41f(0x229)]({'keySize':0x80/0x20,'hasher':_0x203d29,'iterations':0x1}),'init':function(_0xdeb99f){const _0x5df228=_0xb8a41f;this['cfg']=this[_0x5df228(0x146)][_0x5df228(0x229)](_0xdeb99f);},'compute':function(_0x4ebdb9,_0x5d6bad){const _0x1c570a=_0xb8a41f;for(var _0x593cce,_0x110f42=this[_0x1c570a(0x146)],_0x3d26f3=_0x110f42['hasher'][_0x1c570a(0x24c)](),_0x53e9d6=_0x179c9d[_0x1c570a(0x24c)](),_0x1ecd9e=_0x53e9d6[_0x1c570a(0x445)],_0x94f39a=_0x110f42[_0x1c570a(0x1d5)],_0x2e5de0=_0x110f42[_0x1c570a(0x17f)];_0x1ecd9e[_0x1c570a(0x1d0)]<_0x94f39a;){_0x593cce&&_0x3d26f3[_0x1c570a(0x137)](_0x593cce),_0x593cce=_0x3d26f3[_0x1c570a(0x137)](_0x4ebdb9)[_0x1c570a(0x363)](_0x5d6bad),_0x3d26f3['reset']();for(var _0xc9bbe4=0x1;_0xc9bbe4<_0x2e5de0;_0xc9bbe4++)_0x593cce=_0x3d26f3[_0x1c570a(0x363)](_0x593cce),_0x3d26f3['reset']();_0x53e9d6['concat'](_0x593cce);}return _0x53e9d6[_0x1c570a(0x1a8)]=_0x94f39a*0x4,_0x53e9d6;}});_0x452ead[_0xb8a41f(0x489)]=function(_0x28c4a8,_0x271e71,_0x4e5b79){const _0xd31311=_0xb8a41f;return _0x107074[_0xd31311(0x24c)](_0x4e5b79)['compute'](_0x28c4a8,_0x271e71);};}()),_0x461d1a[_0x4d6a55(0x489)];}));}(zt)),zt[_0x20d52c(0x480)];}var Jt={'exports':{}},ai;function Ji(){return ai||(ai=0x1,function(_0xaa95e3,_0x444ad5){(function(_0x55b202,_0x14831e,_0x2cb20a){const _0x20fcf6=_0xc944;_0xaa95e3[_0x20fcf6(0x480)]=_0x14831e(ue(),Xi());}(Z,function(_0x1299eb){const _0x156645=_0xc944;_0x1299eb[_0x156645(0xde)][_0x156645(0x339)]||function(_0x15c027){const _0x486992=_0x156645;var _0x1b2f13=_0x1299eb,_0x19f3c6=_0x1b2f13[_0x486992(0xde)],_0x4d7c81=_0x19f3c6[_0x486992(0x111)],_0x387b5f=_0x19f3c6['WordArray'],_0xdea24d=_0x19f3c6[_0x486992(0x284)],_0x3787ce=_0x1b2f13['enc'];_0x3787ce[_0x486992(0x468)];var _0x4431ea=_0x3787ce[_0x486992(0x1bb)],_0x1b8734=_0x1b2f13['algo'],_0x5aed02=_0x1b8734[_0x486992(0x489)],_0xebff5c=_0x19f3c6[_0x486992(0x339)]=_0xdea24d[_0x486992(0x229)]({'cfg':_0x4d7c81['extend'](),'createEncryptor':function(_0x4e8584,_0x2c3ace){const _0x217c16=_0x486992;return this[_0x217c16(0x24c)](this[_0x217c16(0x423)],_0x4e8584,_0x2c3ace);},'createDecryptor':function(_0x308628,_0x457cb1){const _0x16eafc=_0x486992;return this[_0x16eafc(0x24c)](this[_0x16eafc(0x23a)],_0x308628,_0x457cb1);},'init':function(_0x4b667a,_0x474839,_0x43a3fb){const _0x235342=_0x486992;this[_0x235342(0x146)]=this['cfg'][_0x235342(0x229)](_0x43a3fb),this['_xformMode']=_0x4b667a,this['_key']=_0x474839,this[_0x235342(0xca)]();},'reset':function(){const _0x24012b=_0x486992;_0xdea24d[_0x24012b(0xca)][_0x24012b(0x2a1)](this),this[_0x24012b(0x136)]();},'process':function(_0x585a66){const _0x351e0d=_0x486992;return this[_0x351e0d(0x2ed)](_0x585a66),this[_0x351e0d(0x369)]();},'finalize':function(_0x4b1337){const _0x25ba82=_0x486992;_0x4b1337&&this[_0x25ba82(0x2ed)](_0x4b1337);var _0x5c8c63=this[_0x25ba82(0x239)]();return _0x5c8c63;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4ec66e(_0x4e8122){const _0x3d4391=_0xc944;return typeof _0x4e8122==_0x3d4391(0x218)?_0x456286:_0x1de5a6;}return function(_0x100ac1){return{'encrypt':function(_0x23c601,_0x254a28,_0x472fac){const _0x277514=_0xc944;return _0x4ec66e(_0x254a28)[_0x277514(0x31c)](_0x100ac1,_0x23c601,_0x254a28,_0x472fac);},'decrypt':function(_0x1502c3,_0x2353d1,_0xe1e692){const _0x1dfaaa=_0xc944;return _0x4ec66e(_0x2353d1)[_0x1dfaaa(0x279)](_0x100ac1,_0x1502c3,_0x2353d1,_0xe1e692);}};};}())});_0x19f3c6[_0x486992(0x22b)]=_0xebff5c[_0x486992(0x229)]({'_doFinalize':function(){const _0x5b2f76=_0x486992;var _0x48e703=this[_0x5b2f76(0x369)](!0x0);return _0x48e703;},'blockSize':0x1});var _0x1a5710=_0x1b2f13[_0x486992(0xf5)]={},_0x30dda7=_0x19f3c6['BlockCipherMode']=_0x4d7c81['extend']({'createEncryptor':function(_0x3aeaf1,_0xccc46a){const _0x9915a2=_0x486992;return this[_0x9915a2(0x202)][_0x9915a2(0x24c)](_0x3aeaf1,_0xccc46a);},'createDecryptor':function(_0x4ab455,_0x5e370c){const _0x45448e=_0x486992;return this[_0x45448e(0x120)][_0x45448e(0x24c)](_0x4ab455,_0x5e370c);},'init':function(_0x2c66ed,_0x3e7f94){const _0x4430c3=_0x486992;this[_0x4430c3(0x4b5)]=_0x2c66ed,this[_0x4430c3(0x4c0)]=_0x3e7f94;}}),_0x4a6e45=_0x1a5710[_0x486992(0x2fb)]=(function(){const _0x2087be=_0x486992;var _0x3f15a9=_0x30dda7[_0x2087be(0x229)]();_0x3f15a9[_0x2087be(0x202)]=_0x3f15a9[_0x2087be(0x229)]({'processBlock':function(_0x5df569,_0x283975){const _0x3cd14b=_0x2087be;var _0x4c3ec9=this[_0x3cd14b(0x4b5)],_0xb74dc0=_0x4c3ec9[_0x3cd14b(0x10f)];_0x5e97df[_0x3cd14b(0x2a1)](this,_0x5df569,_0x283975,_0xb74dc0),_0x4c3ec9[_0x3cd14b(0x207)](_0x5df569,_0x283975),this[_0x3cd14b(0x2aa)]=_0x5df569[_0x3cd14b(0x2bf)](_0x283975,_0x283975+_0xb74dc0);}}),_0x3f15a9['Decryptor']=_0x3f15a9[_0x2087be(0x229)]({'processBlock':function(_0x547b57,_0x4f1bda){const _0x135073=_0x2087be;var _0x8da143=this['_cipher'],_0x259f37=_0x8da143[_0x135073(0x10f)],_0x2b077d=_0x547b57[_0x135073(0x2bf)](_0x4f1bda,_0x4f1bda+_0x259f37);_0x8da143[_0x135073(0x3fd)](_0x547b57,_0x4f1bda),_0x5e97df['call'](this,_0x547b57,_0x4f1bda,_0x259f37),this[_0x135073(0x2aa)]=_0x2b077d;}});function _0x5e97df(_0x1f73e6,_0x3f502b,_0x2af4b6){const _0xe81238=_0x2087be;var _0x137b0b,_0x4a3fe7=this[_0xe81238(0x4c0)];_0x4a3fe7?(_0x137b0b=_0x4a3fe7,this[_0xe81238(0x4c0)]=_0x15c027):_0x137b0b=this['_prevBlock'];for(var _0x3c42fa=0x0;_0x3c42fa<_0x2af4b6;_0x3c42fa++)_0x1f73e6[_0x3f502b+_0x3c42fa]^=_0x137b0b[_0x3c42fa];}return _0x3f15a9;}()),_0x4ee198=_0x1b2f13[_0x486992(0x21e)]={},_0x3e14fe=_0x4ee198[_0x486992(0x12c)]={'pad':function(_0x1f2acb,_0x582833){const _0x517fe2=_0x486992;for(var _0x7db2cf=_0x582833*0x4,_0x245cb4=_0x7db2cf-_0x1f2acb[_0x517fe2(0x1a8)]%_0x7db2cf,_0x7cb303=_0x245cb4<<0x18|_0x245cb4<<0x10|_0x245cb4<<0x8|_0x245cb4,_0x220bcf=[],_0x1a703d=0x0;_0x1a703d<_0x245cb4;_0x1a703d+=0x4)_0x220bcf['push'](_0x7cb303);var _0x46ce9b=_0x387b5f['create'](_0x220bcf,_0x245cb4);_0x1f2acb[_0x517fe2(0x10e)](_0x46ce9b);},'unpad':function(_0x41df51){const _0xd67c83=_0x486992;var _0x33dce8=_0x41df51[_0xd67c83(0x445)][_0x41df51[_0xd67c83(0x1a8)]-0x1>>>0x2]&0xff;_0x41df51[_0xd67c83(0x1a8)]-=_0x33dce8;}};_0x19f3c6[_0x486992(0x2cf)]=_0xebff5c[_0x486992(0x229)]({'cfg':_0xebff5c[_0x486992(0x146)]['extend']({'mode':_0x4a6e45,'padding':_0x3e14fe}),'reset':function(){const _0x146fa4=_0x486992;var _0x302809;_0xebff5c['reset']['call'](this);var _0x3fa89b=this[_0x146fa4(0x146)],_0x326060=_0x3fa89b['iv'],_0x393b61=_0x3fa89b['mode'];this[_0x146fa4(0x405)]==this[_0x146fa4(0x423)]?_0x302809=_0x393b61[_0x146fa4(0x153)]:(_0x302809=_0x393b61[_0x146fa4(0x22d)],this[_0x146fa4(0x1c2)]=0x1),this[_0x146fa4(0x25e)]&&this['_mode'][_0x146fa4(0x3f7)]==_0x302809?this[_0x146fa4(0x25e)][_0x146fa4(0x237)](this,_0x326060&&_0x326060[_0x146fa4(0x445)]):(this['_mode']=_0x302809[_0x146fa4(0x2a1)](_0x393b61,this,_0x326060&&_0x326060[_0x146fa4(0x445)]),this[_0x146fa4(0x25e)][_0x146fa4(0x3f7)]=_0x302809);},'_doProcessBlock':function(_0x1aaec2,_0x284a02){const _0x270879=_0x486992;this[_0x270879(0x25e)][_0x270879(0x485)](_0x1aaec2,_0x284a02);},'_doFinalize':function(){const _0x3c70ed=_0x486992;var _0x759ee,_0xa7ae0d=this[_0x3c70ed(0x146)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0xa7ae0d[_0x3c70ed(0x21e)](this[_0x3c70ed(0x39c)],this[_0x3c70ed(0x10f)]),_0x759ee=this[_0x3c70ed(0x369)](!0x0)):(_0x759ee=this[_0x3c70ed(0x369)](!0x0),_0xa7ae0d[_0x3c70ed(0x194)](_0x759ee)),_0x759ee;},'blockSize':0x80/0x20});var _0x1158c2=_0x19f3c6[_0x486992(0x3a5)]=_0x4d7c81[_0x486992(0x229)]({'init':function(_0x5be310){const _0xe4261c=_0x486992;this[_0xe4261c(0x3e7)](_0x5be310);},'toString':function(_0x21af49){const _0x53730b=_0x486992;return(_0x21af49||this[_0x53730b(0x404)])['stringify'](this);}}),_0x557a06=_0x1b2f13[_0x486992(0xd2)]={},_0x14d4e1=_0x557a06['OpenSSL']={'stringify':function(_0x56b5d7){const _0x414134=_0x486992;var _0x1ab6d2,_0x32f37a=_0x56b5d7[_0x414134(0x183)],_0x277988=_0x56b5d7[_0x414134(0x32c)];return _0x277988?_0x1ab6d2=_0x387b5f['create']([0x53616c74,0x65645f5f])[_0x414134(0x10e)](_0x277988)['concat'](_0x32f37a):_0x1ab6d2=_0x32f37a,_0x1ab6d2[_0x414134(0x45a)](_0x4431ea);},'parse':function(_0xf5a408){const _0x11f30a=_0x486992;var _0x42a085,_0xd5f525=_0x4431ea['parse'](_0xf5a408),_0x2cb2a7=_0xd5f525[_0x11f30a(0x445)];return _0x2cb2a7[0x0]==0x53616c74&&_0x2cb2a7[0x1]==0x65645f5f&&(_0x42a085=_0x387b5f[_0x11f30a(0x24c)](_0x2cb2a7['slice'](0x2,0x4)),_0x2cb2a7[_0x11f30a(0xe3)](0x0,0x4),_0xd5f525[_0x11f30a(0x1a8)]-=0x10),_0x1158c2[_0x11f30a(0x24c)]({'ciphertext':_0xd5f525,'salt':_0x42a085});}},_0x1de5a6=_0x19f3c6['SerializableCipher']=_0x4d7c81[_0x486992(0x229)]({'cfg':_0x4d7c81[_0x486992(0x229)]({'format':_0x14d4e1}),'encrypt':function(_0x457745,_0x3f1e64,_0x26ebe6,_0x542c88){const _0x1fa0bc=_0x486992;_0x542c88=this[_0x1fa0bc(0x146)]['extend'](_0x542c88);var _0x2bd283=_0x457745[_0x1fa0bc(0x153)](_0x26ebe6,_0x542c88),_0x5f03f7=_0x2bd283['finalize'](_0x3f1e64),_0x30d988=_0x2bd283[_0x1fa0bc(0x146)];return _0x1158c2[_0x1fa0bc(0x24c)]({'ciphertext':_0x5f03f7,'key':_0x26ebe6,'iv':_0x30d988['iv'],'algorithm':_0x457745,'mode':_0x30d988[_0x1fa0bc(0xf5)],'padding':_0x30d988[_0x1fa0bc(0x308)],'blockSize':_0x457745[_0x1fa0bc(0x10f)],'formatter':_0x542c88[_0x1fa0bc(0xd2)]});},'decrypt':function(_0x5cf78f,_0x4bad6a,_0xd210a5,_0x3e5906){const _0xdc5019=_0x486992;_0x3e5906=this[_0xdc5019(0x146)]['extend'](_0x3e5906),_0x4bad6a=this[_0xdc5019(0x150)](_0x4bad6a,_0x3e5906[_0xdc5019(0xd2)]);var _0x4512c4=_0x5cf78f['createDecryptor'](_0xd210a5,_0x3e5906)[_0xdc5019(0x363)](_0x4bad6a['ciphertext']);return _0x4512c4;},'_parse':function(_0x3b4eab,_0x3b949d){return typeof _0x3b4eab=='string'?_0x3b949d['parse'](_0x3b4eab,this):_0x3b4eab;}}),_0x3089ee=_0x1b2f13['kdf']={},_0x3ba1a9=_0x3089ee[_0x486992(0x19c)]={'execute':function(_0x6d51df,_0x91b2aa,_0x245e4b,_0x404f0b,_0x28f9c7){const _0x5a60a4=_0x486992;if(_0x404f0b||(_0x404f0b=_0x387b5f['random'](0x40/0x8)),_0x28f9c7)var _0x3aefd2=_0x5aed02['create']({'keySize':_0x91b2aa+_0x245e4b,'hasher':_0x28f9c7})[_0x5a60a4(0x138)](_0x6d51df,_0x404f0b);else var _0x3aefd2=_0x5aed02['create']({'keySize':_0x91b2aa+_0x245e4b})[_0x5a60a4(0x138)](_0x6d51df,_0x404f0b);var _0x42ad99=_0x387b5f['create'](_0x3aefd2['words'][_0x5a60a4(0x2bf)](_0x91b2aa),_0x245e4b*0x4);return _0x3aefd2[_0x5a60a4(0x1a8)]=_0x91b2aa*0x4,_0x1158c2[_0x5a60a4(0x24c)]({'key':_0x3aefd2,'iv':_0x42ad99,'salt':_0x404f0b});}},_0x456286=_0x19f3c6[_0x486992(0x3db)]=_0x1de5a6['extend']({'cfg':_0x1de5a6[_0x486992(0x146)][_0x486992(0x229)]({'kdf':_0x3ba1a9}),'encrypt':function(_0x402d85,_0x2d2673,_0x1e546f,_0x39c266){const _0x28501d=_0x486992;_0x39c266=this[_0x28501d(0x146)]['extend'](_0x39c266);var _0x2f8505=_0x39c266['kdf'][_0x28501d(0x4a9)](_0x1e546f,_0x402d85[_0x28501d(0x1d5)],_0x402d85[_0x28501d(0x472)],_0x39c266[_0x28501d(0x32c)],_0x39c266[_0x28501d(0x458)]);_0x39c266['iv']=_0x2f8505['iv'];var _0x481887=_0x1de5a6[_0x28501d(0x31c)]['call'](this,_0x402d85,_0x2d2673,_0x2f8505[_0x28501d(0x31f)],_0x39c266);return _0x481887[_0x28501d(0x3e7)](_0x2f8505),_0x481887;},'decrypt':function(_0x403a57,_0x2dedef,_0x5e1782,_0x247f0e){const _0x426dff=_0x486992;_0x247f0e=this[_0x426dff(0x146)][_0x426dff(0x229)](_0x247f0e),_0x2dedef=this[_0x426dff(0x150)](_0x2dedef,_0x247f0e['format']);var _0x280488=_0x247f0e['kdf']['execute'](_0x5e1782,_0x403a57[_0x426dff(0x1d5)],_0x403a57[_0x426dff(0x472)],_0x2dedef[_0x426dff(0x32c)],_0x247f0e[_0x426dff(0x458)]);_0x247f0e['iv']=_0x280488['iv'];var _0x2e30bc=_0x1de5a6[_0x426dff(0x279)]['call'](this,_0x403a57,_0x2dedef,_0x280488[_0x426dff(0x31f)],_0x247f0e);return _0x2e30bc;}});}();}));}(Jt)),Jt['exports'];}(function(_0x4a5aad,_0x219c5b){(function(_0x15e51e,_0xe29774,_0x4a44dc){const _0x29f55a=_0xc944;_0x4a5aad[_0x29f55a(0x480)]=_0xe29774(ue(),qi(),ec(),Xi(),Ji());}(Z,function(_0x1eec4d){const _0x11cf1c=_0xc944;return(function(){const _0x604d7b=_0xc944;var _0x53d13c=_0x1eec4d,_0xb38d15=_0x53d13c[_0x604d7b(0xde)],_0xdd3a63=_0xb38d15[_0x604d7b(0x2cf)],_0x4e578a=_0x53d13c[_0x604d7b(0x263)],_0x2e5438=[],_0x2d44bb=[],_0x5727a9=[],_0x42df13=[],_0x731e0=[],_0x48a60f=[],_0xbe057a=[],_0x5e238e=[],_0x2512ff=[],_0x4cd99a=[];(function(){for(var _0x45c0bc=[],_0x264c47=0x0;_0x264c47<0x100;_0x264c47++)_0x264c47<0x80?_0x45c0bc[_0x264c47]=_0x264c47<<0x1:_0x45c0bc[_0x264c47]=_0x264c47<<0x1^0x11b;for(var _0x4860d8=0x0,_0x2344f7=0x0,_0x264c47=0x0;_0x264c47<0x100;_0x264c47++){var _0x575aff=_0x2344f7^_0x2344f7<<0x1^_0x2344f7<<0x2^_0x2344f7<<0x3^_0x2344f7<<0x4;_0x575aff=_0x575aff>>>0x8^_0x575aff&0xff^0x63,_0x2e5438[_0x4860d8]=_0x575aff,_0x2d44bb[_0x575aff]=_0x4860d8;var _0xb4954b=_0x45c0bc[_0x4860d8],_0x3c4b1f=_0x45c0bc[_0xb4954b],_0x4c564e=_0x45c0bc[_0x3c4b1f],_0x3e2a67=_0x45c0bc[_0x575aff]*0x101^_0x575aff*0x1010100;_0x5727a9[_0x4860d8]=_0x3e2a67<<0x18|_0x3e2a67>>>0x8,_0x42df13[_0x4860d8]=_0x3e2a67<<0x10|_0x3e2a67>>>0x10,_0x731e0[_0x4860d8]=_0x3e2a67<<0x8|_0x3e2a67>>>0x18,_0x48a60f[_0x4860d8]=_0x3e2a67;var _0x3e2a67=_0x4c564e*0x1010101^_0x3c4b1f*0x10001^_0xb4954b*0x101^_0x4860d8*0x1010100;_0xbe057a[_0x575aff]=_0x3e2a67<<0x18|_0x3e2a67>>>0x8,_0x5e238e[_0x575aff]=_0x3e2a67<<0x10|_0x3e2a67>>>0x10,_0x2512ff[_0x575aff]=_0x3e2a67<<0x8|_0x3e2a67>>>0x18,_0x4cd99a[_0x575aff]=_0x3e2a67,_0x4860d8?(_0x4860d8=_0xb4954b^_0x45c0bc[_0x45c0bc[_0x45c0bc[_0x4c564e^_0xb4954b]]],_0x2344f7^=_0x45c0bc[_0x45c0bc[_0x2344f7]]):_0x4860d8=_0x2344f7=0x1;}}());var _0x58fa76=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xa660cc=_0x4e578a[_0x604d7b(0x3ec)]=_0xdd3a63[_0x604d7b(0x229)]({'_doReset':function(){const _0x1d5901=_0x604d7b;var _0xb95b80;if(!(this[_0x1d5901(0xad)]&&this[_0x1d5901(0x19a)]===this[_0x1d5901(0x2b7)])){for(var _0x328e67=this[_0x1d5901(0x19a)]=this[_0x1d5901(0x2b7)],_0x1f2545=_0x328e67[_0x1d5901(0x445)],_0x482e4b=_0x328e67[_0x1d5901(0x1a8)]/0x4,_0x2a19e7=this[_0x1d5901(0xad)]=_0x482e4b+0x6,_0x2c6853=(_0x2a19e7+0x1)*0x4,_0x3aaac6=this[_0x1d5901(0x39b)]=[],_0x4a6813=0x0;_0x4a6813<_0x2c6853;_0x4a6813++)_0x4a6813<_0x482e4b?_0x3aaac6[_0x4a6813]=_0x1f2545[_0x4a6813]:(_0xb95b80=_0x3aaac6[_0x4a6813-0x1],_0x4a6813%_0x482e4b?_0x482e4b>0x6&&_0x4a6813%_0x482e4b==0x4&&(_0xb95b80=_0x2e5438[_0xb95b80>>>0x18]<<0x18|_0x2e5438[_0xb95b80>>>0x10&0xff]<<0x10|_0x2e5438[_0xb95b80>>>0x8&0xff]<<0x8|_0x2e5438[_0xb95b80&0xff]):(_0xb95b80=_0xb95b80<<0x8|_0xb95b80>>>0x18,_0xb95b80=_0x2e5438[_0xb95b80>>>0x18]<<0x18|_0x2e5438[_0xb95b80>>>0x10&0xff]<<0x10|_0x2e5438[_0xb95b80>>>0x8&0xff]<<0x8|_0x2e5438[_0xb95b80&0xff],_0xb95b80^=_0x58fa76[_0x4a6813/_0x482e4b|0x0]<<0x18),_0x3aaac6[_0x4a6813]=_0x3aaac6[_0x4a6813-_0x482e4b]^_0xb95b80);for(var _0x514594=this[_0x1d5901(0x17b)]=[],_0x32b96f=0x0;_0x32b96f<_0x2c6853;_0x32b96f++){var _0x4a6813=_0x2c6853-_0x32b96f;if(_0x32b96f%0x4)var _0xb95b80=_0x3aaac6[_0x4a6813];else var _0xb95b80=_0x3aaac6[_0x4a6813-0x4];_0x32b96f<0x4||_0x4a6813<=0x4?_0x514594[_0x32b96f]=_0xb95b80:_0x514594[_0x32b96f]=_0xbe057a[_0x2e5438[_0xb95b80>>>0x18]]^_0x5e238e[_0x2e5438[_0xb95b80>>>0x10&0xff]]^_0x2512ff[_0x2e5438[_0xb95b80>>>0x8&0xff]]^_0x4cd99a[_0x2e5438[_0xb95b80&0xff]];}}},'encryptBlock':function(_0xb9c13f,_0x4258aa){const _0x4b09b9=_0x604d7b;this[_0x4b09b9(0xd6)](_0xb9c13f,_0x4258aa,this[_0x4b09b9(0x39b)],_0x5727a9,_0x42df13,_0x731e0,_0x48a60f,_0x2e5438);},'decryptBlock':function(_0x283c1a,_0x42e45c){const _0x1a0054=_0x604d7b;var _0x846566=_0x283c1a[_0x42e45c+0x1];_0x283c1a[_0x42e45c+0x1]=_0x283c1a[_0x42e45c+0x3],_0x283c1a[_0x42e45c+0x3]=_0x846566,this[_0x1a0054(0xd6)](_0x283c1a,_0x42e45c,this['_invKeySchedule'],_0xbe057a,_0x5e238e,_0x2512ff,_0x4cd99a,_0x2d44bb);var _0x846566=_0x283c1a[_0x42e45c+0x1];_0x283c1a[_0x42e45c+0x1]=_0x283c1a[_0x42e45c+0x3],_0x283c1a[_0x42e45c+0x3]=_0x846566;},'_doCryptBlock':function(_0x2b3092,_0x10f4ad,_0x58df07,_0x4935ac,_0x226363,_0x1c21fa,_0x3fceab,_0x5d7601){for(var _0x5918c1=this['_nRounds'],_0x50206d=_0x2b3092[_0x10f4ad]^_0x58df07[0x0],_0x15e1a7=_0x2b3092[_0x10f4ad+0x1]^_0x58df07[0x1],_0x38e8f0=_0x2b3092[_0x10f4ad+0x2]^_0x58df07[0x2],_0x2e43d6=_0x2b3092[_0x10f4ad+0x3]^_0x58df07[0x3],_0x392cfb=0x4,_0x40d131=0x1;_0x40d131<_0x5918c1;_0x40d131++){var _0x1c7aae=_0x4935ac[_0x50206d>>>0x18]^_0x226363[_0x15e1a7>>>0x10&0xff]^_0x1c21fa[_0x38e8f0>>>0x8&0xff]^_0x3fceab[_0x2e43d6&0xff]^_0x58df07[_0x392cfb++],_0x154602=_0x4935ac[_0x15e1a7>>>0x18]^_0x226363[_0x38e8f0>>>0x10&0xff]^_0x1c21fa[_0x2e43d6>>>0x8&0xff]^_0x3fceab[_0x50206d&0xff]^_0x58df07[_0x392cfb++],_0x140b9d=_0x4935ac[_0x38e8f0>>>0x18]^_0x226363[_0x2e43d6>>>0x10&0xff]^_0x1c21fa[_0x50206d>>>0x8&0xff]^_0x3fceab[_0x15e1a7&0xff]^_0x58df07[_0x392cfb++],_0x222dd0=_0x4935ac[_0x2e43d6>>>0x18]^_0x226363[_0x50206d>>>0x10&0xff]^_0x1c21fa[_0x15e1a7>>>0x8&0xff]^_0x3fceab[_0x38e8f0&0xff]^_0x58df07[_0x392cfb++];_0x50206d=_0x1c7aae,_0x15e1a7=_0x154602,_0x38e8f0=_0x140b9d,_0x2e43d6=_0x222dd0;}var _0x1c7aae=(_0x5d7601[_0x50206d>>>0x18]<<0x18|_0x5d7601[_0x15e1a7>>>0x10&0xff]<<0x10|_0x5d7601[_0x38e8f0>>>0x8&0xff]<<0x8|_0x5d7601[_0x2e43d6&0xff])^_0x58df07[_0x392cfb++],_0x154602=(_0x5d7601[_0x15e1a7>>>0x18]<<0x18|_0x5d7601[_0x38e8f0>>>0x10&0xff]<<0x10|_0x5d7601[_0x2e43d6>>>0x8&0xff]<<0x8|_0x5d7601[_0x50206d&0xff])^_0x58df07[_0x392cfb++],_0x140b9d=(_0x5d7601[_0x38e8f0>>>0x18]<<0x18|_0x5d7601[_0x2e43d6>>>0x10&0xff]<<0x10|_0x5d7601[_0x50206d>>>0x8&0xff]<<0x8|_0x5d7601[_0x15e1a7&0xff])^_0x58df07[_0x392cfb++],_0x222dd0=(_0x5d7601[_0x2e43d6>>>0x18]<<0x18|_0x5d7601[_0x50206d>>>0x10&0xff]<<0x10|_0x5d7601[_0x15e1a7>>>0x8&0xff]<<0x8|_0x5d7601[_0x38e8f0&0xff])^_0x58df07[_0x392cfb++];_0x2b3092[_0x10f4ad]=_0x1c7aae,_0x2b3092[_0x10f4ad+0x1]=_0x154602,_0x2b3092[_0x10f4ad+0x2]=_0x140b9d,_0x2b3092[_0x10f4ad+0x3]=_0x222dd0;},'keySize':0x100/0x20});_0x53d13c['AES']=_0xdd3a63['_createHelper'](_0xa660cc);}()),_0x1eec4d[_0x11cf1c(0x3ec)];}));}(zi));var ic=zi[_0x50a7d0(0x480)];const rc=at(ic);var nc=qi();const ci=at(nc);var Zi={'exports':{}};(function(_0xe39910,_0x95a916){(function(_0x4b6d95,_0x4998c4){const _0x36da08=_0xc944;_0xe39910[_0x36da08(0x480)]=_0x4998c4(ue());}(Z,function(_0x5f1695){const _0x69aede=_0xc944;return _0x5f1695[_0x69aede(0x429)][_0x69aede(0x468)];}));}(Zi));var oc=Zi[_0x50a7d0(0x480)];const ac=at(oc);var Qi={'exports':{}};(function(_0x252527,_0x147f87){(function(_0x1176d5,_0x550135){const _0x56f8c1=_0xc944;_0x252527[_0x56f8c1(0x480)]=_0x550135(ue());}(Z,function(_0xc9903c){const _0x36dcc8=_0xc944;return(function(){const _0x5ed382=_0xc944;if(typeof ArrayBuffer==_0x5ed382(0x36c)){var _0x44f071=_0xc9903c,_0x35bf71=_0x44f071['lib'],_0x4cf2d2=_0x35bf71['WordArray'],_0x3440fa=_0x4cf2d2[_0x5ed382(0x237)],_0x51eedc=_0x4cf2d2[_0x5ed382(0x237)]=function(_0x2830a0){const _0x3a79b0=_0x5ed382;if(_0x2830a0 instanceof ArrayBuffer&&(_0x2830a0=new Uint8Array(_0x2830a0)),(_0x2830a0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2830a0 instanceof Uint8ClampedArray||_0x2830a0 instanceof Int16Array||_0x2830a0 instanceof Uint16Array||_0x2830a0 instanceof Int32Array||_0x2830a0 instanceof Uint32Array||_0x2830a0 instanceof Float32Array||_0x2830a0 instanceof Float64Array)&&(_0x2830a0=new Uint8Array(_0x2830a0[_0x3a79b0(0x1fa)],_0x2830a0[_0x3a79b0(0x359)],_0x2830a0[_0x3a79b0(0x3a6)])),_0x2830a0 instanceof Uint8Array){for(var _0x4f8341=_0x2830a0[_0x3a79b0(0x3a6)],_0x14ea20=[],_0xf9885=0x0;_0xf9885<_0x4f8341;_0xf9885++)_0x14ea20[_0xf9885>>>0x2]|=_0x2830a0[_0xf9885]<<0x18-_0xf9885%0x4*0x8;_0x3440fa[_0x3a79b0(0x2a1)](this,_0x14ea20,_0x4f8341);}else _0x3440fa[_0x3a79b0(0x335)](this,arguments);};_0x51eedc[_0x5ed382(0x155)]=_0x4cf2d2;}}()),_0xc9903c[_0x36dcc8(0xde)]['WordArray'];}));}(Qi));var cc=Qi[_0x50a7d0(0x480)];const hc=at(cc);var er={'exports':{}};(function(_0x4edeec,_0x50f1ae){(function(_0x1264d8,_0xcf8a05,_0x3f8cb7){const _0x2b411a=_0xc944;_0x4edeec[_0x2b411a(0x480)]=_0xcf8a05(ue(),Ji());}(Z,function(_0x5d0a26){const _0x211281=_0xc944;return _0x5d0a26[_0x211281(0x21e)][_0x211281(0x371)]={'pad':function(){},'unpad':function(){}},_0x5d0a26[_0x211281(0x21e)][_0x211281(0x371)];}));}(er));var lc=er[_0x50a7d0(0x480)];const _c=at(lc);function uc(_0x106420,_0x2e3b03){const _0x21fd13=_0x50a7d0,_0x4774c8=_0x2e3b03-_0x106420[_0x21fd13(0x1d0)]%_0x2e3b03,_0x578279=String['fromCharCode'](_0x4774c8)[_0x21fd13(0x37f)](_0x4774c8);return _0x106420+_0x578279;}function dc(_0x263555,_0x5d1b1c){const _0x50e15d=_0x50a7d0,_0x10a786=hc[_0x50e15d(0x220)](0x10),_0x1191bc=uc(_0x263555,0x10),_0x375f36=rc[_0x50e15d(0x31c)](ac[_0x50e15d(0x47f)](_0x1191bc),ci['parse'](_0x5d1b1c),{'iv':_0x10a786,'padding':_c});return _0x10a786['concat'](_0x375f36[_0x50e15d(0x183)])[_0x50e15d(0x45a)](ci);}function fc(){const _0xfe9c5d=_0x50a7d0,_0x4f964e=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xfe9c5d(0x34b)];if(_0x4f964e){const _0x122c48={'time':Math[_0xfe9c5d(0x28f)](Date[_0xfe9c5d(0x15a)]()/0x3e8),'domain':location[_0xfe9c5d(0x13a)]};return dc(JSON[_0xfe9c5d(0x2d6)](_0x122c48),_0x4f964e);}}var vc=Object[_0x50a7d0(0x15c)],mc=Object[_0x50a7d0(0x18b)],pc=(_0xa398ed,_0x5cb77f,_0x464590,_0x153352)=>{const _0x20e1a2=_0x50a7d0;for(var _0x1acb38=_0x153352>0x1?void 0x0:_0x153352?mc(_0x5cb77f,_0x464590):_0x5cb77f,_0x11bbbd=_0xa398ed[_0x20e1a2(0x1d0)]-0x1,_0x26be38;_0x11bbbd>=0x0;_0x11bbbd--)(_0x26be38=_0xa398ed[_0x11bbbd])&&(_0x1acb38=(_0x153352?_0x26be38(_0x5cb77f,_0x464590,_0x1acb38):_0x26be38(_0x1acb38))||_0x1acb38);return _0x153352&&_0x1acb38&&vc(_0x5cb77f,_0x464590,_0x1acb38),_0x1acb38;},gc=(_0x2b1dc8,_0x1f8f8a)=>(_0x70eaf1,_0x1e7ba8)=>_0x1f8f8a(_0x70eaf1,_0x1e7ba8,_0x2b1dc8);let Rt=class{constructor(_0x284d0a){const _0x5682e7=_0x50a7d0;this[_0x5682e7(0x38a)]=_0x284d0a,this[_0x5682e7(0x1f3)]();}[_0x50a7d0(0x1f3)](){const _0x554f8f=_0x50a7d0;this['_httpService'][_0x554f8f(0x434)]({'interceptor':(_0x2fb707,_0x51042c)=>{const _0x2b7f0d=_0x554f8f,_0x2e1f91=_0x2fb707[_0x2b7f0d(0x3de)],_0x2c3ac6=fc();return _0x2c3ac6&&_0x2e1f91[_0x2b7f0d(0x2ce)]('x-univer-host',_0x2c3ac6),_0x51042c(_0x2fb707);}});}};Rt=pc([gc(0x0,_0x33026a(_0x278722))],Rt);var Sc=Object[_0x50a7d0(0x15c)],Ic=Object[_0x50a7d0(0x18b)],Cc=(_0x124d16,_0x565b2b,_0x59dcfc,_0x382892)=>{const _0x29b592=_0x50a7d0;for(var _0x5387f8=_0x382892>0x1?void 0x0:_0x382892?Ic(_0x565b2b,_0x59dcfc):_0x565b2b,_0xf44418=_0x124d16[_0x29b592(0x1d0)]-0x1,_0x375c33;_0xf44418>=0x0;_0xf44418--)(_0x375c33=_0x124d16[_0xf44418])&&(_0x5387f8=(_0x382892?_0x375c33(_0x565b2b,_0x59dcfc,_0x5387f8):_0x375c33(_0x5387f8))||_0x5387f8);return _0x382892&&_0x5387f8&&Sc(_0x565b2b,_0x59dcfc,_0x5387f8),_0x5387f8;},Zt=(_0x548b45,_0x32ad1d)=>(_0x121149,_0x49f055)=>_0x32ad1d(_0x121149,_0x49f055,_0x548b45);const Ec=[_0x50a7d0(0x16b),_0x50a7d0(0x2ae),'image/jpg','image/gif','image/bmp'],bc=0x5*0x400*0x400,Tc=_0x50a7d0(0x297),Rc=_0x50a7d0(0x4a1),Oc=_0x50a7d0(0x19e),yc=_0x50a7d0(0x350);let _s=class{constructor(_0x53f0c7,_0x92e20b,_0x10fe6b){const _0x24c98f=_0x50a7d0;g(this,_0x24c98f(0x309),0x0),g(this,_0x24c98f(0x1be),new _0x5b148b()),g(this,_0x24c98f(0x1d6),this['_change$']),g(this,'_imageSourceCache',new Map()),(this[_0x24c98f(0x38a)]=_0x53f0c7,this[_0x24c98f(0x3bb)]=_0x92e20b,this[_0x24c98f(0x283)]=_0x10fe6b);}[_0x50a7d0(0x3b9)](_0x1acc92){const _0x9edf04=_0x50a7d0;this[_0x9edf04(0x309)]=_0x1acc92,this[_0x9edf04(0x1be)][_0x9edf04(0x492)](_0x1acc92);}[_0x50a7d0(0x4a0)](_0x3f0b9f,_0x10bd91){const _0x31c40e=_0x50a7d0;if(_0x10bd91===_0x253162[_0x31c40e(0x1fe)]){const _0x264193=new Image();return _0x264193[_0x31c40e(0x1e2)]=_0x3f0b9f,_0x264193;}return this[_0x31c40e(0x201)][_0x31c40e(0x373)](_0x3f0b9f);}[_0x50a7d0(0x1db)](_0xc07f4d,_0x45360d,_0x5ba696){const _0x42c18f=_0x50a7d0;_0x45360d===_0x253162[_0x42c18f(0x1fe)]||_0x5ba696==null||this[_0x42c18f(0x201)][_0x42c18f(0x2ce)](_0xc07f4d,_0x5ba696);}async['getImage'](_0x449ace){const _0x196b9c=_0x50a7d0;try{const _0x429a60=this[_0x196b9c(0x1b0)](this[_0x196b9c(0x416)](),''+_0x449ace),_0x36cfd6=(await this[_0x196b9c(0x38a)]['get'](_0x429a60))[_0x196b9c(0x48c)];if(_0x36cfd6[_0x196b9c(0x3a2)]&&_0x36cfd6['error'][_0x196b9c(0x48a)]===Ui['OK']){const _0x48c75c=new URL(_0x36cfd6[_0x196b9c(0x40b)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x196b9c(0x101)](_0x48c75c);}return Promise[_0x196b9c(0x440)](_0x36cfd6[_0x196b9c(0x3a2)]);}catch(_0x3d343c){return Promise['reject'](_0x3d343c);}}async[_0x50a7d0(0x4b7)](_0x3606db){const _0x4325c5=_0x50a7d0;let _0x4d4073='';if(!Ec[_0x4325c5(0x409)](_0x3606db[_0x4325c5(0x105)]))return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9['ERROR_IMAGE_TYPE']));if(_0x3606db[_0x4325c5(0x1e7)]>bc)return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9[_0x4325c5(0x3c0)]));try{const _0x13b716=new FormData();_0x13b716[_0x4325c5(0x42c)](_0x4325c5(0xe0),_0x3606db);const _0xbf7b39=this[_0x4325c5(0x283)][_0x4325c5(0x311)](),_0x6fc3c7=_0xbf7b39==null?void 0x0:_0xbf7b39[_0x4325c5(0x14f)]();if(!_0x6fc3c7)throw new Error(_0x4325c5(0x3f1));const _0x55298d=this[_0x4325c5(0x32d)]()+_0x4325c5(0x37a)+_0x3606db[_0x4325c5(0x1e7)][_0x4325c5(0x45a)]()+_0x4325c5(0x387)+Ni[_0x4325c5(0x1f4)]+'&assign='+encodeURIComponent(_0x6fc3c7),_0x4ed929=await(await fetch(_0x55298d,{'method':'POST','body':_0x13b716}))[_0x4325c5(0x292)]();if(typeof _0x4ed929[_0x4325c5(0x497)]!='string')return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9[_0x4325c5(0x24a)]));_0x4d4073=_0x4ed929[_0x4325c5(0x497)];}catch{return this[_0x4325c5(0x37c)](),Promise[_0x4325c5(0x440)](new Error(_0x4e08d9['ERROR_IMAGE']));}return new Promise((_0x222087,_0x1d04ac)=>{const _0x36164a=_0x4325c5,_0x362b62=new FileReader();_0x362b62[_0x36164a(0x444)](_0x3606db),_0x362b62[_0x36164a(0x1b6)]=_0x487760=>{const _0x1e998b=_0x36164a;var _0x165b63;const _0x3314ca=(_0x165b63=_0x487760['target'])==null?void 0x0:_0x165b63['result'];if(_0x3314ca==null){this['_decreaseWaiting'](),_0x1d04ac(new Error(_0x4e08d9[_0x1e998b(0x24a)]));return;}const _0x49ec02=_0x378638['generateRandomId'](0x6);_0x222087({'imageId':_0x49ec02,'imageSourceType':_0x253162[_0x1e998b(0x2a3)],'source':_0x4d4073,'base64Cache':_0x3314ca,'status':_0x4e08d9['SUCCUSS']}),this[_0x1e998b(0x37c)]();};});}[_0x50a7d0(0x32d)](){const _0x48bb35=_0x50a7d0;var _0x588341,_0x555dce;const _0x27ad45=this['_configService'][_0x48bb35(0x4c6)](Tc),_0x3c4747=this[_0x48bb35(0x3bb)]['getConfig'](ee);return(_0x555dce=(_0x588341=_0x3c4747==null?void 0x0:_0x3c4747['uploadFileServerUrl'])!=null?_0x588341:_0x27ad45)!=null?_0x555dce:Rc;}[_0x50a7d0(0x416)](){const _0x2e7358=_0x50a7d0;var _0x4793e1,_0x9b05e8;const _0x462246=this[_0x2e7358(0x3bb)][_0x2e7358(0x4c6)](Oc),_0x55f8c1=this[_0x2e7358(0x3bb)][_0x2e7358(0x4c6)](ee);return(_0x9b05e8=(_0x4793e1=_0x55f8c1==null?void 0x0:_0x55f8c1['signUrlServerUrl'])!=null?_0x4793e1:_0x462246)!=null?_0x9b05e8:yc;}[_0x50a7d0(0x3fb)](){const _0x5e8e08=_0x50a7d0;var _0x57c644;const _0xccba4f=this[_0x5e8e08(0x3bb)][_0x5e8e08(0x4c6)](ee);return(_0x57c644=_0xccba4f==null?void 0x0:_0xccba4f[_0x5e8e08(0x2fa)])!=null?_0x57c644:location[_0x5e8e08(0x27c)];}[_0x50a7d0(0x1b0)](_0x467582,_0x3020bf){const _0x18a8d3=_0x50a7d0;return _0x467582[_0x18a8d3(0x226)](_0x18a8d3(0x381),_0x3020bf);}[_0x50a7d0(0x37c)](){const _0x5ecad0=_0x50a7d0;this[_0x5ecad0(0x309)]-=0x1,this[_0x5ecad0(0x1be)][_0x5ecad0(0x492)](this['_waitCount']);}};_s=Cc([Zt(0x0,_0x33026a(_0x278722)),Zt(0x1,_0x533505),Zt(0x2,_0x33026a(_0x28b990))],_s);var wc=Object[_0x50a7d0(0x15c)],Dc=Object[_0x50a7d0(0x18b)],Pc=(_0x40494a,_0x5ebf8c,_0xaadcad,_0x4b04e8)=>{const _0x425d03=_0x50a7d0;for(var _0x8e304d=_0x4b04e8>0x1?void 0x0:_0x4b04e8?Dc(_0x5ebf8c,_0xaadcad):_0x5ebf8c,_0x416a69=_0x40494a[_0x425d03(0x1d0)]-0x1,_0x24d222;_0x416a69>=0x0;_0x416a69--)(_0x24d222=_0x40494a[_0x416a69])&&(_0x8e304d=(_0x4b04e8?_0x24d222(_0x5ebf8c,_0xaadcad,_0x8e304d):_0x24d222(_0x8e304d))||_0x8e304d);return _0x4b04e8&&_0x8e304d&&wc(_0x5ebf8c,_0xaadcad,_0x8e304d),_0x8e304d;},hi=(_0x403c70,_0x24b39d)=>(_0x169d8f,_0x1e5978)=>_0x24b39d(_0x169d8f,_0x1e5978,_0x403c70);const Uc=_0x50a7d0(0x1a4);let us=class{constructor(_0x29cfa1,_0x21a8dd){this['_configService']=_0x29cfa1,this['_HTTPService']=_0x21a8dd;}[_0x50a7d0(0x3ca)](){const _0x4d8591=_0x50a7d0;var _0x2ec33b,_0x2f5547;const _0x40e05e=this[_0x4d8591(0x3bb)]['getConfig'](Ki),_0x1dd891=this[_0x4d8591(0x3bb)]['getConfig'](ee);return(_0x2f5547=(_0x2ec33b=_0x1dd891==null?void 0x0:_0x1dd891['authzUrl'])!=null?_0x2ec33b:_0x40e05e)!=null?_0x2f5547:Uc;}async[_0x50a7d0(0x205)](_0x308999){const _0x131b11=_0x50a7d0,_0x4d3f48=this[_0x131b11(0x3ca)]()+_0x131b11(0x22c);return{'list':[{'title':_0x131b11(0x451),'mentions':(await this[_0x131b11(0x352)]['get'](_0x4d3f48,{'params':{'objectID':_0x308999['unitId'],'unitID':_0x308999[_0x131b11(0x258)]}}))[_0x131b11(0x48c)]['collaborators']['map'](_0x40986d=>({'objectId':_0x40986d['id'],'name':_0x40986d[_0x131b11(0x463)][_0x131b11(0x125)],'metadata':{'icon':_0x40986d[_0x131b11(0x463)][_0x131b11(0x3f4)]},'label':_0x40986d[_0x131b11(0x463)][_0x131b11(0x125)],'objectType':_0x1ebf2e[_0x131b11(0x30c)]})),'metadata':{},'type':_0x1ebf2e[_0x131b11(0x30c)]}]};}};us=Pc([hi(0x0,_0x33026a(_0x533505)),hi(0x1,_0x33026a(_0x278722))],us);var Nc=Object[_0x50a7d0(0x15c)],Ac=Object[_0x50a7d0(0x18b)],Mc=(_0x47208b,_0x55a36f,_0x37175d,_0x31be91)=>{const _0x596e22=_0x50a7d0;for(var _0x3d9f9b=_0x31be91>0x1?void 0x0:_0x31be91?Ac(_0x55a36f,_0x37175d):_0x55a36f,_0x2c94dd=_0x47208b[_0x596e22(0x1d0)]-0x1,_0x546bf2;_0x2c94dd>=0x0;_0x2c94dd--)(_0x546bf2=_0x47208b[_0x2c94dd])&&(_0x3d9f9b=(_0x31be91?_0x546bf2(_0x55a36f,_0x37175d,_0x3d9f9b):_0x546bf2(_0x3d9f9b))||_0x3d9f9b);return _0x31be91&&_0x3d9f9b&&Nc(_0x55a36f,_0x37175d,_0x3d9f9b),_0x3d9f9b;},Qe=(_0x5b4aa9,_0x42db01)=>(_0x331d95,_0x17b003)=>_0x42db01(_0x331d95,_0x17b003,_0x5b4aa9);let Ot=class extends _0x2983d9{constructor(_0x5879af,_0x397c6d,_0x5a085d,_0x12a47c,_0x57d325){const _0x35c8e0=_0x50a7d0;super(),this['_injector']=_0x5879af,this[_0x35c8e0(0x283)]=_0x397c6d,this[_0x35c8e0(0x135)]=_0x5a085d,this[_0x35c8e0(0x35e)]=_0x12a47c,this[_0x35c8e0(0x193)]=_0x57d325,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){const _0x4f8d56=_0x50a7d0,_0x166933=async _0xd11d1e=>{const _0xa9c48a=_0xc944;(await this[_0xa9c48a(0x35e)][_0xa9c48a(0x30a)](_0xd11d1e))['event$']['pipe'](_0x7d8aef(_0x18c1d4=>_0x18c1d4[_0xa9c48a(0x424)]===_0x26d642[_0xa9c48a(0x3a1)]),_0x3d76fb(this[_0xa9c48a(0x42e)]))[_0xa9c48a(0x479)](_0x306c82=>{const _0x201457=_0xa9c48a,_0x3cae01=_0x306c82,{reason:_0x937e42}=_0x3cae01[_0x201457(0x274)];this[_0x201457(0x408)][_0x201457(0x373)](_0xa8b33d)[_0x201457(0x179)]({'type':_0x4eaed3[_0x201457(0x282)],'content':this['_localeService']['t'](_0x201457(0x32b))+'('+_0x937e42+')'}),this['_permissionService'][_0x201457(0x142)](new _0x442ff4(_0xd11d1e)['id'],!0x1),this[_0x201457(0x35e)][_0x201457(0xc1)](_0xd11d1e);});};_0x4a9003(this[_0x4f8d56(0x283)][_0x4f8d56(0x162)](_0x40c566['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x40c566[_0x4f8d56(0x26b)]))[_0x4f8d56(0x157)](_0xe5458e(_0x97b3b2=>_0x97b3b2[_0x4f8d56(0x14f)]()),_0x7d8aef(_0x4b42f8=>!_0x520839(_0x4b42f8)),_0x3d76fb(this[_0x4f8d56(0x42e)]))[_0x4f8d56(0x479)](_0x877630=>{_0x166933(_0x877630);});}[_0x50a7d0(0x3b5)](){const _0x4a7961=_0x50a7d0,_0x214ccb=async _0x278be7=>{const _0x184146=_0xc944;(await this[_0x184146(0x35e)][_0x184146(0x30a)](_0x278be7))[_0x184146(0x414)]['pipe'](_0x7d8aef(_0x393673=>_0x393673[_0x184146(0x424)]===_0x26d642['UPDATE_PERMISSION_OBJ']),_0x3d76fb(this[_0x184146(0x42e)]))[_0x184146(0x479)](_0x8ea0=>{const _0x20d4e6=_0x184146,_0x370b1e=_0x8ea0,{objectId:_0x2b27f9}=_0x370b1e['data'],_0xc24c90=this[_0x20d4e6(0x408)][_0x20d4e6(0x373)](_0x5a857a);_0x2b27f9===_0x278be7?_0xc24c90[_0x20d4e6(0x3d5)](_0x278be7):_0xc24c90['refreshPermission'](_0x278be7,_0x2b27f9);});};_0x4a9003(this[_0x4a7961(0x283)][_0x4a7961(0x162)](_0x40c566[_0x4a7961(0x331)]),this[_0x4a7961(0x283)]['getTypeOfUnitAdded$'](_0x40c566['UNIVER_DOC']))['pipe'](_0xe5458e(_0x2718be=>_0x2718be[_0x4a7961(0x14f)]()),_0x7d8aef(_0x4c4476=>!_0x520839(_0x4c4476)),_0x3d76fb(this[_0x4a7961(0x42e)]))['subscribe'](_0x4b2541=>{_0x214ccb(_0x4b2541);});}};Ot=Mc([Qe(0x0,_0x33026a(_0x17dae8)),Qe(0x1,_0x28b990),Qe(0x2,_0x20da8e),Qe(0x3,_0x33026a(xe)),Qe(0x4,_0x33026a(_0x21b13d))],Ot);var xc=Object['defineProperty'],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x26f9f8,_0x2238c6,_0x3fc1ea,_0x235ffd)=>{for(var _0x3c9795=_0x235ffd>0x1?void 0x0:_0x235ffd?Lc(_0x2238c6,_0x3fc1ea):_0x2238c6,_0x5d5b08=_0x26f9f8['length']-0x1,_0x3d4869;_0x5d5b08>=0x0;_0x5d5b08--)(_0x3d4869=_0x26f9f8[_0x5d5b08])&&(_0x3c9795=(_0x235ffd?_0x3d4869(_0x2238c6,_0x3fc1ea,_0x3c9795):_0x3d4869(_0x3c9795))||_0x3c9795);return _0x235ffd&&_0x3c9795&&xc(_0x2238c6,_0x3fc1ea,_0x3c9795),_0x3c9795;},li=(_0x493214,_0x594363)=>(_0x5c5587,_0x17b349)=>_0x594363(_0x5c5587,_0x17b349,_0x493214);let ds=class{constructor(_0x2adaa3,_0x2e240f){const _0x2494d2=_0x50a7d0;this[_0x2494d2(0x3bb)]=_0x2adaa3,this[_0x2494d2(0x38a)]=_0x2e240f;}async[_0x50a7d0(0x349)](_0x3d0a2d,_0x51b5f4){const _0x3cf68c=_0x50a7d0;var _0x8c979e;const {unitID:_0x36fd5c,type:_0x17f0c3,revision:_0x1f44a8=0x0}=_0x51b5f4,_0x3ef924=this[_0x3cf68c(0x109)]()+'/'+_0x17f0c3+'/unit/'+_0x36fd5c+_0x3cf68c(0x240)+_0x1f44a8,_0x12d922=(await this[_0x3cf68c(0x38a)][_0x3cf68c(0x373)](_0x3ef924))['body'],_0x26f066=(_0x8c979e=_0x12d922[_0x3cf68c(0x1ca)])==null?void 0x0:_0x8c979e['workbook'];if(_0x26f066){const _0x3e4623=_0x26f066==null?void 0x0:_0x26f066['originalMeta'],_0x1bd2ee=_0x4a42d6[_0x3cf68c(0x2a7)](_0x806675(_0x3e4623));_0x26f066[_0x3cf68c(0x1ec)]=_0x1bd2ee,Object[_0x3cf68c(0x379)](_0x26f066['sheets'])[_0x3cf68c(0x375)](([,_0x3fcad8])=>{const _0x5031b4=_0x3cf68c,_0x4a5f32=_0x3fcad8['originalMeta'],_0x1bc785=_0x4a42d6[_0x5031b4(0x2a7)](_0x806675(_0x4a5f32));_0x3fcad8[_0x5031b4(0x1ec)]=_0x1bc785;});}return _0x12d922;}async[_0x50a7d0(0x230)](_0x100fdf,_0x5b3bfb){const _0x80f3fc=_0x50a7d0,{unitID:_0xf787c9,type:_0x3e4b4f,blockID:_0x464c9d}=_0x5b3bfb,_0xef94f9=this['_getAPIPrefix']()+'/'+_0x3e4b4f+_0x80f3fc(0x224)+_0xf787c9+'/block/'+_0x464c9d;return(await this['_httpService'][_0x80f3fc(0x373)](_0xef94f9))[_0x80f3fc(0x48c)];}async[_0x50a7d0(0x256)](_0xceec6,_0x2891fd){const _0x1cbb76=_0x50a7d0,{unitID:_0x201a43,type:_0x44fed0,blockID:_0x1389f9}=_0x2891fd,_0x2bdb11=this[_0x1cbb76(0x3a9)]()+_0x1cbb76(0x2a2)+_0x44fed0+_0x1cbb76(0x224)+_0x201a43+_0x1cbb76(0x2a2)+_0x1389f9;return(await this[_0x1cbb76(0x38a)][_0x1cbb76(0x373)](_0x2bdb11))['body'];}async[_0x50a7d0(0x392)](_0x26a48b,_0x38d7bc){const _0x312fa8=_0x50a7d0,{unitID:_0x5610f2,type:_0x2f6844,from:_0x20d14c,to:_0x606869}=_0x38d7bc,_0x25aeea=this[_0x312fa8(0x3a9)]()+'/'+_0x2f6844+'/unit/'+_0x5610f2+'/fetchmissing?from='+_0x20d14c+_0x312fa8(0x24f)+_0x606869;return(await this[_0x312fa8(0x38a)]['get'](_0x25aeea))[_0x312fa8(0x48c)];}['_getSnapshotAPIPrefix'](){const _0x2d6d8e=_0x50a7d0;var _0x4cb593;return(_0x4cb593=this['_configService'][_0x2d6d8e(0x4c6)](gn))!=null?_0x4cb593:this[_0x2d6d8e(0x3a9)]();}['_getAPIPrefix'](){const _0x1a15bf=_0x50a7d0;var _0x57392a,_0x461259;const _0x2a5718=this[_0x1a15bf(0x3bb)][_0x1a15bf(0x4c6)](mn),_0x3e0838=this[_0x1a15bf(0x3bb)][_0x1a15bf(0x4c6)](ee);return(_0x461259=(_0x57392a=_0x3e0838==null?void 0x0:_0x3e0838[_0x1a15bf(0x2ee)])!=null?_0x57392a:_0x2a5718)!=null?_0x461259:pn;}async['getResourcesRequest'](_0x42cd8d,_0x5cce02){const _0x3e1e17=_0x50a7d0,_0x25f085=_0x3e1e17(0x313)+_0x5cce02[_0x3e1e17(0x105)]+_0x3e1e17(0x224)+_0x5cce02[_0x3e1e17(0xaa)]+_0x3e1e17(0x11a);return(await this['_httpService'][_0x3e1e17(0x373)](_0x25f085,{'params':{'resourceId':JSON['stringify'](_0x5cce02[_0x3e1e17(0x1ae)])}}))['body'];}[_0x50a7d0(0x1d2)](){const _0x23330e=_0x50a7d0;throw new Error(_0x23330e(0x3c5));}[_0x50a7d0(0x169)](){const _0x3bded7=_0x50a7d0;throw new Error(_0x3bded7(0x3c5));}[_0x50a7d0(0x3e0)](){const _0x32ef94=_0x50a7d0;throw new Error(_0x32ef94(0x3c5));}[_0x50a7d0(0x29f)](){const _0x5d1716=_0x50a7d0;throw new Error(_0x5d1716(0x3c5));}['getLatestCsReqIdBySid'](){const _0x465f0d=_0x50a7d0;throw new Error(_0x465f0d(0x3c5));}};ds=$c([li(0x0,_0x533505),li(0x1,_0x33026a(_0x278722))],ds);var Hc=Object[_0x50a7d0(0x15c)],jc=Object[_0x50a7d0(0x18b)],Bc=(_0x3d83ed,_0x2b6f21,_0x81bc6b,_0x2c6804)=>{const _0x195e4e=_0x50a7d0;for(var _0x2ece17=_0x2c6804>0x1?void 0x0:_0x2c6804?jc(_0x2b6f21,_0x81bc6b):_0x2b6f21,_0x534971=_0x3d83ed[_0x195e4e(0x1d0)]-0x1,_0x59b11b;_0x534971>=0x0;_0x534971--)(_0x59b11b=_0x3d83ed[_0x534971])&&(_0x2ece17=(_0x2c6804?_0x59b11b(_0x2b6f21,_0x81bc6b,_0x2ece17):_0x59b11b(_0x2ece17))||_0x2ece17);return _0x2c6804&&_0x2ece17&&Hc(_0x2b6f21,_0x81bc6b,_0x2ece17),_0x2ece17;},et=(_0x5e13e5,_0xf7173c)=>(_0x595e00,_0x458d07)=>_0xf7173c(_0x595e00,_0x458d07,_0x5e13e5);let fs=class extends _0x2bc4a{constructor(_0x396d2f,_0x6cc794,_0x537169,_0x4aed3e,_0x3c9726){const _0x2363b0=_0x50a7d0;super(_0x396d2f,_0x6cc794,_0x537169),this[_0x2363b0(0x494)]=_0x4aed3e,this[_0x2363b0(0x422)]=_0x3c9726;}['transformUndoRedo'](_0x463e40,_0x58e34f){const _0x3578de=_0x50a7d0,_0x4d930e=this[_0x3578de(0x377)](_0x463e40);if(_0x4d930e)try{const _0x148e3d=this[_0x3578de(0x43f)](_0x4d930e,_0x58e34f);this[_0x3578de(0x4c2)](_0x463e40,_0x148e3d);}catch(_0x2cf3bd){this[_0x3578de(0x422)]['error'](_0x3578de(0x1cf),_0x2cf3bd),this[_0x3578de(0x44e)](_0x463e40);}const _0x23bb25=this[_0x3578de(0x40e)](_0x463e40);if(_0x23bb25)try{const _0x4a53cf=this['_transformStack'](_0x23bb25,_0x58e34f);this[_0x3578de(0x4af)](_0x463e40,_0x4a53cf);}catch(_0x243804){this['_logService'][_0x3578de(0x3a2)](_0x243804),this[_0x3578de(0x2a4)](_0x463e40);}}[_0x50a7d0(0x44e)](_0x41e2ca){const _0x198cae=_0x50a7d0,_0x127f54=this[_0x198cae(0x377)](_0x41e2ca);_0x127f54&&(_0x127f54[_0x198cae(0x1d0)]=0x0,this[_0x198cae(0x1c5)]());}[_0x50a7d0(0x2a4)](_0x2fff44){const _0x4d5ea6=_0x50a7d0,_0xfad35e=this[_0x4d5ea6(0x40e)](_0x2fff44);_0xfad35e&&(_0xfad35e['length']=0x0,this['_updateStatus']());}[_0x50a7d0(0x4c2)](_0xdfe5b,_0x432aec){const _0x117350=_0x50a7d0;this['_undoStacks'][_0x117350(0x2ce)](_0xdfe5b,_0x432aec),this[_0x117350(0x1c5)]();}[_0x50a7d0(0x4af)](_0x4f54c4,_0x3e5833){const _0x2fba5f=_0x50a7d0;this[_0x2fba5f(0xac)][_0x2fba5f(0x2ce)](_0x4f54c4,_0x3e5833),this['_updateStatus']();}[_0x50a7d0(0x43f)](_0x106e3c,_0xda3982){const _0x1f1b7e=_0x50a7d0,_0x110ed4=[];let _0x369253=_0xda3982,_0x17dcbe=_0xda3982;for(let _0x5a48f5=_0x106e3c[_0x1f1b7e(0x1d0)]-0x1;_0x5a48f5>=0x0;_0x5a48f5--){const {unitID:_0x40c537,undoMutations:_0x4fdaf1,redoMutations:_0x4d644c}=_0x106e3c[_0x5a48f5],_0x1e7e9d=this[_0x1f1b7e(0x494)][_0x1f1b7e(0x31d)](_0x369253,_0x4fdaf1),_0x1f34aa=this[_0x1f1b7e(0x494)][_0x1f1b7e(0x31d)](_0x17dcbe,_0x4d644c);if(_0x2a96c9(_0x1e7e9d)||_0x2a96c9(_0x1f34aa)){this['_logService'][_0x1f1b7e(0x3a2)](_0x1f1b7e(0x1cf),'transformStack\x20failed!',_0x1e7e9d,_0x1f34aa);break;}_0x369253=_0x1e7e9d[_0x1f1b7e(0x345)],_0x17dcbe=_0x1f34aa[_0x1f1b7e(0x345)],_0x110ed4[_0x1f1b7e(0xc6)]({'unitID':_0x40c537,'undoMutations':_0x1e7e9d['m2Prime'],'redoMutations':_0x1f34aa[_0x1f1b7e(0x37e)]});}return _0x110ed4['reverse']();}};fs=Bc([et(0x0,_0x28b990),et(0x1,_0x2e05f8),et(0x2,_0x1b8983),et(0x3,_0x4af41b),et(0x4,_0x299b7a)],fs);class kc extends _0x2983d9{constructor(){const _0x1d1e9f=_0x50a7d0;super(),g(this,_0x1d1e9f(0x1e1)),this[_0x1d1e9f(0x1e1)]=_0x226128(window,'popstate')['pipe'](_0x2b44f7(this[_0x1d1e9f(0x42e)]),_0x58d478(0x1),_0x5c5108(void 0x0));}[_0x50a7d0(0x236)](_0xb0379b,_0xb29f22,_0x473af5=!0x1){const _0x3b4908=_0x50a7d0,_0x8ba623=new URL(window['location']['href']);_0x8ba623[_0x3b4908(0x484)][_0x3b4908(0x2ce)](_0xb0379b,_0xb29f22),_0x473af5?window[_0x3b4908(0x2d4)][_0x3b4908(0x1b4)]('','',_0x8ba623[_0x3b4908(0x45a)]()):window[_0x3b4908(0x2d4)][_0x3b4908(0x33b)]('','',_0x8ba623[_0x3b4908(0x45a)]());}[_0x50a7d0(0x228)](_0x40d615,_0x1e14ae=!0x1){const _0x3bc39e=_0x50a7d0,_0x3ad560=new URL(window[_0x3bc39e(0x41a)][_0x3bc39e(0x403)]);_0x3ad560[_0x3bc39e(0x484)]['delete'](_0x40d615),_0x1e14ae?window[_0x3bc39e(0x2d4)][_0x3bc39e(0x1b4)]('','',_0x3ad560[_0x3bc39e(0x45a)]()):window[_0x3bc39e(0x2d4)][_0x3bc39e(0x33b)]('','',_0x3ad560['toString']());}[_0x50a7d0(0x460)](_0x57c189){const _0x3ae67c=_0x50a7d0;var _0xfb39ea;return(_0xfb39ea=new URL(window[_0x3ae67c(0x41a)][_0x3ae67c(0x403)])[_0x3ae67c(0x484)][_0x3ae67c(0x373)](_0x57c189))!=null?_0xfb39ea:void 0x0;}}var tr=Object[_0x50a7d0(0x15c)],Wc=Object[_0x50a7d0(0x18b)],Fc=(_0x15529e,_0x5d3c9f,_0x161379)=>_0x5d3c9f in _0x15529e?tr(_0x15529e,_0x5d3c9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x161379}):_0x15529e[_0x5d3c9f]=_0x161379,Vc=(_0x5addd5,_0x452fc0,_0x1a53fc,_0x5cadf5)=>{const _0x36a0db=_0x50a7d0;for(var _0x3f0e88=_0x5cadf5>0x1?void 0x0:_0x5cadf5?Wc(_0x452fc0,_0x1a53fc):_0x452fc0,_0x3800db=_0x5addd5[_0x36a0db(0x1d0)]-0x1,_0x5dce9d;_0x3800db>=0x0;_0x3800db--)(_0x5dce9d=_0x5addd5[_0x3800db])&&(_0x3f0e88=(_0x5cadf5?_0x5dce9d(_0x452fc0,_0x1a53fc,_0x3f0e88):_0x5dce9d(_0x3f0e88))||_0x3f0e88);return _0x5cadf5&&_0x3f0e88&&tr(_0x452fc0,_0x1a53fc,_0x3f0e88),_0x3f0e88;},lt=(_0x1c7470,_0x7770ac)=>(_0x3882b7,_0xc5c11f)=>_0x7770ac(_0x3882b7,_0xc5c11f,_0x1c7470),Gc=(_0x3b1be1,_0x1f1369,_0x2c27c7)=>Fc(_0x3b1be1,_0x1f1369+'',_0x2c27c7);const Yc=_0x50a7d0(0x420);let vs=class extends _0x318b29{constructor(_0x3f59e3=Mn,_0x5a5d22,_0x2da2f3,_0x1f8a92,_0x19d95d){const _0x329e89=_0x50a7d0;super(),this[_0x329e89(0x1ea)]=_0x3f59e3,this['_logService']=_0x5a5d22,this[_0x329e89(0x1af)]=_0x2da2f3,this[_0x329e89(0x408)]=_0x1f8a92,this[_0x329e89(0x3bb)]=_0x19d95d;const {..._0x103ff9}=this[_0x329e89(0x1ea)];this['_configService'][_0x329e89(0x1c7)](ee,_0x103ff9);}[_0x50a7d0(0x264)](){const _0x4be045=_0x50a7d0;this[_0x4be045(0x46c)](),this[_0x4be045(0x40f)]();}[_0x50a7d0(0x3cf)](){const _0x3b71dc=_0x50a7d0;_0x8eb2c0(this[_0x3b71dc(0x408)],[[bt],[It]]);}[_0x50a7d0(0x203)](){const _0x1bdd1e=_0x50a7d0;this[_0x1bdd1e(0x198)]();}[_0x50a7d0(0x46c)](){const _0x23c6f9=_0x50a7d0;var _0x54222a,_0xf60463,_0x3e292f,_0x26d784;this[_0x23c6f9(0x408)][_0x23c6f9(0x28d)](_0x5b0e0d)&&this[_0x23c6f9(0x422)][_0x23c6f9(0x3a2)](_0x23c6f9(0x13d),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4f32e9=[[_0x5b0e0d,{'useClass':fs}],[xe],[Os],[Yi,{'useClass':kc}],[Me],[q],[_0x2d5820],[mt],[gt],[vt],[pt],[Ts],[Tt],[Rt],[Mi],[Ot],[Ai,{'useClass':(_0xf60463=(_0x54222a=this[_0x23c6f9(0x1ea)])==null?void 0x0:_0x54222a['socketService'])!=null?_0xf60463:ss}],[_0x2647d5,{'useClass':ds}],[_0x1540fd,{'useClass':ls}],[_0x4a51fd,{'useClass':_s}],[_0x5f0aab,{'useClass':us}],[it],[Et],[Ct],[bt],[Ve],[It]];(_0x3e292f=this[_0x23c6f9(0x1ea)])!=null&&_0x3e292f[_0x23c6f9(0x35f)]&&_0x4f32e9[_0x23c6f9(0xc6)]([yt,{'useClass':vo}]),_0x154853(this[_0x23c6f9(0x408)],_0x3bf386(_0x4f32e9,(_0x26d784=this['_config'])==null?void 0x0:_0x26d784[_0x23c6f9(0x42d)]));}[_0x50a7d0(0x198)](){const _0x4ac07c=_0x50a7d0;this[_0x4ac07c(0x450)](this[_0x4ac07c(0x1af)][_0x4ac07c(0x2e6)](_0x40c566['UNIVER_DOC'],[cs])),this[_0x4ac07c(0x450)](this[_0x4ac07c(0x1af)][_0x4ac07c(0x2e6)](_0x40c566[_0x4ac07c(0x331)],[hs]));}[_0x50a7d0(0x40f)](){const _0x44dd1e=_0x50a7d0;var _0xdb7583,_0x103fb4;this[_0x44dd1e(0x408)][_0x44dd1e(0x373)](_0x278722)[_0x44dd1e(0x434)]({'priority':0x14,'interceptor':_0x4a5979({'maxParallel':0x6})}),(_0xdb7583=this['_config'])!=null&&_0xdb7583[_0x44dd1e(0x34e)]||this[_0x44dd1e(0x408)]['get'](q)[_0x44dd1e(0x277)](),(_0x103fb4=this[_0x44dd1e(0x1ea)])!=null&&_0x103fb4[_0x44dd1e(0x464)]&&_0x8eb2c0(this[_0x44dd1e(0x408)],[[Tt]]),_0x8eb2c0(this['_injector'],[[Rt],[Ve],[Et],[it],[Ct],[Ot]]);}};Gc(vs,_0x50a7d0(0x234),Yc),vs=Vc([_0x449762(_0x8096fe,_0x1bc40e),lt(0x1,_0x299b7a),lt(0x2,_0x984cff),lt(0x3,_0x33026a(_0x17dae8)),lt(0x4,_0x533505)],vs);export{Ki as AUTHZ_URL_KEY,ls as AuthzIoHttpService,ee as COLLAB_CLIENT_CONFIG_KEY,Pn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,is as CollaborationSession,xe as CollaborationSessionService,ss as CollaborationSocketService,J as CollaborationStatus,Aa as CollaborationStatusDisplay,Mi as CommentService,Et as DataLoaderController,Ct as DesktopCollaborationStatusDisplayController,rs as DocCollaborationEntity,bn as HEARTBEAT_INTERVAL_KEY,Di as HEARTBEAT_TIMEOUT_KEY,Ai as ICollaborationSocketService,Yi as IURLService,_s as ImageIoService,wn as LOCAL_CACHE_INTERVAL_KEY,Nn as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,us as MentionIoHttpService,On as RETRY_CONNECTING_MAX_COUNT_KEY,_h as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,gn as SNAPSHOT_URL_KEY,ve as SessionStatus,ca as SheetCollabCursorShape,ns as SheetCollaborationEntity,ds as SnapshotServerOverHTTPService,vs as UniverCollaborationClientPlugin,kc as WebURLService,xn as deserializeToCombResponse,Ln as serializeCombRequest};