@univerjs-pro/collaboration-client 0.5.1-nightly.202412041606 → 0.5.1-nightly.202412051606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +0 -1
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +17 -14
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +1 -0
- package/lib/types/index.d.ts +11 -11
- package/lib/types/plugin.d.ts +1 -6
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +3 -4
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -3
- package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +19 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +23 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +1 -1
- package/lib/types/services/local-cache/local-cache.service.d.ts +7 -23
- package/lib/types/services/permission/permission.service.d.ts +8 -3
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -24
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +8 -17
- package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +0 -9
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -23
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -22
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -38
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -24
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -3
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -39
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -21
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -18
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -4
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -58
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +0 -1
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -22
- package/lib/types/models/cursor.d.ts +0 -30
- package/lib/types/services/color-assign/color-assign.service.d.ts +0 -10
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -13
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +0 -12
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -13
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -8
- package/lib/types/services/url/url.service.d.ts +0 -12
- package/lib/types/services/url/web-url.service.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.d.ts +0 -10
- package/lib/types/views/components/CollabStatus.stories.d.ts +0 -8
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -27
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -27
- package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -19
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x2025fc=_0x46d8;(function(_0x42029,_0x47065b){const _0x3777cf=_0x46d8,_0x286874=_0x42029();while(!![]){try{const _0x302d4c=-parseInt(_0x3777cf(0x26d))/0x1*(parseInt(_0x3777cf(0x114))/0x2)+-parseInt(_0x3777cf(0x43c))/0x3*(-parseInt(_0x3777cf(0x30e))/0x4)+-parseInt(_0x3777cf(0x24f))/0x5+-parseInt(_0x3777cf(0x1e1))/0x6+parseInt(_0x3777cf(0x453))/0x7*(parseInt(_0x3777cf(0xee))/0x8)+-parseInt(_0x3777cf(0xd0))/0x9+parseInt(_0x3777cf(0x201))/0xa;if(_0x302d4c===_0x47065b)break;else _0x286874['push'](_0x286874['shift']());}catch(_0x5c13f8){_0x286874['push'](_0x286874['shift']());}}}(_0x5197,0xa5bc6));var cr=Object['defineProperty'],hr=(_0x58d0da,_0x34d97e,_0x3a12df)=>_0x34d97e in _0x58d0da?cr(_0x58d0da,_0x34d97e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a12df}):_0x58d0da[_0x34d97e]=_0x3a12df,g=(_0x1ed939,_0x214b10,_0x42747c)=>hr(_0x1ed939,typeof _0x214b10!=_0x2025fc(0x357)?_0x214b10+'':_0x214b10,_0x42747c);import{createIdentifier as _0x30094b,Inject as _0x5847bf,Disposable as _0x24229e,DisposableCollection as _0x55a86c,toDisposable as _0x7c72c3,IConfigService as _0x4df844,ILogService as _0x49d195,UserManagerService as _0x1fb10d,UniverInstanceType as _0xb166dc,IUniverInstanceService as _0x425cee,LocaleService as _0x4b4756,Optional as _0x133fb4,RxDisposable as _0x5ec0cb,Injector as _0x5d7671,Tools as _0x529634,ILocalStorageService as _0x5353b6,Rectangle as _0x1a8bad,ICommandService as _0x28287a,DOC_RANGE_TYPE as _0x2bd610,JSONX as _0x421ddc,CommandType as _0x4f220f,IPermissionService as _0x1700fb,IUndoRedoService as _0x4bbe15,sequenceExecute as _0x512337,debounce as _0x26c09b,COLORS as _0x37cb7b,ColorKit as _0x13add7,ThemeService as _0x14c134,fromEventSubject as _0x2095a5,useDependency as _0x121dc7,connectInjector as _0x556999,Workbook as _0x21f116,MentionType as _0x153717,isInternalEditorID as _0x56718f,LocalUndoRedoService as _0x18ef81,IContextService as _0x4ea7fc,DependentOn as _0x2048c2,Plugin as _0x5001bc,touchDependencies as _0x5404e4,IAuthzIoService as _0x5cfc2f,IMentionIOService as _0x2d3ae3,registerDependencies as _0x43027c,mergeOverrideWithDependencies as _0x3474e1}from'@univerjs/core';import{Subject as _0x1c0b9c,merge as _0x38a986,takeUntil as _0x7b6507,BehaviorSubject as _0x1074c2,distinctUntilChanged as _0x17cf14,fromEvent as _0x6a336f,ReplaySubject as _0x5e2516,take as _0x54d89e,map as _0x2e263c,shareReplay as _0x2c1940,of as _0x43d0da,debounceTime as _0x493feb,filter as _0x2eb5c7,switchMap as _0x4e1242,combineLatest as _0x238a3a,concatMap as _0x4ab7bd,mapTo as _0x2d3712}from'rxjs';import{map as _0xb11c2f,take as _0x1abfcf,filter as _0xa0d892,delay as _0xca605e,throttleTime as _0x300e66,takeUntil as _0xc7ed86,switchMap as _0x51df4e}from'rxjs/operators';import{MessageType as _0x3f6750,Tooltip as _0x4ddf03}from'@univerjs/design';import{HTTPService as _0x310387,WebSocketService as _0x1293ea,MergeInterceptorFactory as _0x212a92,HTTPRequest as _0x30acee,UniverNetworkPlugin as _0x6b1b5c,ThresholdInterceptorFactory as _0x156843}from'@univerjs/network';import{IBeforeCloseService as _0x176b35,IMessageService as _0x3d017a,INotificationService as _0x28a3f3,useObservable as _0x5dcc9e,BuiltInUIPart as _0x2879fd,IUIPartsService as _0x100c23}from'@univerjs/ui';import{CollaborationEvent as _0x3a14f4,parseChangesetToProtocol as _0x100c80,ISnapshotServerService as _0xbd688,isTransformMutationFailure as _0x3e27e9,isTransformMutationsWithChangesetSuccess as _0x341c91,ITransformService as _0x2fbfa5,RevisionService as _0x389697,mapDocumentTypeToUniverType as _0x3761c7,isTransformChangesetsSuccess as _0xba8c63,CompressMutationService as _0x550e78,parseProtocolChangeset as _0x3cc097,SnapshotService as _0x3ef466,textEncoder as _0x55ea7a,b64DecodeUnicode as _0x1facae,isTransformMutationsWithChangesetFailure as _0xc9659d,UniverCollaborationPlugin as _0x1105e5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xeb3a8b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x49b6ea,RichTextEditingMutation as _0x3ef379,SetTextSelectionsOperation as _0x10a027,DocSkeletonManagerService as _0x4e067d}from'@univerjs/docs';import{DocIMEInputManagerService as _0x5d51e1,DocStateChangeManagerService as _0x4ee933,IDocClipboardService as _0x3d5ec4,NodePositionConvertToCursor as _0x44a430,NodePositionConvertToRectRange as _0x4512fd,TEXT_RANGE_LAYER_INDEX as _0x505883,SetDocZoomRatioOperation as _0x3c0f91}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2d0767,SetSelectionsOperation as _0x3295dc,InsertSheetMutation as _0x5bc6a8,EmptyMutation as _0x40bf05,WorkbookEditablePermission as _0x232ff6,RefRangeService as _0x4f6ae0,EffectRefRangId as _0x1bada9,handleIRemoveRow as _0x5842ca,handleIRemoveCol as _0x4cc33a,handleMoveRange as _0x11ac4c,handleInsertRow as _0x1fe1d1,handleInsertRangeMoveRight as _0x38f4c6,handleInsertRangeMoveDown as _0x21ee51,handleInsertCol as _0x3c8a96,handleDeleteRangeMoveUp as _0x27e6e3,handleDeleteRangeMoveLeft as _0x322dc1,runRefRangeMutations as _0x5a1647,SetWorksheetActivateCommand as _0x31bc6f}from'@univerjs/sheets';import{IRenderManagerService as _0x27432a,Shape as _0x280f32,Rect as _0x10cdd3,getColor as _0x44a483,RegularPolygon as _0x2d60c8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3f5711,Vector2 as _0x483d6a,SHEET_VIEWPORT_KEY as _0x5a71d0}from'@univerjs/engine-render';import{IImageIoService as _0x1fd980,ImageSourceType as _0x3882da,ImageUploadStatusType as _0x228958}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x129840,serializeRangeWithSheet as _0xf165cf}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x46c626,getCoordByCell as _0x473bbb,getSheetObject as _0x10d32f,SheetPermissionInitController as _0x244d66}from'@univerjs/sheets-ui';import _0x3f0cf0,{forwardRef as _0x338e7b,useRef as _0x28ff08,createElement as _0x10eb66,useCallback as _0x2496ba}from'react';import{IRemoteInstanceService as _0x3b46ab}from'@univerjs/rpc';const En='SNAPSHOT_SERVER_URL_KEY',bn=_0x2025fc(0x20e),Tn='SNAPSHOT_URL_KEY',wh=_0x2025fc(0x2b2),Rn=0x7d0,On=_0x2025fc(0xde),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn='/universer-api/user/session-ticket',Dn=_0x2025fc(0x233),Pn=0x7530,ki=_0x2025fc(0x476),Wi=0x4e20,Nn=0x4e20,Un=_0x2025fc(0x1fc),An=0x3,Mn='LOCAL_CACHE_INTERVAL',xn=0x3e8,Ln=_0x2025fc(0x325),$n=_0x2025fc(0x1fa),Hn=_0x2025fc(0x45d),jn=_0x2025fc(0x268);var Fi=(_0x162f5d=>(_0x162f5d[_0x162f5d[_0x2025fc(0x3e8)]=0x0]=_0x2025fc(0x3e8),_0x162f5d[_0x162f5d['OK']=0x1]='OK',_0x162f5d[_0x162f5d[_0x2025fc(0xbd)]=0x2]=_0x2025fc(0xbd),_0x162f5d[_0x162f5d[_0x2025fc(0x411)]=0x3]=_0x2025fc(0x411),_0x162f5d[_0x162f5d[_0x2025fc(0x45b)]=0x4]=_0x2025fc(0x45b),_0x162f5d[_0x162f5d[_0x2025fc(0x35a)]=0x5]=_0x2025fc(0x35a),_0x162f5d[_0x162f5d[_0x2025fc(0x331)]=0x6]=_0x2025fc(0x331),_0x162f5d[_0x162f5d[_0x2025fc(0x257)]=0x7]=_0x2025fc(0x257),_0x162f5d[_0x162f5d[_0x2025fc(0x3e1)]=0x8]=_0x2025fc(0x3e1),_0x162f5d[_0x162f5d['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x162f5d[_0x162f5d[_0x2025fc(0x2a6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x162f5d[_0x162f5d[_0x2025fc(0x49b)]=0x1771]=_0x2025fc(0x49b),_0x162f5d[_0x162f5d[_0x2025fc(0x2a8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x162f5d[_0x162f5d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2025fc(0x3a8),_0x162f5d[_0x162f5d['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x162f5d[_0x162f5d[_0x2025fc(0x4af)]=0x1b5a]=_0x2025fc(0x4af),_0x162f5d[_0x162f5d[_0x2025fc(0x1d8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x162f5d[_0x162f5d[_0x2025fc(0xf1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x162f5d[_0x162f5d[_0x2025fc(0x101)]=0x1b5d]='APPLY_DUPLICATED',_0x162f5d[_0x162f5d[_0x2025fc(0x43f)]=0x1f41]=_0x2025fc(0x43f),_0x162f5d[_0x162f5d[_0x2025fc(0x14e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x162f5d[_0x162f5d[_0x2025fc(0x13f)]=0x232a]=_0x2025fc(0x13f),_0x162f5d[_0x162f5d[_0x2025fc(0x1ca)]=0x232b]=_0x2025fc(0x1ca),_0x162f5d[_0x162f5d[_0x2025fc(0x23e)]=0x232c]=_0x2025fc(0x23e),_0x162f5d[_0x162f5d[_0x2025fc(0x38d)]=0x232d]=_0x2025fc(0x38d),_0x162f5d[_0x162f5d[_0x2025fc(0x3dd)]=0x2711]=_0x2025fc(0x3dd),_0x162f5d[_0x162f5d[_0x2025fc(0x303)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x162f5d[_0x162f5d[_0x2025fc(0x47e)]=0x2713]=_0x2025fc(0x47e),_0x162f5d[_0x162f5d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2025fc(0x10f),_0x162f5d[_0x162f5d['UNRECOGNIZED']=-0x1]=_0x2025fc(0x104),_0x162f5d))(Fi||{}),ae=(_0x49a5fa=>(_0x49a5fa[_0x49a5fa[_0x2025fc(0x38e)]=0x0]=_0x2025fc(0x38e),_0x49a5fa[_0x49a5fa['UNIVER_DOC']=0x1]=_0x2025fc(0x3ad),_0x49a5fa[_0x49a5fa[_0x2025fc(0x4a6)]=0x2]=_0x2025fc(0x4a6),_0x49a5fa[_0x49a5fa[_0x2025fc(0x472)]=0x3]=_0x2025fc(0x472),_0x49a5fa[_0x49a5fa['UNIVER_PROJECT']=0x4]=_0x2025fc(0x1f4),_0x49a5fa[_0x49a5fa['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x49a5fa))(ae||{}),W=(_0x2376d0=>(_0x2376d0[_0x2376d0[_0x2025fc(0x129)]=0x0]='UNKNOWN_CMD',_0x2376d0[_0x2376d0['HELLO']=0x1]=_0x2025fc(0x17c),_0x2376d0[_0x2376d0[_0x2025fc(0xea)]=0x2]='JOIN',_0x2376d0[_0x2376d0[_0x2025fc(0x387)]=0x3]=_0x2025fc(0x387),_0x2376d0[_0x2376d0[_0x2025fc(0x365)]=0x4]='INGEST',_0x2376d0[_0x2376d0[_0x2025fc(0x4a5)]=0x5]='HEARTBEAT',_0x2376d0[_0x2376d0[_0x2025fc(0x247)]=0x6]=_0x2025fc(0x247),_0x2376d0[_0x2376d0[_0x2025fc(0x104)]=-0x1]='UNRECOGNIZED',_0x2376d0))(W||{}),Pe=(_0x1be4d5=>(_0x1be4d5[_0x1be4d5[_0x2025fc(0x35b)]=0x0]='UNKNOWN_CODE',_0x1be4d5[_0x1be4d5['OK']=0x1]='OK',_0x1be4d5[_0x1be4d5[_0x2025fc(0x1d5)]=0x2]=_0x2025fc(0x1d5),_0x1be4d5[_0x1be4d5[_0x2025fc(0x4a4)]=0x3e9]=_0x2025fc(0x4a4),_0x1be4d5[_0x1be4d5['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2025fc(0x41e),_0x1be4d5[_0x1be4d5['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2025fc(0x2f3),_0x1be4d5[_0x1be4d5[_0x2025fc(0x267)]=0x3ec]=_0x2025fc(0x267),_0x1be4d5[_0x1be4d5[_0x2025fc(0x104)]=-0x1]=_0x2025fc(0x104),_0x1be4d5))(Pe||{}),Vi=(_0xa4a949=>(_0xa4a949[_0xa4a949[_0x2025fc(0x435)]=0x0]=_0x2025fc(0x435),_0xa4a949[_0xa4a949[_0x2025fc(0x2a2)]=0x1]='HttpImport',_0xa4a949[_0xa4a949[_0x2025fc(0x302)]=0x2]=_0x2025fc(0x302),_0xa4a949[_0xa4a949['UnitEmbedded']=0x3]=_0x2025fc(0x239),_0xa4a949[_0xa4a949[_0x2025fc(0x3ac)]=0x4]=_0x2025fc(0x3ac),_0xa4a949[_0xa4a949[_0x2025fc(0x104)]=-0x1]=_0x2025fc(0x104),_0xa4a949))(Vi||{});const Q=_0x2025fc(0x197),Bn={};function kn(_0x2da184){const _0x28bbac=_0x2025fc;var _0xb626fa,_0x4eeb2d,_0x183095,_0x167953,_0x396954;const _0x1dcfe7=_0x2da184['data'],_0x330d72=JSON[_0x28bbac(0x211)](_0x1dcfe7);switch(_0x330d72[_0x28bbac(0x32d)]){case W[_0x28bbac(0x4a5)]:case W[_0x28bbac(0x17c)]:{const _0x4911d6=_0x330d72[_0x28bbac(0x1bd)];return{..._0x330d72,'data':_0x4911d6,'cmd':_0x330d72[_0x28bbac(0x32d)]};}case W[_0x28bbac(0xea)]:{const _0x5f44e6=_0x330d72[_0x28bbac(0x48d)];return{..._0x330d72,'data':_0x5f44e6,'cmd':_0x330d72[_0x28bbac(0x32d)]};}case W['RECV']:{const _0x831847=_0x330d72[_0x28bbac(0x381)];switch(_0x831847[_0x28bbac(0x28b)]){case _0x3a14f4[_0x28bbac(0x102)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0xb626fa=_0x831847[_0x28bbac(0x3ef)])==null?void 0x0:_0xb626fa['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x3d7)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x4eeb2d=_0x831847['csAckEvent'])==null?void 0x0:_0x4eeb2d['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x36e)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x183095=_0x831847['newCsEvent'])==null?void 0x0:_0x183095['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x180)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x167953=_0x831847[_0x28bbac(0x30b)])==null?void 0x0:_0x167953['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4['CHANGESET_SHOULD_RETRY']:return{..._0x330d72,'data':{..._0x831847,'data':(_0x396954=_0x831847[_0x28bbac(0x370)])==null?void 0x0:_0x396954['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4['UPDATE_CURSOR']:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x235)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0xc3)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['joinEvent']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x3dc)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x22d)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x29b)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x374)]},'cmd':_0x330d72['cmd']};case _0x3a14f4[_0x28bbac(0x177)]:case _0x3a14f4[_0x28bbac(0x44c)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x390)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x2ef)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x374)]},'cmd':_0x330d72['cmd']};case _0x3a14f4['MSG_FOR_ERROR']:return{..._0x330d72,'data':_0x831847,'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x2b6)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x189)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x47c)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['updatePermissionObjEvent']},'cmd':_0x330d72['cmd']};case _0x3a14f4[_0x28bbac(0x23f)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['shouldCloseConn']},'cmd':_0x330d72[_0x28bbac(0x32d)]};default:return _0x330d72;}}default:return _0x330d72;}}function Wn(_0x318407){const _0x15c075=_0x2025fc;switch(_0x318407[_0x15c075(0x32d)]){case W[_0x15c075(0x4a5)]:case W[_0x15c075(0x17c)]:return JSON[_0x15c075(0x11e)]({'cmd':_0x318407['cmd'],'routeKey':_0x318407[_0x15c075(0x15f)]});case W[_0x15c075(0x365)]:{let _0x47fecc;switch(_0x318407[_0x15c075(0x2a0)][_0x15c075(0x28b)]){case _0x3a14f4[_0x15c075(0x30f)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x30f)],'updateCursorEvent':_0x318407[_0x15c075(0x2a0)]['data']};break;}case _0x3a14f4[_0x15c075(0x3dc)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x3dc)],'leaveEvent':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4['USERS_ENTER']:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0xc3)],'joinEvent':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x29b)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x29b)],'liveShareNewHost':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x44c)]:{_0x47fecc={'eventID':_0x3a14f4['LIVESHARE_OPERATION'],'liveShareOperation':_0x318407['data'][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x2ef)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x2ef)],'liveShareTerminate':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0xba)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0xba)],'liveShareRequestHost':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x177)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x177)]};break;}default:_0x47fecc={'eventID':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x28b)]};}return JSON[_0x15c075(0x11e)]({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'collaMsg':_0x47fecc});}case W[_0x15c075(0xea)]:return JSON[_0x15c075(0x11e)]({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'joinReq':_0x318407['data']});case W[_0x15c075(0x387)]:return JSON['stringify']({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'leaveReq':_0x318407['data']});default:throw new Error(_0x15c075(0x380));}}var Fn=Object[_0x2025fc(0x385)],Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x3d4c12,_0x1b82d5,_0x452e89,_0x35e945)=>{for(var _0x320321=_0x35e945>0x1?void 0x0:_0x35e945?Vn(_0x1b82d5,_0x452e89):_0x1b82d5,_0xba9b2e=_0x3d4c12['length']-0x1,_0x3d85ad;_0xba9b2e>=0x0;_0xba9b2e--)(_0x3d85ad=_0x3d4c12[_0xba9b2e])&&(_0x320321=(_0x35e945?_0x3d85ad(_0x1b82d5,_0x452e89,_0x320321):_0x3d85ad(_0x320321))||_0x320321);return _0x35e945&&_0x320321&&Fn(_0x1b82d5,_0x452e89,_0x320321),_0x320321;},ze=(_0x4af1c2,_0x57c8b4)=>(_0x440e65,_0x27238c)=>_0x57c8b4(_0x440e65,_0x27238c,_0x4af1c2);const Gi=_0x30094b(_0x2025fc(0xec));function Yn(_0x24df20,_0x1ec02f,_0x3ba80d){const _0x29d9da=_0x2025fc;return _0x24df20+'/'+_0x1ec02f+_0x29d9da(0x332)+_0x3ba80d+_0x29d9da(0x275);}let cs=class extends _0x24229e{constructor(_0x4c269f,_0x5158a7,_0x4cb00c,_0x49c0b0,_0x4be3c3){const _0x3c101e=_0x2025fc;super(),this[_0x3c101e(0xe3)]=_0x4c269f,this[_0x3c101e(0x123)]=_0x5158a7,this[_0x3c101e(0xb4)]=_0x4cb00c,this[_0x3c101e(0xc1)]=_0x49c0b0,this[_0x3c101e(0x144)]=_0x4be3c3;}['createSocket'](_0x431bc9){const _0x49b787=_0x2025fc,_0x493043=this[_0x49b787(0x123)][_0x49b787(0x164)](_0x431bc9);if(!_0x493043)throw new Error(_0x49b787(0x3f9));const _0x33f243=new _0x55a86c(),_0xa0d392=new _0x1c0b9c();_0x33f243['add'](_0x493043['close$']['subscribe'](_0x2d5848=>_0xa0d392[_0x49b787(0x382)](_0x2d5848))),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0xa0d392[_0x49b787(0x3c5)]()));const _0x45820f=new _0x1c0b9c();_0x33f243['add'](_0x493043[_0x49b787(0x19a)]['subscribe'](_0x4be68c=>_0x45820f[_0x49b787(0x382)](_0x4be68c))),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0x45820f['complete']()));const _0x1d5efd=new _0x1c0b9c();_0x33f243[_0x49b787(0x4b0)](_0x493043[_0x49b787(0x400)]['subscribe'](_0x15a905=>{const _0x32372b=kn(_0x15a905);_0x1d5efd['next'](_0x32372b);})),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0x1d5efd[_0x49b787(0x3c5)]()));let _0x2b5dd8;const _0x265475=()=>{const _0x51d609=_0x49b787;_0x45820f[_0x51d609(0x382)](new Event(_0x51d609(0x163))),_0xa0d392[_0x51d609(0x382)](new CloseEvent(_0x51d609(0x163))),_0x2b5dd8[_0x51d609(0x206)]();};return _0x2b5dd8={'memberID':'','close$':_0xa0d392[_0x49b787(0xf7)](),'error$':_0x45820f[_0x49b787(0xf7)](),'open$':_0x493043[_0x49b787(0x46d)],'message$':_0x1d5efd['asObservable'](),'send':_0x4df455=>{const _0x3628d1=_0x49b787;if(_0x4df455[_0x3628d1(0x32d)]===W[_0x3628d1(0x365)]){if(_0x4df455[_0x3628d1(0x2a0)][_0x3628d1(0x28b)]===_0x3a14f4[_0x3628d1(0x1ae)]){this[_0x3628d1(0x13a)](_0x2b5dd8,_0x4df455[_0x3628d1(0x2a0)])[_0x3628d1(0x1c4)](_0x1088d0=>{const _0x113d68=_0x3628d1;this['_logService'][_0x113d68(0x279)](_0x1088d0),_0x265475();});return;}if(_0x4df455[_0x3628d1(0x2a0)][_0x3628d1(0x28b)]===_0x3a14f4[_0x3628d1(0x37c)]){const _0x558e34=_0x4df455[_0x3628d1(0x2a0)];this[_0x3628d1(0x1a8)](_0x558e34)[_0x3628d1(0x1c0)](_0x7e576e=>{const _0x456f9c=_0x3628d1;_0x1d5efd[_0x456f9c(0x382)]({'cmd':W[_0x456f9c(0x247)],'code':Pe['OK'],'routeKey':_0x558e34[_0x456f9c(0x2a0)][_0x456f9c(0x2bf)],'routeType':'','data':{'eventID':_0x3a14f4['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x7e576e}}});})[_0x3628d1(0x1c4)](_0x488153=>{const _0x3871af=_0x3628d1;this['_logService'][_0x3871af(0x279)](_0x488153),_0x265475();});return;}}_0x493043[_0x3628d1(0xc9)](Wn(_0x4df455));},'close':()=>{const _0x534aee=_0x49b787;_0x493043[_0x534aee(0x206)](),_0x33f243['dispose']();}},_0x2b5dd8;}async[_0x2025fc(0x13a)](_0xdea43a,_0x53c9c8){const _0x6657d3=_0x2025fc;var _0x52890b,_0x23d203;const {unitType:_0x57e18b,unitID:_0x5c74d7,changeset:_0x2d229b}=_0x53c9c8['data'],_0x4790ae={'unitID':_0x5c74d7,'memberID':_0xdea43a[_0x6657d3(0x471)],'type':_0x57e18b,'changeset':_0x100c80(_0x2d229b)},_0x505c10=this[_0x6657d3(0xb4)][_0x6657d3(0x217)](Ln),_0x4ceb44=this[_0x6657d3(0xb4)][_0x6657d3(0x217)](Q),_0x22c382=Yn((_0x23d203=(_0x52890b=_0x4ceb44==null?void 0x0:_0x4ceb44['collabSubmitChangesetUrl'])!=null?_0x52890b:_0x505c10)!=null?_0x23d203:$n,_0x57e18b,_0x5c74d7);try{await this[_0x6657d3(0xe3)][_0x6657d3(0x17b)](_0x22c382,{'body':_0x4790ae});}catch(_0x111663){throw this[_0x6657d3(0xc1)][_0x6657d3(0x279)](_0x6657d3(0x3c1),'submit\x20changeset\x20error!'),_0x111663;}}async[_0x2025fc(0x1a8)](_0x65b829){const _0x21e4fa=_0x2025fc,{unitID:_0x404dcc,from:_0x3850e7,to:_0x23f3cf,unitType:_0x565536}=_0x65b829['data'];return(await this[_0x21e4fa(0x144)][_0x21e4fa(0x436)]({'metadata':void 0x0},{'unitID':_0x404dcc,'type':_0x565536,'from':_0x3850e7,'to':_0x23f3cf}))['changesets'];}};cs=Gn([ze(0x0,_0x5847bf(_0x310387)),ze(0x1,_0x5847bf(_0x1293ea)),ze(0x2,_0x4df844),ze(0x3,_0x49d195),ze(0x4,_0xbd688)],cs);const Kn='collaboration_new_changeset';function qn(_0x5a916a){const _0x215047=_0x2025fc;return JSON['stringify'](_0x5a916a)[_0x215047(0x161)];}class Yi{constructor(){const _0x18ae8a=_0x2025fc;g(this,_0x18ae8a(0x2b3),new _0x1c0b9c()),g(this,_0x18ae8a(0x3d3),this[_0x18ae8a(0x2b3)][_0x18ae8a(0xf7)]());}[_0x2025fc(0x158)](_0x47b2ba){const _0x56e546=_0x2025fc;this[_0x56e546(0x2b3)][_0x56e546(0x382)](_0x47b2ba);}}var zn=Object[_0x2025fc(0x385)],Xn=Object[_0x2025fc(0x18c)],Jn=(_0x396e50,_0x2ad5c6,_0x3a1077,_0x4e5370)=>{const _0xb4e1be=_0x2025fc;for(var _0x28d2f2=_0x4e5370>0x1?void 0x0:_0x4e5370?Xn(_0x2ad5c6,_0x3a1077):_0x2ad5c6,_0x3a3c4f=_0x396e50[_0xb4e1be(0x161)]-0x1,_0xcfd366;_0x3a3c4f>=0x0;_0x3a3c4f--)(_0xcfd366=_0x396e50[_0x3a3c4f])&&(_0x28d2f2=(_0x4e5370?_0xcfd366(_0x2ad5c6,_0x3a1077,_0x28d2f2):_0xcfd366(_0x28d2f2))||_0x28d2f2);return _0x4e5370&&_0x28d2f2&&zn(_0x2ad5c6,_0x3a1077,_0x28d2f2),_0x28d2f2;},Ks=(_0x5bd51f,_0x49c88a)=>(_0x3cdf49,_0x50ebac)=>_0x49c88a(_0x3cdf49,_0x50ebac,_0x5bd51f);let Me=class extends _0x24229e{constructor(_0x179ef,_0x1dbc9a){const _0x31d74f=_0x2025fc;super(),g(this,_0x31d74f(0x3a7),new Map()),(this['_univerInstanceService']=_0x179ef,this[_0x31d74f(0xb6)]=_0x1dbc9a,this[_0x31d74f(0x10c)](_0x7c72c3(_0x38a986(this[_0x31d74f(0x3cf)][_0x31d74f(0x2f2)](_0xb166dc[_0x31d74f(0x4a6)])[_0x31d74f(0x150)](_0xb11c2f(_0x3c78d1=>_0x3c78d1['getUnitId']())),this[_0x31d74f(0x3cf)][_0x31d74f(0x2f2)](_0xb166dc[_0x31d74f(0x3ad)])[_0x31d74f(0x150)](_0xb11c2f(_0x1ff6b6=>_0x1ff6b6[_0x31d74f(0x10b)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xb166dc['UNIVER_SLIDE'])[_0x31d74f(0x150)](_0xb11c2f(_0x2380ce=>_0x2380ce['getUnitId']())))[_0x31d74f(0x140)](_0x20c82c=>this[_0x31d74f(0xbc)](_0x20c82c)))));}[_0x2025fc(0x38f)](_0x2a8539){const _0x2739e2=_0x2025fc;this['_userManagerService'][_0x2739e2(0x38f)](_0x2a8539);}[_0x2025fc(0x14b)](){const _0x224124=_0x2025fc;return this[_0x224124(0xb6)][_0x224124(0x14b)]();}['updateMember'](_0x363a14,_0x350d78){const _0x553c88=_0x2025fc;let _0x17be7e=this[_0x553c88(0x3a7)][_0x553c88(0x33e)](_0x363a14);_0x17be7e||(_0x17be7e=new Zn(),this[_0x553c88(0x3a7)][_0x553c88(0x39c)](_0x363a14,_0x17be7e)),_0x17be7e[_0x553c88(0x24d)](_0x350d78);}[_0x2025fc(0xd7)](_0x3f5d56,_0x2597bf){const _0x5d5cf7=_0x2025fc,_0x232ce5=this[_0x5d5cf7(0x3a7)][_0x5d5cf7(0x33e)](_0x3f5d56);_0x232ce5&&_0x232ce5[_0x5d5cf7(0xd7)](_0x2597bf);}[_0x2025fc(0x14c)](_0x338f4c){const _0xab16d9=_0x2025fc;return this[_0xab16d9(0x3a7)][_0xab16d9(0x33e)](_0x338f4c);}['getMember'](_0x5b74a3,_0x1da905){const _0x285be6=_0x2025fc,_0x2265d0=this['_roomMembers'][_0x285be6(0x33e)](_0x5b74a3);if(_0x2265d0)return _0x2265d0[_0x285be6(0x419)](_0x1da905);}[_0x2025fc(0xbc)](_0x3354cc){const _0x261949=_0x2025fc,_0xdb58aa=this[_0x261949(0x3a7)][_0x261949(0x33e)](_0x3354cc);_0xdb58aa&&(_0xdb58aa[_0x261949(0x1e5)](),this['_roomMembers'][_0x261949(0x165)](_0x3354cc));}[_0x2025fc(0x1e5)](){const _0x1f061e=_0x2025fc;this['_roomMembers']['forEach'](_0x270894=>_0x270894['dispose']()),this[_0x1f061e(0x3a7)][_0x1f061e(0x116)]();}};Me=Jn([Ks(0x0,_0x425cee),Ks(0x1,_0x5847bf(_0x1fb10d))],Me);class Zn extends _0x24229e{constructor(){const _0x1a644e=_0x2025fc;super(...arguments),g(this,_0x1a644e(0x3df),new Map());}['dispose'](){const _0x2129a3=_0x2025fc;this[_0x2129a3(0x3df)][_0x2129a3(0x116)]();}[_0x2025fc(0x24d)](_0x251cf0){const _0xfc3b1c=_0x2025fc;this[_0xfc3b1c(0x3df)]['set'](_0x251cf0[_0xfc3b1c(0x471)],_0x251cf0);}[_0x2025fc(0xd7)](_0x121c4b){const _0x3cf8b6=_0x2025fc;this[_0x3cf8b6(0x3df)]['delete'](_0x121c4b);}['getMember'](_0x3ee787){const _0x3995e1=_0x2025fc;return this[_0x3995e1(0x3df)][_0x3995e1(0x33e)](_0x3ee787);}[_0x2025fc(0xce)](){const _0x3918f4=_0x2025fc;return Array['from'](this[_0x3918f4(0x3df)][_0x3918f4(0x3ed)]());}}var Qn=Object[_0x2025fc(0x385)],eo=Object['getOwnPropertyDescriptor'],to=(_0x3f02e5,_0x3f0bf3,_0xa56b7c,_0x3bd5f7)=>{const _0x4df583=_0x2025fc;for(var _0x1e6824=_0x3bd5f7>0x1?void 0x0:_0x3bd5f7?eo(_0x3f0bf3,_0xa56b7c):_0x3f0bf3,_0x477427=_0x3f02e5[_0x4df583(0x161)]-0x1,_0x359b97;_0x477427>=0x0;_0x477427--)(_0x359b97=_0x3f02e5[_0x477427])&&(_0x1e6824=(_0x3bd5f7?_0x359b97(_0x3f0bf3,_0xa56b7c,_0x1e6824):_0x359b97(_0x1e6824))||_0x1e6824);return _0x3bd5f7&&_0x1e6824&&Qn(_0x3f0bf3,_0xa56b7c,_0x1e6824),_0x1e6824;},Ee=(_0x3b1967,_0x58e993)=>(_0x2bb12f,_0x1fea69)=>_0x58e993(_0x2bb12f,_0x1fea69,_0x3b1967),fe=(_0x1514de=>(_0x1514de[_0x1514de[_0x2025fc(0x388)]=0x0]=_0x2025fc(0x388),_0x1514de[_0x1514de[_0x2025fc(0x349)]=0x1]=_0x2025fc(0x349),_0x1514de[_0x1514de[_0x2025fc(0x23c)]=0x2]=_0x2025fc(0x23c),_0x1514de[_0x1514de[_0x2025fc(0xad)]=0x3]=_0x2025fc(0xad),_0x1514de))(fe||{});const qs={[Pe[_0x2025fc(0x1d5)]]:_0x2025fc(0x3d9),[Pe['JOIN_ROOM_FULL']]:'session.room-full',[Pe[_0x2025fc(0x41e)]]:'session.room-not-exists',[Pe[_0x2025fc(0x2f3)]]:_0x2025fc(0x3d1),[Pe[_0x2025fc(0x267)]]:_0x2025fc(0xaf)};let hs=class extends _0x5ec0cb{constructor(_0x24eaa1,_0x3a6760,_0xaf61ea,_0x4fe672,_0x335b68,_0x2646a3,_0x589ad2,_0x8d1ff9,_0x3b920d,_0x3c512d){const _0x2acde2=_0x2025fc;super(),g(this,_0x2acde2(0x2f1),new _0x1074c2(0x0)),g(this,_0x2acde2(0x1ff),this['_sessionStatus$'][_0x2acde2(0xf7)]()),g(this,_0x2acde2(0x304),new _0x1c0b9c()),g(this,_0x2acde2(0x142),this[_0x2acde2(0x304)][_0x2acde2(0xf7)]()),g(this,_0x2acde2(0x212)),g(this,_0x2acde2(0x47f)),g(this,'_collaborationTimeoutTimer'),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x2acde2(0x2e5),null),(this['_unitID']=_0x24eaa1,this['_logService']=_0xaf61ea,this['_beforeCloseService']=_0x4fe672,this[_0x2acde2(0x362)]=_0x335b68,this[_0x2acde2(0xb4)]=_0x2646a3,this[_0x2acde2(0x3a9)]=_0x589ad2,this[_0x2acde2(0x31c)]=_0x8d1ff9,this['_commentService']=_0x3b920d,this[_0x2acde2(0x311)]=_0x3c512d,this['_shouldReportTelemetry']=!!this[_0x2acde2(0x311)],_0x3a6760[_0x2acde2(0x150)](_0x7b6507(this[_0x2acde2(0x345)]))[_0x2acde2(0x140)](_0x597266=>{const _0x18c99e=_0x2acde2;var _0x2e9286;typeof _0x597266>'u'||(this[_0x18c99e(0x212)]=_0x597266,_0x597266?(this['_joinRoom'](_0x597266),this[_0x18c99e(0x47f)]=_0x597266[_0x18c99e(0x400)][_0x18c99e(0x140)](_0x46a9db=>{const _0x13598d=_0x18c99e;_0x46a9db[_0x13598d(0x15f)]===this[_0x13598d(0x41c)]&&this[_0x13598d(0x3ea)](_0x46a9db);})):(this[_0x18c99e(0x264)](),this[_0x18c99e(0x2f1)]['next'](0x2),(_0x2e9286=this[_0x18c99e(0x47f)])==null||_0x2e9286[_0x18c99e(0x2dd)](),this[_0x18c99e(0x47f)]=null));}),this[_0x2acde2(0x10c)](this[_0x2acde2(0x181)][_0x2acde2(0x2db)](()=>{const _0x1fb1c7=_0x2acde2;var _0x3f519a;(_0x3f519a=this[_0x1fb1c7(0x212)])==null||_0x3f519a[_0x1fb1c7(0xc9)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x1fb1c7(0x41c)]}});})));}get['sessionStatus'](){const _0x3ebdb1=_0x2025fc;return this['_sessionStatus$'][_0x3ebdb1(0x42a)]();}[_0x2025fc(0x316)](){const _0x47b228=_0x2025fc;var _0x43fddf,_0xa68226;return(_0xa68226=(_0x43fddf=this['_socket'])==null?void 0x0:_0x43fddf[_0x47b228(0x471)])!=null?_0xa68226:null;}[_0x2025fc(0x1e5)](){const _0xa59c91=_0x2025fc;super[_0xa59c91(0x1e5)](),this[_0xa59c91(0x345)][_0xa59c91(0x382)](),this[_0xa59c91(0x345)][_0xa59c91(0x3c5)]();}['close'](){const _0x20a233=_0x2025fc;var _0x3b8f46,_0x5157c6;this[_0x20a233(0x264)](),(_0x3b8f46=this[_0x20a233(0x212)])==null||_0x3b8f46[_0x20a233(0xc9)]({'cmd':W[_0x20a233(0x387)],'data':{'roomID':this[_0x20a233(0x41c)]}}),(_0x5157c6=this['_socket'])==null||_0x5157c6[_0x20a233(0x206)](),this[_0x20a233(0x304)][_0x20a233(0x3c5)](),this['_sessionStatus$']['complete'](),this[_0x20a233(0x1e5)]();}['_onCombEvent'](_0x514244){const _0x16d652=_0x2025fc;_0x514244[_0x16d652(0x32d)]===W[_0x16d652(0xea)]?this[_0x16d652(0x168)](_0x514244):_0x514244['cmd']===W[_0x16d652(0x247)]&&this[_0x16d652(0x1d4)](_0x514244);}['_joinRoom'](_0x40d30e){const _0x390c93=_0x2025fc;this[_0x390c93(0x2f1)][_0x390c93(0x382)](0x1),_0x40d30e[_0x390c93(0xc9)]({'cmd':W[_0x390c93(0xea)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x390c93(0x41c)]}]}});}[_0x2025fc(0x168)](_0x17c369){const _0x1e69d2=_0x2025fc;var _0x1493a9;if(_0x17c369[_0x1e69d2(0x179)]in qs){this['_messageService'][_0x1e69d2(0x3c2)]({'type':_0x3f6750['Warning'],'content':this['_localeService']['t'](qs[_0x17c369[_0x1e69d2(0x179)]])}),this[_0x1e69d2(0x2f1)][_0x1e69d2(0x382)](0x2);return;}this[_0x1e69d2(0x2f1)][_0x1e69d2(0x382)](0x3);const _0x2a8cab=(_0x1493a9=_0x17c369[_0x1e69d2(0x2a0)]['roomInfos'][this[_0x1e69d2(0x41c)]])==null?void 0x0:_0x1493a9[_0x1e69d2(0x3de)];_0x2a8cab&&_0x2a8cab[_0x1e69d2(0x2e1)](_0x56f60a=>this['_memberService'][_0x1e69d2(0x24d)](this[_0x1e69d2(0x41c)],_0x56f60a));}[_0x2025fc(0x1d4)](_0x133a08){const _0x4c940a=_0x2025fc;try{const _0x5bcadd=_0x133a08['data'];switch(_0x5bcadd['eventID']){case _0x3a14f4[_0x4c940a(0xc3)]:this['_onUserJoin'](_0x5bcadd),this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x3dc)]:this[_0x4c940a(0x3e0)](_0x5bcadd),this['_event$'][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x3d7)]:case _0x3a14f4[_0x4c940a(0x32f)]:this[_0x4c940a(0xa6)](),this[_0x4c940a(0x346)](),this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x1f3)]:this[_0x4c940a(0xc1)][_0x4c940a(0x279)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x4c940a(0x11e)](_0x5bcadd)),this[_0x4c940a(0x304)]['next'](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x2b6)]:this[_0x4c940a(0x25d)][_0x4c940a(0x158)](_0x5bcadd[_0x4c940a(0x2a0)]),this[_0x4c940a(0x304)]['next'](_0x5bcadd);break;default:this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);}}catch(_0x42dc46){this[_0x4c940a(0xc1)]['error'](_0x42dc46,_0x133a08);}}[_0x2025fc(0x4b4)](_0x8ac805){const _0x3aa7e2=_0x2025fc;this[_0x3aa7e2(0x31c)][_0x3aa7e2(0x24d)](this[_0x3aa7e2(0x41c)],_0x8ac805['data']);}['_onUserLeave'](_0x5aa94a){const _0x3fb9a0=_0x2025fc;this['_memberService'][_0x3fb9a0(0xd7)](this['_unitID'],_0x5aa94a[_0x3fb9a0(0x2a0)]['memberID']);}async[_0x2025fc(0xc9)](_0x4dff1d,_0x57d413){const _0x1ca43e=_0x2025fc;if(this[_0x1ca43e(0x27c)]!==0x3||!this[_0x1ca43e(0x212)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4dff1d['eventID']===_0x3a14f4[_0x1ca43e(0x1ae)]&&(this[_0x1ca43e(0x315)](),this['_startTelemetryCollaborationNewChangeset'](_0x4dff1d)),this['_socket'][_0x1ca43e(0xc9)]({'cmd':W[_0x1ca43e(0x365)],'routeKey':_0x57d413,'routeType':'','data':_0x4dff1d});}catch(_0x2a2e75){this[_0x1ca43e(0xc1)][_0x1ca43e(0x279)](_0x2a2e75);}}[_0x2025fc(0x315)](){const _0x1c1b23=_0x2025fc;var _0x1dc86a;this[_0x1c1b23(0x350)]=window[_0x1c1b23(0x16d)](()=>{const _0x4df287=_0x1c1b23;this[_0x4df287(0x350)]=null,this[_0x4df287(0x362)][_0x4df287(0x3c2)]({'type':_0x3f6750[_0x4df287(0x2ee)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x1dc86a=this[_0x1c1b23(0xb4)][_0x1c1b23(0x217)](ki))!=null?_0x1dc86a:Wi);}[_0x2025fc(0x346)](){const _0x548983=_0x2025fc;this[_0x548983(0x350)]&&(clearTimeout(this[_0x548983(0x350)]),this[_0x548983(0x350)]=null);}[_0x2025fc(0x33b)](_0x500503){const _0x1aa4fc=_0x2025fc;if(!this[_0x1aa4fc(0x47a)])return;const {data:_0x107dda}=_0x500503,{unitID:_0x4e8620,changeset:_0x4d5cb0}=_0x107dda,{mutations:_0x57006e,type:_0x4a22b4}=_0x4d5cb0;this[_0x1aa4fc(0x2e5)]={'unitId':_0x4e8620,'type':_0x4a22b4,'startTime':performance[_0x1aa4fc(0x1d9)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x57006e)};}[_0x2025fc(0xa6)](){const _0x46ef89=_0x2025fc;if(this[_0x46ef89(0x47a)]){if(!this['_telemetryInfo']){this[_0x46ef89(0xc1)]['error'](_0x46ef89(0x3c1),_0x46ef89(0x2a1));return;}this[_0x46ef89(0x2e5)][_0x46ef89(0x276)]=performance['now'](),this[_0x46ef89(0x2e5)]['duration']=this[_0x46ef89(0x2e5)]['stopTime']-this['_telemetryInfo'][_0x46ef89(0xcc)],this[_0x46ef89(0x311)][_0x46ef89(0x23b)](Kn,this['_telemetryInfo']),this[_0x46ef89(0x2e5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x28deba=_0x2025fc;this[_0x28deba(0x2e5)]=null;}};hs=to([Ee(0x2,_0x49d195),Ee(0x3,_0x176b35),Ee(0x4,_0x3d017a),Ee(0x5,_0x4df844),Ee(0x6,_0x5847bf(_0x4b4756)),Ee(0x7,_0x5847bf(Me)),Ee(0x8,_0x5847bf(Yi)),Ee(0x9,_0x133fb4(_0xeb3a8b))],hs);var so=Object[_0x2025fc(0x385)],io=Object[_0x2025fc(0x18c)],ro=(_0x5916e1,_0x4de38e,_0x209a61,_0x19fdc4)=>{const _0x50e291=_0x2025fc;for(var _0xb6abfd=_0x19fdc4>0x1?void 0x0:_0x19fdc4?io(_0x4de38e,_0x209a61):_0x4de38e,_0x1f0249=_0x5916e1[_0x50e291(0x161)]-0x1,_0x560e8b;_0x1f0249>=0x0;_0x1f0249--)(_0x560e8b=_0x5916e1[_0x1f0249])&&(_0xb6abfd=(_0x19fdc4?_0x560e8b(_0x4de38e,_0x209a61,_0xb6abfd):_0x560e8b(_0xb6abfd))||_0xb6abfd);return _0x19fdc4&&_0xb6abfd&&so(_0x4de38e,_0x209a61,_0xb6abfd),_0xb6abfd;},ye=(_0x362c7b,_0x224056)=>(_0x51bef1,_0xf378dc)=>_0x224056(_0x51bef1,_0xf378dc,_0x362c7b);let xe=class extends _0x24229e{constructor(_0x481561,_0x236f76,_0x4bd0c9,_0x502c05,_0x136454,_0x53f234,_0x3da87b){const _0x59c439=_0x2025fc;super(),g(this,_0x59c439(0x2b0),new _0x1074c2(void 0x0)),g(this,_0x59c439(0xb7),this[_0x59c439(0x2b0)][_0x59c439(0xf7)]()),g(this,_0x59c439(0x188),null),g(this,'_sessions',new Map()),g(this,_0x59c439(0x1ac),new _0x1074c2(fe['IDLE'])),g(this,_0x59c439(0x1cf),this[_0x59c439(0x1ac)][_0x59c439(0xf7)]()),g(this,'_socketReady',!0x1),g(this,_0x59c439(0x2e2)),g(this,_0x59c439(0x439),0x0),g(this,_0x59c439(0x2e0)),g(this,_0x59c439(0x4b3)),(this[_0x59c439(0x147)]=_0x481561,this['_localeService']=_0x236f76,this['_messageService']=_0x4bd0c9,this[_0x59c439(0xc1)]=_0x502c05,this[_0x59c439(0xb4)]=_0x136454,this['_socketService']=_0x53f234,this[_0x59c439(0x2d8)]=_0x3da87b,this['_initEventListeners']());}get[_0x2025fc(0x212)](){const _0x210756=_0x2025fc;return this[_0x210756(0x2b0)][_0x210756(0x42a)]();}[_0x2025fc(0x22b)](){const _0xf7b1ba=_0x2025fc;this[_0xf7b1ba(0xc6)](),this['_listenToOnlineEvent']();}[_0x2025fc(0x1e5)](){const _0x2937c2=_0x2025fc;super[_0x2937c2(0x1e5)](),this['_sessions'][_0x2937c2(0x2e1)](_0xe2a8dd=>_0xe2a8dd[_0x2937c2(0x1e5)]()),this[_0x2937c2(0x263)][_0x2937c2(0x116)](),this[_0x2937c2(0x1ac)]['complete']();}async[_0x2025fc(0x40d)](_0x447701){const _0xb85665=_0x2025fc;if(this[_0xb85665(0x263)][_0xb85665(0x24c)](_0x447701))return this[_0xb85665(0x263)][_0xb85665(0x33e)](_0x447701);this[_0xb85665(0x492)]();const _0x9e3976=this[_0xb85665(0x147)]['createInstance'](hs,_0x447701,this[_0xb85665(0x2b0)][_0xb85665(0xf7)]());return this[_0xb85665(0x263)][_0xb85665(0x39c)](_0x447701,_0x9e3976),_0x9e3976;}[_0x2025fc(0x416)](_0x2dc5ba){const _0x524af4=_0x2025fc;var _0x5201e0;const _0x157fa2=this['_sessions'][_0x524af4(0x33e)](_0x2dc5ba);_0x157fa2&&(this[_0x524af4(0x263)][_0x524af4(0x165)](_0x2dc5ba),_0x157fa2[_0x524af4(0x206)]()),this[_0x524af4(0x263)][_0x524af4(0x2ac)]||(_0x5201e0=this['_socket'])==null||_0x5201e0[_0x524af4(0x206)]();}[_0x2025fc(0x35e)](){const _0xe054dd=_0x2025fc;this[_0xe054dd(0x439)]=0x0,this[_0xe054dd(0x2e2)]!=null&&(clearTimeout(this[_0xe054dd(0x2e2)]),this['_retryConnectingTimer']=null),this[_0xe054dd(0x4ac)]();}async['_getSessionTicket'](){const _0x64a01b=_0x2025fc;var _0x36db72,_0x185766,_0x2d9241;const _0x43cbc5=this[_0x64a01b(0xb4)]['getConfig'](Q),_0x590007=(_0x36db72=_0x43cbc5==null?void 0x0:_0x43cbc5['wsSessionTicketUrl'])!=null?_0x36db72:wn;return(_0x2d9241=(_0x185766=(await this[_0x64a01b(0x2d8)]['get'](_0x590007,{'headers':{'Content-Type':_0x64a01b(0x473)}}))[_0x64a01b(0x41f)])==null?void 0x0:_0x185766[_0x64a01b(0x269)])!=null?_0x2d9241:'';}[_0x2025fc(0x408)](_0xd9d3aa){const _0x6b5cad=_0x2025fc;var _0x5bf115,_0x31b5cd;const _0x52e6f4=this[_0x6b5cad(0xb4)]['getConfig'](On),_0xc9b706=this[_0x6b5cad(0xb4)][_0x6b5cad(0x217)](Q),_0x3ae05f=(_0x31b5cd=(_0x5bf115=_0xc9b706==null?void 0x0:_0xc9b706[_0x6b5cad(0x3a4)])!=null?_0x5bf115:_0x52e6f4)!=null?_0x31b5cd:yn,_0x11cdef=new URL(_0x3ae05f,window[_0x6b5cad(0x16a)][_0x6b5cad(0x25c)]);return _0x11cdef[_0x6b5cad(0x3ec)][_0x6b5cad(0x39c)](_0x6b5cad(0x131),_0xd9d3aa),_0x11cdef[_0x6b5cad(0x135)]();}async[_0x2025fc(0x249)](){const _0x30bf7b=_0x2025fc,_0x323ee3=await this[_0x30bf7b(0x12f)](),_0x2c70eb=this['_createSocketURL'](_0x323ee3),_0x2b0af9=this[_0x30bf7b(0x30d)][_0x30bf7b(0x164)](_0x2c70eb);return this[_0x30bf7b(0x188)]=_0x2b0af9,_0x2b0af9;}async[_0x2025fc(0x492)](){const _0x535d3e=_0x2025fc;var _0xa232fe,_0x5b1a0b;try{const _0x2f9981=(_0x5b1a0b=(_0xa232fe=this[_0x535d3e(0x212)])!=null?_0xa232fe:this[_0x535d3e(0x188)])!=null?_0x5b1a0b:await this[_0x535d3e(0x249)]();if(_0x2f9981){const _0x12862c=_0x2f9981['send'];_0x2f9981[_0x535d3e(0xc9)]=_0x54c913=>(this[_0x535d3e(0x1cc)](),_0x12862c[_0x535d3e(0x38b)](_0x2f9981,[_0x54c913])),_0x2f9981[_0x535d3e(0x400)][_0x535d3e(0x140)](_0x51d9f1=>this['_onMessage'](_0x2f9981,_0x51d9f1)),_0x2f9981[_0x535d3e(0x19a)][_0x535d3e(0x150)](_0x1abfcf(0x1))['subscribe'](_0x395f34=>this[_0x535d3e(0xc1)][_0x535d3e(0x279)](_0x535d3e(0x414),_0x395f34)),_0x2f9981[_0x535d3e(0x46d)]['pipe'](_0x1abfcf(0x1))[_0x535d3e(0x140)](()=>{const _0x44dc80=_0x535d3e;this[_0x44dc80(0x22e)](_0x2f9981);}),_0x2f9981['close$'][_0x535d3e(0x150)](_0x1abfcf(0x1))[_0x535d3e(0x140)](_0x58ed03=>{const _0x33066c=_0x535d3e;this['_logService'][_0x33066c(0x456)](_0x33066c(0x29c),_0x33066c(0x28e),_0x58ed03),this[_0x33066c(0x105)]();});}}catch(_0xad8ef2){this['_logService'][_0x535d3e(0x279)](_0xad8ef2),this[_0x535d3e(0x105)]();}}[_0x2025fc(0x22e)](_0x1640b6){const _0x40a7f7=_0x2025fc;this[_0x40a7f7(0xc1)][_0x40a7f7(0x456)](_0x40a7f7(0x29c),_0x40a7f7(0x3e6)),_0x1640b6[_0x40a7f7(0xc9)]({'cmd':W['HELLO']}),this[_0x40a7f7(0x1cc)]();}[_0x2025fc(0xc6)](){const _0x231132=_0x2025fc;window[_0x231132(0x238)](_0x231132(0x13e),()=>this[_0x231132(0x149)]());}[_0x2025fc(0x149)](){const _0x567e23=_0x2025fc;this[_0x567e23(0x3ab)]=!0x1,this[_0x567e23(0x188)]=null,this[_0x567e23(0x1ac)][_0x567e23(0x382)](fe['OFFLINE']),this[_0x567e23(0x2b0)][_0x567e23(0x382)](null),this[_0x567e23(0x4a0)](),this[_0x567e23(0x3b6)]();}['_onConnectionFailed'](){const _0x527dd0=_0x2025fc;var _0x34e86a;this[_0x527dd0(0x149)](),this[_0x527dd0(0x439)]<((_0x34e86a=this[_0x527dd0(0xb4)][_0x527dd0(0x217)](Un))!=null?_0x34e86a:An)?(this[_0x527dd0(0x362)][_0x527dd0(0x3c2)]({'key':_0x527dd0(0x1a1),'type':_0x3f6750['Warning'],'content':this[_0x527dd0(0x3a9)]['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x527dd0(0x362)]['show']({'key':_0x527dd0(0x1a1),'type':_0x3f6750[_0x527dd0(0x2ee)],'content':this[_0x527dd0(0x3a9)]['t'](_0x527dd0(0x185))});}[_0x2025fc(0x44b)](){const _0x172175=_0x2025fc,_0x3aae65=()=>{const _0x5b839b=_0x46d8;this[_0x5b839b(0x212)]||this[_0x5b839b(0x35e)]();},_0x4875d8=()=>{const _0x43b857=_0x46d8;this[_0x43b857(0x212)]||document[_0x43b857(0x417)]===_0x43b857(0x176)||this[_0x43b857(0x35e)]();};window[_0x172175(0x238)](_0x172175(0x219),_0x3aae65),document[_0x172175(0x238)](_0x172175(0x1b6),_0x4875d8);}[_0x2025fc(0x4ac)](){const _0x4fdf47=_0x2025fc;var _0x233137;const _0x3b1e15=this[_0x4fdf47(0x439)],_0x191805=this[_0x4fdf47(0xb4)][_0x4fdf47(0x217)](Q),_0x472246=_0x3b1e15===0x0?0x0:((_0x233137=_0x191805==null?void 0x0:_0x191805[_0x4fdf47(0x410)])!=null?_0x233137:Nn)*0x2**_0x3b1e15;this[_0x4fdf47(0x2e2)]=window[_0x4fdf47(0x16d)](()=>{const _0xaf3a20=_0x4fdf47;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0xaf3a20(0x492)]();},_0x472246),this[_0x4fdf47(0x439)]+=0x1;}[_0x2025fc(0x11b)](_0x3df48b,_0xf1561a){const _0x1feb97=_0x2025fc,{cmd:_0x259736}=_0xf1561a;_0x259736===W['HELLO']&&!this['_socketReady']&&(_0x3df48b[_0x1feb97(0x471)]=_0xf1561a[_0x1feb97(0x2a0)][_0x1feb97(0x471)],this[_0x1feb97(0x2b0)]['next'](_0x3df48b),this[_0x1feb97(0x1ac)][_0x1feb97(0x382)](fe[_0x1feb97(0xad)]),this[_0x1feb97(0x3ab)]=!0x0,this[_0x1feb97(0x188)]=null),_0x259736===W[_0x1feb97(0x4a5)]&&this['_clearTimeoutTimer'](),this[_0x1feb97(0x1cc)]();}['_rescheduleHeartbeat'](){const _0x1f489b=_0x2025fc;var _0x35780c;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window[_0x1f489b(0x16d)](()=>this[_0x1f489b(0x204)](),(_0x35780c=this['_configService'][_0x1f489b(0x217)](Dn))!=null?_0x35780c:Pn);}[_0x2025fc(0x204)](){const _0x30b615=_0x2025fc;this[_0x30b615(0x212)][_0x30b615(0xc9)]({'cmd':W[_0x30b615(0x4a5)]}),this[_0x30b615(0x225)]();}[_0x2025fc(0x225)](){const _0x5bf09b=_0x2025fc;var _0x3eb902;this['_timeoutTimer']=window[_0x5bf09b(0x16d)](()=>this['_onConnectionFailed'](),(_0x3eb902=this[_0x5bf09b(0xb4)][_0x5bf09b(0x217)](ki))!=null?_0x3eb902:Wi);}[_0x2025fc(0x3b6)](){const _0x41e877=_0x2025fc;this[_0x41e877(0x2e0)]!=null&&(clearTimeout(this[_0x41e877(0x2e0)]),this[_0x41e877(0x2e0)]=null);}[_0x2025fc(0x4a0)](){const _0x1cdc37=_0x2025fc;this[_0x1cdc37(0x4b3)]!=null&&(clearTimeout(this[_0x1cdc37(0x4b3)]),this[_0x1cdc37(0x4b3)]=null);}};xe=ro([ye(0x0,_0x5847bf(_0x5d7671)),ye(0x1,_0x5847bf(_0x4b4756)),ye(0x2,_0x3d017a),ye(0x3,_0x49d195),ye(0x4,_0x4df844),ye(0x5,Gi),ye(0x6,_0x5847bf(_0x310387))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x2025fc(0x22f)]((i+0x100)[_0x2025fc(0x135)](0x10)['slice'](0x1));function no(_0x4854b1,_0x2ff98e=0x0){return(Y[_0x4854b1[_0x2ff98e+0x0]]+Y[_0x4854b1[_0x2ff98e+0x1]]+Y[_0x4854b1[_0x2ff98e+0x2]]+Y[_0x4854b1[_0x2ff98e+0x3]]+'-'+Y[_0x4854b1[_0x2ff98e+0x4]]+Y[_0x4854b1[_0x2ff98e+0x5]]+'-'+Y[_0x4854b1[_0x2ff98e+0x6]]+Y[_0x4854b1[_0x2ff98e+0x7]]+'-'+Y[_0x4854b1[_0x2ff98e+0x8]]+Y[_0x4854b1[_0x2ff98e+0x9]]+'-'+Y[_0x4854b1[_0x2ff98e+0xa]]+Y[_0x4854b1[_0x2ff98e+0xb]]+Y[_0x4854b1[_0x2ff98e+0xc]]+Y[_0x4854b1[_0x2ff98e+0xd]]+Y[_0x4854b1[_0x2ff98e+0xe]]+Y[_0x4854b1[_0x2ff98e+0xf]])['toLowerCase']();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x50930a=_0x2025fc;if(!Gt){if(typeof crypto>'u'||!crypto[_0x50930a(0x286)])throw new Error(_0x50930a(0x12b));Gt=crypto[_0x50930a(0x286)][_0x50930a(0x2c1)](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x2025fc(0xf6)]&&crypto['randomUUID'][_0x2025fc(0x2c1)](crypto),zs={'randomUUID':co};function ho(_0x57d1b6,_0x18054e,_0x543c0b){const _0x713210=_0x2025fc;if(zs[_0x713210(0xf6)]&&!_0x18054e&&!_0x57d1b6)return zs['randomUUID']();_0x57d1b6=_0x57d1b6||{};const _0x11d262=_0x57d1b6['random']||(_0x57d1b6[_0x713210(0x354)]||ao)();return _0x11d262[0x6]=_0x11d262[0x6]&0xf|0x40,_0x11d262[0x8]=_0x11d262[0x8]&0x3f|0x80,no(_0x11d262);}var lo=Object['defineProperty'],_o=Object[_0x2025fc(0x18c)],uo=(_0x1782ff,_0x456255,_0x5543ba,_0x119be1)=>{const _0x2a1520=_0x2025fc;for(var _0x440ebe=_0x119be1>0x1?void 0x0:_0x119be1?_o(_0x456255,_0x5543ba):_0x456255,_0x5e7844=_0x1782ff[_0x2a1520(0x161)]-0x1,_0xd10ef0;_0x5e7844>=0x0;_0x5e7844--)(_0xd10ef0=_0x1782ff[_0x5e7844])&&(_0x440ebe=(_0x119be1?_0xd10ef0(_0x456255,_0x5543ba,_0x440ebe):_0xd10ef0(_0x440ebe))||_0x440ebe);return _0x119be1&&_0x440ebe&&lo(_0x456255,_0x5543ba,_0x440ebe),_0x440ebe;},Yt=(_0xb96441,_0x590e54)=>(_0x1544e8,_0x3ddead)=>_0x590e54(_0x1544e8,_0x3ddead,_0xb96441);let yt=class{constructor(_0x16bc13,_0x2c13d4,_0x339d22){const _0x409839=_0x2025fc;this['_injector']=_0x16bc13,this[_0x409839(0x128)]=_0x2c13d4,this[_0x409839(0x319)]=_0x339d22;}[_0x2025fc(0xcb)](_0x31d1d4){const _0xebe0f0=_0x2025fc;this[_0xebe0f0(0x2c7)](_0x31d1d4),this[_0xebe0f0(0x3a3)](_0x31d1d4);}[_0x2025fc(0x422)](_0x3b8e20){const _0x46e6a5=_0x2025fc,{unitID:_0x90b4ca}=_0x3b8e20,_0x4e6c5a=this[_0x46e6a5(0x319)][_0x46e6a5(0x266)](_0x90b4ca)[_0x46e6a5(0x1bc)](_0x5d51e1),{redoCache:_0x10eb4f}=_0x4e6c5a[_0x46e6a5(0x209)]();if(_0x10eb4f['length']===0x0)return _0x3b8e20;let _0x33c064=_0x529634['deepClone'](_0x3b8e20['mutations'][0x0]);for(let _0xdbfd1d=0x0;_0xdbfd1d<_0x10eb4f[_0x46e6a5(0x161)];_0xdbfd1d++){const _0x52b55b={'id':_0x46e6a5(0x495),'params':{..._0x10eb4f[_0xdbfd1d]}},_0x4381ac=this[_0x46e6a5(0x128)]['transformMutation'](_0x33c064,_0x52b55b,!0x1);if(_0x3e27e9(_0x4381ac))throw _0x4381ac[_0x46e6a5(0x279)];_0x33c064=_0x4381ac[_0x46e6a5(0x44f)];}return{..._0x529634[_0x46e6a5(0x2ad)](_0x3b8e20),'mutations':[_0x33c064]};}[_0x2025fc(0x2c7)](_0x4793b9){const _0xf955af=_0x2025fc,{unitID:_0x9f1d5}=_0x4793b9,_0xc25981=this[_0xf955af(0x319)][_0xf955af(0x266)](_0x9f1d5)[_0xf955af(0x1bc)](_0x5d51e1),{undoCache:_0x124ac2,redoCache:_0x21a332}=_0xc25981[_0xf955af(0x209)]();if(_0x124ac2[_0xf955af(0x161)]===0x0||_0x21a332[_0xf955af(0x161)]===0x0)return;const _0x3761c5=[],_0x2e62ae=[];let _0xeb95f7=_0x529634['deepClone'](_0x4793b9['mutations'][0x0]),_0x1f665e=_0x529634[_0xf955af(0x2ad)](_0x4793b9['mutations'][0x0]);for(let _0x54644b=_0x124ac2[_0xf955af(0x161)]-0x1;_0x54644b>=0x0;_0x54644b--){const _0x313a29={'id':_0xf955af(0x495),'params':{..._0x124ac2[_0x54644b]}},_0x55bdea={'id':_0xf955af(0x495),'params':{..._0x21a332[_0x54644b]}},_0x49fe53=this[_0xf955af(0x128)]['transformMutation'](_0xeb95f7,_0x313a29,!0x1),_0x2e28e2=this['_transformService']['transformMutation'](_0x1f665e,_0x55bdea,!0x1);if(_0x3e27e9(_0x49fe53))throw _0x49fe53['error'];if(_0x3e27e9(_0x2e28e2))throw _0x2e28e2[_0xf955af(0x279)];_0x3761c5[_0xf955af(0x3bd)](_0x49fe53['m2Prime']['params']),_0x2e62ae['unshift'](_0x2e28e2[_0xf955af(0x270)][_0xf955af(0x3a0)]),_0xeb95f7=_0x49fe53[_0xf955af(0x44f)],_0x1f665e=_0x2e28e2[_0xf955af(0x44f)];}_0xc25981[_0xf955af(0x21d)]({'undoCache':_0x3761c5,'redoCache':_0x2e62ae});}[_0x2025fc(0x3a3)](_0x521678){const _0x1b16c7=_0x2025fc,{unitID:_0x358cc9}=_0x521678,_0x5d40ea=this[_0x1b16c7(0x319)][_0x1b16c7(0x266)](_0x358cc9)[_0x1b16c7(0x1bc)](_0x5d51e1),_0x38da89=_0x5d40ea[_0x1b16c7(0x1c5)]();if(_0x38da89==null)return;const _0x161eda=[{'id':_0x1b16c7(0x495),'params':{'unitId':_0x521678[_0x1b16c7(0x2bf)],'actions':null,'textRanges':[_0x38da89]}}],_0x4f80a9=this[_0x1b16c7(0x128)][_0x1b16c7(0x39e)](_0x521678,_0x161eda);if(!_0x341c91(_0x4f80a9))throw _0x4f80a9[_0x1b16c7(0x279)];const _0x3871c1=_0x4f80a9['m2Prime'][0x0][_0x1b16c7(0x3a0)][_0x1b16c7(0x1b1)];Array[_0x1b16c7(0x287)](_0x3871c1)&&_0x3871c1['length']&&_0x5d40ea['setActiveRange'](_0x3871c1[0x0]);}};yt=uo([Yt(0x0,_0x5847bf(_0x5d7671)),Yt(0x1,_0x2fbfa5),Yt(0x2,_0x27432a)],yt);var fo=Object[_0x2025fc(0x385)],vo=Object[_0x2025fc(0x18c)],po=(_0x27c617,_0x399994,_0xe4972a,_0x6cdca7)=>{const _0x27a66f=_0x2025fc;for(var _0x3e4894=_0x6cdca7>0x1?void 0x0:_0x6cdca7?vo(_0x399994,_0xe4972a):_0x399994,_0x4d74d9=_0x27c617[_0x27a66f(0x161)]-0x1,_0x3f7f3b;_0x4d74d9>=0x0;_0x4d74d9--)(_0x3f7f3b=_0x27c617[_0x4d74d9])&&(_0x3e4894=(_0x6cdca7?_0x3f7f3b(_0x399994,_0xe4972a,_0x3e4894):_0x3f7f3b(_0x3e4894))||_0x3e4894);return _0x6cdca7&&_0x3e4894&&fo(_0x399994,_0xe4972a,_0x3e4894),_0x3e4894;},Xe=(_0x2b6a4b,_0x4550c8)=>(_0x484d97,_0x7072f)=>_0x4550c8(_0x484d97,_0x7072f,_0x2b6a4b);let z=class extends _0x24229e{constructor(_0x1c3334,_0x3f150d,_0x118910,_0x25d6fe,_0x5e7d4c){const _0x40ebd7=_0x2025fc;super(),g(this,_0x40ebd7(0x173),new Map()),g(this,_0x40ebd7(0x19b),new Map()),g(this,'_disabled',!0x1),(this[_0x40ebd7(0xb4)]=_0x1c3334,this[_0x40ebd7(0x207)]=_0x3f150d,this[_0x40ebd7(0x181)]=_0x118910,this[_0x40ebd7(0x3a9)]=_0x25d6fe,this[_0x40ebd7(0x1b0)]=_0x5e7d4c,this[_0x40ebd7(0x155)]());}['disableLocalCache'](){const _0x20fe13=_0x2025fc;this[_0x20fe13(0x2e4)]=!0x0;}['enableLocalCache'](){const _0x103913=_0x2025fc;this[_0x103913(0x2e4)]=!0x1;}[_0x2025fc(0x1e5)](){const _0x100d5a=_0x2025fc;this[_0x100d5a(0x3b1)]()[_0x100d5a(0x1c0)](()=>super[_0x100d5a(0x1e5)]());}async[_0x2025fc(0x3cc)](_0x488dff){const _0xa2c886=_0x2025fc;return this[_0xa2c886(0x2e4)]?null:this[_0xa2c886(0x207)]['getItem'](Xs(_0x488dff));}async[_0x2025fc(0x1d7)](_0x2b5348,_0x329493){const _0x4c5512=_0x2025fc;return!!this[_0x4c5512(0x207)][_0x4c5512(0x1aa)](_0x2b5348,_0x329493);}[_0x2025fc(0x291)](_0x4f5568,_0x18ac11,_0x36d67c,_0x48585a){const _0x36f9bb=_0x2025fc,_0x45ec47=this[_0x36f9bb(0x1b0)][_0x36f9bb(0x21f)](_0x4f5568);this[_0x36f9bb(0x173)][_0x36f9bb(0x39c)](_0x4f5568,{'unitID':_0x4f5568,'type':_0x18ac11,'awaitingChangeset':_0x36d67c,'mutations':_0x48585a,'rev':_0x45ec47}),this[_0x36f9bb(0x19b)]['has'](_0x4f5568)||this[_0x36f9bb(0x489)](_0x4f5568);}[_0x2025fc(0x489)](_0x143ac9){const _0x112c86=_0x2025fc,_0x22f68e=this['_getSaveTimeout']();_0x22f68e===0x0?this[_0x112c86(0x280)](_0x143ac9):this['_saveTaskMap'][_0x112c86(0x39c)](_0x143ac9,setTimeout(()=>this[_0x112c86(0x280)](_0x143ac9),_0x22f68e));}[_0x2025fc(0xa8)](){const _0x35ab0f=_0x2025fc;var _0x534a30;return(_0x534a30=this[_0x35ab0f(0xb4)][_0x35ab0f(0x217)](Mn))!=null?_0x534a30:xn;}[_0x2025fc(0x280)](_0x3ebb3c){const _0x21ee2b=_0x2025fc,_0x2f7325=this['_saveTaskMap'][_0x21ee2b(0x33e)](_0x3ebb3c);return _0x2f7325!==void 0x0&&window[_0x21ee2b(0x4b1)](_0x2f7325),this['_localStorageService'][_0x21ee2b(0x1aa)](Xs(_0x3ebb3c),this[_0x21ee2b(0x173)][_0x21ee2b(0x33e)](_0x3ebb3c))[_0x21ee2b(0x1c0)](()=>this['_saveTaskMap']['delete'](_0x3ebb3c));}async[_0x2025fc(0x3b1)](){const _0x599c50=_0x2025fc,_0x4ac8af=[];this['_saveTaskMap'][_0x599c50(0x2e1)]((_0x1248ea,_0x224d75)=>{const _0x5b36d6=_0x599c50;window['clearTimeout'](_0x1248ea),_0x4ac8af['push'](this[_0x5b36d6(0x280)](_0x224d75)['then'](()=>{const _0xced072=_0x5b36d6;this[_0xced072(0x19b)][_0xced072(0x165)](_0x224d75);}));}),await Promise[_0x599c50(0x395)](_0x4ac8af);}[_0x2025fc(0x155)](){const _0x3e7ee5=_0x2025fc;this[_0x3e7ee5(0x10c)](this[_0x3e7ee5(0x181)][_0x3e7ee5(0x2c8)](()=>{const _0x4ad78e=_0x3e7ee5;if(this[_0x4ad78e(0x19b)][_0x4ad78e(0x2ac)])return this[_0x4ad78e(0x3a9)]['t'](_0x4ad78e(0x475));}));}};z=po([Xe(0x0,_0x4df844),Xe(0x1,_0x5353b6),Xe(0x2,_0x176b35),Xe(0x3,_0x5847bf(_0x4b4756)),Xe(0x4,_0x5847bf(_0x389697))],z);function Xs(_0x325426){const _0x140626=_0x2025fc;return _0x140626(0x459)+_0x325426;}var mo=Object['defineProperty'],go=Object[_0x2025fc(0x18c)],So=(_0x3d99ec,_0x3e8fd8,_0x5c7693,_0x121c47)=>{const _0x1fe0a4=_0x2025fc;for(var _0x2b9a79=_0x121c47>0x1?void 0x0:_0x121c47?go(_0x3e8fd8,_0x5c7693):_0x3e8fd8,_0x84031a=_0x3d99ec[_0x1fe0a4(0x161)]-0x1,_0x255359;_0x84031a>=0x0;_0x84031a--)(_0x255359=_0x3d99ec[_0x84031a])&&(_0x2b9a79=(_0x121c47?_0x255359(_0x3e8fd8,_0x5c7693,_0x2b9a79):_0x255359(_0x2b9a79))||_0x2b9a79);return _0x121c47&&_0x2b9a79&&mo(_0x3e8fd8,_0x5c7693,_0x2b9a79),_0x2b9a79;},Kt=(_0x217f6b,_0x43c268)=>(_0x11e6cd,_0x180623)=>_0x43c268(_0x11e6cd,_0x180623,_0x217f6b);function Io(_0x3dfef6){const _0x32b9a4=_0x2025fc,{unitID:_0x1aaefe,mutations:_0x41e0c6}=_0x3dfef6;return{'unitId':_0x1aaefe,'subUnitId':_0x41e0c6[0x0]['params'][_0x32b9a4(0x457)]};}let wt=class{constructor(_0x144fc7,_0x49b6a3,_0x158d26){const _0x41bad9=_0x2025fc;this[_0x41bad9(0x147)]=_0x144fc7,this[_0x41bad9(0x128)]=_0x49b6a3,this[_0x41bad9(0xe8)]=_0x158d26;}[_0x2025fc(0x231)](_0x118312){const _0x1bae1c=_0x2025fc;var _0x146c4f,_0xdd4a90,_0x5c7bc3,_0x681f7e;const _0x2dc7da=this[_0x1bae1c(0x147)][_0x1bae1c(0x33e)](_0x2d0767),{unitId:_0x2923e7,subUnitId:_0x4e8252}=Io(_0x118312),_0xa38baa=_0x2dc7da['getWorkbookSelections'](_0x2923e7)[_0x1bae1c(0xef)](),_0x4c24c8=(_0xdd4a90=(_0x146c4f=this[_0x1bae1c(0xe8)][_0x1bae1c(0x1a6)](_0x2923e7))==null?void 0x0:_0x146c4f[_0x1bae1c(0x406)]())==null?void 0x0:_0xdd4a90[_0x1bae1c(0x369)]();if(_0xa38baa[_0x1bae1c(0x161)]===0x0||!_0x2923e7||!_0x4e8252)return;const _0x5ebae3=[{'id':_0x3295dc['id'],'params':{'unitId':_0x2923e7,'subUnitId':_0x4c24c8,'selections':_0x529634[_0x1bae1c(0x2ad)](_0xa38baa)}}],_0x2e4f26=this[_0x1bae1c(0x128)][_0x1bae1c(0x39e)](_0x118312,_0x5ebae3);if(!_0x341c91(_0x2e4f26))throw _0x2e4f26[_0x1bae1c(0x279)];const _0x1b85fc=(_0x681f7e=(_0x5c7bc3=_0x2e4f26[_0x1bae1c(0x270)][0x0])==null?void 0x0:_0x5c7bc3['params'])==null?void 0x0:_0x681f7e[_0x1bae1c(0x12e)];if(Array[_0x1bae1c(0x287)](_0x1b85fc)&&_0x1b85fc[_0x1bae1c(0x161)]){if(_0x1b85fc[_0x1bae1c(0x161)]===_0x5ebae3[0x0][_0x1bae1c(0x3a0)]['selections'][_0x1bae1c(0x161)]&&_0x1b85fc['every']((_0x35a642,_0x46e464)=>_0x1a8bad[_0x1bae1c(0x1c6)](_0x35a642[_0x1bae1c(0x200)],_0x5ebae3[0x0][_0x1bae1c(0x3a0)][_0x1bae1c(0x12e)][_0x46e464][_0x1bae1c(0x200)])))return;this[_0x1bae1c(0x147)][_0x1bae1c(0x33e)](_0x28287a)[_0x1bae1c(0x344)](_0x3295dc['id'],{'unitId':_0x2923e7,'subUnitId':_0x4c24c8,'selections':_0x1b85fc});}}};wt=So([Kt(0x0,_0x5847bf(_0x5d7671)),Kt(0x1,_0x2fbfa5),Kt(0x2,_0x425cee)],wt);const jt=_0x30094b('univer-pro.collaboration-client.single-active-unit-service');var Ki=(_0x303067=>(_0x303067[_0x303067[_0x2025fc(0x46b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x303067[_0x303067['OTHER_CLIENTS_EDITING']=0x1]=_0x2025fc(0xaa),_0x303067))(Ki||{});const Js=0x7530,Zs=_0x2025fc(0x4bc);class Co extends _0x24229e{constructor(){const _0x5da5ff=_0x2025fc;super(),g(this,'_id',_0x529634[_0x5da5ff(0x210)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x5da5ff(0x34c),new Map()),g(this,_0x5da5ff(0x337),null),g(this,_0x5da5ff(0x461),new Map()),g(this,_0x5da5ff(0x49e),new Map()),this['_init']();}[_0x2025fc(0x1e5)](){const _0xe6abb2=_0x2025fc;super[_0xe6abb2(0x1e5)](),this['_clearOtherTimers'][_0xe6abb2(0x2e1)]((_0x2574cd,_0x4f9fd0)=>this[_0xe6abb2(0x444)](_0x4f9fd0)),this[_0xe6abb2(0x337)]&&window[_0xe6abb2(0x3fd)](this[_0xe6abb2(0x337)]);}[_0x2025fc(0x430)](_0x385651){const _0x56d530=_0x2025fc;return this[_0x56d530(0x4ae)](_0x385651)[_0x56d530(0x150)](_0x17cf14());}[_0x2025fc(0xf2)](_0x1f2616){const _0x179adb=_0x2025fc;this[_0x179adb(0x1b3)][_0x179adb(0x2ac)]===0x0&&this['_scheduleHeartbeat'](),this[_0x179adb(0x1b3)][_0x179adb(0x4b0)](_0x1f2616),this['_send']({'type':0x0,'memberID':this[_0x179adb(0x15a)],'unitIDs':[_0x1f2616],'isForwarded':!0x1});}['disposeUnit'](_0x24b177){const _0x12aede=_0x2025fc;this[_0x12aede(0x1b3)]['delete'](_0x24b177),this[_0x12aede(0x1b3)][_0x12aede(0x2ac)]===0x0&&this[_0x12aede(0x337)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2025fc(0x100)](){const _0x551115=_0x2025fc;this[_0x551115(0x10c)](_0x7c72c3(_0x6a336f(window,_0x551115(0x111))[_0x551115(0x140)](_0x14dd9d=>{const _0x3728e8=_0x551115;if(_0x14dd9d[_0x3728e8(0x45c)]!==Zs||!_0x14dd9d[_0x3728e8(0x3e5)])return;const _0x5b2a09=JSON['parse'](_0x14dd9d[_0x3728e8(0x3e5)]);this[_0x3728e8(0x366)](_0x5b2a09);}))),window[_0x551115(0x238)](_0x551115(0x4ba),()=>this[_0x551115(0x4b2)]({'type':0x1,'memberID':this[_0x551115(0x15a)],'unitIDs':Array[_0x551115(0x11c)](this[_0x551115(0x1b3)])}));}[_0x2025fc(0x366)](_0x37a684){const _0x5dcd18=_0x2025fc;switch(_0x37a684[_0x5dcd18(0x442)]){case 0x0:this['_handleJoinEvent'](_0x37a684);break;case 0x1:this['_handleLeaveEvent'](_0x37a684);break;case 0x2:this[_0x5dcd18(0x2fb)](_0x37a684);break;}}[_0x2025fc(0x45a)](_0xaaf2ae){const _0x43f736=_0x2025fc,{unitIDs:_0x2e76f6,memberID:_0x5b1d4a,isForwarded:_0x32bbf9}=_0xaaf2ae;_0x2e76f6['forEach'](_0x2a46bf=>{const _0x41840d=_0x46d8;if(!_0x32bbf9&&this[_0x41840d(0x34c)][_0x41840d(0x24c)](_0x2a46bf)&&this[_0x41840d(0x4ae)](_0x2a46bf)[_0x41840d(0x382)](0x1),!this[_0x41840d(0x34c)]['has'](_0x2a46bf)||!this[_0x41840d(0x34c)][_0x41840d(0x33e)](_0x2a46bf)[_0x41840d(0x24c)](_0x5b1d4a)){const _0x1a044a=this[_0x41840d(0x34c)][_0x41840d(0x33e)](_0x2a46bf)||new Set();_0x1a044a[_0x41840d(0x4b0)](_0x5b1d4a),this[_0x41840d(0x34c)][_0x41840d(0x39c)](_0x2a46bf,_0x1a044a),this[_0x41840d(0x43a)](_0x5b1d4a);}}),_0x32bbf9||this[_0x43f736(0x4b2)]({'type':0x0,'memberID':this[_0x43f736(0x15a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x97e4d0){const _0x7eb8ad=_0x2025fc;this['_removeClearOtherTimer'](_0x97e4d0);const _0x25fff2=window[_0x7eb8ad(0x16d)](()=>{const _0x5b245d=_0x7eb8ad;this['_unitOnClients'][_0x5b245d(0x2e1)](_0x1bd951=>{const _0x208e41=_0x5b245d;_0x1bd951[_0x208e41(0x165)](_0x97e4d0);});},Js*0x2);this[_0x7eb8ad(0x461)]['set'](_0x97e4d0,_0x25fff2);}[_0x2025fc(0x444)](_0x5c195c){const _0x5bcc44=_0x2025fc;if(this[_0x5bcc44(0x461)][_0x5bcc44(0x24c)](_0x5c195c)){const _0x113854=this[_0x5bcc44(0x461)][_0x5bcc44(0x33e)](_0x5c195c);_0x113854&&window[_0x5bcc44(0x4b1)](_0x113854),this[_0x5bcc44(0x461)]['set'](_0x5c195c,null);}}[_0x2025fc(0x3f4)](_0x26bb2b){const _0x402ff2=_0x2025fc,{memberID:_0x36ba73,unitIDs:_0x9d30d7}=_0x26bb2b;_0x9d30d7[_0x402ff2(0x2e1)](_0x55e26f=>{const _0x47cf21=_0x402ff2;var _0x11ef07;const _0xd0eeb6=this[_0x47cf21(0x34c)][_0x47cf21(0x33e)](_0x55e26f);_0xd0eeb6&&(_0xd0eeb6[_0x47cf21(0x165)](_0x36ba73),(_0x11ef07=this[_0x47cf21(0x4ae)](_0x55e26f))==null||_0x11ef07[_0x47cf21(0x382)](_0xd0eeb6[_0x47cf21(0x2ac)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x36ba73);}['_handleHeartbeatEvent'](_0x59471a){const _0x46d273=_0x2025fc;this[_0x46d273(0x43a)](_0x59471a['memberID']);}[_0x2025fc(0x4b2)](_0x57e811){const _0x44460b=_0x2025fc;localStorage[_0x44460b(0x1aa)](Zs,JSON[_0x44460b(0x11e)](_0x57e811));}[_0x2025fc(0x2e7)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x250503=_0x46d8;this['_send']({'type':0x2,'memberID':this[_0x250503(0x15a)]});},Js);}['_ensureSubject'](_0x4d6cbb){const _0x54bd69=_0x2025fc;return this[_0x54bd69(0x49e)][_0x54bd69(0x24c)](_0x4d6cbb)||this[_0x54bd69(0x49e)][_0x54bd69(0x39c)](_0x4d6cbb,new _0x1074c2(0x0)),this[_0x54bd69(0x49e)]['get'](_0x4d6cbb);}}var Eo=Object[_0x2025fc(0x385)],bo=Object['getOwnPropertyDescriptor'],To=(_0x215ee1,_0xbb8759,_0x5a4ab4,_0x3aa60a)=>{const _0xd3f270=_0x2025fc;for(var _0x16641f=_0x3aa60a>0x1?void 0x0:_0x3aa60a?bo(_0xbb8759,_0x5a4ab4):_0xbb8759,_0xf7fe35=_0x215ee1[_0xd3f270(0x161)]-0x1,_0x232392;_0xf7fe35>=0x0;_0xf7fe35--)(_0x232392=_0x215ee1[_0xf7fe35])&&(_0x16641f=(_0x3aa60a?_0x232392(_0xbb8759,_0x5a4ab4,_0x16641f):_0x232392(_0x16641f))||_0x16641f);return _0x3aa60a&&_0x16641f&&Eo(_0xbb8759,_0x5a4ab4,_0x16641f),_0x16641f;},qt=(_0x3ff1f9,_0x107fd3)=>(_0x4d38e8,_0x339bae)=>_0x107fd3(_0x4d38e8,_0x339bae,_0x3ff1f9);let Dt=class{constructor(_0x56f84e,_0x582b68,_0xa0ca2){const _0x43ea71=_0x2025fc;this['_injector']=_0x56f84e,this[_0x43ea71(0x128)]=_0x582b68,this[_0x43ea71(0x10a)]=_0xa0ca2;}['transformStateCache'](_0x5d48e0){this['_transformHistoryAndStateStack'](_0x5d48e0);}['transformRemoteChangeset'](_0x44548a){const _0x20c530=_0x2025fc,{unitID:_0x77b850}=_0x44548a,{collaboration:_0x122ad9}=this[_0x20c530(0x10a)][_0x20c530(0x322)](_0x77b850);if(_0x122ad9[_0x20c530(0x161)]===0x0)return _0x44548a;let _0x12c0dd=_0x529634[_0x20c530(0x2ad)](_0x44548a[_0x20c530(0x335)][0x0]);for(let _0x1d7a59=0x0;_0x1d7a59<_0x122ad9[_0x20c530(0x161)];_0x1d7a59++){const _0x173c51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x122ad9[_0x1d7a59][_0x20c530(0x273)],..._0x122ad9[_0x1d7a59]['redoState']}},_0x5c82c3=this[_0x20c530(0x128)]['transformMutation'](_0x12c0dd,_0x173c51,!0x1);if(_0x3e27e9(_0x5c82c3))throw _0x5c82c3[_0x20c530(0x279)];_0x12c0dd=_0x5c82c3[_0x20c530(0x44f)];}return{..._0x529634[_0x20c530(0x2ad)](_0x44548a),'mutations':[_0x12c0dd]};}[_0x2025fc(0x418)](_0x79927f){const _0x3d0cfa=_0x2025fc,{unitID:_0x2e26a0}=_0x79927f,{history:_0x5b4e04,collaboration:_0x450915}=this[_0x3d0cfa(0x10a)]['getStateCache'](_0x2e26a0);if(_0x5b4e04['length']===0x0&&_0x450915[_0x3d0cfa(0x161)]===0x0)return;const _0x1cf9fa=[],_0x175eb7=[];let _0xaf514c=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]),_0x39b658=_0x529634['deepClone'](_0x79927f[_0x3d0cfa(0x335)][0x0]);for(let _0x4bac98=_0x5b4e04[_0x3d0cfa(0x161)]-0x1;_0x4bac98>=0x0;_0x4bac98--){const _0x32bbb4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b4e04[_0x4bac98][_0x3d0cfa(0x273)],..._0x5b4e04[_0x4bac98][_0x3d0cfa(0x347)]}},_0x3c5e90={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x5b4e04[_0x4bac98][_0x3d0cfa(0x273)],..._0x5b4e04[_0x4bac98][_0x3d0cfa(0x1a3)]}},_0x49eed6=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0xaf514c,_0x32bbb4,!0x1),_0x5bea87=this['_transformService'][_0x3d0cfa(0x4b6)](_0x39b658,_0x3c5e90,!0x1);if(_0x3e27e9(_0x49eed6))throw _0x49eed6[_0x3d0cfa(0x279)];if(_0x3e27e9(_0x5bea87))throw _0x5bea87[_0x3d0cfa(0x279)];_0x1cf9fa[_0x3d0cfa(0x3bd)]({..._0x5b4e04[_0x4bac98],'undoState':_0x49eed6[_0x3d0cfa(0x270)][_0x3d0cfa(0x3a0)],'redoState':_0x5bea87['m2Prime'][_0x3d0cfa(0x3a0)]}),_0xaf514c=_0x49eed6[_0x3d0cfa(0x44f)],_0x39b658=_0x5bea87[_0x3d0cfa(0x44f)];}_0xaf514c=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]),_0x39b658=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]);for(let _0x9adcc9=_0x450915[_0x3d0cfa(0x161)]-0x1;_0x9adcc9>=0x0;_0x9adcc9--){const _0x4b093c={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x450915[_0x9adcc9]['unitId'],..._0x450915[_0x9adcc9][_0x3d0cfa(0x347)]}},_0x512950={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x450915[_0x9adcc9]['unitId'],..._0x450915[_0x9adcc9][_0x3d0cfa(0x1a3)]}},_0x45f2a5=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0xaf514c,_0x4b093c,!0x1),_0x11a9db=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0x39b658,_0x512950,!0x1);if(_0x3e27e9(_0x45f2a5))throw _0x45f2a5[_0x3d0cfa(0x279)];if(_0x3e27e9(_0x11a9db))throw _0x11a9db[_0x3d0cfa(0x279)];_0x175eb7[_0x3d0cfa(0x3bd)]({..._0x450915[_0x9adcc9],'undoState':_0x45f2a5[_0x3d0cfa(0x270)]['params'],'redoState':_0x11a9db[_0x3d0cfa(0x270)][_0x3d0cfa(0x3a0)]}),_0xaf514c=_0x45f2a5[_0x3d0cfa(0x44f)],_0x39b658=_0x11a9db[_0x3d0cfa(0x44f)];}this[_0x3d0cfa(0x10a)]['setStateCache'](_0x2e26a0,{'history':_0x1cf9fa,'collaboration':_0x175eb7});}};Dt=To([qt(0x0,_0x5847bf(_0x5d7671)),qt(0x1,_0x2fbfa5),qt(0x2,_0x5847bf(_0x4ee933))],Dt);function qi(_0x447802){const _0x23d3a4=_0x2025fc;let _0x591fb7='';for(const _0x456e9e of _0x447802){const {startOffset:_0x3bc739,endOffset:_0x4258e0,isActive:_0x24626d,rangeType:_0x3c4464,segmentId:_0x17e384,segmentPage:_0x508fec}=_0x456e9e;_0x591fb7[_0x23d3a4(0x161)]&&(_0x591fb7+=','),_0x591fb7+=_0x3bc739+':'+_0x4258e0+':'+(_0x24626d?'1':'0')+':'+_0x3c4464+':'+_0x17e384+':'+_0x508fec;}return _0x591fb7;}function Ro(_0x3d4b47){const _0x56bac5=_0x2025fc,_0xc0e35d=_0x3d4b47['split'](','),_0x240b0e=[];for(const _0x13ccc4 of _0xc0e35d){const [_0xa6d7f0,_0x249e8e,_0x33c149,_0x3cc19b,_0xdac98d,_0x53cf02]=_0x13ccc4[_0x56bac5(0x2c6)](':');_0x240b0e[_0x56bac5(0x22f)]({'startOffset':Number(_0xa6d7f0),'endOffset':Number(_0x249e8e),'collapsed':_0xa6d7f0===_0x249e8e,'isActive':_0x33c149==='1','rangeType':_0x3cc19b===_0x2bd610[_0x56bac5(0x2b8)]?_0x2bd610[_0x56bac5(0x2b8)]:_0x2bd610[_0x56bac5(0x246)],'segmentId':typeof _0xdac98d==_0x56bac5(0x151)?String(_0xdac98d):'','segmentPage':Number(_0x53cf02!=null?_0x53cf02:-0x1)});}return _0x240b0e['some'](_0x509351=>_0x509351[_0x56bac5(0x19e)])||(_0x240b0e[0x0]['isActive']=!0x0),_0x240b0e;}class Ds extends _0x5ec0cb{constructor(){const _0x4c0dc6=_0x2025fc;super(...arguments),g(this,'_collabCursorState$',new _0x1074c2(null)),g(this,_0x4c0dc6(0x451),this[_0x4c0dc6(0x1ea)][_0x4c0dc6(0xf7)]());}[_0x2025fc(0xc2)](_0x4fdcb0){const _0x38d62c=_0x2025fc,{unitID:_0x49afeb,memberID:_0x18d412,textRanges:_0x4404d2}=_0x4fdcb0,_0x27cafd=qi(_0x4404d2);if(_0x27cafd==='')return;const _0x2821fa={'unitID':_0x49afeb,'memberID':_0x18d412,'selection':_0x27cafd};this[_0x38d62c(0x1ea)][_0x38d62c(0x382)](_0x2821fa);}}var Oo=Object[_0x2025fc(0x385)],yo=Object['getOwnPropertyDescriptor'],wo=(_0xbdb01d,_0x34914b,_0x2b6b41,_0x26bd8b)=>{const _0x507179=_0x2025fc;for(var _0x292316=_0x26bd8b>0x1?void 0x0:_0x26bd8b?yo(_0x34914b,_0x2b6b41):_0x34914b,_0x599586=_0xbdb01d[_0x507179(0x161)]-0x1,_0x5941a0;_0x599586>=0x0;_0x599586--)(_0x5941a0=_0xbdb01d[_0x599586])&&(_0x292316=(_0x26bd8b?_0x5941a0(_0x34914b,_0x2b6b41,_0x292316):_0x5941a0(_0x292316))||_0x292316);return _0x26bd8b&&_0x292316&&Oo(_0x34914b,_0x2b6b41,_0x292316),_0x292316;},Qs=(_0x3b2b21,_0x17c3fc)=>(_0x1a8f44,_0xe66bf0)=>_0x17c3fc(_0x1a8f44,_0xe66bf0,_0x3b2b21);let Pt=class{constructor(_0x3d378d,_0x5dad3b){const _0x2833a3=_0x2025fc;this[_0x2833a3(0x147)]=_0x3d378d,this[_0x2833a3(0x128)]=_0x5dad3b;}[_0x2025fc(0x231)](_0x1608db){const _0x5561b2=_0x2025fc;var _0x3084e4;const _0x2e6f48=this[_0x5561b2(0x147)][_0x5561b2(0x33e)](_0x49b6ea),_0x167fbd=(_0x3084e4=_0x2e6f48[_0x5561b2(0x391)]())!=null?_0x3084e4:[];if(_0x167fbd['length']===0x0)return;const _0x403bf3=_0x1608db['unitID'],_0x32ec32=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x403bf3,'actions':null,'textRanges':_0x167fbd}}],_0x403107=this[_0x5561b2(0x128)][_0x5561b2(0x39e)](_0x1608db,_0x32ec32);if(!_0x341c91(_0x403107))throw _0x403107[_0x5561b2(0x279)];const _0xb6d254=_0x403107[_0x5561b2(0x270)][0x0][_0x5561b2(0x3a0)][_0x5561b2(0x1b1)];Array[_0x5561b2(0x287)](_0xb6d254)&&_0xb6d254['length']&&_0x2e6f48[_0x5561b2(0x2f9)](_0xb6d254,{'unitId':_0x403bf3,'subUnitId':_0x403bf3},!0x1);}};Pt=wo([Qs(0x0,_0x5847bf(_0x5d7671)),Qs(0x1,_0x2fbfa5)],Pt);const Do=new Set([_0x5bc6a8['id']]);function ei(_0x435586,_0x477b87,_0x4f3dcd,_0x3143f9,_0x1f8859){const _0xbf01e3=_0x2025fc;var _0x1a45af,_0x21fed4,_0x314ee6,_0x37aa38;const _0x2669f8=[];for(const _0x39c8b5 of _0x435586)if(Do[_0xbf01e3(0x24c)](_0x39c8b5['id'])){if(_0x2669f8[_0xbf01e3(0x161)]>0x0)break;_0x2669f8[_0xbf01e3(0x22f)](_0x39c8b5);break;}else _0x2669f8['push'](_0x39c8b5);const _0x4489fd=(_0x21fed4=(_0x1a45af=_0x1f8859['getCurrentUser']())==null?void 0x0:_0x1a45af[_0xbf01e3(0x37e)])!=null?_0x21fed4:_0xbf01e3(0x248),_0x315a03=(_0x37aa38=(_0x314ee6=_0x1f8859[_0xbf01e3(0x14b)]())==null?void 0x0:_0x314ee6['memberID'])!=null?_0x37aa38:_0xbf01e3(0x248);return{'changeset':{'unitID':_0x477b87,'type':_0x3761c7(_0x4f3dcd[_0xbf01e3(0x3e3)](_0x477b87)),'baseRev':_0x3143f9[_0xbf01e3(0x21f)](_0x477b87),'revision':0x0,'userID':_0x4489fd,'memberID':_0x315a03,'mutations':_0x2669f8},'pendingMutations':_0x435586[_0xbf01e3(0x48f)](_0x2669f8[_0xbf01e3(0x161)])};}function Po(_0xaa9500,_0x887e65,_0x2519c7,_0x2562a7,_0x256860){const _0xe0d0e=_0x2025fc;var _0x202771,_0xe28d44,_0x10e86f,_0x173082;const _0x3f7bf1=[_0xaa9500[_0xe0d0e(0x393)]((_0x2c94a8,_0x1c1cf3)=>{const _0x5c5a7a=_0xe0d0e;var _0x489a8c;const {id:_0x4ea249}=_0x2c94a8,{id:_0xbb4d4c,type:_0x18e641}=_0x1c1cf3,_0x3a591b=(_0x489a8c=_0x2c94a8[_0x5c5a7a(0x3a0)])!=null?_0x489a8c:{'actions':null},_0x1edb2d=_0x1c1cf3[_0x5c5a7a(0x3a0)];if(_0x4ea249&&_0x4ea249!==_0xbb4d4c)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4ea249+_0x5c5a7a(0x38a)+_0xbb4d4c+'.');return{..._0x2c94a8,'id':_0xbb4d4c,'type':_0x18e641,'params':{'unitId':_0x1edb2d[_0x5c5a7a(0x273)],'textRanges':_0x1edb2d[_0x5c5a7a(0x1b1)],'actions':_0x421ddc[_0x5c5a7a(0x468)](_0x3a591b[_0x5c5a7a(0x49a)],_0x1edb2d[_0x5c5a7a(0x49a)])}};},{})],_0x4365f1=(_0xe28d44=(_0x202771=_0x256860[_0xe0d0e(0x14b)]())==null?void 0x0:_0x202771['userID'])!=null?_0xe28d44:_0xe0d0e(0x248),_0x212c5f=(_0x173082=(_0x10e86f=_0x256860['getCurrentUser']())==null?void 0x0:_0x10e86f[_0xe0d0e(0x471)])!=null?_0x173082:'unknown';return{'changeset':{'unitID':_0x887e65,'type':_0x3761c7(_0x2519c7['getUnitType'](_0x887e65)),'baseRev':_0x2562a7[_0xe0d0e(0x21f)](_0x887e65),'revision':0x0,'userID':_0x4365f1,'memberID':_0x212c5f,'mutations':_0x3f7bf1},'pendingMutations':[]};}function zi(_0x2d54c1,_0xf646c5){const _0x1dff4b=_0x2025fc,_0x11c9ab=new _0x5e2516(0x1);return setTimeout(()=>_0x11c9ab[_0x1dff4b(0x382)](_0xf646c5),_0x2d54c1),_0x11c9ab['asObservable']()[_0x1dff4b(0x150)](_0x54d89e(0x1));}const No={'id':_0x40bf05['id'],'type':_0x4f220f[_0x2025fc(0x2c5)],'params':{}};var Uo=Object[_0x2025fc(0x385)],Ao=Object[_0x2025fc(0x18c)],$e=(_0x3a0634,_0x593556,_0x2580cb,_0x4b4dbe)=>{for(var _0x85f2c5=_0x4b4dbe>0x1?void 0x0:_0x4b4dbe?Ao(_0x593556,_0x2580cb):_0x593556,_0x8c23ab=_0x3a0634['length']-0x1,_0x13f5bd;_0x8c23ab>=0x0;_0x8c23ab--)(_0x13f5bd=_0x3a0634[_0x8c23ab])&&(_0x85f2c5=(_0x4b4dbe?_0x13f5bd(_0x593556,_0x2580cb,_0x85f2c5):_0x13f5bd(_0x85f2c5))||_0x85f2c5);return _0x4b4dbe&&_0x85f2c5&&Uo(_0x593556,_0x2580cb,_0x85f2c5),_0x85f2c5;},A=(_0x517766,_0x51fd35)=>(_0x23f0b3,_0x12ceb4)=>_0x51fd35(_0x23f0b3,_0x12ceb4,_0x517766),J=(_0x1468b5=>(_0x1468b5['NOT_COLLAB']=_0x2025fc(0x360),_0x1468b5[_0x2025fc(0x274)]='synced',_0x1468b5[_0x2025fc(0x469)]=_0x2025fc(0x46a),_0x1468b5['AWAITING']=_0x2025fc(0x1c3),_0x1468b5[_0x2025fc(0x4bd)]=_0x2025fc(0x1c1),_0x1468b5['FETCH_MISS']=_0x2025fc(0x377),_0x1468b5[_0x2025fc(0x312)]=_0x2025fc(0x137),_0x1468b5[_0x2025fc(0x23c)]='offline',_0x1468b5))(J||{});const Xi=0xea60;class He{constructor(_0x13a4f6,_0x5ac678,_0x281934,_0x5d640b,_0x4ed833,_0x2a45f8,_0x52050e,_0x3882e0,_0x678d64){const _0x517a4a=_0x2025fc;g(this,_0x517a4a(0x47d),null),g(this,_0x517a4a(0x398),[]),(this[_0x517a4a(0x2bf)]=_0x13a4f6,this[_0x517a4a(0x442)]=_0x5ac678,this[_0x517a4a(0x452)]=_0x4ed833,this[_0x517a4a(0x481)]=_0x2a45f8,this[_0x517a4a(0x21e)]=_0x52050e,this[_0x517a4a(0x1b0)]=_0x3882e0,this[_0x517a4a(0x2a4)]=_0x678d64,this[_0x517a4a(0x47d)]=_0x281934,this[_0x517a4a(0x398)]=_0x5d640b);}['_checkMissing'](_0x22795b){const _0xa1f689=_0x2025fc,_0x130bf1=this[_0xa1f689(0x1b0)]['getCurrentRevOfUnit'](this['unitID']);return _0x22795b['revision']>_0x130bf1+0x1?(this[_0xa1f689(0x452)]['onMissingChangesets']({'from':_0x130bf1,'to':_0x22795b[_0xa1f689(0x458)]-0x1}),!0x0):!0x1;}[_0x2025fc(0x2ed)](_0x574bc1){const _0x5e3fda=_0x2025fc;this[_0x5e3fda(0x21e)][_0x5e3fda(0x338)](this['unitID'],_0x574bc1);}[_0x2025fc(0xd9)](_0x5d2a42){const _0x173ef4=_0x2025fc;var _0x45cadd,_0xd626f0;(_0xd626f0=(_0x45cadd=this['_handler'])[_0x173ef4(0x106)])==null||_0xd626f0[_0x173ef4(0x494)](_0x45cadd,_0x5d2a42);}[_0x2025fc(0x1bf)](_0x402236){const _0x3276ab=_0x2025fc;var _0x462e86,_0x5e4167;return(_0x5e4167=(_0x462e86=this[_0x3276ab(0x452)])[_0x3276ab(0x38c)])==null?void 0x0:_0x5e4167[_0x3276ab(0x494)](_0x462e86,_0x402236);}[_0x2025fc(0x26f)](_0x245756){const _0x16f584=_0x2025fc;var _0x26fb9f,_0x1fe02a;return(_0x1fe02a=(_0x26fb9f=this[_0x16f584(0x452)])[_0x16f584(0x401)])==null?void 0x0:_0x1fe02a[_0x16f584(0x494)](_0x26fb9f,_0x245756);}[_0x2025fc(0x191)](_0x445ec9){const _0x91390d=_0x2025fc;var _0xbc4f15,_0x4a29fc,_0x2525c8;return(_0x2525c8=(_0x4a29fc=(_0xbc4f15=this[_0x91390d(0x452)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4a29fc[_0x91390d(0x494)](_0xbc4f15,_0x445ec9))!=null?_0x2525c8:_0x445ec9;}[_0x2025fc(0x2d5)](_0x54295e){const _0x5e4851=_0x2025fc;var _0xd93821,_0x1fa965,_0x8f6823;return(_0x8f6823=(_0x1fa965=(_0xd93821=this[_0x5e4851(0x452)])[_0x5e4851(0x2eb)])==null?void 0x0:_0x1fa965[_0x5e4851(0x494)](_0xd93821,_0x54295e))!=null?_0x8f6823:_0x54295e;}[_0x2025fc(0x3d0)](_0x257f87){const _0x1c83d6=_0x2025fc;var _0x3c0df1,_0xd8b89c;if(this[_0x1c83d6(0x442)]===ae[_0x1c83d6(0x3ad)]){const {unitID:_0x398fce,mutations:_0x16ccf1,memberID:_0x4de8d0}=_0x257f87,_0xda12fe=_0x16ccf1[0x0][_0x1c83d6(0x3a0)][_0x1c83d6(0x1b1)];Array[_0x1c83d6(0x287)](_0xda12fe)&&_0xda12fe[_0x1c83d6(0x161)]>0x0&&((_0xd8b89c=(_0x3c0df1=this[_0x1c83d6(0x452)])[_0x1c83d6(0x1f5)])==null||_0xd8b89c[_0x1c83d6(0x494)](_0x3c0df1,{'unitID':_0x398fce,'memberID':_0x4de8d0,'textRanges':_0xda12fe}));}}[_0x2025fc(0x2e9)](){const _0x2e8e60=_0x2025fc;this[_0x2e8e60(0x2a4)][_0x2e8e60(0x291)](this[_0x2e8e60(0x2bf)],this[_0x2e8e60(0x442)],this[_0x2e8e60(0x47d)],this[_0x2e8e60(0x398)]);}[_0x2025fc(0x3b8)](){const _0x569dbb=_0x2025fc;return this[_0x569dbb(0x1b0)][_0x569dbb(0x21f)](this[_0x569dbb(0x2bf)]);}[_0x2025fc(0x139)](){const _0x534ac0=_0x2025fc;this[_0x534ac0(0x1b0)]['incrementRevOfUnit'](this[_0x534ac0(0x2bf)]);}['_executeRemoteChangeset'](_0x4f3b4f){const _0x488b22=_0x2025fc;var _0x2a8be0;let _0x26b0c6=this[_0x488b22(0x191)](_0x4f3b4f);_0x26b0c6=this[_0x488b22(0x2d5)](_0x26b0c6);const _0x201cb3=_0x512337(_0x26b0c6[_0x488b22(0x335)],this[_0x488b22(0x481)],{'fromCollab':!0x0});if(!_0x201cb3[_0x488b22(0x491)])throw _0x201cb3[_0x488b22(0x279)]instanceof Error?_0x201cb3[_0x488b22(0x279)]:new Error((_0x2a8be0=_0x201cb3['error'])!=null?_0x2a8be0:_0x488b22(0x333));this['_transformIMECache'](_0x26b0c6),this['_transformStateCache'](_0x26b0c6),this[_0x488b22(0x2ed)](_0x4f3b4f),this[_0x488b22(0xd9)](_0x26b0c6),this[_0x488b22(0x3d0)](_0x26b0c6),this[_0x488b22(0x139)]();}}let Fe=class extends He{constructor(_0x5253a2,_0x55d817,_0x3d30a0,_0xccb898,_0x3eecad,_0x2d2fe8,_0x64f58a,_0x459505,_0x1d63bf,_0x5975b6){const _0x1a5a08=_0x2025fc;super(_0x5253a2,_0x55d817,null,[],_0x3d30a0,_0x459505,_0x64f58a,_0xccb898,_0x3eecad),g(this,_0x1a5a08(0x2e8),_0x1a5a08(0x399)),(this[_0x1a5a08(0x147)]=_0x2d2fe8,this['_logService']=_0x1d63bf,this['_transformService']=_0x5975b6);}[_0x2025fc(0x2b7)](_0x363ca5){const _0x569a1a=_0x2025fc,_0x16855e=this['_injector'][_0x569a1a(0x12a)](pe,this['unitID'],this['type'],[_0x363ca5],this[_0x569a1a(0x452)]);return _0x16855e[_0x569a1a(0x34f)](),_0x16855e[_0x569a1a(0x2e9)](),_0x16855e;}[_0x2025fc(0xfa)](_0x54246f){const _0x4c7d55=_0x2025fc;if(this[_0x4c7d55(0x437)](_0x54246f))return this[_0x4c7d55(0x147)]['createInstance'](ce,this['unitID'],this[_0x4c7d55(0x442)],null,[],null,[_0x54246f],this[_0x4c7d55(0x452)]);try{const _0x2c4441=this[_0x4c7d55(0x128)][_0x4c7d55(0x39e)](_0x54246f,[No]);if(_0x341c91(_0x2c4441)){const {c1Prime:_0x4c7cd9}=_0x2c4441;return this[_0x4c7d55(0x2ae)](_0x4c7cd9),this;}throw _0x2c4441[_0x4c7d55(0x279)];}catch(_0x2e60e0){return this[_0x4c7d55(0xc1)][_0x4c7d55(0x279)](_0x2e60e0),this[_0x4c7d55(0xf4)](!0x1);}}[_0x2025fc(0xf4)](_0x40ee1f){const _0x587d0f=_0x2025fc;return this['_injector'][_0x587d0f(0x12a)](Re,this['unitID'],this[_0x587d0f(0x442)],null,[],this[_0x587d0f(0x452)],_0x40ee1f);}[_0x2025fc(0x40f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2025fc(0xa5)](){const _0x35be91=_0x2025fc;throw new Error(_0x35be91(0x2ec));}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){const _0x13f946=_0x2025fc;return this[_0x13f946(0x147)]['createInstance'](Oe,this[_0x13f946(0x2bf)],this[_0x13f946(0x442)],null,[],this[_0x13f946(0x452)]);}['toggleOnline'](){return this;}[_0x2025fc(0xd8)](){const _0x52d20c=_0x2025fc;throw new Error(_0x52d20c(0x1dc));}['fetchMiss'](){const _0x51784e=_0x2025fc,_0x103353=this[_0x51784e(0x1b0)][_0x51784e(0x21f)](this[_0x51784e(0x2bf)]);return this['_handler'][_0x51784e(0x2a5)]({'from':_0x103353,'to':0x0}),this['_injector'][_0x51784e(0x12a)](ce,this[_0x51784e(0x2bf)],this[_0x51784e(0x442)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x5847bf(_0x389697)),A(0x4,_0x5847bf(z)),A(0x5,_0x5847bf(_0x5d7671)),A(0x6,_0x4bbe15),A(0x7,_0x28287a),A(0x8,_0x49d195),A(0x9,_0x2fbfa5)],Fe);let pe=class extends He{constructor(_0x61e5ae,_0x3fff89,_0x2c64af,_0x53bb6e,_0x2ee5d8,_0x989103,_0x5134ac,_0x136613,_0x5d4231,_0x5d2d17,_0x4be79e,_0x429f15,_0x40fcb5,_0x3239a1){const _0x495d31=_0x2025fc;super(_0x61e5ae,_0x3fff89,null,_0x2c64af,_0x53bb6e,_0x5d2d17,_0x3239a1,_0x989103,_0x5134ac),g(this,_0x495d31(0x2e8),_0x495d31(0x46a)),g(this,_0x495d31(0x109),null),g(this,_0x495d31(0x396),null),(this[_0x495d31(0x147)]=_0x2ee5d8,this['_memberService']=_0x136613,this[_0x495d31(0xc1)]=_0x5d4231,this['_configService']=_0x4be79e,this[_0x495d31(0x128)]=_0x429f15,this[_0x495d31(0x3cf)]=_0x40fcb5);}[_0x2025fc(0x2b7)](_0x20e268){const _0x117d18=_0x2025fc;return this[_0x117d18(0x398)][_0x117d18(0x22f)](_0x20e268),this[_0x117d18(0x2e9)](),this;}[_0x2025fc(0xfa)](_0x320d3){const _0x492b49=_0x2025fc;if(this[_0x492b49(0x437)](_0x320d3))return this[_0x492b49(0x3a5)](),this[_0x492b49(0x147)][_0x492b49(0x12a)](ce,this['unitID'],this[_0x492b49(0x442)],null,this[_0x492b49(0x398)],null,[_0x320d3],this['_handler']);try{const _0x3538f5=this['_transformService']['transformMutationsWithChangeset'](_0x320d3,this[_0x492b49(0x398)]);if(_0x341c91(_0x3538f5)){const {c1Prime:_0x3ba168,m2Prime:_0x56321c}=_0x3538f5;this[_0x492b49(0x2ae)](_0x3ba168);const _0x381610=this[_0x492b49(0x147)][_0x492b49(0x12a)](pe,this[_0x492b49(0x2bf)],this[_0x492b49(0x442)],_0x56321c,this[_0x492b49(0x452)]);return this[_0x492b49(0x3a5)](),_0x381610[_0x492b49(0x34f)](this[_0x492b49(0x109)]?Math[_0x492b49(0x3f2)](0x0,new Date()[_0x492b49(0x2f6)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x381610;}throw _0x3538f5[_0x492b49(0x279)];}catch(_0x1fc981){return this[_0x492b49(0xc1)][_0x492b49(0x279)](_0x1fc981),this[_0x492b49(0xf4)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2025fc(0xa5)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2025fc(0x412)](){return this;}['toggleOffline'](){const _0x1cf1b7=_0x2025fc;return this[_0x1cf1b7(0x3a5)](),this['_injector'][_0x1cf1b7(0x12a)](Oe,this[_0x1cf1b7(0x2bf)],this[_0x1cf1b7(0x442)],null,this[_0x1cf1b7(0x398)],this['_handler']);}[_0x2025fc(0x375)](){return this;}['_schedule'](_0x1a7141){const _0x194f69=_0x2025fc,_0x2758bb=_0x1a7141!=null?_0x1a7141:this[_0x194f69(0x194)]();this[_0x194f69(0x109)]=new Date()[_0x194f69(0x2f6)](),this[_0x194f69(0x396)]=window[_0x194f69(0x16d)](()=>{const _0x589762=_0x194f69;this['_clearScheduledTask']();let _0x2a9c66=null;switch(this[_0x589762(0x442)]){case ae['UNIVER_SHEET']:{_0x2a9c66=ei(this[_0x589762(0x398)],this[_0x589762(0x2bf)],this[_0x589762(0x3cf)],this['_revisionService'],this[_0x589762(0x31c)]);break;}case ae[_0x589762(0x3ad)]:{this[_0x589762(0x398)][_0x589762(0x253)](_0x5c42ff=>_0x5c42ff['id']===_0x3ef379['id'])?_0x2a9c66=Po(this['_pendingMutations'],this[_0x589762(0x2bf)],this[_0x589762(0x3cf)],this[_0x589762(0x1b0)],this[_0x589762(0x31c)]):_0x2a9c66=ei(this['_pendingMutations'],this[_0x589762(0x2bf)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x589762(0xc8)+this[_0x589762(0x442)]+_0x589762(0x2de));}const {changeset:_0x2d27da,pendingMutations:_0x40bff1}=_0x2a9c66;this[_0x589762(0x452)][_0x589762(0x32e)](_0x2d27da);const _0x4f8e92=_0x40bff1['length']?this['_injector'][_0x589762(0x12a)](me,this[_0x589762(0x2bf)],this[_0x589762(0x442)],_0x2d27da,_0x40bff1,this[_0x589762(0x452)],void 0x0):this[_0x589762(0x147)][_0x589762(0x12a)](Te,this[_0x589762(0x2bf)],this[_0x589762(0x442)],_0x2d27da,this[_0x589762(0x452)]);_0x4f8e92[_0x589762(0x2e9)](),this['_handler'][_0x589762(0xe4)](this,_0x4f8e92);},_0x2758bb);}['_getSendChangesetTimeout'](){const _0x2e45e6=_0x2025fc;var _0x4c1cce;const _0x18e8ae=this[_0x2e45e6(0xb4)][_0x2e45e6(0x217)](Q);return(_0x4c1cce=_0x18e8ae==null?void 0x0:_0x18e8ae[_0x2e45e6(0x40e)])!=null?_0x4c1cce:Rn;}[_0x2025fc(0xd8)](){const _0x537863=_0x2025fc;throw new Error(_0x537863(0x3ee));}['_clearScheduledTask'](){const _0x5945c4=_0x2025fc;this[_0x5945c4(0x396)]!=null&&(clearTimeout(this[_0x5945c4(0x396)]),this[_0x5945c4(0x396)]=null);}[_0x2025fc(0xf4)](_0x3556b0){const _0x22c029=_0x2025fc;return this[_0x22c029(0x3a5)](),this[_0x22c029(0x147)]['createInstance'](Re,this[_0x22c029(0x2bf)],this[_0x22c029(0x442)],null,this[_0x22c029(0x398)],this[_0x22c029(0x452)],_0x3556b0);}};pe=$e([A(0x4,_0x5847bf(_0x5d7671)),A(0x5,_0x5847bf(_0x389697)),A(0x6,_0x5847bf(z)),A(0x7,_0x5847bf(Me)),A(0x8,_0x49d195),A(0x9,_0x28287a),A(0xa,_0x4df844),A(0xb,_0x2fbfa5),A(0xc,_0x425cee),A(0xd,_0x4bbe15)],pe);let Te=class extends He{constructor(_0x3fdeb1,_0x715049,_0x9b2a2,_0x3b3923,_0x2a59e6,_0x346569,_0x13afb3,_0x2bc3d5,_0x4763cf,_0x5c4c76,_0x206461){const _0x5f125e=_0x2025fc;super(_0x3fdeb1,_0x715049,_0x9b2a2,[],_0x3b3923,_0x2bc3d5,_0x206461,_0x346569,_0x13afb3),g(this,_0x5f125e(0x2e8),_0x5f125e(0x1c3)),g(this,'_resendTimeout',0x0),g(this,_0x5f125e(0x4a8)),g(this,_0x5f125e(0x2d4)),(this[_0x5f125e(0x147)]=_0x2a59e6,this['_logService']=_0x4763cf,this[_0x5f125e(0x128)]=_0x5c4c76);}[_0x2025fc(0x2b7)](_0x14c8bc){const _0x21635a=_0x2025fc;this[_0x21635a(0x3a5)]();const _0x2d13b1=this['_injector'][_0x21635a(0x12a)](me,this[_0x21635a(0x2bf)],this[_0x21635a(0x442)],this['_awaitingChangeset'],[_0x14c8bc],this[_0x21635a(0x452)],this[_0x21635a(0x4a8)]);return _0x2d13b1[_0x21635a(0x2e9)](),_0x2d13b1;}[_0x2025fc(0xfa)](_0x177167){const _0x37645f=_0x2025fc;if(this[_0x37645f(0x437)](_0x177167))return this[_0x37645f(0x3a5)](),this[_0x37645f(0x147)][_0x37645f(0x12a)](ce,this[_0x37645f(0x2bf)],this['type'],this['_awaitingChangeset'],[],null,[_0x177167],this[_0x37645f(0x452)]);try{const _0x4fc374=this[_0x37645f(0x128)][_0x37645f(0x301)]([_0x177167],[this['_awaitingChangeset']],!0x1);if(_0xba8c63(_0x4fc374)){const {c1Prime:_0x3822af,c2Prime:_0x50148d}=_0x4fc374;this[_0x37645f(0x2ae)](_0x3822af[0x0]),_0x50148d[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x37645f(0x3a5)]();const _0x44eadd=this[_0x37645f(0x147)][_0x37645f(0x12a)](Te,this['unitID'],this[_0x37645f(0x442)],_0x50148d[0x0],this[_0x37645f(0x452)]);return _0x44eadd['_updateLocalCache'](),_0x44eadd;}return this[_0x37645f(0xf4)](!0x1);}catch(_0x1de3e2){return this['_logService'][_0x37645f(0x279)](_0x1de3e2),this[_0x37645f(0xf4)](!0x1);}}[_0x2025fc(0x40f)](_0x237a66){const _0x49c53b=_0x2025fc;this[_0x49c53b(0x3a5)]();const _0x524a06=this[_0x49c53b(0x1b0)][_0x49c53b(0x21f)](this['unitID']);if(_0x237a66['revision']<_0x524a06-0x1)return this;if(this['_checkMissing'](_0x237a66))return this['_injector'][_0x49c53b(0x12a)](ce,this[_0x49c53b(0x2bf)],this[_0x49c53b(0x442)],null,[],this[_0x49c53b(0x47d)],[],this[_0x49c53b(0x452)]);this['_incrementRevisionNumber']();const _0xd73c40=this[_0x49c53b(0x147)][_0x49c53b(0x12a)](Fe,this[_0x49c53b(0x2bf)],this[_0x49c53b(0x442)],this['_handler']);return _0xd73c40['_updateLocalCache'](),_0xd73c40;}[_0x2025fc(0xa5)](_0x13c3d3){const _0x3eddf9=_0x2025fc;return this[_0x3eddf9(0xf4)](!!(_0x13c3d3!=null&&_0x13c3d3[_0x3eddf9(0x1d3)]));}[_0x2025fc(0x412)](_0x344d9b){const _0x36b6dc=_0x2025fc;return this[_0x36b6dc(0xda)]>Xi?this[_0x36b6dc(0x242)]():(this[_0x36b6dc(0x4a8)]=zi(this['_resendTimeout'],{'timeout':this[_0x36b6dc(0xda)],'reqId':_0x344d9b[_0x36b6dc(0x153)]}),this[_0x36b6dc(0x2d4)]=this[_0x36b6dc(0x4a8)][_0x36b6dc(0x140)](({reqId:_0x5a2cec,timeout:_0x18cbfc})=>{this['_resendWithTimeout'](_0x5a2cec,_0x18cbfc);}),this);}[_0x2025fc(0x242)](){const _0x12cb61=_0x2025fc;return this[_0x12cb61(0x3a5)](),this['_injector'][_0x12cb61(0x12a)](Oe,this['unitID'],this['type'],this[_0x12cb61(0x47d)],[],this[_0x12cb61(0x452)]);}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xd8)](){const _0x1e5f28=_0x2025fc;this[_0x1e5f28(0x452)][_0x1e5f28(0x32e)](this[_0x1e5f28(0x47d)]);}[_0x2025fc(0xf4)](_0x590e88){const _0x1cad62=_0x2025fc;return this[_0x1cad62(0x3a5)](),this[_0x1cad62(0x147)][_0x1cad62(0x12a)](Re,this[_0x1cad62(0x2bf)],this['type'],this[_0x1cad62(0x47d)],[],this[_0x1cad62(0x452)],_0x590e88);}[_0x2025fc(0x2d0)](_0x58b085,_0xf4d62c){const _0x134ed3=_0x2025fc;var _0x1be731;_0x58b085===((_0x1be731=this[_0x134ed3(0x47d)])==null?void 0x0:_0x1be731[_0x134ed3(0x153)])&&(this['resend'](),this['_resendTimeout']=_0xf4d62c===0x0?0x3e8:_0xf4d62c*0x2);}[_0x2025fc(0x3a5)](){const _0x5b4a8f=_0x2025fc;var _0x5ee5c6;(_0x5ee5c6=this[_0x5b4a8f(0x2d4)])==null||_0x5ee5c6[_0x5b4a8f(0x2dd)](),this[_0x5b4a8f(0xda)]=0x0;}};Te=$e([A(0x4,_0x5847bf(_0x5d7671)),A(0x5,_0x5847bf(_0x389697)),A(0x6,_0x5847bf(z)),A(0x7,_0x28287a),A(0x8,_0x49d195),A(0x9,_0x2fbfa5),A(0xa,_0x4bbe15)],Te);let me=class extends He{constructor(_0x3c507b,_0x299097,_0x22a27a,_0x355fcf,_0x126d03,_0x3d0124,_0x4b0bbd,_0x2977af,_0x1cce43,_0x321800,_0x3bada2,_0x5927f4,_0x48df66){const _0x27bded=_0x2025fc;super(_0x3c507b,_0x299097,_0x22a27a,_0x355fcf,_0x126d03,_0x321800,_0x48df66,_0x2977af,_0x1cce43),g(this,_0x27bded(0x2e8),_0x27bded(0x1c1)),g(this,'_resendTimeout',0x0),g(this,_0x27bded(0x4a8)),g(this,_0x27bded(0x2d4)),(this[_0x27bded(0x147)]=_0x4b0bbd,this[_0x27bded(0xc1)]=_0x3bada2,this[_0x27bded(0x128)]=_0x5927f4,_0x3d0124&&(this[_0x27bded(0x4a8)]=_0x3d0124,this[_0x27bded(0x2d4)]=this[_0x27bded(0x4a8)][_0x27bded(0x140)](({reqId:_0x9df784,timeout:_0x327e7a})=>{this['_resendWithTimeout'](_0x9df784,_0x327e7a);})));}['appendMutation'](_0x35833c){const _0xa595b9=_0x2025fc;return this[_0xa595b9(0x398)]['push'](_0x35833c),this;}[_0x2025fc(0xfa)](_0x299a2f){const _0x4835c3=_0x2025fc;if(this[_0x4835c3(0x437)](_0x299a2f))return this[_0x4835c3(0x3a5)](),this['_injector'][_0x4835c3(0x12a)](ce,this[_0x4835c3(0x2bf)],this[_0x4835c3(0x442)],this[_0x4835c3(0x47d)],this[_0x4835c3(0x398)],null,[_0x299a2f],this[_0x4835c3(0x452)]);try{const _0x1e786d=this[_0x4835c3(0x128)][_0x4835c3(0x301)]([_0x299a2f],[this[_0x4835c3(0x47d)]],!0x1);if(_0xba8c63(_0x1e786d)){const {c1Prime:_0xd7dc12,c2Prime:_0x102fcb}=_0x1e786d,_0x370232=this[_0x4835c3(0x128)][_0x4835c3(0x39e)](_0xd7dc12[0x0],this[_0x4835c3(0x398)]);if(_0x341c91(_0x370232)){const {c1Prime:_0x3d1be8,m2Prime:_0x235be8}=_0x370232;return this[_0x4835c3(0x2ae)](_0x3d1be8),_0x102fcb[0x0][_0x4835c3(0x1eb)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x4835c3(0x147)]['createInstance'](me,this[_0x4835c3(0x2bf)],this['type'],_0x102fcb[0x0],_0x235be8,this[_0x4835c3(0x452)],void 0x0);}throw _0x370232[_0x4835c3(0x279)];}throw _0x1e786d[_0x4835c3(0x279)];}catch(_0x2b2842){return this[_0x4835c3(0xc1)][_0x4835c3(0x279)](_0x2b2842),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x571ea6){const _0x3eafac=_0x2025fc;if(this[_0x3eafac(0x3a5)](),this[_0x3eafac(0x437)](_0x571ea6))return this[_0x3eafac(0x147)][_0x3eafac(0x12a)](ce,this[_0x3eafac(0x2bf)],this['type'],null,this[_0x3eafac(0x398)],this[_0x3eafac(0x47d)],[],this['_handler']);this[_0x3eafac(0x139)]();const _0x301cc0=this[_0x3eafac(0x147)][_0x3eafac(0x12a)](pe,this[_0x3eafac(0x2bf)],this[_0x3eafac(0x442)],this[_0x3eafac(0x398)],this[_0x3eafac(0x452)]);return _0x301cc0[_0x3eafac(0x34f)](),_0x301cc0[_0x3eafac(0x2e9)](),_0x301cc0;}[_0x2025fc(0xa5)](_0x4083f9){const _0x2eeef0=_0x2025fc;return this[_0x2eeef0(0xf4)](!!(_0x4083f9!=null&&_0x4083f9[_0x2eeef0(0x1d3)]));}[_0x2025fc(0x412)](_0x4e7155){const _0x4b833c=_0x2025fc;return this[_0x4b833c(0xda)]>Xi?this[_0x4b833c(0x242)]():(this['_resendTimer']=zi(this[_0x4b833c(0xda)],{'timeout':this['_resendTimeout'],'reqId':_0x4e7155[_0x4b833c(0x153)]}),this[_0x4b833c(0x2d4)]=this[_0x4b833c(0x4a8)][_0x4b833c(0x140)](({reqId:_0x3900c3,timeout:_0x5b1d16})=>{const _0x411704=_0x4b833c;this[_0x411704(0x2d0)](_0x3900c3,_0x5b1d16);}),this);}['toggleOffline'](){const _0x3ce7aa=_0x2025fc;return this[_0x3ce7aa(0x3a5)](),this[_0x3ce7aa(0x147)][_0x3ce7aa(0x12a)](Oe,this[_0x3ce7aa(0x2bf)],this[_0x3ce7aa(0x442)],this[_0x3ce7aa(0x47d)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x2025fc(0xd8)](){const _0x130e7f=_0x2025fc;this[_0x130e7f(0x452)][_0x130e7f(0x32e)](this['_awaitingChangeset']);}[_0x2025fc(0xf4)](_0x5e739d){const _0x3e5f3d=_0x2025fc;return this[_0x3e5f3d(0x3a5)](),this[_0x3e5f3d(0x147)][_0x3e5f3d(0x12a)](Re,this[_0x3e5f3d(0x2bf)],this[_0x3e5f3d(0x442)],null,this[_0x3e5f3d(0x398)],this[_0x3e5f3d(0x452)],_0x5e739d);}[_0x2025fc(0x2d0)](_0x5973c4,_0x3401a1){const _0x4d46d1=_0x2025fc;var _0x11fd3b;_0x5973c4===((_0x11fd3b=this[_0x4d46d1(0x47d)])==null?void 0x0:_0x11fd3b[_0x4d46d1(0x153)])&&(this[_0x4d46d1(0xd8)](),this[_0x4d46d1(0xda)]=_0x3401a1===0x0?0x3e8:_0x3401a1*0x2);}[_0x2025fc(0x3a5)](){const _0x42f3d0=_0x2025fc;var _0x125bac;(_0x125bac=this['_sender'])==null||_0x125bac[_0x42f3d0(0x2dd)](),this['_resendTimeout']=0x0;}};me=$e([A(0x6,_0x5847bf(_0x5d7671)),A(0x7,_0x5847bf(_0x389697)),A(0x8,_0x5847bf(z)),A(0x9,_0x28287a),A(0xa,_0x49d195),A(0xb,_0x2fbfa5),A(0xc,_0x4bbe15)],me);let Re=class extends He{constructor(_0x2a4454,_0x21b930,_0x5c1aad,_0x391f10,_0x22904d,_0x180c8b=!0x1,_0x4a7d9e,_0x5c37b3,_0x41424f,_0x15c481,_0x38fe09,_0x44fed0,_0x392150){const _0x4bbb8e=_0x2025fc;super(_0x2a4454,_0x21b930,_0x5c1aad,_0x391f10,_0x22904d,_0x5c37b3,_0x41424f,_0x38fe09,_0x15c481),g(this,_0x4bbb8e(0x2e8),'conflict'),(this['_isPermissionRej']=_0x180c8b,this['_permissionService']=_0x4a7d9e,this[_0x4bbb8e(0x3a9)]=_0x44fed0,this[_0x4bbb8e(0x2e3)]=_0x392150,this[_0x4bbb8e(0x125)](),this[_0x4bbb8e(0x1f8)](),this[_0x4bbb8e(0x2d9)]());}['appendMutation'](){return this;}[_0x2025fc(0xfa)](){return this;}[_0x2025fc(0x40f)](){return this;}[_0x2025fc(0xa5)](){return this;}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){return this;}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xd8)](){const _0xc5ad8f=_0x2025fc;throw new Error(_0xc5ad8f(0x28f));}['_clearLocalCache'](){const _0x135bed=_0x2025fc;this['_localCacheService']['updateOfflineData'](this[_0x135bed(0x2bf)],this[_0x135bed(0x442)],null,[]);}['_showConflictNotification'](){const _0x117c98=_0x2025fc;this['_isPermissionRej']?this[_0x117c98(0x2e3)][_0x117c98(0x3c2)]({'title':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x292)),'content':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x1a2)),'type':_0x117c98(0x279),'duration':0x0}):this[_0x117c98(0x2e3)][_0x117c98(0x3c2)]({'title':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x288)),'content':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x103)),'type':_0x117c98(0x279),'duration':0x0});}[_0x2025fc(0x2d9)](){const _0x258d35=_0x2025fc;this[_0x258d35(0x2fa)][_0x258d35(0x2ce)](new _0x232ff6(this[_0x258d35(0x2bf)])['id'],!0x1);}};Re=$e([A(0x6,_0x5847bf(_0x1700fb)),A(0x7,_0x28287a),A(0x8,_0x4bbe15),A(0x9,_0x5847bf(z)),A(0xa,_0x5847bf(_0x389697)),A(0xb,_0x5847bf(_0x4b4756)),A(0xc,_0x28a3f3)],Re);let Oe=class extends He{constructor(_0x5649e1,_0x757da0,_0x4bd29c,_0x161f5b,_0x473e20,_0x205633,_0x4a956a,_0x524476,_0x390277,_0x2d3d72){const _0x4cde14=_0x2025fc;super(_0x5649e1,_0x757da0,_0x4bd29c,_0x161f5b,_0x473e20,_0x390277,_0x2d3d72,_0x4a956a,_0x524476),g(this,_0x4cde14(0x2e8),_0x4cde14(0x13e)),this[_0x4cde14(0x147)]=_0x205633;}['appendMutation'](_0xec3e34){const _0x2d380e=_0x2025fc;return this[_0x2d380e(0x398)][_0x2d380e(0x22f)](_0xec3e34),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x18af5d){const _0x2068cd=_0x2025fc;throw new Error(_0x2068cd(0x282));}['onRemoteAck'](){const _0x3f8656=_0x2025fc;throw new Error(_0x3f8656(0x334));}[_0x2025fc(0xa5)](){const _0x5f32a2=_0x2025fc;throw new Error(_0x5f32a2(0x329));}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){return this;}[_0x2025fc(0x375)](){const _0x1f81e4=_0x2025fc,{_injector:_0x5f5b8a,_pendingMutations:_0x35d943,_awaitingChangeset:_0x183ee8,unitID:_0x1395e4,_handler:_0x48e0db,type:_0x19b0c9}=this,_0x66f909=Ji(_0x5f5b8a,_0x1395e4,_0x19b0c9,_0x183ee8,_0x35d943,_0x48e0db);return _0x66f909 instanceof pe?_0x66f909['_schedule']():(_0x66f909 instanceof me||_0x66f909 instanceof Te)&&_0x66f909[_0x1f81e4(0xd8)](),_0x66f909;}['resend'](){const _0x4f1283=_0x2025fc;throw new Error(_0x4f1283(0x463));}};Oe=$e([A(0x5,_0x5847bf(_0x5d7671)),A(0x6,_0x5847bf(_0x389697)),A(0x7,_0x5847bf(z)),A(0x8,_0x28287a),A(0x9,_0x4bbe15)],Oe);let ce=class extends He{constructor(_0x2aa959,_0x40dc1d,_0x11bd12,_0x2b90ea,_0xae4049,_0xb6aaad,_0x84fd2e,_0x5cdd09,_0x1a2961,_0xd5fbd4,_0x29256a,_0x9ded7c,_0x79b74b,_0x48f2a0){const _0x2a5910=_0x2025fc;super(_0x2aa959,_0x40dc1d,_0x11bd12,_0x2b90ea,_0x84fd2e,_0x9ded7c,_0x79b74b,_0x1a2961,_0xd5fbd4),g(this,_0x2a5910(0x2e8),_0x2a5910(0x377)),(this[_0x2a5910(0x35f)]=_0xae4049,this[_0x2a5910(0x162)]=_0xb6aaad,this[_0x2a5910(0x147)]=_0x5cdd09,this[_0x2a5910(0xc1)]=_0x29256a,this[_0x2a5910(0x128)]=_0x48f2a0);}[_0x2025fc(0x143)](_0x525c58){const _0x206a23=_0x2025fc;try{const _0x1d6297=[..._0x525c58,...this[_0x206a23(0x162)]],_0x3712e7=[this[_0x206a23(0x47d)]||this[_0x206a23(0x35f)]][_0x206a23(0xb8)](_0x28da36=>!!_0x28da36);let _0x4f5499,_0x1efd2a;if(_0x3712e7[_0x206a23(0x161)]){const _0x2751a9=this[_0x206a23(0x128)]['transformChangesets'](_0x1d6297,_0x3712e7,!0x1);if(!_0xba8c63(_0x2751a9))throw _0x2751a9['error'];_0x4f5499=_0x2751a9[_0x206a23(0x26a)],_0x1efd2a=_0x2751a9[_0x206a23(0x117)];}else _0x4f5499=_0x1d6297,_0x1efd2a=[];let _0x7dea70=this[_0x206a23(0x398)];_0x4f5499[_0x206a23(0x2e1)](_0x27095e=>{const _0x3fd13d=_0x206a23;let _0x21183c;if(_0x7dea70[_0x3fd13d(0x161)]){const _0x17c628=this[_0x3fd13d(0x128)][_0x3fd13d(0x39e)](_0x27095e,_0x7dea70);if(!_0x341c91(_0x17c628))throw _0x17c628[_0x3fd13d(0x279)];_0x21183c=_0x17c628[_0x3fd13d(0x26a)],_0x7dea70=_0x17c628[_0x3fd13d(0x270)];}else _0x21183c=_0x27095e;this[_0x3fd13d(0x2ae)](_0x21183c);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x206a23(0x47d)]&&_0x1efd2a[_0x206a23(0x161)]&&(_0x1efd2a[0x0][_0x206a23(0x1eb)]=this['_getCurrentRevision']());let _0x237365;if(this['_awaitingChangeset']&&_0x7dea70[_0x206a23(0x161)]!==0x0)_0x237365=this['_injector'][_0x206a23(0x12a)](me,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],_0x1efd2a[0x0],_0x7dea70,this[_0x206a23(0x452)],void 0x0);else{if(this['_awaitingChangeset']&&_0x7dea70['length']===0x0)_0x1efd2a[0x0][_0x206a23(0x1eb)]=this['_getCurrentRevision'](),_0x237365=this['_injector']['createInstance'](Te,this['unitID'],this[_0x206a23(0x442)],_0x1efd2a[0x0],this[_0x206a23(0x452)]);else{if(_0x7dea70['length']!==0x0){const _0x2b5be8=this['_injector']['createInstance'](pe,this['unitID'],this[_0x206a23(0x442)],_0x7dea70,this[_0x206a23(0x452)]);_0x2b5be8['_schedule'](),_0x237365=_0x2b5be8;}else _0x237365=this[_0x206a23(0x147)]['createInstance'](Fe,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],this[_0x206a23(0x452)]);}}return _0x237365[_0x206a23(0x2e9)](),_0x237365;}catch(_0x4ad4ef){return this['_logService'][_0x206a23(0x279)]('[FetchMissState]',_0x206a23(0x42c),_0x4ad4ef),this['_injector']['createInstance'](Re,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x206a23(0x452)],!0x1);}}[_0x2025fc(0xd8)](){const _0x5c18ef=_0x2025fc;throw new Error(_0x5c18ef(0x17f));}[_0x2025fc(0x2b7)](_0x4d5bc9){return this['_pendingMutations']['push'](_0x4d5bc9),this;}[_0x2025fc(0xfa)](_0xcd8a86){const _0x195cd5=_0x2025fc;return this['_queuedRemoteChangesets'][_0x195cd5(0x22f)](_0xcd8a86),this;}[_0x2025fc(0x40f)](_0x4f0872){const _0x1743f6=_0x2025fc;if(this[_0x1743f6(0x47d)])return this[_0x1743f6(0x35f)]=this[_0x1743f6(0x47d)],this[_0x1743f6(0x47d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2025fc(0xa5)](_0x514268){const _0x31ee05=_0x2025fc;return this[_0x31ee05(0xf4)](!!(_0x514268!=null&&_0x514268[_0x31ee05(0x1d3)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x58eda8=_0x2025fc;return this['_injector'][_0x58eda8(0x12a)](Oe,this[_0x58eda8(0x2bf)],this[_0x58eda8(0x442)],this[_0x58eda8(0x47d)],this[_0x58eda8(0x398)],this[_0x58eda8(0x452)]);}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xf4)](_0xe29a5){const _0x2e6d8c=_0x2025fc;return this[_0x2e6d8c(0x147)][_0x2e6d8c(0x12a)](Re,this['unitID'],this['type'],this[_0x2e6d8c(0x47d)],this[_0x2e6d8c(0x398)],this[_0x2e6d8c(0x452)],_0xe29a5);}};ce=$e([A(0x7,_0x5847bf(_0x5d7671)),A(0x8,_0x5847bf(_0x389697)),A(0x9,_0x5847bf(z)),A(0xa,_0x49d195),A(0xb,_0x28287a),A(0xc,_0x4bbe15),A(0xd,_0x2fbfa5)],ce);function Ji(_0xb5fe79,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x597de3,_0x22c6ab){const _0x1de5d8=_0x2025fc;return _0x2852d2&&_0x597de3[_0x1de5d8(0x161)]?_0xb5fe79[_0x1de5d8(0x12a)](me,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x597de3,_0x22c6ab,void 0x0):_0x2852d2?_0xb5fe79['createInstance'](Te,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x22c6ab):_0x597de3[_0x1de5d8(0x161)]?_0xb5fe79[_0x1de5d8(0x12a)](pe,_0x2e1f33,_0x2e7dd2,_0x597de3,_0x22c6ab):_0xb5fe79['createInstance'](Fe,_0x2e1f33,_0x2e7dd2,_0x22c6ab);}var Mo=Object[_0x2025fc(0x385)],xo=Object[_0x2025fc(0x18c)],Ps=(_0xd8fba3,_0x218257,_0x21e9b3,_0x30c238)=>{const _0x8eb70d=_0x2025fc;for(var _0x495b2e=_0x30c238>0x1?void 0x0:_0x30c238?xo(_0x218257,_0x21e9b3):_0x218257,_0x512f5e=_0xd8fba3[_0x8eb70d(0x161)]-0x1,_0x242571;_0x512f5e>=0x0;_0x512f5e--)(_0x242571=_0xd8fba3[_0x512f5e])&&(_0x495b2e=(_0x30c238?_0x242571(_0x218257,_0x21e9b3,_0x495b2e):_0x242571(_0x495b2e))||_0x495b2e);return _0x30c238&&_0x495b2e&&Mo(_0x218257,_0x21e9b3,_0x495b2e),_0x495b2e;},H=(_0x2d54bc,_0x137bf2)=>(_0x4aab23,_0x5418eb)=>_0x137bf2(_0x4aab23,_0x5418eb,_0x2d54bc);let Nt=class extends _0x5ec0cb{constructor(_0x1927cb,_0x1b63f0,_0x87e79a,_0x14117a,_0xda6bb5,_0x27b593,_0x14b808,_0x40fa00,_0x535be6,_0x5c53c4,_0x23c6c0,_0x24fe38,_0x3e5485){const _0x50ae10=_0x2025fc;super(),g(this,_0x50ae10(0x3ae),new _0x1074c2(null)),g(this,_0x50ae10(0x361),this[_0x50ae10(0x3ae)][_0x50ae10(0xf7)]()),g(this,_0x50ae10(0x3be)),g(this,_0x50ae10(0x45e),!0x1),g(this,_0x50ae10(0x3bc),''),g(this,'_changesetReqId',0x0),g(this,_0x50ae10(0x1cf),this[_0x50ae10(0x361)][_0x50ae10(0x150)](_0x2e263c(_0x2e4eca=>_0x2e4eca?_0x2e4eca[_0x50ae10(0x2e8)]:J['OFFLINE']),_0x2c1940(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x50ae10(0x20f),[]),(this[_0x50ae10(0x2bf)]=_0x1927cb,this['session']=_0x1b63f0,this['_type']=_0x87e79a,this[_0x50ae10(0x147)]=_0x14117a,this[_0x50ae10(0x2a4)]=_0xda6bb5,this[_0x50ae10(0xff)]=_0x27b593,this[_0x50ae10(0x3a9)]=_0x14b808,this[_0x50ae10(0x1b0)]=_0x40fa00,this[_0x50ae10(0xc1)]=_0x535be6,this['_commandService']=_0x5c53c4,this[_0x50ae10(0x362)]=_0x23c6c0,this[_0x50ae10(0x2fa)]=_0x24fe38,this['_singleActiveUnitService']=_0x3e5485);}get['state'](){const _0x21a8ba=_0x2025fc;return this[_0x21a8ba(0x3be)];}async[_0x2025fc(0x289)](){const _0x2d3dcf=_0x2025fc;if(this[_0x2d3dcf(0x2cf)])throw new Error(_0x2d3dcf(0x22a));await this[_0x2d3dcf(0x100)]();}['pauseCollaboration'](){const _0x279a0a=_0x2025fc;return this[_0x279a0a(0x45e)]=!0x0,_0x7c72c3(()=>{const _0x513910=_0x279a0a;this['_collaborationPaused']=!0x1,this[_0x513910(0x3cb)]();});}[_0x2025fc(0x19d)](_0x9af5f){const _0x3bd759=_0x2025fc;this[_0x3bd759(0x3be)]=_0x9af5f,this['_state$']['next'](_0x9af5f);}async[_0x2025fc(0x100)](){const _0x9c0cdb=_0x2025fc;var _0x4cc3e6;this['_updateState'](await this[_0x9c0cdb(0x351)]()),this[_0x9c0cdb(0x3c6)]&&((_0x4cc3e6=this[_0x9c0cdb(0x3c6)])==null||_0x4cc3e6[_0x9c0cdb(0xf2)](this[_0x9c0cdb(0x2bf)]),this[_0x9c0cdb(0x10c)](this[_0x9c0cdb(0x3c6)][_0x9c0cdb(0x430)](this[_0x9c0cdb(0x2bf)])[_0x9c0cdb(0x140)](_0xd9e257=>{const _0x436f85=_0x9c0cdb;this[_0x436f85(0xc1)][_0x436f85(0x456)](_0x436f85(0x124),_0x436f85(0xfb),_0xd9e257),_0xd9e257===Ki['OTHER_CLIENTS_EDITING']?(this[_0x436f85(0x362)][_0x436f85(0x3c2)]({'content':this['_localeService']['t'](_0x436f85(0x16e)),'type':_0x3f6750[_0x436f85(0x3b9)]}),this['_permissionService'][_0x436f85(0x2ce)](new _0x232ff6(this[_0x436f85(0x2bf)])['id'],!0x1),this[_0x436f85(0x2fa)][_0x436f85(0x1e8)](!0x1)):(this[_0x436f85(0x2fa)][_0x436f85(0x2ce)](new _0x232ff6(this[_0x436f85(0x2bf)])['id'],!0x0),this[_0x436f85(0x2fa)][_0x436f85(0x1e8)](!0x0));})));let _0x3e75b4=!0x1;return this[_0x9c0cdb(0x10c)](this[_0x9c0cdb(0x17e)]['sessionStatus$'][_0x9c0cdb(0x140)](_0x4fb7a2=>{const _0x5b6cdc=_0x9c0cdb;_0x4fb7a2===fe[_0x5b6cdc(0xad)]?this['_toggleOnline'](_0x3e75b4):_0x4fb7a2===fe[_0x5b6cdc(0x23c)]&&(_0x3e75b4=!0x0,this['_toggleOffline']());})),this[_0x9c0cdb(0x10c)](this['session'][_0x9c0cdb(0x142)][_0x9c0cdb(0x140)](_0x5068ad=>{const _0x17625b=_0x9c0cdb;try{switch(_0x5068ad['eventID']){case _0x3a14f4[_0x17625b(0x36e)]:{this[_0x17625b(0x363)](_0x3cc097(_0x5068ad[_0x17625b(0x2a0)]));break;}case _0x3a14f4[_0x17625b(0x3d7)]:{this[_0x17625b(0x1d0)](_0x5068ad['data']);break;}case _0x3a14f4[_0x17625b(0x180)]:{this['_onRemoteRejected']();break;}case _0x3a14f4[_0x17625b(0x32f)]:{this[_0x17625b(0x132)](_0x5068ad['data']);break;}case _0x3a14f4['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x17625b(0xdf)](_0x5068ad[_0x17625b(0x2a0)][_0x17625b(0x2ea)][_0x17625b(0x23a)](_0x118a14=>_0x3cc097(_0x118a14)));break;}case _0x3a14f4[_0x17625b(0x102)]:this[_0x17625b(0x193)]({'isPermissionRej':!0x0});}}catch(_0x4051dd){throw console[_0x17625b(0x279)]('Error\x20on\x20receiving\x20event',_0x4051dd),_0x4051dd;}})),this[_0x9c0cdb(0x3be)];}[_0x2025fc(0x4ad)](){this['_transitionLocked']=!0x1;}[_0x2025fc(0x29d)](){const _0x10b2b6=_0x2025fc;if(this['_transitionLocked'])throw new Error(_0x10b2b6(0x1a0));this[_0x10b2b6(0x470)]=!0x0;}['_onLocalMutation'](_0xd04655){const _0x42b150=_0x2025fc;this[_0x42b150(0x29d)](),this[_0x42b150(0x19d)](this['_state'][_0x42b150(0x2b7)](_0xd04655)),this[_0x42b150(0x4ad)]();}[_0x2025fc(0x363)](_0x4ffe98){const _0x1d4bdf=_0x2025fc;if(!(_0x4ffe98['revision']<=this[_0x1d4bdf(0x1b0)][_0x1d4bdf(0x21f)](this[_0x1d4bdf(0x2bf)]))){if(this[_0x1d4bdf(0x45e)]){this[_0x1d4bdf(0x20f)][_0x1d4bdf(0x22f)](_0x4ffe98);return;}this[_0x1d4bdf(0x2c0)](_0x4ffe98);}}['_exhaustRemoteChangesetQueue'](){const _0x4d93a6=_0x2025fc;this[_0x4d93a6(0x20f)][_0x4d93a6(0x2e1)](_0x56e299=>this[_0x4d93a6(0x2c0)](_0x56e299)),this[_0x4d93a6(0x20f)]=[];}['_applyRemoteChangeset'](_0x8f58a){const _0x377782=_0x2025fc,_0x58c823=this[_0x377782(0xff)][_0x377782(0x364)]['fetchThroughInterceptors'](this[_0x377782(0xff)][_0x377782(0x364)][_0x377782(0x25e)]()['COMPRESS_MUTATION_APPLY'])(_0x8f58a['mutations'],null)||_0x8f58a[_0x377782(0x335)],_0x2d859d={..._0x8f58a,'mutations':_0x58c823};this[_0x377782(0x29d)](),this['_updateState'](this[_0x377782(0x3be)][_0x377782(0xfa)](_0x2d859d)),this['_unlockTransition']();}[_0x2025fc(0x1d0)](_0x4ca285){const _0x383c32=_0x2025fc;this['_lockTransition'](),this[_0x383c32(0x19d)](this[_0x383c32(0x3be)]['onRemoteAck'](_0x4ca285)),this[_0x383c32(0x4ad)]();}['_onRemoteRejected'](_0x1d84d1){const _0x95c42=_0x2025fc;this['_lockTransition'](),this[_0x95c42(0x19d)](this[_0x95c42(0x3be)][_0x95c42(0xa5)](_0x1d84d1)),this[_0x95c42(0x4ad)]();}[_0x2025fc(0x132)](_0x84ced8){const _0x264fa1=_0x2025fc;this['_lockTransition'](),this['_updateState'](this[_0x264fa1(0x3be)][_0x264fa1(0x412)](_0x84ced8)),this[_0x264fa1(0x4ad)]();}[_0x2025fc(0xdf)](_0x508599){const _0x434e81=_0x2025fc;if(!(this[_0x434e81(0x3be)]instanceof ce))throw new TypeError(_0x434e81(0x3fe));const _0xd1ec0d=_0x508599[_0x434e81(0x23a)](_0x3e1681=>{const _0x2fbd62=_0x434e81,_0x4c73e7=this[_0x2fbd62(0xff)]['interceptor'][_0x2fbd62(0x3ca)](this['_compressMutationService']['interceptor'][_0x2fbd62(0x25e)]()[_0x2fbd62(0x3b2)])(_0x3e1681[_0x2fbd62(0x335)],null)||_0x3e1681[_0x2fbd62(0x335)];return{..._0x3e1681,'mutations':_0x4c73e7};});this[_0x434e81(0x29d)](),this['_updateState'](this[_0x434e81(0x3be)]['onMissedChangesetFetched'](_0xd1ec0d)),this[_0x434e81(0x4ad)]();}['_toggleOffline'](){const _0x281364=_0x2025fc;this['_lockTransition'](),this[_0x281364(0x19d)](this['_state'][_0x281364(0x242)]()),this[_0x281364(0x4ad)]();}['_toggleOnline'](_0x1855f6=!0x1){const _0x310491=_0x2025fc;this[_0x310491(0x29d)](),this[_0x310491(0x19d)](this[_0x310491(0x3be)]['toggleOnline']()),this[_0x310491(0x4ad)]();const _0x1a063a=this[_0x310491(0x3be)];_0x1855f6&&_0x1a063a instanceof Fe&&(this['_lockTransition'](),this[_0x310491(0x19d)](_0x1a063a[_0x310491(0x2fd)]()),this['_unlockTransition']());}async[_0x2025fc(0x351)](){return new Promise(_0x402e1d=>{const _0x6a231=_0x46d8;this[_0x6a231(0x17e)]['sessionStatus$'][_0x6a231(0x150)](_0x54d89e(0x1))[_0x6a231(0x140)](async _0x2d4530=>{const _0x59c7ec=_0x6a231;_0x402e1d(await this[_0x59c7ec(0x3af)](_0x2d4530===fe['ONLINE']));});});}['_createHandler'](){const _0x79d312=_0x2025fc,_0x37cfaa=this[_0x79d312(0x2bf)];return{'onStateChange':(_0x2d8eca,_0x372a3b)=>{const _0xd40402=_0x79d312;if(_0x2d8eca!==this[_0xd40402(0x3be)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2d8eca[_0xd40402(0x2e8)]+'\x0aAfter:\x20'+_0x372a3b[_0xd40402(0x2e8)]+_0xd40402(0x3d8)+this['_state'][_0xd40402(0x2e8)]);this[_0xd40402(0x19d)](_0x372a3b);},'onSendChangeset':_0x546711=>{const _0xbd2614=_0x79d312;_0x546711[_0xbd2614(0x427)]||(_0x546711[_0xbd2614(0x427)]=this[_0xbd2614(0x3bc)],_0x546711[_0xbd2614(0x153)]=++this[_0xbd2614(0x198)]);const _0x3da6e5={'eventID':_0x3a14f4[_0xbd2614(0x1ae)],'data':{'unitID':_0x546711['unitID'],'unitType':this['_type'],'changeset':_0x546711,'memberID':this[_0xbd2614(0x17e)][_0xbd2614(0x316)]()}};this['session'][_0xbd2614(0xc9)](_0x3da6e5,this['unitID']);},'onMissingChangesets':({from:_0x4da1f9,to:_0x3e8389})=>{const _0x15702f=_0x79d312;this[_0x15702f(0xc1)][_0x15702f(0x456)]('[CollaborationEntity]',_0x15702f(0x424)+_0x4da1f9+_0x15702f(0x272)+_0x3e8389);const _0x2ec3c9={'eventID':_0x3a14f4[_0x15702f(0x37c)],'data':{'unitID':_0x37cfaa,'unitType':this[_0x15702f(0xe6)],'from':_0x4da1f9,'to':_0x3e8389}};this[_0x15702f(0x17e)][_0x15702f(0xc9)](_0x2ec3c9,this[_0x15702f(0x2bf)]);}};}async['_createInitialStateImpl'](_0x1adb30){const _0xff8a0d=_0x2025fc;var _0x8bf60c,_0x23efc2;const _0x4c0ed8=await this['_localCacheService']['loadOfflineData'](this[_0xff8a0d(0x2bf)]),_0x182328=(_0x8bf60c=_0x4c0ed8==null?void 0x0:_0x4c0ed8[_0xff8a0d(0x335)])!=null?_0x8bf60c:[],_0xc618ac=(_0x23efc2=_0x4c0ed8==null?void 0x0:_0x4c0ed8[_0xff8a0d(0x3b0)])!=null?_0x23efc2:null,_0x5cc9a6=!!(_0xc618ac!=null&&_0xc618ac[_0xff8a0d(0x427)])&&!!(_0xc618ac!=null&&_0xc618ac['reqId']);this[_0xff8a0d(0x3bc)]=_0x5cc9a6?_0xc618ac[_0xff8a0d(0x427)]:ho(),this[_0xff8a0d(0x198)]=_0x5cc9a6?_0xc618ac[_0xff8a0d(0x153)]:0x0;const _0x3c589e=this[_0xff8a0d(0x2bf)];try{this[_0xff8a0d(0x3c9)](_0xc618ac,_0x182328);}catch(_0x5d6d42){this[_0xff8a0d(0xc1)][_0xff8a0d(0x279)](_0x5d6d42);}const _0x5a76a6=this['_createHandler']();if(_0x1adb30){const _0x52e6d6=Ji(this[_0xff8a0d(0x147)],_0x3c589e,this[_0xff8a0d(0xe6)],_0xc618ac,_0x182328,_0x5a76a6);return _0x52e6d6 instanceof pe?_0x52e6d6[_0xff8a0d(0x34f)]():(_0x52e6d6 instanceof me||_0x52e6d6 instanceof Te)&&_0x52e6d6[_0xff8a0d(0xd8)](),_0x52e6d6;}return this['_injector']['createInstance'](Oe,_0x3c589e,this[_0xff8a0d(0xe6)],_0xc618ac,_0x182328,_0x5a76a6);}[_0x2025fc(0x3c9)](_0x55c389,_0x437396){const _0x1d7de7=_0x2025fc;var _0x42a678,_0x294135;const _0xcbfea9=this[_0x1d7de7(0xff)][_0x1d7de7(0x364)][_0x1d7de7(0x3ca)](this[_0x1d7de7(0xff)][_0x1d7de7(0x364)][_0x1d7de7(0x25e)]()[_0x1d7de7(0x3b2)]);(_0x42a678=_0xcbfea9((_0x55c389==null?void 0x0:_0x55c389[_0x1d7de7(0x335)])||[],null))==null||_0x42a678[_0x1d7de7(0x2e1)](_0x499eae=>this[_0x1d7de7(0x481)][_0x1d7de7(0x344)](_0x499eae['id'],_0x499eae['params'])),(_0x294135=_0xcbfea9(_0x437396||[],null))==null||_0x294135[_0x1d7de7(0x2e1)](_0x5d7b80=>this[_0x1d7de7(0x481)][_0x1d7de7(0x344)](_0x5d7b80['id'],_0x5d7b80[_0x1d7de7(0x3a0)]));}};Nt=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x49d195),H(0x9,_0x28287a),H(0xa,_0x3d017a),H(0xb,_0x1700fb),H(0xc,_0x133fb4(jt))],Nt);let ls=class extends Nt{constructor(_0x21c6ca,_0xe59817,_0x489d6b,_0x9dc01,_0xc5ad17,_0xcf57e9,_0x4c68a0,_0x34d361,_0x514c0f,_0x34ef47,_0x4697ee,_0x57e29b,_0x4c4ce5,_0x12a525,_0xb24272,_0x39a125,_0x2c9d39,_0x444174){const _0x2d4b3a=_0x2025fc;super(_0x21c6ca,_0x489d6b,_0xe59817,_0x9dc01,_0xc5ad17,_0xcf57e9,_0x4c68a0,_0x34d361,_0x12a525,_0xb24272,_0x39a125,_0x2c9d39,_0x444174),this['unitID']=_0x21c6ca,this[_0x2d4b3a(0x442)]=_0xe59817,this['_docStateChangeManagerService']=_0x514c0f,this[_0x2d4b3a(0x1f6)]=_0x34ef47,this[_0x2d4b3a(0x136)]=_0x4697ee,this[_0x2d4b3a(0x348)]=_0x57e29b,this[_0x2d4b3a(0x1ee)]=_0x4c4ce5;}['_createHandler'](){const _0x328915=_0x2025fc,_0x25f8a5=super[_0x328915(0x230)]();return _0x25f8a5[_0x328915(0x38c)]=_0x48c9c6=>this['_docTransformIMECacheService'][_0x328915(0xcb)](_0x48c9c6),_0x25f8a5[_0x328915(0x401)]=_0x3da323=>this[_0x328915(0x136)][_0x328915(0x15d)](_0x3da323),_0x25f8a5[_0x328915(0x106)]=_0x3ea21c=>this['_docTransformSelectionsService']['transformSelections'](_0x3ea21c),_0x25f8a5[_0x328915(0x1f5)]=_0x4b1d1a=>this['_docSyncEditingCollabCursorService'][_0x328915(0xc2)](_0x4b1d1a),_0x25f8a5['onTransformRemoteChangesetByIMECache']=_0x5f1d9a=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x5f1d9a),_0x25f8a5[_0x328915(0x2eb)]=_0x467342=>this[_0x328915(0x136)]['transformRemoteChangeset'](_0x467342),_0x25f8a5;}async['_init'](){const _0x4476d4=_0x2025fc,_0x5c4c51=await super[_0x4476d4(0x100)]();return this[_0x4476d4(0x10c)](this[_0x4476d4(0x10a)][_0x4476d4(0x359)][_0x4476d4(0x150)](_0x7b6507(this[_0x4476d4(0x345)]))['subscribe'](_0x329516=>{const _0x42bbbf=_0x4476d4;if(_0x329516==null)return;const {unitId:_0x1f701c,redoState:_0x223f86,commandId:_0x469d0a}=_0x329516;if(_0x1f701c!==this[_0x42bbbf(0x2bf)])return;const _0x965c94={'id':_0x469d0a,'type':_0x4f220f[_0x42bbbf(0x2c5)],'params':{'unitId':_0x1f701c,'actions':_0x223f86[_0x42bbbf(0x49a)],'textRanges':null}};this[_0x42bbbf(0x21c)](_0x965c94);})),this['disposeWithMe'](this[_0x4476d4(0x481)][_0x4476d4(0x18a)]((_0x35c55f,_0x53db8d)=>{const _0x3abd8a=_0x4476d4;if(_0x35c55f['type']!==_0x4f220f[_0x3abd8a(0x2c5)]||_0x53db8d!=null&&_0x53db8d[_0x3abd8a(0xae)]||_0x53db8d!=null&&_0x53db8d[_0x3abd8a(0x2df)]||_0x35c55f['id']===_0x3ef379['id'])return;const _0x3dc6f2=_0x35c55f[_0x3abd8a(0x3a0)];if((_0x3dc6f2==null?void 0x0:_0x3dc6f2[_0x3abd8a(0x273)])!==this[_0x3abd8a(0x2bf)])return;const _0x2c8a5e=_0x35c55f,_0x378646=this[_0x3abd8a(0xff)]['interceptor'][_0x3abd8a(0x3ca)](this[_0x3abd8a(0xff)][_0x3abd8a(0x364)][_0x3abd8a(0x25e)]()[_0x3abd8a(0x1a7)])([_0x2c8a5e],null)||[_0x2c8a5e];this[_0x3abd8a(0x21c)](_0x378646[0x0]);})),_0x5c4c51;}};ls=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x5847bf(_0x4ee933)),H(0x9,_0x5847bf(yt)),H(0xa,_0x5847bf(Dt)),H(0xb,_0x5847bf(Pt)),H(0xc,_0x5847bf(Ds)),H(0xd,_0x49d195),H(0xe,_0x28287a),H(0xf,_0x3d017a),H(0x10,_0x1700fb),H(0x11,_0x133fb4(jt))],ls);let _s=class extends Nt{constructor(_0x5725e6,_0xec50dc,_0x387cbb,_0x5bbece,_0x396fb1,_0x423d28,_0x3f6738,_0x407e58,_0xd095b9,_0x4ca99e,_0x1b13f5,_0x37474e,_0x2e3f3d,_0x12f895){const _0x28ddc1=_0x2025fc;super(_0x5725e6,_0x387cbb,_0xec50dc,_0x5bbece,_0x396fb1,_0x423d28,_0x3f6738,_0x407e58,_0x4ca99e,_0x1b13f5,_0x37474e,_0x2e3f3d,_0x12f895),this[_0x28ddc1(0x2bf)]=_0x5725e6,this['type']=_0xec50dc,this[_0x28ddc1(0x31b)]=_0xd095b9;}[_0x2025fc(0x230)](){const _0x363bac=_0x2025fc,_0x4ae7d4=super[_0x363bac(0x230)]();return _0x4ae7d4[_0x363bac(0x106)]=_0xc3980a=>this[_0x363bac(0x31b)][_0x363bac(0x231)](_0xc3980a),_0x4ae7d4;}async[_0x2025fc(0x100)](){const _0x5f02c4=_0x2025fc,_0x3058d7=await super[_0x5f02c4(0x100)]();return this[_0x5f02c4(0x10c)](this[_0x5f02c4(0x481)][_0x5f02c4(0x18a)]((_0x471a1d,_0x324ad9)=>{const _0x26743f=_0x5f02c4;if(_0x471a1d['type']!==_0x4f220f[_0x26743f(0x2c5)]||_0x324ad9!=null&&_0x324ad9[_0x26743f(0xae)]||_0x324ad9!=null&&_0x324ad9[_0x26743f(0x2df)])return;const _0x34c8bd=_0x471a1d[_0x26743f(0x3a0)];if((_0x34c8bd==null?void 0x0:_0x34c8bd['unitId'])!==this['unitID'])return;const _0x139340=_0x471a1d,_0x496bb5=this['_compressMutationService'][_0x26743f(0x364)][_0x26743f(0x3ca)](this[_0x26743f(0xff)][_0x26743f(0x364)][_0x26743f(0x25e)]()[_0x26743f(0x1a7)])([_0x139340],null)||[_0x139340];this['_onLocalMutation'](_0x496bb5[0x0]);})),_0x3058d7;}};_s=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x5847bf(wt)),H(0x9,_0x49d195),H(0xa,_0x28287a),H(0xb,_0x3d017a),H(0xc,_0x1700fb),H(0xd,_0x133fb4(jt))],_s);var Lo=Object['defineProperty'],$o=Object[_0x2025fc(0x18c)],Ho=(_0x513d38,_0xc6d3bd,_0x208974,_0x2a774f)=>{const _0x31c576=_0x2025fc;for(var _0x52e8e9=_0x2a774f>0x1?void 0x0:_0x2a774f?$o(_0xc6d3bd,_0x208974):_0xc6d3bd,_0x3b52a3=_0x513d38[_0x31c576(0x161)]-0x1,_0x395f04;_0x3b52a3>=0x0;_0x3b52a3--)(_0x395f04=_0x513d38[_0x3b52a3])&&(_0x52e8e9=(_0x2a774f?_0x395f04(_0xc6d3bd,_0x208974,_0x52e8e9):_0x395f04(_0x52e8e9))||_0x52e8e9);return _0x2a774f&&_0x52e8e9&&Lo(_0xc6d3bd,_0x208974,_0x52e8e9),_0x52e8e9;},zt=(_0x164bfd,_0x411ea0)=>(_0x170b6f,_0x1bf0e7)=>_0x411ea0(_0x170b6f,_0x1bf0e7,_0x164bfd);let rt=class extends _0x5ec0cb{constructor(_0x2f2a0b,_0x617662,_0x5a9388){const _0x53985e=_0x2025fc;super(),g(this,'_entities',new Map()),g(this,_0x53985e(0x44e),new _0x1c0b9c()),(this[_0x53985e(0x147)]=_0x2f2a0b,this['_collabSessionService']=_0x617662,this[_0x53985e(0x3cf)]=_0x5a9388,this[_0x53985e(0x100)]());}['dispose'](){const _0x2d3dca=_0x2025fc;super['dispose'](),this[_0x2d3dca(0x3da)][_0x2d3dca(0x2e1)](_0xd8b1f1=>_0xd8b1f1['dispose']()),this[_0x2d3dca(0x3da)][_0x2d3dca(0x116)]();}['getCollabEntity'](_0x954c6f){const _0x323de5=_0x2025fc;var _0x183eed;return(_0x183eed=this[_0x323de5(0x3da)][_0x323de5(0x33e)](_0x954c6f))!=null?_0x183eed:null;}['getCollabEntity$'](_0x50048a){const _0x3c8b5b=_0x2025fc,_0x3c46c2=this[_0x3c8b5b(0x497)](_0x50048a);return _0x3c46c2?_0x43d0da(_0x3c46c2):this[_0x3c8b5b(0x44e)]['pipe'](_0xa0d892(_0x2e345f=>_0x2e345f[_0x3c8b5b(0x2bf)]===_0x50048a));}['_init'](){const _0x3ca4f9=_0x2025fc;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_SHEET'])[_0x3ca4f9(0x150)](_0x7b6507(this[_0x3ca4f9(0x345)]),_0xca605e(0x10))[_0x3ca4f9(0x140)](async _0xd82d05=>{const _0x3c881b=_0x3ca4f9,_0x306e06=_0xd82d05[_0x3c881b(0x10b)](),_0x4b79e8=await this[_0x3c881b(0x429)](_0x306e06,ae[_0x3c881b(0x4a6)]);this['_entities'][_0x3c881b(0x39c)](_0x306e06,_0x4b79e8);}),this[_0x3ca4f9(0x3cf)]['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_DOC'])['pipe'](_0x7b6507(this[_0x3ca4f9(0x345)]),_0xca605e(0x10))['pipe'](_0xa0d892(_0x54a4d2=>!_0x54a4d2['getUnitId']()['startsWith']('__')))['subscribe'](async _0x22d610=>{const _0x4b9139=_0x3ca4f9,_0x274528=_0x22d610[_0x4b9139(0x10b)](),_0x208812=await this[_0x4b9139(0x429)](_0x274528,ae[_0x4b9139(0x3ad)]);this[_0x4b9139(0x3da)][_0x4b9139(0x39c)](_0x274528,_0x208812);}),_0x38a986(this[_0x3ca4f9(0x3cf)][_0x3ca4f9(0x2f2)](_0xb166dc[_0x3ca4f9(0x4a6)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xb166dc['UNIVER_DOC']))[_0x3ca4f9(0x150)](_0x7b6507(this[_0x3ca4f9(0x345)]))[_0x3ca4f9(0x140)](_0x99ba42=>{const _0x2b6e71=_0x3ca4f9,_0x3b8bed=_0x99ba42['getUnitId'](),_0x471671=this['_entities'][_0x2b6e71(0x33e)](_0x3b8bed);_0x471671&&(_0x471671[_0x2b6e71(0x1e5)](),this['_entities'][_0x2b6e71(0x165)](_0x3b8bed));});}async[_0x2025fc(0x429)](_0x3b6676,_0x2bdf70){const _0x6b58c9=_0x2025fc,_0x580ed5=await this['_collabSessionService']['requireSession'](_0x3b6676),_0x259a61=this[_0x6b58c9(0x147)][_0x6b58c9(0x12a)](this[_0x6b58c9(0x40c)](_0x2bdf70),_0x3b6676,_0x2bdf70,_0x580ed5);return await _0x259a61[_0x6b58c9(0x289)](),this[_0x6b58c9(0x44e)][_0x6b58c9(0x382)](_0x259a61),_0x259a61;}[_0x2025fc(0x40c)](_0x38ac44){const _0x289032=_0x2025fc;switch(_0x38ac44){case ae[_0x289032(0x3ad)]:return ls;case ae[_0x289032(0x4a6)]:return _s;default:throw new Error(_0x289032(0x493)+_0x38ac44);}}};rt=Ho([zt(0x0,_0x5847bf(_0x5d7671)),zt(0x1,_0x5847bf(xe)),zt(0x2,_0x425cee)],rt);var jo=Object[_0x2025fc(0x385)],Bo=Object[_0x2025fc(0x18c)],ko=(_0x2815a5,_0xe142af,_0x25898e,_0x433015)=>{const _0x138e07=_0x2025fc;for(var _0x21cf8a=_0x433015>0x1?void 0x0:_0x433015?Bo(_0xe142af,_0x25898e):_0xe142af,_0x495c82=_0x2815a5[_0x138e07(0x161)]-0x1,_0x2a91e8;_0x495c82>=0x0;_0x495c82--)(_0x2a91e8=_0x2815a5[_0x495c82])&&(_0x21cf8a=(_0x433015?_0x2a91e8(_0xe142af,_0x25898e,_0x21cf8a):_0x2a91e8(_0x21cf8a))||_0x21cf8a);return _0x433015&&_0x21cf8a&&jo(_0xe142af,_0x25898e,_0x21cf8a),_0x21cf8a;},ti=(_0x4c6dc1,_0x312cc5)=>(_0x633c43,_0x318309)=>_0x312cc5(_0x633c43,_0x318309,_0x4c6dc1);let Ut=class extends _0x5ec0cb{constructor(_0x372061,_0x245271){const _0x16467c=_0x2025fc;super(),this[_0x16467c(0x2b4)]=_0x372061,this[_0x16467c(0x156)]=_0x245271,this[_0x16467c(0x100)]();}[_0x2025fc(0x100)](){const _0x2dafb3=_0x2025fc,_0x31e8c7=this;this[_0x2dafb3(0x10c)](this[_0x2dafb3(0x2b4)][_0x2dafb3(0x15b)]({'onBeforePasteImage':async _0x36ce1e=>{const _0x1931ed=_0x2dafb3,_0x83e37d=await _0x31e8c7[_0x1931ed(0x156)]['saveImage'](_0x36ce1e);return _0x83e37d?{'source':_0x83e37d['source'],'imageSourceType':_0x83e37d[_0x1931ed(0xc4)]}:null;}}));}};Ut=ko([ti(0x0,_0x3d5ec4),ti(0x1,_0x1fd980)],Ut);const si=[_0x2025fc(0x3b5),_0x2025fc(0x175),'verdancy600',_0x2025fc(0x474),_0x2025fc(0x308),_0x2025fc(0x2cd)];class Ns extends _0x24229e{constructor(){const _0x43ed2f=_0x2025fc;super(...arguments),g(this,_0x43ed2f(0xf8),new Map()),g(this,'_colorIndex',0x0);}[_0x2025fc(0x271)](_0x5cb963){const _0x474cab=_0x2025fc;if(this['_assignedColors']['has'](_0x5cb963))return this['_assignedColors'][_0x474cab(0x33e)](_0x5cb963);const _0x122735=si[this[_0x474cab(0xcd)]];return this[_0x474cab(0xcd)]=(this[_0x474cab(0xcd)]+0x1)%si[_0x474cab(0x161)],this[_0x474cab(0xf8)][_0x474cab(0x39c)](_0x5cb963,_0x122735),_0x122735;}}var Wo=Object['defineProperty'],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0xc335ad,_0x377ddc,_0x354b33,_0x279f5f)=>{const _0x4a1139=_0x2025fc;for(var _0x1d603c=_0x279f5f>0x1?void 0x0:_0x279f5f?Fo(_0x377ddc,_0x354b33):_0x377ddc,_0x58c5a6=_0xc335ad[_0x4a1139(0x161)]-0x1,_0xb8be30;_0x58c5a6>=0x0;_0x58c5a6--)(_0xb8be30=_0xc335ad[_0x58c5a6])&&(_0x1d603c=(_0x279f5f?_0xb8be30(_0x377ddc,_0x354b33,_0x1d603c):_0xb8be30(_0x1d603c))||_0x1d603c);return _0x279f5f&&_0x1d603c&&Wo(_0x377ddc,_0x354b33,_0x1d603c),_0x1d603c;},we=(_0x529c42,_0x2db288)=>(_0x36f72f,_0x1e2ca6)=>_0x2db288(_0x36f72f,_0x1e2ca6,_0x529c42);const Go=0x12c,Yo=0x64;let us=class extends _0x5ec0cb{constructor(_0x2595fb,_0x20e4cc,_0x81a61d,_0x1be167,_0x1aaf62,_0x570f15,_0x3da5a8,_0x8a1e43,_0x598b6c){const _0xcbfa7f=_0x2025fc;super(),g(this,'_online',!0x1),g(this,_0xcbfa7f(0x100),!0x1),g(this,'_cursorInfo$',new _0x1074c2(new Map())),g(this,_0xcbfa7f(0x25b),this[_0xcbfa7f(0x31a)]['asObservable']()),g(this,_0xcbfa7f(0x3f8),new _0x1074c2([])),g(this,'roomMembers$',this[_0xcbfa7f(0x3f8)]['pipe'](_0x493feb(Go))),g(this,_0xcbfa7f(0x199),_0x26c09b(_0x50e879=>{const _0x1c2dad=_0xcbfa7f,_0xe6aa2e={'eventID':_0x3a14f4[_0x1c2dad(0x30f)],'data':{'unitID':this[_0x1c2dad(0x2bf)],'memberID':this[_0x1c2dad(0x318)][_0x1c2dad(0x316)](),'selection':qi(_0x50e879)}};this[_0x1c2dad(0x318)][_0x1c2dad(0xc9)](_0xe6aa2e,this['unitID']);},Yo)),(this['unitID']=_0x2595fb,this[_0xcbfa7f(0x318)]=_0x20e4cc,this['_injector']=_0x81a61d,this['_colorAssignService']=_0x1be167,this[_0xcbfa7f(0x31c)]=_0x1aaf62,this[_0xcbfa7f(0x187)]=_0x570f15,this[_0xcbfa7f(0x128)]=_0x3da5a8,this[_0xcbfa7f(0x3cf)]=_0x8a1e43,this['_commandService']=_0x598b6c);}get['cursorInfo'](){const _0x38d0f4=_0x2025fc;return this['_cursorInfo$'][_0x38d0f4(0x42a)]();}get[_0x2025fc(0x340)](){const _0x4a4656=_0x2025fc;return this[_0x4a4656(0x3f8)][_0x4a4656(0x42a)]();}[_0x2025fc(0x1e5)](){const _0x107904=_0x2025fc;super[_0x107904(0x1e5)](),this[_0x107904(0x31a)][_0x107904(0x382)](new Map()),this['_cursorInfo$'][_0x107904(0x3c5)](),this[_0x107904(0x3f8)]['next']([]),this[_0x107904(0x3f8)][_0x107904(0x3c5)]();}[_0x2025fc(0x289)](){const _0x131fc7=_0x2025fc;this[_0x131fc7(0x100)]||(this['_init']=!0x0,this[_0x131fc7(0x318)][_0x131fc7(0x1ff)][_0x131fc7(0x150)](_0x7b6507(this[_0x131fc7(0x345)]))[_0x131fc7(0x140)](_0x98c67=>{const _0x4a000a=_0x131fc7;_0x98c67===fe[_0x4a000a(0xad)]?this[_0x4a000a(0x1dd)]():this[_0x4a000a(0x37a)]();}),this[_0x131fc7(0x318)][_0x131fc7(0x142)][_0x131fc7(0x150)](_0x7b6507(this[_0x131fc7(0x345)]))[_0x131fc7(0x140)](_0x46c47d=>{const _0x5b7949=_0x131fc7,_0x425808=_0x46c47d[_0x5b7949(0x28b)];_0x425808===_0x3a14f4[_0x5b7949(0x30f)]&&this[_0x5b7949(0x37b)](_0x46c47d),_0x425808===_0x3a14f4[_0x5b7949(0x3dc)]&&this[_0x5b7949(0x27f)](_0x46c47d);}),this[_0x131fc7(0x10c)](this[_0x131fc7(0x481)][_0x131fc7(0x18a)](_0x436598=>{const _0xea9d46=_0x131fc7,_0x245706=_0x436598[_0xea9d46(0x3a0)];_0x245706!=null&&this[_0xea9d46(0x34b)]&&_0x436598['id']===_0x10a027['id']&&_0x245706[_0xea9d46(0x273)]===this[_0xea9d46(0x2bf)]&&_0x245706['isEditing']===!0x1&&_0x245706['ranges'][_0xea9d46(0x161)]>0x0&&this[_0xea9d46(0x199)](_0x245706[_0xea9d46(0xe5)]);})),this['_syncEditingCollabCursorService'][_0x131fc7(0x451)][_0x131fc7(0x150)](_0x7b6507(this['dispose$']))[_0x131fc7(0x140)](_0x1a2368=>{const _0x4c6c01=_0x131fc7;if((_0x1a2368==null?void 0x0:_0x1a2368[_0x4c6c01(0x2bf)])!==this[_0x4c6c01(0x2bf)])return;const _0x136e3e={'eventID':_0x3a14f4[_0x4c6c01(0x30f)],'data':_0x1a2368};this[_0x4c6c01(0x37b)](_0x136e3e);}),this[_0x131fc7(0x10c)](this[_0x131fc7(0x481)][_0x131fc7(0x18a)](_0x4c4ff9=>{const _0x4a6607=_0x131fc7;if(_0x4c4ff9['params']==null)return;const _0x7d3f78=_0x4c4ff9['params'];if(_0x4c4ff9['id']!==_0x3ef379['id']||_0x7d3f78[_0x4a6607(0x273)]!==this['unitID'])return;const _0x5b88ac={'id':_0x4a6607(0x495),'params':_0x7d3f78},_0x3911ee=this[_0x4a6607(0x13c)];for(const [_0x16181c,_0x3f466c]of _0x3911ee){const _0xad6d48={'id':_0x4a6607(0x495),'params':{'unitId':this[_0x4a6607(0x2bf)],'actions':null,'textRanges':_0x3f466c['ranges']}},_0x3ad238=this[_0x4a6607(0x128)][_0x4a6607(0x4b6)](_0x5b88ac,_0xad6d48,!0x1);if(_0x3e27e9(_0x3ad238))throw _0x3ad238[_0x4a6607(0x279)];_0x3911ee['set'](_0x16181c,{..._0x3f466c,'ranges':_0x3ad238[_0x4a6607(0x270)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4fd245=_0x4a6607;this[_0x4fd245(0x31a)][_0x4fd245(0x382)](_0x3911ee);});})));}['_onCursorUpdate'](_0x54a95d){const _0xa25c92=_0x2025fc;var _0x9da666,_0x4f1fe6;const {memberID:_0x36aa0c,selection:_0x2aa8ad}=_0x54a95d[_0xa25c92(0x2a0)],_0xabf8bb=Ro(_0x2aa8ad),_0x389f53=(_0x4f1fe6=(_0x9da666=this[_0xa25c92(0x31c)][_0xa25c92(0x419)](this[_0xa25c92(0x2bf)],_0x36aa0c))==null?void 0x0:_0x9da666[_0xa25c92(0x1c7)])!=null?_0x4f1fe6:'Unknown\x20user',_0x5791a6={'color':this[_0xa25c92(0xd4)][_0xa25c92(0x271)](_0x36aa0c),'name':_0x389f53,'ranges':_0xabf8bb},_0xd6133f=this['cursorInfo'];_0xd6133f[_0xa25c92(0x39c)](_0x36aa0c,_0x5791a6),this['_cursorInfo$']['next'](_0xd6133f);}[_0x2025fc(0x27f)](_0x25cb42){const _0x19ec88=_0x2025fc,{memberID:_0x5835af}=_0x25cb42[_0x19ec88(0x2a0)],_0x8f196e=this['cursorInfo'];_0x8f196e[_0x19ec88(0x165)](_0x5835af),this['_cursorInfo$'][_0x19ec88(0x382)](_0x8f196e);}['_toggleOnline'](){const _0x2af701=_0x2025fc;var _0x38c47a;if(this['_online']=!0x0,((_0x38c47a=this[_0x2af701(0x3cf)]['getFocusedUnit']())==null?void 0x0:_0x38c47a['getUnitId']())!==this[_0x2af701(0x2bf)])return;const _0x3a8405=this[_0x2af701(0x147)][_0x2af701(0x33e)](_0x49b6ea)[_0x2af701(0x391)]();Array[_0x2af701(0x287)](_0x3a8405)&&_0x3a8405[_0x2af701(0x161)]>0x0&&this['_updateLocalCursor'](_0x3a8405);}[_0x2025fc(0x37a)](){this['_online']=!0x1;}};us=Vo([we(0x2,_0x5847bf(_0x5d7671)),we(0x3,_0x5847bf(Ns)),we(0x4,_0x5847bf(Me)),we(0x5,_0x5847bf(Ds)),we(0x6,_0x2fbfa5),we(0x7,_0x425cee),we(0x8,_0x28287a)],us);var Ko=Object[_0x2025fc(0x385)],qo=Object[_0x2025fc(0x18c)],zo=(_0x296615,_0x15e862,_0xe14735,_0x379419)=>{const _0x1fd064=_0x2025fc;for(var _0x322ec3=_0x379419>0x1?void 0x0:_0x379419?qo(_0x15e862,_0xe14735):_0x15e862,_0x413e02=_0x296615[_0x1fd064(0x161)]-0x1,_0x2088b6;_0x413e02>=0x0;_0x413e02--)(_0x2088b6=_0x296615[_0x413e02])&&(_0x322ec3=(_0x379419?_0x2088b6(_0x15e862,_0xe14735,_0x322ec3):_0x2088b6(_0x322ec3))||_0x322ec3);return _0x379419&&_0x322ec3&&Ko(_0x15e862,_0xe14735,_0x322ec3),_0x322ec3;},Be=(_0x4a26fb,_0x1135ae)=>(_0x5012cc,_0x4c98c5)=>_0x1135ae(_0x5012cc,_0x4c98c5,_0x4a26fb);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x4a904f=[],_0x2382f1=!0x1;return _0x16c211=>{const _0x5526c0=_0x46d8;_0x4a904f[_0x5526c0(0x22f)](_0x16c211),_0x2382f1||(_0x2382f1=!0x0,setTimeout(()=>{_0x4a904f['forEach'](_0x2a2d1f=>_0x2a2d1f()),_0x4a904f=[],_0x2382f1=!0x1;}));};};let ds=class extends _0x5ec0cb{constructor(_0x58684b,_0x4a35da,_0x5b58f8,_0x6edf59,_0x5ef742,_0x2790c6,_0x22c41b,_0x177bca){const _0x38c610=_0x2025fc;super(),g(this,'_online',!0x1),g(this,_0x38c610(0x100),!0x1),g(this,'_cursorInfo$',new _0x1074c2(new Map())),g(this,_0x38c610(0x25b),this[_0x38c610(0x31a)][_0x38c610(0xf7)]()),g(this,_0x38c610(0x3f8),new _0x1074c2([])),g(this,_0x38c610(0x20a),this['_roomMembers$'][_0x38c610(0x150)](_0x493feb(Xo))),g(this,'_updateLocalCursor',_0x26c09b((_0x47ae9a,_0x2a20e2)=>{const _0x53eab5=_0x38c610,_0x4179be={'eventID':_0x3a14f4[_0x53eab5(0x30f)],'data':{'unitID':this['unitID'],'memberID':this[_0x53eab5(0x318)][_0x53eab5(0x316)](),'selection':_0xf165cf(_0x47ae9a,_0x2a20e2[_0x53eab5(0x200)])}};this[_0x53eab5(0x318)][_0x53eab5(0xc9)](_0x4179be,this[_0x53eab5(0x2bf)]);},Jo)),(this['unitID']=_0x58684b,this[_0x38c610(0x318)]=_0x4a35da,this[_0x38c610(0x147)]=_0x5b58f8,this[_0x38c610(0xd4)]=_0x6edf59,this[_0x38c610(0x31c)]=_0x5ef742,this[_0x38c610(0x3cf)]=_0x2790c6,this[_0x38c610(0x481)]=_0x22c41b,this[_0x38c610(0x2b9)]=_0x177bca);}get[_0x2025fc(0x13c)](){const _0x46b4f8=_0x2025fc;return this[_0x46b4f8(0x31a)][_0x46b4f8(0x42a)]();}get[_0x2025fc(0x340)](){const _0x114be7=_0x2025fc;return this[_0x114be7(0x3f8)][_0x114be7(0x42a)]();}[_0x2025fc(0x1e5)](){const _0x2128e4=_0x2025fc;super[_0x2128e4(0x1e5)](),this['_cursorInfo$'][_0x2128e4(0x382)](new Map()),this['_cursorInfo$'][_0x2128e4(0x3c5)](),this['_roomMembers$']['next']([]),this[_0x2128e4(0x3f8)][_0x2128e4(0x3c5)]();}['init'](){const _0x60ba36=_0x2025fc;this[_0x60ba36(0x100)]||(this[_0x60ba36(0x100)]=!0x0,this[_0x60ba36(0x318)][_0x60ba36(0x1ff)][_0x60ba36(0x150)](_0x7b6507(this['dispose$']))[_0x60ba36(0x140)](_0x2611a0=>{const _0xa805a=_0x60ba36;_0x2611a0===fe[_0xa805a(0xad)]?this[_0xa805a(0x1dd)]():this['_toggleOffline']();}),this[_0x60ba36(0x318)][_0x60ba36(0x142)][_0x60ba36(0x150)](_0x7b6507(this[_0x60ba36(0x345)]))['subscribe'](_0x4615e5=>{const _0x223c60=_0x60ba36,_0x589115=_0x4615e5[_0x223c60(0x28b)];_0x589115===_0x3a14f4[_0x223c60(0x30f)]&&this[_0x223c60(0x37b)](_0x4615e5),_0x589115===_0x3a14f4[_0x223c60(0x3dc)]&&this[_0x223c60(0x27f)](_0x4615e5);}),this[_0x60ba36(0x342)](),this['disposeWithMe'](this[_0x60ba36(0x481)][_0x60ba36(0x18a)](_0x34cab8=>{const _0x34ae91=_0x60ba36;if(this[_0x34ae91(0x34b)]&&_0x34cab8['id']===_0x3295dc['id']&&_0x34cab8['params'][_0x34ae91(0x273)]===this[_0x34ae91(0x2bf)]){const _0x62d5c6=_0x34cab8[_0x34ae91(0x3a0)];this['_updateLocalCursor'](_0x62d5c6[_0x34ae91(0x457)],_0x62d5c6[_0x34ae91(0x12e)][0x0]);}})));}['_onCursorUpdate'](_0x196831){const _0x2afaeb=_0x2025fc;var _0x246301,_0x1c970e;const {memberID:_0x287053,selection:_0x63b0f7}=_0x196831[_0x2afaeb(0x2a0)],{sheetName:_0x3a45da,range:_0x303439}=_0x129840(_0x63b0f7),_0x1cdbfc={'name':(_0x1c970e=(_0x246301=this[_0x2afaeb(0x31c)]['getMember'](this[_0x2afaeb(0x2bf)],_0x287053))==null?void 0x0:_0x246301[_0x2afaeb(0x1c7)])!=null?_0x1c970e:_0x2afaeb(0x293),'range':this[_0x2afaeb(0x1c2)](_0x3a45da,_0x303439),'sheetID':_0x3a45da,'color':this[_0x2afaeb(0xd4)][_0x2afaeb(0x271)](_0x287053),'selection':_0x63b0f7},_0x1d68c9=this['cursorInfo'];_0x1d68c9[_0x2afaeb(0x39c)](_0x287053,_0x1cdbfc),this[_0x2afaeb(0x31a)]['next'](_0x1d68c9);}['_onCursorDelete'](_0x37d34e){const _0x30e99a=_0x2025fc,{memberID:_0xf57cb7}=_0x37d34e[_0x30e99a(0x2a0)],_0x3ba346=this['cursorInfo'];_0x3ba346[_0x30e99a(0x165)](_0xf57cb7),this[_0x30e99a(0x31a)]['next'](_0x3ba346);}[_0x2025fc(0x1c2)](_0x141cd,_0x43109f){const _0x1ac796=_0x2025fc;var _0x33f2fa,_0x1a764f;const _0x54f558=(_0x1a764f=(_0x33f2fa=this[_0x1ac796(0x3cf)][_0x1ac796(0x26e)](this[_0x1ac796(0x2bf)]))==null?void 0x0:_0x33f2fa[_0x1ac796(0xe2)](_0x141cd))==null?void 0x0:_0x1a764f['getMergeData']();return(_0x54f558==null?void 0x0:_0x54f558['find'](_0x385a59=>_0x1a8bad['contains'](_0x385a59,_0x43109f)))||_0x43109f;}[_0x2025fc(0x342)](){const _0x499e62=_0x2025fc,_0x2de843=new _0x55a86c(),_0x89f88d=Zo(),_0x379315=()=>{const _0x9d27d1=_0x46d8;_0x2de843['dispose']();const _0x27622a=(_0x3a3da1,_0x52a7c3,_0x10f49e,_0x921713)=>{const _0x409897=_0x46d8;let _0x576b00=[];switch(_0x3a3da1['id']){case _0x1bada9['DeleteRangeMoveLeftCommandId']:{_0x576b00=_0x322dc1(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x178)]:{_0x576b00=_0x27e6e3(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x2da)]:{_0x576b00=_0x3c8a96(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x1f2)]:{_0x576b00=_0x21ee51(_0x3a3da1,_0x921713);break;}case _0x1bada9['InsertRangeMoveRightCommandId']:{_0x576b00=_0x38f4c6(_0x3a3da1,_0x921713);break;}case _0x1bada9['InsertRowCommandId']:{_0x576b00=_0x1fe1d1(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x1ed)]:{_0x576b00=_0x11ac4c(_0x3a3da1,_0x921713);break;}case _0x1bada9['RemoveColCommandId']:{_0x576b00=_0x4cc33a(_0x3a3da1,_0x921713);break;}case _0x1bada9['RemoveRowCommandId']:{_0x576b00=_0x5842ca(_0x3a3da1,_0x921713);break;}}const _0xd024b4=_0x5a1647(_0x576b00,_0x921713),_0x3da313=this[_0x409897(0x13c)][_0x409897(0x33e)](_0x52a7c3);if(_0x3da313&&_0xd024b4){const _0x29d2aa={..._0x3da313,'range':_0xd024b4};this[_0x409897(0x13c)][_0x409897(0x39c)](_0x52a7c3,_0x29d2aa),_0x89f88d(()=>{const _0x2bc186=_0x409897,_0x38d5f8=this[_0x2bc186(0x2b9)][_0x2bc186(0x43e)](_0xd024b4,_0x2d3b72=>(_0x38d5f8[_0x2bc186(0x1e5)](),_0x27622a(_0x2d3b72,_0x52a7c3,_0x10f49e,_0xd024b4)));_0x2de843[_0x2bc186(0x4b0)](_0x38d5f8);});}return{'redos':[],'undos':[]};};this[_0x9d27d1(0x13c)]['forEach']((_0x16caf9,_0xffd7ae)=>{const _0x43897c=_0x9d27d1,{range:_0x149ee8,sheetID:_0xaf952f}=_0x16caf9,_0x212197=this[_0x43897c(0x2b9)][_0x43897c(0x43e)](_0x149ee8,_0x2e4db3=>(_0x212197[_0x43897c(0x1e5)](),_0x27622a(_0x2e4db3,_0xffd7ae,_0xaf952f,_0x149ee8)));_0x2de843[_0x43897c(0x4b0)](_0x212197);});};this[_0x499e62(0x10c)](_0x7c72c3(this[_0x499e62(0x31a)][_0x499e62(0x140)](()=>{_0x379315();})));}[_0x2025fc(0x1dd)](){const _0x1ffc16=_0x2025fc;var _0x225ab4,_0x41ea9c;if(this[_0x1ffc16(0x34b)]=!0x0,((_0x225ab4=this[_0x1ffc16(0x3cf)]['getFocusedUnit']())==null?void 0x0:_0x225ab4[_0x1ffc16(0x10b)]())!==this[_0x1ffc16(0x2bf)])return;const _0x2642d9=(_0x41ea9c=this[_0x1ffc16(0x147)][_0x1ffc16(0x33e)](_0x2d0767)[_0x1ffc16(0xef)]())==null?void 0x0:_0x41ea9c[0x0],_0x5f5d3e=this[_0x1ffc16(0x3cf)]['getCurrentUnitForType'](_0xb166dc['UNIVER_SHEET'])[_0x1ffc16(0x406)]();_0x2642d9&&_0x5f5d3e&&this['_updateLocalCursor'](_0x5f5d3e[_0x1ffc16(0x369)](),_0x2642d9);}['_toggleOffline'](){const _0x31f61b=_0x2025fc;this[_0x31f61b(0x34b)]=!0x1;}};ds=zo([Be(0x2,_0x5847bf(_0x5d7671)),Be(0x3,_0x5847bf(Ns)),Be(0x4,_0x5847bf(Me)),Be(0x5,_0x425cee),Be(0x6,_0x28287a),Be(0x7,_0x5847bf(_0x4f6ae0))],ds);var Qo=Object[_0x2025fc(0x385)],ea=Object[_0x2025fc(0x18c)],ta=(_0x105a2d,_0xca0eb8,_0x41da9c,_0x187c8d)=>{for(var _0x3d9b64=_0x187c8d>0x1?void 0x0:_0x187c8d?ea(_0xca0eb8,_0x41da9c):_0xca0eb8,_0x1ecf7b=_0x105a2d['length']-0x1,_0x396fff;_0x1ecf7b>=0x0;_0x1ecf7b--)(_0x396fff=_0x105a2d[_0x1ecf7b])&&(_0x3d9b64=(_0x187c8d?_0x396fff(_0xca0eb8,_0x41da9c,_0x3d9b64):_0x396fff(_0x3d9b64))||_0x3d9b64);return _0x187c8d&&_0x3d9b64&&Qo(_0xca0eb8,_0x41da9c,_0x3d9b64),_0x3d9b64;},Xt=(_0x11b9b2,_0xff1a39)=>(_0x3f82e2,_0x294a93)=>_0xff1a39(_0x3f82e2,_0x294a93,_0x11b9b2);let Ve=class extends _0x5ec0cb{constructor(_0x1f41f0,_0x1457d3,_0x43a9b3){const _0x1d66b6=_0x2025fc;super(),g(this,_0x1d66b6(0x3da),new Map()),g(this,_0x1d66b6(0x44e),new _0x1c0b9c()),(this[_0x1d66b6(0x3cf)]=_0x1f41f0,this[_0x1d66b6(0x147)]=_0x1457d3,this[_0x1d66b6(0x29e)]=_0x43a9b3,this[_0x1d66b6(0x100)]());}[_0x2025fc(0x1e5)](){const _0x5ecbc0=_0x2025fc;super[_0x5ecbc0(0x1e5)](),this['_entityInit$'][_0x5ecbc0(0x3c5)](),this[_0x5ecbc0(0x3da)]['forEach'](_0x43e007=>_0x43e007[_0x5ecbc0(0x1e5)]());}['getCollabCursors$'](_0x46cbe5){const _0x389bc2=_0x2025fc;return this[_0x389bc2(0x3da)]['has'](_0x46cbe5)?this[_0x389bc2(0x3da)][_0x389bc2(0x33e)](_0x46cbe5)['cursorInfo$']:this[_0x389bc2(0x44e)][_0x389bc2(0x150)](_0x2eb5c7(_0x312f80=>_0x312f80[_0x389bc2(0x2bf)]===_0x46cbe5),_0x4e1242(_0x34c9c2=>_0x34c9c2[_0x389bc2(0x25b)]));}[_0x2025fc(0x100)](){const _0x31d578=_0x2025fc;this[_0x31d578(0x3cf)][_0x31d578(0x2c3)](_0xb166dc['UNIVER_SHEET'])[_0x31d578(0x150)](_0x7b6507(this[_0x31d578(0x345)]))[_0x31d578(0x140)](async _0x21bae0=>{const _0x514954=_0x31d578,_0x4d4e39=_0x21bae0[_0x514954(0x10b)](),_0xa91401=await this[_0x514954(0x465)](_0x4d4e39);this[_0x514954(0x44e)][_0x514954(0x382)](_0xa91401),this[_0x514954(0x3da)][_0x514954(0x39c)](_0x4d4e39,_0xa91401);}),this['_univerInstanceService'][_0x31d578(0x2c3)](_0xb166dc[_0x31d578(0x3ad)])['pipe'](_0x7b6507(this[_0x31d578(0x345)]))['pipe'](_0x2eb5c7(_0x26021a=>!_0x26021a[_0x31d578(0x10b)]()[_0x31d578(0x33d)]('__')))[_0x31d578(0x140)](async _0x1ec6e2=>{const _0x2deafb=_0x31d578,_0x59807d=_0x1ec6e2[_0x2deafb(0x10b)](),_0x253815=await this[_0x2deafb(0x4a7)](_0x59807d);this[_0x2deafb(0x44e)][_0x2deafb(0x382)](_0x253815),this[_0x2deafb(0x3da)][_0x2deafb(0x39c)](_0x59807d,_0x253815);}),_0x38a986(this[_0x31d578(0x3cf)][_0x31d578(0x2f2)](_0xb166dc[_0x31d578(0x3ad)]),this[_0x31d578(0x3cf)][_0x31d578(0x2f2)](_0xb166dc[_0x31d578(0x4a6)]))['pipe'](_0x7b6507(this[_0x31d578(0x345)]))['subscribe'](_0x46740f=>{const _0xbbb552=_0x31d578,_0x534324=_0x46740f['getUnitId'](),_0x658d53=this[_0xbbb552(0x3da)]['get'](_0x534324);_0x658d53&&(_0x658d53[_0xbbb552(0x1e5)](),this[_0xbbb552(0x3da)][_0xbbb552(0x165)](_0x534324));});}async['_startSheetCollabCursor'](_0xbbb4d8){const _0xdf10a3=_0x2025fc,_0x579e85=await this['_collabSessionService']['requireSession'](_0xbbb4d8),_0x4317ad=this[_0xdf10a3(0x147)][_0xdf10a3(0x12a)](ds,_0xbbb4d8,_0x579e85);return _0x4317ad[_0xdf10a3(0x289)](),_0x4317ad;}async[_0x2025fc(0x4a7)](_0x39d1ed){const _0x216753=_0x2025fc,_0x531bb4=await this[_0x216753(0x29e)]['requireSession'](_0x39d1ed),_0x26aad3=this[_0x216753(0x147)]['createInstance'](us,_0x39d1ed,_0x531bb4);return _0x26aad3[_0x216753(0x289)](),_0x26aad3;}};Ve=ta([Xt(0x0,_0x425cee),Xt(0x1,_0x5847bf(_0x5d7671)),Xt(0x2,_0x5847bf(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x3cc447,_0x2b4db8){const _0x25e6dd=_0x2025fc;let {radius:_0x2bdb87,width:_0x391fcb,height:_0x2f5fe1}=_0x2b4db8;_0x2bdb87=_0x2bdb87!=null?_0x2bdb87:0x0,_0x391fcb=_0x391fcb!=null?_0x391fcb:0x1e,_0x2f5fe1=_0x2f5fe1!=null?_0x2f5fe1:0x1e;let _0x50b1df=0x0,_0x5af365=0x0,_0x359c31=0x0;_0x50b1df=_0x5af365=_0x359c31=Math['min'](_0x2bdb87,_0x391fcb/0x2,_0x2f5fe1/0x2),_0x3cc447[_0x25e6dd(0x389)](),_0x3cc447[_0x25e6dd(0x36d)](_0x50b1df,0x0),_0x3cc447[_0x25e6dd(0x1ab)](_0x391fcb-_0x5af365,0x0),_0x3cc447[_0x25e6dd(0x4b8)](_0x391fcb-_0x5af365,_0x5af365,_0x5af365,Math['PI']*0x3/0x2,0x0,!0x1),_0x3cc447[_0x25e6dd(0x1ab)](_0x391fcb,_0x2f5fe1-_0x359c31),_0x3cc447['arc'](_0x391fcb-_0x359c31,_0x2f5fe1-_0x359c31,_0x359c31,0x0,Math['PI']/0x2,!0x1),_0x3cc447[_0x25e6dd(0x1ab)](0x0,_0x2f5fe1),_0x3cc447[_0x25e6dd(0x1ab)](0x0,_0x50b1df),_0x3cc447[_0x25e6dd(0x4b8)](_0x50b1df,_0x50b1df,_0x50b1df,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3cc447['closePath'](),_0x2b4db8[_0x25e6dd(0x46e)]&&(_0x3cc447[_0x25e6dd(0x14f)](),_0x3cc447[_0x25e6dd(0x477)]=_0x2b4db8['fill'],_0x2b4db8[_0x25e6dd(0x336)]===_0x25e6dd(0x28a)?_0x3cc447[_0x25e6dd(0x46e)](_0x25e6dd(0x28a)):_0x3cc447['fill'](),_0x3cc447[_0x25e6dd(0x309)]());}class Bt extends _0x280f32{constructor(_0x15fa38,_0x3b5001){const _0x39df93=_0x2025fc;super(_0x15fa38,_0x3b5001),g(this,'color'),g(this,'text'),(this[_0x39df93(0x26b)]=_0x3b5001==null?void 0x0:_0x3b5001[_0x39df93(0x26b)],this[_0x39df93(0x438)]=_0x3b5001==null?void 0x0:_0x3b5001['text']);}static[_0x2025fc(0xac)](_0x392dc5,_0x5d13b2){const _0x3bfcb5=_0x2025fc,{text:_0x15466a,color:_0x451e18}=_0x5d13b2;_0x392dc5[_0x3bfcb5(0x14f)](),_0x392dc5['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x143447=_0x392dc5[_0x3bfcb5(0x482)](_0x15466a)['width'],_0x20aedc=Math[_0x3bfcb5(0x1af)](_0x143447+0x2*Jt,ii);ia(_0x392dc5,{'height':nt,'radius':0x4,'width':_0x20aedc,'fill':_0x451e18,'evented':!0x1}),_0x392dc5['fillStyle']=_0x3bfcb5(0x321);const _0x30d758=Jt,_0x1f4293=nt-sa,_0x467773=ii-0x2*Jt;if(_0x143447>_0x467773){let _0x430c52='',_0x11465b=0x0;for(const _0x85587c of _0x15466a){const _0x1b522b=_0x392dc5['measureText'](_0x85587c)[_0x3bfcb5(0x478)];if(_0x11465b+_0x1b522b<=_0x467773-_0x392dc5[_0x3bfcb5(0x482)]('...')[_0x3bfcb5(0x478)])_0x430c52+=_0x85587c,_0x11465b+=_0x1b522b;else{_0x430c52+=_0x3bfcb5(0x1df);break;}}_0x392dc5['fillText'](_0x430c52,_0x30d758,_0x1f4293);}else _0x392dc5['fillText'](_0x15466a,_0x30d758,_0x1f4293);_0x392dc5[_0x3bfcb5(0x309)]();}[_0x2025fc(0x368)](_0x4a3a38){const _0x36cb23=_0x2025fc;Bt[_0x36cb23(0xac)](_0x4a3a38,this);}}const Zt=_0x2025fc(0x39b),ra=_0x2025fc(0x42b),na='collab-rect-range-',Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca='rgba(255,\x20255,\x20255,\x200.01)';class ri{constructor(_0x4f248c,_0x4073ba,_0x308545,_0x409e99){const _0x23de23=_0x2025fc;g(this,'_shapes',[]),g(this,_0x23de23(0x2b5),null),g(this,_0x23de23(0x2fe),null),g(this,_0x23de23(0x1ad),null),g(this,'_hideTimer',null),g(this,_0x23de23(0x3a6),null),(this[_0x23de23(0x1fb)]=_0x4f248c,this[_0x23de23(0x2a7)]=_0x4073ba,this['_docSkeleton']=_0x308545,this[_0x23de23(0x296)]=_0x409e99,this[_0x23de23(0x3cd)]());}set[_0x2025fc(0x3c7)](_0x11fd0f){const _0x1dbbdf=_0x2025fc;_0x11fd0f?(this[_0x1dbbdf(0x1ad)]&&this[_0x1dbbdf(0x1ad)]['hide'](),this['_textBubble']&&this[_0x1dbbdf(0x2fe)][_0x1dbbdf(0x3c2)]()):(this[_0x1dbbdf(0x1ad)]&&this[_0x1dbbdf(0x1ad)][_0x1dbbdf(0x3c2)](),this['_textBubble']&&this['_textBubble'][_0x1dbbdf(0x467)]());}['dispose'](){const _0x5ea684=_0x2025fc;for(const _0x27e343 of this[_0x5ea684(0x18d)])_0x27e343[_0x5ea684(0x1e5)]();this['_textBubble']&&this[_0x5ea684(0x2fe)][_0x5ea684(0x1e5)](),this[_0x5ea684(0x1ad)]&&this[_0x5ea684(0x1ad)][_0x5ea684(0x1e5)](),this[_0x5ea684(0x2b5)]&&this[_0x5ea684(0x2b5)]['dispose'](),this[_0x5ea684(0x3a6)]&&this[_0x5ea684(0x3a6)]();}[_0x2025fc(0x3cd)](){const _0x23655c=_0x2025fc;var _0x21229e;const {_docSkeleton:_0x2614cd,_document:_0x54c521}=this,{color:_0x1fa2e2,name:_0x593ed6,ranges:_0x17bd32}=this[_0x23655c(0x1fb)],_0x5124f2=_0x54c521[_0x23655c(0x326)](),{docsLeft:_0x41cfe2,docsTop:_0x17526e}=_0x5124f2,_0x12e3bb=new _0x44a430(_0x5124f2,_0x2614cd);for(const {startOffset:_0x40858a,endOffset:_0x5e7909,rangeType:_0x4555f7,segmentId:_0x21cd38,segmentPage:_0x4159bb,collapsed:_0x4e5c82,isActive:_0x2a2150}of _0x17bd32){const _0x495b6f=_0x2614cd[_0x23655c(0x159)](_0x40858a,!0x0,_0x21cd38,_0x4159bb);let _0x3d736f=_0x2614cd[_0x23655c(0x159)](_0x5e7909,!0x0,_0x21cd38,_0x4159bb);if(_0x3d736f==null&&(_0x3d736f=_0x2614cd['findNodePositionByCharIndex'](_0x5e7909-0x1,!0x1,_0x21cd38,_0x4159bb)),_0x2a2150){const {contentBoxPointGroup:_0x4befee}=_0x12e3bb['getRangePointData'](_0x3d736f,_0x3d736f);if(_0x4befee[_0x23655c(0x161)]===0x0)continue;this[_0x23655c(0x367)](_0x1fa2e2,_0x4befee,_0x41cfe2,_0x17526e,_0x593ed6),this[_0x23655c(0x3a6)]=this[_0x23655c(0x19f)]();}if(_0x495b6f&&_0x3d736f){if(_0x4555f7===_0x2bd610[_0x23655c(0x246)]){const _0x243703=new _0x4512fd(_0x5124f2,_0x2614cd),{pointGroup:_0xb86604}=(_0x21229e=_0x243703[_0x23655c(0x34e)](_0x495b6f,_0x3d736f))!=null?_0x21229e:{};if(_0xb86604==null||_0xb86604[_0x23655c(0x161)]===0x0)continue;this['_drawRectRange'](_0x1fa2e2,_0xb86604,_0x41cfe2,_0x17526e);}else{if(!_0x4e5c82){const {borderBoxPointGroup:_0x18978d}=_0x12e3bb[_0x23655c(0x34e)](_0x495b6f,_0x3d736f);if(_0x18978d['length']===0x0)continue;this[_0x23655c(0x1ba)](_0x1fa2e2,_0x18978d,_0x41cfe2,_0x17526e);}}}}}[_0x2025fc(0x367)](_0x1c704a,_0xb6e98a,_0x34cfb0,_0x413c8b,_0x39de35){const _0x493b14=_0x2025fc,_0x45555c=this['_getAnchorBounding'](_0xb6e98a),{left:_0x4b7b04,top:_0x101cc5,height:_0x3d9d15}=_0x45555c,_0x3e8e80=this[_0x493b14(0x157)](),_0x2bb308=aa/_0x3e8e80,_0x230fdc=new _0x10cdd3(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b,'height':_0x3d9d15,'width':oa,'fill':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'strokeWidth':_0x2bb308,'stroke':ca,'evented':!0x0});this[_0x493b14(0x2b5)]=_0x230fdc,this[_0x493b14(0x2a7)][_0x493b14(0x21a)](_0x230fdc,_0x505883);const _0x4cb602=new _0x10cdd3(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'strokeWidth':0x0,'stroke':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'evented':!0x1});this[_0x493b14(0x1ad)]=_0x4cb602,this['_scene'][_0x493b14(0x21a)](_0x4cb602,_0x505883);const _0x5514a4=new Bt(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b-nt,'text':_0x39de35,'color':_0x1c704a});this['_textBubble']=_0x5514a4,this[_0x493b14(0x2a7)][_0x493b14(0x21a)](_0x5514a4,_0x505883),this[_0x493b14(0x3c7)]=!0x1;}[_0x2025fc(0x19f)](){const _0x426402=_0x2025fc,_0x441501=this[_0x426402(0x2b5)][_0x426402(0x2bd)][_0x426402(0x113)](()=>{this['_hover']=!0x0;}),_0x254fba=this['_anchor']['onPointerLeave$'][_0x426402(0x113)](()=>{const _0x45dfad=_0x426402;this[_0x45dfad(0x300)]&&clearTimeout(this[_0x45dfad(0x300)]),this['_hideTimer']=setTimeout(()=>{const _0x20410d=_0x45dfad;this[_0x20410d(0x3c7)]=!0x1;},0x7d0);});return()=>{const _0x41d54e=_0x426402;_0x441501[_0x41d54e(0x2dd)](),_0x254fba['unsubscribe']();};}[_0x2025fc(0x1ba)](_0x4ef440,_0x599f70,_0x460cc2,_0x4229be){const _0x4c87d4=_0x2025fc,_0x41f7c8=new _0x13add7(_0x4ef440)[_0x4c87d4(0xe0)](0.2)[_0x4c87d4(0x455)](),_0x4ed1b5=new _0x2d60c8(ra+_0x529634[_0x4c87d4(0x210)](Je),{'pointsGroup':_0x599f70,'fill':_0x41f7c8||_0x44a483(_0x37cb7b['black'],0.2),'left':_0x460cc2,'top':_0x4229be,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4c87d4(0x22f)](_0x4ed1b5),this[_0x4c87d4(0x2a7)][_0x4c87d4(0x21a)](_0x4ed1b5,_0x505883);}['_drawRectRange'](_0x5aaa5c,_0x494929,_0x4380b3,_0x11a1a3){const _0x4209d4=_0x2025fc,_0x26782a=new _0x13add7(_0x5aaa5c)[_0x4209d4(0xe0)](0.2)['toRgbString'](),_0x2e748c=new _0x2d60c8(na+_0x529634[_0x4209d4(0x210)](Je),{'pointsGroup':_0x494929,'fill':_0x26782a||_0x44a483(_0x37cb7b[_0x4209d4(0x262)],0.2),'left':_0x4380b3,'top':_0x11a1a3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4209d4(0x22f)](_0x2e748c),this[_0x4209d4(0x2a7)][_0x4209d4(0x21a)](_0x2e748c,_0x505883);}[_0x2025fc(0x3e4)](_0x10a07f){const _0x5c41d0=_0x10a07f[0x0],_0x44a1d3=_0x5c41d0[0x0],_0x1a9501=_0x5c41d0[0x2],{x:_0x9dd65,y:_0x3b6a22}=_0x44a1d3,{x:_0x44be18,y:_0x5e9457}=_0x1a9501;return{'left':_0x9dd65,'top':_0x3b6a22,'width':_0x44be18-_0x9dd65,'height':_0x5e9457-_0x3b6a22};}[_0x2025fc(0x157)](){const _0x545517=_0x2025fc,{scaleX:_0x572d66,scaleY:_0x4f6c1b}=this['_scene']['getAncestorScale']();return Math[_0x545517(0x3f2)](_0x572d66,_0x4f6c1b);}}var ha=Object[_0x2025fc(0x385)],la=Object[_0x2025fc(0x18c)],_a=(_0x191039,_0x2b7032,_0xd5df74,_0x1fe8d2)=>{const _0x1cd4fa=_0x2025fc;for(var _0x3afa98=_0x1fe8d2>0x1?void 0x0:_0x1fe8d2?la(_0x2b7032,_0xd5df74):_0x2b7032,_0x1733fe=_0x191039[_0x1cd4fa(0x161)]-0x1,_0x43335d;_0x1733fe>=0x0;_0x1733fe--)(_0x43335d=_0x191039[_0x1733fe])&&(_0x3afa98=(_0x1fe8d2?_0x43335d(_0x2b7032,_0xd5df74,_0x3afa98):_0x43335d(_0x3afa98))||_0x3afa98);return _0x1fe8d2&&_0x3afa98&&ha(_0x2b7032,_0xd5df74,_0x3afa98),_0x3afa98;},ht=(_0x19b861,_0x5e567e)=>(_0x5e68f0,_0x1eb527)=>_0x5e567e(_0x5e68f0,_0x1eb527,_0x19b861);let fs=class extends _0x5ec0cb{constructor(_0x1b685a,_0xd0310b,_0x2879f8,_0x12002e,_0x49a43d){const _0x409f55=_0x2025fc;super(),g(this,'_cursorShapes',[]),g(this,_0x409f55(0x449),[]),(this[_0x409f55(0x294)]=_0x1b685a,this[_0x409f55(0x343)]=_0xd0310b,this['_collabCursorController']=_0x2879f8,this[_0x409f55(0x481)]=_0x12002e,this['_themeService']=_0x49a43d,this[_0x409f55(0x100)]());}[_0x2025fc(0x100)](){const _0x429e5f=_0x2025fc,_0x41d87e=this[_0x429e5f(0x294)][_0x429e5f(0x273)],_0x1970de=this[_0x429e5f(0x343)];this[_0x429e5f(0x10c)](_0x238a3a([this[_0x429e5f(0xab)][_0x429e5f(0x327)](_0x41d87e),this[_0x429e5f(0x1c8)][_0x429e5f(0x3e9)]])['pipe'](_0xb11c2f(([_0x4bd832,_0x4a418b])=>({'skeleton':_0x1970de[_0x429e5f(0x240)](),'cursors':[..._0x4bd832[_0x429e5f(0x3ed)]()][_0x429e5f(0x3b3)](_0x394dc6=>({..._0x394dc6,'color':_0x4a418b[_0x394dc6[_0x429e5f(0x26b)]]}))})))[_0x429e5f(0x140)](_0xbe7958=>{const _0x5c5689=_0x429e5f;if(this[_0x5c5689(0x1da)](),_0xbe7958){const {skeleton:_0x2ed3f1,cursors:_0x168cc9}=_0xbe7958;this[_0x5c5689(0x3fb)](_0x2ed3f1,_0x168cc9);}})),this['_initResize'](),this[_0x429e5f(0x498)]();}['_updateCollabCursors'](_0x5661fb,_0x2c4a1f){const _0x40c74e=_0x2025fc,{scene:_0x33b72f,mainComponent:_0x1e52f7}=this['_context'],_0x116dfc=_0x2c4a1f['map'](_0x3221d3=>new ri(_0x3221d3,_0x33b72f,_0x5661fb,_0x1e52f7));this[_0x40c74e(0x1d2)]=_0x116dfc,this[_0x40c74e(0x449)]=_0x2c4a1f;}[_0x2025fc(0x130)](){const _0x2e4043=_0x2025fc;this[_0x2e4043(0x1da)]();const {scene:_0x13951b,mainComponent:_0x4386c6}=this[_0x2e4043(0x294)],_0x3e5319=this['_docSkeletonManagerService'][_0x2e4043(0x240)](),_0x3f87de=this[_0x2e4043(0x449)][_0x2e4043(0x23a)](_0xdf5ba=>new ri(_0xdf5ba,_0x13951b,_0x3e5319,_0x4386c6));this['_cursorShapes']=_0x3f87de;}[_0x2025fc(0x1da)](){const _0x3cc48f=_0x2025fc;this[_0x3cc48f(0x1d2)][_0x3cc48f(0x2e1)](_0x3eade5=>_0x3eade5[_0x3cc48f(0x1e5)]()),this[_0x3cc48f(0x1d2)]=[];}[_0x2025fc(0x498)](){const _0x1c7244=_0x2025fc,_0x27f111=[_0x3c0f91['id']];this[_0x1c7244(0x10c)](this['_commandService'][_0x1c7244(0x18a)](_0x18407c=>{const _0x74fd2c=_0x1c7244;_0x27f111[_0x74fd2c(0xd3)](_0x18407c['id'])&&_0x18407c[_0x74fd2c(0x3a0)][_0x74fd2c(0x273)]===this['_context']['unitId']&&this[_0x74fd2c(0x130)]();}));}[_0x2025fc(0x14a)](){const _0x2cc7fa=_0x2025fc;this[_0x2cc7fa(0x10c)](_0x2095a5(this[_0x2cc7fa(0x294)][_0x2cc7fa(0x2d1)][_0x2cc7fa(0x222)])[_0x2cc7fa(0x150)](_0xa0d892(_0x46acb4=>_0x46acb4[_0x2cc7fa(0x442)]===_0x3f5711[_0x2cc7fa(0x464)]),_0x300e66(0x10))[_0x2cc7fa(0x140)](()=>{const _0x180e1a=_0x2cc7fa;this[_0x180e1a(0x130)]();}));}};fs=_a([ht(0x1,_0x5847bf(_0x4e067d)),ht(0x2,_0x5847bf(Ve)),ht(0x3,_0x28287a),ht(0x4,_0x5847bf(_0x14c134))],fs);const ua=0x1,da=1.5;class fa extends _0x280f32{constructor(_0x11855d,_0x19a383){const _0x2865e3=_0x2025fc;super(_0x11855d,_0x19a383),g(this,_0x2865e3(0x426)),g(this,_0x2865e3(0x26c),!0x1),g(this,'_range'),g(this,'_name',''),g(this,_0x2865e3(0x499),'top'),g(this,_0x2865e3(0x490)),(_0x19a383&&this[_0x2865e3(0x2b1)](_0x19a383),this[_0x2865e3(0x2bd)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2865e3(0x121)][_0x2865e3(0x113)](()=>this[_0x2865e3(0x2b1)]({'hovered':!0x1})));}[_0x2025fc(0x2b1)](_0x2cc4d8){const _0x215cdf=_0x2025fc;var _0x43b883,_0x484081,_0x3a973c,_0xbd5cd0,_0x2d7850,_0x1bdd8c;this[_0x215cdf(0x426)]=(_0x43b883=_0x2cc4d8[_0x215cdf(0x26b)])!=null?_0x43b883:this[_0x215cdf(0x426)],this[_0x215cdf(0x26c)]=(_0x484081=_0x2cc4d8[_0x215cdf(0x237)])!=null?_0x484081:this[_0x215cdf(0x26c)],this['_range']=(_0x3a973c=_0x2cc4d8[_0x215cdf(0x200)])!=null?_0x3a973c:this[_0x215cdf(0xd1)],this['_name']=(_0xbd5cd0=_0x2cc4d8[_0x215cdf(0x1c7)])!=null?_0xbd5cd0:this[_0x215cdf(0x386)],this['_labelPosition']=(_0x2d7850=_0x2cc4d8[_0x215cdf(0x2f8)])!=null?_0x2d7850:this['_labelPosition'],this[_0x215cdf(0x490)]=(_0x1bdd8c=_0x2cc4d8['backgroundColor'])!=null?_0x1bdd8c:this[_0x215cdf(0x490)],this[_0x215cdf(0xed)]({'width':_0x2cc4d8[_0x215cdf(0x478)],'height':_0x2cc4d8[_0x215cdf(0x3b4)]});}[_0x2025fc(0x47b)](_0x49ab97){const _0x52cb59=_0x2025fc,{row:_0x333170,column:_0x579a2b}=_0x49ab97;if(_0x333170>=this[_0x52cb59(0xd1)][_0x52cb59(0x23d)]&&_0x333170<=this[_0x52cb59(0xd1)][_0x52cb59(0x402)]&&_0x579a2b>=this[_0x52cb59(0xd1)]['startColumn']&&_0x579a2b<=this[_0x52cb59(0xd1)][_0x52cb59(0x483)]){this[_0x52cb59(0x2b1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0xc8ac10){return!0x1;}[_0x2025fc(0x368)](_0x1e6c6b){const _0x8db5d7=_0x2025fc;_0x10cdd3['drawWith'](_0x1e6c6b,{'width':this[_0x8db5d7(0x478)],'height':this[_0x8db5d7(0x3b4)],'strokeWidth':da,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x8db5d7(0x490)]}),this[_0x8db5d7(0x26c)]&&(_0x1e6c6b[_0x8db5d7(0x14f)](),_0x1e6c6b[_0x8db5d7(0x441)](0x1,0x0,0x0,0x1,this[_0x8db5d7(0x478)],this[_0x8db5d7(0x499)]===_0x8db5d7(0x48a)?0x0:-nt),Bt[_0x8db5d7(0xac)](_0x1e6c6b,{'text':this[_0x8db5d7(0x386)],'color':this['_color']}),_0x1e6c6b[_0x8db5d7(0x309)]());}}var va=Object[_0x2025fc(0x385)],pa=Object[_0x2025fc(0x18c)],ma=(_0x17380b,_0x42ade6,_0x2e1296,_0x104633)=>{const _0x937611=_0x2025fc;for(var _0x285501=_0x104633>0x1?void 0x0:_0x104633?pa(_0x42ade6,_0x2e1296):_0x42ade6,_0x33c0c7=_0x17380b[_0x937611(0x161)]-0x1,_0x1808c1;_0x33c0c7>=0x0;_0x33c0c7--)(_0x1808c1=_0x17380b[_0x33c0c7])&&(_0x285501=(_0x104633?_0x1808c1(_0x42ade6,_0x2e1296,_0x285501):_0x1808c1(_0x285501))||_0x285501);return _0x104633&&_0x285501&&va(_0x42ade6,_0x2e1296,_0x285501),_0x285501;},es=(_0x55d5da,_0x2cf7ac)=>(_0x4a5cfe,_0x4f6a7b)=>_0x2cf7ac(_0x4a5cfe,_0x4f6a7b,_0x55d5da);const ga=0x1389;let vs=class extends _0x5ec0cb{constructor(_0x3e7ba9,_0x281192,_0x451f11,_0x13d35a){const _0x503ae4=_0x2025fc;super(),g(this,'_cursors',new Set()),g(this,'_lastPointer',null),(this[_0x503ae4(0x294)]=_0x3e7ba9,this[_0x503ae4(0x14d)]=_0x281192,this['_collabCursorController']=_0x451f11,this[_0x503ae4(0x1c8)]=_0x13d35a,this[_0x503ae4(0x100)]());}[_0x2025fc(0x100)](){const _0x27eeab=_0x2025fc;this[_0x27eeab(0x14d)]['currentSkeleton$'][_0x27eeab(0x150)](_0xc7ed86(this[_0x27eeab(0x345)]),_0x51df4e(_0x5b03c4=>{const _0x271013=_0x27eeab;if(_0x5b03c4){const _0x4b48a9=_0x5b03c4[_0x271013(0x12c)];return _0x238a3a(this[_0x271013(0xab)][_0x271013(0x327)](this['_context'][_0x271013(0x273)]),this['_themeService'][_0x271013(0x3e9)])['pipe'](_0xb11c2f(([_0x3913ed,_0x33a1d1])=>{const _0x243915=_0x271013,_0x733044=new Map();return _0x3913ed[_0x243915(0x2e1)]((_0xf8165f,_0x487239)=>{const _0x2d1382=_0x243915;if(_0xf8165f[_0x2d1382(0x4aa)]===_0x4b48a9){const _0x195d5a={..._0xf8165f};_0x195d5a['color']=_0x33a1d1[_0xf8165f[_0x2d1382(0x26b)]],_0x733044[_0x2d1382(0x39c)](_0x487239,_0x195d5a);}}),{'skeleton':_0x5b03c4,'cursors':_0x733044};}));}return _0x43d0da({'skeleton':null,'cursors':new Map()});}))[_0x27eeab(0x140)](({skeleton:_0x4dd941,cursors:_0x4d3c2c})=>{const _0x331b3b=_0x27eeab;this[_0x331b3b(0x1da)](),_0x4dd941&&this['_updateCollabCursors'](_0x4dd941,_0x4d3c2c);}),this[_0x27eeab(0x14d)][_0x27eeab(0x3fa)]['subscribe'](_0x55bc18=>{const _0xc9f64f=_0x27eeab;if(_0x55bc18==null)return;const {skeleton:_0x5226fc}=_0x55bc18,{scene:_0x5778e0}=this[_0xc9f64f(0x294)];_0x5778e0[_0xc9f64f(0x20d)][_0xc9f64f(0x113)](_0x26c09b(_0x4f6038=>{const _0xb32ee5=_0xc9f64f;var _0x871e8b,_0x1cc21e;const {offsetX:_0x11ceef,offsetY:_0x30ac69}=_0x4f6038,{x:_0x43a276,y:_0x47e2f}=_0x5778e0['getRelativeToViewportCoord'](_0x483d6a[_0xb32ee5(0x3f5)]([_0x11ceef,_0x30ac69])),{scaleX:_0x5610a5,scaleY:_0x84066b}=_0x5778e0[_0xb32ee5(0x277)](),_0x528f7a=_0x5778e0[_0xb32ee5(0x20b)](_0x5a71d0['VIEW_MAIN']),_0x695cb5=_0x5778e0['getVpScrollXYInfoByPosToVp'](_0x483d6a[_0xb32ee5(0x3f5)]([_0x43a276,_0x47e2f]),_0x528f7a),_0x49e1dc=_0x5226fc[_0xb32ee5(0x169)](_0x11ceef,_0x30ac69,_0x5610a5,_0x84066b,_0x695cb5);((_0x871e8b=this[_0xb32ee5(0x195)])==null?void 0x0:_0x871e8b[_0xb32ee5(0x1d6)])===_0x49e1dc[_0xb32ee5(0x1d6)]&&((_0x1cc21e=this['_lastPointer'])==null?void 0x0:_0x1cc21e[_0xb32ee5(0x18f)])===_0x49e1dc[_0xb32ee5(0x18f)]||this[_0xb32ee5(0x449)][_0xb32ee5(0x2e1)](_0x9adca4=>{_0x9adca4['onMouseMove'](_0x49e1dc);});},0x64));});}[_0x2025fc(0x3fb)](_0x584d23,_0x5c02c8){const _0x52ece7=_0x2025fc;var _0x4299a5;const _0x3ecce2=(_0x4299a5=this['_sheetSkeletonManagerService'][_0x52ece7(0x2f5)]())==null?void 0x0:_0x4299a5[_0x52ece7(0x440)];if(!_0x3ecce2)return;const _0x48b17b=this[_0x52ece7(0x454)]();if(!_0x48b17b)return;this[_0x52ece7(0x449)][_0x52ece7(0x2e1)](_0x2abf16=>{const _0x5ec7d1=_0x52ece7;_0x2abf16[_0x5ec7d1(0x203)]();});const {scene:_0x200e3e}=_0x48b17b,_0x2cdbd8=Sa(Array['from'](_0x5c02c8[_0x52ece7(0x3ed)]()))[_0x52ece7(0x23a)](_0x4b3afc=>{const _0x29fa09=_0x52ece7,{color:_0x56c877,range:_0x33cd8f,name:_0x4de9d5,selection:_0x3a3dac,sheetID:_0x386905}=_0x4b3afc,{startColumn:_0x2088ef,startRow:_0x3058c8,endColumn:_0x2e50d6,endRow:_0x1aed29}=_0x33cd8f,_0x5ecfae=_0x473bbb(_0x3058c8,_0x2088ef,_0x200e3e,_0x3ecce2),_0x3b83f6=_0x473bbb(_0x1aed29,_0x2e50d6,_0x200e3e,_0x3ecce2),{columnHeaderHeightAndMarginTop:_0x404c9f}=_0x3ecce2,{startX:_0x261f2f,startY:_0x20529f}=_0x5ecfae,{endX:_0x20cf14,endY:_0x96bebc}=_0x3b83f6,_0x43a374=_0x20cf14-_0x261f2f,_0x5e4653=_0x96bebc-_0x20529f,_0x199e16={'labelPosition':_0x20529f-_0x404c9f>=nt?_0x29fa09(0x37f):_0x29fa09(0x48a),'sheetID':_0x386905,'range':_0x33cd8f,'color':_0x56c877,'name':_0x4de9d5,'selection':_0x3a3dac,'left':_0x261f2f,'top':_0x20529f,'width':_0x43a374,'height':_0x5e4653,'evented':!0x1,'zIndex':ga};return new fa(_0x4de9d5,_0x199e16);});_0x200e3e[_0x52ece7(0x372)](_0x2cdbd8,ua),this['_cursors']=new Set(_0x2cdbd8);}['_removeCollabCursors'](){const _0x4d896f=_0x2025fc;var _0x56ac80;(_0x56ac80=this[_0x4d896f(0x449)])==null||_0x56ac80['forEach'](_0x5522cf=>_0x5522cf['dispose']());}[_0x2025fc(0x454)](){const _0x4e065a=_0x2025fc;return _0x10d32f(this[_0x4e065a(0x294)][_0x4e065a(0x2bb)],this[_0x4e065a(0x294)]);}};vs=ma([es(0x1,_0x5847bf(_0x46c626)),es(0x2,_0x5847bf(Ve)),es(0x3,_0x5847bf(_0x14c134))],vs);function Sa(_0x172ff7){const _0x98b58c=_0x2025fc,_0x126495=new Map();return _0x172ff7[_0x98b58c(0x2e1)](_0xba9fe1=>{const _0x26854d=_0x98b58c;if(_0x126495[_0x26854d(0x24c)](_0xba9fe1[_0x26854d(0x43b)])){const _0x366733=_0x126495[_0x26854d(0x33e)](_0xba9fe1[_0x26854d(0x43b)]);_0x366733[_0x26854d(0x1c7)]+=',\x20'+_0xba9fe1[_0x26854d(0x1c7)];}else _0x126495[_0x26854d(0x39c)](_0xba9fe1['selection'],_0xba9fe1);}),Array[_0x98b58c(0x11c)](_0x126495['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x3340ed){const _0x5904cd=_0x2025fc;return _0x3340ed&&_0x3340ed[_0x5904cd(0x229)]&&Object[_0x5904cd(0x33f)]['hasOwnProperty'][_0x5904cd(0x494)](_0x3340ed,_0x5904cd(0x3c8))?_0x3340ed['default']:_0x3340ed;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x4be54b=_0x2025fc;if(ni)return Ze;ni=0x1;var _0x23d010=_0x3f0cf0,_0x32b869=Symbol[_0x4be54b(0x146)](_0x4be54b(0x39d)),_0xae1650=Symbol[_0x4be54b(0x146)](_0x4be54b(0x36c)),_0x5f3768=Object[_0x4be54b(0x33f)][_0x4be54b(0x413)],_0x16c004=_0x23d010[_0x4be54b(0x13b)]['ReactCurrentOwner'],_0x353bcc={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x115fda(_0x28b8d0,_0x3f5bbd,_0xdb1dfc){const _0x31043e=_0x4be54b;var _0x292d5e,_0x12742f={},_0x3e7e02=null,_0x2a76f8=null;_0xdb1dfc!==void 0x0&&(_0x3e7e02=''+_0xdb1dfc),_0x3f5bbd[_0x31043e(0x45c)]!==void 0x0&&(_0x3e7e02=''+_0x3f5bbd[_0x31043e(0x45c)]),_0x3f5bbd['ref']!==void 0x0&&(_0x2a76f8=_0x3f5bbd['ref']);for(_0x292d5e in _0x3f5bbd)_0x5f3768['call'](_0x3f5bbd,_0x292d5e)&&!_0x353bcc['hasOwnProperty'](_0x292d5e)&&(_0x12742f[_0x292d5e]=_0x3f5bbd[_0x292d5e]);if(_0x28b8d0&&_0x28b8d0['defaultProps']){for(_0x292d5e in(_0x3f5bbd=_0x28b8d0[_0x31043e(0x485)],_0x3f5bbd))_0x12742f[_0x292d5e]===void 0x0&&(_0x12742f[_0x292d5e]=_0x3f5bbd[_0x292d5e]);}return{'$$typeof':_0x32b869,'type':_0x28b8d0,'key':_0x3e7e02,'ref':_0x2a76f8,'props':_0x12742f,'_owner':_0x16c004[_0x31043e(0x122)]};}return Ze[_0x4be54b(0xbb)]=_0xae1650,Ze[_0x4be54b(0x4b9)]=_0x115fda,Ze[_0x4be54b(0x110)]=_0x115fda,Ze;}var oi;function Ca(){const _0xe5f7ae=_0x2025fc;return oi||(oi=0x1,ss['exports']=Ia()),ss[_0xe5f7ae(0x317)];}var De=Ca(),te=function(){const _0x16f379=_0x2025fc;return te=Object['assign']||function(_0x5dee62){const _0x1167ee=_0x46d8;for(var _0x3ed36f,_0x10f76f=0x1,_0x26ae3c=arguments[_0x1167ee(0x161)];_0x10f76f<_0x26ae3c;_0x10f76f++){_0x3ed36f=arguments[_0x10f76f];for(var _0x1c1189 in _0x3ed36f)Object[_0x1167ee(0x33f)][_0x1167ee(0x413)][_0x1167ee(0x494)](_0x3ed36f,_0x1c1189)&&(_0x5dee62[_0x1c1189]=_0x3ed36f[_0x1c1189]);}return _0x5dee62;},te[_0x16f379(0x38b)](this,arguments);},Ea=function(_0x29979d,_0xf5431c){const _0x56210b=_0x2025fc;var _0x430ffa={};for(var _0x273633 in _0x29979d)Object['prototype'][_0x56210b(0x413)][_0x56210b(0x494)](_0x29979d,_0x273633)&&_0xf5431c[_0x56210b(0x1a5)](_0x273633)<0x0&&(_0x430ffa[_0x273633]=_0x29979d[_0x273633]);if(_0x29979d!=null&&typeof Object[_0x56210b(0x35d)]==_0x56210b(0x2d6)){for(var _0x1bb0c9=0x0,_0x273633=Object[_0x56210b(0x35d)](_0x29979d);_0x1bb0c9<_0x273633[_0x56210b(0x161)];_0x1bb0c9++)_0xf5431c[_0x56210b(0x1a5)](_0x273633[_0x1bb0c9])<0x0&&Object[_0x56210b(0x33f)][_0x56210b(0x227)][_0x56210b(0x494)](_0x29979d,_0x273633[_0x1bb0c9])&&(_0x430ffa[_0x273633[_0x1bb0c9]]=_0x29979d[_0x273633[_0x1bb0c9]]);}return _0x430ffa;},Us=_0x338e7b(function(_0x43d089,_0x306b76){const _0x21727b=_0x2025fc;var _0x23b322=_0x43d089[_0x21727b(0x213)],_0x3b36b9=_0x43d089['id'],_0x5ae39c=_0x43d089[_0x21727b(0x46c)],_0x2567fa=_0x43d089['extend'],_0x115f1c=Ea(_0x43d089,[_0x21727b(0x213),'id',_0x21727b(0x46c),'extend']),_0x50534e='univerjs-icon\x20univerjs-icon-'['concat'](_0x3b36b9,'\x20')['concat'](_0x5ae39c||'')['trim'](),_0x419fba=_0x28ff08('_'[_0x21727b(0x40a)](Ra()));return Zi(_0x23b322,''[_0x21727b(0x40a)](_0x3b36b9),{'defIds':_0x23b322[_0x21727b(0x428)],'idSuffix':_0x419fba[_0x21727b(0x122)]},te({'ref':_0x306b76,'className':_0x50534e},_0x115f1c),_0x2567fa);});function Zi(_0x30c318,_0x5384ca,_0x30d4f6,_0x55f5c9,_0x4512e3){const _0x367eed=_0x2025fc;return _0x10eb66(_0x30c318['tag'],te(te({'key':_0x5384ca},ba(_0x30c318,_0x30d4f6,_0x4512e3)),_0x55f5c9),(Ta(_0x30c318,_0x30d4f6)[_0x367eed(0x32c)]||[])[_0x367eed(0x23a)](function(_0x366425,_0x43eb0d){const _0x4eaa2b=_0x367eed;return Zi(_0x366425,''[_0x4eaa2b(0x40a)](_0x5384ca,'-')['concat'](_0x30c318[_0x4eaa2b(0x40b)],'-')['concat'](_0x43eb0d),_0x30d4f6,void 0x0,_0x4512e3);}));}function ba(_0x2033eb,_0x1dcdc3,_0x5d46eb){const _0x47816b=_0x2025fc;var _0x5aa307=te({},_0x2033eb['attrs']);_0x5d46eb!=null&&_0x5d46eb[_0x47816b(0x18b)]&&_0x5aa307[_0x47816b(0x46e)]===_0x47816b(0x18b)&&(_0x5aa307[_0x47816b(0x46e)]=_0x5d46eb['colorChannel1']);var _0x117dfd=_0x1dcdc3[_0x47816b(0x428)];return!_0x117dfd||_0x117dfd['length']===0x0||(_0x2033eb[_0x47816b(0x40b)]==='use'&&_0x5aa307[_0x47816b(0x29a)]&&(_0x5aa307[_0x47816b(0x29a)]=_0x5aa307[_0x47816b(0x29a)]+_0x1dcdc3[_0x47816b(0xd6)]),Object[_0x47816b(0xf5)](_0x5aa307)[_0x47816b(0x2e1)](function(_0x5b168c){const _0x526f5a=_0x47816b;var _0x37f5e2=_0x5b168c[0x0],_0x104eef=_0x5b168c[0x1];typeof _0x104eef=='string'&&(_0x5aa307[_0x37f5e2]=_0x104eef[_0x526f5a(0x11f)](/url\(#(.*)\)/,'url(#$1'[_0x526f5a(0x40a)](_0x1dcdc3[_0x526f5a(0xd6)],')')));})),_0x5aa307;}function Ta(_0x360076,_0x4667c5){const _0x2f633e=_0x2025fc;var _0x263520,_0x14c12b=_0x4667c5[_0x2f633e(0x428)];return!_0x14c12b||_0x14c12b[_0x2f633e(0x161)]===0x0?_0x360076:_0x360076['tag']===_0x2f633e(0x443)&&(!((_0x263520=_0x360076['children'])===null||_0x263520===void 0x0)&&_0x263520[_0x2f633e(0x161)])?te(te({},_0x360076),{'children':_0x360076['children'][_0x2f633e(0x23a)](function(_0x324b6e){const _0x3423e7=_0x2f633e;return typeof _0x324b6e[_0x3423e7(0xf3)]['id']==_0x3423e7(0x151)&&_0x14c12b&&_0x14c12b[_0x3423e7(0x1a5)](_0x324b6e[_0x3423e7(0xf3)]['id'])>-0x1?te(te({},_0x324b6e),{'attrs':te(te({},_0x324b6e[_0x3423e7(0xf3)]),{'id':_0x324b6e[_0x3423e7(0xf3)]['id']+_0x4667c5[_0x3423e7(0xd6)]})}):_0x324b6e;})}):_0x360076;}function Ra(){const _0x328892=_0x2025fc;return Math['random']()[_0x328892(0x135)](0x24)[_0x328892(0x1ec)](0x2,0x8);}Us[_0x2025fc(0x44d)]=_0x2025fc(0x265);var Oa={'tag':_0x2025fc(0x39f),'attrs':{'fill':_0x2025fc(0xe7),'viewBox':_0x2025fc(0x182),'width':_0x2025fc(0x2f0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2025fc(0x167)},'children':[{'tag':'path','attrs':{'stroke':_0x2025fc(0x3a1),'d':_0x2025fc(0xd2),'strokeLinecap':'round','strokeLinejoin':_0x2025fc(0xe9),'strokeWidth':1.2}}]},{'tag':_0x2025fc(0x443),'attrs':{},'children':[{'tag':_0x2025fc(0x243),'attrs':{'id':_0x2025fc(0x425)},'children':[{'tag':_0x2025fc(0x320),'attrs':{'fill':'#fff','d':_0x2025fc(0x215)}}]}]}],'defIds':[_0x2025fc(0x425)]},Qi=_0x338e7b(function(_0x28794b,_0x426148){const _0x21423a=_0x2025fc;return _0x10eb66(Us,Object[_0x21423a(0x20c)]({},_0x28794b,{'id':'off-line-single','ref':_0x426148,'icon':Oa}));});Qi[_0x2025fc(0x44d)]='OffLineSingle';var ya={'tag':_0x2025fc(0x39f),'attrs':{'fill':_0x2025fc(0xe7),'viewBox':_0x2025fc(0x49c),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2025fc(0x320),'attrs':{'stroke':_0x2025fc(0x3a1),'d':_0x2025fc(0x244),'strokeLinecap':_0x2025fc(0xe9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2025fc(0x443),'attrs':{},'children':[{'tag':_0x2025fc(0x243),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2025fc(0x48b),'d':_0x2025fc(0x215),'transform':_0x2025fc(0x24b)}}]}]}],'defIds':[_0x2025fc(0x1b7)]},er=_0x338e7b(function(_0x3e82a8,_0x528e3a){const _0x40ff6f=_0x2025fc;return _0x10eb66(Us,Object[_0x40ff6f(0x20c)]({},_0x3e82a8,{'id':_0x40ff6f(0x16f),'ref':_0x528e3a,'icon':ya}));});er[_0x2025fc(0x44d)]=_0x2025fc(0x1f9);function tr(_0x4c1e51){const _0x25188e=_0x2025fc;var _0x16a9a0,_0x54776e,_0x54f225='';if(typeof _0x4c1e51==_0x25188e(0x151)||typeof _0x4c1e51==_0x25188e(0xc7))_0x54f225+=_0x4c1e51;else{if(typeof _0x4c1e51==_0x25188e(0x297)){if(Array[_0x25188e(0x287)](_0x4c1e51)){var _0x7f7dbb=_0x4c1e51[_0x25188e(0x161)];for(_0x16a9a0=0x0;_0x16a9a0<_0x7f7dbb;_0x16a9a0++)_0x4c1e51[_0x16a9a0]&&(_0x54776e=tr(_0x4c1e51[_0x16a9a0]))&&(_0x54f225&&(_0x54f225+='\x20'),_0x54f225+=_0x54776e);}else{for(_0x54776e in _0x4c1e51)_0x4c1e51[_0x54776e]&&(_0x54f225&&(_0x54f225+='\x20'),_0x54f225+=_0x54776e);}}}return _0x54f225;}function wa(){const _0x5220e5=_0x2025fc;for(var _0x36eeb1,_0x3ad1e8,_0xefd7b0=0x0,_0x2d88af='',_0x32aa87=arguments[_0x5220e5(0x161)];_0xefd7b0<_0x32aa87;_0xefd7b0++)(_0x36eeb1=arguments[_0xefd7b0])&&(_0x3ad1e8=tr(_0x36eeb1))&&(_0x2d88af&&(_0x2d88af+='\x20'),_0x2d88af+=_0x3ad1e8);return _0x2d88af;}const Da='univer-online-status-icon',Pa=_0x2025fc(0x295),Na='univer-online-status',Ua=_0x2025fc(0x11d),Aa=_0x2025fc(0x3e7),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x2cd0ff){const _0x3e6472=_0x2025fc;switch(_0x2cd0ff){case J['OFFLINE']:return'collabStatus.offline';case J['CONFLICT']:return _0x3e6472(0x415);case J[_0x3e6472(0x2d7)]:return _0x3e6472(0x433);case J[_0x3e6472(0x174)]:return _0x3e6472(0x466);case J[_0x3e6472(0x236)]:case J['AWAITING_WITH_PENDING']:return _0x3e6472(0x1b9);case J[_0x3e6472(0x274)]:case J[_0x3e6472(0x469)]:return'collabStatus.synced';}}function xa(_0x442d0e){const _0x4d3989=_0x2025fc,{status$:_0x1929b8}=_0x442d0e,_0x2d39c2=_0x5dcc9e(_0x1929b8,J[_0x4d3989(0x174)]),_0x46197f=_0x121dc7(_0x4b4756),_0x121ffb=_0x121dc7(xe),_0x1517c4=_0x2d39c2!==J[_0x4d3989(0x23c)],_0x5abe1f=_0x46197f['t'](Ma(_0x2d39c2)),_0x47bc11=wa(Qe['onlineStatus'],{[Qe[_0x4d3989(0x219)]]:_0x1517c4,[Qe[_0x4d3989(0x13e)]]:!_0x1517c4}),_0x2b5551=_0x1517c4?De['jsx'](er,{}):De['jsx'](Qi,{}),_0x2b07cc=_0x2496ba(()=>{const _0x4b19c3=_0x4d3989;_0x1517c4||_0x121ffb[_0x4b19c3(0x35e)]();},[_0x1517c4,_0x121ffb]);function _0x96c3ab(){const _0x56af11=_0x4d3989;return De[_0x56af11(0x110)](_0x56af11(0x192),{'className':_0x47bc11,'onClick':_0x2b07cc,'children':[De[_0x56af11(0x4b9)](_0x56af11(0x192),{'className':Qe[_0x56af11(0x1be)],'children':_0x2b5551}),De[_0x56af11(0x4b9)]('div',{'className':Qe['onlineStatusTitle'],'children':_0x5abe1f})]});}return _0x1517c4?_0x96c3ab():De[_0x4d3989(0x4b9)](_0x4ddf03,{'title':_0x46197f['t']('collab-client.tooltip.reconnect'),'children':_0x96c3ab()});}var La=Object[_0x2025fc(0x385)],$a=Object[_0x2025fc(0x18c)],Ha=(_0x279082,_0x17558f,_0x45f955,_0x227caf)=>{const _0x597949=_0x2025fc;for(var _0x1bd0d1=_0x227caf>0x1?void 0x0:_0x227caf?$a(_0x17558f,_0x45f955):_0x17558f,_0xd4b6e0=_0x279082[_0x597949(0x161)]-0x1,_0xc3e98c;_0xd4b6e0>=0x0;_0xd4b6e0--)(_0xc3e98c=_0x279082[_0xd4b6e0])&&(_0x1bd0d1=(_0x227caf?_0xc3e98c(_0x17558f,_0x45f955,_0x1bd0d1):_0xc3e98c(_0x1bd0d1))||_0x1bd0d1);return _0x227caf&&_0x1bd0d1&&La(_0x17558f,_0x45f955,_0x1bd0d1),_0x1bd0d1;},lt=(_0xf4e819,_0x2d9199)=>(_0x4bc06a,_0x3bd00e)=>_0x2d9199(_0x4bc06a,_0x3bd00e,_0xf4e819);let At=class extends _0x24229e{constructor(_0x5c5324,_0x3bc8ed,_0x538326,_0x7ab99a){const _0x1b06b8=_0x2025fc;super(),g(this,_0x1b06b8(0x1ac),new _0x1074c2(J[_0x1b06b8(0x174)])),(this[_0x1b06b8(0x3cf)]=_0x5c5324,this[_0x1b06b8(0x3e2)]=_0x3bc8ed,this[_0x1b06b8(0x147)]=_0x538326,this['_collaborationController']=_0x7ab99a,this[_0x1b06b8(0x2cc)](),this[_0x1b06b8(0x4ab)]());}['_initStatusListener'](){const _0x1bf207=_0x2025fc;this[_0x1bf207(0x10c)](this[_0x1bf207(0x3cf)]['focused$']['pipe'](_0x4e1242(()=>{const _0x4ae648=_0x1bf207,_0x2874c9=this[_0x4ae648(0x3cf)]['getFocusedUnit']();return _0x2874c9?this[_0x4ae648(0x1f0)][_0x4ae648(0x403)](_0x2874c9[_0x4ae648(0x10b)]()):_0x43d0da(null);}),_0x4e1242(_0x1f5bd4=>_0x1f5bd4?_0x1f5bd4[_0x1bf207(0x1cf)]:_0x43d0da(J['NOT_COLLAB'])))[_0x1bf207(0x140)](_0x1efa99=>{const _0x203591=_0x1bf207;this[_0x203591(0x1ac)]['next'](_0x1efa99);}));}[_0x2025fc(0x2cc)](){const _0x4a15c1=_0x2025fc;this[_0x4a15c1(0x10c)](this['_uiPartsService']['registerComponent'](_0x2879fd[_0x4a15c1(0x25a)],()=>_0x556999(ja({'status$':this[_0x4a15c1(0x1ac)][_0x4a15c1(0xf7)]()}),this[_0x4a15c1(0x147)])));}};At=Ha([lt(0x0,_0x425cee),lt(0x1,_0x100c23),lt(0x2,_0x5847bf(_0x5d7671)),lt(0x3,_0x5847bf(rt))],At);function ja(_0x58b9a5){const {status$:_0x33afc2}=_0x58b9a5;return function(){const _0x22508f=_0x46d8;return De[_0x22508f(0x4b9)](xa,{'status$':_0x33afc2});};}const sr=_0x30094b(_0x2025fc(0xe1));var Ba=Object[_0x2025fc(0x385)],ka=Object[_0x2025fc(0x18c)],Wa=(_0x335559,_0x24945f,_0x284b0c,_0xaa5ae5)=>{for(var _0xb36413=_0xaa5ae5>0x1?void 0x0:_0xaa5ae5?ka(_0x24945f,_0x284b0c):_0x24945f,_0x14fb12=_0x335559['length']-0x1,_0x4cddc4;_0x14fb12>=0x0;_0x14fb12--)(_0x4cddc4=_0x335559[_0x14fb12])&&(_0xb36413=(_0xaa5ae5?_0x4cddc4(_0x24945f,_0x284b0c,_0xb36413):_0x4cddc4(_0xb36413))||_0xb36413);return _0xaa5ae5&&_0xb36413&&Ba(_0x24945f,_0x284b0c,_0xb36413),_0xb36413;},ke=(_0x24c065,_0x232318)=>(_0x5de502,_0x22d8d5)=>_0x232318(_0x5de502,_0x22d8d5,_0x24c065);let Mt=class extends _0x5ec0cb{constructor(_0x1e07a3,_0x5370b5,_0x502cf4,_0x3832a3,_0x5bc5d8,_0x4ee62e){const _0x162afe=_0x2025fc;super(),this['_urlService']=_0x1e07a3,this[_0x162afe(0xc1)]=_0x5370b5,this['_commandService']=_0x502cf4,this[_0x162afe(0x2a4)]=_0x3832a3,this[_0x162afe(0xd5)]=_0x5bc5d8,_0x4ee62e?_0x4ee62e==null||_0x4ee62e[_0x162afe(0x214)]()[_0x162afe(0x1c0)](()=>this[_0x162afe(0x100)]()):(this[_0x162afe(0xc1)][_0x162afe(0x456)](_0x162afe(0x307),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x162afe(0x100)]());}async[_0x2025fc(0x100)](){const _0x13f306=_0x2025fc,_0x593989=this[_0x13f306(0x371)][_0x13f306(0x30a)](_0x13f306(0x2bb)),_0x5723ac=this['_urlService'][_0x13f306(0x30a)](_0x13f306(0x442));if(!_0x593989||!_0x5723ac){this[_0x13f306(0xc1)][_0x13f306(0x456)]('[DataLoaderController]',_0x13f306(0x1b8));return;}switch(Number(_0x5723ac)){case ae[_0x13f306(0x4a6)]:{const _0x1783f5=await this[_0x13f306(0xfd)](_0x593989);this['_setupSubUnitSync'](_0x1783f5);break;}case ae['UNIVER_DOC']:{await this['_loadDoc'](_0x593989);break;}default:{this[_0x13f306(0xc1)]['error'](_0x13f306(0x307),_0x13f306(0x405));break;}}}async[_0x2025fc(0x115)](_0xb7ac47){const _0x530346=_0x2025fc;await this['_updateSubUnitFromURLParams'](_0xb7ac47),_0xb7ac47[_0x530346(0x232)][_0x530346(0x150)](_0x7b6507(this['dispose$']))[_0x530346(0x140)](_0x2424cb=>{const _0x4d8983=_0x530346;_0x2424cb&&this[_0x4d8983(0x3d5)](_0x2424cb);}),this[_0x530346(0x371)][_0x530346(0xb2)][_0x530346(0x150)](_0x7b6507(this[_0x530346(0x345)]))[_0x530346(0x140)](()=>this[_0x530346(0x281)](_0xb7ac47));}[_0x2025fc(0x3d5)](_0x3fc208,_0x27d98e=!0x1){const _0x3e5a11=_0x2025fc,_0x2f8252=this[_0x3e5a11(0x371)][_0x3e5a11(0x30a)](_0x3e5a11(0x35c));_0x3fc208[_0x3e5a11(0x369)]()!==_0x2f8252&&this[_0x3e5a11(0x371)][_0x3e5a11(0x43d)](_0x3e5a11(0x35c),_0x3fc208[_0x3e5a11(0x369)](),_0x27d98e);}async[_0x2025fc(0x281)](_0x455028){const _0x46159e=_0x2025fc;var _0x311bef;const _0x28ca29=this[_0x46159e(0x371)]['getParam']('subunit');if(!_0x28ca29||!_0x455028[_0x46159e(0xe2)](_0x28ca29)){const _0x180e0a=_0x455028['getUnhiddenWorksheets']()[0x0],_0xdeac75=_0x455028[_0x46159e(0xe2)](_0x180e0a);if(!_0xdeac75)return;this['_updateURLWithCurrentState'](_0xdeac75,!0x0),await this[_0x46159e(0x481)][_0x46159e(0x344)](_0x31bc6f['id'],{'unitId':_0x455028[_0x46159e(0x10b)](),'subUnitId':_0x180e0a});return;}((_0x311bef=_0x455028[_0x46159e(0x406)]())==null?void 0x0:_0x311bef[_0x46159e(0x369)]())!==_0x28ca29&&await this[_0x46159e(0x481)][_0x46159e(0x344)](_0x31bc6f['id'],{'unitId':_0x455028[_0x46159e(0x10b)](),'subUnitId':_0x28ca29});}async['_loadSheet'](_0x54262c){const _0x53ca76=_0x2025fc;let _0x509433=0x0;const _0xf128a5=await this[_0x53ca76(0x2a4)][_0x53ca76(0x3cc)](_0x54262c);return _0xf128a5&&(_0xf128a5['awaitingChangeset']||_0xf128a5[_0x53ca76(0x335)][_0x53ca76(0x161)]!==0x0)&&(_0x509433=_0xf128a5[_0x53ca76(0x220)]),_0x509433===0x0&&this[_0x53ca76(0xc1)]['debug'](_0x53ca76(0x307),_0x53ca76(0x2d2)),this[_0x53ca76(0xd5)]['loadSheet'](_0x54262c,_0x509433);}async['_loadDoc'](_0x308801){const _0x2fd233=_0x2025fc;let _0xf21ae=0x0;const _0x4db73e=await this['_localCacheService'][_0x2fd233(0x3cc)](_0x308801);return _0x4db73e&&(_0x4db73e[_0x2fd233(0x3b0)]||_0x4db73e[_0x2fd233(0x335)][_0x2fd233(0x161)]!==0x0)&&(_0xf21ae=_0x4db73e[_0x2fd233(0x220)]),_0xf21ae===0x0&&this['_logService']['debug']('[DataLoaderController]',_0x2fd233(0x2d2)),this[_0x2fd233(0xd5)][_0x2fd233(0x259)](_0x308801,_0xf21ae);}};function _0x5197(){const _0x4d5cc6=['path','#FFF','getStateCache','_doCryptBlock','mode','COLLAB_SUBMIT_CHANGESET_URL','getOffsetConfig','getCollabCursors$','_waitCount','[OfflineState]:\x20received\x20rejection.','byteLength','hostname','children','cmd','onSendChangeset','CHANGESET_SHOULD_RETRY','_getLoginPath','ALREADY_EXISTS','/unit/','[CollaborationState]:\x20apply\x20error!','[OfflineState]:\x20received\x20acknowledgement.','mutations','fillRule','_heartbeatTimer','transformUndoRedo','roles','reject','_startTelemetryCollaborationNewChangeset','url','startsWith','get','prototype','roomMembers','_getDownloadEndpointURL','_onRefRangeChange','_docSkeletonManagerService','executeCommand','dispose$','_clearCollaborationTimeoutTimer','undoState','_docTransformSelectionsService','JOINING','abs','_online','_unitOnClients','listCollaborators','getRangePointData','_schedule','_collaborationTimeoutTimer','_createInitialState','words','BlockCipherMode','rng','_iv','requestParams','symbol','popstate','docStateChange$','UNAUTHENTICATED','UNKNOWN_CODE','subunit','getOwnPropertySymbols','reconnect','_acknowledgedAwaitingChangeset','not_collab','state$','_messageService','_onRemoteChangeset','interceptor','INGEST','_handleEvent','_drawAnchor','_draw','getSheetId','encrypt','enableSingleActiveInstanceLock','react.fragment','moveTo','NEW_CHANGESETS','_substituteRedoStack','csShouldRetryEvent','_urlService','addObjects','ceil','liveShareNewHost','toggleOnline','reverse','fetch_missing','clamp','createCollaborator','_toggleOffline','_onCursorUpdate','FETCH_MISSING','_nDataBytes','userID','top','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaMsg','next','_imageSourceCache','patch','defineProperty','_name','LEAVE','IDLE','beginPath','\x20-\x20','apply','onTransformIME','LICENSE_DISTRO_REJECTED','UNIVER_UNKNOWN','setCurrentUser','liveShareOperation','getDocRanges','image/png','reduce','mixIn','all','_sendingTimer','/allowed','_pendingMutations','synced','snapshotServerUrl','collab-text-anchor-','set','react.element','transformMutationsWithChangeset','svg','params','currentColor','_initUnitPermissionChange','_transformPreviousActiveRange','collabWebSocketUrl','_clearScheduledTask','_eventUnsubscribe','_roomMembers','ENSURE_SNAPSHOT_EXECUTION','_localeService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_socketReady','UnitSnapshot','UNIVER_DOC','_state$','_createInitialStateImpl','awaitingChangeset','exhaustSavingTask','COMPRESS_MUTATION_APPLY','flatMap','height','purple300','_clearHeartbeatTimer','addImageSourceCache','_getCurrentRevision','Warning','repeat','padding','_changesetSessionId','unshift','_state','_hash','list','[CollaborationSession]','show','{fileID}','target','complete','_singleActiveUnitService','_hover','default','_replayCachedMutations','fetchThroughInterceptors','_exhaustRemoteChangesetQueue','loadOfflineData','_render','UUID','_univerInstanceService','_syncEditingCollabCursor','session.room-permission-denied','SHA1','commentUpdate$','createEncryptor','_updateURLWithCurrentState','_keyPriorReset','CHANGESET_ACK','\x0aCurrent:\x20','session.join-failed','_entities','_ENC_XFORM_MODE','USERS_LEAVE','YUUMI_UNABLE_LOAD_URL','members','_members','_onUserLeave','TOO_MANY_REQUESTS','_uiPartsService','getUnitType','_getAnchorBounding','newValue','socket\x20open.','univer-offline','UNDEFINED','currentTheme$','_onCombEvent','saveImage','searchParams','values','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','permissionRejEvent','decryptBlock','href','max','allowed','_handleLeaveEvent','FromArray','_HTTPService','Hasher','_roomMembers$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','currentSkeleton$','_updateCollabCursors','/universer-api/file/{fileID}/sign-url','clearInterval','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getFocusedUnit','message$','onTransformState','endRow','getCollabEntity$','_nRounds','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getActiveSheet','onload','_createSocketURL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','concat','tag','_getCtorByUniverType','requireSession','sendChangesetTimeout','onRemoteAck','retryConnectingInterval','PERMISSION_DENIED','onRemoteRetry','hasOwnProperty','[CollaborationSessionService]:\x20socket\x20error','collabStatus.conflict','closeSession','visibilityState','_transformHistoryAndStateStack','getMember','refreshPermission','enableAuthServer','_unitID','ERROR_EXCEED_SIZE','JOIN_ROOM_NOT_EXISTS','body','encode','_getRedoStack','transformRemoteChangeset','/universer-api/authz','fetching\x20missing\x20changesets\x20from\x20','off-line-single_clip0_910_343','_color','sid','defIds','_startCollaboration','getValue','collab-text-range-','failed\x20to\x20apply\x20missed\x20changesets!','_decreaseWaiting','objectActions','onRendered','getUnitStatus$','collaborators','[CollaborationUndoRedoService]','collabStatus.fetchMiss','_cipher','Undefined','fetchMissingChangesets','_checkMissing','text','_retryCount','_scheduleClearOtherTimer','selection','72kwfkCy','setParam','registerRefRange','CONNECTOR_DATA_TOO_LARGE','skeleton','transform','type','defs','_removeClearOtherTimer','POST','enableOfflineEditing','saveChangeset','/-/object/list','_cursors','override','_listenToOnlineEvent','LIVESHARE_OPERATION','displayName','_entityInit$','m1Prime','BufferedBlockAlgorithm','collabCursorState$','_handler','101836GxltVa','_getSheetObject','toRgbString','debug','subUnitId','revision','unit-cache-','_handleJoinEvent','NOT_FOUND','key','LOGIN_URL_KEY','_collaborationPaused','pad','localeService','_clearOtherTimers','subject','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','resize','_startSheetCollabCursor','collabStatus.notCollab','hide','compose','PENDING','pending','NO_OTHER_CLIENTS_EDITING','className','open$','fill','randomBytes','_transitionLocked','memberID','UNIVER_SLIDE','application/json','red300','collaboration-client.offline-data-not-saved','HEARTBEAT_TIMEOUT','fillStyle','width','Malformed\x20UTF-8\x20data','_shouldReportTelemetry','onMouseMove','UPDATE_PERMISSION_OBJ','_awaitingChangeset','YUUMI_RATE_OVER_LIMIT','_socketMessageSubscription','?url=','_commandService','measureText','endColumn','initWorkbookPermissionChange','defaultProps','_initMergeInterceptor','withCredentials','Utf8','_scheduleSaving','bottom','#fff','getImageSourceCache','joinRsp','random','slice','_backgroundColor','result','_tryEnsureSocket','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','call','doc.mutation.rich-text-editing','AUTHZ_URL_KEY','getCollabEntity','_initCommandExecutedListener','_labelPosition','actions','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','/object/','_unitStatus','registerRenderModule','_clearTimeoutTimer','image/gif','extend','sigBytes','JOIN_ROOM_FULL','HEARTBEAT','UNIVER_SHEET','_startDocCollabCursor','_resendTimer','_transformStack','sheetID','_initStatusListener','_tryReconnect','_unlockTransition','_ensureSubject','APPLY_NON_SEQUENTIAL_REVISION','add','clearTimeout','_send','_timeoutTimer','_onUserJoin','SUCCUSS','transformMutation','&assign=','arc','jsx','unload','_initRequestHeader','ACTIVE_UNIT_EVENT_CHANNEL','AWAITING_WITH_PENDING','buffer','ERROR_IMAGE_TYPE','onRemoteRej','_stopTelemetryCollaborationNewChangeset','put','_getSaveTimeout','Latin1','OTHER_CLIENTS_EDITING','_collabCursorController','drawWith','ONLINE','fromCollab','session.room-cnt-exceeds','PasswordBasedCipher','transformStack\x20failed!','urlChange$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_configService','_createHelper','_userManagerService','socket$','filter','_process','LIVESHARE_REQUEST_HOST','Fragment','_removeRoom','INTERNAL_ERROR','decrypt','update','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_logService','syncEditingCollabCursor','USERS_ENTER','imageSourceType','history','_listenToOfflineEvent','number','[PendingState]:\x20unhandled\x20univer\x20type:\x20','send','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformIMECache','startTime','_colorIndex','getAllMembers','charCodeAt','11373057DWoovu','_range','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','includes','_colorAssignService','_snapshotService','idSuffix','removeMember','resend','_transformSelections','_resendTimeout','enc','getSnapshotAPIPath','BlockCipher','COLLAB_WEB_SOCKET_URL','_onFetchMissResult','setAlpha','uni.network.url-service','getSheetBySheetId','_http','onStateChange','ranges','_type','none','_instanceService','round','JOIN','CipherParams','univer-pro.collaboration-client-socket-service','transformByState','280yTOAYS','getCurrentSelections','Hex','APPLY_PERMISSION_DENIED','editingUnit','attrs','_onConflict','entries','randomUUID','asObservable','_assignedColors','x-univer-host','onRemoteChangeset','editing\x20status\x20changed\x20to','AES','_loadSheet','onStarting','_compressMutationService','_init','APPLY_DUPLICATED','PERMISSION_REJ','conflict.content','UNRECOGNIZED','_onConnectionFailed','onTransformSelections','_hasher','HmacSHA1','_scheduleTimestamp','_docStateChangeManagerService','getUnitId','disposeWithMe','_DEC_XFORM_MODE','_getAPIPrefixPath','YUUMI_SUBSCRIPTION_NOT_FOUND','jsxs','storage','blockSize','subscribeEvent','29066wBmWdT','_setupSubUnitSync','clear','c2Prime','lib','getImage','charAt','_onMessage','from','univer-online','stringify','replace','OpenSSL','onPointerLeave$','current','_ws','[CollaborationEntity]','_showConflictNotification','formatter','floor','_transformService','UNKNOWN_CMD','createInstance','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','sheetId','_minBufferSize','selections','_getSessionTicket','_refreshCollabCursors','sessionTicket','_onRemoteRetry','getDeserializedSheetBlock','setConfig','toString','_docTransformStateCacheService','conflict','_initCloseConn','_incrementRevisionNumber','_submitChangeset','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','cursorInfo','_registerRenderDependencies','offline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','ivSize','event$','onMissedChangesetFetched','_snapshotServerService','msCrypto','for','_injector','originalMeta','_onOffline','_initResize','getCurrentUser','getRoom','_sheetSkeletonManagerService','LICENSE_MAX_UNITS_EXCEEDED','save','pipe','string','method','reqId','_updateStatus','_setupBeforeClosingHandler','_imageIoService','_getScale','onCommentUpdate','findNodePositionByCharIndex','_id','addClipboardHook','NoPadding','transformStateCache','HmacMD5','routeKey','resourceIDs','length','_queuedRemoteChangesets','connection\x20error','createSocket','delete','/rev/','url(#off-line-single_clip0_910_343)','_onJoinRoomEvent','getCellPositionByOffset','location','_config','_invKeySchedule','setTimeout','collaboration.single-unit.warning','on-line-single','collaboration.closeRoom','saveSheetBlock','/universer-api/snapshot/','_cachedData','NOT_COLLAB','jiqing500','hidden','LIVESHARE_FETCH_OPERATIONS','DeleteRangeMoveUpCommandId','code','&to=','post','HELLO','finalize','session','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REJ','_beforeCloseService','0\x200\x2016\x2016','collaboratorID','/universer-api/stream/file/upload','session.connection-failed','uploadFileServerUrl','_syncEditingCollabCursorService','_candidateSocket','commentUpdateEvent','onCommandExecuted','colorChannel1','getOwnPropertyDescriptor','_shapes','readAsDataURL','row','image/jpeg','_transformRemoteChangesetByIMECache','div','_onRemoteRejected','_getSendChangesetTimeout','_lastPointer','action','collaboration-client.config','_changesetReqId','_updateLocalCursor','error$','_saveTaskMap','[UniverCollaborationClientPlugin]','_updateState','isActive','_handleHover','[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.','collaboration-session-retry','permission.content','redoState','__creator','indexOf','getUnit','COMPRESS_MUTATION_SEND','_fetchMissChangesets','_getAPIPrefix','setItem','lineTo','_status$','_anchorDot','SUBMIT_CHANGESET','min','_revisionService','textRanges','_change$','_selfUnitIDs','algo','readInt32LE','visibilitychange','on-line-single_clip0_910_349','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.syncing','_drawTextRange','removeParam','with','infoRsp','onlineStatusIcon','_transformIMECache','then','awaiting_with_pending','_getMergeRange','awaiting','catch','getActiveRange','equals','name','_themeService','WordArray','LICENSE_IMPORT_SIZE_EXCEEDED','_getUndoStack','_rescheduleHeartbeat','_keySchedule','/block/','status$','_onRemoteACK','kdf','_cursorShapes','isPermissionRej','_onRecvEvent','FAIL','column','saveOfflineData','APPLY_REVISION_CONFILICT','now','_removeCollabCursors','objectID','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_toggleOnline','_reverseMap','...','unpad','318660LnECwi','_redoStacks','_clearUndo','substr','dispose','PERSON','HMAC','setShowComponents','_mode','_collabCursorState$','baseRev','substring','MoveRangeCommandId','_docSyncEditingCollabCursorService','objects','_collaborationController','loginUrlKey','InsertRangeMoveDownCommandId','MSG_FOR_ERROR','UNIVER_PROJECT','onSyncEditingCollabCursor','_docTransformIMECacheService','json','_clearLocalCache','OnLineSingle','/universer-api/comb','_cursor','RETRY_CONNECTING_MAX_COUNT','salt','_substituteUndoStack','sessionStatus$','range','29911320AsHNJH','socketService','makeDirty','_sendHeartbeat','Encryptor','close','_localStorageService','fromCharCode','getUndoRedoMutationParamsCache','roomMembers$','getViewport','assign','onPointerMove$','/universer-api/snapshot','_remoteChangesetQueue','generateRandomId','parse','_socket','icon','whenReady','M0\x200H16V16H0z','reset','getConfig','MD5','online','addObject','/collaborator','_onLocalMutation','setUndoRedoMutationParamsCache','_undoRedoService','getCurrentRevOfUnit','rev','crypto','onTransformChange$','authzUrl','format','_waitForHeartbeatResponse','sin','propertyIsEnumerable','_doReset','__esModule','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_initEventListeners','Base64','leaveEvent','_onConnectionOpen','push','_createHandler','transformSelections','activeSheet$','HEARTBEAT_INTERVAL','Pkcs7','updateCursorEvent','AWAITING','hovered','addEventListener','UnitEmbedded','map','capture','OFFLINE','startRow','LICENSE_EXPORT_SIZE_EXCEEDED','SHOULD_CLOSE_CONN','getSkeleton','_clearRedo','toggleOffline','clipPath','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','_append','RECT','RECV','unknown','_createSocket','_getUploadFileURL','translate(.97)','has','updateMember','sheets','5468865oAKzcg','cfg','&source=','encodeURIComponent','every','keySize','Decryptor','_parse','INVALID_ARGUMENT','ERROR_IMAGE','loadDoc','HEADER_MENU','cursorInfo$','origin','_commentService','getInterceptPoints','_iKey','listRoles','hasher','black','_sessions','_throwTelemetryCollaborationNewChangeset','UniverIcon','getRenderById','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/oidc/authpage','ticket','c1Prime','color','_hovered','46wsdAMK','getUniverSheetInstance','_transformStateCache','m2Prime','assignAColorForMemberID','\x20to\x20','unitId','SYNCED','/new_changes','stopTime','getAncestorScale','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','error','ciphertext','?size=','sessionStatus','create','_data','_onCursorDelete','_saveCache','_updateSubUnitFromURLParams','[OfflineState]:\x20received\x20changeset.','focused$','_oKey','responseType','getRandomValues','isArray','conflict.title','init','evenodd','eventID','headers','FileId','socket\x20close','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/resources','updateOfflineData','permission.title','Unknown\x20user','_context','univer-online-status-title','_document','object','Base','registerHTTPInterceptor','xlink:href','LIVESHARE_NEW_HOST','[CollaborationSessionService]','_lockTransition','_collabSessionService','_collaborationSessionService','data','telemetry\x20info\x20is\x20not\x20initialized','HttpImport','_createHmacHelper','_localCacheService','onMissingChangesets','CHANGESET_REVISION_CONFILICT','_scene','SNAPSHOT_HAS_BEEN_REMOVED','replaceState','avatar','copyFileMeta','size','deepClone','_executeRemoteChangeset','_initDependencies','_socket$','setShapeProps','SEND_CHANGESET_TIMEOUT','_commentUpdate$','_docClipboardService','_anchor','COMMENT_UPDATE','appendMutation','TEXT','_refRangeService','EvpKDF','unit','_map','onPointerEnter$','disableLocalCache','unitID','_applyRemoteChangeset','bind','createDecryptor','getTypeOfUnitAdded$','clone','MUTATION','split','_transformUndoRedoStack','registerBeforeClose','/-/object/-/batch_allowed','compute','pushState','_initStatusComponent','gold400','updatePermissionPoint','state','_resendWithTimeout','engine','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_undoStacks','_sender','_transformRemoteChangesetByStateCache','function','FETCH_MISS','_httpService','_disableEditing','InsertColCommandId','registerOnClose','execute','unsubscribe','\x20in\x20_schedule.','onlyLocal','_sendHeartbeatTimer','forEach','_retryConnectingTimer','_notificationService','_disabled','_telemetryInfo','objectType','_scheduleHeartbeat','status','_updateLocalCache','changesets','onTransformRemoteChangesetByStateCache','[SyncedState]:\x20received\x20rejection.','_transformUndoredo','Error','LIVESHARE_TERMINATE','1em','_sessionStatus$','getTypeOfUnitDisposed$','JOIN_ROOM_PERMISSION_DENIED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getCurrent','getTime','/role','labelPosition','replaceDocRanges','_permissionService','_handleHeartbeatEvent','join','fetchMiss','_textBubble','updateCollaborator','_hideTimer','transformChangesets','HttpExport','YUUMI_URL_COL_OUT_OF_RANGE','_event$','_prevBlock','_key','[DataLoaderController]','blue400','restore','getParam','csRejEvent','image/jpg','_socketService','42936Nwetvk','UPDATE_CURSOR','getResourcesRequest','_telemetryService','CONFLICT','_xformMode','change$','_scheduleCollaborationTimeoutTimer','getMemberID','exports','_session','_renderManagerService','_cursorInfo$','_sheetTransformSelectionsService','_memberService','Cipher','SerializableCipher','BASE64'];_0x5197=function(){return _0x4d5cc6;};return _0x5197();}Mt=Wa([ke(0x0,sr),ke(0x1,_0x49d195),ke(0x2,_0x28287a),ke(0x3,_0x5847bf(z)),ke(0x4,_0x5847bf(_0x3ef466)),ke(0x5,_0x133fb4(_0x3b46ab))],Mt);var Fa=Object[_0x2025fc(0x385)],Va=Object[_0x2025fc(0x18c)],Ga=(_0x2e2939,_0x5c4d2d,_0x48cdf2,_0x330165)=>{const _0x403702=_0x2025fc;for(var _0x317d64=_0x330165>0x1?void 0x0:_0x330165?Va(_0x5c4d2d,_0x48cdf2):_0x5c4d2d,_0x1f656f=_0x2e2939[_0x403702(0x161)]-0x1,_0x2ca9ad;_0x1f656f>=0x0;_0x1f656f--)(_0x2ca9ad=_0x2e2939[_0x1f656f])&&(_0x317d64=(_0x330165?_0x2ca9ad(_0x5c4d2d,_0x48cdf2,_0x317d64):_0x2ca9ad(_0x317d64))||_0x317d64);return _0x330165&&_0x317d64&&Fa(_0x5c4d2d,_0x48cdf2,_0x317d64),_0x317d64;},ai=(_0x17ec59,_0x3b2abb)=>(_0x18463a,_0x19d326)=>_0x3b2abb(_0x18463a,_0x19d326,_0x17ec59);const Ya='DEFAULT_FILE_NAME',Ka='Univer';let xt=class extends _0x24229e{constructor(_0x369fa9,_0x18770d){const _0x47cf3e=_0x2025fc;super(),this[_0x47cf3e(0x3cf)]=_0x369fa9,this[_0x47cf3e(0xb4)]=_0x18770d,this[_0x47cf3e(0x100)]();}[_0x2025fc(0x100)](){const _0x28f96=_0x2025fc;this['disposeWithMe'](this[_0x28f96(0x3cf)][_0x28f96(0x283)]['subscribe'](()=>{const _0x1766c1=_0x28f96;var _0x282296;const _0x24c51b=this[_0x1766c1(0x3cf)][_0x1766c1(0x3ff)]();let _0x4127e2=(_0x282296=this[_0x1766c1(0xb4)][_0x1766c1(0x217)](Ya))!=null?_0x282296:Ka;_0x24c51b instanceof _0x21f116&&(_0x4127e2=_0x24c51b['name']),document['title']=_0x4127e2;}));}};xt=Ga([ai(0x0,_0x425cee),ai(0x1,_0x4df844)],xt);var qa=Object['defineProperty'],za=Object[_0x2025fc(0x18c)],Xa=(_0x3a8bd8,_0x39b237,_0x597302,_0x2b8851)=>{const _0x3120f1=_0x2025fc;for(var _0x54edf7=_0x2b8851>0x1?void 0x0:_0x2b8851?za(_0x39b237,_0x597302):_0x39b237,_0x5ed1a1=_0x3a8bd8[_0x3120f1(0x161)]-0x1,_0x3fab3a;_0x5ed1a1>=0x0;_0x5ed1a1--)(_0x3fab3a=_0x3a8bd8[_0x5ed1a1])&&(_0x54edf7=(_0x2b8851?_0x3fab3a(_0x39b237,_0x597302,_0x54edf7):_0x3fab3a(_0x54edf7))||_0x54edf7);return _0x2b8851&&_0x54edf7&&qa(_0x39b237,_0x597302,_0x54edf7),_0x54edf7;},is=(_0x20bd93,_0x107893)=>(_0x1dfe25,_0x369054)=>_0x107893(_0x1dfe25,_0x369054,_0x20bd93);let Lt=class{constructor(_0x166ae8,_0x2e1659,_0x38a74b){const _0x469c14=_0x2025fc;this[_0x469c14(0xb4)]=_0x166ae8,this[_0x469c14(0x2d8)]=_0x2e1659,this[_0x469c14(0x460)]=_0x38a74b,this['init']();}[_0x2025fc(0x289)](){const _0xbeb9e3=_0x2025fc;this[_0xbeb9e3(0x2d8)][_0xbeb9e3(0x299)]({'priority':0x1,'interceptor':(_0x3e5f7f,_0x4806e5)=>_0x4806e5(_0x3e5f7f)[_0xbeb9e3(0x150)](_0x4ab7bd(async _0x4d1407=>{const _0x1161f8=_0xbeb9e3,_0x2e6f0f=_0x4d1407;if(_0x2e6f0f[_0x1161f8(0x2e8)]===0x191&&window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x4e2391=window[_0x1161f8(0x252)](window[_0x1161f8(0x16a)][_0x1161f8(0x3f1)]);window[_0x1161f8(0x16a)]['href']=this[_0x1161f8(0x330)]()+_0x1161f8(0x480)+_0x4e2391;}return _0x2e6f0f;}))});}[_0x2025fc(0x330)](){const _0x3882d7=_0x2025fc;var _0x2d8118,_0x14b9db;const _0x5c0028=this[_0x3882d7(0xb4)]['getConfig'](Hn),_0x545893=this[_0x3882d7(0xb4)]['getConfig'](Q);return(_0x14b9db=(_0x2d8118=_0x545893==null?void 0x0:_0x545893[_0x3882d7(0x1f1)])!=null?_0x2d8118:_0x5c0028)!=null?_0x14b9db:jn;}};Lt=Xa([is(0x0,_0x4df844),is(0x1,_0x5847bf(_0x310387)),is(0x2,_0x5847bf(_0x4b4756))],Lt);var Ja=Object[_0x2025fc(0x385)],Za=Object['getOwnPropertyDescriptor'],Qa=(_0xa78cf4,_0x1fe76e,_0x494151,_0x43ebc6)=>{const _0x2ea55d=_0x2025fc;for(var _0x2527a7=_0x43ebc6>0x1?void 0x0:_0x43ebc6?Za(_0x1fe76e,_0x494151):_0x1fe76e,_0x44b86e=_0xa78cf4[_0x2ea55d(0x161)]-0x1,_0x5bf5cc;_0x44b86e>=0x0;_0x44b86e--)(_0x5bf5cc=_0xa78cf4[_0x44b86e])&&(_0x2527a7=(_0x43ebc6?_0x5bf5cc(_0x1fe76e,_0x494151,_0x2527a7):_0x5bf5cc(_0x2527a7))||_0x2527a7);return _0x43ebc6&&_0x2527a7&&Ja(_0x1fe76e,_0x494151,_0x2527a7),_0x2527a7;},ci=(_0x5cf53a,_0x348d8b)=>(_0x343837,_0x3a54c8)=>_0x348d8b(_0x343837,_0x3a54c8,_0x5cf53a);const ir=_0x2025fc(0x496),ec=_0x2025fc(0x423);let ps=class extends _0x24229e{constructor(_0x30ca7b,_0x4988e0){const _0x1a5b48=_0x2025fc;super(),this['_HTTPService']=_0x30ca7b,this[_0x1a5b48(0xb4)]=_0x4988e0,this[_0x1a5b48(0x486)]();}[_0x2025fc(0x486)](){const _0xf934e5=_0x2025fc,_0xcfe61c=this;this[_0xf934e5(0x10c)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x212a92({'isMatch'(_0x6b0dd2){const _0x9c326=_0xf934e5;var _0x1038de;if(_0x6b0dd2[_0x9c326(0x152)]===_0x9c326(0x445)&&((_0x1038de=_0x6b0dd2['requestParams'])!=null&&_0x1038de['body'])){const {objectID:_0x3cb908,objectType:_0x11f4c7}=_0x6b0dd2[_0x9c326(0x356)][_0x9c326(0x41f)]||{};if(!_0x3cb908||_0x11f4c7===void 0x0)return!0x1;const _0x492097=_0xcfe61c[_0x9c326(0x10e)]()+'/'+_0x11f4c7+_0x9c326(0x49d)+_0x3cb908+_0x9c326(0x397);if(_0x6b0dd2['url']===_0x492097)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x58983c){const _0x53aa7a=_0xf934e5;var _0x1a3028;return(_0x1a3028=_0x58983c[_0x53aa7a(0x356)])==null?void 0x0:_0x1a3028[_0x53aa7a(0x41f)];},'mergeParamsToRequest'(_0x8cda02,_0x14ff66){const _0x1055c3=_0xf934e5,_0x366681=_0xcfe61c[_0x1055c3(0x10e)]()+_0x1055c3(0x2c9),_0x1ac405=_0x8cda02[_0x1055c3(0x393)]((_0x482dfd,_0x1baa0d)=>{const _0x25a065=_0x1055c3,{unitID:_0x2d18b8,objectID:_0x4f9ff8,objectType:_0x4fee8e,actions:_0x129cd3}=_0x1baa0d;return _0x482dfd[_0x2d18b8]||(_0x482dfd[_0x2d18b8]={}),_0x482dfd[_0x2d18b8][_0x4f9ff8]||(_0x482dfd[_0x2d18b8][_0x4f9ff8]={'objectID':_0x4f9ff8,'objectType':_0x4fee8e,'actions':[]}),_0x482dfd[_0x2d18b8][_0x4f9ff8][_0x25a065(0x49a)][_0x25a065(0x22f)](..._0x129cd3),_0x482dfd;},{}),_0x94014=[];for(const _0x24f5c4 in _0x1ac405)for(const _0x12ee54 in _0x1ac405[_0x24f5c4]){const {actions:_0x331d35,objectType:_0x347972}=_0x1ac405[_0x24f5c4][_0x12ee54],_0x34c95=[...new Set(_0x331d35)];_0x94014[_0x1055c3(0x22f)]({'unitID':_0x24f5c4,'objectID':_0x12ee54,'objectType':_0x347972,'actions':_0x34c95});}return new _0x30acee(_0x1055c3(0x445),_0x366681,{'headers':_0x14ff66['headers'],'withCredentials':_0x14ff66[_0x1055c3(0x487)],'responseType':_0x14ff66[_0x1055c3(0x285)],'body':{'requests':_0x94014}});}},{'distributeResult'(_0x3ec77f,_0x101d63){const _0x1e65fa=_0xf934e5,{objectActions:_0x15631a}=_0x3ec77f;return _0x101d63[_0x1e65fa(0x23a)](_0x5cf0a0=>{const _0x4108e7=_0x1e65fa,{unitID:_0x106988,objectID:_0xb30177,actions:_0x43fe34}=_0x5cf0a0,_0x2fad07=_0x15631a['find'](_0x415d60=>_0x415d60[_0x4108e7(0x2bf)]===_0x106988&&_0x415d60['objectID']===_0xb30177),_0xfbfcd3=_0x43fe34[_0x4108e7(0x23a)](_0x46cdd3=>_0x2fad07==null?void 0x0:_0x2fad07[_0x4108e7(0x49a)]['find'](_0xa12af9=>_0xa12af9[_0x4108e7(0x196)]===_0x46cdd3))[_0x4108e7(0xb8)](_0x590c5a=>!!_0x590c5a);return{'config':_0x5cf0a0,'result':{'actions':_0xfbfcd3,'error':_0x3ec77f['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x91c613=_0x2025fc;var _0x42313c,_0x4540fd;const _0x4528a4=this[_0x91c613(0xb4)][_0x91c613(0x217)](ir),_0x5f04c6=this['_configService'][_0x91c613(0x217)](Q);return(_0x4540fd=(_0x42313c=_0x5f04c6==null?void 0x0:_0x5f04c6['authzUrl'])!=null?_0x42313c:_0x4528a4)!=null?_0x4540fd:ec;}async[_0x2025fc(0x27d)](_0x50504d){const _0x2cdc42=_0x2025fc,_0x1e0f6c=this[_0x2cdc42(0x10e)]()+'/'+_0x50504d[_0x2cdc42(0x2e6)]+'/object';return(await this[_0x2cdc42(0x3f6)][_0x2cdc42(0x17b)](_0x1e0f6c,{'body':_0x50504d}))[_0x2cdc42(0x41f)][_0x2cdc42(0x1db)]||'';}async[_0x2025fc(0x3c0)](_0x2df5cc){const _0x52ec22=_0x2025fc,_0x56a7e5=this['_getAPIPrefixPath']()+_0x52ec22(0x448);return(await this[_0x52ec22(0x3f6)]['post'](_0x56a7e5,{'body':_0x2df5cc}))['body'][_0x52ec22(0x1ef)];}async['update'](_0x261f48){const _0x2047e3=_0x2025fc,_0x2c773a=this[_0x2047e3(0x10e)]()+'/'+_0x261f48['objectType']+_0x2047e3(0x49d)+_0x261f48[_0x2047e3(0x1db)];await this['_HTTPService'][_0x2047e3(0xa7)](_0x2c773a,{'body':_0x261f48});}async[_0x2025fc(0x3f3)](_0x2ed562){const _0xd6f194=_0x2025fc,_0x568af3=this[_0xd6f194(0x10e)]()+'/'+_0x2ed562[_0xd6f194(0x2e6)]+_0xd6f194(0x49d)+_0x2ed562[_0xd6f194(0x1db)]+_0xd6f194(0x397);return(await this[_0xd6f194(0x3f6)][_0xd6f194(0x17b)](_0x568af3,{'body':_0x2ed562}))[_0xd6f194(0x41f)][_0xd6f194(0x49a)];}async['batchAllowed'](_0x116226){const _0x4b5ec3=_0x2025fc,_0x2c334a=this[_0x4b5ec3(0x10e)]()+_0x4b5ec3(0x2c9);return(await this[_0x4b5ec3(0x3f6)][_0x4b5ec3(0x17b)](_0x2c334a,{'body':{'requests':_0x116226}}))['body'][_0x4b5ec3(0x42e)];}async[_0x2025fc(0x260)](_0x19bbbf){const _0x23be81=_0x2025fc,_0x437699=this[_0x23be81(0x10e)]()+'/'+_0x19bbbf[_0x23be81(0x2e6)]+_0x23be81(0x2f7),_0x1e663c=await this[_0x23be81(0x3f6)][_0x23be81(0x17b)](_0x437699,{'body':_0x19bbbf});return{'roles':_0x1e663c[_0x23be81(0x41f)][_0x23be81(0x339)],'actions':_0x1e663c[_0x23be81(0x41f)]['actions']};}async['deleteCollaborator'](_0x3cb3c2){const _0x3c382e=_0x2025fc,_0x8a250a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3c382e(0x3f6)][_0x3c382e(0x165)](_0x8a250a,{'params':{'collaboratorID':_0x3cb3c2[_0x3c382e(0x183)],'objectID':_0x3cb3c2['objectID'],'unitID':_0x3cb3c2[_0x3c382e(0x2bf)]}});}async[_0x2025fc(0x2ff)](_0x5a5813){const _0x31d64e=_0x2025fc,_0x264a34=this[_0x31d64e(0x10e)]()+_0x31d64e(0x21b);await this[_0x31d64e(0x3f6)][_0x31d64e(0x384)](_0x264a34,{'body':_0x5a5813});}async[_0x2025fc(0x379)](_0x1779d4){const _0x19eb66=_0x2025fc,_0x165633=this[_0x19eb66(0x10e)]()+_0x19eb66(0x21b);await this[_0x19eb66(0x3f6)][_0x19eb66(0x17b)](_0x165633,{'body':_0x1779d4});}async[_0x2025fc(0x34d)](_0x230b87){const _0x25b8f8=_0x2025fc,_0x228548=this[_0x25b8f8(0x10e)]()+'/collaborator';return(await this['_HTTPService'][_0x25b8f8(0x33e)](_0x228548,{'params':{'objectID':_0x230b87[_0x25b8f8(0x1db)],'unitID':_0x230b87[_0x25b8f8(0x2bf)]}}))[_0x25b8f8(0x41f)][_0x25b8f8(0x431)];}async['putCollaborators'](_0xbe85f3){const _0x32485f=_0x2025fc,_0x4f20cf=this[_0x32485f(0x10e)]()+_0x32485f(0x21b);await this[_0x32485f(0x3f6)][_0x32485f(0xa7)](_0x4f20cf,{'body':_0xbe85f3});}};ps=Qa([ci(0x0,_0x5847bf(_0x310387)),ci(0x1,_0x5847bf(_0x4df844))],ps);var dt={'exports':{}};function tc(_0x415eab){const _0x6166e8=_0x2025fc;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x415eab+_0x6166e8(0x3aa));}var ft={'exports':{}},sc=ft[_0x2025fc(0x317)],hi;function _e(){const _0x39a0a1=_0x2025fc;return hi||(hi=0x1,function(_0x3ddf99,_0x222226){(function(_0x5cc5ed,_0x1fe65d){const _0x3f2756=_0x46d8;_0x3ddf99[_0x3f2756(0x317)]=_0x1fe65d();}(sc,function(){var _0x335e8f=_0x335e8f||function(_0x562cfe,_0x5549ea){const _0x98ca51=_0x46d8;var _0x5804e6;if(typeof window<'u'&&window[_0x98ca51(0x221)]&&(_0x5804e6=window[_0x98ca51(0x221)]),typeof self<'u'&&self['crypto']&&(_0x5804e6=self[_0x98ca51(0x221)]),typeof globalThis<'u'&&globalThis[_0x98ca51(0x221)]&&(_0x5804e6=globalThis[_0x98ca51(0x221)]),!_0x5804e6&&typeof window<'u'&&window[_0x98ca51(0x145)]&&(_0x5804e6=window[_0x98ca51(0x145)]),!_0x5804e6&&typeof ts<'u'&&ts[_0x98ca51(0x221)]&&(_0x5804e6=ts[_0x98ca51(0x221)]),!_0x5804e6&&typeof tc=='function')try{_0x5804e6=require(_0x98ca51(0x221));}catch{}var _0x3de7a1=function(){const _0x4dc1f7=_0x98ca51;if(_0x5804e6){if(typeof _0x5804e6[_0x4dc1f7(0x286)]==_0x4dc1f7(0x2d6))try{return _0x5804e6['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5804e6[_0x4dc1f7(0x46f)]=='function')try{return _0x5804e6[_0x4dc1f7(0x46f)](0x4)[_0x4dc1f7(0x1b5)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3db323=Object[_0x98ca51(0x27d)]||(function(){function _0x36647b(){}return function(_0x5505c2){const _0xb701b0=_0x46d8;var _0x198c43;return _0x36647b['prototype']=_0x5505c2,_0x198c43=new _0x36647b(),_0x36647b[_0xb701b0(0x33f)]=null,_0x198c43;};}()),_0x3e85e0={},_0x50a321=_0x3e85e0[_0x98ca51(0x118)]={},_0x32fc90=_0x50a321['Base']=(function(){return{'extend':function(_0x272069){const _0xfc10cf=_0x46d8;var _0x399017=_0x3db323(this);return _0x272069&&_0x399017[_0xfc10cf(0x394)](_0x272069),(!_0x399017['hasOwnProperty']('init')||this[_0xfc10cf(0x289)]===_0x399017[_0xfc10cf(0x289)])&&(_0x399017[_0xfc10cf(0x289)]=function(){_0x399017['$super']['init']['apply'](this,arguments);}),_0x399017[_0xfc10cf(0x289)][_0xfc10cf(0x33f)]=_0x399017,_0x399017['$super']=this,_0x399017;},'create':function(){const _0x547a8a=_0x46d8;var _0x1562d1=this[_0x547a8a(0x4a2)]();return _0x1562d1[_0x547a8a(0x289)]['apply'](_0x1562d1,arguments),_0x1562d1;},'init':function(){},'mixIn':function(_0x34c264){const _0x535ab3=_0x46d8;for(var _0x1f745f in _0x34c264)_0x34c264[_0x535ab3(0x413)](_0x1f745f)&&(this[_0x1f745f]=_0x34c264[_0x1f745f]);_0x34c264[_0x535ab3(0x413)](_0x535ab3(0x135))&&(this[_0x535ab3(0x135)]=_0x34c264['toString']);},'clone':function(){const _0x3a2fa5=_0x46d8;return this[_0x3a2fa5(0x289)][_0x3a2fa5(0x33f)][_0x3a2fa5(0x4a2)](this);}};}()),_0x246015=_0x50a321[_0x98ca51(0x1c9)]=_0x32fc90[_0x98ca51(0x4a2)]({'init':function(_0x19efb8,_0x2dbd92){const _0x15aa1d=_0x98ca51;_0x19efb8=this[_0x15aa1d(0x352)]=_0x19efb8||[],_0x2dbd92!=_0x5549ea?this['sigBytes']=_0x2dbd92:this[_0x15aa1d(0x4a3)]=_0x19efb8[_0x15aa1d(0x161)]*0x4;},'toString':function(_0x3397ad){return(_0x3397ad||_0x472cfc)['stringify'](this);},'concat':function(_0x4bbf00){const _0x47c431=_0x98ca51;var _0x33a956=this[_0x47c431(0x352)],_0xd4d8fa=_0x4bbf00[_0x47c431(0x352)],_0x131c73=this['sigBytes'],_0x8930b3=_0x4bbf00[_0x47c431(0x4a3)];if(this['clamp'](),_0x131c73%0x4)for(var _0x1eac78=0x0;_0x1eac78<_0x8930b3;_0x1eac78++){var _0x39bc60=_0xd4d8fa[_0x1eac78>>>0x2]>>>0x18-_0x1eac78%0x4*0x8&0xff;_0x33a956[_0x131c73+_0x1eac78>>>0x2]|=_0x39bc60<<0x18-(_0x131c73+_0x1eac78)%0x4*0x8;}else{for(var _0x43eb2f=0x0;_0x43eb2f<_0x8930b3;_0x43eb2f+=0x4)_0x33a956[_0x131c73+_0x43eb2f>>>0x2]=_0xd4d8fa[_0x43eb2f>>>0x2];}return this[_0x47c431(0x4a3)]+=_0x8930b3,this;},'clamp':function(){const _0x1cabee=_0x98ca51;var _0x3d7a67=this[_0x1cabee(0x352)],_0x5d188e=this[_0x1cabee(0x4a3)];_0x3d7a67[_0x5d188e>>>0x2]&=0xffffffff<<0x20-_0x5d188e%0x4*0x8,_0x3d7a67[_0x1cabee(0x161)]=_0x562cfe['ceil'](_0x5d188e/0x4);},'clone':function(){const _0x45ae1b=_0x98ca51;var _0x5ddea7=_0x32fc90[_0x45ae1b(0x2c4)][_0x45ae1b(0x494)](this);return _0x5ddea7[_0x45ae1b(0x352)]=this['words'][_0x45ae1b(0x48f)](0x0),_0x5ddea7;},'random':function(_0x309fa3){const _0x5a7207=_0x98ca51;for(var _0x10e505=[],_0x54b02e=0x0;_0x54b02e<_0x309fa3;_0x54b02e+=0x4)_0x10e505[_0x5a7207(0x22f)](_0x3de7a1());return new _0x246015[(_0x5a7207(0x289))](_0x10e505,_0x309fa3);}}),_0x59dfc1=_0x3e85e0['enc']={},_0x472cfc=_0x59dfc1[_0x98ca51(0xf0)]={'stringify':function(_0x5c4817){const _0x1fe5dd=_0x98ca51;for(var _0x48396f=_0x5c4817['words'],_0xe25b35=_0x5c4817[_0x1fe5dd(0x4a3)],_0x1d841a=[],_0x53af68=0x0;_0x53af68<_0xe25b35;_0x53af68++){var _0x5f0bdb=_0x48396f[_0x53af68>>>0x2]>>>0x18-_0x53af68%0x4*0x8&0xff;_0x1d841a['push']((_0x5f0bdb>>>0x4)[_0x1fe5dd(0x135)](0x10)),_0x1d841a[_0x1fe5dd(0x22f)]((_0x5f0bdb&0xf)[_0x1fe5dd(0x135)](0x10));}return _0x1d841a[_0x1fe5dd(0x2fc)]('');},'parse':function(_0x3309fd){const _0x2b6f25=_0x98ca51;for(var _0x547cd3=_0x3309fd['length'],_0x173643=[],_0x5e2bb5=0x0;_0x5e2bb5<_0x547cd3;_0x5e2bb5+=0x2)_0x173643[_0x5e2bb5>>>0x3]|=parseInt(_0x3309fd[_0x2b6f25(0x1e4)](_0x5e2bb5,0x2),0x10)<<0x18-_0x5e2bb5%0x8*0x4;return new _0x246015[(_0x2b6f25(0x289))](_0x173643,_0x547cd3/0x2);}},_0x470fa0=_0x59dfc1[_0x98ca51(0xa9)]={'stringify':function(_0x48499f){const _0x4ba632=_0x98ca51;for(var _0x27d363=_0x48499f[_0x4ba632(0x352)],_0x593012=_0x48499f['sigBytes'],_0xdce93a=[],_0x229bd0=0x0;_0x229bd0<_0x593012;_0x229bd0++){var _0x3f7000=_0x27d363[_0x229bd0>>>0x2]>>>0x18-_0x229bd0%0x4*0x8&0xff;_0xdce93a[_0x4ba632(0x22f)](String[_0x4ba632(0x208)](_0x3f7000));}return _0xdce93a[_0x4ba632(0x2fc)]('');},'parse':function(_0x53e04d){const _0x5c242a=_0x98ca51;for(var _0x4750ed=_0x53e04d['length'],_0x4c8565=[],_0x4d9e4e=0x0;_0x4d9e4e<_0x4750ed;_0x4d9e4e++)_0x4c8565[_0x4d9e4e>>>0x2]|=(_0x53e04d[_0x5c242a(0xcf)](_0x4d9e4e)&0xff)<<0x18-_0x4d9e4e%0x4*0x8;return new _0x246015['init'](_0x4c8565,_0x4750ed);}},_0x36665f=_0x59dfc1[_0x98ca51(0x488)]={'stringify':function(_0x8e393e){const _0x2ab546=_0x98ca51;try{return decodeURIComponent(escape(_0x470fa0['stringify'](_0x8e393e)));}catch{throw new Error(_0x2ab546(0x479));}},'parse':function(_0x1114e6){const _0x2dfd61=_0x98ca51;return _0x470fa0[_0x2dfd61(0x211)](unescape(encodeURIComponent(_0x1114e6)));}},_0xf6147a=_0x50a321[_0x98ca51(0x450)]=_0x32fc90[_0x98ca51(0x4a2)]({'reset':function(){const _0x519ebe=_0x98ca51;this[_0x519ebe(0x27e)]=new _0x246015[(_0x519ebe(0x289))](),this[_0x519ebe(0x37d)]=0x0;},'_append':function(_0x26d357){const _0x555ff3=_0x98ca51;typeof _0x26d357==_0x555ff3(0x151)&&(_0x26d357=_0x36665f['parse'](_0x26d357)),this['_data']['concat'](_0x26d357),this['_nDataBytes']+=_0x26d357['sigBytes'];},'_process':function(_0x4d7dc3){const _0x1f16e3=_0x98ca51;var _0x54efb1,_0x1cc4d1=this['_data'],_0x3e3d9f=_0x1cc4d1[_0x1f16e3(0x352)],_0x32adcc=_0x1cc4d1[_0x1f16e3(0x4a3)],_0x2d2e07=this[_0x1f16e3(0x112)],_0xf49af6=_0x2d2e07*0x4,_0x4e003d=_0x32adcc/_0xf49af6;_0x4d7dc3?_0x4e003d=_0x562cfe[_0x1f16e3(0x373)](_0x4e003d):_0x4e003d=_0x562cfe[_0x1f16e3(0x3f2)]((_0x4e003d|0x0)-this['_minBufferSize'],0x0);var _0x426619=_0x4e003d*_0x2d2e07,_0x5532d7=_0x562cfe[_0x1f16e3(0x1af)](_0x426619*0x4,_0x32adcc);if(_0x426619){for(var _0x18af55=0x0;_0x18af55<_0x426619;_0x18af55+=_0x2d2e07)this['_doProcessBlock'](_0x3e3d9f,_0x18af55);_0x54efb1=_0x3e3d9f['splice'](0x0,_0x426619),_0x1cc4d1['sigBytes']-=_0x5532d7;}return new _0x246015[(_0x1f16e3(0x289))](_0x54efb1,_0x5532d7);},'clone':function(){const _0x364066=_0x98ca51;var _0x50391a=_0x32fc90[_0x364066(0x2c4)][_0x364066(0x494)](this);return _0x50391a['_data']=this[_0x364066(0x27e)][_0x364066(0x2c4)](),_0x50391a;},'_minBufferSize':0x0});_0x50a321[_0x98ca51(0x3f7)]=_0xf6147a[_0x98ca51(0x4a2)]({'cfg':_0x32fc90[_0x98ca51(0x4a2)](),'init':function(_0x5c8b1a){const _0x5b5a13=_0x98ca51;this[_0x5b5a13(0x250)]=this[_0x5b5a13(0x250)][_0x5b5a13(0x4a2)](_0x5c8b1a),this[_0x5b5a13(0x216)]();},'reset':function(){const _0x591755=_0x98ca51;_0xf6147a[_0x591755(0x216)][_0x591755(0x494)](this),this[_0x591755(0x228)]();},'update':function(_0xadce0){const _0x2efa6d=_0x98ca51;return this[_0x2efa6d(0x245)](_0xadce0),this[_0x2efa6d(0xb9)](),this;},'finalize':function(_0x1c73f6){_0x1c73f6&&this['_append'](_0x1c73f6);var _0x4fe7b6=this['_doFinalize']();return _0x4fe7b6;},'blockSize':0x10,'_createHelper':function(_0xc3ff70){return function(_0x1dba1f,_0x529a88){const _0xa09828=_0x46d8;return new _0xc3ff70[(_0xa09828(0x289))](_0x529a88)[_0xa09828(0x17d)](_0x1dba1f);};},'_createHmacHelper':function(_0x569101){return function(_0x58ada4,_0x148b0e){const _0x5d75f0=_0x46d8;return new _0x4c8a31[(_0x5d75f0(0x1e7))]['init'](_0x569101,_0x148b0e)[_0x5d75f0(0x17d)](_0x58ada4);};}});var _0x4c8a31=_0x3e85e0[_0x98ca51(0x1b4)]={};return _0x3e85e0;}(Math);return _0x335e8f;}));}(ft)),ft[_0x39a0a1(0x317)];}var vt={'exports':{}},ic=vt[_0x2025fc(0x317)],li;function rr(){const _0x17e632=_0x2025fc;return li||(li=0x1,function(_0x42fc4c,_0x155738){(function(_0x48bfdf,_0x5887a1){_0x42fc4c['exports']=_0x5887a1(_e());}(ic,function(_0x1572ea){const _0x5bbb0b=_0x46d8;return(function(){const _0x23facd=_0x46d8;var _0x8545c=_0x1572ea,_0x3b141d=_0x8545c['lib'],_0x57e332=_0x3b141d['WordArray'],_0x4733aa=_0x8545c['enc'];_0x4733aa[_0x23facd(0x22c)]={'stringify':function(_0x2dfcbb){const _0x59ae69=_0x23facd;var _0x5c265c=_0x2dfcbb[_0x59ae69(0x352)],_0xab7ebd=_0x2dfcbb[_0x59ae69(0x4a3)],_0x2d6634=this[_0x59ae69(0x2bc)];_0x2dfcbb[_0x59ae69(0x378)]();for(var _0x1e46f3=[],_0x4a2f24=0x0;_0x4a2f24<_0xab7ebd;_0x4a2f24+=0x3)for(var _0x478ad1=_0x5c265c[_0x4a2f24>>>0x2]>>>0x18-_0x4a2f24%0x4*0x8&0xff,_0x164f67=_0x5c265c[_0x4a2f24+0x1>>>0x2]>>>0x18-(_0x4a2f24+0x1)%0x4*0x8&0xff,_0x52a9ab=_0x5c265c[_0x4a2f24+0x2>>>0x2]>>>0x18-(_0x4a2f24+0x2)%0x4*0x8&0xff,_0x5d81c2=_0x478ad1<<0x10|_0x164f67<<0x8|_0x52a9ab,_0x4daf87=0x0;_0x4daf87<0x4&&_0x4a2f24+_0x4daf87*0.75<_0xab7ebd;_0x4daf87++)_0x1e46f3[_0x59ae69(0x22f)](_0x2d6634['charAt'](_0x5d81c2>>>0x6*(0x3-_0x4daf87)&0x3f));var _0x1254dc=_0x2d6634['charAt'](0x40);if(_0x1254dc){for(;_0x1e46f3[_0x59ae69(0x161)]%0x4;)_0x1e46f3['push'](_0x1254dc);}return _0x1e46f3['join']('');},'parse':function(_0x452252){const _0x277351=_0x23facd;var _0x503646=_0x452252[_0x277351(0x161)],_0x556b0e=this['_map'],_0x138a9c=this[_0x277351(0x1de)];if(!_0x138a9c){_0x138a9c=this[_0x277351(0x1de)]=[];for(var _0xe3e8f2=0x0;_0xe3e8f2<_0x556b0e[_0x277351(0x161)];_0xe3e8f2++)_0x138a9c[_0x556b0e[_0x277351(0xcf)](_0xe3e8f2)]=_0xe3e8f2;}var _0x3c143f=_0x556b0e[_0x277351(0x11a)](0x40);if(_0x3c143f){var _0x1f6f20=_0x452252['indexOf'](_0x3c143f);_0x1f6f20!==-0x1&&(_0x503646=_0x1f6f20);}return _0x50224b(_0x452252,_0x503646,_0x138a9c);},'_map':_0x23facd(0xb3)};function _0x50224b(_0x238365,_0x48667c,_0x17268b){const _0x3142d2=_0x23facd;for(var _0x119a8e=[],_0x23978b=0x0,_0x4a06b5=0x0;_0x4a06b5<_0x48667c;_0x4a06b5++)if(_0x4a06b5%0x4){var _0x68f1b8=_0x17268b[_0x238365['charCodeAt'](_0x4a06b5-0x1)]<<_0x4a06b5%0x4*0x2,_0xb36df2=_0x17268b[_0x238365[_0x3142d2(0xcf)](_0x4a06b5)]>>>0x6-_0x4a06b5%0x4*0x2,_0x3f429e=_0x68f1b8|_0xb36df2;_0x119a8e[_0x23978b>>>0x2]|=_0x3f429e<<0x18-_0x23978b%0x4*0x8,_0x23978b++;}return _0x57e332[_0x3142d2(0x27d)](_0x119a8e,_0x23978b);}}()),_0x1572ea['enc'][_0x5bbb0b(0x22c)];}));}(vt)),vt[_0x17e632(0x317)];}var pt={'exports':{}},rc=pt[_0x2025fc(0x317)],_i;function nc(){const _0x401b46=_0x2025fc;return _i||(_i=0x1,function(_0x484283,_0x169cc8){(function(_0x37f656,_0x1c368e){const _0x3e2816=_0x46d8;_0x484283[_0x3e2816(0x317)]=_0x1c368e(_e());}(rc,function(_0x48a821){const _0x2022bd=_0x46d8;return function(_0x33e3ba){const _0x152b31=_0x46d8;var _0x308a71=_0x48a821,_0x135d98=_0x308a71[_0x152b31(0x118)],_0x173365=_0x135d98[_0x152b31(0x1c9)],_0x475382=_0x135d98[_0x152b31(0x3f7)],_0x4d56bb=_0x308a71[_0x152b31(0x1b4)],_0x1e7a19=[];(function(){const _0x3469b8=_0x152b31;for(var _0x31c2e9=0x0;_0x31c2e9<0x40;_0x31c2e9++)_0x1e7a19[_0x31c2e9]=_0x33e3ba[_0x3469b8(0x34a)](_0x33e3ba[_0x3469b8(0x226)](_0x31c2e9+0x1))*0x100000000|0x0;}());var _0x580c0d=_0x4d56bb[_0x152b31(0x218)]=_0x475382[_0x152b31(0x4a2)]({'_doReset':function(){const _0x3975b3=_0x152b31;this['_hash']=new _0x173365[(_0x3975b3(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x105e1a,_0x532738){const _0x129fe4=_0x152b31;for(var _0x3ebd47=0x0;_0x3ebd47<0x10;_0x3ebd47++){var _0x10aa36=_0x532738+_0x3ebd47,_0xbbea3c=_0x105e1a[_0x10aa36];_0x105e1a[_0x10aa36]=(_0xbbea3c<<0x8|_0xbbea3c>>>0x18)&0xff00ff|(_0xbbea3c<<0x18|_0xbbea3c>>>0x8)&0xff00ff00;}var _0x2a54b4=this['_hash'][_0x129fe4(0x352)],_0x43399d=_0x105e1a[_0x532738+0x0],_0x5e8331=_0x105e1a[_0x532738+0x1],_0x190d5b=_0x105e1a[_0x532738+0x2],_0x11420b=_0x105e1a[_0x532738+0x3],_0x5e927b=_0x105e1a[_0x532738+0x4],_0x3f5b00=_0x105e1a[_0x532738+0x5],_0xab7976=_0x105e1a[_0x532738+0x6],_0x57f4fe=_0x105e1a[_0x532738+0x7],_0x50b617=_0x105e1a[_0x532738+0x8],_0x53eb6b=_0x105e1a[_0x532738+0x9],_0x1dd291=_0x105e1a[_0x532738+0xa],_0x5d1129=_0x105e1a[_0x532738+0xb],_0x41f7aa=_0x105e1a[_0x532738+0xc],_0x1af36e=_0x105e1a[_0x532738+0xd],_0x4fbe18=_0x105e1a[_0x532738+0xe],_0x5cdb9a=_0x105e1a[_0x532738+0xf],_0x108fce=_0x2a54b4[0x0],_0x3bb65f=_0x2a54b4[0x1],_0x2c0979=_0x2a54b4[0x2],_0x562c90=_0x2a54b4[0x3];_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x43399d,0x7,_0x1e7a19[0x0]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5e8331,0xc,_0x1e7a19[0x1]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x190d5b,0x11,_0x1e7a19[0x2]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x11420b,0x16,_0x1e7a19[0x3]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e927b,0x7,_0x1e7a19[0x4]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x3f5b00,0xc,_0x1e7a19[0x5]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0xab7976,0x11,_0x1e7a19[0x6]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x57f4fe,0x16,_0x1e7a19[0x7]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x50b617,0x7,_0x1e7a19[0x8]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x53eb6b,0xc,_0x1e7a19[0x9]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x1dd291,0x11,_0x1e7a19[0xa]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5d1129,0x16,_0x1e7a19[0xb]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x41f7aa,0x7,_0x1e7a19[0xc]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x1af36e,0xc,_0x1e7a19[0xd]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x4fbe18,0x11,_0x1e7a19[0xe]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5cdb9a,0x16,_0x1e7a19[0xf]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e8331,0x5,_0x1e7a19[0x10]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0xab7976,0x9,_0x1e7a19[0x11]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5d1129,0xe,_0x1e7a19[0x12]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x43399d,0x14,_0x1e7a19[0x13]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x3f5b00,0x5,_0x1e7a19[0x14]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x1dd291,0x9,_0x1e7a19[0x15]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5cdb9a,0xe,_0x1e7a19[0x16]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5e927b,0x14,_0x1e7a19[0x17]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x53eb6b,0x5,_0x1e7a19[0x18]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x4fbe18,0x9,_0x1e7a19[0x19]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x11420b,0xe,_0x1e7a19[0x1a]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x50b617,0x14,_0x1e7a19[0x1b]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x1af36e,0x5,_0x1e7a19[0x1c]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x190d5b,0x9,_0x1e7a19[0x1d]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x57f4fe,0xe,_0x1e7a19[0x1e]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x41f7aa,0x14,_0x1e7a19[0x1f]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x3f5b00,0x4,_0x1e7a19[0x20]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x50b617,0xb,_0x1e7a19[0x21]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5d1129,0x10,_0x1e7a19[0x22]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x4fbe18,0x17,_0x1e7a19[0x23]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e8331,0x4,_0x1e7a19[0x24]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5e927b,0xb,_0x1e7a19[0x25]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x57f4fe,0x10,_0x1e7a19[0x26]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x1dd291,0x17,_0x1e7a19[0x27]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x1af36e,0x4,_0x1e7a19[0x28]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x43399d,0xb,_0x1e7a19[0x29]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x11420b,0x10,_0x1e7a19[0x2a]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0xab7976,0x17,_0x1e7a19[0x2b]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x53eb6b,0x4,_0x1e7a19[0x2c]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x41f7aa,0xb,_0x1e7a19[0x2d]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5cdb9a,0x10,_0x1e7a19[0x2e]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x190d5b,0x17,_0x1e7a19[0x2f]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x43399d,0x6,_0x1e7a19[0x30]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x57f4fe,0xa,_0x1e7a19[0x31]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x4fbe18,0xf,_0x1e7a19[0x32]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x3f5b00,0x15,_0x1e7a19[0x33]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x41f7aa,0x6,_0x1e7a19[0x34]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x11420b,0xa,_0x1e7a19[0x35]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x1dd291,0xf,_0x1e7a19[0x36]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5e8331,0x15,_0x1e7a19[0x37]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x50b617,0x6,_0x1e7a19[0x38]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5cdb9a,0xa,_0x1e7a19[0x39]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0xab7976,0xf,_0x1e7a19[0x3a]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x1af36e,0x15,_0x1e7a19[0x3b]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e927b,0x6,_0x1e7a19[0x3c]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5d1129,0xa,_0x1e7a19[0x3d]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x190d5b,0xf,_0x1e7a19[0x3e]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x53eb6b,0x15,_0x1e7a19[0x3f]),_0x2a54b4[0x0]=_0x2a54b4[0x0]+_0x108fce|0x0,_0x2a54b4[0x1]=_0x2a54b4[0x1]+_0x3bb65f|0x0,_0x2a54b4[0x2]=_0x2a54b4[0x2]+_0x2c0979|0x0,_0x2a54b4[0x3]=_0x2a54b4[0x3]+_0x562c90|0x0;},'_doFinalize':function(){const _0x51c478=_0x152b31;var _0x16f8f3=this[_0x51c478(0x27e)],_0x20c863=_0x16f8f3['words'],_0x70b1dc=this['_nDataBytes']*0x8,_0x163965=_0x16f8f3[_0x51c478(0x4a3)]*0x8;_0x20c863[_0x163965>>>0x5]|=0x80<<0x18-_0x163965%0x20;var _0xcd0f76=_0x33e3ba[_0x51c478(0x127)](_0x70b1dc/0x100000000),_0x1b28c5=_0x70b1dc;_0x20c863[(_0x163965+0x40>>>0x9<<0x4)+0xf]=(_0xcd0f76<<0x8|_0xcd0f76>>>0x18)&0xff00ff|(_0xcd0f76<<0x18|_0xcd0f76>>>0x8)&0xff00ff00,_0x20c863[(_0x163965+0x40>>>0x9<<0x4)+0xe]=(_0x1b28c5<<0x8|_0x1b28c5>>>0x18)&0xff00ff|(_0x1b28c5<<0x18|_0x1b28c5>>>0x8)&0xff00ff00,_0x16f8f3[_0x51c478(0x4a3)]=(_0x20c863[_0x51c478(0x161)]+0x1)*0x4,this[_0x51c478(0xb9)]();for(var _0x50be95=this[_0x51c478(0x3bf)],_0x31464b=_0x50be95['words'],_0x4c58a4=0x0;_0x4c58a4<0x4;_0x4c58a4++){var _0x4b89fc=_0x31464b[_0x4c58a4];_0x31464b[_0x4c58a4]=(_0x4b89fc<<0x8|_0x4b89fc>>>0x18)&0xff00ff|(_0x4b89fc<<0x18|_0x4b89fc>>>0x8)&0xff00ff00;}return _0x50be95;},'clone':function(){const _0x5500a4=_0x152b31;var _0x1a765f=_0x475382[_0x5500a4(0x2c4)]['call'](this);return _0x1a765f[_0x5500a4(0x3bf)]=this[_0x5500a4(0x3bf)][_0x5500a4(0x2c4)](),_0x1a765f;}});function _0x23cdc2(_0x325bb6,_0x4d2f0f,_0x3fac72,_0x33e294,_0x9e75b1,_0x11be50,_0x1e26d0){var _0x290fc6=_0x325bb6+(_0x4d2f0f&_0x3fac72|~_0x4d2f0f&_0x33e294)+_0x9e75b1+_0x1e26d0;return(_0x290fc6<<_0x11be50|_0x290fc6>>>0x20-_0x11be50)+_0x4d2f0f;}function _0xcc315d(_0x1a9f89,_0x53d816,_0x165ea5,_0xd166fc,_0x406af4,_0x116943,_0xb7a0e3){var _0xffdb35=_0x1a9f89+(_0x53d816&_0xd166fc|_0x165ea5&~_0xd166fc)+_0x406af4+_0xb7a0e3;return(_0xffdb35<<_0x116943|_0xffdb35>>>0x20-_0x116943)+_0x53d816;}function _0x391572(_0x2ac7af,_0xceefd3,_0x565f95,_0x3eda20,_0x46056c,_0x44f073,_0x12ac4c){var _0x1d9e39=_0x2ac7af+(_0xceefd3^_0x565f95^_0x3eda20)+_0x46056c+_0x12ac4c;return(_0x1d9e39<<_0x44f073|_0x1d9e39>>>0x20-_0x44f073)+_0xceefd3;}function _0x18800e(_0x307826,_0x592293,_0x15fcc3,_0x410b54,_0x14ddd2,_0x10bc15,_0x51104a){var _0x46d294=_0x307826+(_0x15fcc3^(_0x592293|~_0x410b54))+_0x14ddd2+_0x51104a;return(_0x46d294<<_0x10bc15|_0x46d294>>>0x20-_0x10bc15)+_0x592293;}_0x308a71['MD5']=_0x475382[_0x152b31(0xb5)](_0x580c0d),_0x308a71[_0x152b31(0x15e)]=_0x475382[_0x152b31(0x2a3)](_0x580c0d);}(Math),_0x48a821[_0x2022bd(0x218)];}));}(pt)),pt[_0x401b46(0x317)];}var mt={'exports':{}},gt={'exports':{}},oc=gt['exports'],ui;function ac(){const _0x540eea=_0x2025fc;return ui||(ui=0x1,function(_0x5b01ee,_0xef0f57){(function(_0x3e5d8d,_0x401caa){const _0x1569db=_0x46d8;_0x5b01ee[_0x1569db(0x317)]=_0x401caa(_e());}(oc,function(_0x40d8d3){return(function(){const _0x4e8a82=_0x46d8;var _0x335ecf=_0x40d8d3,_0x1962d5=_0x335ecf[_0x4e8a82(0x118)],_0x516d47=_0x1962d5[_0x4e8a82(0x1c9)],_0x3d6380=_0x1962d5[_0x4e8a82(0x3f7)],_0xeaabf3=_0x335ecf[_0x4e8a82(0x1b4)],_0x53eb51=[],_0x14a88d=_0xeaabf3[_0x4e8a82(0x3d2)]=_0x3d6380['extend']({'_doReset':function(){const _0x28109f=_0x4e8a82;this[_0x28109f(0x3bf)]=new _0x516d47[(_0x28109f(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4d2490,_0x4780db){const _0x1714a6=_0x4e8a82;for(var _0xb9b468=this[_0x1714a6(0x3bf)][_0x1714a6(0x352)],_0x334729=_0xb9b468[0x0],_0x217c4e=_0xb9b468[0x1],_0x3e798d=_0xb9b468[0x2],_0x3759f3=_0xb9b468[0x3],_0x26b037=_0xb9b468[0x4],_0x27b40c=0x0;_0x27b40c<0x50;_0x27b40c++){if(_0x27b40c<0x10)_0x53eb51[_0x27b40c]=_0x4d2490[_0x4780db+_0x27b40c]|0x0;else{var _0x3b07aa=_0x53eb51[_0x27b40c-0x3]^_0x53eb51[_0x27b40c-0x8]^_0x53eb51[_0x27b40c-0xe]^_0x53eb51[_0x27b40c-0x10];_0x53eb51[_0x27b40c]=_0x3b07aa<<0x1|_0x3b07aa>>>0x1f;}var _0x33f08d=(_0x334729<<0x5|_0x334729>>>0x1b)+_0x26b037+_0x53eb51[_0x27b40c];_0x27b40c<0x14?_0x33f08d+=(_0x217c4e&_0x3e798d|~_0x217c4e&_0x3759f3)+0x5a827999:_0x27b40c<0x28?_0x33f08d+=(_0x217c4e^_0x3e798d^_0x3759f3)+0x6ed9eba1:_0x27b40c<0x3c?_0x33f08d+=(_0x217c4e&_0x3e798d|_0x217c4e&_0x3759f3|_0x3e798d&_0x3759f3)-0x70e44324:_0x33f08d+=(_0x217c4e^_0x3e798d^_0x3759f3)-0x359d3e2a,_0x26b037=_0x3759f3,_0x3759f3=_0x3e798d,_0x3e798d=_0x217c4e<<0x1e|_0x217c4e>>>0x2,_0x217c4e=_0x334729,_0x334729=_0x33f08d;}_0xb9b468[0x0]=_0xb9b468[0x0]+_0x334729|0x0,_0xb9b468[0x1]=_0xb9b468[0x1]+_0x217c4e|0x0,_0xb9b468[0x2]=_0xb9b468[0x2]+_0x3e798d|0x0,_0xb9b468[0x3]=_0xb9b468[0x3]+_0x3759f3|0x0,_0xb9b468[0x4]=_0xb9b468[0x4]+_0x26b037|0x0;},'_doFinalize':function(){const _0x1a579d=_0x4e8a82;var _0x5aaf55=this[_0x1a579d(0x27e)],_0x345e7f=_0x5aaf55[_0x1a579d(0x352)],_0x5bb244=this[_0x1a579d(0x37d)]*0x8,_0x3e4aef=_0x5aaf55[_0x1a579d(0x4a3)]*0x8;return _0x345e7f[_0x3e4aef>>>0x5]|=0x80<<0x18-_0x3e4aef%0x20,_0x345e7f[(_0x3e4aef+0x40>>>0x9<<0x4)+0xe]=Math[_0x1a579d(0x127)](_0x5bb244/0x100000000),_0x345e7f[(_0x3e4aef+0x40>>>0x9<<0x4)+0xf]=_0x5bb244,_0x5aaf55[_0x1a579d(0x4a3)]=_0x345e7f[_0x1a579d(0x161)]*0x4,this[_0x1a579d(0xb9)](),this[_0x1a579d(0x3bf)];},'clone':function(){const _0x14ea1c=_0x4e8a82;var _0x53fa84=_0x3d6380[_0x14ea1c(0x2c4)]['call'](this);return _0x53fa84[_0x14ea1c(0x3bf)]=this[_0x14ea1c(0x3bf)][_0x14ea1c(0x2c4)](),_0x53fa84;}});_0x335ecf['SHA1']=_0x3d6380[_0x4e8a82(0xb5)](_0x14a88d),_0x335ecf[_0x4e8a82(0x108)]=_0x3d6380['_createHmacHelper'](_0x14a88d);}()),_0x40d8d3['SHA1'];}));}(gt)),gt[_0x540eea(0x317)];}var St={'exports':{}},cc=St['exports'],di;function hc(){const _0x314e7c=_0x2025fc;return di||(di=0x1,function(_0x4ddde0,_0x2b3d4a){(function(_0x251aa1,_0x422e75){const _0x5bd9b8=_0x46d8;_0x4ddde0[_0x5bd9b8(0x317)]=_0x422e75(_e());}(cc,function(_0xe87935){(function(){const _0x1324a3=_0x46d8;var _0x4e26eb=_0xe87935,_0x2e2718=_0x4e26eb[_0x1324a3(0x118)],_0x1a23bc=_0x2e2718[_0x1324a3(0x298)],_0x574d2b=_0x4e26eb[_0x1324a3(0xdb)],_0x25196f=_0x574d2b[_0x1324a3(0x488)],_0x53887f=_0x4e26eb[_0x1324a3(0x1b4)];_0x53887f[_0x1324a3(0x1e7)]=_0x1a23bc[_0x1324a3(0x4a2)]({'init':function(_0x41ac01,_0x3c1e17){const _0x51eefe=_0x1324a3;_0x41ac01=this[_0x51eefe(0x107)]=new _0x41ac01['init'](),typeof _0x3c1e17==_0x51eefe(0x151)&&(_0x3c1e17=_0x25196f[_0x51eefe(0x211)](_0x3c1e17));var _0x464049=_0x41ac01[_0x51eefe(0x112)],_0xdcc8c0=_0x464049*0x4;_0x3c1e17[_0x51eefe(0x4a3)]>_0xdcc8c0&&(_0x3c1e17=_0x41ac01[_0x51eefe(0x17d)](_0x3c1e17)),_0x3c1e17[_0x51eefe(0x378)]();for(var _0x32a8b7=this[_0x51eefe(0x284)]=_0x3c1e17[_0x51eefe(0x2c4)](),_0x403a2d=this[_0x51eefe(0x25f)]=_0x3c1e17[_0x51eefe(0x2c4)](),_0x50b851=_0x32a8b7[_0x51eefe(0x352)],_0x149ec7=_0x403a2d[_0x51eefe(0x352)],_0x29dc6c=0x0;_0x29dc6c<_0x464049;_0x29dc6c++)_0x50b851[_0x29dc6c]^=0x5c5c5c5c,_0x149ec7[_0x29dc6c]^=0x36363636;_0x32a8b7[_0x51eefe(0x4a3)]=_0x403a2d[_0x51eefe(0x4a3)]=_0xdcc8c0,this[_0x51eefe(0x216)]();},'reset':function(){const _0x51706a=_0x1324a3;var _0xd3f15e=this[_0x51706a(0x107)];_0xd3f15e['reset'](),_0xd3f15e[_0x51706a(0xbf)](this[_0x51706a(0x25f)]);},'update':function(_0x139dcd){return this['_hasher']['update'](_0x139dcd),this;},'finalize':function(_0x42b305){const _0x3a4e49=_0x1324a3;var _0x2a12b8=this[_0x3a4e49(0x107)],_0x1a91a5=_0x2a12b8['finalize'](_0x42b305);_0x2a12b8['reset']();var _0x95c138=_0x2a12b8[_0x3a4e49(0x17d)](this['_oKey']['clone']()[_0x3a4e49(0x40a)](_0x1a91a5));return _0x95c138;}});}());}));}(St)),St[_0x314e7c(0x317)];}var lc=mt['exports'],fi;function _0x46d8(_0x7ce7e9,_0x453604){const _0x5197c2=_0x5197();return _0x46d8=function(_0x46d88f,_0x302619){_0x46d88f=_0x46d88f-0xa4;let _0x400d2c=_0x5197c2[_0x46d88f];return _0x400d2c;},_0x46d8(_0x7ce7e9,_0x453604);}function nr(){const _0x22af66=_0x2025fc;return fi||(fi=0x1,function(_0x1401db,_0x1fcd16){(function(_0x2490a6,_0x342771,_0x153c8d){const _0x30fb07=_0x46d8;_0x1401db[_0x30fb07(0x317)]=_0x342771(_e(),ac(),hc());}(lc,function(_0x148432){return(function(){const _0x5b28fc=_0x46d8;var _0x2448e5=_0x148432,_0xc0f0ec=_0x2448e5['lib'],_0x1a82a1=_0xc0f0ec[_0x5b28fc(0x298)],_0x4be92a=_0xc0f0ec[_0x5b28fc(0x1c9)],_0x4d1d4c=_0x2448e5[_0x5b28fc(0x1b4)],_0x2c0e45=_0x4d1d4c['MD5'],_0x4e4088=_0x4d1d4c[_0x5b28fc(0x2ba)]=_0x1a82a1[_0x5b28fc(0x4a2)]({'cfg':_0x1a82a1[_0x5b28fc(0x4a2)]({'keySize':0x80/0x20,'hasher':_0x2c0e45,'iterations':0x1}),'init':function(_0x4731b2){const _0x27fe2f=_0x5b28fc;this[_0x27fe2f(0x250)]=this['cfg']['extend'](_0x4731b2);},'compute':function(_0x50e5a5,_0x4aaf1c){const _0x5abf7b=_0x5b28fc;for(var _0x945380,_0x17337c=this[_0x5abf7b(0x250)],_0x15fe18=_0x17337c[_0x5abf7b(0x261)][_0x5abf7b(0x27d)](),_0x2b632f=_0x4be92a[_0x5abf7b(0x27d)](),_0x54813e=_0x2b632f[_0x5abf7b(0x352)],_0x3d03c3=_0x17337c[_0x5abf7b(0x254)],_0x43d092=_0x17337c['iterations'];_0x54813e[_0x5abf7b(0x161)]<_0x3d03c3;){_0x945380&&_0x15fe18[_0x5abf7b(0xbf)](_0x945380),_0x945380=_0x15fe18['update'](_0x50e5a5)[_0x5abf7b(0x17d)](_0x4aaf1c),_0x15fe18[_0x5abf7b(0x216)]();for(var _0x1e55e5=0x1;_0x1e55e5<_0x43d092;_0x1e55e5++)_0x945380=_0x15fe18[_0x5abf7b(0x17d)](_0x945380),_0x15fe18[_0x5abf7b(0x216)]();_0x2b632f[_0x5abf7b(0x40a)](_0x945380);}return _0x2b632f[_0x5abf7b(0x4a3)]=_0x3d03c3*0x4,_0x2b632f;}});_0x2448e5[_0x5b28fc(0x2ba)]=function(_0x1b67e1,_0x55b086,_0x4f00d6){const _0x18b3d2=_0x5b28fc;return _0x4e4088[_0x18b3d2(0x27d)](_0x4f00d6)[_0x18b3d2(0x2ca)](_0x1b67e1,_0x55b086);};}()),_0x148432['EvpKDF'];}));}(mt)),mt[_0x22af66(0x317)];}var It={'exports':{}},_c=It[_0x2025fc(0x317)],vi;function or(){return vi||(vi=0x1,function(_0x437363,_0x18ef93){(function(_0x4a8e7b,_0x5396d3,_0x162549){const _0x24a4b6=_0x46d8;_0x437363[_0x24a4b6(0x317)]=_0x5396d3(_e(),nr());}(_c,function(_0x4cdc08){_0x4cdc08['lib']['Cipher']||function(_0x75539f){const _0x1a834e=_0x46d8;var _0x131487=_0x4cdc08,_0x43dedf=_0x131487[_0x1a834e(0x118)],_0x4ba3e6=_0x43dedf['Base'],_0x16e173=_0x43dedf[_0x1a834e(0x1c9)],_0x1ec9d7=_0x43dedf[_0x1a834e(0x450)],_0x9dcb7=_0x131487['enc'];_0x9dcb7[_0x1a834e(0x488)];var _0x1d8690=_0x9dcb7[_0x1a834e(0x22c)],_0xa36d5e=_0x131487[_0x1a834e(0x1b4)],_0x1a5c2d=_0xa36d5e[_0x1a834e(0x2ba)],_0x170403=_0x43dedf[_0x1a834e(0x31d)]=_0x1ec9d7[_0x1a834e(0x4a2)]({'cfg':_0x4ba3e6[_0x1a834e(0x4a2)](),'createEncryptor':function(_0x599fa6,_0x4740ec){const _0x2e08f9=_0x1a834e;return this[_0x2e08f9(0x27d)](this[_0x2e08f9(0x3db)],_0x599fa6,_0x4740ec);},'createDecryptor':function(_0x2a4bd3,_0x193aca){const _0x139219=_0x1a834e;return this[_0x139219(0x27d)](this[_0x139219(0x10d)],_0x2a4bd3,_0x193aca);},'init':function(_0x3e5d11,_0x13a032,_0x236e6d){const _0x5b8894=_0x1a834e;this['cfg']=this['cfg'][_0x5b8894(0x4a2)](_0x236e6d),this[_0x5b8894(0x313)]=_0x3e5d11,this[_0x5b8894(0x306)]=_0x13a032,this[_0x5b8894(0x216)]();},'reset':function(){const _0x5a26e7=_0x1a834e;_0x1ec9d7[_0x5a26e7(0x216)][_0x5a26e7(0x494)](this),this[_0x5a26e7(0x228)]();},'process':function(_0x4992e0){const _0x1b0f79=_0x1a834e;return this[_0x1b0f79(0x245)](_0x4992e0),this[_0x1b0f79(0xb9)]();},'finalize':function(_0xccdd70){_0xccdd70&&this['_append'](_0xccdd70);var _0x3df9b=this['_doFinalize']();return _0x3df9b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4bb796(_0x229dd5){const _0x42d92f=_0x46d8;return typeof _0x229dd5==_0x42d92f(0x151)?_0x4c24a3:_0xf309e7;}return function(_0x1f1c02){return{'encrypt':function(_0x5552f0,_0x1946ea,_0x53cda0){const _0x30e37a=_0x46d8;return _0x4bb796(_0x1946ea)[_0x30e37a(0x36a)](_0x1f1c02,_0x5552f0,_0x1946ea,_0x53cda0);},'decrypt':function(_0x4643ca,_0x44b12a,_0x5ed82b){const _0x470b7f=_0x46d8;return _0x4bb796(_0x44b12a)[_0x470b7f(0xbe)](_0x1f1c02,_0x4643ca,_0x44b12a,_0x5ed82b);}};};}())});_0x43dedf['StreamCipher']=_0x170403[_0x1a834e(0x4a2)]({'_doFinalize':function(){const _0x1366b8=_0x1a834e;var _0xc43c70=this[_0x1366b8(0xb9)](!0x0);return _0xc43c70;},'blockSize':0x1});var _0x489559=_0x131487['mode']={},_0x158b9d=_0x43dedf[_0x1a834e(0x353)]=_0x4ba3e6[_0x1a834e(0x4a2)]({'createEncryptor':function(_0xe71ab9,_0x346906){const _0x1d0642=_0x1a834e;return this[_0x1d0642(0x205)][_0x1d0642(0x27d)](_0xe71ab9,_0x346906);},'createDecryptor':function(_0x308509,_0x522959){const _0x97010a=_0x1a834e;return this[_0x97010a(0x255)][_0x97010a(0x27d)](_0x308509,_0x522959);},'init':function(_0x20c6f9,_0x1d6e29){const _0x19012b=_0x1a834e;this[_0x19012b(0x434)]=_0x20c6f9,this[_0x19012b(0x355)]=_0x1d6e29;}}),_0x2c8fd0=_0x489559['CBC']=(function(){const _0xa07ae1=_0x1a834e;var _0x4a0679=_0x158b9d['extend']();_0x4a0679[_0xa07ae1(0x205)]=_0x4a0679['extend']({'processBlock':function(_0x435b8b,_0x16e3dc){const _0x3f05d0=_0xa07ae1;var _0x1e06b9=this[_0x3f05d0(0x434)],_0x4d3141=_0x1e06b9[_0x3f05d0(0x112)];_0x166e7d[_0x3f05d0(0x494)](this,_0x435b8b,_0x16e3dc,_0x4d3141),_0x1e06b9['encryptBlock'](_0x435b8b,_0x16e3dc),this[_0x3f05d0(0x305)]=_0x435b8b[_0x3f05d0(0x48f)](_0x16e3dc,_0x16e3dc+_0x4d3141);}}),_0x4a0679[_0xa07ae1(0x255)]=_0x4a0679['extend']({'processBlock':function(_0xbfe314,_0x4b9807){const _0x7f1adf=_0xa07ae1;var _0xb17a73=this['_cipher'],_0x5c374f=_0xb17a73[_0x7f1adf(0x112)],_0x277182=_0xbfe314[_0x7f1adf(0x48f)](_0x4b9807,_0x4b9807+_0x5c374f);_0xb17a73[_0x7f1adf(0x3f0)](_0xbfe314,_0x4b9807),_0x166e7d[_0x7f1adf(0x494)](this,_0xbfe314,_0x4b9807,_0x5c374f),this['_prevBlock']=_0x277182;}});function _0x166e7d(_0x31d75a,_0x11eb71,_0x2071f9){const _0x5b4b7c=_0xa07ae1;var _0x4b1168,_0x4864dc=this['_iv'];_0x4864dc?(_0x4b1168=_0x4864dc,this['_iv']=_0x75539f):_0x4b1168=this[_0x5b4b7c(0x305)];for(var _0x2d2e67=0x0;_0x2d2e67<_0x2071f9;_0x2d2e67++)_0x31d75a[_0x11eb71+_0x2d2e67]^=_0x4b1168[_0x2d2e67];}return _0x4a0679;}()),_0x37e52c=_0x131487[_0x1a834e(0x45f)]={},_0x70b5a3=_0x37e52c[_0x1a834e(0x234)]={'pad':function(_0x348bb6,_0x12f930){const _0x24703b=_0x1a834e;for(var _0x56529b=_0x12f930*0x4,_0x28a59e=_0x56529b-_0x348bb6[_0x24703b(0x4a3)]%_0x56529b,_0x2e3343=_0x28a59e<<0x18|_0x28a59e<<0x10|_0x28a59e<<0x8|_0x28a59e,_0x1506d5=[],_0x17685d=0x0;_0x17685d<_0x28a59e;_0x17685d+=0x4)_0x1506d5[_0x24703b(0x22f)](_0x2e3343);var _0x5ee0b8=_0x16e173[_0x24703b(0x27d)](_0x1506d5,_0x28a59e);_0x348bb6[_0x24703b(0x40a)](_0x5ee0b8);},'unpad':function(_0x6938d2){const _0x181535=_0x1a834e;var _0x4b5186=_0x6938d2[_0x181535(0x352)][_0x6938d2[_0x181535(0x4a3)]-0x1>>>0x2]&0xff;_0x6938d2[_0x181535(0x4a3)]-=_0x4b5186;}};_0x43dedf[_0x1a834e(0xdd)]=_0x170403[_0x1a834e(0x4a2)]({'cfg':_0x170403['cfg'][_0x1a834e(0x4a2)]({'mode':_0x2c8fd0,'padding':_0x70b5a3}),'reset':function(){const _0x2d9c9e=_0x1a834e;var _0x588d05;_0x170403[_0x2d9c9e(0x216)][_0x2d9c9e(0x494)](this);var _0x3c7854=this['cfg'],_0x309558=_0x3c7854['iv'],_0x1472c9=_0x3c7854[_0x2d9c9e(0x324)];this[_0x2d9c9e(0x313)]==this[_0x2d9c9e(0x3db)]?_0x588d05=_0x1472c9[_0x2d9c9e(0x3d4)]:(_0x588d05=_0x1472c9['createDecryptor'],this[_0x2d9c9e(0x12d)]=0x1),this['_mode']&&this[_0x2d9c9e(0x1e9)][_0x2d9c9e(0x1a4)]==_0x588d05?this['_mode']['init'](this,_0x309558&&_0x309558[_0x2d9c9e(0x352)]):(this[_0x2d9c9e(0x1e9)]=_0x588d05[_0x2d9c9e(0x494)](_0x1472c9,this,_0x309558&&_0x309558[_0x2d9c9e(0x352)]),this[_0x2d9c9e(0x1e9)][_0x2d9c9e(0x1a4)]=_0x588d05);},'_doProcessBlock':function(_0x457140,_0x1cfef1){const _0x54b27b=_0x1a834e;this[_0x54b27b(0x1e9)]['processBlock'](_0x457140,_0x1cfef1);},'_doFinalize':function(){const _0x2a5a69=_0x1a834e;var _0x8254fa,_0x3e1a0c=this[_0x2a5a69(0x250)]['padding'];return this[_0x2a5a69(0x313)]==this['_ENC_XFORM_MODE']?(_0x3e1a0c['pad'](this[_0x2a5a69(0x27e)],this[_0x2a5a69(0x112)]),_0x8254fa=this[_0x2a5a69(0xb9)](!0x0)):(_0x8254fa=this[_0x2a5a69(0xb9)](!0x0),_0x3e1a0c[_0x2a5a69(0x1e0)](_0x8254fa)),_0x8254fa;},'blockSize':0x80/0x20});var _0x2a4e40=_0x43dedf[_0x1a834e(0xeb)]=_0x4ba3e6[_0x1a834e(0x4a2)]({'init':function(_0x1a4d2f){this['mixIn'](_0x1a4d2f);},'toString':function(_0x61b07b){const _0x5723ca=_0x1a834e;return(_0x61b07b||this[_0x5723ca(0x126)])[_0x5723ca(0x11e)](this);}}),_0xf37682=_0x131487[_0x1a834e(0x224)]={},_0x3fccaa=_0xf37682[_0x1a834e(0x120)]={'stringify':function(_0x3c99f1){const _0x455810=_0x1a834e;var _0x278aef,_0x53ee10=_0x3c99f1['ciphertext'],_0x1747a1=_0x3c99f1[_0x455810(0x1fd)];return _0x1747a1?_0x278aef=_0x16e173[_0x455810(0x27d)]([0x53616c74,0x65645f5f])[_0x455810(0x40a)](_0x1747a1)[_0x455810(0x40a)](_0x53ee10):_0x278aef=_0x53ee10,_0x278aef[_0x455810(0x135)](_0x1d8690);},'parse':function(_0x185270){const _0xdaa06b=_0x1a834e;var _0x3bbd6b,_0x5580a0=_0x1d8690[_0xdaa06b(0x211)](_0x185270),_0x3cdf65=_0x5580a0['words'];return _0x3cdf65[0x0]==0x53616c74&&_0x3cdf65[0x1]==0x65645f5f&&(_0x3bbd6b=_0x16e173[_0xdaa06b(0x27d)](_0x3cdf65['slice'](0x2,0x4)),_0x3cdf65['splice'](0x0,0x4),_0x5580a0[_0xdaa06b(0x4a3)]-=0x10),_0x2a4e40[_0xdaa06b(0x27d)]({'ciphertext':_0x5580a0,'salt':_0x3bbd6b});}},_0xf309e7=_0x43dedf[_0x1a834e(0x31e)]=_0x4ba3e6['extend']({'cfg':_0x4ba3e6['extend']({'format':_0x3fccaa}),'encrypt':function(_0x3d6186,_0x3c396f,_0x3f3803,_0x5b1cdd){const _0x15a56f=_0x1a834e;_0x5b1cdd=this[_0x15a56f(0x250)]['extend'](_0x5b1cdd);var _0x21f2a2=_0x3d6186[_0x15a56f(0x3d4)](_0x3f3803,_0x5b1cdd),_0x4fd2a0=_0x21f2a2[_0x15a56f(0x17d)](_0x3c396f),_0x48518f=_0x21f2a2[_0x15a56f(0x250)];return _0x2a4e40[_0x15a56f(0x27d)]({'ciphertext':_0x4fd2a0,'key':_0x3f3803,'iv':_0x48518f['iv'],'algorithm':_0x3d6186,'mode':_0x48518f['mode'],'padding':_0x48518f[_0x15a56f(0x3bb)],'blockSize':_0x3d6186[_0x15a56f(0x112)],'formatter':_0x5b1cdd['format']});},'decrypt':function(_0x1d3387,_0x398913,_0x1c0ff3,_0x4c712d){const _0x456bb8=_0x1a834e;_0x4c712d=this[_0x456bb8(0x250)][_0x456bb8(0x4a2)](_0x4c712d),_0x398913=this[_0x456bb8(0x256)](_0x398913,_0x4c712d[_0x456bb8(0x224)]);var _0x350edc=_0x1d3387[_0x456bb8(0x2c2)](_0x1c0ff3,_0x4c712d)['finalize'](_0x398913[_0x456bb8(0x27a)]);return _0x350edc;},'_parse':function(_0x49f215,_0x2b8e93){const _0x3c99a6=_0x1a834e;return typeof _0x49f215==_0x3c99a6(0x151)?_0x2b8e93[_0x3c99a6(0x211)](_0x49f215,this):_0x49f215;}}),_0x4d8783=_0x131487[_0x1a834e(0x1d1)]={},_0x33710c=_0x4d8783[_0x1a834e(0x120)]={'execute':function(_0x29f753,_0x5bcece,_0x223538,_0xc7285c,_0x2902b7){const _0xc1b969=_0x1a834e;if(_0xc7285c||(_0xc7285c=_0x16e173['random'](0x40/0x8)),_0x2902b7)var _0x58815d=_0x1a5c2d[_0xc1b969(0x27d)]({'keySize':_0x5bcece+_0x223538,'hasher':_0x2902b7})[_0xc1b969(0x2ca)](_0x29f753,_0xc7285c);else var _0x58815d=_0x1a5c2d[_0xc1b969(0x27d)]({'keySize':_0x5bcece+_0x223538})['compute'](_0x29f753,_0xc7285c);var _0x2752f5=_0x16e173[_0xc1b969(0x27d)](_0x58815d['words'][_0xc1b969(0x48f)](_0x5bcece),_0x223538*0x4);return _0x58815d[_0xc1b969(0x4a3)]=_0x5bcece*0x4,_0x2a4e40[_0xc1b969(0x27d)]({'key':_0x58815d,'iv':_0x2752f5,'salt':_0xc7285c});}},_0x4c24a3=_0x43dedf[_0x1a834e(0xb0)]=_0xf309e7[_0x1a834e(0x4a2)]({'cfg':_0xf309e7[_0x1a834e(0x250)]['extend']({'kdf':_0x33710c}),'encrypt':function(_0x14c49d,_0x5b5c6f,_0x360216,_0x234a25){const _0x381bc6=_0x1a834e;_0x234a25=this[_0x381bc6(0x250)]['extend'](_0x234a25);var _0x341211=_0x234a25['kdf'][_0x381bc6(0x2dc)](_0x360216,_0x14c49d[_0x381bc6(0x254)],_0x14c49d[_0x381bc6(0x141)],_0x234a25[_0x381bc6(0x1fd)],_0x234a25[_0x381bc6(0x261)]);_0x234a25['iv']=_0x341211['iv'];var _0x265d0=_0xf309e7[_0x381bc6(0x36a)][_0x381bc6(0x494)](this,_0x14c49d,_0x5b5c6f,_0x341211['key'],_0x234a25);return _0x265d0[_0x381bc6(0x394)](_0x341211),_0x265d0;},'decrypt':function(_0x212295,_0x1c8ac9,_0x5b2f0e,_0x45df94){const _0x462d78=_0x1a834e;_0x45df94=this['cfg'][_0x462d78(0x4a2)](_0x45df94),_0x1c8ac9=this[_0x462d78(0x256)](_0x1c8ac9,_0x45df94[_0x462d78(0x224)]);var _0x528992=_0x45df94[_0x462d78(0x1d1)]['execute'](_0x5b2f0e,_0x212295[_0x462d78(0x254)],_0x212295[_0x462d78(0x141)],_0x1c8ac9[_0x462d78(0x1fd)],_0x45df94['hasher']);_0x45df94['iv']=_0x528992['iv'];var _0x402c6c=_0xf309e7['decrypt'][_0x462d78(0x494)](this,_0x212295,_0x1c8ac9,_0x528992[_0x462d78(0x45c)],_0x45df94);return _0x402c6c;}});}();}));}(It)),It['exports'];}var uc=dt[_0x2025fc(0x317)],pi;function dc(){const _0x3afdcd=_0x2025fc;return pi||(pi=0x1,function(_0x3e79f6,_0x1e2016){(function(_0x119ac0,_0x2ce047,_0x56f06c){const _0x3bf0e4=_0x46d8;_0x3e79f6[_0x3bf0e4(0x317)]=_0x2ce047(_e(),rr(),nc(),nr(),or());}(uc,function(_0x278a9c){const _0x55ff72=_0x46d8;return(function(){const _0x2e4fb1=_0x46d8;var _0x30f791=_0x278a9c,_0x1f3da1=_0x30f791[_0x2e4fb1(0x118)],_0x1af67c=_0x1f3da1[_0x2e4fb1(0xdd)],_0x4bd355=_0x30f791[_0x2e4fb1(0x1b4)],_0x5367ed=[],_0x185cc8=[],_0x22e6e1=[],_0x1060bc=[],_0x9e24e5=[],_0x31ea26=[],_0x14e023=[],_0x507ab5=[],_0x3c9e17=[],_0x57dcfb=[];(function(){for(var _0x39d0ef=[],_0x4b896b=0x0;_0x4b896b<0x100;_0x4b896b++)_0x4b896b<0x80?_0x39d0ef[_0x4b896b]=_0x4b896b<<0x1:_0x39d0ef[_0x4b896b]=_0x4b896b<<0x1^0x11b;for(var _0x2cb7bc=0x0,_0x3bec17=0x0,_0x4b896b=0x0;_0x4b896b<0x100;_0x4b896b++){var _0x168dfc=_0x3bec17^_0x3bec17<<0x1^_0x3bec17<<0x2^_0x3bec17<<0x3^_0x3bec17<<0x4;_0x168dfc=_0x168dfc>>>0x8^_0x168dfc&0xff^0x63,_0x5367ed[_0x2cb7bc]=_0x168dfc,_0x185cc8[_0x168dfc]=_0x2cb7bc;var _0x75f292=_0x39d0ef[_0x2cb7bc],_0x36e8b9=_0x39d0ef[_0x75f292],_0x347ff9=_0x39d0ef[_0x36e8b9],_0x369bf4=_0x39d0ef[_0x168dfc]*0x101^_0x168dfc*0x1010100;_0x22e6e1[_0x2cb7bc]=_0x369bf4<<0x18|_0x369bf4>>>0x8,_0x1060bc[_0x2cb7bc]=_0x369bf4<<0x10|_0x369bf4>>>0x10,_0x9e24e5[_0x2cb7bc]=_0x369bf4<<0x8|_0x369bf4>>>0x18,_0x31ea26[_0x2cb7bc]=_0x369bf4;var _0x369bf4=_0x347ff9*0x1010101^_0x36e8b9*0x10001^_0x75f292*0x101^_0x2cb7bc*0x1010100;_0x14e023[_0x168dfc]=_0x369bf4<<0x18|_0x369bf4>>>0x8,_0x507ab5[_0x168dfc]=_0x369bf4<<0x10|_0x369bf4>>>0x10,_0x3c9e17[_0x168dfc]=_0x369bf4<<0x8|_0x369bf4>>>0x18,_0x57dcfb[_0x168dfc]=_0x369bf4,_0x2cb7bc?(_0x2cb7bc=_0x75f292^_0x39d0ef[_0x39d0ef[_0x39d0ef[_0x347ff9^_0x75f292]]],_0x3bec17^=_0x39d0ef[_0x39d0ef[_0x3bec17]]):_0x2cb7bc=_0x3bec17=0x1;}}());var _0x43dc6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4a9580=_0x4bd355[_0x2e4fb1(0xfc)]=_0x1af67c[_0x2e4fb1(0x4a2)]({'_doReset':function(){const _0x16b0a9=_0x2e4fb1;var _0x39989e;if(!(this[_0x16b0a9(0x404)]&&this['_keyPriorReset']===this[_0x16b0a9(0x306)])){for(var _0x20e33d=this[_0x16b0a9(0x3d6)]=this[_0x16b0a9(0x306)],_0x13af51=_0x20e33d[_0x16b0a9(0x352)],_0x398939=_0x20e33d[_0x16b0a9(0x4a3)]/0x4,_0x55d7ff=this[_0x16b0a9(0x404)]=_0x398939+0x6,_0x2de9e8=(_0x55d7ff+0x1)*0x4,_0x2d555e=this['_keySchedule']=[],_0x46837a=0x0;_0x46837a<_0x2de9e8;_0x46837a++)_0x46837a<_0x398939?_0x2d555e[_0x46837a]=_0x13af51[_0x46837a]:(_0x39989e=_0x2d555e[_0x46837a-0x1],_0x46837a%_0x398939?_0x398939>0x6&&_0x46837a%_0x398939==0x4&&(_0x39989e=_0x5367ed[_0x39989e>>>0x18]<<0x18|_0x5367ed[_0x39989e>>>0x10&0xff]<<0x10|_0x5367ed[_0x39989e>>>0x8&0xff]<<0x8|_0x5367ed[_0x39989e&0xff]):(_0x39989e=_0x39989e<<0x8|_0x39989e>>>0x18,_0x39989e=_0x5367ed[_0x39989e>>>0x18]<<0x18|_0x5367ed[_0x39989e>>>0x10&0xff]<<0x10|_0x5367ed[_0x39989e>>>0x8&0xff]<<0x8|_0x5367ed[_0x39989e&0xff],_0x39989e^=_0x43dc6b[_0x46837a/_0x398939|0x0]<<0x18),_0x2d555e[_0x46837a]=_0x2d555e[_0x46837a-_0x398939]^_0x39989e);for(var _0x38a722=this[_0x16b0a9(0x16c)]=[],_0x4df2e2=0x0;_0x4df2e2<_0x2de9e8;_0x4df2e2++){var _0x46837a=_0x2de9e8-_0x4df2e2;if(_0x4df2e2%0x4)var _0x39989e=_0x2d555e[_0x46837a];else var _0x39989e=_0x2d555e[_0x46837a-0x4];_0x4df2e2<0x4||_0x46837a<=0x4?_0x38a722[_0x4df2e2]=_0x39989e:_0x38a722[_0x4df2e2]=_0x14e023[_0x5367ed[_0x39989e>>>0x18]]^_0x507ab5[_0x5367ed[_0x39989e>>>0x10&0xff]]^_0x3c9e17[_0x5367ed[_0x39989e>>>0x8&0xff]]^_0x57dcfb[_0x5367ed[_0x39989e&0xff]];}}},'encryptBlock':function(_0x5d7414,_0x3ee591){const _0x173b07=_0x2e4fb1;this['_doCryptBlock'](_0x5d7414,_0x3ee591,this[_0x173b07(0x1cd)],_0x22e6e1,_0x1060bc,_0x9e24e5,_0x31ea26,_0x5367ed);},'decryptBlock':function(_0x2491fe,_0x3b6eaf){const _0x46fc69=_0x2e4fb1;var _0x36ac09=_0x2491fe[_0x3b6eaf+0x1];_0x2491fe[_0x3b6eaf+0x1]=_0x2491fe[_0x3b6eaf+0x3],_0x2491fe[_0x3b6eaf+0x3]=_0x36ac09,this[_0x46fc69(0x323)](_0x2491fe,_0x3b6eaf,this['_invKeySchedule'],_0x14e023,_0x507ab5,_0x3c9e17,_0x57dcfb,_0x185cc8);var _0x36ac09=_0x2491fe[_0x3b6eaf+0x1];_0x2491fe[_0x3b6eaf+0x1]=_0x2491fe[_0x3b6eaf+0x3],_0x2491fe[_0x3b6eaf+0x3]=_0x36ac09;},'_doCryptBlock':function(_0x1dd776,_0x2cad6c,_0x21777d,_0x48fefa,_0x1e7597,_0x365698,_0x180445,_0x515e74){const _0x586714=_0x2e4fb1;for(var _0x47dcc8=this[_0x586714(0x404)],_0xfa56d8=_0x1dd776[_0x2cad6c]^_0x21777d[0x0],_0x30cb02=_0x1dd776[_0x2cad6c+0x1]^_0x21777d[0x1],_0x29f017=_0x1dd776[_0x2cad6c+0x2]^_0x21777d[0x2],_0x23d7c1=_0x1dd776[_0x2cad6c+0x3]^_0x21777d[0x3],_0x5bbcef=0x4,_0x108599=0x1;_0x108599<_0x47dcc8;_0x108599++){var _0x24ee2f=_0x48fefa[_0xfa56d8>>>0x18]^_0x1e7597[_0x30cb02>>>0x10&0xff]^_0x365698[_0x29f017>>>0x8&0xff]^_0x180445[_0x23d7c1&0xff]^_0x21777d[_0x5bbcef++],_0x3f0c73=_0x48fefa[_0x30cb02>>>0x18]^_0x1e7597[_0x29f017>>>0x10&0xff]^_0x365698[_0x23d7c1>>>0x8&0xff]^_0x180445[_0xfa56d8&0xff]^_0x21777d[_0x5bbcef++],_0x29e532=_0x48fefa[_0x29f017>>>0x18]^_0x1e7597[_0x23d7c1>>>0x10&0xff]^_0x365698[_0xfa56d8>>>0x8&0xff]^_0x180445[_0x30cb02&0xff]^_0x21777d[_0x5bbcef++],_0x39b79d=_0x48fefa[_0x23d7c1>>>0x18]^_0x1e7597[_0xfa56d8>>>0x10&0xff]^_0x365698[_0x30cb02>>>0x8&0xff]^_0x180445[_0x29f017&0xff]^_0x21777d[_0x5bbcef++];_0xfa56d8=_0x24ee2f,_0x30cb02=_0x3f0c73,_0x29f017=_0x29e532,_0x23d7c1=_0x39b79d;}var _0x24ee2f=(_0x515e74[_0xfa56d8>>>0x18]<<0x18|_0x515e74[_0x30cb02>>>0x10&0xff]<<0x10|_0x515e74[_0x29f017>>>0x8&0xff]<<0x8|_0x515e74[_0x23d7c1&0xff])^_0x21777d[_0x5bbcef++],_0x3f0c73=(_0x515e74[_0x30cb02>>>0x18]<<0x18|_0x515e74[_0x29f017>>>0x10&0xff]<<0x10|_0x515e74[_0x23d7c1>>>0x8&0xff]<<0x8|_0x515e74[_0xfa56d8&0xff])^_0x21777d[_0x5bbcef++],_0x29e532=(_0x515e74[_0x29f017>>>0x18]<<0x18|_0x515e74[_0x23d7c1>>>0x10&0xff]<<0x10|_0x515e74[_0xfa56d8>>>0x8&0xff]<<0x8|_0x515e74[_0x30cb02&0xff])^_0x21777d[_0x5bbcef++],_0x39b79d=(_0x515e74[_0x23d7c1>>>0x18]<<0x18|_0x515e74[_0xfa56d8>>>0x10&0xff]<<0x10|_0x515e74[_0x30cb02>>>0x8&0xff]<<0x8|_0x515e74[_0x29f017&0xff])^_0x21777d[_0x5bbcef++];_0x1dd776[_0x2cad6c]=_0x24ee2f,_0x1dd776[_0x2cad6c+0x1]=_0x3f0c73,_0x1dd776[_0x2cad6c+0x2]=_0x29e532,_0x1dd776[_0x2cad6c+0x3]=_0x39b79d;},'keySize':0x100/0x20});_0x30f791[_0x2e4fb1(0xfc)]=_0x1af67c[_0x2e4fb1(0xb5)](_0x4a9580);}()),_0x278a9c[_0x55ff72(0xfc)];}));}(dt)),dt[_0x3afdcd(0x317)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct['exports'],gi;function gc(){const _0x3b3586=_0x2025fc;return gi||(gi=0x1,function(_0x119779,_0x312ca9){(function(_0x5b4eb0,_0xb4d625){const _0x592ce8=_0x46d8;_0x119779[_0x592ce8(0x317)]=_0xb4d625(_e());}(mc,function(_0x510f88){const _0xd69047=_0x46d8;return _0x510f88[_0xd69047(0xdb)][_0xd69047(0x488)];}));}(Ct)),Ct[_0x3b3586(0x317)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x2025fc(0x317)],Si;function Ec(){const _0x43d317=_0x2025fc;return Si||(Si=0x1,function(_0x1f8a5b,_0x1b3da9){(function(_0x4861b5,_0x40ed07){_0x1f8a5b['exports']=_0x40ed07(_e());}(Cc,function(_0x21a69b){const _0xbd6c50=_0x46d8;return(function(){const _0x3f9dab=_0x46d8;if(typeof ArrayBuffer==_0x3f9dab(0x2d6)){var _0x2a91ac=_0x21a69b,_0x39f789=_0x2a91ac[_0x3f9dab(0x118)],_0x1f6b9e=_0x39f789[_0x3f9dab(0x1c9)],_0x1103e8=_0x1f6b9e[_0x3f9dab(0x289)],_0xd5dbed=_0x1f6b9e[_0x3f9dab(0x289)]=function(_0x2a8527){const _0x14c5b3=_0x3f9dab;if(_0x2a8527 instanceof ArrayBuffer&&(_0x2a8527=new Uint8Array(_0x2a8527)),(_0x2a8527 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a8527 instanceof Uint8ClampedArray||_0x2a8527 instanceof Int16Array||_0x2a8527 instanceof Uint16Array||_0x2a8527 instanceof Int32Array||_0x2a8527 instanceof Uint32Array||_0x2a8527 instanceof Float32Array||_0x2a8527 instanceof Float64Array)&&(_0x2a8527=new Uint8Array(_0x2a8527[_0x14c5b3(0x4be)],_0x2a8527['byteOffset'],_0x2a8527['byteLength'])),_0x2a8527 instanceof Uint8Array){for(var _0x586c07=_0x2a8527[_0x14c5b3(0x32a)],_0x41331f=[],_0x55811c=0x0;_0x55811c<_0x586c07;_0x55811c++)_0x41331f[_0x55811c>>>0x2]|=_0x2a8527[_0x55811c]<<0x18-_0x55811c%0x4*0x8;_0x1103e8[_0x14c5b3(0x494)](this,_0x41331f,_0x586c07);}else _0x1103e8[_0x14c5b3(0x38b)](this,arguments);};_0xd5dbed['prototype']=_0x1f6b9e;}}()),_0x21a69b[_0xbd6c50(0x118)][_0xbd6c50(0x1c9)];}));}(Et)),Et[_0x43d317(0x317)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x2025fc(0x317)],Ii;function Oc(){return Ii||(Ii=0x1,function(_0x2c0c38,_0x2ff440){(function(_0x38b22c,_0x4a3eb2,_0x34672b){const _0x46cdd6=_0x46d8;_0x2c0c38[_0x46cdd6(0x317)]=_0x4a3eb2(_e(),or());}(Rc,function(_0x482228){const _0x342d2c=_0x46d8;return _0x482228[_0x342d2c(0x45f)][_0x342d2c(0x15c)]={'pad':function(){},'unpad':function(){}},_0x482228[_0x342d2c(0x45f)][_0x342d2c(0x15c)];}));}(bt)),bt['exports'];}var yc=Oc();const wc=ct(yc);function Dc(_0x1fd90d,_0x9063a8){const _0x336da5=_0x2025fc,_0x18b518=_0x9063a8-_0x1fd90d[_0x336da5(0x161)]%_0x9063a8,_0x3299fb=String[_0x336da5(0x208)](_0x18b518)[_0x336da5(0x3ba)](_0x18b518);return _0x1fd90d+_0x3299fb;}function Pc(_0x290f2f,_0x3f5ba0){const _0x4900ba=_0x2025fc,_0x1f7956=Tc[_0x4900ba(0x48e)](0x10),_0x594184=Dc(_0x290f2f,0x10),_0xe87556=vc[_0x4900ba(0x36a)](Ic[_0x4900ba(0x211)](_0x594184),mi['parse'](_0x3f5ba0),{'iv':_0x1f7956,'padding':wc});return _0x1f7956[_0x4900ba(0x40a)](_0xe87556[_0x4900ba(0x27a)])[_0x4900ba(0x135)](mi);}function Nc(){const _0x2dce8f=_0x2025fc,_0x8fc464=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x8fc464){const _0x89745b={'time':Math[_0x2dce8f(0x127)](Date[_0x2dce8f(0x1d9)]()/0x3e8),'domain':location[_0x2dce8f(0x32b)]};return Pc(JSON['stringify'](_0x89745b),_0x8fc464);}}var Uc=Object[_0x2025fc(0x385)],Ac=Object[_0x2025fc(0x18c)],Mc=(_0x2685e9,_0x6c04ab,_0x287c86,_0x14cf89)=>{for(var _0x4f36e7=_0x14cf89>0x1?void 0x0:_0x14cf89?Ac(_0x6c04ab,_0x287c86):_0x6c04ab,_0x445e12=_0x2685e9['length']-0x1,_0x300862;_0x445e12>=0x0;_0x445e12--)(_0x300862=_0x2685e9[_0x445e12])&&(_0x4f36e7=(_0x14cf89?_0x300862(_0x6c04ab,_0x287c86,_0x4f36e7):_0x300862(_0x4f36e7))||_0x4f36e7);return _0x14cf89&&_0x4f36e7&&Uc(_0x6c04ab,_0x287c86,_0x4f36e7),_0x4f36e7;},xc=(_0x9ece60,_0x39eb8b)=>(_0x5ecc87,_0xc52f92)=>_0x39eb8b(_0x5ecc87,_0xc52f92,_0x9ece60);let $t=class{constructor(_0x1bb02c){const _0x4abdae=_0x2025fc;this['_httpService']=_0x1bb02c,this[_0x4abdae(0x4bb)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1c42a0,_0x4231a3)=>{const _0x52ba1b=_0x46d8,_0x432d51=_0x1c42a0[_0x52ba1b(0x28c)],_0x56ab59=Nc();return _0x56ab59&&_0x432d51['set'](_0x52ba1b(0xf9),_0x56ab59),_0x4231a3(_0x1c42a0);}});}};$t=Mc([xc(0x0,_0x5847bf(_0x310387))],$t);var Lc=Object[_0x2025fc(0x385)],$c=Object['getOwnPropertyDescriptor'],Hc=(_0x25f18f,_0x558306,_0x320659,_0x1db419)=>{for(var _0x2ac72c=_0x1db419>0x1?void 0x0:_0x1db419?$c(_0x558306,_0x320659):_0x558306,_0x43378a=_0x25f18f['length']-0x1,_0x4cbe1b;_0x43378a>=0x0;_0x43378a--)(_0x4cbe1b=_0x25f18f[_0x43378a])&&(_0x2ac72c=(_0x1db419?_0x4cbe1b(_0x558306,_0x320659,_0x2ac72c):_0x4cbe1b(_0x2ac72c))||_0x2ac72c);return _0x1db419&&_0x2ac72c&&Lc(_0x558306,_0x320659,_0x2ac72c),_0x2ac72c;},rs=(_0x553ce9,_0x45a7fb)=>(_0x4053c2,_0x4e8a69)=>_0x45a7fb(_0x4053c2,_0x4e8a69,_0x553ce9);const jc=[_0x2025fc(0x392),_0x2025fc(0x190),_0x2025fc(0x30c),_0x2025fc(0x4a1),'image/bmp'],Bc=0x5*0x400*0x400,kc=_0x2025fc(0x278),Wc=_0x2025fc(0x184),Fc=_0x2025fc(0xc0),Vc=_0x2025fc(0x3fc);let ms=class{constructor(_0x4db8e3,_0x42c56c,_0xc76584){const _0x3d0458=_0x2025fc;g(this,_0x3d0458(0x328),0x0),g(this,'_change$',new _0x1c0b9c()),g(this,_0x3d0458(0x314),this[_0x3d0458(0x1b2)]),g(this,'_imageSourceCache',new Map()),(this[_0x3d0458(0x2d8)]=_0x4db8e3,this[_0x3d0458(0xb4)]=_0x42c56c,this[_0x3d0458(0x3cf)]=_0xc76584);}['setWaitCount'](_0x162832){const _0x162ba5=_0x2025fc;this[_0x162ba5(0x328)]=_0x162832,this['_change$'][_0x162ba5(0x382)](_0x162832);}[_0x2025fc(0x48c)](_0x50f4e3,_0x12fe74){const _0x1cc4e1=_0x2025fc;if(_0x12fe74===_0x3882da[_0x1cc4e1(0x31f)]){const _0x3b6128=new Image();return _0x3b6128['src']=_0x50f4e3,_0x3b6128;}return this[_0x1cc4e1(0x383)]['get'](_0x50f4e3);}[_0x2025fc(0x3b7)](_0x5da71c,_0x35d4db,_0x7a1918){const _0x4d4266=_0x2025fc;_0x35d4db===_0x3882da[_0x4d4266(0x31f)]||_0x7a1918==null||this['_imageSourceCache'][_0x4d4266(0x39c)](_0x5da71c,_0x7a1918);}async[_0x2025fc(0x119)](_0x42da52){const _0x580296=_0x2025fc;try{const _0x14f3ca=this['_replaceFileID'](this['_getSignURL'](),''+_0x42da52),_0x5ac225=(await this['_httpService'][_0x580296(0x33e)](_0x14f3ca))[_0x580296(0x41f)];if(_0x5ac225[_0x580296(0x279)]&&_0x5ac225[_0x580296(0x279)]['code']===Fi['OK']){const _0x363c7f=new URL(_0x5ac225[_0x580296(0x33c)],this[_0x580296(0x341)]())['toString']();return Promise['resolve'](_0x363c7f);}return Promise[_0x580296(0x33a)](_0x5ac225[_0x580296(0x279)]);}catch(_0x1c55ac){return Promise['reject'](_0x1c55ac);}}async[_0x2025fc(0x3eb)](_0x3f3992){const _0x2df248=_0x2025fc;let _0x316ad1='';if(!jc['includes'](_0x3f3992[_0x2df248(0x442)]))return this[_0x2df248(0x42d)](),Promise['reject'](new Error(_0x228958[_0x2df248(0xa4)]));if(_0x3f3992[_0x2df248(0x2ac)]>Bc)return this['_decreaseWaiting'](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x41d)]));try{const _0x57b59d=new FormData();_0x57b59d['append']('file',_0x3f3992);const _0x18302b=this[_0x2df248(0x3cf)][_0x2df248(0x3ff)](),_0xad246f=_0x18302b==null?void 0x0:_0x18302b['getUnitId']();if(!_0xad246f)throw new Error('unitId\x20is\x20not\x20found');const _0x382e18=this[_0x2df248(0x24a)]()+_0x2df248(0x27b)+_0x3f3992[_0x2df248(0x2ac)]['toString']()+_0x2df248(0x251)+Vi[_0x2df248(0x239)]+_0x2df248(0x4b7)+encodeURIComponent(_0xad246f),_0x1f6d34=await(await fetch(_0x382e18,{'method':'POST','body':_0x57b59d}))[_0x2df248(0x1f7)]();if(typeof _0x1f6d34[_0x2df248(0x28d)]!=_0x2df248(0x151))return this[_0x2df248(0x42d)](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x258)]));_0x316ad1=_0x1f6d34['FileId'];}catch{return this[_0x2df248(0x42d)](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x258)]));}return new Promise((_0x50efec,_0x53ed22)=>{const _0x23989d=_0x2df248,_0x2f9706=new FileReader();_0x2f9706[_0x23989d(0x18e)](_0x3f3992),_0x2f9706[_0x23989d(0x407)]=_0x196477=>{const _0x2149a3=_0x23989d;var _0x4d7785;const _0x2e71c1=(_0x4d7785=_0x196477[_0x2149a3(0x3c4)])==null?void 0x0:_0x4d7785['result'];if(_0x2e71c1==null){this[_0x2149a3(0x42d)](),_0x53ed22(new Error(_0x228958['ERROR_IMAGE']));return;}const _0x246414=_0x529634[_0x2149a3(0x210)](0x6);_0x50efec({'imageId':_0x246414,'imageSourceType':_0x3882da[_0x2149a3(0x3ce)],'source':_0x316ad1,'base64Cache':_0x2e71c1,'status':_0x228958[_0x2149a3(0x4b5)]}),this[_0x2149a3(0x42d)]();};});}[_0x2025fc(0x24a)](){const _0x5b1db4=_0x2025fc;var _0x322418,_0x1e09df;const _0x2aec6b=this[_0x5b1db4(0xb4)][_0x5b1db4(0x217)](kc),_0x5b27b6=this[_0x5b1db4(0xb4)][_0x5b1db4(0x217)](Q);return(_0x1e09df=(_0x322418=_0x5b27b6==null?void 0x0:_0x5b27b6[_0x5b1db4(0x186)])!=null?_0x322418:_0x2aec6b)!=null?_0x1e09df:Wc;}['_getSignURL'](){const _0x457564=_0x2025fc;var _0x1b67d3,_0x12a2b6;const _0x2d4539=this[_0x457564(0xb4)]['getConfig'](Fc),_0x16c34f=this['_configService'][_0x457564(0x217)](Q);return(_0x12a2b6=(_0x1b67d3=_0x16c34f==null?void 0x0:_0x16c34f['signUrlServerUrl'])!=null?_0x1b67d3:_0x2d4539)!=null?_0x12a2b6:Vc;}['_getDownloadEndpointURL'](){const _0x957711=_0x2025fc;var _0x52a874;const _0x2437a3=this[_0x957711(0xb4)]['getConfig'](Q);return(_0x52a874=_0x2437a3==null?void 0x0:_0x2437a3['downloadEndpointUrl'])!=null?_0x52a874:location[_0x957711(0x25c)];}['_replaceFileID'](_0x51f604,_0x4886dd){const _0x5ec1a7=_0x2025fc;return _0x51f604[_0x5ec1a7(0x11f)](_0x5ec1a7(0x3c3),_0x4886dd);}['_decreaseWaiting'](){const _0x56acc9=_0x2025fc;this[_0x56acc9(0x328)]-=0x1,this[_0x56acc9(0x1b2)][_0x56acc9(0x382)](this[_0x56acc9(0x328)]);}};ms=Hc([rs(0x0,_0x5847bf(_0x310387)),rs(0x1,_0x4df844),rs(0x2,_0x5847bf(_0x425cee))],ms);var Gc=Object[_0x2025fc(0x385)],Yc=Object[_0x2025fc(0x18c)],Kc=(_0x3e00f7,_0x452080,_0x1fdd9c,_0x174c53)=>{const _0x54c1c8=_0x2025fc;for(var _0x2c9417=_0x174c53>0x1?void 0x0:_0x174c53?Yc(_0x452080,_0x1fdd9c):_0x452080,_0x58af7e=_0x3e00f7[_0x54c1c8(0x161)]-0x1,_0x58185a;_0x58af7e>=0x0;_0x58af7e--)(_0x58185a=_0x3e00f7[_0x58af7e])&&(_0x2c9417=(_0x174c53?_0x58185a(_0x452080,_0x1fdd9c,_0x2c9417):_0x58185a(_0x2c9417))||_0x2c9417);return _0x174c53&&_0x2c9417&&Gc(_0x452080,_0x1fdd9c,_0x2c9417),_0x2c9417;},Ci=(_0xdf60e1,_0x2b4df5)=>(_0x42c7df,_0x45fdef)=>_0x2b4df5(_0x42c7df,_0x45fdef,_0xdf60e1);const qc=_0x2025fc(0x423);let gs=class{constructor(_0x9d5e21,_0x9f17b0){const _0x1c9b3e=_0x2025fc;this['_configService']=_0x9d5e21,this[_0x1c9b3e(0x3f6)]=_0x9f17b0;}[_0x2025fc(0x10e)](){const _0x4e81eb=_0x2025fc;var _0x1c0b81,_0x422e0d;const _0x496549=this[_0x4e81eb(0xb4)]['getConfig'](ir),_0x3f016b=this['_configService']['getConfig'](Q);return(_0x422e0d=(_0x1c0b81=_0x3f016b==null?void 0x0:_0x3f016b[_0x4e81eb(0x223)])!=null?_0x1c0b81:_0x496549)!=null?_0x422e0d:qc;}async[_0x2025fc(0x3c0)](_0x2fb70d){const _0x1bcaf5=_0x2025fc,_0x4ff034=this[_0x1bcaf5(0x10e)]()+_0x1bcaf5(0x21b);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x1bcaf5(0x33e)](_0x4ff034,{'params':{'objectID':_0x2fb70d[_0x1bcaf5(0x273)],'unitID':_0x2fb70d['unitId']}}))[_0x1bcaf5(0x41f)][_0x1bcaf5(0x431)][_0x1bcaf5(0x23a)](_0x24aa42=>({'objectId':_0x24aa42['id'],'name':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x1c7)],'metadata':{'icon':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x2aa)]},'label':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x1c7)],'objectType':_0x153717[_0x1bcaf5(0x1e6)]})),'metadata':{},'type':_0x153717[_0x1bcaf5(0x1e6)]}]};}};gs=Kc([Ci(0x0,_0x5847bf(_0x4df844)),Ci(0x1,_0x5847bf(_0x310387))],gs);var zc=Object[_0x2025fc(0x385)],Xc=Object[_0x2025fc(0x18c)],Jc=(_0x2d9c10,_0x1bdd9b,_0x206049,_0x5216f0)=>{const _0x492d02=_0x2025fc;for(var _0x56b89a=_0x5216f0>0x1?void 0x0:_0x5216f0?Xc(_0x1bdd9b,_0x206049):_0x1bdd9b,_0x588dc1=_0x2d9c10[_0x492d02(0x161)]-0x1,_0x34ac72;_0x588dc1>=0x0;_0x588dc1--)(_0x34ac72=_0x2d9c10[_0x588dc1])&&(_0x56b89a=(_0x5216f0?_0x34ac72(_0x1bdd9b,_0x206049,_0x56b89a):_0x34ac72(_0x56b89a))||_0x56b89a);return _0x5216f0&&_0x56b89a&&zc(_0x1bdd9b,_0x206049,_0x56b89a),_0x56b89a;},et=(_0x7a4161,_0x4542b3)=>(_0x731c80,_0x161166)=>_0x4542b3(_0x731c80,_0x161166,_0x7a4161);let Ht=class extends _0x5ec0cb{constructor(_0x589fb5,_0x317a29,_0x55f05c,_0x437716,_0x254c87){const _0x5c361e=_0x2025fc;super(),this[_0x5c361e(0x147)]=_0x589fb5,this['_univerInstanceService']=_0x317a29,this[_0x5c361e(0x2fa)]=_0x55f05c,this[_0x5c361e(0x29f)]=_0x437716,this[_0x5c361e(0x3a9)]=_0x254c87,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x2025fc(0x138)](){const _0x23ddab=_0x2025fc,_0x4c5ffa=async _0x593619=>{const _0x446476=_0x46d8;(await this[_0x446476(0x29f)]['requireSession'](_0x593619))[_0x446476(0x142)]['pipe'](_0xa0d892(_0x527b78=>_0x527b78[_0x446476(0x28b)]===_0x3a14f4[_0x446476(0x23f)]),_0xc7ed86(this[_0x446476(0x345)]))[_0x446476(0x140)](_0x3d749b=>{const _0x4092b7=_0x446476,_0x2edd8d=_0x3d749b,{reason:_0x3f13f5}=_0x2edd8d['data'];this['_injector'][_0x4092b7(0x33e)](_0x3d017a)[_0x4092b7(0x3c2)]({'type':_0x3f6750['Error'],'content':this[_0x4092b7(0x3a9)]['t'](_0x4092b7(0x170))+'('+_0x3f13f5+')'}),this[_0x4092b7(0x2fa)][_0x4092b7(0x2ce)](new _0x232ff6(_0x593619)['id'],!0x1),this['_collaborationSessionService'][_0x4092b7(0x416)](_0x593619);});};_0x38a986(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb166dc[_0x23ddab(0x4a6)]),this[_0x23ddab(0x3cf)]['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_DOC']))[_0x23ddab(0x150)](_0xb11c2f(_0x260643=>_0x260643['getUnitId']()),_0xa0d892(_0x31e236=>!_0x56718f(_0x31e236)),_0xc7ed86(this[_0x23ddab(0x345)]))['subscribe'](_0x2fc801=>{_0x4c5ffa(_0x2fc801);});}[_0x2025fc(0x3a2)](){const _0x3f1410=_0x2025fc,_0x4fe9b3=async _0x324a51=>{const _0x570022=_0x46d8;(await this[_0x570022(0x29f)][_0x570022(0x40d)](_0x324a51))[_0x570022(0x142)][_0x570022(0x150)](_0xa0d892(_0x3c7e0d=>_0x3c7e0d[_0x570022(0x28b)]===_0x3a14f4[_0x570022(0x47c)]),_0xc7ed86(this['dispose$']))[_0x570022(0x140)](_0x54009b=>{const _0x347c89=_0x570022,_0x1be2a7=_0x54009b,{objectId:_0x5dc056}=_0x1be2a7[_0x347c89(0x2a0)],_0x760537=this[_0x347c89(0x147)][_0x347c89(0x33e)](_0x244d66);_0x5dc056===_0x324a51?_0x760537[_0x347c89(0x484)](_0x324a51):_0x760537[_0x347c89(0x41a)](_0x324a51,_0x5dc056);});};_0x38a986(this['_univerInstanceService'][_0x3f1410(0x2c3)](_0xb166dc[_0x3f1410(0x4a6)]),this[_0x3f1410(0x3cf)][_0x3f1410(0x2c3)](_0xb166dc['UNIVER_DOC']))[_0x3f1410(0x150)](_0xb11c2f(_0x429e56=>_0x429e56[_0x3f1410(0x10b)]()),_0xa0d892(_0x46b635=>!_0x56718f(_0x46b635)),_0xc7ed86(this['dispose$']))[_0x3f1410(0x140)](_0x481385=>{_0x4fe9b3(_0x481385);});}};Ht=Jc([et(0x0,_0x5847bf(_0x5d7671)),et(0x1,_0x425cee),et(0x2,_0x1700fb),et(0x3,_0x5847bf(xe)),et(0x4,_0x5847bf(_0x4b4756))],Ht);var Zc=Object[_0x2025fc(0x385)],Qc=Object[_0x2025fc(0x18c)],eh=(_0x2a96ce,_0x2bcd06,_0x3e358c,_0x10a8b0)=>{const _0x1c08a4=_0x2025fc;for(var _0x92ed3f=_0x10a8b0>0x1?void 0x0:_0x10a8b0?Qc(_0x2bcd06,_0x3e358c):_0x2bcd06,_0x259333=_0x2a96ce[_0x1c08a4(0x161)]-0x1,_0x5648d9;_0x259333>=0x0;_0x259333--)(_0x5648d9=_0x2a96ce[_0x259333])&&(_0x92ed3f=(_0x10a8b0?_0x5648d9(_0x2bcd06,_0x3e358c,_0x92ed3f):_0x5648d9(_0x92ed3f))||_0x92ed3f);return _0x10a8b0&&_0x92ed3f&&Zc(_0x2bcd06,_0x3e358c,_0x92ed3f),_0x92ed3f;},Ei=(_0x2d6094,_0x3d7aa8)=>(_0x5c0838,_0x58995e)=>_0x3d7aa8(_0x5c0838,_0x58995e,_0x2d6094);let Ss=class{constructor(_0xea21db,_0x2d8eb){const _0x3fc5ae=_0x2025fc;this[_0x3fc5ae(0xb4)]=_0xea21db,this[_0x3fc5ae(0x2d8)]=_0x2d8eb;}async['getUnitOnRev'](_0x9241c6,_0x4976b2){const _0x162641=_0x2025fc;var _0x2044f1;const {unitID:_0xc242a6,type:_0x469f3f,revision:_0x28b396=0x0}=_0x4976b2,_0x554294=this[_0x162641(0xdc)]()+'/'+_0x469f3f+'/unit/'+_0xc242a6+_0x162641(0x166)+_0x28b396,_0x200f68=(await this[_0x162641(0x2d8)][_0x162641(0x33e)](_0x554294))['body'],_0x24ea4f=(_0x2044f1=_0x200f68['snapshot'])==null?void 0x0:_0x2044f1['workbook'];if(_0x24ea4f){const _0x36faf9=_0x24ea4f==null?void 0x0:_0x24ea4f[_0x162641(0x148)],_0x3b083e=_0x55ea7a['encode'](_0x1facae(_0x36faf9));_0x24ea4f[_0x162641(0x148)]=_0x3b083e,Object[_0x162641(0xf5)](_0x24ea4f[_0x162641(0x24e)])['forEach'](([,_0x59bc85])=>{const _0x4d3764=_0x162641,_0x3fa0ae=_0x59bc85[_0x4d3764(0x148)],_0x2b7fed=_0x55ea7a[_0x4d3764(0x420)](_0x1facae(_0x3fa0ae));_0x59bc85['originalMeta']=_0x2b7fed;});}return _0x200f68;}async['getSheetBlock'](_0x335500,_0x123d5d){const _0x2951ef=_0x2025fc,{unitID:_0x7b181a,type:_0x818f28,blockID:_0x540ea5}=_0x123d5d,_0x1bf96e=this[_0x2951ef(0x1a9)]()+'/'+_0x818f28+_0x2951ef(0x332)+_0x7b181a+_0x2951ef(0x1ce)+_0x540ea5;return(await this[_0x2951ef(0x2d8)][_0x2951ef(0x33e)](_0x1bf96e))[_0x2951ef(0x41f)];}async[_0x2025fc(0x133)](_0x1d999c,_0x51347f){const _0x445e8f=_0x2025fc,{unitID:_0x2c8fea,type:_0x917239,blockID:_0x5d20db}=_0x51347f,_0x4e9f0e=this['_getAPIPrefix']()+_0x445e8f(0x1ce)+_0x917239+_0x445e8f(0x332)+_0x2c8fea+_0x445e8f(0x1ce)+_0x5d20db;return(await this[_0x445e8f(0x2d8)][_0x445e8f(0x33e)](_0x4e9f0e))[_0x445e8f(0x41f)];}async[_0x2025fc(0x436)](_0x27b0b8,_0x328f5a){const _0x10fd18=_0x2025fc,{unitID:_0x55ff61,type:_0x2d087a,from:_0x76cff6,to:_0x447897}=_0x328f5a,_0x40c1c8=this[_0x10fd18(0x1a9)]()+'/'+_0x2d087a+'/unit/'+_0x55ff61+'/fetchmissing?from='+_0x76cff6+_0x10fd18(0x17a)+_0x447897;return(await this[_0x10fd18(0x2d8)]['get'](_0x40c1c8))[_0x10fd18(0x41f)];}[_0x2025fc(0xdc)](){var _0x40ab19;return(_0x40ab19=this['_configService']['getConfig'](Tn))!=null?_0x40ab19:this['_getAPIPrefix']();}[_0x2025fc(0x1a9)](){const _0x1a03a6=_0x2025fc;var _0x3476e1,_0x444738;const _0x17be26=this['_configService'][_0x1a03a6(0x217)](En),_0x2b3e64=this['_configService'][_0x1a03a6(0x217)](Q);return(_0x444738=(_0x3476e1=_0x2b3e64==null?void 0x0:_0x2b3e64[_0x1a03a6(0x39a)])!=null?_0x3476e1:_0x17be26)!=null?_0x444738:bn;}async[_0x2025fc(0x310)](_0x2f577a,_0x4e2515){const _0x48c5a0=_0x2025fc,_0x1c55e5=_0x48c5a0(0x172)+_0x4e2515[_0x48c5a0(0x442)]+_0x48c5a0(0x332)+_0x4e2515['unitID']+_0x48c5a0(0x290);return(await this[_0x48c5a0(0x2d8)][_0x48c5a0(0x33e)](_0x1c55e5,{'params':{'resourceId':JSON[_0x48c5a0(0x11e)](_0x4e2515[_0x48c5a0(0x160)])}}))[_0x48c5a0(0x41f)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2025fc(0x171)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2025fc(0x447)](){const _0x407b21=_0x2025fc;throw new Error(_0x407b21(0x409));}[_0x2025fc(0x2ab)](){const _0x5c0e34=_0x2025fc;throw new Error(_0x5c0e34(0x409));}['getLatestCsReqIdBySid'](){const _0x548f33=_0x2025fc;throw new Error(_0x548f33(0x409));}};Ss=eh([Ei(0x0,_0x4df844),Ei(0x1,_0x5847bf(_0x310387))],Ss);var th=Object[_0x2025fc(0x385)],sh=Object[_0x2025fc(0x18c)],ih=(_0x3302ad,_0x2f8238,_0x4d2840,_0x29953a)=>{const _0x116349=_0x2025fc;for(var _0x554564=_0x29953a>0x1?void 0x0:_0x29953a?sh(_0x2f8238,_0x4d2840):_0x2f8238,_0x25ff72=_0x3302ad[_0x116349(0x161)]-0x1,_0x1d0f33;_0x25ff72>=0x0;_0x25ff72--)(_0x1d0f33=_0x3302ad[_0x25ff72])&&(_0x554564=(_0x29953a?_0x1d0f33(_0x2f8238,_0x4d2840,_0x554564):_0x1d0f33(_0x554564))||_0x554564);return _0x29953a&&_0x554564&&th(_0x2f8238,_0x4d2840,_0x554564),_0x554564;},tt=(_0x416d3b,_0x2e14ee)=>(_0x1a78d5,_0x4417b2)=>_0x2e14ee(_0x1a78d5,_0x4417b2,_0x416d3b);let Is=class extends _0x18ef81{constructor(_0x3f8ec8,_0x430a8a,_0x19a250,_0x3d114d,_0x21c817){const _0xc286da=_0x2025fc;super(_0x3f8ec8,_0x430a8a,_0x19a250),this[_0xc286da(0x128)]=_0x3d114d,this['_logService']=_0x21c817;}[_0x2025fc(0x338)](_0xc4e31e,_0x19d186){const _0x42a516=_0x2025fc,_0x487fae=this['_getUndoStack'](_0xc4e31e);if(_0x487fae)try{const _0x3bae0e=this[_0x42a516(0x4a9)](_0x487fae,_0x19d186);this[_0x42a516(0x1fe)](_0xc4e31e,_0x3bae0e);}catch(_0x2dff00){this[_0x42a516(0xc1)]['error'](_0x42a516(0x432),_0x2dff00),this[_0x42a516(0x1e3)](_0xc4e31e);}const _0x1e754a=this[_0x42a516(0x421)](_0xc4e31e);if(_0x1e754a)try{const _0x4b1259=this['_transformStack'](_0x1e754a,_0x19d186);this[_0x42a516(0x36f)](_0xc4e31e,_0x4b1259);}catch(_0x2ffff6){this[_0x42a516(0xc1)][_0x42a516(0x279)](_0x2ffff6),this['_clearRedo'](_0xc4e31e);}}['_clearUndo'](_0x55ff73){const _0x4af3bd=_0x2025fc,_0x2a34e9=this[_0x4af3bd(0x1cb)](_0x55ff73);_0x2a34e9&&(_0x2a34e9[_0x4af3bd(0x161)]=0x0,this[_0x4af3bd(0x154)]());}[_0x2025fc(0x241)](_0x43352f){const _0x103c12=_0x2025fc,_0x4a83ef=this[_0x103c12(0x421)](_0x43352f);_0x4a83ef&&(_0x4a83ef[_0x103c12(0x161)]=0x0,this[_0x103c12(0x154)]());}[_0x2025fc(0x1fe)](_0x365611,_0x33eb3a){const _0x2f682d=_0x2025fc;this[_0x2f682d(0x2d3)]['set'](_0x365611,_0x33eb3a),this[_0x2f682d(0x154)]();}[_0x2025fc(0x36f)](_0x13ddcb,_0x43d488){const _0x40afb1=_0x2025fc;this[_0x40afb1(0x1e2)][_0x40afb1(0x39c)](_0x13ddcb,_0x43d488),this[_0x40afb1(0x154)]();}[_0x2025fc(0x4a9)](_0x217d7d,_0x2da942){const _0x526bba=_0x2025fc,_0x15cc3c=[];let _0x17c98d=_0x2da942,_0x15053a=_0x2da942;for(let _0x483588=_0x217d7d[_0x526bba(0x161)]-0x1;_0x483588>=0x0;_0x483588--){const {unitID:_0xc5b764,undoMutations:_0x3419ef,redoMutations:_0x38cf3c}=_0x217d7d[_0x483588],_0x51ae06=this[_0x526bba(0x128)][_0x526bba(0x39e)](_0x17c98d,_0x3419ef),_0x534966=this[_0x526bba(0x128)][_0x526bba(0x39e)](_0x15053a,_0x38cf3c);if(_0xc9659d(_0x51ae06)||_0xc9659d(_0x534966)){this[_0x526bba(0xc1)]['error'](_0x526bba(0x432),_0x526bba(0xb1),_0x51ae06,_0x534966);break;}_0x17c98d=_0x51ae06[_0x526bba(0x26a)],_0x15053a=_0x534966[_0x526bba(0x26a)],_0x15cc3c[_0x526bba(0x22f)]({'unitID':_0xc5b764,'undoMutations':_0x51ae06[_0x526bba(0x270)],'redoMutations':_0x534966['m2Prime']});}return _0x15cc3c[_0x526bba(0x376)]();}};Is=ih([tt(0x0,_0x425cee),tt(0x1,_0x28287a),tt(0x2,_0x4ea7fc),tt(0x3,_0x2fbfa5),tt(0x4,_0x49d195)],Is);class rh extends _0x5ec0cb{constructor(){const _0x1cfbad=_0x2025fc;super(),g(this,'urlChange$'),this[_0x1cfbad(0xb2)]=_0x6a336f(window,_0x1cfbad(0x358))[_0x1cfbad(0x150)](_0x7b6507(this[_0x1cfbad(0x345)]),_0x2c1940(0x1),_0x2d3712(void 0x0));}[_0x2025fc(0x43d)](_0x1c830c,_0x2ccbc7,_0x4d4145=!0x1){const _0x78f59b=_0x2025fc,_0x310996=new URL(window[_0x78f59b(0x16a)][_0x78f59b(0x3f1)]);_0x310996['searchParams'][_0x78f59b(0x39c)](_0x1c830c,_0x2ccbc7),_0x4d4145?window[_0x78f59b(0xc5)][_0x78f59b(0x2a9)]('','',_0x310996['toString']()):window['history'][_0x78f59b(0x2cb)]('','',_0x310996[_0x78f59b(0x135)]());}[_0x2025fc(0x1bb)](_0x7b5a71,_0x5a2d17=!0x1){const _0x1ee0d9=_0x2025fc,_0x23ea98=new URL(window['location'][_0x1ee0d9(0x3f1)]);_0x23ea98[_0x1ee0d9(0x3ec)]['delete'](_0x7b5a71),_0x5a2d17?window['history']['replaceState']('','',_0x23ea98[_0x1ee0d9(0x135)]()):window[_0x1ee0d9(0xc5)][_0x1ee0d9(0x2cb)]('','',_0x23ea98['toString']());}[_0x2025fc(0x30a)](_0x54581b){const _0x228379=_0x2025fc;var _0x5d9ff2;return(_0x5d9ff2=new URL(window['location'][_0x228379(0x3f1)])[_0x228379(0x3ec)][_0x228379(0x33e)](_0x54581b))!=null?_0x5d9ff2:void 0x0;}}var ar=Object[_0x2025fc(0x385)],nh=Object[_0x2025fc(0x18c)],oh=(_0x157d20,_0x2cf3f1,_0x40a4cf)=>_0x2cf3f1 in _0x157d20?ar(_0x157d20,_0x2cf3f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40a4cf}):_0x157d20[_0x2cf3f1]=_0x40a4cf,ah=(_0x18cad5,_0x22e29a,_0x396882,_0x2419be)=>{const _0x51dee1=_0x2025fc;for(var _0x3bb0b1=_0x2419be>0x1?void 0x0:_0x2419be?nh(_0x22e29a,_0x396882):_0x22e29a,_0x52f170=_0x18cad5[_0x51dee1(0x161)]-0x1,_0x2f685f;_0x52f170>=0x0;_0x52f170--)(_0x2f685f=_0x18cad5[_0x52f170])&&(_0x3bb0b1=(_0x2419be?_0x2f685f(_0x22e29a,_0x396882,_0x3bb0b1):_0x2f685f(_0x3bb0b1))||_0x3bb0b1);return _0x2419be&&_0x3bb0b1&&ar(_0x22e29a,_0x396882,_0x3bb0b1),_0x3bb0b1;},_t=(_0x327e3e,_0x4be7b9)=>(_0x71b61e,_0x398234)=>_0x4be7b9(_0x71b61e,_0x398234,_0x327e3e),ch=(_0x555af6,_0x58610e,_0x240164)=>oh(_0x555af6,_0x58610e+'',_0x240164);const hh=_0x2025fc(0xca);let Cs=class extends _0x5001bc{constructor(_0x1151df=Bn,_0x430354,_0x16ced7,_0x5eb873,_0x176c02){const _0xac53ad=_0x2025fc;super(),this[_0xac53ad(0x16b)]=_0x1151df,this[_0xac53ad(0xc1)]=_0x430354,this[_0xac53ad(0x319)]=_0x16ced7,this[_0xac53ad(0x147)]=_0x5eb873,this['_configService']=_0x176c02;const {..._0x5dd239}=this[_0xac53ad(0x16b)];this[_0xac53ad(0xb4)][_0xac53ad(0x134)](Q,_0x5dd239);}[_0x2025fc(0xfe)](){const _0x3d4cac=_0x2025fc;this['_registerDependencies'](),this[_0x3d4cac(0x2af)]();}['onReady'](){const _0x4d58f2=_0x2025fc;_0x5404e4(this[_0x4d58f2(0x147)],[[xt],[Ut]]);}[_0x2025fc(0x42f)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x2020fb=_0x2025fc;var _0x1f74f8,_0x1ddede,_0x32b498,_0x373a39;this['_injector'][_0x2020fb(0x24c)](_0x4bbe15)&&this[_0x2020fb(0xc1)][_0x2020fb(0x279)](_0x2020fb(0x19c),_0x2020fb(0x2f4));const _0x4d8e02=[[_0x4bbe15,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x1293ea],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x1ddede=(_0x1f74f8=this[_0x2020fb(0x16b)])==null?void 0x0:_0x1f74f8[_0x2020fb(0x202)])!=null?_0x1ddede:cs}],[_0xbd688,{'useClass':Ss}],[_0x5cfc2f,{'useClass':ps}],[_0x1fd980,{'useClass':ms}],[_0x2d3ae3,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x32b498=this['_config'])!=null&&_0x32b498[_0x2020fb(0x36b)]&&_0x4d8e02['push']([jt,{'useClass':Co}]),_0x43027c(this['_injector'],_0x3474e1(_0x4d8e02,(_0x373a39=this[_0x2020fb(0x16b)])==null?void 0x0:_0x373a39[_0x2020fb(0x44a)]));}[_0x2025fc(0x13d)](){const _0x18fe91=_0x2025fc;this[_0x18fe91(0x10c)](this['_renderManagerService'][_0x18fe91(0x49f)](_0xb166dc['UNIVER_DOC'],[fs])),this['disposeWithMe'](this[_0x18fe91(0x319)][_0x18fe91(0x49f)](_0xb166dc[_0x18fe91(0x4a6)],[vs]));}[_0x2025fc(0x2af)](){const _0x4168b8=_0x2025fc;var _0x3491b6,_0x12ed9e;this[_0x4168b8(0x147)][_0x4168b8(0x33e)](_0x310387)[_0x4168b8(0x299)]({'priority':0x14,'interceptor':_0x156843({'maxParallel':0x6})}),(_0x3491b6=this[_0x4168b8(0x16b)])!=null&&_0x3491b6[_0x4168b8(0x446)]||this[_0x4168b8(0x147)]['get'](z)[_0x4168b8(0x2be)](),(_0x12ed9e=this[_0x4168b8(0x16b)])!=null&&_0x12ed9e[_0x4168b8(0x41b)]&&_0x5404e4(this[_0x4168b8(0x147)],[[Lt]]),_0x5404e4(this[_0x4168b8(0x147)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,'pluginName',hh),Cs=ah([_0x2048c2(_0x1105e5,_0x6b1b5c),_t(0x1,_0x49d195),_t(0x2,_0x27432a),_t(0x3,_0x5847bf(_0x5d7671)),_t(0x4,_0x4df844)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
|
1
|
+
var _0x4a9f88=_0x30f1;(function(_0x7de10e,_0x269db9){var _0x299211=_0x30f1,_0x3f1286=_0x7de10e();while(!![]){try{var _0x146581=-parseInt(_0x299211(0x6e))/0x1*(-parseInt(_0x299211(0x152))/0x2)+parseInt(_0x299211(0x158))/0x3*(parseInt(_0x299211(0x142))/0x4)+parseInt(_0x299211(0xc5))/0x5+parseInt(_0x299211(0x26f))/0x6*(-parseInt(_0x299211(0x24e))/0x7)+parseInt(_0x299211(0x230))/0x8*(parseInt(_0x299211(0xa2))/0x9)+parseInt(_0x299211(0x2b6))/0xa*(parseInt(_0x299211(0x186))/0xb)+parseInt(_0x299211(0x342))/0xc*(-parseInt(_0x299211(0x293))/0xd);if(_0x146581===_0x269db9)break;else _0x3f1286['push'](_0x3f1286['shift']());}catch(_0x49f2d3){_0x3f1286['push'](_0x3f1286['shift']());}}}(_0x19a6,0xa937a));var Mi=Object[_0x4a9f88(0x2cf)],$i=(_0x500e7b,_0x46a640,_0x2e5e54)=>_0x46a640 in _0x500e7b?Mi(_0x500e7b,_0x46a640,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e5e54}):_0x500e7b[_0x46a640]=_0x2e5e54,N=(_0x577231,_0x481a61,_0x509631)=>$i(_0x577231,typeof _0x481a61!=_0x4a9f88(0x17a)?_0x481a61+'':_0x481a61,_0x509631);import{createIdentifier as _0x512c69,Inject as _0x2a5019,Disposable as _0x1e775a,DisposableCollection as _0x52d961,toDisposable as _0x150b89,IConfigService as _0xd4de74,ILogService as _0x54e63f,UserManagerService as _0x291d58,UniverInstanceType as _0x89e517,IUniverInstanceService as _0x190ff7,LocaleService as _0x187ee3,Optional as _0x39b9b2,RxDisposable as _0x2d4049,Injector as _0x78bf92,Tools as _0x2c1d8d,Rectangle as _0x2bb0a0,ICommandService as _0x28ed93,JSONX as _0x5cc6e6,CommandType as _0x23afc1,IPermissionService as _0x512ef7,IUndoRedoService as _0x4b8ace,sequenceExecute as _0x3b52fa,Workbook as _0x417d5b,MentionType as _0x411373,IAuthzIoService as _0x2ceb14,isInternalEditorID as _0x19a091,LocalUndoRedoService as _0x161896,IContextService as _0x43be85,DependentOn as _0x4184f0,Plugin as _0x4a8c1d,mergeOverrideWithDependencies as _0x5b57c7,IMentionIOService as _0x3290d1,registerDependencies as _0x3e1ae0,touchDependencies as _0x7056d9}from'@univerjs/core';import{Subject as _0x1afd5c,merge as _0x177cab,takeUntil as _0x1ba6a5,BehaviorSubject as _0x20d4d6,ReplaySubject as _0x22b000,take as _0x59a862,map as _0xb0247c,shareReplay as _0x5db27c,of as _0xd9a965,concatMap as _0xa82ab}from'rxjs';import{map as _0x12f7c6,take as _0x54c496,filter as _0x26b17e,delay as _0x33d688,takeUntil as _0x4886fb}from'rxjs/operators';import{HTTPService as _0x16868d,WebSocketService as _0x53211b,MergeInterceptorFactory as _0x5a4e7e,HTTPRequest as _0x3aebf1,UniverNetworkPlugin as _0x25386f,ThresholdInterceptorFactory as _0xc5757a}from'@univerjs/network';import{CollaborationEvent as _0x5db513,parseChangesetToProtocol as _0x1ef5d9,ISnapshotServerService as _0x631d1,isTransformMutationsWithChangesetSuccess as _0x47dc85,ITransformService as _0xa95f58,mapDocumentTypeToUniverType as _0x4ac429,RevisionService as _0x3308e6,isTransformChangesetsSuccess as _0xcb0929,CompressMutationService as _0x3f1d58,parseProtocolChangeset as _0x2129fc,SnapshotService as _0x273c8c,textEncoder as _0x42b3a7,b64DecodeUnicode as _0xf88b98,isTransformMutationsWithChangesetFailure as _0x451346,UniverCollaborationPlugin as _0x23baa9}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2c93fb}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x12a06b}from'@univerjs/docs';import{SheetsSelectionsService as _0x7418f7,SetSelectionsOperation as _0x328cd6,InsertSheetMutation as _0x4a0115,EmptyMutation as _0x30fb55,WorkbookEditablePermission as _0x7ca049,UnitObject as _0x19560f,defaultWorkbookPermissionPoints as _0x4bd940,getAllWorkbookPermissionPoint as _0x5e6030,WorksheetProtectionRuleModel as _0x1a6295,baseProtectionActions as _0x31941d,getAllWorksheetPermissionPoint as _0xae8f37,WorksheetProtectionPointModel as _0x1f629a,defaultWorksheetPermissionPoint as _0x2138aa,getAllWorksheetPermissionPointByPointPanel as _0x3ab423,RangeProtectionRuleModel as _0x152024,getAllRangePermissionPoint as _0x3d7d33,UniverSheetsPlugin as _0x52d508}from'@univerjs/sheets';import{ImageSourceType as _0x49fd6c,ImageUploadStatusType as _0x26f0c2,IImageIoService as _0x15aec8}from'@univerjs/drawing';const Rn=_0x4a9f88(0x2ab),yn='/universer-api/snapshot',On=_0x4a9f88(0x1c1),so='SEND_CHANGESET_TIMEOUT',Pn=0x7d0,Dn=_0x4a9f88(0x34f),Nn='ws://127.0.0.1:8000/universer-api/comb/connect',wn=_0x4a9f88(0x169),Un='HEARTBEAT_INTERVAL',An=0x7530,Ei=_0x4a9f88(0x156),Ii=0x4e20,xn=0x4e20,Ln=_0x4a9f88(0x77),Mn=0x3,ro='LOCAL_CACHE_INTERVAL',oo=0x3e8,$n=_0x4a9f88(0xb2),Hn=_0x4a9f88(0x1d6),kn=_0x4a9f88(0x96),jn=_0x4a9f88(0x356);var Ti=(_0x5987a5=>(_0x5987a5[_0x5987a5['UNDEFINED']=0x0]=_0x4a9f88(0x223),_0x5987a5[_0x5987a5['OK']=0x1]='OK',_0x5987a5[_0x5987a5['INTERNAL_ERROR']=0x2]=_0x4a9f88(0x8c),_0x5987a5[_0x5987a5[_0x4a9f88(0x309)]=0x3]=_0x4a9f88(0x309),_0x5987a5[_0x5987a5['NOT_FOUND']=0x4]=_0x4a9f88(0xe7),_0x5987a5[_0x5987a5[_0x4a9f88(0x2f3)]=0x5]=_0x4a9f88(0x2f3),_0x5987a5[_0x5987a5[_0x4a9f88(0x220)]=0x6]=_0x4a9f88(0x220),_0x5987a5[_0x5987a5[_0x4a9f88(0x99)]=0x7]=_0x4a9f88(0x99),_0x5987a5[_0x5987a5[_0x4a9f88(0x117)]=0x8]=_0x4a9f88(0x117),_0x5987a5[_0x5987a5[_0x4a9f88(0x2c8)]=0x9]=_0x4a9f88(0x2c8),_0x5987a5[_0x5987a5[_0x4a9f88(0xec)]=0x1389]=_0x4a9f88(0xec),_0x5987a5[_0x5987a5[_0x4a9f88(0x209)]=0x1771]=_0x4a9f88(0x209),_0x5987a5[_0x5987a5[_0x4a9f88(0x28e)]=0x1772]=_0x4a9f88(0x28e),_0x5987a5[_0x5987a5[_0x4a9f88(0x21f)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5987a5[_0x5987a5[_0x4a9f88(0x301)]=0x1b59]=_0x4a9f88(0x301),_0x5987a5[_0x5987a5[_0x4a9f88(0x206)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5987a5[_0x5987a5[_0x4a9f88(0x31b)]=0x1b5b]=_0x4a9f88(0x31b),_0x5987a5[_0x5987a5[_0x4a9f88(0x370)]=0x1b5c]=_0x4a9f88(0x370),_0x5987a5[_0x5987a5['APPLY_DUPLICATED']=0x1b5d]=_0x4a9f88(0x1f4),_0x5987a5[_0x5987a5[_0x4a9f88(0x200)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5987a5[_0x5987a5[_0x4a9f88(0xca)]=0x2329]=_0x4a9f88(0xca),_0x5987a5[_0x5987a5[_0x4a9f88(0x190)]=0x232a]=_0x4a9f88(0x190),_0x5987a5[_0x5987a5[_0x4a9f88(0x2a7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5987a5[_0x5987a5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4a9f88(0x21c),_0x5987a5[_0x5987a5['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4a9f88(0x7b),_0x5987a5[_0x5987a5[_0x4a9f88(0xcf)]=0x2711]=_0x4a9f88(0xcf),_0x5987a5[_0x5987a5['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5987a5[_0x5987a5[_0x4a9f88(0x254)]=0x2713]=_0x4a9f88(0x254),_0x5987a5[_0x5987a5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5987a5[_0x5987a5[_0x4a9f88(0x1ed)]=-0x1]=_0x4a9f88(0x1ed),_0x5987a5))(Ti||{}),Q=(_0xb39feb=>(_0xb39feb[_0xb39feb[_0x4a9f88(0x1c4)]=0x0]=_0x4a9f88(0x1c4),_0xb39feb[_0xb39feb['UNIVER_DOC']=0x1]=_0x4a9f88(0x324),_0xb39feb[_0xb39feb[_0x4a9f88(0x1a9)]=0x2]=_0x4a9f88(0x1a9),_0xb39feb[_0xb39feb[_0x4a9f88(0x24c)]=0x3]=_0x4a9f88(0x24c),_0xb39feb[_0xb39feb[_0x4a9f88(0x2f1)]=0x4]=_0x4a9f88(0x2f1),_0xb39feb[_0xb39feb[_0x4a9f88(0x1ed)]=-0x1]=_0x4a9f88(0x1ed),_0xb39feb))(Q||{}),F=(_0x48b102=>(_0x48b102[_0x48b102[_0x4a9f88(0x267)]=0x0]=_0x4a9f88(0x267),_0x48b102[_0x48b102[_0x4a9f88(0x34c)]=0x1]=_0x4a9f88(0x34c),_0x48b102[_0x48b102[_0x4a9f88(0x161)]=0x2]=_0x4a9f88(0x161),_0x48b102[_0x48b102[_0x4a9f88(0x335)]=0x3]=_0x4a9f88(0x335),_0x48b102[_0x48b102[_0x4a9f88(0x150)]=0x4]=_0x4a9f88(0x150),_0x48b102[_0x48b102[_0x4a9f88(0x315)]=0x5]=_0x4a9f88(0x315),_0x48b102[_0x48b102[_0x4a9f88(0x2e7)]=0x6]=_0x4a9f88(0x2e7),_0x48b102[_0x48b102[_0x4a9f88(0x1ed)]=-0x1]='UNRECOGNIZED',_0x48b102))(F||{}),Ee=(_0x19a41c=>(_0x19a41c[_0x19a41c[_0x4a9f88(0x265)]=0x0]='UNKNOWN_CODE',_0x19a41c[_0x19a41c['OK']=0x1]='OK',_0x19a41c[_0x19a41c[_0x4a9f88(0x2dc)]=0x2]=_0x4a9f88(0x2dc),_0x19a41c[_0x19a41c['JOIN_ROOM_FULL']=0x3e9]=_0x4a9f88(0x10e),_0x19a41c[_0x19a41c[_0x4a9f88(0xa8)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x19a41c[_0x19a41c[_0x4a9f88(0xd9)]=0x3eb]=_0x4a9f88(0xd9),_0x19a41c[_0x19a41c[_0x4a9f88(0x2c1)]=0x3ec]=_0x4a9f88(0x2c1),_0x19a41c[_0x19a41c[_0x4a9f88(0x1ed)]=-0x1]='UNRECOGNIZED',_0x19a41c))(Ee||{}),Ci=(_0xe9d8e9=>(_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0xf5)]=0x0]='Undefined',_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0x184)]=0x1]=_0x4a9f88(0x184),_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0xcc)]=0x2]=_0x4a9f88(0xcc),_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0x8a)]=0x3]='UnitEmbedded',_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0x73)]=0x4]=_0x4a9f88(0x73),_0xe9d8e9[_0xe9d8e9[_0x4a9f88(0x1ed)]=-0x1]=_0x4a9f88(0x1ed),_0xe9d8e9))(Ci||{});const Y=_0x4a9f88(0x202),Bn={};function Fn(_0x34c6e1){var _0x5d0799=_0x4a9f88,_0x190b07,_0xcd7aa3,_0x15a0f1,_0x115567,_0x55f17e;const _0x466aef=_0x34c6e1[_0x5d0799(0x2be)],_0x2e0be9=JSON['parse'](_0x466aef);switch(_0x2e0be9[_0x5d0799(0x72)]){case F['HEARTBEAT']:case F[_0x5d0799(0x34c)]:{const _0x2c63b1=_0x2e0be9[_0x5d0799(0x179)];return{..._0x2e0be9,'data':_0x2c63b1,'cmd':_0x2e0be9['cmd']};}case F[_0x5d0799(0x161)]:{const _0x36b683=_0x2e0be9[_0x5d0799(0x124)];return{..._0x2e0be9,'data':_0x36b683,'cmd':_0x2e0be9[_0x5d0799(0x72)]};}case F[_0x5d0799(0x2e7)]:{const _0x3dc568=_0x2e0be9[_0x5d0799(0xaa)];switch(_0x3dc568[_0x5d0799(0x334)]){case _0x5db513[_0x5d0799(0xbf)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0x190b07=_0x3dc568[_0x5d0799(0x36a)])==null?void 0x0:_0x190b07['cs']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x1a8)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0xcd7aa3=_0x3dc568[_0x5d0799(0x2bd)])==null?void 0x0:_0xcd7aa3['cs']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x2a9)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0x15a0f1=_0x3dc568[_0x5d0799(0xd0)])==null?void 0x0:_0x15a0f1['cs']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x2ae)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0x115567=_0x3dc568['csRejEvent'])==null?void 0x0:_0x115567['cs']},'cmd':_0x2e0be9['cmd']};case _0x5db513[_0x5d0799(0x1d9)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':(_0x55f17e=_0x3dc568[_0x5d0799(0x314)])==null?void 0x0:_0x55f17e['cs']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x180)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x6d)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513['USERS_ENTER']:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x7a)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513['USERS_LEAVE']:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x248)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x313)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x36f)]},'cmd':_0x2e0be9['cmd']};case _0x5db513[_0x5d0799(0x252)]:case _0x5db513[_0x5d0799(0x365)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568['liveShareOperation']},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x109)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x36f)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513['MSG_FOR_ERROR']:return{..._0x2e0be9,'data':_0x3dc568,'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x204)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0x18e)]},'cmd':_0x2e0be9['cmd']};case _0x5db513[_0x5d0799(0x35e)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568[_0x5d0799(0xe4)]},'cmd':_0x2e0be9[_0x5d0799(0x72)]};case _0x5db513[_0x5d0799(0x339)]:return{..._0x2e0be9,'data':{..._0x3dc568,'data':_0x3dc568['shouldCloseConn']},'cmd':_0x2e0be9['cmd']};default:return _0x2e0be9;}}default:return _0x2e0be9;}}function Vn(_0x1a7401){var _0x175ea5=_0x4a9f88;switch(_0x1a7401['cmd']){case F[_0x175ea5(0x315)]:case F[_0x175ea5(0x34c)]:return JSON[_0x175ea5(0x122)]({'cmd':_0x1a7401[_0x175ea5(0x72)],'routeKey':_0x1a7401[_0x175ea5(0xf8)]});case F[_0x175ea5(0x150)]:{let _0x376272;switch(_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x334)]){case _0x5db513[_0x175ea5(0x180)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x180)],'updateCursorEvent':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0xd8)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0xd8)],'leaveEvent':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513['USERS_ENTER']:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x32c)],'joinEvent':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x313)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x313)],'liveShareNewHost':_0x1a7401['data'][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x365)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x365)],'liveShareOperation':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x109)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x109)],'liveShareTerminate':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x17b)]:{_0x376272={'eventID':_0x5db513['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x2be)]};break;}case _0x5db513[_0x175ea5(0x252)]:{_0x376272={'eventID':_0x5db513[_0x175ea5(0x252)]};break;}default:_0x376272={'eventID':_0x1a7401[_0x175ea5(0x2be)][_0x175ea5(0x334)]};}return JSON[_0x175ea5(0x122)]({'cmd':_0x1a7401['cmd'],'routeKey':_0x1a7401[_0x175ea5(0xf8)],'collaMsg':_0x376272});}case F[_0x175ea5(0x161)]:return JSON[_0x175ea5(0x122)]({'cmd':_0x1a7401[_0x175ea5(0x72)],'routeKey':_0x1a7401[_0x175ea5(0xf8)],'joinReq':_0x1a7401[_0x175ea5(0x2be)]});case F[_0x175ea5(0x335)]:return JSON[_0x175ea5(0x122)]({'cmd':_0x1a7401['cmd'],'routeKey':_0x1a7401[_0x175ea5(0xf8)],'leaveReq':_0x1a7401[_0x175ea5(0x2be)]});default:throw new Error(_0x175ea5(0xdc));}}var Wn=Object[_0x4a9f88(0x2cf)],Gn=Object[_0x4a9f88(0x80)],Kn=(_0x4e546e,_0x87ec34,_0x2996c2,_0x24ec78)=>{var _0xdf404=_0x4a9f88;for(var _0x11014e=_0x24ec78>0x1?void 0x0:_0x24ec78?Gn(_0x87ec34,_0x2996c2):_0x87ec34,_0x61b628=_0x4e546e[_0xdf404(0x212)]-0x1,_0x479bac;_0x61b628>=0x0;_0x61b628--)(_0x479bac=_0x4e546e[_0x61b628])&&(_0x11014e=(_0x24ec78?_0x479bac(_0x87ec34,_0x2996c2,_0x11014e):_0x479bac(_0x11014e))||_0x11014e);return _0x24ec78&&_0x11014e&&Wn(_0x87ec34,_0x2996c2,_0x11014e),_0x11014e;},Ne=(_0x35a03e,_0x27e6cc)=>(_0x57d568,_0xffec06)=>_0x27e6cc(_0x57d568,_0xffec06,_0x35a03e);const bi=_0x512c69(_0x4a9f88(0x19a));function zn(_0xcb54e4,_0x567086,_0x5aed12){var _0x550832=_0x4a9f88;return _0xcb54e4+'/'+_0x567086+_0x550832(0xb0)+_0x5aed12+_0x550832(0x79);}let Et=class extends _0x1e775a{constructor(_0x46c82a,_0x30643f,_0x588a65,_0x1366a9,_0x87c08d){var _0x5f8916=_0x4a9f88;super(),this['_http']=_0x46c82a,this[_0x5f8916(0x271)]=_0x30643f,this[_0x5f8916(0x1e4)]=_0x588a65,this[_0x5f8916(0x147)]=_0x1366a9,this['_snapshotServerService']=_0x87c08d;}[_0x4a9f88(0x208)](_0x2abd20){var _0x2c25b6=_0x4a9f88;const _0x591664=this['_ws']['createSocket'](_0x2abd20);if(!_0x591664)throw new Error(_0x2c25b6(0xb8));const _0x42e37d=new _0x52d961(),_0xeeb04=new _0x1afd5c();_0x42e37d[_0x2c25b6(0x18c)](_0x591664['close$'][_0x2c25b6(0x1d3)](_0x1d464b=>_0xeeb04[_0x2c25b6(0x36d)](_0x1d464b))),_0x42e37d[_0x2c25b6(0x18c)](_0x150b89(()=>_0xeeb04[_0x2c25b6(0x2ed)]()));const _0x1344b6=new _0x1afd5c();_0x42e37d[_0x2c25b6(0x18c)](_0x591664[_0x2c25b6(0x2c6)][_0x2c25b6(0x1d3)](_0x1839a7=>_0x1344b6[_0x2c25b6(0x36d)](_0x1839a7))),_0x42e37d['add'](_0x150b89(()=>_0x1344b6[_0x2c25b6(0x2ed)]()));const _0x2e04b3=new _0x1afd5c();_0x42e37d[_0x2c25b6(0x18c)](_0x591664['message$'][_0x2c25b6(0x1d3)](_0x12a9ad=>{var _0xb1328b=_0x2c25b6;const _0x2cbe45=Fn(_0x12a9ad);_0x2e04b3[_0xb1328b(0x36d)](_0x2cbe45);})),_0x42e37d[_0x2c25b6(0x18c)](_0x150b89(()=>_0x2e04b3[_0x2c25b6(0x2ed)]()));let _0x6a086f;const _0x1177a0=()=>{var _0x566d32=_0x2c25b6;_0x1344b6[_0x566d32(0x36d)](new Event(_0x566d32(0x160))),_0xeeb04[_0x566d32(0x36d)](new CloseEvent(_0x566d32(0x160))),_0x6a086f[_0x566d32(0x176)]();};return _0x6a086f={'memberID':'','close$':_0xeeb04[_0x2c25b6(0x2ec)](),'error$':_0x1344b6[_0x2c25b6(0x2ec)](),'open$':_0x591664['open$'],'message$':_0x2e04b3[_0x2c25b6(0x2ec)](),'send':_0x5cd284=>{var _0x48b70e=_0x2c25b6;if(_0x5cd284[_0x48b70e(0x72)]===F[_0x48b70e(0x150)]){if(_0x5cd284[_0x48b70e(0x2be)][_0x48b70e(0x334)]===_0x5db513[_0x48b70e(0x171)]){this['_submitChangeset'](_0x6a086f,_0x5cd284['data'])[_0x48b70e(0x258)](_0x26c105=>{var _0x5e7243=_0x48b70e;this[_0x5e7243(0x147)]['error'](_0x26c105),_0x1177a0();});return;}if(_0x5cd284[_0x48b70e(0x2be)][_0x48b70e(0x334)]===_0x5db513[_0x48b70e(0x1ae)]){const _0xfb00b0=_0x5cd284[_0x48b70e(0x2be)];this[_0x48b70e(0x1d2)](_0xfb00b0)['then'](_0x44c6cb=>{var _0x38a327=_0x48b70e;_0x2e04b3['next']({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0xfb00b0['data'][_0x38a327(0x2ba)],'routeType':'','data':{'eventID':_0x5db513['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x44c6cb}}});})['catch'](_0xc9f943=>{var _0x15e173=_0x48b70e;this[_0x15e173(0x147)][_0x15e173(0x218)](_0xc9f943),_0x1177a0();});return;}}_0x591664[_0x48b70e(0x19d)](Vn(_0x5cd284));},'close':()=>{var _0x48551a=_0x2c25b6;_0x591664[_0x48551a(0x176)](),_0x42e37d[_0x48551a(0x139)]();}},_0x6a086f;}async[_0x4a9f88(0x319)](_0x51f274,_0x480d03){var _0x1c117f=_0x4a9f88,_0x439a59,_0x40234e;const {unitType:_0x6129e0,unitID:_0x3bee0a,changeset:_0x147d52}=_0x480d03['data'],_0x40400a={'unitID':_0x3bee0a,'memberID':_0x51f274[_0x1c117f(0x2dd)],'type':_0x6129e0,'changeset':_0x1ef5d9(_0x147d52)},_0x4ebdb4=this[_0x1c117f(0x1e4)][_0x1c117f(0xd4)]($n),_0x20d44f=this[_0x1c117f(0x1e4)][_0x1c117f(0xd4)](Y),_0x41c9f6=zn((_0x40234e=(_0x439a59=_0x20d44f==null?void 0x0:_0x20d44f['collabSubmitChangesetUrl'])!=null?_0x439a59:_0x4ebdb4)!=null?_0x40234e:Hn,_0x6129e0,_0x3bee0a);try{await this['_http'][_0x1c117f(0x33e)](_0x41c9f6,{'body':_0x40400a});}catch(_0x364672){throw this['_logService']['error'](_0x1c117f(0x1b4),_0x1c117f(0x274)),_0x364672;}}async[_0x4a9f88(0x1d2)](_0x94ebb6){var _0x126094=_0x4a9f88;const {unitID:_0x6ef8cb,from:_0x1aa8a2,to:_0x5cc83d,unitType:_0x432d93}=_0x94ebb6['data'];return(await this[_0x126094(0x151)][_0x126094(0x312)]({'metadata':void 0x0},{'unitID':_0x6ef8cb,'type':_0x432d93,'from':_0x1aa8a2,'to':_0x5cc83d}))[_0x126094(0x131)];}};Et=Kn([Ne(0x0,_0x2a5019(_0x16868d)),Ne(0x1,_0x2a5019(_0x53211b)),Ne(0x2,_0xd4de74),Ne(0x3,_0x54e63f),Ne(0x4,_0x631d1)],Et);const Yn=_0x4a9f88(0x2a0);function qn(_0x44377e){var _0xfb55c6=_0x4a9f88;return JSON[_0xfb55c6(0x122)](_0x44377e)['length'];}class Ri{constructor(){var _0xa3beaf=_0x4a9f88;N(this,_0xa3beaf(0x9f),new _0x1afd5c()),N(this,_0xa3beaf(0x86),this[_0xa3beaf(0x9f)][_0xa3beaf(0x2ec)]());}[_0x4a9f88(0xf0)](_0x583155){var _0x42aa00=_0x4a9f88;this[_0x42aa00(0x9f)][_0x42aa00(0x36d)](_0x583155);}}var Jn=Object[_0x4a9f88(0x2cf)],Xn=Object[_0x4a9f88(0x80)],Zn=(_0x5ace56,_0x22e99a,_0x1924a1,_0x41d07e)=>{for(var _0x8d2935=_0x41d07e>0x1?void 0x0:_0x41d07e?Xn(_0x22e99a,_0x1924a1):_0x22e99a,_0x2b0002=_0x5ace56['length']-0x1,_0x4e0888;_0x2b0002>=0x0;_0x2b0002--)(_0x4e0888=_0x5ace56[_0x2b0002])&&(_0x8d2935=(_0x41d07e?_0x4e0888(_0x22e99a,_0x1924a1,_0x8d2935):_0x4e0888(_0x8d2935))||_0x8d2935);return _0x41d07e&&_0x8d2935&&Jn(_0x22e99a,_0x1924a1,_0x8d2935),_0x8d2935;},zt=(_0x4eed32,_0x219649)=>(_0xd03992,_0x1d136a)=>_0x219649(_0xd03992,_0x1d136a,_0x4eed32);let Le=class extends _0x1e775a{constructor(_0xd26a59,_0x36920c){var _0x30f0f6=_0x4a9f88;super(),N(this,_0x30f0f6(0x198),new Map()),(this[_0x30f0f6(0x291)]=_0xd26a59,this[_0x30f0f6(0x326)]=_0x36920c,this[_0x30f0f6(0x1c7)](_0x150b89(_0x177cab(this[_0x30f0f6(0x291)]['getTypeOfUnitDisposed$'](_0x89e517[_0x30f0f6(0x1a9)])[_0x30f0f6(0x102)](_0x12f7c6(_0x13f14a=>_0x13f14a['getUnitId']())),this[_0x30f0f6(0x291)][_0x30f0f6(0x115)](_0x89e517[_0x30f0f6(0x324)])[_0x30f0f6(0x102)](_0x12f7c6(_0x15e7c2=>_0x15e7c2[_0x30f0f6(0xf2)]())),this[_0x30f0f6(0x291)]['getTypeOfUnitDisposed$'](_0x89e517['UNIVER_SLIDE'])[_0x30f0f6(0x102)](_0x12f7c6(_0x4a6566=>_0x4a6566[_0x30f0f6(0xf2)]())))['subscribe'](_0x2f8973=>this[_0x30f0f6(0x224)](_0x2f8973)))));}[_0x4a9f88(0xae)](_0x29a0e4){var _0x2362b6=_0x4a9f88;this['_userManagerService'][_0x2362b6(0xae)](_0x29a0e4);}[_0x4a9f88(0x320)](){var _0x114278=_0x4a9f88;return this[_0x114278(0x326)][_0x114278(0x320)]();}[_0x4a9f88(0x371)](_0x3e883f,_0x30e828){var _0x2d9e9e=_0x4a9f88;let _0x2af8db=this[_0x2d9e9e(0x198)][_0x2d9e9e(0x336)](_0x3e883f);_0x2af8db||(_0x2af8db=new Qn(),this[_0x2d9e9e(0x198)]['set'](_0x3e883f,_0x2af8db)),_0x2af8db[_0x2d9e9e(0x371)](_0x30e828);}[_0x4a9f88(0xb7)](_0x2aeeac,_0x45a0c1){var _0x4bd32b=_0x4a9f88;const _0x46dd28=this[_0x4bd32b(0x198)][_0x4bd32b(0x336)](_0x2aeeac);_0x46dd28&&_0x46dd28['removeMember'](_0x45a0c1);}[_0x4a9f88(0x105)](_0x56d4d){var _0x20c784=_0x4a9f88;return this[_0x20c784(0x198)][_0x20c784(0x336)](_0x56d4d);}['getMember'](_0x353ff4,_0x1d073e){var _0x4a7a8b=_0x4a9f88;const _0x31ef5e=this[_0x4a7a8b(0x198)][_0x4a7a8b(0x336)](_0x353ff4);if(_0x31ef5e)return _0x31ef5e['getMember'](_0x1d073e);}['_removeRoom'](_0x3feb98){var _0x5234ba=_0x4a9f88;const _0x1d356d=this[_0x5234ba(0x198)][_0x5234ba(0x336)](_0x3feb98);_0x1d356d&&(_0x1d356d['dispose'](),this[_0x5234ba(0x198)][_0x5234ba(0x14a)](_0x3feb98));}[_0x4a9f88(0x139)](){var _0x574094=_0x4a9f88;this[_0x574094(0x198)][_0x574094(0x2f2)](_0x508dfa=>_0x508dfa[_0x574094(0x139)]()),this['_roomMembers']['clear']();}};Le=Zn([zt(0x0,_0x190ff7),zt(0x1,_0x2a5019(_0x291d58))],Le);class Qn extends _0x1e775a{constructor(){var _0x483be7=_0x4a9f88;super(...arguments),N(this,_0x483be7(0x32e),new Map());}[_0x4a9f88(0x139)](){var _0x16c358=_0x4a9f88;this[_0x16c358(0x32e)][_0x16c358(0x367)]();}[_0x4a9f88(0x371)](_0x4c866c){var _0x196197=_0x4a9f88;this[_0x196197(0x32e)]['set'](_0x4c866c[_0x196197(0x2dd)],_0x4c866c);}[_0x4a9f88(0xb7)](_0x4244a0){var _0x2247e8=_0x4a9f88;this[_0x2247e8(0x32e)][_0x2247e8(0x14a)](_0x4244a0);}[_0x4a9f88(0xfb)](_0x3953b3){var _0x3a2bb3=_0x4a9f88;return this[_0x3a2bb3(0x32e)][_0x3a2bb3(0x336)](_0x3953b3);}[_0x4a9f88(0x7c)](){var _0x87a14=_0x4a9f88;return Array['from'](this[_0x87a14(0x32e)][_0x87a14(0x192)]());}}var se=(_0x3cbabe=>(_0x3cbabe[_0x4a9f88(0x21a)]=_0x4a9f88(0x21a),_0x3cbabe[_0x4a9f88(0x309)]=_0x4a9f88(0x309),_0x3cbabe[_0x4a9f88(0x188)]=_0x4a9f88(0x188),_0x3cbabe[_0x4a9f88(0x1bc)]=_0x4a9f88(0x1bc),_0x3cbabe[_0x4a9f88(0x2e1)]=_0x4a9f88(0x2e1),_0x3cbabe['SOCKET_FAILED_RETRY']=_0x4a9f88(0x242),_0x3cbabe[_0x4a9f88(0x2b7)]=_0x4a9f88(0x2b7),_0x3cbabe[_0x4a9f88(0x29d)]=_0x4a9f88(0x29d),_0x3cbabe))(se||{});class pe{constructor(){var _0x512d60=_0x4a9f88;N(this,_0x512d60(0x28c),new _0x1afd5c()),N(this,_0x512d60(0x20f),this[_0x512d60(0x28c)]['asObservable']());}[_0x4a9f88(0x27b)](_0x35ef3d){var _0x2b8302=_0x4a9f88;this[_0x2b8302(0x28c)][_0x2b8302(0x36d)](_0x35ef3d);}}var es=Object[_0x4a9f88(0x2cf)],ts=Object[_0x4a9f88(0x80)],is=(_0x1a994d,_0x1dbd8a,_0x5915c6,_0x1fcfa5)=>{for(var _0x41eeb1=_0x1fcfa5>0x1?void 0x0:_0x1fcfa5?ts(_0x1dbd8a,_0x5915c6):_0x1dbd8a,_0x4e910b=_0x1a994d['length']-0x1,_0x508fa6;_0x4e910b>=0x0;_0x4e910b--)(_0x508fa6=_0x1a994d[_0x4e910b])&&(_0x41eeb1=(_0x1fcfa5?_0x508fa6(_0x1dbd8a,_0x5915c6,_0x41eeb1):_0x508fa6(_0x41eeb1))||_0x41eeb1);return _0x1fcfa5&&_0x41eeb1&&es(_0x1dbd8a,_0x5915c6,_0x41eeb1),_0x41eeb1;},me=(_0x33c03e,_0x3248fc)=>(_0x30e07b,_0x451a1d)=>_0x3248fc(_0x30e07b,_0x451a1d,_0x33c03e),Ie=(_0x186f61=>(_0x186f61[_0x186f61[_0x4a9f88(0x1eb)]=0x0]='IDLE',_0x186f61[_0x186f61[_0x4a9f88(0x1ac)]=0x1]=_0x4a9f88(0x1ac),_0x186f61[_0x186f61[_0x4a9f88(0x331)]=0x2]=_0x4a9f88(0x331),_0x186f61[_0x186f61['ONLINE']=0x3]=_0x4a9f88(0x1e9),_0x186f61))(Ie||{});const Yt={[Ee[_0x4a9f88(0x2dc)]]:'session.join-failed',[Ee[_0x4a9f88(0x10e)]]:'session.room-full',[Ee[_0x4a9f88(0xa8)]]:_0x4a9f88(0x329),[Ee[_0x4a9f88(0xd9)]]:'session.room-permission-denied',[Ee[_0x4a9f88(0x2c1)]]:_0x4a9f88(0x27d)};let It=class extends _0x2d4049{constructor(_0xfde2d1,_0x314047,_0x266899,_0x17bb74,_0x846f81,_0x123fea,_0x3a2e6e,_0x14cf9f,_0x918079){var _0x4a304b=_0x4a9f88;super(),N(this,_0x4a304b(0x1a3),new _0x20d4d6(0x0)),N(this,_0x4a304b(0x16b),this[_0x4a304b(0x1a3)][_0x4a304b(0x2ec)]()),N(this,_0x4a304b(0x28c),new _0x1afd5c()),N(this,'event$',this['_event$'][_0x4a304b(0x2ec)]()),N(this,_0x4a304b(0x18a)),N(this,_0x4a304b(0x146)),N(this,_0x4a304b(0x260)),N(this,_0x4a304b(0xa7),!0x1),N(this,'_telemetryInfo',null),(this[_0x4a304b(0x2fb)]=_0xfde2d1,this[_0x4a304b(0x147)]=_0x266899,this[_0x4a304b(0x1e4)]=_0x17bb74,this[_0x4a304b(0x16d)]=_0x846f81,this[_0x4a304b(0x2e9)]=_0x123fea,this['_commentService']=_0x3a2e6e,this['_collaborationUIEventService']=_0x14cf9f,this['_telemetryService']=_0x918079,this[_0x4a304b(0xa7)]=!!this[_0x4a304b(0x6f)],_0x314047[_0x4a304b(0x102)](_0x1ba6a5(this['dispose$']))[_0x4a304b(0x1d3)](_0x18afad=>{var _0x54af0c=_0x4a304b,_0x2c3ccb;typeof _0x18afad>'u'||(this[_0x54af0c(0x18a)]=_0x18afad,_0x18afad?(this[_0x54af0c(0xc4)](_0x18afad),this[_0x54af0c(0x146)]=_0x18afad['message$']['subscribe'](_0x17477b=>{_0x17477b['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x17477b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x54af0c(0x1a3)][_0x54af0c(0x36d)](0x2),(_0x2c3ccb=this[_0x54af0c(0x146)])==null||_0x2c3ccb[_0x54af0c(0x1a0)](),this[_0x54af0c(0x146)]=null));}));}get[_0x4a9f88(0x1ee)](){var _0x4e693d=_0x4a9f88;return this['_sessionStatus$'][_0x4e693d(0x17e)]();}[_0x4a9f88(0xef)](){var _0x2110bf=_0x4a9f88,_0x397f8c,_0x3c72b5;return(_0x3c72b5=(_0x397f8c=this[_0x2110bf(0x18a)])==null?void 0x0:_0x397f8c[_0x2110bf(0x2dd)])!=null?_0x3c72b5:null;}[_0x4a9f88(0x139)](){var _0x26bee1=_0x4a9f88;super[_0x26bee1(0x139)](),this[_0x26bee1(0xa4)][_0x26bee1(0x36d)](),this['dispose$'][_0x26bee1(0x2ed)]();}[_0x4a9f88(0x176)](){var _0x31c334=_0x4a9f88,_0x43c7ea,_0x81188e;this[_0x31c334(0x321)](),(_0x43c7ea=this[_0x31c334(0x18a)])==null||_0x43c7ea[_0x31c334(0x19d)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x31c334(0x2fb)]}}),(_0x81188e=this['_socket'])==null||_0x81188e[_0x31c334(0x176)](),this[_0x31c334(0x28c)][_0x31c334(0x2ed)](),this[_0x31c334(0x1a3)][_0x31c334(0x2ed)](),this[_0x31c334(0x139)]();}[_0x4a9f88(0x287)](_0x283f9a){var _0x452c34=_0x4a9f88;_0x283f9a['cmd']===F[_0x452c34(0x161)]?this[_0x452c34(0x25c)](_0x283f9a):_0x283f9a['cmd']===F[_0x452c34(0x2e7)]&&this['_onRecvEvent'](_0x283f9a);}[_0x4a9f88(0xc4)](_0x4851f2){var _0x24dea5=_0x4a9f88;this[_0x24dea5(0x1a3)]['next'](0x1),_0x4851f2['send']({'cmd':F[_0x24dea5(0x161)],'routeKey':this[_0x24dea5(0x2fb)],'routeType':'','data':{'rooms':[{'roomID':this[_0x24dea5(0x2fb)]}]}});}['_onJoinRoomEvent'](_0x52d273){var _0x580aed=_0x4a9f88,_0xec8c30;if(_0x52d273['code']in Yt){this[_0x580aed(0x87)][_0x580aed(0x27b)]({'id':se[_0x580aed(0x2e1)],'data':Yt[_0x52d273[_0x580aed(0x28b)]]}),this['_sessionStatus$'][_0x580aed(0x36d)](0x2);return;}this['_sessionStatus$'][_0x580aed(0x36d)](0x3);const _0x102aa4=(_0xec8c30=_0x52d273[_0x580aed(0x2be)][_0x580aed(0x173)][this[_0x580aed(0x2fb)]])==null?void 0x0:_0xec8c30[_0x580aed(0xbe)];_0x102aa4&&_0x102aa4[_0x580aed(0x2f2)](_0x34867f=>this[_0x580aed(0x2e9)][_0x580aed(0x371)](this[_0x580aed(0x2fb)],_0x34867f));}[_0x4a9f88(0x168)](_0x2266d7){var _0x18e14d=_0x4a9f88;try{const _0x5b1163=_0x2266d7[_0x18e14d(0x2be)];switch(_0x5b1163[_0x18e14d(0x334)]){case _0x5db513[_0x18e14d(0x32c)]:this[_0x18e14d(0x15e)](_0x5b1163),this['_event$'][_0x18e14d(0x36d)](_0x5b1163);break;case _0x5db513[_0x18e14d(0xd8)]:this[_0x18e14d(0x22e)](_0x5b1163),this['_event$']['next'](_0x5b1163);break;case _0x5db513[_0x18e14d(0x1a8)]:case _0x5db513[_0x18e14d(0x1d9)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x18e14d(0x1c6)](),this[_0x18e14d(0x28c)][_0x18e14d(0x36d)](_0x5b1163);break;case _0x5db513[_0x18e14d(0x322)]:this[_0x18e14d(0x147)][_0x18e14d(0x218)](_0x18e14d(0x24a)+JSON[_0x18e14d(0x122)](_0x5b1163)),this[_0x18e14d(0x28c)]['next'](_0x5b1163);break;case _0x5db513['COMMENT_UPDATE']:this[_0x18e14d(0x172)][_0x18e14d(0xf0)](_0x5b1163[_0x18e14d(0x2be)]),this[_0x18e14d(0x28c)][_0x18e14d(0x36d)](_0x5b1163);break;default:this[_0x18e14d(0x28c)][_0x18e14d(0x36d)](_0x5b1163);}}catch(_0x46a757){this[_0x18e14d(0x147)][_0x18e14d(0x218)](_0x46a757,_0x2266d7);}}[_0x4a9f88(0x15e)](_0x4a27fb){var _0xd2f50f=_0x4a9f88;this['_memberService'][_0xd2f50f(0x371)](this['_unitID'],_0x4a27fb[_0xd2f50f(0x2be)]);}[_0x4a9f88(0x22e)](_0x2b7fcd){var _0x5aecf9=_0x4a9f88;this[_0x5aecf9(0x2e9)]['removeMember'](this[_0x5aecf9(0x2fb)],_0x2b7fcd[_0x5aecf9(0x2be)][_0x5aecf9(0x2dd)]);}async[_0x4a9f88(0x19d)](_0x3fca66,_0x2b996e){var _0x455d1c=_0x4a9f88;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x455d1c(0x1ff));try{_0x3fca66[_0x455d1c(0x334)]===_0x5db513[_0x455d1c(0x171)]&&(this[_0x455d1c(0x183)](),this[_0x455d1c(0x30a)](_0x3fca66)),this[_0x455d1c(0x18a)][_0x455d1c(0x19d)]({'cmd':F['INGEST'],'routeKey':_0x2b996e,'routeType':'','data':_0x3fca66});}catch(_0x3fc636){this['_logService'][_0x455d1c(0x218)](_0x3fc636);}}[_0x4a9f88(0x183)](){var _0x2fa1a4=_0x4a9f88,_0x2c611f;this[_0x2fa1a4(0x260)]=window[_0x2fa1a4(0x364)](()=>{var _0x4a3e53=_0x2fa1a4;this[_0x4a3e53(0x260)]=null,this[_0x4a3e53(0x87)][_0x4a3e53(0x27b)]({'id':se[_0x4a3e53(0x29d)]});},(_0x2c611f=this[_0x2fa1a4(0x1e4)][_0x2fa1a4(0xd4)](Ei))!=null?_0x2c611f:Ii);}['_clearCollaborationTimeoutTimer'](){var _0x180eb8=_0x4a9f88;this[_0x180eb8(0x260)]&&(clearTimeout(this[_0x180eb8(0x260)]),this[_0x180eb8(0x260)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5e675b){var _0x2e2dbf=_0x4a9f88;if(!this[_0x2e2dbf(0xa7)])return;const {data:_0x5be4fd}=_0x5e675b,{unitID:_0x2240d0,changeset:_0x4c1204}=_0x5be4fd,{mutations:_0x26665a,type:_0x284bcf}=_0x4c1204;this[_0x2e2dbf(0x13c)]={'unitId':_0x2240d0,'type':_0x284bcf,'startTime':performance[_0x2e2dbf(0xac)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x26665a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x18aed1=_0x4a9f88;if(this[_0x18aed1(0xa7)]){if(!this[_0x18aed1(0x13c)]){this[_0x18aed1(0x147)][_0x18aed1(0x218)](_0x18aed1(0x1b4),_0x18aed1(0x1fb));return;}this[_0x18aed1(0x13c)][_0x18aed1(0x303)]=performance[_0x18aed1(0xac)](),this[_0x18aed1(0x13c)][_0x18aed1(0x2da)]=this[_0x18aed1(0x13c)][_0x18aed1(0x303)]-this[_0x18aed1(0x13c)][_0x18aed1(0x297)],this[_0x18aed1(0x6f)]['capture'](Yn,this['_telemetryInfo']),this[_0x18aed1(0x13c)]=null;}}[_0x4a9f88(0x321)](){var _0xf63dcf=_0x4a9f88;this[_0xf63dcf(0x13c)]=null;}};It=is([me(0x2,_0x54e63f),me(0x3,_0xd4de74),me(0x4,_0x2a5019(_0x187ee3)),me(0x5,_0x2a5019(Le)),me(0x6,_0x2a5019(Ri)),me(0x7,_0x2a5019(pe)),me(0x8,_0x39b9b2(_0x2c93fb))],It);var ns=Object[_0x4a9f88(0x2cf)],ss=Object[_0x4a9f88(0x80)],rs=(_0x205b82,_0x251a20,_0x46b3a8,_0x46a4c6)=>{var _0x3335b4=_0x4a9f88;for(var _0x1ba8d3=_0x46a4c6>0x1?void 0x0:_0x46a4c6?ss(_0x251a20,_0x46b3a8):_0x251a20,_0x5ab94d=_0x205b82[_0x3335b4(0x212)]-0x1,_0x56d64;_0x5ab94d>=0x0;_0x5ab94d--)(_0x56d64=_0x205b82[_0x5ab94d])&&(_0x1ba8d3=(_0x46a4c6?_0x56d64(_0x251a20,_0x46b3a8,_0x1ba8d3):_0x56d64(_0x1ba8d3))||_0x1ba8d3);return _0x46a4c6&&_0x1ba8d3&&ns(_0x251a20,_0x46b3a8,_0x1ba8d3),_0x1ba8d3;},ge=(_0x584aa6,_0x37d674)=>(_0xb5ee39,_0x555d82)=>_0x37d674(_0xb5ee39,_0x555d82,_0x584aa6);let Me=class extends _0x1e775a{constructor(_0xe6626b,_0x5b9536,_0x47cad4,_0x4a5be5,_0x7406fb,_0x354af4,_0x329b65){var _0x22281b=_0x4a9f88;super(),N(this,_0x22281b(0x2e6),new _0x20d4d6(void 0x0)),N(this,_0x22281b(0x2d3),this[_0x22281b(0x2e6)][_0x22281b(0x2ec)]()),N(this,_0x22281b(0x16f),null),N(this,_0x22281b(0x35c),new Map()),N(this,_0x22281b(0x29e),new _0x20d4d6(Ie[_0x22281b(0x1eb)])),N(this,'status$',this[_0x22281b(0x29e)][_0x22281b(0x2ec)]()),N(this,_0x22281b(0x26c),!0x1),N(this,_0x22281b(0x246)),N(this,'_retryCount',0x0),N(this,_0x22281b(0x345)),N(this,_0x22281b(0x95)),(this[_0x22281b(0x2d2)]=_0xe6626b,this['_localeService']=_0x5b9536,this[_0x22281b(0x147)]=_0x47cad4,this['_configService']=_0x4a5be5,this[_0x22281b(0x16a)]=_0x7406fb,this[_0x22281b(0x110)]=_0x354af4,this['_collaborationUIEventService']=_0x329b65,this['_initEventListeners']());}get['_socket'](){var _0x1a96d6=_0x4a9f88;return this[_0x1a96d6(0x2e6)][_0x1a96d6(0x17e)]();}[_0x4a9f88(0x14b)](){var _0x1f9115=_0x4a9f88;this[_0x1f9115(0x199)](),this[_0x1f9115(0x106)]();}['dispose'](){var _0x2612f6=_0x4a9f88;super[_0x2612f6(0x139)](),this[_0x2612f6(0x35c)][_0x2612f6(0x2f2)](_0x58558b=>_0x58558b['dispose']()),this[_0x2612f6(0x35c)][_0x2612f6(0x367)](),this[_0x2612f6(0x29e)][_0x2612f6(0x2ed)]();}async[_0x4a9f88(0x2d5)](_0x5902c6){var _0x454b4f=_0x4a9f88;if(this[_0x454b4f(0x35c)][_0x454b4f(0x292)](_0x5902c6))return this['_sessions'][_0x454b4f(0x336)](_0x5902c6);this[_0x454b4f(0x26b)]();const _0x377655=this[_0x454b4f(0x2d2)]['createInstance'](It,_0x5902c6,this[_0x454b4f(0x2e6)][_0x454b4f(0x2ec)]());return this['_sessions'][_0x454b4f(0x1b3)](_0x5902c6,_0x377655),_0x377655;}[_0x4a9f88(0x304)](_0x177f52){var _0x17f77f=_0x4a9f88,_0x3367c6;const _0x2dba07=this[_0x17f77f(0x35c)][_0x17f77f(0x336)](_0x177f52);_0x2dba07&&(this[_0x17f77f(0x35c)][_0x17f77f(0x14a)](_0x177f52),_0x2dba07['close']()),this[_0x17f77f(0x35c)][_0x17f77f(0x231)]||(_0x3367c6=this[_0x17f77f(0x18a)])==null||_0x3367c6['close']();}[_0x4a9f88(0x347)](){var _0x1cf47d=_0x4a9f88;this[_0x1cf47d(0x240)]=0x0,this[_0x1cf47d(0x246)]!=null&&(clearTimeout(this[_0x1cf47d(0x246)]),this['_retryConnectingTimer']=null),this[_0x1cf47d(0x14e)]();}async[_0x4a9f88(0x170)](){var _0x15be8b=_0x4a9f88,_0x1b5ff3,_0x555e0c,_0x4b505b;const _0x88348d=this[_0x15be8b(0x1e4)][_0x15be8b(0xd4)](Y),_0x5ccb32=(_0x1b5ff3=_0x88348d==null?void 0x0:_0x88348d[_0x15be8b(0x1f2)])!=null?_0x1b5ff3:wn;return(_0x4b505b=(_0x555e0c=(await this[_0x15be8b(0x110)][_0x15be8b(0x336)](_0x5ccb32,{'headers':{'Content-Type':_0x15be8b(0x2d1)}}))['body'])==null?void 0x0:_0x555e0c[_0x15be8b(0x256)])!=null?_0x4b505b:'';}[_0x4a9f88(0x33b)](_0x1bdacb){var _0x139a21=_0x4a9f88,_0x2ea708,_0x8a8b6c;const _0x3f14a3=this[_0x139a21(0x1e4)][_0x139a21(0xd4)](Dn),_0x17dc8f=this[_0x139a21(0x1e4)]['getConfig'](Y),_0x11f7b4=(_0x8a8b6c=(_0x2ea708=_0x17dc8f==null?void 0x0:_0x17dc8f[_0x139a21(0xb9)])!=null?_0x2ea708:_0x3f14a3)!=null?_0x8a8b6c:Nn,_0x3b0981=new URL(_0x11f7b4,window[_0x139a21(0x1e7)]['origin']);return _0x3b0981[_0x139a21(0x316)][_0x139a21(0x1b3)](_0x139a21(0x283),_0x1bdacb),_0x3b0981[_0x139a21(0x2ef)]();}async[_0x4a9f88(0x2ea)](){var _0x5b01f8=_0x4a9f88;const _0x424167=await this[_0x5b01f8(0x170)](),_0x433d0b=this['_createSocketURL'](_0x424167),_0x46ca41=this[_0x5b01f8(0x16a)][_0x5b01f8(0x208)](_0x433d0b);return this[_0x5b01f8(0x16f)]=_0x46ca41,_0x46ca41;}async['_tryEnsureSocket'](){var _0xf053b4=_0x4a9f88,_0x52af2b,_0x2dd8bd;try{const _0x21d020=(_0x2dd8bd=(_0x52af2b=this[_0xf053b4(0x18a)])!=null?_0x52af2b:this[_0xf053b4(0x16f)])!=null?_0x2dd8bd:await this[_0xf053b4(0x2ea)]();if(_0x21d020){const _0x4cc388=_0x21d020[_0xf053b4(0x19d)];_0x21d020[_0xf053b4(0x19d)]=_0x90fcce=>(this[_0xf053b4(0x27c)](),_0x4cc388[_0xf053b4(0xa3)](_0x21d020,[_0x90fcce])),_0x21d020['message$'][_0xf053b4(0x1d3)](_0xe72646=>this[_0xf053b4(0x311)](_0x21d020,_0xe72646)),_0x21d020[_0xf053b4(0x2c6)][_0xf053b4(0x102)](_0x54c496(0x1))[_0xf053b4(0x1d3)](_0x3109dd=>this['_logService'][_0xf053b4(0x218)](_0xf053b4(0x25e),_0x3109dd)),_0x21d020[_0xf053b4(0x360)][_0xf053b4(0x102)](_0x54c496(0x1))[_0xf053b4(0x1d3)](()=>{this['_onConnectionOpen'](_0x21d020);}),_0x21d020[_0xf053b4(0x20e)][_0xf053b4(0x102)](_0x54c496(0x1))[_0xf053b4(0x1d3)](_0x25a388=>{var _0x279205=_0xf053b4;this[_0x279205(0x147)][_0x279205(0x302)](_0x279205(0x2f8),_0x279205(0x28d),_0x25a388),this[_0x279205(0x34d)]();});}}catch(_0x1f341b){this[_0xf053b4(0x147)]['error'](_0x1f341b),this[_0xf053b4(0x34d)]();}}[_0x4a9f88(0x12f)](_0x3390ce){var _0x74bd1c=_0x4a9f88;this[_0x74bd1c(0x147)]['debug']('[CollaborationSessionService]',_0x74bd1c(0x333)),_0x3390ce['send']({'cmd':F[_0x74bd1c(0x34c)]}),this['_rescheduleHeartbeat']();}[_0x4a9f88(0x199)](){var _0x142501=_0x4a9f88;window[_0x142501(0x1c8)](_0x142501(0x1bd),()=>this[_0x142501(0x2e2)]());}[_0x4a9f88(0x2e2)](){var _0x55fcb3=_0x4a9f88;this[_0x55fcb3(0x26c)]=!0x1,this[_0x55fcb3(0x16f)]=null,this['_status$'][_0x55fcb3(0x36d)](Ie[_0x55fcb3(0x331)]),this[_0x55fcb3(0x2e6)]['next'](null),this[_0x55fcb3(0x290)](),this[_0x55fcb3(0x344)]();}[_0x4a9f88(0x34d)](){var _0x15b830=_0x4a9f88,_0x56b418;this[_0x15b830(0x2e2)](),this['_retryCount']<((_0x56b418=this['_configService'][_0x15b830(0xd4)](Ln))!=null?_0x56b418:Mn)?(this['_collaborationUIEventService']['emitEvent']({'id':se['SOCKET_FAILED_RETRY']}),this[_0x15b830(0x14e)]()):this['_collaborationUIEventService'][_0x15b830(0x27b)]({'id':se[_0x15b830(0x2b7)]});}['_listenToOnlineEvent'](){var _0x628715=_0x4a9f88;const _0x174aac=()=>{var _0x2826b5=_0x30f1;this['_socket']||this[_0x2826b5(0x347)]();},_0x36378d=()=>{var _0x425dd4=_0x30f1;this[_0x425dd4(0x18a)]||document[_0x425dd4(0x1c3)]==='hidden'||this[_0x425dd4(0x347)]();};window['addEventListener'](_0x628715(0x2c9),_0x174aac),document[_0x628715(0x1c8)](_0x628715(0x10f),_0x36378d);}[_0x4a9f88(0x14e)](){var _0x66a8b6=_0x4a9f88,_0x37e9ff;const _0x382cda=this[_0x66a8b6(0x240)],_0x5eee0b=this['_configService'][_0x66a8b6(0xd4)](Y),_0x162fd7=_0x382cda===0x0?0x0:((_0x37e9ff=_0x5eee0b==null?void 0x0:_0x5eee0b['retryConnectingInterval'])!=null?_0x37e9ff:xn)*0x2**_0x382cda;this[_0x66a8b6(0x246)]=window[_0x66a8b6(0x364)](()=>{var _0x4d6db3=_0x66a8b6;clearTimeout(this[_0x4d6db3(0x246)]),this[_0x4d6db3(0x246)]=null,this[_0x4d6db3(0x26b)]();},_0x162fd7),this[_0x66a8b6(0x240)]+=0x1;}[_0x4a9f88(0x311)](_0x3a9244,_0x3ad4b9){var _0xc1b312=_0x4a9f88;const {cmd:_0x37e102}=_0x3ad4b9;_0x37e102===F['HELLO']&&!this[_0xc1b312(0x26c)]&&(_0x3a9244[_0xc1b312(0x2dd)]=_0x3ad4b9['data'][_0xc1b312(0x2dd)],this['_socket$'][_0xc1b312(0x36d)](_0x3a9244),this[_0xc1b312(0x29e)][_0xc1b312(0x36d)](Ie[_0xc1b312(0x1e9)]),this[_0xc1b312(0x26c)]=!0x0,this[_0xc1b312(0x16f)]=null),_0x37e102===F[_0xc1b312(0x315)]&&this[_0xc1b312(0x290)](),this[_0xc1b312(0x27c)]();}[_0x4a9f88(0x27c)](){var _0x27e72a=_0x4a9f88,_0x410672;this[_0x27e72a(0x344)](),this[_0x27e72a(0x345)]=window['setTimeout'](()=>this[_0x27e72a(0x9e)](),(_0x410672=this['_configService'][_0x27e72a(0xd4)](Un))!=null?_0x410672:An);}[_0x4a9f88(0x9e)](){var _0x93e39c=_0x4a9f88;this['_socket'][_0x93e39c(0x19d)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x4a9f88(0x13e)](){var _0x5c939f=_0x4a9f88,_0x151063;this['_timeoutTimer']=window[_0x5c939f(0x364)](()=>this['_onConnectionFailed'](),(_0x151063=this[_0x5c939f(0x1e4)][_0x5c939f(0xd4)](Ei))!=null?_0x151063:Ii);}[_0x4a9f88(0x344)](){var _0x33a67e=_0x4a9f88;this[_0x33a67e(0x345)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x33a67e(0x345)]=null);}[_0x4a9f88(0x290)](){var _0x15e0bd=_0x4a9f88;this[_0x15e0bd(0x95)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x15e0bd(0x95)]=null);}};Me=rs([ge(0x0,_0x2a5019(_0x78bf92)),ge(0x1,_0x2a5019(_0x187ee3)),ge(0x2,_0x54e63f),ge(0x3,_0xd4de74),ge(0x4,bi),ge(0x5,_0x2a5019(_0x16868d)),ge(0x6,_0x2a5019(pe))],Me);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x4a9f88(0x2ef)](0x10)[_0x4a9f88(0x2bb)](0x1));function os(_0x3d7699,_0x46c3cc=0x0){return(V[_0x3d7699[_0x46c3cc+0x0]]+V[_0x3d7699[_0x46c3cc+0x1]]+V[_0x3d7699[_0x46c3cc+0x2]]+V[_0x3d7699[_0x46c3cc+0x3]]+'-'+V[_0x3d7699[_0x46c3cc+0x4]]+V[_0x3d7699[_0x46c3cc+0x5]]+'-'+V[_0x3d7699[_0x46c3cc+0x6]]+V[_0x3d7699[_0x46c3cc+0x7]]+'-'+V[_0x3d7699[_0x46c3cc+0x8]]+V[_0x3d7699[_0x46c3cc+0x9]]+'-'+V[_0x3d7699[_0x46c3cc+0xa]]+V[_0x3d7699[_0x46c3cc+0xb]]+V[_0x3d7699[_0x46c3cc+0xc]]+V[_0x3d7699[_0x46c3cc+0xd]]+V[_0x3d7699[_0x46c3cc+0xe]]+V[_0x3d7699[_0x46c3cc+0xf]])['toLowerCase']();}let ut;const as=new Uint8Array(0x10);function cs(){var _0x5a96dd=_0x4a9f88;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x5a96dd(0x84));ut=crypto['getRandomValues'][_0x5a96dd(0x2aa)](crypto);}return ut(as);}const hs=typeof crypto<'u'&&crypto[_0x4a9f88(0x166)]&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':hs};function _s(_0x4626c6,_0x4237ff,_0x4186bb){var _0x166899=_0x4a9f88;if(qt[_0x166899(0x166)]&&!_0x4237ff&&!_0x4626c6)return qt[_0x166899(0x166)]();_0x4626c6=_0x4626c6||{};const _0x4a492e=_0x4626c6[_0x166899(0x217)]||(_0x4626c6['rng']||cs)();return _0x4a492e[0x6]=_0x4a492e[0x6]&0xf|0x40,_0x4a492e[0x8]=_0x4a492e[0x8]&0x3f|0x80,os(_0x4a492e);}const X=_0x512c69(_0x4a9f88(0x2cb));function ao(_0x18e416){return'unit-cache-'+_0x18e416;}var ls=Object[_0x4a9f88(0x2cf)],us=Object[_0x4a9f88(0x80)],ds=(_0x4908f6,_0x35f9c4,_0x336e5f,_0x3ffaa3)=>{var _0x48e81f=_0x4a9f88;for(var _0x199bab=_0x3ffaa3>0x1?void 0x0:_0x3ffaa3?us(_0x35f9c4,_0x336e5f):_0x35f9c4,_0x24ae7d=_0x4908f6[_0x48e81f(0x212)]-0x1,_0x12f97a;_0x24ae7d>=0x0;_0x24ae7d--)(_0x12f97a=_0x4908f6[_0x24ae7d])&&(_0x199bab=(_0x3ffaa3?_0x12f97a(_0x35f9c4,_0x336e5f,_0x199bab):_0x12f97a(_0x199bab))||_0x199bab);return _0x3ffaa3&&_0x199bab&&ls(_0x35f9c4,_0x336e5f,_0x199bab),_0x199bab;},dt=(_0x2f2444,_0x48e4b4)=>(_0x149bea,_0xe842a4)=>_0x48e4b4(_0x149bea,_0xe842a4,_0x2f2444);function fs(_0x255765){const {unitID:_0x219da7,mutations:_0x27c79b}=_0x255765;return{'unitId':_0x219da7,'subUnitId':_0x27c79b[0x0]['params']['subUnitId']};}let nt=class{constructor(_0x1671d2,_0x1e8b26,_0xaa0d84){var _0x22ce74=_0x4a9f88;this[_0x22ce74(0x2d2)]=_0x1671d2,this['_transformService']=_0x1e8b26,this[_0x22ce74(0x29b)]=_0xaa0d84;}[_0x4a9f88(0x26d)](_0x18560a){var _0x519647=_0x4a9f88,_0x3a2df0,_0x499276,_0x155a5f,_0x5ab7ee;const _0x5038c8=this[_0x519647(0x2d2)][_0x519647(0x336)](_0x7418f7),{unitId:_0x542ff6,subUnitId:_0x2a9517}=fs(_0x18560a),_0x5e2926=_0x5038c8==null?void 0x0:_0x5038c8[_0x519647(0x238)](_0x542ff6)['getCurrentSelections'](),_0x36994=(_0x499276=(_0x3a2df0=this[_0x519647(0x29b)]['getUnit'](_0x542ff6))==null?void 0x0:_0x3a2df0[_0x519647(0x22c)]())==null?void 0x0:_0x499276[_0x519647(0x308)]();if(_0x5e2926[_0x519647(0x212)]===0x0||!_0x542ff6||!_0x2a9517)return;const _0x4213e8=[{'id':_0x328cd6['id'],'params':{'unitId':_0x542ff6,'subUnitId':_0x36994,'selections':_0x2c1d8d[_0x519647(0x325)](_0x5e2926)}}],_0x3eb9e0=this[_0x519647(0x31c)][_0x519647(0x31a)](_0x18560a,_0x4213e8);if(!_0x47dc85(_0x3eb9e0))throw _0x3eb9e0[_0x519647(0x218)];const _0x3455d0=(_0x5ab7ee=(_0x155a5f=_0x3eb9e0[_0x519647(0xab)][0x0])==null?void 0x0:_0x155a5f[_0x519647(0x1de)])==null?void 0x0:_0x5ab7ee[_0x519647(0x114)];if(Array[_0x519647(0x250)](_0x3455d0)&&_0x3455d0[_0x519647(0x212)]){if(_0x3455d0['length']===_0x4213e8[0x0][_0x519647(0x1de)][_0x519647(0x114)][_0x519647(0x212)]&&_0x3455d0[_0x519647(0x1cb)]((_0x1d8ba9,_0x4a7b78)=>_0x2bb0a0[_0x519647(0x9a)](_0x1d8ba9['range'],_0x4213e8[0x0][_0x519647(0x1de)][_0x519647(0x114)][_0x4a7b78][_0x519647(0x277)])))return;this[_0x519647(0x2d2)][_0x519647(0x336)](_0x28ed93)[_0x519647(0x127)](_0x328cd6['id'],{'unitId':_0x542ff6,'subUnitId':_0x36994,'selections':_0x3455d0});}}};nt=ds([dt(0x0,_0x2a5019(_0x78bf92)),dt(0x1,_0xa95f58),dt(0x2,_0x190ff7)],nt);const ht=_0x512c69('univer-pro.collaboration-client.single-active-unit-service');var yi=(_0x36ca6a=>(_0x36ca6a[_0x36ca6a[_0x4a9f88(0xa9)]=0x0]=_0x4a9f88(0xa9),_0x36ca6a[_0x36ca6a[_0x4a9f88(0xe9)]=0x1]=_0x4a9f88(0xe9),_0x36ca6a))(yi||{});const vs=new Set([_0x4a0115['id']]);function Jt(_0x231411,_0x38d8e2,_0x34a42f,_0x2ae44e,_0x8fd1fe){var _0x493812=_0x4a9f88,_0x40d98a,_0xdda7b4,_0x37e755,_0xbd8e8c;const _0x4eeae8=[];for(const _0x3a4b39 of _0x231411)if(vs[_0x493812(0x292)](_0x3a4b39['id'])){if(_0x4eeae8[_0x493812(0x212)]>0x0)break;_0x4eeae8[_0x493812(0x257)](_0x3a4b39);break;}else _0x4eeae8[_0x493812(0x257)](_0x3a4b39);const _0x444a39=(_0xdda7b4=(_0x40d98a=_0x8fd1fe[_0x493812(0x320)]())==null?void 0x0:_0x40d98a[_0x493812(0x343)])!=null?_0xdda7b4:_0x493812(0x2ca),_0x26d8d5=(_0xbd8e8c=(_0x37e755=_0x8fd1fe[_0x493812(0x320)]())==null?void 0x0:_0x37e755[_0x493812(0x2dd)])!=null?_0xbd8e8c:_0x493812(0x2ca);return{'changeset':{'unitID':_0x38d8e2,'type':_0x4ac429(_0x34a42f[_0x493812(0x22b)](_0x38d8e2)),'baseRev':_0x2ae44e[_0x493812(0x22f)](_0x38d8e2),'revision':0x0,'userID':_0x444a39,'memberID':_0x26d8d5,'mutations':_0x4eeae8},'pendingMutations':_0x231411[_0x493812(0x2bb)](_0x4eeae8[_0x493812(0x212)])};}function ps(_0x34d60a,_0x28b2d2,_0x23deb8,_0x81ab5a,_0x6c8976){var _0x56fe88=_0x4a9f88,_0x1d3679,_0x4983e3,_0x29e2a8,_0x36d980;const _0x49ce16=[_0x34d60a[_0x56fe88(0x340)]((_0x3d772e,_0x39e59f)=>{var _0x496ddb=_0x56fe88,_0x138151;const {id:_0x27d607}=_0x3d772e,{id:_0x4250e2,type:_0x4572d9}=_0x39e59f,_0x424dd1=(_0x138151=_0x3d772e[_0x496ddb(0x1de)])!=null?_0x138151:{'actions':null},_0x4e4218=_0x39e59f['params'];if(_0x27d607&&_0x27d607!==_0x4250e2)throw new Error(_0x496ddb(0x1f6)+_0x27d607+'\x20-\x20'+_0x4250e2+'.');return{..._0x3d772e,'id':_0x4250e2,'type':_0x4572d9,'params':{'unitId':_0x4e4218[_0x496ddb(0x23e)],'textRanges':_0x4e4218[_0x496ddb(0x19b)],'actions':_0x5cc6e6[_0x496ddb(0x349)](_0x424dd1[_0x496ddb(0xb6)],_0x4e4218[_0x496ddb(0xb6)])}};},{})],_0x7f19b7=(_0x4983e3=(_0x1d3679=_0x6c8976[_0x56fe88(0x320)]())==null?void 0x0:_0x1d3679[_0x56fe88(0x343)])!=null?_0x4983e3:_0x56fe88(0x2ca),_0x2734dc=(_0x36d980=(_0x29e2a8=_0x6c8976[_0x56fe88(0x320)]())==null?void 0x0:_0x29e2a8['memberID'])!=null?_0x36d980:_0x56fe88(0x2ca);return{'changeset':{'unitID':_0x28b2d2,'type':_0x4ac429(_0x23deb8[_0x56fe88(0x22b)](_0x28b2d2)),'baseRev':_0x81ab5a[_0x56fe88(0x22f)](_0x28b2d2),'revision':0x0,'userID':_0x7f19b7,'memberID':_0x2734dc,'mutations':_0x49ce16},'pendingMutations':[]};}function Oi(_0x5b2e2f,_0x319edf){var _0x342c0b=_0x4a9f88;const _0x40eeab=new _0x22b000(0x1);return setTimeout(()=>_0x40eeab[_0x342c0b(0x36d)](_0x319edf),_0x5b2e2f),_0x40eeab[_0x342c0b(0x2ec)]()['pipe'](_0x59a862(0x1));}const ms={'id':_0x30fb55['id'],'type':_0x23afc1[_0x4a9f88(0x23f)],'params':{}};var gs=Object['defineProperty'],Ss=Object[_0x4a9f88(0x80)],be=(_0x90de1c,_0x13f883,_0xc3637e,_0x373ca0)=>{var _0x1eb143=_0x4a9f88;for(var _0x51e1bf=_0x373ca0>0x1?void 0x0:_0x373ca0?Ss(_0x13f883,_0xc3637e):_0x13f883,_0x243102=_0x90de1c[_0x1eb143(0x212)]-0x1,_0x37a323;_0x243102>=0x0;_0x243102--)(_0x37a323=_0x90de1c[_0x243102])&&(_0x51e1bf=(_0x373ca0?_0x37a323(_0x13f883,_0xc3637e,_0x51e1bf):_0x37a323(_0x51e1bf))||_0x51e1bf);return _0x373ca0&&_0x51e1bf&&gs(_0x13f883,_0xc3637e,_0x51e1bf),_0x51e1bf;},A=(_0xc6ec8a,_0x31ca10)=>(_0x2a1e2e,_0x45abff)=>_0x31ca10(_0x2a1e2e,_0x45abff,_0xc6ec8a),Pi=(_0x5d1cf4=>(_0x5d1cf4[_0x4a9f88(0x284)]=_0x4a9f88(0x36c),_0x5d1cf4[_0x4a9f88(0x1dc)]=_0x4a9f88(0x2d6),_0x5d1cf4[_0x4a9f88(0x33d)]=_0x4a9f88(0x225),_0x5d1cf4[_0x4a9f88(0x13b)]=_0x4a9f88(0x2f5),_0x5d1cf4[_0x4a9f88(0x107)]='awaiting_with_pending',_0x5d1cf4['FETCH_MISS']=_0x4a9f88(0x1f7),_0x5d1cf4[_0x4a9f88(0x188)]=_0x4a9f88(0xf9),_0x5d1cf4[_0x4a9f88(0x331)]='offline',_0x5d1cf4))(Pi||{});const Di=0xea60;class Re{constructor(_0x33e919,_0x3f5799,_0xd82aac,_0x5b7ef1,_0x59afc9,_0x54ecea,_0x484b12,_0x43f57a,_0x177bb2){var _0x1a9807=_0x4a9f88;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this['unitID']=_0x33e919,this['type']=_0x3f5799,this[_0x1a9807(0x113)]=_0x59afc9,this[_0x1a9807(0x307)]=_0x54ecea,this[_0x1a9807(0x136)]=_0x484b12,this['_revisionService']=_0x43f57a,this[_0x1a9807(0x2ad)]=_0x177bb2,this[_0x1a9807(0x241)]=_0xd82aac,this[_0x1a9807(0x75)]=_0x5b7ef1);}[_0x4a9f88(0xa0)](_0x317719){var _0x346472=_0x4a9f88;const _0xebab28=this[_0x346472(0x34e)][_0x346472(0x22f)](this[_0x346472(0x2ba)]);return _0x317719['revision']>_0xebab28+0x1?(this[_0x346472(0x113)][_0x346472(0x25a)]({'from':_0xebab28,'to':_0x317719[_0x346472(0x32a)]-0x1}),!0x0):!0x1;}[_0x4a9f88(0x134)](_0x55e610){var _0x2363dc=_0x4a9f88;this[_0x2363dc(0x136)][_0x2363dc(0x17d)](this[_0x2363dc(0x2ba)],_0x55e610);}[_0x4a9f88(0x81)](_0x3b0342){var _0x3fa7ef=_0x4a9f88,_0x3a82f4,_0x4800a2;(_0x4800a2=(_0x3a82f4=this[_0x3fa7ef(0x113)])[_0x3fa7ef(0x317)])==null||_0x4800a2[_0x3fa7ef(0x2ce)](_0x3a82f4,_0x3b0342);}[_0x4a9f88(0x133)](_0x17d48e){var _0x2fdeb0=_0x4a9f88,_0x5e2344,_0x49de86;return(_0x49de86=(_0x5e2344=this[_0x2fdeb0(0x113)])[_0x2fdeb0(0x89)])==null?void 0x0:_0x49de86[_0x2fdeb0(0x2ce)](_0x5e2344,_0x17d48e);}[_0x4a9f88(0x19c)](_0x46a32f){var _0xafb05f=_0x4a9f88,_0x5729b4,_0x12c1ba;return(_0x12c1ba=(_0x5729b4=this[_0xafb05f(0x113)])['onTransformState'])==null?void 0x0:_0x12c1ba[_0xafb05f(0x2ce)](_0x5729b4,_0x46a32f);}['_transformRemoteChangesetByIMECache'](_0x5a6cbf){var _0x1b73e5=_0x4a9f88,_0x5e506d,_0x4d0514,_0x4e9adc;return(_0x4e9adc=(_0x4d0514=(_0x5e506d=this[_0x1b73e5(0x113)])[_0x1b73e5(0x2a4)])==null?void 0x0:_0x4d0514[_0x1b73e5(0x2ce)](_0x5e506d,_0x5a6cbf))!=null?_0x4e9adc:_0x5a6cbf;}['_transformRemoteChangesetByStateCache'](_0x46ae9f){var _0x147799=_0x4a9f88,_0x1cb4b3,_0xc79c7f,_0x23dd3d;return(_0x23dd3d=(_0xc79c7f=(_0x1cb4b3=this[_0x147799(0x113)])[_0x147799(0x129)])==null?void 0x0:_0xc79c7f[_0x147799(0x2ce)](_0x1cb4b3,_0x46ae9f))!=null?_0x23dd3d:_0x46ae9f;}[_0x4a9f88(0x137)](_0x2183ff){var _0x176f8d=_0x4a9f88,_0x2cf875,_0x29fda0;if(this[_0x176f8d(0x366)]===Q[_0x176f8d(0x324)]){const {unitID:_0x21ddbf,mutations:_0x4c11b8,memberID:_0x468aff}=_0x2183ff,_0x23134b=_0x4c11b8[0x0][_0x176f8d(0x1de)][_0x176f8d(0x19b)];Array[_0x176f8d(0x250)](_0x23134b)&&_0x23134b[_0x176f8d(0x212)]>0x0&&((_0x29fda0=(_0x2cf875=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x29fda0[_0x176f8d(0x2ce)](_0x2cf875,{'unitID':_0x21ddbf,'memberID':_0x468aff,'textRanges':_0x23134b}));}}[_0x4a9f88(0x2b9)](){var _0x294a46=_0x4a9f88,_0x474c05;(_0x474c05=this[_0x294a46(0x2ad)])==null||_0x474c05[_0x294a46(0x2a5)](this[_0x294a46(0x2ba)],this[_0x294a46(0x366)],this[_0x294a46(0x241)],this[_0x294a46(0x75)]);}[_0x4a9f88(0x118)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x637a8b=_0x4a9f88;this[_0x637a8b(0x34e)][_0x637a8b(0xc7)](this[_0x637a8b(0x2ba)]);}[_0x4a9f88(0x1e2)](_0x22b8f4){var _0x46db00=_0x4a9f88,_0x5c6b4a;let _0x25d929=this['_transformRemoteChangesetByIMECache'](_0x22b8f4);_0x25d929=this[_0x46db00(0x361)](_0x25d929);const _0x2bfb86=_0x3b52fa(_0x25d929[_0x46db00(0x16c)],this[_0x46db00(0x307)],{'fromCollab':!0x0});if(!_0x2bfb86[_0x46db00(0x289)])throw _0x2bfb86[_0x46db00(0x218)]instanceof Error?_0x2bfb86[_0x46db00(0x218)]:new Error((_0x5c6b4a=_0x2bfb86[_0x46db00(0x218)])!=null?_0x5c6b4a:'[CollaborationState]:\x20apply\x20error!');this[_0x46db00(0x133)](_0x25d929),this[_0x46db00(0x19c)](_0x25d929),this[_0x46db00(0x134)](_0x22b8f4),this[_0x46db00(0x81)](_0x25d929),this['_syncEditingCollabCursor'](_0x25d929),this[_0x46db00(0x12a)]();}}let Pe=class extends Re{constructor(_0x22480b,_0x34c3c2,_0x3355e2,_0x57e26f,_0x34d78b,_0x2ee84f,_0x35367c,_0x415bf8,_0x52dc78,_0x560d01){var _0x28fdbf=_0x4a9f88;super(_0x22480b,_0x34c3c2,null,[],_0x3355e2,_0x35367c,_0x2ee84f,_0x57e26f,_0x560d01),N(this,_0x28fdbf(0x101),'synced'),(this[_0x28fdbf(0x2d2)]=_0x34d78b,this['_logService']=_0x415bf8,this[_0x28fdbf(0x31c)]=_0x52dc78,this[_0x28fdbf(0x17c)]=_0x560d01);}[_0x4a9f88(0x235)](_0x1954f4){var _0x5dc964=_0x4a9f88;const _0x4af0b1=this[_0x5dc964(0x2d2)]['createInstance'](re,this['unitID'],this['type'],[_0x1954f4],this['_handler']);return _0x4af0b1[_0x5dc964(0x270)](),_0x4af0b1[_0x5dc964(0x2b9)](),_0x4af0b1;}[_0x4a9f88(0x280)](_0x5512bd){var _0x380dc5=_0x4a9f88;if(this[_0x380dc5(0xa0)](_0x5512bd))return this[_0x380dc5(0x2d2)][_0x380dc5(0x25b)](te,this[_0x380dc5(0x2ba)],this['type'],null,[],null,[_0x5512bd],this[_0x380dc5(0x113)]);try{const _0x283f11=this[_0x380dc5(0x31c)]['transformMutationsWithChangeset'](_0x5512bd,[ms]);if(_0x47dc85(_0x283f11)){const {c1Prime:_0x5ebc0b}=_0x283f11;return this[_0x380dc5(0x1e2)](_0x5ebc0b),this;}throw _0x283f11[_0x380dc5(0x218)];}catch(_0x125158){return this[_0x380dc5(0x147)][_0x380dc5(0x218)](_0x125158),this[_0x380dc5(0x125)](!0x1);}}['_onConflict'](_0x42b86f){var _0x541638=_0x4a9f88;return this[_0x541638(0x2d2)]['createInstance'](de,this[_0x541638(0x2ba)],this[_0x541638(0x366)],null,[],this[_0x541638(0x113)],_0x42b86f);}['onRemoteAck'](){var _0x20f016=_0x4a9f88;throw new Error(_0x20f016(0x19e));}[_0x4a9f88(0x2a2)](){var _0x58249c=_0x4a9f88;throw new Error(_0x58249c(0x219));}[_0x4a9f88(0xa1)](){return this;}[_0x4a9f88(0xc3)](){var _0x275f16=_0x4a9f88;return this[_0x275f16(0x2d2)][_0x275f16(0x25b)](fe,this['unitID'],this[_0x275f16(0x366)],null,[],this[_0x275f16(0x113)]);}[_0x4a9f88(0x2df)](){return this;}[_0x4a9f88(0x135)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x554c75=_0x4a9f88;const _0xdcdadd=this[_0x554c75(0x34e)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x554c75(0x113)][_0x554c75(0x25a)]({'from':_0xdcdadd,'to':0x0}),this['_injector']['createInstance'](te,this['unitID'],this['type'],null,[],null,[],this[_0x554c75(0x113)]);}};Pe=be([A(0x3,_0x2a5019(_0x3308e6)),A(0x4,_0x2a5019(_0x78bf92)),A(0x5,_0x4b8ace),A(0x6,_0x28ed93),A(0x7,_0x54e63f),A(0x8,_0xa95f58),A(0x9,_0x39b9b2(X))],Pe);function _0x30f1(_0x3a7b25,_0x1fc3bf){var _0x19a633=_0x19a6();return _0x30f1=function(_0x30f1d0,_0xb338e6){_0x30f1d0=_0x30f1d0-0x6d;var _0x2f1580=_0x19a633[_0x30f1d0];return _0x2f1580;},_0x30f1(_0x3a7b25,_0x1fc3bf);}let re=class extends Re{constructor(_0x109d7f,_0x2096b6,_0xc22670,_0x32b502,_0x1b09ea,_0x243716,_0x5f9f73,_0x5f0321,_0x32a463,_0x366075,_0x1d8822,_0x560567,_0x358021,_0x46e094){var _0x546d62=_0x4a9f88;super(_0x109d7f,_0x2096b6,null,_0xc22670,_0x32b502,_0x32a463,_0x358021,_0x243716,_0x46e094),N(this,_0x546d62(0x101),_0x546d62(0x225)),N(this,_0x546d62(0x1fe),null),N(this,_0x546d62(0x33c),null),(this[_0x546d62(0x2d2)]=_0x1b09ea,this[_0x546d62(0x2e9)]=_0x5f9f73,this[_0x546d62(0x147)]=_0x5f0321,this[_0x546d62(0x1e4)]=_0x366075,this[_0x546d62(0x31c)]=_0x1d8822,this['_univerInstanceService']=_0x560567);}['appendMutation'](_0x4fc31c){var _0x8f8dbc=_0x4a9f88;return this[_0x8f8dbc(0x75)][_0x8f8dbc(0x257)](_0x4fc31c),this[_0x8f8dbc(0x2b9)](),this;}['onRemoteChangeset'](_0x24f366){var _0x5e7a14=_0x4a9f88;if(this[_0x5e7a14(0xa0)](_0x24f366))return this[_0x5e7a14(0x167)](),this[_0x5e7a14(0x2d2)][_0x5e7a14(0x25b)](te,this[_0x5e7a14(0x2ba)],this['type'],null,this[_0x5e7a14(0x75)],null,[_0x24f366],this[_0x5e7a14(0x113)]);try{const _0x1b2f52=this[_0x5e7a14(0x31c)][_0x5e7a14(0x31a)](_0x24f366,this[_0x5e7a14(0x75)]);if(_0x47dc85(_0x1b2f52)){const {c1Prime:_0x37733,m2Prime:_0x4468d2}=_0x1b2f52;this[_0x5e7a14(0x1e2)](_0x37733);const _0x4274f2=this['_injector'][_0x5e7a14(0x25b)](re,this[_0x5e7a14(0x2ba)],this['type'],_0x4468d2,this['_handler']);return this[_0x5e7a14(0x167)](),_0x4274f2[_0x5e7a14(0x270)](this[_0x5e7a14(0x1fe)]?Math[_0x5e7a14(0x358)](0x0,new Date()['getTime']()-this[_0x5e7a14(0x1fe)]):this[_0x5e7a14(0xc9)]()),_0x4274f2;}throw _0x1b2f52[_0x5e7a14(0x218)];}catch(_0x37f173){return this[_0x5e7a14(0x147)][_0x5e7a14(0x218)](_0x37f173),this['_onConflict'](!0x1);}}[_0x4a9f88(0x2b5)](){var _0x3eef65=_0x4a9f88;throw new Error(_0x3eef65(0x119));}[_0x4a9f88(0x2a2)](){var _0xdeb811=_0x4a9f88;throw new Error(_0xdeb811(0xde));}[_0x4a9f88(0xa1)](){return this;}['toggleOffline'](){var _0x1571f8=_0x4a9f88;return this['_clearScheduledTask'](),this[_0x1571f8(0x2d2)][_0x1571f8(0x25b)](fe,this['unitID'],this[_0x1571f8(0x366)],null,this['_pendingMutations'],this[_0x1571f8(0x113)]);}[_0x4a9f88(0x2df)](){return this;}[_0x4a9f88(0x270)](_0x264981){var _0x5557ea=_0x4a9f88;const _0x553d35=_0x264981!=null?_0x264981:this['_getSendChangesetTimeout']();this[_0x5557ea(0x1fe)]=new Date()[_0x5557ea(0x1e0)](),this['_sendingTimer']=window['setTimeout'](()=>{var _0x51c575=_0x5557ea;this[_0x51c575(0x167)]();let _0x280bb3=null;switch(this[_0x51c575(0x366)]){case Q[_0x51c575(0x1a9)]:{_0x280bb3=Jt(this['_pendingMutations'],this[_0x51c575(0x2ba)],this['_univerInstanceService'],this[_0x51c575(0x34e)],this[_0x51c575(0x2e9)]);break;}case Q[_0x51c575(0x324)]:{this['_pendingMutations'][_0x51c575(0x1cb)](_0x1b8299=>_0x1b8299['id']===_0x12a06b['id'])?_0x280bb3=ps(this['_pendingMutations'],this[_0x51c575(0x2ba)],this[_0x51c575(0x291)],this[_0x51c575(0x34e)],this[_0x51c575(0x2e9)]):_0x280bb3=Jt(this[_0x51c575(0x75)],this[_0x51c575(0x2ba)],this[_0x51c575(0x291)],this[_0x51c575(0x34e)],this[_0x51c575(0x2e9)]);break;}default:throw new Error(_0x51c575(0x2d4)+this['type']+_0x51c575(0x1b6));}const {changeset:_0x2950af,pendingMutations:_0x2fbdcc}=_0x280bb3;this[_0x51c575(0x113)][_0x51c575(0x1c0)](_0x2950af);const _0x2ca692=_0x2fbdcc[_0x51c575(0x212)]?this[_0x51c575(0x2d2)]['createInstance'](oe,this[_0x51c575(0x2ba)],this[_0x51c575(0x366)],_0x2950af,_0x2fbdcc,this['_handler'],void 0x0):this[_0x51c575(0x2d2)][_0x51c575(0x25b)](ue,this['unitID'],this[_0x51c575(0x366)],_0x2950af,this['_handler']);_0x2ca692[_0x51c575(0x2b9)](),this[_0x51c575(0x113)][_0x51c575(0x214)](this,_0x2ca692);},_0x553d35);}[_0x4a9f88(0xc9)](){var _0x4feba7=_0x4a9f88,_0x78b48b;const _0x4581ae=this[_0x4feba7(0x1e4)][_0x4feba7(0xd4)](Y);return(_0x78b48b=_0x4581ae==null?void 0x0:_0x4581ae[_0x4feba7(0x2b1)])!=null?_0x78b48b:Pn;}['resend'](){var _0x3c06a4=_0x4a9f88;throw new Error(_0x3c06a4(0xa6));}[_0x4a9f88(0x167)](){var _0x2fd7a2=_0x4a9f88;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2fd7a2(0x33c)]),this[_0x2fd7a2(0x33c)]=null);}[_0x4a9f88(0x125)](_0x3aac35){var _0x313f71=_0x4a9f88;return this[_0x313f71(0x167)](),this[_0x313f71(0x2d2)][_0x313f71(0x25b)](de,this[_0x313f71(0x2ba)],this[_0x313f71(0x366)],null,this[_0x313f71(0x75)],this[_0x313f71(0x113)],_0x3aac35);}};re=be([A(0x4,_0x2a5019(_0x78bf92)),A(0x5,_0x2a5019(_0x3308e6)),A(0x6,_0x2a5019(Le)),A(0x7,_0x54e63f),A(0x8,_0x28ed93),A(0x9,_0xd4de74),A(0xa,_0xa95f58),A(0xb,_0x190ff7),A(0xc,_0x4b8ace),A(0xd,_0x39b9b2(X))],re);let ue=class extends Re{constructor(_0xe04600,_0x363703,_0x2a5f3d,_0x517571,_0x16fc09,_0x4c1c4f,_0x243830,_0x1ddc66,_0x4de00d,_0x4a9743,_0x18959f){var _0x4792d5=_0x4a9f88;super(_0xe04600,_0x363703,_0x2a5f3d,[],_0x517571,_0x243830,_0x4a9743,_0x4c1c4f,_0x18959f),N(this,'status','awaiting'),N(this,_0x4792d5(0x2bc),0x0),N(this,_0x4792d5(0x20a)),N(this,'_sender'),(this[_0x4792d5(0x2d2)]=_0x16fc09,this['_logService']=_0x1ddc66,this[_0x4792d5(0x31c)]=_0x4de00d);}['appendMutation'](_0x568cf8){var _0x4dd424=_0x4a9f88;this[_0x4dd424(0x167)]();const _0x2fe4b9=this[_0x4dd424(0x2d2)][_0x4dd424(0x25b)](oe,this[_0x4dd424(0x2ba)],this[_0x4dd424(0x366)],this['_awaitingChangeset'],[_0x568cf8],this['_handler'],this['_resendTimer']);return _0x2fe4b9['_updateLocalCache'](),_0x2fe4b9;}[_0x4a9f88(0x280)](_0x4bef35){var _0x59e93a=_0x4a9f88;if(this[_0x59e93a(0xa0)](_0x4bef35))return this['_clearScheduledTask'](),this[_0x59e93a(0x2d2)][_0x59e93a(0x25b)](te,this[_0x59e93a(0x2ba)],this['type'],this['_awaitingChangeset'],[],null,[_0x4bef35],this['_handler']);try{const _0x3e92e6=this[_0x59e93a(0x31c)][_0x59e93a(0x8f)]([_0x4bef35],[this[_0x59e93a(0x241)]],!0x1);if(_0xcb0929(_0x3e92e6)){const {c1Prime:_0x31b03d,c2Prime:_0x251b55}=_0x3e92e6;this[_0x59e93a(0x1e2)](_0x31b03d[0x0]),_0x251b55[0x0][_0x59e93a(0x1b7)]=this['_getCurrentRevision'](),this[_0x59e93a(0x167)]();const _0x26ea07=this[_0x59e93a(0x2d2)][_0x59e93a(0x25b)](ue,this[_0x59e93a(0x2ba)],this[_0x59e93a(0x366)],_0x251b55[0x0],this['_handler']);return _0x26ea07[_0x59e93a(0x2b9)](),_0x26ea07;}return this[_0x59e93a(0x125)](!0x1);}catch(_0x23fb92){return this[_0x59e93a(0x147)][_0x59e93a(0x218)](_0x23fb92),this['_onConflict'](!0x1);}}[_0x4a9f88(0x2b5)](_0x55258d){var _0x242829=_0x4a9f88;this[_0x242829(0x167)]();const _0x6a4ce2=this[_0x242829(0x34e)][_0x242829(0x22f)](this[_0x242829(0x2ba)]);if(_0x55258d[_0x242829(0x32a)]<_0x6a4ce2-0x1)return this;if(this[_0x242829(0xa0)](_0x55258d))return this[_0x242829(0x2d2)]['createInstance'](te,this['unitID'],this[_0x242829(0x366)],null,[],this[_0x242829(0x241)],[],this[_0x242829(0x113)]);this[_0x242829(0x12a)]();const _0x3bef5a=this[_0x242829(0x2d2)]['createInstance'](Pe,this[_0x242829(0x2ba)],this[_0x242829(0x366)],this['_handler']);return _0x3bef5a['_updateLocalCache'](),_0x3bef5a;}[_0x4a9f88(0x2a2)](_0xd24e63){var _0x480f70=_0x4a9f88;return this[_0x480f70(0x125)](!!(_0xd24e63!=null&&_0xd24e63[_0x480f70(0x359)]));}['onRemoteRetry'](_0x37cde9){var _0x3217e0=_0x4a9f88;return this[_0x3217e0(0x2bc)]>Di?this[_0x3217e0(0xc3)]():(this['_resendTimer']=Oi(this[_0x3217e0(0x2bc)],{'timeout':this[_0x3217e0(0x2bc)],'reqId':_0x37cde9[_0x3217e0(0x15d)]}),this['_sender']=this[_0x3217e0(0x20a)][_0x3217e0(0x1d3)](({reqId:_0x4cb8e0,timeout:_0x264196})=>{var _0x2b647d=_0x3217e0;this[_0x2b647d(0x2b0)](_0x4cb8e0,_0x264196);}),this);}[_0x4a9f88(0xc3)](){var _0x5e5f83=_0x4a9f88;return this[_0x5e5f83(0x167)](),this['_injector'][_0x5e5f83(0x25b)](fe,this[_0x5e5f83(0x2ba)],this[_0x5e5f83(0x366)],this[_0x5e5f83(0x241)],[],this[_0x5e5f83(0x113)]);}[_0x4a9f88(0x2df)](){return this;}[_0x4a9f88(0x135)](){var _0x3a52bb=_0x4a9f88;this[_0x3a52bb(0x113)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x4a9f88(0x125)](_0x165cbd){var _0x5eefa3=_0x4a9f88;return this[_0x5eefa3(0x167)](),this['_injector'][_0x5eefa3(0x25b)](de,this[_0x5eefa3(0x2ba)],this['type'],this[_0x5eefa3(0x241)],[],this[_0x5eefa3(0x113)],_0x165cbd);}[_0x4a9f88(0x2b0)](_0x2eea5c,_0x53ca0c){var _0x34c49b=_0x4a9f88,_0x5bced8;_0x2eea5c===((_0x5bced8=this[_0x34c49b(0x241)])==null?void 0x0:_0x5bced8['reqId'])&&(this[_0x34c49b(0x135)](),this[_0x34c49b(0x2bc)]=_0x53ca0c===0x0?0x3e8:_0x53ca0c*0x2);}[_0x4a9f88(0x167)](){var _0xc4b5db=_0x4a9f88,_0x399357;(_0x399357=this[_0xc4b5db(0x91)])==null||_0x399357[_0xc4b5db(0x1a0)](),this[_0xc4b5db(0x2bc)]=0x0;}};ue=be([A(0x4,_0x2a5019(_0x78bf92)),A(0x5,_0x2a5019(_0x3308e6)),A(0x6,_0x28ed93),A(0x7,_0x54e63f),A(0x8,_0xa95f58),A(0x9,_0x4b8ace),A(0xa,_0x39b9b2(X))],ue);let oe=class extends Re{constructor(_0xa9932f,_0x1eb3bf,_0x24e3a3,_0x1f9f17,_0x140c39,_0x2a1893,_0x1715d1,_0x2b6a64,_0xe76254,_0xd1855,_0x1775a2,_0x161067,_0x31979a){var _0x2ced3d=_0x4a9f88;super(_0xa9932f,_0x1eb3bf,_0x24e3a3,_0x1f9f17,_0x140c39,_0xe76254,_0x161067,_0x2b6a64,_0x31979a),N(this,'status','awaiting_with_pending'),N(this,_0x2ced3d(0x2bc),0x0),N(this,_0x2ced3d(0x20a)),N(this,_0x2ced3d(0x91)),(this['_injector']=_0x1715d1,this[_0x2ced3d(0x147)]=_0xd1855,this[_0x2ced3d(0x31c)]=_0x1775a2,this[_0x2ced3d(0x17c)]=_0x31979a,_0x2a1893&&(this[_0x2ced3d(0x20a)]=_0x2a1893,this[_0x2ced3d(0x91)]=this[_0x2ced3d(0x20a)][_0x2ced3d(0x1d3)](({reqId:_0x321953,timeout:_0x41c023})=>{var _0x108837=_0x2ced3d;this[_0x108837(0x2b0)](_0x321953,_0x41c023);})));}[_0x4a9f88(0x235)](_0x2a1676){var _0x43b7e4=_0x4a9f88;return this[_0x43b7e4(0x75)][_0x43b7e4(0x257)](_0x2a1676),this;}[_0x4a9f88(0x280)](_0x42794f){var _0x4abfb3=_0x4a9f88;if(this[_0x4abfb3(0xa0)](_0x42794f))return this[_0x4abfb3(0x167)](),this[_0x4abfb3(0x2d2)][_0x4abfb3(0x25b)](te,this[_0x4abfb3(0x2ba)],this['type'],this[_0x4abfb3(0x241)],this[_0x4abfb3(0x75)],null,[_0x42794f],this[_0x4abfb3(0x113)]);try{const _0x306ea1=this[_0x4abfb3(0x31c)]['transformChangesets']([_0x42794f],[this[_0x4abfb3(0x241)]],!0x1);if(_0xcb0929(_0x306ea1)){const {c1Prime:_0x62be5b,c2Prime:_0x171e48}=_0x306ea1,_0x167ef2=this[_0x4abfb3(0x31c)][_0x4abfb3(0x31a)](_0x62be5b[0x0],this['_pendingMutations']);if(_0x47dc85(_0x167ef2)){const {c1Prime:_0x11238a,m2Prime:_0x5befe4}=_0x167ef2;return this[_0x4abfb3(0x1e2)](_0x11238a),_0x171e48[0x0][_0x4abfb3(0x1b7)]=this[_0x4abfb3(0x118)](),this[_0x4abfb3(0x167)](),this[_0x4abfb3(0x2d2)]['createInstance'](oe,this[_0x4abfb3(0x2ba)],this['type'],_0x171e48[0x0],_0x5befe4,this[_0x4abfb3(0x113)],void 0x0);}throw _0x167ef2[_0x4abfb3(0x218)];}throw _0x306ea1[_0x4abfb3(0x218)];}catch(_0x1f9b5e){return this[_0x4abfb3(0x147)][_0x4abfb3(0x218)](_0x1f9b5e),this[_0x4abfb3(0x125)](!0x1);}}[_0x4a9f88(0x2b5)](_0x255a25){var _0x3fccd1=_0x4a9f88;if(this[_0x3fccd1(0x167)](),this['_checkMissing'](_0x255a25))return this[_0x3fccd1(0x2d2)][_0x3fccd1(0x25b)](te,this[_0x3fccd1(0x2ba)],this[_0x3fccd1(0x366)],null,this[_0x3fccd1(0x75)],this[_0x3fccd1(0x241)],[],this[_0x3fccd1(0x113)]);this['_incrementRevisionNumber']();const _0x30a1a5=this[_0x3fccd1(0x2d2)][_0x3fccd1(0x25b)](re,this['unitID'],this['type'],this[_0x3fccd1(0x75)],this['_handler']);return _0x30a1a5[_0x3fccd1(0x270)](),_0x30a1a5[_0x3fccd1(0x2b9)](),_0x30a1a5;}[_0x4a9f88(0x2a2)](_0x50911a){var _0x49a0a5=_0x4a9f88;return this['_onConflict'](!!(_0x50911a!=null&&_0x50911a[_0x49a0a5(0x359)]));}['onRemoteRetry'](_0x20a967){var _0x580cce=_0x4a9f88;return this[_0x580cce(0x2bc)]>Di?this[_0x580cce(0xc3)]():(this[_0x580cce(0x20a)]=Oi(this[_0x580cce(0x2bc)],{'timeout':this[_0x580cce(0x2bc)],'reqId':_0x20a967['reqId']}),this[_0x580cce(0x91)]=this[_0x580cce(0x20a)][_0x580cce(0x1d3)](({reqId:_0x41a2bd,timeout:_0x488ad8})=>{this['_resendWithTimeout'](_0x41a2bd,_0x488ad8);}),this);}[_0x4a9f88(0xc3)](){var _0x48b917=_0x4a9f88;return this[_0x48b917(0x167)](),this[_0x48b917(0x2d2)][_0x48b917(0x25b)](fe,this['unitID'],this[_0x48b917(0x366)],this[_0x48b917(0x241)],this[_0x48b917(0x75)],this[_0x48b917(0x113)]);}[_0x4a9f88(0x2df)](){return this;}[_0x4a9f88(0x135)](){var _0x22952c=_0x4a9f88;this[_0x22952c(0x113)][_0x22952c(0x1c0)](this[_0x22952c(0x241)]);}[_0x4a9f88(0x125)](_0x50e7b3){var _0x1c4351=_0x4a9f88;return this[_0x1c4351(0x167)](),this[_0x1c4351(0x2d2)]['createInstance'](de,this['unitID'],this[_0x1c4351(0x366)],null,this[_0x1c4351(0x75)],this[_0x1c4351(0x113)],_0x50e7b3);}[_0x4a9f88(0x2b0)](_0x4b1769,_0x8febdd){var _0x4cfbb5=_0x4a9f88,_0x3fa961;_0x4b1769===((_0x3fa961=this[_0x4cfbb5(0x241)])==null?void 0x0:_0x3fa961[_0x4cfbb5(0x15d)])&&(this[_0x4cfbb5(0x135)](),this['_resendTimeout']=_0x8febdd===0x0?0x3e8:_0x8febdd*0x2);}[_0x4a9f88(0x167)](){var _0x5a06cf=_0x4a9f88,_0x1a7b51;(_0x1a7b51=this[_0x5a06cf(0x91)])==null||_0x1a7b51[_0x5a06cf(0x1a0)](),this[_0x5a06cf(0x2bc)]=0x0;}};oe=be([A(0x6,_0x2a5019(_0x78bf92)),A(0x7,_0x2a5019(_0x3308e6)),A(0x8,_0x28ed93),A(0x9,_0x54e63f),A(0xa,_0xa95f58),A(0xb,_0x4b8ace),A(0xc,_0x39b9b2(X))],oe);let de=class extends Re{constructor(_0x442f66,_0x426769,_0x1d61b0,_0x408cdc,_0x6268ac,_0x4008e3=!0x1,_0x47dc13,_0x12952e,_0x60d3ef,_0x755d99,_0x54bf0a,_0x58c2ed,_0x55b276){var _0x1ff355=_0x4a9f88;super(_0x442f66,_0x426769,_0x1d61b0,_0x408cdc,_0x6268ac,_0x12952e,_0x60d3ef,_0x755d99,_0x55b276),N(this,_0x1ff355(0x101),_0x1ff355(0xf9)),(this['_isPermissionRej']=_0x4008e3,this[_0x1ff355(0x2c2)]=_0x47dc13,this[_0x1ff355(0x16d)]=_0x54bf0a,this[_0x1ff355(0x87)]=_0x58c2ed,this[_0x1ff355(0x17c)]=_0x55b276,this[_0x1ff355(0x2db)](),this[_0x1ff355(0x2d0)](),this[_0x1ff355(0x2d7)]());}[_0x4a9f88(0x235)](){return this;}[_0x4a9f88(0x280)](){return this;}['onRemoteAck'](){return this;}[_0x4a9f88(0x2a2)](){return this;}['onRemoteRetry'](){return this;}[_0x4a9f88(0xc3)](){return this;}['toggleOnline'](){return this;}[_0x4a9f88(0x135)](){var _0x22c7b2=_0x4a9f88;throw new Error(_0x22c7b2(0x30d));}[_0x4a9f88(0x2d0)](){var _0x5ecfba=_0x4a9f88,_0x4b604e;(_0x4b604e=this[_0x5ecfba(0x2ad)])==null||_0x4b604e[_0x5ecfba(0x2a5)](this[_0x5ecfba(0x2ba)],this['type'],null,[]);}[_0x4a9f88(0x2db)](){var _0x58aa5a=_0x4a9f88;this[_0x58aa5a(0x237)]?this['_collaborationUIEventService'][_0x58aa5a(0x27b)]({'id':se['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x58aa5a(0x27b)]({'id':se[_0x58aa5a(0x188)]});}['_disableEditing'](){var _0x1454e1=_0x4a9f88;this[_0x1454e1(0x2c2)][_0x1454e1(0x2b2)](new _0x7ca049(this[_0x1454e1(0x2ba)])['id'],!0x1);}};de=be([A(0x6,_0x2a5019(_0x512ef7)),A(0x7,_0x28ed93),A(0x8,_0x4b8ace),A(0x9,_0x2a5019(_0x3308e6)),A(0xa,_0x2a5019(_0x187ee3)),A(0xb,_0x2a5019(pe)),A(0xc,_0x39b9b2(X))],de);let fe=class extends Re{constructor(_0x147cf9,_0x12ee05,_0x404032,_0x2173da,_0x27ca6e,_0x57adfb,_0xa4b4cc,_0x2b6091,_0x2fade7,_0x318b2e){var _0x460ca6=_0x4a9f88;super(_0x147cf9,_0x12ee05,_0x404032,_0x2173da,_0x27ca6e,_0x2b6091,_0x2fade7,_0xa4b4cc,_0x318b2e),N(this,'status','offline'),this[_0x460ca6(0x2d2)]=_0x57adfb;}['appendMutation'](_0x13ad37){var _0x32678b=_0x4a9f88;return this[_0x32678b(0x75)][_0x32678b(0x257)](_0x13ad37),this[_0x32678b(0x2b9)](),this;}[_0x4a9f88(0x280)](_0x581e12){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4a9f88(0x2b5)](){var _0x4363ed=_0x4a9f88;throw new Error(_0x4363ed(0xc1));}[_0x4a9f88(0x2a2)](){var _0x536306=_0x4a9f88;throw new Error(_0x536306(0x32d));}[_0x4a9f88(0xa1)](){return this;}['toggleOffline'](){return this;}[_0x4a9f88(0x2df)](){var _0xe61726=_0x4a9f88;const {_injector:_0x3e92bf,_pendingMutations:_0x462e59,_awaitingChangeset:_0xf8fae9,unitID:_0x87290d,_handler:_0x479da8,type:_0x5426a0}=this,_0x171cb0=Ni(_0x3e92bf,_0x87290d,_0x5426a0,_0xf8fae9,_0x462e59,_0x479da8);return _0x171cb0 instanceof re?_0x171cb0[_0xe61726(0x270)]():(_0x171cb0 instanceof oe||_0x171cb0 instanceof ue)&&_0x171cb0[_0xe61726(0x135)](),_0x171cb0;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=be([A(0x5,_0x2a5019(_0x78bf92)),A(0x6,_0x2a5019(_0x3308e6)),A(0x7,_0x28ed93),A(0x8,_0x4b8ace),A(0x9,_0x39b9b2(X))],fe);let te=class extends Re{constructor(_0xbbe9d2,_0x2253a0,_0x1d81d3,_0x197bb3,_0x4c5f8e,_0x5c217a,_0x49b592,_0x530511,_0x1fec20,_0x4188ec,_0x3fe50e,_0x27aebd,_0x30face,_0x2e74f){var _0x3eb8ae=_0x4a9f88;super(_0xbbe9d2,_0x2253a0,_0x1d81d3,_0x197bb3,_0x49b592,_0x3fe50e,_0x27aebd,_0x1fec20,_0x2e74f),N(this,_0x3eb8ae(0x101),'fetch_missing'),(this[_0x3eb8ae(0x191)]=_0x4c5f8e,this[_0x3eb8ae(0x33f)]=_0x5c217a,this[_0x3eb8ae(0x2d2)]=_0x530511,this['_logService']=_0x4188ec,this[_0x3eb8ae(0x31c)]=_0x30face,this['localCacheService']=_0x2e74f);}['onMissedChangesetFetched'](_0x4a4cfa){var _0x5e0781=_0x4a9f88;try{const _0x20aa86=[..._0x4a4cfa,...this[_0x5e0781(0x33f)]],_0x2b62d3=[this[_0x5e0781(0x241)]||this[_0x5e0781(0x191)]][_0x5e0781(0x11a)](_0x49774b=>!!_0x49774b);let _0x74462d,_0x3a92bf;if(_0x2b62d3[_0x5e0781(0x212)]){const _0x4fef2b=this[_0x5e0781(0x31c)][_0x5e0781(0x8f)](_0x20aa86,_0x2b62d3,!0x1);if(!_0xcb0929(_0x4fef2b))throw _0x4fef2b[_0x5e0781(0x218)];_0x74462d=_0x4fef2b['c1Prime'],_0x3a92bf=_0x4fef2b[_0x5e0781(0x2d8)];}else _0x74462d=_0x20aa86,_0x3a92bf=[];let _0x6f25a4=this[_0x5e0781(0x75)];_0x74462d['forEach'](_0x2e7642=>{var _0x4e56e0=_0x5e0781;let _0x30f624;if(_0x6f25a4[_0x4e56e0(0x212)]){const _0x26ab8=this[_0x4e56e0(0x31c)][_0x4e56e0(0x31a)](_0x2e7642,_0x6f25a4);if(!_0x47dc85(_0x26ab8))throw _0x26ab8['error'];_0x30f624=_0x26ab8['c1Prime'],_0x6f25a4=_0x26ab8[_0x4e56e0(0xab)];}else _0x30f624=_0x2e7642;this['_executeRemoteChangeset'](_0x30f624);}),this[_0x5e0781(0x191)]&&this[_0x5e0781(0x12a)](),this[_0x5e0781(0x241)]&&_0x3a92bf[_0x5e0781(0x212)]&&(_0x3a92bf[0x0]['baseRev']=this[_0x5e0781(0x118)]());let _0x35ac7d;if(this[_0x5e0781(0x241)]&&_0x6f25a4[_0x5e0781(0x212)]!==0x0)_0x35ac7d=this[_0x5e0781(0x2d2)][_0x5e0781(0x25b)](oe,this['unitID'],this['type'],_0x3a92bf[0x0],_0x6f25a4,this['_handler'],void 0x0);else{if(this[_0x5e0781(0x241)]&&_0x6f25a4[_0x5e0781(0x212)]===0x0)_0x3a92bf[0x0][_0x5e0781(0x1b7)]=this[_0x5e0781(0x118)](),_0x35ac7d=this['_injector']['createInstance'](ue,this['unitID'],this[_0x5e0781(0x366)],_0x3a92bf[0x0],this[_0x5e0781(0x113)]);else{if(_0x6f25a4[_0x5e0781(0x212)]!==0x0){const _0x4fd79f=this[_0x5e0781(0x2d2)][_0x5e0781(0x25b)](re,this['unitID'],this[_0x5e0781(0x366)],_0x6f25a4,this[_0x5e0781(0x113)]);_0x4fd79f[_0x5e0781(0x270)](),_0x35ac7d=_0x4fd79f;}else _0x35ac7d=this[_0x5e0781(0x2d2)][_0x5e0781(0x25b)](Pe,this['unitID'],this[_0x5e0781(0x366)],this['_handler']);}}return _0x35ac7d[_0x5e0781(0x2b9)](),_0x35ac7d;}catch(_0xce6a25){return this[_0x5e0781(0x147)][_0x5e0781(0x218)]('[FetchMissState]',_0x5e0781(0x23c),_0xce6a25),this['_injector'][_0x5e0781(0x25b)](de,this[_0x5e0781(0x2ba)],this[_0x5e0781(0x366)],this[_0x5e0781(0x241)],this[_0x5e0781(0x75)],this['_handler'],!0x1);}}[_0x4a9f88(0x135)](){var _0x483006=_0x4a9f88;throw new Error(_0x483006(0x332));}['appendMutation'](_0x34b40f){var _0x3d9944=_0x4a9f88;return this[_0x3d9944(0x75)]['push'](_0x34b40f),this;}[_0x4a9f88(0x280)](_0x3406c4){var _0x2c2248=_0x4a9f88;return this[_0x2c2248(0x33f)][_0x2c2248(0x257)](_0x3406c4),this;}[_0x4a9f88(0x2b5)](_0x33a47f){var _0x274fd6=_0x4a9f88;if(this[_0x274fd6(0x241)])return this['_acknowledgedAwaitingChangeset']=this[_0x274fd6(0x241)],this[_0x274fd6(0x241)]=null,this;throw new Error(_0x274fd6(0x1f0));}[_0x4a9f88(0x2a2)](_0x3c83d2){var _0x338d20=_0x4a9f88;return this[_0x338d20(0x125)](!!(_0x3c83d2!=null&&_0x3c83d2['isPermissionRej']));}[_0x4a9f88(0xa1)](){return this;}[_0x4a9f88(0xc3)](){var _0x241387=_0x4a9f88;return this[_0x241387(0x2d2)][_0x241387(0x25b)](fe,this['unitID'],this[_0x241387(0x366)],this[_0x241387(0x241)],this['_pendingMutations'],this[_0x241387(0x113)]);}[_0x4a9f88(0x2df)](){return this;}['_onConflict'](_0x389a7b){var _0x41e5f1=_0x4a9f88;return this[_0x41e5f1(0x2d2)]['createInstance'](de,this[_0x41e5f1(0x2ba)],this[_0x41e5f1(0x366)],this['_awaitingChangeset'],this[_0x41e5f1(0x75)],this['_handler'],_0x389a7b);}};te=be([A(0x7,_0x2a5019(_0x78bf92)),A(0x8,_0x2a5019(_0x3308e6)),A(0x9,_0x54e63f),A(0xa,_0x28ed93),A(0xb,_0x4b8ace),A(0xc,_0xa95f58),A(0xd,_0x39b9b2(X))],te);function Ni(_0x3b3c3a,_0x3f56d5,_0x50a1c7,_0x41fb1e,_0x2b1c8a,_0x264e89){var _0x3b4299=_0x4a9f88;return _0x41fb1e&&_0x2b1c8a[_0x3b4299(0x212)]?_0x3b3c3a[_0x3b4299(0x25b)](oe,_0x3f56d5,_0x50a1c7,_0x41fb1e,_0x2b1c8a,_0x264e89,void 0x0):_0x41fb1e?_0x3b3c3a[_0x3b4299(0x25b)](ue,_0x3f56d5,_0x50a1c7,_0x41fb1e,_0x264e89):_0x2b1c8a[_0x3b4299(0x212)]?_0x3b3c3a['createInstance'](re,_0x3f56d5,_0x50a1c7,_0x2b1c8a,_0x264e89):_0x3b3c3a[_0x3b4299(0x25b)](Pe,_0x3f56d5,_0x50a1c7,_0x264e89);}var Es=Object['defineProperty'],Is=Object[_0x4a9f88(0x80)],Mt=(_0x259cdd,_0x55e6eb,_0x361877,_0x1927b6)=>{var _0x314930=_0x4a9f88;for(var _0x4029b8=_0x1927b6>0x1?void 0x0:_0x1927b6?Is(_0x55e6eb,_0x361877):_0x55e6eb,_0x5e03b0=_0x259cdd[_0x314930(0x212)]-0x1,_0x39111f;_0x5e03b0>=0x0;_0x5e03b0--)(_0x39111f=_0x259cdd[_0x5e03b0])&&(_0x4029b8=(_0x1927b6?_0x39111f(_0x55e6eb,_0x361877,_0x4029b8):_0x39111f(_0x4029b8))||_0x4029b8);return _0x1927b6&&_0x4029b8&&Es(_0x55e6eb,_0x361877,_0x4029b8),_0x4029b8;},k=(_0x35c0fb,_0x1e7e5d)=>(_0x5e221a,_0x43766)=>_0x1e7e5d(_0x5e221a,_0x43766,_0x35c0fb);let st=class extends _0x2d4049{constructor(_0xf79e56,_0x272b96,_0xf936fc,_0x73f746,_0x2099ba,_0x313682,_0x4e659b,_0x635bbf,_0x1f9999,_0x195f3a,_0xca4484,_0x27e818,_0x201958){var _0x35c3c0=_0x4a9f88;super(),N(this,'_state$',new _0x20d4d6(null)),N(this,'state$',this[_0x35c3c0(0x352)][_0x35c3c0(0x2ec)]()),N(this,_0x35c3c0(0x18b)),N(this,_0x35c3c0(0x1ab),!0x1),N(this,_0x35c3c0(0x2fa),''),N(this,_0x35c3c0(0x1a4),0x0),N(this,_0x35c3c0(0x1fa),this[_0x35c3c0(0x2bf)]['pipe'](_0xb0247c(_0x5dc2fc=>_0x5dc2fc?_0x5dc2fc['status']:Pi[_0x35c3c0(0x331)]),_0x5db27c(0x1))),N(this,_0x35c3c0(0x187),!0x1),N(this,_0x35c3c0(0x1f5),[]),(this['unitID']=_0xf79e56,this[_0x35c3c0(0xe2)]=_0x272b96,this[_0x35c3c0(0x2e8)]=_0xf936fc,this[_0x35c3c0(0x2d2)]=_0x73f746,this[_0x35c3c0(0x21e)]=_0x2099ba,this[_0x35c3c0(0x16d)]=_0x313682,this['_revisionService']=_0x4e659b,this['_eventService']=_0x635bbf,this[_0x35c3c0(0x147)]=_0x1f9999,this[_0x35c3c0(0x307)]=_0x195f3a,this[_0x35c3c0(0x2c2)]=_0xca4484,this[_0x35c3c0(0x1d7)]=_0x27e818,this[_0x35c3c0(0x2ad)]=_0x201958);}get['state'](){var _0x471f52=_0x4a9f88;return this[_0x471f52(0x18b)];}async[_0x4a9f88(0x286)](){var _0x521ea1=_0x4a9f88;if(this[_0x521ea1(0x92)])throw new Error(_0x521ea1(0xd7));await this['_init']();}['pauseCollaboration'](){var _0x500fff=_0x4a9f88;return this[_0x500fff(0x1ab)]=!0x0,_0x150b89(()=>{var _0x1990ea=_0x500fff;this['_collaborationPaused']=!0x1,this[_0x1990ea(0x178)]();});}['onLocalMutation'](_0x21e7fd){var _0x1089aa=_0x4a9f88;this[_0x1089aa(0x194)](_0x21e7fd);}['_updateState'](_0x4b54c4){var _0x3134b7=_0x4a9f88;this['_state']=_0x4b54c4,this[_0x3134b7(0x352)][_0x3134b7(0x36d)](_0x4b54c4);}async[_0x4a9f88(0x269)](){var _0x391386=_0x4a9f88,_0x25b45d;this[_0x391386(0xf4)](await this[_0x391386(0x362)]()),this[_0x391386(0x1d7)]&&((_0x25b45d=this[_0x391386(0x1d7)])==null||_0x25b45d['editingUnit'](this['unitID']),this[_0x391386(0x1c7)](this[_0x391386(0x1d7)]['getUnitStatus$'](this[_0x391386(0x2ba)])[_0x391386(0x1d3)](_0x22867f=>{var _0x4a6f45=_0x391386;this['_logService'][_0x4a6f45(0x302)](_0x4a6f45(0xaf),_0x4a6f45(0x141),_0x22867f),_0x22867f===yi[_0x4a6f45(0xe9)]?(this[_0x4a6f45(0x138)][_0x4a6f45(0x27b)]({'id':se[_0x4a6f45(0x21a)]}),this[_0x4a6f45(0x2c2)]['updatePermissionPoint'](new _0x7ca049(this[_0x4a6f45(0x2ba)])['id'],!0x1),this['_permissionService'][_0x4a6f45(0x278)](!0x1)):(this[_0x4a6f45(0x2c2)][_0x4a6f45(0x2b2)](new _0x7ca049(this[_0x4a6f45(0x2ba)])['id'],!0x0),this[_0x4a6f45(0x2c2)][_0x4a6f45(0x278)](!0x0));})));let _0x56e739=!0x1;return this['disposeWithMe'](this[_0x391386(0xe2)]['sessionStatus$'][_0x391386(0x1d3)](_0x9c0d0f=>{var _0x40464e=_0x391386;_0x9c0d0f===Ie[_0x40464e(0x1e9)]?this['_toggleOnline'](_0x56e739):_0x9c0d0f===Ie[_0x40464e(0x331)]&&(_0x56e739=!0x0,this[_0x40464e(0x1a7)]());})),this[_0x391386(0x1c7)](this['session'][_0x391386(0x20f)]['subscribe'](_0x1d59ef=>{var _0x5dedbb=_0x391386;try{switch(_0x1d59ef[_0x5dedbb(0x334)]){case _0x5db513[_0x5dedbb(0x2a9)]:{this[_0x5dedbb(0x1ba)](_0x2129fc(_0x1d59ef['data']));break;}case _0x5db513['CHANGESET_ACK']:{this[_0x5dedbb(0x181)](_0x1d59ef['data']);break;}case _0x5db513[_0x5dedbb(0x2ae)]:{this[_0x5dedbb(0x1a6)]();break;}case _0x5db513['CHANGESET_SHOULD_RETRY']:{this[_0x5dedbb(0xfe)](_0x1d59ef[_0x5dedbb(0x2be)]);break;}case _0x5db513[_0x5dedbb(0x29f)]:{this[_0x5dedbb(0x189)](_0x1d59ef['data'][_0x5dedbb(0x131)][_0x5dedbb(0x74)](_0x20085d=>_0x2129fc(_0x20085d)));break;}case _0x5db513['PERMISSION_REJ']:this[_0x5dedbb(0x1a6)]({'isPermissionRej':!0x0});}}catch(_0x1d4ccb){throw console[_0x5dedbb(0x218)](_0x5dedbb(0x10b),_0x1d4ccb),_0x1d4ccb;}})),this[_0x391386(0x18b)];}[_0x4a9f88(0xe8)](){var _0x2721dc=_0x4a9f88;this[_0x2721dc(0x187)]=!0x1;}[_0x4a9f88(0xd2)](){var _0x298885=_0x4a9f88;if(this['_transitionLocked'])throw new Error(_0x298885(0x1a2));this[_0x298885(0x187)]=!0x0;}[_0x4a9f88(0x194)](_0x46f43c){var _0x4dff54=_0x4a9f88;this[_0x4dff54(0xd2)](),this[_0x4dff54(0xf4)](this[_0x4dff54(0x18b)][_0x4dff54(0x235)](_0x46f43c)),this[_0x4dff54(0xe8)]();}[_0x4a9f88(0x1ba)](_0x35549f){var _0x19029c=_0x4a9f88;if(!(_0x35549f['revision']<=this[_0x19029c(0x34e)][_0x19029c(0x22f)](this[_0x19029c(0x2ba)]))){if(this[_0x19029c(0x1ab)]){this[_0x19029c(0x1f5)]['push'](_0x35549f);return;}this[_0x19029c(0xd6)](_0x35549f);}}['_exhaustRemoteChangesetQueue'](){var _0x24c51c=_0x4a9f88;this[_0x24c51c(0x1f5)]['forEach'](_0x20d933=>this[_0x24c51c(0xd6)](_0x20d933)),this[_0x24c51c(0x1f5)]=[];}[_0x4a9f88(0xd6)](_0x5e4792){var _0x10e8a8=_0x4a9f88;const _0x490811=this[_0x10e8a8(0x21e)]['interceptor']['fetchThroughInterceptors'](this[_0x10e8a8(0x21e)]['interceptor'][_0x10e8a8(0x216)]()[_0x10e8a8(0x14c)])(_0x5e4792[_0x10e8a8(0x16c)],null)||_0x5e4792[_0x10e8a8(0x16c)],_0x413dd8={..._0x5e4792,'mutations':_0x490811};this[_0x10e8a8(0xd2)](),this[_0x10e8a8(0xf4)](this[_0x10e8a8(0x18b)][_0x10e8a8(0x280)](_0x413dd8)),this['_unlockTransition']();}['_onRemoteACK'](_0x13afbd){var _0x110e35=_0x4a9f88;this[_0x110e35(0xd2)](),this['_updateState'](this[_0x110e35(0x18b)][_0x110e35(0x2b5)](_0x13afbd)),this[_0x110e35(0xe8)]();}[_0x4a9f88(0x1a6)](_0x559b1f){var _0x222e58=_0x4a9f88;this[_0x222e58(0xd2)](),this[_0x222e58(0xf4)](this[_0x222e58(0x18b)][_0x222e58(0x2a2)](_0x559b1f)),this[_0x222e58(0xe8)]();}[_0x4a9f88(0xfe)](_0x146311){var _0x4c9614=_0x4a9f88;this[_0x4c9614(0xd2)](),this[_0x4c9614(0xf4)](this[_0x4c9614(0x18b)]['onRemoteRetry'](_0x146311)),this[_0x4c9614(0xe8)]();}[_0x4a9f88(0x189)](_0x245017){var _0x2cb57c=_0x4a9f88;if(!(this['_state']instanceof te))throw new TypeError(_0x2cb57c(0x1a5));const _0x2d9bbe=_0x245017[_0x2cb57c(0x74)](_0x5a1774=>{var _0x4c7c34=_0x2cb57c;const _0x2959ae=this['_compressMutationService']['interceptor'][_0x4c7c34(0x2c3)](this[_0x4c7c34(0x21e)][_0x4c7c34(0x35b)][_0x4c7c34(0x216)]()[_0x4c7c34(0x14c)])(_0x5a1774[_0x4c7c34(0x16c)],null)||_0x5a1774[_0x4c7c34(0x16c)];return{..._0x5a1774,'mutations':_0x2959ae};});this[_0x2cb57c(0xd2)](),this[_0x2cb57c(0xf4)](this[_0x2cb57c(0x18b)][_0x2cb57c(0xbc)](_0x2d9bbe)),this['_unlockTransition']();}['_toggleOffline'](){var _0x29e5c1=_0x4a9f88;this[_0x29e5c1(0xd2)](),this[_0x29e5c1(0xf4)](this[_0x29e5c1(0x18b)][_0x29e5c1(0xc3)]()),this[_0x29e5c1(0xe8)]();}['_toggleOnline'](_0x1adeed=!0x1){var _0x1c07df=_0x4a9f88;this[_0x1c07df(0xd2)](),this[_0x1c07df(0xf4)](this[_0x1c07df(0x18b)][_0x1c07df(0x2df)]()),this[_0x1c07df(0xe8)]();const _0x1a3533=this['_state'];_0x1adeed&&_0x1a3533 instanceof Pe&&(this['_lockTransition'](),this[_0x1c07df(0xf4)](_0x1a3533[_0x1c07df(0x149)]()),this[_0x1c07df(0xe8)]());}async[_0x4a9f88(0x362)](){return new Promise(_0x4f5244=>{var _0x1a5a84=_0x30f1;this[_0x1a5a84(0xe2)]['sessionStatus$'][_0x1a5a84(0x102)](_0x59a862(0x1))[_0x1a5a84(0x1d3)](async _0xcba8db=>{var _0x1cf110=_0x1a5a84;_0x4f5244(await this[_0x1cf110(0x76)](_0xcba8db===Ie[_0x1cf110(0x1e9)]));});});}[_0x4a9f88(0xd5)](){var _0x50a171=_0x4a9f88;const _0xf2f693=this[_0x50a171(0x2ba)];return{'onStateChange':(_0x4506d0,_0x4c9b72)=>{var _0x43260a=_0x50a171;if(_0x4506d0!==this[_0x43260a(0x18b)])throw new Error(_0x43260a(0x31e)+_0x4506d0['status']+'\x0aAfter:\x20'+_0x4c9b72['status']+'\x0aCurrent:\x20'+this[_0x43260a(0x18b)][_0x43260a(0x101)]);this[_0x43260a(0xf4)](_0x4c9b72);},'onSendChangeset':_0x3a66d1=>{var _0x2f6af5=_0x50a171;_0x3a66d1[_0x2f6af5(0x2a8)]||(_0x3a66d1[_0x2f6af5(0x2a8)]=this['_changesetSessionId'],_0x3a66d1[_0x2f6af5(0x15d)]=++this[_0x2f6af5(0x1a4)]);const _0x4be4e7={'eventID':_0x5db513[_0x2f6af5(0x171)],'data':{'unitID':_0x3a66d1[_0x2f6af5(0x2ba)],'unitType':this[_0x2f6af5(0x2e8)],'changeset':_0x3a66d1,'memberID':this['session'][_0x2f6af5(0xef)]()}};this[_0x2f6af5(0xe2)]['send'](_0x4be4e7,this[_0x2f6af5(0x2ba)]);},'onMissingChangesets':({from:_0x2e5a18,to:_0x23ef59})=>{var _0x2873c7=_0x50a171;this[_0x2873c7(0x147)]['debug'](_0x2873c7(0xaf),_0x2873c7(0x111)+_0x2e5a18+_0x2873c7(0x23b)+_0x23ef59);const _0x26ee49={'eventID':_0x5db513[_0x2873c7(0x1ae)],'data':{'unitID':_0xf2f693,'unitType':this[_0x2873c7(0x2e8)],'from':_0x2e5a18,'to':_0x23ef59}};this['session']['send'](_0x26ee49,this['unitID']);}};}async['_createInitialStateImpl'](_0x191c98){var _0x3e1943=_0x4a9f88,_0x3686bb,_0x206ea4,_0x652969;const _0x21d588=await((_0x3686bb=this[_0x3e1943(0x2ad)])==null?void 0x0:_0x3686bb[_0x3e1943(0xfc)](this['unitID'])),_0x3c4df7=(_0x206ea4=_0x21d588==null?void 0x0:_0x21d588[_0x3e1943(0x16c)])!=null?_0x206ea4:[],_0x4e7295=(_0x652969=_0x21d588==null?void 0x0:_0x21d588[_0x3e1943(0x282)])!=null?_0x652969:null,_0x4d1db8=!!(_0x4e7295!=null&&_0x4e7295[_0x3e1943(0x2a8)])&&!!(_0x4e7295!=null&&_0x4e7295[_0x3e1943(0x15d)]);this[_0x3e1943(0x2fa)]=_0x4d1db8?_0x4e7295[_0x3e1943(0x2a8)]:_s(),this['_changesetReqId']=_0x4d1db8?_0x4e7295[_0x3e1943(0x15d)]:0x0;const _0xf5b85f=this['unitID'];try{this[_0x3e1943(0x263)](_0x4e7295,_0x3c4df7);}catch(_0x596319){this[_0x3e1943(0x147)]['error'](_0x596319);}const _0xac1180=this[_0x3e1943(0xd5)]();if(_0x191c98){const _0x2c2dab=Ni(this[_0x3e1943(0x2d2)],_0xf5b85f,this[_0x3e1943(0x2e8)],_0x4e7295,_0x3c4df7,_0xac1180);return _0x2c2dab instanceof re?_0x2c2dab[_0x3e1943(0x270)]():(_0x2c2dab instanceof oe||_0x2c2dab instanceof ue)&&_0x2c2dab['resend'](),_0x2c2dab;}return this[_0x3e1943(0x2d2)][_0x3e1943(0x25b)](fe,_0xf5b85f,this[_0x3e1943(0x2e8)],_0x4e7295,_0x3c4df7,_0xac1180);}[_0x4a9f88(0x263)](_0x24584e,_0x58a732){var _0x426522=_0x4a9f88,_0x28e43b,_0x365443;const _0x3e4247=this[_0x426522(0x21e)][_0x426522(0x35b)][_0x426522(0x2c3)](this[_0x426522(0x21e)][_0x426522(0x35b)][_0x426522(0x216)]()[_0x426522(0x14c)]);(_0x28e43b=_0x3e4247((_0x24584e==null?void 0x0:_0x24584e[_0x426522(0x16c)])||[],null))==null||_0x28e43b[_0x426522(0x2f2)](_0x34faae=>this[_0x426522(0x307)][_0x426522(0x127)](_0x34faae['id'],_0x34faae['params'])),(_0x365443=_0x3e4247(_0x58a732||[],null))==null||_0x365443['forEach'](_0x55c22a=>this[_0x426522(0x307)]['executeCommand'](_0x55c22a['id'],_0x55c22a[_0x426522(0x1de)]));}};st=Mt([k(0x3,_0x2a5019(_0x78bf92)),k(0x4,_0x2a5019(_0x3f1d58)),k(0x5,_0x2a5019(_0x187ee3)),k(0x6,_0x2a5019(_0x3308e6)),k(0x7,_0x2a5019(pe)),k(0x8,_0x54e63f),k(0x9,_0x28ed93),k(0xa,_0x512ef7),k(0xb,_0x39b9b2(ht)),k(0xc,_0x39b9b2(X))],st);let Tt=class extends st{constructor(_0x126bb4,_0x24a812,_0x569b22,_0x2a1672,_0x2c3dad,_0x384405,_0xa6571a,_0x1e349a,_0x491e43,_0x156974,_0x11e461,_0x220198,_0x225137){var _0x3c1502=_0x4a9f88;super(_0x126bb4,_0x569b22,_0x24a812,_0x2a1672,_0x2c3dad,_0x384405,_0xa6571a,_0x1e349a,_0x491e43,_0x156974,_0x11e461,_0x220198,_0x225137),N(this,_0x3c1502(0x10a),null),(this[_0x3c1502(0x2ba)]=_0x126bb4,this['type']=_0x24a812);}[_0x4a9f88(0x116)](_0x32c9a1){var _0x2ca484=_0x4a9f88;this[_0x2ca484(0x10a)]=_0x32c9a1;}['dispose'](){var _0x33bfae=_0x4a9f88;this[_0x33bfae(0x10a)]=null,super[_0x33bfae(0x139)]();}[_0x4a9f88(0xd5)](){var _0x2fddbb=_0x4a9f88;const _0x1ad08a=super['_createHandler']();return _0x1ad08a[_0x2fddbb(0x89)]=_0x47a802=>{var _0x3e4a8e=_0x2fddbb,_0x15743e,_0x189a45;return(_0x189a45=(_0x15743e=this[_0x3e4a8e(0x10a)])==null?void 0x0:_0x15743e['onTransformIME'])==null?void 0x0:_0x189a45[_0x3e4a8e(0x2ce)](_0x15743e,_0x47a802);},_0x1ad08a[_0x2fddbb(0x8e)]=_0x7be252=>{var _0x36fb18=_0x2fddbb,_0x2556a8,_0x33da80;return(_0x33da80=(_0x2556a8=this[_0x36fb18(0x10a)])==null?void 0x0:_0x2556a8[_0x36fb18(0x8e)])==null?void 0x0:_0x33da80[_0x36fb18(0x2ce)](_0x2556a8,_0x7be252);},_0x1ad08a['onTransformSelections']=_0x3d6046=>{var _0x6a079d=_0x2fddbb,_0x44440c,_0x862189;return(_0x862189=(_0x44440c=this[_0x6a079d(0x10a)])==null?void 0x0:_0x44440c['onTransformSelections'])==null?void 0x0:_0x862189[_0x6a079d(0x2ce)](_0x44440c,_0x3d6046);},_0x1ad08a['onSyncEditingCollabCursor']=_0x56f2c3=>{var _0x52675f=_0x2fddbb,_0x19d864,_0x2ab95c;return(_0x2ab95c=(_0x19d864=this[_0x52675f(0x10a)])==null?void 0x0:_0x19d864[_0x52675f(0x26a)])==null?void 0x0:_0x2ab95c[_0x52675f(0x2ce)](_0x19d864,_0x56f2c3);},_0x1ad08a[_0x2fddbb(0x2a4)]=_0x19eee6=>{var _0x2fed22=_0x2fddbb,_0x444aca,_0x15abb5,_0x43448b;if(!((_0x444aca=this[_0x2fed22(0x10a)])!=null&&_0x444aca['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x43448b=(_0x15abb5=this['_handlerCallback'])==null?void 0x0:_0x15abb5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x43448b[_0x2fed22(0x2ce)](_0x15abb5,_0x19eee6);},_0x1ad08a[_0x2fddbb(0x129)]=_0x5db63e=>{var _0x367b48=_0x2fddbb,_0xff88e7,_0x289cdb,_0x456c99;if(!((_0xff88e7=this[_0x367b48(0x10a)])!=null&&_0xff88e7[_0x367b48(0x129)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x456c99=(_0x289cdb=this['_handlerCallback'])==null?void 0x0:_0x289cdb['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x456c99[_0x367b48(0x2ce)](_0x289cdb,_0x5db63e);},_0x1ad08a;}async[_0x4a9f88(0x269)](){var _0x4bae4c=_0x4a9f88;const _0x3b9cbf=await super[_0x4bae4c(0x269)]();return this[_0x4bae4c(0x1c7)](this[_0x4bae4c(0x307)][_0x4bae4c(0x15a)]((_0x3d9f36,_0xe13997)=>{var _0x1c7b10=_0x4bae4c;if(_0x3d9f36['type']!==_0x23afc1[_0x1c7b10(0x23f)]||_0xe13997!=null&&_0xe13997[_0x1c7b10(0x2b4)]||_0xe13997!=null&&_0xe13997['onlyLocal']||_0x3d9f36['id']===_0x12a06b['id'])return;const _0x4f8589=_0x3d9f36[_0x1c7b10(0x1de)];if((_0x4f8589==null?void 0x0:_0x4f8589[_0x1c7b10(0x23e)])!==this['unitID'])return;const _0x2d9155=_0x3d9f36,_0x3940b8=this['_compressMutationService']['interceptor'][_0x1c7b10(0x2c3)](this[_0x1c7b10(0x21e)]['interceptor']['getInterceptPoints']()[_0x1c7b10(0x2f0)])([_0x2d9155],null)||[_0x2d9155];this['_onLocalMutation'](_0x3940b8[0x0]);})),_0x3b9cbf;}};Tt=Mt([k(0x3,_0x2a5019(_0x78bf92)),k(0x4,_0x2a5019(_0x3f1d58)),k(0x5,_0x2a5019(_0x187ee3)),k(0x6,_0x2a5019(_0x3308e6)),k(0x7,_0x2a5019(pe)),k(0x8,_0x54e63f),k(0x9,_0x28ed93),k(0xa,_0x512ef7),k(0xb,_0x39b9b2(ht)),k(0xc,_0x39b9b2(X))],Tt);let Ct=class extends st{constructor(_0x360824,_0xf251ca,_0x11e2b5,_0x56544d,_0x2bc3c9,_0x543f94,_0x1470f9,_0x1870e3,_0x157754,_0x108954,_0x7f90d4,_0x18659b,_0x3bf28f,_0x219eef){var _0xf2a988=_0x4a9f88;super(_0x360824,_0x11e2b5,_0xf251ca,_0x56544d,_0x2bc3c9,_0x543f94,_0x1470f9,_0x157754,_0x108954,_0x7f90d4,_0x18659b,_0x3bf28f,_0x219eef),this[_0xf2a988(0x2ba)]=_0x360824,this['type']=_0xf251ca,this[_0xf2a988(0x249)]=_0x1870e3;}[_0x4a9f88(0xd5)](){var _0x1e6ce9=_0x4a9f88;const _0x3d51ec=super[_0x1e6ce9(0xd5)]();return _0x3d51ec[_0x1e6ce9(0x317)]=_0x84ed13=>this['_sheetTransformSelectionsService'][_0x1e6ce9(0x26d)](_0x84ed13),_0x3d51ec;}async['_init'](){var _0x152418=_0x4a9f88;const _0x48bea8=await super[_0x152418(0x269)]();return this[_0x152418(0x1c7)](this[_0x152418(0x307)][_0x152418(0x15a)]((_0x5e562e,_0x357d16)=>{var _0x575bb0=_0x152418;if(_0x5e562e[_0x575bb0(0x366)]!==_0x23afc1[_0x575bb0(0x23f)]||_0x357d16!=null&&_0x357d16[_0x575bb0(0x2b4)]||_0x357d16!=null&&_0x357d16['onlyLocal'])return;const _0x2c195e=_0x5e562e[_0x575bb0(0x1de)];if((_0x2c195e==null?void 0x0:_0x2c195e['unitId'])!==this[_0x575bb0(0x2ba)])return;const _0x2d7e1a=_0x5e562e,_0x5a3c8d=this['_compressMutationService']['interceptor'][_0x575bb0(0x2c3)](this[_0x575bb0(0x21e)][_0x575bb0(0x35b)][_0x575bb0(0x216)]()[_0x575bb0(0x2f0)])([_0x2d7e1a],null)||[_0x2d7e1a];this[_0x575bb0(0x194)](_0x5a3c8d[0x0]);})),_0x48bea8;}};Ct=Mt([k(0x3,_0x2a5019(_0x78bf92)),k(0x4,_0x2a5019(_0x3f1d58)),k(0x5,_0x2a5019(_0x187ee3)),k(0x6,_0x2a5019(_0x3308e6)),k(0x7,_0x2a5019(nt)),k(0x8,_0x2a5019(pe)),k(0x9,_0x54e63f),k(0xa,_0x28ed93),k(0xb,_0x512ef7),k(0xc,_0x39b9b2(ht)),k(0xd,_0x39b9b2(X))],Ct);var Ts=Object[_0x4a9f88(0x2cf)],Cs=Object[_0x4a9f88(0x80)],bs=(_0x574bd2,_0x28a404,_0x5e7862,_0x36d84b)=>{var _0x29e08a=_0x4a9f88;for(var _0x2a6817=_0x36d84b>0x1?void 0x0:_0x36d84b?Cs(_0x28a404,_0x5e7862):_0x28a404,_0x157783=_0x574bd2[_0x29e08a(0x212)]-0x1,_0x36341f;_0x157783>=0x0;_0x157783--)(_0x36341f=_0x574bd2[_0x157783])&&(_0x2a6817=(_0x36d84b?_0x36341f(_0x28a404,_0x5e7862,_0x2a6817):_0x36341f(_0x2a6817))||_0x2a6817);return _0x36d84b&&_0x2a6817&&Ts(_0x28a404,_0x5e7862,_0x2a6817),_0x2a6817;},ft=(_0x3bf326,_0x2524ba)=>(_0x1ac4ee,_0xb5ebcd)=>_0x2524ba(_0x1ac4ee,_0xb5ebcd,_0x3bf326);let rt=class extends _0x2d4049{constructor(_0x366f95,_0x36fd56,_0x1c81d0){var _0x40151b=_0x4a9f88;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x1afd5c()),N(this,_0x40151b(0x1df),this[_0x40151b(0x205)]['asObservable']()),(this[_0x40151b(0x2d2)]=_0x366f95,this['_collabSessionService']=_0x36fd56,this[_0x40151b(0x291)]=_0x1c81d0,this[_0x40151b(0x269)]());}[_0x4a9f88(0x139)](){var _0x492b8a=_0x4a9f88;super[_0x492b8a(0x139)](),this[_0x492b8a(0x2b3)]['forEach'](_0x1bdc68=>_0x1bdc68[_0x492b8a(0x139)]()),this[_0x492b8a(0x2b3)][_0x492b8a(0x367)]();}[_0x4a9f88(0x185)](_0xdaff23){var _0x623221=_0x4a9f88,_0x22b197;return(_0x22b197=this['_entities'][_0x623221(0x336)](_0xdaff23))!=null?_0x22b197:null;}[_0x4a9f88(0xff)](_0x2fda3b){var _0x2ccbe9=_0x4a9f88;const _0x32f3ed=this[_0x2ccbe9(0x185)](_0x2fda3b);return _0x32f3ed?_0xd9a965(_0x32f3ed):this['_entityInit$'][_0x2ccbe9(0x102)](_0x26b17e(_0x2d19b5=>_0x2d19b5[_0x2ccbe9(0x2ba)]===_0x2fda3b));}[_0x4a9f88(0x269)](){var _0x5b1bed=_0x4a9f88;this[_0x5b1bed(0x291)]['getTypeOfUnitAdded$'](_0x89e517[_0x5b1bed(0x1a9)])[_0x5b1bed(0x102)](_0x1ba6a5(this[_0x5b1bed(0xa4)]),_0x33d688(0x10))[_0x5b1bed(0x1d3)](async _0x407f04=>{var _0x2eb0e0=_0x5b1bed;const _0xd9a26c=_0x407f04['getUnitId'](),_0x593c01=await this[_0x2eb0e0(0xbb)](_0xd9a26c,Q[_0x2eb0e0(0x1a9)]);this[_0x2eb0e0(0x2b3)][_0x2eb0e0(0x1b3)](_0xd9a26c,_0x593c01);}),this[_0x5b1bed(0x291)][_0x5b1bed(0x26e)](_0x89e517[_0x5b1bed(0x324)])[_0x5b1bed(0x102)](_0x1ba6a5(this['dispose$']),_0x33d688(0x10))[_0x5b1bed(0x102)](_0x26b17e(_0xb2429a=>!_0xb2429a['getUnitId']()[_0x5b1bed(0xd1)]('__')))[_0x5b1bed(0x1d3)](async _0x58aa35=>{var _0xaa734c=_0x5b1bed;const _0x2334e2=_0x58aa35[_0xaa734c(0xf2)](),_0x2d5d83=await this[_0xaa734c(0xbb)](_0x2334e2,Q[_0xaa734c(0x324)]);this[_0xaa734c(0x2b3)]['set'](_0x2334e2,_0x2d5d83);}),_0x177cab(this[_0x5b1bed(0x291)][_0x5b1bed(0x115)](_0x89e517[_0x5b1bed(0x1a9)]),this[_0x5b1bed(0x291)][_0x5b1bed(0x115)](_0x89e517['UNIVER_DOC']))[_0x5b1bed(0x102)](_0x1ba6a5(this['dispose$']))[_0x5b1bed(0x1d3)](_0x4f1480=>{var _0x25689c=_0x5b1bed;const _0x36195c=_0x4f1480[_0x25689c(0xf2)](),_0x528bdb=this[_0x25689c(0x2b3)][_0x25689c(0x336)](_0x36195c);_0x528bdb&&(_0x528bdb['dispose'](),this['_entities'][_0x25689c(0x14a)](_0x36195c));});}async['_startCollaboration'](_0x4cd40b,_0x34f0b3){var _0x856c34=_0x4a9f88;const _0x4c3a28=await this['_collabSessionService'][_0x856c34(0x2d5)](_0x4cd40b),_0x5e617a=this[_0x856c34(0x2d2)]['createInstance'](this[_0x856c34(0x177)](_0x34f0b3),_0x4cd40b,_0x34f0b3,_0x4c3a28);return await _0x5e617a[_0x856c34(0x286)](),this[_0x856c34(0x205)]['next'](_0x5e617a),_0x5e617a;}['_getCtorByUniverType'](_0x14d5ad){var _0x17496a=_0x4a9f88;switch(_0x14d5ad){case Q[_0x17496a(0x324)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x14d5ad);}}};rt=bs([ft(0x0,_0x2a5019(_0x78bf92)),ft(0x1,_0x2a5019(Me)),ft(0x2,_0x190ff7)],rt);var Rs=Object[_0x4a9f88(0x2cf)],ys=Object[_0x4a9f88(0x80)],Os=(_0x5d4a17,_0x44dea6,_0x2d2c96,_0x545d27)=>{var _0x4e72b6=_0x4a9f88;for(var _0x12e9a8=_0x545d27>0x1?void 0x0:_0x545d27?ys(_0x44dea6,_0x2d2c96):_0x44dea6,_0x465432=_0x5d4a17[_0x4e72b6(0x212)]-0x1,_0x580023;_0x465432>=0x0;_0x465432--)(_0x580023=_0x5d4a17[_0x465432])&&(_0x12e9a8=(_0x545d27?_0x580023(_0x44dea6,_0x2d2c96,_0x12e9a8):_0x580023(_0x12e9a8))||_0x12e9a8);return _0x545d27&&_0x12e9a8&&Rs(_0x44dea6,_0x2d2c96,_0x12e9a8),_0x12e9a8;},Xt=(_0x5eaa28,_0x1dfd96)=>(_0x7559c5,_0x483737)=>_0x1dfd96(_0x7559c5,_0x483737,_0x5eaa28);const Ps=_0x4a9f88(0x1f3),Ds='Univer';let bt=class extends _0x1e775a{constructor(_0x27164f,_0x7c9edc){var _0x3183c0=_0x4a9f88;super(),this[_0x3183c0(0x291)]=_0x27164f,this[_0x3183c0(0x1e4)]=_0x7c9edc,this[_0x3183c0(0x269)]();}[_0x4a9f88(0x269)](){var _0x1c6b9f=_0x4a9f88;this['disposeWithMe'](this[_0x1c6b9f(0x291)][_0x1c6b9f(0x193)]['subscribe'](()=>{var _0x198f96=_0x1c6b9f,_0x3252e2;const _0x5f2272=this[_0x198f96(0x291)][_0x198f96(0x2e5)]();let _0x5be4d7=(_0x3252e2=this['_configService'][_0x198f96(0xd4)](Ps))!=null?_0x3252e2:Ds;_0x5f2272 instanceof _0x417d5b&&(_0x5be4d7=_0x5f2272[_0x198f96(0x30f)]),document[_0x198f96(0xa5)]=_0x5be4d7;}));}};bt=Os([Xt(0x0,_0x190ff7),Xt(0x1,_0xd4de74)],bt);var Ns=Object[_0x4a9f88(0x2cf)],ws=Object[_0x4a9f88(0x80)],Us=(_0x36d176,_0x2e304b,_0x2aa1fa,_0x178a84)=>{for(var _0x44bf97=_0x178a84>0x1?void 0x0:_0x178a84?ws(_0x2e304b,_0x2aa1fa):_0x2e304b,_0x3cdfff=_0x36d176['length']-0x1,_0x54eaa0;_0x3cdfff>=0x0;_0x3cdfff--)(_0x54eaa0=_0x36d176[_0x3cdfff])&&(_0x44bf97=(_0x178a84?_0x54eaa0(_0x2e304b,_0x2aa1fa,_0x44bf97):_0x54eaa0(_0x44bf97))||_0x44bf97);return _0x178a84&&_0x44bf97&&Ns(_0x2e304b,_0x2aa1fa,_0x44bf97),_0x44bf97;},vt=(_0x3cdf93,_0x13b449)=>(_0x35e5b7,_0x359edc)=>_0x13b449(_0x35e5b7,_0x359edc,_0x3cdf93);let ot=class{constructor(_0x31b4ab,_0x540056,_0x65136e){var _0x2ccc60=_0x4a9f88;this[_0x2ccc60(0x1e4)]=_0x31b4ab,this['_httpService']=_0x540056,this[_0x2ccc60(0x348)]=_0x65136e,this[_0x2ccc60(0x286)]();}['init'](){var _0x5a7dda=_0x4a9f88;this[_0x5a7dda(0x110)][_0x5a7dda(0x132)]({'priority':0x1,'interceptor':(_0x3618db,_0x464c0c)=>_0x464c0c(_0x3618db)[_0x5a7dda(0x102)](_0xa82ab(async _0x27aa5c=>{var _0x20be1b=_0x5a7dda;const _0x31b556=_0x27aa5c;if(_0x31b556['status']===0x191&&window[_0x20be1b(0x97)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x1b9351=window[_0x20be1b(0x346)](window[_0x20be1b(0x1e7)][_0x20be1b(0x21b)]);window[_0x20be1b(0x1e7)]['href']=this['_getLoginPath']()+_0x20be1b(0x226)+_0x1b9351;}return _0x31b556;}))});}[_0x4a9f88(0x14f)](){var _0x3572f0=_0x4a9f88,_0xe7af97,_0x183654;const _0x2a0afe=this['_configService'][_0x3572f0(0xd4)](kn),_0x2e7a37=this[_0x3572f0(0x1e4)][_0x3572f0(0xd4)](Y);return(_0x183654=(_0xe7af97=_0x2e7a37==null?void 0x0:_0x2e7a37[_0x3572f0(0x273)])!=null?_0xe7af97:_0x2a0afe)!=null?_0x183654:jn;}};ot=Us([vt(0x0,_0xd4de74),vt(0x1,_0x2a5019(_0x16868d)),vt(0x2,_0x2a5019(_0x187ee3))],ot);var As=Object[_0x4a9f88(0x2cf)],xs=Object[_0x4a9f88(0x80)],Ls=(_0x5356f2,_0x526ddd,_0x15682e,_0x15a6e5)=>{var _0x3264e8=_0x4a9f88;for(var _0x175338=_0x15a6e5>0x1?void 0x0:_0x15a6e5?xs(_0x526ddd,_0x15682e):_0x526ddd,_0x27f00e=_0x5356f2[_0x3264e8(0x212)]-0x1,_0x1805a7;_0x27f00e>=0x0;_0x27f00e--)(_0x1805a7=_0x5356f2[_0x27f00e])&&(_0x175338=(_0x15a6e5?_0x1805a7(_0x526ddd,_0x15682e,_0x175338):_0x1805a7(_0x175338))||_0x175338);return _0x15a6e5&&_0x175338&&As(_0x526ddd,_0x15682e,_0x175338),_0x175338;},Zt=(_0x257552,_0x1b2adf)=>(_0x1ad701,_0x375203)=>_0x1b2adf(_0x1ad701,_0x375203,_0x257552);const wi=_0x4a9f88(0x15c),Ms='/universer-api/authz';let Rt=class extends _0x1e775a{constructor(_0x3f354b,_0x31db93){var _0x470948=_0x4a9f88;super(),this[_0x470948(0x1d1)]=_0x3f354b,this[_0x470948(0x1e4)]=_0x31db93,this['_initMergeInterceptor']();}[_0x4a9f88(0x253)](){var _0xa2a6b4=_0x4a9f88;const _0x23501a=this;this[_0xa2a6b4(0x1c7)](this[_0xa2a6b4(0x1d1)][_0xa2a6b4(0x132)]({'priority':0x3e7,'interceptor':_0x5a4e7e({'isMatch'(_0x47a191){var _0x1c7dcd=_0xa2a6b4,_0x48bae7;if(_0x47a191[_0x1c7dcd(0xc0)]===_0x1c7dcd(0x268)&&((_0x48bae7=_0x47a191[_0x1c7dcd(0x299)])!=null&&_0x48bae7['body'])){const {objectID:_0x4f08a2,objectType:_0xe0a29}=_0x47a191[_0x1c7dcd(0x299)][_0x1c7dcd(0x2ff)]||{};if(!_0x4f08a2||_0xe0a29===void 0x0)return!0x1;const _0x10d4b4=_0x23501a['_getAPIPrefixPath']()+'/'+_0xe0a29+'/object/'+_0x4f08a2+_0x1c7dcd(0x1e8);if(_0x47a191[_0x1c7dcd(0x2e3)]===_0x10d4b4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x446105){var _0x58f7b4=_0xa2a6b4,_0x529355;return(_0x529355=_0x446105[_0x58f7b4(0x299)])==null?void 0x0:_0x529355[_0x58f7b4(0x2ff)];},'mergeParamsToRequest'(_0x5dc26e,_0x36699f){var _0x2141de=_0xa2a6b4;const _0xbb19=_0x23501a[_0x2141de(0x1b1)]()+_0x2141de(0x262),_0x3082a2=_0x5dc26e[_0x2141de(0x340)]((_0x4ea57e,_0xfdb4d0)=>{var _0x3e5acb=_0x2141de;const {unitID:_0x26b652,objectID:_0xf2f7ed,objectType:_0x57effe,actions:_0x1e6160}=_0xfdb4d0;return _0x4ea57e[_0x26b652]||(_0x4ea57e[_0x26b652]={}),_0x4ea57e[_0x26b652][_0xf2f7ed]||(_0x4ea57e[_0x26b652][_0xf2f7ed]={'objectID':_0xf2f7ed,'objectType':_0x57effe,'actions':[]}),_0x4ea57e[_0x26b652][_0xf2f7ed][_0x3e5acb(0xb6)][_0x3e5acb(0x257)](..._0x1e6160),_0x4ea57e;},{}),_0xc8beaa=[];for(const _0x25cccc in _0x3082a2)for(const _0xe4342d in _0x3082a2[_0x25cccc]){const {actions:_0x4fdcd2,objectType:_0x101d2f}=_0x3082a2[_0x25cccc][_0xe4342d],_0x537d93=[...new Set(_0x4fdcd2)];_0xc8beaa['push']({'unitID':_0x25cccc,'objectID':_0xe4342d,'objectType':_0x101d2f,'actions':_0x537d93});}return new _0x3aebf1('POST',_0xbb19,{'headers':_0x36699f[_0x2141de(0x1e1)],'withCredentials':_0x36699f['withCredentials'],'responseType':_0x36699f[_0x2141de(0x32b)],'body':{'requests':_0xc8beaa}});}},{'distributeResult'(_0x12408e,_0x35ffc0){var _0x5ed321=_0xa2a6b4;const {objectActions:_0x22a822}=_0x12408e;return _0x35ffc0[_0x5ed321(0x74)](_0x20b51e=>{var _0x6655f9=_0x5ed321;const {unitID:_0x366c73,objectID:_0x31a88f,actions:_0x33282e}=_0x20b51e,_0x46a1ed=_0x22a822[_0x6655f9(0xb5)](_0x353acc=>_0x353acc[_0x6655f9(0x2ba)]===_0x366c73&&_0x353acc[_0x6655f9(0x11d)]===_0x31a88f),_0x387616=_0x33282e[_0x6655f9(0x74)](_0x2acfea=>_0x46a1ed==null?void 0x0:_0x46a1ed['actions'][_0x6655f9(0xb5)](_0x6997cf=>_0x6997cf[_0x6655f9(0x1ec)]===_0x2acfea))[_0x6655f9(0x11a)](_0x188567=>!!_0x188567);return{'config':_0x20b51e,'result':{'actions':_0x387616,'error':_0x12408e[_0x6655f9(0x218)]}};});}})}));}[_0x4a9f88(0x1b1)](){var _0x3dc305=_0x4a9f88,_0x585f43,_0x967436;const _0x5b35a1=this[_0x3dc305(0x1e4)][_0x3dc305(0xd4)](wi),_0x4e0150=this['_configService']['getConfig'](Y);return(_0x967436=(_0x585f43=_0x4e0150==null?void 0x0:_0x4e0150[_0x3dc305(0xc8)])!=null?_0x585f43:_0x5b35a1)!=null?_0x967436:Ms;}async['create'](_0x5452ff){var _0x3fbef6=_0x4a9f88;const _0x2347fa=this['_getAPIPrefixPath']()+'/'+_0x5452ff[_0x3fbef6(0x1ea)]+_0x3fbef6(0xe6);return(await this['_HTTPService'][_0x3fbef6(0x33e)](_0x2347fa,{'body':_0x5452ff}))['body'][_0x3fbef6(0x11d)]||'';}async[_0x4a9f88(0x1fc)](_0x2ecc4b){var _0xcb9dce=_0x4a9f88;const _0x160dab=this['_getAPIPrefixPath']()+_0xcb9dce(0x104);return(await this[_0xcb9dce(0x1d1)][_0xcb9dce(0x33e)](_0x160dab,{'body':_0x2ecc4b}))[_0xcb9dce(0x2ff)][_0xcb9dce(0x22d)];}async[_0x4a9f88(0x112)](_0x21babc){var _0x2f8d07=_0x4a9f88;const _0x5b9e20=this[_0x2f8d07(0x1b1)]()+'/'+_0x21babc['objectType']+'/object/'+_0x21babc[_0x2f8d07(0x11d)];await this[_0x2f8d07(0x1d1)]['put'](_0x5b9e20,{'body':_0x21babc});}async[_0x4a9f88(0xfa)](_0x174777){var _0x24e96b=_0x4a9f88;const _0x235070=this[_0x24e96b(0x1b1)]()+'/'+_0x174777[_0x24e96b(0x1ea)]+'/object/'+_0x174777[_0x24e96b(0x11d)]+'/allowed';return(await this['_HTTPService']['post'](_0x235070,{'body':_0x174777}))['body'][_0x24e96b(0xb6)];}async['batchAllowed'](_0x2558e1){var _0x36342b=_0x4a9f88;const _0x6c4d98=this[_0x36342b(0x1b1)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x36342b(0x33e)](_0x6c4d98,{'body':{'requests':_0x2558e1}}))[_0x36342b(0x2ff)][_0x36342b(0x29a)];}async[_0x4a9f88(0x1aa)](_0x39309f){var _0x573df5=_0x4a9f88;const _0x258e54=this[_0x573df5(0x1b1)]()+'/'+_0x39309f[_0x573df5(0x1ea)]+'/role',_0x41c6a0=await this['_HTTPService']['post'](_0x258e54,{'body':_0x39309f});return{'roles':_0x41c6a0[_0x573df5(0x2ff)]['roles'],'actions':_0x41c6a0[_0x573df5(0x2ff)][_0x573df5(0xb6)]};}async[_0x4a9f88(0x1c5)](_0x4272c2){var _0x1b04ed=_0x4a9f88;const _0x214083=this['_getAPIPrefixPath']()+_0x1b04ed(0x243);await this[_0x1b04ed(0x1d1)][_0x1b04ed(0x14a)](_0x214083,{'params':{'collaboratorID':_0x4272c2[_0x1b04ed(0x266)],'objectID':_0x4272c2[_0x1b04ed(0x11d)],'unitID':_0x4272c2[_0x1b04ed(0x2ba)]}});}async[_0x4a9f88(0x247)](_0x1d0a49){var _0x18a16b=_0x4a9f88;const _0x57a70c=this[_0x18a16b(0x1b1)]()+'/collaborator';await this['_HTTPService']['patch'](_0x57a70c,{'body':_0x1d0a49});}async['createCollaborator'](_0x52a148){var _0x4eebd4=_0x4a9f88;const _0x20f784=this['_getAPIPrefixPath']()+_0x4eebd4(0x243);await this[_0x4eebd4(0x1d1)][_0x4eebd4(0x33e)](_0x20f784,{'body':_0x52a148});}async[_0x4a9f88(0x17f)](_0x305819){var _0x4e508f=_0x4a9f88;const _0x1ca463=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x4e508f(0x1d1)][_0x4e508f(0x336)](_0x1ca463,{'params':{'objectID':_0x305819['objectID'],'unitID':_0x305819['unitID']}}))[_0x4e508f(0x2ff)][_0x4e508f(0x82)];}async[_0x4a9f88(0x18d)](_0xc4ae28){var _0x52a6d5=_0x4a9f88;const _0x39b310=this[_0x52a6d5(0x1b1)]()+_0x52a6d5(0x243);await this['_HTTPService'][_0x52a6d5(0x25d)](_0x39b310,{'body':_0xc4ae28});}};Rt=Ls([Zt(0x0,_0x2a5019(_0x16868d)),Zt(0x1,_0x2a5019(_0xd4de74))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x2c5f57){var _0x3a8151=_0x4a9f88;return _0x2c5f57&&_0x2c5f57['__esModule']&&Object[_0x3a8151(0x12d)][_0x3a8151(0x354)][_0x3a8151(0x2ce)](_0x2c5f57,_0x3a8151(0x93))?_0x2c5f57[_0x3a8151(0x93)]:_0x2c5f57;}var We={'exports':{}};function $s(_0x4fdbf9){var _0x110a84=_0x4a9f88;throw new Error(_0x110a84(0xc6)+_0x4fdbf9+_0x110a84(0x2fe));}var Ge={'exports':{}},Hs=Ge[_0x4a9f88(0x1be)],Qt;function ne(){var _0x2ae664=_0x4a9f88;return Qt||(Qt=0x1,function(_0x208162,_0x12b13c){(function(_0x203d75,_0x4a3ea3){var _0x2daea0=_0x30f1;_0x208162[_0x2daea0(0x1be)]=_0x4a3ea3();}(Hs,function(){var _0x51767c=_0x51767c||function(_0x36f48c,_0x252528){var _0x30ed47=_0x30f1,_0x2fe79a;if(typeof window<'u'&&window['crypto']&&(_0x2fe79a=window[_0x30ed47(0x11c)]),typeof self<'u'&&self['crypto']&&(_0x2fe79a=self[_0x30ed47(0x11c)]),typeof globalThis<'u'&&globalThis[_0x30ed47(0x11c)]&&(_0x2fe79a=globalThis[_0x30ed47(0x11c)]),!_0x2fe79a&&typeof window<'u'&&window[_0x30ed47(0x318)]&&(_0x2fe79a=window[_0x30ed47(0x318)]),!_0x2fe79a&&typeof pt<'u'&&pt[_0x30ed47(0x11c)]&&(_0x2fe79a=pt[_0x30ed47(0x11c)]),!_0x2fe79a&&typeof $s==_0x30ed47(0x196))try{_0x2fe79a=require(_0x30ed47(0x11c));}catch{}var _0x7f8203=function(){var _0x4f7a3c=_0x30ed47;if(_0x2fe79a){if(typeof _0x2fe79a[_0x4f7a3c(0x34b)]=='function')try{return _0x2fe79a[_0x4f7a3c(0x34b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2fe79a[_0x4f7a3c(0x108)]==_0x4f7a3c(0x196))try{return _0x2fe79a['randomBytes'](0x4)[_0x4f7a3c(0xf6)]();}catch{}}throw new Error(_0x4f7a3c(0x234));},_0x4fefb7=Object[_0x30ed47(0x1c9)]||(function(){function _0x471ddd(){}return function(_0x35afbc){var _0x922195=_0x30f1,_0x5d7a01;return _0x471ddd[_0x922195(0x12d)]=_0x35afbc,_0x5d7a01=new _0x471ddd(),_0x471ddd['prototype']=null,_0x5d7a01;};}()),_0x4dcbd3={},_0x342dac=_0x4dcbd3[_0x30ed47(0x201)]={},_0xbf5a5=_0x342dac[_0x30ed47(0x36e)]=(function(){return{'extend':function(_0x35bd58){var _0x58ee38=_0x30f1,_0xb1308c=_0x4fefb7(this);return _0x35bd58&&_0xb1308c[_0x58ee38(0xf1)](_0x35bd58),(!_0xb1308c[_0x58ee38(0x354)]('init')||this[_0x58ee38(0x286)]===_0xb1308c[_0x58ee38(0x286)])&&(_0xb1308c[_0x58ee38(0x286)]=function(){var _0x309aa7=_0x58ee38;_0xb1308c[_0x309aa7(0x285)][_0x309aa7(0x286)][_0x309aa7(0xa3)](this,arguments);}),_0xb1308c[_0x58ee38(0x286)][_0x58ee38(0x12d)]=_0xb1308c,_0xb1308c[_0x58ee38(0x285)]=this,_0xb1308c;},'create':function(){var _0x1499f5=_0x30f1,_0x3d2e45=this['extend']();return _0x3d2e45[_0x1499f5(0x286)][_0x1499f5(0xa3)](_0x3d2e45,arguments),_0x3d2e45;},'init':function(){},'mixIn':function(_0x521882){var _0x4724f5=_0x30f1;for(var _0x5c7c7c in _0x521882)_0x521882[_0x4724f5(0x354)](_0x5c7c7c)&&(this[_0x5c7c7c]=_0x521882[_0x5c7c7c]);_0x521882[_0x4724f5(0x354)](_0x4724f5(0x2ef))&&(this['toString']=_0x521882[_0x4724f5(0x2ef)]);},'clone':function(){var _0x48329c=_0x30f1;return this[_0x48329c(0x286)]['prototype'][_0x48329c(0x337)](this);}};}()),_0x471e68=_0x342dac[_0x30ed47(0x140)]=_0xbf5a5[_0x30ed47(0x337)]({'init':function(_0x41ac99,_0x5a40cd){var _0x2f1a4e=_0x30ed47;_0x41ac99=this['words']=_0x41ac99||[],_0x5a40cd!=_0x252528?this['sigBytes']=_0x5a40cd:this[_0x2f1a4e(0x31f)]=_0x41ac99[_0x2f1a4e(0x212)]*0x4;},'toString':function(_0x28df52){var _0x5a8b94=_0x30ed47;return(_0x28df52||_0x5337d4)[_0x5a8b94(0x122)](this);},'concat':function(_0x4f91de){var _0x31d822=_0x30ed47,_0x3b2296=this[_0x31d822(0x120)],_0x5cf38e=_0x4f91de[_0x31d822(0x120)],_0x100cf0=this['sigBytes'],_0x201913=_0x4f91de[_0x31d822(0x31f)];if(this[_0x31d822(0x1dd)](),_0x100cf0%0x4)for(var _0x3d10e3=0x0;_0x3d10e3<_0x201913;_0x3d10e3++){var _0x31fa8b=_0x5cf38e[_0x3d10e3>>>0x2]>>>0x18-_0x3d10e3%0x4*0x8&0xff;_0x3b2296[_0x100cf0+_0x3d10e3>>>0x2]|=_0x31fa8b<<0x18-(_0x100cf0+_0x3d10e3)%0x4*0x8;}else{for(var _0x3de1f9=0x0;_0x3de1f9<_0x201913;_0x3de1f9+=0x4)_0x3b2296[_0x100cf0+_0x3de1f9>>>0x2]=_0x5cf38e[_0x3de1f9>>>0x2];}return this[_0x31d822(0x31f)]+=_0x201913,this;},'clamp':function(){var _0x54611c=_0x30ed47,_0x484929=this[_0x54611c(0x120)],_0x25b4a2=this[_0x54611c(0x31f)];_0x484929[_0x25b4a2>>>0x2]&=0xffffffff<<0x20-_0x25b4a2%0x4*0x8,_0x484929[_0x54611c(0x212)]=_0x36f48c['ceil'](_0x25b4a2/0x4);},'clone':function(){var _0x599a84=_0x30ed47,_0x354fb1=_0xbf5a5[_0x599a84(0xda)][_0x599a84(0x2ce)](this);return _0x354fb1[_0x599a84(0x120)]=this['words']['slice'](0x0),_0x354fb1;},'random':function(_0x515d1e){var _0x1103f7=_0x30ed47;for(var _0x2de725=[],_0xfadaa6=0x0;_0xfadaa6<_0x515d1e;_0xfadaa6+=0x4)_0x2de725[_0x1103f7(0x257)](_0x7f8203());return new _0x471e68[(_0x1103f7(0x286))](_0x2de725,_0x515d1e);}}),_0x31491=_0x4dcbd3['enc']={},_0x5337d4=_0x31491[_0x30ed47(0x155)]={'stringify':function(_0xb97ab){var _0xc3d322=_0x30ed47;for(var _0x9d740f=_0xb97ab['words'],_0x49f53f=_0xb97ab[_0xc3d322(0x31f)],_0x3d3ea1=[],_0x257dc8=0x0;_0x257dc8<_0x49f53f;_0x257dc8++){var _0x3cecec=_0x9d740f[_0x257dc8>>>0x2]>>>0x18-_0x257dc8%0x4*0x8&0xff;_0x3d3ea1[_0xc3d322(0x257)]((_0x3cecec>>>0x4)[_0xc3d322(0x2ef)](0x10)),_0x3d3ea1[_0xc3d322(0x257)]((_0x3cecec&0xf)['toString'](0x10));}return _0x3d3ea1[_0xc3d322(0x233)]('');},'parse':function(_0xeeb945){var _0x842a1d=_0x30ed47;for(var _0x19ace4=_0xeeb945[_0x842a1d(0x212)],_0x204983=[],_0x2a0e3e=0x0;_0x2a0e3e<_0x19ace4;_0x2a0e3e+=0x2)_0x204983[_0x2a0e3e>>>0x3]|=parseInt(_0xeeb945[_0x842a1d(0x32f)](_0x2a0e3e,0x2),0x10)<<0x18-_0x2a0e3e%0x8*0x4;return new _0x471e68['init'](_0x204983,_0x19ace4/0x2);}},_0x1f795c=_0x31491[_0x30ed47(0x300)]={'stringify':function(_0x8c8ee4){var _0x263114=_0x30ed47;for(var _0x26fc11=_0x8c8ee4['words'],_0x597fef=_0x8c8ee4[_0x263114(0x31f)],_0x5d60b8=[],_0x4316bc=0x0;_0x4316bc<_0x597fef;_0x4316bc++){var _0x5510d6=_0x26fc11[_0x4316bc>>>0x2]>>>0x18-_0x4316bc%0x4*0x8&0xff;_0x5d60b8['push'](String[_0x263114(0x1bb)](_0x5510d6));}return _0x5d60b8['join']('');},'parse':function(_0x1604f2){var _0x298829=_0x30ed47;for(var _0x4a377b=_0x1604f2[_0x298829(0x212)],_0x470e21=[],_0x3d6580=0x0;_0x3d6580<_0x4a377b;_0x3d6580++)_0x470e21[_0x3d6580>>>0x2]|=(_0x1604f2[_0x298829(0x165)](_0x3d6580)&0xff)<<0x18-_0x3d6580%0x4*0x8;return new _0x471e68[(_0x298829(0x286))](_0x470e21,_0x4a377b);}},_0x4dd57e=_0x31491[_0x30ed47(0xeb)]={'stringify':function(_0x3dbe3a){var _0x380403=_0x30ed47;try{return decodeURIComponent(escape(_0x1f795c[_0x380403(0x122)](_0x3dbe3a)));}catch{throw new Error(_0x380403(0x328));}},'parse':function(_0x13fac9){return _0x1f795c['parse'](unescape(encodeURIComponent(_0x13fac9)));}},_0x13e66c=_0x342dac[_0x30ed47(0x157)]=_0xbf5a5[_0x30ed47(0x337)]({'reset':function(){var _0x37521d=_0x30ed47;this['_data']=new _0x471e68[(_0x37521d(0x286))](),this[_0x37521d(0x2f4)]=0x0;},'_append':function(_0x3a868c){var _0x57db31=_0x30ed47;typeof _0x3a868c==_0x57db31(0x2cc)&&(_0x3a868c=_0x4dd57e[_0x57db31(0x1d5)](_0x3a868c)),this[_0x57db31(0x83)][_0x57db31(0x1d0)](_0x3a868c),this[_0x57db31(0x2f4)]+=_0x3a868c[_0x57db31(0x31f)];},'_process':function(_0x2a05c9){var _0x3916ac=_0x30ed47,_0x423408,_0x3f08c0=this['_data'],_0x20847a=_0x3f08c0[_0x3916ac(0x120)],_0x17220e=_0x3f08c0['sigBytes'],_0x3456b4=this['blockSize'],_0x185619=_0x3456b4*0x4,_0x5288f1=_0x17220e/_0x185619;_0x2a05c9?_0x5288f1=_0x36f48c[_0x3916ac(0x2af)](_0x5288f1):_0x5288f1=_0x36f48c['max']((_0x5288f1|0x0)-this[_0x3916ac(0x71)],0x0);var _0x5569f2=_0x5288f1*_0x3456b4,_0xc53a14=_0x36f48c[_0x3916ac(0x88)](_0x5569f2*0x4,_0x17220e);if(_0x5569f2){for(var _0x11b870=0x0;_0x11b870<_0x5569f2;_0x11b870+=_0x3456b4)this['_doProcessBlock'](_0x20847a,_0x11b870);_0x423408=_0x20847a[_0x3916ac(0x2c4)](0x0,_0x5569f2),_0x3f08c0[_0x3916ac(0x31f)]-=_0xc53a14;}return new _0x471e68[(_0x3916ac(0x286))](_0x423408,_0xc53a14);},'clone':function(){var _0xc823de=_0x30ed47,_0x43e195=_0xbf5a5[_0xc823de(0xda)][_0xc823de(0x2ce)](this);return _0x43e195[_0xc823de(0x83)]=this['_data'][_0xc823de(0xda)](),_0x43e195;},'_minBufferSize':0x0});_0x342dac[_0x30ed47(0x229)]=_0x13e66c[_0x30ed47(0x337)]({'cfg':_0xbf5a5[_0x30ed47(0x337)](),'init':function(_0x366d0c){var _0xba9f54=_0x30ed47;this['cfg']=this[_0xba9f54(0x222)][_0xba9f54(0x337)](_0x366d0c),this[_0xba9f54(0x12c)]();},'reset':function(){var _0xfe00f8=_0x30ed47;_0x13e66c[_0xfe00f8(0x12c)][_0xfe00f8(0x2ce)](this),this[_0xfe00f8(0x31d)]();},'update':function(_0x133e49){var _0x46f059=_0x30ed47;return this[_0x46f059(0x264)](_0x133e49),this[_0x46f059(0xb1)](),this;},'finalize':function(_0x5dd7b5){var _0x27385e=_0x30ed47;_0x5dd7b5&&this['_append'](_0x5dd7b5);var _0x50c11=this[_0x27385e(0x24f)]();return _0x50c11;},'blockSize':0x10,'_createHelper':function(_0x15c7ef){return function(_0xbb2a55,_0x52d664){var _0x1b05b1=_0x30f1;return new _0x15c7ef[(_0x1b05b1(0x286))](_0x52d664)[_0x1b05b1(0x1f8)](_0xbb2a55);};},'_createHmacHelper':function(_0x209c8f){return function(_0x218862,_0x2f17f8){return new _0x68985a['HMAC']['init'](_0x209c8f,_0x2f17f8)['finalize'](_0x218862);};}});var _0x68985a=_0x4dcbd3[_0x30ed47(0x121)]={};return _0x4dcbd3;}(Math);return _0x51767c;}));}(Ge)),Ge[_0x2ae664(0x1be)];}var Ke={'exports':{}},ks=Ke[_0x4a9f88(0x1be)],ei;function Ui(){var _0x1195d9=_0x4a9f88;return ei||(ei=0x1,function(_0x1ce754,_0x2b1961){(function(_0x493a46,_0x55ee54){var _0x188453=_0x30f1;_0x1ce754[_0x188453(0x1be)]=_0x55ee54(ne());}(ks,function(_0x3a4b67){var _0x1cc059=_0x30f1;return(function(){var _0x4ffe13=_0x30f1,_0x163212=_0x3a4b67,_0x11d523=_0x163212[_0x4ffe13(0x201)],_0x28d02c=_0x11d523[_0x4ffe13(0x140)],_0x979aca=_0x163212['enc'];_0x979aca['Base64']={'stringify':function(_0x14c969){var _0x5ab37d=_0x4ffe13,_0x5633e5=_0x14c969['words'],_0xa96a18=_0x14c969[_0x5ab37d(0x31f)],_0x25ec80=this['_map'];_0x14c969[_0x5ab37d(0x1dd)]();for(var _0x1e7763=[],_0x2ac5d8=0x0;_0x2ac5d8<_0xa96a18;_0x2ac5d8+=0x3)for(var _0x4717ec=_0x5633e5[_0x2ac5d8>>>0x2]>>>0x18-_0x2ac5d8%0x4*0x8&0xff,_0x420e4f=_0x5633e5[_0x2ac5d8+0x1>>>0x2]>>>0x18-(_0x2ac5d8+0x1)%0x4*0x8&0xff,_0x2a1f14=_0x5633e5[_0x2ac5d8+0x2>>>0x2]>>>0x18-(_0x2ac5d8+0x2)%0x4*0x8&0xff,_0x5ce05e=_0x4717ec<<0x10|_0x420e4f<<0x8|_0x2a1f14,_0x211ab9=0x0;_0x211ab9<0x4&&_0x2ac5d8+_0x211ab9*0.75<_0xa96a18;_0x211ab9++)_0x1e7763[_0x5ab37d(0x257)](_0x25ec80[_0x5ab37d(0x306)](_0x5ce05e>>>0x6*(0x3-_0x211ab9)&0x3f));var _0x9eba8d=_0x25ec80[_0x5ab37d(0x306)](0x40);if(_0x9eba8d){for(;_0x1e7763[_0x5ab37d(0x212)]%0x4;)_0x1e7763[_0x5ab37d(0x257)](_0x9eba8d);}return _0x1e7763[_0x5ab37d(0x233)]('');},'parse':function(_0x335509){var _0x7ef44f=_0x4ffe13,_0x4b8d70=_0x335509[_0x7ef44f(0x212)],_0x51f829=this['_map'],_0x2afb6a=this[_0x7ef44f(0x154)];if(!_0x2afb6a){_0x2afb6a=this[_0x7ef44f(0x154)]=[];for(var _0x45de94=0x0;_0x45de94<_0x51f829['length'];_0x45de94++)_0x2afb6a[_0x51f829[_0x7ef44f(0x165)](_0x45de94)]=_0x45de94;}var _0x158ac6=_0x51f829[_0x7ef44f(0x306)](0x40);if(_0x158ac6){var _0x421089=_0x335509[_0x7ef44f(0x2a6)](_0x158ac6);_0x421089!==-0x1&&(_0x4b8d70=_0x421089);}return _0x7d41bf(_0x335509,_0x4b8d70,_0x2afb6a);},'_map':_0x4ffe13(0x30c)};function _0x7d41bf(_0x3e8c84,_0x335c85,_0x26d3aa){var _0x3682e0=_0x4ffe13;for(var _0x538dcf=[],_0x4e39ab=0x0,_0x5ea585=0x0;_0x5ea585<_0x335c85;_0x5ea585++)if(_0x5ea585%0x4){var _0x25c1b8=_0x26d3aa[_0x3e8c84[_0x3682e0(0x165)](_0x5ea585-0x1)]<<_0x5ea585%0x4*0x2,_0x3d2baf=_0x26d3aa[_0x3e8c84[_0x3682e0(0x165)](_0x5ea585)]>>>0x6-_0x5ea585%0x4*0x2,_0x254fd2=_0x25c1b8|_0x3d2baf;_0x538dcf[_0x4e39ab>>>0x2]|=_0x254fd2<<0x18-_0x4e39ab%0x4*0x8,_0x4e39ab++;}return _0x28d02c[_0x3682e0(0x1c9)](_0x538dcf,_0x4e39ab);}}()),_0x3a4b67['enc'][_0x1cc059(0x15b)];}));}(Ke)),Ke[_0x1195d9(0x1be)];}var ze={'exports':{}},js=ze[_0x4a9f88(0x1be)],ti;function Bs(){return ti||(ti=0x1,function(_0x5279b2,_0x100f9d){(function(_0x162593,_0x4ea016){var _0xa73901=_0x30f1;_0x5279b2[_0xa73901(0x1be)]=_0x4ea016(ne());}(js,function(_0x2720f1){return function(_0x5d177e){var _0x1a4472=_0x30f1,_0x5b6046=_0x2720f1,_0x5ee5c1=_0x5b6046[_0x1a4472(0x201)],_0x657922=_0x5ee5c1[_0x1a4472(0x140)],_0x298a3a=_0x5ee5c1[_0x1a4472(0x229)],_0x3a8da9=_0x5b6046[_0x1a4472(0x121)],_0xbc4554=[];(function(){for(var _0x69aefb=0x0;_0x69aefb<0x40;_0x69aefb++)_0xbc4554[_0x69aefb]=_0x5d177e['abs'](_0x5d177e['sin'](_0x69aefb+0x1))*0x100000000|0x0;}());var _0x518e69=_0x3a8da9['MD5']=_0x298a3a[_0x1a4472(0x337)]({'_doReset':function(){var _0x124fa3=_0x1a4472;this['_hash']=new _0x657922[(_0x124fa3(0x286))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4de044,_0x308e1c){for(var _0x2f1f0c=0x0;_0x2f1f0c<0x10;_0x2f1f0c++){var _0x2cc9c8=_0x308e1c+_0x2f1f0c,_0x559399=_0x4de044[_0x2cc9c8];_0x4de044[_0x2cc9c8]=(_0x559399<<0x8|_0x559399>>>0x18)&0xff00ff|(_0x559399<<0x18|_0x559399>>>0x8)&0xff00ff00;}var _0x423bc9=this['_hash']['words'],_0x5c4bbc=_0x4de044[_0x308e1c+0x0],_0x1f23bc=_0x4de044[_0x308e1c+0x1],_0x84bd5c=_0x4de044[_0x308e1c+0x2],_0x3c9601=_0x4de044[_0x308e1c+0x3],_0x50e23b=_0x4de044[_0x308e1c+0x4],_0x57683e=_0x4de044[_0x308e1c+0x5],_0xfb8d4a=_0x4de044[_0x308e1c+0x6],_0x32b07b=_0x4de044[_0x308e1c+0x7],_0x14bfc8=_0x4de044[_0x308e1c+0x8],_0x225fbd=_0x4de044[_0x308e1c+0x9],_0x2000d6=_0x4de044[_0x308e1c+0xa],_0x49b54b=_0x4de044[_0x308e1c+0xb],_0x42873f=_0x4de044[_0x308e1c+0xc],_0x1a4541=_0x4de044[_0x308e1c+0xd],_0x1a898c=_0x4de044[_0x308e1c+0xe],_0x1a4943=_0x4de044[_0x308e1c+0xf],_0x2bacf7=_0x423bc9[0x0],_0x30dc6b=_0x423bc9[0x1],_0x5f1a04=_0x423bc9[0x2],_0x2ebc2a=_0x423bc9[0x3];_0x2bacf7=_0x560557(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x5c4bbc,0x7,_0xbc4554[0x0]),_0x2ebc2a=_0x560557(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x1f23bc,0xc,_0xbc4554[0x1]),_0x5f1a04=_0x560557(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x84bd5c,0x11,_0xbc4554[0x2]),_0x30dc6b=_0x560557(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x3c9601,0x16,_0xbc4554[0x3]),_0x2bacf7=_0x560557(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x50e23b,0x7,_0xbc4554[0x4]),_0x2ebc2a=_0x560557(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x57683e,0xc,_0xbc4554[0x5]),_0x5f1a04=_0x560557(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0xfb8d4a,0x11,_0xbc4554[0x6]),_0x30dc6b=_0x560557(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x32b07b,0x16,_0xbc4554[0x7]),_0x2bacf7=_0x560557(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x14bfc8,0x7,_0xbc4554[0x8]),_0x2ebc2a=_0x560557(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x225fbd,0xc,_0xbc4554[0x9]),_0x5f1a04=_0x560557(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x2000d6,0x11,_0xbc4554[0xa]),_0x30dc6b=_0x560557(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x49b54b,0x16,_0xbc4554[0xb]),_0x2bacf7=_0x560557(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x42873f,0x7,_0xbc4554[0xc]),_0x2ebc2a=_0x560557(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x1a4541,0xc,_0xbc4554[0xd]),_0x5f1a04=_0x560557(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x1a898c,0x11,_0xbc4554[0xe]),_0x30dc6b=_0x560557(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x1a4943,0x16,_0xbc4554[0xf]),_0x2bacf7=_0x3fe37d(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x1f23bc,0x5,_0xbc4554[0x10]),_0x2ebc2a=_0x3fe37d(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0xfb8d4a,0x9,_0xbc4554[0x11]),_0x5f1a04=_0x3fe37d(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x49b54b,0xe,_0xbc4554[0x12]),_0x30dc6b=_0x3fe37d(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x5c4bbc,0x14,_0xbc4554[0x13]),_0x2bacf7=_0x3fe37d(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x57683e,0x5,_0xbc4554[0x14]),_0x2ebc2a=_0x3fe37d(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2000d6,0x9,_0xbc4554[0x15]),_0x5f1a04=_0x3fe37d(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x1a4943,0xe,_0xbc4554[0x16]),_0x30dc6b=_0x3fe37d(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x50e23b,0x14,_0xbc4554[0x17]),_0x2bacf7=_0x3fe37d(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x225fbd,0x5,_0xbc4554[0x18]),_0x2ebc2a=_0x3fe37d(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x1a898c,0x9,_0xbc4554[0x19]),_0x5f1a04=_0x3fe37d(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x3c9601,0xe,_0xbc4554[0x1a]),_0x30dc6b=_0x3fe37d(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x14bfc8,0x14,_0xbc4554[0x1b]),_0x2bacf7=_0x3fe37d(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x1a4541,0x5,_0xbc4554[0x1c]),_0x2ebc2a=_0x3fe37d(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x84bd5c,0x9,_0xbc4554[0x1d]),_0x5f1a04=_0x3fe37d(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x32b07b,0xe,_0xbc4554[0x1e]),_0x30dc6b=_0x3fe37d(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x42873f,0x14,_0xbc4554[0x1f]),_0x2bacf7=_0x1c5d84(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x57683e,0x4,_0xbc4554[0x20]),_0x2ebc2a=_0x1c5d84(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x14bfc8,0xb,_0xbc4554[0x21]),_0x5f1a04=_0x1c5d84(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x49b54b,0x10,_0xbc4554[0x22]),_0x30dc6b=_0x1c5d84(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x1a898c,0x17,_0xbc4554[0x23]),_0x2bacf7=_0x1c5d84(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x1f23bc,0x4,_0xbc4554[0x24]),_0x2ebc2a=_0x1c5d84(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x50e23b,0xb,_0xbc4554[0x25]),_0x5f1a04=_0x1c5d84(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x32b07b,0x10,_0xbc4554[0x26]),_0x30dc6b=_0x1c5d84(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x2000d6,0x17,_0xbc4554[0x27]),_0x2bacf7=_0x1c5d84(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x1a4541,0x4,_0xbc4554[0x28]),_0x2ebc2a=_0x1c5d84(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x5c4bbc,0xb,_0xbc4554[0x29]),_0x5f1a04=_0x1c5d84(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x3c9601,0x10,_0xbc4554[0x2a]),_0x30dc6b=_0x1c5d84(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0xfb8d4a,0x17,_0xbc4554[0x2b]),_0x2bacf7=_0x1c5d84(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x225fbd,0x4,_0xbc4554[0x2c]),_0x2ebc2a=_0x1c5d84(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x42873f,0xb,_0xbc4554[0x2d]),_0x5f1a04=_0x1c5d84(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x1a4943,0x10,_0xbc4554[0x2e]),_0x30dc6b=_0x1c5d84(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x84bd5c,0x17,_0xbc4554[0x2f]),_0x2bacf7=_0x3da77a(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x5c4bbc,0x6,_0xbc4554[0x30]),_0x2ebc2a=_0x3da77a(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x32b07b,0xa,_0xbc4554[0x31]),_0x5f1a04=_0x3da77a(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x1a898c,0xf,_0xbc4554[0x32]),_0x30dc6b=_0x3da77a(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x57683e,0x15,_0xbc4554[0x33]),_0x2bacf7=_0x3da77a(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x42873f,0x6,_0xbc4554[0x34]),_0x2ebc2a=_0x3da77a(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x3c9601,0xa,_0xbc4554[0x35]),_0x5f1a04=_0x3da77a(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x2000d6,0xf,_0xbc4554[0x36]),_0x30dc6b=_0x3da77a(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x1f23bc,0x15,_0xbc4554[0x37]),_0x2bacf7=_0x3da77a(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x14bfc8,0x6,_0xbc4554[0x38]),_0x2ebc2a=_0x3da77a(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x1a4943,0xa,_0xbc4554[0x39]),_0x5f1a04=_0x3da77a(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0xfb8d4a,0xf,_0xbc4554[0x3a]),_0x30dc6b=_0x3da77a(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x1a4541,0x15,_0xbc4554[0x3b]),_0x2bacf7=_0x3da77a(_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x50e23b,0x6,_0xbc4554[0x3c]),_0x2ebc2a=_0x3da77a(_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x5f1a04,_0x49b54b,0xa,_0xbc4554[0x3d]),_0x5f1a04=_0x3da77a(_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x30dc6b,_0x84bd5c,0xf,_0xbc4554[0x3e]),_0x30dc6b=_0x3da77a(_0x30dc6b,_0x5f1a04,_0x2ebc2a,_0x2bacf7,_0x225fbd,0x15,_0xbc4554[0x3f]),_0x423bc9[0x0]=_0x423bc9[0x0]+_0x2bacf7|0x0,_0x423bc9[0x1]=_0x423bc9[0x1]+_0x30dc6b|0x0,_0x423bc9[0x2]=_0x423bc9[0x2]+_0x5f1a04|0x0,_0x423bc9[0x3]=_0x423bc9[0x3]+_0x2ebc2a|0x0;},'_doFinalize':function(){var _0x1862be=_0x1a4472,_0x3fbe64=this[_0x1862be(0x83)],_0x3318e3=_0x3fbe64[_0x1862be(0x120)],_0x495fb3=this['_nDataBytes']*0x8,_0x5289a8=_0x3fbe64[_0x1862be(0x31f)]*0x8;_0x3318e3[_0x5289a8>>>0x5]|=0x80<<0x18-_0x5289a8%0x20;var _0x5c484f=_0x5d177e['floor'](_0x495fb3/0x100000000),_0x55d1b2=_0x495fb3;_0x3318e3[(_0x5289a8+0x40>>>0x9<<0x4)+0xf]=(_0x5c484f<<0x8|_0x5c484f>>>0x18)&0xff00ff|(_0x5c484f<<0x18|_0x5c484f>>>0x8)&0xff00ff00,_0x3318e3[(_0x5289a8+0x40>>>0x9<<0x4)+0xe]=(_0x55d1b2<<0x8|_0x55d1b2>>>0x18)&0xff00ff|(_0x55d1b2<<0x18|_0x55d1b2>>>0x8)&0xff00ff00,_0x3fbe64[_0x1862be(0x31f)]=(_0x3318e3[_0x1862be(0x212)]+0x1)*0x4,this['_process']();for(var _0x4808cd=this[_0x1862be(0x11f)],_0x42fe34=_0x4808cd[_0x1862be(0x120)],_0x21c703=0x0;_0x21c703<0x4;_0x21c703++){var _0x53390e=_0x42fe34[_0x21c703];_0x42fe34[_0x21c703]=(_0x53390e<<0x8|_0x53390e>>>0x18)&0xff00ff|(_0x53390e<<0x18|_0x53390e>>>0x8)&0xff00ff00;}return _0x4808cd;},'clone':function(){var _0x1d1fcc=_0x1a4472,_0x5df285=_0x298a3a['clone'][_0x1d1fcc(0x2ce)](this);return _0x5df285['_hash']=this['_hash'][_0x1d1fcc(0xda)](),_0x5df285;}});function _0x560557(_0x47862f,_0x4c5ff4,_0x5b1a64,_0x1feb87,_0x19d109,_0x3ee573,_0x1aacfc){var _0x44ce48=_0x47862f+(_0x4c5ff4&_0x5b1a64|~_0x4c5ff4&_0x1feb87)+_0x19d109+_0x1aacfc;return(_0x44ce48<<_0x3ee573|_0x44ce48>>>0x20-_0x3ee573)+_0x4c5ff4;}function _0x3fe37d(_0x2fbe42,_0x277b3e,_0x3cddc8,_0x385608,_0x1846dd,_0x330e5a,_0x37dafe){var _0x52095d=_0x2fbe42+(_0x277b3e&_0x385608|_0x3cddc8&~_0x385608)+_0x1846dd+_0x37dafe;return(_0x52095d<<_0x330e5a|_0x52095d>>>0x20-_0x330e5a)+_0x277b3e;}function _0x1c5d84(_0x62cfaa,_0x576aac,_0x19b40c,_0x15194a,_0x4a5cfb,_0x34e5ff,_0x4168a0){var _0x32854a=_0x62cfaa+(_0x576aac^_0x19b40c^_0x15194a)+_0x4a5cfb+_0x4168a0;return(_0x32854a<<_0x34e5ff|_0x32854a>>>0x20-_0x34e5ff)+_0x576aac;}function _0x3da77a(_0x1e29a7,_0x4903ef,_0x41324d,_0x195195,_0x58d2c9,_0x4f1b6c,_0x59cdc9){var _0x37a9a0=_0x1e29a7+(_0x41324d^(_0x4903ef|~_0x195195))+_0x58d2c9+_0x59cdc9;return(_0x37a9a0<<_0x4f1b6c|_0x37a9a0>>>0x20-_0x4f1b6c)+_0x4903ef;}_0x5b6046[_0x1a4472(0x1f9)]=_0x298a3a[_0x1a4472(0x203)](_0x518e69),_0x5b6046[_0x1a4472(0x210)]=_0x298a3a[_0x1a4472(0x357)](_0x518e69);}(Math),_0x2720f1['MD5'];}));}(ze)),ze['exports'];}var Ye={'exports':{}},qe={'exports':{}},Fs=qe[_0x4a9f88(0x1be)],ii;function Vs(){var _0x17dc33=_0x4a9f88;return ii||(ii=0x1,function(_0x2f1ee8,_0x3c9b47){(function(_0x10e87e,_0x28264a){var _0x339727=_0x30f1;_0x2f1ee8[_0x339727(0x1be)]=_0x28264a(ne());}(Fs,function(_0xaadd40){var _0x576560=_0x30f1;return(function(){var _0x4702a9=_0x30f1,_0x568e13=_0xaadd40,_0x49454a=_0x568e13[_0x4702a9(0x201)],_0x5b37b0=_0x49454a[_0x4702a9(0x140)],_0x151077=_0x49454a[_0x4702a9(0x229)],_0x24d8d6=_0x568e13['algo'],_0x497ff0=[],_0x5c1d58=_0x24d8d6[_0x4702a9(0x245)]=_0x151077[_0x4702a9(0x337)]({'_doReset':function(){var _0x330e10=_0x4702a9;this[_0x330e10(0x11f)]=new _0x5b37b0[(_0x330e10(0x286))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x87f7dd,_0x31b2c6){var _0x2cf79b=_0x4702a9;for(var _0x7f9ef0=this['_hash'][_0x2cf79b(0x120)],_0x110234=_0x7f9ef0[0x0],_0x10c3ab=_0x7f9ef0[0x1],_0x46e491=_0x7f9ef0[0x2],_0x1f324f=_0x7f9ef0[0x3],_0x505abd=_0x7f9ef0[0x4],_0x52fcc6=0x0;_0x52fcc6<0x50;_0x52fcc6++){if(_0x52fcc6<0x10)_0x497ff0[_0x52fcc6]=_0x87f7dd[_0x31b2c6+_0x52fcc6]|0x0;else{var _0x622407=_0x497ff0[_0x52fcc6-0x3]^_0x497ff0[_0x52fcc6-0x8]^_0x497ff0[_0x52fcc6-0xe]^_0x497ff0[_0x52fcc6-0x10];_0x497ff0[_0x52fcc6]=_0x622407<<0x1|_0x622407>>>0x1f;}var _0xaa9953=(_0x110234<<0x5|_0x110234>>>0x1b)+_0x505abd+_0x497ff0[_0x52fcc6];_0x52fcc6<0x14?_0xaa9953+=(_0x10c3ab&_0x46e491|~_0x10c3ab&_0x1f324f)+0x5a827999:_0x52fcc6<0x28?_0xaa9953+=(_0x10c3ab^_0x46e491^_0x1f324f)+0x6ed9eba1:_0x52fcc6<0x3c?_0xaa9953+=(_0x10c3ab&_0x46e491|_0x10c3ab&_0x1f324f|_0x46e491&_0x1f324f)-0x70e44324:_0xaa9953+=(_0x10c3ab^_0x46e491^_0x1f324f)-0x359d3e2a,_0x505abd=_0x1f324f,_0x1f324f=_0x46e491,_0x46e491=_0x10c3ab<<0x1e|_0x10c3ab>>>0x2,_0x10c3ab=_0x110234,_0x110234=_0xaa9953;}_0x7f9ef0[0x0]=_0x7f9ef0[0x0]+_0x110234|0x0,_0x7f9ef0[0x1]=_0x7f9ef0[0x1]+_0x10c3ab|0x0,_0x7f9ef0[0x2]=_0x7f9ef0[0x2]+_0x46e491|0x0,_0x7f9ef0[0x3]=_0x7f9ef0[0x3]+_0x1f324f|0x0,_0x7f9ef0[0x4]=_0x7f9ef0[0x4]+_0x505abd|0x0;},'_doFinalize':function(){var _0xf108de=_0x4702a9,_0x464ef0=this[_0xf108de(0x83)],_0x16900d=_0x464ef0[_0xf108de(0x120)],_0xe801b5=this[_0xf108de(0x2f4)]*0x8,_0x25afaa=_0x464ef0[_0xf108de(0x31f)]*0x8;return _0x16900d[_0x25afaa>>>0x5]|=0x80<<0x18-_0x25afaa%0x20,_0x16900d[(_0x25afaa+0x40>>>0x9<<0x4)+0xe]=Math[_0xf108de(0x355)](_0xe801b5/0x100000000),_0x16900d[(_0x25afaa+0x40>>>0x9<<0x4)+0xf]=_0xe801b5,_0x464ef0[_0xf108de(0x31f)]=_0x16900d[_0xf108de(0x212)]*0x4,this['_process'](),this[_0xf108de(0x11f)];},'clone':function(){var _0x11c967=_0x4702a9,_0x55b62f=_0x151077[_0x11c967(0xda)][_0x11c967(0x2ce)](this);return _0x55b62f[_0x11c967(0x11f)]=this['_hash'][_0x11c967(0xda)](),_0x55b62f;}});_0x568e13[_0x4702a9(0x245)]=_0x151077[_0x4702a9(0x203)](_0x5c1d58),_0x568e13[_0x4702a9(0xcd)]=_0x151077['_createHmacHelper'](_0x5c1d58);}()),_0xaadd40[_0x576560(0x245)];}));}(qe)),qe[_0x17dc33(0x1be)];}var Je={'exports':{}},Ws=Je[_0x4a9f88(0x1be)],ni;function Gs(){var _0x55dc06=_0x4a9f88;return ni||(ni=0x1,function(_0x28ebd2,_0x48b0fe){(function(_0x26b748,_0x2fa7c4){var _0x3ddef9=_0x30f1;_0x28ebd2[_0x3ddef9(0x1be)]=_0x2fa7c4(ne());}(Ws,function(_0xfd6040){(function(){var _0x3dc4c1=_0x30f1,_0x4f1722=_0xfd6040,_0x4989f7=_0x4f1722['lib'],_0x2027fa=_0x4989f7['Base'],_0x2b366b=_0x4f1722[_0x3dc4c1(0xee)],_0x49ed06=_0x2b366b[_0x3dc4c1(0xeb)],_0x1d8d07=_0x4f1722['algo'];_0x1d8d07[_0x3dc4c1(0x20c)]=_0x2027fa[_0x3dc4c1(0x337)]({'init':function(_0x51b4a1,_0x4fe09e){var _0x4c3251=_0x3dc4c1;_0x51b4a1=this[_0x4c3251(0x1db)]=new _0x51b4a1[(_0x4c3251(0x286))](),typeof _0x4fe09e=='string'&&(_0x4fe09e=_0x49ed06['parse'](_0x4fe09e));var _0x14812b=_0x51b4a1[_0x4c3251(0x2ee)],_0x293dad=_0x14812b*0x4;_0x4fe09e[_0x4c3251(0x31f)]>_0x293dad&&(_0x4fe09e=_0x51b4a1[_0x4c3251(0x1f8)](_0x4fe09e)),_0x4fe09e[_0x4c3251(0x1dd)]();for(var _0x228316=this[_0x4c3251(0x35d)]=_0x4fe09e[_0x4c3251(0xda)](),_0x1ce179=this[_0x4c3251(0x143)]=_0x4fe09e[_0x4c3251(0xda)](),_0x3e08b6=_0x228316[_0x4c3251(0x120)],_0xede07=_0x1ce179[_0x4c3251(0x120)],_0x4082ce=0x0;_0x4082ce<_0x14812b;_0x4082ce++)_0x3e08b6[_0x4082ce]^=0x5c5c5c5c,_0xede07[_0x4082ce]^=0x36363636;_0x228316[_0x4c3251(0x31f)]=_0x1ce179[_0x4c3251(0x31f)]=_0x293dad,this[_0x4c3251(0x12c)]();},'reset':function(){var _0x3a432b=_0x3dc4c1,_0x393dda=this['_hasher'];_0x393dda[_0x3a432b(0x12c)](),_0x393dda['update'](this['_iKey']);},'update':function(_0x37f46f){var _0x1648cb=_0x3dc4c1;return this[_0x1648cb(0x1db)][_0x1648cb(0x112)](_0x37f46f),this;},'finalize':function(_0x9ef162){var _0x21f88c=_0x3dc4c1,_0x47de56=this['_hasher'],_0x219f45=_0x47de56[_0x21f88c(0x1f8)](_0x9ef162);_0x47de56['reset']();var _0x5d3134=_0x47de56[_0x21f88c(0x1f8)](this[_0x21f88c(0x35d)]['clone']()[_0x21f88c(0x1d0)](_0x219f45));return _0x5d3134;}});}());}));}(Je)),Je[_0x55dc06(0x1be)];}var Ks=Ye[_0x4a9f88(0x1be)],si;function Ai(){var _0x3e5a7a=_0x4a9f88;return si||(si=0x1,function(_0x2f6c25,_0x562d01){(function(_0x5927f7,_0x2394af,_0x2b8c5b){var _0x4d4ca0=_0x30f1;_0x2f6c25[_0x4d4ca0(0x1be)]=_0x2394af(ne(),Vs(),Gs());}(Ks,function(_0x22b5cb){return(function(){var _0x4df8f0=_0x30f1,_0x43399e=_0x22b5cb,_0x32680f=_0x43399e[_0x4df8f0(0x201)],_0x29b727=_0x32680f[_0x4df8f0(0x36e)],_0x721d47=_0x32680f[_0x4df8f0(0x140)],_0x1ce7c5=_0x43399e[_0x4df8f0(0x121)],_0x1f9463=_0x1ce7c5[_0x4df8f0(0x1f9)],_0x56c39a=_0x1ce7c5[_0x4df8f0(0x2c0)]=_0x29b727['extend']({'cfg':_0x29b727[_0x4df8f0(0x337)]({'keySize':0x80/0x20,'hasher':_0x1f9463,'iterations':0x1}),'init':function(_0x3367a7){var _0x1769cf=_0x4df8f0;this[_0x1769cf(0x222)]=this[_0x1769cf(0x222)][_0x1769cf(0x337)](_0x3367a7);},'compute':function(_0x59affb,_0x31b3fb){var _0x5f469f=_0x4df8f0;for(var _0x51c937,_0x215fad=this[_0x5f469f(0x222)],_0x468ad4=_0x215fad[_0x5f469f(0x24b)][_0x5f469f(0x1c9)](),_0x1c4117=_0x721d47[_0x5f469f(0x1c9)](),_0x3fd948=_0x1c4117[_0x5f469f(0x120)],_0x424037=_0x215fad[_0x5f469f(0x2eb)],_0x46889f=_0x215fad[_0x5f469f(0x1e6)];_0x3fd948[_0x5f469f(0x212)]<_0x424037;){_0x51c937&&_0x468ad4[_0x5f469f(0x112)](_0x51c937),_0x51c937=_0x468ad4[_0x5f469f(0x112)](_0x59affb)['finalize'](_0x31b3fb),_0x468ad4['reset']();for(var _0x5c1798=0x1;_0x5c1798<_0x46889f;_0x5c1798++)_0x51c937=_0x468ad4[_0x5f469f(0x1f8)](_0x51c937),_0x468ad4['reset']();_0x1c4117['concat'](_0x51c937);}return _0x1c4117[_0x5f469f(0x31f)]=_0x424037*0x4,_0x1c4117;}});_0x43399e[_0x4df8f0(0x2c0)]=function(_0x426a5c,_0x1f6767,_0x1eb337){var _0x66e7d3=_0x4df8f0;return _0x56c39a[_0x66e7d3(0x1c9)](_0x1eb337)[_0x66e7d3(0x70)](_0x426a5c,_0x1f6767);};}()),_0x22b5cb['EvpKDF'];}));}(Ye)),Ye[_0x3e5a7a(0x1be)];}var Xe={'exports':{}},zs=Xe['exports'],ri;function xi(){var _0x27be62=_0x4a9f88;return ri||(ri=0x1,function(_0x26a853,_0x1e2518){(function(_0x55e6fd,_0x15fb2b,_0x1db86c){_0x26a853['exports']=_0x15fb2b(ne(),Ai());}(zs,function(_0x30a19c){var _0x33566d=_0x30f1;_0x30a19c['lib'][_0x33566d(0x21d)]||function(_0xbe205b){var _0x3dff7e=_0x33566d,_0x2c9879=_0x30a19c,_0x132704=_0x2c9879[_0x3dff7e(0x201)],_0x44fc77=_0x132704[_0x3dff7e(0x36e)],_0x25bcc5=_0x132704[_0x3dff7e(0x140)],_0xe96c15=_0x132704[_0x3dff7e(0x157)],_0x4a97d7=_0x2c9879['enc'];_0x4a97d7[_0x3dff7e(0xeb)];var _0x4aee32=_0x4a97d7[_0x3dff7e(0x15b)],_0x377413=_0x2c9879[_0x3dff7e(0x121)],_0x28f793=_0x377413[_0x3dff7e(0x2c0)],_0x244fd6=_0x132704['Cipher']=_0xe96c15[_0x3dff7e(0x337)]({'cfg':_0x44fc77[_0x3dff7e(0x337)](),'createEncryptor':function(_0x2cef5b,_0x54c6ba){var _0x54880a=_0x3dff7e;return this['create'](this[_0x54880a(0x1fd)],_0x2cef5b,_0x54c6ba);},'createDecryptor':function(_0x4289ea,_0x3ce0fa){var _0x548dee=_0x3dff7e;return this['create'](this[_0x548dee(0x24d)],_0x4289ea,_0x3ce0fa);},'init':function(_0x591918,_0x8989fa,_0xeef5d){var _0x25aa54=_0x3dff7e;this[_0x25aa54(0x222)]=this[_0x25aa54(0x222)]['extend'](_0xeef5d),this[_0x25aa54(0x2b8)]=_0x591918,this[_0x25aa54(0x33a)]=_0x8989fa,this[_0x25aa54(0x12c)]();},'reset':function(){var _0x5656cf=_0x3dff7e;_0xe96c15['reset'][_0x5656cf(0x2ce)](this),this[_0x5656cf(0x31d)]();},'process':function(_0x3612de){var _0x20b8a7=_0x3dff7e;return this['_append'](_0x3612de),this[_0x20b8a7(0xb1)]();},'finalize':function(_0x432cca){var _0x21ad18=_0x3dff7e;_0x432cca&&this[_0x21ad18(0x264)](_0x432cca);var _0x24b2ae=this[_0x21ad18(0x24f)]();return _0x24b2ae;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x44123e(_0x1a1832){return typeof _0x1a1832=='string'?_0x255cd4:_0x1bd2bd;}return function(_0x5c5d1f){return{'encrypt':function(_0x9d9ee1,_0x9c9bac,_0x145b46){return _0x44123e(_0x9c9bac)['encrypt'](_0x5c5d1f,_0x9d9ee1,_0x9c9bac,_0x145b46);},'decrypt':function(_0x53dc35,_0x2a52ce,_0x46bf41){var _0x2b665c=_0x30f1;return _0x44123e(_0x2a52ce)[_0x2b665c(0x261)](_0x5c5d1f,_0x53dc35,_0x2a52ce,_0x46bf41);}};};}())});_0x132704[_0x3dff7e(0x1b0)]=_0x244fd6[_0x3dff7e(0x337)]({'_doFinalize':function(){var _0x52ce1d=this['_process'](!0x0);return _0x52ce1d;},'blockSize':0x1});var _0x1d6590=_0x2c9879['mode']={},_0xc14599=_0x132704['BlockCipherMode']=_0x44fc77['extend']({'createEncryptor':function(_0x1948d4,_0x33c64e){var _0xced1d7=_0x3dff7e;return this[_0xced1d7(0x7f)][_0xced1d7(0x1c9)](_0x1948d4,_0x33c64e);},'createDecryptor':function(_0x24e3a8,_0x23b5de){var _0x16508d=_0x3dff7e;return this['Decryptor'][_0x16508d(0x1c9)](_0x24e3a8,_0x23b5de);},'init':function(_0x16370d,_0x441986){var _0x2e95dc=_0x3dff7e;this[_0x2e95dc(0x159)]=_0x16370d,this[_0x2e95dc(0x1cc)]=_0x441986;}}),_0x5a4f50=_0x1d6590[_0x3dff7e(0x9c)]=(function(){var _0x548d98=_0x3dff7e,_0x5a7523=_0xc14599[_0x548d98(0x337)]();_0x5a7523[_0x548d98(0x7f)]=_0x5a7523[_0x548d98(0x337)]({'processBlock':function(_0x1c705b,_0x1875aa){var _0x21dcb9=_0x548d98,_0x5c1979=this[_0x21dcb9(0x159)],_0x4fabb4=_0x5c1979[_0x21dcb9(0x2ee)];_0x18f862[_0x21dcb9(0x2ce)](this,_0x1c705b,_0x1875aa,_0x4fabb4),_0x5c1979[_0x21dcb9(0x23a)](_0x1c705b,_0x1875aa),this[_0x21dcb9(0x19f)]=_0x1c705b[_0x21dcb9(0x2bb)](_0x1875aa,_0x1875aa+_0x4fabb4);}}),_0x5a7523[_0x548d98(0xe1)]=_0x5a7523[_0x548d98(0x337)]({'processBlock':function(_0x4869d0,_0x2d2c60){var _0x21e5ab=_0x548d98,_0x2b9a4d=this['_cipher'],_0x5808b6=_0x2b9a4d[_0x21e5ab(0x2ee)],_0x3a0f06=_0x4869d0['slice'](_0x2d2c60,_0x2d2c60+_0x5808b6);_0x2b9a4d[_0x21e5ab(0x148)](_0x4869d0,_0x2d2c60),_0x18f862[_0x21e5ab(0x2ce)](this,_0x4869d0,_0x2d2c60,_0x5808b6),this['_prevBlock']=_0x3a0f06;}});function _0x18f862(_0xe83c4f,_0x2c1630,_0xb2d82d){var _0x41723f=_0x548d98,_0x484d5c,_0x33f915=this[_0x41723f(0x1cc)];_0x33f915?(_0x484d5c=_0x33f915,this[_0x41723f(0x1cc)]=_0xbe205b):_0x484d5c=this[_0x41723f(0x19f)];for(var _0x52ed41=0x0;_0x52ed41<_0xb2d82d;_0x52ed41++)_0xe83c4f[_0x2c1630+_0x52ed41]^=_0x484d5c[_0x52ed41];}return _0x5a7523;}()),_0x13279c=_0x2c9879[_0x3dff7e(0xf3)]={},_0x238463=_0x13279c[_0x3dff7e(0x279)]={'pad':function(_0x40cb27,_0x203f08){var _0x18387c=_0x3dff7e;for(var _0x2d4432=_0x203f08*0x4,_0xe329f6=_0x2d4432-_0x40cb27[_0x18387c(0x31f)]%_0x2d4432,_0x531cbe=_0xe329f6<<0x18|_0xe329f6<<0x10|_0xe329f6<<0x8|_0xe329f6,_0x1c73e9=[],_0x4008c0=0x0;_0x4008c0<_0xe329f6;_0x4008c0+=0x4)_0x1c73e9[_0x18387c(0x257)](_0x531cbe);var _0x31d7d1=_0x25bcc5[_0x18387c(0x1c9)](_0x1c73e9,_0xe329f6);_0x40cb27[_0x18387c(0x1d0)](_0x31d7d1);},'unpad':function(_0x2e63b9){var _0x347b04=_0x3dff7e,_0xbc9a5f=_0x2e63b9[_0x347b04(0x120)][_0x2e63b9['sigBytes']-0x1>>>0x2]&0xff;_0x2e63b9[_0x347b04(0x31f)]-=_0xbc9a5f;}};_0x132704[_0x3dff7e(0x28f)]=_0x244fd6[_0x3dff7e(0x337)]({'cfg':_0x244fd6[_0x3dff7e(0x222)]['extend']({'mode':_0x5a4f50,'padding':_0x238463}),'reset':function(){var _0x2ff069=_0x3dff7e,_0x418d5f;_0x244fd6[_0x2ff069(0x12c)][_0x2ff069(0x2ce)](this);var _0x42e50b=this['cfg'],_0x42e0c3=_0x42e50b['iv'],_0x5d358e=_0x42e50b['mode'];this[_0x2ff069(0x2b8)]==this[_0x2ff069(0x1fd)]?_0x418d5f=_0x5d358e[_0x2ff069(0x228)]:(_0x418d5f=_0x5d358e['createDecryptor'],this[_0x2ff069(0x71)]=0x1),this[_0x2ff069(0x11e)]&&this[_0x2ff069(0x11e)][_0x2ff069(0xe5)]==_0x418d5f?this[_0x2ff069(0x11e)][_0x2ff069(0x286)](this,_0x42e0c3&&_0x42e0c3[_0x2ff069(0x120)]):(this[_0x2ff069(0x11e)]=_0x418d5f[_0x2ff069(0x2ce)](_0x5d358e,this,_0x42e0c3&&_0x42e0c3[_0x2ff069(0x120)]),this[_0x2ff069(0x11e)][_0x2ff069(0xe5)]=_0x418d5f);},'_doProcessBlock':function(_0x1d433e,_0x326ed5){var _0x12af3b=_0x3dff7e;this['_mode'][_0x12af3b(0x29c)](_0x1d433e,_0x326ed5);},'_doFinalize':function(){var _0x52e514=_0x3dff7e,_0x54867f,_0xfdeef8=this[_0x52e514(0x222)]['padding'];return this[_0x52e514(0x2b8)]==this[_0x52e514(0x1fd)]?(_0xfdeef8[_0x52e514(0xf3)](this[_0x52e514(0x83)],this[_0x52e514(0x2ee)]),_0x54867f=this[_0x52e514(0xb1)](!0x0)):(_0x54867f=this[_0x52e514(0xb1)](!0x0),_0xfdeef8['unpad'](_0x54867f)),_0x54867f;},'blockSize':0x80/0x20});var _0x33eadb=_0x132704[_0x3dff7e(0x2f9)]=_0x44fc77[_0x3dff7e(0x337)]({'init':function(_0x29e06f){var _0x1532cb=_0x3dff7e;this[_0x1532cb(0xf1)](_0x29e06f);},'toString':function(_0x533a41){var _0x24c8ff=_0x3dff7e;return(_0x533a41||this[_0x24c8ff(0x1cf)])[_0x24c8ff(0x122)](this);}}),_0x2c9930=_0x2c9879[_0x3dff7e(0x298)]={},_0x325bfc=_0x2c9930[_0x3dff7e(0x368)]={'stringify':function(_0x2323ce){var _0x1f6f2e=_0x3dff7e,_0x211e21,_0x52d734=_0x2323ce['ciphertext'],_0x43363d=_0x2323ce[_0x1f6f2e(0x255)];return _0x43363d?_0x211e21=_0x25bcc5['create']([0x53616c74,0x65645f5f])[_0x1f6f2e(0x1d0)](_0x43363d)[_0x1f6f2e(0x1d0)](_0x52d734):_0x211e21=_0x52d734,_0x211e21['toString'](_0x4aee32);},'parse':function(_0x44ede5){var _0x29e281=_0x3dff7e,_0x196d0c,_0x3f2ea4=_0x4aee32[_0x29e281(0x1d5)](_0x44ede5),_0x326d47=_0x3f2ea4[_0x29e281(0x120)];return _0x326d47[0x0]==0x53616c74&&_0x326d47[0x1]==0x65645f5f&&(_0x196d0c=_0x25bcc5[_0x29e281(0x1c9)](_0x326d47['slice'](0x2,0x4)),_0x326d47['splice'](0x0,0x4),_0x3f2ea4[_0x29e281(0x31f)]-=0x10),_0x33eadb[_0x29e281(0x1c9)]({'ciphertext':_0x3f2ea4,'salt':_0x196d0c});}},_0x1bd2bd=_0x132704[_0x3dff7e(0x213)]=_0x44fc77[_0x3dff7e(0x337)]({'cfg':_0x44fc77[_0x3dff7e(0x337)]({'format':_0x325bfc}),'encrypt':function(_0x43ebd4,_0x328a37,_0x28e227,_0x6164ad){var _0x22ed11=_0x3dff7e;_0x6164ad=this[_0x22ed11(0x222)][_0x22ed11(0x337)](_0x6164ad);var _0x4d48e4=_0x43ebd4[_0x22ed11(0x228)](_0x28e227,_0x6164ad),_0x1673d5=_0x4d48e4['finalize'](_0x328a37),_0x177ec9=_0x4d48e4[_0x22ed11(0x222)];return _0x33eadb[_0x22ed11(0x1c9)]({'ciphertext':_0x1673d5,'key':_0x28e227,'iv':_0x177ec9['iv'],'algorithm':_0x43ebd4,'mode':_0x177ec9['mode'],'padding':_0x177ec9['padding'],'blockSize':_0x43ebd4[_0x22ed11(0x2ee)],'formatter':_0x6164ad[_0x22ed11(0x298)]});},'decrypt':function(_0x9b12ef,_0x24f144,_0x37b612,_0x577534){var _0x43b040=_0x3dff7e;_0x577534=this[_0x43b040(0x222)][_0x43b040(0x337)](_0x577534),_0x24f144=this[_0x43b040(0x296)](_0x24f144,_0x577534['format']);var _0x406a6b=_0x9b12ef['createDecryptor'](_0x37b612,_0x577534)[_0x43b040(0x1f8)](_0x24f144[_0x43b040(0x259)]);return _0x406a6b;},'_parse':function(_0x32c97c,_0x2d17ed){var _0x453cf3=_0x3dff7e;return typeof _0x32c97c==_0x453cf3(0x2cc)?_0x2d17ed[_0x453cf3(0x1d5)](_0x32c97c,this):_0x32c97c;}}),_0x16ed81=_0x2c9879[_0x3dff7e(0x25f)]={},_0x581bd7=_0x16ed81[_0x3dff7e(0x368)]={'execute':function(_0x1888a0,_0x1f5353,_0x2b0d30,_0xedd0bd,_0x1610bf){var _0x248eaf=_0x3dff7e;if(_0xedd0bd||(_0xedd0bd=_0x25bcc5[_0x248eaf(0x217)](0x40/0x8)),_0x1610bf)var _0x128477=_0x28f793[_0x248eaf(0x1c9)]({'keySize':_0x1f5353+_0x2b0d30,'hasher':_0x1610bf})['compute'](_0x1888a0,_0xedd0bd);else var _0x128477=_0x28f793[_0x248eaf(0x1c9)]({'keySize':_0x1f5353+_0x2b0d30})[_0x248eaf(0x70)](_0x1888a0,_0xedd0bd);var _0x52d991=_0x25bcc5[_0x248eaf(0x1c9)](_0x128477[_0x248eaf(0x120)][_0x248eaf(0x2bb)](_0x1f5353),_0x2b0d30*0x4);return _0x128477['sigBytes']=_0x1f5353*0x4,_0x33eadb[_0x248eaf(0x1c9)]({'key':_0x128477,'iv':_0x52d991,'salt':_0xedd0bd});}},_0x255cd4=_0x132704[_0x3dff7e(0x30e)]=_0x1bd2bd[_0x3dff7e(0x337)]({'cfg':_0x1bd2bd[_0x3dff7e(0x222)][_0x3dff7e(0x337)]({'kdf':_0x581bd7}),'encrypt':function(_0x4fc3a3,_0x2a9a2f,_0x445d23,_0x7a5e6b){var _0x407bd7=_0x3dff7e;_0x7a5e6b=this[_0x407bd7(0x222)][_0x407bd7(0x337)](_0x7a5e6b);var _0x45799c=_0x7a5e6b[_0x407bd7(0x25f)][_0x407bd7(0xea)](_0x445d23,_0x4fc3a3[_0x407bd7(0x2eb)],_0x4fc3a3[_0x407bd7(0x1cd)],_0x7a5e6b['salt'],_0x7a5e6b[_0x407bd7(0x24b)]);_0x7a5e6b['iv']=_0x45799c['iv'];var _0x3a9e23=_0x1bd2bd[_0x407bd7(0x281)][_0x407bd7(0x2ce)](this,_0x4fc3a3,_0x2a9a2f,_0x45799c['key'],_0x7a5e6b);return _0x3a9e23[_0x407bd7(0xf1)](_0x45799c),_0x3a9e23;},'decrypt':function(_0x52f4a0,_0x51b03e,_0x123f41,_0x1e4518){var _0x10b33d=_0x3dff7e;_0x1e4518=this[_0x10b33d(0x222)][_0x10b33d(0x337)](_0x1e4518),_0x51b03e=this[_0x10b33d(0x296)](_0x51b03e,_0x1e4518[_0x10b33d(0x298)]);var _0x21cd1f=_0x1e4518[_0x10b33d(0x25f)]['execute'](_0x123f41,_0x52f4a0['keySize'],_0x52f4a0['ivSize'],_0x51b03e[_0x10b33d(0x255)],_0x1e4518[_0x10b33d(0x24b)]);_0x1e4518['iv']=_0x21cd1f['iv'];var _0x48c7f0=_0x1bd2bd['decrypt'][_0x10b33d(0x2ce)](this,_0x52f4a0,_0x51b03e,_0x21cd1f[_0x10b33d(0x18f)],_0x1e4518);return _0x48c7f0;}});}();}));}(Xe)),Xe[_0x27be62(0x1be)];}var Ys=We[_0x4a9f88(0x1be)],oi;function qs(){var _0x33ae01=_0x4a9f88;return oi||(oi=0x1,function(_0x4f3741,_0x152b3b){(function(_0x33c78d,_0x279364,_0x55b516){_0x4f3741['exports']=_0x279364(ne(),Ui(),Bs(),Ai(),xi());}(Ys,function(_0x5ae98d){var _0x427f1b=_0x30f1;return(function(){var _0x472cb8=_0x30f1,_0x5d5bf4=_0x5ae98d,_0x2fb9c4=_0x5d5bf4[_0x472cb8(0x201)],_0x2f5ba8=_0x2fb9c4[_0x472cb8(0x28f)],_0x47ef53=_0x5d5bf4[_0x472cb8(0x121)],_0x5a9e5a=[],_0x101139=[],_0x2276a4=[],_0x394869=[],_0x585428=[],_0x30f5e8=[],_0x9ebbcd=[],_0x232762=[],_0x5692a0=[],_0x2c7820=[];(function(){for(var _0x753ee5=[],_0x24e73d=0x0;_0x24e73d<0x100;_0x24e73d++)_0x24e73d<0x80?_0x753ee5[_0x24e73d]=_0x24e73d<<0x1:_0x753ee5[_0x24e73d]=_0x24e73d<<0x1^0x11b;for(var _0x3ca082=0x0,_0xed3faa=0x0,_0x24e73d=0x0;_0x24e73d<0x100;_0x24e73d++){var _0x6be116=_0xed3faa^_0xed3faa<<0x1^_0xed3faa<<0x2^_0xed3faa<<0x3^_0xed3faa<<0x4;_0x6be116=_0x6be116>>>0x8^_0x6be116&0xff^0x63,_0x5a9e5a[_0x3ca082]=_0x6be116,_0x101139[_0x6be116]=_0x3ca082;var _0xb634d4=_0x753ee5[_0x3ca082],_0x21ac47=_0x753ee5[_0xb634d4],_0xf19edf=_0x753ee5[_0x21ac47],_0x23c0b0=_0x753ee5[_0x6be116]*0x101^_0x6be116*0x1010100;_0x2276a4[_0x3ca082]=_0x23c0b0<<0x18|_0x23c0b0>>>0x8,_0x394869[_0x3ca082]=_0x23c0b0<<0x10|_0x23c0b0>>>0x10,_0x585428[_0x3ca082]=_0x23c0b0<<0x8|_0x23c0b0>>>0x18,_0x30f5e8[_0x3ca082]=_0x23c0b0;var _0x23c0b0=_0xf19edf*0x1010101^_0x21ac47*0x10001^_0xb634d4*0x101^_0x3ca082*0x1010100;_0x9ebbcd[_0x6be116]=_0x23c0b0<<0x18|_0x23c0b0>>>0x8,_0x232762[_0x6be116]=_0x23c0b0<<0x10|_0x23c0b0>>>0x10,_0x5692a0[_0x6be116]=_0x23c0b0<<0x8|_0x23c0b0>>>0x18,_0x2c7820[_0x6be116]=_0x23c0b0,_0x3ca082?(_0x3ca082=_0xb634d4^_0x753ee5[_0x753ee5[_0x753ee5[_0xf19edf^_0xb634d4]]],_0xed3faa^=_0x753ee5[_0x753ee5[_0xed3faa]]):_0x3ca082=_0xed3faa=0x1;}}());var _0x7ff4e7=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f0f77=_0x47ef53['AES']=_0x2f5ba8['extend']({'_doReset':function(){var _0x5bdbab=_0x472cb8,_0x18373a;if(!(this[_0x5bdbab(0x30b)]&&this[_0x5bdbab(0x251)]===this[_0x5bdbab(0x33a)])){for(var _0x5daf03=this['_keyPriorReset']=this[_0x5bdbab(0x33a)],_0x353cd4=_0x5daf03[_0x5bdbab(0x120)],_0x1c9d5b=_0x5daf03[_0x5bdbab(0x31f)]/0x4,_0x5d700e=this[_0x5bdbab(0x30b)]=_0x1c9d5b+0x6,_0x4b3487=(_0x5d700e+0x1)*0x4,_0x477a78=this[_0x5bdbab(0x272)]=[],_0x327e51=0x0;_0x327e51<_0x4b3487;_0x327e51++)_0x327e51<_0x1c9d5b?_0x477a78[_0x327e51]=_0x353cd4[_0x327e51]:(_0x18373a=_0x477a78[_0x327e51-0x1],_0x327e51%_0x1c9d5b?_0x1c9d5b>0x6&&_0x327e51%_0x1c9d5b==0x4&&(_0x18373a=_0x5a9e5a[_0x18373a>>>0x18]<<0x18|_0x5a9e5a[_0x18373a>>>0x10&0xff]<<0x10|_0x5a9e5a[_0x18373a>>>0x8&0xff]<<0x8|_0x5a9e5a[_0x18373a&0xff]):(_0x18373a=_0x18373a<<0x8|_0x18373a>>>0x18,_0x18373a=_0x5a9e5a[_0x18373a>>>0x18]<<0x18|_0x5a9e5a[_0x18373a>>>0x10&0xff]<<0x10|_0x5a9e5a[_0x18373a>>>0x8&0xff]<<0x8|_0x5a9e5a[_0x18373a&0xff],_0x18373a^=_0x7ff4e7[_0x327e51/_0x1c9d5b|0x0]<<0x18),_0x477a78[_0x327e51]=_0x477a78[_0x327e51-_0x1c9d5b]^_0x18373a);for(var _0x50b24b=this[_0x5bdbab(0x1d4)]=[],_0x37945d=0x0;_0x37945d<_0x4b3487;_0x37945d++){var _0x327e51=_0x4b3487-_0x37945d;if(_0x37945d%0x4)var _0x18373a=_0x477a78[_0x327e51];else var _0x18373a=_0x477a78[_0x327e51-0x4];_0x37945d<0x4||_0x327e51<=0x4?_0x50b24b[_0x37945d]=_0x18373a:_0x50b24b[_0x37945d]=_0x9ebbcd[_0x5a9e5a[_0x18373a>>>0x18]]^_0x232762[_0x5a9e5a[_0x18373a>>>0x10&0xff]]^_0x5692a0[_0x5a9e5a[_0x18373a>>>0x8&0xff]]^_0x2c7820[_0x5a9e5a[_0x18373a&0xff]];}}},'encryptBlock':function(_0x3916d8,_0x5239a2){var _0x56bad1=_0x472cb8;this[_0x56bad1(0x103)](_0x3916d8,_0x5239a2,this[_0x56bad1(0x272)],_0x2276a4,_0x394869,_0x585428,_0x30f5e8,_0x5a9e5a);},'decryptBlock':function(_0x422fd1,_0x2d3bb8){var _0x17e9f9=_0x422fd1[_0x2d3bb8+0x1];_0x422fd1[_0x2d3bb8+0x1]=_0x422fd1[_0x2d3bb8+0x3],_0x422fd1[_0x2d3bb8+0x3]=_0x17e9f9,this['_doCryptBlock'](_0x422fd1,_0x2d3bb8,this['_invKeySchedule'],_0x9ebbcd,_0x232762,_0x5692a0,_0x2c7820,_0x101139);var _0x17e9f9=_0x422fd1[_0x2d3bb8+0x1];_0x422fd1[_0x2d3bb8+0x1]=_0x422fd1[_0x2d3bb8+0x3],_0x422fd1[_0x2d3bb8+0x3]=_0x17e9f9;},'_doCryptBlock':function(_0x2e07ee,_0x279347,_0x3644ce,_0x1f6e4e,_0x4097a6,_0x108494,_0x373c62,_0x19eaeb){var _0x5eae75=_0x472cb8;for(var _0x463889=this[_0x5eae75(0x30b)],_0x1774c7=_0x2e07ee[_0x279347]^_0x3644ce[0x0],_0x62773e=_0x2e07ee[_0x279347+0x1]^_0x3644ce[0x1],_0x2ff36d=_0x2e07ee[_0x279347+0x2]^_0x3644ce[0x2],_0x25e115=_0x2e07ee[_0x279347+0x3]^_0x3644ce[0x3],_0x345c88=0x4,_0x28b879=0x1;_0x28b879<_0x463889;_0x28b879++){var _0x261388=_0x1f6e4e[_0x1774c7>>>0x18]^_0x4097a6[_0x62773e>>>0x10&0xff]^_0x108494[_0x2ff36d>>>0x8&0xff]^_0x373c62[_0x25e115&0xff]^_0x3644ce[_0x345c88++],_0x2b0df2=_0x1f6e4e[_0x62773e>>>0x18]^_0x4097a6[_0x2ff36d>>>0x10&0xff]^_0x108494[_0x25e115>>>0x8&0xff]^_0x373c62[_0x1774c7&0xff]^_0x3644ce[_0x345c88++],_0x1797b5=_0x1f6e4e[_0x2ff36d>>>0x18]^_0x4097a6[_0x25e115>>>0x10&0xff]^_0x108494[_0x1774c7>>>0x8&0xff]^_0x373c62[_0x62773e&0xff]^_0x3644ce[_0x345c88++],_0x5d824c=_0x1f6e4e[_0x25e115>>>0x18]^_0x4097a6[_0x1774c7>>>0x10&0xff]^_0x108494[_0x62773e>>>0x8&0xff]^_0x373c62[_0x2ff36d&0xff]^_0x3644ce[_0x345c88++];_0x1774c7=_0x261388,_0x62773e=_0x2b0df2,_0x2ff36d=_0x1797b5,_0x25e115=_0x5d824c;}var _0x261388=(_0x19eaeb[_0x1774c7>>>0x18]<<0x18|_0x19eaeb[_0x62773e>>>0x10&0xff]<<0x10|_0x19eaeb[_0x2ff36d>>>0x8&0xff]<<0x8|_0x19eaeb[_0x25e115&0xff])^_0x3644ce[_0x345c88++],_0x2b0df2=(_0x19eaeb[_0x62773e>>>0x18]<<0x18|_0x19eaeb[_0x2ff36d>>>0x10&0xff]<<0x10|_0x19eaeb[_0x25e115>>>0x8&0xff]<<0x8|_0x19eaeb[_0x1774c7&0xff])^_0x3644ce[_0x345c88++],_0x1797b5=(_0x19eaeb[_0x2ff36d>>>0x18]<<0x18|_0x19eaeb[_0x25e115>>>0x10&0xff]<<0x10|_0x19eaeb[_0x1774c7>>>0x8&0xff]<<0x8|_0x19eaeb[_0x62773e&0xff])^_0x3644ce[_0x345c88++],_0x5d824c=(_0x19eaeb[_0x25e115>>>0x18]<<0x18|_0x19eaeb[_0x1774c7>>>0x10&0xff]<<0x10|_0x19eaeb[_0x62773e>>>0x8&0xff]<<0x8|_0x19eaeb[_0x2ff36d&0xff])^_0x3644ce[_0x345c88++];_0x2e07ee[_0x279347]=_0x261388,_0x2e07ee[_0x279347+0x1]=_0x2b0df2,_0x2e07ee[_0x279347+0x2]=_0x1797b5,_0x2e07ee[_0x279347+0x3]=_0x5d824c;},'keySize':0x100/0x20});_0x5d5bf4[_0x472cb8(0x11b)]=_0x2f5ba8['_createHelper'](_0x3f0f77);}()),_0x5ae98d[_0x427f1b(0x11b)];}));}(We)),We[_0x33ae01(0x1be)];}var Js=qs();const Xs=je(Js);var Zs=Ui();const ai=je(Zs);var Ze={'exports':{}},Qs=Ze[_0x4a9f88(0x1be)],ci;function er(){var _0x2cee25=_0x4a9f88;return ci||(ci=0x1,function(_0x4cc3d3,_0xf702d9){(function(_0x1d424f,_0x3d71fb){var _0x5c58ab=_0x30f1;_0x4cc3d3[_0x5c58ab(0x1be)]=_0x3d71fb(ne());}(Qs,function(_0x5956bd){var _0x37ed0a=_0x30f1;return _0x5956bd[_0x37ed0a(0xee)]['Utf8'];}));}(Ze)),Ze[_0x2cee25(0x1be)];}var tr=er();const ir=je(tr);var Qe={'exports':{}},nr=Qe[_0x4a9f88(0x1be)],hi;function sr(){var _0x7ebc36=_0x4a9f88;return hi||(hi=0x1,function(_0x13fb18,_0x500151){(function(_0x320080,_0x5b8285){_0x13fb18['exports']=_0x5b8285(ne());}(nr,function(_0x543488){var _0x5e59e9=_0x30f1;return(function(){var _0x2d7668=_0x30f1;if(typeof ArrayBuffer==_0x2d7668(0x196)){var _0x5f0316=_0x543488,_0x15f629=_0x5f0316[_0x2d7668(0x201)],_0x566ec2=_0x15f629[_0x2d7668(0x140)],_0x359e98=_0x566ec2[_0x2d7668(0x286)],_0x407723=_0x566ec2[_0x2d7668(0x286)]=function(_0x3f8249){var _0x387da0=_0x2d7668;if(_0x3f8249 instanceof ArrayBuffer&&(_0x3f8249=new Uint8Array(_0x3f8249)),(_0x3f8249 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f8249 instanceof Uint8ClampedArray||_0x3f8249 instanceof Int16Array||_0x3f8249 instanceof Uint16Array||_0x3f8249 instanceof Int32Array||_0x3f8249 instanceof Uint32Array||_0x3f8249 instanceof Float32Array||_0x3f8249 instanceof Float64Array)&&(_0x3f8249=new Uint8Array(_0x3f8249[_0x387da0(0x13a)],_0x3f8249[_0x387da0(0x288)],_0x3f8249['byteLength'])),_0x3f8249 instanceof Uint8Array){for(var _0x36b0d9=_0x3f8249[_0x387da0(0x1a1)],_0x445cd0=[],_0x1be0d4=0x0;_0x1be0d4<_0x36b0d9;_0x1be0d4++)_0x445cd0[_0x1be0d4>>>0x2]|=_0x3f8249[_0x1be0d4]<<0x18-_0x1be0d4%0x4*0x8;_0x359e98[_0x387da0(0x2ce)](this,_0x445cd0,_0x36b0d9);}else _0x359e98[_0x387da0(0xa3)](this,arguments);};_0x407723[_0x2d7668(0x12d)]=_0x566ec2;}}()),_0x543488[_0x5e59e9(0x201)][_0x5e59e9(0x140)];}));}(Qe)),Qe[_0x7ebc36(0x1be)];}var rr=sr();const or=je(rr);var et={'exports':{}},ar=et[_0x4a9f88(0x1be)],_i;function _0x19a6(){var _0x274eb6=['_changesetReqId','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_onRemoteRejected','_toggleOffline','CHANGESET_ACK','UNIVER_SHEET','listRoles','_collaborationPaused','JOINING','readAsDataURL','FETCH_MISSING','_getUndoStack','StreamCipher','_getAPIPrefixPath','_getUploadFileURL','set','[CollaborationSession]','addImageSourceCache','\x20in\x20_schedule.','baseRev','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_redoStacks','_onRemoteChangeset','fromCharCode','CLOSE_ROOM','offline','exports','change$','onSendChangeset','SNAPSHOT_URL_KEY','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','visibilityState','UNIVER_UNKNOWN','deleteCollaborator','_clearCollaborationTimeoutTimer','disposeWithMe','addEventListener','create','loadSheet','every','_iv','ivSize','getResourcesRequest','formatter','concat','_HTTPService','_fetchMissChangesets','subscribe','_invKeySchedule','parse','/universer-api/comb','_singleActiveUnitService','enableOfflineEditing','CHANGESET_SHOULD_RETRY','getCurrentUnitForType','_hasher','SYNCED','clamp','params','entityInit$','getTime','headers','_executeRemoteChangeset','_substituteUndoStack','_configService','_waitCount','iterations','location','/allowed','ONLINE','objectType','IDLE','action','UNRECOGNIZED','sessionStatus','[DataLoaderController]','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','uploadFileServerUrl','wsSessionTicketUrl','DEFAULT_FILE_NAME','APPLY_DUPLICATED','_remoteChangesetQueue','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','fetch_missing','finalize','MD5','status$','telemetry\x20info\x20is\x20not\x20initialized','list','_ENC_XFORM_MODE','_scheduleTimestamp','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CONNECTOR_DATA_TOO_LARGE','lib','collaboration-client.config','_createHelper','COMMENT_UPDATE','_entityInit$','APPLY_NON_SEQUENTIAL_REVISION','transformStack\x20failed!','createSocket','SNAPSHOT_INVALID_SNAPSHOT','_resendTimer','NoPadding','HMAC','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','close$','event$','HmacMD5','getLatestCsReqIdBySid','length','SerializableCipher','onStateChange','_snapshotService','getInterceptPoints','random','error','[SyncedState]:\x20received\x20rejection.','OTHER_CLIENT_EDITING','href','LICENSE_EXPORT_SIZE_EXCEEDED','Cipher','_compressMutationService','ENSURE_SNAPSHOT_EXECUTION','ALREADY_EXISTS','origin','cfg','UNDEFINED','_removeRoom','pending','?url=','_registerDependencies','createEncryptor','Hasher','_imageSourceCache','getUnitType','getActiveSheet','objects','_onUserLeave','getCurrentRevOfUnit','6086032dZmIpM','size','findIndex','join','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','appendMutation','_initCloseConn','_isPermissionRej','getWorkbookSelections','refreshPermission','encryptBlock','\x20to\x20','failed\x20to\x20apply\x20missed\x20changesets!','_substituteRedoStack','unitId','MUTATION','_retryCount','_awaitingChangeset','SOCKET_FAILED_RETRY','/collaborator','_loadDoc','SHA1','_retryConnectingTimer','updateCollaborator','leaveEvent','_sheetTransformSelectionsService','save\x20fail\x20reason\x20is\x20','hasher','UNIVER_SLIDE','_DEC_XFORM_MODE','1000741sNIQQB','_doFinalize','isArray','_keyPriorReset','LIVESHARE_FETCH_OPERATIONS','_initMergeInterceptor','YUUMI_RATE_OVER_LIMIT','salt','ticket','push','catch','ciphertext','onMissingChangesets','createInstance','_onJoinRoomEvent','put','[CollaborationSessionService]:\x20socket\x20error','kdf','_collaborationTimeoutTimer','decrypt','/-/object/-/batch_allowed','_replayCachedMutations','_append','UNKNOWN_CODE','collaboratorID','UNKNOWN_CMD','POST','_init','onSyncEditingCollabCursor','_tryEnsureSocket','_socketReady','transformSelections','getTypeOfUnitAdded$','48lmZvyC','_schedule','_ws','_keySchedule','loginUrlKey','submit\x20changeset\x20error!','&assign=','avatar','range','setShowComponents','Pkcs7','_initUnitPermissionChange','emitEvent','_rescheduleHeartbeat','session.room-cnt-exceeds','clearUndoRedo','/universer-api/file/{fileID}/sign-url','onRemoteChangeset','encrypt','awaitingChangeset','sessionTicket','NOT_COLLAB','$super','init','_onCombEvent','byteOffset','result','ERROR_IMAGE','code','_event$','socket\x20close','SNAPSHOT_HAS_BEEN_REMOVED','BlockCipher','_clearTimeoutTimer','_univerInstanceService','has','39TUnnCn','_change$','originalMeta','_parse','startTime','format','requestParams','objectActions','_instanceService','processBlock','SUBMIT_CHANGESET_TIMEOUT','_status$','PSEUDO_FETCH_MISSING_RESULT','collaboration_new_changeset','subType','onRemoteRej','Worksheet','onTransformRemoteChangesetByIMECache','updateOfflineData','indexOf','LICENSE_IMPORT_SIZE_EXCEEDED','sid','NEW_CHANGESETS','bind','SNAPSHOT_SERVER_URL_KEY','loadDoc','_localCacheService','CHANGESET_REJ','ceil','_resendWithTimeout','sendChangesetTimeout','updatePermissionPoint','_entities','fromCollab','onRemoteAck','2230clwUyq','SOCKET_FAILED','_xformMode','_updateLocalCache','unitID','slice','_resendTimeout','csAckEvent','data','state$','EvpKDF','GLOBAL_ROOMS_CNT_EXCEEDS','_permissionService','fetchThroughInterceptors','splice','subject','error$','reject','COMPLETION_FINISHED','online','unknown','collaboration-client.local-cache-service','string','ERROR_EXCEED_SIZE','call','defineProperty','_clearLocalCache','application/json','_injector','socket$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','requireSession','synced','_disableEditing','c2Prime','image/png','duration','_showConflictNotification','FAIL','memberID','override','toggleOnline','entries','JOIN_ROOM_FAILED','_onOffline','url','image/bmp','getFocusedUnit','_socket$','RECV','_type','_memberService','_createSocket','keySize','asObservable','complete','blockSize','toString','COMPRESS_MUTATION_SEND','UNIVER_PROJECT','forEach','UNAUTHENTICATED','_nDataBytes','awaiting','_unitInfo$','replace','[CollaborationSessionService]','CipherParams','_changesetSessionId','_unitID','includes','_undoStacks','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','body','Latin1','APPLY_REJECT','debug','stopTime','closeSession','sheets','charAt','_commandService','getSheetId','PERMISSION_DENIED','_startTelemetryCollaborationNewChangeset','_nRounds','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PasswordBasedCipher','name','encode','_onMessage','fetchMissingChangesets','LIVESHARE_NEW_HOST','csShouldRetryEvent','HEARTBEAT','searchParams','onTransformSelections','msCrypto','_submitChangeset','transformMutationsWithChangeset','APPLY_REVISION_CONFILICT','_transformService','_doReset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sigBytes','getCurrentUser','_throwTelemetryCollaborationNewChangeset','MSG_FOR_ERROR','getTargetByPermissionId','UNIVER_DOC','deepClone','_userManagerService','_initRequestHeader','Malformed\x20UTF-8\x20data','session.room-not-exists','revision','responseType','USERS_ENTER','[OfflineState]:\x20received\x20rejection.','_members','substr','[CollaborationUndoRedoService]','OFFLINE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20open.','eventID','LEAVE','get','extend','downloadEndpointUrl','SHOULD_CLOSE_CONN','_key','_createSocketURL','_sendingTimer','PENDING','post','_queuedRemoteChangesets','reduce','?size=','9544212ADCLpm','userID','_clearHeartbeatTimer','_sendHeartbeatTimer','encodeURIComponent','reconnect','localeService','compose','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getRandomValues','HELLO','_onConnectionFailed','_revisionService','COLLAB_WEB_SOCKET_URL','/universer-api/authz','UNIVER_COLLABORATION_CLIENT_PLUGIN','_state$','[DataLoaderService]','hasOwnProperty','floor','/universer-api/oidc/authpage','_createHmacHelper','max','isPermissionRej','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','interceptor','_sessions','_oKey','UPDATE_PERMISSION_OBJ','_collaborationSessionService','open$','_transformRemoteChangesetByStateCache','_createInitialState','append','setTimeout','LIVESHARE_OPERATION','type','clear','OpenSSL','__Key__','permissionRejEvent','_getSignURL','not_collab','next','Base','liveShareNewHost','APPLY_PERMISSION_DENIED','updateMember','updateCursorEvent','113108peTZaT','_telemetryService','compute','_minBufferSize','cmd','UnitSnapshot','map','_pendingMutations','_createInitialStateImpl','RETRY_CONNECTING_MAX_COUNT','target','/new_changes','joinEvent','LICENSE_DISTRO_REJECTED','getAllMembers','then','/universer-api/snapshot/','Encryptor','getOwnPropertyDescriptor','_transformSelections','collaborators','_data','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','saveSnapshot','commentUpdate$','_collaborationUIEventService','min','onTransformIME','UnitEmbedded','SelectRange','INTERNAL_ERROR','/fetchmissing?from=','onTransformState','transformChangesets','saveChangeset','_sender','state','default','_updateStatus','_timeoutTimer','LOGIN_URL_KEY','confirm','Workbook','INVALID_ARGUMENT','equals','unitInfo$','CBC','c1Prime','_sendHeartbeat','_commentUpdate$','_checkMissing','onRemoteRetry','9XBEpGn','apply','dispose$','title','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_shouldReportTelemetry','JOIN_ROOM_NOT_EXISTS','NO_OTHER_CLIENTS_EDITING','collaMsg','m2Prime','now','initWorkbookPermissionChange','setCurrentUser','[CollaborationEntity]','/unit/','_process','COLLAB_SUBMIT_CHANGESET_URL','_clearRedo','enableSingleActiveInstanceLock','find','actions','removeMember','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','collabWebSocketUrl','ruleRefresh','_startCollaboration','onMissedChangesetFetched','/universer-api/stream/file/upload','members','PERMISSION_REJ','method','[OfflineState]:\x20received\x20acknowledgement.','signUrlServerUrl','toggleOffline','_joinRoom','3259450mSEDpQ','Could\x20not\x20dynamically\x20require\x20\x22','incrementRevOfUnit','authzUrl','_getSendChangesetTimeout','LICENSE_MAX_UNITS_EXCEEDED','rev','HttpExport','HmacSHA1','socketService','YUUMI_UNABLE_LOAD_URL','newCsEvent','startsWith','_lockTransition','file','getConfig','_createHandler','_applyRemoteChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','USERS_LEAVE','JOIN_ROOM_PERMISSION_DENIED','clone','BASE64','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','setConfig','[PendingState]:\x20received\x20rejection.','image/jpeg','_loadSheet','Decryptor','session','setWaitCount','updatePermissionObjEvent','__creator','/object','NOT_FOUND','_unlockTransition','OTHER_CLIENTS_EDITING','execute','Utf8','CHANGESET_REVISION_CONFILICT','PERSON','enc','getMemberID','onCommentUpdate','mixIn','getUnitId','pad','_updateState','Undefined','readInt32LE','&source=','routeKey','conflict','allowed','getMember','loadOfflineData','getSnapshotAPIPath','_onRemoteRetry','getCollabEntity$','UUID','status','pipe','_doCryptBlock','/-/object/list','getRoom','_listenToOnlineEvent','AWAITING_WITH_PENDING','randomBytes','LIVESHARE_TERMINATE','_handlerCallback','Error\x20on\x20receiving\x20event','onload','getUnitOnRev','JOIN_ROOM_FULL','visibilitychange','_httpService','fetching\x20missing\x20changesets\x20from\x20','update','_handler','selections','getTypeOfUnitDisposed$','addHandlerCallback','TOO_MANY_REQUESTS','_getCurrentRevision','[PendingState]:\x20received\x20acknowledgement.','filter','AES','crypto','objectID','_mode','_hash','words','algo','stringify','getSheetBlock','joinRsp','_onConflict','saveSheetBlock','executeCommand','snapshotServerUrl','onTransformRemoteChangesetByStateCache','_incrementRevisionNumber','People','reset','prototype','_getAPIPrefix','_onConnectionOpen','_authzIoService','changesets','registerHTTPInterceptor','_transformIMECache','_transformUndoredo','resend','_undoRedoService','_syncEditingCollabCursor','_eventService','dispose','buffer','AWAITING','_telemetryInfo','_config','_waitForHeartbeatResponse','getPermissionPoint','WordArray','editing\x20status\x20changed\x20to','32clnnLp','_iKey','/block/','resourceIDs','_socketMessageSubscription','_logService','decryptBlock','fetchMiss','delete','_initEventListeners','COMPRESS_MUTATION_APPLY','_decreaseWaiting','_tryReconnect','_getLoginPath','INGEST','_snapshotServerService','24NDqcOz','onStarting','_reverseMap','Hex','HEARTBEAT_TIMEOUT','BufferedBlockAlgorithm','446088MWuIcG','_cipher','onCommandExecuted','Base64','AUTHZ_URL_KEY','reqId','_onUserJoin','FileId','connection\x20error','JOIN','_transformStack','_getRedoStack','resolve','charCodeAt','randomUUID','_clearScheduledTask','_onRecvEvent','/universer-api/user/session-ticket','_socketService','sessionStatus$','mutations','_localeService','unitId\x20is\x20not\x20found','_candidateSocket','_getSessionTicket','SUBMIT_CHANGESET','_commentService','roomInfos','getImageSourceCache','snapshot','close','_getCtorByUniverType','_exhaustRemoteChangesetQueue','infoRsp','symbol','LIVESHARE_REQUEST_HOST','localCacheService','transformUndoRedo','getValue','listCollaborators','UPDATE_CURSOR','_onRemoteACK','getImage','_scheduleCollaborationTimeoutTimer','HttpImport','getCollabEntity','12991hPNDZc','_transitionLocked','CONFLICT','_onFetchMissResult','_socket','_state','add','putCollaborators','commentUpdateEvent','key','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_acknowledgedAwaitingChangeset','values','focused$','_onLocalMutation','value','function','_initDependencies','_roomMembers','_listenToOfflineEvent','univer-pro.collaboration-client-socket-service','textRanges','_transformStateCache','send','[SyncedState]:\x20received\x20acknowledgement.','_prevBlock','unsubscribe','byteLength','[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.','_sessionStatus$'];_0x19a6=function(){return _0x274eb6;};return _0x19a6();}function cr(){return _i||(_i=0x1,function(_0x162a76,_0x4c83bc){(function(_0x25ec31,_0x357863,_0x497c53){var _0x52fbc5=_0x30f1;_0x162a76[_0x52fbc5(0x1be)]=_0x357863(ne(),xi());}(ar,function(_0x2a988d){var _0x29d6b6=_0x30f1;return _0x2a988d['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2a988d['pad'][_0x29d6b6(0x20b)];}));}(et)),et['exports'];}var hr=cr();const _r=je(hr);function lr(_0x33545a,_0x49023f){var _0x332dee=_0x4a9f88;const _0xa8584a=_0x49023f-_0x33545a['length']%_0x49023f,_0x5db627=String[_0x332dee(0x1bb)](_0xa8584a)['repeat'](_0xa8584a);return _0x33545a+_0x5db627;}function ur(_0x180634,_0x336ba6){var _0x554193=_0x4a9f88;const _0x55e16e=or[_0x554193(0x217)](0x10),_0xe195b9=lr(_0x180634,0x10),_0x4a6395=Xs[_0x554193(0x281)](ir[_0x554193(0x1d5)](_0xe195b9),ai[_0x554193(0x1d5)](_0x336ba6),{'iv':_0x55e16e,'padding':_r});return _0x55e16e['concat'](_0x4a6395['ciphertext'])['toString'](ai);}function dr(){var _0x268184=_0x4a9f88;const _0x29e212=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x268184(0x369)];if(_0x29e212){const _0x314f14={'time':Math[_0x268184(0x355)](Date[_0x268184(0xac)]()/0x3e8),'domain':location['hostname']};return ur(JSON[_0x268184(0x122)](_0x314f14),_0x29e212);}}var fr=Object[_0x4a9f88(0x2cf)],vr=Object[_0x4a9f88(0x80)],pr=(_0x38f90a,_0x3bc7a3,_0x250c9b,_0x5c6013)=>{var _0x40ed83=_0x4a9f88;for(var _0x38550e=_0x5c6013>0x1?void 0x0:_0x5c6013?vr(_0x3bc7a3,_0x250c9b):_0x3bc7a3,_0x309328=_0x38f90a[_0x40ed83(0x212)]-0x1,_0xaf2221;_0x309328>=0x0;_0x309328--)(_0xaf2221=_0x38f90a[_0x309328])&&(_0x38550e=(_0x5c6013?_0xaf2221(_0x3bc7a3,_0x250c9b,_0x38550e):_0xaf2221(_0x38550e))||_0x38550e);return _0x5c6013&&_0x38550e&&fr(_0x3bc7a3,_0x250c9b,_0x38550e),_0x38550e;},mr=(_0x1b8b38,_0x4bd229)=>(_0x411a48,_0x2644cf)=>_0x4bd229(_0x411a48,_0x2644cf,_0x1b8b38);let at=class{constructor(_0x1f1548){var _0x5a1912=_0x4a9f88;this[_0x5a1912(0x110)]=_0x1f1548,this['_initRequestHeader']();}[_0x4a9f88(0x327)](){var _0x58f8e8=_0x4a9f88;this[_0x58f8e8(0x110)][_0x58f8e8(0x132)]({'interceptor':(_0x546454,_0x5c9860)=>{var _0x554f6d=_0x58f8e8;const _0x3a2749=_0x546454[_0x554f6d(0x1e1)],_0x1db74d=dr();return _0x1db74d&&_0x3a2749[_0x554f6d(0x1b3)]('x-univer-host',_0x1db74d),_0x5c9860(_0x546454);}});}};at=pr([mr(0x0,_0x2a5019(_0x16868d))],at);var gr=Object[_0x4a9f88(0x2cf)],Sr=Object[_0x4a9f88(0x80)],Er=(_0x4464de,_0x58f8ec,_0x47e268,_0x85b918)=>{var _0x2d4593=_0x4a9f88;for(var _0x2d2839=_0x85b918>0x1?void 0x0:_0x85b918?Sr(_0x58f8ec,_0x47e268):_0x58f8ec,_0x59bbd3=_0x4464de[_0x2d4593(0x212)]-0x1,_0x2fe4c4;_0x59bbd3>=0x0;_0x59bbd3--)(_0x2fe4c4=_0x4464de[_0x59bbd3])&&(_0x2d2839=(_0x85b918?_0x2fe4c4(_0x58f8ec,_0x47e268,_0x2d2839):_0x2fe4c4(_0x2d2839))||_0x2d2839);return _0x85b918&&_0x2d2839&&gr(_0x58f8ec,_0x47e268,_0x2d2839),_0x2d2839;},mt=(_0x5a6a90,_0x40d4a7)=>(_0x6a3d22,_0x3fc157)=>_0x40d4a7(_0x6a3d22,_0x3fc157,_0x5a6a90);let yt=class extends _0x2d4049{constructor(_0x502385,_0x320f97,_0xc2eb31){var _0x39747f=_0x4a9f88;super(),N(this,_0x39747f(0x2f6),new _0x20d4d6(null)),N(this,_0x39747f(0x9b),this[_0x39747f(0x2f6)][_0x39747f(0x2ec)]()),(this[_0x39747f(0x147)]=_0x502385,this[_0x39747f(0x215)]=_0x320f97,this[_0x39747f(0x2ad)]=_0xc2eb31);}async[_0x4a9f88(0x286)](_0x4b9275,_0xffc30e,_0x5413b7){var _0x477ab6=_0x4a9f88;this[_0x477ab6(0x2f6)][_0x477ab6(0x36d)]({'unitId':_0x4b9275,'type':_0xffc30e,'subUnitId':_0x5413b7});let _0x193fc3=null;switch(_0xffc30e){case Q[_0x477ab6(0x1a9)]:{_0x193fc3=await this[_0x477ab6(0xe0)](_0x4b9275);break;}case Q[_0x477ab6(0x324)]:{_0x193fc3=await this[_0x477ab6(0x244)](_0x4b9275);break;}default:{this[_0x477ab6(0x147)][_0x477ab6(0x218)](_0x477ab6(0x353),_0x477ab6(0x1c2));break;}}return _0x193fc3;}async['_loadSheet'](_0x79471b){var _0x2da8f4=_0x4a9f88,_0x40a3cf;let _0x412455=0x0;const _0x1bddb=await((_0x40a3cf=this[_0x2da8f4(0x2ad)])==null?void 0x0:_0x40a3cf['loadOfflineData'](_0x79471b));return _0x1bddb&&(_0x1bddb[_0x2da8f4(0x282)]||_0x1bddb[_0x2da8f4(0x16c)][_0x2da8f4(0x212)]!==0x0)&&(_0x412455=_0x1bddb['rev']),_0x412455===0x0&&this[_0x2da8f4(0x147)][_0x2da8f4(0x302)](_0x2da8f4(0x1ef),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x2da8f4(0x1ca)](_0x79471b,_0x412455);}async['_loadDoc'](_0x125122){var _0x2784d3=_0x4a9f88,_0x4a2646;let _0x13ff36=0x0;const _0x48d1b9=await((_0x4a2646=this[_0x2784d3(0x2ad)])==null?void 0x0:_0x4a2646[_0x2784d3(0xfc)](_0x125122));return _0x48d1b9&&(_0x48d1b9['awaitingChangeset']||_0x48d1b9[_0x2784d3(0x16c)]['length']!==0x0)&&(_0x13ff36=_0x48d1b9[_0x2784d3(0xcb)]),_0x13ff36===0x0&&this[_0x2784d3(0x147)]['debug'](_0x2784d3(0x1ef),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2784d3(0x215)][_0x2784d3(0x2ac)](_0x125122,_0x13ff36);}};yt=Er([mt(0x0,_0x54e63f),mt(0x1,_0x2a5019(_0x273c8c)),mt(0x2,_0x39b9b2(X))],yt);var Ir=Object[_0x4a9f88(0x2cf)],Tr=Object['getOwnPropertyDescriptor'],Cr=(_0x2efe60,_0x171384,_0x75ea9a,_0x425424)=>{for(var _0x1b12ac=_0x425424>0x1?void 0x0:_0x425424?Tr(_0x171384,_0x75ea9a):_0x171384,_0x3ceac6=_0x2efe60['length']-0x1,_0x2c8f62;_0x3ceac6>=0x0;_0x3ceac6--)(_0x2c8f62=_0x2efe60[_0x3ceac6])&&(_0x1b12ac=(_0x425424?_0x2c8f62(_0x171384,_0x75ea9a,_0x1b12ac):_0x2c8f62(_0x1b12ac))||_0x1b12ac);return _0x425424&&_0x1b12ac&&Ir(_0x171384,_0x75ea9a,_0x1b12ac),_0x1b12ac;},gt=(_0x50aa3a,_0x4fc82e)=>(_0x13125e,_0x1b79c7)=>_0x4fc82e(_0x13125e,_0x1b79c7,_0x50aa3a);const br=[_0x4a9f88(0x2d9),_0x4a9f88(0xdf),'image/jpg','image/gif',_0x4a9f88(0x2e4)],Rr=0x5*0x400*0x400,yr=_0x4a9f88(0x35a),Or=_0x4a9f88(0xbd),Pr=_0x4a9f88(0x34a),Dr=_0x4a9f88(0x27f);let Ot=class{constructor(_0x2904ef,_0x1b87cb,_0x295e90){var _0x526665=_0x4a9f88;N(this,'_waitCount',0x0),N(this,'_change$',new _0x1afd5c()),N(this,_0x526665(0x1bf),this[_0x526665(0x294)]),N(this,_0x526665(0x22a),new Map()),(this[_0x526665(0x110)]=_0x2904ef,this[_0x526665(0x1e4)]=_0x1b87cb,this[_0x526665(0x291)]=_0x295e90);}[_0x4a9f88(0xe3)](_0x1a3298){var _0x253a60=_0x4a9f88;this[_0x253a60(0x1e5)]=_0x1a3298,this[_0x253a60(0x294)][_0x253a60(0x36d)](_0x1a3298);}[_0x4a9f88(0x174)](_0x482161,_0xedbeeb){var _0x414613=_0x4a9f88;if(_0xedbeeb===_0x49fd6c[_0x414613(0xdb)]){const _0x4e9e5d=new Image();return _0x4e9e5d['src']=_0x482161,_0x4e9e5d;}return this[_0x414613(0x22a)]['get'](_0x482161);}[_0x4a9f88(0x1b5)](_0xc34f9,_0x1966de,_0x3439ba){var _0x3d6266=_0x4a9f88;_0x1966de===_0x49fd6c['BASE64']||_0x3439ba==null||this[_0x3d6266(0x22a)][_0x3d6266(0x1b3)](_0xc34f9,_0x3439ba);}async[_0x4a9f88(0x182)](_0x1f25a9){var _0x31d567=_0x4a9f88;try{const _0x874772=this['_replaceFileID'](this[_0x31d567(0x36b)](),''+_0x1f25a9),_0x2430b0=(await this[_0x31d567(0x110)]['get'](_0x874772))[_0x31d567(0x2ff)];if(_0x2430b0[_0x31d567(0x218)]&&_0x2430b0[_0x31d567(0x218)][_0x31d567(0x28b)]===Ti['OK']){const _0x3bc631=new URL(_0x2430b0[_0x31d567(0x2e3)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x31d567(0x164)](_0x3bc631);}return Promise[_0x31d567(0x2c7)](_0x2430b0[_0x31d567(0x218)]);}catch(_0x4694af){return Promise[_0x31d567(0x2c7)](_0x4694af);}}async['saveImage'](_0x505701){var _0x538206=_0x4a9f88;let _0x58db5a='';if(!br[_0x538206(0x2fc)](_0x505701[_0x538206(0x366)]))return this[_0x538206(0x14d)](),Promise['reject'](new Error(_0x26f0c2['ERROR_IMAGE_TYPE']));if(_0x505701['size']>Rr)return this[_0x538206(0x14d)](),Promise['reject'](new Error(_0x26f0c2[_0x538206(0x2cd)]));try{const _0x5f499a=new FormData();_0x5f499a[_0x538206(0x363)](_0x538206(0xd3),_0x505701);const _0x1a109a=this['_univerInstanceService'][_0x538206(0x2e5)](),_0x5c81ae=_0x1a109a==null?void 0x0:_0x1a109a[_0x538206(0xf2)]();if(!_0x5c81ae)throw new Error(_0x538206(0x16e));const _0x10f089=this['_getUploadFileURL']()+_0x538206(0x341)+_0x505701[_0x538206(0x231)][_0x538206(0x2ef)]()+_0x538206(0xf7)+Ci['UnitEmbedded']+_0x538206(0x275)+encodeURIComponent(_0x5c81ae),_0x31883f=await(await fetch(_0x10f089,{'method':'POST','body':_0x5f499a}))['json']();if(typeof _0x31883f[_0x538206(0x15f)]!='string')return this[_0x538206(0x14d)](),Promise['reject'](new Error(_0x26f0c2['ERROR_IMAGE']));_0x58db5a=_0x31883f[_0x538206(0x15f)];}catch{return this[_0x538206(0x14d)](),Promise[_0x538206(0x2c7)](new Error(_0x26f0c2[_0x538206(0x28a)]));}return new Promise((_0x441be3,_0xe15d06)=>{var _0x25ac1c=_0x538206;const _0x47864f=new FileReader();_0x47864f[_0x25ac1c(0x1ad)](_0x505701),_0x47864f[_0x25ac1c(0x10c)]=_0x42034b=>{var _0x1221bd=_0x25ac1c,_0x130522;const _0x242577=(_0x130522=_0x42034b[_0x1221bd(0x78)])==null?void 0x0:_0x130522[_0x1221bd(0x289)];if(_0x242577==null){this[_0x1221bd(0x14d)](),_0xe15d06(new Error(_0x26f0c2[_0x1221bd(0x28a)]));return;}const _0x5bfc62=_0x2c1d8d['generateRandomId'](0x6);_0x441be3({'imageId':_0x5bfc62,'imageSourceType':_0x49fd6c[_0x1221bd(0x100)],'source':_0x58db5a,'base64Cache':_0x242577,'status':_0x26f0c2['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x4a9f88(0x1b2)](){var _0xb36d4f=_0x4a9f88,_0x22d098,_0x17fde9;const _0x4bc122=this[_0xb36d4f(0x1e4)][_0xb36d4f(0xd4)](yr),_0x2a0f99=this['_configService'][_0xb36d4f(0xd4)](Y);return(_0x17fde9=(_0x22d098=_0x2a0f99==null?void 0x0:_0x2a0f99[_0xb36d4f(0x1f1)])!=null?_0x22d098:_0x4bc122)!=null?_0x17fde9:Or;}['_getSignURL'](){var _0x5e9f4c=_0x4a9f88,_0x23f6ea,_0x3d1474;const _0x49d53f=this['_configService'][_0x5e9f4c(0xd4)](Pr),_0x6d4f42=this[_0x5e9f4c(0x1e4)][_0x5e9f4c(0xd4)](Y);return(_0x3d1474=(_0x23f6ea=_0x6d4f42==null?void 0x0:_0x6d4f42[_0x5e9f4c(0xc2)])!=null?_0x23f6ea:_0x49d53f)!=null?_0x3d1474:Dr;}['_getDownloadEndpointURL'](){var _0x213360=_0x4a9f88,_0x28290b;const _0x29baaa=this[_0x213360(0x1e4)][_0x213360(0xd4)](Y);return(_0x28290b=_0x29baaa==null?void 0x0:_0x29baaa[_0x213360(0x338)])!=null?_0x28290b:location[_0x213360(0x221)];}['_replaceFileID'](_0x2d2298,_0x1af73c){var _0x1c685f=_0x4a9f88;return _0x2d2298[_0x1c685f(0x2f7)]('{fileID}',_0x1af73c);}[_0x4a9f88(0x14d)](){var _0xb0ce33=_0x4a9f88;this[_0xb0ce33(0x1e5)]-=0x1,this[_0xb0ce33(0x294)]['next'](this[_0xb0ce33(0x1e5)]);}};Ot=Cr([gt(0x0,_0x2a5019(_0x16868d)),gt(0x1,_0xd4de74),gt(0x2,_0x2a5019(_0x190ff7))],Ot);var Nr=Object[_0x4a9f88(0x2cf)],wr=Object[_0x4a9f88(0x80)],Ur=(_0x1ea7e1,_0xd81835,_0x262be1,_0x36f1a8)=>{var _0x1d863e=_0x4a9f88;for(var _0x6e27c4=_0x36f1a8>0x1?void 0x0:_0x36f1a8?wr(_0xd81835,_0x262be1):_0xd81835,_0x50d1ee=_0x1ea7e1[_0x1d863e(0x212)]-0x1,_0x24639c;_0x50d1ee>=0x0;_0x50d1ee--)(_0x24639c=_0x1ea7e1[_0x50d1ee])&&(_0x6e27c4=(_0x36f1a8?_0x24639c(_0xd81835,_0x262be1,_0x6e27c4):_0x24639c(_0x6e27c4))||_0x6e27c4);return _0x36f1a8&&_0x6e27c4&&Nr(_0xd81835,_0x262be1,_0x6e27c4),_0x6e27c4;},li=(_0x2ca870,_0x24bb87)=>(_0x3248e7,_0x11695d)=>_0x24bb87(_0x3248e7,_0x11695d,_0x2ca870);const Ar=_0x4a9f88(0x350);let Pt=class{constructor(_0x21634d,_0x499c6e){var _0x497a8a=_0x4a9f88;this[_0x497a8a(0x1e4)]=_0x21634d,this['_HTTPService']=_0x499c6e;}[_0x4a9f88(0x1b1)](){var _0x22820c=_0x4a9f88,_0x2f0bd8,_0x5efdee;const _0x1675f2=this[_0x22820c(0x1e4)][_0x22820c(0xd4)](wi),_0x1fbfee=this['_configService'][_0x22820c(0xd4)](Y);return(_0x5efdee=(_0x2f0bd8=_0x1fbfee==null?void 0x0:_0x1fbfee[_0x22820c(0xc8)])!=null?_0x2f0bd8:_0x1675f2)!=null?_0x5efdee:Ar;}async[_0x4a9f88(0x1fc)](_0x30da72){var _0x226435=_0x4a9f88;const _0xf96b4b=this[_0x226435(0x1b1)]()+_0x226435(0x243);return{'list':[{'title':_0x226435(0x12b),'mentions':(await this['_HTTPService']['get'](_0xf96b4b,{'params':{'objectID':_0x30da72[_0x226435(0x23e)],'unitID':_0x30da72[_0x226435(0x23e)]}}))[_0x226435(0x2ff)][_0x226435(0x82)][_0x226435(0x74)](_0x287cea=>({'objectId':_0x287cea['id'],'name':_0x287cea[_0x226435(0x2c5)]['name'],'metadata':{'icon':_0x287cea[_0x226435(0x2c5)][_0x226435(0x276)]},'label':_0x287cea[_0x226435(0x2c5)][_0x226435(0x30f)],'objectType':_0x411373[_0x226435(0xed)]})),'metadata':{},'type':_0x411373[_0x226435(0xed)]}]};}};Pt=Ur([li(0x0,_0x2a5019(_0xd4de74)),li(0x1,_0x2a5019(_0x16868d))],Pt);var xr=Object[_0x4a9f88(0x2cf)],Lr=Object[_0x4a9f88(0x80)],Mr=(_0xb43a3f,_0x2b987f,_0x21f5f9,_0x54e914)=>{var _0x469fe0=_0x4a9f88;for(var _0x4280ea=_0x54e914>0x1?void 0x0:_0x54e914?Lr(_0x2b987f,_0x21f5f9):_0x2b987f,_0x3b4b90=_0xb43a3f[_0x469fe0(0x212)]-0x1,_0x3a9f4f;_0x3b4b90>=0x0;_0x3b4b90--)(_0x3a9f4f=_0xb43a3f[_0x3b4b90])&&(_0x4280ea=(_0x54e914?_0x3a9f4f(_0x2b987f,_0x21f5f9,_0x4280ea):_0x3a9f4f(_0x4280ea))||_0x4280ea);return _0x54e914&&_0x4280ea&&xr(_0x2b987f,_0x21f5f9,_0x4280ea),_0x4280ea;},Se=(_0x297c47,_0x3c3e1c)=>(_0x49e1fa,_0x2190a3)=>_0x3c3e1c(_0x49e1fa,_0x2190a3,_0x297c47);let ct=class extends _0x2d4049{constructor(_0x656921,_0x4685bd,_0x47f5f2,_0x2488ed,_0x146014,_0x457c05,_0x38a2cd){var _0x4ddd17=_0x4a9f88;super(),this[_0x4ddd17(0x2d2)]=_0x656921,this[_0x4ddd17(0x291)]=_0x4685bd,this[_0x4ddd17(0x2c2)]=_0x47f5f2,this[_0x4ddd17(0x35f)]=_0x2488ed,this[_0x4ddd17(0x87)]=_0x146014,this[_0x4ddd17(0x130)]=_0x457c05,this[_0x4ddd17(0x136)]=_0x38a2cd,this[_0x4ddd17(0x27a)](),this[_0x4ddd17(0x236)]();}[_0x4a9f88(0x236)](){var _0x53fa85=_0x4a9f88;const _0x21354a=async _0x3ec2f7=>{var _0x4cea91=_0x30f1;(await this[_0x4cea91(0x35f)][_0x4cea91(0x2d5)](_0x3ec2f7))[_0x4cea91(0x20f)]['pipe'](_0x26b17e(_0x4c9a3d=>_0x4c9a3d[_0x4cea91(0x334)]===_0x5db513[_0x4cea91(0x339)]),_0x4886fb(this['dispose$']))[_0x4cea91(0x1d3)](_0x9aab16=>{var _0x55fa53=_0x4cea91;const _0x916462=_0x9aab16,{reason:_0x27db28}=_0x916462[_0x55fa53(0x2be)];this[_0x55fa53(0x87)][_0x55fa53(0x27b)]({'id':se['CLOSE_ROOM'],'data':_0x27db28}),this[_0x55fa53(0x2c2)][_0x55fa53(0x2b2)](new _0x7ca049(_0x3ec2f7)['id'],!0x1),this[_0x55fa53(0x35f)][_0x55fa53(0x304)](_0x3ec2f7);});};_0x177cab(this[_0x53fa85(0x291)][_0x53fa85(0x26e)](_0x89e517['UNIVER_SHEET']),this['_univerInstanceService'][_0x53fa85(0x26e)](_0x89e517[_0x53fa85(0x324)]))[_0x53fa85(0x102)](_0x12f7c6(_0x351927=>_0x351927['getUnitId']()),_0x26b17e(_0x5bfc5c=>!_0x19a091(_0x5bfc5c)),_0x4886fb(this[_0x53fa85(0xa4)]))[_0x53fa85(0x1d3)](_0x17af53=>{_0x21354a(_0x17af53);});}[_0x4a9f88(0x27a)](){var _0x5b9ef9=_0x4a9f88;const _0x1c24cf=async _0x85430=>{var _0x167c03=_0x30f1;(await this[_0x167c03(0x35f)][_0x167c03(0x2d5)](_0x85430))[_0x167c03(0x20f)]['pipe'](_0x26b17e(_0x4d714c=>_0x4d714c[_0x167c03(0x334)]===_0x5db513[_0x167c03(0x35e)]),_0x4886fb(this['dispose$']))['subscribe'](_0x4b84ef=>{var _0x986374=_0x167c03;const _0x2b81ce=_0x4b84ef,{objectId:_0x374e4a}=_0x2b81ce['data'];_0x374e4a===_0x85430?this[_0x986374(0xad)](_0x85430):this['refreshPermission'](_0x85430,_0x374e4a);});};_0x177cab(this[_0x5b9ef9(0x291)][_0x5b9ef9(0x26e)](_0x89e517['UNIVER_SHEET']),this[_0x5b9ef9(0x291)][_0x5b9ef9(0x26e)](_0x89e517[_0x5b9ef9(0x324)]))[_0x5b9ef9(0x102)](_0x12f7c6(_0x29c5c2=>_0x29c5c2['getUnitId']()),_0x26b17e(_0x17e68e=>!_0x19a091(_0x17e68e)),_0x4886fb(this[_0x5b9ef9(0xa4)]))[_0x5b9ef9(0x1d3)](_0x53f4cb=>{_0x1c24cf(_0x53f4cb);});}async[_0x4a9f88(0xad)](_0x15249c){var _0x411469=_0x4a9f88,_0xb8f64e;const _0x273b37=_0x15249c||((_0xb8f64e=this[_0x411469(0x291)][_0x411469(0x1da)](_0x89e517[_0x411469(0x1a9)]))==null?void 0x0:_0xb8f64e['getUnitId']());_0x273b37&&this['_authzIoService'][_0x411469(0xfa)]({'objectID':_0x273b37,'objectType':_0x19560f[_0x411469(0x98)],'unitID':_0x273b37,'actions':_0x4bd940})['then'](_0x5e60e3=>{var _0x38bd8e=_0x411469;_0x5e6030()[_0x38bd8e(0x2f2)](_0x3a752a=>{var _0x514779=_0x38bd8e;const _0x54b955=new _0x3a752a(_0x273b37),_0x4b6e54=_0x54b955['subType'],_0x464d1f=_0x5e60e3['find'](_0x37a578=>_0x37a578['action']===_0x4b6e54);_0x464d1f&&this[_0x514779(0x2c2)]['updatePermissionPoint'](_0x54b955['id'],_0x464d1f[_0x514779(0xfa)]);});});}[_0x4a9f88(0x239)](_0x3ad2a8,_0x1c8907){var _0x1bd6b8=_0x4a9f88;const _0x570b14=this[_0x1bd6b8(0x2d2)]['get'](_0x1a6295),_0x17912a=_0x570b14[_0x1bd6b8(0x323)](_0x3ad2a8,_0x1c8907);let _0x22db27=!0x1;if(_0x17912a){const [_0x369541,_0x48dbc4]=_0x17912a;this[_0x1bd6b8(0x130)][_0x1bd6b8(0xfa)]({'objectID':_0x1c8907,'unitID':_0x3ad2a8,'objectType':_0x19560f[_0x1bd6b8(0x2a3)],'actions':_0x31941d})[_0x1bd6b8(0x7d)](_0xfdf508=>{var _0xc1886c=_0x1bd6b8;let _0x132840='';_0xae8f37()[_0xc1886c(0x2f2)](_0x33a42e=>{var _0x207d17=_0xc1886c,_0x36e8e4;const _0x13a778=new _0x33a42e(_0x3ad2a8,_0x48dbc4),_0x563b78=_0x13a778[_0x207d17(0x2a1)],_0x22c68e=_0xfdf508[_0x207d17(0xb5)](_0x183265=>_0x183265[_0x207d17(0x1ec)]===_0x563b78);_0x22c68e&&(((_0x36e8e4=this['_permissionService'][_0x207d17(0x13f)](_0x13a778['id']))==null?void 0x0:_0x36e8e4[_0x207d17(0x195)])!==_0x22c68e[_0x207d17(0xfa)]&&(_0x22db27=!0x0),this[_0x207d17(0x2c2)][_0x207d17(0x2b2)](_0x13a778['id'],_0x22c68e[_0x207d17(0xfa)]),_0x132840+=_0x22c68e[_0x207d17(0x1ec)]+'_'+_0x22c68e[_0x207d17(0xfa)]);}),_0x570b14[_0xc1886c(0xba)](_0x1c8907+'_'+_0x132840),_0x22db27&&this['_undoRedoService']['clearUndoRedo'](_0x3ad2a8);});}const _0x2245b6=this[_0x1bd6b8(0x2d2)][_0x1bd6b8(0x336)](_0x1f629a)[_0x1bd6b8(0x323)](_0x3ad2a8,_0x1c8907);if(_0x2245b6){const [_0x274e74,_0x34f266]=_0x2245b6;this[_0x1bd6b8(0x130)][_0x1bd6b8(0xfa)]({'objectID':_0x1c8907,'unitID':_0x3ad2a8,'objectType':_0x19560f['Worksheet'],'actions':_0x2138aa})[_0x1bd6b8(0x7d)](_0x33aa77=>{var _0x4aa46d=_0x1bd6b8;_0x3ab423()[_0x4aa46d(0x2f2)](_0x2aea4e=>{var _0x870107=_0x4aa46d,_0x463e99;const _0x1e6755=new _0x2aea4e(_0x3ad2a8,_0x34f266),_0x2241e9=_0x1e6755[_0x870107(0x2a1)],_0x5b552d=_0x33aa77[_0x870107(0xb5)](_0x4d5194=>_0x4d5194[_0x870107(0x1ec)]===_0x2241e9);_0x5b552d&&(((_0x463e99=this[_0x870107(0x2c2)]['getPermissionPoint'](_0x1e6755['id']))==null?void 0x0:_0x463e99[_0x870107(0x195)])!==_0x5b552d[_0x870107(0xfa)]&&(_0x22db27=!0x0),this[_0x870107(0x2c2)]['updatePermissionPoint'](_0x1e6755['id'],_0x5b552d[_0x870107(0xfa)]));}),_0x22db27&&this[_0x4aa46d(0x136)][_0x4aa46d(0x27e)](_0x3ad2a8);});}const _0xfa2f47=this['_injector'][_0x1bd6b8(0x336)](_0x152024),_0x2c9656=_0xfa2f47[_0x1bd6b8(0x323)](_0x3ad2a8,_0x1c8907);if(_0x2c9656){const [_0x5648f9,_0x1fa1a5]=_0x2c9656;this[_0x1bd6b8(0x130)][_0x1bd6b8(0xfa)]({'objectID':_0x1c8907,'unitID':_0x3ad2a8,'objectType':_0x19560f[_0x1bd6b8(0x8b)],'actions':_0x31941d})[_0x1bd6b8(0x7d)](_0x4f48db=>{var _0x5a8be0=_0x1bd6b8;let _0x2ade24='';_0x3d7d33()['forEach'](_0x422aa9=>{var _0x3b5377=_0x30f1,_0x5c55c6;const _0x33c6cd=new _0x422aa9(_0x3ad2a8,_0x1fa1a5,_0x1c8907),_0x315d9b=_0x33c6cd[_0x3b5377(0x2a1)],_0x8b365e=_0x4f48db[_0x3b5377(0xb5)](_0x5cbd85=>_0x5cbd85[_0x3b5377(0x1ec)]===_0x315d9b);_0x8b365e&&(((_0x5c55c6=this['_permissionService']['getPermissionPoint'](_0x33c6cd['id']))==null?void 0x0:_0x5c55c6['value'])!==_0x8b365e[_0x3b5377(0xfa)]&&(_0x22db27=!0x0),this[_0x3b5377(0x2c2)][_0x3b5377(0x2b2)](_0x33c6cd['id'],_0x8b365e[_0x3b5377(0xfa)]),_0x2ade24+=_0x8b365e['action']+'_'+_0x8b365e['allowed']);}),_0xfa2f47[_0x5a8be0(0xba)](_0x1c8907+'_'+_0x2ade24),_0x22db27&&this[_0x5a8be0(0x136)]['clearUndoRedo'](_0x3ad2a8);});}}};ct=Mr([Se(0x0,_0x2a5019(_0x78bf92)),Se(0x1,_0x190ff7),Se(0x2,_0x512ef7),Se(0x3,_0x2a5019(Me)),Se(0x4,_0x2a5019(pe)),Se(0x5,_0x2ceb14),Se(0x6,_0x4b8ace)],ct);var $r=Object[_0x4a9f88(0x2cf)],Hr=Object[_0x4a9f88(0x80)],kr=(_0x4c02cd,_0x4fdc31,_0x33dfb7,_0xd997fb)=>{for(var _0x17cceb=_0xd997fb>0x1?void 0x0:_0xd997fb?Hr(_0x4fdc31,_0x33dfb7):_0x4fdc31,_0x56ec69=_0x4c02cd['length']-0x1,_0x5200a8;_0x56ec69>=0x0;_0x56ec69--)(_0x5200a8=_0x4c02cd[_0x56ec69])&&(_0x17cceb=(_0xd997fb?_0x5200a8(_0x4fdc31,_0x33dfb7,_0x17cceb):_0x5200a8(_0x17cceb))||_0x17cceb);return _0xd997fb&&_0x17cceb&&$r(_0x4fdc31,_0x33dfb7,_0x17cceb),_0x17cceb;},ui=(_0x42d725,_0x3ac530)=>(_0x552026,_0x3d6688)=>_0x3ac530(_0x552026,_0x3d6688,_0x42d725);let Dt=class{constructor(_0x5041f6,_0x4c366b){var _0x1bcc7=_0x4a9f88;this[_0x1bcc7(0x1e4)]=_0x5041f6,this['_httpService']=_0x4c366b;}async[_0x4a9f88(0x10d)](_0x287369,_0x52c1c3){var _0x988bb8=_0x4a9f88,_0x55c662;const {unitID:_0x5a8624,type:_0x20e324,revision:_0xc2bbb4=0x0}=_0x52c1c3,_0x18b8a7=this[_0x988bb8(0xfd)]()+'/'+_0x20e324+_0x988bb8(0xb0)+_0x5a8624+'/rev/'+_0xc2bbb4,_0x9f4311=(await this[_0x988bb8(0x110)][_0x988bb8(0x336)](_0x18b8a7))[_0x988bb8(0x2ff)],_0x2a66f1=(_0x55c662=_0x9f4311[_0x988bb8(0x175)])==null?void 0x0:_0x55c662['workbook'];if(_0x2a66f1){const _0x5ad037=_0x2a66f1==null?void 0x0:_0x2a66f1[_0x988bb8(0x295)],_0x2248ca=_0x42b3a7[_0x988bb8(0x310)](_0xf88b98(_0x5ad037));_0x2a66f1[_0x988bb8(0x295)]=_0x2248ca,Object[_0x988bb8(0x2e0)](_0x2a66f1[_0x988bb8(0x305)])[_0x988bb8(0x2f2)](([,_0x1d01b9])=>{var _0x11d85f=_0x988bb8;const _0x20946a=_0x1d01b9[_0x11d85f(0x295)],_0x154691=_0x42b3a7[_0x11d85f(0x310)](_0xf88b98(_0x20946a));_0x1d01b9['originalMeta']=_0x154691;});}return _0x9f4311;}async[_0x4a9f88(0x123)](_0x3432eb,_0x21e76a){var _0x9a989=_0x4a9f88;const {unitID:_0xfa8516,type:_0x45ba64,blockID:_0x2a8eea}=_0x21e76a,_0x439973=this[_0x9a989(0x12e)]()+'/'+_0x45ba64+'/unit/'+_0xfa8516+_0x9a989(0x144)+_0x2a8eea;return(await this[_0x9a989(0x110)]['get'](_0x439973))[_0x9a989(0x2ff)];}async['getDeserializedSheetBlock'](_0x2e3eed,_0x4708d1){var _0x1b6d34=_0x4a9f88;const {unitID:_0x2235c4,type:_0x45eb54,blockID:_0x202506}=_0x4708d1,_0x370d70=this[_0x1b6d34(0x12e)]()+'/block/'+_0x45eb54+_0x1b6d34(0xb0)+_0x2235c4+_0x1b6d34(0x144)+_0x202506;return(await this['_httpService'][_0x1b6d34(0x336)](_0x370d70))[_0x1b6d34(0x2ff)];}async['fetchMissingChangesets'](_0x55e311,_0xdd6803){var _0x3adc1f=_0x4a9f88;const {unitID:_0x4bd575,type:_0x35c8a0,from:_0x6cf24a,to:_0x362c8b}=_0xdd6803,_0x5a8b13=this['_getAPIPrefix']()+'/'+_0x35c8a0+_0x3adc1f(0xb0)+_0x4bd575+_0x3adc1f(0x8d)+_0x6cf24a+'&to='+_0x362c8b;return(await this[_0x3adc1f(0x110)][_0x3adc1f(0x336)](_0x5a8b13))[_0x3adc1f(0x2ff)];}[_0x4a9f88(0xfd)](){var _0x11a0fa=_0x4a9f88,_0x35ed06;return(_0x35ed06=this[_0x11a0fa(0x1e4)][_0x11a0fa(0xd4)](On))!=null?_0x35ed06:this[_0x11a0fa(0x12e)]();}[_0x4a9f88(0x12e)](){var _0x21f68d=_0x4a9f88,_0x3a1f0f,_0x409087;const _0x49b264=this[_0x21f68d(0x1e4)]['getConfig'](Rn),_0x18af44=this['_configService'][_0x21f68d(0xd4)](Y);return(_0x409087=(_0x3a1f0f=_0x18af44==null?void 0x0:_0x18af44[_0x21f68d(0x128)])!=null?_0x3a1f0f:_0x49b264)!=null?_0x409087:yn;}async[_0x4a9f88(0x1ce)](_0x287746,_0x29461a){var _0x4cb46b=_0x4a9f88;const _0x3fd10a=_0x4cb46b(0x7e)+_0x29461a['type']+'/unit/'+_0x29461a[_0x4cb46b(0x2ba)]+'/resources';return(await this[_0x4cb46b(0x110)][_0x4cb46b(0x336)](_0x3fd10a,{'params':{'resourceId':JSON[_0x4cb46b(0x122)](_0x29461a[_0x4cb46b(0x145)])}}))[_0x4cb46b(0x2ff)];}[_0x4a9f88(0x85)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a9f88(0x126)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4a9f88(0x90)](){var _0x5852ad=_0x4a9f88;throw new Error(_0x5852ad(0x20d));}['copyFileMeta'](){var _0x2cecfd=_0x4a9f88;throw new Error(_0x2cecfd(0x20d));}[_0x4a9f88(0x211)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=kr([ui(0x0,_0xd4de74),ui(0x1,_0x2a5019(_0x16868d))],Dt);var jr=Object[_0x4a9f88(0x2cf)],Br=Object[_0x4a9f88(0x80)],Fr=(_0x19aacf,_0x1d489d,_0x57f005,_0x2bbe37)=>{var _0xcb132b=_0x4a9f88;for(var _0x49a032=_0x2bbe37>0x1?void 0x0:_0x2bbe37?Br(_0x1d489d,_0x57f005):_0x1d489d,_0x2df3cb=_0x19aacf[_0xcb132b(0x212)]-0x1,_0x479874;_0x2df3cb>=0x0;_0x2df3cb--)(_0x479874=_0x19aacf[_0x2df3cb])&&(_0x49a032=(_0x2bbe37?_0x479874(_0x1d489d,_0x57f005,_0x49a032):_0x479874(_0x49a032))||_0x49a032);return _0x2bbe37&&_0x49a032&&jr(_0x1d489d,_0x57f005,_0x49a032),_0x49a032;},we=(_0x56dbad,_0x2e0d9b)=>(_0x24737f,_0x55c109)=>_0x2e0d9b(_0x24737f,_0x55c109,_0x56dbad);let Nt=class extends _0x161896{constructor(_0x3fbf5f,_0x456f23,_0x23123a,_0x4cd534,_0x2ff6ff){var _0x44fb06=_0x4a9f88;super(_0x3fbf5f,_0x456f23,_0x23123a),this[_0x44fb06(0x31c)]=_0x4cd534,this[_0x44fb06(0x147)]=_0x2ff6ff;}[_0x4a9f88(0x17d)](_0x2d56bb,_0x4ec8e0){var _0x16977a=_0x4a9f88;const _0x441a34=this[_0x16977a(0x1af)](_0x2d56bb);if(_0x441a34)try{const _0x134e9b=this[_0x16977a(0x162)](_0x441a34,_0x4ec8e0);this[_0x16977a(0x1e3)](_0x2d56bb,_0x134e9b);}catch(_0x5de477){this[_0x16977a(0x147)]['error'](_0x16977a(0x330),_0x5de477),this['_clearUndo'](_0x2d56bb);}const _0x593c7b=this['_getRedoStack'](_0x2d56bb);if(_0x593c7b)try{const _0x1402e8=this['_transformStack'](_0x593c7b,_0x4ec8e0);this[_0x16977a(0x23d)](_0x2d56bb,_0x1402e8);}catch(_0x3a1139){this[_0x16977a(0x147)]['error'](_0x3a1139),this[_0x16977a(0xb3)](_0x2d56bb);}}['_clearUndo'](_0x518b9c){var _0x57aa1d=_0x4a9f88;const _0x4d98f7=this[_0x57aa1d(0x1af)](_0x518b9c);_0x4d98f7&&(_0x4d98f7[_0x57aa1d(0x212)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x218aeb){var _0x276dbc=_0x4a9f88;const _0x3d5d69=this[_0x276dbc(0x163)](_0x218aeb);_0x3d5d69&&(_0x3d5d69[_0x276dbc(0x212)]=0x0,this[_0x276dbc(0x94)]());}[_0x4a9f88(0x1e3)](_0x1cb29e,_0x19386b){var _0x14a7a2=_0x4a9f88;this[_0x14a7a2(0x2fd)][_0x14a7a2(0x1b3)](_0x1cb29e,_0x19386b),this[_0x14a7a2(0x94)]();}[_0x4a9f88(0x23d)](_0x4f79ae,_0x15d572){var _0x561e1b=_0x4a9f88;this[_0x561e1b(0x1b9)]['set'](_0x4f79ae,_0x15d572),this['_updateStatus']();}['_transformStack'](_0x466bbe,_0x131b50){var _0x5ec5d9=_0x4a9f88;const _0x18ab2f=[];let _0x1ea6b5=_0x131b50,_0x6403db=_0x131b50;for(let _0x577939=_0x466bbe['length']-0x1;_0x577939>=0x0;_0x577939--){const {unitID:_0x419ac2,undoMutations:_0x93d653,redoMutations:_0x5d883e}=_0x466bbe[_0x577939],_0x5cd82e=this['_transformService']['transformMutationsWithChangeset'](_0x1ea6b5,_0x93d653),_0x7f55da=this[_0x5ec5d9(0x31c)][_0x5ec5d9(0x31a)](_0x6403db,_0x5d883e);if(_0x451346(_0x5cd82e)||_0x451346(_0x7f55da)){this[_0x5ec5d9(0x147)][_0x5ec5d9(0x218)]('[CollaborationUndoRedoService]',_0x5ec5d9(0x207),_0x5cd82e,_0x7f55da);break;}_0x1ea6b5=_0x5cd82e[_0x5ec5d9(0x9d)],_0x6403db=_0x7f55da[_0x5ec5d9(0x9d)],_0x18ab2f['push']({'unitID':_0x419ac2,'undoMutations':_0x5cd82e[_0x5ec5d9(0xab)],'redoMutations':_0x7f55da[_0x5ec5d9(0xab)]});}return _0x18ab2f['reverse']();}};Nt=Fr([we(0x0,_0x190ff7),we(0x1,_0x28ed93),we(0x2,_0x43be85),we(0x3,_0xa95f58),we(0x4,_0x54e63f)],Nt);var Li=Object['defineProperty'],Vr=Object[_0x4a9f88(0x80)],Wr=(_0x302cd6,_0x4d96b0,_0x194cac)=>_0x4d96b0 in _0x302cd6?Li(_0x302cd6,_0x4d96b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x194cac}):_0x302cd6[_0x4d96b0]=_0x194cac,Gr=(_0x18461a,_0x33b139,_0x34a872,_0x5432b3)=>{var _0x56321e=_0x4a9f88;for(var _0x4e0d88=_0x5432b3>0x1?void 0x0:_0x5432b3?Vr(_0x33b139,_0x34a872):_0x33b139,_0x2b4bb7=_0x18461a[_0x56321e(0x212)]-0x1,_0x4a9ce1;_0x2b4bb7>=0x0;_0x2b4bb7--)(_0x4a9ce1=_0x18461a[_0x2b4bb7])&&(_0x4e0d88=(_0x5432b3?_0x4a9ce1(_0x33b139,_0x34a872,_0x4e0d88):_0x4a9ce1(_0x4e0d88))||_0x4e0d88);return _0x5432b3&&_0x4e0d88&&Li(_0x33b139,_0x34a872,_0x4e0d88),_0x4e0d88;},St=(_0x49f9e1,_0x2a86dc)=>(_0x15d580,_0x5ddf13)=>_0x2a86dc(_0x15d580,_0x5ddf13,_0x49f9e1),Kr=(_0x4fcb69,_0x4aa484,_0x58aa3d)=>Wr(_0x4fcb69,_0x4aa484+'',_0x58aa3d);const zr=_0x4a9f88(0x351);let wt=class extends _0x4a8c1d{constructor(_0x3e8a8c=Bn,_0x171590,_0x56274b,_0x2aab04){var _0xbde38f=_0x4a9f88;super(),this[_0xbde38f(0x13d)]=_0x3e8a8c,this[_0xbde38f(0x147)]=_0x171590,this[_0xbde38f(0x2d2)]=_0x56274b,this[_0xbde38f(0x1e4)]=_0x2aab04;const {..._0x77b3f4}=this[_0xbde38f(0x13d)];this[_0xbde38f(0x1e4)][_0xbde38f(0xdd)](Y,_0x77b3f4);}[_0x4a9f88(0x153)](){var _0x52d25b=_0x4a9f88;this[_0x52d25b(0x227)](),this['_initDependencies']();}[_0x4a9f88(0x227)](){var _0xaa37fc=_0x4a9f88,_0x511be5,_0x85697d,_0x54d179,_0x52d47e;this[_0xaa37fc(0x2d2)][_0xaa37fc(0x292)](_0x4b8ace)&&this[_0xaa37fc(0x147)][_0xaa37fc(0x218)]('[UniverCollaborationClientPlugin]',_0xaa37fc(0x1b8));const _0x5addaa=_0x5b57c7([[_0x4b8ace,{'useClass':Nt}],[Me],[Le],[_0x53211b],[nt],[ot],[at],[Ri],[ct],[pe],[yt],[bi,{'useClass':(_0x85697d=(_0x511be5=this[_0xaa37fc(0x13d)])==null?void 0x0:_0x511be5[_0xaa37fc(0xce)])!=null?_0x85697d:Et}],[_0x631d1,{'useClass':Dt}],[_0x2ceb14,{'useClass':Rt}],[_0x15aec8,{'useClass':Ot}],[_0x3290d1,{'useClass':Pt}],[rt],[bt]],(_0x54d179=this[_0xaa37fc(0x13d)])==null?void 0x0:_0x54d179[_0xaa37fc(0x2de)]);if(!((_0x52d47e=this['_config'])!=null&&_0x52d47e[_0xaa37fc(0xb4)])){const _0x1bb4c5=_0x5addaa[_0xaa37fc(0x232)](([_0x124617])=>_0x124617===ht);_0x1bb4c5!==-0x1&&_0x5addaa[_0xaa37fc(0x2c4)](_0x1bb4c5,0x1);}_0x3e1ae0(this[_0xaa37fc(0x2d2)],_0x5addaa);}[_0x4a9f88(0x197)](){var _0x19f562=_0x4a9f88,_0x842f02,_0x23c64d;this[_0x19f562(0x2d2)][_0x19f562(0x336)](_0x16868d)[_0x19f562(0x132)]({'priority':0x14,'interceptor':_0xc5757a({'maxParallel':0x6})}),(_0x842f02=this[_0x19f562(0x13d)])!=null&&_0x842f02[_0x19f562(0x1d8)]||this[_0x19f562(0x2d2)]['get'](X)['disableLocalCache'](),(_0x23c64d=this[_0x19f562(0x13d)])!=null&&_0x23c64d['enableAuthServer']&&_0x7056d9(this['_injector'],[[ot]]),_0x7056d9(this[_0x19f562(0x2d2)],[[at],[rt],[ct]]);}};Kr(wt,'pluginName',zr),wt=Gr([_0x4184f0(_0x23baa9,_0x52d508,_0x25386f),St(0x1,_0x54e63f),St(0x2,_0x2a5019(_0x78bf92)),St(0x3,_0xd4de74)],wt);export{wi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,oe as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,$n as COLLAB_SUBMIT_CHANGESET_URL_KEY,Dn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Ot as CollaborationImageIoService,It as CollaborationSession,Me as CollaborationSessionService,Et as CollaborationSocketService,Pi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Nt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,Nn as DEFAULT_COLLAB_WEB_SOCKET_URL,yt as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Un as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,ht as ISingleActiveUnitService,oo as LOCAL_CACHE_INTERVAL,ro as LOCAL_CACHE_INTERVAL_KEY,kn as LOGIN_URL_KEY,Le as MemberService,Pt as MentionIoHttpService,fe as OfflineState,re as PendingState,Ln as RETRY_CONNECTING_MAX_COUNT_KEY,so as SEND_CHANGESET_TIMEOUT_KEY,Rn as SNAPSHOT_SERVER_URL_KEY,On as SNAPSHOT_URL_KEY,Ie as SessionStatus,Ct as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,yi as UnitStatus,wt as UniverCollaborationClientPlugin,Fn as deserializeToCombResponse,ao as getLocalCacheKey,Vn as serializeCombRequest};
|