@univerjs-pro/collaboration-client 0.4.2-nightly.202411081606 → 0.4.2-nightly.202411091134

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 _0x29d74e=_0x2ea9;(function(_0x90dcca,_0xf433f1){const _0x308bff=_0x2ea9,_0x8fa752=_0x90dcca();while(!![]){try{const _0x81e180=-parseInt(_0x308bff(0x1b5))/0x1+parseInt(_0x308bff(0x283))/0x2+parseInt(_0x308bff(0x316))/0x3+-parseInt(_0x308bff(0xfe))/0x4*(parseInt(_0x308bff(0x10e))/0x5)+-parseInt(_0x308bff(0x227))/0x6+parseInt(_0x308bff(0xea))/0x7+parseInt(_0x308bff(0x36c))/0x8;if(_0x81e180===_0xf433f1)break;else _0x8fa752['push'](_0x8fa752['shift']());}catch(_0x5b6c10){_0x8fa752['push'](_0x8fa752['shift']());}}}(_0x2db9,0xbfee4));var Gi=Object[_0x29d74e(0x229)],Yi=(_0x24bcb0,_0x462ab,_0xa935e4)=>_0x462ab in _0x24bcb0?Gi(_0x24bcb0,_0x462ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa935e4}):_0x24bcb0[_0x462ab]=_0xa935e4,g=(_0x27d0c6,_0x500e81,_0x3bee05)=>Yi(_0x27d0c6,typeof _0x500e81!=_0x29d74e(0x41e)?_0x500e81+'':_0x500e81,_0x3bee05);import{createIdentifier as _0x1f1029,Inject as _0x37efa2,Disposable as _0x3755da,DisposableCollection as _0x427570,toDisposable as _0x3dbac0,IConfigService as _0x167231,ILogService as _0x2b335c,UserManagerService as _0x3a6e4c,UniverInstanceType as _0xcdbbdb,IUniverInstanceService as _0x4c5fa7,LocaleService as _0x10be55,Optional as _0x4e2ed1,RxDisposable as _0x44a670,Injector as _0x1e339b,Tools as _0x56f740,ILocalStorageService as _0x35bdfa,Rectangle as _0x13dc9c,ICommandService as _0xc41305,DOC_RANGE_TYPE as _0x420eb0,JSONX as _0x41e917,CommandType as _0x46699b,IPermissionService as _0x1776e5,IUndoRedoService as _0x17339c,sequenceExecute as _0x7c6ca0,debounce as _0x496240,COLORS as _0x4c04a5,ColorKit as _0x3bbabd,ThemeService as _0x5c683b,fromEventSubject as _0xffdf95,useDependency as _0x15e79c,connectInjector as _0x49e990,Workbook as _0x43f26f,isInternalEditorID as _0x592dc5,LocalUndoRedoService as _0x564f91,IContextService as _0x1845f3,DependentOn as _0x285417,Plugin as _0x5b55da,touchDependencies as _0x3f5f15,IAuthzIoService as _0x385e9a,registerDependencies as _0x220436,mergeOverrideWithDependencies as _0x479814}from'@univerjs/core';import{Subject as _0x2c142e,merge as _0xef46fa,takeUntil as _0xb0a601,BehaviorSubject as _0x260ce9,distinctUntilChanged as _0x33fdae,fromEvent as _0x83dc15,ReplaySubject as _0x6f5e56,take as _0x5d9d63,map as _0x1a4470,shareReplay as _0x304e5f,of as _0x4931a8,debounceTime as _0x3e8a9b,filter as _0x343ab0,switchMap as _0xb89769,combineLatest as _0x4892e4,concatMap as _0x21939c,mapTo as _0x5047b1}from'rxjs';import{map as _0x1c1ea1,take as _0x2fc2e4,filter as _0x2746a5,delay as _0x436265,throttleTime as _0xd6772,takeUntil as _0x41e8bd,switchMap as _0x47c098}from'rxjs/operators';import{MessageType as _0x5b9771,Tooltip as _0x267fce}from'@univerjs/design';import{IBeforeCloseService as _0x1d600a,IMessageService as _0xcca842,INotificationService as _0x4a1a82,useObservable as _0x1dd784,BuiltInUIPart as _0x11ebc1,IUIPartsService as _0x30f7bf}from'@univerjs/ui';import{HTTPService as _0x28ac76,WebSocketService as _0xad4ad5,MergeInterceptorFactory as _0x9684c3,HTTPRequest as _0x10d3ff,UniverNetworkPlugin as _0x1da47c,ThresholdInterceptorFactory as _0x2ad2e3}from'@univerjs/network';import{CollaborationEvent as _0x1030bd,parseChangesetToProtocol as _0x158b53,ISnapshotServerService as _0x2b7ebf,isTransformMutationFailure as _0x390965,isTransformMutationsWithChangesetSuccess as _0x45440f,ITransformService as _0x4938c5,RevisionService as _0x405d92,mapDocumentTypeToUniverType as _0x4feb37,isTransformChangesetsSuccess as _0x41dbbd,CompressMutationService as _0x1a17bf,parseProtocolChangeset as _0x47af05,SnapshotService as _0x7ad995,textEncoder as _0x5a6397,b64DecodeUnicode as _0x2b9359,isTransformMutationsWithChangesetFailure as _0x3547b2,UniverCollaborationPlugin as _0x150e21}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1188ed}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x3b14b4,DocStateChangeManagerService as _0x138bd8,NodePositionConvertToCursor as _0x47fb66,NodePositionConvertToRectRange as _0x23a8f9,TEXT_RANGE_LAYER_INDEX as _0xdfde1a,SetDocZoomRatioOperation as _0x3a4b83}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x28f4ca,SetSelectionsOperation as _0x371c24,InsertSheetMutation as _0xd0e140,EmptyMutation as _0x1b5a78,WorkbookEditablePermission as _0x3399e3,RefRangeService as _0x43c2c4,EffectRefRangId as _0x4b9ff9,handleIRemoveRow as _0x2f0508,handleIRemoveCol as _0x342e0f,handleMoveRange as _0x5f24f5,handleInsertRow as _0x419297,handleInsertRangeMoveRight as _0x3f3f4d,handleInsertRangeMoveDown as _0x9bc488,handleInsertCol as _0x3be363,handleDeleteRangeMoveUp as _0x5d4d4c,handleDeleteRangeMoveLeft as _0x19d976,runRefRangeMutations as _0x419ccc,SetWorksheetActivateCommand as _0x3a907a}from'@univerjs/sheets';import{IRenderManagerService as _0x4b3f95,Shape as _0x95b801,Rect as _0x2fbc00,getColor as _0x3a2782,RegularPolygon as _0x19ae98,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1b9c52,Vector2 as _0x25775b}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5973e7,RichTextEditingMutation as _0x10d0b7,SetTextSelectionsOperation as _0xe6a35a,DocSkeletonManagerService as _0x55707a}from'@univerjs/docs';import{ImageSourceType as _0xb2e9,ImageUploadStatusType as _0x537a24,IImageIoService as _0x5ba3bd}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x586bff,serializeRangeWithSheet as _0x4f7853}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x534a87,VIEWPORT_KEY as _0x53f43f,getCoordByCell as _0x2857ae,getSheetObject as _0x18bb66,SheetPermissionInitController as _0x506687}from'@univerjs/sheets-ui';import{jsx as _0x17a3c7,jsxs as _0x140b2e}from'react/jsx-runtime';import{forwardRef as _0x519233,useRef as _0x4f1e77,createElement as _0x462747,useCallback as _0x1fd2a1}from'react';import{IRemoteInstanceService as _0x1a02c6}from'@univerjs/rpc';const nr='SNAPSHOT_SERVER_URL_KEY',rr=_0x29d74e(0x2ba),or=_0x29d74e(0x32b),Bc=_0x29d74e(0x401),ar=0x7d0,cr='COLLAB_WEB_SOCKET_URL',hr=_0x29d74e(0x3f2),lr=_0x29d74e(0x40d),_r=0x7530,Ii=_0x29d74e(0x131),Ci=0x4e20,ur=0x4e20,dr='RETRY_CONNECTING_MAX_COUNT',fr=0x3,vr=_0x29d74e(0x23e),mr=0x3e8,pr='COLLAB_SUBMIT_CHANGESET_URL',gr=_0x29d74e(0x158),Sr='LOGIN_URL_KEY',Ir=_0x29d74e(0x275);var Ei=(_0x25efec=>(_0x25efec[_0x25efec[_0x29d74e(0x200)]=0x0]='UNDEFINED',_0x25efec[_0x25efec['OK']=0x1]='OK',_0x25efec[_0x25efec[_0x29d74e(0x3b3)]=0x2]=_0x29d74e(0x3b3),_0x25efec[_0x25efec['PERMISSION_DENIED']=0x3]=_0x29d74e(0x295),_0x25efec[_0x25efec[_0x29d74e(0x12e)]=0x4]='NOT_FOUND',_0x25efec[_0x25efec[_0x29d74e(0x4be)]=0x5]=_0x29d74e(0x4be),_0x25efec[_0x25efec[_0x29d74e(0x1a5)]=0x6]=_0x29d74e(0x1a5),_0x25efec[_0x25efec[_0x29d74e(0x42f)]=0x7]='INVALID_ARGUMENT',_0x25efec[_0x25efec[_0x29d74e(0x1b6)]=0x8]=_0x29d74e(0x1b6),_0x25efec[_0x25efec[_0x29d74e(0x41a)]=0x9]=_0x29d74e(0x41a),_0x25efec[_0x25efec[_0x29d74e(0x33b)]=0x1389]=_0x29d74e(0x33b),_0x25efec[_0x25efec[_0x29d74e(0x21e)]=0x1771]=_0x29d74e(0x21e),_0x25efec[_0x25efec[_0x29d74e(0x25e)]=0x1772]=_0x29d74e(0x25e),_0x25efec[_0x25efec['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x29d74e(0x2da),_0x25efec[_0x25efec[_0x29d74e(0x1f4)]=0x1b59]=_0x29d74e(0x1f4),_0x25efec[_0x25efec[_0x29d74e(0x1fa)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x25efec[_0x25efec['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29d74e(0x320),_0x25efec[_0x25efec[_0x29d74e(0x2c6)]=0x1b5c]=_0x29d74e(0x2c6),_0x25efec[_0x25efec['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x25efec[_0x25efec[_0x29d74e(0x2f3)]=0x1f41]=_0x29d74e(0x2f3),_0x25efec[_0x25efec[_0x29d74e(0x151)]=0x2329]=_0x29d74e(0x151),_0x25efec[_0x25efec[_0x29d74e(0x23a)]=0x232a]=_0x29d74e(0x23a),_0x25efec[_0x25efec[_0x29d74e(0x2ea)]=0x232b]=_0x29d74e(0x2ea),_0x25efec[_0x25efec[_0x29d74e(0x2ed)]=0x232c]=_0x29d74e(0x2ed),_0x25efec[_0x25efec[_0x29d74e(0x152)]=0x232d]=_0x29d74e(0x152),_0x25efec[_0x25efec[_0x29d74e(0x49c)]=0x2711]=_0x29d74e(0x49c),_0x25efec[_0x25efec[_0x29d74e(0x43b)]=0x2712]=_0x29d74e(0x43b),_0x25efec[_0x25efec[_0x29d74e(0x48e)]=0x2713]=_0x29d74e(0x48e),_0x25efec[_0x25efec['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x29d74e(0x4f3),_0x25efec[_0x25efec[_0x29d74e(0x192)]=-0x1]='UNRECOGNIZED',_0x25efec))(Ei||{}),ce=(_0x2d637c=>(_0x2d637c[_0x2d637c[_0x29d74e(0x215)]=0x0]=_0x29d74e(0x215),_0x2d637c[_0x2d637c[_0x29d74e(0x2f6)]=0x1]=_0x29d74e(0x2f6),_0x2d637c[_0x2d637c[_0x29d74e(0x142)]=0x2]=_0x29d74e(0x142),_0x2d637c[_0x2d637c[_0x29d74e(0x32e)]=0x3]=_0x29d74e(0x32e),_0x2d637c[_0x2d637c[_0x29d74e(0x16e)]=0x4]='UNIVER_PROJECT',_0x2d637c[_0x2d637c[_0x29d74e(0x192)]=-0x1]='UNRECOGNIZED',_0x2d637c))(ce||{}),W=(_0x11174b=>(_0x11174b[_0x11174b[_0x29d74e(0x223)]=0x0]=_0x29d74e(0x223),_0x11174b[_0x11174b[_0x29d74e(0x350)]=0x1]=_0x29d74e(0x350),_0x11174b[_0x11174b[_0x29d74e(0x3be)]=0x2]=_0x29d74e(0x3be),_0x11174b[_0x11174b[_0x29d74e(0x33e)]=0x3]='LEAVE',_0x11174b[_0x11174b[_0x29d74e(0x417)]=0x4]='INGEST',_0x11174b[_0x11174b[_0x29d74e(0x261)]=0x5]=_0x29d74e(0x261),_0x11174b[_0x11174b[_0x29d74e(0x479)]=0x6]=_0x29d74e(0x479),_0x11174b[_0x11174b['UNRECOGNIZED']=-0x1]=_0x29d74e(0x192),_0x11174b))(W||{}),gs=(_0x37a641=>(_0x37a641[_0x37a641[_0x29d74e(0x365)]=0x0]='UNKNOWN_CODE',_0x37a641[_0x37a641['OK']=0x1]='OK',_0x37a641[_0x37a641[_0x29d74e(0x457)]=0x2]=_0x29d74e(0x457),_0x37a641[_0x37a641[_0x29d74e(0x192)]=-0x1]=_0x29d74e(0x192),_0x37a641))(gs||{}),bi=(_0x24193c=>(_0x24193c[_0x24193c[_0x29d74e(0x4ee)]=0x0]=_0x29d74e(0x4ee),_0x24193c[_0x24193c[_0x29d74e(0x2fd)]=0x1]='HttpImport',_0x24193c[_0x24193c[_0x29d74e(0x4f1)]=0x2]=_0x29d74e(0x4f1),_0x24193c[_0x24193c[_0x29d74e(0x442)]=0x3]=_0x29d74e(0x442),_0x24193c[_0x24193c[_0x29d74e(0x245)]=0x4]='UnitSnapshot',_0x24193c[_0x24193c[_0x29d74e(0x192)]=-0x1]=_0x29d74e(0x192),_0x24193c))(bi||{});const ie=_0x29d74e(0x4e8),Cr={};function Er(_0x1b14a4){const _0x2d8ba3=_0x29d74e;var _0x14415c,_0x47d1a6,_0x553620,_0x1902a8,_0xcf1c54;const _0xf1fba0=_0x1b14a4[_0x2d8ba3(0x1da)],_0x476e01=JSON[_0x2d8ba3(0x169)](_0xf1fba0);switch(_0x476e01[_0x2d8ba3(0x21d)]){case W[_0x2d8ba3(0x261)]:case W['HELLO']:{const _0x75f940=_0x476e01[_0x2d8ba3(0x339)];return{..._0x476e01,'data':_0x75f940,'cmd':_0x476e01[_0x2d8ba3(0x21d)]};}case W[_0x2d8ba3(0x3be)]:{const _0x201440=_0x476e01[_0x2d8ba3(0x242)];return{..._0x476e01,'data':_0x201440,'cmd':_0x476e01['cmd']};}case W[_0x2d8ba3(0x479)]:{const _0x18ac25=_0x476e01[_0x2d8ba3(0x1fe)];switch(_0x18ac25[_0x2d8ba3(0x167)]){case _0x1030bd[_0x2d8ba3(0x11b)]:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0x14415c=_0x18ac25[_0x2d8ba3(0x335)])==null?void 0x0:_0x14415c['cs']},'cmd':_0x476e01['cmd']};case _0x1030bd[_0x2d8ba3(0x3f3)]:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0x47d1a6=_0x18ac25['csAckEvent'])==null?void 0x0:_0x47d1a6['cs']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x4d5)]:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0x553620=_0x18ac25[_0x2d8ba3(0x216)])==null?void 0x0:_0x553620['cs']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x180)]:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0x1902a8=_0x18ac25[_0x2d8ba3(0x4c3)])==null?void 0x0:_0x1902a8['cs']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd['CHANGESET_SHOULD_RETRY']:return{..._0x476e01,'data':{..._0x18ac25,'data':(_0xcf1c54=_0x18ac25[_0x2d8ba3(0x112)])==null?void 0x0:_0xcf1c54['cs']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x2fe)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x338)]},'cmd':_0x476e01['cmd']};case _0x1030bd[_0x2d8ba3(0x11c)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x1c7)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x286)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25['leaveEvent']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x2b4)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x481)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd['LIVESHARE_FETCH_OPERATIONS']:case _0x1030bd[_0x2d8ba3(0x10a)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x2a6)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd['LIVESHARE_TERMINATE']:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25['liveShareNewHost']},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x4ef)]:return{..._0x476e01,'data':_0x18ac25,'cmd':_0x476e01['cmd']};case _0x1030bd[_0x2d8ba3(0x1ea)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x362)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd[_0x2d8ba3(0x269)]:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x20c)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};case _0x1030bd['SHOULD_CLOSE_CONN']:return{..._0x476e01,'data':{..._0x18ac25,'data':_0x18ac25[_0x2d8ba3(0x22a)]},'cmd':_0x476e01[_0x2d8ba3(0x21d)]};default:return _0x476e01;}}default:return _0x476e01;}}function br(_0x28bb1e){const _0x5cbfd6=_0x29d74e;switch(_0x28bb1e[_0x5cbfd6(0x21d)]){case W['HEARTBEAT']:case W[_0x5cbfd6(0x350)]:return JSON[_0x5cbfd6(0x11f)]({'cmd':_0x28bb1e[_0x5cbfd6(0x21d)],'routeKey':_0x28bb1e[_0x5cbfd6(0x263)]});case W[_0x5cbfd6(0x417)]:{let _0x1e095c;switch(_0x28bb1e[_0x5cbfd6(0x1da)][_0x5cbfd6(0x167)]){case _0x1030bd['UPDATE_CURSOR']:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x2fe)],'updateCursorEvent':_0x28bb1e[_0x5cbfd6(0x1da)]['data']};break;}case _0x1030bd[_0x5cbfd6(0x286)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x286)],'leaveEvent':_0x28bb1e[_0x5cbfd6(0x1da)][_0x5cbfd6(0x1da)]};break;}case _0x1030bd[_0x5cbfd6(0x11c)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x11c)],'joinEvent':_0x28bb1e['data']['data']};break;}case _0x1030bd[_0x5cbfd6(0x2b4)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x2b4)],'liveShareNewHost':_0x28bb1e['data'][_0x5cbfd6(0x1da)]};break;}case _0x1030bd[_0x5cbfd6(0x10a)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x10a)],'liveShareOperation':_0x28bb1e['data']['data']};break;}case _0x1030bd[_0x5cbfd6(0x1ed)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x1ed)],'liveShareTerminate':_0x28bb1e[_0x5cbfd6(0x1da)][_0x5cbfd6(0x1da)]};break;}case _0x1030bd[_0x5cbfd6(0x465)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x465)],'liveShareRequestHost':_0x28bb1e[_0x5cbfd6(0x1da)][_0x5cbfd6(0x1da)]};break;}case _0x1030bd[_0x5cbfd6(0x414)]:{_0x1e095c={'eventID':_0x1030bd[_0x5cbfd6(0x414)]};break;}default:_0x1e095c={'eventID':_0x28bb1e['data'][_0x5cbfd6(0x167)]};}return JSON[_0x5cbfd6(0x11f)]({'cmd':_0x28bb1e[_0x5cbfd6(0x21d)],'routeKey':_0x28bb1e[_0x5cbfd6(0x263)],'collaMsg':_0x1e095c});}case W[_0x5cbfd6(0x3be)]:return JSON[_0x5cbfd6(0x11f)]({'cmd':_0x28bb1e[_0x5cbfd6(0x21d)],'routeKey':_0x28bb1e[_0x5cbfd6(0x263)],'joinReq':_0x28bb1e[_0x5cbfd6(0x1da)]});case W[_0x5cbfd6(0x33e)]:return JSON[_0x5cbfd6(0x11f)]({'cmd':_0x28bb1e['cmd'],'routeKey':_0x28bb1e['routeKey'],'leaveReq':_0x28bb1e['data']});default:throw new Error(_0x5cbfd6(0x412));}}var Tr=Object[_0x29d74e(0x229)],Rr=Object[_0x29d74e(0x494)],yr=(_0x40ad03,_0x2f8b9c,_0xb663e1,_0x17af93)=>{for(var _0x34bbb6=_0x17af93>0x1?void 0x0:_0x17af93?Rr(_0x2f8b9c,_0xb663e1):_0x2f8b9c,_0x36b31d=_0x40ad03['length']-0x1,_0x23af76;_0x36b31d>=0x0;_0x36b31d--)(_0x23af76=_0x40ad03[_0x36b31d])&&(_0x34bbb6=(_0x17af93?_0x23af76(_0x2f8b9c,_0xb663e1,_0x34bbb6):_0x23af76(_0x34bbb6))||_0x34bbb6);return _0x17af93&&_0x34bbb6&&Tr(_0x2f8b9c,_0xb663e1,_0x34bbb6),_0x34bbb6;},qe=(_0x142ae4,_0x3be851)=>(_0x1ae921,_0x269e70)=>_0x3be851(_0x1ae921,_0x269e70,_0x142ae4);const Ti=_0x1f1029(_0x29d74e(0x471));function Or(_0xb27808,_0x3a0016,_0x2538b6){const _0x3899f2=_0x29d74e;return _0xb27808+'/'+_0x3a0016+_0x3899f2(0x164)+_0x2538b6+_0x3899f2(0x4f9);}let Zt=class extends _0x3755da{constructor(_0x1439fb,_0x397774,_0x4a764a,_0x57a0f6,_0x509820){const _0x408019=_0x29d74e;super(),this[_0x408019(0x36f)]=_0x1439fb,this[_0x408019(0x111)]=_0x397774,this[_0x408019(0x3e5)]=_0x4a764a,this['_logService']=_0x57a0f6,this[_0x408019(0x2ac)]=_0x509820;}[_0x29d74e(0x1dd)](_0x28d6d0){const _0x370286=_0x29d74e,_0x212e92=this['_ws'][_0x370286(0x1dd)](_0x28d6d0);if(!_0x212e92)throw new Error(_0x370286(0x1b1));const _0x5ee16f=new _0x427570(),_0x5cf4a0=new _0x2c142e();_0x5ee16f[_0x370286(0x3d3)](_0x212e92[_0x370286(0x11a)][_0x370286(0x3c2)](_0x1cc0c6=>_0x5cf4a0[_0x370286(0x175)](_0x1cc0c6))),_0x5ee16f['add'](_0x3dbac0(()=>_0x5cf4a0[_0x370286(0x476)]()));const _0x648656=new _0x2c142e();_0x5ee16f[_0x370286(0x3d3)](_0x212e92[_0x370286(0x1ef)][_0x370286(0x3c2)](_0x258a29=>_0x648656['next'](_0x258a29))),_0x5ee16f['add'](_0x3dbac0(()=>_0x648656[_0x370286(0x476)]()));const _0x115a8b=new _0x2c142e();_0x5ee16f['add'](_0x212e92[_0x370286(0x49f)][_0x370286(0x3c2)](_0x16dfa1=>{const _0x558040=Er(_0x16dfa1);_0x115a8b['next'](_0x558040);})),_0x5ee16f[_0x370286(0x3d3)](_0x3dbac0(()=>_0x115a8b['complete']()));let _0x4dfb2f;const _0x3e9b48=()=>{const _0x43c5cb=_0x370286;_0x648656['next'](new Event(_0x43c5cb(0x43d))),_0x5cf4a0[_0x43c5cb(0x175)](new CloseEvent(_0x43c5cb(0x43d))),_0x4dfb2f['close']();};return _0x4dfb2f={'memberID':'','close$':_0x5cf4a0[_0x370286(0x10f)](),'error$':_0x648656[_0x370286(0x10f)](),'open$':_0x212e92[_0x370286(0x318)],'message$':_0x115a8b[_0x370286(0x10f)](),'send':_0x17dc88=>{const _0xcfdf3b=_0x370286;if(_0x17dc88[_0xcfdf3b(0x21d)]===W[_0xcfdf3b(0x417)]){if(_0x17dc88[_0xcfdf3b(0x1da)][_0xcfdf3b(0x167)]===_0x1030bd[_0xcfdf3b(0x1ce)]){this[_0xcfdf3b(0x4c4)](_0x4dfb2f,_0x17dc88[_0xcfdf3b(0x1da)])[_0xcfdf3b(0x346)](_0x8407f4=>{const _0x4f7557=_0xcfdf3b;this[_0x4f7557(0x468)][_0x4f7557(0x444)](_0x8407f4),_0x3e9b48();});return;}if(_0x17dc88['data'][_0xcfdf3b(0x167)]===_0x1030bd[_0xcfdf3b(0x30c)]){const _0x2fdb69=_0x17dc88[_0xcfdf3b(0x1da)];this['_fetchMissChangesets'](_0x2fdb69)[_0xcfdf3b(0x204)](_0x4912a2=>{const _0xf2b7d6=_0xcfdf3b;_0x115a8b[_0xf2b7d6(0x175)]({'cmd':W[_0xf2b7d6(0x479)],'code':gs['OK'],'routeKey':_0x2fdb69[_0xf2b7d6(0x1da)][_0xf2b7d6(0x46f)],'routeType':'','data':{'eventID':_0x1030bd['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4912a2}}});})['catch'](_0x132a29=>{const _0x131ab1=_0xcfdf3b;this[_0x131ab1(0x468)][_0x131ab1(0x444)](_0x132a29),_0x3e9b48();});return;}}_0x212e92[_0xcfdf3b(0x3e2)](br(_0x17dc88));},'close':()=>{const _0x5d8301=_0x370286;_0x212e92[_0x5d8301(0x32a)](),_0x5ee16f['dispose']();}},_0x4dfb2f;}async[_0x29d74e(0x4c4)](_0x17ce74,_0x30a980){const _0x3a9a71=_0x29d74e;var _0xc27345,_0x334b14;const {unitType:_0x6356b9,unitID:_0x36c771,changeset:_0x4b82e3}=_0x30a980[_0x3a9a71(0x1da)],_0x199bfd={'unitID':_0x36c771,'memberID':_0x17ce74['memberID'],'type':_0x6356b9,'changeset':_0x158b53(_0x4b82e3)},_0x6574d3=this['_configService'][_0x3a9a71(0x3df)](pr),_0x2a4c52=this['_configService'][_0x3a9a71(0x3df)](ie),_0x149eb9=Or((_0x334b14=(_0xc27345=_0x2a4c52==null?void 0x0:_0x2a4c52['collabSubmitChangesetUrl'])!=null?_0xc27345:_0x6574d3)!=null?_0x334b14:gr,_0x6356b9,_0x36c771);try{await this[_0x3a9a71(0x36f)][_0x3a9a71(0x243)](_0x149eb9,{'body':_0x199bfd});}catch(_0x3b9ad3){throw this[_0x3a9a71(0x468)][_0x3a9a71(0x444)](_0x3a9a71(0x30a),_0x3a9a71(0x10d)),_0x3b9ad3;}}async[_0x29d74e(0x27b)](_0x14738e){const _0x2d8707=_0x29d74e,{unitID:_0x33764d,from:_0x56abb3,to:_0x2f351d,unitType:_0x1fd601}=_0x14738e[_0x2d8707(0x1da)];return(await this[_0x2d8707(0x2ac)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x33764d,'type':_0x1fd601,'from':_0x56abb3,'to':_0x2f351d}))['changesets'];}};Zt=yr([qe(0x0,_0x37efa2(_0x28ac76)),qe(0x1,_0x37efa2(_0xad4ad5)),qe(0x2,_0x167231),qe(0x3,_0x2b335c),qe(0x4,_0x2b7ebf)],Zt);const wr=_0x29d74e(0x287);function Dr(_0x58dfdf){const _0x221cce=_0x29d74e;return JSON[_0x221cce(0x11f)](_0x58dfdf)[_0x221cce(0x400)];}class Ri{constructor(){const _0x2b7177=_0x29d74e;g(this,_0x2b7177(0x28a),new _0x2c142e()),g(this,_0x2b7177(0x1c2),this[_0x2b7177(0x28a)]['asObservable']());}['onCommentUpdate'](_0x384694){const _0x5aca33=_0x29d74e;this[_0x5aca33(0x28a)][_0x5aca33(0x175)](_0x384694);}}var Pr=Object[_0x29d74e(0x229)],Ur=Object[_0x29d74e(0x494)],Nr=(_0x4ab61d,_0x330ac6,_0x10f963,_0x225df9)=>{const _0x27edd2=_0x29d74e;for(var _0x54a932=_0x225df9>0x1?void 0x0:_0x225df9?Ur(_0x330ac6,_0x10f963):_0x330ac6,_0x4ab32f=_0x4ab61d[_0x27edd2(0x400)]-0x1,_0x457533;_0x4ab32f>=0x0;_0x4ab32f--)(_0x457533=_0x4ab61d[_0x4ab32f])&&(_0x54a932=(_0x225df9?_0x457533(_0x330ac6,_0x10f963,_0x54a932):_0x457533(_0x54a932))||_0x54a932);return _0x225df9&&_0x54a932&&Pr(_0x330ac6,_0x10f963,_0x54a932),_0x54a932;},Ls=(_0x52bf3e,_0x4612e2)=>(_0x263d2b,_0x1d60f1)=>_0x4612e2(_0x263d2b,_0x1d60f1,_0x52bf3e);let Ue=class extends _0x3755da{constructor(_0x5b654d,_0xe081c5){const _0x1ea616=_0x29d74e;super(),g(this,_0x1ea616(0x382),new Map()),(this['_univerInstanceService']=_0x5b654d,this[_0x1ea616(0x48b)]=_0xe081c5,this[_0x1ea616(0x3d0)](_0x3dbac0(_0xef46fa(this[_0x1ea616(0x387)][_0x1ea616(0x2eb)](_0xcdbbdb[_0x1ea616(0x142)])['pipe'](_0x1c1ea1(_0x40a75e=>_0x40a75e[_0x1ea616(0x4af)]())),this[_0x1ea616(0x387)][_0x1ea616(0x2eb)](_0xcdbbdb['UNIVER_DOC'])['pipe'](_0x1c1ea1(_0x3e946c=>_0x3e946c[_0x1ea616(0x4af)]())),this[_0x1ea616(0x387)][_0x1ea616(0x2eb)](_0xcdbbdb[_0x1ea616(0x32e)])['pipe'](_0x1c1ea1(_0x52c859=>_0x52c859[_0x1ea616(0x4af)]())))[_0x1ea616(0x3c2)](_0x4afa14=>this[_0x1ea616(0x145)](_0x4afa14)))));}[_0x29d74e(0x43e)](_0x37a223){const _0x3dd2ad=_0x29d74e;this[_0x3dd2ad(0x48b)][_0x3dd2ad(0x43e)](_0x37a223);}[_0x29d74e(0x363)](){const _0x5c5261=_0x29d74e;return this[_0x5c5261(0x48b)][_0x5c5261(0x363)]();}[_0x29d74e(0x413)](_0x8801dc,_0x37e161){const _0x225522=_0x29d74e;let _0x3f29fb=this[_0x225522(0x382)][_0x225522(0x177)](_0x8801dc);_0x3f29fb||(_0x3f29fb=new Ar(),this[_0x225522(0x382)][_0x225522(0x36d)](_0x8801dc,_0x3f29fb)),_0x3f29fb[_0x225522(0x413)](_0x37e161);}[_0x29d74e(0x17c)](_0x30187c,_0x1a7750){const _0x4de974=_0x29d74e,_0x2274d7=this['_roomMembers'][_0x4de974(0x177)](_0x30187c);_0x2274d7&&_0x2274d7[_0x4de974(0x17c)](_0x1a7750);}['getRoom'](_0x59d89a){return this['_roomMembers']['get'](_0x59d89a);}[_0x29d74e(0x1dc)](_0x52d15d,_0x2d8d4e){const _0x4e83b9=_0x29d74e,_0x2ca454=this[_0x4e83b9(0x382)][_0x4e83b9(0x177)](_0x52d15d);if(_0x2ca454)return _0x2ca454[_0x4e83b9(0x1dc)](_0x2d8d4e);}[_0x29d74e(0x145)](_0x11f015){const _0x236429=_0x29d74e,_0x1982eb=this[_0x236429(0x382)][_0x236429(0x177)](_0x11f015);_0x1982eb&&(_0x1982eb[_0x236429(0x4ae)](),this[_0x236429(0x382)]['delete'](_0x11f015));}[_0x29d74e(0x4ae)](){const _0x1effaf=_0x29d74e;this[_0x1effaf(0x382)][_0x1effaf(0x2d5)](_0x3f632a=>_0x3f632a[_0x1effaf(0x4ae)]()),this[_0x1effaf(0x382)][_0x1effaf(0x4fc)]();}};Ue=Nr([Ls(0x0,_0x4c5fa7),Ls(0x1,_0x37efa2(_0x3a6e4c))],Ue);class Ar extends _0x3755da{constructor(){const _0x78f70f=_0x29d74e;super(...arguments),g(this,_0x78f70f(0x28e),new Map());}['dispose'](){const _0xbae8d8=_0x29d74e;this['_members'][_0xbae8d8(0x4fc)]();}['updateMember'](_0x1a2f0b){const _0x2bf7f3=_0x29d74e;this[_0x2bf7f3(0x28e)]['set'](_0x1a2f0b[_0x2bf7f3(0x435)],_0x1a2f0b);}[_0x29d74e(0x17c)](_0x86ecba){const _0x56bc5c=_0x29d74e;this[_0x56bc5c(0x28e)][_0x56bc5c(0x4f6)](_0x86ecba);}[_0x29d74e(0x1dc)](_0x123723){const _0x573147=_0x29d74e;return this['_members'][_0x573147(0x177)](_0x123723);}['getAllMembers'](){const _0x46f449=_0x29d74e;return Array[_0x46f449(0x29c)](this[_0x46f449(0x28e)][_0x46f449(0x326)]());}}var Mr=Object[_0x29d74e(0x229)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x578a54,_0x507719,_0x565e09,_0x3639f0)=>{for(var _0x353b89=_0x3639f0>0x1?void 0x0:_0x3639f0?xr(_0x507719,_0x565e09):_0x507719,_0x2e4ed1=_0x578a54['length']-0x1,_0xb111b1;_0x2e4ed1>=0x0;_0x2e4ed1--)(_0xb111b1=_0x578a54[_0x2e4ed1])&&(_0x353b89=(_0x3639f0?_0xb111b1(_0x507719,_0x565e09,_0x353b89):_0xb111b1(_0x353b89))||_0x353b89);return _0x3639f0&&_0x353b89&&Mr(_0x507719,_0x565e09,_0x353b89),_0x353b89;},Ee=(_0x36282f,_0x3954bf)=>(_0x257d54,_0x4b7b9f)=>_0x3954bf(_0x257d54,_0x4b7b9f,_0x36282f),ve=(_0x5815fe=>(_0x5815fe[_0x5815fe[_0x29d74e(0x176)]=0x0]='IDLE',_0x5815fe[_0x5815fe[_0x29d74e(0x2b5)]=0x1]=_0x29d74e(0x2b5),_0x5815fe[_0x5815fe[_0x29d74e(0x4ea)]=0x2]=_0x29d74e(0x4ea),_0x5815fe[_0x5815fe[_0x29d74e(0x20b)]=0x3]=_0x29d74e(0x20b),_0x5815fe))(ve||{});let Qt=class extends _0x44a670{constructor(_0x2ffe88,_0x3586e3,_0x285a48,_0x7ded9c,_0xd55e6c,_0x289798,_0x1dbf70,_0x15aa06,_0x1a8ea2,_0x233aff){const _0x1a12f0=_0x29d74e;super(),g(this,_0x1a12f0(0x2f1),new _0x260ce9(0x0)),g(this,'sessionStatus$',this[_0x1a12f0(0x2f1)]['asObservable']()),g(this,'_event$',new _0x2c142e()),g(this,_0x1a12f0(0x2a1),this[_0x1a12f0(0x1d0)][_0x1a12f0(0x10f)]()),g(this,_0x1a12f0(0x2c0)),g(this,_0x1a12f0(0x2d4)),g(this,_0x1a12f0(0x218)),g(this,_0x1a12f0(0x49e),!0x1),g(this,_0x1a12f0(0x125),null),(this[_0x1a12f0(0x4e3)]=_0x2ffe88,this['_logService']=_0x285a48,this[_0x1a12f0(0x4d9)]=_0x7ded9c,this[_0x1a12f0(0x3fc)]=_0xd55e6c,this[_0x1a12f0(0x3e5)]=_0x289798,this['_localeService']=_0x1dbf70,this['_memberService']=_0x15aa06,this[_0x1a12f0(0x397)]=_0x1a8ea2,this[_0x1a12f0(0x4b1)]=_0x233aff,this['_shouldReportTelemetry']=!!this[_0x1a12f0(0x4b1)],_0x3586e3['pipe'](_0xb0a601(this[_0x1a12f0(0x201)]))[_0x1a12f0(0x3c2)](_0x2247e8=>{const _0x5b4c1f=_0x1a12f0;var _0x5d0b84;typeof _0x2247e8>'u'||(this[_0x5b4c1f(0x2c0)]=_0x2247e8,_0x2247e8?(this[_0x5b4c1f(0x16d)](_0x2247e8),this[_0x5b4c1f(0x2d4)]=_0x2247e8['message$'][_0x5b4c1f(0x3c2)](_0x5c7286=>{const _0x392c3d=_0x5b4c1f;_0x5c7286[_0x392c3d(0x263)]===this[_0x392c3d(0x4e3)]&&this[_0x392c3d(0x438)](_0x5c7286);})):(this[_0x5b4c1f(0x4a9)](),this['_sessionStatus$'][_0x5b4c1f(0x175)](0x2),(_0x5d0b84=this['_socketMessageSubscription'])==null||_0x5d0b84[_0x5b4c1f(0x392)](),this[_0x5b4c1f(0x2d4)]=null));}),this[_0x1a12f0(0x3d0)](this['_beforeCloseService'][_0x1a12f0(0x259)](()=>{const _0x34ede9=_0x1a12f0;var _0x588f8f;(_0x588f8f=this[_0x34ede9(0x2c0)])==null||_0x588f8f['send']({'cmd':W[_0x34ede9(0x33e)],'data':{'roomID':this[_0x34ede9(0x4e3)]}});})));}get[_0x29d74e(0x4b4)](){const _0x26d7b9=_0x29d74e;return this[_0x26d7b9(0x2f1)][_0x26d7b9(0x47e)]();}[_0x29d74e(0x2fc)](){const _0x3edf96=_0x29d74e;var _0x33ebe7,_0x5902eb;return(_0x5902eb=(_0x33ebe7=this[_0x3edf96(0x2c0)])==null?void 0x0:_0x33ebe7[_0x3edf96(0x435)])!=null?_0x5902eb:null;}[_0x29d74e(0x4ae)](){const _0x1e40a7=_0x29d74e;super[_0x1e40a7(0x4ae)](),this['dispose$']['next'](),this[_0x1e40a7(0x201)][_0x1e40a7(0x476)]();}[_0x29d74e(0x32a)](){const _0x16ed78=_0x29d74e;var _0x23f231,_0x15998e;this[_0x16ed78(0x4a9)](),(_0x23f231=this[_0x16ed78(0x2c0)])==null||_0x23f231['send']({'cmd':W[_0x16ed78(0x33e)],'data':{'roomID':this[_0x16ed78(0x4e3)]}}),(_0x15998e=this[_0x16ed78(0x2c0)])==null||_0x15998e[_0x16ed78(0x32a)](),this['_event$'][_0x16ed78(0x476)](),this[_0x16ed78(0x2f1)][_0x16ed78(0x476)](),this['dispose']();}[_0x29d74e(0x438)](_0x4ae585){const _0x5199a9=_0x29d74e;_0x4ae585[_0x5199a9(0x21d)]===W[_0x5199a9(0x3be)]?this[_0x5199a9(0x225)](_0x4ae585):_0x4ae585[_0x5199a9(0x21d)]===W[_0x5199a9(0x479)]&&this['_onRecvEvent'](_0x4ae585);}['_joinRoom'](_0x1d6ee9){const _0x1e0bfd=_0x29d74e;this[_0x1e0bfd(0x2f1)][_0x1e0bfd(0x175)](0x1),_0x1d6ee9['send']({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1e0bfd(0x4e3)]}]}});}[_0x29d74e(0x225)](_0x2f0081){const _0x35ef41=_0x29d74e;var _0x5acb77;if(_0x2f0081[_0x35ef41(0x19d)]===gs[_0x35ef41(0x457)]){this['_messageService'][_0x35ef41(0x116)]({'type':_0x5b9771[_0x35ef41(0x22d)],'content':this[_0x35ef41(0xef)]['t'](_0x35ef41(0x325))}),this[_0x35ef41(0x2f1)][_0x35ef41(0x175)](0x2);return;}this[_0x35ef41(0x2f1)][_0x35ef41(0x175)](0x3);const _0x70f47c=(_0x5acb77=_0x2f0081[_0x35ef41(0x1da)][_0x35ef41(0x236)][this[_0x35ef41(0x4e3)]])==null?void 0x0:_0x5acb77['members'];_0x70f47c&&_0x70f47c[_0x35ef41(0x2d5)](_0x48d2bb=>this[_0x35ef41(0x127)][_0x35ef41(0x413)](this[_0x35ef41(0x4e3)],_0x48d2bb));}['_onRecvEvent'](_0x6fa018){const _0x16a781=_0x29d74e;try{const _0x322cdb=_0x6fa018['data'];switch(_0x322cdb[_0x16a781(0x167)]){case _0x1030bd[_0x16a781(0x11c)]:this[_0x16a781(0x1e2)](_0x322cdb),this['_event$'][_0x16a781(0x175)](_0x322cdb);break;case _0x1030bd['USERS_LEAVE']:this['_onUserLeave'](_0x322cdb),this[_0x16a781(0x1d0)][_0x16a781(0x175)](_0x322cdb);break;case _0x1030bd[_0x16a781(0x3f3)]:case _0x1030bd[_0x16a781(0x21a)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x16a781(0x175)](_0x322cdb);break;case _0x1030bd[_0x16a781(0x4ef)]:this[_0x16a781(0x468)][_0x16a781(0x444)](_0x16a781(0x42d)+JSON[_0x16a781(0x11f)](_0x322cdb)),this['_event$'][_0x16a781(0x175)](_0x322cdb);break;case _0x1030bd['COMMENT_UPDATE']:this[_0x16a781(0x397)]['onCommentUpdate'](_0x322cdb[_0x16a781(0x1da)]),this[_0x16a781(0x1d0)][_0x16a781(0x175)](_0x322cdb);break;default:this[_0x16a781(0x1d0)][_0x16a781(0x175)](_0x322cdb);}}catch(_0x3db9d5){this[_0x16a781(0x468)][_0x16a781(0x444)](_0x3db9d5,_0x6fa018);}}['_onUserJoin'](_0x331091){const _0x83283a=_0x29d74e;this['_memberService'][_0x83283a(0x413)](this[_0x83283a(0x4e3)],_0x331091[_0x83283a(0x1da)]);}['_onUserLeave'](_0xc9fff1){const _0x320f74=_0x29d74e;this['_memberService'][_0x320f74(0x17c)](this[_0x320f74(0x4e3)],_0xc9fff1[_0x320f74(0x1da)]['memberID']);}async[_0x29d74e(0x3e2)](_0x228728,_0xed8ce1){const _0xd069e4=_0x29d74e;if(this[_0xd069e4(0x4b4)]!==0x3||!this[_0xd069e4(0x2c0)])throw new Error(_0xd069e4(0xee));try{_0x228728[_0xd069e4(0x167)]===_0x1030bd[_0xd069e4(0x1ce)]&&(this[_0xd069e4(0x33c)](),this[_0xd069e4(0x3a8)](_0x228728)),this[_0xd069e4(0x2c0)][_0xd069e4(0x3e2)]({'cmd':W[_0xd069e4(0x417)],'routeKey':_0xed8ce1,'routeType':'','data':_0x228728});}catch(_0x2cf50d){this[_0xd069e4(0x468)][_0xd069e4(0x444)](_0x2cf50d);}}[_0x29d74e(0x33c)](){const _0x31709f=_0x29d74e;var _0x3632df;this['_collaborationTimeoutTimer']=window[_0x31709f(0x2df)](()=>{const _0x3f499f=_0x31709f;this[_0x3f499f(0x218)]=null,this[_0x3f499f(0x3fc)][_0x3f499f(0x116)]({'type':_0x5b9771[_0x3f499f(0x364)],'content':this[_0x3f499f(0xef)]['t'](_0x3f499f(0x13f))});},(_0x3632df=this[_0x31709f(0x3e5)][_0x31709f(0x3df)](Ii))!=null?_0x3632df:Ci);}['_clearCollaborationTimeoutTimer'](){const _0x379a10=_0x29d74e;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x379a10(0x218)]),this[_0x379a10(0x218)]=null);}[_0x29d74e(0x3a8)](_0x2ef473){const _0x45d079=_0x29d74e;if(!this[_0x45d079(0x49e)])return;const {data:_0xfd0f70}=_0x2ef473,{unitID:_0x5b9577,changeset:_0x58d750}=_0xfd0f70,{mutations:_0xc17a20,type:_0x14245c}=_0x58d750;this['_telemetryInfo']={'unitId':_0x5b9577,'type':_0x14245c,'startTime':performance[_0x45d079(0x4dc)](),'stopTime':0x0,'duration':0x0,'size':Dr(_0xc17a20)};}[_0x29d74e(0x440)](){const _0x5bfc28=_0x29d74e;if(this[_0x5bfc28(0x49e)]){if(!this[_0x5bfc28(0x125)]){this[_0x5bfc28(0x468)]['error'](_0x5bfc28(0x30a),_0x5bfc28(0x3a5));return;}this[_0x5bfc28(0x125)][_0x5bfc28(0x443)]=performance[_0x5bfc28(0x4dc)](),this[_0x5bfc28(0x125)][_0x5bfc28(0x128)]=this['_telemetryInfo'][_0x5bfc28(0x443)]-this[_0x5bfc28(0x125)][_0x5bfc28(0x1c8)],this[_0x5bfc28(0x4b1)][_0x5bfc28(0x24a)](wr,this['_telemetryInfo']),this[_0x5bfc28(0x125)]=null;}}[_0x29d74e(0x4a9)](){const _0x27a33a=_0x29d74e;this[_0x27a33a(0x125)]=null;}};Qt=Lr([Ee(0x2,_0x2b335c),Ee(0x3,_0x1d600a),Ee(0x4,_0xcca842),Ee(0x5,_0x167231),Ee(0x6,_0x37efa2(_0x10be55)),Ee(0x7,_0x37efa2(Ue)),Ee(0x8,_0x37efa2(Ri)),Ee(0x9,_0x4e2ed1(_0x1188ed))],Qt);var $r=Object[_0x29d74e(0x229)],Hr=Object[_0x29d74e(0x494)],jr=(_0x30f7f0,_0x39ba02,_0x16ed6f,_0x2a78ca)=>{for(var _0x28de8a=_0x2a78ca>0x1?void 0x0:_0x2a78ca?Hr(_0x39ba02,_0x16ed6f):_0x39ba02,_0x564795=_0x30f7f0['length']-0x1,_0x33dd93;_0x564795>=0x0;_0x564795--)(_0x33dd93=_0x30f7f0[_0x564795])&&(_0x28de8a=(_0x2a78ca?_0x33dd93(_0x39ba02,_0x16ed6f,_0x28de8a):_0x33dd93(_0x28de8a))||_0x28de8a);return _0x2a78ca&&_0x28de8a&&$r(_0x39ba02,_0x16ed6f,_0x28de8a),_0x28de8a;},He=(_0x528803,_0x524ff5)=>(_0x4dc856,_0x4e21cb)=>_0x524ff5(_0x4dc856,_0x4e21cb,_0x528803);let Ne=class extends _0x3755da{constructor(_0x3ba772,_0x5cf6d3,_0x5742df,_0x37306b,_0x25d8cb,_0x25fa84){const _0x186234=_0x29d74e;super(),g(this,_0x186234(0x25c),new _0x260ce9(void 0x0)),g(this,_0x186234(0x4f5),this[_0x186234(0x25c)][_0x186234(0x10f)]()),g(this,_0x186234(0x179),null),g(this,_0x186234(0x300),new Map()),g(this,_0x186234(0x18a),new _0x260ce9(ve[_0x186234(0x176)])),g(this,_0x186234(0x14e),this[_0x186234(0x18a)]['asObservable']()),g(this,_0x186234(0x12a),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x186234(0x277),0x0),g(this,'_sendHeartbeatTimer'),g(this,_0x186234(0x4b6)),(this[_0x186234(0x1b2)]=_0x3ba772,this[_0x186234(0xef)]=_0x5cf6d3,this[_0x186234(0x3fc)]=_0x5742df,this[_0x186234(0x468)]=_0x37306b,this[_0x186234(0x3e5)]=_0x25d8cb,this['_socketService']=_0x25fa84,this[_0x186234(0x18c)]());}get[_0x29d74e(0x2c0)](){const _0x5d13c8=_0x29d74e;return this['_socket$'][_0x5d13c8(0x47e)]();}[_0x29d74e(0x18c)](){const _0x1290de=_0x29d74e;this[_0x1290de(0x266)](),this['_listenToOnlineEvent']();}[_0x29d74e(0x4ae)](){const _0x24defc=_0x29d74e;super[_0x24defc(0x4ae)](),this[_0x24defc(0x300)][_0x24defc(0x2d5)](_0x1f4138=>_0x1f4138['dispose']()),this[_0x24defc(0x300)][_0x24defc(0x4fc)](),this[_0x24defc(0x18a)][_0x24defc(0x476)]();}async[_0x29d74e(0x224)](_0x5b07c1){const _0x5a1b9f=_0x29d74e;if(this['_sessions']['has'](_0x5b07c1))return this['_sessions'][_0x5a1b9f(0x177)](_0x5b07c1);this[_0x5a1b9f(0x1b8)]();const _0x30bdc8=this[_0x5a1b9f(0x1b2)][_0x5a1b9f(0x4a8)](Qt,_0x5b07c1,this[_0x5a1b9f(0x25c)]['asObservable']());return this[_0x5a1b9f(0x300)]['set'](_0x5b07c1,_0x30bdc8),_0x30bdc8;}[_0x29d74e(0x119)](_0x55d84b){const _0x104a6d=_0x29d74e;var _0x5bc14f;const _0x320bcc=this['_sessions'][_0x104a6d(0x177)](_0x55d84b);_0x320bcc&&(this['_sessions']['delete'](_0x55d84b),_0x320bcc[_0x104a6d(0x32a)]()),this[_0x104a6d(0x300)]['size']||(_0x5bc14f=this[_0x104a6d(0x2c0)])==null||_0x5bc14f[_0x104a6d(0x32a)]();}[_0x29d74e(0x22f)](){const _0x5a2e0b=_0x29d74e;this['_retryCount']=0x0,this[_0x5a2e0b(0x3b1)]!=null&&(clearTimeout(this[_0x5a2e0b(0x3b1)]),this[_0x5a2e0b(0x3b1)]=null),this['_tryReconnect']();}[_0x29d74e(0x285)](){const _0x2e06e1=_0x29d74e;var _0x1e0195,_0x52e369;const _0x5c30af=this['_configService'][_0x2e06e1(0x3df)](cr),_0x5624f8=this[_0x2e06e1(0x3e5)][_0x2e06e1(0x3df)](ie),_0x21473b=(_0x52e369=(_0x1e0195=_0x5624f8==null?void 0x0:_0x5624f8['collabWebSocketUrl'])!=null?_0x1e0195:_0x5c30af)!=null?_0x52e369:hr,_0x4f4ba5=this[_0x2e06e1(0x393)][_0x2e06e1(0x1dd)](_0x21473b);return this[_0x2e06e1(0x179)]=_0x4f4ba5,_0x4f4ba5;}['_tryEnsureSocket'](){const _0x318015=_0x29d74e;var _0x1f8040,_0x37f4c0;try{const _0x34420d=(_0x37f4c0=(_0x1f8040=this[_0x318015(0x2c0)])!=null?_0x1f8040:this['_candidateSocket'])!=null?_0x37f4c0:this['_createSocket']();if(_0x34420d){const _0x38772b=_0x34420d[_0x318015(0x3e2)];_0x34420d[_0x318015(0x3e2)]=_0x1510e3=>(this[_0x318015(0x3f8)](),_0x38772b[_0x318015(0x493)](_0x34420d,[_0x1510e3])),_0x34420d['message$'][_0x318015(0x3c2)](_0x288d72=>this[_0x318015(0x4ab)](_0x34420d,_0x288d72)),_0x34420d[_0x318015(0x1ef)][_0x318015(0x472)](_0x2fc2e4(0x1))[_0x318015(0x3c2)](_0x5b643a=>this[_0x318015(0x468)][_0x318015(0x444)](_0x318015(0x188),_0x5b643a)),_0x34420d[_0x318015(0x318)]['pipe'](_0x2fc2e4(0x1))[_0x318015(0x3c2)](()=>{const _0x107024=_0x318015;this[_0x107024(0x4f4)](_0x34420d);}),_0x34420d[_0x318015(0x11a)][_0x318015(0x472)](_0x2fc2e4(0x1))['subscribe'](_0x42fc63=>{const _0x9f2dd2=_0x318015;this[_0x9f2dd2(0x468)][_0x9f2dd2(0x3a2)]('[CollaborationSessionService]',_0x9f2dd2(0x297),_0x42fc63),this[_0x9f2dd2(0x4da)]();});}}catch(_0x17be49){this[_0x318015(0x468)][_0x318015(0x444)](_0x17be49),this[_0x318015(0x4da)]();}}[_0x29d74e(0x4f4)](_0x4e649e){const _0x981122=_0x29d74e;this['_logService'][_0x981122(0x3a2)](_0x981122(0x2c4),_0x981122(0x2a4)),_0x4e649e[_0x981122(0x3e2)]({'cmd':W[_0x981122(0x350)]}),this[_0x981122(0x3f8)]();}[_0x29d74e(0x266)](){const _0x4fd845=_0x29d74e;window['addEventListener'](_0x4fd845(0x237),()=>this['_onOffline']());}[_0x29d74e(0x121)](){const _0x2fc68d=_0x29d74e;this[_0x2fc68d(0x12a)]=!0x1,this[_0x2fc68d(0x179)]=null,this['_status$'][_0x2fc68d(0x175)](ve[_0x2fc68d(0x4ea)]),this[_0x2fc68d(0x25c)][_0x2fc68d(0x175)](null),this['_clearTimeoutTimer'](),this[_0x2fc68d(0x16a)]();}['_onConnectionFailed'](){const _0x277bbd=_0x29d74e;var _0x1f3570;this[_0x277bbd(0x121)](),this[_0x277bbd(0x277)]<((_0x1f3570=this[_0x277bbd(0x3e5)][_0x277bbd(0x3df)](dr))!=null?_0x1f3570:fr)?(this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x5b9771['Warning'],'content':this[_0x277bbd(0xef)]['t']('session.will-retry')}),this[_0x277bbd(0x402)]()):this[_0x277bbd(0x3fc)][_0x277bbd(0x116)]({'key':_0x277bbd(0x2b9),'type':_0x5b9771[_0x277bbd(0x364)],'content':this[_0x277bbd(0xef)]['t'](_0x277bbd(0x1cc))});}[_0x29d74e(0x1a8)](){const _0x17a49a=_0x29d74e,_0x2c10fa=()=>{const _0x3db0c3=_0x2ea9;this[_0x3db0c3(0x2c0)]||this['reconnect']();},_0x55bcbe=()=>{const _0x347e0a=_0x2ea9;this[_0x347e0a(0x2c0)]||document[_0x347e0a(0x35d)]===_0x347e0a(0x109)||this['reconnect']();};window[_0x17a49a(0x2c8)](_0x17a49a(0x46b),_0x2c10fa),document[_0x17a49a(0x2c8)](_0x17a49a(0x1a6),_0x55bcbe);}[_0x29d74e(0x402)](){const _0x10613f=_0x29d74e;var _0x12a045;const _0x27ebe9=this['_retryCount'],_0x176166=this[_0x10613f(0x3e5)][_0x10613f(0x3df)](ie),_0x4425b3=_0x27ebe9===0x0?0x0:((_0x12a045=_0x176166==null?void 0x0:_0x176166[_0x10613f(0x1ad)])!=null?_0x12a045:ur)*0x2**_0x27ebe9;this['_retryConnectingTimer']=window[_0x10613f(0x2df)](()=>{const _0x3d074e=_0x10613f;clearTimeout(this[_0x3d074e(0x3b1)]),this[_0x3d074e(0x3b1)]=null,this[_0x3d074e(0x1b8)]();},_0x4425b3),this['_retryCount']+=0x1;}[_0x29d74e(0x4ab)](_0x2db10a,_0x588322){const _0x120716=_0x29d74e,{cmd:_0x3749d5}=_0x588322;_0x3749d5===W['HELLO']&&!this[_0x120716(0x12a)]&&(_0x2db10a['memberID']=_0x588322[_0x120716(0x1da)][_0x120716(0x435)],this[_0x120716(0x25c)][_0x120716(0x175)](_0x2db10a),this[_0x120716(0x18a)][_0x120716(0x175)](ve['ONLINE']),this[_0x120716(0x12a)]=!0x0,this['_candidateSocket']=null),_0x3749d5===W[_0x120716(0x261)]&&this[_0x120716(0x3a0)](),this[_0x120716(0x3f8)]();}[_0x29d74e(0x3f8)](){const _0x12978a=_0x29d74e;var _0x1732c3;this[_0x12978a(0x16a)](),this[_0x12978a(0x48a)]=window['setTimeout'](()=>this[_0x12978a(0x423)](),(_0x1732c3=this[_0x12978a(0x3e5)][_0x12978a(0x3df)](lr))!=null?_0x1732c3:_r);}[_0x29d74e(0x423)](){const _0x465711=_0x29d74e;this['_socket'][_0x465711(0x3e2)]({'cmd':W[_0x465711(0x261)]}),this[_0x465711(0x4c5)]();}['_waitForHeartbeatResponse'](){const _0xd06d93=_0x29d74e;var _0x508fdf;this[_0xd06d93(0x4b6)]=window[_0xd06d93(0x2df)](()=>this[_0xd06d93(0x4da)](),(_0x508fdf=this['_configService']['getConfig'](Ii))!=null?_0x508fdf:Ci);}['_clearHeartbeatTimer'](){const _0x571d3d=_0x29d74e;this[_0x571d3d(0x48a)]!=null&&(clearTimeout(this[_0x571d3d(0x48a)]),this[_0x571d3d(0x48a)]=null);}[_0x29d74e(0x3a0)](){const _0x4801d4=_0x29d74e;this[_0x4801d4(0x4b6)]!=null&&(clearTimeout(this[_0x4801d4(0x4b6)]),this[_0x4801d4(0x4b6)]=null);}};Ne=jr([He(0x0,_0x37efa2(_0x1e339b)),He(0x1,_0x37efa2(_0x10be55)),He(0x2,_0xcca842),He(0x3,_0x2b335c),He(0x4,_0x167231),He(0x5,Ti)],Ne);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x29d74e(0x183)]((i+0x100)[_0x29d74e(0x394)](0x10)[_0x29d74e(0x21b)](0x1));function Br(_0x1e289d,_0x166d77=0x0){const _0x4bd9fe=_0x29d74e;return(Y[_0x1e289d[_0x166d77+0x0]]+Y[_0x1e289d[_0x166d77+0x1]]+Y[_0x1e289d[_0x166d77+0x2]]+Y[_0x1e289d[_0x166d77+0x3]]+'-'+Y[_0x1e289d[_0x166d77+0x4]]+Y[_0x1e289d[_0x166d77+0x5]]+'-'+Y[_0x1e289d[_0x166d77+0x6]]+Y[_0x1e289d[_0x166d77+0x7]]+'-'+Y[_0x1e289d[_0x166d77+0x8]]+Y[_0x1e289d[_0x166d77+0x9]]+'-'+Y[_0x1e289d[_0x166d77+0xa]]+Y[_0x1e289d[_0x166d77+0xb]]+Y[_0x1e289d[_0x166d77+0xc]]+Y[_0x1e289d[_0x166d77+0xd]]+Y[_0x1e289d[_0x166d77+0xe]]+Y[_0x1e289d[_0x166d77+0xf]])[_0x4bd9fe(0x3ce)]();}let Ut;const kr=new Uint8Array(0x10);function Wr(){const _0x2d87e1=_0x29d74e;if(!Ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x2d87e1(0x138));Ut=crypto[_0x2d87e1(0x10b)][_0x2d87e1(0x231)](crypto);}return Ut(kr);}const Fr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x29d74e(0x2cd)]['bind'](crypto),$s={'randomUUID':Fr};function Vr(_0x52deda,_0x522577,_0x3e9131){const _0x15a315=_0x29d74e;if($s['randomUUID']&&!_0x522577&&!_0x52deda)return $s[_0x15a315(0x2cd)]();_0x52deda=_0x52deda||{};const _0xbebb32=_0x52deda[_0x15a315(0x424)]||(_0x52deda['rng']||Wr)();return _0xbebb32[0x6]=_0xbebb32[0x6]&0xf|0x40,_0xbebb32[0x8]=_0xbebb32[0x8]&0x3f|0x80,Br(_0xbebb32);}var Gr=Object[_0x29d74e(0x229)],Yr=Object[_0x29d74e(0x494)],Kr=(_0x545e12,_0x3f9f68,_0x425b52,_0xf2dc76)=>{const _0x1bab05=_0x29d74e;for(var _0x8f3cb7=_0xf2dc76>0x1?void 0x0:_0xf2dc76?Yr(_0x3f9f68,_0x425b52):_0x3f9f68,_0x504521=_0x545e12[_0x1bab05(0x400)]-0x1,_0x51e9f9;_0x504521>=0x0;_0x504521--)(_0x51e9f9=_0x545e12[_0x504521])&&(_0x8f3cb7=(_0xf2dc76?_0x51e9f9(_0x3f9f68,_0x425b52,_0x8f3cb7):_0x51e9f9(_0x8f3cb7))||_0x8f3cb7);return _0xf2dc76&&_0x8f3cb7&&Gr(_0x3f9f68,_0x425b52,_0x8f3cb7),_0x8f3cb7;},Nt=(_0x538704,_0x438beb)=>(_0x2d1d99,_0xcf9cd0)=>_0x438beb(_0x2d1d99,_0xcf9cd0,_0x538704);let ft=class{constructor(_0x69bf94,_0x56758d,_0x2364cd){const _0x215158=_0x29d74e;this[_0x215158(0x1b2)]=_0x69bf94,this[_0x215158(0x2f4)]=_0x56758d,this[_0x215158(0x26c)]=_0x2364cd;}[_0x29d74e(0x1b3)](_0x4f6b78){const _0x1b8ec6=_0x29d74e;this[_0x1b8ec6(0x19c)](_0x4f6b78),this[_0x1b8ec6(0x4e6)](_0x4f6b78);}[_0x29d74e(0x154)](_0x1befe5){const _0x2a2266=_0x29d74e,{unitID:_0x4c8433}=_0x1befe5,_0x2b20a9=this['_renderManagerService'][_0x2a2266(0x467)](_0x4c8433)['with'](_0x3b14b4),{redoCache:_0xb30a7a}=_0x2b20a9[_0x2a2266(0x35c)]();if(_0xb30a7a[_0x2a2266(0x400)]===0x0)return _0x1befe5;let _0xb6fc9=_0x56f740[_0x2a2266(0x451)](_0x1befe5[_0x2a2266(0x3cd)][0x0]);for(let _0x4d5021=0x0;_0x4d5021<_0xb30a7a[_0x2a2266(0x400)];_0x4d5021++){const _0x1fbcc9={'id':_0x2a2266(0x2b6),'params':{..._0xb30a7a[_0x4d5021]}},_0x29124e=this[_0x2a2266(0x2f4)][_0x2a2266(0x4bd)](_0xb6fc9,_0x1fbcc9,!0x1);if(_0x390965(_0x29124e))throw _0x29124e['error'];_0xb6fc9=_0x29124e[_0x2a2266(0x4f7)];}return{..._0x56f740[_0x2a2266(0x451)](_0x1befe5),'mutations':[_0xb6fc9]};}[_0x29d74e(0x19c)](_0x495245){const _0x318bd1=_0x29d74e,{unitID:_0x42fdbe}=_0x495245,_0x549e61=this[_0x318bd1(0x26c)][_0x318bd1(0x467)](_0x42fdbe)['with'](_0x3b14b4),{undoCache:_0x4ae381,redoCache:_0x544122}=_0x549e61[_0x318bd1(0x35c)]();if(_0x4ae381[_0x318bd1(0x400)]===0x0||_0x544122[_0x318bd1(0x400)]===0x0)return;const _0x1a274b=[],_0x5cc321=[];let _0x26eba8=_0x56f740['deepClone'](_0x495245[_0x318bd1(0x3cd)][0x0]),_0x8bd472=_0x56f740[_0x318bd1(0x451)](_0x495245[_0x318bd1(0x3cd)][0x0]);for(let _0x2dbb88=_0x4ae381['length']-0x1;_0x2dbb88>=0x0;_0x2dbb88--){const _0x440e71={'id':_0x318bd1(0x2b6),'params':{..._0x4ae381[_0x2dbb88]}},_0xa23224={'id':_0x318bd1(0x2b6),'params':{..._0x544122[_0x2dbb88]}},_0x1f1a44=this['_transformService'][_0x318bd1(0x4bd)](_0x26eba8,_0x440e71,!0x1),_0x594509=this[_0x318bd1(0x2f4)]['transformMutation'](_0x8bd472,_0xa23224,!0x1);if(_0x390965(_0x1f1a44))throw _0x1f1a44['error'];if(_0x390965(_0x594509))throw _0x594509['error'];_0x1a274b['unshift'](_0x1f1a44[_0x318bd1(0x36b)][_0x318bd1(0x38f)]),_0x5cc321[_0x318bd1(0x353)](_0x594509[_0x318bd1(0x36b)]['params']),_0x26eba8=_0x1f1a44['m1Prime'],_0x8bd472=_0x594509[_0x318bd1(0x4f7)];}_0x549e61['setUndoRedoMutationParamsCache']({'undoCache':_0x1a274b,'redoCache':_0x5cc321});}[_0x29d74e(0x4e6)](_0x536bba){const _0x5b2aab=_0x29d74e,{unitID:_0x2137e4}=_0x536bba,_0x1045c4=this[_0x5b2aab(0x26c)][_0x5b2aab(0x467)](_0x2137e4)['with'](_0x3b14b4),_0x481de8=_0x1045c4[_0x5b2aab(0x323)]();if(_0x481de8==null)return;const _0x284bdc=[{'id':_0x5b2aab(0x2b6),'params':{'unitId':_0x536bba[_0x5b2aab(0x46f)],'actions':null,'textRanges':[_0x481de8]}}],_0x535bda=this[_0x5b2aab(0x2f4)]['transformMutationsWithChangeset'](_0x536bba,_0x284bdc);if(!_0x45440f(_0x535bda))throw _0x535bda[_0x5b2aab(0x444)];const _0xcc4033=_0x535bda[_0x5b2aab(0x36b)][0x0][_0x5b2aab(0x38f)]['textRanges'];Array[_0x5b2aab(0x386)](_0xcc4033)&&_0xcc4033[_0x5b2aab(0x400)]&&_0x1045c4['setActiveRange'](_0xcc4033[0x0]);}};ft=Kr([Nt(0x0,_0x37efa2(_0x1e339b)),Nt(0x1,_0x4938c5),Nt(0x2,_0x4b3f95)],ft);var zr=Object[_0x29d74e(0x229)],qr=Object[_0x29d74e(0x494)],Xr=(_0x31880f,_0x2405ad,_0x2784d9,_0x406a8c)=>{const _0x3de545=_0x29d74e;for(var _0x321bfc=_0x406a8c>0x1?void 0x0:_0x406a8c?qr(_0x2405ad,_0x2784d9):_0x2405ad,_0x28243a=_0x31880f[_0x3de545(0x400)]-0x1,_0xbea3b2;_0x28243a>=0x0;_0x28243a--)(_0xbea3b2=_0x31880f[_0x28243a])&&(_0x321bfc=(_0x406a8c?_0xbea3b2(_0x2405ad,_0x2784d9,_0x321bfc):_0xbea3b2(_0x321bfc))||_0x321bfc);return _0x406a8c&&_0x321bfc&&zr(_0x2405ad,_0x2784d9,_0x321bfc),_0x321bfc;},Xe=(_0x3f404a,_0x4f6322)=>(_0x4cf958,_0x1da701)=>_0x4f6322(_0x4cf958,_0x1da701,_0x3f404a);let q=class extends _0x3755da{constructor(_0x43af42,_0x21bc64,_0x33e52e,_0x53563e,_0x5d6fc7){const _0x20d519=_0x29d74e;super(),g(this,'_cachedData',new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x20d519(0x2e1),!0x1),(this[_0x20d519(0x3e5)]=_0x43af42,this[_0x20d519(0x1e5)]=_0x21bc64,this[_0x20d519(0x4d9)]=_0x33e52e,this['_localeService']=_0x53563e,this['_revisionService']=_0x5d6fc7,this['_setupBeforeClosingHandler']());}[_0x29d74e(0x1a1)](){const _0xe2a7e0=_0x29d74e;this[_0xe2a7e0(0x2e1)]=!0x0;}[_0x29d74e(0x29d)](){const _0x327330=_0x29d74e;this[_0x327330(0x2e1)]=!0x1;}[_0x29d74e(0x4ae)](){const _0x3b2734=_0x29d74e;this[_0x3b2734(0x33a)]()[_0x3b2734(0x204)](()=>super[_0x3b2734(0x4ae)]());}async[_0x29d74e(0x336)](_0x740a8a){const _0x62aea1=_0x29d74e;return this[_0x62aea1(0x2e1)]?null:this[_0x62aea1(0x1e5)][_0x62aea1(0x153)](Hs(_0x740a8a));}async[_0x29d74e(0x3e6)](_0x39f48b,_0x257d34){const _0x3e94d2=_0x29d74e;return!!this[_0x3e94d2(0x1e5)][_0x3e94d2(0x203)](_0x39f48b,_0x257d34);}['updateOfflineData'](_0x515c3a,_0x5c8390,_0x1b135f,_0x2b81be){const _0x143f08=_0x29d74e,_0x3fd24f=this[_0x143f08(0x136)][_0x143f08(0x3dd)](_0x515c3a);this[_0x143f08(0x102)][_0x143f08(0x36d)](_0x515c3a,{'unitID':_0x515c3a,'type':_0x5c8390,'awaitingChangeset':_0x1b135f,'mutations':_0x2b81be,'rev':_0x3fd24f}),this[_0x143f08(0x3cf)][_0x143f08(0x44d)](_0x515c3a)||this[_0x143f08(0x4cb)](_0x515c3a);}['_scheduleSaving'](_0x4233ae){const _0x2b83f3=_0x29d74e,_0x317cbd=this[_0x2b83f3(0x23f)]();_0x317cbd===0x0?this['_saveCache'](_0x4233ae):this['_saveTaskMap'][_0x2b83f3(0x36d)](_0x4233ae,setTimeout(()=>this['_saveCache'](_0x4233ae),_0x317cbd));}[_0x29d74e(0x23f)](){const _0x549676=_0x29d74e;var _0x2fa8da;return(_0x2fa8da=this[_0x549676(0x3e5)][_0x549676(0x3df)](vr))!=null?_0x2fa8da:mr;}[_0x29d74e(0x4cd)](_0x5e8479){const _0x1b8c7d=_0x29d74e,_0x2de4e5=this[_0x1b8c7d(0x3cf)][_0x1b8c7d(0x177)](_0x5e8479);return _0x2de4e5!==void 0x0&&window[_0x1b8c7d(0x1e3)](_0x2de4e5),this[_0x1b8c7d(0x1e5)][_0x1b8c7d(0x203)](Hs(_0x5e8479),this['_cachedData']['get'](_0x5e8479))[_0x1b8c7d(0x204)](()=>this[_0x1b8c7d(0x3cf)][_0x1b8c7d(0x4f6)](_0x5e8479));}async[_0x29d74e(0x33a)](){const _0x474e6a=_0x29d74e,_0x246bda=[];this[_0x474e6a(0x3cf)][_0x474e6a(0x2d5)]((_0x5a247a,_0x559735)=>{const _0xa699c6=_0x474e6a;window[_0xa699c6(0x1e3)](_0x5a247a),_0x246bda[_0xa699c6(0x183)](this[_0xa699c6(0x4cd)](_0x559735)['then'](()=>{const _0x35c644=_0xa699c6;this[_0x35c644(0x3cf)][_0x35c644(0x4f6)](_0x559735);}));}),await Promise[_0x474e6a(0x3ee)](_0x246bda);}[_0x29d74e(0x209)](){const _0x10c56b=_0x29d74e;this['disposeWithMe'](this[_0x10c56b(0x4d9)][_0x10c56b(0x2c3)](()=>{const _0x24cc99=_0x10c56b;if(this[_0x24cc99(0x3cf)][_0x24cc99(0x27a)])return this[_0x24cc99(0xef)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Xr([Xe(0x0,_0x167231),Xe(0x1,_0x35bdfa),Xe(0x2,_0x1d600a),Xe(0x3,_0x37efa2(_0x10be55)),Xe(0x4,_0x37efa2(_0x405d92))],q);function Hs(_0x39b97){const _0x4fffc3=_0x29d74e;return _0x4fffc3(0x226)+_0x39b97;}var Jr=Object[_0x29d74e(0x229)],Zr=Object[_0x29d74e(0x494)],Qr=(_0x3e4633,_0x1bdba9,_0x2a3fdf,_0x43f68c)=>{const _0x503cdd=_0x29d74e;for(var _0xb9a6b3=_0x43f68c>0x1?void 0x0:_0x43f68c?Zr(_0x1bdba9,_0x2a3fdf):_0x1bdba9,_0xa2b311=_0x3e4633[_0x503cdd(0x400)]-0x1,_0x4a5ffb;_0xa2b311>=0x0;_0xa2b311--)(_0x4a5ffb=_0x3e4633[_0xa2b311])&&(_0xb9a6b3=(_0x43f68c?_0x4a5ffb(_0x1bdba9,_0x2a3fdf,_0xb9a6b3):_0x4a5ffb(_0xb9a6b3))||_0xb9a6b3);return _0x43f68c&&_0xb9a6b3&&Jr(_0x1bdba9,_0x2a3fdf,_0xb9a6b3),_0xb9a6b3;},At=(_0x12d197,_0x5eb049)=>(_0x1fca06,_0x5220ea)=>_0x5eb049(_0x1fca06,_0x5220ea,_0x12d197);function eo(_0x451101){const _0x398fac=_0x29d74e,{unitID:_0x3e354b,mutations:_0x184b1b}=_0x451101;return{'unitId':_0x3e354b,'subUnitId':_0x184b1b[0x0][_0x398fac(0x38f)]['subUnitId']};}let vt=class{constructor(_0x6729ed,_0x5ac54b,_0x141f5c){const _0x160c35=_0x29d74e;this['_injector']=_0x6729ed,this[_0x160c35(0x2f4)]=_0x5ac54b,this[_0x160c35(0x199)]=_0x141f5c;}[_0x29d74e(0x3b7)](_0x57c971){const _0x7bc815=_0x29d74e;var _0x40e929,_0x3605b6,_0x345fd0,_0x5ee44a;const _0x36ec05=this[_0x7bc815(0x1b2)][_0x7bc815(0x177)](_0x28f4ca),{unitId:_0x4261b5,subUnitId:_0x4747a6}=eo(_0x57c971),_0x44c37b=_0x36ec05['getWorkbookSelections'](_0x4261b5)[_0x7bc815(0x418)](),_0x1c372d=(_0x3605b6=(_0x40e929=this['_instanceService'][_0x7bc815(0x39b)](_0x4261b5))==null?void 0x0:_0x40e929[_0x7bc815(0x390)]())==null?void 0x0:_0x3605b6[_0x7bc815(0x371)]();if(_0x44c37b[_0x7bc815(0x400)]===0x0||!_0x4261b5||!_0x4747a6)return;const _0x313cd4=[{'id':_0x371c24['id'],'params':{'unitId':_0x4261b5,'subUnitId':_0x1c372d,'selections':_0x56f740['deepClone'](_0x44c37b)}}],_0x5b6882=this['_transformService'][_0x7bc815(0x4ca)](_0x57c971,_0x313cd4);if(!_0x45440f(_0x5b6882))throw _0x5b6882[_0x7bc815(0x444)];const _0x2bd75e=(_0x5ee44a=(_0x345fd0=_0x5b6882[_0x7bc815(0x36b)][0x0])==null?void 0x0:_0x345fd0['params'])==null?void 0x0:_0x5ee44a[_0x7bc815(0x36a)];if(Array['isArray'](_0x2bd75e)&&_0x2bd75e[_0x7bc815(0x400)]){if(_0x2bd75e[_0x7bc815(0x400)]===_0x313cd4[0x0][_0x7bc815(0x38f)][_0x7bc815(0x36a)][_0x7bc815(0x400)]&&_0x2bd75e[_0x7bc815(0x2dd)]((_0x2cc372,_0x195fdf)=>_0x13dc9c['equals'](_0x2cc372[_0x7bc815(0x40c)],_0x313cd4[0x0][_0x7bc815(0x38f)][_0x7bc815(0x36a)][_0x195fdf][_0x7bc815(0x40c)])))return;this[_0x7bc815(0x1b2)]['get'](_0xc41305)[_0x7bc815(0x33d)](_0x371c24['id'],{'unitId':_0x4261b5,'subUnitId':_0x1c372d,'selections':_0x2bd75e});}}};vt=Qr([At(0x0,_0x37efa2(_0x1e339b)),At(0x1,_0x4938c5),At(0x2,_0x4c5fa7)],vt);const Rt=_0x1f1029(_0x29d74e(0x240));var yi=(_0x4b230d=>(_0x4b230d[_0x4b230d[_0x29d74e(0x115)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4b230d[_0x4b230d[_0x29d74e(0x307)]=0x1]='OTHER_CLIENTS_EDITING',_0x4b230d))(yi||{});const js=0x7530,Bs='ACTIVE_UNIT_EVENT_CHANNEL';class to extends _0x3755da{constructor(){const _0x37edb3=_0x29d74e;super(),g(this,_0x37edb3(0x1ac),_0x56f740[_0x37edb3(0x207)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x37edb3(0x352),new Map()),g(this,_0x37edb3(0xf5),null),g(this,_0x37edb3(0x2e2),new Map()),g(this,_0x37edb3(0x3de),new Map()),this[_0x37edb3(0x27d)]();}[_0x29d74e(0x4ae)](){const _0x3e43ca=_0x29d74e;super[_0x3e43ca(0x4ae)](),this[_0x3e43ca(0x2e2)]['forEach']((_0x398551,_0x525814)=>this['_removeClearOtherTimer'](_0x525814)),this[_0x3e43ca(0xf5)]&&window['clearInterval'](this[_0x3e43ca(0xf5)]);}['getUnitStatus$'](_0x199f3b){const _0x373079=_0x29d74e;return this[_0x373079(0x3c1)](_0x199f3b)[_0x373079(0x472)](_0x33fdae());}[_0x29d74e(0x1c0)](_0x3f918e){const _0x496142=_0x29d74e;this[_0x496142(0x28d)][_0x496142(0x27a)]===0x0&&this[_0x496142(0x294)](),this[_0x496142(0x28d)]['add'](_0x3f918e),this[_0x496142(0xeb)]({'type':0x0,'memberID':this[_0x496142(0x1ac)],'unitIDs':[_0x3f918e],'isForwarded':!0x1});}[_0x29d74e(0x248)](_0x36de49){const _0x48d13a=_0x29d74e;this['_selfUnitIDs'][_0x48d13a(0x4f6)](_0x36de49),this[_0x48d13a(0x28d)][_0x48d13a(0x27a)]===0x0&&this[_0x48d13a(0xf5)]&&window[_0x48d13a(0x20a)](this[_0x48d13a(0xf5)]);}[_0x29d74e(0x27d)](){const _0x3986d1=_0x29d74e;this['disposeWithMe'](_0x3dbac0(_0x83dc15(window,_0x3986d1(0x3c5))[_0x3986d1(0x3c2)](_0x412895=>{const _0x2ba2b2=_0x3986d1;if(_0x412895[_0x2ba2b2(0x38a)]!==Bs||!_0x412895[_0x2ba2b2(0x1ab)])return;const _0x31f691=JSON['parse'](_0x412895[_0x2ba2b2(0x1ab)]);this['_handleEvent'](_0x31f691);}))),window['addEventListener']('unload',()=>this[_0x3986d1(0xeb)]({'type':0x1,'memberID':this[_0x3986d1(0x1ac)],'unitIDs':Array['from'](this[_0x3986d1(0x28d)])}));}[_0x29d74e(0x3db)](_0x38b9ae){const _0x186c8c=_0x29d74e;switch(_0x38b9ae[_0x186c8c(0x379)]){case 0x0:this[_0x186c8c(0x270)](_0x38b9ae);break;case 0x1:this['_handleLeaveEvent'](_0x38b9ae);break;case 0x2:this[_0x186c8c(0x1d4)](_0x38b9ae);break;}}['_handleJoinEvent'](_0x283130){const _0x116e85=_0x29d74e,{unitIDs:_0x35400e,memberID:_0x2e16b0,isForwarded:_0x22a1a5}=_0x283130;_0x35400e[_0x116e85(0x2d5)](_0x4c103c=>{const _0x1e3095=_0x116e85;if(!_0x22a1a5&&this[_0x1e3095(0x352)][_0x1e3095(0x44d)](_0x4c103c)&&this[_0x1e3095(0x3c1)](_0x4c103c)[_0x1e3095(0x175)](0x1),!this[_0x1e3095(0x352)][_0x1e3095(0x44d)](_0x4c103c)||!this['_unitOnClients'][_0x1e3095(0x177)](_0x4c103c)[_0x1e3095(0x44d)](_0x2e16b0)){const _0xc6367f=this[_0x1e3095(0x352)]['get'](_0x4c103c)||new Set();_0xc6367f[_0x1e3095(0x3d3)](_0x2e16b0),this[_0x1e3095(0x352)][_0x1e3095(0x36d)](_0x4c103c,_0xc6367f),this[_0x1e3095(0x1fc)](_0x2e16b0);}}),_0x22a1a5||this[_0x116e85(0xeb)]({'type':0x0,'memberID':this[_0x116e85(0x1ac)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x122ff4){const _0x3eec78=_0x29d74e;this[_0x3eec78(0x498)](_0x122ff4);const _0x5025a5=window['setTimeout'](()=>{const _0x5b3a62=_0x3eec78;this[_0x5b3a62(0x352)][_0x5b3a62(0x2d5)](_0x3eedbf=>{const _0x433514=_0x5b3a62;_0x3eedbf[_0x433514(0x4f6)](_0x122ff4);});},js*0x2);this['_clearOtherTimers']['set'](_0x122ff4,_0x5025a5);}[_0x29d74e(0x498)](_0x23d116){const _0xbaee1e=_0x29d74e;if(this[_0xbaee1e(0x2e2)][_0xbaee1e(0x44d)](_0x23d116)){const _0x337490=this[_0xbaee1e(0x2e2)]['get'](_0x23d116);_0x337490&&window[_0xbaee1e(0x1e3)](_0x337490),this[_0xbaee1e(0x2e2)][_0xbaee1e(0x36d)](_0x23d116,null);}}[_0x29d74e(0x1e9)](_0x3dc43b){const _0x2fcb84=_0x29d74e,{memberID:_0x2bccf7,unitIDs:_0x4160e9}=_0x3dc43b;_0x4160e9[_0x2fcb84(0x2d5)](_0x3fdd7e=>{const _0x3ba535=_0x2fcb84;var _0x5443b4;const _0x1374a7=this['_unitOnClients'][_0x3ba535(0x177)](_0x3fdd7e);_0x1374a7&&(_0x1374a7[_0x3ba535(0x4f6)](_0x2bccf7),(_0x5443b4=this[_0x3ba535(0x3c1)](_0x3fdd7e))==null||_0x5443b4[_0x3ba535(0x175)](_0x1374a7[_0x3ba535(0x27a)]===0x0?0x0:0x1));}),this[_0x2fcb84(0x498)](_0x2bccf7);}[_0x29d74e(0x1d4)](_0x30057a){const _0x14f2b2=_0x29d74e;this[_0x14f2b2(0x1fc)](_0x30057a[_0x14f2b2(0x435)]);}[_0x29d74e(0xeb)](_0x292238){const _0x1eec8d=_0x29d74e;localStorage[_0x1eec8d(0x203)](Bs,JSON[_0x1eec8d(0x11f)](_0x292238));}[_0x29d74e(0x294)](){const _0x19ea0c=_0x29d74e;this[_0x19ea0c(0xf5)]=window[_0x19ea0c(0x219)](()=>{const _0x4ee774=_0x19ea0c;this[_0x4ee774(0xeb)]({'type':0x2,'memberID':this[_0x4ee774(0x1ac)]});},js);}[_0x29d74e(0x3c1)](_0x16ab7a){const _0x28b9f3=_0x29d74e;return this[_0x28b9f3(0x3de)][_0x28b9f3(0x44d)](_0x16ab7a)||this['_unitStatus'][_0x28b9f3(0x36d)](_0x16ab7a,new _0x260ce9(0x0)),this[_0x28b9f3(0x3de)]['get'](_0x16ab7a);}}var so=Object[_0x29d74e(0x229)],io=Object[_0x29d74e(0x494)],no=(_0x2e8321,_0x22c6de,_0x1ef4a2,_0xdad885)=>{const _0x5b29f4=_0x29d74e;for(var _0x4b506e=_0xdad885>0x1?void 0x0:_0xdad885?io(_0x22c6de,_0x1ef4a2):_0x22c6de,_0xb91be9=_0x2e8321[_0x5b29f4(0x400)]-0x1,_0x3cdea9;_0xb91be9>=0x0;_0xb91be9--)(_0x3cdea9=_0x2e8321[_0xb91be9])&&(_0x4b506e=(_0xdad885?_0x3cdea9(_0x22c6de,_0x1ef4a2,_0x4b506e):_0x3cdea9(_0x4b506e))||_0x4b506e);return _0xdad885&&_0x4b506e&&so(_0x22c6de,_0x1ef4a2,_0x4b506e),_0x4b506e;},Mt=(_0x1ba82e,_0x497d05)=>(_0x9667db,_0x2e7b7a)=>_0x497d05(_0x9667db,_0x2e7b7a,_0x1ba82e);let mt=class{constructor(_0x297c32,_0x5e3db8,_0x290e9f){const _0x137925=_0x29d74e;this[_0x137925(0x1b2)]=_0x297c32,this[_0x137925(0x2f4)]=_0x5e3db8,this[_0x137925(0x4d6)]=_0x290e9f;}[_0x29d74e(0x497)](_0x47ad82){const _0x42b022=_0x29d74e;this[_0x42b022(0x234)](_0x47ad82);}[_0x29d74e(0x154)](_0x101dfd){const _0x2906cb=_0x29d74e,{unitID:_0x19d80c}=_0x101dfd,{collaboration:_0x18cbce}=this[_0x2906cb(0x4d6)][_0x2906cb(0x1e0)](_0x19d80c);if(_0x18cbce[_0x2906cb(0x400)]===0x0)return _0x101dfd;let _0x131f3f=_0x56f740[_0x2906cb(0x451)](_0x101dfd[_0x2906cb(0x3cd)][0x0]);for(let _0x5c0dad=0x0;_0x5c0dad<_0x18cbce[_0x2906cb(0x400)];_0x5c0dad++){const _0xf40ba9={'id':_0x2906cb(0x2b6),'params':{'unitId':_0x18cbce[_0x5c0dad][_0x2906cb(0x146)],..._0x18cbce[_0x5c0dad][_0x2906cb(0x3a3)]}},_0x25a10b=this[_0x2906cb(0x2f4)][_0x2906cb(0x4bd)](_0x131f3f,_0xf40ba9,!0x1);if(_0x390965(_0x25a10b))throw _0x25a10b[_0x2906cb(0x444)];_0x131f3f=_0x25a10b[_0x2906cb(0x4f7)];}return{..._0x56f740[_0x2906cb(0x451)](_0x101dfd),'mutations':[_0x131f3f]};}[_0x29d74e(0x234)](_0x31961f){const _0x167f31=_0x29d74e,{unitID:_0x58d60e}=_0x31961f,{history:_0x15e667,collaboration:_0x453770}=this[_0x167f31(0x4d6)][_0x167f31(0x1e0)](_0x58d60e);if(_0x15e667['length']===0x0&&_0x453770[_0x167f31(0x400)]===0x0)return;const _0x16a130=[],_0x5e824e=[];let _0x1175aa=_0x56f740[_0x167f31(0x451)](_0x31961f['mutations'][0x0]),_0x40f143=_0x56f740[_0x167f31(0x451)](_0x31961f[_0x167f31(0x3cd)][0x0]);for(let _0x51066f=_0x15e667['length']-0x1;_0x51066f>=0x0;_0x51066f--){const _0x27be52={'id':_0x167f31(0x2b6),'params':{'unitId':_0x15e667[_0x51066f][_0x167f31(0x146)],..._0x15e667[_0x51066f][_0x167f31(0x255)]}},_0x3b6352={'id':_0x167f31(0x2b6),'params':{'unitId':_0x15e667[_0x51066f]['unitId'],..._0x15e667[_0x51066f]['redoState']}},_0x4a09eb=this[_0x167f31(0x2f4)]['transformMutation'](_0x1175aa,_0x27be52,!0x1),_0x5df350=this[_0x167f31(0x2f4)][_0x167f31(0x4bd)](_0x40f143,_0x3b6352,!0x1);if(_0x390965(_0x4a09eb))throw _0x4a09eb['error'];if(_0x390965(_0x5df350))throw _0x5df350[_0x167f31(0x444)];_0x16a130[_0x167f31(0x353)]({..._0x15e667[_0x51066f],'undoState':_0x4a09eb[_0x167f31(0x36b)]['params'],'redoState':_0x5df350[_0x167f31(0x36b)][_0x167f31(0x38f)]}),_0x1175aa=_0x4a09eb[_0x167f31(0x4f7)],_0x40f143=_0x5df350[_0x167f31(0x4f7)];}_0x1175aa=_0x56f740[_0x167f31(0x451)](_0x31961f['mutations'][0x0]),_0x40f143=_0x56f740[_0x167f31(0x451)](_0x31961f[_0x167f31(0x3cd)][0x0]);for(let _0x44d299=_0x453770['length']-0x1;_0x44d299>=0x0;_0x44d299--){const _0x5e40a8={'id':_0x167f31(0x2b6),'params':{'unitId':_0x453770[_0x44d299][_0x167f31(0x146)],..._0x453770[_0x44d299][_0x167f31(0x255)]}},_0x3fe86c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x453770[_0x44d299][_0x167f31(0x146)],..._0x453770[_0x44d299]['redoState']}},_0x444855=this[_0x167f31(0x2f4)][_0x167f31(0x4bd)](_0x1175aa,_0x5e40a8,!0x1),_0x19092e=this[_0x167f31(0x2f4)][_0x167f31(0x4bd)](_0x40f143,_0x3fe86c,!0x1);if(_0x390965(_0x444855))throw _0x444855[_0x167f31(0x444)];if(_0x390965(_0x19092e))throw _0x19092e[_0x167f31(0x444)];_0x5e824e['unshift']({..._0x453770[_0x44d299],'undoState':_0x444855['m2Prime'][_0x167f31(0x38f)],'redoState':_0x19092e['m2Prime']['params']}),_0x1175aa=_0x444855[_0x167f31(0x4f7)],_0x40f143=_0x19092e['m1Prime'];}this[_0x167f31(0x4d6)][_0x167f31(0x31c)](_0x58d60e,{'history':_0x16a130,'collaboration':_0x5e824e});}};mt=no([Mt(0x0,_0x37efa2(_0x1e339b)),Mt(0x1,_0x4938c5),Mt(0x2,_0x37efa2(_0x138bd8))],mt);function Oi(_0x1e5907){const _0x511dd2=_0x29d74e;let _0x196da0='';for(const _0x552636 of _0x1e5907){const {startOffset:_0x245825,endOffset:_0x3ca168,isActive:_0x17e79c,rangeType:_0x80f39f,segmentId:_0x9b75eb,segmentPage:_0x2af0ef}=_0x552636;_0x196da0[_0x511dd2(0x400)]&&(_0x196da0+=','),_0x196da0+=_0x245825+':'+_0x3ca168+':'+(_0x17e79c?'1':'0')+':'+_0x80f39f+':'+_0x9b75eb+':'+_0x2af0ef;}return _0x196da0;}function ro(_0x4ec8e8){const _0x3719ca=_0x29d74e,_0x25fd7c=_0x4ec8e8[_0x3719ca(0x29f)](','),_0x28efed=[];for(const _0x53a913 of _0x25fd7c){const [_0x58c753,_0x5cc91a,_0x189764,_0x2d6082,_0x1718ad,_0x17d52f]=_0x53a913[_0x3719ca(0x29f)](':');_0x28efed[_0x3719ca(0x183)]({'startOffset':Number(_0x58c753),'endOffset':Number(_0x5cc91a),'collapsed':_0x58c753===_0x5cc91a,'isActive':_0x189764==='1','rangeType':_0x2d6082===_0x420eb0['TEXT']?_0x420eb0[_0x3719ca(0x163)]:_0x420eb0['RECT'],'segmentId':typeof _0x1718ad==_0x3719ca(0x1d3)?String(_0x1718ad):'','segmentPage':Number(_0x17d52f!=null?_0x17d52f:-0x1)});}return _0x28efed[_0x3719ca(0x239)](_0x3fbd47=>_0x3fbd47[_0x3719ca(0x389)])||(_0x28efed[0x0][_0x3719ca(0x389)]=!0x0),_0x28efed;}class Ss extends _0x44a670{constructor(){const _0x51f297=_0x29d74e;super(...arguments),g(this,_0x51f297(0xec),new _0x260ce9(null)),g(this,_0x51f297(0x26f),this['_collabCursorState$'][_0x51f297(0x10f)]());}['syncEditingCollabCursor'](_0x2bba8e){const _0xd15b54=_0x29d74e,{unitID:_0x2fb8a7,memberID:_0x5e6b01,textRanges:_0x21437b}=_0x2bba8e,_0x4ccce2=Oi(_0x21437b);if(_0x4ccce2==='')return;const _0x44ad38={'unitID':_0x2fb8a7,'memberID':_0x5e6b01,'selection':_0x4ccce2};this['_collabCursorState$'][_0xd15b54(0x175)](_0x44ad38);}}var oo=Object[_0x29d74e(0x229)],ao=Object[_0x29d74e(0x494)],co=(_0xbf1628,_0x2a9629,_0x12e6bf,_0x41ef29)=>{const _0x1bb022=_0x29d74e;for(var _0x34b217=_0x41ef29>0x1?void 0x0:_0x41ef29?ao(_0x2a9629,_0x12e6bf):_0x2a9629,_0x4fa965=_0xbf1628[_0x1bb022(0x400)]-0x1,_0x951df6;_0x4fa965>=0x0;_0x4fa965--)(_0x951df6=_0xbf1628[_0x4fa965])&&(_0x34b217=(_0x41ef29?_0x951df6(_0x2a9629,_0x12e6bf,_0x34b217):_0x951df6(_0x34b217))||_0x34b217);return _0x41ef29&&_0x34b217&&oo(_0x2a9629,_0x12e6bf,_0x34b217),_0x34b217;},ks=(_0x537750,_0x496711)=>(_0x3e25dd,_0xacce77)=>_0x496711(_0x3e25dd,_0xacce77,_0x537750);let pt=class{constructor(_0x1a8df3,_0xff992){const _0x1a69de=_0x29d74e;this[_0x1a69de(0x1b2)]=_0x1a8df3,this[_0x1a69de(0x2f4)]=_0xff992;}['transformSelections'](_0x142e71){const _0x3dbb55=_0x29d74e;var _0x2b44da;const _0x304160=this[_0x3dbb55(0x1b2)][_0x3dbb55(0x177)](_0x5973e7),_0x26f3ec=(_0x2b44da=_0x304160[_0x3dbb55(0x4a3)]())!=null?_0x2b44da:[];if(_0x26f3ec[_0x3dbb55(0x400)]===0x0)return;const _0x1b07f2=_0x142e71['unitID'],_0x59a48e=[{'id':_0x3dbb55(0x2b6),'params':{'unitId':_0x1b07f2,'actions':null,'textRanges':_0x26f3ec}}],_0x335239=this[_0x3dbb55(0x2f4)][_0x3dbb55(0x4ca)](_0x142e71,_0x59a48e);if(!_0x45440f(_0x335239))throw _0x335239[_0x3dbb55(0x444)];const _0x3da1bf=_0x335239['m2Prime'][0x0][_0x3dbb55(0x38f)][_0x3dbb55(0x141)];Array[_0x3dbb55(0x386)](_0x3da1bf)&&_0x3da1bf[_0x3dbb55(0x400)]&&_0x304160['replaceDocRanges'](_0x3da1bf,{'unitId':_0x1b07f2,'subUnitId':_0x1b07f2},!0x1);}};pt=co([ks(0x0,_0x37efa2(_0x1e339b)),ks(0x1,_0x4938c5)],pt);const ho=new Set([_0xd0e140['id']]);function Ws(_0x3aacb9,_0x49fa30,_0x14b44a,_0x4d3ec4,_0x43a8a8){const _0x14c30b=_0x29d74e;var _0x2122d0,_0x55d79e,_0x64c1ef,_0x28337c;const _0x3fcf64=[];for(const _0x30bca4 of _0x3aacb9)if(ho['has'](_0x30bca4['id'])){if(_0x3fcf64[_0x14c30b(0x400)]>0x0)break;_0x3fcf64[_0x14c30b(0x183)](_0x30bca4);break;}else _0x3fcf64[_0x14c30b(0x183)](_0x30bca4);const _0x23d9f5=(_0x55d79e=(_0x2122d0=_0x43a8a8[_0x14c30b(0x363)]())==null?void 0x0:_0x2122d0[_0x14c30b(0x18f)])!=null?_0x55d79e:_0x14c30b(0x328),_0x2555e4=(_0x28337c=(_0x64c1ef=_0x43a8a8[_0x14c30b(0x363)]())==null?void 0x0:_0x64c1ef[_0x14c30b(0x435)])!=null?_0x28337c:_0x14c30b(0x328);return{'changeset':{'unitID':_0x49fa30,'type':_0x4feb37(_0x14b44a[_0x14c30b(0x459)](_0x49fa30)),'baseRev':_0x4d3ec4[_0x14c30b(0x3dd)](_0x49fa30),'revision':0x0,'userID':_0x23d9f5,'memberID':_0x2555e4,'mutations':_0x3fcf64},'pendingMutations':_0x3aacb9[_0x14c30b(0x21b)](_0x3fcf64[_0x14c30b(0x400)])};}function lo(_0xc5b38,_0x508da2,_0x5d685c,_0x1cea53,_0x564041){const _0x37d806=_0x29d74e;var _0x2d084d,_0x2b8fdb,_0x3f0436,_0x56f9ad;const _0x5d5b02=[_0xc5b38[_0x37d806(0x2fb)]((_0x22fd2f,_0xc6bb42)=>{const _0x2569f0=_0x37d806;var _0x202cee;const {id:_0x509420}=_0x22fd2f,{id:_0x5358e5,type:_0x1b6190}=_0xc6bb42,_0x1da111=(_0x202cee=_0x22fd2f['params'])!=null?_0x202cee:{'actions':null},_0x22410=_0xc6bb42['params'];if(_0x509420&&_0x509420!==_0x5358e5)throw new Error(_0x2569f0(0x4c6)+_0x509420+_0x2569f0(0x3e0)+_0x5358e5+'.');return{..._0x22fd2f,'id':_0x5358e5,'type':_0x1b6190,'params':{'unitId':_0x22410['unitId'],'textRanges':_0x22410[_0x2569f0(0x141)],'actions':_0x41e917[_0x2569f0(0x347)](_0x1da111[_0x2569f0(0x35e)],_0x22410['actions'])}};},{})],_0x1a028b=(_0x2b8fdb=(_0x2d084d=_0x564041[_0x37d806(0x363)]())==null?void 0x0:_0x2d084d[_0x37d806(0x18f)])!=null?_0x2b8fdb:_0x37d806(0x328),_0x3ed528=(_0x56f9ad=(_0x3f0436=_0x564041[_0x37d806(0x363)]())==null?void 0x0:_0x3f0436[_0x37d806(0x435)])!=null?_0x56f9ad:'unknown';return{'changeset':{'unitID':_0x508da2,'type':_0x4feb37(_0x5d685c['getUnitType'](_0x508da2)),'baseRev':_0x1cea53[_0x37d806(0x3dd)](_0x508da2),'revision':0x0,'userID':_0x1a028b,'memberID':_0x3ed528,'mutations':_0x5d5b02},'pendingMutations':[]};}function wi(_0x4d17b0,_0x61bbcf){const _0x113d0a=_0x29d74e,_0x323678=new _0x6f5e56(0x1);return setTimeout(()=>_0x323678[_0x113d0a(0x175)](_0x61bbcf),_0x4d17b0),_0x323678['asObservable']()[_0x113d0a(0x472)](_0x5d9d63(0x1));}const _o={'id':_0x1b5a78['id'],'type':_0x46699b[_0x29d74e(0x369)],'params':{}};var uo=Object['defineProperty'],fo=Object[_0x29d74e(0x494)],xe=(_0x45eeaa,_0x2a115d,_0x111687,_0x5726d6)=>{const _0x5482d8=_0x29d74e;for(var _0x268ce=_0x5726d6>0x1?void 0x0:_0x5726d6?fo(_0x2a115d,_0x111687):_0x2a115d,_0x3cbd10=_0x45eeaa[_0x5482d8(0x400)]-0x1,_0x4d1659;_0x3cbd10>=0x0;_0x3cbd10--)(_0x4d1659=_0x45eeaa[_0x3cbd10])&&(_0x268ce=(_0x5726d6?_0x4d1659(_0x2a115d,_0x111687,_0x268ce):_0x4d1659(_0x268ce))||_0x268ce);return _0x5726d6&&_0x268ce&&uo(_0x2a115d,_0x111687,_0x268ce),_0x268ce;},A=(_0x1907cf,_0x5d1c2f)=>(_0x6b381d,_0x27a231)=>_0x5d1c2f(_0x6b381d,_0x27a231,_0x1907cf),J=(_0xb642d6=>(_0xb642d6['NOT_COLLAB']=_0x29d74e(0x34e),_0xb642d6[_0x29d74e(0x42a)]=_0x29d74e(0x32c),_0xb642d6[_0x29d74e(0x108)]=_0x29d74e(0x4cc),_0xb642d6[_0x29d74e(0x437)]=_0x29d74e(0x425),_0xb642d6[_0x29d74e(0x4ac)]=_0x29d74e(0x477),_0xb642d6[_0x29d74e(0x4bb)]=_0x29d74e(0x1ba),_0xb642d6['CONFLICT']=_0x29d74e(0x149),_0xb642d6[_0x29d74e(0x4ea)]=_0x29d74e(0x237),_0xb642d6))(J||{});const Di=0xea60;class Le{constructor(_0x54465e,_0x1f50d9,_0xadd6a9,_0xba9a6,_0xedad81,_0x122588,_0x5019ca,_0x2e7eb2,_0x46606a){const _0x29d6f7=_0x29d74e;g(this,'_awaitingChangeset',null),g(this,_0x29d6f7(0x233),[]),(this['unitID']=_0x54465e,this['type']=_0x1f50d9,this[_0x29d6f7(0x4b9)]=_0xedad81,this['_commandService']=_0x122588,this[_0x29d6f7(0x2a3)]=_0x5019ca,this['_revisionService']=_0x2e7eb2,this[_0x29d6f7(0x2c9)]=_0x46606a,this[_0x29d6f7(0x1c9)]=_0xadd6a9,this[_0x29d6f7(0x233)]=_0xba9a6);}[_0x29d74e(0xf6)](_0x41c27c){const _0x33e657=_0x29d74e,_0x4d5f4d=this['_revisionService'][_0x33e657(0x3dd)](this[_0x33e657(0x46f)]);return _0x41c27c[_0x33e657(0x41b)]>_0x4d5f4d+0x1?(this[_0x33e657(0x4b9)]['onMissingChangesets']({'from':_0x4d5f4d,'to':_0x41c27c[_0x33e657(0x41b)]-0x1}),!0x0):!0x1;}[_0x29d74e(0x1ca)](_0x54e912){const _0x452d07=_0x29d74e;this['_undoRedoService'][_0x452d07(0x2cb)](this[_0x452d07(0x46f)],_0x54e912);}[_0x29d74e(0x456)](_0x3e8ef3){const _0xe5b3d7=_0x29d74e;var _0x438e11,_0x39253a;(_0x39253a=(_0x438e11=this[_0xe5b3d7(0x4b9)])[_0xe5b3d7(0x1e8)])==null||_0x39253a[_0xe5b3d7(0x46d)](_0x438e11,_0x3e8ef3);}[_0x29d74e(0x2e4)](_0x7bc780){const _0x5b8fc4=_0x29d74e;var _0x3094fa,_0x2ec48e;return(_0x2ec48e=(_0x3094fa=this['_handler'])[_0x5b8fc4(0x2f5)])==null?void 0x0:_0x2ec48e['call'](_0x3094fa,_0x7bc780);}['_transformStateCache'](_0x4e6f3a){const _0x2d7177=_0x29d74e;var _0x3c4da5,_0x310802;return(_0x310802=(_0x3c4da5=this[_0x2d7177(0x4b9)])[_0x2d7177(0x407)])==null?void 0x0:_0x310802[_0x2d7177(0x46d)](_0x3c4da5,_0x4e6f3a);}[_0x29d74e(0x4c0)](_0x81b9e1){const _0x11ab57=_0x29d74e;var _0x2509bc,_0x5026bb,_0x4773d9;return(_0x4773d9=(_0x5026bb=(_0x2509bc=this[_0x11ab57(0x4b9)])[_0x11ab57(0x439)])==null?void 0x0:_0x5026bb[_0x11ab57(0x46d)](_0x2509bc,_0x81b9e1))!=null?_0x4773d9:_0x81b9e1;}[_0x29d74e(0x162)](_0x388a71){const _0x22ef71=_0x29d74e;var _0x7d996a,_0x13af34,_0x288d09;return(_0x288d09=(_0x13af34=(_0x7d996a=this[_0x22ef71(0x4b9)])[_0x22ef71(0x1ff)])==null?void 0x0:_0x13af34['call'](_0x7d996a,_0x388a71))!=null?_0x288d09:_0x388a71;}[_0x29d74e(0x1f6)](_0x6b84c3){const _0x342055=_0x29d74e;var _0x4117f1,_0x2c9ccf;if(this['type']===ce[_0x342055(0x2f6)]){const {unitID:_0x30fe7d,mutations:_0x3dc0c8,memberID:_0x9f490d}=_0x6b84c3,_0xeaf063=_0x3dc0c8[0x0][_0x342055(0x38f)][_0x342055(0x141)];Array['isArray'](_0xeaf063)&&_0xeaf063[_0x342055(0x400)]>0x0&&((_0x2c9ccf=(_0x4117f1=this[_0x342055(0x4b9)])['onSyncEditingCollabCursor'])==null||_0x2c9ccf[_0x342055(0x46d)](_0x4117f1,{'unitID':_0x30fe7d,'memberID':_0x9f490d,'textRanges':_0xeaf063}));}}[_0x29d74e(0x4ad)](){const _0x1fdea1=_0x29d74e;this['_localCacheService'][_0x1fdea1(0x256)](this[_0x1fdea1(0x46f)],this[_0x1fdea1(0x379)],this[_0x1fdea1(0x1c9)],this[_0x1fdea1(0x233)]);}[_0x29d74e(0x150)](){const _0x168f55=_0x29d74e;return this['_revisionService'][_0x168f55(0x3dd)](this['unitID']);}[_0x29d74e(0x411)](){const _0x211e5e=_0x29d74e;this[_0x211e5e(0x136)]['incrementRevOfUnit'](this[_0x211e5e(0x46f)]);}[_0x29d74e(0x372)](_0x5c89e3){const _0x245e5d=_0x29d74e;var _0x16d58c;let _0x441fac=this[_0x245e5d(0x4c0)](_0x5c89e3);_0x441fac=this[_0x245e5d(0x162)](_0x441fac);const _0x47c9ef=_0x7c6ca0(_0x441fac[_0x245e5d(0x3cd)],this[_0x245e5d(0x4eb)],{'fromCollab':!0x0});if(!_0x47c9ef[_0x245e5d(0x264)])throw _0x47c9ef['error']instanceof Error?_0x47c9ef[_0x245e5d(0x444)]:new Error((_0x16d58c=_0x47c9ef[_0x245e5d(0x444)])!=null?_0x16d58c:'[CollaborationState]:\x20apply\x20error!');this[_0x245e5d(0x2e4)](_0x441fac),this['_transformStateCache'](_0x441fac),this['_transformUndoredo'](_0x5c89e3),this[_0x245e5d(0x456)](_0x441fac),this[_0x245e5d(0x1f6)](_0x441fac),this[_0x245e5d(0x411)]();}}let Fe=class extends Le{constructor(_0x500af6,_0x2220d6,_0x3816d9,_0x423da7,_0x49cb0f,_0x56c180,_0x595228,_0xba1f1a,_0x29f30b,_0x531b1e){const _0x4201a7=_0x29d74e;super(_0x500af6,_0x2220d6,null,[],_0x3816d9,_0xba1f1a,_0x595228,_0x423da7,_0x49cb0f),g(this,_0x4201a7(0x4c7),_0x4201a7(0x32c)),(this['_injector']=_0x56c180,this[_0x4201a7(0x468)]=_0x29f30b,this[_0x4201a7(0x2f4)]=_0x531b1e);}[_0x29d74e(0x232)](_0x32cb21){const _0x5de400=_0x29d74e,_0x450564=this[_0x5de400(0x1b2)][_0x5de400(0x4a8)](pe,this['unitID'],this[_0x5de400(0x379)],[_0x32cb21],this['_handler']);return _0x450564[_0x5de400(0x446)](),_0x450564[_0x5de400(0x4ad)](),_0x450564;}[_0x29d74e(0x45c)](_0x15d2c8){const _0x28bc5c=_0x29d74e;if(this[_0x28bc5c(0xf6)](_0x15d2c8))return this[_0x28bc5c(0x1b2)]['createInstance'](he,this[_0x28bc5c(0x46f)],this[_0x28bc5c(0x379)],null,[],null,[_0x15d2c8],this[_0x28bc5c(0x4b9)]);try{const _0x3c1622=this[_0x28bc5c(0x2f4)]['transformMutationsWithChangeset'](_0x15d2c8,[_o]);if(_0x45440f(_0x3c1622)){const {c1Prime:_0x1757f1}=_0x3c1622;return this[_0x28bc5c(0x372)](_0x1757f1),this;}throw _0x3c1622[_0x28bc5c(0x444)];}catch(_0x51bc19){return this[_0x28bc5c(0x468)][_0x28bc5c(0x444)](_0x51bc19),this[_0x28bc5c(0x4a7)](!0x1);}}['_onConflict'](_0x427b53){const _0x509198=_0x29d74e;return this[_0x509198(0x1b2)][_0x509198(0x4a8)](Re,this[_0x509198(0x46f)],this['type'],null,[],this[_0x509198(0x4b9)],_0x427b53);}[_0x29d74e(0x2ae)](){const _0x21be40=_0x29d74e;throw new Error(_0x21be40(0x123));}[_0x29d74e(0x3b8)](){const _0x2ed30c=_0x29d74e;throw new Error(_0x2ed30c(0x450));}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){const _0x2046bb=_0x29d74e;return this[_0x2046bb(0x1b2)][_0x2046bb(0x4a8)](ye,this['unitID'],this[_0x2046bb(0x379)],null,[],this[_0x2046bb(0x4b9)]);}['toggleOnline'](){return this;}[_0x29d74e(0x460)](){const _0xf7756b=_0x29d74e;throw new Error(_0xf7756b(0x191));}[_0x29d74e(0x4b5)](){const _0x31849a=_0x29d74e,_0x3335b3=this['_revisionService']['getCurrentRevOfUnit'](this[_0x31849a(0x46f)]);return this[_0x31849a(0x4b9)][_0x31849a(0x2b8)]({'from':_0x3335b3,'to':0x0}),this[_0x31849a(0x1b2)][_0x31849a(0x4a8)](he,this[_0x31849a(0x46f)],this[_0x31849a(0x379)],null,[],null,[],this['_handler']);}};Fe=xe([A(0x3,_0x37efa2(_0x405d92)),A(0x4,_0x37efa2(q)),A(0x5,_0x37efa2(_0x1e339b)),A(0x6,_0x17339c),A(0x7,_0xc41305),A(0x8,_0x2b335c),A(0x9,_0x4938c5)],Fe);let pe=class extends Le{constructor(_0x5b50a7,_0x2c79c1,_0x300c66,_0x247bf3,_0x57cc77,_0x138905,_0x23db8b,_0x582625,_0x5794ca,_0x13d5f2,_0x29df74,_0x2df72c,_0x5be8a4,_0x4b5667){const _0x8ae14f=_0x29d74e;super(_0x5b50a7,_0x2c79c1,null,_0x300c66,_0x247bf3,_0x13d5f2,_0x4b5667,_0x138905,_0x23db8b),g(this,_0x8ae14f(0x4c7),_0x8ae14f(0x4cc)),g(this,_0x8ae14f(0x40b),null),g(this,_0x8ae14f(0x309),null),(this[_0x8ae14f(0x1b2)]=_0x57cc77,this[_0x8ae14f(0x127)]=_0x582625,this[_0x8ae14f(0x468)]=_0x5794ca,this[_0x8ae14f(0x3e5)]=_0x29df74,this[_0x8ae14f(0x2f4)]=_0x2df72c,this[_0x8ae14f(0x387)]=_0x5be8a4);}[_0x29d74e(0x232)](_0x3b901d){const _0x55c0aa=_0x29d74e;return this['_pendingMutations'][_0x55c0aa(0x183)](_0x3b901d),this[_0x55c0aa(0x4ad)](),this;}[_0x29d74e(0x45c)](_0x4d2797){const _0x30f8a0=_0x29d74e;if(this['_checkMissing'](_0x4d2797))return this[_0x30f8a0(0x45f)](),this['_injector'][_0x30f8a0(0x4a8)](he,this['unitID'],this[_0x30f8a0(0x379)],null,this[_0x30f8a0(0x233)],null,[_0x4d2797],this['_handler']);try{const _0x21df31=this[_0x30f8a0(0x2f4)][_0x30f8a0(0x4ca)](_0x4d2797,this[_0x30f8a0(0x233)]);if(_0x45440f(_0x21df31)){const {c1Prime:_0x2803a4,m2Prime:_0x48ae1f}=_0x21df31;this[_0x30f8a0(0x372)](_0x2803a4);const _0x1107e0=this['_injector'][_0x30f8a0(0x4a8)](pe,this['unitID'],this[_0x30f8a0(0x379)],_0x48ae1f,this[_0x30f8a0(0x4b9)]);return this[_0x30f8a0(0x45f)](),_0x1107e0[_0x30f8a0(0x446)](this[_0x30f8a0(0x40b)]?Math[_0x30f8a0(0x358)](0x0,new Date()[_0x30f8a0(0x1d8)]()-this[_0x30f8a0(0x40b)]):this[_0x30f8a0(0x185)]()),_0x1107e0;}throw _0x21df31[_0x30f8a0(0x444)];}catch(_0x1ab419){return this[_0x30f8a0(0x468)][_0x30f8a0(0x444)](_0x1ab419),this[_0x30f8a0(0x4a7)](!0x1);}}[_0x29d74e(0x2ae)](){const _0x1a928d=_0x29d74e;throw new Error(_0x1a928d(0x3eb));}[_0x29d74e(0x3b8)](){const _0x2c5a7c=_0x29d74e;throw new Error(_0x2c5a7c(0x124));}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){const _0x30633a=_0x29d74e;return this['_clearScheduledTask'](),this[_0x30633a(0x1b2)][_0x30633a(0x4a8)](ye,this[_0x30633a(0x46f)],this[_0x30633a(0x379)],null,this[_0x30633a(0x233)],this['_handler']);}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x446)](_0x245f48){const _0x3c42a2=_0x29d74e,_0x5dd0c1=_0x245f48!=null?_0x245f48:this[_0x3c42a2(0x185)]();this[_0x3c42a2(0x40b)]=new Date()['getTime'](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x10ca2e=_0x3c42a2;this[_0x10ca2e(0x45f)]();let _0x4daf34=null;switch(this[_0x10ca2e(0x379)]){case ce[_0x10ca2e(0x142)]:{_0x4daf34=Ws(this['_pendingMutations'],this[_0x10ca2e(0x46f)],this[_0x10ca2e(0x387)],this[_0x10ca2e(0x136)],this['_memberService']);break;}case ce[_0x10ca2e(0x2f6)]:{this['_pendingMutations'][_0x10ca2e(0x2dd)](_0xafbacd=>_0xafbacd['id']===_0x10d0b7['id'])?_0x4daf34=lo(this[_0x10ca2e(0x233)],this[_0x10ca2e(0x46f)],this[_0x10ca2e(0x387)],this['_revisionService'],this['_memberService']):_0x4daf34=Ws(this[_0x10ca2e(0x233)],this[_0x10ca2e(0x46f)],this['_univerInstanceService'],this[_0x10ca2e(0x136)],this[_0x10ca2e(0x127)]);break;}default:throw new Error(_0x10ca2e(0x4df)+this[_0x10ca2e(0x379)]+'\x20in\x20_schedule.');}const {changeset:_0x36420c,pendingMutations:_0x2d14f7}=_0x4daf34;this[_0x10ca2e(0x4b9)][_0x10ca2e(0x462)](_0x36420c);const _0x56cd61=_0x2d14f7[_0x10ca2e(0x400)]?this[_0x10ca2e(0x1b2)][_0x10ca2e(0x4a8)](ge,this[_0x10ca2e(0x46f)],this[_0x10ca2e(0x379)],_0x36420c,_0x2d14f7,this['_handler'],void 0x0):this[_0x10ca2e(0x1b2)]['createInstance'](Te,this[_0x10ca2e(0x46f)],this['type'],_0x36420c,this['_handler']);_0x56cd61[_0x10ca2e(0x4ad)](),this['_handler'][_0x10ca2e(0xed)](this,_0x56cd61);},_0x5dd0c1);}['_getSendChangesetTimeout'](){const _0x556b8f=_0x29d74e;var _0x4991c5;const _0x21a711=this[_0x556b8f(0x3e5)][_0x556b8f(0x3df)](ie);return(_0x4991c5=_0x21a711==null?void 0x0:_0x21a711['sendChangesetTimeout'])!=null?_0x4991c5:ar;}[_0x29d74e(0x460)](){const _0x3e7193=_0x29d74e;throw new Error(_0x3e7193(0xf1));}[_0x29d74e(0x45f)](){const _0x35ceb2=_0x29d74e;this[_0x35ceb2(0x309)]!=null&&(clearTimeout(this[_0x35ceb2(0x309)]),this[_0x35ceb2(0x309)]=null);}[_0x29d74e(0x4a7)](_0xb2fc6a){const _0xdd2fb6=_0x29d74e;return this[_0xdd2fb6(0x45f)](),this[_0xdd2fb6(0x1b2)][_0xdd2fb6(0x4a8)](Re,this[_0xdd2fb6(0x46f)],this['type'],null,this[_0xdd2fb6(0x233)],this[_0xdd2fb6(0x4b9)],_0xb2fc6a);}};pe=xe([A(0x4,_0x37efa2(_0x1e339b)),A(0x5,_0x37efa2(_0x405d92)),A(0x6,_0x37efa2(q)),A(0x7,_0x37efa2(Ue)),A(0x8,_0x2b335c),A(0x9,_0xc41305),A(0xa,_0x167231),A(0xb,_0x4938c5),A(0xc,_0x4c5fa7),A(0xd,_0x17339c)],pe);let Te=class extends Le{constructor(_0x2cdf8b,_0x45c3d1,_0x2110c3,_0x666f0c,_0x38496e,_0x546ac6,_0x45cbf6,_0x508bb1,_0x52675d,_0x36a972,_0x28b940){const _0x492c04=_0x29d74e;super(_0x2cdf8b,_0x45c3d1,_0x2110c3,[],_0x666f0c,_0x508bb1,_0x28b940,_0x546ac6,_0x45cbf6),g(this,_0x492c04(0x4c7),'awaiting'),g(this,'_resendTimeout',0x0),g(this,'_resendTimer'),g(this,_0x492c04(0x198)),(this['_injector']=_0x38496e,this[_0x492c04(0x468)]=_0x52675d,this[_0x492c04(0x2f4)]=_0x36a972);}[_0x29d74e(0x232)](_0x1c8970){const _0x4841f0=_0x29d74e;this[_0x4841f0(0x45f)]();const _0x4313c4=this[_0x4841f0(0x1b2)]['createInstance'](ge,this[_0x4841f0(0x46f)],this[_0x4841f0(0x379)],this[_0x4841f0(0x1c9)],[_0x1c8970],this[_0x4841f0(0x4b9)],this['_resendTimer']);return _0x4313c4[_0x4841f0(0x4ad)](),_0x4313c4;}[_0x29d74e(0x45c)](_0x566c3a){const _0x12c600=_0x29d74e;if(this[_0x12c600(0xf6)](_0x566c3a))return this[_0x12c600(0x45f)](),this[_0x12c600(0x1b2)][_0x12c600(0x4a8)](he,this[_0x12c600(0x46f)],this[_0x12c600(0x379)],this['_awaitingChangeset'],[],null,[_0x566c3a],this['_handler']);try{const _0x14693f=this['_transformService']['transformChangesets']([_0x566c3a],[this['_awaitingChangeset']],!0x1);if(_0x41dbbd(_0x14693f)){const {c1Prime:_0x50f863,c2Prime:_0x36ecf4}=_0x14693f;this['_executeRemoteChangeset'](_0x50f863[0x0]),_0x36ecf4[0x0]['baseRev']=this[_0x12c600(0x150)](),this[_0x12c600(0x45f)]();const _0x31a249=this[_0x12c600(0x1b2)]['createInstance'](Te,this[_0x12c600(0x46f)],this[_0x12c600(0x379)],_0x36ecf4[0x0],this[_0x12c600(0x4b9)]);return _0x31a249[_0x12c600(0x4ad)](),_0x31a249;}return this[_0x12c600(0x4a7)](!0x1);}catch(_0x407867){return this[_0x12c600(0x468)][_0x12c600(0x444)](_0x407867),this[_0x12c600(0x4a7)](!0x1);}}[_0x29d74e(0x2ae)](_0x1cbb36){const _0x4ee55a=_0x29d74e;this[_0x4ee55a(0x45f)]();const _0x115217=this[_0x4ee55a(0x136)][_0x4ee55a(0x3dd)](this[_0x4ee55a(0x46f)]);if(_0x1cbb36[_0x4ee55a(0x41b)]<_0x115217-0x1)return this;if(this['_checkMissing'](_0x1cbb36))return this[_0x4ee55a(0x1b2)][_0x4ee55a(0x4a8)](he,this[_0x4ee55a(0x46f)],this[_0x4ee55a(0x379)],null,[],this['_awaitingChangeset'],[],this[_0x4ee55a(0x4b9)]);this[_0x4ee55a(0x411)]();const _0x3e9dbc=this[_0x4ee55a(0x1b2)][_0x4ee55a(0x4a8)](Fe,this[_0x4ee55a(0x46f)],this[_0x4ee55a(0x379)],this[_0x4ee55a(0x4b9)]);return _0x3e9dbc[_0x4ee55a(0x4ad)](),_0x3e9dbc;}[_0x29d74e(0x3b8)](_0x4b8f6a){const _0x23e2a7=_0x29d74e;return this[_0x23e2a7(0x4a7)](!!(_0x4b8f6a!=null&&_0x4b8f6a['isPermissionRej']));}[_0x29d74e(0x140)](_0x3619cf){const _0x4e3d0d=_0x29d74e;return this[_0x4e3d0d(0x1df)]>Di?this[_0x4e3d0d(0x2aa)]():(this[_0x4e3d0d(0x1a3)]=wi(this[_0x4e3d0d(0x1df)],{'timeout':this[_0x4e3d0d(0x1df)],'reqId':_0x3619cf[_0x4e3d0d(0x293)]}),this[_0x4e3d0d(0x198)]=this[_0x4e3d0d(0x1a3)][_0x4e3d0d(0x3c2)](({reqId:_0x24d445,timeout:_0x237d50})=>{const _0x323902=_0x4e3d0d;this[_0x323902(0x3c7)](_0x24d445,_0x237d50);}),this);}[_0x29d74e(0x2aa)](){const _0x1e30d6=_0x29d74e;return this[_0x1e30d6(0x45f)](),this[_0x1e30d6(0x1b2)][_0x1e30d6(0x4a8)](ye,this[_0x1e30d6(0x46f)],this[_0x1e30d6(0x379)],this[_0x1e30d6(0x1c9)],[],this[_0x1e30d6(0x4b9)]);}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x460)](){const _0x4ae43a=_0x29d74e;this['_handler'][_0x4ae43a(0x462)](this['_awaitingChangeset']);}[_0x29d74e(0x4a7)](_0x2012c2){const _0x1a6d20=_0x29d74e;return this['_clearScheduledTask'](),this[_0x1a6d20(0x1b2)][_0x1a6d20(0x4a8)](Re,this[_0x1a6d20(0x46f)],this[_0x1a6d20(0x379)],this[_0x1a6d20(0x1c9)],[],this[_0x1a6d20(0x4b9)],_0x2012c2);}['_resendWithTimeout'](_0x29716a,_0x23e602){const _0x48ad69=_0x29d74e;var _0x37fc87;_0x29716a===((_0x37fc87=this['_awaitingChangeset'])==null?void 0x0:_0x37fc87[_0x48ad69(0x293)])&&(this['resend'](),this[_0x48ad69(0x1df)]=_0x23e602===0x0?0x3e8:_0x23e602*0x2);}['_clearScheduledTask'](){const _0x2a73db=_0x29d74e;var _0x1eb75c;(_0x1eb75c=this['_sender'])==null||_0x1eb75c[_0x2a73db(0x392)](),this['_resendTimeout']=0x0;}};Te=xe([A(0x4,_0x37efa2(_0x1e339b)),A(0x5,_0x37efa2(_0x405d92)),A(0x6,_0x37efa2(q)),A(0x7,_0xc41305),A(0x8,_0x2b335c),A(0x9,_0x4938c5),A(0xa,_0x17339c)],Te);let ge=class extends Le{constructor(_0x3815f7,_0x2bdb60,_0x5b3240,_0x262f0c,_0x35198c,_0x91b8c6,_0x145e3d,_0x45fa3c,_0x103710,_0xb4b83,_0x5a87b3,_0x3b4e67,_0x436bb7){const _0x1d8cc3=_0x29d74e;super(_0x3815f7,_0x2bdb60,_0x5b3240,_0x262f0c,_0x35198c,_0xb4b83,_0x436bb7,_0x45fa3c,_0x103710),g(this,_0x1d8cc3(0x4c7),'awaiting_with_pending'),g(this,_0x1d8cc3(0x1df),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x1d8cc3(0x1b2)]=_0x145e3d,this[_0x1d8cc3(0x468)]=_0x5a87b3,this[_0x1d8cc3(0x2f4)]=_0x3b4e67,_0x91b8c6&&(this[_0x1d8cc3(0x1a3)]=_0x91b8c6,this['_sender']=this[_0x1d8cc3(0x1a3)][_0x1d8cc3(0x3c2)](({reqId:_0x15ca99,timeout:_0x2fb685})=>{this['_resendWithTimeout'](_0x15ca99,_0x2fb685);})));}[_0x29d74e(0x232)](_0x55781f){const _0x29b77d=_0x29d74e;return this[_0x29b77d(0x233)]['push'](_0x55781f),this;}[_0x29d74e(0x45c)](_0x24037e){const _0x66c80=_0x29d74e;if(this[_0x66c80(0xf6)](_0x24037e))return this[_0x66c80(0x45f)](),this[_0x66c80(0x1b2)][_0x66c80(0x4a8)](he,this[_0x66c80(0x46f)],this[_0x66c80(0x379)],this[_0x66c80(0x1c9)],this[_0x66c80(0x233)],null,[_0x24037e],this['_handler']);try{const _0x13231d=this[_0x66c80(0x2f4)][_0x66c80(0x118)]([_0x24037e],[this['_awaitingChangeset']],!0x1);if(_0x41dbbd(_0x13231d)){const {c1Prime:_0x3ac213,c2Prime:_0x2d9b25}=_0x13231d,_0x7f3228=this['_transformService'][_0x66c80(0x4ca)](_0x3ac213[0x0],this['_pendingMutations']);if(_0x45440f(_0x7f3228)){const {c1Prime:_0x12c036,m2Prime:_0x26a9f5}=_0x7f3228;return this[_0x66c80(0x372)](_0x12c036),_0x2d9b25[0x0]['baseRev']=this[_0x66c80(0x150)](),this['_clearScheduledTask'](),this[_0x66c80(0x1b2)][_0x66c80(0x4a8)](ge,this['unitID'],this['type'],_0x2d9b25[0x0],_0x26a9f5,this[_0x66c80(0x4b9)],void 0x0);}throw _0x7f3228[_0x66c80(0x444)];}throw _0x13231d[_0x66c80(0x444)];}catch(_0x4e3426){return this['_logService'][_0x66c80(0x444)](_0x4e3426),this[_0x66c80(0x4a7)](!0x1);}}['onRemoteAck'](_0x1247c0){const _0xa77b59=_0x29d74e;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x1247c0))return this[_0xa77b59(0x1b2)][_0xa77b59(0x4a8)](he,this[_0xa77b59(0x46f)],this['type'],null,this[_0xa77b59(0x233)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x406db3=this[_0xa77b59(0x1b2)]['createInstance'](pe,this[_0xa77b59(0x46f)],this['type'],this[_0xa77b59(0x233)],this[_0xa77b59(0x4b9)]);return _0x406db3[_0xa77b59(0x446)](),_0x406db3[_0xa77b59(0x4ad)](),_0x406db3;}[_0x29d74e(0x3b8)](_0x3c5149){const _0x382350=_0x29d74e;return this[_0x382350(0x4a7)](!!(_0x3c5149!=null&&_0x3c5149[_0x382350(0x11d)]));}[_0x29d74e(0x140)](_0x8f9001){const _0x230693=_0x29d74e;return this[_0x230693(0x1df)]>Di?this[_0x230693(0x2aa)]():(this['_resendTimer']=wi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x8f9001[_0x230693(0x293)]}),this[_0x230693(0x198)]=this['_resendTimer'][_0x230693(0x3c2)](({reqId:_0x269448,timeout:_0x169c9e})=>{const _0x2867e1=_0x230693;this[_0x2867e1(0x3c7)](_0x269448,_0x169c9e);}),this);}[_0x29d74e(0x2aa)](){const _0x10bfee=_0x29d74e;return this['_clearScheduledTask'](),this[_0x10bfee(0x1b2)][_0x10bfee(0x4a8)](ye,this[_0x10bfee(0x46f)],this[_0x10bfee(0x379)],this[_0x10bfee(0x1c9)],this[_0x10bfee(0x233)],this[_0x10bfee(0x4b9)]);}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x460)](){const _0x5b3e27=_0x29d74e;this[_0x5b3e27(0x4b9)][_0x5b3e27(0x462)](this[_0x5b3e27(0x1c9)]);}[_0x29d74e(0x4a7)](_0x541b78){const _0x4da848=_0x29d74e;return this['_clearScheduledTask'](),this[_0x4da848(0x1b2)][_0x4da848(0x4a8)](Re,this[_0x4da848(0x46f)],this[_0x4da848(0x379)],null,this['_pendingMutations'],this[_0x4da848(0x4b9)],_0x541b78);}['_resendWithTimeout'](_0x961bdf,_0x3e35d7){const _0x400126=_0x29d74e;var _0x3bc1f1;_0x961bdf===((_0x3bc1f1=this['_awaitingChangeset'])==null?void 0x0:_0x3bc1f1['reqId'])&&(this['resend'](),this[_0x400126(0x1df)]=_0x3e35d7===0x0?0x3e8:_0x3e35d7*0x2);}[_0x29d74e(0x45f)](){const _0x1c5e44=_0x29d74e;var _0x3357cc;(_0x3357cc=this[_0x1c5e44(0x198)])==null||_0x3357cc['unsubscribe'](),this[_0x1c5e44(0x1df)]=0x0;}};ge=xe([A(0x6,_0x37efa2(_0x1e339b)),A(0x7,_0x37efa2(_0x405d92)),A(0x8,_0x37efa2(q)),A(0x9,_0xc41305),A(0xa,_0x2b335c),A(0xb,_0x4938c5),A(0xc,_0x17339c)],ge);let Re=class extends Le{constructor(_0x433c19,_0x20dc53,_0x456dff,_0x2dc412,_0x4e0fd1,_0x3c7531=!0x1,_0x10b2bb,_0x831995,_0x4d0bbc,_0x2b6e,_0x10be39,_0x37b554,_0x54cdba){const _0x5af259=_0x29d74e;super(_0x433c19,_0x20dc53,_0x456dff,_0x2dc412,_0x4e0fd1,_0x831995,_0x4d0bbc,_0x10be39,_0x2b6e),g(this,_0x5af259(0x4c7),_0x5af259(0x149)),(this['_isPermissionRej']=_0x3c7531,this['_permissionService']=_0x10b2bb,this[_0x5af259(0xef)]=_0x37b554,this[_0x5af259(0x1f3)]=_0x54cdba,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x5af259(0x43f)]());}[_0x29d74e(0x232)](){return this;}[_0x29d74e(0x45c)](){return this;}[_0x29d74e(0x2ae)](){return this;}['onRemoteRej'](){return this;}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){return this;}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x460)](){const _0x1df77f=_0x29d74e;throw new Error(_0x1df77f(0x17e));}[_0x29d74e(0x24d)](){const _0x397a85=_0x29d74e;this[_0x397a85(0x2c9)][_0x397a85(0x256)](this['unitID'],this[_0x397a85(0x379)],null,[]);}['_showConflictNotification'](){const _0x1e62ee=_0x29d74e;this['_isPermissionRej']?this[_0x1e62ee(0x1f3)][_0x1e62ee(0x116)]({'title':this['_localeService']['t'](_0x1e62ee(0x2ff)),'content':this[_0x1e62ee(0xef)]['t'](_0x1e62ee(0x20f)),'type':_0x1e62ee(0x444),'duration':0x0}):this['_notificationService'][_0x1e62ee(0x116)]({'title':this[_0x1e62ee(0xef)]['t']('conflict.title'),'content':this[_0x1e62ee(0xef)]['t'](_0x1e62ee(0x31b)),'type':'error','duration':0x0});}['_disableEditing'](){const _0x193b1d=_0x29d74e;this['_permissionService'][_0x193b1d(0x273)](new _0x3399e3(this[_0x193b1d(0x46f)])['id'],!0x1);}};Re=xe([A(0x6,_0x37efa2(_0x1776e5)),A(0x7,_0xc41305),A(0x8,_0x17339c),A(0x9,_0x37efa2(q)),A(0xa,_0x37efa2(_0x405d92)),A(0xb,_0x37efa2(_0x10be55)),A(0xc,_0x4a1a82)],Re);let ye=class extends Le{constructor(_0x313df3,_0x51a3e8,_0x4e3e00,_0x14fff8,_0x1c5ed6,_0x26fa55,_0x536703,_0x2bb7de,_0x4196b2,_0x18759c){const _0x23e900=_0x29d74e;super(_0x313df3,_0x51a3e8,_0x4e3e00,_0x14fff8,_0x1c5ed6,_0x4196b2,_0x18759c,_0x536703,_0x2bb7de),g(this,_0x23e900(0x4c7),_0x23e900(0x237)),this[_0x23e900(0x1b2)]=_0x26fa55;}[_0x29d74e(0x232)](_0x6b146f){const _0x3454e5=_0x29d74e;return this[_0x3454e5(0x233)]['push'](_0x6b146f),this[_0x3454e5(0x4ad)](),this;}['onRemoteChangeset'](_0x5100e6){const _0x5ca7de=_0x29d74e;throw new Error(_0x5ca7de(0x1a7));}[_0x29d74e(0x2ae)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x29d74e(0x3b8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){return this;}['toggleOnline'](){const _0x5a30ce=_0x29d74e,{_injector:_0x5b1770,_pendingMutations:_0xa78253,_awaitingChangeset:_0x5c0292,unitID:_0xf91f46,_handler:_0x4fa759,type:_0x9204ae}=this,_0xd032bd=Pi(_0x5b1770,_0xf91f46,_0x9204ae,_0x5c0292,_0xa78253,_0x4fa759);return _0xd032bd instanceof pe?_0xd032bd[_0x5a30ce(0x446)]():(_0xd032bd instanceof ge||_0xd032bd instanceof Te)&&_0xd032bd[_0x5a30ce(0x460)](),_0xd032bd;}[_0x29d74e(0x460)](){const _0x19589b=_0x29d74e;throw new Error(_0x19589b(0x196));}};ye=xe([A(0x5,_0x37efa2(_0x1e339b)),A(0x6,_0x37efa2(_0x405d92)),A(0x7,_0x37efa2(q)),A(0x8,_0xc41305),A(0x9,_0x17339c)],ye);let he=class extends Le{constructor(_0x505d39,_0x5437bf,_0x26809a,_0x1cc408,_0x242def,_0x566482,_0x558928,_0x4b39d5,_0x1f23aa,_0x9f6738,_0x45b83c,_0xcfb56e,_0x4a527a,_0x5a8ccc){const _0x2f7527=_0x29d74e;super(_0x505d39,_0x5437bf,_0x26809a,_0x1cc408,_0x558928,_0xcfb56e,_0x4a527a,_0x1f23aa,_0x9f6738),g(this,_0x2f7527(0x4c7),_0x2f7527(0x1ba)),(this[_0x2f7527(0x3ea)]=_0x242def,this[_0x2f7527(0x1d1)]=_0x566482,this['_injector']=_0x4b39d5,this['_logService']=_0x45b83c,this[_0x2f7527(0x2f4)]=_0x5a8ccc);}['onMissedChangesetFetched'](_0x563dce){const _0x4904bc=_0x29d74e;try{const _0x1cb9fa=[..._0x563dce,...this[_0x4904bc(0x1d1)]],_0x3775d0=[this[_0x4904bc(0x1c9)]||this[_0x4904bc(0x3ea)]][_0x4904bc(0x135)](_0x3bde3d=>!!_0x3bde3d);let _0x500f03,_0x1c2994;if(_0x3775d0[_0x4904bc(0x400)]){const _0x394cfb=this['_transformService']['transformChangesets'](_0x1cb9fa,_0x3775d0,!0x1);if(!_0x41dbbd(_0x394cfb))throw _0x394cfb[_0x4904bc(0x444)];_0x500f03=_0x394cfb[_0x4904bc(0x147)],_0x1c2994=_0x394cfb[_0x4904bc(0x1cd)];}else _0x500f03=_0x1cb9fa,_0x1c2994=[];let _0x3d84eb=this[_0x4904bc(0x233)];_0x500f03[_0x4904bc(0x2d5)](_0x1aeec9=>{const _0x2f9c9e=_0x4904bc;let _0x123748;if(_0x3d84eb[_0x2f9c9e(0x400)]){const _0x121be9=this[_0x2f9c9e(0x2f4)][_0x2f9c9e(0x4ca)](_0x1aeec9,_0x3d84eb);if(!_0x45440f(_0x121be9))throw _0x121be9[_0x2f9c9e(0x444)];_0x123748=_0x121be9[_0x2f9c9e(0x147)],_0x3d84eb=_0x121be9[_0x2f9c9e(0x36b)];}else _0x123748=_0x1aeec9;this[_0x2f9c9e(0x372)](_0x123748);}),this[_0x4904bc(0x3ea)]&&this[_0x4904bc(0x411)](),this['_awaitingChangeset']&&_0x1c2994[_0x4904bc(0x400)]&&(_0x1c2994[0x0][_0x4904bc(0x3f6)]=this[_0x4904bc(0x150)]());let _0x180a4c;if(this[_0x4904bc(0x1c9)]&&_0x3d84eb[_0x4904bc(0x400)]!==0x0)_0x180a4c=this['_injector'][_0x4904bc(0x4a8)](ge,this['unitID'],this[_0x4904bc(0x379)],_0x1c2994[0x0],_0x3d84eb,this['_handler'],void 0x0);else{if(this[_0x4904bc(0x1c9)]&&_0x3d84eb[_0x4904bc(0x400)]===0x0)_0x1c2994[0x0][_0x4904bc(0x3f6)]=this[_0x4904bc(0x150)](),_0x180a4c=this[_0x4904bc(0x1b2)][_0x4904bc(0x4a8)](Te,this['unitID'],this['type'],_0x1c2994[0x0],this[_0x4904bc(0x4b9)]);else{if(_0x3d84eb[_0x4904bc(0x400)]!==0x0){const _0x392fa9=this[_0x4904bc(0x1b2)][_0x4904bc(0x4a8)](pe,this[_0x4904bc(0x46f)],this['type'],_0x3d84eb,this[_0x4904bc(0x4b9)]);_0x392fa9[_0x4904bc(0x446)](),_0x180a4c=_0x392fa9;}else _0x180a4c=this[_0x4904bc(0x1b2)][_0x4904bc(0x4a8)](Fe,this['unitID'],this[_0x4904bc(0x379)],this['_handler']);}}return _0x180a4c[_0x4904bc(0x4ad)](),_0x180a4c;}catch(_0x12bb2d){return this['_logService'][_0x4904bc(0x444)]('[FetchMissState]',_0x4904bc(0x22e),_0x12bb2d),this['_injector']['createInstance'](Re,this[_0x4904bc(0x46f)],this[_0x4904bc(0x379)],this[_0x4904bc(0x1c9)],this[_0x4904bc(0x233)],this[_0x4904bc(0x4b9)],!0x1);}}[_0x29d74e(0x460)](){const _0x25d10f=_0x29d74e;throw new Error(_0x25d10f(0x2bd));}[_0x29d74e(0x232)](_0x2a5b52){const _0x102ad8=_0x29d74e;return this[_0x102ad8(0x233)][_0x102ad8(0x183)](_0x2a5b52),this;}['onRemoteChangeset'](_0x30232d){const _0x5e3e9e=_0x29d74e;return this[_0x5e3e9e(0x1d1)][_0x5e3e9e(0x183)](_0x30232d),this;}[_0x29d74e(0x2ae)](_0x218cc8){const _0x260920=_0x29d74e;if(this['_awaitingChangeset'])return this[_0x260920(0x3ea)]=this[_0x260920(0x1c9)],this[_0x260920(0x1c9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x29d74e(0x3b8)](_0x45969a){const _0x5fad58=_0x29d74e;return this['_onConflict'](!!(_0x45969a!=null&&_0x45969a[_0x5fad58(0x11d)]));}[_0x29d74e(0x140)](){return this;}[_0x29d74e(0x2aa)](){const _0x5b32e8=_0x29d74e;return this[_0x5b32e8(0x1b2)][_0x5b32e8(0x4a8)](ye,this[_0x5b32e8(0x46f)],this[_0x5b32e8(0x379)],this[_0x5b32e8(0x1c9)],this[_0x5b32e8(0x233)],this[_0x5b32e8(0x4b9)]);}[_0x29d74e(0x3cc)](){return this;}[_0x29d74e(0x4a7)](_0x3e858c){const _0x467f1a=_0x29d74e;return this[_0x467f1a(0x1b2)][_0x467f1a(0x4a8)](Re,this[_0x467f1a(0x46f)],this[_0x467f1a(0x379)],this['_awaitingChangeset'],this[_0x467f1a(0x233)],this['_handler'],_0x3e858c);}};he=xe([A(0x7,_0x37efa2(_0x1e339b)),A(0x8,_0x37efa2(_0x405d92)),A(0x9,_0x37efa2(q)),A(0xa,_0x2b335c),A(0xb,_0xc41305),A(0xc,_0x17339c),A(0xd,_0x4938c5)],he);function Pi(_0x62948d,_0x2c23ee,_0x1f59dd,_0x52942e,_0x3544fc,_0xcbf36){const _0x5f4a7b=_0x29d74e;return _0x52942e&&_0x3544fc[_0x5f4a7b(0x400)]?_0x62948d['createInstance'](ge,_0x2c23ee,_0x1f59dd,_0x52942e,_0x3544fc,_0xcbf36,void 0x0):_0x52942e?_0x62948d[_0x5f4a7b(0x4a8)](Te,_0x2c23ee,_0x1f59dd,_0x52942e,_0xcbf36):_0x3544fc['length']?_0x62948d[_0x5f4a7b(0x4a8)](pe,_0x2c23ee,_0x1f59dd,_0x3544fc,_0xcbf36):_0x62948d[_0x5f4a7b(0x4a8)](Fe,_0x2c23ee,_0x1f59dd,_0xcbf36);}var vo=Object[_0x29d74e(0x229)],mo=Object[_0x29d74e(0x494)],Is=(_0x16f38b,_0x12dd17,_0x545821,_0x452188)=>{const _0x5d2b67=_0x29d74e;for(var _0x472602=_0x452188>0x1?void 0x0:_0x452188?mo(_0x12dd17,_0x545821):_0x12dd17,_0x132f75=_0x16f38b[_0x5d2b67(0x400)]-0x1,_0x12c628;_0x132f75>=0x0;_0x132f75--)(_0x12c628=_0x16f38b[_0x132f75])&&(_0x472602=(_0x452188?_0x12c628(_0x12dd17,_0x545821,_0x472602):_0x12c628(_0x472602))||_0x472602);return _0x452188&&_0x472602&&vo(_0x12dd17,_0x545821,_0x472602),_0x472602;},H=(_0x3eaec6,_0x3d29ea)=>(_0x4618b9,_0x2276a0)=>_0x3d29ea(_0x4618b9,_0x2276a0,_0x3eaec6);let gt=class extends _0x44a670{constructor(_0x22de51,_0x5c8e38,_0x240c1b,_0x4a5c13,_0xb74d17,_0x495293,_0x28bdb1,_0xde9e0c,_0x5acee1,_0x20cd9c,_0x40445d,_0x27d8fe,_0x474244){const _0x23bc5b=_0x29d74e;super(),g(this,_0x23bc5b(0x464),new _0x260ce9(null)),g(this,_0x23bc5b(0x20d),this[_0x23bc5b(0x464)][_0x23bc5b(0x10f)]()),g(this,_0x23bc5b(0x491)),g(this,_0x23bc5b(0x15b),!0x1),g(this,'_changesetSessionId',''),g(this,_0x23bc5b(0x3c4),0x0),g(this,_0x23bc5b(0x14e),this['state$'][_0x23bc5b(0x472)](_0x1a4470(_0x24e316=>_0x24e316?_0x24e316[_0x23bc5b(0x4c7)]:J['OFFLINE']),_0x304e5f(0x1))),g(this,_0x23bc5b(0x45b),!0x1),g(this,_0x23bc5b(0x422),[]),(this[_0x23bc5b(0x46f)]=_0x22de51,this[_0x23bc5b(0x2b3)]=_0x5c8e38,this[_0x23bc5b(0x478)]=_0x240c1b,this[_0x23bc5b(0x1b2)]=_0x4a5c13,this[_0x23bc5b(0x2c9)]=_0xb74d17,this['_compressMutationService']=_0x495293,this[_0x23bc5b(0xef)]=_0x28bdb1,this[_0x23bc5b(0x136)]=_0xde9e0c,this[_0x23bc5b(0x468)]=_0x5acee1,this['_commandService']=_0x20cd9c,this[_0x23bc5b(0x3fc)]=_0x40445d,this[_0x23bc5b(0x281)]=_0x27d8fe,this[_0x23bc5b(0x1f2)]=_0x474244);}get['state'](){const _0x1eb3ec=_0x29d74e;return this[_0x1eb3ec(0x491)];}async[_0x29d74e(0x3b9)](){const _0x2f100a=_0x29d74e;if(this[_0x2f100a(0x374)])throw new Error(_0x2f100a(0x489));await this[_0x2f100a(0x27d)]();}[_0x29d74e(0x23b)](){const _0x537cea=_0x29d74e;return this[_0x537cea(0x15b)]=!0x0,_0x3dbac0(()=>{const _0x5874e7=_0x537cea;this[_0x5874e7(0x15b)]=!0x1,this[_0x5874e7(0x31a)]();});}['_updateState'](_0x385eb8){const _0x1b07e3=_0x29d74e;this[_0x1b07e3(0x491)]=_0x385eb8,this[_0x1b07e3(0x464)][_0x1b07e3(0x175)](_0x385eb8);}async[_0x29d74e(0x27d)](){const _0x1097d6=_0x29d74e;var _0x358623;this[_0x1097d6(0x39a)](await this[_0x1097d6(0x35a)]()),this['_singleActiveUnitService']&&((_0x358623=this[_0x1097d6(0x1f2)])==null||_0x358623[_0x1097d6(0x1c0)](this[_0x1097d6(0x46f)]),this['disposeWithMe'](this[_0x1097d6(0x1f2)][_0x1097d6(0x2d9)](this[_0x1097d6(0x46f)])['subscribe'](_0x5e1d82=>{const _0x33b56f=_0x1097d6;this[_0x33b56f(0x468)][_0x33b56f(0x3a2)](_0x33b56f(0x289),_0x33b56f(0x2e6),_0x5e1d82),_0x5e1d82===yi['OTHER_CLIENTS_EDITING']?(this[_0x33b56f(0x3fc)][_0x33b56f(0x116)]({'content':this[_0x33b56f(0xef)]['t'](_0x33b56f(0x120)),'type':_0x5b9771[_0x33b56f(0x22d)]}),this['_permissionService'][_0x33b56f(0x273)](new _0x3399e3(this[_0x33b56f(0x46f)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x33b56f(0x281)][_0x33b56f(0x273)](new _0x3399e3(this[_0x33b56f(0x46f)])['id'],!0x0),this['_permissionService'][_0x33b56f(0x161)](!0x0));})));let _0x36ea28=!0x1;return this['disposeWithMe'](this[_0x1097d6(0x2b3)][_0x1097d6(0x1db)][_0x1097d6(0x3c2)](_0xadb9e0=>{const _0x2d6868=_0x1097d6;_0xadb9e0===ve['ONLINE']?this[_0x2d6868(0x431)](_0x36ea28):_0xadb9e0===ve['OFFLINE']&&(_0x36ea28=!0x0,this[_0x2d6868(0x3ac)]());})),this['disposeWithMe'](this['session'][_0x1097d6(0x2a1)]['subscribe'](_0x73c4b5=>{const _0x587639=_0x1097d6;try{switch(_0x73c4b5[_0x587639(0x167)]){case _0x1030bd[_0x587639(0x4d5)]:{this[_0x587639(0x2e0)](_0x47af05(_0x73c4b5[_0x587639(0x1da)]));break;}case _0x1030bd[_0x587639(0x3f3)]:{this[_0x587639(0x3e3)](_0x73c4b5[_0x587639(0x1da)]);break;}case _0x1030bd[_0x587639(0x180)]:{this[_0x587639(0x26a)]();break;}case _0x1030bd[_0x587639(0x21a)]:{this[_0x587639(0x45e)](_0x73c4b5['data']);break;}case _0x1030bd[_0x587639(0x288)]:{this['_onFetchMissResult'](_0x73c4b5[_0x587639(0x1da)][_0x587639(0x445)][_0x587639(0x319)](_0x5584e8=>_0x47af05(_0x5584e8)));break;}case _0x1030bd[_0x587639(0x11b)]:this[_0x587639(0x26a)]({'isPermissionRej':!0x0});}}catch(_0x5a2184){throw console['error'](_0x587639(0x30b),_0x5a2184),_0x5a2184;}})),this[_0x1097d6(0x491)];}['_unlockTransition'](){const _0x13960b=_0x29d74e;this[_0x13960b(0x45b)]=!0x1;}[_0x29d74e(0x133)](){const _0x3effd1=_0x29d74e;if(this[_0x3effd1(0x45b)])throw new Error(_0x3effd1(0x174));this[_0x3effd1(0x45b)]=!0x0;}[_0x29d74e(0x4c8)](_0x1c8502){const _0x4b0c74=_0x29d74e;this['_lockTransition'](),this['_updateState'](this[_0x4b0c74(0x491)][_0x4b0c74(0x232)](_0x1c8502)),this[_0x4b0c74(0x132)]();}[_0x29d74e(0x2e0)](_0xa1448d){const _0x33b46f=_0x29d74e;if(!(_0xa1448d[_0x33b46f(0x41b)]<=this[_0x33b46f(0x136)][_0x33b46f(0x3dd)](this[_0x33b46f(0x46f)]))){if(this[_0x33b46f(0x15b)]){this[_0x33b46f(0x422)][_0x33b46f(0x183)](_0xa1448d);return;}this[_0x33b46f(0x35b)](_0xa1448d);}}[_0x29d74e(0x31a)](){const _0x3c1ac3=_0x29d74e;this['_remoteChangesetQueue'][_0x3c1ac3(0x2d5)](_0x23a728=>this[_0x3c1ac3(0x35b)](_0x23a728)),this[_0x3c1ac3(0x422)]=[];}[_0x29d74e(0x35b)](_0x45158d){const _0x3511c3=_0x29d74e,_0x19e4df=this[_0x3511c3(0x3fb)][_0x3511c3(0x4a1)]['fetchThroughInterceptors'](this[_0x3511c3(0x3fb)][_0x3511c3(0x4a1)][_0x3511c3(0x391)]()[_0x3511c3(0x253)])(_0x45158d[_0x3511c3(0x3cd)],null)||_0x45158d['mutations'],_0x54af59={..._0x45158d,'mutations':_0x19e4df};this[_0x3511c3(0x133)](),this[_0x3511c3(0x39a)](this[_0x3511c3(0x491)][_0x3511c3(0x45c)](_0x54af59)),this[_0x3511c3(0x132)]();}[_0x29d74e(0x3e3)](_0x285043){const _0x1ed4b5=_0x29d74e;this[_0x1ed4b5(0x133)](),this['_updateState'](this['_state'][_0x1ed4b5(0x2ae)](_0x285043)),this['_unlockTransition']();}[_0x29d74e(0x26a)](_0x3cd15a){const _0x2667c8=_0x29d74e;this[_0x2667c8(0x133)](),this['_updateState'](this['_state'][_0x2667c8(0x3b8)](_0x3cd15a)),this[_0x2667c8(0x132)]();}[_0x29d74e(0x45e)](_0x92fea3){const _0x5b8e94=_0x29d74e;this[_0x5b8e94(0x133)](),this[_0x5b8e94(0x39a)](this[_0x5b8e94(0x491)]['onRemoteRetry'](_0x92fea3)),this['_unlockTransition']();}['_onFetchMissResult'](_0x395862){const _0xe553f9=_0x29d74e;if(!(this['_state']instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xbe4195=_0x395862[_0xe553f9(0x319)](_0x3a0644=>{const _0x115c66=_0xe553f9,_0x31d86e=this[_0x115c66(0x3fb)]['interceptor'][_0x115c66(0x241)](this[_0x115c66(0x3fb)][_0x115c66(0x4a1)][_0x115c66(0x391)]()['COMPRESS_MUTATION_APPLY'])(_0x3a0644[_0x115c66(0x3cd)],null)||_0x3a0644['mutations'];return{..._0x3a0644,'mutations':_0x31d86e};});this['_lockTransition'](),this[_0xe553f9(0x39a)](this['_state'][_0xe553f9(0x1f7)](_0xbe4195)),this[_0xe553f9(0x132)]();}['_toggleOffline'](){const _0x5e1e30=_0x29d74e;this[_0x5e1e30(0x133)](),this[_0x5e1e30(0x39a)](this[_0x5e1e30(0x491)]['toggleOffline']()),this['_unlockTransition']();}[_0x29d74e(0x431)](_0x31af86=!0x1){const _0x4743cc=_0x29d74e;this[_0x4743cc(0x133)](),this[_0x4743cc(0x39a)](this[_0x4743cc(0x491)][_0x4743cc(0x3cc)]()),this[_0x4743cc(0x132)]();const _0x38a84f=this['_state'];_0x31af86&&_0x38a84f instanceof Fe&&(this[_0x4743cc(0x133)](),this[_0x4743cc(0x39a)](_0x38a84f[_0x4743cc(0x4b5)]()),this[_0x4743cc(0x132)]());}async[_0x29d74e(0x35a)](){return new Promise(_0x5f4265=>{const _0x5c0a58=_0x2ea9;this[_0x5c0a58(0x2b3)][_0x5c0a58(0x1db)]['pipe'](_0x5d9d63(0x1))[_0x5c0a58(0x3c2)](async _0x57b445=>{const _0xac497e=_0x5c0a58;_0x5f4265(await this['_createInitialStateImpl'](_0x57b445===ve[_0xac497e(0x20b)]));});});}[_0x29d74e(0x2d6)](){const _0x32aa62=this['unitID'];return{'onStateChange':(_0x1771af,_0x2a9ad5)=>{const _0x5caa8a=_0x2ea9;if(_0x1771af!==this[_0x5caa8a(0x491)])throw new Error(_0x5caa8a(0x317)+_0x1771af['status']+'\x0aAfter:\x20'+_0x2a9ad5[_0x5caa8a(0x4c7)]+_0x5caa8a(0x249)+this[_0x5caa8a(0x491)]['status']);this['_updateState'](_0x2a9ad5);},'onSendChangeset':_0x307115=>{const _0x30e096=_0x2ea9;_0x307115[_0x30e096(0x4a2)]||(_0x307115[_0x30e096(0x4a2)]=this[_0x30e096(0x26e)],_0x307115[_0x30e096(0x293)]=++this['_changesetReqId']);const _0xd4c9a9={'eventID':_0x1030bd[_0x30e096(0x1ce)],'data':{'unitID':_0x307115[_0x30e096(0x46f)],'unitType':this[_0x30e096(0x478)],'changeset':_0x307115,'memberID':this[_0x30e096(0x2b3)][_0x30e096(0x2fc)]()}};this['session'][_0x30e096(0x3e2)](_0xd4c9a9,this[_0x30e096(0x46f)]);},'onMissingChangesets':({from:_0x39dc54,to:_0x425410})=>{const _0x2eff99=_0x2ea9;this[_0x2eff99(0x468)][_0x2eff99(0x3a2)](_0x2eff99(0x289),_0x2eff99(0x47d)+_0x39dc54+'\x20to\x20'+_0x425410);const _0x17300f={'eventID':_0x1030bd[_0x2eff99(0x30c)],'data':{'unitID':_0x32aa62,'unitType':this[_0x2eff99(0x478)],'from':_0x39dc54,'to':_0x425410}};this[_0x2eff99(0x2b3)][_0x2eff99(0x3e2)](_0x17300f,this[_0x2eff99(0x46f)]);}};}async['_createInitialStateImpl'](_0x3ecbcf){const _0x4bc01e=_0x29d74e;var _0x5ae42f,_0x13da75;const _0x24c6a1=await this['_localCacheService'][_0x4bc01e(0x336)](this[_0x4bc01e(0x46f)]),_0x405f14=(_0x5ae42f=_0x24c6a1==null?void 0x0:_0x24c6a1[_0x4bc01e(0x3cd)])!=null?_0x5ae42f:[],_0x567747=(_0x13da75=_0x24c6a1==null?void 0x0:_0x24c6a1[_0x4bc01e(0x355)])!=null?_0x13da75:null,_0xb491c7=!!(_0x567747!=null&&_0x567747[_0x4bc01e(0x4a2)])&&!!(_0x567747!=null&&_0x567747[_0x4bc01e(0x293)]);this[_0x4bc01e(0x26e)]=_0xb491c7?_0x567747[_0x4bc01e(0x4a2)]:Vr(),this[_0x4bc01e(0x3c4)]=_0xb491c7?_0x567747[_0x4bc01e(0x293)]:0x0;const _0x8a737f=this[_0x4bc01e(0x46f)];try{this[_0x4bc01e(0x16b)](_0x567747,_0x405f14);}catch(_0x5afe00){this[_0x4bc01e(0x468)][_0x4bc01e(0x444)](_0x5afe00);}const _0x4296f6=this['_createHandler']();if(_0x3ecbcf){const _0xc1dc4a=Pi(this['_injector'],_0x8a737f,this[_0x4bc01e(0x478)],_0x567747,_0x405f14,_0x4296f6);return _0xc1dc4a instanceof pe?_0xc1dc4a[_0x4bc01e(0x446)]():(_0xc1dc4a instanceof ge||_0xc1dc4a instanceof Te)&&_0xc1dc4a['resend'](),_0xc1dc4a;}return this[_0x4bc01e(0x1b2)][_0x4bc01e(0x4a8)](ye,_0x8a737f,this[_0x4bc01e(0x478)],_0x567747,_0x405f14,_0x4296f6);}['_replayCachedMutations'](_0x42c060,_0x5168c0){const _0x1556af=_0x29d74e;var _0x497a0e,_0x511366;const _0x336c81=this['_compressMutationService'][_0x1556af(0x4a1)][_0x1556af(0x241)](this['_compressMutationService'][_0x1556af(0x4a1)][_0x1556af(0x391)]()[_0x1556af(0x253)]);(_0x497a0e=_0x336c81((_0x42c060==null?void 0x0:_0x42c060[_0x1556af(0x3cd)])||[],null))==null||_0x497a0e[_0x1556af(0x2d5)](_0x23e6c2=>this['_commandService'][_0x1556af(0x33d)](_0x23e6c2['id'],_0x23e6c2[_0x1556af(0x38f)])),(_0x511366=_0x336c81(_0x5168c0||[],null))==null||_0x511366[_0x1556af(0x2d5)](_0x1b1c91=>this[_0x1556af(0x4eb)][_0x1556af(0x33d)](_0x1b1c91['id'],_0x1b1c91[_0x1556af(0x38f)]));}};gt=Is([H(0x3,_0x37efa2(_0x1e339b)),H(0x4,_0x37efa2(q)),H(0x5,_0x37efa2(_0x1a17bf)),H(0x6,_0x37efa2(_0x10be55)),H(0x7,_0x37efa2(_0x405d92)),H(0x8,_0x2b335c),H(0x9,_0xc41305),H(0xa,_0xcca842),H(0xb,_0x1776e5),H(0xc,_0x4e2ed1(Rt))],gt);let es=class extends gt{constructor(_0x5ddb5d,_0x456d83,_0x58f14a,_0x2bd6d1,_0xa7f7e9,_0x2c591f,_0x262460,_0xd7c7c4,_0x4fb1b7,_0x97ff73,_0x1af1fb,_0x54ac08,_0x4f5eaa,_0x5cfdf0,_0x182d12,_0x157ad9,_0x25e5f4,_0x4764e2){const _0x785200=_0x29d74e;super(_0x5ddb5d,_0x58f14a,_0x456d83,_0x2bd6d1,_0xa7f7e9,_0x2c591f,_0x262460,_0xd7c7c4,_0x5cfdf0,_0x182d12,_0x157ad9,_0x25e5f4,_0x4764e2),this[_0x785200(0x46f)]=_0x5ddb5d,this[_0x785200(0x379)]=_0x456d83,this[_0x785200(0x4d6)]=_0x4fb1b7,this[_0x785200(0x205)]=_0x97ff73,this[_0x785200(0x360)]=_0x1af1fb,this[_0x785200(0x2dc)]=_0x54ac08,this[_0x785200(0x20e)]=_0x4f5eaa;}[_0x29d74e(0x2d6)](){const _0x2f968b=_0x29d74e,_0x14c2b4=super['_createHandler']();return _0x14c2b4[_0x2f968b(0x2f5)]=_0x48bc60=>this['_docTransformIMECacheService'][_0x2f968b(0x1b3)](_0x48bc60),_0x14c2b4[_0x2f968b(0x407)]=_0x5914bd=>this[_0x2f968b(0x360)][_0x2f968b(0x497)](_0x5914bd),_0x14c2b4[_0x2f968b(0x1e8)]=_0x504815=>this[_0x2f968b(0x2dc)][_0x2f968b(0x3b7)](_0x504815),_0x14c2b4[_0x2f968b(0x14a)]=_0xcdccf7=>this[_0x2f968b(0x20e)][_0x2f968b(0x3f0)](_0xcdccf7),_0x14c2b4[_0x2f968b(0x439)]=_0x2f83b3=>this[_0x2f968b(0x205)]['transformRemoteChangeset'](_0x2f83b3),_0x14c2b4['onTransformRemoteChangesetByStateCache']=_0x4b4f46=>this['_docTransformStateCacheService'][_0x2f968b(0x154)](_0x4b4f46),_0x14c2b4;}async[_0x29d74e(0x27d)](){const _0x43d2e9=_0x29d74e,_0xca923b=await super[_0x43d2e9(0x27d)]();return this[_0x43d2e9(0x4d6)][_0x43d2e9(0x3ca)][_0x43d2e9(0x472)](_0xb0a601(this[_0x43d2e9(0x201)]))[_0x43d2e9(0x3c2)](_0x1f8a1f=>{const _0x578c8c=_0x43d2e9;if(_0x1f8a1f==null)return;const {unitId:_0xdcfe62,redoState:_0x3efa8b,commandId:_0x15c6db}=_0x1f8a1f;if(_0xdcfe62!==this[_0x578c8c(0x46f)])return;const _0x448020={'id':_0x15c6db,'type':_0x46699b[_0x578c8c(0x369)],'params':{'unitId':_0xdcfe62,'actions':_0x3efa8b[_0x578c8c(0x35e)],'textRanges':null}};this[_0x578c8c(0x4c8)](_0x448020);}),_0xca923b;}};es=Is([H(0x3,_0x37efa2(_0x1e339b)),H(0x4,_0x37efa2(q)),H(0x5,_0x37efa2(_0x1a17bf)),H(0x6,_0x37efa2(_0x10be55)),H(0x7,_0x37efa2(_0x405d92)),H(0x8,_0x37efa2(_0x138bd8)),H(0x9,_0x37efa2(ft)),H(0xa,_0x37efa2(mt)),H(0xb,_0x37efa2(pt)),H(0xc,_0x37efa2(Ss)),H(0xd,_0x2b335c),H(0xe,_0xc41305),H(0xf,_0xcca842),H(0x10,_0x1776e5),H(0x11,_0x4e2ed1(Rt))],es);let ts=class extends gt{constructor(_0xdcce6d,_0x50ea3a,_0x106314,_0x75ffea,_0x1dd1a3,_0x361f51,_0x18c751,_0x508e5d,_0x1f35af,_0x506bca,_0xdbdaa4,_0xef4daa,_0x4a7049,_0x405f5e){const _0x135504=_0x29d74e;super(_0xdcce6d,_0x106314,_0x50ea3a,_0x75ffea,_0x1dd1a3,_0x361f51,_0x18c751,_0x508e5d,_0x506bca,_0xdbdaa4,_0xef4daa,_0x4a7049,_0x405f5e),this[_0x135504(0x46f)]=_0xdcce6d,this[_0x135504(0x379)]=_0x50ea3a,this['_sheetTransformSelectionsService']=_0x1f35af;}['_createHandler'](){const _0x5bcb77=_0x29d74e,_0x26f540=super['_createHandler']();return _0x26f540['onTransformSelections']=_0x596079=>this[_0x5bcb77(0x1f5)][_0x5bcb77(0x3b7)](_0x596079),_0x26f540;}async['_init'](){const _0x54287b=_0x29d74e,_0x4dabb0=await super[_0x54287b(0x27d)]();return this[_0x54287b(0x3d0)](this[_0x54287b(0x4eb)]['onCommandExecuted']((_0x304c73,_0x1f4ddd)=>{const _0x1c38f6=_0x54287b;if(_0x304c73[_0x1c38f6(0x379)]!==_0x46699b['MUTATION']||_0x1f4ddd!=null&&_0x1f4ddd[_0x1c38f6(0x15f)]||_0x1f4ddd!=null&&_0x1f4ddd['onlyLocal'])return;const _0x166e90=_0x304c73[_0x1c38f6(0x38f)];if((_0x166e90==null?void 0x0:_0x166e90[_0x1c38f6(0x146)])!==this['unitID'])return;const _0x33170f=_0x304c73,_0x573836=this[_0x1c38f6(0x3fb)][_0x1c38f6(0x4a1)][_0x1c38f6(0x241)](this['_compressMutationService'][_0x1c38f6(0x4a1)][_0x1c38f6(0x391)]()[_0x1c38f6(0x398)])([_0x33170f],null)||[_0x33170f];this[_0x1c38f6(0x4c8)](_0x573836[0x0]);})),_0x4dabb0;}};ts=Is([H(0x3,_0x37efa2(_0x1e339b)),H(0x4,_0x37efa2(q)),H(0x5,_0x37efa2(_0x1a17bf)),H(0x6,_0x37efa2(_0x10be55)),H(0x7,_0x37efa2(_0x405d92)),H(0x8,_0x37efa2(vt)),H(0x9,_0x2b335c),H(0xa,_0xc41305),H(0xb,_0xcca842),H(0xc,_0x1776e5),H(0xd,_0x4e2ed1(Rt))],ts);var po=Object[_0x29d74e(0x229)],go=Object[_0x29d74e(0x494)],So=(_0x9ca903,_0x92cfae,_0x15da74,_0x5a12b6)=>{const _0x586a6c=_0x29d74e;for(var _0x1893d4=_0x5a12b6>0x1?void 0x0:_0x5a12b6?go(_0x92cfae,_0x15da74):_0x92cfae,_0x2bcad4=_0x9ca903[_0x586a6c(0x400)]-0x1,_0x401fb8;_0x2bcad4>=0x0;_0x2bcad4--)(_0x401fb8=_0x9ca903[_0x2bcad4])&&(_0x1893d4=(_0x5a12b6?_0x401fb8(_0x92cfae,_0x15da74,_0x1893d4):_0x401fb8(_0x1893d4))||_0x1893d4);return _0x5a12b6&&_0x1893d4&&po(_0x92cfae,_0x15da74,_0x1893d4),_0x1893d4;},xt=(_0x38a07a,_0x50aefb)=>(_0x335377,_0x5b38e5)=>_0x50aefb(_0x335377,_0x5b38e5,_0x38a07a);let it=class extends _0x44a670{constructor(_0x21d6e5,_0x2a66db,_0x307c9f){const _0x2c3158=_0x29d74e;super(),g(this,_0x2c3158(0x268),new Map()),g(this,_0x2c3158(0x1b0),new _0x2c142e()),(this[_0x2c3158(0x1b2)]=_0x21d6e5,this[_0x2c3158(0x298)]=_0x2a66db,this[_0x2c3158(0x387)]=_0x307c9f,this['_init']());}[_0x29d74e(0x4ae)](){const _0x369e97=_0x29d74e;super['dispose'](),this[_0x369e97(0x268)][_0x369e97(0x2d5)](_0x4ac5c2=>_0x4ac5c2['dispose']()),this[_0x369e97(0x268)][_0x369e97(0x4fc)]();}[_0x29d74e(0x368)](_0x130336){const _0x7c1887=_0x29d74e;var _0x36c8df;return(_0x36c8df=this[_0x7c1887(0x268)][_0x7c1887(0x177)](_0x130336))!=null?_0x36c8df:null;}[_0x29d74e(0x44e)](_0x35cda4){const _0x41321a=_0x29d74e,_0x35fb5e=this['getCollabEntity'](_0x35cda4);return _0x35fb5e?_0x4931a8(_0x35fb5e):this[_0x41321a(0x1b0)]['pipe'](_0x2746a5(_0xd864d2=>_0xd864d2['unitID']===_0x35cda4));}[_0x29d74e(0x27d)](){const _0x30d4e3=_0x29d74e;this[_0x30d4e3(0x387)][_0x30d4e3(0x13d)](_0xcdbbdb[_0x30d4e3(0x142)])[_0x30d4e3(0x472)](_0xb0a601(this[_0x30d4e3(0x201)]),_0x436265(0x10))[_0x30d4e3(0x3c2)](async _0x30fd9f=>{const _0x517064=_0x30d4e3,_0x19c5f3=_0x30fd9f[_0x517064(0x4af)](),_0x3e7d7c=await this[_0x517064(0x415)](_0x19c5f3,ce['UNIVER_SHEET']);this['_entities'][_0x517064(0x36d)](_0x19c5f3,_0x3e7d7c);}),this[_0x30d4e3(0x387)][_0x30d4e3(0x13d)](_0xcdbbdb['UNIVER_DOC'])[_0x30d4e3(0x472)](_0xb0a601(this[_0x30d4e3(0x201)]),_0x436265(0x10))[_0x30d4e3(0x472)](_0x2746a5(_0x4a833f=>!_0x4a833f['getUnitId']()['startsWith']('__')))['subscribe'](async _0x32c094=>{const _0x2164f5=_0x30d4e3,_0x34691c=_0x32c094[_0x2164f5(0x4af)](),_0x284118=await this[_0x2164f5(0x415)](_0x34691c,ce[_0x2164f5(0x2f6)]);this[_0x2164f5(0x268)][_0x2164f5(0x36d)](_0x34691c,_0x284118);}),_0xef46fa(this[_0x30d4e3(0x387)][_0x30d4e3(0x2eb)](_0xcdbbdb[_0x30d4e3(0x142)]),this[_0x30d4e3(0x387)][_0x30d4e3(0x2eb)](_0xcdbbdb[_0x30d4e3(0x2f6)]))['pipe'](_0xb0a601(this[_0x30d4e3(0x201)]))['subscribe'](_0x494e2d=>{const _0x365a45=_0x30d4e3,_0x5c3cdd=_0x494e2d['getUnitId'](),_0x677f34=this[_0x365a45(0x268)]['get'](_0x5c3cdd);_0x677f34&&(_0x677f34[_0x365a45(0x4ae)](),this['_entities'][_0x365a45(0x4f6)](_0x5c3cdd));});}async[_0x29d74e(0x415)](_0x33b5dd,_0x24ee5c){const _0x2b42b5=_0x29d74e,_0x2dfd24=await this[_0x2b42b5(0x298)][_0x2b42b5(0x224)](_0x33b5dd),_0x4429cb=this['_injector']['createInstance'](this[_0x2b42b5(0x3d1)](_0x24ee5c),_0x33b5dd,_0x24ee5c,_0x2dfd24);return await _0x4429cb[_0x2b42b5(0x3b9)](),this['_entityInit$']['next'](_0x4429cb),_0x4429cb;}['_getCtorByUniverType'](_0x5f0188){const _0x9e9c31=_0x29d74e;switch(_0x5f0188){case ce[_0x9e9c31(0x2f6)]:return es;case ce[_0x9e9c31(0x142)]:return ts;default:throw new Error(_0x9e9c31(0x222)+_0x5f0188);}}};it=So([xt(0x0,_0x37efa2(_0x1e339b)),xt(0x1,_0x37efa2(Ne)),xt(0x2,_0x4c5fa7)],it);const Fs=['purple300',_0x29d74e(0x484),_0x29d74e(0x3af),_0x29d74e(0x357),_0x29d74e(0x3fa),'gold400'];class Cs extends _0x3755da{constructor(){const _0x47d74e=_0x29d74e;super(...arguments),g(this,_0x47d74e(0x238),new Map()),g(this,'_colorIndex',0x0);}[_0x29d74e(0x341)](_0x38aaf2){const _0x492ec0=_0x29d74e;if(this[_0x492ec0(0x238)][_0x492ec0(0x44d)](_0x38aaf2))return this[_0x492ec0(0x238)]['get'](_0x38aaf2);const _0x5ea360=Fs[this[_0x492ec0(0x454)]];return this[_0x492ec0(0x454)]=(this['_colorIndex']+0x1)%Fs[_0x492ec0(0x400)],this[_0x492ec0(0x238)]['set'](_0x38aaf2,_0x5ea360),_0x5ea360;}}var Io=Object[_0x29d74e(0x229)],Co=Object[_0x29d74e(0x494)],Eo=(_0x1edf0a,_0x5cd573,_0x5b0ad6,_0x4964a1)=>{const _0x377862=_0x29d74e;for(var _0x3e7bb2=_0x4964a1>0x1?void 0x0:_0x4964a1?Co(_0x5cd573,_0x5b0ad6):_0x5cd573,_0x3a649c=_0x1edf0a[_0x377862(0x400)]-0x1,_0x13d104;_0x3a649c>=0x0;_0x3a649c--)(_0x13d104=_0x1edf0a[_0x3a649c])&&(_0x3e7bb2=(_0x4964a1?_0x13d104(_0x5cd573,_0x5b0ad6,_0x3e7bb2):_0x13d104(_0x3e7bb2))||_0x3e7bb2);return _0x4964a1&&_0x3e7bb2&&Io(_0x5cd573,_0x5b0ad6,_0x3e7bb2),_0x3e7bb2;},Oe=(_0x383bb8,_0x4e7a83)=>(_0x10ae3d,_0x292000)=>_0x4e7a83(_0x10ae3d,_0x292000,_0x383bb8);const bo=0x12c,To=0x64;let ss=class extends _0x44a670{constructor(_0x4b8035,_0x489d26,_0x2a930f,_0x4aa722,_0x1396f9,_0x3fe50d,_0x47ea72,_0x45dde2,_0x459885){const _0x26db2f=_0x29d74e;super(),g(this,_0x26db2f(0x466),!0x1),g(this,'_init',!0x1),g(this,_0x26db2f(0x134),new _0x260ce9(new Map())),g(this,_0x26db2f(0x428),this['_cursorInfo$']['asObservable']()),g(this,_0x26db2f(0x22c),new _0x260ce9([])),g(this,_0x26db2f(0x2a0),this[_0x26db2f(0x22c)][_0x26db2f(0x472)](_0x3e8a9b(bo))),g(this,_0x26db2f(0x312),_0x496240(_0x49da80=>{const _0x556ef5=_0x26db2f,_0x3d6970={'eventID':_0x1030bd[_0x556ef5(0x2fe)],'data':{'unitID':this[_0x556ef5(0x46f)],'memberID':this[_0x556ef5(0x420)][_0x556ef5(0x2fc)](),'selection':Oi(_0x49da80)}};this[_0x556ef5(0x420)][_0x556ef5(0x3e2)](_0x3d6970,this[_0x556ef5(0x46f)]);},To)),(this[_0x26db2f(0x46f)]=_0x4b8035,this['_session']=_0x489d26,this[_0x26db2f(0x1b2)]=_0x2a930f,this[_0x26db2f(0x495)]=_0x4aa722,this[_0x26db2f(0x127)]=_0x1396f9,this[_0x26db2f(0x272)]=_0x3fe50d,this[_0x26db2f(0x2f4)]=_0x47ea72,this['_univerInstanceService']=_0x45dde2,this[_0x26db2f(0x4eb)]=_0x459885);}get[_0x29d74e(0x426)](){const _0x5426f4=_0x29d74e;return this['_cursorInfo$'][_0x5426f4(0x47e)]();}get[_0x29d74e(0x254)](){const _0x281660=_0x29d74e;return this['_roomMembers$'][_0x281660(0x47e)]();}['dispose'](){const _0x4624b0=_0x29d74e;super[_0x4624b0(0x4ae)](),this[_0x4624b0(0x134)][_0x4624b0(0x175)](new Map()),this['_cursorInfo$']['complete'](),this[_0x4624b0(0x22c)][_0x4624b0(0x175)]([]),this[_0x4624b0(0x22c)][_0x4624b0(0x476)]();}[_0x29d74e(0x3b9)](){const _0x53944b=_0x29d74e;this[_0x53944b(0x27d)]||(this['_init']=!0x0,this['_session'][_0x53944b(0x1db)][_0x53944b(0x472)](_0xb0a601(this['dispose$']))[_0x53944b(0x3c2)](_0x4eb504=>{const _0x594d3c=_0x53944b;_0x4eb504===ve[_0x594d3c(0x20b)]?this[_0x594d3c(0x431)]():this[_0x594d3c(0x3ac)]();}),this[_0x53944b(0x420)][_0x53944b(0x2a1)][_0x53944b(0x472)](_0xb0a601(this[_0x53944b(0x201)]))[_0x53944b(0x3c2)](_0x571873=>{const _0x15eb16=_0x53944b,_0x2f1e5b=_0x571873['eventID'];_0x2f1e5b===_0x1030bd[_0x15eb16(0x2fe)]&&this[_0x15eb16(0x329)](_0x571873),_0x2f1e5b===_0x1030bd[_0x15eb16(0x286)]&&this[_0x15eb16(0x38e)](_0x571873);}),this[_0x53944b(0x3d0)](this[_0x53944b(0x4eb)][_0x53944b(0x4e2)](_0x2cb157=>{const _0x459b6b=_0x53944b,_0x162986=_0x2cb157[_0x459b6b(0x38f)];_0x162986!=null&&this[_0x459b6b(0x466)]&&_0x2cb157['id']===_0xe6a35a['id']&&_0x162986['unitId']===this[_0x459b6b(0x46f)]&&_0x162986[_0x459b6b(0x252)]===!0x1&&_0x162986[_0x459b6b(0x16f)][_0x459b6b(0x400)]>0x0&&this[_0x459b6b(0x312)](_0x162986['ranges']);})),this[_0x53944b(0x272)][_0x53944b(0x26f)][_0x53944b(0x472)](_0xb0a601(this[_0x53944b(0x201)]))[_0x53944b(0x3c2)](_0x594a83=>{const _0x2e508c=_0x53944b;if((_0x594a83==null?void 0x0:_0x594a83[_0x2e508c(0x46f)])!==this[_0x2e508c(0x46f)])return;const _0x87374d={'eventID':_0x1030bd['UPDATE_CURSOR'],'data':_0x594a83};this['_onCursorUpdate'](_0x87374d);}),this[_0x53944b(0x3d0)](this[_0x53944b(0x4eb)][_0x53944b(0x4e2)](_0x2ed220=>{const _0x249343=_0x53944b;if(_0x2ed220[_0x249343(0x38f)]==null)return;const _0x1cc5ce=_0x2ed220[_0x249343(0x38f)];if(_0x2ed220['id']!==_0x10d0b7['id']||_0x1cc5ce['unitId']!==this[_0x249343(0x46f)])return;const _0xc94513={'id':_0x249343(0x2b6),'params':_0x1cc5ce},_0xa9a3cc=this['cursorInfo'];for(const [_0x45ca8d,_0x59287d]of _0xa9a3cc){const _0x3da89f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x249343(0x46f)],'actions':null,'textRanges':_0x59287d[_0x249343(0x16f)]}},_0x29204d=this[_0x249343(0x2f4)]['transformMutation'](_0xc94513,_0x3da89f,!0x1);if(_0x390965(_0x29204d))throw _0x29204d[_0x249343(0x444)];_0xa9a3cc[_0x249343(0x36d)](_0x45ca8d,{..._0x59287d,'ranges':_0x29204d[_0x249343(0x36b)][_0x249343(0x38f)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xa9a3cc);});})));}[_0x29d74e(0x329)](_0xe5f7b9){const _0x341ad0=_0x29d74e;var _0x51398a,_0x2b1eb8;const {memberID:_0x1fa611,selection:_0x33fdc5}=_0xe5f7b9[_0x341ad0(0x1da)],_0x7750f4=ro(_0x33fdc5),_0x3cdd13=(_0x2b1eb8=(_0x51398a=this[_0x341ad0(0x127)][_0x341ad0(0x1dc)](this[_0x341ad0(0x46f)],_0x1fa611))==null?void 0x0:_0x51398a[_0x341ad0(0x3f5)])!=null?_0x2b1eb8:_0x341ad0(0x3d2),_0xf938c={'color':this[_0x341ad0(0x495)]['assignAColorForMemberID'](_0x1fa611),'name':_0x3cdd13,'ranges':_0x7750f4},_0x4507e6=this[_0x341ad0(0x426)];_0x4507e6[_0x341ad0(0x36d)](_0x1fa611,_0xf938c),this[_0x341ad0(0x134)][_0x341ad0(0x175)](_0x4507e6);}[_0x29d74e(0x38e)](_0x784d4b){const _0x2808bd=_0x29d74e,{memberID:_0x367172}=_0x784d4b[_0x2808bd(0x1da)],_0x31f272=this[_0x2808bd(0x426)];_0x31f272[_0x2808bd(0x4f6)](_0x367172),this[_0x2808bd(0x134)][_0x2808bd(0x175)](_0x31f272);}[_0x29d74e(0x431)](){const _0x285392=_0x29d74e;var _0x4934d7;if(this['_online']=!0x0,((_0x4934d7=this[_0x285392(0x387)][_0x285392(0x48d)]())==null?void 0x0:_0x4934d7[_0x285392(0x4af)]())!==this[_0x285392(0x46f)])return;const _0x115bb4=this[_0x285392(0x1b2)][_0x285392(0x177)](_0x5973e7)[_0x285392(0x4a3)]();Array['isArray'](_0x115bb4)&&_0x115bb4[_0x285392(0x400)]>0x0&&this[_0x285392(0x312)](_0x115bb4);}[_0x29d74e(0x3ac)](){const _0x39aed4=_0x29d74e;this[_0x39aed4(0x466)]=!0x1;}};ss=Eo([Oe(0x2,_0x37efa2(_0x1e339b)),Oe(0x3,_0x37efa2(Cs)),Oe(0x4,_0x37efa2(Ue)),Oe(0x5,_0x37efa2(Ss)),Oe(0x6,_0x4938c5),Oe(0x7,_0x4c5fa7),Oe(0x8,_0xc41305)],ss);var Ro=Object[_0x29d74e(0x229)],yo=Object[_0x29d74e(0x494)],Oo=(_0x2daaf2,_0x1c11b5,_0x4960da,_0x440af)=>{const _0x267fa6=_0x29d74e;for(var _0x26980e=_0x440af>0x1?void 0x0:_0x440af?yo(_0x1c11b5,_0x4960da):_0x1c11b5,_0x3d9011=_0x2daaf2[_0x267fa6(0x400)]-0x1,_0x4a56c4;_0x3d9011>=0x0;_0x3d9011--)(_0x4a56c4=_0x2daaf2[_0x3d9011])&&(_0x26980e=(_0x440af?_0x4a56c4(_0x1c11b5,_0x4960da,_0x26980e):_0x4a56c4(_0x26980e))||_0x26980e);return _0x440af&&_0x26980e&&Ro(_0x1c11b5,_0x4960da,_0x26980e),_0x26980e;},je=(_0x33f135,_0x383c40)=>(_0x3dc901,_0x51d992)=>_0x383c40(_0x3dc901,_0x51d992,_0x33f135);const wo=0x12c,Do=0x64,Po=()=>{let _0x4b32c1=[],_0x3b4da4=!0x1;return _0x547ca3=>{const _0x4dff0a=_0x2ea9;_0x4b32c1[_0x4dff0a(0x183)](_0x547ca3),_0x3b4da4||(_0x3b4da4=!0x0,setTimeout(()=>{const _0x47e842=_0x4dff0a;_0x4b32c1[_0x47e842(0x2d5)](_0x298e0b=>_0x298e0b()),_0x4b32c1=[],_0x3b4da4=!0x1;}));};};let is=class extends _0x44a670{constructor(_0x3c3356,_0x5867fd,_0x264dfb,_0x2689aa,_0x3a0dee,_0x186161,_0x21058b,_0x2b066){const _0x26826f=_0x29d74e;super(),g(this,_0x26826f(0x466),!0x1),g(this,_0x26826f(0x27d),!0x1),g(this,_0x26826f(0x134),new _0x260ce9(new Map())),g(this,_0x26826f(0x428),this[_0x26826f(0x134)][_0x26826f(0x10f)]()),g(this,_0x26826f(0x22c),new _0x260ce9([])),g(this,_0x26826f(0x2a0),this[_0x26826f(0x22c)][_0x26826f(0x472)](_0x3e8a9b(wo))),g(this,_0x26826f(0x312),_0x496240((_0x45172e,_0x5ca733)=>{const _0x4ab07d=_0x26826f,_0x59c655={'eventID':_0x1030bd[_0x4ab07d(0x2fe)],'data':{'unitID':this[_0x4ab07d(0x46f)],'memberID':this['_session'][_0x4ab07d(0x2fc)](),'selection':_0x4f7853(_0x45172e,_0x5ca733[_0x4ab07d(0x40c)])}};this['_session'][_0x4ab07d(0x3e2)](_0x59c655,this[_0x4ab07d(0x46f)]);},Do)),(this[_0x26826f(0x46f)]=_0x3c3356,this[_0x26826f(0x420)]=_0x5867fd,this[_0x26826f(0x1b2)]=_0x264dfb,this[_0x26826f(0x495)]=_0x2689aa,this['_memberService']=_0x3a0dee,this['_univerInstanceService']=_0x186161,this[_0x26826f(0x4eb)]=_0x21058b,this['_refRangeService']=_0x2b066);}get['cursorInfo'](){const _0x339d85=_0x29d74e;return this[_0x339d85(0x134)][_0x339d85(0x47e)]();}get['roomMembers'](){const _0x1a0411=_0x29d74e;return this[_0x1a0411(0x22c)][_0x1a0411(0x47e)]();}[_0x29d74e(0x4ae)](){const _0x4ae599=_0x29d74e;super[_0x4ae599(0x4ae)](),this[_0x4ae599(0x134)][_0x4ae599(0x175)](new Map()),this[_0x4ae599(0x134)][_0x4ae599(0x476)](),this[_0x4ae599(0x22c)][_0x4ae599(0x175)]([]),this['_roomMembers$'][_0x4ae599(0x476)]();}[_0x29d74e(0x3b9)](){const _0x3b8a01=_0x29d74e;this['_init']||(this[_0x3b8a01(0x27d)]=!0x0,this[_0x3b8a01(0x420)][_0x3b8a01(0x1db)][_0x3b8a01(0x472)](_0xb0a601(this['dispose$']))[_0x3b8a01(0x3c2)](_0xf47b6=>{const _0x5a3734=_0x3b8a01;_0xf47b6===ve[_0x5a3734(0x20b)]?this[_0x5a3734(0x431)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0xb0a601(this[_0x3b8a01(0x201)]))[_0x3b8a01(0x3c2)](_0x2bfd5a=>{const _0x1e7b2f=_0x3b8a01,_0xb7d3ec=_0x2bfd5a['eventID'];_0xb7d3ec===_0x1030bd[_0x1e7b2f(0x2fe)]&&this[_0x1e7b2f(0x329)](_0x2bfd5a),_0xb7d3ec===_0x1030bd['USERS_LEAVE']&&this[_0x1e7b2f(0x38e)](_0x2bfd5a);}),this[_0x3b8a01(0x2de)](),this[_0x3b8a01(0x3d0)](this[_0x3b8a01(0x4eb)][_0x3b8a01(0x4e2)](_0x3e6360=>{const _0x3992aa=_0x3b8a01;if(this[_0x3992aa(0x466)]&&_0x3e6360['id']===_0x371c24['id']&&_0x3e6360[_0x3992aa(0x38f)][_0x3992aa(0x146)]===this[_0x3992aa(0x46f)]){const _0xd332b4=_0x3e6360['params'];this[_0x3992aa(0x312)](_0xd332b4[_0x3992aa(0x24e)],_0xd332b4['selections'][0x0]);}})));}[_0x29d74e(0x329)](_0x44aa7){const _0x11e1d0=_0x29d74e;var _0x595374,_0x47f734;const {memberID:_0x532b61,selection:_0x5c2694}=_0x44aa7[_0x11e1d0(0x1da)],{sheetName:_0x2ccbbb,range:_0x5f2330}=_0x586bff(_0x5c2694),_0x4ba53f={'name':(_0x47f734=(_0x595374=this[_0x11e1d0(0x127)][_0x11e1d0(0x1dc)](this[_0x11e1d0(0x46f)],_0x532b61))==null?void 0x0:_0x595374['name'])!=null?_0x47f734:'Unknown\x20user','range':this[_0x11e1d0(0x113)](_0x2ccbbb,_0x5f2330),'sheetID':_0x2ccbbb,'color':this[_0x11e1d0(0x495)][_0x11e1d0(0x341)](_0x532b61),'selection':_0x5c2694},_0x2b4faa=this[_0x11e1d0(0x426)];_0x2b4faa[_0x11e1d0(0x36d)](_0x532b61,_0x4ba53f),this['_cursorInfo$']['next'](_0x2b4faa);}[_0x29d74e(0x38e)](_0x547417){const _0x33810f=_0x29d74e,{memberID:_0x1921f5}=_0x547417['data'],_0x33fed4=this[_0x33810f(0x426)];_0x33fed4[_0x33810f(0x4f6)](_0x1921f5),this[_0x33810f(0x134)][_0x33810f(0x175)](_0x33fed4);}[_0x29d74e(0x113)](_0x4b2c11,_0x1d8037){const _0xb2b289=_0x29d74e;var _0x5d5f3b,_0x192cfb;const _0x1d68ab=(_0x192cfb=(_0x5d5f3b=this[_0xb2b289(0x387)][_0xb2b289(0x160)](this[_0xb2b289(0x46f)]))==null?void 0x0:_0x5d5f3b[_0xb2b289(0x314)](_0x4b2c11))==null?void 0x0:_0x192cfb[_0xb2b289(0x2ec)]();return(_0x1d68ab==null?void 0x0:_0x1d68ab[_0xb2b289(0x3ec)](_0x58088a=>_0x13dc9c[_0xb2b289(0x305)](_0x58088a,_0x1d8037)))||_0x1d8037;}['_onRefRangeChange'](){const _0x342131=_0x29d74e,_0x3e37da=new _0x427570(),_0x1d7e9a=Po(),_0xa71915=()=>{const _0x181824=_0x2ea9;_0x3e37da[_0x181824(0x4ae)]();const _0x23aed8=(_0x55c79e,_0x5bb9cc,_0x1df137,_0x206e5f)=>{const _0xfd28b9=_0x181824;let _0x4cd813=[];switch(_0x55c79e['id']){case _0x4b9ff9['DeleteRangeMoveLeftCommandId']:{_0x4cd813=_0x19d976(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0x2f9)]:{_0x4cd813=_0x5d4d4c(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9['InsertColCommandId']:{_0x4cd813=_0x3be363(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0x12d)]:{_0x4cd813=_0x9bc488(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9['InsertRangeMoveRightCommandId']:{_0x4cd813=_0x3f3f4d(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9['InsertRowCommandId']:{_0x4cd813=_0x419297(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0x3f1)]:{_0x4cd813=_0x5f24f5(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0xfb)]:{_0x4cd813=_0x342e0f(_0x55c79e,_0x206e5f);break;}case _0x4b9ff9[_0xfd28b9(0x34c)]:{_0x4cd813=_0x2f0508(_0x55c79e,_0x206e5f);break;}}const _0x565432=_0x419ccc(_0x4cd813,_0x206e5f),_0x1637ed=this[_0xfd28b9(0x426)]['get'](_0x5bb9cc);if(_0x1637ed&&_0x565432){const _0xc5a92a={..._0x1637ed,'range':_0x565432};this['cursorInfo'][_0xfd28b9(0x36d)](_0x5bb9cc,_0xc5a92a),_0x1d7e9a(()=>{const _0x1b44ad=_0xfd28b9,_0x9b1f71=this[_0x1b44ad(0x35f)]['registerRefRange'](_0x565432,_0x534d7d=>(_0x9b1f71[_0x1b44ad(0x4ae)](),_0x23aed8(_0x534d7d,_0x5bb9cc,_0x1df137,_0x565432)));_0x3e37da[_0x1b44ad(0x3d3)](_0x9b1f71);});}return{'redos':[],'undos':[]};};this[_0x181824(0x426)][_0x181824(0x2d5)]((_0x55ab60,_0x2c4957)=>{const _0x891596=_0x181824,{range:_0x221a64,sheetID:_0x5c8c31}=_0x55ab60,_0x188e54=this[_0x891596(0x35f)]['registerRefRange'](_0x221a64,_0x10cb85=>(_0x188e54['dispose'](),_0x23aed8(_0x10cb85,_0x2c4957,_0x5c8c31,_0x221a64)));_0x3e37da[_0x891596(0x3d3)](_0x188e54);});};this[_0x342131(0x3d0)](_0x3dbac0(this['_cursorInfo$']['subscribe'](()=>{_0xa71915();})));}[_0x29d74e(0x431)](){const _0x4c974b=_0x29d74e;var _0x442dd8,_0x17d595;if(this[_0x4c974b(0x466)]=!0x0,((_0x442dd8=this[_0x4c974b(0x387)][_0x4c974b(0x48d)]())==null?void 0x0:_0x442dd8[_0x4c974b(0x4af)]())!==this['unitID'])return;const _0x28b294=(_0x17d595=this[_0x4c974b(0x1b2)][_0x4c974b(0x177)](_0x28f4ca)[_0x4c974b(0x418)]())==null?void 0x0:_0x17d595[0x0],_0x168856=this['_univerInstanceService'][_0x4c974b(0x3e7)](_0xcdbbdb['UNIVER_SHEET'])[_0x4c974b(0x390)]();_0x28b294&&_0x168856&&this[_0x4c974b(0x312)](_0x168856[_0x4c974b(0x371)](),_0x28b294);}[_0x29d74e(0x3ac)](){const _0x126476=_0x29d74e;this[_0x126476(0x466)]=!0x1;}};is=Oo([je(0x2,_0x37efa2(_0x1e339b)),je(0x3,_0x37efa2(Cs)),je(0x4,_0x37efa2(Ue)),je(0x5,_0x4c5fa7),je(0x6,_0xc41305),je(0x7,_0x37efa2(_0x43c2c4))],is);var Uo=Object[_0x29d74e(0x229)],No=Object[_0x29d74e(0x494)],Ao=(_0x424a08,_0xb2f450,_0x2f4285,_0xf85367)=>{for(var _0x108c8c=_0xf85367>0x1?void 0x0:_0xf85367?No(_0xb2f450,_0x2f4285):_0xb2f450,_0x43c858=_0x424a08['length']-0x1,_0x7a23d5;_0x43c858>=0x0;_0x43c858--)(_0x7a23d5=_0x424a08[_0x43c858])&&(_0x108c8c=(_0xf85367?_0x7a23d5(_0xb2f450,_0x2f4285,_0x108c8c):_0x7a23d5(_0x108c8c))||_0x108c8c);return _0xf85367&&_0x108c8c&&Uo(_0xb2f450,_0x2f4285,_0x108c8c),_0x108c8c;},Lt=(_0x5d36ad,_0x2247ea)=>(_0x3df519,_0x4b1c86)=>_0x2247ea(_0x3df519,_0x4b1c86,_0x5d36ad);let Ve=class extends _0x44a670{constructor(_0x2fc4bc,_0xb40819,_0x563095){const _0x5d72a8=_0x29d74e;super(),g(this,'_entities',new Map()),g(this,_0x5d72a8(0x1b0),new _0x2c142e()),(this[_0x5d72a8(0x387)]=_0x2fc4bc,this['_injector']=_0xb40819,this['_collabSessionService']=_0x563095,this[_0x5d72a8(0x27d)]());}['dispose'](){const _0x423df5=_0x29d74e;super['dispose'](),this['_entityInit$']['complete'](),this[_0x423df5(0x268)][_0x423df5(0x2d5)](_0x1eeeaf=>_0x1eeeaf['dispose']());}[_0x29d74e(0x449)](_0x3b8357){const _0xa48cab=_0x29d74e;return this['_entities'][_0xa48cab(0x44d)](_0x3b8357)?this[_0xa48cab(0x268)][_0xa48cab(0x177)](_0x3b8357)['cursorInfo$']:this[_0xa48cab(0x1b0)]['pipe'](_0x343ab0(_0x34e9ab=>_0x34e9ab[_0xa48cab(0x46f)]===_0x3b8357),_0xb89769(_0x27a03e=>_0x27a03e[_0xa48cab(0x428)]));}['_init'](){const _0x1ea093=_0x29d74e;this[_0x1ea093(0x387)]['getTypeOfUnitAdded$'](_0xcdbbdb[_0x1ea093(0x142)])[_0x1ea093(0x472)](_0xb0a601(this[_0x1ea093(0x201)]))['subscribe'](async _0x1b5925=>{const _0x47339a=_0x1ea093,_0x71b343=_0x1b5925['getUnitId'](),_0x40cd12=await this[_0x47339a(0x2f7)](_0x71b343);this[_0x47339a(0x1b0)]['next'](_0x40cd12),this['_entities']['set'](_0x71b343,_0x40cd12);}),this[_0x1ea093(0x387)][_0x1ea093(0x13d)](_0xcdbbdb['UNIVER_DOC'])[_0x1ea093(0x472)](_0xb0a601(this[_0x1ea093(0x201)]))[_0x1ea093(0x472)](_0x343ab0(_0x226e2d=>!_0x226e2d[_0x1ea093(0x4af)]()[_0x1ea093(0x3b0)]('__')))['subscribe'](async _0x160c9b=>{const _0x3a17ba=_0x1ea093,_0x277858=_0x160c9b[_0x3a17ba(0x4af)](),_0x3b4e8f=await this[_0x3a17ba(0x3f7)](_0x277858);this[_0x3a17ba(0x1b0)]['next'](_0x3b4e8f),this[_0x3a17ba(0x268)][_0x3a17ba(0x36d)](_0x277858,_0x3b4e8f);}),_0xef46fa(this[_0x1ea093(0x387)][_0x1ea093(0x2eb)](_0xcdbbdb['UNIVER_DOC']),this[_0x1ea093(0x387)][_0x1ea093(0x2eb)](_0xcdbbdb[_0x1ea093(0x142)]))['pipe'](_0xb0a601(this['dispose$']))[_0x1ea093(0x3c2)](_0x3ef443=>{const _0xa73b8a=_0x1ea093,_0x20c3a0=_0x3ef443[_0xa73b8a(0x4af)](),_0x439288=this['_entities'][_0xa73b8a(0x177)](_0x20c3a0);_0x439288&&(_0x439288[_0xa73b8a(0x4ae)](),this['_entities']['delete'](_0x20c3a0));});}async[_0x29d74e(0x2f7)](_0x4ef8f3){const _0x51f021=_0x29d74e,_0x51efd3=await this['_collabSessionService'][_0x51f021(0x224)](_0x4ef8f3),_0x2bb201=this[_0x51f021(0x1b2)][_0x51f021(0x4a8)](is,_0x4ef8f3,_0x51efd3);return _0x2bb201['init'](),_0x2bb201;}async[_0x29d74e(0x3f7)](_0x52e8a7){const _0x4240a4=_0x29d74e,_0x440a44=await this[_0x4240a4(0x298)][_0x4240a4(0x224)](_0x52e8a7),_0x119f9b=this[_0x4240a4(0x1b2)][_0x4240a4(0x4a8)](ss,_0x52e8a7,_0x440a44);return _0x119f9b[_0x4240a4(0x3b9)](),_0x119f9b;}};Ve=Ao([Lt(0x0,_0x4c5fa7),Lt(0x1,_0x37efa2(_0x1e339b)),Lt(0x2,_0x37efa2(Ne))],Ve);const nt=0x14,Vs=0xc8,$t=0x4,Mo=0x5;function xo(_0x5343b3,_0x283788){const _0x4c9ba5=_0x29d74e;let {radius:_0x369be2,width:_0x339578,height:_0x48fb14}=_0x283788;_0x369be2=_0x369be2!=null?_0x369be2:0x0,_0x339578=_0x339578!=null?_0x339578:0x1e,_0x48fb14=_0x48fb14!=null?_0x48fb14:0x1e;let _0x1c763f=0x0,_0x25089b=0x0,_0x3da415=0x0;_0x1c763f=_0x25089b=_0x3da415=Math['min'](_0x369be2,_0x339578/0x2,_0x48fb14/0x2),_0x5343b3['beginPath'](),_0x5343b3['moveTo'](_0x1c763f,0x0),_0x5343b3[_0x4c9ba5(0x29e)](_0x339578-_0x25089b,0x0),_0x5343b3['arc'](_0x339578-_0x25089b,_0x25089b,_0x25089b,Math['PI']*0x3/0x2,0x0,!0x1),_0x5343b3[_0x4c9ba5(0x29e)](_0x339578,_0x48fb14-_0x3da415),_0x5343b3[_0x4c9ba5(0x28c)](_0x339578-_0x3da415,_0x48fb14-_0x3da415,_0x3da415,0x0,Math['PI']/0x2,!0x1),_0x5343b3[_0x4c9ba5(0x29e)](0x0,_0x48fb14),_0x5343b3[_0x4c9ba5(0x29e)](0x0,_0x1c763f),_0x5343b3[_0x4c9ba5(0x28c)](_0x1c763f,_0x1c763f,_0x1c763f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5343b3['closePath'](),_0x283788['fill']&&(_0x5343b3[_0x4c9ba5(0x340)](),_0x5343b3['fillStyle']=_0x283788[_0x4c9ba5(0x3d5)],_0x283788[_0x4c9ba5(0x403)]===_0x4c9ba5(0x429)?_0x5343b3[_0x4c9ba5(0x3d5)](_0x4c9ba5(0x429)):_0x5343b3[_0x4c9ba5(0x3d5)](),_0x5343b3[_0x4c9ba5(0x4d8)]());}class yt extends _0x95b801{constructor(_0x21d743,_0x2fcafd){const _0x2d3b7f=_0x29d74e;super(_0x21d743,_0x2fcafd),g(this,_0x2d3b7f(0x2e8)),g(this,_0x2d3b7f(0x1a9)),(this['color']=_0x2fcafd==null?void 0x0:_0x2fcafd['color'],this[_0x2d3b7f(0x1a9)]=_0x2fcafd==null?void 0x0:_0x2fcafd[_0x2d3b7f(0x1a9)]);}static[_0x29d74e(0x1f1)](_0x387a66,_0x316b77){const _0x2a4b89=_0x29d74e,{text:_0xa37aaf,color:_0x1f960b}=_0x316b77;_0x387a66[_0x2a4b89(0x340)](),_0x387a66['font']=_0x2a4b89(0x4f0);const _0x120a3f=_0x387a66[_0x2a4b89(0x182)](_0xa37aaf)['width'],_0x3fa9d1=Math['min'](_0x120a3f+0x2*$t,Vs);xo(_0x387a66,{'height':nt,'radius':0x4,'width':_0x3fa9d1,'fill':_0x1f960b,'evented':!0x1}),_0x387a66['fillStyle']=_0x2a4b89(0x27f);const _0x276b7e=$t,_0x17b5b7=nt-Mo,_0x257000=Vs-0x2*$t;if(_0x120a3f>_0x257000){let _0x128dcd='',_0x2e9570=0x0;for(const _0x3052b7 of _0xa37aaf){const _0x155afc=_0x387a66[_0x2a4b89(0x182)](_0x3052b7)[_0x2a4b89(0x37b)];if(_0x2e9570+_0x155afc<=_0x257000-_0x387a66[_0x2a4b89(0x182)](_0x2a4b89(0x23c))[_0x2a4b89(0x37b)])_0x128dcd+=_0x3052b7,_0x2e9570+=_0x155afc;else{_0x128dcd+=_0x2a4b89(0x23c);break;}}_0x387a66[_0x2a4b89(0x4a4)](_0x128dcd,_0x276b7e,_0x17b5b7);}else _0x387a66['fillText'](_0xa37aaf,_0x276b7e,_0x17b5b7);_0x387a66[_0x2a4b89(0x4d8)]();}[_0x29d74e(0x2f8)](_0x5d7e7c){yt['drawWith'](_0x5d7e7c,this);}}const Ht='collab-text-anchor-',Lo=_0x29d74e(0x4db),$o=_0x29d74e(0x34f),Je=0x6,Ho=1.5,jt=0x4,jo=1.5,Bo=_0x29d74e(0x3ba);class Gs{constructor(_0x4a0468,_0x698f98,_0x543a74,_0x56ce46){const _0x16cd9c=_0x29d74e;g(this,'_shapes',[]),g(this,_0x16cd9c(0x27c),null),g(this,_0x16cd9c(0x46e),null),g(this,_0x16cd9c(0x107),null),g(this,'_hideTimer',null),g(this,_0x16cd9c(0x41f),null),(this[_0x16cd9c(0x2b1)]=_0x4a0468,this[_0x16cd9c(0x1cf)]=_0x698f98,this[_0x16cd9c(0x2ce)]=_0x543a74,this[_0x16cd9c(0x34d)]=_0x56ce46,this[_0x16cd9c(0xfa)]());}set[_0x29d74e(0x331)](_0x12c770){const _0x26786e=_0x29d74e;_0x12c770?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x26786e(0x46e)]&&this[_0x26786e(0x46e)][_0x26786e(0x116)]()):(this[_0x26786e(0x107)]&&this['_anchorDot'][_0x26786e(0x116)](),this[_0x26786e(0x46e)]&&this[_0x26786e(0x46e)][_0x26786e(0x3c3)]());}['dispose'](){const _0xc224af=_0x29d74e;for(const _0x2b4c08 of this[_0xc224af(0x4b7)])_0x2b4c08[_0xc224af(0x4ae)]();this[_0xc224af(0x46e)]&&this['_textBubble'][_0xc224af(0x4ae)](),this[_0xc224af(0x107)]&&this[_0xc224af(0x107)][_0xc224af(0x4ae)](),this[_0xc224af(0x27c)]&&this[_0xc224af(0x27c)][_0xc224af(0x4ae)](),this[_0xc224af(0x41f)]&&this[_0xc224af(0x41f)]();}[_0x29d74e(0xfa)](){const _0x408e05=_0x29d74e;var _0x10f1ea;const {_docSkeleton:_0x1581c5,_document:_0x3c6445}=this,{color:_0x3c234d,name:_0x181d12,ranges:_0x15934c}=this[_0x408e05(0x2b1)],_0x2ec666=_0x3c6445[_0x408e05(0x315)](),{docsLeft:_0xd4116e,docsTop:_0x768101}=_0x2ec666,_0x25e853=new _0x47fb66(_0x2ec666,_0x1581c5);for(const {startOffset:_0x4232b6,endOffset:_0x181b97,rangeType:_0xe82c93,segmentId:_0x52f60e,segmentPage:_0x445f05,collapsed:_0x3abc49,isActive:_0x2eb6b2}of _0x15934c){const _0x109b87=_0x1581c5[_0x408e05(0x24b)](_0x4232b6,!0x0,_0x52f60e,_0x445f05);let _0x246b74=_0x1581c5['findNodePositionByCharIndex'](_0x181b97,!0x0,_0x52f60e,_0x445f05);if(_0x246b74==null&&(_0x246b74=_0x1581c5['findNodePositionByCharIndex'](_0x181b97-0x1,!0x1,_0x52f60e,_0x445f05)),_0x2eb6b2){const {contentBoxPointGroup:_0x18ab28}=_0x25e853['getRangePointData'](_0x246b74,_0x246b74);if(_0x18ab28[_0x408e05(0x400)]===0x0)continue;this[_0x408e05(0x3e9)](_0x3c234d,_0x18ab28,_0xd4116e,_0x768101,_0x181d12),this[_0x408e05(0x41f)]=this[_0x408e05(0x29b)]();}if(_0x109b87&&_0x246b74){if(_0xe82c93===_0x420eb0[_0x408e05(0x3ed)]){const _0x5b14cb=new _0x23a8f9(_0x2ec666,_0x1581c5),{pointGroup:_0x5b809e}=(_0x10f1ea=_0x5b14cb['getRangePointData'](_0x109b87,_0x246b74))!=null?_0x10f1ea:{};if(_0x5b809e==null||_0x5b809e['length']===0x0)continue;this[_0x408e05(0x144)](_0x3c234d,_0x5b809e,_0xd4116e,_0x768101);}else{if(!_0x3abc49){const {borderBoxPointGroup:_0x5e975c}=_0x25e853[_0x408e05(0x342)](_0x109b87,_0x246b74);if(_0x5e975c[_0x408e05(0x400)]===0x0)continue;this[_0x408e05(0x41c)](_0x3c234d,_0x5e975c,_0xd4116e,_0x768101);}}}}}[_0x29d74e(0x3e9)](_0x2d27e2,_0x49c367,_0x2e1171,_0xe5feae,_0x34ec01){const _0x41636c=_0x29d74e,_0x1c3fcb=this[_0x41636c(0x310)](_0x49c367),{left:_0x44b67b,top:_0xac9c11,height:_0x3a28e8}=_0x1c3fcb,_0x313718=this[_0x41636c(0x408)](),_0x2f4ec1=jo/_0x313718,_0x1317dd=new _0x2fbc00(Ht+_0x56f740['generateRandomId'](Je),{'left':_0x44b67b+_0x2e1171-_0x2f4ec1,'top':_0xac9c11+_0xe5feae,'height':_0x3a28e8,'width':Ho,'fill':_0x2d27e2||_0x3a2782(_0x4c04a5['black'],0x0),'strokeWidth':_0x2f4ec1,'stroke':Bo,'evented':!0x0});this[_0x41636c(0x27c)]=_0x1317dd,this[_0x41636c(0x1cf)][_0x41636c(0x378)](_0x1317dd,_0xdfde1a);const _0x350fee=new _0x2fbc00(Ht+_0x56f740[_0x41636c(0x207)](Je),{'left':_0x44b67b+_0x2e1171-_0x2f4ec1,'top':_0xac9c11+_0xe5feae-jt/0x2,'height':jt,'width':jt,'fill':_0x2d27e2||_0x3a2782(_0x4c04a5[_0x41636c(0x482)],0x0),'strokeWidth':0x0,'stroke':_0x2d27e2||_0x3a2782(_0x4c04a5[_0x41636c(0x482)],0x0),'evented':!0x1});this[_0x41636c(0x107)]=_0x350fee,this[_0x41636c(0x1cf)][_0x41636c(0x378)](_0x350fee,_0xdfde1a);const _0x371c2c=new yt(Ht+_0x56f740['generateRandomId'](Je),{'left':_0x44b67b+_0x2e1171-_0x2f4ec1,'top':_0xac9c11+_0xe5feae-nt,'text':_0x34ec01,'color':_0x2d27e2});this[_0x41636c(0x46e)]=_0x371c2c,this[_0x41636c(0x1cf)][_0x41636c(0x378)](_0x371c2c,_0xdfde1a),this[_0x41636c(0x331)]=!0x1;}[_0x29d74e(0x29b)](){const _0x21e3a=_0x29d74e,_0x687d94=this[_0x21e3a(0x27c)]['onPointerEnter$'][_0x21e3a(0x356)](()=>{const _0x1e7689=_0x21e3a;this[_0x1e7689(0x331)]=!0x0;}),_0x4fb40d=this['_anchor'][_0x21e3a(0x19b)][_0x21e3a(0x356)](()=>{const _0x113ce5=_0x21e3a;this[_0x113ce5(0x48f)]&&clearTimeout(this['_hideTimer']),this[_0x113ce5(0x48f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x22f355=_0x21e3a;_0x687d94[_0x22f355(0x392)](),_0x4fb40d[_0x22f355(0x392)]();};}[_0x29d74e(0x41c)](_0x1f6b16,_0x1ffe38,_0x43187b,_0xd64231){const _0x31ff04=_0x29d74e,_0x233176=new _0x3bbabd(_0x1f6b16)[_0x31ff04(0x15c)](0.2)[_0x31ff04(0x2e9)](),_0x472d74=new _0x19ae98(Lo+_0x56f740[_0x31ff04(0x207)](Je),{'pointsGroup':_0x1ffe38,'fill':_0x233176||_0x3a2782(_0x4c04a5[_0x31ff04(0x482)],0.2),'left':_0x43187b,'top':_0xd64231,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31ff04(0x4b7)][_0x31ff04(0x183)](_0x472d74),this[_0x31ff04(0x1cf)][_0x31ff04(0x378)](_0x472d74,_0xdfde1a);}[_0x29d74e(0x144)](_0x8cc1fb,_0x5665f9,_0x53ddfe,_0x43483e){const _0x46bb90=_0x29d74e,_0x4f7c48=new _0x3bbabd(_0x8cc1fb)[_0x46bb90(0x15c)](0.2)['toRgbString'](),_0x5f1a27=new _0x19ae98($o+_0x56f740['generateRandomId'](Je),{'pointsGroup':_0x5665f9,'fill':_0x4f7c48||_0x3a2782(_0x4c04a5[_0x46bb90(0x482)],0.2),'left':_0x53ddfe,'top':_0x43483e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5f1a27),this[_0x46bb90(0x1cf)]['addObject'](_0x5f1a27,_0xdfde1a);}['_getAnchorBounding'](_0x784bfe){const _0x452593=_0x784bfe[0x0],_0x4a4e47=_0x452593[0x0],_0x4193ba=_0x452593[0x2],{x:_0x56e875,y:_0x596a75}=_0x4a4e47,{x:_0x133d96,y:_0x31b098}=_0x4193ba;return{'left':_0x56e875,'top':_0x596a75,'width':_0x133d96-_0x56e875,'height':_0x31b098-_0x596a75};}['_getScale'](){const _0x122f3f=_0x29d74e,{scaleX:_0x21d175,scaleY:_0x78b68e}=this[_0x122f3f(0x1cf)][_0x122f3f(0x21f)]();return Math[_0x122f3f(0x358)](_0x21d175,_0x78b68e);}}var ko=Object[_0x29d74e(0x229)],Wo=Object[_0x29d74e(0x494)],Fo=(_0x57c6ff,_0x15c6e5,_0x72ada7,_0x257506)=>{const _0x31a2cc=_0x29d74e;for(var _0x4caf21=_0x257506>0x1?void 0x0:_0x257506?Wo(_0x15c6e5,_0x72ada7):_0x15c6e5,_0x26503b=_0x57c6ff[_0x31a2cc(0x400)]-0x1,_0x132571;_0x26503b>=0x0;_0x26503b--)(_0x132571=_0x57c6ff[_0x26503b])&&(_0x4caf21=(_0x257506?_0x132571(_0x15c6e5,_0x72ada7,_0x4caf21):_0x132571(_0x4caf21))||_0x4caf21);return _0x257506&&_0x4caf21&&ko(_0x15c6e5,_0x72ada7,_0x4caf21),_0x4caf21;},ct=(_0x23ef99,_0x3745c7)=>(_0x1a5f06,_0x3ad4dc)=>_0x3745c7(_0x1a5f06,_0x3ad4dc,_0x23ef99);let ns=class extends _0x44a670{constructor(_0x4cba0a,_0x22e94d,_0x50fd5a,_0x30dd7d,_0x4d73f8){const _0x1fa4e0=_0x29d74e;super(),g(this,_0x1fa4e0(0xf0),[]),g(this,_0x1fa4e0(0x4e0),[]),(this[_0x1fa4e0(0x345)]=_0x4cba0a,this[_0x1fa4e0(0x2b7)]=_0x22e94d,this[_0x1fa4e0(0x38b)]=_0x50fd5a,this[_0x1fa4e0(0x4eb)]=_0x30dd7d,this[_0x1fa4e0(0x13b)]=_0x4d73f8,this[_0x1fa4e0(0x27d)]());}[_0x29d74e(0x27d)](){const _0x3d2510=_0x29d74e,_0x56967b=this['_context'][_0x3d2510(0x146)],_0x2bec06=this[_0x3d2510(0x2b7)];this[_0x3d2510(0x3d0)](_0x4892e4([this[_0x3d2510(0x38b)]['getCollabCursors$'](_0x56967b),this[_0x3d2510(0x13b)][_0x3d2510(0xff)]])[_0x3d2510(0x472)](_0x1c1ea1(([_0x7cc224,_0x26f976])=>({'skeleton':_0x2bec06[_0x3d2510(0x114)](),'cursors':[..._0x7cc224[_0x3d2510(0x326)]()][_0x3d2510(0x302)](_0xe6cd7=>({..._0xe6cd7,'color':_0x26f976[_0xe6cd7[_0x3d2510(0x2e8)]]}))})))[_0x3d2510(0x3c2)](_0x25bfa6=>{const _0x3356eb=_0x3d2510;if(this[_0x3356eb(0x4ba)](),_0x25bfa6){const {skeleton:_0x496db1,cursors:_0xb8d9ec}=_0x25bfa6;this[_0x3356eb(0x406)](_0x496db1,_0xb8d9ec);}})),this[_0x3d2510(0x47c)](),this[_0x3d2510(0x1e1)]();}[_0x29d74e(0x406)](_0x1f2a28,_0x5d2e59){const _0x4cceb2=_0x29d74e,{scene:_0x528655,mainComponent:_0x170294}=this['_context'],_0x59005e=_0x5d2e59[_0x4cceb2(0x319)](_0x2a5c17=>new Gs(_0x2a5c17,_0x528655,_0x1f2a28,_0x170294));this[_0x4cceb2(0xf0)]=_0x59005e,this[_0x4cceb2(0x4e0)]=_0x5d2e59;}[_0x29d74e(0x322)](){const _0x32fbe6=_0x29d74e;this[_0x32fbe6(0x4ba)]();const {scene:_0x53feb1,mainComponent:_0x873974}=this[_0x32fbe6(0x345)],_0x30903e=this[_0x32fbe6(0x2b7)][_0x32fbe6(0x114)](),_0x47d256=this[_0x32fbe6(0x4e0)][_0x32fbe6(0x319)](_0x149c41=>new Gs(_0x149c41,_0x53feb1,_0x30903e,_0x873974));this[_0x32fbe6(0xf0)]=_0x47d256;}['_removeCollabCursors'](){const _0x5542ad=_0x29d74e;this[_0x5542ad(0xf0)][_0x5542ad(0x2d5)](_0x40b80b=>_0x40b80b[_0x5542ad(0x4ae)]()),this[_0x5542ad(0xf0)]=[];}['_initCommandExecutedListener'](){const _0x4ed573=_0x29d74e,_0x39c550=[_0x3a4b83['id']];this['disposeWithMe'](this[_0x4ed573(0x4eb)][_0x4ed573(0x4e2)](_0xd90a46=>{const _0x3fb66c=_0x4ed573;_0x39c550['includes'](_0xd90a46['id'])&&_0xd90a46[_0x3fb66c(0x38f)]['unitId']===this[_0x3fb66c(0x345)]['unitId']&&this[_0x3fb66c(0x322)]();}));}[_0x29d74e(0x47c)](){const _0x52c063=_0x29d74e;this[_0x52c063(0x3d0)](_0xffdf95(this[_0x52c063(0x345)][_0x52c063(0x2d8)][_0x52c063(0x3fd)])['pipe'](_0x2746a5(_0x51f9e9=>_0x51f9e9[_0x52c063(0x379)]===_0x1b9c52[_0x52c063(0x18e)]),_0xd6772(0x10))[_0x52c063(0x3c2)](()=>{const _0x50d01a=_0x52c063;this[_0x50d01a(0x322)]();}));}};ns=Fo([ct(0x1,_0x37efa2(_0x55707a)),ct(0x2,_0x37efa2(Ve)),ct(0x3,_0xc41305),ct(0x4,_0x37efa2(_0x5c683b))],ns);const Vo=0x1,Go=1.5;class Yo extends _0x95b801{constructor(_0x51dfab,_0x2a686c){const _0x42bc77=_0x29d74e;super(_0x51dfab,_0x2a686c),g(this,'_color'),g(this,_0x42bc77(0x189),!0x1),g(this,_0x42bc77(0x3a6)),g(this,_0x42bc77(0x395),''),g(this,_0x42bc77(0x3ff),'top'),g(this,_0x42bc77(0x3a4)),(_0x2a686c&&this[_0x42bc77(0x3cb)](_0x2a686c),this[_0x42bc77(0x31d)][_0x42bc77(0x356)](()=>this[_0x42bc77(0x3cb)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x42bc77(0x3cb)]({'hovered':!0x1})));}[_0x29d74e(0x3cb)](_0x550635){const _0x3a220e=_0x29d74e;var _0x5c0322,_0x1aab58,_0x4b8fc7,_0x5f1ebc,_0x4ca385,_0x2b9a14;this[_0x3a220e(0x396)]=(_0x5c0322=_0x550635[_0x3a220e(0x2e8)])!=null?_0x5c0322:this[_0x3a220e(0x396)],this[_0x3a220e(0x189)]=(_0x1aab58=_0x550635[_0x3a220e(0x3b5)])!=null?_0x1aab58:this[_0x3a220e(0x189)],this[_0x3a220e(0x3a6)]=(_0x4b8fc7=_0x550635[_0x3a220e(0x40c)])!=null?_0x4b8fc7:this[_0x3a220e(0x3a6)],this[_0x3a220e(0x395)]=(_0x5f1ebc=_0x550635[_0x3a220e(0x3f5)])!=null?_0x5f1ebc:this[_0x3a220e(0x395)],this[_0x3a220e(0x3ff)]=(_0x4ca385=_0x550635[_0x3a220e(0x34b)])!=null?_0x4ca385:this[_0x3a220e(0x3ff)],this['_backgroundColor']=(_0x2b9a14=_0x550635[_0x3a220e(0x220)])!=null?_0x2b9a14:this['_backgroundColor'],this[_0x3a220e(0x1ae)]({'width':_0x550635[_0x3a220e(0x37b)],'height':_0x550635[_0x3a220e(0x1cb)]});}[_0x29d74e(0x447)](_0x3bddf4){const _0x5ba191=_0x29d74e,{row:_0x357553,column:_0x5bff64}=_0x3bddf4;if(_0x357553>=this[_0x5ba191(0x3a6)][_0x5ba191(0x211)]&&_0x357553<=this[_0x5ba191(0x3a6)][_0x5ba191(0x178)]&&_0x5bff64>=this[_0x5ba191(0x3a6)][_0x5ba191(0x1be)]&&_0x5bff64<=this[_0x5ba191(0x3a6)][_0x5ba191(0x195)]){this[_0x5ba191(0x3cb)]({'hovered':!0x0});return;}this[_0x5ba191(0x3cb)]({'hovered':!0x1});}[_0x29d74e(0x4e9)](_0x2bcc0f){return!0x1;}[_0x29d74e(0x2f8)](_0x486529){const _0x400fba=_0x29d74e;_0x2fbc00[_0x400fba(0x1f1)](_0x486529,{'width':this['width'],'height':this[_0x400fba(0x1cb)],'strokeWidth':Go,'stroke':this[_0x400fba(0x396)],'evented':!0x1,'fill':this[_0x400fba(0x3a4)]}),this[_0x400fba(0x189)]&&(_0x486529[_0x400fba(0x340)](),_0x486529[_0x400fba(0x458)](0x1,0x0,0x0,0x1,this[_0x400fba(0x37b)],this[_0x400fba(0x3ff)]===_0x400fba(0x30f)?0x0:-nt),yt[_0x400fba(0x1f1)](_0x486529,{'text':this[_0x400fba(0x395)],'color':this['_color']}),_0x486529['restore']());}}var Ko=Object['defineProperty'],zo=Object[_0x29d74e(0x494)],qo=(_0x84adef,_0x5d5714,_0x260e5a,_0x3cf812)=>{const _0x59f762=_0x29d74e;for(var _0x45e5f3=_0x3cf812>0x1?void 0x0:_0x3cf812?zo(_0x5d5714,_0x260e5a):_0x5d5714,_0x20a3e4=_0x84adef[_0x59f762(0x400)]-0x1,_0x45f215;_0x20a3e4>=0x0;_0x20a3e4--)(_0x45f215=_0x84adef[_0x20a3e4])&&(_0x45e5f3=(_0x3cf812?_0x45f215(_0x5d5714,_0x260e5a,_0x45e5f3):_0x45f215(_0x45e5f3))||_0x45e5f3);return _0x3cf812&&_0x45e5f3&&Ko(_0x5d5714,_0x260e5a,_0x45e5f3),_0x45e5f3;},Bt=(_0x426aa6,_0x377bf3)=>(_0x4ec89f,_0xa7fec6)=>_0x377bf3(_0x4ec89f,_0xa7fec6,_0x426aa6);const Xo=0x1389;let rs=class extends _0x44a670{constructor(_0x4f4ff9,_0x4bda08,_0x292af7,_0x1b2e0b){const _0x1df9f1=_0x29d74e;super(),g(this,_0x1df9f1(0x4e0),new Set()),g(this,_0x1df9f1(0x448),null),(this[_0x1df9f1(0x345)]=_0x4f4ff9,this[_0x1df9f1(0x18d)]=_0x4bda08,this[_0x1df9f1(0x38b)]=_0x292af7,this['_themeService']=_0x1b2e0b,this[_0x1df9f1(0x27d)]());}[_0x29d74e(0x27d)](){const _0x1e6be4=_0x29d74e;this[_0x1e6be4(0x18d)][_0x1e6be4(0x139)]['pipe'](_0x41e8bd(this['dispose$']),_0x47c098(_0x23b7a9=>{const _0x2c187f=_0x1e6be4;if(_0x23b7a9){const _0x50fa9c=_0x23b7a9[_0x2c187f(0x267)];return _0x4892e4(this[_0x2c187f(0x38b)]['getCollabCursors$'](this[_0x2c187f(0x345)]['unitId']),this[_0x2c187f(0x13b)][_0x2c187f(0xff)])[_0x2c187f(0x472)](_0x1c1ea1(([_0x39329a,_0x2c6d91])=>{const _0x58ddc5=_0x2c187f,_0xfa4432=new Map();return _0x39329a[_0x58ddc5(0x2d5)]((_0x13303e,_0xc5aaaf)=>{const _0x2033c4=_0x58ddc5;if(_0x13303e[_0x2033c4(0x455)]===_0x50fa9c){const _0x31c71a={..._0x13303e};_0x31c71a['color']=_0x2c6d91[_0x13303e[_0x2033c4(0x2e8)]],_0xfa4432['set'](_0xc5aaaf,_0x31c71a);}}),{'skeleton':_0x23b7a9,'cursors':_0xfa4432};}));}return _0x4931a8({'skeleton':null,'cursors':new Map()});}))[_0x1e6be4(0x3c2)](({skeleton:_0x12ae48,cursors:_0x46c905})=>{const _0x2b032a=_0x1e6be4;this[_0x2b032a(0x4ba)](),_0x12ae48&&this[_0x2b032a(0x406)](_0x12ae48,_0x46c905);}),this[_0x1e6be4(0x18d)]['currentSkeleton$'][_0x1e6be4(0x3c2)](_0x417db3=>{const _0x43c5a7=_0x1e6be4;if(_0x417db3==null)return;const {skeleton:_0x4cf74e}=_0x417db3,{scene:_0x205bb1}=this['_context'];_0x205bb1[_0x43c5a7(0x441)][_0x43c5a7(0x356)](_0x496240(_0x232614=>{const _0x1698f2=_0x43c5a7;var _0x40af2d,_0x9d26f4;const {offsetX:_0x9a0103,offsetY:_0x184b8e}=_0x232614,{x:_0x3ed8ec,y:_0x4a4bab}=_0x205bb1[_0x1698f2(0x1ee)](_0x25775b[_0x1698f2(0x14d)]([_0x9a0103,_0x184b8e])),{scaleX:_0x43b0a8,scaleY:_0xe0ac08}=_0x205bb1[_0x1698f2(0x21f)](),_0x247959=_0x205bb1['getViewport'](_0x53f43f[_0x1698f2(0x40a)]),_0xd85cc0=_0x205bb1[_0x1698f2(0x31e)](_0x25775b[_0x1698f2(0x14d)]([_0x3ed8ec,_0x4a4bab]),_0x247959),_0x5e4324=_0x4cf74e[_0x1698f2(0x3e4)](_0x9a0103,_0x184b8e,_0x43b0a8,_0xe0ac08,_0xd85cc0);((_0x40af2d=this[_0x1698f2(0x448)])==null?void 0x0:_0x40af2d[_0x1698f2(0x39d)])===_0x5e4324[_0x1698f2(0x39d)]&&((_0x9d26f4=this[_0x1698f2(0x448)])==null?void 0x0:_0x9d26f4['row'])===_0x5e4324[_0x1698f2(0x486)]||this['_cursors'][_0x1698f2(0x2d5)](_0x19cbe2=>{const _0x501009=_0x1698f2;_0x19cbe2[_0x501009(0x447)](_0x5e4324);});},0x64));});}[_0x29d74e(0x406)](_0x4f7bad,_0x1d8161){const _0x186830=_0x29d74e;var _0x3d4392;const _0x49079c=(_0x3d4392=this['_sheetSkeletonManagerService'][_0x186830(0x290)]())==null?void 0x0:_0x3d4392['skeleton'];if(!_0x49079c)return;const _0x129f86=this[_0x186830(0x1a2)]();if(!_0x129f86)return;this[_0x186830(0x4e0)][_0x186830(0x2d5)](_0x4e4c04=>{const _0x4c0f64=_0x186830;_0x4e4c04[_0x4c0f64(0x105)]();});const {scene:_0x195cb3}=_0x129f86,_0x27c063=Jo(Array[_0x186830(0x29c)](_0x1d8161[_0x186830(0x326)]()))['map'](_0x1cd3bc=>{const _0x153004=_0x186830,{color:_0x3ded96,range:_0x3df4f1,name:_0x12ee5a,selection:_0x2be3d8,sheetID:_0x5a1433}=_0x1cd3bc,{startColumn:_0x24d1e7,startRow:_0x4a20ef,endColumn:_0x5ad5a0,endRow:_0x4683d8}=_0x3df4f1,_0x5cbaee=_0x2857ae(_0x4a20ef,_0x24d1e7,_0x195cb3,_0x49079c),_0x991a7f=_0x2857ae(_0x4683d8,_0x5ad5a0,_0x195cb3,_0x49079c),{columnHeaderHeightAndMarginTop:_0x43a0da}=_0x49079c,{startX:_0x3a1a05,startY:_0x2d928c}=_0x5cbaee,{endX:_0x32b6d8,endY:_0x205a17}=_0x991a7f,_0x2d179c=_0x32b6d8-_0x3a1a05,_0x131f41=_0x205a17-_0x2d928c,_0x104ae4={'labelPosition':_0x2d928c-_0x43a0da>=nt?'top':_0x153004(0x30f),'sheetID':_0x5a1433,'range':_0x3df4f1,'color':_0x3ded96,'name':_0x12ee5a,'selection':_0x2be3d8,'left':_0x3a1a05,'top':_0x2d928c,'width':_0x2d179c,'height':_0x131f41,'evented':!0x1,'zIndex':Xo};return new Yo(_0x12ee5a,_0x104ae4);});_0x195cb3[_0x186830(0x488)](_0x27c063,Vo),this[_0x186830(0x4e0)]=new Set(_0x27c063);}['_removeCollabCursors'](){const _0xe84988=_0x29d74e;var _0xc82e30;(_0xc82e30=this[_0xe84988(0x4e0)])==null||_0xc82e30['forEach'](_0x5088a5=>_0x5088a5[_0xe84988(0x4ae)]());}['_getSheetObject'](){const _0x1b4769=_0x29d74e;return _0x18bb66(this[_0x1b4769(0x345)][_0x1b4769(0x2c5)],this[_0x1b4769(0x345)]);}};rs=qo([Bt(0x1,_0x37efa2(_0x534a87)),Bt(0x2,_0x37efa2(Ve)),Bt(0x3,_0x37efa2(_0x5c683b))],rs);function Jo(_0x34bfb7){const _0x43d06f=_0x29d74e,_0x3e6005=new Map();return _0x34bfb7['forEach'](_0x4f6a24=>{const _0xc1d028=_0x2ea9;if(_0x3e6005[_0xc1d028(0x44d)](_0x4f6a24[_0xc1d028(0x1f9)])){const _0x29a725=_0x3e6005[_0xc1d028(0x177)](_0x4f6a24[_0xc1d028(0x1f9)]);_0x29a725[_0xc1d028(0x3f5)]+=',\x20'+_0x4f6a24[_0xc1d028(0x3f5)];}else _0x3e6005['set'](_0x4f6a24[_0xc1d028(0x1f9)],_0x4f6a24);}),Array[_0x43d06f(0x29c)](_0x3e6005[_0x43d06f(0x326)]());}var ee=function(){const _0x309553=_0x29d74e;return ee=Object['assign']||function(_0x431790){const _0x48d3b8=_0x2ea9;for(var _0x3fb9ab,_0x3c4a9c=0x1,_0x302770=arguments['length'];_0x3c4a9c<_0x302770;_0x3c4a9c++){_0x3fb9ab=arguments[_0x3c4a9c];for(var _0x2a6a11 in _0x3fb9ab)Object['prototype']['hasOwnProperty'][_0x48d3b8(0x46d)](_0x3fb9ab,_0x2a6a11)&&(_0x431790[_0x2a6a11]=_0x3fb9ab[_0x2a6a11]);}return _0x431790;},ee[_0x309553(0x493)](this,arguments);},Zo=function(_0x2183b2,_0x1ae31c){const _0x39dc07=_0x29d74e;var _0x5716ac={};for(var _0x4d06da in _0x2183b2)Object['prototype'][_0x39dc07(0x359)][_0x39dc07(0x46d)](_0x2183b2,_0x4d06da)&&_0x1ae31c[_0x39dc07(0x1b4)](_0x4d06da)<0x0&&(_0x5716ac[_0x4d06da]=_0x2183b2[_0x4d06da]);if(_0x2183b2!=null&&typeof Object[_0x39dc07(0x4d4)]=='function'){for(var _0x44b7f5=0x0,_0x4d06da=Object[_0x39dc07(0x4d4)](_0x2183b2);_0x44b7f5<_0x4d06da[_0x39dc07(0x400)];_0x44b7f5++)_0x1ae31c[_0x39dc07(0x1b4)](_0x4d06da[_0x44b7f5])<0x0&&Object[_0x39dc07(0x1b7)][_0x39dc07(0x117)]['call'](_0x2183b2,_0x4d06da[_0x44b7f5])&&(_0x5716ac[_0x4d06da[_0x44b7f5]]=_0x2183b2[_0x4d06da[_0x44b7f5]]);}return _0x5716ac;},Es=_0x519233(function(_0x488ff7,_0x54d245){const _0xba1c75=_0x29d74e;var _0x286376=_0x488ff7[_0xba1c75(0x104)],_0x17508f=_0x488ff7['id'],_0x4d2b0e=_0x488ff7[_0xba1c75(0x40e)],_0x160564=_0x488ff7[_0xba1c75(0x38d)],_0x127934=Zo(_0x488ff7,[_0xba1c75(0x104),'id',_0xba1c75(0x40e),_0xba1c75(0x38d)]),_0x5abbd8=_0xba1c75(0x210)[_0xba1c75(0x332)](_0x17508f,'\x20')[_0xba1c75(0x332)](_0x4d2b0e||'')[_0xba1c75(0x130)](),_0x1debd7=_0x4f1e77('_'[_0xba1c75(0x332)](ta()));return Ui(_0x286376,''[_0xba1c75(0x332)](_0x17508f),{'defIds':_0x286376[_0xba1c75(0x46a)],'idSuffix':_0x1debd7[_0xba1c75(0x32d)]},ee({'ref':_0x54d245,'className':_0x5abbd8},_0x127934),_0x160564);});function Ui(_0x4f422e,_0xcd8fd3,_0x1a6709,_0x2cb1c6,_0x24553f){const _0x51c730=_0x29d74e;return _0x462747(_0x4f422e[_0x51c730(0x19a)],ee(ee({'key':_0xcd8fd3},Qo(_0x4f422e,_0x1a6709,_0x24553f)),_0x2cb1c6),(ea(_0x4f422e,_0x1a6709)[_0x51c730(0x1c5)]||[])[_0x51c730(0x319)](function(_0x395cec,_0x529012){const _0xa3a285=_0x51c730;return Ui(_0x395cec,''[_0xa3a285(0x332)](_0xcd8fd3,'-')[_0xa3a285(0x332)](_0x4f422e[_0xa3a285(0x19a)],'-')[_0xa3a285(0x332)](_0x529012),_0x1a6709,void 0x0,_0x24553f);}));}function Qo(_0x34b137,_0xade1,_0x1aae7){const _0x10ad56=_0x29d74e;var _0x5c3532=ee({},_0x34b137[_0x10ad56(0x2bf)]);_0x1aae7!=null&&_0x1aae7['colorChannel1']&&_0x5c3532[_0x10ad56(0x3d5)]===_0x10ad56(0x4bc)&&(_0x5c3532['fill']=_0x1aae7[_0x10ad56(0x4bc)]);var _0x3e1326=_0xade1[_0x10ad56(0x46a)];return!_0x3e1326||_0x3e1326[_0x10ad56(0x400)]===0x0||(_0x34b137['tag']==='use'&&_0x5c3532[_0x10ad56(0x30e)]&&(_0x5c3532[_0x10ad56(0x30e)]=_0x5c3532[_0x10ad56(0x30e)]+_0xade1[_0x10ad56(0x405)]),Object[_0x10ad56(0x2e3)](_0x5c3532)[_0x10ad56(0x2d5)](function(_0x5d80b7){const _0x3e6f8c=_0x10ad56;var _0x4e3616=_0x5d80b7[0x0],_0x1aca54=_0x5d80b7[0x1];typeof _0x1aca54==_0x3e6f8c(0x1d3)&&(_0x5c3532[_0x4e3616]=_0x1aca54[_0x3e6f8c(0x2d1)](/url\(#(.*)\)/,_0x3e6f8c(0x186)[_0x3e6f8c(0x332)](_0xade1[_0x3e6f8c(0x405)],')')));})),_0x5c3532;}function ea(_0x16c98f,_0x151cbd){const _0x5bb631=_0x29d74e;var _0x2fb7a8,_0x220131=_0x151cbd[_0x5bb631(0x46a)];return!_0x220131||_0x220131[_0x5bb631(0x400)]===0x0?_0x16c98f:_0x16c98f[_0x5bb631(0x19a)]===_0x5bb631(0x3ef)&&(!((_0x2fb7a8=_0x16c98f[_0x5bb631(0x1c5)])===null||_0x2fb7a8===void 0x0)&&_0x2fb7a8['length'])?ee(ee({},_0x16c98f),{'children':_0x16c98f[_0x5bb631(0x1c5)][_0x5bb631(0x319)](function(_0x44ed60){const _0x39052d=_0x5bb631;return typeof _0x44ed60[_0x39052d(0x2bf)]['id']==_0x39052d(0x1d3)&&_0x220131&&_0x220131[_0x39052d(0x1b4)](_0x44ed60[_0x39052d(0x2bf)]['id'])>-0x1?ee(ee({},_0x44ed60),{'attrs':ee(ee({},_0x44ed60[_0x39052d(0x2bf)]),{'id':_0x44ed60[_0x39052d(0x2bf)]['id']+_0x151cbd[_0x39052d(0x405)]})}):_0x44ed60;})}):_0x16c98f;}function _0x2db9(){const _0x1c50d3=['getUnitOnRev','column','enableOfflineEditing','ERROR_IMAGE','_clearTimeoutTimer','BASE64','debug','redoState','_backgroundColor','telemetry\x20info\x20is\x20not\x20initialized','_range','origin','_startTelemetryCollaborationNewChangeset','exports','Base64','onStarting','_toggleOffline','BlockCipher','_map','verdancy600','startsWith','_retryConnectingTimer','_getAPIPrefix','INTERNAL_ERROR','_prevBlock','hovered','floor','transformSelections','onRemoteRej','init','rgba(255,\x20255,\x20255,\x200.01)','href','mode','_hash','JOIN','file','setConfig','_ensureSubject','subscribe','hide','_changesetReqId','storage','_getLoginPath','_resendWithTimeout','_ENC_XFORM_MODE','objects','docStateChange$','setShapeProps','toggleOnline','mutations','toLowerCase','_saveTaskMap','disposeWithMe','_getCtorByUniverType','Unknown\x20user','add','Hex','fill','withCredentials','_initMergeInterceptor','execute','/-/object/-/batch_allowed','buffer','_handleEvent','_collaborationController','getCurrentRevOfUnit','_unitStatus','getConfig','\x20-\x20','method','send','_onRemoteACK','getCellPositionByOffset','_configService','saveOfflineData','getCurrentUnitForType','Univer','_drawAnchor','_acknowledgedAwaitingChangeset','[PendingState]:\x20received\x20acknowledgement.','find','RECT','all','defs','syncEditingCollabCursor','MoveRangeCommandId','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_ACK','NOT_COLLAB','name','baseRev','_startDocCollabCursor','_rescheduleHeartbeat','path','blue400','_compressMutationService','_messageService','onTransformChange$','_getAPIPrefixPath','_labelPosition','length','SEND_CHANGESET_TIMEOUT','_tryReconnect','fillRule','onlineStatusIcon','idSuffix','_updateCollabCursors','onTransformState','_getScale','registerHTTPInterceptor','VIEW_MAIN','_scheduleTimestamp','range','HEARTBEAT_INTERVAL','className','?size=','/universer-api/snapshot/','_incrementRevisionNumber','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','updateMember','LIVESHARE_FETCH_OPERATIONS','_startCollaboration','/role','INGEST','getCurrentSelections','&assign=','COMPLETION_FINISHED','revision','_drawTextRange','location','symbol','_eventUnsubscribe','_session','fetchMissingChangesets','_remoteChangesetQueue','_sendHeartbeat','random','awaiting','cursorInfo','$super','cursorInfo$','evenodd','SYNCED','univer-online-status','json','save\x20fail\x20reason\x20is\x20','msCrypto','INVALID_ARGUMENT','lib','_toggleOnline','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','object','createEncryptor','memberID','DEFAULT_FILE_NAME','AWAITING','_onCombEvent','onTransformRemoteChangesetByIMECache','_substituteUndoStack','YUUMI_URL_COL_OUT_OF_RANGE','url','connection\x20error','setCurrentUser','_disableEditing','_stopTelemetryCollaborationNewChangeset','onPointerMove$','UnitEmbedded','stopTime','error','changesets','_schedule','onMouseMove','_lastPointer','getCollabCursors$','hasher','_clearUndo','onRendered','has','getCollabEntity$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[SyncedState]:\x20received\x20rejection.','deepClone','_initStatusComponent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_colorIndex','sheetID','_transformSelections','FAIL','transform','getUnitType','_urlService','_transitionLocked','onRemoteChangeset','saveSnapshot','_onRemoteRetry','_clearScheduledTask','resend','padding','onSendChangeset','round','_state$','LIVESHARE_REQUEST_HOST','_online','getRenderById','_logService','refreshPermission','defIds','online','enableAuthServer','call','_textBubble','unitID','off-line-single_clip0_910_343','univer-pro.collaboration-client-socket-service','pipe','addImageSourceCache','deleteCollaborator','__Key__','complete','awaiting_with_pending','_type','RECV','format','_getUndoStack','_initResize','fetching\x20missing\x20changesets\x20from\x20','getValue','mixIn','readAsDataURL','liveShareNewHost','black','EvpKDF','jiqing500','responseType','row','_nDataBytes','addObjects','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_sendHeartbeatTimer','_userManagerService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getFocusedUnit','YUUMI_RATE_OVER_LIMIT','_hideTimer','__creator','_state','/resources','apply','getOwnPropertyDescriptor','_colorAssignService','_reverseMap','transformStateCache','_removeClearOtherTimer','HMAC','initWorkbookPermissionChange','_nRounds','YUUMI_UNABLE_LOAD_URL','ivSize','_shouldReportTelemetry','message$','MD5','interceptor','sid','getDocRanges','fillText','_decreaseWaiting','allowed','_onConflict','createInstance','_throwTelemetryCollaborationNewChangeset','unpad','_onMessage','AWAITING_WITH_PENDING','_updateLocalCache','dispose','getUnitId','salt','_telemetryService','/allowed','_createHelper','sessionStatus','fetchMiss','_timeoutTimer','_shapes','setWaitCount','_handler','_removeCollabCursors','FETCH_MISS','colorChannel1','transformMutation','UNAUTHENTICATED','enableSingleActiveInstanceLock','_transformRemoteChangesetByIMECache','number','&to=','csRejEvent','_submitChangeset','_waitForHeartbeatResponse','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','status','_onLocalMutation','Hasher','transformMutationsWithChangeset','_scheduleSaving','pending','_saveCache','requestParams','kdf','_process','image/jpeg','_append','encode','getOwnPropertySymbols','NEW_CHANGESETS','_docStateChangeManagerService','pushState','restore','_beforeCloseService','_onConnectionFailed','collab-text-range-','now','charCodeAt','history','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_cursors','confirm','onCommandExecuted','_unitID','_iv','default','_transformPreviousActiveRange','_getSignURL','collaboration-client.config','triggerDblclick','OFFLINE','_commandService','_setupSubUnitSync','Cipher','Undefined','MSG_FOR_ERROR','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HttpExport','create','YUUMI_SUBSCRIPTION_NOT_FOUND','_onConnectionOpen','socket$','delete','m1Prime','BufferedBlockAlgorithm','/new_changes','_initStatusListener','_transformStack','clear','484540CVeXFo','_send','_collabCursorState$','onStateChange','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_localeService','_cursorShapes','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','readInt32LE','_DEC_XFORM_MODE','_parse','_heartbeatTimer','_checkMissing','onload','unitId\x20is\x20not\x20found','cfg','_render','RemoveColCommandId','_minBufferSize','M0\x200H16V16H0z','8XhiTMp','currentTheme$','onlineStatusTitle','_hasher','_cachedData','headers','icon','makeDirty','snapshotServerUrl','_anchorDot','PENDING','hidden','LIVESHARE_OPERATION','getRandomValues','getImageSourceCache','submit\x20changeset\x20error!','2433955EbaJtM','asObservable','objectID','_ws','csShouldRetryEvent','_getMergeRange','getSkeleton','NO_OTHER_CLIENTS_EDITING','show','propertyIsEnumerable','transformChangesets','closeSession','close$','PERMISSION_REJ','USERS_ENTER','isPermissionRej','image/gif','stringify','collaboration.single-unit.warning','_onOffline','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[SyncedState]:\x20received\x20acknowledgement.','[PendingState]:\x20received\x20rejection.','_telemetryInfo','_snapshotService','_memberService','duration','_doCryptBlock','_socketReady','image/jpg','getParam','InsertRangeMoveDownCommandId','NOT_FOUND','displayName','trim','HEARTBEAT_TIMEOUT','_unlockTransition','_lockTransition','_cursorInfo$','filter','_revisionService','activeSheet$','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','currentSkeleton$','downloadEndpointUrl','_themeService','fromCharCode','getTypeOfUnitAdded$','_invKeySchedule','session.collaboration-timeout','onRemoteRetry','textRanges','UNIVER_SHEET','registerComponent','_drawRectRange','_removeRoom','unitId','c1Prime','HmacSHA1','conflict','onSyncEditingCollabCursor','Base','&source=','FromArray','status$','copyFileMeta','_getCurrentRevision','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_DISTRO_REJECTED','getItem','transformRemoteChangeset','roles','_loadSheet','update','/universer-api/comb','WordArray','getImage','_collaborationPaused','setAlpha','_initUnitPermissionChange','collab-client.tooltip.reconnect','fromCollab','getUniverSheetInstance','setShowComponents','_transformRemoteChangesetByStateCache','TEXT','/unit/','_registerDependencies','OpenSSL','eventID','none','parse','_clearHeartbeatTimer','_replayCachedMutations','_config','_joinRoom','UNIVER_PROJECT','ranges','uni.network.url-service','UUID','_redoStacks','Decryptor','[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.','next','IDLE','get','endRow','_candidateSocket','listRoles','replaceState','removeMember','decrypt','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','POST','CHANGESET_REJ','loginUrlKey','measureText','push','onlineStatus','_getSendChangesetTimeout','url(#$1','StreamCipher','[CollaborationSessionService]:\x20socket\x20error','_hovered','_status$','patch','_initEventListeners','_sheetSkeletonManagerService','resize','userID','NoPadding','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UNRECOGNIZED','_initDependencies','blockSize','endColumn','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_keySchedule','_sender','_instanceService','tag','onPointerLeave$','_transformUndoRedoStack','code','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadSheet','CBC','disableLocalCache','_getSheetObject','_resendTimer','focused$','ALREADY_EXISTS','visibilitychange','[OfflineState]:\x20received\x20changeset.','_listenToOnlineEvent','text','searchParams','newValue','_id','retryConnectingInterval','transformByState','[CollaborationUndoRedoService]','_entityInit$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_injector','transformIMECache','indexOf','114144nwpjqI','TOO_MANY_REQUESTS','prototype','_tryEnsureSocket','sheets','fetch_missing','?url=','_cipher','_undoStacks','startColumn','_oKey','editingUnit','createCollaborator','commentUpdate$','_httpService','target','children','AES','joinEvent','startTime','_awaitingChangeset','_transformUndoredo','height','session.connection-failed','c2Prime','SUBMIT_CHANGESET','_scene','_event$','_queuedRemoteChangesets','SUCCUSS','string','_handleHeartbeatEvent','encodeURIComponent','includes','Latin1','getTime','_getDownloadEndpointURL','data','sessionStatus$','getMember','createSocket','ciphertext','_resendTimeout','getStateCache','_initCommandExecutedListener','_onUserJoin','clearTimeout','_substituteRedoStack','_localStorageService','_HTTPService','transformStack\x20failed!','onTransformSelections','_handleLeaveEvent','COMMENT_UPDATE','_updateSubUnitFromURLParams','onReady','LIVESHARE_TERMINATE','getRelativeToViewportCoord','error$','reverse','drawWith','_singleActiveUnitService','_notificationService','APPLY_REJECT','_sheetTransformSelectionsService','_syncEditingCollabCursor','onMissedChangesetFetched','charAt','selection','APPLY_NON_SEQUENTIAL_REVISION','iterations','_scheduleClearOtherTimer','uploadFileServerUrl','collaMsg','onTransformRemoteChangesetByStateCache','UNDEFINED','dispose$','formatter','setItem','then','_docTransformIMECacheService','_doFinalize','generateRandomId','processBlock','_setupBeforeClosingHandler','clearInterval','ONLINE','updatePermissionObjEvent','state$','_docSyncEditingCollabCursorService','permission.content','univerjs-icon\x20univerjs-icon-','startRow','AUTHZ_URL_KEY','batchAllowed','ERROR_EXCEED_SIZE','UNIVER_UNKNOWN','newCsEvent','SHOULD_CLOSE_CONN','_collaborationTimeoutTimer','setInterval','CHANGESET_SHOULD_RETRY','slice','rev','cmd','SNAPSHOT_INVALID_SNAPSHOT','getAncestorScale','backgroundColor','getResourcesRequest','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UNKNOWN_CMD','requireSession','_onJoinRoomEvent','unit-cache-','9036918AUOLON','list','defineProperty','shouldCloseConn','_key','_roomMembers$','Warning','failed\x20to\x20apply\x20missed\x20changesets!','reconnect','reset','bind','appendMutation','_pendingMutations','_transformHistoryAndStateStack','univer-online-status-title','roomInfos','offline','_assignedColors','some','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','pauseCollaboration','...','clipPath','LOCAL_CACHE_INTERVAL','_getSaveTimeout','univer-pro.collaboration-client.single-active-unit-service','fetchThroughInterceptors','joinRsp','post','SerializableCipher','UnitSnapshot','sin','x-univer-host','disposeUnit','\x0aCurrent:\x20','capture','findNodePositionByCharIndex','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_clearLocalCache','subUnitId','_xformMode','_imageSourceCache','1em','isEditing','COMPRESS_MUTATION_APPLY','roomMembers','undoState','updateOfflineData','body','_replaceFileID','registerOnClose','pad','_doProcessBlock','_socket$','Utf8','SNAPSHOT_HAS_BEEN_REMOVED','enc','collabStatus.offline','HEARTBEAT','algo','routeKey','result','getLatestCsReqIdBySid','_listenToOfflineEvent','sheetId','_entities','UPDATE_PERMISSION_OBJ','_onRemoteRejected','words','_renderManagerService','assign','_changesetSessionId','collabCursorState$','_handleJoinEvent','_getSnapshotAPIPrefix','_syncEditingCollabCursorService','updatePermissionPoint','whenReady','/universer-api/oidc/authpage','collabStatus.notCollab','_retryCount','SHA1','_initCloseConn','size','_fetchMissChangesets','_anchor','_init','substring','#FFF','min','_permissionService','collaboratorID','1010456cSMPsL','originalMeta','_createSocket','USERS_LEAVE','collaboration_new_changeset','PSEUDO_FETCH_MISSING_RESULT','[CollaborationEntity]','_commentUpdate$','override','arc','_selfUnitIDs','_members','saveChangeset','getCurrent','signUrlServerUrl','_clearRedo','reqId','_scheduleHeartbeat','PERMISSION_DENIED','saveSheetBlock','socket\x20close','_collabSessionService','popstate','objectType','_handleHover','from','enableLocalCache','lineTo','split','roomMembers$','event$','reject','_undoRedoService','socket\x20open.','_mode','liveShareOperation','createDecryptor','FileId','/fetchmissing?from=','toggleOffline','univer-online-status-icon','_snapshotServerService','/collaborator','onRemoteAck','OffLineSingle','url(#off-line-single_clip0_910_343)','_cursor','/block/','session','LIVESHARE_NEW_HOST','JOINING','doc.mutation.rich-text-editing','_docSkeletonManagerService','onMissingChangesets','collaboration-session-retry','/universer-api/snapshot','subunit','repeat','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','collaborators','attrs','_socket','UNIVER_COLLABORATION_CLIENT_PLUGIN','substr','registerBeforeClose','[CollaborationSessionService]','unit','APPLY_PERMISSION_DENIED','Could\x20not\x20dynamically\x20require\x20\x22','addEventListener','_localCacheService','_getUploadFileURL','transformUndoRedo','HmacMD5','randomUUID','_docSkeleton','on-line-single_clip0_910_349','[DataLoaderController]','replace','sigBytes','action','_socketMessageSubscription','forEach','_createHandler','registerRenderModule','engine','getUnitStatus$','ENSURE_SNAPSHOT_EXECUTION','univer-offline','_docTransformSelectionsService','every','_onRefRangeChange','setTimeout','_onRemoteChangeset','_disabled','_clearOtherTimers','entries','_transformIMECache','byteLength','editing\x20status\x20changed\x20to','clone','color','toRgbString','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','getMergeData','LICENSE_EXPORT_SIZE_EXCEEDED','BlockCipherMode','_createHmacHelper','/object/','_sessionStatus$','put','CONNECTOR_DATA_TOO_LARGE','_transformService','onTransformIME','UNIVER_DOC','_startSheetCollabCursor','_draw','DeleteRangeMoveUpCommandId','_uiPartsService','reduce','getMemberID','HttpImport','UPDATE_CURSOR','permission.title','_sessions','_initRequestHeader','flatMap','collabStatus.synced','workbook','contains','UniverIcon','OTHER_CLIENTS_EDITING','decryptBlock','_sendingTimer','[CollaborationSession]','Error\x20on\x20receiving\x20event','FETCH_MISSING','authzUrl','xlink:href','bottom','_getAnchorBounding','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','_updateLocalCursor','putCollaborators','getSheetBySheetId','getOffsetConfig','2899635RkFvgu','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','open$','map','_exhaustRemoteChangesetQueue','conflict.content','setStateCache','onPointerEnter$','getVpScrollXYInfoByPosToVp','function','APPLY_REVISION_CONFILICT','_doReset','_refreshCollabCursors','getActiveRange','/object','session.room-full','values','crypto','unknown','_onCursorUpdate','close','SNAPSHOT_URL_KEY','synced','current','UNIVER_SLIDE','Malformed\x20UTF-8\x20data','_collaborationSessionService','_hover','concat','_keyPriorReset','keySize','permissionRejEvent','loadOfflineData','collabStatus.syncing','updateCursorEvent','infoRsp','exhaustSavingTask','CHANGESET_REVISION_CONFILICT','_scheduleCollaborationTimeoutTimer','executeCommand','LEAVE','getSheetBlock','save','assignAColorForMemberID','getRangePointData','[UniverCollaborationClientPlugin]','join','_context','catch','compose','CONFLICT','#fff','encrypt','labelPosition','RemoveRowCommandId','_document','not_collab','collab-rect-range-','HELLO','hostname','_unitOnClients','unshift','title','awaitingChangeset','subscribeEvent','red300','max','hasOwnProperty','_createInitialState','_applyRemoteChangeset','getUndoRedoMutationParamsCache','visibilityState','actions','_refRangeService','_docTransformStateCacheService','_iKey','commentUpdateEvent','getCurrentUser','Error','UNKNOWN_CODE','_updateStatus','div','getCollabEntity','MUTATION','selections','m2Prime','14712272mwFrxZ','set','removeParam','_http','off-line-single','getSheetId','_executeRemoteChangeset','clamp','state','_change$','/universer-api/authz','_getRedoStack','addObject','type','HEADER_MENU','width','_updateURLWithCurrentState','CipherParams','localeService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','loadDoc','collaboration.closeRoom','_roomMembers','_data','finalize','Pkcs7','isArray','_univerInstanceService','_waitCount','isActive','key','_collabCursorController','saveImage','extend','_onCursorDelete','params','getActiveSheet','getInterceptPoints','unsubscribe','_socketService','toString','_name','_color','_commentService','COMPRESS_MUTATION_SEND','_registerRenderDependencies','_updateState','getUnit'];_0x2db9=function(){return _0x1c50d3;};return _0x2db9();}function ta(){const _0x8f99d5=_0x29d74e;return Math[_0x8f99d5(0x424)]()[_0x8f99d5(0x394)](0x24)[_0x8f99d5(0x27e)](0x2,0x8);}Es[_0x29d74e(0x12f)]=_0x29d74e(0x306);var sa={'tag':'svg','attrs':{'fill':_0x29d74e(0x168),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x29d74e(0x251)},'children':[{'tag':'g','attrs':{'clipPath':_0x29d74e(0x2b0)},'children':[{'tag':_0x29d74e(0x3f9),'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':_0x29d74e(0x463),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29d74e(0x3ef),'attrs':{},'children':[{'tag':_0x29d74e(0x23d),'attrs':{'id':_0x29d74e(0x470)},'children':[{'tag':_0x29d74e(0x3f9),'attrs':{'fill':_0x29d74e(0x349),'d':_0x29d74e(0xfd)}}]}]}],'defIds':[_0x29d74e(0x470)]},Ni=_0x519233(function(_0x18a179,_0x54faf2){const _0x496784=_0x29d74e;return _0x462747(Es,Object[_0x496784(0x26d)]({},_0x18a179,{'id':_0x496784(0x370),'ref':_0x54faf2,'icon':sa}));});Ni[_0x29d74e(0x12f)]=_0x29d74e(0x2af);var ia={'tag':'svg','attrs':{'fill':_0x29d74e(0x168),'viewBox':'0\x200\x2017\x2016','width':_0x29d74e(0x251),'height':_0x29d74e(0x251)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x29d74e(0x3f9),'attrs':{'stroke':'currentColor','d':_0x29d74e(0x311),'strokeLinecap':'round','strokeLinejoin':_0x29d74e(0x463),'strokeWidth':1.2}}]},{'tag':_0x29d74e(0x3ef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x29d74e(0x2cf)},'children':[{'tag':_0x29d74e(0x3f9),'attrs':{'fill':_0x29d74e(0x349),'d':_0x29d74e(0xfd),'transform':'translate(.97)'}}]}]}],'defIds':[_0x29d74e(0x2cf)]},Ai=_0x519233(function(_0xfecd11,_0x831b90){const _0x5b97ba=_0x29d74e;return _0x462747(Es,Object[_0x5b97ba(0x26d)]({},_0xfecd11,{'id':'on-line-single','ref':_0x831b90,'icon':ia}));});Ai[_0x29d74e(0x12f)]='OnLineSingle';function Mi(_0xa501fd){const _0x5be026=_0x29d74e;var _0x15651f,_0x591a9f,_0x4a3116='';if(typeof _0xa501fd==_0x5be026(0x1d3)||typeof _0xa501fd==_0x5be026(0x4c1))_0x4a3116+=_0xa501fd;else{if(typeof _0xa501fd==_0x5be026(0x433)){if(Array[_0x5be026(0x386)](_0xa501fd)){var _0x69abe4=_0xa501fd['length'];for(_0x15651f=0x0;_0x15651f<_0x69abe4;_0x15651f++)_0xa501fd[_0x15651f]&&(_0x591a9f=Mi(_0xa501fd[_0x15651f]))&&(_0x4a3116&&(_0x4a3116+='\x20'),_0x4a3116+=_0x591a9f);}else{for(_0x591a9f in _0xa501fd)_0xa501fd[_0x591a9f]&&(_0x4a3116&&(_0x4a3116+='\x20'),_0x4a3116+=_0x591a9f);}}}return _0x4a3116;}function na(){const _0x5503c2=_0x29d74e;for(var _0x194243,_0x73c42,_0xa8d248=0x0,_0x3042e0='',_0x42a711=arguments[_0x5503c2(0x400)];_0xa8d248<_0x42a711;_0xa8d248++)(_0x194243=arguments[_0xa8d248])&&(_0x73c42=Mi(_0x194243))&&(_0x3042e0&&(_0x3042e0+='\x20'),_0x3042e0+=_0x73c42);return _0x3042e0;}const ra=_0x29d74e(0x2ab),oa=_0x29d74e(0x235),aa=_0x29d74e(0x42b),ca='univer-online',ha=_0x29d74e(0x2db),Ze={'onlineStatusIcon':ra,'onlineStatusTitle':oa,'onlineStatus':aa,'online':ca,'offline':ha};function la(_0x60262b){const _0x173c03=_0x29d74e;switch(_0x60262b){case J['OFFLINE']:return _0x173c03(0x260);case J[_0x173c03(0x348)]:return'collabStatus.conflict';case J[_0x173c03(0x4bb)]:return'collabStatus.fetchMiss';case J[_0x173c03(0x3f4)]:return _0x173c03(0x276);case J['AWAITING']:case J[_0x173c03(0x4ac)]:return _0x173c03(0x337);case J[_0x173c03(0x42a)]:case J['PENDING']:return _0x173c03(0x303);}}function _a(_0x5439ad){const _0x297bca=_0x29d74e,{status$:_0x5c80bd}=_0x5439ad,_0x5397e8=_0x1dd784(_0x5c80bd,J[_0x297bca(0x3f4)]),_0x3ccffd=_0x15e79c(_0x10be55),_0x5832e2=_0x15e79c(Ne),_0x202f3f=_0x5397e8!==J[_0x297bca(0x4ea)],_0x1bf296=_0x3ccffd['t'](la(_0x5397e8)),_0x1d1a82=na(Ze[_0x297bca(0x184)],{[Ze[_0x297bca(0x46b)]]:_0x202f3f,[Ze['offline']]:!_0x202f3f}),_0x4ffdf2=_0x202f3f?_0x17a3c7(Ai,{}):_0x17a3c7(Ni,{}),_0x31c739=_0x1fd2a1(()=>{const _0x3ab32f=_0x297bca;_0x202f3f||_0x5832e2[_0x3ab32f(0x22f)]();},[_0x202f3f,_0x5832e2]);function _0x9341e4(){const _0x413fb0=_0x297bca;return _0x140b2e(_0x413fb0(0x367),{'className':_0x1d1a82,'onClick':_0x31c739,'children':[_0x17a3c7(_0x413fb0(0x367),{'className':Ze[_0x413fb0(0x404)],'children':_0x4ffdf2}),_0x17a3c7(_0x413fb0(0x367),{'className':Ze[_0x413fb0(0x100)],'children':_0x1bf296})]});}return _0x202f3f?_0x9341e4():_0x17a3c7(_0x267fce,{'title':_0x3ccffd['t'](_0x297bca(0x15e)),'children':_0x9341e4()});}var ua=Object[_0x29d74e(0x229)],da=Object['getOwnPropertyDescriptor'],fa=(_0x3ab010,_0x3fc802,_0xd98b01,_0x399a27)=>{const _0x3c6dab=_0x29d74e;for(var _0x478011=_0x399a27>0x1?void 0x0:_0x399a27?da(_0x3fc802,_0xd98b01):_0x3fc802,_0xba2e99=_0x3ab010[_0x3c6dab(0x400)]-0x1,_0x5e1ac3;_0xba2e99>=0x0;_0xba2e99--)(_0x5e1ac3=_0x3ab010[_0xba2e99])&&(_0x478011=(_0x399a27?_0x5e1ac3(_0x3fc802,_0xd98b01,_0x478011):_0x5e1ac3(_0x478011))||_0x478011);return _0x399a27&&_0x478011&&ua(_0x3fc802,_0xd98b01,_0x478011),_0x478011;},ht=(_0x3b8411,_0x422dd4)=>(_0x12155b,_0x2266fc)=>_0x422dd4(_0x12155b,_0x2266fc,_0x3b8411);let St=class extends _0x3755da{constructor(_0x30079d,_0xab186f,_0x3d1d19,_0x5d2819){const _0x3659a2=_0x29d74e;super(),g(this,_0x3659a2(0x18a),new _0x260ce9(J[_0x3659a2(0x3f4)])),(this[_0x3659a2(0x387)]=_0x30079d,this[_0x3659a2(0x2fa)]=_0xab186f,this['_injector']=_0x3d1d19,this[_0x3659a2(0x3dc)]=_0x5d2819,this[_0x3659a2(0x452)](),this[_0x3659a2(0x4fa)]());}[_0x29d74e(0x4fa)](){const _0x50ee50=_0x29d74e;this[_0x50ee50(0x3d0)](this[_0x50ee50(0x387)][_0x50ee50(0x1a4)]['pipe'](_0xb89769(()=>{const _0x36bc12=_0x50ee50,_0x5c879e=this[_0x36bc12(0x387)][_0x36bc12(0x48d)]();return _0x5c879e?this[_0x36bc12(0x3dc)][_0x36bc12(0x44e)](_0x5c879e[_0x36bc12(0x4af)]()):_0x4931a8(null);}),_0xb89769(_0x1c1cef=>_0x1c1cef?_0x1c1cef[_0x50ee50(0x14e)]:_0x4931a8(J[_0x50ee50(0x3f4)])))['subscribe'](_0x3cb190=>{const _0x1fea5c=_0x50ee50;this[_0x1fea5c(0x18a)]['next'](_0x3cb190);}));}[_0x29d74e(0x452)](){const _0x5d3190=_0x29d74e;this[_0x5d3190(0x3d0)](this[_0x5d3190(0x2fa)][_0x5d3190(0x143)](_0x11ebc1[_0x5d3190(0x37a)],()=>_0x49e990(va({'status$':this[_0x5d3190(0x18a)][_0x5d3190(0x10f)]()}),this[_0x5d3190(0x1b2)])));}};St=fa([ht(0x0,_0x4c5fa7),ht(0x1,_0x30f7bf),ht(0x2,_0x37efa2(_0x1e339b)),ht(0x3,_0x37efa2(it))],St);function va(_0x1a3b75){const {status$:_0x554de2}=_0x1a3b75;return function(){return _0x17a3c7(_a,{'status$':_0x554de2});};}const xi=_0x1f1029(_0x29d74e(0x170));var ma=Object[_0x29d74e(0x229)],pa=Object[_0x29d74e(0x494)],ga=(_0x233e3f,_0x237039,_0x5a5f67,_0x57cecf)=>{const _0x3abf8e=_0x29d74e;for(var _0x444338=_0x57cecf>0x1?void 0x0:_0x57cecf?pa(_0x237039,_0x5a5f67):_0x237039,_0x38f15e=_0x233e3f[_0x3abf8e(0x400)]-0x1,_0x1d1147;_0x38f15e>=0x0;_0x38f15e--)(_0x1d1147=_0x233e3f[_0x38f15e])&&(_0x444338=(_0x57cecf?_0x1d1147(_0x237039,_0x5a5f67,_0x444338):_0x1d1147(_0x444338))||_0x444338);return _0x57cecf&&_0x444338&&ma(_0x237039,_0x5a5f67,_0x444338),_0x444338;},Be=(_0x1db41c,_0x14a1eb)=>(_0x610951,_0x445564)=>_0x14a1eb(_0x610951,_0x445564,_0x1db41c);let It=class extends _0x44a670{constructor(_0x569f8f,_0x5abe05,_0x6e73cc,_0x1fb18d,_0x1d87ff,_0x77ec59){const _0x1c8d6b=_0x29d74e;super(),this[_0x1c8d6b(0x45a)]=_0x569f8f,this[_0x1c8d6b(0x468)]=_0x5abe05,this[_0x1c8d6b(0x4eb)]=_0x6e73cc,this[_0x1c8d6b(0x2c9)]=_0x1fb18d,this[_0x1c8d6b(0x126)]=_0x1d87ff,_0x77ec59?_0x77ec59==null||_0x77ec59[_0x1c8d6b(0x274)]()[_0x1c8d6b(0x204)](()=>this[_0x1c8d6b(0x27d)]()):(this[_0x1c8d6b(0x468)]['debug'](_0x1c8d6b(0x2d0),_0x1c8d6b(0x453)),this[_0x1c8d6b(0x27d)]());}async[_0x29d74e(0x27d)](){const _0x427b35=_0x29d74e,_0x572d7e=this['_urlService'][_0x427b35(0x12c)]('unit'),_0x3e54a0=this[_0x427b35(0x45a)][_0x427b35(0x12c)](_0x427b35(0x379));if(!_0x572d7e||!_0x3e54a0){this[_0x427b35(0x468)][_0x427b35(0x3a2)](_0x427b35(0x2d0),_0x427b35(0x19e));return;}switch(Number(_0x3e54a0)){case ce[_0x427b35(0x142)]:{const _0x3a47d7=await this[_0x427b35(0x156)](_0x572d7e);this[_0x427b35(0x4ec)](_0x3a47d7);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x572d7e);break;}default:{this[_0x427b35(0x468)][_0x427b35(0x444)](_0x427b35(0x2d0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0x233a4b){const _0x4e64c6=_0x29d74e;await this['_updateSubUnitFromURLParams'](_0x233a4b),_0x233a4b[_0x4e64c6(0x137)]['pipe'](_0xb0a601(this['dispose$']))['subscribe'](_0x4110d3=>{const _0x325cf3=_0x4e64c6;_0x4110d3&&this[_0x325cf3(0x37c)](_0x4110d3);}),this[_0x4e64c6(0x45a)]['urlChange$'][_0x4e64c6(0x472)](_0xb0a601(this[_0x4e64c6(0x201)]))[_0x4e64c6(0x3c2)](()=>this['_updateSubUnitFromURLParams'](_0x233a4b));}[_0x29d74e(0x37c)](_0x46979,_0x1278b6=!0x1){const _0x210a92=_0x29d74e,_0x5c8ed4=this[_0x210a92(0x45a)][_0x210a92(0x12c)](_0x210a92(0x2bb));_0x46979['getSheetId']()!==_0x5c8ed4&&this[_0x210a92(0x45a)]['setParam'](_0x210a92(0x2bb),_0x46979[_0x210a92(0x371)](),_0x1278b6);}async[_0x29d74e(0x1eb)](_0x4abf7a){const _0x5e5df7=_0x29d74e;var _0x546661;const _0x322ffe=this[_0x5e5df7(0x45a)][_0x5e5df7(0x12c)]('subunit');if(!_0x322ffe||!_0x4abf7a['getSheetBySheetId'](_0x322ffe)){const _0x31b49a=_0x4abf7a['getUnhiddenWorksheets']()[0x0],_0x34e19e=_0x4abf7a[_0x5e5df7(0x314)](_0x31b49a);if(!_0x34e19e)return;this[_0x5e5df7(0x37c)](_0x34e19e,!0x0),await this[_0x5e5df7(0x4eb)][_0x5e5df7(0x33d)](_0x3a907a['id'],{'unitId':_0x4abf7a[_0x5e5df7(0x4af)](),'subUnitId':_0x31b49a});return;}((_0x546661=_0x4abf7a[_0x5e5df7(0x390)]())==null?void 0x0:_0x546661[_0x5e5df7(0x371)]())!==_0x322ffe&&await this['_commandService']['executeCommand'](_0x3a907a['id'],{'unitId':_0x4abf7a[_0x5e5df7(0x4af)](),'subUnitId':_0x322ffe});}async['_loadSheet'](_0x45fc6d){const _0x4a01eb=_0x29d74e;let _0x2524be=0x0;const _0x2cd08f=await this[_0x4a01eb(0x2c9)][_0x4a01eb(0x336)](_0x45fc6d);return _0x2cd08f&&(_0x2cd08f[_0x4a01eb(0x355)]||_0x2cd08f[_0x4a01eb(0x3cd)]['length']!==0x0)&&(_0x2524be=_0x2cd08f[_0x4a01eb(0x21c)]),_0x2524be===0x0&&this[_0x4a01eb(0x468)][_0x4a01eb(0x3a2)](_0x4a01eb(0x2d0),_0x4a01eb(0x432)),this[_0x4a01eb(0x126)][_0x4a01eb(0x19f)](_0x45fc6d,_0x2524be);}async['_loadDoc'](_0x587a77){const _0x5cb94d=_0x29d74e;let _0x568ea6=0x0;const _0x572ae5=await this['_localCacheService'][_0x5cb94d(0x336)](_0x587a77);return _0x572ae5&&(_0x572ae5[_0x5cb94d(0x355)]||_0x572ae5[_0x5cb94d(0x3cd)]['length']!==0x0)&&(_0x568ea6=_0x572ae5[_0x5cb94d(0x21c)]),_0x568ea6===0x0&&this[_0x5cb94d(0x468)][_0x5cb94d(0x3a2)](_0x5cb94d(0x2d0),_0x5cb94d(0x432)),this['_snapshotService'][_0x5cb94d(0x380)](_0x587a77,_0x568ea6);}};It=ga([Be(0x0,xi),Be(0x1,_0x2b335c),Be(0x2,_0xc41305),Be(0x3,_0x37efa2(q)),Be(0x4,_0x37efa2(_0x7ad995)),Be(0x5,_0x4e2ed1(_0x1a02c6))],It);var Sa=Object[_0x29d74e(0x229)],Ia=Object[_0x29d74e(0x494)],Ca=(_0x1e82ef,_0x5f3e0c,_0x372dfe,_0x46829b)=>{const _0x1ba94b=_0x29d74e;for(var _0x294582=_0x46829b>0x1?void 0x0:_0x46829b?Ia(_0x5f3e0c,_0x372dfe):_0x5f3e0c,_0x4f3871=_0x1e82ef[_0x1ba94b(0x400)]-0x1,_0x1693c0;_0x4f3871>=0x0;_0x4f3871--)(_0x1693c0=_0x1e82ef[_0x4f3871])&&(_0x294582=(_0x46829b?_0x1693c0(_0x5f3e0c,_0x372dfe,_0x294582):_0x1693c0(_0x294582))||_0x294582);return _0x46829b&&_0x294582&&Sa(_0x5f3e0c,_0x372dfe,_0x294582),_0x294582;},Ys=(_0x3f6de2,_0x2644ad)=>(_0x20b0e7,_0x26fd38)=>_0x2644ad(_0x20b0e7,_0x26fd38,_0x3f6de2);const Ea=_0x29d74e(0x436),ba=_0x29d74e(0x3e8);let Ct=class extends _0x3755da{constructor(_0x1e2b25,_0x363cdd){const _0x4952ef=_0x29d74e;super(),this['_univerInstanceService']=_0x1e2b25,this[_0x4952ef(0x3e5)]=_0x363cdd,this['_init']();}[_0x29d74e(0x27d)](){const _0x37e559=_0x29d74e;this[_0x37e559(0x3d0)](this[_0x37e559(0x387)][_0x37e559(0x1a4)][_0x37e559(0x3c2)](()=>{const _0xafd91d=_0x37e559;var _0x546c3a;const _0x5a8d2f=this[_0xafd91d(0x387)][_0xafd91d(0x48d)]();let _0x1d5490=(_0x546c3a=this['_configService'][_0xafd91d(0x3df)](Ea))!=null?_0x546c3a:ba;_0x5a8d2f instanceof _0x43f26f&&(_0x1d5490=_0x5a8d2f[_0xafd91d(0x3f5)]),document[_0xafd91d(0x354)]=_0x1d5490;}));}};Ct=Ca([Ys(0x0,_0x4c5fa7),Ys(0x1,_0x167231)],Ct);var Ta=Object['defineProperty'],Ra=Object[_0x29d74e(0x494)],ya=(_0x22fa72,_0x2621da,_0x4a1427,_0x49efe5)=>{const _0x4a2140=_0x29d74e;for(var _0x281e55=_0x49efe5>0x1?void 0x0:_0x49efe5?Ra(_0x2621da,_0x4a1427):_0x2621da,_0x464ef7=_0x22fa72[_0x4a2140(0x400)]-0x1,_0x5db0ab;_0x464ef7>=0x0;_0x464ef7--)(_0x5db0ab=_0x22fa72[_0x464ef7])&&(_0x281e55=(_0x49efe5?_0x5db0ab(_0x2621da,_0x4a1427,_0x281e55):_0x5db0ab(_0x281e55))||_0x281e55);return _0x49efe5&&_0x281e55&&Ta(_0x2621da,_0x4a1427,_0x281e55),_0x281e55;},kt=(_0x4ce099,_0x2cc629)=>(_0xd21df8,_0x18bfe6)=>_0x2cc629(_0xd21df8,_0x18bfe6,_0x4ce099);let Et=class{constructor(_0xc7f1b5,_0x51846c,_0x2d15fd){const _0x542d8e=_0x29d74e;this[_0x542d8e(0x3e5)]=_0xc7f1b5,this[_0x542d8e(0x1c3)]=_0x51846c,this[_0x542d8e(0x37e)]=_0x2d15fd,this[_0x542d8e(0x3b9)]();}['init'](){const _0x35c478=_0x29d74e;this[_0x35c478(0x1c3)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x7554fa,_0x1c4bd2)=>_0x1c4bd2(_0x7554fa)[_0x35c478(0x472)](_0x21939c(async _0x2bf5c0=>{const _0x5e2cb2=_0x35c478,_0xb8b508=_0x2bf5c0;if(_0xb8b508[_0x5e2cb2(0x4c7)]===0x191&&window[_0x5e2cb2(0x4e1)](this[_0x5e2cb2(0x37e)]['t']('auth.needGotoLoginAlert'))){const _0x3a8db4=window[_0x5e2cb2(0x1d5)](window['location'][_0x5e2cb2(0x3bb)]);window[_0x5e2cb2(0x41d)][_0x5e2cb2(0x3bb)]=this['_getLoginPath']()+_0x5e2cb2(0x1bb)+_0x3a8db4;}return _0xb8b508;}))});}[_0x29d74e(0x3c6)](){const _0x2d2b91=_0x29d74e;var _0x2ac5f0,_0x3e2a22;const _0x403196=this['_configService'][_0x2d2b91(0x3df)](Sr),_0x4819cc=this[_0x2d2b91(0x3e5)][_0x2d2b91(0x3df)](ie);return(_0x3e2a22=(_0x2ac5f0=_0x4819cc==null?void 0x0:_0x4819cc[_0x2d2b91(0x181)])!=null?_0x2ac5f0:_0x403196)!=null?_0x3e2a22:Ir;}};Et=ya([kt(0x0,_0x167231),kt(0x1,_0x37efa2(_0x28ac76)),kt(0x2,_0x37efa2(_0x10be55))],Et);var Oa=Object[_0x29d74e(0x229)],wa=Object[_0x29d74e(0x494)],Da=(_0x1ccf38,_0xbb167a,_0x1167a4,_0x5a63d7)=>{const _0x20c7ec=_0x29d74e;for(var _0x507d64=_0x5a63d7>0x1?void 0x0:_0x5a63d7?wa(_0xbb167a,_0x1167a4):_0xbb167a,_0x45221e=_0x1ccf38[_0x20c7ec(0x400)]-0x1,_0x153fa7;_0x45221e>=0x0;_0x45221e--)(_0x153fa7=_0x1ccf38[_0x45221e])&&(_0x507d64=(_0x5a63d7?_0x153fa7(_0xbb167a,_0x1167a4,_0x507d64):_0x153fa7(_0x507d64))||_0x507d64);return _0x5a63d7&&_0x507d64&&Oa(_0xbb167a,_0x1167a4,_0x507d64),_0x507d64;},Ks=(_0x3462a0,_0x1feaa6)=>(_0x19d520,_0x134c66)=>_0x1feaa6(_0x19d520,_0x134c66,_0x3462a0);const Pa=_0x29d74e(0x212),Ua=_0x29d74e(0x376);let os=class extends _0x3755da{constructor(_0x26378c,_0x3945d0){const _0xf47e8b=_0x29d74e;super(),this[_0xf47e8b(0x1e6)]=_0x26378c,this[_0xf47e8b(0x3e5)]=_0x3945d0,this[_0xf47e8b(0x3d7)]();}[_0x29d74e(0x3d7)](){const _0x13cda8=_0x29d74e,_0x197237=this;this['disposeWithMe'](this[_0x13cda8(0x1e6)][_0x13cda8(0x409)]({'priority':0x3e7,'interceptor':_0x9684c3({'isMatch'(_0x2e2545){const _0x1643f1=_0x13cda8;var _0x498707;if(_0x2e2545[_0x1643f1(0x3e1)]===_0x1643f1(0x17f)&&((_0x498707=_0x2e2545[_0x1643f1(0x4ce)])!=null&&_0x498707[_0x1643f1(0x257)])){const {objectID:_0x437740,objectType:_0x37a7f6}=_0x2e2545[_0x1643f1(0x4ce)][_0x1643f1(0x257)]||{};if(!_0x437740||_0x37a7f6===void 0x0)return!0x1;const _0x517fc2=_0x197237[_0x1643f1(0x3fe)]()+'/'+_0x37a7f6+_0x1643f1(0x2f0)+_0x437740+'/allowed';if(_0x2e2545[_0x1643f1(0x43c)]===_0x517fc2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x19489c){const _0x303731=_0x13cda8;var _0x5aaf02;return(_0x5aaf02=_0x19489c[_0x303731(0x4ce)])==null?void 0x0:_0x5aaf02[_0x303731(0x257)];},'mergeParamsToRequest'(_0x1d743e,_0x20b2ba){const _0x514536=_0x13cda8,_0x422e90=_0x197237['_getAPIPrefixPath']()+_0x514536(0x3d9),_0x3ba63e=_0x1d743e['reduce']((_0x474149,_0x54c6c3)=>{const _0x3ee032=_0x514536,{unitID:_0x1b6383,objectID:_0x3eb8d5,objectType:_0x1a6873,actions:_0x5a0426}=_0x54c6c3;return _0x474149[_0x1b6383]||(_0x474149[_0x1b6383]={}),_0x474149[_0x1b6383][_0x3eb8d5]||(_0x474149[_0x1b6383][_0x3eb8d5]={'objectID':_0x3eb8d5,'objectType':_0x1a6873,'actions':[]}),_0x474149[_0x1b6383][_0x3eb8d5][_0x3ee032(0x35e)][_0x3ee032(0x183)](..._0x5a0426),_0x474149;},{}),_0xcccfa8=[];for(const _0x22d48d in _0x3ba63e)for(const _0x2c9315 in _0x3ba63e[_0x22d48d]){const {actions:_0x1e196b,objectType:_0x459d11}=_0x3ba63e[_0x22d48d][_0x2c9315],_0x4b59eb=[...new Set(_0x1e196b)];_0xcccfa8[_0x514536(0x183)]({'unitID':_0x22d48d,'objectID':_0x2c9315,'objectType':_0x459d11,'actions':_0x4b59eb});}return new _0x10d3ff(_0x514536(0x17f),_0x422e90,{'headers':_0x20b2ba[_0x514536(0x103)],'withCredentials':_0x20b2ba[_0x514536(0x3d6)],'responseType':_0x20b2ba[_0x514536(0x485)],'body':{'requests':_0xcccfa8}});}},{'distributeResult'(_0x5978d4,_0x9f6ee){const _0x2e2ead=_0x13cda8,{objectActions:_0x484d55}=_0x5978d4;return _0x9f6ee[_0x2e2ead(0x319)](_0x2028e0=>{const _0x5d1b97=_0x2e2ead,{unitID:_0x2a40a6,objectID:_0x3eb8fc,actions:_0x27284f}=_0x2028e0,_0x1a229f=_0x484d55[_0x5d1b97(0x3ec)](_0x238ed8=>_0x238ed8[_0x5d1b97(0x46f)]===_0x2a40a6&&_0x238ed8[_0x5d1b97(0x110)]===_0x3eb8fc),_0x20936e=_0x27284f[_0x5d1b97(0x319)](_0x87cafb=>_0x1a229f==null?void 0x0:_0x1a229f[_0x5d1b97(0x35e)]['find'](_0x6675df=>_0x6675df[_0x5d1b97(0x2d3)]===_0x87cafb))['filter'](_0x5ac107=>!!_0x5ac107);return{'config':_0x2028e0,'result':{'actions':_0x20936e,'error':_0x5978d4['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x4cfd6b=_0x29d74e;var _0x326fdf,_0x1f5709;const _0x225bee=this[_0x4cfd6b(0x3e5)][_0x4cfd6b(0x3df)](Pa),_0x242603=this[_0x4cfd6b(0x3e5)][_0x4cfd6b(0x3df)](ie);return(_0x1f5709=(_0x326fdf=_0x242603==null?void 0x0:_0x242603[_0x4cfd6b(0x30d)])!=null?_0x326fdf:_0x225bee)!=null?_0x1f5709:Ua;}async[_0x29d74e(0x4f2)](_0x425563){const _0x42377b=_0x29d74e,_0x346ee9=this[_0x42377b(0x3fe)]()+'/'+_0x425563['objectType']+_0x42377b(0x324);return(await this['_HTTPService'][_0x42377b(0x243)](_0x346ee9,{'body':_0x425563}))['body'][_0x42377b(0x110)]||'';}async[_0x29d74e(0x228)](_0x5a029d){const _0x4a5b92=_0x29d74e,_0x6b2056=this[_0x4a5b92(0x3fe)]()+'/-/object/list';return(await this[_0x4a5b92(0x1e6)][_0x4a5b92(0x243)](_0x6b2056,{'body':_0x5a029d}))[_0x4a5b92(0x257)][_0x4a5b92(0x3c9)];}async['update'](_0x874391){const _0x174962=_0x29d74e,_0x18e784=this[_0x174962(0x3fe)]()+'/'+_0x874391[_0x174962(0x29a)]+'/object/'+_0x874391[_0x174962(0x110)];await this[_0x174962(0x1e6)][_0x174962(0x2f2)](_0x18e784,{'body':_0x874391});}async[_0x29d74e(0x4a6)](_0x57643e){const _0x38f696=_0x29d74e,_0x5ef848=this[_0x38f696(0x3fe)]()+'/'+_0x57643e[_0x38f696(0x29a)]+'/object/'+_0x57643e[_0x38f696(0x110)]+_0x38f696(0x4b2);return(await this['_HTTPService'][_0x38f696(0x243)](_0x5ef848,{'body':_0x57643e}))[_0x38f696(0x257)]['actions'];}async[_0x29d74e(0x213)](_0xb27a6){const _0x198489=_0x29d74e,_0x5036e5=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x198489(0x1e6)][_0x198489(0x243)](_0x5036e5,{'body':{'requests':_0xb27a6}}))[_0x198489(0x257)]['objectActions'];}async[_0x29d74e(0x17a)](_0x1ce255){const _0xac6287=_0x29d74e,_0x22067e=this[_0xac6287(0x3fe)]()+'/'+_0x1ce255[_0xac6287(0x29a)]+_0xac6287(0x416),_0x1771fa=await this['_HTTPService'][_0xac6287(0x243)](_0x22067e,{'body':_0x1ce255});return{'roles':_0x1771fa[_0xac6287(0x257)][_0xac6287(0x155)],'actions':_0x1771fa['body']['actions']};}async[_0x29d74e(0x474)](_0x4e54c6){const _0x4f1592=_0x29d74e,_0x178786=this[_0x4f1592(0x3fe)]()+_0x4f1592(0x2ad);await this['_HTTPService'][_0x4f1592(0x4f6)](_0x178786,{'params':{'collaboratorID':_0x4e54c6[_0x4f1592(0x282)],'objectID':_0x4e54c6[_0x4f1592(0x110)],'unitID':_0x4e54c6[_0x4f1592(0x46f)]}});}async['updateCollaborator'](_0x177631){const _0x4de2d3=_0x29d74e,_0x291b17=this[_0x4de2d3(0x3fe)]()+'/collaborator';await this[_0x4de2d3(0x1e6)][_0x4de2d3(0x18b)](_0x291b17,{'body':_0x177631});}async[_0x29d74e(0x1c1)](_0x2db3b2){const _0x35b31b=_0x29d74e,_0x2bfe8f=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x35b31b(0x1e6)][_0x35b31b(0x243)](_0x2bfe8f,{'body':_0x2db3b2});}async['listCollaborators'](_0x100835){const _0x5c3d96=_0x29d74e,_0x17c7ff=this[_0x5c3d96(0x3fe)]()+_0x5c3d96(0x2ad);return(await this[_0x5c3d96(0x1e6)][_0x5c3d96(0x177)](_0x17c7ff,{'params':{'objectID':_0x100835['objectID'],'unitID':_0x100835['unitID']}}))[_0x5c3d96(0x257)][_0x5c3d96(0x2be)];}async[_0x29d74e(0x313)](_0x5b0eea){const _0x3ec13d=_0x29d74e,_0x16f7b5=this[_0x3ec13d(0x3fe)]()+_0x3ec13d(0x2ad);await this[_0x3ec13d(0x1e6)][_0x3ec13d(0x2f2)](_0x16f7b5,{'body':_0x5b0eea});}};os=Da([Ks(0x0,_0x37efa2(_0x28ac76)),Ks(0x1,_0x37efa2(_0x167231))],os);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x346110){const _0x3e2f12=_0x29d74e;return _0x346110&&_0x346110['__esModule']&&Object[_0x3e2f12(0x1b7)][_0x3e2f12(0x359)][_0x3e2f12(0x46d)](_0x346110,_0x3e2f12(0x4e5))?_0x346110[_0x3e2f12(0x4e5)]:_0x346110;}var Li={'exports':{}};function Na(_0x337527){const _0x5a2eb9=_0x29d74e;throw new Error(_0x5a2eb9(0x2c7)+_0x337527+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Wt={'exports':{}},zs;function ue(){const _0x15383c=_0x29d74e;return zs||(zs=0x1,function(_0x525185,_0x2e74b3){(function(_0x2a4d61,_0x281c1f){const _0x5ad1c8=_0x2ea9;_0x525185[_0x5ad1c8(0x3a9)]=_0x281c1f();}(Z,function(){var _0x3d3a1e=_0x3d3a1e||function(_0x4327cc,_0xbfa7fd){const _0x185917=_0x2ea9;var _0x34eeca;if(typeof window<'u'&&window[_0x185917(0x327)]&&(_0x34eeca=window[_0x185917(0x327)]),typeof self<'u'&&self[_0x185917(0x327)]&&(_0x34eeca=self[_0x185917(0x327)]),typeof globalThis<'u'&&globalThis[_0x185917(0x327)]&&(_0x34eeca=globalThis['crypto']),!_0x34eeca&&typeof window<'u'&&window[_0x185917(0x42e)]&&(_0x34eeca=window['msCrypto']),!_0x34eeca&&typeof Z<'u'&&Z[_0x185917(0x327)]&&(_0x34eeca=Z[_0x185917(0x327)]),!_0x34eeca&&typeof Na==_0x185917(0x31f))try{_0x34eeca=require(_0x185917(0x327));}catch{}var _0x1e33c9=function(){const _0x201af0=_0x185917;if(_0x34eeca){if(typeof _0x34eeca[_0x201af0(0x10b)]==_0x201af0(0x31f))try{return _0x34eeca[_0x201af0(0x10b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x34eeca['randomBytes']==_0x201af0(0x31f))try{return _0x34eeca['randomBytes'](0x4)[_0x201af0(0xf2)]();}catch{}}throw new Error(_0x201af0(0x122));},_0x30677d=Object[_0x185917(0x4f2)]||(function(){function _0x5a70f3(){}return function(_0x598e3c){const _0xe49ce5=_0x2ea9;var _0x45878a;return _0x5a70f3[_0xe49ce5(0x1b7)]=_0x598e3c,_0x45878a=new _0x5a70f3(),_0x5a70f3[_0xe49ce5(0x1b7)]=null,_0x45878a;};}()),_0x257fcd={},_0x3087e7=_0x257fcd[_0x185917(0x430)]={},_0x33f773=_0x3087e7['Base']=(function(){return{'extend':function(_0x2f5498){const _0x3a044c=_0x2ea9;var _0x15956a=_0x30677d(this);return _0x2f5498&&_0x15956a[_0x3a044c(0x47f)](_0x2f5498),(!_0x15956a['hasOwnProperty'](_0x3a044c(0x3b9))||this[_0x3a044c(0x3b9)]===_0x15956a[_0x3a044c(0x3b9)])&&(_0x15956a['init']=function(){const _0x165f8e=_0x3a044c;_0x15956a[_0x165f8e(0x427)][_0x165f8e(0x3b9)][_0x165f8e(0x493)](this,arguments);}),_0x15956a[_0x3a044c(0x3b9)][_0x3a044c(0x1b7)]=_0x15956a,_0x15956a[_0x3a044c(0x427)]=this,_0x15956a;},'create':function(){const _0x4d42a6=_0x2ea9;var _0x2471c3=this[_0x4d42a6(0x38d)]();return _0x2471c3[_0x4d42a6(0x3b9)][_0x4d42a6(0x493)](_0x2471c3,arguments),_0x2471c3;},'init':function(){},'mixIn':function(_0x4fedad){const _0x510dae=_0x2ea9;for(var _0x4cfae9 in _0x4fedad)_0x4fedad[_0x510dae(0x359)](_0x4cfae9)&&(this[_0x4cfae9]=_0x4fedad[_0x4cfae9]);_0x4fedad['hasOwnProperty'](_0x510dae(0x394))&&(this[_0x510dae(0x394)]=_0x4fedad[_0x510dae(0x394)]);},'clone':function(){const _0x1e932c=_0x2ea9;return this[_0x1e932c(0x3b9)][_0x1e932c(0x1b7)][_0x1e932c(0x38d)](this);}};}()),_0x18e71b=_0x3087e7[_0x185917(0x159)]=_0x33f773[_0x185917(0x38d)]({'init':function(_0x503b8f,_0xfc7fb){const _0x18daea=_0x185917;_0x503b8f=this[_0x18daea(0x26b)]=_0x503b8f||[],_0xfc7fb!=_0xbfa7fd?this['sigBytes']=_0xfc7fb:this['sigBytes']=_0x503b8f[_0x18daea(0x400)]*0x4;},'toString':function(_0x319618){const _0x256e13=_0x185917;return(_0x319618||_0x2d6430)[_0x256e13(0x11f)](this);},'concat':function(_0x327449){const _0x18a1d1=_0x185917;var _0x2a1d39=this['words'],_0x1ccda5=_0x327449[_0x18a1d1(0x26b)],_0x3bfa3a=this[_0x18a1d1(0x2d2)],_0x2c9de8=_0x327449['sigBytes'];if(this[_0x18a1d1(0x373)](),_0x3bfa3a%0x4)for(var _0x4605a7=0x0;_0x4605a7<_0x2c9de8;_0x4605a7++){var _0x29bdd9=_0x1ccda5[_0x4605a7>>>0x2]>>>0x18-_0x4605a7%0x4*0x8&0xff;_0x2a1d39[_0x3bfa3a+_0x4605a7>>>0x2]|=_0x29bdd9<<0x18-(_0x3bfa3a+_0x4605a7)%0x4*0x8;}else{for(var _0x2f8238=0x0;_0x2f8238<_0x2c9de8;_0x2f8238+=0x4)_0x2a1d39[_0x3bfa3a+_0x2f8238>>>0x2]=_0x1ccda5[_0x2f8238>>>0x2];}return this[_0x18a1d1(0x2d2)]+=_0x2c9de8,this;},'clamp':function(){const _0x14e536=_0x185917;var _0x17580b=this[_0x14e536(0x26b)],_0x275411=this[_0x14e536(0x2d2)];_0x17580b[_0x275411>>>0x2]&=0xffffffff<<0x20-_0x275411%0x4*0x8,_0x17580b[_0x14e536(0x400)]=_0x4327cc['ceil'](_0x275411/0x4);},'clone':function(){const _0x44fb3a=_0x185917;var _0x10be20=_0x33f773[_0x44fb3a(0x2e7)][_0x44fb3a(0x46d)](this);return _0x10be20[_0x44fb3a(0x26b)]=this[_0x44fb3a(0x26b)][_0x44fb3a(0x21b)](0x0),_0x10be20;},'random':function(_0x5b56cb){const _0x3e6d42=_0x185917;for(var _0x20394e=[],_0x387d06=0x0;_0x387d06<_0x5b56cb;_0x387d06+=0x4)_0x20394e[_0x3e6d42(0x183)](_0x1e33c9());return new _0x18e71b['init'](_0x20394e,_0x5b56cb);}}),_0xd27e13=_0x257fcd['enc']={},_0x2d6430=_0xd27e13[_0x185917(0x3d4)]={'stringify':function(_0x3e5375){const _0x2e54a3=_0x185917;for(var _0x55f1be=_0x3e5375['words'],_0x317f11=_0x3e5375[_0x2e54a3(0x2d2)],_0x89b3ab=[],_0x56f65b=0x0;_0x56f65b<_0x317f11;_0x56f65b++){var _0x27e03a=_0x55f1be[_0x56f65b>>>0x2]>>>0x18-_0x56f65b%0x4*0x8&0xff;_0x89b3ab['push']((_0x27e03a>>>0x4)[_0x2e54a3(0x394)](0x10)),_0x89b3ab[_0x2e54a3(0x183)]((_0x27e03a&0xf)['toString'](0x10));}return _0x89b3ab[_0x2e54a3(0x344)]('');},'parse':function(_0x13829b){const _0x243285=_0x185917;for(var _0x4fcc52=_0x13829b[_0x243285(0x400)],_0x7998dd=[],_0x7aeddd=0x0;_0x7aeddd<_0x4fcc52;_0x7aeddd+=0x2)_0x7998dd[_0x7aeddd>>>0x3]|=parseInt(_0x13829b[_0x243285(0x2c2)](_0x7aeddd,0x2),0x10)<<0x18-_0x7aeddd%0x8*0x4;return new _0x18e71b['init'](_0x7998dd,_0x4fcc52/0x2);}},_0x328cfc=_0xd27e13[_0x185917(0x1d7)]={'stringify':function(_0x563647){const _0xf4eb12=_0x185917;for(var _0x29a3a5=_0x563647['words'],_0x5d3b63=_0x563647[_0xf4eb12(0x2d2)],_0x33d452=[],_0xbb5aa2=0x0;_0xbb5aa2<_0x5d3b63;_0xbb5aa2++){var _0x55c77f=_0x29a3a5[_0xbb5aa2>>>0x2]>>>0x18-_0xbb5aa2%0x4*0x8&0xff;_0x33d452[_0xf4eb12(0x183)](String[_0xf4eb12(0x13c)](_0x55c77f));}return _0x33d452[_0xf4eb12(0x344)]('');},'parse':function(_0x50b818){const _0x30e854=_0x185917;for(var _0x20bebd=_0x50b818[_0x30e854(0x400)],_0x4fceaa=[],_0x6f1bf7=0x0;_0x6f1bf7<_0x20bebd;_0x6f1bf7++)_0x4fceaa[_0x6f1bf7>>>0x2]|=(_0x50b818['charCodeAt'](_0x6f1bf7)&0xff)<<0x18-_0x6f1bf7%0x4*0x8;return new _0x18e71b['init'](_0x4fceaa,_0x20bebd);}},_0x176fab=_0xd27e13['Utf8']={'stringify':function(_0x22bab0){const _0x428254=_0x185917;try{return decodeURIComponent(escape(_0x328cfc[_0x428254(0x11f)](_0x22bab0)));}catch{throw new Error(_0x428254(0x32f));}},'parse':function(_0x219b51){const _0x399f86=_0x185917;return _0x328cfc[_0x399f86(0x169)](unescape(encodeURIComponent(_0x219b51)));}},_0x88f6d3=_0x3087e7[_0x185917(0x4f8)]=_0x33f773[_0x185917(0x38d)]({'reset':function(){const _0x388687=_0x185917;this[_0x388687(0x383)]=new _0x18e71b[(_0x388687(0x3b9))](),this[_0x388687(0x487)]=0x0;},'_append':function(_0x588140){const _0x5f0816=_0x185917;typeof _0x588140=='string'&&(_0x588140=_0x176fab['parse'](_0x588140)),this[_0x5f0816(0x383)]['concat'](_0x588140),this[_0x5f0816(0x487)]+=_0x588140[_0x5f0816(0x2d2)];},'_process':function(_0x464441){const _0x54b104=_0x185917;var _0x285db4,_0x4a0f23=this[_0x54b104(0x383)],_0x8eb195=_0x4a0f23[_0x54b104(0x26b)],_0xb0c2e2=_0x4a0f23[_0x54b104(0x2d2)],_0x53bae9=this['blockSize'],_0x24ecff=_0x53bae9*0x4,_0xd0b87a=_0xb0c2e2/_0x24ecff;_0x464441?_0xd0b87a=_0x4327cc['ceil'](_0xd0b87a):_0xd0b87a=_0x4327cc[_0x54b104(0x358)]((_0xd0b87a|0x0)-this[_0x54b104(0xfc)],0x0);var _0x360d63=_0xd0b87a*_0x53bae9,_0x47b8f9=_0x4327cc[_0x54b104(0x280)](_0x360d63*0x4,_0xb0c2e2);if(_0x360d63){for(var _0x2f9b22=0x0;_0x2f9b22<_0x360d63;_0x2f9b22+=_0x53bae9)this[_0x54b104(0x25b)](_0x8eb195,_0x2f9b22);_0x285db4=_0x8eb195['splice'](0x0,_0x360d63),_0x4a0f23['sigBytes']-=_0x47b8f9;}return new _0x18e71b[(_0x54b104(0x3b9))](_0x285db4,_0x47b8f9);},'clone':function(){const _0x3e3120=_0x185917;var _0x1f788a=_0x33f773[_0x3e3120(0x2e7)][_0x3e3120(0x46d)](this);return _0x1f788a[_0x3e3120(0x383)]=this[_0x3e3120(0x383)][_0x3e3120(0x2e7)](),_0x1f788a;},'_minBufferSize':0x0});_0x3087e7[_0x185917(0x4c9)]=_0x88f6d3[_0x185917(0x38d)]({'cfg':_0x33f773[_0x185917(0x38d)](),'init':function(_0x31adfa){const _0x29fe0e=_0x185917;this['cfg']=this[_0x29fe0e(0xf9)][_0x29fe0e(0x38d)](_0x31adfa),this[_0x29fe0e(0x230)]();},'reset':function(){const _0x3cb107=_0x185917;_0x88f6d3[_0x3cb107(0x230)][_0x3cb107(0x46d)](this),this[_0x3cb107(0x321)]();},'update':function(_0x4bac61){const _0x140fea=_0x185917;return this[_0x140fea(0x4d2)](_0x4bac61),this[_0x140fea(0x4d0)](),this;},'finalize':function(_0x44ff22){const _0x5666e1=_0x185917;_0x44ff22&&this[_0x5666e1(0x4d2)](_0x44ff22);var _0x429e23=this[_0x5666e1(0x206)]();return _0x429e23;},'blockSize':0x10,'_createHelper':function(_0xb28064){return function(_0x56a604,_0x4f63fc){const _0x2957f3=_0x2ea9;return new _0xb28064['init'](_0x4f63fc)[_0x2957f3(0x384)](_0x56a604);};},'_createHmacHelper':function(_0x5e83b7){return function(_0x1efa3b,_0x4b2997){const _0x6518e0=_0x2ea9;return new _0x38e7a4[(_0x6518e0(0x499))][(_0x6518e0(0x3b9))](_0x5e83b7,_0x4b2997)['finalize'](_0x1efa3b);};}});var _0x38e7a4=_0x257fcd[_0x185917(0x262)]={};return _0x257fcd;}(Math);return _0x3d3a1e;}));}(Wt)),Wt[_0x15383c(0x3a9)];}var $i={'exports':{}};(function(_0x40bb94,_0x552a1f){(function(_0x5c823c,_0x3bb2b1){_0x40bb94['exports']=_0x3bb2b1(ue());}(Z,function(_0x18b0a5){const _0x561dc0=_0x2ea9;return(function(){const _0x326b7f=_0x2ea9;var _0x354219=_0x18b0a5,_0x33f950=_0x354219['lib'],_0x2cf8b5=_0x33f950[_0x326b7f(0x159)],_0x26075f=_0x354219[_0x326b7f(0x25f)];_0x26075f[_0x326b7f(0x3aa)]={'stringify':function(_0x14c390){const _0x5c26e5=_0x326b7f;var _0x321663=_0x14c390['words'],_0x3e8d0a=_0x14c390[_0x5c26e5(0x2d2)],_0x36eb69=this['_map'];_0x14c390['clamp']();for(var _0x2ec173=[],_0x200d8d=0x0;_0x200d8d<_0x3e8d0a;_0x200d8d+=0x3)for(var _0x2a087e=_0x321663[_0x200d8d>>>0x2]>>>0x18-_0x200d8d%0x4*0x8&0xff,_0x392345=_0x321663[_0x200d8d+0x1>>>0x2]>>>0x18-(_0x200d8d+0x1)%0x4*0x8&0xff,_0x178b58=_0x321663[_0x200d8d+0x2>>>0x2]>>>0x18-(_0x200d8d+0x2)%0x4*0x8&0xff,_0x2d308a=_0x2a087e<<0x10|_0x392345<<0x8|_0x178b58,_0x3d5549=0x0;_0x3d5549<0x4&&_0x200d8d+_0x3d5549*0.75<_0x3e8d0a;_0x3d5549++)_0x2ec173[_0x5c26e5(0x183)](_0x36eb69[_0x5c26e5(0x1f8)](_0x2d308a>>>0x6*(0x3-_0x3d5549)&0x3f));var _0x4ae3f3=_0x36eb69['charAt'](0x40);if(_0x4ae3f3){for(;_0x2ec173['length']%0x4;)_0x2ec173['push'](_0x4ae3f3);}return _0x2ec173['join']('');},'parse':function(_0x386b35){const _0x1cbf90=_0x326b7f;var _0xcd2b6e=_0x386b35[_0x1cbf90(0x400)],_0x2651b8=this[_0x1cbf90(0x3ae)],_0x58e3da=this['_reverseMap'];if(!_0x58e3da){_0x58e3da=this[_0x1cbf90(0x496)]=[];for(var _0x35f32a=0x0;_0x35f32a<_0x2651b8[_0x1cbf90(0x400)];_0x35f32a++)_0x58e3da[_0x2651b8['charCodeAt'](_0x35f32a)]=_0x35f32a;}var _0x43beda=_0x2651b8[_0x1cbf90(0x1f8)](0x40);if(_0x43beda){var _0x5d545f=_0x386b35['indexOf'](_0x43beda);_0x5d545f!==-0x1&&(_0xcd2b6e=_0x5d545f);}return _0x1555e3(_0x386b35,_0xcd2b6e,_0x58e3da);},'_map':_0x326b7f(0x44f)};function _0x1555e3(_0x4a112c,_0x94d1e8,_0x3473cb){const _0xe1e185=_0x326b7f;for(var _0x365503=[],_0xfff1bb=0x0,_0x31e788=0x0;_0x31e788<_0x94d1e8;_0x31e788++)if(_0x31e788%0x4){var _0x2bc1d1=_0x3473cb[_0x4a112c[_0xe1e185(0x4dd)](_0x31e788-0x1)]<<_0x31e788%0x4*0x2,_0x332c98=_0x3473cb[_0x4a112c['charCodeAt'](_0x31e788)]>>>0x6-_0x31e788%0x4*0x2,_0x48d290=_0x2bc1d1|_0x332c98;_0x365503[_0xfff1bb>>>0x2]|=_0x48d290<<0x18-_0xfff1bb%0x4*0x8,_0xfff1bb++;}return _0x2cf8b5[_0xe1e185(0x4f2)](_0x365503,_0xfff1bb);}}()),_0x18b0a5[_0x561dc0(0x25f)]['Base64'];}));}($i));var Hi=$i[_0x29d74e(0x3a9)];const qs=at(Hi);var Ft={'exports':{}},Xs;function Aa(){const _0x407f86=_0x29d74e;return Xs||(Xs=0x1,function(_0x2d70d7,_0x467fe3){(function(_0x5e9007,_0x39cd00){_0x2d70d7['exports']=_0x39cd00(ue());}(Z,function(_0x98554f){const _0x2752b5=_0x2ea9;return function(_0x47e9bb){const _0xa481c3=_0x2ea9;var _0x31fe53=_0x98554f,_0x3ccceb=_0x31fe53[_0xa481c3(0x430)],_0x45d9df=_0x3ccceb[_0xa481c3(0x159)],_0x480b97=_0x3ccceb['Hasher'],_0x485176=_0x31fe53['algo'],_0x3491ab=[];(function(){const _0x577e9e=_0xa481c3;for(var _0x578a17=0x0;_0x578a17<0x40;_0x578a17++)_0x3491ab[_0x578a17]=_0x47e9bb['abs'](_0x47e9bb[_0x577e9e(0x246)](_0x578a17+0x1))*0x100000000|0x0;}());var _0x404aeb=_0x485176[_0xa481c3(0x4a0)]=_0x480b97[_0xa481c3(0x38d)]({'_doReset':function(){const _0x379357=_0xa481c3;this['_hash']=new _0x45d9df[(_0x379357(0x3b9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x30feb8,_0x2a9b18){const _0x4575eb=_0xa481c3;for(var _0x16882e=0x0;_0x16882e<0x10;_0x16882e++){var _0x572dc6=_0x2a9b18+_0x16882e,_0x5f0c5a=_0x30feb8[_0x572dc6];_0x30feb8[_0x572dc6]=(_0x5f0c5a<<0x8|_0x5f0c5a>>>0x18)&0xff00ff|(_0x5f0c5a<<0x18|_0x5f0c5a>>>0x8)&0xff00ff00;}var _0x24f89c=this[_0x4575eb(0x3bd)][_0x4575eb(0x26b)],_0x5ce2e0=_0x30feb8[_0x2a9b18+0x0],_0x311f7a=_0x30feb8[_0x2a9b18+0x1],_0x80e33f=_0x30feb8[_0x2a9b18+0x2],_0x5a9dd4=_0x30feb8[_0x2a9b18+0x3],_0x27140c=_0x30feb8[_0x2a9b18+0x4],_0xb55ed=_0x30feb8[_0x2a9b18+0x5],_0x552b77=_0x30feb8[_0x2a9b18+0x6],_0x512e4d=_0x30feb8[_0x2a9b18+0x7],_0x351f65=_0x30feb8[_0x2a9b18+0x8],_0x2738de=_0x30feb8[_0x2a9b18+0x9],_0x4bf22e=_0x30feb8[_0x2a9b18+0xa],_0xe26622=_0x30feb8[_0x2a9b18+0xb],_0x2bd1a1=_0x30feb8[_0x2a9b18+0xc],_0x1176bf=_0x30feb8[_0x2a9b18+0xd],_0xc9682=_0x30feb8[_0x2a9b18+0xe],_0x1af943=_0x30feb8[_0x2a9b18+0xf],_0x56e882=_0x24f89c[0x0],_0x434b67=_0x24f89c[0x1],_0x1862a3=_0x24f89c[0x2],_0x2a4d16=_0x24f89c[0x3];_0x56e882=_0x58bc46(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x5ce2e0,0x7,_0x3491ab[0x0]),_0x2a4d16=_0x58bc46(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x311f7a,0xc,_0x3491ab[0x1]),_0x1862a3=_0x58bc46(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x80e33f,0x11,_0x3491ab[0x2]),_0x434b67=_0x58bc46(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x5a9dd4,0x16,_0x3491ab[0x3]),_0x56e882=_0x58bc46(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x27140c,0x7,_0x3491ab[0x4]),_0x2a4d16=_0x58bc46(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0xb55ed,0xc,_0x3491ab[0x5]),_0x1862a3=_0x58bc46(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x552b77,0x11,_0x3491ab[0x6]),_0x434b67=_0x58bc46(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x512e4d,0x16,_0x3491ab[0x7]),_0x56e882=_0x58bc46(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x351f65,0x7,_0x3491ab[0x8]),_0x2a4d16=_0x58bc46(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x2738de,0xc,_0x3491ab[0x9]),_0x1862a3=_0x58bc46(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x4bf22e,0x11,_0x3491ab[0xa]),_0x434b67=_0x58bc46(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0xe26622,0x16,_0x3491ab[0xb]),_0x56e882=_0x58bc46(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x2bd1a1,0x7,_0x3491ab[0xc]),_0x2a4d16=_0x58bc46(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x1176bf,0xc,_0x3491ab[0xd]),_0x1862a3=_0x58bc46(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0xc9682,0x11,_0x3491ab[0xe]),_0x434b67=_0x58bc46(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x1af943,0x16,_0x3491ab[0xf]),_0x56e882=_0xcb1eb3(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x311f7a,0x5,_0x3491ab[0x10]),_0x2a4d16=_0xcb1eb3(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x552b77,0x9,_0x3491ab[0x11]),_0x1862a3=_0xcb1eb3(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0xe26622,0xe,_0x3491ab[0x12]),_0x434b67=_0xcb1eb3(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x5ce2e0,0x14,_0x3491ab[0x13]),_0x56e882=_0xcb1eb3(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0xb55ed,0x5,_0x3491ab[0x14]),_0x2a4d16=_0xcb1eb3(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x4bf22e,0x9,_0x3491ab[0x15]),_0x1862a3=_0xcb1eb3(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x1af943,0xe,_0x3491ab[0x16]),_0x434b67=_0xcb1eb3(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x27140c,0x14,_0x3491ab[0x17]),_0x56e882=_0xcb1eb3(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x2738de,0x5,_0x3491ab[0x18]),_0x2a4d16=_0xcb1eb3(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0xc9682,0x9,_0x3491ab[0x19]),_0x1862a3=_0xcb1eb3(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x5a9dd4,0xe,_0x3491ab[0x1a]),_0x434b67=_0xcb1eb3(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x351f65,0x14,_0x3491ab[0x1b]),_0x56e882=_0xcb1eb3(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x1176bf,0x5,_0x3491ab[0x1c]),_0x2a4d16=_0xcb1eb3(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x80e33f,0x9,_0x3491ab[0x1d]),_0x1862a3=_0xcb1eb3(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x512e4d,0xe,_0x3491ab[0x1e]),_0x434b67=_0xcb1eb3(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x2bd1a1,0x14,_0x3491ab[0x1f]),_0x56e882=_0x465a42(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0xb55ed,0x4,_0x3491ab[0x20]),_0x2a4d16=_0x465a42(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x351f65,0xb,_0x3491ab[0x21]),_0x1862a3=_0x465a42(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0xe26622,0x10,_0x3491ab[0x22]),_0x434b67=_0x465a42(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0xc9682,0x17,_0x3491ab[0x23]),_0x56e882=_0x465a42(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x311f7a,0x4,_0x3491ab[0x24]),_0x2a4d16=_0x465a42(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x27140c,0xb,_0x3491ab[0x25]),_0x1862a3=_0x465a42(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x512e4d,0x10,_0x3491ab[0x26]),_0x434b67=_0x465a42(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x4bf22e,0x17,_0x3491ab[0x27]),_0x56e882=_0x465a42(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x1176bf,0x4,_0x3491ab[0x28]),_0x2a4d16=_0x465a42(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x5ce2e0,0xb,_0x3491ab[0x29]),_0x1862a3=_0x465a42(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x5a9dd4,0x10,_0x3491ab[0x2a]),_0x434b67=_0x465a42(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x552b77,0x17,_0x3491ab[0x2b]),_0x56e882=_0x465a42(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x2738de,0x4,_0x3491ab[0x2c]),_0x2a4d16=_0x465a42(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x2bd1a1,0xb,_0x3491ab[0x2d]),_0x1862a3=_0x465a42(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x1af943,0x10,_0x3491ab[0x2e]),_0x434b67=_0x465a42(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x80e33f,0x17,_0x3491ab[0x2f]),_0x56e882=_0x515a1b(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x5ce2e0,0x6,_0x3491ab[0x30]),_0x2a4d16=_0x515a1b(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x512e4d,0xa,_0x3491ab[0x31]),_0x1862a3=_0x515a1b(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0xc9682,0xf,_0x3491ab[0x32]),_0x434b67=_0x515a1b(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0xb55ed,0x15,_0x3491ab[0x33]),_0x56e882=_0x515a1b(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x2bd1a1,0x6,_0x3491ab[0x34]),_0x2a4d16=_0x515a1b(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x5a9dd4,0xa,_0x3491ab[0x35]),_0x1862a3=_0x515a1b(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x4bf22e,0xf,_0x3491ab[0x36]),_0x434b67=_0x515a1b(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x311f7a,0x15,_0x3491ab[0x37]),_0x56e882=_0x515a1b(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x351f65,0x6,_0x3491ab[0x38]),_0x2a4d16=_0x515a1b(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0x1af943,0xa,_0x3491ab[0x39]),_0x1862a3=_0x515a1b(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x552b77,0xf,_0x3491ab[0x3a]),_0x434b67=_0x515a1b(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x1176bf,0x15,_0x3491ab[0x3b]),_0x56e882=_0x515a1b(_0x56e882,_0x434b67,_0x1862a3,_0x2a4d16,_0x27140c,0x6,_0x3491ab[0x3c]),_0x2a4d16=_0x515a1b(_0x2a4d16,_0x56e882,_0x434b67,_0x1862a3,_0xe26622,0xa,_0x3491ab[0x3d]),_0x1862a3=_0x515a1b(_0x1862a3,_0x2a4d16,_0x56e882,_0x434b67,_0x80e33f,0xf,_0x3491ab[0x3e]),_0x434b67=_0x515a1b(_0x434b67,_0x1862a3,_0x2a4d16,_0x56e882,_0x2738de,0x15,_0x3491ab[0x3f]),_0x24f89c[0x0]=_0x24f89c[0x0]+_0x56e882|0x0,_0x24f89c[0x1]=_0x24f89c[0x1]+_0x434b67|0x0,_0x24f89c[0x2]=_0x24f89c[0x2]+_0x1862a3|0x0,_0x24f89c[0x3]=_0x24f89c[0x3]+_0x2a4d16|0x0;},'_doFinalize':function(){const _0x2d205a=_0xa481c3;var _0xdbf1a9=this[_0x2d205a(0x383)],_0x40fdcd=_0xdbf1a9[_0x2d205a(0x26b)],_0x3b7248=this[_0x2d205a(0x487)]*0x8,_0x2b0510=_0xdbf1a9[_0x2d205a(0x2d2)]*0x8;_0x40fdcd[_0x2b0510>>>0x5]|=0x80<<0x18-_0x2b0510%0x20;var _0x31c747=_0x47e9bb[_0x2d205a(0x3b6)](_0x3b7248/0x100000000),_0x1c07b2=_0x3b7248;_0x40fdcd[(_0x2b0510+0x40>>>0x9<<0x4)+0xf]=(_0x31c747<<0x8|_0x31c747>>>0x18)&0xff00ff|(_0x31c747<<0x18|_0x31c747>>>0x8)&0xff00ff00,_0x40fdcd[(_0x2b0510+0x40>>>0x9<<0x4)+0xe]=(_0x1c07b2<<0x8|_0x1c07b2>>>0x18)&0xff00ff|(_0x1c07b2<<0x18|_0x1c07b2>>>0x8)&0xff00ff00,_0xdbf1a9[_0x2d205a(0x2d2)]=(_0x40fdcd[_0x2d205a(0x400)]+0x1)*0x4,this[_0x2d205a(0x4d0)]();for(var _0x4771fb=this['_hash'],_0x2ac6bf=_0x4771fb[_0x2d205a(0x26b)],_0x74d844=0x0;_0x74d844<0x4;_0x74d844++){var _0x3a8d00=_0x2ac6bf[_0x74d844];_0x2ac6bf[_0x74d844]=(_0x3a8d00<<0x8|_0x3a8d00>>>0x18)&0xff00ff|(_0x3a8d00<<0x18|_0x3a8d00>>>0x8)&0xff00ff00;}return _0x4771fb;},'clone':function(){const _0x1a85e3=_0xa481c3;var _0x5c4216=_0x480b97[_0x1a85e3(0x2e7)][_0x1a85e3(0x46d)](this);return _0x5c4216[_0x1a85e3(0x3bd)]=this['_hash'][_0x1a85e3(0x2e7)](),_0x5c4216;}});function _0x58bc46(_0x3f5418,_0x20799b,_0x4824be,_0x23d11a,_0x5918c7,_0x2d93b4,_0x1653ca){var _0x50a513=_0x3f5418+(_0x20799b&_0x4824be|~_0x20799b&_0x23d11a)+_0x5918c7+_0x1653ca;return(_0x50a513<<_0x2d93b4|_0x50a513>>>0x20-_0x2d93b4)+_0x20799b;}function _0xcb1eb3(_0x2cbf53,_0x52e5f2,_0x266d3e,_0x487204,_0x323ca8,_0xd64c22,_0x4486a9){var _0x1bc08a=_0x2cbf53+(_0x52e5f2&_0x487204|_0x266d3e&~_0x487204)+_0x323ca8+_0x4486a9;return(_0x1bc08a<<_0xd64c22|_0x1bc08a>>>0x20-_0xd64c22)+_0x52e5f2;}function _0x465a42(_0x2dcd8a,_0x1524dc,_0x355870,_0x7ced75,_0x2672ec,_0x1fe02c,_0x270ec5){var _0x1ce092=_0x2dcd8a+(_0x1524dc^_0x355870^_0x7ced75)+_0x2672ec+_0x270ec5;return(_0x1ce092<<_0x1fe02c|_0x1ce092>>>0x20-_0x1fe02c)+_0x1524dc;}function _0x515a1b(_0x256d22,_0x427f9a,_0x72e1de,_0x3d12e8,_0x451cef,_0x20b004,_0x52965d){var _0x6344bd=_0x256d22+(_0x72e1de^(_0x427f9a|~_0x3d12e8))+_0x451cef+_0x52965d;return(_0x6344bd<<_0x20b004|_0x6344bd>>>0x20-_0x20b004)+_0x427f9a;}_0x31fe53[_0xa481c3(0x4a0)]=_0x480b97[_0xa481c3(0x4b3)](_0x404aeb),_0x31fe53[_0xa481c3(0x2cc)]=_0x480b97['_createHmacHelper'](_0x404aeb);}(Math),_0x98554f[_0x2752b5(0x4a0)];}));}(Ft)),Ft[_0x407f86(0x3a9)];}var Vt={'exports':{}},Gt={'exports':{}},Js;function Ma(){const _0x544b5b=_0x29d74e;return Js||(Js=0x1,function(_0x48a87e,_0x2cca9d){(function(_0x1dedfe,_0x4ae1dd){const _0x2f76ca=_0x2ea9;_0x48a87e[_0x2f76ca(0x3a9)]=_0x4ae1dd(ue());}(Z,function(_0x1f6169){const _0x1ae0a7=_0x2ea9;return(function(){const _0x451d6f=_0x2ea9;var _0x1e4658=_0x1f6169,_0x5498da=_0x1e4658[_0x451d6f(0x430)],_0x5368b7=_0x5498da[_0x451d6f(0x159)],_0x244e79=_0x5498da[_0x451d6f(0x4c9)],_0x38228d=_0x1e4658['algo'],_0x226854=[],_0x70614=_0x38228d[_0x451d6f(0x278)]=_0x244e79['extend']({'_doReset':function(){const _0x72366c=_0x451d6f;this[_0x72366c(0x3bd)]=new _0x5368b7[(_0x72366c(0x3b9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x313101,_0x1294f0){const _0x38f93c=_0x451d6f;for(var _0x463b38=this[_0x38f93c(0x3bd)]['words'],_0x213e92=_0x463b38[0x0],_0x44a143=_0x463b38[0x1],_0x275637=_0x463b38[0x2],_0xa29fe=_0x463b38[0x3],_0x121a48=_0x463b38[0x4],_0x359e94=0x0;_0x359e94<0x50;_0x359e94++){if(_0x359e94<0x10)_0x226854[_0x359e94]=_0x313101[_0x1294f0+_0x359e94]|0x0;else{var _0x17fe77=_0x226854[_0x359e94-0x3]^_0x226854[_0x359e94-0x8]^_0x226854[_0x359e94-0xe]^_0x226854[_0x359e94-0x10];_0x226854[_0x359e94]=_0x17fe77<<0x1|_0x17fe77>>>0x1f;}var _0x1a277a=(_0x213e92<<0x5|_0x213e92>>>0x1b)+_0x121a48+_0x226854[_0x359e94];_0x359e94<0x14?_0x1a277a+=(_0x44a143&_0x275637|~_0x44a143&_0xa29fe)+0x5a827999:_0x359e94<0x28?_0x1a277a+=(_0x44a143^_0x275637^_0xa29fe)+0x6ed9eba1:_0x359e94<0x3c?_0x1a277a+=(_0x44a143&_0x275637|_0x44a143&_0xa29fe|_0x275637&_0xa29fe)-0x70e44324:_0x1a277a+=(_0x44a143^_0x275637^_0xa29fe)-0x359d3e2a,_0x121a48=_0xa29fe,_0xa29fe=_0x275637,_0x275637=_0x44a143<<0x1e|_0x44a143>>>0x2,_0x44a143=_0x213e92,_0x213e92=_0x1a277a;}_0x463b38[0x0]=_0x463b38[0x0]+_0x213e92|0x0,_0x463b38[0x1]=_0x463b38[0x1]+_0x44a143|0x0,_0x463b38[0x2]=_0x463b38[0x2]+_0x275637|0x0,_0x463b38[0x3]=_0x463b38[0x3]+_0xa29fe|0x0,_0x463b38[0x4]=_0x463b38[0x4]+_0x121a48|0x0;},'_doFinalize':function(){const _0x5c33ac=_0x451d6f;var _0x4f1d3a=this[_0x5c33ac(0x383)],_0x3ab522=_0x4f1d3a[_0x5c33ac(0x26b)],_0x552d62=this[_0x5c33ac(0x487)]*0x8,_0x147af2=_0x4f1d3a['sigBytes']*0x8;return _0x3ab522[_0x147af2>>>0x5]|=0x80<<0x18-_0x147af2%0x20,_0x3ab522[(_0x147af2+0x40>>>0x9<<0x4)+0xe]=Math[_0x5c33ac(0x3b6)](_0x552d62/0x100000000),_0x3ab522[(_0x147af2+0x40>>>0x9<<0x4)+0xf]=_0x552d62,_0x4f1d3a[_0x5c33ac(0x2d2)]=_0x3ab522[_0x5c33ac(0x400)]*0x4,this[_0x5c33ac(0x4d0)](),this[_0x5c33ac(0x3bd)];},'clone':function(){const _0x230a61=_0x451d6f;var _0x509725=_0x244e79[_0x230a61(0x2e7)][_0x230a61(0x46d)](this);return _0x509725[_0x230a61(0x3bd)]=this[_0x230a61(0x3bd)]['clone'](),_0x509725;}});_0x1e4658[_0x451d6f(0x278)]=_0x244e79[_0x451d6f(0x4b3)](_0x70614),_0x1e4658[_0x451d6f(0x148)]=_0x244e79[_0x451d6f(0x2ef)](_0x70614);}()),_0x1f6169[_0x1ae0a7(0x278)];}));}(Gt)),Gt[_0x544b5b(0x3a9)];}var Yt={'exports':{}},Zs;function xa(){return Zs||(Zs=0x1,function(_0x20d828,_0x27637b){(function(_0x2e839f,_0x429f32){_0x20d828['exports']=_0x429f32(ue());}(Z,function(_0x1d3f27){(function(){const _0x3efa6d=_0x2ea9;var _0x51da6c=_0x1d3f27,_0x49ae3f=_0x51da6c[_0x3efa6d(0x430)],_0x2a4729=_0x49ae3f['Base'],_0x1b0dee=_0x51da6c[_0x3efa6d(0x25f)],_0x3649de=_0x1b0dee[_0x3efa6d(0x25d)],_0x52d0ba=_0x51da6c[_0x3efa6d(0x262)];_0x52d0ba[_0x3efa6d(0x499)]=_0x2a4729[_0x3efa6d(0x38d)]({'init':function(_0x355ed2,_0x1b0ec1){const _0x1587cf=_0x3efa6d;_0x355ed2=this['_hasher']=new _0x355ed2[(_0x1587cf(0x3b9))](),typeof _0x1b0ec1==_0x1587cf(0x1d3)&&(_0x1b0ec1=_0x3649de['parse'](_0x1b0ec1));var _0x3929fb=_0x355ed2['blockSize'],_0x473eff=_0x3929fb*0x4;_0x1b0ec1[_0x1587cf(0x2d2)]>_0x473eff&&(_0x1b0ec1=_0x355ed2[_0x1587cf(0x384)](_0x1b0ec1)),_0x1b0ec1['clamp']();for(var _0x160c38=this[_0x1587cf(0x1bf)]=_0x1b0ec1['clone'](),_0x4d87aa=this[_0x1587cf(0x361)]=_0x1b0ec1[_0x1587cf(0x2e7)](),_0x2e183f=_0x160c38[_0x1587cf(0x26b)],_0x1b0fab=_0x4d87aa[_0x1587cf(0x26b)],_0x88a28e=0x0;_0x88a28e<_0x3929fb;_0x88a28e++)_0x2e183f[_0x88a28e]^=0x5c5c5c5c,_0x1b0fab[_0x88a28e]^=0x36363636;_0x160c38[_0x1587cf(0x2d2)]=_0x4d87aa[_0x1587cf(0x2d2)]=_0x473eff,this[_0x1587cf(0x230)]();},'reset':function(){const _0x76fbfe=_0x3efa6d;var _0x15c09e=this[_0x76fbfe(0x101)];_0x15c09e[_0x76fbfe(0x230)](),_0x15c09e['update'](this[_0x76fbfe(0x361)]);},'update':function(_0x16cb45){const _0x168f12=_0x3efa6d;return this[_0x168f12(0x101)][_0x168f12(0x157)](_0x16cb45),this;},'finalize':function(_0x3259b3){const _0x365882=_0x3efa6d;var _0xc2799d=this[_0x365882(0x101)],_0x85d4b4=_0xc2799d[_0x365882(0x384)](_0x3259b3);_0xc2799d['reset']();var _0x19051f=_0xc2799d[_0x365882(0x384)](this[_0x365882(0x1bf)]['clone']()[_0x365882(0x332)](_0x85d4b4));return _0x19051f;}});}());}));}(Yt)),Yt['exports'];}var Qs;function ji(){const _0x4fcad3=_0x29d74e;return Qs||(Qs=0x1,function(_0x4146bb,_0x56c1db){(function(_0x23f2ea,_0x398ff4,_0x29ded9){_0x4146bb['exports']=_0x398ff4(ue(),Ma(),xa());}(Z,function(_0x294fff){const _0x8f40a5=_0x2ea9;return(function(){const _0x4fdc3e=_0x2ea9;var _0x4a128b=_0x294fff,_0x235f25=_0x4a128b['lib'],_0x4bd4ed=_0x235f25[_0x4fdc3e(0x14b)],_0x1d1dd8=_0x235f25[_0x4fdc3e(0x159)],_0x4c576e=_0x4a128b[_0x4fdc3e(0x262)],_0x136787=_0x4c576e[_0x4fdc3e(0x4a0)],_0x3a2a8e=_0x4c576e[_0x4fdc3e(0x483)]=_0x4bd4ed[_0x4fdc3e(0x38d)]({'cfg':_0x4bd4ed[_0x4fdc3e(0x38d)]({'keySize':0x80/0x20,'hasher':_0x136787,'iterations':0x1}),'init':function(_0x4b74ee){const _0x43f8f8=_0x4fdc3e;this[_0x43f8f8(0xf9)]=this['cfg'][_0x43f8f8(0x38d)](_0x4b74ee);},'compute':function(_0x3b40cc,_0x3cb189){const _0x36757b=_0x4fdc3e;for(var _0x49e87f,_0x133879=this[_0x36757b(0xf9)],_0x37be1a=_0x133879[_0x36757b(0x44a)]['create'](),_0x37ced7=_0x1d1dd8[_0x36757b(0x4f2)](),_0x2f6e83=_0x37ced7[_0x36757b(0x26b)],_0x17762f=_0x133879[_0x36757b(0x334)],_0xae98e2=_0x133879[_0x36757b(0x1fb)];_0x2f6e83[_0x36757b(0x400)]<_0x17762f;){_0x49e87f&&_0x37be1a[_0x36757b(0x157)](_0x49e87f),_0x49e87f=_0x37be1a[_0x36757b(0x157)](_0x3b40cc)[_0x36757b(0x384)](_0x3cb189),_0x37be1a[_0x36757b(0x230)]();for(var _0x5c078c=0x1;_0x5c078c<_0xae98e2;_0x5c078c++)_0x49e87f=_0x37be1a[_0x36757b(0x384)](_0x49e87f),_0x37be1a[_0x36757b(0x230)]();_0x37ced7['concat'](_0x49e87f);}return _0x37ced7[_0x36757b(0x2d2)]=_0x17762f*0x4,_0x37ced7;}});_0x4a128b[_0x4fdc3e(0x483)]=function(_0x5f0646,_0x561546,_0x409dc3){return _0x3a2a8e['create'](_0x409dc3)['compute'](_0x5f0646,_0x561546);};}()),_0x294fff[_0x8f40a5(0x483)];}));}(Vt)),Vt[_0x4fcad3(0x3a9)];}var Kt={'exports':{}},ei;function Bi(){const _0x57048c=_0x29d74e;return ei||(ei=0x1,function(_0x5d08ff,_0xbdb88e){(function(_0x371d2e,_0x437ff1,_0x69d91e){const _0x495664=_0x2ea9;_0x5d08ff[_0x495664(0x3a9)]=_0x437ff1(ue(),ji());}(Z,function(_0x48e77c){const _0x12c6cb=_0x2ea9;_0x48e77c[_0x12c6cb(0x430)][_0x12c6cb(0x4ed)]||function(_0x2d88dc){const _0x30d558=_0x12c6cb;var _0x1da199=_0x48e77c,_0x4deb22=_0x1da199[_0x30d558(0x430)],_0x1c4c7a=_0x4deb22[_0x30d558(0x14b)],_0x5e8283=_0x4deb22[_0x30d558(0x159)],_0x32de73=_0x4deb22[_0x30d558(0x4f8)],_0x22a546=_0x1da199[_0x30d558(0x25f)];_0x22a546[_0x30d558(0x25d)];var _0x45c89c=_0x22a546['Base64'],_0x52bb0f=_0x1da199[_0x30d558(0x262)],_0x530d47=_0x52bb0f['EvpKDF'],_0x156db1=_0x4deb22[_0x30d558(0x4ed)]=_0x32de73[_0x30d558(0x38d)]({'cfg':_0x1c4c7a[_0x30d558(0x38d)](),'createEncryptor':function(_0x193039,_0x241aba){const _0x4df97b=_0x30d558;return this[_0x4df97b(0x4f2)](this['_ENC_XFORM_MODE'],_0x193039,_0x241aba);},'createDecryptor':function(_0x22f6d1,_0x30beef){const _0x41297e=_0x30d558;return this[_0x41297e(0x4f2)](this[_0x41297e(0xf3)],_0x22f6d1,_0x30beef);},'init':function(_0x257593,_0x2ff086,_0x356140){const _0x13871d=_0x30d558;this[_0x13871d(0xf9)]=this[_0x13871d(0xf9)]['extend'](_0x356140),this[_0x13871d(0x24f)]=_0x257593,this[_0x13871d(0x22b)]=_0x2ff086,this['reset']();},'reset':function(){const _0x5ca1ce=_0x30d558;_0x32de73[_0x5ca1ce(0x230)][_0x5ca1ce(0x46d)](this),this[_0x5ca1ce(0x321)]();},'process':function(_0x5bb0cd){const _0x246d58=_0x30d558;return this[_0x246d58(0x4d2)](_0x5bb0cd),this['_process']();},'finalize':function(_0x477765){const _0x36c878=_0x30d558;_0x477765&&this[_0x36c878(0x4d2)](_0x477765);var _0x288171=this[_0x36c878(0x206)]();return _0x288171;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x475ea4(_0x21c986){const _0x3ec4e7=_0x2ea9;return typeof _0x21c986==_0x3ec4e7(0x1d3)?_0x27125c:_0x3b2354;}return function(_0x67d339){return{'encrypt':function(_0x3d8d75,_0x583c51,_0x406598){return _0x475ea4(_0x583c51)['encrypt'](_0x67d339,_0x3d8d75,_0x583c51,_0x406598);},'decrypt':function(_0x246731,_0x39a14d,_0x3c949a){const _0x44bff4=_0x2ea9;return _0x475ea4(_0x39a14d)[_0x44bff4(0x17d)](_0x67d339,_0x246731,_0x39a14d,_0x3c949a);}};};}())});_0x4deb22[_0x30d558(0x187)]=_0x156db1[_0x30d558(0x38d)]({'_doFinalize':function(){const _0x1cfe6a=_0x30d558;var _0x266aab=this[_0x1cfe6a(0x4d0)](!0x0);return _0x266aab;},'blockSize':0x1});var _0x49bf25=_0x1da199[_0x30d558(0x3bc)]={},_0x2f0544=_0x4deb22[_0x30d558(0x2ee)]=_0x1c4c7a['extend']({'createEncryptor':function(_0x195794,_0x25c142){const _0x54a984=_0x30d558;return this['Encryptor'][_0x54a984(0x4f2)](_0x195794,_0x25c142);},'createDecryptor':function(_0x5237c5,_0x5e4d6a){const _0x992f97=_0x30d558;return this[_0x992f97(0x173)][_0x992f97(0x4f2)](_0x5237c5,_0x5e4d6a);},'init':function(_0x5b6730,_0x527157){const _0x5a2c73=_0x30d558;this[_0x5a2c73(0x1bc)]=_0x5b6730,this[_0x5a2c73(0x4e4)]=_0x527157;}}),_0x59bf27=_0x49bf25[_0x30d558(0x1a0)]=(function(){const _0x4e95ec=_0x30d558;var _0x2d31c3=_0x2f0544[_0x4e95ec(0x38d)]();_0x2d31c3['Encryptor']=_0x2d31c3[_0x4e95ec(0x38d)]({'processBlock':function(_0x1023bc,_0x57342e){const _0x4e9333=_0x4e95ec;var _0x3d93f4=this[_0x4e9333(0x1bc)],_0x36a6ad=_0x3d93f4[_0x4e9333(0x194)];_0x57988e['call'](this,_0x1023bc,_0x57342e,_0x36a6ad),_0x3d93f4['encryptBlock'](_0x1023bc,_0x57342e),this[_0x4e9333(0x3b4)]=_0x1023bc['slice'](_0x57342e,_0x57342e+_0x36a6ad);}}),_0x2d31c3['Decryptor']=_0x2d31c3['extend']({'processBlock':function(_0x243d2e,_0x13493c){const _0x3e4ad9=_0x4e95ec;var _0x428002=this[_0x3e4ad9(0x1bc)],_0x4d3ec0=_0x428002[_0x3e4ad9(0x194)],_0x1cf6ec=_0x243d2e[_0x3e4ad9(0x21b)](_0x13493c,_0x13493c+_0x4d3ec0);_0x428002[_0x3e4ad9(0x308)](_0x243d2e,_0x13493c),_0x57988e[_0x3e4ad9(0x46d)](this,_0x243d2e,_0x13493c,_0x4d3ec0),this[_0x3e4ad9(0x3b4)]=_0x1cf6ec;}});function _0x57988e(_0x3e75a2,_0x3036e9,_0x4a0532){const _0x32631e=_0x4e95ec;var _0x15ec64,_0x8f5d7c=this[_0x32631e(0x4e4)];_0x8f5d7c?(_0x15ec64=_0x8f5d7c,this[_0x32631e(0x4e4)]=_0x2d88dc):_0x15ec64=this[_0x32631e(0x3b4)];for(var _0x4229ae=0x0;_0x4229ae<_0x4a0532;_0x4229ae++)_0x3e75a2[_0x3036e9+_0x4229ae]^=_0x15ec64[_0x4229ae];}return _0x2d31c3;}()),_0x542303=_0x1da199[_0x30d558(0x25a)]={},_0x4010ce=_0x542303[_0x30d558(0x385)]={'pad':function(_0x113de4,_0x21e736){const _0xa191c=_0x30d558;for(var _0x4208ce=_0x21e736*0x4,_0x59eac8=_0x4208ce-_0x113de4[_0xa191c(0x2d2)]%_0x4208ce,_0x285725=_0x59eac8<<0x18|_0x59eac8<<0x10|_0x59eac8<<0x8|_0x59eac8,_0x2a9476=[],_0x2c7545=0x0;_0x2c7545<_0x59eac8;_0x2c7545+=0x4)_0x2a9476[_0xa191c(0x183)](_0x285725);var _0x3f89f9=_0x5e8283[_0xa191c(0x4f2)](_0x2a9476,_0x59eac8);_0x113de4['concat'](_0x3f89f9);},'unpad':function(_0x1209fa){const _0x2302d9=_0x30d558;var _0x4e0a54=_0x1209fa[_0x2302d9(0x26b)][_0x1209fa[_0x2302d9(0x2d2)]-0x1>>>0x2]&0xff;_0x1209fa['sigBytes']-=_0x4e0a54;}};_0x4deb22['BlockCipher']=_0x156db1[_0x30d558(0x38d)]({'cfg':_0x156db1[_0x30d558(0xf9)][_0x30d558(0x38d)]({'mode':_0x59bf27,'padding':_0x4010ce}),'reset':function(){const _0x65c869=_0x30d558;var _0x145390;_0x156db1[_0x65c869(0x230)]['call'](this);var _0x1326a5=this[_0x65c869(0xf9)],_0x5dca97=_0x1326a5['iv'],_0x34a5bd=_0x1326a5[_0x65c869(0x3bc)];this[_0x65c869(0x24f)]==this[_0x65c869(0x3c8)]?_0x145390=_0x34a5bd[_0x65c869(0x434)]:(_0x145390=_0x34a5bd[_0x65c869(0x2a7)],this[_0x65c869(0xfc)]=0x1),this[_0x65c869(0x2a5)]&&this[_0x65c869(0x2a5)][_0x65c869(0x490)]==_0x145390?this['_mode'][_0x65c869(0x3b9)](this,_0x5dca97&&_0x5dca97[_0x65c869(0x26b)]):(this['_mode']=_0x145390[_0x65c869(0x46d)](_0x34a5bd,this,_0x5dca97&&_0x5dca97[_0x65c869(0x26b)]),this['_mode'][_0x65c869(0x490)]=_0x145390);},'_doProcessBlock':function(_0x32f763,_0x165f87){const _0xe5f31d=_0x30d558;this[_0xe5f31d(0x2a5)][_0xe5f31d(0x208)](_0x32f763,_0x165f87);},'_doFinalize':function(){const _0x7ae19a=_0x30d558;var _0x101cb1,_0x314611=this[_0x7ae19a(0xf9)][_0x7ae19a(0x461)];return this[_0x7ae19a(0x24f)]==this[_0x7ae19a(0x3c8)]?(_0x314611[_0x7ae19a(0x25a)](this[_0x7ae19a(0x383)],this[_0x7ae19a(0x194)]),_0x101cb1=this[_0x7ae19a(0x4d0)](!0x0)):(_0x101cb1=this[_0x7ae19a(0x4d0)](!0x0),_0x314611[_0x7ae19a(0x4aa)](_0x101cb1)),_0x101cb1;},'blockSize':0x80/0x20});var _0x3fad3f=_0x4deb22[_0x30d558(0x37d)]=_0x1c4c7a[_0x30d558(0x38d)]({'init':function(_0x3b13db){this['mixIn'](_0x3b13db);},'toString':function(_0x3962db){const _0x68f506=_0x30d558;return(_0x3962db||this[_0x68f506(0x202)])[_0x68f506(0x11f)](this);}}),_0x58aa8d=_0x1da199[_0x30d558(0x47a)]={},_0xb4addb=_0x58aa8d[_0x30d558(0x166)]={'stringify':function(_0x18dc01){const _0xed7c60=_0x30d558;var _0x2f7d14,_0x53ed84=_0x18dc01['ciphertext'],_0x2ffd32=_0x18dc01[_0xed7c60(0x4b0)];return _0x2ffd32?_0x2f7d14=_0x5e8283['create']([0x53616c74,0x65645f5f])[_0xed7c60(0x332)](_0x2ffd32)[_0xed7c60(0x332)](_0x53ed84):_0x2f7d14=_0x53ed84,_0x2f7d14[_0xed7c60(0x394)](_0x45c89c);},'parse':function(_0x29ec0f){const _0x3a7e47=_0x30d558;var _0x165a32,_0x3cdb28=_0x45c89c[_0x3a7e47(0x169)](_0x29ec0f),_0x50e888=_0x3cdb28['words'];return _0x50e888[0x0]==0x53616c74&&_0x50e888[0x1]==0x65645f5f&&(_0x165a32=_0x5e8283[_0x3a7e47(0x4f2)](_0x50e888[_0x3a7e47(0x21b)](0x2,0x4)),_0x50e888['splice'](0x0,0x4),_0x3cdb28[_0x3a7e47(0x2d2)]-=0x10),_0x3fad3f[_0x3a7e47(0x4f2)]({'ciphertext':_0x3cdb28,'salt':_0x165a32});}},_0x3b2354=_0x4deb22[_0x30d558(0x244)]=_0x1c4c7a[_0x30d558(0x38d)]({'cfg':_0x1c4c7a[_0x30d558(0x38d)]({'format':_0xb4addb}),'encrypt':function(_0x3d2ed5,_0x40ea19,_0x306c6e,_0x106efe){const _0xdaff5d=_0x30d558;_0x106efe=this[_0xdaff5d(0xf9)][_0xdaff5d(0x38d)](_0x106efe);var _0x301406=_0x3d2ed5[_0xdaff5d(0x434)](_0x306c6e,_0x106efe),_0x433e1f=_0x301406[_0xdaff5d(0x384)](_0x40ea19),_0x435f5c=_0x301406[_0xdaff5d(0xf9)];return _0x3fad3f[_0xdaff5d(0x4f2)]({'ciphertext':_0x433e1f,'key':_0x306c6e,'iv':_0x435f5c['iv'],'algorithm':_0x3d2ed5,'mode':_0x435f5c[_0xdaff5d(0x3bc)],'padding':_0x435f5c[_0xdaff5d(0x461)],'blockSize':_0x3d2ed5[_0xdaff5d(0x194)],'formatter':_0x106efe[_0xdaff5d(0x47a)]});},'decrypt':function(_0xc12476,_0x37c1a8,_0x5d1cf8,_0x265a11){const _0xca1305=_0x30d558;_0x265a11=this[_0xca1305(0xf9)][_0xca1305(0x38d)](_0x265a11),_0x37c1a8=this['_parse'](_0x37c1a8,_0x265a11[_0xca1305(0x47a)]);var _0x31b4ff=_0xc12476[_0xca1305(0x2a7)](_0x5d1cf8,_0x265a11)['finalize'](_0x37c1a8['ciphertext']);return _0x31b4ff;},'_parse':function(_0x296b4,_0x503be3){const _0x1d253f=_0x30d558;return typeof _0x296b4=='string'?_0x503be3[_0x1d253f(0x169)](_0x296b4,this):_0x296b4;}}),_0x5dc511=_0x1da199[_0x30d558(0x4cf)]={},_0x25cd41=_0x5dc511[_0x30d558(0x166)]={'execute':function(_0x463435,_0x55d0e6,_0x5f3a44,_0x205c3b,_0x359570){const _0x271c71=_0x30d558;if(_0x205c3b||(_0x205c3b=_0x5e8283[_0x271c71(0x424)](0x40/0x8)),_0x359570)var _0x5b30fd=_0x530d47[_0x271c71(0x4f2)]({'keySize':_0x55d0e6+_0x5f3a44,'hasher':_0x359570})['compute'](_0x463435,_0x205c3b);else var _0x5b30fd=_0x530d47['create']({'keySize':_0x55d0e6+_0x5f3a44})['compute'](_0x463435,_0x205c3b);var _0x4f43b7=_0x5e8283[_0x271c71(0x4f2)](_0x5b30fd[_0x271c71(0x26b)][_0x271c71(0x21b)](_0x55d0e6),_0x5f3a44*0x4);return _0x5b30fd[_0x271c71(0x2d2)]=_0x55d0e6*0x4,_0x3fad3f[_0x271c71(0x4f2)]({'key':_0x5b30fd,'iv':_0x4f43b7,'salt':_0x205c3b});}},_0x27125c=_0x4deb22['PasswordBasedCipher']=_0x3b2354[_0x30d558(0x38d)]({'cfg':_0x3b2354['cfg'][_0x30d558(0x38d)]({'kdf':_0x25cd41}),'encrypt':function(_0x24dad7,_0x5a695f,_0x49ff65,_0x506a09){const _0x1fffaf=_0x30d558;_0x506a09=this['cfg'][_0x1fffaf(0x38d)](_0x506a09);var _0x5c782c=_0x506a09[_0x1fffaf(0x4cf)][_0x1fffaf(0x3d8)](_0x49ff65,_0x24dad7[_0x1fffaf(0x334)],_0x24dad7[_0x1fffaf(0x49d)],_0x506a09[_0x1fffaf(0x4b0)],_0x506a09[_0x1fffaf(0x44a)]);_0x506a09['iv']=_0x5c782c['iv'];var _0x164c69=_0x3b2354[_0x1fffaf(0x34a)][_0x1fffaf(0x46d)](this,_0x24dad7,_0x5a695f,_0x5c782c[_0x1fffaf(0x38a)],_0x506a09);return _0x164c69[_0x1fffaf(0x47f)](_0x5c782c),_0x164c69;},'decrypt':function(_0x2faea5,_0x1c218e,_0x2aba7a,_0x662f4){const _0x4fcde4=_0x30d558;_0x662f4=this[_0x4fcde4(0xf9)][_0x4fcde4(0x38d)](_0x662f4),_0x1c218e=this[_0x4fcde4(0xf4)](_0x1c218e,_0x662f4['format']);var _0x2d9a39=_0x662f4[_0x4fcde4(0x4cf)][_0x4fcde4(0x3d8)](_0x2aba7a,_0x2faea5[_0x4fcde4(0x334)],_0x2faea5[_0x4fcde4(0x49d)],_0x1c218e[_0x4fcde4(0x4b0)],_0x662f4[_0x4fcde4(0x44a)]);_0x662f4['iv']=_0x2d9a39['iv'];var _0x173d5b=_0x3b2354[_0x4fcde4(0x17d)][_0x4fcde4(0x46d)](this,_0x2faea5,_0x1c218e,_0x2d9a39['key'],_0x662f4);return _0x173d5b;}});}();}));}(Kt)),Kt[_0x57048c(0x3a9)];}function _0x2ea9(_0x429955,_0x187ed4){const _0x2db900=_0x2db9();return _0x2ea9=function(_0x2ea9b6,_0x41e168){_0x2ea9b6=_0x2ea9b6-0xea;let _0x17b294=_0x2db900[_0x2ea9b6];return _0x17b294;},_0x2ea9(_0x429955,_0x187ed4);}(function(_0x4767e1,_0x633173){(function(_0x318fcd,_0x3f948b,_0x4b846c){const _0x2cd12d=_0x2ea9;_0x4767e1[_0x2cd12d(0x3a9)]=_0x3f948b(ue(),Hi,Aa(),ji(),Bi());}(Z,function(_0xba9074){const _0x89a3cd=_0x2ea9;return(function(){const _0x1a7c82=_0x2ea9;var _0x265ccc=_0xba9074,_0x5119ca=_0x265ccc[_0x1a7c82(0x430)],_0x5eaef0=_0x5119ca[_0x1a7c82(0x3ad)],_0x2f33bc=_0x265ccc[_0x1a7c82(0x262)],_0x1bb3f3=[],_0x1a0bb9=[],_0x38bd8d=[],_0x284776=[],_0x345a2a=[],_0x409a56=[],_0x568f1b=[],_0x1e1a74=[],_0x2d5f06=[],_0xc31363=[];(function(){for(var _0x93fd25=[],_0x1868c1=0x0;_0x1868c1<0x100;_0x1868c1++)_0x1868c1<0x80?_0x93fd25[_0x1868c1]=_0x1868c1<<0x1:_0x93fd25[_0x1868c1]=_0x1868c1<<0x1^0x11b;for(var _0x566014=0x0,_0x2faad3=0x0,_0x1868c1=0x0;_0x1868c1<0x100;_0x1868c1++){var _0x31fc51=_0x2faad3^_0x2faad3<<0x1^_0x2faad3<<0x2^_0x2faad3<<0x3^_0x2faad3<<0x4;_0x31fc51=_0x31fc51>>>0x8^_0x31fc51&0xff^0x63,_0x1bb3f3[_0x566014]=_0x31fc51,_0x1a0bb9[_0x31fc51]=_0x566014;var _0x4b5a06=_0x93fd25[_0x566014],_0x445d28=_0x93fd25[_0x4b5a06],_0x21953e=_0x93fd25[_0x445d28],_0x677b6e=_0x93fd25[_0x31fc51]*0x101^_0x31fc51*0x1010100;_0x38bd8d[_0x566014]=_0x677b6e<<0x18|_0x677b6e>>>0x8,_0x284776[_0x566014]=_0x677b6e<<0x10|_0x677b6e>>>0x10,_0x345a2a[_0x566014]=_0x677b6e<<0x8|_0x677b6e>>>0x18,_0x409a56[_0x566014]=_0x677b6e;var _0x677b6e=_0x21953e*0x1010101^_0x445d28*0x10001^_0x4b5a06*0x101^_0x566014*0x1010100;_0x568f1b[_0x31fc51]=_0x677b6e<<0x18|_0x677b6e>>>0x8,_0x1e1a74[_0x31fc51]=_0x677b6e<<0x10|_0x677b6e>>>0x10,_0x2d5f06[_0x31fc51]=_0x677b6e<<0x8|_0x677b6e>>>0x18,_0xc31363[_0x31fc51]=_0x677b6e,_0x566014?(_0x566014=_0x4b5a06^_0x93fd25[_0x93fd25[_0x93fd25[_0x21953e^_0x4b5a06]]],_0x2faad3^=_0x93fd25[_0x93fd25[_0x2faad3]]):_0x566014=_0x2faad3=0x1;}}());var _0x2a2bcc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5bdb38=_0x2f33bc[_0x1a7c82(0x1c6)]=_0x5eaef0[_0x1a7c82(0x38d)]({'_doReset':function(){const _0x47ffc2=_0x1a7c82;var _0x40b93e;if(!(this[_0x47ffc2(0x49b)]&&this[_0x47ffc2(0x333)]===this[_0x47ffc2(0x22b)])){for(var _0x2f8b24=this[_0x47ffc2(0x333)]=this[_0x47ffc2(0x22b)],_0x2d13dc=_0x2f8b24[_0x47ffc2(0x26b)],_0x196414=_0x2f8b24['sigBytes']/0x4,_0x954d3b=this[_0x47ffc2(0x49b)]=_0x196414+0x6,_0x576042=(_0x954d3b+0x1)*0x4,_0x30612c=this[_0x47ffc2(0x197)]=[],_0x4f0a49=0x0;_0x4f0a49<_0x576042;_0x4f0a49++)_0x4f0a49<_0x196414?_0x30612c[_0x4f0a49]=_0x2d13dc[_0x4f0a49]:(_0x40b93e=_0x30612c[_0x4f0a49-0x1],_0x4f0a49%_0x196414?_0x196414>0x6&&_0x4f0a49%_0x196414==0x4&&(_0x40b93e=_0x1bb3f3[_0x40b93e>>>0x18]<<0x18|_0x1bb3f3[_0x40b93e>>>0x10&0xff]<<0x10|_0x1bb3f3[_0x40b93e>>>0x8&0xff]<<0x8|_0x1bb3f3[_0x40b93e&0xff]):(_0x40b93e=_0x40b93e<<0x8|_0x40b93e>>>0x18,_0x40b93e=_0x1bb3f3[_0x40b93e>>>0x18]<<0x18|_0x1bb3f3[_0x40b93e>>>0x10&0xff]<<0x10|_0x1bb3f3[_0x40b93e>>>0x8&0xff]<<0x8|_0x1bb3f3[_0x40b93e&0xff],_0x40b93e^=_0x2a2bcc[_0x4f0a49/_0x196414|0x0]<<0x18),_0x30612c[_0x4f0a49]=_0x30612c[_0x4f0a49-_0x196414]^_0x40b93e);for(var _0x5e3349=this[_0x47ffc2(0x13e)]=[],_0x5e4dff=0x0;_0x5e4dff<_0x576042;_0x5e4dff++){var _0x4f0a49=_0x576042-_0x5e4dff;if(_0x5e4dff%0x4)var _0x40b93e=_0x30612c[_0x4f0a49];else var _0x40b93e=_0x30612c[_0x4f0a49-0x4];_0x5e4dff<0x4||_0x4f0a49<=0x4?_0x5e3349[_0x5e4dff]=_0x40b93e:_0x5e3349[_0x5e4dff]=_0x568f1b[_0x1bb3f3[_0x40b93e>>>0x18]]^_0x1e1a74[_0x1bb3f3[_0x40b93e>>>0x10&0xff]]^_0x2d5f06[_0x1bb3f3[_0x40b93e>>>0x8&0xff]]^_0xc31363[_0x1bb3f3[_0x40b93e&0xff]];}}},'encryptBlock':function(_0x372db2,_0x201037){const _0x463f24=_0x1a7c82;this['_doCryptBlock'](_0x372db2,_0x201037,this[_0x463f24(0x197)],_0x38bd8d,_0x284776,_0x345a2a,_0x409a56,_0x1bb3f3);},'decryptBlock':function(_0x2130f3,_0x2cd05b){const _0x50a6e7=_0x1a7c82;var _0x37f8da=_0x2130f3[_0x2cd05b+0x1];_0x2130f3[_0x2cd05b+0x1]=_0x2130f3[_0x2cd05b+0x3],_0x2130f3[_0x2cd05b+0x3]=_0x37f8da,this[_0x50a6e7(0x129)](_0x2130f3,_0x2cd05b,this[_0x50a6e7(0x13e)],_0x568f1b,_0x1e1a74,_0x2d5f06,_0xc31363,_0x1a0bb9);var _0x37f8da=_0x2130f3[_0x2cd05b+0x1];_0x2130f3[_0x2cd05b+0x1]=_0x2130f3[_0x2cd05b+0x3],_0x2130f3[_0x2cd05b+0x3]=_0x37f8da;},'_doCryptBlock':function(_0x5218b6,_0x2b807c,_0x2986fc,_0x9b54,_0x862c1c,_0x7f75e,_0x39c87a,_0x5e3cd9){const _0x50cb55=_0x1a7c82;for(var _0x97951e=this[_0x50cb55(0x49b)],_0x99085b=_0x5218b6[_0x2b807c]^_0x2986fc[0x0],_0x8daa36=_0x5218b6[_0x2b807c+0x1]^_0x2986fc[0x1],_0x3360a2=_0x5218b6[_0x2b807c+0x2]^_0x2986fc[0x2],_0x211d3f=_0x5218b6[_0x2b807c+0x3]^_0x2986fc[0x3],_0x4e8fbf=0x4,_0x28c800=0x1;_0x28c800<_0x97951e;_0x28c800++){var _0x29c6d8=_0x9b54[_0x99085b>>>0x18]^_0x862c1c[_0x8daa36>>>0x10&0xff]^_0x7f75e[_0x3360a2>>>0x8&0xff]^_0x39c87a[_0x211d3f&0xff]^_0x2986fc[_0x4e8fbf++],_0x2a9543=_0x9b54[_0x8daa36>>>0x18]^_0x862c1c[_0x3360a2>>>0x10&0xff]^_0x7f75e[_0x211d3f>>>0x8&0xff]^_0x39c87a[_0x99085b&0xff]^_0x2986fc[_0x4e8fbf++],_0x55676e=_0x9b54[_0x3360a2>>>0x18]^_0x862c1c[_0x211d3f>>>0x10&0xff]^_0x7f75e[_0x99085b>>>0x8&0xff]^_0x39c87a[_0x8daa36&0xff]^_0x2986fc[_0x4e8fbf++],_0x2ea329=_0x9b54[_0x211d3f>>>0x18]^_0x862c1c[_0x99085b>>>0x10&0xff]^_0x7f75e[_0x8daa36>>>0x8&0xff]^_0x39c87a[_0x3360a2&0xff]^_0x2986fc[_0x4e8fbf++];_0x99085b=_0x29c6d8,_0x8daa36=_0x2a9543,_0x3360a2=_0x55676e,_0x211d3f=_0x2ea329;}var _0x29c6d8=(_0x5e3cd9[_0x99085b>>>0x18]<<0x18|_0x5e3cd9[_0x8daa36>>>0x10&0xff]<<0x10|_0x5e3cd9[_0x3360a2>>>0x8&0xff]<<0x8|_0x5e3cd9[_0x211d3f&0xff])^_0x2986fc[_0x4e8fbf++],_0x2a9543=(_0x5e3cd9[_0x8daa36>>>0x18]<<0x18|_0x5e3cd9[_0x3360a2>>>0x10&0xff]<<0x10|_0x5e3cd9[_0x211d3f>>>0x8&0xff]<<0x8|_0x5e3cd9[_0x99085b&0xff])^_0x2986fc[_0x4e8fbf++],_0x55676e=(_0x5e3cd9[_0x3360a2>>>0x18]<<0x18|_0x5e3cd9[_0x211d3f>>>0x10&0xff]<<0x10|_0x5e3cd9[_0x99085b>>>0x8&0xff]<<0x8|_0x5e3cd9[_0x8daa36&0xff])^_0x2986fc[_0x4e8fbf++],_0x2ea329=(_0x5e3cd9[_0x211d3f>>>0x18]<<0x18|_0x5e3cd9[_0x99085b>>>0x10&0xff]<<0x10|_0x5e3cd9[_0x8daa36>>>0x8&0xff]<<0x8|_0x5e3cd9[_0x3360a2&0xff])^_0x2986fc[_0x4e8fbf++];_0x5218b6[_0x2b807c]=_0x29c6d8,_0x5218b6[_0x2b807c+0x1]=_0x2a9543,_0x5218b6[_0x2b807c+0x2]=_0x55676e,_0x5218b6[_0x2b807c+0x3]=_0x2ea329;},'keySize':0x100/0x20});_0x265ccc['AES']=_0x5eaef0[_0x1a7c82(0x4b3)](_0x5bdb38);}()),_0xba9074[_0x89a3cd(0x1c6)];}));}(Li));var La=Li[_0x29d74e(0x3a9)];const $a=at(La);var ki={'exports':{}};(function(_0x2b29c7,_0x1c3955){(function(_0x5b7c10,_0x5cb08f){_0x2b29c7['exports']=_0x5cb08f(ue());}(Z,function(_0x55d057){const _0x558f57=_0x2ea9;return _0x55d057[_0x558f57(0x25f)][_0x558f57(0x25d)];}));}(ki));var Ha=ki[_0x29d74e(0x3a9)];const ja=at(Ha);var Wi={'exports':{}};(function(_0x491497,_0x397485){(function(_0x18b97,_0x26b693){const _0x378557=_0x2ea9;_0x491497[_0x378557(0x3a9)]=_0x26b693(ue());}(Z,function(_0x75e724){return(function(){const _0x2ef227=_0x2ea9;if(typeof ArrayBuffer==_0x2ef227(0x31f)){var _0x4a7695=_0x75e724,_0x5a7a42=_0x4a7695['lib'],_0x3c9dbe=_0x5a7a42[_0x2ef227(0x159)],_0xae1c0b=_0x3c9dbe[_0x2ef227(0x3b9)],_0x4cf294=_0x3c9dbe[_0x2ef227(0x3b9)]=function(_0x1ab46b){const _0x4c05a4=_0x2ef227;if(_0x1ab46b instanceof ArrayBuffer&&(_0x1ab46b=new Uint8Array(_0x1ab46b)),(_0x1ab46b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ab46b instanceof Uint8ClampedArray||_0x1ab46b instanceof Int16Array||_0x1ab46b instanceof Uint16Array||_0x1ab46b instanceof Int32Array||_0x1ab46b instanceof Uint32Array||_0x1ab46b instanceof Float32Array||_0x1ab46b instanceof Float64Array)&&(_0x1ab46b=new Uint8Array(_0x1ab46b[_0x4c05a4(0x3da)],_0x1ab46b['byteOffset'],_0x1ab46b[_0x4c05a4(0x2e5)])),_0x1ab46b instanceof Uint8Array){for(var _0x3630ad=_0x1ab46b[_0x4c05a4(0x2e5)],_0x333f23=[],_0x2614c8=0x0;_0x2614c8<_0x3630ad;_0x2614c8++)_0x333f23[_0x2614c8>>>0x2]|=_0x1ab46b[_0x2614c8]<<0x18-_0x2614c8%0x4*0x8;_0xae1c0b['call'](this,_0x333f23,_0x3630ad);}else _0xae1c0b[_0x4c05a4(0x493)](this,arguments);};_0x4cf294['prototype']=_0x3c9dbe;}}()),_0x75e724['lib']['WordArray'];}));}(Wi));var Ba=Wi['exports'];const ka=at(Ba);var Fi={'exports':{}};(function(_0x1e84c2,_0x6ae442){(function(_0x10ce29,_0x84b29,_0x138d79){const _0x5af9ea=_0x2ea9;_0x1e84c2[_0x5af9ea(0x3a9)]=_0x84b29(ue(),Bi());}(Z,function(_0x58fbf2){const _0x1bbcef=_0x2ea9;return _0x58fbf2[_0x1bbcef(0x25a)][_0x1bbcef(0x190)]={'pad':function(){},'unpad':function(){}},_0x58fbf2[_0x1bbcef(0x25a)][_0x1bbcef(0x190)];}));}(Fi));var Wa=Fi[_0x29d74e(0x3a9)];const Fa=at(Wa);function Va(_0x32b6f6,_0x498298){const _0x53c2e3=_0x29d74e,_0xb6efc9=_0x498298-_0x32b6f6[_0x53c2e3(0x400)]%_0x498298,_0x1bc441=String[_0x53c2e3(0x13c)](_0xb6efc9)[_0x53c2e3(0x2bc)](_0xb6efc9);return _0x32b6f6+_0x1bc441;}function Ga(_0x188ba6,_0x32b007){const _0x44ae65=_0x29d74e,_0x51affa=ka[_0x44ae65(0x424)](0x10),_0x3a9cf2=Va(_0x188ba6,0x10),_0x80d92b=$a['encrypt'](ja[_0x44ae65(0x169)](_0x3a9cf2),qs[_0x44ae65(0x169)](_0x32b007),{'iv':_0x51affa,'padding':Fa});return _0x51affa[_0x44ae65(0x332)](_0x80d92b[_0x44ae65(0x1de)])[_0x44ae65(0x394)](qs);}function Ya(){const _0x1a1a27=_0x29d74e,_0x34752b=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1a1a27(0x475)];if(_0x34752b){const _0x411d33={'time':Math['floor'](Date[_0x1a1a27(0x4dc)]()/0x3e8),'domain':location[_0x1a1a27(0x351)]};return Ga(JSON['stringify'](_0x411d33),_0x34752b);}}var Ka=Object[_0x29d74e(0x229)],za=Object[_0x29d74e(0x494)],qa=(_0x2b021d,_0x774086,_0x28be96,_0x29df61)=>{for(var _0x23b9b6=_0x29df61>0x1?void 0x0:_0x29df61?za(_0x774086,_0x28be96):_0x774086,_0x7bc64b=_0x2b021d['length']-0x1,_0xbebdff;_0x7bc64b>=0x0;_0x7bc64b--)(_0xbebdff=_0x2b021d[_0x7bc64b])&&(_0x23b9b6=(_0x29df61?_0xbebdff(_0x774086,_0x28be96,_0x23b9b6):_0xbebdff(_0x23b9b6))||_0x23b9b6);return _0x29df61&&_0x23b9b6&&Ka(_0x774086,_0x28be96,_0x23b9b6),_0x23b9b6;},Xa=(_0x10a752,_0x26a989)=>(_0x57cf49,_0x19dafb)=>_0x26a989(_0x57cf49,_0x19dafb,_0x10a752);let bt=class{constructor(_0x45c74d){this['_httpService']=_0x45c74d,this['_initRequestHeader']();}[_0x29d74e(0x301)](){const _0x5822de=_0x29d74e;this['_httpService'][_0x5822de(0x409)]({'interceptor':(_0x527dcf,_0x7b1e9c)=>{const _0x19e4d6=_0x5822de,_0x59e256=_0x527dcf[_0x19e4d6(0x103)],_0x56d161=Ya();return _0x56d161&&_0x59e256[_0x19e4d6(0x36d)](_0x19e4d6(0x247),_0x56d161),_0x7b1e9c(_0x527dcf);}});}};bt=qa([Xa(0x0,_0x37efa2(_0x28ac76))],bt);var Ja=Object[_0x29d74e(0x229)],Za=Object[_0x29d74e(0x494)],Qa=(_0x18f3e1,_0x5c051c,_0x5ebda0,_0x2883f5)=>{const _0x5a900d=_0x29d74e;for(var _0x33316b=_0x2883f5>0x1?void 0x0:_0x2883f5?Za(_0x5c051c,_0x5ebda0):_0x5c051c,_0xc30b60=_0x18f3e1[_0x5a900d(0x400)]-0x1,_0x2990a7;_0xc30b60>=0x0;_0xc30b60--)(_0x2990a7=_0x18f3e1[_0xc30b60])&&(_0x33316b=(_0x2883f5?_0x2990a7(_0x5c051c,_0x5ebda0,_0x33316b):_0x2990a7(_0x33316b))||_0x33316b);return _0x2883f5&&_0x33316b&&Ja(_0x5c051c,_0x5ebda0,_0x33316b),_0x33316b;},zt=(_0x1c3617,_0x52495a)=>(_0x5aabf1,_0x288131)=>_0x52495a(_0x5aabf1,_0x288131,_0x1c3617);const ec=['image/png',_0x29d74e(0x4d1),_0x29d74e(0x12b),_0x29d74e(0x11e),'image/bmp'],tc=0x5*0x400*0x400,sc=_0x29d74e(0x48c),ic='/universer-api/stream/file/upload',nc=_0x29d74e(0x37f),rc='/universer-api/file/{fileID}/sign-url';let as=class{constructor(_0x3a85d2,_0x49cbca,_0x205412){const _0x342c98=_0x29d74e;g(this,'_waitCount',0x0),g(this,_0x342c98(0x375),new _0x2c142e()),g(this,'change$',this[_0x342c98(0x375)]),g(this,_0x342c98(0x250),new Map()),(this['_httpService']=_0x3a85d2,this[_0x342c98(0x3e5)]=_0x49cbca,this[_0x342c98(0x387)]=_0x205412);}[_0x29d74e(0x4b8)](_0x21d706){const _0x17b7ef=_0x29d74e;this[_0x17b7ef(0x388)]=_0x21d706,this[_0x17b7ef(0x375)][_0x17b7ef(0x175)](_0x21d706);}[_0x29d74e(0x10c)](_0x212924,_0x1bf14d){const _0x533ea3=_0x29d74e;if(_0x1bf14d===_0xb2e9[_0x533ea3(0x3a1)]){const _0x42fa87=new Image();return _0x42fa87['src']=_0x212924,_0x42fa87;}return this[_0x533ea3(0x250)][_0x533ea3(0x177)](_0x212924);}[_0x29d74e(0x473)](_0x1142ff,_0x5244fe,_0x52256d){const _0x476cd0=_0x29d74e;_0x5244fe===_0xb2e9['BASE64']||_0x52256d==null||this[_0x476cd0(0x250)]['set'](_0x1142ff,_0x52256d);}async[_0x29d74e(0x15a)](_0x444f8c){const _0x1e4f86=_0x29d74e;try{const _0x494370=this['_replaceFileID'](this[_0x1e4f86(0x4e7)](),''+_0x444f8c),_0x573cd8=(await this[_0x1e4f86(0x1c3)][_0x1e4f86(0x177)](_0x494370))['body'];if(_0x573cd8[_0x1e4f86(0x444)]&&_0x573cd8['error'][_0x1e4f86(0x19d)]===Ei['OK']){const _0x42c70a=new URL(_0x573cd8[_0x1e4f86(0x43c)],this['_getDownloadEndpointURL']())[_0x1e4f86(0x394)]();return Promise['resolve'](_0x42c70a);}return Promise['reject'](_0x573cd8[_0x1e4f86(0x444)]);}catch(_0x2ce430){return Promise['reject'](_0x2ce430);}}async[_0x29d74e(0x38c)](_0x50fb1f){const _0x256fb6=_0x29d74e;let _0x5f5658='';if(!ec[_0x256fb6(0x1d6)](_0x50fb1f['type']))return this[_0x256fb6(0x4a5)](),Promise['reject'](new Error(_0x537a24['ERROR_IMAGE_TYPE']));if(_0x50fb1f['size']>tc)return this[_0x256fb6(0x4a5)](),Promise[_0x256fb6(0x2a2)](new Error(_0x537a24[_0x256fb6(0x214)]));try{const _0x3d65e2=new FormData();_0x3d65e2['append'](_0x256fb6(0x3bf),_0x50fb1f);const _0x1b2a83=this[_0x256fb6(0x387)][_0x256fb6(0x48d)](),_0x3276e8=_0x1b2a83==null?void 0x0:_0x1b2a83[_0x256fb6(0x4af)]();if(!_0x3276e8)throw new Error(_0x256fb6(0xf8));const _0x12d064=this[_0x256fb6(0x2ca)]()+_0x256fb6(0x40f)+_0x50fb1f[_0x256fb6(0x27a)][_0x256fb6(0x394)]()+_0x256fb6(0x14c)+bi[_0x256fb6(0x442)]+_0x256fb6(0x419)+encodeURIComponent(_0x3276e8),_0x29f34f=await(await fetch(_0x12d064,{'method':'POST','body':_0x3d65e2}))[_0x256fb6(0x42c)]();if(typeof _0x29f34f[_0x256fb6(0x2a8)]!=_0x256fb6(0x1d3))return this[_0x256fb6(0x4a5)](),Promise['reject'](new Error(_0x537a24[_0x256fb6(0x39f)]));_0x5f5658=_0x29f34f[_0x256fb6(0x2a8)];}catch{return this[_0x256fb6(0x4a5)](),Promise[_0x256fb6(0x2a2)](new Error(_0x537a24[_0x256fb6(0x39f)]));}return new Promise((_0x21dd49,_0xd6026c)=>{const _0x7ca2b1=_0x256fb6,_0x85ca72=new FileReader();_0x85ca72[_0x7ca2b1(0x480)](_0x50fb1f),_0x85ca72[_0x7ca2b1(0xf7)]=_0x105cf1=>{const _0xd9b952=_0x7ca2b1;var _0x36c522;const _0x39cce2=(_0x36c522=_0x105cf1[_0xd9b952(0x1c4)])==null?void 0x0:_0x36c522[_0xd9b952(0x264)];if(_0x39cce2==null){this[_0xd9b952(0x4a5)](),_0xd6026c(new Error(_0x537a24['ERROR_IMAGE']));return;}const _0x215545=_0x56f740[_0xd9b952(0x207)](0x6);_0x21dd49({'imageId':_0x215545,'imageSourceType':_0xb2e9[_0xd9b952(0x171)],'source':_0x5f5658,'base64Cache':_0x39cce2,'status':_0x537a24[_0xd9b952(0x1d2)]}),this['_decreaseWaiting']();};});}[_0x29d74e(0x2ca)](){const _0x2b2ed3=_0x29d74e;var _0x350250,_0xbb8b21;const _0x183f81=this['_configService'][_0x2b2ed3(0x3df)](sc),_0x260c95=this[_0x2b2ed3(0x3e5)]['getConfig'](ie);return(_0xbb8b21=(_0x350250=_0x260c95==null?void 0x0:_0x260c95[_0x2b2ed3(0x1fd)])!=null?_0x350250:_0x183f81)!=null?_0xbb8b21:ic;}['_getSignURL'](){const _0x495fde=_0x29d74e;var _0x1dee80,_0xa259e;const _0x3dffd5=this[_0x495fde(0x3e5)][_0x495fde(0x3df)](nc),_0x5d11e6=this[_0x495fde(0x3e5)][_0x495fde(0x3df)](ie);return(_0xa259e=(_0x1dee80=_0x5d11e6==null?void 0x0:_0x5d11e6[_0x495fde(0x291)])!=null?_0x1dee80:_0x3dffd5)!=null?_0xa259e:rc;}[_0x29d74e(0x1d9)](){const _0x3afc39=_0x29d74e;var _0x1ee561;const _0xeb5275=this[_0x3afc39(0x3e5)]['getConfig'](ie);return(_0x1ee561=_0xeb5275==null?void 0x0:_0xeb5275[_0x3afc39(0x13a)])!=null?_0x1ee561:location[_0x3afc39(0x3a7)];}[_0x29d74e(0x258)](_0x21ad8a,_0x10b4f1){const _0xf40826=_0x29d74e;return _0x21ad8a[_0xf40826(0x2d1)]('{fileID}',_0x10b4f1);}[_0x29d74e(0x4a5)](){const _0x5e0299=_0x29d74e;this[_0x5e0299(0x388)]-=0x1,this['_change$'][_0x5e0299(0x175)](this['_waitCount']);}};as=Qa([zt(0x0,_0x37efa2(_0x28ac76)),zt(0x1,_0x167231),zt(0x2,_0x37efa2(_0x4c5fa7))],as);var oc=Object['defineProperty'],ac=Object[_0x29d74e(0x494)],cc=(_0x290b4b,_0xb76d89,_0x437c8b,_0x4cee56)=>{const _0xc0044=_0x29d74e;for(var _0x530e8a=_0x4cee56>0x1?void 0x0:_0x4cee56?ac(_0xb76d89,_0x437c8b):_0xb76d89,_0x4dfccb=_0x290b4b[_0xc0044(0x400)]-0x1,_0x1b44cc;_0x4dfccb>=0x0;_0x4dfccb--)(_0x1b44cc=_0x290b4b[_0x4dfccb])&&(_0x530e8a=(_0x4cee56?_0x1b44cc(_0xb76d89,_0x437c8b,_0x530e8a):_0x1b44cc(_0x530e8a))||_0x530e8a);return _0x4cee56&&_0x530e8a&&oc(_0xb76d89,_0x437c8b,_0x530e8a),_0x530e8a;},Qe=(_0x419f9c,_0x38daa0)=>(_0x32ad74,_0x1a2a9d)=>_0x38daa0(_0x32ad74,_0x1a2a9d,_0x419f9c);let Tt=class extends _0x44a670{constructor(_0x40b054,_0x2a2e00,_0x53bc6b,_0x52d5b5,_0x43535f){const _0x197e3f=_0x29d74e;super(),this[_0x197e3f(0x1b2)]=_0x40b054,this[_0x197e3f(0x387)]=_0x2a2e00,this['_permissionService']=_0x53bc6b,this['_collaborationSessionService']=_0x52d5b5,this[_0x197e3f(0xef)]=_0x43535f,this['_initUnitPermissionChange'](),this[_0x197e3f(0x279)]();}['_initCloseConn'](){const _0xb75b81=_0x29d74e,_0x36e1d2=async _0x12fa72=>{const _0x3bac7c=_0x2ea9;(await this[_0x3bac7c(0x330)][_0x3bac7c(0x224)](_0x12fa72))[_0x3bac7c(0x2a1)]['pipe'](_0x2746a5(_0x54cdbe=>_0x54cdbe[_0x3bac7c(0x167)]===_0x1030bd[_0x3bac7c(0x217)]),_0x41e8bd(this[_0x3bac7c(0x201)]))[_0x3bac7c(0x3c2)](_0x2409ec=>{const _0x5d69cd=_0x3bac7c,_0x9d950d=_0x2409ec,{reason:_0x177eaa}=_0x9d950d['data'];this[_0x5d69cd(0x1b2)][_0x5d69cd(0x177)](_0xcca842)['show']({'type':_0x5b9771[_0x5d69cd(0x364)],'content':this['_localeService']['t'](_0x5d69cd(0x381))+'('+_0x177eaa+')'}),this[_0x5d69cd(0x281)][_0x5d69cd(0x273)](new _0x3399e3(_0x12fa72)['id'],!0x1),this[_0x5d69cd(0x330)][_0x5d69cd(0x119)](_0x12fa72);});};_0xef46fa(this[_0xb75b81(0x387)][_0xb75b81(0x13d)](_0xcdbbdb[_0xb75b81(0x142)]),this[_0xb75b81(0x387)][_0xb75b81(0x13d)](_0xcdbbdb['UNIVER_DOC']))[_0xb75b81(0x472)](_0x1c1ea1(_0x4594e1=>_0x4594e1[_0xb75b81(0x4af)]()),_0x2746a5(_0x308825=>!_0x592dc5(_0x308825)),_0x41e8bd(this[_0xb75b81(0x201)]))[_0xb75b81(0x3c2)](_0x3c6121=>{_0x36e1d2(_0x3c6121);});}[_0x29d74e(0x15d)](){const _0x571619=_0x29d74e,_0x467fe8=async _0x2e0310=>{const _0x265aff=_0x2ea9;(await this['_collaborationSessionService'][_0x265aff(0x224)](_0x2e0310))[_0x265aff(0x2a1)][_0x265aff(0x472)](_0x2746a5(_0xb2c520=>_0xb2c520[_0x265aff(0x167)]===_0x1030bd['UPDATE_PERMISSION_OBJ']),_0x41e8bd(this[_0x265aff(0x201)]))[_0x265aff(0x3c2)](_0x37ae11=>{const _0x5a9190=_0x265aff,_0x42dc09=_0x37ae11,{objectId:_0x247ad1}=_0x42dc09['data'],_0x88a3f2=this[_0x5a9190(0x1b2)]['get'](_0x506687);_0x247ad1===_0x2e0310?_0x88a3f2[_0x5a9190(0x49a)](_0x2e0310):_0x88a3f2[_0x5a9190(0x469)](_0x2e0310,_0x247ad1);});};_0xef46fa(this['_univerInstanceService'][_0x571619(0x13d)](_0xcdbbdb[_0x571619(0x142)]),this[_0x571619(0x387)]['getTypeOfUnitAdded$'](_0xcdbbdb['UNIVER_DOC']))['pipe'](_0x1c1ea1(_0x5e2948=>_0x5e2948[_0x571619(0x4af)]()),_0x2746a5(_0x252877=>!_0x592dc5(_0x252877)),_0x41e8bd(this[_0x571619(0x201)]))['subscribe'](_0xf23021=>{_0x467fe8(_0xf23021);});}};Tt=cc([Qe(0x0,_0x37efa2(_0x1e339b)),Qe(0x1,_0x4c5fa7),Qe(0x2,_0x1776e5),Qe(0x3,_0x37efa2(Ne)),Qe(0x4,_0x37efa2(_0x10be55))],Tt);var hc=Object[_0x29d74e(0x229)],lc=Object[_0x29d74e(0x494)],_c=(_0x51e0a2,_0x11f034,_0xb64a84,_0x331675)=>{for(var _0x23c26a=_0x331675>0x1?void 0x0:_0x331675?lc(_0x11f034,_0xb64a84):_0x11f034,_0x494cf4=_0x51e0a2['length']-0x1,_0x311579;_0x494cf4>=0x0;_0x494cf4--)(_0x311579=_0x51e0a2[_0x494cf4])&&(_0x23c26a=(_0x331675?_0x311579(_0x11f034,_0xb64a84,_0x23c26a):_0x311579(_0x23c26a))||_0x23c26a);return _0x331675&&_0x23c26a&&hc(_0x11f034,_0xb64a84,_0x23c26a),_0x23c26a;},ti=(_0x5e4daa,_0x5745f6)=>(_0x33f564,_0x3c66a9)=>_0x5745f6(_0x33f564,_0x3c66a9,_0x5e4daa);let cs=class{constructor(_0x46a6e3,_0x11f8f3){const _0x4ce6d4=_0x29d74e;this[_0x4ce6d4(0x3e5)]=_0x46a6e3,this[_0x4ce6d4(0x1c3)]=_0x11f8f3;}async[_0x29d74e(0x39c)](_0x128efd,_0x403fbd){const _0x25ded0=_0x29d74e;var _0x52b104;const {unitID:_0x376251,type:_0x2bfb25,revision:_0x59999b=0x0}=_0x403fbd,_0xe12998=this[_0x25ded0(0x271)]()+'/'+_0x2bfb25+_0x25ded0(0x164)+_0x376251+'/rev/'+_0x59999b,_0x5d0f2b=(await this[_0x25ded0(0x1c3)][_0x25ded0(0x177)](_0xe12998))[_0x25ded0(0x257)],_0x45a113=(_0x52b104=_0x5d0f2b['snapshot'])==null?void 0x0:_0x52b104[_0x25ded0(0x304)];if(_0x45a113){const _0x1802a9=_0x45a113==null?void 0x0:_0x45a113['originalMeta'],_0x371296=_0x5a6397[_0x25ded0(0x4d3)](_0x2b9359(_0x1802a9));_0x45a113[_0x25ded0(0x284)]=_0x371296,Object[_0x25ded0(0x2e3)](_0x45a113[_0x25ded0(0x1b9)])[_0x25ded0(0x2d5)](([,_0x3b7f62])=>{const _0x3cc801=_0x25ded0,_0x5d3944=_0x3b7f62['originalMeta'],_0x1354b4=_0x5a6397[_0x3cc801(0x4d3)](_0x2b9359(_0x5d3944));_0x3b7f62['originalMeta']=_0x1354b4;});}return _0x5d0f2b;}async[_0x29d74e(0x33f)](_0x42516c,_0x3917a3){const _0x43ad56=_0x29d74e,{unitID:_0x56e898,type:_0x3ee005,blockID:_0x6b50d2}=_0x3917a3,_0x507f65=this[_0x43ad56(0x3b2)]()+'/'+_0x3ee005+'/unit/'+_0x56e898+_0x43ad56(0x2b2)+_0x6b50d2;return(await this[_0x43ad56(0x1c3)]['get'](_0x507f65))['body'];}async['getDeserializedSheetBlock'](_0x18fa96,_0x453359){const _0x1499a7=_0x29d74e,{unitID:_0xa4865a,type:_0x2bbe02,blockID:_0x56e28b}=_0x453359,_0x294861=this[_0x1499a7(0x3b2)]()+_0x1499a7(0x2b2)+_0x2bbe02+'/unit/'+_0xa4865a+_0x1499a7(0x2b2)+_0x56e28b;return(await this[_0x1499a7(0x1c3)][_0x1499a7(0x177)](_0x294861))[_0x1499a7(0x257)];}async[_0x29d74e(0x421)](_0x5f4a5e,_0x3c5a42){const _0x5d291d=_0x29d74e,{unitID:_0x2a0670,type:_0x701da,from:_0x191d3c,to:_0x96d1f7}=_0x3c5a42,_0x37c19a=this[_0x5d291d(0x3b2)]()+'/'+_0x701da+'/unit/'+_0x2a0670+_0x5d291d(0x2a9)+_0x191d3c+_0x5d291d(0x4c2)+_0x96d1f7;return(await this[_0x5d291d(0x1c3)]['get'](_0x37c19a))['body'];}['_getSnapshotAPIPrefix'](){const _0x5aebd9=_0x29d74e;var _0x23404a;return(_0x23404a=this[_0x5aebd9(0x3e5)][_0x5aebd9(0x3df)](or))!=null?_0x23404a:this['_getAPIPrefix']();}[_0x29d74e(0x3b2)](){const _0x125742=_0x29d74e;var _0x4ccc85,_0x15c540;const _0x1edbab=this[_0x125742(0x3e5)][_0x125742(0x3df)](nr),_0x5cc720=this[_0x125742(0x3e5)][_0x125742(0x3df)](ie);return(_0x15c540=(_0x4ccc85=_0x5cc720==null?void 0x0:_0x5cc720[_0x125742(0x106)])!=null?_0x4ccc85:_0x1edbab)!=null?_0x15c540:rr;}async[_0x29d74e(0x221)](_0x398b1b,_0x891314){const _0x2b3249=_0x29d74e,_0x10a48c=_0x2b3249(0x410)+_0x891314[_0x2b3249(0x379)]+_0x2b3249(0x164)+_0x891314[_0x2b3249(0x46f)]+_0x2b3249(0x492);return(await this['_httpService']['get'](_0x10a48c,{'params':{'resourceId':JSON[_0x2b3249(0x11f)](_0x891314['resourceIDs'])}}))[_0x2b3249(0x257)];}[_0x29d74e(0x45d)](){const _0x2824a3=_0x29d74e;throw new Error(_0x2824a3(0x24c));}[_0x29d74e(0x296)](){const _0x49754c=_0x29d74e;throw new Error(_0x49754c(0x24c));}[_0x29d74e(0x28f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x29d74e(0x14f)](){const _0x165814=_0x29d74e;throw new Error(_0x165814(0x24c));}[_0x29d74e(0x265)](){const _0x32624d=_0x29d74e;throw new Error(_0x32624d(0x24c));}};cs=_c([ti(0x0,_0x167231),ti(0x1,_0x37efa2(_0x28ac76))],cs);var uc=Object[_0x29d74e(0x229)],dc=Object[_0x29d74e(0x494)],fc=(_0x397da8,_0x2528ad,_0xe2ea9,_0x15b5f5)=>{for(var _0x5a54a2=_0x15b5f5>0x1?void 0x0:_0x15b5f5?dc(_0x2528ad,_0xe2ea9):_0x2528ad,_0x19b60a=_0x397da8['length']-0x1,_0x3ce2ca;_0x19b60a>=0x0;_0x19b60a--)(_0x3ce2ca=_0x397da8[_0x19b60a])&&(_0x5a54a2=(_0x15b5f5?_0x3ce2ca(_0x2528ad,_0xe2ea9,_0x5a54a2):_0x3ce2ca(_0x5a54a2))||_0x5a54a2);return _0x15b5f5&&_0x5a54a2&&uc(_0x2528ad,_0xe2ea9,_0x5a54a2),_0x5a54a2;},et=(_0xac56ae,_0x5b004e)=>(_0x13177a,_0xbc4756)=>_0x5b004e(_0x13177a,_0xbc4756,_0xac56ae);let hs=class extends _0x564f91{constructor(_0x1d95fc,_0x2d0d5e,_0x1ea397,_0x4ba71a,_0x2ff127){const _0x3bb94e=_0x29d74e;super(_0x1d95fc,_0x2d0d5e,_0x1ea397),this[_0x3bb94e(0x2f4)]=_0x4ba71a,this[_0x3bb94e(0x468)]=_0x2ff127;}[_0x29d74e(0x2cb)](_0x47a27c,_0x429bf7){const _0x3098ed=_0x29d74e,_0x499171=this['_getUndoStack'](_0x47a27c);if(_0x499171)try{const _0x3fd8c7=this[_0x3098ed(0x4fb)](_0x499171,_0x429bf7);this[_0x3098ed(0x43a)](_0x47a27c,_0x3fd8c7);}catch(_0x24cdcc){this[_0x3098ed(0x468)][_0x3098ed(0x444)](_0x3098ed(0x1af),_0x24cdcc),this[_0x3098ed(0x44b)](_0x47a27c);}const _0x3867ef=this[_0x3098ed(0x377)](_0x47a27c);if(_0x3867ef)try{const _0x1fe021=this[_0x3098ed(0x4fb)](_0x3867ef,_0x429bf7);this[_0x3098ed(0x1e4)](_0x47a27c,_0x1fe021);}catch(_0x4e67c7){this[_0x3098ed(0x468)][_0x3098ed(0x444)](_0x4e67c7),this['_clearRedo'](_0x47a27c);}}[_0x29d74e(0x44b)](_0x35c8d3){const _0x3bb59a=_0x29d74e,_0x220f2e=this[_0x3bb59a(0x47b)](_0x35c8d3);_0x220f2e&&(_0x220f2e[_0x3bb59a(0x400)]=0x0,this[_0x3bb59a(0x366)]());}[_0x29d74e(0x292)](_0x1af271){const _0x3fd59c=_0x29d74e,_0x48aae6=this[_0x3fd59c(0x377)](_0x1af271);_0x48aae6&&(_0x48aae6[_0x3fd59c(0x400)]=0x0,this[_0x3fd59c(0x366)]());}[_0x29d74e(0x43a)](_0x21db29,_0x545c7){const _0x5f2543=_0x29d74e;this[_0x5f2543(0x1bd)][_0x5f2543(0x36d)](_0x21db29,_0x545c7),this[_0x5f2543(0x366)]();}[_0x29d74e(0x1e4)](_0x189f7d,_0x21b636){const _0x5cb7d3=_0x29d74e;this[_0x5cb7d3(0x172)][_0x5cb7d3(0x36d)](_0x189f7d,_0x21b636),this[_0x5cb7d3(0x366)]();}[_0x29d74e(0x4fb)](_0x18cc5d,_0x569117){const _0x3eda79=_0x29d74e,_0x5b5923=[];let _0x5b01f7=_0x569117,_0x3066c4=_0x569117;for(let _0x42f5df=_0x18cc5d[_0x3eda79(0x400)]-0x1;_0x42f5df>=0x0;_0x42f5df--){const {unitID:_0x5cd304,undoMutations:_0x57b652,redoMutations:_0x4b4d36}=_0x18cc5d[_0x42f5df],_0x38193e=this[_0x3eda79(0x2f4)][_0x3eda79(0x4ca)](_0x5b01f7,_0x57b652),_0x3b2adc=this['_transformService'][_0x3eda79(0x4ca)](_0x3066c4,_0x4b4d36);if(_0x3547b2(_0x38193e)||_0x3547b2(_0x3b2adc)){this[_0x3eda79(0x468)][_0x3eda79(0x444)](_0x3eda79(0x1af),_0x3eda79(0x1e7),_0x38193e,_0x3b2adc);break;}_0x5b01f7=_0x38193e[_0x3eda79(0x147)],_0x3066c4=_0x3b2adc[_0x3eda79(0x147)],_0x5b5923[_0x3eda79(0x183)]({'unitID':_0x5cd304,'undoMutations':_0x38193e[_0x3eda79(0x36b)],'redoMutations':_0x3b2adc[_0x3eda79(0x36b)]});}return _0x5b5923[_0x3eda79(0x1f0)]();}};hs=fc([et(0x0,_0x4c5fa7),et(0x1,_0xc41305),et(0x2,_0x1845f3),et(0x3,_0x4938c5),et(0x4,_0x2b335c)],hs);class vc extends _0x44a670{constructor(){const _0x2bce4b=_0x29d74e;super(),g(this,'urlChange$'),this['urlChange$']=_0x83dc15(window,_0x2bce4b(0x299))[_0x2bce4b(0x472)](_0xb0a601(this[_0x2bce4b(0x201)]),_0x304e5f(0x1),_0x5047b1(void 0x0));}['setParam'](_0x43353d,_0x3bbeb1,_0x295e73=!0x1){const _0x2a5f1d=_0x29d74e,_0x2a460a=new URL(window[_0x2a5f1d(0x41d)][_0x2a5f1d(0x3bb)]);_0x2a460a[_0x2a5f1d(0x1aa)][_0x2a5f1d(0x36d)](_0x43353d,_0x3bbeb1),_0x295e73?window[_0x2a5f1d(0x4de)]['replaceState']('','',_0x2a460a['toString']()):window[_0x2a5f1d(0x4de)][_0x2a5f1d(0x4d7)]('','',_0x2a460a['toString']());}[_0x29d74e(0x36e)](_0x4debf0,_0x127381=!0x1){const _0x170aea=_0x29d74e,_0x1ac7ec=new URL(window[_0x170aea(0x41d)]['href']);_0x1ac7ec[_0x170aea(0x1aa)][_0x170aea(0x4f6)](_0x4debf0),_0x127381?window[_0x170aea(0x4de)][_0x170aea(0x17b)]('','',_0x1ac7ec[_0x170aea(0x394)]()):window[_0x170aea(0x4de)]['pushState']('','',_0x1ac7ec[_0x170aea(0x394)]());}[_0x29d74e(0x12c)](_0x29199c){const _0xc155c6=_0x29d74e;var _0x3ccb9a;return(_0x3ccb9a=new URL(window[_0xc155c6(0x41d)][_0xc155c6(0x3bb)])[_0xc155c6(0x1aa)][_0xc155c6(0x177)](_0x29199c))!=null?_0x3ccb9a:void 0x0;}}var Vi=Object['defineProperty'],mc=Object[_0x29d74e(0x494)],pc=(_0x5ad76f,_0x469f8e,_0x12263f)=>_0x469f8e in _0x5ad76f?Vi(_0x5ad76f,_0x469f8e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12263f}):_0x5ad76f[_0x469f8e]=_0x12263f,gc=(_0x4bb529,_0x195d9d,_0x948c89,_0x3635ce)=>{const _0x5ae96b=_0x29d74e;for(var _0x99706f=_0x3635ce>0x1?void 0x0:_0x3635ce?mc(_0x195d9d,_0x948c89):_0x195d9d,_0x189318=_0x4bb529[_0x5ae96b(0x400)]-0x1,_0x47720c;_0x189318>=0x0;_0x189318--)(_0x47720c=_0x4bb529[_0x189318])&&(_0x99706f=(_0x3635ce?_0x47720c(_0x195d9d,_0x948c89,_0x99706f):_0x47720c(_0x99706f))||_0x99706f);return _0x3635ce&&_0x99706f&&Vi(_0x195d9d,_0x948c89,_0x99706f),_0x99706f;},lt=(_0x39a988,_0x2c50c6)=>(_0x37628a,_0x2a2df8)=>_0x2c50c6(_0x37628a,_0x2a2df8,_0x39a988),Sc=(_0x2e2090,_0x5764d6,_0x43834c)=>pc(_0x2e2090,_0x5764d6+'',_0x43834c);const Ic=_0x29d74e(0x2c1);let ls=class extends _0x5b55da{constructor(_0x2fa7d5=Cr,_0x102a06,_0xa8ae65,_0x9c87c0,_0x5767c0){const _0x1ebd8c=_0x29d74e;super(),this[_0x1ebd8c(0x16c)]=_0x2fa7d5,this[_0x1ebd8c(0x468)]=_0x102a06,this['_renderManagerService']=_0xa8ae65,this['_injector']=_0x9c87c0,this['_configService']=_0x5767c0;const {..._0xae43b6}=this['_config'];this['_configService'][_0x1ebd8c(0x3c0)](ie,_0xae43b6);}[_0x29d74e(0x3ab)](){const _0xd2a72b=_0x29d74e;this[_0xd2a72b(0x165)](),this[_0xd2a72b(0x193)]();}[_0x29d74e(0x1ec)](){_0x3f5f15(this['_injector'],[[Ct]]);}[_0x29d74e(0x44c)](){const _0x4c7211=_0x29d74e;this[_0x4c7211(0x399)]();}[_0x29d74e(0x165)](){const _0x2d1620=_0x29d74e;var _0x3ac006,_0x3cffb8,_0x49c6fa,_0x20ff5d;this['_injector'][_0x2d1620(0x44d)](_0x17339c)&&this['_logService'][_0x2d1620(0x444)](_0x2d1620(0x343),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0xc7a6d2=[[_0x17339c,{'useClass':hs}],[Ne],[Cs],[xi,{'useClass':vc}],[Ue],[q],[_0xad4ad5],[vt],[pt],[ft],[mt],[Ss],[Et],[bt],[Ri],[Tt],[Ti,{'useClass':(_0x3cffb8=(_0x3ac006=this[_0x2d1620(0x16c)])==null?void 0x0:_0x3ac006['socketService'])!=null?_0x3cffb8:Zt}],[_0x2b7ebf,{'useClass':cs}],[_0x385e9a,{'useClass':os}],[_0x5ba3bd,{'useClass':as}],[it],[It],[St],[Ct],[Ve]];(_0x49c6fa=this[_0x2d1620(0x16c)])!=null&&_0x49c6fa[_0x2d1620(0x4bf)]&&_0xc7a6d2[_0x2d1620(0x183)]([Rt,{'useClass':to}]),_0x220436(this[_0x2d1620(0x1b2)],_0x479814(_0xc7a6d2,(_0x20ff5d=this[_0x2d1620(0x16c)])==null?void 0x0:_0x20ff5d[_0x2d1620(0x28b)]));}[_0x29d74e(0x399)](){const _0x2b7dcd=_0x29d74e;this[_0x2b7dcd(0x3d0)](this[_0x2b7dcd(0x26c)][_0x2b7dcd(0x2d7)](_0xcdbbdb[_0x2b7dcd(0x2f6)],[ns])),this['disposeWithMe'](this[_0x2b7dcd(0x26c)][_0x2b7dcd(0x2d7)](_0xcdbbdb[_0x2b7dcd(0x142)],[rs]));}[_0x29d74e(0x193)](){const _0x2e8c99=_0x29d74e;var _0x16fcdc,_0x38f0f2;this['_injector'][_0x2e8c99(0x177)](_0x28ac76)[_0x2e8c99(0x409)]({'priority':0x14,'interceptor':_0x2ad2e3({'maxParallel':0x6})}),(_0x16fcdc=this[_0x2e8c99(0x16c)])!=null&&_0x16fcdc[_0x2e8c99(0x39e)]||this[_0x2e8c99(0x1b2)][_0x2e8c99(0x177)](q)[_0x2e8c99(0x1a1)](),(_0x38f0f2=this[_0x2e8c99(0x16c)])!=null&&_0x38f0f2[_0x2e8c99(0x46c)]&&_0x3f5f15(this[_0x2e8c99(0x1b2)],[[Et]]),_0x3f5f15(this[_0x2e8c99(0x1b2)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Sc(ls,'pluginName',Ic),ls=gc([_0x285417(_0x150e21,_0x1da47c),lt(0x1,_0x2b335c),lt(0x2,_0x4b3f95),lt(0x3,_0x37efa2(_0x1e339b)),lt(0x4,_0x167231)],ls);export{Pa as AUTHZ_URL_KEY,os as AuthzIoHttpService,pr as COLLAB_SUBMIT_CHANGESET_URL_KEY,cr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,Qt as CollaborationSession,Ne as CollaborationSessionService,Zt as CollaborationSocketService,J as CollaborationStatus,_a as CollaborationStatusDisplay,Ri as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,es as DocCollaborationEntity,lr as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ti as ICollaborationSocketService,xi as IURLService,as as ImageIoService,vr as LOCAL_CACHE_INTERVAL_KEY,Sr as LOGIN_URL_KEY,q as LocalCacheService,Ue as MemberService,dr as RETRY_CONNECTING_MAX_COUNT_KEY,Bc as SEND_CHANGESET_TIMEOUT_KEY,nr as SNAPSHOT_SERVER_URL_KEY,or as SNAPSHOT_URL_KEY,ve as SessionStatus,Yo as SheetCollabCursorShape,ts as SheetCollaborationEntity,cs as SnapshotServerOverHTTPService,ls as UniverCollaborationClientPlugin,vc as WebURLService,Er as deserializeToCombResponse,br as serializeCombRequest};
1
+ const _0x354c00=_0x33b4;(function(_0x464a1b,_0x4ad8b3){const _0x1a92d1=_0x33b4,_0x5ae58a=_0x464a1b();while(!![]){try{const _0x493776=-parseInt(_0x1a92d1(0x4f8))/0x1*(-parseInt(_0x1a92d1(0x237))/0x2)+-parseInt(_0x1a92d1(0x357))/0x3+parseInt(_0x1a92d1(0x32e))/0x4+parseInt(_0x1a92d1(0x36b))/0x5+parseInt(_0x1a92d1(0x387))/0x6+-parseInt(_0x1a92d1(0x4c7))/0x7*(-parseInt(_0x1a92d1(0x521))/0x8)+-parseInt(_0x1a92d1(0x2ac))/0x9;if(_0x493776===_0x4ad8b3)break;else _0x5ae58a['push'](_0x5ae58a['shift']());}catch(_0x1aa5c1){_0x5ae58a['push'](_0x5ae58a['shift']());}}}(_0x2f9d,0x2ed68));var qi=Object[_0x354c00(0x3cf)],Xi=(_0xfb2a1e,_0x638690,_0x19ee0d)=>_0x638690 in _0xfb2a1e?qi(_0xfb2a1e,_0x638690,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19ee0d}):_0xfb2a1e[_0x638690]=_0x19ee0d,g=(_0x297c10,_0x37e373,_0x29341f)=>Xi(_0x297c10,typeof _0x37e373!='symbol'?_0x37e373+'':_0x37e373,_0x29341f);import{createIdentifier as _0x1d937b,Inject as _0x1727eb,Disposable as _0x1cb1cd,DisposableCollection as _0x44e580,toDisposable as _0x48b865,IConfigService as _0x250a8d,ILogService as _0x3b4016,UserManagerService as _0x11a762,UniverInstanceType as _0x208af7,IUniverInstanceService as _0x48d976,LocaleService as _0x382d24,Optional as _0x213697,RxDisposable as _0x1bd493,Injector as _0x5d0612,Tools as _0x4127e3,ILocalStorageService as _0xea98c6,Rectangle as _0x10dcad,ICommandService as _0xfbfaad,DOC_RANGE_TYPE as _0x31810f,JSONX as _0x2f0114,CommandType as _0x1814f1,IPermissionService as _0x121e54,IUndoRedoService as _0x107280,sequenceExecute as _0x131a5d,debounce as _0x3cf277,COLORS as _0x3d216b,ColorKit as _0x3ee1d4,ThemeService as _0x45a9b5,fromEventSubject as _0x5dc8db,useDependency as _0x38e1d3,connectInjector as _0x45e1ea,Workbook as _0x1b5e66,isInternalEditorID as _0x16f910,LocalUndoRedoService as _0x32659e,IContextService as _0x4d0f4d,DependentOn as _0x335d7c,Plugin as _0x58cc57,touchDependencies as _0x167bff,IAuthzIoService as _0x2602c6,registerDependencies as _0x1982ee,mergeOverrideWithDependencies as _0xb2abd5}from'@univerjs/core';import{Subject as _0x3189d9,merge as _0x32fe1c,takeUntil as _0x144dfb,BehaviorSubject as _0x5ea788,distinctUntilChanged as _0x197f58,fromEvent as _0x2ddc8b,ReplaySubject as _0x133d1d,take as _0x491b6c,map as _0x147fd2,shareReplay as _0x3f5b54,of as _0x517049,debounceTime as _0x1d2149,filter as _0x3de249,switchMap as _0x32daf9,combineLatest as _0x26ee51,concatMap as _0x4a0d9c,mapTo as _0x3a17d4}from'rxjs';import{map as _0x416fe6,take as _0x217ea4,filter as _0x34bcfb,delay as _0x1a5bdc,throttleTime as _0x466658,takeUntil as _0x53e684,switchMap as _0x203a58}from'rxjs/operators';import{MessageType as _0x3960e0,Tooltip as _0x3e0db8}from'@univerjs/design';import{IBeforeCloseService as _0x169eb0,IMessageService as _0x35026c,INotificationService as _0x49927c,useObservable as _0x253487,BuiltInUIPart as _0x22c053,IUIPartsService as _0x17b17c}from'@univerjs/ui';import{HTTPService as _0x4e8dbf,WebSocketService as _0x4fed41,MergeInterceptorFactory as _0x542720,HTTPRequest as _0x79519,UniverNetworkPlugin as _0x573469,ThresholdInterceptorFactory as _0x407e02}from'@univerjs/network';import{CollaborationEvent as _0x5fb817,parseChangesetToProtocol as _0x4d7eb0,ISnapshotServerService as _0x5f0191,isTransformMutationFailure as _0x17dd13,isTransformMutationsWithChangesetSuccess as _0x295e25,ITransformService as _0xe30adb,RevisionService as _0x27820f,mapDocumentTypeToUniverType as _0x1ee155,isTransformChangesetsSuccess as _0x2a9c67,CompressMutationService as _0x19d90b,parseProtocolChangeset as _0xccb1bb,SnapshotService as _0x1644f2,textEncoder as _0x33b47e,b64DecodeUnicode as _0x1d5b0f,isTransformMutationsWithChangesetFailure as _0x57658d,UniverCollaborationPlugin as _0x3e0fbc}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x48fa6d}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x2f9898,DocStateChangeManagerService as _0x1578ad,NodePositionConvertToCursor as _0x183683,NodePositionConvertToRectRange as _0x4f5085,TEXT_RANGE_LAYER_INDEX as _0x3ac314,SetDocZoomRatioOperation as _0x21a036}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0xfd201e,SetSelectionsOperation as _0x558a1a,InsertSheetMutation as _0x15c0ac,EmptyMutation as _0x5d1831,WorkbookEditablePermission as _0x18c2b1,RefRangeService as _0x427b6f,EffectRefRangId as _0x5d8ed2,handleIRemoveRow as _0x48b028,handleIRemoveCol as _0x2964d0,handleMoveRange as _0x8704d,handleInsertRow as _0x5b2a5a,handleInsertRangeMoveRight as _0x51681e,handleInsertRangeMoveDown as _0xb9b604,handleInsertCol as _0x329a98,handleDeleteRangeMoveUp as _0x5f49ac,handleDeleteRangeMoveLeft as _0x58650a,runRefRangeMutations as _0x447711,SetWorksheetActivateCommand as _0x4f7e31}from'@univerjs/sheets';import{IRenderManagerService as _0xf0df93,Shape as _0x361298,Rect as _0x4d9978,getColor as _0x376e65,RegularPolygon as _0x351e9f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4b6802,Vector2 as _0x1e515e}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x15c40f,RichTextEditingMutation as _0x2e83de,SetTextSelectionsOperation as _0x259a8e,DocSkeletonManagerService as _0x2cdfc6}from'@univerjs/docs';import{ImageSourceType as _0x422438,ImageUploadStatusType as _0xb4c80f,IImageIoService as _0x4405e1}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x17ae33,serializeRangeWithSheet as _0x11daff}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x17de71,VIEWPORT_KEY as _0x1bae0e,getCoordByCell as _0x452ad9,getSheetObject as _0x462d92,SheetPermissionInitController as _0x31aae9}from'@univerjs/sheets-ui';import _0x2c8d7a,{forwardRef as _0x448ef5,useRef as _0x143c61,createElement as _0x826a7b,useCallback as _0x26490b}from'react';import{IRemoteInstanceService as _0x2d92e8}from'@univerjs/rpc';const cr=_0x354c00(0x1de),hr='/universer-api/snapshot',lr=_0x354c00(0x4d4),Xc=_0x354c00(0x20d),_r=0x7d0,ur=_0x354c00(0x453),dr=_0x354c00(0x1d2),fr=_0x354c00(0x164),vr=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,mr=0x4e20,pr=_0x354c00(0x18a),gr=0x3,Sr=_0x354c00(0x2fa),Ir=0x3e8,Cr=_0x354c00(0x2e5),Er='/universer-api/comb',br=_0x354c00(0x480),Tr=_0x354c00(0x269);var Ri=(_0x16cc08=>(_0x16cc08[_0x16cc08[_0x354c00(0x198)]=0x0]=_0x354c00(0x198),_0x16cc08[_0x16cc08['OK']=0x1]='OK',_0x16cc08[_0x16cc08[_0x354c00(0x17f)]=0x2]=_0x354c00(0x17f),_0x16cc08[_0x16cc08[_0x354c00(0x2ba)]=0x3]='PERMISSION_DENIED',_0x16cc08[_0x16cc08[_0x354c00(0x499)]=0x4]='NOT_FOUND',_0x16cc08[_0x16cc08[_0x354c00(0x35a)]=0x5]=_0x354c00(0x35a),_0x16cc08[_0x16cc08[_0x354c00(0x36c)]=0x6]=_0x354c00(0x36c),_0x16cc08[_0x16cc08[_0x354c00(0x54e)]=0x7]=_0x354c00(0x54e),_0x16cc08[_0x16cc08['TOO_MANY_REQUESTS']=0x8]=_0x354c00(0x304),_0x16cc08[_0x16cc08['COMPLETION_FINISHED']=0x9]=_0x354c00(0x213),_0x16cc08[_0x16cc08['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x354c00(0x1ec),_0x16cc08[_0x16cc08['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x16cc08[_0x16cc08[_0x354c00(0x2f6)]=0x1772]=_0x354c00(0x2f6),_0x16cc08[_0x16cc08[_0x354c00(0x42b)]=0x1773]=_0x354c00(0x42b),_0x16cc08[_0x16cc08['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x16cc08[_0x16cc08[_0x354c00(0x41e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x16cc08[_0x16cc08[_0x354c00(0x21a)]=0x1b5b]=_0x354c00(0x21a),_0x16cc08[_0x16cc08[_0x354c00(0x4de)]=0x1b5c]=_0x354c00(0x4de),_0x16cc08[_0x16cc08[_0x354c00(0x296)]=0x1b5d]=_0x354c00(0x296),_0x16cc08[_0x16cc08['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x16cc08[_0x16cc08[_0x354c00(0x380)]=0x2329]=_0x354c00(0x380),_0x16cc08[_0x16cc08['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x354c00(0x180),_0x16cc08[_0x16cc08[_0x354c00(0x1dd)]=0x232b]=_0x354c00(0x1dd),_0x16cc08[_0x16cc08[_0x354c00(0x157)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x16cc08[_0x16cc08[_0x354c00(0x41f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x16cc08[_0x16cc08[_0x354c00(0x457)]=0x2711]=_0x354c00(0x457),_0x16cc08[_0x16cc08[_0x354c00(0x417)]=0x2712]=_0x354c00(0x417),_0x16cc08[_0x16cc08[_0x354c00(0x44e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x16cc08[_0x16cc08['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x354c00(0x395),_0x16cc08[_0x16cc08[_0x354c00(0x342)]=-0x1]=_0x354c00(0x342),_0x16cc08))(Ri||{}),ce=(_0x57b40a=>(_0x57b40a[_0x57b40a[_0x354c00(0x50b)]=0x0]=_0x354c00(0x50b),_0x57b40a[_0x57b40a[_0x354c00(0x461)]=0x1]=_0x354c00(0x461),_0x57b40a[_0x57b40a[_0x354c00(0x1c5)]=0x2]='UNIVER_SHEET',_0x57b40a[_0x57b40a['UNIVER_SLIDE']=0x3]=_0x354c00(0x288),_0x57b40a[_0x57b40a['UNIVER_PROJECT']=0x4]=_0x354c00(0x2d7),_0x57b40a[_0x57b40a['UNRECOGNIZED']=-0x1]=_0x354c00(0x342),_0x57b40a))(ce||{}),W=(_0x523ba1=>(_0x523ba1[_0x523ba1[_0x354c00(0x549)]=0x0]=_0x354c00(0x549),_0x523ba1[_0x523ba1[_0x354c00(0x423)]=0x1]='HELLO',_0x523ba1[_0x523ba1[_0x354c00(0x208)]=0x2]=_0x354c00(0x208),_0x523ba1[_0x523ba1['LEAVE']=0x3]='LEAVE',_0x523ba1[_0x523ba1[_0x354c00(0x4e0)]=0x4]=_0x354c00(0x4e0),_0x523ba1[_0x523ba1[_0x354c00(0x476)]=0x5]=_0x354c00(0x476),_0x523ba1[_0x523ba1[_0x354c00(0x529)]=0x6]='RECV',_0x523ba1[_0x523ba1['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x523ba1))(W||{}),Is=(_0x4dcddf=>(_0x4dcddf[_0x4dcddf[_0x354c00(0x1f9)]=0x0]=_0x354c00(0x1f9),_0x4dcddf[_0x4dcddf['OK']=0x1]='OK',_0x4dcddf[_0x4dcddf['FAIL']=0x2]=_0x354c00(0x399),_0x4dcddf[_0x4dcddf[_0x354c00(0x342)]=-0x1]=_0x354c00(0x342),_0x4dcddf))(Is||{}),yi=(_0x35b3cc=>(_0x35b3cc[_0x35b3cc[_0x354c00(0x228)]=0x0]='Undefined',_0x35b3cc[_0x35b3cc[_0x354c00(0x3c3)]=0x1]=_0x354c00(0x3c3),_0x35b3cc[_0x35b3cc[_0x354c00(0x28d)]=0x2]=_0x354c00(0x28d),_0x35b3cc[_0x35b3cc['UnitEmbedded']=0x3]=_0x354c00(0x1d7),_0x35b3cc[_0x35b3cc[_0x354c00(0x34a)]=0x4]=_0x354c00(0x34a),_0x35b3cc[_0x35b3cc['UNRECOGNIZED']=-0x1]=_0x354c00(0x342),_0x35b3cc))(yi||{});const ie=_0x354c00(0x1c1),Rr={};function yr(_0x411ca5){const _0x2a4c76=_0x354c00;var _0x31d6c6,_0x2bc6ea,_0xc568ae,_0x2e1243,_0xa1cfd9;const _0x3216a9=_0x411ca5['data'],_0x3c55a4=JSON['parse'](_0x3216a9);switch(_0x3c55a4[_0x2a4c76(0x23c)]){case W[_0x2a4c76(0x476)]:case W['HELLO']:{const _0x16568c=_0x3c55a4['infoRsp'];return{..._0x3c55a4,'data':_0x16568c,'cmd':_0x3c55a4['cmd']};}case W[_0x2a4c76(0x208)]:{const _0x2a3838=_0x3c55a4[_0x2a4c76(0x1e7)];return{..._0x3c55a4,'data':_0x2a3838,'cmd':_0x3c55a4['cmd']};}case W[_0x2a4c76(0x529)]:{const _0x58d24a=_0x3c55a4[_0x2a4c76(0x432)];switch(_0x58d24a[_0x2a4c76(0x338)]){case _0x5fb817[_0x2a4c76(0x3c6)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0x31d6c6=_0x58d24a[_0x2a4c76(0x384)])==null?void 0x0:_0x31d6c6['cs']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x28e)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0x2bc6ea=_0x58d24a[_0x2a4c76(0x52f)])==null?void 0x0:_0x2bc6ea['cs']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x406)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0xc568ae=_0x58d24a[_0x2a4c76(0x177)])==null?void 0x0:_0xc568ae['cs']},'cmd':_0x3c55a4['cmd']};case _0x5fb817[_0x2a4c76(0x18b)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0x2e1243=_0x58d24a[_0x2a4c76(0x50f)])==null?void 0x0:_0x2e1243['cs']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817['CHANGESET_SHOULD_RETRY']:return{..._0x3c55a4,'data':{..._0x58d24a,'data':(_0xa1cfd9=_0x58d24a[_0x2a4c76(0x543)])==null?void 0x0:_0xa1cfd9['cs']},'cmd':_0x3c55a4['cmd']};case _0x5fb817[_0x2a4c76(0x267)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a[_0x2a4c76(0x356)]},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x409)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a[_0x2a4c76(0x3ff)]},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817['USERS_LEAVE']:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['leaveEvent']},'cmd':_0x3c55a4['cmd']};case _0x5fb817[_0x2a4c76(0x50d)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['liveShareNewHost']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x332)]:case _0x5fb817[_0x2a4c76(0x3c4)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a[_0x2a4c76(0x14b)]},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x44a)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a[_0x2a4c76(0x497)]},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x4a1)]:return{..._0x3c55a4,'data':_0x58d24a,'cmd':_0x3c55a4['cmd']};case _0x5fb817[_0x2a4c76(0x3a6)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['commentUpdateEvent']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817['UPDATE_PERMISSION_OBJ']:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['updatePermissionObjEvent']},'cmd':_0x3c55a4[_0x2a4c76(0x23c)]};case _0x5fb817[_0x2a4c76(0x3de)]:return{..._0x3c55a4,'data':{..._0x58d24a,'data':_0x58d24a['shouldCloseConn']},'cmd':_0x3c55a4['cmd']};default:return _0x3c55a4;}}default:return _0x3c55a4;}}function Or(_0x3aa723){const _0x377d8b=_0x354c00;switch(_0x3aa723[_0x377d8b(0x23c)]){case W[_0x377d8b(0x476)]:case W[_0x377d8b(0x423)]:return JSON[_0x377d8b(0x2d5)]({'cmd':_0x3aa723[_0x377d8b(0x23c)],'routeKey':_0x3aa723[_0x377d8b(0x318)]});case W[_0x377d8b(0x4e0)]:{let _0x87b1c;switch(_0x3aa723[_0x377d8b(0x3df)]['eventID']){case _0x5fb817['UPDATE_CURSOR']:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x267)],'updateCursorEvent':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x44b)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x44b)],'leaveEvent':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x409)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x409)],'joinEvent':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x50d)]:{_0x87b1c={'eventID':_0x5fb817['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x3c4)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x3c4)],'liveShareOperation':_0x3aa723[_0x377d8b(0x3df)]['data']};break;}case _0x5fb817['LIVESHARE_TERMINATE']:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x44a)],'liveShareTerminate':_0x3aa723['data']['data']};break;}case _0x5fb817[_0x377d8b(0x255)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x255)],'liveShareRequestHost':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x3df)]};break;}case _0x5fb817[_0x377d8b(0x332)]:{_0x87b1c={'eventID':_0x5fb817[_0x377d8b(0x332)]};break;}default:_0x87b1c={'eventID':_0x3aa723[_0x377d8b(0x3df)][_0x377d8b(0x338)]};}return JSON[_0x377d8b(0x2d5)]({'cmd':_0x3aa723[_0x377d8b(0x23c)],'routeKey':_0x3aa723[_0x377d8b(0x318)],'collaMsg':_0x87b1c});}case W[_0x377d8b(0x208)]:return JSON[_0x377d8b(0x2d5)]({'cmd':_0x3aa723['cmd'],'routeKey':_0x3aa723[_0x377d8b(0x318)],'joinReq':_0x3aa723[_0x377d8b(0x3df)]});case W[_0x377d8b(0x1ae)]:return JSON[_0x377d8b(0x2d5)]({'cmd':_0x3aa723[_0x377d8b(0x23c)],'routeKey':_0x3aa723[_0x377d8b(0x318)],'leaveReq':_0x3aa723[_0x377d8b(0x3df)]});default:throw new Error(_0x377d8b(0x25c));}}var wr=Object['defineProperty'],Dr=Object[_0x354c00(0x20e)],Pr=(_0x28eaea,_0x592ebd,_0x5e343e,_0x8f7dda)=>{for(var _0x161a3a=_0x8f7dda>0x1?void 0x0:_0x8f7dda?Dr(_0x592ebd,_0x5e343e):_0x592ebd,_0x21d8a2=_0x28eaea['length']-0x1,_0x45d1f8;_0x21d8a2>=0x0;_0x21d8a2--)(_0x45d1f8=_0x28eaea[_0x21d8a2])&&(_0x161a3a=(_0x8f7dda?_0x45d1f8(_0x592ebd,_0x5e343e,_0x161a3a):_0x45d1f8(_0x161a3a))||_0x161a3a);return _0x8f7dda&&_0x161a3a&&wr(_0x592ebd,_0x5e343e,_0x161a3a),_0x161a3a;},qe=(_0x71de94,_0x91441)=>(_0x530fb6,_0x118d98)=>_0x91441(_0x530fb6,_0x118d98,_0x71de94);const Oi=_0x1d937b(_0x354c00(0x37d));function Ur(_0x264689,_0x3c037f,_0x2921e5){const _0x39edb5=_0x354c00;return _0x264689+'/'+_0x3c037f+_0x39edb5(0x1ed)+_0x2921e5+_0x39edb5(0x1a9);}let es=class extends _0x1cb1cd{constructor(_0x5ed63b,_0x314ba9,_0x2dabbd,_0x4424bf,_0x22b63c){const _0x1b8573=_0x354c00;super(),this[_0x1b8573(0x28a)]=_0x5ed63b,this[_0x1b8573(0x524)]=_0x314ba9,this[_0x1b8573(0x53b)]=_0x2dabbd,this[_0x1b8573(0x3b6)]=_0x4424bf,this['_snapshotServerService']=_0x22b63c;}['createSocket'](_0x35316d){const _0x1be8c7=_0x354c00,_0x42e719=this[_0x1be8c7(0x524)][_0x1be8c7(0x1e9)](_0x35316d);if(!_0x42e719)throw new Error(_0x1be8c7(0x38a));const _0x46f553=new _0x44e580(),_0x494758=new _0x3189d9();_0x46f553[_0x1be8c7(0x214)](_0x42e719[_0x1be8c7(0x1f6)]['subscribe'](_0x4b203d=>_0x494758[_0x1be8c7(0x2df)](_0x4b203d))),_0x46f553[_0x1be8c7(0x214)](_0x48b865(()=>_0x494758[_0x1be8c7(0x367)]()));const _0x29d382=new _0x3189d9();_0x46f553['add'](_0x42e719[_0x1be8c7(0x561)][_0x1be8c7(0x51f)](_0x5d4d7e=>_0x29d382['next'](_0x5d4d7e))),_0x46f553[_0x1be8c7(0x214)](_0x48b865(()=>_0x29d382[_0x1be8c7(0x367)]()));const _0x5473d4=new _0x3189d9();_0x46f553[_0x1be8c7(0x214)](_0x42e719[_0x1be8c7(0x2b1)][_0x1be8c7(0x51f)](_0xbe192d=>{const _0x132746=yr(_0xbe192d);_0x5473d4['next'](_0x132746);})),_0x46f553['add'](_0x48b865(()=>_0x5473d4['complete']()));let _0xddc7fc;const _0xf2078f=()=>{const _0x59f3d3=_0x1be8c7;_0x29d382[_0x59f3d3(0x2df)](new Event(_0x59f3d3(0x46a))),_0x494758['next'](new CloseEvent(_0x59f3d3(0x46a))),_0xddc7fc['close']();};return _0xddc7fc={'memberID':'','close$':_0x494758[_0x1be8c7(0x516)](),'error$':_0x29d382['asObservable'](),'open$':_0x42e719[_0x1be8c7(0x465)],'message$':_0x5473d4[_0x1be8c7(0x516)](),'send':_0x506705=>{const _0x8b0f21=_0x1be8c7;if(_0x506705['cmd']===W[_0x8b0f21(0x4e0)]){if(_0x506705[_0x8b0f21(0x3df)][_0x8b0f21(0x338)]===_0x5fb817[_0x8b0f21(0x3f5)]){this['_submitChangeset'](_0xddc7fc,_0x506705[_0x8b0f21(0x3df)])['catch'](_0x5c80a3=>{this['_logService']['error'](_0x5c80a3),_0xf2078f();});return;}if(_0x506705['data']['eventID']===_0x5fb817[_0x8b0f21(0x143)]){const _0x1d36e3=_0x506705[_0x8b0f21(0x3df)];this[_0x8b0f21(0x4aa)](_0x1d36e3)['then'](_0x27ffd3=>{const _0x211233=_0x8b0f21;_0x5473d4[_0x211233(0x2df)]({'cmd':W[_0x211233(0x529)],'code':Is['OK'],'routeKey':_0x1d36e3[_0x211233(0x3df)][_0x211233(0x207)],'routeType':'','data':{'eventID':_0x5fb817[_0x211233(0x53f)],'data':{'changesets':_0x27ffd3}}});})[_0x8b0f21(0x185)](_0x584d30=>{const _0x151943=_0x8b0f21;this[_0x151943(0x3b6)][_0x151943(0x2f1)](_0x584d30),_0xf2078f();});return;}}_0x42e719['send'](Or(_0x506705));},'close':()=>{const _0x16a458=_0x1be8c7;_0x42e719[_0x16a458(0x4ea)](),_0x46f553[_0x16a458(0x4d7)]();}},_0xddc7fc;}async[_0x354c00(0x1f4)](_0x4a7908,_0x16904c){const _0x17481a=_0x354c00;var _0x577317,_0x188e61;const {unitType:_0xacbc42,unitID:_0x2891a0,changeset:_0x276352}=_0x16904c[_0x17481a(0x3df)],_0x508459={'unitID':_0x2891a0,'memberID':_0x4a7908['memberID'],'type':_0xacbc42,'changeset':_0x4d7eb0(_0x276352)},_0x256558=this[_0x17481a(0x53b)]['getConfig'](Cr),_0x1c2d32=this['_configService'][_0x17481a(0x246)](ie),_0x2b49eb=Ur((_0x188e61=(_0x577317=_0x1c2d32==null?void 0x0:_0x1c2d32['collabSubmitChangesetUrl'])!=null?_0x577317:_0x256558)!=null?_0x188e61:Er,_0xacbc42,_0x2891a0);try{await this['_http'][_0x17481a(0x3f9)](_0x2b49eb,{'body':_0x508459});}catch(_0x210d15){throw this[_0x17481a(0x3b6)][_0x17481a(0x2f1)](_0x17481a(0x560),'submit\x20changeset\x20error!'),_0x210d15;}}async[_0x354c00(0x4aa)](_0x207648){const _0x37e01a=_0x354c00,{unitID:_0x159716,from:_0x4fb344,to:_0x303517,unitType:_0x4dae48}=_0x207648[_0x37e01a(0x3df)];return(await this[_0x37e01a(0x29f)][_0x37e01a(0x161)]({'metadata':void 0x0},{'unitID':_0x159716,'type':_0x4dae48,'from':_0x4fb344,'to':_0x303517}))[_0x37e01a(0x20b)];}};es=Pr([qe(0x0,_0x1727eb(_0x4e8dbf)),qe(0x1,_0x1727eb(_0x4fed41)),qe(0x2,_0x250a8d),qe(0x3,_0x3b4016),qe(0x4,_0x5f0191)],es);const Nr=_0x354c00(0x46c);function Ar(_0x537a2f){const _0x2a3005=_0x354c00;return JSON[_0x2a3005(0x2d5)](_0x537a2f)['length'];}class wi{constructor(){const _0x18a3b2=_0x354c00;g(this,_0x18a3b2(0x1c4),new _0x3189d9()),g(this,_0x18a3b2(0x526),this[_0x18a3b2(0x1c4)][_0x18a3b2(0x516)]());}[_0x354c00(0x354)](_0x565c8c){const _0x21cffa=_0x354c00;this[_0x21cffa(0x1c4)][_0x21cffa(0x2df)](_0x565c8c);}}var Mr=Object[_0x354c00(0x3cf)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x285776,_0x33a303,_0x669d35,_0x23b04e)=>{const _0x390d09=_0x354c00;for(var _0x16f081=_0x23b04e>0x1?void 0x0:_0x23b04e?xr(_0x33a303,_0x669d35):_0x33a303,_0x2c2c52=_0x285776[_0x390d09(0x2a0)]-0x1,_0xa99ae5;_0x2c2c52>=0x0;_0x2c2c52--)(_0xa99ae5=_0x285776[_0x2c2c52])&&(_0x16f081=(_0x23b04e?_0xa99ae5(_0x33a303,_0x669d35,_0x16f081):_0xa99ae5(_0x16f081))||_0x16f081);return _0x23b04e&&_0x16f081&&Mr(_0x33a303,_0x669d35,_0x16f081),_0x16f081;},Hs=(_0x455dab,_0x3550f9)=>(_0x24efe7,_0x56729d)=>_0x3550f9(_0x24efe7,_0x56729d,_0x455dab);function _0x33b4(_0x52f4f8,_0x240ace){const _0x2f9db3=_0x2f9d();return _0x33b4=function(_0x33b407,_0xb7d04f){_0x33b407=_0x33b407-0x141;let _0x297fb0=_0x2f9db3[_0x33b407];return _0x297fb0;},_0x33b4(_0x52f4f8,_0x240ace);}let Ne=class extends _0x1cb1cd{constructor(_0xa4e2b,_0x261db0){const _0x413a84=_0x354c00;super(),g(this,_0x413a84(0x206),new Map()),(this[_0x413a84(0x429)]=_0xa4e2b,this[_0x413a84(0x4da)]=_0x261db0,this[_0x413a84(0x181)](_0x48b865(_0x32fe1c(this[_0x413a84(0x429)][_0x413a84(0x364)](_0x208af7['UNIVER_SHEET'])['pipe'](_0x416fe6(_0x172b7f=>_0x172b7f[_0x413a84(0x191)]())),this[_0x413a84(0x429)][_0x413a84(0x364)](_0x208af7[_0x413a84(0x461)])[_0x413a84(0x43d)](_0x416fe6(_0x5d9326=>_0x5d9326[_0x413a84(0x191)]())),this[_0x413a84(0x429)]['getTypeOfUnitDisposed$'](_0x208af7[_0x413a84(0x288)])[_0x413a84(0x43d)](_0x416fe6(_0x1acc6e=>_0x1acc6e['getUnitId']())))[_0x413a84(0x51f)](_0x1c5847=>this[_0x413a84(0x148)](_0x1c5847)))));}[_0x354c00(0x2c6)](_0xe1da02){const _0x34d363=_0x354c00;this['_userManagerService'][_0x34d363(0x2c6)](_0xe1da02);}[_0x354c00(0x3ba)](){const _0x5a69de=_0x354c00;return this['_userManagerService'][_0x5a69de(0x3ba)]();}[_0x354c00(0x4a0)](_0x55362f,_0x5232b4){const _0x14b8db=_0x354c00;let _0x1fb402=this[_0x14b8db(0x206)][_0x14b8db(0x291)](_0x55362f);_0x1fb402||(_0x1fb402=new $r(),this[_0x14b8db(0x206)][_0x14b8db(0x244)](_0x55362f,_0x1fb402)),_0x1fb402[_0x14b8db(0x4a0)](_0x5232b4);}[_0x354c00(0x43b)](_0x5a248d,_0x58ea05){const _0x7b6da1=_0x354c00,_0xd23c56=this[_0x7b6da1(0x206)][_0x7b6da1(0x291)](_0x5a248d);_0xd23c56&&_0xd23c56[_0x7b6da1(0x43b)](_0x58ea05);}['getRoom'](_0x4c9c04){const _0xfbd9ad=_0x354c00;return this[_0xfbd9ad(0x206)][_0xfbd9ad(0x291)](_0x4c9c04);}[_0x354c00(0x24b)](_0x482a25,_0x46cf3b){const _0x40d1ac=_0x354c00,_0x5a9336=this['_roomMembers'][_0x40d1ac(0x291)](_0x482a25);if(_0x5a9336)return _0x5a9336[_0x40d1ac(0x24b)](_0x46cf3b);}[_0x354c00(0x148)](_0x12e79a){const _0x257ff3=_0x354c00,_0x3b6b52=this[_0x257ff3(0x206)]['get'](_0x12e79a);_0x3b6b52&&(_0x3b6b52[_0x257ff3(0x4d7)](),this[_0x257ff3(0x206)][_0x257ff3(0x361)](_0x12e79a));}[_0x354c00(0x4d7)](){const _0x482155=_0x354c00;this[_0x482155(0x206)]['forEach'](_0x4069e0=>_0x4069e0[_0x482155(0x4d7)]()),this[_0x482155(0x206)][_0x482155(0x16d)]();}};Ne=Lr([Hs(0x0,_0x48d976),Hs(0x1,_0x1727eb(_0x11a762))],Ne);class $r extends _0x1cb1cd{constructor(){const _0x2c9962=_0x354c00;super(...arguments),g(this,_0x2c9962(0x1bf),new Map());}[_0x354c00(0x4d7)](){const _0xe3faf7=_0x354c00;this[_0xe3faf7(0x1bf)]['clear']();}[_0x354c00(0x4a0)](_0x178fe3){const _0x4822ba=_0x354c00;this[_0x4822ba(0x1bf)][_0x4822ba(0x244)](_0x178fe3['memberID'],_0x178fe3);}[_0x354c00(0x43b)](_0x4049eb){this['_members']['delete'](_0x4049eb);}[_0x354c00(0x24b)](_0x2b45cf){const _0x5e3447=_0x354c00;return this['_members'][_0x5e3447(0x291)](_0x2b45cf);}[_0x354c00(0x1b5)](){const _0x15d097=_0x354c00;return Array[_0x15d097(0x29a)](this[_0x15d097(0x1bf)][_0x15d097(0x211)]());}}var Hr=Object['defineProperty'],jr=Object['getOwnPropertyDescriptor'],Br=(_0x31d0ec,_0x328774,_0x220322,_0x5d86bd)=>{for(var _0xe1d4b6=_0x5d86bd>0x1?void 0x0:_0x5d86bd?jr(_0x328774,_0x220322):_0x328774,_0x5bd073=_0x31d0ec['length']-0x1,_0x24d1ce;_0x5bd073>=0x0;_0x5bd073--)(_0x24d1ce=_0x31d0ec[_0x5bd073])&&(_0xe1d4b6=(_0x5d86bd?_0x24d1ce(_0x328774,_0x220322,_0xe1d4b6):_0x24d1ce(_0xe1d4b6))||_0xe1d4b6);return _0x5d86bd&&_0xe1d4b6&&Hr(_0x328774,_0x220322,_0xe1d4b6),_0xe1d4b6;},Ee=(_0x5b55b0,_0x110593)=>(_0x25ce61,_0x120faa)=>_0x110593(_0x25ce61,_0x120faa,_0x5b55b0),ve=(_0x844a5c=>(_0x844a5c[_0x844a5c[_0x354c00(0x410)]=0x0]='IDLE',_0x844a5c[_0x844a5c[_0x354c00(0x307)]=0x1]='JOINING',_0x844a5c[_0x844a5c[_0x354c00(0x4eb)]=0x2]=_0x354c00(0x4eb),_0x844a5c[_0x844a5c['ONLINE']=0x3]=_0x354c00(0x29c),_0x844a5c))(ve||{});let ts=class extends _0x1bd493{constructor(_0x49082d,_0x26dd8e,_0x4465bd,_0x12ef4a,_0x565614,_0x5d9bd8,_0x435215,_0x176d71,_0x5a83db,_0xff6c84){const _0x45b310=_0x354c00;super(),g(this,_0x45b310(0x3af),new _0x5ea788(0x0)),g(this,_0x45b310(0x528),this['_sessionStatus$'][_0x45b310(0x516)]()),g(this,_0x45b310(0x398),new _0x3189d9()),g(this,_0x45b310(0x467),this[_0x45b310(0x398)][_0x45b310(0x516)]()),g(this,_0x45b310(0x174)),g(this,'_socketMessageSubscription'),g(this,_0x45b310(0x4c6)),g(this,_0x45b310(0x3a1),!0x1),g(this,_0x45b310(0x556),null),(this[_0x45b310(0x359)]=_0x49082d,this[_0x45b310(0x3b6)]=_0x4465bd,this[_0x45b310(0x27c)]=_0x12ef4a,this[_0x45b310(0x221)]=_0x565614,this[_0x45b310(0x53b)]=_0x5d9bd8,this['_localeService']=_0x435215,this[_0x45b310(0x390)]=_0x176d71,this[_0x45b310(0x323)]=_0x5a83db,this[_0x45b310(0x27b)]=_0xff6c84,this[_0x45b310(0x3a1)]=!!this[_0x45b310(0x27b)],_0x26dd8e[_0x45b310(0x43d)](_0x144dfb(this[_0x45b310(0x14d)]))[_0x45b310(0x51f)](_0x8c4df0=>{const _0x182c18=_0x45b310;var _0x22ddf4;typeof _0x8c4df0>'u'||(this[_0x182c18(0x174)]=_0x8c4df0,_0x8c4df0?(this[_0x182c18(0x51b)](_0x8c4df0),this[_0x182c18(0x484)]=_0x8c4df0[_0x182c18(0x2b1)][_0x182c18(0x51f)](_0x2be55a=>{const _0x206725=_0x182c18;_0x2be55a[_0x206725(0x318)]===this[_0x206725(0x359)]&&this[_0x206725(0x4c2)](_0x2be55a);})):(this[_0x182c18(0x1cf)](),this[_0x182c18(0x3af)][_0x182c18(0x2df)](0x2),(_0x22ddf4=this['_socketMessageSubscription'])==null||_0x22ddf4[_0x182c18(0x4fa)](),this['_socketMessageSubscription']=null));}),this[_0x45b310(0x181)](this['_beforeCloseService'][_0x45b310(0x38f)](()=>{const _0x111140=_0x45b310;var _0x1de31c;(_0x1de31c=this[_0x111140(0x174)])==null||_0x1de31c['send']({'cmd':W[_0x111140(0x1ae)],'data':{'roomID':this[_0x111140(0x359)]}});})));}get[_0x354c00(0x1a1)](){const _0x56f6ac=_0x354c00;return this[_0x56f6ac(0x3af)][_0x56f6ac(0x156)]();}['getMemberID'](){const _0xdc4fe=_0x354c00;var _0x1ed93c,_0x42bde4;return(_0x42bde4=(_0x1ed93c=this[_0xdc4fe(0x174)])==null?void 0x0:_0x1ed93c['memberID'])!=null?_0x42bde4:null;}[_0x354c00(0x4d7)](){const _0x145192=_0x354c00;super[_0x145192(0x4d7)](),this[_0x145192(0x14d)][_0x145192(0x2df)](),this['dispose$']['complete']();}[_0x354c00(0x4ea)](){const _0x2a0a2a=_0x354c00;var _0x1cdb10,_0xf184f7;this[_0x2a0a2a(0x1cf)](),(_0x1cdb10=this['_socket'])==null||_0x1cdb10['send']({'cmd':W[_0x2a0a2a(0x1ae)],'data':{'roomID':this['_unitID']}}),(_0xf184f7=this[_0x2a0a2a(0x174)])==null||_0xf184f7[_0x2a0a2a(0x4ea)](),this['_event$'][_0x2a0a2a(0x367)](),this['_sessionStatus$'][_0x2a0a2a(0x367)](),this['dispose']();}['_onCombEvent'](_0x246dfe){const _0x33e7e9=_0x354c00;_0x246dfe['cmd']===W[_0x33e7e9(0x208)]?this[_0x33e7e9(0x537)](_0x246dfe):_0x246dfe['cmd']===W[_0x33e7e9(0x529)]&&this[_0x33e7e9(0x19f)](_0x246dfe);}[_0x354c00(0x51b)](_0x2980aa){const _0x1fd137=_0x354c00;this[_0x1fd137(0x3af)][_0x1fd137(0x2df)](0x1),_0x2980aa[_0x1fd137(0x2da)]({'cmd':W[_0x1fd137(0x208)],'routeKey':this[_0x1fd137(0x359)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x354c00(0x537)](_0x3f29ea){const _0xad0699=_0x354c00;var _0x4a7df7;if(_0x3f29ea[_0xad0699(0x4b9)]===Is[_0xad0699(0x399)]){this[_0xad0699(0x221)][_0xad0699(0x24e)]({'type':_0x3960e0[_0xad0699(0x435)],'content':this['_localeService']['t'](_0xad0699(0x18f))}),this['_sessionStatus$']['next'](0x2);return;}this[_0xad0699(0x3af)][_0xad0699(0x2df)](0x3);const _0x44c4f1=(_0x4a7df7=_0x3f29ea[_0xad0699(0x3df)][_0xad0699(0x31d)][this[_0xad0699(0x359)]])==null?void 0x0:_0x4a7df7[_0xad0699(0x19d)];_0x44c4f1&&_0x44c4f1[_0xad0699(0x3f0)](_0x1b8472=>this[_0xad0699(0x390)][_0xad0699(0x4a0)](this['_unitID'],_0x1b8472));}[_0x354c00(0x19f)](_0x5e7711){const _0x1b6e87=_0x354c00;try{const _0x275d7a=_0x5e7711['data'];switch(_0x275d7a[_0x1b6e87(0x338)]){case _0x5fb817[_0x1b6e87(0x409)]:this[_0x1b6e87(0x320)](_0x275d7a),this[_0x1b6e87(0x398)][_0x1b6e87(0x2df)](_0x275d7a);break;case _0x5fb817['USERS_LEAVE']:this[_0x1b6e87(0x21f)](_0x275d7a),this[_0x1b6e87(0x398)][_0x1b6e87(0x2df)](_0x275d7a);break;case _0x5fb817[_0x1b6e87(0x28e)]:case _0x5fb817[_0x1b6e87(0x205)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$']['next'](_0x275d7a);break;case _0x5fb817[_0x1b6e87(0x4a1)]:this[_0x1b6e87(0x3b6)][_0x1b6e87(0x2f1)](_0x1b6e87(0x55e)+JSON[_0x1b6e87(0x2d5)](_0x275d7a)),this[_0x1b6e87(0x398)]['next'](_0x275d7a);break;case _0x5fb817[_0x1b6e87(0x3a6)]:this[_0x1b6e87(0x323)][_0x1b6e87(0x354)](_0x275d7a['data']),this[_0x1b6e87(0x398)]['next'](_0x275d7a);break;default:this[_0x1b6e87(0x398)]['next'](_0x275d7a);}}catch(_0x15999d){this[_0x1b6e87(0x3b6)][_0x1b6e87(0x2f1)](_0x15999d,_0x5e7711);}}[_0x354c00(0x320)](_0x3a3199){const _0x958a9f=_0x354c00;this[_0x958a9f(0x390)]['updateMember'](this[_0x958a9f(0x359)],_0x3a3199[_0x958a9f(0x3df)]);}[_0x354c00(0x21f)](_0x1d00fc){const _0x723ddb=_0x354c00;this[_0x723ddb(0x390)][_0x723ddb(0x43b)](this['_unitID'],_0x1d00fc[_0x723ddb(0x3df)]['memberID']);}async[_0x354c00(0x2da)](_0x3943b8,_0x207d3c){const _0x45ca45=_0x354c00;if(this[_0x45ca45(0x1a1)]!==0x3||!this['_socket'])throw new Error(_0x45ca45(0x179));try{_0x3943b8[_0x45ca45(0x338)]===_0x5fb817[_0x45ca45(0x3f5)]&&(this[_0x45ca45(0x51a)](),this[_0x45ca45(0x1be)](_0x3943b8)),this[_0x45ca45(0x174)][_0x45ca45(0x2da)]({'cmd':W[_0x45ca45(0x4e0)],'routeKey':_0x207d3c,'routeType':'','data':_0x3943b8});}catch(_0x787df){this[_0x45ca45(0x3b6)][_0x45ca45(0x2f1)](_0x787df);}}['_scheduleCollaborationTimeoutTimer'](){const _0x2a6de3=_0x354c00;var _0x45b54a;this[_0x2a6de3(0x4c6)]=window['setTimeout'](()=>{const _0x55595a=_0x2a6de3;this[_0x55595a(0x4c6)]=null,this['_messageService']['show']({'type':_0x3960e0[_0x55595a(0x154)],'content':this[_0x55595a(0x31f)]['t'](_0x55595a(0x442))});},(_0x45b54a=this[_0x2a6de3(0x53b)][_0x2a6de3(0x246)](bi))!=null?_0x45b54a:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x5ad695=_0x354c00;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5ad695(0x4c6)]),this[_0x5ad695(0x4c6)]=null);}[_0x354c00(0x1be)](_0x1b4e22){const _0x2617ae=_0x354c00;if(!this[_0x2617ae(0x3a1)])return;const {data:_0xcca793}=_0x1b4e22,{unitID:_0x41e90c,changeset:_0x320996}=_0xcca793,{mutations:_0x14ba92,type:_0x5222db}=_0x320996;this[_0x2617ae(0x556)]={'unitId':_0x41e90c,'type':_0x5222db,'startTime':performance[_0x2617ae(0x250)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x14ba92)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x1de25c=_0x354c00;if(this[_0x1de25c(0x3a1)]){if(!this[_0x1de25c(0x556)]){this[_0x1de25c(0x3b6)][_0x1de25c(0x2f1)](_0x1de25c(0x560),_0x1de25c(0x439));return;}this[_0x1de25c(0x556)][_0x1de25c(0x4c3)]=performance[_0x1de25c(0x250)](),this[_0x1de25c(0x556)][_0x1de25c(0x3ea)]=this['_telemetryInfo'][_0x1de25c(0x4c3)]-this[_0x1de25c(0x556)][_0x1de25c(0x3e2)],this['_telemetryService'][_0x1de25c(0x20a)](Nr,this[_0x1de25c(0x556)]),this[_0x1de25c(0x556)]=null;}}[_0x354c00(0x1cf)](){this['_telemetryInfo']=null;}};ts=Br([Ee(0x2,_0x3b4016),Ee(0x3,_0x169eb0),Ee(0x4,_0x35026c),Ee(0x5,_0x250a8d),Ee(0x6,_0x1727eb(_0x382d24)),Ee(0x7,_0x1727eb(Ne)),Ee(0x8,_0x1727eb(wi)),Ee(0x9,_0x213697(_0x48fa6d))],ts);var kr=Object['defineProperty'],Wr=Object[_0x354c00(0x20e)],Fr=(_0x3e3204,_0x3284b2,_0x3df662,_0x4dd595)=>{const _0x4f8066=_0x354c00;for(var _0x545fd1=_0x4dd595>0x1?void 0x0:_0x4dd595?Wr(_0x3284b2,_0x3df662):_0x3284b2,_0x3bf120=_0x3e3204[_0x4f8066(0x2a0)]-0x1,_0x377e95;_0x3bf120>=0x0;_0x3bf120--)(_0x377e95=_0x3e3204[_0x3bf120])&&(_0x545fd1=(_0x4dd595?_0x377e95(_0x3284b2,_0x3df662,_0x545fd1):_0x377e95(_0x545fd1))||_0x545fd1);return _0x4dd595&&_0x545fd1&&kr(_0x3284b2,_0x3df662,_0x545fd1),_0x545fd1;},je=(_0x1d4d5a,_0x41b6b5)=>(_0x461eaa,_0x47462e)=>_0x41b6b5(_0x461eaa,_0x47462e,_0x1d4d5a);let Ae=class extends _0x1cb1cd{constructor(_0x38a189,_0x4b2454,_0x3d33a0,_0x19ad4e,_0x39434a,_0x1522cc){const _0x5a3527=_0x354c00;super(),g(this,_0x5a3527(0x259),new _0x5ea788(void 0x0)),g(this,'socket$',this[_0x5a3527(0x259)][_0x5a3527(0x516)]()),g(this,_0x5a3527(0x2e9),null),g(this,_0x5a3527(0x4bd),new Map()),g(this,_0x5a3527(0x38e),new _0x5ea788(ve['IDLE'])),g(this,_0x5a3527(0x215),this[_0x5a3527(0x38e)][_0x5a3527(0x516)]()),g(this,_0x5a3527(0x382),!0x1),g(this,_0x5a3527(0x344)),g(this,_0x5a3527(0x448),0x0),g(this,_0x5a3527(0x4ce)),g(this,'_timeoutTimer'),(this[_0x5a3527(0x199)]=_0x38a189,this[_0x5a3527(0x31f)]=_0x4b2454,this[_0x5a3527(0x221)]=_0x3d33a0,this[_0x5a3527(0x3b6)]=_0x19ad4e,this[_0x5a3527(0x53b)]=_0x39434a,this[_0x5a3527(0x37e)]=_0x1522cc,this[_0x5a3527(0x2f8)]());}get[_0x354c00(0x174)](){const _0x58807f=_0x354c00;return this[_0x58807f(0x259)][_0x58807f(0x156)]();}[_0x354c00(0x2f8)](){const _0x35b289=_0x354c00;this[_0x35b289(0x481)](),this[_0x35b289(0x43e)]();}[_0x354c00(0x4d7)](){const _0x1aac63=_0x354c00;super[_0x1aac63(0x4d7)](),this['_sessions'][_0x1aac63(0x3f0)](_0x13e872=>_0x13e872[_0x1aac63(0x4d7)]()),this[_0x1aac63(0x4bd)][_0x1aac63(0x16d)](),this[_0x1aac63(0x38e)][_0x1aac63(0x367)]();}async['requireSession'](_0x53ec05){const _0x29f2ac=_0x354c00;if(this[_0x29f2ac(0x4bd)][_0x29f2ac(0x272)](_0x53ec05))return this[_0x29f2ac(0x4bd)][_0x29f2ac(0x291)](_0x53ec05);this[_0x29f2ac(0x4ff)]();const _0x56944d=this[_0x29f2ac(0x199)]['createInstance'](ts,_0x53ec05,this[_0x29f2ac(0x259)]['asObservable']());return this[_0x29f2ac(0x4bd)]['set'](_0x53ec05,_0x56944d),_0x56944d;}[_0x354c00(0x52a)](_0x276a52){const _0x288f81=_0x354c00;var _0x2eff25;const _0x3d80fc=this[_0x288f81(0x4bd)][_0x288f81(0x291)](_0x276a52);_0x3d80fc&&(this[_0x288f81(0x4bd)][_0x288f81(0x361)](_0x276a52),_0x3d80fc['close']()),this[_0x288f81(0x4bd)][_0x288f81(0x1e0)]||(_0x2eff25=this[_0x288f81(0x174)])==null||_0x2eff25[_0x288f81(0x4ea)]();}['reconnect'](){const _0x11ead0=_0x354c00;this[_0x11ead0(0x448)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x11ead0(0x344)]),this[_0x11ead0(0x344)]=null),this[_0x11ead0(0x27e)]();}[_0x354c00(0x1b3)](){const _0x3a6ee4=_0x354c00;var _0x279dff,_0x214eea;const _0x218208=this[_0x3a6ee4(0x53b)][_0x3a6ee4(0x246)](ur),_0x3a306b=this[_0x3a6ee4(0x53b)][_0x3a6ee4(0x246)](ie),_0x1e2f65=(_0x214eea=(_0x279dff=_0x3a306b==null?void 0x0:_0x3a306b[_0x3a6ee4(0x2f2)])!=null?_0x279dff:_0x218208)!=null?_0x214eea:dr,_0x1babbe=this[_0x3a6ee4(0x37e)][_0x3a6ee4(0x1e9)](_0x1e2f65);return this[_0x3a6ee4(0x2e9)]=_0x1babbe,_0x1babbe;}[_0x354c00(0x4ff)](){const _0x29304a=_0x354c00;var _0x376cbc,_0x4011d5;try{const _0x1ba366=(_0x4011d5=(_0x376cbc=this['_socket'])!=null?_0x376cbc:this[_0x29304a(0x2e9)])!=null?_0x4011d5:this[_0x29304a(0x1b3)]();if(_0x1ba366){const _0x4c8806=_0x1ba366[_0x29304a(0x2da)];_0x1ba366[_0x29304a(0x2da)]=_0x23a69c=>(this[_0x29304a(0x209)](),_0x4c8806[_0x29304a(0x3ee)](_0x1ba366,[_0x23a69c])),_0x1ba366[_0x29304a(0x2b1)][_0x29304a(0x51f)](_0x28e852=>this['_onMessage'](_0x1ba366,_0x28e852)),_0x1ba366[_0x29304a(0x561)][_0x29304a(0x43d)](_0x217ea4(0x1))[_0x29304a(0x51f)](_0x1af21e=>this['_logService'][_0x29304a(0x2f1)]('[CollaborationSessionService]:\x20socket\x20error',_0x1af21e)),_0x1ba366[_0x29304a(0x465)][_0x29304a(0x43d)](_0x217ea4(0x1))[_0x29304a(0x51f)](()=>{const _0x1376cc=_0x29304a;this[_0x1376cc(0x3cb)](_0x1ba366);}),_0x1ba366['close$'][_0x29304a(0x43d)](_0x217ea4(0x1))[_0x29304a(0x51f)](_0x2a8263=>{const _0x59f91e=_0x29304a;this[_0x59f91e(0x3b6)][_0x59f91e(0x4c5)](_0x59f91e(0x4b6),_0x59f91e(0x3a9),_0x2a8263),this[_0x59f91e(0x4e2)]();});}}catch(_0x23b475){this['_logService'][_0x29304a(0x2f1)](_0x23b475),this['_onConnectionFailed']();}}[_0x354c00(0x3cb)](_0x3a1fc9){const _0x4f37d8=_0x354c00;this[_0x4f37d8(0x3b6)]['debug'](_0x4f37d8(0x4b6),_0x4f37d8(0x245)),_0x3a1fc9[_0x4f37d8(0x2da)]({'cmd':W['HELLO']}),this['_rescheduleHeartbeat']();}[_0x354c00(0x481)](){const _0x1c7d53=_0x354c00;window[_0x1c7d53(0x1b9)](_0x1c7d53(0x26e),()=>this[_0x1c7d53(0x336)]());}[_0x354c00(0x336)](){const _0x1c4716=_0x354c00;this[_0x1c4716(0x382)]=!0x1,this['_candidateSocket']=null,this[_0x1c4716(0x38e)]['next'](ve[_0x1c4716(0x4eb)]),this[_0x1c4716(0x259)][_0x1c4716(0x2df)](null),this[_0x1c4716(0x26a)](),this[_0x1c4716(0x40e)]();}[_0x354c00(0x4e2)](){const _0x2104c7=_0x354c00;var _0x3a9d0e;this['_onOffline'](),this[_0x2104c7(0x448)]<((_0x3a9d0e=this[_0x2104c7(0x53b)]['getConfig'](pr))!=null?_0x3a9d0e:gr)?(this[_0x2104c7(0x221)][_0x2104c7(0x24e)]({'key':'collaboration-session-retry','type':_0x3960e0['Warning'],'content':this[_0x2104c7(0x31f)]['t'](_0x2104c7(0x160))}),this['_tryReconnect']()):this[_0x2104c7(0x221)][_0x2104c7(0x24e)]({'key':'collaboration-session-retry','type':_0x3960e0[_0x2104c7(0x154)],'content':this[_0x2104c7(0x31f)]['t'](_0x2104c7(0x421))});}[_0x354c00(0x43e)](){const _0xc4da2e=_0x354c00,_0x3d9173=()=>{const _0x1266af=_0x33b4;this[_0x1266af(0x174)]||this[_0x1266af(0x4d8)]();},_0x20ed3a=()=>{const _0x453b12=_0x33b4;this['_socket']||document[_0x453b12(0x4d0)]===_0x453b12(0x2c1)||this[_0x453b12(0x4d8)]();};window[_0xc4da2e(0x1b9)](_0xc4da2e(0x19b),_0x3d9173),document[_0xc4da2e(0x1b9)]('visibilitychange',_0x20ed3a);}[_0x354c00(0x27e)](){const _0x2783b4=_0x354c00;var _0x3c666e;const _0x414542=this[_0x2783b4(0x448)],_0x9c6b7c=this['_configService'][_0x2783b4(0x246)](ie),_0x254306=_0x414542===0x0?0x0:((_0x3c666e=_0x9c6b7c==null?void 0x0:_0x9c6b7c[_0x2783b4(0x363)])!=null?_0x3c666e:mr)*0x2**_0x414542;this[_0x2783b4(0x344)]=window[_0x2783b4(0x510)](()=>{const _0x1bf428=_0x2783b4;clearTimeout(this[_0x1bf428(0x344)]),this[_0x1bf428(0x344)]=null,this['_tryEnsureSocket']();},_0x254306),this[_0x2783b4(0x448)]+=0x1;}[_0x354c00(0x55f)](_0x1fc9d6,_0x482ca6){const _0x2d14cf=_0x354c00,{cmd:_0x153e3}=_0x482ca6;_0x153e3===W[_0x2d14cf(0x423)]&&!this['_socketReady']&&(_0x1fc9d6[_0x2d14cf(0x418)]=_0x482ca6['data'][_0x2d14cf(0x418)],this[_0x2d14cf(0x259)][_0x2d14cf(0x2df)](_0x1fc9d6),this[_0x2d14cf(0x38e)][_0x2d14cf(0x2df)](ve[_0x2d14cf(0x29c)]),this['_socketReady']=!0x0,this[_0x2d14cf(0x2e9)]=null),_0x153e3===W['HEARTBEAT']&&this[_0x2d14cf(0x26a)](),this[_0x2d14cf(0x209)]();}[_0x354c00(0x209)](){const _0x5ae410=_0x354c00;var _0x6c1ef3;this[_0x5ae410(0x40e)](),this[_0x5ae410(0x4ce)]=window[_0x5ae410(0x510)](()=>this['_sendHeartbeat'](),(_0x6c1ef3=this[_0x5ae410(0x53b)][_0x5ae410(0x246)](fr))!=null?_0x6c1ef3:vr);}[_0x354c00(0x392)](){const _0x2e7042=_0x354c00;this[_0x2e7042(0x174)][_0x2e7042(0x2da)]({'cmd':W[_0x2e7042(0x476)]}),this[_0x2e7042(0x239)]();}[_0x354c00(0x239)](){const _0x5bf2cd=_0x354c00;var _0x10c9d1;this[_0x5bf2cd(0x16f)]=window[_0x5bf2cd(0x510)](()=>this[_0x5bf2cd(0x4e2)](),(_0x10c9d1=this[_0x5bf2cd(0x53b)]['getConfig'](bi))!=null?_0x10c9d1:Ti);}[_0x354c00(0x40e)](){const _0xdf069=_0x354c00;this[_0xdf069(0x4ce)]!=null&&(clearTimeout(this[_0xdf069(0x4ce)]),this[_0xdf069(0x4ce)]=null);}[_0x354c00(0x26a)](){const _0x48c4b0=_0x354c00;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x48c4b0(0x16f)]),this[_0x48c4b0(0x16f)]=null);}};Ae=Fr([je(0x0,_0x1727eb(_0x5d0612)),je(0x1,_0x1727eb(_0x382d24)),je(0x2,_0x35026c),je(0x3,_0x3b4016),je(0x4,_0x250a8d),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x354c00(0x301)]((i+0x100)[_0x354c00(0x3d1)](0x10)[_0x354c00(0x475)](0x1));function Vr(_0x230ad6,_0x10f3a7=0x0){return(Y[_0x230ad6[_0x10f3a7+0x0]]+Y[_0x230ad6[_0x10f3a7+0x1]]+Y[_0x230ad6[_0x10f3a7+0x2]]+Y[_0x230ad6[_0x10f3a7+0x3]]+'-'+Y[_0x230ad6[_0x10f3a7+0x4]]+Y[_0x230ad6[_0x10f3a7+0x5]]+'-'+Y[_0x230ad6[_0x10f3a7+0x6]]+Y[_0x230ad6[_0x10f3a7+0x7]]+'-'+Y[_0x230ad6[_0x10f3a7+0x8]]+Y[_0x230ad6[_0x10f3a7+0x9]]+'-'+Y[_0x230ad6[_0x10f3a7+0xa]]+Y[_0x230ad6[_0x10f3a7+0xb]]+Y[_0x230ad6[_0x10f3a7+0xc]]+Y[_0x230ad6[_0x10f3a7+0xd]]+Y[_0x230ad6[_0x10f3a7+0xe]]+Y[_0x230ad6[_0x10f3a7+0xf]])['toLowerCase']();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x3ea694=_0x354c00;if(!Nt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x3ea694(0x28f));Nt=crypto[_0x3ea694(0x3c5)][_0x3ea694(0x302)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x354c00(0x302)](crypto),js={'randomUUID':Kr};function zr(_0x6eb7c5,_0x44abd6,_0x6158dc){const _0x494d38=_0x354c00;if(js[_0x494d38(0x2c5)]&&!_0x44abd6&&!_0x6eb7c5)return js[_0x494d38(0x2c5)]();_0x6eb7c5=_0x6eb7c5||{};const _0x2161b5=_0x6eb7c5['random']||(_0x6eb7c5[_0x494d38(0x309)]||Yr)();return _0x2161b5[0x6]=_0x2161b5[0x6]&0xf|0x40,_0x2161b5[0x8]=_0x2161b5[0x8]&0x3f|0x80,Vr(_0x2161b5);}var qr=Object[_0x354c00(0x3cf)],Xr=Object[_0x354c00(0x20e)],Jr=(_0x39a23d,_0x33aa4b,_0x5195c7,_0x435386)=>{const _0x39021b=_0x354c00;for(var _0x46c4a4=_0x435386>0x1?void 0x0:_0x435386?Xr(_0x33aa4b,_0x5195c7):_0x33aa4b,_0x491e3c=_0x39a23d[_0x39021b(0x2a0)]-0x1,_0x4e90d5;_0x491e3c>=0x0;_0x491e3c--)(_0x4e90d5=_0x39a23d[_0x491e3c])&&(_0x46c4a4=(_0x435386?_0x4e90d5(_0x33aa4b,_0x5195c7,_0x46c4a4):_0x4e90d5(_0x46c4a4))||_0x46c4a4);return _0x435386&&_0x46c4a4&&qr(_0x33aa4b,_0x5195c7,_0x46c4a4),_0x46c4a4;},At=(_0x50afc1,_0x44450f)=>(_0x21e16b,_0x25c36e)=>_0x44450f(_0x21e16b,_0x25c36e,_0x50afc1);let ft=class{constructor(_0x3e4c39,_0x243be8,_0x691c98){const _0x4b04fb=_0x354c00;this[_0x4b04fb(0x199)]=_0x3e4c39,this['_transformService']=_0x243be8,this[_0x4b04fb(0x473)]=_0x691c98;}[_0x354c00(0x425)](_0x3e6c8d){const _0x418f82=_0x354c00;this[_0x418f82(0x1b6)](_0x3e6c8d),this[_0x418f82(0x4f0)](_0x3e6c8d);}[_0x354c00(0x347)](_0x58dac6){const _0x5c08c7=_0x354c00,{unitID:_0x457f3f}=_0x58dac6,_0x12f773=this[_0x5c08c7(0x473)][_0x5c08c7(0x3d8)](_0x457f3f)['with'](_0x2f9898),{redoCache:_0x112881}=_0x12f773[_0x5c08c7(0x235)]();if(_0x112881[_0x5c08c7(0x2a0)]===0x0)return _0x58dac6;let _0x80d40d=_0x4127e3['deepClone'](_0x58dac6[_0x5c08c7(0x24d)][0x0]);for(let _0x31d227=0x0;_0x31d227<_0x112881[_0x5c08c7(0x2a0)];_0x31d227++){const _0x3fe39d={'id':_0x5c08c7(0x35d),'params':{..._0x112881[_0x31d227]}},_0x41f689=this[_0x5c08c7(0x329)][_0x5c08c7(0x2e0)](_0x80d40d,_0x3fe39d,!0x1);if(_0x17dd13(_0x41f689))throw _0x41f689['error'];_0x80d40d=_0x41f689[_0x5c08c7(0x411)];}return{..._0x4127e3[_0x5c08c7(0x31c)](_0x58dac6),'mutations':[_0x80d40d]};}[_0x354c00(0x1b6)](_0x56f431){const _0x3edbdc=_0x354c00,{unitID:_0x59c12c}=_0x56f431,_0x71bec3=this[_0x3edbdc(0x473)]['getRenderById'](_0x59c12c)[_0x3edbdc(0x503)](_0x2f9898),{undoCache:_0x17181e,redoCache:_0x590076}=_0x71bec3['getUndoRedoMutationParamsCache']();if(_0x17181e[_0x3edbdc(0x2a0)]===0x0||_0x590076['length']===0x0)return;const _0x75902d=[],_0x2a813b=[];let _0x3b765d=_0x4127e3[_0x3edbdc(0x31c)](_0x56f431['mutations'][0x0]),_0x27b00d=_0x4127e3['deepClone'](_0x56f431[_0x3edbdc(0x24d)][0x0]);for(let _0x195e78=_0x17181e[_0x3edbdc(0x2a0)]-0x1;_0x195e78>=0x0;_0x195e78--){const _0x539adc={'id':_0x3edbdc(0x35d),'params':{..._0x17181e[_0x195e78]}},_0x532bb8={'id':_0x3edbdc(0x35d),'params':{..._0x590076[_0x195e78]}},_0x168d88=this[_0x3edbdc(0x329)][_0x3edbdc(0x2e0)](_0x3b765d,_0x539adc,!0x1),_0x53d87f=this[_0x3edbdc(0x329)]['transformMutation'](_0x27b00d,_0x532bb8,!0x1);if(_0x17dd13(_0x168d88))throw _0x168d88[_0x3edbdc(0x2f1)];if(_0x17dd13(_0x53d87f))throw _0x53d87f[_0x3edbdc(0x2f1)];_0x75902d[_0x3edbdc(0x405)](_0x168d88['m2Prime'][_0x3edbdc(0x220)]),_0x2a813b['unshift'](_0x53d87f['m2Prime'][_0x3edbdc(0x220)]),_0x3b765d=_0x168d88[_0x3edbdc(0x411)],_0x27b00d=_0x53d87f[_0x3edbdc(0x411)];}_0x71bec3[_0x3edbdc(0x455)]({'undoCache':_0x75902d,'redoCache':_0x2a813b});}[_0x354c00(0x4f0)](_0x3f9413){const _0x3bd555=_0x354c00,{unitID:_0x16ce6e}=_0x3f9413,_0x404918=this['_renderManagerService'][_0x3bd555(0x3d8)](_0x16ce6e)[_0x3bd555(0x503)](_0x2f9898),_0x286f1c=_0x404918[_0x3bd555(0x488)]();if(_0x286f1c==null)return;const _0x587c96=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f9413[_0x3bd555(0x207)],'actions':null,'textRanges':[_0x286f1c]}}],_0x5bfb72=this[_0x3bd555(0x329)][_0x3bd555(0x219)](_0x3f9413,_0x587c96);if(!_0x295e25(_0x5bfb72))throw _0x5bfb72['error'];const _0x445610=_0x5bfb72[_0x3bd555(0x1b1)][0x0][_0x3bd555(0x220)]['textRanges'];Array[_0x3bd555(0x345)](_0x445610)&&_0x445610[_0x3bd555(0x2a0)]&&_0x404918['setActiveRange'](_0x445610[0x0]);}};ft=Jr([At(0x0,_0x1727eb(_0x5d0612)),At(0x1,_0xe30adb),At(0x2,_0xf0df93)],ft);var Zr=Object['defineProperty'],Qr=Object['getOwnPropertyDescriptor'],eo=(_0xed35e9,_0x4b3a90,_0x391f03,_0x2ac2c9)=>{for(var _0x473fa8=_0x2ac2c9>0x1?void 0x0:_0x2ac2c9?Qr(_0x4b3a90,_0x391f03):_0x4b3a90,_0x21ffc5=_0xed35e9['length']-0x1,_0x13e798;_0x21ffc5>=0x0;_0x21ffc5--)(_0x13e798=_0xed35e9[_0x21ffc5])&&(_0x473fa8=(_0x2ac2c9?_0x13e798(_0x4b3a90,_0x391f03,_0x473fa8):_0x13e798(_0x473fa8))||_0x473fa8);return _0x2ac2c9&&_0x473fa8&&Zr(_0x4b3a90,_0x391f03,_0x473fa8),_0x473fa8;},Xe=(_0x134ade,_0x11daa0)=>(_0x2b57ad,_0x317798)=>_0x11daa0(_0x2b57ad,_0x317798,_0x134ade);let q=class extends _0x1cb1cd{constructor(_0x2d1e82,_0x77430b,_0x29b3c9,_0xe58b62,_0x50cdbe){const _0x5712d4=_0x354c00;super(),g(this,_0x5712d4(0x381),new Map()),g(this,_0x5712d4(0x4e3),new Map()),g(this,_0x5712d4(0x3e4),!0x1),(this['_configService']=_0x2d1e82,this[_0x5712d4(0x4e1)]=_0x77430b,this[_0x5712d4(0x27c)]=_0x29b3c9,this['_localeService']=_0xe58b62,this[_0x5712d4(0x46f)]=_0x50cdbe,this[_0x5712d4(0x2e1)]());}[_0x354c00(0x412)](){const _0x59d5f1=_0x354c00;this[_0x59d5f1(0x3e4)]=!0x0;}[_0x354c00(0x298)](){const _0x8e027b=_0x354c00;this[_0x8e027b(0x3e4)]=!0x1;}['dispose'](){const _0x5b6c6f=_0x354c00;this[_0x5b6c6f(0x274)]()[_0x5b6c6f(0x1e4)](()=>super[_0x5b6c6f(0x4d7)]());}async[_0x354c00(0x4b8)](_0x505adc){const _0x133354=_0x354c00;return this['_disabled']?null:this[_0x133354(0x4e1)][_0x133354(0x2f7)](Bs(_0x505adc));}async['saveOfflineData'](_0x1139d0,_0x2b66cc){const _0x3b7e7a=_0x354c00;return!!this[_0x3b7e7a(0x4e1)][_0x3b7e7a(0x1d4)](_0x1139d0,_0x2b66cc);}[_0x354c00(0x47d)](_0xeb8c92,_0x159cdf,_0x620f63,_0x48e6cc){const _0x316a36=_0x354c00,_0xba17be=this[_0x316a36(0x46f)][_0x316a36(0x2cd)](_0xeb8c92);this['_cachedData'][_0x316a36(0x244)](_0xeb8c92,{'unitID':_0xeb8c92,'type':_0x159cdf,'awaitingChangeset':_0x620f63,'mutations':_0x48e6cc,'rev':_0xba17be}),this['_saveTaskMap'][_0x316a36(0x272)](_0xeb8c92)||this[_0x316a36(0x4ab)](_0xeb8c92);}[_0x354c00(0x4ab)](_0x442685){const _0x515696=_0x354c00,_0x1c938e=this[_0x515696(0x4ad)]();_0x1c938e===0x0?this[_0x515696(0x505)](_0x442685):this['_saveTaskMap']['set'](_0x442685,setTimeout(()=>this[_0x515696(0x505)](_0x442685),_0x1c938e));}['_getSaveTimeout'](){const _0x51ce3f=_0x354c00;var _0x4c6da3;return(_0x4c6da3=this['_configService'][_0x51ce3f(0x246)](Sr))!=null?_0x4c6da3:Ir;}[_0x354c00(0x505)](_0x4cb3e6){const _0x48610b=_0x354c00,_0x312f77=this[_0x48610b(0x4e3)][_0x48610b(0x291)](_0x4cb3e6);return _0x312f77!==void 0x0&&window[_0x48610b(0x303)](_0x312f77),this[_0x48610b(0x4e1)][_0x48610b(0x1d4)](Bs(_0x4cb3e6),this[_0x48610b(0x381)][_0x48610b(0x291)](_0x4cb3e6))[_0x48610b(0x1e4)](()=>this['_saveTaskMap'][_0x48610b(0x361)](_0x4cb3e6));}async[_0x354c00(0x274)](){const _0x26fc9c=_0x354c00,_0x21a2c0=[];this[_0x26fc9c(0x4e3)][_0x26fc9c(0x3f0)]((_0x3a742b,_0x2e66f3)=>{const _0x45f45f=_0x26fc9c;window[_0x45f45f(0x303)](_0x3a742b),_0x21a2c0[_0x45f45f(0x301)](this[_0x45f45f(0x505)](_0x2e66f3)[_0x45f45f(0x1e4)](()=>{const _0x70bbec=_0x45f45f;this['_saveTaskMap'][_0x70bbec(0x361)](_0x2e66f3);}));}),await Promise[_0x26fc9c(0x2f3)](_0x21a2c0);}[_0x354c00(0x2e1)](){const _0x3b0648=_0x354c00;this[_0x3b0648(0x181)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x4d5f22=_0x3b0648;if(this['_saveTaskMap'][_0x4d5f22(0x1e0)])return this[_0x4d5f22(0x31f)]['t'](_0x4d5f22(0x2d9));}));}};q=eo([Xe(0x0,_0x250a8d),Xe(0x1,_0xea98c6),Xe(0x2,_0x169eb0),Xe(0x3,_0x1727eb(_0x382d24)),Xe(0x4,_0x1727eb(_0x27820f))],q);function Bs(_0x105fc7){const _0x73bd5f=_0x354c00;return _0x73bd5f(0x36e)+_0x105fc7;}function _0x2f9d(){const _0xad74c9=['extend','[CollaborationSessionService]','_handleEvent','loadOfflineData','code','onCommandExecuted','_cursors','/-/object/list','_sessions','getActiveSheet','getViewport','HmacMD5','appendMutation','_onCombEvent','stopTime','createEncryptor','debug','_collaborationTimeoutTimer','1737169WhVTxJ','_docSkeleton','collaboration.closeRoom','onSyncEditingCollabCursor','FileId','state$','actions','_sendHeartbeatTimer','init','visibilityState','_docStateChangeManagerService','objects','reqId','SNAPSHOT_URL_KEY','tag','[FetchMissState]','dispose','reconnect','_refreshCollabCursors','_userManagerService','_substituteUndoStack','userID','ref','APPLY_PERMISSION_DENIED','_onCursorDelete','INGEST','_localStorageService','_onConnectionFailed','_saveTaskMap','...','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','map','_transformIMECache','_document','_drawRectRange','close','OFFLINE','json','HEADER_MENU','_hash','Pkcs7','_transformPreviousActiveRange','requireSession','pad','body','synced','sendChangesetTimeout','_transformHistoryAndStateStack','objectType','46708ENNvBY','_compressMutationService','unsubscribe','_getUploadFileURL','_clearOtherTimers','getUnhiddenWorksheets','_collabSessionService','_tryEnsureSocket','InsertRangeMoveDownCommandId','Base64','_resendTimeout','with','_transformStateCache','_saveCache','_ENC_XFORM_MODE','_getDownloadEndpointURL','black','fillRule','_getAPIPrefixPath','UNIVER_UNKNOWN','_ensureSubject','LIVESHARE_NEW_HOST','downloadEndpointUrl','csRejEvent','setTimeout','reset','buffer','_session','_onCursorUpdate','_initDependencies','asObservable','CONFLICT','collabStatus.synced','makeDirty','_scheduleCollaborationTimeoutTimer','_joinRoom','[PendingState]:\x20received\x20acknowledgement.','_anchor','_parse','subscribe','ERROR_EXCEED_SIZE','8bZKkAB','onRemoteAck','skeleton','_ws','[CollaborationUndoRedoService]','commentUpdate$','findNodePositionByCharIndex','sessionStatus$','RECV','closeSession','mixIn','[UniverCollaborationClientPlugin]','whenReady','_exhaustRemoteChangesetQueue','csAckEvent','failed\x20to\x20apply\x20missed\x20changesets!','startRow','setAlpha','newValue','c1Prime','localeService','_init','_onJoinRoomEvent','getCurrentUnitForType','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','on-line-single','_configService','RemoveRowCommandId','_changesetReqId','setShowComponents','PSEUDO_FETCH_MISSING_RESULT','_updateLocalCursor','_sheetSkeletonManagerService','\x20in\x20_schedule.','csShouldRetryEvent','restore','getResourcesRequest','equals','pushState','url(#on-line-single_clip0_910_349)','UNKNOWN_CMD','_sender','collaborators','_handleLeaveEvent','_docSyncEditingCollabCursorService','INVALID_ARGUMENT','univer-online-status','_getRedoStack','url','fill','_loadDoc','_heartbeatTimer','unload','_telemetryInfo','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onload','\x20to\x20','_assignedColors','/universer-api/stream/file/upload','BlockCipher','ReactCurrentOwner','save\x20fail\x20reason\x20is\x20','_onMessage','[CollaborationSession]','error$','location','abs','FETCH_MISSING','closePath','getDocRanges','range','_transitionLocked','_removeRoom','addImageSourceCache','isActive','liveShareOperation','COMPRESS_MUTATION_SEND','dispose$','NOT_COLLAB','_prevBlock','selections','RECT','originalMeta','_replaceFileID','Error','getMemberID','getValue','LICENSE_EXPORT_SIZE_EXCEEDED','_getAPIPrefix','reduce','status','collab-text-anchor-','_onRemoteChangeset','_append','getUnitOnRev','onMouseMove','session.will-retry','fetchMissingChangesets','_minBufferSize','currentSkeleton$','HEARTBEAT_INTERVAL','&assign=','snapshot','SUCCUSS','/allowed','getUnit','fromCollab','assign','_collabCursorState$','clear','_transformUndoredo','_timeoutTimer','WordArray','_scheduleTimestamp','_initCommandExecutedListener','colorChannel1','_socket','number','_isPermissionRej','newCsEvent','socketService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','AWAITING','selection','react.fragment','purple300','moveTo','INTERNAL_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','disposeWithMe','conflict.content','endRow','replaceDocRanges','catch','sheetID','path','UniverIcon','_startCollaboration','RETRY_CONNECTING_MAX_COUNT','CHANGESET_REJ','transformChangesets','fetch_missing','storage','session.room-full','transformByState','getUnitId','update','encodeURIComponent','_textBubble','authzUrl','signUrlServerUrl','prototype','UNDEFINED','_injector','off-line-single_clip0_910_343','online','_change$','members','confirm','_onRecvEvent','href','sessionStatus','image/jpeg','_iv','_transformStack','string','call','[OfflineState]:\x20received\x20changeset.','_undoStacks','/new_changes','#fff','hide','_executeRemoteChangeset','/role','LEAVE','_getLoginPath','_unlockTransition','m2Prime','AWAITING_WITH_PENDING','_createSocket','OpenSSL','getAllMembers','_transformUndoRedoStack','_iKey','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','addEventListener','_queuedRemoteChangesets','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','for','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_startTelemetryCollaborationNewChangeset','_members','onlineStatusIcon','collaboration-client.config','setConfig','_showConflictNotification','_commentUpdate$','UNIVER_SHEET','split','_hideTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','resend','mode','searchParams','floor','_collaborationController','sigBytes','_throwTelemetryCollaborationNewChangeset','Unknown\x20user','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ws://127.0.0.1:8000/universer-api/comb/connect','min','setItem','enableSingleActiveInstanceLock','deleteCollaborator','UnitEmbedded','getAncestorScale','resize','_range','saveSnapshot','includes','LICENSE_IMPORT_SIZE_EXCEEDED','SNAPSHOT_SERVER_URL_KEY','salt','size','/rev/','_localCacheService','blockSize','then','jsx','transform','joinRsp','patch','createSocket','_entities','workbook','CHANGESET_REVISION_CONFILICT','/unit/','subscribeEvent','MoveRangeCommandId','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','onTransformIME','getSheetBySheetId','_docTransformSelectionsService','_submitChangeset','onTransformChange$','close$','_backgroundColor','createDecryptor','UNKNOWN_CODE','_removeCollabCursors','parse','_scheduleClearOtherTimer','textRanges','rev','UPDATE_PERMISSION_OBJ','_sendingTimer','clamp','clone','_id','_getSendChangesetTimeout','CHANGESET_SHOULD_RETRY','_roomMembers','unitID','JOIN','_rescheduleHeartbeat','capture','changesets','cursorInfo$','SEND_CHANGESET_TIMEOUT','getOwnPropertyDescriptor','currentTheme$','getStateCache','values','?size=','COMPLETION_FINISHED','add','status$','_onRemoteACK','[DataLoaderController]','[OfflineState]:\x20received\x20rejection.','transformMutationsWithChangeset','APPLY_REVISION_CONFILICT','_handler','_toggleOnline','/universer-api/file/{fileID}/sign-url','_draw','_onUserLeave','params','_messageService','current','DEFAULT_FILE_NAME','keySize','getUnitStatus$','onRendered','_resendWithTimeout','Undefined','Malformed\x20UTF-8\x20data','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_updateState','lib','div','setWaitCount','_getSignURL','enc','Latin1','pluginName','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','transformStack\x20failed!','getUndoRedoMutationParamsCache','url(#$1','16bIlRHn','getSheetId','_waitForHeartbeatResponse','reverse','getImage','cmd','red300','_createHelper','responseType','sheetId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','algo','registerHTTPInterceptor','set','socket\x20open.','getConfig','displayName','fetchThroughInterceptors','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Hasher','getMember','session','mutations','show','formatter','now','random','_updateLocalCache','none','_colorIndex','LIVESHARE_REQUEST_HOST','SYNCED','text','collab-rect-range-','_socket$','Encryptor','_pendingMutations','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_context','_key','indexOf','type','clearInterval','_clearRedo','padding','isPermissionRej','onMissedChangesetFetched','registerComponent','UPDATE_CURSOR','execute','/universer-api/oidc/authpage','_clearTimeoutTimer','engine','_replayCachedMutations','_initUnitPermissionChange','offline','roles','finalize','_unitOnClients','has','decryptBlock','exhaustSavingTask','_getCurrentRevision','name','_awaitingChangeset','batchAllowed','format','attrs','_telemetryService','_beforeCloseService','[PendingState]:\x20received\x20rejection.','_tryReconnect','Utf8','_redoStacks','jsxs','compose','\x0aAfter:\x20','Decryptor','redoState','_updateURLWithCurrentState','subUnitId','UNIVER_SLIDE','_updateCollabCursors','_http','permission.content','_docSkeletonManagerService','HttpExport','CHANGESET_ACK','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_state','get','_render','&source=','baseRev','onMissingChangesets','APPLY_DUPLICATED','_lastPointer','enableLocalCache','_collaborationSessionService','from','_instanceService','ONLINE','sid','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_snapshotServerService','length','Error\x20on\x20receiving\x20event','COMPRESS_MUTATION_APPLY','BlockCipherMode','Base','_toggleOffline','_hover','top','[CollaborationState]:\x20apply\x20error!','onTransformRemoteChangesetByIMECache','_keyPriorReset','/resources','9534915dviXiG','PasswordBasedCipher','?url=','hasOwnProperty','defIds','message$','startColumn','RemoveColCommandId','_collabCursorController','unknown','$super','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_setupSubUnitSync','loadSheet','PERMISSION_DENIED','filter','encode','getOffsetConfig','listRoles','getInterceptPoints','_keySchedule','hidden','_type','_waitCount','TEXT','randomUUID','setCurrentUser','requestParams','registerRenderModule','unit','_clearLocalCache','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','getCurrentRevOfUnit','_send','round','rgba(255,\x20255,\x20255,\x200.01)','svg','/block/','onTransformState','FETCH_MISS','stringify','focused$','UNIVER_PROJECT','_uiPartsService','collaboration-client.offline-data-not-saved','send','hasher','{fileID}','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onlyLocal','next','transformMutation','_setupBeforeClosingHandler','children','_transformRemoteChangesetByStateCache','collabStatus.fetchMiss','COLLAB_SUBMIT_CHANGESET_URL','getVpScrollXYInfoByPosToVp','_getScale','onReady','_candidateSocket','AES','_getUndoStack','trim','react.element','_imageSourceCache','_clearUndo','image/gif','error','collabWebSocketUrl','all','setInterval','onTransformRemoteChangesetByStateCache','SNAPSHOT_HAS_BEEN_REMOVED','getItem','_initEventListeners','urlChange$','LOCAL_CACHE_INTERVAL','_getAnchorBounding','UUID','_refRangeService','_process','setParam','collab-text-range-','push','bind','clearTimeout','TOO_MANY_REQUESTS','file','_syncEditingCollabCursorService','JOINING','list','rng','objectID','measureText','append','/universer-api/authz','_checkMissing','[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.','target','lineTo','save','ciphertext','state','unitId','addObject','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','routeKey','getTypeOfUnitAdded$','/object/','_anchorDot','deepClone','roomInfos','_registerDependencies','_localeService','_onUserJoin','_data','_getSnapshotAPIPrefix','_commentService','compute','getOwnPropertySymbols','charCodeAt','translate(.97)','_cursorShapes','_transformService','getCurrentSelections','fillText','replaceState','unitId\x20is\x20not\x20found','1458368nFTAYG','not_collab','PENDING','origin','LIVESHARE_FETCH_OPERATIONS','row','x-univer-host','_hovered','_onOffline','width','eventID','beginPath','triggerDblclick','_color','words','withCredentials','interceptor','initWorkbookPermissionChange','awaiting','reject','UNRECOGNIZED','NoPadding','_retryConnectingTimer','isArray','roomMembers','transformRemoteChangeset','createInstance','ranges','UnitSnapshot','/fetchmissing?from=','CBC','enableOfflineEditing','evenodd','url(#off-line-single_clip0_910_343)','POST','getUniverSheetInstance','_eventUnsubscribe','collaboratorID','onCommentUpdate','fillStyle','updateCursorEvent','310404MxBOsv','_loadSheet','_unitID','UNAUTHENTICATED','defs','disposeUnit','doc.mutation.rich-text-editing','transformUndoRedo','contains','_getCtorByUniverType','delete','max','retryConnectingInterval','getTypeOfUnitDisposed$','executeCommand','_acknowledgedAwaitingChangeset','complete','bottom','onlineStatusTitle','charAt','975280PoEFGO','ALREADY_EXISTS','&to=','unit-cache-','OnLineSingle','_nRounds','_hasher','ERROR_IMAGE','OTHER_CLIENTS_EDITING','onlineStatus','_transformRemoteChangesetByIMECache','Univer','univer-pro.collaboration-client.single-active-unit-service','1em','SerializableCipher','unpad','_applyRemoteChangeset','_doFinalize','univer-pro.collaboration-client-socket-service','_socketService','_collaborationPaused','LICENSE_MAX_UNITS_EXCEEDED','_cachedData','_socketReady','/object','permissionRejEvent','_snapshotService','currentColor','1039632YjVHbu','default','clipPath','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','column','_undoRedoService','syncEditingCollabCursor','_status$','registerOnClose','_memberService','onPointerLeave$','_sendHeartbeat','onRemoteRetry','pauseCollaboration','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursorInfo$','_roomMembers$','_event$','FAIL','Cipher','_scene','_updateSubUnitFromURLParams','_createHandler','cfg','VIEW_MAIN','BASE64','_shouldReportTelemetry','on-line-single_clip0_910_349','_handleHover','override','snapshotServerUrl','COMMENT_UPDATE','allowed','_colorAssignService','socket\x20close','objectActions','use','collabStatus.offline','OffLineSingle','HMAC','_sessionStatus$','getCollabEntity','_state$','className','_httpService','createCollaborator','_handleJoinEvent','_logService','BufferedBlockAlgorithm','setStateCache','icon','getCurrentUser','splice','decrypt','listCollaborators','arc','_name','randomBytes','readAsDataURL','_decreaseWaiting','HttpImport','LIVESHARE_OPERATION','getRandomValues','PERMISSION_REJ','getFocusedUnit','enableAuthServer','pending','collabStatus.syncing','_onConnectionOpen','cursorInfo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','M0\x200H16V16H0z','defineProperty','#FFF','toString','Could\x20not\x20dynamically\x20require\x20\x22','univerjs-icon\x20univerjs-icon-','_oKey','object','_substituteRedoStack','_HTTPService','getRenderById','_entityInit$','getCollabEntity$','ERROR_IMAGE_TYPE','startsWith','kdf','SHOULD_CLOSE_CONN','data','_lockTransition','_selfUnitIDs','startTime','saveSheetBlock','_disabled','/-/object/-/batch_allowed','change$','_initStatusComponent','__Key__','_removeClearOtherTimer','duration','_clearScheduledTask','function','_labelPosition','apply','_onLocalMutation','forEach','_doCryptBlock','_reverseMap','color','assignAColorForMemberID','SUBMIT_CHANGESET','revision','create','_startDocCollabCursor','post','getSheetBlock','_schedule','_commandService','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','auth.needGotoLoginAlert','joinEvent','getUnitType','MD5','encrypt','_online','toggleOnline','unshift','NEW_CHANGESETS','univer-online-status-title','_urlService','USERS_ENTER','[SyncedState]:\x20received\x20acknowledgement.','_xformMode','crypto','onPointerEnter$','_clearHeartbeatTimer','replace','IDLE','m1Prime','disableLocalCache','_initMergeInterceptor','_cipher','_notificationService','collaboration.single-unit.warning','YUUMI_URL_COL_OUT_OF_RANGE','memberID','getRangePointData','popstate','collabStatus.conflict','drawWith','_initResize','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_DISTRO_REJECTED','_initRequestHeader','session.connection-failed','getWorkbookSelections','HELLO','generateRandomId','transformIMECache','InsertRowCommandId','ivSize','_docTransformIMECacheService','_univerInstanceService','_unitStatus','ENSURE_SNAPSHOT_EXECUTION','_transformSelections','getSkeleton','_changesetSessionId','_initCloseConn','getLatestCsReqIdBySid','univer-online','collaMsg','_initStatusListener','saveImage','Warning','collabCursorState$','MUTATION','__esModule','telemetry\x20info\x20is\x20not\x20initialized','copyFileMeta','removeMember','_nDataBytes','pipe','_listenToOnlineEvent','_doProcessBlock','_createInitialStateImpl','undoState','session.collaboration-timeout','_map','_cursor','setShapeProps','toggleOffline','_config','_retryCount','_createHmacHelper','LIVESHARE_TERMINATE','USERS_LEAVE','_themeService','_drawTextRange','YUUMI_RATE_OVER_LIMIT','_disableEditing','_permissionService','_createInitialState','addObjects','COLLAB_WEB_SOCKET_URL','_drawAnchor','setUndoRedoMutationParamsCache','transformSelections','YUUMI_UNABLE_LOAD_URL','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','verdancy600','image/bmp','_remoteChangesetQueue','labelPosition','\x20-\x20','xlink:href','key','_startSheetCollabCursor','UNIVER_DOC','find','_docTransformStateCacheService','_registerRenderDependencies','open$','msCrypto','event$','idSuffix','history','connection\x20error','_shapes','collaboration_new_changeset','awaitingChangeset','SHA1','_revisionService','_resendTimer','loginUrlKey','registerRefRange','_renderManagerService','_singleActiveUnitService','slice','HEARTBEAT','FromArray','[CollaborationEntity]','hovered','onTransformSelections','getParam','onRemoteRej','updateOfflineData','onSendChangeset','_mode','LOGIN_URL_KEY','_listenToOfflineEvent','_onFetchMissResult','getCurrent','_socketMessageSubscription','univer-online-status-icon','EXCHANGE_SIGN_URL_SERVER_URL_KEY','defaultProps','getActiveRange','_handleHeartbeatEvent','transformStateCache','title','_incrementRevisionNumber','toRgbString','getRelativeToViewportCoord','_DEC_XFORM_MODE','flatMap','awaiting_with_pending','Hex','endColumn','height','\x0aCurrent:\x20','getCollabCursors$','liveShareNewHost','_getMergeRange','NOT_FOUND','every','_updateStatus','subunit','ceil','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','editing\x20status\x20changed\x20to','updateMember','MSG_FOR_ERROR','updatePermissionPoint','concat','0\x200\x2016\x2016','_onRemoteRetry','exports','conflict','HmacSHA1','onRemoteChangeset','_fetchMissChangesets','_scheduleSaving','sheets','_getSaveTimeout','_getSheetObject','EvpKDF','sin','_onConflict','fetching\x20missing\x20changesets\x20from\x20','_scheduleHeartbeat','/collaborator'];_0x2f9d=function(){return _0xad74c9;};return _0x2f9d();}var to=Object[_0x354c00(0x3cf)],so=Object[_0x354c00(0x20e)],io=(_0xf0f0b4,_0x521277,_0x3d1ec4,_0x4155f1)=>{const _0x137a9f=_0x354c00;for(var _0x5ac432=_0x4155f1>0x1?void 0x0:_0x4155f1?so(_0x521277,_0x3d1ec4):_0x521277,_0x167b17=_0xf0f0b4[_0x137a9f(0x2a0)]-0x1,_0x106cb0;_0x167b17>=0x0;_0x167b17--)(_0x106cb0=_0xf0f0b4[_0x167b17])&&(_0x5ac432=(_0x4155f1?_0x106cb0(_0x521277,_0x3d1ec4,_0x5ac432):_0x106cb0(_0x5ac432))||_0x5ac432);return _0x4155f1&&_0x5ac432&&to(_0x521277,_0x3d1ec4,_0x5ac432),_0x5ac432;},Mt=(_0x3d0578,_0x48ce7e)=>(_0x5311a4,_0x1cfca1)=>_0x48ce7e(_0x5311a4,_0x1cfca1,_0x3d0578);function no(_0x10b2d8){const _0x256272=_0x354c00,{unitID:_0x582a54,mutations:_0xc70403}=_0x10b2d8;return{'unitId':_0x582a54,'subUnitId':_0xc70403[0x0][_0x256272(0x220)][_0x256272(0x287)]};}let vt=class{constructor(_0x19848d,_0x5bf574,_0x17f913){const _0xd3343f=_0x354c00;this['_injector']=_0x19848d,this[_0xd3343f(0x329)]=_0x5bf574,this['_instanceService']=_0x17f913;}[_0x354c00(0x456)](_0x253f6a){const _0x7f583a=_0x354c00;var _0x51e6f6,_0x3a2d01,_0x517a3f,_0x4b6d71;const _0x257e35=this['_injector']['get'](_0xfd201e),{unitId:_0x3495b5,subUnitId:_0xb12ecc}=no(_0x253f6a),_0x4d78ce=_0x257e35[_0x7f583a(0x422)](_0x3495b5)[_0x7f583a(0x32a)](),_0x54f24=(_0x3a2d01=(_0x51e6f6=this[_0x7f583a(0x29b)][_0x7f583a(0x169)](_0x3495b5))==null?void 0x0:_0x51e6f6[_0x7f583a(0x4be)]())==null?void 0x0:_0x3a2d01[_0x7f583a(0x238)]();if(_0x4d78ce[_0x7f583a(0x2a0)]===0x0||!_0x3495b5||!_0xb12ecc)return;const _0x3dc17e=[{'id':_0x558a1a['id'],'params':{'unitId':_0x3495b5,'subUnitId':_0x54f24,'selections':_0x4127e3['deepClone'](_0x4d78ce)}}],_0x15377e=this[_0x7f583a(0x329)]['transformMutationsWithChangeset'](_0x253f6a,_0x3dc17e);if(!_0x295e25(_0x15377e))throw _0x15377e[_0x7f583a(0x2f1)];const _0x1e756b=(_0x4b6d71=(_0x517a3f=_0x15377e[_0x7f583a(0x1b1)][0x0])==null?void 0x0:_0x517a3f['params'])==null?void 0x0:_0x4b6d71[_0x7f583a(0x150)];if(Array['isArray'](_0x1e756b)&&_0x1e756b['length']){if(_0x1e756b[_0x7f583a(0x2a0)]===_0x3dc17e[0x0][_0x7f583a(0x220)]['selections'][_0x7f583a(0x2a0)]&&_0x1e756b[_0x7f583a(0x49a)]((_0x295e04,_0x3bdb87)=>_0x10dcad[_0x7f583a(0x546)](_0x295e04[_0x7f583a(0x146)],_0x3dc17e[0x0]['params'][_0x7f583a(0x150)][_0x3bdb87][_0x7f583a(0x146)])))return;this[_0x7f583a(0x199)][_0x7f583a(0x291)](_0xfbfaad)['executeCommand'](_0x558a1a['id'],{'unitId':_0x3495b5,'subUnitId':_0x54f24,'selections':_0x1e756b});}}};vt=io([Mt(0x0,_0x1727eb(_0x5d0612)),Mt(0x1,_0xe30adb),Mt(0x2,_0x48d976)],vt);const Rt=_0x1d937b(_0x354c00(0x377));var Di=(_0x4ff384=>(_0x4ff384[_0x4ff384['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4ff384[_0x4ff384[_0x354c00(0x373)]=0x1]=_0x354c00(0x373),_0x4ff384))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class ro extends _0x1cb1cd{constructor(){const _0x181375=_0x354c00;super(),g(this,_0x181375(0x203),_0x4127e3[_0x181375(0x424)]()),g(this,_0x181375(0x3e1),new Set()),g(this,'_unitOnClients',new Map()),g(this,'_heartbeatTimer',null),g(this,_0x181375(0x4fc),new Map()),g(this,'_unitStatus',new Map()),this[_0x181375(0x536)]();}['dispose'](){const _0x191163=_0x354c00;super['dispose'](),this[_0x191163(0x4fc)][_0x191163(0x3f0)]((_0xea0884,_0x5d52a3)=>this[_0x191163(0x3e9)](_0x5d52a3)),this[_0x191163(0x554)]&&window[_0x191163(0x261)](this[_0x191163(0x554)]);}[_0x354c00(0x225)](_0x53b569){const _0x23a86d=_0x354c00;return this[_0x23a86d(0x50c)](_0x53b569)[_0x23a86d(0x43d)](_0x197f58());}['editingUnit'](_0x246a59){const _0x2cfd6c=_0x354c00;this[_0x2cfd6c(0x3e1)][_0x2cfd6c(0x1e0)]===0x0&&this[_0x2cfd6c(0x4b3)](),this[_0x2cfd6c(0x3e1)][_0x2cfd6c(0x214)](_0x246a59),this[_0x2cfd6c(0x2ce)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x246a59],'isForwarded':!0x1});}[_0x354c00(0x35c)](_0x297d0a){const _0x2fb5d4=_0x354c00;this[_0x2fb5d4(0x3e1)][_0x2fb5d4(0x361)](_0x297d0a),this['_selfUnitIDs'][_0x2fb5d4(0x1e0)]===0x0&&this['_heartbeatTimer']&&window[_0x2fb5d4(0x261)](this[_0x2fb5d4(0x554)]);}[_0x354c00(0x536)](){const _0x2eb9bb=_0x354c00;this[_0x2eb9bb(0x181)](_0x48b865(_0x2ddc8b(window,_0x2eb9bb(0x18e))[_0x2eb9bb(0x51f)](_0x394aa3=>{const _0x288aa6=_0x2eb9bb;if(_0x394aa3[_0x288aa6(0x45f)]!==Ws||!_0x394aa3[_0x288aa6(0x533)])return;const _0x4e6e01=JSON[_0x288aa6(0x1fb)](_0x394aa3[_0x288aa6(0x533)]);this[_0x288aa6(0x4b7)](_0x4e6e01);}))),window[_0x2eb9bb(0x1b9)](_0x2eb9bb(0x555),()=>this['_send']({'type':0x1,'memberID':this[_0x2eb9bb(0x203)],'unitIDs':Array[_0x2eb9bb(0x29a)](this[_0x2eb9bb(0x3e1)])}));}[_0x354c00(0x4b7)](_0xbba6e2){const _0x1cc1bc=_0x354c00;switch(_0xbba6e2[_0x1cc1bc(0x260)]){case 0x0:this[_0x1cc1bc(0x3b5)](_0xbba6e2);break;case 0x1:this[_0x1cc1bc(0x54c)](_0xbba6e2);break;case 0x2:this['_handleHeartbeatEvent'](_0xbba6e2);break;}}[_0x354c00(0x3b5)](_0x2b7c3b){const _0x351c53=_0x354c00,{unitIDs:_0x9ee138,memberID:_0xc8c2cb,isForwarded:_0x72f798}=_0x2b7c3b;_0x9ee138['forEach'](_0x980356=>{const _0x13e65d=_0x33b4;if(!_0x72f798&&this['_unitOnClients'][_0x13e65d(0x272)](_0x980356)&&this[_0x13e65d(0x50c)](_0x980356)[_0x13e65d(0x2df)](0x1),!this['_unitOnClients'][_0x13e65d(0x272)](_0x980356)||!this[_0x13e65d(0x271)][_0x13e65d(0x291)](_0x980356)[_0x13e65d(0x272)](_0xc8c2cb)){const _0x42150e=this[_0x13e65d(0x271)][_0x13e65d(0x291)](_0x980356)||new Set();_0x42150e[_0x13e65d(0x214)](_0xc8c2cb),this[_0x13e65d(0x271)][_0x13e65d(0x244)](_0x980356,_0x42150e),this[_0x13e65d(0x1fc)](_0xc8c2cb);}}),_0x72f798||this[_0x351c53(0x2ce)]({'type':0x0,'memberID':this[_0x351c53(0x203)],'unitIDs':[...this[_0x351c53(0x3e1)]],'isForwarded':!0x0});}[_0x354c00(0x1fc)](_0x14db4a){const _0x35d84b=_0x354c00;this['_removeClearOtherTimer'](_0x14db4a);const _0x310a42=window[_0x35d84b(0x510)](()=>{const _0x445350=_0x35d84b;this[_0x445350(0x271)][_0x445350(0x3f0)](_0x2a1f79=>{const _0x35719e=_0x445350;_0x2a1f79[_0x35719e(0x361)](_0x14db4a);});},ks*0x2);this[_0x35d84b(0x4fc)][_0x35d84b(0x244)](_0x14db4a,_0x310a42);}[_0x354c00(0x3e9)](_0x5af96e){const _0x551135=_0x354c00;if(this[_0x551135(0x4fc)][_0x551135(0x272)](_0x5af96e)){const _0x30e3ca=this[_0x551135(0x4fc)][_0x551135(0x291)](_0x5af96e);_0x30e3ca&&window['clearTimeout'](_0x30e3ca),this[_0x551135(0x4fc)][_0x551135(0x244)](_0x5af96e,null);}}['_handleLeaveEvent'](_0x20fa98){const {memberID:_0x1ed566,unitIDs:_0x5a96b3}=_0x20fa98;_0x5a96b3['forEach'](_0x158c99=>{const _0x4c0683=_0x33b4;var _0x75a1f2;const _0x429aaf=this[_0x4c0683(0x271)][_0x4c0683(0x291)](_0x158c99);_0x429aaf&&(_0x429aaf[_0x4c0683(0x361)](_0x1ed566),(_0x75a1f2=this['_ensureSubject'](_0x158c99))==null||_0x75a1f2['next'](_0x429aaf[_0x4c0683(0x1e0)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x1ed566);}[_0x354c00(0x489)](_0x5a4d9c){const _0x3e6813=_0x354c00;this[_0x3e6813(0x1fc)](_0x5a4d9c[_0x3e6813(0x418)]);}[_0x354c00(0x2ce)](_0x3a8169){const _0x2ae24e=_0x354c00;localStorage[_0x2ae24e(0x1d4)](Ws,JSON[_0x2ae24e(0x2d5)](_0x3a8169));}['_scheduleHeartbeat'](){const _0x48830b=_0x354c00;this[_0x48830b(0x554)]=window[_0x48830b(0x2f4)](()=>{const _0xba4eb9=_0x48830b;this[_0xba4eb9(0x2ce)]({'type':0x2,'memberID':this[_0xba4eb9(0x203)]});},ks);}[_0x354c00(0x50c)](_0x1a1402){const _0x2e6af9=_0x354c00;return this[_0x2e6af9(0x42a)][_0x2e6af9(0x272)](_0x1a1402)||this[_0x2e6af9(0x42a)][_0x2e6af9(0x244)](_0x1a1402,new _0x5ea788(0x0)),this[_0x2e6af9(0x42a)][_0x2e6af9(0x291)](_0x1a1402);}}var oo=Object[_0x354c00(0x3cf)],ao=Object[_0x354c00(0x20e)],co=(_0x5a1b09,_0x53d025,_0x31a5dd,_0x179015)=>{const _0x2c8d8e=_0x354c00;for(var _0x19c521=_0x179015>0x1?void 0x0:_0x179015?ao(_0x53d025,_0x31a5dd):_0x53d025,_0x394201=_0x5a1b09[_0x2c8d8e(0x2a0)]-0x1,_0x2eb759;_0x394201>=0x0;_0x394201--)(_0x2eb759=_0x5a1b09[_0x394201])&&(_0x19c521=(_0x179015?_0x2eb759(_0x53d025,_0x31a5dd,_0x19c521):_0x2eb759(_0x19c521))||_0x19c521);return _0x179015&&_0x19c521&&oo(_0x53d025,_0x31a5dd,_0x19c521),_0x19c521;},xt=(_0x2eeef7,_0x49b3db)=>(_0x565946,_0x4c0544)=>_0x49b3db(_0x565946,_0x4c0544,_0x2eeef7);let mt=class{constructor(_0x374fc9,_0x8b8441,_0x24f476){const _0x1f3d76=_0x354c00;this[_0x1f3d76(0x199)]=_0x374fc9,this[_0x1f3d76(0x329)]=_0x8b8441,this[_0x1f3d76(0x4d1)]=_0x24f476;}['transformStateCache'](_0x1b6687){const _0x2968da=_0x354c00;this[_0x2968da(0x4f6)](_0x1b6687);}['transformRemoteChangeset'](_0x122a9d){const _0x37bf94=_0x354c00,{unitID:_0xbab496}=_0x122a9d,{collaboration:_0x58c849}=this[_0x37bf94(0x4d1)][_0x37bf94(0x210)](_0xbab496);if(_0x58c849[_0x37bf94(0x2a0)]===0x0)return _0x122a9d;let _0x28ac62=_0x4127e3[_0x37bf94(0x31c)](_0x122a9d['mutations'][0x0]);for(let _0x2fc8f9=0x0;_0x2fc8f9<_0x58c849[_0x37bf94(0x2a0)];_0x2fc8f9++){const _0x181eb6={'id':_0x37bf94(0x35d),'params':{'unitId':_0x58c849[_0x2fc8f9][_0x37bf94(0x315)],..._0x58c849[_0x2fc8f9][_0x37bf94(0x285)]}},_0x485bcb=this[_0x37bf94(0x329)][_0x37bf94(0x2e0)](_0x28ac62,_0x181eb6,!0x1);if(_0x17dd13(_0x485bcb))throw _0x485bcb[_0x37bf94(0x2f1)];_0x28ac62=_0x485bcb['m1Prime'];}return{..._0x4127e3[_0x37bf94(0x31c)](_0x122a9d),'mutations':[_0x28ac62]};}['_transformHistoryAndStateStack'](_0x48c014){const _0x11fdcd=_0x354c00,{unitID:_0x4f4edc}=_0x48c014,{history:_0x5dda48,collaboration:_0x5c28fd}=this[_0x11fdcd(0x4d1)]['getStateCache'](_0x4f4edc);if(_0x5dda48[_0x11fdcd(0x2a0)]===0x0&&_0x5c28fd['length']===0x0)return;const _0x202335=[],_0xc564c6=[];let _0x548a36=_0x4127e3[_0x11fdcd(0x31c)](_0x48c014[_0x11fdcd(0x24d)][0x0]),_0x19ae19=_0x4127e3[_0x11fdcd(0x31c)](_0x48c014[_0x11fdcd(0x24d)][0x0]);for(let _0x57b05f=_0x5dda48['length']-0x1;_0x57b05f>=0x0;_0x57b05f--){const _0x5987f1={'id':_0x11fdcd(0x35d),'params':{'unitId':_0x5dda48[_0x57b05f][_0x11fdcd(0x315)],..._0x5dda48[_0x57b05f]['undoState']}},_0x12426d={'id':_0x11fdcd(0x35d),'params':{'unitId':_0x5dda48[_0x57b05f]['unitId'],..._0x5dda48[_0x57b05f]['redoState']}},_0x2cce01=this[_0x11fdcd(0x329)]['transformMutation'](_0x548a36,_0x5987f1,!0x1),_0x4453cd=this['_transformService'][_0x11fdcd(0x2e0)](_0x19ae19,_0x12426d,!0x1);if(_0x17dd13(_0x2cce01))throw _0x2cce01['error'];if(_0x17dd13(_0x4453cd))throw _0x4453cd[_0x11fdcd(0x2f1)];_0x202335[_0x11fdcd(0x405)]({..._0x5dda48[_0x57b05f],'undoState':_0x2cce01['m2Prime']['params'],'redoState':_0x4453cd['m2Prime'][_0x11fdcd(0x220)]}),_0x548a36=_0x2cce01[_0x11fdcd(0x411)],_0x19ae19=_0x4453cd[_0x11fdcd(0x411)];}_0x548a36=_0x4127e3[_0x11fdcd(0x31c)](_0x48c014[_0x11fdcd(0x24d)][0x0]),_0x19ae19=_0x4127e3[_0x11fdcd(0x31c)](_0x48c014[_0x11fdcd(0x24d)][0x0]);for(let _0x45aee8=_0x5c28fd[_0x11fdcd(0x2a0)]-0x1;_0x45aee8>=0x0;_0x45aee8--){const _0x29cacf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c28fd[_0x45aee8][_0x11fdcd(0x315)],..._0x5c28fd[_0x45aee8][_0x11fdcd(0x441)]}},_0x2da15e={'id':_0x11fdcd(0x35d),'params':{'unitId':_0x5c28fd[_0x45aee8]['unitId'],..._0x5c28fd[_0x45aee8][_0x11fdcd(0x285)]}},_0x288e61=this[_0x11fdcd(0x329)][_0x11fdcd(0x2e0)](_0x548a36,_0x29cacf,!0x1),_0x381a46=this['_transformService'][_0x11fdcd(0x2e0)](_0x19ae19,_0x2da15e,!0x1);if(_0x17dd13(_0x288e61))throw _0x288e61['error'];if(_0x17dd13(_0x381a46))throw _0x381a46[_0x11fdcd(0x2f1)];_0xc564c6['unshift']({..._0x5c28fd[_0x45aee8],'undoState':_0x288e61[_0x11fdcd(0x1b1)][_0x11fdcd(0x220)],'redoState':_0x381a46['m2Prime'][_0x11fdcd(0x220)]}),_0x548a36=_0x288e61['m1Prime'],_0x19ae19=_0x381a46['m1Prime'];}this[_0x11fdcd(0x4d1)][_0x11fdcd(0x3b8)](_0x4f4edc,{'history':_0x202335,'collaboration':_0xc564c6});}};mt=co([xt(0x0,_0x1727eb(_0x5d0612)),xt(0x1,_0xe30adb),xt(0x2,_0x1727eb(_0x1578ad))],mt);function Pi(_0x9a25ad){const _0x1bbf64=_0x354c00;let _0x1fe614='';for(const _0x5f274b of _0x9a25ad){const {startOffset:_0x50ce7d,endOffset:_0x4eec47,isActive:_0x38286c,rangeType:_0x48bb74,segmentId:_0x35ca2f,segmentPage:_0x423f5c}=_0x5f274b;_0x1fe614[_0x1bbf64(0x2a0)]&&(_0x1fe614+=','),_0x1fe614+=_0x50ce7d+':'+_0x4eec47+':'+(_0x38286c?'1':'0')+':'+_0x48bb74+':'+_0x35ca2f+':'+_0x423f5c;}return _0x1fe614;}function ho(_0x4d2160){const _0x49b511=_0x354c00,_0x540048=_0x4d2160[_0x49b511(0x1c6)](','),_0x583496=[];for(const _0x303911 of _0x540048){const [_0x58dea3,_0x2b7b9d,_0x173aa5,_0x1dfc55,_0x2894ec,_0x3c945c]=_0x303911['split'](':');_0x583496[_0x49b511(0x301)]({'startOffset':Number(_0x58dea3),'endOffset':Number(_0x2b7b9d),'collapsed':_0x58dea3===_0x2b7b9d,'isActive':_0x173aa5==='1','rangeType':_0x1dfc55===_0x31810f[_0x49b511(0x2c4)]?_0x31810f['TEXT']:_0x31810f['RECT'],'segmentId':typeof _0x2894ec==_0x49b511(0x1a5)?String(_0x2894ec):'','segmentPage':Number(_0x3c945c!=null?_0x3c945c:-0x1)});}return _0x583496['some'](_0x5c9c47=>_0x5c9c47[_0x49b511(0x14a)])||(_0x583496[0x0][_0x49b511(0x14a)]=!0x0),_0x583496;}class Cs extends _0x1bd493{constructor(){const _0x13c2b2=_0x354c00;super(...arguments),g(this,_0x13c2b2(0x16c),new _0x5ea788(null)),g(this,_0x13c2b2(0x436),this[_0x13c2b2(0x16c)]['asObservable']());}[_0x354c00(0x38d)](_0x1be722){const _0x4dce9b=_0x354c00,{unitID:_0x44512c,memberID:_0x52ffd8,textRanges:_0x2acb5f}=_0x1be722,_0x3b841f=Pi(_0x2acb5f);if(_0x3b841f==='')return;const _0x353b54={'unitID':_0x44512c,'memberID':_0x52ffd8,'selection':_0x3b841f};this[_0x4dce9b(0x16c)][_0x4dce9b(0x2df)](_0x353b54);}}var lo=Object[_0x354c00(0x3cf)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x3da4ab,_0x4dcbcf,_0x38308c,_0x40f52f)=>{const _0x5b9c73=_0x354c00;for(var _0x561804=_0x40f52f>0x1?void 0x0:_0x40f52f?_o(_0x4dcbcf,_0x38308c):_0x4dcbcf,_0x362d6b=_0x3da4ab[_0x5b9c73(0x2a0)]-0x1,_0x5743d7;_0x362d6b>=0x0;_0x362d6b--)(_0x5743d7=_0x3da4ab[_0x362d6b])&&(_0x561804=(_0x40f52f?_0x5743d7(_0x4dcbcf,_0x38308c,_0x561804):_0x5743d7(_0x561804))||_0x561804);return _0x40f52f&&_0x561804&&lo(_0x4dcbcf,_0x38308c,_0x561804),_0x561804;},Fs=(_0x9dcf6b,_0x1f56ae)=>(_0x4cf532,_0x42218d)=>_0x1f56ae(_0x4cf532,_0x42218d,_0x9dcf6b);let pt=class{constructor(_0x1b59b0,_0x219093){const _0x6bf3f=_0x354c00;this[_0x6bf3f(0x199)]=_0x1b59b0,this['_transformService']=_0x219093;}[_0x354c00(0x456)](_0x481490){const _0x36f7b8=_0x354c00;var _0x3138e7;const _0x3712df=this[_0x36f7b8(0x199)][_0x36f7b8(0x291)](_0x15c40f),_0x1e8bf5=(_0x3138e7=_0x3712df[_0x36f7b8(0x145)]())!=null?_0x3138e7:[];if(_0x1e8bf5[_0x36f7b8(0x2a0)]===0x0)return;const _0x346be8=_0x481490[_0x36f7b8(0x207)],_0x365c85=[{'id':_0x36f7b8(0x35d),'params':{'unitId':_0x346be8,'actions':null,'textRanges':_0x1e8bf5}}],_0xc02666=this['_transformService'][_0x36f7b8(0x219)](_0x481490,_0x365c85);if(!_0x295e25(_0xc02666))throw _0xc02666[_0x36f7b8(0x2f1)];const _0x872a4f=_0xc02666['m2Prime'][0x0][_0x36f7b8(0x220)][_0x36f7b8(0x1fd)];Array[_0x36f7b8(0x345)](_0x872a4f)&&_0x872a4f['length']&&_0x3712df[_0x36f7b8(0x184)](_0x872a4f,{'unitId':_0x346be8,'subUnitId':_0x346be8},!0x1);}};pt=uo([Fs(0x0,_0x1727eb(_0x5d0612)),Fs(0x1,_0xe30adb)],pt);const fo=new Set([_0x15c0ac['id']]);function Vs(_0x1791e7,_0x12ff26,_0x15c9d7,_0x222309,_0x4726d5){const _0x265b4f=_0x354c00;var _0x10f790,_0x38b83a,_0x255554,_0xe929ce;const _0x41fdf7=[];for(const _0x101dc8 of _0x1791e7)if(fo[_0x265b4f(0x272)](_0x101dc8['id'])){if(_0x41fdf7[_0x265b4f(0x2a0)]>0x0)break;_0x41fdf7[_0x265b4f(0x301)](_0x101dc8);break;}else _0x41fdf7[_0x265b4f(0x301)](_0x101dc8);const _0x20c6e3=(_0x38b83a=(_0x10f790=_0x4726d5[_0x265b4f(0x3ba)]())==null?void 0x0:_0x10f790[_0x265b4f(0x4dc)])!=null?_0x38b83a:'unknown',_0x35a3a3=(_0xe929ce=(_0x255554=_0x4726d5[_0x265b4f(0x3ba)]())==null?void 0x0:_0x255554[_0x265b4f(0x418)])!=null?_0xe929ce:_0x265b4f(0x2b5);return{'changeset':{'unitID':_0x12ff26,'type':_0x1ee155(_0x15c9d7[_0x265b4f(0x400)](_0x12ff26)),'baseRev':_0x222309[_0x265b4f(0x2cd)](_0x12ff26),'revision':0x0,'userID':_0x20c6e3,'memberID':_0x35a3a3,'mutations':_0x41fdf7},'pendingMutations':_0x1791e7[_0x265b4f(0x475)](_0x41fdf7[_0x265b4f(0x2a0)])};}function vo(_0x3dfd61,_0x42def3,_0x3509c8,_0x39658c,_0xbc287e){const _0x471213=_0x354c00;var _0x505026,_0x19e2da,_0x729b51,_0x9c9c35;const _0x2a250f=[_0x3dfd61[_0x471213(0x159)]((_0x548660,_0x23fb85)=>{const _0xe070cb=_0x471213;var _0x52a993;const {id:_0x285474}=_0x548660,{id:_0x1ef5db,type:_0x21031d}=_0x23fb85,_0x1b25f=(_0x52a993=_0x548660[_0xe070cb(0x220)])!=null?_0x52a993:{'actions':null},_0x101719=_0x23fb85[_0xe070cb(0x220)];if(_0x285474&&_0x285474!==_0x1ef5db)throw new Error(_0xe070cb(0x1bd)+_0x285474+_0xe070cb(0x45d)+_0x1ef5db+'.');return{..._0x548660,'id':_0x1ef5db,'type':_0x21031d,'params':{'unitId':_0x101719[_0xe070cb(0x315)],'textRanges':_0x101719[_0xe070cb(0x1fd)],'actions':_0x2f0114[_0xe070cb(0x282)](_0x1b25f[_0xe070cb(0x4cd)],_0x101719[_0xe070cb(0x4cd)])}};},{})],_0x471219=(_0x19e2da=(_0x505026=_0xbc287e[_0x471213(0x3ba)]())==null?void 0x0:_0x505026[_0x471213(0x4dc)])!=null?_0x19e2da:_0x471213(0x2b5),_0x402644=(_0x9c9c35=(_0x729b51=_0xbc287e['getCurrentUser']())==null?void 0x0:_0x729b51[_0x471213(0x418)])!=null?_0x9c9c35:'unknown';return{'changeset':{'unitID':_0x42def3,'type':_0x1ee155(_0x3509c8['getUnitType'](_0x42def3)),'baseRev':_0x39658c[_0x471213(0x2cd)](_0x42def3),'revision':0x0,'userID':_0x471219,'memberID':_0x402644,'mutations':_0x2a250f},'pendingMutations':[]};}function Ui(_0x5222dd,_0x4b1814){const _0x2db9f3=_0x354c00,_0x39665d=new _0x133d1d(0x1);return setTimeout(()=>_0x39665d['next'](_0x4b1814),_0x5222dd),_0x39665d[_0x2db9f3(0x516)]()['pipe'](_0x491b6c(0x1));}const mo={'id':_0x5d1831['id'],'type':_0x1814f1['MUTATION'],'params':{}};var po=Object[_0x354c00(0x3cf)],go=Object[_0x354c00(0x20e)],Le=(_0x1b54e2,_0x556154,_0x499a46,_0xf3a23a)=>{for(var _0x22ecc3=_0xf3a23a>0x1?void 0x0:_0xf3a23a?go(_0x556154,_0x499a46):_0x556154,_0x4a0913=_0x1b54e2['length']-0x1,_0x32f49f;_0x4a0913>=0x0;_0x4a0913--)(_0x32f49f=_0x1b54e2[_0x4a0913])&&(_0x22ecc3=(_0xf3a23a?_0x32f49f(_0x556154,_0x499a46,_0x22ecc3):_0x32f49f(_0x22ecc3))||_0x22ecc3);return _0xf3a23a&&_0x22ecc3&&po(_0x556154,_0x499a46,_0x22ecc3),_0x22ecc3;},A=(_0x598b4c,_0x3355d8)=>(_0x304da3,_0x3fbd39)=>_0x3355d8(_0x304da3,_0x3fbd39,_0x598b4c),J=(_0x327679=>(_0x327679[_0x354c00(0x14e)]=_0x354c00(0x32f),_0x327679[_0x354c00(0x256)]='synced',_0x327679[_0x354c00(0x330)]=_0x354c00(0x3c9),_0x327679[_0x354c00(0x17a)]='awaiting',_0x327679[_0x354c00(0x1b2)]='awaiting_with_pending',_0x327679[_0x354c00(0x2d4)]=_0x354c00(0x18d),_0x327679[_0x354c00(0x517)]=_0x354c00(0x4a7),_0x327679[_0x354c00(0x4eb)]=_0x354c00(0x26e),_0x327679))(J||{});const Ni=0xea60;class $e{constructor(_0x47cdbe,_0x4b3245,_0x5436f8,_0x4bfd6f,_0x1500fe,_0x1f6eff,_0x33fa1d,_0x5e015d,_0x5483eb){const _0x6a954c=_0x354c00;g(this,_0x6a954c(0x277),null),g(this,_0x6a954c(0x25b),[]),(this[_0x6a954c(0x207)]=_0x47cdbe,this[_0x6a954c(0x260)]=_0x4b3245,this[_0x6a954c(0x21b)]=_0x1500fe,this[_0x6a954c(0x3fc)]=_0x1f6eff,this[_0x6a954c(0x38c)]=_0x33fa1d,this[_0x6a954c(0x46f)]=_0x5e015d,this[_0x6a954c(0x1e2)]=_0x5483eb,this['_awaitingChangeset']=_0x5436f8,this[_0x6a954c(0x25b)]=_0x4bfd6f);}['_checkMissing'](_0x52aff2){const _0x5497d5=_0x354c00,_0x49f881=this[_0x5497d5(0x46f)][_0x5497d5(0x2cd)](this[_0x5497d5(0x207)]);return _0x52aff2[_0x5497d5(0x3f6)]>_0x49f881+0x1?(this['_handler'][_0x5497d5(0x295)]({'from':_0x49f881,'to':_0x52aff2[_0x5497d5(0x3f6)]-0x1}),!0x0):!0x1;}[_0x354c00(0x16e)](_0x37cecb){const _0x2cefd0=_0x354c00;this['_undoRedoService']['transformUndoRedo'](this[_0x2cefd0(0x207)],_0x37cecb);}[_0x354c00(0x42c)](_0x373c12){const _0x3009aa=_0x354c00;var _0xef8774,_0x34b977;(_0x34b977=(_0xef8774=this[_0x3009aa(0x21b)])[_0x3009aa(0x47a)])==null||_0x34b977[_0x3009aa(0x1a6)](_0xef8774,_0x373c12);}[_0x354c00(0x4e7)](_0x1cfa4f){const _0x16e750=_0x354c00;var _0x3bdeb1,_0x58f46f;return(_0x58f46f=(_0x3bdeb1=this[_0x16e750(0x21b)])['onTransformIME'])==null?void 0x0:_0x58f46f[_0x16e750(0x1a6)](_0x3bdeb1,_0x1cfa4f);}[_0x354c00(0x504)](_0x3e6e72){const _0x29d918=_0x354c00;var _0x121588,_0x38693f;return(_0x38693f=(_0x121588=this['_handler'])[_0x29d918(0x2d3)])==null?void 0x0:_0x38693f[_0x29d918(0x1a6)](_0x121588,_0x3e6e72);}[_0x354c00(0x375)](_0x57916f){const _0x49869c=_0x354c00;var _0x3ef645,_0x4b5594,_0x9dd662;return(_0x9dd662=(_0x4b5594=(_0x3ef645=this[_0x49869c(0x21b)])[_0x49869c(0x2a9)])==null?void 0x0:_0x4b5594[_0x49869c(0x1a6)](_0x3ef645,_0x57916f))!=null?_0x9dd662:_0x57916f;}[_0x354c00(0x2e3)](_0x25ef71){const _0x2b1046=_0x354c00;var _0x5ca974,_0x15b5f1,_0x5dc99c;return(_0x5dc99c=(_0x15b5f1=(_0x5ca974=this[_0x2b1046(0x21b)])[_0x2b1046(0x2f5)])==null?void 0x0:_0x15b5f1[_0x2b1046(0x1a6)](_0x5ca974,_0x25ef71))!=null?_0x5dc99c:_0x25ef71;}['_syncEditingCollabCursor'](_0x514a7f){const _0x44e319=_0x354c00;var _0x23015e,_0x53e893;if(this[_0x44e319(0x260)]===ce[_0x44e319(0x461)]){const {unitID:_0x209425,mutations:_0x38e5a8,memberID:_0x476fb1}=_0x514a7f,_0x579558=_0x38e5a8[0x0]['params'][_0x44e319(0x1fd)];Array[_0x44e319(0x345)](_0x579558)&&_0x579558[_0x44e319(0x2a0)]>0x0&&((_0x53e893=(_0x23015e=this[_0x44e319(0x21b)])[_0x44e319(0x4ca)])==null||_0x53e893[_0x44e319(0x1a6)](_0x23015e,{'unitID':_0x209425,'memberID':_0x476fb1,'textRanges':_0x579558}));}}[_0x354c00(0x252)](){const _0x44d067=_0x354c00;this[_0x44d067(0x1e2)]['updateOfflineData'](this[_0x44d067(0x207)],this[_0x44d067(0x260)],this[_0x44d067(0x277)],this[_0x44d067(0x25b)]);}['_getCurrentRevision'](){const _0x4445f8=_0x354c00;return this[_0x4445f8(0x46f)][_0x4445f8(0x2cd)](this['unitID']);}['_incrementRevisionNumber'](){const _0x96a361=_0x354c00;this[_0x96a361(0x46f)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x1a11e4){const _0x29a790=_0x354c00;var _0x3367ba;let _0x4af735=this[_0x29a790(0x375)](_0x1a11e4);_0x4af735=this[_0x29a790(0x2e3)](_0x4af735);const _0x391605=_0x131a5d(_0x4af735[_0x29a790(0x24d)],this[_0x29a790(0x3fc)],{'fromCollab':!0x0});if(!_0x391605['result'])throw _0x391605[_0x29a790(0x2f1)]instanceof Error?_0x391605[_0x29a790(0x2f1)]:new Error((_0x3367ba=_0x391605[_0x29a790(0x2f1)])!=null?_0x3367ba:_0x29a790(0x2a8));this['_transformIMECache'](_0x4af735),this['_transformStateCache'](_0x4af735),this[_0x29a790(0x16e)](_0x1a11e4),this['_transformSelections'](_0x4af735),this['_syncEditingCollabCursor'](_0x4af735),this[_0x29a790(0x48c)]();}}let Fe=class extends $e{constructor(_0x573f91,_0xf61b26,_0x306829,_0xc5030f,_0x3c4e8c,_0x1fd2a8,_0x348283,_0x15d2b2,_0x27dad0,_0x21c666){const _0x4ce946=_0x354c00;super(_0x573f91,_0xf61b26,null,[],_0x306829,_0x15d2b2,_0x348283,_0xc5030f,_0x3c4e8c),g(this,'status',_0x4ce946(0x4f4)),(this[_0x4ce946(0x199)]=_0x1fd2a8,this[_0x4ce946(0x3b6)]=_0x27dad0,this[_0x4ce946(0x329)]=_0x21c666);}[_0x354c00(0x4c1)](_0x2703ea){const _0x236196=_0x354c00,_0x12ee69=this[_0x236196(0x199)]['createInstance'](pe,this['unitID'],this['type'],[_0x2703ea],this[_0x236196(0x21b)]);return _0x12ee69['_schedule'](),_0x12ee69[_0x236196(0x252)](),_0x12ee69;}[_0x354c00(0x4a9)](_0x3f14b0){const _0x33467b=_0x354c00;if(this['_checkMissing'](_0x3f14b0))return this[_0x33467b(0x199)][_0x33467b(0x348)](he,this['unitID'],this['type'],null,[],null,[_0x3f14b0],this[_0x33467b(0x21b)]);try{const _0x3c1355=this[_0x33467b(0x329)][_0x33467b(0x219)](_0x3f14b0,[mo]);if(_0x295e25(_0x3c1355)){const {c1Prime:_0x5aa5e8}=_0x3c1355;return this['_executeRemoteChangeset'](_0x5aa5e8),this;}throw _0x3c1355[_0x33467b(0x2f1)];}catch(_0x27fe0d){return this[_0x33467b(0x3b6)][_0x33467b(0x2f1)](_0x27fe0d),this[_0x33467b(0x4b1)](!0x1);}}[_0x354c00(0x4b1)](_0x2de70a){const _0x35409a=_0x354c00;return this['_injector'][_0x35409a(0x348)](Re,this[_0x35409a(0x207)],this[_0x35409a(0x260)],null,[],this[_0x35409a(0x21b)],_0x2de70a);}['onRemoteAck'](){const _0x4390b6=_0x354c00;throw new Error(_0x4390b6(0x40a));}[_0x354c00(0x47c)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x354c00(0x393)](){return this;}[_0x354c00(0x446)](){const _0x32f22c=_0x354c00;return this[_0x32f22c(0x199)][_0x32f22c(0x348)](ye,this['unitID'],this['type'],null,[],this[_0x32f22c(0x21b)]);}[_0x354c00(0x404)](){return this;}['resend'](){const _0x3d8248=_0x354c00;throw new Error(_0x3d8248(0x49e));}[_0x354c00(0x2cc)](){const _0x3048b4=_0x354c00,_0x3fb0c0=this[_0x3048b4(0x46f)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x3048b4(0x21b)]['onMissingChangesets']({'from':_0x3fb0c0,'to':0x0}),this[_0x3048b4(0x199)][_0x3048b4(0x348)](he,this[_0x3048b4(0x207)],this[_0x3048b4(0x260)],null,[],null,[],this[_0x3048b4(0x21b)]);}};Fe=Le([A(0x3,_0x1727eb(_0x27820f)),A(0x4,_0x1727eb(q)),A(0x5,_0x1727eb(_0x5d0612)),A(0x6,_0x107280),A(0x7,_0xfbfaad),A(0x8,_0x3b4016),A(0x9,_0xe30adb)],Fe);let pe=class extends $e{constructor(_0x3e865a,_0x1f53e4,_0x4c81ca,_0x48e9f,_0x4ae49b,_0x3857e5,_0x2d6616,_0x3144fc,_0x558543,_0x5384a2,_0x593350,_0x4918ef,_0x5ab4dc,_0x212b97){const _0x1287d6=_0x354c00;super(_0x3e865a,_0x1f53e4,null,_0x4c81ca,_0x48e9f,_0x5384a2,_0x212b97,_0x3857e5,_0x2d6616),g(this,_0x1287d6(0x15a),_0x1287d6(0x3c9)),g(this,_0x1287d6(0x171),null),g(this,'_sendingTimer',null),(this[_0x1287d6(0x199)]=_0x4ae49b,this[_0x1287d6(0x390)]=_0x3144fc,this[_0x1287d6(0x3b6)]=_0x558543,this[_0x1287d6(0x53b)]=_0x593350,this[_0x1287d6(0x329)]=_0x4918ef,this[_0x1287d6(0x429)]=_0x5ab4dc);}[_0x354c00(0x4c1)](_0x309416){const _0x7f2d78=_0x354c00;return this[_0x7f2d78(0x25b)][_0x7f2d78(0x301)](_0x309416),this[_0x7f2d78(0x252)](),this;}[_0x354c00(0x4a9)](_0x2fedfe){const _0x491e06=_0x354c00;if(this[_0x491e06(0x30e)](_0x2fedfe))return this['_clearScheduledTask'](),this[_0x491e06(0x199)]['createInstance'](he,this[_0x491e06(0x207)],this[_0x491e06(0x260)],null,this[_0x491e06(0x25b)],null,[_0x2fedfe],this[_0x491e06(0x21b)]);try{const _0x1ef1a9=this['_transformService']['transformMutationsWithChangeset'](_0x2fedfe,this[_0x491e06(0x25b)]);if(_0x295e25(_0x1ef1a9)){const {c1Prime:_0x1de50e,m2Prime:_0x422157}=_0x1ef1a9;this[_0x491e06(0x1ac)](_0x1de50e);const _0x4cffc5=this['_injector'][_0x491e06(0x348)](pe,this[_0x491e06(0x207)],this[_0x491e06(0x260)],_0x422157,this['_handler']);return this[_0x491e06(0x3eb)](),_0x4cffc5[_0x491e06(0x3fb)](this['_scheduleTimestamp']?Math[_0x491e06(0x362)](0x0,new Date()['getTime']()-this[_0x491e06(0x171)]):this['_getSendChangesetTimeout']()),_0x4cffc5;}throw _0x1ef1a9[_0x491e06(0x2f1)];}catch(_0x5c7ab5){return this['_logService'][_0x491e06(0x2f1)](_0x5c7ab5),this[_0x491e06(0x4b1)](!0x1);}}[_0x354c00(0x522)](){const _0xe4a30=_0x354c00;throw new Error(_0xe4a30(0x51c));}[_0x354c00(0x47c)](){const _0x3a771c=_0x354c00;throw new Error(_0x3a771c(0x27d));}[_0x354c00(0x393)](){return this;}['toggleOffline'](){const _0x179fab=_0x354c00;return this[_0x179fab(0x3eb)](),this[_0x179fab(0x199)][_0x179fab(0x348)](ye,this[_0x179fab(0x207)],this[_0x179fab(0x260)],null,this['_pendingMutations'],this['_handler']);}[_0x354c00(0x404)](){return this;}[_0x354c00(0x3fb)](_0x34289c){const _0x359819=_0x354c00,_0x440541=_0x34289c!=null?_0x34289c:this[_0x359819(0x204)]();this['_scheduleTimestamp']=new Date()['getTime'](),this['_sendingTimer']=window[_0x359819(0x510)](()=>{const _0x17f4cd=_0x359819;this[_0x17f4cd(0x3eb)]();let _0x23a006=null;switch(this[_0x17f4cd(0x260)]){case ce[_0x17f4cd(0x1c5)]:{_0x23a006=Vs(this[_0x17f4cd(0x25b)],this['unitID'],this[_0x17f4cd(0x429)],this[_0x17f4cd(0x46f)],this[_0x17f4cd(0x390)]);break;}case ce[_0x17f4cd(0x461)]:{this[_0x17f4cd(0x25b)]['every'](_0x148497=>_0x148497['id']===_0x2e83de['id'])?_0x23a006=vo(this[_0x17f4cd(0x25b)],this['unitID'],this[_0x17f4cd(0x429)],this[_0x17f4cd(0x46f)],this['_memberService']):_0x23a006=Vs(this[_0x17f4cd(0x25b)],this[_0x17f4cd(0x207)],this[_0x17f4cd(0x429)],this[_0x17f4cd(0x46f)],this['_memberService']);break;}default:throw new Error(_0x17f4cd(0x249)+this[_0x17f4cd(0x260)]+_0x17f4cd(0x542));}const {changeset:_0x5008c7,pendingMutations:_0x13d0d2}=_0x23a006;this[_0x17f4cd(0x21b)][_0x17f4cd(0x47e)](_0x5008c7);const _0x496f28=_0x13d0d2['length']?this[_0x17f4cd(0x199)][_0x17f4cd(0x348)](ge,this[_0x17f4cd(0x207)],this['type'],_0x5008c7,_0x13d0d2,this[_0x17f4cd(0x21b)],void 0x0):this['_injector'][_0x17f4cd(0x348)](Te,this[_0x17f4cd(0x207)],this[_0x17f4cd(0x260)],_0x5008c7,this[_0x17f4cd(0x21b)]);_0x496f28[_0x17f4cd(0x252)](),this[_0x17f4cd(0x21b)]['onStateChange'](this,_0x496f28);},_0x440541);}[_0x354c00(0x204)](){const _0x314ddd=_0x354c00;var _0x396eba;const _0x6531cf=this['_configService']['getConfig'](ie);return(_0x396eba=_0x6531cf==null?void 0x0:_0x6531cf[_0x314ddd(0x4f5)])!=null?_0x396eba:_r;}[_0x354c00(0x1c9)](){const _0x78c2cb=_0x354c00;throw new Error(_0x78c2cb(0x1bb));}['_clearScheduledTask'](){const _0x4fc203=_0x354c00;this[_0x4fc203(0x200)]!=null&&(clearTimeout(this[_0x4fc203(0x200)]),this[_0x4fc203(0x200)]=null);}[_0x354c00(0x4b1)](_0xfc95fa){const _0xe8781c=_0x354c00;return this[_0xe8781c(0x3eb)](),this[_0xe8781c(0x199)][_0xe8781c(0x348)](Re,this[_0xe8781c(0x207)],this[_0xe8781c(0x260)],null,this[_0xe8781c(0x25b)],this[_0xe8781c(0x21b)],_0xfc95fa);}};pe=Le([A(0x4,_0x1727eb(_0x5d0612)),A(0x5,_0x1727eb(_0x27820f)),A(0x6,_0x1727eb(q)),A(0x7,_0x1727eb(Ne)),A(0x8,_0x3b4016),A(0x9,_0xfbfaad),A(0xa,_0x250a8d),A(0xb,_0xe30adb),A(0xc,_0x48d976),A(0xd,_0x107280)],pe);let Te=class extends $e{constructor(_0x50de1a,_0x3d1ef6,_0x120b5e,_0x1f9e0f,_0x7c4c43,_0x4371ca,_0xf9723b,_0x38d8a7,_0x156467,_0x2e1992,_0x3190f1){const _0x103e2f=_0x354c00;super(_0x50de1a,_0x3d1ef6,_0x120b5e,[],_0x1f9e0f,_0x38d8a7,_0x3190f1,_0x4371ca,_0xf9723b),g(this,_0x103e2f(0x15a),_0x103e2f(0x340)),g(this,_0x103e2f(0x502),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this['_injector']=_0x7c4c43,this[_0x103e2f(0x3b6)]=_0x156467,this[_0x103e2f(0x329)]=_0x2e1992);}['appendMutation'](_0x118c06){const _0x192cc4=_0x354c00;this[_0x192cc4(0x3eb)]();const _0x41ecc8=this['_injector'][_0x192cc4(0x348)](ge,this[_0x192cc4(0x207)],this[_0x192cc4(0x260)],this[_0x192cc4(0x277)],[_0x118c06],this[_0x192cc4(0x21b)],this['_resendTimer']);return _0x41ecc8['_updateLocalCache'](),_0x41ecc8;}[_0x354c00(0x4a9)](_0x157745){const _0x4a5ea0=_0x354c00;if(this[_0x4a5ea0(0x30e)](_0x157745))return this['_clearScheduledTask'](),this[_0x4a5ea0(0x199)][_0x4a5ea0(0x348)](he,this[_0x4a5ea0(0x207)],this[_0x4a5ea0(0x260)],this['_awaitingChangeset'],[],null,[_0x157745],this[_0x4a5ea0(0x21b)]);try{const _0x5dc81e=this[_0x4a5ea0(0x329)][_0x4a5ea0(0x18c)]([_0x157745],[this['_awaitingChangeset']],!0x1);if(_0x2a9c67(_0x5dc81e)){const {c1Prime:_0x3e2193,c2Prime:_0x14c9ab}=_0x5dc81e;this[_0x4a5ea0(0x1ac)](_0x3e2193[0x0]),_0x14c9ab[0x0][_0x4a5ea0(0x294)]=this[_0x4a5ea0(0x275)](),this[_0x4a5ea0(0x3eb)]();const _0x385605=this[_0x4a5ea0(0x199)][_0x4a5ea0(0x348)](Te,this[_0x4a5ea0(0x207)],this[_0x4a5ea0(0x260)],_0x14c9ab[0x0],this[_0x4a5ea0(0x21b)]);return _0x385605[_0x4a5ea0(0x252)](),_0x385605;}return this[_0x4a5ea0(0x4b1)](!0x1);}catch(_0x3f9a4d){return this[_0x4a5ea0(0x3b6)]['error'](_0x3f9a4d),this['_onConflict'](!0x1);}}[_0x354c00(0x522)](_0xfecb55){const _0x420682=_0x354c00;this[_0x420682(0x3eb)]();const _0x20992a=this[_0x420682(0x46f)][_0x420682(0x2cd)](this[_0x420682(0x207)]);if(_0xfecb55['revision']<_0x20992a-0x1)return this;if(this['_checkMissing'](_0xfecb55))return this[_0x420682(0x199)][_0x420682(0x348)](he,this[_0x420682(0x207)],this[_0x420682(0x260)],null,[],this[_0x420682(0x277)],[],this[_0x420682(0x21b)]);this[_0x420682(0x48c)]();const _0x38ddbe=this[_0x420682(0x199)][_0x420682(0x348)](Fe,this[_0x420682(0x207)],this[_0x420682(0x260)],this[_0x420682(0x21b)]);return _0x38ddbe['_updateLocalCache'](),_0x38ddbe;}[_0x354c00(0x47c)](_0x420ad7){const _0x210221=_0x354c00;return this[_0x210221(0x4b1)](!!(_0x420ad7!=null&&_0x420ad7[_0x210221(0x264)]));}[_0x354c00(0x393)](_0x28890f){const _0x5d819c=_0x354c00;return this[_0x5d819c(0x502)]>Ni?this['toggleOffline']():(this[_0x5d819c(0x470)]=Ui(this[_0x5d819c(0x502)],{'timeout':this[_0x5d819c(0x502)],'reqId':_0x28890f[_0x5d819c(0x4d3)]}),this[_0x5d819c(0x54a)]=this['_resendTimer'][_0x5d819c(0x51f)](({reqId:_0x3d5a5b,timeout:_0x1fd582})=>{this['_resendWithTimeout'](_0x3d5a5b,_0x1fd582);}),this);}['toggleOffline'](){const _0x42ed4a=_0x354c00;return this[_0x42ed4a(0x3eb)](),this[_0x42ed4a(0x199)]['createInstance'](ye,this[_0x42ed4a(0x207)],this[_0x42ed4a(0x260)],this[_0x42ed4a(0x277)],[],this['_handler']);}[_0x354c00(0x404)](){return this;}[_0x354c00(0x1c9)](){const _0x52024c=_0x354c00;this[_0x52024c(0x21b)][_0x52024c(0x47e)](this[_0x52024c(0x277)]);}[_0x354c00(0x4b1)](_0x34b2d5){const _0x39cc49=_0x354c00;return this[_0x39cc49(0x3eb)](),this[_0x39cc49(0x199)]['createInstance'](Re,this[_0x39cc49(0x207)],this[_0x39cc49(0x260)],this[_0x39cc49(0x277)],[],this['_handler'],_0x34b2d5);}[_0x354c00(0x227)](_0x25ea07,_0x5eb153){const _0x266ce2=_0x354c00;var _0x4b488e;_0x25ea07===((_0x4b488e=this['_awaitingChangeset'])==null?void 0x0:_0x4b488e[_0x266ce2(0x4d3)])&&(this[_0x266ce2(0x1c9)](),this[_0x266ce2(0x502)]=_0x5eb153===0x0?0x3e8:_0x5eb153*0x2);}[_0x354c00(0x3eb)](){const _0x5e35dd=_0x354c00;var _0x1f401a;(_0x1f401a=this['_sender'])==null||_0x1f401a[_0x5e35dd(0x4fa)](),this[_0x5e35dd(0x502)]=0x0;}};Te=Le([A(0x4,_0x1727eb(_0x5d0612)),A(0x5,_0x1727eb(_0x27820f)),A(0x6,_0x1727eb(q)),A(0x7,_0xfbfaad),A(0x8,_0x3b4016),A(0x9,_0xe30adb),A(0xa,_0x107280)],Te);let ge=class extends $e{constructor(_0x2362b3,_0x113175,_0x23ccc3,_0x240f36,_0x39dc6f,_0x3dda0b,_0x11574f,_0x5c86ea,_0x377a24,_0x4292bc,_0x4be3a8,_0x2afafa,_0xacb728){const _0x5a439c=_0x354c00;super(_0x2362b3,_0x113175,_0x23ccc3,_0x240f36,_0x39dc6f,_0x4292bc,_0xacb728,_0x5c86ea,_0x377a24),g(this,'status',_0x5a439c(0x491)),g(this,_0x5a439c(0x502),0x0),g(this,_0x5a439c(0x470)),g(this,_0x5a439c(0x54a)),(this['_injector']=_0x11574f,this[_0x5a439c(0x3b6)]=_0x4be3a8,this[_0x5a439c(0x329)]=_0x2afafa,_0x3dda0b&&(this[_0x5a439c(0x470)]=_0x3dda0b,this[_0x5a439c(0x54a)]=this[_0x5a439c(0x470)][_0x5a439c(0x51f)](({reqId:_0x535ad2,timeout:_0x3361c8})=>{this['_resendWithTimeout'](_0x535ad2,_0x3361c8);})));}[_0x354c00(0x4c1)](_0x21e964){const _0x1e460d=_0x354c00;return this[_0x1e460d(0x25b)][_0x1e460d(0x301)](_0x21e964),this;}[_0x354c00(0x4a9)](_0x4b0778){const _0x38577e=_0x354c00;if(this[_0x38577e(0x30e)](_0x4b0778))return this['_clearScheduledTask'](),this[_0x38577e(0x199)]['createInstance'](he,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x38577e(0x25b)],null,[_0x4b0778],this[_0x38577e(0x21b)]);try{const _0x5aea74=this[_0x38577e(0x329)][_0x38577e(0x18c)]([_0x4b0778],[this['_awaitingChangeset']],!0x1);if(_0x2a9c67(_0x5aea74)){const {c1Prime:_0x4e2836,c2Prime:_0x57cc85}=_0x5aea74,_0x2cd4f8=this[_0x38577e(0x329)][_0x38577e(0x219)](_0x4e2836[0x0],this[_0x38577e(0x25b)]);if(_0x295e25(_0x2cd4f8)){const {c1Prime:_0x1fe811,m2Prime:_0x4da783}=_0x2cd4f8;return this[_0x38577e(0x1ac)](_0x1fe811),_0x57cc85[0x0][_0x38577e(0x294)]=this[_0x38577e(0x275)](),this[_0x38577e(0x3eb)](),this[_0x38577e(0x199)][_0x38577e(0x348)](ge,this['unitID'],this[_0x38577e(0x260)],_0x57cc85[0x0],_0x4da783,this[_0x38577e(0x21b)],void 0x0);}throw _0x2cd4f8[_0x38577e(0x2f1)];}throw _0x5aea74[_0x38577e(0x2f1)];}catch(_0x4a9255){return this['_logService'][_0x38577e(0x2f1)](_0x4a9255),this[_0x38577e(0x4b1)](!0x1);}}[_0x354c00(0x522)](_0x8a5deb){const _0x177b63=_0x354c00;if(this['_clearScheduledTask'](),this[_0x177b63(0x30e)](_0x8a5deb))return this[_0x177b63(0x199)][_0x177b63(0x348)](he,this[_0x177b63(0x207)],this['type'],null,this[_0x177b63(0x25b)],this[_0x177b63(0x277)],[],this['_handler']);this[_0x177b63(0x48c)]();const _0x19c40a=this['_injector']['createInstance'](pe,this[_0x177b63(0x207)],this[_0x177b63(0x260)],this[_0x177b63(0x25b)],this[_0x177b63(0x21b)]);return _0x19c40a[_0x177b63(0x3fb)](),_0x19c40a[_0x177b63(0x252)](),_0x19c40a;}[_0x354c00(0x47c)](_0x1a33d1){const _0x283d57=_0x354c00;return this[_0x283d57(0x4b1)](!!(_0x1a33d1!=null&&_0x1a33d1[_0x283d57(0x264)]));}[_0x354c00(0x393)](_0x12d96f){const _0x43755b=_0x354c00;return this[_0x43755b(0x502)]>Ni?this[_0x43755b(0x446)]():(this[_0x43755b(0x470)]=Ui(this[_0x43755b(0x502)],{'timeout':this[_0x43755b(0x502)],'reqId':_0x12d96f[_0x43755b(0x4d3)]}),this[_0x43755b(0x54a)]=this[_0x43755b(0x470)][_0x43755b(0x51f)](({reqId:_0x3da336,timeout:_0x3404be})=>{const _0xb155ef=_0x43755b;this[_0xb155ef(0x227)](_0x3da336,_0x3404be);}),this);}[_0x354c00(0x446)](){const _0x2f47c3=_0x354c00;return this['_clearScheduledTask'](),this[_0x2f47c3(0x199)][_0x2f47c3(0x348)](ye,this[_0x2f47c3(0x207)],this[_0x2f47c3(0x260)],this[_0x2f47c3(0x277)],this['_pendingMutations'],this[_0x2f47c3(0x21b)]);}[_0x354c00(0x404)](){return this;}[_0x354c00(0x1c9)](){const _0x57e3a8=_0x354c00;this[_0x57e3a8(0x21b)][_0x57e3a8(0x47e)](this['_awaitingChangeset']);}[_0x354c00(0x4b1)](_0x58549c){const _0x44c5ce=_0x354c00;return this['_clearScheduledTask'](),this['_injector'][_0x44c5ce(0x348)](Re,this['unitID'],this[_0x44c5ce(0x260)],null,this[_0x44c5ce(0x25b)],this[_0x44c5ce(0x21b)],_0x58549c);}[_0x354c00(0x227)](_0x2fc367,_0x52a400){const _0x2b02f9=_0x354c00;var _0x45fef8;_0x2fc367===((_0x45fef8=this[_0x2b02f9(0x277)])==null?void 0x0:_0x45fef8[_0x2b02f9(0x4d3)])&&(this['resend'](),this['_resendTimeout']=_0x52a400===0x0?0x3e8:_0x52a400*0x2);}['_clearScheduledTask'](){const _0x3aa1f6=_0x354c00;var _0x3af59c;(_0x3af59c=this[_0x3aa1f6(0x54a)])==null||_0x3af59c[_0x3aa1f6(0x4fa)](),this[_0x3aa1f6(0x502)]=0x0;}};ge=Le([A(0x6,_0x1727eb(_0x5d0612)),A(0x7,_0x1727eb(_0x27820f)),A(0x8,_0x1727eb(q)),A(0x9,_0xfbfaad),A(0xa,_0x3b4016),A(0xb,_0xe30adb),A(0xc,_0x107280)],ge);let Re=class extends $e{constructor(_0x462433,_0x4f2f2c,_0x2aea58,_0x49b27d,_0x5d45cb,_0x534d2a=!0x1,_0x568444,_0x8046f9,_0x5b7781,_0x166059,_0x1ad7bb,_0x4af8b5,_0x5002c6){const _0x384468=_0x354c00;super(_0x462433,_0x4f2f2c,_0x2aea58,_0x49b27d,_0x5d45cb,_0x8046f9,_0x5b7781,_0x1ad7bb,_0x166059),g(this,_0x384468(0x15a),_0x384468(0x4a7)),(this[_0x384468(0x176)]=_0x534d2a,this['_permissionService']=_0x568444,this['_localeService']=_0x4af8b5,this[_0x384468(0x415)]=_0x5002c6,this['_showConflictNotification'](),this[_0x384468(0x2ca)](),this[_0x384468(0x44f)]());}[_0x354c00(0x4c1)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0x354c00(0x47c)](){return this;}[_0x354c00(0x393)](){return this;}[_0x354c00(0x446)](){return this;}[_0x354c00(0x404)](){return this;}[_0x354c00(0x1c9)](){const _0x591544=_0x354c00;throw new Error(_0x591544(0x2cb));}['_clearLocalCache'](){const _0x3ebf7d=_0x354c00;this['_localCacheService']['updateOfflineData'](this[_0x3ebf7d(0x207)],this[_0x3ebf7d(0x260)],null,[]);}[_0x354c00(0x1c3)](){const _0x3eab8a=_0x354c00;this['_isPermissionRej']?this['_notificationService'][_0x3eab8a(0x24e)]({'title':this[_0x3eab8a(0x31f)]['t']('permission.title'),'content':this[_0x3eab8a(0x31f)]['t'](_0x3eab8a(0x28b)),'type':'error','duration':0x0}):this[_0x3eab8a(0x415)]['show']({'title':this[_0x3eab8a(0x31f)]['t']('conflict.title'),'content':this['_localeService']['t'](_0x3eab8a(0x182)),'type':_0x3eab8a(0x2f1),'duration':0x0});}[_0x354c00(0x44f)](){const _0x50a364=_0x354c00;this['_permissionService'][_0x50a364(0x4a2)](new _0x18c2b1(this[_0x50a364(0x207)])['id'],!0x1);}};Re=Le([A(0x6,_0x1727eb(_0x121e54)),A(0x7,_0xfbfaad),A(0x8,_0x107280),A(0x9,_0x1727eb(q)),A(0xa,_0x1727eb(_0x27820f)),A(0xb,_0x1727eb(_0x382d24)),A(0xc,_0x49927c)],Re);let ye=class extends $e{constructor(_0x17bdc2,_0x4a369d,_0x1febab,_0xc38308,_0x124d8c,_0x18cf68,_0x3aba68,_0x5d1a6f,_0x2bee85,_0xfa7bed){const _0x5012dc=_0x354c00;super(_0x17bdc2,_0x4a369d,_0x1febab,_0xc38308,_0x124d8c,_0x2bee85,_0xfa7bed,_0x3aba68,_0x5d1a6f),g(this,_0x5012dc(0x15a),_0x5012dc(0x26e)),this[_0x5012dc(0x199)]=_0x18cf68;}[_0x354c00(0x4c1)](_0x46d1a){const _0x9c766f=_0x354c00;return this[_0x9c766f(0x25b)]['push'](_0x46d1a),this[_0x9c766f(0x252)](),this;}[_0x354c00(0x4a9)](_0x59c773){const _0x51c204=_0x354c00;throw new Error(_0x51c204(0x1a7));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x354c00(0x47c)](){const _0x3cf362=_0x354c00;throw new Error(_0x3cf362(0x218));}[_0x354c00(0x393)](){return this;}[_0x354c00(0x446)](){return this;}['toggleOnline'](){const _0x432155=_0x354c00,{_injector:_0x17c8db,_pendingMutations:_0x22c046,_awaitingChangeset:_0x41efef,unitID:_0xfbe463,_handler:_0x5019a4,type:_0x59d9f2}=this,_0x87f86=Ai(_0x17c8db,_0xfbe463,_0x59d9f2,_0x41efef,_0x22c046,_0x5019a4);return _0x87f86 instanceof pe?_0x87f86['_schedule']():(_0x87f86 instanceof ge||_0x87f86 instanceof Te)&&_0x87f86[_0x432155(0x1c9)](),_0x87f86;}[_0x354c00(0x1c9)](){const _0x209901=_0x354c00;throw new Error(_0x209901(0x233));}};ye=Le([A(0x5,_0x1727eb(_0x5d0612)),A(0x6,_0x1727eb(_0x27820f)),A(0x7,_0x1727eb(q)),A(0x8,_0xfbfaad),A(0x9,_0x107280)],ye);let he=class extends $e{constructor(_0x2ccc92,_0x172273,_0x5c0531,_0x5c72ec,_0x239c12,_0x19277d,_0x5a4c41,_0x3a112b,_0x4c769c,_0x29b162,_0x2f6dd0,_0x434b76,_0x497463,_0x380b2d){const _0x5f18c3=_0x354c00;super(_0x2ccc92,_0x172273,_0x5c0531,_0x5c72ec,_0x5a4c41,_0x434b76,_0x497463,_0x4c769c,_0x29b162),g(this,_0x5f18c3(0x15a),_0x5f18c3(0x18d)),(this[_0x5f18c3(0x366)]=_0x239c12,this[_0x5f18c3(0x1ba)]=_0x19277d,this[_0x5f18c3(0x199)]=_0x3a112b,this[_0x5f18c3(0x3b6)]=_0x2f6dd0,this[_0x5f18c3(0x329)]=_0x380b2d);}[_0x354c00(0x265)](_0x4edb6a){const _0x1de83b=_0x354c00;try{const _0x2fddd6=[..._0x4edb6a,...this[_0x1de83b(0x1ba)]],_0x157c22=[this[_0x1de83b(0x277)]||this[_0x1de83b(0x366)]][_0x1de83b(0x2bb)](_0x42a996=>!!_0x42a996);let _0xd6ac59,_0x22ea60;if(_0x157c22[_0x1de83b(0x2a0)]){const _0x115182=this['_transformService']['transformChangesets'](_0x2fddd6,_0x157c22,!0x1);if(!_0x2a9c67(_0x115182))throw _0x115182[_0x1de83b(0x2f1)];_0xd6ac59=_0x115182['c1Prime'],_0x22ea60=_0x115182['c2Prime'];}else _0xd6ac59=_0x2fddd6,_0x22ea60=[];let _0x31c013=this[_0x1de83b(0x25b)];_0xd6ac59[_0x1de83b(0x3f0)](_0x4fb5ad=>{const _0x1d4a0c=_0x1de83b;let _0x420f9e;if(_0x31c013[_0x1d4a0c(0x2a0)]){const _0x2d78d6=this['_transformService'][_0x1d4a0c(0x219)](_0x4fb5ad,_0x31c013);if(!_0x295e25(_0x2d78d6))throw _0x2d78d6[_0x1d4a0c(0x2f1)];_0x420f9e=_0x2d78d6['c1Prime'],_0x31c013=_0x2d78d6[_0x1d4a0c(0x1b1)];}else _0x420f9e=_0x4fb5ad;this[_0x1d4a0c(0x1ac)](_0x420f9e);}),this[_0x1de83b(0x366)]&&this[_0x1de83b(0x48c)](),this[_0x1de83b(0x277)]&&_0x22ea60[_0x1de83b(0x2a0)]&&(_0x22ea60[0x0][_0x1de83b(0x294)]=this[_0x1de83b(0x275)]());let _0x1bff45;if(this[_0x1de83b(0x277)]&&_0x31c013[_0x1de83b(0x2a0)]!==0x0)_0x1bff45=this[_0x1de83b(0x199)][_0x1de83b(0x348)](ge,this['unitID'],this[_0x1de83b(0x260)],_0x22ea60[0x0],_0x31c013,this[_0x1de83b(0x21b)],void 0x0);else{if(this[_0x1de83b(0x277)]&&_0x31c013['length']===0x0)_0x22ea60[0x0][_0x1de83b(0x294)]=this[_0x1de83b(0x275)](),_0x1bff45=this[_0x1de83b(0x199)][_0x1de83b(0x348)](Te,this[_0x1de83b(0x207)],this['type'],_0x22ea60[0x0],this['_handler']);else{if(_0x31c013[_0x1de83b(0x2a0)]!==0x0){const _0x2d271c=this[_0x1de83b(0x199)][_0x1de83b(0x348)](pe,this[_0x1de83b(0x207)],this[_0x1de83b(0x260)],_0x31c013,this[_0x1de83b(0x21b)]);_0x2d271c[_0x1de83b(0x3fb)](),_0x1bff45=_0x2d271c;}else _0x1bff45=this[_0x1de83b(0x199)][_0x1de83b(0x348)](Fe,this[_0x1de83b(0x207)],this['type'],this[_0x1de83b(0x21b)]);}}return _0x1bff45[_0x1de83b(0x252)](),_0x1bff45;}catch(_0x29717b){return this['_logService'][_0x1de83b(0x2f1)](_0x1de83b(0x4d6),_0x1de83b(0x530),_0x29717b),this[_0x1de83b(0x199)][_0x1de83b(0x348)](Re,this['unitID'],this[_0x1de83b(0x260)],this[_0x1de83b(0x277)],this['_pendingMutations'],this[_0x1de83b(0x21b)],!0x1);}}['resend'](){const _0x51b5a3=_0x354c00;throw new Error(_0x51b5a3(0x557));}[_0x354c00(0x4c1)](_0x1bd384){const _0x1a2046=_0x354c00;return this['_pendingMutations'][_0x1a2046(0x301)](_0x1bd384),this;}[_0x354c00(0x4a9)](_0x2aa0d9){const _0x4a6878=_0x354c00;return this[_0x4a6878(0x1ba)]['push'](_0x2aa0d9),this;}[_0x354c00(0x522)](_0x1f4023){const _0x6e467=_0x354c00;if(this[_0x6e467(0x277)])return this[_0x6e467(0x366)]=this[_0x6e467(0x277)],this[_0x6e467(0x277)]=null,this;throw new Error(_0x6e467(0x458));}[_0x354c00(0x47c)](_0x2137e2){const _0x175e52=_0x354c00;return this[_0x175e52(0x4b1)](!!(_0x2137e2!=null&&_0x2137e2[_0x175e52(0x264)]));}[_0x354c00(0x393)](){return this;}[_0x354c00(0x446)](){const _0x31386b=_0x354c00;return this[_0x31386b(0x199)][_0x31386b(0x348)](ye,this[_0x31386b(0x207)],this[_0x31386b(0x260)],this[_0x31386b(0x277)],this['_pendingMutations'],this[_0x31386b(0x21b)]);}[_0x354c00(0x404)](){return this;}[_0x354c00(0x4b1)](_0x7a3d61){const _0x6d0bb0=_0x354c00;return this[_0x6d0bb0(0x199)][_0x6d0bb0(0x348)](Re,this[_0x6d0bb0(0x207)],this[_0x6d0bb0(0x260)],this[_0x6d0bb0(0x277)],this[_0x6d0bb0(0x25b)],this['_handler'],_0x7a3d61);}};he=Le([A(0x7,_0x1727eb(_0x5d0612)),A(0x8,_0x1727eb(_0x27820f)),A(0x9,_0x1727eb(q)),A(0xa,_0x3b4016),A(0xb,_0xfbfaad),A(0xc,_0x107280),A(0xd,_0xe30adb)],he);function Ai(_0xf1d960,_0x35e607,_0x5b1d30,_0x5b047e,_0x455130,_0x401483){const _0x347f3c=_0x354c00;return _0x5b047e&&_0x455130[_0x347f3c(0x2a0)]?_0xf1d960[_0x347f3c(0x348)](ge,_0x35e607,_0x5b1d30,_0x5b047e,_0x455130,_0x401483,void 0x0):_0x5b047e?_0xf1d960['createInstance'](Te,_0x35e607,_0x5b1d30,_0x5b047e,_0x401483):_0x455130['length']?_0xf1d960[_0x347f3c(0x348)](pe,_0x35e607,_0x5b1d30,_0x455130,_0x401483):_0xf1d960[_0x347f3c(0x348)](Fe,_0x35e607,_0x5b1d30,_0x401483);}var So=Object[_0x354c00(0x3cf)],Io=Object[_0x354c00(0x20e)],Es=(_0x18eae4,_0x356596,_0x4e2ad6,_0x3ecd4f)=>{for(var _0x25089a=_0x3ecd4f>0x1?void 0x0:_0x3ecd4f?Io(_0x356596,_0x4e2ad6):_0x356596,_0x44776e=_0x18eae4['length']-0x1,_0x473008;_0x44776e>=0x0;_0x44776e--)(_0x473008=_0x18eae4[_0x44776e])&&(_0x25089a=(_0x3ecd4f?_0x473008(_0x356596,_0x4e2ad6,_0x25089a):_0x473008(_0x25089a))||_0x25089a);return _0x3ecd4f&&_0x25089a&&So(_0x356596,_0x4e2ad6,_0x25089a),_0x25089a;},H=(_0x193850,_0x21ce86)=>(_0x26374b,_0x359c8a)=>_0x21ce86(_0x26374b,_0x359c8a,_0x193850);let gt=class extends _0x1bd493{constructor(_0x327605,_0xd281a,_0x119bbf,_0x4221ef,_0x5417d5,_0x575c15,_0x3b2d76,_0x1f7d56,_0x69ce3b,_0x884b7b,_0x352ce3,_0x2a8f35,_0x24d60d){const _0x3caf2f=_0x354c00;super(),g(this,'_state$',new _0x5ea788(null)),g(this,_0x3caf2f(0x4cc),this['_state$'][_0x3caf2f(0x516)]()),g(this,_0x3caf2f(0x290)),g(this,'_collaborationPaused',!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x3caf2f(0x215),this[_0x3caf2f(0x4cc)]['pipe'](_0x147fd2(_0x5c4c67=>_0x5c4c67?_0x5c4c67[_0x3caf2f(0x15a)]:J['OFFLINE']),_0x3f5b54(0x1))),g(this,_0x3caf2f(0x147),!0x1),g(this,_0x3caf2f(0x45b),[]),(this[_0x3caf2f(0x207)]=_0x327605,this[_0x3caf2f(0x24c)]=_0xd281a,this['_type']=_0x119bbf,this[_0x3caf2f(0x199)]=_0x4221ef,this[_0x3caf2f(0x1e2)]=_0x5417d5,this[_0x3caf2f(0x4f9)]=_0x575c15,this['_localeService']=_0x3b2d76,this['_revisionService']=_0x1f7d56,this[_0x3caf2f(0x3b6)]=_0x69ce3b,this[_0x3caf2f(0x3fc)]=_0x884b7b,this[_0x3caf2f(0x221)]=_0x352ce3,this['_permissionService']=_0x2a8f35,this['_singleActiveUnitService']=_0x24d60d);}get[_0x354c00(0x314)](){const _0x5b1e24=_0x354c00;return this[_0x5b1e24(0x290)];}async['init'](){const _0x261ab9=_0x354c00;if(this[_0x261ab9(0x314)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x261ab9(0x536)]();}[_0x354c00(0x394)](){const _0x1eee32=_0x354c00;return this[_0x1eee32(0x37f)]=!0x0,_0x48b865(()=>{const _0x16c7f5=_0x1eee32;this[_0x16c7f5(0x37f)]=!0x1,this[_0x16c7f5(0x52e)]();});}[_0x354c00(0x22b)](_0xbbdd79){const _0x2bed64=_0x354c00;this[_0x2bed64(0x290)]=_0xbbdd79,this[_0x2bed64(0x3b1)]['next'](_0xbbdd79);}async[_0x354c00(0x536)](){const _0x3e3169=_0x354c00;var _0x4799e9;this[_0x3e3169(0x22b)](await this[_0x3e3169(0x451)]()),this[_0x3e3169(0x474)]&&((_0x4799e9=this[_0x3e3169(0x474)])==null||_0x4799e9['editingUnit'](this[_0x3e3169(0x207)]),this[_0x3e3169(0x181)](this[_0x3e3169(0x474)][_0x3e3169(0x225)](this[_0x3e3169(0x207)])[_0x3e3169(0x51f)](_0x3dcf78=>{const _0x241a70=_0x3e3169;this[_0x241a70(0x3b6)][_0x241a70(0x4c5)]('[CollaborationEntity]',_0x241a70(0x49f),_0x3dcf78),_0x3dcf78===Di[_0x241a70(0x373)]?(this[_0x241a70(0x221)][_0x241a70(0x24e)]({'content':this['_localeService']['t'](_0x241a70(0x416)),'type':_0x3960e0[_0x241a70(0x435)]}),this[_0x241a70(0x450)][_0x241a70(0x4a2)](new _0x18c2b1(this[_0x241a70(0x207)])['id'],!0x1),this[_0x241a70(0x450)]['setShowComponents'](!0x1)):(this[_0x241a70(0x450)]['updatePermissionPoint'](new _0x18c2b1(this[_0x241a70(0x207)])['id'],!0x0),this['_permissionService'][_0x241a70(0x53e)](!0x0));})));let _0x2a394a=!0x1;return this['disposeWithMe'](this[_0x3e3169(0x24c)]['sessionStatus$']['subscribe'](_0x14cd24=>{const _0x355632=_0x3e3169;_0x14cd24===ve[_0x355632(0x29c)]?this[_0x355632(0x21c)](_0x2a394a):_0x14cd24===ve['OFFLINE']&&(_0x2a394a=!0x0,this['_toggleOffline']());})),this[_0x3e3169(0x181)](this[_0x3e3169(0x24c)][_0x3e3169(0x467)][_0x3e3169(0x51f)](_0x3bc041=>{const _0x201089=_0x3e3169;try{switch(_0x3bc041[_0x201089(0x338)]){case _0x5fb817['NEW_CHANGESETS']:{this[_0x201089(0x15c)](_0xccb1bb(_0x3bc041['data']));break;}case _0x5fb817['CHANGESET_ACK']:{this[_0x201089(0x216)](_0x3bc041[_0x201089(0x3df)]);break;}case _0x5fb817['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x5fb817[_0x201089(0x205)]:{this['_onRemoteRetry'](_0x3bc041['data']);break;}case _0x5fb817[_0x201089(0x53f)]:{this[_0x201089(0x482)](_0x3bc041['data'][_0x201089(0x20b)][_0x201089(0x4e6)](_0x1d53a6=>_0xccb1bb(_0x1d53a6)));break;}case _0x5fb817[_0x201089(0x3c6)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x44f6c5){throw console[_0x201089(0x2f1)](_0x201089(0x2a1),_0x44f6c5),_0x44f6c5;}})),this[_0x3e3169(0x290)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x354c00(0x3e0)](){const _0x2b2efb=_0x354c00;if(this[_0x2b2efb(0x147)])throw new Error(_0x2b2efb(0x30f));this[_0x2b2efb(0x147)]=!0x0;}[_0x354c00(0x3ef)](_0x533cad){const _0x4bf2f2=_0x354c00;this[_0x4bf2f2(0x3e0)](),this['_updateState'](this[_0x4bf2f2(0x290)][_0x4bf2f2(0x4c1)](_0x533cad)),this[_0x4bf2f2(0x1b0)]();}[_0x354c00(0x15c)](_0x53beec){const _0x42fb2a=_0x354c00;if(!(_0x53beec[_0x42fb2a(0x3f6)]<=this[_0x42fb2a(0x46f)][_0x42fb2a(0x2cd)](this['unitID']))){if(this[_0x42fb2a(0x37f)]){this[_0x42fb2a(0x45b)]['push'](_0x53beec);return;}this[_0x42fb2a(0x37b)](_0x53beec);}}[_0x354c00(0x52e)](){const _0xdba044=_0x354c00;this['_remoteChangesetQueue'][_0xdba044(0x3f0)](_0x33f4f2=>this[_0xdba044(0x37b)](_0x33f4f2)),this[_0xdba044(0x45b)]=[];}[_0x354c00(0x37b)](_0x2f6d77){const _0x3c7710=_0x354c00,_0x48936b=this[_0x3c7710(0x4f9)][_0x3c7710(0x33e)][_0x3c7710(0x248)](this[_0x3c7710(0x4f9)][_0x3c7710(0x33e)][_0x3c7710(0x2bf)]()[_0x3c7710(0x2a2)])(_0x2f6d77[_0x3c7710(0x24d)],null)||_0x2f6d77[_0x3c7710(0x24d)],_0x1ac7d5={..._0x2f6d77,'mutations':_0x48936b};this[_0x3c7710(0x3e0)](),this[_0x3c7710(0x22b)](this[_0x3c7710(0x290)]['onRemoteChangeset'](_0x1ac7d5)),this[_0x3c7710(0x1b0)]();}[_0x354c00(0x216)](_0x1eca14){const _0x1c1737=_0x354c00;this[_0x1c1737(0x3e0)](),this['_updateState'](this[_0x1c1737(0x290)][_0x1c1737(0x522)](_0x1eca14)),this['_unlockTransition']();}['_onRemoteRejected'](_0x1da56e){const _0xf3d695=_0x354c00;this[_0xf3d695(0x3e0)](),this[_0xf3d695(0x22b)](this[_0xf3d695(0x290)][_0xf3d695(0x47c)](_0x1da56e)),this[_0xf3d695(0x1b0)]();}[_0x354c00(0x4a5)](_0x59a815){const _0x1103be=_0x354c00;this['_lockTransition'](),this[_0x1103be(0x22b)](this['_state'][_0x1103be(0x393)](_0x59a815)),this['_unlockTransition']();}[_0x354c00(0x482)](_0x3cf7ce){const _0x4a0353=_0x354c00;if(!(this[_0x4a0353(0x290)]instanceof he))throw new TypeError(_0x4a0353(0x1c8));const _0x1915c7=_0x3cf7ce['map'](_0x120de6=>{const _0x3f7c30=_0x4a0353,_0xcde3f3=this[_0x3f7c30(0x4f9)][_0x3f7c30(0x33e)][_0x3f7c30(0x248)](this[_0x3f7c30(0x4f9)][_0x3f7c30(0x33e)][_0x3f7c30(0x2bf)]()[_0x3f7c30(0x2a2)])(_0x120de6[_0x3f7c30(0x24d)],null)||_0x120de6[_0x3f7c30(0x24d)];return{..._0x120de6,'mutations':_0xcde3f3};});this[_0x4a0353(0x3e0)](),this[_0x4a0353(0x22b)](this[_0x4a0353(0x290)][_0x4a0353(0x265)](_0x1915c7)),this[_0x4a0353(0x1b0)]();}[_0x354c00(0x2a5)](){const _0x448ac5=_0x354c00;this[_0x448ac5(0x3e0)](),this[_0x448ac5(0x22b)](this[_0x448ac5(0x290)][_0x448ac5(0x446)]()),this[_0x448ac5(0x1b0)]();}[_0x354c00(0x21c)](_0x31c4de=!0x1){const _0x6ec1fc=_0x354c00;this[_0x6ec1fc(0x3e0)](),this['_updateState'](this['_state'][_0x6ec1fc(0x404)]()),this[_0x6ec1fc(0x1b0)]();const _0x33382b=this['_state'];_0x31c4de&&_0x33382b instanceof Fe&&(this[_0x6ec1fc(0x3e0)](),this['_updateState'](_0x33382b[_0x6ec1fc(0x2cc)]()),this[_0x6ec1fc(0x1b0)]());}async[_0x354c00(0x451)](){return new Promise(_0x1edd35=>{const _0x33eecb=_0x33b4;this[_0x33eecb(0x24c)]['sessionStatus$'][_0x33eecb(0x43d)](_0x491b6c(0x1))[_0x33eecb(0x51f)](async _0x10187=>{const _0x1c1cb5=_0x33eecb;_0x1edd35(await this[_0x1c1cb5(0x440)](_0x10187===ve[_0x1c1cb5(0x29c)]));});});}[_0x354c00(0x39d)](){const _0x51e24e=_0x354c00,_0x3fb11d=this[_0x51e24e(0x207)];return{'onStateChange':(_0x1cbb08,_0x337e73)=>{const _0x54cfff=_0x51e24e;if(_0x1cbb08!==this[_0x54cfff(0x290)])throw new Error(_0x54cfff(0x1b8)+_0x1cbb08[_0x54cfff(0x15a)]+_0x54cfff(0x283)+_0x337e73[_0x54cfff(0x15a)]+_0x54cfff(0x495)+this[_0x54cfff(0x290)][_0x54cfff(0x15a)]);this[_0x54cfff(0x22b)](_0x337e73);},'onSendChangeset':_0x4c5754=>{const _0x4eab90=_0x51e24e;_0x4c5754['sid']||(_0x4c5754[_0x4eab90(0x29d)]=this[_0x4eab90(0x42e)],_0x4c5754[_0x4eab90(0x4d3)]=++this[_0x4eab90(0x53d)]);const _0x1694c9={'eventID':_0x5fb817[_0x4eab90(0x3f5)],'data':{'unitID':_0x4c5754['unitID'],'unitType':this['_type'],'changeset':_0x4c5754,'memberID':this[_0x4eab90(0x24c)][_0x4eab90(0x155)]()}};this[_0x4eab90(0x24c)][_0x4eab90(0x2da)](_0x1694c9,this[_0x4eab90(0x207)]);},'onMissingChangesets':({from:_0x542edf,to:_0x130a8d})=>{const _0x113b45=_0x51e24e;this['_logService']['debug'](_0x113b45(0x478),_0x113b45(0x4b2)+_0x542edf+_0x113b45(0x559)+_0x130a8d);const _0x229a9d={'eventID':_0x5fb817[_0x113b45(0x143)],'data':{'unitID':_0x3fb11d,'unitType':this[_0x113b45(0x2c2)],'from':_0x542edf,'to':_0x130a8d}};this[_0x113b45(0x24c)]['send'](_0x229a9d,this[_0x113b45(0x207)]);}};}async[_0x354c00(0x440)](_0x7c0b90){const _0x21c88e=_0x354c00;var _0x599d6c,_0xa3e866;const _0x524f23=await this[_0x21c88e(0x1e2)]['loadOfflineData'](this[_0x21c88e(0x207)]),_0x223d5a=(_0x599d6c=_0x524f23==null?void 0x0:_0x524f23[_0x21c88e(0x24d)])!=null?_0x599d6c:[],_0x4238cc=(_0xa3e866=_0x524f23==null?void 0x0:_0x524f23[_0x21c88e(0x46d)])!=null?_0xa3e866:null,_0x3b6594=!!(_0x4238cc!=null&&_0x4238cc[_0x21c88e(0x29d)])&&!!(_0x4238cc!=null&&_0x4238cc[_0x21c88e(0x4d3)]);this[_0x21c88e(0x42e)]=_0x3b6594?_0x4238cc[_0x21c88e(0x29d)]:zr(),this[_0x21c88e(0x53d)]=_0x3b6594?_0x4238cc[_0x21c88e(0x4d3)]:0x0;const _0x59dc39=this[_0x21c88e(0x207)];try{this[_0x21c88e(0x26c)](_0x4238cc,_0x223d5a);}catch(_0x4412e1){this['_logService'][_0x21c88e(0x2f1)](_0x4412e1);}const _0x2a98ad=this[_0x21c88e(0x39d)]();if(_0x7c0b90){const _0x4ead22=Ai(this[_0x21c88e(0x199)],_0x59dc39,this[_0x21c88e(0x2c2)],_0x4238cc,_0x223d5a,_0x2a98ad);return _0x4ead22 instanceof pe?_0x4ead22[_0x21c88e(0x3fb)]():(_0x4ead22 instanceof ge||_0x4ead22 instanceof Te)&&_0x4ead22[_0x21c88e(0x1c9)](),_0x4ead22;}return this['_injector'][_0x21c88e(0x348)](ye,_0x59dc39,this[_0x21c88e(0x2c2)],_0x4238cc,_0x223d5a,_0x2a98ad);}['_replayCachedMutations'](_0x543beb,_0xe6d555){const _0x5cfc14=_0x354c00;var _0x449459,_0x4b05e4;const _0xfdde90=this[_0x5cfc14(0x4f9)][_0x5cfc14(0x33e)][_0x5cfc14(0x248)](this[_0x5cfc14(0x4f9)][_0x5cfc14(0x33e)][_0x5cfc14(0x2bf)]()[_0x5cfc14(0x2a2)]);(_0x449459=_0xfdde90((_0x543beb==null?void 0x0:_0x543beb[_0x5cfc14(0x24d)])||[],null))==null||_0x449459[_0x5cfc14(0x3f0)](_0x1c32af=>this['_commandService'][_0x5cfc14(0x365)](_0x1c32af['id'],_0x1c32af[_0x5cfc14(0x220)])),(_0x4b05e4=_0xfdde90(_0xe6d555||[],null))==null||_0x4b05e4[_0x5cfc14(0x3f0)](_0x26480e=>this[_0x5cfc14(0x3fc)][_0x5cfc14(0x365)](_0x26480e['id'],_0x26480e[_0x5cfc14(0x220)]));}};gt=Es([H(0x3,_0x1727eb(_0x5d0612)),H(0x4,_0x1727eb(q)),H(0x5,_0x1727eb(_0x19d90b)),H(0x6,_0x1727eb(_0x382d24)),H(0x7,_0x1727eb(_0x27820f)),H(0x8,_0x3b4016),H(0x9,_0xfbfaad),H(0xa,_0x35026c),H(0xb,_0x121e54),H(0xc,_0x213697(Rt))],gt);let ss=class extends gt{constructor(_0xa6d56b,_0x55c203,_0x14cf75,_0x1d2767,_0x38cc7d,_0x419c80,_0x4783ae,_0x3f8993,_0x1d2e72,_0x3b87dd,_0x2b23a4,_0x5a7dde,_0x2d6d92,_0x5a7d6d,_0x227734,_0x5ea4ec,_0x1af65a,_0x2e8fe1){const _0x5ae962=_0x354c00;super(_0xa6d56b,_0x14cf75,_0x55c203,_0x1d2767,_0x38cc7d,_0x419c80,_0x4783ae,_0x3f8993,_0x5a7d6d,_0x227734,_0x5ea4ec,_0x1af65a,_0x2e8fe1),this[_0x5ae962(0x207)]=_0xa6d56b,this['type']=_0x55c203,this[_0x5ae962(0x4d1)]=_0x1d2e72,this[_0x5ae962(0x428)]=_0x3b87dd,this[_0x5ae962(0x463)]=_0x2b23a4,this[_0x5ae962(0x1f3)]=_0x5a7dde,this[_0x5ae962(0x54d)]=_0x2d6d92;}[_0x354c00(0x39d)](){const _0x9e38b1=_0x354c00,_0x309e4d=super['_createHandler']();return _0x309e4d[_0x9e38b1(0x1f1)]=_0x57a130=>this[_0x9e38b1(0x428)][_0x9e38b1(0x425)](_0x57a130),_0x309e4d[_0x9e38b1(0x2d3)]=_0x18e2f7=>this[_0x9e38b1(0x463)][_0x9e38b1(0x48a)](_0x18e2f7),_0x309e4d[_0x9e38b1(0x47a)]=_0x409bab=>this['_docTransformSelectionsService'][_0x9e38b1(0x456)](_0x409bab),_0x309e4d['onSyncEditingCollabCursor']=_0x5df273=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5df273),_0x309e4d[_0x9e38b1(0x2a9)]=_0x157912=>this['_docTransformIMECacheService'][_0x9e38b1(0x347)](_0x157912),_0x309e4d[_0x9e38b1(0x2f5)]=_0x21b108=>this[_0x9e38b1(0x463)][_0x9e38b1(0x347)](_0x21b108),_0x309e4d;}async[_0x354c00(0x536)](){const _0x315ed3=_0x354c00,_0x590c0e=await super['_init']();return this[_0x315ed3(0x4d1)]['docStateChange$'][_0x315ed3(0x43d)](_0x144dfb(this['dispose$']))['subscribe'](_0x4d3780=>{const _0x2d2402=_0x315ed3;if(_0x4d3780==null)return;const {unitId:_0xeba6d9,redoState:_0x304f2b,commandId:_0x4e486}=_0x4d3780;if(_0xeba6d9!==this[_0x2d2402(0x207)])return;const _0x4a8087={'id':_0x4e486,'type':_0x1814f1[_0x2d2402(0x437)],'params':{'unitId':_0xeba6d9,'actions':_0x304f2b[_0x2d2402(0x4cd)],'textRanges':null}};this[_0x2d2402(0x3ef)](_0x4a8087);}),_0x590c0e;}};ss=Es([H(0x3,_0x1727eb(_0x5d0612)),H(0x4,_0x1727eb(q)),H(0x5,_0x1727eb(_0x19d90b)),H(0x6,_0x1727eb(_0x382d24)),H(0x7,_0x1727eb(_0x27820f)),H(0x8,_0x1727eb(_0x1578ad)),H(0x9,_0x1727eb(ft)),H(0xa,_0x1727eb(mt)),H(0xb,_0x1727eb(pt)),H(0xc,_0x1727eb(Cs)),H(0xd,_0x3b4016),H(0xe,_0xfbfaad),H(0xf,_0x35026c),H(0x10,_0x121e54),H(0x11,_0x213697(Rt))],ss);let is=class extends gt{constructor(_0x59e7ba,_0x4348ef,_0x42b793,_0x11f22b,_0x1493ba,_0x353625,_0xf7389c,_0xe48c08,_0x4806a9,_0x183ca4,_0x1543f7,_0xd0242e,_0x9ce6f3,_0x14d021){const _0x3c63fe=_0x354c00;super(_0x59e7ba,_0x42b793,_0x4348ef,_0x11f22b,_0x1493ba,_0x353625,_0xf7389c,_0xe48c08,_0x183ca4,_0x1543f7,_0xd0242e,_0x9ce6f3,_0x14d021),this[_0x3c63fe(0x207)]=_0x59e7ba,this[_0x3c63fe(0x260)]=_0x4348ef,this['_sheetTransformSelectionsService']=_0x4806a9;}['_createHandler'](){const _0x984b79=_0x354c00,_0x3103f6=super[_0x984b79(0x39d)]();return _0x3103f6[_0x984b79(0x47a)]=_0x580646=>this['_sheetTransformSelectionsService'][_0x984b79(0x456)](_0x580646),_0x3103f6;}async[_0x354c00(0x536)](){const _0xd4e168=_0x354c00,_0x7d956b=await super[_0xd4e168(0x536)]();return this[_0xd4e168(0x181)](this['_commandService'][_0xd4e168(0x4ba)]((_0x45dedc,_0x4f7943)=>{const _0x3e67d7=_0xd4e168;if(_0x45dedc[_0x3e67d7(0x260)]!==_0x1814f1[_0x3e67d7(0x437)]||_0x4f7943!=null&&_0x4f7943[_0x3e67d7(0x16a)]||_0x4f7943!=null&&_0x4f7943[_0x3e67d7(0x2de)])return;const _0x500fa6=_0x45dedc[_0x3e67d7(0x220)];if((_0x500fa6==null?void 0x0:_0x500fa6[_0x3e67d7(0x315)])!==this[_0x3e67d7(0x207)])return;const _0x51ef4c=_0x45dedc,_0x558102=this['_compressMutationService']['interceptor'][_0x3e67d7(0x248)](this['_compressMutationService'][_0x3e67d7(0x33e)]['getInterceptPoints']()[_0x3e67d7(0x14c)])([_0x51ef4c],null)||[_0x51ef4c];this['_onLocalMutation'](_0x558102[0x0]);})),_0x7d956b;}};is=Es([H(0x3,_0x1727eb(_0x5d0612)),H(0x4,_0x1727eb(q)),H(0x5,_0x1727eb(_0x19d90b)),H(0x6,_0x1727eb(_0x382d24)),H(0x7,_0x1727eb(_0x27820f)),H(0x8,_0x1727eb(vt)),H(0x9,_0x3b4016),H(0xa,_0xfbfaad),H(0xb,_0x35026c),H(0xc,_0x121e54),H(0xd,_0x213697(Rt))],is);var Co=Object[_0x354c00(0x3cf)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x470a3e,_0x55bd12,_0x4f32c2,_0x133e18)=>{const _0x1ac8d3=_0x354c00;for(var _0x7756d7=_0x133e18>0x1?void 0x0:_0x133e18?Eo(_0x55bd12,_0x4f32c2):_0x55bd12,_0x570120=_0x470a3e[_0x1ac8d3(0x2a0)]-0x1,_0x5642e1;_0x570120>=0x0;_0x570120--)(_0x5642e1=_0x470a3e[_0x570120])&&(_0x7756d7=(_0x133e18?_0x5642e1(_0x55bd12,_0x4f32c2,_0x7756d7):_0x5642e1(_0x7756d7))||_0x7756d7);return _0x133e18&&_0x7756d7&&Co(_0x55bd12,_0x4f32c2,_0x7756d7),_0x7756d7;},Lt=(_0x3a5784,_0x4c6cf1)=>(_0xcac7c4,_0xd4a099)=>_0x4c6cf1(_0xcac7c4,_0xd4a099,_0x3a5784);let it=class extends _0x1bd493{constructor(_0x51e9b7,_0xf6f0c9,_0x440938){const _0xf6fc04=_0x354c00;super(),g(this,'_entities',new Map()),g(this,_0xf6fc04(0x3d9),new _0x3189d9()),(this['_injector']=_0x51e9b7,this[_0xf6fc04(0x4fe)]=_0xf6f0c9,this[_0xf6fc04(0x429)]=_0x440938,this[_0xf6fc04(0x536)]());}[_0x354c00(0x4d7)](){const _0x4d8464=_0x354c00;super[_0x4d8464(0x4d7)](),this[_0x4d8464(0x1ea)]['forEach'](_0x5e56fd=>_0x5e56fd[_0x4d8464(0x4d7)]()),this[_0x4d8464(0x1ea)][_0x4d8464(0x16d)]();}[_0x354c00(0x3b0)](_0x543eaa){var _0x12406a;return(_0x12406a=this['_entities']['get'](_0x543eaa))!=null?_0x12406a:null;}[_0x354c00(0x3da)](_0x1369e4){const _0x3e8a1f=_0x354c00,_0x286805=this[_0x3e8a1f(0x3b0)](_0x1369e4);return _0x286805?_0x517049(_0x286805):this['_entityInit$'][_0x3e8a1f(0x43d)](_0x34bcfb(_0x12bad1=>_0x12bad1['unitID']===_0x1369e4));}[_0x354c00(0x536)](){const _0x11127f=_0x354c00;this[_0x11127f(0x429)]['getTypeOfUnitAdded$'](_0x208af7[_0x11127f(0x1c5)])[_0x11127f(0x43d)](_0x144dfb(this[_0x11127f(0x14d)]),_0x1a5bdc(0x10))['subscribe'](async _0x3408da=>{const _0x271447=_0x11127f,_0x2b736a=_0x3408da[_0x271447(0x191)](),_0x34f4ce=await this[_0x271447(0x189)](_0x2b736a,ce[_0x271447(0x1c5)]);this[_0x271447(0x1ea)][_0x271447(0x244)](_0x2b736a,_0x34f4ce);}),this['_univerInstanceService'][_0x11127f(0x319)](_0x208af7[_0x11127f(0x461)])[_0x11127f(0x43d)](_0x144dfb(this[_0x11127f(0x14d)]),_0x1a5bdc(0x10))[_0x11127f(0x43d)](_0x34bcfb(_0x4e59b1=>!_0x4e59b1[_0x11127f(0x191)]()['startsWith']('__')))['subscribe'](async _0x4b8576=>{const _0x3fe9b5=_0x11127f,_0x31417a=_0x4b8576[_0x3fe9b5(0x191)](),_0x2d1de3=await this[_0x3fe9b5(0x189)](_0x31417a,ce['UNIVER_DOC']);this[_0x3fe9b5(0x1ea)][_0x3fe9b5(0x244)](_0x31417a,_0x2d1de3);}),_0x32fe1c(this[_0x11127f(0x429)][_0x11127f(0x364)](_0x208af7[_0x11127f(0x1c5)]),this[_0x11127f(0x429)][_0x11127f(0x364)](_0x208af7[_0x11127f(0x461)]))[_0x11127f(0x43d)](_0x144dfb(this[_0x11127f(0x14d)]))[_0x11127f(0x51f)](_0x339791=>{const _0x6af522=_0x11127f,_0x5198e1=_0x339791[_0x6af522(0x191)](),_0x574286=this[_0x6af522(0x1ea)][_0x6af522(0x291)](_0x5198e1);_0x574286&&(_0x574286[_0x6af522(0x4d7)](),this[_0x6af522(0x1ea)][_0x6af522(0x361)](_0x5198e1));});}async[_0x354c00(0x189)](_0xde4a58,_0x2a96c7){const _0x4c15bc=_0x354c00,_0x8823fb=await this[_0x4c15bc(0x4fe)][_0x4c15bc(0x4f1)](_0xde4a58),_0x2cc012=this[_0x4c15bc(0x199)][_0x4c15bc(0x348)](this['_getCtorByUniverType'](_0x2a96c7),_0xde4a58,_0x2a96c7,_0x8823fb);return await _0x2cc012['init'](),this[_0x4c15bc(0x3d9)]['next'](_0x2cc012),_0x2cc012;}[_0x354c00(0x360)](_0x721a05){const _0x4e573c=_0x354c00;switch(_0x721a05){case ce[_0x4e573c(0x461)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x4e573c(0x2dd)+_0x721a05);}}};it=bo([Lt(0x0,_0x1727eb(_0x5d0612)),Lt(0x1,_0x1727eb(Ae)),Lt(0x2,_0x48d976)],it);const Gs=[_0x354c00(0x17d),'jiqing500',_0x354c00(0x459),_0x354c00(0x23d),'blue400','gold400'];class bs extends _0x1cb1cd{constructor(){const _0x171913=_0x354c00;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x171913(0x254),0x0);}['assignAColorForMemberID'](_0x5d4031){const _0x143032=_0x354c00;if(this[_0x143032(0x55a)][_0x143032(0x272)](_0x5d4031))return this['_assignedColors']['get'](_0x5d4031);const _0x469151=Gs[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs['length'],this[_0x143032(0x55a)]['set'](_0x5d4031,_0x469151),_0x469151;}}var To=Object['defineProperty'],Ro=Object['getOwnPropertyDescriptor'],yo=(_0x396e5b,_0x1f2ce9,_0x59f129,_0x59b7c2)=>{for(var _0x15eb0e=_0x59b7c2>0x1?void 0x0:_0x59b7c2?Ro(_0x1f2ce9,_0x59f129):_0x1f2ce9,_0x507f20=_0x396e5b['length']-0x1,_0x4f7a26;_0x507f20>=0x0;_0x507f20--)(_0x4f7a26=_0x396e5b[_0x507f20])&&(_0x15eb0e=(_0x59b7c2?_0x4f7a26(_0x1f2ce9,_0x59f129,_0x15eb0e):_0x4f7a26(_0x15eb0e))||_0x15eb0e);return _0x59b7c2&&_0x15eb0e&&To(_0x1f2ce9,_0x59f129,_0x15eb0e),_0x15eb0e;},Oe=(_0x1460b6,_0x237fec)=>(_0x3f7455,_0xfcac12)=>_0x237fec(_0x3f7455,_0xfcac12,_0x1460b6);const Oo=0x12c,wo=0x64;let ns=class extends _0x1bd493{constructor(_0x367e8c,_0x158bea,_0x3d63d4,_0x5b951f,_0x2092fa,_0x524ecb,_0x113394,_0x479026,_0x27df9b){const _0x312c94=_0x354c00;super(),g(this,_0x312c94(0x403),!0x1),g(this,_0x312c94(0x536),!0x1),g(this,_0x312c94(0x396),new _0x5ea788(new Map())),g(this,_0x312c94(0x20c),this[_0x312c94(0x396)]['asObservable']()),g(this,_0x312c94(0x397),new _0x5ea788([])),g(this,'roomMembers$',this[_0x312c94(0x397)][_0x312c94(0x43d)](_0x1d2149(Oo))),g(this,_0x312c94(0x540),_0x3cf277(_0x3aa047=>{const _0xdb7a19=_0x312c94,_0x2740ce={'eventID':_0x5fb817[_0xdb7a19(0x267)],'data':{'unitID':this[_0xdb7a19(0x207)],'memberID':this[_0xdb7a19(0x513)][_0xdb7a19(0x155)](),'selection':Pi(_0x3aa047)}};this[_0xdb7a19(0x513)][_0xdb7a19(0x2da)](_0x2740ce,this[_0xdb7a19(0x207)]);},wo)),(this[_0x312c94(0x207)]=_0x367e8c,this[_0x312c94(0x513)]=_0x158bea,this[_0x312c94(0x199)]=_0x3d63d4,this[_0x312c94(0x3a8)]=_0x5b951f,this[_0x312c94(0x390)]=_0x2092fa,this[_0x312c94(0x306)]=_0x524ecb,this['_transformService']=_0x113394,this[_0x312c94(0x429)]=_0x479026,this['_commandService']=_0x27df9b);}get[_0x354c00(0x3cc)](){const _0x5e51ae=_0x354c00;return this['_cursorInfo$'][_0x5e51ae(0x156)]();}get[_0x354c00(0x346)](){const _0x9674b5=_0x354c00;return this[_0x9674b5(0x397)][_0x9674b5(0x156)]();}[_0x354c00(0x4d7)](){const _0x1f6f2a=_0x354c00;super[_0x1f6f2a(0x4d7)](),this[_0x1f6f2a(0x396)][_0x1f6f2a(0x2df)](new Map()),this['_cursorInfo$']['complete'](),this[_0x1f6f2a(0x397)][_0x1f6f2a(0x2df)]([]),this[_0x1f6f2a(0x397)][_0x1f6f2a(0x367)]();}[_0x354c00(0x4cf)](){const _0x5d0451=_0x354c00;this[_0x5d0451(0x536)]||(this[_0x5d0451(0x536)]=!0x0,this[_0x5d0451(0x513)]['sessionStatus$'][_0x5d0451(0x43d)](_0x144dfb(this[_0x5d0451(0x14d)]))[_0x5d0451(0x51f)](_0x45f011=>{const _0x41612d=_0x5d0451;_0x45f011===ve[_0x41612d(0x29c)]?this[_0x41612d(0x21c)]():this[_0x41612d(0x2a5)]();}),this[_0x5d0451(0x513)][_0x5d0451(0x467)][_0x5d0451(0x43d)](_0x144dfb(this[_0x5d0451(0x14d)]))[_0x5d0451(0x51f)](_0x2669fd=>{const _0x247a07=_0x5d0451,_0x10f35b=_0x2669fd[_0x247a07(0x338)];_0x10f35b===_0x5fb817[_0x247a07(0x267)]&&this[_0x247a07(0x514)](_0x2669fd),_0x10f35b===_0x5fb817[_0x247a07(0x44b)]&&this['_onCursorDelete'](_0x2669fd);}),this[_0x5d0451(0x181)](this[_0x5d0451(0x3fc)][_0x5d0451(0x4ba)](_0x39765c=>{const _0x2ba408=_0x5d0451,_0x490e9e=_0x39765c[_0x2ba408(0x220)];_0x490e9e!=null&&this[_0x2ba408(0x403)]&&_0x39765c['id']===_0x259a8e['id']&&_0x490e9e[_0x2ba408(0x315)]===this['unitID']&&_0x490e9e['isEditing']===!0x1&&_0x490e9e[_0x2ba408(0x349)]['length']>0x0&&this[_0x2ba408(0x540)](_0x490e9e[_0x2ba408(0x349)]);})),this[_0x5d0451(0x306)][_0x5d0451(0x436)][_0x5d0451(0x43d)](_0x144dfb(this[_0x5d0451(0x14d)]))[_0x5d0451(0x51f)](_0x29a459=>{const _0x48ec53=_0x5d0451;if((_0x29a459==null?void 0x0:_0x29a459[_0x48ec53(0x207)])!==this[_0x48ec53(0x207)])return;const _0x45c19a={'eventID':_0x5fb817['UPDATE_CURSOR'],'data':_0x29a459};this[_0x48ec53(0x514)](_0x45c19a);}),this[_0x5d0451(0x181)](this[_0x5d0451(0x3fc)][_0x5d0451(0x4ba)](_0x1ab80e=>{const _0x486bd8=_0x5d0451;if(_0x1ab80e[_0x486bd8(0x220)]==null)return;const _0x24f5cf=_0x1ab80e[_0x486bd8(0x220)];if(_0x1ab80e['id']!==_0x2e83de['id']||_0x24f5cf[_0x486bd8(0x315)]!==this[_0x486bd8(0x207)])return;const _0x40078d={'id':_0x486bd8(0x35d),'params':_0x24f5cf},_0x1e36a5=this[_0x486bd8(0x3cc)];for(const [_0x21dd8c,_0x3f976b]of _0x1e36a5){const _0x9820ad={'id':_0x486bd8(0x35d),'params':{'unitId':this[_0x486bd8(0x207)],'actions':null,'textRanges':_0x3f976b[_0x486bd8(0x349)]}},_0x59abb1=this[_0x486bd8(0x329)]['transformMutation'](_0x40078d,_0x9820ad,!0x1);if(_0x17dd13(_0x59abb1))throw _0x59abb1[_0x486bd8(0x2f1)];_0x1e36a5[_0x486bd8(0x244)](_0x21dd8c,{..._0x3f976b,'ranges':_0x59abb1[_0x486bd8(0x1b1)]['params'][_0x486bd8(0x1fd)]});}queueMicrotask(()=>{const _0x52096d=_0x486bd8;this[_0x52096d(0x396)][_0x52096d(0x2df)](_0x1e36a5);});})));}[_0x354c00(0x514)](_0x22304d){const _0x411938=_0x354c00;var _0x3b7de0,_0x648912;const {memberID:_0x836e7,selection:_0x872666}=_0x22304d[_0x411938(0x3df)],_0x3fb631=ho(_0x872666),_0x4f1de6=(_0x648912=(_0x3b7de0=this[_0x411938(0x390)][_0x411938(0x24b)](this[_0x411938(0x207)],_0x836e7))==null?void 0x0:_0x3b7de0[_0x411938(0x276)])!=null?_0x648912:'Unknown\x20user',_0xa2cf50={'color':this[_0x411938(0x3a8)][_0x411938(0x3f4)](_0x836e7),'name':_0x4f1de6,'ranges':_0x3fb631},_0x5da317=this[_0x411938(0x3cc)];_0x5da317[_0x411938(0x244)](_0x836e7,_0xa2cf50),this[_0x411938(0x396)]['next'](_0x5da317);}['_onCursorDelete'](_0x14adc0){const _0x13050a=_0x354c00,{memberID:_0x12555c}=_0x14adc0[_0x13050a(0x3df)],_0x2cc212=this[_0x13050a(0x3cc)];_0x2cc212['delete'](_0x12555c),this['_cursorInfo$']['next'](_0x2cc212);}[_0x354c00(0x21c)](){const _0x445ed1=_0x354c00;var _0x590114;if(this[_0x445ed1(0x403)]=!0x0,((_0x590114=this[_0x445ed1(0x429)][_0x445ed1(0x3c7)]())==null?void 0x0:_0x590114[_0x445ed1(0x191)]())!==this[_0x445ed1(0x207)])return;const _0x122ff9=this[_0x445ed1(0x199)]['get'](_0x15c40f)['getDocRanges']();Array[_0x445ed1(0x345)](_0x122ff9)&&_0x122ff9[_0x445ed1(0x2a0)]>0x0&&this['_updateLocalCursor'](_0x122ff9);}[_0x354c00(0x2a5)](){const _0x1960ee=_0x354c00;this[_0x1960ee(0x403)]=!0x1;}};ns=yo([Oe(0x2,_0x1727eb(_0x5d0612)),Oe(0x3,_0x1727eb(bs)),Oe(0x4,_0x1727eb(Ne)),Oe(0x5,_0x1727eb(Cs)),Oe(0x6,_0xe30adb),Oe(0x7,_0x48d976),Oe(0x8,_0xfbfaad)],ns);var Do=Object[_0x354c00(0x3cf)],Po=Object['getOwnPropertyDescriptor'],Uo=(_0x5d6af1,_0x43e3b7,_0x339dce,_0x21b34b)=>{const _0x239616=_0x354c00;for(var _0x351cf6=_0x21b34b>0x1?void 0x0:_0x21b34b?Po(_0x43e3b7,_0x339dce):_0x43e3b7,_0x2a1208=_0x5d6af1[_0x239616(0x2a0)]-0x1,_0x589bed;_0x2a1208>=0x0;_0x2a1208--)(_0x589bed=_0x5d6af1[_0x2a1208])&&(_0x351cf6=(_0x21b34b?_0x589bed(_0x43e3b7,_0x339dce,_0x351cf6):_0x589bed(_0x351cf6))||_0x351cf6);return _0x21b34b&&_0x351cf6&&Do(_0x43e3b7,_0x339dce,_0x351cf6),_0x351cf6;},Be=(_0x4ec51f,_0x48f9b1)=>(_0x506ab5,_0x57eaf3)=>_0x48f9b1(_0x506ab5,_0x57eaf3,_0x4ec51f);const No=0x12c,Ao=0x64,Mo=()=>{let _0x114f8f=[],_0x1b91c6=!0x1;return _0x3b613b=>{const _0x38dfee=_0x33b4;_0x114f8f[_0x38dfee(0x301)](_0x3b613b),_0x1b91c6||(_0x1b91c6=!0x0,setTimeout(()=>{_0x114f8f['forEach'](_0x38a702=>_0x38a702()),_0x114f8f=[],_0x1b91c6=!0x1;}));};};let rs=class extends _0x1bd493{constructor(_0x288d88,_0x470ae6,_0x2533e3,_0x3f62a2,_0x12d23b,_0x4912a8,_0x3d11f5,_0xb245ac){const _0x4a84f0=_0x354c00;super(),g(this,_0x4a84f0(0x403),!0x1),g(this,_0x4a84f0(0x536),!0x1),g(this,_0x4a84f0(0x396),new _0x5ea788(new Map())),g(this,_0x4a84f0(0x20c),this[_0x4a84f0(0x396)][_0x4a84f0(0x516)]()),g(this,_0x4a84f0(0x397),new _0x5ea788([])),g(this,'roomMembers$',this[_0x4a84f0(0x397)]['pipe'](_0x1d2149(No))),g(this,'_updateLocalCursor',_0x3cf277((_0x262479,_0x3922a7)=>{const _0x4d2483=_0x4a84f0,_0x487123={'eventID':_0x5fb817[_0x4d2483(0x267)],'data':{'unitID':this[_0x4d2483(0x207)],'memberID':this['_session'][_0x4d2483(0x155)](),'selection':_0x11daff(_0x262479,_0x3922a7[_0x4d2483(0x146)])}};this['_session'][_0x4d2483(0x2da)](_0x487123,this['unitID']);},Ao)),(this[_0x4a84f0(0x207)]=_0x288d88,this[_0x4a84f0(0x513)]=_0x470ae6,this[_0x4a84f0(0x199)]=_0x2533e3,this[_0x4a84f0(0x3a8)]=_0x3f62a2,this['_memberService']=_0x12d23b,this['_univerInstanceService']=_0x4912a8,this[_0x4a84f0(0x3fc)]=_0x3d11f5,this[_0x4a84f0(0x2fd)]=_0xb245ac);}get[_0x354c00(0x3cc)](){const _0x165c24=_0x354c00;return this[_0x165c24(0x396)]['getValue']();}get['roomMembers'](){const _0x4f24ac=_0x354c00;return this[_0x4f24ac(0x397)][_0x4f24ac(0x156)]();}[_0x354c00(0x4d7)](){const _0x32ddd7=_0x354c00;super[_0x32ddd7(0x4d7)](),this[_0x32ddd7(0x396)]['next'](new Map()),this[_0x32ddd7(0x396)][_0x32ddd7(0x367)](),this['_roomMembers$'][_0x32ddd7(0x2df)]([]),this[_0x32ddd7(0x397)][_0x32ddd7(0x367)]();}[_0x354c00(0x4cf)](){const _0xa9af88=_0x354c00;this[_0xa9af88(0x536)]||(this[_0xa9af88(0x536)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x144dfb(this[_0xa9af88(0x14d)]))[_0xa9af88(0x51f)](_0x55def9=>{const _0x476cfc=_0xa9af88;_0x55def9===ve[_0x476cfc(0x29c)]?this[_0x476cfc(0x21c)]():this['_toggleOffline']();}),this['_session'][_0xa9af88(0x467)][_0xa9af88(0x43d)](_0x144dfb(this[_0xa9af88(0x14d)]))[_0xa9af88(0x51f)](_0x277aea=>{const _0x2087d4=_0xa9af88,_0x50d85c=_0x277aea[_0x2087d4(0x338)];_0x50d85c===_0x5fb817[_0x2087d4(0x267)]&&this['_onCursorUpdate'](_0x277aea),_0x50d85c===_0x5fb817[_0x2087d4(0x44b)]&&this[_0x2087d4(0x4df)](_0x277aea);}),this['_onRefRangeChange'](),this[_0xa9af88(0x181)](this[_0xa9af88(0x3fc)][_0xa9af88(0x4ba)](_0x59cdc8=>{const _0x1f8549=_0xa9af88;if(this[_0x1f8549(0x403)]&&_0x59cdc8['id']===_0x558a1a['id']&&_0x59cdc8[_0x1f8549(0x220)][_0x1f8549(0x315)]===this['unitID']){const _0x2f2dc3=_0x59cdc8[_0x1f8549(0x220)];this[_0x1f8549(0x540)](_0x2f2dc3[_0x1f8549(0x287)],_0x2f2dc3[_0x1f8549(0x150)][0x0]);}})));}[_0x354c00(0x514)](_0x2be72a){const _0x2f20ac=_0x354c00;var _0x50d711,_0xceb5e9;const {memberID:_0x506c7a,selection:_0x2f4219}=_0x2be72a[_0x2f20ac(0x3df)],{sheetName:_0x161d8b,range:_0x348cdc}=_0x17ae33(_0x2f4219),_0x54547a={'name':(_0xceb5e9=(_0x50d711=this[_0x2f20ac(0x390)][_0x2f20ac(0x24b)](this[_0x2f20ac(0x207)],_0x506c7a))==null?void 0x0:_0x50d711[_0x2f20ac(0x276)])!=null?_0xceb5e9:_0x2f20ac(0x1d0),'range':this[_0x2f20ac(0x498)](_0x161d8b,_0x348cdc),'sheetID':_0x161d8b,'color':this[_0x2f20ac(0x3a8)]['assignAColorForMemberID'](_0x506c7a),'selection':_0x2f4219},_0x2faf39=this[_0x2f20ac(0x3cc)];_0x2faf39[_0x2f20ac(0x244)](_0x506c7a,_0x54547a),this[_0x2f20ac(0x396)][_0x2f20ac(0x2df)](_0x2faf39);}[_0x354c00(0x4df)](_0x33eddf){const _0x2ab705=_0x354c00,{memberID:_0xcd3265}=_0x33eddf['data'],_0x4474f4=this['cursorInfo'];_0x4474f4[_0x2ab705(0x361)](_0xcd3265),this[_0x2ab705(0x396)]['next'](_0x4474f4);}[_0x354c00(0x498)](_0x1e675c,_0x446127){const _0x316bf4=_0x354c00;var _0x2c91a6,_0x55d509;const _0x2f5f9f=(_0x55d509=(_0x2c91a6=this[_0x316bf4(0x429)][_0x316bf4(0x351)](this['unitID']))==null?void 0x0:_0x2c91a6[_0x316bf4(0x1f2)](_0x1e675c))==null?void 0x0:_0x55d509['getMergeData']();return(_0x2f5f9f==null?void 0x0:_0x2f5f9f[_0x316bf4(0x462)](_0x319ed6=>_0x10dcad[_0x316bf4(0x35f)](_0x319ed6,_0x446127)))||_0x446127;}['_onRefRangeChange'](){const _0x6c1192=_0x354c00,_0xb25e3f=new _0x44e580(),_0x268fa4=Mo(),_0x42a01c=()=>{const _0x57f80b=_0x33b4;_0xb25e3f[_0x57f80b(0x4d7)]();const _0x12c6f4=(_0xe1c733,_0x5cceb8,_0x3db264,_0x31e71b)=>{const _0x525790=_0x57f80b;let _0x3059c1=[];switch(_0xe1c733['id']){case _0x5d8ed2['DeleteRangeMoveLeftCommandId']:{_0x3059c1=_0x58650a(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2['DeleteRangeMoveUpCommandId']:{_0x3059c1=_0x5f49ac(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2['InsertColCommandId']:{_0x3059c1=_0x329a98(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x500)]:{_0x3059c1=_0xb9b604(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2['InsertRangeMoveRightCommandId']:{_0x3059c1=_0x51681e(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x426)]:{_0x3059c1=_0x5b2a5a(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x1ef)]:{_0x3059c1=_0x8704d(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x2b3)]:{_0x3059c1=_0x2964d0(_0xe1c733,_0x31e71b);break;}case _0x5d8ed2[_0x525790(0x53c)]:{_0x3059c1=_0x48b028(_0xe1c733,_0x31e71b);break;}}const _0x19eb65=_0x447711(_0x3059c1,_0x31e71b),_0x420153=this[_0x525790(0x3cc)][_0x525790(0x291)](_0x5cceb8);if(_0x420153&&_0x19eb65){const _0x4c34c9={..._0x420153,'range':_0x19eb65};this[_0x525790(0x3cc)][_0x525790(0x244)](_0x5cceb8,_0x4c34c9),_0x268fa4(()=>{const _0x47f9aa=_0x525790,_0x5f2135=this[_0x47f9aa(0x2fd)][_0x47f9aa(0x472)](_0x19eb65,_0x5ad114=>(_0x5f2135[_0x47f9aa(0x4d7)](),_0x12c6f4(_0x5ad114,_0x5cceb8,_0x3db264,_0x19eb65)));_0xb25e3f[_0x47f9aa(0x214)](_0x5f2135);});}return{'redos':[],'undos':[]};};this[_0x57f80b(0x3cc)][_0x57f80b(0x3f0)]((_0x378c8c,_0x3264b5)=>{const _0x5787bb=_0x57f80b,{range:_0x581a3d,sheetID:_0x4d37fb}=_0x378c8c,_0x3410e8=this['_refRangeService']['registerRefRange'](_0x581a3d,_0x39c4be=>(_0x3410e8[_0x5787bb(0x4d7)](),_0x12c6f4(_0x39c4be,_0x3264b5,_0x4d37fb,_0x581a3d)));_0xb25e3f[_0x5787bb(0x214)](_0x3410e8);});};this[_0x6c1192(0x181)](_0x48b865(this['_cursorInfo$'][_0x6c1192(0x51f)](()=>{_0x42a01c();})));}[_0x354c00(0x21c)](){const _0x1dc11c=_0x354c00;var _0x22fb31,_0x59b6c7;if(this[_0x1dc11c(0x403)]=!0x0,((_0x22fb31=this[_0x1dc11c(0x429)][_0x1dc11c(0x3c7)]())==null?void 0x0:_0x22fb31[_0x1dc11c(0x191)]())!==this[_0x1dc11c(0x207)])return;const _0x2fd1f6=(_0x59b6c7=this[_0x1dc11c(0x199)][_0x1dc11c(0x291)](_0xfd201e)[_0x1dc11c(0x32a)]())==null?void 0x0:_0x59b6c7[0x0],_0x2251ca=this[_0x1dc11c(0x429)][_0x1dc11c(0x538)](_0x208af7[_0x1dc11c(0x1c5)])[_0x1dc11c(0x4be)]();_0x2fd1f6&&_0x2251ca&&this['_updateLocalCursor'](_0x2251ca[_0x1dc11c(0x238)](),_0x2fd1f6);}['_toggleOffline'](){const _0x3b680c=_0x354c00;this[_0x3b680c(0x403)]=!0x1;}};rs=Uo([Be(0x2,_0x1727eb(_0x5d0612)),Be(0x3,_0x1727eb(bs)),Be(0x4,_0x1727eb(Ne)),Be(0x5,_0x48d976),Be(0x6,_0xfbfaad),Be(0x7,_0x1727eb(_0x427b6f))],rs);var xo=Object['defineProperty'],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x1f90dd,_0x14c85f,_0x33572f,_0xb060e0)=>{const _0x1a9c57=_0x354c00;for(var _0x44fce5=_0xb060e0>0x1?void 0x0:_0xb060e0?Lo(_0x14c85f,_0x33572f):_0x14c85f,_0x39f881=_0x1f90dd[_0x1a9c57(0x2a0)]-0x1,_0x281745;_0x39f881>=0x0;_0x39f881--)(_0x281745=_0x1f90dd[_0x39f881])&&(_0x44fce5=(_0xb060e0?_0x281745(_0x14c85f,_0x33572f,_0x44fce5):_0x281745(_0x44fce5))||_0x44fce5);return _0xb060e0&&_0x44fce5&&xo(_0x14c85f,_0x33572f,_0x44fce5),_0x44fce5;},$t=(_0x416ece,_0x30632e)=>(_0x35ae07,_0x55bd6f)=>_0x30632e(_0x35ae07,_0x55bd6f,_0x416ece);let Ve=class extends _0x1bd493{constructor(_0x2bce36,_0x2b58c3,_0x2a8021){const _0x24729d=_0x354c00;super(),g(this,_0x24729d(0x1ea),new Map()),g(this,_0x24729d(0x3d9),new _0x3189d9()),(this[_0x24729d(0x429)]=_0x2bce36,this[_0x24729d(0x199)]=_0x2b58c3,this['_collabSessionService']=_0x2a8021,this[_0x24729d(0x536)]());}[_0x354c00(0x4d7)](){const _0x478842=_0x354c00;super[_0x478842(0x4d7)](),this[_0x478842(0x3d9)][_0x478842(0x367)](),this[_0x478842(0x1ea)][_0x478842(0x3f0)](_0x2b34cf=>_0x2b34cf[_0x478842(0x4d7)]());}['getCollabCursors$'](_0x483e57){const _0x29a3b1=_0x354c00;return this[_0x29a3b1(0x1ea)][_0x29a3b1(0x272)](_0x483e57)?this[_0x29a3b1(0x1ea)][_0x29a3b1(0x291)](_0x483e57)['cursorInfo$']:this['_entityInit$'][_0x29a3b1(0x43d)](_0x3de249(_0x2de77d=>_0x2de77d[_0x29a3b1(0x207)]===_0x483e57),_0x32daf9(_0x33a0f1=>_0x33a0f1[_0x29a3b1(0x20c)]));}[_0x354c00(0x536)](){const _0x267504=_0x354c00;this[_0x267504(0x429)]['getTypeOfUnitAdded$'](_0x208af7[_0x267504(0x1c5)])[_0x267504(0x43d)](_0x144dfb(this[_0x267504(0x14d)]))[_0x267504(0x51f)](async _0x2394ed=>{const _0x3e2cc0=_0x267504,_0x2cd65f=_0x2394ed[_0x3e2cc0(0x191)](),_0x590b67=await this['_startSheetCollabCursor'](_0x2cd65f);this[_0x3e2cc0(0x3d9)][_0x3e2cc0(0x2df)](_0x590b67),this['_entities'][_0x3e2cc0(0x244)](_0x2cd65f,_0x590b67);}),this['_univerInstanceService'][_0x267504(0x319)](_0x208af7[_0x267504(0x461)])[_0x267504(0x43d)](_0x144dfb(this[_0x267504(0x14d)]))[_0x267504(0x43d)](_0x3de249(_0x57aff5=>!_0x57aff5['getUnitId']()[_0x267504(0x3dc)]('__')))['subscribe'](async _0x3780a1=>{const _0x1c0c29=_0x267504,_0xd1908=_0x3780a1[_0x1c0c29(0x191)](),_0x32a103=await this['_startDocCollabCursor'](_0xd1908);this[_0x1c0c29(0x3d9)][_0x1c0c29(0x2df)](_0x32a103),this['_entities'][_0x1c0c29(0x244)](_0xd1908,_0x32a103);}),_0x32fe1c(this[_0x267504(0x429)]['getTypeOfUnitDisposed$'](_0x208af7['UNIVER_DOC']),this[_0x267504(0x429)]['getTypeOfUnitDisposed$'](_0x208af7['UNIVER_SHEET']))[_0x267504(0x43d)](_0x144dfb(this[_0x267504(0x14d)]))[_0x267504(0x51f)](_0x41d994=>{const _0x3894a5=_0x267504,_0x4325b3=_0x41d994[_0x3894a5(0x191)](),_0x58b96f=this[_0x3894a5(0x1ea)]['get'](_0x4325b3);_0x58b96f&&(_0x58b96f[_0x3894a5(0x4d7)](),this[_0x3894a5(0x1ea)][_0x3894a5(0x361)](_0x4325b3));});}async[_0x354c00(0x460)](_0x5a372f){const _0x5e6da4=_0x354c00,_0x30c4a5=await this['_collabSessionService'][_0x5e6da4(0x4f1)](_0x5a372f),_0x191730=this['_injector'][_0x5e6da4(0x348)](rs,_0x5a372f,_0x30c4a5);return _0x191730[_0x5e6da4(0x4cf)](),_0x191730;}async[_0x354c00(0x3f8)](_0x4114b9){const _0xd87803=_0x354c00,_0x3f753c=await this['_collabSessionService']['requireSession'](_0x4114b9),_0x25162e=this[_0xd87803(0x199)][_0xd87803(0x348)](ns,_0x4114b9,_0x3f753c);return _0x25162e['init'](),_0x25162e;}};Ve=$o([$t(0x0,_0x48d976),$t(0x1,_0x1727eb(_0x5d0612)),$t(0x2,_0x1727eb(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x5a58d7,_0x28daaa){const _0x38ff38=_0x354c00;let {radius:_0x2aab16,width:_0x47f729,height:_0x4ecdec}=_0x28daaa;_0x2aab16=_0x2aab16!=null?_0x2aab16:0x0,_0x47f729=_0x47f729!=null?_0x47f729:0x1e,_0x4ecdec=_0x4ecdec!=null?_0x4ecdec:0x1e;let _0x157600=0x0,_0x567cb6=0x0,_0x551203=0x0;_0x157600=_0x567cb6=_0x551203=Math['min'](_0x2aab16,_0x47f729/0x2,_0x4ecdec/0x2),_0x5a58d7[_0x38ff38(0x339)](),_0x5a58d7[_0x38ff38(0x17e)](_0x157600,0x0),_0x5a58d7[_0x38ff38(0x311)](_0x47f729-_0x567cb6,0x0),_0x5a58d7[_0x38ff38(0x3be)](_0x47f729-_0x567cb6,_0x567cb6,_0x567cb6,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a58d7[_0x38ff38(0x311)](_0x47f729,_0x4ecdec-_0x551203),_0x5a58d7[_0x38ff38(0x3be)](_0x47f729-_0x551203,_0x4ecdec-_0x551203,_0x551203,0x0,Math['PI']/0x2,!0x1),_0x5a58d7[_0x38ff38(0x311)](0x0,_0x4ecdec),_0x5a58d7[_0x38ff38(0x311)](0x0,_0x157600),_0x5a58d7[_0x38ff38(0x3be)](_0x157600,_0x157600,_0x157600,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a58d7[_0x38ff38(0x144)](),_0x28daaa[_0x38ff38(0x552)]&&(_0x5a58d7[_0x38ff38(0x312)](),_0x5a58d7[_0x38ff38(0x355)]=_0x28daaa[_0x38ff38(0x552)],_0x28daaa[_0x38ff38(0x509)]===_0x38ff38(0x34e)?_0x5a58d7[_0x38ff38(0x552)](_0x38ff38(0x34e)):_0x5a58d7[_0x38ff38(0x552)](),_0x5a58d7[_0x38ff38(0x544)]());}class yt extends _0x361298{constructor(_0x20ea61,_0x307ed6){const _0x3944f3=_0x354c00;super(_0x20ea61,_0x307ed6),g(this,_0x3944f3(0x3f3)),g(this,_0x3944f3(0x257)),(this[_0x3944f3(0x3f3)]=_0x307ed6==null?void 0x0:_0x307ed6[_0x3944f3(0x3f3)],this[_0x3944f3(0x257)]=_0x307ed6==null?void 0x0:_0x307ed6[_0x3944f3(0x257)]);}static[_0x354c00(0x41c)](_0x4466b1,_0x51f3fe){const _0x2e48e8=_0x354c00,{text:_0x41d8d5,color:_0x445fa6}=_0x51f3fe;_0x4466b1[_0x2e48e8(0x312)](),_0x4466b1['font']=_0x2e48e8(0x1d1);const _0x543e5e=_0x4466b1[_0x2e48e8(0x30b)](_0x41d8d5)[_0x2e48e8(0x337)],_0x56b37b=Math['min'](_0x543e5e+0x2*Ht,Ys);jo(_0x4466b1,{'height':nt,'radius':0x4,'width':_0x56b37b,'fill':_0x445fa6,'evented':!0x1}),_0x4466b1[_0x2e48e8(0x355)]=_0x2e48e8(0x3d0);const _0x1a32f8=Ht,_0x139de7=nt-Ho,_0x5ca64a=Ys-0x2*Ht;if(_0x543e5e>_0x5ca64a){let _0x498b35='',_0x222bfa=0x0;for(const _0x31e66e of _0x41d8d5){const _0x4ddfa0=_0x4466b1[_0x2e48e8(0x30b)](_0x31e66e)[_0x2e48e8(0x337)];if(_0x222bfa+_0x4ddfa0<=_0x5ca64a-_0x4466b1[_0x2e48e8(0x30b)](_0x2e48e8(0x4e4))['width'])_0x498b35+=_0x31e66e,_0x222bfa+=_0x4ddfa0;else{_0x498b35+=_0x2e48e8(0x4e4);break;}}_0x4466b1[_0x2e48e8(0x32b)](_0x498b35,_0x1a32f8,_0x139de7);}else _0x4466b1[_0x2e48e8(0x32b)](_0x41d8d5,_0x1a32f8,_0x139de7);_0x4466b1[_0x2e48e8(0x544)]();}[_0x354c00(0x21e)](_0x48c15e){const _0x4b4a2f=_0x354c00;yt[_0x4b4a2f(0x41c)](_0x48c15e,this);}}const jt=_0x354c00(0x15b),Bo=_0x354c00(0x300),ko=_0x354c00(0x258),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x354c00(0x2d0);class Ks{constructor(_0x14f9c3,_0x49de56,_0x5ee661,_0x354b97){const _0xd49fcb=_0x354c00;g(this,'_shapes',[]),g(this,'_anchor',null),g(this,_0xd49fcb(0x194),null),g(this,_0xd49fcb(0x31b),null),g(this,_0xd49fcb(0x1c7),null),g(this,'_eventUnsubscribe',null),(this['_cursor']=_0x14f9c3,this[_0xd49fcb(0x39b)]=_0x49de56,this[_0xd49fcb(0x4c8)]=_0x5ee661,this[_0xd49fcb(0x4e8)]=_0x354b97,this[_0xd49fcb(0x292)]());}set[_0x354c00(0x2a6)](_0x1e5622){const _0x1e90f4=_0x354c00;_0x1e5622?(this['_anchorDot']&&this[_0x1e90f4(0x31b)][_0x1e90f4(0x1ab)](),this['_textBubble']&&this[_0x1e90f4(0x194)][_0x1e90f4(0x24e)]()):(this[_0x1e90f4(0x31b)]&&this[_0x1e90f4(0x31b)][_0x1e90f4(0x24e)](),this['_textBubble']&&this[_0x1e90f4(0x194)][_0x1e90f4(0x1ab)]());}['dispose'](){const _0x2140ea=_0x354c00;for(const _0x49ad66 of this[_0x2140ea(0x46b)])_0x49ad66['dispose']();this['_textBubble']&&this['_textBubble'][_0x2140ea(0x4d7)](),this['_anchorDot']&&this['_anchorDot'][_0x2140ea(0x4d7)](),this[_0x2140ea(0x51d)]&&this[_0x2140ea(0x51d)][_0x2140ea(0x4d7)](),this[_0x2140ea(0x352)]&&this[_0x2140ea(0x352)]();}['_render'](){const _0x3a5048=_0x354c00;var _0x1a2675;const {_docSkeleton:_0x32eda5,_document:_0x43fdf0}=this,{color:_0x300616,name:_0x5bd8c4,ranges:_0x25ef52}=this[_0x3a5048(0x444)],_0x1378e8=_0x43fdf0[_0x3a5048(0x2bd)](),{docsLeft:_0x46b993,docsTop:_0x2bed50}=_0x1378e8,_0x2786db=new _0x183683(_0x1378e8,_0x32eda5);for(const {startOffset:_0x3cba82,endOffset:_0x1295f3,rangeType:_0x10d39d,segmentId:_0x55def2,segmentPage:_0x46dd65,collapsed:_0x426d3f,isActive:_0x51f992}of _0x25ef52){const _0x2f86fb=_0x32eda5[_0x3a5048(0x527)](_0x3cba82,!0x0,_0x55def2,_0x46dd65);let _0xf6ef88=_0x32eda5[_0x3a5048(0x527)](_0x1295f3,!0x0,_0x55def2,_0x46dd65);if(_0xf6ef88==null&&(_0xf6ef88=_0x32eda5[_0x3a5048(0x527)](_0x1295f3-0x1,!0x1,_0x55def2,_0x46dd65)),_0x51f992){const {contentBoxPointGroup:_0x25a43e}=_0x2786db[_0x3a5048(0x419)](_0xf6ef88,_0xf6ef88);if(_0x25a43e[_0x3a5048(0x2a0)]===0x0)continue;this['_drawAnchor'](_0x300616,_0x25a43e,_0x46b993,_0x2bed50,_0x5bd8c4),this[_0x3a5048(0x352)]=this[_0x3a5048(0x3a3)]();}if(_0x2f86fb&&_0xf6ef88){if(_0x10d39d===_0x31810f[_0x3a5048(0x151)]){const _0x4f6369=new _0x4f5085(_0x1378e8,_0x32eda5),{pointGroup:_0x31e69d}=(_0x1a2675=_0x4f6369[_0x3a5048(0x419)](_0x2f86fb,_0xf6ef88))!=null?_0x1a2675:{};if(_0x31e69d==null||_0x31e69d[_0x3a5048(0x2a0)]===0x0)continue;this[_0x3a5048(0x4e9)](_0x300616,_0x31e69d,_0x46b993,_0x2bed50);}else{if(!_0x426d3f){const {borderBoxPointGroup:_0x164494}=_0x2786db[_0x3a5048(0x419)](_0x2f86fb,_0xf6ef88);if(_0x164494[_0x3a5048(0x2a0)]===0x0)continue;this['_drawTextRange'](_0x300616,_0x164494,_0x46b993,_0x2bed50);}}}}}[_0x354c00(0x454)](_0x10772b,_0x1a58fa,_0x25f422,_0x13f863,_0x5924fa){const _0x342dd5=_0x354c00,_0x2cfa31=this[_0x342dd5(0x2fb)](_0x1a58fa),{left:_0x94da4b,top:_0x4a1429,height:_0x569c40}=_0x2cfa31,_0x4b4004=this[_0x342dd5(0x2e7)](),_0x5b744e=Fo/_0x4b4004,_0x3ee81c=new _0x4d9978(jt+_0x4127e3[_0x342dd5(0x424)](Je),{'left':_0x94da4b+_0x25f422-_0x5b744e,'top':_0x4a1429+_0x13f863,'height':_0x569c40,'width':Wo,'fill':_0x10772b||_0x376e65(_0x3d216b[_0x342dd5(0x508)],0x0),'strokeWidth':_0x5b744e,'stroke':Vo,'evented':!0x0});this[_0x342dd5(0x51d)]=_0x3ee81c,this['_scene'][_0x342dd5(0x316)](_0x3ee81c,_0x3ac314);const _0x2b74e4=new _0x4d9978(jt+_0x4127e3['generateRandomId'](Je),{'left':_0x94da4b+_0x25f422-_0x5b744e,'top':_0x4a1429+_0x13f863-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x10772b||_0x376e65(_0x3d216b[_0x342dd5(0x508)],0x0),'strokeWidth':0x0,'stroke':_0x10772b||_0x376e65(_0x3d216b[_0x342dd5(0x508)],0x0),'evented':!0x1});this[_0x342dd5(0x31b)]=_0x2b74e4,this['_scene'][_0x342dd5(0x316)](_0x2b74e4,_0x3ac314);const _0x12c531=new yt(jt+_0x4127e3[_0x342dd5(0x424)](Je),{'left':_0x94da4b+_0x25f422-_0x5b744e,'top':_0x4a1429+_0x13f863-nt,'text':_0x5924fa,'color':_0x10772b});this[_0x342dd5(0x194)]=_0x12c531,this['_scene']['addObject'](_0x12c531,_0x3ac314),this[_0x342dd5(0x2a6)]=!0x1;}[_0x354c00(0x3a3)](){const _0x430699=_0x354c00,_0x1dcca1=this[_0x430699(0x51d)][_0x430699(0x40d)][_0x430699(0x1ee)](()=>{const _0x5f88a8=_0x430699;this[_0x5f88a8(0x2a6)]=!0x0;}),_0x3bc1e2=this[_0x430699(0x51d)][_0x430699(0x391)]['subscribeEvent'](()=>{const _0x45a9d1=_0x430699;this[_0x45a9d1(0x1c7)]&&clearTimeout(this[_0x45a9d1(0x1c7)]),this['_hideTimer']=setTimeout(()=>{const _0x112d51=_0x45a9d1;this[_0x112d51(0x2a6)]=!0x1;},0x7d0);});return()=>{const _0x474867=_0x430699;_0x1dcca1['unsubscribe'](),_0x3bc1e2[_0x474867(0x4fa)]();};}[_0x354c00(0x44d)](_0x1d00b8,_0x18b9e1,_0x577619,_0x4662ec){const _0x48de79=_0x354c00,_0x39b69a=new _0x3ee1d4(_0x1d00b8)[_0x48de79(0x532)](0.2)[_0x48de79(0x48d)](),_0x241fd5=new _0x351e9f(Bo+_0x4127e3['generateRandomId'](Je),{'pointsGroup':_0x18b9e1,'fill':_0x39b69a||_0x376e65(_0x3d216b['black'],0.2),'left':_0x577619,'top':_0x4662ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48de79(0x46b)][_0x48de79(0x301)](_0x241fd5),this[_0x48de79(0x39b)][_0x48de79(0x316)](_0x241fd5,_0x3ac314);}[_0x354c00(0x4e9)](_0x1965cf,_0x30e849,_0x197d45,_0x3cea42){const _0x16d6e7=_0x354c00,_0x1a9a3c=new _0x3ee1d4(_0x1965cf)['setAlpha'](0.2)[_0x16d6e7(0x48d)](),_0x426ec3=new _0x351e9f(ko+_0x4127e3[_0x16d6e7(0x424)](Je),{'pointsGroup':_0x30e849,'fill':_0x1a9a3c||_0x376e65(_0x3d216b[_0x16d6e7(0x508)],0.2),'left':_0x197d45,'top':_0x3cea42,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x16d6e7(0x46b)]['push'](_0x426ec3),this[_0x16d6e7(0x39b)][_0x16d6e7(0x316)](_0x426ec3,_0x3ac314);}[_0x354c00(0x2fb)](_0x423c6d){const _0x2f4d1e=_0x423c6d[0x0],_0x2c3626=_0x2f4d1e[0x0],_0x3d48d8=_0x2f4d1e[0x2],{x:_0x12cb38,y:_0x5a482b}=_0x2c3626,{x:_0x4b5254,y:_0x4f764c}=_0x3d48d8;return{'left':_0x12cb38,'top':_0x5a482b,'width':_0x4b5254-_0x12cb38,'height':_0x4f764c-_0x5a482b};}[_0x354c00(0x2e7)](){const _0x297f8d=_0x354c00,{scaleX:_0x581d0a,scaleY:_0x1dc0ac}=this['_scene'][_0x297f8d(0x1d8)]();return Math[_0x297f8d(0x362)](_0x581d0a,_0x1dc0ac);}}var Go=Object[_0x354c00(0x3cf)],Yo=Object[_0x354c00(0x20e)],Ko=(_0x85a08c,_0x3f719c,_0x216802,_0x48dcde)=>{const _0x20b776=_0x354c00;for(var _0x54e9fd=_0x48dcde>0x1?void 0x0:_0x48dcde?Yo(_0x3f719c,_0x216802):_0x3f719c,_0x67dbbe=_0x85a08c[_0x20b776(0x2a0)]-0x1,_0x1029d5;_0x67dbbe>=0x0;_0x67dbbe--)(_0x1029d5=_0x85a08c[_0x67dbbe])&&(_0x54e9fd=(_0x48dcde?_0x1029d5(_0x3f719c,_0x216802,_0x54e9fd):_0x1029d5(_0x54e9fd))||_0x54e9fd);return _0x48dcde&&_0x54e9fd&&Go(_0x3f719c,_0x216802,_0x54e9fd),_0x54e9fd;},ct=(_0x492531,_0x56cea4)=>(_0x324656,_0x534cea)=>_0x56cea4(_0x324656,_0x534cea,_0x492531);let os=class extends _0x1bd493{constructor(_0x542ee,_0xf3bf20,_0x71fbb1,_0x3f4975,_0x3978dd){const _0x354328=_0x354c00;super(),g(this,_0x354328(0x328),[]),g(this,_0x354328(0x4bb),[]),(this['_context']=_0x542ee,this['_docSkeletonManagerService']=_0xf3bf20,this[_0x354328(0x2b4)]=_0x71fbb1,this[_0x354328(0x3fc)]=_0x3f4975,this[_0x354328(0x44c)]=_0x3978dd,this[_0x354328(0x536)]());}[_0x354c00(0x536)](){const _0x19793=_0x354c00,_0x4a7fb1=this['_context']['unitId'],_0x419d85=this[_0x19793(0x28c)];this[_0x19793(0x181)](_0x26ee51([this[_0x19793(0x2b4)]['getCollabCursors$'](_0x4a7fb1),this[_0x19793(0x44c)][_0x19793(0x20f)]])[_0x19793(0x43d)](_0x416fe6(([_0x24ac40,_0x2f1aa9])=>({'skeleton':_0x419d85[_0x19793(0x42d)](),'cursors':[..._0x24ac40['values']()][_0x19793(0x490)](_0x153695=>({..._0x153695,'color':_0x2f1aa9[_0x153695['color']]}))})))[_0x19793(0x51f)](_0x16edf8=>{const _0x3e439d=_0x19793;if(this['_removeCollabCursors'](),_0x16edf8){const {skeleton:_0x229363,cursors:_0x4adaa1}=_0x16edf8;this[_0x3e439d(0x289)](_0x229363,_0x4adaa1);}})),this[_0x19793(0x41d)](),this[_0x19793(0x172)]();}[_0x354c00(0x289)](_0xa416d9,_0x2af698){const _0x4f5acb=_0x354c00,{scene:_0x17f9bd,mainComponent:_0x23bc68}=this[_0x4f5acb(0x25d)],_0x2e704f=_0x2af698[_0x4f5acb(0x4e6)](_0x18be4c=>new Ks(_0x18be4c,_0x17f9bd,_0xa416d9,_0x23bc68));this[_0x4f5acb(0x328)]=_0x2e704f,this[_0x4f5acb(0x4bb)]=_0x2af698;}[_0x354c00(0x4d9)](){const _0x997223=_0x354c00;this[_0x997223(0x1fa)]();const {scene:_0x51fbfd,mainComponent:_0x30dfa8}=this[_0x997223(0x25d)],_0x279716=this['_docSkeletonManagerService']['getSkeleton'](),_0x174fb5=this[_0x997223(0x4bb)][_0x997223(0x4e6)](_0x34ae0d=>new Ks(_0x34ae0d,_0x51fbfd,_0x279716,_0x30dfa8));this[_0x997223(0x328)]=_0x174fb5;}['_removeCollabCursors'](){const _0x3c678f=_0x354c00;this['_cursorShapes'][_0x3c678f(0x3f0)](_0x9a76d7=>_0x9a76d7[_0x3c678f(0x4d7)]()),this['_cursorShapes']=[];}[_0x354c00(0x172)](){const _0x2a97cf=_0x354c00,_0xaf0172=[_0x21a036['id']];this[_0x2a97cf(0x181)](this[_0x2a97cf(0x3fc)][_0x2a97cf(0x4ba)](_0x22ec54=>{const _0x533bd0=_0x2a97cf;_0xaf0172['includes'](_0x22ec54['id'])&&_0x22ec54[_0x533bd0(0x220)]['unitId']===this[_0x533bd0(0x25d)][_0x533bd0(0x315)]&&this[_0x533bd0(0x4d9)]();}));}[_0x354c00(0x41d)](){const _0x12ee44=_0x354c00;this['disposeWithMe'](_0x5dc8db(this['_context'][_0x12ee44(0x26b)][_0x12ee44(0x1f5)])[_0x12ee44(0x43d)](_0x34bcfb(_0x46bfdf=>_0x46bfdf[_0x12ee44(0x260)]===_0x4b6802[_0x12ee44(0x1d9)]),_0x466658(0x10))[_0x12ee44(0x51f)](()=>{const _0x4bd996=_0x12ee44;this[_0x4bd996(0x4d9)]();}));}};os=Ko([ct(0x1,_0x1727eb(_0x2cdfc6)),ct(0x2,_0x1727eb(Ve)),ct(0x3,_0xfbfaad),ct(0x4,_0x1727eb(_0x45a9b5))],os);const zo=0x1,qo=1.5;class Xo extends _0x361298{constructor(_0x5af5b9,_0x534298){const _0x43ee43=_0x354c00;super(_0x5af5b9,_0x534298),g(this,_0x43ee43(0x33b)),g(this,_0x43ee43(0x335),!0x1),g(this,'_range'),g(this,_0x43ee43(0x3bf),''),g(this,'_labelPosition',_0x43ee43(0x2a7)),g(this,'_backgroundColor'),(_0x534298&&this['setShapeProps'](_0x534298),this[_0x43ee43(0x40d)][_0x43ee43(0x1ee)](()=>this[_0x43ee43(0x445)]({'hovered':!0x0})),this['onPointerLeave$'][_0x43ee43(0x1ee)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x354c00(0x445)](_0xd9c036){const _0x90d2a3=_0x354c00;var _0x2b3e13,_0x2a9259,_0xd41691,_0x7b0493,_0x4167b9,_0x45675b;this[_0x90d2a3(0x33b)]=(_0x2b3e13=_0xd9c036['color'])!=null?_0x2b3e13:this[_0x90d2a3(0x33b)],this[_0x90d2a3(0x335)]=(_0x2a9259=_0xd9c036[_0x90d2a3(0x479)])!=null?_0x2a9259:this[_0x90d2a3(0x335)],this[_0x90d2a3(0x1da)]=(_0xd41691=_0xd9c036[_0x90d2a3(0x146)])!=null?_0xd41691:this['_range'],this[_0x90d2a3(0x3bf)]=(_0x7b0493=_0xd9c036[_0x90d2a3(0x276)])!=null?_0x7b0493:this['_name'],this[_0x90d2a3(0x3ed)]=(_0x4167b9=_0xd9c036[_0x90d2a3(0x45c)])!=null?_0x4167b9:this['_labelPosition'],this[_0x90d2a3(0x1f7)]=(_0x45675b=_0xd9c036['backgroundColor'])!=null?_0x45675b:this['_backgroundColor'],this[_0x90d2a3(0x190)]({'width':_0xd9c036[_0x90d2a3(0x337)],'height':_0xd9c036[_0x90d2a3(0x494)]});}[_0x354c00(0x15f)](_0xeb1d8b){const _0x2aa93e=_0x354c00,{row:_0x333583,column:_0x184d4a}=_0xeb1d8b;if(_0x333583>=this[_0x2aa93e(0x1da)][_0x2aa93e(0x531)]&&_0x333583<=this[_0x2aa93e(0x1da)][_0x2aa93e(0x183)]&&_0x184d4a>=this['_range'][_0x2aa93e(0x2b2)]&&_0x184d4a<=this['_range'][_0x2aa93e(0x493)]){this[_0x2aa93e(0x445)]({'hovered':!0x0});return;}this[_0x2aa93e(0x445)]({'hovered':!0x1});}[_0x354c00(0x33a)](_0x247565){return!0x1;}[_0x354c00(0x21e)](_0x19a395){const _0x1f51b4=_0x354c00;_0x4d9978['drawWith'](_0x19a395,{'width':this[_0x1f51b4(0x337)],'height':this[_0x1f51b4(0x494)],'strokeWidth':qo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1f51b4(0x1f7)]}),this[_0x1f51b4(0x335)]&&(_0x19a395[_0x1f51b4(0x312)](),_0x19a395[_0x1f51b4(0x1e6)](0x1,0x0,0x0,0x1,this[_0x1f51b4(0x337)],this[_0x1f51b4(0x3ed)]===_0x1f51b4(0x368)?0x0:-nt),yt['drawWith'](_0x19a395,{'text':this['_name'],'color':this[_0x1f51b4(0x33b)]}),_0x19a395[_0x1f51b4(0x544)]());}}var Jo=Object['defineProperty'],Zo=Object[_0x354c00(0x20e)],Qo=(_0x298099,_0x2f500c,_0x3a5fc7,_0x250c8b)=>{const _0x4fc1ce=_0x354c00;for(var _0x4a69a9=_0x250c8b>0x1?void 0x0:_0x250c8b?Zo(_0x2f500c,_0x3a5fc7):_0x2f500c,_0x32da11=_0x298099[_0x4fc1ce(0x2a0)]-0x1,_0x1d3789;_0x32da11>=0x0;_0x32da11--)(_0x1d3789=_0x298099[_0x32da11])&&(_0x4a69a9=(_0x250c8b?_0x1d3789(_0x2f500c,_0x3a5fc7,_0x4a69a9):_0x1d3789(_0x4a69a9))||_0x4a69a9);return _0x250c8b&&_0x4a69a9&&Jo(_0x2f500c,_0x3a5fc7,_0x4a69a9),_0x4a69a9;},kt=(_0x42bc13,_0x3da186)=>(_0x1e7e60,_0x9bbf19)=>_0x3da186(_0x1e7e60,_0x9bbf19,_0x42bc13);const ea=0x1389;let as=class extends _0x1bd493{constructor(_0x34776c,_0x1a4bde,_0x2b6eac,_0x315072){const _0x524592=_0x354c00;super(),g(this,_0x524592(0x4bb),new Set()),g(this,'_lastPointer',null),(this[_0x524592(0x25d)]=_0x34776c,this[_0x524592(0x541)]=_0x1a4bde,this[_0x524592(0x2b4)]=_0x2b6eac,this[_0x524592(0x44c)]=_0x315072,this['_init']());}[_0x354c00(0x536)](){const _0x5e8e45=_0x354c00;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5e8e45(0x43d)](_0x53e684(this[_0x5e8e45(0x14d)]),_0x203a58(_0x51fe3c=>{const _0x175fae=_0x5e8e45;if(_0x51fe3c){const _0x1b09cd=_0x51fe3c[_0x175fae(0x240)];return _0x26ee51(this[_0x175fae(0x2b4)][_0x175fae(0x496)](this['_context']['unitId']),this[_0x175fae(0x44c)][_0x175fae(0x20f)])[_0x175fae(0x43d)](_0x416fe6(([_0xe14101,_0xfff2f9])=>{const _0xb0356e=_0x175fae,_0x38f847=new Map();return _0xe14101[_0xb0356e(0x3f0)]((_0x1c6623,_0x5ee7cc)=>{const _0x37421f=_0xb0356e;if(_0x1c6623[_0x37421f(0x186)]===_0x1b09cd){const _0x2f3d8b={..._0x1c6623};_0x2f3d8b[_0x37421f(0x3f3)]=_0xfff2f9[_0x1c6623['color']],_0x38f847[_0x37421f(0x244)](_0x5ee7cc,_0x2f3d8b);}}),{'skeleton':_0x51fe3c,'cursors':_0x38f847};}));}return _0x517049({'skeleton':null,'cursors':new Map()});}))[_0x5e8e45(0x51f)](({skeleton:_0x402b71,cursors:_0x402479})=>{const _0x3d65c8=_0x5e8e45;this['_removeCollabCursors'](),_0x402b71&&this[_0x3d65c8(0x289)](_0x402b71,_0x402479);}),this[_0x5e8e45(0x541)][_0x5e8e45(0x163)][_0x5e8e45(0x51f)](_0x4c1240=>{const _0x19e43d=_0x5e8e45;if(_0x4c1240==null)return;const {skeleton:_0x47f669}=_0x4c1240,{scene:_0x363b6b}=this['_context'];_0x363b6b['onPointerMove$'][_0x19e43d(0x1ee)](_0x3cf277(_0x5079b0=>{const _0x443a21=_0x19e43d;var _0xb742cd,_0xad40f3;const {offsetX:_0x25c2b6,offsetY:_0x15ada1}=_0x5079b0,{x:_0x4a5ef0,y:_0xc87d11}=_0x363b6b[_0x443a21(0x48e)](_0x1e515e[_0x443a21(0x477)]([_0x25c2b6,_0x15ada1])),{scaleX:_0x291f80,scaleY:_0x5a6534}=_0x363b6b['getAncestorScale'](),_0x1c4ff9=_0x363b6b[_0x443a21(0x4bf)](_0x1bae0e[_0x443a21(0x39f)]),_0x2e4f03=_0x363b6b[_0x443a21(0x2e6)](_0x1e515e[_0x443a21(0x477)]([_0x4a5ef0,_0xc87d11]),_0x1c4ff9),_0x2c37d5=_0x47f669['getCellPositionByOffset'](_0x25c2b6,_0x15ada1,_0x291f80,_0x5a6534,_0x2e4f03);((_0xb742cd=this[_0x443a21(0x297)])==null?void 0x0:_0xb742cd[_0x443a21(0x38b)])===_0x2c37d5[_0x443a21(0x38b)]&&((_0xad40f3=this[_0x443a21(0x297)])==null?void 0x0:_0xad40f3[_0x443a21(0x333)])===_0x2c37d5[_0x443a21(0x333)]||this['_cursors'][_0x443a21(0x3f0)](_0x42427a=>{const _0x2edd9f=_0x443a21;_0x42427a[_0x2edd9f(0x15f)](_0x2c37d5);});},0x64));});}[_0x354c00(0x289)](_0x2ad969,_0x8076ef){const _0x1154a3=_0x354c00;var _0x3da850;const _0x1e6451=(_0x3da850=this[_0x1154a3(0x541)][_0x1154a3(0x483)]())==null?void 0x0:_0x3da850[_0x1154a3(0x523)];if(!_0x1e6451)return;const _0x409a98=this['_getSheetObject']();if(!_0x409a98)return;this[_0x1154a3(0x4bb)]['forEach'](_0x17cdca=>{const _0x5afeeb=_0x1154a3;_0x17cdca[_0x5afeeb(0x519)]();});const {scene:_0x10e139}=_0x409a98,_0x516593=ta(Array[_0x1154a3(0x29a)](_0x8076ef[_0x1154a3(0x211)]()))[_0x1154a3(0x4e6)](_0x2aec1a=>{const _0x4effc4=_0x1154a3,{color:_0x3758bd,range:_0x4d2f3d,name:_0x5a13aa,selection:_0x23edc3,sheetID:_0x394935}=_0x2aec1a,{startColumn:_0x1f2625,startRow:_0x2444cb,endColumn:_0xe493f5,endRow:_0x1e8fc4}=_0x4d2f3d,_0xe72347=_0x452ad9(_0x2444cb,_0x1f2625,_0x10e139,_0x1e6451),_0x3c70c7=_0x452ad9(_0x1e8fc4,_0xe493f5,_0x10e139,_0x1e6451),{columnHeaderHeightAndMarginTop:_0x2c4349}=_0x1e6451,{startX:_0x5065b9,startY:_0x597929}=_0xe72347,{endX:_0x131d13,endY:_0x405939}=_0x3c70c7,_0x1a6bd4=_0x131d13-_0x5065b9,_0x221465=_0x405939-_0x597929,_0x9f4d43={'labelPosition':_0x597929-_0x2c4349>=nt?_0x4effc4(0x2a7):_0x4effc4(0x368),'sheetID':_0x394935,'range':_0x4d2f3d,'color':_0x3758bd,'name':_0x5a13aa,'selection':_0x23edc3,'left':_0x5065b9,'top':_0x597929,'width':_0x1a6bd4,'height':_0x221465,'evented':!0x1,'zIndex':ea};return new Xo(_0x5a13aa,_0x9f4d43);});_0x10e139[_0x1154a3(0x452)](_0x516593,zo),this[_0x1154a3(0x4bb)]=new Set(_0x516593);}[_0x354c00(0x1fa)](){const _0x513ac9=_0x354c00;var _0x2b744d;(_0x2b744d=this[_0x513ac9(0x4bb)])==null||_0x2b744d[_0x513ac9(0x3f0)](_0x417fa8=>_0x417fa8[_0x513ac9(0x4d7)]());}[_0x354c00(0x4ae)](){const _0x5ae8c7=_0x354c00;return _0x462d92(this[_0x5ae8c7(0x25d)][_0x5ae8c7(0x2c9)],this[_0x5ae8c7(0x25d)]);}};as=Qo([kt(0x1,_0x1727eb(_0x17de71)),kt(0x2,_0x1727eb(Ve)),kt(0x3,_0x1727eb(_0x45a9b5))],as);function ta(_0x21ed4d){const _0x5a0b2a=_0x354c00,_0x1ab75d=new Map();return _0x21ed4d[_0x5a0b2a(0x3f0)](_0xd97f92=>{const _0x3f514b=_0x5a0b2a;if(_0x1ab75d['has'](_0xd97f92[_0x3f514b(0x17b)])){const _0x1ca72a=_0x1ab75d[_0x3f514b(0x291)](_0xd97f92[_0x3f514b(0x17b)]);_0x1ca72a[_0x3f514b(0x276)]+=',\x20'+_0xd97f92[_0x3f514b(0x276)];}else _0x1ab75d[_0x3f514b(0x244)](_0xd97f92[_0x3f514b(0x17b)],_0xd97f92);}),Array['from'](_0x1ab75d[_0x5a0b2a(0x211)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x2ca9e6){const _0x229918=_0x354c00;return _0x2ca9e6&&_0x2ca9e6[_0x229918(0x438)]&&Object['prototype']['hasOwnProperty'][_0x229918(0x1a6)](_0x2ca9e6,_0x229918(0x388))?_0x2ca9e6[_0x229918(0x388)]:_0x2ca9e6;}var Mi={'exports':{}},Ot={},sa=_0x2c8d7a,ia=Symbol[_0x354c00(0x1bc)](_0x354c00(0x2ed)),na=Symbol['for'](_0x354c00(0x17c)),ra=Object[_0x354c00(0x197)][_0x354c00(0x2af)],oa=sa[_0x354c00(0x4e5)][_0x354c00(0x55d)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x20876e,_0x3bda7a,_0x1e42b9){const _0x43dff3=_0x354c00;var _0x2e8a66,_0x1b1470={},_0x278904=null,_0x3c9cc3=null;_0x1e42b9!==void 0x0&&(_0x278904=''+_0x1e42b9),_0x3bda7a[_0x43dff3(0x45f)]!==void 0x0&&(_0x278904=''+_0x3bda7a[_0x43dff3(0x45f)]),_0x3bda7a['ref']!==void 0x0&&(_0x3c9cc3=_0x3bda7a[_0x43dff3(0x4dd)]);for(_0x2e8a66 in _0x3bda7a)ra[_0x43dff3(0x1a6)](_0x3bda7a,_0x2e8a66)&&!aa[_0x43dff3(0x2af)](_0x2e8a66)&&(_0x1b1470[_0x2e8a66]=_0x3bda7a[_0x2e8a66]);if(_0x20876e&&_0x20876e['defaultProps']){for(_0x2e8a66 in(_0x3bda7a=_0x20876e[_0x43dff3(0x487)],_0x3bda7a))_0x1b1470[_0x2e8a66]===void 0x0&&(_0x1b1470[_0x2e8a66]=_0x3bda7a[_0x2e8a66]);}return{'$$typeof':ia,'type':_0x20876e,'key':_0x278904,'ref':_0x3c9cc3,'props':_0x1b1470,'_owner':oa[_0x43dff3(0x222)]};}Ot['Fragment']=na,Ot['jsx']=xi,Ot[_0x354c00(0x281)]=xi,Mi[_0x354c00(0x4a6)]=Ot;var we=Mi[_0x354c00(0x4a6)],ee=function(){const _0x1dd3df=_0x354c00;return ee=Object[_0x1dd3df(0x16b)]||function(_0x309728){const _0x1558c3=_0x1dd3df;for(var _0x519c14,_0xb2172a=0x1,_0x440d44=arguments[_0x1558c3(0x2a0)];_0xb2172a<_0x440d44;_0xb2172a++){_0x519c14=arguments[_0xb2172a];for(var _0x55329e in _0x519c14)Object[_0x1558c3(0x197)][_0x1558c3(0x2af)][_0x1558c3(0x1a6)](_0x519c14,_0x55329e)&&(_0x309728[_0x55329e]=_0x519c14[_0x55329e]);}return _0x309728;},ee[_0x1dd3df(0x3ee)](this,arguments);},ca=function(_0x3aab9e,_0x14b0ed){const _0x20a0a3=_0x354c00;var _0x3f62af={};for(var _0x181626 in _0x3aab9e)Object[_0x20a0a3(0x197)][_0x20a0a3(0x2af)][_0x20a0a3(0x1a6)](_0x3aab9e,_0x181626)&&_0x14b0ed[_0x20a0a3(0x25f)](_0x181626)<0x0&&(_0x3f62af[_0x181626]=_0x3aab9e[_0x181626]);if(_0x3aab9e!=null&&typeof Object[_0x20a0a3(0x325)]==_0x20a0a3(0x3ec)){for(var _0x12df9d=0x0,_0x181626=Object['getOwnPropertySymbols'](_0x3aab9e);_0x12df9d<_0x181626[_0x20a0a3(0x2a0)];_0x12df9d++)_0x14b0ed[_0x20a0a3(0x25f)](_0x181626[_0x12df9d])<0x0&&Object[_0x20a0a3(0x197)]['propertyIsEnumerable'][_0x20a0a3(0x1a6)](_0x3aab9e,_0x181626[_0x12df9d])&&(_0x3f62af[_0x181626[_0x12df9d]]=_0x3aab9e[_0x181626[_0x12df9d]]);}return _0x3f62af;},Ts=_0x448ef5(function(_0x574da6,_0x5b460f){const _0x17e275=_0x354c00;var _0x3cd442=_0x574da6[_0x17e275(0x3b9)],_0x4cde61=_0x574da6['id'],_0x1aa194=_0x574da6[_0x17e275(0x3b2)],_0x4b7b03=_0x574da6[_0x17e275(0x4b5)],_0x4a150d=ca(_0x574da6,[_0x17e275(0x3b9),'id','className',_0x17e275(0x4b5)]),_0x31d208=_0x17e275(0x3d3)[_0x17e275(0x4a3)](_0x4cde61,'\x20')['concat'](_0x1aa194||'')[_0x17e275(0x2ec)](),_0x5bd018=_0x143c61('_'[_0x17e275(0x4a3)](_a()));return Li(_0x3cd442,''[_0x17e275(0x4a3)](_0x4cde61),{'defIds':_0x3cd442['defIds'],'idSuffix':_0x5bd018[_0x17e275(0x222)]},ee({'ref':_0x5b460f,'className':_0x31d208},_0x4a150d),_0x4b7b03);});function Li(_0x4cc0f1,_0x1e372e,_0x550289,_0x2a9e7f,_0x4e6e6a){const _0x2f7358=_0x354c00;return _0x826a7b(_0x4cc0f1[_0x2f7358(0x4d5)],ee(ee({'key':_0x1e372e},ha(_0x4cc0f1,_0x550289,_0x4e6e6a)),_0x2a9e7f),(la(_0x4cc0f1,_0x550289)[_0x2f7358(0x2e2)]||[])[_0x2f7358(0x4e6)](function(_0x20c85a,_0x13c4c3){const _0x3f0177=_0x2f7358;return Li(_0x20c85a,''['concat'](_0x1e372e,'-')[_0x3f0177(0x4a3)](_0x4cc0f1['tag'],'-')[_0x3f0177(0x4a3)](_0x13c4c3),_0x550289,void 0x0,_0x4e6e6a);}));}function ha(_0x15309c,_0x4c81c3,_0x4d08a7){const _0x4fd093=_0x354c00;var _0x2e4411=ee({},_0x15309c[_0x4fd093(0x27a)]);_0x4d08a7!=null&&_0x4d08a7['colorChannel1']&&_0x2e4411['fill']===_0x4fd093(0x173)&&(_0x2e4411[_0x4fd093(0x552)]=_0x4d08a7[_0x4fd093(0x173)]);var _0x503d73=_0x4c81c3[_0x4fd093(0x2b0)];return!_0x503d73||_0x503d73[_0x4fd093(0x2a0)]===0x0||(_0x15309c[_0x4fd093(0x4d5)]===_0x4fd093(0x3ab)&&_0x2e4411[_0x4fd093(0x45e)]&&(_0x2e4411[_0x4fd093(0x45e)]=_0x2e4411[_0x4fd093(0x45e)]+_0x4c81c3[_0x4fd093(0x468)]),Object['entries'](_0x2e4411)[_0x4fd093(0x3f0)](function(_0x4f7100){const _0x5ba8b8=_0x4fd093;var _0x18e142=_0x4f7100[0x0],_0x25a195=_0x4f7100[0x1];typeof _0x25a195==_0x5ba8b8(0x1a5)&&(_0x2e4411[_0x18e142]=_0x25a195[_0x5ba8b8(0x40f)](/url\(#(.*)\)/,_0x5ba8b8(0x236)[_0x5ba8b8(0x4a3)](_0x4c81c3[_0x5ba8b8(0x468)],')')));})),_0x2e4411;}function la(_0x3f2816,_0x28ca76){const _0x97cee4=_0x354c00;var _0x43ac8b,_0x44842f=_0x28ca76['defIds'];return!_0x44842f||_0x44842f['length']===0x0?_0x3f2816:_0x3f2816[_0x97cee4(0x4d5)]==='defs'&&(!((_0x43ac8b=_0x3f2816['children'])===null||_0x43ac8b===void 0x0)&&_0x43ac8b[_0x97cee4(0x2a0)])?ee(ee({},_0x3f2816),{'children':_0x3f2816[_0x97cee4(0x2e2)][_0x97cee4(0x4e6)](function(_0x172e64){const _0x125f00=_0x97cee4;return typeof _0x172e64[_0x125f00(0x27a)]['id']==_0x125f00(0x1a5)&&_0x44842f&&_0x44842f[_0x125f00(0x25f)](_0x172e64[_0x125f00(0x27a)]['id'])>-0x1?ee(ee({},_0x172e64),{'attrs':ee(ee({},_0x172e64[_0x125f00(0x27a)]),{'id':_0x172e64[_0x125f00(0x27a)]['id']+_0x28ca76[_0x125f00(0x468)]})}):_0x172e64;})}):_0x3f2816;}function _a(){const _0x1bf0d4=_0x354c00;return Math['random']()[_0x1bf0d4(0x3d1)](0x24)['substring'](0x2,0x8);}Ts[_0x354c00(0x247)]=_0x354c00(0x188);var ua={'tag':_0x354c00(0x2d1),'attrs':{'fill':_0x354c00(0x253),'viewBox':_0x354c00(0x4a4),'width':_0x354c00(0x378),'height':_0x354c00(0x378)},'children':[{'tag':'g','attrs':{'clipPath':_0x354c00(0x34f)},'children':[{'tag':_0x354c00(0x187),'attrs':{'stroke':_0x354c00(0x386),'d':_0x354c00(0x1f0),'strokeLinecap':_0x354c00(0x2cf),'strokeLinejoin':_0x354c00(0x2cf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x354c00(0x389),'attrs':{'id':_0x354c00(0x19a)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x354c00(0x3ce)}}]}]}],'defIds':[_0x354c00(0x19a)]},$i=_0x448ef5(function(_0x1c5b8e,_0xcd36b6){const _0x25d5c9=_0x354c00;return _0x826a7b(Ts,Object[_0x25d5c9(0x16b)]({},_0x1c5b8e,{'id':'off-line-single','ref':_0xcd36b6,'icon':ua}));});$i[_0x354c00(0x247)]=_0x354c00(0x3ad);var da={'tag':_0x354c00(0x2d1),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x354c00(0x378),'height':_0x354c00(0x378)},'children':[{'tag':'g','attrs':{'clipPath':_0x354c00(0x548)},'children':[{'tag':_0x354c00(0x187),'attrs':{'stroke':'currentColor','d':_0x354c00(0x3fd),'strokeLinecap':_0x354c00(0x2cf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x354c00(0x35b),'attrs':{},'children':[{'tag':_0x354c00(0x389),'attrs':{'id':_0x354c00(0x3a2)},'children':[{'tag':_0x354c00(0x187),'attrs':{'fill':_0x354c00(0x1aa),'d':'M0\x200H16V16H0z','transform':_0x354c00(0x327)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x448ef5(function(_0x55a323,_0x2fe57e){const _0x3c8d30=_0x354c00;return _0x826a7b(Ts,Object[_0x3c8d30(0x16b)]({},_0x55a323,{'id':_0x3c8d30(0x53a),'ref':_0x2fe57e,'icon':da}));});Hi[_0x354c00(0x247)]=_0x354c00(0x36f);function ji(_0x542827){const _0x10e4d6=_0x354c00;var _0x24be66,_0x3e3e93,_0x2400fa='';if(typeof _0x542827==_0x10e4d6(0x1a5)||typeof _0x542827==_0x10e4d6(0x175))_0x2400fa+=_0x542827;else{if(typeof _0x542827==_0x10e4d6(0x3d5)){if(Array[_0x10e4d6(0x345)](_0x542827)){var _0x4c14ea=_0x542827[_0x10e4d6(0x2a0)];for(_0x24be66=0x0;_0x24be66<_0x4c14ea;_0x24be66++)_0x542827[_0x24be66]&&(_0x3e3e93=ji(_0x542827[_0x24be66]))&&(_0x2400fa&&(_0x2400fa+='\x20'),_0x2400fa+=_0x3e3e93);}else{for(_0x3e3e93 in _0x542827)_0x542827[_0x3e3e93]&&(_0x2400fa&&(_0x2400fa+='\x20'),_0x2400fa+=_0x3e3e93);}}}return _0x2400fa;}function fa(){for(var _0x2aae35,_0x1d0104,_0x5382b0=0x0,_0x9a4767='',_0x2c10b0=arguments['length'];_0x5382b0<_0x2c10b0;_0x5382b0++)(_0x2aae35=arguments[_0x5382b0])&&(_0x1d0104=ji(_0x2aae35))&&(_0x9a4767&&(_0x9a4767+='\x20'),_0x9a4767+=_0x1d0104);return _0x9a4767;}const va=_0x354c00(0x485),ma=_0x354c00(0x407),pa=_0x354c00(0x54f),ga=_0x354c00(0x431),Sa='univer-offline',Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x3a7c47){const _0x5eb39b=_0x354c00;switch(_0x3a7c47){case J[_0x5eb39b(0x4eb)]:return _0x5eb39b(0x3ac);case J[_0x5eb39b(0x517)]:return _0x5eb39b(0x41b);case J[_0x5eb39b(0x2d4)]:return _0x5eb39b(0x2e4);case J[_0x5eb39b(0x14e)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x5eb39b(0x1b2)]:return _0x5eb39b(0x3ca);case J['SYNCED']:case J[_0x5eb39b(0x330)]:return _0x5eb39b(0x518);}}function Ca(_0xa0cac8){const _0x12c5c0=_0x354c00,{status$:_0x334f47}=_0xa0cac8,_0x22394c=_0x253487(_0x334f47,J[_0x12c5c0(0x14e)]),_0x444cb8=_0x38e1d3(_0x382d24),_0x1677ee=_0x38e1d3(Ae),_0x12c4c0=_0x22394c!==J[_0x12c5c0(0x4eb)],_0x28f3f4=_0x444cb8['t'](Ia(_0x22394c)),_0x1e440a=fa(Ze[_0x12c5c0(0x374)],{[Ze[_0x12c5c0(0x19b)]]:_0x12c4c0,[Ze[_0x12c5c0(0x26e)]]:!_0x12c4c0}),_0x5ea5bd=_0x12c4c0?we[_0x12c5c0(0x1e5)](Hi,{}):we['jsx']($i,{}),_0x2a453c=_0x26490b(()=>{const _0xd69166=_0x12c5c0;_0x12c4c0||_0x1677ee[_0xd69166(0x4d8)]();},[_0x12c4c0,_0x1677ee]);function _0x26d398(){const _0x44e5cb=_0x12c5c0;return we['jsxs'](_0x44e5cb(0x22d),{'className':_0x1e440a,'onClick':_0x2a453c,'children':[we[_0x44e5cb(0x1e5)](_0x44e5cb(0x22d),{'className':Ze[_0x44e5cb(0x1c0)],'children':_0x5ea5bd}),we['jsx'](_0x44e5cb(0x22d),{'className':Ze[_0x44e5cb(0x369)],'children':_0x28f3f4})]});}return _0x12c4c0?_0x26d398():we[_0x12c5c0(0x1e5)](_0x3e0db8,{'title':_0x444cb8['t']('collab-client.tooltip.reconnect'),'children':_0x26d398()});}var Ea=Object[_0x354c00(0x3cf)],ba=Object[_0x354c00(0x20e)],Ta=(_0x4da5e4,_0x508cb1,_0x204f1a,_0x2d9e0b)=>{const _0x2c1af2=_0x354c00;for(var _0x35d0fc=_0x2d9e0b>0x1?void 0x0:_0x2d9e0b?ba(_0x508cb1,_0x204f1a):_0x508cb1,_0x3bdb30=_0x4da5e4[_0x2c1af2(0x2a0)]-0x1,_0x3320bb;_0x3bdb30>=0x0;_0x3bdb30--)(_0x3320bb=_0x4da5e4[_0x3bdb30])&&(_0x35d0fc=(_0x2d9e0b?_0x3320bb(_0x508cb1,_0x204f1a,_0x35d0fc):_0x3320bb(_0x35d0fc))||_0x35d0fc);return _0x2d9e0b&&_0x35d0fc&&Ea(_0x508cb1,_0x204f1a,_0x35d0fc),_0x35d0fc;},ht=(_0x3ad6e9,_0x5641ad)=>(_0x42fa3c,_0x37d702)=>_0x5641ad(_0x42fa3c,_0x37d702,_0x3ad6e9);let St=class extends _0x1cb1cd{constructor(_0x5b649b,_0x30c390,_0x421702,_0x4149b4){const _0x25c911=_0x354c00;super(),g(this,_0x25c911(0x38e),new _0x5ea788(J[_0x25c911(0x14e)])),(this['_univerInstanceService']=_0x5b649b,this['_uiPartsService']=_0x30c390,this[_0x25c911(0x199)]=_0x421702,this[_0x25c911(0x1cd)]=_0x4149b4,this[_0x25c911(0x3e7)](),this[_0x25c911(0x433)]());}[_0x354c00(0x433)](){const _0x4c3d2c=_0x354c00;this[_0x4c3d2c(0x181)](this[_0x4c3d2c(0x429)][_0x4c3d2c(0x2d6)][_0x4c3d2c(0x43d)](_0x32daf9(()=>{const _0x4928e4=_0x4c3d2c,_0x466302=this['_univerInstanceService'][_0x4928e4(0x3c7)]();return _0x466302?this['_collaborationController'][_0x4928e4(0x3da)](_0x466302[_0x4928e4(0x191)]()):_0x517049(null);}),_0x32daf9(_0x58bb2d=>_0x58bb2d?_0x58bb2d['status$']:_0x517049(J[_0x4c3d2c(0x14e)])))[_0x4c3d2c(0x51f)](_0x983d7a=>{const _0x55bb21=_0x4c3d2c;this[_0x55bb21(0x38e)][_0x55bb21(0x2df)](_0x983d7a);}));}[_0x354c00(0x3e7)](){const _0x17bea1=_0x354c00;this[_0x17bea1(0x181)](this[_0x17bea1(0x2d8)][_0x17bea1(0x266)](_0x22c053[_0x17bea1(0x4ed)],()=>_0x45e1ea(Ra({'status$':this[_0x17bea1(0x38e)][_0x17bea1(0x516)]()}),this[_0x17bea1(0x199)])));}};St=Ta([ht(0x0,_0x48d976),ht(0x1,_0x17b17c),ht(0x2,_0x1727eb(_0x5d0612)),ht(0x3,_0x1727eb(it))],St);function Ra(_0x1eaf8e){const {status$:_0x38bfc8}=_0x1eaf8e;return function(){const _0x588cda=_0x33b4;return we[_0x588cda(0x1e5)](Ca,{'status$':_0x38bfc8});};}const Bi=_0x1d937b('uni.network.url-service');var ya=Object[_0x354c00(0x3cf)],Oa=Object['getOwnPropertyDescriptor'],wa=(_0x400af3,_0x1b5532,_0x7b4f5d,_0x3863b8)=>{const _0x599c1a=_0x354c00;for(var _0x182198=_0x3863b8>0x1?void 0x0:_0x3863b8?Oa(_0x1b5532,_0x7b4f5d):_0x1b5532,_0x2ac0e3=_0x400af3[_0x599c1a(0x2a0)]-0x1,_0x59f17a;_0x2ac0e3>=0x0;_0x2ac0e3--)(_0x59f17a=_0x400af3[_0x2ac0e3])&&(_0x182198=(_0x3863b8?_0x59f17a(_0x1b5532,_0x7b4f5d,_0x182198):_0x59f17a(_0x182198))||_0x182198);return _0x3863b8&&_0x182198&&ya(_0x1b5532,_0x7b4f5d,_0x182198),_0x182198;},ke=(_0x5141a6,_0x1a7d1b)=>(_0x136a04,_0x50260c)=>_0x1a7d1b(_0x136a04,_0x50260c,_0x5141a6);let It=class extends _0x1bd493{constructor(_0x2fd97a,_0xc57e62,_0x5a0fca,_0x2d6be3,_0x7d89d4,_0x1493ed){const _0x3385d3=_0x354c00;super(),this['_urlService']=_0x2fd97a,this['_logService']=_0xc57e62,this[_0x3385d3(0x3fc)]=_0x5a0fca,this['_localCacheService']=_0x2d6be3,this['_snapshotService']=_0x7d89d4,_0x1493ed?_0x1493ed==null||_0x1493ed[_0x3385d3(0x52d)]()[_0x3385d3(0x1e4)](()=>this[_0x3385d3(0x536)]()):(this[_0x3385d3(0x3b6)][_0x3385d3(0x4c5)](_0x3385d3(0x217),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3385d3(0x536)]());}async[_0x354c00(0x536)](){const _0x183295=_0x354c00,_0x224340=this['_urlService']['getParam'](_0x183295(0x2c9)),_0x55118d=this['_urlService'][_0x183295(0x47b)](_0x183295(0x260));if(!_0x224340||!_0x55118d){this[_0x183295(0x3b6)][_0x183295(0x4c5)](_0x183295(0x217),_0x183295(0x539));return;}switch(Number(_0x55118d)){case ce[_0x183295(0x1c5)]:{const _0x3a3684=await this[_0x183295(0x358)](_0x224340);this['_setupSubUnitSync'](_0x3a3684);break;}case ce[_0x183295(0x461)]:{await this[_0x183295(0x553)](_0x224340);break;}default:{this[_0x183295(0x3b6)]['error'](_0x183295(0x217),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x354c00(0x2b8)](_0x423173){const _0x5482a6=_0x354c00;await this['_updateSubUnitFromURLParams'](_0x423173),_0x423173['activeSheet$'][_0x5482a6(0x43d)](_0x144dfb(this[_0x5482a6(0x14d)]))['subscribe'](_0x9a17be=>{_0x9a17be&&this['_updateURLWithCurrentState'](_0x9a17be);}),this['_urlService'][_0x5482a6(0x2f9)][_0x5482a6(0x43d)](_0x144dfb(this[_0x5482a6(0x14d)]))[_0x5482a6(0x51f)](()=>this[_0x5482a6(0x39c)](_0x423173));}[_0x354c00(0x286)](_0x5a5250,_0x59bf4e=!0x1){const _0x362107=_0x354c00,_0x4a799f=this[_0x362107(0x408)][_0x362107(0x47b)](_0x362107(0x49c));_0x5a5250['getSheetId']()!==_0x4a799f&&this['_urlService'][_0x362107(0x2ff)](_0x362107(0x49c),_0x5a5250['getSheetId'](),_0x59bf4e);}async['_updateSubUnitFromURLParams'](_0x491cd4){const _0x4a2a03=_0x354c00;var _0x257ba1;const _0x1ee273=this[_0x4a2a03(0x408)]['getParam']('subunit');if(!_0x1ee273||!_0x491cd4[_0x4a2a03(0x1f2)](_0x1ee273)){const _0x3f57bb=_0x491cd4[_0x4a2a03(0x4fd)]()[0x0],_0x255c71=_0x491cd4[_0x4a2a03(0x1f2)](_0x3f57bb);if(!_0x255c71)return;this['_updateURLWithCurrentState'](_0x255c71,!0x0),await this['_commandService'][_0x4a2a03(0x365)](_0x4f7e31['id'],{'unitId':_0x491cd4[_0x4a2a03(0x191)](),'subUnitId':_0x3f57bb});return;}((_0x257ba1=_0x491cd4[_0x4a2a03(0x4be)]())==null?void 0x0:_0x257ba1[_0x4a2a03(0x238)]())!==_0x1ee273&&await this['_commandService'][_0x4a2a03(0x365)](_0x4f7e31['id'],{'unitId':_0x491cd4['getUnitId'](),'subUnitId':_0x1ee273});}async[_0x354c00(0x358)](_0xb43c83){const _0x5842c3=_0x354c00;let _0x50ee36=0x0;const _0x27a1d5=await this['_localCacheService'][_0x5842c3(0x4b8)](_0xb43c83);return _0x27a1d5&&(_0x27a1d5[_0x5842c3(0x46d)]||_0x27a1d5[_0x5842c3(0x24d)][_0x5842c3(0x2a0)]!==0x0)&&(_0x50ee36=_0x27a1d5[_0x5842c3(0x1fe)]),_0x50ee36===0x0&&this[_0x5842c3(0x3b6)]['debug'](_0x5842c3(0x217),_0x5842c3(0x3cd)),this[_0x5842c3(0x385)][_0x5842c3(0x2b9)](_0xb43c83,_0x50ee36);}async['_loadDoc'](_0x67d091){const _0x588e53=_0x354c00;let _0x17dae7=0x0;const _0x4c7256=await this[_0x588e53(0x1e2)][_0x588e53(0x4b8)](_0x67d091);return _0x4c7256&&(_0x4c7256['awaitingChangeset']||_0x4c7256[_0x588e53(0x24d)][_0x588e53(0x2a0)]!==0x0)&&(_0x17dae7=_0x4c7256['rev']),_0x17dae7===0x0&&this[_0x588e53(0x3b6)]['debug']('[DataLoaderController]',_0x588e53(0x3cd)),this[_0x588e53(0x385)]['loadDoc'](_0x67d091,_0x17dae7);}};It=wa([ke(0x0,Bi),ke(0x1,_0x3b4016),ke(0x2,_0xfbfaad),ke(0x3,_0x1727eb(q)),ke(0x4,_0x1727eb(_0x1644f2)),ke(0x5,_0x213697(_0x2d92e8))],It);var Da=Object['defineProperty'],Pa=Object[_0x354c00(0x20e)],Ua=(_0x35d082,_0x54ae28,_0x278542,_0x1a7c33)=>{for(var _0x2d9ba0=_0x1a7c33>0x1?void 0x0:_0x1a7c33?Pa(_0x54ae28,_0x278542):_0x54ae28,_0xa690c9=_0x35d082['length']-0x1,_0x16ed41;_0xa690c9>=0x0;_0xa690c9--)(_0x16ed41=_0x35d082[_0xa690c9])&&(_0x2d9ba0=(_0x1a7c33?_0x16ed41(_0x54ae28,_0x278542,_0x2d9ba0):_0x16ed41(_0x2d9ba0))||_0x2d9ba0);return _0x1a7c33&&_0x2d9ba0&&Da(_0x54ae28,_0x278542,_0x2d9ba0),_0x2d9ba0;},zs=(_0x598d90,_0x1862f3)=>(_0x3475a0,_0x3c0a28)=>_0x1862f3(_0x3475a0,_0x3c0a28,_0x598d90);const Na=_0x354c00(0x223),Aa=_0x354c00(0x376);let Ct=class extends _0x1cb1cd{constructor(_0x168d10,_0x240a9e){const _0x5e3812=_0x354c00;super(),this['_univerInstanceService']=_0x168d10,this[_0x5e3812(0x53b)]=_0x240a9e,this[_0x5e3812(0x536)]();}['_init'](){const _0x377dfc=_0x354c00;this[_0x377dfc(0x181)](this[_0x377dfc(0x429)]['focused$'][_0x377dfc(0x51f)](()=>{const _0x3a39a1=_0x377dfc;var _0x2ab2e1;const _0x3056c6=this['_univerInstanceService'][_0x3a39a1(0x3c7)]();let _0x337bd9=(_0x2ab2e1=this['_configService'][_0x3a39a1(0x246)](Na))!=null?_0x2ab2e1:Aa;_0x3056c6 instanceof _0x1b5e66&&(_0x337bd9=_0x3056c6['name']),document[_0x3a39a1(0x48b)]=_0x337bd9;}));}};Ct=Ua([zs(0x0,_0x48d976),zs(0x1,_0x250a8d)],Ct);var Ma=Object[_0x354c00(0x3cf)],xa=Object[_0x354c00(0x20e)],La=(_0x3205cb,_0x314182,_0x1e722c,_0x29e401)=>{const _0x5ed559=_0x354c00;for(var _0x54c6fc=_0x29e401>0x1?void 0x0:_0x29e401?xa(_0x314182,_0x1e722c):_0x314182,_0x5601f5=_0x3205cb[_0x5ed559(0x2a0)]-0x1,_0x1a819e;_0x5601f5>=0x0;_0x5601f5--)(_0x1a819e=_0x3205cb[_0x5601f5])&&(_0x54c6fc=(_0x29e401?_0x1a819e(_0x314182,_0x1e722c,_0x54c6fc):_0x1a819e(_0x54c6fc))||_0x54c6fc);return _0x29e401&&_0x54c6fc&&Ma(_0x314182,_0x1e722c,_0x54c6fc),_0x54c6fc;},Wt=(_0x149bd7,_0x535371)=>(_0x3d0e58,_0x1f0ce4)=>_0x535371(_0x3d0e58,_0x1f0ce4,_0x149bd7);let Et=class{constructor(_0x3bce09,_0x2881f2,_0x19240a){const _0x2c3ee3=_0x354c00;this[_0x2c3ee3(0x53b)]=_0x3bce09,this[_0x2c3ee3(0x3b3)]=_0x2881f2,this['localeService']=_0x19240a,this[_0x2c3ee3(0x4cf)]();}[_0x354c00(0x4cf)](){const _0x1c5aff=_0x354c00;this[_0x1c5aff(0x3b3)][_0x1c5aff(0x243)]({'priority':0x1,'interceptor':(_0x36ff95,_0x1e99a0)=>_0x1e99a0(_0x36ff95)['pipe'](_0x4a0d9c(async _0x44a393=>{const _0x3ba3c4=_0x1c5aff,_0x57b56a=_0x44a393;if(_0x57b56a['status']===0x191&&window[_0x3ba3c4(0x19e)](this[_0x3ba3c4(0x535)]['t'](_0x3ba3c4(0x3fe)))){const _0xcdb36f=window[_0x3ba3c4(0x193)](window[_0x3ba3c4(0x141)]['href']);window[_0x3ba3c4(0x141)][_0x3ba3c4(0x1a0)]=this[_0x3ba3c4(0x1af)]()+_0x3ba3c4(0x2ae)+_0xcdb36f;}return _0x57b56a;}))});}[_0x354c00(0x1af)](){const _0x425b80=_0x354c00;var _0x35afd2,_0xa93fb5;const _0x55bc49=this['_configService'][_0x425b80(0x246)](br),_0x18b14b=this[_0x425b80(0x53b)][_0x425b80(0x246)](ie);return(_0xa93fb5=(_0x35afd2=_0x18b14b==null?void 0x0:_0x18b14b[_0x425b80(0x471)])!=null?_0x35afd2:_0x55bc49)!=null?_0xa93fb5:Tr;}};Et=La([Wt(0x0,_0x250a8d),Wt(0x1,_0x1727eb(_0x4e8dbf)),Wt(0x2,_0x1727eb(_0x382d24))],Et);var $a=Object[_0x354c00(0x3cf)],Ha=Object['getOwnPropertyDescriptor'],ja=(_0x8891fb,_0x10723b,_0x384ce0,_0x251cb5)=>{const _0xad7bd9=_0x354c00;for(var _0x38e721=_0x251cb5>0x1?void 0x0:_0x251cb5?Ha(_0x10723b,_0x384ce0):_0x10723b,_0x426bee=_0x8891fb[_0xad7bd9(0x2a0)]-0x1,_0x30b87e;_0x426bee>=0x0;_0x426bee--)(_0x30b87e=_0x8891fb[_0x426bee])&&(_0x38e721=(_0x251cb5?_0x30b87e(_0x10723b,_0x384ce0,_0x38e721):_0x30b87e(_0x38e721))||_0x38e721);return _0x251cb5&&_0x38e721&&$a(_0x10723b,_0x384ce0,_0x38e721),_0x38e721;},qs=(_0x5e8c65,_0x4545f6)=>(_0x581a18,_0xdbd03a)=>_0x4545f6(_0x581a18,_0xdbd03a,_0x5e8c65);const Ba='AUTHZ_URL_KEY',ka=_0x354c00(0x30d);let cs=class extends _0x1cb1cd{constructor(_0x177347,_0x29a054){const _0x1f64c3=_0x354c00;super(),this[_0x1f64c3(0x3d7)]=_0x177347,this[_0x1f64c3(0x53b)]=_0x29a054,this['_initMergeInterceptor']();}[_0x354c00(0x413)](){const _0x37b267=_0x354c00,_0x520c5f=this;this[_0x37b267(0x181)](this[_0x37b267(0x3d7)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x542720({'isMatch'(_0x11920d){const _0x268e6d=_0x37b267;var _0x2e20fe;if(_0x11920d['method']===_0x268e6d(0x350)&&((_0x2e20fe=_0x11920d[_0x268e6d(0x2c7)])!=null&&_0x2e20fe[_0x268e6d(0x4f3)])){const {objectID:_0x1bf4b2,objectType:_0x5c2bd6}=_0x11920d[_0x268e6d(0x2c7)][_0x268e6d(0x4f3)]||{};if(!_0x1bf4b2||_0x5c2bd6===void 0x0)return!0x1;const _0x4919c0=_0x520c5f[_0x268e6d(0x50a)]()+'/'+_0x5c2bd6+'/object/'+_0x1bf4b2+_0x268e6d(0x168);if(_0x11920d[_0x268e6d(0x551)]===_0x4919c0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x53cdac){const _0x229173=_0x37b267;var _0x585932;return(_0x585932=_0x53cdac[_0x229173(0x2c7)])==null?void 0x0:_0x585932[_0x229173(0x4f3)];},'mergeParamsToRequest'(_0x58a312,_0x10bca8){const _0x333283=_0x37b267,_0x33da8b=_0x520c5f[_0x333283(0x50a)]()+_0x333283(0x3e5),_0xc9f381=_0x58a312[_0x333283(0x159)]((_0x4213b8,_0x4f92cc)=>{const _0x4bec9c=_0x333283,{unitID:_0x4e970f,objectID:_0x24e38a,objectType:_0x5dc16c,actions:_0x79cad1}=_0x4f92cc;return _0x4213b8[_0x4e970f]||(_0x4213b8[_0x4e970f]={}),_0x4213b8[_0x4e970f][_0x24e38a]||(_0x4213b8[_0x4e970f][_0x24e38a]={'objectID':_0x24e38a,'objectType':_0x5dc16c,'actions':[]}),_0x4213b8[_0x4e970f][_0x24e38a]['actions'][_0x4bec9c(0x301)](..._0x79cad1),_0x4213b8;},{}),_0x50cad8=[];for(const _0x557115 in _0xc9f381)for(const _0x3b6f94 in _0xc9f381[_0x557115]){const {actions:_0x382c97,objectType:_0x6be16c}=_0xc9f381[_0x557115][_0x3b6f94],_0x239f4c=[...new Set(_0x382c97)];_0x50cad8[_0x333283(0x301)]({'unitID':_0x557115,'objectID':_0x3b6f94,'objectType':_0x6be16c,'actions':_0x239f4c});}return new _0x79519(_0x333283(0x350),_0x33da8b,{'headers':_0x10bca8['headers'],'withCredentials':_0x10bca8[_0x333283(0x33d)],'responseType':_0x10bca8[_0x333283(0x23f)],'body':{'requests':_0x50cad8}});}},{'distributeResult'(_0x5b14cc,_0x1814f7){const {objectActions:_0x34708f}=_0x5b14cc;return _0x1814f7['map'](_0x595de8=>{const _0xd4d4cf=_0x33b4,{unitID:_0x1eb2f2,objectID:_0x3603c7,actions:_0x3f6a98}=_0x595de8,_0x20b67b=_0x34708f[_0xd4d4cf(0x462)](_0x4389f9=>_0x4389f9[_0xd4d4cf(0x207)]===_0x1eb2f2&&_0x4389f9[_0xd4d4cf(0x30a)]===_0x3603c7),_0x130a90=_0x3f6a98[_0xd4d4cf(0x4e6)](_0x9b88e9=>_0x20b67b==null?void 0x0:_0x20b67b['actions'][_0xd4d4cf(0x462)](_0x285371=>_0x285371['action']===_0x9b88e9))[_0xd4d4cf(0x2bb)](_0xcb0e7a=>!!_0xcb0e7a);return{'config':_0x595de8,'result':{'actions':_0x130a90,'error':_0x5b14cc[_0xd4d4cf(0x2f1)]}};});}})}));}['_getAPIPrefixPath'](){const _0x34b393=_0x354c00;var _0x1157a8,_0x59dc8a;const _0x47bc2f=this['_configService']['getConfig'](Ba),_0x16713e=this['_configService'][_0x34b393(0x246)](ie);return(_0x59dc8a=(_0x1157a8=_0x16713e==null?void 0x0:_0x16713e[_0x34b393(0x195)])!=null?_0x1157a8:_0x47bc2f)!=null?_0x59dc8a:ka;}async[_0x354c00(0x3f7)](_0x2ae711){const _0x436364=_0x354c00,_0x5bf71b=this[_0x436364(0x50a)]()+'/'+_0x2ae711[_0x436364(0x4f7)]+_0x436364(0x383);return(await this[_0x436364(0x3d7)][_0x436364(0x3f9)](_0x5bf71b,{'body':_0x2ae711}))[_0x436364(0x4f3)][_0x436364(0x30a)]||'';}async[_0x354c00(0x308)](_0x4e8594){const _0x3b45ac=_0x354c00,_0x59b7ac=this[_0x3b45ac(0x50a)]()+_0x3b45ac(0x4bc);return(await this[_0x3b45ac(0x3d7)]['post'](_0x59b7ac,{'body':_0x4e8594}))[_0x3b45ac(0x4f3)][_0x3b45ac(0x4d2)];}async[_0x354c00(0x192)](_0x177f9c){const _0x56ad61=_0x354c00,_0x4df4b0=this[_0x56ad61(0x50a)]()+'/'+_0x177f9c[_0x56ad61(0x4f7)]+_0x56ad61(0x31a)+_0x177f9c['objectID'];await this[_0x56ad61(0x3d7)]['put'](_0x4df4b0,{'body':_0x177f9c});}async[_0x354c00(0x3a7)](_0x503ae6){const _0x348adb=_0x354c00,_0xfa716e=this[_0x348adb(0x50a)]()+'/'+_0x503ae6[_0x348adb(0x4f7)]+_0x348adb(0x31a)+_0x503ae6[_0x348adb(0x30a)]+_0x348adb(0x168);return(await this['_HTTPService'][_0x348adb(0x3f9)](_0xfa716e,{'body':_0x503ae6}))[_0x348adb(0x4f3)][_0x348adb(0x4cd)];}async[_0x354c00(0x278)](_0x3d4f5e){const _0x3830bc=_0x354c00,_0x4582f0=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x3830bc(0x3d7)][_0x3830bc(0x3f9)](_0x4582f0,{'body':{'requests':_0x3d4f5e}}))[_0x3830bc(0x4f3)][_0x3830bc(0x3aa)];}async[_0x354c00(0x2be)](_0x358d7a){const _0x5c5e98=_0x354c00,_0x1b6483=this['_getAPIPrefixPath']()+'/'+_0x358d7a[_0x5c5e98(0x4f7)]+_0x5c5e98(0x1ad),_0x4336ce=await this[_0x5c5e98(0x3d7)][_0x5c5e98(0x3f9)](_0x1b6483,{'body':_0x358d7a});return{'roles':_0x4336ce[_0x5c5e98(0x4f3)][_0x5c5e98(0x26f)],'actions':_0x4336ce['body'][_0x5c5e98(0x4cd)]};}async[_0x354c00(0x1d6)](_0xaa6021){const _0x288995=_0x354c00,_0x549722=this[_0x288995(0x50a)]()+_0x288995(0x4b4);await this['_HTTPService'][_0x288995(0x361)](_0x549722,{'params':{'collaboratorID':_0xaa6021[_0x288995(0x353)],'objectID':_0xaa6021[_0x288995(0x30a)],'unitID':_0xaa6021[_0x288995(0x207)]}});}async['updateCollaborator'](_0x7d0c79){const _0x44e8fd=_0x354c00,_0x39bcde=this['_getAPIPrefixPath']()+_0x44e8fd(0x4b4);await this[_0x44e8fd(0x3d7)][_0x44e8fd(0x1e8)](_0x39bcde,{'body':_0x7d0c79});}async[_0x354c00(0x3b4)](_0x371da4){const _0x6d53ed=_0x354c00,_0x6c105d=this[_0x6d53ed(0x50a)]()+_0x6d53ed(0x4b4);await this[_0x6d53ed(0x3d7)][_0x6d53ed(0x3f9)](_0x6c105d,{'body':_0x371da4});}async[_0x354c00(0x3bd)](_0x2bcca8){const _0x3e6b14=_0x354c00,_0x22422f=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x3e6b14(0x3d7)][_0x3e6b14(0x291)](_0x22422f,{'params':{'objectID':_0x2bcca8[_0x3e6b14(0x30a)],'unitID':_0x2bcca8['unitID']}}))['body'][_0x3e6b14(0x54b)];}async['putCollaborators'](_0x210616){const _0x5752ef=_0x354c00,_0x3a969e=this[_0x5752ef(0x50a)]()+_0x5752ef(0x4b4);await this[_0x5752ef(0x3d7)]['put'](_0x3a969e,{'body':_0x210616});}};cs=ja([qs(0x0,_0x1727eb(_0x4e8dbf)),qs(0x1,_0x1727eb(_0x250a8d))],cs);var ki={'exports':{}};function Wa(_0x3db460){const _0xa73bce=_0x354c00;throw new Error(_0xa73bce(0x3d2)+_0x3db460+_0xa73bce(0x2b7));}var Ft={'exports':{}},Xs;function ue(){const _0x4d843b=_0x354c00;return Xs||(Xs=0x1,function(_0x38a112,_0x42bd42){(function(_0x3d3976,_0x24fd8f){const _0x307f37=_0x33b4;_0x38a112[_0x307f37(0x4a6)]=_0x24fd8f();}(Z,function(){var _0x16c8d8=_0x16c8d8||function(_0x2429fd,_0x1c0f13){const _0x1e6ff2=_0x33b4;var _0x52b3b2;if(typeof window<'u'&&window['crypto']&&(_0x52b3b2=window[_0x1e6ff2(0x40c)]),typeof self<'u'&&self[_0x1e6ff2(0x40c)]&&(_0x52b3b2=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1e6ff2(0x40c)]&&(_0x52b3b2=globalThis['crypto']),!_0x52b3b2&&typeof window<'u'&&window[_0x1e6ff2(0x466)]&&(_0x52b3b2=window[_0x1e6ff2(0x466)]),!_0x52b3b2&&typeof Z<'u'&&Z['crypto']&&(_0x52b3b2=Z[_0x1e6ff2(0x40c)]),!_0x52b3b2&&typeof Wa==_0x1e6ff2(0x3ec))try{_0x52b3b2=require(_0x1e6ff2(0x40c));}catch{}var _0x1b4f55=function(){const _0x1c0556=_0x1e6ff2;if(_0x52b3b2){if(typeof _0x52b3b2[_0x1c0556(0x3c5)]==_0x1c0556(0x3ec))try{return _0x52b3b2[_0x1c0556(0x3c5)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x52b3b2['randomBytes']=='function')try{return _0x52b3b2[_0x1c0556(0x3c0)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3dd336=Object[_0x1e6ff2(0x3f7)]||(function(){function _0x45096f(){}return function(_0x2f6dc2){const _0x1095a0=_0x33b4;var _0x286425;return _0x45096f[_0x1095a0(0x197)]=_0x2f6dc2,_0x286425=new _0x45096f(),_0x45096f[_0x1095a0(0x197)]=null,_0x286425;};}()),_0x3c551f={},_0x2d7d4b=_0x3c551f[_0x1e6ff2(0x22c)]={},_0x3eaa9e=_0x2d7d4b[_0x1e6ff2(0x2a4)]=(function(){return{'extend':function(_0x597852){const _0x5171e4=_0x33b4;var _0x4b4691=_0x3dd336(this);return _0x597852&&_0x4b4691[_0x5171e4(0x52b)](_0x597852),(!_0x4b4691[_0x5171e4(0x2af)](_0x5171e4(0x4cf))||this[_0x5171e4(0x4cf)]===_0x4b4691[_0x5171e4(0x4cf)])&&(_0x4b4691[_0x5171e4(0x4cf)]=function(){const _0x35e286=_0x5171e4;_0x4b4691[_0x35e286(0x2b6)][_0x35e286(0x4cf)]['apply'](this,arguments);}),_0x4b4691[_0x5171e4(0x4cf)][_0x5171e4(0x197)]=_0x4b4691,_0x4b4691[_0x5171e4(0x2b6)]=this,_0x4b4691;},'create':function(){const _0xcb8754=_0x33b4;var _0x2126ec=this['extend']();return _0x2126ec[_0xcb8754(0x4cf)][_0xcb8754(0x3ee)](_0x2126ec,arguments),_0x2126ec;},'init':function(){},'mixIn':function(_0x16e085){const _0x565e9a=_0x33b4;for(var _0x206edf in _0x16e085)_0x16e085[_0x565e9a(0x2af)](_0x206edf)&&(this[_0x206edf]=_0x16e085[_0x206edf]);_0x16e085[_0x565e9a(0x2af)](_0x565e9a(0x3d1))&&(this['toString']=_0x16e085[_0x565e9a(0x3d1)]);},'clone':function(){const _0xa4e40d=_0x33b4;return this[_0xa4e40d(0x4cf)][_0xa4e40d(0x197)]['extend'](this);}};}()),_0x4ad325=_0x2d7d4b['WordArray']=_0x3eaa9e[_0x1e6ff2(0x4b5)]({'init':function(_0x3757f1,_0x3ae747){const _0x1f6514=_0x1e6ff2;_0x3757f1=this[_0x1f6514(0x33c)]=_0x3757f1||[],_0x3ae747!=_0x1c0f13?this[_0x1f6514(0x1ce)]=_0x3ae747:this[_0x1f6514(0x1ce)]=_0x3757f1[_0x1f6514(0x2a0)]*0x4;},'toString':function(_0x393e31){const _0x1ff7c1=_0x1e6ff2;return(_0x393e31||_0x4334e2)[_0x1ff7c1(0x2d5)](this);},'concat':function(_0x34d1e4){const _0x2c270f=_0x1e6ff2;var _0x273d05=this[_0x2c270f(0x33c)],_0x1a713c=_0x34d1e4[_0x2c270f(0x33c)],_0x279b7e=this[_0x2c270f(0x1ce)],_0x31497d=_0x34d1e4[_0x2c270f(0x1ce)];if(this[_0x2c270f(0x201)](),_0x279b7e%0x4)for(var _0x19d185=0x0;_0x19d185<_0x31497d;_0x19d185++){var _0x2f876a=_0x1a713c[_0x19d185>>>0x2]>>>0x18-_0x19d185%0x4*0x8&0xff;_0x273d05[_0x279b7e+_0x19d185>>>0x2]|=_0x2f876a<<0x18-(_0x279b7e+_0x19d185)%0x4*0x8;}else{for(var _0x5afcfa=0x0;_0x5afcfa<_0x31497d;_0x5afcfa+=0x4)_0x273d05[_0x279b7e+_0x5afcfa>>>0x2]=_0x1a713c[_0x5afcfa>>>0x2];}return this[_0x2c270f(0x1ce)]+=_0x31497d,this;},'clamp':function(){const _0x3e2e28=_0x1e6ff2;var _0xe8ec68=this[_0x3e2e28(0x33c)],_0x573a35=this['sigBytes'];_0xe8ec68[_0x573a35>>>0x2]&=0xffffffff<<0x20-_0x573a35%0x4*0x8,_0xe8ec68[_0x3e2e28(0x2a0)]=_0x2429fd['ceil'](_0x573a35/0x4);},'clone':function(){const _0x518e7f=_0x1e6ff2;var _0x3c082d=_0x3eaa9e[_0x518e7f(0x202)][_0x518e7f(0x1a6)](this);return _0x3c082d['words']=this['words'][_0x518e7f(0x475)](0x0),_0x3c082d;},'random':function(_0x4cd00d){const _0xe2dd23=_0x1e6ff2;for(var _0x3804a7=[],_0x254d75=0x0;_0x254d75<_0x4cd00d;_0x254d75+=0x4)_0x3804a7[_0xe2dd23(0x301)](_0x1b4f55());return new _0x4ad325[(_0xe2dd23(0x4cf))](_0x3804a7,_0x4cd00d);}}),_0x34e1cb=_0x3c551f[_0x1e6ff2(0x230)]={},_0x4334e2=_0x34e1cb[_0x1e6ff2(0x492)]={'stringify':function(_0x13839a){const _0x350075=_0x1e6ff2;for(var _0x46d006=_0x13839a['words'],_0x179f48=_0x13839a[_0x350075(0x1ce)],_0x1649ea=[],_0x10792b=0x0;_0x10792b<_0x179f48;_0x10792b++){var _0x5b2ba7=_0x46d006[_0x10792b>>>0x2]>>>0x18-_0x10792b%0x4*0x8&0xff;_0x1649ea[_0x350075(0x301)]((_0x5b2ba7>>>0x4)[_0x350075(0x3d1)](0x10)),_0x1649ea[_0x350075(0x301)]((_0x5b2ba7&0xf)[_0x350075(0x3d1)](0x10));}return _0x1649ea['join']('');},'parse':function(_0x2c1eae){const _0x4b7b1e=_0x1e6ff2;for(var _0x11bd93=_0x2c1eae[_0x4b7b1e(0x2a0)],_0x428cf5=[],_0x5aae19=0x0;_0x5aae19<_0x11bd93;_0x5aae19+=0x2)_0x428cf5[_0x5aae19>>>0x3]|=parseInt(_0x2c1eae['substr'](_0x5aae19,0x2),0x10)<<0x18-_0x5aae19%0x8*0x4;return new _0x4ad325['init'](_0x428cf5,_0x11bd93/0x2);}},_0x169fc8=_0x34e1cb[_0x1e6ff2(0x231)]={'stringify':function(_0x41f2a5){const _0x14087a=_0x1e6ff2;for(var _0x4911a3=_0x41f2a5[_0x14087a(0x33c)],_0x20cedd=_0x41f2a5[_0x14087a(0x1ce)],_0x521662=[],_0x1e67d1=0x0;_0x1e67d1<_0x20cedd;_0x1e67d1++){var _0xcaa3c1=_0x4911a3[_0x1e67d1>>>0x2]>>>0x18-_0x1e67d1%0x4*0x8&0xff;_0x521662['push'](String['fromCharCode'](_0xcaa3c1));}return _0x521662['join']('');},'parse':function(_0x1d29b5){const _0x5f410b=_0x1e6ff2;for(var _0xea20fe=_0x1d29b5['length'],_0x552501=[],_0x269589=0x0;_0x269589<_0xea20fe;_0x269589++)_0x552501[_0x269589>>>0x2]|=(_0x1d29b5[_0x5f410b(0x326)](_0x269589)&0xff)<<0x18-_0x269589%0x4*0x8;return new _0x4ad325[(_0x5f410b(0x4cf))](_0x552501,_0xea20fe);}},_0x56bfd0=_0x34e1cb[_0x1e6ff2(0x27f)]={'stringify':function(_0xfa0917){const _0x21a2c8=_0x1e6ff2;try{return decodeURIComponent(escape(_0x169fc8['stringify'](_0xfa0917)));}catch{throw new Error(_0x21a2c8(0x229));}},'parse':function(_0x8c1547){const _0x1bd0ee=_0x1e6ff2;return _0x169fc8[_0x1bd0ee(0x1fb)](unescape(encodeURIComponent(_0x8c1547)));}},_0x421737=_0x2d7d4b[_0x1e6ff2(0x3b7)]=_0x3eaa9e[_0x1e6ff2(0x4b5)]({'reset':function(){const _0x32d452=_0x1e6ff2;this[_0x32d452(0x321)]=new _0x4ad325[(_0x32d452(0x4cf))](),this['_nDataBytes']=0x0;},'_append':function(_0x428fb5){const _0x41b3e8=_0x1e6ff2;typeof _0x428fb5==_0x41b3e8(0x1a5)&&(_0x428fb5=_0x56bfd0['parse'](_0x428fb5)),this['_data'][_0x41b3e8(0x4a3)](_0x428fb5),this[_0x41b3e8(0x43c)]+=_0x428fb5[_0x41b3e8(0x1ce)];},'_process':function(_0x59b732){const _0x3a4055=_0x1e6ff2;var _0xc12ed0,_0x759e9=this[_0x3a4055(0x321)],_0x1620e1=_0x759e9['words'],_0x3114b6=_0x759e9[_0x3a4055(0x1ce)],_0xe173d6=this[_0x3a4055(0x1e3)],_0x530f04=_0xe173d6*0x4,_0x3b25b9=_0x3114b6/_0x530f04;_0x59b732?_0x3b25b9=_0x2429fd[_0x3a4055(0x49d)](_0x3b25b9):_0x3b25b9=_0x2429fd[_0x3a4055(0x362)]((_0x3b25b9|0x0)-this[_0x3a4055(0x162)],0x0);var _0xd900c8=_0x3b25b9*_0xe173d6,_0x178075=_0x2429fd[_0x3a4055(0x1d3)](_0xd900c8*0x4,_0x3114b6);if(_0xd900c8){for(var _0x46ebe9=0x0;_0x46ebe9<_0xd900c8;_0x46ebe9+=_0xe173d6)this[_0x3a4055(0x43f)](_0x1620e1,_0x46ebe9);_0xc12ed0=_0x1620e1[_0x3a4055(0x3bb)](0x0,_0xd900c8),_0x759e9['sigBytes']-=_0x178075;}return new _0x4ad325[(_0x3a4055(0x4cf))](_0xc12ed0,_0x178075);},'clone':function(){const _0x25e9a2=_0x1e6ff2;var _0xd19741=_0x3eaa9e[_0x25e9a2(0x202)][_0x25e9a2(0x1a6)](this);return _0xd19741[_0x25e9a2(0x321)]=this['_data'][_0x25e9a2(0x202)](),_0xd19741;},'_minBufferSize':0x0});_0x2d7d4b[_0x1e6ff2(0x24a)]=_0x421737[_0x1e6ff2(0x4b5)]({'cfg':_0x3eaa9e['extend'](),'init':function(_0x3c09ea){const _0xee8072=_0x1e6ff2;this[_0xee8072(0x39e)]=this[_0xee8072(0x39e)][_0xee8072(0x4b5)](_0x3c09ea),this[_0xee8072(0x511)]();},'reset':function(){const _0x3d531d=_0x1e6ff2;_0x421737[_0x3d531d(0x511)][_0x3d531d(0x1a6)](this),this['_doReset']();},'update':function(_0x124712){const _0x5e7fb6=_0x1e6ff2;return this[_0x5e7fb6(0x15d)](_0x124712),this['_process'](),this;},'finalize':function(_0x234139){const _0x4e6461=_0x1e6ff2;_0x234139&&this[_0x4e6461(0x15d)](_0x234139);var _0x9e6f57=this['_doFinalize']();return _0x9e6f57;},'blockSize':0x10,'_createHelper':function(_0x50fe12){return function(_0x3143e4,_0x407b8a){const _0x319591=_0x33b4;return new _0x50fe12[(_0x319591(0x4cf))](_0x407b8a)[_0x319591(0x270)](_0x3143e4);};},'_createHmacHelper':function(_0x262b59){return function(_0x5d23ea,_0x79e49c){const _0x1b94c9=_0x33b4;return new _0x3d7efc[(_0x1b94c9(0x3ae))][(_0x1b94c9(0x4cf))](_0x262b59,_0x79e49c)['finalize'](_0x5d23ea);};}});var _0x3d7efc=_0x3c551f[_0x1e6ff2(0x242)]={};return _0x3c551f;}(Math);return _0x16c8d8;}));}(Ft)),Ft[_0x4d843b(0x4a6)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x19e048,_0xc7ac0){(function(_0x59d21b,_0x1a1938){_0x19e048['exports']=_0x1a1938(ue());}(Z,function(_0xecbc13){const _0x1b166f=_0x33b4;return(function(){const _0x67b179=_0x33b4;var _0x38d673=_0xecbc13,_0x1a0b19=_0x38d673[_0x67b179(0x22c)],_0x40a482=_0x1a0b19[_0x67b179(0x170)],_0x4fd3c5=_0x38d673[_0x67b179(0x230)];_0x4fd3c5[_0x67b179(0x501)]={'stringify':function(_0x130bcb){const _0x3315d3=_0x67b179;var _0x4e76f2=_0x130bcb[_0x3315d3(0x33c)],_0x52159e=_0x130bcb['sigBytes'],_0x1fae4a=this[_0x3315d3(0x443)];_0x130bcb[_0x3315d3(0x201)]();for(var _0x374d62=[],_0x16e9cb=0x0;_0x16e9cb<_0x52159e;_0x16e9cb+=0x3)for(var _0x438bf6=_0x4e76f2[_0x16e9cb>>>0x2]>>>0x18-_0x16e9cb%0x4*0x8&0xff,_0x51b2d0=_0x4e76f2[_0x16e9cb+0x1>>>0x2]>>>0x18-(_0x16e9cb+0x1)%0x4*0x8&0xff,_0x240941=_0x4e76f2[_0x16e9cb+0x2>>>0x2]>>>0x18-(_0x16e9cb+0x2)%0x4*0x8&0xff,_0x43c8ed=_0x438bf6<<0x10|_0x51b2d0<<0x8|_0x240941,_0x506ca0=0x0;_0x506ca0<0x4&&_0x16e9cb+_0x506ca0*0.75<_0x52159e;_0x506ca0++)_0x374d62[_0x3315d3(0x301)](_0x1fae4a['charAt'](_0x43c8ed>>>0x6*(0x3-_0x506ca0)&0x3f));var _0x5017e9=_0x1fae4a[_0x3315d3(0x36a)](0x40);if(_0x5017e9){for(;_0x374d62['length']%0x4;)_0x374d62[_0x3315d3(0x301)](_0x5017e9);}return _0x374d62['join']('');},'parse':function(_0x4ea48b){const _0x16d555=_0x67b179;var _0x5982c9=_0x4ea48b['length'],_0x155fd3=this['_map'],_0x14a199=this[_0x16d555(0x3f2)];if(!_0x14a199){_0x14a199=this[_0x16d555(0x3f2)]=[];for(var _0x10290f=0x0;_0x10290f<_0x155fd3['length'];_0x10290f++)_0x14a199[_0x155fd3[_0x16d555(0x326)](_0x10290f)]=_0x10290f;}var _0x461d80=_0x155fd3[_0x16d555(0x36a)](0x40);if(_0x461d80){var _0x1f0b22=_0x4ea48b[_0x16d555(0x25f)](_0x461d80);_0x1f0b22!==-0x1&&(_0x5982c9=_0x1f0b22);}return _0x12300b(_0x4ea48b,_0x5982c9,_0x14a199);},'_map':_0x67b179(0x29e)};function _0x12300b(_0x18d6ae,_0x36cdae,_0x2d5610){const _0x229017=_0x67b179;for(var _0x277804=[],_0x5a316b=0x0,_0x299c1a=0x0;_0x299c1a<_0x36cdae;_0x299c1a++)if(_0x299c1a%0x4){var _0x30b50b=_0x2d5610[_0x18d6ae[_0x229017(0x326)](_0x299c1a-0x1)]<<_0x299c1a%0x4*0x2,_0x29a6fc=_0x2d5610[_0x18d6ae[_0x229017(0x326)](_0x299c1a)]>>>0x6-_0x299c1a%0x4*0x2,_0x2ad904=_0x30b50b|_0x29a6fc;_0x277804[_0x5a316b>>>0x2]|=_0x2ad904<<0x18-_0x5a316b%0x4*0x8,_0x5a316b++;}return _0x40a482[_0x229017(0x3f7)](_0x277804,_0x5a316b);}}()),_0xecbc13[_0x1b166f(0x230)][_0x1b166f(0x501)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Fa(){const _0x558eed=_0x354c00;return Zs||(Zs=0x1,function(_0x55a2a9,_0x59e57f){(function(_0x569a9d,_0x4802e7){const _0x4d182b=_0x33b4;_0x55a2a9[_0x4d182b(0x4a6)]=_0x4802e7(ue());}(Z,function(_0x4a9266){return function(_0x28e238){const _0x23c2c5=_0x33b4;var _0x5b5a45=_0x4a9266,_0x21b08a=_0x5b5a45[_0x23c2c5(0x22c)],_0x4a8937=_0x21b08a['WordArray'],_0x12da73=_0x21b08a[_0x23c2c5(0x24a)],_0x47c9b2=_0x5b5a45[_0x23c2c5(0x242)],_0x3a3a5e=[];(function(){const _0x5182e4=_0x23c2c5;for(var _0xce57b1=0x0;_0xce57b1<0x40;_0xce57b1++)_0x3a3a5e[_0xce57b1]=_0x28e238[_0x5182e4(0x142)](_0x28e238[_0x5182e4(0x4b0)](_0xce57b1+0x1))*0x100000000|0x0;}());var _0x122d31=_0x47c9b2[_0x23c2c5(0x401)]=_0x12da73[_0x23c2c5(0x4b5)]({'_doReset':function(){const _0xb36b7b=_0x23c2c5;this[_0xb36b7b(0x4ee)]=new _0x4a8937[(_0xb36b7b(0x4cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x250b56,_0x596a01){const _0x8429d6=_0x23c2c5;for(var _0x582416=0x0;_0x582416<0x10;_0x582416++){var _0x59e55d=_0x596a01+_0x582416,_0x459063=_0x250b56[_0x59e55d];_0x250b56[_0x59e55d]=(_0x459063<<0x8|_0x459063>>>0x18)&0xff00ff|(_0x459063<<0x18|_0x459063>>>0x8)&0xff00ff00;}var _0xa04745=this['_hash'][_0x8429d6(0x33c)],_0x58e5f8=_0x250b56[_0x596a01+0x0],_0x326dd7=_0x250b56[_0x596a01+0x1],_0x47231e=_0x250b56[_0x596a01+0x2],_0x4862bb=_0x250b56[_0x596a01+0x3],_0x230354=_0x250b56[_0x596a01+0x4],_0x4a8091=_0x250b56[_0x596a01+0x5],_0x3fa3ba=_0x250b56[_0x596a01+0x6],_0x78a930=_0x250b56[_0x596a01+0x7],_0x5782ba=_0x250b56[_0x596a01+0x8],_0x4ae3e5=_0x250b56[_0x596a01+0x9],_0x3f3e3d=_0x250b56[_0x596a01+0xa],_0x3991b3=_0x250b56[_0x596a01+0xb],_0x18ab89=_0x250b56[_0x596a01+0xc],_0x3067be=_0x250b56[_0x596a01+0xd],_0x5d3cd2=_0x250b56[_0x596a01+0xe],_0x4e826d=_0x250b56[_0x596a01+0xf],_0xcfd5ee=_0xa04745[0x0],_0x11e725=_0xa04745[0x1],_0x3ca560=_0xa04745[0x2],_0xcd0034=_0xa04745[0x3];_0xcfd5ee=_0x429a08(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x58e5f8,0x7,_0x3a3a5e[0x0]),_0xcd0034=_0x429a08(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x326dd7,0xc,_0x3a3a5e[0x1]),_0x3ca560=_0x429a08(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x47231e,0x11,_0x3a3a5e[0x2]),_0x11e725=_0x429a08(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x4862bb,0x16,_0x3a3a5e[0x3]),_0xcfd5ee=_0x429a08(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x230354,0x7,_0x3a3a5e[0x4]),_0xcd0034=_0x429a08(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x4a8091,0xc,_0x3a3a5e[0x5]),_0x3ca560=_0x429a08(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3fa3ba,0x11,_0x3a3a5e[0x6]),_0x11e725=_0x429a08(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x78a930,0x16,_0x3a3a5e[0x7]),_0xcfd5ee=_0x429a08(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x5782ba,0x7,_0x3a3a5e[0x8]),_0xcd0034=_0x429a08(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x4ae3e5,0xc,_0x3a3a5e[0x9]),_0x3ca560=_0x429a08(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3f3e3d,0x11,_0x3a3a5e[0xa]),_0x11e725=_0x429a08(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x3991b3,0x16,_0x3a3a5e[0xb]),_0xcfd5ee=_0x429a08(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x18ab89,0x7,_0x3a3a5e[0xc]),_0xcd0034=_0x429a08(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x3067be,0xc,_0x3a3a5e[0xd]),_0x3ca560=_0x429a08(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x5d3cd2,0x11,_0x3a3a5e[0xe]),_0x11e725=_0x429a08(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x4e826d,0x16,_0x3a3a5e[0xf]),_0xcfd5ee=_0x382560(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x326dd7,0x5,_0x3a3a5e[0x10]),_0xcd0034=_0x382560(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x3fa3ba,0x9,_0x3a3a5e[0x11]),_0x3ca560=_0x382560(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3991b3,0xe,_0x3a3a5e[0x12]),_0x11e725=_0x382560(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x58e5f8,0x14,_0x3a3a5e[0x13]),_0xcfd5ee=_0x382560(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x4a8091,0x5,_0x3a3a5e[0x14]),_0xcd0034=_0x382560(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x3f3e3d,0x9,_0x3a3a5e[0x15]),_0x3ca560=_0x382560(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x4e826d,0xe,_0x3a3a5e[0x16]),_0x11e725=_0x382560(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x230354,0x14,_0x3a3a5e[0x17]),_0xcfd5ee=_0x382560(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x4ae3e5,0x5,_0x3a3a5e[0x18]),_0xcd0034=_0x382560(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x5d3cd2,0x9,_0x3a3a5e[0x19]),_0x3ca560=_0x382560(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x4862bb,0xe,_0x3a3a5e[0x1a]),_0x11e725=_0x382560(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x5782ba,0x14,_0x3a3a5e[0x1b]),_0xcfd5ee=_0x382560(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x3067be,0x5,_0x3a3a5e[0x1c]),_0xcd0034=_0x382560(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x47231e,0x9,_0x3a3a5e[0x1d]),_0x3ca560=_0x382560(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x78a930,0xe,_0x3a3a5e[0x1e]),_0x11e725=_0x382560(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x18ab89,0x14,_0x3a3a5e[0x1f]),_0xcfd5ee=_0x2aa528(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x4a8091,0x4,_0x3a3a5e[0x20]),_0xcd0034=_0x2aa528(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x5782ba,0xb,_0x3a3a5e[0x21]),_0x3ca560=_0x2aa528(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3991b3,0x10,_0x3a3a5e[0x22]),_0x11e725=_0x2aa528(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x5d3cd2,0x17,_0x3a3a5e[0x23]),_0xcfd5ee=_0x2aa528(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x326dd7,0x4,_0x3a3a5e[0x24]),_0xcd0034=_0x2aa528(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x230354,0xb,_0x3a3a5e[0x25]),_0x3ca560=_0x2aa528(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x78a930,0x10,_0x3a3a5e[0x26]),_0x11e725=_0x2aa528(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x3f3e3d,0x17,_0x3a3a5e[0x27]),_0xcfd5ee=_0x2aa528(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x3067be,0x4,_0x3a3a5e[0x28]),_0xcd0034=_0x2aa528(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x58e5f8,0xb,_0x3a3a5e[0x29]),_0x3ca560=_0x2aa528(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x4862bb,0x10,_0x3a3a5e[0x2a]),_0x11e725=_0x2aa528(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x3fa3ba,0x17,_0x3a3a5e[0x2b]),_0xcfd5ee=_0x2aa528(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x4ae3e5,0x4,_0x3a3a5e[0x2c]),_0xcd0034=_0x2aa528(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x18ab89,0xb,_0x3a3a5e[0x2d]),_0x3ca560=_0x2aa528(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x4e826d,0x10,_0x3a3a5e[0x2e]),_0x11e725=_0x2aa528(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x47231e,0x17,_0x3a3a5e[0x2f]),_0xcfd5ee=_0x5ee0cc(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x58e5f8,0x6,_0x3a3a5e[0x30]),_0xcd0034=_0x5ee0cc(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x78a930,0xa,_0x3a3a5e[0x31]),_0x3ca560=_0x5ee0cc(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x5d3cd2,0xf,_0x3a3a5e[0x32]),_0x11e725=_0x5ee0cc(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x4a8091,0x15,_0x3a3a5e[0x33]),_0xcfd5ee=_0x5ee0cc(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x18ab89,0x6,_0x3a3a5e[0x34]),_0xcd0034=_0x5ee0cc(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x4862bb,0xa,_0x3a3a5e[0x35]),_0x3ca560=_0x5ee0cc(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3f3e3d,0xf,_0x3a3a5e[0x36]),_0x11e725=_0x5ee0cc(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x326dd7,0x15,_0x3a3a5e[0x37]),_0xcfd5ee=_0x5ee0cc(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x5782ba,0x6,_0x3a3a5e[0x38]),_0xcd0034=_0x5ee0cc(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x4e826d,0xa,_0x3a3a5e[0x39]),_0x3ca560=_0x5ee0cc(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x3fa3ba,0xf,_0x3a3a5e[0x3a]),_0x11e725=_0x5ee0cc(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x3067be,0x15,_0x3a3a5e[0x3b]),_0xcfd5ee=_0x5ee0cc(_0xcfd5ee,_0x11e725,_0x3ca560,_0xcd0034,_0x230354,0x6,_0x3a3a5e[0x3c]),_0xcd0034=_0x5ee0cc(_0xcd0034,_0xcfd5ee,_0x11e725,_0x3ca560,_0x3991b3,0xa,_0x3a3a5e[0x3d]),_0x3ca560=_0x5ee0cc(_0x3ca560,_0xcd0034,_0xcfd5ee,_0x11e725,_0x47231e,0xf,_0x3a3a5e[0x3e]),_0x11e725=_0x5ee0cc(_0x11e725,_0x3ca560,_0xcd0034,_0xcfd5ee,_0x4ae3e5,0x15,_0x3a3a5e[0x3f]),_0xa04745[0x0]=_0xa04745[0x0]+_0xcfd5ee|0x0,_0xa04745[0x1]=_0xa04745[0x1]+_0x11e725|0x0,_0xa04745[0x2]=_0xa04745[0x2]+_0x3ca560|0x0,_0xa04745[0x3]=_0xa04745[0x3]+_0xcd0034|0x0;},'_doFinalize':function(){const _0x5ba597=_0x23c2c5;var _0x5715e8=this[_0x5ba597(0x321)],_0x33f95c=_0x5715e8[_0x5ba597(0x33c)],_0x1e8322=this[_0x5ba597(0x43c)]*0x8,_0x343448=_0x5715e8[_0x5ba597(0x1ce)]*0x8;_0x33f95c[_0x343448>>>0x5]|=0x80<<0x18-_0x343448%0x20;var _0xdd9e58=_0x28e238['floor'](_0x1e8322/0x100000000),_0x4c8f97=_0x1e8322;_0x33f95c[(_0x343448+0x40>>>0x9<<0x4)+0xf]=(_0xdd9e58<<0x8|_0xdd9e58>>>0x18)&0xff00ff|(_0xdd9e58<<0x18|_0xdd9e58>>>0x8)&0xff00ff00,_0x33f95c[(_0x343448+0x40>>>0x9<<0x4)+0xe]=(_0x4c8f97<<0x8|_0x4c8f97>>>0x18)&0xff00ff|(_0x4c8f97<<0x18|_0x4c8f97>>>0x8)&0xff00ff00,_0x5715e8['sigBytes']=(_0x33f95c[_0x5ba597(0x2a0)]+0x1)*0x4,this[_0x5ba597(0x2fe)]();for(var _0x370673=this[_0x5ba597(0x4ee)],_0x33b606=_0x370673['words'],_0x136399=0x0;_0x136399<0x4;_0x136399++){var _0x51f4d6=_0x33b606[_0x136399];_0x33b606[_0x136399]=(_0x51f4d6<<0x8|_0x51f4d6>>>0x18)&0xff00ff|(_0x51f4d6<<0x18|_0x51f4d6>>>0x8)&0xff00ff00;}return _0x370673;},'clone':function(){const _0x4ff4b5=_0x23c2c5;var _0x3f29f5=_0x12da73['clone']['call'](this);return _0x3f29f5[_0x4ff4b5(0x4ee)]=this[_0x4ff4b5(0x4ee)]['clone'](),_0x3f29f5;}});function _0x429a08(_0xc639b3,_0x50298b,_0x59c800,_0x50bdfa,_0x30bffb,_0x1ab391,_0x5b5828){var _0x124317=_0xc639b3+(_0x50298b&_0x59c800|~_0x50298b&_0x50bdfa)+_0x30bffb+_0x5b5828;return(_0x124317<<_0x1ab391|_0x124317>>>0x20-_0x1ab391)+_0x50298b;}function _0x382560(_0x41be3b,_0x2d9039,_0x31dc90,_0xedd590,_0x505ce2,_0x744343,_0x3cd7f0){var _0x4d7401=_0x41be3b+(_0x2d9039&_0xedd590|_0x31dc90&~_0xedd590)+_0x505ce2+_0x3cd7f0;return(_0x4d7401<<_0x744343|_0x4d7401>>>0x20-_0x744343)+_0x2d9039;}function _0x2aa528(_0x5801dc,_0x21f620,_0x5cf080,_0x3c74a6,_0x4904f7,_0x23dc0a,_0x350597){var _0x273555=_0x5801dc+(_0x21f620^_0x5cf080^_0x3c74a6)+_0x4904f7+_0x350597;return(_0x273555<<_0x23dc0a|_0x273555>>>0x20-_0x23dc0a)+_0x21f620;}function _0x5ee0cc(_0x22375a,_0x28cfe7,_0x56a85b,_0x473373,_0x3f2bb9,_0x4da9a3,_0x3b9217){var _0x511935=_0x22375a+(_0x56a85b^(_0x28cfe7|~_0x473373))+_0x3f2bb9+_0x3b9217;return(_0x511935<<_0x4da9a3|_0x511935>>>0x20-_0x4da9a3)+_0x28cfe7;}_0x5b5a45[_0x23c2c5(0x401)]=_0x12da73[_0x23c2c5(0x23e)](_0x122d31),_0x5b5a45[_0x23c2c5(0x4c0)]=_0x12da73[_0x23c2c5(0x449)](_0x122d31);}(Math),_0x4a9266['MD5'];}));}(Gt)),Gt[_0x558eed(0x4a6)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x530790=_0x354c00;return Qs||(Qs=0x1,function(_0x204cc8,_0x44154e){(function(_0x29f196,_0x563f66){const _0x46232e=_0x33b4;_0x204cc8[_0x46232e(0x4a6)]=_0x563f66(ue());}(Z,function(_0x309658){const _0x2339c6=_0x33b4;return(function(){const _0x46cae9=_0x33b4;var _0x4e5dff=_0x309658,_0x464e34=_0x4e5dff[_0x46cae9(0x22c)],_0x40ee66=_0x464e34[_0x46cae9(0x170)],_0x31857a=_0x464e34[_0x46cae9(0x24a)],_0x1ee2fc=_0x4e5dff[_0x46cae9(0x242)],_0x3f2433=[],_0x2efa06=_0x1ee2fc[_0x46cae9(0x46e)]=_0x31857a['extend']({'_doReset':function(){const _0x2b9bd0=_0x46cae9;this['_hash']=new _0x40ee66[(_0x2b9bd0(0x4cf))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x15ded5,_0x1cdaba){const _0x33beee=_0x46cae9;for(var _0xc1b58a=this[_0x33beee(0x4ee)][_0x33beee(0x33c)],_0x4cced9=_0xc1b58a[0x0],_0xed0d09=_0xc1b58a[0x1],_0x114122=_0xc1b58a[0x2],_0x4493d7=_0xc1b58a[0x3],_0x3a6ce8=_0xc1b58a[0x4],_0x28a83e=0x0;_0x28a83e<0x50;_0x28a83e++){if(_0x28a83e<0x10)_0x3f2433[_0x28a83e]=_0x15ded5[_0x1cdaba+_0x28a83e]|0x0;else{var _0x3b7baa=_0x3f2433[_0x28a83e-0x3]^_0x3f2433[_0x28a83e-0x8]^_0x3f2433[_0x28a83e-0xe]^_0x3f2433[_0x28a83e-0x10];_0x3f2433[_0x28a83e]=_0x3b7baa<<0x1|_0x3b7baa>>>0x1f;}var _0x346e56=(_0x4cced9<<0x5|_0x4cced9>>>0x1b)+_0x3a6ce8+_0x3f2433[_0x28a83e];_0x28a83e<0x14?_0x346e56+=(_0xed0d09&_0x114122|~_0xed0d09&_0x4493d7)+0x5a827999:_0x28a83e<0x28?_0x346e56+=(_0xed0d09^_0x114122^_0x4493d7)+0x6ed9eba1:_0x28a83e<0x3c?_0x346e56+=(_0xed0d09&_0x114122|_0xed0d09&_0x4493d7|_0x114122&_0x4493d7)-0x70e44324:_0x346e56+=(_0xed0d09^_0x114122^_0x4493d7)-0x359d3e2a,_0x3a6ce8=_0x4493d7,_0x4493d7=_0x114122,_0x114122=_0xed0d09<<0x1e|_0xed0d09>>>0x2,_0xed0d09=_0x4cced9,_0x4cced9=_0x346e56;}_0xc1b58a[0x0]=_0xc1b58a[0x0]+_0x4cced9|0x0,_0xc1b58a[0x1]=_0xc1b58a[0x1]+_0xed0d09|0x0,_0xc1b58a[0x2]=_0xc1b58a[0x2]+_0x114122|0x0,_0xc1b58a[0x3]=_0xc1b58a[0x3]+_0x4493d7|0x0,_0xc1b58a[0x4]=_0xc1b58a[0x4]+_0x3a6ce8|0x0;},'_doFinalize':function(){const _0x27f0c1=_0x46cae9;var _0x487fe5=this[_0x27f0c1(0x321)],_0x1c2ee7=_0x487fe5[_0x27f0c1(0x33c)],_0x3a08c4=this[_0x27f0c1(0x43c)]*0x8,_0x396772=_0x487fe5[_0x27f0c1(0x1ce)]*0x8;return _0x1c2ee7[_0x396772>>>0x5]|=0x80<<0x18-_0x396772%0x20,_0x1c2ee7[(_0x396772+0x40>>>0x9<<0x4)+0xe]=Math[_0x27f0c1(0x1cc)](_0x3a08c4/0x100000000),_0x1c2ee7[(_0x396772+0x40>>>0x9<<0x4)+0xf]=_0x3a08c4,_0x487fe5[_0x27f0c1(0x1ce)]=_0x1c2ee7['length']*0x4,this[_0x27f0c1(0x2fe)](),this[_0x27f0c1(0x4ee)];},'clone':function(){const _0x5d55b8=_0x46cae9;var _0x453992=_0x31857a[_0x5d55b8(0x202)]['call'](this);return _0x453992[_0x5d55b8(0x4ee)]=this[_0x5d55b8(0x4ee)]['clone'](),_0x453992;}});_0x4e5dff['SHA1']=_0x31857a[_0x46cae9(0x23e)](_0x2efa06),_0x4e5dff[_0x46cae9(0x4a8)]=_0x31857a[_0x46cae9(0x449)](_0x2efa06);}()),_0x309658[_0x2339c6(0x46e)];}));}(Kt)),Kt[_0x530790(0x4a6)];}var zt={'exports':{}},ei;function Ga(){const _0x59610a=_0x354c00;return ei||(ei=0x1,function(_0x4500fe,_0x5d39a6){(function(_0x3ea429,_0xe75192){const _0x4ee2dd=_0x33b4;_0x4500fe[_0x4ee2dd(0x4a6)]=_0xe75192(ue());}(Z,function(_0x562ba9){(function(){const _0x3c3e30=_0x33b4;var _0x19368f=_0x562ba9,_0x35296c=_0x19368f[_0x3c3e30(0x22c)],_0x11d294=_0x35296c[_0x3c3e30(0x2a4)],_0x4223ce=_0x19368f['enc'],_0x34c025=_0x4223ce['Utf8'],_0x2e4e49=_0x19368f[_0x3c3e30(0x242)];_0x2e4e49[_0x3c3e30(0x3ae)]=_0x11d294[_0x3c3e30(0x4b5)]({'init':function(_0x5377ae,_0x2d9e06){const _0x54ff00=_0x3c3e30;_0x5377ae=this[_0x54ff00(0x371)]=new _0x5377ae['init'](),typeof _0x2d9e06==_0x54ff00(0x1a5)&&(_0x2d9e06=_0x34c025['parse'](_0x2d9e06));var _0x59ea9e=_0x5377ae[_0x54ff00(0x1e3)],_0x32a99c=_0x59ea9e*0x4;_0x2d9e06[_0x54ff00(0x1ce)]>_0x32a99c&&(_0x2d9e06=_0x5377ae[_0x54ff00(0x270)](_0x2d9e06)),_0x2d9e06[_0x54ff00(0x201)]();for(var _0x3e9365=this[_0x54ff00(0x3d4)]=_0x2d9e06[_0x54ff00(0x202)](),_0x4f11bc=this[_0x54ff00(0x1b7)]=_0x2d9e06['clone'](),_0x44069d=_0x3e9365['words'],_0x499244=_0x4f11bc[_0x54ff00(0x33c)],_0x4b5c87=0x0;_0x4b5c87<_0x59ea9e;_0x4b5c87++)_0x44069d[_0x4b5c87]^=0x5c5c5c5c,_0x499244[_0x4b5c87]^=0x36363636;_0x3e9365['sigBytes']=_0x4f11bc['sigBytes']=_0x32a99c,this[_0x54ff00(0x511)]();},'reset':function(){const _0x491ac1=_0x3c3e30;var _0x82cc1c=this[_0x491ac1(0x371)];_0x82cc1c[_0x491ac1(0x511)](),_0x82cc1c[_0x491ac1(0x192)](this[_0x491ac1(0x1b7)]);},'update':function(_0x11aef2){const _0x219c6d=_0x3c3e30;return this[_0x219c6d(0x371)][_0x219c6d(0x192)](_0x11aef2),this;},'finalize':function(_0x2b52e4){const _0x338922=_0x3c3e30;var _0x47ca13=this[_0x338922(0x371)],_0x1b6282=_0x47ca13['finalize'](_0x2b52e4);_0x47ca13['reset']();var _0x549584=_0x47ca13[_0x338922(0x270)](this[_0x338922(0x3d4)][_0x338922(0x202)]()['concat'](_0x1b6282));return _0x549584;}});}());}));}(zt)),zt[_0x59610a(0x4a6)];}var ti;function Fi(){const _0x32681f=_0x354c00;return ti||(ti=0x1,function(_0x3ced2a,_0x5096ae){(function(_0x53c776,_0x114b07,_0x5d03a1){const _0x1a5335=_0x33b4;_0x3ced2a[_0x1a5335(0x4a6)]=_0x114b07(ue(),Va(),Ga());}(Z,function(_0x180241){const _0x1099e2=_0x33b4;return(function(){const _0x1dd5fc=_0x33b4;var _0x288c83=_0x180241,_0x8c3564=_0x288c83['lib'],_0x1dfc05=_0x8c3564[_0x1dd5fc(0x2a4)],_0x17875d=_0x8c3564[_0x1dd5fc(0x170)],_0x27b894=_0x288c83['algo'],_0x17cc05=_0x27b894[_0x1dd5fc(0x401)],_0xc1d60e=_0x27b894[_0x1dd5fc(0x4af)]=_0x1dfc05[_0x1dd5fc(0x4b5)]({'cfg':_0x1dfc05[_0x1dd5fc(0x4b5)]({'keySize':0x80/0x20,'hasher':_0x17cc05,'iterations':0x1}),'init':function(_0x7b906e){const _0x2454e4=_0x1dd5fc;this[_0x2454e4(0x39e)]=this[_0x2454e4(0x39e)][_0x2454e4(0x4b5)](_0x7b906e);},'compute':function(_0x191006,_0x23bc3f){const _0x523dba=_0x1dd5fc;for(var _0x53ef0a,_0x33829c=this[_0x523dba(0x39e)],_0x1fdcc0=_0x33829c[_0x523dba(0x2db)][_0x523dba(0x3f7)](),_0x48095c=_0x17875d['create'](),_0xa651bd=_0x48095c[_0x523dba(0x33c)],_0x5dae74=_0x33829c[_0x523dba(0x224)],_0x533480=_0x33829c['iterations'];_0xa651bd[_0x523dba(0x2a0)]<_0x5dae74;){_0x53ef0a&&_0x1fdcc0[_0x523dba(0x192)](_0x53ef0a),_0x53ef0a=_0x1fdcc0['update'](_0x191006)[_0x523dba(0x270)](_0x23bc3f),_0x1fdcc0[_0x523dba(0x511)]();for(var _0x309ec9=0x1;_0x309ec9<_0x533480;_0x309ec9++)_0x53ef0a=_0x1fdcc0['finalize'](_0x53ef0a),_0x1fdcc0['reset']();_0x48095c[_0x523dba(0x4a3)](_0x53ef0a);}return _0x48095c[_0x523dba(0x1ce)]=_0x5dae74*0x4,_0x48095c;}});_0x288c83[_0x1dd5fc(0x4af)]=function(_0x50490e,_0x459ad2,_0x1432f5){return _0xc1d60e['create'](_0x1432f5)['compute'](_0x50490e,_0x459ad2);};}()),_0x180241[_0x1099e2(0x4af)];}));}(Yt)),Yt[_0x32681f(0x4a6)];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0xe0f337,_0x31813e){(function(_0x2852d6,_0x28c7f8,_0x5b911b){const _0x209162=_0x33b4;_0xe0f337[_0x209162(0x4a6)]=_0x28c7f8(ue(),Fi());}(Z,function(_0x2c1d4d){const _0x536325=_0x33b4;_0x2c1d4d[_0x536325(0x22c)]['Cipher']||function(_0x40ad6f){const _0x432365=_0x536325;var _0xe511f=_0x2c1d4d,_0x226c0a=_0xe511f[_0x432365(0x22c)],_0x2338ff=_0x226c0a['Base'],_0x248860=_0x226c0a[_0x432365(0x170)],_0x411560=_0x226c0a[_0x432365(0x3b7)],_0x1d8344=_0xe511f[_0x432365(0x230)];_0x1d8344['Utf8'];var _0x48ee6c=_0x1d8344[_0x432365(0x501)],_0x50775b=_0xe511f[_0x432365(0x242)],_0x1c278f=_0x50775b[_0x432365(0x4af)],_0x487b3a=_0x226c0a[_0x432365(0x39a)]=_0x411560['extend']({'cfg':_0x2338ff['extend'](),'createEncryptor':function(_0x32f2e0,_0x30c1c3){return this['create'](this['_ENC_XFORM_MODE'],_0x32f2e0,_0x30c1c3);},'createDecryptor':function(_0x50efe6,_0x32024e){const _0x56c484=_0x432365;return this['create'](this[_0x56c484(0x48f)],_0x50efe6,_0x32024e);},'init':function(_0x405997,_0x3e5e63,_0x326a56){const _0x47dd01=_0x432365;this[_0x47dd01(0x39e)]=this['cfg'][_0x47dd01(0x4b5)](_0x326a56),this[_0x47dd01(0x40b)]=_0x405997,this[_0x47dd01(0x25e)]=_0x3e5e63,this[_0x47dd01(0x511)]();},'reset':function(){const _0x17f702=_0x432365;_0x411560[_0x17f702(0x511)][_0x17f702(0x1a6)](this),this['_doReset']();},'process':function(_0x4e33a1){const _0x12d69d=_0x432365;return this[_0x12d69d(0x15d)](_0x4e33a1),this[_0x12d69d(0x2fe)]();},'finalize':function(_0x527bbf){const _0x54ae4e=_0x432365;_0x527bbf&&this[_0x54ae4e(0x15d)](_0x527bbf);var _0x3c2609=this[_0x54ae4e(0x37c)]();return _0x3c2609;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3fe40c(_0x1286fa){return typeof _0x1286fa=='string'?_0x22f66d:_0x451fc5;}return function(_0x559ee3){return{'encrypt':function(_0xe3dc48,_0x11e7c1,_0x45dbc0){return _0x3fe40c(_0x11e7c1)['encrypt'](_0x559ee3,_0xe3dc48,_0x11e7c1,_0x45dbc0);},'decrypt':function(_0x149f6c,_0x2fae48,_0x466393){return _0x3fe40c(_0x2fae48)['decrypt'](_0x559ee3,_0x149f6c,_0x2fae48,_0x466393);}};};}())});_0x226c0a['StreamCipher']=_0x487b3a[_0x432365(0x4b5)]({'_doFinalize':function(){const _0x216a50=_0x432365;var _0x5bfe09=this[_0x216a50(0x2fe)](!0x0);return _0x5bfe09;},'blockSize':0x1});var _0x1eea4c=_0xe511f['mode']={},_0x389b72=_0x226c0a[_0x432365(0x2a3)]=_0x2338ff[_0x432365(0x4b5)]({'createEncryptor':function(_0x133b5d,_0x3e319a){const _0x2e897e=_0x432365;return this[_0x2e897e(0x25a)][_0x2e897e(0x3f7)](_0x133b5d,_0x3e319a);},'createDecryptor':function(_0x49cb0c,_0x2431e5){const _0x58fd85=_0x432365;return this[_0x58fd85(0x284)][_0x58fd85(0x3f7)](_0x49cb0c,_0x2431e5);},'init':function(_0x4ba312,_0x3319e5){const _0x1d8030=_0x432365;this[_0x1d8030(0x414)]=_0x4ba312,this[_0x1d8030(0x1a3)]=_0x3319e5;}}),_0x472196=_0x1eea4c[_0x432365(0x34c)]=(function(){const _0x283379=_0x432365;var _0x1b7c20=_0x389b72[_0x283379(0x4b5)]();_0x1b7c20[_0x283379(0x25a)]=_0x1b7c20['extend']({'processBlock':function(_0x58c1b4,_0x1730dc){const _0xb58ca6=_0x283379;var _0xeecb01=this[_0xb58ca6(0x414)],_0x256ad8=_0xeecb01[_0xb58ca6(0x1e3)];_0x332e70[_0xb58ca6(0x1a6)](this,_0x58c1b4,_0x1730dc,_0x256ad8),_0xeecb01['encryptBlock'](_0x58c1b4,_0x1730dc),this[_0xb58ca6(0x14f)]=_0x58c1b4[_0xb58ca6(0x475)](_0x1730dc,_0x1730dc+_0x256ad8);}}),_0x1b7c20[_0x283379(0x284)]=_0x1b7c20['extend']({'processBlock':function(_0x22753e,_0x3b2aea){const _0x548de0=_0x283379;var _0x5d1f6f=this[_0x548de0(0x414)],_0x3b948a=_0x5d1f6f[_0x548de0(0x1e3)],_0x2292f8=_0x22753e[_0x548de0(0x475)](_0x3b2aea,_0x3b2aea+_0x3b948a);_0x5d1f6f[_0x548de0(0x273)](_0x22753e,_0x3b2aea),_0x332e70[_0x548de0(0x1a6)](this,_0x22753e,_0x3b2aea,_0x3b948a),this[_0x548de0(0x14f)]=_0x2292f8;}});function _0x332e70(_0x45c489,_0x1b74e4,_0x5e25f4){const _0x112437=_0x283379;var _0x41e669,_0x59b22b=this[_0x112437(0x1a3)];_0x59b22b?(_0x41e669=_0x59b22b,this[_0x112437(0x1a3)]=_0x40ad6f):_0x41e669=this[_0x112437(0x14f)];for(var _0xedb69b=0x0;_0xedb69b<_0x5e25f4;_0xedb69b++)_0x45c489[_0x1b74e4+_0xedb69b]^=_0x41e669[_0xedb69b];}return _0x1b7c20;}()),_0x1d7e82=_0xe511f[_0x432365(0x4f2)]={},_0x258057=_0x1d7e82[_0x432365(0x4ef)]={'pad':function(_0x2f4bdc,_0x53bade){const _0x40cb2d=_0x432365;for(var _0x48dcfe=_0x53bade*0x4,_0x4387d5=_0x48dcfe-_0x2f4bdc[_0x40cb2d(0x1ce)]%_0x48dcfe,_0x3797e8=_0x4387d5<<0x18|_0x4387d5<<0x10|_0x4387d5<<0x8|_0x4387d5,_0x430493=[],_0x5c7896=0x0;_0x5c7896<_0x4387d5;_0x5c7896+=0x4)_0x430493[_0x40cb2d(0x301)](_0x3797e8);var _0x5add2d=_0x248860[_0x40cb2d(0x3f7)](_0x430493,_0x4387d5);_0x2f4bdc[_0x40cb2d(0x4a3)](_0x5add2d);},'unpad':function(_0x175380){const _0x1b8cc=_0x432365;var _0x3bb18c=_0x175380[_0x1b8cc(0x33c)][_0x175380[_0x1b8cc(0x1ce)]-0x1>>>0x2]&0xff;_0x175380[_0x1b8cc(0x1ce)]-=_0x3bb18c;}};_0x226c0a[_0x432365(0x55c)]=_0x487b3a[_0x432365(0x4b5)]({'cfg':_0x487b3a['cfg']['extend']({'mode':_0x472196,'padding':_0x258057}),'reset':function(){const _0x50d352=_0x432365;var _0x11c704;_0x487b3a[_0x50d352(0x511)][_0x50d352(0x1a6)](this);var _0xbeefc2=this[_0x50d352(0x39e)],_0x19db5c=_0xbeefc2['iv'],_0x37c4d7=_0xbeefc2['mode'];this[_0x50d352(0x40b)]==this[_0x50d352(0x506)]?_0x11c704=_0x37c4d7['createEncryptor']:(_0x11c704=_0x37c4d7[_0x50d352(0x1f8)],this[_0x50d352(0x162)]=0x1),this[_0x50d352(0x47f)]&&this[_0x50d352(0x47f)]['__creator']==_0x11c704?this[_0x50d352(0x47f)][_0x50d352(0x4cf)](this,_0x19db5c&&_0x19db5c[_0x50d352(0x33c)]):(this[_0x50d352(0x47f)]=_0x11c704[_0x50d352(0x1a6)](_0x37c4d7,this,_0x19db5c&&_0x19db5c[_0x50d352(0x33c)]),this[_0x50d352(0x47f)]['__creator']=_0x11c704);},'_doProcessBlock':function(_0x2ddb63,_0x3e0214){const _0x1dc6be=_0x432365;this[_0x1dc6be(0x47f)]['processBlock'](_0x2ddb63,_0x3e0214);},'_doFinalize':function(){const _0x1e2e97=_0x432365;var _0x105ccf,_0x2c4359=this[_0x1e2e97(0x39e)][_0x1e2e97(0x263)];return this['_xformMode']==this[_0x1e2e97(0x506)]?(_0x2c4359[_0x1e2e97(0x4f2)](this['_data'],this['blockSize']),_0x105ccf=this[_0x1e2e97(0x2fe)](!0x0)):(_0x105ccf=this[_0x1e2e97(0x2fe)](!0x0),_0x2c4359[_0x1e2e97(0x37a)](_0x105ccf)),_0x105ccf;},'blockSize':0x80/0x20});var _0x33a19c=_0x226c0a['CipherParams']=_0x2338ff[_0x432365(0x4b5)]({'init':function(_0x3caa35){this['mixIn'](_0x3caa35);},'toString':function(_0x26ba06){const _0x8c918f=_0x432365;return(_0x26ba06||this[_0x8c918f(0x24f)])[_0x8c918f(0x2d5)](this);}}),_0x3b7e45=_0xe511f[_0x432365(0x279)]={},_0x2abdb1=_0x3b7e45[_0x432365(0x1b4)]={'stringify':function(_0x535d43){const _0x427740=_0x432365;var _0x5b7d60,_0x1c806f=_0x535d43[_0x427740(0x313)],_0x40d87c=_0x535d43[_0x427740(0x1df)];return _0x40d87c?_0x5b7d60=_0x248860['create']([0x53616c74,0x65645f5f])[_0x427740(0x4a3)](_0x40d87c)[_0x427740(0x4a3)](_0x1c806f):_0x5b7d60=_0x1c806f,_0x5b7d60[_0x427740(0x3d1)](_0x48ee6c);},'parse':function(_0x156875){const _0x3fe764=_0x432365;var _0x4fed00,_0x59c3ff=_0x48ee6c['parse'](_0x156875),_0x146b8d=_0x59c3ff[_0x3fe764(0x33c)];return _0x146b8d[0x0]==0x53616c74&&_0x146b8d[0x1]==0x65645f5f&&(_0x4fed00=_0x248860[_0x3fe764(0x3f7)](_0x146b8d[_0x3fe764(0x475)](0x2,0x4)),_0x146b8d[_0x3fe764(0x3bb)](0x0,0x4),_0x59c3ff[_0x3fe764(0x1ce)]-=0x10),_0x33a19c['create']({'ciphertext':_0x59c3ff,'salt':_0x4fed00});}},_0x451fc5=_0x226c0a[_0x432365(0x379)]=_0x2338ff['extend']({'cfg':_0x2338ff[_0x432365(0x4b5)]({'format':_0x2abdb1}),'encrypt':function(_0x3cad07,_0x2c3222,_0x9d5b94,_0x29efba){const _0x3ff080=_0x432365;_0x29efba=this[_0x3ff080(0x39e)][_0x3ff080(0x4b5)](_0x29efba);var _0x3d2ea9=_0x3cad07[_0x3ff080(0x4c4)](_0x9d5b94,_0x29efba),_0x267223=_0x3d2ea9['finalize'](_0x2c3222),_0x44813e=_0x3d2ea9['cfg'];return _0x33a19c[_0x3ff080(0x3f7)]({'ciphertext':_0x267223,'key':_0x9d5b94,'iv':_0x44813e['iv'],'algorithm':_0x3cad07,'mode':_0x44813e[_0x3ff080(0x1ca)],'padding':_0x44813e[_0x3ff080(0x263)],'blockSize':_0x3cad07[_0x3ff080(0x1e3)],'formatter':_0x29efba[_0x3ff080(0x279)]});},'decrypt':function(_0x2dac98,_0x4e3701,_0x34318c,_0x142330){const _0x4193fc=_0x432365;_0x142330=this['cfg'][_0x4193fc(0x4b5)](_0x142330),_0x4e3701=this['_parse'](_0x4e3701,_0x142330[_0x4193fc(0x279)]);var _0x14114a=_0x2dac98['createDecryptor'](_0x34318c,_0x142330)[_0x4193fc(0x270)](_0x4e3701['ciphertext']);return _0x14114a;},'_parse':function(_0x5e789f,_0x23b363){const _0x2091e1=_0x432365;return typeof _0x5e789f==_0x2091e1(0x1a5)?_0x23b363['parse'](_0x5e789f,this):_0x5e789f;}}),_0x13a413=_0xe511f[_0x432365(0x3dd)]={},_0x471e05=_0x13a413[_0x432365(0x1b4)]={'execute':function(_0x1ce413,_0x1e3ee4,_0x2a11bc,_0x29c2aa,_0x3dd593){const _0x199d22=_0x432365;if(_0x29c2aa||(_0x29c2aa=_0x248860[_0x199d22(0x251)](0x40/0x8)),_0x3dd593)var _0x287138=_0x1c278f['create']({'keySize':_0x1e3ee4+_0x2a11bc,'hasher':_0x3dd593})[_0x199d22(0x324)](_0x1ce413,_0x29c2aa);else var _0x287138=_0x1c278f[_0x199d22(0x3f7)]({'keySize':_0x1e3ee4+_0x2a11bc})['compute'](_0x1ce413,_0x29c2aa);var _0x952eb8=_0x248860[_0x199d22(0x3f7)](_0x287138[_0x199d22(0x33c)][_0x199d22(0x475)](_0x1e3ee4),_0x2a11bc*0x4);return _0x287138[_0x199d22(0x1ce)]=_0x1e3ee4*0x4,_0x33a19c[_0x199d22(0x3f7)]({'key':_0x287138,'iv':_0x952eb8,'salt':_0x29c2aa});}},_0x22f66d=_0x226c0a[_0x432365(0x2ad)]=_0x451fc5[_0x432365(0x4b5)]({'cfg':_0x451fc5[_0x432365(0x39e)][_0x432365(0x4b5)]({'kdf':_0x471e05}),'encrypt':function(_0x51294d,_0x17f2b6,_0x11ebce,_0x1735e3){const _0x2fb42f=_0x432365;_0x1735e3=this[_0x2fb42f(0x39e)]['extend'](_0x1735e3);var _0x4d7907=_0x1735e3[_0x2fb42f(0x3dd)][_0x2fb42f(0x268)](_0x11ebce,_0x51294d[_0x2fb42f(0x224)],_0x51294d[_0x2fb42f(0x427)],_0x1735e3[_0x2fb42f(0x1df)],_0x1735e3['hasher']);_0x1735e3['iv']=_0x4d7907['iv'];var _0x4b49d2=_0x451fc5[_0x2fb42f(0x402)][_0x2fb42f(0x1a6)](this,_0x51294d,_0x17f2b6,_0x4d7907[_0x2fb42f(0x45f)],_0x1735e3);return _0x4b49d2[_0x2fb42f(0x52b)](_0x4d7907),_0x4b49d2;},'decrypt':function(_0x3761ca,_0x42e21b,_0x5dea3e,_0x201d5b){const _0x1632cc=_0x432365;_0x201d5b=this['cfg'][_0x1632cc(0x4b5)](_0x201d5b),_0x42e21b=this[_0x1632cc(0x51e)](_0x42e21b,_0x201d5b[_0x1632cc(0x279)]);var _0xab35b3=_0x201d5b[_0x1632cc(0x3dd)][_0x1632cc(0x268)](_0x5dea3e,_0x3761ca[_0x1632cc(0x224)],_0x3761ca[_0x1632cc(0x427)],_0x42e21b[_0x1632cc(0x1df)],_0x201d5b[_0x1632cc(0x2db)]);_0x201d5b['iv']=_0xab35b3['iv'];var _0x170d49=_0x451fc5[_0x1632cc(0x3bc)][_0x1632cc(0x1a6)](this,_0x3761ca,_0x42e21b,_0xab35b3[_0x1632cc(0x45f)],_0x201d5b);return _0x170d49;}});}();}));}(qt)),qt['exports'];}(function(_0x2b7342,_0xf56fb){(function(_0x350ef1,_0x3dadcb,_0x4fe626){_0x2b7342['exports']=_0x3dadcb(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x189048){const _0x19db39=_0x33b4;return(function(){const _0x26c090=_0x33b4;var _0x61871f=_0x189048,_0x3d8a65=_0x61871f[_0x26c090(0x22c)],_0x3a3538=_0x3d8a65[_0x26c090(0x55c)],_0x2fbba9=_0x61871f[_0x26c090(0x242)],_0x5d4752=[],_0x2b3240=[],_0x430a2c=[],_0x2139ee=[],_0x2c7f70=[],_0x1099a6=[],_0x50c837=[],_0x5e22f1=[],_0x15536b=[],_0x5c3009=[];(function(){for(var _0x10b9b1=[],_0x53ddd9=0x0;_0x53ddd9<0x100;_0x53ddd9++)_0x53ddd9<0x80?_0x10b9b1[_0x53ddd9]=_0x53ddd9<<0x1:_0x10b9b1[_0x53ddd9]=_0x53ddd9<<0x1^0x11b;for(var _0x48ba6c=0x0,_0x280ff=0x0,_0x53ddd9=0x0;_0x53ddd9<0x100;_0x53ddd9++){var _0x2bcd83=_0x280ff^_0x280ff<<0x1^_0x280ff<<0x2^_0x280ff<<0x3^_0x280ff<<0x4;_0x2bcd83=_0x2bcd83>>>0x8^_0x2bcd83&0xff^0x63,_0x5d4752[_0x48ba6c]=_0x2bcd83,_0x2b3240[_0x2bcd83]=_0x48ba6c;var _0x45e3de=_0x10b9b1[_0x48ba6c],_0x4a6056=_0x10b9b1[_0x45e3de],_0x4adbd5=_0x10b9b1[_0x4a6056],_0x17fe67=_0x10b9b1[_0x2bcd83]*0x101^_0x2bcd83*0x1010100;_0x430a2c[_0x48ba6c]=_0x17fe67<<0x18|_0x17fe67>>>0x8,_0x2139ee[_0x48ba6c]=_0x17fe67<<0x10|_0x17fe67>>>0x10,_0x2c7f70[_0x48ba6c]=_0x17fe67<<0x8|_0x17fe67>>>0x18,_0x1099a6[_0x48ba6c]=_0x17fe67;var _0x17fe67=_0x4adbd5*0x1010101^_0x4a6056*0x10001^_0x45e3de*0x101^_0x48ba6c*0x1010100;_0x50c837[_0x2bcd83]=_0x17fe67<<0x18|_0x17fe67>>>0x8,_0x5e22f1[_0x2bcd83]=_0x17fe67<<0x10|_0x17fe67>>>0x10,_0x15536b[_0x2bcd83]=_0x17fe67<<0x8|_0x17fe67>>>0x18,_0x5c3009[_0x2bcd83]=_0x17fe67,_0x48ba6c?(_0x48ba6c=_0x45e3de^_0x10b9b1[_0x10b9b1[_0x10b9b1[_0x4adbd5^_0x45e3de]]],_0x280ff^=_0x10b9b1[_0x10b9b1[_0x280ff]]):_0x48ba6c=_0x280ff=0x1;}}());var _0x1e00b4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x43c452=_0x2fbba9[_0x26c090(0x2ea)]=_0x3a3538[_0x26c090(0x4b5)]({'_doReset':function(){const _0x4ce733=_0x26c090;var _0x43c611;if(!(this['_nRounds']&&this[_0x4ce733(0x2aa)]===this[_0x4ce733(0x25e)])){for(var _0x4bb8bb=this['_keyPriorReset']=this['_key'],_0x4a5452=_0x4bb8bb[_0x4ce733(0x33c)],_0x4e1c21=_0x4bb8bb[_0x4ce733(0x1ce)]/0x4,_0x234f0f=this[_0x4ce733(0x370)]=_0x4e1c21+0x6,_0x53c66b=(_0x234f0f+0x1)*0x4,_0x1ad576=this[_0x4ce733(0x2c0)]=[],_0x5f2000=0x0;_0x5f2000<_0x53c66b;_0x5f2000++)_0x5f2000<_0x4e1c21?_0x1ad576[_0x5f2000]=_0x4a5452[_0x5f2000]:(_0x43c611=_0x1ad576[_0x5f2000-0x1],_0x5f2000%_0x4e1c21?_0x4e1c21>0x6&&_0x5f2000%_0x4e1c21==0x4&&(_0x43c611=_0x5d4752[_0x43c611>>>0x18]<<0x18|_0x5d4752[_0x43c611>>>0x10&0xff]<<0x10|_0x5d4752[_0x43c611>>>0x8&0xff]<<0x8|_0x5d4752[_0x43c611&0xff]):(_0x43c611=_0x43c611<<0x8|_0x43c611>>>0x18,_0x43c611=_0x5d4752[_0x43c611>>>0x18]<<0x18|_0x5d4752[_0x43c611>>>0x10&0xff]<<0x10|_0x5d4752[_0x43c611>>>0x8&0xff]<<0x8|_0x5d4752[_0x43c611&0xff],_0x43c611^=_0x1e00b4[_0x5f2000/_0x4e1c21|0x0]<<0x18),_0x1ad576[_0x5f2000]=_0x1ad576[_0x5f2000-_0x4e1c21]^_0x43c611);for(var _0x4a98ee=this['_invKeySchedule']=[],_0x528e9c=0x0;_0x528e9c<_0x53c66b;_0x528e9c++){var _0x5f2000=_0x53c66b-_0x528e9c;if(_0x528e9c%0x4)var _0x43c611=_0x1ad576[_0x5f2000];else var _0x43c611=_0x1ad576[_0x5f2000-0x4];_0x528e9c<0x4||_0x5f2000<=0x4?_0x4a98ee[_0x528e9c]=_0x43c611:_0x4a98ee[_0x528e9c]=_0x50c837[_0x5d4752[_0x43c611>>>0x18]]^_0x5e22f1[_0x5d4752[_0x43c611>>>0x10&0xff]]^_0x15536b[_0x5d4752[_0x43c611>>>0x8&0xff]]^_0x5c3009[_0x5d4752[_0x43c611&0xff]];}}},'encryptBlock':function(_0x31cce8,_0x930dfa){const _0xf1616a=_0x26c090;this[_0xf1616a(0x3f1)](_0x31cce8,_0x930dfa,this[_0xf1616a(0x2c0)],_0x430a2c,_0x2139ee,_0x2c7f70,_0x1099a6,_0x5d4752);},'decryptBlock':function(_0x453761,_0x20ecbd){const _0x527dd0=_0x26c090;var _0x50abf3=_0x453761[_0x20ecbd+0x1];_0x453761[_0x20ecbd+0x1]=_0x453761[_0x20ecbd+0x3],_0x453761[_0x20ecbd+0x3]=_0x50abf3,this[_0x527dd0(0x3f1)](_0x453761,_0x20ecbd,this['_invKeySchedule'],_0x50c837,_0x5e22f1,_0x15536b,_0x5c3009,_0x2b3240);var _0x50abf3=_0x453761[_0x20ecbd+0x1];_0x453761[_0x20ecbd+0x1]=_0x453761[_0x20ecbd+0x3],_0x453761[_0x20ecbd+0x3]=_0x50abf3;},'_doCryptBlock':function(_0x1f5587,_0x375075,_0x30154f,_0x469c06,_0x52c594,_0x2fbee0,_0x12f202,_0x12a50b){const _0x47d8e0=_0x26c090;for(var _0x5c3411=this[_0x47d8e0(0x370)],_0x559376=_0x1f5587[_0x375075]^_0x30154f[0x0],_0x48d80e=_0x1f5587[_0x375075+0x1]^_0x30154f[0x1],_0x25bf93=_0x1f5587[_0x375075+0x2]^_0x30154f[0x2],_0x75699f=_0x1f5587[_0x375075+0x3]^_0x30154f[0x3],_0x4c1d35=0x4,_0x541555=0x1;_0x541555<_0x5c3411;_0x541555++){var _0x2f5134=_0x469c06[_0x559376>>>0x18]^_0x52c594[_0x48d80e>>>0x10&0xff]^_0x2fbee0[_0x25bf93>>>0x8&0xff]^_0x12f202[_0x75699f&0xff]^_0x30154f[_0x4c1d35++],_0x439026=_0x469c06[_0x48d80e>>>0x18]^_0x52c594[_0x25bf93>>>0x10&0xff]^_0x2fbee0[_0x75699f>>>0x8&0xff]^_0x12f202[_0x559376&0xff]^_0x30154f[_0x4c1d35++],_0x541770=_0x469c06[_0x25bf93>>>0x18]^_0x52c594[_0x75699f>>>0x10&0xff]^_0x2fbee0[_0x559376>>>0x8&0xff]^_0x12f202[_0x48d80e&0xff]^_0x30154f[_0x4c1d35++],_0x10462e=_0x469c06[_0x75699f>>>0x18]^_0x52c594[_0x559376>>>0x10&0xff]^_0x2fbee0[_0x48d80e>>>0x8&0xff]^_0x12f202[_0x25bf93&0xff]^_0x30154f[_0x4c1d35++];_0x559376=_0x2f5134,_0x48d80e=_0x439026,_0x25bf93=_0x541770,_0x75699f=_0x10462e;}var _0x2f5134=(_0x12a50b[_0x559376>>>0x18]<<0x18|_0x12a50b[_0x48d80e>>>0x10&0xff]<<0x10|_0x12a50b[_0x25bf93>>>0x8&0xff]<<0x8|_0x12a50b[_0x75699f&0xff])^_0x30154f[_0x4c1d35++],_0x439026=(_0x12a50b[_0x48d80e>>>0x18]<<0x18|_0x12a50b[_0x25bf93>>>0x10&0xff]<<0x10|_0x12a50b[_0x75699f>>>0x8&0xff]<<0x8|_0x12a50b[_0x559376&0xff])^_0x30154f[_0x4c1d35++],_0x541770=(_0x12a50b[_0x25bf93>>>0x18]<<0x18|_0x12a50b[_0x75699f>>>0x10&0xff]<<0x10|_0x12a50b[_0x559376>>>0x8&0xff]<<0x8|_0x12a50b[_0x48d80e&0xff])^_0x30154f[_0x4c1d35++],_0x10462e=(_0x12a50b[_0x75699f>>>0x18]<<0x18|_0x12a50b[_0x559376>>>0x10&0xff]<<0x10|_0x12a50b[_0x48d80e>>>0x8&0xff]<<0x8|_0x12a50b[_0x25bf93&0xff])^_0x30154f[_0x4c1d35++];_0x1f5587[_0x375075]=_0x2f5134,_0x1f5587[_0x375075+0x1]=_0x439026,_0x1f5587[_0x375075+0x2]=_0x541770,_0x1f5587[_0x375075+0x3]=_0x10462e;},'keySize':0x100/0x20});_0x61871f[_0x26c090(0x2ea)]=_0x3a3538[_0x26c090(0x23e)](_0x43c452);}()),_0x189048[_0x19db39(0x2ea)];}));}(ki));var Ya=ki[_0x354c00(0x4a6)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0xf624ea,_0x481409){(function(_0x2cabc0,_0x49aa0f){const _0x48805d=_0x33b4;_0xf624ea[_0x48805d(0x4a6)]=_0x49aa0f(ue());}(Z,function(_0x4b1720){const _0x2518cb=_0x33b4;return _0x4b1720[_0x2518cb(0x230)][_0x2518cb(0x27f)];}));}(Gi));var qa=Gi[_0x354c00(0x4a6)];const Xa=at(qa);var Yi={'exports':{}};(function(_0xe44b8d,_0x4f74a1){(function(_0x26d5f0,_0x387e9a){const _0x2326d9=_0x33b4;_0xe44b8d[_0x2326d9(0x4a6)]=_0x387e9a(ue());}(Z,function(_0x6ce08b){const _0x54803e=_0x33b4;return(function(){const _0x5dd5cd=_0x33b4;if(typeof ArrayBuffer=='function'){var _0xaa1a42=_0x6ce08b,_0xa034c8=_0xaa1a42['lib'],_0x25a3e4=_0xa034c8['WordArray'],_0x5ef736=_0x25a3e4['init'],_0x4f8a9f=_0x25a3e4[_0x5dd5cd(0x4cf)]=function(_0x2f3ba1){const _0x4cc8df=_0x5dd5cd;if(_0x2f3ba1 instanceof ArrayBuffer&&(_0x2f3ba1=new Uint8Array(_0x2f3ba1)),(_0x2f3ba1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2f3ba1 instanceof Uint8ClampedArray||_0x2f3ba1 instanceof Int16Array||_0x2f3ba1 instanceof Uint16Array||_0x2f3ba1 instanceof Int32Array||_0x2f3ba1 instanceof Uint32Array||_0x2f3ba1 instanceof Float32Array||_0x2f3ba1 instanceof Float64Array)&&(_0x2f3ba1=new Uint8Array(_0x2f3ba1[_0x4cc8df(0x512)],_0x2f3ba1['byteOffset'],_0x2f3ba1['byteLength'])),_0x2f3ba1 instanceof Uint8Array){for(var _0x666b6f=_0x2f3ba1['byteLength'],_0x166e45=[],_0x333b40=0x0;_0x333b40<_0x666b6f;_0x333b40++)_0x166e45[_0x333b40>>>0x2]|=_0x2f3ba1[_0x333b40]<<0x18-_0x333b40%0x4*0x8;_0x5ef736['call'](this,_0x166e45,_0x666b6f);}else _0x5ef736['apply'](this,arguments);};_0x4f8a9f[_0x5dd5cd(0x197)]=_0x25a3e4;}}()),_0x6ce08b[_0x54803e(0x22c)][_0x54803e(0x170)];}));}(Yi));var Ja=Yi[_0x354c00(0x4a6)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x32518c,_0x51a393){(function(_0x29819c,_0x4c4010,_0x34cbfe){_0x32518c['exports']=_0x4c4010(ue(),Vi());}(Z,function(_0x5a4e57){const _0x360141=_0x33b4;return _0x5a4e57['pad'][_0x360141(0x343)]={'pad':function(){},'unpad':function(){}},_0x5a4e57['pad'][_0x360141(0x343)];}));}(Ki));var Qa=Ki[_0x354c00(0x4a6)];const ec=at(Qa);function tc(_0x164750,_0x3e3aec){const _0x515153=_0x354c00,_0x4d32f9=_0x3e3aec-_0x164750[_0x515153(0x2a0)]%_0x3e3aec,_0xba357f=String['fromCharCode'](_0x4d32f9)['repeat'](_0x4d32f9);return _0x164750+_0xba357f;}function sc(_0x37f8b2,_0x57b870){const _0x273cf4=_0x354c00,_0x2f019b=Za[_0x273cf4(0x251)](0x10),_0x49725b=tc(_0x37f8b2,0x10),_0x216a71=Ka[_0x273cf4(0x402)](Xa[_0x273cf4(0x1fb)](_0x49725b),ii[_0x273cf4(0x1fb)](_0x57b870),{'iv':_0x2f019b,'padding':ec});return _0x2f019b[_0x273cf4(0x4a3)](_0x216a71[_0x273cf4(0x313)])[_0x273cf4(0x3d1)](ii);}function ic(){const _0x3f5760=_0x354c00,_0xf90302=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3f5760(0x3e8)];if(_0xf90302){const _0x1bb83b={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return sc(JSON[_0x3f5760(0x2d5)](_0x1bb83b),_0xf90302);}}var nc=Object['defineProperty'],rc=Object['getOwnPropertyDescriptor'],oc=(_0x2106b1,_0x3fe06d,_0x3e53be,_0x133256)=>{const _0xdc4c63=_0x354c00;for(var _0x5e442e=_0x133256>0x1?void 0x0:_0x133256?rc(_0x3fe06d,_0x3e53be):_0x3fe06d,_0x36e6b0=_0x2106b1[_0xdc4c63(0x2a0)]-0x1,_0x4d2fb2;_0x36e6b0>=0x0;_0x36e6b0--)(_0x4d2fb2=_0x2106b1[_0x36e6b0])&&(_0x5e442e=(_0x133256?_0x4d2fb2(_0x3fe06d,_0x3e53be,_0x5e442e):_0x4d2fb2(_0x5e442e))||_0x5e442e);return _0x133256&&_0x5e442e&&nc(_0x3fe06d,_0x3e53be,_0x5e442e),_0x5e442e;},ac=(_0x2e7fc5,_0x265791)=>(_0x19388d,_0x18404a)=>_0x265791(_0x19388d,_0x18404a,_0x2e7fc5);let bt=class{constructor(_0x7e063f){const _0x577114=_0x354c00;this['_httpService']=_0x7e063f,this[_0x577114(0x420)]();}['_initRequestHeader'](){const _0x2c113d=_0x354c00;this[_0x2c113d(0x3b3)]['registerHTTPInterceptor']({'interceptor':(_0x2a25b7,_0x3c279b)=>{const _0x4e0738=_0x2c113d,_0x31ee5e=_0x2a25b7['headers'],_0x615a57=ic();return _0x615a57&&_0x31ee5e[_0x4e0738(0x244)](_0x4e0738(0x334),_0x615a57),_0x3c279b(_0x2a25b7);}});}};bt=oc([ac(0x0,_0x1727eb(_0x4e8dbf))],bt);var cc=Object[_0x354c00(0x3cf)],hc=Object[_0x354c00(0x20e)],lc=(_0xceb89,_0x2bd824,_0x194f6e,_0x2f98aa)=>{const _0x3c2980=_0x354c00;for(var _0x4e2f6e=_0x2f98aa>0x1?void 0x0:_0x2f98aa?hc(_0x2bd824,_0x194f6e):_0x2bd824,_0x5987dc=_0xceb89[_0x3c2980(0x2a0)]-0x1,_0x563a19;_0x5987dc>=0x0;_0x5987dc--)(_0x563a19=_0xceb89[_0x5987dc])&&(_0x4e2f6e=(_0x2f98aa?_0x563a19(_0x2bd824,_0x194f6e,_0x4e2f6e):_0x563a19(_0x4e2f6e))||_0x4e2f6e);return _0x2f98aa&&_0x4e2f6e&&cc(_0x2bd824,_0x194f6e,_0x4e2f6e),_0x4e2f6e;},Xt=(_0xfd28d1,_0x5221f6)=>(_0x2e5fb7,_0x2105b4)=>_0x5221f6(_0x2e5fb7,_0x2105b4,_0xfd28d1);const _c=['image/png',_0x354c00(0x1a2),'image/jpg',_0x354c00(0x2f0),_0x354c00(0x45a)],uc=0x5*0x400*0x400,dc=_0x354c00(0x22a),fc=_0x354c00(0x55b),vc=_0x354c00(0x486),mc=_0x354c00(0x21d);let hs=class{constructor(_0x23a035,_0x17cadb,_0x2a1e1d){const _0x34e1da=_0x354c00;g(this,'_waitCount',0x0),g(this,_0x34e1da(0x19c),new _0x3189d9()),g(this,_0x34e1da(0x3e6),this[_0x34e1da(0x19c)]),g(this,'_imageSourceCache',new Map()),(this[_0x34e1da(0x3b3)]=_0x23a035,this['_configService']=_0x17cadb,this[_0x34e1da(0x429)]=_0x2a1e1d);}[_0x354c00(0x22e)](_0x3913f9){const _0x34edc3=_0x354c00;this[_0x34edc3(0x2c3)]=_0x3913f9,this[_0x34edc3(0x19c)][_0x34edc3(0x2df)](_0x3913f9);}['getImageSourceCache'](_0x32314c,_0x16c11f){const _0x100df4=_0x354c00;if(_0x16c11f===_0x422438[_0x100df4(0x3a0)]){const _0x4b2139=new Image();return _0x4b2139['src']=_0x32314c,_0x4b2139;}return this[_0x100df4(0x2ee)][_0x100df4(0x291)](_0x32314c);}[_0x354c00(0x149)](_0x1cd816,_0x415ec6,_0x221859){const _0x129ff6=_0x354c00;_0x415ec6===_0x422438['BASE64']||_0x221859==null||this[_0x129ff6(0x2ee)][_0x129ff6(0x244)](_0x1cd816,_0x221859);}async[_0x354c00(0x23b)](_0x3a065d){const _0x208bdb=_0x354c00;try{const _0x4e75bb=this['_replaceFileID'](this[_0x208bdb(0x22f)](),''+_0x3a065d),_0x416400=(await this[_0x208bdb(0x3b3)]['get'](_0x4e75bb))[_0x208bdb(0x4f3)];if(_0x416400[_0x208bdb(0x2f1)]&&_0x416400['error']['code']===Ri['OK']){const _0x58fe26=new URL(_0x416400[_0x208bdb(0x551)],this[_0x208bdb(0x507)]())[_0x208bdb(0x3d1)]();return Promise['resolve'](_0x58fe26);}return Promise[_0x208bdb(0x341)](_0x416400[_0x208bdb(0x2f1)]);}catch(_0x22a8ec){return Promise[_0x208bdb(0x341)](_0x22a8ec);}}async[_0x354c00(0x434)](_0x31aaff){const _0x4ffa75=_0x354c00;let _0x6bb3a5='';if(!_c[_0x4ffa75(0x1dc)](_0x31aaff[_0x4ffa75(0x260)]))return this[_0x4ffa75(0x3c2)](),Promise[_0x4ffa75(0x341)](new Error(_0xb4c80f[_0x4ffa75(0x3db)]));if(_0x31aaff[_0x4ffa75(0x1e0)]>uc)return this['_decreaseWaiting'](),Promise[_0x4ffa75(0x341)](new Error(_0xb4c80f[_0x4ffa75(0x520)]));try{const _0x13def7=new FormData();_0x13def7[_0x4ffa75(0x30c)](_0x4ffa75(0x305),_0x31aaff);const _0x2f388e=this['_univerInstanceService'][_0x4ffa75(0x3c7)](),_0x1020e6=_0x2f388e==null?void 0x0:_0x2f388e[_0x4ffa75(0x191)]();if(!_0x1020e6)throw new Error(_0x4ffa75(0x32d));const _0x53be27=this[_0x4ffa75(0x4fb)]()+_0x4ffa75(0x212)+_0x31aaff[_0x4ffa75(0x1e0)]['toString']()+_0x4ffa75(0x293)+yi[_0x4ffa75(0x1d7)]+_0x4ffa75(0x165)+encodeURIComponent(_0x1020e6),_0x1a95cb=await(await fetch(_0x53be27,{'method':_0x4ffa75(0x350),'body':_0x13def7}))[_0x4ffa75(0x4ec)]();if(typeof _0x1a95cb['FileId']!=_0x4ffa75(0x1a5))return this[_0x4ffa75(0x3c2)](),Promise['reject'](new Error(_0xb4c80f[_0x4ffa75(0x372)]));_0x6bb3a5=_0x1a95cb[_0x4ffa75(0x4cb)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xb4c80f[_0x4ffa75(0x372)]));}return new Promise((_0x4c4126,_0x514728)=>{const _0x579c07=_0x4ffa75,_0x33b194=new FileReader();_0x33b194[_0x579c07(0x3c1)](_0x31aaff),_0x33b194[_0x579c07(0x558)]=_0x575195=>{const _0x4f48fc=_0x579c07;var _0x4b88e2;const _0x588e1d=(_0x4b88e2=_0x575195[_0x4f48fc(0x310)])==null?void 0x0:_0x4b88e2['result'];if(_0x588e1d==null){this['_decreaseWaiting'](),_0x514728(new Error(_0xb4c80f[_0x4f48fc(0x372)]));return;}const _0x3a08bd=_0x4127e3[_0x4f48fc(0x424)](0x6);_0x4c4126({'imageId':_0x3a08bd,'imageSourceType':_0x422438[_0x4f48fc(0x2fc)],'source':_0x6bb3a5,'base64Cache':_0x588e1d,'status':_0xb4c80f[_0x4f48fc(0x167)]}),this[_0x4f48fc(0x3c2)]();};});}[_0x354c00(0x4fb)](){const _0x5513e4=_0x354c00;var _0x1fb98c,_0x4f61ef;const _0x581b09=this[_0x5513e4(0x53b)][_0x5513e4(0x246)](dc),_0x4fad8e=this[_0x5513e4(0x53b)][_0x5513e4(0x246)](ie);return(_0x4f61ef=(_0x1fb98c=_0x4fad8e==null?void 0x0:_0x4fad8e['uploadFileServerUrl'])!=null?_0x1fb98c:_0x581b09)!=null?_0x4f61ef:fc;}[_0x354c00(0x22f)](){const _0x6dca3e=_0x354c00;var _0x589878,_0x16a09d;const _0x20a6e5=this[_0x6dca3e(0x53b)][_0x6dca3e(0x246)](vc),_0x22faaf=this[_0x6dca3e(0x53b)][_0x6dca3e(0x246)](ie);return(_0x16a09d=(_0x589878=_0x22faaf==null?void 0x0:_0x22faaf[_0x6dca3e(0x196)])!=null?_0x589878:_0x20a6e5)!=null?_0x16a09d:mc;}[_0x354c00(0x507)](){const _0x37caf7=_0x354c00;var _0xc2b21c;const _0x48bc91=this[_0x37caf7(0x53b)]['getConfig'](ie);return(_0xc2b21c=_0x48bc91==null?void 0x0:_0x48bc91[_0x37caf7(0x50e)])!=null?_0xc2b21c:location[_0x37caf7(0x331)];}[_0x354c00(0x153)](_0x5c27ee,_0x3c7450){const _0x51fa83=_0x354c00;return _0x5c27ee['replace'](_0x51fa83(0x2dc),_0x3c7450);}[_0x354c00(0x3c2)](){const _0x10d5c6=_0x354c00;this[_0x10d5c6(0x2c3)]-=0x1,this[_0x10d5c6(0x19c)][_0x10d5c6(0x2df)](this[_0x10d5c6(0x2c3)]);}};hs=lc([Xt(0x0,_0x1727eb(_0x4e8dbf)),Xt(0x1,_0x250a8d),Xt(0x2,_0x1727eb(_0x48d976))],hs);var pc=Object[_0x354c00(0x3cf)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x408673,_0x228976,_0x191954,_0x3cc546)=>{const _0x871c0b=_0x354c00;for(var _0x4d39dc=_0x3cc546>0x1?void 0x0:_0x3cc546?gc(_0x228976,_0x191954):_0x228976,_0x46e2bc=_0x408673[_0x871c0b(0x2a0)]-0x1,_0x5c9617;_0x46e2bc>=0x0;_0x46e2bc--)(_0x5c9617=_0x408673[_0x46e2bc])&&(_0x4d39dc=(_0x3cc546?_0x5c9617(_0x228976,_0x191954,_0x4d39dc):_0x5c9617(_0x4d39dc))||_0x4d39dc);return _0x3cc546&&_0x4d39dc&&pc(_0x228976,_0x191954,_0x4d39dc),_0x4d39dc;},Qe=(_0x576c1b,_0x19a99b)=>(_0x20d2e9,_0x4dbe09)=>_0x19a99b(_0x20d2e9,_0x4dbe09,_0x576c1b);let Tt=class extends _0x1bd493{constructor(_0x231091,_0x688808,_0x53eb8e,_0x2abf76,_0x447d24){const _0x306d97=_0x354c00;super(),this[_0x306d97(0x199)]=_0x231091,this[_0x306d97(0x429)]=_0x688808,this[_0x306d97(0x450)]=_0x53eb8e,this[_0x306d97(0x299)]=_0x2abf76,this[_0x306d97(0x31f)]=_0x447d24,this[_0x306d97(0x26d)](),this[_0x306d97(0x42f)]();}[_0x354c00(0x42f)](){const _0x87a2f1=_0x354c00,_0x1e1d41=async _0x18d42b=>{const _0x41f5b3=_0x33b4;(await this['_collaborationSessionService'][_0x41f5b3(0x4f1)](_0x18d42b))['event$'][_0x41f5b3(0x43d)](_0x34bcfb(_0x5c9e25=>_0x5c9e25[_0x41f5b3(0x338)]===_0x5fb817['SHOULD_CLOSE_CONN']),_0x53e684(this[_0x41f5b3(0x14d)]))[_0x41f5b3(0x51f)](_0x37b62e=>{const _0x17b3c8=_0x41f5b3,_0x43b4b4=_0x37b62e,{reason:_0x4a45d7}=_0x43b4b4[_0x17b3c8(0x3df)];this['_injector']['get'](_0x35026c)[_0x17b3c8(0x24e)]({'type':_0x3960e0[_0x17b3c8(0x154)],'content':this['_localeService']['t'](_0x17b3c8(0x4c9))+'('+_0x4a45d7+')'}),this[_0x17b3c8(0x450)][_0x17b3c8(0x4a2)](new _0x18c2b1(_0x18d42b)['id'],!0x1),this['_collaborationSessionService'][_0x17b3c8(0x52a)](_0x18d42b);});};_0x32fe1c(this[_0x87a2f1(0x429)][_0x87a2f1(0x319)](_0x208af7[_0x87a2f1(0x1c5)]),this['_univerInstanceService'][_0x87a2f1(0x319)](_0x208af7['UNIVER_DOC']))[_0x87a2f1(0x43d)](_0x416fe6(_0x499e8c=>_0x499e8c[_0x87a2f1(0x191)]()),_0x34bcfb(_0x56dd43=>!_0x16f910(_0x56dd43)),_0x53e684(this[_0x87a2f1(0x14d)]))[_0x87a2f1(0x51f)](_0x518805=>{_0x1e1d41(_0x518805);});}['_initUnitPermissionChange'](){const _0x1f03d2=_0x354c00,_0x4dae05=async _0xbbcf30=>{const _0x4f02df=_0x33b4;(await this[_0x4f02df(0x299)][_0x4f02df(0x4f1)](_0xbbcf30))[_0x4f02df(0x467)][_0x4f02df(0x43d)](_0x34bcfb(_0x19f44b=>_0x19f44b[_0x4f02df(0x338)]===_0x5fb817[_0x4f02df(0x1ff)]),_0x53e684(this[_0x4f02df(0x14d)]))[_0x4f02df(0x51f)](_0x599950=>{const _0x457f78=_0x4f02df,_0x3bb3a8=_0x599950,{objectId:_0xe747a1}=_0x3bb3a8[_0x457f78(0x3df)],_0x583d42=this[_0x457f78(0x199)][_0x457f78(0x291)](_0x31aae9);_0xe747a1===_0xbbcf30?_0x583d42[_0x457f78(0x33f)](_0xbbcf30):_0x583d42['refreshPermission'](_0xbbcf30,_0xe747a1);});};_0x32fe1c(this[_0x1f03d2(0x429)]['getTypeOfUnitAdded$'](_0x208af7[_0x1f03d2(0x1c5)]),this[_0x1f03d2(0x429)]['getTypeOfUnitAdded$'](_0x208af7[_0x1f03d2(0x461)]))['pipe'](_0x416fe6(_0x370b48=>_0x370b48[_0x1f03d2(0x191)]()),_0x34bcfb(_0x4f916a=>!_0x16f910(_0x4f916a)),_0x53e684(this[_0x1f03d2(0x14d)]))['subscribe'](_0x2cc904=>{_0x4dae05(_0x2cc904);});}};Tt=Sc([Qe(0x0,_0x1727eb(_0x5d0612)),Qe(0x1,_0x48d976),Qe(0x2,_0x121e54),Qe(0x3,_0x1727eb(Ae)),Qe(0x4,_0x1727eb(_0x382d24))],Tt);var Ic=Object[_0x354c00(0x3cf)],Cc=Object['getOwnPropertyDescriptor'],Ec=(_0x4cd556,_0x450063,_0x20e582,_0x3db803)=>{const _0x2473e4=_0x354c00;for(var _0xff932a=_0x3db803>0x1?void 0x0:_0x3db803?Cc(_0x450063,_0x20e582):_0x450063,_0x45fccd=_0x4cd556[_0x2473e4(0x2a0)]-0x1,_0x1d3557;_0x45fccd>=0x0;_0x45fccd--)(_0x1d3557=_0x4cd556[_0x45fccd])&&(_0xff932a=(_0x3db803?_0x1d3557(_0x450063,_0x20e582,_0xff932a):_0x1d3557(_0xff932a))||_0xff932a);return _0x3db803&&_0xff932a&&Ic(_0x450063,_0x20e582,_0xff932a),_0xff932a;},ni=(_0x2dfc7d,_0x3d8ab9)=>(_0x25c338,_0x2e3a6f)=>_0x3d8ab9(_0x25c338,_0x2e3a6f,_0x2dfc7d);let ls=class{constructor(_0x3ce69,_0x24ad07){const _0x2d2c80=_0x354c00;this[_0x2d2c80(0x53b)]=_0x3ce69,this[_0x2d2c80(0x3b3)]=_0x24ad07;}async[_0x354c00(0x15e)](_0x4610ec,_0x12df52){const _0x784834=_0x354c00;var _0x587812;const {unitID:_0x4c00e0,type:_0x3d7cf9,revision:_0x497d2e=0x0}=_0x12df52,_0x2b59ac=this[_0x784834(0x322)]()+'/'+_0x3d7cf9+'/unit/'+_0x4c00e0+_0x784834(0x1e1)+_0x497d2e,_0x460edd=(await this[_0x784834(0x3b3)][_0x784834(0x291)](_0x2b59ac))[_0x784834(0x4f3)],_0x550bad=(_0x587812=_0x460edd[_0x784834(0x166)])==null?void 0x0:_0x587812[_0x784834(0x1eb)];if(_0x550bad){const _0x28a300=_0x550bad==null?void 0x0:_0x550bad[_0x784834(0x152)],_0x45992f=_0x33b47e[_0x784834(0x2bc)](_0x1d5b0f(_0x28a300));_0x550bad[_0x784834(0x152)]=_0x45992f,Object['entries'](_0x550bad[_0x784834(0x4ac)])[_0x784834(0x3f0)](([,_0x1a042f])=>{const _0x343fff=_0x784834,_0x36485f=_0x1a042f[_0x343fff(0x152)],_0x53c01a=_0x33b47e['encode'](_0x1d5b0f(_0x36485f));_0x1a042f[_0x343fff(0x152)]=_0x53c01a;});}return _0x460edd;}async[_0x354c00(0x3fa)](_0x531196,_0x400729){const _0x234e37=_0x354c00,{unitID:_0x15b9d3,type:_0x3942ff,blockID:_0x57a14b}=_0x400729,_0x5f4941=this[_0x234e37(0x158)]()+'/'+_0x3942ff+_0x234e37(0x1ed)+_0x15b9d3+'/block/'+_0x57a14b;return(await this[_0x234e37(0x3b3)][_0x234e37(0x291)](_0x5f4941))[_0x234e37(0x4f3)];}async['getDeserializedSheetBlock'](_0x3e03d6,_0x38d8c2){const _0x27b2d5=_0x354c00,{unitID:_0x40cc02,type:_0x26c88e,blockID:_0x31e74c}=_0x38d8c2,_0x310435=this['_getAPIPrefix']()+_0x27b2d5(0x2d2)+_0x26c88e+_0x27b2d5(0x1ed)+_0x40cc02+_0x27b2d5(0x2d2)+_0x31e74c;return(await this[_0x27b2d5(0x3b3)]['get'](_0x310435))[_0x27b2d5(0x4f3)];}async[_0x354c00(0x161)](_0x300ebe,_0x50e413){const _0x176ce1=_0x354c00,{unitID:_0xdb4c4e,type:_0x5dce22,from:_0x534c8,to:_0x3d9c86}=_0x50e413,_0x5eb1b0=this[_0x176ce1(0x158)]()+'/'+_0x5dce22+_0x176ce1(0x1ed)+_0xdb4c4e+_0x176ce1(0x34b)+_0x534c8+_0x176ce1(0x36d)+_0x3d9c86;return(await this[_0x176ce1(0x3b3)][_0x176ce1(0x291)](_0x5eb1b0))['body'];}[_0x354c00(0x322)](){const _0x38cc9f=_0x354c00;var _0x38850a;return(_0x38850a=this['_configService'][_0x38cc9f(0x246)](lr))!=null?_0x38850a:this[_0x38cc9f(0x158)]();}[_0x354c00(0x158)](){const _0x4db02a=_0x354c00;var _0x55fabe,_0x519425;const _0xb071c6=this[_0x4db02a(0x53b)]['getConfig'](cr),_0x19cc10=this[_0x4db02a(0x53b)][_0x4db02a(0x246)](ie);return(_0x519425=(_0x55fabe=_0x19cc10==null?void 0x0:_0x19cc10[_0x4db02a(0x3a5)])!=null?_0x55fabe:_0xb071c6)!=null?_0x519425:hr;}async[_0x354c00(0x545)](_0x62830b,_0x2d7d5a){const _0x584bcf=_0x354c00,_0x201648='/universer-api/snapshot/'+_0x2d7d5a[_0x584bcf(0x260)]+_0x584bcf(0x1ed)+_0x2d7d5a[_0x584bcf(0x207)]+_0x584bcf(0x2ab);return(await this[_0x584bcf(0x3b3)][_0x584bcf(0x291)](_0x201648,{'params':{'resourceId':JSON[_0x584bcf(0x2d5)](_0x2d7d5a['resourceIDs'])}}))[_0x584bcf(0x4f3)];}[_0x354c00(0x1db)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x354c00(0x3e3)](){const _0x5cc876=_0x354c00;throw new Error(_0x5cc876(0x317));}['saveChangeset'](){const _0x486329=_0x354c00;throw new Error(_0x486329(0x317));}[_0x354c00(0x43a)](){const _0x49ca92=_0x354c00;throw new Error(_0x49ca92(0x317));}[_0x354c00(0x430)](){const _0x798b52=_0x354c00;throw new Error(_0x798b52(0x317));}};ls=Ec([ni(0x0,_0x250a8d),ni(0x1,_0x1727eb(_0x4e8dbf))],ls);var bc=Object[_0x354c00(0x3cf)],Tc=Object['getOwnPropertyDescriptor'],Rc=(_0x461f7c,_0x1b643f,_0x289228,_0x30cf09)=>{for(var _0x9ce920=_0x30cf09>0x1?void 0x0:_0x30cf09?Tc(_0x1b643f,_0x289228):_0x1b643f,_0x101935=_0x461f7c['length']-0x1,_0x2f9429;_0x101935>=0x0;_0x101935--)(_0x2f9429=_0x461f7c[_0x101935])&&(_0x9ce920=(_0x30cf09?_0x2f9429(_0x1b643f,_0x289228,_0x9ce920):_0x2f9429(_0x9ce920))||_0x9ce920);return _0x30cf09&&_0x9ce920&&bc(_0x1b643f,_0x289228,_0x9ce920),_0x9ce920;},et=(_0x1db134,_0x4fe4bd)=>(_0x2f72e3,_0x5893a7)=>_0x4fe4bd(_0x2f72e3,_0x5893a7,_0x1db134);let _s=class extends _0x32659e{constructor(_0x1edf50,_0x2b7dcc,_0x27f669,_0x48877e,_0x3da819){const _0x5864b2=_0x354c00;super(_0x1edf50,_0x2b7dcc,_0x27f669),this[_0x5864b2(0x329)]=_0x48877e,this['_logService']=_0x3da819;}[_0x354c00(0x35e)](_0x298f4c,_0x3e86dd){const _0x3464f9=_0x354c00,_0x1cd668=this[_0x3464f9(0x2eb)](_0x298f4c);if(_0x1cd668)try{const _0x3b385c=this[_0x3464f9(0x1a4)](_0x1cd668,_0x3e86dd);this[_0x3464f9(0x4db)](_0x298f4c,_0x3b385c);}catch(_0x461e49){this[_0x3464f9(0x3b6)][_0x3464f9(0x2f1)](_0x3464f9(0x525),_0x461e49),this[_0x3464f9(0x2ef)](_0x298f4c);}const _0x2b97ac=this[_0x3464f9(0x550)](_0x298f4c);if(_0x2b97ac)try{const _0x249b05=this[_0x3464f9(0x1a4)](_0x2b97ac,_0x3e86dd);this[_0x3464f9(0x3d6)](_0x298f4c,_0x249b05);}catch(_0x6bb5f6){this[_0x3464f9(0x3b6)][_0x3464f9(0x2f1)](_0x6bb5f6),this['_clearRedo'](_0x298f4c);}}[_0x354c00(0x2ef)](_0x3013c9){const _0x176498=_0x354c00,_0x4d6d38=this['_getUndoStack'](_0x3013c9);_0x4d6d38&&(_0x4d6d38[_0x176498(0x2a0)]=0x0,this[_0x176498(0x49b)]());}[_0x354c00(0x262)](_0x2a76cb){const _0x4dbc05=_0x354c00,_0x360025=this[_0x4dbc05(0x550)](_0x2a76cb);_0x360025&&(_0x360025['length']=0x0,this['_updateStatus']());}[_0x354c00(0x4db)](_0x252fd7,_0x450b87){const _0x5cc9e1=_0x354c00;this[_0x5cc9e1(0x1a8)][_0x5cc9e1(0x244)](_0x252fd7,_0x450b87),this[_0x5cc9e1(0x49b)]();}[_0x354c00(0x3d6)](_0x4e3128,_0x326e77){const _0x2812ee=_0x354c00;this[_0x2812ee(0x280)][_0x2812ee(0x244)](_0x4e3128,_0x326e77),this[_0x2812ee(0x49b)]();}[_0x354c00(0x1a4)](_0x3abdc4,_0x1305f1){const _0x469a15=_0x354c00,_0x5ae434=[];let _0x3be4c1=_0x1305f1,_0xbf2c02=_0x1305f1;for(let _0x297584=_0x3abdc4[_0x469a15(0x2a0)]-0x1;_0x297584>=0x0;_0x297584--){const {unitID:_0x1ed5be,undoMutations:_0x1a5e3e,redoMutations:_0x52c68e}=_0x3abdc4[_0x297584],_0x59c42d=this[_0x469a15(0x329)][_0x469a15(0x219)](_0x3be4c1,_0x1a5e3e),_0xe54c55=this[_0x469a15(0x329)]['transformMutationsWithChangeset'](_0xbf2c02,_0x52c68e);if(_0x57658d(_0x59c42d)||_0x57658d(_0xe54c55)){this['_logService'][_0x469a15(0x2f1)](_0x469a15(0x525),_0x469a15(0x234),_0x59c42d,_0xe54c55);break;}_0x3be4c1=_0x59c42d[_0x469a15(0x534)],_0xbf2c02=_0xe54c55['c1Prime'],_0x5ae434[_0x469a15(0x301)]({'unitID':_0x1ed5be,'undoMutations':_0x59c42d[_0x469a15(0x1b1)],'redoMutations':_0xe54c55[_0x469a15(0x1b1)]});}return _0x5ae434[_0x469a15(0x23a)]();}};_s=Rc([et(0x0,_0x48d976),et(0x1,_0xfbfaad),et(0x2,_0x4d0f4d),et(0x3,_0xe30adb),et(0x4,_0x3b4016)],_s);class yc extends _0x1bd493{constructor(){const _0x411c22=_0x354c00;super(),g(this,_0x411c22(0x2f9)),this[_0x411c22(0x2f9)]=_0x2ddc8b(window,_0x411c22(0x41a))[_0x411c22(0x43d)](_0x144dfb(this[_0x411c22(0x14d)]),_0x3f5b54(0x1),_0x3a17d4(void 0x0));}[_0x354c00(0x2ff)](_0x539d3a,_0x2a6a1f,_0x4016f8=!0x1){const _0x12da83=_0x354c00,_0x52a0be=new URL(window[_0x12da83(0x141)][_0x12da83(0x1a0)]);_0x52a0be[_0x12da83(0x1cb)][_0x12da83(0x244)](_0x539d3a,_0x2a6a1f),_0x4016f8?window[_0x12da83(0x469)][_0x12da83(0x32c)]('','',_0x52a0be[_0x12da83(0x3d1)]()):window[_0x12da83(0x469)][_0x12da83(0x547)]('','',_0x52a0be[_0x12da83(0x3d1)]());}['removeParam'](_0x4540d3,_0x41b227=!0x1){const _0x1cabc2=_0x354c00,_0x12ed6c=new URL(window[_0x1cabc2(0x141)]['href']);_0x12ed6c['searchParams'][_0x1cabc2(0x361)](_0x4540d3),_0x41b227?window[_0x1cabc2(0x469)][_0x1cabc2(0x32c)]('','',_0x12ed6c[_0x1cabc2(0x3d1)]()):window[_0x1cabc2(0x469)]['pushState']('','',_0x12ed6c[_0x1cabc2(0x3d1)]());}[_0x354c00(0x47b)](_0x589c1c){const _0x47ade5=_0x354c00;var _0x58dd68;return(_0x58dd68=new URL(window[_0x47ade5(0x141)][_0x47ade5(0x1a0)])[_0x47ade5(0x1cb)]['get'](_0x589c1c))!=null?_0x58dd68:void 0x0;}}var zi=Object[_0x354c00(0x3cf)],Oc=Object[_0x354c00(0x20e)],wc=(_0x1458e8,_0x345a4a,_0x526757)=>_0x345a4a in _0x1458e8?zi(_0x1458e8,_0x345a4a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x526757}):_0x1458e8[_0x345a4a]=_0x526757,Dc=(_0x1cbd55,_0x4c4bd1,_0x47e3fb,_0x27555c)=>{const _0x36c3d1=_0x354c00;for(var _0x1b11fc=_0x27555c>0x1?void 0x0:_0x27555c?Oc(_0x4c4bd1,_0x47e3fb):_0x4c4bd1,_0x524564=_0x1cbd55[_0x36c3d1(0x2a0)]-0x1,_0x234510;_0x524564>=0x0;_0x524564--)(_0x234510=_0x1cbd55[_0x524564])&&(_0x1b11fc=(_0x27555c?_0x234510(_0x4c4bd1,_0x47e3fb,_0x1b11fc):_0x234510(_0x1b11fc))||_0x1b11fc);return _0x27555c&&_0x1b11fc&&zi(_0x4c4bd1,_0x47e3fb,_0x1b11fc),_0x1b11fc;},lt=(_0x4c01cd,_0x3c1bb8)=>(_0x2ae020,_0x1ec0e2)=>_0x3c1bb8(_0x2ae020,_0x1ec0e2,_0x4c01cd),Pc=(_0x43df89,_0x626ea9,_0x32cb5f)=>wc(_0x43df89,_0x626ea9+'',_0x32cb5f);const Uc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x58cc57{constructor(_0x139dd5=Rr,_0x3bebb2,_0x965a6b,_0x6194e1,_0xd9af65){const _0x45e493=_0x354c00;super(),this[_0x45e493(0x447)]=_0x139dd5,this[_0x45e493(0x3b6)]=_0x3bebb2,this['_renderManagerService']=_0x965a6b,this[_0x45e493(0x199)]=_0x6194e1,this[_0x45e493(0x53b)]=_0xd9af65;const {..._0x1aff9c}=this[_0x45e493(0x447)];this['_configService'][_0x45e493(0x1c2)](ie,_0x1aff9c);}['onStarting'](){const _0x15f694=_0x354c00;this[_0x15f694(0x31e)](),this['_initDependencies']();}[_0x354c00(0x2e8)](){const _0x230810=_0x354c00;_0x167bff(this[_0x230810(0x199)],[[Ct]]);}[_0x354c00(0x226)](){const _0x27009f=_0x354c00;this[_0x27009f(0x464)]();}[_0x354c00(0x31e)](){const _0x549b26=_0x354c00;var _0x4df46e,_0x2c9bf8,_0x1c24b5,_0x57b090;this[_0x549b26(0x199)][_0x549b26(0x272)](_0x107280)&&this[_0x549b26(0x3b6)][_0x549b26(0x2f1)](_0x549b26(0x52c),_0x549b26(0x241));const _0x3a9716=[[_0x107280,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x4fed41],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x2c9bf8=(_0x4df46e=this['_config'])==null?void 0x0:_0x4df46e[_0x549b26(0x178)])!=null?_0x2c9bf8:es}],[_0x5f0191,{'useClass':ls}],[_0x2602c6,{'useClass':cs}],[_0x4405e1,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x1c24b5=this[_0x549b26(0x447)])!=null&&_0x1c24b5[_0x549b26(0x1d5)]&&_0x3a9716[_0x549b26(0x301)]([Rt,{'useClass':ro}]),_0x1982ee(this['_injector'],_0xb2abd5(_0x3a9716,(_0x57b090=this[_0x549b26(0x447)])==null?void 0x0:_0x57b090[_0x549b26(0x3a4)]));}[_0x354c00(0x464)](){const _0x4440f3=_0x354c00;this[_0x4440f3(0x181)](this[_0x4440f3(0x473)][_0x4440f3(0x2c8)](_0x208af7[_0x4440f3(0x461)],[os])),this[_0x4440f3(0x181)](this['_renderManagerService'][_0x4440f3(0x2c8)](_0x208af7[_0x4440f3(0x1c5)],[as]));}[_0x354c00(0x515)](){const _0x51d65a=_0x354c00;var _0x10418e,_0x3400d7;this[_0x51d65a(0x199)][_0x51d65a(0x291)](_0x4e8dbf)[_0x51d65a(0x243)]({'priority':0x14,'interceptor':_0x407e02({'maxParallel':0x6})}),(_0x10418e=this['_config'])!=null&&_0x10418e[_0x51d65a(0x34d)]||this[_0x51d65a(0x199)][_0x51d65a(0x291)](q)[_0x51d65a(0x412)](),(_0x3400d7=this[_0x51d65a(0x447)])!=null&&_0x3400d7[_0x51d65a(0x3c8)]&&_0x167bff(this[_0x51d65a(0x199)],[[Et]]),_0x167bff(this[_0x51d65a(0x199)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x354c00(0x232),Uc),us=Dc([_0x335d7c(_0x3e0fbc,_0x573469),lt(0x1,_0x3b4016),lt(0x2,_0xf0df93),lt(0x3,_0x1727eb(_0x5d0612)),lt(0x4,_0x250a8d)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};