@univerjs-pro/collaboration-client 0.5.1 → 0.5.2
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/facade.js +1 -0
- 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/facade.js +1 -0
- 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/types/config/config.d.ts +7 -2
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +20 -18
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +18 -15
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +2 -0
- package/lib/types/facade/f-collaboration.d.ts +33 -0
- package/lib/types/facade/f-univer.d.ts +12 -0
- package/lib/types/facade/index.d.ts +2 -0
- package/lib/types/index.d.ts +12 -12
- package/lib/types/plugin.d.ts +1 -6
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +4 -5
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +7 -8
- 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/member/member.service.d.ts +6 -0
- package/lib/types/services/network-condition/network-condition.service.d.ts +6 -0
- 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/types/services/socket/collaboration-socket.service.d.ts +4 -4
- package/lib/umd/facade.js +1 -0
- 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 +23 -21
- package/lib/index.css +0 -1
- 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 _0x30c112=_0x2ebf;(function(_0x2cf957,_0x290d74){const _0x2d12f0=_0x2ebf,_0xf5c538=_0x2cf957();while(!![]){try{const _0x330223=-parseInt(_0x2d12f0(0x385))/0x1*(parseInt(_0x2d12f0(0x30b))/0x2)+-parseInt(_0x2d12f0(0x1e2))/0x3+parseInt(_0x2d12f0(0x2e7))/0x4*(parseInt(_0x2d12f0(0x40e))/0x5)+-parseInt(_0x2d12f0(0x40a))/0x6+-parseInt(_0x2d12f0(0x341))/0x7+-parseInt(_0x2d12f0(0x485))/0x8+parseInt(_0x2d12f0(0x30d))/0x9*(parseInt(_0x2d12f0(0x488))/0xa);if(_0x330223===_0x290d74)break;else _0xf5c538['push'](_0xf5c538['shift']());}catch(_0x231630){_0xf5c538['push'](_0xf5c538['shift']());}}}(_0x3021,0x1eda6));var cr=Object[_0x30c112(0x28e)],hr=(_0x50784d,_0x105d23,_0x18fd62)=>_0x105d23 in _0x50784d?cr(_0x50784d,_0x105d23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18fd62}):_0x50784d[_0x105d23]=_0x18fd62,g=(_0x2cd495,_0x23cb72,_0x19f72f)=>hr(_0x2cd495,typeof _0x23cb72!=_0x30c112(0x3a5)?_0x23cb72+'':_0x23cb72,_0x19f72f);import{createIdentifier as _0x87a6a4,Inject as _0x1273b4,Disposable as _0x2ea306,DisposableCollection as _0x1978af,toDisposable as _0x7e08d2,IConfigService as _0x4d1776,ILogService as _0x164f73,UserManagerService as _0x497e75,UniverInstanceType as _0x11a8a2,IUniverInstanceService as _0x1d1a83,LocaleService as _0x582404,Optional as _0xe30079,RxDisposable as _0x43d55d,Injector as _0x3c8419,Tools as _0x4c6645,ILocalStorageService as _0x2c87d9,Rectangle as _0x2a8e41,ICommandService as _0x3364ad,DOC_RANGE_TYPE as _0x5780a0,JSONX as _0x2e8611,CommandType as _0x2d21ee,IPermissionService as _0x4a5194,IUndoRedoService as _0x603285,sequenceExecute as _0x49ac66,debounce as _0x1f48d8,COLORS as _0x4a2600,ColorKit as _0x19a4a0,ThemeService as _0x2ccbc7,fromEventSubject as _0x568d39,useDependency as _0x4d30aa,connectInjector as _0x28fceb,Workbook as _0x560d36,MentionType as _0x2dddf1,isInternalEditorID as _0x32fb48,LocalUndoRedoService as _0xb09a2c,IContextService as _0x5c23fd,DependentOn as _0x1480db,Plugin as _0x197194,touchDependencies as _0x2c0e53,IAuthzIoService as _0x3254e7,IMentionIOService as _0x57e999,registerDependencies as _0x26569a,mergeOverrideWithDependencies as _0x306d11}from'@univerjs/core';import{Subject as _0x58011a,merge as _0x3c419a,takeUntil as _0x4d1973,BehaviorSubject as _0x15cd68,distinctUntilChanged as _0x194fec,fromEvent as _0x1700cb,ReplaySubject as _0x51b1e0,take as _0x4828e4,map as _0x31e10f,shareReplay as _0x1ee9d9,of as _0x4e4949,debounceTime as _0x12f726,filter as _0x52ffaa,switchMap as _0x387fda,combineLatest as _0x3fb531,concatMap as _0x33819c,mapTo as _0x42e3d4}from'rxjs';import{map as _0x1864e2,take as _0x126867,filter as _0x210123,delay as _0x2cb4ed,throttleTime as _0x27d0bb,takeUntil as _0x585a8a,switchMap as _0x120e33}from'rxjs/operators';import{MessageType as _0x41d1f0,Tooltip as _0x1aa639}from'@univerjs/design';import{HTTPService as _0x259d97,WebSocketService as _0x10c7f1,MergeInterceptorFactory as _0x1478dc,HTTPRequest as _0x1aa034,UniverNetworkPlugin as _0x279cc7,ThresholdInterceptorFactory as _0x4e8127}from'@univerjs/network';import{IBeforeCloseService as _0x31d20c,IMessageService as _0x56e1bc,INotificationService as _0x45c7b7,useObservable as _0x215925,BuiltInUIPart as _0x2c1a69,IUIPartsService as _0x2a8e8c}from'@univerjs/ui';import{CollaborationEvent as _0x1b96b7,parseChangesetToProtocol as _0x545f13,ISnapshotServerService as _0x1745f9,isTransformMutationFailure as _0x33b0d8,isTransformMutationsWithChangesetSuccess as _0x12ed98,ITransformService as _0xf205f5,RevisionService as _0x5239ac,mapDocumentTypeToUniverType as _0x3cb35c,isTransformChangesetsSuccess as _0x675846,CompressMutationService as _0x401e2b,parseProtocolChangeset as _0x17330c,SnapshotService as _0x5ad125,textEncoder as _0x4339d2,b64DecodeUnicode as _0x443e00,isTransformMutationsWithChangesetFailure as _0x330507,UniverCollaborationPlugin as _0xd9ebf8}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xb3e496}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x4cb2f3,RichTextEditingMutation as _0x34173f,SetTextSelectionsOperation as _0x29a654,DocSkeletonManagerService as _0x397d26}from'@univerjs/docs';import{DocIMEInputManagerService as _0x2f1d3f,DocStateChangeManagerService as _0xd60329,IDocClipboardService as _0x41ae5b,NodePositionConvertToCursor as _0x496366,NodePositionConvertToRectRange as _0x56115f,TEXT_RANGE_LAYER_INDEX as _0x21d2a5,SetDocZoomRatioOperation as _0x16ccdd}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2bf4e8,SetSelectionsOperation as _0x2d1427,InsertSheetMutation as _0x5b5bbd,EmptyMutation as _0x5cdb92,WorkbookEditablePermission as _0x1acc3d,RefRangeService as _0x2902d3,EffectRefRangId as _0x1c676e,handleIRemoveRow as _0x4920d8,handleIRemoveCol as _0x3ee756,handleMoveRange as _0x3ce231,handleInsertRow as _0x4b2bf2,handleInsertRangeMoveRight as _0xc9ce6c,handleInsertRangeMoveDown as _0x523489,handleInsertCol as _0x33c079,handleDeleteRangeMoveUp as _0x3d5f70,handleDeleteRangeMoveLeft as _0xf9f43c,runRefRangeMutations as _0x3302a3,SetWorksheetActivateCommand as _0x1d2b26}from'@univerjs/sheets';import{IRenderManagerService as _0x87c24b,Shape as _0x59eb56,Rect as _0x2ca74a,getColor as _0x219487,RegularPolygon as _0x376a5e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x432ceb,Vector2 as _0x5ef010,SHEET_VIEWPORT_KEY as _0x4e2d98}from'@univerjs/engine-render';function _0x2ebf(_0x344500,_0x3b3020){const _0x30211d=_0x3021();return _0x2ebf=function(_0x2ebf42,_0x192e02){_0x2ebf42=_0x2ebf42-0x84;let _0x181d46=_0x30211d[_0x2ebf42];return _0x181d46;},_0x2ebf(_0x344500,_0x3b3020);}import{IImageIoService as _0x4cbe92,ImageSourceType as _0x15bdd2,ImageUploadStatusType as _0x23ab42}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x11dba6,serializeRangeWithSheet as _0x1e9fee}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x9c126f,getCoordByCell as _0x107ed1,getSheetObject as _0x126d2d,SheetPermissionInitController as _0x1b4740}from'@univerjs/sheets-ui';import _0xe9f461,{forwardRef as _0x4283e7,useRef as _0x58dadc,createElement as _0x28db3f,useCallback as _0x6d999}from'react';import{IRemoteInstanceService as _0x2f6c41}from'@univerjs/rpc';const En=_0x30c112(0x276),bn=_0x30c112(0x301),Tn='SNAPSHOT_URL_KEY',wh=_0x30c112(0x3bd),Rn=0x7d0,On=_0x30c112(0x17b),yn=_0x30c112(0x323),wn=_0x30c112(0x431),Dn=_0x30c112(0x2c8),Pn=0x7530,ki=_0x30c112(0x429),Wi=0x4e20,Nn=0x4e20,Un=_0x30c112(0x479),An=0x3,Mn=_0x30c112(0x406),xn=0x3e8,Ln='COLLAB_SUBMIT_CHANGESET_URL',$n=_0x30c112(0x24f),Hn='LOGIN_URL_KEY',jn='/universer-api/oidc/authpage';var Fi=(_0x2df36a=>(_0x2df36a[_0x2df36a['UNDEFINED']=0x0]=_0x30c112(0x29b),_0x2df36a[_0x2df36a['OK']=0x1]='OK',_0x2df36a[_0x2df36a[_0x30c112(0x2d2)]=0x2]=_0x30c112(0x2d2),_0x2df36a[_0x2df36a[_0x30c112(0x398)]=0x3]=_0x30c112(0x398),_0x2df36a[_0x2df36a[_0x30c112(0x366)]=0x4]=_0x30c112(0x366),_0x2df36a[_0x2df36a['UNAUTHENTICATED']=0x5]=_0x30c112(0x278),_0x2df36a[_0x2df36a[_0x30c112(0x1aa)]=0x6]=_0x30c112(0x1aa),_0x2df36a[_0x2df36a['INVALID_ARGUMENT']=0x7]=_0x30c112(0x465),_0x2df36a[_0x2df36a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2df36a[_0x2df36a[_0x30c112(0x8d)]=0x9]='COMPLETION_FINISHED',_0x2df36a[_0x2df36a[_0x30c112(0x3ed)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2df36a[_0x2df36a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x30c112(0x1be),_0x2df36a[_0x2df36a[_0x30c112(0x2db)]=0x1772]=_0x30c112(0x2db),_0x2df36a[_0x2df36a[_0x30c112(0x1ea)]=0x1773]=_0x30c112(0x1ea),_0x2df36a[_0x2df36a[_0x30c112(0x495)]=0x1b59]=_0x30c112(0x495),_0x2df36a[_0x2df36a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x30c112(0x459),_0x2df36a[_0x2df36a[_0x30c112(0xdc)]=0x1b5b]=_0x30c112(0xdc),_0x2df36a[_0x2df36a[_0x30c112(0xce)]=0x1b5c]=_0x30c112(0xce),_0x2df36a[_0x2df36a[_0x30c112(0x43b)]=0x1b5d]=_0x30c112(0x43b),_0x2df36a[_0x2df36a[_0x30c112(0x437)]=0x1f41]=_0x30c112(0x437),_0x2df36a[_0x2df36a[_0x30c112(0xd1)]=0x2329]=_0x30c112(0xd1),_0x2df36a[_0x2df36a[_0x30c112(0x364)]=0x232a]=_0x30c112(0x364),_0x2df36a[_0x2df36a[_0x30c112(0x85)]=0x232b]=_0x30c112(0x85),_0x2df36a[_0x2df36a[_0x30c112(0x46d)]=0x232c]=_0x30c112(0x46d),_0x2df36a[_0x2df36a[_0x30c112(0x90)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2df36a[_0x2df36a[_0x30c112(0x148)]=0x2711]=_0x30c112(0x148),_0x2df36a[_0x2df36a[_0x30c112(0x2ea)]=0x2712]=_0x30c112(0x2ea),_0x2df36a[_0x2df36a[_0x30c112(0x340)]=0x2713]=_0x30c112(0x340),_0x2df36a[_0x2df36a[_0x30c112(0x327)]=0x2714]=_0x30c112(0x327),_0x2df36a[_0x2df36a[_0x30c112(0x1a4)]=-0x1]=_0x30c112(0x1a4),_0x2df36a))(Fi||{}),ae=(_0x20584f=>(_0x20584f[_0x20584f[_0x30c112(0x190)]=0x0]='UNIVER_UNKNOWN',_0x20584f[_0x20584f['UNIVER_DOC']=0x1]=_0x30c112(0x1d7),_0x20584f[_0x20584f['UNIVER_SHEET']=0x2]=_0x30c112(0x335),_0x20584f[_0x20584f['UNIVER_SLIDE']=0x3]=_0x30c112(0x37f),_0x20584f[_0x20584f[_0x30c112(0x44e)]=0x4]=_0x30c112(0x44e),_0x20584f[_0x20584f[_0x30c112(0x1a4)]=-0x1]='UNRECOGNIZED',_0x20584f))(ae||{}),W=(_0x4e6b82=>(_0x4e6b82[_0x4e6b82['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x4e6b82[_0x4e6b82[_0x30c112(0x1b8)]=0x1]='HELLO',_0x4e6b82[_0x4e6b82[_0x30c112(0x145)]=0x2]=_0x30c112(0x145),_0x4e6b82[_0x4e6b82[_0x30c112(0x32b)]=0x3]='LEAVE',_0x4e6b82[_0x4e6b82['INGEST']=0x4]='INGEST',_0x4e6b82[_0x4e6b82[_0x30c112(0x2a8)]=0x5]=_0x30c112(0x2a8),_0x4e6b82[_0x4e6b82['RECV']=0x6]=_0x30c112(0x261),_0x4e6b82[_0x4e6b82[_0x30c112(0x1a4)]=-0x1]=_0x30c112(0x1a4),_0x4e6b82))(W||{}),Pe=(_0x25fa32=>(_0x25fa32[_0x25fa32[_0x30c112(0x2e8)]=0x0]=_0x30c112(0x2e8),_0x25fa32[_0x25fa32['OK']=0x1]='OK',_0x25fa32[_0x25fa32['FAIL']=0x2]=_0x30c112(0x2ef),_0x25fa32[_0x25fa32[_0x30c112(0x91)]=0x3e9]='JOIN_ROOM_FULL',_0x25fa32[_0x25fa32['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x30c112(0x101),_0x25fa32[_0x25fa32[_0x30c112(0x3b3)]=0x3eb]=_0x30c112(0x3b3),_0x25fa32[_0x25fa32[_0x30c112(0x8a)]=0x3ec]=_0x30c112(0x8a),_0x25fa32[_0x25fa32[_0x30c112(0x1a4)]=-0x1]=_0x30c112(0x1a4),_0x25fa32))(Pe||{}),Vi=(_0xa2cd8e=>(_0xa2cd8e[_0xa2cd8e['Undefined']=0x0]=_0x30c112(0x3e3),_0xa2cd8e[_0xa2cd8e['HttpImport']=0x1]=_0x30c112(0x218),_0xa2cd8e[_0xa2cd8e['HttpExport']=0x2]=_0x30c112(0x379),_0xa2cd8e[_0xa2cd8e['UnitEmbedded']=0x3]=_0x30c112(0x2c1),_0xa2cd8e[_0xa2cd8e['UnitSnapshot']=0x4]=_0x30c112(0x403),_0xa2cd8e[_0xa2cd8e[_0x30c112(0x1a4)]=-0x1]=_0x30c112(0x1a4),_0xa2cd8e))(Vi||{});const Q=_0x30c112(0x42f),Bn={};function kn(_0x536ac8){const _0x1dcb6c=_0x30c112;var _0x3d7886,_0x400607,_0x53d852,_0x10f510,_0x58128f;const _0x4d4ffb=_0x536ac8['data'],_0x4dc74a=JSON[_0x1dcb6c(0x173)](_0x4d4ffb);switch(_0x4dc74a['cmd']){case W['HEARTBEAT']:case W[_0x1dcb6c(0x1b8)]:{const _0x54db82=_0x4dc74a['infoRsp'];return{..._0x4dc74a,'data':_0x54db82,'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};}case W['JOIN']:{const _0x20634e=_0x4dc74a[_0x1dcb6c(0x216)];return{..._0x4dc74a,'data':_0x20634e,'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};}case W[_0x1dcb6c(0x261)]:{const _0x1c404a=_0x4dc74a['collaMsg'];switch(_0x1c404a[_0x1dcb6c(0x39d)]){case _0x1b96b7[_0x1dcb6c(0x474)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x3d7886=_0x1c404a[_0x1dcb6c(0x273)])==null?void 0x0:_0x3d7886['cs']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x126)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x400607=_0x1c404a[_0x1dcb6c(0x47a)])==null?void 0x0:_0x400607['cs']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x3ae)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x53d852=_0x1c404a[_0x1dcb6c(0x13a)])==null?void 0x0:_0x53d852['cs']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x181)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x10f510=_0x1c404a[_0x1dcb6c(0x360)])==null?void 0x0:_0x10f510['cs']},'cmd':_0x4dc74a['cmd']};case _0x1b96b7[_0x1dcb6c(0x35b)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':(_0x58128f=_0x1c404a['csShouldRetryEvent'])==null?void 0x0:_0x58128f['cs']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x18f)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x448)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7['USERS_ENTER']:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x1ba)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0xf4)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a['leaveEvent']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7['LIVESHARE_NEW_HOST']:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x3cb)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0xb9)]:case _0x1b96b7[_0x1dcb6c(0x12d)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x33b)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7['LIVESHARE_TERMINATE']:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x3cb)]},'cmd':_0x4dc74a['cmd']};case _0x1b96b7[_0x1dcb6c(0x2fe)]:return{..._0x4dc74a,'data':_0x1c404a,'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x168)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a['commentUpdateEvent']},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0xb3)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x1d0)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};case _0x1b96b7[_0x1dcb6c(0x17e)]:return{..._0x4dc74a,'data':{..._0x1c404a,'data':_0x1c404a[_0x1dcb6c(0x373)]},'cmd':_0x4dc74a[_0x1dcb6c(0x11f)]};default:return _0x4dc74a;}}default:return _0x4dc74a;}}function Wn(_0x47c554){const _0x3ebae8=_0x30c112;switch(_0x47c554['cmd']){case W[_0x3ebae8(0x2a8)]:case W[_0x3ebae8(0x1b8)]:return JSON['stringify']({'cmd':_0x47c554[_0x3ebae8(0x11f)],'routeKey':_0x47c554[_0x3ebae8(0x2b4)]});case W[_0x3ebae8(0x1b6)]:{let _0x141282;switch(_0x47c554['data']['eventID']){case _0x1b96b7[_0x3ebae8(0x18f)]:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0x18f)],'updateCursorEvent':_0x47c554['data']['data']};break;}case _0x1b96b7[_0x3ebae8(0xf4)]:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0xf4)],'leaveEvent':_0x47c554['data']['data']};break;}case _0x1b96b7['USERS_ENTER']:{_0x141282={'eventID':_0x1b96b7['USERS_ENTER'],'joinEvent':_0x47c554['data'][_0x3ebae8(0x28d)]};break;}case _0x1b96b7[_0x3ebae8(0x324)]:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0x324)],'liveShareNewHost':_0x47c554[_0x3ebae8(0x28d)][_0x3ebae8(0x28d)]};break;}case _0x1b96b7[_0x3ebae8(0x12d)]:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0x12d)],'liveShareOperation':_0x47c554[_0x3ebae8(0x28d)][_0x3ebae8(0x28d)]};break;}case _0x1b96b7['LIVESHARE_TERMINATE']:{_0x141282={'eventID':_0x1b96b7[_0x3ebae8(0x333)],'liveShareTerminate':_0x47c554['data'][_0x3ebae8(0x28d)]};break;}case _0x1b96b7['LIVESHARE_REQUEST_HOST']:{_0x141282={'eventID':_0x1b96b7['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x47c554['data'][_0x3ebae8(0x28d)]};break;}case _0x1b96b7[_0x3ebae8(0xb9)]:{_0x141282={'eventID':_0x1b96b7['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x141282={'eventID':_0x47c554[_0x3ebae8(0x28d)][_0x3ebae8(0x39d)]};}return JSON[_0x3ebae8(0x19d)]({'cmd':_0x47c554['cmd'],'routeKey':_0x47c554['routeKey'],'collaMsg':_0x141282});}case W[_0x3ebae8(0x145)]:return JSON[_0x3ebae8(0x19d)]({'cmd':_0x47c554['cmd'],'routeKey':_0x47c554[_0x3ebae8(0x2b4)],'joinReq':_0x47c554[_0x3ebae8(0x28d)]});case W[_0x3ebae8(0x32b)]:return JSON[_0x3ebae8(0x19d)]({'cmd':_0x47c554['cmd'],'routeKey':_0x47c554[_0x3ebae8(0x2b4)],'leaveReq':_0x47c554[_0x3ebae8(0x28d)]});default:throw new Error(_0x3ebae8(0x13b));}}var Fn=Object[_0x30c112(0x28e)],Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x1aaaf5,_0x1cfb23,_0x3ea0a4,_0x49f101)=>{const _0x4f5c33=_0x30c112;for(var _0x421033=_0x49f101>0x1?void 0x0:_0x49f101?Vn(_0x1cfb23,_0x3ea0a4):_0x1cfb23,_0x5f5cdb=_0x1aaaf5[_0x4f5c33(0xd3)]-0x1,_0x3ac84f;_0x5f5cdb>=0x0;_0x5f5cdb--)(_0x3ac84f=_0x1aaaf5[_0x5f5cdb])&&(_0x421033=(_0x49f101?_0x3ac84f(_0x1cfb23,_0x3ea0a4,_0x421033):_0x3ac84f(_0x421033))||_0x421033);return _0x49f101&&_0x421033&&Fn(_0x1cfb23,_0x3ea0a4,_0x421033),_0x421033;},ze=(_0x1d0c2d,_0x4915a1)=>(_0x54efb0,_0x1d78a5)=>_0x4915a1(_0x54efb0,_0x1d78a5,_0x1d0c2d);const Gi=_0x87a6a4(_0x30c112(0x3fb));function Yn(_0x5ce2ef,_0x37ff59,_0x3a1cb1){return _0x5ce2ef+'/'+_0x37ff59+'/unit/'+_0x3a1cb1+'/new_changes';}let cs=class extends _0x2ea306{constructor(_0xc27083,_0x7c531b,_0x1d11f3,_0x3840e9,_0x34b59c){const _0x2b22a4=_0x30c112;super(),this[_0x2b22a4(0x13c)]=_0xc27083,this[_0x2b22a4(0x19a)]=_0x7c531b,this[_0x2b22a4(0x42c)]=_0x1d11f3,this[_0x2b22a4(0x123)]=_0x3840e9,this[_0x2b22a4(0x45b)]=_0x34b59c;}[_0x30c112(0x1f8)](_0x4913af){const _0x4b8ce6=_0x30c112,_0x2a9043=this[_0x4b8ce6(0x19a)][_0x4b8ce6(0x1f8)](_0x4913af);if(!_0x2a9043)throw new Error(_0x4b8ce6(0x2df));const _0x5e9766=new _0x1978af(),_0x551ea7=new _0x58011a();_0x5e9766[_0x4b8ce6(0x1c0)](_0x2a9043[_0x4b8ce6(0x3b4)][_0x4b8ce6(0x196)](_0x5887de=>_0x551ea7['next'](_0x5887de))),_0x5e9766['add'](_0x7e08d2(()=>_0x551ea7['complete']()));const _0x18feec=new _0x58011a();_0x5e9766[_0x4b8ce6(0x1c0)](_0x2a9043['error$']['subscribe'](_0x3110e8=>_0x18feec[_0x4b8ce6(0x26d)](_0x3110e8))),_0x5e9766[_0x4b8ce6(0x1c0)](_0x7e08d2(()=>_0x18feec['complete']()));const _0x100f62=new _0x58011a();_0x5e9766[_0x4b8ce6(0x1c0)](_0x2a9043['message$'][_0x4b8ce6(0x196)](_0x1e86a0=>{const _0x472260=_0x4b8ce6,_0x1620bb=kn(_0x1e86a0);_0x100f62[_0x472260(0x26d)](_0x1620bb);})),_0x5e9766[_0x4b8ce6(0x1c0)](_0x7e08d2(()=>_0x100f62[_0x4b8ce6(0x2e0)]()));let _0x2045d0;const _0x272f13=()=>{const _0x7611cc=_0x4b8ce6;_0x18feec[_0x7611cc(0x26d)](new Event(_0x7611cc(0xb7))),_0x551ea7[_0x7611cc(0x26d)](new CloseEvent(_0x7611cc(0xb7))),_0x2045d0[_0x7611cc(0x3ef)]();};return _0x2045d0={'memberID':'','close$':_0x551ea7['asObservable'](),'error$':_0x18feec[_0x4b8ce6(0x36c)](),'open$':_0x2a9043['open$'],'message$':_0x100f62[_0x4b8ce6(0x36c)](),'send':_0x149c1e=>{const _0x2bdbe4=_0x4b8ce6;if(_0x149c1e['cmd']===W[_0x2bdbe4(0x1b6)]){if(_0x149c1e[_0x2bdbe4(0x28d)][_0x2bdbe4(0x39d)]===_0x1b96b7[_0x2bdbe4(0x211)]){this[_0x2bdbe4(0x166)](_0x2045d0,_0x149c1e['data'])['catch'](_0x2b38d2=>{const _0x27f1f5=_0x2bdbe4;this[_0x27f1f5(0x123)][_0x27f1f5(0x3de)](_0x2b38d2),_0x272f13();});return;}if(_0x149c1e[_0x2bdbe4(0x28d)][_0x2bdbe4(0x39d)]===_0x1b96b7[_0x2bdbe4(0x369)]){const _0x1c1d24=_0x149c1e['data'];this[_0x2bdbe4(0x3dd)](_0x1c1d24)[_0x2bdbe4(0x41b)](_0xb66b99=>{const _0x24d084=_0x2bdbe4;_0x100f62[_0x24d084(0x26d)]({'cmd':W['RECV'],'code':Pe['OK'],'routeKey':_0x1c1d24[_0x24d084(0x28d)]['unitID'],'routeType':'','data':{'eventID':_0x1b96b7[_0x24d084(0x3ba)],'data':{'changesets':_0xb66b99}}});})['catch'](_0xbed966=>{this['_logService']['error'](_0xbed966),_0x272f13();});return;}}_0x2a9043['send'](Wn(_0x149c1e));},'close':()=>{_0x2a9043['close'](),_0x5e9766['dispose']();}},_0x2045d0;}async['_submitChangeset'](_0x595e94,_0x246acd){const _0x30d429=_0x30c112;var _0x1c2148,_0x47c84c;const {unitType:_0x5b6b2f,unitID:_0x4ae848,changeset:_0x30285c}=_0x246acd[_0x30d429(0x28d)],_0x1493e9={'unitID':_0x4ae848,'memberID':_0x595e94[_0x30d429(0x27a)],'type':_0x5b6b2f,'changeset':_0x545f13(_0x30285c)},_0x873b44=this[_0x30d429(0x42c)]['getConfig'](Ln),_0x3d6d39=this[_0x30d429(0x42c)][_0x30d429(0x116)](Q),_0x2cb89c=Yn((_0x47c84c=(_0x1c2148=_0x3d6d39==null?void 0x0:_0x3d6d39['collabSubmitChangesetUrl'])!=null?_0x1c2148:_0x873b44)!=null?_0x47c84c:$n,_0x5b6b2f,_0x4ae848);try{await this[_0x30d429(0x13c)][_0x30d429(0x46e)](_0x2cb89c,{'body':_0x1493e9});}catch(_0x3fbe09){throw this[_0x30d429(0x123)]['error'](_0x30d429(0x470),_0x30d429(0x3cd)),_0x3fbe09;}}async[_0x30c112(0x3dd)](_0x2ff817){const {unitID:_0x5b4471,from:_0x5e28f0,to:_0x1d679a,unitType:_0x4c67cd}=_0x2ff817['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x5b4471,'type':_0x4c67cd,'from':_0x5e28f0,'to':_0x1d679a}))['changesets'];}};cs=Gn([ze(0x0,_0x1273b4(_0x259d97)),ze(0x1,_0x1273b4(_0x10c7f1)),ze(0x2,_0x4d1776),ze(0x3,_0x164f73),ze(0x4,_0x1745f9)],cs);const Kn='collaboration_new_changeset';function qn(_0xc6f642){const _0x3aeecc=_0x30c112;return JSON[_0x3aeecc(0x19d)](_0xc6f642)[_0x3aeecc(0xd3)];}class Yi{constructor(){const _0x1fdb21=_0x30c112;g(this,_0x1fdb21(0x367),new _0x58011a()),g(this,_0x1fdb21(0x46a),this['_commentUpdate$'][_0x1fdb21(0x36c)]());}['onCommentUpdate'](_0x4f2d40){const _0x1aebcd=_0x30c112;this[_0x1aebcd(0x367)][_0x1aebcd(0x26d)](_0x4f2d40);}}var zn=Object[_0x30c112(0x28e)],Xn=Object[_0x30c112(0x1e3)],Jn=(_0x37ed24,_0x4dc687,_0x302d0b,_0x208312)=>{for(var _0x34553d=_0x208312>0x1?void 0x0:_0x208312?Xn(_0x4dc687,_0x302d0b):_0x4dc687,_0x4834b4=_0x37ed24['length']-0x1,_0x1c074a;_0x4834b4>=0x0;_0x4834b4--)(_0x1c074a=_0x37ed24[_0x4834b4])&&(_0x34553d=(_0x208312?_0x1c074a(_0x4dc687,_0x302d0b,_0x34553d):_0x1c074a(_0x34553d))||_0x34553d);return _0x208312&&_0x34553d&&zn(_0x4dc687,_0x302d0b,_0x34553d),_0x34553d;},Ks=(_0x4d3960,_0x1b4a8c)=>(_0x22bb82,_0x29b08e)=>_0x1b4a8c(_0x22bb82,_0x29b08e,_0x4d3960);let Me=class extends _0x2ea306{constructor(_0x4e2e43,_0xd42761){const _0x573a03=_0x30c112;super(),g(this,_0x573a03(0x115),new Map()),(this['_univerInstanceService']=_0x4e2e43,this[_0x573a03(0xcb)]=_0xd42761,this[_0x573a03(0x12b)](_0x7e08d2(_0x3c419a(this[_0x573a03(0x187)][_0x573a03(0x2ad)](_0x11a8a2[_0x573a03(0x335)])[_0x573a03(0x27c)](_0x1864e2(_0x18a59d=>_0x18a59d[_0x573a03(0x480)]())),this['_univerInstanceService'][_0x573a03(0x2ad)](_0x11a8a2['UNIVER_DOC'])[_0x573a03(0x27c)](_0x1864e2(_0x14162e=>_0x14162e[_0x573a03(0x480)]())),this[_0x573a03(0x187)][_0x573a03(0x2ad)](_0x11a8a2[_0x573a03(0x37f)])[_0x573a03(0x27c)](_0x1864e2(_0x2a320f=>_0x2a320f[_0x573a03(0x480)]())))[_0x573a03(0x196)](_0x1dc599=>this[_0x573a03(0x11e)](_0x1dc599)))));}[_0x30c112(0x206)](_0x1c4b66){const _0x56a0e1=_0x30c112;this[_0x56a0e1(0xcb)][_0x56a0e1(0x206)](_0x1c4b66);}[_0x30c112(0x31d)](){const _0x2b8152=_0x30c112;return this[_0x2b8152(0xcb)][_0x2b8152(0x31d)]();}[_0x30c112(0x3b7)](_0x4118ce,_0x134531){const _0x4af945=_0x30c112;let _0x41c639=this[_0x4af945(0x115)][_0x4af945(0x3f6)](_0x4118ce);_0x41c639||(_0x41c639=new Zn(),this[_0x4af945(0x115)]['set'](_0x4118ce,_0x41c639)),_0x41c639[_0x4af945(0x3b7)](_0x134531);}[_0x30c112(0x2a2)](_0xc991ee,_0x1bf704){const _0x71b5d0=_0x30c112,_0x42e153=this[_0x71b5d0(0x115)][_0x71b5d0(0x3f6)](_0xc991ee);_0x42e153&&_0x42e153['removeMember'](_0x1bf704);}[_0x30c112(0x40b)](_0x374530){const _0x1520f1=_0x30c112;return this['_roomMembers'][_0x1520f1(0x3f6)](_0x374530);}[_0x30c112(0x226)](_0x522a64,_0x46ec24){const _0x36a9df=_0x30c112,_0x300031=this[_0x36a9df(0x115)][_0x36a9df(0x3f6)](_0x522a64);if(_0x300031)return _0x300031[_0x36a9df(0x226)](_0x46ec24);}[_0x30c112(0x11e)](_0x204ee9){const _0x3ca463=_0x30c112,_0x418c42=this[_0x3ca463(0x115)][_0x3ca463(0x3f6)](_0x204ee9);_0x418c42&&(_0x418c42[_0x3ca463(0xc9)](),this[_0x3ca463(0x115)]['delete'](_0x204ee9));}[_0x30c112(0xc9)](){const _0x2ab855=_0x30c112;this['_roomMembers'][_0x2ab855(0x241)](_0x1f6bed=>_0x1f6bed[_0x2ab855(0xc9)]()),this['_roomMembers']['clear']();}};Me=Jn([Ks(0x0,_0x1d1a83),Ks(0x1,_0x1273b4(_0x497e75))],Me);class Zn extends _0x2ea306{constructor(){const _0x314aac=_0x30c112;super(...arguments),g(this,_0x314aac(0x325),new Map());}[_0x30c112(0xc9)](){const _0x20eab9=_0x30c112;this[_0x20eab9(0x325)][_0x20eab9(0x1ca)]();}[_0x30c112(0x3b7)](_0x1238fd){const _0x4f26e8=_0x30c112;this[_0x4f26e8(0x325)][_0x4f26e8(0x34b)](_0x1238fd[_0x4f26e8(0x27a)],_0x1238fd);}[_0x30c112(0x2a2)](_0x3be162){const _0x385521=_0x30c112;this['_members'][_0x385521(0x26a)](_0x3be162);}[_0x30c112(0x226)](_0x2a4fae){const _0x550e90=_0x30c112;return this['_members'][_0x550e90(0x3f6)](_0x2a4fae);}[_0x30c112(0xe2)](){const _0xb0b044=_0x30c112;return Array['from'](this[_0xb0b044(0x325)]['values']());}}var Qn=Object['defineProperty'],eo=Object[_0x30c112(0x1e3)],to=(_0x4249d3,_0x1be23e,_0x3b6808,_0x313e5b)=>{const _0x267838=_0x30c112;for(var _0x5b4abf=_0x313e5b>0x1?void 0x0:_0x313e5b?eo(_0x1be23e,_0x3b6808):_0x1be23e,_0x3a9885=_0x4249d3[_0x267838(0xd3)]-0x1,_0xe508c5;_0x3a9885>=0x0;_0x3a9885--)(_0xe508c5=_0x4249d3[_0x3a9885])&&(_0x5b4abf=(_0x313e5b?_0xe508c5(_0x1be23e,_0x3b6808,_0x5b4abf):_0xe508c5(_0x5b4abf))||_0x5b4abf);return _0x313e5b&&_0x5b4abf&&Qn(_0x1be23e,_0x3b6808,_0x5b4abf),_0x5b4abf;},Ee=(_0x2cdcb8,_0x1adf7d)=>(_0x379a59,_0x5aaac3)=>_0x1adf7d(_0x379a59,_0x5aaac3,_0x2cdcb8),fe=(_0x3ae140=>(_0x3ae140[_0x3ae140[_0x30c112(0x421)]=0x0]='IDLE',_0x3ae140[_0x3ae140['JOINING']=0x1]=_0x30c112(0x197),_0x3ae140[_0x3ae140[_0x30c112(0x371)]=0x2]='OFFLINE',_0x3ae140[_0x3ae140[_0x30c112(0x2f6)]=0x3]='ONLINE',_0x3ae140))(fe||{});const qs={[Pe['FAIL']]:'session.join-failed',[Pe[_0x30c112(0x91)]]:_0x30c112(0x225),[Pe['JOIN_ROOM_NOT_EXISTS']]:_0x30c112(0x381),[Pe[_0x30c112(0x3b3)]]:_0x30c112(0x303),[Pe[_0x30c112(0x8a)]]:_0x30c112(0x2d6)};let hs=class extends _0x43d55d{constructor(_0x3d0eda,_0x1989f9,_0x52e11a,_0x561350,_0xa5edf8,_0x4ba7eb,_0x1d217d,_0x11d3ba,_0x48eaf5,_0x55e3b5){const _0x338668=_0x30c112;super(),g(this,_0x338668(0x402),new _0x15cd68(0x0)),g(this,_0x338668(0x28c),this['_sessionStatus$'][_0x338668(0x36c)]()),g(this,_0x338668(0x424),new _0x58011a()),g(this,_0x338668(0x208),this[_0x338668(0x424)]['asObservable']()),g(this,_0x338668(0x1de)),g(this,'_socketMessageSubscription'),g(this,_0x338668(0x414)),g(this,_0x338668(0x3c7),!0x1),g(this,_0x338668(0x149),null),(this['_unitID']=_0x3d0eda,this['_logService']=_0x52e11a,this[_0x338668(0x147)]=_0x561350,this[_0x338668(0x1d2)]=_0xa5edf8,this[_0x338668(0x42c)]=_0x4ba7eb,this[_0x338668(0x362)]=_0x1d217d,this[_0x338668(0x294)]=_0x11d3ba,this['_commentService']=_0x48eaf5,this['_telemetryService']=_0x55e3b5,this['_shouldReportTelemetry']=!!this[_0x338668(0x345)],_0x1989f9[_0x338668(0x27c)](_0x4d1973(this['dispose$']))[_0x338668(0x196)](_0x2ca98c=>{const _0x5020ef=_0x338668;var _0x3d7608;typeof _0x2ca98c>'u'||(this['_socket']=_0x2ca98c,_0x2ca98c?(this[_0x5020ef(0x44b)](_0x2ca98c),this[_0x5020ef(0x232)]=_0x2ca98c['message$']['subscribe'](_0x1e3b1a=>{const _0x2995b4=_0x5020ef;_0x1e3b1a[_0x2995b4(0x2b4)]===this[_0x2995b4(0x15f)]&&this[_0x2995b4(0x443)](_0x1e3b1a);})):(this[_0x5020ef(0x15d)](),this['_sessionStatus$'][_0x5020ef(0x26d)](0x2),(_0x3d7608=this[_0x5020ef(0x232)])==null||_0x3d7608['unsubscribe'](),this[_0x5020ef(0x232)]=null));}),this[_0x338668(0x12b)](this[_0x338668(0x147)][_0x338668(0x1f6)](()=>{const _0xafc757=_0x338668;var _0x4f0ccb;(_0x4f0ccb=this[_0xafc757(0x1de)])==null||_0x4f0ccb[_0xafc757(0x3ee)]({'cmd':W[_0xafc757(0x32b)],'data':{'roomID':this[_0xafc757(0x15f)]}});})));}get[_0x30c112(0x35d)](){return this['_sessionStatus$']['getValue']();}[_0x30c112(0x88)](){const _0x5dd58a=_0x30c112;var _0x32d331,_0x48984a;return(_0x48984a=(_0x32d331=this['_socket'])==null?void 0x0:_0x32d331[_0x5dd58a(0x27a)])!=null?_0x48984a:null;}['dispose'](){const _0x127132=_0x30c112;super['dispose'](),this['dispose$'][_0x127132(0x26d)](),this[_0x127132(0x3e7)]['complete']();}[_0x30c112(0x3ef)](){const _0x5b946e=_0x30c112;var _0x59fbf1,_0x4c064b;this[_0x5b946e(0x15d)](),(_0x59fbf1=this['_socket'])==null||_0x59fbf1[_0x5b946e(0x3ee)]({'cmd':W[_0x5b946e(0x32b)],'data':{'roomID':this['_unitID']}}),(_0x4c064b=this['_socket'])==null||_0x4c064b[_0x5b946e(0x3ef)](),this['_event$']['complete'](),this[_0x5b946e(0x402)][_0x5b946e(0x2e0)](),this['dispose']();}['_onCombEvent'](_0x4c360d){const _0x37c6d4=_0x30c112;_0x4c360d['cmd']===W[_0x37c6d4(0x145)]?this[_0x37c6d4(0x213)](_0x4c360d):_0x4c360d[_0x37c6d4(0x11f)]===W[_0x37c6d4(0x261)]&&this[_0x37c6d4(0x2e3)](_0x4c360d);}[_0x30c112(0x44b)](_0x22a009){const _0x51f7c1=_0x30c112;this['_sessionStatus$']['next'](0x1),_0x22a009[_0x51f7c1(0x3ee)]({'cmd':W[_0x51f7c1(0x145)],'routeKey':this[_0x51f7c1(0x15f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x51f7c1(0x15f)]}]}});}[_0x30c112(0x213)](_0x13f77d){const _0x3d799d=_0x30c112;var _0x5b8859;if(_0x13f77d['code']in qs){this['_messageService']['show']({'type':_0x41d1f0['Warning'],'content':this['_localeService']['t'](qs[_0x13f77d[_0x3d799d(0x4a1)]])}),this[_0x3d799d(0x402)][_0x3d799d(0x26d)](0x2);return;}this[_0x3d799d(0x402)][_0x3d799d(0x26d)](0x3);const _0x403fe3=(_0x5b8859=_0x13f77d[_0x3d799d(0x28d)]['roomInfos'][this[_0x3d799d(0x15f)]])==null?void 0x0:_0x5b8859[_0x3d799d(0x452)];_0x403fe3&&_0x403fe3[_0x3d799d(0x241)](_0x5a01f3=>this[_0x3d799d(0x294)][_0x3d799d(0x3b7)](this['_unitID'],_0x5a01f3));}[_0x30c112(0x2e3)](_0x432681){const _0x55b03b=_0x30c112;try{const _0x5934c3=_0x432681[_0x55b03b(0x28d)];switch(_0x5934c3[_0x55b03b(0x39d)]){case _0x1b96b7['USERS_ENTER']:this[_0x55b03b(0xf0)](_0x5934c3),this[_0x55b03b(0x424)][_0x55b03b(0x26d)](_0x5934c3);break;case _0x1b96b7[_0x55b03b(0xf4)]:this[_0x55b03b(0x2fc)](_0x5934c3),this[_0x55b03b(0x424)][_0x55b03b(0x26d)](_0x5934c3);break;case _0x1b96b7[_0x55b03b(0x126)]:case _0x1b96b7[_0x55b03b(0x35b)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x55b03b(0x37b)](),this[_0x55b03b(0x424)][_0x55b03b(0x26d)](_0x5934c3);break;case _0x1b96b7[_0x55b03b(0x2fe)]:this['_logService'][_0x55b03b(0x3de)](_0x55b03b(0x204)+JSON[_0x55b03b(0x19d)](_0x5934c3)),this[_0x55b03b(0x424)][_0x55b03b(0x26d)](_0x5934c3);break;case _0x1b96b7[_0x55b03b(0x168)]:this[_0x55b03b(0x3dc)][_0x55b03b(0x221)](_0x5934c3['data']),this['_event$'][_0x55b03b(0x26d)](_0x5934c3);break;default:this[_0x55b03b(0x424)]['next'](_0x5934c3);}}catch(_0x126e38){this[_0x55b03b(0x123)][_0x55b03b(0x3de)](_0x126e38,_0x432681);}}[_0x30c112(0xf0)](_0xa23379){const _0x296bff=_0x30c112;this['_memberService'][_0x296bff(0x3b7)](this[_0x296bff(0x15f)],_0xa23379[_0x296bff(0x28d)]);}[_0x30c112(0x2fc)](_0x1aced8){const _0xe82aef=_0x30c112;this[_0xe82aef(0x294)]['removeMember'](this[_0xe82aef(0x15f)],_0x1aced8['data']['memberID']);}async[_0x30c112(0x3ee)](_0x4daa6a,_0x1534bf){const _0xa598e3=_0x30c112;if(this[_0xa598e3(0x35d)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4daa6a[_0xa598e3(0x39d)]===_0x1b96b7['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xa598e3(0x108)](_0x4daa6a)),this[_0xa598e3(0x1de)]['send']({'cmd':W['INGEST'],'routeKey':_0x1534bf,'routeType':'','data':_0x4daa6a});}catch(_0xbbf7ea){this[_0xa598e3(0x123)][_0xa598e3(0x3de)](_0xbbf7ea);}}[_0x30c112(0x249)](){const _0xa3481b=_0x30c112;var _0x41b8da;this['_collaborationTimeoutTimer']=window[_0xa3481b(0x2ac)](()=>{const _0x305eb8=_0xa3481b;this['_collaborationTimeoutTimer']=null,this[_0x305eb8(0x1d2)][_0x305eb8(0x3f0)]({'type':_0x41d1f0[_0x305eb8(0xca)],'content':this[_0x305eb8(0x362)]['t'](_0x305eb8(0x1e8))});},(_0x41b8da=this[_0xa3481b(0x42c)][_0xa3481b(0x116)](ki))!=null?_0x41b8da:Wi);}[_0x30c112(0x37b)](){const _0x59737d=_0x30c112;this[_0x59737d(0x414)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x30a558){const _0x25faf4=_0x30c112;if(!this['_shouldReportTelemetry'])return;const {data:_0x140f90}=_0x30a558,{unitID:_0x364522,changeset:_0x1c6c59}=_0x140f90,{mutations:_0x13d97b,type:_0x345750}=_0x1c6c59;this[_0x25faf4(0x149)]={'unitId':_0x364522,'type':_0x345750,'startTime':performance[_0x25faf4(0x189)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x13d97b)};}[_0x30c112(0x2e4)](){const _0x382302=_0x30c112;if(this[_0x382302(0x3c7)]){if(!this[_0x382302(0x149)]){this[_0x382302(0x123)]['error'](_0x382302(0x470),_0x382302(0x46b));return;}this['_telemetryInfo']['stopTime']=performance[_0x382302(0x189)](),this[_0x382302(0x149)]['duration']=this['_telemetryInfo'][_0x382302(0x194)]-this['_telemetryInfo'][_0x382302(0xc7)],this[_0x382302(0x345)][_0x382302(0x8e)](Kn,this[_0x382302(0x149)]),this['_telemetryInfo']=null;}}[_0x30c112(0x15d)](){const _0x3617f1=_0x30c112;this[_0x3617f1(0x149)]=null;}};hs=to([Ee(0x2,_0x164f73),Ee(0x3,_0x31d20c),Ee(0x4,_0x56e1bc),Ee(0x5,_0x4d1776),Ee(0x6,_0x1273b4(_0x582404)),Ee(0x7,_0x1273b4(Me)),Ee(0x8,_0x1273b4(Yi)),Ee(0x9,_0xe30079(_0xb3e496))],hs);var so=Object[_0x30c112(0x28e)],io=Object[_0x30c112(0x1e3)],ro=(_0x478256,_0x41b7f2,_0x353d53,_0x4ccf73)=>{for(var _0x36eee0=_0x4ccf73>0x1?void 0x0:_0x4ccf73?io(_0x41b7f2,_0x353d53):_0x41b7f2,_0x3d42a9=_0x478256['length']-0x1,_0x283436;_0x3d42a9>=0x0;_0x3d42a9--)(_0x283436=_0x478256[_0x3d42a9])&&(_0x36eee0=(_0x4ccf73?_0x283436(_0x41b7f2,_0x353d53,_0x36eee0):_0x283436(_0x36eee0))||_0x36eee0);return _0x4ccf73&&_0x36eee0&&so(_0x41b7f2,_0x353d53,_0x36eee0),_0x36eee0;},ye=(_0x1f4afb,_0x642565)=>(_0x5c140c,_0x2ea222)=>_0x642565(_0x5c140c,_0x2ea222,_0x1f4afb);let xe=class extends _0x2ea306{constructor(_0x282b2b,_0x314417,_0x449e94,_0x54ab1c,_0xb63e03,_0x4f1f06,_0xb3ee11){const _0x313619=_0x30c112;super(),g(this,'_socket$',new _0x15cd68(void 0x0)),g(this,_0x313619(0x33e),this['_socket$'][_0x313619(0x36c)]()),g(this,_0x313619(0x451),null),g(this,_0x313619(0x1d8),new Map()),g(this,_0x313619(0xbc),new _0x15cd68(fe[_0x313619(0x421)])),g(this,_0x313619(0x2e9),this['_status$']['asObservable']()),g(this,_0x313619(0x2bd),!0x1),g(this,_0x313619(0xd5)),g(this,_0x313619(0x2f2),0x0),g(this,_0x313619(0x401)),g(this,'_timeoutTimer'),(this[_0x313619(0x13e)]=_0x282b2b,this['_localeService']=_0x314417,this['_messageService']=_0x449e94,this['_logService']=_0x54ab1c,this['_configService']=_0xb63e03,this[_0x313619(0x3ec)]=_0x4f1f06,this[_0x313619(0x159)]=_0xb3ee11,this[_0x313619(0x1f4)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x30c112(0x1f4)](){const _0x999d88=_0x30c112;this['_listenToOfflineEvent'](),this[_0x999d88(0x291)]();}[_0x30c112(0xc9)](){const _0x6b0318=_0x30c112;super[_0x6b0318(0xc9)](),this[_0x6b0318(0x1d8)]['forEach'](_0x1d0bc7=>_0x1d0bc7[_0x6b0318(0xc9)]()),this[_0x6b0318(0x1d8)]['clear'](),this[_0x6b0318(0xbc)][_0x6b0318(0x2e0)]();}async[_0x30c112(0x288)](_0x523cd6){const _0xe8f0f5=_0x30c112;if(this[_0xe8f0f5(0x1d8)][_0xe8f0f5(0x120)](_0x523cd6))return this[_0xe8f0f5(0x1d8)][_0xe8f0f5(0x3f6)](_0x523cd6);this[_0xe8f0f5(0x155)]();const _0x47e5ae=this[_0xe8f0f5(0x13e)]['createInstance'](hs,_0x523cd6,this[_0xe8f0f5(0x27f)][_0xe8f0f5(0x36c)]());return this[_0xe8f0f5(0x1d8)][_0xe8f0f5(0x34b)](_0x523cd6,_0x47e5ae),_0x47e5ae;}['closeSession'](_0x2d10ed){const _0x26c935=_0x30c112;var _0x5303d2;const _0x2a4384=this[_0x26c935(0x1d8)]['get'](_0x2d10ed);_0x2a4384&&(this['_sessions'][_0x26c935(0x26a)](_0x2d10ed),_0x2a4384[_0x26c935(0x3ef)]()),this[_0x26c935(0x1d8)][_0x26c935(0x150)]||(_0x5303d2=this[_0x26c935(0x1de)])==null||_0x5303d2[_0x26c935(0x3ef)]();}[_0x30c112(0x14c)](){const _0x28c878=_0x30c112;this[_0x28c878(0x2f2)]=0x0,this[_0x28c878(0xd5)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x28c878(0x183)]();}async['_getSessionTicket'](){const _0x174015=_0x30c112;var _0x4f3b6e,_0x55bc1f,_0x26be2a;const _0xa37c07=this['_configService']['getConfig'](Q),_0x37a4c5=(_0x4f3b6e=_0xa37c07==null?void 0x0:_0xa37c07[_0x174015(0x314)])!=null?_0x4f3b6e:wn;return(_0x26be2a=(_0x55bc1f=(await this[_0x174015(0x159)][_0x174015(0x3f6)](_0x37a4c5,{'headers':{'Content-Type':'application/json'}}))[_0x174015(0x2f0)])==null?void 0x0:_0x55bc1f[_0x174015(0x1e6)])!=null?_0x26be2a:'';}[_0x30c112(0x1d5)](_0x1014cf){const _0x3200df=_0x30c112;var _0x256f4f,_0x2d4be2;const _0x3ad8a6=this['_configService']['getConfig'](On),_0x408f2a=this['_configService'][_0x3200df(0x116)](Q),_0x5a53dd=(_0x2d4be2=(_0x256f4f=_0x408f2a==null?void 0x0:_0x408f2a[_0x3200df(0x2e2)])!=null?_0x256f4f:_0x3ad8a6)!=null?_0x2d4be2:yn,_0x3f0a4d=new URL(_0x5a53dd,window['location']['origin']);return _0x3f0a4d[_0x3200df(0x162)][_0x3200df(0x34b)](_0x3200df(0xa4),_0x1014cf),_0x3f0a4d[_0x3200df(0x1ae)]();}async[_0x30c112(0x48e)](){const _0xbeb3ba=_0x30c112,_0xc650bb=await this[_0xbeb3ba(0x382)](),_0x30afaa=this[_0xbeb3ba(0x1d5)](_0xc650bb),_0xea24b7=this[_0xbeb3ba(0x3ec)][_0xbeb3ba(0x1f8)](_0x30afaa);return this[_0xbeb3ba(0x451)]=_0xea24b7,_0xea24b7;}async[_0x30c112(0x155)](){const _0x57bef7=_0x30c112;var _0x4c634e,_0x126a02;try{const _0x1bdacd=(_0x126a02=(_0x4c634e=this[_0x57bef7(0x1de)])!=null?_0x4c634e:this[_0x57bef7(0x451)])!=null?_0x126a02:await this[_0x57bef7(0x48e)]();if(_0x1bdacd){const _0x25a479=_0x1bdacd[_0x57bef7(0x3ee)];_0x1bdacd[_0x57bef7(0x3ee)]=_0x2a9627=>(this[_0x57bef7(0x41c)](),_0x25a479[_0x57bef7(0x2a1)](_0x1bdacd,[_0x2a9627])),_0x1bdacd[_0x57bef7(0x282)][_0x57bef7(0x196)](_0x336d55=>this[_0x57bef7(0x1dd)](_0x1bdacd,_0x336d55)),_0x1bdacd['error$'][_0x57bef7(0x27c)](_0x126867(0x1))[_0x57bef7(0x196)](_0x3f17bd=>this[_0x57bef7(0x123)][_0x57bef7(0x3de)](_0x57bef7(0x43e),_0x3f17bd)),_0x1bdacd[_0x57bef7(0x329)][_0x57bef7(0x27c)](_0x126867(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x1bdacd);}),_0x1bdacd[_0x57bef7(0x3b4)][_0x57bef7(0x27c)](_0x126867(0x1))[_0x57bef7(0x196)](_0x41104a=>{const _0x597ecf=_0x57bef7;this[_0x597ecf(0x123)]['debug'](_0x597ecf(0x44d),_0x597ecf(0x269),_0x41104a),this[_0x597ecf(0x49c)]();});}}catch(_0x52ded6){this['_logService'][_0x57bef7(0x3de)](_0x52ded6),this[_0x57bef7(0x49c)]();}}['_onConnectionOpen'](_0x4506fe){const _0x23f75f=_0x30c112;this[_0x23f75f(0x123)][_0x23f75f(0x19b)](_0x23f75f(0x44d),'socket\x20open.'),_0x4506fe['send']({'cmd':W[_0x23f75f(0x1b8)]}),this['_rescheduleHeartbeat']();}['_listenToOfflineEvent'](){const _0xf7178b=_0x30c112;window[_0xf7178b(0x29a)]('offline',()=>this[_0xf7178b(0x2b6)]());}['_onOffline'](){const _0x2217fe=_0x30c112;this[_0x2217fe(0x2bd)]=!0x1,this[_0x2217fe(0x451)]=null,this[_0x2217fe(0xbc)][_0x2217fe(0x26d)](fe[_0x2217fe(0x371)]),this[_0x2217fe(0x27f)][_0x2217fe(0x26d)](null),this[_0x2217fe(0x2ba)](),this[_0x2217fe(0x484)]();}[_0x30c112(0x49c)](){const _0x40d1ac=_0x30c112;var _0x11c559;this[_0x40d1ac(0x2b6)](),this[_0x40d1ac(0x2f2)]<((_0x11c559=this[_0x40d1ac(0x42c)]['getConfig'](Un))!=null?_0x11c559:An)?(this[_0x40d1ac(0x1d2)][_0x40d1ac(0x3f0)]({'key':_0x40d1ac(0xdf),'type':_0x41d1f0['Warning'],'content':this[_0x40d1ac(0x362)]['t'](_0x40d1ac(0x11c))}),this[_0x40d1ac(0x183)]()):this[_0x40d1ac(0x1d2)][_0x40d1ac(0x3f0)]({'key':_0x40d1ac(0xdf),'type':_0x41d1f0[_0x40d1ac(0xca)],'content':this[_0x40d1ac(0x362)]['t'](_0x40d1ac(0x44a))});}[_0x30c112(0x291)](){const _0x28dbbb=_0x30c112,_0x119c32=()=>{const _0x36528f=_0x2ebf;this['_socket']||this[_0x36528f(0x14c)]();},_0x9c57d5=()=>{const _0x42b7de=_0x2ebf;this[_0x42b7de(0x1de)]||document[_0x42b7de(0x110)]===_0x42b7de(0x238)||this[_0x42b7de(0x14c)]();};window[_0x28dbbb(0x29a)](_0x28dbbb(0x129),_0x119c32),document[_0x28dbbb(0x29a)](_0x28dbbb(0x28a),_0x9c57d5);}['_tryReconnect'](){const _0x5c4849=_0x30c112;var _0x3156f5;const _0xde0711=this[_0x5c4849(0x2f2)],_0x3d5282=this[_0x5c4849(0x42c)][_0x5c4849(0x116)](Q),_0x3ef5ac=_0xde0711===0x0?0x0:((_0x3156f5=_0x3d5282==null?void 0x0:_0x3d5282[_0x5c4849(0x2c7)])!=null?_0x3156f5:Nn)*0x2**_0xde0711;this[_0x5c4849(0xd5)]=window['setTimeout'](()=>{const _0x4c3fa5=_0x5c4849;clearTimeout(this[_0x4c3fa5(0xd5)]),this[_0x4c3fa5(0xd5)]=null,this[_0x4c3fa5(0x155)]();},_0x3ef5ac),this[_0x5c4849(0x2f2)]+=0x1;}[_0x30c112(0x1dd)](_0x169172,_0x43d5ac){const _0x2add12=_0x30c112,{cmd:_0x418dc2}=_0x43d5ac;_0x418dc2===W['HELLO']&&!this[_0x2add12(0x2bd)]&&(_0x169172[_0x2add12(0x27a)]=_0x43d5ac['data'][_0x2add12(0x27a)],this[_0x2add12(0x27f)]['next'](_0x169172),this['_status$'][_0x2add12(0x26d)](fe[_0x2add12(0x2f6)]),this[_0x2add12(0x2bd)]=!0x0,this[_0x2add12(0x451)]=null),_0x418dc2===W[_0x2add12(0x2a8)]&&this[_0x2add12(0x2ba)](),this[_0x2add12(0x41c)]();}[_0x30c112(0x41c)](){const _0x3ea913=_0x30c112;var _0x4d85b4;this[_0x3ea913(0x484)](),this['_sendHeartbeatTimer']=window[_0x3ea913(0x2ac)](()=>this[_0x3ea913(0x483)](),(_0x4d85b4=this[_0x3ea913(0x42c)][_0x3ea913(0x116)](Dn))!=null?_0x4d85b4:Pn);}[_0x30c112(0x483)](){const _0x49b569=_0x30c112;this[_0x49b569(0x1de)]['send']({'cmd':W[_0x49b569(0x2a8)]}),this[_0x49b569(0x3b2)]();}[_0x30c112(0x3b2)](){const _0xef6e59=_0x30c112;var _0x50102c;this['_timeoutTimer']=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x50102c=this[_0xef6e59(0x42c)]['getConfig'](ki))!=null?_0x50102c:Wi);}[_0x30c112(0x484)](){const _0x466d53=_0x30c112;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x466d53(0x401)]=null);}['_clearTimeoutTimer'](){const _0x293cf2=_0x30c112;this[_0x293cf2(0x43f)]!=null&&(clearTimeout(this[_0x293cf2(0x43f)]),this['_timeoutTimer']=null);}};xe=ro([ye(0x0,_0x1273b4(_0x3c8419)),ye(0x1,_0x1273b4(_0x582404)),ye(0x2,_0x56e1bc),ye(0x3,_0x164f73),ye(0x4,_0x4d1776),ye(0x5,Gi),ye(0x6,_0x1273b4(_0x259d97))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x30c112(0x1ae)](0x10)['slice'](0x1));function no(_0x3ddb30,_0x2058b8=0x0){const _0x289542=_0x30c112;return(Y[_0x3ddb30[_0x2058b8+0x0]]+Y[_0x3ddb30[_0x2058b8+0x1]]+Y[_0x3ddb30[_0x2058b8+0x2]]+Y[_0x3ddb30[_0x2058b8+0x3]]+'-'+Y[_0x3ddb30[_0x2058b8+0x4]]+Y[_0x3ddb30[_0x2058b8+0x5]]+'-'+Y[_0x3ddb30[_0x2058b8+0x6]]+Y[_0x3ddb30[_0x2058b8+0x7]]+'-'+Y[_0x3ddb30[_0x2058b8+0x8]]+Y[_0x3ddb30[_0x2058b8+0x9]]+'-'+Y[_0x3ddb30[_0x2058b8+0xa]]+Y[_0x3ddb30[_0x2058b8+0xb]]+Y[_0x3ddb30[_0x2058b8+0xc]]+Y[_0x3ddb30[_0x2058b8+0xd]]+Y[_0x3ddb30[_0x2058b8+0xe]]+Y[_0x3ddb30[_0x2058b8+0xf]])[_0x289542(0x14a)]();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x43aa02=_0x30c112;if(!Gt){if(typeof crypto>'u'||!crypto[_0x43aa02(0x2f1)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Gt=crypto['getRandomValues']['bind'](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x30c112(0x425)]&&crypto[_0x30c112(0x425)][_0x30c112(0x472)](crypto),zs={'randomUUID':co};function ho(_0x112244,_0x1a4ca8,_0x3b07a3){const _0xe68ff2=_0x30c112;if(zs[_0xe68ff2(0x425)]&&!_0x1a4ca8&&!_0x112244)return zs[_0xe68ff2(0x425)]();_0x112244=_0x112244||{};const _0x20b554=_0x112244[_0xe68ff2(0x1b7)]||(_0x112244[_0xe68ff2(0x32f)]||ao)();return _0x20b554[0x6]=_0x20b554[0x6]&0xf|0x40,_0x20b554[0x8]=_0x20b554[0x8]&0x3f|0x80,no(_0x20b554);}var lo=Object['defineProperty'],_o=Object[_0x30c112(0x1e3)],uo=(_0x35270a,_0x25f02e,_0x2920e6,_0x2b8ebf)=>{const _0x298770=_0x30c112;for(var _0x2c7d19=_0x2b8ebf>0x1?void 0x0:_0x2b8ebf?_o(_0x25f02e,_0x2920e6):_0x25f02e,_0x1fc1db=_0x35270a[_0x298770(0xd3)]-0x1,_0x1f3250;_0x1fc1db>=0x0;_0x1fc1db--)(_0x1f3250=_0x35270a[_0x1fc1db])&&(_0x2c7d19=(_0x2b8ebf?_0x1f3250(_0x25f02e,_0x2920e6,_0x2c7d19):_0x1f3250(_0x2c7d19))||_0x2c7d19);return _0x2b8ebf&&_0x2c7d19&&lo(_0x25f02e,_0x2920e6,_0x2c7d19),_0x2c7d19;},Yt=(_0x3a8dfc,_0x5f06ea)=>(_0x522bc6,_0x2488c1)=>_0x5f06ea(_0x522bc6,_0x2488c1,_0x3a8dfc);let yt=class{constructor(_0x279c8b,_0x22b426,_0x3cb905){const _0x29945e=_0x30c112;this[_0x29945e(0x13e)]=_0x279c8b,this[_0x29945e(0x3b9)]=_0x22b426,this[_0x29945e(0x444)]=_0x3cb905;}[_0x30c112(0xfd)](_0x352dbe){const _0x251849=_0x30c112;this['_transformUndoRedoStack'](_0x352dbe),this[_0x251849(0x270)](_0x352dbe);}[_0x30c112(0x1a5)](_0x2ea34b){const _0x4fda53=_0x30c112,{unitID:_0x4c3077}=_0x2ea34b,_0x464260=this[_0x4fda53(0x444)]['getRenderById'](_0x4c3077)[_0x4fda53(0xab)](_0x2f1d3f),{redoCache:_0x1ef9de}=_0x464260[_0x4fda53(0x3b6)]();if(_0x1ef9de[_0x4fda53(0xd3)]===0x0)return _0x2ea34b;let _0xace60a=_0x4c6645[_0x4fda53(0x264)](_0x2ea34b[_0x4fda53(0xa0)][0x0]);for(let _0x500a21=0x0;_0x500a21<_0x1ef9de[_0x4fda53(0xd3)];_0x500a21++){const _0x7b8160={'id':_0x4fda53(0x285),'params':{..._0x1ef9de[_0x500a21]}},_0x42964b=this[_0x4fda53(0x3b9)][_0x4fda53(0x423)](_0xace60a,_0x7b8160,!0x1);if(_0x33b0d8(_0x42964b))throw _0x42964b[_0x4fda53(0x3de)];_0xace60a=_0x42964b[_0x4fda53(0x3d2)];}return{..._0x4c6645[_0x4fda53(0x264)](_0x2ea34b),'mutations':[_0xace60a]};}['_transformUndoRedoStack'](_0x2fe2c5){const _0x8f0fe2=_0x30c112,{unitID:_0x34fbac}=_0x2fe2c5,_0x538078=this[_0x8f0fe2(0x444)][_0x8f0fe2(0x209)](_0x34fbac)[_0x8f0fe2(0xab)](_0x2f1d3f),{undoCache:_0x600734,redoCache:_0x4e7cab}=_0x538078[_0x8f0fe2(0x3b6)]();if(_0x600734[_0x8f0fe2(0xd3)]===0x0||_0x4e7cab[_0x8f0fe2(0xd3)]===0x0)return;const _0x4b7369=[],_0x1198aa=[];let _0x5ff189=_0x4c6645[_0x8f0fe2(0x264)](_0x2fe2c5[_0x8f0fe2(0xa0)][0x0]),_0x58cd04=_0x4c6645[_0x8f0fe2(0x264)](_0x2fe2c5[_0x8f0fe2(0xa0)][0x0]);for(let _0x486343=_0x600734['length']-0x1;_0x486343>=0x0;_0x486343--){const _0x5229c2={'id':_0x8f0fe2(0x285),'params':{..._0x600734[_0x486343]}},_0x5a9fba={'id':_0x8f0fe2(0x285),'params':{..._0x4e7cab[_0x486343]}},_0x11c3cf=this[_0x8f0fe2(0x3b9)][_0x8f0fe2(0x423)](_0x5ff189,_0x5229c2,!0x1),_0x5d8320=this[_0x8f0fe2(0x3b9)][_0x8f0fe2(0x423)](_0x58cd04,_0x5a9fba,!0x1);if(_0x33b0d8(_0x11c3cf))throw _0x11c3cf[_0x8f0fe2(0x3de)];if(_0x33b0d8(_0x5d8320))throw _0x5d8320[_0x8f0fe2(0x3de)];_0x4b7369[_0x8f0fe2(0x2ec)](_0x11c3cf[_0x8f0fe2(0x27d)][_0x8f0fe2(0x1d4)]),_0x1198aa[_0x8f0fe2(0x2ec)](_0x5d8320[_0x8f0fe2(0x27d)]['params']),_0x5ff189=_0x11c3cf[_0x8f0fe2(0x3d2)],_0x58cd04=_0x5d8320['m1Prime'];}_0x538078[_0x8f0fe2(0x28f)]({'undoCache':_0x4b7369,'redoCache':_0x1198aa});}[_0x30c112(0x270)](_0x56dbda){const _0x4eec68=_0x30c112,{unitID:_0x40cb2b}=_0x56dbda,_0x8834a1=this[_0x4eec68(0x444)]['getRenderById'](_0x40cb2b)[_0x4eec68(0xab)](_0x2f1d3f),_0x48b3c3=_0x8834a1[_0x4eec68(0x22f)]();if(_0x48b3c3==null)return;const _0x89ad93=[{'id':_0x4eec68(0x285),'params':{'unitId':_0x56dbda['unitID'],'actions':null,'textRanges':[_0x48b3c3]}}],_0x43a321=this[_0x4eec68(0x3b9)][_0x4eec68(0x334)](_0x56dbda,_0x89ad93);if(!_0x12ed98(_0x43a321))throw _0x43a321[_0x4eec68(0x3de)];const _0x23b0e2=_0x43a321[_0x4eec68(0x27d)][0x0][_0x4eec68(0x1d4)]['textRanges'];Array[_0x4eec68(0x1f7)](_0x23b0e2)&&_0x23b0e2[_0x4eec68(0xd3)]&&_0x8834a1[_0x4eec68(0x295)](_0x23b0e2[0x0]);}};yt=uo([Yt(0x0,_0x1273b4(_0x3c8419)),Yt(0x1,_0xf205f5),Yt(0x2,_0x87c24b)],yt);var fo=Object['defineProperty'],vo=Object[_0x30c112(0x1e3)],po=(_0x44c1f0,_0x46659f,_0x5cb64c,_0x46a49b)=>{for(var _0x39d9fe=_0x46a49b>0x1?void 0x0:_0x46a49b?vo(_0x46659f,_0x5cb64c):_0x46659f,_0x4f4f7f=_0x44c1f0['length']-0x1,_0x5d74f4;_0x4f4f7f>=0x0;_0x4f4f7f--)(_0x5d74f4=_0x44c1f0[_0x4f4f7f])&&(_0x39d9fe=(_0x46a49b?_0x5d74f4(_0x46659f,_0x5cb64c,_0x39d9fe):_0x5d74f4(_0x39d9fe))||_0x39d9fe);return _0x46a49b&&_0x39d9fe&&fo(_0x46659f,_0x5cb64c,_0x39d9fe),_0x39d9fe;},Xe=(_0x216403,_0x3ae354)=>(_0x1900d4,_0x19e0b4)=>_0x3ae354(_0x1900d4,_0x19e0b4,_0x216403);let z=class extends _0x2ea306{constructor(_0x2c8d52,_0x467e35,_0x497e8f,_0xfd3a5c,_0x207113){const _0x3c7a39=_0x30c112;super(),g(this,_0x3c7a39(0x10d),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x3c7a39(0x2a3),!0x1),(this[_0x3c7a39(0x42c)]=_0x2c8d52,this[_0x3c7a39(0x219)]=_0x467e35,this[_0x3c7a39(0x147)]=_0x497e8f,this[_0x3c7a39(0x362)]=_0xfd3a5c,this[_0x3c7a39(0x2af)]=_0x207113,this[_0x3c7a39(0x436)]());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x30c112(0x3d5)](){this['_disabled']=!0x1;}['dispose'](){const _0x2e6cbf=_0x30c112;this[_0x2e6cbf(0x11d)]()['then'](()=>super[_0x2e6cbf(0xc9)]());}async['loadOfflineData'](_0x1369da){const _0x1fb61d=_0x30c112;return this[_0x1fb61d(0x2a3)]?null:this[_0x1fb61d(0x219)]['getItem'](Xs(_0x1369da));}async['saveOfflineData'](_0x426144,_0x29942d){const _0x5f1293=_0x30c112;return!!this[_0x5f1293(0x219)]['setItem'](_0x426144,_0x29942d);}[_0x30c112(0x3d3)](_0x3d7d02,_0x184318,_0x4f2204,_0x528a3a){const _0x4f87e0=_0x30c112,_0x37524c=this[_0x4f87e0(0x2af)]['getCurrentRevOfUnit'](_0x3d7d02);this[_0x4f87e0(0x10d)][_0x4f87e0(0x34b)](_0x3d7d02,{'unitID':_0x3d7d02,'type':_0x184318,'awaitingChangeset':_0x4f2204,'mutations':_0x528a3a,'rev':_0x37524c}),this[_0x4f87e0(0x486)][_0x4f87e0(0x120)](_0x3d7d02)||this['_scheduleSaving'](_0x3d7d02);}[_0x30c112(0x210)](_0x58498d){const _0x50b655=_0x30c112,_0x171e99=this['_getSaveTimeout']();_0x171e99===0x0?this[_0x50b655(0x1a7)](_0x58498d):this[_0x50b655(0x486)][_0x50b655(0x34b)](_0x58498d,setTimeout(()=>this[_0x50b655(0x1a7)](_0x58498d),_0x171e99));}['_getSaveTimeout'](){const _0x3fb792=_0x30c112;var _0x3ef1f9;return(_0x3ef1f9=this['_configService'][_0x3fb792(0x116)](Mn))!=null?_0x3ef1f9:xn;}[_0x30c112(0x1a7)](_0x10edd9){const _0x19dba1=_0x30c112,_0x4de7e6=this[_0x19dba1(0x486)][_0x19dba1(0x3f6)](_0x10edd9);return _0x4de7e6!==void 0x0&&window[_0x19dba1(0x184)](_0x4de7e6),this[_0x19dba1(0x219)][_0x19dba1(0x23f)](Xs(_0x10edd9),this['_cachedData'][_0x19dba1(0x3f6)](_0x10edd9))[_0x19dba1(0x41b)](()=>this['_saveTaskMap'][_0x19dba1(0x26a)](_0x10edd9));}async['exhaustSavingTask'](){const _0x3017cf=_0x30c112,_0x29bf9a=[];this[_0x3017cf(0x486)][_0x3017cf(0x241)]((_0x5b5db0,_0x2e155b)=>{const _0x5bc654=_0x3017cf;window[_0x5bc654(0x184)](_0x5b5db0),_0x29bf9a[_0x5bc654(0xd6)](this['_saveCache'](_0x2e155b)[_0x5bc654(0x41b)](()=>{const _0x26911b=_0x5bc654;this[_0x26911b(0x486)][_0x26911b(0x26a)](_0x2e155b);}));}),await Promise[_0x3017cf(0x18d)](_0x29bf9a);}[_0x30c112(0x436)](){const _0x1c1095=_0x30c112;this['disposeWithMe'](this[_0x1c1095(0x147)][_0x1c1095(0x174)](()=>{const _0x5c5638=_0x1c1095;if(this[_0x5c5638(0x486)][_0x5c5638(0x150)])return this['_localeService']['t'](_0x5c5638(0x492));}));}};z=po([Xe(0x0,_0x4d1776),Xe(0x1,_0x2c87d9),Xe(0x2,_0x31d20c),Xe(0x3,_0x1273b4(_0x582404)),Xe(0x4,_0x1273b4(_0x5239ac))],z);function Xs(_0x2f13f3){const _0x2d2d26=_0x30c112;return _0x2d2d26(0x330)+_0x2f13f3;}var mo=Object[_0x30c112(0x28e)],go=Object[_0x30c112(0x1e3)],So=(_0x1aed4b,_0x5932de,_0x1093d1,_0x21b8fe)=>{const _0x459a73=_0x30c112;for(var _0x289046=_0x21b8fe>0x1?void 0x0:_0x21b8fe?go(_0x5932de,_0x1093d1):_0x5932de,_0x12c972=_0x1aed4b[_0x459a73(0xd3)]-0x1,_0x3cc377;_0x12c972>=0x0;_0x12c972--)(_0x3cc377=_0x1aed4b[_0x12c972])&&(_0x289046=(_0x21b8fe?_0x3cc377(_0x5932de,_0x1093d1,_0x289046):_0x3cc377(_0x289046))||_0x289046);return _0x21b8fe&&_0x289046&&mo(_0x5932de,_0x1093d1,_0x289046),_0x289046;},Kt=(_0x1c92e8,_0x33a05c)=>(_0x16ad5,_0xd4af22)=>_0x33a05c(_0x16ad5,_0xd4af22,_0x1c92e8);function Io(_0x522d07){const _0x4edb11=_0x30c112,{unitID:_0x2af135,mutations:_0x493fcb}=_0x522d07;return{'unitId':_0x2af135,'subUnitId':_0x493fcb[0x0][_0x4edb11(0x1d4)][_0x4edb11(0x1eb)]};}let wt=class{constructor(_0x45721d,_0x5cec46,_0x1161ec){const _0x201fb6=_0x30c112;this[_0x201fb6(0x13e)]=_0x45721d,this[_0x201fb6(0x3b9)]=_0x5cec46,this[_0x201fb6(0x3c4)]=_0x1161ec;}[_0x30c112(0x312)](_0x49eb78){const _0xe178bb=_0x30c112;var _0x381661,_0x12e94b,_0x12f8ce,_0x532bb0;const _0x3d17a8=this[_0xe178bb(0x13e)]['get'](_0x2bf4e8),{unitId:_0x3c4815,subUnitId:_0x256ccb}=Io(_0x49eb78),_0x4221a5=_0x3d17a8[_0xe178bb(0x349)](_0x3c4815)[_0xe178bb(0x457)](),_0x25f4aa=(_0x12e94b=(_0x381661=this[_0xe178bb(0x3c4)][_0xe178bb(0x40f)](_0x3c4815))==null?void 0x0:_0x381661[_0xe178bb(0x416)]())==null?void 0x0:_0x12e94b[_0xe178bb(0x396)]();if(_0x4221a5[_0xe178bb(0xd3)]===0x0||!_0x3c4815||!_0x256ccb)return;const _0x1b1384=[{'id':_0x2d1427['id'],'params':{'unitId':_0x3c4815,'subUnitId':_0x25f4aa,'selections':_0x4c6645[_0xe178bb(0x264)](_0x4221a5)}}],_0x5c20a9=this[_0xe178bb(0x3b9)][_0xe178bb(0x334)](_0x49eb78,_0x1b1384);if(!_0x12ed98(_0x5c20a9))throw _0x5c20a9[_0xe178bb(0x3de)];const _0x1c2aca=(_0x532bb0=(_0x12f8ce=_0x5c20a9['m2Prime'][0x0])==null?void 0x0:_0x12f8ce[_0xe178bb(0x1d4)])==null?void 0x0:_0x532bb0[_0xe178bb(0x357)];if(Array[_0xe178bb(0x1f7)](_0x1c2aca)&&_0x1c2aca[_0xe178bb(0xd3)]){if(_0x1c2aca[_0xe178bb(0xd3)]===_0x1b1384[0x0][_0xe178bb(0x1d4)][_0xe178bb(0x357)][_0xe178bb(0xd3)]&&_0x1c2aca[_0xe178bb(0x48b)]((_0x78964f,_0x377536)=>_0x2a8e41[_0xe178bb(0x195)](_0x78964f[_0xe178bb(0xe5)],_0x1b1384[0x0][_0xe178bb(0x1d4)][_0xe178bb(0x357)][_0x377536][_0xe178bb(0xe5)])))return;this[_0xe178bb(0x13e)][_0xe178bb(0x3f6)](_0x3364ad)[_0xe178bb(0x15e)](_0x2d1427['id'],{'unitId':_0x3c4815,'subUnitId':_0x25f4aa,'selections':_0x1c2aca});}}};wt=So([Kt(0x0,_0x1273b4(_0x3c8419)),Kt(0x1,_0xf205f5),Kt(0x2,_0x1d1a83)],wt);const jt=_0x87a6a4('univer-pro.collaboration-client.single-active-unit-service');var Ki=(_0x4ec3c8=>(_0x4ec3c8[_0x4ec3c8['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x30c112(0x20b),_0x4ec3c8[_0x4ec3c8[_0x30c112(0x2dd)]=0x1]=_0x30c112(0x2dd),_0x4ec3c8))(Ki||{});const Js=0x7530,Zs=_0x30c112(0x27e);class Co extends _0x2ea306{constructor(){const _0x30f23b=_0x30c112;super(),g(this,_0x30f23b(0x311),_0x4c6645[_0x30f23b(0x1f5)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x30f23b(0xa2),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x30f23b(0x48f),new Map()),g(this,_0x30f23b(0x92),new Map()),this[_0x30f23b(0x38c)]();}[_0x30c112(0xc9)](){const _0x5e4b85=_0x30c112;super[_0x5e4b85(0xc9)](),this['_clearOtherTimers'][_0x5e4b85(0x241)]((_0x5aa562,_0x297d80)=>this[_0x5e4b85(0x47c)](_0x297d80)),this[_0x5e4b85(0x347)]&&window[_0x5e4b85(0x361)](this[_0x5e4b85(0x347)]);}[_0x30c112(0x207)](_0x5842f6){const _0x59a4cd=_0x30c112;return this[_0x59a4cd(0x1fb)](_0x5842f6)[_0x59a4cd(0x27c)](_0x194fec());}[_0x30c112(0x100)](_0x1693d1){const _0x191386=_0x30c112;this[_0x191386(0x1a8)][_0x191386(0x150)]===0x0&&this['_scheduleHeartbeat'](),this[_0x191386(0x1a8)][_0x191386(0x1c0)](_0x1693d1),this[_0x191386(0xcf)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1693d1],'isForwarded':!0x1});}[_0x30c112(0x139)](_0x1a3d9b){const _0x279bfc=_0x30c112;this[_0x279bfc(0x1a8)][_0x279bfc(0x26a)](_0x1a3d9b),this[_0x279bfc(0x1a8)][_0x279bfc(0x150)]===0x0&&this['_heartbeatTimer']&&window[_0x279bfc(0x361)](this[_0x279bfc(0x347)]);}[_0x30c112(0x38c)](){const _0x182669=_0x30c112;this[_0x182669(0x12b)](_0x7e08d2(_0x1700cb(window,_0x182669(0x1c1))[_0x182669(0x196)](_0x111962=>{const _0x5998db=_0x182669;if(_0x111962[_0x5998db(0x3bc)]!==Zs||!_0x111962[_0x5998db(0x12f)])return;const _0x377d33=JSON[_0x5998db(0x173)](_0x111962['newValue']);this['_handleEvent'](_0x377d33);}))),window[_0x182669(0x29a)](_0x182669(0x39e),()=>this['_send']({'type':0x1,'memberID':this[_0x182669(0x311)],'unitIDs':Array[_0x182669(0xba)](this[_0x182669(0x1a8)])}));}[_0x30c112(0x2d5)](_0x3c0230){const _0x2b665d=_0x30c112;switch(_0x3c0230['type']){case 0x0:this[_0x2b665d(0x434)](_0x3c0230);break;case 0x1:this[_0x2b665d(0x1c5)](_0x3c0230);break;case 0x2:this[_0x2b665d(0x25b)](_0x3c0230);break;}}['_handleJoinEvent'](_0x32c192){const _0xc9aa4f=_0x30c112,{unitIDs:_0x26eb85,memberID:_0x1455ff,isForwarded:_0x12b7e6}=_0x32c192;_0x26eb85[_0xc9aa4f(0x241)](_0x449653=>{const _0x44e132=_0xc9aa4f;if(!_0x12b7e6&&this[_0x44e132(0xa2)][_0x44e132(0x120)](_0x449653)&&this[_0x44e132(0x1fb)](_0x449653)['next'](0x1),!this[_0x44e132(0xa2)]['has'](_0x449653)||!this['_unitOnClients'][_0x44e132(0x3f6)](_0x449653)[_0x44e132(0x120)](_0x1455ff)){const _0xd346d1=this['_unitOnClients']['get'](_0x449653)||new Set();_0xd346d1[_0x44e132(0x1c0)](_0x1455ff),this[_0x44e132(0xa2)][_0x44e132(0x34b)](_0x449653,_0xd346d1),this[_0x44e132(0x134)](_0x1455ff);}}),_0x12b7e6||this[_0xc9aa4f(0xcf)]({'type':0x0,'memberID':this[_0xc9aa4f(0x311)],'unitIDs':[...this[_0xc9aa4f(0x1a8)]],'isForwarded':!0x0});}[_0x30c112(0x134)](_0x271b4b){const _0x1de51e=_0x30c112;this['_removeClearOtherTimer'](_0x271b4b);const _0x343b2e=window[_0x1de51e(0x2ac)](()=>{const _0x34a0d1=_0x1de51e;this[_0x34a0d1(0xa2)]['forEach'](_0x468b54=>{_0x468b54['delete'](_0x271b4b);});},Js*0x2);this['_clearOtherTimers']['set'](_0x271b4b,_0x343b2e);}[_0x30c112(0x47c)](_0x2f967c){const _0x332360=_0x30c112;if(this[_0x332360(0x48f)][_0x332360(0x120)](_0x2f967c)){const _0x4e4bbe=this[_0x332360(0x48f)][_0x332360(0x3f6)](_0x2f967c);_0x4e4bbe&&window[_0x332360(0x184)](_0x4e4bbe),this[_0x332360(0x48f)]['set'](_0x2f967c,null);}}['_handleLeaveEvent'](_0x4af088){const _0x1db813=_0x30c112,{memberID:_0x133761,unitIDs:_0x335997}=_0x4af088;_0x335997['forEach'](_0x335783=>{const _0xa3fc64=_0x2ebf;var _0x216656;const _0x2e0a4b=this[_0xa3fc64(0xa2)][_0xa3fc64(0x3f6)](_0x335783);_0x2e0a4b&&(_0x2e0a4b[_0xa3fc64(0x26a)](_0x133761),(_0x216656=this[_0xa3fc64(0x1fb)](_0x335783))==null||_0x216656['next'](_0x2e0a4b['size']===0x0?0x0:0x1));}),this[_0x1db813(0x47c)](_0x133761);}['_handleHeartbeatEvent'](_0x4e129c){const _0x33cd2=_0x30c112;this[_0x33cd2(0x134)](_0x4e129c[_0x33cd2(0x27a)]);}[_0x30c112(0xcf)](_0x5a3590){const _0x1b4bf5=_0x30c112;localStorage[_0x1b4bf5(0x23f)](Zs,JSON[_0x1b4bf5(0x19d)](_0x5a3590));}[_0x30c112(0x24c)](){const _0x3ac5b1=_0x30c112;this['_heartbeatTimer']=window[_0x3ac5b1(0x3fe)](()=>{const _0x28682f=_0x3ac5b1;this[_0x28682f(0xcf)]({'type':0x2,'memberID':this[_0x28682f(0x311)]});},Js);}[_0x30c112(0x1fb)](_0x19707e){const _0x5ee674=_0x30c112;return this[_0x5ee674(0x92)]['has'](_0x19707e)||this[_0x5ee674(0x92)][_0x5ee674(0x34b)](_0x19707e,new _0x15cd68(0x0)),this[_0x5ee674(0x92)][_0x5ee674(0x3f6)](_0x19707e);}}var Eo=Object[_0x30c112(0x28e)],bo=Object[_0x30c112(0x1e3)],To=(_0x10c694,_0x154875,_0x5f2351,_0x5739d3)=>{const _0xb2dcb4=_0x30c112;for(var _0x2051b6=_0x5739d3>0x1?void 0x0:_0x5739d3?bo(_0x154875,_0x5f2351):_0x154875,_0x2289e6=_0x10c694[_0xb2dcb4(0xd3)]-0x1,_0x225637;_0x2289e6>=0x0;_0x2289e6--)(_0x225637=_0x10c694[_0x2289e6])&&(_0x2051b6=(_0x5739d3?_0x225637(_0x154875,_0x5f2351,_0x2051b6):_0x225637(_0x2051b6))||_0x2051b6);return _0x5739d3&&_0x2051b6&&Eo(_0x154875,_0x5f2351,_0x2051b6),_0x2051b6;},qt=(_0x24ae63,_0x2bd851)=>(_0x5e23,_0x2a4078)=>_0x2bd851(_0x5e23,_0x2a4078,_0x24ae63);let Dt=class{constructor(_0x79900b,_0x19bc0d,_0x39e517){const _0x361f37=_0x30c112;this[_0x361f37(0x13e)]=_0x79900b,this['_transformService']=_0x19bc0d,this[_0x361f37(0xa9)]=_0x39e517;}[_0x30c112(0x1e5)](_0x29aad8){this['_transformHistoryAndStateStack'](_0x29aad8);}['transformRemoteChangeset'](_0x1ec521){const _0x54f584=_0x30c112,{unitID:_0xd66a30}=_0x1ec521,{collaboration:_0x248747}=this[_0x54f584(0xa9)][_0x54f584(0x29c)](_0xd66a30);if(_0x248747[_0x54f584(0xd3)]===0x0)return _0x1ec521;let _0x581c37=_0x4c6645[_0x54f584(0x264)](_0x1ec521[_0x54f584(0xa0)][0x0]);for(let _0x4654ec=0x0;_0x4654ec<_0x248747[_0x54f584(0xd3)];_0x4654ec++){const _0x3789ed={'id':_0x54f584(0x285),'params':{'unitId':_0x248747[_0x4654ec][_0x54f584(0x2d3)],..._0x248747[_0x4654ec][_0x54f584(0x30a)]}},_0x10ce3f=this[_0x54f584(0x3b9)][_0x54f584(0x423)](_0x581c37,_0x3789ed,!0x1);if(_0x33b0d8(_0x10ce3f))throw _0x10ce3f[_0x54f584(0x3de)];_0x581c37=_0x10ce3f[_0x54f584(0x3d2)];}return{..._0x4c6645['deepClone'](_0x1ec521),'mutations':[_0x581c37]};}['_transformHistoryAndStateStack'](_0x375f60){const _0x49d147=_0x30c112,{unitID:_0x521b52}=_0x375f60,{history:_0x69cb10,collaboration:_0xd729dc}=this[_0x49d147(0xa9)][_0x49d147(0x29c)](_0x521b52);if(_0x69cb10['length']===0x0&&_0xd729dc[_0x49d147(0xd3)]===0x0)return;const _0x34aa62=[],_0x34dc16=[];let _0x194891=_0x4c6645[_0x49d147(0x264)](_0x375f60[_0x49d147(0xa0)][0x0]),_0xcd4231=_0x4c6645[_0x49d147(0x264)](_0x375f60[_0x49d147(0xa0)][0x0]);for(let _0x14091c=_0x69cb10[_0x49d147(0xd3)]-0x1;_0x14091c>=0x0;_0x14091c--){const _0x2ba737={'id':_0x49d147(0x285),'params':{'unitId':_0x69cb10[_0x14091c][_0x49d147(0x2d3)],..._0x69cb10[_0x14091c][_0x49d147(0x165)]}},_0x3e82b3={'id':_0x49d147(0x285),'params':{'unitId':_0x69cb10[_0x14091c][_0x49d147(0x2d3)],..._0x69cb10[_0x14091c][_0x49d147(0x30a)]}},_0x3fe70f=this[_0x49d147(0x3b9)]['transformMutation'](_0x194891,_0x2ba737,!0x1),_0x322391=this['_transformService'][_0x49d147(0x423)](_0xcd4231,_0x3e82b3,!0x1);if(_0x33b0d8(_0x3fe70f))throw _0x3fe70f[_0x49d147(0x3de)];if(_0x33b0d8(_0x322391))throw _0x322391[_0x49d147(0x3de)];_0x34aa62[_0x49d147(0x2ec)]({..._0x69cb10[_0x14091c],'undoState':_0x3fe70f[_0x49d147(0x27d)][_0x49d147(0x1d4)],'redoState':_0x322391[_0x49d147(0x27d)]['params']}),_0x194891=_0x3fe70f[_0x49d147(0x3d2)],_0xcd4231=_0x322391[_0x49d147(0x3d2)];}_0x194891=_0x4c6645[_0x49d147(0x264)](_0x375f60[_0x49d147(0xa0)][0x0]),_0xcd4231=_0x4c6645['deepClone'](_0x375f60[_0x49d147(0xa0)][0x0]);for(let _0x18d12c=_0xd729dc[_0x49d147(0xd3)]-0x1;_0x18d12c>=0x0;_0x18d12c--){const _0x574b3a={'id':_0x49d147(0x285),'params':{'unitId':_0xd729dc[_0x18d12c][_0x49d147(0x2d3)],..._0xd729dc[_0x18d12c][_0x49d147(0x165)]}},_0x4cd3c8={'id':_0x49d147(0x285),'params':{'unitId':_0xd729dc[_0x18d12c][_0x49d147(0x2d3)],..._0xd729dc[_0x18d12c][_0x49d147(0x30a)]}},_0x3b0cbb=this['_transformService']['transformMutation'](_0x194891,_0x574b3a,!0x1),_0x2a4171=this[_0x49d147(0x3b9)][_0x49d147(0x423)](_0xcd4231,_0x4cd3c8,!0x1);if(_0x33b0d8(_0x3b0cbb))throw _0x3b0cbb[_0x49d147(0x3de)];if(_0x33b0d8(_0x2a4171))throw _0x2a4171[_0x49d147(0x3de)];_0x34dc16[_0x49d147(0x2ec)]({..._0xd729dc[_0x18d12c],'undoState':_0x3b0cbb[_0x49d147(0x27d)]['params'],'redoState':_0x2a4171[_0x49d147(0x27d)][_0x49d147(0x1d4)]}),_0x194891=_0x3b0cbb[_0x49d147(0x3d2)],_0xcd4231=_0x2a4171['m1Prime'];}this[_0x49d147(0xa9)][_0x49d147(0x2e5)](_0x521b52,{'history':_0x34aa62,'collaboration':_0x34dc16});}};Dt=To([qt(0x0,_0x1273b4(_0x3c8419)),qt(0x1,_0xf205f5),qt(0x2,_0x1273b4(_0xd60329))],Dt);function qi(_0x38a620){const _0x32389e=_0x30c112;let _0x282c08='';for(const _0x52732a of _0x38a620){const {startOffset:_0x300a6c,endOffset:_0x2d6257,isActive:_0x10ace7,rangeType:_0xe55947,segmentId:_0xae9c59,segmentPage:_0x58af25}=_0x52732a;_0x282c08[_0x32389e(0xd3)]&&(_0x282c08+=','),_0x282c08+=_0x300a6c+':'+_0x2d6257+':'+(_0x10ace7?'1':'0')+':'+_0xe55947+':'+_0xae9c59+':'+_0x58af25;}return _0x282c08;}function Ro(_0x2537cd){const _0x1636b3=_0x30c112,_0x3e7296=_0x2537cd[_0x1636b3(0x49e)](','),_0x1096b3=[];for(const _0x30c0cc of _0x3e7296){const [_0x42017b,_0x4f0ca9,_0x16e1bc,_0x3740b0,_0x29b0fd,_0x5a2dfe]=_0x30c0cc[_0x1636b3(0x49e)](':');_0x1096b3['push']({'startOffset':Number(_0x42017b),'endOffset':Number(_0x4f0ca9),'collapsed':_0x42017b===_0x4f0ca9,'isActive':_0x16e1bc==='1','rangeType':_0x3740b0===_0x5780a0['TEXT']?_0x5780a0[_0x1636b3(0x177)]:_0x5780a0[_0x1636b3(0x26b)],'segmentId':typeof _0x29b0fd=='string'?String(_0x29b0fd):'','segmentPage':Number(_0x5a2dfe!=null?_0x5a2dfe:-0x1)});}return _0x1096b3[_0x1636b3(0x408)](_0x4dc125=>_0x4dc125[_0x1636b3(0x21d)])||(_0x1096b3[0x0][_0x1636b3(0x21d)]=!0x0),_0x1096b3;}class Ds extends _0x43d55d{constructor(){const _0x242013=_0x30c112;super(...arguments),g(this,'_collabCursorState$',new _0x15cd68(null)),g(this,_0x242013(0x3aa),this['_collabCursorState$'][_0x242013(0x36c)]());}['syncEditingCollabCursor'](_0xc17f03){const _0x1d7047=_0x30c112,{unitID:_0x19fb19,memberID:_0x18cc6f,textRanges:_0x2d2504}=_0xc17f03,_0x28cff2=qi(_0x2d2504);if(_0x28cff2==='')return;const _0x434203={'unitID':_0x19fb19,'memberID':_0x18cc6f,'selection':_0x28cff2};this[_0x1d7047(0x3f5)][_0x1d7047(0x26d)](_0x434203);}}var Oo=Object[_0x30c112(0x28e)],yo=Object[_0x30c112(0x1e3)],wo=(_0x444072,_0x3a3082,_0x118121,_0x4d6367)=>{const _0x405cfe=_0x30c112;for(var _0x19cb27=_0x4d6367>0x1?void 0x0:_0x4d6367?yo(_0x3a3082,_0x118121):_0x3a3082,_0x45ba1a=_0x444072[_0x405cfe(0xd3)]-0x1,_0xfff2d0;_0x45ba1a>=0x0;_0x45ba1a--)(_0xfff2d0=_0x444072[_0x45ba1a])&&(_0x19cb27=(_0x4d6367?_0xfff2d0(_0x3a3082,_0x118121,_0x19cb27):_0xfff2d0(_0x19cb27))||_0x19cb27);return _0x4d6367&&_0x19cb27&&Oo(_0x3a3082,_0x118121,_0x19cb27),_0x19cb27;},Qs=(_0x141ffe,_0x5a0bf0)=>(_0x696635,_0x58ac07)=>_0x5a0bf0(_0x696635,_0x58ac07,_0x141ffe);let Pt=class{constructor(_0x181ec5,_0x5d229d){const _0x26f076=_0x30c112;this[_0x26f076(0x13e)]=_0x181ec5,this[_0x26f076(0x3b9)]=_0x5d229d;}[_0x30c112(0x312)](_0x41fb4b){const _0x484bb4=_0x30c112;var _0xc30d15;const _0x45b930=this[_0x484bb4(0x13e)]['get'](_0x4cb2f3),_0x10bc12=(_0xc30d15=_0x45b930['getDocRanges']())!=null?_0xc30d15:[];if(_0x10bc12['length']===0x0)return;const _0x265bd5=_0x41fb4b['unitID'],_0x45465d=[{'id':_0x484bb4(0x285),'params':{'unitId':_0x265bd5,'actions':null,'textRanges':_0x10bc12}}],_0x20a233=this[_0x484bb4(0x3b9)][_0x484bb4(0x334)](_0x41fb4b,_0x45465d);if(!_0x12ed98(_0x20a233))throw _0x20a233[_0x484bb4(0x3de)];const _0x5c05b3=_0x20a233[_0x484bb4(0x27d)][0x0][_0x484bb4(0x1d4)][_0x484bb4(0x310)];Array['isArray'](_0x5c05b3)&&_0x5c05b3[_0x484bb4(0xd3)]&&_0x45b930['replaceDocRanges'](_0x5c05b3,{'unitId':_0x265bd5,'subUnitId':_0x265bd5},!0x1);}};Pt=wo([Qs(0x0,_0x1273b4(_0x3c8419)),Qs(0x1,_0xf205f5)],Pt);const Do=new Set([_0x5b5bbd['id']]);function ei(_0x349d77,_0x326d8d,_0x1184e4,_0x198586,_0x57fe59){const _0x170746=_0x30c112;var _0x298506,_0x45aea3,_0xbebe75,_0x5a127e;const _0x28a3d7=[];for(const _0x8a749d of _0x349d77)if(Do[_0x170746(0x120)](_0x8a749d['id'])){if(_0x28a3d7['length']>0x0)break;_0x28a3d7[_0x170746(0xd6)](_0x8a749d);break;}else _0x28a3d7[_0x170746(0xd6)](_0x8a749d);const _0x2b3aad=(_0x45aea3=(_0x298506=_0x57fe59['getCurrentUser']())==null?void 0x0:_0x298506[_0x170746(0x3c9)])!=null?_0x45aea3:_0x170746(0x392),_0x50905c=(_0x5a127e=(_0xbebe75=_0x57fe59[_0x170746(0x31d)]())==null?void 0x0:_0xbebe75[_0x170746(0x27a)])!=null?_0x5a127e:_0x170746(0x392);return{'changeset':{'unitID':_0x326d8d,'type':_0x3cb35c(_0x1184e4[_0x170746(0x31f)](_0x326d8d)),'baseRev':_0x198586[_0x170746(0x308)](_0x326d8d),'revision':0x0,'userID':_0x2b3aad,'memberID':_0x50905c,'mutations':_0x28a3d7},'pendingMutations':_0x349d77[_0x170746(0x2fa)](_0x28a3d7[_0x170746(0xd3)])};}function Po(_0x379759,_0x59e0ae,_0x2d6510,_0x4ea66f,_0x28c02d){const _0x31c99f=_0x30c112;var _0x5ecba8,_0x2bbc29,_0x2132c6,_0xd7e1c;const _0xbb5acd=[_0x379759[_0x31c99f(0x2d9)]((_0x1b3327,_0x569660)=>{const _0xa38717=_0x31c99f;var _0x2cd020;const {id:_0x457bbc}=_0x1b3327,{id:_0x1f7d38,type:_0xcf3ac}=_0x569660,_0x4a6906=(_0x2cd020=_0x1b3327['params'])!=null?_0x2cd020:{'actions':null},_0x2be6c7=_0x569660[_0xa38717(0x1d4)];if(_0x457bbc&&_0x457bbc!==_0x1f7d38)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x457bbc+_0xa38717(0x478)+_0x1f7d38+'.');return{..._0x1b3327,'id':_0x1f7d38,'type':_0xcf3ac,'params':{'unitId':_0x2be6c7[_0xa38717(0x2d3)],'textRanges':_0x2be6c7['textRanges'],'actions':_0x2e8611[_0xa38717(0x18b)](_0x4a6906[_0xa38717(0x365)],_0x2be6c7[_0xa38717(0x365)])}};},{})],_0x545981=(_0x2bbc29=(_0x5ecba8=_0x28c02d[_0x31c99f(0x31d)]())==null?void 0x0:_0x5ecba8[_0x31c99f(0x3c9)])!=null?_0x2bbc29:'unknown',_0x1f46e2=(_0xd7e1c=(_0x2132c6=_0x28c02d[_0x31c99f(0x31d)]())==null?void 0x0:_0x2132c6[_0x31c99f(0x27a)])!=null?_0xd7e1c:_0x31c99f(0x392);return{'changeset':{'unitID':_0x59e0ae,'type':_0x3cb35c(_0x2d6510[_0x31c99f(0x31f)](_0x59e0ae)),'baseRev':_0x4ea66f[_0x31c99f(0x308)](_0x59e0ae),'revision':0x0,'userID':_0x545981,'memberID':_0x1f46e2,'mutations':_0xbb5acd},'pendingMutations':[]};}function zi(_0x4b2389,_0x2c2270){const _0x13b49e=_0x30c112,_0x509177=new _0x51b1e0(0x1);return setTimeout(()=>_0x509177[_0x13b49e(0x26d)](_0x2c2270),_0x4b2389),_0x509177['asObservable']()[_0x13b49e(0x27c)](_0x4828e4(0x1));}const No={'id':_0x5cdb92['id'],'type':_0x2d21ee[_0x30c112(0x243)],'params':{}};var Uo=Object[_0x30c112(0x28e)],Ao=Object[_0x30c112(0x1e3)],$e=(_0x50aaf4,_0x468131,_0x1cadac,_0x3071de)=>{const _0x58be14=_0x30c112;for(var _0x4f223e=_0x3071de>0x1?void 0x0:_0x3071de?Ao(_0x468131,_0x1cadac):_0x468131,_0x2b237a=_0x50aaf4[_0x58be14(0xd3)]-0x1,_0x57eab4;_0x2b237a>=0x0;_0x2b237a--)(_0x57eab4=_0x50aaf4[_0x2b237a])&&(_0x4f223e=(_0x3071de?_0x57eab4(_0x468131,_0x1cadac,_0x4f223e):_0x57eab4(_0x4f223e))||_0x4f223e);return _0x3071de&&_0x4f223e&&Uo(_0x468131,_0x1cadac,_0x4f223e),_0x4f223e;},A=(_0x5cc46c,_0x222e7f)=>(_0x3a646f,_0x36047d)=>_0x222e7f(_0x3a646f,_0x36047d,_0x5cc46c),J=(_0x58d1ae=>(_0x58d1ae[_0x30c112(0x456)]=_0x30c112(0x3df),_0x58d1ae[_0x30c112(0x3a2)]=_0x30c112(0x122),_0x58d1ae['PENDING']='pending',_0x58d1ae[_0x30c112(0x3ca)]=_0x30c112(0x359),_0x58d1ae['AWAITING_WITH_PENDING']=_0x30c112(0x135),_0x58d1ae['FETCH_MISS']='fetch_missing',_0x58d1ae['CONFLICT']=_0x30c112(0x46c),_0x58d1ae[_0x30c112(0x371)]=_0x30c112(0x2f9),_0x58d1ae))(J||{});const Xi=0xea60;class He{constructor(_0x16c8b3,_0x35b475,_0x1b34ef,_0x5b3dd2,_0x58496a,_0x33738b,_0x2297c4,_0x8b7273,_0x49379f){const _0x99e89e=_0x30c112;g(this,_0x99e89e(0x467),null),g(this,_0x99e89e(0x131),[]),(this[_0x99e89e(0x499)]=_0x16c8b3,this[_0x99e89e(0x2a5)]=_0x35b475,this['_handler']=_0x58496a,this[_0x99e89e(0x118)]=_0x33738b,this[_0x99e89e(0x2eb)]=_0x2297c4,this[_0x99e89e(0x2af)]=_0x8b7273,this[_0x99e89e(0x17a)]=_0x49379f,this[_0x99e89e(0x467)]=_0x1b34ef,this['_pendingMutations']=_0x5b3dd2);}[_0x30c112(0x460)](_0x180dcd){const _0x53cfe1=_0x30c112,_0x167d25=this[_0x53cfe1(0x2af)][_0x53cfe1(0x308)](this['unitID']);return _0x180dcd['revision']>_0x167d25+0x1?(this['_handler'][_0x53cfe1(0x317)]({'from':_0x167d25,'to':_0x180dcd['revision']-0x1}),!0x0):!0x1;}[_0x30c112(0x3c8)](_0x3f4fa1){const _0x415291=_0x30c112;this[_0x415291(0x2eb)][_0x415291(0x376)](this[_0x415291(0x499)],_0x3f4fa1);}['_transformSelections'](_0x51430c){const _0x32686c=_0x30c112;var _0x35047e,_0x131e6d;(_0x131e6d=(_0x35047e=this[_0x32686c(0x354)])[_0x32686c(0x47b)])==null||_0x131e6d[_0x32686c(0xb6)](_0x35047e,_0x51430c);}['_transformIMECache'](_0x5a1ac2){const _0x5dfa9f=_0x30c112;var _0x512bc5,_0x197440;return(_0x197440=(_0x512bc5=this['_handler'])[_0x5dfa9f(0x9c)])==null?void 0x0:_0x197440[_0x5dfa9f(0xb6)](_0x512bc5,_0x5a1ac2);}[_0x30c112(0x2c9)](_0xd5b9be){const _0x40b264=_0x30c112;var _0x56c6ef,_0x3287d3;return(_0x3287d3=(_0x56c6ef=this[_0x40b264(0x354)])[_0x40b264(0x289)])==null?void 0x0:_0x3287d3['call'](_0x56c6ef,_0xd5b9be);}[_0x30c112(0x19e)](_0x77c291){const _0x49222c=_0x30c112;var _0x1e9598,_0x38b41d,_0x394ae0;return(_0x394ae0=(_0x38b41d=(_0x1e9598=this[_0x49222c(0x354)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x38b41d[_0x49222c(0xb6)](_0x1e9598,_0x77c291))!=null?_0x394ae0:_0x77c291;}[_0x30c112(0x497)](_0x29ea41){const _0x15d6fd=_0x30c112;var _0x2cc45e,_0x1d7717,_0x3c048a;return(_0x3c048a=(_0x1d7717=(_0x2cc45e=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1d7717[_0x15d6fd(0xb6)](_0x2cc45e,_0x29ea41))!=null?_0x3c048a:_0x29ea41;}[_0x30c112(0xea)](_0xb191b9){const _0x5dac8f=_0x30c112;var _0x5becdc,_0x1663c7;if(this['type']===ae[_0x5dac8f(0x1d7)]){const {unitID:_0x4a5c05,mutations:_0xd73c1a,memberID:_0x2e0450}=_0xb191b9,_0x33e4cd=_0xd73c1a[0x0][_0x5dac8f(0x1d4)]['textRanges'];Array[_0x5dac8f(0x1f7)](_0x33e4cd)&&_0x33e4cd[_0x5dac8f(0xd3)]>0x0&&((_0x1663c7=(_0x5becdc=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x1663c7[_0x5dac8f(0xb6)](_0x5becdc,{'unitID':_0x4a5c05,'memberID':_0x2e0450,'textRanges':_0x33e4cd}));}}[_0x30c112(0x11a)](){const _0x53d6d4=_0x30c112;this[_0x53d6d4(0x17a)][_0x53d6d4(0x3d3)](this[_0x53d6d4(0x499)],this[_0x53d6d4(0x2a5)],this[_0x53d6d4(0x467)],this[_0x53d6d4(0x131)]);}['_getCurrentRevision'](){const _0x11efda=_0x30c112;return this['_revisionService'][_0x11efda(0x308)](this[_0x11efda(0x499)]);}[_0x30c112(0x48c)](){const _0x4f6d7e=_0x30c112;this[_0x4f6d7e(0x2af)][_0x4f6d7e(0x11b)](this[_0x4f6d7e(0x499)]);}['_executeRemoteChangeset'](_0x46507e){const _0x3638aa=_0x30c112;var _0x543661;let _0x249b69=this[_0x3638aa(0x19e)](_0x46507e);_0x249b69=this[_0x3638aa(0x497)](_0x249b69);const _0x5f196b=_0x49ac66(_0x249b69['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x5f196b[_0x3638aa(0x20d)])throw _0x5f196b[_0x3638aa(0x3de)]instanceof Error?_0x5f196b['error']:new Error((_0x543661=_0x5f196b[_0x3638aa(0x3de)])!=null?_0x543661:_0x3638aa(0x256));this['_transformIMECache'](_0x249b69),this[_0x3638aa(0x2c9)](_0x249b69),this['_transformUndoredo'](_0x46507e),this[_0x3638aa(0x383)](_0x249b69),this['_syncEditingCollabCursor'](_0x249b69),this['_incrementRevisionNumber']();}}let Fe=class extends He{constructor(_0x11bd83,_0x86bb75,_0x56f208,_0x40fad0,_0x438fc4,_0x1b5245,_0x96a8d0,_0x342733,_0x780666,_0x2083f7){const _0x16c94e=_0x30c112;super(_0x11bd83,_0x86bb75,null,[],_0x56f208,_0x342733,_0x96a8d0,_0x40fad0,_0x438fc4),g(this,_0x16c94e(0x463),_0x16c94e(0x122)),(this[_0x16c94e(0x13e)]=_0x1b5245,this[_0x16c94e(0x123)]=_0x780666,this[_0x16c94e(0x3b9)]=_0x2083f7);}['appendMutation'](_0x2da4a3){const _0x5f1dd6=_0x30c112,_0x1ab1c7=this['_injector'][_0x5f1dd6(0x375)](pe,this[_0x5f1dd6(0x499)],this['type'],[_0x2da4a3],this[_0x5f1dd6(0x354)]);return _0x1ab1c7[_0x5f1dd6(0x1b2)](),_0x1ab1c7['_updateLocalCache'](),_0x1ab1c7;}[_0x30c112(0x306)](_0x4897e7){const _0x276cd2=_0x30c112;if(this['_checkMissing'](_0x4897e7))return this[_0x276cd2(0x13e)][_0x276cd2(0x375)](ce,this['unitID'],this[_0x276cd2(0x2a5)],null,[],null,[_0x4897e7],this[_0x276cd2(0x354)]);try{const _0x580811=this[_0x276cd2(0x3b9)]['transformMutationsWithChangeset'](_0x4897e7,[No]);if(_0x12ed98(_0x580811)){const {c1Prime:_0x11ef7a}=_0x580811;return this[_0x276cd2(0x27b)](_0x11ef7a),this;}throw _0x580811[_0x276cd2(0x3de)];}catch(_0x10774c){return this[_0x276cd2(0x123)][_0x276cd2(0x3de)](_0x10774c),this[_0x276cd2(0x151)](!0x1);}}['_onConflict'](_0x58b5c5){const _0x11910d=_0x30c112;return this['_injector']['createInstance'](Re,this[_0x11910d(0x499)],this[_0x11910d(0x2a5)],null,[],this[_0x11910d(0x354)],_0x58b5c5);}[_0x30c112(0x287)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x30c112(0xed)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x30c112(0x2f5)](){return this;}[_0x30c112(0xb1)](){const _0x2f7b8c=_0x30c112;return this['_injector']['createInstance'](Oe,this[_0x2f7b8c(0x499)],this['type'],null,[],this['_handler']);}[_0x30c112(0x487)](){return this;}[_0x30c112(0x29d)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x117043=_0x30c112,_0x47be86=this[_0x117043(0x2af)][_0x117043(0x308)](this[_0x117043(0x499)]);return this[_0x117043(0x354)][_0x117043(0x317)]({'from':_0x47be86,'to':0x0}),this[_0x117043(0x13e)][_0x117043(0x375)](ce,this[_0x117043(0x499)],this['type'],null,[],null,[],this[_0x117043(0x354)]);}};Fe=$e([A(0x3,_0x1273b4(_0x5239ac)),A(0x4,_0x1273b4(z)),A(0x5,_0x1273b4(_0x3c8419)),A(0x6,_0x603285),A(0x7,_0x3364ad),A(0x8,_0x164f73),A(0x9,_0xf205f5)],Fe);let pe=class extends He{constructor(_0xafba12,_0x45759c,_0x1e8e23,_0x5ec1f8,_0x409f1b,_0x44de9e,_0x2bef84,_0x322f8d,_0x307e9c,_0x4eaf47,_0x45500d,_0x309381,_0x2f5971,_0x5c1372){const _0x4ef2ed=_0x30c112;super(_0xafba12,_0x45759c,null,_0x1e8e23,_0x5ec1f8,_0x4eaf47,_0x5c1372,_0x44de9e,_0x2bef84),g(this,_0x4ef2ed(0x463),'pending'),g(this,_0x4ef2ed(0x426),null),g(this,'_sendingTimer',null),(this['_injector']=_0x409f1b,this[_0x4ef2ed(0x294)]=_0x322f8d,this[_0x4ef2ed(0x123)]=_0x307e9c,this[_0x4ef2ed(0x42c)]=_0x45500d,this['_transformService']=_0x309381,this[_0x4ef2ed(0x187)]=_0x2f5971);}[_0x30c112(0x432)](_0xbb4c00){const _0x1f7b26=_0x30c112;return this[_0x1f7b26(0x131)][_0x1f7b26(0xd6)](_0xbb4c00),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x409867){const _0x1f7dad=_0x30c112;if(this[_0x1f7dad(0x460)](_0x409867))return this[_0x1f7dad(0x157)](),this['_injector']['createInstance'](ce,this[_0x1f7dad(0x499)],this['type'],null,this[_0x1f7dad(0x131)],null,[_0x409867],this['_handler']);try{const _0x2c2902=this['_transformService'][_0x1f7dad(0x334)](_0x409867,this[_0x1f7dad(0x131)]);if(_0x12ed98(_0x2c2902)){const {c1Prime:_0x44e8fc,m2Prime:_0x3a15ef}=_0x2c2902;this[_0x1f7dad(0x27b)](_0x44e8fc);const _0x356850=this[_0x1f7dad(0x13e)][_0x1f7dad(0x375)](pe,this[_0x1f7dad(0x499)],this[_0x1f7dad(0x2a5)],_0x3a15ef,this[_0x1f7dad(0x354)]);return this[_0x1f7dad(0x157)](),_0x356850['_schedule'](this[_0x1f7dad(0x426)]?Math[_0x1f7dad(0x10f)](0x0,new Date()[_0x1f7dad(0xe0)]()-this['_scheduleTimestamp']):this[_0x1f7dad(0x1e0)]()),_0x356850;}throw _0x2c2902[_0x1f7dad(0x3de)];}catch(_0x18fe22){return this[_0x1f7dad(0x123)][_0x1f7dad(0x3de)](_0x18fe22),this['_onConflict'](!0x1);}}[_0x30c112(0x287)](){const _0xd50949=_0x30c112;throw new Error(_0xd50949(0x1fe));}['onRemoteRej'](){const _0x415c71=_0x30c112;throw new Error(_0x415c71(0x2c0));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x33e913=_0x30c112;return this[_0x33e913(0x157)](),this['_injector']['createInstance'](Oe,this[_0x33e913(0x499)],this['type'],null,this[_0x33e913(0x131)],this[_0x33e913(0x354)]);}[_0x30c112(0x487)](){return this;}['_schedule'](_0x39e5a1){const _0x400be6=_0x30c112,_0x3704a1=_0x39e5a1!=null?_0x39e5a1:this['_getSendChangesetTimeout']();this[_0x400be6(0x426)]=new Date()[_0x400be6(0xe0)](),this[_0x400be6(0x16a)]=window[_0x400be6(0x2ac)](()=>{const _0x1a821c=_0x400be6;this[_0x1a821c(0x157)]();let _0x3b87b7=null;switch(this['type']){case ae[_0x1a821c(0x335)]:{_0x3b87b7=ei(this[_0x1a821c(0x131)],this[_0x1a821c(0x499)],this[_0x1a821c(0x187)],this[_0x1a821c(0x2af)],this['_memberService']);break;}case ae['UNIVER_DOC']:{this[_0x1a821c(0x131)][_0x1a821c(0x48b)](_0x4ea84b=>_0x4ea84b['id']===_0x34173f['id'])?_0x3b87b7=Po(this['_pendingMutations'],this['unitID'],this[_0x1a821c(0x187)],this[_0x1a821c(0x2af)],this[_0x1a821c(0x294)]):_0x3b87b7=ei(this['_pendingMutations'],this[_0x1a821c(0x499)],this[_0x1a821c(0x187)],this[_0x1a821c(0x2af)],this['_memberService']);break;}default:throw new Error(_0x1a821c(0xc5)+this['type']+_0x1a821c(0x293));}const {changeset:_0x11bb3a,pendingMutations:_0x1a9c04}=_0x3b87b7;this[_0x1a821c(0x354)][_0x1a821c(0x172)](_0x11bb3a);const _0x456fa9=_0x1a9c04[_0x1a821c(0xd3)]?this[_0x1a821c(0x13e)]['createInstance'](me,this[_0x1a821c(0x499)],this['type'],_0x11bb3a,_0x1a9c04,this[_0x1a821c(0x354)],void 0x0):this[_0x1a821c(0x13e)][_0x1a821c(0x375)](Te,this[_0x1a821c(0x499)],this[_0x1a821c(0x2a5)],_0x11bb3a,this[_0x1a821c(0x354)]);_0x456fa9[_0x1a821c(0x11a)](),this[_0x1a821c(0x354)][_0x1a821c(0x21b)](this,_0x456fa9);},_0x3704a1);}[_0x30c112(0x1e0)](){const _0x4df488=_0x30c112;var _0x31abfb;const _0x35f3e1=this[_0x4df488(0x42c)]['getConfig'](Q);return(_0x31abfb=_0x35f3e1==null?void 0x0:_0x35f3e1[_0x4df488(0x86)])!=null?_0x31abfb:Rn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x51adc1=_0x30c112;this[_0x51adc1(0x16a)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x51adc1(0x16a)]=null);}['_onConflict'](_0x4de018){const _0xcd18b2=_0x30c112;return this[_0xcd18b2(0x157)](),this[_0xcd18b2(0x13e)][_0xcd18b2(0x375)](Re,this[_0xcd18b2(0x499)],this[_0xcd18b2(0x2a5)],null,this['_pendingMutations'],this['_handler'],_0x4de018);}};pe=$e([A(0x4,_0x1273b4(_0x3c8419)),A(0x5,_0x1273b4(_0x5239ac)),A(0x6,_0x1273b4(z)),A(0x7,_0x1273b4(Me)),A(0x8,_0x164f73),A(0x9,_0x3364ad),A(0xa,_0x4d1776),A(0xb,_0xf205f5),A(0xc,_0x1d1a83),A(0xd,_0x603285)],pe);let Te=class extends He{constructor(_0x5d0e24,_0x8f3df4,_0x26aa93,_0x1cac52,_0x442ad4,_0x42122f,_0x13b8d6,_0x2abc5b,_0x4c4bd0,_0x4ed7b2,_0x3e9684){const _0x7ac701=_0x30c112;super(_0x5d0e24,_0x8f3df4,_0x26aa93,[],_0x1cac52,_0x2abc5b,_0x3e9684,_0x42122f,_0x13b8d6),g(this,_0x7ac701(0x463),_0x7ac701(0x359)),g(this,_0x7ac701(0x298),0x0),g(this,_0x7ac701(0x2c3)),g(this,_0x7ac701(0xfe)),(this[_0x7ac701(0x13e)]=_0x442ad4,this[_0x7ac701(0x123)]=_0x4c4bd0,this['_transformService']=_0x4ed7b2);}[_0x30c112(0x432)](_0x196b34){const _0x3e5880=_0x30c112;this[_0x3e5880(0x157)]();const _0x576865=this[_0x3e5880(0x13e)]['createInstance'](me,this['unitID'],this[_0x3e5880(0x2a5)],this[_0x3e5880(0x467)],[_0x196b34],this[_0x3e5880(0x354)],this[_0x3e5880(0x2c3)]);return _0x576865[_0x3e5880(0x11a)](),_0x576865;}[_0x30c112(0x306)](_0x2678b8){const _0x3f9a31=_0x30c112;if(this[_0x3f9a31(0x460)](_0x2678b8))return this[_0x3f9a31(0x157)](),this[_0x3f9a31(0x13e)][_0x3f9a31(0x375)](ce,this[_0x3f9a31(0x499)],this['type'],this[_0x3f9a31(0x467)],[],null,[_0x2678b8],this[_0x3f9a31(0x354)]);try{const _0x4e09d4=this['_transformService'][_0x3f9a31(0x380)]([_0x2678b8],[this['_awaitingChangeset']],!0x1);if(_0x675846(_0x4e09d4)){const {c1Prime:_0x41f8aa,c2Prime:_0xc7f7da}=_0x4e09d4;this[_0x3f9a31(0x27b)](_0x41f8aa[0x0]),_0xc7f7da[0x0][_0x3f9a31(0x1cf)]=this[_0x3f9a31(0x281)](),this[_0x3f9a31(0x157)]();const _0x2d3a39=this[_0x3f9a31(0x13e)][_0x3f9a31(0x375)](Te,this[_0x3f9a31(0x499)],this[_0x3f9a31(0x2a5)],_0xc7f7da[0x0],this[_0x3f9a31(0x354)]);return _0x2d3a39[_0x3f9a31(0x11a)](),_0x2d3a39;}return this['_onConflict'](!0x1);}catch(_0x4094f5){return this['_logService']['error'](_0x4094f5),this[_0x3f9a31(0x151)](!0x1);}}['onRemoteAck'](_0x489d6b){const _0x1cb053=_0x30c112;this['_clearScheduledTask']();const _0xb356c8=this[_0x1cb053(0x2af)][_0x1cb053(0x308)](this[_0x1cb053(0x499)]);if(_0x489d6b[_0x1cb053(0x1a3)]<_0xb356c8-0x1)return this;if(this[_0x1cb053(0x460)](_0x489d6b))return this[_0x1cb053(0x13e)][_0x1cb053(0x375)](ce,this[_0x1cb053(0x499)],this[_0x1cb053(0x2a5)],null,[],this[_0x1cb053(0x467)],[],this['_handler']);this[_0x1cb053(0x48c)]();const _0x409d93=this['_injector']['createInstance'](Fe,this[_0x1cb053(0x499)],this[_0x1cb053(0x2a5)],this[_0x1cb053(0x354)]);return _0x409d93['_updateLocalCache'](),_0x409d93;}[_0x30c112(0xed)](_0x1ca378){const _0x343d99=_0x30c112;return this[_0x343d99(0x151)](!!(_0x1ca378!=null&&_0x1ca378[_0x343d99(0x38b)]));}[_0x30c112(0x2f5)](_0x2b660e){const _0x1fb1e2=_0x30c112;return this['_resendTimeout']>Xi?this[_0x1fb1e2(0xb1)]():(this['_resendTimer']=zi(this['_resendTimeout'],{'timeout':this[_0x1fb1e2(0x298)],'reqId':_0x2b660e[_0x1fb1e2(0x2c4)]}),this[_0x1fb1e2(0xfe)]=this[_0x1fb1e2(0x2c3)][_0x1fb1e2(0x196)](({reqId:_0x48f95d,timeout:_0x6d3047})=>{this['_resendWithTimeout'](_0x48f95d,_0x6d3047);}),this);}['toggleOffline'](){const _0x48d788=_0x30c112;return this['_clearScheduledTask'](),this[_0x48d788(0x13e)][_0x48d788(0x375)](Oe,this[_0x48d788(0x499)],this[_0x48d788(0x2a5)],this[_0x48d788(0x467)],[],this[_0x48d788(0x354)]);}[_0x30c112(0x487)](){return this;}[_0x30c112(0x29d)](){const _0x12ae67=_0x30c112;this[_0x12ae67(0x354)][_0x12ae67(0x172)](this[_0x12ae67(0x467)]);}[_0x30c112(0x151)](_0x29fde0){const _0x3d58aa=_0x30c112;return this['_clearScheduledTask'](),this[_0x3d58aa(0x13e)]['createInstance'](Re,this['unitID'],this[_0x3d58aa(0x2a5)],this['_awaitingChangeset'],[],this['_handler'],_0x29fde0);}[_0x30c112(0x319)](_0x46fe94,_0x23eaf3){const _0x16db91=_0x30c112;var _0x143960;_0x46fe94===((_0x143960=this[_0x16db91(0x467)])==null?void 0x0:_0x143960['reqId'])&&(this[_0x16db91(0x29d)](),this[_0x16db91(0x298)]=_0x23eaf3===0x0?0x3e8:_0x23eaf3*0x2);}[_0x30c112(0x157)](){const _0x150b2a=_0x30c112;var _0x6f792;(_0x6f792=this[_0x150b2a(0xfe)])==null||_0x6f792[_0x150b2a(0x98)](),this[_0x150b2a(0x298)]=0x0;}};Te=$e([A(0x4,_0x1273b4(_0x3c8419)),A(0x5,_0x1273b4(_0x5239ac)),A(0x6,_0x1273b4(z)),A(0x7,_0x3364ad),A(0x8,_0x164f73),A(0x9,_0xf205f5),A(0xa,_0x603285)],Te);let me=class extends He{constructor(_0x212a46,_0x3db7fc,_0x354d4c,_0x1f4867,_0x529eb1,_0x4567fd,_0x3c9faa,_0x3bf345,_0x2ea8b5,_0x183914,_0x1aee1b,_0x1f3c9b,_0x28ce55){const _0x40d41e=_0x30c112;super(_0x212a46,_0x3db7fc,_0x354d4c,_0x1f4867,_0x529eb1,_0x183914,_0x28ce55,_0x3bf345,_0x2ea8b5),g(this,'status','awaiting_with_pending'),g(this,_0x40d41e(0x298),0x0),g(this,'_resendTimer'),g(this,_0x40d41e(0xfe)),(this[_0x40d41e(0x13e)]=_0x3c9faa,this[_0x40d41e(0x123)]=_0x1aee1b,this[_0x40d41e(0x3b9)]=_0x1f3c9b,_0x4567fd&&(this[_0x40d41e(0x2c3)]=_0x4567fd,this[_0x40d41e(0xfe)]=this[_0x40d41e(0x2c3)][_0x40d41e(0x196)](({reqId:_0x50a241,timeout:_0x8afed5})=>{const _0x5b04e5=_0x40d41e;this[_0x5b04e5(0x319)](_0x50a241,_0x8afed5);})));}[_0x30c112(0x432)](_0x1f3444){const _0xb4b513=_0x30c112;return this['_pendingMutations'][_0xb4b513(0xd6)](_0x1f3444),this;}[_0x30c112(0x306)](_0x500de1){const _0x46f526=_0x30c112;if(this[_0x46f526(0x460)](_0x500de1))return this[_0x46f526(0x157)](),this[_0x46f526(0x13e)][_0x46f526(0x375)](ce,this[_0x46f526(0x499)],this[_0x46f526(0x2a5)],this[_0x46f526(0x467)],this[_0x46f526(0x131)],null,[_0x500de1],this[_0x46f526(0x354)]);try{const _0x59a9d4=this[_0x46f526(0x3b9)][_0x46f526(0x380)]([_0x500de1],[this[_0x46f526(0x467)]],!0x1);if(_0x675846(_0x59a9d4)){const {c1Prime:_0x1e6b5f,c2Prime:_0x9ff073}=_0x59a9d4,_0x49a904=this[_0x46f526(0x3b9)]['transformMutationsWithChangeset'](_0x1e6b5f[0x0],this['_pendingMutations']);if(_0x12ed98(_0x49a904)){const {c1Prime:_0x55a4d7,m2Prime:_0x7405e1}=_0x49a904;return this['_executeRemoteChangeset'](_0x55a4d7),_0x9ff073[0x0][_0x46f526(0x1cf)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x46f526(0x13e)][_0x46f526(0x375)](me,this[_0x46f526(0x499)],this[_0x46f526(0x2a5)],_0x9ff073[0x0],_0x7405e1,this[_0x46f526(0x354)],void 0x0);}throw _0x49a904[_0x46f526(0x3de)];}throw _0x59a9d4['error'];}catch(_0x1810ec){return this[_0x46f526(0x123)][_0x46f526(0x3de)](_0x1810ec),this[_0x46f526(0x151)](!0x1);}}[_0x30c112(0x287)](_0x136a43){const _0x3b4210=_0x30c112;if(this[_0x3b4210(0x157)](),this[_0x3b4210(0x460)](_0x136a43))return this[_0x3b4210(0x13e)]['createInstance'](ce,this[_0x3b4210(0x499)],this[_0x3b4210(0x2a5)],null,this[_0x3b4210(0x131)],this[_0x3b4210(0x467)],[],this[_0x3b4210(0x354)]);this[_0x3b4210(0x48c)]();const _0x21b8ca=this[_0x3b4210(0x13e)][_0x3b4210(0x375)](pe,this[_0x3b4210(0x499)],this[_0x3b4210(0x2a5)],this[_0x3b4210(0x131)],this['_handler']);return _0x21b8ca[_0x3b4210(0x1b2)](),_0x21b8ca[_0x3b4210(0x11a)](),_0x21b8ca;}[_0x30c112(0xed)](_0x59f6d3){const _0x2923e6=_0x30c112;return this[_0x2923e6(0x151)](!!(_0x59f6d3!=null&&_0x59f6d3[_0x2923e6(0x38b)]));}[_0x30c112(0x2f5)](_0x1d6200){const _0x504908=_0x30c112;return this[_0x504908(0x298)]>Xi?this['toggleOffline']():(this[_0x504908(0x2c3)]=zi(this[_0x504908(0x298)],{'timeout':this[_0x504908(0x298)],'reqId':_0x1d6200['reqId']}),this[_0x504908(0xfe)]=this[_0x504908(0x2c3)][_0x504908(0x196)](({reqId:_0x485b48,timeout:_0x3f53b7})=>{const _0x54e6af=_0x504908;this[_0x54e6af(0x319)](_0x485b48,_0x3f53b7);}),this);}['toggleOffline'](){const _0x26c5d5=_0x30c112;return this[_0x26c5d5(0x157)](),this[_0x26c5d5(0x13e)]['createInstance'](Oe,this[_0x26c5d5(0x499)],this[_0x26c5d5(0x2a5)],this[_0x26c5d5(0x467)],this['_pendingMutations'],this[_0x26c5d5(0x354)]);}['toggleOnline'](){return this;}[_0x30c112(0x29d)](){const _0x3649dd=_0x30c112;this[_0x3649dd(0x354)][_0x3649dd(0x172)](this[_0x3649dd(0x467)]);}[_0x30c112(0x151)](_0x3c3f16){const _0x4817a4=_0x30c112;return this[_0x4817a4(0x157)](),this[_0x4817a4(0x13e)][_0x4817a4(0x375)](Re,this[_0x4817a4(0x499)],this[_0x4817a4(0x2a5)],null,this[_0x4817a4(0x131)],this['_handler'],_0x3c3f16);}[_0x30c112(0x319)](_0x2c0068,_0x6a5501){const _0x5324d3=_0x30c112;var _0x543d04;_0x2c0068===((_0x543d04=this[_0x5324d3(0x467)])==null?void 0x0:_0x543d04[_0x5324d3(0x2c4)])&&(this['resend'](),this['_resendTimeout']=_0x6a5501===0x0?0x3e8:_0x6a5501*0x2);}[_0x30c112(0x157)](){const _0x33d311=_0x30c112;var _0x566304;(_0x566304=this[_0x33d311(0xfe)])==null||_0x566304[_0x33d311(0x98)](),this[_0x33d311(0x298)]=0x0;}};me=$e([A(0x6,_0x1273b4(_0x3c8419)),A(0x7,_0x1273b4(_0x5239ac)),A(0x8,_0x1273b4(z)),A(0x9,_0x3364ad),A(0xa,_0x164f73),A(0xb,_0xf205f5),A(0xc,_0x603285)],me);let Re=class extends He{constructor(_0x1f888f,_0x479cf3,_0x26b535,_0x361022,_0x1f2925,_0x398d4c=!0x1,_0x18eb0c,_0xc67088,_0x4a9c1b,_0x324403,_0x3069f7,_0x52a7cf,_0x291906){const _0x76b8c0=_0x30c112;super(_0x1f888f,_0x479cf3,_0x26b535,_0x361022,_0x1f2925,_0xc67088,_0x4a9c1b,_0x3069f7,_0x324403),g(this,'status','conflict'),(this[_0x76b8c0(0xbd)]=_0x398d4c,this[_0x76b8c0(0x350)]=_0x18eb0c,this['_localeService']=_0x52a7cf,this[_0x76b8c0(0x473)]=_0x291906,this[_0x76b8c0(0x9e)](),this[_0x76b8c0(0x140)](),this[_0x76b8c0(0x214)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x30c112(0x287)](){return this;}['onRemoteRej'](){return this;}[_0x30c112(0x2f5)](){return this;}[_0x30c112(0xb1)](){return this;}[_0x30c112(0x487)](){return this;}[_0x30c112(0x29d)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x4cb1c3=_0x30c112;this[_0x4cb1c3(0x17a)][_0x4cb1c3(0x3d3)](this[_0x4cb1c3(0x499)],this[_0x4cb1c3(0x2a5)],null,[]);}[_0x30c112(0x9e)](){const _0x2986c4=_0x30c112;this['_isPermissionRej']?this[_0x2986c4(0x473)][_0x2986c4(0x3f0)]({'title':this[_0x2986c4(0x362)]['t'](_0x2986c4(0xa3)),'content':this['_localeService']['t'](_0x2986c4(0x2ce)),'type':_0x2986c4(0x3de),'duration':0x0}):this['_notificationService'][_0x2986c4(0x3f0)]({'title':this[_0x2986c4(0x362)]['t'](_0x2986c4(0x490)),'content':this[_0x2986c4(0x362)]['t'](_0x2986c4(0x2a4)),'type':_0x2986c4(0x3de),'duration':0x0});}[_0x30c112(0x214)](){const _0x2f904d=_0x30c112;this[_0x2f904d(0x350)]['updatePermissionPoint'](new _0x1acc3d(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x1273b4(_0x4a5194)),A(0x7,_0x3364ad),A(0x8,_0x603285),A(0x9,_0x1273b4(z)),A(0xa,_0x1273b4(_0x5239ac)),A(0xb,_0x1273b4(_0x582404)),A(0xc,_0x45c7b7)],Re);let Oe=class extends He{constructor(_0x3a8216,_0x515339,_0x1a971a,_0x403c1b,_0x13dd5b,_0x162ef9,_0x7a380b,_0x24f4fc,_0x199e58,_0x15c4b4){const _0x366848=_0x30c112;super(_0x3a8216,_0x515339,_0x1a971a,_0x403c1b,_0x13dd5b,_0x199e58,_0x15c4b4,_0x7a380b,_0x24f4fc),g(this,_0x366848(0x463),'offline'),this[_0x366848(0x13e)]=_0x162ef9;}[_0x30c112(0x432)](_0x32f9eb){const _0x3c0bc8=_0x30c112;return this[_0x3c0bc8(0x131)][_0x3c0bc8(0xd6)](_0x32f9eb),this[_0x3c0bc8(0x11a)](),this;}['onRemoteChangeset'](_0x2d8c38){const _0x43f367=_0x30c112;throw new Error(_0x43f367(0x247));}[_0x30c112(0x287)](){const _0x532b00=_0x30c112;throw new Error(_0x532b00(0x454));}[_0x30c112(0xed)](){const _0x488e25=_0x30c112;throw new Error(_0x488e25(0x2f7));}[_0x30c112(0x2f5)](){return this;}[_0x30c112(0xb1)](){return this;}['toggleOnline'](){const _0x32f3c6=_0x30c112,{_injector:_0xe7687e,_pendingMutations:_0x2e00de,_awaitingChangeset:_0x5d59da,unitID:_0x52475c,_handler:_0x521d14,type:_0x2fbc8e}=this,_0x9c812d=Ji(_0xe7687e,_0x52475c,_0x2fbc8e,_0x5d59da,_0x2e00de,_0x521d14);return _0x9c812d instanceof pe?_0x9c812d['_schedule']():(_0x9c812d instanceof me||_0x9c812d instanceof Te)&&_0x9c812d[_0x32f3c6(0x29d)](),_0x9c812d;}[_0x30c112(0x29d)](){const _0x327c70=_0x30c112;throw new Error(_0x327c70(0x447));}};Oe=$e([A(0x5,_0x1273b4(_0x3c8419)),A(0x6,_0x1273b4(_0x5239ac)),A(0x7,_0x1273b4(z)),A(0x8,_0x3364ad),A(0x9,_0x603285)],Oe);let ce=class extends He{constructor(_0xb331e7,_0x27c322,_0x1a07f1,_0x199f48,_0x7fe97f,_0xc924cc,_0x1d03bc,_0x2d4882,_0x4094ae,_0x2f04f6,_0x14bdbf,_0x10d607,_0x17c671,_0x26919c){const _0x1cb1a2=_0x30c112;super(_0xb331e7,_0x27c322,_0x1a07f1,_0x199f48,_0x1d03bc,_0x10d607,_0x17c671,_0x4094ae,_0x2f04f6),g(this,_0x1cb1a2(0x463),_0x1cb1a2(0x351)),(this[_0x1cb1a2(0x455)]=_0x7fe97f,this[_0x1cb1a2(0x176)]=_0xc924cc,this[_0x1cb1a2(0x13e)]=_0x2d4882,this[_0x1cb1a2(0x123)]=_0x14bdbf,this[_0x1cb1a2(0x3b9)]=_0x26919c);}[_0x30c112(0xe3)](_0x76a472){const _0x202412=_0x30c112;try{const _0x54ad98=[..._0x76a472,...this[_0x202412(0x176)]],_0x191a33=[this[_0x202412(0x467)]||this[_0x202412(0x455)]][_0x202412(0x235)](_0x1b381e=>!!_0x1b381e);let _0x15689c,_0x63788e;if(_0x191a33['length']){const _0x2e6991=this[_0x202412(0x3b9)][_0x202412(0x380)](_0x54ad98,_0x191a33,!0x1);if(!_0x675846(_0x2e6991))throw _0x2e6991[_0x202412(0x3de)];_0x15689c=_0x2e6991[_0x202412(0x31c)],_0x63788e=_0x2e6991[_0x202412(0x212)];}else _0x15689c=_0x54ad98,_0x63788e=[];let _0x2874b3=this[_0x202412(0x131)];_0x15689c[_0x202412(0x241)](_0x59b369=>{const _0x39dcaa=_0x202412;let _0x40c4fa;if(_0x2874b3[_0x39dcaa(0xd3)]){const _0xe115ed=this[_0x39dcaa(0x3b9)][_0x39dcaa(0x334)](_0x59b369,_0x2874b3);if(!_0x12ed98(_0xe115ed))throw _0xe115ed['error'];_0x40c4fa=_0xe115ed[_0x39dcaa(0x31c)],_0x2874b3=_0xe115ed[_0x39dcaa(0x27d)];}else _0x40c4fa=_0x59b369;this[_0x39dcaa(0x27b)](_0x40c4fa);}),this[_0x202412(0x455)]&&this[_0x202412(0x48c)](),this[_0x202412(0x467)]&&_0x63788e[_0x202412(0xd3)]&&(_0x63788e[0x0][_0x202412(0x1cf)]=this['_getCurrentRevision']());let _0x1c1344;if(this['_awaitingChangeset']&&_0x2874b3[_0x202412(0xd3)]!==0x0)_0x1c1344=this[_0x202412(0x13e)][_0x202412(0x375)](me,this[_0x202412(0x499)],this['type'],_0x63788e[0x0],_0x2874b3,this[_0x202412(0x354)],void 0x0);else{if(this[_0x202412(0x467)]&&_0x2874b3[_0x202412(0xd3)]===0x0)_0x63788e[0x0]['baseRev']=this[_0x202412(0x281)](),_0x1c1344=this['_injector'][_0x202412(0x375)](Te,this['unitID'],this[_0x202412(0x2a5)],_0x63788e[0x0],this[_0x202412(0x354)]);else{if(_0x2874b3[_0x202412(0xd3)]!==0x0){const _0x56b125=this[_0x202412(0x13e)][_0x202412(0x375)](pe,this[_0x202412(0x499)],this[_0x202412(0x2a5)],_0x2874b3,this[_0x202412(0x354)]);_0x56b125[_0x202412(0x1b2)](),_0x1c1344=_0x56b125;}else _0x1c1344=this[_0x202412(0x13e)][_0x202412(0x375)](Fe,this[_0x202412(0x499)],this[_0x202412(0x2a5)],this[_0x202412(0x354)]);}}return _0x1c1344[_0x202412(0x11a)](),_0x1c1344;}catch(_0x241d72){return this[_0x202412(0x123)][_0x202412(0x3de)](_0x202412(0x3d8),_0x202412(0x2cd),_0x241d72),this[_0x202412(0x13e)][_0x202412(0x375)](Re,this[_0x202412(0x499)],this[_0x202412(0x2a5)],this['_awaitingChangeset'],this[_0x202412(0x131)],this[_0x202412(0x354)],!0x1);}}[_0x30c112(0x29d)](){const _0x477ba2=_0x30c112;throw new Error(_0x477ba2(0x1c8));}[_0x30c112(0x432)](_0x369f73){const _0x503ebd=_0x30c112;return this[_0x503ebd(0x131)][_0x503ebd(0xd6)](_0x369f73),this;}[_0x30c112(0x306)](_0x57ac31){const _0x254653=_0x30c112;return this[_0x254653(0x176)][_0x254653(0xd6)](_0x57ac31),this;}[_0x30c112(0x287)](_0x80420c){const _0x224fb0=_0x30c112;if(this[_0x224fb0(0x467)])return this[_0x224fb0(0x455)]=this[_0x224fb0(0x467)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x30c112(0xed)](_0x5f2f80){const _0x16cd4d=_0x30c112;return this[_0x16cd4d(0x151)](!!(_0x5f2f80!=null&&_0x5f2f80['isPermissionRej']));}[_0x30c112(0x2f5)](){return this;}[_0x30c112(0xb1)](){const _0x3a3926=_0x30c112;return this['_injector']['createInstance'](Oe,this[_0x3a3926(0x499)],this[_0x3a3926(0x2a5)],this[_0x3a3926(0x467)],this[_0x3a3926(0x131)],this['_handler']);}[_0x30c112(0x487)](){return this;}[_0x30c112(0x151)](_0x26c9f7){const _0x343cbb=_0x30c112;return this['_injector']['createInstance'](Re,this[_0x343cbb(0x499)],this[_0x343cbb(0x2a5)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x343cbb(0x354)],_0x26c9f7);}};ce=$e([A(0x7,_0x1273b4(_0x3c8419)),A(0x8,_0x1273b4(_0x5239ac)),A(0x9,_0x1273b4(z)),A(0xa,_0x164f73),A(0xb,_0x3364ad),A(0xc,_0x603285),A(0xd,_0xf205f5)],ce);function Ji(_0x3db452,_0x4c5955,_0x223c45,_0x4963d7,_0x13b566,_0x1bc1cb){const _0x13d9ba=_0x30c112;return _0x4963d7&&_0x13b566[_0x13d9ba(0xd3)]?_0x3db452[_0x13d9ba(0x375)](me,_0x4c5955,_0x223c45,_0x4963d7,_0x13b566,_0x1bc1cb,void 0x0):_0x4963d7?_0x3db452[_0x13d9ba(0x375)](Te,_0x4c5955,_0x223c45,_0x4963d7,_0x1bc1cb):_0x13b566['length']?_0x3db452[_0x13d9ba(0x375)](pe,_0x4c5955,_0x223c45,_0x13b566,_0x1bc1cb):_0x3db452[_0x13d9ba(0x375)](Fe,_0x4c5955,_0x223c45,_0x1bc1cb);}var Mo=Object[_0x30c112(0x28e)],xo=Object['getOwnPropertyDescriptor'],Ps=(_0x4fde11,_0x87395,_0x4894e3,_0x3dc6b4)=>{const _0x3d2eca=_0x30c112;for(var _0x384b12=_0x3dc6b4>0x1?void 0x0:_0x3dc6b4?xo(_0x87395,_0x4894e3):_0x87395,_0x4b5033=_0x4fde11[_0x3d2eca(0xd3)]-0x1,_0x109ee1;_0x4b5033>=0x0;_0x4b5033--)(_0x109ee1=_0x4fde11[_0x4b5033])&&(_0x384b12=(_0x3dc6b4?_0x109ee1(_0x87395,_0x4894e3,_0x384b12):_0x109ee1(_0x384b12))||_0x384b12);return _0x3dc6b4&&_0x384b12&&Mo(_0x87395,_0x4894e3,_0x384b12),_0x384b12;},H=(_0x26c18d,_0x139e5d)=>(_0xa29458,_0x278397)=>_0x139e5d(_0xa29458,_0x278397,_0x26c18d);let Nt=class extends _0x43d55d{constructor(_0x14a3e7,_0x1c05a8,_0x5a4c5c,_0xbee994,_0x1f2878,_0x59d000,_0x42f472,_0x1d42af,_0xa5c237,_0x45c8b3,_0x125220,_0x41c92d,_0x4eec32){const _0x1acc82=_0x30c112;super(),g(this,_0x1acc82(0x34a),new _0x15cd68(null)),g(this,_0x1acc82(0x21c),this[_0x1acc82(0x34a)][_0x1acc82(0x36c)]()),g(this,_0x1acc82(0x38d)),g(this,_0x1acc82(0x387),!0x1),g(this,_0x1acc82(0x386),''),g(this,_0x1acc82(0x2d8),0x0),g(this,_0x1acc82(0x2e9),this['state$'][_0x1acc82(0x27c)](_0x31e10f(_0x2c5738=>_0x2c5738?_0x2c5738['status']:J[_0x1acc82(0x371)]),_0x1ee9d9(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x1acc82(0x428),[]),(this[_0x1acc82(0x499)]=_0x14a3e7,this[_0x1acc82(0x1c7)]=_0x1c05a8,this[_0x1acc82(0x23b)]=_0x5a4c5c,this['_injector']=_0xbee994,this['_localCacheService']=_0x1f2878,this[_0x1acc82(0x1ad)]=_0x59d000,this[_0x1acc82(0x362)]=_0x42f472,this['_revisionService']=_0x1d42af,this[_0x1acc82(0x123)]=_0xa5c237,this[_0x1acc82(0x118)]=_0x45c8b3,this[_0x1acc82(0x1d2)]=_0x125220,this[_0x1acc82(0x350)]=_0x41c92d,this['_singleActiveUnitService']=_0x4eec32);}get[_0x30c112(0x430)](){const _0x3d602e=_0x30c112;return this[_0x3d602e(0x38d)];}async['init'](){const _0x3026ca=_0x30c112;if(this[_0x3026ca(0x430)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x3026ca(0x38c)]();}[_0x30c112(0x441)](){const _0x12427a=_0x30c112;return this[_0x12427a(0x387)]=!0x0,_0x7e08d2(()=>{const _0x250e94=_0x12427a;this[_0x250e94(0x387)]=!0x1,this[_0x250e94(0x1f1)]();});}[_0x30c112(0xc0)](_0x2a3b4e){const _0x5526ab=_0x30c112;this[_0x5526ab(0x38d)]=_0x2a3b4e,this[_0x5526ab(0x34a)][_0x5526ab(0x26d)](_0x2a3b4e);}async[_0x30c112(0x38c)](){const _0x1c9025=_0x30c112;var _0x4b3dfa;this[_0x1c9025(0xc0)](await this[_0x1c9025(0x2cb)]()),this[_0x1c9025(0x161)]&&((_0x4b3dfa=this['_singleActiveUnitService'])==null||_0x4b3dfa['editingUnit'](this['unitID']),this[_0x1c9025(0x12b)](this[_0x1c9025(0x161)]['getUnitStatus$'](this[_0x1c9025(0x499)])[_0x1c9025(0x196)](_0x4c801d=>{const _0x642be9=_0x1c9025;this[_0x642be9(0x123)][_0x642be9(0x19b)]('[CollaborationEntity]',_0x642be9(0x20e),_0x4c801d),_0x4c801d===Ki[_0x642be9(0x2dd)]?(this[_0x642be9(0x1d2)][_0x642be9(0x3f0)]({'content':this[_0x642be9(0x362)]['t'](_0x642be9(0x284)),'type':_0x41d1f0['Warning']}),this[_0x642be9(0x350)][_0x642be9(0x242)](new _0x1acc3d(this['unitID'])['id'],!0x1),this[_0x642be9(0x350)][_0x642be9(0x9b)](!0x1)):(this[_0x642be9(0x350)][_0x642be9(0x242)](new _0x1acc3d(this[_0x642be9(0x499)])['id'],!0x0),this[_0x642be9(0x350)]['setShowComponents'](!0x0));})));let _0x2bc516=!0x1;return this[_0x1c9025(0x12b)](this[_0x1c9025(0x1c7)][_0x1c9025(0x28c)][_0x1c9025(0x196)](_0x33c4c6=>{const _0xe8f8c=_0x1c9025;_0x33c4c6===fe['ONLINE']?this[_0xe8f8c(0x24d)](_0x2bc516):_0x33c4c6===fe[_0xe8f8c(0x371)]&&(_0x2bc516=!0x0,this[_0xe8f8c(0x94)]());})),this['disposeWithMe'](this[_0x1c9025(0x1c7)][_0x1c9025(0x208)][_0x1c9025(0x196)](_0x4a8dbe=>{const _0xbc5c2e=_0x1c9025;try{switch(_0x4a8dbe['eventID']){case _0x1b96b7[_0xbc5c2e(0x3ae)]:{this[_0xbc5c2e(0x109)](_0x17330c(_0x4a8dbe[_0xbc5c2e(0x28d)]));break;}case _0x1b96b7[_0xbc5c2e(0x126)]:{this[_0xbc5c2e(0x446)](_0x4a8dbe['data']);break;}case _0x1b96b7['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x1b96b7['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x4a8dbe['data']);break;}case _0x1b96b7['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xbc5c2e(0x97)](_0x4a8dbe['data'][_0xbc5c2e(0xf8)][_0xbc5c2e(0x1a2)](_0x10ed95=>_0x17330c(_0x10ed95)));break;}case _0x1b96b7['PERMISSION_REJ']:this[_0xbc5c2e(0x21a)]({'isPermissionRej':!0x0});}}catch(_0x1887ef){throw console['error'](_0xbc5c2e(0x322),_0x1887ef),_0x1887ef;}})),this[_0x1c9025(0x38d)];}['_unlockTransition'](){const _0x46553d=_0x30c112;this[_0x46553d(0x15c)]=!0x1;}['_lockTransition'](){const _0x42ba6a=_0x30c112;if(this[_0x42ba6a(0x15c)])throw new Error(_0x42ba6a(0x3d7));this[_0x42ba6a(0x15c)]=!0x0;}['_onLocalMutation'](_0x12b4eb){const _0x3a2953=_0x30c112;this[_0x3a2953(0x23d)](),this[_0x3a2953(0xc0)](this[_0x3a2953(0x38d)][_0x3a2953(0x432)](_0x12b4eb)),this[_0x3a2953(0x494)]();}[_0x30c112(0x109)](_0x31c583){const _0x5b39c0=_0x30c112;if(!(_0x31c583[_0x5b39c0(0x1a3)]<=this[_0x5b39c0(0x2af)][_0x5b39c0(0x308)](this[_0x5b39c0(0x499)]))){if(this[_0x5b39c0(0x387)]){this[_0x5b39c0(0x428)][_0x5b39c0(0xd6)](_0x31c583);return;}this[_0x5b39c0(0x419)](_0x31c583);}}[_0x30c112(0x1f1)](){const _0x298830=_0x30c112;this['_remoteChangesetQueue'][_0x298830(0x241)](_0x37efed=>this[_0x298830(0x419)](_0x37efed)),this[_0x298830(0x428)]=[];}[_0x30c112(0x419)](_0x4b6ae9){const _0x40e54d=_0x30c112,_0x23afbd=this[_0x40e54d(0x1ad)][_0x40e54d(0x239)]['fetchThroughInterceptors'](this[_0x40e54d(0x1ad)][_0x40e54d(0x239)][_0x40e54d(0x84)]()[_0x40e54d(0xd0)])(_0x4b6ae9[_0x40e54d(0xa0)],null)||_0x4b6ae9['mutations'],_0x472637={..._0x4b6ae9,'mutations':_0x23afbd};this['_lockTransition'](),this['_updateState'](this['_state'][_0x40e54d(0x306)](_0x472637)),this[_0x40e54d(0x494)]();}[_0x30c112(0x446)](_0x5876fd){const _0x54dec0=_0x30c112;this[_0x54dec0(0x23d)](),this[_0x54dec0(0xc0)](this['_state']['onRemoteAck'](_0x5876fd)),this['_unlockTransition']();}[_0x30c112(0x21a)](_0x10be63){const _0x48a124=_0x30c112;this['_lockTransition'](),this[_0x48a124(0xc0)](this[_0x48a124(0x38d)][_0x48a124(0xed)](_0x10be63)),this[_0x48a124(0x494)]();}[_0x30c112(0x1ab)](_0x5ad465){const _0xdcc200=_0x30c112;this['_lockTransition'](),this['_updateState'](this[_0xdcc200(0x38d)][_0xdcc200(0x2f5)](_0x5ad465)),this['_unlockTransition']();}[_0x30c112(0x97)](_0x4f4092){const _0xafc032=_0x30c112;if(!(this['_state']instanceof ce))throw new TypeError(_0xafc032(0x106));const _0x37ef60=_0x4f4092[_0xafc032(0x1a2)](_0x49cab8=>{const _0x6d986a=_0xafc032,_0x57bc17=this['_compressMutationService'][_0x6d986a(0x239)][_0x6d986a(0x318)](this[_0x6d986a(0x1ad)][_0x6d986a(0x239)][_0x6d986a(0x84)]()[_0x6d986a(0xd0)])(_0x49cab8[_0x6d986a(0xa0)],null)||_0x49cab8[_0x6d986a(0xa0)];return{..._0x49cab8,'mutations':_0x57bc17};});this['_lockTransition'](),this[_0xafc032(0xc0)](this[_0xafc032(0x38d)][_0xafc032(0xe3)](_0x37ef60)),this['_unlockTransition']();}['_toggleOffline'](){const _0x150d43=_0x30c112;this[_0x150d43(0x23d)](),this[_0x150d43(0xc0)](this[_0x150d43(0x38d)][_0x150d43(0xb1)]()),this['_unlockTransition']();}[_0x30c112(0x24d)](_0x5c2b67=!0x1){const _0x115aa3=_0x30c112;this['_lockTransition'](),this['_updateState'](this[_0x115aa3(0x38d)][_0x115aa3(0x487)]()),this['_unlockTransition']();const _0x2ff62e=this[_0x115aa3(0x38d)];_0x5c2b67&&_0x2ff62e instanceof Fe&&(this[_0x115aa3(0x23d)](),this['_updateState'](_0x2ff62e[_0x115aa3(0x2dc)]()),this[_0x115aa3(0x494)]());}async[_0x30c112(0x2cb)](){return new Promise(_0x5f19da=>{const _0x3b896d=_0x2ebf;this['session'][_0x3b896d(0x28c)][_0x3b896d(0x27c)](_0x4828e4(0x1))[_0x3b896d(0x196)](async _0x3fb369=>{const _0x5cfe7b=_0x3b896d;_0x5f19da(await this[_0x5cfe7b(0x389)](_0x3fb369===fe[_0x5cfe7b(0x2f6)]));});});}[_0x30c112(0x202)](){const _0x36a795=_0x30c112,_0x1f5df1=this[_0x36a795(0x499)];return{'onStateChange':(_0x58e8d3,_0x554b70)=>{const _0x237152=_0x36a795;if(_0x58e8d3!==this[_0x237152(0x38d)])throw new Error(_0x237152(0x3ac)+_0x58e8d3[_0x237152(0x463)]+'\x0aAfter:\x20'+_0x554b70[_0x237152(0x463)]+_0x237152(0x1bf)+this[_0x237152(0x38d)][_0x237152(0x463)]);this['_updateState'](_0x554b70);},'onSendChangeset':_0x32ccb3=>{const _0x523e78=_0x36a795;_0x32ccb3['sid']||(_0x32ccb3[_0x523e78(0x47d)]=this['_changesetSessionId'],_0x32ccb3[_0x523e78(0x2c4)]=++this[_0x523e78(0x2d8)]);const _0xdaf06c={'eventID':_0x1b96b7[_0x523e78(0x211)],'data':{'unitID':_0x32ccb3[_0x523e78(0x499)],'unitType':this[_0x523e78(0x23b)],'changeset':_0x32ccb3,'memberID':this[_0x523e78(0x1c7)][_0x523e78(0x88)]()}};this['session'][_0x523e78(0x3ee)](_0xdaf06c,this['unitID']);},'onMissingChangesets':({from:_0x3b7e1e,to:_0x439549})=>{const _0x556818=_0x36a795;this[_0x556818(0x123)]['debug'](_0x556818(0x133),'fetching\x20missing\x20changesets\x20from\x20'+_0x3b7e1e+_0x556818(0x3e1)+_0x439549);const _0x33e30e={'eventID':_0x1b96b7[_0x556818(0x369)],'data':{'unitID':_0x1f5df1,'unitType':this[_0x556818(0x23b)],'from':_0x3b7e1e,'to':_0x439549}};this[_0x556818(0x1c7)]['send'](_0x33e30e,this['unitID']);}};}async[_0x30c112(0x389)](_0x3d9664){const _0x3df395=_0x30c112;var _0x193ef7,_0x11f9d8;const _0x30a868=await this[_0x3df395(0x17a)][_0x3df395(0x3db)](this[_0x3df395(0x499)]),_0x2679fa=(_0x193ef7=_0x30a868==null?void 0x0:_0x30a868[_0x3df395(0xa0)])!=null?_0x193ef7:[],_0x18ce41=(_0x11f9d8=_0x30a868==null?void 0x0:_0x30a868[_0x3df395(0x17c)])!=null?_0x11f9d8:null,_0x7e9f7b=!!(_0x18ce41!=null&&_0x18ce41[_0x3df395(0x47d)])&&!!(_0x18ce41!=null&&_0x18ce41[_0x3df395(0x2c4)]);this[_0x3df395(0x386)]=_0x7e9f7b?_0x18ce41[_0x3df395(0x47d)]:ho(),this[_0x3df395(0x2d8)]=_0x7e9f7b?_0x18ce41[_0x3df395(0x2c4)]:0x0;const _0xf4cb75=this[_0x3df395(0x499)];try{this['_replayCachedMutations'](_0x18ce41,_0x2679fa);}catch(_0x4dcc59){this[_0x3df395(0x123)][_0x3df395(0x3de)](_0x4dcc59);}const _0x528e40=this[_0x3df395(0x202)]();if(_0x3d9664){const _0x44262b=Ji(this[_0x3df395(0x13e)],_0xf4cb75,this[_0x3df395(0x23b)],_0x18ce41,_0x2679fa,_0x528e40);return _0x44262b instanceof pe?_0x44262b[_0x3df395(0x1b2)]():(_0x44262b instanceof me||_0x44262b instanceof Te)&&_0x44262b[_0x3df395(0x29d)](),_0x44262b;}return this[_0x3df395(0x13e)]['createInstance'](Oe,_0xf4cb75,this[_0x3df395(0x23b)],_0x18ce41,_0x2679fa,_0x528e40);}[_0x30c112(0x2c6)](_0x23f2da,_0xf213c8){const _0x116b25=_0x30c112;var _0x4f8ad8,_0x5bbfdc;const _0x38f366=this[_0x116b25(0x1ad)][_0x116b25(0x239)][_0x116b25(0x318)](this[_0x116b25(0x1ad)][_0x116b25(0x239)][_0x116b25(0x84)]()[_0x116b25(0xd0)]);(_0x4f8ad8=_0x38f366((_0x23f2da==null?void 0x0:_0x23f2da[_0x116b25(0xa0)])||[],null))==null||_0x4f8ad8['forEach'](_0x32a5fc=>this['_commandService'][_0x116b25(0x15e)](_0x32a5fc['id'],_0x32a5fc[_0x116b25(0x1d4)])),(_0x5bbfdc=_0x38f366(_0xf213c8||[],null))==null||_0x5bbfdc[_0x116b25(0x241)](_0x11fb8c=>this[_0x116b25(0x118)][_0x116b25(0x15e)](_0x11fb8c['id'],_0x11fb8c[_0x116b25(0x1d4)]));}};Nt=Ps([H(0x3,_0x1273b4(_0x3c8419)),H(0x4,_0x1273b4(z)),H(0x5,_0x1273b4(_0x401e2b)),H(0x6,_0x1273b4(_0x582404)),H(0x7,_0x1273b4(_0x5239ac)),H(0x8,_0x164f73),H(0x9,_0x3364ad),H(0xa,_0x56e1bc),H(0xb,_0x4a5194),H(0xc,_0xe30079(jt))],Nt);let ls=class extends Nt{constructor(_0x2c3107,_0x22afdb,_0x4258ec,_0x3ac9a9,_0x256f0c,_0x144e06,_0xe31bc2,_0x5c96a7,_0x4c8b0b,_0x5620af,_0x4974e8,_0x26941c,_0x418b59,_0x5de5b4,_0x533838,_0x16083c,_0x25cdb0,_0x26712e){const _0x9972da=_0x30c112;super(_0x2c3107,_0x4258ec,_0x22afdb,_0x3ac9a9,_0x256f0c,_0x144e06,_0xe31bc2,_0x5c96a7,_0x5de5b4,_0x533838,_0x16083c,_0x25cdb0,_0x26712e),this['unitID']=_0x2c3107,this[_0x9972da(0x2a5)]=_0x22afdb,this[_0x9972da(0xa9)]=_0x4c8b0b,this['_docTransformIMECacheService']=_0x5620af,this[_0x9972da(0x114)]=_0x4974e8,this[_0x9972da(0x35f)]=_0x26941c,this['_docSyncEditingCollabCursorService']=_0x418b59;}['_createHandler'](){const _0x57ac3a=_0x30c112,_0x195c1a=super[_0x57ac3a(0x202)]();return _0x195c1a['onTransformIME']=_0x57f0c6=>this[_0x57ac3a(0xcd)][_0x57ac3a(0xfd)](_0x57f0c6),_0x195c1a[_0x57ac3a(0x289)]=_0x2d52cb=>this[_0x57ac3a(0x114)][_0x57ac3a(0x1e5)](_0x2d52cb),_0x195c1a[_0x57ac3a(0x47b)]=_0x495198=>this[_0x57ac3a(0x35f)][_0x57ac3a(0x312)](_0x495198),_0x195c1a[_0x57ac3a(0x1f3)]=_0x1f4524=>this['_docSyncEditingCollabCursorService'][_0x57ac3a(0x407)](_0x1f4524),_0x195c1a['onTransformRemoteChangesetByIMECache']=_0x894ce2=>this[_0x57ac3a(0xcd)]['transformRemoteChangeset'](_0x894ce2),_0x195c1a[_0x57ac3a(0x1a1)]=_0x73b5d0=>this['_docTransformStateCacheService'][_0x57ac3a(0x1a5)](_0x73b5d0),_0x195c1a;}async[_0x30c112(0x38c)](){const _0x5d64b6=_0x30c112,_0x189d74=await super['_init']();return this[_0x5d64b6(0x12b)](this[_0x5d64b6(0xa9)][_0x5d64b6(0x3a8)][_0x5d64b6(0x27c)](_0x4d1973(this[_0x5d64b6(0x3e7)]))['subscribe'](_0x437456=>{const _0x2ce455=_0x5d64b6;if(_0x437456==null)return;const {unitId:_0x50bf9d,redoState:_0x413bef,commandId:_0x57a140}=_0x437456;if(_0x50bf9d!==this[_0x2ce455(0x499)])return;const _0x343cc4={'id':_0x57a140,'type':_0x2d21ee['MUTATION'],'params':{'unitId':_0x50bf9d,'actions':_0x413bef[_0x2ce455(0x365)],'textRanges':null}};this[_0x2ce455(0x372)](_0x343cc4);})),this[_0x5d64b6(0x12b)](this[_0x5d64b6(0x118)][_0x5d64b6(0x482)]((_0x18eb76,_0x517ed9)=>{const _0x106428=_0x5d64b6;if(_0x18eb76['type']!==_0x2d21ee[_0x106428(0x243)]||_0x517ed9!=null&&_0x517ed9[_0x106428(0x33a)]||_0x517ed9!=null&&_0x517ed9[_0x106428(0x3eb)]||_0x18eb76['id']===_0x34173f['id'])return;const _0x596a13=_0x18eb76['params'];if((_0x596a13==null?void 0x0:_0x596a13[_0x106428(0x2d3)])!==this['unitID'])return;const _0x32bf26=_0x18eb76,_0xfd9e35=this[_0x106428(0x1ad)][_0x106428(0x239)][_0x106428(0x318)](this[_0x106428(0x1ad)][_0x106428(0x239)][_0x106428(0x84)]()[_0x106428(0xaa)])([_0x32bf26],null)||[_0x32bf26];this[_0x106428(0x372)](_0xfd9e35[0x0]);})),_0x189d74;}};ls=Ps([H(0x3,_0x1273b4(_0x3c8419)),H(0x4,_0x1273b4(z)),H(0x5,_0x1273b4(_0x401e2b)),H(0x6,_0x1273b4(_0x582404)),H(0x7,_0x1273b4(_0x5239ac)),H(0x8,_0x1273b4(_0xd60329)),H(0x9,_0x1273b4(yt)),H(0xa,_0x1273b4(Dt)),H(0xb,_0x1273b4(Pt)),H(0xc,_0x1273b4(Ds)),H(0xd,_0x164f73),H(0xe,_0x3364ad),H(0xf,_0x56e1bc),H(0x10,_0x4a5194),H(0x11,_0xe30079(jt))],ls);let _s=class extends Nt{constructor(_0x1086ba,_0xd1345e,_0x49094c,_0x39d1cf,_0x315652,_0x1448de,_0x2bcaed,_0x3a388e,_0x34fa0b,_0x50d43c,_0xc8ae73,_0x4037b3,_0x2b29af,_0x24a96e){const _0x3520e0=_0x30c112;super(_0x1086ba,_0x49094c,_0xd1345e,_0x39d1cf,_0x315652,_0x1448de,_0x2bcaed,_0x3a388e,_0x50d43c,_0xc8ae73,_0x4037b3,_0x2b29af,_0x24a96e),this[_0x3520e0(0x499)]=_0x1086ba,this[_0x3520e0(0x2a5)]=_0xd1345e,this[_0x3520e0(0x20a)]=_0x34fa0b;}[_0x30c112(0x202)](){const _0x21114a=_0x30c112,_0x35a245=super['_createHandler']();return _0x35a245[_0x21114a(0x47b)]=_0x5ab643=>this['_sheetTransformSelectionsService']['transformSelections'](_0x5ab643),_0x35a245;}async[_0x30c112(0x38c)](){const _0x120363=_0x30c112,_0x1c46d0=await super[_0x120363(0x38c)]();return this['disposeWithMe'](this[_0x120363(0x118)][_0x120363(0x482)]((_0x534ada,_0x2aa8bb)=>{const _0x92c93=_0x120363;if(_0x534ada[_0x92c93(0x2a5)]!==_0x2d21ee[_0x92c93(0x243)]||_0x2aa8bb!=null&&_0x2aa8bb[_0x92c93(0x33a)]||_0x2aa8bb!=null&&_0x2aa8bb[_0x92c93(0x3eb)])return;const _0xb81743=_0x534ada['params'];if((_0xb81743==null?void 0x0:_0xb81743[_0x92c93(0x2d3)])!==this['unitID'])return;const _0x4bdb69=_0x534ada,_0x5d7b1f=this[_0x92c93(0x1ad)][_0x92c93(0x239)][_0x92c93(0x318)](this['_compressMutationService'][_0x92c93(0x239)][_0x92c93(0x84)]()[_0x92c93(0xaa)])([_0x4bdb69],null)||[_0x4bdb69];this[_0x92c93(0x372)](_0x5d7b1f[0x0]);})),_0x1c46d0;}};_s=Ps([H(0x3,_0x1273b4(_0x3c8419)),H(0x4,_0x1273b4(z)),H(0x5,_0x1273b4(_0x401e2b)),H(0x6,_0x1273b4(_0x582404)),H(0x7,_0x1273b4(_0x5239ac)),H(0x8,_0x1273b4(wt)),H(0x9,_0x164f73),H(0xa,_0x3364ad),H(0xb,_0x56e1bc),H(0xc,_0x4a5194),H(0xd,_0xe30079(jt))],_s);var Lo=Object['defineProperty'],$o=Object[_0x30c112(0x1e3)],Ho=(_0x1815cc,_0x2293ea,_0x2aa5e2,_0x160d4a)=>{const _0x4f18bf=_0x30c112;for(var _0x32607f=_0x160d4a>0x1?void 0x0:_0x160d4a?$o(_0x2293ea,_0x2aa5e2):_0x2293ea,_0x322717=_0x1815cc[_0x4f18bf(0xd3)]-0x1,_0x3b20b7;_0x322717>=0x0;_0x322717--)(_0x3b20b7=_0x1815cc[_0x322717])&&(_0x32607f=(_0x160d4a?_0x3b20b7(_0x2293ea,_0x2aa5e2,_0x32607f):_0x3b20b7(_0x32607f))||_0x32607f);return _0x160d4a&&_0x32607f&&Lo(_0x2293ea,_0x2aa5e2,_0x32607f),_0x32607f;},zt=(_0x29471b,_0x5e772c)=>(_0x568df9,_0x5f5037)=>_0x5e772c(_0x568df9,_0x5f5037,_0x29471b);let rt=class extends _0x43d55d{constructor(_0x131049,_0x52e016,_0xafaddc){const _0x1cede2=_0x30c112;super(),g(this,_0x1cede2(0x2a9),new Map()),g(this,_0x1cede2(0x95),new _0x58011a()),(this[_0x1cede2(0x13e)]=_0x131049,this['_collabSessionService']=_0x52e016,this[_0x1cede2(0x187)]=_0xafaddc,this['_init']());}[_0x30c112(0xc9)](){const _0x5c513d=_0x30c112;super[_0x5c513d(0xc9)](),this[_0x5c513d(0x2a9)][_0x5c513d(0x241)](_0x19d3bc=>_0x19d3bc[_0x5c513d(0xc9)]()),this['_entities']['clear']();}[_0x30c112(0x1ce)](_0x3aa911){const _0x5c63e2=_0x30c112;var _0x243598;return(_0x243598=this['_entities'][_0x5c63e2(0x3f6)](_0x3aa911))!=null?_0x243598:null;}['getCollabEntity$'](_0x1a310a){const _0x5d0438=_0x30c112,_0x5d846b=this[_0x5d0438(0x1ce)](_0x1a310a);return _0x5d846b?_0x4e4949(_0x5d846b):this[_0x5d0438(0x95)][_0x5d0438(0x27c)](_0x210123(_0x6585b4=>_0x6585b4[_0x5d0438(0x499)]===_0x1a310a));}[_0x30c112(0x38c)](){const _0x4b21e5=_0x30c112;this['_univerInstanceService'][_0x4b21e5(0xa1)](_0x11a8a2[_0x4b21e5(0x335)])[_0x4b21e5(0x27c)](_0x4d1973(this['dispose$']),_0x2cb4ed(0x10))['subscribe'](async _0x3d1b9e=>{const _0x2412c1=_0x4b21e5,_0x27d393=_0x3d1b9e[_0x2412c1(0x480)](),_0xac36c1=await this[_0x2412c1(0x42b)](_0x27d393,ae['UNIVER_SHEET']);this[_0x2412c1(0x2a9)][_0x2412c1(0x34b)](_0x27d393,_0xac36c1);}),this[_0x4b21e5(0x187)][_0x4b21e5(0xa1)](_0x11a8a2[_0x4b21e5(0x1d7)])['pipe'](_0x4d1973(this[_0x4b21e5(0x3e7)]),_0x2cb4ed(0x10))[_0x4b21e5(0x27c)](_0x210123(_0xa4d104=>!_0xa4d104[_0x4b21e5(0x480)]()[_0x4b21e5(0x2cf)]('__')))[_0x4b21e5(0x196)](async _0x4ab009=>{const _0x19285f=_0x4b21e5,_0x41039e=_0x4ab009['getUnitId'](),_0x4d34a9=await this[_0x19285f(0x42b)](_0x41039e,ae[_0x19285f(0x1d7)]);this['_entities'][_0x19285f(0x34b)](_0x41039e,_0x4d34a9);}),_0x3c419a(this[_0x4b21e5(0x187)][_0x4b21e5(0x2ad)](_0x11a8a2[_0x4b21e5(0x335)]),this[_0x4b21e5(0x187)][_0x4b21e5(0x2ad)](_0x11a8a2['UNIVER_DOC']))[_0x4b21e5(0x27c)](_0x4d1973(this[_0x4b21e5(0x3e7)]))['subscribe'](_0x15420c=>{const _0x94f7f0=_0x4b21e5,_0xde7210=_0x15420c[_0x94f7f0(0x480)](),_0x1bb60d=this[_0x94f7f0(0x2a9)][_0x94f7f0(0x3f6)](_0xde7210);_0x1bb60d&&(_0x1bb60d[_0x94f7f0(0xc9)](),this[_0x94f7f0(0x2a9)][_0x94f7f0(0x26a)](_0xde7210));});}async[_0x30c112(0x42b)](_0x371449,_0x4cb213){const _0x3f9a7c=_0x30c112,_0x173aca=await this[_0x3f9a7c(0x3b8)]['requireSession'](_0x371449),_0x1a4fda=this['_injector'][_0x3f9a7c(0x375)](this['_getCtorByUniverType'](_0x4cb213),_0x371449,_0x4cb213,_0x173aca);return await _0x1a4fda[_0x3f9a7c(0x427)](),this[_0x3f9a7c(0x95)]['next'](_0x1a4fda),_0x1a4fda;}[_0x30c112(0x370)](_0x43b431){const _0x2c4328=_0x30c112;switch(_0x43b431){case ae[_0x2c4328(0x1d7)]:return ls;case ae[_0x2c4328(0x335)]:return _s;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x43b431);}}};rt=Ho([zt(0x0,_0x1273b4(_0x3c8419)),zt(0x1,_0x1273b4(xe)),zt(0x2,_0x1d1a83)],rt);var jo=Object['defineProperty'],Bo=Object[_0x30c112(0x1e3)],ko=(_0x534059,_0x2f49a6,_0x4fbc71,_0x2bf4ce)=>{const _0x1dbfcb=_0x30c112;for(var _0x53d7d2=_0x2bf4ce>0x1?void 0x0:_0x2bf4ce?Bo(_0x2f49a6,_0x4fbc71):_0x2f49a6,_0x568757=_0x534059[_0x1dbfcb(0xd3)]-0x1,_0xc57682;_0x568757>=0x0;_0x568757--)(_0xc57682=_0x534059[_0x568757])&&(_0x53d7d2=(_0x2bf4ce?_0xc57682(_0x2f49a6,_0x4fbc71,_0x53d7d2):_0xc57682(_0x53d7d2))||_0x53d7d2);return _0x2bf4ce&&_0x53d7d2&&jo(_0x2f49a6,_0x4fbc71,_0x53d7d2),_0x53d7d2;},ti=(_0x4ccb7a,_0x431517)=>(_0x212ae0,_0x1dfce0)=>_0x431517(_0x212ae0,_0x1dfce0,_0x4ccb7a);let Ut=class extends _0x43d55d{constructor(_0x342bec,_0x256f86){const _0x70f9c4=_0x30c112;super(),this[_0x70f9c4(0x14d)]=_0x342bec,this[_0x70f9c4(0x3bf)]=_0x256f86,this[_0x70f9c4(0x38c)]();}[_0x30c112(0x38c)](){const _0x22e1e2=_0x30c112,_0x555f22=this;this['disposeWithMe'](this['_docClipboardService'][_0x22e1e2(0x230)]({'onBeforePasteImage':async _0x384fdd=>{const _0xc1d71e=_0x22e1e2,_0x114d32=await _0x555f22[_0xc1d71e(0x3bf)][_0xc1d71e(0x3b1)](_0x384fdd);return _0x114d32?{'source':_0x114d32['source'],'imageSourceType':_0x114d32['imageSourceType']}:null;}}));}};Ut=ko([ti(0x0,_0x41ae5b),ti(0x1,_0x4cbe92)],Ut);const si=[_0x30c112(0x2f3),_0x30c112(0x400),'verdancy600',_0x30c112(0x471),_0x30c112(0x185),_0x30c112(0x412)];class Ns extends _0x2ea306{constructor(){const _0x5a1cb8=_0x30c112;super(...arguments),g(this,_0x5a1cb8(0x38a),new Map()),g(this,_0x5a1cb8(0x339),0x0);}[_0x30c112(0x8c)](_0x1f322e){const _0x556d51=_0x30c112;if(this[_0x556d51(0x38a)][_0x556d51(0x120)](_0x1f322e))return this[_0x556d51(0x38a)]['get'](_0x1f322e);const _0x1482da=si[this[_0x556d51(0x339)]];return this[_0x556d51(0x339)]=(this['_colorIndex']+0x1)%si['length'],this['_assignedColors'][_0x556d51(0x34b)](_0x1f322e,_0x1482da),_0x1482da;}}var Wo=Object[_0x30c112(0x28e)],Fo=Object[_0x30c112(0x1e3)],Vo=(_0x17d9e4,_0x51dc1a,_0x3a932f,_0x3cb854)=>{const _0x516e61=_0x30c112;for(var _0x1c44c4=_0x3cb854>0x1?void 0x0:_0x3cb854?Fo(_0x51dc1a,_0x3a932f):_0x51dc1a,_0x20010a=_0x17d9e4[_0x516e61(0xd3)]-0x1,_0x4c8ba9;_0x20010a>=0x0;_0x20010a--)(_0x4c8ba9=_0x17d9e4[_0x20010a])&&(_0x1c44c4=(_0x3cb854?_0x4c8ba9(_0x51dc1a,_0x3a932f,_0x1c44c4):_0x4c8ba9(_0x1c44c4))||_0x1c44c4);return _0x3cb854&&_0x1c44c4&&Wo(_0x51dc1a,_0x3a932f,_0x1c44c4),_0x1c44c4;},we=(_0x1ba833,_0x60c8d6)=>(_0x378ded,_0x5af669)=>_0x60c8d6(_0x378ded,_0x5af669,_0x1ba833);const Go=0x12c,Yo=0x64;let us=class extends _0x43d55d{constructor(_0x27d0b7,_0x432e6d,_0x5daf08,_0x5203b6,_0x565f33,_0x1d022d,_0x392630,_0x47faf4,_0x52dde5){const _0x229b54=_0x30c112;super(),g(this,_0x229b54(0x248),!0x1),g(this,_0x229b54(0x38c),!0x1),g(this,'_cursorInfo$',new _0x15cd68(new Map())),g(this,_0x229b54(0x1fc),this[_0x229b54(0x99)][_0x229b54(0x36c)]()),g(this,'_roomMembers$',new _0x15cd68([])),g(this,_0x229b54(0xbe),this[_0x229b54(0x186)][_0x229b54(0x27c)](_0x12f726(Go))),g(this,_0x229b54(0x89),_0x1f48d8(_0x3b9de8=>{const _0xdb0a70=_0x229b54,_0x347573={'eventID':_0x1b96b7[_0xdb0a70(0x18f)],'data':{'unitID':this['unitID'],'memberID':this[_0xdb0a70(0x39c)][_0xdb0a70(0x88)](),'selection':qi(_0x3b9de8)}};this['_session']['send'](_0x347573,this[_0xdb0a70(0x499)]);},Yo)),(this[_0x229b54(0x499)]=_0x27d0b7,this[_0x229b54(0x39c)]=_0x432e6d,this[_0x229b54(0x13e)]=_0x5daf08,this[_0x229b54(0x316)]=_0x5203b6,this[_0x229b54(0x294)]=_0x565f33,this[_0x229b54(0x1ef)]=_0x1d022d,this['_transformService']=_0x392630,this['_univerInstanceService']=_0x47faf4,this[_0x229b54(0x118)]=_0x52dde5);}get[_0x30c112(0xf3)](){const _0x19f7e4=_0x30c112;return this[_0x19f7e4(0x99)][_0x19f7e4(0x3af)]();}get[_0x30c112(0x422)](){const _0x4ac8ca=_0x30c112;return this[_0x4ac8ca(0x186)][_0x4ac8ca(0x3af)]();}['dispose'](){const _0x11e493=_0x30c112;super[_0x11e493(0xc9)](),this[_0x11e493(0x99)][_0x11e493(0x26d)](new Map()),this[_0x11e493(0x99)][_0x11e493(0x2e0)](),this[_0x11e493(0x186)][_0x11e493(0x26d)]([]),this['_roomMembers$'][_0x11e493(0x2e0)]();}[_0x30c112(0x427)](){const _0x6dbcdc=_0x30c112;this[_0x6dbcdc(0x38c)]||(this[_0x6dbcdc(0x38c)]=!0x0,this['_session'][_0x6dbcdc(0x28c)][_0x6dbcdc(0x27c)](_0x4d1973(this[_0x6dbcdc(0x3e7)]))[_0x6dbcdc(0x196)](_0x4cc814=>{const _0x5d09fe=_0x6dbcdc;_0x4cc814===fe[_0x5d09fe(0x2f6)]?this[_0x5d09fe(0x24d)]():this[_0x5d09fe(0x94)]();}),this[_0x6dbcdc(0x39c)][_0x6dbcdc(0x208)]['pipe'](_0x4d1973(this[_0x6dbcdc(0x3e7)]))['subscribe'](_0x49ccde=>{const _0x22ead5=_0x6dbcdc,_0x1e0270=_0x49ccde['eventID'];_0x1e0270===_0x1b96b7[_0x22ead5(0x18f)]&&this[_0x22ead5(0x35a)](_0x49ccde),_0x1e0270===_0x1b96b7[_0x22ead5(0xf4)]&&this['_onCursorDelete'](_0x49ccde);}),this['disposeWithMe'](this[_0x6dbcdc(0x118)]['onCommandExecuted'](_0x3d28d0=>{const _0x554a58=_0x6dbcdc,_0x28905f=_0x3d28d0[_0x554a58(0x1d4)];_0x28905f!=null&&this[_0x554a58(0x248)]&&_0x3d28d0['id']===_0x29a654['id']&&_0x28905f['unitId']===this[_0x554a58(0x499)]&&_0x28905f[_0x554a58(0x31b)]===!0x1&&_0x28905f[_0x554a58(0xbf)]['length']>0x0&&this[_0x554a58(0x89)](_0x28905f[_0x554a58(0xbf)]);})),this[_0x6dbcdc(0x1ef)][_0x6dbcdc(0x3aa)]['pipe'](_0x4d1973(this['dispose$']))['subscribe'](_0x58de33=>{const _0x1e9129=_0x6dbcdc;if((_0x58de33==null?void 0x0:_0x58de33[_0x1e9129(0x499)])!==this[_0x1e9129(0x499)])return;const _0x40c2e6={'eventID':_0x1b96b7['UPDATE_CURSOR'],'data':_0x58de33};this[_0x1e9129(0x35a)](_0x40c2e6);}),this[_0x6dbcdc(0x12b)](this[_0x6dbcdc(0x118)][_0x6dbcdc(0x482)](_0x1b091d=>{const _0x15b980=_0x6dbcdc;if(_0x1b091d[_0x15b980(0x1d4)]==null)return;const _0x58ec6f=_0x1b091d['params'];if(_0x1b091d['id']!==_0x34173f['id']||_0x58ec6f['unitId']!==this['unitID'])return;const _0x1f88eb={'id':_0x15b980(0x285),'params':_0x58ec6f},_0x337a40=this[_0x15b980(0xf3)];for(const [_0x5ae3dd,_0x3e4aa3]of _0x337a40){const _0x3df6fa={'id':_0x15b980(0x285),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3e4aa3[_0x15b980(0xbf)]}},_0x3e6528=this['_transformService']['transformMutation'](_0x1f88eb,_0x3df6fa,!0x1);if(_0x33b0d8(_0x3e6528))throw _0x3e6528[_0x15b980(0x3de)];_0x337a40[_0x15b980(0x34b)](_0x5ae3dd,{..._0x3e4aa3,'ranges':_0x3e6528[_0x15b980(0x27d)][_0x15b980(0x1d4)][_0x15b980(0x310)]});}queueMicrotask(()=>{const _0x48bab0=_0x15b980;this[_0x48bab0(0x99)][_0x48bab0(0x26d)](_0x337a40);});})));}['_onCursorUpdate'](_0x4f3879){const _0x489f8b=_0x30c112;var _0xa1e9c0,_0x231b0c;const {memberID:_0x519c5e,selection:_0x477bfd}=_0x4f3879[_0x489f8b(0x28d)],_0x4fd0dc=Ro(_0x477bfd),_0x23cc59=(_0x231b0c=(_0xa1e9c0=this[_0x489f8b(0x294)][_0x489f8b(0x226)](this[_0x489f8b(0x499)],_0x519c5e))==null?void 0x0:_0xa1e9c0[_0x489f8b(0x3ab)])!=null?_0x231b0c:_0x489f8b(0x266),_0x2dd74c={'color':this[_0x489f8b(0x316)][_0x489f8b(0x8c)](_0x519c5e),'name':_0x23cc59,'ranges':_0x4fd0dc},_0x2433a2=this[_0x489f8b(0xf3)];_0x2433a2['set'](_0x519c5e,_0x2dd74c),this[_0x489f8b(0x99)][_0x489f8b(0x26d)](_0x2433a2);}['_onCursorDelete'](_0x428e6d){const _0x45896c=_0x30c112,{memberID:_0x2c55cc}=_0x428e6d[_0x45896c(0x28d)],_0x355ccd=this[_0x45896c(0xf3)];_0x355ccd[_0x45896c(0x26a)](_0x2c55cc),this['_cursorInfo$'][_0x45896c(0x26d)](_0x355ccd);}[_0x30c112(0x24d)](){const _0x47e05a=_0x30c112;var _0x44e934;if(this[_0x47e05a(0x248)]=!0x0,((_0x44e934=this[_0x47e05a(0x187)][_0x47e05a(0x142)]())==null?void 0x0:_0x44e934[_0x47e05a(0x480)]())!==this['unitID'])return;const _0xd8477a=this['_injector'][_0x47e05a(0x3f6)](_0x4cb2f3)[_0x47e05a(0xa6)]();Array[_0x47e05a(0x1f7)](_0xd8477a)&&_0xd8477a[_0x47e05a(0xd3)]>0x0&&this[_0x47e05a(0x89)](_0xd8477a);}[_0x30c112(0x94)](){const _0x4b4ca5=_0x30c112;this[_0x4b4ca5(0x248)]=!0x1;}};us=Vo([we(0x2,_0x1273b4(_0x3c8419)),we(0x3,_0x1273b4(Ns)),we(0x4,_0x1273b4(Me)),we(0x5,_0x1273b4(Ds)),we(0x6,_0xf205f5),we(0x7,_0x1d1a83),we(0x8,_0x3364ad)],us);var Ko=Object[_0x30c112(0x28e)],qo=Object[_0x30c112(0x1e3)],zo=(_0x16d782,_0x454e7f,_0x4a80a9,_0x21e5a4)=>{const _0x4878a6=_0x30c112;for(var _0x43f32d=_0x21e5a4>0x1?void 0x0:_0x21e5a4?qo(_0x454e7f,_0x4a80a9):_0x454e7f,_0x2c5c48=_0x16d782[_0x4878a6(0xd3)]-0x1,_0x5811be;_0x2c5c48>=0x0;_0x2c5c48--)(_0x5811be=_0x16d782[_0x2c5c48])&&(_0x43f32d=(_0x21e5a4?_0x5811be(_0x454e7f,_0x4a80a9,_0x43f32d):_0x5811be(_0x43f32d))||_0x43f32d);return _0x21e5a4&&_0x43f32d&&Ko(_0x454e7f,_0x4a80a9,_0x43f32d),_0x43f32d;},Be=(_0x3cb887,_0x24eacc)=>(_0x4fefe2,_0x221f5f)=>_0x24eacc(_0x4fefe2,_0x221f5f,_0x3cb887);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0xc9a6a3=[],_0x2c0179=!0x1;return _0x46dbd1=>{const _0x1ebac4=_0x2ebf;_0xc9a6a3[_0x1ebac4(0xd6)](_0x46dbd1),_0x2c0179||(_0x2c0179=!0x0,setTimeout(()=>{const _0x168d78=_0x1ebac4;_0xc9a6a3[_0x168d78(0x241)](_0x3e2a5a=>_0x3e2a5a()),_0xc9a6a3=[],_0x2c0179=!0x1;}));};};let ds=class extends _0x43d55d{constructor(_0x3e9b54,_0x57c64f,_0xc4ce62,_0x5926ff,_0x3cfce3,_0x28e9b8,_0x4ee842,_0x2678fc){const _0x22a1f9=_0x30c112;super(),g(this,_0x22a1f9(0x248),!0x1),g(this,_0x22a1f9(0x38c),!0x1),g(this,_0x22a1f9(0x99),new _0x15cd68(new Map())),g(this,_0x22a1f9(0x1fc),this[_0x22a1f9(0x99)]['asObservable']()),g(this,_0x22a1f9(0x186),new _0x15cd68([])),g(this,_0x22a1f9(0xbe),this[_0x22a1f9(0x186)][_0x22a1f9(0x27c)](_0x12f726(Xo))),g(this,_0x22a1f9(0x89),_0x1f48d8((_0x222bfa,_0x503a05)=>{const _0x1ecba1=_0x22a1f9,_0x3a0692={'eventID':_0x1b96b7[_0x1ecba1(0x18f)],'data':{'unitID':this[_0x1ecba1(0x499)],'memberID':this[_0x1ecba1(0x39c)]['getMemberID'](),'selection':_0x1e9fee(_0x222bfa,_0x503a05[_0x1ecba1(0xe5)])}};this['_session']['send'](_0x3a0692,this[_0x1ecba1(0x499)]);},Jo)),(this['unitID']=_0x3e9b54,this['_session']=_0x57c64f,this['_injector']=_0xc4ce62,this[_0x22a1f9(0x316)]=_0x5926ff,this[_0x22a1f9(0x294)]=_0x3cfce3,this[_0x22a1f9(0x187)]=_0x28e9b8,this['_commandService']=_0x4ee842,this[_0x22a1f9(0x2d7)]=_0x2678fc);}get[_0x30c112(0xf3)](){const _0x474131=_0x30c112;return this[_0x474131(0x99)]['getValue']();}get['roomMembers'](){const _0x5532a1=_0x30c112;return this[_0x5532a1(0x186)][_0x5532a1(0x3af)]();}[_0x30c112(0xc9)](){const _0x27fd5d=_0x30c112;super[_0x27fd5d(0xc9)](),this[_0x27fd5d(0x99)]['next'](new Map()),this[_0x27fd5d(0x99)][_0x27fd5d(0x2e0)](),this[_0x27fd5d(0x186)][_0x27fd5d(0x26d)]([]),this[_0x27fd5d(0x186)][_0x27fd5d(0x2e0)]();}[_0x30c112(0x427)](){const _0x2fe6f6=_0x30c112;this[_0x2fe6f6(0x38c)]||(this['_init']=!0x0,this[_0x2fe6f6(0x39c)][_0x2fe6f6(0x28c)][_0x2fe6f6(0x27c)](_0x4d1973(this['dispose$']))[_0x2fe6f6(0x196)](_0x3f5e97=>{const _0x143084=_0x2fe6f6;_0x3f5e97===fe[_0x143084(0x2f6)]?this[_0x143084(0x24d)]():this[_0x143084(0x94)]();}),this[_0x2fe6f6(0x39c)]['event$']['pipe'](_0x4d1973(this[_0x2fe6f6(0x3e7)]))['subscribe'](_0x538a3c=>{const _0x240c5f=_0x2fe6f6,_0x2f4bd2=_0x538a3c['eventID'];_0x2f4bd2===_0x1b96b7[_0x240c5f(0x18f)]&&this[_0x240c5f(0x35a)](_0x538a3c),_0x2f4bd2===_0x1b96b7['USERS_LEAVE']&&this[_0x240c5f(0x3b5)](_0x538a3c);}),this[_0x2fe6f6(0x442)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x428059=>{const _0x2213c0=_0x2fe6f6;if(this[_0x2213c0(0x248)]&&_0x428059['id']===_0x2d1427['id']&&_0x428059['params']['unitId']===this[_0x2213c0(0x499)]){const _0xaae510=_0x428059[_0x2213c0(0x1d4)];this['_updateLocalCursor'](_0xaae510['subUnitId'],_0xaae510[_0x2213c0(0x357)][0x0]);}})));}[_0x30c112(0x35a)](_0x37229c){const _0x7875ba=_0x30c112;var _0x324154,_0xfe30e;const {memberID:_0xe199f7,selection:_0x4853c4}=_0x37229c[_0x7875ba(0x28d)],{sheetName:_0x2fb49d,range:_0x61f2bf}=_0x11dba6(_0x4853c4),_0x52ed2f={'name':(_0xfe30e=(_0x324154=this[_0x7875ba(0x294)]['getMember'](this[_0x7875ba(0x499)],_0xe199f7))==null?void 0x0:_0x324154[_0x7875ba(0x3ab)])!=null?_0xfe30e:_0x7875ba(0x266),'range':this[_0x7875ba(0xbb)](_0x2fb49d,_0x61f2bf),'sheetID':_0x2fb49d,'color':this[_0x7875ba(0x316)][_0x7875ba(0x8c)](_0xe199f7),'selection':_0x4853c4},_0x1732ac=this[_0x7875ba(0xf3)];_0x1732ac['set'](_0xe199f7,_0x52ed2f),this['_cursorInfo$'][_0x7875ba(0x26d)](_0x1732ac);}[_0x30c112(0x3b5)](_0xd8d768){const _0x241655=_0x30c112,{memberID:_0x427b5e}=_0xd8d768[_0x241655(0x28d)],_0x5ced1b=this[_0x241655(0xf3)];_0x5ced1b[_0x241655(0x26a)](_0x427b5e),this['_cursorInfo$'][_0x241655(0x26d)](_0x5ced1b);}[_0x30c112(0xbb)](_0x9ce5b0,_0x82da64){const _0x41a492=_0x30c112;var _0x2f2622,_0x16f13f;const _0x217693=(_0x16f13f=(_0x2f2622=this[_0x41a492(0x187)][_0x41a492(0x2f4)](this[_0x41a492(0x499)]))==null?void 0x0:_0x2f2622['getSheetBySheetId'](_0x9ce5b0))==null?void 0x0:_0x16f13f[_0x41a492(0x405)]();return(_0x217693==null?void 0x0:_0x217693[_0x41a492(0x1a9)](_0x11abfe=>_0x2a8e41[_0x41a492(0x2be)](_0x11abfe,_0x82da64)))||_0x82da64;}[_0x30c112(0x442)](){const _0x3d15b2=_0x30c112,_0x38359e=new _0x1978af(),_0x34d201=Zo(),_0x50f0be=()=>{const _0x439f2f=_0x2ebf;_0x38359e['dispose']();const _0x289099=(_0x3311dc,_0x5082c7,_0x35e0bf,_0x556e7c)=>{const _0x21007b=_0x2ebf;let _0x1eaf2d=[];switch(_0x3311dc['id']){case _0x1c676e[_0x21007b(0x22c)]:{_0x1eaf2d=_0xf9f43c(_0x3311dc,_0x556e7c);break;}case _0x1c676e['DeleteRangeMoveUpCommandId']:{_0x1eaf2d=_0x3d5f70(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0x313)]:{_0x1eaf2d=_0x33c079(_0x3311dc,_0x556e7c);break;}case _0x1c676e['InsertRangeMoveDownCommandId']:{_0x1eaf2d=_0x523489(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0xcc)]:{_0x1eaf2d=_0xc9ce6c(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0x36d)]:{_0x1eaf2d=_0x4b2bf2(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0x3c6)]:{_0x1eaf2d=_0x3ce231(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0xc8)]:{_0x1eaf2d=_0x3ee756(_0x3311dc,_0x556e7c);break;}case _0x1c676e[_0x21007b(0xb0)]:{_0x1eaf2d=_0x4920d8(_0x3311dc,_0x556e7c);break;}}const _0x123bf9=_0x3302a3(_0x1eaf2d,_0x556e7c),_0x5dcd0f=this[_0x21007b(0xf3)][_0x21007b(0x3f6)](_0x5082c7);if(_0x5dcd0f&&_0x123bf9){const _0x2c54f7={..._0x5dcd0f,'range':_0x123bf9};this[_0x21007b(0xf3)][_0x21007b(0x34b)](_0x5082c7,_0x2c54f7),_0x34d201(()=>{const _0x392b71=_0x21007b,_0x48463d=this[_0x392b71(0x2d7)][_0x392b71(0x336)](_0x123bf9,_0x45f472=>(_0x48463d['dispose'](),_0x289099(_0x45f472,_0x5082c7,_0x35e0bf,_0x123bf9)));_0x38359e['add'](_0x48463d);});}return{'redos':[],'undos':[]};};this[_0x439f2f(0xf3)][_0x439f2f(0x241)]((_0x13dc39,_0x126a4a)=>{const _0xdf840=_0x439f2f,{range:_0x231e2e,sheetID:_0x18275a}=_0x13dc39,_0x1cf3fd=this[_0xdf840(0x2d7)]['registerRefRange'](_0x231e2e,_0x5273a0=>(_0x1cf3fd[_0xdf840(0xc9)](),_0x289099(_0x5273a0,_0x126a4a,_0x18275a,_0x231e2e)));_0x38359e[_0xdf840(0x1c0)](_0x1cf3fd);});};this[_0x3d15b2(0x12b)](_0x7e08d2(this[_0x3d15b2(0x99)]['subscribe'](()=>{_0x50f0be();})));}[_0x30c112(0x24d)](){const _0x12ab27=_0x30c112;var _0x458594,_0x37e9a3;if(this[_0x12ab27(0x248)]=!0x0,((_0x458594=this['_univerInstanceService'][_0x12ab27(0x142)]())==null?void 0x0:_0x458594[_0x12ab27(0x480)]())!==this[_0x12ab27(0x499)])return;const _0x412c37=(_0x37e9a3=this['_injector']['get'](_0x2bf4e8)[_0x12ab27(0x457)]())==null?void 0x0:_0x37e9a3[0x0],_0x4f6803=this[_0x12ab27(0x187)][_0x12ab27(0x34f)](_0x11a8a2[_0x12ab27(0x335)])[_0x12ab27(0x416)]();_0x412c37&&_0x4f6803&&this['_updateLocalCursor'](_0x4f6803[_0x12ab27(0x396)](),_0x412c37);}[_0x30c112(0x94)](){this['_online']=!0x1;}};ds=zo([Be(0x2,_0x1273b4(_0x3c8419)),Be(0x3,_0x1273b4(Ns)),Be(0x4,_0x1273b4(Me)),Be(0x5,_0x1d1a83),Be(0x6,_0x3364ad),Be(0x7,_0x1273b4(_0x2902d3))],ds);var Qo=Object[_0x30c112(0x28e)],ea=Object[_0x30c112(0x1e3)],ta=(_0x2673e6,_0x3be680,_0x23ee41,_0x1dbd35)=>{const _0x37cbc3=_0x30c112;for(var _0x3373c9=_0x1dbd35>0x1?void 0x0:_0x1dbd35?ea(_0x3be680,_0x23ee41):_0x3be680,_0x498057=_0x2673e6[_0x37cbc3(0xd3)]-0x1,_0x232fbc;_0x498057>=0x0;_0x498057--)(_0x232fbc=_0x2673e6[_0x498057])&&(_0x3373c9=(_0x1dbd35?_0x232fbc(_0x3be680,_0x23ee41,_0x3373c9):_0x232fbc(_0x3373c9))||_0x3373c9);return _0x1dbd35&&_0x3373c9&&Qo(_0x3be680,_0x23ee41,_0x3373c9),_0x3373c9;},Xt=(_0x4cb0b8,_0x1c9f7c)=>(_0x3b4ffb,_0x5147a7)=>_0x1c9f7c(_0x3b4ffb,_0x5147a7,_0x4cb0b8);let Ve=class extends _0x43d55d{constructor(_0x3fa5d1,_0xdc86f7,_0xd8ab6f){const _0x57d7ff=_0x30c112;super(),g(this,_0x57d7ff(0x2a9),new Map()),g(this,'_entityInit$',new _0x58011a()),(this[_0x57d7ff(0x187)]=_0x3fa5d1,this[_0x57d7ff(0x13e)]=_0xdc86f7,this[_0x57d7ff(0x3b8)]=_0xd8ab6f,this[_0x57d7ff(0x38c)]());}[_0x30c112(0xc9)](){const _0x116900=_0x30c112;super[_0x116900(0xc9)](),this[_0x116900(0x95)][_0x116900(0x2e0)](),this[_0x116900(0x2a9)]['forEach'](_0x575f74=>_0x575f74[_0x116900(0xc9)]());}[_0x30c112(0x346)](_0x3063b6){const _0x1469df=_0x30c112;return this[_0x1469df(0x2a9)][_0x1469df(0x120)](_0x3063b6)?this[_0x1469df(0x2a9)][_0x1469df(0x3f6)](_0x3063b6)[_0x1469df(0x1fc)]:this['_entityInit$']['pipe'](_0x52ffaa(_0x4593fb=>_0x4593fb[_0x1469df(0x499)]===_0x3063b6),_0x387fda(_0x1b4a3e=>_0x1b4a3e[_0x1469df(0x1fc)]));}['_init'](){const _0x3ee944=_0x30c112;this[_0x3ee944(0x187)]['getTypeOfUnitAdded$'](_0x11a8a2[_0x3ee944(0x335)])[_0x3ee944(0x27c)](_0x4d1973(this[_0x3ee944(0x3e7)]))[_0x3ee944(0x196)](async _0x558786=>{const _0x1bb98c=_0x3ee944,_0x29d8cc=_0x558786[_0x1bb98c(0x480)](),_0x3db261=await this['_startSheetCollabCursor'](_0x29d8cc);this[_0x1bb98c(0x95)]['next'](_0x3db261),this[_0x1bb98c(0x2a9)][_0x1bb98c(0x34b)](_0x29d8cc,_0x3db261);}),this['_univerInstanceService'][_0x3ee944(0xa1)](_0x11a8a2[_0x3ee944(0x1d7)])['pipe'](_0x4d1973(this[_0x3ee944(0x3e7)]))[_0x3ee944(0x27c)](_0x52ffaa(_0x50b84a=>!_0x50b84a['getUnitId']()[_0x3ee944(0x2cf)]('__')))['subscribe'](async _0x42d75e=>{const _0xa070ac=_0x3ee944,_0x1ea2c3=_0x42d75e[_0xa070ac(0x480)](),_0x903a6f=await this[_0xa070ac(0x42a)](_0x1ea2c3);this[_0xa070ac(0x95)]['next'](_0x903a6f),this[_0xa070ac(0x2a9)]['set'](_0x1ea2c3,_0x903a6f);}),_0x3c419a(this[_0x3ee944(0x187)][_0x3ee944(0x2ad)](_0x11a8a2[_0x3ee944(0x1d7)]),this[_0x3ee944(0x187)][_0x3ee944(0x2ad)](_0x11a8a2['UNIVER_SHEET']))['pipe'](_0x4d1973(this['dispose$']))[_0x3ee944(0x196)](_0x4a99e0=>{const _0x2bb22f=_0x3ee944,_0x45fcae=_0x4a99e0[_0x2bb22f(0x480)](),_0x15299f=this[_0x2bb22f(0x2a9)][_0x2bb22f(0x3f6)](_0x45fcae);_0x15299f&&(_0x15299f['dispose'](),this[_0x2bb22f(0x2a9)][_0x2bb22f(0x26a)](_0x45fcae));});}async[_0x30c112(0x25a)](_0x4d8f21){const _0x443618=_0x30c112,_0x4fc224=await this[_0x443618(0x3b8)][_0x443618(0x288)](_0x4d8f21),_0x21fdfd=this[_0x443618(0x13e)][_0x443618(0x375)](ds,_0x4d8f21,_0x4fc224);return _0x21fdfd[_0x443618(0x427)](),_0x21fdfd;}async[_0x30c112(0x42a)](_0x45082e){const _0xb9bbbe=_0x30c112,_0x4f2d77=await this[_0xb9bbbe(0x3b8)][_0xb9bbbe(0x288)](_0x45082e),_0x196bf7=this['_injector'][_0xb9bbbe(0x375)](us,_0x45082e,_0x4f2d77);return _0x196bf7['init'](),_0x196bf7;}};Ve=ta([Xt(0x0,_0x1d1a83),Xt(0x1,_0x1273b4(_0x3c8419)),Xt(0x2,_0x1273b4(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x3f5c6c,_0x438741){const _0x331973=_0x30c112;let {radius:_0x2a1dba,width:_0x3c8259,height:_0x41a95f}=_0x438741;_0x2a1dba=_0x2a1dba!=null?_0x2a1dba:0x0,_0x3c8259=_0x3c8259!=null?_0x3c8259:0x1e,_0x41a95f=_0x41a95f!=null?_0x41a95f:0x1e;let _0x57a31f=0x0,_0xdb32c4=0x0,_0xd635cc=0x0;_0x57a31f=_0xdb32c4=_0xd635cc=Math[_0x331973(0x275)](_0x2a1dba,_0x3c8259/0x2,_0x41a95f/0x2),_0x3f5c6c['beginPath'](),_0x3f5c6c['moveTo'](_0x57a31f,0x0),_0x3f5c6c['lineTo'](_0x3c8259-_0xdb32c4,0x0),_0x3f5c6c[_0x331973(0x16f)](_0x3c8259-_0xdb32c4,_0xdb32c4,_0xdb32c4,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f5c6c['lineTo'](_0x3c8259,_0x41a95f-_0xd635cc),_0x3f5c6c[_0x331973(0x16f)](_0x3c8259-_0xd635cc,_0x41a95f-_0xd635cc,_0xd635cc,0x0,Math['PI']/0x2,!0x1),_0x3f5c6c['lineTo'](0x0,_0x41a95f),_0x3f5c6c[_0x331973(0x24e)](0x0,_0x57a31f),_0x3f5c6c[_0x331973(0x16f)](_0x57a31f,_0x57a31f,_0x57a31f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f5c6c['closePath'](),_0x438741[_0x331973(0x24b)]&&(_0x3f5c6c['save'](),_0x3f5c6c['fillStyle']=_0x438741[_0x331973(0x24b)],_0x438741['fillRule']===_0x331973(0x481)?_0x3f5c6c[_0x331973(0x24b)](_0x331973(0x481)):_0x3f5c6c[_0x331973(0x24b)](),_0x3f5c6c[_0x331973(0x315)]());}class Bt extends _0x59eb56{constructor(_0x311e93,_0x20aeba){const _0x3ad041=_0x30c112;super(_0x311e93,_0x20aeba),g(this,_0x3ad041(0x1b1)),g(this,_0x3ad041(0x3ff)),(this[_0x3ad041(0x1b1)]=_0x20aeba==null?void 0x0:_0x20aeba[_0x3ad041(0x1b1)],this['text']=_0x20aeba==null?void 0x0:_0x20aeba[_0x3ad041(0x3ff)]);}static[_0x30c112(0xdb)](_0x3d2ca7,_0x2a7130){const _0x308e33=_0x30c112,{text:_0x2d439c,color:_0x5ac8ba}=_0x2a7130;_0x3d2ca7[_0x308e33(0x33c)](),_0x3d2ca7[_0x308e33(0x152)]=_0x308e33(0x153);const _0x2a66a4=_0x3d2ca7[_0x308e33(0x229)](_0x2d439c)[_0x308e33(0x39f)],_0x371539=Math[_0x308e33(0x275)](_0x2a66a4+0x2*Jt,ii);ia(_0x3d2ca7,{'height':nt,'radius':0x4,'width':_0x371539,'fill':_0x5ac8ba,'evented':!0x1}),_0x3d2ca7['fillStyle']=_0x308e33(0x47f);const _0xe44452=Jt,_0x513076=nt-sa,_0x2558f4=ii-0x2*Jt;if(_0x2a66a4>_0x2558f4){let _0x59ad86='',_0x41f2f9=0x0;for(const _0x59ef58 of _0x2d439c){const _0xf169b1=_0x3d2ca7[_0x308e33(0x229)](_0x59ef58)[_0x308e33(0x39f)];if(_0x41f2f9+_0xf169b1<=_0x2558f4-_0x3d2ca7[_0x308e33(0x229)]('...')['width'])_0x59ad86+=_0x59ef58,_0x41f2f9+=_0xf169b1;else{_0x59ad86+=_0x308e33(0xe1);break;}}_0x3d2ca7['fillText'](_0x59ad86,_0xe44452,_0x513076);}else _0x3d2ca7[_0x308e33(0x49f)](_0x2d439c,_0xe44452,_0x513076);_0x3d2ca7[_0x308e33(0x315)]();}[_0x30c112(0x439)](_0x97e42d){const _0x1311ab=_0x30c112;Bt[_0x1311ab(0xdb)](_0x97e42d,this);}}const Zt='collab-text-anchor-',ra=_0x30c112(0x22d),na=_0x30c112(0x164),Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca='rgba(255,\x20255,\x20255,\x200.01)';class ri{constructor(_0x540ed6,_0x2e20ad,_0x251970,_0x358176){const _0x3b2aa3=_0x30c112;g(this,_0x3b2aa3(0x3f2),[]),g(this,_0x3b2aa3(0x20c),null),g(this,_0x3b2aa3(0x26e),null),g(this,_0x3b2aa3(0x23e),null),g(this,'_hideTimer',null),g(this,_0x3b2aa3(0x170),null),(this[_0x3b2aa3(0x466)]=_0x540ed6,this['_scene']=_0x2e20ad,this[_0x3b2aa3(0x141)]=_0x251970,this[_0x3b2aa3(0x464)]=_0x358176,this[_0x3b2aa3(0x410)]());}set[_0x30c112(0x138)](_0x2a1917){const _0x1bb44e=_0x30c112;_0x2a1917?(this[_0x1bb44e(0x23e)]&&this[_0x1bb44e(0x23e)][_0x1bb44e(0x1cb)](),this[_0x1bb44e(0x26e)]&&this['_textBubble'][_0x1bb44e(0x3f0)]()):(this[_0x1bb44e(0x23e)]&&this[_0x1bb44e(0x23e)][_0x1bb44e(0x3f0)](),this[_0x1bb44e(0x26e)]&&this[_0x1bb44e(0x26e)][_0x1bb44e(0x1cb)]());}[_0x30c112(0xc9)](){const _0x45e0e5=_0x30c112;for(const _0x5d5e3f of this[_0x45e0e5(0x3f2)])_0x5d5e3f[_0x45e0e5(0xc9)]();this[_0x45e0e5(0x26e)]&&this[_0x45e0e5(0x26e)][_0x45e0e5(0xc9)](),this[_0x45e0e5(0x23e)]&&this[_0x45e0e5(0x23e)]['dispose'](),this[_0x45e0e5(0x20c)]&&this['_anchor'][_0x45e0e5(0xc9)](),this[_0x45e0e5(0x170)]&&this['_eventUnsubscribe']();}['_render'](){const _0x5e8127=_0x30c112;var _0x376098;const {_docSkeleton:_0x1c57d2,_document:_0x17275d}=this,{color:_0xdd99f7,name:_0x59bd51,ranges:_0x51669b}=this[_0x5e8127(0x466)],_0x4c38d7=_0x17275d[_0x5e8127(0x1c6)](),{docsLeft:_0x1625eb,docsTop:_0x27b050}=_0x4c38d7,_0x2490da=new _0x496366(_0x4c38d7,_0x1c57d2);for(const {startOffset:_0x681ccb,endOffset:_0x5c315c,rangeType:_0x4d28d2,segmentId:_0xcec278,segmentPage:_0x571901,collapsed:_0x5c8f48,isActive:_0x537a98}of _0x51669b){const _0x55f972=_0x1c57d2[_0x5e8127(0xfa)](_0x681ccb,!0x0,_0xcec278,_0x571901);let _0x402034=_0x1c57d2[_0x5e8127(0xfa)](_0x5c315c,!0x0,_0xcec278,_0x571901);if(_0x402034==null&&(_0x402034=_0x1c57d2[_0x5e8127(0xfa)](_0x5c315c-0x1,!0x1,_0xcec278,_0x571901)),_0x537a98){const {contentBoxPointGroup:_0x22939b}=_0x2490da[_0x5e8127(0x2a6)](_0x402034,_0x402034);if(_0x22939b['length']===0x0)continue;this[_0x5e8127(0x399)](_0xdd99f7,_0x22939b,_0x1625eb,_0x27b050,_0x59bd51),this[_0x5e8127(0x170)]=this[_0x5e8127(0x263)]();}if(_0x55f972&&_0x402034){if(_0x4d28d2===_0x5780a0[_0x5e8127(0x26b)]){const _0x56c1ac=new _0x56115f(_0x4c38d7,_0x1c57d2),{pointGroup:_0x280b57}=(_0x376098=_0x56c1ac[_0x5e8127(0x2a6)](_0x55f972,_0x402034))!=null?_0x376098:{};if(_0x280b57==null||_0x280b57[_0x5e8127(0xd3)]===0x0)continue;this[_0x5e8127(0x262)](_0xdd99f7,_0x280b57,_0x1625eb,_0x27b050);}else{if(!_0x5c8f48){const {borderBoxPointGroup:_0x5d63e2}=_0x2490da['getRangePointData'](_0x55f972,_0x402034);if(_0x5d63e2[_0x5e8127(0xd3)]===0x0)continue;this[_0x5e8127(0x2ae)](_0xdd99f7,_0x5d63e2,_0x1625eb,_0x27b050);}}}}}['_drawAnchor'](_0x1ed69a,_0x287d42,_0x4de977,_0x3e157b,_0x23eee0){const _0x5e5314=_0x30c112,_0x13edc4=this['_getAnchorBounding'](_0x287d42),{left:_0x326bf3,top:_0x32167a,height:_0x594a2d}=_0x13edc4,_0x10d816=this[_0x5e5314(0x1dc)](),_0x550829=aa/_0x10d816,_0x780b7e=new _0x2ca74a(Zt+_0x4c6645[_0x5e5314(0x1f5)](Je),{'left':_0x326bf3+_0x4de977-_0x550829,'top':_0x32167a+_0x3e157b,'height':_0x594a2d,'width':oa,'fill':_0x1ed69a||_0x219487(_0x4a2600[_0x5e5314(0xa7)],0x0),'strokeWidth':_0x550829,'stroke':ca,'evented':!0x0});this['_anchor']=_0x780b7e,this[_0x5e5314(0x1d3)][_0x5e5314(0x37d)](_0x780b7e,_0x21d2a5);const _0x2b701e=new _0x2ca74a(Zt+_0x4c6645['generateRandomId'](Je),{'left':_0x326bf3+_0x4de977-_0x550829,'top':_0x32167a+_0x3e157b-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x1ed69a||_0x219487(_0x4a2600[_0x5e5314(0xa7)],0x0),'strokeWidth':0x0,'stroke':_0x1ed69a||_0x219487(_0x4a2600[_0x5e5314(0xa7)],0x0),'evented':!0x1});this[_0x5e5314(0x23e)]=_0x2b701e,this[_0x5e5314(0x1d3)]['addObject'](_0x2b701e,_0x21d2a5);const _0x29d79d=new Bt(Zt+_0x4c6645['generateRandomId'](Je),{'left':_0x326bf3+_0x4de977-_0x550829,'top':_0x32167a+_0x3e157b-nt,'text':_0x23eee0,'color':_0x1ed69a});this[_0x5e5314(0x26e)]=_0x29d79d,this[_0x5e5314(0x1d3)]['addObject'](_0x29d79d,_0x21d2a5),this[_0x5e5314(0x138)]=!0x1;}['_handleHover'](){const _0x59f2fb=_0x30c112,_0x46defd=this[_0x59f2fb(0x20c)][_0x59f2fb(0x252)]['subscribeEvent'](()=>{const _0x18099a=_0x59f2fb;this[_0x18099a(0x138)]=!0x0;}),_0x1a0ab1=this['_anchor']['onPointerLeave$'][_0x59f2fb(0x3ce)](()=>{const _0x4aa92c=_0x59f2fb;this[_0x4aa92c(0x3cf)]&&clearTimeout(this[_0x4aa92c(0x3cf)]),this['_hideTimer']=setTimeout(()=>{const _0x2e12ec=_0x4aa92c;this[_0x2e12ec(0x138)]=!0x1;},0x7d0);});return()=>{const _0x1796fb=_0x59f2fb;_0x46defd[_0x1796fb(0x98)](),_0x1a0ab1['unsubscribe']();};}[_0x30c112(0x2ae)](_0x2a007e,_0x18c601,_0x3a412c,_0x5b36f8){const _0xa4d2d=_0x30c112,_0x2bbb99=new _0x19a4a0(_0x2a007e)[_0xa4d2d(0x19f)](0.2)[_0xa4d2d(0xd7)](),_0x1a0ea9=new _0x376a5e(ra+_0x4c6645[_0xa4d2d(0x1f5)](Je),{'pointsGroup':_0x18c601,'fill':_0x2bbb99||_0x219487(_0x4a2600['black'],0.2),'left':_0x3a412c,'top':_0x5b36f8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa4d2d(0x3f2)][_0xa4d2d(0xd6)](_0x1a0ea9),this['_scene']['addObject'](_0x1a0ea9,_0x21d2a5);}[_0x30c112(0x262)](_0x52d656,_0x2bf8dc,_0x4d6a5a,_0x3f6d7d){const _0x10626f=_0x30c112,_0x17e64b=new _0x19a4a0(_0x52d656)[_0x10626f(0x19f)](0.2)[_0x10626f(0xd7)](),_0x2565d3=new _0x376a5e(na+_0x4c6645[_0x10626f(0x1f5)](Je),{'pointsGroup':_0x2bf8dc,'fill':_0x17e64b||_0x219487(_0x4a2600[_0x10626f(0xa7)],0.2),'left':_0x4d6a5a,'top':_0x3f6d7d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x10626f(0xd6)](_0x2565d3),this[_0x10626f(0x1d3)][_0x10626f(0x37d)](_0x2565d3,_0x21d2a5);}[_0x30c112(0x46f)](_0x13be19){const _0x26f7c5=_0x13be19[0x0],_0x5a1de3=_0x26f7c5[0x0],_0x3d1660=_0x26f7c5[0x2],{x:_0x531b3e,y:_0xbd225a}=_0x5a1de3,{x:_0x8f8918,y:_0x309aff}=_0x3d1660;return{'left':_0x531b3e,'top':_0xbd225a,'width':_0x8f8918-_0x531b3e,'height':_0x309aff-_0xbd225a};}[_0x30c112(0x1dc)](){const _0x7e4ece=_0x30c112,{scaleX:_0x112fdf,scaleY:_0x22db40}=this['_scene'][_0x7e4ece(0x32d)]();return Math[_0x7e4ece(0x10f)](_0x112fdf,_0x22db40);}}var ha=Object[_0x30c112(0x28e)],la=Object[_0x30c112(0x1e3)],_a=(_0x54ced2,_0x512b6b,_0x46e71e,_0x53036b)=>{const _0x334d85=_0x30c112;for(var _0x4d1052=_0x53036b>0x1?void 0x0:_0x53036b?la(_0x512b6b,_0x46e71e):_0x512b6b,_0x10270f=_0x54ced2[_0x334d85(0xd3)]-0x1,_0x45b666;_0x10270f>=0x0;_0x10270f--)(_0x45b666=_0x54ced2[_0x10270f])&&(_0x4d1052=(_0x53036b?_0x45b666(_0x512b6b,_0x46e71e,_0x4d1052):_0x45b666(_0x4d1052))||_0x4d1052);return _0x53036b&&_0x4d1052&&ha(_0x512b6b,_0x46e71e,_0x4d1052),_0x4d1052;},ht=(_0x166f5a,_0x91f656)=>(_0x4912b2,_0x55a8)=>_0x91f656(_0x4912b2,_0x55a8,_0x166f5a);let fs=class extends _0x43d55d{constructor(_0x367380,_0x5b0ba9,_0x35bbcc,_0x47a669,_0x4a5593){const _0x25ef30=_0x30c112;super(),g(this,_0x25ef30(0x409),[]),g(this,_0x25ef30(0x17d),[]),(this[_0x25ef30(0x274)]=_0x367380,this['_docSkeletonManagerService']=_0x5b0ba9,this[_0x25ef30(0x397)]=_0x35bbcc,this['_commandService']=_0x47a669,this[_0x25ef30(0x255)]=_0x4a5593,this[_0x25ef30(0x38c)]());}[_0x30c112(0x38c)](){const _0x572de9=_0x30c112,_0x58573d=this[_0x572de9(0x274)]['unitId'],_0x4e0ed6=this['_docSkeletonManagerService'];this[_0x572de9(0x12b)](_0x3fb531([this[_0x572de9(0x397)][_0x572de9(0x346)](_0x58573d),this[_0x572de9(0x255)][_0x572de9(0x304)]])[_0x572de9(0x27c)](_0x1864e2(([_0x72d9cb,_0x2dba9b])=>({'skeleton':_0x4e0ed6['getSkeleton'](),'cursors':[..._0x72d9cb[_0x572de9(0x130)]()][_0x572de9(0x45e)](_0x44698e=>({..._0x44698e,'color':_0x2dba9b[_0x44698e[_0x572de9(0x1b1)]]}))})))[_0x572de9(0x196)](_0x3e76a5=>{const _0xae30b7=_0x572de9;if(this[_0xae30b7(0x328)](),_0x3e76a5){const {skeleton:_0x172f45,cursors:_0x48866d}=_0x3e76a5;this[_0xae30b7(0x21e)](_0x172f45,_0x48866d);}})),this[_0x572de9(0x96)](),this[_0x572de9(0x9d)]();}[_0x30c112(0x21e)](_0x2dbcf3,_0x1770a2){const _0xdda0f=_0x30c112,{scene:_0x3525e3,mainComponent:_0x458af2}=this['_context'],_0x57fb12=_0x1770a2[_0xdda0f(0x1a2)](_0x4e5519=>new ri(_0x4e5519,_0x3525e3,_0x2dbcf3,_0x458af2));this['_cursorShapes']=_0x57fb12,this['_cursors']=_0x1770a2;}['_refreshCollabCursors'](){const _0x37fc04=_0x30c112;this[_0x37fc04(0x328)]();const {scene:_0x27d56a,mainComponent:_0x107903}=this[_0x37fc04(0x274)],_0x5199f6=this[_0x37fc04(0xc6)][_0x37fc04(0x1f9)](),_0x59d46f=this[_0x37fc04(0x17d)]['map'](_0x45edc2=>new ri(_0x45edc2,_0x27d56a,_0x5199f6,_0x107903));this['_cursorShapes']=_0x59d46f;}[_0x30c112(0x328)](){const _0x259db9=_0x30c112;this[_0x259db9(0x409)][_0x259db9(0x241)](_0x1ed004=>_0x1ed004[_0x259db9(0xc9)]()),this[_0x259db9(0x409)]=[];}[_0x30c112(0x9d)](){const _0x127500=_0x30c112,_0x517d76=[_0x16ccdd['id']];this[_0x127500(0x12b)](this[_0x127500(0x118)]['onCommandExecuted'](_0x4b216a=>{const _0x528266=_0x127500;_0x517d76['includes'](_0x4b216a['id'])&&_0x4b216a[_0x528266(0x1d4)][_0x528266(0x2d3)]===this[_0x528266(0x274)][_0x528266(0x2d3)]&&this['_refreshCollabCursors']();}));}[_0x30c112(0x96)](){const _0x2892bd=_0x30c112;this[_0x2892bd(0x12b)](_0x568d39(this[_0x2892bd(0x274)][_0x2892bd(0x36b)][_0x2892bd(0x25d)])['pipe'](_0x210123(_0x2bffce=>_0x2bffce[_0x2892bd(0x2a5)]===_0x432ceb[_0x2892bd(0x259)]),_0x27d0bb(0x10))[_0x2892bd(0x196)](()=>{this['_refreshCollabCursors']();}));}};fs=_a([ht(0x1,_0x1273b4(_0x397d26)),ht(0x2,_0x1273b4(Ve)),ht(0x3,_0x3364ad),ht(0x4,_0x1273b4(_0x2ccbc7))],fs);const ua=0x1,da=1.5;class fa extends _0x59eb56{constructor(_0x29853b,_0xa8f637){const _0x862b71=_0x30c112;super(_0x29853b,_0xa8f637),g(this,_0x862b71(0x404)),g(this,_0x862b71(0x461),!0x1),g(this,_0x862b71(0xf2)),g(this,_0x862b71(0x279),''),g(this,_0x862b71(0x136),_0x862b71(0x3a7)),g(this,_0x862b71(0x40c)),(_0xa8f637&&this[_0x862b71(0x3a0)](_0xa8f637),this[_0x862b71(0x252)]['subscribeEvent'](()=>this[_0x862b71(0x3a0)]({'hovered':!0x0})),this['onPointerLeave$'][_0x862b71(0x3ce)](()=>this[_0x862b71(0x3a0)]({'hovered':!0x1})));}[_0x30c112(0x3a0)](_0x292bb0){const _0x1816b6=_0x30c112;var _0x477b73,_0x11920c,_0x4c2f4c,_0x25343a,_0x1a195d,_0xbf62de;this['_color']=(_0x477b73=_0x292bb0['color'])!=null?_0x477b73:this[_0x1816b6(0x404)],this[_0x1816b6(0x461)]=(_0x11920c=_0x292bb0[_0x1816b6(0x3a4)])!=null?_0x11920c:this['_hovered'],this[_0x1816b6(0xf2)]=(_0x4c2f4c=_0x292bb0['range'])!=null?_0x4c2f4c:this['_range'],this[_0x1816b6(0x279)]=(_0x25343a=_0x292bb0[_0x1816b6(0x3ab)])!=null?_0x25343a:this[_0x1816b6(0x279)],this[_0x1816b6(0x136)]=(_0x1a195d=_0x292bb0[_0x1816b6(0x146)])!=null?_0x1a195d:this[_0x1816b6(0x136)],this[_0x1816b6(0x40c)]=(_0xbf62de=_0x292bb0[_0x1816b6(0x13d)])!=null?_0xbf62de:this[_0x1816b6(0x40c)],this[_0x1816b6(0x3d4)]({'width':_0x292bb0[_0x1816b6(0x39f)],'height':_0x292bb0[_0x1816b6(0x223)]});}[_0x30c112(0x102)](_0x535e70){const _0x1bcb11=_0x30c112,{row:_0x6e1531,column:_0xd31afe}=_0x535e70;if(_0x6e1531>=this[_0x1bcb11(0xf2)]['startRow']&&_0x6e1531<=this[_0x1bcb11(0xf2)][_0x1bcb11(0x200)]&&_0xd31afe>=this[_0x1bcb11(0xf2)][_0x1bcb11(0x2aa)]&&_0xd31afe<=this[_0x1bcb11(0xf2)][_0x1bcb11(0x31e)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1bcb11(0x3a0)]({'hovered':!0x1});}[_0x30c112(0x475)](_0x133898){return!0x1;}['_draw'](_0x2d0a2c){const _0x18c1ea=_0x30c112;_0x2ca74a['drawWith'](_0x2d0a2c,{'width':this[_0x18c1ea(0x39f)],'height':this['height'],'strokeWidth':da,'stroke':this[_0x18c1ea(0x404)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x18c1ea(0x461)]&&(_0x2d0a2c['save'](),_0x2d0a2c[_0x18c1ea(0x2ff)](0x1,0x0,0x0,0x1,this[_0x18c1ea(0x39f)],this[_0x18c1ea(0x136)]===_0x18c1ea(0x30c)?0x0:-nt),Bt[_0x18c1ea(0xdb)](_0x2d0a2c,{'text':this[_0x18c1ea(0x279)],'color':this[_0x18c1ea(0x404)]}),_0x2d0a2c['restore']());}}var va=Object['defineProperty'],pa=Object['getOwnPropertyDescriptor'],ma=(_0x3c8745,_0x5edb8c,_0x1ed50c,_0x5515e9)=>{for(var _0x609ff9=_0x5515e9>0x1?void 0x0:_0x5515e9?pa(_0x5edb8c,_0x1ed50c):_0x5edb8c,_0x407335=_0x3c8745['length']-0x1,_0x2cbb69;_0x407335>=0x0;_0x407335--)(_0x2cbb69=_0x3c8745[_0x407335])&&(_0x609ff9=(_0x5515e9?_0x2cbb69(_0x5edb8c,_0x1ed50c,_0x609ff9):_0x2cbb69(_0x609ff9))||_0x609ff9);return _0x5515e9&&_0x609ff9&&va(_0x5edb8c,_0x1ed50c,_0x609ff9),_0x609ff9;},es=(_0x38d0df,_0x6387ad)=>(_0x328956,_0xcb24ba)=>_0x6387ad(_0x328956,_0xcb24ba,_0x38d0df);const ga=0x1389;let vs=class extends _0x43d55d{constructor(_0xfa5ec3,_0x285928,_0x34d9f7,_0x3a3f04){const _0x1567aa=_0x30c112;super(),g(this,_0x1567aa(0x17d),new Set()),g(this,_0x1567aa(0x1b4),null),(this[_0x1567aa(0x274)]=_0xfa5ec3,this[_0x1567aa(0x23a)]=_0x285928,this[_0x1567aa(0x397)]=_0x34d9f7,this[_0x1567aa(0x255)]=_0x3a3f04,this[_0x1567aa(0x38c)]());}[_0x30c112(0x38c)](){const _0x3b49de=_0x30c112;this[_0x3b49de(0x23a)]['currentSkeleton$'][_0x3b49de(0x27c)](_0x585a8a(this[_0x3b49de(0x3e7)]),_0x120e33(_0x4cb6db=>{const _0x3bb8e0=_0x3b49de;if(_0x4cb6db){const _0x4dda08=_0x4cb6db[_0x3bb8e0(0x45a)];return _0x3fb531(this[_0x3bb8e0(0x397)][_0x3bb8e0(0x346)](this[_0x3bb8e0(0x274)][_0x3bb8e0(0x2d3)]),this['_themeService'][_0x3bb8e0(0x304)])[_0x3bb8e0(0x27c)](_0x1864e2(([_0x5721b5,_0x77f6c3])=>{const _0x1fa422=new Map();return _0x5721b5['forEach']((_0x829887,_0x11339e)=>{const _0x16687f=_0x2ebf;if(_0x829887[_0x16687f(0x253)]===_0x4dda08){const _0x3c99f3={..._0x829887};_0x3c99f3[_0x16687f(0x1b1)]=_0x77f6c3[_0x829887['color']],_0x1fa422[_0x16687f(0x34b)](_0x11339e,_0x3c99f3);}}),{'skeleton':_0x4cb6db,'cursors':_0x1fa422};}));}return _0x4e4949({'skeleton':null,'cursors':new Map()});}))[_0x3b49de(0x196)](({skeleton:_0xb8afbf,cursors:_0x349571})=>{const _0x4acc2c=_0x3b49de;this['_removeCollabCursors'](),_0xb8afbf&&this[_0x4acc2c(0x21e)](_0xb8afbf,_0x349571);}),this[_0x3b49de(0x23a)]['currentSkeleton$'][_0x3b49de(0x196)](_0x3c630a=>{const _0x484770=_0x3b49de;if(_0x3c630a==null)return;const {skeleton:_0x3ec60f}=_0x3c630a,{scene:_0xfe2a7d}=this[_0x484770(0x274)];_0xfe2a7d['onPointerMove$'][_0x484770(0x3ce)](_0x1f48d8(_0x1dd1fa=>{const _0x4c7278=_0x484770;var _0x10df84,_0x110c62;const {offsetX:_0x41d6be,offsetY:_0xb7908b}=_0x1dd1fa,{x:_0x4a0718,y:_0x6ca47}=_0xfe2a7d['getRelativeToViewportCoord'](_0x5ef010[_0x4c7278(0x48a)]([_0x41d6be,_0xb7908b])),{scaleX:_0x5df5dc,scaleY:_0x2022b6}=_0xfe2a7d[_0x4c7278(0x32d)](),_0x329356=_0xfe2a7d['getViewport'](_0x4e2d98[_0x4c7278(0x258)]),_0x972b2d=_0xfe2a7d[_0x4c7278(0x203)](_0x5ef010[_0x4c7278(0x48a)]([_0x4a0718,_0x6ca47]),_0x329356),_0x8b0f0d=_0x3ec60f[_0x4c7278(0x3e5)](_0x41d6be,_0xb7908b,_0x5df5dc,_0x2022b6,_0x972b2d);((_0x10df84=this['_lastPointer'])==null?void 0x0:_0x10df84['column'])===_0x8b0f0d['column']&&((_0x110c62=this[_0x4c7278(0x1b4)])==null?void 0x0:_0x110c62[_0x4c7278(0x45f)])===_0x8b0f0d[_0x4c7278(0x45f)]||this['_cursors'][_0x4c7278(0x241)](_0x447ca8=>{const _0x25930d=_0x4c7278;_0x447ca8[_0x25930d(0x102)](_0x8b0f0d);});},0x64));});}[_0x30c112(0x21e)](_0x1709c3,_0x3493d9){const _0x4ab5f8=_0x30c112;var _0x2c6505;const _0x12f18c=(_0x2c6505=this[_0x4ab5f8(0x23a)][_0x4ab5f8(0x2bb)]())==null?void 0x0:_0x2c6505[_0x4ab5f8(0x1cd)];if(!_0x12f18c)return;const _0x39114f=this[_0x4ab5f8(0x9a)]();if(!_0x39114f)return;this['_cursors'][_0x4ab5f8(0x241)](_0x1e65c6=>{const _0x49fb41=_0x4ab5f8;_0x1e65c6[_0x49fb41(0x3a3)]();});const {scene:_0x38f338}=_0x39114f,_0x50aca8=Sa(Array[_0x4ab5f8(0xba)](_0x3493d9[_0x4ab5f8(0x130)]()))[_0x4ab5f8(0x1a2)](_0x1b9ccc=>{const _0x2dfaee=_0x4ab5f8,{color:_0x55465f,range:_0x8d389a,name:_0x56f90a,selection:_0x24628d,sheetID:_0x5120c1}=_0x1b9ccc,{startColumn:_0x20110e,startRow:_0x572eb7,endColumn:_0x152aa0,endRow:_0xd63f04}=_0x8d389a,_0x4d788b=_0x107ed1(_0x572eb7,_0x20110e,_0x38f338,_0x12f18c),_0x3b8dbf=_0x107ed1(_0xd63f04,_0x152aa0,_0x38f338,_0x12f18c),{columnHeaderHeightAndMarginTop:_0x503ac4}=_0x12f18c,{startX:_0x5892fd,startY:_0x4dbdb4}=_0x4d788b,{endX:_0x463408,endY:_0xd95697}=_0x3b8dbf,_0x358d49=_0x463408-_0x5892fd,_0x917946=_0xd95697-_0x4dbdb4,_0xdd256f={'labelPosition':_0x4dbdb4-_0x503ac4>=nt?_0x2dfaee(0x3a7):'bottom','sheetID':_0x5120c1,'range':_0x8d389a,'color':_0x55465f,'name':_0x56f90a,'selection':_0x24628d,'left':_0x5892fd,'top':_0x4dbdb4,'width':_0x358d49,'height':_0x917946,'evented':!0x1,'zIndex':ga};return new fa(_0x56f90a,_0xdd256f);});_0x38f338[_0x4ab5f8(0x476)](_0x50aca8,ua),this['_cursors']=new Set(_0x50aca8);}[_0x30c112(0x328)](){const _0xe77e6f=_0x30c112;var _0x2fb0ff;(_0x2fb0ff=this['_cursors'])==null||_0x2fb0ff['forEach'](_0x2a109c=>_0x2a109c[_0xe77e6f(0xc9)]());}[_0x30c112(0x9a)](){const _0x5578d2=_0x30c112;return _0x126d2d(this[_0x5578d2(0x274)]['unit'],this[_0x5578d2(0x274)]);}};vs=ma([es(0x1,_0x1273b4(_0x9c126f)),es(0x2,_0x1273b4(Ve)),es(0x3,_0x1273b4(_0x2ccbc7))],vs);function Sa(_0x25c725){const _0x4294e4=_0x30c112,_0x1d2616=new Map();return _0x25c725[_0x4294e4(0x241)](_0x3dff28=>{const _0x1058d4=_0x4294e4;if(_0x1d2616[_0x1058d4(0x120)](_0x3dff28[_0x1058d4(0x1c3)])){const _0x19a267=_0x1d2616['get'](_0x3dff28['selection']);_0x19a267[_0x1058d4(0x3ab)]+=',\x20'+_0x3dff28[_0x1058d4(0x3ab)];}else _0x1d2616[_0x1058d4(0x34b)](_0x3dff28[_0x1058d4(0x1c3)],_0x3dff28);}),Array[_0x4294e4(0xba)](_0x1d2616[_0x4294e4(0x130)]());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x4dfe21){const _0x36e988=_0x30c112;return _0x4dfe21&&_0x4dfe21[_0x36e988(0xac)]&&Object[_0x36e988(0x107)][_0x36e988(0x3f1)][_0x36e988(0xb6)](_0x4dfe21,_0x36e988(0x35c))?_0x4dfe21[_0x36e988(0x35c)]:_0x4dfe21;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x50e60a=_0x30c112;if(ni)return Ze;ni=0x1;var _0x506a63=_0xe9f461,_0x2f3dd6=Symbol[_0x50e60a(0x378)]('react.element'),_0x52152f=Symbol[_0x50e60a(0x378)]('react.fragment'),_0x56f9f7=Object['prototype'][_0x50e60a(0x3f1)],_0x54287c=_0x506a63[_0x50e60a(0x2e6)][_0x50e60a(0x338)],_0xcb2a5d={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x34df33(_0x55dc73,_0x256fd3,_0x1ea632){const _0x58cd8c=_0x50e60a;var _0x42cb2f,_0x4f3d32={},_0x1a2afc=null,_0x52efb6=null;_0x1ea632!==void 0x0&&(_0x1a2afc=''+_0x1ea632),_0x256fd3[_0x58cd8c(0x3bc)]!==void 0x0&&(_0x1a2afc=''+_0x256fd3[_0x58cd8c(0x3bc)]),_0x256fd3[_0x58cd8c(0x1d9)]!==void 0x0&&(_0x52efb6=_0x256fd3[_0x58cd8c(0x1d9)]);for(_0x42cb2f in _0x256fd3)_0x56f9f7[_0x58cd8c(0xb6)](_0x256fd3,_0x42cb2f)&&!_0xcb2a5d[_0x58cd8c(0x3f1)](_0x42cb2f)&&(_0x4f3d32[_0x42cb2f]=_0x256fd3[_0x42cb2f]);if(_0x55dc73&&_0x55dc73['defaultProps']){for(_0x42cb2f in(_0x256fd3=_0x55dc73[_0x58cd8c(0x342)],_0x256fd3))_0x4f3d32[_0x42cb2f]===void 0x0&&(_0x4f3d32[_0x42cb2f]=_0x256fd3[_0x42cb2f]);}return{'$$typeof':_0x2f3dd6,'type':_0x55dc73,'key':_0x1a2afc,'ref':_0x52efb6,'props':_0x4f3d32,'_owner':_0x54287c[_0x58cd8c(0x417)]};}return Ze['Fragment']=_0x52152f,Ze['jsx']=_0x34df33,Ze[_0x50e60a(0x1a0)]=_0x34df33,Ze;}var oi;function Ca(){const _0x29d430=_0x30c112;return oi||(oi=0x1,ss[_0x29d430(0x3a1)]=Ia()),ss[_0x29d430(0x3a1)];}var De=Ca(),te=function(){const _0x256c6d=_0x30c112;return te=Object['assign']||function(_0x74a117){const _0x5342b0=_0x2ebf;for(var _0x3fb229,_0x319010=0x1,_0x25cccb=arguments[_0x5342b0(0xd3)];_0x319010<_0x25cccb;_0x319010++){_0x3fb229=arguments[_0x319010];for(var _0x2e3fad in _0x3fb229)Object[_0x5342b0(0x107)]['hasOwnProperty'][_0x5342b0(0xb6)](_0x3fb229,_0x2e3fad)&&(_0x74a117[_0x2e3fad]=_0x3fb229[_0x2e3fad]);}return _0x74a117;},te[_0x256c6d(0x2a1)](this,arguments);},Ea=function(_0x43fce5,_0x4a59f2){const _0x4f690c=_0x30c112;var _0xad11e6={};for(var _0x38720c in _0x43fce5)Object[_0x4f690c(0x107)][_0x4f690c(0x3f1)]['call'](_0x43fce5,_0x38720c)&&_0x4a59f2[_0x4f690c(0x105)](_0x38720c)<0x0&&(_0xad11e6[_0x38720c]=_0x43fce5[_0x38720c]);if(_0x43fce5!=null&&typeof Object['getOwnPropertySymbols']==_0x4f690c(0x42e)){for(var _0x1085ba=0x0,_0x38720c=Object['getOwnPropertySymbols'](_0x43fce5);_0x1085ba<_0x38720c[_0x4f690c(0xd3)];_0x1085ba++)_0x4a59f2[_0x4f690c(0x105)](_0x38720c[_0x1085ba])<0x0&&Object[_0x4f690c(0x107)]['propertyIsEnumerable'][_0x4f690c(0xb6)](_0x43fce5,_0x38720c[_0x1085ba])&&(_0xad11e6[_0x38720c[_0x1085ba]]=_0x43fce5[_0x38720c[_0x1085ba]]);}return _0xad11e6;},Us=_0x4283e7(function(_0x1f13b0,_0x4492c4){const _0x418592=_0x30c112;var _0x429f09=_0x1f13b0[_0x418592(0x458)],_0x3ca15f=_0x1f13b0['id'],_0x46acf4=_0x1f13b0[_0x418592(0x296)],_0x147f63=_0x1f13b0[_0x418592(0x377)],_0x474512=Ea(_0x1f13b0,[_0x418592(0x458),'id','className',_0x418592(0x377)]),_0x40d900=_0x418592(0x1d6)[_0x418592(0x388)](_0x3ca15f,'\x20')[_0x418592(0x388)](_0x46acf4||'')['trim'](),_0x474a17=_0x58dadc('_'[_0x418592(0x388)](Ra()));return Zi(_0x429f09,''[_0x418592(0x388)](_0x3ca15f),{'defIds':_0x429f09[_0x418592(0x119)],'idSuffix':_0x474a17['current']},te({'ref':_0x4492c4,'className':_0x40d900},_0x474512),_0x147f63);});function Zi(_0xe5bcb8,_0xd0cc56,_0x214afc,_0x5c12d4,_0x550d29){const _0x4db82b=_0x30c112;return _0x28db3f(_0xe5bcb8[_0x4db82b(0x33f)],te(te({'key':_0xd0cc56},ba(_0xe5bcb8,_0x214afc,_0x550d29)),_0x5c12d4),(Ta(_0xe5bcb8,_0x214afc)['children']||[])[_0x4db82b(0x1a2)](function(_0x257f84,_0x5dfea6){const _0x37f44e=_0x4db82b;return Zi(_0x257f84,''['concat'](_0xd0cc56,'-')[_0x37f44e(0x388)](_0xe5bcb8[_0x37f44e(0x33f)],'-')[_0x37f44e(0x388)](_0x5dfea6),_0x214afc,void 0x0,_0x550d29);}));}function ba(_0x18dcaa,_0x81a891,_0x2aaf3b){const _0x27e095=_0x30c112;var _0x3c3b1d=te({},_0x18dcaa[_0x27e095(0x3fd)]);_0x2aaf3b!=null&&_0x2aaf3b['colorChannel1']&&_0x3c3b1d['fill']===_0x27e095(0x374)&&(_0x3c3b1d['fill']=_0x2aaf3b[_0x27e095(0x374)]);var _0x44a31f=_0x81a891[_0x27e095(0x119)];return!_0x44a31f||_0x44a31f[_0x27e095(0xd3)]===0x0||(_0x18dcaa['tag']===_0x27e095(0x16b)&&_0x3c3b1d['xlink:href']&&(_0x3c3b1d[_0x27e095(0x87)]=_0x3c3b1d['xlink:href']+_0x81a891['idSuffix']),Object[_0x27e095(0x191)](_0x3c3b1d)[_0x27e095(0x241)](function(_0x2a8f51){const _0x2c4b6c=_0x27e095;var _0x49e603=_0x2a8f51[0x0],_0x4939e2=_0x2a8f51[0x1];typeof _0x4939e2=='string'&&(_0x3c3b1d[_0x49e603]=_0x4939e2[_0x2c4b6c(0x1ed)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x81a891[_0x2c4b6c(0x2a0)],')')));})),_0x3c3b1d;}function Ta(_0x3b9951,_0x818fd7){const _0x4e1d9f=_0x30c112;var _0x23048f,_0x5202b1=_0x818fd7[_0x4e1d9f(0x119)];return!_0x5202b1||_0x5202b1[_0x4e1d9f(0xd3)]===0x0?_0x3b9951:_0x3b9951[_0x4e1d9f(0x33f)]===_0x4e1d9f(0x3c3)&&(!((_0x23048f=_0x3b9951['children'])===null||_0x23048f===void 0x0)&&_0x23048f[_0x4e1d9f(0xd3)])?te(te({},_0x3b9951),{'children':_0x3b9951[_0x4e1d9f(0x1e1)][_0x4e1d9f(0x1a2)](function(_0x4ef29a){const _0x12c13b=_0x4e1d9f;return typeof _0x4ef29a[_0x12c13b(0x3fd)]['id']==_0x12c13b(0x3e8)&&_0x5202b1&&_0x5202b1[_0x12c13b(0x105)](_0x4ef29a[_0x12c13b(0x3fd)]['id'])>-0x1?te(te({},_0x4ef29a),{'attrs':te(te({},_0x4ef29a[_0x12c13b(0x3fd)]),{'id':_0x4ef29a['attrs']['id']+_0x818fd7[_0x12c13b(0x2a0)]})}):_0x4ef29a;})}):_0x3b9951;}function Ra(){const _0xf6b474=_0x30c112;return Math['random']()['toString'](0x24)[_0xf6b474(0x277)](0x2,0x8);}Us['displayName']=_0x30c112(0x2b1);var Oa={'tag':_0x30c112(0x326),'attrs':{'fill':_0x30c112(0xc1),'viewBox':_0x30c112(0x25c),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30c112(0xf5)},'children':[{'tag':_0x30c112(0x3bb),'attrs':{'stroke':'currentColor','d':_0x30c112(0x391),'strokeLinecap':_0x30c112(0x2fb),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x30c112(0x3c3),'attrs':{},'children':[{'tag':_0x30c112(0x228),'attrs':{'id':_0x30c112(0x309)},'children':[{'tag':_0x30c112(0x3bb),'attrs':{'fill':_0x30c112(0x205),'d':_0x30c112(0x39b)}}]}]}],'defIds':[_0x30c112(0x309)]},Qi=_0x4283e7(function(_0xf007fd,_0x635757){const _0x27bb05=_0x30c112;return _0x28db3f(Us,Object['assign']({},_0xf007fd,{'id':_0x27bb05(0x413),'ref':_0x635757,'icon':Oa}));});Qi['displayName']='OffLineSingle';var ya={'tag':_0x30c112(0x326),'attrs':{'fill':_0x30c112(0xc1),'viewBox':_0x30c112(0x3d1),'width':_0x30c112(0x45c),'height':_0x30c112(0x45c)},'children':[{'tag':'g','attrs':{'clipPath':_0x30c112(0xd8)},'children':[{'tag':_0x30c112(0x3bb),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x30c112(0x2fb),'strokeLinejoin':_0x30c112(0x2fb),'strokeWidth':1.2}}]},{'tag':_0x30c112(0x3c3),'attrs':{},'children':[{'tag':_0x30c112(0x228),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x30c112(0x3bb),'attrs':{'fill':_0x30c112(0x205),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},er=_0x4283e7(function(_0x3147e2,_0x42b217){const _0x2c45b8=_0x30c112;return _0x28db3f(Us,Object[_0x2c45b8(0x489)]({},_0x3147e2,{'id':_0x2c45b8(0xf9),'ref':_0x42b217,'icon':ya}));});er[_0x30c112(0x254)]=_0x30c112(0xd4);function tr(_0x6a1ba){const _0x5c5066=_0x30c112;var _0xa0d53e,_0x10d76e,_0x2763ab='';if(typeof _0x6a1ba==_0x5c5066(0x3e8)||typeof _0x6a1ba==_0x5c5066(0x16e))_0x2763ab+=_0x6a1ba;else{if(typeof _0x6a1ba==_0x5c5066(0x358)){if(Array[_0x5c5066(0x1f7)](_0x6a1ba)){var _0x38067a=_0x6a1ba[_0x5c5066(0xd3)];for(_0xa0d53e=0x0;_0xa0d53e<_0x38067a;_0xa0d53e++)_0x6a1ba[_0xa0d53e]&&(_0x10d76e=tr(_0x6a1ba[_0xa0d53e]))&&(_0x2763ab&&(_0x2763ab+='\x20'),_0x2763ab+=_0x10d76e);}else{for(_0x10d76e in _0x6a1ba)_0x6a1ba[_0x10d76e]&&(_0x2763ab&&(_0x2763ab+='\x20'),_0x2763ab+=_0x10d76e);}}}return _0x2763ab;}function wa(){const _0x2cf45f=_0x30c112;for(var _0x54ee9f,_0x16fe9e,_0xf40d47=0x0,_0x4609c1='',_0x35e2cf=arguments[_0x2cf45f(0xd3)];_0xf40d47<_0x35e2cf;_0xf40d47++)(_0x54ee9f=arguments[_0xf40d47])&&(_0x16fe9e=tr(_0x54ee9f))&&(_0x4609c1&&(_0x4609c1+='\x20'),_0x4609c1+=_0x16fe9e);return _0x4609c1;}const Da=_0x30c112(0x368),Pa=_0x30c112(0x498),Na='univer-online-status',Ua=_0x30c112(0x3ad),Aa=_0x30c112(0x8b),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x4bbd95){const _0x2f7af1=_0x30c112;switch(_0x4bbd95){case J[_0x2f7af1(0x371)]:return'collabStatus.offline';case J['CONFLICT']:return _0x2f7af1(0x12c);case J[_0x2f7af1(0x1cc)]:return'collabStatus.fetchMiss';case J[_0x2f7af1(0x456)]:return _0x2f7af1(0x127);case J['AWAITING']:case J[_0x2f7af1(0xe6)]:return _0x2f7af1(0x237);case J['SYNCED']:case J[_0x2f7af1(0x10e)]:return'collabStatus.synced';}}function xa(_0x521432){const _0x9572c=_0x30c112,{status$:_0x43d419}=_0x521432,_0x3bea82=_0x215925(_0x43d419,J[_0x9572c(0x456)]),_0x3cda1d=_0x4d30aa(_0x582404),_0x333537=_0x4d30aa(xe),_0x14367b=_0x3bea82!==J['OFFLINE'],_0x32a3ad=_0x3cda1d['t'](Ma(_0x3bea82)),_0x68aeff=wa(Qe[_0x9572c(0xe7)],{[Qe['online']]:_0x14367b,[Qe['offline']]:!_0x14367b}),_0x462e45=_0x14367b?De[_0x9572c(0x320)](er,{}):De[_0x9572c(0x320)](Qi,{}),_0x52f989=_0x6d999(()=>{const _0x470b8d=_0x9572c;_0x14367b||_0x333537[_0x470b8d(0x14c)]();},[_0x14367b,_0x333537]);function _0xa3dad3(){const _0x51e856=_0x9572c;return De[_0x51e856(0x1a0)](_0x51e856(0xee),{'className':_0x68aeff,'onClick':_0x52f989,'children':[De[_0x51e856(0x320)]('div',{'className':Qe['onlineStatusIcon'],'children':_0x462e45}),De[_0x51e856(0x320)]('div',{'className':Qe[_0x51e856(0x25f)],'children':_0x32a3ad})]});}return _0x14367b?_0xa3dad3():De[_0x9572c(0x320)](_0x1aa639,{'title':_0x3cda1d['t'](_0x9572c(0x36f)),'children':_0xa3dad3()});}var La=Object[_0x30c112(0x28e)],$a=Object['getOwnPropertyDescriptor'],Ha=(_0x323486,_0x203e03,_0x233a33,_0x26b5a6)=>{const _0x3c1200=_0x30c112;for(var _0x1a7bc1=_0x26b5a6>0x1?void 0x0:_0x26b5a6?$a(_0x203e03,_0x233a33):_0x203e03,_0x19e4e0=_0x323486[_0x3c1200(0xd3)]-0x1,_0x54c3db;_0x19e4e0>=0x0;_0x19e4e0--)(_0x54c3db=_0x323486[_0x19e4e0])&&(_0x1a7bc1=(_0x26b5a6?_0x54c3db(_0x203e03,_0x233a33,_0x1a7bc1):_0x54c3db(_0x1a7bc1))||_0x1a7bc1);return _0x26b5a6&&_0x1a7bc1&&La(_0x203e03,_0x233a33,_0x1a7bc1),_0x1a7bc1;},lt=(_0xc7affd,_0x56507f)=>(_0x31590d,_0xd0b59)=>_0x56507f(_0x31590d,_0xd0b59,_0xc7affd);let At=class extends _0x2ea306{constructor(_0x5c5e4f,_0x5c7e5d,_0x539dda,_0x20b5f2){const _0x2e486=_0x30c112;super(),g(this,_0x2e486(0xbc),new _0x15cd68(J[_0x2e486(0x456)])),(this[_0x2e486(0x187)]=_0x5c5e4f,this['_uiPartsService']=_0x5c7e5d,this[_0x2e486(0x13e)]=_0x539dda,this[_0x2e486(0x33d)]=_0x20b5f2,this['_initStatusComponent'](),this[_0x2e486(0x104)]());}[_0x30c112(0x104)](){const _0x1f461b=_0x30c112;this[_0x1f461b(0x12b)](this['_univerInstanceService']['focused$']['pipe'](_0x387fda(()=>{const _0x5739bf=_0x1f461b,_0x2b92d7=this['_univerInstanceService'][_0x5739bf(0x142)]();return _0x2b92d7?this[_0x5739bf(0x33d)][_0x5739bf(0x17f)](_0x2b92d7[_0x5739bf(0x480)]()):_0x4e4949(null);}),_0x387fda(_0x5d7201=>_0x5d7201?_0x5d7201[_0x1f461b(0x2e9)]:_0x4e4949(J['NOT_COLLAB'])))[_0x1f461b(0x196)](_0xd8e09e=>{const _0x4b4840=_0x1f461b;this[_0x4b4840(0xbc)][_0x4b4840(0x26d)](_0xd8e09e);}));}['_initStatusComponent'](){const _0x352fe0=_0x30c112;this[_0x352fe0(0x12b)](this[_0x352fe0(0x302)][_0x352fe0(0x337)](_0x2c1a69[_0x352fe0(0xb8)],()=>_0x28fceb(ja({'status$':this['_status$']['asObservable']()}),this[_0x352fe0(0x13e)])));}};At=Ha([lt(0x0,_0x1d1a83),lt(0x1,_0x2a8e8c),lt(0x2,_0x1273b4(_0x3c8419)),lt(0x3,_0x1273b4(rt))],At);function ja(_0x4f6cd5){const {status$:_0x4a5048}=_0x4f6cd5;return function(){const _0x51e4be=_0x2ebf;return De[_0x51e4be(0x320)](xa,{'status$':_0x4a5048});};}const sr=_0x87a6a4('uni.network.url-service');var Ba=Object[_0x30c112(0x28e)],ka=Object['getOwnPropertyDescriptor'],Wa=(_0x179edb,_0x4a0511,_0x4366ce,_0x30a184)=>{const _0x2d040b=_0x30c112;for(var _0x42a2f7=_0x30a184>0x1?void 0x0:_0x30a184?ka(_0x4a0511,_0x4366ce):_0x4a0511,_0x35209d=_0x179edb[_0x2d040b(0xd3)]-0x1,_0x4902f7;_0x35209d>=0x0;_0x35209d--)(_0x4902f7=_0x179edb[_0x35209d])&&(_0x42a2f7=(_0x30a184?_0x4902f7(_0x4a0511,_0x4366ce,_0x42a2f7):_0x4902f7(_0x42a2f7))||_0x42a2f7);return _0x30a184&&_0x42a2f7&&Ba(_0x4a0511,_0x4366ce,_0x42a2f7),_0x42a2f7;},ke=(_0x128f84,_0x29a993)=>(_0x5c0804,_0x361b6c)=>_0x29a993(_0x5c0804,_0x361b6c,_0x128f84);let Mt=class extends _0x43d55d{constructor(_0x41bd89,_0x3e10c5,_0x278ca7,_0x41d53e,_0x256cd6,_0x46f923){const _0x257389=_0x30c112;super(),this[_0x257389(0x44c)]=_0x41bd89,this[_0x257389(0x123)]=_0x3e10c5,this[_0x257389(0x118)]=_0x278ca7,this[_0x257389(0x17a)]=_0x41d53e,this['_snapshotService']=_0x256cd6,_0x46f923?_0x46f923==null||_0x46f923[_0x257389(0x198)]()['then'](()=>this['_init']()):(this[_0x257389(0x123)][_0x257389(0x19b)](_0x257389(0x14f),_0x257389(0x2bf)),this[_0x257389(0x38c)]());}async[_0x30c112(0x38c)](){const _0x17014d=_0x30c112,_0x449081=this[_0x17014d(0x44c)]['getParam'](_0x17014d(0xb2)),_0x1788f8=this[_0x17014d(0x44c)][_0x17014d(0x2c2)](_0x17014d(0x2a5));if(!_0x449081||!_0x1788f8){this[_0x17014d(0x123)][_0x17014d(0x19b)](_0x17014d(0x14f),_0x17014d(0xad));return;}switch(Number(_0x1788f8)){case ae[_0x17014d(0x335)]:{const _0x3d39b2=await this[_0x17014d(0x2d1)](_0x449081);this[_0x17014d(0x21f)](_0x3d39b2);break;}case ae[_0x17014d(0x1d7)]:{await this[_0x17014d(0x240)](_0x449081);break;}default:{this[_0x17014d(0x123)][_0x17014d(0x3de)](_0x17014d(0x14f),_0x17014d(0xf7));break;}}}async[_0x30c112(0x21f)](_0x296b56){const _0x7441f3=_0x30c112;await this[_0x7441f3(0x22e)](_0x296b56),_0x296b56[_0x7441f3(0x1ec)]['pipe'](_0x4d1973(this[_0x7441f3(0x3e7)]))['subscribe'](_0x2d2b09=>{const _0x2e7cee=_0x7441f3;_0x2d2b09&&this[_0x2e7cee(0x160)](_0x2d2b09);}),this[_0x7441f3(0x44c)][_0x7441f3(0x343)][_0x7441f3(0x27c)](_0x4d1973(this[_0x7441f3(0x3e7)]))[_0x7441f3(0x196)](()=>this['_updateSubUnitFromURLParams'](_0x296b56));}[_0x30c112(0x160)](_0x22c195,_0x5979aa=!0x1){const _0x1a3d21=_0x30c112,_0x29e608=this[_0x1a3d21(0x44c)][_0x1a3d21(0x2c2)](_0x1a3d21(0x28b));_0x22c195[_0x1a3d21(0x396)]()!==_0x29e608&&this[_0x1a3d21(0x44c)]['setParam'](_0x1a3d21(0x28b),_0x22c195[_0x1a3d21(0x396)](),_0x5979aa);}async['_updateSubUnitFromURLParams'](_0x43fa40){const _0x47b46c=_0x30c112;var _0x56cfba;const _0x2175c5=this[_0x47b46c(0x44c)][_0x47b46c(0x2c2)](_0x47b46c(0x28b));if(!_0x2175c5||!_0x43fa40[_0x47b46c(0x29f)](_0x2175c5)){const _0x5a7a65=_0x43fa40[_0x47b46c(0x35e)]()[0x0],_0x1c8a1f=_0x43fa40[_0x47b46c(0x29f)](_0x5a7a65);if(!_0x1c8a1f)return;this[_0x47b46c(0x160)](_0x1c8a1f,!0x0),await this[_0x47b46c(0x118)][_0x47b46c(0x15e)](_0x1d2b26['id'],{'unitId':_0x43fa40['getUnitId'](),'subUnitId':_0x5a7a65});return;}((_0x56cfba=_0x43fa40[_0x47b46c(0x416)]())==null?void 0x0:_0x56cfba[_0x47b46c(0x396)]())!==_0x2175c5&&await this[_0x47b46c(0x118)]['executeCommand'](_0x1d2b26['id'],{'unitId':_0x43fa40[_0x47b46c(0x480)](),'subUnitId':_0x2175c5});}async[_0x30c112(0x2d1)](_0x1cf49e){const _0x2173dc=_0x30c112;let _0xd9070e=0x0;const _0xda64fc=await this[_0x2173dc(0x17a)]['loadOfflineData'](_0x1cf49e);return _0xda64fc&&(_0xda64fc['awaitingChangeset']||_0xda64fc[_0x2173dc(0xa0)]['length']!==0x0)&&(_0xd9070e=_0xda64fc[_0x2173dc(0x41f)]),_0xd9070e===0x0&&this[_0x2173dc(0x123)][_0x2173dc(0x19b)](_0x2173dc(0x14f),_0x2173dc(0x26f)),this['_snapshotService']['loadSheet'](_0x1cf49e,_0xd9070e);}async[_0x30c112(0x240)](_0x2240e5){const _0x413844=_0x30c112;let _0x4cd6e8=0x0;const _0xe54fb1=await this[_0x413844(0x17a)]['loadOfflineData'](_0x2240e5);return _0xe54fb1&&(_0xe54fb1[_0x413844(0x17c)]||_0xe54fb1[_0x413844(0xa0)][_0x413844(0xd3)]!==0x0)&&(_0x4cd6e8=_0xe54fb1[_0x413844(0x41f)]),_0x4cd6e8===0x0&&this[_0x413844(0x123)][_0x413844(0x19b)]('[DataLoaderController]',_0x413844(0x26f)),this['_snapshotService'][_0x413844(0x180)](_0x2240e5,_0x4cd6e8);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0x164f73),ke(0x2,_0x3364ad),ke(0x3,_0x1273b4(z)),ke(0x4,_0x1273b4(_0x5ad125)),ke(0x5,_0xe30079(_0x2f6c41))],Mt);var Fa=Object['defineProperty'],Va=Object[_0x30c112(0x1e3)],Ga=(_0x27d53f,_0x1a8f23,_0x510961,_0x51f34d)=>{const _0xa813ce=_0x30c112;for(var _0x4b99b2=_0x51f34d>0x1?void 0x0:_0x51f34d?Va(_0x1a8f23,_0x510961):_0x1a8f23,_0x23fe18=_0x27d53f[_0xa813ce(0xd3)]-0x1,_0x17766e;_0x23fe18>=0x0;_0x23fe18--)(_0x17766e=_0x27d53f[_0x23fe18])&&(_0x4b99b2=(_0x51f34d?_0x17766e(_0x1a8f23,_0x510961,_0x4b99b2):_0x17766e(_0x4b99b2))||_0x4b99b2);return _0x51f34d&&_0x4b99b2&&Fa(_0x1a8f23,_0x510961,_0x4b99b2),_0x4b99b2;},ai=(_0x20ad5a,_0x582228)=>(_0x3cba2e,_0x23bb30)=>_0x582228(_0x3cba2e,_0x23bb30,_0x20ad5a);const Ya=_0x30c112(0x332),Ka=_0x30c112(0xb4);let xt=class extends _0x2ea306{constructor(_0x1eda89,_0x326edf){const _0x12810f=_0x30c112;super(),this[_0x12810f(0x187)]=_0x1eda89,this['_configService']=_0x326edf,this[_0x12810f(0x38c)]();}['_init'](){const _0x5afa22=_0x30c112;this[_0x5afa22(0x12b)](this[_0x5afa22(0x187)][_0x5afa22(0x297)][_0x5afa22(0x196)](()=>{const _0x509867=_0x5afa22;var _0x132d81;const _0x5cf298=this[_0x509867(0x187)][_0x509867(0x142)]();let _0x51b298=(_0x132d81=this[_0x509867(0x42c)][_0x509867(0x116)](Ya))!=null?_0x132d81:Ka;_0x5cf298 instanceof _0x560d36&&(_0x51b298=_0x5cf298[_0x509867(0x3ab)]),document[_0x509867(0x2ca)]=_0x51b298;}));}};xt=Ga([ai(0x0,_0x1d1a83),ai(0x1,_0x4d1776)],xt);var qa=Object[_0x30c112(0x28e)],za=Object[_0x30c112(0x1e3)],Xa=(_0x160ed5,_0x2fa6b3,_0x5076d,_0x2fa9ec)=>{for(var _0xb05010=_0x2fa9ec>0x1?void 0x0:_0x2fa9ec?za(_0x2fa6b3,_0x5076d):_0x2fa6b3,_0x615dc2=_0x160ed5['length']-0x1,_0x4244a1;_0x615dc2>=0x0;_0x615dc2--)(_0x4244a1=_0x160ed5[_0x615dc2])&&(_0xb05010=(_0x2fa9ec?_0x4244a1(_0x2fa6b3,_0x5076d,_0xb05010):_0x4244a1(_0xb05010))||_0xb05010);return _0x2fa9ec&&_0xb05010&&qa(_0x2fa6b3,_0x5076d,_0xb05010),_0xb05010;},is=(_0x3283b5,_0x4447f5)=>(_0x69a2b8,_0x47c4ce)=>_0x4447f5(_0x69a2b8,_0x47c4ce,_0x3283b5);let Lt=class{constructor(_0x2a4c25,_0x5e71cb,_0x2db406){const _0x4c79b6=_0x30c112;this[_0x4c79b6(0x42c)]=_0x2a4c25,this[_0x4c79b6(0x159)]=_0x5e71cb,this[_0x4c79b6(0x267)]=_0x2db406,this[_0x4c79b6(0x427)]();}['init'](){const _0x476e29=_0x30c112;this[_0x476e29(0x159)][_0x476e29(0xf6)]({'priority':0x1,'interceptor':(_0x149202,_0x15e91f)=>_0x15e91f(_0x149202)['pipe'](_0x33819c(async _0x48d052=>{const _0x423a45=_0x476e29,_0x342846=_0x48d052;if(_0x342846[_0x423a45(0x463)]===0x191&&window[_0x423a45(0x1c2)](this[_0x423a45(0x267)]['t'](_0x423a45(0x353)))){const _0x291649=window[_0x423a45(0x39a)](window[_0x423a45(0x321)][_0x423a45(0x477)]);window[_0x423a45(0x321)]['href']=this[_0x423a45(0xec)]()+_0x423a45(0x1bb)+_0x291649;}return _0x342846;}))});}['_getLoginPath'](){const _0x307d25=_0x30c112;var _0x43f19a,_0x437136;const _0x35cd14=this[_0x307d25(0x42c)][_0x307d25(0x116)](Hn),_0x32b7ca=this['_configService'][_0x307d25(0x116)](Q);return(_0x437136=(_0x43f19a=_0x32b7ca==null?void 0x0:_0x32b7ca[_0x307d25(0x178)])!=null?_0x43f19a:_0x35cd14)!=null?_0x437136:jn;}};Lt=Xa([is(0x0,_0x4d1776),is(0x1,_0x1273b4(_0x259d97)),is(0x2,_0x1273b4(_0x582404))],Lt);var Ja=Object['defineProperty'],Za=Object[_0x30c112(0x1e3)],Qa=(_0x272dee,_0x2da54d,_0xe28cf6,_0x2923e0)=>{for(var _0x36a5f4=_0x2923e0>0x1?void 0x0:_0x2923e0?Za(_0x2da54d,_0xe28cf6):_0x2da54d,_0x527cf9=_0x272dee['length']-0x1,_0xe142e1;_0x527cf9>=0x0;_0x527cf9--)(_0xe142e1=_0x272dee[_0x527cf9])&&(_0x36a5f4=(_0x2923e0?_0xe142e1(_0x2da54d,_0xe28cf6,_0x36a5f4):_0xe142e1(_0x36a5f4))||_0x36a5f4);return _0x2923e0&&_0x36a5f4&&Ja(_0x2da54d,_0xe28cf6,_0x36a5f4),_0x36a5f4;},ci=(_0x48eccc,_0x37acc9)=>(_0x113af0,_0xd4c3d6)=>_0x37acc9(_0x113af0,_0xd4c3d6,_0x48eccc);const ir=_0x30c112(0x1e4),ec=_0x30c112(0x1bd);let ps=class extends _0x2ea306{constructor(_0x12f92e,_0x4d3f47){const _0x264768=_0x30c112;super(),this[_0x264768(0x1bc)]=_0x12f92e,this['_configService']=_0x4d3f47,this[_0x264768(0x469)]();}[_0x30c112(0x469)](){const _0x4710bf=_0x30c112,_0x2e7f14=this;this[_0x4710bf(0x12b)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1478dc({'isMatch'(_0x2dc1a7){const _0x3b9695=_0x4710bf;var _0x424b61;if(_0x2dc1a7[_0x3b9695(0x415)]==='POST'&&((_0x424b61=_0x2dc1a7[_0x3b9695(0x299)])!=null&&_0x424b61[_0x3b9695(0x2f0)])){const {objectID:_0x25163c,objectType:_0x2fd912}=_0x2dc1a7[_0x3b9695(0x299)]['body']||{};if(!_0x25163c||_0x2fd912===void 0x0)return!0x1;const _0x42d6e8=_0x2e7f14[_0x3b9695(0x1ac)]()+'/'+_0x2fd912+'/object/'+_0x25163c+_0x3b9695(0x435);if(_0x2dc1a7[_0x3b9695(0xda)]===_0x42d6e8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x162854){const _0x543b67=_0x4710bf;var _0x231995;return(_0x231995=_0x162854['requestParams'])==null?void 0x0:_0x231995[_0x543b67(0x2f0)];},'mergeParamsToRequest'(_0x187dad,_0x41d17c){const _0x6d45ec=_0x4710bf,_0x5ce1df=_0x2e7f14[_0x6d45ec(0x1ac)]()+'/-/object/-/batch_allowed',_0x2441a5=_0x187dad['reduce']((_0x354a21,_0x3f4576)=>{const _0x1ebadf=_0x6d45ec,{unitID:_0xba65c8,objectID:_0x5b5ffe,objectType:_0x10bd61,actions:_0x56816a}=_0x3f4576;return _0x354a21[_0xba65c8]||(_0x354a21[_0xba65c8]={}),_0x354a21[_0xba65c8][_0x5b5ffe]||(_0x354a21[_0xba65c8][_0x5b5ffe]={'objectID':_0x5b5ffe,'objectType':_0x10bd61,'actions':[]}),_0x354a21[_0xba65c8][_0x5b5ffe][_0x1ebadf(0x365)]['push'](..._0x56816a),_0x354a21;},{}),_0x59f5c8=[];for(const _0x2cddb2 in _0x2441a5)for(const _0x31354e in _0x2441a5[_0x2cddb2]){const {actions:_0x11ba0e,objectType:_0x37cf69}=_0x2441a5[_0x2cddb2][_0x31354e],_0x134861=[...new Set(_0x11ba0e)];_0x59f5c8[_0x6d45ec(0xd6)]({'unitID':_0x2cddb2,'objectID':_0x31354e,'objectType':_0x37cf69,'actions':_0x134861});}return new _0x1aa034(_0x6d45ec(0x1f2),_0x5ce1df,{'headers':_0x41d17c[_0x6d45ec(0x2ee)],'withCredentials':_0x41d17c[_0x6d45ec(0x25e)],'responseType':_0x41d17c[_0x6d45ec(0x10b)],'body':{'requests':_0x59f5c8}});}},{'distributeResult'(_0x41db11,_0x29cd11){const _0x1ccf9d=_0x4710bf,{objectActions:_0x48d979}=_0x41db11;return _0x29cd11[_0x1ccf9d(0x1a2)](_0x41ebc7=>{const _0x1bb567=_0x1ccf9d,{unitID:_0x468c36,objectID:_0x3764a3,actions:_0x290b3c}=_0x41ebc7,_0x4fcaa8=_0x48d979[_0x1bb567(0x1a9)](_0x1b03f4=>_0x1b03f4[_0x1bb567(0x499)]===_0x468c36&&_0x1b03f4[_0x1bb567(0x18e)]===_0x3764a3),_0x388ef5=_0x290b3c[_0x1bb567(0x1a2)](_0x3da48f=>_0x4fcaa8==null?void 0x0:_0x4fcaa8['actions']['find'](_0x5661d7=>_0x5661d7[_0x1bb567(0x137)]===_0x3da48f))[_0x1bb567(0x235)](_0x49e290=>!!_0x49e290);return{'config':_0x41ebc7,'result':{'actions':_0x388ef5,'error':_0x41db11[_0x1bb567(0x3de)]}};});}})}));}[_0x30c112(0x1ac)](){const _0x5bcd36=_0x30c112;var _0x336731,_0x18ba88;const _0x3d5e68=this['_configService'][_0x5bcd36(0x116)](ir),_0x17d786=this['_configService'][_0x5bcd36(0x116)](Q);return(_0x18ba88=(_0x336731=_0x17d786==null?void 0x0:_0x17d786['authzUrl'])!=null?_0x336731:_0x3d5e68)!=null?_0x18ba88:ec;}async[_0x30c112(0x121)](_0x4f807d){const _0x345552=_0x30c112,_0x5bc202=this[_0x345552(0x1ac)]()+'/'+_0x4f807d[_0x345552(0x12e)]+_0x345552(0x352);return(await this[_0x345552(0x1bc)][_0x345552(0x46e)](_0x5bc202,{'body':_0x4f807d}))[_0x345552(0x2f0)][_0x345552(0x18e)]||'';}async[_0x30c112(0x390)](_0x316f2c){const _0x6d70f=_0x30c112,_0x279835=this[_0x6d70f(0x1ac)]()+_0x6d70f(0x348);return(await this[_0x6d70f(0x1bc)][_0x6d70f(0x46e)](_0x279835,{'body':_0x316f2c}))[_0x6d70f(0x2f0)][_0x6d70f(0xa5)];}async[_0x30c112(0x227)](_0x59d79d){const _0x3bc4b8=_0x30c112,_0xa39166=this[_0x3bc4b8(0x1ac)]()+'/'+_0x59d79d[_0x3bc4b8(0x12e)]+_0x3bc4b8(0x47e)+_0x59d79d[_0x3bc4b8(0x18e)];await this[_0x3bc4b8(0x1bc)][_0x3bc4b8(0x496)](_0xa39166,{'body':_0x59d79d});}async[_0x30c112(0x2a7)](_0x4c996d){const _0x59f8b9=_0x30c112,_0x210c2a=this[_0x59f8b9(0x1ac)]()+'/'+_0x4c996d[_0x59f8b9(0x12e)]+_0x59f8b9(0x47e)+_0x4c996d[_0x59f8b9(0x18e)]+_0x59f8b9(0x435);return(await this[_0x59f8b9(0x1bc)][_0x59f8b9(0x46e)](_0x210c2a,{'body':_0x4c996d}))['body'][_0x59f8b9(0x365)];}async[_0x30c112(0x154)](_0x27fe24){const _0x74f744=_0x30c112,_0x59f4c2=this[_0x74f744(0x1ac)]()+'/-/object/-/batch_allowed';return(await this[_0x74f744(0x1bc)][_0x74f744(0x46e)](_0x59f4c2,{'body':{'requests':_0x27fe24}}))['body'][_0x74f744(0x3a6)];}async['listRoles'](_0x551d76){const _0x129155=_0x30c112,_0x414ffe=this[_0x129155(0x1ac)]()+'/'+_0x551d76[_0x129155(0x12e)]+_0x129155(0x244),_0xbf4a49=await this['_HTTPService'][_0x129155(0x46e)](_0x414ffe,{'body':_0x551d76});return{'roles':_0xbf4a49[_0x129155(0x2f0)][_0x129155(0x3ea)],'actions':_0xbf4a49['body'][_0x129155(0x365)]};}async[_0x30c112(0xff)](_0x3c8b4a){const _0x322343=_0x30c112,_0x20236c=this[_0x322343(0x1ac)]()+_0x322343(0x15a);await this['_HTTPService'][_0x322343(0x26a)](_0x20236c,{'params':{'collaboratorID':_0x3c8b4a['collaboratorID'],'objectID':_0x3c8b4a[_0x322343(0x18e)],'unitID':_0x3c8b4a[_0x322343(0x499)]}});}async[_0x30c112(0x175)](_0xc0b045){const _0x156857=_0x30c112,_0x609260=this[_0x156857(0x1ac)]()+'/collaborator';await this[_0x156857(0x1bc)][_0x156857(0x32a)](_0x609260,{'body':_0xc0b045});}async[_0x30c112(0x283)](_0x1f3c57){const _0x4bc727=_0x30c112,_0x161089=this[_0x4bc727(0x1ac)]()+_0x4bc727(0x15a);await this[_0x4bc727(0x1bc)][_0x4bc727(0x46e)](_0x161089,{'body':_0x1f3c57});}async[_0x30c112(0x215)](_0x238a84){const _0x381e2c=_0x30c112,_0x5aad9b=this['_getAPIPrefixPath']()+_0x381e2c(0x15a);return(await this[_0x381e2c(0x1bc)][_0x381e2c(0x3f6)](_0x5aad9b,{'params':{'objectID':_0x238a84[_0x381e2c(0x18e)],'unitID':_0x238a84[_0x381e2c(0x499)]}}))[_0x381e2c(0x2f0)][_0x381e2c(0x268)];}async['putCollaborators'](_0x2022f7){const _0x1aa2fd=_0x30c112,_0x3a8173=this['_getAPIPrefixPath']()+_0x1aa2fd(0x15a);await this[_0x1aa2fd(0x1bc)][_0x1aa2fd(0x496)](_0x3a8173,{'body':_0x2022f7});}};ps=Qa([ci(0x0,_0x1273b4(_0x259d97)),ci(0x1,_0x1273b4(_0x4d1776))],ps);var dt={'exports':{}};function tc(_0xc50311){const _0x286f82=_0x30c112;throw new Error(_0x286f82(0x26c)+_0xc50311+_0x286f82(0x36a));}var ft={'exports':{}},sc=ft[_0x30c112(0x3a1)],hi;function _e(){const _0x5c49a4=_0x30c112;return hi||(hi=0x1,function(_0x224187,_0x2ee495){(function(_0x1467c3,_0x3adf84){_0x224187['exports']=_0x3adf84();}(sc,function(){var _0x259f53=_0x259f53||function(_0x19f973,_0x33b51e){const _0x4f3508=_0x2ebf;var _0xa21de5;if(typeof window<'u'&&window[_0x4f3508(0x3f3)]&&(_0xa21de5=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xa21de5=self[_0x4f3508(0x3f3)]),typeof globalThis<'u'&&globalThis[_0x4f3508(0x3f3)]&&(_0xa21de5=globalThis[_0x4f3508(0x3f3)]),!_0xa21de5&&typeof window<'u'&&window['msCrypto']&&(_0xa21de5=window[_0x4f3508(0x42d)]),!_0xa21de5&&typeof ts<'u'&&ts['crypto']&&(_0xa21de5=ts['crypto']),!_0xa21de5&&typeof tc=='function')try{_0xa21de5=require(_0x4f3508(0x3f3));}catch{}var _0x42c465=function(){const _0x1370d1=_0x4f3508;if(_0xa21de5){if(typeof _0xa21de5[_0x1370d1(0x2f1)]==_0x1370d1(0x42e))try{return _0xa21de5[_0x1370d1(0x2f1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa21de5[_0x1370d1(0x192)]==_0x1370d1(0x42e))try{return _0xa21de5['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1370d1(0x3b0));},_0x12e5f5=Object[_0x4f3508(0x121)]||(function(){function _0x27907d(){}return function(_0x452893){const _0x4d7b6e=_0x2ebf;var _0x265a2f;return _0x27907d['prototype']=_0x452893,_0x265a2f=new _0x27907d(),_0x27907d[_0x4d7b6e(0x107)]=null,_0x265a2f;};}()),_0x205ca6={},_0x3a900e=_0x205ca6[_0x4f3508(0x3d0)]={},_0x4def09=_0x3a900e['Base']=(function(){return{'extend':function(_0x1c6f99){const _0x214764=_0x2ebf;var _0x4e6b6e=_0x12e5f5(this);return _0x1c6f99&&_0x4e6b6e['mixIn'](_0x1c6f99),(!_0x4e6b6e[_0x214764(0x3f1)]('init')||this['init']===_0x4e6b6e['init'])&&(_0x4e6b6e['init']=function(){const _0x5549cc=_0x214764;_0x4e6b6e['$super'][_0x5549cc(0x427)][_0x5549cc(0x2a1)](this,arguments);}),_0x4e6b6e['init']['prototype']=_0x4e6b6e,_0x4e6b6e['$super']=this,_0x4e6b6e;},'create':function(){const _0x433f78=_0x2ebf;var _0x555f1d=this[_0x433f78(0x377)]();return _0x555f1d['init']['apply'](_0x555f1d,arguments),_0x555f1d;},'init':function(){},'mixIn':function(_0x249329){const _0x15d252=_0x2ebf;for(var _0x4d9f3f in _0x249329)_0x249329['hasOwnProperty'](_0x4d9f3f)&&(this[_0x4d9f3f]=_0x249329[_0x4d9f3f]);_0x249329[_0x15d252(0x3f1)]('toString')&&(this['toString']=_0x249329[_0x15d252(0x1ae)]);},'clone':function(){const _0x5216a6=_0x2ebf;return this[_0x5216a6(0x427)][_0x5216a6(0x107)]['extend'](this);}};}()),_0x14a038=_0x3a900e[_0x4f3508(0xae)]=_0x4def09[_0x4f3508(0x377)]({'init':function(_0x2fbdd8,_0x5c22b3){const _0x21f460=_0x4f3508;_0x2fbdd8=this[_0x21f460(0x193)]=_0x2fbdd8||[],_0x5c22b3!=_0x33b51e?this[_0x21f460(0x18a)]=_0x5c22b3:this[_0x21f460(0x18a)]=_0x2fbdd8[_0x21f460(0xd3)]*0x4;},'toString':function(_0x360e9f){const _0x41d697=_0x4f3508;return(_0x360e9f||_0x3131dd)[_0x41d697(0x19d)](this);},'concat':function(_0x1a5f27){const _0x5d1e68=_0x4f3508;var _0x82ae32=this[_0x5d1e68(0x193)],_0x3e7245=_0x1a5f27[_0x5d1e68(0x193)],_0x4f0a20=this[_0x5d1e68(0x18a)],_0x3ee3c7=_0x1a5f27['sigBytes'];if(this['clamp'](),_0x4f0a20%0x4)for(var _0x509ef5=0x0;_0x509ef5<_0x3ee3c7;_0x509ef5++){var _0x30c74a=_0x3e7245[_0x509ef5>>>0x2]>>>0x18-_0x509ef5%0x4*0x8&0xff;_0x82ae32[_0x4f0a20+_0x509ef5>>>0x2]|=_0x30c74a<<0x18-(_0x4f0a20+_0x509ef5)%0x4*0x8;}else{for(var _0x4e6db6=0x0;_0x4e6db6<_0x3ee3c7;_0x4e6db6+=0x4)_0x82ae32[_0x4f0a20+_0x4e6db6>>>0x2]=_0x3e7245[_0x4e6db6>>>0x2];}return this['sigBytes']+=_0x3ee3c7,this;},'clamp':function(){const _0x1a0ed2=_0x4f3508;var _0x3983f1=this['words'],_0x154fd3=this[_0x1a0ed2(0x18a)];_0x3983f1[_0x154fd3>>>0x2]&=0xffffffff<<0x20-_0x154fd3%0x4*0x8,_0x3983f1[_0x1a0ed2(0xd3)]=_0x19f973['ceil'](_0x154fd3/0x4);},'clone':function(){const _0x397b2d=_0x4f3508;var _0x53bf09=_0x4def09['clone']['call'](this);return _0x53bf09['words']=this['words'][_0x397b2d(0x2fa)](0x0),_0x53bf09;},'random':function(_0x21c157){const _0x146041=_0x4f3508;for(var _0x183439=[],_0x52224b=0x0;_0x52224b<_0x21c157;_0x52224b+=0x4)_0x183439[_0x146041(0xd6)](_0x42c465());return new _0x14a038[(_0x146041(0x427))](_0x183439,_0x21c157);}}),_0x1e2e03=_0x205ca6[_0x4f3508(0x188)]={},_0x3131dd=_0x1e2e03[_0x4f3508(0x453)]={'stringify':function(_0x1afd24){const _0x354de8=_0x4f3508;for(var _0x48ecbf=_0x1afd24['words'],_0x285ea3=_0x1afd24['sigBytes'],_0x2b77fd=[],_0x66cc91=0x0;_0x66cc91<_0x285ea3;_0x66cc91++){var _0x1c8dc3=_0x48ecbf[_0x66cc91>>>0x2]>>>0x18-_0x66cc91%0x4*0x8&0xff;_0x2b77fd['push']((_0x1c8dc3>>>0x4)[_0x354de8(0x1ae)](0x10)),_0x2b77fd[_0x354de8(0xd6)]((_0x1c8dc3&0xf)[_0x354de8(0x1ae)](0x10));}return _0x2b77fd[_0x354de8(0x179)]('');},'parse':function(_0x534231){for(var _0x44de8a=_0x534231['length'],_0x16c7d8=[],_0x1fff5d=0x0;_0x1fff5d<_0x44de8a;_0x1fff5d+=0x2)_0x16c7d8[_0x1fff5d>>>0x3]|=parseInt(_0x534231['substr'](_0x1fff5d,0x2),0x10)<<0x18-_0x1fff5d%0x8*0x4;return new _0x14a038['init'](_0x16c7d8,_0x44de8a/0x2);}},_0x1a168f=_0x1e2e03[_0x4f3508(0x41a)]={'stringify':function(_0x18015f){const _0x270203=_0x4f3508;for(var _0x1fa884=_0x18015f['words'],_0x21a485=_0x18015f[_0x270203(0x18a)],_0xef1cc6=[],_0x1cb21d=0x0;_0x1cb21d<_0x21a485;_0x1cb21d++){var _0x45696f=_0x1fa884[_0x1cb21d>>>0x2]>>>0x18-_0x1cb21d%0x4*0x8&0xff;_0xef1cc6['push'](String['fromCharCode'](_0x45696f));}return _0xef1cc6[_0x270203(0x179)]('');},'parse':function(_0x274ba9){const _0x34dd18=_0x4f3508;for(var _0x24bf01=_0x274ba9[_0x34dd18(0xd3)],_0x1c78b6=[],_0x287d59=0x0;_0x287d59<_0x24bf01;_0x287d59++)_0x1c78b6[_0x287d59>>>0x2]|=(_0x274ba9[_0x34dd18(0x1b5)](_0x287d59)&0xff)<<0x18-_0x287d59%0x4*0x8;return new _0x14a038[(_0x34dd18(0x427))](_0x1c78b6,_0x24bf01);}},_0x54e91f=_0x1e2e03[_0x4f3508(0x32c)]={'stringify':function(_0x57ae1b){const _0x224b59=_0x4f3508;try{return decodeURIComponent(escape(_0x1a168f[_0x224b59(0x19d)](_0x57ae1b)));}catch{throw new Error(_0x224b59(0x300));}},'parse':function(_0x3fedb9){const _0x3dd3c6=_0x4f3508;return _0x1a168f[_0x3dd3c6(0x173)](unescape(encodeURIComponent(_0x3fedb9)));}},_0xd60a60=_0x3a900e[_0x4f3508(0x29e)]=_0x4def09[_0x4f3508(0x377)]({'reset':function(){const _0x4e8d56=_0x4f3508;this[_0x4e8d56(0x3c0)]=new _0x14a038[(_0x4e8d56(0x427))](),this['_nDataBytes']=0x0;},'_append':function(_0x5eab67){const _0x14f9a4=_0x4f3508;typeof _0x5eab67==_0x14f9a4(0x3e8)&&(_0x5eab67=_0x54e91f[_0x14f9a4(0x173)](_0x5eab67)),this[_0x14f9a4(0x3c0)][_0x14f9a4(0x388)](_0x5eab67),this['_nDataBytes']+=_0x5eab67['sigBytes'];},'_process':function(_0x1eba32){const _0x2772c5=_0x4f3508;var _0x49993a,_0x88b7b4=this[_0x2772c5(0x3c0)],_0x591b58=_0x88b7b4[_0x2772c5(0x193)],_0x497ba8=_0x88b7b4['sigBytes'],_0x10ef79=this[_0x2772c5(0x117)],_0x280ff9=_0x10ef79*0x4,_0xfe9a5c=_0x497ba8/_0x280ff9;_0x1eba32?_0xfe9a5c=_0x19f973[_0x2772c5(0x251)](_0xfe9a5c):_0xfe9a5c=_0x19f973[_0x2772c5(0x10f)]((_0xfe9a5c|0x0)-this[_0x2772c5(0x22b)],0x0);var _0x4d364d=_0xfe9a5c*_0x10ef79,_0x5b9687=_0x19f973[_0x2772c5(0x275)](_0x4d364d*0x4,_0x497ba8);if(_0x4d364d){for(var _0x49b453=0x0;_0x49b453<_0x4d364d;_0x49b453+=_0x10ef79)this['_doProcessBlock'](_0x591b58,_0x49b453);_0x49993a=_0x591b58[_0x2772c5(0x112)](0x0,_0x4d364d),_0x88b7b4[_0x2772c5(0x18a)]-=_0x5b9687;}return new _0x14a038[(_0x2772c5(0x427))](_0x49993a,_0x5b9687);},'clone':function(){const _0x4d4126=_0x4f3508;var _0x226d9d=_0x4def09[_0x4d4126(0x307)][_0x4d4126(0xb6)](this);return _0x226d9d[_0x4d4126(0x3c0)]=this[_0x4d4126(0x3c0)][_0x4d4126(0x307)](),_0x226d9d;},'_minBufferSize':0x0});_0x3a900e['Hasher']=_0xd60a60['extend']({'cfg':_0x4def09[_0x4f3508(0x377)](),'init':function(_0x2276ca){const _0x17183b=_0x4f3508;this[_0x17183b(0xf1)]=this[_0x17183b(0xf1)]['extend'](_0x2276ca),this[_0x17183b(0x3f9)]();},'reset':function(){const _0x18bcaf=_0x4f3508;_0xd60a60[_0x18bcaf(0x3f9)]['call'](this),this[_0x18bcaf(0x420)]();},'update':function(_0x24b515){const _0x52a8b4=_0x4f3508;return this[_0x52a8b4(0x3c5)](_0x24b515),this[_0x52a8b4(0x450)](),this;},'finalize':function(_0x4ffc4c){const _0x13695a=_0x4f3508;_0x4ffc4c&&this[_0x13695a(0x3c5)](_0x4ffc4c);var _0x10dd2c=this['_doFinalize']();return _0x10dd2c;},'blockSize':0x10,'_createHelper':function(_0x7d295b){return function(_0x212d0c,_0x28a632){const _0x3b461c=_0x2ebf;return new _0x7d295b[(_0x3b461c(0x427))](_0x28a632)[_0x3b461c(0x344)](_0x212d0c);};},'_createHmacHelper':function(_0x34fb82){return function(_0xdf0254,_0xe06588){const _0x4d030c=_0x2ebf;return new _0x5d8a04[(_0x4d030c(0x2b3))][(_0x4d030c(0x427))](_0x34fb82,_0xe06588)[_0x4d030c(0x344)](_0xdf0254);};}});var _0x5d8a04=_0x205ca6['algo']={};return _0x205ca6;}(Math);return _0x259f53;}));}(ft)),ft[_0x5c49a4(0x3a1)];}var vt={'exports':{}},ic=vt[_0x30c112(0x3a1)],li;function rr(){const _0x299600=_0x30c112;return li||(li=0x1,function(_0x2b6618,_0x3c58f0){(function(_0x388b6d,_0x4f24c8){const _0x1be1c5=_0x2ebf;_0x2b6618[_0x1be1c5(0x3a1)]=_0x4f24c8(_e());}(ic,function(_0x3eb134){const _0x2d7adf=_0x2ebf;return(function(){const _0x5ebd1c=_0x2ebf;var _0x5e861a=_0x3eb134,_0x19f324=_0x5e861a[_0x5ebd1c(0x3d0)],_0x591039=_0x19f324[_0x5ebd1c(0xae)],_0x36df3e=_0x5e861a[_0x5ebd1c(0x188)];_0x36df3e[_0x5ebd1c(0x440)]={'stringify':function(_0x133a2e){const _0x4e8572=_0x5ebd1c;var _0x2df560=_0x133a2e[_0x4e8572(0x193)],_0x41e8ad=_0x133a2e[_0x4e8572(0x18a)],_0x462460=this['_map'];_0x133a2e['clamp']();for(var _0x4aca13=[],_0x5d9e24=0x0;_0x5d9e24<_0x41e8ad;_0x5d9e24+=0x3)for(var _0x4d79ed=_0x2df560[_0x5d9e24>>>0x2]>>>0x18-_0x5d9e24%0x4*0x8&0xff,_0x198398=_0x2df560[_0x5d9e24+0x1>>>0x2]>>>0x18-(_0x5d9e24+0x1)%0x4*0x8&0xff,_0x56f41f=_0x2df560[_0x5d9e24+0x2>>>0x2]>>>0x18-(_0x5d9e24+0x2)%0x4*0x8&0xff,_0x43181=_0x4d79ed<<0x10|_0x198398<<0x8|_0x56f41f,_0x4880f7=0x0;_0x4880f7<0x4&&_0x5d9e24+_0x4880f7*0.75<_0x41e8ad;_0x4880f7++)_0x4aca13[_0x4e8572(0xd6)](_0x462460[_0x4e8572(0x3e0)](_0x43181>>>0x6*(0x3-_0x4880f7)&0x3f));var _0x190063=_0x462460[_0x4e8572(0x3e0)](0x40);if(_0x190063){for(;_0x4aca13[_0x4e8572(0xd3)]%0x4;)_0x4aca13[_0x4e8572(0xd6)](_0x190063);}return _0x4aca13[_0x4e8572(0x179)]('');},'parse':function(_0x2dfd54){const _0x29cac1=_0x5ebd1c;var _0x25ab89=_0x2dfd54[_0x29cac1(0xd3)],_0x5d94a4=this[_0x29cac1(0x1c4)],_0x1ef4ff=this[_0x29cac1(0x3fc)];if(!_0x1ef4ff){_0x1ef4ff=this[_0x29cac1(0x3fc)]=[];for(var _0x3bd875=0x0;_0x3bd875<_0x5d94a4[_0x29cac1(0xd3)];_0x3bd875++)_0x1ef4ff[_0x5d94a4[_0x29cac1(0x1b5)](_0x3bd875)]=_0x3bd875;}var _0x5eb031=_0x5d94a4[_0x29cac1(0x3e0)](0x40);if(_0x5eb031){var _0x2fa16c=_0x2dfd54[_0x29cac1(0x105)](_0x5eb031);_0x2fa16c!==-0x1&&(_0x25ab89=_0x2fa16c);}return _0x6378e(_0x2dfd54,_0x25ab89,_0x1ef4ff);},'_map':_0x5ebd1c(0x1da)};function _0x6378e(_0x54c93a,_0x418af6,_0x5395df){const _0x3e8724=_0x5ebd1c;for(var _0x540b72=[],_0x34bb7b=0x0,_0x471ccf=0x0;_0x471ccf<_0x418af6;_0x471ccf++)if(_0x471ccf%0x4){var _0x33a132=_0x5395df[_0x54c93a['charCodeAt'](_0x471ccf-0x1)]<<_0x471ccf%0x4*0x2,_0x11efe4=_0x5395df[_0x54c93a['charCodeAt'](_0x471ccf)]>>>0x6-_0x471ccf%0x4*0x2,_0x41c803=_0x33a132|_0x11efe4;_0x540b72[_0x34bb7b>>>0x2]|=_0x41c803<<0x18-_0x34bb7b%0x4*0x8,_0x34bb7b++;}return _0x591039[_0x3e8724(0x121)](_0x540b72,_0x34bb7b);}}()),_0x3eb134[_0x2d7adf(0x188)][_0x2d7adf(0x440)];}));}(vt)),vt[_0x299600(0x3a1)];}var pt={'exports':{}},rc=pt[_0x30c112(0x3a1)],_i;function nc(){const _0x11bdf0=_0x30c112;return _i||(_i=0x1,function(_0x47a821,_0x5628bf){(function(_0x2ec935,_0x386664){const _0x15c13c=_0x2ebf;_0x47a821[_0x15c13c(0x3a1)]=_0x386664(_e());}(rc,function(_0x39aa6d){const _0x579700=_0x2ebf;return function(_0x4c1562){const _0x311b60=_0x2ebf;var _0x54ef22=_0x39aa6d,_0x4d304f=_0x54ef22['lib'],_0x14ad8c=_0x4d304f['WordArray'],_0x102679=_0x4d304f[_0x311b60(0x2b0)],_0x1c0162=_0x54ef22[_0x311b60(0x292)],_0x1f1977=[];(function(){const _0x5ae1a0=_0x311b60;for(var _0x58b38d=0x0;_0x58b38d<0x40;_0x58b38d++)_0x1f1977[_0x58b38d]=_0x4c1562[_0x5ae1a0(0x49b)](_0x4c1562['sin'](_0x58b38d+0x1))*0x100000000|0x0;}());var _0x4b75ae=_0x1c0162[_0x311b60(0x2b7)]=_0x102679[_0x311b60(0x377)]({'_doReset':function(){const _0x24bc85=_0x311b60;this['_hash']=new _0x14ad8c[(_0x24bc85(0x427))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x387b72,_0x20dc31){const _0x2c7536=_0x311b60;for(var _0x272411=0x0;_0x272411<0x10;_0x272411++){var _0x4e12ae=_0x20dc31+_0x272411,_0x7e1ef0=_0x387b72[_0x4e12ae];_0x387b72[_0x4e12ae]=(_0x7e1ef0<<0x8|_0x7e1ef0>>>0x18)&0xff00ff|(_0x7e1ef0<<0x18|_0x7e1ef0>>>0x8)&0xff00ff00;}var _0x533e96=this[_0x2c7536(0x16c)][_0x2c7536(0x193)],_0x511fa9=_0x387b72[_0x20dc31+0x0],_0x7f139f=_0x387b72[_0x20dc31+0x1],_0x1e695f=_0x387b72[_0x20dc31+0x2],_0xcda019=_0x387b72[_0x20dc31+0x3],_0x4449b2=_0x387b72[_0x20dc31+0x4],_0x7178ff=_0x387b72[_0x20dc31+0x5],_0x1ef5b7=_0x387b72[_0x20dc31+0x6],_0x194031=_0x387b72[_0x20dc31+0x7],_0x4ddc9a=_0x387b72[_0x20dc31+0x8],_0x5bcb21=_0x387b72[_0x20dc31+0x9],_0xadf2e8=_0x387b72[_0x20dc31+0xa],_0x4403f6=_0x387b72[_0x20dc31+0xb],_0x1047c4=_0x387b72[_0x20dc31+0xc],_0x3173f7=_0x387b72[_0x20dc31+0xd],_0x3dfaaf=_0x387b72[_0x20dc31+0xe],_0x3d8492=_0x387b72[_0x20dc31+0xf],_0x50c28a=_0x533e96[0x0],_0x3c29ee=_0x533e96[0x1],_0x116d88=_0x533e96[0x2],_0x2fdbef=_0x533e96[0x3];_0x50c28a=_0x53f8c5(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x511fa9,0x7,_0x1f1977[0x0]),_0x2fdbef=_0x53f8c5(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x7f139f,0xc,_0x1f1977[0x1]),_0x116d88=_0x53f8c5(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x1e695f,0x11,_0x1f1977[0x2]),_0x3c29ee=_0x53f8c5(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0xcda019,0x16,_0x1f1977[0x3]),_0x50c28a=_0x53f8c5(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x4449b2,0x7,_0x1f1977[0x4]),_0x2fdbef=_0x53f8c5(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x7178ff,0xc,_0x1f1977[0x5]),_0x116d88=_0x53f8c5(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x1ef5b7,0x11,_0x1f1977[0x6]),_0x3c29ee=_0x53f8c5(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x194031,0x16,_0x1f1977[0x7]),_0x50c28a=_0x53f8c5(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x4ddc9a,0x7,_0x1f1977[0x8]),_0x2fdbef=_0x53f8c5(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x5bcb21,0xc,_0x1f1977[0x9]),_0x116d88=_0x53f8c5(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0xadf2e8,0x11,_0x1f1977[0xa]),_0x3c29ee=_0x53f8c5(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x4403f6,0x16,_0x1f1977[0xb]),_0x50c28a=_0x53f8c5(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x1047c4,0x7,_0x1f1977[0xc]),_0x2fdbef=_0x53f8c5(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x3173f7,0xc,_0x1f1977[0xd]),_0x116d88=_0x53f8c5(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x3dfaaf,0x11,_0x1f1977[0xe]),_0x3c29ee=_0x53f8c5(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x3d8492,0x16,_0x1f1977[0xf]),_0x50c28a=_0x3a05c9(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x7f139f,0x5,_0x1f1977[0x10]),_0x2fdbef=_0x3a05c9(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x1ef5b7,0x9,_0x1f1977[0x11]),_0x116d88=_0x3a05c9(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x4403f6,0xe,_0x1f1977[0x12]),_0x3c29ee=_0x3a05c9(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x511fa9,0x14,_0x1f1977[0x13]),_0x50c28a=_0x3a05c9(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x7178ff,0x5,_0x1f1977[0x14]),_0x2fdbef=_0x3a05c9(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0xadf2e8,0x9,_0x1f1977[0x15]),_0x116d88=_0x3a05c9(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x3d8492,0xe,_0x1f1977[0x16]),_0x3c29ee=_0x3a05c9(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x4449b2,0x14,_0x1f1977[0x17]),_0x50c28a=_0x3a05c9(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x5bcb21,0x5,_0x1f1977[0x18]),_0x2fdbef=_0x3a05c9(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x3dfaaf,0x9,_0x1f1977[0x19]),_0x116d88=_0x3a05c9(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0xcda019,0xe,_0x1f1977[0x1a]),_0x3c29ee=_0x3a05c9(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x4ddc9a,0x14,_0x1f1977[0x1b]),_0x50c28a=_0x3a05c9(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x3173f7,0x5,_0x1f1977[0x1c]),_0x2fdbef=_0x3a05c9(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x1e695f,0x9,_0x1f1977[0x1d]),_0x116d88=_0x3a05c9(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x194031,0xe,_0x1f1977[0x1e]),_0x3c29ee=_0x3a05c9(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x1047c4,0x14,_0x1f1977[0x1f]),_0x50c28a=_0x48a51d(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x7178ff,0x4,_0x1f1977[0x20]),_0x2fdbef=_0x48a51d(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x4ddc9a,0xb,_0x1f1977[0x21]),_0x116d88=_0x48a51d(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x4403f6,0x10,_0x1f1977[0x22]),_0x3c29ee=_0x48a51d(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x3dfaaf,0x17,_0x1f1977[0x23]),_0x50c28a=_0x48a51d(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x7f139f,0x4,_0x1f1977[0x24]),_0x2fdbef=_0x48a51d(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x4449b2,0xb,_0x1f1977[0x25]),_0x116d88=_0x48a51d(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x194031,0x10,_0x1f1977[0x26]),_0x3c29ee=_0x48a51d(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0xadf2e8,0x17,_0x1f1977[0x27]),_0x50c28a=_0x48a51d(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x3173f7,0x4,_0x1f1977[0x28]),_0x2fdbef=_0x48a51d(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x511fa9,0xb,_0x1f1977[0x29]),_0x116d88=_0x48a51d(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0xcda019,0x10,_0x1f1977[0x2a]),_0x3c29ee=_0x48a51d(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x1ef5b7,0x17,_0x1f1977[0x2b]),_0x50c28a=_0x48a51d(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x5bcb21,0x4,_0x1f1977[0x2c]),_0x2fdbef=_0x48a51d(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x1047c4,0xb,_0x1f1977[0x2d]),_0x116d88=_0x48a51d(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x3d8492,0x10,_0x1f1977[0x2e]),_0x3c29ee=_0x48a51d(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x1e695f,0x17,_0x1f1977[0x2f]),_0x50c28a=_0x1de00c(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x511fa9,0x6,_0x1f1977[0x30]),_0x2fdbef=_0x1de00c(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x194031,0xa,_0x1f1977[0x31]),_0x116d88=_0x1de00c(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x3dfaaf,0xf,_0x1f1977[0x32]),_0x3c29ee=_0x1de00c(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x7178ff,0x15,_0x1f1977[0x33]),_0x50c28a=_0x1de00c(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x1047c4,0x6,_0x1f1977[0x34]),_0x2fdbef=_0x1de00c(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0xcda019,0xa,_0x1f1977[0x35]),_0x116d88=_0x1de00c(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0xadf2e8,0xf,_0x1f1977[0x36]),_0x3c29ee=_0x1de00c(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x7f139f,0x15,_0x1f1977[0x37]),_0x50c28a=_0x1de00c(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x4ddc9a,0x6,_0x1f1977[0x38]),_0x2fdbef=_0x1de00c(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x3d8492,0xa,_0x1f1977[0x39]),_0x116d88=_0x1de00c(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x1ef5b7,0xf,_0x1f1977[0x3a]),_0x3c29ee=_0x1de00c(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x3173f7,0x15,_0x1f1977[0x3b]),_0x50c28a=_0x1de00c(_0x50c28a,_0x3c29ee,_0x116d88,_0x2fdbef,_0x4449b2,0x6,_0x1f1977[0x3c]),_0x2fdbef=_0x1de00c(_0x2fdbef,_0x50c28a,_0x3c29ee,_0x116d88,_0x4403f6,0xa,_0x1f1977[0x3d]),_0x116d88=_0x1de00c(_0x116d88,_0x2fdbef,_0x50c28a,_0x3c29ee,_0x1e695f,0xf,_0x1f1977[0x3e]),_0x3c29ee=_0x1de00c(_0x3c29ee,_0x116d88,_0x2fdbef,_0x50c28a,_0x5bcb21,0x15,_0x1f1977[0x3f]),_0x533e96[0x0]=_0x533e96[0x0]+_0x50c28a|0x0,_0x533e96[0x1]=_0x533e96[0x1]+_0x3c29ee|0x0,_0x533e96[0x2]=_0x533e96[0x2]+_0x116d88|0x0,_0x533e96[0x3]=_0x533e96[0x3]+_0x2fdbef|0x0;},'_doFinalize':function(){const _0x14db88=_0x311b60;var _0x1710b3=this[_0x14db88(0x3c0)],_0x24216b=_0x1710b3['words'],_0x5c09ba=this[_0x14db88(0x433)]*0x8,_0x5bd6ee=_0x1710b3[_0x14db88(0x18a)]*0x8;_0x24216b[_0x5bd6ee>>>0x5]|=0x80<<0x18-_0x5bd6ee%0x20;var _0x4cad6a=_0x4c1562[_0x14db88(0x3f8)](_0x5c09ba/0x100000000),_0x2b1801=_0x5c09ba;_0x24216b[(_0x5bd6ee+0x40>>>0x9<<0x4)+0xf]=(_0x4cad6a<<0x8|_0x4cad6a>>>0x18)&0xff00ff|(_0x4cad6a<<0x18|_0x4cad6a>>>0x8)&0xff00ff00,_0x24216b[(_0x5bd6ee+0x40>>>0x9<<0x4)+0xe]=(_0x2b1801<<0x8|_0x2b1801>>>0x18)&0xff00ff|(_0x2b1801<<0x18|_0x2b1801>>>0x8)&0xff00ff00,_0x1710b3[_0x14db88(0x18a)]=(_0x24216b[_0x14db88(0xd3)]+0x1)*0x4,this[_0x14db88(0x450)]();for(var _0x34a558=this['_hash'],_0x19ebbb=_0x34a558['words'],_0x25a117=0x0;_0x25a117<0x4;_0x25a117++){var _0x1556d2=_0x19ebbb[_0x25a117];_0x19ebbb[_0x25a117]=(_0x1556d2<<0x8|_0x1556d2>>>0x18)&0xff00ff|(_0x1556d2<<0x18|_0x1556d2>>>0x8)&0xff00ff00;}return _0x34a558;},'clone':function(){const _0xb99bb2=_0x311b60;var _0x5f0818=_0x102679[_0xb99bb2(0x307)][_0xb99bb2(0xb6)](this);return _0x5f0818[_0xb99bb2(0x16c)]=this[_0xb99bb2(0x16c)][_0xb99bb2(0x307)](),_0x5f0818;}});function _0x53f8c5(_0x327e69,_0x44c799,_0x4f43a6,_0x1d9130,_0x5ccc46,_0x2f7823,_0x11f732){var _0x2ef987=_0x327e69+(_0x44c799&_0x4f43a6|~_0x44c799&_0x1d9130)+_0x5ccc46+_0x11f732;return(_0x2ef987<<_0x2f7823|_0x2ef987>>>0x20-_0x2f7823)+_0x44c799;}function _0x3a05c9(_0x3a7fb2,_0x29d032,_0x362808,_0x57b474,_0x18464c,_0xa1f8d5,_0x14ebb9){var _0x53d9aa=_0x3a7fb2+(_0x29d032&_0x57b474|_0x362808&~_0x57b474)+_0x18464c+_0x14ebb9;return(_0x53d9aa<<_0xa1f8d5|_0x53d9aa>>>0x20-_0xa1f8d5)+_0x29d032;}function _0x48a51d(_0x3f8218,_0x3e5f7d,_0x478ee8,_0x535531,_0x398227,_0x21a8d7,_0x3eddff){var _0x25909f=_0x3f8218+(_0x3e5f7d^_0x478ee8^_0x535531)+_0x398227+_0x3eddff;return(_0x25909f<<_0x21a8d7|_0x25909f>>>0x20-_0x21a8d7)+_0x3e5f7d;}function _0x1de00c(_0x456064,_0x1ba07c,_0x2a73d4,_0x275b3e,_0x4d7968,_0x319eb0,_0x3bac52){var _0x307baf=_0x456064+(_0x2a73d4^(_0x1ba07c|~_0x275b3e))+_0x4d7968+_0x3bac52;return(_0x307baf<<_0x319eb0|_0x307baf>>>0x20-_0x319eb0)+_0x1ba07c;}_0x54ef22[_0x311b60(0x2b7)]=_0x102679[_0x311b60(0x1b3)](_0x4b75ae),_0x54ef22[_0x311b60(0x356)]=_0x102679[_0x311b60(0xc2)](_0x4b75ae);}(Math),_0x39aa6d[_0x579700(0x2b7)];}));}(pt)),pt[_0x11bdf0(0x3a1)];}var mt={'exports':{}},gt={'exports':{}},oc=gt[_0x30c112(0x3a1)],ui;function _0x3021(){const _0x54cf42=['object','awaiting','_onCursorUpdate','CHANGESET_SHOULD_RETRY','default','sessionStatus','getUnhiddenWorksheets','_docTransformSelectionsService','csRejEvent','clearInterval','_localeService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','actions','NOT_FOUND','_commentUpdate$','univer-online-status-icon','FETCH_MISSING','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','engine','asObservable','InsertRowCommandId','hostname','collab-client.tooltip.reconnect','_getCtorByUniverType','OFFLINE','_onLocalMutation','shouldCloseConn','colorChannel1','createInstance','transformUndoRedo','extend','for','HttpExport','replaceState','_clearCollaborationTimeoutTimer','createEncryptor','addObject','sheets','UNIVER_SLIDE','transformChangesets','session.room-not-exists','_getSessionTicket','_transformSelections','_prevBlock','745RVqSHw','_changesetSessionId','_collaborationPaused','concat','_createInitialStateImpl','_assignedColors','isPermissionRej','_init','_state','saveChangeset','createDecryptor','list','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','unknown','format','history','closeSession','getSheetId','_collabCursorController','PERMISSION_DENIED','_drawAnchor','encodeURIComponent','M0\x200H16V16H0z','_session','eventID','unload','width','setShapeProps','exports','SYNCED','makeDirty','hovered','symbol','objectActions','top','docStateChange$','SHA1','collabCursorState$','name','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','univer-online','NEW_CHANGESETS','getValue','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','saveImage','_waitForHeartbeatResponse','JOIN_ROOM_PERMISSION_DENIED','close$','_onCursorDelete','getUndoRedoMutationParamsCache','updateMember','_collabSessionService','_transformService','PSEUDO_FETCH_MISSING_RESULT','path','key','SEND_CHANGESET_TIMEOUT','_registerDependencies','_imageIoService','_data','popstate','_hasher','defs','_instanceService','_append','MoveRangeCommandId','_shouldReportTelemetry','_transformUndoredo','userID','AWAITING','liveShareNewHost','[UniverCollaborationClientPlugin]','submit\x20changeset\x20error!','subscribeEvent','_hideTimer','lib','0\x200\x2017\x2016','m1Prime','updateOfflineData','transformByState','enableLocalCache','override','[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.','[FetchMissState]','_mode','_parse','loadOfflineData','_commentService','_fetchMissChangesets','error','not_collab','charAt','\x20to\x20','&source=','Undefined','_getUndoStack','getCellPositionByOffset','_keyPriorReset','dispose$','string','_invKeySchedule','roles','onlyLocal','_socketService','CHANGESET_REVISION_CONFILICT','send','close','show','hasOwnProperty','_shapes','crypto','_getRedoStack','_collabCursorState$','get','/universer-api/file/{fileID}/sign-url','floor','reset','transformStack\x20failed!','univer-pro.collaboration-client-socket-service','_reverseMap','attrs','setInterval','text','jiqing500','_sendHeartbeatTimer','_sessionStatus$','UnitSnapshot','_color','getMergeData','LOCAL_CACHE_INTERVAL','syncEditingCollabCursor','some','_cursorShapes','1278294SlRguq','getRoom','_backgroundColor','Encryptor','68570pERgil','getUnit','_render','originalMeta','gold400','off-line-single','_collaborationTimeoutTimer','method','getActiveSheet','current','BASE64','_applyRemoteChangeset','Latin1','then','_rescheduleHeartbeat','getSheetBlock','enableOfflineEditing','rev','_doReset','IDLE','roomMembers','transformMutation','_event$','randomUUID','_scheduleTimestamp','init','_remoteChangesetQueue','HEARTBEAT_TIMEOUT','_startDocCollabCursor','_startCollaboration','_configService','msCrypto','function','collaboration-client.config','state','/universer-api/user/session-ticket','appendMutation','_nDataBytes','_handleJoinEvent','/allowed','_setupBeforeClosingHandler','CONNECTOR_DATA_TOO_LARGE','ciphertext','_draw','StreamCipher','APPLY_DUPLICATED','_keySchedule','unpad','[CollaborationSessionService]:\x20socket\x20error','_timeoutTimer','Base64','pauseCollaboration','_onRefRangeChange','_onCombEvent','_renderManagerService','onload','_onRemoteACK','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCursorEvent','_undoStacks','session.connection-failed','_joinRoom','_urlService','[CollaborationSessionService]','UNIVER_PROJECT','_substituteRedoStack','_process','_candidateSocket','members','Hex','[OfflineState]:\x20received\x20acknowledgement.','_acknowledgedAwaitingChangeset','NOT_COLLAB','getCurrentSelections','icon','APPLY_NON_SEQUENTIAL_REVISION','sheetId','_snapshotServerService','1em','src','flatMap','row','_checkMissing','_hovered','_getUploadFileURL','status','_document','INVALID_ARGUMENT','_cursor','_awaitingChangeset','padding','_initMergeInterceptor','commentUpdate$','telemetry\x20info\x20is\x20not\x20initialized','conflict','LICENSE_EXPORT_SIZE_EXCEEDED','post','_getAnchorBounding','[CollaborationSession]','red300','bind','_notificationService','PERMISSION_REJ','triggerDblclick','addObjects','href','\x20-\x20','RETRY_CONNECTING_MAX_COUNT','csAckEvent','onTransformSelections','_removeClearOtherTimer','sid','/object/','#FFF','getUnitId','evenodd','onCommandExecuted','_sendHeartbeat','_clearHeartbeatTimer','502288WFPlks','_saveTaskMap','toggleOnline','1224330fYCjqb','assign','FromArray','every','_incrementRevisionNumber','hasher','_createSocket','_clearOtherTimers','conflict.title','reject','collaboration-client.offline-data-not-saved','fetchMissingChangesets','_unlockTransition','APPLY_REJECT','put','_transformRemoteChangesetByStateCache','univer-online-status-title','unitID','clamp','abs','_onConnectionFailed','_doFinalize','split','fillText','onStarting','code','socketService','image/png','getInterceptPoints','LICENSE_IMPORT_SIZE_EXCEEDED','sendChangesetTimeout','xlink:href','getMemberID','_updateLocalCursor','GLOBAL_ROOMS_CNT_EXCEEDS','univer-offline','assignAColorForMemberID','COMPLETION_FINISHED','capture','_config','LICENSE_DISTRO_REJECTED','JOIN_ROOM_FULL','_unitStatus','unitId\x20is\x20not\x20found','_toggleOffline','_entityInit$','_initResize','_onFetchMissResult','unsubscribe','_cursorInfo$','_getSheetObject','setShowComponents','onTransformIME','_initCommandExecutedListener','_showConflictNotification','_updateStatus','mutations','getTypeOfUnitAdded$','_unitOnClients','permission.title','sessionTicket','objects','getDocRanges','black','?size=','_docStateChangeManagerService','COMPRESS_MUTATION_SEND','with','__esModule','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','WordArray','Decryptor','RemoveRowCommandId','toggleOffline','unit','UPDATE_PERMISSION_OBJ','Univer','saveSheetBlock','call','connection\x20error','HEADER_MENU','LIVESHARE_FETCH_OPERATIONS','from','_getMergeRange','_status$','_isPermissionRej','roomMembers$','ranges','_updateState','none','_createHmacHelper','_clearUndo','/fetchmissing?from=','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_docSkeletonManagerService','startTime','RemoveColCommandId','dispose','Error','_userManagerService','InsertRangeMoveRightCommandId','_docTransformIMECacheService','APPLY_PERMISSION_DENIED','_send','COMPRESS_MUTATION_APPLY','LICENSE_MAX_UNITS_EXCEEDED','BlockCipher','length','OnLineSingle','_retryConnectingTimer','push','toRgbString','url(#on-line-single_clip0_910_349)','removeParam','url','drawWith','APPLY_REVISION_CONFILICT','_replaceFileID','salt','collaboration-session-retry','getTime','...','getAllMembers','onMissedChangesetFetched','execute','range','AWAITING_WITH_PENDING','onlineStatus','enableAuthServer','_transformStack','_syncEditingCollabCursor','_imageSourceCache','_getLoginPath','onRemoteRej','div','registerRenderModule','_onUserJoin','cfg','_range','cursorInfo','USERS_LEAVE','url(#off-line-single_clip0_910_343)','registerHTTPInterceptor','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','changesets','on-line-single','findNodePositionByCharIndex','ERROR_IMAGE_TYPE','/unit/','transformIMECache','_sender','deleteCollaborator','editingUnit','JOIN_ROOM_NOT_EXISTS','onMouseMove','_ENC_XFORM_MODE','_initStatusListener','indexOf','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','prototype','_startTelemetryCollaborationNewChangeset','_onRemoteChangeset','_initCloseConn','responseType','&assign=','_cachedData','PENDING','max','visibilityState','/block/','splice','_collaborationSessionService','_docTransformStateCacheService','_roomMembers','getConfig','blockSize','_commandService','defIds','_updateLocalCache','incrementRevOfUnit','session.will-retry','exhaustSavingTask','_removeRoom','cmd','has','create','synced','_logService','_change$','image/jpeg','CHANGESET_ACK','collabStatus.notCollab','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','online','pad','disposeWithMe','collabStatus.conflict','LIVESHARE_OPERATION','objectType','newValue','values','_pendingMutations','/universer-api/stream/file/upload','[CollaborationEntity]','_scheduleClearOtherTimer','awaiting_with_pending','_labelPosition','action','_hover','disposeUnit','newCsEvent','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_http','backgroundColor','_injector','workbook','_clearLocalCache','_docSkeleton','getFocusedUnit','resourceIDs','&to=','JOIN','labelPosition','_beforeCloseService','YUUMI_UNABLE_LOAD_URL','_telemetryInfo','toLowerCase','onRendered','reconnect','_docClipboardService','_initUnitPermissionChange','[DataLoaderController]','size','_onConflict','font','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','batchAllowed','_tryEnsureSocket','PasswordBasedCipher','_clearScheduledTask','mode','_httpService','/collaborator','_registerRenderDependencies','_transitionLocked','_throwTelemetryCollaborationNewChangeset','executeCommand','_unitID','_updateURLWithCurrentState','_singleActiveUnitService','searchParams','byteLength','collab-rect-range-','undoState','_submitChangeset','_substituteUndoStack','COMMENT_UPDATE','compute','_sendingTimer','use','_hash','_initDependencies','number','arc','_eventUnsubscribe','_waitCount','onSendChangeset','parse','registerBeforeClose','updateCollaborator','_queuedRemoteChangesets','TEXT','loginUrlKey','join','_localCacheService','COLLAB_WEB_SOCKET_URL','awaitingChangeset','_cursors','SHOULD_CLOSE_CONN','getCollabEntity$','loadDoc','CHANGESET_REJ','Base','_tryReconnect','clearTimeout','blue400','_roomMembers$','_univerInstanceService','enc','now','sigBytes','compose','_cipher','all','objectID','UPDATE_CURSOR','UNIVER_UNKNOWN','entries','randomBytes','words','stopTime','equals','subscribe','JOINING','whenReady','enableSingleActiveInstanceLock','_ws','debug','[CollaborationUndoRedoService]','stringify','_transformRemoteChangesetByIMECache','setAlpha','jsxs','onTransformRemoteChangesetByStateCache','map','revision','UNRECOGNIZED','transformRemoteChangeset','{fileID}','_saveCache','_selfUnitIDs','find','ALREADY_EXISTS','_onRemoteRetry','_getAPIPrefixPath','_compressMutationService','toString','refreshPermission','getImageSourceCache','color','_schedule','_createHelper','_lastPointer','charCodeAt','INGEST','random','HELLO','addImageSourceCache','joinEvent','?url=','_HTTPService','/universer-api/authz','SNAPSHOT_INVALID_SNAPSHOT','\x0aCurrent:\x20','add','storage','confirm','selection','_map','_handleLeaveEvent','getOffsetConfig','session','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','readAsDataURL','clear','hide','FETCH_MISS','skeleton','getCollabEntity','baseRev','updatePermissionObjEvent','_iv','_messageService','_scene','params','_createSocketURL','univerjs-icon\x20univerjs-icon-','UNIVER_DOC','_sessions','ref','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decrypt','_getScale','_onMessage','_socket','copyFileMeta','_getSendChangesetTimeout','children','492966OSyfmu','getOwnPropertyDescriptor','AUTHZ_URL_KEY','transformStateCache','ticket','onReady','session.collaboration-timeout','NoPadding','ENSURE_SNAPSHOT_EXECUTION','subUnitId','activeSheet$','replace','EvpKDF','_syncEditingCollabCursorService','buffer','_exhaustRemoteChangesetQueue','POST','onSyncEditingCollabCursor','_initEventListeners','generateRandomId','registerOnClose','isArray','createSocket','getSkeleton','image/gif','_ensureSubject','cursorInfo$','SUCCUSS','[PendingState]:\x20received\x20acknowledgement.','kdf','endRow','origin','_createHandler','getVpScrollXYInfoByPosToVp','save\x20fail\x20reason\x20is\x20','#fff','setCurrentUser','getUnitStatus$','event$','getRenderById','_sheetTransformSelectionsService','NO_OTHER_CLIENTS_EDITING','_anchor','result','editing\x20status\x20changed\x20to','authzUrl','_scheduleSaving','SUBMIT_CHANGESET','c2Prime','_onJoinRoomEvent','_disableEditing','listCollaborators','joinRsp','json','HttpImport','_localStorageService','_onRemoteRejected','onStateChange','state$','isActive','_updateCollabCursors','_setupSubUnitSync','Cipher','onCommentUpdate','_xformMode','height','CBC','session.room-full','getMember','update','clipPath','measureText','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_minBufferSize','DeleteRangeMoveLeftCommandId','collab-text-range-','_updateSubUnitFromURLParams','getActiveRange','addClipboardHook','setWaitCount','_socketMessageSubscription','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_DEC_XFORM_MODE','filter','_nRounds','collabStatus.syncing','hidden','interceptor','_sheetSkeletonManagerService','_type','AES','_lockTransition','_anchorDot','setItem','_loadDoc','forEach','updatePermissionPoint','MUTATION','/role','disableLocalCache','UUID','[OfflineState]:\x20received\x20changeset.','_online','_scheduleCollaborationTimeoutTimer','_key','fill','_scheduleHeartbeat','_toggleOnline','lineTo','/universer-api/comb','_clearRedo','ceil','onPointerEnter$','sheetID','displayName','_themeService','[CollaborationState]:\x20apply\x20error!','snapshotServerUrl','VIEW_MAIN','resize','_startSheetCollabCursor','_handleHeartbeatEvent','0\x200\x2016\x2016','onTransformChange$','withCredentials','onlineStatusTitle','_oKey','RECV','_drawRectRange','_handleHover','deepClone','_doCryptBlock','Unknown\x20user','localeService','collaborators','socket\x20close','delete','RECT','Could\x20not\x20dynamically\x20require\x20\x22','next','_textBubble','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_transformPreviousActiveRange','target','append','permissionRejEvent','_context','min','SNAPSHOT_SERVER_URL_KEY','substring','UNAUTHENTICATED','_name','memberID','_executeRemoteChangeset','pipe','m2Prime','ACTIVE_UNIT_EVENT_CHANNEL','_socket$','_getDownloadEndpointURL','_getCurrentRevision','message$','createCollaborator','collaboration.single-unit.warning','doc.mutation.rich-text-editing','People','onRemoteAck','requireSession','onTransformState','visibilitychange','subunit','sessionStatus$','data','defineProperty','setUndoRedoMutationParamsCache','ivSize','_listenToOnlineEvent','algo','\x20in\x20_schedule.','_memberService','setActiveRange','className','focused$','_resendTimeout','requestParams','addEventListener','UNDEFINED','getStateCache','resend','BufferedBlockAlgorithm','getSheetBySheetId','idSuffix','apply','removeMember','_disabled','conflict.content','type','getRangePointData','allowed','HEARTBEAT','_entities','startColumn','processBlock','setTimeout','getTypeOfUnitDisposed$','_drawTextRange','_revisionService','Hasher','UniverIcon','BlockCipherMode','HMAC','routeKey','/universer-api/snapshot/','_onOffline','MD5','keySize','subject','_clearTimeoutTimer','getCurrent','fromCharCode','_socketReady','contains','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[PendingState]:\x20received\x20rejection.','UnitEmbedded','getParam','_resendTimer','reqId','ERROR_IMAGE','_replayCachedMutations','retryConnectingInterval','HEARTBEAT_INTERVAL','_transformStateCache','title','_createInitialState','OpenSSL','failed\x20to\x20apply\x20missed\x20changesets!','permission.content','startsWith','_getAPIPrefix','_loadSheet','INTERNAL_ERROR','unitId','_iKey','_handleEvent','session.room-cnt-exceeds','_refRangeService','_changesetReqId','reduce','mixIn','SNAPSHOT_HAS_BEEN_REMOVED','fetchMiss','OTHER_CLIENTS_EDITING','uploadFileServerUrl','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','complete','iterations','collabWebSocketUrl','_onRecvEvent','_stopTelemetryCollaborationNewChangeset','setStateCache','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','68encAKt','UNKNOWN_CODE','status$','YUUMI_URL_COL_OUT_OF_RANGE','_undoRedoService','unshift','encode','headers','FAIL','body','getRandomValues','_retryCount','purple300','getUniverSheetInstance','onRemoteRetry','ONLINE','[OfflineState]:\x20received\x20rejection.','_initRequestHeader','offline','slice','round','_onUserLeave','downloadEndpointUrl','MSG_FOR_ERROR','transform','Malformed\x20UTF-8\x20data','/universer-api/snapshot','_uiPartsService','session.room-permission-denied','currentTheme$','encryptBlock','onRemoteChangeset','clone','getCurrentRevOfUnit','off-line-single_clip0_910_343','redoState','598vaMbDQ','bottom','45cMvCza','encrypt','/rev/','textRanges','_id','transformSelections','InsertColCommandId','wsSessionTicketUrl','restore','_colorAssignService','onMissingChangesets','fetchThroughInterceptors','_resendWithTimeout','setParam','isEditing','c1Prime','getCurrentUser','endColumn','getUnitType','jsx','location','Error\x20on\x20receiving\x20event','ws://127.0.0.1:8000/universer-api/comb/connect','LIVESHARE_NEW_HOST','_members','svg','YUUMI_SUBSCRIPTION_NOT_FOUND','_removeCollabCursors','open$','patch','LEAVE','Utf8','getAncestorScale','_decreaseWaiting','rng','unit-cache-','reverse','DEFAULT_FILE_NAME','LIVESHARE_TERMINATE','transformMutationsWithChangeset','UNIVER_SHEET','registerRefRange','registerComponent','ReactCurrentOwner','_colorIndex','fromCollab','liveShareOperation','save','_collaborationController','socket$','tag','YUUMI_RATE_OVER_LIMIT','392119mkgaSz','defaultProps','urlChange$','finalize','_telemetryService','getCollabCursors$','_heartbeatTimer','/-/object/list','getWorkbookSelections','_state$','set','__creator','collaboration.closeRoom','pluginName','getCurrentUnitForType','_permissionService','fetch_missing','/object','auth.needGotoLoginAlert','_handler','repeat','HmacMD5','selections'];_0x3021=function(){return _0x54cf42;};return _0x3021();}function ac(){const _0x279c33=_0x30c112;return ui||(ui=0x1,function(_0xeaa160,_0x2c94e1){(function(_0x25ec6f,_0x2d21eb){const _0x42a6fb=_0x2ebf;_0xeaa160[_0x42a6fb(0x3a1)]=_0x2d21eb(_e());}(oc,function(_0x51bb31){const _0x5ed612=_0x2ebf;return(function(){const _0x189831=_0x2ebf;var _0x2d7857=_0x51bb31,_0x2bbf75=_0x2d7857[_0x189831(0x3d0)],_0xf224f9=_0x2bbf75[_0x189831(0xae)],_0x4d3893=_0x2bbf75[_0x189831(0x2b0)],_0x499951=_0x2d7857[_0x189831(0x292)],_0x3fc992=[],_0x3a2469=_0x499951[_0x189831(0x3a9)]=_0x4d3893[_0x189831(0x377)]({'_doReset':function(){const _0xcafc0b=_0x189831;this[_0xcafc0b(0x16c)]=new _0xf224f9[(_0xcafc0b(0x427))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3205de,_0x34e8ff){const _0x559ccb=_0x189831;for(var _0x18f0c2=this['_hash'][_0x559ccb(0x193)],_0x4e6f56=_0x18f0c2[0x0],_0xe58c4b=_0x18f0c2[0x1],_0x276b14=_0x18f0c2[0x2],_0x17e07e=_0x18f0c2[0x3],_0x285889=_0x18f0c2[0x4],_0x637f09=0x0;_0x637f09<0x50;_0x637f09++){if(_0x637f09<0x10)_0x3fc992[_0x637f09]=_0x3205de[_0x34e8ff+_0x637f09]|0x0;else{var _0x43d782=_0x3fc992[_0x637f09-0x3]^_0x3fc992[_0x637f09-0x8]^_0x3fc992[_0x637f09-0xe]^_0x3fc992[_0x637f09-0x10];_0x3fc992[_0x637f09]=_0x43d782<<0x1|_0x43d782>>>0x1f;}var _0x4b1fe4=(_0x4e6f56<<0x5|_0x4e6f56>>>0x1b)+_0x285889+_0x3fc992[_0x637f09];_0x637f09<0x14?_0x4b1fe4+=(_0xe58c4b&_0x276b14|~_0xe58c4b&_0x17e07e)+0x5a827999:_0x637f09<0x28?_0x4b1fe4+=(_0xe58c4b^_0x276b14^_0x17e07e)+0x6ed9eba1:_0x637f09<0x3c?_0x4b1fe4+=(_0xe58c4b&_0x276b14|_0xe58c4b&_0x17e07e|_0x276b14&_0x17e07e)-0x70e44324:_0x4b1fe4+=(_0xe58c4b^_0x276b14^_0x17e07e)-0x359d3e2a,_0x285889=_0x17e07e,_0x17e07e=_0x276b14,_0x276b14=_0xe58c4b<<0x1e|_0xe58c4b>>>0x2,_0xe58c4b=_0x4e6f56,_0x4e6f56=_0x4b1fe4;}_0x18f0c2[0x0]=_0x18f0c2[0x0]+_0x4e6f56|0x0,_0x18f0c2[0x1]=_0x18f0c2[0x1]+_0xe58c4b|0x0,_0x18f0c2[0x2]=_0x18f0c2[0x2]+_0x276b14|0x0,_0x18f0c2[0x3]=_0x18f0c2[0x3]+_0x17e07e|0x0,_0x18f0c2[0x4]=_0x18f0c2[0x4]+_0x285889|0x0;},'_doFinalize':function(){const _0x5d4a5e=_0x189831;var _0x15397b=this[_0x5d4a5e(0x3c0)],_0x541f7c=_0x15397b['words'],_0x1e72d9=this['_nDataBytes']*0x8,_0x60b9aa=_0x15397b[_0x5d4a5e(0x18a)]*0x8;return _0x541f7c[_0x60b9aa>>>0x5]|=0x80<<0x18-_0x60b9aa%0x20,_0x541f7c[(_0x60b9aa+0x40>>>0x9<<0x4)+0xe]=Math[_0x5d4a5e(0x3f8)](_0x1e72d9/0x100000000),_0x541f7c[(_0x60b9aa+0x40>>>0x9<<0x4)+0xf]=_0x1e72d9,_0x15397b[_0x5d4a5e(0x18a)]=_0x541f7c['length']*0x4,this['_process'](),this[_0x5d4a5e(0x16c)];},'clone':function(){const _0x3deda3=_0x189831;var _0x226ac9=_0x4d3893[_0x3deda3(0x307)][_0x3deda3(0xb6)](this);return _0x226ac9[_0x3deda3(0x16c)]=this[_0x3deda3(0x16c)][_0x3deda3(0x307)](),_0x226ac9;}});_0x2d7857['SHA1']=_0x4d3893[_0x189831(0x1b3)](_0x3a2469),_0x2d7857['HmacSHA1']=_0x4d3893[_0x189831(0xc2)](_0x3a2469);}()),_0x51bb31[_0x5ed612(0x3a9)];}));}(gt)),gt[_0x279c33(0x3a1)];}var St={'exports':{}},cc=St[_0x30c112(0x3a1)],di;function hc(){const _0x29e855=_0x30c112;return di||(di=0x1,function(_0x24f101,_0x96a457){(function(_0x5529fe,_0x49daee){const _0x4f3aca=_0x2ebf;_0x24f101[_0x4f3aca(0x3a1)]=_0x49daee(_e());}(cc,function(_0x57fd81){(function(){const _0x47ef26=_0x2ebf;var _0x53381a=_0x57fd81,_0x5cbcdd=_0x53381a['lib'],_0x1a45df=_0x5cbcdd[_0x47ef26(0x182)],_0x232a55=_0x53381a[_0x47ef26(0x188)],_0x3b2c2e=_0x232a55[_0x47ef26(0x32c)],_0x20b559=_0x53381a[_0x47ef26(0x292)];_0x20b559[_0x47ef26(0x2b3)]=_0x1a45df[_0x47ef26(0x377)]({'init':function(_0x9d0fd3,_0x1913e1){const _0x414c9b=_0x47ef26;_0x9d0fd3=this[_0x414c9b(0x3c2)]=new _0x9d0fd3[(_0x414c9b(0x427))](),typeof _0x1913e1==_0x414c9b(0x3e8)&&(_0x1913e1=_0x3b2c2e['parse'](_0x1913e1));var _0x847e37=_0x9d0fd3['blockSize'],_0x58d1ea=_0x847e37*0x4;_0x1913e1[_0x414c9b(0x18a)]>_0x58d1ea&&(_0x1913e1=_0x9d0fd3[_0x414c9b(0x344)](_0x1913e1)),_0x1913e1[_0x414c9b(0x49a)]();for(var _0x1e05b6=this[_0x414c9b(0x260)]=_0x1913e1['clone'](),_0x593892=this[_0x414c9b(0x2d4)]=_0x1913e1[_0x414c9b(0x307)](),_0x467e6f=_0x1e05b6['words'],_0x476265=_0x593892[_0x414c9b(0x193)],_0x4f1cf4=0x0;_0x4f1cf4<_0x847e37;_0x4f1cf4++)_0x467e6f[_0x4f1cf4]^=0x5c5c5c5c,_0x476265[_0x4f1cf4]^=0x36363636;_0x1e05b6[_0x414c9b(0x18a)]=_0x593892['sigBytes']=_0x58d1ea,this[_0x414c9b(0x3f9)]();},'reset':function(){const _0x305696=_0x47ef26;var _0x24272b=this[_0x305696(0x3c2)];_0x24272b[_0x305696(0x3f9)](),_0x24272b[_0x305696(0x227)](this[_0x305696(0x2d4)]);},'update':function(_0x53a742){const _0x364ffe=_0x47ef26;return this[_0x364ffe(0x3c2)][_0x364ffe(0x227)](_0x53a742),this;},'finalize':function(_0x20e1ac){const _0x4b8a04=_0x47ef26;var _0x38fd40=this[_0x4b8a04(0x3c2)],_0x567946=_0x38fd40[_0x4b8a04(0x344)](_0x20e1ac);_0x38fd40[_0x4b8a04(0x3f9)]();var _0x4f555d=_0x38fd40[_0x4b8a04(0x344)](this[_0x4b8a04(0x260)]['clone']()['concat'](_0x567946));return _0x4f555d;}});}());}));}(St)),St[_0x29e855(0x3a1)];}var lc=mt[_0x30c112(0x3a1)],fi;function nr(){return fi||(fi=0x1,function(_0x442b74,_0x4cd3d6){(function(_0x3fa308,_0x280183,_0x36c6e5){const _0x5ce391=_0x2ebf;_0x442b74[_0x5ce391(0x3a1)]=_0x280183(_e(),ac(),hc());}(lc,function(_0x11c293){const _0x260094=_0x2ebf;return(function(){const _0x1ef09e=_0x2ebf;var _0x1585f6=_0x11c293,_0x13f739=_0x1585f6[_0x1ef09e(0x3d0)],_0x18b775=_0x13f739['Base'],_0x34e694=_0x13f739[_0x1ef09e(0xae)],_0x429a06=_0x1585f6[_0x1ef09e(0x292)],_0x5dcf2b=_0x429a06[_0x1ef09e(0x2b7)],_0x388277=_0x429a06[_0x1ef09e(0x1ee)]=_0x18b775['extend']({'cfg':_0x18b775['extend']({'keySize':0x80/0x20,'hasher':_0x5dcf2b,'iterations':0x1}),'init':function(_0x1b5365){const _0x1e5653=_0x1ef09e;this[_0x1e5653(0xf1)]=this[_0x1e5653(0xf1)][_0x1e5653(0x377)](_0x1b5365);},'compute':function(_0x43187d,_0x399751){const _0x15c997=_0x1ef09e;for(var _0xa044ce,_0x431a0d=this[_0x15c997(0xf1)],_0x31b882=_0x431a0d[_0x15c997(0x48d)][_0x15c997(0x121)](),_0x1bdee8=_0x34e694[_0x15c997(0x121)](),_0x31e041=_0x1bdee8[_0x15c997(0x193)],_0x37b9b5=_0x431a0d[_0x15c997(0x2b8)],_0x3f84d6=_0x431a0d[_0x15c997(0x2e1)];_0x31e041[_0x15c997(0xd3)]<_0x37b9b5;){_0xa044ce&&_0x31b882[_0x15c997(0x227)](_0xa044ce),_0xa044ce=_0x31b882[_0x15c997(0x227)](_0x43187d)[_0x15c997(0x344)](_0x399751),_0x31b882[_0x15c997(0x3f9)]();for(var _0x46141a=0x1;_0x46141a<_0x3f84d6;_0x46141a++)_0xa044ce=_0x31b882['finalize'](_0xa044ce),_0x31b882['reset']();_0x1bdee8[_0x15c997(0x388)](_0xa044ce);}return _0x1bdee8[_0x15c997(0x18a)]=_0x37b9b5*0x4,_0x1bdee8;}});_0x1585f6[_0x1ef09e(0x1ee)]=function(_0xda3cd3,_0x51f8ec,_0x4bddcb){return _0x388277['create'](_0x4bddcb)['compute'](_0xda3cd3,_0x51f8ec);};}()),_0x11c293[_0x260094(0x1ee)];}));}(mt)),mt['exports'];}var It={'exports':{}},_c=It[_0x30c112(0x3a1)],vi;function or(){const _0x522ed5=_0x30c112;return vi||(vi=0x1,function(_0xab4e44,_0x1df143){(function(_0x1ef707,_0x7bf731,_0x486447){const _0x2bed7d=_0x2ebf;_0xab4e44[_0x2bed7d(0x3a1)]=_0x7bf731(_e(),nr());}(_c,function(_0x20d95a){const _0xe9c7fa=_0x2ebf;_0x20d95a[_0xe9c7fa(0x3d0)][_0xe9c7fa(0x220)]||function(_0xce87f6){const _0x5d5303=_0xe9c7fa;var _0x25710c=_0x20d95a,_0x5593c4=_0x25710c['lib'],_0x22822c=_0x5593c4['Base'],_0x4fd288=_0x5593c4[_0x5d5303(0xae)],_0x5d0a9f=_0x5593c4[_0x5d5303(0x29e)],_0x6f97ae=_0x25710c[_0x5d5303(0x188)];_0x6f97ae[_0x5d5303(0x32c)];var _0x166957=_0x6f97ae[_0x5d5303(0x440)],_0x501827=_0x25710c[_0x5d5303(0x292)],_0x2c0876=_0x501827['EvpKDF'],_0x55f4e6=_0x5593c4[_0x5d5303(0x220)]=_0x5d0a9f[_0x5d5303(0x377)]({'cfg':_0x22822c[_0x5d5303(0x377)](),'createEncryptor':function(_0x362fcf,_0x10236a){const _0x4dbf0c=_0x5d5303;return this['create'](this[_0x4dbf0c(0x103)],_0x362fcf,_0x10236a);},'createDecryptor':function(_0x6c980,_0x14d47c){const _0x45ee8c=_0x5d5303;return this[_0x45ee8c(0x121)](this[_0x45ee8c(0x234)],_0x6c980,_0x14d47c);},'init':function(_0x16ea72,_0x2edb3b,_0x5b734b){const _0x4a509b=_0x5d5303;this[_0x4a509b(0xf1)]=this[_0x4a509b(0xf1)][_0x4a509b(0x377)](_0x5b734b),this['_xformMode']=_0x16ea72,this[_0x4a509b(0x24a)]=_0x2edb3b,this[_0x4a509b(0x3f9)]();},'reset':function(){const _0x17ee3b=_0x5d5303;_0x5d0a9f[_0x17ee3b(0x3f9)][_0x17ee3b(0xb6)](this),this[_0x17ee3b(0x420)]();},'process':function(_0x316bcf){const _0x12591f=_0x5d5303;return this[_0x12591f(0x3c5)](_0x316bcf),this[_0x12591f(0x450)]();},'finalize':function(_0x479cf6){const _0x54a43e=_0x5d5303;_0x479cf6&&this[_0x54a43e(0x3c5)](_0x479cf6);var _0x33a947=this[_0x54a43e(0x49d)]();return _0x33a947;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x554904(_0x1b2c07){return typeof _0x1b2c07=='string'?_0xb2693c:_0x4419d1;}return function(_0x40ee9e){return{'encrypt':function(_0x85b0a3,_0x1d8f8b,_0xac4b56){const _0x275114=_0x2ebf;return _0x554904(_0x1d8f8b)[_0x275114(0x30e)](_0x40ee9e,_0x85b0a3,_0x1d8f8b,_0xac4b56);},'decrypt':function(_0x4a9af9,_0xb3c82d,_0x17db05){const _0x564839=_0x2ebf;return _0x554904(_0xb3c82d)[_0x564839(0x1db)](_0x40ee9e,_0x4a9af9,_0xb3c82d,_0x17db05);}};};}())});_0x5593c4[_0x5d5303(0x43a)]=_0x55f4e6['extend']({'_doFinalize':function(){var _0x26b71a=this['_process'](!0x0);return _0x26b71a;},'blockSize':0x1});var _0x453c7d=_0x25710c[_0x5d5303(0x158)]={},_0x1c3f46=_0x5593c4[_0x5d5303(0x2b2)]=_0x22822c[_0x5d5303(0x377)]({'createEncryptor':function(_0x3f3a1c,_0x54426e){const _0x3995a8=_0x5d5303;return this['Encryptor'][_0x3995a8(0x121)](_0x3f3a1c,_0x54426e);},'createDecryptor':function(_0x1b4a9b,_0x36645e){const _0x1abd78=_0x5d5303;return this[_0x1abd78(0xaf)][_0x1abd78(0x121)](_0x1b4a9b,_0x36645e);},'init':function(_0x2f4e0b,_0x3dc908){const _0x5c930e=_0x5d5303;this[_0x5c930e(0x18c)]=_0x2f4e0b,this[_0x5c930e(0x1d1)]=_0x3dc908;}}),_0xf75956=_0x453c7d[_0x5d5303(0x224)]=(function(){const _0x5be27f=_0x5d5303;var _0x3c54cf=_0x1c3f46[_0x5be27f(0x377)]();_0x3c54cf[_0x5be27f(0x40d)]=_0x3c54cf[_0x5be27f(0x377)]({'processBlock':function(_0x468feb,_0x4d412a){const _0x37f1f5=_0x5be27f;var _0x596f64=this[_0x37f1f5(0x18c)],_0x1b3a37=_0x596f64[_0x37f1f5(0x117)];_0x33dff0[_0x37f1f5(0xb6)](this,_0x468feb,_0x4d412a,_0x1b3a37),_0x596f64[_0x37f1f5(0x305)](_0x468feb,_0x4d412a),this['_prevBlock']=_0x468feb[_0x37f1f5(0x2fa)](_0x4d412a,_0x4d412a+_0x1b3a37);}}),_0x3c54cf['Decryptor']=_0x3c54cf[_0x5be27f(0x377)]({'processBlock':function(_0x36d26f,_0x189ce7){const _0x5bc46f=_0x5be27f;var _0x46f6b7=this[_0x5bc46f(0x18c)],_0x316e22=_0x46f6b7[_0x5bc46f(0x117)],_0x5a70cc=_0x36d26f[_0x5bc46f(0x2fa)](_0x189ce7,_0x189ce7+_0x316e22);_0x46f6b7['decryptBlock'](_0x36d26f,_0x189ce7),_0x33dff0[_0x5bc46f(0xb6)](this,_0x36d26f,_0x189ce7,_0x316e22),this[_0x5bc46f(0x384)]=_0x5a70cc;}});function _0x33dff0(_0x4632e3,_0x32d7e2,_0x1d3f4e){const _0xd49453=_0x5be27f;var _0x4df5e9,_0x3891e5=this[_0xd49453(0x1d1)];_0x3891e5?(_0x4df5e9=_0x3891e5,this[_0xd49453(0x1d1)]=_0xce87f6):_0x4df5e9=this[_0xd49453(0x384)];for(var _0x4e8ca8=0x0;_0x4e8ca8<_0x1d3f4e;_0x4e8ca8++)_0x4632e3[_0x32d7e2+_0x4e8ca8]^=_0x4df5e9[_0x4e8ca8];}return _0x3c54cf;}()),_0x5136b2=_0x25710c[_0x5d5303(0x12a)]={},_0x49782b=_0x5136b2['Pkcs7']={'pad':function(_0xb4323,_0xa5a2dc){const _0x3ae26f=_0x5d5303;for(var _0x11790c=_0xa5a2dc*0x4,_0xb1e08=_0x11790c-_0xb4323['sigBytes']%_0x11790c,_0x4a0b59=_0xb1e08<<0x18|_0xb1e08<<0x10|_0xb1e08<<0x8|_0xb1e08,_0x29ec92=[],_0x11b43f=0x0;_0x11b43f<_0xb1e08;_0x11b43f+=0x4)_0x29ec92[_0x3ae26f(0xd6)](_0x4a0b59);var _0x1fc832=_0x4fd288[_0x3ae26f(0x121)](_0x29ec92,_0xb1e08);_0xb4323['concat'](_0x1fc832);},'unpad':function(_0x3846f6){const _0xca8830=_0x5d5303;var _0x3a5c9e=_0x3846f6[_0xca8830(0x193)][_0x3846f6[_0xca8830(0x18a)]-0x1>>>0x2]&0xff;_0x3846f6[_0xca8830(0x18a)]-=_0x3a5c9e;}};_0x5593c4[_0x5d5303(0xd2)]=_0x55f4e6[_0x5d5303(0x377)]({'cfg':_0x55f4e6['cfg'][_0x5d5303(0x377)]({'mode':_0xf75956,'padding':_0x49782b}),'reset':function(){const _0x562257=_0x5d5303;var _0x57da97;_0x55f4e6[_0x562257(0x3f9)][_0x562257(0xb6)](this);var _0x5c4711=this[_0x562257(0xf1)],_0x3cd8c4=_0x5c4711['iv'],_0x1cee1f=_0x5c4711[_0x562257(0x158)];this['_xformMode']==this[_0x562257(0x103)]?_0x57da97=_0x1cee1f[_0x562257(0x37c)]:(_0x57da97=_0x1cee1f[_0x562257(0x38f)],this[_0x562257(0x22b)]=0x1),this[_0x562257(0x3d9)]&&this[_0x562257(0x3d9)]['__creator']==_0x57da97?this[_0x562257(0x3d9)][_0x562257(0x427)](this,_0x3cd8c4&&_0x3cd8c4[_0x562257(0x193)]):(this[_0x562257(0x3d9)]=_0x57da97['call'](_0x1cee1f,this,_0x3cd8c4&&_0x3cd8c4['words']),this[_0x562257(0x3d9)][_0x562257(0x34c)]=_0x57da97);},'_doProcessBlock':function(_0x5588e5,_0x29e7cd){const _0x2f8df7=_0x5d5303;this['_mode'][_0x2f8df7(0x2ab)](_0x5588e5,_0x29e7cd);},'_doFinalize':function(){const _0xc69437=_0x5d5303;var _0x107029,_0x53c039=this['cfg']['padding'];return this[_0xc69437(0x222)]==this['_ENC_XFORM_MODE']?(_0x53c039[_0xc69437(0x12a)](this['_data'],this[_0xc69437(0x117)]),_0x107029=this[_0xc69437(0x450)](!0x0)):(_0x107029=this['_process'](!0x0),_0x53c039[_0xc69437(0x43d)](_0x107029)),_0x107029;},'blockSize':0x80/0x20});var _0x12ed11=_0x5593c4['CipherParams']=_0x22822c[_0x5d5303(0x377)]({'init':function(_0x488464){const _0x2511c0=_0x5d5303;this[_0x2511c0(0x2da)](_0x488464);},'toString':function(_0x27630d){return(_0x27630d||this['formatter'])['stringify'](this);}}),_0x4aeb44=_0x25710c[_0x5d5303(0x393)]={},_0x2a4f6e=_0x4aeb44[_0x5d5303(0x2cc)]={'stringify':function(_0x1d27e6){const _0x25f5a0=_0x5d5303;var _0xa65ac3,_0x4f43d7=_0x1d27e6['ciphertext'],_0x1349d2=_0x1d27e6['salt'];return _0x1349d2?_0xa65ac3=_0x4fd288['create']([0x53616c74,0x65645f5f])[_0x25f5a0(0x388)](_0x1349d2)[_0x25f5a0(0x388)](_0x4f43d7):_0xa65ac3=_0x4f43d7,_0xa65ac3['toString'](_0x166957);},'parse':function(_0x42f1fc){const _0x3a2a6a=_0x5d5303;var _0x4a30c8,_0x57c4ca=_0x166957[_0x3a2a6a(0x173)](_0x42f1fc),_0x5edf94=_0x57c4ca[_0x3a2a6a(0x193)];return _0x5edf94[0x0]==0x53616c74&&_0x5edf94[0x1]==0x65645f5f&&(_0x4a30c8=_0x4fd288[_0x3a2a6a(0x121)](_0x5edf94[_0x3a2a6a(0x2fa)](0x2,0x4)),_0x5edf94['splice'](0x0,0x4),_0x57c4ca[_0x3a2a6a(0x18a)]-=0x10),_0x12ed11['create']({'ciphertext':_0x57c4ca,'salt':_0x4a30c8});}},_0x4419d1=_0x5593c4['SerializableCipher']=_0x22822c[_0x5d5303(0x377)]({'cfg':_0x22822c[_0x5d5303(0x377)]({'format':_0x2a4f6e}),'encrypt':function(_0x159969,_0x13b92f,_0x59a1c6,_0x326ddc){const _0x4b7efd=_0x5d5303;_0x326ddc=this['cfg']['extend'](_0x326ddc);var _0xbe56a6=_0x159969[_0x4b7efd(0x37c)](_0x59a1c6,_0x326ddc),_0x51f380=_0xbe56a6[_0x4b7efd(0x344)](_0x13b92f),_0x525fb2=_0xbe56a6[_0x4b7efd(0xf1)];return _0x12ed11['create']({'ciphertext':_0x51f380,'key':_0x59a1c6,'iv':_0x525fb2['iv'],'algorithm':_0x159969,'mode':_0x525fb2[_0x4b7efd(0x158)],'padding':_0x525fb2[_0x4b7efd(0x468)],'blockSize':_0x159969[_0x4b7efd(0x117)],'formatter':_0x326ddc['format']});},'decrypt':function(_0x1dedad,_0x3fa55e,_0x4d4686,_0x4030dc){const _0x182f0b=_0x5d5303;_0x4030dc=this[_0x182f0b(0xf1)][_0x182f0b(0x377)](_0x4030dc),_0x3fa55e=this[_0x182f0b(0x3da)](_0x3fa55e,_0x4030dc[_0x182f0b(0x393)]);var _0x10a6c1=_0x1dedad['createDecryptor'](_0x4d4686,_0x4030dc)[_0x182f0b(0x344)](_0x3fa55e['ciphertext']);return _0x10a6c1;},'_parse':function(_0x12a0fc,_0x43100e){return typeof _0x12a0fc=='string'?_0x43100e['parse'](_0x12a0fc,this):_0x12a0fc;}}),_0x595a92=_0x25710c[_0x5d5303(0x1ff)]={},_0x117008=_0x595a92[_0x5d5303(0x2cc)]={'execute':function(_0x2e3c26,_0x2e6d73,_0x1cbb7e,_0x3afee1,_0x7a611a){const _0x55c8fd=_0x5d5303;if(_0x3afee1||(_0x3afee1=_0x4fd288[_0x55c8fd(0x1b7)](0x40/0x8)),_0x7a611a)var _0x414b58=_0x2c0876[_0x55c8fd(0x121)]({'keySize':_0x2e6d73+_0x1cbb7e,'hasher':_0x7a611a})[_0x55c8fd(0x169)](_0x2e3c26,_0x3afee1);else var _0x414b58=_0x2c0876[_0x55c8fd(0x121)]({'keySize':_0x2e6d73+_0x1cbb7e})[_0x55c8fd(0x169)](_0x2e3c26,_0x3afee1);var _0x7b25a0=_0x4fd288['create'](_0x414b58[_0x55c8fd(0x193)][_0x55c8fd(0x2fa)](_0x2e6d73),_0x1cbb7e*0x4);return _0x414b58[_0x55c8fd(0x18a)]=_0x2e6d73*0x4,_0x12ed11['create']({'key':_0x414b58,'iv':_0x7b25a0,'salt':_0x3afee1});}},_0xb2693c=_0x5593c4[_0x5d5303(0x156)]=_0x4419d1[_0x5d5303(0x377)]({'cfg':_0x4419d1[_0x5d5303(0xf1)][_0x5d5303(0x377)]({'kdf':_0x117008}),'encrypt':function(_0x55a223,_0x3c99cf,_0x312f5a,_0x120b24){const _0x3a81dd=_0x5d5303;_0x120b24=this[_0x3a81dd(0xf1)][_0x3a81dd(0x377)](_0x120b24);var _0x518a1a=_0x120b24[_0x3a81dd(0x1ff)][_0x3a81dd(0xe4)](_0x312f5a,_0x55a223[_0x3a81dd(0x2b8)],_0x55a223[_0x3a81dd(0x290)],_0x120b24[_0x3a81dd(0xde)],_0x120b24[_0x3a81dd(0x48d)]);_0x120b24['iv']=_0x518a1a['iv'];var _0x45ee68=_0x4419d1[_0x3a81dd(0x30e)][_0x3a81dd(0xb6)](this,_0x55a223,_0x3c99cf,_0x518a1a[_0x3a81dd(0x3bc)],_0x120b24);return _0x45ee68[_0x3a81dd(0x2da)](_0x518a1a),_0x45ee68;},'decrypt':function(_0x2a71bb,_0x2d977d,_0x42f552,_0x136402){const _0x299c19=_0x5d5303;_0x136402=this[_0x299c19(0xf1)][_0x299c19(0x377)](_0x136402),_0x2d977d=this[_0x299c19(0x3da)](_0x2d977d,_0x136402[_0x299c19(0x393)]);var _0x57ab7c=_0x136402[_0x299c19(0x1ff)]['execute'](_0x42f552,_0x2a71bb[_0x299c19(0x2b8)],_0x2a71bb['ivSize'],_0x2d977d[_0x299c19(0xde)],_0x136402['hasher']);_0x136402['iv']=_0x57ab7c['iv'];var _0x77d6ab=_0x4419d1[_0x299c19(0x1db)][_0x299c19(0xb6)](this,_0x2a71bb,_0x2d977d,_0x57ab7c[_0x299c19(0x3bc)],_0x136402);return _0x77d6ab;}});}();}));}(It)),It[_0x522ed5(0x3a1)];}var uc=dt[_0x30c112(0x3a1)],pi;function dc(){const _0x5266cb=_0x30c112;return pi||(pi=0x1,function(_0x5d2163,_0x593442){(function(_0xa85f72,_0x6c29d,_0x22029b){const _0x1a41d0=_0x2ebf;_0x5d2163[_0x1a41d0(0x3a1)]=_0x6c29d(_e(),rr(),nc(),nr(),or());}(uc,function(_0x1e1ef8){const _0x1f7305=_0x2ebf;return(function(){const _0x3dd4a4=_0x2ebf;var _0x143a9a=_0x1e1ef8,_0x57a3b2=_0x143a9a[_0x3dd4a4(0x3d0)],_0xd45620=_0x57a3b2[_0x3dd4a4(0xd2)],_0x32c93b=_0x143a9a[_0x3dd4a4(0x292)],_0x1fc3bf=[],_0x999109=[],_0x362cee=[],_0x5e0327=[],_0x245a27=[],_0x1efdb6=[],_0x5af0dd=[],_0x4b2107=[],_0x5836a0=[],_0x382086=[];(function(){for(var _0xd9f01=[],_0x54ae84=0x0;_0x54ae84<0x100;_0x54ae84++)_0x54ae84<0x80?_0xd9f01[_0x54ae84]=_0x54ae84<<0x1:_0xd9f01[_0x54ae84]=_0x54ae84<<0x1^0x11b;for(var _0x41ebde=0x0,_0x50376d=0x0,_0x54ae84=0x0;_0x54ae84<0x100;_0x54ae84++){var _0x5e02c8=_0x50376d^_0x50376d<<0x1^_0x50376d<<0x2^_0x50376d<<0x3^_0x50376d<<0x4;_0x5e02c8=_0x5e02c8>>>0x8^_0x5e02c8&0xff^0x63,_0x1fc3bf[_0x41ebde]=_0x5e02c8,_0x999109[_0x5e02c8]=_0x41ebde;var _0x3b5904=_0xd9f01[_0x41ebde],_0x518d19=_0xd9f01[_0x3b5904],_0x14b862=_0xd9f01[_0x518d19],_0x11a072=_0xd9f01[_0x5e02c8]*0x101^_0x5e02c8*0x1010100;_0x362cee[_0x41ebde]=_0x11a072<<0x18|_0x11a072>>>0x8,_0x5e0327[_0x41ebde]=_0x11a072<<0x10|_0x11a072>>>0x10,_0x245a27[_0x41ebde]=_0x11a072<<0x8|_0x11a072>>>0x18,_0x1efdb6[_0x41ebde]=_0x11a072;var _0x11a072=_0x14b862*0x1010101^_0x518d19*0x10001^_0x3b5904*0x101^_0x41ebde*0x1010100;_0x5af0dd[_0x5e02c8]=_0x11a072<<0x18|_0x11a072>>>0x8,_0x4b2107[_0x5e02c8]=_0x11a072<<0x10|_0x11a072>>>0x10,_0x5836a0[_0x5e02c8]=_0x11a072<<0x8|_0x11a072>>>0x18,_0x382086[_0x5e02c8]=_0x11a072,_0x41ebde?(_0x41ebde=_0x3b5904^_0xd9f01[_0xd9f01[_0xd9f01[_0x14b862^_0x3b5904]]],_0x50376d^=_0xd9f01[_0xd9f01[_0x50376d]]):_0x41ebde=_0x50376d=0x1;}}());var _0x43a0ab=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a6707=_0x32c93b[_0x3dd4a4(0x23c)]=_0xd45620[_0x3dd4a4(0x377)]({'_doReset':function(){const _0x3c5324=_0x3dd4a4;var _0x4c7f92;if(!(this['_nRounds']&&this[_0x3c5324(0x3e6)]===this[_0x3c5324(0x24a)])){for(var _0x23423a=this[_0x3c5324(0x3e6)]=this[_0x3c5324(0x24a)],_0x30d18e=_0x23423a['words'],_0x49cc76=_0x23423a[_0x3c5324(0x18a)]/0x4,_0x46a9d9=this[_0x3c5324(0x236)]=_0x49cc76+0x6,_0x41a9fc=(_0x46a9d9+0x1)*0x4,_0x63dd90=this['_keySchedule']=[],_0xb22f1b=0x0;_0xb22f1b<_0x41a9fc;_0xb22f1b++)_0xb22f1b<_0x49cc76?_0x63dd90[_0xb22f1b]=_0x30d18e[_0xb22f1b]:(_0x4c7f92=_0x63dd90[_0xb22f1b-0x1],_0xb22f1b%_0x49cc76?_0x49cc76>0x6&&_0xb22f1b%_0x49cc76==0x4&&(_0x4c7f92=_0x1fc3bf[_0x4c7f92>>>0x18]<<0x18|_0x1fc3bf[_0x4c7f92>>>0x10&0xff]<<0x10|_0x1fc3bf[_0x4c7f92>>>0x8&0xff]<<0x8|_0x1fc3bf[_0x4c7f92&0xff]):(_0x4c7f92=_0x4c7f92<<0x8|_0x4c7f92>>>0x18,_0x4c7f92=_0x1fc3bf[_0x4c7f92>>>0x18]<<0x18|_0x1fc3bf[_0x4c7f92>>>0x10&0xff]<<0x10|_0x1fc3bf[_0x4c7f92>>>0x8&0xff]<<0x8|_0x1fc3bf[_0x4c7f92&0xff],_0x4c7f92^=_0x43a0ab[_0xb22f1b/_0x49cc76|0x0]<<0x18),_0x63dd90[_0xb22f1b]=_0x63dd90[_0xb22f1b-_0x49cc76]^_0x4c7f92);for(var _0x1dab1d=this[_0x3c5324(0x3e9)]=[],_0xe90ee4=0x0;_0xe90ee4<_0x41a9fc;_0xe90ee4++){var _0xb22f1b=_0x41a9fc-_0xe90ee4;if(_0xe90ee4%0x4)var _0x4c7f92=_0x63dd90[_0xb22f1b];else var _0x4c7f92=_0x63dd90[_0xb22f1b-0x4];_0xe90ee4<0x4||_0xb22f1b<=0x4?_0x1dab1d[_0xe90ee4]=_0x4c7f92:_0x1dab1d[_0xe90ee4]=_0x5af0dd[_0x1fc3bf[_0x4c7f92>>>0x18]]^_0x4b2107[_0x1fc3bf[_0x4c7f92>>>0x10&0xff]]^_0x5836a0[_0x1fc3bf[_0x4c7f92>>>0x8&0xff]]^_0x382086[_0x1fc3bf[_0x4c7f92&0xff]];}}},'encryptBlock':function(_0x5bf5c6,_0x18515e){const _0x4accfa=_0x3dd4a4;this[_0x4accfa(0x265)](_0x5bf5c6,_0x18515e,this[_0x4accfa(0x43c)],_0x362cee,_0x5e0327,_0x245a27,_0x1efdb6,_0x1fc3bf);},'decryptBlock':function(_0x472e74,_0x507ede){const _0x5a603a=_0x3dd4a4;var _0x5ec6fd=_0x472e74[_0x507ede+0x1];_0x472e74[_0x507ede+0x1]=_0x472e74[_0x507ede+0x3],_0x472e74[_0x507ede+0x3]=_0x5ec6fd,this['_doCryptBlock'](_0x472e74,_0x507ede,this[_0x5a603a(0x3e9)],_0x5af0dd,_0x4b2107,_0x5836a0,_0x382086,_0x999109);var _0x5ec6fd=_0x472e74[_0x507ede+0x1];_0x472e74[_0x507ede+0x1]=_0x472e74[_0x507ede+0x3],_0x472e74[_0x507ede+0x3]=_0x5ec6fd;},'_doCryptBlock':function(_0x4a6118,_0x5c9d55,_0x3a4eaf,_0x9ff188,_0x4856ec,_0x3db379,_0x417492,_0x46e41e){for(var _0x5ac5a3=this['_nRounds'],_0x1262e6=_0x4a6118[_0x5c9d55]^_0x3a4eaf[0x0],_0x4abbdd=_0x4a6118[_0x5c9d55+0x1]^_0x3a4eaf[0x1],_0x289bf8=_0x4a6118[_0x5c9d55+0x2]^_0x3a4eaf[0x2],_0xdd7833=_0x4a6118[_0x5c9d55+0x3]^_0x3a4eaf[0x3],_0x246250=0x4,_0x10a8e5=0x1;_0x10a8e5<_0x5ac5a3;_0x10a8e5++){var _0x3fb96e=_0x9ff188[_0x1262e6>>>0x18]^_0x4856ec[_0x4abbdd>>>0x10&0xff]^_0x3db379[_0x289bf8>>>0x8&0xff]^_0x417492[_0xdd7833&0xff]^_0x3a4eaf[_0x246250++],_0xe3319f=_0x9ff188[_0x4abbdd>>>0x18]^_0x4856ec[_0x289bf8>>>0x10&0xff]^_0x3db379[_0xdd7833>>>0x8&0xff]^_0x417492[_0x1262e6&0xff]^_0x3a4eaf[_0x246250++],_0x5105ae=_0x9ff188[_0x289bf8>>>0x18]^_0x4856ec[_0xdd7833>>>0x10&0xff]^_0x3db379[_0x1262e6>>>0x8&0xff]^_0x417492[_0x4abbdd&0xff]^_0x3a4eaf[_0x246250++],_0x7ff149=_0x9ff188[_0xdd7833>>>0x18]^_0x4856ec[_0x1262e6>>>0x10&0xff]^_0x3db379[_0x4abbdd>>>0x8&0xff]^_0x417492[_0x289bf8&0xff]^_0x3a4eaf[_0x246250++];_0x1262e6=_0x3fb96e,_0x4abbdd=_0xe3319f,_0x289bf8=_0x5105ae,_0xdd7833=_0x7ff149;}var _0x3fb96e=(_0x46e41e[_0x1262e6>>>0x18]<<0x18|_0x46e41e[_0x4abbdd>>>0x10&0xff]<<0x10|_0x46e41e[_0x289bf8>>>0x8&0xff]<<0x8|_0x46e41e[_0xdd7833&0xff])^_0x3a4eaf[_0x246250++],_0xe3319f=(_0x46e41e[_0x4abbdd>>>0x18]<<0x18|_0x46e41e[_0x289bf8>>>0x10&0xff]<<0x10|_0x46e41e[_0xdd7833>>>0x8&0xff]<<0x8|_0x46e41e[_0x1262e6&0xff])^_0x3a4eaf[_0x246250++],_0x5105ae=(_0x46e41e[_0x289bf8>>>0x18]<<0x18|_0x46e41e[_0xdd7833>>>0x10&0xff]<<0x10|_0x46e41e[_0x1262e6>>>0x8&0xff]<<0x8|_0x46e41e[_0x4abbdd&0xff])^_0x3a4eaf[_0x246250++],_0x7ff149=(_0x46e41e[_0xdd7833>>>0x18]<<0x18|_0x46e41e[_0x1262e6>>>0x10&0xff]<<0x10|_0x46e41e[_0x4abbdd>>>0x8&0xff]<<0x8|_0x46e41e[_0x289bf8&0xff])^_0x3a4eaf[_0x246250++];_0x4a6118[_0x5c9d55]=_0x3fb96e,_0x4a6118[_0x5c9d55+0x1]=_0xe3319f,_0x4a6118[_0x5c9d55+0x2]=_0x5105ae,_0x4a6118[_0x5c9d55+0x3]=_0x7ff149;},'keySize':0x100/0x20});_0x143a9a[_0x3dd4a4(0x23c)]=_0xd45620[_0x3dd4a4(0x1b3)](_0x1a6707);}()),_0x1e1ef8[_0x1f7305(0x23c)];}));}(dt)),dt[_0x5266cb(0x3a1)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct['exports'],gi;function gc(){return gi||(gi=0x1,function(_0x5810cd,_0x5aded1){(function(_0x57cdae,_0x5295d4){const _0x2adb22=_0x2ebf;_0x5810cd[_0x2adb22(0x3a1)]=_0x5295d4(_e());}(mc,function(_0x5346a3){const _0x1a7d08=_0x2ebf;return _0x5346a3[_0x1a7d08(0x188)]['Utf8'];}));}(Ct)),Ct['exports'];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et['exports'],Si;function Ec(){const _0x41457e=_0x30c112;return Si||(Si=0x1,function(_0x1a01ae,_0x5643ed){(function(_0x3219d2,_0x470e8c){const _0x488c7b=_0x2ebf;_0x1a01ae[_0x488c7b(0x3a1)]=_0x470e8c(_e());}(Cc,function(_0x32d290){const _0x4e36db=_0x2ebf;return(function(){const _0xfdb154=_0x2ebf;if(typeof ArrayBuffer==_0xfdb154(0x42e)){var _0x18ecae=_0x32d290,_0x2755f8=_0x18ecae['lib'],_0xb37dc9=_0x2755f8[_0xfdb154(0xae)],_0x13a0ca=_0xb37dc9[_0xfdb154(0x427)],_0x19ba92=_0xb37dc9['init']=function(_0xeebcf6){const _0x1bfde8=_0xfdb154;if(_0xeebcf6 instanceof ArrayBuffer&&(_0xeebcf6=new Uint8Array(_0xeebcf6)),(_0xeebcf6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xeebcf6 instanceof Uint8ClampedArray||_0xeebcf6 instanceof Int16Array||_0xeebcf6 instanceof Uint16Array||_0xeebcf6 instanceof Int32Array||_0xeebcf6 instanceof Uint32Array||_0xeebcf6 instanceof Float32Array||_0xeebcf6 instanceof Float64Array)&&(_0xeebcf6=new Uint8Array(_0xeebcf6[_0x1bfde8(0x1f0)],_0xeebcf6['byteOffset'],_0xeebcf6[_0x1bfde8(0x163)])),_0xeebcf6 instanceof Uint8Array){for(var _0x3cd1c8=_0xeebcf6[_0x1bfde8(0x163)],_0x519f56=[],_0x5c26d7=0x0;_0x5c26d7<_0x3cd1c8;_0x5c26d7++)_0x519f56[_0x5c26d7>>>0x2]|=_0xeebcf6[_0x5c26d7]<<0x18-_0x5c26d7%0x4*0x8;_0x13a0ca[_0x1bfde8(0xb6)](this,_0x519f56,_0x3cd1c8);}else _0x13a0ca[_0x1bfde8(0x2a1)](this,arguments);};_0x19ba92['prototype']=_0xb37dc9;}}()),_0x32d290['lib'][_0x4e36db(0xae)];}));}(Et)),Et[_0x41457e(0x3a1)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x30c112(0x3a1)],Ii;function Oc(){const _0x5cb828=_0x30c112;return Ii||(Ii=0x1,function(_0x4a083b,_0x546c92){(function(_0x35969d,_0x4acfe5,_0x280b49){const _0x34c52e=_0x2ebf;_0x4a083b[_0x34c52e(0x3a1)]=_0x4acfe5(_e(),or());}(Rc,function(_0x1284a4){const _0xca6004=_0x2ebf;return _0x1284a4[_0xca6004(0x12a)][_0xca6004(0x1e9)]={'pad':function(){},'unpad':function(){}},_0x1284a4[_0xca6004(0x12a)][_0xca6004(0x1e9)];}));}(bt)),bt[_0x5cb828(0x3a1)];}var yc=Oc();const wc=ct(yc);function Dc(_0x26c87e,_0x44ccd1){const _0x50fdb9=_0x30c112,_0x3e2f9c=_0x44ccd1-_0x26c87e[_0x50fdb9(0xd3)]%_0x44ccd1,_0x41b7eb=String[_0x50fdb9(0x2bc)](_0x3e2f9c)[_0x50fdb9(0x355)](_0x3e2f9c);return _0x26c87e+_0x41b7eb;}function Pc(_0x2a0e94,_0xd65a3d){const _0x5275d0=_0x30c112,_0x3aa2ad=Tc[_0x5275d0(0x1b7)](0x10),_0x189228=Dc(_0x2a0e94,0x10),_0x3d1cba=vc[_0x5275d0(0x30e)](Ic[_0x5275d0(0x173)](_0x189228),mi[_0x5275d0(0x173)](_0xd65a3d),{'iv':_0x3aa2ad,'padding':wc});return _0x3aa2ad['concat'](_0x3d1cba[_0x5275d0(0x438)])[_0x5275d0(0x1ae)](mi);}function Nc(){const _0x166eab=_0x30c112,_0x14320b=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x14320b){const _0x506147={'time':Math[_0x166eab(0x3f8)](Date[_0x166eab(0x189)]()/0x3e8),'domain':location[_0x166eab(0x36e)]};return Pc(JSON['stringify'](_0x506147),_0x14320b);}}var Uc=Object[_0x30c112(0x28e)],Ac=Object[_0x30c112(0x1e3)],Mc=(_0x10e028,_0x5b8fef,_0x2d6c52,_0x2f578c)=>{const _0x5b6e19=_0x30c112;for(var _0x2cb1c9=_0x2f578c>0x1?void 0x0:_0x2f578c?Ac(_0x5b8fef,_0x2d6c52):_0x5b8fef,_0x1df827=_0x10e028[_0x5b6e19(0xd3)]-0x1,_0x414239;_0x1df827>=0x0;_0x1df827--)(_0x414239=_0x10e028[_0x1df827])&&(_0x2cb1c9=(_0x2f578c?_0x414239(_0x5b8fef,_0x2d6c52,_0x2cb1c9):_0x414239(_0x2cb1c9))||_0x2cb1c9);return _0x2f578c&&_0x2cb1c9&&Uc(_0x5b8fef,_0x2d6c52,_0x2cb1c9),_0x2cb1c9;},xc=(_0x367e35,_0x372632)=>(_0x292ff1,_0x144cd1)=>_0x372632(_0x292ff1,_0x144cd1,_0x367e35);let $t=class{constructor(_0x4c8608){const _0x2eff29=_0x30c112;this[_0x2eff29(0x159)]=_0x4c8608,this['_initRequestHeader']();}[_0x30c112(0x2f8)](){const _0x45c7ec=_0x30c112;this[_0x45c7ec(0x159)][_0x45c7ec(0xf6)]({'interceptor':(_0x2fa5e7,_0x3ec502)=>{const _0x5c2c98=_0x45c7ec,_0x161444=_0x2fa5e7[_0x5c2c98(0x2ee)],_0x17444e=Nc();return _0x17444e&&_0x161444['set']('x-univer-host',_0x17444e),_0x3ec502(_0x2fa5e7);}});}};$t=Mc([xc(0x0,_0x1273b4(_0x259d97))],$t);var Lc=Object['defineProperty'],$c=Object[_0x30c112(0x1e3)],Hc=(_0x395598,_0x3ec144,_0xa0b800,_0x3c973a)=>{const _0x3ef6d0=_0x30c112;for(var _0x50d212=_0x3c973a>0x1?void 0x0:_0x3c973a?$c(_0x3ec144,_0xa0b800):_0x3ec144,_0x1d8bd6=_0x395598[_0x3ef6d0(0xd3)]-0x1,_0x43041e;_0x1d8bd6>=0x0;_0x1d8bd6--)(_0x43041e=_0x395598[_0x1d8bd6])&&(_0x50d212=(_0x3c973a?_0x43041e(_0x3ec144,_0xa0b800,_0x50d212):_0x43041e(_0x50d212))||_0x50d212);return _0x3c973a&&_0x50d212&&Lc(_0x3ec144,_0xa0b800,_0x50d212),_0x50d212;},rs=(_0x3ee403,_0x4b9e67)=>(_0x5d7312,_0x1c27d4)=>_0x4b9e67(_0x5d7312,_0x1c27d4,_0x3ee403);const jc=[_0x30c112(0x4a3),_0x30c112(0x125),'image/jpg',_0x30c112(0x1fa),'image/bmp'],Bc=0x5*0x400*0x400,kc=_0x30c112(0x22a),Wc=_0x30c112(0x132),Fc=_0x30c112(0x233),Vc=_0x30c112(0x3f7);let ms=class{constructor(_0x337af6,_0x2f99a7,_0x4dd203){const _0x1ff6cd=_0x30c112;g(this,'_waitCount',0x0),g(this,_0x1ff6cd(0x124),new _0x58011a()),g(this,'change$',this[_0x1ff6cd(0x124)]),g(this,'_imageSourceCache',new Map()),(this[_0x1ff6cd(0x159)]=_0x337af6,this[_0x1ff6cd(0x42c)]=_0x2f99a7,this[_0x1ff6cd(0x187)]=_0x4dd203);}[_0x30c112(0x231)](_0x5c1160){const _0x57a1c1=_0x30c112;this[_0x57a1c1(0x171)]=_0x5c1160,this[_0x57a1c1(0x124)][_0x57a1c1(0x26d)](_0x5c1160);}[_0x30c112(0x1b0)](_0x1a1e42,_0x29f7a8){const _0x2340dd=_0x30c112;if(_0x29f7a8===_0x15bdd2[_0x2340dd(0x418)]){const _0x20f4cb=new Image();return _0x20f4cb[_0x2340dd(0x45d)]=_0x1a1e42,_0x20f4cb;}return this[_0x2340dd(0xeb)][_0x2340dd(0x3f6)](_0x1a1e42);}[_0x30c112(0x1b9)](_0x3c4c52,_0x337e2d,_0x1a066b){const _0x2ff046=_0x30c112;_0x337e2d===_0x15bdd2['BASE64']||_0x1a066b==null||this['_imageSourceCache'][_0x2ff046(0x34b)](_0x3c4c52,_0x1a066b);}async['getImage'](_0x1a08f2){const _0x2dce91=_0x30c112;try{const _0x5a13aa=this[_0x2dce91(0xdd)](this['_getSignURL'](),''+_0x1a08f2),_0x2c9b1=(await this[_0x2dce91(0x159)][_0x2dce91(0x3f6)](_0x5a13aa))['body'];if(_0x2c9b1[_0x2dce91(0x3de)]&&_0x2c9b1['error']['code']===Fi['OK']){const _0x2edf5d=new URL(_0x2c9b1['url'],this[_0x2dce91(0x280)]())[_0x2dce91(0x1ae)]();return Promise['resolve'](_0x2edf5d);}return Promise[_0x2dce91(0x491)](_0x2c9b1[_0x2dce91(0x3de)]);}catch(_0x72812b){return Promise[_0x2dce91(0x491)](_0x72812b);}}async[_0x30c112(0x3b1)](_0x1e4d97){const _0x174f10=_0x30c112;let _0x568f14='';if(!jc['includes'](_0x1e4d97[_0x174f10(0x2a5)]))return this[_0x174f10(0x32e)](),Promise[_0x174f10(0x491)](new Error(_0x23ab42[_0x174f10(0xfb)]));if(_0x1e4d97[_0x174f10(0x150)]>Bc)return this[_0x174f10(0x32e)](),Promise[_0x174f10(0x491)](new Error(_0x23ab42['ERROR_EXCEED_SIZE']));try{const _0x495670=new FormData();_0x495670[_0x174f10(0x272)]('file',_0x1e4d97);const _0x183a59=this[_0x174f10(0x187)][_0x174f10(0x142)](),_0x58f59a=_0x183a59==null?void 0x0:_0x183a59[_0x174f10(0x480)]();if(!_0x58f59a)throw new Error(_0x174f10(0x93));const _0x1c2fc1=this[_0x174f10(0x462)]()+_0x174f10(0xa8)+_0x1e4d97['size']['toString']()+_0x174f10(0x3e2)+Vi[_0x174f10(0x2c1)]+_0x174f10(0x10c)+encodeURIComponent(_0x58f59a),_0x286de1=await(await fetch(_0x1c2fc1,{'method':'POST','body':_0x495670}))[_0x174f10(0x217)]();if(typeof _0x286de1['FileId']!=_0x174f10(0x3e8))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x23ab42[_0x174f10(0x2c5)]));_0x568f14=_0x286de1['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x174f10(0x491)](new Error(_0x23ab42[_0x174f10(0x2c5)]));}return new Promise((_0x2f16c1,_0x4f12b1)=>{const _0x4fc207=_0x174f10,_0xc4de1d=new FileReader();_0xc4de1d[_0x4fc207(0x1c9)](_0x1e4d97),_0xc4de1d[_0x4fc207(0x445)]=_0x52f633=>{const _0x1b1fa8=_0x4fc207;var _0xddf970;const _0x652ff6=(_0xddf970=_0x52f633[_0x1b1fa8(0x271)])==null?void 0x0:_0xddf970[_0x1b1fa8(0x20d)];if(_0x652ff6==null){this[_0x1b1fa8(0x32e)](),_0x4f12b1(new Error(_0x23ab42[_0x1b1fa8(0x2c5)]));return;}const _0x2fd52b=_0x4c6645[_0x1b1fa8(0x1f5)](0x6);_0x2f16c1({'imageId':_0x2fd52b,'imageSourceType':_0x15bdd2[_0x1b1fa8(0x246)],'source':_0x568f14,'base64Cache':_0x652ff6,'status':_0x23ab42[_0x1b1fa8(0x1fd)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x229eee=_0x30c112;var _0x1f1b0e,_0x258f1d;const _0x42fa04=this[_0x229eee(0x42c)][_0x229eee(0x116)](kc),_0x5b1a1a=this[_0x229eee(0x42c)][_0x229eee(0x116)](Q);return(_0x258f1d=(_0x1f1b0e=_0x5b1a1a==null?void 0x0:_0x5b1a1a[_0x229eee(0x2de)])!=null?_0x1f1b0e:_0x42fa04)!=null?_0x258f1d:Wc;}['_getSignURL'](){const _0x2fb2a5=_0x30c112;var _0xe510dc,_0x154145;const _0x5b07e8=this['_configService'][_0x2fb2a5(0x116)](Fc),_0x1f603b=this[_0x2fb2a5(0x42c)][_0x2fb2a5(0x116)](Q);return(_0x154145=(_0xe510dc=_0x1f603b==null?void 0x0:_0x1f603b['signUrlServerUrl'])!=null?_0xe510dc:_0x5b07e8)!=null?_0x154145:Vc;}['_getDownloadEndpointURL'](){const _0x206856=_0x30c112;var _0x137597;const _0x18a236=this['_configService'][_0x206856(0x116)](Q);return(_0x137597=_0x18a236==null?void 0x0:_0x18a236[_0x206856(0x2fd)])!=null?_0x137597:location[_0x206856(0x201)];}['_replaceFileID'](_0x492dcd,_0x368092){const _0x51cf57=_0x30c112;return _0x492dcd[_0x51cf57(0x1ed)](_0x51cf57(0x1a6),_0x368092);}[_0x30c112(0x32e)](){const _0x626705=_0x30c112;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x626705(0x171)]);}};ms=Hc([rs(0x0,_0x1273b4(_0x259d97)),rs(0x1,_0x4d1776),rs(0x2,_0x1273b4(_0x1d1a83))],ms);var Gc=Object[_0x30c112(0x28e)],Yc=Object['getOwnPropertyDescriptor'],Kc=(_0x22e20b,_0x21f878,_0x4a3594,_0x3dcabc)=>{const _0x2aaf0c=_0x30c112;for(var _0xa18ebd=_0x3dcabc>0x1?void 0x0:_0x3dcabc?Yc(_0x21f878,_0x4a3594):_0x21f878,_0x59a8a7=_0x22e20b[_0x2aaf0c(0xd3)]-0x1,_0x35dcb4;_0x59a8a7>=0x0;_0x59a8a7--)(_0x35dcb4=_0x22e20b[_0x59a8a7])&&(_0xa18ebd=(_0x3dcabc?_0x35dcb4(_0x21f878,_0x4a3594,_0xa18ebd):_0x35dcb4(_0xa18ebd))||_0xa18ebd);return _0x3dcabc&&_0xa18ebd&&Gc(_0x21f878,_0x4a3594,_0xa18ebd),_0xa18ebd;},Ci=(_0x212f79,_0x4db976)=>(_0x4049c0,_0x43e2f5)=>_0x4db976(_0x4049c0,_0x43e2f5,_0x212f79);const qc=_0x30c112(0x1bd);let gs=class{constructor(_0x46ecc0,_0x1dd0aa){const _0x3033f0=_0x30c112;this[_0x3033f0(0x42c)]=_0x46ecc0,this[_0x3033f0(0x1bc)]=_0x1dd0aa;}[_0x30c112(0x1ac)](){const _0x53f103=_0x30c112;var _0x430111,_0x471c60;const _0x37bc1e=this[_0x53f103(0x42c)][_0x53f103(0x116)](ir),_0x13a816=this[_0x53f103(0x42c)][_0x53f103(0x116)](Q);return(_0x471c60=(_0x430111=_0x13a816==null?void 0x0:_0x13a816[_0x53f103(0x20f)])!=null?_0x430111:_0x37bc1e)!=null?_0x471c60:qc;}async['list'](_0x59c87e){const _0x4d9124=_0x30c112,_0x38040b=this['_getAPIPrefixPath']()+_0x4d9124(0x15a);return{'list':[{'title':_0x4d9124(0x286),'mentions':(await this[_0x4d9124(0x1bc)][_0x4d9124(0x3f6)](_0x38040b,{'params':{'objectID':_0x59c87e[_0x4d9124(0x2d3)],'unitID':_0x59c87e[_0x4d9124(0x2d3)]}}))['body'][_0x4d9124(0x268)]['map'](_0x105293=>({'objectId':_0x105293['id'],'name':_0x105293[_0x4d9124(0x2b9)]['name'],'metadata':{'icon':_0x105293[_0x4d9124(0x2b9)]['avatar']},'label':_0x105293[_0x4d9124(0x2b9)][_0x4d9124(0x3ab)],'objectType':_0x2dddf1['PERSON']})),'metadata':{},'type':_0x2dddf1['PERSON']}]};}};gs=Kc([Ci(0x0,_0x1273b4(_0x4d1776)),Ci(0x1,_0x1273b4(_0x259d97))],gs);var zc=Object[_0x30c112(0x28e)],Xc=Object[_0x30c112(0x1e3)],Jc=(_0x1814b8,_0x5e8319,_0x2dcaf5,_0x3c7495)=>{const _0x2eea42=_0x30c112;for(var _0x1b96d2=_0x3c7495>0x1?void 0x0:_0x3c7495?Xc(_0x5e8319,_0x2dcaf5):_0x5e8319,_0x345c0e=_0x1814b8[_0x2eea42(0xd3)]-0x1,_0x541fd0;_0x345c0e>=0x0;_0x345c0e--)(_0x541fd0=_0x1814b8[_0x345c0e])&&(_0x1b96d2=(_0x3c7495?_0x541fd0(_0x5e8319,_0x2dcaf5,_0x1b96d2):_0x541fd0(_0x1b96d2))||_0x1b96d2);return _0x3c7495&&_0x1b96d2&&zc(_0x5e8319,_0x2dcaf5,_0x1b96d2),_0x1b96d2;},et=(_0x2b9654,_0x179947)=>(_0xa47014,_0x5d2201)=>_0x179947(_0xa47014,_0x5d2201,_0x2b9654);let Ht=class extends _0x43d55d{constructor(_0x394c78,_0x24bf7a,_0x30a74a,_0x893672,_0xe1f5f5){const _0x51ec9f=_0x30c112;super(),this[_0x51ec9f(0x13e)]=_0x394c78,this['_univerInstanceService']=_0x24bf7a,this['_permissionService']=_0x30a74a,this[_0x51ec9f(0x113)]=_0x893672,this[_0x51ec9f(0x362)]=_0xe1f5f5,this[_0x51ec9f(0x14e)](),this[_0x51ec9f(0x10a)]();}[_0x30c112(0x10a)](){const _0x2f176f=_0x30c112,_0x4f2565=async _0x1a9833=>{const _0x396d5b=_0x2ebf;(await this[_0x396d5b(0x113)]['requireSession'](_0x1a9833))['event$'][_0x396d5b(0x27c)](_0x210123(_0x30c779=>_0x30c779[_0x396d5b(0x39d)]===_0x1b96b7[_0x396d5b(0x17e)]),_0x585a8a(this[_0x396d5b(0x3e7)]))['subscribe'](_0x867d90=>{const _0x168c5b=_0x396d5b,_0x70db8e=_0x867d90,{reason:_0x34b9e6}=_0x70db8e['data'];this[_0x168c5b(0x13e)]['get'](_0x56e1bc)[_0x168c5b(0x3f0)]({'type':_0x41d1f0[_0x168c5b(0xca)],'content':this[_0x168c5b(0x362)]['t'](_0x168c5b(0x34d))+'('+_0x34b9e6+')'}),this['_permissionService'][_0x168c5b(0x242)](new _0x1acc3d(_0x1a9833)['id'],!0x1),this['_collaborationSessionService'][_0x168c5b(0x395)](_0x1a9833);});};_0x3c419a(this[_0x2f176f(0x187)][_0x2f176f(0xa1)](_0x11a8a2[_0x2f176f(0x335)]),this[_0x2f176f(0x187)][_0x2f176f(0xa1)](_0x11a8a2['UNIVER_DOC']))[_0x2f176f(0x27c)](_0x1864e2(_0x13cdc9=>_0x13cdc9[_0x2f176f(0x480)]()),_0x210123(_0xa4286d=>!_0x32fb48(_0xa4286d)),_0x585a8a(this[_0x2f176f(0x3e7)]))['subscribe'](_0x2ee0aa=>{_0x4f2565(_0x2ee0aa);});}[_0x30c112(0x14e)](){const _0x19846c=_0x30c112,_0x117697=async _0x16b0c9=>{const _0x1a2b66=_0x2ebf;(await this[_0x1a2b66(0x113)][_0x1a2b66(0x288)](_0x16b0c9))[_0x1a2b66(0x208)]['pipe'](_0x210123(_0x42ace7=>_0x42ace7[_0x1a2b66(0x39d)]===_0x1b96b7['UPDATE_PERMISSION_OBJ']),_0x585a8a(this[_0x1a2b66(0x3e7)]))[_0x1a2b66(0x196)](_0xc7adc8=>{const _0x2b6337=_0x1a2b66,_0x526fc7=_0xc7adc8,{objectId:_0x26c312}=_0x526fc7[_0x2b6337(0x28d)],_0x5c039e=this[_0x2b6337(0x13e)][_0x2b6337(0x3f6)](_0x1b4740);_0x26c312===_0x16b0c9?_0x5c039e['initWorkbookPermissionChange'](_0x16b0c9):_0x5c039e[_0x2b6337(0x1af)](_0x16b0c9,_0x26c312);});};_0x3c419a(this[_0x19846c(0x187)][_0x19846c(0xa1)](_0x11a8a2['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11a8a2['UNIVER_DOC']))[_0x19846c(0x27c)](_0x1864e2(_0x328c8f=>_0x328c8f[_0x19846c(0x480)]()),_0x210123(_0x2f7d63=>!_0x32fb48(_0x2f7d63)),_0x585a8a(this[_0x19846c(0x3e7)]))[_0x19846c(0x196)](_0x152fcc=>{_0x117697(_0x152fcc);});}};Ht=Jc([et(0x0,_0x1273b4(_0x3c8419)),et(0x1,_0x1d1a83),et(0x2,_0x4a5194),et(0x3,_0x1273b4(xe)),et(0x4,_0x1273b4(_0x582404))],Ht);var Zc=Object[_0x30c112(0x28e)],Qc=Object[_0x30c112(0x1e3)],eh=(_0x5bcd8b,_0x14fc48,_0x106202,_0x3786f0)=>{const _0x30da18=_0x30c112;for(var _0x2ba2cb=_0x3786f0>0x1?void 0x0:_0x3786f0?Qc(_0x14fc48,_0x106202):_0x14fc48,_0x16c665=_0x5bcd8b[_0x30da18(0xd3)]-0x1,_0x506f08;_0x16c665>=0x0;_0x16c665--)(_0x506f08=_0x5bcd8b[_0x16c665])&&(_0x2ba2cb=(_0x3786f0?_0x506f08(_0x14fc48,_0x106202,_0x2ba2cb):_0x506f08(_0x2ba2cb))||_0x2ba2cb);return _0x3786f0&&_0x2ba2cb&&Zc(_0x14fc48,_0x106202,_0x2ba2cb),_0x2ba2cb;},Ei=(_0x45ca9d,_0x2edb72)=>(_0x3acb20,_0x2c7344)=>_0x2edb72(_0x3acb20,_0x2c7344,_0x45ca9d);let Ss=class{constructor(_0x5d67c0,_0x4a6505){const _0x1b200f=_0x30c112;this[_0x1b200f(0x42c)]=_0x5d67c0,this[_0x1b200f(0x159)]=_0x4a6505;}async['getUnitOnRev'](_0x15cde9,_0x350e55){const _0x5c36a4=_0x30c112;var _0x3bdf8e;const {unitID:_0x34ad52,type:_0x49cf96,revision:_0xcc5a59=0x0}=_0x350e55,_0x1e600c=this['getSnapshotAPIPath']()+'/'+_0x49cf96+_0x5c36a4(0xfc)+_0x34ad52+_0x5c36a4(0x30f)+_0xcc5a59,_0x16c5ae=(await this[_0x5c36a4(0x159)][_0x5c36a4(0x3f6)](_0x1e600c))[_0x5c36a4(0x2f0)],_0x43ce8c=(_0x3bdf8e=_0x16c5ae['snapshot'])==null?void 0x0:_0x3bdf8e[_0x5c36a4(0x13f)];if(_0x43ce8c){const _0x301209=_0x43ce8c==null?void 0x0:_0x43ce8c[_0x5c36a4(0x411)],_0x2ef873=_0x4339d2['encode'](_0x443e00(_0x301209));_0x43ce8c[_0x5c36a4(0x411)]=_0x2ef873,Object[_0x5c36a4(0x191)](_0x43ce8c[_0x5c36a4(0x37e)])[_0x5c36a4(0x241)](([,_0x5dca0e])=>{const _0x13f465=_0x5c36a4,_0x54f636=_0x5dca0e[_0x13f465(0x411)],_0x3824b0=_0x4339d2[_0x13f465(0x2ed)](_0x443e00(_0x54f636));_0x5dca0e[_0x13f465(0x411)]=_0x3824b0;});}return _0x16c5ae;}async[_0x30c112(0x41d)](_0x3cb6f6,_0x892197){const _0x47c160=_0x30c112,{unitID:_0x144169,type:_0x1d9981,blockID:_0x49e2d8}=_0x892197,_0x29d43a=this[_0x47c160(0x2d0)]()+'/'+_0x1d9981+_0x47c160(0xfc)+_0x144169+'/block/'+_0x49e2d8;return(await this[_0x47c160(0x159)][_0x47c160(0x3f6)](_0x29d43a))[_0x47c160(0x2f0)];}async['getDeserializedSheetBlock'](_0x20e044,_0x48b455){const _0x4612c8=_0x30c112,{unitID:_0x38dea3,type:_0x348a5d,blockID:_0x54b214}=_0x48b455,_0x4135d2=this[_0x4612c8(0x2d0)]()+'/block/'+_0x348a5d+'/unit/'+_0x38dea3+_0x4612c8(0x111)+_0x54b214;return(await this[_0x4612c8(0x159)][_0x4612c8(0x3f6)](_0x4135d2))[_0x4612c8(0x2f0)];}async[_0x30c112(0x493)](_0x22eace,_0x1cf798){const _0x562a2e=_0x30c112,{unitID:_0x48b647,type:_0x3c969a,from:_0x377e60,to:_0x3cec73}=_0x1cf798,_0x9fd2c2=this['_getAPIPrefix']()+'/'+_0x3c969a+_0x562a2e(0xfc)+_0x48b647+_0x562a2e(0xc4)+_0x377e60+_0x562a2e(0x144)+_0x3cec73;return(await this['_httpService'][_0x562a2e(0x3f6)](_0x9fd2c2))['body'];}['getSnapshotAPIPath'](){const _0x16a903=_0x30c112;var _0x57ccd8;return(_0x57ccd8=this[_0x16a903(0x42c)][_0x16a903(0x116)](Tn))!=null?_0x57ccd8:this[_0x16a903(0x2d0)]();}[_0x30c112(0x2d0)](){const _0xfaf264=_0x30c112;var _0x358fd7,_0xc57a7d;const _0xcf1458=this[_0xfaf264(0x42c)]['getConfig'](En),_0x3d36db=this[_0xfaf264(0x42c)][_0xfaf264(0x116)](Q);return(_0xc57a7d=(_0x358fd7=_0x3d36db==null?void 0x0:_0x3d36db[_0xfaf264(0x257)])!=null?_0x358fd7:_0xcf1458)!=null?_0xc57a7d:bn;}async['getResourcesRequest'](_0x531eac,_0x6b12ba){const _0x505770=_0x30c112,_0x5eb97f=_0x505770(0x2b5)+_0x6b12ba['type']+_0x505770(0xfc)+_0x6b12ba[_0x505770(0x499)]+'/resources';return(await this[_0x505770(0x159)]['get'](_0x5eb97f,{'params':{'resourceId':JSON[_0x505770(0x19d)](_0x6b12ba[_0x505770(0x143)])}}))[_0x505770(0x2f0)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30c112(0xb5)](){const _0x1a142d=_0x30c112;throw new Error(_0x1a142d(0x128));}[_0x30c112(0x38e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30c112(0x1df)](){const _0x35a96e=_0x30c112;throw new Error(_0x35a96e(0x128));}['getLatestCsReqIdBySid'](){const _0x396a02=_0x30c112;throw new Error(_0x396a02(0x128));}};Ss=eh([Ei(0x0,_0x4d1776),Ei(0x1,_0x1273b4(_0x259d97))],Ss);var th=Object[_0x30c112(0x28e)],sh=Object[_0x30c112(0x1e3)],ih=(_0x543138,_0x5c3234,_0x53200b,_0xd4562f)=>{const _0x526b1a=_0x30c112;for(var _0x572e96=_0xd4562f>0x1?void 0x0:_0xd4562f?sh(_0x5c3234,_0x53200b):_0x5c3234,_0x17e928=_0x543138[_0x526b1a(0xd3)]-0x1,_0xdc7a6a;_0x17e928>=0x0;_0x17e928--)(_0xdc7a6a=_0x543138[_0x17e928])&&(_0x572e96=(_0xd4562f?_0xdc7a6a(_0x5c3234,_0x53200b,_0x572e96):_0xdc7a6a(_0x572e96))||_0x572e96);return _0xd4562f&&_0x572e96&&th(_0x5c3234,_0x53200b,_0x572e96),_0x572e96;},tt=(_0x3f2f62,_0x551dea)=>(_0xfa01b,_0x39f8df)=>_0x551dea(_0xfa01b,_0x39f8df,_0x3f2f62);let Is=class extends _0xb09a2c{constructor(_0xb220ec,_0x166ff8,_0x37be06,_0xf45361,_0x50d899){const _0x3ade2a=_0x30c112;super(_0xb220ec,_0x166ff8,_0x37be06),this[_0x3ade2a(0x3b9)]=_0xf45361,this[_0x3ade2a(0x123)]=_0x50d899;}[_0x30c112(0x376)](_0x4eaac9,_0x62967e){const _0x40fda6=_0x30c112,_0x3b0f14=this[_0x40fda6(0x3e4)](_0x4eaac9);if(_0x3b0f14)try{const _0x199906=this[_0x40fda6(0xe9)](_0x3b0f14,_0x62967e);this['_substituteUndoStack'](_0x4eaac9,_0x199906);}catch(_0x17e1e6){this[_0x40fda6(0x123)]['error'](_0x40fda6(0x19c),_0x17e1e6),this[_0x40fda6(0xc3)](_0x4eaac9);}const _0x3f99c8=this[_0x40fda6(0x3f4)](_0x4eaac9);if(_0x3f99c8)try{const _0x3a6ead=this[_0x40fda6(0xe9)](_0x3f99c8,_0x62967e);this[_0x40fda6(0x44f)](_0x4eaac9,_0x3a6ead);}catch(_0x279c7f){this[_0x40fda6(0x123)][_0x40fda6(0x3de)](_0x279c7f),this[_0x40fda6(0x250)](_0x4eaac9);}}[_0x30c112(0xc3)](_0x220867){const _0x4341d6=_0x30c112,_0x4ec111=this[_0x4341d6(0x3e4)](_0x220867);_0x4ec111&&(_0x4ec111[_0x4341d6(0xd3)]=0x0,this[_0x4341d6(0x9f)]());}[_0x30c112(0x250)](_0x44f706){const _0x1ad264=_0x30c112,_0x5a9813=this['_getRedoStack'](_0x44f706);_0x5a9813&&(_0x5a9813[_0x1ad264(0xd3)]=0x0,this[_0x1ad264(0x9f)]());}[_0x30c112(0x167)](_0x258d0a,_0x560b59){const _0x2b9547=_0x30c112;this[_0x2b9547(0x449)][_0x2b9547(0x34b)](_0x258d0a,_0x560b59),this[_0x2b9547(0x9f)]();}['_substituteRedoStack'](_0xf85a5a,_0x484da8){const _0xb7b7e5=_0x30c112;this['_redoStacks'][_0xb7b7e5(0x34b)](_0xf85a5a,_0x484da8),this[_0xb7b7e5(0x9f)]();}['_transformStack'](_0x198002,_0x84c3fb){const _0x5bbde6=_0x30c112,_0x2384ca=[];let _0x249cb6=_0x84c3fb,_0x4b523d=_0x84c3fb;for(let _0x1d5d9a=_0x198002['length']-0x1;_0x1d5d9a>=0x0;_0x1d5d9a--){const {unitID:_0x5f1211,undoMutations:_0x5ddb81,redoMutations:_0x57440b}=_0x198002[_0x1d5d9a],_0x5330c3=this[_0x5bbde6(0x3b9)][_0x5bbde6(0x334)](_0x249cb6,_0x5ddb81),_0x54433b=this['_transformService'][_0x5bbde6(0x334)](_0x4b523d,_0x57440b);if(_0x330507(_0x5330c3)||_0x330507(_0x54433b)){this['_logService'][_0x5bbde6(0x3de)](_0x5bbde6(0x19c),_0x5bbde6(0x3fa),_0x5330c3,_0x54433b);break;}_0x249cb6=_0x5330c3['c1Prime'],_0x4b523d=_0x54433b['c1Prime'],_0x2384ca[_0x5bbde6(0xd6)]({'unitID':_0x5f1211,'undoMutations':_0x5330c3[_0x5bbde6(0x27d)],'redoMutations':_0x54433b[_0x5bbde6(0x27d)]});}return _0x2384ca[_0x5bbde6(0x331)]();}};Is=ih([tt(0x0,_0x1d1a83),tt(0x1,_0x3364ad),tt(0x2,_0x5c23fd),tt(0x3,_0xf205f5),tt(0x4,_0x164f73)],Is);class rh extends _0x43d55d{constructor(){const _0x4a6c6d=_0x30c112;super(),g(this,_0x4a6c6d(0x343)),this[_0x4a6c6d(0x343)]=_0x1700cb(window,_0x4a6c6d(0x3c1))[_0x4a6c6d(0x27c)](_0x4d1973(this[_0x4a6c6d(0x3e7)]),_0x1ee9d9(0x1),_0x42e3d4(void 0x0));}[_0x30c112(0x31a)](_0x1a15c5,_0xd8fab2,_0x746b89=!0x1){const _0xb9c606=_0x30c112,_0x5afd6b=new URL(window[_0xb9c606(0x321)][_0xb9c606(0x477)]);_0x5afd6b[_0xb9c606(0x162)][_0xb9c606(0x34b)](_0x1a15c5,_0xd8fab2),_0x746b89?window[_0xb9c606(0x394)][_0xb9c606(0x37a)]('','',_0x5afd6b[_0xb9c606(0x1ae)]()):window[_0xb9c606(0x394)]['pushState']('','',_0x5afd6b['toString']());}[_0x30c112(0xd9)](_0x31137b,_0x22901b=!0x1){const _0x3d3e7f=_0x30c112,_0x1b44f5=new URL(window[_0x3d3e7f(0x321)]['href']);_0x1b44f5['searchParams']['delete'](_0x31137b),_0x22901b?window[_0x3d3e7f(0x394)][_0x3d3e7f(0x37a)]('','',_0x1b44f5['toString']()):window[_0x3d3e7f(0x394)]['pushState']('','',_0x1b44f5[_0x3d3e7f(0x1ae)]());}[_0x30c112(0x2c2)](_0x432d2f){const _0x151cbd=_0x30c112;var _0x32904d;return(_0x32904d=new URL(window[_0x151cbd(0x321)][_0x151cbd(0x477)])['searchParams'][_0x151cbd(0x3f6)](_0x432d2f))!=null?_0x32904d:void 0x0;}}var ar=Object[_0x30c112(0x28e)],nh=Object[_0x30c112(0x1e3)],oh=(_0x203615,_0x55b8c6,_0x4a594e)=>_0x55b8c6 in _0x203615?ar(_0x203615,_0x55b8c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a594e}):_0x203615[_0x55b8c6]=_0x4a594e,ah=(_0x47c49c,_0x32b9a3,_0x3fc451,_0x1bd10b)=>{const _0x295fa0=_0x30c112;for(var _0x3859c9=_0x1bd10b>0x1?void 0x0:_0x1bd10b?nh(_0x32b9a3,_0x3fc451):_0x32b9a3,_0x38f48b=_0x47c49c[_0x295fa0(0xd3)]-0x1,_0x5e64be;_0x38f48b>=0x0;_0x38f48b--)(_0x5e64be=_0x47c49c[_0x38f48b])&&(_0x3859c9=(_0x1bd10b?_0x5e64be(_0x32b9a3,_0x3fc451,_0x3859c9):_0x5e64be(_0x3859c9))||_0x3859c9);return _0x1bd10b&&_0x3859c9&&ar(_0x32b9a3,_0x3fc451,_0x3859c9),_0x3859c9;},_t=(_0x29a0be,_0x51963f)=>(_0xb95897,_0x41da7f)=>_0x51963f(_0xb95897,_0x41da7f,_0x29a0be),ch=(_0x5524bc,_0x10f707,_0x52602a)=>oh(_0x5524bc,_0x10f707+'',_0x52602a);const hh='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Cs=class extends _0x197194{constructor(_0x473436=Bn,_0x82c8fc,_0x404338,_0x26a842,_0x5df3de){const _0x43125a=_0x30c112;super(),this[_0x43125a(0x8f)]=_0x473436,this['_logService']=_0x82c8fc,this[_0x43125a(0x444)]=_0x404338,this[_0x43125a(0x13e)]=_0x26a842,this[_0x43125a(0x42c)]=_0x5df3de;const {..._0x158b9f}=this[_0x43125a(0x8f)];this[_0x43125a(0x42c)]['setConfig'](Q,_0x158b9f);}[_0x30c112(0x4a0)](){const _0x102faf=_0x30c112;this[_0x102faf(0x3be)](),this[_0x102faf(0x16d)]();}[_0x30c112(0x1e7)](){_0x2c0e53(this['_injector'],[[xt],[Ut]]);}[_0x30c112(0x14b)](){this['_registerRenderDependencies']();}[_0x30c112(0x3be)](){const _0x3c3232=_0x30c112;var _0x3ca490,_0x4a17f7,_0x2a5a02,_0x227e18;this[_0x3c3232(0x13e)][_0x3c3232(0x120)](_0x603285)&&this['_logService'][_0x3c3232(0x3de)](_0x3c3232(0x3cc),_0x3c3232(0x363));const _0x19e2ac=[[_0x603285,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x10c7f1],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x4a17f7=(_0x3ca490=this['_config'])==null?void 0x0:_0x3ca490[_0x3c3232(0x4a2)])!=null?_0x4a17f7:cs}],[_0x1745f9,{'useClass':Ss}],[_0x3254e7,{'useClass':ps}],[_0x4cbe92,{'useClass':ms}],[_0x57e999,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x2a5a02=this[_0x3c3232(0x8f)])!=null&&_0x2a5a02[_0x3c3232(0x199)]&&_0x19e2ac[_0x3c3232(0xd6)]([jt,{'useClass':Co}]),_0x26569a(this[_0x3c3232(0x13e)],_0x306d11(_0x19e2ac,(_0x227e18=this[_0x3c3232(0x8f)])==null?void 0x0:_0x227e18[_0x3c3232(0x3d6)]));}[_0x30c112(0x15b)](){const _0x4e70e6=_0x30c112;this[_0x4e70e6(0x12b)](this['_renderManagerService'][_0x4e70e6(0xef)](_0x11a8a2[_0x4e70e6(0x1d7)],[fs])),this[_0x4e70e6(0x12b)](this[_0x4e70e6(0x444)][_0x4e70e6(0xef)](_0x11a8a2[_0x4e70e6(0x335)],[vs]));}['_initDependencies'](){const _0x2e614f=_0x30c112;var _0x237ab9,_0x21e3ab;this[_0x2e614f(0x13e)]['get'](_0x259d97)[_0x2e614f(0xf6)]({'priority':0x14,'interceptor':_0x4e8127({'maxParallel':0x6})}),(_0x237ab9=this[_0x2e614f(0x8f)])!=null&&_0x237ab9[_0x2e614f(0x41e)]||this[_0x2e614f(0x13e)]['get'](z)[_0x2e614f(0x245)](),(_0x21e3ab=this[_0x2e614f(0x8f)])!=null&&_0x21e3ab[_0x2e614f(0xe8)]&&_0x2c0e53(this[_0x2e614f(0x13e)],[[Lt]]),_0x2c0e53(this[_0x2e614f(0x13e)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x30c112(0x34e),hh),Cs=ah([_0x1480db(_0xd9ebf8,_0x279cc7),_t(0x1,_0x164f73),_t(0x2,_0x87c24b),_t(0x3,_0x1273b4(_0x3c8419)),_t(0x4,_0x4d1776)],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 _0x2a3857=_0x5b8f;(function(_0x7a1921,_0x55b062){var _0x5c899e=_0x5b8f,_0x5241f3=_0x7a1921();while(!![]){try{var _0x4e08f1=-parseInt(_0x5c899e(0x175))/0x1*(parseInt(_0x5c899e(0x3eb))/0x2)+-parseInt(_0x5c899e(0x248))/0x3+-parseInt(_0x5c899e(0x1cb))/0x4*(parseInt(_0x5c899e(0x306))/0x5)+parseInt(_0x5c899e(0x2ce))/0x6+-parseInt(_0x5c899e(0x144))/0x7*(-parseInt(_0x5c899e(0x3e8))/0x8)+parseInt(_0x5c899e(0x200))/0x9+parseInt(_0x5c899e(0x27e))/0xa;if(_0x4e08f1===_0x55b062)break;else _0x5241f3['push'](_0x5241f3['shift']());}catch(_0x22b799){_0x5241f3['push'](_0x5241f3['shift']());}}}(_0x4544,0x1b117));var $i=Object[_0x2a3857(0x239)],Hi=(_0x1bb018,_0x581ccb,_0x5ab827)=>_0x581ccb in _0x1bb018?$i(_0x1bb018,_0x581ccb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ab827}):_0x1bb018[_0x581ccb]=_0x5ab827,P=(_0x4a5231,_0x5d1b7b,_0x46e8a1)=>Hi(_0x4a5231,typeof _0x5d1b7b!='symbol'?_0x5d1b7b+'':_0x5d1b7b,_0x46e8a1);import{createIdentifier as _0x357b15,Inject as _0x21b3b2,Injector as _0x548366,Disposable as _0x2e140f,DisposableCollection as _0x595a80,toDisposable as _0x30af1d,IConfigService as _0x24bebb,ILogService as _0x4e1c8f,UserManagerService as _0xba64f5,UniverInstanceType as _0x465e07,IUniverInstanceService as _0x40e127,LocaleService as _0x551f00,Optional as _0x10c77b,RxDisposable as _0x3f0249,Tools as _0x57b57d,Rectangle as _0x1aad94,ICommandService as _0xd6fdcf,JSONX as _0x32150e,CommandType as _0xab8d9d,IPermissionService as _0x1c05e3,IUndoRedoService as _0x34b8e6,sequenceExecute as _0x595582,Workbook as _0x115f48,MentionType as _0x4eb276,IAuthzIoService as _0x1ee820,isInternalEditorID as _0xc08f6c,LocalUndoRedoService as _0x2afa4d,IContextService as _0x46761c,DependentOn as _0x4f1cae,Plugin as _0x42c4cc,merge as _0x46b3fd,mergeOverrideWithDependencies as _0x1114da,IMentionIOService as _0x50db1d,registerDependencies as _0xb389a8,Quantity as _0x5e9174,touchDependencies as _0x1673c2}from'@univerjs/core';import{Subject as _0x282fa7,merge as _0xc9cdeb,of as _0x59284b,BehaviorSubject as _0x500ff8,takeUntil as _0x49b26f,ReplaySubject as _0x290582,take as _0x20e9c1,map as _0x45e7c7,shareReplay as _0x2bcada,firstValueFrom as _0x3b9423,concatMap as _0xdf9ab4}from'rxjs';import{map as _0x4bf464,take as _0x2fc287,filter as _0x5bfb9e,delay as _0x1e0965,takeUntil as _0x3ba3cf}from'rxjs/operators';import{HTTPService as _0x4fa095,ISocketService as _0x4f6f60,MergeInterceptorFactory as _0x105041,HTTPRequest as _0x4403e8,UniverNetworkPlugin as _0x5774e3,ThresholdInterceptorFactory as _0x32651a}from'@univerjs/network';import{CollaborationEvent as _0x562849,parseChangesetToProtocol as _0x1a5c1c,ISnapshotServerService as _0x2b19c8,isTransformMutationsWithChangesetSuccess as _0x17f224,ITransformService as _0x59eb83,mapDocumentTypeToUniverType as _0x5f2b7f,RevisionService as _0x49a07f,isTransformChangesetsSuccess as _0x41a995,CompressMutationService as _0x53db64,parseProtocolChangeset as _0x286142,SnapshotService as _0x2546f0,textEncoder as _0x56aad7,b64DecodeUnicode as _0x2a92b6,isTransformMutationsWithChangesetFailure as _0x3977b7,UniverCollaborationPlugin as _0x822522}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xad6476}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x117fd1}from'@univerjs/docs';import{SheetsSelectionsService as _0x5c7668,SetSelectionsOperation as _0x4301b8,InsertSheetMutation as _0x5b2210,EmptyMutation as _0x14880c,WorkbookEditablePermission as _0x39ae2d,UnitObject as _0x4172eb,defaultWorkbookPermissionPoints as _0x5b7918,getAllWorkbookPermissionPoint as _0x3e17f7,WorksheetProtectionRuleModel as _0xc125ce,baseProtectionActions as _0xef18b8,getAllWorksheetPermissionPoint as _0x1553e5,WorksheetProtectionPointModel as _0x12954f,defaultWorksheetPermissionPoint as _0x3a77ca,getAllWorksheetPermissionPointByPointPanel as _0x7e5269,RangeProtectionRuleModel as _0x5b5e96,getAllRangePermissionPoint as _0x13122b,UniverSheetsPlugin as _0x273cfc}from'@univerjs/sheets';import{ImageSourceType as _0x1588b5,ImageUploadStatusType as _0xf0a3d5,IImageIoService as _0x667393}from'@univerjs/drawing';import{getGlobalObject as _0x57f2ea}from'@univerjs-pro/license';const Dn=_0x2a3857(0x13e),wn=_0x2a3857(0x38f),Un=_0x2a3857(0x136),_o=_0x2a3857(0x22b),An=0x7d0,xn=_0x2a3857(0x3cc),Ln=_0x2a3857(0x249),Mn=_0x2a3857(0x3f4),$n=_0x2a3857(0x33e),Hn=0x7530,Ii=_0x2a3857(0x36b),Ti=0x4e20,kn=0x4e20,jn='RETRY_CONNECTING_MAX_COUNT',Bn=0x3,lo=_0x2a3857(0x17c),uo=0x3e8,Fn=_0x2a3857(0x1ed),Vn='/universer-api/comb',Wn=_0x2a3857(0x201),Gn='/universer-api/oidc/authpage',fo=_0x2a3857(0x188),vo=_0x2a3857(0x171);var Ci=(_0x4e1310=>(_0x4e1310[_0x4e1310[_0x2a3857(0x3df)]=0x0]=_0x2a3857(0x3df),_0x4e1310[_0x4e1310['OK']=0x1]='OK',_0x4e1310[_0x4e1310[_0x2a3857(0x381)]=0x2]=_0x2a3857(0x381),_0x4e1310[_0x4e1310['PERMISSION_DENIED']=0x3]=_0x2a3857(0x13f),_0x4e1310[_0x4e1310[_0x2a3857(0x308)]=0x4]=_0x2a3857(0x308),_0x4e1310[_0x4e1310[_0x2a3857(0x164)]=0x5]=_0x2a3857(0x164),_0x4e1310[_0x4e1310[_0x2a3857(0x26a)]=0x6]=_0x2a3857(0x26a),_0x4e1310[_0x4e1310[_0x2a3857(0x29b)]=0x7]=_0x2a3857(0x29b),_0x4e1310[_0x4e1310[_0x2a3857(0x286)]=0x8]=_0x2a3857(0x286),_0x4e1310[_0x4e1310[_0x2a3857(0x3ae)]=0x9]='COMPLETION_FINISHED',_0x4e1310[_0x4e1310[_0x2a3857(0x170)]=0x1389]=_0x2a3857(0x170),_0x4e1310[_0x4e1310[_0x2a3857(0x41f)]=0x1771]=_0x2a3857(0x41f),_0x4e1310[_0x4e1310[_0x2a3857(0x277)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4e1310[_0x4e1310[_0x2a3857(0x231)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4e1310[_0x4e1310[_0x2a3857(0x3bc)]=0x1b59]=_0x2a3857(0x3bc),_0x4e1310[_0x4e1310[_0x2a3857(0x2f4)]=0x1b5a]=_0x2a3857(0x2f4),_0x4e1310[_0x4e1310[_0x2a3857(0x2d1)]=0x1b5b]=_0x2a3857(0x2d1),_0x4e1310[_0x4e1310[_0x2a3857(0x198)]=0x1b5c]=_0x2a3857(0x198),_0x4e1310[_0x4e1310[_0x2a3857(0x2e8)]=0x1b5d]=_0x2a3857(0x2e8),_0x4e1310[_0x4e1310[_0x2a3857(0x3b0)]=0x1f41]=_0x2a3857(0x3b0),_0x4e1310[_0x4e1310[_0x2a3857(0x199)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4e1310[_0x4e1310[_0x2a3857(0x3d3)]=0x232a]=_0x2a3857(0x3d3),_0x4e1310[_0x4e1310['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4e1310[_0x4e1310[_0x2a3857(0x319)]=0x232c]=_0x2a3857(0x319),_0x4e1310[_0x4e1310[_0x2a3857(0x37c)]=0x232d]=_0x2a3857(0x37c),_0x4e1310[_0x4e1310[_0x2a3857(0x2aa)]=0x2711]=_0x2a3857(0x2aa),_0x4e1310[_0x4e1310[_0x2a3857(0x15d)]=0x2712]=_0x2a3857(0x15d),_0x4e1310[_0x4e1310[_0x2a3857(0x34a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4e1310[_0x4e1310[_0x2a3857(0x1bf)]=0x2714]=_0x2a3857(0x1bf),_0x4e1310[_0x4e1310[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x4e1310))(Ci||{}),Q=(_0x231346=>(_0x231346[_0x231346[_0x2a3857(0x2e2)]=0x0]=_0x2a3857(0x2e2),_0x231346[_0x231346[_0x2a3857(0x1d6)]=0x1]=_0x2a3857(0x1d6),_0x231346[_0x231346['UNIVER_SHEET']=0x2]=_0x2a3857(0x292),_0x231346[_0x231346['UNIVER_SLIDE']=0x3]=_0x2a3857(0x203),_0x231346[_0x231346[_0x2a3857(0x3fe)]=0x4]=_0x2a3857(0x3fe),_0x231346[_0x231346[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x231346))(Q||{}),F=(_0x11b0c5=>(_0x11b0c5[_0x11b0c5[_0x2a3857(0x22f)]=0x0]=_0x2a3857(0x22f),_0x11b0c5[_0x11b0c5[_0x2a3857(0x121)]=0x1]=_0x2a3857(0x121),_0x11b0c5[_0x11b0c5[_0x2a3857(0x149)]=0x2]=_0x2a3857(0x149),_0x11b0c5[_0x11b0c5[_0x2a3857(0x18f)]=0x3]='LEAVE',_0x11b0c5[_0x11b0c5['INGEST']=0x4]=_0x2a3857(0x3a5),_0x11b0c5[_0x11b0c5[_0x2a3857(0x354)]=0x5]=_0x2a3857(0x354),_0x11b0c5[_0x11b0c5[_0x2a3857(0x173)]=0x6]=_0x2a3857(0x173),_0x11b0c5[_0x11b0c5[_0x2a3857(0x35d)]=-0x1]='UNRECOGNIZED',_0x11b0c5))(F||{}),Ee=(_0x39efc=>(_0x39efc[_0x39efc[_0x2a3857(0x127)]=0x0]='UNKNOWN_CODE',_0x39efc[_0x39efc['OK']=0x1]='OK',_0x39efc[_0x39efc['FAIL']=0x2]=_0x2a3857(0x296),_0x39efc[_0x39efc[_0x2a3857(0x20c)]=0x3e9]=_0x2a3857(0x20c),_0x39efc[_0x39efc[_0x2a3857(0x1af)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x39efc[_0x39efc[_0x2a3857(0x12f)]=0x3eb]=_0x2a3857(0x12f),_0x39efc[_0x39efc[_0x2a3857(0x16a)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x39efc[_0x39efc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x39efc))(Ee||{}),bi=(_0x226861=>(_0x226861[_0x226861[_0x2a3857(0x1a0)]=0x0]='Undefined',_0x226861[_0x226861[_0x2a3857(0x3be)]=0x1]=_0x2a3857(0x3be),_0x226861[_0x226861[_0x2a3857(0x24c)]=0x2]=_0x2a3857(0x24c),_0x226861[_0x226861[_0x2a3857(0x215)]=0x3]='UnitEmbedded',_0x226861[_0x226861[_0x2a3857(0x135)]=0x4]=_0x2a3857(0x135),_0x226861[_0x226861[_0x2a3857(0x35d)]=-0x1]=_0x2a3857(0x35d),_0x226861))(bi||{});const Y='collaboration-client.config',zt={};var re=(_0x2a6a34=>(_0x2a6a34['OTHER_CLIENT_EDITING']=_0x2a3857(0x3c4),_0x2a6a34['PERMISSION_DENIED']=_0x2a3857(0x13f),_0x2a6a34['CONFLICT']=_0x2a3857(0x1dc),_0x2a6a34[_0x2a3857(0x165)]=_0x2a3857(0x165),_0x2a6a34[_0x2a3857(0x39e)]=_0x2a3857(0x39e),_0x2a6a34['SOCKET_FAILED_RETRY']=_0x2a3857(0x220),_0x2a6a34[_0x2a3857(0x34c)]='SOCKET_FAILED',_0x2a6a34['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x2a6a34))(re||{});class pe{constructor(){var _0x55120f=_0x2a3857;P(this,_0x55120f(0x3e6),new _0x282fa7()),P(this,'event$',this[_0x55120f(0x3e6)]['asObservable']());}[_0x2a3857(0x3db)](_0x437eaf){var _0x187df4=_0x2a3857;this[_0x187df4(0x3e6)][_0x187df4(0x386)](_0x437eaf);}}const Kn=_0x357b15(_0x2a3857(0x2e3));function _0x4544(){var _0x33b2f8=['APPLY_REJECT','setWaitCount','HttpImport','clone','socket\x20close','pauseCollaboration','univer-pro.collaboration-client.single-active-unit-service','CHANGESET_SHOULD_RETRY','OTHER_CLIENT_EDITING','isPermissionRej','randomBytes','_getCurrentRevision','_reverseMap','_submitChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','ERROR_IMAGE_TYPE','COLLAB_WEB_SOCKET_URL','_univerInstanceService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_pendingMutations','textRanges','_getSessionTicket','set','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','updateCursorEvent','requestParams','rev','dispose','downloadEndpointUrl','resourceIDs','newCsEvent','emitEvent','state$','capture','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNDEFINED','/new_changes','/unit/','readAsDataURL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationState]:\x20apply\x20error!','_initUnitPermissionChange','_event$','NO_OTHER_CLIENTS_EDITING','8EbBBMv','[CollaborationSessionService]','create','162SPUNVU','refreshPermission','getCurrentUser','_toggleOffline','subType','_applyRemoteChangeset','joinRsp','csRejEvent','[SyncedState]:\x20received\x20rejection.','/universer-api/user/session-ticket','session','deepClone','getInterceptPoints','SUCCUSS','createDecryptor','UUID','fromCharCode','actions','unsubscribe','UNIVER_PROJECT','min','_transitionLocked','crypto','iterations','collabSubmitChangesetUrl','setCurrentUser','_sessions','_initRequestHeader','sigBytes','[DataLoaderService]','/object','_members','&to=','result','has','IDLE','conflict','_retryCount','requireSession','debug','override','exports','\x20-\x20','AES','image/png','_createHandler','Pkcs7','_onOffline','_onRemoteRejected','_initMergeInterceptor','toLowerCase','_sender','SNAPSHOT_INVALID_SNAPSHOT','_http','getCurrentRevOfUnit','incrementRevOfUnit','onRemoteRej','_networkConditionService','error','/universer-api/file/{fileID}/sign-url','_onFetchMissResult','mixIn','socketService','_permissionService','_getRedoStack','url','HELLO','getConfig','ceil','SUBMIT_CHANGESET_TIMEOUT','_shouldReportTelemetry','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNKNOWN_CODE','registerHTTPInterceptor','objectID','every','_rescheduleHeartbeat','_isPermissionRej','userID','unitID','JOIN_ROOM_PERMISSION_DENIED','readyForCollab','put','_throwTelemetryCollaborationNewChangeset','getTime','initWorkbookPermissionChange','UnitSnapshot','SNAPSHOT_URL_KEY','getWorkbookSelections','&assign=','/rev/','href','data','Latin1','/object/','SNAPSHOT_SERVER_URL_KEY','PERMISSION_DENIED','MD5','_ENC_XFORM_MODE','findIndex','_commandService','977753TmQWqz','fetchThroughInterceptors','params','JOINING','_getUploadFileURL','JOIN','_clearRedo','session.room-permission-denied','random','_socket','algo','_tryReconnect','COMPRESS_MUTATION_APPLY','Cipher','rng','LIVESHARE_FETCH_OPERATIONS','_transformRemoteChangesetByIMECache','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','replace','_lockTransition','_injector','enableSingleActiveInstanceLock','call','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_localCacheService','YUUMI_URL_COL_OUT_OF_RANGE','loadSheet','ruleRefresh','_onConflict','unitId\x20is\x20not\x20found','blockSize','_unitID','UNAUTHENTICATED','CLOSE_ROOM','filter','_getSendChangesetTimeout','forEach','unitInfo$','GLOBAL_ROOMS_CNT_EXCEEDS','removeMember','CHANGESET_ACK','listRoles','subject','_sessionStatus$','CHANGESET_REVISION_CONFILICT','/universer-api/uniscript','_handlerCallback','RECV','NEW_CHANGESETS','2696McVgcZ','_iv','_snapshotService','stringify','focused$','_revisionService','snapshotServerUrl','LOCAL_CACHE_INTERVAL','fetchMiss','onTransformRemoteChangesetByIMECache','_socketReady','transformChangesets','_entities','encode','UPDATE_PERMISSION_OBJ','offline','_memberService','toggleOffline','getPermissionPoint','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','saveChangeset','setShowComponents','_emitMembers','FileId','extend','LEAVE','WordArray','_resendTimeout','then','_candidateSocket','memberID','mode','Decryptor','OPTIONAL','APPLY_PERMISSION_DENIED','LICENSE_MAX_UNITS_EXCEEDED','enableOfflineEditing','_loadSheet','save\x20fail\x20reason\x20is\x20','m2Prime','onStateChange','send','Undefined','body','_data','getLatestCsReqIdBySid','getMember','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','generateRandomId','delete','_hash','pad','_singleActiveUnitService','_HTTPService','image/bmp','_localeService','StreamCipher','JOIN_ROOM_NOT_EXISTS','Base','_collabSessionService','_getAPIPrefixPath','getTypeOfUnitAdded$','AUTHZ_URL_KEY','_socketService','_onJoinRoomEvent','_joinRoom','session.room-cnt-exceeds','CipherParams','_disableEditing','HMAC','hasher','lib','collaboration_new_changeset','YUUMI_SUBSCRIPTION_NOT_FOUND','unit-cache-','disposeWithMe','_getLoginPath','add','transformMutationsWithChangeset','getSheetId','onMissedChangesetFetched','commentUpdate$','editing\x20status\x20changed\x20to','getImageSourceCache','_config','196cxCxUj','clamp','_transformRemoteChangesetByStateCache','type','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onSyncEditingCollabCursor','CHANGESET_REJ','_checkMissing','infoRsp','_redoStacks','_keyPriorReset','UNIVER_DOC','revision','/fetchmissing?from=','[OfflineState]:\x20received\x20acknowledgement.','getDeserializedSheetBlock','[CollaborationSessionService]:\x20socket\x20error','CONFLICT','_toggleOnline','init','&source=','_updateLocalCache','_loadDoc','fetchMissingChangesets','getActiveSheet','_state$','unknown','_waitForHeartbeatResponse','FETCH_MISSING','encodeURIComponent','getOwnPropertyDescriptor','BufferedBlockAlgorithm','SHA1','Worksheet','COLLAB_SUBMIT_CHANGESET_URL','/-/object/-/batch_allowed','_replaceFileID','_sendingTimer','saveImage','_commentService','hostname','_onConnectionOpen','csShouldRetryEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','catch','post','key','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','value','keySize','synced','_key','90882ThzRQl','LOGIN_URL_KEY','_collaborationSessionService','UNIVER_SLIDE','connection\x20error','_configService','status','_process','_stopTelemetryCollaborationNewChangeset','Could\x20not\x20dynamically\x20require\x20\x22','_clearUndo','_map','JOIN_ROOM_FULL','open$','updatePermissionPoint','_changesetReqId','title','updateMember','USERS_LEAVE','startTime','runId','UnitEmbedded','/block/','_prevBlock','getAllMembers','compose','reject','origin','_append','get','charCodeAt','objects','SOCKET_FAILED_RETRY','members','onCommentUpdate','transformUndoRedo','_commentUpdate$','bind','reqId','_onLocalMutation','_retryConnectingTimer','__esModule','mutations','SEND_CHANGESET_TIMEOUT','updateCollaborator','/universer-api/snapshot/','prototype','UNKNOWN_CMD','_transformIMECache','ENSURE_SNAPSHOT_EXECUTION','onload','updateOfflineData','OpenSSL','Hex','searchParams','onSendChangeset','_hasher','defineProperty','floor','failed\x20to\x20apply\x20missed\x20changesets!','fetching\x20missing\x20changesets\x20from\x20','_members$','_iKey','_socketMessageSubscription','getImage','Base64','AWAITING','LIVESHARE_NEW_HOST','COMMENT_UPDATE','joinEvent','_timeoutTimer','slice','253392bBTlSn','ws://127.0.0.1:8000/universer-api/comb/connect','decryptBlock','max','HttpExport','search','_collaborationPaused','/universer-api/stream/file/upload','_resendTimer','words','LIVESHARE_REQUEST_HOST','onlyLocal','interceptor','_nRounds','loadUnit','getRandomValues','status$','_state','complete','commentUpdateEvent','shouldCloseConn','_createHelper','[CollaborationUndoRedoService]','wsSessionTicketUrl','PERSON','abs','_transformSelections','_sheetTransformSelectionsService','selections','c2Prime','_waitCount','_fetchMissChangesets','getResourcesRequest','target','ALREADY_EXISTS','_transformService','COMPRESS_MUTATION_SEND','/collaborator','retryConnectingInterval','saveSnapshot','transformStack\x20failed!','push','updatePermissionObjEvent','_acknowledgedAwaitingChangeset','getValue','Hasher','socket\x20open.','SNAPSHOT_HAS_BEEN_REMOVED','getUnitStatus$','enableAuthServer','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_telemetryInfo','editingUnit','name','2878330DelTMR','collaboratorID','size','_getAPIPrefix','reverse','getSheetBlock','AWAITING_WITH_PENDING','createSocket','TOO_MANY_REQUESTS','_socket$','onStarting','_incrementRevisionNumber','_nDataBytes','_updateStatus','toString','\x20in\x20_schedule.','unpad','getCollabEntity$','hasOwnProperty','_unlockTransition','UNIVER_SHEET','_type','_keySchedule','compute','FAIL','UPDATE_CURSOR','encrypt','members$','string','INVALID_ARGUMENT','range','ERROR_IMAGE','_substituteRedoStack','_decreaseWaiting','onRemoteAck','_init','error$','_entityInit$','method','_xformMode','from','_authzIoService','c1Prime','event$','YUUMI_UNABLE_LOAD_URL','_compressMutationService','_createSocket','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_invKeySchedule','[CollaborationSession]','join','[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.','list','uniscriptRunEvent','CBC','MSG_FOR_ERROR','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','unitId','closeSession','$super','_createSocketURL','onRemoteRetry','onTransformRemoteChangesetByStateCache','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','file','OTHER_CLIENTS_EDITING','repeat','executeCommand','POST','_onConnectionFailed','_telemetryService','BlockCipherMode','_getDownloadEndpointURL','localCacheService','csAckEvent','_onMessage','routeKey','subscribe','putCollaborators','_transformStack','1050834OoQhJo','_replayCachedMutations','Utf8','APPLY_REVISION_CONFILICT','_resendWithTimeout','apply','{fileID}','_getUndoStack','__creator','finalize','LIVESHARE_OPERATION','NoPadding','/universer-api/authz','[CollaborationEntity]','_onRemoteChangeset','state','_roomCreated$','[OfflineState]:\x20received\x20rejection.','asObservable','_imageSourceCache','UNIVER_UNKNOWN','univer-pro.collaboration-client.network-condition.service','_getSignURL','_startCollaboration','leaveEvent','_queuedRemoteChangesets','APPLY_DUPLICATED','resend','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','substr','padding','univer-pro.collaboration-client-socket-service','_scheduleCompleteTimestamp','_remoteChangesetQueue','onTransformState','_startTelemetryCollaborationNewChangeset','cfg','auth.needGotoLoginAlert','APPLY_NON_SEQUENTIAL_REVISION','close$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','saveSheetBlock','objectType','withCredentials','baseRev','randomUUID','FETCH_MISS','_scheduleCollaborationTimeoutTimer','BlockCipher','onTransformIME','image/jpeg','not_collab','function','_updateState','getCollabEntity','_createInitialState','20310AEFmLf','entityInit$','NOT_FOUND','[PendingState]:\x20received\x20rejection.','session.join-failed','_tryEnsureSocket','patch','_collaborationUIEventService','_roomMembers','awaiting','_snapshotServerService','awaiting_with_pending','liveShareNewHost','roles','now','_DEC_XFORM_MODE','fetch_missing','appendMutation','batchAllowed','LICENSE_EXPORT_SIZE_EXCEEDED','MUTATION','_sendHeartbeat','_change$','_removeRoom','objectActions','reset','_substituteUndoStack','_initDependencies','execute','localeService','sendChangesetTimeout','?url=','allowed','subUnitId','stopTime','_clearScheduledTask','kdf','OFFLINE','PENDING','_registerDependencies','length','indexOf','_httpService','message$','pluginName','telemetry\x20info\x20is\x20not\x20initialized','authzUrl','_logService','_doFinalize','format','onTransformSelections','getSnapshotAPIPath','_onUserJoin','headers','BASE64','x-univer-host','HEARTBEAT_INTERVAL','salt','UNISCRIPT_RUN','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','fromCollab','session.room-full','onRemoteChangeset','pending','ivSize','byteLength','PERMISSION_REJ','values','YUUMI_RATE_OVER_LIMIT','addHandlerCallback','SOCKET_FAILED','_status$','decrypt','_onCombEvent','changesets','_collaborationTimeoutTimer','SUBMIT_CHANGESET','getUnit','HEARTBEAT','_showConflictNotification','liveShareOperation','_mode','UNIVER_COLLABORATION_CLIENT_PLUGIN','_syncEditingCollabCursor','HmacSHA1','collaMsg','map','UNRECOGNIZED','createEncryptor','responseType','EvpKDF','toggleOnline','_cipher','\x0aAfter:\x20','clearUndoRedo','_awaitingChangeset','_doReset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialStateImpl','pipe','PSEUDO_FETCH_MISSING_RESULT','HEARTBEAT_TIMEOUT','formatter','People','resolve','_undoRedoService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','?size=','socket$','ciphertext','splice','_schedule','sessionStatus$','transformSelections','getUnitType','_doCryptBlock','USERS_ENTER','_sendHeartbeatTimer','LICENSE_DISTRO_REJECTED','/allowed','SelectRange','_onUserLeave','_oKey','INTERNAL_ERROR','default','eventID','close','sessionStatus','next','uploadFileServerUrl','_unitInfo$','parse','location','_instanceService','msCrypto','clear','sid','/universer-api/snapshot','Malformed\x20UTF-8\x20data','_doProcessBlock','_onRecvEvent','_parse','getTargetByPermissionId','_clearCollaborationTimeoutTimer','_handler','byteOffset','awaitingChangeset','_changesetSessionId','_initCloseConn','cmd','_eventService','code','JOIN_ROOM_FAILED','getTypeOfUnitDisposed$','_executeRemoteChangeset','startsWith','LIVESHARE_TERMINATE','change$','update','INGEST','createInstance','_getCtorByUniverType','collaborators','charAt','roomInfos','includes','loadOfflineData','action','COMPLETION_FINISHED','_clearHeartbeatTimer','CONNECTOR_DATA_TOO_LARGE','concat','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getCurrentUnitForType','getUnitId','_exhaustRemoteChangesetQueue','enc','sessionTicket','_transformStateCache','getMemberID','_userManagerService','dispose$'];_0x4544=function(){return _0x33b2f8;};return _0x4544();}function zn(_0x54b409){var _0x2306aa=_0x2a3857,_0x43c06b,_0xbad0dc,_0x50a7a3,_0x3c74e7,_0x70138e;const _0x4c0a63=_0x54b409[_0x2306aa(0x13b)],_0x4d46bf=JSON[_0x2306aa(0x389)](_0x4c0a63);switch(_0x4d46bf[_0x2306aa(0x39b)]){case F[_0x2306aa(0x354)]:case F[_0x2306aa(0x121)]:{const _0x45f629=_0x4d46bf[_0x2306aa(0x1d3)];return{..._0x4d46bf,'data':_0x45f629,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};}case F['JOIN']:{const _0x30c4a4=_0x4d46bf[_0x2306aa(0x3f1)];return{..._0x4d46bf,'data':_0x30c4a4,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};}case F[_0x2306aa(0x173)]:{const _0x2d7110=_0x4d46bf[_0x2306aa(0x35b)];switch(_0x2d7110[_0x2306aa(0x383)]){case _0x562849[_0x2306aa(0x348)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x43c06b=_0x2d7110['permissionRejEvent'])==null?void 0x0:_0x43c06b['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x16c)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0xbad0dc=_0x2d7110[_0x2306aa(0x2c8)])==null?void 0x0:_0xbad0dc['cs']},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x174)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x50a7a3=_0x2d7110[_0x2306aa(0x3da)])==null?void 0x0:_0x50a7a3['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x1d1)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x3c74e7=_0x2d7110[_0x2306aa(0x3f2)])==null?void 0x0:_0x3c74e7['cs']},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x3c3)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':(_0x70138e=_0x2d7110[_0x2306aa(0x1f5)])==null?void 0x0:_0x70138e['cs']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x297)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x3d4)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x37a)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x245)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x212)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x2e6)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849['LIVESHARE_NEW_HOST']:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110['liveShareNewHost']},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x153)]:case _0x562849[_0x2306aa(0x2d8)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x356)]},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x3a2)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x312)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x2b5)]:return{..._0x4d46bf,'data':_0x2d7110,'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x244)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x25b)]},'cmd':_0x4d46bf[_0x2306aa(0x39b)]};case _0x562849[_0x2306aa(0x183)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x272)]},'cmd':_0x4d46bf['cmd']};case _0x562849['SHOULD_CLOSE_CONN']:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x25c)]},'cmd':_0x4d46bf['cmd']};case _0x562849[_0x2306aa(0x340)]:return{..._0x4d46bf,'data':{..._0x2d7110,'data':_0x2d7110[_0x2306aa(0x2b3)]},'cmd':_0x4d46bf['cmd']};default:return _0x4d46bf;}}default:return _0x4d46bf;}}function Yn(_0x50eef4){var _0x1a0147=_0x2a3857;switch(_0x50eef4['cmd']){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4[_0x1a0147(0x2ca)]});case F[_0x1a0147(0x3a5)]:{let _0x4fd299;switch(_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x383)]){case _0x562849[_0x1a0147(0x297)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x297)],'updateCursorEvent':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x212)]:{_0x4fd299={'eventID':_0x562849['USERS_LEAVE'],'leaveEvent':_0x50eef4['data'][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x37a)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x37a)],'joinEvent':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x243)]:{_0x4fd299={'eventID':_0x562849['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x50eef4[_0x1a0147(0x13b)]['data']};break;}case _0x562849[_0x1a0147(0x2d8)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x2d8)],'liveShareOperation':_0x50eef4['data'][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x3a2)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x3a2)],'liveShareTerminate':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x252)]:{_0x4fd299={'eventID':_0x562849['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x13b)]};break;}case _0x562849[_0x1a0147(0x153)]:{_0x4fd299={'eventID':_0x562849[_0x1a0147(0x153)]};break;}default:_0x4fd299={'eventID':_0x50eef4[_0x1a0147(0x13b)][_0x1a0147(0x383)]};}return JSON['stringify']({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4['routeKey'],'collaMsg':_0x4fd299});}case F['JOIN']:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4['routeKey'],'joinReq':_0x50eef4['data']});case F[_0x1a0147(0x18f)]:return JSON[_0x1a0147(0x178)]({'cmd':_0x50eef4[_0x1a0147(0x39b)],'routeKey':_0x50eef4[_0x1a0147(0x2ca)],'leaveReq':_0x50eef4[_0x1a0147(0x13b)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qn=Object[_0x2a3857(0x239)],Jn=Object[_0x2a3857(0x1e9)],Xn=(_0x462080,_0x239000,_0x564636,_0x7355fe)=>{var _0x571a0f=_0x2a3857;for(var _0x4f172c=_0x7355fe>0x1?void 0x0:_0x7355fe?Jn(_0x239000,_0x564636):_0x239000,_0x3f86f7=_0x462080[_0x571a0f(0x32e)]-0x1,_0x492ac7;_0x3f86f7>=0x0;_0x3f86f7--)(_0x492ac7=_0x462080[_0x3f86f7])&&(_0x4f172c=(_0x7355fe?_0x492ac7(_0x239000,_0x564636,_0x4f172c):_0x492ac7(_0x4f172c))||_0x4f172c);return _0x7355fe&&_0x4f172c&&qn(_0x239000,_0x564636,_0x4f172c),_0x4f172c;},Ue=(_0xb483a7,_0x53418c)=>(_0x330990,_0xd2a3f6)=>_0x53418c(_0x330990,_0xd2a3f6,_0xb483a7);const Ri=_0x357b15(_0x2a3857(0x2ed));function Zn(_0x5e7e90,_0x4694ff,_0x528fa5){var _0x8614bc=_0x2a3857;return _0x5e7e90+'/'+_0x4694ff+_0x8614bc(0x3e1)+_0x528fa5+_0x8614bc(0x3e0);}let It=class extends _0x2e140f{constructor(_0x34c77d,_0x2e2a60,_0x5e96c0,_0xeff302,_0x24ddcf){var _0x5cd11d=_0x2a3857;super(),this['_injector']=_0x34c77d,this[_0x5cd11d(0x420)]=_0x2e2a60,this['_configService']=_0x5e96c0,this[_0x5cd11d(0x335)]=_0xeff302,this['_snapshotServerService']=_0x24ddcf;}[_0x2a3857(0x285)](_0x45e7f2){var _0x3f19dd=_0x2a3857;const _0x2ba3a2=this[_0x3f19dd(0x158)][_0x3f19dd(0x21d)](_0x4f6f60);if(!_0x2ba3a2)throw new Error(_0x3f19dd(0x3ce));const _0x1f042c=_0x2ba3a2[_0x3f19dd(0x285)](_0x45e7f2);if(!_0x1f042c)throw new Error(_0x3f19dd(0x1cf));const _0x41a4bb=new _0x595a80(),_0x2497da=new _0x282fa7();_0x41a4bb[_0x3f19dd(0x1c3)](_0x1f042c[_0x3f19dd(0x2f5)][_0x3f19dd(0x2cb)](_0x599d62=>_0x2497da[_0x3f19dd(0x386)](_0x599d62))),_0x41a4bb['add'](_0x30af1d(()=>_0x2497da[_0x3f19dd(0x25a)]()));const _0x25e5bd=new _0x282fa7();_0x41a4bb['add'](_0x1f042c['error$'][_0x3f19dd(0x2cb)](_0x344837=>_0x25e5bd[_0x3f19dd(0x386)](_0x344837))),_0x41a4bb[_0x3f19dd(0x1c3)](_0x30af1d(()=>_0x25e5bd[_0x3f19dd(0x25a)]()));const _0x276312=new _0x282fa7();_0x41a4bb[_0x3f19dd(0x1c3)](_0x1f042c[_0x3f19dd(0x331)]['subscribe'](_0x3166f6=>{var _0x2cb05e=_0x3f19dd;const _0x14d4ba=zn(_0x3166f6);_0x276312[_0x2cb05e(0x386)](_0x14d4ba);})),_0x41a4bb[_0x3f19dd(0x1c3)](_0x30af1d(()=>_0x276312[_0x3f19dd(0x25a)]()));let _0x42da93;const _0x119b2f=()=>{var _0xf80e04=_0x3f19dd;_0x25e5bd['next'](new Event(_0xf80e04(0x204))),_0x2497da[_0xf80e04(0x386)](new CloseEvent(_0xf80e04(0x204))),_0x42da93['close']();};return _0x42da93={'memberID':'','close$':_0x2497da['asObservable'](),'error$':_0x25e5bd[_0x3f19dd(0x2e0)](),'open$':_0x1f042c[_0x3f19dd(0x20d)],'message$':_0x276312[_0x3f19dd(0x2e0)](),'send':_0x5aab5a=>{var _0x27b48a=_0x3f19dd;if(_0x5aab5a['cmd']===F[_0x27b48a(0x3a5)]){if(_0x5aab5a['data'][_0x27b48a(0x383)]===_0x562849[_0x27b48a(0x352)]){this['_submitChangeset'](_0x42da93,_0x5aab5a[_0x27b48a(0x13b)])[_0x27b48a(0x1f7)](_0x58b59f=>{var _0x463f0b=_0x27b48a;this[_0x463f0b(0x335)]['error'](_0x58b59f),_0x119b2f();});return;}if(_0x5aab5a['data'][_0x27b48a(0x383)]===_0x562849[_0x27b48a(0x1e7)]){const _0x3c7622=_0x5aab5a[_0x27b48a(0x13b)];this[_0x27b48a(0x267)](_0x3c7622)[_0x27b48a(0x192)](_0x154985=>{var _0x313199=_0x27b48a;_0x276312[_0x313199(0x386)]({'cmd':F[_0x313199(0x173)],'code':Ee['OK'],'routeKey':_0x3c7622[_0x313199(0x13b)][_0x313199(0x12e)],'routeType':'','data':{'eventID':_0x562849[_0x313199(0x36a)],'data':{'changesets':_0x154985}}});})[_0x27b48a(0x1f7)](_0x57a7a0=>{var _0x447cf6=_0x27b48a;this[_0x447cf6(0x335)][_0x447cf6(0x119)](_0x57a7a0),_0x119b2f();});return;}}_0x1f042c[_0x27b48a(0x19f)](Yn(_0x5aab5a));},'close':()=>{var _0x38c328=_0x3f19dd;_0x1f042c[_0x38c328(0x384)](),_0x41a4bb[_0x38c328(0x3d7)]();}},_0x42da93;}async[_0x2a3857(0x3c9)](_0x18f12f,_0x29e2db){var _0x3ba5e4=_0x2a3857,_0x5a3691,_0x2fbadd;const {unitType:_0x58699f,unitID:_0x25e95e,changeset:_0x393dfc}=_0x29e2db[_0x3ba5e4(0x13b)],_0x1ebdbc={'unitID':_0x25e95e,'memberID':_0x18f12f['memberID'],'type':_0x58699f,'changeset':_0x1a5c1c(_0x393dfc)},_0x3dcdb1=this[_0x3ba5e4(0x205)]['getConfig'](Fn),_0x498141=this[_0x3ba5e4(0x205)][_0x3ba5e4(0x122)](Y),_0x5b486d=Zn((_0x2fbadd=(_0x5a3691=_0x498141==null?void 0x0:_0x498141[_0x3ba5e4(0x403)])!=null?_0x5a3691:_0x3dcdb1)!=null?_0x2fbadd:Vn,_0x58699f,_0x25e95e);try{await this[_0x3ba5e4(0x420)]['post'](_0x5b486d,{'body':_0x1ebdbc});}catch(_0x274dee){throw this[_0x3ba5e4(0x335)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x274dee;}}async[_0x2a3857(0x267)](_0x4b6d3b){var _0x79cc2=_0x2a3857;const {unitID:_0x478498,from:_0x23fe1f,to:_0x43c644,unitType:_0x23d12a}=_0x4b6d3b[_0x79cc2(0x13b)];return(await this[_0x79cc2(0x310)][_0x79cc2(0x1e2)]({'metadata':void 0x0},{'unitID':_0x478498,'type':_0x23d12a,'from':_0x23fe1f,'to':_0x43c644}))[_0x79cc2(0x350)];}};It=Xn([Ue(0x0,_0x21b3b2(_0x548366)),Ue(0x1,_0x21b3b2(_0x4fa095)),Ue(0x2,_0x24bebb),Ue(0x3,_0x4e1c8f),Ue(0x4,_0x2b19c8)],It);const Qn=_0x2a3857(0x1be);function es(_0x4b8df7){var _0x56a0a8=_0x2a3857;return JSON[_0x56a0a8(0x178)](_0x4b8df7)['length'];}class yi{constructor(){var _0x4769a9=_0x2a3857;P(this,'_commentUpdate$',new _0x282fa7()),P(this,_0x4769a9(0x1c7),this[_0x4769a9(0x224)]['asObservable']());}[_0x2a3857(0x222)](_0x4d9366){var _0x2b1b67=_0x2a3857;this[_0x2b1b67(0x224)]['next'](_0x4d9366);}}var ts=Object[_0x2a3857(0x239)],is=Object[_0x2a3857(0x1e9)],ns=(_0x4727ce,_0x21bda0,_0xb320eb,_0x30f8c6)=>{var _0x30ffa9=_0x2a3857;for(var _0x58cd7b=_0x30f8c6>0x1?void 0x0:_0x30f8c6?is(_0x21bda0,_0xb320eb):_0x21bda0,_0x50b548=_0x4727ce[_0x30ffa9(0x32e)]-0x1,_0x4e901c;_0x50b548>=0x0;_0x50b548--)(_0x4e901c=_0x4727ce[_0x50b548])&&(_0x58cd7b=(_0x30f8c6?_0x4e901c(_0x21bda0,_0xb320eb,_0x58cd7b):_0x4e901c(_0x58cd7b))||_0x58cd7b);return _0x30f8c6&&_0x58cd7b&&ts(_0x21bda0,_0xb320eb,_0x58cd7b),_0x58cd7b;},Yt=(_0x1bffd3,_0x1e8ff8)=>(_0xc03f96,_0x1813bc)=>_0x1e8ff8(_0xc03f96,_0x1813bc,_0x1bffd3);let xe=class extends _0x2e140f{constructor(_0x584a39,_0x3c86fc){var _0x5047e0=_0x2a3857;super(),P(this,_0x5047e0(0x30e),new Map()),P(this,_0x5047e0(0x2de),new _0x282fa7()),(this[_0x5047e0(0x3cd)]=_0x584a39,this[_0x5047e0(0x3ba)]=_0x3c86fc,this[_0x5047e0(0x1c1)](_0xc9cdeb(this['_univerInstanceService'][_0x5047e0(0x39f)](_0x465e07[_0x5047e0(0x292)])[_0x5047e0(0x369)](_0x4bf464(_0x41bb28=>_0x41bb28[_0x5047e0(0x3b4)]())),this[_0x5047e0(0x3cd)][_0x5047e0(0x39f)](_0x465e07['UNIVER_DOC'])[_0x5047e0(0x369)](_0x4bf464(_0x46df92=>_0x46df92[_0x5047e0(0x3b4)]())),this[_0x5047e0(0x3cd)][_0x5047e0(0x39f)](_0x465e07[_0x5047e0(0x203)])[_0x5047e0(0x369)](_0x4bf464(_0x4ece78=>_0x4ece78['getUnitId']())))[_0x5047e0(0x2cb)](_0x1d62f1=>this[_0x5047e0(0x31d)](_0x1d62f1))));}['waitForRoom$'](_0xbda519){var _0x1a7081=_0x2a3857;return this[_0x1a7081(0x30e)][_0x1a7081(0x40d)](_0xbda519)?_0x59284b(this[_0x1a7081(0x30e)][_0x1a7081(0x21d)](_0xbda519)):this[_0x1a7081(0x2de)][_0x1a7081(0x369)](_0x4bf464(_0x1e8d69=>{if(_0x1e8d69===_0xbda519)return this['_roomMembers']['get'](_0x1e8d69);}));}[_0x2a3857(0x404)](_0x15a74b){var _0x5a29d7=_0x2a3857;this[_0x5a29d7(0x3ba)][_0x5a29d7(0x404)](_0x15a74b);}[_0x2a3857(0x3ed)](){var _0x5df71a=_0x2a3857;return this[_0x5df71a(0x3ba)]['getCurrentUser']();}[_0x2a3857(0x211)](_0x5e5c51,_0x22739a){var _0x56311d=_0x2a3857;let _0x5b7c85=this[_0x56311d(0x30e)][_0x56311d(0x21d)](_0x5e5c51);_0x5b7c85||(_0x5b7c85=new ss(),this[_0x56311d(0x30e)][_0x56311d(0x3d2)](_0x5e5c51,_0x5b7c85),this[_0x56311d(0x2de)][_0x56311d(0x386)](_0x5e5c51)),_0x5b7c85[_0x56311d(0x211)](_0x22739a);}[_0x2a3857(0x16b)](_0x2ba221,_0x2def9e){var _0x3c5207=_0x2a3857;const _0x97ac18=this[_0x3c5207(0x30e)][_0x3c5207(0x21d)](_0x2ba221);_0x97ac18&&_0x97ac18[_0x3c5207(0x16b)](_0x2def9e);}['getRoom'](_0x19b4e4){var _0x11dcf9=_0x2a3857;return this[_0x11dcf9(0x30e)][_0x11dcf9(0x21d)](_0x19b4e4);}['getMember'](_0x40818b,_0x3368b3){var _0x3135dd=_0x2a3857;const _0x50793e=this[_0x3135dd(0x30e)]['get'](_0x40818b);if(_0x50793e)return _0x50793e['getMember'](_0x3368b3);}[_0x2a3857(0x31d)](_0x2b475a){var _0x1fb477=_0x2a3857;const _0x3420e2=this[_0x1fb477(0x30e)]['get'](_0x2b475a);_0x3420e2&&(_0x3420e2[_0x1fb477(0x3d7)](),this[_0x1fb477(0x30e)][_0x1fb477(0x1a7)](_0x2b475a));}[_0x2a3857(0x3d7)](){var _0xe1aa59=_0x2a3857;this[_0xe1aa59(0x30e)][_0xe1aa59(0x168)](_0x54c45f=>_0x54c45f[_0xe1aa59(0x3d7)]()),this['_roomMembers'][_0xe1aa59(0x38d)](),this[_0xe1aa59(0x2de)][_0xe1aa59(0x25a)]();}};xe=ns([Yt(0x0,_0x40e127),Yt(0x1,_0x21b3b2(_0xba64f5))],xe);class ss extends _0x2e140f{constructor(){var _0x2e226b=_0x2a3857;super(...arguments),P(this,'_members',new Map()),P(this,_0x2e226b(0x23d),new _0x500ff8(this[_0x2e226b(0x40a)])),P(this,_0x2e226b(0x299),this[_0x2e226b(0x23d)][_0x2e226b(0x2e0)]());}['dispose'](){var _0x49ac11=_0x2a3857;this[_0x49ac11(0x40a)][_0x49ac11(0x38d)]();}[_0x2a3857(0x211)](_0x4cc9ab){var _0x44b478=_0x2a3857;this[_0x44b478(0x40a)][_0x44b478(0x3d2)](_0x4cc9ab[_0x44b478(0x194)],_0x4cc9ab),this[_0x44b478(0x18c)]();}[_0x2a3857(0x16b)](_0x1ee413){var _0x2dbc04=_0x2a3857;this['_members'][_0x2dbc04(0x1a7)](_0x1ee413);}[_0x2a3857(0x1a4)](_0x570fdb){var _0x2e4a24=_0x2a3857;return this[_0x2e4a24(0x40a)][_0x2e4a24(0x21d)](_0x570fdb);}[_0x2a3857(0x218)](){var _0x10912b=_0x2a3857;return Array[_0x10912b(0x2a6)](this['_members'][_0x10912b(0x349)]());}[_0x2a3857(0x18c)](){var _0x5ee34b=_0x2a3857;this[_0x5ee34b(0x23d)][_0x5ee34b(0x386)](this[_0x5ee34b(0x40a)]);}}var rs=Object[_0x2a3857(0x239)],os=Object['getOwnPropertyDescriptor'],as=(_0x10b3ec,_0x29d212,_0x2857bb,_0x537e4d)=>{var _0x522f0c=_0x2a3857;for(var _0x265df0=_0x537e4d>0x1?void 0x0:_0x537e4d?os(_0x29d212,_0x2857bb):_0x29d212,_0x1de079=_0x10b3ec[_0x522f0c(0x32e)]-0x1,_0x512f5c;_0x1de079>=0x0;_0x1de079--)(_0x512f5c=_0x10b3ec[_0x1de079])&&(_0x265df0=(_0x537e4d?_0x512f5c(_0x29d212,_0x2857bb,_0x265df0):_0x512f5c(_0x265df0))||_0x265df0);return _0x537e4d&&_0x265df0&&rs(_0x29d212,_0x2857bb,_0x265df0),_0x265df0;},me=(_0x26f453,_0x329791)=>(_0x3dd337,_0x40d714)=>_0x329791(_0x3dd337,_0x40d714,_0x26f453),Te=(_0x4e109d=>(_0x4e109d[_0x4e109d[_0x2a3857(0x40e)]=0x0]='IDLE',_0x4e109d[_0x4e109d[_0x2a3857(0x147)]=0x1]='JOINING',_0x4e109d[_0x4e109d[_0x2a3857(0x32b)]=0x2]=_0x2a3857(0x32b),_0x4e109d[_0x4e109d['ONLINE']=0x3]='ONLINE',_0x4e109d))(Te||{});const qt={[Ee[_0x2a3857(0x296)]]:_0x2a3857(0x30a),[Ee[_0x2a3857(0x20c)]]:_0x2a3857(0x343),[Ee[_0x2a3857(0x1af)]]:'session.room-not-exists',[Ee[_0x2a3857(0x12f)]]:_0x2a3857(0x14b),[Ee[_0x2a3857(0x16a)]]:_0x2a3857(0x1b8)};let Tt=class extends _0x3f0249{constructor(_0x280b69,_0xaf430f,_0x56efa7,_0x304da6,_0x2706f9,_0x828c22,_0x5322c3,_0x452c64,_0x2d17d0){var _0x2dfde3=_0x2a3857;super(),P(this,'_sessionStatus$',new _0x500ff8(0x0)),P(this,_0x2dfde3(0x376),this[_0x2dfde3(0x16f)][_0x2dfde3(0x2e0)]()),P(this,_0x2dfde3(0x3e6),new _0x282fa7()),P(this,_0x2dfde3(0x2a9),this[_0x2dfde3(0x3e6)][_0x2dfde3(0x2e0)]()),P(this,_0x2dfde3(0x14d)),P(this,_0x2dfde3(0x23f)),P(this,_0x2dfde3(0x351)),P(this,_0x2dfde3(0x125),!0x1),P(this,_0x2dfde3(0x27b),null),(this[_0x2dfde3(0x163)]=_0x280b69,this[_0x2dfde3(0x335)]=_0x56efa7,this[_0x2dfde3(0x205)]=_0x304da6,this[_0x2dfde3(0x1ad)]=_0x2706f9,this[_0x2dfde3(0x185)]=_0x828c22,this[_0x2dfde3(0x1f2)]=_0x5322c3,this['_collaborationUIEventService']=_0x452c64,this['_telemetryService']=_0x2d17d0,this[_0x2dfde3(0x125)]=!!this[_0x2dfde3(0x2c4)],_0xaf430f['pipe'](_0x49b26f(this['dispose$']))['subscribe'](_0xda58fb=>{var _0x3b34c0=_0x2dfde3,_0x328a1d;typeof _0xda58fb>'u'||(this['_socket']=_0xda58fb,_0xda58fb?(this[_0x3b34c0(0x1b7)](_0xda58fb),this['_socketMessageSubscription']=_0xda58fb[_0x3b34c0(0x331)][_0x3b34c0(0x2cb)](_0x50658f=>{var _0x34a339=_0x3b34c0;_0x50658f[_0x34a339(0x2ca)]===this[_0x34a339(0x163)]&&this[_0x34a339(0x34f)](_0x50658f);})):(this[_0x3b34c0(0x132)](),this[_0x3b34c0(0x16f)][_0x3b34c0(0x386)](0x2),(_0x328a1d=this[_0x3b34c0(0x23f)])==null||_0x328a1d[_0x3b34c0(0x3fd)](),this[_0x3b34c0(0x23f)]=null));}));}get['sessionStatus'](){var _0x50c6b7=_0x2a3857;return this[_0x50c6b7(0x16f)][_0x50c6b7(0x274)]();}[_0x2a3857(0x3b9)](){var _0x1d0eb4=_0x2a3857,_0x5275df,_0x3fb6f5;return(_0x3fb6f5=(_0x5275df=this[_0x1d0eb4(0x14d)])==null?void 0x0:_0x5275df[_0x1d0eb4(0x194)])!=null?_0x3fb6f5:null;}[_0x2a3857(0x3d7)](){var _0x10a704=_0x2a3857;super[_0x10a704(0x3d7)](),this[_0x10a704(0x3bb)][_0x10a704(0x386)](),this[_0x10a704(0x3bb)][_0x10a704(0x25a)]();}[_0x2a3857(0x384)](){var _0x1996fc=_0x2a3857,_0x3c7ce8,_0x16f2c0;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3c7ce8=this[_0x1996fc(0x14d)])==null||_0x3c7ce8['send']({'cmd':F[_0x1996fc(0x18f)],'data':{'roomID':this['_unitID']}}),(_0x16f2c0=this[_0x1996fc(0x14d)])==null||_0x16f2c0[_0x1996fc(0x384)](),this['_event$']['complete'](),this[_0x1996fc(0x16f)][_0x1996fc(0x25a)](),this['dispose']();}[_0x2a3857(0x34f)](_0x157a78){var _0x56c9ce=_0x2a3857;_0x157a78[_0x56c9ce(0x39b)]===F[_0x56c9ce(0x149)]?this[_0x56c9ce(0x1b6)](_0x157a78):_0x157a78[_0x56c9ce(0x39b)]===F[_0x56c9ce(0x173)]&&this[_0x56c9ce(0x392)](_0x157a78);}['_joinRoom'](_0x887e6e){var _0x2d936a=_0x2a3857;this['_sessionStatus$'][_0x2d936a(0x386)](0x1),_0x887e6e[_0x2d936a(0x19f)]({'cmd':F[_0x2d936a(0x149)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d936a(0x163)]}]}});}[_0x2a3857(0x1b6)](_0x1207d5){var _0x22ec97=_0x2a3857,_0x24de29;if(_0x1207d5[_0x22ec97(0x39d)]in qt){this['_collaborationUIEventService'][_0x22ec97(0x3db)]({'id':re[_0x22ec97(0x39e)],'data':qt[_0x1207d5[_0x22ec97(0x39d)]]}),this[_0x22ec97(0x16f)][_0x22ec97(0x386)](0x2);return;}this[_0x22ec97(0x16f)]['next'](0x3);const _0x35d2b2=(_0x24de29=_0x1207d5[_0x22ec97(0x13b)][_0x22ec97(0x3aa)][this[_0x22ec97(0x163)]])==null?void 0x0:_0x24de29[_0x22ec97(0x221)];_0x35d2b2&&_0x35d2b2['forEach'](_0x493376=>this[_0x22ec97(0x185)][_0x22ec97(0x211)](this['_unitID'],_0x493376));}[_0x2a3857(0x392)](_0x5ed69d){var _0x44643c=_0x2a3857;try{const _0x432a02=_0x5ed69d[_0x44643c(0x13b)];switch(_0x432a02[_0x44643c(0x383)]){case _0x562849['USERS_ENTER']:this[_0x44643c(0x33a)](_0x432a02),this['_event$'][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x212)]:this[_0x44643c(0x37f)](_0x432a02),this['_event$'][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x16c)]:case _0x562849['CHANGESET_SHOULD_RETRY']:this[_0x44643c(0x208)](),this[_0x44643c(0x395)](),this[_0x44643c(0x3e6)][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x2b5)]:this[_0x44643c(0x335)][_0x44643c(0x119)](_0x44643c(0x19c)+JSON[_0x44643c(0x178)](_0x432a02)),this[_0x44643c(0x3e6)][_0x44643c(0x386)](_0x432a02);break;case _0x562849[_0x44643c(0x244)]:this[_0x44643c(0x1f2)]['onCommentUpdate'](_0x432a02[_0x44643c(0x13b)]),this[_0x44643c(0x3e6)]['next'](_0x432a02);break;default:this[_0x44643c(0x3e6)]['next'](_0x432a02);}}catch(_0xcc168d){this['_logService']['error'](_0xcc168d,_0x5ed69d);}}['_onUserJoin'](_0x67e2f0){var _0x241d76=_0x2a3857;this[_0x241d76(0x185)][_0x241d76(0x211)](this[_0x241d76(0x163)],_0x67e2f0['data']);}[_0x2a3857(0x37f)](_0x5b0171){var _0x322503=_0x2a3857;this[_0x322503(0x185)][_0x322503(0x16b)](this['_unitID'],_0x5b0171[_0x322503(0x13b)][_0x322503(0x194)]);}async[_0x2a3857(0x19f)](_0x2581dc,_0x5842ac){var _0x16c857=_0x2a3857;if(this[_0x16c857(0x385)]!==0x3||!this[_0x16c857(0x14d)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2581dc[_0x16c857(0x383)]===_0x562849[_0x16c857(0x352)]&&(this[_0x16c857(0x2fd)](),this[_0x16c857(0x2f1)](_0x2581dc)),this[_0x16c857(0x14d)][_0x16c857(0x19f)]({'cmd':F['INGEST'],'routeKey':_0x5842ac,'routeType':'','data':_0x2581dc});}catch(_0x372c81){this[_0x16c857(0x335)][_0x16c857(0x119)](_0x372c81);}}[_0x2a3857(0x2fd)](){var _0x57fded=_0x2a3857,_0x2615c5;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x79adbe=_0x5b8f;this[_0x79adbe(0x351)]=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x79adbe(0x124)]});},(_0x2615c5=this[_0x57fded(0x205)][_0x57fded(0x122)](Ii))!=null?_0x2615c5:Ti);}[_0x2a3857(0x395)](){var _0x3e8b5f=_0x2a3857;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3e8b5f(0x351)]),this[_0x3e8b5f(0x351)]=null);}[_0x2a3857(0x2f1)](_0x15e310){var _0x55c0c4=_0x2a3857;if(!this[_0x55c0c4(0x125)])return;const {data:_0x1c7039}=_0x15e310,{unitID:_0x1d5cc4,changeset:_0x3c8d33}=_0x1c7039,{mutations:_0xc9fe2f,type:_0x306498}=_0x3c8d33;this['_telemetryInfo']={'unitId':_0x1d5cc4,'type':_0x306498,'startTime':performance[_0x55c0c4(0x314)](),'stopTime':0x0,'duration':0x0,'size':es(_0xc9fe2f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1eff34=_0x2a3857;if(this[_0x1eff34(0x125)]){if(!this[_0x1eff34(0x27b)]){this['_logService']['error'](_0x1eff34(0x2af),_0x1eff34(0x333));return;}this['_telemetryInfo']['stopTime']=performance[_0x1eff34(0x314)](),this[_0x1eff34(0x27b)]['duration']=this[_0x1eff34(0x27b)][_0x1eff34(0x328)]-this[_0x1eff34(0x27b)][_0x1eff34(0x213)],this[_0x1eff34(0x2c4)][_0x1eff34(0x3dd)](Qn,this[_0x1eff34(0x27b)]),this[_0x1eff34(0x27b)]=null;}}[_0x2a3857(0x132)](){this['_telemetryInfo']=null;}};Tt=as([me(0x2,_0x4e1c8f),me(0x3,_0x24bebb),me(0x4,_0x21b3b2(_0x551f00)),me(0x5,_0x21b3b2(xe)),me(0x6,_0x21b3b2(yi)),me(0x7,_0x21b3b2(pe)),me(0x8,_0x10c77b(_0xad6476))],Tt);var cs=Object[_0x2a3857(0x239)],hs=Object[_0x2a3857(0x1e9)],_s=(_0x1b3dd4,_0x139b54,_0x3cfd2f,_0x56f866)=>{for(var _0x30fabf=_0x56f866>0x1?void 0x0:_0x56f866?hs(_0x139b54,_0x3cfd2f):_0x139b54,_0x273b6a=_0x1b3dd4['length']-0x1,_0x3ce676;_0x273b6a>=0x0;_0x273b6a--)(_0x3ce676=_0x1b3dd4[_0x273b6a])&&(_0x30fabf=(_0x56f866?_0x3ce676(_0x139b54,_0x3cfd2f,_0x30fabf):_0x3ce676(_0x30fabf))||_0x30fabf);return _0x56f866&&_0x30fabf&&cs(_0x139b54,_0x3cfd2f,_0x30fabf),_0x30fabf;},ge=(_0x2d2e52,_0x56fdb2)=>(_0x22655b,_0x2f9193)=>_0x56fdb2(_0x22655b,_0x2f9193,_0x2d2e52);let Le=class extends _0x2e140f{constructor(_0x2c5992,_0x2596f1,_0x37954f,_0xf86b0d,_0x1f040d,_0x13bf73,_0x1e0aef){var _0x4a6950=_0x2a3857;super(),P(this,_0x4a6950(0x287),new _0x500ff8(void 0x0)),P(this,_0x4a6950(0x372),this['_socket$'][_0x4a6950(0x2e0)]()),P(this,_0x4a6950(0x193),null),P(this,_0x4a6950(0x405),new Map()),P(this,_0x4a6950(0x34d),new _0x500ff8(Te[_0x4a6950(0x40e)])),P(this,_0x4a6950(0x258),this[_0x4a6950(0x34d)][_0x4a6950(0x2e0)]()),P(this,_0x4a6950(0x17f),!0x1),P(this,'_retryConnectingTimer'),P(this,'_retryCount',0x0),P(this,'_sendHeartbeatTimer'),P(this,_0x4a6950(0x246)),(this[_0x4a6950(0x158)]=_0x2c5992,this['_logService']=_0x2596f1,this[_0x4a6950(0x205)]=_0x37954f,this[_0x4a6950(0x1b5)]=_0xf86b0d,this[_0x4a6950(0x330)]=_0x1f040d,this[_0x4a6950(0x30d)]=_0x13bf73,this[_0x4a6950(0x118)]=_0x1e0aef,this['_listenToNetworkCondition']());}get[_0x2a3857(0x14d)](){var _0x1ff060=_0x2a3857;return this[_0x1ff060(0x287)][_0x1ff060(0x274)]();}['_listenToNetworkCondition'](){var _0x4b0253=_0x2a3857;this['_networkConditionService']&&this[_0x4b0253(0x1c1)](this[_0x4b0253(0x118)]['online$'][_0x4b0253(0x2cb)](_0x2e54c5=>{var _0x4c42a7=_0x4b0253;_0x2e54c5&&!this['_socket']&&this['reconnect'](),_0x2e54c5||this[_0x4c42a7(0x41a)]();}));}[_0x2a3857(0x3d7)](){var _0x5d0ad0=_0x2a3857;super['dispose'](),this['_sessions'][_0x5d0ad0(0x168)](_0x233b99=>_0x233b99[_0x5d0ad0(0x3d7)]()),this['_sessions'][_0x5d0ad0(0x38d)](),this[_0x5d0ad0(0x34d)]['complete']();}async[_0x2a3857(0x411)](_0x1bf5fd){var _0x29044a=_0x2a3857;if(this[_0x29044a(0x405)][_0x29044a(0x40d)](_0x1bf5fd))return this[_0x29044a(0x405)][_0x29044a(0x21d)](_0x1bf5fd);this[_0x29044a(0x30b)]();const _0x589d97=this['_injector'][_0x29044a(0x3a6)](Tt,_0x1bf5fd,this[_0x29044a(0x287)][_0x29044a(0x2e0)]());return this['_sessions'][_0x29044a(0x3d2)](_0x1bf5fd,_0x589d97),_0x589d97;}[_0x2a3857(0x2b8)](_0x535c22){var _0x3180aa=_0x2a3857,_0x350485;const _0x5d9182=this[_0x3180aa(0x405)][_0x3180aa(0x21d)](_0x535c22);_0x5d9182&&(this[_0x3180aa(0x405)]['delete'](_0x535c22),_0x5d9182[_0x3180aa(0x384)]()),this[_0x3180aa(0x405)][_0x3180aa(0x280)]||(_0x350485=this[_0x3180aa(0x14d)])==null||_0x350485[_0x3180aa(0x384)]();}['reconnect'](){var _0x567ce6=_0x2a3857;this['_retryCount']=0x0,this[_0x567ce6(0x228)]!=null&&(clearTimeout(this[_0x567ce6(0x228)]),this['_retryConnectingTimer']=null),this[_0x567ce6(0x14f)]();}async[_0x2a3857(0x3d1)](){var _0x26f6be=_0x2a3857,_0x103d9c,_0x4c2c66,_0x4ced32;const _0x45b512=this[_0x26f6be(0x205)][_0x26f6be(0x122)](Y),_0xbae890=(_0x103d9c=_0x45b512==null?void 0x0:_0x45b512[_0x26f6be(0x25f)])!=null?_0x103d9c:Mn;return(_0x4ced32=(_0x4c2c66=(await this[_0x26f6be(0x330)][_0x26f6be(0x21d)](_0xbae890,{'headers':{'Content-Type':'application/json'}}))[_0x26f6be(0x1a1)])==null?void 0x0:_0x4c2c66['ticket'])!=null?_0x4ced32:'';}['_createSocketURL'](_0x209d1e){var _0x3d92ff=_0x2a3857,_0x47bf36,_0x5ca9f2;const _0x3991c5=this['_configService'][_0x3d92ff(0x122)](xn),_0x3d865a=this[_0x3d92ff(0x205)][_0x3d92ff(0x122)](Y),_0x25f64c=(_0x5ca9f2=(_0x47bf36=_0x3d865a==null?void 0x0:_0x3d865a['collabWebSocketUrl'])!=null?_0x47bf36:_0x3991c5)!=null?_0x5ca9f2:Ln,_0x115280=typeof window>'u'?new URL(_0x25f64c):new URL(_0x25f64c,window['location']['origin']);_0x115280[_0x3d92ff(0x236)][_0x3d92ff(0x3d2)](_0x3d92ff(0x3b7),_0x209d1e);const _0x180a74=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3d92ff(0x38a)][_0x3d92ff(0x24d)]);return _0x180a74[_0x3d92ff(0x21d)](_0x3d92ff(0x214))&&_0x115280['searchParams'][_0x3d92ff(0x3d2)](_0x3d92ff(0x214),_0x180a74[_0x3d92ff(0x21d)](_0x3d92ff(0x214))),_0x115280['toString']();}async[_0x2a3857(0x2ac)](){var _0x1dfcb7=_0x2a3857;const _0x2fea7a=await this[_0x1dfcb7(0x3d1)](),_0x2499f3=this[_0x1dfcb7(0x2ba)](_0x2fea7a),_0x9ef8ef=this[_0x1dfcb7(0x1b5)]['createSocket'](_0x2499f3);return this[_0x1dfcb7(0x193)]=_0x9ef8ef,_0x9ef8ef;}async['_tryEnsureSocket'](){var _0x5590b9=_0x2a3857,_0x5aaef6,_0x4c4219;try{const _0x54ecbe=(_0x4c4219=(_0x5aaef6=this[_0x5590b9(0x14d)])!=null?_0x5aaef6:this[_0x5590b9(0x193)])!=null?_0x4c4219:await this['_createSocket']();if(_0x54ecbe){const _0x2dfd44=_0x54ecbe['send'];_0x54ecbe[_0x5590b9(0x19f)]=_0x3d9e68=>(this[_0x5590b9(0x12b)](),_0x2dfd44[_0x5590b9(0x2d3)](_0x54ecbe,[_0x3d9e68])),_0x54ecbe['message$'][_0x5590b9(0x2cb)](_0x46f9c4=>this[_0x5590b9(0x2c9)](_0x54ecbe,_0x46f9c4)),_0x54ecbe[_0x5590b9(0x2a2)][_0x5590b9(0x369)](_0x2fc287(0x1))[_0x5590b9(0x2cb)](_0x36f997=>this['_logService']['error'](_0x5590b9(0x1db),_0x36f997)),_0x54ecbe[_0x5590b9(0x20d)]['pipe'](_0x2fc287(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x54ecbe);}),_0x54ecbe[_0x5590b9(0x2f5)][_0x5590b9(0x369)](_0x2fc287(0x1))['subscribe'](_0x1307f7=>{var _0x1e7dfa=_0x5590b9;this[_0x1e7dfa(0x335)][_0x1e7dfa(0x412)](_0x1e7dfa(0x3e9),_0x1e7dfa(0x3c0),_0x1307f7),this['_onConnectionFailed']();});}}catch(_0x5a7b48){this['_logService']['error'](_0x5a7b48),this[_0x5590b9(0x2c3)]();}}[_0x2a3857(0x1f4)](_0x89e05){var _0x23da93=_0x2a3857;this[_0x23da93(0x335)][_0x23da93(0x412)](_0x23da93(0x3e9),_0x23da93(0x276)),_0x89e05[_0x23da93(0x19f)]({'cmd':F['HELLO']}),this[_0x23da93(0x12b)]();}[_0x2a3857(0x41a)](){var _0x3b3af9=_0x2a3857;this[_0x3b3af9(0x17f)]=!0x1,this['_candidateSocket']=null,this[_0x3b3af9(0x34d)]['next'](Te[_0x3b3af9(0x32b)]),this[_0x3b3af9(0x287)][_0x3b3af9(0x386)](null),this['_clearTimeoutTimer'](),this[_0x3b3af9(0x3af)]();}[_0x2a3857(0x2c3)](){var _0x16f5b4=_0x2a3857,_0x4aa44f;this[_0x16f5b4(0x41a)](),this[_0x16f5b4(0x410)]<((_0x4aa44f=this['_configService'][_0x16f5b4(0x122)](jn))!=null?_0x4aa44f:Bn)?(this[_0x16f5b4(0x30d)][_0x16f5b4(0x3db)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0x16f5b4(0x14f)]()):this[_0x16f5b4(0x30d)][_0x16f5b4(0x3db)]({'id':re[_0x16f5b4(0x34c)]});}['_tryReconnect'](){var _0x5e9687=_0x2a3857,_0x2ae049;const _0x15df2f=this[_0x5e9687(0x410)],_0x303a87=this['_configService'][_0x5e9687(0x122)](Y),_0x407f3a=_0x15df2f===0x0?0x0:((_0x2ae049=_0x303a87==null?void 0x0:_0x303a87[_0x5e9687(0x26e)])!=null?_0x2ae049:kn)*0x2**_0x15df2f;this[_0x5e9687(0x228)]=setTimeout(()=>{var _0x1693d4=_0x5e9687;clearTimeout(this[_0x1693d4(0x228)]),this[_0x1693d4(0x228)]=null,this['_tryEnsureSocket']();},_0x407f3a),this[_0x5e9687(0x410)]+=0x1;}[_0x2a3857(0x2c9)](_0x476750,_0x35ad8d){var _0x4bfd4a=_0x2a3857;const {cmd:_0x50da3e}=_0x35ad8d;_0x50da3e===F[_0x4bfd4a(0x121)]&&!this[_0x4bfd4a(0x17f)]&&(_0x476750[_0x4bfd4a(0x194)]=_0x35ad8d[_0x4bfd4a(0x13b)][_0x4bfd4a(0x194)],this[_0x4bfd4a(0x287)]['next'](_0x476750),this[_0x4bfd4a(0x34d)][_0x4bfd4a(0x386)](Te['ONLINE']),this[_0x4bfd4a(0x17f)]=!0x0,this[_0x4bfd4a(0x193)]=null),_0x50da3e===F[_0x4bfd4a(0x354)]&&this['_clearTimeoutTimer'](),this[_0x4bfd4a(0x12b)]();}[_0x2a3857(0x12b)](){var _0x861ac3=_0x2a3857,_0x4ffe4c;this['_clearHeartbeatTimer'](),this[_0x861ac3(0x37b)]=setTimeout(()=>this[_0x861ac3(0x31b)](),(_0x4ffe4c=this['_configService'][_0x861ac3(0x122)]($n))!=null?_0x4ffe4c:Hn);}['_sendHeartbeat'](){var _0x242596=_0x2a3857;this[_0x242596(0x14d)][_0x242596(0x19f)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x2a3857(0x1e6)](){var _0x410d87=_0x2a3857,_0x3bb1b6;this[_0x410d87(0x246)]=setTimeout(()=>this[_0x410d87(0x2c3)](),(_0x3bb1b6=this[_0x410d87(0x205)][_0x410d87(0x122)](Ii))!=null?_0x3bb1b6:Ti);}['_clearHeartbeatTimer'](){var _0x33f307=_0x2a3857;this[_0x33f307(0x37b)]!=null&&(clearTimeout(this[_0x33f307(0x37b)]),this[_0x33f307(0x37b)]=null);}['_clearTimeoutTimer'](){var _0x4497a9=_0x2a3857;this[_0x4497a9(0x246)]!=null&&(clearTimeout(this[_0x4497a9(0x246)]),this[_0x4497a9(0x246)]=null);}};Le=_s([ge(0x0,_0x21b3b2(_0x548366)),ge(0x1,_0x4e1c8f),ge(0x2,_0x24bebb),ge(0x3,Ri),ge(0x4,_0x21b3b2(_0x4fa095)),ge(0x5,_0x21b3b2(pe)),ge(0x6,_0x10c77b(Kn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x2a3857(0x28c)](0x10)[_0x2a3857(0x247)](0x1));function ls(_0x45bef5,_0x418948=0x0){var _0x27909a=_0x2a3857;return(V[_0x45bef5[_0x418948+0x0]]+V[_0x45bef5[_0x418948+0x1]]+V[_0x45bef5[_0x418948+0x2]]+V[_0x45bef5[_0x418948+0x3]]+'-'+V[_0x45bef5[_0x418948+0x4]]+V[_0x45bef5[_0x418948+0x5]]+'-'+V[_0x45bef5[_0x418948+0x6]]+V[_0x45bef5[_0x418948+0x7]]+'-'+V[_0x45bef5[_0x418948+0x8]]+V[_0x45bef5[_0x418948+0x9]]+'-'+V[_0x45bef5[_0x418948+0xa]]+V[_0x45bef5[_0x418948+0xb]]+V[_0x45bef5[_0x418948+0xc]]+V[_0x45bef5[_0x418948+0xd]]+V[_0x45bef5[_0x418948+0xe]]+V[_0x45bef5[_0x418948+0xf]])[_0x27909a(0x41d)]();}let dt;const us=new Uint8Array(0x10);function ds(){var _0x63eae3=_0x2a3857;if(!dt){if(typeof crypto>'u'||!crypto[_0x63eae3(0x257)])throw new Error(_0x63eae3(0x3ca));dt=crypto[_0x63eae3(0x257)][_0x63eae3(0x225)](crypto);}return dt(us);}const fs=typeof crypto<'u'&&crypto[_0x2a3857(0x2fb)]&&crypto['randomUUID'][_0x2a3857(0x225)](crypto),Jt={'randomUUID':fs};function vs(_0x3521f1,_0x304f7b,_0x483fa4){var _0x2815c4=_0x2a3857;if(Jt[_0x2815c4(0x2fb)]&&!_0x304f7b&&!_0x3521f1)return Jt[_0x2815c4(0x2fb)]();_0x3521f1=_0x3521f1||{};const _0x8eeac2=_0x3521f1['random']||(_0x3521f1[_0x2815c4(0x152)]||ds)();return _0x8eeac2[0x6]=_0x8eeac2[0x6]&0xf|0x40,_0x8eeac2[0x8]=_0x8eeac2[0x8]&0x3f|0x80,ls(_0x8eeac2);}const X=_0x357b15('collaboration-client.local-cache-service');function po(_0x2a7b11){var _0x2d22c9=_0x2a3857;return _0x2d22c9(0x1c0)+_0x2a7b11;}var ps=Object[_0x2a3857(0x239)],ms=Object[_0x2a3857(0x1e9)],gs=(_0x327da7,_0x24d367,_0x56bb64,_0x55c4e5)=>{var _0x5f4a24=_0x2a3857;for(var _0x5d5137=_0x55c4e5>0x1?void 0x0:_0x55c4e5?ms(_0x24d367,_0x56bb64):_0x24d367,_0x4d1a41=_0x327da7[_0x5f4a24(0x32e)]-0x1,_0x5b2108;_0x4d1a41>=0x0;_0x4d1a41--)(_0x5b2108=_0x327da7[_0x4d1a41])&&(_0x5d5137=(_0x55c4e5?_0x5b2108(_0x24d367,_0x56bb64,_0x5d5137):_0x5b2108(_0x5d5137))||_0x5d5137);return _0x55c4e5&&_0x5d5137&&ps(_0x24d367,_0x56bb64,_0x5d5137),_0x5d5137;},ft=(_0xa82f77,_0x16a0a7)=>(_0x309ac8,_0x12fd46)=>_0x16a0a7(_0x309ac8,_0x12fd46,_0xa82f77);function Ss(_0x171a89){var _0x3285cd=_0x2a3857;const {unitID:_0x43493d,mutations:_0x376b9d}=_0x171a89;return{'unitId':_0x43493d,'subUnitId':_0x376b9d[0x0]['params'][_0x3285cd(0x327)]};}let nt=class{constructor(_0x10e7ca,_0xb3f91c,_0x106276){var _0xc79ceb=_0x2a3857;this['_injector']=_0x10e7ca,this[_0xc79ceb(0x26b)]=_0xb3f91c,this[_0xc79ceb(0x38b)]=_0x106276;}[_0x2a3857(0x377)](_0x2b1221){var _0xeaf651=_0x2a3857,_0x2a58a9,_0x41cdde,_0xd30d67,_0x1fbc48;const _0x179079=this[_0xeaf651(0x158)][_0xeaf651(0x21d)](_0x5c7668),{unitId:_0x2732d5,subUnitId:_0x42181c}=Ss(_0x2b1221),_0x147d88=_0x179079==null?void 0x0:_0x179079[_0xeaf651(0x137)](_0x2732d5)['getCurrentSelections'](),_0x58ae3a=(_0x41cdde=(_0x2a58a9=this[_0xeaf651(0x38b)][_0xeaf651(0x353)](_0x2732d5))==null?void 0x0:_0x2a58a9[_0xeaf651(0x1e3)]())==null?void 0x0:_0x41cdde[_0xeaf651(0x1c5)]();if(_0x147d88[_0xeaf651(0x32e)]===0x0||!_0x2732d5||!_0x42181c)return;const _0x3824cc=[{'id':_0x4301b8['id'],'params':{'unitId':_0x2732d5,'subUnitId':_0x58ae3a,'selections':_0x57b57d[_0xeaf651(0x3f6)](_0x147d88)}}],_0x13f5a9=this[_0xeaf651(0x26b)][_0xeaf651(0x1c4)](_0x2b1221,_0x3824cc);if(!_0x17f224(_0x13f5a9))throw _0x13f5a9[_0xeaf651(0x119)];const _0x53dd32=(_0x1fbc48=(_0xd30d67=_0x13f5a9[_0xeaf651(0x19d)][0x0])==null?void 0x0:_0xd30d67[_0xeaf651(0x146)])==null?void 0x0:_0x1fbc48[_0xeaf651(0x264)];if(Array['isArray'](_0x53dd32)&&_0x53dd32['length']){if(_0x53dd32['length']===_0x3824cc[0x0][_0xeaf651(0x146)][_0xeaf651(0x264)][_0xeaf651(0x32e)]&&_0x53dd32[_0xeaf651(0x12a)]((_0x565516,_0x239c24)=>_0x1aad94['equals'](_0x565516[_0xeaf651(0x29c)],_0x3824cc[0x0][_0xeaf651(0x146)][_0xeaf651(0x264)][_0x239c24][_0xeaf651(0x29c)])))return;this[_0xeaf651(0x158)][_0xeaf651(0x21d)](_0xd6fdcf)[_0xeaf651(0x2c1)](_0x4301b8['id'],{'unitId':_0x2732d5,'subUnitId':_0x58ae3a,'selections':_0x53dd32});}}};nt=gs([ft(0x0,_0x21b3b2(_0x548366)),ft(0x1,_0x59eb83),ft(0x2,_0x40e127)],nt);const _t=_0x357b15(_0x2a3857(0x3c2));var Oi=(_0x52730e=>(_0x52730e[_0x52730e[_0x2a3857(0x3e7)]=0x0]=_0x2a3857(0x3e7),_0x52730e[_0x52730e[_0x2a3857(0x2bf)]=0x1]=_0x2a3857(0x2bf),_0x52730e))(Oi||{});const Es=new Set([_0x5b2210['id']]);function Xt(_0x1d6bba,_0x58565b,_0x420452,_0x140e94,_0x3338de){var _0x3b80b0=_0x2a3857,_0x11bd44,_0x342914,_0x42c968,_0xaced27;const _0x4e51c0=[];for(const _0x198853 of _0x1d6bba)if(Es[_0x3b80b0(0x40d)](_0x198853['id'])){if(_0x4e51c0[_0x3b80b0(0x32e)]>0x0)break;_0x4e51c0[_0x3b80b0(0x271)](_0x198853);break;}else _0x4e51c0[_0x3b80b0(0x271)](_0x198853);const _0x6fd71d=(_0x342914=(_0x11bd44=_0x3338de['getCurrentUser']())==null?void 0x0:_0x11bd44[_0x3b80b0(0x12d)])!=null?_0x342914:_0x3b80b0(0x1e5),_0xa61b0a=(_0xaced27=(_0x42c968=_0x3338de[_0x3b80b0(0x3ed)]())==null?void 0x0:_0x42c968[_0x3b80b0(0x194)])!=null?_0xaced27:_0x3b80b0(0x1e5);return{'changeset':{'unitID':_0x58565b,'type':_0x5f2b7f(_0x420452[_0x3b80b0(0x378)](_0x58565b)),'baseRev':_0x140e94[_0x3b80b0(0x115)](_0x58565b),'revision':0x0,'userID':_0x6fd71d,'memberID':_0xa61b0a,'mutations':_0x4e51c0},'pendingMutations':_0x1d6bba[_0x3b80b0(0x247)](_0x4e51c0[_0x3b80b0(0x32e)])};}function Is(_0x16540c,_0x11e6ac,_0x34ea14,_0x5103a2,_0x5ba284){var _0x40e92d=_0x2a3857,_0x220ab7,_0x2a7027,_0x53a95d,_0x1565b1;const _0x217774=[_0x16540c['reduce']((_0x15837b,_0x5c2063)=>{var _0xb9d77c=_0x5b8f,_0x43d053;const {id:_0xe35ee9}=_0x15837b,{id:_0x29879e,type:_0x39f129}=_0x5c2063,_0x4d9099=(_0x43d053=_0x15837b[_0xb9d77c(0x146)])!=null?_0x43d053:{'actions':null},_0x39ae3e=_0x5c2063[_0xb9d77c(0x146)];if(_0xe35ee9&&_0xe35ee9!==_0x29879e)throw new Error(_0xb9d77c(0x126)+_0xe35ee9+_0xb9d77c(0x415)+_0x29879e+'.');return{..._0x15837b,'id':_0x29879e,'type':_0x39f129,'params':{'unitId':_0x39ae3e['unitId'],'textRanges':_0x39ae3e['textRanges'],'actions':_0x32150e[_0xb9d77c(0x219)](_0x4d9099[_0xb9d77c(0x3fc)],_0x39ae3e[_0xb9d77c(0x3fc)])}};},{})],_0x1a5414=(_0x2a7027=(_0x220ab7=_0x5ba284['getCurrentUser']())==null?void 0x0:_0x220ab7[_0x40e92d(0x12d)])!=null?_0x2a7027:'unknown',_0x226a30=(_0x1565b1=(_0x53a95d=_0x5ba284[_0x40e92d(0x3ed)]())==null?void 0x0:_0x53a95d[_0x40e92d(0x194)])!=null?_0x1565b1:'unknown';return{'changeset':{'unitID':_0x11e6ac,'type':_0x5f2b7f(_0x34ea14[_0x40e92d(0x378)](_0x11e6ac)),'baseRev':_0x5103a2['getCurrentRevOfUnit'](_0x11e6ac),'revision':0x0,'userID':_0x1a5414,'memberID':_0x226a30,'mutations':_0x217774},'pendingMutations':[]};}function Ni(_0x51809e,_0x19a36c){var _0x34900a=_0x2a3857;const _0x50e978=new _0x290582(0x1);return setTimeout(()=>_0x50e978['next'](_0x19a36c),_0x51809e),_0x50e978[_0x34900a(0x2e0)]()['pipe'](_0x20e9c1(0x1));}const Ts={'id':_0x14880c['id'],'type':_0xab8d9d[_0x2a3857(0x31a)],'params':{}};var Cs=Object[_0x2a3857(0x239)],bs=Object[_0x2a3857(0x1e9)],be=(_0x57d945,_0x11eb4a,_0x19e803,_0xdc686d)=>{var _0x5f4163=_0x2a3857;for(var _0x57d267=_0xdc686d>0x1?void 0x0:_0xdc686d?bs(_0x11eb4a,_0x19e803):_0x11eb4a,_0x3ccba3=_0x57d945[_0x5f4163(0x32e)]-0x1,_0x195d53;_0x3ccba3>=0x0;_0x3ccba3--)(_0x195d53=_0x57d945[_0x3ccba3])&&(_0x57d267=(_0xdc686d?_0x195d53(_0x11eb4a,_0x19e803,_0x57d267):_0x195d53(_0x57d267))||_0x57d267);return _0xdc686d&&_0x57d267&&Cs(_0x11eb4a,_0x19e803,_0x57d267),_0x57d267;},A=(_0x21b848,_0x34af4b)=>(_0x165464,_0x4f8563)=>_0x34af4b(_0x165464,_0x4f8563,_0x21b848),Pi=(_0x3043d3=>(_0x3043d3['NOT_COLLAB']=_0x2a3857(0x301),_0x3043d3['SYNCED']=_0x2a3857(0x1fe),_0x3043d3[_0x2a3857(0x32c)]=_0x2a3857(0x345),_0x3043d3[_0x2a3857(0x242)]=_0x2a3857(0x30f),_0x3043d3[_0x2a3857(0x284)]=_0x2a3857(0x311),_0x3043d3[_0x2a3857(0x2fc)]=_0x2a3857(0x316),_0x3043d3[_0x2a3857(0x1dc)]=_0x2a3857(0x40f),_0x3043d3[_0x2a3857(0x32b)]=_0x2a3857(0x184),_0x3043d3))(Pi||{});const Di=0xea60;class Re{constructor(_0x3f3541,_0x107249,_0x3dc53c,_0x5ae5d6,_0x2a4312,_0x26494e,_0x4fb492,_0x199f3f,_0x563fd9){var _0x124047=_0x2a3857;P(this,_0x124047(0x365),null),P(this,_0x124047(0x3cf),[]),(this[_0x124047(0x12e)]=_0x3f3541,this[_0x124047(0x1ce)]=_0x107249,this[_0x124047(0x396)]=_0x2a4312,this[_0x124047(0x143)]=_0x26494e,this[_0x124047(0x36f)]=_0x4fb492,this[_0x124047(0x17a)]=_0x199f3f,this[_0x124047(0x15c)]=_0x563fd9,this[_0x124047(0x365)]=_0x3dc53c,this['_pendingMutations']=_0x5ae5d6);}[_0x2a3857(0x1d2)](_0x30d5f8){var _0x13b3e2=_0x2a3857;const _0x14d643=this[_0x13b3e2(0x17a)][_0x13b3e2(0x115)](this[_0x13b3e2(0x12e)]);return _0x30d5f8[_0x13b3e2(0x1d7)]>_0x14d643+0x1?(this[_0x13b3e2(0x396)]['onMissingChangesets']({'from':_0x14d643,'to':_0x30d5f8['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5cae5c){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x5cae5c);}[_0x2a3857(0x262)](_0x29f547){var _0x26417a=_0x2a3857,_0x7563a3,_0x26ac08;(_0x26ac08=(_0x7563a3=this[_0x26417a(0x396)])[_0x26417a(0x338)])==null||_0x26ac08[_0x26417a(0x15a)](_0x7563a3,_0x29f547);}['_transformIMECache'](_0x467652){var _0x51e0b5=_0x2a3857,_0x174537,_0x3cf27a;return(_0x3cf27a=(_0x174537=this[_0x51e0b5(0x396)])[_0x51e0b5(0x2ff)])==null?void 0x0:_0x3cf27a[_0x51e0b5(0x15a)](_0x174537,_0x467652);}[_0x2a3857(0x3b8)](_0x3a35e7){var _0x775d4f=_0x2a3857,_0x4f9bae,_0x4b265b;return(_0x4b265b=(_0x4f9bae=this[_0x775d4f(0x396)])[_0x775d4f(0x2f0)])==null?void 0x0:_0x4b265b[_0x775d4f(0x15a)](_0x4f9bae,_0x3a35e7);}[_0x2a3857(0x154)](_0x2a1645){var _0x1f3087=_0x2a3857,_0x3ff053,_0x1af53d,_0x53d5f0;return(_0x53d5f0=(_0x1af53d=(_0x3ff053=this[_0x1f3087(0x396)])[_0x1f3087(0x17e)])==null?void 0x0:_0x1af53d[_0x1f3087(0x15a)](_0x3ff053,_0x2a1645))!=null?_0x53d5f0:_0x2a1645;}[_0x2a3857(0x1cd)](_0x8f2fe0){var _0x1a4d5b=_0x2a3857,_0x42b9e3,_0x83863f,_0x10b7c6;return(_0x10b7c6=(_0x83863f=(_0x42b9e3=this[_0x1a4d5b(0x396)])[_0x1a4d5b(0x2bc)])==null?void 0x0:_0x83863f[_0x1a4d5b(0x15a)](_0x42b9e3,_0x8f2fe0))!=null?_0x10b7c6:_0x8f2fe0;}[_0x2a3857(0x359)](_0x4a5e71){var _0x5ab30c=_0x2a3857,_0x202d51,_0x5f5236;if(this[_0x5ab30c(0x1ce)]===Q['UNIVER_DOC']){const {unitID:_0x4e4850,mutations:_0x482d5c,memberID:_0x482b36}=_0x4a5e71,_0x579741=_0x482d5c[0x0]['params'][_0x5ab30c(0x3d0)];Array['isArray'](_0x579741)&&_0x579741[_0x5ab30c(0x32e)]>0x0&&((_0x5f5236=(_0x202d51=this[_0x5ab30c(0x396)])[_0x5ab30c(0x1d0)])==null||_0x5f5236[_0x5ab30c(0x15a)](_0x202d51,{'unitID':_0x4e4850,'memberID':_0x482b36,'textRanges':_0x579741}));}}[_0x2a3857(0x1e0)](){var _0x49ea03=_0x2a3857,_0x2ba1f5;(_0x2ba1f5=this[_0x49ea03(0x15c)])==null||_0x2ba1f5[_0x49ea03(0x233)](this[_0x49ea03(0x12e)],this['type'],this['_awaitingChangeset'],this[_0x49ea03(0x3cf)]);}[_0x2a3857(0x3c7)](){var _0x5a7d2a=_0x2a3857;return this[_0x5a7d2a(0x17a)][_0x5a7d2a(0x115)](this[_0x5a7d2a(0x12e)]);}[_0x2a3857(0x289)](){var _0x2480c2=_0x2a3857;this['_revisionService'][_0x2480c2(0x116)](this[_0x2480c2(0x12e)]);}[_0x2a3857(0x3a0)](_0x4727f4){var _0x4f9877=_0x2a3857,_0x41f630;let _0x25ea07=this[_0x4f9877(0x154)](_0x4727f4);_0x25ea07=this['_transformRemoteChangesetByStateCache'](_0x25ea07);const _0x4e097e=_0x595582(_0x25ea07[_0x4f9877(0x22a)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4e097e['result'])throw _0x4e097e['error']instanceof Error?_0x4e097e[_0x4f9877(0x119)]:new Error((_0x41f630=_0x4e097e['error'])!=null?_0x41f630:_0x4f9877(0x3e4));this[_0x4f9877(0x230)](_0x25ea07),this[_0x4f9877(0x3b8)](_0x25ea07),this['_transformUndoredo'](_0x4727f4),this[_0x4f9877(0x262)](_0x25ea07),this[_0x4f9877(0x359)](_0x25ea07),this['_incrementRevisionNumber']();}}let Pe=class extends Re{constructor(_0x41a4bc,_0x235fd1,_0xe56f70,_0x1a70c0,_0x3b7453,_0x165b79,_0x500bf3,_0x21819b,_0x1d680d,_0x17cb9a){var _0x50e9e4=_0x2a3857;super(_0x41a4bc,_0x235fd1,null,[],_0xe56f70,_0x500bf3,_0x165b79,_0x1a70c0,_0x17cb9a),P(this,'status','synced'),(this[_0x50e9e4(0x158)]=_0x3b7453,this['_logService']=_0x21819b,this['_transformService']=_0x1d680d,this['localCacheService']=_0x17cb9a);}[_0x2a3857(0x317)](_0x3577a3){var _0x3295af=_0x2a3857;const _0x4549c4=this[_0x3295af(0x158)]['createInstance'](oe,this[_0x3295af(0x12e)],this[_0x3295af(0x1ce)],[_0x3577a3],this[_0x3295af(0x396)]);return _0x4549c4[_0x3295af(0x375)](),_0x4549c4[_0x3295af(0x1e0)](),_0x4549c4;}[_0x2a3857(0x344)](_0x37d88e){var _0x4f69f4=_0x2a3857;if(this['_checkMissing'](_0x37d88e))return this[_0x4f69f4(0x158)][_0x4f69f4(0x3a6)](te,this[_0x4f69f4(0x12e)],this[_0x4f69f4(0x1ce)],null,[],null,[_0x37d88e],this[_0x4f69f4(0x396)]);try{const _0x3c587f=this['_transformService'][_0x4f69f4(0x1c4)](_0x37d88e,[Ts]);if(_0x17f224(_0x3c587f)){const {c1Prime:_0x1f96ea}=_0x3c587f;return this[_0x4f69f4(0x3a0)](_0x1f96ea),this;}throw _0x3c587f['error'];}catch(_0x428b9d){return this[_0x4f69f4(0x335)][_0x4f69f4(0x119)](_0x428b9d),this[_0x4f69f4(0x160)](!0x1);}}[_0x2a3857(0x160)](_0x1f75de){var _0x31da8d=_0x2a3857;return this[_0x31da8d(0x158)][_0x31da8d(0x3a6)](de,this[_0x31da8d(0x12e)],this[_0x31da8d(0x1ce)],null,[],this[_0x31da8d(0x396)],_0x1f75de);}[_0x2a3857(0x2a0)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2a3857(0x117)](){var _0x2f279d=_0x2a3857;throw new Error(_0x2f279d(0x3f3));}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){var _0x22c260=_0x2a3857;return this[_0x22c260(0x158)][_0x22c260(0x3a6)](fe,this['unitID'],this['type'],null,[],this[_0x22c260(0x396)]);}['toggleOnline'](){return this;}[_0x2a3857(0x2e9)](){var _0xd57cd0=_0x2a3857;throw new Error(_0xd57cd0(0x2ea));}['fetchMiss'](){var _0x130b8a=_0x2a3857;const _0x1898b4=this['_revisionService'][_0x130b8a(0x115)](this[_0x130b8a(0x12e)]);return this[_0x130b8a(0x396)]['onMissingChangesets']({'from':_0x1898b4,'to':0x0}),this[_0x130b8a(0x158)][_0x130b8a(0x3a6)](te,this['unitID'],this[_0x130b8a(0x1ce)],null,[],null,[],this[_0x130b8a(0x396)]);}};Pe=be([A(0x3,_0x21b3b2(_0x49a07f)),A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x34b8e6),A(0x6,_0xd6fdcf),A(0x7,_0x4e1c8f),A(0x8,_0x59eb83),A(0x9,_0x10c77b(X))],Pe);let oe=class extends Re{constructor(_0x2057b9,_0x5e8e98,_0x4fb324,_0x42643f,_0x425af8,_0x2c8af7,_0x216a40,_0x52dc7d,_0x2c4b5b,_0x5e7867,_0x43ce50,_0x1a3370,_0x1fcca5,_0x2662b1){var _0x3cc327=_0x2a3857;super(_0x2057b9,_0x5e8e98,null,_0x4fb324,_0x42643f,_0x2c4b5b,_0x1fcca5,_0x2c8af7,_0x2662b1),P(this,'status',_0x3cc327(0x345)),P(this,_0x3cc327(0x2ee),null),P(this,_0x3cc327(0x1f0),null),(this[_0x3cc327(0x158)]=_0x425af8,this[_0x3cc327(0x185)]=_0x216a40,this[_0x3cc327(0x335)]=_0x52dc7d,this[_0x3cc327(0x205)]=_0x5e7867,this['_transformService']=_0x43ce50,this['_univerInstanceService']=_0x1a3370);}[_0x2a3857(0x317)](_0x498260){var _0x12523d=_0x2a3857;return this[_0x12523d(0x3cf)][_0x12523d(0x271)](_0x498260),this[_0x12523d(0x1e0)](),this;}[_0x2a3857(0x344)](_0x154ab2){var _0x2b60c3=_0x2a3857;if(this['_checkMissing'](_0x154ab2))return this[_0x2b60c3(0x329)](),this[_0x2b60c3(0x158)]['createInstance'](te,this[_0x2b60c3(0x12e)],this[_0x2b60c3(0x1ce)],null,this[_0x2b60c3(0x3cf)],null,[_0x154ab2],this[_0x2b60c3(0x396)]);try{const _0x2e2377=this[_0x2b60c3(0x26b)]['transformMutationsWithChangeset'](_0x154ab2,this[_0x2b60c3(0x3cf)]);if(_0x17f224(_0x2e2377)){const {c1Prime:_0xd8f90a,m2Prime:_0x4a6ce5}=_0x2e2377;this[_0x2b60c3(0x3a0)](_0xd8f90a);const _0x2efa1b=this[_0x2b60c3(0x158)][_0x2b60c3(0x3a6)](oe,this[_0x2b60c3(0x12e)],this['type'],_0x4a6ce5,this[_0x2b60c3(0x396)]);this[_0x2b60c3(0x329)]();const _0x5cf7f4=new Date()[_0x2b60c3(0x133)](),_0x508fd6=this[_0x2b60c3(0x2ee)]?Math[_0x2b60c3(0x24b)](this['_scheduleCompleteTimestamp']-_0x5cf7f4,0x0):this[_0x2b60c3(0x167)]();return _0x2efa1b[_0x2b60c3(0x375)](_0x508fd6),_0x2efa1b;}throw _0x2e2377[_0x2b60c3(0x119)];}catch(_0x24779f){return this[_0x2b60c3(0x335)][_0x2b60c3(0x119)](_0x24779f),this[_0x2b60c3(0x160)](!0x1);}}[_0x2a3857(0x2a0)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2a3857(0x117)](){var _0x53197b=_0x2a3857;throw new Error(_0x53197b(0x309));}[_0x2a3857(0x2bb)](){return this;}['toggleOffline'](){var _0x4e9b7d=_0x2a3857;return this[_0x4e9b7d(0x329)](),this[_0x4e9b7d(0x158)][_0x4e9b7d(0x3a6)](fe,this['unitID'],this['type'],null,this[_0x4e9b7d(0x3cf)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x758b87){var _0x9f16f7=_0x2a3857;const _0x323e1b=_0x758b87!=null?_0x758b87:this['_getSendChangesetTimeout']();this[_0x9f16f7(0x2ee)]=new Date()[_0x9f16f7(0x133)]()+_0x323e1b,this[_0x9f16f7(0x1f0)]=setTimeout(()=>{var _0x584bc0=_0x9f16f7;this[_0x584bc0(0x329)]();let _0x3940fa=null;switch(this[_0x584bc0(0x1ce)]){case Q[_0x584bc0(0x292)]:{_0x3940fa=Xt(this[_0x584bc0(0x3cf)],this['unitID'],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this[_0x584bc0(0x185)]);break;}case Q[_0x584bc0(0x1d6)]:{this[_0x584bc0(0x3cf)]['every'](_0x40f603=>_0x40f603['id']===_0x117fd1['id'])?_0x3940fa=Is(this[_0x584bc0(0x3cf)],this[_0x584bc0(0x12e)],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this[_0x584bc0(0x185)]):_0x3940fa=Xt(this['_pendingMutations'],this[_0x584bc0(0x12e)],this[_0x584bc0(0x3cd)],this[_0x584bc0(0x17a)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x584bc0(0x28d));}const {changeset:_0x1aba7e,pendingMutations:_0x5e2104}=_0x3940fa;this[_0x584bc0(0x396)][_0x584bc0(0x237)](_0x1aba7e);const _0x21d92b=_0x5e2104[_0x584bc0(0x32e)]?this[_0x584bc0(0x158)]['createInstance'](ae,this[_0x584bc0(0x12e)],this[_0x584bc0(0x1ce)],_0x1aba7e,_0x5e2104,this['_handler'],void 0x0):this[_0x584bc0(0x158)][_0x584bc0(0x3a6)](ue,this[_0x584bc0(0x12e)],this['type'],_0x1aba7e,this[_0x584bc0(0x396)]);_0x21d92b['_updateLocalCache'](),this[_0x584bc0(0x396)][_0x584bc0(0x19e)](this,_0x21d92b);},_0x323e1b);}[_0x2a3857(0x167)](){var _0x4ae26b=_0x2a3857,_0x95c96f;const _0x56c973=this['_configService'][_0x4ae26b(0x122)](Y);return(_0x95c96f=_0x56c973==null?void 0x0:_0x56c973[_0x4ae26b(0x324)])!=null?_0x95c96f:An;}['resend'](){var _0x45db10=_0x2a3857;throw new Error(_0x45db10(0x1a5));}[_0x2a3857(0x329)](){var _0x4bdd12=_0x2a3857;this[_0x4bdd12(0x1f0)]!=null&&(clearTimeout(this[_0x4bdd12(0x1f0)]),this[_0x4bdd12(0x1f0)]=null);}[_0x2a3857(0x160)](_0xd288c5){var _0x5c0350=_0x2a3857;return this[_0x5c0350(0x329)](),this[_0x5c0350(0x158)]['createInstance'](de,this[_0x5c0350(0x12e)],this[_0x5c0350(0x1ce)],null,this[_0x5c0350(0x3cf)],this[_0x5c0350(0x396)],_0xd288c5);}};oe=be([A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x21b3b2(_0x49a07f)),A(0x6,_0x21b3b2(xe)),A(0x7,_0x4e1c8f),A(0x8,_0xd6fdcf),A(0x9,_0x24bebb),A(0xa,_0x59eb83),A(0xb,_0x40e127),A(0xc,_0x34b8e6),A(0xd,_0x10c77b(X))],oe);let ue=class extends Re{constructor(_0x136112,_0x113d22,_0x43729d,_0x242a1d,_0x42f5fa,_0x17d607,_0x28cafb,_0x30fa91,_0x347792,_0x17ed0d,_0x56bdd4){var _0x1dc1a5=_0x2a3857;super(_0x136112,_0x113d22,_0x43729d,[],_0x242a1d,_0x28cafb,_0x17ed0d,_0x17d607,_0x56bdd4),P(this,'status',_0x1dc1a5(0x30f)),P(this,'_resendTimeout',0x0),P(this,_0x1dc1a5(0x250)),P(this,_0x1dc1a5(0x41e)),(this[_0x1dc1a5(0x158)]=_0x42f5fa,this[_0x1dc1a5(0x335)]=_0x30fa91,this[_0x1dc1a5(0x26b)]=_0x347792);}['appendMutation'](_0x3cd5fd){var _0x29f855=_0x2a3857;this[_0x29f855(0x329)]();const _0x2e8539=this[_0x29f855(0x158)][_0x29f855(0x3a6)](ae,this[_0x29f855(0x12e)],this['type'],this[_0x29f855(0x365)],[_0x3cd5fd],this[_0x29f855(0x396)],this['_resendTimer']);return _0x2e8539[_0x29f855(0x1e0)](),_0x2e8539;}['onRemoteChangeset'](_0x3667fb){var _0x266e62=_0x2a3857;if(this[_0x266e62(0x1d2)](_0x3667fb))return this[_0x266e62(0x329)](),this['_injector'][_0x266e62(0x3a6)](te,this[_0x266e62(0x12e)],this['type'],this[_0x266e62(0x365)],[],null,[_0x3667fb],this[_0x266e62(0x396)]);try{const _0x2c7bfc=this['_transformService'][_0x266e62(0x180)]([_0x3667fb],[this[_0x266e62(0x365)]],!0x1);if(_0x41a995(_0x2c7bfc)){const {c1Prime:_0x7be40b,c2Prime:_0x40aa5c}=_0x2c7bfc;this[_0x266e62(0x3a0)](_0x7be40b[0x0]),_0x40aa5c[0x0][_0x266e62(0x2fa)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0xa00096=this['_injector'][_0x266e62(0x3a6)](ue,this['unitID'],this[_0x266e62(0x1ce)],_0x40aa5c[0x0],this[_0x266e62(0x396)]);return _0xa00096['_updateLocalCache'](),_0xa00096;}return this[_0x266e62(0x160)](!0x1);}catch(_0x1ef8a9){return this[_0x266e62(0x335)][_0x266e62(0x119)](_0x1ef8a9),this[_0x266e62(0x160)](!0x1);}}[_0x2a3857(0x2a0)](_0x548bdd){var _0x5bdf8d=_0x2a3857;this[_0x5bdf8d(0x329)]();const _0x49573c=this[_0x5bdf8d(0x17a)][_0x5bdf8d(0x115)](this[_0x5bdf8d(0x12e)]);if(_0x548bdd[_0x5bdf8d(0x1d7)]<_0x49573c-0x1)return this;if(this[_0x5bdf8d(0x1d2)](_0x548bdd))return this[_0x5bdf8d(0x158)][_0x5bdf8d(0x3a6)](te,this[_0x5bdf8d(0x12e)],this['type'],null,[],this[_0x5bdf8d(0x365)],[],this[_0x5bdf8d(0x396)]);this[_0x5bdf8d(0x289)]();const _0x2d2f16=this[_0x5bdf8d(0x158)][_0x5bdf8d(0x3a6)](Pe,this[_0x5bdf8d(0x12e)],this[_0x5bdf8d(0x1ce)],this[_0x5bdf8d(0x396)]);return _0x2d2f16['_updateLocalCache'](),_0x2d2f16;}[_0x2a3857(0x117)](_0x3ecce5){var _0x13a223=_0x2a3857;return this[_0x13a223(0x160)](!!(_0x3ecce5!=null&&_0x3ecce5[_0x13a223(0x3c5)]));}['onRemoteRetry'](_0x5281f5){var _0x538618=_0x2a3857;return this[_0x538618(0x191)]>Di?this[_0x538618(0x186)]():(this[_0x538618(0x250)]=Ni(this['_resendTimeout'],{'timeout':this[_0x538618(0x191)],'reqId':_0x5281f5[_0x538618(0x226)]}),this[_0x538618(0x41e)]=this[_0x538618(0x250)]['subscribe'](({reqId:_0x213748,timeout:_0x42340c})=>{var _0x3cb3a3=_0x538618;this[_0x3cb3a3(0x2d2)](_0x213748,_0x42340c);}),this);}[_0x2a3857(0x186)](){var _0x117ad8=_0x2a3857;return this[_0x117ad8(0x329)](),this[_0x117ad8(0x158)][_0x117ad8(0x3a6)](fe,this[_0x117ad8(0x12e)],this[_0x117ad8(0x1ce)],this[_0x117ad8(0x365)],[],this[_0x117ad8(0x396)]);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){var _0x208a09=_0x2a3857;this['_handler'][_0x208a09(0x237)](this[_0x208a09(0x365)]);}['_onConflict'](_0x143db7){var _0x10855e=_0x2a3857;return this[_0x10855e(0x329)](),this[_0x10855e(0x158)][_0x10855e(0x3a6)](de,this['unitID'],this['type'],this[_0x10855e(0x365)],[],this[_0x10855e(0x396)],_0x143db7);}['_resendWithTimeout'](_0x2cf458,_0x5560f2){var _0x2ceaec=_0x2a3857,_0x2fc667;_0x2cf458===((_0x2fc667=this[_0x2ceaec(0x365)])==null?void 0x0:_0x2fc667[_0x2ceaec(0x226)])&&(this[_0x2ceaec(0x2e9)](),this[_0x2ceaec(0x191)]=_0x5560f2===0x0?0x3e8:_0x5560f2*0x2);}[_0x2a3857(0x329)](){var _0x610e63=_0x2a3857,_0x102e57;(_0x102e57=this['_sender'])==null||_0x102e57[_0x610e63(0x3fd)](),this[_0x610e63(0x191)]=0x0;}};ue=be([A(0x4,_0x21b3b2(_0x548366)),A(0x5,_0x21b3b2(_0x49a07f)),A(0x6,_0xd6fdcf),A(0x7,_0x4e1c8f),A(0x8,_0x59eb83),A(0x9,_0x34b8e6),A(0xa,_0x10c77b(X))],ue);let ae=class extends Re{constructor(_0x364282,_0x5d9a90,_0x53fe27,_0x205714,_0x2631c0,_0x3e57d0,_0x2b3068,_0x26689e,_0x19d5cd,_0x5de655,_0x14f00f,_0xdecefe,_0x473168){var _0x59f7de=_0x2a3857;super(_0x364282,_0x5d9a90,_0x53fe27,_0x205714,_0x2631c0,_0x19d5cd,_0xdecefe,_0x26689e,_0x473168),P(this,'status','awaiting_with_pending'),P(this,_0x59f7de(0x191),0x0),P(this,_0x59f7de(0x250)),P(this,_0x59f7de(0x41e)),(this['_injector']=_0x2b3068,this[_0x59f7de(0x335)]=_0x5de655,this[_0x59f7de(0x26b)]=_0x14f00f,this[_0x59f7de(0x2c7)]=_0x473168,_0x3e57d0&&(this['_resendTimer']=_0x3e57d0,this[_0x59f7de(0x41e)]=this[_0x59f7de(0x250)][_0x59f7de(0x2cb)](({reqId:_0x66b41f,timeout:_0x2c8d97})=>{var _0x440b3a=_0x59f7de;this[_0x440b3a(0x2d2)](_0x66b41f,_0x2c8d97);})));}[_0x2a3857(0x317)](_0x7c1058){var _0x5d0540=_0x2a3857;return this['_pendingMutations'][_0x5d0540(0x271)](_0x7c1058),this;}[_0x2a3857(0x344)](_0x4262f4){var _0x204334=_0x2a3857;if(this['_checkMissing'](_0x4262f4))return this[_0x204334(0x329)](),this[_0x204334(0x158)][_0x204334(0x3a6)](te,this[_0x204334(0x12e)],this['type'],this[_0x204334(0x365)],this[_0x204334(0x3cf)],null,[_0x4262f4],this['_handler']);try{const _0x4fdaa5=this[_0x204334(0x26b)][_0x204334(0x180)]([_0x4262f4],[this['_awaitingChangeset']],!0x1);if(_0x41a995(_0x4fdaa5)){const {c1Prime:_0x5c2579,c2Prime:_0x37ceb6}=_0x4fdaa5,_0x492673=this['_transformService'][_0x204334(0x1c4)](_0x5c2579[0x0],this[_0x204334(0x3cf)]);if(_0x17f224(_0x492673)){const {c1Prime:_0x301bf1,m2Prime:_0x9b216f}=_0x492673;return this[_0x204334(0x3a0)](_0x301bf1),_0x37ceb6[0x0][_0x204334(0x2fa)]=this['_getCurrentRevision'](),this[_0x204334(0x329)](),this['_injector'][_0x204334(0x3a6)](ae,this[_0x204334(0x12e)],this[_0x204334(0x1ce)],_0x37ceb6[0x0],_0x9b216f,this[_0x204334(0x396)],void 0x0);}throw _0x492673[_0x204334(0x119)];}throw _0x4fdaa5['error'];}catch(_0x42f54b){return this[_0x204334(0x335)]['error'](_0x42f54b),this[_0x204334(0x160)](!0x1);}}[_0x2a3857(0x2a0)](_0x23c9d1){var _0x5ce590=_0x2a3857;if(this[_0x5ce590(0x329)](),this['_checkMissing'](_0x23c9d1))return this[_0x5ce590(0x158)][_0x5ce590(0x3a6)](te,this[_0x5ce590(0x12e)],this[_0x5ce590(0x1ce)],null,this[_0x5ce590(0x3cf)],this['_awaitingChangeset'],[],this[_0x5ce590(0x396)]);this[_0x5ce590(0x289)]();const _0x566bb3=this[_0x5ce590(0x158)][_0x5ce590(0x3a6)](oe,this[_0x5ce590(0x12e)],this[_0x5ce590(0x1ce)],this[_0x5ce590(0x3cf)],this[_0x5ce590(0x396)]);return _0x566bb3[_0x5ce590(0x375)](),_0x566bb3[_0x5ce590(0x1e0)](),_0x566bb3;}[_0x2a3857(0x117)](_0x14dbfc){var _0x288ee2=_0x2a3857;return this[_0x288ee2(0x160)](!!(_0x14dbfc!=null&&_0x14dbfc['isPermissionRej']));}[_0x2a3857(0x2bb)](_0x2361a6){var _0xa39611=_0x2a3857;return this['_resendTimeout']>Di?this[_0xa39611(0x186)]():(this[_0xa39611(0x250)]=Ni(this[_0xa39611(0x191)],{'timeout':this[_0xa39611(0x191)],'reqId':_0x2361a6[_0xa39611(0x226)]}),this[_0xa39611(0x41e)]=this['_resendTimer'][_0xa39611(0x2cb)](({reqId:_0x55fd5a,timeout:_0x473136})=>{this['_resendWithTimeout'](_0x55fd5a,_0x473136);}),this);}['toggleOffline'](){var _0x4e806a=_0x2a3857;return this[_0x4e806a(0x329)](),this[_0x4e806a(0x158)]['createInstance'](fe,this[_0x4e806a(0x12e)],this[_0x4e806a(0x1ce)],this[_0x4e806a(0x365)],this['_pendingMutations'],this[_0x4e806a(0x396)]);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){var _0x581f8d=_0x2a3857;this[_0x581f8d(0x396)][_0x581f8d(0x237)](this[_0x581f8d(0x365)]);}[_0x2a3857(0x160)](_0x2ee836){var _0x4b1c2c=_0x2a3857;return this[_0x4b1c2c(0x329)](),this[_0x4b1c2c(0x158)][_0x4b1c2c(0x3a6)](de,this['unitID'],this[_0x4b1c2c(0x1ce)],null,this[_0x4b1c2c(0x3cf)],this[_0x4b1c2c(0x396)],_0x2ee836);}['_resendWithTimeout'](_0x30256d,_0x42b1ae){var _0x44dff7=_0x2a3857,_0xaabd99;_0x30256d===((_0xaabd99=this[_0x44dff7(0x365)])==null?void 0x0:_0xaabd99[_0x44dff7(0x226)])&&(this[_0x44dff7(0x2e9)](),this[_0x44dff7(0x191)]=_0x42b1ae===0x0?0x3e8:_0x42b1ae*0x2);}[_0x2a3857(0x329)](){var _0x2d9276=_0x2a3857,_0x586eea;(_0x586eea=this[_0x2d9276(0x41e)])==null||_0x586eea[_0x2d9276(0x3fd)](),this[_0x2d9276(0x191)]=0x0;}};ae=be([A(0x6,_0x21b3b2(_0x548366)),A(0x7,_0x21b3b2(_0x49a07f)),A(0x8,_0xd6fdcf),A(0x9,_0x4e1c8f),A(0xa,_0x59eb83),A(0xb,_0x34b8e6),A(0xc,_0x10c77b(X))],ae);let de=class extends Re{constructor(_0x2bed3d,_0x10c2ec,_0x1cf07f,_0x253cbd,_0x2e4a37,_0x1baf51=!0x1,_0xe442ed,_0x4c1884,_0x12c179,_0x3773b3,_0x44dde7,_0x5ec1e2,_0x2ad5bd){var _0x1882a6=_0x2a3857;super(_0x2bed3d,_0x10c2ec,_0x1cf07f,_0x253cbd,_0x2e4a37,_0x4c1884,_0x12c179,_0x3773b3,_0x2ad5bd),P(this,_0x1882a6(0x206),_0x1882a6(0x40f)),(this[_0x1882a6(0x12c)]=_0x1baf51,this['_permissionService']=_0xe442ed,this['_localeService']=_0x44dde7,this['_collaborationUIEventService']=_0x5ec1e2,this[_0x1882a6(0x2c7)]=_0x2ad5bd,this[_0x1882a6(0x355)](),this['_clearLocalCache'](),this[_0x1882a6(0x1ba)]());}[_0x2a3857(0x317)](){return this;}[_0x2a3857(0x344)](){return this;}[_0x2a3857(0x2a0)](){return this;}[_0x2a3857(0x117)](){return this;}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){return this;}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x2e9)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1e1cca=_0x2a3857,_0x5a78ab;(_0x5a78ab=this[_0x1e1cca(0x15c)])==null||_0x5a78ab[_0x1e1cca(0x233)](this['unitID'],this[_0x1e1cca(0x1ce)],null,[]);}[_0x2a3857(0x355)](){var _0x39d928=_0x2a3857;this[_0x39d928(0x12c)]?this[_0x39d928(0x30d)][_0x39d928(0x3db)]({'id':re[_0x39d928(0x13f)]}):this[_0x39d928(0x30d)]['emitEvent']({'id':re[_0x39d928(0x1dc)]});}[_0x2a3857(0x1ba)](){var _0x36873c=_0x2a3857;this[_0x36873c(0x11e)][_0x36873c(0x20e)](new _0x39ae2d(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x21b3b2(_0x1c05e3)),A(0x7,_0xd6fdcf),A(0x8,_0x34b8e6),A(0x9,_0x21b3b2(_0x49a07f)),A(0xa,_0x21b3b2(_0x551f00)),A(0xb,_0x21b3b2(pe)),A(0xc,_0x10c77b(X))],de);let fe=class extends Re{constructor(_0x1b8a88,_0x103280,_0x2ab73f,_0x36633c,_0x2f34f5,_0x21b17d,_0xc3e42b,_0x547f2e,_0x476f8a,_0x249907){var _0x387110=_0x2a3857;super(_0x1b8a88,_0x103280,_0x2ab73f,_0x36633c,_0x2f34f5,_0x547f2e,_0x476f8a,_0xc3e42b,_0x249907),P(this,_0x387110(0x206),_0x387110(0x184)),this['_injector']=_0x21b17d;}[_0x2a3857(0x317)](_0x33453a){var _0x5bc161=_0x2a3857;return this[_0x5bc161(0x3cf)]['push'](_0x33453a),this[_0x5bc161(0x1e0)](),this;}[_0x2a3857(0x344)](_0x574ec){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2a3857(0x2a0)](){var _0x41bb55=_0x2a3857;throw new Error(_0x41bb55(0x1d9));}['onRemoteRej'](){var _0x21ac64=_0x2a3857;throw new Error(_0x21ac64(0x2df));}[_0x2a3857(0x2bb)](){return this;}[_0x2a3857(0x186)](){return this;}['toggleOnline'](){var _0x5ab340=_0x2a3857;const {_injector:_0x16ef2a,_pendingMutations:_0x229ec1,_awaitingChangeset:_0x1f0471,unitID:_0x1e522c,_handler:_0x4efce8,type:_0x3b9aa1}=this,_0x3b3149=wi(_0x16ef2a,_0x1e522c,_0x3b9aa1,_0x1f0471,_0x229ec1,_0x4efce8);return _0x3b3149 instanceof oe?_0x3b3149['_schedule']():(_0x3b3149 instanceof ae||_0x3b3149 instanceof ue)&&_0x3b3149[_0x5ab340(0x2e9)](),_0x3b3149;}[_0x2a3857(0x2e9)](){var _0x5d1a3f=_0x2a3857;throw new Error(_0x5d1a3f(0x15b));}};fe=be([A(0x5,_0x21b3b2(_0x548366)),A(0x6,_0x21b3b2(_0x49a07f)),A(0x7,_0xd6fdcf),A(0x8,_0x34b8e6),A(0x9,_0x10c77b(X))],fe);let te=class extends Re{constructor(_0x2aa315,_0xf28cb3,_0xb2eb1,_0x337375,_0x458856,_0x486729,_0xb78378,_0x284e25,_0x456b10,_0x366523,_0x3f5a08,_0x45e503,_0x3b28c8,_0x55c6b2){var _0x25e563=_0x2a3857;super(_0x2aa315,_0xf28cb3,_0xb2eb1,_0x337375,_0xb78378,_0x3f5a08,_0x45e503,_0x456b10,_0x55c6b2),P(this,_0x25e563(0x206),_0x25e563(0x316)),(this['_acknowledgedAwaitingChangeset']=_0x458856,this[_0x25e563(0x2e7)]=_0x486729,this[_0x25e563(0x158)]=_0x284e25,this[_0x25e563(0x335)]=_0x366523,this[_0x25e563(0x26b)]=_0x3b28c8,this[_0x25e563(0x2c7)]=_0x55c6b2);}[_0x2a3857(0x1c6)](_0x52d58d){var _0x59a0d0=_0x2a3857;try{const _0x4cb99c=[..._0x52d58d,...this[_0x59a0d0(0x2e7)]],_0x6f357c=[this[_0x59a0d0(0x365)]||this['_acknowledgedAwaitingChangeset']][_0x59a0d0(0x166)](_0x5ad64d=>!!_0x5ad64d);let _0xefc925,_0x2cda01;if(_0x6f357c[_0x59a0d0(0x32e)]){const _0x4e9cd6=this[_0x59a0d0(0x26b)][_0x59a0d0(0x180)](_0x4cb99c,_0x6f357c,!0x1);if(!_0x41a995(_0x4e9cd6))throw _0x4e9cd6[_0x59a0d0(0x119)];_0xefc925=_0x4e9cd6[_0x59a0d0(0x2a8)],_0x2cda01=_0x4e9cd6[_0x59a0d0(0x265)];}else _0xefc925=_0x4cb99c,_0x2cda01=[];let _0x4a608d=this[_0x59a0d0(0x3cf)];_0xefc925[_0x59a0d0(0x168)](_0x115d6f=>{var _0x2b0b12=_0x59a0d0;let _0x631120;if(_0x4a608d[_0x2b0b12(0x32e)]){const _0x4e19cf=this['_transformService'][_0x2b0b12(0x1c4)](_0x115d6f,_0x4a608d);if(!_0x17f224(_0x4e19cf))throw _0x4e19cf[_0x2b0b12(0x119)];_0x631120=_0x4e19cf[_0x2b0b12(0x2a8)],_0x4a608d=_0x4e19cf[_0x2b0b12(0x19d)];}else _0x631120=_0x115d6f;this[_0x2b0b12(0x3a0)](_0x631120);}),this[_0x59a0d0(0x273)]&&this[_0x59a0d0(0x289)](),this[_0x59a0d0(0x365)]&&_0x2cda01[_0x59a0d0(0x32e)]&&(_0x2cda01[0x0][_0x59a0d0(0x2fa)]=this[_0x59a0d0(0x3c7)]());let _0x3e64b6;if(this['_awaitingChangeset']&&_0x4a608d[_0x59a0d0(0x32e)]!==0x0)_0x3e64b6=this[_0x59a0d0(0x158)][_0x59a0d0(0x3a6)](ae,this[_0x59a0d0(0x12e)],this['type'],_0x2cda01[0x0],_0x4a608d,this['_handler'],void 0x0);else{if(this[_0x59a0d0(0x365)]&&_0x4a608d['length']===0x0)_0x2cda01[0x0][_0x59a0d0(0x2fa)]=this[_0x59a0d0(0x3c7)](),_0x3e64b6=this['_injector'][_0x59a0d0(0x3a6)](ue,this['unitID'],this[_0x59a0d0(0x1ce)],_0x2cda01[0x0],this['_handler']);else{if(_0x4a608d[_0x59a0d0(0x32e)]!==0x0){const _0x3b9930=this[_0x59a0d0(0x158)]['createInstance'](oe,this['unitID'],this[_0x59a0d0(0x1ce)],_0x4a608d,this[_0x59a0d0(0x396)]);_0x3b9930['_schedule'](),_0x3e64b6=_0x3b9930;}else _0x3e64b6=this['_injector'][_0x59a0d0(0x3a6)](Pe,this[_0x59a0d0(0x12e)],this[_0x59a0d0(0x1ce)],this['_handler']);}}return _0x3e64b6[_0x59a0d0(0x1e0)](),_0x3e64b6;}catch(_0x33c353){return this[_0x59a0d0(0x335)][_0x59a0d0(0x119)]('[FetchMissState]',_0x59a0d0(0x23b),_0x33c353),this[_0x59a0d0(0x158)]['createInstance'](de,this[_0x59a0d0(0x12e)],this[_0x59a0d0(0x1ce)],this['_awaitingChangeset'],this[_0x59a0d0(0x3cf)],this[_0x59a0d0(0x396)],!0x1);}}[_0x2a3857(0x2e9)](){var _0x345b0f=_0x2a3857;throw new Error(_0x345b0f(0x2f6));}['appendMutation'](_0x10705d){var _0x24ba6a=_0x2a3857;return this[_0x24ba6a(0x3cf)]['push'](_0x10705d),this;}[_0x2a3857(0x344)](_0x3b2635){var _0x55eb4e=_0x2a3857;return this[_0x55eb4e(0x2e7)]['push'](_0x3b2635),this;}[_0x2a3857(0x2a0)](_0x5c0c67){var _0x5bcf00=_0x2a3857;if(this['_awaitingChangeset'])return this[_0x5bcf00(0x273)]=this[_0x5bcf00(0x365)],this[_0x5bcf00(0x365)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2a3857(0x117)](_0x32ff85){return this['_onConflict'](!!(_0x32ff85!=null&&_0x32ff85['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x2a3857(0x186)](){var _0x27c7f7=_0x2a3857;return this[_0x27c7f7(0x158)][_0x27c7f7(0x3a6)](fe,this[_0x27c7f7(0x12e)],this[_0x27c7f7(0x1ce)],this[_0x27c7f7(0x365)],this[_0x27c7f7(0x3cf)],this['_handler']);}[_0x2a3857(0x361)](){return this;}[_0x2a3857(0x160)](_0x5763c3){var _0x1d644d=_0x2a3857;return this[_0x1d644d(0x158)][_0x1d644d(0x3a6)](de,this[_0x1d644d(0x12e)],this[_0x1d644d(0x1ce)],this[_0x1d644d(0x365)],this[_0x1d644d(0x3cf)],this['_handler'],_0x5763c3);}};te=be([A(0x7,_0x21b3b2(_0x548366)),A(0x8,_0x21b3b2(_0x49a07f)),A(0x9,_0x4e1c8f),A(0xa,_0xd6fdcf),A(0xb,_0x34b8e6),A(0xc,_0x59eb83),A(0xd,_0x10c77b(X))],te);function wi(_0x5a4c59,_0x445027,_0x226485,_0x3a5a59,_0x55d874,_0x145d70){var _0x4cbfb7=_0x2a3857;return _0x3a5a59&&_0x55d874[_0x4cbfb7(0x32e)]?_0x5a4c59[_0x4cbfb7(0x3a6)](ae,_0x445027,_0x226485,_0x3a5a59,_0x55d874,_0x145d70,void 0x0):_0x3a5a59?_0x5a4c59[_0x4cbfb7(0x3a6)](ue,_0x445027,_0x226485,_0x3a5a59,_0x145d70):_0x55d874[_0x4cbfb7(0x32e)]?_0x5a4c59['createInstance'](oe,_0x445027,_0x226485,_0x55d874,_0x145d70):_0x5a4c59[_0x4cbfb7(0x3a6)](Pe,_0x445027,_0x226485,_0x145d70);}var Rs=Object['defineProperty'],ys=Object[_0x2a3857(0x1e9)],Mt=(_0x3ea904,_0x58e52f,_0x3cfb80,_0x10551a)=>{var _0x308364=_0x2a3857;for(var _0x2a5947=_0x10551a>0x1?void 0x0:_0x10551a?ys(_0x58e52f,_0x3cfb80):_0x58e52f,_0x3ee358=_0x3ea904[_0x308364(0x32e)]-0x1,_0x32ad56;_0x3ee358>=0x0;_0x3ee358--)(_0x32ad56=_0x3ea904[_0x3ee358])&&(_0x2a5947=(_0x10551a?_0x32ad56(_0x58e52f,_0x3cfb80,_0x2a5947):_0x32ad56(_0x2a5947))||_0x2a5947);return _0x10551a&&_0x2a5947&&Rs(_0x58e52f,_0x3cfb80,_0x2a5947),_0x2a5947;},k=(_0x25132d,_0x1ee35f)=>(_0x58c619,_0x54e159)=>_0x1ee35f(_0x58c619,_0x54e159,_0x25132d);let st=class extends _0x3f0249{constructor(_0x1f29ec,_0x85d55e,_0x18795a,_0x5e1c1b,_0x4c0774,_0x147119,_0x49f247,_0x221d69,_0x2d241f,_0x19a134,_0x571f3d,_0x25ef2f,_0x56d21b){var _0x21f8a9=_0x2a3857;super(),P(this,_0x21f8a9(0x1e4),new _0x500ff8(null)),P(this,_0x21f8a9(0x3dc),this[_0x21f8a9(0x1e4)]['asObservable']()),P(this,_0x21f8a9(0x259)),P(this,_0x21f8a9(0x24e),!0x1),P(this,_0x21f8a9(0x399),''),P(this,_0x21f8a9(0x20f),0x0),P(this,'status$',this[_0x21f8a9(0x3dc)][_0x21f8a9(0x369)](_0x45e7c7(_0x650a40=>_0x650a40?_0x650a40[_0x21f8a9(0x206)]:Pi[_0x21f8a9(0x32b)]),_0x2bcada(0x1))),P(this,_0x21f8a9(0x400),!0x1),P(this,_0x21f8a9(0x2ef),[]),(this['unitID']=_0x1f29ec,this[_0x21f8a9(0x3f5)]=_0x85d55e,this['_type']=_0x18795a,this['_injector']=_0x5e1c1b,this[_0x21f8a9(0x2ab)]=_0x4c0774,this[_0x21f8a9(0x1ad)]=_0x147119,this[_0x21f8a9(0x17a)]=_0x49f247,this[_0x21f8a9(0x39c)]=_0x221d69,this['_logService']=_0x2d241f,this['_commandService']=_0x19a134,this['_permissionService']=_0x571f3d,this['_singleActiveUnitService']=_0x25ef2f,this[_0x21f8a9(0x15c)]=_0x56d21b);}get[_0x2a3857(0x2dd)](){var _0x468306=_0x2a3857;return this[_0x468306(0x259)];}async[_0x2a3857(0x1de)](){var _0x362316=_0x2a3857;if(this[_0x362316(0x2dd)])throw new Error(_0x362316(0x341));await this[_0x362316(0x2a1)]();}[_0x2a3857(0x3c1)](){return this['_collaborationPaused']=!0x0,_0x30af1d(()=>{var _0x4d9d76=_0x5b8f;this[_0x4d9d76(0x24e)]=!0x1,this[_0x4d9d76(0x3b5)]();});}['onLocalMutation'](_0xc59779){var _0x26e147=_0x2a3857;this[_0x26e147(0x227)](_0xc59779);}['_updateState'](_0x338592){var _0x28b838=_0x2a3857;this[_0x28b838(0x259)]=_0x338592,this[_0x28b838(0x1e4)][_0x28b838(0x386)](_0x338592);}async[_0x2a3857(0x2a1)](){var _0x1ebeaf=_0x2a3857,_0x546d09;this['_updateState'](await this[_0x1ebeaf(0x305)]()),this[_0x1ebeaf(0x1aa)]&&((_0x546d09=this[_0x1ebeaf(0x1aa)])==null||_0x546d09[_0x1ebeaf(0x27c)](this[_0x1ebeaf(0x12e)]),this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x1aa)][_0x1ebeaf(0x278)](this[_0x1ebeaf(0x12e)])[_0x1ebeaf(0x2cb)](_0x5a0147=>{var _0x429107=_0x1ebeaf;this[_0x429107(0x335)][_0x429107(0x412)](_0x429107(0x2db),_0x429107(0x1c8),_0x5a0147),_0x5a0147===Oi[_0x429107(0x2bf)]?(this['_eventService']['emitEvent']({'id':re[_0x429107(0x3c4)]}),this['_permissionService']['updatePermissionPoint'](new _0x39ae2d(this['unitID'])['id'],!0x1),this[_0x429107(0x11e)][_0x429107(0x18b)](!0x1)):(this[_0x429107(0x11e)][_0x429107(0x20e)](new _0x39ae2d(this[_0x429107(0x12e)])['id'],!0x0),this[_0x429107(0x11e)][_0x429107(0x18b)](!0x0));})));let _0x356332=!0x1;return this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x3f5)][_0x1ebeaf(0x376)][_0x1ebeaf(0x2cb)](_0x3b19f5=>{var _0x25d69c=_0x1ebeaf;_0x3b19f5===Te['ONLINE']?this[_0x25d69c(0x1dd)](_0x356332):_0x3b19f5===Te[_0x25d69c(0x32b)]&&(_0x356332=!0x0,this['_toggleOffline']());})),this[_0x1ebeaf(0x1c1)](this[_0x1ebeaf(0x3f5)][_0x1ebeaf(0x2a9)]['subscribe'](_0x4fd8a2=>{var _0x421209=_0x1ebeaf;try{switch(_0x4fd8a2[_0x421209(0x383)]){case _0x562849[_0x421209(0x174)]:{this[_0x421209(0x2dc)](_0x286142(_0x4fd8a2[_0x421209(0x13b)]));break;}case _0x562849[_0x421209(0x16c)]:{this['_onRemoteACK'](_0x4fd8a2[_0x421209(0x13b)]);break;}case _0x562849[_0x421209(0x1d1)]:{this[_0x421209(0x41b)]();break;}case _0x562849[_0x421209(0x3c3)]:{this['_onRemoteRetry'](_0x4fd8a2[_0x421209(0x13b)]);break;}case _0x562849[_0x421209(0x36a)]:{this[_0x421209(0x11b)](_0x4fd8a2['data'][_0x421209(0x350)][_0x421209(0x35c)](_0x335873=>_0x286142(_0x335873)));break;}case _0x562849['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x562849['UNISCRIPT_RUN']:break;}}catch(_0x55b3ef){throw console[_0x421209(0x119)]('Error\x20on\x20receiving\x20event',_0x55b3ef),_0x55b3ef;}})),this['_state'];}[_0x2a3857(0x291)](){var _0x14c147=_0x2a3857;this[_0x14c147(0x400)]=!0x1;}[_0x2a3857(0x157)](){var _0x567516=_0x2a3857;if(this[_0x567516(0x400)])throw new Error(_0x567516(0x2b1));this[_0x567516(0x400)]=!0x0;}[_0x2a3857(0x227)](_0x474b97){var _0x5ea0ea=_0x2a3857;this[_0x5ea0ea(0x157)](),this[_0x5ea0ea(0x303)](this[_0x5ea0ea(0x259)][_0x5ea0ea(0x317)](_0x474b97)),this[_0x5ea0ea(0x291)]();}[_0x2a3857(0x2dc)](_0x548215){var _0xfc0c98=_0x2a3857;if(!(_0x548215[_0xfc0c98(0x1d7)]<=this[_0xfc0c98(0x17a)]['getCurrentRevOfUnit'](this[_0xfc0c98(0x12e)]))){if(this[_0xfc0c98(0x24e)]){this[_0xfc0c98(0x2ef)][_0xfc0c98(0x271)](_0x548215);return;}this[_0xfc0c98(0x3f0)](_0x548215);}}[_0x2a3857(0x3b5)](){var _0x7fb84e=_0x2a3857;this[_0x7fb84e(0x2ef)][_0x7fb84e(0x168)](_0x2549bf=>this[_0x7fb84e(0x3f0)](_0x2549bf)),this['_remoteChangesetQueue']=[];}[_0x2a3857(0x3f0)](_0x54e4d8){var _0x87df99=_0x2a3857;const _0x7b9a98=this[_0x87df99(0x2ab)][_0x87df99(0x254)][_0x87df99(0x145)](this[_0x87df99(0x2ab)][_0x87df99(0x254)]['getInterceptPoints']()[_0x87df99(0x150)])(_0x54e4d8[_0x87df99(0x22a)],null)||_0x54e4d8[_0x87df99(0x22a)],_0x1f092a={..._0x54e4d8,'mutations':_0x7b9a98};this[_0x87df99(0x157)](),this[_0x87df99(0x303)](this[_0x87df99(0x259)][_0x87df99(0x344)](_0x1f092a)),this['_unlockTransition']();}['_onRemoteACK'](_0x1db023){var _0x220108=_0x2a3857;this[_0x220108(0x157)](),this[_0x220108(0x303)](this[_0x220108(0x259)][_0x220108(0x2a0)](_0x1db023)),this[_0x220108(0x291)]();}[_0x2a3857(0x41b)](_0x1ab05f){var _0x272839=_0x2a3857;this[_0x272839(0x157)](),this['_updateState'](this[_0x272839(0x259)][_0x272839(0x117)](_0x1ab05f)),this[_0x272839(0x291)]();}['_onRemoteRetry'](_0x3029db){var _0x5c1aa5=_0x2a3857;this[_0x5c1aa5(0x157)](),this['_updateState'](this[_0x5c1aa5(0x259)][_0x5c1aa5(0x2bb)](_0x3029db)),this[_0x5c1aa5(0x291)]();}['_onFetchMissResult'](_0x1f930b){var _0x4be97e=_0x2a3857;if(!(this[_0x4be97e(0x259)]instanceof te))throw new TypeError(_0x4be97e(0x1fa));const _0x55022a=_0x1f930b[_0x4be97e(0x35c)](_0x532cfa=>{var _0x45dd6c=_0x4be97e;const _0x1bc8f9=this[_0x45dd6c(0x2ab)][_0x45dd6c(0x254)][_0x45dd6c(0x145)](this['_compressMutationService'][_0x45dd6c(0x254)][_0x45dd6c(0x3f7)]()[_0x45dd6c(0x150)])(_0x532cfa[_0x45dd6c(0x22a)],null)||_0x532cfa[_0x45dd6c(0x22a)];return{..._0x532cfa,'mutations':_0x1bc8f9};});this[_0x4be97e(0x157)](),this[_0x4be97e(0x303)](this[_0x4be97e(0x259)][_0x4be97e(0x1c6)](_0x55022a)),this[_0x4be97e(0x291)]();}[_0x2a3857(0x3ee)](){var _0x27dc49=_0x2a3857;this[_0x27dc49(0x157)](),this[_0x27dc49(0x303)](this['_state']['toggleOffline']()),this[_0x27dc49(0x291)]();}[_0x2a3857(0x1dd)](_0x5270ad=!0x1){var _0x1ae813=_0x2a3857;this[_0x1ae813(0x157)](),this[_0x1ae813(0x303)](this[_0x1ae813(0x259)][_0x1ae813(0x361)]()),this[_0x1ae813(0x291)]();const _0x4ed9e4=this[_0x1ae813(0x259)];_0x5270ad&&_0x4ed9e4 instanceof Pe&&(this['_lockTransition'](),this[_0x1ae813(0x303)](_0x4ed9e4[_0x1ae813(0x17d)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x14981d=>{var _0x557f31=_0x5b8f;this[_0x557f31(0x3f5)]['sessionStatus$'][_0x557f31(0x369)](_0x20e9c1(0x1))[_0x557f31(0x2cb)](async _0x45bf79=>{var _0x4d1ec1=_0x557f31;_0x14981d(await this[_0x4d1ec1(0x368)](_0x45bf79===Te['ONLINE']));});});}[_0x2a3857(0x418)](){var _0x3a6874=_0x2a3857;const _0x2da51b=this[_0x3a6874(0x12e)];return{'onStateChange':(_0x446459,_0x3843f9)=>{var _0x16cc9b=_0x3a6874;if(_0x446459!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x446459[_0x16cc9b(0x206)]+_0x16cc9b(0x363)+_0x3843f9[_0x16cc9b(0x206)]+'\x0aCurrent:\x20'+this[_0x16cc9b(0x259)]['status']);this[_0x16cc9b(0x303)](_0x3843f9);},'onSendChangeset':_0x46bc17=>{var _0x414ca5=_0x3a6874;_0x46bc17[_0x414ca5(0x38e)]||(_0x46bc17[_0x414ca5(0x38e)]=this[_0x414ca5(0x399)],_0x46bc17['reqId']=++this[_0x414ca5(0x20f)]);const _0x1f9054={'eventID':_0x562849[_0x414ca5(0x352)],'data':{'unitID':_0x46bc17['unitID'],'unitType':this[_0x414ca5(0x293)],'changeset':_0x46bc17,'memberID':this['session'][_0x414ca5(0x3b9)]()}};this[_0x414ca5(0x3f5)]['send'](_0x1f9054,this[_0x414ca5(0x12e)]);},'onMissingChangesets':({from:_0x44f004,to:_0x52b1e8})=>{var _0x310272=_0x3a6874;this['_logService'][_0x310272(0x412)](_0x310272(0x2db),_0x310272(0x23c)+_0x44f004+'\x20to\x20'+_0x52b1e8);const _0x3cfba8={'eventID':_0x562849[_0x310272(0x1e7)],'data':{'unitID':_0x2da51b,'unitType':this[_0x310272(0x293)],'from':_0x44f004,'to':_0x52b1e8}};this[_0x310272(0x3f5)]['send'](_0x3cfba8,this[_0x310272(0x12e)]);}};}async['_createInitialStateImpl'](_0x216d6d){var _0xed205c=_0x2a3857,_0x18b252,_0x1c83b2,_0x32facd;const _0x2c57c6=await((_0x18b252=this[_0xed205c(0x15c)])==null?void 0x0:_0x18b252[_0xed205c(0x3ac)](this[_0xed205c(0x12e)])),_0x20fcec=(_0x1c83b2=_0x2c57c6==null?void 0x0:_0x2c57c6[_0xed205c(0x22a)])!=null?_0x1c83b2:[],_0x2205ca=(_0x32facd=_0x2c57c6==null?void 0x0:_0x2c57c6[_0xed205c(0x398)])!=null?_0x32facd:null,_0x3f5984=!!(_0x2205ca!=null&&_0x2205ca[_0xed205c(0x38e)])&&!!(_0x2205ca!=null&&_0x2205ca[_0xed205c(0x226)]);this[_0xed205c(0x399)]=_0x3f5984?_0x2205ca[_0xed205c(0x38e)]:vs(),this[_0xed205c(0x20f)]=_0x3f5984?_0x2205ca['reqId']:0x0;const _0x2545a8=this[_0xed205c(0x12e)];try{this['_replayCachedMutations'](_0x2205ca,_0x20fcec);}catch(_0x10fc2f){this[_0xed205c(0x335)][_0xed205c(0x119)](_0x10fc2f);}const _0xfe6082=this[_0xed205c(0x418)]();if(_0x216d6d){const _0x38000c=wi(this[_0xed205c(0x158)],_0x2545a8,this['_type'],_0x2205ca,_0x20fcec,_0xfe6082);return _0x38000c instanceof oe?_0x38000c[_0xed205c(0x375)]():(_0x38000c instanceof ae||_0x38000c instanceof ue)&&_0x38000c[_0xed205c(0x2e9)](),_0x38000c;}return this[_0xed205c(0x158)][_0xed205c(0x3a6)](fe,_0x2545a8,this[_0xed205c(0x293)],_0x2205ca,_0x20fcec,_0xfe6082);}[_0x2a3857(0x2cf)](_0x2b27c8,_0x586e95){var _0x25fba3=_0x2a3857,_0x2f53c6,_0x2c48e9;const _0xab13d3=this[_0x25fba3(0x2ab)][_0x25fba3(0x254)]['fetchThroughInterceptors'](this[_0x25fba3(0x2ab)]['interceptor'][_0x25fba3(0x3f7)]()[_0x25fba3(0x150)]);(_0x2f53c6=_0xab13d3((_0x2b27c8==null?void 0x0:_0x2b27c8[_0x25fba3(0x22a)])||[],null))==null||_0x2f53c6['forEach'](_0x325cd9=>this[_0x25fba3(0x143)][_0x25fba3(0x2c1)](_0x325cd9['id'],_0x325cd9['params'])),(_0x2c48e9=_0xab13d3(_0x586e95||[],null))==null||_0x2c48e9[_0x25fba3(0x168)](_0x236f9a=>this[_0x25fba3(0x143)][_0x25fba3(0x2c1)](_0x236f9a['id'],_0x236f9a[_0x25fba3(0x146)]));}};st=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(pe)),k(0x8,_0x4e1c8f),k(0x9,_0xd6fdcf),k(0xa,_0x1c05e3),k(0xb,_0x10c77b(_t)),k(0xc,_0x10c77b(X))],st);let Ct=class extends st{constructor(_0x56e33c,_0x2647c2,_0x4ea707,_0x22a8ae,_0x5e9a96,_0x12c3bb,_0x40d880,_0x35499d,_0x2e54e6,_0xb459a,_0x1edb32,_0x10748d,_0x42f028){var _0x1dc5b2=_0x2a3857;super(_0x56e33c,_0x4ea707,_0x2647c2,_0x22a8ae,_0x5e9a96,_0x12c3bb,_0x40d880,_0x35499d,_0x2e54e6,_0xb459a,_0x1edb32,_0x10748d,_0x42f028),P(this,_0x1dc5b2(0x172),null),(this['unitID']=_0x56e33c,this[_0x1dc5b2(0x1ce)]=_0x2647c2);}[_0x2a3857(0x34b)](_0x314cbc){var _0x444e4d=_0x2a3857;this[_0x444e4d(0x172)]=_0x314cbc;}['dispose'](){var _0x4369d5=_0x2a3857;this['_handlerCallback']=null,super[_0x4369d5(0x3d7)]();}[_0x2a3857(0x418)](){var _0x4cefb7=_0x2a3857;const _0x57c49d=super[_0x4cefb7(0x418)]();return _0x57c49d[_0x4cefb7(0x2ff)]=_0x541694=>{var _0x55594b=_0x4cefb7,_0x237f19,_0x28e63d;return(_0x28e63d=(_0x237f19=this['_handlerCallback'])==null?void 0x0:_0x237f19[_0x55594b(0x2ff)])==null?void 0x0:_0x28e63d[_0x55594b(0x15a)](_0x237f19,_0x541694);},_0x57c49d[_0x4cefb7(0x2f0)]=_0x1d92cb=>{var _0x3ad951=_0x4cefb7,_0x445699,_0x27ce48;return(_0x27ce48=(_0x445699=this[_0x3ad951(0x172)])==null?void 0x0:_0x445699['onTransformState'])==null?void 0x0:_0x27ce48['call'](_0x445699,_0x1d92cb);},_0x57c49d[_0x4cefb7(0x338)]=_0x5f6685=>{var _0x371dad=_0x4cefb7,_0x828b14,_0x5034c8;return(_0x5034c8=(_0x828b14=this[_0x371dad(0x172)])==null?void 0x0:_0x828b14['onTransformSelections'])==null?void 0x0:_0x5034c8[_0x371dad(0x15a)](_0x828b14,_0x5f6685);},_0x57c49d['onSyncEditingCollabCursor']=_0x284965=>{var _0x3d8f93=_0x4cefb7,_0x4e9658,_0x55039b;return(_0x55039b=(_0x4e9658=this[_0x3d8f93(0x172)])==null?void 0x0:_0x4e9658[_0x3d8f93(0x1d0)])==null?void 0x0:_0x55039b[_0x3d8f93(0x15a)](_0x4e9658,_0x284965);},_0x57c49d['onTransformRemoteChangesetByIMECache']=_0x136834=>{var _0x5ed418=_0x4cefb7,_0x2bf71f,_0x3629e4,_0x55939a;if(!((_0x2bf71f=this['_handlerCallback'])!=null&&_0x2bf71f[_0x5ed418(0x17e)]))throw new Error(_0x5ed418(0x1f6));return(_0x55939a=(_0x3629e4=this['_handlerCallback'])==null?void 0x0:_0x3629e4[_0x5ed418(0x17e)])==null?void 0x0:_0x55939a[_0x5ed418(0x15a)](_0x3629e4,_0x136834);},_0x57c49d[_0x4cefb7(0x2bc)]=_0x325eb5=>{var _0x51ea2e=_0x4cefb7,_0x14deb2,_0x476ef1,_0x1a0082;if(!((_0x14deb2=this[_0x51ea2e(0x172)])!=null&&_0x14deb2[_0x51ea2e(0x2bc)]))throw new Error(_0x51ea2e(0x370));return(_0x1a0082=(_0x476ef1=this[_0x51ea2e(0x172)])==null?void 0x0:_0x476ef1['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1a0082[_0x51ea2e(0x15a)](_0x476ef1,_0x325eb5);},_0x57c49d;}async[_0x2a3857(0x2a1)](){var _0xfb83bb=_0x2a3857;const _0x3c7f95=await super['_init']();return this[_0xfb83bb(0x1c1)](this['_commandService']['onCommandExecuted']((_0x283cbb,_0x4d30a5)=>{var _0x20f92d=_0xfb83bb;if(_0x283cbb['type']!==_0xab8d9d[_0x20f92d(0x31a)]||_0x4d30a5!=null&&_0x4d30a5[_0x20f92d(0x342)]||_0x4d30a5!=null&&_0x4d30a5[_0x20f92d(0x253)]||_0x283cbb['id']===_0x117fd1['id'])return;const _0x2921f7=_0x283cbb['params'];if((_0x2921f7==null?void 0x0:_0x2921f7['unitId'])!==this['unitID'])return;const _0x1f788b=_0x283cbb,_0x47163e=this[_0x20f92d(0x2ab)][_0x20f92d(0x254)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x20f92d(0x254)][_0x20f92d(0x3f7)]()[_0x20f92d(0x26c)])([_0x1f788b],null)||[_0x1f788b];this[_0x20f92d(0x227)](_0x47163e[0x0]);})),_0x3c7f95;}};Ct=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(pe)),k(0x8,_0x4e1c8f),k(0x9,_0xd6fdcf),k(0xa,_0x1c05e3),k(0xb,_0x10c77b(_t)),k(0xc,_0x10c77b(X))],Ct);let bt=class extends st{constructor(_0x45f192,_0x12ea06,_0x2f4053,_0x4654f9,_0x4cb3a8,_0x527895,_0x373058,_0x1bfd0d,_0x3c820b,_0x312a3c,_0x53c2c3,_0xe549e9,_0x4fba46,_0x25741a){var _0x50b20a=_0x2a3857;super(_0x45f192,_0x2f4053,_0x12ea06,_0x4654f9,_0x4cb3a8,_0x527895,_0x373058,_0x3c820b,_0x312a3c,_0x53c2c3,_0xe549e9,_0x4fba46,_0x25741a),this['unitID']=_0x45f192,this[_0x50b20a(0x1ce)]=_0x12ea06,this[_0x50b20a(0x263)]=_0x1bfd0d;}[_0x2a3857(0x418)](){var _0x2b142c=_0x2a3857;const _0x1ccab9=super['_createHandler']();return _0x1ccab9['onTransformSelections']=_0x2cfffc=>this[_0x2b142c(0x263)]['transformSelections'](_0x2cfffc),_0x1ccab9;}async[_0x2a3857(0x2a1)](){var _0x393bd1=_0x2a3857;const _0x2fe3e8=await super['_init']();return this['disposeWithMe'](this[_0x393bd1(0x143)]['onCommandExecuted']((_0x2e6913,_0x4d1499)=>{var _0x2c719d=_0x393bd1;if(_0x2e6913[_0x2c719d(0x1ce)]!==_0xab8d9d[_0x2c719d(0x31a)]||_0x4d1499!=null&&_0x4d1499[_0x2c719d(0x342)]||_0x4d1499!=null&&_0x4d1499[_0x2c719d(0x253)])return;const _0x4ef358=_0x2e6913[_0x2c719d(0x146)];if((_0x4ef358==null?void 0x0:_0x4ef358[_0x2c719d(0x2b7)])!==this['unitID'])return;const _0x2117d5=_0x2e6913,_0x47dc81=this[_0x2c719d(0x2ab)][_0x2c719d(0x254)]['fetchThroughInterceptors'](this[_0x2c719d(0x2ab)]['interceptor'][_0x2c719d(0x3f7)]()['COMPRESS_MUTATION_SEND'])([_0x2117d5],null)||[_0x2117d5];this[_0x2c719d(0x227)](_0x47dc81[0x0]);})),_0x2fe3e8;}};bt=Mt([k(0x3,_0x21b3b2(_0x548366)),k(0x4,_0x21b3b2(_0x53db64)),k(0x5,_0x21b3b2(_0x551f00)),k(0x6,_0x21b3b2(_0x49a07f)),k(0x7,_0x21b3b2(nt)),k(0x8,_0x21b3b2(pe)),k(0x9,_0x4e1c8f),k(0xa,_0xd6fdcf),k(0xb,_0x1c05e3),k(0xc,_0x10c77b(_t)),k(0xd,_0x10c77b(X))],bt);var Os=Object['defineProperty'],Ns=Object[_0x2a3857(0x1e9)],Ps=(_0x6b645a,_0x4e9aef,_0xc4893d,_0x305a4c)=>{for(var _0x306299=_0x305a4c>0x1?void 0x0:_0x305a4c?Ns(_0x4e9aef,_0xc4893d):_0x4e9aef,_0x425f53=_0x6b645a['length']-0x1,_0x51e57d;_0x425f53>=0x0;_0x425f53--)(_0x51e57d=_0x6b645a[_0x425f53])&&(_0x306299=(_0x305a4c?_0x51e57d(_0x4e9aef,_0xc4893d,_0x306299):_0x51e57d(_0x306299))||_0x306299);return _0x305a4c&&_0x306299&&Os(_0x4e9aef,_0xc4893d,_0x306299),_0x306299;},vt=(_0x54782f,_0x967b02)=>(_0x49d68e,_0x290d43)=>_0x967b02(_0x49d68e,_0x290d43,_0x54782f);let rt=class extends _0x3f0249{constructor(_0xa550a0,_0x447dc8,_0x47de5d){var _0x19ad78=_0x2a3857;super(),P(this,_0x19ad78(0x181),new Map()),P(this,_0x19ad78(0x2a3),new _0x282fa7()),P(this,_0x19ad78(0x307),this[_0x19ad78(0x2a3)]['asObservable']()),(this[_0x19ad78(0x158)]=_0xa550a0,this[_0x19ad78(0x1b1)]=_0x447dc8,this[_0x19ad78(0x3cd)]=_0x47de5d,this[_0x19ad78(0x2a1)]());}[_0x2a3857(0x3d7)](){var _0x532f5d=_0x2a3857;super[_0x532f5d(0x3d7)](),this[_0x532f5d(0x181)][_0x532f5d(0x168)](_0x9d6f0a=>_0x9d6f0a['dispose']()),this[_0x532f5d(0x181)][_0x532f5d(0x38d)]();}['getCollabEntity'](_0x3cf098){var _0x14effc=_0x2a3857,_0x4b74bc;return(_0x4b74bc=this[_0x14effc(0x181)][_0x14effc(0x21d)](_0x3cf098))!=null?_0x4b74bc:null;}['getCollabEntity$'](_0x404c46){var _0x5b7ca4=_0x2a3857;const _0x5b4c34=this[_0x5b7ca4(0x304)](_0x404c46);return _0x5b4c34?_0x59284b(_0x5b4c34):this[_0x5b7ca4(0x2a3)][_0x5b7ca4(0x369)](_0x5bfb9e(_0x3f46d5=>_0x3f46d5[_0x5b7ca4(0x12e)]===_0x404c46));}[_0x2a3857(0x130)](_0x13ed45){var _0xc7e990=_0x2a3857;return _0x3b9423(this[_0xc7e990(0x28f)](_0x13ed45)[_0xc7e990(0x369)](_0x4bf464(()=>{})));}[_0x2a3857(0x2a1)](){var _0x4fdd02=_0x2a3857;this[_0x4fdd02(0x3cd)][_0x4fdd02(0x1b3)](_0x465e07['UNIVER_SHEET'])[_0x4fdd02(0x369)](_0x49b26f(this[_0x4fdd02(0x3bb)]),_0x1e0965(0x10))[_0x4fdd02(0x2cb)](async _0x292a1a=>{var _0x455c15=_0x4fdd02;const _0xd1e96d=_0x292a1a[_0x455c15(0x3b4)](),_0x32d709=await this[_0x455c15(0x2e5)](_0xd1e96d,Q[_0x455c15(0x292)]);this['_entities'][_0x455c15(0x3d2)](_0xd1e96d,_0x32d709);}),this[_0x4fdd02(0x3cd)][_0x4fdd02(0x1b3)](_0x465e07[_0x4fdd02(0x1d6)])[_0x4fdd02(0x369)](_0x49b26f(this['dispose$']),_0x1e0965(0x10))['pipe'](_0x5bfb9e(_0x441843=>!_0x441843[_0x4fdd02(0x3b4)]()[_0x4fdd02(0x3a1)]('__')))[_0x4fdd02(0x2cb)](async _0xbe5876=>{var _0x1334a1=_0x4fdd02;const _0x5d3eee=_0xbe5876[_0x1334a1(0x3b4)](),_0x580ed9=await this[_0x1334a1(0x2e5)](_0x5d3eee,Q[_0x1334a1(0x1d6)]);this[_0x1334a1(0x181)][_0x1334a1(0x3d2)](_0x5d3eee,_0x580ed9);}),_0xc9cdeb(this[_0x4fdd02(0x3cd)][_0x4fdd02(0x39f)](_0x465e07['UNIVER_SHEET']),this[_0x4fdd02(0x3cd)][_0x4fdd02(0x39f)](_0x465e07['UNIVER_DOC']))[_0x4fdd02(0x369)](_0x49b26f(this[_0x4fdd02(0x3bb)]))[_0x4fdd02(0x2cb)](_0x2c38c6=>{var _0x3cfc49=_0x4fdd02;const _0x7716c2=_0x2c38c6[_0x3cfc49(0x3b4)](),_0x488af2=this[_0x3cfc49(0x181)]['get'](_0x7716c2);_0x488af2&&(_0x488af2['dispose'](),this[_0x3cfc49(0x181)][_0x3cfc49(0x1a7)](_0x7716c2));});}async[_0x2a3857(0x2e5)](_0xfa1536,_0x47f7cd){var _0x5b02d1=_0x2a3857;const _0x2bee20=await this[_0x5b02d1(0x1b1)]['requireSession'](_0xfa1536),_0x3c1877=this[_0x5b02d1(0x158)][_0x5b02d1(0x3a6)](this[_0x5b02d1(0x3a7)](_0x47f7cd),_0xfa1536,_0x47f7cd,_0x2bee20);return await _0x3c1877[_0x5b02d1(0x1de)](),this[_0x5b02d1(0x2a3)][_0x5b02d1(0x386)](_0x3c1877),_0x3c1877;}[_0x2a3857(0x3a7)](_0x43e518){var _0x263292=_0x2a3857;switch(_0x43e518){case Q['UNIVER_DOC']:return Ct;case Q['UNIVER_SHEET']:return bt;default:throw new Error(_0x263292(0x2bd)+_0x43e518);}}};rt=Ps([vt(0x0,_0x21b3b2(_0x548366)),vt(0x1,_0x21b3b2(Le)),vt(0x2,_0x40e127)],rt);var Ds=Object[_0x2a3857(0x239)],ws=Object[_0x2a3857(0x1e9)],Us=(_0x4c3ce4,_0x36f714,_0x1eed1a,_0x378aec)=>{var _0x22ab70=_0x2a3857;for(var _0x260cf7=_0x378aec>0x1?void 0x0:_0x378aec?ws(_0x36f714,_0x1eed1a):_0x36f714,_0xdfeb56=_0x4c3ce4[_0x22ab70(0x32e)]-0x1,_0x48ff95;_0xdfeb56>=0x0;_0xdfeb56--)(_0x48ff95=_0x4c3ce4[_0xdfeb56])&&(_0x260cf7=(_0x378aec?_0x48ff95(_0x36f714,_0x1eed1a,_0x260cf7):_0x48ff95(_0x260cf7))||_0x260cf7);return _0x378aec&&_0x260cf7&&Ds(_0x36f714,_0x1eed1a,_0x260cf7),_0x260cf7;},Zt=(_0x2adefd,_0x164a7a)=>(_0x36b3b6,_0x11a530)=>_0x164a7a(_0x36b3b6,_0x11a530,_0x2adefd);const As='DEFAULT_FILE_NAME',xs='Univer';let Rt=class extends _0x2e140f{constructor(_0x5e548d,_0x1a172e){var _0x2b143b=_0x2a3857;super(),this[_0x2b143b(0x3cd)]=_0x5e548d,this['_configService']=_0x1a172e,this[_0x2b143b(0x2a1)]();}['_init'](){var _0x3d47c7=_0x2a3857;this['disposeWithMe'](this[_0x3d47c7(0x3cd)][_0x3d47c7(0x179)][_0x3d47c7(0x2cb)](()=>{var _0xce8287=_0x3d47c7,_0x2f2857;const _0x57b98d=this[_0xce8287(0x3cd)]['getFocusedUnit']();let _0x4adeef=(_0x2f2857=this[_0xce8287(0x205)][_0xce8287(0x122)](As))!=null?_0x2f2857:xs;_0x57b98d instanceof _0x115f48&&(_0x4adeef=_0x57b98d['name']),document[_0xce8287(0x210)]=_0x4adeef;}));}};Rt=Us([Zt(0x0,_0x40e127),Zt(0x1,_0x24bebb)],Rt);var Ls=Object[_0x2a3857(0x239)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x1ea4a8,_0x27e667,_0xe74f6c,_0x4ab8a5)=>{var _0x5ceb5b=_0x2a3857;for(var _0x4b398f=_0x4ab8a5>0x1?void 0x0:_0x4ab8a5?Ms(_0x27e667,_0xe74f6c):_0x27e667,_0xc38d85=_0x1ea4a8[_0x5ceb5b(0x32e)]-0x1,_0x52e7ec;_0xc38d85>=0x0;_0xc38d85--)(_0x52e7ec=_0x1ea4a8[_0xc38d85])&&(_0x4b398f=(_0x4ab8a5?_0x52e7ec(_0x27e667,_0xe74f6c,_0x4b398f):_0x52e7ec(_0x4b398f))||_0x4b398f);return _0x4ab8a5&&_0x4b398f&&Ls(_0x27e667,_0xe74f6c,_0x4b398f),_0x4b398f;},pt=(_0x12348e,_0x163a28)=>(_0x6b2d41,_0x545a26)=>_0x163a28(_0x6b2d41,_0x545a26,_0x12348e);let ot=class{constructor(_0x1f8c79,_0x10be09,_0x2b13fa){var _0x3f5096=_0x2a3857;this[_0x3f5096(0x205)]=_0x1f8c79,this[_0x3f5096(0x330)]=_0x10be09,this[_0x3f5096(0x323)]=_0x2b13fa,this['init']();}[_0x2a3857(0x1de)](){var _0x5b6967=_0x2a3857;this[_0x5b6967(0x330)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x24c52b,_0x101dab)=>_0x101dab(_0x24c52b)[_0x5b6967(0x369)](_0xdf9ab4(async _0x464c71=>{var _0x334e86=_0x5b6967;const _0x2f768a=_0x464c71;if(_0x2f768a[_0x334e86(0x206)]===0x191){if(typeof window>'u')throw new Error(_0x334e86(0x1fb));if(window['confirm'](this[_0x334e86(0x323)]['t'](_0x334e86(0x2f3)))){const _0x316607=window[_0x334e86(0x1e8)](window[_0x334e86(0x38a)]['href']);window[_0x334e86(0x38a)][_0x334e86(0x13a)]=this['_getLoginPath']()+_0x334e86(0x325)+_0x316607;}}return _0x2f768a;}))});}[_0x2a3857(0x1c2)](){var _0x3e0963=_0x2a3857,_0x442a23,_0x530fb0;const _0x430c5e=this[_0x3e0963(0x205)][_0x3e0963(0x122)](Wn),_0x10aa4b=this[_0x3e0963(0x205)]['getConfig'](Y);return(_0x530fb0=(_0x442a23=_0x10aa4b==null?void 0x0:_0x10aa4b['loginUrlKey'])!=null?_0x442a23:_0x430c5e)!=null?_0x530fb0:Gn;}};ot=$s([pt(0x0,_0x24bebb),pt(0x1,_0x21b3b2(_0x4fa095)),pt(0x2,_0x21b3b2(_0x551f00))],ot);var Hs=Object[_0x2a3857(0x239)],ks=Object[_0x2a3857(0x1e9)],js=(_0x528c3c,_0xf15068,_0x15bbc2,_0x13998e)=>{for(var _0x57a992=_0x13998e>0x1?void 0x0:_0x13998e?ks(_0xf15068,_0x15bbc2):_0xf15068,_0x2f8682=_0x528c3c['length']-0x1,_0x383e5b;_0x2f8682>=0x0;_0x2f8682--)(_0x383e5b=_0x528c3c[_0x2f8682])&&(_0x57a992=(_0x13998e?_0x383e5b(_0xf15068,_0x15bbc2,_0x57a992):_0x383e5b(_0x57a992))||_0x57a992);return _0x13998e&&_0x57a992&&Hs(_0xf15068,_0x15bbc2,_0x57a992),_0x57a992;},Qt=(_0x4d79c1,_0xfe97da)=>(_0x1ccb84,_0x43839f)=>_0xfe97da(_0x1ccb84,_0x43839f,_0x4d79c1);const Ui=_0x2a3857(0x1b4),Bs=_0x2a3857(0x2da);let yt=class extends _0x2e140f{constructor(_0x11561d,_0x488d7b){var _0x4c917f=_0x2a3857;super(),this['_HTTPService']=_0x11561d,this[_0x4c917f(0x205)]=_0x488d7b,this[_0x4c917f(0x41c)]();}[_0x2a3857(0x41c)](){var _0x31e730=_0x2a3857;const _0x1f720e=this;this[_0x31e730(0x1c1)](this[_0x31e730(0x1ab)][_0x31e730(0x128)]({'priority':0x3e7,'interceptor':_0x105041({'isMatch'(_0x87c36a){var _0x21f627=_0x31e730,_0x1a677c;if(_0x87c36a[_0x21f627(0x2a4)]==='POST'&&((_0x1a677c=_0x87c36a[_0x21f627(0x3d5)])!=null&&_0x1a677c[_0x21f627(0x1a1)])){const {objectID:_0x1de9f4,objectType:_0x1ce262}=_0x87c36a[_0x21f627(0x3d5)][_0x21f627(0x1a1)]||{};if(!_0x1de9f4||_0x1ce262===void 0x0)return!0x1;const _0x3e0f10=_0x1f720e[_0x21f627(0x1b2)]()+'/'+_0x1ce262+_0x21f627(0x13d)+_0x1de9f4+_0x21f627(0x37d);if(_0x87c36a[_0x21f627(0x120)]===_0x3e0f10)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x41a5a1){var _0x1ee954=_0x31e730,_0x224653;return(_0x224653=_0x41a5a1[_0x1ee954(0x3d5)])==null?void 0x0:_0x224653['body'];},'mergeParamsToRequest'(_0x2d95a7,_0x4c827f){var _0x739583=_0x31e730;const _0x12bcae=_0x1f720e['_getAPIPrefixPath']()+_0x739583(0x1ee),_0x2f2800=_0x2d95a7['reduce']((_0x11c090,_0x2861b7)=>{var _0x10347f=_0x739583;const {unitID:_0xde74b8,objectID:_0x2ae822,objectType:_0x369a7d,actions:_0x22e271}=_0x2861b7;return _0x11c090[_0xde74b8]||(_0x11c090[_0xde74b8]={}),_0x11c090[_0xde74b8][_0x2ae822]||(_0x11c090[_0xde74b8][_0x2ae822]={'objectID':_0x2ae822,'objectType':_0x369a7d,'actions':[]}),_0x11c090[_0xde74b8][_0x2ae822][_0x10347f(0x3fc)][_0x10347f(0x271)](..._0x22e271),_0x11c090;},{}),_0x59f6ac=[];for(const _0x32a4c8 in _0x2f2800)for(const _0x11b8fe in _0x2f2800[_0x32a4c8]){const {actions:_0x53bbcd,objectType:_0x11a622}=_0x2f2800[_0x32a4c8][_0x11b8fe],_0x32cba6=[...new Set(_0x53bbcd)];_0x59f6ac[_0x739583(0x271)]({'unitID':_0x32a4c8,'objectID':_0x11b8fe,'objectType':_0x11a622,'actions':_0x32cba6});}return new _0x4403e8(_0x739583(0x2c2),_0x12bcae,{'headers':_0x4c827f[_0x739583(0x33b)],'withCredentials':_0x4c827f[_0x739583(0x2f9)],'responseType':_0x4c827f[_0x739583(0x35f)],'body':{'requests':_0x59f6ac}});}},{'distributeResult'(_0x241e2d,_0x41580f){var _0x518bb7=_0x31e730;const {objectActions:_0x3a1a8e}=_0x241e2d;return _0x41580f[_0x518bb7(0x35c)](_0x277412=>{var _0x3f3602=_0x518bb7;const {unitID:_0xd01bb9,objectID:_0x295708,actions:_0x245689}=_0x277412,_0x4fe570=_0x3a1a8e[_0x3f3602(0x189)](_0x58df80=>_0x58df80['unitID']===_0xd01bb9&&_0x58df80[_0x3f3602(0x129)]===_0x295708),_0x44ad18=_0x245689[_0x3f3602(0x35c)](_0x576988=>_0x4fe570==null?void 0x0:_0x4fe570[_0x3f3602(0x3fc)][_0x3f3602(0x189)](_0x83d518=>_0x83d518[_0x3f3602(0x3ad)]===_0x576988))[_0x3f3602(0x166)](_0x53f4a1=>!!_0x53f4a1);return{'config':_0x277412,'result':{'actions':_0x44ad18,'error':_0x241e2d[_0x3f3602(0x119)]}};});}})}));}[_0x2a3857(0x1b2)](){var _0x4e6a59=_0x2a3857,_0x3fb4ee,_0x1dff83;const _0x1ce4d9=this['_configService'][_0x4e6a59(0x122)](Ui),_0x2a7589=this[_0x4e6a59(0x205)][_0x4e6a59(0x122)](Y);return(_0x1dff83=(_0x3fb4ee=_0x2a7589==null?void 0x0:_0x2a7589[_0x4e6a59(0x334)])!=null?_0x3fb4ee:_0x1ce4d9)!=null?_0x1dff83:Bs;}async[_0x2a3857(0x3ea)](_0x38b18a){var _0x46ea15=_0x2a3857;const _0x5de59c=this[_0x46ea15(0x1b2)]()+'/'+_0x38b18a[_0x46ea15(0x2f8)]+_0x46ea15(0x409);return(await this[_0x46ea15(0x1ab)]['post'](_0x5de59c,{'body':_0x38b18a}))[_0x46ea15(0x1a1)][_0x46ea15(0x129)]||'';}async['list'](_0x4e9025){var _0x59977a=_0x2a3857;const _0x348f58=this[_0x59977a(0x1b2)]()+'/-/object/list';return(await this['_HTTPService'][_0x59977a(0x1f8)](_0x348f58,{'body':_0x4e9025}))[_0x59977a(0x1a1)][_0x59977a(0x21f)];}async[_0x2a3857(0x3a4)](_0x4ac845){var _0x18e6ec=_0x2a3857;const _0x2640a3=this[_0x18e6ec(0x1b2)]()+'/'+_0x4ac845[_0x18e6ec(0x2f8)]+_0x18e6ec(0x13d)+_0x4ac845[_0x18e6ec(0x129)];await this[_0x18e6ec(0x1ab)][_0x18e6ec(0x131)](_0x2640a3,{'body':_0x4ac845});}async[_0x2a3857(0x326)](_0x2f9e05){var _0x96002c=_0x2a3857;const _0x444d70=this[_0x96002c(0x1b2)]()+'/'+_0x2f9e05['objectType']+_0x96002c(0x13d)+_0x2f9e05[_0x96002c(0x129)]+_0x96002c(0x37d);return(await this[_0x96002c(0x1ab)][_0x96002c(0x1f8)](_0x444d70,{'body':_0x2f9e05}))[_0x96002c(0x1a1)][_0x96002c(0x3fc)];}async[_0x2a3857(0x318)](_0x30683b){var _0x44c583=_0x2a3857;const _0x1bd088=this[_0x44c583(0x1b2)]()+_0x44c583(0x1ee);return(await this[_0x44c583(0x1ab)]['post'](_0x1bd088,{'body':{'requests':_0x30683b}}))[_0x44c583(0x1a1)][_0x44c583(0x31e)];}async[_0x2a3857(0x16d)](_0x2a8758){var _0x2251f0=_0x2a3857;const _0x585b81=this['_getAPIPrefixPath']()+'/'+_0x2a8758[_0x2251f0(0x2f8)]+'/role',_0x12ca1e=await this[_0x2251f0(0x1ab)][_0x2251f0(0x1f8)](_0x585b81,{'body':_0x2a8758});return{'roles':_0x12ca1e[_0x2251f0(0x1a1)][_0x2251f0(0x313)],'actions':_0x12ca1e[_0x2251f0(0x1a1)][_0x2251f0(0x3fc)]};}async['deleteCollaborator'](_0x50443a){var _0x1d9ccb=_0x2a3857;const _0x36e3ac=this[_0x1d9ccb(0x1b2)]()+_0x1d9ccb(0x26d);await this['_HTTPService'][_0x1d9ccb(0x1a7)](_0x36e3ac,{'params':{'collaboratorID':_0x50443a[_0x1d9ccb(0x27f)],'objectID':_0x50443a[_0x1d9ccb(0x129)],'unitID':_0x50443a[_0x1d9ccb(0x12e)]}});}async[_0x2a3857(0x22c)](_0x1f9884){var _0x61417f=_0x2a3857;const _0x5866c5=this[_0x61417f(0x1b2)]()+'/collaborator';await this['_HTTPService'][_0x61417f(0x30c)](_0x5866c5,{'body':_0x1f9884});}async['createCollaborator'](_0x432f90){var _0x56e02d=_0x2a3857;const _0x2226d9=this[_0x56e02d(0x1b2)]()+'/collaborator';await this[_0x56e02d(0x1ab)][_0x56e02d(0x1f8)](_0x2226d9,{'body':_0x432f90});}async['listCollaborators'](_0x15e1a6){var _0x48ca35=_0x2a3857;const _0x5f581d=this[_0x48ca35(0x1b2)]()+_0x48ca35(0x26d);return(await this[_0x48ca35(0x1ab)]['get'](_0x5f581d,{'params':{'objectID':_0x15e1a6[_0x48ca35(0x129)],'unitID':_0x15e1a6[_0x48ca35(0x12e)]}}))['body'][_0x48ca35(0x3a8)];}async[_0x2a3857(0x2cc)](_0x6da29d){var _0x4f35a5=_0x2a3857;const _0x49d06e=this[_0x4f35a5(0x1b2)]()+_0x4f35a5(0x26d);await this['_HTTPService'][_0x4f35a5(0x131)](_0x49d06e,{'body':_0x6da29d});}};yt=js([Qt(0x0,_0x21b3b2(_0x4fa095)),Qt(0x1,_0x21b3b2(_0x24bebb))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x3bbae1){var _0x1668ef=_0x2a3857;return _0x3bbae1&&_0x3bbae1[_0x1668ef(0x229)]&&Object[_0x1668ef(0x22e)][_0x1668ef(0x290)][_0x1668ef(0x15a)](_0x3bbae1,'default')?_0x3bbae1[_0x1668ef(0x382)]:_0x3bbae1;}var We={'exports':{}};function Fs(_0x6bb8f1){var _0x226b7e=_0x2a3857;throw new Error(_0x226b7e(0x209)+_0x6bb8f1+_0x226b7e(0x3de));}var Ge={'exports':{}},Vs=Ge['exports'],ei;function ne(){var _0x490495=_0x2a3857;return ei||(ei=0x1,function(_0x1c5634,_0x527a8e){(function(_0x4b236b,_0x1b2cf4){var _0x3e5b5f=_0x5b8f;_0x1c5634[_0x3e5b5f(0x414)]=_0x1b2cf4();}(Vs,function(){var _0x3890a6=_0x3890a6||function(_0x55d6d6,_0x2ee6b0){var _0x5f4fe9=_0x5b8f,_0x2a1cdc;if(typeof window<'u'&&window[_0x5f4fe9(0x401)]&&(_0x2a1cdc=window[_0x5f4fe9(0x401)]),typeof self<'u'&&self[_0x5f4fe9(0x401)]&&(_0x2a1cdc=self[_0x5f4fe9(0x401)]),typeof globalThis<'u'&&globalThis[_0x5f4fe9(0x401)]&&(_0x2a1cdc=globalThis[_0x5f4fe9(0x401)]),!_0x2a1cdc&&typeof window<'u'&&window[_0x5f4fe9(0x38c)]&&(_0x2a1cdc=window[_0x5f4fe9(0x38c)]),!_0x2a1cdc&&typeof mt<'u'&&mt[_0x5f4fe9(0x401)]&&(_0x2a1cdc=mt[_0x5f4fe9(0x401)]),!_0x2a1cdc&&typeof Fs==_0x5f4fe9(0x302))try{_0x2a1cdc=require('crypto');}catch{}var _0x24703c=function(){var _0x2fa598=_0x5f4fe9;if(_0x2a1cdc){if(typeof _0x2a1cdc[_0x2fa598(0x257)]==_0x2fa598(0x302))try{return _0x2a1cdc[_0x2fa598(0x257)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2a1cdc[_0x2fa598(0x3c6)]==_0x2fa598(0x302))try{return _0x2a1cdc[_0x2fa598(0x3c6)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x40ff1e=Object[_0x5f4fe9(0x3ea)]||(function(){function _0x3f8dd7(){}return function(_0x5ba0aa){var _0x55b892=_0x5b8f,_0x17ca5f;return _0x3f8dd7[_0x55b892(0x22e)]=_0x5ba0aa,_0x17ca5f=new _0x3f8dd7(),_0x3f8dd7[_0x55b892(0x22e)]=null,_0x17ca5f;};}()),_0x356e13={},_0xa93cd3=_0x356e13[_0x5f4fe9(0x1bd)]={},_0x536ddb=_0xa93cd3[_0x5f4fe9(0x1b0)]=(function(){return{'extend':function(_0x5e7766){var _0x3768aa=_0x5b8f,_0xcf0bd9=_0x40ff1e(this);return _0x5e7766&&_0xcf0bd9[_0x3768aa(0x11c)](_0x5e7766),(!_0xcf0bd9[_0x3768aa(0x290)]('init')||this[_0x3768aa(0x1de)]===_0xcf0bd9[_0x3768aa(0x1de)])&&(_0xcf0bd9[_0x3768aa(0x1de)]=function(){var _0x3fecc6=_0x3768aa;_0xcf0bd9[_0x3fecc6(0x2b9)][_0x3fecc6(0x1de)][_0x3fecc6(0x2d3)](this,arguments);}),_0xcf0bd9[_0x3768aa(0x1de)][_0x3768aa(0x22e)]=_0xcf0bd9,_0xcf0bd9[_0x3768aa(0x2b9)]=this,_0xcf0bd9;},'create':function(){var _0x47334a=_0x5b8f,_0x29211b=this[_0x47334a(0x18e)]();return _0x29211b[_0x47334a(0x1de)]['apply'](_0x29211b,arguments),_0x29211b;},'init':function(){},'mixIn':function(_0x10ba5c){var _0xb8369f=_0x5b8f;for(var _0x47ca02 in _0x10ba5c)_0x10ba5c[_0xb8369f(0x290)](_0x47ca02)&&(this[_0x47ca02]=_0x10ba5c[_0x47ca02]);_0x10ba5c[_0xb8369f(0x290)](_0xb8369f(0x28c))&&(this['toString']=_0x10ba5c[_0xb8369f(0x28c)]);},'clone':function(){var _0x5d3f32=_0x5b8f;return this['init'][_0x5d3f32(0x22e)][_0x5d3f32(0x18e)](this);}};}()),_0x5b959e=_0xa93cd3[_0x5f4fe9(0x190)]=_0x536ddb[_0x5f4fe9(0x18e)]({'init':function(_0x40a289,_0x3c3776){var _0x53a612=_0x5f4fe9;_0x40a289=this[_0x53a612(0x251)]=_0x40a289||[],_0x3c3776!=_0x2ee6b0?this[_0x53a612(0x407)]=_0x3c3776:this[_0x53a612(0x407)]=_0x40a289[_0x53a612(0x32e)]*0x4;},'toString':function(_0x186bc9){var _0xc7bb69=_0x5f4fe9;return(_0x186bc9||_0x712137)[_0xc7bb69(0x178)](this);},'concat':function(_0x191c51){var _0x18aa58=_0x5f4fe9,_0x59ea58=this[_0x18aa58(0x251)],_0x513198=_0x191c51[_0x18aa58(0x251)],_0x3dc1d0=this[_0x18aa58(0x407)],_0x110bad=_0x191c51[_0x18aa58(0x407)];if(this[_0x18aa58(0x1cc)](),_0x3dc1d0%0x4)for(var _0x48ed11=0x0;_0x48ed11<_0x110bad;_0x48ed11++){var _0x247c5d=_0x513198[_0x48ed11>>>0x2]>>>0x18-_0x48ed11%0x4*0x8&0xff;_0x59ea58[_0x3dc1d0+_0x48ed11>>>0x2]|=_0x247c5d<<0x18-(_0x3dc1d0+_0x48ed11)%0x4*0x8;}else{for(var _0x26174d=0x0;_0x26174d<_0x110bad;_0x26174d+=0x4)_0x59ea58[_0x3dc1d0+_0x26174d>>>0x2]=_0x513198[_0x26174d>>>0x2];}return this[_0x18aa58(0x407)]+=_0x110bad,this;},'clamp':function(){var _0x205286=_0x5f4fe9,_0x5c28ca=this[_0x205286(0x251)],_0x2cebc0=this[_0x205286(0x407)];_0x5c28ca[_0x2cebc0>>>0x2]&=0xffffffff<<0x20-_0x2cebc0%0x4*0x8,_0x5c28ca['length']=_0x55d6d6[_0x205286(0x123)](_0x2cebc0/0x4);},'clone':function(){var _0x492192=_0x5f4fe9,_0x33717f=_0x536ddb[_0x492192(0x3bf)][_0x492192(0x15a)](this);return _0x33717f[_0x492192(0x251)]=this['words']['slice'](0x0),_0x33717f;},'random':function(_0x310bd0){var _0x221659=_0x5f4fe9;for(var _0x35c3a2=[],_0x306a47=0x0;_0x306a47<_0x310bd0;_0x306a47+=0x4)_0x35c3a2[_0x221659(0x271)](_0x24703c());return new _0x5b959e[(_0x221659(0x1de))](_0x35c3a2,_0x310bd0);}}),_0x917f71=_0x356e13[_0x5f4fe9(0x3b6)]={},_0x712137=_0x917f71[_0x5f4fe9(0x235)]={'stringify':function(_0x369965){var _0x4ef21e=_0x5f4fe9;for(var _0x2c0ed5=_0x369965[_0x4ef21e(0x251)],_0x5ef54a=_0x369965[_0x4ef21e(0x407)],_0x26abd9=[],_0x11969f=0x0;_0x11969f<_0x5ef54a;_0x11969f++){var _0x3a84a3=_0x2c0ed5[_0x11969f>>>0x2]>>>0x18-_0x11969f%0x4*0x8&0xff;_0x26abd9[_0x4ef21e(0x271)]((_0x3a84a3>>>0x4)['toString'](0x10)),_0x26abd9['push']((_0x3a84a3&0xf)[_0x4ef21e(0x28c)](0x10));}return _0x26abd9[_0x4ef21e(0x2b0)]('');},'parse':function(_0x1e9a1a){var _0xc35b4b=_0x5f4fe9;for(var _0x55dfee=_0x1e9a1a[_0xc35b4b(0x32e)],_0x412cc7=[],_0x1bee09=0x0;_0x1bee09<_0x55dfee;_0x1bee09+=0x2)_0x412cc7[_0x1bee09>>>0x3]|=parseInt(_0x1e9a1a[_0xc35b4b(0x2eb)](_0x1bee09,0x2),0x10)<<0x18-_0x1bee09%0x8*0x4;return new _0x5b959e[(_0xc35b4b(0x1de))](_0x412cc7,_0x55dfee/0x2);}},_0xfb7bfc=_0x917f71[_0x5f4fe9(0x13c)]={'stringify':function(_0x25be4f){var _0x37a54c=_0x5f4fe9;for(var _0x18cb35=_0x25be4f[_0x37a54c(0x251)],_0x1da5df=_0x25be4f[_0x37a54c(0x407)],_0x2320b2=[],_0x3c46e8=0x0;_0x3c46e8<_0x1da5df;_0x3c46e8++){var _0x19e815=_0x18cb35[_0x3c46e8>>>0x2]>>>0x18-_0x3c46e8%0x4*0x8&0xff;_0x2320b2[_0x37a54c(0x271)](String[_0x37a54c(0x3fb)](_0x19e815));}return _0x2320b2[_0x37a54c(0x2b0)]('');},'parse':function(_0xc3ef81){var _0x2d8541=_0x5f4fe9;for(var _0x196a77=_0xc3ef81[_0x2d8541(0x32e)],_0x298ccf=[],_0x5d38c0=0x0;_0x5d38c0<_0x196a77;_0x5d38c0++)_0x298ccf[_0x5d38c0>>>0x2]|=(_0xc3ef81[_0x2d8541(0x21e)](_0x5d38c0)&0xff)<<0x18-_0x5d38c0%0x4*0x8;return new _0x5b959e[(_0x2d8541(0x1de))](_0x298ccf,_0x196a77);}},_0x8efff5=_0x917f71[_0x5f4fe9(0x2d0)]={'stringify':function(_0x4f4c8d){var _0x1bd29e=_0x5f4fe9;try{return decodeURIComponent(escape(_0xfb7bfc['stringify'](_0x4f4c8d)));}catch{throw new Error(_0x1bd29e(0x390));}},'parse':function(_0x19a476){return _0xfb7bfc['parse'](unescape(encodeURIComponent(_0x19a476)));}},_0x5470b4=_0xa93cd3[_0x5f4fe9(0x1ea)]=_0x536ddb[_0x5f4fe9(0x18e)]({'reset':function(){var _0x583c4f=_0x5f4fe9;this[_0x583c4f(0x1a2)]=new _0x5b959e[(_0x583c4f(0x1de))](),this[_0x583c4f(0x28a)]=0x0;},'_append':function(_0x175e59){var _0x13a8d2=_0x5f4fe9;typeof _0x175e59==_0x13a8d2(0x29a)&&(_0x175e59=_0x8efff5['parse'](_0x175e59)),this[_0x13a8d2(0x1a2)][_0x13a8d2(0x3b1)](_0x175e59),this['_nDataBytes']+=_0x175e59[_0x13a8d2(0x407)];},'_process':function(_0x3bd982){var _0x3c9247=_0x5f4fe9,_0x39eff6,_0x2d2af2=this['_data'],_0x4c022=_0x2d2af2[_0x3c9247(0x251)],_0x40fa32=_0x2d2af2[_0x3c9247(0x407)],_0x1b413d=this[_0x3c9247(0x162)],_0x4a78ba=_0x1b413d*0x4,_0xf2dc7=_0x40fa32/_0x4a78ba;_0x3bd982?_0xf2dc7=_0x55d6d6[_0x3c9247(0x123)](_0xf2dc7):_0xf2dc7=_0x55d6d6[_0x3c9247(0x24b)]((_0xf2dc7|0x0)-this['_minBufferSize'],0x0);var _0x55efb6=_0xf2dc7*_0x1b413d,_0x3d744b=_0x55d6d6[_0x3c9247(0x3ff)](_0x55efb6*0x4,_0x40fa32);if(_0x55efb6){for(var _0x4c1f62=0x0;_0x4c1f62<_0x55efb6;_0x4c1f62+=_0x1b413d)this[_0x3c9247(0x391)](_0x4c022,_0x4c1f62);_0x39eff6=_0x4c022['splice'](0x0,_0x55efb6),_0x2d2af2['sigBytes']-=_0x3d744b;}return new _0x5b959e[(_0x3c9247(0x1de))](_0x39eff6,_0x3d744b);},'clone':function(){var _0x25a2e6=_0x5f4fe9,_0x31d372=_0x536ddb['clone'][_0x25a2e6(0x15a)](this);return _0x31d372[_0x25a2e6(0x1a2)]=this[_0x25a2e6(0x1a2)][_0x25a2e6(0x3bf)](),_0x31d372;},'_minBufferSize':0x0});_0xa93cd3[_0x5f4fe9(0x275)]=_0x5470b4[_0x5f4fe9(0x18e)]({'cfg':_0x536ddb[_0x5f4fe9(0x18e)](),'init':function(_0x3df2aa){var _0x1d4cab=_0x5f4fe9;this[_0x1d4cab(0x2f2)]=this['cfg'][_0x1d4cab(0x18e)](_0x3df2aa),this[_0x1d4cab(0x31f)]();},'reset':function(){var _0x2d350a=_0x5f4fe9;_0x5470b4['reset'][_0x2d350a(0x15a)](this),this[_0x2d350a(0x366)]();},'update':function(_0x23c852){var _0x7b755b=_0x5f4fe9;return this[_0x7b755b(0x21c)](_0x23c852),this['_process'](),this;},'finalize':function(_0x1a9402){var _0x12e5e7=_0x5f4fe9;_0x1a9402&&this[_0x12e5e7(0x21c)](_0x1a9402);var _0x3e58f9=this[_0x12e5e7(0x336)]();return _0x3e58f9;},'blockSize':0x10,'_createHelper':function(_0x466fd6){return function(_0x31cc14,_0x816c3e){var _0x4f4d7a=_0x5b8f;return new _0x466fd6[(_0x4f4d7a(0x1de))](_0x816c3e)[_0x4f4d7a(0x2d7)](_0x31cc14);};},'_createHmacHelper':function(_0xe9256a){return function(_0x330ac7,_0xe2a806){var _0x4898d7=_0x5b8f;return new _0x588f94[(_0x4898d7(0x1bb))]['init'](_0xe9256a,_0xe2a806)['finalize'](_0x330ac7);};}});var _0x588f94=_0x356e13[_0x5f4fe9(0x14e)]={};return _0x356e13;}(Math);return _0x3890a6;}));}(Ge)),Ge[_0x490495(0x414)];}var Ke={'exports':{}},Ws=Ke[_0x2a3857(0x414)],ti;function Ai(){return ti||(ti=0x1,function(_0x201b77,_0x39bde5){(function(_0x10e5a6,_0x42b47d){var _0x2862b9=_0x5b8f;_0x201b77[_0x2862b9(0x414)]=_0x42b47d(ne());}(Ws,function(_0x34e08d){var _0xb869bc=_0x5b8f;return(function(){var _0x24d2f8=_0x5b8f,_0x38065b=_0x34e08d,_0x5d5fca=_0x38065b[_0x24d2f8(0x1bd)],_0x258666=_0x5d5fca[_0x24d2f8(0x190)],_0xc4d642=_0x38065b['enc'];_0xc4d642[_0x24d2f8(0x241)]={'stringify':function(_0x12ae7e){var _0x20d8c9=_0x24d2f8,_0x1cf057=_0x12ae7e['words'],_0x25eacd=_0x12ae7e[_0x20d8c9(0x407)],_0x3d21d8=this[_0x20d8c9(0x20b)];_0x12ae7e[_0x20d8c9(0x1cc)]();for(var _0x3e234e=[],_0xf186fb=0x0;_0xf186fb<_0x25eacd;_0xf186fb+=0x3)for(var _0x3f156a=_0x1cf057[_0xf186fb>>>0x2]>>>0x18-_0xf186fb%0x4*0x8&0xff,_0x21cfaa=_0x1cf057[_0xf186fb+0x1>>>0x2]>>>0x18-(_0xf186fb+0x1)%0x4*0x8&0xff,_0x641046=_0x1cf057[_0xf186fb+0x2>>>0x2]>>>0x18-(_0xf186fb+0x2)%0x4*0x8&0xff,_0x3a3f6a=_0x3f156a<<0x10|_0x21cfaa<<0x8|_0x641046,_0x2aa1bf=0x0;_0x2aa1bf<0x4&&_0xf186fb+_0x2aa1bf*0.75<_0x25eacd;_0x2aa1bf++)_0x3e234e[_0x20d8c9(0x271)](_0x3d21d8[_0x20d8c9(0x3a9)](_0x3a3f6a>>>0x6*(0x3-_0x2aa1bf)&0x3f));var _0x210976=_0x3d21d8['charAt'](0x40);if(_0x210976){for(;_0x3e234e['length']%0x4;)_0x3e234e['push'](_0x210976);}return _0x3e234e['join']('');},'parse':function(_0x12a7b3){var _0x35678e=_0x24d2f8,_0x5b4b58=_0x12a7b3[_0x35678e(0x32e)],_0x523d92=this['_map'],_0x3f4eb6=this[_0x35678e(0x3c8)];if(!_0x3f4eb6){_0x3f4eb6=this[_0x35678e(0x3c8)]=[];for(var _0x49794c=0x0;_0x49794c<_0x523d92[_0x35678e(0x32e)];_0x49794c++)_0x3f4eb6[_0x523d92['charCodeAt'](_0x49794c)]=_0x49794c;}var _0x250759=_0x523d92[_0x35678e(0x3a9)](0x40);if(_0x250759){var _0x4e9888=_0x12a7b3[_0x35678e(0x32f)](_0x250759);_0x4e9888!==-0x1&&(_0x5b4b58=_0x4e9888);}return _0x1f8a62(_0x12a7b3,_0x5b4b58,_0x3f4eb6);},'_map':_0x24d2f8(0x155)};function _0x1f8a62(_0x3a992c,_0x3b0285,_0x331dff){var _0x20220a=_0x24d2f8;for(var _0x54b1b8=[],_0x16018c=0x0,_0x4fd4ae=0x0;_0x4fd4ae<_0x3b0285;_0x4fd4ae++)if(_0x4fd4ae%0x4){var _0x5776d7=_0x331dff[_0x3a992c[_0x20220a(0x21e)](_0x4fd4ae-0x1)]<<_0x4fd4ae%0x4*0x2,_0xa26cd2=_0x331dff[_0x3a992c[_0x20220a(0x21e)](_0x4fd4ae)]>>>0x6-_0x4fd4ae%0x4*0x2,_0x2bb7e7=_0x5776d7|_0xa26cd2;_0x54b1b8[_0x16018c>>>0x2]|=_0x2bb7e7<<0x18-_0x16018c%0x4*0x8,_0x16018c++;}return _0x258666[_0x20220a(0x3ea)](_0x54b1b8,_0x16018c);}}()),_0x34e08d[_0xb869bc(0x3b6)][_0xb869bc(0x241)];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Gs=ze[_0x2a3857(0x414)],ii;function Ks(){var _0x47346e=_0x2a3857;return ii||(ii=0x1,function(_0xdf9609,_0x478955){(function(_0x254a3a,_0x576fdb){var _0x54a30f=_0x5b8f;_0xdf9609[_0x54a30f(0x414)]=_0x576fdb(ne());}(Gs,function(_0x4a1be7){var _0x15875f=_0x5b8f;return function(_0x34be97){var _0x5e610a=_0x5b8f,_0x15c122=_0x4a1be7,_0x386f56=_0x15c122['lib'],_0x38600d=_0x386f56[_0x5e610a(0x190)],_0x57e178=_0x386f56['Hasher'],_0x4ec2ae=_0x15c122[_0x5e610a(0x14e)],_0x3ed530=[];(function(){var _0x71b422=_0x5e610a;for(var _0x3826fb=0x0;_0x3826fb<0x40;_0x3826fb++)_0x3ed530[_0x3826fb]=_0x34be97[_0x71b422(0x261)](_0x34be97['sin'](_0x3826fb+0x1))*0x100000000|0x0;}());var _0x2e8bd0=_0x4ec2ae[_0x5e610a(0x140)]=_0x57e178['extend']({'_doReset':function(){var _0x3fb810=_0x5e610a;this[_0x3fb810(0x1a8)]=new _0x38600d[(_0x3fb810(0x1de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x332b34,_0x4affa7){var _0x48910a=_0x5e610a;for(var _0x42560b=0x0;_0x42560b<0x10;_0x42560b++){var _0x363099=_0x4affa7+_0x42560b,_0x20f96e=_0x332b34[_0x363099];_0x332b34[_0x363099]=(_0x20f96e<<0x8|_0x20f96e>>>0x18)&0xff00ff|(_0x20f96e<<0x18|_0x20f96e>>>0x8)&0xff00ff00;}var _0x2b538d=this[_0x48910a(0x1a8)]['words'],_0x44129e=_0x332b34[_0x4affa7+0x0],_0x3644e7=_0x332b34[_0x4affa7+0x1],_0x1e782a=_0x332b34[_0x4affa7+0x2],_0x5291f8=_0x332b34[_0x4affa7+0x3],_0x223f74=_0x332b34[_0x4affa7+0x4],_0x41949d=_0x332b34[_0x4affa7+0x5],_0x2d9108=_0x332b34[_0x4affa7+0x6],_0x5840f2=_0x332b34[_0x4affa7+0x7],_0x24e197=_0x332b34[_0x4affa7+0x8],_0x21326a=_0x332b34[_0x4affa7+0x9],_0x357a8e=_0x332b34[_0x4affa7+0xa],_0x2c8053=_0x332b34[_0x4affa7+0xb],_0x3d3d0e=_0x332b34[_0x4affa7+0xc],_0x1140ea=_0x332b34[_0x4affa7+0xd],_0xc8807a=_0x332b34[_0x4affa7+0xe],_0x5776d4=_0x332b34[_0x4affa7+0xf],_0x345ffe=_0x2b538d[0x0],_0x12eb22=_0x2b538d[0x1],_0x57cc76=_0x2b538d[0x2],_0x4f0c6c=_0x2b538d[0x3];_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x44129e,0x7,_0x3ed530[0x0]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x3644e7,0xc,_0x3ed530[0x1]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x1e782a,0x11,_0x3ed530[0x2]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5291f8,0x16,_0x3ed530[0x3]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x223f74,0x7,_0x3ed530[0x4]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x41949d,0xc,_0x3ed530[0x5]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2d9108,0x11,_0x3ed530[0x6]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5840f2,0x16,_0x3ed530[0x7]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x24e197,0x7,_0x3ed530[0x8]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x21326a,0xc,_0x3ed530[0x9]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x357a8e,0x11,_0x3ed530[0xa]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x2c8053,0x16,_0x3ed530[0xb]),_0x345ffe=_0x31de4d(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3d3d0e,0x7,_0x3ed530[0xc]),_0x4f0c6c=_0x31de4d(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x1140ea,0xc,_0x3ed530[0xd]),_0x57cc76=_0x31de4d(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0xc8807a,0x11,_0x3ed530[0xe]),_0x12eb22=_0x31de4d(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x5776d4,0x16,_0x3ed530[0xf]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3644e7,0x5,_0x3ed530[0x10]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x2d9108,0x9,_0x3ed530[0x11]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2c8053,0xe,_0x3ed530[0x12]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x44129e,0x14,_0x3ed530[0x13]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x41949d,0x5,_0x3ed530[0x14]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x357a8e,0x9,_0x3ed530[0x15]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5776d4,0xe,_0x3ed530[0x16]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x223f74,0x14,_0x3ed530[0x17]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x21326a,0x5,_0x3ed530[0x18]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0xc8807a,0x9,_0x3ed530[0x19]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5291f8,0xe,_0x3ed530[0x1a]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x24e197,0x14,_0x3ed530[0x1b]),_0x345ffe=_0x44d7c9(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x1140ea,0x5,_0x3ed530[0x1c]),_0x4f0c6c=_0x44d7c9(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x1e782a,0x9,_0x3ed530[0x1d]),_0x57cc76=_0x44d7c9(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5840f2,0xe,_0x3ed530[0x1e]),_0x12eb22=_0x44d7c9(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x3d3d0e,0x14,_0x3ed530[0x1f]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x41949d,0x4,_0x3ed530[0x20]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x24e197,0xb,_0x3ed530[0x21]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2c8053,0x10,_0x3ed530[0x22]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0xc8807a,0x17,_0x3ed530[0x23]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3644e7,0x4,_0x3ed530[0x24]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x223f74,0xb,_0x3ed530[0x25]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5840f2,0x10,_0x3ed530[0x26]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x357a8e,0x17,_0x3ed530[0x27]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x1140ea,0x4,_0x3ed530[0x28]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x44129e,0xb,_0x3ed530[0x29]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5291f8,0x10,_0x3ed530[0x2a]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x2d9108,0x17,_0x3ed530[0x2b]),_0x345ffe=_0x4af2ab(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x21326a,0x4,_0x3ed530[0x2c]),_0x4f0c6c=_0x4af2ab(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x3d3d0e,0xb,_0x3ed530[0x2d]),_0x57cc76=_0x4af2ab(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x5776d4,0x10,_0x3ed530[0x2e]),_0x12eb22=_0x4af2ab(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x1e782a,0x17,_0x3ed530[0x2f]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x44129e,0x6,_0x3ed530[0x30]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5840f2,0xa,_0x3ed530[0x31]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0xc8807a,0xf,_0x3ed530[0x32]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x41949d,0x15,_0x3ed530[0x33]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x3d3d0e,0x6,_0x3ed530[0x34]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5291f8,0xa,_0x3ed530[0x35]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x357a8e,0xf,_0x3ed530[0x36]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x3644e7,0x15,_0x3ed530[0x37]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x24e197,0x6,_0x3ed530[0x38]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x5776d4,0xa,_0x3ed530[0x39]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x2d9108,0xf,_0x3ed530[0x3a]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x1140ea,0x15,_0x3ed530[0x3b]),_0x345ffe=_0x3360af(_0x345ffe,_0x12eb22,_0x57cc76,_0x4f0c6c,_0x223f74,0x6,_0x3ed530[0x3c]),_0x4f0c6c=_0x3360af(_0x4f0c6c,_0x345ffe,_0x12eb22,_0x57cc76,_0x2c8053,0xa,_0x3ed530[0x3d]),_0x57cc76=_0x3360af(_0x57cc76,_0x4f0c6c,_0x345ffe,_0x12eb22,_0x1e782a,0xf,_0x3ed530[0x3e]),_0x12eb22=_0x3360af(_0x12eb22,_0x57cc76,_0x4f0c6c,_0x345ffe,_0x21326a,0x15,_0x3ed530[0x3f]),_0x2b538d[0x0]=_0x2b538d[0x0]+_0x345ffe|0x0,_0x2b538d[0x1]=_0x2b538d[0x1]+_0x12eb22|0x0,_0x2b538d[0x2]=_0x2b538d[0x2]+_0x57cc76|0x0,_0x2b538d[0x3]=_0x2b538d[0x3]+_0x4f0c6c|0x0;},'_doFinalize':function(){var _0x487767=_0x5e610a,_0x57295a=this['_data'],_0x192a69=_0x57295a[_0x487767(0x251)],_0xdece29=this['_nDataBytes']*0x8,_0x250502=_0x57295a[_0x487767(0x407)]*0x8;_0x192a69[_0x250502>>>0x5]|=0x80<<0x18-_0x250502%0x20;var _0x51bcd2=_0x34be97[_0x487767(0x23a)](_0xdece29/0x100000000),_0x53fa11=_0xdece29;_0x192a69[(_0x250502+0x40>>>0x9<<0x4)+0xf]=(_0x51bcd2<<0x8|_0x51bcd2>>>0x18)&0xff00ff|(_0x51bcd2<<0x18|_0x51bcd2>>>0x8)&0xff00ff00,_0x192a69[(_0x250502+0x40>>>0x9<<0x4)+0xe]=(_0x53fa11<<0x8|_0x53fa11>>>0x18)&0xff00ff|(_0x53fa11<<0x18|_0x53fa11>>>0x8)&0xff00ff00,_0x57295a[_0x487767(0x407)]=(_0x192a69['length']+0x1)*0x4,this[_0x487767(0x207)]();for(var _0x391e48=this[_0x487767(0x1a8)],_0x32d8fb=_0x391e48[_0x487767(0x251)],_0x25b628=0x0;_0x25b628<0x4;_0x25b628++){var _0x468b04=_0x32d8fb[_0x25b628];_0x32d8fb[_0x25b628]=(_0x468b04<<0x8|_0x468b04>>>0x18)&0xff00ff|(_0x468b04<<0x18|_0x468b04>>>0x8)&0xff00ff00;}return _0x391e48;},'clone':function(){var _0x513037=_0x5e610a,_0xc433bb=_0x57e178[_0x513037(0x3bf)][_0x513037(0x15a)](this);return _0xc433bb[_0x513037(0x1a8)]=this[_0x513037(0x1a8)][_0x513037(0x3bf)](),_0xc433bb;}});function _0x31de4d(_0x111f19,_0x38ab6a,_0x18a7ca,_0x2eebd9,_0x80a0db,_0x3589dd,_0x2f1542){var _0x16b8a3=_0x111f19+(_0x38ab6a&_0x18a7ca|~_0x38ab6a&_0x2eebd9)+_0x80a0db+_0x2f1542;return(_0x16b8a3<<_0x3589dd|_0x16b8a3>>>0x20-_0x3589dd)+_0x38ab6a;}function _0x44d7c9(_0x3249bd,_0x7b450f,_0x287d3c,_0x4c5281,_0x175bdd,_0x163a8d,_0x1fae0f){var _0x17e4b9=_0x3249bd+(_0x7b450f&_0x4c5281|_0x287d3c&~_0x4c5281)+_0x175bdd+_0x1fae0f;return(_0x17e4b9<<_0x163a8d|_0x17e4b9>>>0x20-_0x163a8d)+_0x7b450f;}function _0x4af2ab(_0x33a570,_0x92b56f,_0xc741bc,_0x2b41c1,_0x271ff0,_0x21a463,_0x1ba5eb){var _0x3b6ba0=_0x33a570+(_0x92b56f^_0xc741bc^_0x2b41c1)+_0x271ff0+_0x1ba5eb;return(_0x3b6ba0<<_0x21a463|_0x3b6ba0>>>0x20-_0x21a463)+_0x92b56f;}function _0x3360af(_0x19142b,_0x4d35af,_0x54e287,_0x46fae1,_0x644b6a,_0x35c303,_0x47e18b){var _0x1ccd85=_0x19142b+(_0x54e287^(_0x4d35af|~_0x46fae1))+_0x644b6a+_0x47e18b;return(_0x1ccd85<<_0x35c303|_0x1ccd85>>>0x20-_0x35c303)+_0x4d35af;}_0x15c122[_0x5e610a(0x140)]=_0x57e178[_0x5e610a(0x25d)](_0x2e8bd0),_0x15c122['HmacMD5']=_0x57e178['_createHmacHelper'](_0x2e8bd0);}(Math),_0x4a1be7[_0x15875f(0x140)];}));}(ze)),ze[_0x47346e(0x414)];}var Ye={'exports':{}},qe={'exports':{}},zs=qe[_0x2a3857(0x414)],ni;function Ys(){var _0x20c86c=_0x2a3857;return ni||(ni=0x1,function(_0xf3b503,_0x50d031){(function(_0x5a0795,_0x23f14c){var _0x433c40=_0x5b8f;_0xf3b503[_0x433c40(0x414)]=_0x23f14c(ne());}(zs,function(_0x4d813f){var _0x28f8bc=_0x5b8f;return(function(){var _0x4f5311=_0x5b8f,_0x22d552=_0x4d813f,_0xf89cb3=_0x22d552['lib'],_0x3f6d82=_0xf89cb3['WordArray'],_0x53344d=_0xf89cb3[_0x4f5311(0x275)],_0x22e28b=_0x22d552['algo'],_0x1878d5=[],_0x33f079=_0x22e28b['SHA1']=_0x53344d['extend']({'_doReset':function(){var _0xf3cb2e=_0x4f5311;this['_hash']=new _0x3f6d82[(_0xf3cb2e(0x1de))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48c0b3,_0x597563){var _0x1f986a=_0x4f5311;for(var _0x9332ff=this[_0x1f986a(0x1a8)][_0x1f986a(0x251)],_0x2d953d=_0x9332ff[0x0],_0x231c77=_0x9332ff[0x1],_0x3c57b0=_0x9332ff[0x2],_0x1f534f=_0x9332ff[0x3],_0x2bc10b=_0x9332ff[0x4],_0x27edbc=0x0;_0x27edbc<0x50;_0x27edbc++){if(_0x27edbc<0x10)_0x1878d5[_0x27edbc]=_0x48c0b3[_0x597563+_0x27edbc]|0x0;else{var _0x3fdddf=_0x1878d5[_0x27edbc-0x3]^_0x1878d5[_0x27edbc-0x8]^_0x1878d5[_0x27edbc-0xe]^_0x1878d5[_0x27edbc-0x10];_0x1878d5[_0x27edbc]=_0x3fdddf<<0x1|_0x3fdddf>>>0x1f;}var _0x3405af=(_0x2d953d<<0x5|_0x2d953d>>>0x1b)+_0x2bc10b+_0x1878d5[_0x27edbc];_0x27edbc<0x14?_0x3405af+=(_0x231c77&_0x3c57b0|~_0x231c77&_0x1f534f)+0x5a827999:_0x27edbc<0x28?_0x3405af+=(_0x231c77^_0x3c57b0^_0x1f534f)+0x6ed9eba1:_0x27edbc<0x3c?_0x3405af+=(_0x231c77&_0x3c57b0|_0x231c77&_0x1f534f|_0x3c57b0&_0x1f534f)-0x70e44324:_0x3405af+=(_0x231c77^_0x3c57b0^_0x1f534f)-0x359d3e2a,_0x2bc10b=_0x1f534f,_0x1f534f=_0x3c57b0,_0x3c57b0=_0x231c77<<0x1e|_0x231c77>>>0x2,_0x231c77=_0x2d953d,_0x2d953d=_0x3405af;}_0x9332ff[0x0]=_0x9332ff[0x0]+_0x2d953d|0x0,_0x9332ff[0x1]=_0x9332ff[0x1]+_0x231c77|0x0,_0x9332ff[0x2]=_0x9332ff[0x2]+_0x3c57b0|0x0,_0x9332ff[0x3]=_0x9332ff[0x3]+_0x1f534f|0x0,_0x9332ff[0x4]=_0x9332ff[0x4]+_0x2bc10b|0x0;},'_doFinalize':function(){var _0x5a0177=_0x4f5311,_0x229571=this[_0x5a0177(0x1a2)],_0x208a3c=_0x229571['words'],_0xcae21=this[_0x5a0177(0x28a)]*0x8,_0x2ad793=_0x229571[_0x5a0177(0x407)]*0x8;return _0x208a3c[_0x2ad793>>>0x5]|=0x80<<0x18-_0x2ad793%0x20,_0x208a3c[(_0x2ad793+0x40>>>0x9<<0x4)+0xe]=Math[_0x5a0177(0x23a)](_0xcae21/0x100000000),_0x208a3c[(_0x2ad793+0x40>>>0x9<<0x4)+0xf]=_0xcae21,_0x229571[_0x5a0177(0x407)]=_0x208a3c[_0x5a0177(0x32e)]*0x4,this['_process'](),this[_0x5a0177(0x1a8)];},'clone':function(){var _0x77e5be=_0x4f5311,_0x131645=_0x53344d[_0x77e5be(0x3bf)][_0x77e5be(0x15a)](this);return _0x131645[_0x77e5be(0x1a8)]=this[_0x77e5be(0x1a8)][_0x77e5be(0x3bf)](),_0x131645;}});_0x22d552['SHA1']=_0x53344d[_0x4f5311(0x25d)](_0x33f079),_0x22d552[_0x4f5311(0x35a)]=_0x53344d['_createHmacHelper'](_0x33f079);}()),_0x4d813f[_0x28f8bc(0x1eb)];}));}(qe)),qe[_0x20c86c(0x414)];}var Je={'exports':{}},qs=Je[_0x2a3857(0x414)],si;function Js(){var _0x74b58d=_0x2a3857;return si||(si=0x1,function(_0x24580b,_0x39a3db){(function(_0x2355ae,_0x5ae1a3){var _0x4c9f2b=_0x5b8f;_0x24580b[_0x4c9f2b(0x414)]=_0x5ae1a3(ne());}(qs,function(_0x57eda0){(function(){var _0x66e07c=_0x5b8f,_0x5b3ed9=_0x57eda0,_0x1d30fd=_0x5b3ed9[_0x66e07c(0x1bd)],_0x852f04=_0x1d30fd[_0x66e07c(0x1b0)],_0x3b823f=_0x5b3ed9[_0x66e07c(0x3b6)],_0xf80bff=_0x3b823f[_0x66e07c(0x2d0)],_0x174875=_0x5b3ed9[_0x66e07c(0x14e)];_0x174875[_0x66e07c(0x1bb)]=_0x852f04[_0x66e07c(0x18e)]({'init':function(_0x8e2ce9,_0x3e88f8){var _0xdae200=_0x66e07c;_0x8e2ce9=this[_0xdae200(0x238)]=new _0x8e2ce9[(_0xdae200(0x1de))](),typeof _0x3e88f8==_0xdae200(0x29a)&&(_0x3e88f8=_0xf80bff[_0xdae200(0x389)](_0x3e88f8));var _0x1aca4c=_0x8e2ce9['blockSize'],_0x1f8004=_0x1aca4c*0x4;_0x3e88f8['sigBytes']>_0x1f8004&&(_0x3e88f8=_0x8e2ce9[_0xdae200(0x2d7)](_0x3e88f8)),_0x3e88f8['clamp']();for(var _0x41300c=this[_0xdae200(0x380)]=_0x3e88f8[_0xdae200(0x3bf)](),_0x4bc265=this['_iKey']=_0x3e88f8['clone'](),_0x4375e3=_0x41300c['words'],_0x24a805=_0x4bc265['words'],_0x50286a=0x0;_0x50286a<_0x1aca4c;_0x50286a++)_0x4375e3[_0x50286a]^=0x5c5c5c5c,_0x24a805[_0x50286a]^=0x36363636;_0x41300c[_0xdae200(0x407)]=_0x4bc265[_0xdae200(0x407)]=_0x1f8004,this['reset']();},'reset':function(){var _0x54806a=_0x66e07c,_0x23023a=this['_hasher'];_0x23023a[_0x54806a(0x31f)](),_0x23023a['update'](this[_0x54806a(0x23e)]);},'update':function(_0x13b995){var _0x26084c=_0x66e07c;return this[_0x26084c(0x238)][_0x26084c(0x3a4)](_0x13b995),this;},'finalize':function(_0x30d84e){var _0x5b7f97=_0x66e07c,_0x121f1b=this[_0x5b7f97(0x238)],_0x2f42fd=_0x121f1b[_0x5b7f97(0x2d7)](_0x30d84e);_0x121f1b[_0x5b7f97(0x31f)]();var _0x5e78a7=_0x121f1b[_0x5b7f97(0x2d7)](this[_0x5b7f97(0x380)]['clone']()['concat'](_0x2f42fd));return _0x5e78a7;}});}());}));}(Je)),Je[_0x74b58d(0x414)];}var Xs=Ye['exports'],ri;function xi(){var _0x4de094=_0x2a3857;return ri||(ri=0x1,function(_0x3482d1,_0x16d12a){(function(_0x127c59,_0x34be83,_0x1aec17){var _0x12e66a=_0x5b8f;_0x3482d1[_0x12e66a(0x414)]=_0x34be83(ne(),Ys(),Js());}(Xs,function(_0x181921){return(function(){var _0xa4e0bd=_0x5b8f,_0x3984b3=_0x181921,_0x230752=_0x3984b3[_0xa4e0bd(0x1bd)],_0x387b19=_0x230752['Base'],_0x236ccf=_0x230752[_0xa4e0bd(0x190)],_0x35a249=_0x3984b3[_0xa4e0bd(0x14e)],_0x43fbca=_0x35a249['MD5'],_0x198ae6=_0x35a249[_0xa4e0bd(0x360)]=_0x387b19[_0xa4e0bd(0x18e)]({'cfg':_0x387b19[_0xa4e0bd(0x18e)]({'keySize':0x80/0x20,'hasher':_0x43fbca,'iterations':0x1}),'init':function(_0x174d57){var _0x56b305=_0xa4e0bd;this[_0x56b305(0x2f2)]=this['cfg']['extend'](_0x174d57);},'compute':function(_0x368515,_0x2a4676){var _0x575af6=_0xa4e0bd;for(var _0x55df41,_0x13ebd3=this[_0x575af6(0x2f2)],_0x4e09ed=_0x13ebd3['hasher'][_0x575af6(0x3ea)](),_0x3e4ef4=_0x236ccf['create'](),_0x537131=_0x3e4ef4[_0x575af6(0x251)],_0x54b4ac=_0x13ebd3[_0x575af6(0x1fd)],_0x4b6fd1=_0x13ebd3[_0x575af6(0x402)];_0x537131[_0x575af6(0x32e)]<_0x54b4ac;){_0x55df41&&_0x4e09ed[_0x575af6(0x3a4)](_0x55df41),_0x55df41=_0x4e09ed[_0x575af6(0x3a4)](_0x368515)['finalize'](_0x2a4676),_0x4e09ed[_0x575af6(0x31f)]();for(var _0x34a94b=0x1;_0x34a94b<_0x4b6fd1;_0x34a94b++)_0x55df41=_0x4e09ed['finalize'](_0x55df41),_0x4e09ed[_0x575af6(0x31f)]();_0x3e4ef4[_0x575af6(0x3b1)](_0x55df41);}return _0x3e4ef4[_0x575af6(0x407)]=_0x54b4ac*0x4,_0x3e4ef4;}});_0x3984b3[_0xa4e0bd(0x360)]=function(_0x34c0d6,_0xea1d41,_0x8e7018){var _0x475400=_0xa4e0bd;return _0x198ae6[_0x475400(0x3ea)](_0x8e7018)['compute'](_0x34c0d6,_0xea1d41);};}()),_0x181921['EvpKDF'];}));}(Ye)),Ye[_0x4de094(0x414)];}var Xe={'exports':{}},Zs=Xe['exports'],oi;function Li(){var _0x3c885b=_0x2a3857;return oi||(oi=0x1,function(_0x333efe,_0x3074b2){(function(_0x5cbb4c,_0x80763b,_0x47df77){var _0x21412a=_0x5b8f;_0x333efe[_0x21412a(0x414)]=_0x80763b(ne(),xi());}(Zs,function(_0x20dc03){var _0x32dc05=_0x5b8f;_0x20dc03['lib'][_0x32dc05(0x151)]||function(_0x2d5a83){var _0x203b55=_0x32dc05,_0x375034=_0x20dc03,_0x364e87=_0x375034[_0x203b55(0x1bd)],_0x3f94f5=_0x364e87[_0x203b55(0x1b0)],_0x37a32d=_0x364e87[_0x203b55(0x190)],_0x16c2cc=_0x364e87['BufferedBlockAlgorithm'],_0x265aef=_0x375034[_0x203b55(0x3b6)];_0x265aef['Utf8'];var _0x35e96f=_0x265aef[_0x203b55(0x241)],_0x12f119=_0x375034[_0x203b55(0x14e)],_0x116497=_0x12f119[_0x203b55(0x360)],_0x2a4f32=_0x364e87['Cipher']=_0x16c2cc[_0x203b55(0x18e)]({'cfg':_0x3f94f5['extend'](),'createEncryptor':function(_0x192adb,_0x45e7a0){var _0x1f7e8c=_0x203b55;return this[_0x1f7e8c(0x3ea)](this['_ENC_XFORM_MODE'],_0x192adb,_0x45e7a0);},'createDecryptor':function(_0x528709,_0x512786){var _0x4c98a2=_0x203b55;return this[_0x4c98a2(0x3ea)](this[_0x4c98a2(0x315)],_0x528709,_0x512786);},'init':function(_0x5ef719,_0x42ecbf,_0x138a0e){var _0xb0d9fc=_0x203b55;this[_0xb0d9fc(0x2f2)]=this[_0xb0d9fc(0x2f2)][_0xb0d9fc(0x18e)](_0x138a0e),this[_0xb0d9fc(0x2a5)]=_0x5ef719,this['_key']=_0x42ecbf,this[_0xb0d9fc(0x31f)]();},'reset':function(){var _0x3d4975=_0x203b55;_0x16c2cc[_0x3d4975(0x31f)]['call'](this),this[_0x3d4975(0x366)]();},'process':function(_0xd85532){var _0x32f7b9=_0x203b55;return this['_append'](_0xd85532),this[_0x32f7b9(0x207)]();},'finalize':function(_0x5b516d){var _0x11e1c6=_0x203b55;_0x5b516d&&this[_0x11e1c6(0x21c)](_0x5b516d);var _0x58ac23=this[_0x11e1c6(0x336)]();return _0x58ac23;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x379e67(_0x4890a8){var _0x44229c=_0x5b8f;return typeof _0x4890a8==_0x44229c(0x29a)?_0x3cffba:_0x3def4a;}return function(_0xbe053d){return{'encrypt':function(_0x54736f,_0x4eff81,_0x5203d7){var _0x1fb3c4=_0x5b8f;return _0x379e67(_0x4eff81)[_0x1fb3c4(0x298)](_0xbe053d,_0x54736f,_0x4eff81,_0x5203d7);},'decrypt':function(_0x25a406,_0xa740c9,_0x23b40a){var _0x26071e=_0x5b8f;return _0x379e67(_0xa740c9)[_0x26071e(0x34e)](_0xbe053d,_0x25a406,_0xa740c9,_0x23b40a);}};};}())});_0x364e87[_0x203b55(0x1ae)]=_0x2a4f32[_0x203b55(0x18e)]({'_doFinalize':function(){var _0xcdf070=_0x203b55,_0x4c3cbf=this[_0xcdf070(0x207)](!0x0);return _0x4c3cbf;},'blockSize':0x1});var _0xfdab4c=_0x375034['mode']={},_0x3a8d41=_0x364e87[_0x203b55(0x2c5)]=_0x3f94f5['extend']({'createEncryptor':function(_0x4a1811,_0x220c2d){return this['Encryptor']['create'](_0x4a1811,_0x220c2d);},'createDecryptor':function(_0x3f89fb,_0x5e6d6e){var _0x58ef75=_0x203b55;return this[_0x58ef75(0x196)][_0x58ef75(0x3ea)](_0x3f89fb,_0x5e6d6e);},'init':function(_0x23c81a,_0x41a389){var _0x5de870=_0x203b55;this[_0x5de870(0x362)]=_0x23c81a,this[_0x5de870(0x176)]=_0x41a389;}}),_0x2d4f50=_0xfdab4c[_0x203b55(0x2b4)]=(function(){var _0x21d3bc=_0x203b55,_0x42bb7b=_0x3a8d41[_0x21d3bc(0x18e)]();_0x42bb7b['Encryptor']=_0x42bb7b[_0x21d3bc(0x18e)]({'processBlock':function(_0x2a504f,_0x39ca74){var _0x3fe334=_0x21d3bc,_0x4dc3fd=this[_0x3fe334(0x362)],_0x1c573f=_0x4dc3fd[_0x3fe334(0x162)];_0x1a76d1[_0x3fe334(0x15a)](this,_0x2a504f,_0x39ca74,_0x1c573f),_0x4dc3fd['encryptBlock'](_0x2a504f,_0x39ca74),this[_0x3fe334(0x217)]=_0x2a504f[_0x3fe334(0x247)](_0x39ca74,_0x39ca74+_0x1c573f);}}),_0x42bb7b[_0x21d3bc(0x196)]=_0x42bb7b[_0x21d3bc(0x18e)]({'processBlock':function(_0x33807b,_0xa3d7e7){var _0x357551=_0x21d3bc,_0x3dfb47=this[_0x357551(0x362)],_0x26d554=_0x3dfb47[_0x357551(0x162)],_0x512bb6=_0x33807b['slice'](_0xa3d7e7,_0xa3d7e7+_0x26d554);_0x3dfb47[_0x357551(0x24a)](_0x33807b,_0xa3d7e7),_0x1a76d1['call'](this,_0x33807b,_0xa3d7e7,_0x26d554),this['_prevBlock']=_0x512bb6;}});function _0x1a76d1(_0x21d513,_0x3632d3,_0x539a97){var _0x4d9422=_0x21d3bc,_0x13f1c2,_0x26c149=this['_iv'];_0x26c149?(_0x13f1c2=_0x26c149,this[_0x4d9422(0x176)]=_0x2d5a83):_0x13f1c2=this[_0x4d9422(0x217)];for(var _0x230a1e=0x0;_0x230a1e<_0x539a97;_0x230a1e++)_0x21d513[_0x3632d3+_0x230a1e]^=_0x13f1c2[_0x230a1e];}return _0x42bb7b;}()),_0x12fe2f=_0x375034[_0x203b55(0x1a9)]={},_0x2b14b4=_0x12fe2f[_0x203b55(0x419)]={'pad':function(_0x40b7e0,_0x5a4b61){var _0x558f55=_0x203b55;for(var _0x1d64e2=_0x5a4b61*0x4,_0x2dce8d=_0x1d64e2-_0x40b7e0['sigBytes']%_0x1d64e2,_0x1013e2=_0x2dce8d<<0x18|_0x2dce8d<<0x10|_0x2dce8d<<0x8|_0x2dce8d,_0x2f16a0=[],_0x27ba7e=0x0;_0x27ba7e<_0x2dce8d;_0x27ba7e+=0x4)_0x2f16a0[_0x558f55(0x271)](_0x1013e2);var _0x167fda=_0x37a32d[_0x558f55(0x3ea)](_0x2f16a0,_0x2dce8d);_0x40b7e0[_0x558f55(0x3b1)](_0x167fda);},'unpad':function(_0x30fc66){var _0xb87806=_0x203b55,_0x5c484e=_0x30fc66[_0xb87806(0x251)][_0x30fc66[_0xb87806(0x407)]-0x1>>>0x2]&0xff;_0x30fc66[_0xb87806(0x407)]-=_0x5c484e;}};_0x364e87[_0x203b55(0x2fe)]=_0x2a4f32[_0x203b55(0x18e)]({'cfg':_0x2a4f32[_0x203b55(0x2f2)][_0x203b55(0x18e)]({'mode':_0x2d4f50,'padding':_0x2b14b4}),'reset':function(){var _0x137e33=_0x203b55,_0x3f38bf;_0x2a4f32[_0x137e33(0x31f)][_0x137e33(0x15a)](this);var _0x66d00a=this[_0x137e33(0x2f2)],_0x4bc7ef=_0x66d00a['iv'],_0x231e57=_0x66d00a[_0x137e33(0x195)];this['_xformMode']==this[_0x137e33(0x141)]?_0x3f38bf=_0x231e57['createEncryptor']:(_0x3f38bf=_0x231e57['createDecryptor'],this['_minBufferSize']=0x1),this[_0x137e33(0x357)]&&this[_0x137e33(0x357)][_0x137e33(0x2d6)]==_0x3f38bf?this[_0x137e33(0x357)]['init'](this,_0x4bc7ef&&_0x4bc7ef[_0x137e33(0x251)]):(this[_0x137e33(0x357)]=_0x3f38bf[_0x137e33(0x15a)](_0x231e57,this,_0x4bc7ef&&_0x4bc7ef[_0x137e33(0x251)]),this['_mode'][_0x137e33(0x2d6)]=_0x3f38bf);},'_doProcessBlock':function(_0x203382,_0x13b3ea){this['_mode']['processBlock'](_0x203382,_0x13b3ea);},'_doFinalize':function(){var _0x18ea3b=_0x203b55,_0x5bf95e,_0x1c80cf=this['cfg'][_0x18ea3b(0x2ec)];return this['_xformMode']==this[_0x18ea3b(0x141)]?(_0x1c80cf['pad'](this[_0x18ea3b(0x1a2)],this[_0x18ea3b(0x162)]),_0x5bf95e=this[_0x18ea3b(0x207)](!0x0)):(_0x5bf95e=this['_process'](!0x0),_0x1c80cf[_0x18ea3b(0x28e)](_0x5bf95e)),_0x5bf95e;},'blockSize':0x80/0x20});var _0x5bd871=_0x364e87[_0x203b55(0x1b9)]=_0x3f94f5[_0x203b55(0x18e)]({'init':function(_0x1e0b6c){var _0x12620b=_0x203b55;this[_0x12620b(0x11c)](_0x1e0b6c);},'toString':function(_0x592192){var _0x1382ad=_0x203b55;return(_0x592192||this[_0x1382ad(0x36c)])[_0x1382ad(0x178)](this);}}),_0x44317c=_0x375034[_0x203b55(0x337)]={},_0x218ef0=_0x44317c[_0x203b55(0x234)]={'stringify':function(_0x23f90d){var _0x32f783=_0x203b55,_0xf9409,_0x1df759=_0x23f90d[_0x32f783(0x373)],_0x40ecb2=_0x23f90d[_0x32f783(0x33f)];return _0x40ecb2?_0xf9409=_0x37a32d[_0x32f783(0x3ea)]([0x53616c74,0x65645f5f])['concat'](_0x40ecb2)[_0x32f783(0x3b1)](_0x1df759):_0xf9409=_0x1df759,_0xf9409['toString'](_0x35e96f);},'parse':function(_0x5f4fc1){var _0x963207=_0x203b55,_0x2cbd94,_0x3952fa=_0x35e96f['parse'](_0x5f4fc1),_0x184f37=_0x3952fa[_0x963207(0x251)];return _0x184f37[0x0]==0x53616c74&&_0x184f37[0x1]==0x65645f5f&&(_0x2cbd94=_0x37a32d[_0x963207(0x3ea)](_0x184f37['slice'](0x2,0x4)),_0x184f37['splice'](0x0,0x4),_0x3952fa[_0x963207(0x407)]-=0x10),_0x5bd871[_0x963207(0x3ea)]({'ciphertext':_0x3952fa,'salt':_0x2cbd94});}},_0x3def4a=_0x364e87['SerializableCipher']=_0x3f94f5['extend']({'cfg':_0x3f94f5['extend']({'format':_0x218ef0}),'encrypt':function(_0x38da02,_0x2710a2,_0x2a473b,_0x495305){var _0x371adf=_0x203b55;_0x495305=this[_0x371adf(0x2f2)][_0x371adf(0x18e)](_0x495305);var _0x574e1d=_0x38da02[_0x371adf(0x35e)](_0x2a473b,_0x495305),_0x1c1019=_0x574e1d[_0x371adf(0x2d7)](_0x2710a2),_0x134054=_0x574e1d[_0x371adf(0x2f2)];return _0x5bd871[_0x371adf(0x3ea)]({'ciphertext':_0x1c1019,'key':_0x2a473b,'iv':_0x134054['iv'],'algorithm':_0x38da02,'mode':_0x134054[_0x371adf(0x195)],'padding':_0x134054['padding'],'blockSize':_0x38da02['blockSize'],'formatter':_0x495305['format']});},'decrypt':function(_0x405889,_0x20b1d2,_0x2dfa51,_0x455446){var _0x3b2966=_0x203b55;_0x455446=this[_0x3b2966(0x2f2)][_0x3b2966(0x18e)](_0x455446),_0x20b1d2=this['_parse'](_0x20b1d2,_0x455446[_0x3b2966(0x337)]);var _0x16992b=_0x405889[_0x3b2966(0x3f9)](_0x2dfa51,_0x455446)[_0x3b2966(0x2d7)](_0x20b1d2[_0x3b2966(0x373)]);return _0x16992b;},'_parse':function(_0x1ef6b5,_0x19be99){var _0x4f0678=_0x203b55;return typeof _0x1ef6b5==_0x4f0678(0x29a)?_0x19be99[_0x4f0678(0x389)](_0x1ef6b5,this):_0x1ef6b5;}}),_0x135da3=_0x375034['kdf']={},_0x3f62bf=_0x135da3[_0x203b55(0x234)]={'execute':function(_0x3debf9,_0x30f543,_0x338c3b,_0x1311e6,_0x31b21a){var _0x14a18f=_0x203b55;if(_0x1311e6||(_0x1311e6=_0x37a32d['random'](0x40/0x8)),_0x31b21a)var _0x1eff30=_0x116497[_0x14a18f(0x3ea)]({'keySize':_0x30f543+_0x338c3b,'hasher':_0x31b21a})[_0x14a18f(0x295)](_0x3debf9,_0x1311e6);else var _0x1eff30=_0x116497[_0x14a18f(0x3ea)]({'keySize':_0x30f543+_0x338c3b})['compute'](_0x3debf9,_0x1311e6);var _0x53cc1b=_0x37a32d['create'](_0x1eff30[_0x14a18f(0x251)]['slice'](_0x30f543),_0x338c3b*0x4);return _0x1eff30[_0x14a18f(0x407)]=_0x30f543*0x4,_0x5bd871[_0x14a18f(0x3ea)]({'key':_0x1eff30,'iv':_0x53cc1b,'salt':_0x1311e6});}},_0x3cffba=_0x364e87['PasswordBasedCipher']=_0x3def4a[_0x203b55(0x18e)]({'cfg':_0x3def4a[_0x203b55(0x2f2)][_0x203b55(0x18e)]({'kdf':_0x3f62bf}),'encrypt':function(_0x178747,_0x2a7866,_0x574203,_0x15b01b){var _0x2164c9=_0x203b55;_0x15b01b=this[_0x2164c9(0x2f2)][_0x2164c9(0x18e)](_0x15b01b);var _0x2207ef=_0x15b01b[_0x2164c9(0x32a)][_0x2164c9(0x322)](_0x574203,_0x178747['keySize'],_0x178747[_0x2164c9(0x346)],_0x15b01b['salt'],_0x15b01b[_0x2164c9(0x1bc)]);_0x15b01b['iv']=_0x2207ef['iv'];var _0x53c88b=_0x3def4a['encrypt'][_0x2164c9(0x15a)](this,_0x178747,_0x2a7866,_0x2207ef[_0x2164c9(0x1f9)],_0x15b01b);return _0x53c88b[_0x2164c9(0x11c)](_0x2207ef),_0x53c88b;},'decrypt':function(_0x369dd8,_0x5867b8,_0x5cc5f5,_0x52add2){var _0x21052d=_0x203b55;_0x52add2=this[_0x21052d(0x2f2)][_0x21052d(0x18e)](_0x52add2),_0x5867b8=this[_0x21052d(0x393)](_0x5867b8,_0x52add2[_0x21052d(0x337)]);var _0x27b285=_0x52add2['kdf']['execute'](_0x5cc5f5,_0x369dd8['keySize'],_0x369dd8[_0x21052d(0x346)],_0x5867b8[_0x21052d(0x33f)],_0x52add2[_0x21052d(0x1bc)]);_0x52add2['iv']=_0x27b285['iv'];var _0x2f249e=_0x3def4a[_0x21052d(0x34e)][_0x21052d(0x15a)](this,_0x369dd8,_0x5867b8,_0x27b285['key'],_0x52add2);return _0x2f249e;}});}();}));}(Xe)),Xe[_0x3c885b(0x414)];}var Qs=We[_0x2a3857(0x414)],ai;function er(){return ai||(ai=0x1,function(_0x1de152,_0x1ac6e5){(function(_0x686392,_0x3b465e,_0x1621a6){var _0x12dd15=_0x5b8f;_0x1de152[_0x12dd15(0x414)]=_0x3b465e(ne(),Ai(),Ks(),xi(),Li());}(Qs,function(_0x16b860){var _0x419a85=_0x5b8f;return(function(){var _0x3ddb2c=_0x5b8f,_0x4a9a31=_0x16b860,_0x318256=_0x4a9a31[_0x3ddb2c(0x1bd)],_0x5914d2=_0x318256[_0x3ddb2c(0x2fe)],_0x30757f=_0x4a9a31['algo'],_0x5d4907=[],_0x3bed13=[],_0x5e4c8b=[],_0x1f9471=[],_0x35f290=[],_0x4aa1e9=[],_0x4f6afe=[],_0x5ad26a=[],_0xab44a6=[],_0x40d60b=[];(function(){for(var _0x10ec93=[],_0x3ce575=0x0;_0x3ce575<0x100;_0x3ce575++)_0x3ce575<0x80?_0x10ec93[_0x3ce575]=_0x3ce575<<0x1:_0x10ec93[_0x3ce575]=_0x3ce575<<0x1^0x11b;for(var _0x4b29af=0x0,_0x19429e=0x0,_0x3ce575=0x0;_0x3ce575<0x100;_0x3ce575++){var _0x2b178e=_0x19429e^_0x19429e<<0x1^_0x19429e<<0x2^_0x19429e<<0x3^_0x19429e<<0x4;_0x2b178e=_0x2b178e>>>0x8^_0x2b178e&0xff^0x63,_0x5d4907[_0x4b29af]=_0x2b178e,_0x3bed13[_0x2b178e]=_0x4b29af;var _0x7ec581=_0x10ec93[_0x4b29af],_0x1f51af=_0x10ec93[_0x7ec581],_0x12f763=_0x10ec93[_0x1f51af],_0x2ca30d=_0x10ec93[_0x2b178e]*0x101^_0x2b178e*0x1010100;_0x5e4c8b[_0x4b29af]=_0x2ca30d<<0x18|_0x2ca30d>>>0x8,_0x1f9471[_0x4b29af]=_0x2ca30d<<0x10|_0x2ca30d>>>0x10,_0x35f290[_0x4b29af]=_0x2ca30d<<0x8|_0x2ca30d>>>0x18,_0x4aa1e9[_0x4b29af]=_0x2ca30d;var _0x2ca30d=_0x12f763*0x1010101^_0x1f51af*0x10001^_0x7ec581*0x101^_0x4b29af*0x1010100;_0x4f6afe[_0x2b178e]=_0x2ca30d<<0x18|_0x2ca30d>>>0x8,_0x5ad26a[_0x2b178e]=_0x2ca30d<<0x10|_0x2ca30d>>>0x10,_0xab44a6[_0x2b178e]=_0x2ca30d<<0x8|_0x2ca30d>>>0x18,_0x40d60b[_0x2b178e]=_0x2ca30d,_0x4b29af?(_0x4b29af=_0x7ec581^_0x10ec93[_0x10ec93[_0x10ec93[_0x12f763^_0x7ec581]]],_0x19429e^=_0x10ec93[_0x10ec93[_0x19429e]]):_0x4b29af=_0x19429e=0x1;}}());var _0x17d1c8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f06a0=_0x30757f['AES']=_0x5914d2[_0x3ddb2c(0x18e)]({'_doReset':function(){var _0x38350f=_0x3ddb2c,_0x4eed63;if(!(this[_0x38350f(0x255)]&&this[_0x38350f(0x1d5)]===this[_0x38350f(0x1ff)])){for(var _0x4eb637=this['_keyPriorReset']=this['_key'],_0x438e1d=_0x4eb637['words'],_0x1a2822=_0x4eb637[_0x38350f(0x407)]/0x4,_0x1fde26=this[_0x38350f(0x255)]=_0x1a2822+0x6,_0x51219a=(_0x1fde26+0x1)*0x4,_0x3b5b73=this['_keySchedule']=[],_0x1959c0=0x0;_0x1959c0<_0x51219a;_0x1959c0++)_0x1959c0<_0x1a2822?_0x3b5b73[_0x1959c0]=_0x438e1d[_0x1959c0]:(_0x4eed63=_0x3b5b73[_0x1959c0-0x1],_0x1959c0%_0x1a2822?_0x1a2822>0x6&&_0x1959c0%_0x1a2822==0x4&&(_0x4eed63=_0x5d4907[_0x4eed63>>>0x18]<<0x18|_0x5d4907[_0x4eed63>>>0x10&0xff]<<0x10|_0x5d4907[_0x4eed63>>>0x8&0xff]<<0x8|_0x5d4907[_0x4eed63&0xff]):(_0x4eed63=_0x4eed63<<0x8|_0x4eed63>>>0x18,_0x4eed63=_0x5d4907[_0x4eed63>>>0x18]<<0x18|_0x5d4907[_0x4eed63>>>0x10&0xff]<<0x10|_0x5d4907[_0x4eed63>>>0x8&0xff]<<0x8|_0x5d4907[_0x4eed63&0xff],_0x4eed63^=_0x17d1c8[_0x1959c0/_0x1a2822|0x0]<<0x18),_0x3b5b73[_0x1959c0]=_0x3b5b73[_0x1959c0-_0x1a2822]^_0x4eed63);for(var _0x47c24c=this[_0x38350f(0x2ae)]=[],_0x13bab1=0x0;_0x13bab1<_0x51219a;_0x13bab1++){var _0x1959c0=_0x51219a-_0x13bab1;if(_0x13bab1%0x4)var _0x4eed63=_0x3b5b73[_0x1959c0];else var _0x4eed63=_0x3b5b73[_0x1959c0-0x4];_0x13bab1<0x4||_0x1959c0<=0x4?_0x47c24c[_0x13bab1]=_0x4eed63:_0x47c24c[_0x13bab1]=_0x4f6afe[_0x5d4907[_0x4eed63>>>0x18]]^_0x5ad26a[_0x5d4907[_0x4eed63>>>0x10&0xff]]^_0xab44a6[_0x5d4907[_0x4eed63>>>0x8&0xff]]^_0x40d60b[_0x5d4907[_0x4eed63&0xff]];}}},'encryptBlock':function(_0x38cad2,_0x29e771){var _0x56f5ec=_0x3ddb2c;this[_0x56f5ec(0x379)](_0x38cad2,_0x29e771,this[_0x56f5ec(0x294)],_0x5e4c8b,_0x1f9471,_0x35f290,_0x4aa1e9,_0x5d4907);},'decryptBlock':function(_0x7e6cd,_0x23688f){var _0x3539f2=_0x3ddb2c,_0x2dabcd=_0x7e6cd[_0x23688f+0x1];_0x7e6cd[_0x23688f+0x1]=_0x7e6cd[_0x23688f+0x3],_0x7e6cd[_0x23688f+0x3]=_0x2dabcd,this[_0x3539f2(0x379)](_0x7e6cd,_0x23688f,this[_0x3539f2(0x2ae)],_0x4f6afe,_0x5ad26a,_0xab44a6,_0x40d60b,_0x3bed13);var _0x2dabcd=_0x7e6cd[_0x23688f+0x1];_0x7e6cd[_0x23688f+0x1]=_0x7e6cd[_0x23688f+0x3],_0x7e6cd[_0x23688f+0x3]=_0x2dabcd;},'_doCryptBlock':function(_0x105b17,_0x5cd29b,_0x9a313a,_0x190477,_0x425b5a,_0x35ac0a,_0xea644a,_0x4d1428){var _0x2b66be=_0x3ddb2c;for(var _0xef798c=this[_0x2b66be(0x255)],_0x2ded3c=_0x105b17[_0x5cd29b]^_0x9a313a[0x0],_0x41c6ed=_0x105b17[_0x5cd29b+0x1]^_0x9a313a[0x1],_0x45d370=_0x105b17[_0x5cd29b+0x2]^_0x9a313a[0x2],_0x1a03e9=_0x105b17[_0x5cd29b+0x3]^_0x9a313a[0x3],_0x3ccaf5=0x4,_0x59cd36=0x1;_0x59cd36<_0xef798c;_0x59cd36++){var _0xff709d=_0x190477[_0x2ded3c>>>0x18]^_0x425b5a[_0x41c6ed>>>0x10&0xff]^_0x35ac0a[_0x45d370>>>0x8&0xff]^_0xea644a[_0x1a03e9&0xff]^_0x9a313a[_0x3ccaf5++],_0x226292=_0x190477[_0x41c6ed>>>0x18]^_0x425b5a[_0x45d370>>>0x10&0xff]^_0x35ac0a[_0x1a03e9>>>0x8&0xff]^_0xea644a[_0x2ded3c&0xff]^_0x9a313a[_0x3ccaf5++],_0x2f00cf=_0x190477[_0x45d370>>>0x18]^_0x425b5a[_0x1a03e9>>>0x10&0xff]^_0x35ac0a[_0x2ded3c>>>0x8&0xff]^_0xea644a[_0x41c6ed&0xff]^_0x9a313a[_0x3ccaf5++],_0x49f3a6=_0x190477[_0x1a03e9>>>0x18]^_0x425b5a[_0x2ded3c>>>0x10&0xff]^_0x35ac0a[_0x41c6ed>>>0x8&0xff]^_0xea644a[_0x45d370&0xff]^_0x9a313a[_0x3ccaf5++];_0x2ded3c=_0xff709d,_0x41c6ed=_0x226292,_0x45d370=_0x2f00cf,_0x1a03e9=_0x49f3a6;}var _0xff709d=(_0x4d1428[_0x2ded3c>>>0x18]<<0x18|_0x4d1428[_0x41c6ed>>>0x10&0xff]<<0x10|_0x4d1428[_0x45d370>>>0x8&0xff]<<0x8|_0x4d1428[_0x1a03e9&0xff])^_0x9a313a[_0x3ccaf5++],_0x226292=(_0x4d1428[_0x41c6ed>>>0x18]<<0x18|_0x4d1428[_0x45d370>>>0x10&0xff]<<0x10|_0x4d1428[_0x1a03e9>>>0x8&0xff]<<0x8|_0x4d1428[_0x2ded3c&0xff])^_0x9a313a[_0x3ccaf5++],_0x2f00cf=(_0x4d1428[_0x45d370>>>0x18]<<0x18|_0x4d1428[_0x1a03e9>>>0x10&0xff]<<0x10|_0x4d1428[_0x2ded3c>>>0x8&0xff]<<0x8|_0x4d1428[_0x41c6ed&0xff])^_0x9a313a[_0x3ccaf5++],_0x49f3a6=(_0x4d1428[_0x1a03e9>>>0x18]<<0x18|_0x4d1428[_0x2ded3c>>>0x10&0xff]<<0x10|_0x4d1428[_0x41c6ed>>>0x8&0xff]<<0x8|_0x4d1428[_0x45d370&0xff])^_0x9a313a[_0x3ccaf5++];_0x105b17[_0x5cd29b]=_0xff709d,_0x105b17[_0x5cd29b+0x1]=_0x226292,_0x105b17[_0x5cd29b+0x2]=_0x2f00cf,_0x105b17[_0x5cd29b+0x3]=_0x49f3a6;},'keySize':0x100/0x20});_0x4a9a31[_0x3ddb2c(0x416)]=_0x5914d2[_0x3ddb2c(0x25d)](_0x5f06a0);}()),_0x16b860[_0x419a85(0x416)];}));}(We)),We['exports'];}var tr=er();const ir=ke(tr);var nr=Ai();const ci=ke(nr);var Ze={'exports':{}},sr=Ze[_0x2a3857(0x414)],hi;function rr(){return hi||(hi=0x1,function(_0x5e7991,_0x4f5aea){(function(_0x517e15,_0x10dd43){var _0x53170a=_0x5b8f;_0x5e7991[_0x53170a(0x414)]=_0x10dd43(ne());}(sr,function(_0x1c067b){var _0x567165=_0x5b8f;return _0x1c067b[_0x567165(0x3b6)]['Utf8'];}));}(Ze)),Ze['exports'];}var or=rr();const ar=ke(or);var Qe={'exports':{}},cr=Qe['exports'],_i;function hr(){var _0x3d04f6=_0x2a3857;return _i||(_i=0x1,function(_0x48067a,_0x14348e){(function(_0x2cbee4,_0x5c14db){var _0x5e956c=_0x5b8f;_0x48067a[_0x5e956c(0x414)]=_0x5c14db(ne());}(cr,function(_0x8df2e8){var _0x4520fc=_0x5b8f;return(function(){var _0x50942c=_0x5b8f;if(typeof ArrayBuffer==_0x50942c(0x302)){var _0x1089bb=_0x8df2e8,_0x2d9404=_0x1089bb['lib'],_0x735b23=_0x2d9404['WordArray'],_0x56a2ad=_0x735b23[_0x50942c(0x1de)],_0x2357e8=_0x735b23['init']=function(_0x4f4d62){var _0xa4ab8a=_0x50942c;if(_0x4f4d62 instanceof ArrayBuffer&&(_0x4f4d62=new Uint8Array(_0x4f4d62)),(_0x4f4d62 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4f4d62 instanceof Uint8ClampedArray||_0x4f4d62 instanceof Int16Array||_0x4f4d62 instanceof Uint16Array||_0x4f4d62 instanceof Int32Array||_0x4f4d62 instanceof Uint32Array||_0x4f4d62 instanceof Float32Array||_0x4f4d62 instanceof Float64Array)&&(_0x4f4d62=new Uint8Array(_0x4f4d62['buffer'],_0x4f4d62[_0xa4ab8a(0x397)],_0x4f4d62[_0xa4ab8a(0x347)])),_0x4f4d62 instanceof Uint8Array){for(var _0x487bb3=_0x4f4d62[_0xa4ab8a(0x347)],_0x1f1075=[],_0x3a5b61=0x0;_0x3a5b61<_0x487bb3;_0x3a5b61++)_0x1f1075[_0x3a5b61>>>0x2]|=_0x4f4d62[_0x3a5b61]<<0x18-_0x3a5b61%0x4*0x8;_0x56a2ad[_0xa4ab8a(0x15a)](this,_0x1f1075,_0x487bb3);}else _0x56a2ad[_0xa4ab8a(0x2d3)](this,arguments);};_0x2357e8[_0x50942c(0x22e)]=_0x735b23;}}()),_0x8df2e8[_0x4520fc(0x1bd)]['WordArray'];}));}(Qe)),Qe[_0x3d04f6(0x414)];}var _r=hr();const lr=ke(_r);var et={'exports':{}},ur=et['exports'],li;function dr(){var _0x4e8901=_0x2a3857;return li||(li=0x1,function(_0x3f9aff,_0x38d2d7){(function(_0x4d2051,_0x326ad2,_0x11f8b0){var _0x34cd06=_0x5b8f;_0x3f9aff[_0x34cd06(0x414)]=_0x326ad2(ne(),Li());}(ur,function(_0x32937d){var _0x7ccb7a=_0x5b8f;return _0x32937d['pad'][_0x7ccb7a(0x2d9)]={'pad':function(){},'unpad':function(){}},_0x32937d[_0x7ccb7a(0x1a9)][_0x7ccb7a(0x2d9)];}));}(et)),et[_0x4e8901(0x414)];}var fr=dr();const vr=ke(fr);function pr(_0x1490c3,_0x3aaed4){var _0x306658=_0x2a3857;const _0x7d5c1a=_0x3aaed4-_0x1490c3['length']%_0x3aaed4,_0x27ff19=String[_0x306658(0x3fb)](_0x7d5c1a)[_0x306658(0x2c0)](_0x7d5c1a);return _0x1490c3+_0x27ff19;}function mr(_0x48e4c3,_0x5cf781){var _0x326ccd=_0x2a3857;const _0x3d5170=lr[_0x326ccd(0x14c)](0x10),_0x491643=pr(_0x48e4c3,0x10),_0x52c9c4=ir[_0x326ccd(0x298)](ar[_0x326ccd(0x389)](_0x491643),ci['parse'](_0x5cf781),{'iv':_0x3d5170,'padding':vr});return _0x3d5170['concat'](_0x52c9c4[_0x326ccd(0x373)])[_0x326ccd(0x28c)](ci);}function gr(){var _0x553a9d=_0x2a3857;const _0x177279=_0x57f2ea()['__Key__'];if(_0x177279){const _0x4584e4={'time':Math[_0x553a9d(0x23a)](Date[_0x553a9d(0x314)]()/0x3e8),'domain':location[_0x553a9d(0x1f3)]};return mr(JSON[_0x553a9d(0x178)](_0x4584e4),_0x177279);}}var Sr=Object[_0x2a3857(0x239)],Er=Object[_0x2a3857(0x1e9)],Ir=(_0x232228,_0x487382,_0x1d87ff,_0x1b0d7c)=>{for(var _0x26489b=_0x1b0d7c>0x1?void 0x0:_0x1b0d7c?Er(_0x487382,_0x1d87ff):_0x487382,_0x9fbb62=_0x232228['length']-0x1,_0x5ab610;_0x9fbb62>=0x0;_0x9fbb62--)(_0x5ab610=_0x232228[_0x9fbb62])&&(_0x26489b=(_0x1b0d7c?_0x5ab610(_0x487382,_0x1d87ff,_0x26489b):_0x5ab610(_0x26489b))||_0x26489b);return _0x1b0d7c&&_0x26489b&&Sr(_0x487382,_0x1d87ff,_0x26489b),_0x26489b;},Tr=(_0x75dc29,_0x28bb15)=>(_0x207e3c,_0x3781ff)=>_0x28bb15(_0x207e3c,_0x3781ff,_0x75dc29);let at=class{constructor(_0x40743f){var _0x37b551=_0x2a3857;this[_0x37b551(0x330)]=_0x40743f,this[_0x37b551(0x406)]();}[_0x2a3857(0x406)](){var _0x3dffb5=_0x2a3857;this['_httpService'][_0x3dffb5(0x128)]({'interceptor':(_0x64df01,_0x3804fb)=>{var _0x21676e=_0x3dffb5;const _0x2c99f0=_0x64df01['headers'],_0x98c1f3=gr();return _0x98c1f3&&_0x2c99f0['set'](_0x21676e(0x33d),_0x98c1f3),_0x3804fb(_0x64df01);}});}};at=Ir([Tr(0x0,_0x21b3b2(_0x4fa095))],at);var Cr=Object[_0x2a3857(0x239)],br=Object[_0x2a3857(0x1e9)],Rr=(_0x5239d3,_0xc2cf9a,_0x42758d,_0x54d801)=>{for(var _0x561da0=_0x54d801>0x1?void 0x0:_0x54d801?br(_0xc2cf9a,_0x42758d):_0xc2cf9a,_0x552394=_0x5239d3['length']-0x1,_0x45833d;_0x552394>=0x0;_0x552394--)(_0x45833d=_0x5239d3[_0x552394])&&(_0x561da0=(_0x54d801?_0x45833d(_0xc2cf9a,_0x42758d,_0x561da0):_0x45833d(_0x561da0))||_0x561da0);return _0x54d801&&_0x561da0&&Cr(_0xc2cf9a,_0x42758d,_0x561da0),_0x561da0;},gt=(_0x196c22,_0x5c0d45)=>(_0x4486f0,_0x35e3ab)=>_0x5c0d45(_0x4486f0,_0x35e3ab,_0x196c22);let Ot=class extends _0x3f0249{constructor(_0xab2c9e,_0x2821db,_0x133706){var _0x15e5c9=_0x2a3857;super(),P(this,'_unitInfo$',new _0x500ff8(null)),P(this,_0x15e5c9(0x169),this['_unitInfo$'][_0x15e5c9(0x2e0)]()),(this[_0x15e5c9(0x335)]=_0xab2c9e,this[_0x15e5c9(0x177)]=_0x2821db,this[_0x15e5c9(0x15c)]=_0x133706);}async[_0x2a3857(0x256)](_0x29eae3,_0xf65499,_0xbc3af2){var _0x5c64b8=_0x2a3857;this[_0x5c64b8(0x388)]['next']({'unitId':_0x29eae3,'type':_0xf65499,'subUnitId':_0xbc3af2});let _0x5af00a=null;switch(_0xf65499){case Q[_0x5c64b8(0x292)]:{_0x5af00a=await this[_0x5c64b8(0x19b)](_0x29eae3);break;}case Q[_0x5c64b8(0x1d6)]:{_0x5af00a=await this[_0x5c64b8(0x1e1)](_0x29eae3);break;}default:{this[_0x5c64b8(0x335)]['error']('[DataLoaderService]',_0x5c64b8(0x27a));break;}}return _0x5af00a;}async[_0x2a3857(0x19b)](_0x467e5c){var _0x44f7c6=_0x2a3857,_0x299cff;let _0x53aaba=0x0;const _0xce3d7f=await((_0x299cff=this[_0x44f7c6(0x15c)])==null?void 0x0:_0x299cff[_0x44f7c6(0x3ac)](_0x467e5c));return _0xce3d7f&&(_0xce3d7f[_0x44f7c6(0x398)]||_0xce3d7f['mutations'][_0x44f7c6(0x32e)]!==0x0)&&(_0x53aaba=_0xce3d7f[_0x44f7c6(0x3d6)]),_0x53aaba===0x0&&this['_logService']['debug'](_0x44f7c6(0x408),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x44f7c6(0x15e)](_0x467e5c,_0x53aaba);}async[_0x2a3857(0x1e1)](_0x3ef96a){var _0x3b8e1a=_0x2a3857,_0x3698f1;let _0x5567e1=0x0;const _0x3daca7=await((_0x3698f1=this[_0x3b8e1a(0x15c)])==null?void 0x0:_0x3698f1[_0x3b8e1a(0x3ac)](_0x3ef96a));return _0x3daca7&&(_0x3daca7[_0x3b8e1a(0x398)]||_0x3daca7['mutations'][_0x3b8e1a(0x32e)]!==0x0)&&(_0x5567e1=_0x3daca7[_0x3b8e1a(0x3d6)]),_0x5567e1===0x0&&this[_0x3b8e1a(0x335)]['debug'](_0x3b8e1a(0x408),_0x3b8e1a(0x2ad)),this['_snapshotService']['loadDoc'](_0x3ef96a,_0x5567e1);}};Ot=Rr([gt(0x0,_0x4e1c8f),gt(0x1,_0x21b3b2(_0x2546f0)),gt(0x2,_0x10c77b(X))],Ot);var yr=Object[_0x2a3857(0x239)],Or=Object[_0x2a3857(0x1e9)],Nr=(_0x4df4c8,_0x29d5d9,_0x300482,_0x3b50a3)=>{for(var _0x51245c=_0x3b50a3>0x1?void 0x0:_0x3b50a3?Or(_0x29d5d9,_0x300482):_0x29d5d9,_0x19c606=_0x4df4c8['length']-0x1,_0x1d50ab;_0x19c606>=0x0;_0x19c606--)(_0x1d50ab=_0x4df4c8[_0x19c606])&&(_0x51245c=(_0x3b50a3?_0x1d50ab(_0x29d5d9,_0x300482,_0x51245c):_0x1d50ab(_0x51245c))||_0x51245c);return _0x3b50a3&&_0x51245c&&yr(_0x29d5d9,_0x300482,_0x51245c),_0x51245c;},St=(_0x25ec0c,_0x5c74e7)=>(_0x60045a,_0x55f7ae)=>_0x5c74e7(_0x60045a,_0x55f7ae,_0x25ec0c);const Pr=[_0x2a3857(0x417),_0x2a3857(0x300),'image/jpg','image/gif',_0x2a3857(0x1ac)],Dr=0x5*0x400*0x400,wr=_0x2a3857(0x2b6),Ur=_0x2a3857(0x24f),Ar=_0x2a3857(0x3b2),xr=_0x2a3857(0x11a);let Nt=class{constructor(_0x228fd9,_0x1f17b3,_0x5af3f1){var _0x23093a=_0x2a3857;P(this,_0x23093a(0x266),0x0),P(this,_0x23093a(0x31c),new _0x282fa7()),P(this,_0x23093a(0x3a3),this[_0x23093a(0x31c)]),P(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x228fd9,this['_configService']=_0x1f17b3,this[_0x23093a(0x3cd)]=_0x5af3f1);}[_0x2a3857(0x3bd)](_0x4e474c){var _0x2dc960=_0x2a3857;this['_waitCount']=_0x4e474c,this[_0x2dc960(0x31c)][_0x2dc960(0x386)](_0x4e474c);}[_0x2a3857(0x1c9)](_0x280a08,_0xcc691d){var _0x263b37=_0x2a3857;if(_0xcc691d===_0x1588b5[_0x263b37(0x33c)]){const _0x389af3=new Image();return _0x389af3['src']=_0x280a08,_0x389af3;}return this[_0x263b37(0x2e1)]['get'](_0x280a08);}['addImageSourceCache'](_0x5a1040,_0x1f0f81,_0x4b6217){var _0x925121=_0x2a3857;_0x1f0f81===_0x1588b5[_0x925121(0x33c)]||_0x4b6217==null||this[_0x925121(0x2e1)]['set'](_0x5a1040,_0x4b6217);}async[_0x2a3857(0x240)](_0xeaa97d){var _0x21865d=_0x2a3857;try{const _0xd392bf=this['_replaceFileID'](this['_getSignURL'](),''+_0xeaa97d),_0x5dfd26=(await this[_0x21865d(0x330)][_0x21865d(0x21d)](_0xd392bf))['body'];if(_0x5dfd26['error']&&_0x5dfd26[_0x21865d(0x119)][_0x21865d(0x39d)]===Ci['OK']){const _0x44fc83=new URL(_0x5dfd26[_0x21865d(0x120)],this[_0x21865d(0x2c6)]())['toString']();return Promise[_0x21865d(0x36e)](_0x44fc83);}return Promise[_0x21865d(0x21a)](_0x5dfd26[_0x21865d(0x119)]);}catch(_0x48eeda){return Promise[_0x21865d(0x21a)](_0x48eeda);}}async[_0x2a3857(0x1f1)](_0x216b4b){var _0x196c4c=_0x2a3857;let _0x1e5158='';if(!Pr[_0x196c4c(0x3ab)](_0x216b4b[_0x196c4c(0x1ce)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xf0a3d5[_0x196c4c(0x3cb)]));if(_0x216b4b[_0x196c4c(0x280)]>Dr)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xf0a3d5['ERROR_EXCEED_SIZE']));try{const _0x4b15d3=new FormData();_0x4b15d3['append'](_0x196c4c(0x2be),_0x216b4b);const _0x137053=this[_0x196c4c(0x3cd)]['getFocusedUnit'](),_0x18a701=_0x137053==null?void 0x0:_0x137053[_0x196c4c(0x3b4)]();if(!_0x18a701)throw new Error(_0x196c4c(0x161));const _0x44b407=this[_0x196c4c(0x148)]()+_0x196c4c(0x371)+_0x216b4b[_0x196c4c(0x280)][_0x196c4c(0x28c)]()+_0x196c4c(0x1df)+bi[_0x196c4c(0x215)]+_0x196c4c(0x138)+encodeURIComponent(_0x18a701),_0x5803ac=await(await fetch(_0x44b407,{'method':_0x196c4c(0x2c2),'body':_0x4b15d3}))['json']();if(typeof _0x5803ac[_0x196c4c(0x18d)]!=_0x196c4c(0x29a))return this[_0x196c4c(0x29f)](),Promise[_0x196c4c(0x21a)](new Error(_0xf0a3d5[_0x196c4c(0x29d)]));_0x1e5158=_0x5803ac[_0x196c4c(0x18d)];}catch{return this['_decreaseWaiting'](),Promise[_0x196c4c(0x21a)](new Error(_0xf0a3d5[_0x196c4c(0x29d)]));}return new Promise((_0x251f91,_0x4041a9)=>{var _0x2379d4=_0x196c4c;const _0x4cff3f=new FileReader();_0x4cff3f[_0x2379d4(0x3e2)](_0x216b4b),_0x4cff3f[_0x2379d4(0x232)]=_0x135255=>{var _0x17b951=_0x2379d4,_0x4d2e69;const _0x3b0c80=(_0x4d2e69=_0x135255[_0x17b951(0x269)])==null?void 0x0:_0x4d2e69[_0x17b951(0x40c)];if(_0x3b0c80==null){this[_0x17b951(0x29f)](),_0x4041a9(new Error(_0xf0a3d5[_0x17b951(0x29d)]));return;}const _0x165f10=_0x57b57d[_0x17b951(0x1a6)](0x6);_0x251f91({'imageId':_0x165f10,'imageSourceType':_0x1588b5[_0x17b951(0x3fa)],'source':_0x1e5158,'base64Cache':_0x3b0c80,'status':_0xf0a3d5[_0x17b951(0x3f8)]}),this[_0x17b951(0x29f)]();};});}['_getUploadFileURL'](){var _0x3e90ab=_0x2a3857,_0xc55dae,_0x1d5433;const _0x444eaa=this[_0x3e90ab(0x205)][_0x3e90ab(0x122)](wr),_0x28cdab=this['_configService']['getConfig'](Y);return(_0x1d5433=(_0xc55dae=_0x28cdab==null?void 0x0:_0x28cdab[_0x3e90ab(0x387)])!=null?_0xc55dae:_0x444eaa)!=null?_0x1d5433:Ur;}[_0x2a3857(0x2e4)](){var _0x319d86=_0x2a3857,_0x5397d7,_0x352921;const _0x44d8eb=this[_0x319d86(0x205)][_0x319d86(0x122)](Ar),_0x3e97ae=this[_0x319d86(0x205)][_0x319d86(0x122)](Y);return(_0x352921=(_0x5397d7=_0x3e97ae==null?void 0x0:_0x3e97ae['signUrlServerUrl'])!=null?_0x5397d7:_0x44d8eb)!=null?_0x352921:xr;}[_0x2a3857(0x2c6)](){var _0x47ec10=_0x2a3857,_0x4b5eda;const _0x2e542d=this[_0x47ec10(0x205)][_0x47ec10(0x122)](Y);return(_0x4b5eda=_0x2e542d==null?void 0x0:_0x2e542d[_0x47ec10(0x3d8)])!=null?_0x4b5eda:location[_0x47ec10(0x21b)];}[_0x2a3857(0x1ef)](_0x5ea76f,_0x304068){var _0x28deb1=_0x2a3857;return _0x5ea76f[_0x28deb1(0x156)](_0x28deb1(0x2d4),_0x304068);}['_decreaseWaiting'](){var _0xea919e=_0x2a3857;this[_0xea919e(0x266)]-=0x1,this[_0xea919e(0x31c)][_0xea919e(0x386)](this[_0xea919e(0x266)]);}};function _0x5b8f(_0x353fda,_0x5ab292){var _0x4544b4=_0x4544();return _0x5b8f=function(_0x5b8f35,_0x40e268){_0x5b8f35=_0x5b8f35-0x115;var _0x3d384d=_0x4544b4[_0x5b8f35];return _0x3d384d;},_0x5b8f(_0x353fda,_0x5ab292);}Nt=Nr([St(0x0,_0x21b3b2(_0x4fa095)),St(0x1,_0x24bebb),St(0x2,_0x21b3b2(_0x40e127))],Nt);var Lr=Object[_0x2a3857(0x239)],Mr=Object['getOwnPropertyDescriptor'],$r=(_0x3f8d98,_0x4cb360,_0x8d4fd8,_0x174dca)=>{var _0x479a77=_0x2a3857;for(var _0x456c34=_0x174dca>0x1?void 0x0:_0x174dca?Mr(_0x4cb360,_0x8d4fd8):_0x4cb360,_0x568883=_0x3f8d98[_0x479a77(0x32e)]-0x1,_0x42a417;_0x568883>=0x0;_0x568883--)(_0x42a417=_0x3f8d98[_0x568883])&&(_0x456c34=(_0x174dca?_0x42a417(_0x4cb360,_0x8d4fd8,_0x456c34):_0x42a417(_0x456c34))||_0x456c34);return _0x174dca&&_0x456c34&&Lr(_0x4cb360,_0x8d4fd8,_0x456c34),_0x456c34;},ui=(_0x1e32f1,_0x480871)=>(_0x439b46,_0x284396)=>_0x480871(_0x439b46,_0x284396,_0x1e32f1);const Hr='/universer-api/authz';let Pt=class{constructor(_0x31beea,_0x4b6152){var _0x27cf7b=_0x2a3857;this[_0x27cf7b(0x205)]=_0x31beea,this[_0x27cf7b(0x1ab)]=_0x4b6152;}[_0x2a3857(0x1b2)](){var _0x25689c=_0x2a3857,_0x5df409,_0x4c39ba;const _0x467fdf=this['_configService']['getConfig'](Ui),_0x394c6c=this[_0x25689c(0x205)][_0x25689c(0x122)](Y);return(_0x4c39ba=(_0x5df409=_0x394c6c==null?void 0x0:_0x394c6c[_0x25689c(0x334)])!=null?_0x5df409:_0x467fdf)!=null?_0x4c39ba:Hr;}async[_0x2a3857(0x2b2)](_0xaed120){var _0x94ea48=_0x2a3857;const _0x4b0d69=this[_0x94ea48(0x1b2)]()+'/collaborator';return{'list':[{'title':_0x94ea48(0x36d),'mentions':(await this['_HTTPService'][_0x94ea48(0x21d)](_0x4b0d69,{'params':{'objectID':_0xaed120['unitId'],'unitID':_0xaed120[_0x94ea48(0x2b7)]}}))['body'][_0x94ea48(0x3a8)]['map'](_0x121275=>({'objectId':_0x121275['id'],'name':_0x121275['subject'][_0x94ea48(0x27d)],'metadata':{'icon':_0x121275[_0x94ea48(0x16e)]['avatar']},'label':_0x121275[_0x94ea48(0x16e)]['name'],'objectType':_0x4eb276[_0x94ea48(0x260)]})),'metadata':{},'type':_0x4eb276[_0x94ea48(0x260)]}]};}};Pt=$r([ui(0x0,_0x21b3b2(_0x24bebb)),ui(0x1,_0x21b3b2(_0x4fa095))],Pt);var kr=Object[_0x2a3857(0x239)],jr=Object[_0x2a3857(0x1e9)],Br=(_0x34babb,_0x5a17e1,_0x25ccd7,_0x3a673e)=>{var _0x35e0f0=_0x2a3857;for(var _0x20e32c=_0x3a673e>0x1?void 0x0:_0x3a673e?jr(_0x5a17e1,_0x25ccd7):_0x5a17e1,_0x770c3d=_0x34babb[_0x35e0f0(0x32e)]-0x1,_0x489b33;_0x770c3d>=0x0;_0x770c3d--)(_0x489b33=_0x34babb[_0x770c3d])&&(_0x20e32c=(_0x3a673e?_0x489b33(_0x5a17e1,_0x25ccd7,_0x20e32c):_0x489b33(_0x20e32c))||_0x20e32c);return _0x3a673e&&_0x20e32c&&kr(_0x5a17e1,_0x25ccd7,_0x20e32c),_0x20e32c;},Se=(_0x1ab87a,_0x14a70c)=>(_0x1aefe9,_0x18c4af)=>_0x14a70c(_0x1aefe9,_0x18c4af,_0x1ab87a);let ct=class extends _0x3f0249{constructor(_0x5b18f4,_0x46b9ea,_0x4f59b2,_0x377bdc,_0x4d5e49,_0x4e6690,_0x2e6da5){var _0x285310=_0x2a3857;super(),this['_injector']=_0x5b18f4,this[_0x285310(0x3cd)]=_0x46b9ea,this['_permissionService']=_0x4f59b2,this['_collaborationSessionService']=_0x377bdc,this[_0x285310(0x30d)]=_0x4d5e49,this['_authzIoService']=_0x4e6690,this[_0x285310(0x36f)]=_0x2e6da5,this[_0x285310(0x3e5)](),this[_0x285310(0x39a)]();}[_0x2a3857(0x39a)](){var _0x1294ee=_0x2a3857;const _0x49ef52=async _0x55013b=>{var _0x1fbbf9=_0x5b8f;(await this[_0x1fbbf9(0x202)][_0x1fbbf9(0x411)](_0x55013b))[_0x1fbbf9(0x2a9)][_0x1fbbf9(0x369)](_0x5bfb9e(_0x525e20=>_0x525e20['eventID']===_0x562849['SHOULD_CLOSE_CONN']),_0x3ba3cf(this[_0x1fbbf9(0x3bb)]))[_0x1fbbf9(0x2cb)](_0x414334=>{var _0x8fadee=_0x1fbbf9;const _0x568997=_0x414334,{reason:_0x429f6d}=_0x568997[_0x8fadee(0x13b)];this[_0x8fadee(0x30d)][_0x8fadee(0x3db)]({'id':re[_0x8fadee(0x165)],'data':_0x429f6d}),this[_0x8fadee(0x11e)][_0x8fadee(0x20e)](new _0x39ae2d(_0x55013b)['id'],!0x1),this[_0x8fadee(0x202)][_0x8fadee(0x2b8)](_0x55013b);});};_0xc9cdeb(this[_0x1294ee(0x3cd)]['getTypeOfUnitAdded$'](_0x465e07[_0x1294ee(0x292)]),this['_univerInstanceService'][_0x1294ee(0x1b3)](_0x465e07[_0x1294ee(0x1d6)]))[_0x1294ee(0x369)](_0x4bf464(_0x35101=>_0x35101['getUnitId']()),_0x5bfb9e(_0x3b30d3=>!_0xc08f6c(_0x3b30d3)),_0x3ba3cf(this[_0x1294ee(0x3bb)]))[_0x1294ee(0x2cb)](_0x31d968=>{_0x49ef52(_0x31d968);});}['_initUnitPermissionChange'](){var _0x297218=_0x2a3857;const _0x536dd7=async _0x20e62e=>{var _0x2e3b53=_0x5b8f;(await this[_0x2e3b53(0x202)][_0x2e3b53(0x411)](_0x20e62e))[_0x2e3b53(0x2a9)][_0x2e3b53(0x369)](_0x5bfb9e(_0x51cedb=>_0x51cedb[_0x2e3b53(0x383)]===_0x562849[_0x2e3b53(0x183)]),_0x3ba3cf(this['dispose$']))[_0x2e3b53(0x2cb)](_0x3ccf77=>{var _0x244c64=_0x2e3b53;const _0x54255d=_0x3ccf77,{objectId:_0x4ba829}=_0x54255d[_0x244c64(0x13b)];_0x4ba829===_0x20e62e?this[_0x244c64(0x134)](_0x20e62e):this[_0x244c64(0x3ec)](_0x20e62e,_0x4ba829);});};_0xc9cdeb(this[_0x297218(0x3cd)][_0x297218(0x1b3)](_0x465e07[_0x297218(0x292)]),this[_0x297218(0x3cd)]['getTypeOfUnitAdded$'](_0x465e07[_0x297218(0x1d6)]))['pipe'](_0x4bf464(_0x4deb2f=>_0x4deb2f[_0x297218(0x3b4)]()),_0x5bfb9e(_0x37e8cf=>!_0xc08f6c(_0x37e8cf)),_0x3ba3cf(this[_0x297218(0x3bb)]))[_0x297218(0x2cb)](_0x24b775=>{_0x536dd7(_0x24b775);});}async[_0x2a3857(0x134)](_0x34d876){var _0x37b23=_0x2a3857,_0x3843b8;const _0x3b9ac7=_0x34d876||((_0x3843b8=this['_univerInstanceService'][_0x37b23(0x3b3)](_0x465e07[_0x37b23(0x292)]))==null?void 0x0:_0x3843b8['getUnitId']());_0x3b9ac7&&this[_0x37b23(0x2a7)][_0x37b23(0x326)]({'objectID':_0x3b9ac7,'objectType':_0x4172eb['Workbook'],'unitID':_0x3b9ac7,'actions':_0x5b7918})[_0x37b23(0x192)](_0x1633df=>{var _0x47b241=_0x37b23;_0x3e17f7()[_0x47b241(0x168)](_0x3babda=>{var _0xe009c1=_0x47b241;const _0x9f4cc4=new _0x3babda(_0x3b9ac7),_0x1639e4=_0x9f4cc4['subType'],_0x45e11f=_0x1633df[_0xe009c1(0x189)](_0x603048=>_0x603048[_0xe009c1(0x3ad)]===_0x1639e4);_0x45e11f&&this['_permissionService'][_0xe009c1(0x20e)](_0x9f4cc4['id'],_0x45e11f[_0xe009c1(0x326)]);});});}[_0x2a3857(0x3ec)](_0x54af81,_0xfc5ea1){var _0x12b031=_0x2a3857;const _0x3a7e89=this[_0x12b031(0x158)][_0x12b031(0x21d)](_0xc125ce),_0x5b40c6=_0x3a7e89[_0x12b031(0x394)](_0x54af81,_0xfc5ea1);let _0x39d907=!0x1;if(_0x5b40c6){const [_0x318d33,_0x309c2f]=_0x5b40c6;this[_0x12b031(0x2a7)]['allowed']({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb[_0x12b031(0x1ec)],'actions':_0xef18b8})[_0x12b031(0x192)](_0x48dc9b=>{var _0x2f8453=_0x12b031;let _0x2908a6='';_0x1553e5()['forEach'](_0x335b1c=>{var _0x4a2c6a=_0x5b8f,_0x128845;const _0x5603fb=new _0x335b1c(_0x54af81,_0x309c2f),_0x1f9cb5=_0x5603fb[_0x4a2c6a(0x3ef)],_0x1cf5f1=_0x48dc9b['find'](_0x44ceef=>_0x44ceef['action']===_0x1f9cb5);_0x1cf5f1&&(((_0x128845=this[_0x4a2c6a(0x11e)][_0x4a2c6a(0x187)](_0x5603fb['id']))==null?void 0x0:_0x128845['value'])!==_0x1cf5f1[_0x4a2c6a(0x326)]&&(_0x39d907=!0x0),this[_0x4a2c6a(0x11e)][_0x4a2c6a(0x20e)](_0x5603fb['id'],_0x1cf5f1[_0x4a2c6a(0x326)]),_0x2908a6+=_0x1cf5f1[_0x4a2c6a(0x3ad)]+'_'+_0x1cf5f1[_0x4a2c6a(0x326)]);}),_0x3a7e89[_0x2f8453(0x15f)](_0xfc5ea1+'_'+_0x2908a6),_0x39d907&&this[_0x2f8453(0x36f)][_0x2f8453(0x364)](_0x54af81);});}const _0x4d0dcc=this['_injector'][_0x12b031(0x21d)](_0x12954f)['getTargetByPermissionId'](_0x54af81,_0xfc5ea1);if(_0x4d0dcc){const [_0x31e2a5,_0x51d420]=_0x4d0dcc;this[_0x12b031(0x2a7)][_0x12b031(0x326)]({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb['Worksheet'],'actions':_0x3a77ca})[_0x12b031(0x192)](_0x2b0932=>{var _0x1d6375=_0x12b031;_0x7e5269()[_0x1d6375(0x168)](_0x1edfad=>{var _0x4d88c0=_0x1d6375,_0x3315d8;const _0x409936=new _0x1edfad(_0x54af81,_0x51d420),_0x1789cc=_0x409936[_0x4d88c0(0x3ef)],_0xedd98f=_0x2b0932[_0x4d88c0(0x189)](_0x367475=>_0x367475[_0x4d88c0(0x3ad)]===_0x1789cc);_0xedd98f&&(((_0x3315d8=this[_0x4d88c0(0x11e)][_0x4d88c0(0x187)](_0x409936['id']))==null?void 0x0:_0x3315d8['value'])!==_0xedd98f['allowed']&&(_0x39d907=!0x0),this[_0x4d88c0(0x11e)][_0x4d88c0(0x20e)](_0x409936['id'],_0xedd98f['allowed']));}),_0x39d907&&this[_0x1d6375(0x36f)][_0x1d6375(0x364)](_0x54af81);});}const _0x1daf80=this[_0x12b031(0x158)][_0x12b031(0x21d)](_0x5b5e96),_0x28add2=_0x1daf80[_0x12b031(0x394)](_0x54af81,_0xfc5ea1);if(_0x28add2){const [_0x2b017e,_0x3b7687]=_0x28add2;this[_0x12b031(0x2a7)]['allowed']({'objectID':_0xfc5ea1,'unitID':_0x54af81,'objectType':_0x4172eb[_0x12b031(0x37e)],'actions':_0xef18b8})['then'](_0x3cc1f7=>{var _0x27246c=_0x12b031;let _0x14915b='';_0x13122b()[_0x27246c(0x168)](_0x4bd29a=>{var _0x299cc3=_0x27246c,_0x350f72;const _0x5ec6c6=new _0x4bd29a(_0x54af81,_0x3b7687,_0xfc5ea1),_0x3f5a68=_0x5ec6c6['subType'],_0x236873=_0x3cc1f7['find'](_0x25acd8=>_0x25acd8[_0x299cc3(0x3ad)]===_0x3f5a68);_0x236873&&(((_0x350f72=this[_0x299cc3(0x11e)][_0x299cc3(0x187)](_0x5ec6c6['id']))==null?void 0x0:_0x350f72[_0x299cc3(0x1fc)])!==_0x236873[_0x299cc3(0x326)]&&(_0x39d907=!0x0),this[_0x299cc3(0x11e)]['updatePermissionPoint'](_0x5ec6c6['id'],_0x236873[_0x299cc3(0x326)]),_0x14915b+=_0x236873['action']+'_'+_0x236873[_0x299cc3(0x326)]);}),_0x1daf80[_0x27246c(0x15f)](_0xfc5ea1+'_'+_0x14915b),_0x39d907&&this[_0x27246c(0x36f)][_0x27246c(0x364)](_0x54af81);});}}};ct=Br([Se(0x0,_0x21b3b2(_0x548366)),Se(0x1,_0x40e127),Se(0x2,_0x1c05e3),Se(0x3,_0x21b3b2(Le)),Se(0x4,_0x21b3b2(pe)),Se(0x5,_0x1ee820),Se(0x6,_0x34b8e6)],ct);var Fr=Object[_0x2a3857(0x239)],Vr=Object['getOwnPropertyDescriptor'],Wr=(_0x95de1e,_0x1a6343,_0x37533f,_0x3ee6ef)=>{for(var _0x44ca51=_0x3ee6ef>0x1?void 0x0:_0x3ee6ef?Vr(_0x1a6343,_0x37533f):_0x1a6343,_0x1df47c=_0x95de1e['length']-0x1,_0x39fae4;_0x1df47c>=0x0;_0x1df47c--)(_0x39fae4=_0x95de1e[_0x1df47c])&&(_0x44ca51=(_0x3ee6ef?_0x39fae4(_0x1a6343,_0x37533f,_0x44ca51):_0x39fae4(_0x44ca51))||_0x44ca51);return _0x3ee6ef&&_0x44ca51&&Fr(_0x1a6343,_0x37533f,_0x44ca51),_0x44ca51;},di=(_0x481421,_0x415b0b)=>(_0x2068e8,_0x244b67)=>_0x415b0b(_0x2068e8,_0x244b67,_0x481421);let Dt=class{constructor(_0x733a5,_0x4e1bae){var _0x1bd80a=_0x2a3857;this[_0x1bd80a(0x205)]=_0x733a5,this[_0x1bd80a(0x330)]=_0x4e1bae;}async['getUnitOnRev'](_0x4d7eb4,_0x1d1168){var _0x28ff8c=_0x2a3857,_0x391acd;const {unitID:_0x194344,type:_0x17a0d2,revision:_0x4b4c6c=0x0}=_0x1d1168,_0x1d8a0f=this[_0x28ff8c(0x339)]()+'/'+_0x17a0d2+_0x28ff8c(0x3e1)+_0x194344+_0x28ff8c(0x139)+_0x4b4c6c,_0x4313cc=(await this[_0x28ff8c(0x330)]['get'](_0x1d8a0f))['body'],_0x933c5a=(_0x391acd=_0x4313cc['snapshot'])==null?void 0x0:_0x391acd['workbook'];if(_0x933c5a){const _0x3c6b91=_0x933c5a==null?void 0x0:_0x933c5a['originalMeta'],_0x38b8a0=_0x56aad7[_0x28ff8c(0x182)](_0x2a92b6(_0x3c6b91));_0x933c5a['originalMeta']=_0x38b8a0,Object['entries'](_0x933c5a['sheets'])[_0x28ff8c(0x168)](([,_0x2ede9a])=>{const _0x3a1c2a=_0x2ede9a['originalMeta'],_0x2a6f71=_0x56aad7['encode'](_0x2a92b6(_0x3a1c2a));_0x2ede9a['originalMeta']=_0x2a6f71;});}return _0x4313cc;}async[_0x2a3857(0x283)](_0x4cd513,_0x7a6487){var _0x597759=_0x2a3857;const {unitID:_0x544f16,type:_0x289e2a,blockID:_0x40a0e1}=_0x7a6487,_0x29463a=this[_0x597759(0x281)]()+'/'+_0x289e2a+_0x597759(0x3e1)+_0x544f16+'/block/'+_0x40a0e1;return(await this[_0x597759(0x330)][_0x597759(0x21d)](_0x29463a))[_0x597759(0x1a1)];}async[_0x2a3857(0x1da)](_0x45bdea,_0x52d285){var _0x211579=_0x2a3857;const {unitID:_0x47e77a,type:_0x15be84,blockID:_0x34db9d}=_0x52d285,_0x18d472=this['_getAPIPrefix']()+_0x211579(0x216)+_0x15be84+_0x211579(0x3e1)+_0x47e77a+'/block/'+_0x34db9d;return(await this[_0x211579(0x330)][_0x211579(0x21d)](_0x18d472))[_0x211579(0x1a1)];}async['fetchMissingChangesets'](_0x211e80,_0x3701ea){var _0x87e8a2=_0x2a3857;const {unitID:_0x2c5f,type:_0xe71718,from:_0x42cb8e,to:_0x1384a0}=_0x3701ea,_0x6783c1=this[_0x87e8a2(0x281)]()+'/'+_0xe71718+_0x87e8a2(0x3e1)+_0x2c5f+_0x87e8a2(0x1d8)+_0x42cb8e+_0x87e8a2(0x40b)+_0x1384a0;return(await this['_httpService'][_0x87e8a2(0x21d)](_0x6783c1))[_0x87e8a2(0x1a1)];}[_0x2a3857(0x339)](){var _0x101534=_0x2a3857,_0x2250a1;return(_0x2250a1=this[_0x101534(0x205)]['getConfig'](Un))!=null?_0x2250a1:this['_getAPIPrefix']();}[_0x2a3857(0x281)](){var _0x30c76b=_0x2a3857,_0x1872f6,_0x2feda0;const _0x18fb03=this[_0x30c76b(0x205)][_0x30c76b(0x122)](Dn),_0x28ab9f=this[_0x30c76b(0x205)][_0x30c76b(0x122)](Y);return(_0x2feda0=(_0x1872f6=_0x28ab9f==null?void 0x0:_0x28ab9f[_0x30c76b(0x17b)])!=null?_0x1872f6:_0x18fb03)!=null?_0x2feda0:wn;}async[_0x2a3857(0x268)](_0x35486a,_0x36f305){var _0x82fbf2=_0x2a3857;const _0x13e4b5=_0x82fbf2(0x22d)+_0x36f305[_0x82fbf2(0x1ce)]+_0x82fbf2(0x3e1)+_0x36f305[_0x82fbf2(0x12e)]+'/resources';return(await this[_0x82fbf2(0x330)][_0x82fbf2(0x21d)](_0x13e4b5,{'params':{'resourceId':JSON['stringify'](_0x36f305[_0x82fbf2(0x3d9)])}}))[_0x82fbf2(0x1a1)];}[_0x2a3857(0x26f)](){var _0x2f4745=_0x2a3857;throw new Error(_0x2f4745(0x367));}[_0x2a3857(0x2f7)](){var _0xe3637b=_0x2a3857;throw new Error(_0xe3637b(0x367));}[_0x2a3857(0x18a)](){var _0x44a826=_0x2a3857;throw new Error(_0x44a826(0x367));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2a3857(0x1a3)](){var _0x517beb=_0x2a3857;throw new Error(_0x517beb(0x367));}};Dt=Wr([di(0x0,_0x24bebb),di(0x1,_0x21b3b2(_0x4fa095))],Dt);var Gr=Object[_0x2a3857(0x239)],Kr=Object[_0x2a3857(0x1e9)],zr=(_0x1a9fdb,_0x3717e7,_0x5ba9f6,_0x82dd5e)=>{var _0x4b0b28=_0x2a3857;for(var _0x1248f2=_0x82dd5e>0x1?void 0x0:_0x82dd5e?Kr(_0x3717e7,_0x5ba9f6):_0x3717e7,_0x2c3c8a=_0x1a9fdb[_0x4b0b28(0x32e)]-0x1,_0x2fd995;_0x2c3c8a>=0x0;_0x2c3c8a--)(_0x2fd995=_0x1a9fdb[_0x2c3c8a])&&(_0x1248f2=(_0x82dd5e?_0x2fd995(_0x3717e7,_0x5ba9f6,_0x1248f2):_0x2fd995(_0x1248f2))||_0x1248f2);return _0x82dd5e&&_0x1248f2&&Gr(_0x3717e7,_0x5ba9f6,_0x1248f2),_0x1248f2;},Ae=(_0x4b250d,_0xcc9ce5)=>(_0x380eff,_0x4ce6a4)=>_0xcc9ce5(_0x380eff,_0x4ce6a4,_0x4b250d);let wt=class extends _0x2afa4d{constructor(_0x1c3647,_0x1b867e,_0x4d52b0,_0x5b9758,_0x3b565c){var _0x2b0112=_0x2a3857;super(_0x1c3647,_0x1b867e,_0x4d52b0),this['_transformService']=_0x5b9758,this[_0x2b0112(0x335)]=_0x3b565c;}[_0x2a3857(0x223)](_0x1d9c86,_0x4f545c){var _0x425334=_0x2a3857;const _0x44f82f=this['_getUndoStack'](_0x1d9c86);if(_0x44f82f)try{const _0x4126d5=this[_0x425334(0x2cd)](_0x44f82f,_0x4f545c);this[_0x425334(0x320)](_0x1d9c86,_0x4126d5);}catch(_0x2db2ed){this[_0x425334(0x335)][_0x425334(0x119)](_0x425334(0x25e),_0x2db2ed),this[_0x425334(0x20a)](_0x1d9c86);}const _0x34431d=this[_0x425334(0x11f)](_0x1d9c86);if(_0x34431d)try{const _0x54003e=this[_0x425334(0x2cd)](_0x34431d,_0x4f545c);this[_0x425334(0x29e)](_0x1d9c86,_0x54003e);}catch(_0x582143){this['_logService'][_0x425334(0x119)](_0x582143),this['_clearRedo'](_0x1d9c86);}}['_clearUndo'](_0x252824){var _0x51743e=_0x2a3857;const _0x54ffa1=this[_0x51743e(0x2d5)](_0x252824);_0x54ffa1&&(_0x54ffa1['length']=0x0,this[_0x51743e(0x28b)]());}[_0x2a3857(0x14a)](_0x4bc05a){var _0x3e40fb=_0x2a3857;const _0xf98415=this[_0x3e40fb(0x11f)](_0x4bc05a);_0xf98415&&(_0xf98415[_0x3e40fb(0x32e)]=0x0,this['_updateStatus']());}[_0x2a3857(0x320)](_0x46388b,_0x2b8649){this['_undoStacks']['set'](_0x46388b,_0x2b8649),this['_updateStatus']();}[_0x2a3857(0x29e)](_0x25d031,_0x3f5827){var _0x254fe4=_0x2a3857;this[_0x254fe4(0x1d4)]['set'](_0x25d031,_0x3f5827),this[_0x254fe4(0x28b)]();}['_transformStack'](_0xd0b6d2,_0x2b82d1){var _0x1ccea2=_0x2a3857;const _0x551ea5=[];let _0x44ab10=_0x2b82d1,_0x1c5a86=_0x2b82d1;for(let _0x4bd8bf=_0xd0b6d2[_0x1ccea2(0x32e)]-0x1;_0x4bd8bf>=0x0;_0x4bd8bf--){const {unitID:_0x32799e,undoMutations:_0x44d98b,redoMutations:_0x2e339e}=_0xd0b6d2[_0x4bd8bf],_0x5ea3d0=this[_0x1ccea2(0x26b)][_0x1ccea2(0x1c4)](_0x44ab10,_0x44d98b),_0x16079b=this[_0x1ccea2(0x26b)][_0x1ccea2(0x1c4)](_0x1c5a86,_0x2e339e);if(_0x3977b7(_0x5ea3d0)||_0x3977b7(_0x16079b)){this[_0x1ccea2(0x335)][_0x1ccea2(0x119)]('[CollaborationUndoRedoService]',_0x1ccea2(0x270),_0x5ea3d0,_0x16079b);break;}_0x44ab10=_0x5ea3d0[_0x1ccea2(0x2a8)],_0x1c5a86=_0x16079b[_0x1ccea2(0x2a8)],_0x551ea5['push']({'unitID':_0x32799e,'undoMutations':_0x5ea3d0['m2Prime'],'redoMutations':_0x16079b[_0x1ccea2(0x19d)]});}return _0x551ea5[_0x1ccea2(0x282)]();}};wt=zr([Ae(0x0,_0x40e127),Ae(0x1,_0xd6fdcf),Ae(0x2,_0x46761c),Ae(0x3,_0x59eb83),Ae(0x4,_0x4e1c8f)],wt);var Mi=Object[_0x2a3857(0x239)],Yr=Object[_0x2a3857(0x1e9)],qr=(_0x253109,_0x5b18f5,_0x17a105)=>_0x5b18f5 in _0x253109?Mi(_0x253109,_0x5b18f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17a105}):_0x253109[_0x5b18f5]=_0x17a105,Jr=(_0x423443,_0x1a857a,_0x2c85e3,_0x8d52e4)=>{var _0x52ec63=_0x2a3857;for(var _0x357895=_0x8d52e4>0x1?void 0x0:_0x8d52e4?Yr(_0x1a857a,_0x2c85e3):_0x1a857a,_0x447337=_0x423443[_0x52ec63(0x32e)]-0x1,_0x4e738c;_0x447337>=0x0;_0x447337--)(_0x4e738c=_0x423443[_0x447337])&&(_0x357895=(_0x8d52e4?_0x4e738c(_0x1a857a,_0x2c85e3,_0x357895):_0x4e738c(_0x357895))||_0x357895);return _0x8d52e4&&_0x357895&&Mi(_0x1a857a,_0x2c85e3,_0x357895),_0x357895;},Et=(_0x5d6e55,_0x11bfa6)=>(_0x15d3db,_0x1f2ab3)=>_0x11bfa6(_0x15d3db,_0x1f2ab3,_0x5d6e55),Xr=(_0x4a675f,_0x30b11b,_0x4767a1)=>qr(_0x4a675f,_0x30b11b+'',_0x4767a1);const Zr=_0x2a3857(0x358);let Ut=class extends _0x42c4cc{constructor(_0x2bc949=zt,_0x33ea8e,_0x3a26d0,_0x54342e){var _0x186e72=_0x2a3857;super(),this['_config']=_0x2bc949,this['_logService']=_0x33ea8e,this[_0x186e72(0x158)]=_0x3a26d0,this[_0x186e72(0x205)]=_0x54342e;const {..._0x4df820}=_0x46b3fd({},zt,this[_0x186e72(0x1ca)]);this['_configService']['setConfig'](Y,_0x4df820);}[_0x2a3857(0x288)](){var _0x507afd=_0x2a3857;this[_0x507afd(0x32d)](),this[_0x507afd(0x321)]();}[_0x2a3857(0x32d)](){var _0x49e420=_0x2a3857,_0x2d97b3,_0x3468d9,_0x1d6c48,_0xe938d9;this[_0x49e420(0x158)][_0x49e420(0x40d)](_0x34b8e6)&&this[_0x49e420(0x335)][_0x49e420(0x119)]('[UniverCollaborationClientPlugin]',_0x49e420(0x3e3));const _0x3142e9=_0x1114da([[_0x34b8e6,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[yi],[ct],[pe],[Ot],[Ri,{'useClass':(_0x3468d9=(_0x2d97b3=this['_config'])==null?void 0x0:_0x2d97b3[_0x49e420(0x11d)])!=null?_0x3468d9:It}],[_0x2b19c8,{'useClass':Dt}],[_0x1ee820,{'useClass':yt}],[_0x667393,{'useClass':Nt}],[_0x50db1d,{'useClass':Pt}],[rt],[Rt]],(_0x1d6c48=this[_0x49e420(0x1ca)])==null?void 0x0:_0x1d6c48[_0x49e420(0x413)]);if(!((_0xe938d9=this[_0x49e420(0x1ca)])!=null&&_0xe938d9[_0x49e420(0x159)])){const _0x2cc2c3=_0x3142e9[_0x49e420(0x142)](([_0x5836fd])=>_0x5836fd===_t);_0x2cc2c3!==-0x1&&_0x3142e9[_0x49e420(0x374)](_0x2cc2c3,0x1);}_0xb389a8(this[_0x49e420(0x158)],_0x3142e9);}['_initDependencies'](){var _0x5956c9=_0x2a3857,_0x2ebac4,_0x4cbd26,_0x4458be;this[_0x5956c9(0x158)][_0x5956c9(0x21d)](_0x4fa095)[_0x5956c9(0x128)]({'priority':0x14,'interceptor':_0x32651a({'maxParallel':0x6})}),(_0x2ebac4=this[_0x5956c9(0x1ca)])!=null&&_0x2ebac4[_0x5956c9(0x19a)]||(_0x4cbd26=this['_injector']['get'](X,_0x5e9174[_0x5956c9(0x197)]))==null||_0x4cbd26['disableLocalCache'](),(_0x4458be=this[_0x5956c9(0x1ca)])!=null&&_0x4458be[_0x5956c9(0x279)]&&_0x1673c2(this[_0x5956c9(0x158)],[[ot]]),_0x1673c2(this[_0x5956c9(0x158)],[[at],[rt],[ct]]);}};Xr(Ut,_0x2a3857(0x332),Zr),Ut=Jr([_0x4f1cae(_0x822522,_0x273cfc,_0x5774e3),Et(0x1,_0x4e1c8f),Et(0x2,_0x21b3b2(_0x548366)),Et(0x3,_0x24bebb)],Ut);export{Ui as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Fn as COLLAB_SUBMIT_CHANGESET_URL_KEY,xn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Nt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,yi as CommentService,de as ConflictState,Ln as DEFAULT_COLLAB_WEB_SOCKET_URL,vo as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,$n as HEARTBEAT_INTERVAL_KEY,Ii as HEARTBEAT_TIMEOUT_KEY,Ri as ICollaborationSocketService,X as ILocalCacheService,Kn as INetworkConditionService,_t as ISingleActiveUnitService,uo as LOCAL_CACHE_INTERVAL,lo as LOCAL_CACHE_INTERVAL_KEY,Wn as LOGIN_URL_KEY,xe as MemberService,Pt as MentionIoHttpService,fe as OfflineState,oe as PendingState,fo as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,jn as RETRY_CONNECTING_MAX_COUNT_KEY,_o as SEND_CHANGESET_TIMEOUT_KEY,Dn as SNAPSHOT_SERVER_URL_KEY,Un as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Oi as UnitStatus,Ut as UniverCollaborationClientPlugin,zn as deserializeToCombResponse,po as getLocalCacheKey,Yn as serializeCombRequest};
|