@univerjs-pro/collaboration-client 0.5.0-alpha.0 → 0.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +49 -0
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +38 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +39 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +18 -0
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
- 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 +58 -0
- package/lib/types/controllers/collaboration/collaboration-entity.d.ts +91 -0
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +303 -0
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +24 -0
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +18 -0
- package/lib/types/controllers/collaboration/utils/empty.d.ts +2 -0
- package/lib/types/controllers/config.schema.d.ts +33 -0
- package/lib/types/controllers/data-loader/__tests__/data-loader.controller.spec.d.ts +1 -0
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +22 -0
- package/lib/types/controllers/file-name/file-name.controller.d.ts +12 -0
- package/lib/types/controllers/telemetry.d.ts +11 -0
- package/lib/types/index.d.ts +35 -890
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +39 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/models/cursor.d.ts +30 -0
- package/lib/types/plugin.d.ts +18 -0
- package/lib/types/services/auth-server/auth-server.service.d.ts +10 -0
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +30 -0
- package/lib/types/services/auth-server/domain-request.service.d.ts +6 -0
- package/lib/types/services/auth-server/util.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +59 -0
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +75 -0
- package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
- package/lib/types/services/comment/comment.service.d.ts +6 -0
- package/lib/types/services/image-remote/image-io.service.d.ts +34 -0
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
- package/lib/types/services/local-cache/local-cache.service.d.ts +37 -0
- package/lib/types/services/member/member.service.d.ts +77 -0
- package/lib/types/services/permission/permission.service.d.ts +12 -0
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +13 -0
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +39 -0
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +21 -0
- package/lib/types/services/socket/collaboration-socket.service.d.ts +34 -0
- package/lib/types/services/socket/serialize.d.ts +3 -0
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +19 -0
- package/lib/types/services/url/url.service.d.ts +12 -0
- package/lib/types/services/url/web-url.service.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
- package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -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/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 -24
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0x5bb7a4=_0x4081;(function(_0x24ad8d,_0xcf6b8){const _0xba6a5a=_0x4081,_0x4b30d0=_0x24ad8d();while(!![]){try{const _0x57ba32=-parseInt(_0xba6a5a(0x20e))/0x1*(-parseInt(_0xba6a5a(0x548))/0x2)+parseInt(_0xba6a5a(0x1c6))/0x3*(-parseInt(_0xba6a5a(0x207))/0x4)+parseInt(_0xba6a5a(0x190))/0x5*(-parseInt(_0xba6a5a(0x2d3))/0x6)+-parseInt(_0xba6a5a(0x483))/0x7+parseInt(_0xba6a5a(0x1db))/0x8+parseInt(_0xba6a5a(0x1fe))/0x9*(parseInt(_0xba6a5a(0x2d1))/0xa)+parseInt(_0xba6a5a(0x459))/0xb*(parseInt(_0xba6a5a(0x412))/0xc);if(_0x57ba32===_0xcf6b8)break;else _0x4b30d0['push'](_0x4b30d0['shift']());}catch(_0x1fc0c4){_0x4b30d0['push'](_0x4b30d0['shift']());}}}(_0x27da,0x99a97));var qi=Object['defineProperty'],Xi=(_0x192793,_0x3e93ca,_0x225043)=>_0x3e93ca in _0x192793?qi(_0x192793,_0x3e93ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225043}):_0x192793[_0x3e93ca]=_0x225043,g=(_0x2e7815,_0x4ea96c,_0x124536)=>Xi(_0x2e7815,typeof _0x4ea96c!=_0x5bb7a4(0x477)?_0x4ea96c+'':_0x4ea96c,_0x124536);import{createIdentifier as _0x5ce9a5,Inject as _0x22a3e1,Disposable as _0x1caa36,DisposableCollection as _0x4e3306,toDisposable as _0x7884da,IConfigService as _0x2bb536,ILogService as _0x3efec9,UserManagerService as _0x28e0a3,UniverInstanceType as _0x10a997,IUniverInstanceService as _0x2e0534,LocaleService as _0x1fdc1b,Optional as _0x4f55bd,RxDisposable as _0x177a9e,Injector as _0x4c5160,Tools as _0x41d014,ILocalStorageService as _0x21f678,Rectangle as _0x49e4db,ICommandService as _0x1e58f0,DOC_RANGE_TYPE as _0x569c02,JSONX as _0x22592d,CommandType as _0x5bf26c,IPermissionService as _0x59e41b,IUndoRedoService as _0x131129,sequenceExecute as _0x9b12cf,debounce as _0x47386f,COLORS as _0x593100,ColorKit as _0x589dec,ThemeService as _0x58be32,fromEventSubject as _0x3a7a27,useDependency as _0xe664fe,connectInjector as _0x3048e7,Workbook as _0x31b79d,isInternalEditorID as _0x503b7a,LocalUndoRedoService as _0x26edca,IContextService as _0x6af9eb,DependentOn as _0x5008eb,Plugin as _0x1a3f69,touchDependencies as _0x3fa01f,IAuthzIoService as _0x2eb585,registerDependencies as _0x60d00f,mergeOverrideWithDependencies as _0x2c766a}from'@univerjs/core';import{Subject as _0x1b179a,merge as _0x4e4735,takeUntil as _0x52fa59,BehaviorSubject as _0x348a88,distinctUntilChanged as _0x2abb77,fromEvent as _0x565a18,ReplaySubject as _0x5c726e,take as _0x35f71d,map as _0x5809a7,shareReplay as _0x3f1879,of as _0x52cb6f,debounceTime as _0x12cfe4,filter as _0x3cb187,switchMap as _0x1e3e59,combineLatest as _0x4753e6,concatMap as _0x2d7fb7,mapTo as _0x287b5c}from'rxjs';import{map as _0x17141f,take as _0x4b07d5,filter as _0x5a0a20,delay as _0x1ce989,throttleTime as _0x3fef40,takeUntil as _0x216286,switchMap as _0x58ad60}from'rxjs/operators';import{MessageType as _0x3417d7,Tooltip as _0x4f930e}from'@univerjs/design';import{IBeforeCloseService as _0x3e0747,IMessageService as _0x38087f,INotificationService as _0x387815,useObservable as _0x3b686f,BuiltInUIPart as _0x5b1713,IUIPartsService as _0x2cb103}from'@univerjs/ui';import{HTTPService as _0x41156a,WebSocketService as _0x1275f8,MergeInterceptorFactory as _0xc40197,HTTPRequest as _0x3b9e80,UniverNetworkPlugin as _0x2fc5f3,ThresholdInterceptorFactory as _0x15339e}from'@univerjs/network';import{CollaborationEvent as _0x45d469,parseChangesetToProtocol as _0x2f96b4,ISnapshotServerService as _0x5bc59d,isTransformMutationFailure as _0x35b5b8,isTransformMutationsWithChangesetSuccess as _0x5f43ea,ITransformService as _0x2db4c4,RevisionService as _0x25150b,mapDocumentTypeToUniverType as _0x32a7fd,isTransformChangesetsSuccess as _0x3e05e4,CompressMutationService as _0x4b6791,parseProtocolChangeset as _0x34525f,SnapshotService as _0x2b1acd,textEncoder as _0x1a843b,b64DecodeUnicode as _0x286b30,isTransformMutationsWithChangesetFailure as _0x2a2494,UniverCollaborationPlugin as _0x1956e2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1b6586}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x4a315f,DocStateChangeManagerService as _0x1b1fa1,NodePositionConvertToCursor as _0x1e2d34,NodePositionConvertToRectRange as _0x2b0059,TEXT_RANGE_LAYER_INDEX as _0x417fa9,SetDocZoomRatioOperation as _0x595dd4}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x11487d,SetSelectionsOperation as _0x544c74,InsertSheetMutation as _0x2dfe93,EmptyMutation as _0x224c7f,WorkbookEditablePermission as _0x272dbd,RefRangeService as _0x180f23,EffectRefRangId as _0x34bde3,handleIRemoveRow as _0x399794,handleIRemoveCol as _0x74bb6c,handleMoveRange as _0x20726c,handleInsertRow as _0x5120ad,handleInsertRangeMoveRight as _0x3995ec,handleInsertRangeMoveDown as _0x595791,handleInsertCol as _0x490fbf,handleDeleteRangeMoveUp as _0xc12035,handleDeleteRangeMoveLeft as _0xd913ed,runRefRangeMutations as _0x4ea810,SetWorksheetActivateCommand as _0x3d9171}from'@univerjs/sheets';import{IRenderManagerService as _0x31d8f9,Shape as _0x4b8d3f,Rect as _0x4214fc,getColor as _0x140980,RegularPolygon as _0x18606b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2c9396,Vector2 as _0x3af8ad}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x4ce6e6,RichTextEditingMutation as _0x185e84,SetTextSelectionsOperation as _0x10288c,DocSkeletonManagerService as _0x386ab1}from'@univerjs/docs';import{ImageSourceType as _0x40ad48,ImageUploadStatusType as _0x1d459e,IImageIoService as _0x23cc94}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x231961,serializeRangeWithSheet as _0x5cd454}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x328715,VIEWPORT_KEY as _0x4bafe5,getCoordByCell as _0x5a0e3d,getSheetObject as _0x1d2c70,SheetPermissionInitController as _0x496cb9}from'@univerjs/sheets-ui';import _0x3fd601,{forwardRef as _0x5ecf43,useRef as _0x37367c,createElement as _0x438628,useCallback as _0x1f3798}from'react';import{IRemoteInstanceService as _0xfc52d5}from'@univerjs/rpc';const cr=_0x5bb7a4(0x195),hr=_0x5bb7a4(0x4c5),lr=_0x5bb7a4(0x3c3),Xc=_0x5bb7a4(0x552),_r=0x7d0,ur=_0x5bb7a4(0x1dc),dr=_0x5bb7a4(0x361),fr='HEARTBEAT_INTERVAL',vr=0x7530,bi=_0x5bb7a4(0x337),Ti=0x4e20,mr=0x4e20,pr=_0x5bb7a4(0x55c),gr=0x3,Sr=_0x5bb7a4(0x451),Ir=0x3e8,Cr=_0x5bb7a4(0x255),Er='/universer-api/comb',br=_0x5bb7a4(0x372),Tr=_0x5bb7a4(0x43c);var Ri=(_0x43d28d=>(_0x43d28d[_0x43d28d[_0x5bb7a4(0x225)]=0x0]=_0x5bb7a4(0x225),_0x43d28d[_0x43d28d['OK']=0x1]='OK',_0x43d28d[_0x43d28d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x43d28d[_0x43d28d[_0x5bb7a4(0x403)]=0x3]=_0x5bb7a4(0x403),_0x43d28d[_0x43d28d[_0x5bb7a4(0x33b)]=0x4]=_0x5bb7a4(0x33b),_0x43d28d[_0x43d28d['UNAUTHENTICATED']=0x5]=_0x5bb7a4(0x2ce),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ab)]=0x6]='ALREADY_EXISTS',_0x43d28d[_0x43d28d['INVALID_ARGUMENT']=0x7]=_0x5bb7a4(0x365),_0x43d28d[_0x43d28d[_0x5bb7a4(0x554)]=0x8]=_0x5bb7a4(0x554),_0x43d28d[_0x43d28d[_0x5bb7a4(0x468)]=0x9]=_0x5bb7a4(0x468),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ae)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x43d28d[_0x43d28d[_0x5bb7a4(0x3a9)]=0x1771]=_0x5bb7a4(0x3a9),_0x43d28d[_0x43d28d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5bb7a4(0x1f0),_0x43d28d[_0x43d28d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x43d28d[_0x43d28d[_0x5bb7a4(0x46a)]=0x1b59]=_0x5bb7a4(0x46a),_0x43d28d[_0x43d28d[_0x5bb7a4(0x564)]=0x1b5a]=_0x5bb7a4(0x564),_0x43d28d[_0x43d28d[_0x5bb7a4(0x4dc)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43d28d[_0x43d28d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5bb7a4(0x219),_0x43d28d[_0x43d28d[_0x5bb7a4(0x289)]=0x1b5d]=_0x5bb7a4(0x289),_0x43d28d[_0x43d28d[_0x5bb7a4(0x298)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x43d28d[_0x43d28d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5bb7a4(0x507),_0x43d28d[_0x43d28d[_0x5bb7a4(0x3ec)]=0x232a]=_0x5bb7a4(0x3ec),_0x43d28d[_0x43d28d[_0x5bb7a4(0x45e)]=0x232b]=_0x5bb7a4(0x45e),_0x43d28d[_0x43d28d[_0x5bb7a4(0x55f)]=0x232c]=_0x5bb7a4(0x55f),_0x43d28d[_0x43d28d[_0x5bb7a4(0x51b)]=0x232d]=_0x5bb7a4(0x51b),_0x43d28d[_0x43d28d[_0x5bb7a4(0x345)]=0x2711]=_0x5bb7a4(0x345),_0x43d28d[_0x43d28d[_0x5bb7a4(0x573)]=0x2712]=_0x5bb7a4(0x573),_0x43d28d[_0x43d28d[_0x5bb7a4(0x549)]=0x2713]=_0x5bb7a4(0x549),_0x43d28d[_0x43d28d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5bb7a4(0x4bf),_0x43d28d[_0x43d28d[_0x5bb7a4(0x31e)]=-0x1]=_0x5bb7a4(0x31e),_0x43d28d))(Ri||{}),ce=(_0xd0b78b=>(_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4ec)]=0x0]=_0x5bb7a4(0x4ec),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x172)]=0x1]=_0x5bb7a4(0x172),_0xd0b78b[_0xd0b78b['UNIVER_SHEET']=0x2]=_0x5bb7a4(0x55b),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4b3)]=0x3]=_0x5bb7a4(0x4b3),_0xd0b78b[_0xd0b78b[_0x5bb7a4(0x4c7)]=0x4]='UNIVER_PROJECT',_0xd0b78b[_0xd0b78b['UNRECOGNIZED']=-0x1]=_0x5bb7a4(0x31e),_0xd0b78b))(ce||{}),W=(_0x1f2de3=>(_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x204)]=0x0]=_0x5bb7a4(0x204),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x183)]=0x1]=_0x5bb7a4(0x183),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x542)]=0x2]=_0x5bb7a4(0x542),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x2a7)]=0x3]=_0x5bb7a4(0x2a7),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x200)]=0x4]=_0x5bb7a4(0x200),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x238)]=0x5]=_0x5bb7a4(0x238),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x297)]=0x6]=_0x5bb7a4(0x297),_0x1f2de3[_0x1f2de3[_0x5bb7a4(0x31e)]=-0x1]='UNRECOGNIZED',_0x1f2de3))(W||{}),Is=(_0x58dddf=>(_0x58dddf[_0x58dddf['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x58dddf[_0x58dddf['OK']=0x1]='OK',_0x58dddf[_0x58dddf[_0x5bb7a4(0x526)]=0x2]='FAIL',_0x58dddf[_0x58dddf[_0x5bb7a4(0x31e)]=-0x1]='UNRECOGNIZED',_0x58dddf))(Is||{}),yi=(_0x137d45=>(_0x137d45[_0x137d45[_0x5bb7a4(0x2e9)]=0x0]=_0x5bb7a4(0x2e9),_0x137d45[_0x137d45[_0x5bb7a4(0x197)]=0x1]='HttpImport',_0x137d45[_0x137d45[_0x5bb7a4(0x502)]=0x2]=_0x5bb7a4(0x502),_0x137d45[_0x137d45['UnitEmbedded']=0x3]=_0x5bb7a4(0x48f),_0x137d45[_0x137d45[_0x5bb7a4(0x54b)]=0x4]=_0x5bb7a4(0x54b),_0x137d45[_0x137d45[_0x5bb7a4(0x31e)]=-0x1]=_0x5bb7a4(0x31e),_0x137d45))(yi||{});const ie=_0x5bb7a4(0x1f9),Rr={};function yr(_0x45b5c9){const _0x293a22=_0x5bb7a4;var _0x301a87,_0xc1dc28,_0x2d495b,_0x56dfea,_0x5eb7b5;const _0x1c293a=_0x45b5c9['data'],_0x54c316=JSON[_0x293a22(0x57c)](_0x1c293a);switch(_0x54c316[_0x293a22(0x4d5)]){case W[_0x293a22(0x238)]:case W[_0x293a22(0x183)]:{const _0x316f46=_0x54c316[_0x293a22(0x51e)];return{..._0x54c316,'data':_0x316f46,'cmd':_0x54c316[_0x293a22(0x4d5)]};}case W[_0x293a22(0x542)]:{const _0x8b589f=_0x54c316[_0x293a22(0x3f9)];return{..._0x54c316,'data':_0x8b589f,'cmd':_0x54c316[_0x293a22(0x4d5)]};}case W[_0x293a22(0x297)]:{const _0x282169=_0x54c316[_0x293a22(0x21a)];switch(_0x282169['eventID']){case _0x45d469[_0x293a22(0x4fb)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x301a87=_0x282169[_0x293a22(0x3ba)])==null?void 0x0:_0x301a87['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x4a7)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0xc1dc28=_0x282169['csAckEvent'])==null?void 0x0:_0xc1dc28['cs']},'cmd':_0x54c316['cmd']};case _0x45d469[_0x293a22(0x4df)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x2d495b=_0x282169['newCsEvent'])==null?void 0x0:_0x2d495b['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x35b)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x56dfea=_0x282169[_0x293a22(0x469)])==null?void 0x0:_0x56dfea['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x259)]:return{..._0x54c316,'data':{..._0x282169,'data':(_0x5eb7b5=_0x282169[_0x293a22(0x3d5)])==null?void 0x0:_0x5eb7b5['cs']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['UPDATE_CURSOR']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['updateCursorEvent']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x2a5)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x4b7)]},'cmd':_0x54c316['cmd']};case _0x45d469['USERS_LEAVE']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x4cd)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x31f)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x29e)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['LIVESHARE_FETCH_OPERATIONS']:case _0x45d469[_0x293a22(0x38c)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x49b)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469['LIVESHARE_TERMINATE']:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['liveShareNewHost']},'cmd':_0x54c316['cmd']};case _0x45d469[_0x293a22(0x407)]:return{..._0x54c316,'data':_0x282169,'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x34d)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x36f)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x508)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169['updatePermissionObjEvent']},'cmd':_0x54c316[_0x293a22(0x4d5)]};case _0x45d469[_0x293a22(0x413)]:return{..._0x54c316,'data':{..._0x282169,'data':_0x282169[_0x293a22(0x398)]},'cmd':_0x54c316[_0x293a22(0x4d5)]};default:return _0x54c316;}}default:return _0x54c316;}}function Or(_0x1b8bfc){const _0x16d4be=_0x5bb7a4;switch(_0x1b8bfc[_0x16d4be(0x4d5)]){case W['HEARTBEAT']:case W[_0x16d4be(0x183)]:return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)]});case W[_0x16d4be(0x200)]:{let _0xaa41cc;switch(_0x1b8bfc[_0x16d4be(0x2d5)]['eventID']){case _0x45d469[_0x16d4be(0x2cd)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x2cd)],'updateCursorEvent':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x489)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x489)],'leaveEvent':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x2a5)]:{_0xaa41cc={'eventID':_0x45d469['USERS_ENTER'],'joinEvent':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469['LIVESHARE_NEW_HOST']:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x31f)],'liveShareNewHost':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x38c)]:{_0xaa41cc={'eventID':_0x45d469['LIVESHARE_OPERATION'],'liveShareOperation':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x2d5)]};break;}case _0x45d469[_0x16d4be(0x41d)]:{_0xaa41cc={'eventID':_0x45d469['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x2ed)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x2ed)],'liveShareRequestHost':_0x1b8bfc[_0x16d4be(0x2d5)]['data']};break;}case _0x45d469[_0x16d4be(0x43b)]:{_0xaa41cc={'eventID':_0x45d469[_0x16d4be(0x43b)]};break;}default:_0xaa41cc={'eventID':_0x1b8bfc[_0x16d4be(0x2d5)][_0x16d4be(0x479)]};}return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'collaMsg':_0xaa41cc});}case W[_0x16d4be(0x542)]:return JSON['stringify']({'cmd':_0x1b8bfc[_0x16d4be(0x4d5)],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'joinReq':_0x1b8bfc[_0x16d4be(0x2d5)]});case W['LEAVE']:return JSON[_0x16d4be(0x303)]({'cmd':_0x1b8bfc['cmd'],'routeKey':_0x1b8bfc[_0x16d4be(0x2ae)],'leaveReq':_0x1b8bfc[_0x16d4be(0x2d5)]});default:throw new Error(_0x16d4be(0x1f7));}}var wr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x2af9ec,_0x503585,_0x193e92,_0x583e94)=>{for(var _0x5c4c97=_0x583e94>0x1?void 0x0:_0x583e94?Dr(_0x503585,_0x193e92):_0x503585,_0x24b214=_0x2af9ec['length']-0x1,_0x131704;_0x24b214>=0x0;_0x24b214--)(_0x131704=_0x2af9ec[_0x24b214])&&(_0x5c4c97=(_0x583e94?_0x131704(_0x503585,_0x193e92,_0x5c4c97):_0x131704(_0x5c4c97))||_0x5c4c97);return _0x583e94&&_0x5c4c97&&wr(_0x503585,_0x193e92,_0x5c4c97),_0x5c4c97;},qe=(_0x18d833,_0x224e85)=>(_0x398617,_0x2a8f6b)=>_0x224e85(_0x398617,_0x2a8f6b,_0x18d833);const Oi=_0x5ce9a5(_0x5bb7a4(0x373));function Ur(_0x21a3ea,_0x5b1eda,_0x33f15d){return _0x21a3ea+'/'+_0x5b1eda+'/unit/'+_0x33f15d+'/new_changes';}let es=class extends _0x1caa36{constructor(_0x3f7db1,_0x11cd42,_0x5f0f47,_0x31a7c7,_0x45534a){const _0x165338=_0x5bb7a4;super(),this[_0x165338(0x582)]=_0x3f7db1,this[_0x165338(0x561)]=_0x11cd42,this[_0x165338(0x23e)]=_0x5f0f47,this[_0x165338(0x26e)]=_0x31a7c7,this['_snapshotServerService']=_0x45534a;}[_0x5bb7a4(0x343)](_0x3842d8){const _0x222f56=_0x5bb7a4,_0x2e5251=this[_0x222f56(0x561)][_0x222f56(0x343)](_0x3842d8);if(!_0x2e5251)throw new Error(_0x222f56(0x3c1));const _0x1ef4af=new _0x4e3306(),_0x5a5ea7=new _0x1b179a();_0x1ef4af[_0x222f56(0x570)](_0x2e5251[_0x222f56(0x339)][_0x222f56(0x519)](_0xc5f3d8=>_0x5a5ea7[_0x222f56(0x3ff)](_0xc5f3d8))),_0x1ef4af['add'](_0x7884da(()=>_0x5a5ea7[_0x222f56(0x313)]()));const _0x4b837d=new _0x1b179a();_0x1ef4af[_0x222f56(0x570)](_0x2e5251[_0x222f56(0x277)][_0x222f56(0x519)](_0x9e3923=>_0x4b837d[_0x222f56(0x3ff)](_0x9e3923))),_0x1ef4af[_0x222f56(0x570)](_0x7884da(()=>_0x4b837d[_0x222f56(0x313)]()));const _0xbe5845=new _0x1b179a();_0x1ef4af['add'](_0x2e5251[_0x222f56(0x35f)][_0x222f56(0x519)](_0x2c4738=>{const _0x5e9fcd=_0x222f56,_0x505236=yr(_0x2c4738);_0xbe5845[_0x5e9fcd(0x3ff)](_0x505236);})),_0x1ef4af[_0x222f56(0x570)](_0x7884da(()=>_0xbe5845['complete']()));let _0x5522e3;const _0xac8b45=()=>{const _0x49efe9=_0x222f56;_0x4b837d[_0x49efe9(0x3ff)](new Event(_0x49efe9(0x248))),_0x5a5ea7[_0x49efe9(0x3ff)](new CloseEvent(_0x49efe9(0x248))),_0x5522e3[_0x49efe9(0x27a)]();};return _0x5522e3={'memberID':'','close$':_0x5a5ea7[_0x222f56(0x1a6)](),'error$':_0x4b837d[_0x222f56(0x1a6)](),'open$':_0x2e5251[_0x222f56(0x3eb)],'message$':_0xbe5845['asObservable'](),'send':_0x5c30bb=>{const _0x4cb4a0=_0x222f56;if(_0x5c30bb[_0x4cb4a0(0x4d5)]===W['INGEST']){if(_0x5c30bb['data'][_0x4cb4a0(0x479)]===_0x45d469[_0x4cb4a0(0x1b5)]){this[_0x4cb4a0(0x34c)](_0x5522e3,_0x5c30bb[_0x4cb4a0(0x2d5)])[_0x4cb4a0(0x220)](_0x5eefa1=>{const _0x2e5234=_0x4cb4a0;this['_logService'][_0x2e5234(0x17b)](_0x5eefa1),_0xac8b45();});return;}if(_0x5c30bb['data'][_0x4cb4a0(0x479)]===_0x45d469['FETCH_MISSING']){const _0x5becb3=_0x5c30bb['data'];this[_0x4cb4a0(0x48c)](_0x5becb3)[_0x4cb4a0(0x40e)](_0x444026=>{_0xbe5845['next']({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x5becb3['data']['unitID'],'routeType':'','data':{'eventID':_0x45d469['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x444026}}});})[_0x4cb4a0(0x220)](_0x18526b=>{const _0x33ba8f=_0x4cb4a0;this['_logService'][_0x33ba8f(0x17b)](_0x18526b),_0xac8b45();});return;}}_0x2e5251[_0x4cb4a0(0x45a)](Or(_0x5c30bb));},'close':()=>{const _0x589395=_0x222f56;_0x2e5251[_0x589395(0x27a)](),_0x1ef4af[_0x589395(0x4d2)]();}},_0x5522e3;}async['_submitChangeset'](_0x3c4dec,_0xd0d49e){const _0x5c1faa=_0x5bb7a4;var _0x5e5b50,_0x33428b;const {unitType:_0x596e6b,unitID:_0x6f1d1c,changeset:_0x29e5a9}=_0xd0d49e[_0x5c1faa(0x2d5)],_0x5a30d4={'unitID':_0x6f1d1c,'memberID':_0x3c4dec[_0x5c1faa(0x2a3)],'type':_0x596e6b,'changeset':_0x2f96b4(_0x29e5a9)},_0x271cb0=this['_configService'][_0x5c1faa(0x447)](Cr),_0x6722dc=this[_0x5c1faa(0x23e)][_0x5c1faa(0x447)](ie),_0x398d6f=Ur((_0x33428b=(_0x5e5b50=_0x6722dc==null?void 0x0:_0x6722dc[_0x5c1faa(0x347)])!=null?_0x5e5b50:_0x271cb0)!=null?_0x33428b:Er,_0x596e6b,_0x6f1d1c);try{await this['_http'][_0x5c1faa(0x495)](_0x398d6f,{'body':_0x5a30d4});}catch(_0x37e2c9){throw this[_0x5c1faa(0x26e)]['error'](_0x5c1faa(0x424),_0x5c1faa(0x2f7)),_0x37e2c9;}}async[_0x5bb7a4(0x48c)](_0x9fd737){const _0x3585dd=_0x5bb7a4,{unitID:_0xe4f67c,from:_0x9ded1c,to:_0x4bfc52,unitType:_0x2b9766}=_0x9fd737[_0x3585dd(0x2d5)];return(await this[_0x3585dd(0x505)][_0x3585dd(0x2b8)]({'metadata':void 0x0},{'unitID':_0xe4f67c,'type':_0x2b9766,'from':_0x9ded1c,'to':_0x4bfc52}))['changesets'];}};es=Pr([qe(0x0,_0x22a3e1(_0x41156a)),qe(0x1,_0x22a3e1(_0x1275f8)),qe(0x2,_0x2bb536),qe(0x3,_0x3efec9),qe(0x4,_0x5bc59d)],es);const Nr=_0x5bb7a4(0x164);function Ar(_0x125ef8){const _0x5b8b4b=_0x5bb7a4;return JSON['stringify'](_0x125ef8)[_0x5b8b4b(0x282)];}class wi{constructor(){const _0x2d5d47=_0x5bb7a4;g(this,_0x2d5d47(0x379),new _0x1b179a()),g(this,_0x2d5d47(0x17d),this[_0x2d5d47(0x379)]['asObservable']());}['onCommentUpdate'](_0x40ddb6){const _0x9f38a=_0x5bb7a4;this[_0x9f38a(0x379)][_0x9f38a(0x3ff)](_0x40ddb6);}}var Mr=Object[_0x5bb7a4(0x42b)],xr=Object[_0x5bb7a4(0x4e4)],Lr=(_0x166916,_0x3f83b3,_0x5c8a40,_0x34f32d)=>{const _0x3fb2c7=_0x5bb7a4;for(var _0x4bdfb5=_0x34f32d>0x1?void 0x0:_0x34f32d?xr(_0x3f83b3,_0x5c8a40):_0x3f83b3,_0x2c04d0=_0x166916[_0x3fb2c7(0x282)]-0x1,_0x18f6f8;_0x2c04d0>=0x0;_0x2c04d0--)(_0x18f6f8=_0x166916[_0x2c04d0])&&(_0x4bdfb5=(_0x34f32d?_0x18f6f8(_0x3f83b3,_0x5c8a40,_0x4bdfb5):_0x18f6f8(_0x4bdfb5))||_0x4bdfb5);return _0x34f32d&&_0x4bdfb5&&Mr(_0x3f83b3,_0x5c8a40,_0x4bdfb5),_0x4bdfb5;},Hs=(_0x234824,_0x2c1906)=>(_0x9e5ff0,_0x5be919)=>_0x2c1906(_0x9e5ff0,_0x5be919,_0x234824);let Ne=class extends _0x1caa36{constructor(_0x4041c0,_0x1d3af4){const _0x1ddaa9=_0x5bb7a4;super(),g(this,_0x1ddaa9(0x1df),new Map()),(this[_0x1ddaa9(0x21d)]=_0x4041c0,this[_0x1ddaa9(0x556)]=_0x1d3af4,this[_0x1ddaa9(0x368)](_0x7884da(_0x4e4735(this[_0x1ddaa9(0x21d)]['getTypeOfUnitDisposed$'](_0x10a997[_0x1ddaa9(0x55b)])[_0x1ddaa9(0x3f1)](_0x17141f(_0x510a53=>_0x510a53[_0x1ddaa9(0x322)]())),this[_0x1ddaa9(0x21d)][_0x1ddaa9(0x39a)](_0x10a997[_0x1ddaa9(0x172)])['pipe'](_0x17141f(_0x23e96c=>_0x23e96c[_0x1ddaa9(0x322)]())),this[_0x1ddaa9(0x21d)][_0x1ddaa9(0x39a)](_0x10a997[_0x1ddaa9(0x4b3)])[_0x1ddaa9(0x3f1)](_0x17141f(_0x33d5a3=>_0x33d5a3[_0x1ddaa9(0x322)]())))[_0x1ddaa9(0x519)](_0x529546=>this[_0x1ddaa9(0x562)](_0x529546)))));}['setCurrentUser'](_0x54e57a){const _0x4ff021=_0x5bb7a4;this['_userManagerService'][_0x4ff021(0x4fc)](_0x54e57a);}['getCurrentUser'](){const _0x3d0d1c=_0x5bb7a4;return this['_userManagerService'][_0x3d0d1c(0x3b9)]();}[_0x5bb7a4(0x4b2)](_0x43a481,_0x51081b){const _0x282152=_0x5bb7a4;let _0x3963ac=this[_0x282152(0x1df)][_0x282152(0x4f7)](_0x43a481);_0x3963ac||(_0x3963ac=new $r(),this['_roomMembers']['set'](_0x43a481,_0x3963ac)),_0x3963ac[_0x282152(0x4b2)](_0x51081b);}[_0x5bb7a4(0x4e6)](_0x235ecd,_0x36149c){const _0x5b020d=_0x5bb7a4,_0x87bb2c=this['_roomMembers'][_0x5b020d(0x4f7)](_0x235ecd);_0x87bb2c&&_0x87bb2c[_0x5b020d(0x4e6)](_0x36149c);}[_0x5bb7a4(0x2dd)](_0x4578d5){const _0x4ea8f1=_0x5bb7a4;return this[_0x4ea8f1(0x1df)][_0x4ea8f1(0x4f7)](_0x4578d5);}[_0x5bb7a4(0x25d)](_0x2b11ec,_0x306cdc){const _0x589b74=_0x5bb7a4,_0x47c14e=this['_roomMembers'][_0x589b74(0x4f7)](_0x2b11ec);if(_0x47c14e)return _0x47c14e[_0x589b74(0x25d)](_0x306cdc);}['_removeRoom'](_0x3626f5){const _0x4b4934=_0x5bb7a4,_0x3f1463=this['_roomMembers'][_0x4b4934(0x4f7)](_0x3626f5);_0x3f1463&&(_0x3f1463[_0x4b4934(0x4d2)](),this[_0x4b4934(0x1df)][_0x4b4934(0x3d8)](_0x3626f5));}[_0x5bb7a4(0x4d2)](){const _0x32964=_0x5bb7a4;this['_roomMembers'][_0x32964(0x312)](_0xad9e2b=>_0xad9e2b[_0x32964(0x4d2)]()),this[_0x32964(0x1df)]['clear']();}};Ne=Lr([Hs(0x0,_0x2e0534),Hs(0x1,_0x22a3e1(_0x28e0a3))],Ne);class $r extends _0x1caa36{constructor(){const _0x153be1=_0x5bb7a4;super(...arguments),g(this,_0x153be1(0x3dc),new Map());}[_0x5bb7a4(0x4d2)](){const _0x563cef=_0x5bb7a4;this[_0x563cef(0x3dc)]['clear']();}['updateMember'](_0x450c04){const _0x2c63e6=_0x5bb7a4;this[_0x2c63e6(0x3dc)][_0x2c63e6(0x441)](_0x450c04['memberID'],_0x450c04);}[_0x5bb7a4(0x4e6)](_0x23d7b7){const _0x5f2e65=_0x5bb7a4;this[_0x5f2e65(0x3dc)][_0x5f2e65(0x3d8)](_0x23d7b7);}[_0x5bb7a4(0x25d)](_0x1f3cbb){const _0x52b494=_0x5bb7a4;return this[_0x52b494(0x3dc)][_0x52b494(0x4f7)](_0x1f3cbb);}[_0x5bb7a4(0x26c)](){const _0xef2a60=_0x5bb7a4;return Array['from'](this[_0xef2a60(0x3dc)]['values']());}}var Hr=Object[_0x5bb7a4(0x42b)],jr=Object[_0x5bb7a4(0x4e4)],Br=(_0x279aac,_0x22af43,_0x25ec3f,_0x5bc6c6)=>{const _0xab57fe=_0x5bb7a4;for(var _0x2e6c4a=_0x5bc6c6>0x1?void 0x0:_0x5bc6c6?jr(_0x22af43,_0x25ec3f):_0x22af43,_0x577116=_0x279aac[_0xab57fe(0x282)]-0x1,_0x58410e;_0x577116>=0x0;_0x577116--)(_0x58410e=_0x279aac[_0x577116])&&(_0x2e6c4a=(_0x5bc6c6?_0x58410e(_0x22af43,_0x25ec3f,_0x2e6c4a):_0x58410e(_0x2e6c4a))||_0x2e6c4a);return _0x5bc6c6&&_0x2e6c4a&&Hr(_0x22af43,_0x25ec3f,_0x2e6c4a),_0x2e6c4a;},Ee=(_0xe69baf,_0x174681)=>(_0x4626ce,_0x29deb5)=>_0x174681(_0x4626ce,_0x29deb5,_0xe69baf),ve=(_0x4c6797=>(_0x4c6797[_0x4c6797['IDLE']=0x0]=_0x5bb7a4(0x444),_0x4c6797[_0x4c6797[_0x5bb7a4(0x213)]=0x1]='JOINING',_0x4c6797[_0x4c6797[_0x5bb7a4(0x23a)]=0x2]=_0x5bb7a4(0x23a),_0x4c6797[_0x4c6797[_0x5bb7a4(0x3e1)]=0x3]=_0x5bb7a4(0x3e1),_0x4c6797))(ve||{});let ts=class extends _0x177a9e{constructor(_0x443a38,_0x59999f,_0x351334,_0xd6b63c,_0x124e88,_0x1825d1,_0x2b890b,_0x64aa01,_0x34d8f9,_0x3f7885){const _0x556193=_0x5bb7a4;super(),g(this,_0x556193(0x20f),new _0x348a88(0x0)),g(this,_0x556193(0x17e),this['_sessionStatus$']['asObservable']()),g(this,_0x556193(0x57d),new _0x1b179a()),g(this,'event$',this['_event$'][_0x556193(0x1a6)]()),g(this,_0x556193(0x323)),g(this,_0x556193(0x417)),g(this,_0x556193(0x301)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x556193(0x1b1),null),(this[_0x556193(0x2ba)]=_0x443a38,this['_logService']=_0x351334,this[_0x556193(0x414)]=_0xd6b63c,this[_0x556193(0x2a2)]=_0x124e88,this['_configService']=_0x1825d1,this[_0x556193(0x4ab)]=_0x2b890b,this[_0x556193(0x49f)]=_0x64aa01,this[_0x556193(0x54a)]=_0x34d8f9,this[_0x556193(0x18c)]=_0x3f7885,this[_0x556193(0x512)]=!!this[_0x556193(0x18c)],_0x59999f[_0x556193(0x3f1)](_0x52fa59(this[_0x556193(0x492)]))[_0x556193(0x519)](_0x10b0a1=>{const _0x11055d=_0x556193;var _0x7f969d;typeof _0x10b0a1>'u'||(this[_0x11055d(0x323)]=_0x10b0a1,_0x10b0a1?(this[_0x11055d(0x3b3)](_0x10b0a1),this[_0x11055d(0x417)]=_0x10b0a1[_0x11055d(0x35f)]['subscribe'](_0x460e62=>{const _0x43ccac=_0x11055d;_0x460e62['routeKey']===this[_0x43ccac(0x2ba)]&&this[_0x43ccac(0x497)](_0x460e62);})):(this[_0x11055d(0x3f0)](),this['_sessionStatus$'][_0x11055d(0x3ff)](0x2),(_0x7f969d=this['_socketMessageSubscription'])==null||_0x7f969d[_0x11055d(0x1e1)](),this[_0x11055d(0x417)]=null));}),this[_0x556193(0x368)](this[_0x556193(0x414)][_0x556193(0x1f2)](()=>{const _0x281e81=_0x556193;var _0x1e7cdc;(_0x1e7cdc=this[_0x281e81(0x323)])==null||_0x1e7cdc[_0x281e81(0x45a)]({'cmd':W[_0x281e81(0x2a7)],'data':{'roomID':this[_0x281e81(0x2ba)]}});})));}get[_0x5bb7a4(0x397)](){const _0x2cc569=_0x5bb7a4;return this['_sessionStatus$'][_0x2cc569(0x43d)]();}[_0x5bb7a4(0x494)](){var _0x18d281,_0x1f1544;return(_0x1f1544=(_0x18d281=this['_socket'])==null?void 0x0:_0x18d281['memberID'])!=null?_0x1f1544:null;}[_0x5bb7a4(0x4d2)](){const _0x3b4175=_0x5bb7a4;super[_0x3b4175(0x4d2)](),this['dispose$'][_0x3b4175(0x3ff)](),this['dispose$']['complete']();}[_0x5bb7a4(0x27a)](){const _0x171949=_0x5bb7a4;var _0x3473f1,_0x4278f4;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3473f1=this['_socket'])==null||_0x3473f1[_0x171949(0x45a)]({'cmd':W[_0x171949(0x2a7)],'data':{'roomID':this[_0x171949(0x2ba)]}}),(_0x4278f4=this['_socket'])==null||_0x4278f4[_0x171949(0x27a)](),this['_event$'][_0x171949(0x313)](),this[_0x171949(0x20f)][_0x171949(0x313)](),this[_0x171949(0x4d2)]();}['_onCombEvent'](_0x1bd2ec){const _0x11557e=_0x5bb7a4;_0x1bd2ec[_0x11557e(0x4d5)]===W['JOIN']?this[_0x11557e(0x518)](_0x1bd2ec):_0x1bd2ec[_0x11557e(0x4d5)]===W[_0x11557e(0x297)]&&this['_onRecvEvent'](_0x1bd2ec);}[_0x5bb7a4(0x3b3)](_0x202c1a){const _0x2e8b46=_0x5bb7a4;this[_0x2e8b46(0x20f)][_0x2e8b46(0x3ff)](0x1),_0x202c1a[_0x2e8b46(0x45a)]({'cmd':W[_0x2e8b46(0x542)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2e8b46(0x2ba)]}]}});}['_onJoinRoomEvent'](_0x5477f0){const _0x19fedf=_0x5bb7a4;var _0x3f50ed;if(_0x5477f0[_0x19fedf(0x4bd)]===Is[_0x19fedf(0x526)]){this[_0x19fedf(0x2a2)][_0x19fedf(0x18e)]({'type':_0x3417d7[_0x19fedf(0x2ad)],'content':this[_0x19fedf(0x4ab)]['t'](_0x19fedf(0x1cd))}),this[_0x19fedf(0x20f)][_0x19fedf(0x3ff)](0x2);return;}this['_sessionStatus$'][_0x19fedf(0x3ff)](0x3);const _0x21a3d2=(_0x3f50ed=_0x5477f0['data']['roomInfos'][this[_0x19fedf(0x2ba)]])==null?void 0x0:_0x3f50ed[_0x19fedf(0x2cc)];_0x21a3d2&&_0x21a3d2[_0x19fedf(0x312)](_0x5a95f1=>this[_0x19fedf(0x49f)][_0x19fedf(0x4b2)](this[_0x19fedf(0x2ba)],_0x5a95f1));}[_0x5bb7a4(0x2a1)](_0x459d77){const _0x5c07f2=_0x5bb7a4;try{const _0x34bcf0=_0x459d77[_0x5c07f2(0x2d5)];switch(_0x34bcf0[_0x5c07f2(0x479)]){case _0x45d469[_0x5c07f2(0x2a5)]:this[_0x5c07f2(0x33a)](_0x34bcf0),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469['USERS_LEAVE']:this[_0x5c07f2(0x38d)](_0x34bcf0),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x4a7)]:case _0x45d469[_0x5c07f2(0x259)]:this[_0x5c07f2(0x32e)](),this['_clearCollaborationTimeoutTimer'](),this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x407)]:this[_0x5c07f2(0x26e)][_0x5c07f2(0x17b)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5c07f2(0x303)](_0x34bcf0)),this['_event$']['next'](_0x34bcf0);break;case _0x45d469[_0x5c07f2(0x34d)]:this[_0x5c07f2(0x54a)][_0x5c07f2(0x461)](_0x34bcf0['data']),this['_event$']['next'](_0x34bcf0);break;default:this[_0x5c07f2(0x57d)][_0x5c07f2(0x3ff)](_0x34bcf0);}}catch(_0x5ba8f5){this[_0x5c07f2(0x26e)][_0x5c07f2(0x17b)](_0x5ba8f5,_0x459d77);}}[_0x5bb7a4(0x33a)](_0x186756){const _0x2c9692=_0x5bb7a4;this['_memberService'][_0x2c9692(0x4b2)](this[_0x2c9692(0x2ba)],_0x186756[_0x2c9692(0x2d5)]);}[_0x5bb7a4(0x38d)](_0x43ecf5){const _0x49962c=_0x5bb7a4;this[_0x49962c(0x49f)][_0x49962c(0x4e6)](this[_0x49962c(0x2ba)],_0x43ecf5['data'][_0x49962c(0x2a3)]);}async['send'](_0x1da07e,_0x3f4b6f){const _0x34586b=_0x5bb7a4;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x34586b(0x533));try{_0x1da07e[_0x34586b(0x479)]===_0x45d469[_0x34586b(0x1b5)]&&(this[_0x34586b(0x24e)](),this[_0x34586b(0x51c)](_0x1da07e)),this['_socket'][_0x34586b(0x45a)]({'cmd':W[_0x34586b(0x200)],'routeKey':_0x3f4b6f,'routeType':'','data':_0x1da07e});}catch(_0x53d4b5){this[_0x34586b(0x26e)][_0x34586b(0x17b)](_0x53d4b5);}}[_0x5bb7a4(0x24e)](){const _0xb2f595=_0x5bb7a4;var _0x4caac5;this['_collaborationTimeoutTimer']=window[_0xb2f595(0x273)](()=>{const _0x62e03=_0xb2f595;this[_0x62e03(0x301)]=null,this['_messageService'][_0x62e03(0x18e)]({'type':_0x3417d7['Error'],'content':this[_0x62e03(0x4ab)]['t'](_0x62e03(0x3e8))});},(_0x4caac5=this[_0xb2f595(0x23e)]['getConfig'](bi))!=null?_0x4caac5:Ti);}[_0x5bb7a4(0x42a)](){const _0x4cadcd=_0x5bb7a4;this[_0x4cadcd(0x301)]&&(clearTimeout(this[_0x4cadcd(0x301)]),this[_0x4cadcd(0x301)]=null);}[_0x5bb7a4(0x51c)](_0x488b6c){const _0x477b73=_0x5bb7a4;if(!this[_0x477b73(0x512)])return;const {data:_0x2eae5a}=_0x488b6c,{unitID:_0x253247,changeset:_0x4232be}=_0x2eae5a,{mutations:_0x18bc7b,type:_0x4e9058}=_0x4232be;this['_telemetryInfo']={'unitId':_0x253247,'type':_0x4e9058,'startTime':performance[_0x477b73(0x3d2)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x18bc7b)};}[_0x5bb7a4(0x32e)](){const _0x93b3c9=_0x5bb7a4;if(this[_0x93b3c9(0x512)]){if(!this[_0x93b3c9(0x1b1)]){this['_logService'][_0x93b3c9(0x17b)](_0x93b3c9(0x424),_0x93b3c9(0x377));return;}this[_0x93b3c9(0x1b1)][_0x93b3c9(0x25b)]=performance[_0x93b3c9(0x3d2)](),this['_telemetryInfo'][_0x93b3c9(0x286)]=this[_0x93b3c9(0x1b1)][_0x93b3c9(0x25b)]-this[_0x93b3c9(0x1b1)][_0x93b3c9(0x22c)],this['_telemetryService'][_0x93b3c9(0x22f)](Nr,this[_0x93b3c9(0x1b1)]),this[_0x93b3c9(0x1b1)]=null;}}[_0x5bb7a4(0x3f0)](){const _0x7998b5=_0x5bb7a4;this[_0x7998b5(0x1b1)]=null;}};ts=Br([Ee(0x2,_0x3efec9),Ee(0x3,_0x3e0747),Ee(0x4,_0x38087f),Ee(0x5,_0x2bb536),Ee(0x6,_0x22a3e1(_0x1fdc1b)),Ee(0x7,_0x22a3e1(Ne)),Ee(0x8,_0x22a3e1(wi)),Ee(0x9,_0x4f55bd(_0x1b6586))],ts);var kr=Object[_0x5bb7a4(0x42b)],Wr=Object['getOwnPropertyDescriptor'],Fr=(_0x49ca9f,_0x303c04,_0x17328e,_0x2bedb6)=>{const _0x56e0dd=_0x5bb7a4;for(var _0x24b59e=_0x2bedb6>0x1?void 0x0:_0x2bedb6?Wr(_0x303c04,_0x17328e):_0x303c04,_0x12d93e=_0x49ca9f[_0x56e0dd(0x282)]-0x1,_0x22e60c;_0x12d93e>=0x0;_0x12d93e--)(_0x22e60c=_0x49ca9f[_0x12d93e])&&(_0x24b59e=(_0x2bedb6?_0x22e60c(_0x303c04,_0x17328e,_0x24b59e):_0x22e60c(_0x24b59e))||_0x24b59e);return _0x2bedb6&&_0x24b59e&&kr(_0x303c04,_0x17328e,_0x24b59e),_0x24b59e;},je=(_0x8540b2,_0x3bd3c9)=>(_0x13305f,_0x5a6791)=>_0x3bd3c9(_0x13305f,_0x5a6791,_0x8540b2);let Ae=class extends _0x1caa36{constructor(_0x872892,_0x3f660e,_0x470a38,_0x1c35bb,_0x3fbfa8,_0x4392f7){const _0x52c720=_0x5bb7a4;super(),g(this,_0x52c720(0x27d),new _0x348a88(void 0x0)),g(this,_0x52c720(0x1ad),this[_0x52c720(0x27d)]['asObservable']()),g(this,_0x52c720(0x553),null),g(this,_0x52c720(0x446),new Map()),g(this,_0x52c720(0x281),new _0x348a88(ve[_0x52c720(0x444)])),g(this,_0x52c720(0x1ba),this[_0x52c720(0x281)][_0x52c720(0x1a6)]()),g(this,_0x52c720(0x33d),!0x1),g(this,'_retryConnectingTimer'),g(this,_0x52c720(0x24b),0x0),g(this,_0x52c720(0x1d3)),g(this,_0x52c720(0x239)),(this['_injector']=_0x872892,this[_0x52c720(0x4ab)]=_0x3f660e,this[_0x52c720(0x2a2)]=_0x470a38,this[_0x52c720(0x26e)]=_0x1c35bb,this['_configService']=_0x3fbfa8,this['_socketService']=_0x4392f7,this[_0x52c720(0x20a)]());}get[_0x5bb7a4(0x323)](){return this['_socket$']['getValue']();}[_0x5bb7a4(0x20a)](){const _0x4f2913=_0x5bb7a4;this['_listenToOfflineEvent'](),this[_0x4f2913(0x1af)]();}[_0x5bb7a4(0x4d2)](){const _0x575502=_0x5bb7a4;super['dispose'](),this[_0x575502(0x446)][_0x575502(0x312)](_0x5abe7d=>_0x5abe7d[_0x575502(0x4d2)]()),this['_sessions'][_0x575502(0x395)](),this[_0x575502(0x281)][_0x575502(0x313)]();}async['requireSession'](_0x271f7b){const _0x33c085=_0x5bb7a4;if(this[_0x33c085(0x446)][_0x33c085(0x2e6)](_0x271f7b))return this[_0x33c085(0x446)][_0x33c085(0x4f7)](_0x271f7b);this['_tryEnsureSocket']();const _0x45b18f=this[_0x33c085(0x338)]['createInstance'](ts,_0x271f7b,this[_0x33c085(0x27d)][_0x33c085(0x1a6)]());return this[_0x33c085(0x446)][_0x33c085(0x441)](_0x271f7b,_0x45b18f),_0x45b18f;}[_0x5bb7a4(0x165)](_0x5d3450){const _0x265746=_0x5bb7a4;var _0x811c8e;const _0x52c9b4=this[_0x265746(0x446)][_0x265746(0x4f7)](_0x5d3450);_0x52c9b4&&(this['_sessions']['delete'](_0x5d3450),_0x52c9b4[_0x265746(0x27a)]()),this[_0x265746(0x446)]['size']||(_0x811c8e=this['_socket'])==null||_0x811c8e[_0x265746(0x27a)]();}['reconnect'](){const _0x958ae6=_0x5bb7a4;this[_0x958ae6(0x24b)]=0x0,this[_0x958ae6(0x279)]!=null&&(clearTimeout(this[_0x958ae6(0x279)]),this[_0x958ae6(0x279)]=null),this[_0x958ae6(0x280)]();}[_0x5bb7a4(0x218)](){const _0x5a75f2=_0x5bb7a4;var _0x105158,_0x23d12f;const _0x210852=this[_0x5a75f2(0x23e)][_0x5a75f2(0x447)](ur),_0x48e8c6=this[_0x5a75f2(0x23e)][_0x5a75f2(0x447)](ie),_0x45a566=(_0x23d12f=(_0x105158=_0x48e8c6==null?void 0x0:_0x48e8c6[_0x5a75f2(0x56c)])!=null?_0x105158:_0x210852)!=null?_0x23d12f:dr,_0x5c0b89=this[_0x5a75f2(0x19e)][_0x5a75f2(0x343)](_0x45a566);return this[_0x5a75f2(0x553)]=_0x5c0b89,_0x5c0b89;}[_0x5bb7a4(0x1e2)](){const _0x320533=_0x5bb7a4;var _0x2c0234,_0x240689;try{const _0x46b346=(_0x240689=(_0x2c0234=this[_0x320533(0x323)])!=null?_0x2c0234:this['_candidateSocket'])!=null?_0x240689:this[_0x320533(0x218)]();if(_0x46b346){const _0x38af31=_0x46b346[_0x320533(0x45a)];_0x46b346[_0x320533(0x45a)]=_0x3b4638=>(this[_0x320533(0x20d)](),_0x38af31['apply'](_0x46b346,[_0x3b4638])),_0x46b346[_0x320533(0x35f)][_0x320533(0x519)](_0x284c32=>this[_0x320533(0x2f0)](_0x46b346,_0x284c32)),_0x46b346['error$']['pipe'](_0x4b07d5(0x1))['subscribe'](_0x22ea0b=>this[_0x320533(0x26e)][_0x320533(0x17b)](_0x320533(0x528),_0x22ea0b)),_0x46b346[_0x320533(0x3eb)][_0x320533(0x3f1)](_0x4b07d5(0x1))[_0x320533(0x519)](()=>{const _0x59db01=_0x320533;this[_0x59db01(0x3e0)](_0x46b346);}),_0x46b346[_0x320533(0x339)][_0x320533(0x3f1)](_0x4b07d5(0x1))['subscribe'](_0x48044a=>{const _0x1cbae5=_0x320533;this['_logService']['debug'](_0x1cbae5(0x358),_0x1cbae5(0x425),_0x48044a),this[_0x1cbae5(0x1ef)]();});}}catch(_0x1ff35a){this['_logService'][_0x320533(0x17b)](_0x1ff35a),this[_0x320533(0x1ef)]();}}[_0x5bb7a4(0x3e0)](_0x530472){const _0x54c0f5=_0x5bb7a4;this['_logService'][_0x54c0f5(0x23c)](_0x54c0f5(0x358),_0x54c0f5(0x3bd)),_0x530472['send']({'cmd':W[_0x54c0f5(0x183)]}),this[_0x54c0f5(0x20d)]();}['_listenToOfflineEvent'](){const _0x494d0c=_0x5bb7a4;window['addEventListener'](_0x494d0c(0x4ed),()=>this[_0x494d0c(0x4b6)]());}[_0x5bb7a4(0x4b6)](){const _0x259b59=_0x5bb7a4;this[_0x259b59(0x33d)]=!0x1,this['_candidateSocket']=null,this[_0x259b59(0x281)]['next'](ve['OFFLINE']),this['_socket$'][_0x259b59(0x3ff)](null),this[_0x259b59(0x344)](),this[_0x259b59(0x296)]();}[_0x5bb7a4(0x1ef)](){const _0x52d390=_0x5bb7a4;var _0x4478e8;this[_0x52d390(0x4b6)](),this['_retryCount']<((_0x4478e8=this[_0x52d390(0x23e)][_0x52d390(0x447)](pr))!=null?_0x4478e8:gr)?(this['_messageService'][_0x52d390(0x18e)]({'key':'collaboration-session-retry','type':_0x3417d7[_0x52d390(0x2ad)],'content':this[_0x52d390(0x4ab)]['t'](_0x52d390(0x4a8))}),this[_0x52d390(0x280)]()):this['_messageService'][_0x52d390(0x18e)]({'key':_0x52d390(0x482),'type':_0x3417d7[_0x52d390(0x3cb)],'content':this[_0x52d390(0x4ab)]['t'](_0x52d390(0x46e))});}['_listenToOnlineEvent'](){const _0x37d8dd=_0x5bb7a4,_0x215f85=()=>{const _0x2f840d=_0x4081;this[_0x2f840d(0x323)]||this[_0x2f840d(0x328)]();},_0x22f093=()=>{const _0x1dc8d9=_0x4081;this[_0x1dc8d9(0x323)]||document[_0x1dc8d9(0x47b)]===_0x1dc8d9(0x2a8)||this['reconnect']();};window[_0x37d8dd(0x2ab)]('online',_0x215f85),document[_0x37d8dd(0x2ab)](_0x37d8dd(0x1f1),_0x22f093);}['_tryReconnect'](){const _0x54ae29=_0x5bb7a4;var _0x1c523d;const _0x5485fe=this[_0x54ae29(0x24b)],_0x68232a=this['_configService'][_0x54ae29(0x447)](ie),_0x410898=_0x5485fe===0x0?0x0:((_0x1c523d=_0x68232a==null?void 0x0:_0x68232a[_0x54ae29(0x306)])!=null?_0x1c523d:mr)*0x2**_0x5485fe;this[_0x54ae29(0x279)]=window['setTimeout'](()=>{const _0x3edfe7=_0x54ae29;clearTimeout(this[_0x3edfe7(0x279)]),this[_0x3edfe7(0x279)]=null,this['_tryEnsureSocket']();},_0x410898),this[_0x54ae29(0x24b)]+=0x1;}[_0x5bb7a4(0x2f0)](_0x41cf33,_0x4539b1){const _0xcb3279=_0x5bb7a4,{cmd:_0xa1399a}=_0x4539b1;_0xa1399a===W[_0xcb3279(0x183)]&&!this['_socketReady']&&(_0x41cf33[_0xcb3279(0x2a3)]=_0x4539b1[_0xcb3279(0x2d5)][_0xcb3279(0x2a3)],this['_socket$'][_0xcb3279(0x3ff)](_0x41cf33),this[_0xcb3279(0x281)][_0xcb3279(0x3ff)](ve['ONLINE']),this[_0xcb3279(0x33d)]=!0x0,this[_0xcb3279(0x553)]=null),_0xa1399a===W['HEARTBEAT']&&this[_0xcb3279(0x344)](),this['_rescheduleHeartbeat']();}[_0x5bb7a4(0x20d)](){const _0x9ea9a5=_0x5bb7a4;var _0x565efe;this[_0x9ea9a5(0x296)](),this['_sendHeartbeatTimer']=window[_0x9ea9a5(0x273)](()=>this[_0x9ea9a5(0x2e0)](),(_0x565efe=this[_0x9ea9a5(0x23e)][_0x9ea9a5(0x447)](fr))!=null?_0x565efe:vr);}[_0x5bb7a4(0x2e0)](){const _0x3f47ab=_0x5bb7a4;this['_socket'][_0x3f47ab(0x45a)]({'cmd':W['HEARTBEAT']}),this[_0x3f47ab(0x1a9)]();}[_0x5bb7a4(0x1a9)](){const _0x3de223=_0x5bb7a4;var _0x52a84c;this[_0x3de223(0x239)]=window[_0x3de223(0x273)](()=>this[_0x3de223(0x1ef)](),(_0x52a84c=this[_0x3de223(0x23e)][_0x3de223(0x447)](bi))!=null?_0x52a84c:Ti);}[_0x5bb7a4(0x296)](){const _0x103a15=_0x5bb7a4;this[_0x103a15(0x1d3)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x5bb7a4(0x344)](){const _0x57554c=_0x5bb7a4;this[_0x57554c(0x239)]!=null&&(clearTimeout(this[_0x57554c(0x239)]),this[_0x57554c(0x239)]=null);}};Ae=Fr([je(0x0,_0x22a3e1(_0x4c5160)),je(0x1,_0x22a3e1(_0x1fdc1b)),je(0x2,_0x38087f),je(0x3,_0x3efec9),je(0x4,_0x2bb536),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x5bb7a4(0x433)]((i+0x100)[_0x5bb7a4(0x2e5)](0x10)[_0x5bb7a4(0x3e2)](0x1));function Vr(_0x165e12,_0x5805ca=0x0){const _0x189db9=_0x5bb7a4;return(Y[_0x165e12[_0x5805ca+0x0]]+Y[_0x165e12[_0x5805ca+0x1]]+Y[_0x165e12[_0x5805ca+0x2]]+Y[_0x165e12[_0x5805ca+0x3]]+'-'+Y[_0x165e12[_0x5805ca+0x4]]+Y[_0x165e12[_0x5805ca+0x5]]+'-'+Y[_0x165e12[_0x5805ca+0x6]]+Y[_0x165e12[_0x5805ca+0x7]]+'-'+Y[_0x165e12[_0x5805ca+0x8]]+Y[_0x165e12[_0x5805ca+0x9]]+'-'+Y[_0x165e12[_0x5805ca+0xa]]+Y[_0x165e12[_0x5805ca+0xb]]+Y[_0x165e12[_0x5805ca+0xc]]+Y[_0x165e12[_0x5805ca+0xd]]+Y[_0x165e12[_0x5805ca+0xe]]+Y[_0x165e12[_0x5805ca+0xf]])[_0x189db9(0x163)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x52dc0b=_0x5bb7a4;if(!Nt){if(typeof crypto>'u'||!crypto[_0x52dc0b(0x342)])throw new Error(_0x52dc0b(0x39e));Nt=crypto[_0x52dc0b(0x342)]['bind'](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x5bb7a4(0x3ef)](crypto),js={'randomUUID':Kr};function zr(_0x3e344f,_0x2f2b14,_0x52a307){const _0x5e4eae=_0x5bb7a4;if(js[_0x5e4eae(0x335)]&&!_0x2f2b14&&!_0x3e344f)return js[_0x5e4eae(0x335)]();_0x3e344f=_0x3e344f||{};const _0x33e9d1=_0x3e344f[_0x5e4eae(0x453)]||(_0x3e344f[_0x5e4eae(0x2e1)]||Yr)();return _0x33e9d1[0x6]=_0x33e9d1[0x6]&0xf|0x40,_0x33e9d1[0x8]=_0x33e9d1[0x8]&0x3f|0x80,Vr(_0x33e9d1);}var qr=Object['defineProperty'],Xr=Object[_0x5bb7a4(0x4e4)],Jr=(_0x37e58d,_0x16ee5a,_0x2c5d8b,_0x3ea139)=>{const _0x34035e=_0x5bb7a4;for(var _0x4c1fd3=_0x3ea139>0x1?void 0x0:_0x3ea139?Xr(_0x16ee5a,_0x2c5d8b):_0x16ee5a,_0x99d74d=_0x37e58d[_0x34035e(0x282)]-0x1,_0x215e77;_0x99d74d>=0x0;_0x99d74d--)(_0x215e77=_0x37e58d[_0x99d74d])&&(_0x4c1fd3=(_0x3ea139?_0x215e77(_0x16ee5a,_0x2c5d8b,_0x4c1fd3):_0x215e77(_0x4c1fd3))||_0x4c1fd3);return _0x3ea139&&_0x4c1fd3&&qr(_0x16ee5a,_0x2c5d8b,_0x4c1fd3),_0x4c1fd3;},At=(_0x185651,_0xa4d28)=>(_0x3e906d,_0x5784f0)=>_0xa4d28(_0x3e906d,_0x5784f0,_0x185651);let ft=class{constructor(_0x5d79f2,_0x20e8aa,_0x477005){const _0x26cdf1=_0x5bb7a4;this[_0x26cdf1(0x338)]=_0x5d79f2,this[_0x26cdf1(0x1c5)]=_0x20e8aa,this[_0x26cdf1(0x262)]=_0x477005;}['transformIMECache'](_0x9d1624){const _0x20cc54=_0x5bb7a4;this['_transformUndoRedoStack'](_0x9d1624),this[_0x20cc54(0x1d9)](_0x9d1624);}['transformRemoteChangeset'](_0x23f3bf){const _0x3a6777=_0x5bb7a4,{unitID:_0x4bdd38}=_0x23f3bf,_0x380cc9=this[_0x3a6777(0x262)][_0x3a6777(0x177)](_0x4bdd38)[_0x3a6777(0x47c)](_0x4a315f),{redoCache:_0x2c2687}=_0x380cc9[_0x3a6777(0x222)]();if(_0x2c2687[_0x3a6777(0x282)]===0x0)return _0x23f3bf;let _0x1fbfe0=_0x41d014[_0x3a6777(0x1d2)](_0x23f3bf[_0x3a6777(0x47f)][0x0]);for(let _0x3a297a=0x0;_0x3a297a<_0x2c2687[_0x3a6777(0x282)];_0x3a297a++){const _0x1aec67={'id':_0x3a6777(0x557),'params':{..._0x2c2687[_0x3a297a]}},_0x4d467c=this[_0x3a6777(0x1c5)][_0x3a6777(0x4f0)](_0x1fbfe0,_0x1aec67,!0x1);if(_0x35b5b8(_0x4d467c))throw _0x4d467c[_0x3a6777(0x17b)];_0x1fbfe0=_0x4d467c[_0x3a6777(0x40a)];}return{..._0x41d014['deepClone'](_0x23f3bf),'mutations':[_0x1fbfe0]};}[_0x5bb7a4(0x1a4)](_0x396b6b){const _0x5e7f68=_0x5bb7a4,{unitID:_0x58840e}=_0x396b6b,_0x172e6a=this['_renderManagerService'][_0x5e7f68(0x177)](_0x58840e)['with'](_0x4a315f),{undoCache:_0x4d517b,redoCache:_0x1b1c91}=_0x172e6a[_0x5e7f68(0x222)]();if(_0x4d517b[_0x5e7f68(0x282)]===0x0||_0x1b1c91['length']===0x0)return;const _0xe93a36=[],_0x5efcee=[];let _0x458b92=_0x41d014[_0x5e7f68(0x1d2)](_0x396b6b['mutations'][0x0]),_0x1d9cd0=_0x41d014[_0x5e7f68(0x1d2)](_0x396b6b['mutations'][0x0]);for(let _0x8edd88=_0x4d517b['length']-0x1;_0x8edd88>=0x0;_0x8edd88--){const _0xfb9827={'id':_0x5e7f68(0x557),'params':{..._0x4d517b[_0x8edd88]}},_0x1ca1b2={'id':_0x5e7f68(0x557),'params':{..._0x1b1c91[_0x8edd88]}},_0x36c076=this[_0x5e7f68(0x1c5)][_0x5e7f68(0x4f0)](_0x458b92,_0xfb9827,!0x1),_0x5c1669=this[_0x5e7f68(0x1c5)][_0x5e7f68(0x4f0)](_0x1d9cd0,_0x1ca1b2,!0x1);if(_0x35b5b8(_0x36c076))throw _0x36c076['error'];if(_0x35b5b8(_0x5c1669))throw _0x5c1669[_0x5e7f68(0x17b)];_0xe93a36[_0x5e7f68(0x32b)](_0x36c076[_0x5e7f68(0x4d6)]['params']),_0x5efcee[_0x5e7f68(0x32b)](_0x5c1669[_0x5e7f68(0x4d6)]['params']),_0x458b92=_0x36c076[_0x5e7f68(0x40a)],_0x1d9cd0=_0x5c1669[_0x5e7f68(0x40a)];}_0x172e6a['setUndoRedoMutationParamsCache']({'undoCache':_0xe93a36,'redoCache':_0x5efcee});}[_0x5bb7a4(0x1d9)](_0x161188){const _0x5179b0=_0x5bb7a4,{unitID:_0x78b57b}=_0x161188,_0x24fba6=this['_renderManagerService']['getRenderById'](_0x78b57b)[_0x5179b0(0x47c)](_0x4a315f),_0x23fc7c=_0x24fba6[_0x5179b0(0x341)]();if(_0x23fc7c==null)return;const _0x54ba53=[{'id':_0x5179b0(0x557),'params':{'unitId':_0x161188[_0x5179b0(0x4c4)],'actions':null,'textRanges':[_0x23fc7c]}}],_0x553464=this[_0x5179b0(0x1c5)]['transformMutationsWithChangeset'](_0x161188,_0x54ba53);if(!_0x5f43ea(_0x553464))throw _0x553464['error'];const _0x3b9ad3=_0x553464[_0x5179b0(0x4d6)][0x0][_0x5179b0(0x3d9)]['textRanges'];Array[_0x5179b0(0x2f4)](_0x3b9ad3)&&_0x3b9ad3[_0x5179b0(0x282)]&&_0x24fba6[_0x5179b0(0x2b6)](_0x3b9ad3[0x0]);}};ft=Jr([At(0x0,_0x22a3e1(_0x4c5160)),At(0x1,_0x2db4c4),At(0x2,_0x31d8f9)],ft);var Zr=Object[_0x5bb7a4(0x42b)],Qr=Object[_0x5bb7a4(0x4e4)],eo=(_0x1415a8,_0x566779,_0x301e25,_0x26a44f)=>{const _0x2d4861=_0x5bb7a4;for(var _0x157122=_0x26a44f>0x1?void 0x0:_0x26a44f?Qr(_0x566779,_0x301e25):_0x566779,_0x5a585c=_0x1415a8[_0x2d4861(0x282)]-0x1,_0x37826c;_0x5a585c>=0x0;_0x5a585c--)(_0x37826c=_0x1415a8[_0x5a585c])&&(_0x157122=(_0x26a44f?_0x37826c(_0x566779,_0x301e25,_0x157122):_0x37826c(_0x157122))||_0x157122);return _0x26a44f&&_0x157122&&Zr(_0x566779,_0x301e25,_0x157122),_0x157122;},Xe=(_0x24928f,_0x47d195)=>(_0x30d281,_0x41dbc6)=>_0x47d195(_0x30d281,_0x41dbc6,_0x24928f);let q=class extends _0x1caa36{constructor(_0xdf690c,_0x84f84d,_0x37f2f1,_0x2067bc,_0x2e91ec){const _0x535338=_0x5bb7a4;super(),g(this,_0x535338(0x36a),new Map()),g(this,_0x535338(0x2f2),new Map()),g(this,_0x535338(0x318),!0x1),(this[_0x535338(0x23e)]=_0xdf690c,this[_0x535338(0x27f)]=_0x84f84d,this['_beforeCloseService']=_0x37f2f1,this['_localeService']=_0x2067bc,this['_revisionService']=_0x2e91ec,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5bb7a4(0x3ca)](){this['_disabled']=!0x1;}[_0x5bb7a4(0x4d2)](){const _0x4b4066=_0x5bb7a4;this[_0x4b4066(0x550)]()[_0x4b4066(0x40e)](()=>super[_0x4b4066(0x4d2)]());}async['loadOfflineData'](_0x341984){const _0x558e66=_0x5bb7a4;return this[_0x558e66(0x318)]?null:this[_0x558e66(0x27f)][_0x558e66(0x400)](Bs(_0x341984));}async[_0x5bb7a4(0x16a)](_0x1cd4e5,_0x1bb653){const _0x4bb3df=_0x5bb7a4;return!!this[_0x4bb3df(0x27f)]['setItem'](_0x1cd4e5,_0x1bb653);}[_0x5bb7a4(0x21f)](_0x4647fa,_0x44a4f7,_0x30e7b7,_0x10ef7f){const _0x594952=_0x5bb7a4,_0x2fac64=this[_0x594952(0x54c)][_0x594952(0x3f5)](_0x4647fa);this[_0x594952(0x36a)][_0x594952(0x441)](_0x4647fa,{'unitID':_0x4647fa,'type':_0x44a4f7,'awaitingChangeset':_0x30e7b7,'mutations':_0x10ef7f,'rev':_0x2fac64}),this[_0x594952(0x2f2)][_0x594952(0x2e6)](_0x4647fa)||this['_scheduleSaving'](_0x4647fa);}[_0x5bb7a4(0x576)](_0x144e0c){const _0x10d236=_0x5bb7a4,_0x492f2f=this[_0x10d236(0x2ef)]();_0x492f2f===0x0?this[_0x10d236(0x3a2)](_0x144e0c):this[_0x10d236(0x2f2)][_0x10d236(0x441)](_0x144e0c,setTimeout(()=>this[_0x10d236(0x3a2)](_0x144e0c),_0x492f2f));}[_0x5bb7a4(0x2ef)](){const _0x2a567d=_0x5bb7a4;var _0x57fb1d;return(_0x57fb1d=this[_0x2a567d(0x23e)][_0x2a567d(0x447)](Sr))!=null?_0x57fb1d:Ir;}[_0x5bb7a4(0x3a2)](_0xf9d184){const _0x1b9cae=_0x5bb7a4,_0x50d843=this[_0x1b9cae(0x2f2)][_0x1b9cae(0x4f7)](_0xf9d184);return _0x50d843!==void 0x0&&window['clearTimeout'](_0x50d843),this['_localStorageService'][_0x1b9cae(0x411)](Bs(_0xf9d184),this[_0x1b9cae(0x36a)][_0x1b9cae(0x4f7)](_0xf9d184))[_0x1b9cae(0x40e)](()=>this[_0x1b9cae(0x2f2)][_0x1b9cae(0x3d8)](_0xf9d184));}async[_0x5bb7a4(0x550)](){const _0x592891=_0x5bb7a4,_0x3c6052=[];this[_0x592891(0x2f2)]['forEach']((_0x30afc7,_0x4e4298)=>{const _0x13be5e=_0x592891;window['clearTimeout'](_0x30afc7),_0x3c6052[_0x13be5e(0x433)](this['_saveCache'](_0x4e4298)[_0x13be5e(0x40e)](()=>{const _0x23f3c1=_0x13be5e;this[_0x23f3c1(0x2f2)][_0x23f3c1(0x3d8)](_0x4e4298);}));}),await Promise[_0x592891(0x231)](_0x3c6052);}[_0x5bb7a4(0x4e2)](){const _0x3955c4=_0x5bb7a4;this[_0x3955c4(0x368)](this[_0x3955c4(0x414)]['registerBeforeClose'](()=>{const _0x1bf112=_0x3955c4;if(this['_saveTaskMap'][_0x1bf112(0x35a)])return this[_0x1bf112(0x4ab)]['t'](_0x1bf112(0x17c));}));}};q=eo([Xe(0x0,_0x2bb536),Xe(0x1,_0x21f678),Xe(0x2,_0x3e0747),Xe(0x3,_0x22a3e1(_0x1fdc1b)),Xe(0x4,_0x22a3e1(_0x25150b))],q);function Bs(_0x259c3d){const _0x3648b6=_0x5bb7a4;return _0x3648b6(0x1ce)+_0x259c3d;}var to=Object[_0x5bb7a4(0x42b)],so=Object[_0x5bb7a4(0x4e4)],io=(_0x4a9d00,_0x3f95b7,_0xc67a32,_0x7e6241)=>{const _0x255234=_0x5bb7a4;for(var _0x1ced74=_0x7e6241>0x1?void 0x0:_0x7e6241?so(_0x3f95b7,_0xc67a32):_0x3f95b7,_0x561c76=_0x4a9d00[_0x255234(0x282)]-0x1,_0x1021f2;_0x561c76>=0x0;_0x561c76--)(_0x1021f2=_0x4a9d00[_0x561c76])&&(_0x1ced74=(_0x7e6241?_0x1021f2(_0x3f95b7,_0xc67a32,_0x1ced74):_0x1021f2(_0x1ced74))||_0x1ced74);return _0x7e6241&&_0x1ced74&&to(_0x3f95b7,_0xc67a32,_0x1ced74),_0x1ced74;},Mt=(_0x335613,_0x1f12ef)=>(_0x30fbcb,_0x4161b0)=>_0x1f12ef(_0x30fbcb,_0x4161b0,_0x335613);function no(_0x4a6464){const _0x1c7fc1=_0x5bb7a4,{unitID:_0x536e85,mutations:_0x4864bb}=_0x4a6464;return{'unitId':_0x536e85,'subUnitId':_0x4864bb[0x0][_0x1c7fc1(0x3d9)][_0x1c7fc1(0x1c9)]};}let vt=class{constructor(_0x3177d2,_0x558287,_0x54aa83){const _0x45bcb7=_0x5bb7a4;this[_0x45bcb7(0x338)]=_0x3177d2,this['_transformService']=_0x558287,this['_instanceService']=_0x54aa83;}[_0x5bb7a4(0x1a5)](_0x4d254d){const _0x5df2dd=_0x5bb7a4;var _0x400cf8,_0x6fdd09,_0x32dc67,_0x2424db;const _0x3785e5=this['_injector'][_0x5df2dd(0x4f7)](_0x11487d),{unitId:_0x1b6ad7,subUnitId:_0x30f9a0}=no(_0x4d254d),_0x24c8f9=_0x3785e5[_0x5df2dd(0x3a3)](_0x1b6ad7)[_0x5df2dd(0x171)](),_0x205ddc=(_0x6fdd09=(_0x400cf8=this[_0x5df2dd(0x194)][_0x5df2dd(0x406)](_0x1b6ad7))==null?void 0x0:_0x400cf8[_0x5df2dd(0x475)]())==null?void 0x0:_0x6fdd09['getSheetId']();if(_0x24c8f9[_0x5df2dd(0x282)]===0x0||!_0x1b6ad7||!_0x30f9a0)return;const _0x5bb8c2=[{'id':_0x544c74['id'],'params':{'unitId':_0x1b6ad7,'subUnitId':_0x205ddc,'selections':_0x41d014[_0x5df2dd(0x1d2)](_0x24c8f9)}}],_0x3054f4=this[_0x5df2dd(0x1c5)][_0x5df2dd(0x428)](_0x4d254d,_0x5bb8c2);if(!_0x5f43ea(_0x3054f4))throw _0x3054f4[_0x5df2dd(0x17b)];const _0x46e6d0=(_0x2424db=(_0x32dc67=_0x3054f4[_0x5df2dd(0x4d6)][0x0])==null?void 0x0:_0x32dc67['params'])==null?void 0x0:_0x2424db[_0x5df2dd(0x45d)];if(Array[_0x5df2dd(0x2f4)](_0x46e6d0)&&_0x46e6d0['length']){if(_0x46e6d0[_0x5df2dd(0x282)]===_0x5bb8c2[0x0][_0x5df2dd(0x3d9)][_0x5df2dd(0x45d)]['length']&&_0x46e6d0[_0x5df2dd(0x371)]((_0x5b98e2,_0x5cad59)=>_0x49e4db[_0x5df2dd(0x485)](_0x5b98e2[_0x5df2dd(0x2da)],_0x5bb8c2[0x0][_0x5df2dd(0x3d9)][_0x5df2dd(0x45d)][_0x5cad59][_0x5df2dd(0x2da)])))return;this['_injector'][_0x5df2dd(0x4f7)](_0x1e58f0)['executeCommand'](_0x544c74['id'],{'unitId':_0x1b6ad7,'subUnitId':_0x205ddc,'selections':_0x46e6d0});}}};vt=io([Mt(0x0,_0x22a3e1(_0x4c5160)),Mt(0x1,_0x2db4c4),Mt(0x2,_0x2e0534)],vt);const Rt=_0x5ce9a5('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x2632d8=>(_0x2632d8[_0x2632d8[_0x5bb7a4(0x1ee)]=0x0]=_0x5bb7a4(0x1ee),_0x2632d8[_0x2632d8['OTHER_CLIENTS_EDITING']=0x1]=_0x5bb7a4(0x1c1),_0x2632d8))(Di||{});const ks=0x7530,Ws=_0x5bb7a4(0x22e);class ro extends _0x1caa36{constructor(){const _0x4ca5a5=_0x5bb7a4;super(),g(this,'_id',_0x41d014[_0x4ca5a5(0x4d1)]()),g(this,'_selfUnitIDs',new Set()),g(this,'_unitOnClients',new Map()),g(this,_0x4ca5a5(0x367),null),g(this,'_clearOtherTimers',new Map()),g(this,'_unitStatus',new Map()),this[_0x4ca5a5(0x515)]();}[_0x5bb7a4(0x4d2)](){const _0x1b9cfc=_0x5bb7a4;super[_0x1b9cfc(0x4d2)](),this['_clearOtherTimers']['forEach']((_0x5607ad,_0x415a54)=>this[_0x1b9cfc(0x276)](_0x415a54)),this[_0x1b9cfc(0x367)]&&window[_0x1b9cfc(0x537)](this[_0x1b9cfc(0x367)]);}['getUnitStatus$'](_0x2b3f2c){const _0x6fea81=_0x5bb7a4;return this['_ensureSubject'](_0x2b3f2c)[_0x6fea81(0x3f1)](_0x2abb77());}['editingUnit'](_0x8b6095){const _0x114b05=_0x5bb7a4;this[_0x114b05(0x257)][_0x114b05(0x35a)]===0x0&&this[_0x114b05(0x2f9)](),this[_0x114b05(0x257)]['add'](_0x8b6095),this[_0x114b05(0x1c7)]({'type':0x0,'memberID':this[_0x114b05(0x452)],'unitIDs':[_0x8b6095],'isForwarded':!0x1});}['disposeUnit'](_0x1989f9){const _0x24efdd=_0x5bb7a4;this[_0x24efdd(0x257)][_0x24efdd(0x3d8)](_0x1989f9),this[_0x24efdd(0x257)][_0x24efdd(0x35a)]===0x0&&this[_0x24efdd(0x367)]&&window[_0x24efdd(0x537)](this['_heartbeatTimer']);}['_init'](){const _0x4fb89a=_0x5bb7a4;this[_0x4fb89a(0x368)](_0x7884da(_0x565a18(window,_0x4fb89a(0x3a5))[_0x4fb89a(0x519)](_0x1b1e28=>{const _0x317661=_0x4fb89a;if(_0x1b1e28[_0x317661(0x275)]!==Ws||!_0x1b1e28['newValue'])return;const _0x2ba492=JSON[_0x317661(0x57c)](_0x1b1e28[_0x317661(0x182)]);this[_0x317661(0x3bb)](_0x2ba492);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x4fb89a(0x452)],'unitIDs':Array['from'](this[_0x4fb89a(0x257)])}));}[_0x5bb7a4(0x3bb)](_0x411ea0){const _0x55d2a2=_0x5bb7a4;switch(_0x411ea0[_0x55d2a2(0x27e)]){case 0x0:this['_handleJoinEvent'](_0x411ea0);break;case 0x1:this[_0x55d2a2(0x1b4)](_0x411ea0);break;case 0x2:this[_0x55d2a2(0x383)](_0x411ea0);break;}}[_0x5bb7a4(0x340)](_0x1795ae){const _0x2da1a9=_0x5bb7a4,{unitIDs:_0x4626a6,memberID:_0x1bf1e7,isForwarded:_0x583ddf}=_0x1795ae;_0x4626a6['forEach'](_0x337ff9=>{const _0x273ba8=_0x4081;if(!_0x583ddf&&this[_0x273ba8(0x2f6)][_0x273ba8(0x2e6)](_0x337ff9)&&this['_ensureSubject'](_0x337ff9)['next'](0x1),!this[_0x273ba8(0x2f6)]['has'](_0x337ff9)||!this[_0x273ba8(0x2f6)][_0x273ba8(0x4f7)](_0x337ff9)['has'](_0x1bf1e7)){const _0x16f3ec=this[_0x273ba8(0x2f6)][_0x273ba8(0x4f7)](_0x337ff9)||new Set();_0x16f3ec[_0x273ba8(0x570)](_0x1bf1e7),this[_0x273ba8(0x2f6)][_0x273ba8(0x441)](_0x337ff9,_0x16f3ec),this[_0x273ba8(0x4b9)](_0x1bf1e7);}}),_0x583ddf||this[_0x2da1a9(0x1c7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2da1a9(0x257)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3a9414){const _0x58548f=_0x5bb7a4;this[_0x58548f(0x276)](_0x3a9414);const _0x4f5c91=window[_0x58548f(0x273)](()=>{const _0x1e234a=_0x58548f;this[_0x1e234a(0x2f6)][_0x1e234a(0x312)](_0x3a29f3=>{const _0xfdfbee=_0x1e234a;_0x3a29f3[_0xfdfbee(0x3d8)](_0x3a9414);});},ks*0x2);this[_0x58548f(0x355)]['set'](_0x3a9414,_0x4f5c91);}['_removeClearOtherTimer'](_0x3663a4){const _0x5105be=_0x5bb7a4;if(this[_0x5105be(0x355)]['has'](_0x3663a4)){const _0xa85783=this[_0x5105be(0x355)][_0x5105be(0x4f7)](_0x3663a4);_0xa85783&&window['clearTimeout'](_0xa85783),this[_0x5105be(0x355)][_0x5105be(0x441)](_0x3663a4,null);}}['_handleLeaveEvent'](_0x514da3){const _0x40a656=_0x5bb7a4,{memberID:_0x33df26,unitIDs:_0x118a30}=_0x514da3;_0x118a30[_0x40a656(0x312)](_0xe713bd=>{const _0x4ff75c=_0x40a656;var _0x13cf83;const _0x43b8dc=this[_0x4ff75c(0x2f6)][_0x4ff75c(0x4f7)](_0xe713bd);_0x43b8dc&&(_0x43b8dc[_0x4ff75c(0x3d8)](_0x33df26),(_0x13cf83=this[_0x4ff75c(0x51d)](_0xe713bd))==null||_0x13cf83[_0x4ff75c(0x3ff)](_0x43b8dc[_0x4ff75c(0x35a)]===0x0?0x0:0x1));}),this[_0x40a656(0x276)](_0x33df26);}['_handleHeartbeatEvent'](_0x2b2a5b){const _0x442df8=_0x5bb7a4;this['_scheduleClearOtherTimer'](_0x2b2a5b[_0x442df8(0x2a3)]);}[_0x5bb7a4(0x1c7)](_0x5119e0){const _0x84a86c=_0x5bb7a4;localStorage[_0x84a86c(0x411)](Ws,JSON[_0x84a86c(0x303)](_0x5119e0));}[_0x5bb7a4(0x2f9)](){const _0x4d207e=_0x5bb7a4;this[_0x4d207e(0x367)]=window[_0x4d207e(0x215)](()=>{const _0x1deb54=_0x4d207e;this[_0x1deb54(0x1c7)]({'type':0x2,'memberID':this[_0x1deb54(0x452)]});},ks);}[_0x5bb7a4(0x51d)](_0x351e5d){const _0x5305e1=_0x5bb7a4;return this[_0x5305e1(0x427)][_0x5305e1(0x2e6)](_0x351e5d)||this['_unitStatus'][_0x5305e1(0x441)](_0x351e5d,new _0x348a88(0x0)),this['_unitStatus'][_0x5305e1(0x4f7)](_0x351e5d);}}var oo=Object[_0x5bb7a4(0x42b)],ao=Object['getOwnPropertyDescriptor'],co=(_0x113839,_0x283493,_0x275afd,_0x38ae04)=>{const _0x50e246=_0x5bb7a4;for(var _0x4d26c8=_0x38ae04>0x1?void 0x0:_0x38ae04?ao(_0x283493,_0x275afd):_0x283493,_0x32ba13=_0x113839[_0x50e246(0x282)]-0x1,_0x2c1fc2;_0x32ba13>=0x0;_0x32ba13--)(_0x2c1fc2=_0x113839[_0x32ba13])&&(_0x4d26c8=(_0x38ae04?_0x2c1fc2(_0x283493,_0x275afd,_0x4d26c8):_0x2c1fc2(_0x4d26c8))||_0x4d26c8);return _0x38ae04&&_0x4d26c8&&oo(_0x283493,_0x275afd,_0x4d26c8),_0x4d26c8;},xt=(_0x28c068,_0x114171)=>(_0x2280b8,_0x2b4842)=>_0x114171(_0x2280b8,_0x2b4842,_0x28c068);let mt=class{constructor(_0x15834c,_0x1e64de,_0x433256){const _0x3d186a=_0x5bb7a4;this[_0x3d186a(0x338)]=_0x15834c,this[_0x3d186a(0x1c5)]=_0x1e64de,this['_docStateChangeManagerService']=_0x433256;}[_0x5bb7a4(0x302)](_0x2e88ef){const _0x38a62b=_0x5bb7a4;this[_0x38a62b(0x37b)](_0x2e88ef);}['transformRemoteChangeset'](_0x51599d){const _0x17b33e=_0x5bb7a4,{unitID:_0x12f027}=_0x51599d,{collaboration:_0x25bd68}=this[_0x17b33e(0x4de)][_0x17b33e(0x31a)](_0x12f027);if(_0x25bd68[_0x17b33e(0x282)]===0x0)return _0x51599d;let _0x367bb1=_0x41d014[_0x17b33e(0x1d2)](_0x51599d[_0x17b33e(0x47f)][0x0]);for(let _0x5e723f=0x0;_0x5e723f<_0x25bd68[_0x17b33e(0x282)];_0x5e723f++){const _0x245a8b={'id':_0x17b33e(0x557),'params':{'unitId':_0x25bd68[_0x5e723f][_0x17b33e(0x55d)],..._0x25bd68[_0x5e723f][_0x17b33e(0x1bf)]}},_0x208c70=this['_transformService'][_0x17b33e(0x4f0)](_0x367bb1,_0x245a8b,!0x1);if(_0x35b5b8(_0x208c70))throw _0x208c70['error'];_0x367bb1=_0x208c70[_0x17b33e(0x40a)];}return{..._0x41d014[_0x17b33e(0x1d2)](_0x51599d),'mutations':[_0x367bb1]};}[_0x5bb7a4(0x37b)](_0x4479b8){const _0x4b8aa7=_0x5bb7a4,{unitID:_0x195b9c}=_0x4479b8,{history:_0xe91dbf,collaboration:_0x58cab9}=this['_docStateChangeManagerService'][_0x4b8aa7(0x31a)](_0x195b9c);if(_0xe91dbf[_0x4b8aa7(0x282)]===0x0&&_0x58cab9[_0x4b8aa7(0x282)]===0x0)return;const _0x88a30d=[],_0x483d0c=[];let _0x509bf1=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8['mutations'][0x0]),_0x51a9d3=_0x41d014['deepClone'](_0x4479b8[_0x4b8aa7(0x47f)][0x0]);for(let _0x5b2141=_0xe91dbf[_0x4b8aa7(0x282)]-0x1;_0x5b2141>=0x0;_0x5b2141--){const _0x2be9f6={'id':_0x4b8aa7(0x557),'params':{'unitId':_0xe91dbf[_0x5b2141][_0x4b8aa7(0x55d)],..._0xe91dbf[_0x5b2141][_0x4b8aa7(0x4b1)]}},_0x2024e2={'id':_0x4b8aa7(0x557),'params':{'unitId':_0xe91dbf[_0x5b2141][_0x4b8aa7(0x55d)],..._0xe91dbf[_0x5b2141][_0x4b8aa7(0x1bf)]}},_0x3f3ffa=this[_0x4b8aa7(0x1c5)]['transformMutation'](_0x509bf1,_0x2be9f6,!0x1),_0x9769f1=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x51a9d3,_0x2024e2,!0x1);if(_0x35b5b8(_0x3f3ffa))throw _0x3f3ffa[_0x4b8aa7(0x17b)];if(_0x35b5b8(_0x9769f1))throw _0x9769f1['error'];_0x88a30d[_0x4b8aa7(0x32b)]({..._0xe91dbf[_0x5b2141],'undoState':_0x3f3ffa[_0x4b8aa7(0x4d6)]['params'],'redoState':_0x9769f1[_0x4b8aa7(0x4d6)]['params']}),_0x509bf1=_0x3f3ffa['m1Prime'],_0x51a9d3=_0x9769f1[_0x4b8aa7(0x40a)];}_0x509bf1=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8[_0x4b8aa7(0x47f)][0x0]),_0x51a9d3=_0x41d014[_0x4b8aa7(0x1d2)](_0x4479b8[_0x4b8aa7(0x47f)][0x0]);for(let _0x5194d1=_0x58cab9['length']-0x1;_0x5194d1>=0x0;_0x5194d1--){const _0x1f5684={'id':_0x4b8aa7(0x557),'params':{'unitId':_0x58cab9[_0x5194d1][_0x4b8aa7(0x55d)],..._0x58cab9[_0x5194d1]['undoState']}},_0xc275a7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58cab9[_0x5194d1][_0x4b8aa7(0x55d)],..._0x58cab9[_0x5194d1][_0x4b8aa7(0x1bf)]}},_0x1b97a3=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x509bf1,_0x1f5684,!0x1),_0x236200=this[_0x4b8aa7(0x1c5)][_0x4b8aa7(0x4f0)](_0x51a9d3,_0xc275a7,!0x1);if(_0x35b5b8(_0x1b97a3))throw _0x1b97a3[_0x4b8aa7(0x17b)];if(_0x35b5b8(_0x236200))throw _0x236200['error'];_0x483d0c['unshift']({..._0x58cab9[_0x5194d1],'undoState':_0x1b97a3[_0x4b8aa7(0x4d6)][_0x4b8aa7(0x3d9)],'redoState':_0x236200[_0x4b8aa7(0x4d6)]['params']}),_0x509bf1=_0x1b97a3[_0x4b8aa7(0x40a)],_0x51a9d3=_0x236200[_0x4b8aa7(0x40a)];}this[_0x4b8aa7(0x4de)][_0x4b8aa7(0x32c)](_0x195b9c,{'history':_0x88a30d,'collaboration':_0x483d0c});}};mt=co([xt(0x0,_0x22a3e1(_0x4c5160)),xt(0x1,_0x2db4c4),xt(0x2,_0x22a3e1(_0x1b1fa1))],mt);function Pi(_0x50187b){const _0x514634=_0x5bb7a4;let _0x211ad6='';for(const _0x4e3710 of _0x50187b){const {startOffset:_0x2f6ed5,endOffset:_0x36e5d8,isActive:_0x24043b,rangeType:_0x215c58,segmentId:_0x48d285,segmentPage:_0x4e51fe}=_0x4e3710;_0x211ad6[_0x514634(0x282)]&&(_0x211ad6+=','),_0x211ad6+=_0x2f6ed5+':'+_0x36e5d8+':'+(_0x24043b?'1':'0')+':'+_0x215c58+':'+_0x48d285+':'+_0x4e51fe;}return _0x211ad6;}function ho(_0x568644){const _0x5e64b3=_0x5bb7a4,_0x564df5=_0x568644[_0x5e64b3(0x19d)](','),_0xe56c1d=[];for(const _0x11d6b9 of _0x564df5){const [_0x3eb31e,_0x62c7c4,_0x3187a,_0x2bd807,_0x22b1e1,_0x25dfeb]=_0x11d6b9[_0x5e64b3(0x19d)](':');_0xe56c1d[_0x5e64b3(0x433)]({'startOffset':Number(_0x3eb31e),'endOffset':Number(_0x62c7c4),'collapsed':_0x3eb31e===_0x62c7c4,'isActive':_0x3187a==='1','rangeType':_0x2bd807===_0x569c02[_0x5e64b3(0x211)]?_0x569c02['TEXT']:_0x569c02['RECT'],'segmentId':typeof _0x22b1e1==_0x5e64b3(0x40c)?String(_0x22b1e1):'','segmentPage':Number(_0x25dfeb!=null?_0x25dfeb:-0x1)});}return _0xe56c1d[_0x5e64b3(0x22b)](_0x117789=>_0x117789[_0x5e64b3(0x3d6)])||(_0xe56c1d[0x0][_0x5e64b3(0x3d6)]=!0x0),_0xe56c1d;}class Cs extends _0x177a9e{constructor(){const _0x2a1dff=_0x5bb7a4;super(...arguments),g(this,'_collabCursorState$',new _0x348a88(null)),g(this,_0x2a1dff(0x3e3),this[_0x2a1dff(0x480)][_0x2a1dff(0x1a6)]());}[_0x5bb7a4(0x4be)](_0x54428e){const _0x157282=_0x5bb7a4,{unitID:_0x16f811,memberID:_0x1946b7,textRanges:_0x4aa854}=_0x54428e,_0xf1c90a=Pi(_0x4aa854);if(_0xf1c90a==='')return;const _0xb9a56e={'unitID':_0x16f811,'memberID':_0x1946b7,'selection':_0xf1c90a};this[_0x157282(0x480)][_0x157282(0x3ff)](_0xb9a56e);}}var lo=Object[_0x5bb7a4(0x42b)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x55459c,_0x75ba39,_0x2de080,_0x2fa0fe)=>{const _0x13a3a1=_0x5bb7a4;for(var _0x44f906=_0x2fa0fe>0x1?void 0x0:_0x2fa0fe?_o(_0x75ba39,_0x2de080):_0x75ba39,_0xbb16=_0x55459c[_0x13a3a1(0x282)]-0x1,_0x5eb527;_0xbb16>=0x0;_0xbb16--)(_0x5eb527=_0x55459c[_0xbb16])&&(_0x44f906=(_0x2fa0fe?_0x5eb527(_0x75ba39,_0x2de080,_0x44f906):_0x5eb527(_0x44f906))||_0x44f906);return _0x2fa0fe&&_0x44f906&&lo(_0x75ba39,_0x2de080,_0x44f906),_0x44f906;},Fs=(_0x17adf6,_0x369d93)=>(_0xc17ed5,_0x5a1493)=>_0x369d93(_0xc17ed5,_0x5a1493,_0x17adf6);let pt=class{constructor(_0x120943,_0x705f1a){const _0x54007c=_0x5bb7a4;this[_0x54007c(0x338)]=_0x120943,this[_0x54007c(0x1c5)]=_0x705f1a;}[_0x5bb7a4(0x1a5)](_0x284dc0){const _0x34e9ce=_0x5bb7a4;var _0x5c9fdd;const _0x2b1cbe=this[_0x34e9ce(0x338)][_0x34e9ce(0x4f7)](_0x4ce6e6),_0x5c49b4=(_0x5c9fdd=_0x2b1cbe[_0x34e9ce(0x1c3)]())!=null?_0x5c9fdd:[];if(_0x5c49b4[_0x34e9ce(0x282)]===0x0)return;const _0x2b573a=_0x284dc0[_0x34e9ce(0x4c4)],_0x187a0a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b573a,'actions':null,'textRanges':_0x5c49b4}}],_0x7ea6f6=this['_transformService'][_0x34e9ce(0x428)](_0x284dc0,_0x187a0a);if(!_0x5f43ea(_0x7ea6f6))throw _0x7ea6f6[_0x34e9ce(0x17b)];const _0x1e81ce=_0x7ea6f6[_0x34e9ce(0x4d6)][0x0][_0x34e9ce(0x3d9)][_0x34e9ce(0x2a0)];Array[_0x34e9ce(0x2f4)](_0x1e81ce)&&_0x1e81ce[_0x34e9ce(0x282)]&&_0x2b1cbe[_0x34e9ce(0x2b5)](_0x1e81ce,{'unitId':_0x2b573a,'subUnitId':_0x2b573a},!0x1);}};pt=uo([Fs(0x0,_0x22a3e1(_0x4c5160)),Fs(0x1,_0x2db4c4)],pt);const fo=new Set([_0x2dfe93['id']]);function Vs(_0x1c67c8,_0x2c67d0,_0x46ada1,_0x43d1d8,_0x5bce87){const _0x148b45=_0x5bb7a4;var _0x234556,_0x13e3e0,_0x232e2c,_0x3ee699;const _0x66ae3d=[];for(const _0x430568 of _0x1c67c8)if(fo[_0x148b45(0x2e6)](_0x430568['id'])){if(_0x66ae3d[_0x148b45(0x282)]>0x0)break;_0x66ae3d[_0x148b45(0x433)](_0x430568);break;}else _0x66ae3d['push'](_0x430568);const _0x599c79=(_0x13e3e0=(_0x234556=_0x5bce87[_0x148b45(0x3b9)]())==null?void 0x0:_0x234556[_0x148b45(0x1e3)])!=null?_0x13e3e0:_0x148b45(0x329),_0x59d302=(_0x3ee699=(_0x232e2c=_0x5bce87['getCurrentUser']())==null?void 0x0:_0x232e2c[_0x148b45(0x2a3)])!=null?_0x3ee699:_0x148b45(0x329);return{'changeset':{'unitID':_0x2c67d0,'type':_0x32a7fd(_0x46ada1[_0x148b45(0x17f)](_0x2c67d0)),'baseRev':_0x43d1d8[_0x148b45(0x3f5)](_0x2c67d0),'revision':0x0,'userID':_0x599c79,'memberID':_0x59d302,'mutations':_0x66ae3d},'pendingMutations':_0x1c67c8[_0x148b45(0x3e2)](_0x66ae3d['length'])};}function vo(_0x300272,_0x4b0e30,_0x567380,_0x4f79bc,_0x3e5545){const _0x57d0b0=_0x5bb7a4;var _0x13740f,_0x3ec54a,_0x94178f,_0x3ef86e;const _0x5a9e7f=[_0x300272['reduce']((_0x34a7e0,_0x333702)=>{const _0x3854ed=_0x4081;var _0x34d3b8;const {id:_0x36fada}=_0x34a7e0,{id:_0x691a51,type:_0x35674a}=_0x333702,_0x7dfc7d=(_0x34d3b8=_0x34a7e0[_0x3854ed(0x3d9)])!=null?_0x34d3b8:{'actions':null},_0x325670=_0x333702[_0x3854ed(0x3d9)];if(_0x36fada&&_0x36fada!==_0x691a51)throw new Error(_0x3854ed(0x3a7)+_0x36fada+_0x3854ed(0x47d)+_0x691a51+'.');return{..._0x34a7e0,'id':_0x691a51,'type':_0x35674a,'params':{'unitId':_0x325670['unitId'],'textRanges':_0x325670[_0x3854ed(0x2a0)],'actions':_0x22592d[_0x3854ed(0x310)](_0x7dfc7d['actions'],_0x325670[_0x3854ed(0x37d)])}};},{})],_0x20093c=(_0x3ec54a=(_0x13740f=_0x3e5545['getCurrentUser']())==null?void 0x0:_0x13740f[_0x57d0b0(0x1e3)])!=null?_0x3ec54a:_0x57d0b0(0x329),_0x1a77f1=(_0x3ef86e=(_0x94178f=_0x3e5545[_0x57d0b0(0x3b9)]())==null?void 0x0:_0x94178f[_0x57d0b0(0x2a3)])!=null?_0x3ef86e:_0x57d0b0(0x329);return{'changeset':{'unitID':_0x4b0e30,'type':_0x32a7fd(_0x567380[_0x57d0b0(0x17f)](_0x4b0e30)),'baseRev':_0x4f79bc[_0x57d0b0(0x3f5)](_0x4b0e30),'revision':0x0,'userID':_0x20093c,'memberID':_0x1a77f1,'mutations':_0x5a9e7f},'pendingMutations':[]};}function Ui(_0x21d06c,_0xd49d08){const _0x3986cc=_0x5bb7a4,_0x72621f=new _0x5c726e(0x1);return setTimeout(()=>_0x72621f[_0x3986cc(0x3ff)](_0xd49d08),_0x21d06c),_0x72621f['asObservable']()['pipe'](_0x35f71d(0x1));}const mo={'id':_0x224c7f['id'],'type':_0x5bf26c[_0x5bb7a4(0x233)],'params':{}};var po=Object[_0x5bb7a4(0x42b)],go=Object[_0x5bb7a4(0x4e4)],Le=(_0x39e3d9,_0x3bab2d,_0x493e90,_0x380eef)=>{const _0x536c19=_0x5bb7a4;for(var _0x206a79=_0x380eef>0x1?void 0x0:_0x380eef?go(_0x3bab2d,_0x493e90):_0x3bab2d,_0x24da5c=_0x39e3d9[_0x536c19(0x282)]-0x1,_0xb7e8ac;_0x24da5c>=0x0;_0x24da5c--)(_0xb7e8ac=_0x39e3d9[_0x24da5c])&&(_0x206a79=(_0x380eef?_0xb7e8ac(_0x3bab2d,_0x493e90,_0x206a79):_0xb7e8ac(_0x206a79))||_0x206a79);return _0x380eef&&_0x206a79&&po(_0x3bab2d,_0x493e90,_0x206a79),_0x206a79;},A=(_0x59c37d,_0x3109bd)=>(_0x25270e,_0x1a00d4)=>_0x3109bd(_0x25270e,_0x1a00d4,_0x59c37d),J=(_0x30e597=>(_0x30e597[_0x5bb7a4(0x410)]='not_collab',_0x30e597[_0x5bb7a4(0x50e)]='synced',_0x30e597[_0x5bb7a4(0x4e8)]=_0x5bb7a4(0x28b),_0x30e597[_0x5bb7a4(0x2f3)]=_0x5bb7a4(0x31b),_0x30e597[_0x5bb7a4(0x256)]=_0x5bb7a4(0x2ca),_0x30e597[_0x5bb7a4(0x40b)]='fetch_missing',_0x30e597[_0x5bb7a4(0x287)]=_0x5bb7a4(0x438),_0x30e597[_0x5bb7a4(0x23a)]=_0x5bb7a4(0x4ed),_0x30e597))(J||{});const Ni=0xea60;class $e{constructor(_0xbedce3,_0x676562,_0x20e717,_0x42272f,_0x565360,_0x2719e8,_0x5063c9,_0x141868,_0x129906){const _0x477211=_0x5bb7a4;g(this,'_awaitingChangeset',null),g(this,'_pendingMutations',[]),(this[_0x477211(0x4c4)]=_0xbedce3,this[_0x477211(0x27e)]=_0x676562,this[_0x477211(0x29c)]=_0x565360,this[_0x477211(0x53f)]=_0x2719e8,this[_0x477211(0x4bc)]=_0x5063c9,this[_0x477211(0x54c)]=_0x141868,this[_0x477211(0x46d)]=_0x129906,this[_0x477211(0x364)]=_0x20e717,this['_pendingMutations']=_0x42272f);}['_checkMissing'](_0x4a96d0){const _0x4b5f85=_0x5bb7a4,_0xcde877=this['_revisionService'][_0x4b5f85(0x3f5)](this['unitID']);return _0x4a96d0['revision']>_0xcde877+0x1?(this['_handler'][_0x4b5f85(0x46b)]({'from':_0xcde877,'to':_0x4a96d0['revision']-0x1}),!0x0):!0x1;}[_0x5bb7a4(0x35e)](_0x567601){const _0x53cd8d=_0x5bb7a4;this[_0x53cd8d(0x4bc)]['transformUndoRedo'](this[_0x53cd8d(0x4c4)],_0x567601);}['_transformSelections'](_0x168b85){const _0x31c330=_0x5bb7a4;var _0x2c7084,_0x3a3b1f;(_0x3a3b1f=(_0x2c7084=this[_0x31c330(0x29c)])[_0x31c330(0x432)])==null||_0x3a3b1f[_0x31c330(0x1f6)](_0x2c7084,_0x168b85);}[_0x5bb7a4(0x16c)](_0x3c1eb9){const _0x35c4d7=_0x5bb7a4;var _0x3ea7df,_0x44a01f;return(_0x44a01f=(_0x3ea7df=this['_handler'])[_0x35c4d7(0x4a5)])==null?void 0x0:_0x44a01f[_0x35c4d7(0x1f6)](_0x3ea7df,_0x3c1eb9);}[_0x5bb7a4(0x242)](_0x2506ab){const _0x233fa4=_0x5bb7a4;var _0x22b4dc,_0x40cadb;return(_0x40cadb=(_0x22b4dc=this[_0x233fa4(0x29c)])[_0x233fa4(0x3e6)])==null?void 0x0:_0x40cadb[_0x233fa4(0x1f6)](_0x22b4dc,_0x2506ab);}[_0x5bb7a4(0x232)](_0x269576){const _0x259131=_0x5bb7a4;var _0x2a1c34,_0x286018,_0x1bfb99;return(_0x1bfb99=(_0x286018=(_0x2a1c34=this[_0x259131(0x29c)])[_0x259131(0x1bd)])==null?void 0x0:_0x286018['call'](_0x2a1c34,_0x269576))!=null?_0x1bfb99:_0x269576;}[_0x5bb7a4(0x22a)](_0xed76b6){const _0x3c6223=_0x5bb7a4;var _0x387da5,_0x4b3b8e,_0x150f51;return(_0x150f51=(_0x4b3b8e=(_0x387da5=this[_0x3c6223(0x29c)])[_0x3c6223(0x25f)])==null?void 0x0:_0x4b3b8e['call'](_0x387da5,_0xed76b6))!=null?_0x150f51:_0xed76b6;}[_0x5bb7a4(0x2f5)](_0x2ba6c2){const _0xa0769d=_0x5bb7a4;var _0x4391e0,_0x35edc9;if(this['type']===ce[_0xa0769d(0x172)]){const {unitID:_0x16675d,mutations:_0x2265c4,memberID:_0x30bd6d}=_0x2ba6c2,_0x2a6593=_0x2265c4[0x0][_0xa0769d(0x3d9)][_0xa0769d(0x2a0)];Array[_0xa0769d(0x2f4)](_0x2a6593)&&_0x2a6593[_0xa0769d(0x282)]>0x0&&((_0x35edc9=(_0x4391e0=this[_0xa0769d(0x29c)])[_0xa0769d(0x559)])==null||_0x35edc9[_0xa0769d(0x1f6)](_0x4391e0,{'unitID':_0x16675d,'memberID':_0x30bd6d,'textRanges':_0x2a6593}));}}['_updateLocalCache'](){const _0x48dd55=_0x5bb7a4;this[_0x48dd55(0x46d)][_0x48dd55(0x21f)](this[_0x48dd55(0x4c4)],this['type'],this[_0x48dd55(0x364)],this[_0x48dd55(0x309)]);}[_0x5bb7a4(0x1eb)](){const _0x44555a=_0x5bb7a4;return this[_0x44555a(0x54c)][_0x44555a(0x3f5)](this[_0x44555a(0x4c4)]);}[_0x5bb7a4(0x283)](){const _0x5c3abb=_0x5bb7a4;this[_0x5c3abb(0x54c)]['incrementRevOfUnit'](this[_0x5c3abb(0x4c4)]);}[_0x5bb7a4(0x541)](_0xb19fb7){const _0x540c90=_0x5bb7a4;var _0xb84850;let _0x5967df=this[_0x540c90(0x232)](_0xb19fb7);_0x5967df=this[_0x540c90(0x22a)](_0x5967df);const _0x256187=_0x9b12cf(_0x5967df[_0x540c90(0x47f)],this[_0x540c90(0x53f)],{'fromCollab':!0x0});if(!_0x256187[_0x540c90(0x1b0)])throw _0x256187[_0x540c90(0x17b)]instanceof Error?_0x256187[_0x540c90(0x17b)]:new Error((_0xb84850=_0x256187[_0x540c90(0x17b)])!=null?_0xb84850:'[CollaborationState]:\x20apply\x20error!');this[_0x540c90(0x16c)](_0x5967df),this[_0x540c90(0x242)](_0x5967df),this[_0x540c90(0x35e)](_0xb19fb7),this[_0x540c90(0x50d)](_0x5967df),this[_0x540c90(0x2f5)](_0x5967df),this[_0x540c90(0x283)]();}}let Fe=class extends $e{constructor(_0x4f9748,_0x5d67f8,_0x176d2c,_0x1bd1f0,_0x4a1f08,_0x49f08d,_0x33f884,_0x2aa533,_0x8f02fd,_0x52ab78){const _0x3b9efe=_0x5bb7a4;super(_0x4f9748,_0x5d67f8,null,[],_0x176d2c,_0x2aa533,_0x33f884,_0x1bd1f0,_0x4a1f08),g(this,'status',_0x3b9efe(0x4b0)),(this[_0x3b9efe(0x338)]=_0x49f08d,this[_0x3b9efe(0x26e)]=_0x8f02fd,this[_0x3b9efe(0x1c5)]=_0x52ab78);}[_0x5bb7a4(0x260)](_0x3e3518){const _0x2d3401=_0x5bb7a4,_0x807bd4=this[_0x2d3401(0x338)][_0x2d3401(0x30c)](pe,this[_0x2d3401(0x4c4)],this[_0x2d3401(0x27e)],[_0x3e3518],this['_handler']);return _0x807bd4[_0x2d3401(0x422)](),_0x807bd4[_0x2d3401(0x4f4)](),_0x807bd4;}[_0x5bb7a4(0x38e)](_0x4d15dc){const _0x8953c2=_0x5bb7a4;if(this[_0x8953c2(0x547)](_0x4d15dc))return this[_0x8953c2(0x338)]['createInstance'](he,this[_0x8953c2(0x4c4)],this[_0x8953c2(0x27e)],null,[],null,[_0x4d15dc],this['_handler']);try{const _0x523e02=this['_transformService'][_0x8953c2(0x428)](_0x4d15dc,[mo]);if(_0x5f43ea(_0x523e02)){const {c1Prime:_0x294cb0}=_0x523e02;return this[_0x8953c2(0x541)](_0x294cb0),this;}throw _0x523e02['error'];}catch(_0x419c10){return this[_0x8953c2(0x26e)][_0x8953c2(0x17b)](_0x419c10),this[_0x8953c2(0x2d2)](!0x1);}}[_0x5bb7a4(0x2d2)](_0x447e87){const _0x52cf8f=_0x5bb7a4;return this[_0x52cf8f(0x338)][_0x52cf8f(0x30c)](Re,this[_0x52cf8f(0x4c4)],this[_0x52cf8f(0x27e)],null,[],this[_0x52cf8f(0x29c)],_0x447e87);}[_0x5bb7a4(0x30e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x5bb7a4(0x2eb)](){const _0x139052=_0x5bb7a4;throw new Error(_0x139052(0x3b1));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x214e5b=_0x5bb7a4;return this[_0x214e5b(0x338)][_0x214e5b(0x30c)](ye,this[_0x214e5b(0x4c4)],this[_0x214e5b(0x27e)],null,[],this[_0x214e5b(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}['resend'](){const _0x17a636=_0x5bb7a4;throw new Error(_0x17a636(0x3bf));}[_0x5bb7a4(0x560)](){const _0xce9466=_0x5bb7a4,_0x49d018=this[_0xce9466(0x54c)][_0xce9466(0x3f5)](this[_0xce9466(0x4c4)]);return this[_0xce9466(0x29c)][_0xce9466(0x46b)]({'from':_0x49d018,'to':0x0}),this[_0xce9466(0x338)]['createInstance'](he,this[_0xce9466(0x4c4)],this[_0xce9466(0x27e)],null,[],null,[],this['_handler']);}};Fe=Le([A(0x3,_0x22a3e1(_0x25150b)),A(0x4,_0x22a3e1(q)),A(0x5,_0x22a3e1(_0x4c5160)),A(0x6,_0x131129),A(0x7,_0x1e58f0),A(0x8,_0x3efec9),A(0x9,_0x2db4c4)],Fe);let pe=class extends $e{constructor(_0x3edbf4,_0x4c7db8,_0xa92ce8,_0xbfe2d9,_0x2a829f,_0x5be449,_0x1f75a3,_0xe82d45,_0x5d3c79,_0xaf7289,_0x2a3df2,_0x5238ed,_0xfd9cb1,_0x6ee37d){const _0x3d02de=_0x5bb7a4;super(_0x3edbf4,_0x4c7db8,null,_0xa92ce8,_0xbfe2d9,_0xaf7289,_0x6ee37d,_0x5be449,_0x1f75a3),g(this,_0x3d02de(0x1ff),_0x3d02de(0x28b)),g(this,_0x3d02de(0x39b),null),g(this,'_sendingTimer',null),(this[_0x3d02de(0x338)]=_0x2a829f,this[_0x3d02de(0x49f)]=_0xe82d45,this['_logService']=_0x5d3c79,this[_0x3d02de(0x23e)]=_0x2a3df2,this[_0x3d02de(0x1c5)]=_0x5238ed,this[_0x3d02de(0x21d)]=_0xfd9cb1);}[_0x5bb7a4(0x260)](_0x202ec8){const _0x373919=_0x5bb7a4;return this[_0x373919(0x309)][_0x373919(0x433)](_0x202ec8),this[_0x373919(0x4f4)](),this;}['onRemoteChangeset'](_0x51a5d2){const _0x259bc5=_0x5bb7a4;if(this[_0x259bc5(0x547)](_0x51a5d2))return this[_0x259bc5(0x3c2)](),this[_0x259bc5(0x338)][_0x259bc5(0x30c)](he,this[_0x259bc5(0x4c4)],this[_0x259bc5(0x27e)],null,this[_0x259bc5(0x309)],null,[_0x51a5d2],this[_0x259bc5(0x29c)]);try{const _0x49ad71=this['_transformService'][_0x259bc5(0x428)](_0x51a5d2,this[_0x259bc5(0x309)]);if(_0x5f43ea(_0x49ad71)){const {c1Prime:_0x5ac0dd,m2Prime:_0x32d2a4}=_0x49ad71;this[_0x259bc5(0x541)](_0x5ac0dd);const _0x27caa9=this[_0x259bc5(0x338)][_0x259bc5(0x30c)](pe,this['unitID'],this[_0x259bc5(0x27e)],_0x32d2a4,this[_0x259bc5(0x29c)]);return this[_0x259bc5(0x3c2)](),_0x27caa9[_0x259bc5(0x422)](this[_0x259bc5(0x39b)]?Math['max'](0x0,new Date()[_0x259bc5(0x2c2)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x27caa9;}throw _0x49ad71['error'];}catch(_0x189a2c){return this[_0x259bc5(0x26e)][_0x259bc5(0x17b)](_0x189a2c),this[_0x259bc5(0x2d2)](!0x1);}}[_0x5bb7a4(0x30e)](){const _0x5d1f65=_0x5bb7a4;throw new Error(_0x5d1f65(0x47a));}[_0x5bb7a4(0x2eb)](){const _0x49f3f7=_0x5bb7a4;throw new Error(_0x49f3f7(0x584));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x3cf014=_0x5bb7a4;return this[_0x3cf014(0x3c2)](),this[_0x3cf014(0x338)][_0x3cf014(0x30c)](ye,this[_0x3cf014(0x4c4)],this['type'],null,this[_0x3cf014(0x309)],this[_0x3cf014(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x422)](_0x36393a){const _0x27d283=_0x5bb7a4,_0x12df44=_0x36393a!=null?_0x36393a:this[_0x27d283(0x2be)]();this[_0x27d283(0x39b)]=new Date()[_0x27d283(0x2c2)](),this['_sendingTimer']=window[_0x27d283(0x273)](()=>{const _0x156f0a=_0x27d283;this[_0x156f0a(0x3c2)]();let _0x1af267=null;switch(this['type']){case ce[_0x156f0a(0x55b)]:{_0x1af267=Vs(this[_0x156f0a(0x309)],this[_0x156f0a(0x4c4)],this['_univerInstanceService'],this['_revisionService'],this[_0x156f0a(0x49f)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x156f0a(0x371)](_0x12cb6c=>_0x12cb6c['id']===_0x185e84['id'])?_0x1af267=vo(this['_pendingMutations'],this[_0x156f0a(0x4c4)],this[_0x156f0a(0x21d)],this[_0x156f0a(0x54c)],this[_0x156f0a(0x49f)]):_0x1af267=Vs(this[_0x156f0a(0x309)],this[_0x156f0a(0x4c4)],this[_0x156f0a(0x21d)],this[_0x156f0a(0x54c)],this[_0x156f0a(0x49f)]);break;}default:throw new Error(_0x156f0a(0x17a)+this['type']+_0x156f0a(0x1a2));}const {changeset:_0x4d4613,pendingMutations:_0x5f52ba}=_0x1af267;this[_0x156f0a(0x29c)][_0x156f0a(0x2e8)](_0x4d4613);const _0x5cd02c=_0x5f52ba['length']?this[_0x156f0a(0x338)][_0x156f0a(0x30c)](ge,this['unitID'],this[_0x156f0a(0x27e)],_0x4d4613,_0x5f52ba,this[_0x156f0a(0x29c)],void 0x0):this['_injector'][_0x156f0a(0x30c)](Te,this['unitID'],this[_0x156f0a(0x27e)],_0x4d4613,this[_0x156f0a(0x29c)]);_0x5cd02c[_0x156f0a(0x4f4)](),this[_0x156f0a(0x29c)][_0x156f0a(0x4a0)](this,_0x5cd02c);},_0x12df44);}[_0x5bb7a4(0x2be)](){const _0x5cd9f6=_0x5bb7a4;var _0x53d744;const _0x5c6e95=this[_0x5cd9f6(0x23e)]['getConfig'](ie);return(_0x53d744=_0x5c6e95==null?void 0x0:_0x5c6e95[_0x5cd9f6(0x56a)])!=null?_0x53d744:_r;}['resend'](){const _0x443163=_0x5bb7a4;throw new Error(_0x443163(0x35d));}['_clearScheduledTask'](){const _0x599304=_0x5bb7a4;this['_sendingTimer']!=null&&(clearTimeout(this[_0x599304(0x3e7)]),this['_sendingTimer']=null);}[_0x5bb7a4(0x2d2)](_0x34971f){const _0x26c8c1=_0x5bb7a4;return this[_0x26c8c1(0x3c2)](),this[_0x26c8c1(0x338)]['createInstance'](Re,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x26c8c1(0x29c)],_0x34971f);}};pe=Le([A(0x4,_0x22a3e1(_0x4c5160)),A(0x5,_0x22a3e1(_0x25150b)),A(0x6,_0x22a3e1(q)),A(0x7,_0x22a3e1(Ne)),A(0x8,_0x3efec9),A(0x9,_0x1e58f0),A(0xa,_0x2bb536),A(0xb,_0x2db4c4),A(0xc,_0x2e0534),A(0xd,_0x131129)],pe);let Te=class extends $e{constructor(_0xd7a5d,_0x377c63,_0x24771b,_0x3770a5,_0x12f163,_0x2f880a,_0x2e10bf,_0x1d8b66,_0x47c7ed,_0xdbcfb4,_0x2d7a31){const _0x3e8a7e=_0x5bb7a4;super(_0xd7a5d,_0x377c63,_0x24771b,[],_0x3770a5,_0x1d8b66,_0x2d7a31,_0x2f880a,_0x2e10bf),g(this,_0x3e8a7e(0x1ff),_0x3e8a7e(0x31b)),g(this,_0x3e8a7e(0x54d),0x0),g(this,_0x3e8a7e(0x25e)),g(this,'_sender'),(this['_injector']=_0x12f163,this['_logService']=_0x47c7ed,this[_0x3e8a7e(0x1c5)]=_0xdbcfb4);}[_0x5bb7a4(0x260)](_0x69568c){const _0x5476c3=_0x5bb7a4;this[_0x5476c3(0x3c2)]();const _0x3300d8=this[_0x5476c3(0x338)][_0x5476c3(0x30c)](ge,this[_0x5476c3(0x4c4)],this[_0x5476c3(0x27e)],this[_0x5476c3(0x364)],[_0x69568c],this['_handler'],this[_0x5476c3(0x25e)]);return _0x3300d8[_0x5476c3(0x4f4)](),_0x3300d8;}[_0x5bb7a4(0x38e)](_0x1987ea){const _0x27c8b1=_0x5bb7a4;if(this[_0x27c8b1(0x547)](_0x1987ea))return this[_0x27c8b1(0x3c2)](),this['_injector']['createInstance'](he,this[_0x27c8b1(0x4c4)],this[_0x27c8b1(0x27e)],this[_0x27c8b1(0x364)],[],null,[_0x1987ea],this[_0x27c8b1(0x29c)]);try{const _0x160807=this['_transformService']['transformChangesets']([_0x1987ea],[this['_awaitingChangeset']],!0x1);if(_0x3e05e4(_0x160807)){const {c1Prime:_0xfa7f9b,c2Prime:_0x4bf791}=_0x160807;this[_0x27c8b1(0x541)](_0xfa7f9b[0x0]),_0x4bf791[0x0][_0x27c8b1(0x2b2)]=this[_0x27c8b1(0x1eb)](),this['_clearScheduledTask']();const _0x1670c5=this[_0x27c8b1(0x338)][_0x27c8b1(0x30c)](Te,this[_0x27c8b1(0x4c4)],this['type'],_0x4bf791[0x0],this[_0x27c8b1(0x29c)]);return _0x1670c5[_0x27c8b1(0x4f4)](),_0x1670c5;}return this[_0x27c8b1(0x2d2)](!0x1);}catch(_0x2d1112){return this[_0x27c8b1(0x26e)][_0x27c8b1(0x17b)](_0x2d1112),this['_onConflict'](!0x1);}}[_0x5bb7a4(0x30e)](_0x25cf1f){const _0x40a147=_0x5bb7a4;this['_clearScheduledTask']();const _0x26dcfa=this[_0x40a147(0x54c)][_0x40a147(0x3f5)](this[_0x40a147(0x4c4)]);if(_0x25cf1f[_0x40a147(0x571)]<_0x26dcfa-0x1)return this;if(this[_0x40a147(0x547)](_0x25cf1f))return this[_0x40a147(0x338)][_0x40a147(0x30c)](he,this[_0x40a147(0x4c4)],this[_0x40a147(0x27e)],null,[],this[_0x40a147(0x364)],[],this[_0x40a147(0x29c)]);this['_incrementRevisionNumber']();const _0x31ac54=this[_0x40a147(0x338)][_0x40a147(0x30c)](Fe,this[_0x40a147(0x4c4)],this[_0x40a147(0x27e)],this[_0x40a147(0x29c)]);return _0x31ac54[_0x40a147(0x4f4)](),_0x31ac54;}['onRemoteRej'](_0x321114){const _0x2598f4=_0x5bb7a4;return this[_0x2598f4(0x2d2)](!!(_0x321114!=null&&_0x321114['isPermissionRej']));}[_0x5bb7a4(0x49a)](_0x169954){const _0x4fd35c=_0x5bb7a4;return this[_0x4fd35c(0x54d)]>Ni?this[_0x4fd35c(0x30b)]():(this[_0x4fd35c(0x25e)]=Ui(this[_0x4fd35c(0x54d)],{'timeout':this[_0x4fd35c(0x54d)],'reqId':_0x169954[_0x4fd35c(0x3f6)]}),this[_0x4fd35c(0x292)]=this['_resendTimer'][_0x4fd35c(0x519)](({reqId:_0x558d7e,timeout:_0x5e5afe})=>{const _0x91b3c8=_0x4fd35c;this[_0x91b3c8(0x30a)](_0x558d7e,_0x5e5afe);}),this);}[_0x5bb7a4(0x30b)](){const _0x40d963=_0x5bb7a4;return this[_0x40d963(0x3c2)](),this[_0x40d963(0x338)][_0x40d963(0x30c)](ye,this[_0x40d963(0x4c4)],this[_0x40d963(0x27e)],this[_0x40d963(0x364)],[],this[_0x40d963(0x29c)]);}['toggleOnline'](){return this;}[_0x5bb7a4(0x581)](){const _0x3a0387=_0x5bb7a4;this[_0x3a0387(0x29c)][_0x3a0387(0x2e8)](this['_awaitingChangeset']);}[_0x5bb7a4(0x2d2)](_0x3a1da2){const _0x24aea3=_0x5bb7a4;return this['_clearScheduledTask'](),this[_0x24aea3(0x338)]['createInstance'](Re,this[_0x24aea3(0x4c4)],this[_0x24aea3(0x27e)],this[_0x24aea3(0x364)],[],this[_0x24aea3(0x29c)],_0x3a1da2);}['_resendWithTimeout'](_0x59ff6c,_0x53e340){const _0x3f71be=_0x5bb7a4;var _0x2b0e77;_0x59ff6c===((_0x2b0e77=this[_0x3f71be(0x364)])==null?void 0x0:_0x2b0e77[_0x3f71be(0x3f6)])&&(this[_0x3f71be(0x581)](),this[_0x3f71be(0x54d)]=_0x53e340===0x0?0x3e8:_0x53e340*0x2);}['_clearScheduledTask'](){const _0x592ff3=_0x5bb7a4;var _0x4590d8;(_0x4590d8=this[_0x592ff3(0x292)])==null||_0x4590d8[_0x592ff3(0x1e1)](),this[_0x592ff3(0x54d)]=0x0;}};Te=Le([A(0x4,_0x22a3e1(_0x4c5160)),A(0x5,_0x22a3e1(_0x25150b)),A(0x6,_0x22a3e1(q)),A(0x7,_0x1e58f0),A(0x8,_0x3efec9),A(0x9,_0x2db4c4),A(0xa,_0x131129)],Te);let ge=class extends $e{constructor(_0x1efed3,_0xa8f04c,_0x78e6dc,_0x57e36d,_0x140f71,_0x33fb05,_0x4a2951,_0x29b1bc,_0x1e6dc1,_0x54b23c,_0x403e00,_0x2b4835,_0x1b1bf0){const _0x2fdb6a=_0x5bb7a4;super(_0x1efed3,_0xa8f04c,_0x78e6dc,_0x57e36d,_0x140f71,_0x54b23c,_0x1b1bf0,_0x29b1bc,_0x1e6dc1),g(this,_0x2fdb6a(0x1ff),'awaiting_with_pending'),g(this,_0x2fdb6a(0x54d),0x0),g(this,_0x2fdb6a(0x25e)),g(this,'_sender'),(this[_0x2fdb6a(0x338)]=_0x4a2951,this[_0x2fdb6a(0x26e)]=_0x403e00,this['_transformService']=_0x2b4835,_0x33fb05&&(this['_resendTimer']=_0x33fb05,this[_0x2fdb6a(0x292)]=this[_0x2fdb6a(0x25e)][_0x2fdb6a(0x519)](({reqId:_0x3c6ab7,timeout:_0x4f5e11})=>{this['_resendWithTimeout'](_0x3c6ab7,_0x4f5e11);})));}[_0x5bb7a4(0x260)](_0x301768){const _0xfe3a8b=_0x5bb7a4;return this[_0xfe3a8b(0x309)][_0xfe3a8b(0x433)](_0x301768),this;}[_0x5bb7a4(0x38e)](_0x72562c){const _0x1e74a2=_0x5bb7a4;if(this['_checkMissing'](_0x72562c))return this[_0x1e74a2(0x3c2)](),this[_0x1e74a2(0x338)][_0x1e74a2(0x30c)](he,this[_0x1e74a2(0x4c4)],this[_0x1e74a2(0x27e)],this[_0x1e74a2(0x364)],this[_0x1e74a2(0x309)],null,[_0x72562c],this[_0x1e74a2(0x29c)]);try{const _0x1d67a3=this[_0x1e74a2(0x1c5)][_0x1e74a2(0x472)]([_0x72562c],[this[_0x1e74a2(0x364)]],!0x1);if(_0x3e05e4(_0x1d67a3)){const {c1Prime:_0x14b7c6,c2Prime:_0xad3774}=_0x1d67a3,_0x3d6f1d=this[_0x1e74a2(0x1c5)][_0x1e74a2(0x428)](_0x14b7c6[0x0],this[_0x1e74a2(0x309)]);if(_0x5f43ea(_0x3d6f1d)){const {c1Prime:_0x12b664,m2Prime:_0x447a0d}=_0x3d6f1d;return this['_executeRemoteChangeset'](_0x12b664),_0xad3774[0x0][_0x1e74a2(0x2b2)]=this[_0x1e74a2(0x1eb)](),this[_0x1e74a2(0x3c2)](),this[_0x1e74a2(0x338)][_0x1e74a2(0x30c)](ge,this[_0x1e74a2(0x4c4)],this[_0x1e74a2(0x27e)],_0xad3774[0x0],_0x447a0d,this[_0x1e74a2(0x29c)],void 0x0);}throw _0x3d6f1d[_0x1e74a2(0x17b)];}throw _0x1d67a3['error'];}catch(_0x566f4f){return this[_0x1e74a2(0x26e)][_0x1e74a2(0x17b)](_0x566f4f),this['_onConflict'](!0x1);}}[_0x5bb7a4(0x30e)](_0x1eca74){const _0x35ae03=_0x5bb7a4;if(this[_0x35ae03(0x3c2)](),this[_0x35ae03(0x547)](_0x1eca74))return this[_0x35ae03(0x338)][_0x35ae03(0x30c)](he,this[_0x35ae03(0x4c4)],this['type'],null,this[_0x35ae03(0x309)],this[_0x35ae03(0x364)],[],this[_0x35ae03(0x29c)]);this[_0x35ae03(0x283)]();const _0x5bfdb6=this[_0x35ae03(0x338)][_0x35ae03(0x30c)](pe,this[_0x35ae03(0x4c4)],this[_0x35ae03(0x27e)],this[_0x35ae03(0x309)],this['_handler']);return _0x5bfdb6['_schedule'](),_0x5bfdb6[_0x35ae03(0x4f4)](),_0x5bfdb6;}[_0x5bb7a4(0x2eb)](_0x36ea21){const _0x29fbae=_0x5bb7a4;return this[_0x29fbae(0x2d2)](!!(_0x36ea21!=null&&_0x36ea21[_0x29fbae(0x28d)]));}[_0x5bb7a4(0x49a)](_0x1b1f61){const _0x248e5e=_0x5bb7a4;return this['_resendTimeout']>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this[_0x248e5e(0x54d)],{'timeout':this[_0x248e5e(0x54d)],'reqId':_0x1b1f61[_0x248e5e(0x3f6)]}),this[_0x248e5e(0x292)]=this[_0x248e5e(0x25e)][_0x248e5e(0x519)](({reqId:_0x1f925a,timeout:_0x4cc888})=>{const _0x3e9fcd=_0x248e5e;this[_0x3e9fcd(0x30a)](_0x1f925a,_0x4cc888);}),this);}[_0x5bb7a4(0x30b)](){const _0x122bd1=_0x5bb7a4;return this[_0x122bd1(0x3c2)](),this[_0x122bd1(0x338)][_0x122bd1(0x30c)](ye,this[_0x122bd1(0x4c4)],this[_0x122bd1(0x27e)],this[_0x122bd1(0x364)],this[_0x122bd1(0x309)],this['_handler']);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x581)](){const _0x3b7fcd=_0x5bb7a4;this[_0x3b7fcd(0x29c)][_0x3b7fcd(0x2e8)](this['_awaitingChangeset']);}[_0x5bb7a4(0x2d2)](_0x132ae9){const _0x50f015=_0x5bb7a4;return this['_clearScheduledTask'](),this[_0x50f015(0x338)][_0x50f015(0x30c)](Re,this['unitID'],this[_0x50f015(0x27e)],null,this[_0x50f015(0x309)],this[_0x50f015(0x29c)],_0x132ae9);}[_0x5bb7a4(0x30a)](_0x57b0a2,_0x3f0182){const _0x3350d6=_0x5bb7a4;var _0x9d4fff;_0x57b0a2===((_0x9d4fff=this['_awaitingChangeset'])==null?void 0x0:_0x9d4fff[_0x3350d6(0x3f6)])&&(this[_0x3350d6(0x581)](),this['_resendTimeout']=_0x3f0182===0x0?0x3e8:_0x3f0182*0x2);}[_0x5bb7a4(0x3c2)](){const _0x27d76d=_0x5bb7a4;var _0x650e85;(_0x650e85=this['_sender'])==null||_0x650e85[_0x27d76d(0x1e1)](),this[_0x27d76d(0x54d)]=0x0;}};ge=Le([A(0x6,_0x22a3e1(_0x4c5160)),A(0x7,_0x22a3e1(_0x25150b)),A(0x8,_0x22a3e1(q)),A(0x9,_0x1e58f0),A(0xa,_0x3efec9),A(0xb,_0x2db4c4),A(0xc,_0x131129)],ge);let Re=class extends $e{constructor(_0x8d974a,_0x22ab48,_0x3638ba,_0x5aece5,_0x5e3b90,_0x4bd0c7=!0x1,_0x518759,_0x466762,_0xf49c70,_0x1e5061,_0x467672,_0x5c8895,_0x3cdaa3){const _0x539ea5=_0x5bb7a4;super(_0x8d974a,_0x22ab48,_0x3638ba,_0x5aece5,_0x5e3b90,_0x466762,_0xf49c70,_0x467672,_0x1e5061),g(this,_0x539ea5(0x1ff),'conflict'),(this[_0x539ea5(0x1ec)]=_0x4bd0c7,this[_0x539ea5(0x167)]=_0x518759,this[_0x539ea5(0x4ab)]=_0x5c8895,this[_0x539ea5(0x4da)]=_0x3cdaa3,this[_0x539ea5(0x389)](),this[_0x539ea5(0x234)](),this[_0x539ea5(0x3af)]());}[_0x5bb7a4(0x260)](){return this;}['onRemoteChangeset'](){return this;}[_0x5bb7a4(0x30e)](){return this;}[_0x5bb7a4(0x2eb)](){return this;}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){return this;}[_0x5bb7a4(0x387)](){return this;}['resend'](){const _0x354ef0=_0x5bb7a4;throw new Error(_0x354ef0(0x212));}['_clearLocalCache'](){const _0x253b7a=_0x5bb7a4;this[_0x253b7a(0x46d)]['updateOfflineData'](this[_0x253b7a(0x4c4)],this[_0x253b7a(0x27e)],null,[]);}[_0x5bb7a4(0x389)](){const _0x1c1f4b=_0x5bb7a4;this[_0x1c1f4b(0x1ec)]?this[_0x1c1f4b(0x4da)]['show']({'title':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x314)),'content':this['_localeService']['t'](_0x1c1f4b(0x456)),'type':'error','duration':0x0}):this[_0x1c1f4b(0x4da)][_0x1c1f4b(0x18e)]({'title':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x393)),'content':this[_0x1c1f4b(0x4ab)]['t'](_0x1c1f4b(0x34e)),'type':_0x1c1f4b(0x17b),'duration':0x0});}[_0x5bb7a4(0x3af)](){const _0x2b215a=_0x5bb7a4;this['_permissionService'][_0x2b215a(0x3fc)](new _0x272dbd(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x22a3e1(_0x59e41b)),A(0x7,_0x1e58f0),A(0x8,_0x131129),A(0x9,_0x22a3e1(q)),A(0xa,_0x22a3e1(_0x25150b)),A(0xb,_0x22a3e1(_0x1fdc1b)),A(0xc,_0x387815)],Re);let ye=class extends $e{constructor(_0x5e356e,_0xbc2114,_0x42e877,_0xb80c0,_0x5b4f23,_0x13cc31,_0x12fffc,_0x25bcff,_0x467798,_0x2cdc0b){const _0x3f1d94=_0x5bb7a4;super(_0x5e356e,_0xbc2114,_0x42e877,_0xb80c0,_0x5b4f23,_0x467798,_0x2cdc0b,_0x12fffc,_0x25bcff),g(this,'status',_0x3f1d94(0x4ed)),this['_injector']=_0x13cc31;}['appendMutation'](_0x31e539){const _0x5b284c=_0x5bb7a4;return this[_0x5b284c(0x309)]['push'](_0x31e539),this[_0x5b284c(0x4f4)](),this;}[_0x5bb7a4(0x38e)](_0xdec1b0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x4a1ed2=_0x5bb7a4;throw new Error(_0x4a1ed2(0x4f9));}[_0x5bb7a4(0x2eb)](){const _0x1e4f56=_0x5bb7a4;throw new Error(_0x1e4f56(0x2fd));}[_0x5bb7a4(0x49a)](){return this;}[_0x5bb7a4(0x30b)](){return this;}[_0x5bb7a4(0x387)](){const _0x4104cd=_0x5bb7a4,{_injector:_0x418423,_pendingMutations:_0x47887d,_awaitingChangeset:_0xe9d61d,unitID:_0x302f6a,_handler:_0x4c5b9b,type:_0x5627b5}=this,_0x7c122e=Ai(_0x418423,_0x302f6a,_0x5627b5,_0xe9d61d,_0x47887d,_0x4c5b9b);return _0x7c122e instanceof pe?_0x7c122e[_0x4104cd(0x422)]():(_0x7c122e instanceof ge||_0x7c122e instanceof Te)&&_0x7c122e[_0x4104cd(0x581)](),_0x7c122e;}[_0x5bb7a4(0x581)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x22a3e1(_0x4c5160)),A(0x6,_0x22a3e1(_0x25150b)),A(0x7,_0x22a3e1(q)),A(0x8,_0x1e58f0),A(0x9,_0x131129)],ye);let he=class extends $e{constructor(_0x36923c,_0x4f8976,_0x195090,_0x3c7a2b,_0xc069cd,_0x38a866,_0x3f1034,_0x4db5cd,_0x1d03dd,_0x52c7c1,_0xdbc544,_0x195b54,_0x7bcfa,_0x446d75){const _0x2100fd=_0x5bb7a4;super(_0x36923c,_0x4f8976,_0x195090,_0x3c7a2b,_0x3f1034,_0x195b54,_0x7bcfa,_0x1d03dd,_0x52c7c1),g(this,'status',_0x2100fd(0x4d8)),(this[_0x2100fd(0x566)]=_0xc069cd,this[_0x2100fd(0x291)]=_0x38a866,this[_0x2100fd(0x338)]=_0x4db5cd,this[_0x2100fd(0x26e)]=_0xdbc544,this['_transformService']=_0x446d75);}[_0x5bb7a4(0x4cf)](_0x5be906){const _0x12ebe6=_0x5bb7a4;try{const _0x30a8c0=[..._0x5be906,...this[_0x12ebe6(0x291)]],_0x2f1467=[this[_0x12ebe6(0x364)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x1ab752=>!!_0x1ab752);let _0x55b5d0,_0xc57d46;if(_0x2f1467[_0x12ebe6(0x282)]){const _0x5f5ddd=this[_0x12ebe6(0x1c5)][_0x12ebe6(0x472)](_0x30a8c0,_0x2f1467,!0x1);if(!_0x3e05e4(_0x5f5ddd))throw _0x5f5ddd[_0x12ebe6(0x17b)];_0x55b5d0=_0x5f5ddd['c1Prime'],_0xc57d46=_0x5f5ddd[_0x12ebe6(0x49d)];}else _0x55b5d0=_0x30a8c0,_0xc57d46=[];let _0x23d9e8=this['_pendingMutations'];_0x55b5d0[_0x12ebe6(0x312)](_0x5a1869=>{const _0x17e6a3=_0x12ebe6;let _0x146be5;if(_0x23d9e8[_0x17e6a3(0x282)]){const _0x220a1e=this[_0x17e6a3(0x1c5)][_0x17e6a3(0x428)](_0x5a1869,_0x23d9e8);if(!_0x5f43ea(_0x220a1e))throw _0x220a1e[_0x17e6a3(0x17b)];_0x146be5=_0x220a1e[_0x17e6a3(0x4a1)],_0x23d9e8=_0x220a1e[_0x17e6a3(0x4d6)];}else _0x146be5=_0x5a1869;this[_0x17e6a3(0x541)](_0x146be5);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0xc57d46[_0x12ebe6(0x282)]&&(_0xc57d46[0x0][_0x12ebe6(0x2b2)]=this[_0x12ebe6(0x1eb)]());let _0x5b872f;if(this[_0x12ebe6(0x364)]&&_0x23d9e8[_0x12ebe6(0x282)]!==0x0)_0x5b872f=this['_injector']['createInstance'](ge,this[_0x12ebe6(0x4c4)],this[_0x12ebe6(0x27e)],_0xc57d46[0x0],_0x23d9e8,this[_0x12ebe6(0x29c)],void 0x0);else{if(this[_0x12ebe6(0x364)]&&_0x23d9e8['length']===0x0)_0xc57d46[0x0][_0x12ebe6(0x2b2)]=this[_0x12ebe6(0x1eb)](),_0x5b872f=this[_0x12ebe6(0x338)][_0x12ebe6(0x30c)](Te,this['unitID'],this['type'],_0xc57d46[0x0],this[_0x12ebe6(0x29c)]);else{if(_0x23d9e8[_0x12ebe6(0x282)]!==0x0){const _0x3ea7ba=this['_injector'][_0x12ebe6(0x30c)](pe,this[_0x12ebe6(0x4c4)],this['type'],_0x23d9e8,this[_0x12ebe6(0x29c)]);_0x3ea7ba['_schedule'](),_0x5b872f=_0x3ea7ba;}else _0x5b872f=this['_injector'][_0x12ebe6(0x30c)](Fe,this[_0x12ebe6(0x4c4)],this['type'],this[_0x12ebe6(0x29c)]);}}return _0x5b872f[_0x12ebe6(0x4f4)](),_0x5b872f;}catch(_0x41e514){return this[_0x12ebe6(0x26e)]['error'](_0x12ebe6(0x2c6),_0x12ebe6(0x1cf),_0x41e514),this[_0x12ebe6(0x338)][_0x12ebe6(0x30c)](Re,this['unitID'],this[_0x12ebe6(0x27e)],this[_0x12ebe6(0x364)],this['_pendingMutations'],this[_0x12ebe6(0x29c)],!0x1);}}[_0x5bb7a4(0x581)](){const _0x3fc346=_0x5bb7a4;throw new Error(_0x3fc346(0x1fd));}[_0x5bb7a4(0x260)](_0x5e8762){const _0x59791a=_0x5bb7a4;return this[_0x59791a(0x309)][_0x59791a(0x433)](_0x5e8762),this;}[_0x5bb7a4(0x38e)](_0x15eb19){const _0x5e6bd5=_0x5bb7a4;return this[_0x5e6bd5(0x291)][_0x5e6bd5(0x433)](_0x15eb19),this;}[_0x5bb7a4(0x30e)](_0xef15d2){const _0x2ce8a4=_0x5bb7a4;if(this[_0x2ce8a4(0x364)])return this[_0x2ce8a4(0x566)]=this[_0x2ce8a4(0x364)],this[_0x2ce8a4(0x364)]=null,this;throw new Error(_0x2ce8a4(0x191));}[_0x5bb7a4(0x2eb)](_0x11e2ff){const _0x5d14e0=_0x5bb7a4;return this['_onConflict'](!!(_0x11e2ff!=null&&_0x11e2ff[_0x5d14e0(0x28d)]));}['onRemoteRetry'](){return this;}[_0x5bb7a4(0x30b)](){const _0x15d5a6=_0x5bb7a4;return this[_0x15d5a6(0x338)][_0x15d5a6(0x30c)](ye,this[_0x15d5a6(0x4c4)],this[_0x15d5a6(0x27e)],this[_0x15d5a6(0x364)],this[_0x15d5a6(0x309)],this[_0x15d5a6(0x29c)]);}[_0x5bb7a4(0x387)](){return this;}[_0x5bb7a4(0x2d2)](_0x2675c1){const _0x583757=_0x5bb7a4;return this[_0x583757(0x338)][_0x583757(0x30c)](Re,this[_0x583757(0x4c4)],this[_0x583757(0x27e)],this[_0x583757(0x364)],this['_pendingMutations'],this[_0x583757(0x29c)],_0x2675c1);}};he=Le([A(0x7,_0x22a3e1(_0x4c5160)),A(0x8,_0x22a3e1(_0x25150b)),A(0x9,_0x22a3e1(q)),A(0xa,_0x3efec9),A(0xb,_0x1e58f0),A(0xc,_0x131129),A(0xd,_0x2db4c4)],he);function Ai(_0x81ed17,_0x3d6861,_0x10f9f5,_0x376e2e,_0x42bdb2,_0x58c084){const _0x50ce90=_0x5bb7a4;return _0x376e2e&&_0x42bdb2['length']?_0x81ed17[_0x50ce90(0x30c)](ge,_0x3d6861,_0x10f9f5,_0x376e2e,_0x42bdb2,_0x58c084,void 0x0):_0x376e2e?_0x81ed17[_0x50ce90(0x30c)](Te,_0x3d6861,_0x10f9f5,_0x376e2e,_0x58c084):_0x42bdb2[_0x50ce90(0x282)]?_0x81ed17[_0x50ce90(0x30c)](pe,_0x3d6861,_0x10f9f5,_0x42bdb2,_0x58c084):_0x81ed17[_0x50ce90(0x30c)](Fe,_0x3d6861,_0x10f9f5,_0x58c084);}var So=Object[_0x5bb7a4(0x42b)],Io=Object[_0x5bb7a4(0x4e4)],Es=(_0x4eb9a6,_0x1b1258,_0x4d71fd,_0x2de747)=>{const _0x1ae23a=_0x5bb7a4;for(var _0x39f262=_0x2de747>0x1?void 0x0:_0x2de747?Io(_0x1b1258,_0x4d71fd):_0x1b1258,_0x34c82e=_0x4eb9a6[_0x1ae23a(0x282)]-0x1,_0x231a0e;_0x34c82e>=0x0;_0x34c82e--)(_0x231a0e=_0x4eb9a6[_0x34c82e])&&(_0x39f262=(_0x2de747?_0x231a0e(_0x1b1258,_0x4d71fd,_0x39f262):_0x231a0e(_0x39f262))||_0x39f262);return _0x2de747&&_0x39f262&&So(_0x1b1258,_0x4d71fd,_0x39f262),_0x39f262;},H=(_0x177942,_0x402868)=>(_0x428581,_0x30817b)=>_0x402868(_0x428581,_0x30817b,_0x177942);let gt=class extends _0x177a9e{constructor(_0xff4696,_0x1133ae,_0x53d813,_0x4eba08,_0x247423,_0x26a6ca,_0x3f87da,_0x78ea06,_0x57d1b4,_0xdbdae9,_0x317c37,_0x4edc4,_0x3891a6){const _0x5b4ba2=_0x5bb7a4;super(),g(this,_0x5b4ba2(0x227),new _0x348a88(null)),g(this,_0x5b4ba2(0x40f),this['_state$']['asObservable']()),g(this,_0x5b4ba2(0x3fa)),g(this,_0x5b4ba2(0x4a4),!0x1),g(this,_0x5b4ba2(0x4e7),''),g(this,'_changesetReqId',0x0),g(this,_0x5b4ba2(0x1ba),this[_0x5b4ba2(0x40f)][_0x5b4ba2(0x3f1)](_0x5809a7(_0x314e26=>_0x314e26?_0x314e26[_0x5b4ba2(0x1ff)]:J['OFFLINE']),_0x3f1879(0x1))),g(this,_0x5b4ba2(0x4f8),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x5b4ba2(0x4c4)]=_0xff4696,this['session']=_0x1133ae,this[_0x5b4ba2(0x3a6)]=_0x53d813,this['_injector']=_0x4eba08,this[_0x5b4ba2(0x46d)]=_0x247423,this[_0x5b4ba2(0x421)]=_0x26a6ca,this['_localeService']=_0x3f87da,this[_0x5b4ba2(0x54c)]=_0x78ea06,this[_0x5b4ba2(0x26e)]=_0x57d1b4,this[_0x5b4ba2(0x53f)]=_0xdbdae9,this['_messageService']=_0x317c37,this['_permissionService']=_0x4edc4,this[_0x5b4ba2(0x41a)]=_0x3891a6);}get[_0x5bb7a4(0x2fa)](){const _0x1ef88f=_0x5bb7a4;return this[_0x1ef88f(0x3fa)];}async[_0x5bb7a4(0x1d6)](){const _0x5c1ee0=_0x5bb7a4;if(this[_0x5c1ee0(0x2fa)])throw new Error(_0x5c1ee0(0x1d8));await this[_0x5c1ee0(0x515)]();}[_0x5bb7a4(0x569)](){return this['_collaborationPaused']=!0x0,_0x7884da(()=>{const _0x1dd9a2=_0x4081;this[_0x1dd9a2(0x4a4)]=!0x1,this[_0x1dd9a2(0x43a)]();});}[_0x5bb7a4(0x263)](_0x339089){const _0x19af28=_0x5bb7a4;this[_0x19af28(0x3fa)]=_0x339089,this['_state$']['next'](_0x339089);}async['_init'](){const _0x2a4409=_0x5bb7a4;var _0xfc5c22;this[_0x2a4409(0x263)](await this[_0x2a4409(0x294)]()),this[_0x2a4409(0x41a)]&&((_0xfc5c22=this[_0x2a4409(0x41a)])==null||_0xfc5c22[_0x2a4409(0x30d)](this[_0x2a4409(0x4c4)]),this[_0x2a4409(0x368)](this[_0x2a4409(0x41a)][_0x2a4409(0x23b)](this['unitID'])[_0x2a4409(0x519)](_0x4f0e6b=>{const _0x159848=_0x2a4409;this[_0x159848(0x26e)][_0x159848(0x23c)](_0x159848(0x501),'editing\x20status\x20changed\x20to',_0x4f0e6b),_0x4f0e6b===Di['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x159848(0x18e)]({'content':this[_0x159848(0x4ab)]['t'](_0x159848(0x416)),'type':_0x3417d7[_0x159848(0x2ad)]}),this[_0x159848(0x167)]['updatePermissionPoint'](new _0x272dbd(this[_0x159848(0x4c4)])['id'],!0x1),this[_0x159848(0x167)][_0x159848(0x3bc)](!0x1)):(this['_permissionService'][_0x159848(0x3fc)](new _0x272dbd(this[_0x159848(0x4c4)])['id'],!0x0),this[_0x159848(0x167)][_0x159848(0x3bc)](!0x0));})));let _0x3fe2b1=!0x1;return this[_0x2a4409(0x368)](this[_0x2a4409(0x457)][_0x2a4409(0x17e)][_0x2a4409(0x519)](_0x5f34ae=>{const _0x20eb1e=_0x2a4409;_0x5f34ae===ve[_0x20eb1e(0x3e1)]?this[_0x20eb1e(0x55e)](_0x3fe2b1):_0x5f34ae===ve['OFFLINE']&&(_0x3fe2b1=!0x0,this['_toggleOffline']());})),this[_0x2a4409(0x368)](this[_0x2a4409(0x457)][_0x2a4409(0x3e4)]['subscribe'](_0x2cad80=>{const _0x152af0=_0x2a4409;try{switch(_0x2cad80[_0x152af0(0x479)]){case _0x45d469[_0x152af0(0x4df)]:{this['_onRemoteChangeset'](_0x34525f(_0x2cad80['data']));break;}case _0x45d469[_0x152af0(0x4a7)]:{this['_onRemoteACK'](_0x2cad80['data']);break;}case _0x45d469['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x45d469[_0x152af0(0x259)]:{this[_0x152af0(0x374)](_0x2cad80['data']);break;}case _0x45d469[_0x152af0(0x2c8)]:{this['_onFetchMissResult'](_0x2cad80['data'][_0x152af0(0x50c)][_0x152af0(0x2c9)](_0x3cfa75=>_0x34525f(_0x3cfa75)));break;}case _0x45d469[_0x152af0(0x4fb)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x22d164){throw console[_0x152af0(0x17b)](_0x152af0(0x52c),_0x22d164),_0x22d164;}})),this[_0x2a4409(0x3fa)];}[_0x5bb7a4(0x402)](){const _0x37d657=_0x5bb7a4;this[_0x37d657(0x4f8)]=!0x1;}[_0x5bb7a4(0x216)](){const _0x44d8a2=_0x5bb7a4;if(this['_transitionLocked'])throw new Error(_0x44d8a2(0x43f));this[_0x44d8a2(0x4f8)]=!0x0;}[_0x5bb7a4(0x3fd)](_0x2fc6bb){const _0x6804d5=_0x5bb7a4;this['_lockTransition'](),this[_0x6804d5(0x263)](this[_0x6804d5(0x3fa)][_0x6804d5(0x260)](_0x2fc6bb)),this[_0x6804d5(0x402)]();}[_0x5bb7a4(0x506)](_0x3eeb1b){const _0x3f7bbd=_0x5bb7a4;if(!(_0x3eeb1b[_0x3f7bbd(0x571)]<=this[_0x3f7bbd(0x54c)][_0x3f7bbd(0x3f5)](this[_0x3f7bbd(0x4c4)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x3f7bbd(0x433)](_0x3eeb1b);return;}this[_0x3f7bbd(0x1f5)](_0x3eeb1b);}}[_0x5bb7a4(0x43a)](){const _0x2fc1d1=_0x5bb7a4;this[_0x2fc1d1(0x42e)]['forEach'](_0x12987a=>this[_0x2fc1d1(0x1f5)](_0x12987a)),this[_0x2fc1d1(0x42e)]=[];}[_0x5bb7a4(0x1f5)](_0x1f594f){const _0x419737=_0x5bb7a4,_0x2ec486=this[_0x419737(0x421)][_0x419737(0x455)]['fetchThroughInterceptors'](this[_0x419737(0x421)][_0x419737(0x455)][_0x419737(0x330)]()['COMPRESS_MUTATION_APPLY'])(_0x1f594f['mutations'],null)||_0x1f594f['mutations'],_0xb3e089={..._0x1f594f,'mutations':_0x2ec486};this[_0x419737(0x216)](),this[_0x419737(0x263)](this[_0x419737(0x3fa)][_0x419737(0x38e)](_0xb3e089)),this['_unlockTransition']();}['_onRemoteACK'](_0x295fb8){const _0x25aaf7=_0x5bb7a4;this[_0x25aaf7(0x216)](),this[_0x25aaf7(0x263)](this['_state'][_0x25aaf7(0x30e)](_0x295fb8)),this[_0x25aaf7(0x402)]();}[_0x5bb7a4(0x3e9)](_0x3fa7d4){const _0x3c1875=_0x5bb7a4;this[_0x3c1875(0x216)](),this[_0x3c1875(0x263)](this['_state'][_0x3c1875(0x2eb)](_0x3fa7d4)),this['_unlockTransition']();}[_0x5bb7a4(0x374)](_0x23c2bc){const _0x397ca9=_0x5bb7a4;this[_0x397ca9(0x216)](),this[_0x397ca9(0x263)](this['_state']['onRemoteRetry'](_0x23c2bc)),this[_0x397ca9(0x402)]();}[_0x5bb7a4(0x37e)](_0x490256){const _0xb168e2=_0x5bb7a4;if(!(this[_0xb168e2(0x3fa)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x44992d=_0x490256[_0xb168e2(0x2c9)](_0x2fcd10=>{const _0x17fad2=_0xb168e2,_0x5b23a8=this[_0x17fad2(0x421)][_0x17fad2(0x455)]['fetchThroughInterceptors'](this[_0x17fad2(0x421)][_0x17fad2(0x455)][_0x17fad2(0x330)]()[_0x17fad2(0x4ac)])(_0x2fcd10[_0x17fad2(0x47f)],null)||_0x2fcd10[_0x17fad2(0x47f)];return{..._0x2fcd10,'mutations':_0x5b23a8};});this[_0xb168e2(0x216)](),this[_0xb168e2(0x263)](this[_0xb168e2(0x3fa)][_0xb168e2(0x4cf)](_0x44992d)),this[_0xb168e2(0x402)]();}['_toggleOffline'](){const _0xe1f5dc=_0x5bb7a4;this[_0xe1f5dc(0x216)](),this[_0xe1f5dc(0x263)](this['_state']['toggleOffline']()),this[_0xe1f5dc(0x402)]();}[_0x5bb7a4(0x55e)](_0x2de8d3=!0x1){const _0x16c7a3=_0x5bb7a4;this['_lockTransition'](),this[_0x16c7a3(0x263)](this['_state'][_0x16c7a3(0x387)]()),this[_0x16c7a3(0x402)]();const _0x1500ab=this[_0x16c7a3(0x3fa)];_0x2de8d3&&_0x1500ab instanceof Fe&&(this[_0x16c7a3(0x216)](),this[_0x16c7a3(0x263)](_0x1500ab[_0x16c7a3(0x560)]()),this['_unlockTransition']());}async[_0x5bb7a4(0x294)](){return new Promise(_0x3161ff=>{const _0x53703d=_0x4081;this['session'][_0x53703d(0x17e)]['pipe'](_0x35f71d(0x1))[_0x53703d(0x519)](async _0x360166=>{_0x3161ff(await this['_createInitialStateImpl'](_0x360166===ve['ONLINE']));});});}[_0x5bb7a4(0x4ef)](){const _0x44952b=_0x5bb7a4,_0x437e16=this[_0x44952b(0x4c4)];return{'onStateChange':(_0x249c57,_0x992ecd)=>{const _0x3bf766=_0x44952b;if(_0x249c57!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x249c57['status']+_0x3bf766(0x2d8)+_0x992ecd[_0x3bf766(0x1ff)]+_0x3bf766(0x168)+this[_0x3bf766(0x3fa)][_0x3bf766(0x1ff)]);this[_0x3bf766(0x263)](_0x992ecd);},'onSendChangeset':_0x513d0e=>{const _0x192ff3=_0x44952b;_0x513d0e[_0x192ff3(0x3dd)]||(_0x513d0e[_0x192ff3(0x3dd)]=this[_0x192ff3(0x4e7)],_0x513d0e[_0x192ff3(0x3f6)]=++this[_0x192ff3(0x437)]);const _0x1c3336={'eventID':_0x45d469['SUBMIT_CHANGESET'],'data':{'unitID':_0x513d0e[_0x192ff3(0x4c4)],'unitType':this[_0x192ff3(0x3a6)],'changeset':_0x513d0e,'memberID':this[_0x192ff3(0x457)][_0x192ff3(0x494)]()}};this[_0x192ff3(0x457)][_0x192ff3(0x45a)](_0x1c3336,this[_0x192ff3(0x4c4)]);},'onMissingChangesets':({from:_0x156357,to:_0x1f2b25})=>{const _0x563da9=_0x44952b;this[_0x563da9(0x26e)][_0x563da9(0x23c)](_0x563da9(0x501),_0x563da9(0x3ea)+_0x156357+_0x563da9(0x223)+_0x1f2b25);const _0x930275={'eventID':_0x45d469[_0x563da9(0x3ce)],'data':{'unitID':_0x437e16,'unitType':this[_0x563da9(0x3a6)],'from':_0x156357,'to':_0x1f2b25}};this['session'][_0x563da9(0x45a)](_0x930275,this[_0x563da9(0x4c4)]);}};}async[_0x5bb7a4(0x351)](_0x20b170){const _0x3274b4=_0x5bb7a4;var _0x4e6d63,_0x25b9db;const _0x17d3dc=await this['_localCacheService']['loadOfflineData'](this[_0x3274b4(0x4c4)]),_0x2b7cf6=(_0x4e6d63=_0x17d3dc==null?void 0x0:_0x17d3dc[_0x3274b4(0x47f)])!=null?_0x4e6d63:[],_0x1f541f=(_0x25b9db=_0x17d3dc==null?void 0x0:_0x17d3dc[_0x3274b4(0x25a)])!=null?_0x25b9db:null,_0x5e3e6e=!!(_0x1f541f!=null&&_0x1f541f['sid'])&&!!(_0x1f541f!=null&&_0x1f541f['reqId']);this[_0x3274b4(0x4e7)]=_0x5e3e6e?_0x1f541f[_0x3274b4(0x3dd)]:zr(),this['_changesetReqId']=_0x5e3e6e?_0x1f541f['reqId']:0x0;const _0x124076=this['unitID'];try{this[_0x3274b4(0x1ac)](_0x1f541f,_0x2b7cf6);}catch(_0x476b65){this[_0x3274b4(0x26e)][_0x3274b4(0x17b)](_0x476b65);}const _0x3244b9=this['_createHandler']();if(_0x20b170){const _0x3ccf52=Ai(this[_0x3274b4(0x338)],_0x124076,this[_0x3274b4(0x3a6)],_0x1f541f,_0x2b7cf6,_0x3244b9);return _0x3ccf52 instanceof pe?_0x3ccf52[_0x3274b4(0x422)]():(_0x3ccf52 instanceof ge||_0x3ccf52 instanceof Te)&&_0x3ccf52[_0x3274b4(0x581)](),_0x3ccf52;}return this['_injector']['createInstance'](ye,_0x124076,this[_0x3274b4(0x3a6)],_0x1f541f,_0x2b7cf6,_0x3244b9);}[_0x5bb7a4(0x1ac)](_0x2a8d1e,_0x4c5f1b){const _0x2f84bc=_0x5bb7a4;var _0x5f118e,_0x2433ea;const _0x333718=this['_compressMutationService'][_0x2f84bc(0x455)][_0x2f84bc(0x4fa)](this['_compressMutationService'][_0x2f84bc(0x455)][_0x2f84bc(0x330)]()['COMPRESS_MUTATION_APPLY']);(_0x5f118e=_0x333718((_0x2a8d1e==null?void 0x0:_0x2a8d1e[_0x2f84bc(0x47f)])||[],null))==null||_0x5f118e['forEach'](_0x9dd3f9=>this[_0x2f84bc(0x53f)]['executeCommand'](_0x9dd3f9['id'],_0x9dd3f9[_0x2f84bc(0x3d9)])),(_0x2433ea=_0x333718(_0x4c5f1b||[],null))==null||_0x2433ea[_0x2f84bc(0x312)](_0x253b93=>this['_commandService']['executeCommand'](_0x253b93['id'],_0x253b93[_0x2f84bc(0x3d9)]));}};gt=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x3efec9),H(0x9,_0x1e58f0),H(0xa,_0x38087f),H(0xb,_0x59e41b),H(0xc,_0x4f55bd(Rt))],gt);let ss=class extends gt{constructor(_0x3ca7e8,_0x41da10,_0x48c4bc,_0x1545ad,_0x54ca39,_0x133a9f,_0x2cea2b,_0x5f017f,_0x1d1cbe,_0x4e866e,_0x3076c6,_0x19cd28,_0x4489f2,_0x1aae28,_0x2c2a92,_0x1e3831,_0x5757f1,_0x5893ed){const _0x207e78=_0x5bb7a4;super(_0x3ca7e8,_0x48c4bc,_0x41da10,_0x1545ad,_0x54ca39,_0x133a9f,_0x2cea2b,_0x5f017f,_0x1aae28,_0x2c2a92,_0x1e3831,_0x5757f1,_0x5893ed),this[_0x207e78(0x4c4)]=_0x3ca7e8,this['type']=_0x41da10,this['_docStateChangeManagerService']=_0x1d1cbe,this[_0x207e78(0x360)]=_0x4e866e,this[_0x207e78(0x3d3)]=_0x3076c6,this[_0x207e78(0x36b)]=_0x19cd28,this[_0x207e78(0x491)]=_0x4489f2;}[_0x5bb7a4(0x4ef)](){const _0x496213=_0x5bb7a4,_0x4b906c=super[_0x496213(0x4ef)]();return _0x4b906c[_0x496213(0x4a5)]=_0x3af37e=>this[_0x496213(0x360)]['transformIMECache'](_0x3af37e),_0x4b906c['onTransformState']=_0x4ab242=>this[_0x496213(0x3d3)]['transformStateCache'](_0x4ab242),_0x4b906c[_0x496213(0x432)]=_0x9d45f9=>this[_0x496213(0x36b)]['transformSelections'](_0x9d45f9),_0x4b906c[_0x496213(0x559)]=_0x54fa55=>this[_0x496213(0x491)][_0x496213(0x4be)](_0x54fa55),_0x4b906c[_0x496213(0x1bd)]=_0x11465c=>this[_0x496213(0x360)][_0x496213(0x465)](_0x11465c),_0x4b906c[_0x496213(0x25f)]=_0x466ab7=>this[_0x496213(0x3d3)]['transformRemoteChangeset'](_0x466ab7),_0x4b906c;}async['_init'](){const _0x3c5a92=_0x5bb7a4,_0x121276=await super['_init']();return this[_0x3c5a92(0x4de)][_0x3c5a92(0x462)][_0x3c5a92(0x3f1)](_0x52fa59(this[_0x3c5a92(0x492)]))[_0x3c5a92(0x519)](_0x182eda=>{const _0xfefdac=_0x3c5a92;if(_0x182eda==null)return;const {unitId:_0x256e07,redoState:_0x102894,commandId:_0x2bff1d}=_0x182eda;if(_0x256e07!==this[_0xfefdac(0x4c4)])return;const _0x469098={'id':_0x2bff1d,'type':_0x5bf26c[_0xfefdac(0x233)],'params':{'unitId':_0x256e07,'actions':_0x102894[_0xfefdac(0x37d)],'textRanges':null}};this[_0xfefdac(0x3fd)](_0x469098);}),_0x121276;}};ss=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x22a3e1(_0x1b1fa1)),H(0x9,_0x22a3e1(ft)),H(0xa,_0x22a3e1(mt)),H(0xb,_0x22a3e1(pt)),H(0xc,_0x22a3e1(Cs)),H(0xd,_0x3efec9),H(0xe,_0x1e58f0),H(0xf,_0x38087f),H(0x10,_0x59e41b),H(0x11,_0x4f55bd(Rt))],ss);let is=class extends gt{constructor(_0x16a136,_0x5806d9,_0x1667f7,_0x39083f,_0x11c235,_0x157703,_0x1d73f9,_0x2bb8fa,_0x3033fb,_0x57aae5,_0x26942d,_0x175078,_0x4a3092,_0x53c827){const _0x49f276=_0x5bb7a4;super(_0x16a136,_0x1667f7,_0x5806d9,_0x39083f,_0x11c235,_0x157703,_0x1d73f9,_0x2bb8fa,_0x57aae5,_0x26942d,_0x175078,_0x4a3092,_0x53c827),this['unitID']=_0x16a136,this[_0x49f276(0x27e)]=_0x5806d9,this[_0x49f276(0x1a0)]=_0x3033fb;}[_0x5bb7a4(0x4ef)](){const _0x5017b5=_0x5bb7a4,_0x583849=super[_0x5017b5(0x4ef)]();return _0x583849[_0x5017b5(0x432)]=_0x2217a1=>this[_0x5017b5(0x1a0)][_0x5017b5(0x1a5)](_0x2217a1),_0x583849;}async[_0x5bb7a4(0x515)](){const _0x234f88=_0x5bb7a4,_0x4084f6=await super[_0x234f88(0x515)]();return this[_0x234f88(0x368)](this[_0x234f88(0x53f)][_0x234f88(0x498)]((_0x4961f4,_0xe6d680)=>{const _0x67853b=_0x234f88;if(_0x4961f4[_0x67853b(0x27e)]!==_0x5bf26c[_0x67853b(0x233)]||_0xe6d680!=null&&_0xe6d680['fromCollab']||_0xe6d680!=null&&_0xe6d680[_0x67853b(0x33f)])return;const _0x5ef1af=_0x4961f4[_0x67853b(0x3d9)];if((_0x5ef1af==null?void 0x0:_0x5ef1af[_0x67853b(0x55d)])!==this[_0x67853b(0x4c4)])return;const _0x3de7e2=_0x4961f4,_0x299f08=this[_0x67853b(0x421)][_0x67853b(0x455)]['fetchThroughInterceptors'](this[_0x67853b(0x421)][_0x67853b(0x455)][_0x67853b(0x330)]()[_0x67853b(0x201)])([_0x3de7e2],null)||[_0x3de7e2];this['_onLocalMutation'](_0x299f08[0x0]);})),_0x4084f6;}};is=Es([H(0x3,_0x22a3e1(_0x4c5160)),H(0x4,_0x22a3e1(q)),H(0x5,_0x22a3e1(_0x4b6791)),H(0x6,_0x22a3e1(_0x1fdc1b)),H(0x7,_0x22a3e1(_0x25150b)),H(0x8,_0x22a3e1(vt)),H(0x9,_0x3efec9),H(0xa,_0x1e58f0),H(0xb,_0x38087f),H(0xc,_0x59e41b),H(0xd,_0x4f55bd(Rt))],is);var Co=Object[_0x5bb7a4(0x42b)],Eo=Object[_0x5bb7a4(0x4e4)],bo=(_0x1d82e9,_0x38bc05,_0x82a321,_0xafdaf9)=>{for(var _0x979d59=_0xafdaf9>0x1?void 0x0:_0xafdaf9?Eo(_0x38bc05,_0x82a321):_0x38bc05,_0x43c627=_0x1d82e9['length']-0x1,_0x38010b;_0x43c627>=0x0;_0x43c627--)(_0x38010b=_0x1d82e9[_0x43c627])&&(_0x979d59=(_0xafdaf9?_0x38010b(_0x38bc05,_0x82a321,_0x979d59):_0x38010b(_0x979d59))||_0x979d59);return _0xafdaf9&&_0x979d59&&Co(_0x38bc05,_0x82a321,_0x979d59),_0x979d59;},Lt=(_0x1aec3d,_0x55ce4c)=>(_0x5f088e,_0x436ada)=>_0x55ce4c(_0x5f088e,_0x436ada,_0x1aec3d);let it=class extends _0x177a9e{constructor(_0x349cca,_0x4637f4,_0x4a2e79){const _0x20a1d7=_0x5bb7a4;super(),g(this,_0x20a1d7(0x37a),new Map()),g(this,_0x20a1d7(0x3b4),new _0x1b179a()),(this[_0x20a1d7(0x338)]=_0x349cca,this[_0x20a1d7(0x575)]=_0x4637f4,this[_0x20a1d7(0x21d)]=_0x4a2e79,this[_0x20a1d7(0x515)]());}[_0x5bb7a4(0x4d2)](){const _0xedcab4=_0x5bb7a4;super[_0xedcab4(0x4d2)](),this[_0xedcab4(0x37a)]['forEach'](_0x37e41f=>_0x37e41f['dispose']()),this[_0xedcab4(0x37a)][_0xedcab4(0x395)]();}[_0x5bb7a4(0x2c5)](_0xae0cb8){const _0x13cfb5=_0x5bb7a4;var _0x3dd4b3;return(_0x3dd4b3=this[_0x13cfb5(0x37a)]['get'](_0xae0cb8))!=null?_0x3dd4b3:null;}[_0x5bb7a4(0x42f)](_0x1577f0){const _0x10bda5=_0x5bb7a4,_0x3bc605=this[_0x10bda5(0x2c5)](_0x1577f0);return _0x3bc605?_0x52cb6f(_0x3bc605):this['_entityInit$']['pipe'](_0x5a0a20(_0x7690ee=>_0x7690ee['unitID']===_0x1577f0));}[_0x5bb7a4(0x515)](){const _0x18b898=_0x5bb7a4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10a997[_0x18b898(0x55b)])['pipe'](_0x52fa59(this[_0x18b898(0x492)]),_0x1ce989(0x10))[_0x18b898(0x519)](async _0xaff156=>{const _0x156112=_0x18b898,_0x9e85d1=_0xaff156[_0x156112(0x322)](),_0x52e061=await this[_0x156112(0x567)](_0x9e85d1,ce[_0x156112(0x55b)]);this['_entities'][_0x156112(0x441)](_0x9e85d1,_0x52e061);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10a997['UNIVER_DOC'])[_0x18b898(0x3f1)](_0x52fa59(this[_0x18b898(0x492)]),_0x1ce989(0x10))['pipe'](_0x5a0a20(_0x15fd4a=>!_0x15fd4a[_0x18b898(0x322)]()[_0x18b898(0x418)]('__')))[_0x18b898(0x519)](async _0x3cf8d1=>{const _0x54da12=_0x18b898,_0x5d3405=_0x3cf8d1[_0x54da12(0x322)](),_0xa133cb=await this['_startCollaboration'](_0x5d3405,ce[_0x54da12(0x172)]);this['_entities'][_0x54da12(0x441)](_0x5d3405,_0xa133cb);}),_0x4e4735(this[_0x18b898(0x21d)]['getTypeOfUnitDisposed$'](_0x10a997[_0x18b898(0x55b)]),this[_0x18b898(0x21d)][_0x18b898(0x39a)](_0x10a997[_0x18b898(0x172)]))[_0x18b898(0x3f1)](_0x52fa59(this[_0x18b898(0x492)]))[_0x18b898(0x519)](_0x3e6054=>{const _0x2bdedc=_0x18b898,_0x3019e4=_0x3e6054[_0x2bdedc(0x322)](),_0x3e53b6=this[_0x2bdedc(0x37a)]['get'](_0x3019e4);_0x3e53b6&&(_0x3e53b6[_0x2bdedc(0x4d2)](),this[_0x2bdedc(0x37a)][_0x2bdedc(0x3d8)](_0x3019e4));});}async[_0x5bb7a4(0x567)](_0x1b9919,_0x5dad69){const _0x32d7d8=_0x5bb7a4,_0x53c271=await this[_0x32d7d8(0x575)]['requireSession'](_0x1b9919),_0x359c04=this[_0x32d7d8(0x338)][_0x32d7d8(0x30c)](this[_0x32d7d8(0x2fe)](_0x5dad69),_0x1b9919,_0x5dad69,_0x53c271);return await _0x359c04['init'](),this[_0x32d7d8(0x3b4)][_0x32d7d8(0x3ff)](_0x359c04),_0x359c04;}[_0x5bb7a4(0x2fe)](_0x3451af){const _0x127d0c=_0x5bb7a4;switch(_0x3451af){case ce[_0x127d0c(0x172)]:return ss;case ce[_0x127d0c(0x55b)]:return is;default:throw new Error(_0x127d0c(0x19b)+_0x3451af);}}};it=bo([Lt(0x0,_0x22a3e1(_0x4c5160)),Lt(0x1,_0x22a3e1(Ae)),Lt(0x2,_0x2e0534)],it);const Gs=[_0x5bb7a4(0x3f4),_0x5bb7a4(0x4f2),'verdancy600',_0x5bb7a4(0x3c0),_0x5bb7a4(0x176),_0x5bb7a4(0x4bb)];class bs extends _0x1caa36{constructor(){const _0x578e57=_0x5bb7a4;super(...arguments),g(this,_0x578e57(0x2ee),new Map()),g(this,_0x578e57(0x56d),0x0);}[_0x5bb7a4(0x2cf)](_0x8da148){const _0x44271f=_0x5bb7a4;if(this[_0x44271f(0x2ee)][_0x44271f(0x2e6)](_0x8da148))return this[_0x44271f(0x2ee)]['get'](_0x8da148);const _0x5bbaed=Gs[this[_0x44271f(0x56d)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Gs[_0x44271f(0x282)],this[_0x44271f(0x2ee)][_0x44271f(0x441)](_0x8da148,_0x5bbaed),_0x5bbaed;}}var To=Object[_0x5bb7a4(0x42b)],Ro=Object[_0x5bb7a4(0x4e4)],yo=(_0x1e03c5,_0x5b38dc,_0x5075a7,_0x5c70ff)=>{const _0x387061=_0x5bb7a4;for(var _0x3c73fe=_0x5c70ff>0x1?void 0x0:_0x5c70ff?Ro(_0x5b38dc,_0x5075a7):_0x5b38dc,_0x125efd=_0x1e03c5[_0x387061(0x282)]-0x1,_0x27f605;_0x125efd>=0x0;_0x125efd--)(_0x27f605=_0x1e03c5[_0x125efd])&&(_0x3c73fe=(_0x5c70ff?_0x27f605(_0x5b38dc,_0x5075a7,_0x3c73fe):_0x27f605(_0x3c73fe))||_0x3c73fe);return _0x5c70ff&&_0x3c73fe&&To(_0x5b38dc,_0x5075a7,_0x3c73fe),_0x3c73fe;},Oe=(_0x5bd12c,_0x58aff3)=>(_0xe4761c,_0x2f81f1)=>_0x58aff3(_0xe4761c,_0x2f81f1,_0x5bd12c);const Oo=0x12c,wo=0x64;let ns=class extends _0x177a9e{constructor(_0x519625,_0x53814a,_0x2894b9,_0x5d336e,_0x497b88,_0x3da8ff,_0x4e8d6e,_0x14c337,_0x2caffb){const _0x350e99=_0x5bb7a4;super(),g(this,_0x350e99(0x2e3),!0x1),g(this,_0x350e99(0x515),!0x1),g(this,_0x350e99(0x299),new _0x348a88(new Map())),g(this,_0x350e99(0x52f),this[_0x350e99(0x299)][_0x350e99(0x1a6)]()),g(this,_0x350e99(0x208),new _0x348a88([])),g(this,_0x350e99(0x32f),this['_roomMembers$'][_0x350e99(0x3f1)](_0x12cfe4(Oo))),g(this,_0x350e99(0x2ff),_0x47386f(_0x21ff96=>{const _0x457ff5=_0x350e99,_0x4db5a8={'eventID':_0x45d469[_0x457ff5(0x2cd)],'data':{'unitID':this[_0x457ff5(0x4c4)],'memberID':this['_session']['getMemberID'](),'selection':Pi(_0x21ff96)}};this[_0x457ff5(0x42d)][_0x457ff5(0x45a)](_0x4db5a8,this[_0x457ff5(0x4c4)]);},wo)),(this[_0x350e99(0x4c4)]=_0x519625,this[_0x350e99(0x42d)]=_0x53814a,this[_0x350e99(0x338)]=_0x2894b9,this['_colorAssignService']=_0x5d336e,this['_memberService']=_0x497b88,this[_0x350e99(0x532)]=_0x3da8ff,this[_0x350e99(0x1c5)]=_0x4e8d6e,this[_0x350e99(0x21d)]=_0x14c337,this[_0x350e99(0x53f)]=_0x2caffb);}get[_0x5bb7a4(0x466)](){const _0x25896e=_0x5bb7a4;return this[_0x25896e(0x299)][_0x25896e(0x43d)]();}get[_0x5bb7a4(0x18b)](){const _0x1f52bb=_0x5bb7a4;return this[_0x1f52bb(0x208)][_0x1f52bb(0x43d)]();}[_0x5bb7a4(0x4d2)](){const _0x508ad6=_0x5bb7a4;super[_0x508ad6(0x4d2)](),this[_0x508ad6(0x299)][_0x508ad6(0x3ff)](new Map()),this[_0x508ad6(0x299)][_0x508ad6(0x313)](),this[_0x508ad6(0x208)]['next']([]),this['_roomMembers$'][_0x508ad6(0x313)]();}[_0x5bb7a4(0x1d6)](){const _0x5d96c4=_0x5bb7a4;this[_0x5d96c4(0x515)]||(this['_init']=!0x0,this[_0x5d96c4(0x42d)][_0x5d96c4(0x17e)]['pipe'](_0x52fa59(this['dispose$']))[_0x5d96c4(0x519)](_0x3c92ab=>{const _0x22fd49=_0x5d96c4;_0x3c92ab===ve[_0x22fd49(0x3e1)]?this[_0x22fd49(0x55e)]():this[_0x22fd49(0x534)]();}),this[_0x5d96c4(0x42d)]['event$']['pipe'](_0x52fa59(this[_0x5d96c4(0x492)]))[_0x5d96c4(0x519)](_0x5ac665=>{const _0x52a46d=_0x5d96c4,_0x1d23a8=_0x5ac665[_0x52a46d(0x479)];_0x1d23a8===_0x45d469[_0x52a46d(0x2cd)]&&this[_0x52a46d(0x170)](_0x5ac665),_0x1d23a8===_0x45d469[_0x52a46d(0x489)]&&this[_0x52a46d(0x272)](_0x5ac665);}),this[_0x5d96c4(0x368)](this[_0x5d96c4(0x53f)][_0x5d96c4(0x498)](_0x148ab9=>{const _0x3440ac=_0x5d96c4,_0x13e6a0=_0x148ab9[_0x3440ac(0x3d9)];_0x13e6a0!=null&&this['_online']&&_0x148ab9['id']===_0x10288c['id']&&_0x13e6a0[_0x3440ac(0x55d)]===this[_0x3440ac(0x4c4)]&&_0x13e6a0[_0x3440ac(0x4b5)]===!0x1&&_0x13e6a0[_0x3440ac(0x56e)][_0x3440ac(0x282)]>0x0&&this[_0x3440ac(0x2ff)](_0x13e6a0[_0x3440ac(0x56e)]);})),this[_0x5d96c4(0x532)]['collabCursorState$'][_0x5d96c4(0x3f1)](_0x52fa59(this[_0x5d96c4(0x492)]))['subscribe'](_0x1cd075=>{const _0x51d6d1=_0x5d96c4;if((_0x1cd075==null?void 0x0:_0x1cd075['unitID'])!==this[_0x51d6d1(0x4c4)])return;const _0x92d1b7={'eventID':_0x45d469[_0x51d6d1(0x2cd)],'data':_0x1cd075};this[_0x51d6d1(0x170)](_0x92d1b7);}),this[_0x5d96c4(0x368)](this[_0x5d96c4(0x53f)][_0x5d96c4(0x498)](_0x262267=>{const _0x14c85c=_0x5d96c4;if(_0x262267[_0x14c85c(0x3d9)]==null)return;const _0x4b1bef=_0x262267[_0x14c85c(0x3d9)];if(_0x262267['id']!==_0x185e84['id']||_0x4b1bef[_0x14c85c(0x55d)]!==this['unitID'])return;const _0x27df98={'id':'doc.mutation.rich-text-editing','params':_0x4b1bef},_0x3ff98b=this[_0x14c85c(0x466)];for(const [_0x396d77,_0x695cf1]of _0x3ff98b){const _0x18efa6={'id':_0x14c85c(0x557),'params':{'unitId':this[_0x14c85c(0x4c4)],'actions':null,'textRanges':_0x695cf1[_0x14c85c(0x56e)]}},_0x24e3f2=this[_0x14c85c(0x1c5)][_0x14c85c(0x4f0)](_0x27df98,_0x18efa6,!0x1);if(_0x35b5b8(_0x24e3f2))throw _0x24e3f2[_0x14c85c(0x17b)];_0x3ff98b[_0x14c85c(0x441)](_0x396d77,{..._0x695cf1,'ranges':_0x24e3f2[_0x14c85c(0x4d6)][_0x14c85c(0x3d9)][_0x14c85c(0x2a0)]});}queueMicrotask(()=>{const _0x4202ed=_0x14c85c;this[_0x4202ed(0x299)][_0x4202ed(0x3ff)](_0x3ff98b);});})));}['_onCursorUpdate'](_0x290ab2){const _0x43a34b=_0x5bb7a4;var _0x36ae1f,_0x1b5706;const {memberID:_0xca9b28,selection:_0x4bb6a8}=_0x290ab2[_0x43a34b(0x2d5)],_0x2cab56=ho(_0x4bb6a8),_0x4349b8=(_0x1b5706=(_0x36ae1f=this[_0x43a34b(0x49f)][_0x43a34b(0x25d)](this[_0x43a34b(0x4c4)],_0xca9b28))==null?void 0x0:_0x36ae1f[_0x43a34b(0x408)])!=null?_0x1b5706:'Unknown\x20user',_0xe9bf6e={'color':this[_0x43a34b(0x517)][_0x43a34b(0x2cf)](_0xca9b28),'name':_0x4349b8,'ranges':_0x2cab56},_0x245ece=this['cursorInfo'];_0x245ece[_0x43a34b(0x441)](_0xca9b28,_0xe9bf6e),this[_0x43a34b(0x299)][_0x43a34b(0x3ff)](_0x245ece);}['_onCursorDelete'](_0x5d9099){const _0x406697=_0x5bb7a4,{memberID:_0x5619ee}=_0x5d9099['data'],_0x1bb646=this[_0x406697(0x466)];_0x1bb646[_0x406697(0x3d8)](_0x5619ee),this[_0x406697(0x299)][_0x406697(0x3ff)](_0x1bb646);}[_0x5bb7a4(0x55e)](){const _0x257d77=_0x5bb7a4;var _0x30c90f;if(this[_0x257d77(0x2e3)]=!0x0,((_0x30c90f=this['_univerInstanceService'][_0x257d77(0x1dd)]())==null?void 0x0:_0x30c90f[_0x257d77(0x322)]())!==this[_0x257d77(0x4c4)])return;const _0x221339=this['_injector'][_0x257d77(0x4f7)](_0x4ce6e6)[_0x257d77(0x1c3)]();Array[_0x257d77(0x2f4)](_0x221339)&&_0x221339[_0x257d77(0x282)]>0x0&&this['_updateLocalCursor'](_0x221339);}[_0x5bb7a4(0x534)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x22a3e1(_0x4c5160)),Oe(0x3,_0x22a3e1(bs)),Oe(0x4,_0x22a3e1(Ne)),Oe(0x5,_0x22a3e1(Cs)),Oe(0x6,_0x2db4c4),Oe(0x7,_0x2e0534),Oe(0x8,_0x1e58f0)],ns);var Do=Object[_0x5bb7a4(0x42b)],Po=Object[_0x5bb7a4(0x4e4)],Uo=(_0xb957ce,_0x286a69,_0x36d0f5,_0x32b840)=>{const _0xb57c65=_0x5bb7a4;for(var _0x5c396c=_0x32b840>0x1?void 0x0:_0x32b840?Po(_0x286a69,_0x36d0f5):_0x286a69,_0x4c2d14=_0xb957ce[_0xb57c65(0x282)]-0x1,_0x27c021;_0x4c2d14>=0x0;_0x4c2d14--)(_0x27c021=_0xb957ce[_0x4c2d14])&&(_0x5c396c=(_0x32b840?_0x27c021(_0x286a69,_0x36d0f5,_0x5c396c):_0x27c021(_0x5c396c))||_0x5c396c);return _0x32b840&&_0x5c396c&&Do(_0x286a69,_0x36d0f5,_0x5c396c),_0x5c396c;},Be=(_0x44b6f1,_0x27ce8c)=>(_0x1493d6,_0x1f5274)=>_0x27ce8c(_0x1493d6,_0x1f5274,_0x44b6f1);const No=0x12c,Ao=0x64,Mo=()=>{let _0x442d41=[],_0x97be62=!0x1;return _0x1f35df=>{_0x442d41['push'](_0x1f35df),_0x97be62||(_0x97be62=!0x0,setTimeout(()=>{const _0x2f8f2a=_0x4081;_0x442d41[_0x2f8f2a(0x312)](_0x5dd382=>_0x5dd382()),_0x442d41=[],_0x97be62=!0x1;}));};};let rs=class extends _0x177a9e{constructor(_0x1c9140,_0x30f821,_0x19101a,_0x402c06,_0x4e7f1c,_0x83eccb,_0x35a41f,_0x45a503){const _0x70bef8=_0x5bb7a4;super(),g(this,_0x70bef8(0x2e3),!0x1),g(this,_0x70bef8(0x515),!0x1),g(this,'_cursorInfo$',new _0x348a88(new Map())),g(this,_0x70bef8(0x52f),this[_0x70bef8(0x299)]['asObservable']()),g(this,_0x70bef8(0x208),new _0x348a88([])),g(this,_0x70bef8(0x32f),this[_0x70bef8(0x208)][_0x70bef8(0x3f1)](_0x12cfe4(No))),g(this,_0x70bef8(0x2ff),_0x47386f((_0x4cb4df,_0x4782a8)=>{const _0x13fa09=_0x70bef8,_0x41cd4c={'eventID':_0x45d469['UPDATE_CURSOR'],'data':{'unitID':this[_0x13fa09(0x4c4)],'memberID':this[_0x13fa09(0x42d)]['getMemberID'](),'selection':_0x5cd454(_0x4cb4df,_0x4782a8[_0x13fa09(0x2da)])}};this['_session'][_0x13fa09(0x45a)](_0x41cd4c,this[_0x13fa09(0x4c4)]);},Ao)),(this['unitID']=_0x1c9140,this['_session']=_0x30f821,this[_0x70bef8(0x338)]=_0x19101a,this['_colorAssignService']=_0x402c06,this[_0x70bef8(0x49f)]=_0x4e7f1c,this['_univerInstanceService']=_0x83eccb,this['_commandService']=_0x35a41f,this[_0x70bef8(0x4db)]=_0x45a503);}get[_0x5bb7a4(0x466)](){const _0x3ab7be=_0x5bb7a4;return this['_cursorInfo$'][_0x3ab7be(0x43d)]();}get[_0x5bb7a4(0x18b)](){const _0x57a218=_0x5bb7a4;return this[_0x57a218(0x208)]['getValue']();}[_0x5bb7a4(0x4d2)](){const _0x4f1b96=_0x5bb7a4;super[_0x4f1b96(0x4d2)](),this[_0x4f1b96(0x299)][_0x4f1b96(0x3ff)](new Map()),this[_0x4f1b96(0x299)]['complete'](),this[_0x4f1b96(0x208)]['next']([]),this['_roomMembers$'][_0x4f1b96(0x313)]();}['init'](){const _0x13f09b=_0x5bb7a4;this['_init']||(this[_0x13f09b(0x515)]=!0x0,this[_0x13f09b(0x42d)]['sessionStatus$'][_0x13f09b(0x3f1)](_0x52fa59(this[_0x13f09b(0x492)]))['subscribe'](_0x35075b=>{const _0x1ba2db=_0x13f09b;_0x35075b===ve[_0x1ba2db(0x3e1)]?this[_0x1ba2db(0x55e)]():this[_0x1ba2db(0x534)]();}),this[_0x13f09b(0x42d)][_0x13f09b(0x3e4)]['pipe'](_0x52fa59(this[_0x13f09b(0x492)]))[_0x13f09b(0x519)](_0x5b261c=>{const _0x497afe=_0x13f09b,_0x3ba498=_0x5b261c['eventID'];_0x3ba498===_0x45d469[_0x497afe(0x2cd)]&&this[_0x497afe(0x170)](_0x5b261c),_0x3ba498===_0x45d469[_0x497afe(0x489)]&&this[_0x497afe(0x272)](_0x5b261c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x13f09b(0x53f)]['onCommandExecuted'](_0x5e33d0=>{const _0xd39a2a=_0x13f09b;if(this[_0xd39a2a(0x2e3)]&&_0x5e33d0['id']===_0x544c74['id']&&_0x5e33d0[_0xd39a2a(0x3d9)][_0xd39a2a(0x55d)]===this['unitID']){const _0x39587a=_0x5e33d0[_0xd39a2a(0x3d9)];this[_0xd39a2a(0x2ff)](_0x39587a[_0xd39a2a(0x1c9)],_0x39587a['selections'][0x0]);}})));}[_0x5bb7a4(0x170)](_0x7f30f0){const _0x785518=_0x5bb7a4;var _0x4fb886,_0x26046;const {memberID:_0x4449c0,selection:_0x59f94f}=_0x7f30f0[_0x785518(0x2d5)],{sheetName:_0x424bb2,range:_0x2a23e8}=_0x231961(_0x59f94f),_0x4f9707={'name':(_0x26046=(_0x4fb886=this[_0x785518(0x49f)]['getMember'](this['unitID'],_0x4449c0))==null?void 0x0:_0x4fb886[_0x785518(0x408)])!=null?_0x26046:_0x785518(0x4fe),'range':this[_0x785518(0x46f)](_0x424bb2,_0x2a23e8),'sheetID':_0x424bb2,'color':this[_0x785518(0x517)][_0x785518(0x2cf)](_0x4449c0),'selection':_0x59f94f},_0x556828=this['cursorInfo'];_0x556828['set'](_0x4449c0,_0x4f9707),this[_0x785518(0x299)][_0x785518(0x3ff)](_0x556828);}[_0x5bb7a4(0x272)](_0x5c1b8c){const _0x143edc=_0x5bb7a4,{memberID:_0x142b96}=_0x5c1b8c['data'],_0x565f30=this[_0x143edc(0x466)];_0x565f30[_0x143edc(0x3d8)](_0x142b96),this[_0x143edc(0x299)][_0x143edc(0x3ff)](_0x565f30);}[_0x5bb7a4(0x46f)](_0x729cec,_0x492fe0){const _0x23c6dc=_0x5bb7a4;var _0xcf8860,_0x3dfe9c;const _0x380b9f=(_0x3dfe9c=(_0xcf8860=this[_0x23c6dc(0x21d)][_0x23c6dc(0x44c)](this['unitID']))==null?void 0x0:_0xcf8860['getSheetBySheetId'](_0x729cec))==null?void 0x0:_0x3dfe9c['getMergeData']();return(_0x380b9f==null?void 0x0:_0x380b9f['find'](_0x1a9712=>_0x49e4db[_0x23c6dc(0x2b3)](_0x1a9712,_0x492fe0)))||_0x492fe0;}[_0x5bb7a4(0x270)](){const _0x39c6bb=_0x5bb7a4,_0x103aab=new _0x4e3306(),_0x10ef5b=Mo(),_0x3cb06e=()=>{const _0xcfb336=_0x4081;_0x103aab['dispose']();const _0x2f8ceb=(_0x51e58b,_0x8dd2b6,_0x12fc89,_0x443f4d)=>{const _0x40b97c=_0x4081;let _0x3109f1=[];switch(_0x51e58b['id']){case _0x34bde3[_0x40b97c(0x53d)]:{_0x3109f1=_0xd913ed(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x1e5)]:{_0x3109f1=_0xc12035(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x230)]:{_0x3109f1=_0x490fbf(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x476)]:{_0x3109f1=_0x595791(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x311)]:{_0x3109f1=_0x3995ec(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x543)]:{_0x3109f1=_0x5120ad(_0x51e58b,_0x443f4d);break;}case _0x34bde3['MoveRangeCommandId']:{_0x3109f1=_0x20726c(_0x51e58b,_0x443f4d);break;}case _0x34bde3[_0x40b97c(0x445)]:{_0x3109f1=_0x74bb6c(_0x51e58b,_0x443f4d);break;}case _0x34bde3['RemoveRowCommandId']:{_0x3109f1=_0x399794(_0x51e58b,_0x443f4d);break;}}const _0x409f86=_0x4ea810(_0x3109f1,_0x443f4d),_0x3ca028=this[_0x40b97c(0x466)][_0x40b97c(0x4f7)](_0x8dd2b6);if(_0x3ca028&&_0x409f86){const _0x53474c={..._0x3ca028,'range':_0x409f86};this[_0x40b97c(0x466)][_0x40b97c(0x441)](_0x8dd2b6,_0x53474c),_0x10ef5b(()=>{const _0x1dd6e0=_0x40b97c,_0x4f1ae0=this['_refRangeService'][_0x1dd6e0(0x308)](_0x409f86,_0x519ebf=>(_0x4f1ae0[_0x1dd6e0(0x4d2)](),_0x2f8ceb(_0x519ebf,_0x8dd2b6,_0x12fc89,_0x409f86)));_0x103aab['add'](_0x4f1ae0);});}return{'redos':[],'undos':[]};};this[_0xcfb336(0x466)]['forEach']((_0x449fb5,_0x4b0f8c)=>{const _0x241f22=_0xcfb336,{range:_0x38e2c9,sheetID:_0x511393}=_0x449fb5,_0x7a8492=this[_0x241f22(0x4db)][_0x241f22(0x308)](_0x38e2c9,_0x37c86c=>(_0x7a8492[_0x241f22(0x4d2)](),_0x2f8ceb(_0x37c86c,_0x4b0f8c,_0x511393,_0x38e2c9)));_0x103aab[_0x241f22(0x570)](_0x7a8492);});};this[_0x39c6bb(0x368)](_0x7884da(this['_cursorInfo$']['subscribe'](()=>{_0x3cb06e();})));}[_0x5bb7a4(0x55e)](){const _0x1027f2=_0x5bb7a4;var _0x34939a,_0x5b23d5;if(this[_0x1027f2(0x2e3)]=!0x0,((_0x34939a=this[_0x1027f2(0x21d)][_0x1027f2(0x1dd)]())==null?void 0x0:_0x34939a['getUnitId']())!==this[_0x1027f2(0x4c4)])return;const _0x33530f=(_0x5b23d5=this['_injector']['get'](_0x11487d)[_0x1027f2(0x171)]())==null?void 0x0:_0x5b23d5[0x0],_0x1725db=this[_0x1027f2(0x21d)][_0x1027f2(0x583)](_0x10a997['UNIVER_SHEET'])['getActiveSheet']();_0x33530f&&_0x1725db&&this[_0x1027f2(0x2ff)](_0x1725db[_0x1027f2(0x192)](),_0x33530f);}[_0x5bb7a4(0x534)](){const _0x5e6986=_0x5bb7a4;this[_0x5e6986(0x2e3)]=!0x1;}};rs=Uo([Be(0x2,_0x22a3e1(_0x4c5160)),Be(0x3,_0x22a3e1(bs)),Be(0x4,_0x22a3e1(Ne)),Be(0x5,_0x2e0534),Be(0x6,_0x1e58f0),Be(0x7,_0x22a3e1(_0x180f23))],rs);var xo=Object[_0x5bb7a4(0x42b)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x3dfd0b,_0x438922,_0x1a56b7,_0x3691a5)=>{const _0xf01ec0=_0x5bb7a4;for(var _0x390958=_0x3691a5>0x1?void 0x0:_0x3691a5?Lo(_0x438922,_0x1a56b7):_0x438922,_0x3acb40=_0x3dfd0b[_0xf01ec0(0x282)]-0x1,_0x3d92af;_0x3acb40>=0x0;_0x3acb40--)(_0x3d92af=_0x3dfd0b[_0x3acb40])&&(_0x390958=(_0x3691a5?_0x3d92af(_0x438922,_0x1a56b7,_0x390958):_0x3d92af(_0x390958))||_0x390958);return _0x3691a5&&_0x390958&&xo(_0x438922,_0x1a56b7,_0x390958),_0x390958;},$t=(_0x3d6510,_0x379f8f)=>(_0x28b568,_0x3dbfb8)=>_0x379f8f(_0x28b568,_0x3dbfb8,_0x3d6510);let Ve=class extends _0x177a9e{constructor(_0x25ebef,_0x20ec97,_0x30d000){const _0x2db7f7=_0x5bb7a4;super(),g(this,_0x2db7f7(0x37a),new Map()),g(this,'_entityInit$',new _0x1b179a()),(this[_0x2db7f7(0x21d)]=_0x25ebef,this[_0x2db7f7(0x338)]=_0x20ec97,this[_0x2db7f7(0x575)]=_0x30d000,this[_0x2db7f7(0x515)]());}[_0x5bb7a4(0x4d2)](){const _0x15ad81=_0x5bb7a4;super['dispose'](),this[_0x15ad81(0x3b4)][_0x15ad81(0x313)](),this[_0x15ad81(0x37a)][_0x15ad81(0x312)](_0x389025=>_0x389025[_0x15ad81(0x4d2)]());}['getCollabCursors$'](_0x42924e){const _0x5cf9c4=_0x5bb7a4;return this['_entities'][_0x5cf9c4(0x2e6)](_0x42924e)?this['_entities']['get'](_0x42924e)['cursorInfo$']:this[_0x5cf9c4(0x3b4)][_0x5cf9c4(0x3f1)](_0x3cb187(_0x571329=>_0x571329['unitID']===_0x42924e),_0x1e3e59(_0x363fc7=>_0x363fc7[_0x5cf9c4(0x52f)]));}[_0x5bb7a4(0x515)](){const _0x34d04c=_0x5bb7a4;this[_0x34d04c(0x21d)][_0x34d04c(0x4aa)](_0x10a997['UNIVER_SHEET'])[_0x34d04c(0x3f1)](_0x52fa59(this[_0x34d04c(0x492)]))[_0x34d04c(0x519)](async _0x15947d=>{const _0x1bd17c=_0x34d04c,_0x48e654=_0x15947d['getUnitId'](),_0x16584a=await this[_0x1bd17c(0x4c3)](_0x48e654);this[_0x1bd17c(0x3b4)][_0x1bd17c(0x3ff)](_0x16584a),this[_0x1bd17c(0x37a)][_0x1bd17c(0x441)](_0x48e654,_0x16584a);}),this[_0x34d04c(0x21d)][_0x34d04c(0x4aa)](_0x10a997[_0x34d04c(0x172)])[_0x34d04c(0x3f1)](_0x52fa59(this['dispose$']))[_0x34d04c(0x3f1)](_0x3cb187(_0xca1fba=>!_0xca1fba[_0x34d04c(0x322)]()[_0x34d04c(0x418)]('__')))[_0x34d04c(0x519)](async _0x40b74c=>{const _0x39d475=_0x34d04c,_0x4668c7=_0x40b74c[_0x39d475(0x322)](),_0x52892d=await this[_0x39d475(0x474)](_0x4668c7);this[_0x39d475(0x3b4)][_0x39d475(0x3ff)](_0x52892d),this[_0x39d475(0x37a)]['set'](_0x4668c7,_0x52892d);}),_0x4e4735(this['_univerInstanceService'][_0x34d04c(0x39a)](_0x10a997[_0x34d04c(0x172)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x10a997[_0x34d04c(0x55b)]))['pipe'](_0x52fa59(this[_0x34d04c(0x492)]))[_0x34d04c(0x519)](_0x4210f3=>{const _0x2f9c8d=_0x34d04c,_0x4f2f7e=_0x4210f3[_0x2f9c8d(0x322)](),_0x4a03a1=this['_entities'][_0x2f9c8d(0x4f7)](_0x4f2f7e);_0x4a03a1&&(_0x4a03a1[_0x2f9c8d(0x4d2)](),this[_0x2f9c8d(0x37a)][_0x2f9c8d(0x3d8)](_0x4f2f7e));});}async['_startSheetCollabCursor'](_0x23395f){const _0x1b5474=_0x5bb7a4,_0x23de9f=await this[_0x1b5474(0x575)]['requireSession'](_0x23395f),_0x1dd677=this[_0x1b5474(0x338)][_0x1b5474(0x30c)](rs,_0x23395f,_0x23de9f);return _0x1dd677['init'](),_0x1dd677;}async['_startDocCollabCursor'](_0x2afd6a){const _0x2920ba=_0x5bb7a4,_0x2fd856=await this[_0x2920ba(0x575)][_0x2920ba(0x2c7)](_0x2afd6a),_0x324109=this[_0x2920ba(0x338)][_0x2920ba(0x30c)](ns,_0x2afd6a,_0x2fd856);return _0x324109[_0x2920ba(0x1d6)](),_0x324109;}};Ve=$o([$t(0x0,_0x2e0534),$t(0x1,_0x22a3e1(_0x4c5160)),$t(0x2,_0x22a3e1(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x3913c0,_0x5ba156){const _0x869cc5=_0x5bb7a4;let {radius:_0x1bcf54,width:_0x18f252,height:_0xf50ddb}=_0x5ba156;_0x1bcf54=_0x1bcf54!=null?_0x1bcf54:0x0,_0x18f252=_0x18f252!=null?_0x18f252:0x1e,_0xf50ddb=_0xf50ddb!=null?_0xf50ddb:0x1e;let _0x1ce913=0x0,_0x25036f=0x0,_0x499977=0x0;_0x1ce913=_0x25036f=_0x499977=Math[_0x869cc5(0x443)](_0x1bcf54,_0x18f252/0x2,_0xf50ddb/0x2),_0x3913c0[_0x869cc5(0x336)](),_0x3913c0[_0x869cc5(0x4d4)](_0x1ce913,0x0),_0x3913c0[_0x869cc5(0x463)](_0x18f252-_0x25036f,0x0),_0x3913c0[_0x869cc5(0x449)](_0x18f252-_0x25036f,_0x25036f,_0x25036f,Math['PI']*0x3/0x2,0x0,!0x1),_0x3913c0[_0x869cc5(0x463)](_0x18f252,_0xf50ddb-_0x499977),_0x3913c0['arc'](_0x18f252-_0x499977,_0xf50ddb-_0x499977,_0x499977,0x0,Math['PI']/0x2,!0x1),_0x3913c0[_0x869cc5(0x463)](0x0,_0xf50ddb),_0x3913c0[_0x869cc5(0x463)](0x0,_0x1ce913),_0x3913c0[_0x869cc5(0x449)](_0x1ce913,_0x1ce913,_0x1ce913,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3913c0[_0x869cc5(0x3f2)](),_0x5ba156['fill']&&(_0x3913c0[_0x869cc5(0x33e)](),_0x3913c0[_0x869cc5(0x434)]=_0x5ba156[_0x869cc5(0x31c)],_0x5ba156[_0x869cc5(0x385)]===_0x869cc5(0x4ea)?_0x3913c0[_0x869cc5(0x31c)](_0x869cc5(0x4ea)):_0x3913c0[_0x869cc5(0x31c)](),_0x3913c0[_0x869cc5(0x574)]());}class yt extends _0x4b8d3f{constructor(_0x4a0347,_0x537e57){const _0xaeffb4=_0x5bb7a4;super(_0x4a0347,_0x537e57),g(this,_0xaeffb4(0x203)),g(this,_0xaeffb4(0x353)),(this['color']=_0x537e57==null?void 0x0:_0x537e57[_0xaeffb4(0x203)],this['text']=_0x537e57==null?void 0x0:_0x537e57[_0xaeffb4(0x353)]);}static[_0x5bb7a4(0x202)](_0xeeb684,_0x62adbf){const _0x95e8df=_0x5bb7a4,{text:_0x54a123,color:_0x476cda}=_0x62adbf;_0xeeb684[_0x95e8df(0x33e)](),_0xeeb684[_0x95e8df(0x3db)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xf8a811=_0xeeb684[_0x95e8df(0x38a)](_0x54a123)['width'],_0x337eb6=Math[_0x95e8df(0x443)](_0xf8a811+0x2*Ht,Ys);jo(_0xeeb684,{'height':nt,'radius':0x4,'width':_0x337eb6,'fill':_0x476cda,'evented':!0x1}),_0xeeb684[_0x95e8df(0x434)]=_0x95e8df(0x250);const _0x24fe7c=Ht,_0x75454b=nt-Ho,_0x214369=Ys-0x2*Ht;if(_0xf8a811>_0x214369){let _0x4a1f1f='',_0x2c0145=0x0;for(const _0x2270dd of _0x54a123){const _0x116813=_0xeeb684[_0x95e8df(0x38a)](_0x2270dd)['width'];if(_0x2c0145+_0x116813<=_0x214369-_0xeeb684[_0x95e8df(0x38a)](_0x95e8df(0x254))['width'])_0x4a1f1f+=_0x2270dd,_0x2c0145+=_0x116813;else{_0x4a1f1f+=_0x95e8df(0x254);break;}}_0xeeb684[_0x95e8df(0x1de)](_0x4a1f1f,_0x24fe7c,_0x75454b);}else _0xeeb684['fillText'](_0x54a123,_0x24fe7c,_0x75454b);_0xeeb684[_0x95e8df(0x574)]();}[_0x5bb7a4(0x3c7)](_0x414f40){yt['drawWith'](_0x414f40,this);}}const jt=_0x5bb7a4(0x53c),Bo='collab-text-range-',ko=_0x5bb7a4(0x4fd),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x5bb7a4(0x2de);class Ks{constructor(_0x5d0310,_0x5f10ef,_0x3512b1,_0x265d12){const _0x167a7e=_0x5bb7a4;g(this,_0x167a7e(0x381),[]),g(this,_0x167a7e(0x4c6),null),g(this,_0x167a7e(0x473),null),g(this,_0x167a7e(0x51f),null),g(this,'_hideTimer',null),g(this,'_eventUnsubscribe',null),(this[_0x167a7e(0x2b9)]=_0x5d0310,this[_0x167a7e(0x4d0)]=_0x5f10ef,this['_docSkeleton']=_0x3512b1,this['_document']=_0x265d12,this[_0x167a7e(0x21b)]());}set[_0x5bb7a4(0x363)](_0x1d85b4){const _0x4dc5cf=_0x5bb7a4;_0x1d85b4?(this[_0x4dc5cf(0x51f)]&&this[_0x4dc5cf(0x51f)]['hide'](),this[_0x4dc5cf(0x473)]&&this['_textBubble'][_0x4dc5cf(0x18e)]()):(this[_0x4dc5cf(0x51f)]&&this[_0x4dc5cf(0x51f)][_0x4dc5cf(0x18e)](),this[_0x4dc5cf(0x473)]&&this[_0x4dc5cf(0x473)]['hide']());}[_0x5bb7a4(0x4d2)](){const _0x10a3a9=_0x5bb7a4;for(const _0x4e227c of this[_0x10a3a9(0x381)])_0x4e227c[_0x10a3a9(0x4d2)]();this[_0x10a3a9(0x473)]&&this[_0x10a3a9(0x473)]['dispose'](),this[_0x10a3a9(0x51f)]&&this[_0x10a3a9(0x51f)][_0x10a3a9(0x4d2)](),this['_anchor']&&this[_0x10a3a9(0x4c6)][_0x10a3a9(0x4d2)](),this[_0x10a3a9(0x530)]&&this[_0x10a3a9(0x530)]();}[_0x5bb7a4(0x21b)](){const _0x5ce196=_0x5bb7a4;var _0x3c3304;const {_docSkeleton:_0x38a756,_document:_0x5c57d0}=this,{color:_0x530b50,name:_0x1babbc,ranges:_0x2cfdf3}=this[_0x5ce196(0x2b9)],_0x4b5f87=_0x5c57d0[_0x5ce196(0x1a7)](),{docsLeft:_0x3aba6d,docsTop:_0x1494ca}=_0x4b5f87,_0x402c4c=new _0x1e2d34(_0x4b5f87,_0x38a756);for(const {startOffset:_0x2d93b5,endOffset:_0x1fa160,rangeType:_0x2bd11b,segmentId:_0x42ba0e,segmentPage:_0x43dc4a,collapsed:_0x39951b,isActive:_0x102b7f}of _0x2cfdf3){const _0x56f8f7=_0x38a756['findNodePositionByCharIndex'](_0x2d93b5,!0x0,_0x42ba0e,_0x43dc4a);let _0xcd1851=_0x38a756[_0x5ce196(0x199)](_0x1fa160,!0x0,_0x42ba0e,_0x43dc4a);if(_0xcd1851==null&&(_0xcd1851=_0x38a756[_0x5ce196(0x199)](_0x1fa160-0x1,!0x1,_0x42ba0e,_0x43dc4a)),_0x102b7f){const {contentBoxPointGroup:_0x146e60}=_0x402c4c['getRangePointData'](_0xcd1851,_0xcd1851);if(_0x146e60[_0x5ce196(0x282)]===0x0)continue;this[_0x5ce196(0x4b4)](_0x530b50,_0x146e60,_0x3aba6d,_0x1494ca,_0x1babbc),this[_0x5ce196(0x530)]=this[_0x5ce196(0x46c)]();}if(_0x56f8f7&&_0xcd1851){if(_0x2bd11b===_0x569c02[_0x5ce196(0x503)]){const _0x2e8197=new _0x2b0059(_0x4b5f87,_0x38a756),{pointGroup:_0x2bef27}=(_0x3c3304=_0x2e8197[_0x5ce196(0x486)](_0x56f8f7,_0xcd1851))!=null?_0x3c3304:{};if(_0x2bef27==null||_0x2bef27[_0x5ce196(0x282)]===0x0)continue;this[_0x5ce196(0x4d7)](_0x530b50,_0x2bef27,_0x3aba6d,_0x1494ca);}else{if(!_0x39951b){const {borderBoxPointGroup:_0x262f4b}=_0x402c4c['getRangePointData'](_0x56f8f7,_0xcd1851);if(_0x262f4b[_0x5ce196(0x282)]===0x0)continue;this['_drawTextRange'](_0x530b50,_0x262f4b,_0x3aba6d,_0x1494ca);}}}}}[_0x5bb7a4(0x4b4)](_0xb77195,_0x12a0e2,_0x2c4945,_0x5942c5,_0x5b3215){const _0x75c254=_0x5bb7a4,_0x362d6b=this[_0x75c254(0x514)](_0x12a0e2),{left:_0xd25268,top:_0x41018a,height:_0x48ea1b}=_0x362d6b,_0x8115ae=this['_getScale'](),_0x5bb250=Fo/_0x8115ae,_0x5bd119=new _0x4214fc(jt+_0x41d014[_0x75c254(0x4d1)](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5,'height':_0x48ea1b,'width':Wo,'fill':_0xb77195||_0x140980(_0x593100[_0x75c254(0x1c2)],0x0),'strokeWidth':_0x5bb250,'stroke':Vo,'evented':!0x0});this[_0x75c254(0x4c6)]=_0x5bd119,this[_0x75c254(0x4d0)]['addObject'](_0x5bd119,_0x417fa9);const _0x445739=new _0x4214fc(jt+_0x41d014['generateRandomId'](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5-Bt/0x2,'height':Bt,'width':Bt,'fill':_0xb77195||_0x140980(_0x593100[_0x75c254(0x1c2)],0x0),'strokeWidth':0x0,'stroke':_0xb77195||_0x140980(_0x593100['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x445739,this['_scene'][_0x75c254(0x45b)](_0x445739,_0x417fa9);const _0x1ec620=new yt(jt+_0x41d014['generateRandomId'](Je),{'left':_0xd25268+_0x2c4945-_0x5bb250,'top':_0x41018a+_0x5942c5-nt,'text':_0x5b3215,'color':_0xb77195});this[_0x75c254(0x473)]=_0x1ec620,this[_0x75c254(0x4d0)][_0x75c254(0x45b)](_0x1ec620,_0x417fa9),this['_hover']=!0x1;}[_0x5bb7a4(0x46c)](){const _0x52149c=_0x5bb7a4,_0x15ad9f=this['_anchor'][_0x52149c(0x26a)][_0x52149c(0x3b2)](()=>{const _0x62338c=_0x52149c;this[_0x62338c(0x363)]=!0x0;}),_0x4e478b=this[_0x52149c(0x4c6)][_0x52149c(0x33c)][_0x52149c(0x3b2)](()=>{const _0x2b812b=_0x52149c;this[_0x2b812b(0x2f8)]&&clearTimeout(this[_0x2b812b(0x2f8)]),this[_0x2b812b(0x2f8)]=setTimeout(()=>{const _0x23d42d=_0x2b812b;this[_0x23d42d(0x363)]=!0x1;},0x7d0);});return()=>{const _0x2a8a60=_0x52149c;_0x15ad9f[_0x2a8a60(0x1e1)](),_0x4e478b[_0x2a8a60(0x1e1)]();};}[_0x5bb7a4(0x228)](_0x10526e,_0x410434,_0x208d52,_0xc9503b){const _0x542d38=_0x5bb7a4,_0x1892b8=new _0x589dec(_0x10526e)['setAlpha'](0.2)[_0x542d38(0x3cd)](),_0x32c9bf=new _0x18606b(Bo+_0x41d014[_0x542d38(0x4d1)](Je),{'pointsGroup':_0x410434,'fill':_0x1892b8||_0x140980(_0x593100[_0x542d38(0x1c2)],0.2),'left':_0x208d52,'top':_0xc9503b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x542d38(0x381)][_0x542d38(0x433)](_0x32c9bf),this[_0x542d38(0x4d0)][_0x542d38(0x45b)](_0x32c9bf,_0x417fa9);}[_0x5bb7a4(0x4d7)](_0x2256d4,_0x206c4e,_0x32457f,_0x5035a1){const _0x487485=_0x5bb7a4,_0x3dc950=new _0x589dec(_0x2256d4)[_0x487485(0x350)](0.2)[_0x487485(0x3cd)](),_0x3de543=new _0x18606b(ko+_0x41d014[_0x487485(0x4d1)](Je),{'pointsGroup':_0x206c4e,'fill':_0x3dc950||_0x140980(_0x593100[_0x487485(0x1c2)],0.2),'left':_0x32457f,'top':_0x5035a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x487485(0x381)][_0x487485(0x433)](_0x3de543),this[_0x487485(0x4d0)][_0x487485(0x45b)](_0x3de543,_0x417fa9);}[_0x5bb7a4(0x514)](_0x37d692){const _0x361f39=_0x37d692[0x0],_0x343179=_0x361f39[0x0],_0x2cbee5=_0x361f39[0x2],{x:_0x3ae4ee,y:_0xa6928f}=_0x343179,{x:_0xfc65c4,y:_0x53e145}=_0x2cbee5;return{'left':_0x3ae4ee,'top':_0xa6928f,'width':_0xfc65c4-_0x3ae4ee,'height':_0x53e145-_0xa6928f};}[_0x5bb7a4(0x25c)](){const _0x3ad69c=_0x5bb7a4,{scaleX:_0x4e94ce,scaleY:_0x55bc90}=this['_scene'][_0x3ad69c(0x1c0)]();return Math[_0x3ad69c(0x173)](_0x4e94ce,_0x55bc90);}}var Go=Object['defineProperty'],Yo=Object[_0x5bb7a4(0x4e4)],Ko=(_0xf18326,_0x572cb6,_0x303802,_0x757047)=>{for(var _0x5a1c5f=_0x757047>0x1?void 0x0:_0x757047?Yo(_0x572cb6,_0x303802):_0x572cb6,_0x507f21=_0xf18326['length']-0x1,_0x5fef69;_0x507f21>=0x0;_0x507f21--)(_0x5fef69=_0xf18326[_0x507f21])&&(_0x5a1c5f=(_0x757047?_0x5fef69(_0x572cb6,_0x303802,_0x5a1c5f):_0x5fef69(_0x5a1c5f))||_0x5a1c5f);return _0x757047&&_0x5a1c5f&&Go(_0x572cb6,_0x303802,_0x5a1c5f),_0x5a1c5f;},ct=(_0x4d096b,_0x5c7fbe)=>(_0x5a4b0d,_0x56d7d0)=>_0x5c7fbe(_0x5a4b0d,_0x56d7d0,_0x4d096b);let os=class extends _0x177a9e{constructor(_0x503d59,_0x4f60e0,_0x1fdcd7,_0x210a56,_0x122f26){const _0x2dfb0f=_0x5bb7a4;super(),g(this,_0x2dfb0f(0x44a),[]),g(this,'_cursors',[]),(this[_0x2dfb0f(0x265)]=_0x503d59,this[_0x2dfb0f(0x4ee)]=_0x4f60e0,this[_0x2dfb0f(0x334)]=_0x1fdcd7,this[_0x2dfb0f(0x53f)]=_0x210a56,this[_0x2dfb0f(0x2b0)]=_0x122f26,this[_0x2dfb0f(0x515)]());}[_0x5bb7a4(0x515)](){const _0x281e9e=_0x5bb7a4,_0x14d274=this['_context']['unitId'],_0x4ce9ab=this[_0x281e9e(0x4ee)];this[_0x281e9e(0x368)](_0x4753e6([this['_collabCursorController']['getCollabCursors$'](_0x14d274),this[_0x281e9e(0x2b0)][_0x281e9e(0x356)]])[_0x281e9e(0x3f1)](_0x17141f(([_0x3350ca,_0x393eaa])=>({'skeleton':_0x4ce9ab['getSkeleton'](),'cursors':[..._0x3350ca[_0x281e9e(0x2d6)]()][_0x281e9e(0x401)](_0x2598b6=>({..._0x2598b6,'color':_0x393eaa[_0x2598b6[_0x281e9e(0x203)]]}))})))[_0x281e9e(0x519)](_0x410027=>{const _0x414021=_0x281e9e;if(this[_0x414021(0x2ec)](),_0x410027){const {skeleton:_0x403dfb,cursors:_0x5363e3}=_0x410027;this[_0x414021(0x52a)](_0x403dfb,_0x5363e3);}})),this[_0x281e9e(0x45c)](),this[_0x281e9e(0x354)]();}[_0x5bb7a4(0x52a)](_0x2294e2,_0x5c3f10){const _0x299820=_0x5bb7a4,{scene:_0x4c1995,mainComponent:_0x149da9}=this[_0x299820(0x265)],_0x550d15=_0x5c3f10[_0x299820(0x2c9)](_0x317935=>new Ks(_0x317935,_0x4c1995,_0x2294e2,_0x149da9));this[_0x299820(0x44a)]=_0x550d15,this['_cursors']=_0x5c3f10;}[_0x5bb7a4(0x488)](){const _0x213620=_0x5bb7a4;this[_0x213620(0x2ec)]();const {scene:_0x5a0d98,mainComponent:_0x5f3117}=this[_0x213620(0x265)],_0x978b86=this['_docSkeletonManagerService'][_0x213620(0x535)](),_0x7d98d9=this['_cursors']['map'](_0x1d9a98=>new Ks(_0x1d9a98,_0x5a0d98,_0x978b86,_0x5f3117));this[_0x213620(0x44a)]=_0x7d98d9;}['_removeCollabCursors'](){const _0x20e201=_0x5bb7a4;this[_0x20e201(0x44a)][_0x20e201(0x312)](_0xf68f90=>_0xf68f90[_0x20e201(0x4d2)]()),this[_0x20e201(0x44a)]=[];}[_0x5bb7a4(0x354)](){const _0x12bed0=_0x5bb7a4,_0x876d84=[_0x595dd4['id']];this[_0x12bed0(0x368)](this['_commandService'][_0x12bed0(0x498)](_0x3bc9dc=>{const _0xc2519a=_0x12bed0;_0x876d84[_0xc2519a(0x21c)](_0x3bc9dc['id'])&&_0x3bc9dc[_0xc2519a(0x3d9)][_0xc2519a(0x55d)]===this[_0xc2519a(0x265)][_0xc2519a(0x55d)]&&this[_0xc2519a(0x488)]();}));}[_0x5bb7a4(0x45c)](){const _0x32da2d=_0x5bb7a4;this[_0x32da2d(0x368)](_0x3a7a27(this[_0x32da2d(0x265)][_0x32da2d(0x48d)][_0x32da2d(0x3d7)])[_0x32da2d(0x3f1)](_0x5a0a20(_0x39d97f=>_0x39d97f['type']===_0x2c9396['resize']),_0x3fef40(0x10))[_0x32da2d(0x519)](()=>{const _0x3ab375=_0x32da2d;this[_0x3ab375(0x488)]();}));}};os=Ko([ct(0x1,_0x22a3e1(_0x386ab1)),ct(0x2,_0x22a3e1(Ve)),ct(0x3,_0x1e58f0),ct(0x4,_0x22a3e1(_0x58be32))],os);const zo=0x1,qo=1.5;class Xo extends _0x4b8d3f{constructor(_0xa6a5a3,_0x3f913b){const _0x1ad06b=_0x5bb7a4;super(_0xa6a5a3,_0x3f913b),g(this,_0x1ad06b(0x4e3)),g(this,'_hovered',!0x1),g(this,_0x1ad06b(0x2d4)),g(this,'_name',''),g(this,_0x1ad06b(0x278),'top'),g(this,_0x1ad06b(0x2ea)),(_0x3f913b&&this[_0x1ad06b(0x357)](_0x3f913b),this[_0x1ad06b(0x26a)][_0x1ad06b(0x3b2)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x1ad06b(0x3b2)](()=>this[_0x1ad06b(0x357)]({'hovered':!0x1})));}[_0x5bb7a4(0x357)](_0x356795){const _0x48bd70=_0x5bb7a4;var _0x7acc20,_0x1b4949,_0x5dfa44,_0x2e45d2,_0x576bfa,_0x5504f7;this[_0x48bd70(0x4e3)]=(_0x7acc20=_0x356795[_0x48bd70(0x203)])!=null?_0x7acc20:this['_color'],this[_0x48bd70(0x2d9)]=(_0x1b4949=_0x356795[_0x48bd70(0x3b7)])!=null?_0x1b4949:this['_hovered'],this['_range']=(_0x5dfa44=_0x356795[_0x48bd70(0x2da)])!=null?_0x5dfa44:this['_range'],this[_0x48bd70(0x527)]=(_0x2e45d2=_0x356795[_0x48bd70(0x408)])!=null?_0x2e45d2:this[_0x48bd70(0x527)],this[_0x48bd70(0x278)]=(_0x576bfa=_0x356795['labelPosition'])!=null?_0x576bfa:this[_0x48bd70(0x278)],this['_backgroundColor']=(_0x5504f7=_0x356795[_0x48bd70(0x244)])!=null?_0x5504f7:this[_0x48bd70(0x2ea)],this['transformByState']({'width':_0x356795[_0x48bd70(0x1ea)],'height':_0x356795[_0x48bd70(0x38f)]});}[_0x5bb7a4(0x32a)](_0x389391){const _0x4f7103=_0x5bb7a4,{row:_0x9f3475,column:_0x15d5cc}=_0x389391;if(_0x9f3475>=this['_range']['startRow']&&_0x9f3475<=this[_0x4f7103(0x2d4)]['endRow']&&_0x15d5cc>=this[_0x4f7103(0x2d4)][_0x4f7103(0x249)]&&_0x15d5cc<=this[_0x4f7103(0x2d4)][_0x4f7103(0x290)]){this[_0x4f7103(0x357)]({'hovered':!0x0});return;}this[_0x4f7103(0x357)]({'hovered':!0x1});}[_0x5bb7a4(0x3ed)](_0x49b6c1){return!0x1;}['_draw'](_0x3cc42a){const _0x588a1e=_0x5bb7a4;_0x4214fc[_0x588a1e(0x202)](_0x3cc42a,{'width':this['width'],'height':this[_0x588a1e(0x38f)],'strokeWidth':qo,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x588a1e(0x2d9)]&&(_0x3cc42a['save'](),_0x3cc42a['transform'](0x1,0x0,0x0,0x1,this[_0x588a1e(0x1ea)],this['_labelPosition']===_0x588a1e(0x1aa)?0x0:-nt),yt[_0x588a1e(0x202)](_0x3cc42a,{'text':this[_0x588a1e(0x527)],'color':this[_0x588a1e(0x4e3)]}),_0x3cc42a['restore']());}}var Jo=Object['defineProperty'],Zo=Object[_0x5bb7a4(0x4e4)],Qo=(_0x1f9582,_0x1980f6,_0x5304f7,_0x31bfe5)=>{const _0x6fdabd=_0x5bb7a4;for(var _0x4e053f=_0x31bfe5>0x1?void 0x0:_0x31bfe5?Zo(_0x1980f6,_0x5304f7):_0x1980f6,_0x1a85ab=_0x1f9582[_0x6fdabd(0x282)]-0x1,_0x2da638;_0x1a85ab>=0x0;_0x1a85ab--)(_0x2da638=_0x1f9582[_0x1a85ab])&&(_0x4e053f=(_0x31bfe5?_0x2da638(_0x1980f6,_0x5304f7,_0x4e053f):_0x2da638(_0x4e053f))||_0x4e053f);return _0x31bfe5&&_0x4e053f&&Jo(_0x1980f6,_0x5304f7,_0x4e053f),_0x4e053f;},kt=(_0x27ddcd,_0x5ef171)=>(_0x4bd639,_0x2b76ee)=>_0x5ef171(_0x4bd639,_0x2b76ee,_0x27ddcd);const ea=0x1389;let as=class extends _0x177a9e{constructor(_0x2a7c4f,_0x1bf540,_0x5f0fad,_0x346ef4){const _0x428baa=_0x5bb7a4;super(),g(this,_0x428baa(0x1cc),new Set()),g(this,'_lastPointer',null),(this[_0x428baa(0x265)]=_0x2a7c4f,this[_0x428baa(0x1e9)]=_0x1bf540,this['_collabCursorController']=_0x5f0fad,this[_0x428baa(0x2b0)]=_0x346ef4,this[_0x428baa(0x515)]());}[_0x5bb7a4(0x515)](){const _0x2b0769=_0x5bb7a4;this[_0x2b0769(0x1e9)][_0x2b0769(0x436)]['pipe'](_0x216286(this[_0x2b0769(0x492)]),_0x58ad60(_0x1abddb=>{const _0x1afc96=_0x2b0769;if(_0x1abddb){const _0xff6a8f=_0x1abddb['sheetId'];return _0x4753e6(this['_collabCursorController'][_0x1afc96(0x198)](this[_0x1afc96(0x265)]['unitId']),this[_0x1afc96(0x2b0)][_0x1afc96(0x356)])[_0x1afc96(0x3f1)](_0x17141f(([_0x18fd07,_0x424239])=>{const _0x5d8696=_0x1afc96,_0x49b68d=new Map();return _0x18fd07[_0x5d8696(0x312)]((_0x90ead4,_0x5cea7b)=>{const _0x5336dc=_0x5d8696;if(_0x90ead4[_0x5336dc(0x326)]===_0xff6a8f){const _0x4ff1ee={..._0x90ead4};_0x4ff1ee[_0x5336dc(0x203)]=_0x424239[_0x90ead4[_0x5336dc(0x203)]],_0x49b68d[_0x5336dc(0x441)](_0x5cea7b,_0x4ff1ee);}}),{'skeleton':_0x1abddb,'cursors':_0x49b68d};}));}return _0x52cb6f({'skeleton':null,'cursors':new Map()});}))[_0x2b0769(0x519)](({skeleton:_0x463c8b,cursors:_0xc1fa53})=>{const _0x496807=_0x2b0769;this[_0x496807(0x2ec)](),_0x463c8b&&this[_0x496807(0x52a)](_0x463c8b,_0xc1fa53);}),this[_0x2b0769(0x1e9)][_0x2b0769(0x436)][_0x2b0769(0x519)](_0x1d71cc=>{const _0x2811b1=_0x2b0769;if(_0x1d71cc==null)return;const {skeleton:_0x41f81e}=_0x1d71cc,{scene:_0x10c8a6}=this[_0x2811b1(0x265)];_0x10c8a6[_0x2811b1(0x565)][_0x2811b1(0x3b2)](_0x47386f(_0x4f9e43=>{const _0x1cb191=_0x2811b1;var _0xc66290,_0x533132;const {offsetX:_0x299efb,offsetY:_0x15b925}=_0x4f9e43,{x:_0x3591d8,y:_0x4efcdf}=_0x10c8a6[_0x1cb191(0x31d)](_0x3af8ad[_0x1cb191(0x20b)]([_0x299efb,_0x15b925])),{scaleX:_0x89457d,scaleY:_0x4e107f}=_0x10c8a6[_0x1cb191(0x1c0)](),_0x36197b=_0x10c8a6[_0x1cb191(0x20c)](_0x4bafe5[_0x1cb191(0x4cb)]),_0x5b1455=_0x10c8a6[_0x1cb191(0x3df)](_0x3af8ad['FromArray']([_0x3591d8,_0x4efcdf]),_0x36197b),_0x2d000b=_0x41f81e[_0x1cb191(0x3cf)](_0x299efb,_0x15b925,_0x89457d,_0x4e107f,_0x5b1455);((_0xc66290=this[_0x1cb191(0x4d9)])==null?void 0x0:_0xc66290[_0x1cb191(0x396)])===_0x2d000b[_0x1cb191(0x396)]&&((_0x533132=this[_0x1cb191(0x4d9)])==null?void 0x0:_0x533132[_0x1cb191(0x53e)])===_0x2d000b[_0x1cb191(0x53e)]||this[_0x1cb191(0x1cc)]['forEach'](_0x2fff86=>{_0x2fff86['onMouseMove'](_0x2d000b);});},0x64));});}['_updateCollabCursors'](_0x1de0e6,_0x367334){const _0xdabc75=_0x5bb7a4;var _0x3dacef;const _0x283ea9=(_0x3dacef=this[_0xdabc75(0x1e9)]['getCurrent']())==null?void 0x0:_0x3dacef['skeleton'];if(!_0x283ea9)return;const _0x4377ea=this['_getSheetObject']();if(!_0x4377ea)return;this[_0xdabc75(0x1cc)]['forEach'](_0x340c38=>{const _0x2d7e0a=_0xdabc75;_0x340c38[_0x2d7e0a(0x44b)]();});const {scene:_0x3ae7ca}=_0x4377ea,_0x31cc2c=ta(Array[_0xdabc75(0x348)](_0x367334['values']()))[_0xdabc75(0x2c9)](_0x510c4a=>{const _0xad36a1=_0xdabc75,{color:_0x41b5ee,range:_0x449d1a,name:_0x58104b,selection:_0x2c382d,sheetID:_0x311a43}=_0x510c4a,{startColumn:_0x1c9e43,startRow:_0xa5f115,endColumn:_0x2eb382,endRow:_0x391a32}=_0x449d1a,_0x97121a=_0x5a0e3d(_0xa5f115,_0x1c9e43,_0x3ae7ca,_0x283ea9),_0x473595=_0x5a0e3d(_0x391a32,_0x2eb382,_0x3ae7ca,_0x283ea9),{columnHeaderHeightAndMarginTop:_0x4e1168}=_0x283ea9,{startX:_0x3a6319,startY:_0x19b4d7}=_0x97121a,{endX:_0xc67a61,endY:_0x1b2e27}=_0x473595,_0x2076ba=_0xc67a61-_0x3a6319,_0x450ede=_0x1b2e27-_0x19b4d7,_0xc95cd9={'labelPosition':_0x19b4d7-_0x4e1168>=nt?_0xad36a1(0x235):_0xad36a1(0x1aa),'sheetID':_0x311a43,'range':_0x449d1a,'color':_0x41b5ee,'name':_0x58104b,'selection':_0x2c382d,'left':_0x3a6319,'top':_0x19b4d7,'width':_0x2076ba,'height':_0x450ede,'evented':!0x1,'zIndex':ea};return new Xo(_0x58104b,_0xc95cd9);});_0x3ae7ca[_0xdabc75(0x1c8)](_0x31cc2c,zo),this[_0xdabc75(0x1cc)]=new Set(_0x31cc2c);}['_removeCollabCursors'](){const _0x8fe7c9=_0x5bb7a4;var _0x143fe2;(_0x143fe2=this[_0x8fe7c9(0x1cc)])==null||_0x143fe2[_0x8fe7c9(0x312)](_0x2d340b=>_0x2d340b[_0x8fe7c9(0x4d2)]());}[_0x5bb7a4(0x370)](){const _0x4ea631=_0x5bb7a4;return _0x1d2c70(this[_0x4ea631(0x265)][_0x4ea631(0x243)],this[_0x4ea631(0x265)]);}};as=Qo([kt(0x1,_0x22a3e1(_0x328715)),kt(0x2,_0x22a3e1(Ve)),kt(0x3,_0x22a3e1(_0x58be32))],as);function ta(_0x40e28a){const _0x5626f3=new Map();return _0x40e28a['forEach'](_0x589af5=>{const _0x573b8f=_0x4081;if(_0x5626f3['has'](_0x589af5[_0x573b8f(0x24a)])){const _0x1a96d1=_0x5626f3[_0x573b8f(0x4f7)](_0x589af5[_0x573b8f(0x24a)]);_0x1a96d1[_0x573b8f(0x408)]+=',\x20'+_0x589af5[_0x573b8f(0x408)];}else _0x5626f3[_0x573b8f(0x441)](_0x589af5['selection'],_0x589af5);}),Array['from'](_0x5626f3['values']());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x2154fa){const _0x1e9693=_0x5bb7a4;return _0x2154fa&&_0x2154fa[_0x1e9693(0x206)]&&Object[_0x1e9693(0x423)]['hasOwnProperty']['call'](_0x2154fa,'default')?_0x2154fa[_0x1e9693(0x458)]:_0x2154fa;}var Mi={'exports':{}},Ot={},sa=_0x3fd601,ia=Symbol[_0x5bb7a4(0x2b1)](_0x5bb7a4(0x41e)),na=Symbol['for'](_0x5bb7a4(0x317)),ra=Object[_0x5bb7a4(0x423)][_0x5bb7a4(0x440)],oa=sa[_0x5bb7a4(0x3a0)]['ReactCurrentOwner'],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4081(_0x914906,_0x47fb9a){const _0x27da31=_0x27da();return _0x4081=function(_0x408197,_0x1a5ddf){_0x408197=_0x408197-0x163;let _0x5cf0f7=_0x27da31[_0x408197];return _0x5cf0f7;},_0x4081(_0x914906,_0x47fb9a);}function xi(_0x2275c3,_0x24211e,_0xc86925){const _0x8de65b=_0x5bb7a4;var _0x3157a0,_0x572745={},_0x588a4f=null,_0x47ef96=null;_0xc86925!==void 0x0&&(_0x588a4f=''+_0xc86925),_0x24211e[_0x8de65b(0x275)]!==void 0x0&&(_0x588a4f=''+_0x24211e['key']),_0x24211e[_0x8de65b(0x3a8)]!==void 0x0&&(_0x47ef96=_0x24211e[_0x8de65b(0x3a8)]);for(_0x3157a0 in _0x24211e)ra[_0x8de65b(0x1f6)](_0x24211e,_0x3157a0)&&!aa[_0x8de65b(0x440)](_0x3157a0)&&(_0x572745[_0x3157a0]=_0x24211e[_0x3157a0]);if(_0x2275c3&&_0x2275c3[_0x8de65b(0x346)]){for(_0x3157a0 in(_0x24211e=_0x2275c3['defaultProps'],_0x24211e))_0x572745[_0x3157a0]===void 0x0&&(_0x572745[_0x3157a0]=_0x24211e[_0x3157a0]);}return{'$$typeof':ia,'type':_0x2275c3,'key':_0x588a4f,'ref':_0x47ef96,'props':_0x572745,'_owner':oa[_0x8de65b(0x51a)]};}Ot[_0x5bb7a4(0x1d7)]=na,Ot[_0x5bb7a4(0x2fc)]=xi,Ot[_0x5bb7a4(0x28f)]=xi,Mi[_0x5bb7a4(0x236)]=Ot;var we=Mi['exports'],ee=function(){const _0xb8d2e4=_0x5bb7a4;return ee=Object['assign']||function(_0x19c61c){const _0x333a9d=_0x4081;for(var _0x4aa01a,_0x12c265=0x1,_0x16c363=arguments[_0x333a9d(0x282)];_0x12c265<_0x16c363;_0x12c265++){_0x4aa01a=arguments[_0x12c265];for(var _0x2aac17 in _0x4aa01a)Object[_0x333a9d(0x423)][_0x333a9d(0x440)][_0x333a9d(0x1f6)](_0x4aa01a,_0x2aac17)&&(_0x19c61c[_0x2aac17]=_0x4aa01a[_0x2aac17]);}return _0x19c61c;},ee[_0xb8d2e4(0x568)](this,arguments);},ca=function(_0x16d1c1,_0x54c826){const _0x4b2a6f=_0x5bb7a4;var _0x223824={};for(var _0x31bf36 in _0x16d1c1)Object[_0x4b2a6f(0x423)][_0x4b2a6f(0x440)][_0x4b2a6f(0x1f6)](_0x16d1c1,_0x31bf36)&&_0x54c826[_0x4b2a6f(0x41f)](_0x31bf36)<0x0&&(_0x223824[_0x31bf36]=_0x16d1c1[_0x31bf36]);if(_0x16d1c1!=null&&typeof Object['getOwnPropertySymbols']==_0x4b2a6f(0x4b8)){for(var _0x1e5156=0x0,_0x31bf36=Object[_0x4b2a6f(0x404)](_0x16d1c1);_0x1e5156<_0x31bf36['length'];_0x1e5156++)_0x54c826['indexOf'](_0x31bf36[_0x1e5156])<0x0&&Object['prototype'][_0x4b2a6f(0x499)][_0x4b2a6f(0x1f6)](_0x16d1c1,_0x31bf36[_0x1e5156])&&(_0x223824[_0x31bf36[_0x1e5156]]=_0x16d1c1[_0x31bf36[_0x1e5156]]);}return _0x223824;},Ts=_0x5ecf43(function(_0x1ddc40,_0x43b0c2){const _0xad23e0=_0x5bb7a4;var _0x5d28c5=_0x1ddc40[_0xad23e0(0x37c)],_0x1ee06b=_0x1ddc40['id'],_0xe5ef59=_0x1ddc40[_0xad23e0(0x375)],_0xeddec2=_0x1ddc40[_0xad23e0(0x187)],_0x461f45=ca(_0x1ddc40,[_0xad23e0(0x37c),'id',_0xad23e0(0x375),_0xad23e0(0x187)]),_0x706c0e='univerjs-icon\x20univerjs-icon-'[_0xad23e0(0x196)](_0x1ee06b,'\x20')[_0xad23e0(0x196)](_0xe5ef59||'')['trim'](),_0x7e2bf1=_0x37367c('_'[_0xad23e0(0x196)](_a()));return Li(_0x5d28c5,''[_0xad23e0(0x196)](_0x1ee06b),{'defIds':_0x5d28c5[_0xad23e0(0x563)],'idSuffix':_0x7e2bf1[_0xad23e0(0x51a)]},ee({'ref':_0x43b0c2,'className':_0x706c0e},_0x461f45),_0xeddec2);});function Li(_0x2b54ed,_0x52661d,_0x17e91e,_0x525d15,_0x101f34){const _0x3a17ba=_0x5bb7a4;return _0x438628(_0x2b54ed[_0x3a17ba(0x266)],ee(ee({'key':_0x52661d},ha(_0x2b54ed,_0x17e91e,_0x101f34)),_0x525d15),(la(_0x2b54ed,_0x17e91e)[_0x3a17ba(0x4e1)]||[])[_0x3a17ba(0x2c9)](function(_0x59ac71,_0x212c34){const _0x454abf=_0x3a17ba;return Li(_0x59ac71,''[_0x454abf(0x196)](_0x52661d,'-')['concat'](_0x2b54ed['tag'],'-')[_0x454abf(0x196)](_0x212c34),_0x17e91e,void 0x0,_0x101f34);}));}function ha(_0x1aab5c,_0x483250,_0xd2ea14){const _0x1eda34=_0x5bb7a4;var _0x43c9d3=ee({},_0x1aab5c['attrs']);_0xd2ea14!=null&&_0xd2ea14[_0x1eda34(0x4e9)]&&_0x43c9d3[_0x1eda34(0x31c)]===_0x1eda34(0x4e9)&&(_0x43c9d3['fill']=_0xd2ea14[_0x1eda34(0x4e9)]);var _0x1e27c6=_0x483250[_0x1eda34(0x563)];return!_0x1e27c6||_0x1e27c6[_0x1eda34(0x282)]===0x0||(_0x1aab5c[_0x1eda34(0x266)]==='use'&&_0x43c9d3[_0x1eda34(0x4af)]&&(_0x43c9d3[_0x1eda34(0x4af)]=_0x43c9d3[_0x1eda34(0x4af)]+_0x483250[_0x1eda34(0x1b2)]),Object[_0x1eda34(0x420)](_0x43c9d3)['forEach'](function(_0x1f9a1d){const _0x4394d6=_0x1eda34;var _0xd76ecd=_0x1f9a1d[0x0],_0x19c8f4=_0x1f9a1d[0x1];typeof _0x19c8f4==_0x4394d6(0x40c)&&(_0x43c9d3[_0xd76ecd]=_0x19c8f4[_0x4394d6(0x464)](/url\(#(.*)\)/,_0x4394d6(0x41b)[_0x4394d6(0x196)](_0x483250[_0x4394d6(0x1b2)],')')));})),_0x43c9d3;}function la(_0x4fd75b,_0x1e111e){const _0x21bee2=_0x5bb7a4;var _0x192017,_0x4906ea=_0x1e111e[_0x21bee2(0x563)];return!_0x4906ea||_0x4906ea['length']===0x0?_0x4fd75b:_0x4fd75b[_0x21bee2(0x266)]==='defs'&&(!((_0x192017=_0x4fd75b[_0x21bee2(0x4e1)])===null||_0x192017===void 0x0)&&_0x192017[_0x21bee2(0x282)])?ee(ee({},_0x4fd75b),{'children':_0x4fd75b[_0x21bee2(0x4e1)][_0x21bee2(0x2c9)](function(_0x4ab114){const _0x598800=_0x21bee2;return typeof _0x4ab114['attrs']['id']==_0x598800(0x40c)&&_0x4906ea&&_0x4906ea[_0x598800(0x41f)](_0x4ab114[_0x598800(0x4ce)]['id'])>-0x1?ee(ee({},_0x4ab114),{'attrs':ee(ee({},_0x4ab114[_0x598800(0x4ce)]),{'id':_0x4ab114[_0x598800(0x4ce)]['id']+_0x1e111e[_0x598800(0x1b2)]})}):_0x4ab114;})}):_0x4fd75b;}function _a(){const _0xf87ae6=_0x5bb7a4;return Math[_0xf87ae6(0x453)]()[_0xf87ae6(0x2e5)](0x24)[_0xf87ae6(0x4c8)](0x2,0x8);}Ts['displayName']=_0x5bb7a4(0x166);var ua={'tag':'svg','attrs':{'fill':'none','viewBox':_0x5bb7a4(0x4e5),'width':'1em','height':_0x5bb7a4(0x467)},'children':[{'tag':'g','attrs':{'clipPath':_0x5bb7a4(0x22d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5bb7a4(0x56b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5bb7a4(0x3de),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x5bb7a4(0x2a4),'d':_0x5bb7a4(0x1e4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},$i=_0x5ecf43(function(_0x38344f,_0x5af1c9){const _0xef1f58=_0x5bb7a4;return _0x438628(Ts,Object['assign']({},_0x38344f,{'id':_0xef1f58(0x478),'ref':_0x5af1c9,'icon':ua}));});$i[_0x5bb7a4(0x493)]=_0x5bb7a4(0x333);var da={'tag':'svg','attrs':{'fill':_0x5bb7a4(0x1e6),'viewBox':_0x5bb7a4(0x26b),'width':_0x5bb7a4(0x467),'height':_0x5bb7a4(0x467)},'children':[{'tag':'g','attrs':{'clipPath':_0x5bb7a4(0x3c5)},'children':[{'tag':_0x5bb7a4(0x327),'attrs':{'stroke':_0x5bb7a4(0x2e7),'d':_0x5bb7a4(0x388),'strokeLinecap':'round','strokeLinejoin':_0x5bb7a4(0x3fe),'strokeWidth':1.2}}]},{'tag':_0x5bb7a4(0x484),'attrs':{},'children':[{'tag':_0x5bb7a4(0x3de),'attrs':{'id':_0x5bb7a4(0x500)},'children':[{'tag':_0x5bb7a4(0x327),'attrs':{'fill':_0x5bb7a4(0x2a4),'d':_0x5bb7a4(0x1e4),'transform':_0x5bb7a4(0x35c)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x5ecf43(function(_0x1bceb9,_0x26d5cb){const _0x16be8e=_0x5bb7a4;return _0x438628(Ts,Object[_0x16be8e(0x1a1)]({},_0x1bceb9,{'id':_0x16be8e(0x1ae),'ref':_0x26d5cb,'icon':da}));});Hi[_0x5bb7a4(0x493)]=_0x5bb7a4(0x1da);function ji(_0x208658){const _0x1a10a9=_0x5bb7a4;var _0x37935d,_0x4bc55f,_0x208756='';if(typeof _0x208658==_0x1a10a9(0x40c)||typeof _0x208658==_0x1a10a9(0x2fb))_0x208756+=_0x208658;else{if(typeof _0x208658==_0x1a10a9(0x4a3)){if(Array[_0x1a10a9(0x2f4)](_0x208658)){var _0x40580e=_0x208658[_0x1a10a9(0x282)];for(_0x37935d=0x0;_0x37935d<_0x40580e;_0x37935d++)_0x208658[_0x37935d]&&(_0x4bc55f=ji(_0x208658[_0x37935d]))&&(_0x208756&&(_0x208756+='\x20'),_0x208756+=_0x4bc55f);}else{for(_0x4bc55f in _0x208658)_0x208658[_0x4bc55f]&&(_0x208756&&(_0x208756+='\x20'),_0x208756+=_0x4bc55f);}}}return _0x208756;}function fa(){for(var _0x342903,_0x195980,_0x38a75f=0x0,_0x257654='',_0xbcf8bb=arguments['length'];_0x38a75f<_0xbcf8bb;_0x38a75f++)(_0x342903=arguments[_0x38a75f])&&(_0x195980=ji(_0x342903))&&(_0x257654&&(_0x257654+='\x20'),_0x257654+=_0x195980);return _0x257654;}const va=_0x5bb7a4(0x18f),ma=_0x5bb7a4(0x1d1),pa=_0x5bb7a4(0x56f),ga='univer-online',Sa=_0x5bb7a4(0x261),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x328188){const _0x34e287=_0x5bb7a4;switch(_0x328188){case J[_0x34e287(0x23a)]:return _0x34e287(0x32d);case J[_0x34e287(0x287)]:return'collabStatus.conflict';case J[_0x34e287(0x40b)]:return _0x34e287(0x41c);case J['NOT_COLLAB']:return _0x34e287(0x470);case J[_0x34e287(0x2f3)]:case J[_0x34e287(0x256)]:return _0x34e287(0x185);case J[_0x34e287(0x50e)]:case J['PENDING']:return _0x34e287(0x28c);}}function Ca(_0x324751){const _0x1f906d=_0x5bb7a4,{status$:_0x2fb4fd}=_0x324751,_0x35432d=_0x3b686f(_0x2fb4fd,J['NOT_COLLAB']),_0x33eac8=_0xe664fe(_0x1fdc1b),_0xb4f404=_0xe664fe(Ae),_0x55a547=_0x35432d!==J[_0x1f906d(0x23a)],_0x27ae9c=_0x33eac8['t'](Ia(_0x35432d)),_0x1aede2=fa(Ze[_0x1f906d(0x221)],{[Ze[_0x1f906d(0x26d)]]:_0x55a547,[Ze['offline']]:!_0x55a547}),_0x29971f=_0x55a547?we[_0x1f906d(0x2fc)](Hi,{}):we[_0x1f906d(0x2fc)]($i,{}),_0x2047d=_0x1f3798(()=>{_0x55a547||_0xb4f404['reconnect']();},[_0x55a547,_0xb4f404]);function _0x23919d(){const _0x7af87a=_0x1f906d;return we[_0x7af87a(0x28f)]('div',{'className':_0x1aede2,'onClick':_0x2047d,'children':[we[_0x7af87a(0x2fc)](_0x7af87a(0x28e),{'className':Ze[_0x7af87a(0x4c2)],'children':_0x29971f}),we['jsx'](_0x7af87a(0x28e),{'className':Ze[_0x7af87a(0x321)],'children':_0x27ae9c})]});}return _0x55a547?_0x23919d():we[_0x1f906d(0x2fc)](_0x4f930e,{'title':_0x33eac8['t'](_0x1f906d(0x1e8)),'children':_0x23919d()});}var Ea=Object[_0x5bb7a4(0x42b)],ba=Object[_0x5bb7a4(0x4e4)],Ta=(_0x245122,_0x1d38d9,_0x19deda,_0x2c19f6)=>{const _0x5d4d8a=_0x5bb7a4;for(var _0x361528=_0x2c19f6>0x1?void 0x0:_0x2c19f6?ba(_0x1d38d9,_0x19deda):_0x1d38d9,_0x46f6c9=_0x245122[_0x5d4d8a(0x282)]-0x1,_0x521453;_0x46f6c9>=0x0;_0x46f6c9--)(_0x521453=_0x245122[_0x46f6c9])&&(_0x361528=(_0x2c19f6?_0x521453(_0x1d38d9,_0x19deda,_0x361528):_0x521453(_0x361528))||_0x361528);return _0x2c19f6&&_0x361528&&Ea(_0x1d38d9,_0x19deda,_0x361528),_0x361528;},ht=(_0x51812c,_0x5a060f)=>(_0x365065,_0x52414b)=>_0x5a060f(_0x365065,_0x52414b,_0x51812c);let St=class extends _0x1caa36{constructor(_0x1a6489,_0xaba21b,_0x291629,_0x4dfdfd){const _0x294a65=_0x5bb7a4;super(),g(this,_0x294a65(0x281),new _0x348a88(J[_0x294a65(0x410)])),(this[_0x294a65(0x21d)]=_0x1a6489,this[_0x294a65(0x47e)]=_0xaba21b,this['_injector']=_0x291629,this[_0x294a65(0x471)]=_0x4dfdfd,this[_0x294a65(0x1cb)](),this['_initStatusListener']());}[_0x5bb7a4(0x4f3)](){const _0x2bbbd4=_0x5bb7a4;this[_0x2bbbd4(0x368)](this['_univerInstanceService']['focused$'][_0x2bbbd4(0x3f1)](_0x1e3e59(()=>{const _0xa6a18d=_0x2bbbd4,_0x51f6e0=this[_0xa6a18d(0x21d)][_0xa6a18d(0x1dd)]();return _0x51f6e0?this[_0xa6a18d(0x471)][_0xa6a18d(0x42f)](_0x51f6e0[_0xa6a18d(0x322)]()):_0x52cb6f(null);}),_0x1e3e59(_0x485493=>_0x485493?_0x485493['status$']:_0x52cb6f(J['NOT_COLLAB'])))[_0x2bbbd4(0x519)](_0x56d5c6=>{const _0x374e07=_0x2bbbd4;this[_0x374e07(0x281)][_0x374e07(0x3ff)](_0x56d5c6);}));}['_initStatusComponent'](){const _0x495557=_0x5bb7a4;this['disposeWithMe'](this[_0x495557(0x47e)]['registerComponent'](_0x5b1713[_0x495557(0x539)],()=>_0x3048e7(Ra({'status$':this[_0x495557(0x281)][_0x495557(0x1a6)]()}),this[_0x495557(0x338)])));}};St=Ta([ht(0x0,_0x2e0534),ht(0x1,_0x2cb103),ht(0x2,_0x22a3e1(_0x4c5160)),ht(0x3,_0x22a3e1(it))],St);function Ra(_0x15b711){const {status$:_0x26a141}=_0x15b711;return function(){return we['jsx'](Ca,{'status$':_0x26a141});};}const Bi=_0x5ce9a5('uni.network.url-service');var ya=Object[_0x5bb7a4(0x42b)],Oa=Object[_0x5bb7a4(0x4e4)],wa=(_0x41be83,_0x48acb7,_0x7c0ee7,_0x5bac1d)=>{const _0x3acb84=_0x5bb7a4;for(var _0x1c9aee=_0x5bac1d>0x1?void 0x0:_0x5bac1d?Oa(_0x48acb7,_0x7c0ee7):_0x48acb7,_0x3ab693=_0x41be83[_0x3acb84(0x282)]-0x1,_0x3b73fb;_0x3ab693>=0x0;_0x3ab693--)(_0x3b73fb=_0x41be83[_0x3ab693])&&(_0x1c9aee=(_0x5bac1d?_0x3b73fb(_0x48acb7,_0x7c0ee7,_0x1c9aee):_0x3b73fb(_0x1c9aee))||_0x1c9aee);return _0x5bac1d&&_0x1c9aee&&ya(_0x48acb7,_0x7c0ee7,_0x1c9aee),_0x1c9aee;},ke=(_0x3d4f4e,_0x54a35f)=>(_0x4448bc,_0x3141d6)=>_0x54a35f(_0x4448bc,_0x3141d6,_0x3d4f4e);let It=class extends _0x177a9e{constructor(_0x312bf0,_0xd155f6,_0x1c27cc,_0x2651c1,_0x38f438,_0x146be8){const _0x1d1980=_0x5bb7a4;super(),this[_0x1d1980(0x538)]=_0x312bf0,this[_0x1d1980(0x26e)]=_0xd155f6,this[_0x1d1980(0x53f)]=_0x1c27cc,this[_0x1d1980(0x46d)]=_0x2651c1,this[_0x1d1980(0x496)]=_0x38f438,_0x146be8?_0x146be8==null||_0x146be8['whenReady']()[_0x1d1980(0x40e)](()=>this[_0x1d1980(0x515)]()):(this[_0x1d1980(0x26e)][_0x1d1980(0x23c)](_0x1d1980(0x392),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x5bb7a4(0x515)](){const _0x5e03f0=_0x5bb7a4,_0x97d4ce=this[_0x5e03f0(0x538)][_0x5e03f0(0x325)](_0x5e03f0(0x243)),_0x24a475=this['_urlService'][_0x5e03f0(0x325)](_0x5e03f0(0x27e));if(!_0x97d4ce||!_0x24a475){this['_logService']['debug'](_0x5e03f0(0x392),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x24a475)){case ce[_0x5e03f0(0x55b)]:{const _0xf7e357=await this['_loadSheet'](_0x97d4ce);this[_0x5e03f0(0x271)](_0xf7e357);break;}case ce[_0x5e03f0(0x172)]:{await this[_0x5e03f0(0x1f3)](_0x97d4ce);break;}default:{this[_0x5e03f0(0x26e)][_0x5e03f0(0x17b)](_0x5e03f0(0x392),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5bb7a4(0x271)](_0x3252fc){const _0x318ad6=_0x5bb7a4;await this['_updateSubUnitFromURLParams'](_0x3252fc),_0x3252fc['activeSheet$']['pipe'](_0x52fa59(this[_0x318ad6(0x492)]))[_0x318ad6(0x519)](_0x29751a=>{const _0x5c1819=_0x318ad6;_0x29751a&&this[_0x5c1819(0x545)](_0x29751a);}),this[_0x318ad6(0x538)]['urlChange$'][_0x318ad6(0x3f1)](_0x52fa59(this[_0x318ad6(0x492)]))[_0x318ad6(0x519)](()=>this[_0x318ad6(0x2e4)](_0x3252fc));}[_0x5bb7a4(0x545)](_0x14d637,_0x17864f=!0x1){const _0x45f904=_0x5bb7a4,_0x2e555e=this[_0x45f904(0x538)]['getParam'](_0x45f904(0x1a8));_0x14d637[_0x45f904(0x192)]()!==_0x2e555e&&this['_urlService'][_0x45f904(0x53b)](_0x45f904(0x1a8),_0x14d637[_0x45f904(0x192)](),_0x17864f);}async[_0x5bb7a4(0x2e4)](_0x12ef4b){const _0x19557a=_0x5bb7a4;var _0x5e649c;const _0x11552d=this[_0x19557a(0x538)][_0x19557a(0x325)](_0x19557a(0x1a8));if(!_0x11552d||!_0x12ef4b['getSheetBySheetId'](_0x11552d)){const _0x5314e0=_0x12ef4b[_0x19557a(0x2af)]()[0x0],_0x3693c4=_0x12ef4b[_0x19557a(0x29a)](_0x5314e0);if(!_0x3693c4)return;this[_0x19557a(0x545)](_0x3693c4,!0x0),await this['_commandService'][_0x19557a(0x175)](_0x3d9171['id'],{'unitId':_0x12ef4b[_0x19557a(0x322)](),'subUnitId':_0x5314e0});return;}((_0x5e649c=_0x12ef4b[_0x19557a(0x475)]())==null?void 0x0:_0x5e649c[_0x19557a(0x192)]())!==_0x11552d&&await this[_0x19557a(0x53f)][_0x19557a(0x175)](_0x3d9171['id'],{'unitId':_0x12ef4b[_0x19557a(0x322)](),'subUnitId':_0x11552d});}async['_loadSheet'](_0x30016c){const _0x818c30=_0x5bb7a4;let _0x3641ae=0x0;const _0x3d950f=await this[_0x818c30(0x46d)]['loadOfflineData'](_0x30016c);return _0x3d950f&&(_0x3d950f[_0x818c30(0x25a)]||_0x3d950f[_0x818c30(0x47f)][_0x818c30(0x282)]!==0x0)&&(_0x3641ae=_0x3d950f[_0x818c30(0x4eb)]),_0x3641ae===0x0&&this[_0x818c30(0x26e)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x818c30(0x496)]['loadSheet'](_0x30016c,_0x3641ae);}async[_0x5bb7a4(0x1f3)](_0x29e89a){const _0xe63997=_0x5bb7a4;let _0x260042=0x0;const _0x19d9b0=await this[_0xe63997(0x46d)][_0xe63997(0x426)](_0x29e89a);return _0x19d9b0&&(_0x19d9b0['awaitingChangeset']||_0x19d9b0[_0xe63997(0x47f)][_0xe63997(0x282)]!==0x0)&&(_0x260042=_0x19d9b0['rev']),_0x260042===0x0&&this[_0xe63997(0x26e)][_0xe63997(0x23c)](_0xe63997(0x392),_0xe63997(0x384)),this[_0xe63997(0x496)]['loadDoc'](_0x29e89a,_0x260042);}};It=wa([ke(0x0,Bi),ke(0x1,_0x3efec9),ke(0x2,_0x1e58f0),ke(0x3,_0x22a3e1(q)),ke(0x4,_0x22a3e1(_0x2b1acd)),ke(0x5,_0x4f55bd(_0xfc52d5))],It);var Da=Object[_0x5bb7a4(0x42b)],Pa=Object[_0x5bb7a4(0x4e4)],Ua=(_0x1add72,_0x3e9b5b,_0x1a46ff,_0x373fdc)=>{const _0x393be7=_0x5bb7a4;for(var _0xe3420=_0x373fdc>0x1?void 0x0:_0x373fdc?Pa(_0x3e9b5b,_0x1a46ff):_0x3e9b5b,_0xd2fe25=_0x1add72[_0x393be7(0x282)]-0x1,_0x5afad9;_0xd2fe25>=0x0;_0xd2fe25--)(_0x5afad9=_0x1add72[_0xd2fe25])&&(_0xe3420=(_0x373fdc?_0x5afad9(_0x3e9b5b,_0x1a46ff,_0xe3420):_0x5afad9(_0xe3420))||_0xe3420);return _0x373fdc&&_0xe3420&&Da(_0x3e9b5b,_0x1a46ff,_0xe3420),_0xe3420;},zs=(_0xf8d69a,_0x461190)=>(_0x40bdad,_0x231055)=>_0x461190(_0x40bdad,_0x231055,_0xf8d69a);const Na='DEFAULT_FILE_NAME',Aa=_0x5bb7a4(0x30f);let Ct=class extends _0x1caa36{constructor(_0x5a5fa5,_0x42acab){const _0x1f3eb0=_0x5bb7a4;super(),this[_0x1f3eb0(0x21d)]=_0x5a5fa5,this[_0x1f3eb0(0x23e)]=_0x42acab,this[_0x1f3eb0(0x515)]();}[_0x5bb7a4(0x515)](){const _0x3eb6a2=_0x5bb7a4;this[_0x3eb6a2(0x368)](this[_0x3eb6a2(0x21d)][_0x3eb6a2(0x274)][_0x3eb6a2(0x519)](()=>{const _0x44f0df=_0x3eb6a2;var _0x5f3cac;const _0x4ae9e7=this['_univerInstanceService'][_0x44f0df(0x1dd)]();let _0xca8668=(_0x5f3cac=this[_0x44f0df(0x23e)]['getConfig'](Na))!=null?_0x5f3cac:Aa;_0x4ae9e7 instanceof _0x31b79d&&(_0xca8668=_0x4ae9e7[_0x44f0df(0x408)]),document['title']=_0xca8668;}));}};Ct=Ua([zs(0x0,_0x2e0534),zs(0x1,_0x2bb536)],Ct);var Ma=Object[_0x5bb7a4(0x42b)],xa=Object[_0x5bb7a4(0x4e4)],La=(_0x426133,_0x28ad6f,_0x5a475c,_0x273172)=>{const _0x48d52c=_0x5bb7a4;for(var _0x22752e=_0x273172>0x1?void 0x0:_0x273172?xa(_0x28ad6f,_0x5a475c):_0x28ad6f,_0x3856d4=_0x426133[_0x48d52c(0x282)]-0x1,_0x47c441;_0x3856d4>=0x0;_0x3856d4--)(_0x47c441=_0x426133[_0x3856d4])&&(_0x22752e=(_0x273172?_0x47c441(_0x28ad6f,_0x5a475c,_0x22752e):_0x47c441(_0x22752e))||_0x22752e);return _0x273172&&_0x22752e&&Ma(_0x28ad6f,_0x5a475c,_0x22752e),_0x22752e;},Wt=(_0x5a37f1,_0x39c6b9)=>(_0x3aaa1b,_0x208050)=>_0x39c6b9(_0x3aaa1b,_0x208050,_0x5a37f1);let Et=class{constructor(_0x31f852,_0x5a1ca5,_0x1b2ff4){const _0x3aca2e=_0x5bb7a4;this[_0x3aca2e(0x23e)]=_0x31f852,this[_0x3aca2e(0x1be)]=_0x5a1ca5,this['localeService']=_0x1b2ff4,this['init']();}['init'](){const _0x15617e=_0x5bb7a4;this[_0x15617e(0x1be)][_0x15617e(0x4a6)]({'priority':0x1,'interceptor':(_0x239818,_0x475168)=>_0x475168(_0x239818)['pipe'](_0x2d7fb7(async _0x3f2204=>{const _0x5a5c6a=_0x15617e,_0x2675ee=_0x3f2204;if(_0x2675ee[_0x5a5c6a(0x1ff)]===0x191&&window[_0x5a5c6a(0x43e)](this[_0x5a5c6a(0x28a)]['t']('auth.needGotoLoginAlert'))){const _0x364b1c=window['encodeURIComponent'](window[_0x5a5c6a(0x521)][_0x5a5c6a(0x50b)]);window['location']['href']=this['_getLoginPath']()+_0x5a5c6a(0x2c1)+_0x364b1c;}return _0x2675ee;}))});}['_getLoginPath'](){const _0x268dd5=_0x5bb7a4;var _0x4e0cdd,_0x2a05bd;const _0x22188f=this[_0x268dd5(0x23e)][_0x268dd5(0x447)](br),_0xf46d8f=this[_0x268dd5(0x23e)]['getConfig'](ie);return(_0x2a05bd=(_0x4e0cdd=_0xf46d8f==null?void 0x0:_0xf46d8f['loginUrlKey'])!=null?_0x4e0cdd:_0x22188f)!=null?_0x2a05bd:Tr;}};Et=La([Wt(0x0,_0x2bb536),Wt(0x1,_0x22a3e1(_0x41156a)),Wt(0x2,_0x22a3e1(_0x1fdc1b))],Et);var $a=Object[_0x5bb7a4(0x42b)],Ha=Object[_0x5bb7a4(0x4e4)],ja=(_0x2111b7,_0x16440d,_0x2e75c9,_0x12aaa0)=>{const _0x55371d=_0x5bb7a4;for(var _0x15ba77=_0x12aaa0>0x1?void 0x0:_0x12aaa0?Ha(_0x16440d,_0x2e75c9):_0x16440d,_0x20e23d=_0x2111b7[_0x55371d(0x282)]-0x1,_0x283311;_0x20e23d>=0x0;_0x20e23d--)(_0x283311=_0x2111b7[_0x20e23d])&&(_0x15ba77=(_0x12aaa0?_0x283311(_0x16440d,_0x2e75c9,_0x15ba77):_0x283311(_0x15ba77))||_0x15ba77);return _0x12aaa0&&_0x15ba77&&$a(_0x16440d,_0x2e75c9,_0x15ba77),_0x15ba77;},qs=(_0xe54d84,_0x2fec05)=>(_0x81f98c,_0x13f49e)=>_0x2fec05(_0x81f98c,_0x13f49e,_0xe54d84);const Ba=_0x5bb7a4(0x305),ka=_0x5bb7a4(0x57a);let cs=class extends _0x1caa36{constructor(_0x337e3f,_0xeeed76){const _0x3e1c8d=_0x5bb7a4;super(),this[_0x3e1c8d(0x415)]=_0x337e3f,this[_0x3e1c8d(0x23e)]=_0xeeed76,this[_0x3e1c8d(0x184)]();}[_0x5bb7a4(0x184)](){const _0x3d21bb=_0x5bb7a4,_0x5455dc=this;this[_0x3d21bb(0x368)](this[_0x3d21bb(0x415)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xc40197({'isMatch'(_0x640954){const _0x798292=_0x3d21bb;var _0x4d5d2e;if(_0x640954[_0x798292(0x38b)]===_0x798292(0x2bf)&&((_0x4d5d2e=_0x640954[_0x798292(0x1bb)])!=null&&_0x4d5d2e[_0x798292(0x1ab)])){const {objectID:_0x18af39,objectType:_0x28d99d}=_0x640954[_0x798292(0x1bb)]['body']||{};if(!_0x18af39||_0x28d99d===void 0x0)return!0x1;const _0x4d61de=_0x5455dc[_0x798292(0x546)]()+'/'+_0x28d99d+_0x798292(0x29f)+_0x18af39+_0x798292(0x4ba);if(_0x640954[_0x798292(0x217)]===_0x4d61de)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36a6fa){const _0x150d85=_0x3d21bb;var _0x1fbbc1;return(_0x1fbbc1=_0x36a6fa[_0x150d85(0x1bb)])==null?void 0x0:_0x1fbbc1[_0x150d85(0x1ab)];},'mergeParamsToRequest'(_0xa9c753,_0x4de8f0){const _0x4f24ed=_0x3d21bb,_0x353d66=_0x5455dc[_0x4f24ed(0x546)]()+_0x4f24ed(0x39c),_0xa44dd4=_0xa9c753['reduce']((_0x1080f5,_0x448fb7)=>{const _0x52ea56=_0x4f24ed,{unitID:_0x4656b3,objectID:_0x19cb45,objectType:_0x2696e9,actions:_0x537407}=_0x448fb7;return _0x1080f5[_0x4656b3]||(_0x1080f5[_0x4656b3]={}),_0x1080f5[_0x4656b3][_0x19cb45]||(_0x1080f5[_0x4656b3][_0x19cb45]={'objectID':_0x19cb45,'objectType':_0x2696e9,'actions':[]}),_0x1080f5[_0x4656b3][_0x19cb45][_0x52ea56(0x37d)]['push'](..._0x537407),_0x1080f5;},{}),_0x21eb5f=[];for(const _0x4dad5f in _0xa44dd4)for(const _0x95cf28 in _0xa44dd4[_0x4dad5f]){const {actions:_0xdbfcda,objectType:_0xa3ff60}=_0xa44dd4[_0x4dad5f][_0x95cf28],_0x43eb54=[...new Set(_0xdbfcda)];_0x21eb5f[_0x4f24ed(0x433)]({'unitID':_0x4dad5f,'objectID':_0x95cf28,'objectType':_0xa3ff60,'actions':_0x43eb54});}return new _0x3b9e80(_0x4f24ed(0x2bf),_0x353d66,{'headers':_0x4de8f0[_0x4f24ed(0x210)],'withCredentials':_0x4de8f0[_0x4f24ed(0x2db)],'responseType':_0x4de8f0[_0x4f24ed(0x2a6)],'body':{'requests':_0x21eb5f}});}},{'distributeResult'(_0x58ff1d,_0x7ead0d){const _0xc2a64d=_0x3d21bb,{objectActions:_0x4b9114}=_0x58ff1d;return _0x7ead0d[_0xc2a64d(0x2c9)](_0x2ef88e=>{const _0xde6e8=_0xc2a64d,{unitID:_0x1143bf,objectID:_0x2346e5,actions:_0x3f6e45}=_0x2ef88e,_0x4bde05=_0x4b9114[_0xde6e8(0x1e7)](_0x486a50=>_0x486a50[_0xde6e8(0x4c4)]===_0x1143bf&&_0x486a50[_0xde6e8(0x52b)]===_0x2346e5),_0x59ce76=_0x3f6e45['map'](_0x17143a=>_0x4bde05==null?void 0x0:_0x4bde05[_0xde6e8(0x37d)][_0xde6e8(0x1e7)](_0x3b3b4a=>_0x3b3b4a['action']===_0x17143a))['filter'](_0x2aaa0b=>!!_0x2aaa0b);return{'config':_0x2ef88e,'result':{'actions':_0x59ce76,'error':_0x58ff1d['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x3a9d26=_0x5bb7a4;var _0x21bb7b,_0x2ac0b5;const _0x457aae=this[_0x3a9d26(0x23e)]['getConfig'](Ba),_0x2c24e4=this['_configService'][_0x3a9d26(0x447)](ie);return(_0x2ac0b5=(_0x21bb7b=_0x2c24e4==null?void 0x0:_0x2c24e4[_0x3a9d26(0x366)])!=null?_0x21bb7b:_0x457aae)!=null?_0x2ac0b5:ka;}async['create'](_0x305cf6){const _0x57bcb3=_0x5bb7a4,_0xe8ef05=this[_0x57bcb3(0x546)]()+'/'+_0x305cf6[_0x57bcb3(0x320)]+'/object';return(await this[_0x57bcb3(0x415)][_0x57bcb3(0x495)](_0xe8ef05,{'body':_0x305cf6}))[_0x57bcb3(0x1ab)]['objectID']||'';}async['list'](_0x2d8a0a){const _0x8ff8f3=_0x5bb7a4,_0x31fe88=this['_getAPIPrefixPath']()+_0x8ff8f3(0x4c9);return(await this[_0x8ff8f3(0x415)]['post'](_0x31fe88,{'body':_0x2d8a0a}))[_0x8ff8f3(0x1ab)][_0x8ff8f3(0x448)];}async[_0x5bb7a4(0x3c9)](_0x444a4f){const _0x333a63=_0x5bb7a4,_0x3e3d77=this[_0x333a63(0x546)]()+'/'+_0x444a4f[_0x333a63(0x320)]+_0x333a63(0x29f)+_0x444a4f[_0x333a63(0x52b)];await this[_0x333a63(0x415)][_0x333a63(0x3f3)](_0x3e3d77,{'body':_0x444a4f});}async['allowed'](_0x1f6b9d){const _0x37a3a7=_0x5bb7a4,_0x16caf8=this[_0x37a3a7(0x546)]()+'/'+_0x1f6b9d[_0x37a3a7(0x320)]+'/object/'+_0x1f6b9d[_0x37a3a7(0x52b)]+_0x37a3a7(0x4ba);return(await this[_0x37a3a7(0x415)][_0x37a3a7(0x495)](_0x16caf8,{'body':_0x1f6b9d}))[_0x37a3a7(0x1ab)][_0x37a3a7(0x37d)];}async[_0x5bb7a4(0x4ca)](_0x32e4a1){const _0x46b205=_0x5bb7a4,_0x410a4c=this[_0x46b205(0x546)]()+_0x46b205(0x39c);return(await this[_0x46b205(0x415)][_0x46b205(0x495)](_0x410a4c,{'body':{'requests':_0x32e4a1}}))[_0x46b205(0x1ab)][_0x46b205(0x295)];}async[_0x5bb7a4(0x349)](_0xf6412f){const _0x1620a1=_0x5bb7a4,_0x4a21be=this[_0x1620a1(0x546)]()+'/'+_0xf6412f[_0x1620a1(0x320)]+_0x1620a1(0x246),_0x805b4e=await this[_0x1620a1(0x415)][_0x1620a1(0x495)](_0x4a21be,{'body':_0xf6412f});return{'roles':_0x805b4e['body'][_0x1620a1(0x24f)],'actions':_0x805b4e[_0x1620a1(0x1ab)]['actions']};}async['deleteCollaborator'](_0x287395){const _0x2ca896=_0x5bb7a4,_0x42bd94=this['_getAPIPrefixPath']()+_0x2ca896(0x205);await this['_HTTPService']['delete'](_0x42bd94,{'params':{'collaboratorID':_0x287395[_0x2ca896(0x4f1)],'objectID':_0x287395[_0x2ca896(0x52b)],'unitID':_0x287395[_0x2ca896(0x4c4)]}});}async[_0x5bb7a4(0x1d5)](_0x4d1e98){const _0x52027d=_0x5bb7a4,_0x19f9da=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x52027d(0x415)][_0x52027d(0x419)](_0x19f9da,{'body':_0x4d1e98});}async['createCollaborator'](_0x13a6d4){const _0x178549=_0x5bb7a4,_0x154dde=this[_0x178549(0x546)]()+'/collaborator';await this['_HTTPService'][_0x178549(0x495)](_0x154dde,{'body':_0x13a6d4});}async['listCollaborators'](_0x398699){const _0x296dbf=_0x5bb7a4,_0x595da9=this['_getAPIPrefixPath']()+_0x296dbf(0x205);return(await this[_0x296dbf(0x415)][_0x296dbf(0x4f7)](_0x595da9,{'params':{'objectID':_0x398699[_0x296dbf(0x52b)],'unitID':_0x398699[_0x296dbf(0x4c4)]}}))[_0x296dbf(0x1ab)][_0x296dbf(0x251)];}async['putCollaborators'](_0x268da8){const _0x3e7fe9=_0x5bb7a4,_0xeca651=this[_0x3e7fe9(0x546)]()+_0x3e7fe9(0x205);await this[_0x3e7fe9(0x415)][_0x3e7fe9(0x3f3)](_0xeca651,{'body':_0x268da8});}};cs=ja([qs(0x0,_0x22a3e1(_0x41156a)),qs(0x1,_0x22a3e1(_0x2bb536))],cs);var ki={'exports':{}};function Wa(_0x3c7511){const _0x4dc6ca=_0x5bb7a4;throw new Error(_0x4dc6ca(0x1ca)+_0x3c7511+_0x4dc6ca(0x37f));}var Ft={'exports':{}},Xs;function ue(){return Xs||(Xs=0x1,function(_0x475529,_0x1dd709){(function(_0x529364,_0x2f6882){const _0x2a22dc=_0x4081;_0x475529[_0x2a22dc(0x236)]=_0x2f6882();}(Z,function(){var _0x42a0db=_0x42a0db||function(_0x553ddd,_0x3dde1c){const _0x3f3660=_0x4081;var _0x5bdb32;if(typeof window<'u'&&window['crypto']&&(_0x5bdb32=window[_0x3f3660(0x577)]),typeof self<'u'&&self[_0x3f3660(0x577)]&&(_0x5bdb32=self[_0x3f3660(0x577)]),typeof globalThis<'u'&&globalThis[_0x3f3660(0x577)]&&(_0x5bdb32=globalThis[_0x3f3660(0x577)]),!_0x5bdb32&&typeof window<'u'&&window[_0x3f3660(0x193)]&&(_0x5bdb32=window[_0x3f3660(0x193)]),!_0x5bdb32&&typeof Z<'u'&&Z['crypto']&&(_0x5bdb32=Z['crypto']),!_0x5bdb32&&typeof Wa==_0x3f3660(0x4b8))try{_0x5bdb32=require(_0x3f3660(0x577));}catch{}var _0x57d27c=function(){const _0x4aa3ee=_0x3f3660;if(_0x5bdb32){if(typeof _0x5bdb32[_0x4aa3ee(0x342)]==_0x4aa3ee(0x4b8))try{return _0x5bdb32[_0x4aa3ee(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bdb32[_0x4aa3ee(0x2dc)]==_0x4aa3ee(0x4b8))try{return _0x5bdb32[_0x4aa3ee(0x2dc)](0x4)[_0x4aa3ee(0x511)]();}catch{}}throw new Error(_0x4aa3ee(0x55a));},_0x744bbb=Object[_0x3f3660(0x54f)]||(function(){function _0x273570(){}return function(_0x4ef8b4){const _0x3b5fd4=_0x4081;var _0x3a9735;return _0x273570[_0x3b5fd4(0x423)]=_0x4ef8b4,_0x3a9735=new _0x273570(),_0x273570['prototype']=null,_0x3a9735;};}()),_0x1ce432={},_0x3657fd=_0x1ce432[_0x3f3660(0x2f1)]={},_0x320273=_0x3657fd['Base']=(function(){return{'extend':function(_0x310a09){const _0x511be7=_0x4081;var _0x166e0d=_0x744bbb(this);return _0x310a09&&_0x166e0d['mixIn'](_0x310a09),(!_0x166e0d[_0x511be7(0x440)](_0x511be7(0x1d6))||this[_0x511be7(0x1d6)]===_0x166e0d[_0x511be7(0x1d6)])&&(_0x166e0d['init']=function(){_0x166e0d['$super']['init']['apply'](this,arguments);}),_0x166e0d['init'][_0x511be7(0x423)]=_0x166e0d,_0x166e0d[_0x511be7(0x4f6)]=this,_0x166e0d;},'create':function(){const _0x2ed2e9=_0x4081;var _0x23e75c=this[_0x2ed2e9(0x187)]();return _0x23e75c[_0x2ed2e9(0x1d6)][_0x2ed2e9(0x568)](_0x23e75c,arguments),_0x23e75c;},'init':function(){},'mixIn':function(_0x2ec74c){const _0x267f35=_0x4081;for(var _0x3fcc75 in _0x2ec74c)_0x2ec74c[_0x267f35(0x440)](_0x3fcc75)&&(this[_0x3fcc75]=_0x2ec74c[_0x3fcc75]);_0x2ec74c[_0x267f35(0x440)]('toString')&&(this[_0x267f35(0x2e5)]=_0x2ec74c[_0x267f35(0x2e5)]);},'clone':function(){const _0x5d1d4e=_0x4081;return this[_0x5d1d4e(0x1d6)][_0x5d1d4e(0x423)][_0x5d1d4e(0x187)](this);}};}()),_0x4e6877=_0x3657fd[_0x3f3660(0x1b3)]=_0x320273[_0x3f3660(0x187)]({'init':function(_0x5ce309,_0x4a96c9){const _0x5135ba=_0x3f3660;_0x5ce309=this[_0x5135ba(0x1fa)]=_0x5ce309||[],_0x4a96c9!=_0x3dde1c?this['sigBytes']=_0x4a96c9:this[_0x5135ba(0x3ad)]=_0x5ce309['length']*0x4;},'toString':function(_0x4d4d81){const _0x287310=_0x3f3660;return(_0x4d4d81||_0x330813)[_0x287310(0x303)](this);},'concat':function(_0x471f07){const _0x120df4=_0x3f3660;var _0x356d82=this[_0x120df4(0x1fa)],_0xe53259=_0x471f07[_0x120df4(0x1fa)],_0x3c1272=this['sigBytes'],_0x3d0f54=_0x471f07[_0x120df4(0x3ad)];if(this['clamp'](),_0x3c1272%0x4)for(var _0x184cff=0x0;_0x184cff<_0x3d0f54;_0x184cff++){var _0x688a5b=_0xe53259[_0x184cff>>>0x2]>>>0x18-_0x184cff%0x4*0x8&0xff;_0x356d82[_0x3c1272+_0x184cff>>>0x2]|=_0x688a5b<<0x18-(_0x3c1272+_0x184cff)%0x4*0x8;}else{for(var _0x473517=0x0;_0x473517<_0x3d0f54;_0x473517+=0x4)_0x356d82[_0x3c1272+_0x473517>>>0x2]=_0xe53259[_0x473517>>>0x2];}return this['sigBytes']+=_0x3d0f54,this;},'clamp':function(){const _0x204520=_0x3f3660;var _0x40211a=this[_0x204520(0x1fa)],_0x4d5e8d=this['sigBytes'];_0x40211a[_0x4d5e8d>>>0x2]&=0xffffffff<<0x20-_0x4d5e8d%0x4*0x8,_0x40211a[_0x204520(0x282)]=_0x553ddd[_0x204520(0x247)](_0x4d5e8d/0x4);},'clone':function(){const _0xcfd7a0=_0x3f3660;var _0x3c7123=_0x320273[_0xcfd7a0(0x431)][_0xcfd7a0(0x1f6)](this);return _0x3c7123['words']=this[_0xcfd7a0(0x1fa)]['slice'](0x0),_0x3c7123;},'random':function(_0x5cc9d1){const _0x1df3fa=_0x3f3660;for(var _0x1cca56=[],_0x23cb62=0x0;_0x23cb62<_0x5cc9d1;_0x23cb62+=0x4)_0x1cca56[_0x1df3fa(0x433)](_0x57d27c());return new _0x4e6877[(_0x1df3fa(0x1d6))](_0x1cca56,_0x5cc9d1);}}),_0x1e927c=_0x1ce432[_0x3f3660(0x522)]={},_0x330813=_0x1e927c[_0x3f3660(0x2ac)]={'stringify':function(_0xc040df){const _0x1cd01a=_0x3f3660;for(var _0x55998e=_0xc040df['words'],_0x5f411b=_0xc040df[_0x1cd01a(0x3ad)],_0x2a36d1=[],_0x245523=0x0;_0x245523<_0x5f411b;_0x245523++){var _0x43acc7=_0x55998e[_0x245523>>>0x2]>>>0x18-_0x245523%0x4*0x8&0xff;_0x2a36d1['push']((_0x43acc7>>>0x4)[_0x1cd01a(0x2e5)](0x10)),_0x2a36d1['push']((_0x43acc7&0xf)[_0x1cd01a(0x2e5)](0x10));}return _0x2a36d1[_0x1cd01a(0x258)]('');},'parse':function(_0x384969){const _0x15f8af=_0x3f3660;for(var _0x104c36=_0x384969[_0x15f8af(0x282)],_0x263113=[],_0x3d46c8=0x0;_0x3d46c8<_0x104c36;_0x3d46c8+=0x2)_0x263113[_0x3d46c8>>>0x3]|=parseInt(_0x384969['substr'](_0x3d46c8,0x2),0x10)<<0x18-_0x3d46c8%0x8*0x4;return new _0x4e6877[(_0x15f8af(0x1d6))](_0x263113,_0x104c36/0x2);}},_0x63663a=_0x1e927c[_0x3f3660(0x3c4)]={'stringify':function(_0x393ee3){const _0x154597=_0x3f3660;for(var _0x37797b=_0x393ee3[_0x154597(0x1fa)],_0x1cffa9=_0x393ee3[_0x154597(0x3ad)],_0xe9f584=[],_0x45807a=0x0;_0x45807a<_0x1cffa9;_0x45807a++){var _0x3e223b=_0x37797b[_0x45807a>>>0x2]>>>0x18-_0x45807a%0x4*0x8&0xff;_0xe9f584[_0x154597(0x433)](String[_0x154597(0x224)](_0x3e223b));}return _0xe9f584[_0x154597(0x258)]('');},'parse':function(_0x4f3bc6){const _0x4c7f63=_0x3f3660;for(var _0x33398a=_0x4f3bc6[_0x4c7f63(0x282)],_0x27ad43=[],_0x3bd8b8=0x0;_0x3bd8b8<_0x33398a;_0x3bd8b8++)_0x27ad43[_0x3bd8b8>>>0x2]|=(_0x4f3bc6[_0x4c7f63(0x4d3)](_0x3bd8b8)&0xff)<<0x18-_0x3bd8b8%0x4*0x8;return new _0x4e6877[(_0x4c7f63(0x1d6))](_0x27ad43,_0x33398a);}},_0x644e59=_0x1e927c['Utf8']={'stringify':function(_0x4c82a5){const _0x296e17=_0x3f3660;try{return decodeURIComponent(escape(_0x63663a[_0x296e17(0x303)](_0x4c82a5)));}catch{throw new Error(_0x296e17(0x3d0));}},'parse':function(_0x57158c){const _0x5d907f=_0x3f3660;return _0x63663a[_0x5d907f(0x57c)](unescape(encodeURIComponent(_0x57158c)));}},_0x4805f6=_0x3657fd[_0x3f3660(0x1b8)]=_0x320273['extend']({'reset':function(){const _0x120692=_0x3f3660;this['_data']=new _0x4e6877[(_0x120692(0x1d6))](),this['_nDataBytes']=0x0;},'_append':function(_0x5c4718){const _0x515456=_0x3f3660;typeof _0x5c4718==_0x515456(0x40c)&&(_0x5c4718=_0x644e59['parse'](_0x5c4718)),this['_data'][_0x515456(0x196)](_0x5c4718),this[_0x515456(0x3b8)]+=_0x5c4718[_0x515456(0x3ad)];},'_process':function(_0xa9cc5e){const _0x33af1b=_0x3f3660;var _0x2d2944,_0x4c488a=this[_0x33af1b(0x2a9)],_0x3f7730=_0x4c488a[_0x33af1b(0x1fa)],_0x3c1f29=_0x4c488a[_0x33af1b(0x3ad)],_0x10d0c4=this['blockSize'],_0x400adb=_0x10d0c4*0x4,_0x246ccb=_0x3c1f29/_0x400adb;_0xa9cc5e?_0x246ccb=_0x553ddd[_0x33af1b(0x247)](_0x246ccb):_0x246ccb=_0x553ddd[_0x33af1b(0x173)]((_0x246ccb|0x0)-this[_0x33af1b(0x1bc)],0x0);var _0x1f2413=_0x246ccb*_0x10d0c4,_0x189699=_0x553ddd[_0x33af1b(0x443)](_0x1f2413*0x4,_0x3c1f29);if(_0x1f2413){for(var _0x3980d2=0x0;_0x3980d2<_0x1f2413;_0x3980d2+=_0x10d0c4)this[_0x33af1b(0x54e)](_0x3f7730,_0x3980d2);_0x2d2944=_0x3f7730['splice'](0x0,_0x1f2413),_0x4c488a[_0x33af1b(0x3ad)]-=_0x189699;}return new _0x4e6877['init'](_0x2d2944,_0x189699);},'clone':function(){const _0x3ee1a6=_0x3f3660;var _0x5e7362=_0x320273[_0x3ee1a6(0x431)][_0x3ee1a6(0x1f6)](this);return _0x5e7362[_0x3ee1a6(0x2a9)]=this[_0x3ee1a6(0x2a9)][_0x3ee1a6(0x431)](),_0x5e7362;},'_minBufferSize':0x0});_0x3657fd['Hasher']=_0x4805f6['extend']({'cfg':_0x320273[_0x3f3660(0x187)](),'init':function(_0x378782){const _0x197361=_0x3f3660;this[_0x197361(0x181)]=this[_0x197361(0x181)][_0x197361(0x187)](_0x378782),this[_0x197361(0x2d7)]();},'reset':function(){const _0x228b50=_0x3f3660;_0x4805f6[_0x228b50(0x2d7)][_0x228b50(0x1f6)](this),this[_0x228b50(0x1c4)]();},'update':function(_0x5d5be8){const _0x377fb1=_0x3f3660;return this[_0x377fb1(0x362)](_0x5d5be8),this[_0x377fb1(0x16f)](),this;},'finalize':function(_0x4297c3){const _0xbe482c=_0x3f3660;_0x4297c3&&this['_append'](_0x4297c3);var _0x4886d8=this[_0xbe482c(0x555)]();return _0x4886d8;},'blockSize':0x10,'_createHelper':function(_0x4df4eb){return function(_0x1d9d21,_0x225419){const _0x195f3e=_0x4081;return new _0x4df4eb['init'](_0x225419)[_0x195f3e(0x2e2)](_0x1d9d21);};},'_createHmacHelper':function(_0x934465){return function(_0xf62b4f,_0x27967b){const _0x4b7fda=_0x4081;return new _0xc8f321[(_0x4b7fda(0x44e))][(_0x4b7fda(0x1d6))](_0x934465,_0x27967b)[_0x4b7fda(0x2e2)](_0xf62b4f);};}});var _0xc8f321=_0x1ce432[_0x3f3660(0x44d)]={};return _0x1ce432;}(Math);return _0x42a0db;}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Wi(){const _0x1e6bd5=_0x5bb7a4;return Js||(Js=0x1,function(_0x4ae74d,_0x324aad){(function(_0x478283,_0x232ec){const _0x43abd9=_0x4081;_0x4ae74d[_0x43abd9(0x236)]=_0x232ec(ue());}(Z,function(_0x1aed71){return(function(){const _0x2537cc=_0x4081;var _0x73af1f=_0x1aed71,_0x2449d0=_0x73af1f[_0x2537cc(0x2f1)],_0x573999=_0x2449d0[_0x2537cc(0x1b3)],_0x5aaa1f=_0x73af1f[_0x2537cc(0x522)];_0x5aaa1f['Base64']={'stringify':function(_0x31176c){const _0x5a217a=_0x2537cc;var _0x5b240b=_0x31176c[_0x5a217a(0x1fa)],_0x25fc4e=_0x31176c[_0x5a217a(0x3ad)],_0x32e068=this['_map'];_0x31176c[_0x5a217a(0x551)]();for(var _0x5e98f5=[],_0x5b88a7=0x0;_0x5b88a7<_0x25fc4e;_0x5b88a7+=0x3)for(var _0x4ee2cb=_0x5b240b[_0x5b88a7>>>0x2]>>>0x18-_0x5b88a7%0x4*0x8&0xff,_0x4b534e=_0x5b240b[_0x5b88a7+0x1>>>0x2]>>>0x18-(_0x5b88a7+0x1)%0x4*0x8&0xff,_0x122313=_0x5b240b[_0x5b88a7+0x2>>>0x2]>>>0x18-(_0x5b88a7+0x2)%0x4*0x8&0xff,_0x2858d0=_0x4ee2cb<<0x10|_0x4b534e<<0x8|_0x122313,_0x576349=0x0;_0x576349<0x4&&_0x5b88a7+_0x576349*0.75<_0x25fc4e;_0x576349++)_0x5e98f5[_0x5a217a(0x433)](_0x32e068['charAt'](_0x2858d0>>>0x6*(0x3-_0x576349)&0x3f));var _0x17fd68=_0x32e068['charAt'](0x40);if(_0x17fd68){for(;_0x5e98f5[_0x5a217a(0x282)]%0x4;)_0x5e98f5[_0x5a217a(0x433)](_0x17fd68);}return _0x5e98f5[_0x5a217a(0x258)]('');},'parse':function(_0x2ddb63){const _0x417b75=_0x2537cc;var _0x268dfe=_0x2ddb63[_0x417b75(0x282)],_0x133e93=this[_0x417b75(0x390)],_0xca00ef=this[_0x417b75(0x523)];if(!_0xca00ef){_0xca00ef=this[_0x417b75(0x523)]=[];for(var _0xf51d00=0x0;_0xf51d00<_0x133e93[_0x417b75(0x282)];_0xf51d00++)_0xca00ef[_0x133e93[_0x417b75(0x4d3)](_0xf51d00)]=_0xf51d00;}var _0x5effbb=_0x133e93[_0x417b75(0x504)](0x40);if(_0x5effbb){var _0x34f945=_0x2ddb63[_0x417b75(0x41f)](_0x5effbb);_0x34f945!==-0x1&&(_0x268dfe=_0x34f945);}return _0x307960(_0x2ddb63,_0x268dfe,_0xca00ef);},'_map':_0x2537cc(0x36d)};function _0x307960(_0x263ac5,_0x5341f4,_0xe3d65c){const _0x46b28b=_0x2537cc;for(var _0x4be8d7=[],_0x355cad=0x0,_0x5e5108=0x0;_0x5e5108<_0x5341f4;_0x5e5108++)if(_0x5e5108%0x4){var _0x5be495=_0xe3d65c[_0x263ac5[_0x46b28b(0x4d3)](_0x5e5108-0x1)]<<_0x5e5108%0x4*0x2,_0x56b987=_0xe3d65c[_0x263ac5[_0x46b28b(0x4d3)](_0x5e5108)]>>>0x6-_0x5e5108%0x4*0x2,_0x469f36=_0x5be495|_0x56b987;_0x4be8d7[_0x355cad>>>0x2]|=_0x469f36<<0x18-_0x355cad%0x4*0x8,_0x355cad++;}return _0x573999[_0x46b28b(0x54f)](_0x4be8d7,_0x355cad);}}()),_0x1aed71['enc']['Base64'];}));}(Vt)),Vt[_0x1e6bd5(0x236)];}var Gt={'exports':{}},Zs;function Fa(){const _0x1304f2=_0x5bb7a4;return Zs||(Zs=0x1,function(_0x154387,_0x4cd16a){(function(_0x2fec58,_0x40d5d3){_0x154387['exports']=_0x40d5d3(ue());}(Z,function(_0x435eac){const _0x4f102=_0x4081;return function(_0x1cd82b){const _0x460f07=_0x4081;var _0x2482fc=_0x435eac,_0x1db649=_0x2482fc[_0x460f07(0x2f1)],_0x50b064=_0x1db649[_0x460f07(0x1b3)],_0x271e0e=_0x1db649[_0x460f07(0x332)],_0x325cb2=_0x2482fc[_0x460f07(0x44d)],_0x1e0010=[];(function(){const _0x4507d7=_0x460f07;for(var _0x3eff33=0x0;_0x3eff33<0x40;_0x3eff33++)_0x1e0010[_0x3eff33]=_0x1cd82b[_0x4507d7(0x399)](_0x1cd82b[_0x4507d7(0x524)](_0x3eff33+0x1))*0x100000000|0x0;}());var _0x47b07f=_0x325cb2[_0x460f07(0x36c)]=_0x271e0e[_0x460f07(0x187)]({'_doReset':function(){const _0x1bb6a9=_0x460f07;this[_0x1bb6a9(0x53a)]=new _0x50b064[(_0x1bb6a9(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x57b406,_0x4cd6ae){const _0x200976=_0x460f07;for(var _0x1b37bd=0x0;_0x1b37bd<0x10;_0x1b37bd++){var _0x5379d3=_0x4cd6ae+_0x1b37bd,_0x2c7a1d=_0x57b406[_0x5379d3];_0x57b406[_0x5379d3]=(_0x2c7a1d<<0x8|_0x2c7a1d>>>0x18)&0xff00ff|(_0x2c7a1d<<0x18|_0x2c7a1d>>>0x8)&0xff00ff00;}var _0x5321ca=this[_0x200976(0x53a)][_0x200976(0x1fa)],_0x4755f2=_0x57b406[_0x4cd6ae+0x0],_0x1a4fd3=_0x57b406[_0x4cd6ae+0x1],_0x408d3b=_0x57b406[_0x4cd6ae+0x2],_0x203499=_0x57b406[_0x4cd6ae+0x3],_0x3156fe=_0x57b406[_0x4cd6ae+0x4],_0x3f3fbd=_0x57b406[_0x4cd6ae+0x5],_0x3e56ea=_0x57b406[_0x4cd6ae+0x6],_0x3a2c2a=_0x57b406[_0x4cd6ae+0x7],_0x295878=_0x57b406[_0x4cd6ae+0x8],_0x4572b7=_0x57b406[_0x4cd6ae+0x9],_0x712aab=_0x57b406[_0x4cd6ae+0xa],_0x236529=_0x57b406[_0x4cd6ae+0xb],_0x277708=_0x57b406[_0x4cd6ae+0xc],_0x1a31a1=_0x57b406[_0x4cd6ae+0xd],_0x7c0474=_0x57b406[_0x4cd6ae+0xe],_0x24d0b8=_0x57b406[_0x4cd6ae+0xf],_0x656c41=_0x5321ca[0x0],_0x570d6d=_0x5321ca[0x1],_0x2e07a0=_0x5321ca[0x2],_0x233209=_0x5321ca[0x3];_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4755f2,0x7,_0x1e0010[0x0]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x1a4fd3,0xc,_0x1e0010[0x1]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x408d3b,0x11,_0x1e0010[0x2]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x203499,0x16,_0x1e0010[0x3]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3156fe,0x7,_0x1e0010[0x4]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3f3fbd,0xc,_0x1e0010[0x5]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3e56ea,0x11,_0x1e0010[0x6]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3a2c2a,0x16,_0x1e0010[0x7]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x295878,0x7,_0x1e0010[0x8]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x4572b7,0xc,_0x1e0010[0x9]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x712aab,0x11,_0x1e0010[0xa]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x236529,0x16,_0x1e0010[0xb]),_0x656c41=_0x309cdc(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x277708,0x7,_0x1e0010[0xc]),_0x233209=_0x309cdc(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x1a31a1,0xc,_0x1e0010[0xd]),_0x2e07a0=_0x309cdc(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x7c0474,0x11,_0x1e0010[0xe]),_0x570d6d=_0x309cdc(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x24d0b8,0x16,_0x1e0010[0xf]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a4fd3,0x5,_0x1e0010[0x10]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3e56ea,0x9,_0x1e0010[0x11]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x236529,0xe,_0x1e0010[0x12]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x4755f2,0x14,_0x1e0010[0x13]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3f3fbd,0x5,_0x1e0010[0x14]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x712aab,0x9,_0x1e0010[0x15]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x24d0b8,0xe,_0x1e0010[0x16]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3156fe,0x14,_0x1e0010[0x17]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4572b7,0x5,_0x1e0010[0x18]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x7c0474,0x9,_0x1e0010[0x19]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x203499,0xe,_0x1e0010[0x1a]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x295878,0x14,_0x1e0010[0x1b]),_0x656c41=_0x233504(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a31a1,0x5,_0x1e0010[0x1c]),_0x233209=_0x233504(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x408d3b,0x9,_0x1e0010[0x1d]),_0x2e07a0=_0x233504(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3a2c2a,0xe,_0x1e0010[0x1e]),_0x570d6d=_0x233504(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x277708,0x14,_0x1e0010[0x1f]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3f3fbd,0x4,_0x1e0010[0x20]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x295878,0xb,_0x1e0010[0x21]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x236529,0x10,_0x1e0010[0x22]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x7c0474,0x17,_0x1e0010[0x23]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a4fd3,0x4,_0x1e0010[0x24]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3156fe,0xb,_0x1e0010[0x25]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3a2c2a,0x10,_0x1e0010[0x26]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x712aab,0x17,_0x1e0010[0x27]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x1a31a1,0x4,_0x1e0010[0x28]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x4755f2,0xb,_0x1e0010[0x29]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x203499,0x10,_0x1e0010[0x2a]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3e56ea,0x17,_0x1e0010[0x2b]),_0x656c41=_0x95bde1(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4572b7,0x4,_0x1e0010[0x2c]),_0x233209=_0x95bde1(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x277708,0xb,_0x1e0010[0x2d]),_0x2e07a0=_0x95bde1(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x24d0b8,0x10,_0x1e0010[0x2e]),_0x570d6d=_0x95bde1(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x408d3b,0x17,_0x1e0010[0x2f]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x4755f2,0x6,_0x1e0010[0x30]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x3a2c2a,0xa,_0x1e0010[0x31]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x7c0474,0xf,_0x1e0010[0x32]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x3f3fbd,0x15,_0x1e0010[0x33]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x277708,0x6,_0x1e0010[0x34]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x203499,0xa,_0x1e0010[0x35]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x712aab,0xf,_0x1e0010[0x36]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x1a4fd3,0x15,_0x1e0010[0x37]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x295878,0x6,_0x1e0010[0x38]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x24d0b8,0xa,_0x1e0010[0x39]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x3e56ea,0xf,_0x1e0010[0x3a]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x1a31a1,0x15,_0x1e0010[0x3b]),_0x656c41=_0x56fb36(_0x656c41,_0x570d6d,_0x2e07a0,_0x233209,_0x3156fe,0x6,_0x1e0010[0x3c]),_0x233209=_0x56fb36(_0x233209,_0x656c41,_0x570d6d,_0x2e07a0,_0x236529,0xa,_0x1e0010[0x3d]),_0x2e07a0=_0x56fb36(_0x2e07a0,_0x233209,_0x656c41,_0x570d6d,_0x408d3b,0xf,_0x1e0010[0x3e]),_0x570d6d=_0x56fb36(_0x570d6d,_0x2e07a0,_0x233209,_0x656c41,_0x4572b7,0x15,_0x1e0010[0x3f]),_0x5321ca[0x0]=_0x5321ca[0x0]+_0x656c41|0x0,_0x5321ca[0x1]=_0x5321ca[0x1]+_0x570d6d|0x0,_0x5321ca[0x2]=_0x5321ca[0x2]+_0x2e07a0|0x0,_0x5321ca[0x3]=_0x5321ca[0x3]+_0x233209|0x0;},'_doFinalize':function(){const _0x5b1b40=_0x460f07;var _0x5ea5fa=this[_0x5b1b40(0x2a9)],_0x195aae=_0x5ea5fa['words'],_0x202fd9=this[_0x5b1b40(0x3b8)]*0x8,_0x3499b1=_0x5ea5fa[_0x5b1b40(0x3ad)]*0x8;_0x195aae[_0x3499b1>>>0x5]|=0x80<<0x18-_0x3499b1%0x20;var _0x397acd=_0x1cd82b[_0x5b1b40(0x23d)](_0x202fd9/0x100000000),_0x44f647=_0x202fd9;_0x195aae[(_0x3499b1+0x40>>>0x9<<0x4)+0xf]=(_0x397acd<<0x8|_0x397acd>>>0x18)&0xff00ff|(_0x397acd<<0x18|_0x397acd>>>0x8)&0xff00ff00,_0x195aae[(_0x3499b1+0x40>>>0x9<<0x4)+0xe]=(_0x44f647<<0x8|_0x44f647>>>0x18)&0xff00ff|(_0x44f647<<0x18|_0x44f647>>>0x8)&0xff00ff00,_0x5ea5fa[_0x5b1b40(0x3ad)]=(_0x195aae[_0x5b1b40(0x282)]+0x1)*0x4,this[_0x5b1b40(0x16f)]();for(var _0x44cea8=this['_hash'],_0x653a70=_0x44cea8[_0x5b1b40(0x1fa)],_0xc07b7c=0x0;_0xc07b7c<0x4;_0xc07b7c++){var _0x3ab5a4=_0x653a70[_0xc07b7c];_0x653a70[_0xc07b7c]=(_0x3ab5a4<<0x8|_0x3ab5a4>>>0x18)&0xff00ff|(_0x3ab5a4<<0x18|_0x3ab5a4>>>0x8)&0xff00ff00;}return _0x44cea8;},'clone':function(){const _0x3294e0=_0x460f07;var _0x5ef8bd=_0x271e0e[_0x3294e0(0x431)][_0x3294e0(0x1f6)](this);return _0x5ef8bd[_0x3294e0(0x53a)]=this[_0x3294e0(0x53a)][_0x3294e0(0x431)](),_0x5ef8bd;}});function _0x309cdc(_0x33d2be,_0x18cd00,_0x7fddb5,_0x126dbc,_0x1f7106,_0x5f0dc7,_0xabb8f6){var _0x389a48=_0x33d2be+(_0x18cd00&_0x7fddb5|~_0x18cd00&_0x126dbc)+_0x1f7106+_0xabb8f6;return(_0x389a48<<_0x5f0dc7|_0x389a48>>>0x20-_0x5f0dc7)+_0x18cd00;}function _0x233504(_0x57b570,_0x4f99db,_0x4899a8,_0x6fd66c,_0x758dea,_0x44424c,_0x550c21){var _0x5d3dac=_0x57b570+(_0x4f99db&_0x6fd66c|_0x4899a8&~_0x6fd66c)+_0x758dea+_0x550c21;return(_0x5d3dac<<_0x44424c|_0x5d3dac>>>0x20-_0x44424c)+_0x4f99db;}function _0x95bde1(_0x2490c5,_0x4afa55,_0x253341,_0xa54636,_0x5b9907,_0x1636d2,_0x28b665){var _0x425369=_0x2490c5+(_0x4afa55^_0x253341^_0xa54636)+_0x5b9907+_0x28b665;return(_0x425369<<_0x1636d2|_0x425369>>>0x20-_0x1636d2)+_0x4afa55;}function _0x56fb36(_0x758b2e,_0x5ba7a8,_0x1ac8ec,_0x2fb69d,_0x40a75b,_0x250dc2,_0x17b1e4){var _0x4b2a2f=_0x758b2e+(_0x1ac8ec^(_0x5ba7a8|~_0x2fb69d))+_0x40a75b+_0x17b1e4;return(_0x4b2a2f<<_0x250dc2|_0x4b2a2f>>>0x20-_0x250dc2)+_0x5ba7a8;}_0x2482fc[_0x460f07(0x36c)]=_0x271e0e[_0x460f07(0x3ee)](_0x47b07f),_0x2482fc[_0x460f07(0x285)]=_0x271e0e[_0x460f07(0x1d4)](_0x47b07f);}(Math),_0x435eac[_0x4f102(0x36c)];}));}(Gt)),Gt[_0x1304f2(0x236)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x6db3bd=_0x5bb7a4;return Qs||(Qs=0x1,function(_0x852991,_0x1a54bc){(function(_0x2c4a02,_0x6cd65d){_0x852991['exports']=_0x6cd65d(ue());}(Z,function(_0x583dab){return(function(){const _0x53f76b=_0x4081;var _0x42c67f=_0x583dab,_0x47f734=_0x42c67f[_0x53f76b(0x2f1)],_0x22efd6=_0x47f734[_0x53f76b(0x1b3)],_0xdb4653=_0x47f734[_0x53f76b(0x332)],_0x46f210=_0x42c67f[_0x53f76b(0x44d)],_0x3819ee=[],_0x4c7df2=_0x46f210[_0x53f76b(0x3b6)]=_0xdb4653[_0x53f76b(0x187)]({'_doReset':function(){const _0x571169=_0x53f76b;this[_0x571169(0x53a)]=new _0x22efd6[(_0x571169(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1c2222,_0x2315c6){const _0x4787d4=_0x53f76b;for(var _0x460f63=this[_0x4787d4(0x53a)]['words'],_0x5de972=_0x460f63[0x0],_0x259246=_0x460f63[0x1],_0x57f3d3=_0x460f63[0x2],_0xae7b73=_0x460f63[0x3],_0x131855=_0x460f63[0x4],_0x4dfc1a=0x0;_0x4dfc1a<0x50;_0x4dfc1a++){if(_0x4dfc1a<0x10)_0x3819ee[_0x4dfc1a]=_0x1c2222[_0x2315c6+_0x4dfc1a]|0x0;else{var _0x19e6f7=_0x3819ee[_0x4dfc1a-0x3]^_0x3819ee[_0x4dfc1a-0x8]^_0x3819ee[_0x4dfc1a-0xe]^_0x3819ee[_0x4dfc1a-0x10];_0x3819ee[_0x4dfc1a]=_0x19e6f7<<0x1|_0x19e6f7>>>0x1f;}var _0x1e0bfd=(_0x5de972<<0x5|_0x5de972>>>0x1b)+_0x131855+_0x3819ee[_0x4dfc1a];_0x4dfc1a<0x14?_0x1e0bfd+=(_0x259246&_0x57f3d3|~_0x259246&_0xae7b73)+0x5a827999:_0x4dfc1a<0x28?_0x1e0bfd+=(_0x259246^_0x57f3d3^_0xae7b73)+0x6ed9eba1:_0x4dfc1a<0x3c?_0x1e0bfd+=(_0x259246&_0x57f3d3|_0x259246&_0xae7b73|_0x57f3d3&_0xae7b73)-0x70e44324:_0x1e0bfd+=(_0x259246^_0x57f3d3^_0xae7b73)-0x359d3e2a,_0x131855=_0xae7b73,_0xae7b73=_0x57f3d3,_0x57f3d3=_0x259246<<0x1e|_0x259246>>>0x2,_0x259246=_0x5de972,_0x5de972=_0x1e0bfd;}_0x460f63[0x0]=_0x460f63[0x0]+_0x5de972|0x0,_0x460f63[0x1]=_0x460f63[0x1]+_0x259246|0x0,_0x460f63[0x2]=_0x460f63[0x2]+_0x57f3d3|0x0,_0x460f63[0x3]=_0x460f63[0x3]+_0xae7b73|0x0,_0x460f63[0x4]=_0x460f63[0x4]+_0x131855|0x0;},'_doFinalize':function(){const _0x24ac59=_0x53f76b;var _0x12c5bc=this[_0x24ac59(0x2a9)],_0x404c19=_0x12c5bc[_0x24ac59(0x1fa)],_0x1009ed=this['_nDataBytes']*0x8,_0x351e16=_0x12c5bc[_0x24ac59(0x3ad)]*0x8;return _0x404c19[_0x351e16>>>0x5]|=0x80<<0x18-_0x351e16%0x20,_0x404c19[(_0x351e16+0x40>>>0x9<<0x4)+0xe]=Math[_0x24ac59(0x23d)](_0x1009ed/0x100000000),_0x404c19[(_0x351e16+0x40>>>0x9<<0x4)+0xf]=_0x1009ed,_0x12c5bc[_0x24ac59(0x3ad)]=_0x404c19[_0x24ac59(0x282)]*0x4,this[_0x24ac59(0x16f)](),this[_0x24ac59(0x53a)];},'clone':function(){const _0x1963fc=_0x53f76b;var _0x2fb258=_0xdb4653['clone']['call'](this);return _0x2fb258[_0x1963fc(0x53a)]=this[_0x1963fc(0x53a)]['clone'](),_0x2fb258;}});_0x42c67f[_0x53f76b(0x3b6)]=_0xdb4653[_0x53f76b(0x3ee)](_0x4c7df2),_0x42c67f[_0x53f76b(0x531)]=_0xdb4653['_createHmacHelper'](_0x4c7df2);}()),_0x583dab['SHA1'];}));}(Kt)),Kt[_0x6db3bd(0x236)];}var zt={'exports':{}},ei;function Ga(){const _0xe0163e=_0x5bb7a4;return ei||(ei=0x1,function(_0x489453,_0x22f44e){(function(_0x2b8707,_0x446318){_0x489453['exports']=_0x446318(ue());}(Z,function(_0x25ea10){(function(){const _0x14d214=_0x4081;var _0x17c8a5=_0x25ea10,_0x5f4e9a=_0x17c8a5['lib'],_0x25ab74=_0x5f4e9a[_0x14d214(0x429)],_0x4554a3=_0x17c8a5[_0x14d214(0x522)],_0x361017=_0x4554a3[_0x14d214(0x331)],_0x5cd2e7=_0x17c8a5[_0x14d214(0x44d)];_0x5cd2e7['HMAC']=_0x25ab74[_0x14d214(0x187)]({'init':function(_0x213746,_0x3788a3){const _0x431feb=_0x14d214;_0x213746=this['_hasher']=new _0x213746[(_0x431feb(0x1d6))](),typeof _0x3788a3==_0x431feb(0x40c)&&(_0x3788a3=_0x361017[_0x431feb(0x57c)](_0x3788a3));var _0x39effd=_0x213746[_0x431feb(0x2c0)],_0x4c9226=_0x39effd*0x4;_0x3788a3['sigBytes']>_0x4c9226&&(_0x3788a3=_0x213746[_0x431feb(0x2e2)](_0x3788a3)),_0x3788a3[_0x431feb(0x551)]();for(var _0x3fdf05=this[_0x431feb(0x245)]=_0x3788a3[_0x431feb(0x431)](),_0xbf870d=this[_0x431feb(0x16d)]=_0x3788a3[_0x431feb(0x431)](),_0x12b72c=_0x3fdf05[_0x431feb(0x1fa)],_0x6ab7=_0xbf870d['words'],_0x13577d=0x0;_0x13577d<_0x39effd;_0x13577d++)_0x12b72c[_0x13577d]^=0x5c5c5c5c,_0x6ab7[_0x13577d]^=0x36363636;_0x3fdf05[_0x431feb(0x3ad)]=_0xbf870d['sigBytes']=_0x4c9226,this[_0x431feb(0x2d7)]();},'reset':function(){const _0xe9d616=_0x14d214;var _0x3daf79=this['_hasher'];_0x3daf79[_0xe9d616(0x2d7)](),_0x3daf79[_0xe9d616(0x3c9)](this[_0xe9d616(0x16d)]);},'update':function(_0x146ff3){const _0x277624=_0x14d214;return this['_hasher'][_0x277624(0x3c9)](_0x146ff3),this;},'finalize':function(_0x2b6cd3){const _0x25d959=_0x14d214;var _0x3497a8=this['_hasher'],_0x102c0=_0x3497a8['finalize'](_0x2b6cd3);_0x3497a8[_0x25d959(0x2d7)]();var _0x2cdb62=_0x3497a8[_0x25d959(0x2e2)](this['_oKey'][_0x25d959(0x431)]()[_0x25d959(0x196)](_0x102c0));return _0x2cdb62;}});}());}));}(zt)),zt[_0xe0163e(0x236)];}var ti;function Fi(){return ti||(ti=0x1,function(_0x31ee37,_0x3f2963){(function(_0xa06b0,_0x51f637,_0x1abac8){_0x31ee37['exports']=_0x51f637(ue(),Va(),Ga());}(Z,function(_0x48e2c1){return(function(){const _0x508f32=_0x4081;var _0x5c8d6b=_0x48e2c1,_0x21c4e0=_0x5c8d6b[_0x508f32(0x2f1)],_0x4e2bf4=_0x21c4e0[_0x508f32(0x429)],_0x4760e9=_0x21c4e0[_0x508f32(0x1b3)],_0x849efc=_0x5c8d6b[_0x508f32(0x44d)],_0x14b2ec=_0x849efc[_0x508f32(0x36c)],_0x4d7d11=_0x849efc['EvpKDF']=_0x4e2bf4['extend']({'cfg':_0x4e2bf4['extend']({'keySize':0x80/0x20,'hasher':_0x14b2ec,'iterations':0x1}),'init':function(_0x2d44bf){const _0x334f8b=_0x508f32;this['cfg']=this[_0x334f8b(0x181)][_0x334f8b(0x187)](_0x2d44bf);},'compute':function(_0x3a87d4,_0x5bac6e){const _0x11f0c0=_0x508f32;for(var _0x446f20,_0x599349=this[_0x11f0c0(0x181)],_0x199c95=_0x599349[_0x11f0c0(0x45f)][_0x11f0c0(0x54f)](),_0x2c7ffd=_0x4760e9[_0x11f0c0(0x54f)](),_0x54fb62=_0x2c7ffd['words'],_0x186150=_0x599349['keySize'],_0x3ab258=_0x599349[_0x11f0c0(0x1d0)];_0x54fb62[_0x11f0c0(0x282)]<_0x186150;){_0x446f20&&_0x199c95['update'](_0x446f20),_0x446f20=_0x199c95[_0x11f0c0(0x3c9)](_0x3a87d4)[_0x11f0c0(0x2e2)](_0x5bac6e),_0x199c95[_0x11f0c0(0x2d7)]();for(var _0x1bb496=0x1;_0x1bb496<_0x3ab258;_0x1bb496++)_0x446f20=_0x199c95[_0x11f0c0(0x2e2)](_0x446f20),_0x199c95['reset']();_0x2c7ffd[_0x11f0c0(0x196)](_0x446f20);}return _0x2c7ffd[_0x11f0c0(0x3ad)]=_0x186150*0x4,_0x2c7ffd;}});_0x5c8d6b['EvpKDF']=function(_0x1744f2,_0x109db0,_0x28d11f){const _0x219853=_0x508f32;return _0x4d7d11[_0x219853(0x54f)](_0x28d11f)['compute'](_0x1744f2,_0x109db0);};}()),_0x48e2c1['EvpKDF'];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0x225d35,_0x1fab56){(function(_0xddb8a3,_0xebdf5b,_0xf76766){const _0x3ca7f9=_0x4081;_0x225d35[_0x3ca7f9(0x236)]=_0xebdf5b(ue(),Fi());}(Z,function(_0x42cb16){const _0x1dd064=_0x4081;_0x42cb16['lib'][_0x1dd064(0x442)]||function(_0x5b7b97){const _0x2f2bb6=_0x1dd064;var _0x55ef83=_0x42cb16,_0x44cca4=_0x55ef83['lib'],_0x431a67=_0x44cca4[_0x2f2bb6(0x429)],_0x26fdbd=_0x44cca4['WordArray'],_0x9c453e=_0x44cca4[_0x2f2bb6(0x1b8)],_0x3b80a3=_0x55ef83[_0x2f2bb6(0x522)];_0x3b80a3['Utf8'];var _0x1d703f=_0x3b80a3[_0x2f2bb6(0x1fc)],_0x46df86=_0x55ef83['algo'],_0x5f44b6=_0x46df86[_0x2f2bb6(0x34b)],_0x15c5f1=_0x44cca4[_0x2f2bb6(0x442)]=_0x9c453e[_0x2f2bb6(0x187)]({'cfg':_0x431a67[_0x2f2bb6(0x187)](),'createEncryptor':function(_0x5e3615,_0x51a2e2){const _0x3e20fb=_0x2f2bb6;return this[_0x3e20fb(0x54f)](this[_0x3e20fb(0x529)],_0x5e3615,_0x51a2e2);},'createDecryptor':function(_0x52f101,_0x33eed1){return this['create'](this['_DEC_XFORM_MODE'],_0x52f101,_0x33eed1);},'init':function(_0x39bea6,_0x401027,_0x4d1f92){const _0x1c13d8=_0x2f2bb6;this[_0x1c13d8(0x181)]=this['cfg'][_0x1c13d8(0x187)](_0x4d1f92),this['_xformMode']=_0x39bea6,this[_0x1c13d8(0x24d)]=_0x401027,this['reset']();},'reset':function(){const _0x123161=_0x2f2bb6;_0x9c453e[_0x123161(0x2d7)]['call'](this),this[_0x123161(0x1c4)]();},'process':function(_0x2cd3a1){const _0x4c8f6b=_0x2f2bb6;return this[_0x4c8f6b(0x362)](_0x2cd3a1),this[_0x4c8f6b(0x16f)]();},'finalize':function(_0x454914){const _0x574d26=_0x2f2bb6;_0x454914&&this[_0x574d26(0x362)](_0x454914);var _0x20a64f=this[_0x574d26(0x555)]();return _0x20a64f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x20b599(_0x26cee0){const _0x43cd19=_0x4081;return typeof _0x26cee0==_0x43cd19(0x40c)?_0x2735c5:_0x4543a7;}return function(_0x53b697){return{'encrypt':function(_0x36c94b,_0x458863,_0x102411){return _0x20b599(_0x458863)['encrypt'](_0x53b697,_0x36c94b,_0x458863,_0x102411);},'decrypt':function(_0x9f01ee,_0x5abc96,_0x263375){const _0x360809=_0x4081;return _0x20b599(_0x5abc96)[_0x360809(0x27b)](_0x53b697,_0x9f01ee,_0x5abc96,_0x263375);}};};}())});_0x44cca4[_0x2f2bb6(0x4c0)]=_0x15c5f1[_0x2f2bb6(0x187)]({'_doFinalize':function(){const _0x4b4045=_0x2f2bb6;var _0xd47c86=this[_0x4b4045(0x16f)](!0x0);return _0xd47c86;},'blockSize':0x1});var _0x151d9f=_0x55ef83['mode']={},_0x1d4696=_0x44cca4[_0x2f2bb6(0x178)]=_0x431a67[_0x2f2bb6(0x187)]({'createEncryptor':function(_0x1c3de8,_0x560a9d){const _0x5662be=_0x2f2bb6;return this[_0x5662be(0x52e)][_0x5662be(0x54f)](_0x1c3de8,_0x560a9d);},'createDecryptor':function(_0x54c9f9,_0x395209){const _0x3b5c57=_0x2f2bb6;return this[_0x3b5c57(0x21e)][_0x3b5c57(0x54f)](_0x54c9f9,_0x395209);},'init':function(_0x32d6a1,_0x5f1d73){const _0x4ca9a1=_0x2f2bb6;this[_0x4ca9a1(0x378)]=_0x32d6a1,this[_0x4ca9a1(0x544)]=_0x5f1d73;}}),_0x42dfa5=_0x151d9f[_0x2f2bb6(0x4e0)]=(function(){const _0x18ae57=_0x2f2bb6;var _0x2f684f=_0x1d4696[_0x18ae57(0x187)]();_0x2f684f[_0x18ae57(0x52e)]=_0x2f684f[_0x18ae57(0x187)]({'processBlock':function(_0x62ad3,_0x2f7d18){const _0xb9f9e8=_0x18ae57;var _0x611256=this[_0xb9f9e8(0x378)],_0x4eb647=_0x611256[_0xb9f9e8(0x2c0)];_0x264633[_0xb9f9e8(0x1f6)](this,_0x62ad3,_0x2f7d18,_0x4eb647),_0x611256[_0xb9f9e8(0x188)](_0x62ad3,_0x2f7d18),this['_prevBlock']=_0x62ad3[_0xb9f9e8(0x3e2)](_0x2f7d18,_0x2f7d18+_0x4eb647);}}),_0x2f684f['Decryptor']=_0x2f684f[_0x18ae57(0x187)]({'processBlock':function(_0x3ad08c,_0xf6610a){const _0x28bb48=_0x18ae57;var _0x2f10b8=this[_0x28bb48(0x378)],_0x2a90c4=_0x2f10b8[_0x28bb48(0x2c0)],_0x1aa2bc=_0x3ad08c[_0x28bb48(0x3e2)](_0xf6610a,_0xf6610a+_0x2a90c4);_0x2f10b8[_0x28bb48(0x460)](_0x3ad08c,_0xf6610a),_0x264633[_0x28bb48(0x1f6)](this,_0x3ad08c,_0xf6610a,_0x2a90c4),this[_0x28bb48(0x169)]=_0x1aa2bc;}});function _0x264633(_0x189367,_0x501d7e,_0x2c8c0c){const _0x407ba8=_0x18ae57;var _0x568f4,_0x19dc4a=this['_iv'];_0x19dc4a?(_0x568f4=_0x19dc4a,this[_0x407ba8(0x544)]=_0x5b7b97):_0x568f4=this[_0x407ba8(0x169)];for(var _0x511654=0x0;_0x511654<_0x2c8c0c;_0x511654++)_0x189367[_0x501d7e+_0x511654]^=_0x568f4[_0x511654];}return _0x2f684f;}()),_0x496ac2=_0x55ef83['pad']={},_0x25c0f3=_0x496ac2[_0x2f2bb6(0x1ed)]={'pad':function(_0x53a1e6,_0x46f8a0){const _0x19e944=_0x2f2bb6;for(var _0x5919f9=_0x46f8a0*0x4,_0x2742d5=_0x5919f9-_0x53a1e6[_0x19e944(0x3ad)]%_0x5919f9,_0x1837e6=_0x2742d5<<0x18|_0x2742d5<<0x10|_0x2742d5<<0x8|_0x2742d5,_0x54c90a=[],_0x3fb44b=0x0;_0x3fb44b<_0x2742d5;_0x3fb44b+=0x4)_0x54c90a[_0x19e944(0x433)](_0x1837e6);var _0x948b2=_0x26fdbd['create'](_0x54c90a,_0x2742d5);_0x53a1e6[_0x19e944(0x196)](_0x948b2);},'unpad':function(_0xd0d498){const _0x402793=_0x2f2bb6;var _0x526a16=_0xd0d498[_0x402793(0x1fa)][_0xd0d498[_0x402793(0x3ad)]-0x1>>>0x2]&0xff;_0xd0d498[_0x402793(0x3ad)]-=_0x526a16;}};_0x44cca4[_0x2f2bb6(0x516)]=_0x15c5f1[_0x2f2bb6(0x187)]({'cfg':_0x15c5f1[_0x2f2bb6(0x181)][_0x2f2bb6(0x187)]({'mode':_0x42dfa5,'padding':_0x25c0f3}),'reset':function(){const _0x5f1b46=_0x2f2bb6;var _0x52601d;_0x15c5f1['reset'][_0x5f1b46(0x1f6)](this);var _0x1e653e=this[_0x5f1b46(0x181)],_0x194541=_0x1e653e['iv'],_0x5336c7=_0x1e653e[_0x5f1b46(0x490)];this['_xformMode']==this[_0x5f1b46(0x529)]?_0x52601d=_0x5336c7[_0x5f1b46(0x34a)]:(_0x52601d=_0x5336c7['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x5f1b46(0x580)][_0x5f1b46(0x439)]==_0x52601d?this['_mode'][_0x5f1b46(0x1d6)](this,_0x194541&&_0x194541['words']):(this[_0x5f1b46(0x580)]=_0x52601d['call'](_0x5336c7,this,_0x194541&&_0x194541[_0x5f1b46(0x1fa)]),this['_mode'][_0x5f1b46(0x439)]=_0x52601d);},'_doProcessBlock':function(_0x28e229,_0x4d6495){const _0x594ff2=_0x2f2bb6;this[_0x594ff2(0x580)][_0x594ff2(0x50f)](_0x28e229,_0x4d6495);},'_doFinalize':function(){const _0x1eb9ed=_0x2f2bb6;var _0x37da27,_0x4bfa8b=this[_0x1eb9ed(0x181)][_0x1eb9ed(0x4cc)];return this[_0x1eb9ed(0x241)]==this[_0x1eb9ed(0x529)]?(_0x4bfa8b[_0x1eb9ed(0x57e)](this[_0x1eb9ed(0x2a9)],this[_0x1eb9ed(0x2c0)]),_0x37da27=this['_process'](!0x0)):(_0x37da27=this[_0x1eb9ed(0x16f)](!0x0),_0x4bfa8b['unpad'](_0x37da27)),_0x37da27;},'blockSize':0x80/0x20});var _0xd75394=_0x44cca4['CipherParams']=_0x431a67[_0x2f2bb6(0x187)]({'init':function(_0x29caf6){const _0x2156e9=_0x2f2bb6;this[_0x2156e9(0x3a4)](_0x29caf6);},'toString':function(_0x40123d){return(_0x40123d||this['formatter'])['stringify'](this);}}),_0x2283bf=_0x55ef83[_0x2f2bb6(0x27c)]={},_0x1f9474=_0x2283bf[_0x2f2bb6(0x3aa)]={'stringify':function(_0x5df56e){const _0x601f9c=_0x2f2bb6;var _0x4022b7,_0x39736a=_0x5df56e[_0x601f9c(0x2bc)],_0x4383ec=_0x5df56e['salt'];return _0x4383ec?_0x4022b7=_0x26fdbd['create']([0x53616c74,0x65645f5f])['concat'](_0x4383ec)[_0x601f9c(0x196)](_0x39736a):_0x4022b7=_0x39736a,_0x4022b7[_0x601f9c(0x2e5)](_0x1d703f);},'parse':function(_0x596176){const _0x4e2c5a=_0x2f2bb6;var _0x50120e,_0x230d37=_0x1d703f[_0x4e2c5a(0x57c)](_0x596176),_0x1932ef=_0x230d37[_0x4e2c5a(0x1fa)];return _0x1932ef[0x0]==0x53616c74&&_0x1932ef[0x1]==0x65645f5f&&(_0x50120e=_0x26fdbd[_0x4e2c5a(0x54f)](_0x1932ef[_0x4e2c5a(0x3e2)](0x2,0x4)),_0x1932ef[_0x4e2c5a(0x307)](0x0,0x4),_0x230d37[_0x4e2c5a(0x3ad)]-=0x10),_0xd75394[_0x4e2c5a(0x54f)]({'ciphertext':_0x230d37,'salt':_0x50120e});}},_0x4543a7=_0x44cca4[_0x2f2bb6(0x3a1)]=_0x431a67[_0x2f2bb6(0x187)]({'cfg':_0x431a67[_0x2f2bb6(0x187)]({'format':_0x1f9474}),'encrypt':function(_0xb5696a,_0x179787,_0x18f2a5,_0x2b5118){const _0x503023=_0x2f2bb6;_0x2b5118=this['cfg'][_0x503023(0x187)](_0x2b5118);var _0x38600b=_0xb5696a[_0x503023(0x34a)](_0x18f2a5,_0x2b5118),_0x53810c=_0x38600b[_0x503023(0x2e2)](_0x179787),_0x37e88f=_0x38600b[_0x503023(0x181)];return _0xd75394[_0x503023(0x54f)]({'ciphertext':_0x53810c,'key':_0x18f2a5,'iv':_0x37e88f['iv'],'algorithm':_0xb5696a,'mode':_0x37e88f[_0x503023(0x490)],'padding':_0x37e88f[_0x503023(0x4cc)],'blockSize':_0xb5696a['blockSize'],'formatter':_0x2b5118[_0x503023(0x27c)]});},'decrypt':function(_0x90976d,_0x169170,_0x43e81f,_0x18cb40){const _0x16df18=_0x2f2bb6;_0x18cb40=this[_0x16df18(0x181)][_0x16df18(0x187)](_0x18cb40),_0x169170=this[_0x16df18(0x4f5)](_0x169170,_0x18cb40['format']);var _0x13f654=_0x90976d[_0x16df18(0x430)](_0x43e81f,_0x18cb40)[_0x16df18(0x2e2)](_0x169170[_0x16df18(0x2bc)]);return _0x13f654;},'_parse':function(_0x353665,_0x51dc39){const _0x3d35a1=_0x2f2bb6;return typeof _0x353665==_0x3d35a1(0x40c)?_0x51dc39[_0x3d35a1(0x57c)](_0x353665,this):_0x353665;}}),_0x1868f3=_0x55ef83[_0x2f2bb6(0x1a3)]={},_0x390967=_0x1868f3['OpenSSL']={'execute':function(_0xbb6769,_0x5d4f35,_0x1e9d21,_0x4d8ea9,_0x36d8a4){const _0x1761b2=_0x2f2bb6;if(_0x4d8ea9||(_0x4d8ea9=_0x26fdbd[_0x1761b2(0x453)](0x40/0x8)),_0x36d8a4)var _0x385a09=_0x5f44b6['create']({'keySize':_0x5d4f35+_0x1e9d21,'hasher':_0x36d8a4})[_0x1761b2(0x3fb)](_0xbb6769,_0x4d8ea9);else var _0x385a09=_0x5f44b6[_0x1761b2(0x54f)]({'keySize':_0x5d4f35+_0x1e9d21})[_0x1761b2(0x3fb)](_0xbb6769,_0x4d8ea9);var _0x37c85c=_0x26fdbd[_0x1761b2(0x54f)](_0x385a09[_0x1761b2(0x1fa)][_0x1761b2(0x3e2)](_0x5d4f35),_0x1e9d21*0x4);return _0x385a09['sigBytes']=_0x5d4f35*0x4,_0xd75394['create']({'key':_0x385a09,'iv':_0x37c85c,'salt':_0x4d8ea9});}},_0x2735c5=_0x44cca4[_0x2f2bb6(0x4a9)]=_0x4543a7[_0x2f2bb6(0x187)]({'cfg':_0x4543a7[_0x2f2bb6(0x181)][_0x2f2bb6(0x187)]({'kdf':_0x390967}),'encrypt':function(_0x3fdfb5,_0x2e9fb5,_0x314b84,_0x2e718d){const _0x784017=_0x2f2bb6;_0x2e718d=this[_0x784017(0x181)][_0x784017(0x187)](_0x2e718d);var _0x5844dc=_0x2e718d[_0x784017(0x1a3)][_0x784017(0x1f4)](_0x314b84,_0x3fdfb5[_0x784017(0x4dd)],_0x3fdfb5[_0x784017(0x3da)],_0x2e718d['salt'],_0x2e718d[_0x784017(0x45f)]);_0x2e718d['iv']=_0x5844dc['iv'];var _0x22b585=_0x4543a7[_0x784017(0x26f)][_0x784017(0x1f6)](this,_0x3fdfb5,_0x2e9fb5,_0x5844dc[_0x784017(0x275)],_0x2e718d);return _0x22b585[_0x784017(0x3a4)](_0x5844dc),_0x22b585;},'decrypt':function(_0x497b42,_0x38643d,_0x952065,_0x53ccb6){const _0x5ac3da=_0x2f2bb6;_0x53ccb6=this[_0x5ac3da(0x181)]['extend'](_0x53ccb6),_0x38643d=this[_0x5ac3da(0x4f5)](_0x38643d,_0x53ccb6[_0x5ac3da(0x27c)]);var _0x4bac45=_0x53ccb6[_0x5ac3da(0x1a3)][_0x5ac3da(0x1f4)](_0x952065,_0x497b42[_0x5ac3da(0x4dd)],_0x497b42[_0x5ac3da(0x3da)],_0x38643d[_0x5ac3da(0x293)],_0x53ccb6[_0x5ac3da(0x45f)]);_0x53ccb6['iv']=_0x4bac45['iv'];var _0x2a680b=_0x4543a7[_0x5ac3da(0x27b)][_0x5ac3da(0x1f6)](this,_0x497b42,_0x38643d,_0x4bac45[_0x5ac3da(0x275)],_0x53ccb6);return _0x2a680b;}});}();}));}(qt)),qt['exports'];}(function(_0x3c6fe6,_0xe65eab){(function(_0x107372,_0x278fa7,_0x2a742d){const _0xda62d9=_0x4081;_0x3c6fe6[_0xda62d9(0x236)]=_0x278fa7(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x5d40c2){const _0x59a048=_0x4081;return(function(){const _0x49c0cb=_0x4081;var _0x348ae9=_0x5d40c2,_0x1740f7=_0x348ae9[_0x49c0cb(0x2f1)],_0x1f88cb=_0x1740f7[_0x49c0cb(0x516)],_0x5d024e=_0x348ae9['algo'],_0x1cdb38=[],_0x34183d=[],_0x1c7153=[],_0x56a2fa=[],_0xf5150=[],_0x4f87a0=[],_0x43b877=[],_0x18e1f6=[],_0x5c6ace=[],_0x35991=[];(function(){for(var _0x1d58b7=[],_0x49e2a8=0x0;_0x49e2a8<0x100;_0x49e2a8++)_0x49e2a8<0x80?_0x1d58b7[_0x49e2a8]=_0x49e2a8<<0x1:_0x1d58b7[_0x49e2a8]=_0x49e2a8<<0x1^0x11b;for(var _0x4b15c5=0x0,_0x533ece=0x0,_0x49e2a8=0x0;_0x49e2a8<0x100;_0x49e2a8++){var _0x5184e0=_0x533ece^_0x533ece<<0x1^_0x533ece<<0x2^_0x533ece<<0x3^_0x533ece<<0x4;_0x5184e0=_0x5184e0>>>0x8^_0x5184e0&0xff^0x63,_0x1cdb38[_0x4b15c5]=_0x5184e0,_0x34183d[_0x5184e0]=_0x4b15c5;var _0x12226b=_0x1d58b7[_0x4b15c5],_0x14a85d=_0x1d58b7[_0x12226b],_0x976c54=_0x1d58b7[_0x14a85d],_0x23afb7=_0x1d58b7[_0x5184e0]*0x101^_0x5184e0*0x1010100;_0x1c7153[_0x4b15c5]=_0x23afb7<<0x18|_0x23afb7>>>0x8,_0x56a2fa[_0x4b15c5]=_0x23afb7<<0x10|_0x23afb7>>>0x10,_0xf5150[_0x4b15c5]=_0x23afb7<<0x8|_0x23afb7>>>0x18,_0x4f87a0[_0x4b15c5]=_0x23afb7;var _0x23afb7=_0x976c54*0x1010101^_0x14a85d*0x10001^_0x12226b*0x101^_0x4b15c5*0x1010100;_0x43b877[_0x5184e0]=_0x23afb7<<0x18|_0x23afb7>>>0x8,_0x18e1f6[_0x5184e0]=_0x23afb7<<0x10|_0x23afb7>>>0x10,_0x5c6ace[_0x5184e0]=_0x23afb7<<0x8|_0x23afb7>>>0x18,_0x35991[_0x5184e0]=_0x23afb7,_0x4b15c5?(_0x4b15c5=_0x12226b^_0x1d58b7[_0x1d58b7[_0x1d58b7[_0x976c54^_0x12226b]]],_0x533ece^=_0x1d58b7[_0x1d58b7[_0x533ece]]):_0x4b15c5=_0x533ece=0x1;}}());var _0x4424c4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5aad3c=_0x5d024e[_0x49c0cb(0x2c4)]=_0x1f88cb['extend']({'_doReset':function(){const _0x2d806f=_0x49c0cb;var _0x5e7691;if(!(this[_0x2d806f(0x2b7)]&&this['_keyPriorReset']===this[_0x2d806f(0x24d)])){for(var _0x418715=this[_0x2d806f(0x380)]=this[_0x2d806f(0x24d)],_0x450d95=_0x418715[_0x2d806f(0x1fa)],_0xd8ca1e=_0x418715['sigBytes']/0x4,_0x183b03=this[_0x2d806f(0x2b7)]=_0xd8ca1e+0x6,_0x2a9e2d=(_0x183b03+0x1)*0x4,_0x292d44=this[_0x2d806f(0x3d1)]=[],_0x1ab74d=0x0;_0x1ab74d<_0x2a9e2d;_0x1ab74d++)_0x1ab74d<_0xd8ca1e?_0x292d44[_0x1ab74d]=_0x450d95[_0x1ab74d]:(_0x5e7691=_0x292d44[_0x1ab74d-0x1],_0x1ab74d%_0xd8ca1e?_0xd8ca1e>0x6&&_0x1ab74d%_0xd8ca1e==0x4&&(_0x5e7691=_0x1cdb38[_0x5e7691>>>0x18]<<0x18|_0x1cdb38[_0x5e7691>>>0x10&0xff]<<0x10|_0x1cdb38[_0x5e7691>>>0x8&0xff]<<0x8|_0x1cdb38[_0x5e7691&0xff]):(_0x5e7691=_0x5e7691<<0x8|_0x5e7691>>>0x18,_0x5e7691=_0x1cdb38[_0x5e7691>>>0x18]<<0x18|_0x1cdb38[_0x5e7691>>>0x10&0xff]<<0x10|_0x1cdb38[_0x5e7691>>>0x8&0xff]<<0x8|_0x1cdb38[_0x5e7691&0xff],_0x5e7691^=_0x4424c4[_0x1ab74d/_0xd8ca1e|0x0]<<0x18),_0x292d44[_0x1ab74d]=_0x292d44[_0x1ab74d-_0xd8ca1e]^_0x5e7691);for(var _0x1b0842=this['_invKeySchedule']=[],_0xee9b2c=0x0;_0xee9b2c<_0x2a9e2d;_0xee9b2c++){var _0x1ab74d=_0x2a9e2d-_0xee9b2c;if(_0xee9b2c%0x4)var _0x5e7691=_0x292d44[_0x1ab74d];else var _0x5e7691=_0x292d44[_0x1ab74d-0x4];_0xee9b2c<0x4||_0x1ab74d<=0x4?_0x1b0842[_0xee9b2c]=_0x5e7691:_0x1b0842[_0xee9b2c]=_0x43b877[_0x1cdb38[_0x5e7691>>>0x18]]^_0x18e1f6[_0x1cdb38[_0x5e7691>>>0x10&0xff]]^_0x5c6ace[_0x1cdb38[_0x5e7691>>>0x8&0xff]]^_0x35991[_0x1cdb38[_0x5e7691&0xff]];}}},'encryptBlock':function(_0xd06df1,_0x410d84){const _0x71e8f7=_0x49c0cb;this['_doCryptBlock'](_0xd06df1,_0x410d84,this[_0x71e8f7(0x3d1)],_0x1c7153,_0x56a2fa,_0xf5150,_0x4f87a0,_0x1cdb38);},'decryptBlock':function(_0x22eb82,_0xcacd52){const _0x4ce6d9=_0x49c0cb;var _0x2c4ecd=_0x22eb82[_0xcacd52+0x1];_0x22eb82[_0xcacd52+0x1]=_0x22eb82[_0xcacd52+0x3],_0x22eb82[_0xcacd52+0x3]=_0x2c4ecd,this[_0x4ce6d9(0x34f)](_0x22eb82,_0xcacd52,this[_0x4ce6d9(0x369)],_0x43b877,_0x18e1f6,_0x5c6ace,_0x35991,_0x34183d);var _0x2c4ecd=_0x22eb82[_0xcacd52+0x1];_0x22eb82[_0xcacd52+0x1]=_0x22eb82[_0xcacd52+0x3],_0x22eb82[_0xcacd52+0x3]=_0x2c4ecd;},'_doCryptBlock':function(_0x296970,_0x44a3c0,_0xf85c06,_0xa19b6,_0x3dec56,_0x29678d,_0x396775,_0x125520){const _0x2d8305=_0x49c0cb;for(var _0x25f32c=this[_0x2d8305(0x2b7)],_0x4d7b01=_0x296970[_0x44a3c0]^_0xf85c06[0x0],_0x2ab42e=_0x296970[_0x44a3c0+0x1]^_0xf85c06[0x1],_0x118026=_0x296970[_0x44a3c0+0x2]^_0xf85c06[0x2],_0x548b6a=_0x296970[_0x44a3c0+0x3]^_0xf85c06[0x3],_0x17514f=0x4,_0x2b3bf6=0x1;_0x2b3bf6<_0x25f32c;_0x2b3bf6++){var _0x220d9f=_0xa19b6[_0x4d7b01>>>0x18]^_0x3dec56[_0x2ab42e>>>0x10&0xff]^_0x29678d[_0x118026>>>0x8&0xff]^_0x396775[_0x548b6a&0xff]^_0xf85c06[_0x17514f++],_0x14794f=_0xa19b6[_0x2ab42e>>>0x18]^_0x3dec56[_0x118026>>>0x10&0xff]^_0x29678d[_0x548b6a>>>0x8&0xff]^_0x396775[_0x4d7b01&0xff]^_0xf85c06[_0x17514f++],_0x5e0db8=_0xa19b6[_0x118026>>>0x18]^_0x3dec56[_0x548b6a>>>0x10&0xff]^_0x29678d[_0x4d7b01>>>0x8&0xff]^_0x396775[_0x2ab42e&0xff]^_0xf85c06[_0x17514f++],_0x3fe4f5=_0xa19b6[_0x548b6a>>>0x18]^_0x3dec56[_0x4d7b01>>>0x10&0xff]^_0x29678d[_0x2ab42e>>>0x8&0xff]^_0x396775[_0x118026&0xff]^_0xf85c06[_0x17514f++];_0x4d7b01=_0x220d9f,_0x2ab42e=_0x14794f,_0x118026=_0x5e0db8,_0x548b6a=_0x3fe4f5;}var _0x220d9f=(_0x125520[_0x4d7b01>>>0x18]<<0x18|_0x125520[_0x2ab42e>>>0x10&0xff]<<0x10|_0x125520[_0x118026>>>0x8&0xff]<<0x8|_0x125520[_0x548b6a&0xff])^_0xf85c06[_0x17514f++],_0x14794f=(_0x125520[_0x2ab42e>>>0x18]<<0x18|_0x125520[_0x118026>>>0x10&0xff]<<0x10|_0x125520[_0x548b6a>>>0x8&0xff]<<0x8|_0x125520[_0x4d7b01&0xff])^_0xf85c06[_0x17514f++],_0x5e0db8=(_0x125520[_0x118026>>>0x18]<<0x18|_0x125520[_0x548b6a>>>0x10&0xff]<<0x10|_0x125520[_0x4d7b01>>>0x8&0xff]<<0x8|_0x125520[_0x2ab42e&0xff])^_0xf85c06[_0x17514f++],_0x3fe4f5=(_0x125520[_0x548b6a>>>0x18]<<0x18|_0x125520[_0x4d7b01>>>0x10&0xff]<<0x10|_0x125520[_0x2ab42e>>>0x8&0xff]<<0x8|_0x125520[_0x118026&0xff])^_0xf85c06[_0x17514f++];_0x296970[_0x44a3c0]=_0x220d9f,_0x296970[_0x44a3c0+0x1]=_0x14794f,_0x296970[_0x44a3c0+0x2]=_0x5e0db8,_0x296970[_0x44a3c0+0x3]=_0x3fe4f5;},'keySize':0x100/0x20});_0x348ae9[_0x49c0cb(0x2c4)]=_0x1f88cb[_0x49c0cb(0x3ee)](_0x5aad3c);}()),_0x5d40c2[_0x59a048(0x2c4)];}));}(ki));var Ya=ki[_0x5bb7a4(0x236)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x44b7b9,_0x37df8a){(function(_0x55a35a,_0x1173dd){const _0x239f9a=_0x4081;_0x44b7b9[_0x239f9a(0x236)]=_0x1173dd(ue());}(Z,function(_0x57819e){return _0x57819e['enc']['Utf8'];}));}(Gi));var qa=Gi[_0x5bb7a4(0x236)];const Xa=at(qa);var Yi={'exports':{}};(function(_0x215e92,_0x1c5792){(function(_0x2d2c8d,_0x12fd4e){const _0x204f59=_0x4081;_0x215e92[_0x204f59(0x236)]=_0x12fd4e(ue());}(Z,function(_0x35f3b9){const _0x4785f0=_0x4081;return(function(){const _0x374518=_0x4081;if(typeof ArrayBuffer==_0x374518(0x4b8)){var _0x10b2f9=_0x35f3b9,_0x5bff3a=_0x10b2f9['lib'],_0x1d925c=_0x5bff3a[_0x374518(0x1b3)],_0x25cc5d=_0x1d925c[_0x374518(0x1d6)],_0x7d0f0a=_0x1d925c[_0x374518(0x1d6)]=function(_0x47e372){const _0x16af44=_0x374518;if(_0x47e372 instanceof ArrayBuffer&&(_0x47e372=new Uint8Array(_0x47e372)),(_0x47e372 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x47e372 instanceof Uint8ClampedArray||_0x47e372 instanceof Int16Array||_0x47e372 instanceof Uint16Array||_0x47e372 instanceof Int32Array||_0x47e372 instanceof Uint32Array||_0x47e372 instanceof Float32Array||_0x47e372 instanceof Float64Array)&&(_0x47e372=new Uint8Array(_0x47e372[_0x16af44(0x57b)],_0x47e372[_0x16af44(0x2bd)],_0x47e372[_0x16af44(0x4ff)])),_0x47e372 instanceof Uint8Array){for(var _0xa0fcf8=_0x47e372['byteLength'],_0x2c2afd=[],_0x31d4e6=0x0;_0x31d4e6<_0xa0fcf8;_0x31d4e6++)_0x2c2afd[_0x31d4e6>>>0x2]|=_0x47e372[_0x31d4e6]<<0x18-_0x31d4e6%0x4*0x8;_0x25cc5d[_0x16af44(0x1f6)](this,_0x2c2afd,_0xa0fcf8);}else _0x25cc5d[_0x16af44(0x568)](this,arguments);};_0x7d0f0a['prototype']=_0x1d925c;}}()),_0x35f3b9['lib'][_0x4785f0(0x1b3)];}));}(Yi));var Ja=Yi['exports'];const Za=at(Ja);var Ki={'exports':{}};(function(_0x218af6,_0x9d0c7d){(function(_0x5eedf1,_0x1cf7fd,_0x10ae64){const _0x485ec0=_0x4081;_0x218af6[_0x485ec0(0x236)]=_0x1cf7fd(ue(),Vi());}(Z,function(_0x574897){const _0x3c4e59=_0x4081;return _0x574897[_0x3c4e59(0x57e)][_0x3c4e59(0x540)]={'pad':function(){},'unpad':function(){}},_0x574897[_0x3c4e59(0x57e)][_0x3c4e59(0x540)];}));}(Ki));var Qa=Ki[_0x5bb7a4(0x236)];const ec=at(Qa);function tc(_0x56c7f3,_0x1766a6){const _0x452570=_0x5bb7a4,_0x441abd=_0x1766a6-_0x56c7f3[_0x452570(0x282)]%_0x1766a6,_0x55b041=String[_0x452570(0x224)](_0x441abd)[_0x452570(0x39f)](_0x441abd);return _0x56c7f3+_0x55b041;}function sc(_0x4e54d2,_0x4825e2){const _0x484f86=_0x5bb7a4,_0x2ab157=Za['random'](0x10),_0x92660a=tc(_0x4e54d2,0x10),_0x243094=Ka['encrypt'](Xa[_0x484f86(0x57c)](_0x92660a),ii['parse'](_0x4825e2),{'iv':_0x2ab157,'padding':ec});return _0x2ab157[_0x484f86(0x196)](_0x243094[_0x484f86(0x2bc)])['toString'](ii);}function ic(){const _0x36e961=_0x5bb7a4,_0x34b503=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x34b503){const _0x5db3ee={'time':Math[_0x36e961(0x23d)](Date[_0x36e961(0x3d2)]()/0x3e8),'domain':location[_0x36e961(0x186)]};return sc(JSON[_0x36e961(0x303)](_0x5db3ee),_0x34b503);}}var nc=Object[_0x5bb7a4(0x42b)],rc=Object[_0x5bb7a4(0x4e4)],oc=(_0x3a5ca1,_0x19b160,_0x2e0749,_0x5089c9)=>{const _0x3bfc22=_0x5bb7a4;for(var _0x3b88ee=_0x5089c9>0x1?void 0x0:_0x5089c9?rc(_0x19b160,_0x2e0749):_0x19b160,_0x288fbf=_0x3a5ca1[_0x3bfc22(0x282)]-0x1,_0x102361;_0x288fbf>=0x0;_0x288fbf--)(_0x102361=_0x3a5ca1[_0x288fbf])&&(_0x3b88ee=(_0x5089c9?_0x102361(_0x19b160,_0x2e0749,_0x3b88ee):_0x102361(_0x3b88ee))||_0x3b88ee);return _0x5089c9&&_0x3b88ee&&nc(_0x19b160,_0x2e0749,_0x3b88ee),_0x3b88ee;},ac=(_0x2f5fd6,_0x1c3eda)=>(_0x460f5c,_0x48ab30)=>_0x1c3eda(_0x460f5c,_0x48ab30,_0x2f5fd6);let bt=class{constructor(_0x3fad23){const _0x20a47a=_0x5bb7a4;this[_0x20a47a(0x1be)]=_0x3fad23,this[_0x20a47a(0x42c)]();}['_initRequestHeader'](){const _0x3e7be3=_0x5bb7a4;this['_httpService'][_0x3e7be3(0x4a6)]({'interceptor':(_0x393f84,_0x9532ce)=>{const _0x543f9b=_0x3e7be3,_0x199a1a=_0x393f84['headers'],_0x558402=ic();return _0x558402&&_0x199a1a[_0x543f9b(0x441)](_0x543f9b(0x189),_0x558402),_0x9532ce(_0x393f84);}});}};bt=oc([ac(0x0,_0x22a3e1(_0x41156a))],bt);var cc=Object[_0x5bb7a4(0x42b)],hc=Object[_0x5bb7a4(0x4e4)],lc=(_0x8a3ca4,_0x15b08e,_0x297682,_0x1d28de)=>{const _0x214d8a=_0x5bb7a4;for(var _0x323a33=_0x1d28de>0x1?void 0x0:_0x1d28de?hc(_0x15b08e,_0x297682):_0x15b08e,_0x3a129a=_0x8a3ca4[_0x214d8a(0x282)]-0x1,_0x421024;_0x3a129a>=0x0;_0x3a129a--)(_0x421024=_0x8a3ca4[_0x3a129a])&&(_0x323a33=(_0x1d28de?_0x421024(_0x15b08e,_0x297682,_0x323a33):_0x421024(_0x323a33))||_0x323a33);return _0x1d28de&&_0x323a33&&cc(_0x15b08e,_0x297682,_0x323a33),_0x323a33;},Xt=(_0x59524a,_0x378327)=>(_0x3ad4d4,_0x289978)=>_0x378327(_0x3ad4d4,_0x289978,_0x59524a);const _c=[_0x5bb7a4(0x510),_0x5bb7a4(0x300),_0x5bb7a4(0x3f7),_0x5bb7a4(0x316),_0x5bb7a4(0x454)],uc=0x5*0x400*0x400,dc=_0x5bb7a4(0x435),fc=_0x5bb7a4(0x2c3),vc=_0x5bb7a4(0x36e),mc=_0x5bb7a4(0x16b);let hs=class{constructor(_0x475602,_0x16abbe,_0x587f99){const _0x22d446=_0x5bb7a4;g(this,_0x22d446(0x3ac),0x0),g(this,_0x22d446(0x2bb),new _0x1b179a()),g(this,_0x22d446(0x1fb),this[_0x22d446(0x2bb)]),g(this,_0x22d446(0x1e0),new Map()),(this[_0x22d446(0x1be)]=_0x475602,this[_0x22d446(0x23e)]=_0x16abbe,this['_univerInstanceService']=_0x587f99);}[_0x5bb7a4(0x572)](_0x37dea6){const _0x2ef9df=_0x5bb7a4;this['_waitCount']=_0x37dea6,this[_0x2ef9df(0x2bb)][_0x2ef9df(0x3ff)](_0x37dea6);}[_0x5bb7a4(0x4c1)](_0x5227b7,_0x27d765){const _0xfd9165=_0x5bb7a4;if(_0x27d765===_0x40ad48[_0xfd9165(0x39d)]){const _0x5d74d5=new Image();return _0x5d74d5[_0xfd9165(0x3b5)]=_0x5227b7,_0x5d74d5;}return this['_imageSourceCache'][_0xfd9165(0x4f7)](_0x5227b7);}[_0x5bb7a4(0x284)](_0x19997c,_0x976905,_0x5b20c8){const _0x50eb18=_0x5bb7a4;_0x976905===_0x40ad48[_0x50eb18(0x39d)]||_0x5b20c8==null||this[_0x50eb18(0x1e0)][_0x50eb18(0x441)](_0x19997c,_0x5b20c8);}async['getImage'](_0x53cf9b){const _0x1c858c=_0x5bb7a4;try{const _0x3795af=this[_0x1c858c(0x578)](this[_0x1c858c(0x4a2)](),''+_0x53cf9b),_0x206edd=(await this['_httpService'][_0x1c858c(0x4f7)](_0x3795af))['body'];if(_0x206edd[_0x1c858c(0x17b)]&&_0x206edd[_0x1c858c(0x17b)][_0x1c858c(0x4bd)]===Ri['OK']){const _0x18b0aa=new URL(_0x206edd[_0x1c858c(0x217)],this[_0x1c858c(0x304)]())[_0x1c858c(0x2e5)]();return Promise['resolve'](_0x18b0aa);}return Promise[_0x1c858c(0x288)](_0x206edd[_0x1c858c(0x17b)]);}catch(_0x2c87e8){return Promise['reject'](_0x2c87e8);}}async[_0x5bb7a4(0x2aa)](_0xf51e61){const _0x6e61c8=_0x5bb7a4;let _0x450d75='';if(!_c['includes'](_0xf51e61[_0x6e61c8(0x27e)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1d459e['ERROR_IMAGE_TYPE']));if(_0xf51e61[_0x6e61c8(0x35a)]>uc)return this[_0x6e61c8(0x487)](),Promise['reject'](new Error(_0x1d459e[_0x6e61c8(0x2b4)]));try{const _0x14c5b6=new FormData();_0x14c5b6[_0x6e61c8(0x391)]('file',_0xf51e61);const _0x3a790d=this[_0x6e61c8(0x21d)][_0x6e61c8(0x1dd)](),_0x284b7e=_0x3a790d==null?void 0x0:_0x3a790d[_0x6e61c8(0x322)]();if(!_0x284b7e)throw new Error(_0x6e61c8(0x252));const _0x14b4e9=this[_0x6e61c8(0x18d)]()+_0x6e61c8(0x253)+_0xf51e61[_0x6e61c8(0x35a)]['toString']()+_0x6e61c8(0x179)+yi[_0x6e61c8(0x48f)]+_0x6e61c8(0x209)+encodeURIComponent(_0x284b7e),_0x16339e=await(await fetch(_0x14b4e9,{'method':_0x6e61c8(0x2bf),'body':_0x14c5b6}))['json']();if(typeof _0x16339e[_0x6e61c8(0x352)]!=_0x6e61c8(0x40c))return this[_0x6e61c8(0x487)](),Promise['reject'](new Error(_0x1d459e[_0x6e61c8(0x3c6)]));_0x450d75=_0x16339e[_0x6e61c8(0x352)];}catch{return this[_0x6e61c8(0x487)](),Promise[_0x6e61c8(0x288)](new Error(_0x1d459e['ERROR_IMAGE']));}return new Promise((_0x25de52,_0x425521)=>{const _0x391fc8=_0x6e61c8,_0x365283=new FileReader();_0x365283[_0x391fc8(0x3c8)](_0xf51e61),_0x365283[_0x391fc8(0x264)]=_0x5ee3fb=>{const _0x128924=_0x391fc8;var _0x40ed4e;const _0x5079b9=(_0x40ed4e=_0x5ee3fb['target'])==null?void 0x0:_0x40ed4e[_0x128924(0x1b0)];if(_0x5079b9==null){this[_0x128924(0x487)](),_0x425521(new Error(_0x1d459e['ERROR_IMAGE']));return;}const _0x443ebe=_0x41d014[_0x128924(0x4d1)](0x6);_0x25de52({'imageId':_0x443ebe,'imageSourceType':_0x40ad48['UUID'],'source':_0x450d75,'base64Cache':_0x5079b9,'status':_0x1d459e[_0x128924(0x450)]}),this[_0x128924(0x487)]();};});}['_getUploadFileURL'](){const _0x26b021=_0x5bb7a4;var _0x2088c3,_0x3cdc04;const _0x147e5e=this['_configService'][_0x26b021(0x447)](dc),_0x1c0821=this[_0x26b021(0x23e)][_0x26b021(0x447)](ie);return(_0x3cdc04=(_0x2088c3=_0x1c0821==null?void 0x0:_0x1c0821['uploadFileServerUrl'])!=null?_0x2088c3:_0x147e5e)!=null?_0x3cdc04:fc;}['_getSignURL'](){const _0x329947=_0x5bb7a4;var _0x441826,_0x1d291f;const _0x18f882=this['_configService'][_0x329947(0x447)](vc),_0x914ec2=this[_0x329947(0x23e)][_0x329947(0x447)](ie);return(_0x1d291f=(_0x441826=_0x914ec2==null?void 0x0:_0x914ec2['signUrlServerUrl'])!=null?_0x441826:_0x18f882)!=null?_0x1d291f:mc;}['_getDownloadEndpointURL'](){const _0x3496b3=_0x5bb7a4;var _0x4672cd;const _0x145273=this[_0x3496b3(0x23e)][_0x3496b3(0x447)](ie);return(_0x4672cd=_0x145273==null?void 0x0:_0x145273[_0x3496b3(0x509)])!=null?_0x4672cd:location[_0x3496b3(0x525)];}[_0x5bb7a4(0x578)](_0x42129e,_0x337105){const _0x194a76=_0x5bb7a4;return _0x42129e['replace'](_0x194a76(0x44f),_0x337105);}[_0x5bb7a4(0x487)](){const _0x4b6188=_0x5bb7a4;this[_0x4b6188(0x3ac)]-=0x1,this[_0x4b6188(0x2bb)][_0x4b6188(0x3ff)](this[_0x4b6188(0x3ac)]);}};hs=lc([Xt(0x0,_0x22a3e1(_0x41156a)),Xt(0x1,_0x2bb536),Xt(0x2,_0x22a3e1(_0x2e0534))],hs);var pc=Object['defineProperty'],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x386d11,_0xd35466,_0x241309,_0x1b15b3)=>{for(var _0x30c828=_0x1b15b3>0x1?void 0x0:_0x1b15b3?gc(_0xd35466,_0x241309):_0xd35466,_0x6eb0c9=_0x386d11['length']-0x1,_0x9043a6;_0x6eb0c9>=0x0;_0x6eb0c9--)(_0x9043a6=_0x386d11[_0x6eb0c9])&&(_0x30c828=(_0x1b15b3?_0x9043a6(_0xd35466,_0x241309,_0x30c828):_0x9043a6(_0x30c828))||_0x30c828);return _0x1b15b3&&_0x30c828&&pc(_0xd35466,_0x241309,_0x30c828),_0x30c828;},Qe=(_0x5f00ae,_0xf1392f)=>(_0x7947b3,_0x379677)=>_0xf1392f(_0x7947b3,_0x379677,_0x5f00ae);let Tt=class extends _0x177a9e{constructor(_0x5f16f0,_0x3a1f03,_0x76bdf1,_0x472bda,_0x5e8d6c){const _0xdda2d8=_0x5bb7a4;super(),this[_0xdda2d8(0x338)]=_0x5f16f0,this['_univerInstanceService']=_0x3a1f03,this['_permissionService']=_0x76bdf1,this[_0xdda2d8(0x29b)]=_0x472bda,this[_0xdda2d8(0x4ab)]=_0x5e8d6c,this[_0xdda2d8(0x2d0)](),this[_0xdda2d8(0x513)]();}[_0x5bb7a4(0x513)](){const _0x1e1e6a=_0x5bb7a4,_0x24f0fc=async _0x1e8fda=>{const _0x4c2a8a=_0x4081;(await this['_collaborationSessionService'][_0x4c2a8a(0x2c7)](_0x1e8fda))[_0x4c2a8a(0x3e4)][_0x4c2a8a(0x3f1)](_0x5a0a20(_0x54f8e0=>_0x54f8e0[_0x4c2a8a(0x479)]===_0x45d469[_0x4c2a8a(0x413)]),_0x216286(this[_0x4c2a8a(0x492)]))['subscribe'](_0x208c67=>{const _0x3d9651=_0x4c2a8a,_0x4ce0fb=_0x208c67,{reason:_0x27c71f}=_0x4ce0fb['data'];this['_injector'][_0x3d9651(0x4f7)](_0x38087f)[_0x3d9651(0x18e)]({'type':_0x3417d7[_0x3d9651(0x3cb)],'content':this[_0x3d9651(0x4ab)]['t'](_0x3d9651(0x3f8))+'('+_0x27c71f+')'}),this[_0x3d9651(0x167)][_0x3d9651(0x3fc)](new _0x272dbd(_0x1e8fda)['id'],!0x1),this[_0x3d9651(0x29b)][_0x3d9651(0x165)](_0x1e8fda);});};_0x4e4735(this[_0x1e1e6a(0x21d)][_0x1e1e6a(0x4aa)](_0x10a997['UNIVER_SHEET']),this[_0x1e1e6a(0x21d)][_0x1e1e6a(0x4aa)](_0x10a997[_0x1e1e6a(0x172)]))[_0x1e1e6a(0x3f1)](_0x17141f(_0x1feb9f=>_0x1feb9f['getUnitId']()),_0x5a0a20(_0x40404f=>!_0x503b7a(_0x40404f)),_0x216286(this[_0x1e1e6a(0x492)]))[_0x1e1e6a(0x519)](_0x4e4962=>{_0x24f0fc(_0x4e4962);});}[_0x5bb7a4(0x2d0)](){const _0x294c57=_0x5bb7a4,_0x704bc8=async _0xa01953=>{const _0x58e53e=_0x4081;(await this[_0x58e53e(0x29b)][_0x58e53e(0x2c7)](_0xa01953))['event$'][_0x58e53e(0x3f1)](_0x5a0a20(_0x1626c7=>_0x1626c7[_0x58e53e(0x479)]===_0x45d469['UPDATE_PERMISSION_OBJ']),_0x216286(this[_0x58e53e(0x492)]))['subscribe'](_0x1eafa5=>{const _0x546d1b=_0x58e53e,_0x8f561b=_0x1eafa5,{objectId:_0x2d5de4}=_0x8f561b[_0x546d1b(0x2d5)],_0x2053c2=this[_0x546d1b(0x338)][_0x546d1b(0x4f7)](_0x496cb9);_0x2d5de4===_0xa01953?_0x2053c2[_0x546d1b(0x2df)](_0xa01953):_0x2053c2[_0x546d1b(0x324)](_0xa01953,_0x2d5de4);});};_0x4e4735(this[_0x294c57(0x21d)][_0x294c57(0x4aa)](_0x10a997['UNIVER_SHEET']),this[_0x294c57(0x21d)][_0x294c57(0x4aa)](_0x10a997[_0x294c57(0x172)]))[_0x294c57(0x3f1)](_0x17141f(_0x3fe619=>_0x3fe619[_0x294c57(0x322)]()),_0x5a0a20(_0x599710=>!_0x503b7a(_0x599710)),_0x216286(this[_0x294c57(0x492)]))['subscribe'](_0x548f91=>{_0x704bc8(_0x548f91);});}};Tt=Sc([Qe(0x0,_0x22a3e1(_0x4c5160)),Qe(0x1,_0x2e0534),Qe(0x2,_0x59e41b),Qe(0x3,_0x22a3e1(Ae)),Qe(0x4,_0x22a3e1(_0x1fdc1b))],Tt);var Ic=Object['defineProperty'],Cc=Object[_0x5bb7a4(0x4e4)],Ec=(_0x4184dc,_0x177743,_0x1087e6,_0x4218e9)=>{const _0x2a0b17=_0x5bb7a4;for(var _0x4d9cf8=_0x4218e9>0x1?void 0x0:_0x4218e9?Cc(_0x177743,_0x1087e6):_0x177743,_0x4abbfa=_0x4184dc[_0x2a0b17(0x282)]-0x1,_0x33b4ef;_0x4abbfa>=0x0;_0x4abbfa--)(_0x33b4ef=_0x4184dc[_0x4abbfa])&&(_0x4d9cf8=(_0x4218e9?_0x33b4ef(_0x177743,_0x1087e6,_0x4d9cf8):_0x33b4ef(_0x4d9cf8))||_0x4d9cf8);return _0x4218e9&&_0x4d9cf8&&Ic(_0x177743,_0x1087e6,_0x4d9cf8),_0x4d9cf8;},ni=(_0x433cb9,_0x162526)=>(_0xbd3340,_0x3a6994)=>_0x162526(_0xbd3340,_0x3a6994,_0x433cb9);let ls=class{constructor(_0x2ca354,_0x3eee8f){const _0x130a7f=_0x5bb7a4;this[_0x130a7f(0x23e)]=_0x2ca354,this[_0x130a7f(0x1be)]=_0x3eee8f;}async[_0x5bb7a4(0x481)](_0x1ad7c6,_0x41f102){const _0x180cc6=_0x5bb7a4;var _0x176004;const {unitID:_0xe46b31,type:_0x567bc2,revision:_0x5cd4c0=0x0}=_0x41f102,_0x39452d=this['_getSnapshotAPIPrefix']()+'/'+_0x567bc2+'/unit/'+_0xe46b31+_0x180cc6(0x1f8)+_0x5cd4c0,_0x13d9c2=(await this[_0x180cc6(0x1be)][_0x180cc6(0x4f7)](_0x39452d))['body'],_0xdf2817=(_0x176004=_0x13d9c2[_0x180cc6(0x49c)])==null?void 0x0:_0x176004[_0x180cc6(0x2cb)];if(_0xdf2817){const _0x514ca5=_0xdf2817==null?void 0x0:_0xdf2817[_0x180cc6(0x405)],_0x130e09=_0x1a843b['encode'](_0x286b30(_0x514ca5));_0xdf2817[_0x180cc6(0x405)]=_0x130e09,Object[_0x180cc6(0x420)](_0xdf2817['sheets'])[_0x180cc6(0x312)](([,_0x340201])=>{const _0x3c8831=_0x180cc6,_0x865ecd=_0x340201[_0x3c8831(0x405)],_0x215f3b=_0x1a843b[_0x3c8831(0x226)](_0x286b30(_0x865ecd));_0x340201[_0x3c8831(0x405)]=_0x215f3b;});}return _0x13d9c2;}async[_0x5bb7a4(0x50a)](_0x53dd63,_0x25793d){const _0x1d866f=_0x5bb7a4,{unitID:_0x283a74,type:_0x4de57f,blockID:_0x4f5538}=_0x25793d,_0x23d2a8=this['_getAPIPrefix']()+'/'+_0x4de57f+_0x1d866f(0x19a)+_0x283a74+_0x1d866f(0x237)+_0x4f5538;return(await this[_0x1d866f(0x1be)][_0x1d866f(0x4f7)](_0x23d2a8))[_0x1d866f(0x1ab)];}async[_0x5bb7a4(0x382)](_0x140bd5,_0x42b9aa){const _0x15eb72=_0x5bb7a4,{unitID:_0x16dce6,type:_0xf22e84,blockID:_0x26afcd}=_0x42b9aa,_0x393c82=this[_0x15eb72(0x48e)]()+_0x15eb72(0x237)+_0xf22e84+_0x15eb72(0x19a)+_0x16dce6+_0x15eb72(0x237)+_0x26afcd;return(await this['_httpService'][_0x15eb72(0x4f7)](_0x393c82))[_0x15eb72(0x1ab)];}async[_0x5bb7a4(0x2b8)](_0x48880e,_0x1d3008){const _0x5b37e3=_0x5bb7a4,{unitID:_0x3db179,type:_0x1aaeb3,from:_0x3690af,to:_0x20603a}=_0x1d3008,_0x4e82aa=this[_0x5b37e3(0x48e)]()+'/'+_0x1aaeb3+_0x5b37e3(0x19a)+_0x3db179+_0x5b37e3(0x24c)+_0x3690af+'&to='+_0x20603a;return(await this[_0x5b37e3(0x1be)]['get'](_0x4e82aa))[_0x5b37e3(0x1ab)];}[_0x5bb7a4(0x3b0)](){const _0x22086d=_0x5bb7a4;var _0x1ed1d7;return(_0x1ed1d7=this[_0x22086d(0x23e)]['getConfig'](lr))!=null?_0x1ed1d7:this[_0x22086d(0x48e)]();}[_0x5bb7a4(0x48e)](){const _0x32e109=_0x5bb7a4;var _0x954e6,_0x3b8095;const _0x58f87d=this[_0x32e109(0x23e)]['getConfig'](cr),_0x338a3f=this['_configService'][_0x32e109(0x447)](ie);return(_0x3b8095=(_0x954e6=_0x338a3f==null?void 0x0:_0x338a3f[_0x32e109(0x174)])!=null?_0x954e6:_0x58f87d)!=null?_0x3b8095:hr;}async[_0x5bb7a4(0x536)](_0x3268b8,_0x2eeb63){const _0x1ec566=_0x5bb7a4,_0x44af61=_0x1ec566(0x268)+_0x2eeb63['type']+_0x1ec566(0x19a)+_0x2eeb63[_0x1ec566(0x4c4)]+_0x1ec566(0x19c);return(await this[_0x1ec566(0x1be)]['get'](_0x44af61,{'params':{'resourceId':JSON[_0x1ec566(0x303)](_0x2eeb63[_0x1ec566(0x52d)])}}))[_0x1ec566(0x1ab)];}['saveSnapshot'](){const _0x37cd7f=_0x5bb7a4;throw new Error(_0x37cd7f(0x23f));}[_0x5bb7a4(0x3e5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bb7a4(0x1b9)](){const _0x4ee8d3=_0x5bb7a4;throw new Error(_0x4ee8d3(0x23f));}[_0x5bb7a4(0x48b)](){const _0x558fa4=_0x5bb7a4;throw new Error(_0x558fa4(0x23f));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=Ec([ni(0x0,_0x2bb536),ni(0x1,_0x22a3e1(_0x41156a))],ls);function _0x27da(){const _0x164b1c=['_changesetReqId','conflict','__creator','_exhaustRemoteChangesetQueue','LIVESHARE_FETCH_OPERATIONS','/universer-api/oidc/authpage','getValue','confirm','[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.','hasOwnProperty','set','Cipher','min','IDLE','RemoveColCommandId','_sessions','getConfig','objects','arc','_cursorShapes','makeDirty','getUniverSheetInstance','algo','HMAC','{fileID}','SUCCUSS','LOCAL_CACHE_INTERVAL','_id','random','image/bmp','interceptor','permission.content','session','default','1117897seqvgL','send','addObject','_initResize','selections','LICENSE_IMPORT_SIZE_EXCEEDED','hasher','decryptBlock','onCommentUpdate','docStateChange$','lineTo','replace','transformRemoteChangeset','cursorInfo','1em','COMPLETION_FINISHED','csRejEvent','APPLY_REJECT','onMissingChangesets','_handleHover','_localCacheService','session.connection-failed','_getMergeRange','collabStatus.notCollab','_collaborationController','transformChangesets','_textBubble','_startDocCollabCursor','getActiveSheet','InsertRangeMoveDownCommandId','symbol','off-line-single','eventID','[PendingState]:\x20received\x20acknowledgement.','visibilityState','with','\x20-\x20','_uiPartsService','mutations','_collabCursorState$','getUnitOnRev','collaboration-session-retry','3202997vyPSdz','defs','equals','getRangePointData','_decreaseWaiting','_refreshCollabCursors','USERS_LEAVE','[CollaborationUndoRedoService]','copyFileMeta','_fetchMissChangesets','engine','_getAPIPrefix','UnitEmbedded','mode','_docSyncEditingCollabCursorService','dispose$','displayName','getMemberID','post','_snapshotService','_onCombEvent','onCommandExecuted','propertyIsEnumerable','onRemoteRetry','liveShareOperation','snapshot','c2Prime','_clearUndo','_memberService','onStateChange','c1Prime','_getSignURL','object','_collaborationPaused','onTransformIME','registerHTTPInterceptor','CHANGESET_ACK','session.will-retry','PasswordBasedCipher','getTypeOfUnitAdded$','_localeService','COMPRESS_MUTATION_APPLY','_getUndoStack','_updateStatus','xlink:href','synced','undoState','updateMember','UNIVER_SLIDE','_drawAnchor','isEditing','_onOffline','joinEvent','function','_scheduleClearOtherTimer','/allowed','gold400','_undoRedoService','code','syncEditingCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','StreamCipher','getImageSourceCache','onlineStatusIcon','_startSheetCollabCursor','unitID','/universer-api/snapshot','_anchor','UNIVER_PROJECT','substring','/-/object/list','batchAllowed','VIEW_MAIN','padding','leaveEvent','attrs','onMissedChangesetFetched','_scene','generateRandomId','dispose','charCodeAt','moveTo','cmd','m2Prime','_drawRectRange','fetch_missing','_lastPointer','_notificationService','_refRangeService','APPLY_REVISION_CONFILICT','keySize','_docStateChangeManagerService','NEW_CHANGESETS','CBC','children','_setupBeforeClosingHandler','_color','getOwnPropertyDescriptor','0\x200\x2016\x2016','removeMember','_changesetSessionId','PENDING','colorChannel1','evenodd','rev','UNIVER_UNKNOWN','offline','_docSkeletonManagerService','_createHandler','transformMutation','collaboratorID','jiqing500','_initStatusListener','_updateLocalCache','_parse','$super','get','_transitionLocked','[OfflineState]:\x20received\x20acknowledgement.','fetchThroughInterceptors','PERMISSION_REJ','setCurrentUser','collab-rect-range-','Unknown\x20user','byteLength','on-line-single_clip0_910_349','[CollaborationEntity]','HttpExport','RECT','charAt','_snapshotServerService','_onRemoteChangeset','LICENSE_MAX_UNITS_EXCEEDED','UPDATE_PERMISSION_OBJ','downloadEndpointUrl','getSheetBlock','href','changesets','_transformSelections','SYNCED','processBlock','image/png','readInt32LE','_shouldReportTelemetry','_initCloseConn','_getAnchorBounding','_init','BlockCipher','_colorAssignService','_onJoinRoomEvent','subscribe','current','LICENSE_DISTRO_REJECTED','_startTelemetryCollaborationNewChangeset','_ensureSubject','infoRsp','_anchorDot','_initDependencies','location','enc','_reverseMap','sin','origin','FAIL','_name','[CollaborationSessionService]:\x20socket\x20error','_ENC_XFORM_MODE','_updateCollabCursors','objectID','Error\x20on\x20receiving\x20event','resourceIDs','Encryptor','cursorInfo$','_eventUnsubscribe','HmacSHA1','_syncEditingCollabCursorService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_toggleOffline','getSkeleton','getResourcesRequest','clearInterval','_urlService','HEADER_MENU','_hash','setParam','collab-text-anchor-','DeleteRangeMoveLeftCommandId','row','_commandService','NoPadding','_executeRemoteChangeset','JOIN','InsertRowCommandId','_iv','_updateURLWithCurrentState','_getAPIPrefixPath','_checkMissing','8wKAvKt','YUUMI_RATE_OVER_LIMIT','_commentService','UnitSnapshot','_revisionService','_resendTimeout','_doProcessBlock','create','exhaustSavingTask','clamp','SEND_CHANGESET_TIMEOUT','_candidateSocket','TOO_MANY_REQUESTS','_doFinalize','_userManagerService','doc.mutation.rich-text-editing','onStarting','onSyncEditingCollabCursor','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNIVER_SHEET','RETRY_CONNECTING_MAX_COUNT','unitId','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','fetchMiss','_ws','_removeRoom','defIds','APPLY_NON_SEQUENTIAL_REVISION','onPointerMove$','_acknowledgedAwaitingChangeset','_startCollaboration','apply','pauseCollaboration','sendChangesetTimeout','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','collabWebSocketUrl','_colorIndex','ranges','univer-online-status','add','revision','setWaitCount','YUUMI_URL_COL_OUT_OF_RANGE','restore','_collabSessionService','_scheduleSaving','crypto','_replaceFileID','_config','/universer-api/authz','buffer','parse','_event$','pad','onReady','_mode','resend','_http','getCurrentUnitForType','[PendingState]:\x20received\x20rejection.','toLowerCase','collaboration_new_changeset','closeSession','UniverIcon','_permissionService','\x0aCurrent:\x20','_prevBlock','saveOfflineData','/universer-api/file/{fileID}/sign-url','_transformIMECache','_iKey','_undoStacks','_process','_onCursorUpdate','getCurrentSelections','UNIVER_DOC','max','snapshotServerUrl','executeCommand','blue400','getRenderById','BlockCipherMode','&source=','[PendingState]:\x20unhandled\x20univer\x20type:\x20','error','collaboration-client.offline-data-not-saved','commentUpdate$','sessionStatus$','getUnitType','_redoStacks','cfg','newValue','HELLO','_initMergeInterceptor','collabStatus.syncing','hostname','extend','encryptBlock','x-univer-host','socketService','roomMembers','_telemetryService','_getUploadFileURL','show','univer-online-status-icon','35YGkQbB','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getSheetId','msCrypto','_instanceService','SNAPSHOT_SERVER_URL_KEY','concat','HttpImport','getCollabCursors$','findNodePositionByCharIndex','/unit/','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/resources','split','_socketService','searchParams','_sheetTransformSelectionsService','assign','\x20in\x20_schedule.','kdf','_transformUndoRedoStack','transformSelections','asObservable','getOffsetConfig','subunit','_waitForHeartbeatResponse','bottom','body','_replayCachedMutations','socket$','on-line-single','_listenToOnlineEvent','result','_telemetryInfo','idSuffix','WordArray','_handleLeaveEvent','SUBMIT_CHANGESET','override','_substituteUndoStack','BufferedBlockAlgorithm','saveChangeset','status$','requestParams','_minBufferSize','onTransformRemoteChangesetByIMECache','_httpService','redoState','getAncestorScale','OTHER_CLIENTS_EDITING','black','getDocRanges','_doReset','_transformService','7725xXbYgZ','_send','addObjects','subUnitId','Could\x20not\x20dynamically\x20require\x20\x22','_initStatusComponent','_cursors','session.room-full','unit-cache-','failed\x20to\x20apply\x20missed\x20changesets!','iterations','univer-online-status-title','deepClone','_sendHeartbeatTimer','_createHmacHelper','updateCollaborator','init','Fragment','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_transformPreviousActiveRange','OnLineSingle','308536Irzfao','COLLAB_WEB_SOCKET_URL','getFocusedUnit','fillText','_roomMembers','_imageSourceCache','unsubscribe','_tryEnsureSocket','userID','M0\x200H16V16H0z','DeleteRangeMoveUpCommandId','none','find','collab-client.tooltip.reconnect','_sheetSkeletonManagerService','width','_getCurrentRevision','_isPermissionRej','Pkcs7','NO_OTHER_CLIENTS_EDITING','_onConnectionFailed','SNAPSHOT_HAS_BEEN_REMOVED','visibilitychange','registerOnClose','_loadDoc','execute','_applyRemoteChangeset','call','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','/rev/','collaboration-client.config','words','change$','Base64','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','9tLtwhW','status','INGEST','COMPRESS_MUTATION_SEND','drawWith','color','UNKNOWN_CMD','/collaborator','__esModule','232RuIhjN','_roomMembers$','&assign=','_initEventListeners','FromArray','getViewport','_rescheduleHeartbeat','141041LBqNaQ','_sessionStatus$','headers','TEXT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','JOINING','onRendered','setInterval','_lockTransition','url','_createSocket','APPLY_PERMISSION_DENIED','collaMsg','_render','includes','_univerInstanceService','Decryptor','updateOfflineData','catch','onlineStatus','getUndoRedoMutationParamsCache','\x20to\x20','fromCharCode','UNDEFINED','encode','_state$','_drawTextRange','_clearRedo','_transformRemoteChangesetByStateCache','some','startTime','url(#off-line-single_clip0_910_343)','ACTIVE_UNIT_EVENT_CHANNEL','capture','InsertColCommandId','all','_transformRemoteChangesetByIMECache','MUTATION','_clearLocalCache','top','exports','/block/','HEARTBEAT','_timeoutTimer','OFFLINE','getUnitStatus$','debug','floor','_configService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_substituteRedoStack','_xformMode','_transformStateCache','unit','backgroundColor','_oKey','/role','ceil','connection\x20error','startColumn','selection','_retryCount','/fetchmissing?from=','_key','_scheduleCollaborationTimeoutTimer','roles','#FFF','collaborators','unitId\x20is\x20not\x20found','?size=','...','COLLAB_SUBMIT_CHANGESET_URL','AWAITING_WITH_PENDING','_selfUnitIDs','join','CHANGESET_SHOULD_RETRY','awaitingChangeset','stopTime','_getScale','getMember','_resendTimer','onTransformRemoteChangesetByStateCache','appendMutation','univer-offline','_renderManagerService','_updateState','onload','_context','tag','_registerDependencies','/universer-api/snapshot/','_transformStack','onPointerEnter$','0\x200\x2017\x2016','getAllMembers','online','_logService','encrypt','_onRefRangeChange','_setupSubUnitSync','_onCursorDelete','setTimeout','focused$','key','_removeClearOtherTimer','error$','_labelPosition','_retryConnectingTimer','close','decrypt','format','_socket$','type','_localStorageService','_tryReconnect','_status$','length','_incrementRevisionNumber','addImageSourceCache','HmacMD5','duration','CONFLICT','reject','APPLY_DUPLICATED','localeService','pending','collabStatus.synced','isPermissionRej','div','jsxs','endColumn','_queuedRemoteChangesets','_sender','salt','_createInitialState','objectActions','_clearHeartbeatTimer','RECV','CONNECTOR_DATA_TOO_LARGE','_cursorInfo$','getSheetBySheetId','_collaborationSessionService','_handler','_getRedoStack','liveShareNewHost','/object/','textRanges','_onRecvEvent','_messageService','memberID','#fff','USERS_ENTER','responseType','LEAVE','hidden','_data','saveImage','addEventListener','Hex','Warning','routeKey','getUnhiddenWorksheets','_themeService','for','baseRev','contains','ERROR_EXCEED_SIZE','replaceDocRanges','setActiveRange','_nRounds','fetchMissingChangesets','_cursor','_unitID','_change$','ciphertext','byteOffset','_getSendChangesetTimeout','POST','blockSize','?url=','getTime','/universer-api/stream/file/upload','AES','getCollabEntity','[FetchMissState]','requireSession','PSEUDO_FETCH_MISSING_RESULT','map','awaiting_with_pending','workbook','members','UPDATE_CURSOR','UNAUTHENTICATED','assignAColorForMemberID','_initUnitPermissionChange','6098330bROpSk','_onConflict','415182dGHSDP','_range','data','values','reset','\x0aAfter:\x20','_hovered','range','withCredentials','randomBytes','getRoom','rgba(255,\x20255,\x20255,\x200.01)','initWorkbookPermissionChange','_sendHeartbeat','rng','finalize','_online','_updateSubUnitFromURLParams','toString','has','currentColor','onSendChangeset','Undefined','_backgroundColor','onRemoteRej','_removeCollabCursors','LIVESHARE_REQUEST_HOST','_assignedColors','_getSaveTimeout','_onMessage','lib','_saveTaskMap','AWAITING','isArray','_syncEditingCollabCursor','_unitOnClients','submit\x20changeset\x20error!','_hideTimer','_scheduleHeartbeat','state','number','jsx','[OfflineState]:\x20received\x20rejection.','_getCtorByUniverType','_updateLocalCursor','image/jpeg','_collaborationTimeoutTimer','transformStateCache','stringify','_getDownloadEndpointURL','AUTHZ_URL_KEY','retryConnectingInterval','splice','registerRefRange','_pendingMutations','_resendWithTimeout','toggleOffline','createInstance','editingUnit','onRemoteAck','Univer','compose','InsertRangeMoveRightCommandId','forEach','complete','permission.title','replaceState','image/gif','react.fragment','_disabled','enableAuthServer','getStateCache','awaiting','fill','getRelativeToViewportCoord','UNRECOGNIZED','LIVESHARE_NEW_HOST','objectType','onlineStatusTitle','getUnitId','_socket','refreshPermission','getParam','sheetID','path','reconnect','unknown','onMouseMove','unshift','setStateCache','collabStatus.offline','_stopTelemetryCollaborationNewChangeset','roomMembers$','getInterceptPoints','Utf8','Hasher','OffLineSingle','_collabCursorController','randomUUID','beginPath','HEARTBEAT_TIMEOUT','_injector','close$','_onUserJoin','NOT_FOUND','onPointerLeave$','_socketReady','save','onlyLocal','_handleJoinEvent','getActiveRange','getRandomValues','createSocket','_clearTimeoutTimer','YUUMI_UNABLE_LOAD_URL','defaultProps','collabSubmitChangesetUrl','from','listRoles','createEncryptor','EvpKDF','_submitChangeset','COMMENT_UPDATE','conflict.content','_doCryptBlock','setAlpha','_createInitialStateImpl','FileId','text','_initCommandExecutedListener','_clearOtherTimers','currentTheme$','setShapeProps','[CollaborationSessionService]','enableSingleActiveInstanceLock','size','CHANGESET_REJ','translate(.97)','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','message$','_docTransformIMECacheService','ws://127.0.0.1:8000/universer-api/comb/connect','_append','_hover','_awaitingChangeset','INVALID_ARGUMENT','authzUrl','_heartbeatTimer','disposeWithMe','_invKeySchedule','_cachedData','_docTransformSelectionsService','MD5','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','EXCHANGE_SIGN_URL_SERVER_URL_KEY','commentUpdateEvent','_getSheetObject','every','LOGIN_URL_KEY','univer-pro.collaboration-client-socket-service','_onRemoteRetry','className','registerRenderModule','telemetry\x20info\x20is\x20not\x20initialized','_cipher','_commentUpdate$','_entities','_transformHistoryAndStateStack','icon','actions','_onFetchMissResult','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_keyPriorReset','_shapes','getDeserializedSheetBlock','_handleHeartbeatEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','fillRule','setConfig','toggleOnline','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','_showConflictNotification','measureText','method','LIVESHARE_OPERATION','_onUserLeave','onRemoteChangeset','height','_map','append','[DataLoaderController]','conflict.title','enableOfflineEditing','clear','column','sessionStatus','shouldCloseConn','abs','getTypeOfUnitDisposed$','_scheduleTimestamp','/-/object/-/batch_allowed','BASE64','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','repeat','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','SerializableCipher','_saveCache','getWorkbookSelections','mixIn','storage','_type','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','ref','SNAPSHOT_INVALID_SNAPSHOT','OpenSSL','ALREADY_EXISTS','_waitCount','sigBytes','CHANGESET_REVISION_CONFILICT','_disableEditing','_getSnapshotAPIPrefix','[SyncedState]:\x20received\x20rejection.','subscribeEvent','_joinRoom','_entityInit$','src','SHA1','hovered','_nDataBytes','getCurrentUser','permissionRejEvent','_handleEvent','setShowComponents','socket\x20open.','transformStack\x20failed!','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','red300','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearScheduledTask','SNAPSHOT_URL_KEY','Latin1','url(#on-line-single_clip0_910_349)','ERROR_IMAGE','_draw','readAsDataURL','update','enableLocalCache','Error','history','toRgbString','FETCH_MISSING','getCellPositionByOffset','Malformed\x20UTF-8\x20data','_keySchedule','now','_docTransformStateCacheService','pushState','csShouldRetryEvent','isActive','onTransformChange$','delete','params','ivSize','font','_members','sid','clipPath','getVpScrollXYInfoByPosToVp','_onConnectionOpen','ONLINE','slice','collabCursorState$','event$','saveSheetBlock','onTransformState','_sendingTimer','session.collaboration-timeout','_onRemoteRejected','fetching\x20missing\x20changesets\x20from\x20','open$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','triggerDblclick','_createHelper','bind','_throwTelemetryCollaborationNewChangeset','pipe','closePath','put','purple300','getCurrentRevOfUnit','reqId','image/jpg','collaboration.closeRoom','joinRsp','_state','compute','updatePermissionPoint','_onLocalMutation','round','next','getItem','flatMap','_unlockTransition','PERMISSION_DENIED','getOwnPropertySymbols','originalMeta','getUnit','MSG_FOR_ERROR','name','disableLocalCache','m1Prime','FETCH_MISS','string','_registerRenderDependencies','then','state$','NOT_COLLAB','setItem','60xAUrRe','SHOULD_CLOSE_CONN','_beforeCloseService','_HTTPService','collaboration.single-unit.warning','_socketMessageSubscription','startsWith','patch','_singleActiveUnitService','url(#$1','collabStatus.fetchMiss','LIVESHARE_TERMINATE','react.element','indexOf','entries','_compressMutationService','_schedule','prototype','[CollaborationSession]','socket\x20close','loadOfflineData','_unitStatus','transformMutationsWithChangeset','Base','_clearCollaborationTimeoutTimer','defineProperty','_initRequestHeader','_session','_remoteChangesetQueue','getCollabEntity$','createDecryptor','clone','onTransformSelections','push','fillStyle','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','currentSkeleton$'];_0x27da=function(){return _0x164b1c;};return _0x27da();}var bc=Object['defineProperty'],Tc=Object[_0x5bb7a4(0x4e4)],Rc=(_0x35f703,_0x498c92,_0x5d4a1e,_0x1fc3e8)=>{const _0x294557=_0x5bb7a4;for(var _0x5ce33a=_0x1fc3e8>0x1?void 0x0:_0x1fc3e8?Tc(_0x498c92,_0x5d4a1e):_0x498c92,_0x1fdff8=_0x35f703[_0x294557(0x282)]-0x1,_0x212648;_0x1fdff8>=0x0;_0x1fdff8--)(_0x212648=_0x35f703[_0x1fdff8])&&(_0x5ce33a=(_0x1fc3e8?_0x212648(_0x498c92,_0x5d4a1e,_0x5ce33a):_0x212648(_0x5ce33a))||_0x5ce33a);return _0x1fc3e8&&_0x5ce33a&&bc(_0x498c92,_0x5d4a1e,_0x5ce33a),_0x5ce33a;},et=(_0x4eeb34,_0x34c0ae)=>(_0x24bda2,_0xc320a2)=>_0x34c0ae(_0x24bda2,_0xc320a2,_0x4eeb34);let _s=class extends _0x26edca{constructor(_0x3d144d,_0x2b453b,_0x40e0a4,_0x121d72,_0x1ef676){const _0x4e9a4a=_0x5bb7a4;super(_0x3d144d,_0x2b453b,_0x40e0a4),this[_0x4e9a4a(0x1c5)]=_0x121d72,this[_0x4e9a4a(0x26e)]=_0x1ef676;}['transformUndoRedo'](_0x4679e5,_0x3d43f4){const _0x2fe294=_0x5bb7a4,_0x56ed23=this[_0x2fe294(0x4ad)](_0x4679e5);if(_0x56ed23)try{const _0x475a4a=this[_0x2fe294(0x269)](_0x56ed23,_0x3d43f4);this[_0x2fe294(0x1b7)](_0x4679e5,_0x475a4a);}catch(_0x4bc14d){this[_0x2fe294(0x26e)][_0x2fe294(0x17b)]('[CollaborationUndoRedoService]',_0x4bc14d),this['_clearUndo'](_0x4679e5);}const _0x26e55d=this[_0x2fe294(0x29d)](_0x4679e5);if(_0x26e55d)try{const _0x311bb4=this[_0x2fe294(0x269)](_0x26e55d,_0x3d43f4);this[_0x2fe294(0x240)](_0x4679e5,_0x311bb4);}catch(_0x3d0dfa){this[_0x2fe294(0x26e)]['error'](_0x3d0dfa),this[_0x2fe294(0x229)](_0x4679e5);}}[_0x5bb7a4(0x49e)](_0x379088){const _0x455075=_0x5bb7a4,_0x28bcac=this[_0x455075(0x4ad)](_0x379088);_0x28bcac&&(_0x28bcac['length']=0x0,this[_0x455075(0x4ae)]());}['_clearRedo'](_0x14b302){const _0x4e3ba7=_0x5bb7a4,_0x4e0102=this[_0x4e3ba7(0x29d)](_0x14b302);_0x4e0102&&(_0x4e0102[_0x4e3ba7(0x282)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x241f06,_0x2f0053){const _0x2abb5f=_0x5bb7a4;this[_0x2abb5f(0x16e)]['set'](_0x241f06,_0x2f0053),this[_0x2abb5f(0x4ae)]();}[_0x5bb7a4(0x240)](_0x3fd12f,_0x3e98ac){const _0x29af58=_0x5bb7a4;this[_0x29af58(0x180)][_0x29af58(0x441)](_0x3fd12f,_0x3e98ac),this[_0x29af58(0x4ae)]();}[_0x5bb7a4(0x269)](_0x2b71a5,_0x47dace){const _0x246f55=_0x5bb7a4,_0x1f6947=[];let _0x158986=_0x47dace,_0x3390ff=_0x47dace;for(let _0x1cf358=_0x2b71a5[_0x246f55(0x282)]-0x1;_0x1cf358>=0x0;_0x1cf358--){const {unitID:_0x51bdb3,undoMutations:_0x1fa29e,redoMutations:_0x1dd9d5}=_0x2b71a5[_0x1cf358],_0x1b6953=this['_transformService'][_0x246f55(0x428)](_0x158986,_0x1fa29e),_0x4b357c=this[_0x246f55(0x1c5)][_0x246f55(0x428)](_0x3390ff,_0x1dd9d5);if(_0x2a2494(_0x1b6953)||_0x2a2494(_0x4b357c)){this[_0x246f55(0x26e)][_0x246f55(0x17b)](_0x246f55(0x48a),_0x246f55(0x3be),_0x1b6953,_0x4b357c);break;}_0x158986=_0x1b6953['c1Prime'],_0x3390ff=_0x4b357c[_0x246f55(0x4a1)],_0x1f6947[_0x246f55(0x433)]({'unitID':_0x51bdb3,'undoMutations':_0x1b6953[_0x246f55(0x4d6)],'redoMutations':_0x4b357c[_0x246f55(0x4d6)]});}return _0x1f6947['reverse']();}};_s=Rc([et(0x0,_0x2e0534),et(0x1,_0x1e58f0),et(0x2,_0x6af9eb),et(0x3,_0x2db4c4),et(0x4,_0x3efec9)],_s);class yc extends _0x177a9e{constructor(){const _0x4176fd=_0x5bb7a4;super(),g(this,'urlChange$'),this['urlChange$']=_0x565a18(window,'popstate')[_0x4176fd(0x3f1)](_0x52fa59(this[_0x4176fd(0x492)]),_0x3f1879(0x1),_0x287b5c(void 0x0));}['setParam'](_0x59f095,_0x3a4473,_0x54170f=!0x1){const _0x115f06=_0x5bb7a4,_0x2890e1=new URL(window[_0x115f06(0x521)][_0x115f06(0x50b)]);_0x2890e1[_0x115f06(0x19f)]['set'](_0x59f095,_0x3a4473),_0x54170f?window[_0x115f06(0x3cc)][_0x115f06(0x315)]('','',_0x2890e1[_0x115f06(0x2e5)]()):window[_0x115f06(0x3cc)][_0x115f06(0x3d4)]('','',_0x2890e1[_0x115f06(0x2e5)]());}['removeParam'](_0x54dbb0,_0x2154d4=!0x1){const _0x10cbf8=_0x5bb7a4,_0x11bfda=new URL(window[_0x10cbf8(0x521)][_0x10cbf8(0x50b)]);_0x11bfda[_0x10cbf8(0x19f)][_0x10cbf8(0x3d8)](_0x54dbb0),_0x2154d4?window[_0x10cbf8(0x3cc)][_0x10cbf8(0x315)]('','',_0x11bfda['toString']()):window[_0x10cbf8(0x3cc)][_0x10cbf8(0x3d4)]('','',_0x11bfda[_0x10cbf8(0x2e5)]());}['getParam'](_0x3aba6c){const _0x5dd888=_0x5bb7a4;var _0x285717;return(_0x285717=new URL(window['location'][_0x5dd888(0x50b)])[_0x5dd888(0x19f)][_0x5dd888(0x4f7)](_0x3aba6c))!=null?_0x285717:void 0x0;}}var zi=Object[_0x5bb7a4(0x42b)],Oc=Object[_0x5bb7a4(0x4e4)],wc=(_0x4bdc06,_0x21979c,_0x4cb3a5)=>_0x21979c in _0x4bdc06?zi(_0x4bdc06,_0x21979c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cb3a5}):_0x4bdc06[_0x21979c]=_0x4cb3a5,Dc=(_0x258765,_0x3cb8f0,_0x5c61ef,_0x7df504)=>{const _0x144bd7=_0x5bb7a4;for(var _0x5889bd=_0x7df504>0x1?void 0x0:_0x7df504?Oc(_0x3cb8f0,_0x5c61ef):_0x3cb8f0,_0x252a14=_0x258765[_0x144bd7(0x282)]-0x1,_0x5869be;_0x252a14>=0x0;_0x252a14--)(_0x5869be=_0x258765[_0x252a14])&&(_0x5889bd=(_0x7df504?_0x5869be(_0x3cb8f0,_0x5c61ef,_0x5889bd):_0x5869be(_0x5889bd))||_0x5889bd);return _0x7df504&&_0x5889bd&&zi(_0x3cb8f0,_0x5c61ef,_0x5889bd),_0x5889bd;},lt=(_0x1e8c8a,_0x1bd5ea)=>(_0x5ce7e7,_0x1001d8)=>_0x1bd5ea(_0x5ce7e7,_0x1001d8,_0x1e8c8a),Pc=(_0xb303a9,_0x99dd6,_0x3bfc20)=>wc(_0xb303a9,_0x99dd6+'',_0x3bfc20);const Uc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x1a3f69{constructor(_0x8b1473=Rr,_0x4f19e5,_0x1ccf76,_0x1cb2b8,_0x517dfc){const _0x39322f=_0x5bb7a4;super(),this[_0x39322f(0x579)]=_0x8b1473,this[_0x39322f(0x26e)]=_0x4f19e5,this[_0x39322f(0x262)]=_0x1ccf76,this['_injector']=_0x1cb2b8,this[_0x39322f(0x23e)]=_0x517dfc;const {..._0x28a46b}=this['_config'];this[_0x39322f(0x23e)][_0x39322f(0x386)](ie,_0x28a46b);}[_0x5bb7a4(0x558)](){const _0x5c3d4d=_0x5bb7a4;this[_0x5c3d4d(0x267)](),this[_0x5c3d4d(0x520)]();}[_0x5bb7a4(0x57f)](){_0x3fa01f(this['_injector'],[[Ct]]);}[_0x5bb7a4(0x214)](){this['_registerRenderDependencies']();}[_0x5bb7a4(0x267)](){const _0x38f93c=_0x5bb7a4;var _0x41ed6b,_0x5b784f,_0x35fd16,_0x5e212f;this[_0x38f93c(0x338)][_0x38f93c(0x2e6)](_0x131129)&&this[_0x38f93c(0x26e)][_0x38f93c(0x17b)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1fcd21=[[_0x131129,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0x1275f8],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x5b784f=(_0x41ed6b=this[_0x38f93c(0x579)])==null?void 0x0:_0x41ed6b[_0x38f93c(0x18a)])!=null?_0x5b784f:es}],[_0x5bc59d,{'useClass':ls}],[_0x2eb585,{'useClass':cs}],[_0x23cc94,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x35fd16=this[_0x38f93c(0x579)])!=null&&_0x35fd16[_0x38f93c(0x359)]&&_0x1fcd21[_0x38f93c(0x433)]([Rt,{'useClass':ro}]),_0x60d00f(this[_0x38f93c(0x338)],_0x2c766a(_0x1fcd21,(_0x5e212f=this[_0x38f93c(0x579)])==null?void 0x0:_0x5e212f[_0x38f93c(0x1b6)]));}[_0x5bb7a4(0x40d)](){const _0x538072=_0x5bb7a4;this[_0x538072(0x368)](this[_0x538072(0x262)][_0x538072(0x376)](_0x10a997['UNIVER_DOC'],[os])),this[_0x538072(0x368)](this[_0x538072(0x262)][_0x538072(0x376)](_0x10a997['UNIVER_SHEET'],[as]));}[_0x5bb7a4(0x520)](){const _0x43c46b=_0x5bb7a4;var _0x45ecf2,_0x2715ba;this['_injector']['get'](_0x41156a)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x15339e({'maxParallel':0x6})}),(_0x45ecf2=this[_0x43c46b(0x579)])!=null&&_0x45ecf2[_0x43c46b(0x394)]||this[_0x43c46b(0x338)][_0x43c46b(0x4f7)](q)[_0x43c46b(0x409)](),(_0x2715ba=this[_0x43c46b(0x579)])!=null&&_0x2715ba[_0x43c46b(0x319)]&&_0x3fa01f(this[_0x43c46b(0x338)],[[Et]]),_0x3fa01f(this['_injector'],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,'pluginName',Uc),us=Dc([_0x5008eb(_0x1956e2,_0x2fc5f3),lt(0x1,_0x3efec9),lt(0x2,_0x31d8f9),lt(0x3,_0x22a3e1(_0x4c5160)),lt(0x4,_0x2bb536)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};
|
1
|
+
const _0x2775ba=_0x3547;(function(_0xc2e4c7,_0x269f64){const _0x43c4b3=_0x3547,_0x215ee3=_0xc2e4c7();while(!![]){try{const _0x20517c=-parseInt(_0x43c4b3(0x435))/0x1+-parseInt(_0x43c4b3(0x2aa))/0x2+-parseInt(_0x43c4b3(0x41f))/0x3*(parseInt(_0x43c4b3(0x430))/0x4)+parseInt(_0x43c4b3(0x312))/0x5+-parseInt(_0x43c4b3(0x2ba))/0x6*(-parseInt(_0x43c4b3(0x5b7))/0x7)+-parseInt(_0x43c4b3(0x249))/0x8+-parseInt(_0x43c4b3(0x50c))/0x9*(-parseInt(_0x43c4b3(0x2e2))/0xa);if(_0x20517c===_0x269f64)break;else _0x215ee3['push'](_0x215ee3['shift']());}catch(_0x439bda){_0x215ee3['push'](_0x215ee3['shift']());}}}(_0x1b4e,0x1f094));var qi=Object[_0x2775ba(0x29e)],Xi=(_0x73dfbb,_0x3da546,_0xae59a9)=>_0x3da546 in _0x73dfbb?qi(_0x73dfbb,_0x3da546,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xae59a9}):_0x73dfbb[_0x3da546]=_0xae59a9,g=(_0x5a8f92,_0xc1cebb,_0x16d7bd)=>Xi(_0x5a8f92,typeof _0xc1cebb!=_0x2775ba(0x32d)?_0xc1cebb+'':_0xc1cebb,_0x16d7bd);import{createIdentifier as _0x3dd184,Inject as _0x6fd5ef,Disposable as _0x2be393,DisposableCollection as _0x330da2,toDisposable as _0x5384ee,IConfigService as _0x400e14,ILogService as _0x21d5e3,UserManagerService as _0x4084f7,UniverInstanceType as _0x59e1a1,IUniverInstanceService as _0x250342,LocaleService as _0x312a5a,Optional as _0x19e025,RxDisposable as _0x355f5a,Injector as _0x5df3a5,Tools as _0x459384,ILocalStorageService as _0x20e5c2,Rectangle as _0x269771,ICommandService as _0x386a88,DOC_RANGE_TYPE as _0x357811,JSONX as _0x59618e,CommandType as _0x460478,IPermissionService as _0x54a632,IUndoRedoService as _0x2804f5,sequenceExecute as _0x40b90a,debounce as _0x647387,COLORS as _0x4d555b,ColorKit as _0x26322,ThemeService as _0x589dd1,fromEventSubject as _0x1587cc,useDependency as _0x449032,connectInjector as _0x2ecd1c,Workbook as _0x3b0cb8,isInternalEditorID as _0x4dd08f,LocalUndoRedoService as _0x2e5556,IContextService as _0x362879,DependentOn as _0xa31450,Plugin as _0x44d542,touchDependencies as _0x2c6dce,IAuthzIoService as _0x393fea,registerDependencies as _0x26c0a5,mergeOverrideWithDependencies as _0x3330c2}from'@univerjs/core';import{Subject as _0x50fadb,merge as _0x648e04,takeUntil as _0x359f8b,BehaviorSubject as _0x241bf8,distinctUntilChanged as _0x3cca69,fromEvent as _0x36a453,ReplaySubject as _0x20471e,take as _0x564cb8,map as _0x1a1360,shareReplay as _0x3de655,of as _0x73c76d,debounceTime as _0x575872,filter as _0x2a8fae,switchMap as _0x18a69e,combineLatest as _0xeb8700,concatMap as _0x24d850,mapTo as _0x58dc32}from'rxjs';import{map as _0x23a394,take as _0x99166d,filter as _0x351f04,delay as _0x51ce6b,throttleTime as _0x574fa9,takeUntil as _0x3a6336,switchMap as _0x3de0d4}from'rxjs/operators';import{MessageType as _0x32d67a,Tooltip as _0x4ea060}from'@univerjs/design';import{HTTPService as _0x58032c,WebSocketService as _0x30a64c,MergeInterceptorFactory as _0x1224ed,HTTPRequest as _0x39fedb,UniverNetworkPlugin as _0x536937,ThresholdInterceptorFactory as _0x41c49a}from'@univerjs/network';import{IBeforeCloseService as _0x1425da,IMessageService as _0x3f73bc,INotificationService as _0x5eb804,useObservable as _0x3d4ef7,BuiltInUIPart as _0x8efbe8,IUIPartsService as _0x293c56}from'@univerjs/ui';import{CollaborationEvent as _0x394e1d,parseChangesetToProtocol as _0x3419fe,ISnapshotServerService as _0x289fec,isTransformMutationFailure as _0x3ce44e,isTransformMutationsWithChangesetSuccess as _0x63ba33,ITransformService as _0x22e7dd,RevisionService as _0x1e4829,mapDocumentTypeToUniverType as _0x620182,isTransformChangesetsSuccess as _0x16085a,CompressMutationService as _0xcec812,parseProtocolChangeset as _0x40b198,SnapshotService as _0x5eed09,textEncoder as _0x231afd,b64DecodeUnicode as _0x1d58a5,isTransformMutationsWithChangesetFailure as _0x40ed95,UniverCollaborationPlugin as _0x5cda9a}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x2d4439}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1a1a16,DocStateChangeManagerService as _0x4d344a,NodePositionConvertToCursor as _0x144610,NodePositionConvertToRectRange as _0x214fdd,TEXT_RANGE_LAYER_INDEX as _0x38ec42,SetDocZoomRatioOperation as _0x5aa9d6}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x478c4f,SetSelectionsOperation as _0x536dc6,InsertSheetMutation as _0x146010,EmptyMutation as _0x25954e,WorkbookEditablePermission as _0x5bff86,RefRangeService as _0x5aef03,EffectRefRangId as _0x7661da,handleIRemoveRow as _0x3febd9,handleIRemoveCol as _0x5c014a,handleMoveRange as _0x52a20b,handleInsertRow as _0x2c61dd,handleInsertRangeMoveRight as _0x455afe,handleInsertRangeMoveDown as _0x4cc339,handleInsertCol as _0x1fad2d,handleDeleteRangeMoveUp as _0x106382,handleDeleteRangeMoveLeft as _0x1b1fa8,runRefRangeMutations as _0xb474ba,SetWorksheetActivateCommand as _0x4245f7}from'@univerjs/sheets';import{IRenderManagerService as _0x50ddc3,Shape as _0x20dc36,Rect as _0x53d9c5,getColor as _0x4d3a87,RegularPolygon as _0x44dce7,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1c1950,Vector2 as _0x3e66a4}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x41679d,RichTextEditingMutation as _0xc7f79b,SetTextSelectionsOperation as _0x523941,DocSkeletonManagerService as _0x19ec38}from'@univerjs/docs';import{ImageSourceType as _0x49aea4,ImageUploadStatusType as _0x580171,IImageIoService as _0x385076}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x3c6fa4,serializeRangeWithSheet as _0x12791c}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4b9bfc,VIEWPORT_KEY as _0x273743,getCoordByCell as _0x53a56d,getSheetObject as _0xb9f801,SheetPermissionInitController as _0x46f6c4}from'@univerjs/sheets-ui';import _0x26a164,{forwardRef as _0x2cc07d,useRef as _0x531a7a,createElement as _0x490082,useCallback as _0x129db3}from'react';import{IRemoteInstanceService as _0x10adb5}from'@univerjs/rpc';const cr='SNAPSHOT_SERVER_URL_KEY',hr='/universer-api/snapshot',lr=_0x2775ba(0x25c),Jc=_0x2775ba(0x2c7),_r=0x7d0,ur=_0x2775ba(0x490),dr=_0x2775ba(0x485),fr=_0x2775ba(0x3f5),vr='HEARTBEAT_INTERVAL',mr=0x7530,bi=_0x2775ba(0x37e),Ti=0x4e20,pr=0x4e20,gr=_0x2775ba(0x28e),Sr=0x3,Ir=_0x2775ba(0x1f5),Cr=0x3e8,Er=_0x2775ba(0x56a),br=_0x2775ba(0x4bc),Tr=_0x2775ba(0x237),Rr=_0x2775ba(0x365);var Ri=(_0x2873ea=>(_0x2873ea[_0x2873ea[_0x2775ba(0x1da)]=0x0]=_0x2775ba(0x1da),_0x2873ea[_0x2873ea['OK']=0x1]='OK',_0x2873ea[_0x2873ea[_0x2775ba(0x28d)]=0x2]=_0x2775ba(0x28d),_0x2873ea[_0x2873ea['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2873ea[_0x2873ea[_0x2775ba(0x44c)]=0x4]=_0x2775ba(0x44c),_0x2873ea[_0x2873ea[_0x2775ba(0x42e)]=0x5]=_0x2775ba(0x42e),_0x2873ea[_0x2873ea['ALREADY_EXISTS']=0x6]=_0x2775ba(0x4ac),_0x2873ea[_0x2873ea['INVALID_ARGUMENT']=0x7]=_0x2775ba(0x52f),_0x2873ea[_0x2873ea['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2873ea[_0x2873ea[_0x2775ba(0x3db)]=0x9]='COMPLETION_FINISHED',_0x2873ea[_0x2873ea[_0x2775ba(0x451)]=0x1389]=_0x2775ba(0x451),_0x2873ea[_0x2873ea[_0x2775ba(0x48d)]=0x1771]=_0x2775ba(0x48d),_0x2873ea[_0x2873ea[_0x2775ba(0x483)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2873ea[_0x2873ea[_0x2775ba(0x5a7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2873ea[_0x2873ea['APPLY_REJECT']=0x1b59]=_0x2775ba(0x1f6),_0x2873ea[_0x2873ea['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2775ba(0x359),_0x2873ea[_0x2873ea[_0x2775ba(0x428)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2873ea[_0x2873ea['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2873ea[_0x2873ea[_0x2775ba(0x2fb)]=0x1b5d]='APPLY_DUPLICATED',_0x2873ea[_0x2873ea[_0x2775ba(0x4c9)]=0x1f41]=_0x2775ba(0x4c9),_0x2873ea[_0x2873ea[_0x2775ba(0x415)]=0x2329]=_0x2775ba(0x415),_0x2873ea[_0x2873ea[_0x2775ba(0x2de)]=0x232a]=_0x2775ba(0x2de),_0x2873ea[_0x2873ea[_0x2775ba(0x36b)]=0x232b]=_0x2775ba(0x36b),_0x2873ea[_0x2873ea[_0x2775ba(0x331)]=0x232c]=_0x2775ba(0x331),_0x2873ea[_0x2873ea['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x2873ea[_0x2873ea['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2873ea[_0x2873ea[_0x2775ba(0x244)]=0x2712]=_0x2775ba(0x244),_0x2873ea[_0x2873ea[_0x2775ba(0x263)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2873ea[_0x2873ea[_0x2775ba(0x48f)]=0x2714]=_0x2775ba(0x48f),_0x2873ea[_0x2873ea[_0x2775ba(0x31d)]=-0x1]=_0x2775ba(0x31d),_0x2873ea))(Ri||{}),ce=(_0x1e9665=>(_0x1e9665[_0x1e9665['UNIVER_UNKNOWN']=0x0]=_0x2775ba(0x4f4),_0x1e9665[_0x1e9665['UNIVER_DOC']=0x1]=_0x2775ba(0x573),_0x1e9665[_0x1e9665[_0x2775ba(0x1d1)]=0x2]=_0x2775ba(0x1d1),_0x1e9665[_0x1e9665[_0x2775ba(0x351)]=0x3]=_0x2775ba(0x351),_0x1e9665[_0x1e9665[_0x2775ba(0x3a8)]=0x4]=_0x2775ba(0x3a8),_0x1e9665[_0x1e9665[_0x2775ba(0x31d)]=-0x1]=_0x2775ba(0x31d),_0x1e9665))(ce||{}),W=(_0x5a163=>(_0x5a163[_0x5a163[_0x2775ba(0x472)]=0x0]='UNKNOWN_CMD',_0x5a163[_0x5a163['HELLO']=0x1]='HELLO',_0x5a163[_0x5a163['JOIN']=0x2]=_0x2775ba(0x378),_0x5a163[_0x5a163[_0x2775ba(0x589)]=0x3]=_0x2775ba(0x589),_0x5a163[_0x5a163['INGEST']=0x4]='INGEST',_0x5a163[_0x5a163[_0x2775ba(0x2ce)]=0x5]=_0x2775ba(0x2ce),_0x5a163[_0x5a163[_0x2775ba(0x2ca)]=0x6]=_0x2775ba(0x2ca),_0x5a163[_0x5a163[_0x2775ba(0x31d)]=-0x1]=_0x2775ba(0x31d),_0x5a163))(W||{}),Is=(_0x2386c7=>(_0x2386c7[_0x2386c7['UNKNOWN_CODE']=0x0]=_0x2775ba(0x39f),_0x2386c7[_0x2386c7['OK']=0x1]='OK',_0x2386c7[_0x2386c7['FAIL']=0x2]=_0x2775ba(0x5a1),_0x2386c7[_0x2386c7[_0x2775ba(0x30a)]=0x3e9]=_0x2775ba(0x30a),_0x2386c7[_0x2386c7[_0x2775ba(0x492)]=0x3ea]=_0x2775ba(0x492),_0x2386c7[_0x2386c7['UNRECOGNIZED']=-0x1]=_0x2775ba(0x31d),_0x2386c7))(Is||{}),Oi=(_0x37a7cf=>(_0x37a7cf[_0x37a7cf[_0x2775ba(0x3a6)]=0x0]=_0x2775ba(0x3a6),_0x37a7cf[_0x37a7cf[_0x2775ba(0x53b)]=0x1]=_0x2775ba(0x53b),_0x37a7cf[_0x37a7cf[_0x2775ba(0x59b)]=0x2]=_0x2775ba(0x59b),_0x37a7cf[_0x37a7cf[_0x2775ba(0x407)]=0x3]=_0x2775ba(0x407),_0x37a7cf[_0x37a7cf[_0x2775ba(0x426)]=0x4]='UnitSnapshot',_0x37a7cf[_0x37a7cf[_0x2775ba(0x31d)]=-0x1]=_0x2775ba(0x31d),_0x37a7cf))(Oi||{});const te=_0x2775ba(0x27b),Or={};function yr(_0x401ae9){const _0x488515=_0x2775ba;var _0x3f7829,_0x5d0225,_0x27da02,_0x4c06ef,_0x39be43;const _0x2c358c=_0x401ae9[_0x488515(0x515)],_0x2d8bfc=JSON['parse'](_0x2c358c);switch(_0x2d8bfc['cmd']){case W['HEARTBEAT']:case W['HELLO']:{const _0x1bd246=_0x2d8bfc[_0x488515(0x58a)];return{..._0x2d8bfc,'data':_0x1bd246,'cmd':_0x2d8bfc['cmd']};}case W[_0x488515(0x378)]:{const _0x46611d=_0x2d8bfc['joinRsp'];return{..._0x2d8bfc,'data':_0x46611d,'cmd':_0x2d8bfc[_0x488515(0x441)]};}case W[_0x488515(0x2ca)]:{const _0x1bc956=_0x2d8bfc[_0x488515(0x467)];switch(_0x1bc956[_0x488515(0x370)]){case _0x394e1d[_0x488515(0x1cb)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':(_0x3f7829=_0x1bc956[_0x488515(0x2c9)])==null?void 0x0:_0x3f7829['cs']},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x598)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':(_0x5d0225=_0x1bc956['csAckEvent'])==null?void 0x0:_0x5d0225['cs']},'cmd':_0x2d8bfc['cmd']};case _0x394e1d[_0x488515(0x247)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':(_0x27da02=_0x1bc956[_0x488515(0x2a7)])==null?void 0x0:_0x27da02['cs']},'cmd':_0x2d8bfc['cmd']};case _0x394e1d['CHANGESET_REJ']:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':(_0x4c06ef=_0x1bc956[_0x488515(0x2e0)])==null?void 0x0:_0x4c06ef['cs']},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d['CHANGESET_SHOULD_RETRY']:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':(_0x39be43=_0x1bc956['csShouldRetryEvent'])==null?void 0x0:_0x39be43['cs']},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x570)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956[_0x488515(0x4ea)]},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d['USERS_ENTER']:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956['joinEvent']},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x4de)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956[_0x488515(0x406)]},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x596)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956[_0x488515(0x285)]},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x25f)]:case _0x394e1d[_0x488515(0x36f)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956[_0x488515(0x453)]},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x2be)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956['liveShareNewHost']},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x386)]:return{..._0x2d8bfc,'data':_0x1bc956,'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d['COMMENT_UPDATE']:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956[_0x488515(0x28f)]},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x439)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956[_0x488515(0x347)]},'cmd':_0x2d8bfc[_0x488515(0x441)]};case _0x394e1d[_0x488515(0x36a)]:return{..._0x2d8bfc,'data':{..._0x1bc956,'data':_0x1bc956[_0x488515(0x408)]},'cmd':_0x2d8bfc[_0x488515(0x441)]};default:return _0x2d8bfc;}}default:return _0x2d8bfc;}}function wr(_0x552c74){const _0x42abcb=_0x2775ba;switch(_0x552c74['cmd']){case W[_0x42abcb(0x2ce)]:case W[_0x42abcb(0x42d)]:return JSON['stringify']({'cmd':_0x552c74['cmd'],'routeKey':_0x552c74[_0x42abcb(0x227)]});case W[_0x42abcb(0x3d0)]:{let _0xc2d237;switch(_0x552c74[_0x42abcb(0x515)][_0x42abcb(0x370)]){case _0x394e1d[_0x42abcb(0x570)]:{_0xc2d237={'eventID':_0x394e1d['UPDATE_CURSOR'],'updateCursorEvent':_0x552c74[_0x42abcb(0x515)][_0x42abcb(0x515)]};break;}case _0x394e1d[_0x42abcb(0x4de)]:{_0xc2d237={'eventID':_0x394e1d['USERS_LEAVE'],'leaveEvent':_0x552c74[_0x42abcb(0x515)][_0x42abcb(0x515)]};break;}case _0x394e1d[_0x42abcb(0x47c)]:{_0xc2d237={'eventID':_0x394e1d['USERS_ENTER'],'joinEvent':_0x552c74[_0x42abcb(0x515)]['data']};break;}case _0x394e1d[_0x42abcb(0x596)]:{_0xc2d237={'eventID':_0x394e1d[_0x42abcb(0x596)],'liveShareNewHost':_0x552c74[_0x42abcb(0x515)][_0x42abcb(0x515)]};break;}case _0x394e1d[_0x42abcb(0x36f)]:{_0xc2d237={'eventID':_0x394e1d['LIVESHARE_OPERATION'],'liveShareOperation':_0x552c74[_0x42abcb(0x515)][_0x42abcb(0x515)]};break;}case _0x394e1d[_0x42abcb(0x2be)]:{_0xc2d237={'eventID':_0x394e1d[_0x42abcb(0x2be)],'liveShareTerminate':_0x552c74[_0x42abcb(0x515)][_0x42abcb(0x515)]};break;}case _0x394e1d[_0x42abcb(0x275)]:{_0xc2d237={'eventID':_0x394e1d[_0x42abcb(0x275)],'liveShareRequestHost':_0x552c74['data'][_0x42abcb(0x515)]};break;}case _0x394e1d[_0x42abcb(0x25f)]:{_0xc2d237={'eventID':_0x394e1d[_0x42abcb(0x25f)]};break;}default:_0xc2d237={'eventID':_0x552c74['data'][_0x42abcb(0x370)]};}return JSON[_0x42abcb(0x235)]({'cmd':_0x552c74[_0x42abcb(0x441)],'routeKey':_0x552c74['routeKey'],'collaMsg':_0xc2d237});}case W[_0x42abcb(0x378)]:return JSON['stringify']({'cmd':_0x552c74[_0x42abcb(0x441)],'routeKey':_0x552c74['routeKey'],'joinReq':_0x552c74['data']});case W[_0x42abcb(0x589)]:return JSON[_0x42abcb(0x235)]({'cmd':_0x552c74[_0x42abcb(0x441)],'routeKey':_0x552c74[_0x42abcb(0x227)],'leaveReq':_0x552c74[_0x42abcb(0x515)]});default:throw new Error(_0x42abcb(0x2b5));}}var Dr=Object['defineProperty'],Pr=Object[_0x2775ba(0x23b)],Ur=(_0x26b8ed,_0x4a9fb5,_0x352f62,_0x34beb0)=>{const _0x2182a3=_0x2775ba;for(var _0x5e7aea=_0x34beb0>0x1?void 0x0:_0x34beb0?Pr(_0x4a9fb5,_0x352f62):_0x4a9fb5,_0x25993f=_0x26b8ed[_0x2182a3(0x549)]-0x1,_0x1cf47b;_0x25993f>=0x0;_0x25993f--)(_0x1cf47b=_0x26b8ed[_0x25993f])&&(_0x5e7aea=(_0x34beb0?_0x1cf47b(_0x4a9fb5,_0x352f62,_0x5e7aea):_0x1cf47b(_0x5e7aea))||_0x5e7aea);return _0x34beb0&&_0x5e7aea&&Dr(_0x4a9fb5,_0x352f62,_0x5e7aea),_0x5e7aea;},qe=(_0xaff823,_0x1cb81c)=>(_0x305a02,_0x374bc7)=>_0x1cb81c(_0x305a02,_0x374bc7,_0xaff823);const yi=_0x3dd184('univer-pro.collaboration-client-socket-service');function Nr(_0xcbae31,_0x25d14e,_0x7385e9){const _0x17b6b1=_0x2775ba;return _0xcbae31+'/'+_0x25d14e+_0x17b6b1(0x345)+_0x7385e9+_0x17b6b1(0x2b0);}let es=class extends _0x2be393{constructor(_0x2a8ec4,_0x4ecedc,_0x3f52e0,_0x56cf1a,_0x4c5019){const _0x220f4c=_0x2775ba;super(),this[_0x220f4c(0x446)]=_0x2a8ec4,this['_ws']=_0x4ecedc,this[_0x220f4c(0x1dc)]=_0x3f52e0,this['_logService']=_0x56cf1a,this[_0x220f4c(0x542)]=_0x4c5019;}[_0x2775ba(0x216)](_0x32bfa2){const _0x4d5a45=_0x2775ba,_0x1bab9c=this[_0x4d5a45(0x592)][_0x4d5a45(0x216)](_0x32bfa2);if(!_0x1bab9c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x273859=new _0x330da2(),_0xc3c521=new _0x50fadb();_0x273859[_0x4d5a45(0x40a)](_0x1bab9c['close$'][_0x4d5a45(0x473)](_0x4b16bf=>_0xc3c521[_0x4d5a45(0x51e)](_0x4b16bf))),_0x273859[_0x4d5a45(0x40a)](_0x5384ee(()=>_0xc3c521[_0x4d5a45(0x1e6)]()));const _0x34731a=new _0x50fadb();_0x273859[_0x4d5a45(0x40a)](_0x1bab9c[_0x4d5a45(0x41a)][_0x4d5a45(0x473)](_0x374377=>_0x34731a[_0x4d5a45(0x51e)](_0x374377))),_0x273859[_0x4d5a45(0x40a)](_0x5384ee(()=>_0x34731a['complete']()));const _0xa654fb=new _0x50fadb();_0x273859[_0x4d5a45(0x40a)](_0x1bab9c[_0x4d5a45(0x532)][_0x4d5a45(0x473)](_0x2b5ab4=>{const _0x548c83=_0x4d5a45,_0x287441=yr(_0x2b5ab4);_0xa654fb[_0x548c83(0x51e)](_0x287441);})),_0x273859[_0x4d5a45(0x40a)](_0x5384ee(()=>_0xa654fb[_0x4d5a45(0x1e6)]()));let _0x3ffa19;const _0xccf52c=()=>{const _0x176fab=_0x4d5a45;_0x34731a[_0x176fab(0x51e)](new Event(_0x176fab(0x403))),_0xc3c521['next'](new CloseEvent(_0x176fab(0x403))),_0x3ffa19[_0x176fab(0x436)]();};return _0x3ffa19={'memberID':'','close$':_0xc3c521[_0x4d5a45(0x1e0)](),'error$':_0x34731a[_0x4d5a45(0x1e0)](),'open$':_0x1bab9c[_0x4d5a45(0x346)],'message$':_0xa654fb[_0x4d5a45(0x1e0)](),'send':_0x5680a9=>{const _0x5b41b1=_0x4d5a45;if(_0x5680a9['cmd']===W['INGEST']){if(_0x5680a9['data'][_0x5b41b1(0x370)]===_0x394e1d[_0x5b41b1(0x58d)]){this[_0x5b41b1(0x30c)](_0x3ffa19,_0x5680a9[_0x5b41b1(0x515)])[_0x5b41b1(0x24a)](_0x3093fa=>{const _0x586158=_0x5b41b1;this[_0x586158(0x4bd)][_0x586158(0x274)](_0x3093fa),_0xccf52c();});return;}if(_0x5680a9['data'][_0x5b41b1(0x370)]===_0x394e1d[_0x5b41b1(0x4fb)]){const _0x2072e4=_0x5680a9[_0x5b41b1(0x515)];this[_0x5b41b1(0x51a)](_0x2072e4)[_0x5b41b1(0x566)](_0xf2c71d=>{const _0x3c2628=_0x5b41b1;_0xa654fb[_0x3c2628(0x51e)]({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x2072e4[_0x3c2628(0x515)][_0x3c2628(0x1e7)],'routeType':'','data':{'eventID':_0x394e1d[_0x3c2628(0x202)],'data':{'changesets':_0xf2c71d}}});})[_0x5b41b1(0x24a)](_0x1e7825=>{const _0x24bd39=_0x5b41b1;this[_0x24bd39(0x4bd)][_0x24bd39(0x274)](_0x1e7825),_0xccf52c();});return;}}_0x1bab9c['send'](wr(_0x5680a9));},'close':()=>{const _0x3228bb=_0x4d5a45;_0x1bab9c[_0x3228bb(0x436)](),_0x273859['dispose']();}},_0x3ffa19;}async[_0x2775ba(0x30c)](_0x3e92c1,_0x58b068){const _0x4cdbdb=_0x2775ba;var _0x1a4fd7,_0x1a4677;const {unitType:_0x584fd2,unitID:_0x7a8166,changeset:_0x1d3e04}=_0x58b068[_0x4cdbdb(0x515)],_0x3d9956={'unitID':_0x7a8166,'memberID':_0x3e92c1['memberID'],'type':_0x584fd2,'changeset':_0x3419fe(_0x1d3e04)},_0x190b8e=this[_0x4cdbdb(0x1dc)][_0x4cdbdb(0x4ad)](Er),_0x4e765b=this[_0x4cdbdb(0x1dc)][_0x4cdbdb(0x4ad)](te),_0x41f2d9=Nr((_0x1a4677=(_0x1a4fd7=_0x4e765b==null?void 0x0:_0x4e765b[_0x4cdbdb(0x4e7)])!=null?_0x1a4fd7:_0x190b8e)!=null?_0x1a4677:br,_0x584fd2,_0x7a8166);try{await this['_http'][_0x4cdbdb(0x4d7)](_0x41f2d9,{'body':_0x3d9956});}catch(_0x573150){throw this[_0x4cdbdb(0x4bd)][_0x4cdbdb(0x274)](_0x4cdbdb(0x293),_0x4cdbdb(0x270)),_0x573150;}}async[_0x2775ba(0x51a)](_0x393f7c){const _0x5d7fdb=_0x2775ba,{unitID:_0x30870c,from:_0x2bad89,to:_0xe9cc62,unitType:_0x104a3c}=_0x393f7c[_0x5d7fdb(0x515)];return(await this[_0x5d7fdb(0x542)][_0x5d7fdb(0x40e)]({'metadata':void 0x0},{'unitID':_0x30870c,'type':_0x104a3c,'from':_0x2bad89,'to':_0xe9cc62}))['changesets'];}};es=Ur([qe(0x0,_0x6fd5ef(_0x58032c)),qe(0x1,_0x6fd5ef(_0x30a64c)),qe(0x2,_0x400e14),qe(0x3,_0x21d5e3),qe(0x4,_0x289fec)],es);const Ar='collaboration_new_changeset';function Mr(_0x119ff2){const _0x2c2b80=_0x2775ba;return JSON['stringify'](_0x119ff2)[_0x2c2b80(0x549)];}class wi{constructor(){const _0x5f383f=_0x2775ba;g(this,_0x5f383f(0x390),new _0x50fadb()),g(this,_0x5f383f(0x2d2),this[_0x5f383f(0x390)][_0x5f383f(0x1e0)]());}[_0x2775ba(0x3fb)](_0x27c797){const _0x5e5efa=_0x2775ba;this[_0x5e5efa(0x390)][_0x5e5efa(0x51e)](_0x27c797);}}var xr=Object['defineProperty'],Lr=Object[_0x2775ba(0x23b)],$r=(_0x178dc3,_0x22e650,_0x134d95,_0x336daa)=>{const _0x3521a0=_0x2775ba;for(var _0xbb01ba=_0x336daa>0x1?void 0x0:_0x336daa?Lr(_0x22e650,_0x134d95):_0x22e650,_0x32b267=_0x178dc3[_0x3521a0(0x549)]-0x1,_0x5b7548;_0x32b267>=0x0;_0x32b267--)(_0x5b7548=_0x178dc3[_0x32b267])&&(_0xbb01ba=(_0x336daa?_0x5b7548(_0x22e650,_0x134d95,_0xbb01ba):_0x5b7548(_0xbb01ba))||_0xbb01ba);return _0x336daa&&_0xbb01ba&&xr(_0x22e650,_0x134d95,_0xbb01ba),_0xbb01ba;},Hs=(_0x5adba2,_0x4eeb89)=>(_0x33fd63,_0x2904d7)=>_0x4eeb89(_0x33fd63,_0x2904d7,_0x5adba2);let Me=class extends _0x2be393{constructor(_0x52e37a,_0xc0a5be){const _0x26ae25=_0x2775ba;super(),g(this,_0x26ae25(0x3cc),new Map()),(this[_0x26ae25(0x394)]=_0x52e37a,this[_0x26ae25(0x35e)]=_0xc0a5be,this[_0x26ae25(0x49c)](_0x5384ee(_0x648e04(this[_0x26ae25(0x394)][_0x26ae25(0x1c1)](_0x59e1a1[_0x26ae25(0x1d1)])[_0x26ae25(0x588)](_0x23a394(_0x2eda88=>_0x2eda88[_0x26ae25(0x531)]())),this[_0x26ae25(0x394)][_0x26ae25(0x1c1)](_0x59e1a1[_0x26ae25(0x573)])[_0x26ae25(0x588)](_0x23a394(_0x19ebfb=>_0x19ebfb[_0x26ae25(0x531)]())),this['_univerInstanceService'][_0x26ae25(0x1c1)](_0x59e1a1[_0x26ae25(0x351)])[_0x26ae25(0x588)](_0x23a394(_0x36f3a6=>_0x36f3a6[_0x26ae25(0x531)]())))['subscribe'](_0x5bd0cc=>this[_0x26ae25(0x26e)](_0x5bd0cc)))));}[_0x2775ba(0x579)](_0x36a822){const _0x9e50b6=_0x2775ba;this[_0x9e50b6(0x35e)][_0x9e50b6(0x579)](_0x36a822);}[_0x2775ba(0x2ad)](){const _0x4a3361=_0x2775ba;return this[_0x4a3361(0x35e)][_0x4a3361(0x2ad)]();}[_0x2775ba(0x1d4)](_0x2c673a,_0x3febb5){const _0x5c8a2b=_0x2775ba;let _0x4c6e9c=this[_0x5c8a2b(0x3cc)][_0x5c8a2b(0x2c8)](_0x2c673a);_0x4c6e9c||(_0x4c6e9c=new Hr(),this[_0x5c8a2b(0x3cc)][_0x5c8a2b(0x59f)](_0x2c673a,_0x4c6e9c)),_0x4c6e9c[_0x5c8a2b(0x1d4)](_0x3febb5);}['removeMember'](_0x33bca6,_0x35fff9){const _0x338919=_0x2775ba,_0x38dcbd=this[_0x338919(0x3cc)][_0x338919(0x2c8)](_0x33bca6);_0x38dcbd&&_0x38dcbd['removeMember'](_0x35fff9);}[_0x2775ba(0x362)](_0xf3382e){return this['_roomMembers']['get'](_0xf3382e);}[_0x2775ba(0x273)](_0x2bacce,_0x5a4cd2){const _0xbd1f37=_0x2775ba,_0x3d4fd7=this[_0xbd1f37(0x3cc)][_0xbd1f37(0x2c8)](_0x2bacce);if(_0x3d4fd7)return _0x3d4fd7['getMember'](_0x5a4cd2);}['_removeRoom'](_0x17cff0){const _0xcc0f3f=_0x2775ba,_0x1f47c6=this[_0xcc0f3f(0x3cc)][_0xcc0f3f(0x2c8)](_0x17cff0);_0x1f47c6&&(_0x1f47c6[_0xcc0f3f(0x44a)](),this[_0xcc0f3f(0x3cc)][_0xcc0f3f(0x1c4)](_0x17cff0));}['dispose'](){const _0x51a4da=_0x2775ba;this[_0x51a4da(0x3cc)][_0x51a4da(0x48a)](_0x5e51dd=>_0x5e51dd[_0x51a4da(0x44a)]()),this[_0x51a4da(0x3cc)][_0x51a4da(0x389)]();}};Me=$r([Hs(0x0,_0x250342),Hs(0x1,_0x6fd5ef(_0x4084f7))],Me);class Hr extends _0x2be393{constructor(){const _0x18da1b=_0x2775ba;super(...arguments),g(this,_0x18da1b(0x47e),new Map());}[_0x2775ba(0x44a)](){const _0x46d9fa=_0x2775ba;this['_members'][_0x46d9fa(0x389)]();}[_0x2775ba(0x1d4)](_0x51d174){const _0x54da29=_0x2775ba;this['_members'][_0x54da29(0x59f)](_0x51d174[_0x54da29(0x257)],_0x51d174);}[_0x2775ba(0x556)](_0x590577){const _0x50231b=_0x2775ba;this['_members'][_0x50231b(0x1c4)](_0x590577);}[_0x2775ba(0x273)](_0x1588e5){const _0xe238e4=_0x2775ba;return this['_members'][_0xe238e4(0x2c8)](_0x1588e5);}[_0x2775ba(0x3c4)](){const _0x3cf42a=_0x2775ba;return Array['from'](this[_0x3cf42a(0x47e)][_0x3cf42a(0x53e)]());}}var jr=Object[_0x2775ba(0x29e)],Br=Object[_0x2775ba(0x23b)],kr=(_0x494448,_0x65bf07,_0x25274d,_0x573894)=>{for(var _0x1f0272=_0x573894>0x1?void 0x0:_0x573894?Br(_0x65bf07,_0x25274d):_0x65bf07,_0x33f4a5=_0x494448['length']-0x1,_0x44f1bc;_0x33f4a5>=0x0;_0x33f4a5--)(_0x44f1bc=_0x494448[_0x33f4a5])&&(_0x1f0272=(_0x573894?_0x44f1bc(_0x65bf07,_0x25274d,_0x1f0272):_0x44f1bc(_0x1f0272))||_0x1f0272);return _0x573894&&_0x1f0272&&jr(_0x65bf07,_0x25274d,_0x1f0272),_0x1f0272;},Ee=(_0x1dbe1c,_0x2ded26)=>(_0x2aa910,_0x56c520)=>_0x2ded26(_0x2aa910,_0x56c520,_0x1dbe1c),ve=(_0x4417fd=>(_0x4417fd[_0x4417fd['IDLE']=0x0]=_0x2775ba(0x288),_0x4417fd[_0x4417fd[_0x2775ba(0x38f)]=0x1]=_0x2775ba(0x38f),_0x4417fd[_0x4417fd[_0x2775ba(0x5d0)]=0x2]=_0x2775ba(0x5d0),_0x4417fd[_0x4417fd[_0x2775ba(0x4bf)]=0x3]='ONLINE',_0x4417fd))(ve||{});let ts=class extends _0x355f5a{constructor(_0x338b7f,_0x7880a5,_0x4455a4,_0xf3f3c2,_0x4f4321,_0x48b9c0,_0x4d094e,_0x15b75b,_0x5f26b8,_0x50ac04){const _0x383e37=_0x2775ba;super(),g(this,_0x383e37(0x481),new _0x241bf8(0x0)),g(this,_0x383e37(0x3a1),this['_sessionStatus$']['asObservable']()),g(this,_0x383e37(0x42a),new _0x50fadb()),g(this,_0x383e37(0x2a5),this[_0x383e37(0x42a)]['asObservable']()),g(this,_0x383e37(0x59a)),g(this,_0x383e37(0x2b4)),g(this,_0x383e37(0x4f1)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x383e37(0x2f0),null),(this['_unitID']=_0x338b7f,this[_0x383e37(0x4bd)]=_0x4455a4,this[_0x383e37(0x44e)]=_0xf3f3c2,this[_0x383e37(0x4f3)]=_0x4f4321,this['_configService']=_0x48b9c0,this[_0x383e37(0x3c5)]=_0x4d094e,this[_0x383e37(0x208)]=_0x15b75b,this[_0x383e37(0x315)]=_0x5f26b8,this[_0x383e37(0x4ec)]=_0x50ac04,this[_0x383e37(0x325)]=!!this[_0x383e37(0x4ec)],_0x7880a5[_0x383e37(0x588)](_0x359f8b(this[_0x383e37(0x414)]))[_0x383e37(0x473)](_0x448a3d=>{const _0x5b0465=_0x383e37;var _0x139504;typeof _0x448a3d>'u'||(this[_0x5b0465(0x59a)]=_0x448a3d,_0x448a3d?(this['_joinRoom'](_0x448a3d),this[_0x5b0465(0x2b4)]=_0x448a3d['message$'][_0x5b0465(0x473)](_0x246070=>{const _0x216c25=_0x5b0465;_0x246070[_0x216c25(0x227)]===this[_0x216c25(0x240)]&&this[_0x216c25(0x339)](_0x246070);})):(this[_0x5b0465(0x3bb)](),this[_0x5b0465(0x481)]['next'](0x2),(_0x139504=this[_0x5b0465(0x2b4)])==null||_0x139504[_0x5b0465(0x501)](),this['_socketMessageSubscription']=null));}),this[_0x383e37(0x49c)](this[_0x383e37(0x44e)][_0x383e37(0x287)](()=>{const _0xf56557=_0x383e37;var _0x4b4f8c;(_0x4b4f8c=this[_0xf56557(0x59a)])==null||_0x4b4f8c[_0xf56557(0x35c)]({'cmd':W[_0xf56557(0x589)],'data':{'roomID':this[_0xf56557(0x240)]}});})));}get['sessionStatus'](){const _0x3b46aa=_0x2775ba;return this['_sessionStatus$'][_0x3b46aa(0x41b)]();}[_0x2775ba(0x4da)](){const _0x1f85bc=_0x2775ba;var _0x4ee016,_0x2f21ad;return(_0x2f21ad=(_0x4ee016=this[_0x1f85bc(0x59a)])==null?void 0x0:_0x4ee016['memberID'])!=null?_0x2f21ad:null;}[_0x2775ba(0x44a)](){const _0x35c7b2=_0x2775ba;super[_0x35c7b2(0x44a)](),this['dispose$'][_0x35c7b2(0x51e)](),this[_0x35c7b2(0x414)][_0x35c7b2(0x1e6)]();}[_0x2775ba(0x436)](){const _0x4ea20a=_0x2775ba;var _0x28d158,_0x255417;this[_0x4ea20a(0x3bb)](),(_0x28d158=this['_socket'])==null||_0x28d158[_0x4ea20a(0x35c)]({'cmd':W[_0x4ea20a(0x589)],'data':{'roomID':this['_unitID']}}),(_0x255417=this['_socket'])==null||_0x255417[_0x4ea20a(0x436)](),this['_event$']['complete'](),this[_0x4ea20a(0x481)][_0x4ea20a(0x1e6)](),this[_0x4ea20a(0x44a)]();}[_0x2775ba(0x339)](_0xfd3ef7){const _0x91e60c=_0x2775ba;_0xfd3ef7['cmd']===W[_0x91e60c(0x378)]?this[_0x91e60c(0x258)](_0xfd3ef7):_0xfd3ef7[_0x91e60c(0x441)]===W[_0x91e60c(0x2ca)]&&this['_onRecvEvent'](_0xfd3ef7);}[_0x2775ba(0x201)](_0x47414b){const _0x31b993=_0x2775ba;this[_0x31b993(0x481)]['next'](0x1),_0x47414b[_0x31b993(0x35c)]({'cmd':W[_0x31b993(0x378)],'routeKey':this[_0x31b993(0x240)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2775ba(0x258)](_0xfd35d4){const _0x3c0519=_0x2775ba;var _0x2569a1;if(_0xfd35d4[_0x3c0519(0x314)]===Is[_0x3c0519(0x5a1)]){this['_messageService']['show']({'type':_0x32d67a[_0x3c0519(0x1ea)],'content':this['_localeService']['t'](_0x3c0519(0x562))}),this[_0x3c0519(0x481)][_0x3c0519(0x51e)](0x2);return;}this[_0x3c0519(0x481)][_0x3c0519(0x51e)](0x3);const _0x2d9838=(_0x2569a1=_0xfd35d4[_0x3c0519(0x515)][_0x3c0519(0x338)][this['_unitID']])==null?void 0x0:_0x2569a1[_0x3c0519(0x423)];_0x2d9838&&_0x2d9838['forEach'](_0x5df535=>this[_0x3c0519(0x208)]['updateMember'](this[_0x3c0519(0x240)],_0x5df535));}[_0x2775ba(0x224)](_0x3675ab){const _0x43ecbc=_0x2775ba;try{const _0x5443f4=_0x3675ab[_0x43ecbc(0x515)];switch(_0x5443f4['eventID']){case _0x394e1d[_0x43ecbc(0x47c)]:this[_0x43ecbc(0x28a)](_0x5443f4),this[_0x43ecbc(0x42a)][_0x43ecbc(0x51e)](_0x5443f4);break;case _0x394e1d[_0x43ecbc(0x4de)]:this[_0x43ecbc(0x43a)](_0x5443f4),this['_event$'][_0x43ecbc(0x51e)](_0x5443f4);break;case _0x394e1d[_0x43ecbc(0x598)]:case _0x394e1d[_0x43ecbc(0x300)]:this[_0x43ecbc(0x340)](),this[_0x43ecbc(0x297)](),this['_event$'][_0x43ecbc(0x51e)](_0x5443f4);break;case _0x394e1d[_0x43ecbc(0x386)]:this[_0x43ecbc(0x4bd)]['error'](_0x43ecbc(0x35a)+JSON[_0x43ecbc(0x235)](_0x5443f4)),this[_0x43ecbc(0x42a)][_0x43ecbc(0x51e)](_0x5443f4);break;case _0x394e1d['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x5443f4[_0x43ecbc(0x515)]),this[_0x43ecbc(0x42a)][_0x43ecbc(0x51e)](_0x5443f4);break;default:this['_event$']['next'](_0x5443f4);}}catch(_0x2eed9a){this[_0x43ecbc(0x4bd)][_0x43ecbc(0x274)](_0x2eed9a,_0x3675ab);}}[_0x2775ba(0x28a)](_0x29950e){const _0x2a3b91=_0x2775ba;this['_memberService'][_0x2a3b91(0x1d4)](this[_0x2a3b91(0x240)],_0x29950e[_0x2a3b91(0x515)]);}[_0x2775ba(0x43a)](_0x575894){const _0x15e371=_0x2775ba;this[_0x15e371(0x208)][_0x15e371(0x556)](this[_0x15e371(0x240)],_0x575894['data'][_0x15e371(0x257)]);}async['send'](_0x593fd1,_0x516dba){const _0x5f3709=_0x2775ba;if(this[_0x5f3709(0x53a)]!==0x3||!this[_0x5f3709(0x59a)])throw new Error(_0x5f3709(0x299));try{_0x593fd1['eventID']===_0x394e1d[_0x5f3709(0x58d)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5f3709(0x42f)](_0x593fd1)),this[_0x5f3709(0x59a)]['send']({'cmd':W[_0x5f3709(0x3d0)],'routeKey':_0x516dba,'routeType':'','data':_0x593fd1});}catch(_0x12e571){this[_0x5f3709(0x4bd)][_0x5f3709(0x274)](_0x12e571);}}['_scheduleCollaborationTimeoutTimer'](){const _0x513c7f=_0x2775ba;var _0x1002f5;this['_collaborationTimeoutTimer']=window[_0x513c7f(0x322)](()=>{const _0x42eb35=_0x513c7f;this[_0x42eb35(0x4f1)]=null,this[_0x42eb35(0x4f3)]['show']({'type':_0x32d67a['Error'],'content':this[_0x42eb35(0x3c5)]['t'](_0x42eb35(0x3e1))});},(_0x1002f5=this[_0x513c7f(0x1dc)]['getConfig'](bi))!=null?_0x1002f5:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x250dbd=_0x2775ba;this[_0x250dbd(0x4f1)]&&(clearTimeout(this[_0x250dbd(0x4f1)]),this[_0x250dbd(0x4f1)]=null);}[_0x2775ba(0x42f)](_0x36dda6){const _0x3e420a=_0x2775ba;if(!this[_0x3e420a(0x325)])return;const {data:_0x58b4e8}=_0x36dda6,{unitID:_0x4230c4,changeset:_0x6e54b3}=_0x58b4e8,{mutations:_0x30abff,type:_0x68fcf9}=_0x6e54b3;this[_0x3e420a(0x2f0)]={'unitId':_0x4230c4,'type':_0x68fcf9,'startTime':performance[_0x3e420a(0x4c2)](),'stopTime':0x0,'duration':0x0,'size':Mr(_0x30abff)};}[_0x2775ba(0x340)](){const _0xdc5314=_0x2775ba;if(this[_0xdc5314(0x325)]){if(!this[_0xdc5314(0x2f0)]){this['_logService'][_0xdc5314(0x274)](_0xdc5314(0x293),_0xdc5314(0x425));return;}this['_telemetryInfo'][_0xdc5314(0x355)]=performance[_0xdc5314(0x4c2)](),this[_0xdc5314(0x2f0)]['duration']=this[_0xdc5314(0x2f0)]['stopTime']-this[_0xdc5314(0x2f0)]['startTime'],this[_0xdc5314(0x4ec)][_0xdc5314(0x343)](Ar,this['_telemetryInfo']),this[_0xdc5314(0x2f0)]=null;}}[_0x2775ba(0x3bb)](){const _0x21be0b=_0x2775ba;this[_0x21be0b(0x2f0)]=null;}};ts=kr([Ee(0x2,_0x21d5e3),Ee(0x3,_0x1425da),Ee(0x4,_0x3f73bc),Ee(0x5,_0x400e14),Ee(0x6,_0x6fd5ef(_0x312a5a)),Ee(0x7,_0x6fd5ef(Me)),Ee(0x8,_0x6fd5ef(wi)),Ee(0x9,_0x19e025(_0x2d4439))],ts);var Wr=Object['defineProperty'],Fr=Object['getOwnPropertyDescriptor'],Vr=(_0xada0a4,_0xa5654c,_0x3a6f59,_0x1e18c6)=>{const _0x44b5a3=_0x2775ba;for(var _0xa2a746=_0x1e18c6>0x1?void 0x0:_0x1e18c6?Fr(_0xa5654c,_0x3a6f59):_0xa5654c,_0x1fd230=_0xada0a4[_0x44b5a3(0x549)]-0x1,_0x2e2ba9;_0x1fd230>=0x0;_0x1fd230--)(_0x2e2ba9=_0xada0a4[_0x1fd230])&&(_0xa2a746=(_0x1e18c6?_0x2e2ba9(_0xa5654c,_0x3a6f59,_0xa2a746):_0x2e2ba9(_0xa2a746))||_0xa2a746);return _0x1e18c6&&_0xa2a746&&Wr(_0xa5654c,_0x3a6f59,_0xa2a746),_0xa2a746;},we=(_0x3e626b,_0xeb9176)=>(_0x5e51f4,_0x2cc192)=>_0xeb9176(_0x5e51f4,_0x2cc192,_0x3e626b);let xe=class extends _0x2be393{constructor(_0x47a24e,_0xdf372e,_0x1e4e1d,_0x7a0418,_0x3624b7,_0x5e49fd,_0x46c7ab){const _0x150495=_0x2775ba;super(),g(this,_0x150495(0x41d),new _0x241bf8(void 0x0)),g(this,'socket$',this[_0x150495(0x41d)][_0x150495(0x1e0)]()),g(this,'_candidateSocket',null),g(this,_0x150495(0x545),new Map()),g(this,_0x150495(0x344),new _0x241bf8(ve[_0x150495(0x288)])),g(this,_0x150495(0x1ce),this[_0x150495(0x344)][_0x150495(0x1e0)]()),g(this,_0x150495(0x1bd),!0x1),g(this,_0x150495(0x2ff)),g(this,_0x150495(0x391),0x0),g(this,_0x150495(0x3a7)),g(this,'_timeoutTimer'),(this[_0x150495(0x383)]=_0x47a24e,this[_0x150495(0x3c5)]=_0xdf372e,this[_0x150495(0x4f3)]=_0x1e4e1d,this[_0x150495(0x4bd)]=_0x7a0418,this[_0x150495(0x1dc)]=_0x3624b7,this[_0x150495(0x37d)]=_0x5e49fd,this[_0x150495(0x2df)]=_0x46c7ab,this[_0x150495(0x585)]());}get['_socket'](){const _0x33a5f3=_0x2775ba;return this[_0x33a5f3(0x41d)]['getValue']();}['_initEventListeners'](){const _0x482008=_0x2775ba;this['_listenToOfflineEvent'](),this[_0x482008(0x424)]();}[_0x2775ba(0x44a)](){const _0x1b0fde=_0x2775ba;super['dispose'](),this['_sessions'][_0x1b0fde(0x48a)](_0x2c0c10=>_0x2c0c10[_0x1b0fde(0x44a)]()),this[_0x1b0fde(0x545)][_0x1b0fde(0x389)](),this[_0x1b0fde(0x344)][_0x1b0fde(0x1e6)]();}async['requireSession'](_0x27ebae){const _0x294e2c=_0x2775ba;if(this[_0x294e2c(0x545)][_0x294e2c(0x482)](_0x27ebae))return this[_0x294e2c(0x545)]['get'](_0x27ebae);this['_tryEnsureSocket']();const _0x30b8e7=this[_0x294e2c(0x383)][_0x294e2c(0x3ed)](ts,_0x27ebae,this['_socket$']['asObservable']());return this['_sessions'][_0x294e2c(0x59f)](_0x27ebae,_0x30b8e7),_0x30b8e7;}['closeSession'](_0xa35396){const _0x14e8a6=_0x2775ba;var _0x1cf198;const _0x31812f=this[_0x14e8a6(0x545)]['get'](_0xa35396);_0x31812f&&(this[_0x14e8a6(0x545)]['delete'](_0xa35396),_0x31812f[_0x14e8a6(0x436)]()),this[_0x14e8a6(0x545)][_0x14e8a6(0x1e8)]||(_0x1cf198=this[_0x14e8a6(0x59a)])==null||_0x1cf198[_0x14e8a6(0x436)]();}[_0x2775ba(0x1c2)](){const _0x5eb7a0=_0x2775ba;this['_retryCount']=0x0,this[_0x5eb7a0(0x2ff)]!=null&&(clearTimeout(this[_0x5eb7a0(0x2ff)]),this['_retryConnectingTimer']=null),this[_0x5eb7a0(0x5ce)]();}async[_0x2775ba(0x379)](){const _0xb5e8e=_0x2775ba;var _0x58dd9e,_0x216054,_0x56ade2;const _0x1e6543=this[_0xb5e8e(0x1dc)][_0xb5e8e(0x4ad)](te),_0xf0398a=(_0x58dd9e=_0x1e6543==null?void 0x0:_0x1e6543[_0xb5e8e(0x291)])!=null?_0x58dd9e:fr;return(_0x56ade2=(_0x216054=(await this[_0xb5e8e(0x2df)]['get'](_0xf0398a,{'headers':{'Content-Type':_0xb5e8e(0x1fa)}}))[_0xb5e8e(0x206)])==null?void 0x0:_0x216054['ticket'])!=null?_0x56ade2:'';}[_0x2775ba(0x474)](_0x169bcb){const _0x185c1b=_0x2775ba;var _0x408ab3,_0x153379;const _0x59dec0=this[_0x185c1b(0x1dc)][_0x185c1b(0x4ad)](ur),_0x50b04b=this[_0x185c1b(0x1dc)][_0x185c1b(0x4ad)](te),_0x38364f=(_0x153379=(_0x408ab3=_0x50b04b==null?void 0x0:_0x50b04b[_0x185c1b(0x1e5)])!=null?_0x408ab3:_0x59dec0)!=null?_0x153379:dr,_0x1b9369=new URL(_0x38364f,window[_0x185c1b(0x2e9)][_0x185c1b(0x2da)]);return _0x1b9369[_0x185c1b(0x555)][_0x185c1b(0x59f)](_0x185c1b(0x332),_0x169bcb),_0x1b9369[_0x185c1b(0x57b)]();}async['_createSocket'](){const _0x1cc730=_0x2775ba,_0xe00a2d=await this['_getSessionTicket'](),_0x3dcce0=this[_0x1cc730(0x474)](_0xe00a2d),_0x353a8c=this[_0x1cc730(0x37d)]['createSocket'](_0x3dcce0);return this[_0x1cc730(0x417)]=_0x353a8c,_0x353a8c;}async['_tryEnsureSocket'](){const _0x55f72a=_0x2775ba;var _0x548135,_0x4f1048;try{const _0x2249ec=(_0x4f1048=(_0x548135=this[_0x55f72a(0x59a)])!=null?_0x548135:this[_0x55f72a(0x417)])!=null?_0x4f1048:await this['_createSocket']();if(_0x2249ec){const _0x570149=_0x2249ec['send'];_0x2249ec[_0x55f72a(0x35c)]=_0x83a44b=>(this['_rescheduleHeartbeat'](),_0x570149[_0x55f72a(0x387)](_0x2249ec,[_0x83a44b])),_0x2249ec[_0x55f72a(0x532)]['subscribe'](_0xcb1644=>this[_0x55f72a(0x518)](_0x2249ec,_0xcb1644)),_0x2249ec['error$']['pipe'](_0x99166d(0x1))[_0x55f72a(0x473)](_0x405eaf=>this[_0x55f72a(0x4bd)]['error'](_0x55f72a(0x486),_0x405eaf)),_0x2249ec[_0x55f72a(0x346)][_0x55f72a(0x588)](_0x99166d(0x1))[_0x55f72a(0x473)](()=>{const _0x2253e3=_0x55f72a;this[_0x2253e3(0x524)](_0x2249ec);}),_0x2249ec[_0x55f72a(0x47b)][_0x55f72a(0x588)](_0x99166d(0x1))['subscribe'](_0x377889=>{const _0x408105=_0x55f72a;this[_0x408105(0x4bd)][_0x408105(0x3bc)]('[CollaborationSessionService]','socket\x20close',_0x377889),this[_0x408105(0x452)]();});}}catch(_0xdd004e){this[_0x55f72a(0x4bd)][_0x55f72a(0x274)](_0xdd004e),this[_0x55f72a(0x452)]();}}[_0x2775ba(0x524)](_0x51f014){const _0x57c338=_0x2775ba;this[_0x57c338(0x4bd)][_0x57c338(0x3bc)](_0x57c338(0x459),_0x57c338(0x5a9)),_0x51f014['send']({'cmd':W['HELLO']}),this['_rescheduleHeartbeat']();}['_listenToOfflineEvent'](){const _0x2a425b=_0x2775ba;window[_0x2a425b(0x2ea)](_0x2a425b(0x4fd),()=>this[_0x2a425b(0x34c)]());}[_0x2775ba(0x34c)](){const _0x42c879=_0x2775ba;this[_0x42c879(0x1bd)]=!0x1,this['_candidateSocket']=null,this['_status$']['next'](ve[_0x42c879(0x5d0)]),this[_0x42c879(0x41d)]['next'](null),this[_0x42c879(0x463)](),this[_0x42c879(0x3b3)]();}[_0x2775ba(0x452)](){const _0x35aa07=_0x2775ba;var _0x41fc3a;this['_onOffline'](),this[_0x35aa07(0x391)]<((_0x41fc3a=this['_configService'][_0x35aa07(0x4ad)](gr))!=null?_0x41fc3a:Sr)?(this[_0x35aa07(0x4f3)][_0x35aa07(0x28b)]({'key':_0x35aa07(0x252),'type':_0x32d67a['Warning'],'content':this[_0x35aa07(0x3c5)]['t'](_0x35aa07(0x352))}),this[_0x35aa07(0x5ce)]()):this['_messageService'][_0x35aa07(0x28b)]({'key':_0x35aa07(0x252),'type':_0x32d67a[_0x35aa07(0x404)],'content':this[_0x35aa07(0x3c5)]['t'](_0x35aa07(0x2c4))});}['_listenToOnlineEvent'](){const _0xcb44f0=_0x2775ba,_0x35ad5d=()=>{const _0x5d41d1=_0x3547;this[_0x5d41d1(0x59a)]||this[_0x5d41d1(0x1c2)]();},_0x170394=()=>{const _0x58b447=_0x3547;this['_socket']||document[_0x58b447(0x4d3)]===_0x58b447(0x22d)||this[_0x58b447(0x1c2)]();};window['addEventListener'](_0xcb44f0(0x487),_0x35ad5d),document[_0xcb44f0(0x2ea)](_0xcb44f0(0x4a1),_0x170394);}[_0x2775ba(0x5ce)](){const _0x25366a=_0x2775ba;var _0x253aaa;const _0x263381=this[_0x25366a(0x391)],_0x49ef23=this[_0x25366a(0x1dc)][_0x25366a(0x4ad)](te),_0x24ec44=_0x263381===0x0?0x0:((_0x253aaa=_0x49ef23==null?void 0x0:_0x49ef23[_0x25366a(0x318)])!=null?_0x253aaa:pr)*0x2**_0x263381;this['_retryConnectingTimer']=window[_0x25366a(0x322)](()=>{const _0x53eaf4=_0x25366a;clearTimeout(this['_retryConnectingTimer']),this[_0x53eaf4(0x2ff)]=null,this[_0x53eaf4(0x3b2)]();},_0x24ec44),this[_0x25366a(0x391)]+=0x1;}[_0x2775ba(0x518)](_0x543056,_0x3243e2){const _0x246e7=_0x2775ba,{cmd:_0x416028}=_0x3243e2;_0x416028===W[_0x246e7(0x42d)]&&!this['_socketReady']&&(_0x543056[_0x246e7(0x257)]=_0x3243e2[_0x246e7(0x515)][_0x246e7(0x257)],this['_socket$'][_0x246e7(0x51e)](_0x543056),this[_0x246e7(0x344)]['next'](ve[_0x246e7(0x4bf)]),this[_0x246e7(0x1bd)]=!0x0,this[_0x246e7(0x417)]=null),_0x416028===W['HEARTBEAT']&&this[_0x246e7(0x463)](),this['_rescheduleHeartbeat']();}[_0x2775ba(0x233)](){const _0x5bb22b=_0x2775ba;var _0x48151e;this[_0x5bb22b(0x3b3)](),this['_sendHeartbeatTimer']=window[_0x5bb22b(0x322)](()=>this['_sendHeartbeat'](),(_0x48151e=this['_configService'][_0x5bb22b(0x4ad)](vr))!=null?_0x48151e:mr);}[_0x2775ba(0x34d)](){const _0xfff98b=_0x2775ba;this[_0xfff98b(0x59a)][_0xfff98b(0x35c)]({'cmd':W[_0xfff98b(0x2ce)]}),this[_0xfff98b(0x3bd)]();}[_0x2775ba(0x3bd)](){const _0x5817b4=_0x2775ba;var _0xdb95a1;this[_0x5817b4(0x34b)]=window[_0x5817b4(0x322)](()=>this['_onConnectionFailed'](),(_0xdb95a1=this[_0x5817b4(0x1dc)]['getConfig'](bi))!=null?_0xdb95a1:Ti);}[_0x2775ba(0x3b3)](){const _0x584bf0=_0x2775ba;this[_0x584bf0(0x3a7)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x2da307=_0x2775ba;this[_0x2da307(0x34b)]!=null&&(clearTimeout(this[_0x2da307(0x34b)]),this[_0x2da307(0x34b)]=null);}};xe=Vr([we(0x0,_0x6fd5ef(_0x5df3a5)),we(0x1,_0x6fd5ef(_0x312a5a)),we(0x2,_0x3f73bc),we(0x3,_0x21d5e3),we(0x4,_0x400e14),we(0x5,yi),we(0x6,_0x6fd5ef(_0x58032c))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x2775ba(0x57b)](0x10)[_0x2775ba(0x320)](0x1));function Gr(_0x12e3f7,_0x42eccf=0x0){const _0x1cd017=_0x2775ba;return(Y[_0x12e3f7[_0x42eccf+0x0]]+Y[_0x12e3f7[_0x42eccf+0x1]]+Y[_0x12e3f7[_0x42eccf+0x2]]+Y[_0x12e3f7[_0x42eccf+0x3]]+'-'+Y[_0x12e3f7[_0x42eccf+0x4]]+Y[_0x12e3f7[_0x42eccf+0x5]]+'-'+Y[_0x12e3f7[_0x42eccf+0x6]]+Y[_0x12e3f7[_0x42eccf+0x7]]+'-'+Y[_0x12e3f7[_0x42eccf+0x8]]+Y[_0x12e3f7[_0x42eccf+0x9]]+'-'+Y[_0x12e3f7[_0x42eccf+0xa]]+Y[_0x12e3f7[_0x42eccf+0xb]]+Y[_0x12e3f7[_0x42eccf+0xc]]+Y[_0x12e3f7[_0x42eccf+0xd]]+Y[_0x12e3f7[_0x42eccf+0xe]]+Y[_0x12e3f7[_0x42eccf+0xf]])[_0x1cd017(0x52b)]();}let Nt;const Yr=new Uint8Array(0x10);function Kr(){const _0x2b3684=_0x2775ba;if(!Nt){if(typeof crypto>'u'||!crypto[_0x2b3684(0x302)])throw new Error(_0x2b3684(0x22b));Nt=crypto[_0x2b3684(0x302)]['bind'](crypto);}return Nt(Yr);}const zr=typeof crypto<'u'&&crypto[_0x2775ba(0x3b9)]&&crypto[_0x2775ba(0x3b9)][_0x2775ba(0x29f)](crypto),js={'randomUUID':zr};function qr(_0x482d02,_0x4d1505,_0x29615d){const _0x4f1251=_0x2775ba;if(js['randomUUID']&&!_0x4d1505&&!_0x482d02)return js[_0x4f1251(0x3b9)]();_0x482d02=_0x482d02||{};const _0x15f9e1=_0x482d02[_0x4f1251(0x4c1)]||(_0x482d02['rng']||Kr)();return _0x15f9e1[0x6]=_0x15f9e1[0x6]&0xf|0x40,_0x15f9e1[0x8]=_0x15f9e1[0x8]&0x3f|0x80,Gr(_0x15f9e1);}var Xr=Object['defineProperty'],Jr=Object[_0x2775ba(0x23b)],Zr=(_0x2d15e8,_0x2b69f1,_0x1d34b6,_0x53f55c)=>{const _0x225956=_0x2775ba;for(var _0x2f16e7=_0x53f55c>0x1?void 0x0:_0x53f55c?Jr(_0x2b69f1,_0x1d34b6):_0x2b69f1,_0x12464c=_0x2d15e8[_0x225956(0x549)]-0x1,_0xae243c;_0x12464c>=0x0;_0x12464c--)(_0xae243c=_0x2d15e8[_0x12464c])&&(_0x2f16e7=(_0x53f55c?_0xae243c(_0x2b69f1,_0x1d34b6,_0x2f16e7):_0xae243c(_0x2f16e7))||_0x2f16e7);return _0x53f55c&&_0x2f16e7&&Xr(_0x2b69f1,_0x1d34b6,_0x2f16e7),_0x2f16e7;},At=(_0x3b43f3,_0x27da84)=>(_0x418c2a,_0x17c9de)=>_0x27da84(_0x418c2a,_0x17c9de,_0x3b43f3);let ft=class{constructor(_0x4f383b,_0x32a142,_0x2ec17a){const _0x412220=_0x2775ba;this[_0x412220(0x383)]=_0x4f383b,this[_0x412220(0x3cf)]=_0x32a142,this['_renderManagerService']=_0x2ec17a;}[_0x2775ba(0x37f)](_0x65b85f){const _0x4a5f01=_0x2775ba;this['_transformUndoRedoStack'](_0x65b85f),this[_0x4a5f01(0x39b)](_0x65b85f);}[_0x2775ba(0x2bf)](_0x2833a7){const _0x3a5d25=_0x2775ba,{unitID:_0x580849}=_0x2833a7,_0x56afef=this[_0x3a5d25(0x4eb)]['getRenderById'](_0x580849)[_0x3a5d25(0x420)](_0x1a1a16),{redoCache:_0x16c963}=_0x56afef[_0x3a5d25(0x5bd)]();if(_0x16c963['length']===0x0)return _0x2833a7;let _0x50323e=_0x459384[_0x3a5d25(0x2b1)](_0x2833a7[_0x3a5d25(0x2a9)][0x0]);for(let _0x4ce4a6=0x0;_0x4ce4a6<_0x16c963[_0x3a5d25(0x549)];_0x4ce4a6++){const _0x3e602a={'id':_0x3a5d25(0x571),'params':{..._0x16c963[_0x4ce4a6]}},_0x4e2adb=this[_0x3a5d25(0x3cf)][_0x3a5d25(0x564)](_0x50323e,_0x3e602a,!0x1);if(_0x3ce44e(_0x4e2adb))throw _0x4e2adb[_0x3a5d25(0x274)];_0x50323e=_0x4e2adb[_0x3a5d25(0x309)];}return{..._0x459384[_0x3a5d25(0x2b1)](_0x2833a7),'mutations':[_0x50323e]};}[_0x2775ba(0x411)](_0xabdccd){const _0x329aac=_0x2775ba,{unitID:_0x5e6cc1}=_0xabdccd,_0x528ae2=this[_0x329aac(0x4eb)][_0x329aac(0x3af)](_0x5e6cc1)['with'](_0x1a1a16),{undoCache:_0x5da919,redoCache:_0x220bba}=_0x528ae2['getUndoRedoMutationParamsCache']();if(_0x5da919[_0x329aac(0x549)]===0x0||_0x220bba['length']===0x0)return;const _0x5d7dfe=[],_0xb83ff1=[];let _0x2bd100=_0x459384[_0x329aac(0x2b1)](_0xabdccd['mutations'][0x0]),_0x190490=_0x459384[_0x329aac(0x2b1)](_0xabdccd[_0x329aac(0x2a9)][0x0]);for(let _0x283810=_0x5da919[_0x329aac(0x549)]-0x1;_0x283810>=0x0;_0x283810--){const _0x146555={'id':_0x329aac(0x571),'params':{..._0x5da919[_0x283810]}},_0x1cfc1f={'id':'doc.mutation.rich-text-editing','params':{..._0x220bba[_0x283810]}},_0x22ea6d=this[_0x329aac(0x3cf)][_0x329aac(0x564)](_0x2bd100,_0x146555,!0x1),_0x11959b=this[_0x329aac(0x3cf)]['transformMutation'](_0x190490,_0x1cfc1f,!0x1);if(_0x3ce44e(_0x22ea6d))throw _0x22ea6d['error'];if(_0x3ce44e(_0x11959b))throw _0x11959b['error'];_0x5d7dfe[_0x329aac(0x513)](_0x22ea6d['m2Prime'][_0x329aac(0x3b1)]),_0xb83ff1[_0x329aac(0x513)](_0x11959b['m2Prime'][_0x329aac(0x3b1)]),_0x2bd100=_0x22ea6d[_0x329aac(0x309)],_0x190490=_0x11959b[_0x329aac(0x309)];}_0x528ae2[_0x329aac(0x212)]({'undoCache':_0x5d7dfe,'redoCache':_0xb83ff1});}[_0x2775ba(0x39b)](_0x2b21b0){const _0x34bc46=_0x2775ba,{unitID:_0x5192d2}=_0x2b21b0,_0x4b9de4=this[_0x34bc46(0x4eb)][_0x34bc46(0x3af)](_0x5192d2)[_0x34bc46(0x420)](_0x1a1a16),_0x233765=_0x4b9de4['getActiveRange']();if(_0x233765==null)return;const _0x3abb7d=[{'id':_0x34bc46(0x571),'params':{'unitId':_0x2b21b0[_0x34bc46(0x1e7)],'actions':null,'textRanges':[_0x233765]}}],_0x11a100=this[_0x34bc46(0x3cf)]['transformMutationsWithChangeset'](_0x2b21b0,_0x3abb7d);if(!_0x63ba33(_0x11a100))throw _0x11a100[_0x34bc46(0x274)];const _0x38ca5a=_0x11a100['m2Prime'][0x0][_0x34bc46(0x3b1)]['textRanges'];Array['isArray'](_0x38ca5a)&&_0x38ca5a[_0x34bc46(0x549)]&&_0x4b9de4[_0x34bc46(0x488)](_0x38ca5a[0x0]);}};ft=Zr([At(0x0,_0x6fd5ef(_0x5df3a5)),At(0x1,_0x22e7dd),At(0x2,_0x50ddc3)],ft);var Qr=Object[_0x2775ba(0x29e)],eo=Object[_0x2775ba(0x23b)],to=(_0x2d75b8,_0x1e0ba5,_0x2c9817,_0x4452e8)=>{for(var _0x422904=_0x4452e8>0x1?void 0x0:_0x4452e8?eo(_0x1e0ba5,_0x2c9817):_0x1e0ba5,_0x51b794=_0x2d75b8['length']-0x1,_0x1f31ad;_0x51b794>=0x0;_0x51b794--)(_0x1f31ad=_0x2d75b8[_0x51b794])&&(_0x422904=(_0x4452e8?_0x1f31ad(_0x1e0ba5,_0x2c9817,_0x422904):_0x1f31ad(_0x422904))||_0x422904);return _0x4452e8&&_0x422904&&Qr(_0x1e0ba5,_0x2c9817,_0x422904),_0x422904;},Xe=(_0x4b5251,_0x399056)=>(_0xdfc930,_0x86229)=>_0x399056(_0xdfc930,_0x86229,_0x4b5251);let q=class extends _0x2be393{constructor(_0x2142dd,_0x237d66,_0x324571,_0x1f2a0f,_0x15f72d){const _0x500a1b=_0x2775ba;super(),g(this,'_cachedData',new Map()),g(this,_0x500a1b(0x493),new Map()),g(this,_0x500a1b(0x353),!0x1),(this[_0x500a1b(0x1dc)]=_0x2142dd,this[_0x500a1b(0x2ec)]=_0x237d66,this[_0x500a1b(0x44e)]=_0x324571,this[_0x500a1b(0x3c5)]=_0x1f2a0f,this[_0x500a1b(0x45f)]=_0x15f72d,this[_0x500a1b(0x1bc)]());}[_0x2775ba(0x324)](){const _0x3137c8=_0x2775ba;this[_0x3137c8(0x353)]=!0x0;}[_0x2775ba(0x29b)](){const _0x26fcb2=_0x2775ba;this[_0x26fcb2(0x353)]=!0x1;}[_0x2775ba(0x44a)](){const _0x2541dc=_0x2775ba;this[_0x2541dc(0x44f)]()[_0x2541dc(0x566)](()=>super[_0x2541dc(0x44a)]());}async[_0x2775ba(0x31b)](_0x3e7b72){const _0x4c39b3=_0x2775ba;return this[_0x4c39b3(0x353)]?null:this['_localStorageService'][_0x4c39b3(0x580)](Bs(_0x3e7b72));}async['saveOfflineData'](_0x3fd23c,_0xa4d902){const _0x56a8ad=_0x2775ba;return!!this[_0x56a8ad(0x2ec)][_0x56a8ad(0x4ca)](_0x3fd23c,_0xa4d902);}[_0x2775ba(0x5d4)](_0x5df327,_0x15a3d5,_0x543145,_0x2c4212){const _0x37e86f=_0x2775ba,_0x52cd36=this['_revisionService'][_0x37e86f(0x366)](_0x5df327);this[_0x37e86f(0x2b8)][_0x37e86f(0x59f)](_0x5df327,{'unitID':_0x5df327,'type':_0x15a3d5,'awaitingChangeset':_0x543145,'mutations':_0x2c4212,'rev':_0x52cd36}),this[_0x37e86f(0x493)][_0x37e86f(0x482)](_0x5df327)||this['_scheduleSaving'](_0x5df327);}[_0x2775ba(0x367)](_0x1db166){const _0x5b5fd4=_0x2775ba,_0x19f7d7=this[_0x5b5fd4(0x431)]();_0x19f7d7===0x0?this['_saveCache'](_0x1db166):this[_0x5b5fd4(0x493)]['set'](_0x1db166,setTimeout(()=>this[_0x5b5fd4(0x48b)](_0x1db166),_0x19f7d7));}[_0x2775ba(0x431)](){const _0x1e49cf=_0x2775ba;var _0x228f87;return(_0x228f87=this['_configService'][_0x1e49cf(0x4ad)](Ir))!=null?_0x228f87:Cr;}[_0x2775ba(0x48b)](_0x4d00d4){const _0x151fe9=_0x2775ba,_0x3e1cb6=this[_0x151fe9(0x493)][_0x151fe9(0x2c8)](_0x4d00d4);return _0x3e1cb6!==void 0x0&&window[_0x151fe9(0x1ec)](_0x3e1cb6),this['_localStorageService'][_0x151fe9(0x4ca)](Bs(_0x4d00d4),this[_0x151fe9(0x2b8)]['get'](_0x4d00d4))[_0x151fe9(0x566)](()=>this[_0x151fe9(0x493)][_0x151fe9(0x1c4)](_0x4d00d4));}async[_0x2775ba(0x44f)](){const _0xed0703=_0x2775ba,_0x1576e3=[];this[_0xed0703(0x493)][_0xed0703(0x48a)]((_0x2ac1c6,_0x43eac7)=>{const _0x557d12=_0xed0703;window[_0x557d12(0x1ec)](_0x2ac1c6),_0x1576e3['push'](this[_0x557d12(0x48b)](_0x43eac7)['then'](()=>{const _0x40163d=_0x557d12;this[_0x40163d(0x493)][_0x40163d(0x1c4)](_0x43eac7);}));}),await Promise[_0xed0703(0x342)](_0x1576e3);}[_0x2775ba(0x1bc)](){const _0x262c4b=_0x2775ba;this['disposeWithMe'](this[_0x262c4b(0x44e)][_0x262c4b(0x256)](()=>{const _0x1c5d7a=_0x262c4b;if(this[_0x1c5d7a(0x493)]['size'])return this[_0x1c5d7a(0x3c5)]['t'](_0x1c5d7a(0x313));}));}};q=to([Xe(0x0,_0x400e14),Xe(0x1,_0x20e5c2),Xe(0x2,_0x1425da),Xe(0x3,_0x6fd5ef(_0x312a5a)),Xe(0x4,_0x6fd5ef(_0x1e4829))],q);function _0x3547(_0xf5df22,_0x625921){const _0x1b4e5c=_0x1b4e();return _0x3547=function(_0x3547a1,_0x57ff83){_0x3547a1=_0x3547a1-0x1ba;let _0x3ca740=_0x1b4e5c[_0x3547a1];return _0x3ca740;},_0x3547(_0xf5df22,_0x625921);}function Bs(_0xc8432d){const _0x1fe434=_0x2775ba;return _0x1fe434(0x1ff)+_0xc8432d;}var so=Object['defineProperty'],io=Object[_0x2775ba(0x23b)],no=(_0x5461ed,_0x1ca075,_0x58a4cb,_0x2fd3e0)=>{const _0x386019=_0x2775ba;for(var _0x32c61c=_0x2fd3e0>0x1?void 0x0:_0x2fd3e0?io(_0x1ca075,_0x58a4cb):_0x1ca075,_0x336008=_0x5461ed[_0x386019(0x549)]-0x1,_0x14cfec;_0x336008>=0x0;_0x336008--)(_0x14cfec=_0x5461ed[_0x336008])&&(_0x32c61c=(_0x2fd3e0?_0x14cfec(_0x1ca075,_0x58a4cb,_0x32c61c):_0x14cfec(_0x32c61c))||_0x32c61c);return _0x2fd3e0&&_0x32c61c&&so(_0x1ca075,_0x58a4cb,_0x32c61c),_0x32c61c;},Mt=(_0x15c5ca,_0x2ac363)=>(_0x4f8711,_0x53b5fd)=>_0x2ac363(_0x4f8711,_0x53b5fd,_0x15c5ca);function ro(_0x53d813){const _0x521266=_0x2775ba,{unitID:_0x347277,mutations:_0x6b1806}=_0x53d813;return{'unitId':_0x347277,'subUnitId':_0x6b1806[0x0][_0x521266(0x3b1)][_0x521266(0x505)]};}let vt=class{constructor(_0x1ce0a6,_0x29447f,_0x3095d4){const _0x340e7f=_0x2775ba;this[_0x340e7f(0x383)]=_0x1ce0a6,this[_0x340e7f(0x3cf)]=_0x29447f,this['_instanceService']=_0x3095d4;}['transformSelections'](_0x4d6057){const _0x54b3c8=_0x2775ba;var _0xfdd84c,_0x1f0a64,_0x4d81cc,_0x156770;const _0xaf85cc=this[_0x54b3c8(0x383)][_0x54b3c8(0x2c8)](_0x478c4f),{unitId:_0x178582,subUnitId:_0x32c9fe}=ro(_0x4d6057),_0x396b69=_0xaf85cc[_0x54b3c8(0x2a0)](_0x178582)[_0x54b3c8(0x4dc)](),_0x18161f=(_0x1f0a64=(_0xfdd84c=this[_0x54b3c8(0x1f8)][_0x54b3c8(0x496)](_0x178582))==null?void 0x0:_0xfdd84c[_0x54b3c8(0x36d)]())==null?void 0x0:_0x1f0a64['getSheetId']();if(_0x396b69[_0x54b3c8(0x549)]===0x0||!_0x178582||!_0x32c9fe)return;const _0x2a0acf=[{'id':_0x536dc6['id'],'params':{'unitId':_0x178582,'subUnitId':_0x18161f,'selections':_0x459384[_0x54b3c8(0x2b1)](_0x396b69)}}],_0x5c953b=this['_transformService'][_0x54b3c8(0x5d3)](_0x4d6057,_0x2a0acf);if(!_0x63ba33(_0x5c953b))throw _0x5c953b[_0x54b3c8(0x274)];const _0x55f796=(_0x156770=(_0x4d81cc=_0x5c953b[_0x54b3c8(0x282)][0x0])==null?void 0x0:_0x4d81cc[_0x54b3c8(0x3b1)])==null?void 0x0:_0x156770[_0x54b3c8(0x569)];if(Array[_0x54b3c8(0x393)](_0x55f796)&&_0x55f796[_0x54b3c8(0x549)]){if(_0x55f796[_0x54b3c8(0x549)]===_0x2a0acf[0x0][_0x54b3c8(0x3b1)][_0x54b3c8(0x569)]['length']&&_0x55f796[_0x54b3c8(0x1e4)]((_0x22b10f,_0x4d1389)=>_0x269771[_0x54b3c8(0x595)](_0x22b10f[_0x54b3c8(0x437)],_0x2a0acf[0x0]['params'][_0x54b3c8(0x569)][_0x4d1389]['range'])))return;this[_0x54b3c8(0x383)][_0x54b3c8(0x2c8)](_0x386a88)[_0x54b3c8(0x50d)](_0x536dc6['id'],{'unitId':_0x178582,'subUnitId':_0x18161f,'selections':_0x55f796});}}};vt=no([Mt(0x0,_0x6fd5ef(_0x5df3a5)),Mt(0x1,_0x22e7dd),Mt(0x2,_0x250342)],vt);const Rt=_0x3dd184(_0x2775ba(0x398));var Di=(_0x53f235=>(_0x53f235[_0x53f235[_0x2775ba(0x1f4)]=0x0]=_0x2775ba(0x1f4),_0x53f235[_0x53f235[_0x2775ba(0x264)]=0x1]=_0x2775ba(0x264),_0x53f235))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class oo extends _0x2be393{constructor(){const _0x51de81=_0x2775ba;super(),g(this,'_id',_0x459384[_0x51de81(0x422)]()),g(this,_0x51de81(0x4a6),new Set()),g(this,_0x51de81(0x528),new Map()),g(this,_0x51de81(0x43d),null),g(this,_0x51de81(0x3c9),new Map()),g(this,_0x51de81(0x388),new Map()),this['_init']();}[_0x2775ba(0x44a)](){const _0x48c806=_0x2775ba;super[_0x48c806(0x44a)](),this[_0x48c806(0x3c9)][_0x48c806(0x48a)]((_0x28aa23,_0x5e4b67)=>this[_0x48c806(0x4fc)](_0x5e4b67)),this[_0x48c806(0x43d)]&&window[_0x48c806(0x3dd)](this[_0x48c806(0x43d)]);}[_0x2775ba(0x245)](_0x260608){const _0x56f293=_0x2775ba;return this[_0x56f293(0x4b4)](_0x260608)[_0x56f293(0x588)](_0x3cca69());}[_0x2775ba(0x551)](_0x4fb93f){const _0x4dfd60=_0x2775ba;this[_0x4dfd60(0x4a6)][_0x4dfd60(0x1e8)]===0x0&&this[_0x4dfd60(0x3b6)](),this[_0x4dfd60(0x4a6)][_0x4dfd60(0x40a)](_0x4fb93f),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4fb93f],'isForwarded':!0x1});}[_0x2775ba(0x36e)](_0x4b9119){const _0x217fcf=_0x2775ba;this[_0x217fcf(0x4a6)]['delete'](_0x4b9119),this[_0x217fcf(0x4a6)][_0x217fcf(0x1e8)]===0x0&&this[_0x217fcf(0x43d)]&&window[_0x217fcf(0x3dd)](this[_0x217fcf(0x43d)]);}['_init'](){const _0x4f6c30=_0x2775ba;this['disposeWithMe'](_0x5384ee(_0x36a453(window,_0x4f6c30(0x445))[_0x4f6c30(0x473)](_0x561a0b=>{const _0x489aae=_0x4f6c30;if(_0x561a0b[_0x489aae(0x460)]!==Ws||!_0x561a0b[_0x489aae(0x4db)])return;const _0x5bfcb5=JSON[_0x489aae(0x416)](_0x561a0b['newValue']);this[_0x489aae(0x548)](_0x5bfcb5);}))),window[_0x4f6c30(0x2ea)](_0x4f6c30(0x52c),()=>this['_send']({'type':0x1,'memberID':this[_0x4f6c30(0x341)],'unitIDs':Array[_0x4f6c30(0x1f9)](this['_selfUnitIDs'])}));}[_0x2775ba(0x548)](_0x31e435){const _0xeffe88=_0x2775ba;switch(_0x31e435[_0xeffe88(0x54c)]){case 0x0:this[_0xeffe88(0x4bb)](_0x31e435);break;case 0x1:this[_0xeffe88(0x449)](_0x31e435);break;case 0x2:this[_0xeffe88(0x37c)](_0x31e435);break;}}[_0x2775ba(0x4bb)](_0x1554b5){const _0x21a4b9=_0x2775ba,{unitIDs:_0x51d11f,memberID:_0x236714,isForwarded:_0x1dcb27}=_0x1554b5;_0x51d11f[_0x21a4b9(0x48a)](_0x274287=>{const _0x1c465c=_0x21a4b9;if(!_0x1dcb27&&this[_0x1c465c(0x528)][_0x1c465c(0x482)](_0x274287)&&this['_ensureSubject'](_0x274287)[_0x1c465c(0x51e)](0x1),!this[_0x1c465c(0x528)][_0x1c465c(0x482)](_0x274287)||!this[_0x1c465c(0x528)][_0x1c465c(0x2c8)](_0x274287)[_0x1c465c(0x482)](_0x236714)){const _0x3b58e6=this[_0x1c465c(0x528)][_0x1c465c(0x2c8)](_0x274287)||new Set();_0x3b58e6[_0x1c465c(0x40a)](_0x236714),this[_0x1c465c(0x528)][_0x1c465c(0x59f)](_0x274287,_0x3b58e6),this[_0x1c465c(0x440)](_0x236714);}}),_0x1dcb27||this[_0x21a4b9(0x582)]({'type':0x0,'memberID':this[_0x21a4b9(0x341)],'unitIDs':[...this[_0x21a4b9(0x4a6)]],'isForwarded':!0x0});}[_0x2775ba(0x440)](_0x432eb1){const _0x17067a=_0x2775ba;this[_0x17067a(0x4fc)](_0x432eb1);const _0x5306cf=window[_0x17067a(0x322)](()=>{const _0x129f31=_0x17067a;this[_0x129f31(0x528)][_0x129f31(0x48a)](_0x251b98=>{_0x251b98['delete'](_0x432eb1);});},ks*0x2);this['_clearOtherTimers'][_0x17067a(0x59f)](_0x432eb1,_0x5306cf);}[_0x2775ba(0x4fc)](_0x132e2e){const _0x528e9b=_0x2775ba;if(this[_0x528e9b(0x3c9)][_0x528e9b(0x482)](_0x132e2e)){const _0x114cb2=this[_0x528e9b(0x3c9)][_0x528e9b(0x2c8)](_0x132e2e);_0x114cb2&&window[_0x528e9b(0x1ec)](_0x114cb2),this[_0x528e9b(0x3c9)][_0x528e9b(0x59f)](_0x132e2e,null);}}[_0x2775ba(0x449)](_0x2d9e1f){const _0x9418df=_0x2775ba,{memberID:_0x3bff0c,unitIDs:_0x193297}=_0x2d9e1f;_0x193297[_0x9418df(0x48a)](_0x10e2cc=>{const _0x1963c2=_0x9418df;var _0x3e88d9;const _0x2d3238=this[_0x1963c2(0x528)]['get'](_0x10e2cc);_0x2d3238&&(_0x2d3238['delete'](_0x3bff0c),(_0x3e88d9=this['_ensureSubject'](_0x10e2cc))==null||_0x3e88d9[_0x1963c2(0x51e)](_0x2d3238[_0x1963c2(0x1e8)]===0x0?0x0:0x1));}),this[_0x9418df(0x4fc)](_0x3bff0c);}[_0x2775ba(0x37c)](_0x3808bf){const _0x237cbc=_0x2775ba;this[_0x237cbc(0x440)](_0x3808bf[_0x237cbc(0x257)]);}[_0x2775ba(0x582)](_0x5039b0){const _0x2df03f=_0x2775ba;localStorage[_0x2df03f(0x4ca)](Ws,JSON[_0x2df03f(0x235)](_0x5039b0));}[_0x2775ba(0x3b6)](){const _0x3d3040=_0x2775ba;this[_0x3d3040(0x43d)]=window[_0x3d3040(0x236)](()=>{const _0x44f453=_0x3d3040;this[_0x44f453(0x582)]({'type':0x2,'memberID':this[_0x44f453(0x341)]});},ks);}[_0x2775ba(0x4b4)](_0x540fa4){const _0x1ad0ae=_0x2775ba;return this[_0x1ad0ae(0x388)][_0x1ad0ae(0x482)](_0x540fa4)||this[_0x1ad0ae(0x388)][_0x1ad0ae(0x59f)](_0x540fa4,new _0x241bf8(0x0)),this['_unitStatus'][_0x1ad0ae(0x2c8)](_0x540fa4);}}var ao=Object['defineProperty'],co=Object[_0x2775ba(0x23b)],ho=(_0x42f7c7,_0x59e749,_0x3fa8f0,_0x353648)=>{const _0x250ffe=_0x2775ba;for(var _0x2c6d70=_0x353648>0x1?void 0x0:_0x353648?co(_0x59e749,_0x3fa8f0):_0x59e749,_0x41c4f5=_0x42f7c7[_0x250ffe(0x549)]-0x1,_0x434b51;_0x41c4f5>=0x0;_0x41c4f5--)(_0x434b51=_0x42f7c7[_0x41c4f5])&&(_0x2c6d70=(_0x353648?_0x434b51(_0x59e749,_0x3fa8f0,_0x2c6d70):_0x434b51(_0x2c6d70))||_0x2c6d70);return _0x353648&&_0x2c6d70&&ao(_0x59e749,_0x3fa8f0,_0x2c6d70),_0x2c6d70;},xt=(_0x502c94,_0x5b7122)=>(_0x41f744,_0x3b481d)=>_0x5b7122(_0x41f744,_0x3b481d,_0x502c94);let mt=class{constructor(_0x3c31ec,_0x123075,_0x560fbb){const _0x47d959=_0x2775ba;this[_0x47d959(0x383)]=_0x3c31ec,this[_0x47d959(0x3cf)]=_0x123075,this[_0x47d959(0x2eb)]=_0x560fbb;}['transformStateCache'](_0x531d11){const _0x49e386=_0x2775ba;this[_0x49e386(0x265)](_0x531d11);}[_0x2775ba(0x2bf)](_0x5bc138){const _0xafcd64=_0x2775ba,{unitID:_0x26835b}=_0x5bc138,{collaboration:_0x4c3549}=this[_0xafcd64(0x2eb)][_0xafcd64(0x278)](_0x26835b);if(_0x4c3549[_0xafcd64(0x549)]===0x0)return _0x5bc138;let _0x4129e1=_0x459384[_0xafcd64(0x2b1)](_0x5bc138[_0xafcd64(0x2a9)][0x0]);for(let _0xf8814c=0x0;_0xf8814c<_0x4c3549[_0xafcd64(0x549)];_0xf8814c++){const _0x168758={'id':_0xafcd64(0x571),'params':{'unitId':_0x4c3549[_0xf8814c][_0xafcd64(0x30b)],..._0x4c3549[_0xf8814c][_0xafcd64(0x1cd)]}},_0x465bbc=this['_transformService'][_0xafcd64(0x564)](_0x4129e1,_0x168758,!0x1);if(_0x3ce44e(_0x465bbc))throw _0x465bbc['error'];_0x4129e1=_0x465bbc['m1Prime'];}return{..._0x459384[_0xafcd64(0x2b1)](_0x5bc138),'mutations':[_0x4129e1]};}[_0x2775ba(0x265)](_0x5eadef){const _0x42b543=_0x2775ba,{unitID:_0x4aa110}=_0x5eadef,{history:_0x2bd51c,collaboration:_0x1164f0}=this[_0x42b543(0x2eb)][_0x42b543(0x278)](_0x4aa110);if(_0x2bd51c[_0x42b543(0x549)]===0x0&&_0x1164f0['length']===0x0)return;const _0x1bc1ba=[],_0x295b39=[];let _0x3d7b66=_0x459384[_0x42b543(0x2b1)](_0x5eadef[_0x42b543(0x2a9)][0x0]),_0x52fa76=_0x459384[_0x42b543(0x2b1)](_0x5eadef[_0x42b543(0x2a9)][0x0]);for(let _0x3cc31c=_0x2bd51c[_0x42b543(0x549)]-0x1;_0x3cc31c>=0x0;_0x3cc31c--){const _0x5a7fed={'id':_0x42b543(0x571),'params':{'unitId':_0x2bd51c[_0x3cc31c][_0x42b543(0x30b)],..._0x2bd51c[_0x3cc31c]['undoState']}},_0x383db2={'id':_0x42b543(0x571),'params':{'unitId':_0x2bd51c[_0x3cc31c]['unitId'],..._0x2bd51c[_0x3cc31c]['redoState']}},_0x3ff9fe=this['_transformService'][_0x42b543(0x564)](_0x3d7b66,_0x5a7fed,!0x1),_0x3dd02e=this['_transformService']['transformMutation'](_0x52fa76,_0x383db2,!0x1);if(_0x3ce44e(_0x3ff9fe))throw _0x3ff9fe['error'];if(_0x3ce44e(_0x3dd02e))throw _0x3dd02e[_0x42b543(0x274)];_0x1bc1ba['unshift']({..._0x2bd51c[_0x3cc31c],'undoState':_0x3ff9fe[_0x42b543(0x282)][_0x42b543(0x3b1)],'redoState':_0x3dd02e['m2Prime'][_0x42b543(0x3b1)]}),_0x3d7b66=_0x3ff9fe['m1Prime'],_0x52fa76=_0x3dd02e['m1Prime'];}_0x3d7b66=_0x459384[_0x42b543(0x2b1)](_0x5eadef[_0x42b543(0x2a9)][0x0]),_0x52fa76=_0x459384['deepClone'](_0x5eadef[_0x42b543(0x2a9)][0x0]);for(let _0x2d7931=_0x1164f0[_0x42b543(0x549)]-0x1;_0x2d7931>=0x0;_0x2d7931--){const _0x59624e={'id':_0x42b543(0x571),'params':{'unitId':_0x1164f0[_0x2d7931][_0x42b543(0x30b)],..._0x1164f0[_0x2d7931][_0x42b543(0x56b)]}},_0x35edbe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1164f0[_0x2d7931][_0x42b543(0x30b)],..._0x1164f0[_0x2d7931][_0x42b543(0x1cd)]}},_0x46eefc=this[_0x42b543(0x3cf)][_0x42b543(0x564)](_0x3d7b66,_0x59624e,!0x1),_0x3cfe12=this[_0x42b543(0x3cf)][_0x42b543(0x564)](_0x52fa76,_0x35edbe,!0x1);if(_0x3ce44e(_0x46eefc))throw _0x46eefc[_0x42b543(0x274)];if(_0x3ce44e(_0x3cfe12))throw _0x3cfe12[_0x42b543(0x274)];_0x295b39[_0x42b543(0x513)]({..._0x1164f0[_0x2d7931],'undoState':_0x46eefc[_0x42b543(0x282)]['params'],'redoState':_0x3cfe12[_0x42b543(0x282)][_0x42b543(0x3b1)]}),_0x3d7b66=_0x46eefc['m1Prime'],_0x52fa76=_0x3cfe12[_0x42b543(0x309)];}this[_0x42b543(0x2eb)][_0x42b543(0x2f6)](_0x4aa110,{'history':_0x1bc1ba,'collaboration':_0x295b39});}};mt=ho([xt(0x0,_0x6fd5ef(_0x5df3a5)),xt(0x1,_0x22e7dd),xt(0x2,_0x6fd5ef(_0x4d344a))],mt);function Pi(_0x14abbe){const _0x1cdc16=_0x2775ba;let _0x47cf6a='';for(const _0x44fe2a of _0x14abbe){const {startOffset:_0x37d2b5,endOffset:_0x23035d,isActive:_0x1655bf,rangeType:_0x144cb4,segmentId:_0x58b5b9,segmentPage:_0xa0b228}=_0x44fe2a;_0x47cf6a[_0x1cdc16(0x549)]&&(_0x47cf6a+=','),_0x47cf6a+=_0x37d2b5+':'+_0x23035d+':'+(_0x1655bf?'1':'0')+':'+_0x144cb4+':'+_0x58b5b9+':'+_0xa0b228;}return _0x47cf6a;}function lo(_0x1bed89){const _0x3f1e8e=_0x2775ba,_0xaf7568=_0x1bed89[_0x3f1e8e(0x5a2)](','),_0x473584=[];for(const _0x40face of _0xaf7568){const [_0x3ae736,_0x43010d,_0x371090,_0x4a9874,_0x10a5f8,_0x4d3b6a]=_0x40face[_0x3f1e8e(0x5a2)](':');_0x473584['push']({'startOffset':Number(_0x3ae736),'endOffset':Number(_0x43010d),'collapsed':_0x3ae736===_0x43010d,'isActive':_0x371090==='1','rangeType':_0x4a9874===_0x357811[_0x3f1e8e(0x371)]?_0x357811[_0x3f1e8e(0x371)]:_0x357811[_0x3f1e8e(0x2f2)],'segmentId':typeof _0x10a5f8==_0x3f1e8e(0x2dd)?String(_0x10a5f8):'','segmentPage':Number(_0x4d3b6a!=null?_0x4d3b6a:-0x1)});}return _0x473584[_0x3f1e8e(0x5c5)](_0x1c089b=>_0x1c089b[_0x3f1e8e(0x5bc)])||(_0x473584[0x0][_0x3f1e8e(0x5bc)]=!0x0),_0x473584;}class Cs extends _0x355f5a{constructor(){const _0x12486f=_0x2775ba;super(...arguments),g(this,_0x12486f(0x4a0),new _0x241bf8(null)),g(this,_0x12486f(0x5c9),this[_0x12486f(0x4a0)][_0x12486f(0x1e0)]());}['syncEditingCollabCursor'](_0x79ddf0){const _0x319c65=_0x2775ba,{unitID:_0x5ec261,memberID:_0x19ec3e,textRanges:_0x714366}=_0x79ddf0,_0x40cddb=Pi(_0x714366);if(_0x40cddb==='')return;const _0x9cf9b7={'unitID':_0x5ec261,'memberID':_0x19ec3e,'selection':_0x40cddb};this[_0x319c65(0x4a0)]['next'](_0x9cf9b7);}}var _o=Object[_0x2775ba(0x29e)],uo=Object[_0x2775ba(0x23b)],fo=(_0x6ff62f,_0x402180,_0x57967d,_0x47f739)=>{const _0x20cc97=_0x2775ba;for(var _0x7453c3=_0x47f739>0x1?void 0x0:_0x47f739?uo(_0x402180,_0x57967d):_0x402180,_0x96750e=_0x6ff62f[_0x20cc97(0x549)]-0x1,_0x28902b;_0x96750e>=0x0;_0x96750e--)(_0x28902b=_0x6ff62f[_0x96750e])&&(_0x7453c3=(_0x47f739?_0x28902b(_0x402180,_0x57967d,_0x7453c3):_0x28902b(_0x7453c3))||_0x7453c3);return _0x47f739&&_0x7453c3&&_o(_0x402180,_0x57967d,_0x7453c3),_0x7453c3;},Fs=(_0x3c933f,_0x19bc0d)=>(_0x2b6206,_0x4d98f8)=>_0x19bc0d(_0x2b6206,_0x4d98f8,_0x3c933f);let pt=class{constructor(_0x2d8f29,_0x455eae){const _0x9b9851=_0x2775ba;this[_0x9b9851(0x383)]=_0x2d8f29,this[_0x9b9851(0x3cf)]=_0x455eae;}[_0x2775ba(0x356)](_0x17d9ac){const _0x5dde29=_0x2775ba;var _0x3f24fa;const _0x51faef=this['_injector'][_0x5dde29(0x2c8)](_0x41679d),_0x1ed21e=(_0x3f24fa=_0x51faef[_0x5dde29(0x4ce)]())!=null?_0x3f24fa:[];if(_0x1ed21e['length']===0x0)return;const _0x4fe28c=_0x17d9ac['unitID'],_0x26695c=[{'id':_0x5dde29(0x571),'params':{'unitId':_0x4fe28c,'actions':null,'textRanges':_0x1ed21e}}],_0x1d8d84=this[_0x5dde29(0x3cf)][_0x5dde29(0x5d3)](_0x17d9ac,_0x26695c);if(!_0x63ba33(_0x1d8d84))throw _0x1d8d84[_0x5dde29(0x274)];const _0x2a12cc=_0x1d8d84[_0x5dde29(0x282)][0x0][_0x5dde29(0x3b1)][_0x5dde29(0x2f9)];Array[_0x5dde29(0x393)](_0x2a12cc)&&_0x2a12cc[_0x5dde29(0x549)]&&_0x51faef[_0x5dde29(0x546)](_0x2a12cc,{'unitId':_0x4fe28c,'subUnitId':_0x4fe28c},!0x1);}};pt=fo([Fs(0x0,_0x6fd5ef(_0x5df3a5)),Fs(0x1,_0x22e7dd)],pt);const vo=new Set([_0x146010['id']]);function Vs(_0x254b29,_0x4bb870,_0xd3c28a,_0x20e063,_0x4e91ac){const _0x3ae23a=_0x2775ba;var _0x3e4724,_0xb45a6c,_0x26dd7c,_0x5e2068;const _0x4c348e=[];for(const _0x3921b5 of _0x254b29)if(vo[_0x3ae23a(0x482)](_0x3921b5['id'])){if(_0x4c348e[_0x3ae23a(0x549)]>0x0)break;_0x4c348e[_0x3ae23a(0x3c1)](_0x3921b5);break;}else _0x4c348e['push'](_0x3921b5);const _0x9e577c=(_0xb45a6c=(_0x3e4724=_0x4e91ac['getCurrentUser']())==null?void 0x0:_0x3e4724[_0x3ae23a(0x25a)])!=null?_0xb45a6c:_0x3ae23a(0x4f6),_0x140ce0=(_0x5e2068=(_0x26dd7c=_0x4e91ac[_0x3ae23a(0x2ad)]())==null?void 0x0:_0x26dd7c[_0x3ae23a(0x257)])!=null?_0x5e2068:_0x3ae23a(0x4f6);return{'changeset':{'unitID':_0x4bb870,'type':_0x620182(_0xd3c28a[_0x3ae23a(0x57a)](_0x4bb870)),'baseRev':_0x20e063[_0x3ae23a(0x366)](_0x4bb870),'revision':0x0,'userID':_0x9e577c,'memberID':_0x140ce0,'mutations':_0x4c348e},'pendingMutations':_0x254b29[_0x3ae23a(0x320)](_0x4c348e[_0x3ae23a(0x549)])};}function mo(_0x2702c5,_0x16c4e3,_0x34390b,_0x5f9e4c,_0x4f5c0d){const _0x4659d6=_0x2775ba;var _0x105fb2,_0x257370,_0x220c28,_0x49ab7b;const _0x2b5418=[_0x2702c5[_0x4659d6(0x23f)]((_0x4a88d9,_0x5ded29)=>{const _0x351ae3=_0x4659d6;var _0xfe2f1c;const {id:_0xb0c6b}=_0x4a88d9,{id:_0xaafb76,type:_0xcb2a55}=_0x5ded29,_0x74a454=(_0xfe2f1c=_0x4a88d9['params'])!=null?_0xfe2f1c:{'actions':null},_0x3d7023=_0x5ded29[_0x351ae3(0x3b1)];if(_0xb0c6b&&_0xb0c6b!==_0xaafb76)throw new Error(_0x351ae3(0x3a2)+_0xb0c6b+_0x351ae3(0x475)+_0xaafb76+'.');return{..._0x4a88d9,'id':_0xaafb76,'type':_0xcb2a55,'params':{'unitId':_0x3d7023[_0x351ae3(0x30b)],'textRanges':_0x3d7023['textRanges'],'actions':_0x59618e['compose'](_0x74a454['actions'],_0x3d7023[_0x351ae3(0x4e3)])}};},{})],_0x2b4927=(_0x257370=(_0x105fb2=_0x4f5c0d[_0x4659d6(0x2ad)]())==null?void 0x0:_0x105fb2[_0x4659d6(0x25a)])!=null?_0x257370:_0x4659d6(0x4f6),_0x142102=(_0x49ab7b=(_0x220c28=_0x4f5c0d['getCurrentUser']())==null?void 0x0:_0x220c28['memberID'])!=null?_0x49ab7b:'unknown';return{'changeset':{'unitID':_0x16c4e3,'type':_0x620182(_0x34390b[_0x4659d6(0x57a)](_0x16c4e3)),'baseRev':_0x5f9e4c['getCurrentRevOfUnit'](_0x16c4e3),'revision':0x0,'userID':_0x2b4927,'memberID':_0x142102,'mutations':_0x2b5418},'pendingMutations':[]};}function Ui(_0x48078d,_0xeca2cf){const _0x31ab86=_0x2775ba,_0x2ea18d=new _0x20471e(0x1);return setTimeout(()=>_0x2ea18d[_0x31ab86(0x51e)](_0xeca2cf),_0x48078d),_0x2ea18d[_0x31ab86(0x1e0)]()['pipe'](_0x564cb8(0x1));}const po={'id':_0x25954e['id'],'type':_0x460478[_0x2775ba(0x2ed)],'params':{}};var go=Object['defineProperty'],So=Object[_0x2775ba(0x23b)],$e=(_0x2f52ee,_0x2a41bc,_0x4c506d,_0x226f70)=>{for(var _0x4f7622=_0x226f70>0x1?void 0x0:_0x226f70?So(_0x2a41bc,_0x4c506d):_0x2a41bc,_0x34f435=_0x2f52ee['length']-0x1,_0x269153;_0x34f435>=0x0;_0x34f435--)(_0x269153=_0x2f52ee[_0x34f435])&&(_0x4f7622=(_0x226f70?_0x269153(_0x2a41bc,_0x4c506d,_0x4f7622):_0x269153(_0x4f7622))||_0x4f7622);return _0x226f70&&_0x4f7622&&go(_0x2a41bc,_0x4c506d,_0x4f7622),_0x4f7622;},A=(_0x1da1b7,_0xd5dc54)=>(_0x1dc00e,_0xbc91e7)=>_0xd5dc54(_0x1dc00e,_0xbc91e7,_0x1da1b7),J=(_0x25b5b8=>(_0x25b5b8[_0x2775ba(0x534)]='not_collab',_0x25b5b8[_0x2775ba(0x4e1)]=_0x2775ba(0x410),_0x25b5b8['PENDING']=_0x2775ba(0x1c7),_0x25b5b8[_0x2775ba(0x3d4)]=_0x2775ba(0x2a4),_0x25b5b8['AWAITING_WITH_PENDING']=_0x2775ba(0x307),_0x25b5b8[_0x2775ba(0x4f2)]='fetch_missing',_0x25b5b8[_0x2775ba(0x48e)]='conflict',_0x25b5b8[_0x2775ba(0x5d0)]=_0x2775ba(0x4fd),_0x25b5b8))(J||{});const Ni=0xea60;class He{constructor(_0x398531,_0x109f97,_0x508a03,_0x1a969d,_0x3ae2ae,_0x1dc59f,_0x41f045,_0x4f78c3,_0x57354c){const _0x21cf8d=_0x2775ba;g(this,_0x21cf8d(0x1f7),null),g(this,_0x21cf8d(0x4cb),[]),(this[_0x21cf8d(0x1e7)]=_0x398531,this['type']=_0x109f97,this['_handler']=_0x3ae2ae,this[_0x21cf8d(0x5ca)]=_0x1dc59f,this[_0x21cf8d(0x48c)]=_0x41f045,this[_0x21cf8d(0x45f)]=_0x4f78c3,this[_0x21cf8d(0x296)]=_0x57354c,this[_0x21cf8d(0x1f7)]=_0x508a03,this[_0x21cf8d(0x4cb)]=_0x1a969d);}[_0x2775ba(0x217)](_0x4445e2){const _0x418b7d=_0x2775ba,_0x7a17be=this[_0x418b7d(0x45f)][_0x418b7d(0x366)](this[_0x418b7d(0x1e7)]);return _0x4445e2[_0x418b7d(0x272)]>_0x7a17be+0x1?(this[_0x418b7d(0x34e)][_0x418b7d(0x357)]({'from':_0x7a17be,'to':_0x4445e2['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3f5a56){const _0x408bea=_0x2775ba;this['_undoRedoService'][_0x408bea(0x255)](this[_0x408bea(0x1e7)],_0x3f5a56);}[_0x2775ba(0x228)](_0x41d553){const _0x4054e5=_0x2775ba;var _0x292cf2,_0x159281;(_0x159281=(_0x292cf2=this[_0x4054e5(0x34e)])[_0x4054e5(0x3d1)])==null||_0x159281['call'](_0x292cf2,_0x41d553);}['_transformIMECache'](_0x250211){const _0xdec9e=_0x2775ba;var _0x5867d0,_0x2bd99d;return(_0x2bd99d=(_0x5867d0=this[_0xdec9e(0x34e)])[_0xdec9e(0x4d0)])==null?void 0x0:_0x2bd99d[_0xdec9e(0x260)](_0x5867d0,_0x250211);}[_0x2775ba(0x2c2)](_0x5894f5){const _0x509fce=_0x2775ba;var _0x54d305,_0x2fea1c;return(_0x2fea1c=(_0x54d305=this[_0x509fce(0x34e)])['onTransformState'])==null?void 0x0:_0x2fea1c[_0x509fce(0x260)](_0x54d305,_0x5894f5);}[_0x2775ba(0x5af)](_0x368405){const _0x2d1cf9=_0x2775ba;var _0x37e310,_0x5f2da4,_0x3249d7;return(_0x3249d7=(_0x5f2da4=(_0x37e310=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5f2da4[_0x2d1cf9(0x260)](_0x37e310,_0x368405))!=null?_0x3249d7:_0x368405;}['_transformRemoteChangesetByStateCache'](_0x5e32e8){const _0x5383f4=_0x2775ba;var _0x5450d2,_0x5dfde9,_0x146bf5;return(_0x146bf5=(_0x5dfde9=(_0x5450d2=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5dfde9[_0x5383f4(0x260)](_0x5450d2,_0x5e32e8))!=null?_0x146bf5:_0x5e32e8;}[_0x2775ba(0x305)](_0x47aaec){const _0x5722c6=_0x2775ba;var _0x2ebd78,_0x18ac81;if(this[_0x5722c6(0x54c)]===ce[_0x5722c6(0x573)]){const {unitID:_0x216850,mutations:_0x808c7b,memberID:_0x540dde}=_0x47aaec,_0x2f45f4=_0x808c7b[0x0][_0x5722c6(0x3b1)][_0x5722c6(0x2f9)];Array[_0x5722c6(0x393)](_0x2f45f4)&&_0x2f45f4['length']>0x0&&((_0x18ac81=(_0x2ebd78=this[_0x5722c6(0x34e)])[_0x5722c6(0x218)])==null||_0x18ac81['call'](_0x2ebd78,{'unitID':_0x216850,'memberID':_0x540dde,'textRanges':_0x2f45f4}));}}[_0x2775ba(0x1cf)](){const _0x256b6a=_0x2775ba;this[_0x256b6a(0x296)]['updateOfflineData'](this[_0x256b6a(0x1e7)],this[_0x256b6a(0x54c)],this[_0x256b6a(0x1f7)],this['_pendingMutations']);}[_0x2775ba(0x3b8)](){const _0x5a939d=_0x2775ba;return this[_0x5a939d(0x45f)]['getCurrentRevOfUnit'](this['unitID']);}[_0x2775ba(0x38e)](){const _0x26c20d=_0x2775ba;this[_0x26c20d(0x45f)][_0x26c20d(0x4e8)](this[_0x26c20d(0x1e7)]);}[_0x2775ba(0x43f)](_0x199e90){const _0x349232=_0x2775ba;var _0x1c7814;let _0x5aa7a6=this['_transformRemoteChangesetByIMECache'](_0x199e90);_0x5aa7a6=this[_0x349232(0x5c0)](_0x5aa7a6);const _0x2db990=_0x40b90a(_0x5aa7a6['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x2db990[_0x349232(0x321)])throw _0x2db990[_0x349232(0x274)]instanceof Error?_0x2db990[_0x349232(0x274)]:new Error((_0x1c7814=_0x2db990[_0x349232(0x274)])!=null?_0x1c7814:'[CollaborationState]:\x20apply\x20error!');this[_0x349232(0x3f4)](_0x5aa7a6),this[_0x349232(0x2c2)](_0x5aa7a6),this[_0x349232(0x593)](_0x199e90),this[_0x349232(0x228)](_0x5aa7a6),this['_syncEditingCollabCursor'](_0x5aa7a6),this[_0x349232(0x38e)]();}}let Fe=class extends He{constructor(_0x5404a0,_0x2e192b,_0x4e66d5,_0x29d624,_0x7113fa,_0xe818a4,_0x49faa1,_0x2c184c,_0x154a31,_0x310e41){const _0x435a92=_0x2775ba;super(_0x5404a0,_0x2e192b,null,[],_0x4e66d5,_0x2c184c,_0x49faa1,_0x29d624,_0x7113fa),g(this,_0x435a92(0x54b),_0x435a92(0x410)),(this[_0x435a92(0x383)]=_0xe818a4,this[_0x435a92(0x4bd)]=_0x154a31,this['_transformService']=_0x310e41);}[_0x2775ba(0x58f)](_0xd0e8b1){const _0x526aa0=_0x2775ba,_0x56d4e7=this[_0x526aa0(0x383)][_0x526aa0(0x3ed)](pe,this[_0x526aa0(0x1e7)],this[_0x526aa0(0x54c)],[_0xd0e8b1],this[_0x526aa0(0x34e)]);return _0x56d4e7[_0x526aa0(0x3e4)](),_0x56d4e7['_updateLocalCache'](),_0x56d4e7;}[_0x2775ba(0x572)](_0x2086b8){const _0x4d9805=_0x2775ba;if(this[_0x4d9805(0x217)](_0x2086b8))return this[_0x4d9805(0x383)]['createInstance'](he,this[_0x4d9805(0x1e7)],this[_0x4d9805(0x54c)],null,[],null,[_0x2086b8],this[_0x4d9805(0x34e)]);try{const _0x141498=this['_transformService'][_0x4d9805(0x5d3)](_0x2086b8,[po]);if(_0x63ba33(_0x141498)){const {c1Prime:_0x5b99ac}=_0x141498;return this[_0x4d9805(0x43f)](_0x5b99ac),this;}throw _0x141498['error'];}catch(_0x4576ce){return this[_0x4d9805(0x4bd)][_0x4d9805(0x274)](_0x4576ce),this[_0x4d9805(0x586)](!0x1);}}[_0x2775ba(0x586)](_0x1c0c9f){const _0x2e4e35=_0x2775ba;return this[_0x2e4e35(0x383)][_0x2e4e35(0x3ed)](Re,this[_0x2e4e35(0x1e7)],this[_0x2e4e35(0x54c)],null,[],this['_handler'],_0x1c0c9f);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2775ba(0x360)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x35f22c=_0x2775ba;return this[_0x35f22c(0x383)][_0x35f22c(0x3ed)](Oe,this[_0x35f22c(0x1e7)],this[_0x35f22c(0x54c)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x2775ba(0x433)](){const _0x26b9bc=_0x2775ba;throw new Error(_0x26b9bc(0x301));}['fetchMiss'](){const _0x39aa58=_0x2775ba,_0x2944f5=this[_0x39aa58(0x45f)][_0x39aa58(0x366)](this[_0x39aa58(0x1e7)]);return this[_0x39aa58(0x34e)]['onMissingChangesets']({'from':_0x2944f5,'to':0x0}),this['_injector'][_0x39aa58(0x3ed)](he,this[_0x39aa58(0x1e7)],this[_0x39aa58(0x54c)],null,[],null,[],this[_0x39aa58(0x34e)]);}};Fe=$e([A(0x3,_0x6fd5ef(_0x1e4829)),A(0x4,_0x6fd5ef(q)),A(0x5,_0x6fd5ef(_0x5df3a5)),A(0x6,_0x2804f5),A(0x7,_0x386a88),A(0x8,_0x21d5e3),A(0x9,_0x22e7dd)],Fe);let pe=class extends He{constructor(_0x181fc6,_0x14a0e9,_0x23b2ad,_0x54c73c,_0x15b48b,_0x25f174,_0xbd803a,_0x229355,_0x2f28e8,_0x12d9e6,_0x3e9da8,_0x288ff0,_0x3fbbae,_0x49bc1b){const _0x4163a9=_0x2775ba;super(_0x181fc6,_0x14a0e9,null,_0x23b2ad,_0x54c73c,_0x12d9e6,_0x49bc1b,_0x25f174,_0xbd803a),g(this,_0x4163a9(0x54b),_0x4163a9(0x1c7)),g(this,'_scheduleTimestamp',null),g(this,_0x4163a9(0x381),null),(this[_0x4163a9(0x383)]=_0x15b48b,this[_0x4163a9(0x208)]=_0x229355,this[_0x4163a9(0x4bd)]=_0x2f28e8,this[_0x4163a9(0x1dc)]=_0x3e9da8,this[_0x4163a9(0x3cf)]=_0x288ff0,this['_univerInstanceService']=_0x3fbbae);}[_0x2775ba(0x58f)](_0x2af4c0){const _0x403638=_0x2775ba;return this[_0x403638(0x4cb)]['push'](_0x2af4c0),this['_updateLocalCache'](),this;}[_0x2775ba(0x572)](_0x543236){const _0x59b25c=_0x2775ba;if(this[_0x59b25c(0x217)](_0x543236))return this[_0x59b25c(0x55e)](),this[_0x59b25c(0x383)]['createInstance'](he,this[_0x59b25c(0x1e7)],this['type'],null,this['_pendingMutations'],null,[_0x543236],this[_0x59b25c(0x34e)]);try{const _0x5ca12b=this[_0x59b25c(0x3cf)][_0x59b25c(0x5d3)](_0x543236,this[_0x59b25c(0x4cb)]);if(_0x63ba33(_0x5ca12b)){const {c1Prime:_0x42d6f3,m2Prime:_0x5230c2}=_0x5ca12b;this[_0x59b25c(0x43f)](_0x42d6f3);const _0x2412bb=this[_0x59b25c(0x383)][_0x59b25c(0x3ed)](pe,this[_0x59b25c(0x1e7)],this['type'],_0x5230c2,this[_0x59b25c(0x34e)]);return this[_0x59b25c(0x55e)](),_0x2412bb[_0x59b25c(0x3e4)](this[_0x59b25c(0x3ee)]?Math[_0x59b25c(0x41c)](0x0,new Date()[_0x59b25c(0x1d2)]()-this[_0x59b25c(0x3ee)]):this[_0x59b25c(0x3d6)]()),_0x2412bb;}throw _0x5ca12b[_0x59b25c(0x274)];}catch(_0xc53626){return this[_0x59b25c(0x4bd)][_0x59b25c(0x274)](_0xc53626),this[_0x59b25c(0x586)](!0x1);}}[_0x2775ba(0x397)](){const _0x29e600=_0x2775ba;throw new Error(_0x29e600(0x1df));}[_0x2775ba(0x360)](){const _0x360d25=_0x2775ba;throw new Error(_0x360d25(0x5ac));}[_0x2775ba(0x49e)](){return this;}[_0x2775ba(0x280)](){const _0x12eaec=_0x2775ba;return this[_0x12eaec(0x55e)](),this[_0x12eaec(0x383)][_0x12eaec(0x3ed)](Oe,this[_0x12eaec(0x1e7)],this[_0x12eaec(0x54c)],null,this[_0x12eaec(0x4cb)],this[_0x12eaec(0x34e)]);}[_0x2775ba(0x2cf)](){return this;}['_schedule'](_0x4c5153){const _0x442027=_0x2775ba,_0x15b4a2=_0x4c5153!=null?_0x4c5153:this[_0x442027(0x3d6)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x442027(0x381)]=window[_0x442027(0x322)](()=>{const _0x188049=_0x442027;this[_0x188049(0x55e)]();let _0xe5695f=null;switch(this[_0x188049(0x54c)]){case ce['UNIVER_SHEET']:{_0xe5695f=Vs(this[_0x188049(0x4cb)],this[_0x188049(0x1e7)],this[_0x188049(0x394)],this['_revisionService'],this[_0x188049(0x208)]);break;}case ce[_0x188049(0x573)]:{this[_0x188049(0x4cb)][_0x188049(0x1e4)](_0x25e50b=>_0x25e50b['id']===_0xc7f79b['id'])?_0xe5695f=mo(this[_0x188049(0x4cb)],this[_0x188049(0x1e7)],this[_0x188049(0x394)],this[_0x188049(0x45f)],this[_0x188049(0x208)]):_0xe5695f=Vs(this[_0x188049(0x4cb)],this['unitID'],this[_0x188049(0x394)],this[_0x188049(0x45f)],this[_0x188049(0x208)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x188049(0x54c)]+_0x188049(0x248));}const {changeset:_0x346f9a,pendingMutations:_0x3a3f1b}=_0xe5695f;this[_0x188049(0x34e)][_0x188049(0x2f3)](_0x346f9a);const _0x3f3293=_0x3a3f1b[_0x188049(0x549)]?this[_0x188049(0x383)][_0x188049(0x3ed)](ge,this[_0x188049(0x1e7)],this[_0x188049(0x54c)],_0x346f9a,_0x3a3f1b,this[_0x188049(0x34e)],void 0x0):this[_0x188049(0x383)]['createInstance'](Te,this[_0x188049(0x1e7)],this[_0x188049(0x54c)],_0x346f9a,this[_0x188049(0x34e)]);_0x3f3293[_0x188049(0x1cf)](),this[_0x188049(0x34e)][_0x188049(0x530)](this,_0x3f3293);},_0x15b4a2);}[_0x2775ba(0x3d6)](){const _0x10104c=_0x2775ba;var _0x450af8;const _0x460f7f=this[_0x10104c(0x1dc)][_0x10104c(0x4ad)](te);return(_0x450af8=_0x460f7f==null?void 0x0:_0x460f7f['sendChangesetTimeout'])!=null?_0x450af8:_r;}[_0x2775ba(0x433)](){const _0x55c858=_0x2775ba;throw new Error(_0x55c858(0x21c));}[_0x2775ba(0x55e)](){const _0x4d5967=_0x2775ba;this[_0x4d5967(0x381)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x2775ba(0x586)](_0x8e73b9){const _0x33469d=_0x2775ba;return this['_clearScheduledTask'](),this[_0x33469d(0x383)][_0x33469d(0x3ed)](Re,this[_0x33469d(0x1e7)],this[_0x33469d(0x54c)],null,this['_pendingMutations'],this[_0x33469d(0x34e)],_0x8e73b9);}};pe=$e([A(0x4,_0x6fd5ef(_0x5df3a5)),A(0x5,_0x6fd5ef(_0x1e4829)),A(0x6,_0x6fd5ef(q)),A(0x7,_0x6fd5ef(Me)),A(0x8,_0x21d5e3),A(0x9,_0x386a88),A(0xa,_0x400e14),A(0xb,_0x22e7dd),A(0xc,_0x250342),A(0xd,_0x2804f5)],pe);let Te=class extends He{constructor(_0x10d680,_0x50b180,_0x796de5,_0x2ab46e,_0x505a83,_0x5370a8,_0x30e302,_0x15a8de,_0x113030,_0x192953,_0x1775c9){const _0x436ab3=_0x2775ba;super(_0x10d680,_0x50b180,_0x796de5,[],_0x2ab46e,_0x15a8de,_0x1775c9,_0x5370a8,_0x30e302),g(this,_0x436ab3(0x54b),_0x436ab3(0x2a4)),g(this,'_resendTimeout',0x0),g(this,_0x436ab3(0x4a2)),g(this,'_sender'),(this['_injector']=_0x505a83,this[_0x436ab3(0x4bd)]=_0x113030,this['_transformService']=_0x192953);}[_0x2775ba(0x58f)](_0x167c2d){const _0x554985=_0x2775ba;this[_0x554985(0x55e)]();const _0x534c97=this[_0x554985(0x383)][_0x554985(0x3ed)](ge,this[_0x554985(0x1e7)],this[_0x554985(0x54c)],this[_0x554985(0x1f7)],[_0x167c2d],this['_handler'],this[_0x554985(0x4a2)]);return _0x534c97[_0x554985(0x1cf)](),_0x534c97;}[_0x2775ba(0x572)](_0xc7603d){const _0x513dc3=_0x2775ba;if(this[_0x513dc3(0x217)](_0xc7603d))return this[_0x513dc3(0x55e)](),this[_0x513dc3(0x383)][_0x513dc3(0x3ed)](he,this[_0x513dc3(0x1e7)],this[_0x513dc3(0x54c)],this[_0x513dc3(0x1f7)],[],null,[_0xc7603d],this[_0x513dc3(0x34e)]);try{const _0x27f171=this[_0x513dc3(0x3cf)]['transformChangesets']([_0xc7603d],[this[_0x513dc3(0x1f7)]],!0x1);if(_0x16085a(_0x27f171)){const {c1Prime:_0x2fac86,c2Prime:_0x1301b3}=_0x27f171;this[_0x513dc3(0x43f)](_0x2fac86[0x0]),_0x1301b3[0x0]['baseRev']=this[_0x513dc3(0x3b8)](),this['_clearScheduledTask']();const _0x538552=this[_0x513dc3(0x383)][_0x513dc3(0x3ed)](Te,this[_0x513dc3(0x1e7)],this['type'],_0x1301b3[0x0],this[_0x513dc3(0x34e)]);return _0x538552[_0x513dc3(0x1cf)](),_0x538552;}return this[_0x513dc3(0x586)](!0x1);}catch(_0x2db10d){return this[_0x513dc3(0x4bd)][_0x513dc3(0x274)](_0x2db10d),this[_0x513dc3(0x586)](!0x1);}}['onRemoteAck'](_0x3b077f){const _0x3ba35c=_0x2775ba;this[_0x3ba35c(0x55e)]();const _0x1b08a8=this['_revisionService'][_0x3ba35c(0x366)](this['unitID']);if(_0x3b077f[_0x3ba35c(0x272)]<_0x1b08a8-0x1)return this;if(this[_0x3ba35c(0x217)](_0x3b077f))return this[_0x3ba35c(0x383)][_0x3ba35c(0x3ed)](he,this[_0x3ba35c(0x1e7)],this[_0x3ba35c(0x54c)],null,[],this[_0x3ba35c(0x1f7)],[],this['_handler']);this[_0x3ba35c(0x38e)]();const _0x2dbda0=this['_injector']['createInstance'](Fe,this[_0x3ba35c(0x1e7)],this['type'],this[_0x3ba35c(0x34e)]);return _0x2dbda0[_0x3ba35c(0x1cf)](),_0x2dbda0;}[_0x2775ba(0x360)](_0xc938d6){const _0x125f3c=_0x2775ba;return this[_0x125f3c(0x586)](!!(_0xc938d6!=null&&_0xc938d6[_0x125f3c(0x35f)]));}[_0x2775ba(0x49e)](_0x10c7ff){const _0x575eaf=_0x2775ba;return this[_0x575eaf(0x455)]>Ni?this[_0x575eaf(0x280)]():(this[_0x575eaf(0x4a2)]=Ui(this[_0x575eaf(0x455)],{'timeout':this[_0x575eaf(0x455)],'reqId':_0x10c7ff['reqId']}),this[_0x575eaf(0x304)]=this[_0x575eaf(0x4a2)][_0x575eaf(0x473)](({reqId:_0x4fd28b,timeout:_0x1dd7df})=>{this['_resendWithTimeout'](_0x4fd28b,_0x1dd7df);}),this);}[_0x2775ba(0x280)](){const _0x29d7b9=_0x2775ba;return this[_0x29d7b9(0x55e)](),this[_0x29d7b9(0x383)]['createInstance'](Oe,this['unitID'],this[_0x29d7b9(0x54c)],this[_0x29d7b9(0x1f7)],[],this[_0x29d7b9(0x34e)]);}[_0x2775ba(0x2cf)](){return this;}[_0x2775ba(0x433)](){const _0x59e42b=_0x2775ba;this[_0x59e42b(0x34e)]['onSendChangeset'](this[_0x59e42b(0x1f7)]);}[_0x2775ba(0x586)](_0x25519b){const _0x2da836=_0x2775ba;return this[_0x2da836(0x55e)](),this[_0x2da836(0x383)][_0x2da836(0x3ed)](Re,this[_0x2da836(0x1e7)],this[_0x2da836(0x54c)],this['_awaitingChangeset'],[],this['_handler'],_0x25519b);}[_0x2775ba(0x4ab)](_0x35108a,_0x11e4dc){const _0x2e5131=_0x2775ba;var _0x3ec97e;_0x35108a===((_0x3ec97e=this[_0x2e5131(0x1f7)])==null?void 0x0:_0x3ec97e[_0x2e5131(0x42c)])&&(this[_0x2e5131(0x433)](),this[_0x2e5131(0x455)]=_0x11e4dc===0x0?0x3e8:_0x11e4dc*0x2);}[_0x2775ba(0x55e)](){const _0x2d36c8=_0x2775ba;var _0x30ef71;(_0x30ef71=this[_0x2d36c8(0x304)])==null||_0x30ef71[_0x2d36c8(0x501)](),this[_0x2d36c8(0x455)]=0x0;}};Te=$e([A(0x4,_0x6fd5ef(_0x5df3a5)),A(0x5,_0x6fd5ef(_0x1e4829)),A(0x6,_0x6fd5ef(q)),A(0x7,_0x386a88),A(0x8,_0x21d5e3),A(0x9,_0x22e7dd),A(0xa,_0x2804f5)],Te);let ge=class extends He{constructor(_0x45b09c,_0x5a52b9,_0x506848,_0x35f165,_0x38bea7,_0x247047,_0x2076c6,_0x2e1a5a,_0x734a21,_0x40c002,_0x30cf69,_0x47bd21,_0xc97b6e){const _0x4e72e2=_0x2775ba;super(_0x45b09c,_0x5a52b9,_0x506848,_0x35f165,_0x38bea7,_0x40c002,_0xc97b6e,_0x2e1a5a,_0x734a21),g(this,'status',_0x4e72e2(0x307)),g(this,_0x4e72e2(0x455),0x0),g(this,'_resendTimer'),g(this,_0x4e72e2(0x304)),(this[_0x4e72e2(0x383)]=_0x2076c6,this['_logService']=_0x30cf69,this[_0x4e72e2(0x3cf)]=_0x47bd21,_0x247047&&(this[_0x4e72e2(0x4a2)]=_0x247047,this[_0x4e72e2(0x304)]=this[_0x4e72e2(0x4a2)]['subscribe'](({reqId:_0x3c8665,timeout:_0x286505})=>{const _0x31a583=_0x4e72e2;this[_0x31a583(0x4ab)](_0x3c8665,_0x286505);})));}[_0x2775ba(0x58f)](_0xf1fd10){const _0xb89f6c=_0x2775ba;return this[_0xb89f6c(0x4cb)][_0xb89f6c(0x3c1)](_0xf1fd10),this;}[_0x2775ba(0x572)](_0x235140){const _0x50ee40=_0x2775ba;if(this['_checkMissing'](_0x235140))return this[_0x50ee40(0x55e)](),this[_0x50ee40(0x383)][_0x50ee40(0x3ed)](he,this[_0x50ee40(0x1e7)],this[_0x50ee40(0x54c)],this[_0x50ee40(0x1f7)],this[_0x50ee40(0x4cb)],null,[_0x235140],this['_handler']);try{const _0x350ac8=this[_0x50ee40(0x3cf)]['transformChangesets']([_0x235140],[this[_0x50ee40(0x1f7)]],!0x1);if(_0x16085a(_0x350ac8)){const {c1Prime:_0x24539e,c2Prime:_0x339043}=_0x350ac8,_0x242d9a=this[_0x50ee40(0x3cf)][_0x50ee40(0x5d3)](_0x24539e[0x0],this[_0x50ee40(0x4cb)]);if(_0x63ba33(_0x242d9a)){const {c1Prime:_0x5e870f,m2Prime:_0x41511f}=_0x242d9a;return this['_executeRemoteChangeset'](_0x5e870f),_0x339043[0x0][_0x50ee40(0x4a9)]=this[_0x50ee40(0x3b8)](),this[_0x50ee40(0x55e)](),this[_0x50ee40(0x383)][_0x50ee40(0x3ed)](ge,this['unitID'],this[_0x50ee40(0x54c)],_0x339043[0x0],_0x41511f,this['_handler'],void 0x0);}throw _0x242d9a[_0x50ee40(0x274)];}throw _0x350ac8[_0x50ee40(0x274)];}catch(_0x17a58e){return this[_0x50ee40(0x4bd)][_0x50ee40(0x274)](_0x17a58e),this[_0x50ee40(0x586)](!0x1);}}[_0x2775ba(0x397)](_0x33a9b9){const _0x5e41dc=_0x2775ba;if(this[_0x5e41dc(0x55e)](),this['_checkMissing'](_0x33a9b9))return this[_0x5e41dc(0x383)]['createInstance'](he,this['unitID'],this[_0x5e41dc(0x54c)],null,this[_0x5e41dc(0x4cb)],this[_0x5e41dc(0x1f7)],[],this['_handler']);this[_0x5e41dc(0x38e)]();const _0x14cbff=this[_0x5e41dc(0x383)][_0x5e41dc(0x3ed)](pe,this[_0x5e41dc(0x1e7)],this[_0x5e41dc(0x54c)],this[_0x5e41dc(0x4cb)],this[_0x5e41dc(0x34e)]);return _0x14cbff['_schedule'](),_0x14cbff['_updateLocalCache'](),_0x14cbff;}['onRemoteRej'](_0x58599d){const _0x1c76ed=_0x2775ba;return this['_onConflict'](!!(_0x58599d!=null&&_0x58599d[_0x1c76ed(0x35f)]));}[_0x2775ba(0x49e)](_0x353b02){const _0x3808c5=_0x2775ba;return this[_0x3808c5(0x455)]>Ni?this[_0x3808c5(0x280)]():(this[_0x3808c5(0x4a2)]=Ui(this['_resendTimeout'],{'timeout':this[_0x3808c5(0x455)],'reqId':_0x353b02['reqId']}),this[_0x3808c5(0x304)]=this[_0x3808c5(0x4a2)][_0x3808c5(0x473)](({reqId:_0x5f595b,timeout:_0x48cb56})=>{const _0x22c37f=_0x3808c5;this[_0x22c37f(0x4ab)](_0x5f595b,_0x48cb56);}),this);}[_0x2775ba(0x280)](){const _0x366122=_0x2775ba;return this['_clearScheduledTask'](),this[_0x366122(0x383)][_0x366122(0x3ed)](Oe,this[_0x366122(0x1e7)],this['type'],this[_0x366122(0x1f7)],this[_0x366122(0x4cb)],this[_0x366122(0x34e)]);}['toggleOnline'](){return this;}[_0x2775ba(0x433)](){const _0x2274e6=_0x2775ba;this[_0x2274e6(0x34e)][_0x2274e6(0x2f3)](this[_0x2274e6(0x1f7)]);}[_0x2775ba(0x586)](_0x6848b2){const _0x970aff=_0x2775ba;return this[_0x970aff(0x55e)](),this[_0x970aff(0x383)][_0x970aff(0x3ed)](Re,this[_0x970aff(0x1e7)],this['type'],null,this[_0x970aff(0x4cb)],this['_handler'],_0x6848b2);}[_0x2775ba(0x4ab)](_0x2353c4,_0x447044){const _0xc6ef1d=_0x2775ba;var _0x24d825;_0x2353c4===((_0x24d825=this[_0xc6ef1d(0x1f7)])==null?void 0x0:_0x24d825[_0xc6ef1d(0x42c)])&&(this[_0xc6ef1d(0x433)](),this['_resendTimeout']=_0x447044===0x0?0x3e8:_0x447044*0x2);}[_0x2775ba(0x55e)](){const _0x2a37c8=_0x2775ba;var _0x24719a;(_0x24719a=this[_0x2a37c8(0x304)])==null||_0x24719a[_0x2a37c8(0x501)](),this[_0x2a37c8(0x455)]=0x0;}};ge=$e([A(0x6,_0x6fd5ef(_0x5df3a5)),A(0x7,_0x6fd5ef(_0x1e4829)),A(0x8,_0x6fd5ef(q)),A(0x9,_0x386a88),A(0xa,_0x21d5e3),A(0xb,_0x22e7dd),A(0xc,_0x2804f5)],ge);let Re=class extends He{constructor(_0x2aa451,_0x21f189,_0x3d787e,_0x1b1d8c,_0x1f5caa,_0x46cd69=!0x1,_0x233ca0,_0x3591b9,_0x4c4b88,_0x380b1a,_0x44e4d5,_0x4b59a7,_0x2da862){const _0x59735a=_0x2775ba;super(_0x2aa451,_0x21f189,_0x3d787e,_0x1b1d8c,_0x1f5caa,_0x3591b9,_0x4c4b88,_0x44e4d5,_0x380b1a),g(this,'status',_0x59735a(0x3a9)),(this[_0x59735a(0x58e)]=_0x46cd69,this[_0x59735a(0x20c)]=_0x233ca0,this[_0x59735a(0x3c5)]=_0x4b59a7,this[_0x59735a(0x2e1)]=_0x2da862,this[_0x59735a(0x294)](),this[_0x59735a(0x4a5)](),this[_0x59735a(0x2d1)]());}[_0x2775ba(0x58f)](){return this;}[_0x2775ba(0x572)](){return this;}[_0x2775ba(0x397)](){return this;}[_0x2775ba(0x360)](){return this;}[_0x2775ba(0x49e)](){return this;}[_0x2775ba(0x280)](){return this;}[_0x2775ba(0x2cf)](){return this;}[_0x2775ba(0x433)](){const _0x50defa=_0x2775ba;throw new Error(_0x50defa(0x226));}[_0x2775ba(0x4a5)](){const _0x11847c=_0x2775ba;this[_0x11847c(0x296)][_0x11847c(0x5d4)](this[_0x11847c(0x1e7)],this['type'],null,[]);}[_0x2775ba(0x294)](){const _0xdde1f0=_0x2775ba;this[_0xdde1f0(0x58e)]?this[_0xdde1f0(0x2e1)]['show']({'title':this[_0xdde1f0(0x3c5)]['t']('permission.title'),'content':this[_0xdde1f0(0x3c5)]['t']('permission.content'),'type':_0xdde1f0(0x274),'duration':0x0}):this['_notificationService'][_0xdde1f0(0x28b)]({'title':this[_0xdde1f0(0x3c5)]['t'](_0xdde1f0(0x5ab)),'content':this[_0xdde1f0(0x3c5)]['t']('conflict.content'),'type':_0xdde1f0(0x274),'duration':0x0});}['_disableEditing'](){const _0x48a2c1=_0x2775ba;this[_0x48a2c1(0x20c)]['updatePermissionPoint'](new _0x5bff86(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x6fd5ef(_0x54a632)),A(0x7,_0x386a88),A(0x8,_0x2804f5),A(0x9,_0x6fd5ef(q)),A(0xa,_0x6fd5ef(_0x1e4829)),A(0xb,_0x6fd5ef(_0x312a5a)),A(0xc,_0x5eb804)],Re);let Oe=class extends He{constructor(_0x23ca95,_0x476239,_0x1719e0,_0x260885,_0x5c3892,_0x356434,_0x4a5134,_0x2745ef,_0x97fcf4,_0x34d83a){const _0x506731=_0x2775ba;super(_0x23ca95,_0x476239,_0x1719e0,_0x260885,_0x5c3892,_0x97fcf4,_0x34d83a,_0x4a5134,_0x2745ef),g(this,_0x506731(0x54b),_0x506731(0x4fd)),this[_0x506731(0x383)]=_0x356434;}[_0x2775ba(0x58f)](_0x3fa11e){const _0x5b238b=_0x2775ba;return this['_pendingMutations'][_0x5b238b(0x3c1)](_0x3fa11e),this[_0x5b238b(0x1cf)](),this;}['onRemoteChangeset'](_0x35f65c){const _0x247ac1=_0x2775ba;throw new Error(_0x247ac1(0x5d6));}[_0x2775ba(0x397)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2775ba(0x360)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x2775ba(0x49e)](){return this;}['toggleOffline'](){return this;}[_0x2775ba(0x2cf)](){const _0xd1f565=_0x2775ba,{_injector:_0x21ed67,_pendingMutations:_0x51d4ea,_awaitingChangeset:_0x35c1a5,unitID:_0x36a959,_handler:_0x3057bb,type:_0x54ae60}=this,_0x3f18ad=Ai(_0x21ed67,_0x36a959,_0x54ae60,_0x35c1a5,_0x51d4ea,_0x3057bb);return _0x3f18ad instanceof pe?_0x3f18ad[_0xd1f565(0x3e4)]():(_0x3f18ad instanceof ge||_0x3f18ad instanceof Te)&&_0x3f18ad[_0xd1f565(0x433)](),_0x3f18ad;}[_0x2775ba(0x433)](){const _0x1c6e59=_0x2775ba;throw new Error(_0x1c6e59(0x298));}};Oe=$e([A(0x5,_0x6fd5ef(_0x5df3a5)),A(0x6,_0x6fd5ef(_0x1e4829)),A(0x7,_0x6fd5ef(q)),A(0x8,_0x386a88),A(0x9,_0x2804f5)],Oe);let he=class extends He{constructor(_0x2b0fa1,_0x4e4afd,_0x5716a2,_0x22a8f2,_0x1c6e34,_0x194b92,_0x2579b8,_0x4e3725,_0x371891,_0x2088e5,_0x9e12d,_0x3f8b45,_0x533f23,_0x231999){const _0x3869c7=_0x2775ba;super(_0x2b0fa1,_0x4e4afd,_0x5716a2,_0x22a8f2,_0x2579b8,_0x3f8b45,_0x533f23,_0x371891,_0x2088e5),g(this,_0x3869c7(0x54b),_0x3869c7(0x526)),(this['_acknowledgedAwaitingChangeset']=_0x1c6e34,this[_0x3869c7(0x38c)]=_0x194b92,this['_injector']=_0x4e3725,this[_0x3869c7(0x4bd)]=_0x9e12d,this[_0x3869c7(0x3cf)]=_0x231999);}[_0x2775ba(0x59e)](_0x190dc0){const _0x1e3523=_0x2775ba;try{const _0x304f88=[..._0x190dc0,...this[_0x1e3523(0x38c)]],_0x3e3432=[this[_0x1e3523(0x1f7)]||this[_0x1e3523(0x54e)]]['filter'](_0x2f1259=>!!_0x2f1259);let _0x3e184f,_0x25bbd0;if(_0x3e3432[_0x1e3523(0x549)]){const _0x39f9b9=this[_0x1e3523(0x3cf)][_0x1e3523(0x491)](_0x304f88,_0x3e3432,!0x1);if(!_0x16085a(_0x39f9b9))throw _0x39f9b9[_0x1e3523(0x274)];_0x3e184f=_0x39f9b9['c1Prime'],_0x25bbd0=_0x39f9b9[_0x1e3523(0x284)];}else _0x3e184f=_0x304f88,_0x25bbd0=[];let _0x32323c=this['_pendingMutations'];_0x3e184f[_0x1e3523(0x48a)](_0x34f93d=>{const _0x2205b6=_0x1e3523;let _0x1a7f35;if(_0x32323c[_0x2205b6(0x549)]){const _0x43e2b1=this[_0x2205b6(0x3cf)][_0x2205b6(0x5d3)](_0x34f93d,_0x32323c);if(!_0x63ba33(_0x43e2b1))throw _0x43e2b1[_0x2205b6(0x274)];_0x1a7f35=_0x43e2b1['c1Prime'],_0x32323c=_0x43e2b1[_0x2205b6(0x282)];}else _0x1a7f35=_0x34f93d;this[_0x2205b6(0x43f)](_0x1a7f35);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1e3523(0x38e)](),this[_0x1e3523(0x1f7)]&&_0x25bbd0[_0x1e3523(0x549)]&&(_0x25bbd0[0x0][_0x1e3523(0x4a9)]=this[_0x1e3523(0x3b8)]());let _0x2179d8;if(this[_0x1e3523(0x1f7)]&&_0x32323c[_0x1e3523(0x549)]!==0x0)_0x2179d8=this[_0x1e3523(0x383)][_0x1e3523(0x3ed)](ge,this[_0x1e3523(0x1e7)],this[_0x1e3523(0x54c)],_0x25bbd0[0x0],_0x32323c,this[_0x1e3523(0x34e)],void 0x0);else{if(this[_0x1e3523(0x1f7)]&&_0x32323c[_0x1e3523(0x549)]===0x0)_0x25bbd0[0x0][_0x1e3523(0x4a9)]=this[_0x1e3523(0x3b8)](),_0x2179d8=this['_injector']['createInstance'](Te,this['unitID'],this['type'],_0x25bbd0[0x0],this['_handler']);else{if(_0x32323c['length']!==0x0){const _0x12ad71=this[_0x1e3523(0x383)][_0x1e3523(0x3ed)](pe,this[_0x1e3523(0x1e7)],this['type'],_0x32323c,this[_0x1e3523(0x34e)]);_0x12ad71[_0x1e3523(0x3e4)](),_0x2179d8=_0x12ad71;}else _0x2179d8=this[_0x1e3523(0x383)][_0x1e3523(0x3ed)](Fe,this[_0x1e3523(0x1e7)],this[_0x1e3523(0x54c)],this['_handler']);}}return _0x2179d8[_0x1e3523(0x1cf)](),_0x2179d8;}catch(_0x376c21){return this[_0x1e3523(0x4bd)][_0x1e3523(0x274)](_0x1e3523(0x210),_0x1e3523(0x2e7),_0x376c21),this['_injector']['createInstance'](Re,this[_0x1e3523(0x1e7)],this[_0x1e3523(0x54c)],this['_awaitingChangeset'],this[_0x1e3523(0x4cb)],this[_0x1e3523(0x34e)],!0x1);}}[_0x2775ba(0x433)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x440671){const _0x2ed626=_0x2775ba;return this['_pendingMutations'][_0x2ed626(0x3c1)](_0x440671),this;}[_0x2775ba(0x572)](_0xc5ab5d){const _0x45bb1a=_0x2775ba;return this[_0x45bb1a(0x38c)][_0x45bb1a(0x3c1)](_0xc5ab5d),this;}[_0x2775ba(0x397)](_0x34059a){const _0x5bb53c=_0x2775ba;if(this[_0x5bb53c(0x1f7)])return this[_0x5bb53c(0x54e)]=this[_0x5bb53c(0x1f7)],this[_0x5bb53c(0x1f7)]=null,this;throw new Error(_0x5bb53c(0x591));}[_0x2775ba(0x360)](_0x22f054){const _0x2ec495=_0x2775ba;return this[_0x2ec495(0x586)](!!(_0x22f054!=null&&_0x22f054[_0x2ec495(0x35f)]));}[_0x2775ba(0x49e)](){return this;}[_0x2775ba(0x280)](){const _0x3707c0=_0x2775ba;return this[_0x3707c0(0x383)]['createInstance'](Oe,this[_0x3707c0(0x1e7)],this[_0x3707c0(0x54c)],this[_0x3707c0(0x1f7)],this[_0x3707c0(0x4cb)],this[_0x3707c0(0x34e)]);}[_0x2775ba(0x2cf)](){return this;}[_0x2775ba(0x586)](_0x115c22){const _0x1b8d97=_0x2775ba;return this['_injector'][_0x1b8d97(0x3ed)](Re,this[_0x1b8d97(0x1e7)],this[_0x1b8d97(0x54c)],this['_awaitingChangeset'],this[_0x1b8d97(0x4cb)],this[_0x1b8d97(0x34e)],_0x115c22);}};he=$e([A(0x7,_0x6fd5ef(_0x5df3a5)),A(0x8,_0x6fd5ef(_0x1e4829)),A(0x9,_0x6fd5ef(q)),A(0xa,_0x21d5e3),A(0xb,_0x386a88),A(0xc,_0x2804f5),A(0xd,_0x22e7dd)],he);function Ai(_0x5a5145,_0x2cb019,_0x4cd4d7,_0x3253ad,_0x1cdf8a,_0x10bf23){const _0x5bee56=_0x2775ba;return _0x3253ad&&_0x1cdf8a['length']?_0x5a5145[_0x5bee56(0x3ed)](ge,_0x2cb019,_0x4cd4d7,_0x3253ad,_0x1cdf8a,_0x10bf23,void 0x0):_0x3253ad?_0x5a5145['createInstance'](Te,_0x2cb019,_0x4cd4d7,_0x3253ad,_0x10bf23):_0x1cdf8a[_0x5bee56(0x549)]?_0x5a5145['createInstance'](pe,_0x2cb019,_0x4cd4d7,_0x1cdf8a,_0x10bf23):_0x5a5145[_0x5bee56(0x3ed)](Fe,_0x2cb019,_0x4cd4d7,_0x10bf23);}var Io=Object[_0x2775ba(0x29e)],Co=Object['getOwnPropertyDescriptor'],Es=(_0x390aab,_0x5be19a,_0x3f17e1,_0x2d5b8e)=>{const _0x5706ab=_0x2775ba;for(var _0x327410=_0x2d5b8e>0x1?void 0x0:_0x2d5b8e?Co(_0x5be19a,_0x3f17e1):_0x5be19a,_0x33ccb8=_0x390aab[_0x5706ab(0x549)]-0x1,_0x5e8270;_0x33ccb8>=0x0;_0x33ccb8--)(_0x5e8270=_0x390aab[_0x33ccb8])&&(_0x327410=(_0x2d5b8e?_0x5e8270(_0x5be19a,_0x3f17e1,_0x327410):_0x5e8270(_0x327410))||_0x327410);return _0x2d5b8e&&_0x327410&&Io(_0x5be19a,_0x3f17e1,_0x327410),_0x327410;},H=(_0x5e7dc4,_0x2a5b7a)=>(_0x53c60f,_0x132b0c)=>_0x2a5b7a(_0x53c60f,_0x132b0c,_0x5e7dc4);let gt=class extends _0x355f5a{constructor(_0x584ab5,_0x404979,_0x23178f,_0x5e3a85,_0x5a3fda,_0x48f2ca,_0x1c7295,_0x456df9,_0x143c1d,_0x32d0a7,_0x36f171,_0xf0cfa7,_0x335dc2){const _0x4a4829=_0x2775ba;super(),g(this,_0x4a4829(0x2cd),new _0x241bf8(null)),g(this,'state$',this[_0x4a4829(0x2cd)][_0x4a4829(0x1e0)]()),g(this,_0x4a4829(0x3ad)),g(this,_0x4a4829(0x3ca),!0x1),g(this,_0x4a4829(0x479),''),g(this,_0x4a4829(0x521),0x0),g(this,_0x4a4829(0x1ce),this[_0x4a4829(0x23a)]['pipe'](_0x1a1360(_0x5edc74=>_0x5edc74?_0x5edc74['status']:J['OFFLINE']),_0x3de655(0x1))),g(this,_0x4a4829(0x402),!0x1),g(this,_0x4a4829(0x5c2),[]),(this[_0x4a4829(0x1e7)]=_0x584ab5,this[_0x4a4829(0x458)]=_0x404979,this[_0x4a4829(0x350)]=_0x23178f,this[_0x4a4829(0x383)]=_0x5e3a85,this['_localCacheService']=_0x5a3fda,this[_0x4a4829(0x4b9)]=_0x48f2ca,this[_0x4a4829(0x3c5)]=_0x1c7295,this[_0x4a4829(0x45f)]=_0x456df9,this[_0x4a4829(0x4bd)]=_0x143c1d,this[_0x4a4829(0x5ca)]=_0x32d0a7,this[_0x4a4829(0x4f3)]=_0x36f171,this[_0x4a4829(0x20c)]=_0xf0cfa7,this[_0x4a4829(0x47d)]=_0x335dc2);}get[_0x2775ba(0x2fe)](){return this['_state'];}async[_0x2775ba(0x506)](){const _0xb249f9=_0x2775ba;if(this[_0xb249f9(0x2fe)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x2775ba(0x45c)](){const _0x2f874e=_0x2775ba;return this[_0x2f874e(0x3ca)]=!0x0,_0x5384ee(()=>{const _0x1e7aea=_0x2f874e;this['_collaborationPaused']=!0x1,this[_0x1e7aea(0x2b7)]();});}['_updateState'](_0x3b87b8){const _0x4fbcf3=_0x2775ba;this[_0x4fbcf3(0x3ad)]=_0x3b87b8,this[_0x4fbcf3(0x2cd)][_0x4fbcf3(0x51e)](_0x3b87b8);}async[_0x2775ba(0x56c)](){const _0x2e048e=_0x2775ba;var _0x34fcdb;this[_0x2e048e(0x58c)](await this[_0x2e048e(0x3f9)]()),this[_0x2e048e(0x47d)]&&((_0x34fcdb=this['_singleActiveUnitService'])==null||_0x34fcdb['editingUnit'](this[_0x2e048e(0x1e7)]),this[_0x2e048e(0x49c)](this[_0x2e048e(0x47d)][_0x2e048e(0x245)](this[_0x2e048e(0x1e7)])['subscribe'](_0x41b08e=>{const _0x36abee=_0x2e048e;this['_logService'][_0x36abee(0x3bc)](_0x36abee(0x253),_0x36abee(0x39c),_0x41b08e),_0x41b08e===Di[_0x36abee(0x264)]?(this['_messageService'][_0x36abee(0x28b)]({'content':this[_0x36abee(0x3c5)]['t'](_0x36abee(0x1e9)),'type':_0x32d67a[_0x36abee(0x1ea)]}),this['_permissionService']['updatePermissionPoint'](new _0x5bff86(this['unitID'])['id'],!0x1),this[_0x36abee(0x20c)]['setShowComponents'](!0x1)):(this[_0x36abee(0x20c)][_0x36abee(0x209)](new _0x5bff86(this[_0x36abee(0x1e7)])['id'],!0x0),this[_0x36abee(0x20c)]['setShowComponents'](!0x0));})));let _0x592cca=!0x1;return this[_0x2e048e(0x49c)](this[_0x2e048e(0x458)][_0x2e048e(0x3a1)][_0x2e048e(0x473)](_0x5f4516=>{const _0x3c1afb=_0x2e048e;_0x5f4516===ve[_0x3c1afb(0x4bf)]?this[_0x3c1afb(0x26f)](_0x592cca):_0x5f4516===ve[_0x3c1afb(0x5d0)]&&(_0x592cca=!0x0,this[_0x3c1afb(0x329)]());})),this['disposeWithMe'](this[_0x2e048e(0x458)][_0x2e048e(0x2a5)][_0x2e048e(0x473)](_0x2d0fe7=>{const _0x35ca45=_0x2e048e;try{switch(_0x2d0fe7['eventID']){case _0x394e1d[_0x35ca45(0x247)]:{this['_onRemoteChangeset'](_0x40b198(_0x2d0fe7[_0x35ca45(0x515)]));break;}case _0x394e1d[_0x35ca45(0x598)]:{this[_0x35ca45(0x204)](_0x2d0fe7['data']);break;}case _0x394e1d[_0x35ca45(0x4fa)]:{this['_onRemoteRejected']();break;}case _0x394e1d[_0x35ca45(0x300)]:{this[_0x35ca45(0x4a7)](_0x2d0fe7['data']);break;}case _0x394e1d['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x35ca45(0x234)](_0x2d0fe7[_0x35ca45(0x515)][_0x35ca45(0x500)][_0x35ca45(0x22c)](_0x4ed9c2=>_0x40b198(_0x4ed9c2)));break;}case _0x394e1d[_0x35ca45(0x1cb)]:this[_0x35ca45(0x4c6)]({'isPermissionRej':!0x0});}}catch(_0x2e2250){throw console['error'](_0x35ca45(0x20d),_0x2e2250),_0x2e2250;}})),this['_state'];}[_0x2775ba(0x375)](){const _0x58b6b3=_0x2775ba;this[_0x58b6b3(0x402)]=!0x1;}['_lockTransition'](){const _0x2f13bb=_0x2775ba;if(this[_0x2f13bb(0x402)])throw new Error(_0x2f13bb(0x2d8));this[_0x2f13bb(0x402)]=!0x0;}['_onLocalMutation'](_0x41a189){const _0x2fe4a1=_0x2775ba;this[_0x2fe4a1(0x5b2)](),this['_updateState'](this['_state'][_0x2fe4a1(0x58f)](_0x41a189)),this[_0x2fe4a1(0x375)]();}['_onRemoteChangeset'](_0x5ab0df){const _0xd1a190=_0x2775ba;if(!(_0x5ab0df['revision']<=this[_0xd1a190(0x45f)]['getCurrentRevOfUnit'](this[_0xd1a190(0x1e7)]))){if(this[_0xd1a190(0x3ca)]){this[_0xd1a190(0x5c2)][_0xd1a190(0x3c1)](_0x5ab0df);return;}this[_0xd1a190(0x4d2)](_0x5ab0df);}}[_0x2775ba(0x2b7)](){const _0x140348=_0x2775ba;this[_0x140348(0x5c2)]['forEach'](_0x50afe2=>this[_0x140348(0x4d2)](_0x50afe2)),this['_remoteChangesetQueue']=[];}[_0x2775ba(0x4d2)](_0x40cf9e){const _0x56fa8f=_0x2775ba,_0x537dbd=this[_0x56fa8f(0x4b9)][_0x56fa8f(0x2b6)]['fetchThroughInterceptors'](this[_0x56fa8f(0x4b9)][_0x56fa8f(0x2b6)][_0x56fa8f(0x503)]()[_0x56fa8f(0x514)])(_0x40cf9e[_0x56fa8f(0x2a9)],null)||_0x40cf9e[_0x56fa8f(0x2a9)],_0x283e6d={..._0x40cf9e,'mutations':_0x537dbd};this[_0x56fa8f(0x5b2)](),this[_0x56fa8f(0x58c)](this[_0x56fa8f(0x3ad)][_0x56fa8f(0x572)](_0x283e6d)),this['_unlockTransition']();}[_0x2775ba(0x204)](_0x15b1f5){const _0x88bd04=_0x2775ba;this['_lockTransition'](),this['_updateState'](this['_state'][_0x88bd04(0x397)](_0x15b1f5)),this[_0x88bd04(0x375)]();}['_onRemoteRejected'](_0x3540c0){const _0x42814e=_0x2775ba;this[_0x42814e(0x5b2)](),this[_0x42814e(0x58c)](this[_0x42814e(0x3ad)]['onRemoteRej'](_0x3540c0)),this[_0x42814e(0x375)]();}[_0x2775ba(0x4a7)](_0x56e437){const _0x154a5d=_0x2775ba;this[_0x154a5d(0x5b2)](),this['_updateState'](this[_0x154a5d(0x3ad)][_0x154a5d(0x49e)](_0x56e437)),this['_unlockTransition']();}['_onFetchMissResult'](_0x359a41){const _0x36a81f=_0x2775ba;if(!(this[_0x36a81f(0x3ad)]instanceof he))throw new TypeError(_0x36a81f(0x3b0));const _0x3e1ac6=_0x359a41[_0x36a81f(0x22c)](_0x503c30=>{const _0xd2f3fb=_0x36a81f,_0x2a91a8=this[_0xd2f3fb(0x4b9)][_0xd2f3fb(0x2b6)][_0xd2f3fb(0x3a5)](this[_0xd2f3fb(0x4b9)]['interceptor'][_0xd2f3fb(0x503)]()[_0xd2f3fb(0x514)])(_0x503c30[_0xd2f3fb(0x2a9)],null)||_0x503c30[_0xd2f3fb(0x2a9)];return{..._0x503c30,'mutations':_0x2a91a8};});this[_0x36a81f(0x5b2)](),this[_0x36a81f(0x58c)](this['_state'][_0x36a81f(0x59e)](_0x3e1ac6)),this[_0x36a81f(0x375)]();}['_toggleOffline'](){const _0x1f7c90=_0x2775ba;this[_0x1f7c90(0x5b2)](),this[_0x1f7c90(0x58c)](this[_0x1f7c90(0x3ad)][_0x1f7c90(0x280)]()),this[_0x1f7c90(0x375)]();}[_0x2775ba(0x26f)](_0x589f06=!0x1){const _0x32f748=_0x2775ba;this['_lockTransition'](),this[_0x32f748(0x58c)](this[_0x32f748(0x3ad)][_0x32f748(0x2cf)]()),this[_0x32f748(0x375)]();const _0x804361=this[_0x32f748(0x3ad)];_0x589f06&&_0x804361 instanceof Fe&&(this[_0x32f748(0x5b2)](),this[_0x32f748(0x58c)](_0x804361[_0x32f748(0x3f0)]()),this[_0x32f748(0x375)]());}async[_0x2775ba(0x3f9)](){return new Promise(_0x4560af=>{const _0x382939=_0x3547;this['session']['sessionStatus$'][_0x382939(0x588)](_0x564cb8(0x1))[_0x382939(0x473)](async _0x20d5a5=>{_0x4560af(await this['_createInitialStateImpl'](_0x20d5a5===ve['ONLINE']));});});}[_0x2775ba(0x23d)](){const _0x94f5d7=_0x2775ba,_0x3f1341=this[_0x94f5d7(0x1e7)];return{'onStateChange':(_0x43de6c,_0x3723d4)=>{const _0x552f52=_0x94f5d7;if(_0x43de6c!==this[_0x552f52(0x3ad)])throw new Error(_0x552f52(0x4ae)+_0x43de6c[_0x552f52(0x54b)]+_0x552f52(0x4d5)+_0x3723d4['status']+'\x0aCurrent:\x20'+this['_state'][_0x552f52(0x54b)]);this[_0x552f52(0x58c)](_0x3723d4);},'onSendChangeset':_0x534bc7=>{const _0x1ef1be=_0x94f5d7;_0x534bc7[_0x1ef1be(0x59d)]||(_0x534bc7[_0x1ef1be(0x59d)]=this[_0x1ef1be(0x479)],_0x534bc7[_0x1ef1be(0x42c)]=++this[_0x1ef1be(0x521)]);const _0x486737={'eventID':_0x394e1d[_0x1ef1be(0x58d)],'data':{'unitID':_0x534bc7[_0x1ef1be(0x1e7)],'unitType':this[_0x1ef1be(0x350)],'changeset':_0x534bc7,'memberID':this[_0x1ef1be(0x458)][_0x1ef1be(0x4da)]()}};this[_0x1ef1be(0x458)][_0x1ef1be(0x35c)](_0x486737,this[_0x1ef1be(0x1e7)]);},'onMissingChangesets':({from:_0x25f719,to:_0x50ab77})=>{const _0x5d0cb6=_0x94f5d7;this[_0x5d0cb6(0x4bd)][_0x5d0cb6(0x3bc)](_0x5d0cb6(0x253),'fetching\x20missing\x20changesets\x20from\x20'+_0x25f719+_0x5d0cb6(0x20a)+_0x50ab77);const _0x197d99={'eventID':_0x394e1d[_0x5d0cb6(0x4fb)],'data':{'unitID':_0x3f1341,'unitType':this[_0x5d0cb6(0x350)],'from':_0x25f719,'to':_0x50ab77}};this['session'][_0x5d0cb6(0x35c)](_0x197d99,this[_0x5d0cb6(0x1e7)]);}};}async['_createInitialStateImpl'](_0x1c97ca){const _0x3798aa=_0x2775ba;var _0x1c1f2a,_0x5dc06a;const _0x8f5639=await this[_0x3798aa(0x296)]['loadOfflineData'](this[_0x3798aa(0x1e7)]),_0x34993a=(_0x1c1f2a=_0x8f5639==null?void 0x0:_0x8f5639[_0x3798aa(0x2a9)])!=null?_0x1c1f2a:[],_0x13fbd5=(_0x5dc06a=_0x8f5639==null?void 0x0:_0x8f5639[_0x3798aa(0x4b3)])!=null?_0x5dc06a:null,_0x1850a5=!!(_0x13fbd5!=null&&_0x13fbd5[_0x3798aa(0x59d)])&&!!(_0x13fbd5!=null&&_0x13fbd5['reqId']);this[_0x3798aa(0x479)]=_0x1850a5?_0x13fbd5[_0x3798aa(0x59d)]:qr(),this['_changesetReqId']=_0x1850a5?_0x13fbd5[_0x3798aa(0x42c)]:0x0;const _0x20338e=this[_0x3798aa(0x1e7)];try{this[_0x3798aa(0x557)](_0x13fbd5,_0x34993a);}catch(_0x4ba986){this[_0x3798aa(0x4bd)]['error'](_0x4ba986);}const _0x369dbc=this[_0x3798aa(0x23d)]();if(_0x1c97ca){const _0x3af470=Ai(this[_0x3798aa(0x383)],_0x20338e,this['_type'],_0x13fbd5,_0x34993a,_0x369dbc);return _0x3af470 instanceof pe?_0x3af470[_0x3798aa(0x3e4)]():(_0x3af470 instanceof ge||_0x3af470 instanceof Te)&&_0x3af470[_0x3798aa(0x433)](),_0x3af470;}return this[_0x3798aa(0x383)][_0x3798aa(0x3ed)](Oe,_0x20338e,this['_type'],_0x13fbd5,_0x34993a,_0x369dbc);}[_0x2775ba(0x557)](_0x1d6064,_0xf40594){const _0x2c71d0=_0x2775ba;var _0x3b16a8,_0x26e591;const _0x42ea10=this[_0x2c71d0(0x4b9)]['interceptor'][_0x2c71d0(0x3a5)](this[_0x2c71d0(0x4b9)][_0x2c71d0(0x2b6)][_0x2c71d0(0x503)]()[_0x2c71d0(0x514)]);(_0x3b16a8=_0x42ea10((_0x1d6064==null?void 0x0:_0x1d6064[_0x2c71d0(0x2a9)])||[],null))==null||_0x3b16a8['forEach'](_0x2bc239=>this[_0x2c71d0(0x5ca)][_0x2c71d0(0x50d)](_0x2bc239['id'],_0x2bc239[_0x2c71d0(0x3b1)])),(_0x26e591=_0x42ea10(_0xf40594||[],null))==null||_0x26e591[_0x2c71d0(0x48a)](_0x1a5f8f=>this['_commandService'][_0x2c71d0(0x50d)](_0x1a5f8f['id'],_0x1a5f8f[_0x2c71d0(0x3b1)]));}};gt=Es([H(0x3,_0x6fd5ef(_0x5df3a5)),H(0x4,_0x6fd5ef(q)),H(0x5,_0x6fd5ef(_0xcec812)),H(0x6,_0x6fd5ef(_0x312a5a)),H(0x7,_0x6fd5ef(_0x1e4829)),H(0x8,_0x21d5e3),H(0x9,_0x386a88),H(0xa,_0x3f73bc),H(0xb,_0x54a632),H(0xc,_0x19e025(Rt))],gt);let ss=class extends gt{constructor(_0x458c3b,_0x1fd22f,_0x3191ec,_0x29e087,_0x5c5a7a,_0x179b6f,_0x3eae16,_0x4b7b37,_0x4b7bb0,_0x23c148,_0x59cdd7,_0x3a999a,_0xd6bdf4,_0x498fe2,_0x469d4f,_0x374267,_0x68294b,_0x36ff17){const _0x517843=_0x2775ba;super(_0x458c3b,_0x3191ec,_0x1fd22f,_0x29e087,_0x5c5a7a,_0x179b6f,_0x3eae16,_0x4b7b37,_0x498fe2,_0x469d4f,_0x374267,_0x68294b,_0x36ff17),this[_0x517843(0x1e7)]=_0x458c3b,this['type']=_0x1fd22f,this[_0x517843(0x2eb)]=_0x4b7bb0,this[_0x517843(0x2e6)]=_0x23c148,this['_docTransformStateCacheService']=_0x59cdd7,this[_0x517843(0x283)]=_0x3a999a,this[_0x517843(0x20b)]=_0xd6bdf4;}[_0x2775ba(0x23d)](){const _0x2c33e9=_0x2775ba,_0x25cc1c=super[_0x2c33e9(0x23d)]();return _0x25cc1c['onTransformIME']=_0x391c97=>this[_0x2c33e9(0x2e6)][_0x2c33e9(0x37f)](_0x391c97),_0x25cc1c[_0x2c33e9(0x44b)]=_0xf40267=>this[_0x2c33e9(0x26a)][_0x2c33e9(0x317)](_0xf40267),_0x25cc1c[_0x2c33e9(0x3d1)]=_0x4dedf3=>this[_0x2c33e9(0x283)]['transformSelections'](_0x4dedf3),_0x25cc1c['onSyncEditingCollabCursor']=_0x2771d3=>this[_0x2c33e9(0x20b)][_0x2c33e9(0x39d)](_0x2771d3),_0x25cc1c['onTransformRemoteChangesetByIMECache']=_0x1e6e42=>this[_0x2c33e9(0x2e6)][_0x2c33e9(0x2bf)](_0x1e6e42),_0x25cc1c[_0x2c33e9(0x4e2)]=_0x5050e1=>this[_0x2c33e9(0x26a)][_0x2c33e9(0x2bf)](_0x5050e1),_0x25cc1c;}async[_0x2775ba(0x56c)](){const _0x3164d6=_0x2775ba,_0x23b2f8=await super[_0x3164d6(0x56c)]();return this[_0x3164d6(0x2eb)][_0x3164d6(0x5b1)]['pipe'](_0x359f8b(this[_0x3164d6(0x414)]))['subscribe'](_0x54d534=>{const _0x43eb18=_0x3164d6;if(_0x54d534==null)return;const {unitId:_0x21bd86,redoState:_0x2361b8,commandId:_0x4761cd}=_0x54d534;if(_0x21bd86!==this[_0x43eb18(0x1e7)])return;const _0x49fec5={'id':_0x4761cd,'type':_0x460478['MUTATION'],'params':{'unitId':_0x21bd86,'actions':_0x2361b8[_0x43eb18(0x4e3)],'textRanges':null}};this['_onLocalMutation'](_0x49fec5);}),_0x23b2f8;}};ss=Es([H(0x3,_0x6fd5ef(_0x5df3a5)),H(0x4,_0x6fd5ef(q)),H(0x5,_0x6fd5ef(_0xcec812)),H(0x6,_0x6fd5ef(_0x312a5a)),H(0x7,_0x6fd5ef(_0x1e4829)),H(0x8,_0x6fd5ef(_0x4d344a)),H(0x9,_0x6fd5ef(ft)),H(0xa,_0x6fd5ef(mt)),H(0xb,_0x6fd5ef(pt)),H(0xc,_0x6fd5ef(Cs)),H(0xd,_0x21d5e3),H(0xe,_0x386a88),H(0xf,_0x3f73bc),H(0x10,_0x54a632),H(0x11,_0x19e025(Rt))],ss);let is=class extends gt{constructor(_0x53f640,_0x477ab7,_0x3b1254,_0xd87449,_0x5838af,_0x590ebb,_0x19c7ac,_0x451c35,_0x3eab1b,_0x4a0a0a,_0xc722fb,_0x44b326,_0x54f0b6,_0x5c756b){const _0x39675b=_0x2775ba;super(_0x53f640,_0x3b1254,_0x477ab7,_0xd87449,_0x5838af,_0x590ebb,_0x19c7ac,_0x451c35,_0x4a0a0a,_0xc722fb,_0x44b326,_0x54f0b6,_0x5c756b),this[_0x39675b(0x1e7)]=_0x53f640,this['type']=_0x477ab7,this[_0x39675b(0x49f)]=_0x3eab1b;}['_createHandler'](){const _0x1baa61=_0x2775ba,_0x6aea2e=super[_0x1baa61(0x23d)]();return _0x6aea2e['onTransformSelections']=_0x36a59d=>this[_0x1baa61(0x49f)][_0x1baa61(0x356)](_0x36a59d),_0x6aea2e;}async[_0x2775ba(0x56c)](){const _0x134a16=_0x2775ba,_0x26aba9=await super['_init']();return this[_0x134a16(0x49c)](this[_0x134a16(0x5ca)][_0x134a16(0x1de)]((_0x11e71d,_0x42ed06)=>{const _0x27893b=_0x134a16;if(_0x11e71d['type']!==_0x460478['MUTATION']||_0x42ed06!=null&&_0x42ed06[_0x27893b(0x30e)]||_0x42ed06!=null&&_0x42ed06[_0x27893b(0x409)])return;const _0x3e9fa5=_0x11e71d[_0x27893b(0x3b1)];if((_0x3e9fa5==null?void 0x0:_0x3e9fa5[_0x27893b(0x30b)])!==this['unitID'])return;const _0x2380cb=_0x11e71d,_0x5c5fe3=this[_0x27893b(0x4b9)]['interceptor'][_0x27893b(0x3a5)](this[_0x27893b(0x4b9)][_0x27893b(0x2b6)][_0x27893b(0x503)]()['COMPRESS_MUTATION_SEND'])([_0x2380cb],null)||[_0x2380cb];this[_0x27893b(0x225)](_0x5c5fe3[0x0]);})),_0x26aba9;}};is=Es([H(0x3,_0x6fd5ef(_0x5df3a5)),H(0x4,_0x6fd5ef(q)),H(0x5,_0x6fd5ef(_0xcec812)),H(0x6,_0x6fd5ef(_0x312a5a)),H(0x7,_0x6fd5ef(_0x1e4829)),H(0x8,_0x6fd5ef(vt)),H(0x9,_0x21d5e3),H(0xa,_0x386a88),H(0xb,_0x3f73bc),H(0xc,_0x54a632),H(0xd,_0x19e025(Rt))],is);var Eo=Object['defineProperty'],bo=Object[_0x2775ba(0x23b)],To=(_0x1b2087,_0x349bc5,_0x467501,_0x1ff879)=>{const _0x2c0ff5=_0x2775ba;for(var _0x5bafae=_0x1ff879>0x1?void 0x0:_0x1ff879?bo(_0x349bc5,_0x467501):_0x349bc5,_0x366130=_0x1b2087[_0x2c0ff5(0x549)]-0x1,_0x1bf584;_0x366130>=0x0;_0x366130--)(_0x1bf584=_0x1b2087[_0x366130])&&(_0x5bafae=(_0x1ff879?_0x1bf584(_0x349bc5,_0x467501,_0x5bafae):_0x1bf584(_0x5bafae))||_0x5bafae);return _0x1ff879&&_0x5bafae&&Eo(_0x349bc5,_0x467501,_0x5bafae),_0x5bafae;},Lt=(_0x460c68,_0x30f58c)=>(_0x2adc0f,_0x44d208)=>_0x30f58c(_0x2adc0f,_0x44d208,_0x460c68);let it=class extends _0x355f5a{constructor(_0x2c31bc,_0x2988cd,_0x2b906c){const _0x3bb06c=_0x2775ba;super(),g(this,_0x3bb06c(0x3f2),new Map()),g(this,_0x3bb06c(0x2bb),new _0x50fadb()),(this[_0x3bb06c(0x383)]=_0x2c31bc,this['_collabSessionService']=_0x2988cd,this[_0x3bb06c(0x394)]=_0x2b906c,this['_init']());}[_0x2775ba(0x44a)](){const _0x393320=_0x2775ba;super[_0x393320(0x44a)](),this[_0x393320(0x3f2)][_0x393320(0x48a)](_0x1e5551=>_0x1e5551['dispose']()),this['_entities'][_0x393320(0x389)]();}[_0x2775ba(0x262)](_0x5becc6){const _0x46178c=_0x2775ba;var _0x386aa0;return(_0x386aa0=this['_entities'][_0x46178c(0x2c8)](_0x5becc6))!=null?_0x386aa0:null;}[_0x2775ba(0x476)](_0x45b0d9){const _0x23033f=_0x2775ba,_0x301ca9=this[_0x23033f(0x262)](_0x45b0d9);return _0x301ca9?_0x73c76d(_0x301ca9):this['_entityInit$'][_0x23033f(0x588)](_0x351f04(_0x19afdc=>_0x19afdc[_0x23033f(0x1e7)]===_0x45b0d9));}[_0x2775ba(0x56c)](){const _0x3497a8=_0x2775ba;this[_0x3497a8(0x394)]['getTypeOfUnitAdded$'](_0x59e1a1['UNIVER_SHEET'])['pipe'](_0x359f8b(this[_0x3497a8(0x414)]),_0x51ce6b(0x10))[_0x3497a8(0x473)](async _0x374a05=>{const _0x9fd43a=_0x3497a8,_0x906342=_0x374a05[_0x9fd43a(0x531)](),_0x5f4cc3=await this['_startCollaboration'](_0x906342,ce[_0x9fd43a(0x1d1)]);this[_0x9fd43a(0x3f2)]['set'](_0x906342,_0x5f4cc3);}),this[_0x3497a8(0x394)][_0x3497a8(0x5cd)](_0x59e1a1[_0x3497a8(0x573)])[_0x3497a8(0x588)](_0x359f8b(this[_0x3497a8(0x414)]),_0x51ce6b(0x10))['pipe'](_0x351f04(_0x2c40ae=>!_0x2c40ae[_0x3497a8(0x531)]()[_0x3497a8(0x4d1)]('__')))[_0x3497a8(0x473)](async _0x398257=>{const _0x4ca07e=_0x3497a8,_0x33726f=_0x398257[_0x4ca07e(0x531)](),_0x4b9f1c=await this['_startCollaboration'](_0x33726f,ce[_0x4ca07e(0x573)]);this[_0x4ca07e(0x3f2)][_0x4ca07e(0x59f)](_0x33726f,_0x4b9f1c);}),_0x648e04(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x59e1a1['UNIVER_SHEET']),this[_0x3497a8(0x394)][_0x3497a8(0x1c1)](_0x59e1a1['UNIVER_DOC']))[_0x3497a8(0x588)](_0x359f8b(this[_0x3497a8(0x414)]))[_0x3497a8(0x473)](_0x3ba13b=>{const _0x34e995=_0x3497a8,_0x385c6a=_0x3ba13b[_0x34e995(0x531)](),_0x52fe45=this[_0x34e995(0x3f2)][_0x34e995(0x2c8)](_0x385c6a);_0x52fe45&&(_0x52fe45[_0x34e995(0x44a)](),this['_entities'][_0x34e995(0x1c4)](_0x385c6a));});}async['_startCollaboration'](_0x277f87,_0xfa05ca){const _0x5a8fea=_0x2775ba,_0x3b3aa5=await this['_collabSessionService'][_0x5a8fea(0x3c6)](_0x277f87),_0x6aecfb=this['_injector']['createInstance'](this[_0x5a8fea(0x2c3)](_0xfa05ca),_0x277f87,_0xfa05ca,_0x3b3aa5);return await _0x6aecfb[_0x5a8fea(0x506)](),this[_0x5a8fea(0x2bb)][_0x5a8fea(0x51e)](_0x6aecfb),_0x6aecfb;}['_getCtorByUniverType'](_0xe63017){const _0x56820d=_0x2775ba;switch(_0xe63017){case ce['UNIVER_DOC']:return ss;case ce[_0x56820d(0x1d1)]:return is;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xe63017);}}};it=To([Lt(0x0,_0x6fd5ef(_0x5df3a5)),Lt(0x1,_0x6fd5ef(xe)),Lt(0x2,_0x250342)],it);const Gs=[_0x2775ba(0x55a),_0x2775ba(0x40f),_0x2775ba(0x43b),_0x2775ba(0x246),_0x2775ba(0x412),_0x2775ba(0x4c8)];class bs extends _0x2be393{constructor(){const _0x14b1b3=_0x2775ba;super(...arguments),g(this,_0x14b1b3(0x380),new Map()),g(this,_0x14b1b3(0x547),0x0);}[_0x2775ba(0x251)](_0x22f9ee){const _0x381c31=_0x2775ba;if(this[_0x381c31(0x380)][_0x381c31(0x482)](_0x22f9ee))return this['_assignedColors'][_0x381c31(0x2c8)](_0x22f9ee);const _0x55d180=Gs[this[_0x381c31(0x547)]];return this[_0x381c31(0x547)]=(this['_colorIndex']+0x1)%Gs[_0x381c31(0x549)],this[_0x381c31(0x380)]['set'](_0x22f9ee,_0x55d180),_0x55d180;}}var Ro=Object[_0x2775ba(0x29e)],Oo=Object['getOwnPropertyDescriptor'],yo=(_0x4353a2,_0x58ee9d,_0x8bbde6,_0xa1e456)=>{const _0x2ee58e=_0x2775ba;for(var _0xf76b28=_0xa1e456>0x1?void 0x0:_0xa1e456?Oo(_0x58ee9d,_0x8bbde6):_0x58ee9d,_0x296ef2=_0x4353a2[_0x2ee58e(0x549)]-0x1,_0x3380b5;_0x296ef2>=0x0;_0x296ef2--)(_0x3380b5=_0x4353a2[_0x296ef2])&&(_0xf76b28=(_0xa1e456?_0x3380b5(_0x58ee9d,_0x8bbde6,_0xf76b28):_0x3380b5(_0xf76b28))||_0xf76b28);return _0xa1e456&&_0xf76b28&&Ro(_0x58ee9d,_0x8bbde6,_0xf76b28),_0xf76b28;},De=(_0x4c2d67,_0x3b161a)=>(_0x214dab,_0x1453ea)=>_0x3b161a(_0x214dab,_0x1453ea,_0x4c2d67);const wo=0x12c,Do=0x64;let ns=class extends _0x355f5a{constructor(_0x6c0ef,_0x552522,_0x33e03d,_0xbfb1b,_0xbde95b,_0x3e2f9c,_0x4ec0cc,_0x7e93fc,_0x35c7ba){const _0x37a986=_0x2775ba;super(),g(this,_0x37a986(0x292),!0x1),g(this,'_init',!0x1),g(this,_0x37a986(0x4c7),new _0x241bf8(new Map())),g(this,_0x37a986(0x213),this[_0x37a986(0x4c7)][_0x37a986(0x1e0)]()),g(this,_0x37a986(0x222),new _0x241bf8([])),g(this,_0x37a986(0x2cb),this[_0x37a986(0x222)][_0x37a986(0x588)](_0x575872(wo))),g(this,_0x37a986(0x3c8),_0x647387(_0x5efc81=>{const _0x108f32=_0x37a986,_0x6c7e35={'eventID':_0x394e1d[_0x108f32(0x570)],'data':{'unitID':this[_0x108f32(0x1e7)],'memberID':this[_0x108f32(0x323)][_0x108f32(0x4da)](),'selection':Pi(_0x5efc81)}};this['_session']['send'](_0x6c7e35,this[_0x108f32(0x1e7)]);},Do)),(this[_0x37a986(0x1e7)]=_0x6c0ef,this[_0x37a986(0x323)]=_0x552522,this[_0x37a986(0x383)]=_0x33e03d,this[_0x37a986(0x34a)]=_0xbfb1b,this[_0x37a986(0x208)]=_0xbde95b,this[_0x37a986(0x533)]=_0x3e2f9c,this[_0x37a986(0x3cf)]=_0x4ec0cc,this[_0x37a986(0x394)]=_0x7e93fc,this[_0x37a986(0x5ca)]=_0x35c7ba);}get['cursorInfo'](){const _0x4d088c=_0x2775ba;return this[_0x4d088c(0x4c7)][_0x4d088c(0x41b)]();}get[_0x2775ba(0x2fd)](){const _0x22f293=_0x2775ba;return this[_0x22f293(0x222)][_0x22f293(0x41b)]();}['dispose'](){const _0x23b68b=_0x2775ba;super[_0x23b68b(0x44a)](),this['_cursorInfo$'][_0x23b68b(0x51e)](new Map()),this[_0x23b68b(0x4c7)]['complete'](),this[_0x23b68b(0x222)][_0x23b68b(0x51e)]([]),this[_0x23b68b(0x222)][_0x23b68b(0x1e6)]();}[_0x2775ba(0x506)](){const _0x4e29fb=_0x2775ba;this[_0x4e29fb(0x56c)]||(this[_0x4e29fb(0x56c)]=!0x0,this[_0x4e29fb(0x323)]['sessionStatus$'][_0x4e29fb(0x588)](_0x359f8b(this[_0x4e29fb(0x414)]))[_0x4e29fb(0x473)](_0x12cb16=>{const _0x566513=_0x4e29fb;_0x12cb16===ve['ONLINE']?this['_toggleOnline']():this[_0x566513(0x329)]();}),this['_session'][_0x4e29fb(0x2a5)][_0x4e29fb(0x588)](_0x359f8b(this[_0x4e29fb(0x414)]))['subscribe'](_0x50f652=>{const _0xce54bc=_0x4e29fb,_0x279a13=_0x50f652[_0xce54bc(0x370)];_0x279a13===_0x394e1d[_0xce54bc(0x570)]&&this[_0xce54bc(0x21f)](_0x50f652),_0x279a13===_0x394e1d[_0xce54bc(0x4de)]&&this[_0xce54bc(0x53c)](_0x50f652);}),this['disposeWithMe'](this[_0x4e29fb(0x5ca)][_0x4e29fb(0x1de)](_0x17e189=>{const _0x2047af=_0x4e29fb,_0x2dbecf=_0x17e189['params'];_0x2dbecf!=null&&this[_0x2047af(0x292)]&&_0x17e189['id']===_0x523941['id']&&_0x2dbecf[_0x2047af(0x30b)]===this[_0x2047af(0x1e7)]&&_0x2dbecf[_0x2047af(0x220)]===!0x1&&_0x2dbecf['ranges'][_0x2047af(0x549)]>0x0&&this[_0x2047af(0x3c8)](_0x2dbecf[_0x2047af(0x26d)]);})),this[_0x4e29fb(0x533)]['collabCursorState$'][_0x4e29fb(0x588)](_0x359f8b(this[_0x4e29fb(0x414)]))[_0x4e29fb(0x473)](_0x2eff70=>{const _0x4edc4f=_0x4e29fb;if((_0x2eff70==null?void 0x0:_0x2eff70[_0x4edc4f(0x1e7)])!==this[_0x4edc4f(0x1e7)])return;const _0x3a92bd={'eventID':_0x394e1d[_0x4edc4f(0x570)],'data':_0x2eff70};this[_0x4edc4f(0x21f)](_0x3a92bd);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1085f7=>{const _0x5a3bc1=_0x4e29fb;if(_0x1085f7['params']==null)return;const _0x4c61d7=_0x1085f7[_0x5a3bc1(0x3b1)];if(_0x1085f7['id']!==_0xc7f79b['id']||_0x4c61d7[_0x5a3bc1(0x30b)]!==this[_0x5a3bc1(0x1e7)])return;const _0x5bfa6a={'id':_0x5a3bc1(0x571),'params':_0x4c61d7},_0x3be9fd=this['cursorInfo'];for(const [_0x3d3329,_0x3b4972]of _0x3be9fd){const _0x52ccad={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5a3bc1(0x1e7)],'actions':null,'textRanges':_0x3b4972['ranges']}},_0x114ff5=this['_transformService']['transformMutation'](_0x5bfa6a,_0x52ccad,!0x1);if(_0x3ce44e(_0x114ff5))throw _0x114ff5[_0x5a3bc1(0x274)];_0x3be9fd[_0x5a3bc1(0x59f)](_0x3d3329,{..._0x3b4972,'ranges':_0x114ff5[_0x5a3bc1(0x282)][_0x5a3bc1(0x3b1)][_0x5a3bc1(0x2f9)]});}queueMicrotask(()=>{const _0x5b6a09=_0x5a3bc1;this['_cursorInfo$'][_0x5b6a09(0x51e)](_0x3be9fd);});})));}['_onCursorUpdate'](_0x1fc883){const _0x141eb5=_0x2775ba;var _0x4520a4,_0x5b4359;const {memberID:_0x564eca,selection:_0x42dd79}=_0x1fc883['data'],_0x42b4a9=lo(_0x42dd79),_0x2b2f01=(_0x5b4359=(_0x4520a4=this[_0x141eb5(0x208)]['getMember'](this['unitID'],_0x564eca))==null?void 0x0:_0x4520a4[_0x141eb5(0x319)])!=null?_0x5b4359:_0x141eb5(0x3d5),_0x1bbf0a={'color':this[_0x141eb5(0x34a)][_0x141eb5(0x251)](_0x564eca),'name':_0x2b2f01,'ranges':_0x42b4a9},_0x43bb3a=this[_0x141eb5(0x567)];_0x43bb3a[_0x141eb5(0x59f)](_0x564eca,_0x1bbf0a),this[_0x141eb5(0x4c7)][_0x141eb5(0x51e)](_0x43bb3a);}['_onCursorDelete'](_0x4c13fc){const _0x981b2d=_0x2775ba,{memberID:_0x27c41d}=_0x4c13fc[_0x981b2d(0x515)],_0x13ad77=this[_0x981b2d(0x567)];_0x13ad77[_0x981b2d(0x1c4)](_0x27c41d),this[_0x981b2d(0x4c7)][_0x981b2d(0x51e)](_0x13ad77);}[_0x2775ba(0x26f)](){const _0x17d71c=_0x2775ba;var _0x2233e6;if(this[_0x17d71c(0x292)]=!0x0,((_0x2233e6=this[_0x17d71c(0x394)]['getFocusedUnit']())==null?void 0x0:_0x2233e6[_0x17d71c(0x531)]())!==this['unitID'])return;const _0x49bf11=this[_0x17d71c(0x383)][_0x17d71c(0x2c8)](_0x41679d)['getDocRanges']();Array[_0x17d71c(0x393)](_0x49bf11)&&_0x49bf11[_0x17d71c(0x549)]>0x0&&this[_0x17d71c(0x3c8)](_0x49bf11);}[_0x2775ba(0x329)](){const _0x521e31=_0x2775ba;this[_0x521e31(0x292)]=!0x1;}};ns=yo([De(0x2,_0x6fd5ef(_0x5df3a5)),De(0x3,_0x6fd5ef(bs)),De(0x4,_0x6fd5ef(Me)),De(0x5,_0x6fd5ef(Cs)),De(0x6,_0x22e7dd),De(0x7,_0x250342),De(0x8,_0x386a88)],ns);var Po=Object[_0x2775ba(0x29e)],Uo=Object[_0x2775ba(0x23b)],No=(_0xecbe45,_0x55f91d,_0x374472,_0x665213)=>{const _0x5975ce=_0x2775ba;for(var _0x2baf08=_0x665213>0x1?void 0x0:_0x665213?Uo(_0x55f91d,_0x374472):_0x55f91d,_0x5d9fb3=_0xecbe45[_0x5975ce(0x549)]-0x1,_0x4cf8df;_0x5d9fb3>=0x0;_0x5d9fb3--)(_0x4cf8df=_0xecbe45[_0x5d9fb3])&&(_0x2baf08=(_0x665213?_0x4cf8df(_0x55f91d,_0x374472,_0x2baf08):_0x4cf8df(_0x2baf08))||_0x2baf08);return _0x665213&&_0x2baf08&&Po(_0x55f91d,_0x374472,_0x2baf08),_0x2baf08;},Be=(_0x1da005,_0x80c33)=>(_0xf7eb5d,_0x5c8fea)=>_0x80c33(_0xf7eb5d,_0x5c8fea,_0x1da005);const Ao=0x12c,Mo=0x64,xo=()=>{let _0x1ad2df=[],_0x447261=!0x1;return _0x3cff77=>{const _0x8a4938=_0x3547;_0x1ad2df[_0x8a4938(0x3c1)](_0x3cff77),_0x447261||(_0x447261=!0x0,setTimeout(()=>{const _0x10c783=_0x8a4938;_0x1ad2df[_0x10c783(0x48a)](_0x5d4e27=>_0x5d4e27()),_0x1ad2df=[],_0x447261=!0x1;}));};};let rs=class extends _0x355f5a{constructor(_0xafe398,_0x2685eb,_0x490857,_0x358e9c,_0xa48180,_0xd9452b,_0x28953a,_0x3764a4){const _0x65a778=_0x2775ba;super(),g(this,'_online',!0x1),g(this,_0x65a778(0x56c),!0x1),g(this,_0x65a778(0x4c7),new _0x241bf8(new Map())),g(this,'cursorInfo$',this[_0x65a778(0x4c7)][_0x65a778(0x1e0)]()),g(this,_0x65a778(0x222),new _0x241bf8([])),g(this,_0x65a778(0x2cb),this['_roomMembers$'][_0x65a778(0x588)](_0x575872(Ao))),g(this,_0x65a778(0x3c8),_0x647387((_0x2e53de,_0x357f4c)=>{const _0x44212c=_0x65a778,_0x39ed6e={'eventID':_0x394e1d[_0x44212c(0x570)],'data':{'unitID':this['unitID'],'memberID':this[_0x44212c(0x323)][_0x44212c(0x4da)](),'selection':_0x12791c(_0x2e53de,_0x357f4c[_0x44212c(0x437)])}};this[_0x44212c(0x323)]['send'](_0x39ed6e,this[_0x44212c(0x1e7)]);},Mo)),(this[_0x65a778(0x1e7)]=_0xafe398,this['_session']=_0x2685eb,this[_0x65a778(0x383)]=_0x490857,this[_0x65a778(0x34a)]=_0x358e9c,this[_0x65a778(0x208)]=_0xa48180,this[_0x65a778(0x394)]=_0xd9452b,this['_commandService']=_0x28953a,this['_refRangeService']=_0x3764a4);}get[_0x2775ba(0x567)](){const _0x40c4d9=_0x2775ba;return this[_0x40c4d9(0x4c7)]['getValue']();}get[_0x2775ba(0x2fd)](){const _0x5f3eec=_0x2775ba;return this[_0x5f3eec(0x222)]['getValue']();}[_0x2775ba(0x44a)](){const _0x567294=_0x2775ba;super[_0x567294(0x44a)](),this[_0x567294(0x4c7)]['next'](new Map()),this[_0x567294(0x4c7)][_0x567294(0x1e6)](),this[_0x567294(0x222)][_0x567294(0x51e)]([]),this[_0x567294(0x222)][_0x567294(0x1e6)]();}[_0x2775ba(0x506)](){const _0x378e23=_0x2775ba;this[_0x378e23(0x56c)]||(this[_0x378e23(0x56c)]=!0x0,this[_0x378e23(0x323)][_0x378e23(0x3a1)]['pipe'](_0x359f8b(this[_0x378e23(0x414)]))[_0x378e23(0x473)](_0x593792=>{_0x593792===ve['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x378e23(0x323)][_0x378e23(0x2a5)][_0x378e23(0x588)](_0x359f8b(this[_0x378e23(0x414)]))[_0x378e23(0x473)](_0x7e1821=>{const _0x48fcf7=_0x378e23,_0x3cce15=_0x7e1821[_0x48fcf7(0x370)];_0x3cce15===_0x394e1d[_0x48fcf7(0x570)]&&this[_0x48fcf7(0x21f)](_0x7e1821),_0x3cce15===_0x394e1d[_0x48fcf7(0x4de)]&&this[_0x48fcf7(0x53c)](_0x7e1821);}),this[_0x378e23(0x396)](),this[_0x378e23(0x49c)](this[_0x378e23(0x5ca)]['onCommandExecuted'](_0x3aa29f=>{const _0x533d11=_0x378e23;if(this[_0x533d11(0x292)]&&_0x3aa29f['id']===_0x536dc6['id']&&_0x3aa29f[_0x533d11(0x3b1)][_0x533d11(0x30b)]===this[_0x533d11(0x1e7)]){const _0x5b98e3=_0x3aa29f[_0x533d11(0x3b1)];this[_0x533d11(0x3c8)](_0x5b98e3['subUnitId'],_0x5b98e3[_0x533d11(0x569)][0x0]);}})));}[_0x2775ba(0x21f)](_0x2a64f4){const _0x69f861=_0x2775ba;var _0x299265,_0x574ecb;const {memberID:_0x5942ee,selection:_0x46ec61}=_0x2a64f4[_0x69f861(0x515)],{sheetName:_0x8df78e,range:_0x57baf7}=_0x3c6fa4(_0x46ec61),_0x4547fb={'name':(_0x574ecb=(_0x299265=this['_memberService']['getMember'](this[_0x69f861(0x1e7)],_0x5942ee))==null?void 0x0:_0x299265[_0x69f861(0x319)])!=null?_0x574ecb:_0x69f861(0x3d5),'range':this[_0x69f861(0x276)](_0x8df78e,_0x57baf7),'sheetID':_0x8df78e,'color':this[_0x69f861(0x34a)]['assignAColorForMemberID'](_0x5942ee),'selection':_0x46ec61},_0x44697d=this[_0x69f861(0x567)];_0x44697d[_0x69f861(0x59f)](_0x5942ee,_0x4547fb),this[_0x69f861(0x4c7)][_0x69f861(0x51e)](_0x44697d);}[_0x2775ba(0x53c)](_0x4a3c30){const _0x52b62e=_0x2775ba,{memberID:_0x54706a}=_0x4a3c30[_0x52b62e(0x515)],_0x22938a=this[_0x52b62e(0x567)];_0x22938a[_0x52b62e(0x1c4)](_0x54706a),this['_cursorInfo$'][_0x52b62e(0x51e)](_0x22938a);}[_0x2775ba(0x276)](_0x310c67,_0x4496b3){const _0x1da313=_0x2775ba;var _0x10579a,_0x3ab775;const _0x3eeedb=(_0x3ab775=(_0x10579a=this[_0x1da313(0x394)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x10579a['getSheetBySheetId'](_0x310c67))==null?void 0x0:_0x3ab775[_0x1da313(0x1cc)]();return(_0x3eeedb==null?void 0x0:_0x3eeedb[_0x1da313(0x4cf)](_0x3d8207=>_0x269771[_0x1da313(0x2a2)](_0x3d8207,_0x4496b3)))||_0x4496b3;}[_0x2775ba(0x396)](){const _0x4903da=_0x2775ba,_0x45eadb=new _0x330da2(),_0x3f6bce=xo(),_0x47ef77=()=>{const _0x48711d=_0x3547;_0x45eadb[_0x48711d(0x44a)]();const _0x459b4e=(_0x23bcd3,_0x18f2ce,_0x38d416,_0x1ea302)=>{const _0x38cd0b=_0x48711d;let _0x3b5f7a=[];switch(_0x23bcd3['id']){case _0x7661da[_0x38cd0b(0x590)]:{_0x3b5f7a=_0x1b1fa8(_0x23bcd3,_0x1ea302);break;}case _0x7661da[_0x38cd0b(0x3b4)]:{_0x3b5f7a=_0x106382(_0x23bcd3,_0x1ea302);break;}case _0x7661da[_0x38cd0b(0x1dd)]:{_0x3b5f7a=_0x1fad2d(_0x23bcd3,_0x1ea302);break;}case _0x7661da[_0x38cd0b(0x4b8)]:{_0x3b5f7a=_0x4cc339(_0x23bcd3,_0x1ea302);break;}case _0x7661da[_0x38cd0b(0x561)]:{_0x3b5f7a=_0x455afe(_0x23bcd3,_0x1ea302);break;}case _0x7661da[_0x38cd0b(0x239)]:{_0x3b5f7a=_0x2c61dd(_0x23bcd3,_0x1ea302);break;}case _0x7661da[_0x38cd0b(0x200)]:{_0x3b5f7a=_0x52a20b(_0x23bcd3,_0x1ea302);break;}case _0x7661da[_0x38cd0b(0x46e)]:{_0x3b5f7a=_0x5c014a(_0x23bcd3,_0x1ea302);break;}case _0x7661da[_0x38cd0b(0x25e)]:{_0x3b5f7a=_0x3febd9(_0x23bcd3,_0x1ea302);break;}}const _0x58d9c8=_0xb474ba(_0x3b5f7a,_0x1ea302),_0x461d35=this[_0x38cd0b(0x567)][_0x38cd0b(0x2c8)](_0x18f2ce);if(_0x461d35&&_0x58d9c8){const _0x19c5c8={..._0x461d35,'range':_0x58d9c8};this[_0x38cd0b(0x567)][_0x38cd0b(0x59f)](_0x18f2ce,_0x19c5c8),_0x3f6bce(()=>{const _0x1f98d6=_0x38cd0b,_0x124a38=this['_refRangeService']['registerRefRange'](_0x58d9c8,_0x5cf63e=>(_0x124a38[_0x1f98d6(0x44a)](),_0x459b4e(_0x5cf63e,_0x18f2ce,_0x38d416,_0x58d9c8)));_0x45eadb[_0x1f98d6(0x40a)](_0x124a38);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x2e0447,_0x3d35dc)=>{const _0x40ccc4=_0x48711d,{range:_0x39941b,sheetID:_0x136c46}=_0x2e0447,_0x37e8a4=this['_refRangeService'][_0x40ccc4(0x466)](_0x39941b,_0x161095=>(_0x37e8a4[_0x40ccc4(0x44a)](),_0x459b4e(_0x161095,_0x3d35dc,_0x136c46,_0x39941b)));_0x45eadb['add'](_0x37e8a4);});};this[_0x4903da(0x49c)](_0x5384ee(this[_0x4903da(0x4c7)][_0x4903da(0x473)](()=>{_0x47ef77();})));}[_0x2775ba(0x26f)](){const _0x2b1447=_0x2775ba;var _0x5057a6,_0x18e8bb;if(this['_online']=!0x0,((_0x5057a6=this[_0x2b1447(0x394)][_0x2b1447(0x2d7)]())==null?void 0x0:_0x5057a6[_0x2b1447(0x531)]())!==this[_0x2b1447(0x1e7)])return;const _0x55f1ef=(_0x18e8bb=this[_0x2b1447(0x383)]['get'](_0x478c4f)[_0x2b1447(0x4dc)]())==null?void 0x0:_0x18e8bb[0x0],_0x34d54e=this[_0x2b1447(0x394)][_0x2b1447(0x1eb)](_0x59e1a1[_0x2b1447(0x1d1)])[_0x2b1447(0x36d)]();_0x55f1ef&&_0x34d54e&&this[_0x2b1447(0x3c8)](_0x34d54e[_0x2b1447(0x5c8)](),_0x55f1ef);}[_0x2775ba(0x329)](){const _0x14238f=_0x2775ba;this[_0x14238f(0x292)]=!0x1;}};rs=No([Be(0x2,_0x6fd5ef(_0x5df3a5)),Be(0x3,_0x6fd5ef(bs)),Be(0x4,_0x6fd5ef(Me)),Be(0x5,_0x250342),Be(0x6,_0x386a88),Be(0x7,_0x6fd5ef(_0x5aef03))],rs);var Lo=Object[_0x2775ba(0x29e)],$o=Object[_0x2775ba(0x23b)],Ho=(_0x4fbee4,_0x5b843f,_0x11c011,_0x876178)=>{const _0x5c0fa9=_0x2775ba;for(var _0xbd973c=_0x876178>0x1?void 0x0:_0x876178?$o(_0x5b843f,_0x11c011):_0x5b843f,_0x3ad12f=_0x4fbee4[_0x5c0fa9(0x549)]-0x1,_0x372416;_0x3ad12f>=0x0;_0x3ad12f--)(_0x372416=_0x4fbee4[_0x3ad12f])&&(_0xbd973c=(_0x876178?_0x372416(_0x5b843f,_0x11c011,_0xbd973c):_0x372416(_0xbd973c))||_0xbd973c);return _0x876178&&_0xbd973c&&Lo(_0x5b843f,_0x11c011,_0xbd973c),_0xbd973c;},$t=(_0x1a3014,_0x1400e6)=>(_0x59f685,_0x42eb7a)=>_0x1400e6(_0x59f685,_0x42eb7a,_0x1a3014);let Ve=class extends _0x355f5a{constructor(_0x5620a4,_0x51647f,_0x24bdd8){const _0xe7fc2f=_0x2775ba;super(),g(this,_0xe7fc2f(0x3f2),new Map()),g(this,_0xe7fc2f(0x2bb),new _0x50fadb()),(this[_0xe7fc2f(0x394)]=_0x5620a4,this[_0xe7fc2f(0x383)]=_0x51647f,this[_0xe7fc2f(0x552)]=_0x24bdd8,this['_init']());}['dispose'](){const _0x2627c3=_0x2775ba;super['dispose'](),this[_0x2627c3(0x2bb)][_0x2627c3(0x1e6)](),this[_0x2627c3(0x3f2)][_0x2627c3(0x48a)](_0x5a2b76=>_0x5a2b76[_0x2627c3(0x44a)]());}[_0x2775ba(0x295)](_0xb9035b){const _0x4f6070=_0x2775ba;return this[_0x4f6070(0x3f2)][_0x4f6070(0x482)](_0xb9035b)?this[_0x4f6070(0x3f2)][_0x4f6070(0x2c8)](_0xb9035b)[_0x4f6070(0x213)]:this[_0x4f6070(0x2bb)]['pipe'](_0x2a8fae(_0x146b14=>_0x146b14[_0x4f6070(0x1e7)]===_0xb9035b),_0x18a69e(_0x169ae2=>_0x169ae2[_0x4f6070(0x213)]));}[_0x2775ba(0x56c)](){const _0x519009=_0x2775ba;this['_univerInstanceService'][_0x519009(0x5cd)](_0x59e1a1[_0x519009(0x1d1)])[_0x519009(0x588)](_0x359f8b(this[_0x519009(0x414)]))[_0x519009(0x473)](async _0x1afd7a=>{const _0x2851e4=_0x519009,_0x165641=_0x1afd7a[_0x2851e4(0x531)](),_0x15b29c=await this[_0x2851e4(0x5b3)](_0x165641);this['_entityInit$']['next'](_0x15b29c),this[_0x2851e4(0x3f2)][_0x2851e4(0x59f)](_0x165641,_0x15b29c);}),this['_univerInstanceService'][_0x519009(0x5cd)](_0x59e1a1[_0x519009(0x573)])[_0x519009(0x588)](_0x359f8b(this[_0x519009(0x414)]))[_0x519009(0x588)](_0x2a8fae(_0x4aeed2=>!_0x4aeed2[_0x519009(0x531)]()['startsWith']('__')))[_0x519009(0x473)](async _0x1daad5=>{const _0x500c7b=_0x519009,_0x3be383=_0x1daad5['getUnitId'](),_0x2d62d7=await this[_0x500c7b(0x576)](_0x3be383);this['_entityInit$']['next'](_0x2d62d7),this[_0x500c7b(0x3f2)][_0x500c7b(0x59f)](_0x3be383,_0x2d62d7);}),_0x648e04(this[_0x519009(0x394)][_0x519009(0x1c1)](_0x59e1a1[_0x519009(0x573)]),this[_0x519009(0x394)]['getTypeOfUnitDisposed$'](_0x59e1a1['UNIVER_SHEET']))[_0x519009(0x588)](_0x359f8b(this[_0x519009(0x414)]))[_0x519009(0x473)](_0x464430=>{const _0xc84d18=_0x519009,_0xa9ac21=_0x464430['getUnitId'](),_0x4c00eb=this[_0xc84d18(0x3f2)]['get'](_0xa9ac21);_0x4c00eb&&(_0x4c00eb[_0xc84d18(0x44a)](),this[_0xc84d18(0x3f2)][_0xc84d18(0x1c4)](_0xa9ac21));});}async[_0x2775ba(0x5b3)](_0x16fe83){const _0x31b2de=_0x2775ba,_0x58ea99=await this[_0x31b2de(0x552)][_0x31b2de(0x3c6)](_0x16fe83),_0x4bdb2b=this[_0x31b2de(0x383)][_0x31b2de(0x3ed)](rs,_0x16fe83,_0x58ea99);return _0x4bdb2b[_0x31b2de(0x506)](),_0x4bdb2b;}async['_startDocCollabCursor'](_0x5cc623){const _0x37960c=_0x2775ba,_0x42f23a=await this['_collabSessionService'][_0x37960c(0x3c6)](_0x5cc623),_0x5b721c=this['_injector'][_0x37960c(0x3ed)](ns,_0x5cc623,_0x42f23a);return _0x5b721c['init'](),_0x5b721c;}};Ve=Ho([$t(0x0,_0x250342),$t(0x1,_0x6fd5ef(_0x5df3a5)),$t(0x2,_0x6fd5ef(xe))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,jo=0x5;function Bo(_0x2d6481,_0x575e52){const _0x358b72=_0x2775ba;let {radius:_0x475af4,width:_0x112d43,height:_0x43b833}=_0x575e52;_0x475af4=_0x475af4!=null?_0x475af4:0x0,_0x112d43=_0x112d43!=null?_0x112d43:0x1e,_0x43b833=_0x43b833!=null?_0x43b833:0x1e;let _0x5cd36b=0x0,_0x45ff41=0x0,_0x4febec=0x0;_0x5cd36b=_0x45ff41=_0x4febec=Math[_0x358b72(0x354)](_0x475af4,_0x112d43/0x2,_0x43b833/0x2),_0x2d6481[_0x358b72(0x1d7)](),_0x2d6481[_0x358b72(0x535)](_0x5cd36b,0x0),_0x2d6481[_0x358b72(0x456)](_0x112d43-_0x45ff41,0x0),_0x2d6481['arc'](_0x112d43-_0x45ff41,_0x45ff41,_0x45ff41,Math['PI']*0x3/0x2,0x0,!0x1),_0x2d6481[_0x358b72(0x456)](_0x112d43,_0x43b833-_0x4febec),_0x2d6481[_0x358b72(0x41e)](_0x112d43-_0x4febec,_0x43b833-_0x4febec,_0x4febec,0x0,Math['PI']/0x2,!0x1),_0x2d6481[_0x358b72(0x456)](0x0,_0x43b833),_0x2d6481[_0x358b72(0x456)](0x0,_0x5cd36b),_0x2d6481['arc'](_0x5cd36b,_0x5cd36b,_0x5cd36b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2d6481[_0x358b72(0x55b)](),_0x575e52[_0x358b72(0x28c)]&&(_0x2d6481[_0x358b72(0x5cc)](),_0x2d6481['fillStyle']=_0x575e52[_0x358b72(0x28c)],_0x575e52['fillRule']==='evenodd'?_0x2d6481[_0x358b72(0x28c)]('evenodd'):_0x2d6481['fill'](),_0x2d6481['restore']());}class Ot extends _0x20dc36{constructor(_0x1021b2,_0x2e24c5){const _0x411e4d=_0x2775ba;super(_0x1021b2,_0x2e24c5),g(this,'color'),g(this,_0x411e4d(0x478)),(this[_0x411e4d(0x51f)]=_0x2e24c5==null?void 0x0:_0x2e24c5['color'],this['text']=_0x2e24c5==null?void 0x0:_0x2e24c5[_0x411e4d(0x478)]);}static[_0x2775ba(0x385)](_0x5bf82d,_0x242d9b){const _0x2c69a0=_0x2775ba,{text:_0x528f36,color:_0xe00f74}=_0x242d9b;_0x5bf82d[_0x2c69a0(0x5cc)](),_0x5bf82d[_0x2c69a0(0x584)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x11ae68=_0x5bf82d[_0x2c69a0(0x4c0)](_0x528f36)[_0x2c69a0(0x494)],_0x56e13=Math[_0x2c69a0(0x354)](_0x11ae68+0x2*Ht,Ys);Bo(_0x5bf82d,{'height':nt,'radius':0x4,'width':_0x56e13,'fill':_0xe00f74,'evented':!0x1}),_0x5bf82d[_0x2c69a0(0x1f2)]='#FFF';const _0x2d8318=Ht,_0x14cdd0=nt-jo,_0x1c2162=Ys-0x2*Ht;if(_0x11ae68>_0x1c2162){let _0x5c373c='',_0x2e89eb=0x0;for(const _0x2378ed of _0x528f36){const _0x59a7d9=_0x5bf82d[_0x2c69a0(0x4c0)](_0x2378ed)[_0x2c69a0(0x494)];if(_0x2e89eb+_0x59a7d9<=_0x1c2162-_0x5bf82d['measureText'](_0x2c69a0(0x4b0))[_0x2c69a0(0x494)])_0x5c373c+=_0x2378ed,_0x2e89eb+=_0x59a7d9;else{_0x5c373c+=_0x2c69a0(0x4b0);break;}}_0x5bf82d[_0x2c69a0(0x3de)](_0x5c373c,_0x2d8318,_0x14cdd0);}else _0x5bf82d[_0x2c69a0(0x3de)](_0x528f36,_0x2d8318,_0x14cdd0);_0x5bf82d[_0x2c69a0(0x3f6)]();}[_0x2775ba(0x335)](_0x27b14a){const _0x1d6e4f=_0x2775ba;Ot[_0x1d6e4f(0x385)](_0x27b14a,this);}}const jt=_0x2775ba(0x58b),ko=_0x2775ba(0x568),Wo=_0x2775ba(0x5ba),Je=0x6,Fo=1.5,Bt=0x4,Vo=1.5,Go='rgba(255,\x20255,\x20255,\x200.01)';class Ks{constructor(_0x597c1f,_0x3060e8,_0x4b90a1,_0x3a46f2){const _0x2fa9f5=_0x2775ba;g(this,_0x2fa9f5(0x372),[]),g(this,_0x2fa9f5(0x46f),null),g(this,_0x2fa9f5(0x363),null),g(this,'_anchorDot',null),g(this,'_hideTimer',null),g(this,_0x2fa9f5(0x529),null),(this[_0x2fa9f5(0x20f)]=_0x597c1f,this[_0x2fa9f5(0x27a)]=_0x3060e8,this[_0x2fa9f5(0x22a)]=_0x4b90a1,this['_document']=_0x3a46f2,this[_0x2fa9f5(0x470)]());}set['_hover'](_0x23ed0e){const _0x1f17a4=_0x2775ba;_0x23ed0e?(this[_0x1f17a4(0x1fb)]&&this[_0x1f17a4(0x1fb)][_0x1f17a4(0x4b7)](),this[_0x1f17a4(0x363)]&&this[_0x1f17a4(0x363)]['show']()):(this[_0x1f17a4(0x1fb)]&&this[_0x1f17a4(0x1fb)]['show'](),this[_0x1f17a4(0x363)]&&this['_textBubble'][_0x1f17a4(0x4b7)]());}['dispose'](){const _0x2dc674=_0x2775ba;for(const _0x52b202 of this[_0x2dc674(0x372)])_0x52b202[_0x2dc674(0x44a)]();this[_0x2dc674(0x363)]&&this[_0x2dc674(0x363)][_0x2dc674(0x44a)](),this['_anchorDot']&&this[_0x2dc674(0x1fb)][_0x2dc674(0x44a)](),this[_0x2dc674(0x46f)]&&this[_0x2dc674(0x46f)][_0x2dc674(0x44a)](),this[_0x2dc674(0x529)]&&this[_0x2dc674(0x529)]();}[_0x2775ba(0x470)](){const _0x204624=_0x2775ba;var _0x4bdbe6;const {_docSkeleton:_0x5c9be5,_document:_0x46efbc}=this,{color:_0x2d1ddf,name:_0x15272f,ranges:_0x90dd84}=this[_0x204624(0x20f)],_0x1adb0a=_0x46efbc[_0x204624(0x3df)](),{docsLeft:_0x1e06e1,docsTop:_0x51b803}=_0x1adb0a,_0x56a1fc=new _0x144610(_0x1adb0a,_0x5c9be5);for(const {startOffset:_0x27bdec,endOffset:_0x5eaf6d,rangeType:_0x4325a2,segmentId:_0x1b2d75,segmentPage:_0x4d9cbe,collapsed:_0x2f873b,isActive:_0x184057}of _0x90dd84){const _0x11bcf1=_0x5c9be5['findNodePositionByCharIndex'](_0x27bdec,!0x0,_0x1b2d75,_0x4d9cbe);let _0x5d5007=_0x5c9be5[_0x204624(0x1bf)](_0x5eaf6d,!0x0,_0x1b2d75,_0x4d9cbe);if(_0x5d5007==null&&(_0x5d5007=_0x5c9be5[_0x204624(0x1bf)](_0x5eaf6d-0x1,!0x1,_0x1b2d75,_0x4d9cbe)),_0x184057){const {contentBoxPointGroup:_0x305c9d}=_0x56a1fc[_0x204624(0x5d5)](_0x5d5007,_0x5d5007);if(_0x305c9d[_0x204624(0x549)]===0x0)continue;this[_0x204624(0x5b9)](_0x2d1ddf,_0x305c9d,_0x1e06e1,_0x51b803,_0x15272f),this[_0x204624(0x529)]=this[_0x204624(0x21b)]();}if(_0x11bcf1&&_0x5d5007){if(_0x4325a2===_0x357811[_0x204624(0x2f2)]){const _0x1a0953=new _0x214fdd(_0x1adb0a,_0x5c9be5),{pointGroup:_0x23e0e6}=(_0x4bdbe6=_0x1a0953['getRangePointData'](_0x11bcf1,_0x5d5007))!=null?_0x4bdbe6:{};if(_0x23e0e6==null||_0x23e0e6[_0x204624(0x549)]===0x0)continue;this[_0x204624(0x37b)](_0x2d1ddf,_0x23e0e6,_0x1e06e1,_0x51b803);}else{if(!_0x2f873b){const {borderBoxPointGroup:_0x1bc317}=_0x56a1fc['getRangePointData'](_0x11bcf1,_0x5d5007);if(_0x1bc317[_0x204624(0x549)]===0x0)continue;this[_0x204624(0x413)](_0x2d1ddf,_0x1bc317,_0x1e06e1,_0x51b803);}}}}}[_0x2775ba(0x5b9)](_0x151d17,_0x3173cc,_0x1b0059,_0x463005,_0x4c6ffb){const _0x2a2871=_0x2775ba,_0x51a3c8=this['_getAnchorBounding'](_0x3173cc),{left:_0xcb7a0a,top:_0x2275f4,height:_0x2a5c4c}=_0x51a3c8,_0x1eafd2=this[_0x2a2871(0x525)](),_0x3fc1e9=Vo/_0x1eafd2,_0x3ac0d9=new _0x53d9c5(jt+_0x459384['generateRandomId'](Je),{'left':_0xcb7a0a+_0x1b0059-_0x3fc1e9,'top':_0x2275f4+_0x463005,'height':_0x2a5c4c,'width':Fo,'fill':_0x151d17||_0x4d3a87(_0x4d555b[_0x2a2871(0x250)],0x0),'strokeWidth':_0x3fc1e9,'stroke':Go,'evented':!0x0});this['_anchor']=_0x3ac0d9,this[_0x2a2871(0x27a)]['addObject'](_0x3ac0d9,_0x38ec42);const _0x3c3584=new _0x53d9c5(jt+_0x459384[_0x2a2871(0x422)](Je),{'left':_0xcb7a0a+_0x1b0059-_0x3fc1e9,'top':_0x2275f4+_0x463005-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x151d17||_0x4d3a87(_0x4d555b[_0x2a2871(0x250)],0x0),'strokeWidth':0x0,'stroke':_0x151d17||_0x4d3a87(_0x4d555b[_0x2a2871(0x250)],0x0),'evented':!0x1});this[_0x2a2871(0x1fb)]=_0x3c3584,this[_0x2a2871(0x27a)][_0x2a2871(0x2dc)](_0x3c3584,_0x38ec42);const _0x167cd6=new Ot(jt+_0x459384[_0x2a2871(0x422)](Je),{'left':_0xcb7a0a+_0x1b0059-_0x3fc1e9,'top':_0x2275f4+_0x463005-nt,'text':_0x4c6ffb,'color':_0x151d17});this[_0x2a2871(0x363)]=_0x167cd6,this['_scene'][_0x2a2871(0x2dc)](_0x167cd6,_0x38ec42),this[_0x2a2871(0x267)]=!0x1;}[_0x2775ba(0x21b)](){const _0xfa033b=_0x2775ba,_0x2390be=this[_0xfa033b(0x46f)][_0xfa033b(0x308)][_0xfa033b(0x4dd)](()=>{const _0x46b928=_0xfa033b;this[_0x46b928(0x267)]=!0x0;}),_0x2ac518=this[_0xfa033b(0x46f)][_0xfa033b(0x25d)][_0xfa033b(0x4dd)](()=>{const _0x2919b2=_0xfa033b;this[_0x2919b2(0x1ed)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2c8e36=_0xfa033b;_0x2390be[_0x2c8e36(0x501)](),_0x2ac518[_0x2c8e36(0x501)]();};}['_drawTextRange'](_0x29307a,_0xd36825,_0x1c3578,_0x566003){const _0x4bf256=_0x2775ba,_0x39fb60=new _0x26322(_0x29307a)[_0x4bf256(0x5b0)](0.2)['toRgbString'](),_0x3c8816=new _0x44dce7(ko+_0x459384[_0x4bf256(0x422)](Je),{'pointsGroup':_0xd36825,'fill':_0x39fb60||_0x4d3a87(_0x4d555b[_0x4bf256(0x250)],0.2),'left':_0x1c3578,'top':_0x566003,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4bf256(0x372)][_0x4bf256(0x3c1)](_0x3c8816),this[_0x4bf256(0x27a)][_0x4bf256(0x2dc)](_0x3c8816,_0x38ec42);}['_drawRectRange'](_0x3cab08,_0x242961,_0xee0429,_0x40f7f5){const _0x8a7472=_0x2775ba,_0x23bd1e=new _0x26322(_0x3cab08)['setAlpha'](0.2)[_0x8a7472(0x277)](),_0x5989ed=new _0x44dce7(Wo+_0x459384[_0x8a7472(0x422)](Je),{'pointsGroup':_0x242961,'fill':_0x23bd1e||_0x4d3a87(_0x4d555b[_0x8a7472(0x250)],0.2),'left':_0xee0429,'top':_0x40f7f5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8a7472(0x372)][_0x8a7472(0x3c1)](_0x5989ed),this[_0x8a7472(0x27a)][_0x8a7472(0x2dc)](_0x5989ed,_0x38ec42);}['_getAnchorBounding'](_0x46c14a){const _0x593aee=_0x46c14a[0x0],_0x3c3921=_0x593aee[0x0],_0x3b5b40=_0x593aee[0x2],{x:_0x1ef434,y:_0x3ab654}=_0x3c3921,{x:_0x1585c6,y:_0x3356a6}=_0x3b5b40;return{'left':_0x1ef434,'top':_0x3ab654,'width':_0x1585c6-_0x1ef434,'height':_0x3356a6-_0x3ab654};}[_0x2775ba(0x525)](){const _0x49eb72=_0x2775ba,{scaleX:_0x1d968b,scaleY:_0x564bf}=this[_0x49eb72(0x27a)][_0x49eb72(0x23e)]();return Math[_0x49eb72(0x41c)](_0x1d968b,_0x564bf);}}var Yo=Object[_0x2775ba(0x29e)],Ko=Object[_0x2775ba(0x23b)],zo=(_0x63d16c,_0x246821,_0x126d30,_0xb22ffe)=>{const _0x5a01b1=_0x2775ba;for(var _0x47e468=_0xb22ffe>0x1?void 0x0:_0xb22ffe?Ko(_0x246821,_0x126d30):_0x246821,_0x19e1db=_0x63d16c[_0x5a01b1(0x549)]-0x1,_0x485c5d;_0x19e1db>=0x0;_0x19e1db--)(_0x485c5d=_0x63d16c[_0x19e1db])&&(_0x47e468=(_0xb22ffe?_0x485c5d(_0x246821,_0x126d30,_0x47e468):_0x485c5d(_0x47e468))||_0x47e468);return _0xb22ffe&&_0x47e468&&Yo(_0x246821,_0x126d30,_0x47e468),_0x47e468;},ct=(_0x6fad8a,_0x4b8b1c)=>(_0x3eda69,_0x56fe22)=>_0x4b8b1c(_0x3eda69,_0x56fe22,_0x6fad8a);let os=class extends _0x355f5a{constructor(_0x3e2d8e,_0x2362ec,_0x4416ec,_0xd2cb14,_0x5ea257){const _0x3b6a11=_0x2775ba;super(),g(this,_0x3b6a11(0x4ba),[]),g(this,_0x3b6a11(0x497),[]),(this['_context']=_0x3e2d8e,this[_0x3b6a11(0x1f3)]=_0x2362ec,this[_0x3b6a11(0x29a)]=_0x4416ec,this['_commandService']=_0xd2cb14,this[_0x3b6a11(0x43c)]=_0x5ea257,this[_0x3b6a11(0x56c)]());}['_init'](){const _0x2f45a8=_0x2775ba,_0x89dee6=this['_context'][_0x2f45a8(0x30b)],_0x9e2819=this[_0x2f45a8(0x1f3)];this[_0x2f45a8(0x49c)](_0xeb8700([this[_0x2f45a8(0x29a)][_0x2f45a8(0x295)](_0x89dee6),this[_0x2f45a8(0x43c)][_0x2f45a8(0x232)]])['pipe'](_0x23a394(([_0x835f80,_0x2c3b78])=>({'skeleton':_0x9e2819['getSkeleton'](),'cursors':[..._0x835f80['values']()][_0x2f45a8(0x1d9)](_0x304565=>({..._0x304565,'color':_0x2c3b78[_0x304565[_0x2f45a8(0x51f)]]}))})))[_0x2f45a8(0x473)](_0x450112=>{const _0x5575d4=_0x2f45a8;if(this[_0x5575d4(0x310)](),_0x450112){const {skeleton:_0x5ef351,cursors:_0x47988d}=_0x450112;this[_0x5575d4(0x290)](_0x5ef351,_0x47988d);}})),this[_0x2f45a8(0x400)](),this[_0x2f45a8(0x2ae)]();}[_0x2775ba(0x290)](_0x4fb480,_0x8c1ebc){const _0x4edc56=_0x2775ba,{scene:_0xf094fe,mainComponent:_0xbc0faf}=this[_0x4edc56(0x38b)],_0x488f86=_0x8c1ebc[_0x4edc56(0x22c)](_0x5175dd=>new Ks(_0x5175dd,_0xf094fe,_0x4fb480,_0xbc0faf));this[_0x4edc56(0x4ba)]=_0x488f86,this[_0x4edc56(0x497)]=_0x8c1ebc;}['_refreshCollabCursors'](){const _0x3756be=_0x2775ba;this[_0x3756be(0x310)]();const {scene:_0x265378,mainComponent:_0x243c02}=this[_0x3756be(0x38b)],_0x15f702=this[_0x3756be(0x1f3)][_0x3756be(0x462)](),_0x47fcd4=this[_0x3756be(0x497)][_0x3756be(0x22c)](_0x2905e5=>new Ks(_0x2905e5,_0x265378,_0x15f702,_0x243c02));this[_0x3756be(0x4ba)]=_0x47fcd4;}['_removeCollabCursors'](){const _0x38d122=_0x2775ba;this['_cursorShapes']['forEach'](_0xc9f916=>_0xc9f916[_0x38d122(0x44a)]()),this[_0x38d122(0x4ba)]=[];}[_0x2775ba(0x2ae)](){const _0x1c29ad=_0x2775ba,_0x3819d0=[_0x5aa9d6['id']];this[_0x1c29ad(0x49c)](this[_0x1c29ad(0x5ca)][_0x1c29ad(0x1de)](_0x19c1a0=>{const _0x4d1b26=_0x1c29ad;_0x3819d0[_0x4d1b26(0x499)](_0x19c1a0['id'])&&_0x19c1a0[_0x4d1b26(0x3b1)][_0x4d1b26(0x30b)]===this['_context']['unitId']&&this[_0x4d1b26(0x49d)]();}));}[_0x2775ba(0x400)](){const _0x20dc1a=_0x2775ba;this['disposeWithMe'](_0x1587cc(this[_0x20dc1a(0x38b)][_0x20dc1a(0x559)][_0x20dc1a(0x3a3)])[_0x20dc1a(0x588)](_0x351f04(_0x2cdce2=>_0x2cdce2[_0x20dc1a(0x54c)]===_0x1c1950['resize']),_0x574fa9(0x10))['subscribe'](()=>{const _0x20332c=_0x20dc1a;this[_0x20332c(0x49d)]();}));}};os=zo([ct(0x1,_0x6fd5ef(_0x19ec38)),ct(0x2,_0x6fd5ef(Ve)),ct(0x3,_0x386a88),ct(0x4,_0x6fd5ef(_0x589dd1))],os);const qo=0x1,Xo=1.5;class Jo extends _0x20dc36{constructor(_0x37ce96,_0x39e614){const _0x1c89af=_0x2775ba;super(_0x37ce96,_0x39e614),g(this,_0x1c89af(0x1be)),g(this,'_hovered',!0x1),g(this,_0x1c89af(0x392)),g(this,_0x1c89af(0x2cc),''),g(this,'_labelPosition',_0x1c89af(0x4f9)),g(this,_0x1c89af(0x448)),(_0x39e614&&this[_0x1c89af(0x337)](_0x39e614),this['onPointerEnter$'][_0x1c89af(0x4dd)](()=>this[_0x1c89af(0x337)]({'hovered':!0x0})),this[_0x1c89af(0x25d)][_0x1c89af(0x4dd)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2775ba(0x337)](_0x50373a){const _0x46c0cf=_0x2775ba;var _0xf90afd,_0x49cc8e,_0x11d18f,_0x3178b4,_0x5887aa,_0x201adc;this[_0x46c0cf(0x1be)]=(_0xf90afd=_0x50373a['color'])!=null?_0xf90afd:this[_0x46c0cf(0x1be)],this[_0x46c0cf(0x271)]=(_0x49cc8e=_0x50373a[_0x46c0cf(0x4aa)])!=null?_0x49cc8e:this['_hovered'],this[_0x46c0cf(0x392)]=(_0x11d18f=_0x50373a[_0x46c0cf(0x437)])!=null?_0x11d18f:this[_0x46c0cf(0x392)],this[_0x46c0cf(0x2cc)]=(_0x3178b4=_0x50373a[_0x46c0cf(0x319)])!=null?_0x3178b4:this['_name'],this[_0x46c0cf(0x31e)]=(_0x5887aa=_0x50373a['labelPosition'])!=null?_0x5887aa:this[_0x46c0cf(0x31e)],this[_0x46c0cf(0x448)]=(_0x201adc=_0x50373a['backgroundColor'])!=null?_0x201adc:this['_backgroundColor'],this[_0x46c0cf(0x27c)]({'width':_0x50373a[_0x46c0cf(0x494)],'height':_0x50373a[_0x46c0cf(0x20e)]});}[_0x2775ba(0x405)](_0x4a855f){const _0x5b6b60=_0x2775ba,{row:_0x142dc1,column:_0x16812f}=_0x4a855f;if(_0x142dc1>=this[_0x5b6b60(0x392)][_0x5b6b60(0x510)]&&_0x142dc1<=this[_0x5b6b60(0x392)][_0x5b6b60(0x517)]&&_0x16812f>=this[_0x5b6b60(0x392)][_0x5b6b60(0x268)]&&_0x16812f<=this[_0x5b6b60(0x392)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2775ba(0x421)](_0x41c3fd){return!0x1;}[_0x2775ba(0x335)](_0x32a718){const _0x50dfd9=_0x2775ba;_0x53d9c5[_0x50dfd9(0x385)](_0x32a718,{'width':this[_0x50dfd9(0x494)],'height':this[_0x50dfd9(0x20e)],'strokeWidth':Xo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x50dfd9(0x448)]}),this[_0x50dfd9(0x271)]&&(_0x32a718['save'](),_0x32a718['transform'](0x1,0x0,0x0,0x1,this[_0x50dfd9(0x494)],this[_0x50dfd9(0x31e)]===_0x50dfd9(0x50f)?0x0:-nt),Ot[_0x50dfd9(0x385)](_0x32a718,{'text':this[_0x50dfd9(0x2cc)],'color':this['_color']}),_0x32a718[_0x50dfd9(0x3f6)]());}}var Zo=Object['defineProperty'],Qo=Object[_0x2775ba(0x23b)],ea=(_0x47d474,_0x375cb0,_0x187cec,_0x1247df)=>{const _0x3d2eb2=_0x2775ba;for(var _0xe1b425=_0x1247df>0x1?void 0x0:_0x1247df?Qo(_0x375cb0,_0x187cec):_0x375cb0,_0x4cae7e=_0x47d474[_0x3d2eb2(0x549)]-0x1,_0x32b69c;_0x4cae7e>=0x0;_0x4cae7e--)(_0x32b69c=_0x47d474[_0x4cae7e])&&(_0xe1b425=(_0x1247df?_0x32b69c(_0x375cb0,_0x187cec,_0xe1b425):_0x32b69c(_0xe1b425))||_0xe1b425);return _0x1247df&&_0xe1b425&&Zo(_0x375cb0,_0x187cec,_0xe1b425),_0xe1b425;},kt=(_0x2491e0,_0x584cc7)=>(_0x591201,_0x23ca2c)=>_0x584cc7(_0x591201,_0x23ca2c,_0x2491e0);const ta=0x1389;let as=class extends _0x355f5a{constructor(_0x3b7d48,_0x2fd155,_0x4da59f,_0x204f0e){const _0x8a016=_0x2775ba;super(),g(this,_0x8a016(0x497),new Set()),g(this,_0x8a016(0x4b5),null),(this['_context']=_0x3b7d48,this[_0x8a016(0x1c0)]=_0x2fd155,this[_0x8a016(0x29a)]=_0x4da59f,this[_0x8a016(0x43c)]=_0x204f0e,this[_0x8a016(0x56c)]());}[_0x2775ba(0x56c)](){const _0x140181=_0x2775ba;this[_0x140181(0x1c0)][_0x140181(0x46b)]['pipe'](_0x3a6336(this['dispose$']),_0x3de0d4(_0x18bfe9=>{const _0x51683e=_0x140181;if(_0x18bfe9){const _0x279d22=_0x18bfe9[_0x51683e(0x328)];return _0xeb8700(this[_0x51683e(0x29a)]['getCollabCursors$'](this['_context'][_0x51683e(0x30b)]),this[_0x51683e(0x43c)][_0x51683e(0x232)])['pipe'](_0x23a394(([_0x23b55f,_0x2a0f4f])=>{const _0x496417=_0x51683e,_0x432e31=new Map();return _0x23b55f[_0x496417(0x48a)]((_0x5bdbe7,_0xd3ec2c)=>{const _0x59b064=_0x496417;if(_0x5bdbe7['sheetID']===_0x279d22){const _0x44b102={..._0x5bdbe7};_0x44b102[_0x59b064(0x51f)]=_0x2a0f4f[_0x5bdbe7[_0x59b064(0x51f)]],_0x432e31['set'](_0xd3ec2c,_0x44b102);}}),{'skeleton':_0x18bfe9,'cursors':_0x432e31};}));}return _0x73c76d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x300d1e,cursors:_0x76e5d2})=>{const _0x51a9af=_0x140181;this['_removeCollabCursors'](),_0x300d1e&&this[_0x51a9af(0x290)](_0x300d1e,_0x76e5d2);}),this[_0x140181(0x1c0)][_0x140181(0x46b)][_0x140181(0x473)](_0x24e4f3=>{const _0x3077ba=_0x140181;if(_0x24e4f3==null)return;const {skeleton:_0x33cc0d}=_0x24e4f3,{scene:_0x20136e}=this[_0x3077ba(0x38b)];_0x20136e[_0x3077ba(0x512)][_0x3077ba(0x4dd)](_0x647387(_0x5dc0e0=>{const _0x670de9=_0x3077ba;var _0x5a98e2,_0x7860b1;const {offsetX:_0xefbee4,offsetY:_0x1957a4}=_0x5dc0e0,{x:_0x409cc4,y:_0x36aaf2}=_0x20136e[_0x670de9(0x23c)](_0x3e66a4[_0x670de9(0x382)]([_0xefbee4,_0x1957a4])),{scaleX:_0x126641,scaleY:_0x261f48}=_0x20136e[_0x670de9(0x23e)](),_0x5b19e9=_0x20136e['getViewport'](_0x273743['VIEW_MAIN']),_0x4a86e9=_0x20136e[_0x670de9(0x3ba)](_0x3e66a4[_0x670de9(0x382)]([_0x409cc4,_0x36aaf2]),_0x5b19e9),_0x908471=_0x33cc0d[_0x670de9(0x587)](_0xefbee4,_0x1957a4,_0x126641,_0x261f48,_0x4a86e9);((_0x5a98e2=this[_0x670de9(0x4b5)])==null?void 0x0:_0x5a98e2['column'])===_0x908471['column']&&((_0x7860b1=this['_lastPointer'])==null?void 0x0:_0x7860b1[_0x670de9(0x40b)])===_0x908471['row']||this[_0x670de9(0x497)][_0x670de9(0x48a)](_0x299630=>{const _0x25d321=_0x670de9;_0x299630[_0x25d321(0x405)](_0x908471);});},0x64));});}[_0x2775ba(0x290)](_0x14958f,_0x42bf53){const _0x496dc1=_0x2775ba;var _0xad7d26;const _0x4d5887=(_0xad7d26=this[_0x496dc1(0x1c0)][_0x496dc1(0x21d)]())==null?void 0x0:_0xad7d26[_0x496dc1(0x2bc)];if(!_0x4d5887)return;const _0x14d18f=this['_getSheetObject']();if(!_0x14d18f)return;this[_0x496dc1(0x497)][_0x496dc1(0x48a)](_0x5d1265=>{const _0x31c2e6=_0x496dc1;_0x5d1265[_0x31c2e6(0x266)]();});const {scene:_0xaa7d5d}=_0x14d18f,_0x54d244=sa(Array[_0x496dc1(0x1f9)](_0x42bf53[_0x496dc1(0x53e)]()))[_0x496dc1(0x22c)](_0x4cf12e=>{const _0x588b98=_0x496dc1,{color:_0x3a4eff,range:_0x5bad39,name:_0x365d4a,selection:_0x5da5b5,sheetID:_0xa212d}=_0x4cf12e,{startColumn:_0x13fd52,startRow:_0x1837d3,endColumn:_0x288cfa,endRow:_0x5c4e78}=_0x5bad39,_0x31d9cb=_0x53a56d(_0x1837d3,_0x13fd52,_0xaa7d5d,_0x4d5887),_0x2bf062=_0x53a56d(_0x5c4e78,_0x288cfa,_0xaa7d5d,_0x4d5887),{columnHeaderHeightAndMarginTop:_0x3b30b5}=_0x4d5887,{startX:_0x48dd3a,startY:_0x27cbe9}=_0x31d9cb,{endX:_0x27a6b6,endY:_0x44037b}=_0x2bf062,_0x226589=_0x27a6b6-_0x48dd3a,_0x12e678=_0x44037b-_0x27cbe9,_0x6e9668={'labelPosition':_0x27cbe9-_0x3b30b5>=nt?_0x588b98(0x4f9):_0x588b98(0x50f),'sheetID':_0xa212d,'range':_0x5bad39,'color':_0x3a4eff,'name':_0x365d4a,'selection':_0x5da5b5,'left':_0x48dd3a,'top':_0x27cbe9,'width':_0x226589,'height':_0x12e678,'evented':!0x1,'zIndex':ta};return new Jo(_0x365d4a,_0x6e9668);});_0xaa7d5d[_0x496dc1(0x35b)](_0x54d244,qo),this['_cursors']=new Set(_0x54d244);}[_0x2775ba(0x310)](){const _0x2e8a41=_0x2775ba;var _0x425441;(_0x425441=this['_cursors'])==null||_0x425441[_0x2e8a41(0x48a)](_0x456f7b=>_0x456f7b[_0x2e8a41(0x44a)]());}[_0x2775ba(0x504)](){const _0x54d866=_0x2775ba;return _0xb9f801(this[_0x54d866(0x38b)][_0x54d866(0x2ab)],this[_0x54d866(0x38b)]);}};as=ea([kt(0x1,_0x6fd5ef(_0x4b9bfc)),kt(0x2,_0x6fd5ef(Ve)),kt(0x3,_0x6fd5ef(_0x589dd1))],as);function sa(_0x136079){const _0x1444f8=_0x2775ba,_0x46cc0b=new Map();return _0x136079[_0x1444f8(0x48a)](_0x3eec99=>{const _0xc64bf4=_0x1444f8;if(_0x46cc0b[_0xc64bf4(0x482)](_0x3eec99[_0xc64bf4(0x3e0)])){const _0x484ad6=_0x46cc0b['get'](_0x3eec99['selection']);_0x484ad6[_0xc64bf4(0x319)]+=',\x20'+_0x3eec99[_0xc64bf4(0x319)];}else _0x46cc0b[_0xc64bf4(0x59f)](_0x3eec99[_0xc64bf4(0x3e0)],_0x3eec99);}),Array[_0x1444f8(0x1f9)](_0x46cc0b['values']());}function _0x1b4e(){const _0x4e0f46=['registerRefRange','collaMsg','crypto','_keySchedule','change$','currentSkeleton$','off-line-single','_reverseMap','RemoveColCommandId','_anchor','_render','/universer-api/file/{fileID}/sign-url','UNKNOWN_CMD','subscribe','_createSocketURL','\x20-\x20','getCollabEntity$','registerComponent','text','_changesetSessionId','UniverIcon','close$','USERS_ENTER','_singleActiveUnitService','_members','BlockCipher','onStarting','_sessionStatus$','has','SNAPSHOT_HAS_BEEN_REMOVED','localeService','ws://127.0.0.1:8000/universer-api/comb/connect','[CollaborationSessionService]:\x20socket\x20error','online','setActiveRange','addImageSourceCache','forEach','_saveCache','_undoRedoService','SNAPSHOT_INVALID_SNAPSHOT','CONFLICT','YUUMI_SUBSCRIPTION_NOT_FOUND','COLLAB_WEB_SOCKET_URL','transformChangesets','JOIN_ROOM_NOT_ALLOWED','_saveTaskMap','width','_nRounds','getUnit','_cursors','resolve','includes','_updateURLWithCurrentState','_hash','disposeWithMe','_refreshCollabCursors','onRemoteRetry','_sheetTransformSelectionsService','_collabCursorState$','visibilitychange','_resendTimer','univer-online-status-icon','_initDependencies','_clearLocalCache','_selfUnitIDs','_onRemoteRetry','getParam','baseRev','hovered','_resendWithTimeout','ALREADY_EXISTS','getConfig','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','...','_doCryptBlock','hasOwnProperty','awaitingChangeset','_ensureSubject','_lastPointer','Base','hide','InsertRangeMoveDownCommandId','_compressMutationService','_cursorShapes','_handleJoinEvent','/universer-api/comb','_logService','getUnitOnRev','ONLINE','measureText','random','now','_substituteUndoStack','defs','use','_onRemoteRejected','_cursorInfo$','gold400','CONNECTOR_DATA_TOO_LARGE','setItem','_pendingMutations','/object','OpenSSL','getDocRanges','find','onTransformIME','startsWith','_applyRemoteChangeset','visibilityState','_imageSourceCache','\x0aAfter:\x20','univer-online','post','prototype','jsx','getMemberID','newValue','getCurrentSelections','subscribeEvent','USERS_LEAVE','number','setConfig','SYNCED','onTransformRemoteChangesetByStateCache','actions','decrypt','hostname','allowed','collabSubmitChangesetUrl','incrementRevOfUnit','_getDownloadEndpointURL','updateCursorEvent','_renderManagerService','_telemetryService','reject','_createHelper','getImageSourceCache','rev','_collaborationTimeoutTimer','FETCH_MISS','_messageService','UNIVER_UNKNOWN','enableAuthServer','unknown','setWaitCount','collab-client.tooltip.reconnect','top','CHANGESET_REJ','FETCH_MISSING','_removeClearOtherTimer','offline','univer-online-status','Base64','changesets','unsubscribe','_hasher','getInterceptPoints','_getSheetObject','subUnitId','init','BufferedBlockAlgorithm','/allowed','WordArray','_setupSubUnitSync','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','64566ZKJSeF','executeCommand','registerRenderModule','bottom','startRow','attrs','onPointerMove$','unshift','COMPRESS_MUTATION_APPLY','data','_mode','endRow','_onMessage','objectID','_fetchMissChangesets','focused$','_undoStacks','_doProcessBlock','next','color','currentColor','_changesetReqId','M0\x200H16V16H0z','AUTHZ_URL_KEY','_onConnectionOpen','_getScale','fetch_missing','collaboration.closeRoom','_unitOnClients','_eventUnsubscribe','_key','toLowerCase','unload','ERROR_IMAGE','downloadEndpointUrl','INVALID_ARGUMENT','onStateChange','getUnitId','message$','_syncEditingCollabCursorService','NOT_COLLAB','moveTo','_nDataBytes','off-line-single_clip0_910_343','randomBytes','_DEC_XFORM_MODE','sessionStatus','HttpImport','_onCursorDelete','c1Prime','values','&source=','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_updateStatus','_snapshotServerService','objectType','_map','_sessions','replaceDocRanges','_colorIndex','_handleEvent','length','splice','status','type','_createHmacHelper','_acknowledgedAwaitingChangeset','clone','deleteCollaborator','editingUnit','_collabSessionService','floor','SHA1','searchParams','removeMember','_replayCachedMutations','socketService','engine','purple300','closePath','/fetchmissing?from=','replaceState','_clearScheduledTask','/universer-api/authz','on-line-single','InsertRangeMoveRightCommandId','session.room-full','enc','transformMutation','getLatestCsReqIdBySid','then','cursorInfo','collab-text-range-','selections','COLLAB_SUBMIT_CHANGESET_URL','undoState','_init','_prevBlock','_minBufferSize','/role','UPDATE_CURSOR','doc.mutation.rich-text-editing','onRemoteChangeset','UNIVER_DOC','defIds','#fff','_startDocCollabCursor','ERROR_EXCEED_SIZE','/block/','setCurrentUser','getUnitType','toString','ERROR_IMAGE_TYPE','_collaborationSessionService','objectActions','collabStatus.offline','getItem','resourceIDs','_send','_change$','font','_initEventListeners','_onConflict','getCellPositionByOffset','pipe','LEAVE','infoRsp','collab-text-anchor-','_updateState','SUBMIT_CHANGESET','_isPermissionRej','appendMutation','DeleteRangeMoveLeftCommandId','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_ws','_transformUndoredo','encryptBlock','equals','LIVESHARE_NEW_HOST','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CHANGESET_ACK','blockSize','_socket','HttpExport','x-univer-host','sid','onMissedChangesetFetched','set','reset','FAIL','split','mixIn','UUID','/rev/','charCodeAt','ENSURE_SNAPSHOT_EXECUTION','tag','socket\x20open.','clipPath','conflict.title','[PendingState]:\x20received\x20rejection.','setParam','uni.network.url-service','_transformRemoteChangesetByIMECache','setAlpha','docStateChange$','_lockTransition','_startSheetCollabCursor','Pkcs7','loadDoc','saveChangeset','35yjxSQZ','charAt','_drawAnchor','collab-rect-range-','history','isActive','getUndoRedoMutationParamsCache','updateCollaborator','hasher','_transformRemoteChangesetByStateCache','readInt32LE','_remoteChangesetQueue','_collaborationController','_data','some','[CollaborationUndoRedoService]','lib','getSheetId','collabCursorState$','_commandService','Fragment','save','getTypeOfUnitAdded$','_tryReconnect','image/png','OFFLINE','/object/','substr','transformMutationsWithChangeset','updateOfflineData','getRangePointData','[OfflineState]:\x20received\x20changeset.','NoPadding','current','&to=','_setupBeforeClosingHandler','_socketReady','_color','findNodePositionByCharIndex','_sheetSkeletonManagerService','getTypeOfUnitDisposed$','reconnect','path','delete','ciphertext','saveSnapshot','pending','HmacMD5','_decreaseWaiting','__creator','PERMISSION_REJ','getMergeData','redoState','status$','_updateLocalCache','/-/object/-/batch_allowed','UNIVER_SHEET','getTime','_initStatusComponent','updateMember','_doReset','_xformMode','beginPath','/universer-api/snapshot/','flatMap','UNDEFINED','iterations','_configService','InsertColCommandId','onCommandExecuted','[PendingState]:\x20received\x20acknowledgement.','asObservable','ivSize','originalMeta','Utf8','every','collabWebSocketUrl','complete','unitID','size','collaboration.single-unit.warning','Warning','getCurrentUnitForType','clearTimeout','_hideTimer','_snapshotService','/universer-api/stream/file/upload','onload','copyFileMeta','fillStyle','_docSkeletonManagerService','NO_OTHER_CLIENTS_EDITING','LOCAL_CACHE_INTERVAL','APPLY_REJECT','_awaitingChangeset','_instanceService','from','application/json','_anchorDot','onReady','algo','CipherParams','unit-cache-','MoveRangeCommandId','_joinRoom','PSEUDO_FETCH_MISSING_RESULT','mode','_onRemoteACK','/collaborator','body','defaultProps','_memberService','updatePermissionPoint','\x20to\x20','_docSyncEditingCollabCursorService','_permissionService','Error\x20on\x20receiving\x20event','height','_cursor','[FetchMissState]','SerializableCipher','setUndoRedoMutationParamsCache','cursorInfo$','Univer','svg','createSocket','_checkMissing','onSyncEditingCollabCursor','padding','_cipher','_handleHover','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getCurrent','enableSingleActiveInstanceLock','_onCursorUpdate','isEditing','activeSheet$','_roomMembers$','pushState','_onRecvEvent','_onLocalMutation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','routeKey','_transformSelections','processBlock','_docSkeleton','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','map','hidden','_initStatusListener','children','_urlService','_parse','currentTheme$','_rescheduleHeartbeat','_onFetchMissResult','stringify','setInterval','LOGIN_URL_KEY','sheets','InsertRowCommandId','state$','getOwnPropertyDescriptor','getRelativeToViewportCoord','_createHandler','getAncestorScale','reduce','_unitID','icon','Cipher','collabStatus.fetchMiss','YUUMI_URL_COL_OUT_OF_RANGE','getUnitStatus$','red300','NEW_CHANGESETS','\x20in\x20_schedule.','596384akuELg','catch','_append','cfg','Encryptor','removeParam','getImage','black','assignAColorForMemberID','collaboration-session-retry','[CollaborationEntity]','_getSignURL','transformUndoRedo','registerBeforeClose','memberID','_onJoinRoomEvent','createCollaborator','userID','Hex','SNAPSHOT_URL_KEY','onPointerLeave$','RemoveRowCommandId','LIVESHARE_FETCH_OPERATIONS','call','_transformStack','getCollabEntity','YUUMI_RATE_OVER_LIMIT','OTHER_CLIENTS_EDITING','_transformHistoryAndStateStack','makeDirty','_hover','startColumn','listCollaborators','_docTransformStateCacheService','ref','AES','ranges','_removeRoom','_toggleOnline','submit\x20changeset\x20error!','_hovered','revision','getMember','error','LIVESHARE_REQUEST_HOST','_getMergeRange','toRgbString','getStateCache','keySize','_scene','collaboration-client.config','transformByState','createEncryptor','_loadSheet','clamp','toggleOffline','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','m2Prime','_docTransformSelectionsService','c2Prime','liveShareNewHost','react.element','registerOnClose','IDLE','_initCloseConn','_onUserJoin','show','fill','INTERNAL_ERROR','RETRY_CONNECTING_MAX_COUNT','commentUpdateEvent','_updateCollabCursors','wsSessionTicketUrl','_online','[CollaborationSession]','_showConflictNotification','getCollabCursors$','_localCacheService','_clearCollaborationTimeoutTimer','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_collabCursorController','enableLocalCache','/resources','fromCharCode','defineProperty','bind','getWorkbookSelections','list','contains','onlineStatus','awaiting','event$','HMAC','newCsEvent','_uiPartsService','mutations','249352touUzW','unit','saveImage','getCurrentUser','_initCommandExecutedListener','_getAPIPrefixPath','/new_changes','deepClone','$super','HEADER_MENU','_socketMessageSubscription','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','interceptor','_exhaustRemoteChangesetQueue','_cachedData','_initRequestHeader','273858njtQiO','_entityInit$','skeleton','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','LIVESHARE_TERMINATE','transformRemoteChangeset','_getUploadFileURL','0\x200\x2016\x2016','_transformStateCache','_getCtorByUniverType','session.connection-failed','_clearUndo','uploadFileServerUrl','SEND_CHANGESET_TIMEOUT','get','permissionRejEvent','RECV','roomMembers$','_name','_state$','HEARTBEAT','toggleOnline','_ENC_XFORM_MODE','_disableEditing','commentUpdate$','urlChange$','batchAllowed','_invKeySchedule','for','getFocusedUnit','[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.','concat','origin','patch','addObject','string','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_httpService','csRejEvent','_notificationService','310gfBBkm','OffLineSingle','getDeserializedSheetBlock','popstate','_docTransformIMECacheService','failed\x20to\x20apply\x20missed\x20changesets!','POST','location','addEventListener','_docStateChangeManagerService','_localStorageService','MUTATION','0\x200\x2017\x2016','sigBytes','_telemetryInfo','_loadDoc','RECT','onSendChangeset','onRendered','putCollaborators','setStateCache','on-line-single_clip0_910_349','_clearRedo','textRanges','encrypt','APPLY_DUPLICATED','format','roomMembers','state','_retryConnectingTimer','CHANGESET_SHOULD_RETRY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getRandomValues','_oKey','_sender','_syncEditingCollabCursor','href','awaiting_with_pending','onPointerEnter$','m1Prime','JOIN_ROOM_FULL','unitId','_submitChangeset','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','fromCollab','Hasher','_removeCollabCursors','replace','891170rEFYKr','collaboration-client.offline-data-not-saved','code','_commentService','BASE64','transformStateCache','retryConnectingInterval','name','kdf','loadOfflineData','join','UNRECOGNIZED','_labelPosition','_registerDependencies','slice','result','setTimeout','_session','disableLocalCache','_shouldReportTelemetry','action','round','sheetId','_toggleOffline','msCrypto','BlockCipherMode','_getUndoStack','symbol','Decryptor','whenReady','getSheetBlock','LICENSE_EXPORT_SIZE_EXCEEDED','sessionTicket','update','assign','_draw','headers','setShapeProps','roomInfos','_onCombEvent','image/jpg','univer-online-status-title','propertyIsEnumerable','div','__esModule','_updateSubUnitFromURLParams','_stopTelemetryCollaborationNewChangeset','_id','all','capture','_status$','/unit/','open$','updatePermissionObjEvent','saveSheetBlock','entries','_colorAssignService','_timeoutTimer','_onOffline','_sendHeartbeat','_handler','idSuffix','_type','UNIVER_SLIDE','session.will-retry','_disabled','min','stopTime','transformSelections','onMissingChangesets','collabStatus.syncing','APPLY_NON_SEQUENTIAL_REVISION','save\x20fail\x20reason\x20is\x20','addObjects','send','execute','_userManagerService','isPermissionRej','onRemoteRej','default','getRoom','_textBubble','createDecryptor','/universer-api/oidc/authpage','getCurrentRevOfUnit','_scheduleSaving','UNIVER_COLLABORATION_CLIENT_PLUGIN','_HTTPService','SHOULD_CLOSE_CONN','LICENSE_IMPORT_SIZE_EXCEEDED','enableOfflineEditing','getActiveSheet','disposeUnit','LIVESHARE_OPERATION','eventID','TEXT','_shapes','registerHTTPInterceptor','indexOf','_unlockTransition','objects','collabStatus.notCollab','JOIN','_getSessionTicket','DEFAULT_FILE_NAME','_drawRectRange','_handleHeartbeatEvent','_socketService','HEARTBEAT_TIMEOUT','transformIMECache','_assignedColors','_sendingTimer','FromArray','_injector','/-/object/list','drawWith','MSG_FOR_ERROR','apply','_unitStatus','clear','collabStatus.synced','_context','_queuedRemoteChangesets','roles','_incrementRevisionNumber','JOINING','_commentUpdate$','_retryCount','_range','isArray','_univerInstanceService','extend','_onRefRangeChange','onRemoteAck','univer-pro.collaboration-client.single-active-unit-service','_getAPIPrefix','url(#$1','_transformPreviousActiveRange','editing\x20status\x20changed\x20to','syncEditingCollabCursor','?url=','UNKNOWN_CODE','none','sessionStatus$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onTransformChange$','_config','fetchThroughInterceptors','Undefined','_sendHeartbeatTimer','UNIVER_PROJECT','conflict','reverse','src','HmacSHA1','_state','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getRenderById','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','params','_tryEnsureSocket','_clearHeartbeatTimer','DeleteRangeMoveUpCommandId','_initMergeInterceptor','_scheduleHeartbeat','file','_getCurrentRevision','randomUUID','getVpScrollXYInfoByPosToVp','_throwTelemetryCollaborationNewChangeset','debug','_waitForHeartbeatResponse','function','CBC','_initUnitPermissionChange','push','_doFinalize','colorChannel1','getAllMembers','_localeService','requireSession','byteLength','_updateLocalCursor','_clearOtherTimers','_collaborationPaused','onlineStatusIcon','_roomMembers','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_process','_transformService','INGEST','onTransformSelections','subunit','_iv','AWAITING','Unknown\x20user','_getSendChangesetTimeout','_getSnapshotAPIPrefix','_keyPriorReset','displayName','FileId','COMPLETION_FINISHED','Latin1','clearInterval','fillText','getOffsetConfig','selection','session.collaboration-timeout','{fileID}','image/jpeg','_schedule','compute','_getLoginPath','[DataLoaderController]','className','finalize','words','salt','collabStatus.conflict','createInstance','_scheduleTimestamp','workbook','fetchMiss','1em','_entities','ReactCurrentOwner','_transformIMECache','/universer-api/user/session-ticket','restore','auth.needGotoLoginAlert','loadSheet','_createInitialState','listRoles','onCommentUpdate','translate(.97)','pluginName','filter','OnLineSingle','_initResize','byteOffset','_transitionLocked','connection\x20error','Error','onMouseMove','leaveEvent','UnitEmbedded','shouldCloseConn','onlyLocal','add','row','MD5','collaboratorID','fetchMissingChangesets','jiqing500','synced','_transformUndoRedoStack','blue400','_drawTextRange','dispose$','LICENSE_MAX_UNITS_EXCEEDED','parse','_candidateSocket','decryptBlock','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','error$','getValue','max','_socket$','arc','126060kkYXbG','with','triggerDblclick','generateRandomId','members','_listenToOnlineEvent','telemetry\x20info\x20is\x20not\x20initialized','UnitSnapshot','url','APPLY_REVISION_CONFILICT','create','_event$','exports','reqId','HELLO','UNAUTHENTICATED','_startTelemetryCollaborationNewChangeset','16GVBHxx','_getSaveTimeout','put','resend','xlink:href','134415Zukxdi','close','range','EvpKDF','UPDATE_PERMISSION_OBJ','_onUserLeave','verdancy600','_themeService','_heartbeatTimer','readAsDataURL','_executeRemoteChangeset','_scheduleClearOtherTimer','cmd','pad','getOwnPropertySymbols','_waitCount','storage','_http','_registerRenderDependencies','_backgroundColor','_handleLeaveEvent','dispose','onTransformState','NOT_FOUND','_replaceFileID','_beforeCloseService','exhaustSavingTask','ceil','CHANGESET_REVISION_CONFILICT','_onConnectionFailed','liveShareOperation','Could\x20not\x20dynamically\x20require\x20\x22','_resendTimeout','lineTo','image/bmp','session','[CollaborationSessionService]','confirm','jsxs','pauseCollaboration','encodeURIComponent','encode','_revisionService','key','__Key__','getSkeleton','_clearTimeoutTimer','unpad','_substituteRedoStack'];_0x1b4e=function(){return _0x4e0f46;};return _0x1b4e();}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x3064b7){const _0x25a0a8=_0x2775ba;return _0x3064b7&&_0x3064b7[_0x25a0a8(0x33e)]&&Object[_0x25a0a8(0x4d8)]['hasOwnProperty'][_0x25a0a8(0x260)](_0x3064b7,_0x25a0a8(0x361))?_0x3064b7[_0x25a0a8(0x361)]:_0x3064b7;}var Mi={'exports':{}},yt={},ia=_0x26a164,na=Symbol[_0x2775ba(0x2d6)](_0x2775ba(0x286)),ra=Symbol[_0x2775ba(0x2d6)]('react.fragment'),oa=Object[_0x2775ba(0x4d8)][_0x2775ba(0x4b2)],aa=ia[_0x2775ba(0x30d)][_0x2775ba(0x3f3)],ca={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x59079c,_0x3a5b6f,_0x28c549){const _0x2c4dd9=_0x2775ba;var _0x5512f2,_0x1c47b0={},_0x512daa=null,_0x1efc53=null;_0x28c549!==void 0x0&&(_0x512daa=''+_0x28c549),_0x3a5b6f[_0x2c4dd9(0x460)]!==void 0x0&&(_0x512daa=''+_0x3a5b6f['key']),_0x3a5b6f['ref']!==void 0x0&&(_0x1efc53=_0x3a5b6f[_0x2c4dd9(0x26b)]);for(_0x5512f2 in _0x3a5b6f)oa[_0x2c4dd9(0x260)](_0x3a5b6f,_0x5512f2)&&!ca['hasOwnProperty'](_0x5512f2)&&(_0x1c47b0[_0x5512f2]=_0x3a5b6f[_0x5512f2]);if(_0x59079c&&_0x59079c['defaultProps']){for(_0x5512f2 in(_0x3a5b6f=_0x59079c[_0x2c4dd9(0x207)],_0x3a5b6f))_0x1c47b0[_0x5512f2]===void 0x0&&(_0x1c47b0[_0x5512f2]=_0x3a5b6f[_0x5512f2]);}return{'$$typeof':na,'type':_0x59079c,'key':_0x512daa,'ref':_0x1efc53,'props':_0x1c47b0,'_owner':aa['current']};}yt[_0x2775ba(0x5cb)]=ra,yt['jsx']=xi,yt[_0x2775ba(0x45b)]=xi,Mi['exports']=yt;var Pe=Mi[_0x2775ba(0x42b)],ee=function(){const _0xd5f6f4=_0x2775ba;return ee=Object[_0xd5f6f4(0x334)]||function(_0x222e5b){const _0x14e8ec=_0xd5f6f4;for(var _0x4aa349,_0x1bafdd=0x1,_0xa81891=arguments['length'];_0x1bafdd<_0xa81891;_0x1bafdd++){_0x4aa349=arguments[_0x1bafdd];for(var _0x1bf681 in _0x4aa349)Object['prototype'][_0x14e8ec(0x4b2)]['call'](_0x4aa349,_0x1bf681)&&(_0x222e5b[_0x1bf681]=_0x4aa349[_0x1bf681]);}return _0x222e5b;},ee[_0xd5f6f4(0x387)](this,arguments);},ha=function(_0x3e16b3,_0x2c0228){const _0x30b5c5=_0x2775ba;var _0x5ad2d3={};for(var _0x16d22f in _0x3e16b3)Object['prototype'][_0x30b5c5(0x4b2)][_0x30b5c5(0x260)](_0x3e16b3,_0x16d22f)&&_0x2c0228[_0x30b5c5(0x374)](_0x16d22f)<0x0&&(_0x5ad2d3[_0x16d22f]=_0x3e16b3[_0x16d22f]);if(_0x3e16b3!=null&&typeof Object[_0x30b5c5(0x443)]=='function'){for(var _0x305688=0x0,_0x16d22f=Object[_0x30b5c5(0x443)](_0x3e16b3);_0x305688<_0x16d22f['length'];_0x305688++)_0x2c0228[_0x30b5c5(0x374)](_0x16d22f[_0x305688])<0x0&&Object[_0x30b5c5(0x4d8)][_0x30b5c5(0x33c)][_0x30b5c5(0x260)](_0x3e16b3,_0x16d22f[_0x305688])&&(_0x5ad2d3[_0x16d22f[_0x305688]]=_0x3e16b3[_0x16d22f[_0x305688]]);}return _0x5ad2d3;},Ts=_0x2cc07d(function(_0x160b5c,_0x19963f){const _0x4a44bb=_0x2775ba;var _0x8d5fb5=_0x160b5c['icon'],_0x5d6018=_0x160b5c['id'],_0x1af172=_0x160b5c[_0x4a44bb(0x3e8)],_0x8c0b19=_0x160b5c['extend'],_0xa9c166=ha(_0x160b5c,[_0x4a44bb(0x241),'id',_0x4a44bb(0x3e8),'extend']),_0x2cc960='univerjs-icon\x20univerjs-icon-'['concat'](_0x5d6018,'\x20')[_0x4a44bb(0x2d9)](_0x1af172||'')['trim'](),_0x1b8985=_0x531a7a('_'['concat'](ua()));return Li(_0x8d5fb5,''[_0x4a44bb(0x2d9)](_0x5d6018),{'defIds':_0x8d5fb5[_0x4a44bb(0x574)],'idSuffix':_0x1b8985[_0x4a44bb(0x1ba)]},ee({'ref':_0x19963f,'className':_0x2cc960},_0xa9c166),_0x8c0b19);});function Li(_0x2cfa15,_0x239ca5,_0x473fa8,_0x11c406,_0x1d764c){const _0x50fcbb=_0x2775ba;return _0x490082(_0x2cfa15['tag'],ee(ee({'key':_0x239ca5},la(_0x2cfa15,_0x473fa8,_0x1d764c)),_0x11c406),(_a(_0x2cfa15,_0x473fa8)[_0x50fcbb(0x22f)]||[])[_0x50fcbb(0x22c)](function(_0x129d73,_0x29974f){const _0x49b47d=_0x50fcbb;return Li(_0x129d73,''['concat'](_0x239ca5,'-')[_0x49b47d(0x2d9)](_0x2cfa15['tag'],'-')['concat'](_0x29974f),_0x473fa8,void 0x0,_0x1d764c);}));}function la(_0x32b4a6,_0x2b0cfd,_0x4c1b65){const _0x4178c9=_0x2775ba;var _0x338aca=ee({},_0x32b4a6[_0x4178c9(0x511)]);_0x4c1b65!=null&&_0x4c1b65[_0x4178c9(0x3c3)]&&_0x338aca['fill']===_0x4178c9(0x3c3)&&(_0x338aca['fill']=_0x4c1b65[_0x4178c9(0x3c3)]);var _0x576b5f=_0x2b0cfd[_0x4178c9(0x574)];return!_0x576b5f||_0x576b5f[_0x4178c9(0x549)]===0x0||(_0x32b4a6[_0x4178c9(0x5a8)]===_0x4178c9(0x4c5)&&_0x338aca['xlink:href']&&(_0x338aca[_0x4178c9(0x434)]=_0x338aca[_0x4178c9(0x434)]+_0x2b0cfd['idSuffix']),Object[_0x4178c9(0x349)](_0x338aca)[_0x4178c9(0x48a)](function(_0x57ab9c){const _0x3cc423=_0x4178c9;var _0x1d9683=_0x57ab9c[0x0],_0xfdfdbb=_0x57ab9c[0x1];typeof _0xfdfdbb=='string'&&(_0x338aca[_0x1d9683]=_0xfdfdbb[_0x3cc423(0x311)](/url\(#(.*)\)/,_0x3cc423(0x39a)['concat'](_0x2b0cfd['idSuffix'],')')));})),_0x338aca;}function _a(_0x493546,_0x34de65){const _0x2d9b83=_0x2775ba;var _0x1b582f,_0x3825df=_0x34de65[_0x2d9b83(0x574)];return!_0x3825df||_0x3825df[_0x2d9b83(0x549)]===0x0?_0x493546:_0x493546['tag']===_0x2d9b83(0x4c4)&&(!((_0x1b582f=_0x493546[_0x2d9b83(0x22f)])===null||_0x1b582f===void 0x0)&&_0x1b582f['length'])?ee(ee({},_0x493546),{'children':_0x493546['children'][_0x2d9b83(0x22c)](function(_0x33f5b5){const _0x256edd=_0x2d9b83;return typeof _0x33f5b5[_0x256edd(0x511)]['id']==_0x256edd(0x2dd)&&_0x3825df&&_0x3825df[_0x256edd(0x374)](_0x33f5b5[_0x256edd(0x511)]['id'])>-0x1?ee(ee({},_0x33f5b5),{'attrs':ee(ee({},_0x33f5b5[_0x256edd(0x511)]),{'id':_0x33f5b5[_0x256edd(0x511)]['id']+_0x34de65[_0x256edd(0x34f)]})}):_0x33f5b5;})}):_0x493546;}function ua(){const _0x1479f1=_0x2775ba;return Math[_0x1479f1(0x4c1)]()[_0x1479f1(0x57b)](0x24)['substring'](0x2,0x8);}Ts[_0x2775ba(0x3d9)]=_0x2775ba(0x47a);var da={'tag':_0x2775ba(0x215),'attrs':{'fill':'none','viewBox':_0x2775ba(0x2c1),'width':'1em','height':_0x2775ba(0x3f1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x2775ba(0x1c3),'attrs':{'stroke':_0x2775ba(0x520),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2775ba(0x327),'strokeLinejoin':_0x2775ba(0x327),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2775ba(0x537)},'children':[{'tag':_0x2775ba(0x1c3),'attrs':{'fill':_0x2775ba(0x575),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2775ba(0x537)]},$i=_0x2cc07d(function(_0x4fec51,_0x2a9cf2){const _0x1888c9=_0x2775ba;return _0x490082(Ts,Object[_0x1888c9(0x334)]({},_0x4fec51,{'id':_0x1888c9(0x46c),'ref':_0x2a9cf2,'icon':da}));});$i[_0x2775ba(0x3d9)]=_0x2775ba(0x2e3);var fa={'tag':_0x2775ba(0x215),'attrs':{'fill':_0x2775ba(0x3a0),'viewBox':_0x2775ba(0x2ee),'width':_0x2775ba(0x3f1),'height':_0x2775ba(0x3f1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2775ba(0x2bd),'strokeLinecap':_0x2775ba(0x327),'strokeLinejoin':_0x2775ba(0x327),'strokeWidth':1.2}}]},{'tag':_0x2775ba(0x4c4),'attrs':{},'children':[{'tag':_0x2775ba(0x5aa),'attrs':{'id':_0x2775ba(0x2f7)},'children':[{'tag':_0x2775ba(0x1c3),'attrs':{'fill':_0x2775ba(0x575),'d':_0x2775ba(0x522),'transform':_0x2775ba(0x3fc)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Hi=_0x2cc07d(function(_0x1108ee,_0x4aa09a){const _0x1ed7a9=_0x2775ba;return _0x490082(Ts,Object['assign']({},_0x1108ee,{'id':_0x1ed7a9(0x560),'ref':_0x4aa09a,'icon':fa}));});Hi[_0x2775ba(0x3d9)]=_0x2775ba(0x3ff);function ji(_0x2573f6){const _0x20398d=_0x2775ba;var _0x1da57f,_0x290908,_0x16663e='';if(typeof _0x2573f6==_0x20398d(0x2dd)||typeof _0x2573f6==_0x20398d(0x4df))_0x16663e+=_0x2573f6;else{if(typeof _0x2573f6=='object'){if(Array[_0x20398d(0x393)](_0x2573f6)){var _0x3f6ae9=_0x2573f6['length'];for(_0x1da57f=0x0;_0x1da57f<_0x3f6ae9;_0x1da57f++)_0x2573f6[_0x1da57f]&&(_0x290908=ji(_0x2573f6[_0x1da57f]))&&(_0x16663e&&(_0x16663e+='\x20'),_0x16663e+=_0x290908);}else{for(_0x290908 in _0x2573f6)_0x2573f6[_0x290908]&&(_0x16663e&&(_0x16663e+='\x20'),_0x16663e+=_0x290908);}}}return _0x16663e;}function va(){for(var _0x517de6,_0x5143c5,_0xaa0732=0x0,_0x29e333='',_0x4b570c=arguments['length'];_0xaa0732<_0x4b570c;_0xaa0732++)(_0x517de6=arguments[_0xaa0732])&&(_0x5143c5=ji(_0x517de6))&&(_0x29e333&&(_0x29e333+='\x20'),_0x29e333+=_0x5143c5);return _0x29e333;}const ma=_0x2775ba(0x4a3),pa=_0x2775ba(0x33b),ga=_0x2775ba(0x4fe),Sa=_0x2775ba(0x4d6),Ia='univer-offline',Ze={'onlineStatusIcon':ma,'onlineStatusTitle':pa,'onlineStatus':ga,'online':Sa,'offline':Ia};function Ca(_0x5ccd1b){const _0x413332=_0x2775ba;switch(_0x5ccd1b){case J['OFFLINE']:return _0x413332(0x57f);case J[_0x413332(0x48e)]:return _0x413332(0x3ec);case J[_0x413332(0x4f2)]:return _0x413332(0x243);case J[_0x413332(0x534)]:return _0x413332(0x377);case J['AWAITING']:case J['AWAITING_WITH_PENDING']:return _0x413332(0x358);case J[_0x413332(0x4e1)]:case J['PENDING']:return _0x413332(0x38a);}}function Ea(_0x25b352){const _0x263799=_0x2775ba,{status$:_0x15ab88}=_0x25b352,_0x3a9856=_0x3d4ef7(_0x15ab88,J['NOT_COLLAB']),_0xc71bd1=_0x449032(_0x312a5a),_0x122d98=_0x449032(xe),_0x35190e=_0x3a9856!==J[_0x263799(0x5d0)],_0x34b385=_0xc71bd1['t'](Ca(_0x3a9856)),_0x294a0c=va(Ze[_0x263799(0x2a3)],{[Ze[_0x263799(0x487)]]:_0x35190e,[Ze[_0x263799(0x4fd)]]:!_0x35190e}),_0x40075e=_0x35190e?Pe[_0x263799(0x4d9)](Hi,{}):Pe[_0x263799(0x4d9)]($i,{}),_0x253248=_0x129db3(()=>{const _0x4a3153=_0x263799;_0x35190e||_0x122d98[_0x4a3153(0x1c2)]();},[_0x35190e,_0x122d98]);function _0x226875(){const _0x2db303=_0x263799;return Pe['jsxs'](_0x2db303(0x33d),{'className':_0x294a0c,'onClick':_0x253248,'children':[Pe[_0x2db303(0x4d9)](_0x2db303(0x33d),{'className':Ze[_0x2db303(0x3cb)],'children':_0x40075e}),Pe['jsx'](_0x2db303(0x33d),{'className':Ze['onlineStatusTitle'],'children':_0x34b385})]});}return _0x35190e?_0x226875():Pe['jsx'](_0x4ea060,{'title':_0xc71bd1['t'](_0x263799(0x4f8)),'children':_0x226875()});}var ba=Object[_0x2775ba(0x29e)],Ta=Object['getOwnPropertyDescriptor'],Ra=(_0x4a1287,_0x521a84,_0xca0e6d,_0x2d41d8)=>{const _0x358f04=_0x2775ba;for(var _0x34d8c2=_0x2d41d8>0x1?void 0x0:_0x2d41d8?Ta(_0x521a84,_0xca0e6d):_0x521a84,_0x45719c=_0x4a1287[_0x358f04(0x549)]-0x1,_0x3a2cde;_0x45719c>=0x0;_0x45719c--)(_0x3a2cde=_0x4a1287[_0x45719c])&&(_0x34d8c2=(_0x2d41d8?_0x3a2cde(_0x521a84,_0xca0e6d,_0x34d8c2):_0x3a2cde(_0x34d8c2))||_0x34d8c2);return _0x2d41d8&&_0x34d8c2&&ba(_0x521a84,_0xca0e6d,_0x34d8c2),_0x34d8c2;},ht=(_0x495985,_0xca30d7)=>(_0x131522,_0x2b0c04)=>_0xca30d7(_0x131522,_0x2b0c04,_0x495985);let St=class extends _0x2be393{constructor(_0x114b16,_0x113f3b,_0x374312,_0x20b3e4){const _0x218f9b=_0x2775ba;super(),g(this,'_status$',new _0x241bf8(J['NOT_COLLAB'])),(this[_0x218f9b(0x394)]=_0x114b16,this[_0x218f9b(0x2a8)]=_0x113f3b,this[_0x218f9b(0x383)]=_0x374312,this[_0x218f9b(0x5c3)]=_0x20b3e4,this[_0x218f9b(0x1d3)](),this['_initStatusListener']());}[_0x2775ba(0x22e)](){const _0x29d8f2=_0x2775ba;this[_0x29d8f2(0x49c)](this[_0x29d8f2(0x394)][_0x29d8f2(0x51b)]['pipe'](_0x18a69e(()=>{const _0x4639c7=_0x29d8f2,_0x1244cb=this['_univerInstanceService'][_0x4639c7(0x2d7)]();return _0x1244cb?this[_0x4639c7(0x5c3)][_0x4639c7(0x476)](_0x1244cb[_0x4639c7(0x531)]()):_0x73c76d(null);}),_0x18a69e(_0x26c555=>_0x26c555?_0x26c555[_0x29d8f2(0x1ce)]:_0x73c76d(J[_0x29d8f2(0x534)])))['subscribe'](_0x401d67=>{const _0x40d005=_0x29d8f2;this['_status$'][_0x40d005(0x51e)](_0x401d67);}));}[_0x2775ba(0x1d3)](){const _0x38b0d2=_0x2775ba;this['disposeWithMe'](this[_0x38b0d2(0x2a8)][_0x38b0d2(0x477)](_0x8efbe8[_0x38b0d2(0x2b3)],()=>_0x2ecd1c(Oa({'status$':this[_0x38b0d2(0x344)][_0x38b0d2(0x1e0)]()}),this[_0x38b0d2(0x383)])));}};St=Ra([ht(0x0,_0x250342),ht(0x1,_0x293c56),ht(0x2,_0x6fd5ef(_0x5df3a5)),ht(0x3,_0x6fd5ef(it))],St);function Oa(_0x442099){const {status$:_0x56fda7}=_0x442099;return function(){return Pe['jsx'](Ea,{'status$':_0x56fda7});};}const Bi=_0x3dd184(_0x2775ba(0x5ae));var ya=Object[_0x2775ba(0x29e)],wa=Object['getOwnPropertyDescriptor'],Da=(_0x36f9a0,_0x24ed52,_0x424949,_0x45e3be)=>{for(var _0x537dd8=_0x45e3be>0x1?void 0x0:_0x45e3be?wa(_0x24ed52,_0x424949):_0x24ed52,_0xbfb5f6=_0x36f9a0['length']-0x1,_0x34821c;_0xbfb5f6>=0x0;_0xbfb5f6--)(_0x34821c=_0x36f9a0[_0xbfb5f6])&&(_0x537dd8=(_0x45e3be?_0x34821c(_0x24ed52,_0x424949,_0x537dd8):_0x34821c(_0x537dd8))||_0x537dd8);return _0x45e3be&&_0x537dd8&&ya(_0x24ed52,_0x424949,_0x537dd8),_0x537dd8;},ke=(_0x51663d,_0x1cdc4d)=>(_0x3e2b24,_0x444fd8)=>_0x1cdc4d(_0x3e2b24,_0x444fd8,_0x51663d);let It=class extends _0x355f5a{constructor(_0x52e724,_0x1c300a,_0x5f011c,_0x250d2c,_0x3a9100,_0x3a3d9a){const _0x2c395a=_0x2775ba;super(),this['_urlService']=_0x52e724,this[_0x2c395a(0x4bd)]=_0x1c300a,this[_0x2c395a(0x5ca)]=_0x5f011c,this['_localCacheService']=_0x250d2c,this[_0x2c395a(0x1ee)]=_0x3a9100,_0x3a3d9a?_0x3a3d9a==null||_0x3a3d9a[_0x2c395a(0x32f)]()[_0x2c395a(0x566)](()=>this['_init']()):(this[_0x2c395a(0x4bd)]['debug']('[DataLoaderController]',_0x2c395a(0x419)),this['_init']());}async[_0x2775ba(0x56c)](){const _0x5bfde2=_0x2775ba,_0x1e06e0=this[_0x5bfde2(0x230)][_0x5bfde2(0x4a8)](_0x5bfde2(0x2ab)),_0x239870=this[_0x5bfde2(0x230)][_0x5bfde2(0x4a8)](_0x5bfde2(0x54c));if(!_0x1e06e0||!_0x239870){this[_0x5bfde2(0x4bd)][_0x5bfde2(0x3bc)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x239870)){case ce[_0x5bfde2(0x1d1)]:{const _0x2336e9=await this[_0x5bfde2(0x27e)](_0x1e06e0);this['_setupSubUnitSync'](_0x2336e9);break;}case ce[_0x5bfde2(0x573)]:{await this['_loadDoc'](_0x1e06e0);break;}default:{this[_0x5bfde2(0x4bd)][_0x5bfde2(0x274)](_0x5bfde2(0x3e7),_0x5bfde2(0x281));break;}}}async[_0x2775ba(0x50a)](_0x283263){const _0x35961f=_0x2775ba;await this[_0x35961f(0x33f)](_0x283263),_0x283263[_0x35961f(0x221)][_0x35961f(0x588)](_0x359f8b(this[_0x35961f(0x414)]))[_0x35961f(0x473)](_0x4de4f4=>{const _0x201708=_0x35961f;_0x4de4f4&&this[_0x201708(0x49a)](_0x4de4f4);}),this[_0x35961f(0x230)][_0x35961f(0x2d3)]['pipe'](_0x359f8b(this['dispose$']))[_0x35961f(0x473)](()=>this[_0x35961f(0x33f)](_0x283263));}['_updateURLWithCurrentState'](_0x3826ef,_0x2729c1=!0x1){const _0x14194b=_0x2775ba,_0x22d8c5=this[_0x14194b(0x230)]['getParam']('subunit');_0x3826ef['getSheetId']()!==_0x22d8c5&&this[_0x14194b(0x230)][_0x14194b(0x5ad)]('subunit',_0x3826ef[_0x14194b(0x5c8)](),_0x2729c1);}async[_0x2775ba(0x33f)](_0x554592){const _0x46b236=_0x2775ba;var _0x336c4c;const _0x359f0d=this['_urlService'][_0x46b236(0x4a8)](_0x46b236(0x3d2));if(!_0x359f0d||!_0x554592['getSheetBySheetId'](_0x359f0d)){const _0x6263d0=_0x554592['getUnhiddenWorksheets']()[0x0],_0x51fdda=_0x554592['getSheetBySheetId'](_0x6263d0);if(!_0x51fdda)return;this[_0x46b236(0x49a)](_0x51fdda,!0x0),await this[_0x46b236(0x5ca)][_0x46b236(0x50d)](_0x4245f7['id'],{'unitId':_0x554592['getUnitId'](),'subUnitId':_0x6263d0});return;}((_0x336c4c=_0x554592[_0x46b236(0x36d)]())==null?void 0x0:_0x336c4c[_0x46b236(0x5c8)]())!==_0x359f0d&&await this[_0x46b236(0x5ca)]['executeCommand'](_0x4245f7['id'],{'unitId':_0x554592[_0x46b236(0x531)](),'subUnitId':_0x359f0d});}async['_loadSheet'](_0x69f9ff){const _0x226514=_0x2775ba;let _0x17d315=0x0;const _0x21d03c=await this['_localCacheService'][_0x226514(0x31b)](_0x69f9ff);return _0x21d03c&&(_0x21d03c[_0x226514(0x4b3)]||_0x21d03c[_0x226514(0x2a9)][_0x226514(0x549)]!==0x0)&&(_0x17d315=_0x21d03c[_0x226514(0x4f0)]),_0x17d315===0x0&&this['_logService'][_0x226514(0x3bc)](_0x226514(0x3e7),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x226514(0x1ee)][_0x226514(0x3f8)](_0x69f9ff,_0x17d315);}async[_0x2775ba(0x2f1)](_0x1a7976){const _0x125a24=_0x2775ba;let _0x3bcef7=0x0;const _0x2227e6=await this[_0x125a24(0x296)]['loadOfflineData'](_0x1a7976);return _0x2227e6&&(_0x2227e6[_0x125a24(0x4b3)]||_0x2227e6['mutations']['length']!==0x0)&&(_0x3bcef7=_0x2227e6[_0x125a24(0x4f0)]),_0x3bcef7===0x0&&this[_0x125a24(0x4bd)][_0x125a24(0x3bc)](_0x125a24(0x3e7),_0x125a24(0x597)),this[_0x125a24(0x1ee)][_0x125a24(0x5b5)](_0x1a7976,_0x3bcef7);}};It=Da([ke(0x0,Bi),ke(0x1,_0x21d5e3),ke(0x2,_0x386a88),ke(0x3,_0x6fd5ef(q)),ke(0x4,_0x6fd5ef(_0x5eed09)),ke(0x5,_0x19e025(_0x10adb5))],It);var Pa=Object[_0x2775ba(0x29e)],Ua=Object[_0x2775ba(0x23b)],Na=(_0x1a097a,_0x5e543a,_0x1253d0,_0x464b83)=>{const _0x28b280=_0x2775ba;for(var _0x3546ec=_0x464b83>0x1?void 0x0:_0x464b83?Ua(_0x5e543a,_0x1253d0):_0x5e543a,_0xbbfb98=_0x1a097a[_0x28b280(0x549)]-0x1,_0x347458;_0xbbfb98>=0x0;_0xbbfb98--)(_0x347458=_0x1a097a[_0xbbfb98])&&(_0x3546ec=(_0x464b83?_0x347458(_0x5e543a,_0x1253d0,_0x3546ec):_0x347458(_0x3546ec))||_0x3546ec);return _0x464b83&&_0x3546ec&&Pa(_0x5e543a,_0x1253d0,_0x3546ec),_0x3546ec;},zs=(_0xa08735,_0x15cb85)=>(_0x3cea12,_0x231251)=>_0x15cb85(_0x3cea12,_0x231251,_0xa08735);const Aa=_0x2775ba(0x37a),Ma=_0x2775ba(0x214);let Ct=class extends _0x2be393{constructor(_0x3e5650,_0x3c0da0){const _0x23de70=_0x2775ba;super(),this[_0x23de70(0x394)]=_0x3e5650,this[_0x23de70(0x1dc)]=_0x3c0da0,this[_0x23de70(0x56c)]();}[_0x2775ba(0x56c)](){const _0x279bc9=_0x2775ba;this[_0x279bc9(0x49c)](this[_0x279bc9(0x394)][_0x279bc9(0x51b)][_0x279bc9(0x473)](()=>{const _0x29748b=_0x279bc9;var _0x37638a;const _0x442c4c=this[_0x29748b(0x394)]['getFocusedUnit']();let _0x42c2ea=(_0x37638a=this['_configService']['getConfig'](Aa))!=null?_0x37638a:Ma;_0x442c4c instanceof _0x3b0cb8&&(_0x42c2ea=_0x442c4c[_0x29748b(0x319)]),document['title']=_0x42c2ea;}));}};Ct=Na([zs(0x0,_0x250342),zs(0x1,_0x400e14)],Ct);var xa=Object['defineProperty'],La=Object[_0x2775ba(0x23b)],$a=(_0x1192e0,_0x425f12,_0x5a764c,_0x12818c)=>{const _0x5e4bd5=_0x2775ba;for(var _0x33f758=_0x12818c>0x1?void 0x0:_0x12818c?La(_0x425f12,_0x5a764c):_0x425f12,_0x4be5af=_0x1192e0[_0x5e4bd5(0x549)]-0x1,_0x389959;_0x4be5af>=0x0;_0x4be5af--)(_0x389959=_0x1192e0[_0x4be5af])&&(_0x33f758=(_0x12818c?_0x389959(_0x425f12,_0x5a764c,_0x33f758):_0x389959(_0x33f758))||_0x33f758);return _0x12818c&&_0x33f758&&xa(_0x425f12,_0x5a764c,_0x33f758),_0x33f758;},Wt=(_0xeca545,_0x15d2b5)=>(_0xf6fa39,_0x16ec24)=>_0x15d2b5(_0xf6fa39,_0x16ec24,_0xeca545);let Et=class{constructor(_0x4e926b,_0x39c084,_0x3bcf87){const _0x4b7d41=_0x2775ba;this['_configService']=_0x4e926b,this[_0x4b7d41(0x2df)]=_0x39c084,this[_0x4b7d41(0x484)]=_0x3bcf87,this['init']();}[_0x2775ba(0x506)](){const _0x131c0d=_0x2775ba;this[_0x131c0d(0x2df)][_0x131c0d(0x373)]({'priority':0x1,'interceptor':(_0x5ee3db,_0x167a8e)=>_0x167a8e(_0x5ee3db)[_0x131c0d(0x588)](_0x24d850(async _0x7ec7c3=>{const _0x8fb3dc=_0x131c0d,_0x49dca7=_0x7ec7c3;if(_0x49dca7[_0x8fb3dc(0x54b)]===0x191&&window[_0x8fb3dc(0x45a)](this['localeService']['t'](_0x8fb3dc(0x3f7)))){const _0x37da08=window[_0x8fb3dc(0x45d)](window[_0x8fb3dc(0x2e9)][_0x8fb3dc(0x306)]);window['location']['href']=this[_0x8fb3dc(0x3e6)]()+_0x8fb3dc(0x39e)+_0x37da08;}return _0x49dca7;}))});}[_0x2775ba(0x3e6)](){const _0x47f171=_0x2775ba;var _0x373253,_0x13e028;const _0x211445=this[_0x47f171(0x1dc)][_0x47f171(0x4ad)](Tr),_0xf1cb97=this[_0x47f171(0x1dc)]['getConfig'](te);return(_0x13e028=(_0x373253=_0xf1cb97==null?void 0x0:_0xf1cb97['loginUrlKey'])!=null?_0x373253:_0x211445)!=null?_0x13e028:Rr;}};Et=$a([Wt(0x0,_0x400e14),Wt(0x1,_0x6fd5ef(_0x58032c)),Wt(0x2,_0x6fd5ef(_0x312a5a))],Et);var Ha=Object[_0x2775ba(0x29e)],ja=Object['getOwnPropertyDescriptor'],Ba=(_0x3c8859,_0x278a6f,_0x249b38,_0x6ebb0d)=>{const _0xa783b4=_0x2775ba;for(var _0x582511=_0x6ebb0d>0x1?void 0x0:_0x6ebb0d?ja(_0x278a6f,_0x249b38):_0x278a6f,_0x3e9a9a=_0x3c8859[_0xa783b4(0x549)]-0x1,_0x3a2241;_0x3e9a9a>=0x0;_0x3e9a9a--)(_0x3a2241=_0x3c8859[_0x3e9a9a])&&(_0x582511=(_0x6ebb0d?_0x3a2241(_0x278a6f,_0x249b38,_0x582511):_0x3a2241(_0x582511))||_0x582511);return _0x6ebb0d&&_0x582511&&Ha(_0x278a6f,_0x249b38,_0x582511),_0x582511;},qs=(_0x8ee7e0,_0x35cd05)=>(_0x4e806a,_0x59d55b)=>_0x35cd05(_0x4e806a,_0x59d55b,_0x8ee7e0);const ka=_0x2775ba(0x523),Wa=_0x2775ba(0x55f);let cs=class extends _0x2be393{constructor(_0x3c1620,_0x4d8141){const _0x5775e5=_0x2775ba;super(),this[_0x5775e5(0x369)]=_0x3c1620,this[_0x5775e5(0x1dc)]=_0x4d8141,this[_0x5775e5(0x3b5)]();}[_0x2775ba(0x3b5)](){const _0x609cb0=_0x2775ba,_0x2bb00d=this;this['disposeWithMe'](this[_0x609cb0(0x369)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x1224ed({'isMatch'(_0x73eda){const _0x568601=_0x609cb0;var _0x952f38;if(_0x73eda['method']===_0x568601(0x2e8)&&((_0x952f38=_0x73eda['requestParams'])!=null&&_0x952f38[_0x568601(0x206)])){const {objectID:_0x53bc1a,objectType:_0x461475}=_0x73eda['requestParams']['body']||{};if(!_0x53bc1a||_0x461475===void 0x0)return!0x1;const _0x936a91=_0x2bb00d[_0x568601(0x2af)]()+'/'+_0x461475+_0x568601(0x5d1)+_0x53bc1a+_0x568601(0x508);if(_0x73eda[_0x568601(0x427)]===_0x936a91)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x73d33d){const _0x44d789=_0x609cb0;var _0x4c6430;return(_0x4c6430=_0x73d33d['requestParams'])==null?void 0x0:_0x4c6430[_0x44d789(0x206)];},'mergeParamsToRequest'(_0x7565ad,_0x8dd9ed){const _0x2c9671=_0x609cb0,_0xc9ed3c=_0x2bb00d[_0x2c9671(0x2af)]()+'/-/object/-/batch_allowed',_0x48f6bb=_0x7565ad[_0x2c9671(0x23f)]((_0x5c3a37,_0x3afea5)=>{const _0x1c6e8f=_0x2c9671,{unitID:_0x10e922,objectID:_0x155a50,objectType:_0x4d0234,actions:_0x3e0c9d}=_0x3afea5;return _0x5c3a37[_0x10e922]||(_0x5c3a37[_0x10e922]={}),_0x5c3a37[_0x10e922][_0x155a50]||(_0x5c3a37[_0x10e922][_0x155a50]={'objectID':_0x155a50,'objectType':_0x4d0234,'actions':[]}),_0x5c3a37[_0x10e922][_0x155a50][_0x1c6e8f(0x4e3)][_0x1c6e8f(0x3c1)](..._0x3e0c9d),_0x5c3a37;},{}),_0x28f1e2=[];for(const _0x4256c3 in _0x48f6bb)for(const _0x44186b in _0x48f6bb[_0x4256c3]){const {actions:_0x5afa1b,objectType:_0x45ef80}=_0x48f6bb[_0x4256c3][_0x44186b],_0xe5c44f=[...new Set(_0x5afa1b)];_0x28f1e2[_0x2c9671(0x3c1)]({'unitID':_0x4256c3,'objectID':_0x44186b,'objectType':_0x45ef80,'actions':_0xe5c44f});}return new _0x39fedb('POST',_0xc9ed3c,{'headers':_0x8dd9ed['headers'],'withCredentials':_0x8dd9ed['withCredentials'],'responseType':_0x8dd9ed['responseType'],'body':{'requests':_0x28f1e2}});}},{'distributeResult'(_0xa24b14,_0x8c181b){const {objectActions:_0x384ad7}=_0xa24b14;return _0x8c181b['map'](_0x505e3a=>{const _0xb2dd94=_0x3547,{unitID:_0x19cbef,objectID:_0xfe33d9,actions:_0x240ee4}=_0x505e3a,_0x137bb7=_0x384ad7[_0xb2dd94(0x4cf)](_0xfedfd7=>_0xfedfd7[_0xb2dd94(0x1e7)]===_0x19cbef&&_0xfedfd7[_0xb2dd94(0x519)]===_0xfe33d9),_0x31bb79=_0x240ee4['map'](_0x82d363=>_0x137bb7==null?void 0x0:_0x137bb7[_0xb2dd94(0x4e3)][_0xb2dd94(0x4cf)](_0x5c2468=>_0x5c2468[_0xb2dd94(0x326)]===_0x82d363))[_0xb2dd94(0x3fe)](_0x530a4c=>!!_0x530a4c);return{'config':_0x505e3a,'result':{'actions':_0x31bb79,'error':_0xa24b14[_0xb2dd94(0x274)]}};});}})}));}[_0x2775ba(0x2af)](){const _0x3e2216=_0x2775ba;var _0x40ed78,_0x1a458b;const _0x15f488=this[_0x3e2216(0x1dc)][_0x3e2216(0x4ad)](ka),_0x53a132=this['_configService']['getConfig'](te);return(_0x1a458b=(_0x40ed78=_0x53a132==null?void 0x0:_0x53a132['authzUrl'])!=null?_0x40ed78:_0x15f488)!=null?_0x1a458b:Wa;}async['create'](_0x340eb3){const _0x304eb0=_0x2775ba,_0x260f2c=this[_0x304eb0(0x2af)]()+'/'+_0x340eb3[_0x304eb0(0x543)]+_0x304eb0(0x4cc);return(await this['_HTTPService'][_0x304eb0(0x4d7)](_0x260f2c,{'body':_0x340eb3}))['body'][_0x304eb0(0x519)]||'';}async[_0x2775ba(0x2a1)](_0x4328a9){const _0x4f6370=_0x2775ba,_0x2067c9=this[_0x4f6370(0x2af)]()+_0x4f6370(0x384);return(await this[_0x4f6370(0x369)]['post'](_0x2067c9,{'body':_0x4328a9}))[_0x4f6370(0x206)][_0x4f6370(0x376)];}async['update'](_0x501d01){const _0xcf0a81=_0x2775ba,_0x36aec1=this[_0xcf0a81(0x2af)]()+'/'+_0x501d01[_0xcf0a81(0x543)]+_0xcf0a81(0x5d1)+_0x501d01['objectID'];await this['_HTTPService'][_0xcf0a81(0x432)](_0x36aec1,{'body':_0x501d01});}async[_0x2775ba(0x4e6)](_0x4f97a9){const _0x379f01=_0x2775ba,_0x1659ba=this['_getAPIPrefixPath']()+'/'+_0x4f97a9[_0x379f01(0x543)]+_0x379f01(0x5d1)+_0x4f97a9[_0x379f01(0x519)]+_0x379f01(0x508);return(await this[_0x379f01(0x369)][_0x379f01(0x4d7)](_0x1659ba,{'body':_0x4f97a9}))[_0x379f01(0x206)][_0x379f01(0x4e3)];}async[_0x2775ba(0x2d4)](_0x8f95ab){const _0x11286e=_0x2775ba,_0x196893=this['_getAPIPrefixPath']()+_0x11286e(0x1d0);return(await this['_HTTPService'][_0x11286e(0x4d7)](_0x196893,{'body':{'requests':_0x8f95ab}}))[_0x11286e(0x206)][_0x11286e(0x57e)];}async[_0x2775ba(0x3fa)](_0x2efb4a){const _0x2ee655=_0x2775ba,_0x485f4e=this[_0x2ee655(0x2af)]()+'/'+_0x2efb4a[_0x2ee655(0x543)]+_0x2ee655(0x56f),_0x808de0=await this[_0x2ee655(0x369)]['post'](_0x485f4e,{'body':_0x2efb4a});return{'roles':_0x808de0[_0x2ee655(0x206)][_0x2ee655(0x38d)],'actions':_0x808de0[_0x2ee655(0x206)][_0x2ee655(0x4e3)]};}async[_0x2775ba(0x550)](_0x3b5290){const _0x562d76=_0x2775ba,_0xbc7990=this[_0x562d76(0x2af)]()+'/collaborator';await this[_0x562d76(0x369)]['delete'](_0xbc7990,{'params':{'collaboratorID':_0x3b5290[_0x562d76(0x40d)],'objectID':_0x3b5290[_0x562d76(0x519)],'unitID':_0x3b5290[_0x562d76(0x1e7)]}});}async[_0x2775ba(0x5be)](_0x57292d){const _0x4efed3=_0x2775ba,_0x349e3d=this[_0x4efed3(0x2af)]()+_0x4efed3(0x205);await this[_0x4efed3(0x369)][_0x4efed3(0x2db)](_0x349e3d,{'body':_0x57292d});}async[_0x2775ba(0x259)](_0x56f007){const _0x50948b=_0x2775ba,_0x3f5c55=this[_0x50948b(0x2af)]()+'/collaborator';await this[_0x50948b(0x369)]['post'](_0x3f5c55,{'body':_0x56f007});}async[_0x2775ba(0x269)](_0x5eaae4){const _0xf4fd2=_0x2775ba,_0x169eff=this[_0xf4fd2(0x2af)]()+_0xf4fd2(0x205);return(await this[_0xf4fd2(0x369)]['get'](_0x169eff,{'params':{'objectID':_0x5eaae4[_0xf4fd2(0x519)],'unitID':_0x5eaae4[_0xf4fd2(0x1e7)]}}))[_0xf4fd2(0x206)]['collaborators'];}async[_0x2775ba(0x2f5)](_0x10ecfd){const _0xe8ffaf=_0x2775ba,_0x1c877f=this[_0xe8ffaf(0x2af)]()+'/collaborator';await this['_HTTPService'][_0xe8ffaf(0x432)](_0x1c877f,{'body':_0x10ecfd});}};cs=Ba([qs(0x0,_0x6fd5ef(_0x58032c)),qs(0x1,_0x6fd5ef(_0x400e14))],cs);var ki={'exports':{}};function Fa(_0x4696b1){const _0x2f1a23=_0x2775ba;throw new Error(_0x2f1a23(0x454)+_0x4696b1+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){const _0x48009b=_0x2775ba;return Xs||(Xs=0x1,function(_0x47c74c,_0x261db8){(function(_0x547a56,_0x58f9c4){_0x47c74c['exports']=_0x58f9c4();}(Z,function(){var _0x765045=_0x765045||function(_0x128cf0,_0x149881){const _0x795ef9=_0x3547;var _0x3c3c33;if(typeof window<'u'&&window[_0x795ef9(0x468)]&&(_0x3c3c33=window[_0x795ef9(0x468)]),typeof self<'u'&&self[_0x795ef9(0x468)]&&(_0x3c3c33=self['crypto']),typeof globalThis<'u'&&globalThis[_0x795ef9(0x468)]&&(_0x3c3c33=globalThis[_0x795ef9(0x468)]),!_0x3c3c33&&typeof window<'u'&&window[_0x795ef9(0x32a)]&&(_0x3c3c33=window[_0x795ef9(0x32a)]),!_0x3c3c33&&typeof Z<'u'&&Z[_0x795ef9(0x468)]&&(_0x3c3c33=Z[_0x795ef9(0x468)]),!_0x3c3c33&&typeof Fa==_0x795ef9(0x3be))try{_0x3c3c33=require(_0x795ef9(0x468));}catch{}var _0x4fe0e5=function(){const _0x494f1d=_0x795ef9;if(_0x3c3c33){if(typeof _0x3c3c33['getRandomValues']==_0x494f1d(0x3be))try{return _0x3c3c33['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3c3c33[_0x494f1d(0x538)]==_0x494f1d(0x3be))try{return _0x3c3c33[_0x494f1d(0x538)](0x4)[_0x494f1d(0x5c1)]();}catch{}}throw new Error(_0x494f1d(0x3ae));},_0x137636=Object[_0x795ef9(0x429)]||(function(){function _0x34cd44(){}return function(_0x380626){const _0x1f76d7=_0x3547;var _0x4d4c2a;return _0x34cd44[_0x1f76d7(0x4d8)]=_0x380626,_0x4d4c2a=new _0x34cd44(),_0x34cd44[_0x1f76d7(0x4d8)]=null,_0x4d4c2a;};}()),_0x33f70b={},_0x3f1a51=_0x33f70b[_0x795ef9(0x5c7)]={},_0x5baf14=_0x3f1a51[_0x795ef9(0x4b6)]=(function(){return{'extend':function(_0x4eeca1){const _0x46f35a=_0x3547;var _0x3c43e7=_0x137636(this);return _0x4eeca1&&_0x3c43e7[_0x46f35a(0x5a3)](_0x4eeca1),(!_0x3c43e7[_0x46f35a(0x4b2)](_0x46f35a(0x506))||this[_0x46f35a(0x506)]===_0x3c43e7[_0x46f35a(0x506)])&&(_0x3c43e7[_0x46f35a(0x506)]=function(){const _0x2379b7=_0x46f35a;_0x3c43e7[_0x2379b7(0x2b2)]['init'][_0x2379b7(0x387)](this,arguments);}),_0x3c43e7['init'][_0x46f35a(0x4d8)]=_0x3c43e7,_0x3c43e7[_0x46f35a(0x2b2)]=this,_0x3c43e7;},'create':function(){const _0x4f8f64=_0x3547;var _0x1aa692=this[_0x4f8f64(0x395)]();return _0x1aa692[_0x4f8f64(0x506)][_0x4f8f64(0x387)](_0x1aa692,arguments),_0x1aa692;},'init':function(){},'mixIn':function(_0x27a4c8){const _0x4ce473=_0x3547;for(var _0x1a0d22 in _0x27a4c8)_0x27a4c8[_0x4ce473(0x4b2)](_0x1a0d22)&&(this[_0x1a0d22]=_0x27a4c8[_0x1a0d22]);_0x27a4c8['hasOwnProperty'](_0x4ce473(0x57b))&&(this[_0x4ce473(0x57b)]=_0x27a4c8[_0x4ce473(0x57b)]);},'clone':function(){const _0x434eb5=_0x3547;return this[_0x434eb5(0x506)][_0x434eb5(0x4d8)]['extend'](this);}};}()),_0x445b2c=_0x3f1a51['WordArray']=_0x5baf14[_0x795ef9(0x395)]({'init':function(_0x40d3af,_0x3c4ceb){const _0x2e8d61=_0x795ef9;_0x40d3af=this[_0x2e8d61(0x3ea)]=_0x40d3af||[],_0x3c4ceb!=_0x149881?this[_0x2e8d61(0x2ef)]=_0x3c4ceb:this['sigBytes']=_0x40d3af[_0x2e8d61(0x549)]*0x4;},'toString':function(_0xb36f48){const _0xcbee06=_0x795ef9;return(_0xb36f48||_0xa012e4)[_0xcbee06(0x235)](this);},'concat':function(_0x35a636){const _0x24be44=_0x795ef9;var _0x2efb1b=this[_0x24be44(0x3ea)],_0x31cf89=_0x35a636['words'],_0x226144=this['sigBytes'],_0x172332=_0x35a636[_0x24be44(0x2ef)];if(this[_0x24be44(0x27f)](),_0x226144%0x4)for(var _0x4846ae=0x0;_0x4846ae<_0x172332;_0x4846ae++){var _0x518292=_0x31cf89[_0x4846ae>>>0x2]>>>0x18-_0x4846ae%0x4*0x8&0xff;_0x2efb1b[_0x226144+_0x4846ae>>>0x2]|=_0x518292<<0x18-(_0x226144+_0x4846ae)%0x4*0x8;}else{for(var _0x26d34b=0x0;_0x26d34b<_0x172332;_0x26d34b+=0x4)_0x2efb1b[_0x226144+_0x26d34b>>>0x2]=_0x31cf89[_0x26d34b>>>0x2];}return this[_0x24be44(0x2ef)]+=_0x172332,this;},'clamp':function(){const _0x1c968a=_0x795ef9;var _0x394d2a=this[_0x1c968a(0x3ea)],_0x30b8b1=this['sigBytes'];_0x394d2a[_0x30b8b1>>>0x2]&=0xffffffff<<0x20-_0x30b8b1%0x4*0x8,_0x394d2a['length']=_0x128cf0['ceil'](_0x30b8b1/0x4);},'clone':function(){const _0x4d716f=_0x795ef9;var _0x286760=_0x5baf14[_0x4d716f(0x54f)]['call'](this);return _0x286760['words']=this[_0x4d716f(0x3ea)]['slice'](0x0),_0x286760;},'random':function(_0x4b90be){const _0x4c5441=_0x795ef9;for(var _0x81ccab=[],_0x19ae0e=0x0;_0x19ae0e<_0x4b90be;_0x19ae0e+=0x4)_0x81ccab['push'](_0x4fe0e5());return new _0x445b2c[(_0x4c5441(0x506))](_0x81ccab,_0x4b90be);}}),_0x235d26=_0x33f70b['enc']={},_0xa012e4=_0x235d26[_0x795ef9(0x25b)]={'stringify':function(_0x571e7e){const _0x1f8de9=_0x795ef9;for(var _0x550933=_0x571e7e[_0x1f8de9(0x3ea)],_0x379874=_0x571e7e[_0x1f8de9(0x2ef)],_0x16e19f=[],_0x3af030=0x0;_0x3af030<_0x379874;_0x3af030++){var _0x1a8380=_0x550933[_0x3af030>>>0x2]>>>0x18-_0x3af030%0x4*0x8&0xff;_0x16e19f[_0x1f8de9(0x3c1)]((_0x1a8380>>>0x4)[_0x1f8de9(0x57b)](0x10)),_0x16e19f[_0x1f8de9(0x3c1)]((_0x1a8380&0xf)['toString'](0x10));}return _0x16e19f['join']('');},'parse':function(_0x30c15b){const _0x5e6cbb=_0x795ef9;for(var _0x50e423=_0x30c15b[_0x5e6cbb(0x549)],_0x3fab1e=[],_0x352ee5=0x0;_0x352ee5<_0x50e423;_0x352ee5+=0x2)_0x3fab1e[_0x352ee5>>>0x3]|=parseInt(_0x30c15b[_0x5e6cbb(0x5d2)](_0x352ee5,0x2),0x10)<<0x18-_0x352ee5%0x8*0x4;return new _0x445b2c[(_0x5e6cbb(0x506))](_0x3fab1e,_0x50e423/0x2);}},_0x5edd7f=_0x235d26[_0x795ef9(0x3dc)]={'stringify':function(_0x19390c){const _0x275108=_0x795ef9;for(var _0x2b42d7=_0x19390c[_0x275108(0x3ea)],_0x56f061=_0x19390c[_0x275108(0x2ef)],_0x29ae55=[],_0x50884e=0x0;_0x50884e<_0x56f061;_0x50884e++){var _0x413b63=_0x2b42d7[_0x50884e>>>0x2]>>>0x18-_0x50884e%0x4*0x8&0xff;_0x29ae55[_0x275108(0x3c1)](String[_0x275108(0x29d)](_0x413b63));}return _0x29ae55[_0x275108(0x31c)]('');},'parse':function(_0x46e49b){const _0x274050=_0x795ef9;for(var _0x2deb63=_0x46e49b[_0x274050(0x549)],_0x27c14b=[],_0x204a21=0x0;_0x204a21<_0x2deb63;_0x204a21++)_0x27c14b[_0x204a21>>>0x2]|=(_0x46e49b['charCodeAt'](_0x204a21)&0xff)<<0x18-_0x204a21%0x4*0x8;return new _0x445b2c[(_0x274050(0x506))](_0x27c14b,_0x2deb63);}},_0x2a8967=_0x235d26['Utf8']={'stringify':function(_0x2b2d0e){const _0x73d304=_0x795ef9;try{return decodeURIComponent(escape(_0x5edd7f[_0x73d304(0x235)](_0x2b2d0e)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3cbc7a){const _0x4488a9=_0x795ef9;return _0x5edd7f[_0x4488a9(0x416)](unescape(encodeURIComponent(_0x3cbc7a)));}},_0x1cc009=_0x3f1a51['BufferedBlockAlgorithm']=_0x5baf14[_0x795ef9(0x395)]({'reset':function(){const _0xe0be86=_0x795ef9;this[_0xe0be86(0x5c4)]=new _0x445b2c[(_0xe0be86(0x506))](),this['_nDataBytes']=0x0;},'_append':function(_0x34d1fd){const _0x2a524c=_0x795ef9;typeof _0x34d1fd==_0x2a524c(0x2dd)&&(_0x34d1fd=_0x2a8967[_0x2a524c(0x416)](_0x34d1fd)),this['_data']['concat'](_0x34d1fd),this[_0x2a524c(0x536)]+=_0x34d1fd[_0x2a524c(0x2ef)];},'_process':function(_0x895bd8){const _0xcf9dc3=_0x795ef9;var _0x4890c5,_0x1c2553=this[_0xcf9dc3(0x5c4)],_0x347f85=_0x1c2553[_0xcf9dc3(0x3ea)],_0xb7d4d2=_0x1c2553[_0xcf9dc3(0x2ef)],_0x1e9ac7=this[_0xcf9dc3(0x599)],_0x57df0b=_0x1e9ac7*0x4,_0x2a1bf2=_0xb7d4d2/_0x57df0b;_0x895bd8?_0x2a1bf2=_0x128cf0[_0xcf9dc3(0x450)](_0x2a1bf2):_0x2a1bf2=_0x128cf0['max']((_0x2a1bf2|0x0)-this[_0xcf9dc3(0x56e)],0x0);var _0x4524d4=_0x2a1bf2*_0x1e9ac7,_0x1d88f2=_0x128cf0[_0xcf9dc3(0x354)](_0x4524d4*0x4,_0xb7d4d2);if(_0x4524d4){for(var _0x551622=0x0;_0x551622<_0x4524d4;_0x551622+=_0x1e9ac7)this[_0xcf9dc3(0x51d)](_0x347f85,_0x551622);_0x4890c5=_0x347f85[_0xcf9dc3(0x54a)](0x0,_0x4524d4),_0x1c2553[_0xcf9dc3(0x2ef)]-=_0x1d88f2;}return new _0x445b2c['init'](_0x4890c5,_0x1d88f2);},'clone':function(){const _0x5ef09f=_0x795ef9;var _0x5c1db6=_0x5baf14[_0x5ef09f(0x54f)][_0x5ef09f(0x260)](this);return _0x5c1db6[_0x5ef09f(0x5c4)]=this[_0x5ef09f(0x5c4)]['clone'](),_0x5c1db6;},'_minBufferSize':0x0});_0x3f1a51[_0x795ef9(0x30f)]=_0x1cc009[_0x795ef9(0x395)]({'cfg':_0x5baf14[_0x795ef9(0x395)](),'init':function(_0x573e28){const _0x2d974f=_0x795ef9;this[_0x2d974f(0x24c)]=this[_0x2d974f(0x24c)]['extend'](_0x573e28),this[_0x2d974f(0x5a0)]();},'reset':function(){const _0x3d2c52=_0x795ef9;_0x1cc009[_0x3d2c52(0x5a0)][_0x3d2c52(0x260)](this),this[_0x3d2c52(0x1d5)]();},'update':function(_0x647119){const _0x407a7b=_0x795ef9;return this['_append'](_0x647119),this[_0x407a7b(0x3ce)](),this;},'finalize':function(_0x166bf1){const _0x273e71=_0x795ef9;_0x166bf1&&this['_append'](_0x166bf1);var _0x43d824=this[_0x273e71(0x3c2)]();return _0x43d824;},'blockSize':0x10,'_createHelper':function(_0xd49d86){return function(_0x211b2b,_0x470258){const _0x2998e0=_0x3547;return new _0xd49d86[(_0x2998e0(0x506))](_0x470258)[_0x2998e0(0x3e9)](_0x211b2b);};},'_createHmacHelper':function(_0x3be7fa){return function(_0x3d0343,_0x3afea9){const _0xfaf85f=_0x3547;return new _0x1f7f96[(_0xfaf85f(0x2a6))][(_0xfaf85f(0x506))](_0x3be7fa,_0x3afea9)['finalize'](_0x3d0343);};}});var _0x1f7f96=_0x33f70b[_0x795ef9(0x1fd)]={};return _0x33f70b;}(Math);return _0x765045;}));}(Ft)),Ft[_0x48009b(0x42b)];}var Vt={'exports':{}},Js;function Wi(){return Js||(Js=0x1,function(_0x43a4fd,_0x414cd7){(function(_0x351eca,_0x1d38dd){const _0x3497fa=_0x3547;_0x43a4fd[_0x3497fa(0x42b)]=_0x1d38dd(ue());}(Z,function(_0xacbf06){const _0x1a0d77=_0x3547;return(function(){const _0x5e682a=_0x3547;var _0x5d41d8=_0xacbf06,_0xc97ade=_0x5d41d8[_0x5e682a(0x5c7)],_0x12e6ba=_0xc97ade['WordArray'],_0x5e41f4=_0x5d41d8[_0x5e682a(0x563)];_0x5e41f4['Base64']={'stringify':function(_0x468284){const _0x609ac8=_0x5e682a;var _0x2b8d7c=_0x468284['words'],_0x219f08=_0x468284['sigBytes'],_0x3f8396=this['_map'];_0x468284[_0x609ac8(0x27f)]();for(var _0x1b869e=[],_0x2b3d8c=0x0;_0x2b3d8c<_0x219f08;_0x2b3d8c+=0x3)for(var _0x2de91d=_0x2b8d7c[_0x2b3d8c>>>0x2]>>>0x18-_0x2b3d8c%0x4*0x8&0xff,_0x527d48=_0x2b8d7c[_0x2b3d8c+0x1>>>0x2]>>>0x18-(_0x2b3d8c+0x1)%0x4*0x8&0xff,_0x21eea4=_0x2b8d7c[_0x2b3d8c+0x2>>>0x2]>>>0x18-(_0x2b3d8c+0x2)%0x4*0x8&0xff,_0x182a60=_0x2de91d<<0x10|_0x527d48<<0x8|_0x21eea4,_0x3fa8f7=0x0;_0x3fa8f7<0x4&&_0x2b3d8c+_0x3fa8f7*0.75<_0x219f08;_0x3fa8f7++)_0x1b869e['push'](_0x3f8396[_0x609ac8(0x5b8)](_0x182a60>>>0x6*(0x3-_0x3fa8f7)&0x3f));var _0x451bca=_0x3f8396[_0x609ac8(0x5b8)](0x40);if(_0x451bca){for(;_0x1b869e[_0x609ac8(0x549)]%0x4;)_0x1b869e[_0x609ac8(0x3c1)](_0x451bca);}return _0x1b869e[_0x609ac8(0x31c)]('');},'parse':function(_0x2acaaf){const _0x249355=_0x5e682a;var _0x2812f0=_0x2acaaf['length'],_0x10dc5f=this[_0x249355(0x544)],_0x2aa124=this[_0x249355(0x46d)];if(!_0x2aa124){_0x2aa124=this['_reverseMap']=[];for(var _0x26b369=0x0;_0x26b369<_0x10dc5f['length'];_0x26b369++)_0x2aa124[_0x10dc5f['charCodeAt'](_0x26b369)]=_0x26b369;}var _0x4bb5f7=_0x10dc5f[_0x249355(0x5b8)](0x40);if(_0x4bb5f7){var _0x222c6f=_0x2acaaf[_0x249355(0x374)](_0x4bb5f7);_0x222c6f!==-0x1&&(_0x2812f0=_0x222c6f);}return _0x2f58be(_0x2acaaf,_0x2812f0,_0x2aa124);},'_map':_0x5e682a(0x50b)};function _0x2f58be(_0x3d6225,_0x561e06,_0x442701){const _0x2b1d1f=_0x5e682a;for(var _0x45eda0=[],_0x198980=0x0,_0x1695db=0x0;_0x1695db<_0x561e06;_0x1695db++)if(_0x1695db%0x4){var _0x277ca9=_0x442701[_0x3d6225[_0x2b1d1f(0x5a6)](_0x1695db-0x1)]<<_0x1695db%0x4*0x2,_0x2a7454=_0x442701[_0x3d6225[_0x2b1d1f(0x5a6)](_0x1695db)]>>>0x6-_0x1695db%0x4*0x2,_0x443714=_0x277ca9|_0x2a7454;_0x45eda0[_0x198980>>>0x2]|=_0x443714<<0x18-_0x198980%0x4*0x8,_0x198980++;}return _0x12e6ba[_0x2b1d1f(0x429)](_0x45eda0,_0x198980);}}()),_0xacbf06[_0x1a0d77(0x563)][_0x1a0d77(0x4ff)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Va(){const _0x4a371a=_0x2775ba;return Zs||(Zs=0x1,function(_0x3d68a0,_0x6ab8a8){(function(_0x293c9d,_0x5455d6){const _0x3022e8=_0x3547;_0x3d68a0[_0x3022e8(0x42b)]=_0x5455d6(ue());}(Z,function(_0x58bff1){const _0x4d24cf=_0x3547;return function(_0x2640e8){const _0x6afa18=_0x3547;var _0xdd2339=_0x58bff1,_0x5f0c04=_0xdd2339[_0x6afa18(0x5c7)],_0x2f8f3d=_0x5f0c04['WordArray'],_0x61bb1e=_0x5f0c04[_0x6afa18(0x30f)],_0x325a13=_0xdd2339[_0x6afa18(0x1fd)],_0x54b9f2=[];(function(){for(var _0x15b33a=0x0;_0x15b33a<0x40;_0x15b33a++)_0x54b9f2[_0x15b33a]=_0x2640e8['abs'](_0x2640e8['sin'](_0x15b33a+0x1))*0x100000000|0x0;}());var _0x86883c=_0x325a13[_0x6afa18(0x40c)]=_0x61bb1e[_0x6afa18(0x395)]({'_doReset':function(){const _0x32b4bd=_0x6afa18;this[_0x32b4bd(0x49b)]=new _0x2f8f3d[(_0x32b4bd(0x506))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5577a6,_0x53cca3){const _0xd5648b=_0x6afa18;for(var _0x49036d=0x0;_0x49036d<0x10;_0x49036d++){var _0x3e7aa6=_0x53cca3+_0x49036d,_0x7be5c3=_0x5577a6[_0x3e7aa6];_0x5577a6[_0x3e7aa6]=(_0x7be5c3<<0x8|_0x7be5c3>>>0x18)&0xff00ff|(_0x7be5c3<<0x18|_0x7be5c3>>>0x8)&0xff00ff00;}var _0x2e3627=this['_hash'][_0xd5648b(0x3ea)],_0xd61f96=_0x5577a6[_0x53cca3+0x0],_0x36bd69=_0x5577a6[_0x53cca3+0x1],_0x3b1387=_0x5577a6[_0x53cca3+0x2],_0x3678f0=_0x5577a6[_0x53cca3+0x3],_0x3a0c04=_0x5577a6[_0x53cca3+0x4],_0x3046bc=_0x5577a6[_0x53cca3+0x5],_0x43551d=_0x5577a6[_0x53cca3+0x6],_0x5b5f06=_0x5577a6[_0x53cca3+0x7],_0x423966=_0x5577a6[_0x53cca3+0x8],_0x17efd0=_0x5577a6[_0x53cca3+0x9],_0x5947f7=_0x5577a6[_0x53cca3+0xa],_0x285a34=_0x5577a6[_0x53cca3+0xb],_0x5d4d6b=_0x5577a6[_0x53cca3+0xc],_0x198381=_0x5577a6[_0x53cca3+0xd],_0x4ab794=_0x5577a6[_0x53cca3+0xe],_0x4ea898=_0x5577a6[_0x53cca3+0xf],_0x290f4e=_0x2e3627[0x0],_0x38f647=_0x2e3627[0x1],_0x81260d=_0x2e3627[0x2],_0x3659cc=_0x2e3627[0x3];_0x290f4e=_0x3d44a1(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0xd61f96,0x7,_0x54b9f2[0x0]),_0x3659cc=_0x3d44a1(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x36bd69,0xc,_0x54b9f2[0x1]),_0x81260d=_0x3d44a1(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x3b1387,0x11,_0x54b9f2[0x2]),_0x38f647=_0x3d44a1(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x3678f0,0x16,_0x54b9f2[0x3]),_0x290f4e=_0x3d44a1(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x3a0c04,0x7,_0x54b9f2[0x4]),_0x3659cc=_0x3d44a1(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x3046bc,0xc,_0x54b9f2[0x5]),_0x81260d=_0x3d44a1(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x43551d,0x11,_0x54b9f2[0x6]),_0x38f647=_0x3d44a1(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x5b5f06,0x16,_0x54b9f2[0x7]),_0x290f4e=_0x3d44a1(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x423966,0x7,_0x54b9f2[0x8]),_0x3659cc=_0x3d44a1(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x17efd0,0xc,_0x54b9f2[0x9]),_0x81260d=_0x3d44a1(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x5947f7,0x11,_0x54b9f2[0xa]),_0x38f647=_0x3d44a1(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x285a34,0x16,_0x54b9f2[0xb]),_0x290f4e=_0x3d44a1(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x5d4d6b,0x7,_0x54b9f2[0xc]),_0x3659cc=_0x3d44a1(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x198381,0xc,_0x54b9f2[0xd]),_0x81260d=_0x3d44a1(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x4ab794,0x11,_0x54b9f2[0xe]),_0x38f647=_0x3d44a1(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x4ea898,0x16,_0x54b9f2[0xf]),_0x290f4e=_0x19b05a(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x36bd69,0x5,_0x54b9f2[0x10]),_0x3659cc=_0x19b05a(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x43551d,0x9,_0x54b9f2[0x11]),_0x81260d=_0x19b05a(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x285a34,0xe,_0x54b9f2[0x12]),_0x38f647=_0x19b05a(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0xd61f96,0x14,_0x54b9f2[0x13]),_0x290f4e=_0x19b05a(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x3046bc,0x5,_0x54b9f2[0x14]),_0x3659cc=_0x19b05a(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x5947f7,0x9,_0x54b9f2[0x15]),_0x81260d=_0x19b05a(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x4ea898,0xe,_0x54b9f2[0x16]),_0x38f647=_0x19b05a(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x3a0c04,0x14,_0x54b9f2[0x17]),_0x290f4e=_0x19b05a(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x17efd0,0x5,_0x54b9f2[0x18]),_0x3659cc=_0x19b05a(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x4ab794,0x9,_0x54b9f2[0x19]),_0x81260d=_0x19b05a(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x3678f0,0xe,_0x54b9f2[0x1a]),_0x38f647=_0x19b05a(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x423966,0x14,_0x54b9f2[0x1b]),_0x290f4e=_0x19b05a(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x198381,0x5,_0x54b9f2[0x1c]),_0x3659cc=_0x19b05a(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x3b1387,0x9,_0x54b9f2[0x1d]),_0x81260d=_0x19b05a(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x5b5f06,0xe,_0x54b9f2[0x1e]),_0x38f647=_0x19b05a(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x5d4d6b,0x14,_0x54b9f2[0x1f]),_0x290f4e=_0x3357ea(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x3046bc,0x4,_0x54b9f2[0x20]),_0x3659cc=_0x3357ea(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x423966,0xb,_0x54b9f2[0x21]),_0x81260d=_0x3357ea(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x285a34,0x10,_0x54b9f2[0x22]),_0x38f647=_0x3357ea(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x4ab794,0x17,_0x54b9f2[0x23]),_0x290f4e=_0x3357ea(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x36bd69,0x4,_0x54b9f2[0x24]),_0x3659cc=_0x3357ea(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x3a0c04,0xb,_0x54b9f2[0x25]),_0x81260d=_0x3357ea(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x5b5f06,0x10,_0x54b9f2[0x26]),_0x38f647=_0x3357ea(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x5947f7,0x17,_0x54b9f2[0x27]),_0x290f4e=_0x3357ea(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x198381,0x4,_0x54b9f2[0x28]),_0x3659cc=_0x3357ea(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0xd61f96,0xb,_0x54b9f2[0x29]),_0x81260d=_0x3357ea(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x3678f0,0x10,_0x54b9f2[0x2a]),_0x38f647=_0x3357ea(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x43551d,0x17,_0x54b9f2[0x2b]),_0x290f4e=_0x3357ea(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x17efd0,0x4,_0x54b9f2[0x2c]),_0x3659cc=_0x3357ea(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x5d4d6b,0xb,_0x54b9f2[0x2d]),_0x81260d=_0x3357ea(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x4ea898,0x10,_0x54b9f2[0x2e]),_0x38f647=_0x3357ea(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x3b1387,0x17,_0x54b9f2[0x2f]),_0x290f4e=_0x5cd25(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0xd61f96,0x6,_0x54b9f2[0x30]),_0x3659cc=_0x5cd25(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x5b5f06,0xa,_0x54b9f2[0x31]),_0x81260d=_0x5cd25(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x4ab794,0xf,_0x54b9f2[0x32]),_0x38f647=_0x5cd25(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x3046bc,0x15,_0x54b9f2[0x33]),_0x290f4e=_0x5cd25(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x5d4d6b,0x6,_0x54b9f2[0x34]),_0x3659cc=_0x5cd25(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x3678f0,0xa,_0x54b9f2[0x35]),_0x81260d=_0x5cd25(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x5947f7,0xf,_0x54b9f2[0x36]),_0x38f647=_0x5cd25(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x36bd69,0x15,_0x54b9f2[0x37]),_0x290f4e=_0x5cd25(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x423966,0x6,_0x54b9f2[0x38]),_0x3659cc=_0x5cd25(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x4ea898,0xa,_0x54b9f2[0x39]),_0x81260d=_0x5cd25(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x43551d,0xf,_0x54b9f2[0x3a]),_0x38f647=_0x5cd25(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x198381,0x15,_0x54b9f2[0x3b]),_0x290f4e=_0x5cd25(_0x290f4e,_0x38f647,_0x81260d,_0x3659cc,_0x3a0c04,0x6,_0x54b9f2[0x3c]),_0x3659cc=_0x5cd25(_0x3659cc,_0x290f4e,_0x38f647,_0x81260d,_0x285a34,0xa,_0x54b9f2[0x3d]),_0x81260d=_0x5cd25(_0x81260d,_0x3659cc,_0x290f4e,_0x38f647,_0x3b1387,0xf,_0x54b9f2[0x3e]),_0x38f647=_0x5cd25(_0x38f647,_0x81260d,_0x3659cc,_0x290f4e,_0x17efd0,0x15,_0x54b9f2[0x3f]),_0x2e3627[0x0]=_0x2e3627[0x0]+_0x290f4e|0x0,_0x2e3627[0x1]=_0x2e3627[0x1]+_0x38f647|0x0,_0x2e3627[0x2]=_0x2e3627[0x2]+_0x81260d|0x0,_0x2e3627[0x3]=_0x2e3627[0x3]+_0x3659cc|0x0;},'_doFinalize':function(){const _0x596256=_0x6afa18;var _0x1c3d90=this['_data'],_0x583bc8=_0x1c3d90[_0x596256(0x3ea)],_0x423e02=this[_0x596256(0x536)]*0x8,_0x46d956=_0x1c3d90[_0x596256(0x2ef)]*0x8;_0x583bc8[_0x46d956>>>0x5]|=0x80<<0x18-_0x46d956%0x20;var _0x139059=_0x2640e8[_0x596256(0x553)](_0x423e02/0x100000000),_0x3b6591=_0x423e02;_0x583bc8[(_0x46d956+0x40>>>0x9<<0x4)+0xf]=(_0x139059<<0x8|_0x139059>>>0x18)&0xff00ff|(_0x139059<<0x18|_0x139059>>>0x8)&0xff00ff00,_0x583bc8[(_0x46d956+0x40>>>0x9<<0x4)+0xe]=(_0x3b6591<<0x8|_0x3b6591>>>0x18)&0xff00ff|(_0x3b6591<<0x18|_0x3b6591>>>0x8)&0xff00ff00,_0x1c3d90[_0x596256(0x2ef)]=(_0x583bc8['length']+0x1)*0x4,this[_0x596256(0x3ce)]();for(var _0x1554ce=this[_0x596256(0x49b)],_0x19ba92=_0x1554ce[_0x596256(0x3ea)],_0x113723=0x0;_0x113723<0x4;_0x113723++){var _0x4cd05b=_0x19ba92[_0x113723];_0x19ba92[_0x113723]=(_0x4cd05b<<0x8|_0x4cd05b>>>0x18)&0xff00ff|(_0x4cd05b<<0x18|_0x4cd05b>>>0x8)&0xff00ff00;}return _0x1554ce;},'clone':function(){const _0x52d1b7=_0x6afa18;var _0x3366e6=_0x61bb1e[_0x52d1b7(0x54f)][_0x52d1b7(0x260)](this);return _0x3366e6[_0x52d1b7(0x49b)]=this[_0x52d1b7(0x49b)][_0x52d1b7(0x54f)](),_0x3366e6;}});function _0x3d44a1(_0x4bc771,_0x171d8f,_0x10d3fa,_0x36d425,_0xf15cdd,_0x4b205b,_0x50be62){var _0x49401d=_0x4bc771+(_0x171d8f&_0x10d3fa|~_0x171d8f&_0x36d425)+_0xf15cdd+_0x50be62;return(_0x49401d<<_0x4b205b|_0x49401d>>>0x20-_0x4b205b)+_0x171d8f;}function _0x19b05a(_0x21317e,_0x2dc752,_0x30fead,_0x3a2f1e,_0x2a80f1,_0x538f64,_0x293b2a){var _0x3eb7f7=_0x21317e+(_0x2dc752&_0x3a2f1e|_0x30fead&~_0x3a2f1e)+_0x2a80f1+_0x293b2a;return(_0x3eb7f7<<_0x538f64|_0x3eb7f7>>>0x20-_0x538f64)+_0x2dc752;}function _0x3357ea(_0x474dfd,_0x5a8dcc,_0x7a275b,_0x54149a,_0x391984,_0x49374a,_0x3d848e){var _0x19953a=_0x474dfd+(_0x5a8dcc^_0x7a275b^_0x54149a)+_0x391984+_0x3d848e;return(_0x19953a<<_0x49374a|_0x19953a>>>0x20-_0x49374a)+_0x5a8dcc;}function _0x5cd25(_0x37fe51,_0x1e1dad,_0x400cec,_0x59f6e1,_0x28ab3e,_0x1d0121,_0x4c189d){var _0x353cef=_0x37fe51+(_0x400cec^(_0x1e1dad|~_0x59f6e1))+_0x28ab3e+_0x4c189d;return(_0x353cef<<_0x1d0121|_0x353cef>>>0x20-_0x1d0121)+_0x1e1dad;}_0xdd2339['MD5']=_0x61bb1e[_0x6afa18(0x4ee)](_0x86883c),_0xdd2339[_0x6afa18(0x1c8)]=_0x61bb1e[_0x6afa18(0x54d)](_0x86883c);}(Math),_0x58bff1[_0x4d24cf(0x40c)];}));}(Gt)),Gt[_0x4a371a(0x42b)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Ga(){const _0x27c1fe=_0x2775ba;return Qs||(Qs=0x1,function(_0x1986ee,_0xab8abc){(function(_0x2d6723,_0x10b3c8){const _0x29ac91=_0x3547;_0x1986ee[_0x29ac91(0x42b)]=_0x10b3c8(ue());}(Z,function(_0x2a054a){const _0x2404c6=_0x3547;return(function(){const _0x57f68c=_0x3547;var _0x158f3c=_0x2a054a,_0x17195b=_0x158f3c[_0x57f68c(0x5c7)],_0x198887=_0x17195b[_0x57f68c(0x509)],_0x5a12da=_0x17195b['Hasher'],_0x48778c=_0x158f3c[_0x57f68c(0x1fd)],_0x3e64c9=[],_0x27bc0a=_0x48778c[_0x57f68c(0x554)]=_0x5a12da[_0x57f68c(0x395)]({'_doReset':function(){this['_hash']=new _0x198887['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x372a35,_0x43b55b){const _0x4b3144=_0x57f68c;for(var _0x4ba685=this[_0x4b3144(0x49b)][_0x4b3144(0x3ea)],_0x41d841=_0x4ba685[0x0],_0x4d503b=_0x4ba685[0x1],_0x4f7321=_0x4ba685[0x2],_0x436e0b=_0x4ba685[0x3],_0x4058d4=_0x4ba685[0x4],_0x3d6c9f=0x0;_0x3d6c9f<0x50;_0x3d6c9f++){if(_0x3d6c9f<0x10)_0x3e64c9[_0x3d6c9f]=_0x372a35[_0x43b55b+_0x3d6c9f]|0x0;else{var _0x13ad13=_0x3e64c9[_0x3d6c9f-0x3]^_0x3e64c9[_0x3d6c9f-0x8]^_0x3e64c9[_0x3d6c9f-0xe]^_0x3e64c9[_0x3d6c9f-0x10];_0x3e64c9[_0x3d6c9f]=_0x13ad13<<0x1|_0x13ad13>>>0x1f;}var _0x362750=(_0x41d841<<0x5|_0x41d841>>>0x1b)+_0x4058d4+_0x3e64c9[_0x3d6c9f];_0x3d6c9f<0x14?_0x362750+=(_0x4d503b&_0x4f7321|~_0x4d503b&_0x436e0b)+0x5a827999:_0x3d6c9f<0x28?_0x362750+=(_0x4d503b^_0x4f7321^_0x436e0b)+0x6ed9eba1:_0x3d6c9f<0x3c?_0x362750+=(_0x4d503b&_0x4f7321|_0x4d503b&_0x436e0b|_0x4f7321&_0x436e0b)-0x70e44324:_0x362750+=(_0x4d503b^_0x4f7321^_0x436e0b)-0x359d3e2a,_0x4058d4=_0x436e0b,_0x436e0b=_0x4f7321,_0x4f7321=_0x4d503b<<0x1e|_0x4d503b>>>0x2,_0x4d503b=_0x41d841,_0x41d841=_0x362750;}_0x4ba685[0x0]=_0x4ba685[0x0]+_0x41d841|0x0,_0x4ba685[0x1]=_0x4ba685[0x1]+_0x4d503b|0x0,_0x4ba685[0x2]=_0x4ba685[0x2]+_0x4f7321|0x0,_0x4ba685[0x3]=_0x4ba685[0x3]+_0x436e0b|0x0,_0x4ba685[0x4]=_0x4ba685[0x4]+_0x4058d4|0x0;},'_doFinalize':function(){const _0x3c8ffc=_0x57f68c;var _0x1d1d04=this[_0x3c8ffc(0x5c4)],_0x3d6a42=_0x1d1d04[_0x3c8ffc(0x3ea)],_0x51726c=this['_nDataBytes']*0x8,_0x3b3bc0=_0x1d1d04[_0x3c8ffc(0x2ef)]*0x8;return _0x3d6a42[_0x3b3bc0>>>0x5]|=0x80<<0x18-_0x3b3bc0%0x20,_0x3d6a42[(_0x3b3bc0+0x40>>>0x9<<0x4)+0xe]=Math[_0x3c8ffc(0x553)](_0x51726c/0x100000000),_0x3d6a42[(_0x3b3bc0+0x40>>>0x9<<0x4)+0xf]=_0x51726c,_0x1d1d04[_0x3c8ffc(0x2ef)]=_0x3d6a42[_0x3c8ffc(0x549)]*0x4,this['_process'](),this[_0x3c8ffc(0x49b)];},'clone':function(){const _0x2ebe97=_0x57f68c;var _0x675c0a=_0x5a12da['clone'][_0x2ebe97(0x260)](this);return _0x675c0a[_0x2ebe97(0x49b)]=this[_0x2ebe97(0x49b)]['clone'](),_0x675c0a;}});_0x158f3c[_0x57f68c(0x554)]=_0x5a12da[_0x57f68c(0x4ee)](_0x27bc0a),_0x158f3c[_0x57f68c(0x3ac)]=_0x5a12da[_0x57f68c(0x54d)](_0x27bc0a);}()),_0x2a054a[_0x2404c6(0x554)];}));}(Kt)),Kt[_0x27c1fe(0x42b)];}var zt={'exports':{}},ei;function Ya(){const _0x16166a=_0x2775ba;return ei||(ei=0x1,function(_0x523a27,_0xd36743){(function(_0x3f5101,_0x23a6f8){const _0x5b4a5e=_0x3547;_0x523a27[_0x5b4a5e(0x42b)]=_0x23a6f8(ue());}(Z,function(_0x5c3959){(function(){const _0x9cca8e=_0x3547;var _0x3ad3b8=_0x5c3959,_0x42f65c=_0x3ad3b8[_0x9cca8e(0x5c7)],_0x20d65a=_0x42f65c['Base'],_0x543013=_0x3ad3b8[_0x9cca8e(0x563)],_0x45f674=_0x543013[_0x9cca8e(0x1e3)],_0x1d67d6=_0x3ad3b8[_0x9cca8e(0x1fd)];_0x1d67d6[_0x9cca8e(0x2a6)]=_0x20d65a['extend']({'init':function(_0x446b3e,_0x1e8a7b){const _0x129dee=_0x9cca8e;_0x446b3e=this[_0x129dee(0x502)]=new _0x446b3e[(_0x129dee(0x506))](),typeof _0x1e8a7b==_0x129dee(0x2dd)&&(_0x1e8a7b=_0x45f674[_0x129dee(0x416)](_0x1e8a7b));var _0x4065f3=_0x446b3e[_0x129dee(0x599)],_0x27a35a=_0x4065f3*0x4;_0x1e8a7b[_0x129dee(0x2ef)]>_0x27a35a&&(_0x1e8a7b=_0x446b3e[_0x129dee(0x3e9)](_0x1e8a7b)),_0x1e8a7b[_0x129dee(0x27f)]();for(var _0x51a4c1=this['_oKey']=_0x1e8a7b[_0x129dee(0x54f)](),_0x73e553=this['_iKey']=_0x1e8a7b[_0x129dee(0x54f)](),_0x3d0401=_0x51a4c1[_0x129dee(0x3ea)],_0x53d7ad=_0x73e553[_0x129dee(0x3ea)],_0x258d89=0x0;_0x258d89<_0x4065f3;_0x258d89++)_0x3d0401[_0x258d89]^=0x5c5c5c5c,_0x53d7ad[_0x258d89]^=0x36363636;_0x51a4c1['sigBytes']=_0x73e553[_0x129dee(0x2ef)]=_0x27a35a,this[_0x129dee(0x5a0)]();},'reset':function(){const _0x36f6bb=_0x9cca8e;var _0x188228=this[_0x36f6bb(0x502)];_0x188228[_0x36f6bb(0x5a0)](),_0x188228['update'](this['_iKey']);},'update':function(_0x24053c){const _0x1cdcd9=_0x9cca8e;return this[_0x1cdcd9(0x502)][_0x1cdcd9(0x333)](_0x24053c),this;},'finalize':function(_0x333a16){const _0x579a68=_0x9cca8e;var _0x59ee08=this[_0x579a68(0x502)],_0x4484b6=_0x59ee08[_0x579a68(0x3e9)](_0x333a16);_0x59ee08['reset']();var _0x1e6eab=_0x59ee08['finalize'](this[_0x579a68(0x303)][_0x579a68(0x54f)]()[_0x579a68(0x2d9)](_0x4484b6));return _0x1e6eab;}});}());}));}(zt)),zt[_0x16166a(0x42b)];}var ti;function Fi(){return ti||(ti=0x1,function(_0x5e7bea,_0xeef3bb){(function(_0x5a2bf5,_0x3eb582,_0x109b92){const _0x3b86b0=_0x3547;_0x5e7bea[_0x3b86b0(0x42b)]=_0x3eb582(ue(),Ga(),Ya());}(Z,function(_0x3bb256){const _0x4a8eeb=_0x3547;return(function(){const _0x3bc982=_0x3547;var _0x4a1586=_0x3bb256,_0x42e289=_0x4a1586[_0x3bc982(0x5c7)],_0x5dce39=_0x42e289[_0x3bc982(0x4b6)],_0x3a8f9a=_0x42e289['WordArray'],_0x2f66ee=_0x4a1586['algo'],_0x132820=_0x2f66ee[_0x3bc982(0x40c)],_0x209e3e=_0x2f66ee[_0x3bc982(0x438)]=_0x5dce39[_0x3bc982(0x395)]({'cfg':_0x5dce39[_0x3bc982(0x395)]({'keySize':0x80/0x20,'hasher':_0x132820,'iterations':0x1}),'init':function(_0x3e4693){const _0x5a2693=_0x3bc982;this[_0x5a2693(0x24c)]=this[_0x5a2693(0x24c)]['extend'](_0x3e4693);},'compute':function(_0x253ca5,_0x20a25c){const _0xdf5817=_0x3bc982;for(var _0xffae0c,_0x9fa19d=this[_0xdf5817(0x24c)],_0x35fb1a=_0x9fa19d[_0xdf5817(0x5bf)][_0xdf5817(0x429)](),_0x327ce3=_0x3a8f9a[_0xdf5817(0x429)](),_0x42fc1f=_0x327ce3[_0xdf5817(0x3ea)],_0x1b77f4=_0x9fa19d[_0xdf5817(0x279)],_0x34c083=_0x9fa19d[_0xdf5817(0x1db)];_0x42fc1f['length']<_0x1b77f4;){_0xffae0c&&_0x35fb1a[_0xdf5817(0x333)](_0xffae0c),_0xffae0c=_0x35fb1a[_0xdf5817(0x333)](_0x253ca5)[_0xdf5817(0x3e9)](_0x20a25c),_0x35fb1a[_0xdf5817(0x5a0)]();for(var _0x4a61cc=0x1;_0x4a61cc<_0x34c083;_0x4a61cc++)_0xffae0c=_0x35fb1a[_0xdf5817(0x3e9)](_0xffae0c),_0x35fb1a[_0xdf5817(0x5a0)]();_0x327ce3[_0xdf5817(0x2d9)](_0xffae0c);}return _0x327ce3['sigBytes']=_0x1b77f4*0x4,_0x327ce3;}});_0x4a1586['EvpKDF']=function(_0xa9d16c,_0x24f3c3,_0x585c51){const _0x543844=_0x3bc982;return _0x209e3e[_0x543844(0x429)](_0x585c51)['compute'](_0xa9d16c,_0x24f3c3);};}()),_0x3bb256[_0x4a8eeb(0x438)];}));}(Yt)),Yt['exports'];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0xebca18,_0x36b32f){(function(_0x39bcea,_0x12dd28,_0x1e138d){const _0x3b4db2=_0x3547;_0xebca18[_0x3b4db2(0x42b)]=_0x12dd28(ue(),Fi());}(Z,function(_0x2fea20){const _0x54fbff=_0x3547;_0x2fea20['lib'][_0x54fbff(0x242)]||function(_0x1563db){const _0x47ac75=_0x54fbff;var _0x1a7cd0=_0x2fea20,_0x51bd95=_0x1a7cd0['lib'],_0xe499f9=_0x51bd95[_0x47ac75(0x4b6)],_0x20b449=_0x51bd95[_0x47ac75(0x509)],_0x28d245=_0x51bd95[_0x47ac75(0x507)],_0x41ede3=_0x1a7cd0[_0x47ac75(0x563)];_0x41ede3[_0x47ac75(0x1e3)];var _0x4f5840=_0x41ede3[_0x47ac75(0x4ff)],_0x8db729=_0x1a7cd0[_0x47ac75(0x1fd)],_0x442682=_0x8db729['EvpKDF'],_0x5be9fe=_0x51bd95[_0x47ac75(0x242)]=_0x28d245['extend']({'cfg':_0xe499f9[_0x47ac75(0x395)](),'createEncryptor':function(_0x371d3e,_0x27f580){const _0x1547cf=_0x47ac75;return this[_0x1547cf(0x429)](this['_ENC_XFORM_MODE'],_0x371d3e,_0x27f580);},'createDecryptor':function(_0x510428,_0x4ed4c1){const _0x29204c=_0x47ac75;return this[_0x29204c(0x429)](this[_0x29204c(0x539)],_0x510428,_0x4ed4c1);},'init':function(_0x17c244,_0x33a5a7,_0x1678ff){const _0x2e1927=_0x47ac75;this[_0x2e1927(0x24c)]=this[_0x2e1927(0x24c)][_0x2e1927(0x395)](_0x1678ff),this['_xformMode']=_0x17c244,this[_0x2e1927(0x52a)]=_0x33a5a7,this['reset']();},'reset':function(){const _0x10a278=_0x47ac75;_0x28d245[_0x10a278(0x5a0)][_0x10a278(0x260)](this),this['_doReset']();},'process':function(_0x1fdcfc){const _0x505336=_0x47ac75;return this[_0x505336(0x24b)](_0x1fdcfc),this['_process']();},'finalize':function(_0x1c4679){const _0x51697d=_0x47ac75;_0x1c4679&&this['_append'](_0x1c4679);var _0x50d3fd=this[_0x51697d(0x3c2)]();return _0x50d3fd;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x21bf73(_0x81a2a9){return typeof _0x81a2a9=='string'?_0x554cce:_0x2cdb23;}return function(_0x5c2fc5){return{'encrypt':function(_0x137c94,_0x4c231c,_0x3e69f9){const _0x48361d=_0x3547;return _0x21bf73(_0x4c231c)[_0x48361d(0x2fa)](_0x5c2fc5,_0x137c94,_0x4c231c,_0x3e69f9);},'decrypt':function(_0x464e18,_0x15b06e,_0x5a4698){const _0x3ba9d5=_0x3547;return _0x21bf73(_0x15b06e)[_0x3ba9d5(0x4e4)](_0x5c2fc5,_0x464e18,_0x15b06e,_0x5a4698);}};};}())});_0x51bd95['StreamCipher']=_0x5be9fe['extend']({'_doFinalize':function(){const _0xf10da9=_0x47ac75;var _0x5937d6=this[_0xf10da9(0x3ce)](!0x0);return _0x5937d6;},'blockSize':0x1});var _0x3fcefb=_0x1a7cd0[_0x47ac75(0x203)]={},_0x41fdad=_0x51bd95[_0x47ac75(0x32b)]=_0xe499f9['extend']({'createEncryptor':function(_0x293801,_0x10c809){const _0x471872=_0x47ac75;return this[_0x471872(0x24d)]['create'](_0x293801,_0x10c809);},'createDecryptor':function(_0x5b89e,_0x44f757){const _0x4492ea=_0x47ac75;return this[_0x4492ea(0x32e)]['create'](_0x5b89e,_0x44f757);},'init':function(_0x1248bf,_0x52af83){const _0x1f3af4=_0x47ac75;this[_0x1f3af4(0x21a)]=_0x1248bf,this[_0x1f3af4(0x3d3)]=_0x52af83;}}),_0x37a82e=_0x3fcefb[_0x47ac75(0x3bf)]=(function(){const _0x55eb33=_0x47ac75;var _0x2eb0a1=_0x41fdad[_0x55eb33(0x395)]();_0x2eb0a1['Encryptor']=_0x2eb0a1['extend']({'processBlock':function(_0x106e5b,_0x180867){const _0x2631a8=_0x55eb33;var _0x14dbdc=this[_0x2631a8(0x21a)],_0x41d0ca=_0x14dbdc[_0x2631a8(0x599)];_0xbcb68c[_0x2631a8(0x260)](this,_0x106e5b,_0x180867,_0x41d0ca),_0x14dbdc[_0x2631a8(0x594)](_0x106e5b,_0x180867),this[_0x2631a8(0x56d)]=_0x106e5b[_0x2631a8(0x320)](_0x180867,_0x180867+_0x41d0ca);}}),_0x2eb0a1[_0x55eb33(0x32e)]=_0x2eb0a1['extend']({'processBlock':function(_0x1d3463,_0x4bbffc){const _0x3baf37=_0x55eb33;var _0x5a3acf=this[_0x3baf37(0x21a)],_0x2de25f=_0x5a3acf['blockSize'],_0x36c17b=_0x1d3463['slice'](_0x4bbffc,_0x4bbffc+_0x2de25f);_0x5a3acf[_0x3baf37(0x418)](_0x1d3463,_0x4bbffc),_0xbcb68c[_0x3baf37(0x260)](this,_0x1d3463,_0x4bbffc,_0x2de25f),this['_prevBlock']=_0x36c17b;}});function _0xbcb68c(_0x10d108,_0x5ece78,_0x43c9b2){const _0x2719aa=_0x55eb33;var _0x30d604,_0x57676d=this[_0x2719aa(0x3d3)];_0x57676d?(_0x30d604=_0x57676d,this[_0x2719aa(0x3d3)]=_0x1563db):_0x30d604=this[_0x2719aa(0x56d)];for(var _0x17511f=0x0;_0x17511f<_0x43c9b2;_0x17511f++)_0x10d108[_0x5ece78+_0x17511f]^=_0x30d604[_0x17511f];}return _0x2eb0a1;}()),_0x53b907=_0x1a7cd0[_0x47ac75(0x442)]={},_0x1774d1=_0x53b907[_0x47ac75(0x5b4)]={'pad':function(_0x4568d1,_0x445ef9){const _0x5cdad7=_0x47ac75;for(var _0x2cf5b1=_0x445ef9*0x4,_0x390562=_0x2cf5b1-_0x4568d1[_0x5cdad7(0x2ef)]%_0x2cf5b1,_0x15d672=_0x390562<<0x18|_0x390562<<0x10|_0x390562<<0x8|_0x390562,_0x2c7192=[],_0xc0c667=0x0;_0xc0c667<_0x390562;_0xc0c667+=0x4)_0x2c7192[_0x5cdad7(0x3c1)](_0x15d672);var _0xa8d583=_0x20b449[_0x5cdad7(0x429)](_0x2c7192,_0x390562);_0x4568d1[_0x5cdad7(0x2d9)](_0xa8d583);},'unpad':function(_0xa2499b){const _0x12cca1=_0x47ac75;var _0x5d4783=_0xa2499b[_0x12cca1(0x3ea)][_0xa2499b[_0x12cca1(0x2ef)]-0x1>>>0x2]&0xff;_0xa2499b['sigBytes']-=_0x5d4783;}};_0x51bd95[_0x47ac75(0x47f)]=_0x5be9fe['extend']({'cfg':_0x5be9fe[_0x47ac75(0x24c)][_0x47ac75(0x395)]({'mode':_0x37a82e,'padding':_0x1774d1}),'reset':function(){const _0x5630b7=_0x47ac75;var _0x30619f;_0x5be9fe[_0x5630b7(0x5a0)][_0x5630b7(0x260)](this);var _0x49cf50=this[_0x5630b7(0x24c)],_0x22e7bd=_0x49cf50['iv'],_0x90482c=_0x49cf50[_0x5630b7(0x203)];this[_0x5630b7(0x1d6)]==this[_0x5630b7(0x2d0)]?_0x30619f=_0x90482c[_0x5630b7(0x27d)]:(_0x30619f=_0x90482c[_0x5630b7(0x364)],this[_0x5630b7(0x56e)]=0x1),this['_mode']&&this['_mode'][_0x5630b7(0x1ca)]==_0x30619f?this[_0x5630b7(0x516)][_0x5630b7(0x506)](this,_0x22e7bd&&_0x22e7bd['words']):(this[_0x5630b7(0x516)]=_0x30619f[_0x5630b7(0x260)](_0x90482c,this,_0x22e7bd&&_0x22e7bd[_0x5630b7(0x3ea)]),this[_0x5630b7(0x516)]['__creator']=_0x30619f);},'_doProcessBlock':function(_0x128b62,_0x344ed3){const _0x5743ce=_0x47ac75;this[_0x5743ce(0x516)][_0x5743ce(0x229)](_0x128b62,_0x344ed3);},'_doFinalize':function(){const _0x2fb097=_0x47ac75;var _0x1fa40f,_0x1c6cbb=this[_0x2fb097(0x24c)][_0x2fb097(0x219)];return this[_0x2fb097(0x1d6)]==this[_0x2fb097(0x2d0)]?(_0x1c6cbb['pad'](this[_0x2fb097(0x5c4)],this[_0x2fb097(0x599)]),_0x1fa40f=this[_0x2fb097(0x3ce)](!0x0)):(_0x1fa40f=this[_0x2fb097(0x3ce)](!0x0),_0x1c6cbb[_0x2fb097(0x464)](_0x1fa40f)),_0x1fa40f;},'blockSize':0x80/0x20});var _0x157582=_0x51bd95[_0x47ac75(0x1fe)]=_0xe499f9['extend']({'init':function(_0x40b993){const _0x107189=_0x47ac75;this[_0x107189(0x5a3)](_0x40b993);},'toString':function(_0x42fb86){return(_0x42fb86||this['formatter'])['stringify'](this);}}),_0x475ea6=_0x1a7cd0[_0x47ac75(0x2fc)]={},_0xe8676a=_0x475ea6[_0x47ac75(0x4cd)]={'stringify':function(_0x1994a4){const _0x57ff46=_0x47ac75;var _0x1d9b92,_0x79b863=_0x1994a4['ciphertext'],_0x3f9bb4=_0x1994a4['salt'];return _0x3f9bb4?_0x1d9b92=_0x20b449[_0x57ff46(0x429)]([0x53616c74,0x65645f5f])['concat'](_0x3f9bb4)[_0x57ff46(0x2d9)](_0x79b863):_0x1d9b92=_0x79b863,_0x1d9b92[_0x57ff46(0x57b)](_0x4f5840);},'parse':function(_0x57e9a2){const _0x48b0ef=_0x47ac75;var _0x2c8948,_0x346c4b=_0x4f5840[_0x48b0ef(0x416)](_0x57e9a2),_0x22a2cf=_0x346c4b['words'];return _0x22a2cf[0x0]==0x53616c74&&_0x22a2cf[0x1]==0x65645f5f&&(_0x2c8948=_0x20b449[_0x48b0ef(0x429)](_0x22a2cf[_0x48b0ef(0x320)](0x2,0x4)),_0x22a2cf[_0x48b0ef(0x54a)](0x0,0x4),_0x346c4b[_0x48b0ef(0x2ef)]-=0x10),_0x157582[_0x48b0ef(0x429)]({'ciphertext':_0x346c4b,'salt':_0x2c8948});}},_0x2cdb23=_0x51bd95[_0x47ac75(0x211)]=_0xe499f9[_0x47ac75(0x395)]({'cfg':_0xe499f9[_0x47ac75(0x395)]({'format':_0xe8676a}),'encrypt':function(_0x4b8e9d,_0x2dd7c9,_0x2d5951,_0x3e73cd){const _0x3305e8=_0x47ac75;_0x3e73cd=this['cfg'][_0x3305e8(0x395)](_0x3e73cd);var _0x4e5920=_0x4b8e9d[_0x3305e8(0x27d)](_0x2d5951,_0x3e73cd),_0x2f66f8=_0x4e5920['finalize'](_0x2dd7c9),_0xdad2cd=_0x4e5920[_0x3305e8(0x24c)];return _0x157582[_0x3305e8(0x429)]({'ciphertext':_0x2f66f8,'key':_0x2d5951,'iv':_0xdad2cd['iv'],'algorithm':_0x4b8e9d,'mode':_0xdad2cd[_0x3305e8(0x203)],'padding':_0xdad2cd[_0x3305e8(0x219)],'blockSize':_0x4b8e9d[_0x3305e8(0x599)],'formatter':_0x3e73cd[_0x3305e8(0x2fc)]});},'decrypt':function(_0x4a7bbc,_0x27c7f6,_0x316e73,_0x46e8c3){const _0x27f37c=_0x47ac75;_0x46e8c3=this[_0x27f37c(0x24c)][_0x27f37c(0x395)](_0x46e8c3),_0x27c7f6=this[_0x27f37c(0x231)](_0x27c7f6,_0x46e8c3[_0x27f37c(0x2fc)]);var _0x3b7c1d=_0x4a7bbc[_0x27f37c(0x364)](_0x316e73,_0x46e8c3)[_0x27f37c(0x3e9)](_0x27c7f6[_0x27f37c(0x1c5)]);return _0x3b7c1d;},'_parse':function(_0x7ab4cb,_0x568666){const _0x31d9d0=_0x47ac75;return typeof _0x7ab4cb==_0x31d9d0(0x2dd)?_0x568666[_0x31d9d0(0x416)](_0x7ab4cb,this):_0x7ab4cb;}}),_0x24617b=_0x1a7cd0['kdf']={},_0x233f9d=_0x24617b[_0x47ac75(0x4cd)]={'execute':function(_0x407bf8,_0x10cd17,_0x4b9cc9,_0x291e22,_0x53e639){const _0x24cc07=_0x47ac75;if(_0x291e22||(_0x291e22=_0x20b449[_0x24cc07(0x4c1)](0x40/0x8)),_0x53e639)var _0x76b57e=_0x442682[_0x24cc07(0x429)]({'keySize':_0x10cd17+_0x4b9cc9,'hasher':_0x53e639})[_0x24cc07(0x3e5)](_0x407bf8,_0x291e22);else var _0x76b57e=_0x442682[_0x24cc07(0x429)]({'keySize':_0x10cd17+_0x4b9cc9})[_0x24cc07(0x3e5)](_0x407bf8,_0x291e22);var _0x12b052=_0x20b449[_0x24cc07(0x429)](_0x76b57e[_0x24cc07(0x3ea)][_0x24cc07(0x320)](_0x10cd17),_0x4b9cc9*0x4);return _0x76b57e[_0x24cc07(0x2ef)]=_0x10cd17*0x4,_0x157582[_0x24cc07(0x429)]({'key':_0x76b57e,'iv':_0x12b052,'salt':_0x291e22});}},_0x554cce=_0x51bd95['PasswordBasedCipher']=_0x2cdb23[_0x47ac75(0x395)]({'cfg':_0x2cdb23[_0x47ac75(0x24c)][_0x47ac75(0x395)]({'kdf':_0x233f9d}),'encrypt':function(_0x24e5db,_0x33db4c,_0x2c7514,_0x1669dd){const _0x39923d=_0x47ac75;_0x1669dd=this['cfg'][_0x39923d(0x395)](_0x1669dd);var _0xe2c8a2=_0x1669dd[_0x39923d(0x31a)][_0x39923d(0x35d)](_0x2c7514,_0x24e5db[_0x39923d(0x279)],_0x24e5db['ivSize'],_0x1669dd[_0x39923d(0x3eb)],_0x1669dd[_0x39923d(0x5bf)]);_0x1669dd['iv']=_0xe2c8a2['iv'];var _0x4d2583=_0x2cdb23[_0x39923d(0x2fa)][_0x39923d(0x260)](this,_0x24e5db,_0x33db4c,_0xe2c8a2[_0x39923d(0x460)],_0x1669dd);return _0x4d2583['mixIn'](_0xe2c8a2),_0x4d2583;},'decrypt':function(_0x535651,_0x2dfa65,_0x2b0569,_0x14608f){const _0x8c4e61=_0x47ac75;_0x14608f=this[_0x8c4e61(0x24c)]['extend'](_0x14608f),_0x2dfa65=this[_0x8c4e61(0x231)](_0x2dfa65,_0x14608f[_0x8c4e61(0x2fc)]);var _0x5ea398=_0x14608f['kdf'][_0x8c4e61(0x35d)](_0x2b0569,_0x535651[_0x8c4e61(0x279)],_0x535651[_0x8c4e61(0x1e1)],_0x2dfa65[_0x8c4e61(0x3eb)],_0x14608f[_0x8c4e61(0x5bf)]);_0x14608f['iv']=_0x5ea398['iv'];var _0x42df55=_0x2cdb23[_0x8c4e61(0x4e4)][_0x8c4e61(0x260)](this,_0x535651,_0x2dfa65,_0x5ea398[_0x8c4e61(0x460)],_0x14608f);return _0x42df55;}});}();}));}(qt)),qt['exports'];}(function(_0x39bac6,_0x380a90){(function(_0x1ceaef,_0x537de6,_0x38684a){_0x39bac6['exports']=_0x537de6(ue(),Wi(),Va(),Fi(),Vi());}(Z,function(_0x1fb4cc){return(function(){const _0x2c12d1=_0x3547;var _0x35911b=_0x1fb4cc,_0x23bfda=_0x35911b['lib'],_0x45ee15=_0x23bfda[_0x2c12d1(0x47f)],_0x36c111=_0x35911b[_0x2c12d1(0x1fd)],_0x5727af=[],_0x5dc3c9=[],_0x3bdceb=[],_0xab5f2b=[],_0x52d724=[],_0x5bfd31=[],_0x153f65=[],_0x13bbc2=[],_0xb92f7=[],_0x16b608=[];(function(){for(var _0x23e504=[],_0x26a992=0x0;_0x26a992<0x100;_0x26a992++)_0x26a992<0x80?_0x23e504[_0x26a992]=_0x26a992<<0x1:_0x23e504[_0x26a992]=_0x26a992<<0x1^0x11b;for(var _0x5e3c83=0x0,_0x4217b6=0x0,_0x26a992=0x0;_0x26a992<0x100;_0x26a992++){var _0x199a6b=_0x4217b6^_0x4217b6<<0x1^_0x4217b6<<0x2^_0x4217b6<<0x3^_0x4217b6<<0x4;_0x199a6b=_0x199a6b>>>0x8^_0x199a6b&0xff^0x63,_0x5727af[_0x5e3c83]=_0x199a6b,_0x5dc3c9[_0x199a6b]=_0x5e3c83;var _0x2cdff7=_0x23e504[_0x5e3c83],_0x23c137=_0x23e504[_0x2cdff7],_0x990cac=_0x23e504[_0x23c137],_0x3c0ee2=_0x23e504[_0x199a6b]*0x101^_0x199a6b*0x1010100;_0x3bdceb[_0x5e3c83]=_0x3c0ee2<<0x18|_0x3c0ee2>>>0x8,_0xab5f2b[_0x5e3c83]=_0x3c0ee2<<0x10|_0x3c0ee2>>>0x10,_0x52d724[_0x5e3c83]=_0x3c0ee2<<0x8|_0x3c0ee2>>>0x18,_0x5bfd31[_0x5e3c83]=_0x3c0ee2;var _0x3c0ee2=_0x990cac*0x1010101^_0x23c137*0x10001^_0x2cdff7*0x101^_0x5e3c83*0x1010100;_0x153f65[_0x199a6b]=_0x3c0ee2<<0x18|_0x3c0ee2>>>0x8,_0x13bbc2[_0x199a6b]=_0x3c0ee2<<0x10|_0x3c0ee2>>>0x10,_0xb92f7[_0x199a6b]=_0x3c0ee2<<0x8|_0x3c0ee2>>>0x18,_0x16b608[_0x199a6b]=_0x3c0ee2,_0x5e3c83?(_0x5e3c83=_0x2cdff7^_0x23e504[_0x23e504[_0x23e504[_0x990cac^_0x2cdff7]]],_0x4217b6^=_0x23e504[_0x23e504[_0x4217b6]]):_0x5e3c83=_0x4217b6=0x1;}}());var _0x13d265=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x334e35=_0x36c111[_0x2c12d1(0x26c)]=_0x45ee15[_0x2c12d1(0x395)]({'_doReset':function(){const _0x244e18=_0x2c12d1;var _0x5661bb;if(!(this['_nRounds']&&this[_0x244e18(0x3d8)]===this['_key'])){for(var _0x323408=this['_keyPriorReset']=this[_0x244e18(0x52a)],_0x542356=_0x323408[_0x244e18(0x3ea)],_0x4a6dd9=_0x323408[_0x244e18(0x2ef)]/0x4,_0x464d9a=this[_0x244e18(0x495)]=_0x4a6dd9+0x6,_0x5bbfa3=(_0x464d9a+0x1)*0x4,_0x5baec5=this[_0x244e18(0x469)]=[],_0xf5c38f=0x0;_0xf5c38f<_0x5bbfa3;_0xf5c38f++)_0xf5c38f<_0x4a6dd9?_0x5baec5[_0xf5c38f]=_0x542356[_0xf5c38f]:(_0x5661bb=_0x5baec5[_0xf5c38f-0x1],_0xf5c38f%_0x4a6dd9?_0x4a6dd9>0x6&&_0xf5c38f%_0x4a6dd9==0x4&&(_0x5661bb=_0x5727af[_0x5661bb>>>0x18]<<0x18|_0x5727af[_0x5661bb>>>0x10&0xff]<<0x10|_0x5727af[_0x5661bb>>>0x8&0xff]<<0x8|_0x5727af[_0x5661bb&0xff]):(_0x5661bb=_0x5661bb<<0x8|_0x5661bb>>>0x18,_0x5661bb=_0x5727af[_0x5661bb>>>0x18]<<0x18|_0x5727af[_0x5661bb>>>0x10&0xff]<<0x10|_0x5727af[_0x5661bb>>>0x8&0xff]<<0x8|_0x5727af[_0x5661bb&0xff],_0x5661bb^=_0x13d265[_0xf5c38f/_0x4a6dd9|0x0]<<0x18),_0x5baec5[_0xf5c38f]=_0x5baec5[_0xf5c38f-_0x4a6dd9]^_0x5661bb);for(var _0x4e395e=this[_0x244e18(0x2d5)]=[],_0x1792c3=0x0;_0x1792c3<_0x5bbfa3;_0x1792c3++){var _0xf5c38f=_0x5bbfa3-_0x1792c3;if(_0x1792c3%0x4)var _0x5661bb=_0x5baec5[_0xf5c38f];else var _0x5661bb=_0x5baec5[_0xf5c38f-0x4];_0x1792c3<0x4||_0xf5c38f<=0x4?_0x4e395e[_0x1792c3]=_0x5661bb:_0x4e395e[_0x1792c3]=_0x153f65[_0x5727af[_0x5661bb>>>0x18]]^_0x13bbc2[_0x5727af[_0x5661bb>>>0x10&0xff]]^_0xb92f7[_0x5727af[_0x5661bb>>>0x8&0xff]]^_0x16b608[_0x5727af[_0x5661bb&0xff]];}}},'encryptBlock':function(_0x4350fb,_0x2886){const _0x4ef2a1=_0x2c12d1;this[_0x4ef2a1(0x4b1)](_0x4350fb,_0x2886,this[_0x4ef2a1(0x469)],_0x3bdceb,_0xab5f2b,_0x52d724,_0x5bfd31,_0x5727af);},'decryptBlock':function(_0x52afb7,_0x1f8944){var _0x3284bb=_0x52afb7[_0x1f8944+0x1];_0x52afb7[_0x1f8944+0x1]=_0x52afb7[_0x1f8944+0x3],_0x52afb7[_0x1f8944+0x3]=_0x3284bb,this['_doCryptBlock'](_0x52afb7,_0x1f8944,this['_invKeySchedule'],_0x153f65,_0x13bbc2,_0xb92f7,_0x16b608,_0x5dc3c9);var _0x3284bb=_0x52afb7[_0x1f8944+0x1];_0x52afb7[_0x1f8944+0x1]=_0x52afb7[_0x1f8944+0x3],_0x52afb7[_0x1f8944+0x3]=_0x3284bb;},'_doCryptBlock':function(_0x412d5e,_0x2b6beb,_0x2e252c,_0x16bdab,_0x2530cd,_0x22fe5e,_0x5bba68,_0x2bb851){const _0x6061b4=_0x2c12d1;for(var _0x1aed24=this[_0x6061b4(0x495)],_0x5745a2=_0x412d5e[_0x2b6beb]^_0x2e252c[0x0],_0x592b4f=_0x412d5e[_0x2b6beb+0x1]^_0x2e252c[0x1],_0x586d14=_0x412d5e[_0x2b6beb+0x2]^_0x2e252c[0x2],_0x3a07cd=_0x412d5e[_0x2b6beb+0x3]^_0x2e252c[0x3],_0x3fe83f=0x4,_0x151f35=0x1;_0x151f35<_0x1aed24;_0x151f35++){var _0x534e8a=_0x16bdab[_0x5745a2>>>0x18]^_0x2530cd[_0x592b4f>>>0x10&0xff]^_0x22fe5e[_0x586d14>>>0x8&0xff]^_0x5bba68[_0x3a07cd&0xff]^_0x2e252c[_0x3fe83f++],_0x147726=_0x16bdab[_0x592b4f>>>0x18]^_0x2530cd[_0x586d14>>>0x10&0xff]^_0x22fe5e[_0x3a07cd>>>0x8&0xff]^_0x5bba68[_0x5745a2&0xff]^_0x2e252c[_0x3fe83f++],_0x158068=_0x16bdab[_0x586d14>>>0x18]^_0x2530cd[_0x3a07cd>>>0x10&0xff]^_0x22fe5e[_0x5745a2>>>0x8&0xff]^_0x5bba68[_0x592b4f&0xff]^_0x2e252c[_0x3fe83f++],_0x1a0975=_0x16bdab[_0x3a07cd>>>0x18]^_0x2530cd[_0x5745a2>>>0x10&0xff]^_0x22fe5e[_0x592b4f>>>0x8&0xff]^_0x5bba68[_0x586d14&0xff]^_0x2e252c[_0x3fe83f++];_0x5745a2=_0x534e8a,_0x592b4f=_0x147726,_0x586d14=_0x158068,_0x3a07cd=_0x1a0975;}var _0x534e8a=(_0x2bb851[_0x5745a2>>>0x18]<<0x18|_0x2bb851[_0x592b4f>>>0x10&0xff]<<0x10|_0x2bb851[_0x586d14>>>0x8&0xff]<<0x8|_0x2bb851[_0x3a07cd&0xff])^_0x2e252c[_0x3fe83f++],_0x147726=(_0x2bb851[_0x592b4f>>>0x18]<<0x18|_0x2bb851[_0x586d14>>>0x10&0xff]<<0x10|_0x2bb851[_0x3a07cd>>>0x8&0xff]<<0x8|_0x2bb851[_0x5745a2&0xff])^_0x2e252c[_0x3fe83f++],_0x158068=(_0x2bb851[_0x586d14>>>0x18]<<0x18|_0x2bb851[_0x3a07cd>>>0x10&0xff]<<0x10|_0x2bb851[_0x5745a2>>>0x8&0xff]<<0x8|_0x2bb851[_0x592b4f&0xff])^_0x2e252c[_0x3fe83f++],_0x1a0975=(_0x2bb851[_0x3a07cd>>>0x18]<<0x18|_0x2bb851[_0x5745a2>>>0x10&0xff]<<0x10|_0x2bb851[_0x592b4f>>>0x8&0xff]<<0x8|_0x2bb851[_0x586d14&0xff])^_0x2e252c[_0x3fe83f++];_0x412d5e[_0x2b6beb]=_0x534e8a,_0x412d5e[_0x2b6beb+0x1]=_0x147726,_0x412d5e[_0x2b6beb+0x2]=_0x158068,_0x412d5e[_0x2b6beb+0x3]=_0x1a0975;},'keySize':0x100/0x20});_0x35911b[_0x2c12d1(0x26c)]=_0x45ee15[_0x2c12d1(0x4ee)](_0x334e35);}()),_0x1fb4cc['AES'];}));}(ki));var Ka=ki['exports'];const za=at(Ka);var qa=Wi();const ii=at(qa);var Gi={'exports':{}};(function(_0x5ea4cc,_0x477b99){(function(_0x2df6f5,_0x57cb12){_0x5ea4cc['exports']=_0x57cb12(ue());}(Z,function(_0x3156a8){const _0x19361e=_0x3547;return _0x3156a8[_0x19361e(0x563)][_0x19361e(0x1e3)];}));}(Gi));var Xa=Gi[_0x2775ba(0x42b)];const Ja=at(Xa);var Yi={'exports':{}};(function(_0x25c03c,_0x2315c1){(function(_0x26f556,_0x10f6be){const _0x13796b=_0x3547;_0x25c03c[_0x13796b(0x42b)]=_0x10f6be(ue());}(Z,function(_0x5a7060){const _0x4cec3d=_0x3547;return(function(){const _0x558aaf=_0x3547;if(typeof ArrayBuffer==_0x558aaf(0x3be)){var _0x2f570f=_0x5a7060,_0x488140=_0x2f570f[_0x558aaf(0x5c7)],_0x4f0b77=_0x488140[_0x558aaf(0x509)],_0x36ecc7=_0x4f0b77['init'],_0x18f586=_0x4f0b77[_0x558aaf(0x506)]=function(_0x3878c3){const _0x39ea18=_0x558aaf;if(_0x3878c3 instanceof ArrayBuffer&&(_0x3878c3=new Uint8Array(_0x3878c3)),(_0x3878c3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3878c3 instanceof Uint8ClampedArray||_0x3878c3 instanceof Int16Array||_0x3878c3 instanceof Uint16Array||_0x3878c3 instanceof Int32Array||_0x3878c3 instanceof Uint32Array||_0x3878c3 instanceof Float32Array||_0x3878c3 instanceof Float64Array)&&(_0x3878c3=new Uint8Array(_0x3878c3['buffer'],_0x3878c3[_0x39ea18(0x401)],_0x3878c3['byteLength'])),_0x3878c3 instanceof Uint8Array){for(var _0x2627c6=_0x3878c3[_0x39ea18(0x3c7)],_0x3b032c=[],_0x2fa551=0x0;_0x2fa551<_0x2627c6;_0x2fa551++)_0x3b032c[_0x2fa551>>>0x2]|=_0x3878c3[_0x2fa551]<<0x18-_0x2fa551%0x4*0x8;_0x36ecc7['call'](this,_0x3b032c,_0x2627c6);}else _0x36ecc7[_0x39ea18(0x387)](this,arguments);};_0x18f586[_0x558aaf(0x4d8)]=_0x4f0b77;}}()),_0x5a7060[_0x4cec3d(0x5c7)][_0x4cec3d(0x509)];}));}(Yi));var Za=Yi[_0x2775ba(0x42b)];const Qa=at(Za);var Ki={'exports':{}};(function(_0x33ad41,_0x180337){(function(_0x4e3bc1,_0x1cef3e,_0x30c3d5){const _0x3e0631=_0x3547;_0x33ad41[_0x3e0631(0x42b)]=_0x1cef3e(ue(),Vi());}(Z,function(_0x337ed6){const _0x347401=_0x3547;return _0x337ed6[_0x347401(0x442)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x337ed6['pad'][_0x347401(0x5d7)];}));}(Ki));var ec=Ki[_0x2775ba(0x42b)];const tc=at(ec);function sc(_0x5c0f70,_0xd7dcf7){const _0x289604=_0x2775ba,_0x16ea88=_0xd7dcf7-_0x5c0f70['length']%_0xd7dcf7,_0x178ea7=String[_0x289604(0x29d)](_0x16ea88)['repeat'](_0x16ea88);return _0x5c0f70+_0x178ea7;}function ic(_0x47fbe6,_0x41ecb3){const _0x331860=_0x2775ba,_0x32bfee=Qa['random'](0x10),_0x3af631=sc(_0x47fbe6,0x10),_0x2addc6=za[_0x331860(0x2fa)](Ja[_0x331860(0x416)](_0x3af631),ii[_0x331860(0x416)](_0x41ecb3),{'iv':_0x32bfee,'padding':tc});return _0x32bfee[_0x331860(0x2d9)](_0x2addc6['ciphertext'])['toString'](ii);}function nc(){const _0x5323db=_0x2775ba,_0x5f546b=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x5323db(0x461)];if(_0x5f546b){const _0x2d6b73={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x5323db(0x4e5)]};return ic(JSON[_0x5323db(0x235)](_0x2d6b73),_0x5f546b);}}var rc=Object['defineProperty'],oc=Object[_0x2775ba(0x23b)],ac=(_0xbe9667,_0x4624e6,_0x1c6f85,_0x4a24d4)=>{const _0x3fbb31=_0x2775ba;for(var _0x23813a=_0x4a24d4>0x1?void 0x0:_0x4a24d4?oc(_0x4624e6,_0x1c6f85):_0x4624e6,_0x117268=_0xbe9667[_0x3fbb31(0x549)]-0x1,_0x15cd33;_0x117268>=0x0;_0x117268--)(_0x15cd33=_0xbe9667[_0x117268])&&(_0x23813a=(_0x4a24d4?_0x15cd33(_0x4624e6,_0x1c6f85,_0x23813a):_0x15cd33(_0x23813a))||_0x23813a);return _0x4a24d4&&_0x23813a&&rc(_0x4624e6,_0x1c6f85,_0x23813a),_0x23813a;},cc=(_0x455af5,_0x57d8a3)=>(_0x183596,_0x1336fe)=>_0x57d8a3(_0x183596,_0x1336fe,_0x455af5);let bt=class{constructor(_0x358d33){const _0x11a867=_0x2775ba;this['_httpService']=_0x358d33,this[_0x11a867(0x2b9)]();}['_initRequestHeader'](){const _0x2d67e5=_0x2775ba;this[_0x2d67e5(0x2df)]['registerHTTPInterceptor']({'interceptor':(_0x386bb9,_0x35c0ae)=>{const _0x48297e=_0x2d67e5,_0x1fe02e=_0x386bb9[_0x48297e(0x336)],_0x14c1d8=nc();return _0x14c1d8&&_0x1fe02e['set'](_0x48297e(0x59c),_0x14c1d8),_0x35c0ae(_0x386bb9);}});}};bt=ac([cc(0x0,_0x6fd5ef(_0x58032c))],bt);var hc=Object[_0x2775ba(0x29e)],lc=Object['getOwnPropertyDescriptor'],_c=(_0x424ab0,_0x3910a9,_0x2e3d57,_0x15c884)=>{const _0x26c1b1=_0x2775ba;for(var _0x1ec408=_0x15c884>0x1?void 0x0:_0x15c884?lc(_0x3910a9,_0x2e3d57):_0x3910a9,_0x2df98d=_0x424ab0[_0x26c1b1(0x549)]-0x1,_0x3a014d;_0x2df98d>=0x0;_0x2df98d--)(_0x3a014d=_0x424ab0[_0x2df98d])&&(_0x1ec408=(_0x15c884?_0x3a014d(_0x3910a9,_0x2e3d57,_0x1ec408):_0x3a014d(_0x1ec408))||_0x1ec408);return _0x15c884&&_0x1ec408&&hc(_0x3910a9,_0x2e3d57,_0x1ec408),_0x1ec408;},Xt=(_0x2cbde0,_0xcd0caa)=>(_0x113ba4,_0x106fc4)=>_0xcd0caa(_0x113ba4,_0x106fc4,_0x2cbde0);const uc=[_0x2775ba(0x5cf),_0x2775ba(0x3e3),_0x2775ba(0x33a),'image/gif',_0x2775ba(0x457)],dc=0x5*0x400*0x400,fc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vc=_0x2775ba(0x1ef),mc=_0x2775ba(0x3cd),pc=_0x2775ba(0x471);let hs=class{constructor(_0x2f1bc6,_0x11365c,_0x4a2846){const _0x59cefd=_0x2775ba;g(this,_0x59cefd(0x444),0x0),g(this,_0x59cefd(0x583),new _0x50fadb()),g(this,_0x59cefd(0x46a),this[_0x59cefd(0x583)]),g(this,_0x59cefd(0x4d4),new Map()),(this[_0x59cefd(0x2df)]=_0x2f1bc6,this[_0x59cefd(0x1dc)]=_0x11365c,this[_0x59cefd(0x394)]=_0x4a2846);}[_0x2775ba(0x4f7)](_0x47ff3c){const _0x52fd6b=_0x2775ba;this[_0x52fd6b(0x444)]=_0x47ff3c,this[_0x52fd6b(0x583)][_0x52fd6b(0x51e)](_0x47ff3c);}[_0x2775ba(0x4ef)](_0x362ee6,_0x5f5a8b){const _0x38b7a9=_0x2775ba;if(_0x5f5a8b===_0x49aea4[_0x38b7a9(0x316)]){const _0x319e70=new Image();return _0x319e70[_0x38b7a9(0x3ab)]=_0x362ee6,_0x319e70;}return this[_0x38b7a9(0x4d4)][_0x38b7a9(0x2c8)](_0x362ee6);}[_0x2775ba(0x489)](_0x480eaa,_0x5c951b,_0x4913cf){const _0x3d3b7a=_0x2775ba;_0x5c951b===_0x49aea4[_0x3d3b7a(0x316)]||_0x4913cf==null||this['_imageSourceCache']['set'](_0x480eaa,_0x4913cf);}async[_0x2775ba(0x24f)](_0x296a6d){const _0x2bf626=_0x2775ba;try{const _0x405c1f=this['_replaceFileID'](this[_0x2bf626(0x254)](),''+_0x296a6d),_0x30953b=(await this['_httpService'][_0x2bf626(0x2c8)](_0x405c1f))[_0x2bf626(0x206)];if(_0x30953b[_0x2bf626(0x274)]&&_0x30953b['error'][_0x2bf626(0x314)]===Ri['OK']){const _0x480cdc=new URL(_0x30953b[_0x2bf626(0x427)],this[_0x2bf626(0x4e9)]())[_0x2bf626(0x57b)]();return Promise[_0x2bf626(0x498)](_0x480cdc);}return Promise[_0x2bf626(0x4ed)](_0x30953b[_0x2bf626(0x274)]);}catch(_0x3ee283){return Promise[_0x2bf626(0x4ed)](_0x3ee283);}}async[_0x2775ba(0x2ac)](_0x461d6e){const _0x3c36e7=_0x2775ba;let _0x545c91='';if(!uc[_0x3c36e7(0x499)](_0x461d6e[_0x3c36e7(0x54c)]))return this[_0x3c36e7(0x1c9)](),Promise[_0x3c36e7(0x4ed)](new Error(_0x580171[_0x3c36e7(0x57c)]));if(_0x461d6e[_0x3c36e7(0x1e8)]>dc)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x580171[_0x3c36e7(0x577)]));try{const _0x52c579=new FormData();_0x52c579['append'](_0x3c36e7(0x3b7),_0x461d6e);const _0x139e2d=this[_0x3c36e7(0x394)][_0x3c36e7(0x2d7)](),_0x5eeaa8=_0x139e2d==null?void 0x0:_0x139e2d['getUnitId']();if(!_0x5eeaa8)throw new Error('unitId\x20is\x20not\x20found');const _0x40d1af=this[_0x3c36e7(0x2c0)]()+'?size='+_0x461d6e[_0x3c36e7(0x1e8)]['toString']()+_0x3c36e7(0x53f)+Oi[_0x3c36e7(0x407)]+'&assign='+encodeURIComponent(_0x5eeaa8),_0x1e042b=await(await fetch(_0x40d1af,{'method':_0x3c36e7(0x2e8),'body':_0x52c579}))['json']();if(typeof _0x1e042b['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x3c36e7(0x4ed)](new Error(_0x580171[_0x3c36e7(0x52d)]));_0x545c91=_0x1e042b[_0x3c36e7(0x3da)];}catch{return this[_0x3c36e7(0x1c9)](),Promise[_0x3c36e7(0x4ed)](new Error(_0x580171[_0x3c36e7(0x52d)]));}return new Promise((_0x143793,_0x516591)=>{const _0x14f256=_0x3c36e7,_0x375f18=new FileReader();_0x375f18[_0x14f256(0x43e)](_0x461d6e),_0x375f18[_0x14f256(0x1f0)]=_0x24b80b=>{const _0x142280=_0x14f256;var _0x296451;const _0x3f7559=(_0x296451=_0x24b80b['target'])==null?void 0x0:_0x296451[_0x142280(0x321)];if(_0x3f7559==null){this[_0x142280(0x1c9)](),_0x516591(new Error(_0x580171[_0x142280(0x52d)]));return;}const _0x5539ef=_0x459384[_0x142280(0x422)](0x6);_0x143793({'imageId':_0x5539ef,'imageSourceType':_0x49aea4[_0x142280(0x5a4)],'source':_0x545c91,'base64Cache':_0x3f7559,'status':_0x580171['SUCCUSS']}),this[_0x142280(0x1c9)]();};});}[_0x2775ba(0x2c0)](){const _0x4aa9cb=_0x2775ba;var _0x388e33,_0x3f1155;const _0x484430=this[_0x4aa9cb(0x1dc)][_0x4aa9cb(0x4ad)](fc),_0x4f2b7a=this[_0x4aa9cb(0x1dc)][_0x4aa9cb(0x4ad)](te);return(_0x3f1155=(_0x388e33=_0x4f2b7a==null?void 0x0:_0x4f2b7a[_0x4aa9cb(0x2c6)])!=null?_0x388e33:_0x484430)!=null?_0x3f1155:vc;}['_getSignURL'](){const _0x48ddd7=_0x2775ba;var _0x1f027f,_0x3e120c;const _0x4b8dfe=this['_configService'][_0x48ddd7(0x4ad)](mc),_0x18511b=this[_0x48ddd7(0x1dc)][_0x48ddd7(0x4ad)](te);return(_0x3e120c=(_0x1f027f=_0x18511b==null?void 0x0:_0x18511b['signUrlServerUrl'])!=null?_0x1f027f:_0x4b8dfe)!=null?_0x3e120c:pc;}['_getDownloadEndpointURL'](){const _0x13ffb8=_0x2775ba;var _0x5d31c7;const _0x48de2e=this[_0x13ffb8(0x1dc)][_0x13ffb8(0x4ad)](te);return(_0x5d31c7=_0x48de2e==null?void 0x0:_0x48de2e[_0x13ffb8(0x52e)])!=null?_0x5d31c7:location[_0x13ffb8(0x2da)];}[_0x2775ba(0x44d)](_0x360a3c,_0x33aec7){const _0x522823=_0x2775ba;return _0x360a3c[_0x522823(0x311)](_0x522823(0x3e2),_0x33aec7);}[_0x2775ba(0x1c9)](){const _0x1b4af6=_0x2775ba;this[_0x1b4af6(0x444)]-=0x1,this[_0x1b4af6(0x583)]['next'](this['_waitCount']);}};hs=_c([Xt(0x0,_0x6fd5ef(_0x58032c)),Xt(0x1,_0x400e14),Xt(0x2,_0x6fd5ef(_0x250342))],hs);var gc=Object[_0x2775ba(0x29e)],Sc=Object[_0x2775ba(0x23b)],Ic=(_0x258267,_0x23b6b2,_0x3721c4,_0x41f897)=>{const _0x54c842=_0x2775ba;for(var _0x474a85=_0x41f897>0x1?void 0x0:_0x41f897?Sc(_0x23b6b2,_0x3721c4):_0x23b6b2,_0x36253a=_0x258267[_0x54c842(0x549)]-0x1,_0x2328a4;_0x36253a>=0x0;_0x36253a--)(_0x2328a4=_0x258267[_0x36253a])&&(_0x474a85=(_0x41f897?_0x2328a4(_0x23b6b2,_0x3721c4,_0x474a85):_0x2328a4(_0x474a85))||_0x474a85);return _0x41f897&&_0x474a85&&gc(_0x23b6b2,_0x3721c4,_0x474a85),_0x474a85;},Qe=(_0x2da97f,_0x4dbaa3)=>(_0x5320ae,_0x1bfd85)=>_0x4dbaa3(_0x5320ae,_0x1bfd85,_0x2da97f);let Tt=class extends _0x355f5a{constructor(_0x4102ce,_0x5c95b9,_0x584a20,_0x4972be,_0x370201){const _0x311fdf=_0x2775ba;super(),this[_0x311fdf(0x383)]=_0x4102ce,this[_0x311fdf(0x394)]=_0x5c95b9,this[_0x311fdf(0x20c)]=_0x584a20,this[_0x311fdf(0x57d)]=_0x4972be,this[_0x311fdf(0x3c5)]=_0x370201,this[_0x311fdf(0x3c0)](),this[_0x311fdf(0x289)]();}['_initCloseConn'](){const _0x19a205=_0x2775ba,_0x3cfa96=async _0x1ff6dc=>{const _0x39f2c3=_0x3547;(await this[_0x39f2c3(0x57d)][_0x39f2c3(0x3c6)](_0x1ff6dc))[_0x39f2c3(0x2a5)]['pipe'](_0x351f04(_0x19caf2=>_0x19caf2['eventID']===_0x394e1d[_0x39f2c3(0x36a)]),_0x3a6336(this[_0x39f2c3(0x414)]))[_0x39f2c3(0x473)](_0x441dde=>{const _0x4da3f5=_0x39f2c3,_0x194039=_0x441dde,{reason:_0x170d8c}=_0x194039[_0x4da3f5(0x515)];this[_0x4da3f5(0x383)][_0x4da3f5(0x2c8)](_0x3f73bc)[_0x4da3f5(0x28b)]({'type':_0x32d67a['Error'],'content':this[_0x4da3f5(0x3c5)]['t'](_0x4da3f5(0x527))+'('+_0x170d8c+')'}),this[_0x4da3f5(0x20c)][_0x4da3f5(0x209)](new _0x5bff86(_0x1ff6dc)['id'],!0x1),this[_0x4da3f5(0x57d)]['closeSession'](_0x1ff6dc);});};_0x648e04(this['_univerInstanceService'][_0x19a205(0x5cd)](_0x59e1a1[_0x19a205(0x1d1)]),this[_0x19a205(0x394)][_0x19a205(0x5cd)](_0x59e1a1['UNIVER_DOC']))[_0x19a205(0x588)](_0x23a394(_0x356e99=>_0x356e99[_0x19a205(0x531)]()),_0x351f04(_0x548d2f=>!_0x4dd08f(_0x548d2f)),_0x3a6336(this[_0x19a205(0x414)]))[_0x19a205(0x473)](_0x5701d9=>{_0x3cfa96(_0x5701d9);});}[_0x2775ba(0x3c0)](){const _0x2c03ef=_0x2775ba,_0x2569ca=async _0x53eb40=>{const _0x321e8c=_0x3547;(await this[_0x321e8c(0x57d)][_0x321e8c(0x3c6)](_0x53eb40))['event$'][_0x321e8c(0x588)](_0x351f04(_0x5c5be7=>_0x5c5be7[_0x321e8c(0x370)]===_0x394e1d[_0x321e8c(0x439)]),_0x3a6336(this['dispose$']))[_0x321e8c(0x473)](_0x58d8d0=>{const _0x1e0042=_0x321e8c,_0x19212e=_0x58d8d0,{objectId:_0x2cc7fe}=_0x19212e[_0x1e0042(0x515)],_0x9b425e=this[_0x1e0042(0x383)][_0x1e0042(0x2c8)](_0x46f6c4);_0x2cc7fe===_0x53eb40?_0x9b425e['initWorkbookPermissionChange'](_0x53eb40):_0x9b425e['refreshPermission'](_0x53eb40,_0x2cc7fe);});};_0x648e04(this[_0x2c03ef(0x394)][_0x2c03ef(0x5cd)](_0x59e1a1['UNIVER_SHEET']),this[_0x2c03ef(0x394)][_0x2c03ef(0x5cd)](_0x59e1a1[_0x2c03ef(0x573)]))[_0x2c03ef(0x588)](_0x23a394(_0x14bf91=>_0x14bf91[_0x2c03ef(0x531)]()),_0x351f04(_0x2cea47=>!_0x4dd08f(_0x2cea47)),_0x3a6336(this[_0x2c03ef(0x414)]))[_0x2c03ef(0x473)](_0x4e2dfe=>{_0x2569ca(_0x4e2dfe);});}};Tt=Ic([Qe(0x0,_0x6fd5ef(_0x5df3a5)),Qe(0x1,_0x250342),Qe(0x2,_0x54a632),Qe(0x3,_0x6fd5ef(xe)),Qe(0x4,_0x6fd5ef(_0x312a5a))],Tt);var Cc=Object['defineProperty'],Ec=Object[_0x2775ba(0x23b)],bc=(_0x318fa2,_0x11cf84,_0x36af15,_0x45c8b3)=>{for(var _0x44337f=_0x45c8b3>0x1?void 0x0:_0x45c8b3?Ec(_0x11cf84,_0x36af15):_0x11cf84,_0x38d91e=_0x318fa2['length']-0x1,_0x50ef4b;_0x38d91e>=0x0;_0x38d91e--)(_0x50ef4b=_0x318fa2[_0x38d91e])&&(_0x44337f=(_0x45c8b3?_0x50ef4b(_0x11cf84,_0x36af15,_0x44337f):_0x50ef4b(_0x44337f))||_0x44337f);return _0x45c8b3&&_0x44337f&&Cc(_0x11cf84,_0x36af15,_0x44337f),_0x44337f;},ni=(_0x3c81ca,_0x161eaf)=>(_0x404c9f,_0x2ebb3f)=>_0x161eaf(_0x404c9f,_0x2ebb3f,_0x3c81ca);let ls=class{constructor(_0x19e6d0,_0x2e6deb){const _0x1d3621=_0x2775ba;this[_0x1d3621(0x1dc)]=_0x19e6d0,this[_0x1d3621(0x2df)]=_0x2e6deb;}async[_0x2775ba(0x4be)](_0x5e414c,_0x2fcbfa){const _0x330f4f=_0x2775ba;var _0x3bfd9e;const {unitID:_0x2660bf,type:_0x407045,revision:_0x3ecfec=0x0}=_0x2fcbfa,_0x2c2810=this[_0x330f4f(0x3d7)]()+'/'+_0x407045+_0x330f4f(0x345)+_0x2660bf+_0x330f4f(0x5a5)+_0x3ecfec,_0x4f23d4=(await this[_0x330f4f(0x2df)][_0x330f4f(0x2c8)](_0x2c2810))[_0x330f4f(0x206)],_0x402b01=(_0x3bfd9e=_0x4f23d4['snapshot'])==null?void 0x0:_0x3bfd9e[_0x330f4f(0x3ef)];if(_0x402b01){const _0x335c97=_0x402b01==null?void 0x0:_0x402b01['originalMeta'],_0xca9a40=_0x231afd[_0x330f4f(0x45e)](_0x1d58a5(_0x335c97));_0x402b01[_0x330f4f(0x1e2)]=_0xca9a40,Object[_0x330f4f(0x349)](_0x402b01[_0x330f4f(0x238)])[_0x330f4f(0x48a)](([,_0x742d2d])=>{const _0x25b001=_0x330f4f,_0x1572c7=_0x742d2d[_0x25b001(0x1e2)],_0x531dcb=_0x231afd['encode'](_0x1d58a5(_0x1572c7));_0x742d2d[_0x25b001(0x1e2)]=_0x531dcb;});}return _0x4f23d4;}async[_0x2775ba(0x330)](_0x3cfb4d,_0x392611){const _0x1c4d4c=_0x2775ba,{unitID:_0x109cc0,type:_0x157a15,blockID:_0x2be01a}=_0x392611,_0x240322=this['_getAPIPrefix']()+'/'+_0x157a15+_0x1c4d4c(0x345)+_0x109cc0+_0x1c4d4c(0x578)+_0x2be01a;return(await this['_httpService']['get'](_0x240322))['body'];}async[_0x2775ba(0x2e4)](_0x544a8f,_0x445f66){const _0x336cbd=_0x2775ba,{unitID:_0x20c41f,type:_0x19a4e5,blockID:_0x582cea}=_0x445f66,_0x8d1e17=this[_0x336cbd(0x399)]()+_0x336cbd(0x578)+_0x19a4e5+_0x336cbd(0x345)+_0x20c41f+_0x336cbd(0x578)+_0x582cea;return(await this[_0x336cbd(0x2df)][_0x336cbd(0x2c8)](_0x8d1e17))[_0x336cbd(0x206)];}async[_0x2775ba(0x40e)](_0x1d7dcf,_0x311e30){const _0x31db1f=_0x2775ba,{unitID:_0x496f84,type:_0x138f8c,from:_0x4eb571,to:_0x4ab6f9}=_0x311e30,_0x3db36b=this['_getAPIPrefix']()+'/'+_0x138f8c+'/unit/'+_0x496f84+_0x31db1f(0x55c)+_0x4eb571+_0x31db1f(0x1bb)+_0x4ab6f9;return(await this['_httpService'][_0x31db1f(0x2c8)](_0x3db36b))['body'];}['_getSnapshotAPIPrefix'](){const _0x1a73d5=_0x2775ba;var _0x424c35;return(_0x424c35=this['_configService'][_0x1a73d5(0x4ad)](lr))!=null?_0x424c35:this['_getAPIPrefix']();}[_0x2775ba(0x399)](){const _0x11a8e1=_0x2775ba;var _0x530c8c,_0x2e36f9;const _0x1eb558=this[_0x11a8e1(0x1dc)]['getConfig'](cr),_0x3414b7=this['_configService'][_0x11a8e1(0x4ad)](te);return(_0x2e36f9=(_0x530c8c=_0x3414b7==null?void 0x0:_0x3414b7['snapshotServerUrl'])!=null?_0x530c8c:_0x1eb558)!=null?_0x2e36f9:hr;}async['getResourcesRequest'](_0x522847,_0x1996ad){const _0x4ef266=_0x2775ba,_0x1b12a9=_0x4ef266(0x1d8)+_0x1996ad[_0x4ef266(0x54c)]+_0x4ef266(0x345)+_0x1996ad[_0x4ef266(0x1e7)]+_0x4ef266(0x29c);return(await this[_0x4ef266(0x2df)][_0x4ef266(0x2c8)](_0x1b12a9,{'params':{'resourceId':JSON[_0x4ef266(0x235)](_0x1996ad[_0x4ef266(0x581)])}}))['body'];}[_0x2775ba(0x1c6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2775ba(0x348)](){const _0x221a08=_0x2775ba;throw new Error(_0x221a08(0x4af));}[_0x2775ba(0x5b6)](){const _0x3c7b66=_0x2775ba;throw new Error(_0x3c7b66(0x4af));}[_0x2775ba(0x1f1)](){const _0x263eee=_0x2775ba;throw new Error(_0x263eee(0x4af));}[_0x2775ba(0x565)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=bc([ni(0x0,_0x400e14),ni(0x1,_0x6fd5ef(_0x58032c))],ls);var Tc=Object[_0x2775ba(0x29e)],Rc=Object[_0x2775ba(0x23b)],Oc=(_0x3d934f,_0x23d178,_0x5b7d04,_0x113bb8)=>{const _0x4a7a8a=_0x2775ba;for(var _0xf70791=_0x113bb8>0x1?void 0x0:_0x113bb8?Rc(_0x23d178,_0x5b7d04):_0x23d178,_0x15873b=_0x3d934f[_0x4a7a8a(0x549)]-0x1,_0x115346;_0x15873b>=0x0;_0x15873b--)(_0x115346=_0x3d934f[_0x15873b])&&(_0xf70791=(_0x113bb8?_0x115346(_0x23d178,_0x5b7d04,_0xf70791):_0x115346(_0xf70791))||_0xf70791);return _0x113bb8&&_0xf70791&&Tc(_0x23d178,_0x5b7d04,_0xf70791),_0xf70791;},et=(_0x3f18f2,_0x3b6d6a)=>(_0xfa25a5,_0xaab3b4)=>_0x3b6d6a(_0xfa25a5,_0xaab3b4,_0x3f18f2);let _s=class extends _0x2e5556{constructor(_0x190ba0,_0x6a7c1e,_0x9a7bbb,_0x4c622a,_0xb702cd){const _0x5947dc=_0x2775ba;super(_0x190ba0,_0x6a7c1e,_0x9a7bbb),this[_0x5947dc(0x3cf)]=_0x4c622a,this[_0x5947dc(0x4bd)]=_0xb702cd;}[_0x2775ba(0x255)](_0x31fe37,_0x20e0e8){const _0x2ee2a9=_0x2775ba,_0x407a4c=this[_0x2ee2a9(0x32c)](_0x31fe37);if(_0x407a4c)try{const _0x291ae7=this['_transformStack'](_0x407a4c,_0x20e0e8);this[_0x2ee2a9(0x4c3)](_0x31fe37,_0x291ae7);}catch(_0x474ef4){this[_0x2ee2a9(0x4bd)][_0x2ee2a9(0x274)](_0x2ee2a9(0x5c6),_0x474ef4),this[_0x2ee2a9(0x2c5)](_0x31fe37);}const _0x4e4c58=this['_getRedoStack'](_0x31fe37);if(_0x4e4c58)try{const _0x1f7b07=this[_0x2ee2a9(0x261)](_0x4e4c58,_0x20e0e8);this[_0x2ee2a9(0x465)](_0x31fe37,_0x1f7b07);}catch(_0x18e895){this[_0x2ee2a9(0x4bd)][_0x2ee2a9(0x274)](_0x18e895),this[_0x2ee2a9(0x2f8)](_0x31fe37);}}['_clearUndo'](_0x3b4143){const _0x425858=_0x2775ba,_0x185476=this[_0x425858(0x32c)](_0x3b4143);_0x185476&&(_0x185476[_0x425858(0x549)]=0x0,this[_0x425858(0x541)]());}[_0x2775ba(0x2f8)](_0x4148c9){const _0xd8cb4f=_0x2775ba,_0x39c1d1=this['_getRedoStack'](_0x4148c9);_0x39c1d1&&(_0x39c1d1[_0xd8cb4f(0x549)]=0x0,this[_0xd8cb4f(0x541)]());}[_0x2775ba(0x4c3)](_0x1f4f0a,_0x40c247){const _0x67a190=_0x2775ba;this[_0x67a190(0x51c)][_0x67a190(0x59f)](_0x1f4f0a,_0x40c247),this[_0x67a190(0x541)]();}[_0x2775ba(0x465)](_0x1a4503,_0x261844){const _0x116a47=_0x2775ba;this['_redoStacks'][_0x116a47(0x59f)](_0x1a4503,_0x261844),this[_0x116a47(0x541)]();}[_0x2775ba(0x261)](_0x4b3f41,_0x4d1103){const _0x32ce3d=_0x2775ba,_0x3ef933=[];let _0x3e4adf=_0x4d1103,_0x38e91e=_0x4d1103;for(let _0xd8729c=_0x4b3f41['length']-0x1;_0xd8729c>=0x0;_0xd8729c--){const {unitID:_0x2b5a49,undoMutations:_0x5b6ae6,redoMutations:_0x4cda90}=_0x4b3f41[_0xd8729c],_0x4b8de8=this[_0x32ce3d(0x3cf)][_0x32ce3d(0x5d3)](_0x3e4adf,_0x5b6ae6),_0x2f3e73=this[_0x32ce3d(0x3cf)][_0x32ce3d(0x5d3)](_0x38e91e,_0x4cda90);if(_0x40ed95(_0x4b8de8)||_0x40ed95(_0x2f3e73)){this[_0x32ce3d(0x4bd)][_0x32ce3d(0x274)](_0x32ce3d(0x5c6),'transformStack\x20failed!',_0x4b8de8,_0x2f3e73);break;}_0x3e4adf=_0x4b8de8[_0x32ce3d(0x53d)],_0x38e91e=_0x2f3e73['c1Prime'],_0x3ef933[_0x32ce3d(0x3c1)]({'unitID':_0x2b5a49,'undoMutations':_0x4b8de8['m2Prime'],'redoMutations':_0x2f3e73['m2Prime']});}return _0x3ef933[_0x32ce3d(0x3aa)]();}};_s=Oc([et(0x0,_0x250342),et(0x1,_0x386a88),et(0x2,_0x362879),et(0x3,_0x22e7dd),et(0x4,_0x21d5e3)],_s);class yc extends _0x355f5a{constructor(){const _0x1b2734=_0x2775ba;super(),g(this,_0x1b2734(0x2d3)),this[_0x1b2734(0x2d3)]=_0x36a453(window,_0x1b2734(0x2e5))[_0x1b2734(0x588)](_0x359f8b(this[_0x1b2734(0x414)]),_0x3de655(0x1),_0x58dc32(void 0x0));}[_0x2775ba(0x5ad)](_0x9e0d76,_0x38cada,_0x59dab1=!0x1){const _0x573b88=_0x2775ba,_0x6418aa=new URL(window['location'][_0x573b88(0x306)]);_0x6418aa[_0x573b88(0x555)][_0x573b88(0x59f)](_0x9e0d76,_0x38cada),_0x59dab1?window['history'][_0x573b88(0x55d)]('','',_0x6418aa[_0x573b88(0x57b)]()):window[_0x573b88(0x5bb)]['pushState']('','',_0x6418aa[_0x573b88(0x57b)]());}[_0x2775ba(0x24e)](_0x15d1ff,_0x1a6438=!0x1){const _0x4cf276=_0x2775ba,_0x55dc6d=new URL(window['location'][_0x4cf276(0x306)]);_0x55dc6d['searchParams']['delete'](_0x15d1ff),_0x1a6438?window[_0x4cf276(0x5bb)]['replaceState']('','',_0x55dc6d['toString']()):window[_0x4cf276(0x5bb)][_0x4cf276(0x223)]('','',_0x55dc6d['toString']());}[_0x2775ba(0x4a8)](_0x16d2c5){const _0x55036e=_0x2775ba;var _0x3f575f;return(_0x3f575f=new URL(window[_0x55036e(0x2e9)][_0x55036e(0x306)])[_0x55036e(0x555)]['get'](_0x16d2c5))!=null?_0x3f575f:void 0x0;}}var zi=Object[_0x2775ba(0x29e)],wc=Object[_0x2775ba(0x23b)],Dc=(_0x2aeb96,_0x1b204a,_0x7beb86)=>_0x1b204a in _0x2aeb96?zi(_0x2aeb96,_0x1b204a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7beb86}):_0x2aeb96[_0x1b204a]=_0x7beb86,Pc=(_0x5a70ff,_0x599b17,_0xe58feb,_0x3bafa9)=>{const _0x98d9a3=_0x2775ba;for(var _0x4e4071=_0x3bafa9>0x1?void 0x0:_0x3bafa9?wc(_0x599b17,_0xe58feb):_0x599b17,_0xd4f7dd=_0x5a70ff[_0x98d9a3(0x549)]-0x1,_0x53f14b;_0xd4f7dd>=0x0;_0xd4f7dd--)(_0x53f14b=_0x5a70ff[_0xd4f7dd])&&(_0x4e4071=(_0x3bafa9?_0x53f14b(_0x599b17,_0xe58feb,_0x4e4071):_0x53f14b(_0x4e4071))||_0x4e4071);return _0x3bafa9&&_0x4e4071&&zi(_0x599b17,_0xe58feb,_0x4e4071),_0x4e4071;},lt=(_0x4b5d5d,_0x1b9aa7)=>(_0x452a7f,_0x5c1d1e)=>_0x1b9aa7(_0x452a7f,_0x5c1d1e,_0x4b5d5d),Uc=(_0x3e5228,_0x5de82a,_0x5ba6f3)=>Dc(_0x3e5228,_0x5de82a+'',_0x5ba6f3);const Nc=_0x2775ba(0x368);let us=class extends _0x44d542{constructor(_0x55ef90=Or,_0x335938,_0x50bc22,_0x1386a5,_0x26c042){const _0x15edc2=_0x2775ba;super(),this[_0x15edc2(0x3a4)]=_0x55ef90,this[_0x15edc2(0x4bd)]=_0x335938,this[_0x15edc2(0x4eb)]=_0x50bc22,this[_0x15edc2(0x383)]=_0x1386a5,this[_0x15edc2(0x1dc)]=_0x26c042;const {..._0x4eab8d}=this[_0x15edc2(0x3a4)];this[_0x15edc2(0x1dc)][_0x15edc2(0x4e0)](te,_0x4eab8d);}[_0x2775ba(0x480)](){const _0x5d9bf3=_0x2775ba;this[_0x5d9bf3(0x31f)](),this[_0x5d9bf3(0x4a4)]();}[_0x2775ba(0x1fc)](){_0x2c6dce(this['_injector'],[[Ct]]);}[_0x2775ba(0x2f4)](){const _0x58d428=_0x2775ba;this[_0x58d428(0x447)]();}[_0x2775ba(0x31f)](){const _0x1994b5=_0x2775ba;var _0x1ade2d,_0x81d6f5,_0x5ba759,_0x2f85b1;this[_0x1994b5(0x383)][_0x1994b5(0x482)](_0x2804f5)&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x1994b5(0x540));const _0x4aa189=[[_0x2804f5,{'useClass':_s}],[xe],[bs],[Bi,{'useClass':yc}],[Me],[q],[_0x30a64c],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[yi,{'useClass':(_0x81d6f5=(_0x1ade2d=this[_0x1994b5(0x3a4)])==null?void 0x0:_0x1ade2d[_0x1994b5(0x558)])!=null?_0x81d6f5:es}],[_0x289fec,{'useClass':ls}],[_0x393fea,{'useClass':cs}],[_0x385076,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x5ba759=this['_config'])!=null&&_0x5ba759[_0x1994b5(0x21e)]&&_0x4aa189['push']([Rt,{'useClass':oo}]),_0x26c0a5(this[_0x1994b5(0x383)],_0x3330c2(_0x4aa189,(_0x2f85b1=this[_0x1994b5(0x3a4)])==null?void 0x0:_0x2f85b1['override']));}[_0x2775ba(0x447)](){const _0x4b7779=_0x2775ba;this[_0x4b7779(0x49c)](this[_0x4b7779(0x4eb)][_0x4b7779(0x50e)](_0x59e1a1[_0x4b7779(0x573)],[os])),this[_0x4b7779(0x49c)](this[_0x4b7779(0x4eb)][_0x4b7779(0x50e)](_0x59e1a1[_0x4b7779(0x1d1)],[as]));}[_0x2775ba(0x4a4)](){const _0x1d4e69=_0x2775ba;var _0x3b0adf,_0x413100;this[_0x1d4e69(0x383)][_0x1d4e69(0x2c8)](_0x58032c)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x41c49a({'maxParallel':0x6})}),(_0x3b0adf=this[_0x1d4e69(0x3a4)])!=null&&_0x3b0adf[_0x1d4e69(0x36c)]||this['_injector'][_0x1d4e69(0x2c8)](q)['disableLocalCache'](),(_0x413100=this[_0x1d4e69(0x3a4)])!=null&&_0x413100[_0x1d4e69(0x4f5)]&&_0x2c6dce(this[_0x1d4e69(0x383)],[[Et]]),_0x2c6dce(this[_0x1d4e69(0x383)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Uc(us,_0x2775ba(0x3fd),Nc),us=Pc([_0xa31450(_0x5cda9a,_0x536937),lt(0x1,_0x21d5e3),lt(0x2,_0x50ddc3),lt(0x3,_0x6fd5ef(_0x5df3a5)),lt(0x4,_0x400e14)],us);export{ka as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Er as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,xe as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ea as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,vr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,yi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Ir as LOCAL_CACHE_INTERVAL_KEY,Tr as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,gr as RETRY_CONNECTING_MAX_COUNT_KEY,Jc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Jo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,wr as serializeCombRequest};
|