@univerjs-pro/collaboration-client 0.4.1 → 0.4.2-nightly.202410301606

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.
Files changed (34) hide show
  1. package/lib/es/index.js +1 -1
  2. package/lib/locale/en-US.js +1 -0
  3. package/lib/locale/fa-IR.js +1 -0
  4. package/lib/locale/ru-RU.js +1 -0
  5. package/lib/locale/vi-VN.js +1 -0
  6. package/lib/locale/zh-CN.js +1 -0
  7. package/lib/locale/zh-TW.js +1 -0
  8. package/lib/types/controllers/collaboration/collaboration-entity.d.ts +5 -3
  9. package/lib/types/controllers/collaboration/collaboration-state.d.ts +32 -1
  10. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +2 -0
  11. package/lib/types/index.d.ts +2 -0
  12. package/lib/types/plugin.d.ts +1 -1
  13. package/lib/types/services/auth-server/util.d.ts +1 -0
  14. package/lib/types/services/collaboration-session/collaboration-session.d.ts +4 -4
  15. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -1
  16. package/lib/types/services/member/member.service.d.ts +39 -0
  17. package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
  18. package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +1 -1
  19. package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +1 -1
  20. package/lib/umd/index.js +1 -1
  21. package/lib/umd/locale/en-US.js +1 -0
  22. package/lib/umd/locale/fa-IR.js +1 -0
  23. package/lib/umd/locale/ru-RU.js +1 -0
  24. package/lib/umd/locale/vi-VN.js +1 -0
  25. package/lib/umd/locale/zh-CN.js +1 -0
  26. package/lib/umd/locale/zh-TW.js +1 -0
  27. package/package.json +35 -31
  28. package/lib/cjs/index.js +0 -1
  29. package/lib/locale/en-US.json +0 -38
  30. package/lib/locale/fa-IR.json +0 -38
  31. package/lib/locale/ru-RU.json +0 -38
  32. package/lib/locale/vi-VN.json +0 -38
  33. package/lib/locale/zh-CN.json +0 -38
  34. package/lib/locale/zh-TW.json +0 -38
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xf86c5a=_0x556d;(function(_0x35c1c8,_0x23ba59){const _0x321330=_0x556d,_0x45256c=_0x35c1c8();while(!![]){try{const _0x42b8ef=parseInt(_0x321330(0x3a9))/0x1+parseInt(_0x321330(0x3b0))/0x2*(parseInt(_0x321330(0x359))/0x3)+-parseInt(_0x321330(0x385))/0x4*(parseInt(_0x321330(0x270))/0x5)+parseInt(_0x321330(0x336))/0x6*(-parseInt(_0x321330(0x309))/0x7)+parseInt(_0x321330(0x219))/0x8+-parseInt(_0x321330(0x302))/0x9+parseInt(_0x321330(0x38f))/0xa*(-parseInt(_0x321330(0x440))/0xb);if(_0x42b8ef===_0x23ba59)break;else _0x45256c['push'](_0x45256c['shift']());}catch(_0x1b19a3){_0x45256c['push'](_0x45256c['shift']());}}}(_0x4a74,0x406c8));var si=Object[_0xf86c5a(0xfa)],ii=(_0x3ce74f,_0x263298,_0x53bfb5)=>_0x263298 in _0x3ce74f?si(_0x3ce74f,_0x263298,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53bfb5}):_0x3ce74f[_0x263298]=_0x53bfb5,l=(_0x4e41f3,_0x48ec17,_0xb52893)=>ii(_0x4e41f3,typeof _0x48ec17!=_0xf86c5a(0x139)?_0x48ec17+'':_0x48ec17,_0xb52893);import{createIdentifier as _0x2452f4,Inject as _0x370f8c,Disposable as _0x4091c9,DisposableCollection as _0x58abb8,toDisposable as _0x441a7c,IConfigService as _0x5bc7de,ILogService as _0x593f47,UserManagerService as _0x323804,UniverInstanceType as _0x751d23,IUniverInstanceService as _0x5edd3d,LocaleService as _0x2673bf,Optional as _0x2fd677,RxDisposable as _0x27d368,Injector as _0x595e81,Tools as _0x48af3f,ILocalStorageService as _0x5d2dbc,Rectangle as _0x426027,ICommandService as _0x225d18,JSONX as _0x1d6dc3,CommandType as _0x19c41e,IPermissionService as _0x2f69f2,IUndoRedoService as _0x47fb5c,sequenceExecute as _0x240915,debounce as _0x3e7548,COLORS as _0x520aaf,ColorKit as _0x3afec0,ThemeService as _0x18d2f9,fromEventSubject as _0x51fef5,useDependency as _0x3333be,connectInjector as _0x52ea46,Workbook as _0x4e5c0a,isInternalEditorID as _0x39c20e,LocalUndoRedoService as _0x1ffda6,IContextService as _0x30c0a7,DependentOn as _0x2db17c,Plugin as _0x3e59a1,touchDependencies as _0x1509be,IAuthzIoService as _0x1ed2ef,mergeOverrideWithDependencies as _0x361c7d}from'@univerjs/core';import{Subject as _0x26d305,merge as _0x20e120,takeUntil as _0x14bd7d,BehaviorSubject as _0x52cf76,distinctUntilChanged as _0x30a823,fromEvent as _0x40fa2a,map as _0x40b982,shareReplay as _0x5da9ca,take as _0x1978dc,of as _0xfb2e43,debounceTime as _0x431a9a,filter as _0x5d44ea,switchMap as _0x4e5135,combineLatest as _0x382452,concatMap as _0x56297b,mapTo as _0x37c9c6}from'rxjs';import{map as _0x524dbf,take as _0x46d55b,filter as _0x152a98,delay as _0x48f138,throttleTime as _0x207ccd,takeUntil as _0x1c351c,switchMap as _0x570e86}from'rxjs/operators';import{MessageType as _0x424985,Tooltip as _0x27c9f9}from'@univerjs/design';import{IBeforeCloseService as _0x4cf196,IMessageService as _0x3aa03b,INotificationService as _0x7bfd4b,useObservable as _0xa83107,BuiltInUIPart as _0x1527eb,IUIPartsService as _0x53177d}from'@univerjs/ui';import{HTTPService as _0x172026,WebSocketService as _0x109644,MergeInterceptorFactory as _0x420762,HTTPRequest as _0x3fb75d,IHTTPImplementation as _0x3320f6,XHRHTTPImplementation as _0x41bcb6,ThresholdInterceptorFactory as _0x5a0116}from'@univerjs/network';import{CollaborationEvent as _0x455562,parseChangesetToProtocol as _0x6e367b,ISnapshotServerService as _0x39263e,isTransformMutationFailure as _0x3e8650,isTransformMutationsWithChangesetSuccess as _0x1a8f7d,ITransformService as _0x285caf,RevisionService as _0x4a413b,mapDocumentTypeToUniverType as _0xe9c082,isTransformChangesetsSuccess as _0x23b874,CompressMutationService as _0x4517e4,parseProtocolChangeset as _0x5d6100,SnapshotService as _0xbe9482,textEncoder as _0x30b993,b64DecodeUnicode as _0x5b5300,isTransformMutationsWithChangesetFailure as _0x2294b0,UniverCollaborationPlugin as _0x5d47ea}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x382310}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x192645,DocStateChangeManagerService as _0x4b5fef,NodePositionConvertToCursor as _0x3dcd36,isValidRectRange as _0x4fc5a4,NodePositionConvertToRectRange as _0x241d4c,TEXT_RANGE_LAYER_INDEX as _0x3650e3,SetDocZoomRatioOperation as _0xbd22e5}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x48f502,SetSelectionsOperation as _0x2113e6,InsertSheetMutation as _0x3bebbc,EmptyMutation as _0xbc7763,WorkbookEditablePermission as _0x365664,RefRangeService as _0x3cfe14,EffectRefRangId as _0x55e87d,handleIRemoveRow as _0x27df45,handleIRemoveCol as _0x4a0d66,handleMoveRange as _0x235916,handleInsertRow as _0x50739d,handleInsertRangeMoveRight as _0x387247,handleInsertRangeMoveDown as _0x5f07f7,handleInsertCol as _0x495110,handleDeleteRangeMoveUp as _0x4abff6,handleDeleteRangeMoveLeft as _0x59ccd8,runRefRangeMutations as _0x3a1e73,SetWorksheetActivateCommand as _0x558010}from'@univerjs/sheets';import{IRenderManagerService as _0x366dfc,Shape as _0x167643,Rect as _0x3fc8ee,getColor as _0x5856f4,RegularPolygon as _0x5f2724,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x233e1a,Vector2 as _0x5207df}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x4562e0,RichTextEditingMutation as _0x21b448,SetTextSelectionsOperation as _0x17ed1c,DocSkeletonManagerService as _0x3d6839}from'@univerjs/docs';import{ImageSourceType as _0x207292,ImageUploadStatusType as _0x4ab8b4,IImageIoService as _0x1886e9}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x131128,serializeRangeWithSheet as _0x57d531}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x40b0bd,VIEWPORT_KEY as _0x3de08b,getCoordByCell as _0x4bd0fa,getSheetObject as _0x4b698d,SheetPermissionInitController as _0x1b9bdb}from'@univerjs/sheets-ui';import _0x52a9d6,{forwardRef as _0x31fd8f,useRef as _0x782f32,createElement as _0x5d9ae6,useCallback as _0x4bc1b9}from'react';import{IRemoteInstanceService as _0x5e0f61}from'@univerjs/rpc';import{getAttachHeader as _0x5a86a8}from'@univerjs-pro/license';const Sn=_0xf86c5a(0x2ad),pn=_0xf86c5a(0x1aa),vn='SNAPSHOT_URL_KEY',La=_0xf86c5a(0x419),In=0x7d0,En=_0xf86c5a(0x1e1),Cn='ws://127.0.0.1:8000/universer-api/comb/connect',bn=_0xf86c5a(0x207),Tn=0x7530,$s=_0xf86c5a(0x458),js=0x4e20,Rn=0x4e20,On='RETRY_CONNECTING_MAX_COUNT',Dn=0x3,wn='LOCAL_CACHE_INTERVAL',Pn=0x3e8,yn=_0xf86c5a(0x180),Un=_0xf86c5a(0x423),Nn='LOGIN_URL_KEY',Mn='/universer-api/oidc/authpage';var xs=(_0x1b17fc=>(_0x1b17fc[_0x1b17fc['UNDEFINED']=0x0]=_0xf86c5a(0xff),_0x1b17fc[_0x1b17fc['OK']=0x1]='OK',_0x1b17fc[_0x1b17fc[_0xf86c5a(0x332)]=0x2]=_0xf86c5a(0x332),_0x1b17fc[_0x1b17fc['PERMISSION_DENIED']=0x3]=_0xf86c5a(0x3d8),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x149)]=0x4]=_0xf86c5a(0x149),_0x1b17fc[_0x1b17fc['UNAUTHENTICATED']=0x5]=_0xf86c5a(0x321),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x103)]=0x6]=_0xf86c5a(0x103),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x1b1)]=0x7]=_0xf86c5a(0x1b1),_0x1b17fc[_0x1b17fc['TOO_MANY_REQUESTS']=0x8]=_0xf86c5a(0x38c),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x24d)]=0x9]=_0xf86c5a(0x24d),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x298)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1b17fc[_0x1b17fc[_0xf86c5a(0x12b)]=0x1771]=_0xf86c5a(0x12b),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x35d)]=0x1772]=_0xf86c5a(0x35d),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x3ac)]=0x1773]=_0xf86c5a(0x3ac),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x30c)]=0x1b59]='APPLY_REJECT',_0x1b17fc[_0x1b17fc[_0xf86c5a(0x323)]=0x1b5a]=_0xf86c5a(0x323),_0x1b17fc[_0x1b17fc['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xf86c5a(0x27f),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x18e)]=0x1b5c]=_0xf86c5a(0x18e),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x275)]=0x1b5d]=_0xf86c5a(0x275),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x262)]=0x1f41]=_0xf86c5a(0x262),_0x1b17fc[_0x1b17fc['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xf86c5a(0x407),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x278)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1b17fc[_0x1b17fc['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xf86c5a(0x3a4),_0x1b17fc[_0x1b17fc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xf86c5a(0x2e8),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x21c)]=0x232d]=_0xf86c5a(0x21c),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x414)]=0x2711]=_0xf86c5a(0x414),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x368)]=0x2712]=_0xf86c5a(0x368),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x20a)]=0x2713]=_0xf86c5a(0x20a),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x2c8)]=0x2714]=_0xf86c5a(0x2c8),_0x1b17fc[_0x1b17fc[_0xf86c5a(0x17d)]=-0x1]='UNRECOGNIZED',_0x1b17fc))(xs||{}),k=(_0xb2e5b1=>(_0xb2e5b1[_0xb2e5b1[_0xf86c5a(0x2ef)]=0x0]=_0xf86c5a(0x2ef),_0xb2e5b1[_0xb2e5b1['UNIVER_DOC']=0x1]='UNIVER_DOC',_0xb2e5b1[_0xb2e5b1[_0xf86c5a(0x1af)]=0x2]=_0xf86c5a(0x1af),_0xb2e5b1[_0xb2e5b1[_0xf86c5a(0x21f)]=0x3]=_0xf86c5a(0x21f),_0xb2e5b1[_0xb2e5b1[_0xf86c5a(0x36a)]=0x4]=_0xf86c5a(0x36a),_0xb2e5b1[_0xb2e5b1[_0xf86c5a(0x17d)]=-0x1]=_0xf86c5a(0x17d),_0xb2e5b1))(k||{}),I=(_0x2a6976=>(_0x2a6976[_0x2a6976[_0xf86c5a(0x294)]=0x0]=_0xf86c5a(0x294),_0x2a6976[_0x2a6976[_0xf86c5a(0x378)]=0x1]=_0xf86c5a(0x378),_0x2a6976[_0x2a6976[_0xf86c5a(0x1c5)]=0x2]=_0xf86c5a(0x1c5),_0x2a6976[_0x2a6976[_0xf86c5a(0x1a6)]=0x3]=_0xf86c5a(0x1a6),_0x2a6976[_0x2a6976[_0xf86c5a(0x3ad)]=0x4]='INGEST',_0x2a6976[_0x2a6976[_0xf86c5a(0x3cd)]=0x5]='HEARTBEAT',_0x2a6976[_0x2a6976[_0xf86c5a(0x362)]=0x6]=_0xf86c5a(0x362),_0x2a6976[_0x2a6976['UNRECOGNIZED']=-0x1]=_0xf86c5a(0x17d),_0x2a6976))(I||{}),Vt=(_0x18dc00=>(_0x18dc00[_0x18dc00[_0xf86c5a(0x19a)]=0x0]=_0xf86c5a(0x19a),_0x18dc00[_0x18dc00['OK']=0x1]='OK',_0x18dc00[_0x18dc00[_0xf86c5a(0x3d4)]=0x2]=_0xf86c5a(0x3d4),_0x18dc00[_0x18dc00['UNRECOGNIZED']=-0x1]=_0xf86c5a(0x17d),_0x18dc00))(Vt||{}),Hs=(_0x4263db=>(_0x4263db[_0x4263db['Undefined']=0x0]=_0xf86c5a(0x1dc),_0x4263db[_0x4263db['HttpImport']=0x1]=_0xf86c5a(0x39a),_0x4263db[_0x4263db[_0xf86c5a(0x1c4)]=0x2]=_0xf86c5a(0x1c4),_0x4263db[_0x4263db['UnitEmbedded']=0x3]=_0xf86c5a(0x267),_0x4263db[_0x4263db['UnitSnapshot']=0x4]=_0xf86c5a(0x416),_0x4263db[_0x4263db[_0xf86c5a(0x17d)]=-0x1]=_0xf86c5a(0x17d),_0x4263db))(Hs||{});const $=_0xf86c5a(0x147),An={};function Ln(_0x691c91){const _0x3c7378=_0xf86c5a;var _0x220c34,_0x5e0eb9,_0x4e5cac,_0xc8d981;const _0x23da9a=_0x691c91[_0x3c7378(0x129)],_0x546fd8=JSON[_0x3c7378(0x3c7)](_0x23da9a);switch(_0x546fd8[_0x3c7378(0x46b)]){case I[_0x3c7378(0x3cd)]:case I['HELLO']:{const _0x126c99=_0x546fd8[_0x3c7378(0x186)];return{..._0x546fd8,'data':_0x126c99,'cmd':_0x546fd8[_0x3c7378(0x46b)]};}case I[_0x3c7378(0x1c5)]:{const _0x499890=_0x546fd8[_0x3c7378(0x285)];return{..._0x546fd8,'data':_0x499890,'cmd':_0x546fd8[_0x3c7378(0x46b)]};}case I['RECV']:{const _0x595285=_0x546fd8[_0x3c7378(0x17c)];switch(_0x595285[_0x3c7378(0x26e)]){case _0x455562[_0x3c7378(0x3f1)]:return{..._0x546fd8,'data':{..._0x595285,'data':(_0x220c34=_0x595285['permissionRejEvent'])==null?void 0x0:_0x220c34['cs']},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562['CHANGESET_ACK']:return{..._0x546fd8,'data':{..._0x595285,'data':(_0x5e0eb9=_0x595285[_0x3c7378(0x426)])==null?void 0x0:_0x5e0eb9['cs']},'cmd':_0x546fd8['cmd']};case _0x455562[_0x3c7378(0x305)]:return{..._0x546fd8,'data':{..._0x595285,'data':(_0x4e5cac=_0x595285[_0x3c7378(0x452)])==null?void 0x0:_0x4e5cac['cs']},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562[_0x3c7378(0x339)]:return{..._0x546fd8,'data':{..._0x595285,'data':(_0xc8d981=_0x595285[_0x3c7378(0x2e2)])==null?void 0x0:_0xc8d981['cs']},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562['UPDATE_CURSOR']:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0x429)]},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562['USERS_ENTER']:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0x413)]},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562[_0x3c7378(0x1f4)]:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0xe3)]},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562[_0x3c7378(0x1b6)]:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0x233)]},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562[_0x3c7378(0x357)]:case _0x455562[_0x3c7378(0x2a2)]:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0x35f)]},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562[_0x3c7378(0x469)]:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0x233)]},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562[_0x3c7378(0x350)]:return{..._0x546fd8,'data':_0x595285,'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562['COMMENT_UPDATE']:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0x44e)]},'cmd':_0x546fd8['cmd']};case _0x455562[_0x3c7378(0x33b)]:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0x1ea)]},'cmd':_0x546fd8[_0x3c7378(0x46b)]};case _0x455562[_0x3c7378(0x12d)]:return{..._0x546fd8,'data':{..._0x595285,'data':_0x595285[_0x3c7378(0x21d)]},'cmd':_0x546fd8[_0x3c7378(0x46b)]};default:return _0x546fd8;}}default:return _0x546fd8;}}function _0x4a74(){const _0x334bb7=['[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_incrementRevisionNumber','391711ITnPHz','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose','ENSURE_SNAPSHOT_EXECUTION','INGEST','Warning','baseRev','551086QQVxvf','event$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','toggleOnline','\x20in\x20_schedule.','localeService','_onMessage','loadDoc','_members','_clearOtherTimers','src','m2Prime','collab-text-range-','getCurrentRevOfUnit','\x20-\x20','collabStatus.offline','_selfUnitIDs','mutations','_userManagerService','state','_config','_initCommandExecutedListener','routeKey','parse','_onUserLeave','list','_saveCache','_onRemoteChangeset','_getSaveTimeout','HEARTBEAT','getDeserializedSheetBlock','_initRequestHeader','saveSheetBlock','update','UPDATE_CURSOR','createSocket','FAIL','_waitForHeartbeatResponse','session.collaboration-timeout','_hovered','PERMISSION_DENIED','_removeCollabCursors','clearTimeout','fetchMiss','_colorAssignService','_timeoutTimer','getRangePointData','responseType','onPointerMove$','actions','transformIMECache','/universer-api/file/{fileID}/sign-url','[PendingState]:\x20received\x20acknowledgement.','_clearScheduledTask','clear','hidden','key','collabSubmitChangesetUrl','_changesetReqId','storage','loadOfflineData','addEventListener','_sheetSkeletonManagerService','catch','_retryConnectingTimer','PERMISSION_REJ','_transformUndoRedoStack','sessionStatus','socket\x20open.','originalMeta','_httpService','_initResize','none','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','encode','_collaborationSessionService','connection\x20error','_initStatusComponent','PENDING','bind','subscribeEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','roles','_clearTimeoutTimer','_startCollaboration','_onCombEvent','selection','LICENSE_MAX_UNITS_EXCEEDED','/-/object/-/batch_allowed','_startTelemetryCollaborationNewChangeset','requestParams','use','transformUndoRedo','reqId','collabStatus.notCollab','getValue','_renderManagerService','syncEditingCollabCursor','currentTheme$','joinEvent','YUUMI_UNABLE_LOAD_URL','_snapshotService','UnitSnapshot','_docStateChangeManagerService','collaboratorID','SEND_CHANGESET_TIMEOUT','_onRefRangeChange','href','[SyncedState]:\x20received\x20rejection.','_handleLeaveEvent','_startSheetCollabCursor','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','range','randomUUID','MoveRangeCommandId','/universer-api/comb','LIVESHARE_REQUEST_HOST','_cursor','csAckEvent','unitID','setConfig','updateCursorEvent','_socketMessageSubscription','code','slice','_listenToOnlineEvent','_cachedData','objectID','_getSendChangesetTimeout','_textBubble','image/gif','unknown','resend','_logService','beginPath','column','_scheduleCollaborationTimeoutTimer','loadSheet','_handler','onSendChangeset','drawWith','equals','onTransformIME','JOINING','854612aHvZcR','_labelPosition','purple300','#fff','encodeURIComponent','/object','labelPosition','_onConflict','concat','contains','_onUserJoin','Error','_change$','getCollabCursors$','commentUpdateEvent','_createHandler','patch','#FFF','newCsEvent','isArray','onMissingChangesets','_scheduleSaving','_commandService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','HEARTBEAT_TIMEOUT','target','collaboration.single-unit.warning','onReady','_socket','_socketService','createInstance','evenodd','_stopTelemetryCollaborationNewChangeset','_collaborationPaused','auth.needGotoLoginAlert','_saveTaskMap','[OfflineState]:\x20received\x20acknowledgement.','_getUploadFileURL','onlineStatus','result','entries','LIVESHARE_TERMINATE','size','cmd','leaveEvent','children','createElement','listCollaborators','_render','_tryEnsureSocket','fetchThroughInterceptors','onRemoteAck','_getAnchorBounding','_draw','enableOfflineEditing','_updateSubUnitFromURLParams','_ws','ERROR_IMAGE_TYPE','prototype','resourceIDs','_substituteRedoStack','_getCurrentRevision','rgba(255,\x20255,\x20255,\x200.01)','sessionStatus$','currentColor','getUnitStatus$','visibilityState','defineProperty','transformSelections','_localStorageService','_loadDoc','confirm','UNDEFINED','send','onStateChange','_handleHover','ALREADY_EXISTS','propertyIsEnumerable','_urlService','push','delete','MUTATION','history','onlyLocal','makeDirty','text','RemoveRowCommandId','_sendHeartbeatTimer','_shapes','\x0aCurrent:\x20','_transformStack','_getAPIPrefix','/collaborator','getSheetBlock','SYNCED','roomMembers','_setupBeforeClosingHandler','_clearRedo','values','/object/','url','close','addObjects','transformMutation','name','AWAITING','_uiPartsService','_messageService','offline','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','displayName','saveSnapshot','_socketReady','getVpScrollXYInfoByPosToVp','data','setWaitCount','SNAPSHOT_INVALID_SNAPSHOT','_createSocket','SHOULD_CLOSE_CONN','_lockTransition','_submitChangeset','/allowed','_disabled','clipPath','current','resize','withCredentials','message$','image/bmp','_createInitialState','symbol','isPermissionRej','icon','fillRule','requireSession','_updateStatus','_permissionService','defs','[CollaborationState]:\x20apply\x20error!','[OfflineState]:\x20received\x20rejection.','removeParam','_send','getSheetBySheetId','on-line-single_clip0_910_349','collaboration-client.config','_shouldReportTelemetry','NOT_FOUND','object','create','AWAITING_WITH_PENDING','_hideTimer','_roomMembers$','enableSingleActiveInstanceLock','_replayCachedMutations','_listenToOfflineEvent','onStarting','_getUndoStack','compose','colorChannel1','ERROR_EXCEED_SIZE','getSkeleton','BASE64','getUnitType','_onRemoteRejected','_transitionLocked','measureText','_status$','closeSession','then','0\x200\x2016\x2016','moveTo','onCommentUpdate','COMPRESS_MUTATION_APPLY','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','popstate','collaboration.closeRoom','_joinRoom','cursorInfo','_unitStatus','_sheetTransformSelectionsService','fill','...','stopTime','/block/','translate(.97)','[FetchMissState]','_notificationService','_singleActiveUnitService','_lastPointer','replace','get','_registerRenderDependencies','disposeWithMe','_tryReconnect','find','font','_undoRedoService','collaMsg','UNRECOGNIZED','snapshot','deepClone','COLLAB_SUBMIT_CHANGESET_URL','activeSheet$','/resources','url(#$1','_refreshCollabCursors','updateMember','infoRsp','image/jpg','docStateChange$','_syncEditingCollabCursorService','downloadEndpointUrl','/rev/','pushState','_state$','APPLY_PERMISSION_DENIED','init','path','getMember','memberID','triggerDblclick','_transformUndoredo','session','NO_OTHER_CLIENTS_EDITING','signUrlServerUrl','_online','COMMENT_UPDATE','UNKNOWN_CODE','_telemetryInfo','_scheduleHeartbeat','onRemoteChangeset','?url=','searchParams','getUndoRedoMutationParamsCache','_toggleOffline','_getLoginPath','_updateURLWithCurrentState','enableLocalCache','Error\x20on\x20receiving\x20event','LEAVE','getCurrentUser','_collabCursorController','_decreaseWaiting','/universer-api/snapshot','string','saveOfflineData','function','_getAPIPrefixPath','UNIVER_SHEET','OTHER_CLIENTS_EDITING','INVALID_ARGUMENT','[UniverCollaborationClientPlugin]','verdancy600','_docTransformSelectionsService','executeCommand','LIVESHARE_NEW_HOST','[DataLoaderController]','failed\x20to\x20apply\x20missed\x20changesets!','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COMPRESS_MUTATION_SEND','OnLineSingle','getOwnPropertySymbols','collabCursorState$','roomInfos','getConfig','_cursorShapes','setParam','_transformRemoteChangesetByIMECache','subscribe','HttpExport','JOIN','_getSheetObject','_http','_applyRemoteChangeset','_showConflictNotification','univer-pro.collaboration-client-socket-service','_acknowledgedAwaitingChangeset','row','_sessions','call','univer-online-status','SUBMIT_CHANGESET','/universer-api/snapshot/','_disableEditing','[OfflineState]:\x20received\x20changeset.','CONFLICT','_cursors','startColumn','post','_throwTelemetryCollaborationNewChangeset','changesets','_removeClearOtherTimer','_registerDependencies','Undefined','c2Prime','height','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','allowed','COLLAB_WEB_SOCKET_URL','saveImage','_drawAnchor','members','off-line-single_clip0_910_343','_instanceService','transformMutationsWithChangeset','_range','add','updatePermissionObjEvent','isEditing','whenReady','onTransformSelections','exhaustSavingTask','reverse','conflict.content','/universer-api/authz','_getSignURL','save','USERS_LEAVE','has','getTypeOfUnitDisposed$','_clearCollaborationTimeoutTimer','_localeService','_sendingTimer','InsertRangeMoveRightCommandId','copyFileMeta','sheets','objects','submit\x20changeset\x20error!','_docSyncEditingCollabCursorService','_collabCursorState$','selections','toString','getWorkbookSelections','getActiveSheet','_scheduleTimestamp','with','HEARTBEAT_INTERVAL','OffLineSingle','top','YUUMI_RATE_OVER_LIMIT','[CollaborationSession]','_state','collabStatus.synced','body','_updateState','[CollaborationSessionService]','_event$','location','_getMergeRange','FileId','ACTIVE_UNIT_EVENT_CHANNEL','_changesetSessionId','status$','getCurrent','2987424GgZtis','startsWith','_telemetryService','LICENSE_DISTRO_REJECTED','shouldCloseConn','setTimeout','UNIVER_SLIDE','capture','_getScale','getTime','registerComponent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','blue400','conflict.title','_context','roomMembers$','_transformIMECache','_onFetchMissResult','_injector','toggleOffline','transformRemoteChangeset','collabStatus.syncing','fillText','_candidateSocket','_imageSourceCache','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','liveShareNewHost','permission.title','_transformService','gold400','disableLocalCache','setInterval','NOT_COLLAB','enableAuthServer','getUnhiddenWorksheets','socket$','className','getUnitId','next','_anchor','apply','_scene','_beforeCloseService','c1Prime','_compressMutationService','type','_commentService','div','getImage','unit','_syncEditingCollabCursor','USERS_ENTER','COMPLETION_FINISHED','replaceState','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_initEventListeners','_initMergeInterceptor','hasOwnProperty','_type','black','UUID','_onCursorUpdate','collaborators','extend','setCurrentUser','_assignedColors','_awaitingChangeset','findNodePositionByCharIndex','unitId','listRoles','registerHTTPInterceptor','_refRangeService','onTransformChange$','CONNECTOR_DATA_TOO_LARGE','getFocusedUnit','_colorIndex','show','_heartbeatTimer','UnitEmbedded','pipe','_handleJoinEvent','_pendingMutations','headers','forEach','unsubscribe','eventID','_unlockTransition','10gRSGLX','_sendHeartbeat','_schedule','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','jiqing500','APPLY_DUPLICATED','_updateCollabCursors','getCollabEntity$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','addObject','file','rev','_fetchMissChangesets','doc.mutation.rich-text-editing','DeleteRangeMoveUpCommandId','APPLY_REVISION_CONFILICT','json','_initModules','xlink:href','_backgroundColor','_HTTPService','joinRsp','_handleHeartbeatEvent','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByIMECache','_collaborationController','_initStatusListener','stringify','length','title','error$','IDLE','visibilitychange','endRow','_session','univer-online-status-icon','UNKNOWN_CMD','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_exhaustRemoteChangesetQueue','getRenderById','CHANGESET_REVISION_CONFILICT','getCollabEntity','status','transformStack\x20failed!','rng','_initUnitPermissionChange','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','registerOnClose','OFFLINE','LIVESHARE_OPERATION','some','snapshotServerUrl','unit-cache-','objectType','random','onCommandExecuted','FromArray','synced','_onLocalMutation','getCurrentSelections','SNAPSHOT_SERVER_URL_KEY','_configService','_waitCount','now','getItem','userID','_clearLocalCache','ONLINE','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','&assign=','closePath','/unit/','_onCursorDelete','POST','getActiveRange','fillStyle','interceptor','set','attrs','svg','map','_onConnectionFailed','_anchorDot','DeleteRangeMoveLeftCommandId','_document','ranges','Unknown\x20user','YUUMI_SUBSCRIPTION_NOT_FOUND','getDocRanges','PSEUDO_FETCH_MISSING_RESULT','registerBeforeClose','socketService','transformChangesets','uploadFileServerUrl','_hover','onPointerEnter$','editingUnit','_color','appendMutation','focused$','off-line-single','_name','every','_entityInit$','univer-online-status-title','arc','registerRefRange','_snapshotServerService','collaboration_new_changeset','pending','toRgbString','_retryCount','params','csRejEvent','_docTransformIMECacheService','CHANGESET_ACK','_themeService','change$','_socket$','LICENSE_EXPORT_SIZE_EXCEEDED','_unitOnClients','_checkMissing','_drawTextRange','univerjs-icon\x20univerjs-icon-','indexOf','max','UNIVER_UNKNOWN','awaitingChangeset','_collabSessionService','collabStatus.fetchMiss','getOffsetConfig','textRanges','univer-online','_toggleOnline','addImageSourceCache','univer-pro.collaboration-client.single-active-unit-service','_id','onPointerLeave$','getViewport','[CollaborationEntity]','save\x20fail\x20reason\x20is\x20','hide','onMissedChangesetFetched','getSheetId','getUnit','463995JZOVGL','flatMap','_getRedoStack','NEW_CHANGESETS','_clearHeartbeatTimer','complete','split','2813475pjxrjN','startTime','setItem','APPLY_REJECT','_init','width','_onRecvEvent','close$','_updateLocalCache','trim','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','m1Prime','refreshPermission','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_rescheduleHeartbeat','cursorInfo$','/-/object/list','_commentUpdate$','revision','_updateLocalCursor','[SyncedState]:\x20received\x20acknowledgement.','assignAColorForMemberID','_substituteUndoStack','UNIVER_DOC','UNAUTHENTICATED','fetch_missing','APPLY_NON_SEQUENTIAL_REVISION','InsertColCommandId','engine','reduce','includes','isActive','_eventUnsubscribe','_redoStacks','not_collab','_revisionService','_removeRoom','on-line-single','_clearUndo','_entities','_cursorInfo$','INTERNAL_ERROR','collaboration-session-retry','sid','getParam','6FOjTUH','getRoom','UniverIcon','CHANGESET_REJ','awaiting_with_pending','UPDATE_PERMISSION_OBJ','restore','newValue','unshift','color','_sessionStatus$','clearInterval','_getSnapshotAPIPrefix','updateCollaborator','_replaceFileID','onload','_onOffline','_isPermissionRej','transformByState','setShapeProps','retryConnectingInterval','all','tag','updateOfflineData','awaiting','_memberService','MSG_FOR_ERROR','_queuedRemoteChangesets','socket\x20close','onlineStatusIcon','round','_unitID','_roomMembers','LIVESHARE_FETCH_OPERATIONS','_univerInstanceService','3NbOEOV','createCollaborator','open$','setActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','putCollaborators','liveShareOperation','getInterceptPoints','registerRenderModule','RECV','state$','subunit','\x20to\x20','hovered','_collaborationTimeoutTimer','YUUMI_URL_COL_OUT_OF_RANGE','getMemberID','UNIVER_PROJECT','sheetId','lineTo','reconnect','_scheduleClearOtherTimer','_ensureSubject','univer-offline','collabWebSocketUrl','getCurrentUnitForType','_localCacheService','online','removeMember','_remoteChangesetQueue','asObservable','HELLO','debug','_setupSubUnitSync','onRemoteRej','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','from','FETCH_MISSING','0\x200\x2017\x2016','red300','onSyncEditingCollabCursor','updatePermissionPoint','getRandomValues','fetchMissingChangesets','25108uVynet','pluginName','idSuffix','_getDownloadEndpointURL','ERROR_IMAGE','M0\x200H16V16H0z','FETCH_MISS','TOO_MANY_REQUESTS','_executeRemoteChangeset','_onJoinRoomEvent','40bwSEOG','permission.content','url(#off-line-single_clip0_910_343)','setAlpha','_handleEvent','min','_drawRectRange','1em','getOwnPropertyDescriptor','collaboration-client.offline-data-not-saved','_startDocCollabCursor','HttpImport','DEFAULT_FILE_NAME','telemetry\x20info\x20is\x20not\x20initialized','dispose$','_transformSelections','reject','onMouseMove','pauseCollaboration','_docSkeletonManagerService','generateRandomId','LICENSE_IMPORT_SIZE_EXCEEDED','error','getTypeOfUnitAdded$'];_0x4a74=function(){return _0x334bb7;};return _0x4a74();}function $n(_0x249f9b){const _0x59cb51=_0xf86c5a;switch(_0x249f9b[_0x59cb51(0x46b)]){case I[_0x59cb51(0x3cd)]:case I[_0x59cb51(0x378)]:return JSON[_0x59cb51(0x28b)]({'cmd':_0x249f9b['cmd'],'routeKey':_0x249f9b[_0x59cb51(0x3c6)]});case I['INGEST']:{let _0xf65c2a;switch(_0x249f9b[_0x59cb51(0x129)][_0x59cb51(0x26e)]){case _0x455562[_0x59cb51(0x3d2)]:{_0xf65c2a={'eventID':_0x455562[_0x59cb51(0x3d2)],'updateCursorEvent':_0x249f9b[_0x59cb51(0x129)][_0x59cb51(0x129)]};break;}case _0x455562[_0x59cb51(0x1f4)]:{_0xf65c2a={'eventID':_0x455562[_0x59cb51(0x1f4)],'leaveEvent':_0x249f9b[_0x59cb51(0x129)][_0x59cb51(0x129)]};break;}case _0x455562[_0x59cb51(0x24c)]:{_0xf65c2a={'eventID':_0x455562['USERS_ENTER'],'joinEvent':_0x249f9b[_0x59cb51(0x129)][_0x59cb51(0x129)]};break;}case _0x455562[_0x59cb51(0x1b6)]:{_0xf65c2a={'eventID':_0x455562[_0x59cb51(0x1b6)],'liveShareNewHost':_0x249f9b[_0x59cb51(0x129)][_0x59cb51(0x129)]};break;}case _0x455562['LIVESHARE_OPERATION']:{_0xf65c2a={'eventID':_0x455562[_0x59cb51(0x2a2)],'liveShareOperation':_0x249f9b[_0x59cb51(0x129)][_0x59cb51(0x129)]};break;}case _0x455562['LIVESHARE_TERMINATE']:{_0xf65c2a={'eventID':_0x455562[_0x59cb51(0x469)],'liveShareTerminate':_0x249f9b[_0x59cb51(0x129)][_0x59cb51(0x129)]};break;}case _0x455562[_0x59cb51(0x424)]:{_0xf65c2a={'eventID':_0x455562['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x249f9b[_0x59cb51(0x129)][_0x59cb51(0x129)]};break;}case _0x455562[_0x59cb51(0x357)]:{_0xf65c2a={'eventID':_0x455562[_0x59cb51(0x357)]};break;}default:_0xf65c2a={'eventID':_0x249f9b['data']['eventID']};}return JSON[_0x59cb51(0x28b)]({'cmd':_0x249f9b[_0x59cb51(0x46b)],'routeKey':_0x249f9b[_0x59cb51(0x3c6)],'collaMsg':_0xf65c2a});}case I[_0x59cb51(0x1c5)]:return JSON[_0x59cb51(0x28b)]({'cmd':_0x249f9b[_0x59cb51(0x46b)],'routeKey':_0x249f9b[_0x59cb51(0x3c6)],'joinReq':_0x249f9b[_0x59cb51(0x129)]});case I['LEAVE']:return JSON[_0x59cb51(0x28b)]({'cmd':_0x249f9b['cmd'],'routeKey':_0x249f9b['routeKey'],'leaveReq':_0x249f9b['data']});default:throw new Error(_0x59cb51(0x1df));}}var jn=Object['defineProperty'],xn=Object[_0xf86c5a(0x397)],Hn=(_0xd10ba3,_0x313cf9,_0x4b30ce,_0x4207c5)=>{const _0xc9c581=_0xf86c5a;for(var _0x24be45=_0x4207c5>0x1?void 0x0:_0x4207c5?xn(_0x313cf9,_0x4b30ce):_0x313cf9,_0x2e5fc9=_0xd10ba3[_0xc9c581(0x28c)]-0x1,_0x279845;_0x2e5fc9>=0x0;_0x2e5fc9--)(_0x279845=_0xd10ba3[_0x2e5fc9])&&(_0x24be45=(_0x4207c5?_0x279845(_0x313cf9,_0x4b30ce,_0x24be45):_0x279845(_0x24be45))||_0x24be45);return _0x4207c5&&_0x24be45&&jn(_0x313cf9,_0x4b30ce,_0x24be45),_0x24be45;},Oe=(_0x3ea60d,_0x48edf0)=>(_0x25bac7,_0x1b9f04)=>_0x48edf0(_0x25bac7,_0x1b9f04,_0x3ea60d);const ks=_0x2452f4(_0xf86c5a(0x1ca));function kn(_0xfbeb33,_0x469989,_0x43779c){const _0x38de63=_0xf86c5a;return _0xfbeb33+'/'+_0x469989+_0x38de63(0x2b8)+_0x43779c+'/new_changes';}let Ct=class extends _0x4091c9{constructor(_0x27ab9b,_0xca2e7,_0x440210,_0x38fcd0,_0x58224e){const _0x1aa158=_0xf86c5a;super(),this[_0x1aa158(0x1c7)]=_0x27ab9b,this[_0x1aa158(0xef)]=_0xca2e7,this['_configService']=_0x440210,this['_logService']=_0x38fcd0,this[_0x1aa158(0x2dc)]=_0x58224e;}[_0xf86c5a(0x3d3)](_0x27fdef){const _0x484982=_0xf86c5a,_0xb3e437=this['_ws']['createSocket'](_0x27fdef);if(!_0xb3e437)throw new Error(_0x484982(0x29e));const _0x54d071=new _0x58abb8(),_0x52ecd4=new _0x26d305();_0x54d071[_0x484982(0x1e9)](_0xb3e437[_0x484982(0x310)][_0x484982(0x1c3)](_0x4f19ff=>_0x52ecd4[_0x484982(0x23f)](_0x4f19ff))),_0x54d071[_0x484982(0x1e9)](_0x441a7c(()=>_0x52ecd4[_0x484982(0x307)]()));const _0x3a216b=new _0x26d305();_0x54d071[_0x484982(0x1e9)](_0xb3e437['error$'][_0x484982(0x1c3)](_0x24563f=>_0x3a216b[_0x484982(0x23f)](_0x24563f))),_0x54d071['add'](_0x441a7c(()=>_0x3a216b[_0x484982(0x307)]()));const _0x192716=new _0x26d305();_0x54d071[_0x484982(0x1e9)](_0xb3e437[_0x484982(0x136)][_0x484982(0x1c3)](_0x1ae7a3=>{const _0x12c19b=Ln(_0x1ae7a3);_0x192716['next'](_0x12c19b);})),_0x54d071['add'](_0x441a7c(()=>_0x192716[_0x484982(0x307)]()));let _0x2f2318;const _0x1d0b05=()=>{const _0x17f812=_0x484982;_0x3a216b['next'](new Event(_0x17f812(0x3fc))),_0x52ecd4[_0x17f812(0x23f)](new CloseEvent(_0x17f812(0x3fc))),_0x2f2318[_0x17f812(0x11c)]();};return _0x2f2318={'memberID':'','close$':_0x52ecd4[_0x484982(0x377)](),'error$':_0x3a216b['asObservable'](),'open$':_0xb3e437[_0x484982(0x35b)],'message$':_0x192716[_0x484982(0x377)](),'send':_0x4e8984=>{const _0x4f8a8c=_0x484982;if(_0x4e8984['cmd']===I[_0x4f8a8c(0x3ad)]){if(_0x4e8984[_0x4f8a8c(0x129)]['eventID']===_0x455562[_0x4f8a8c(0x1d0)]){this[_0x4f8a8c(0x12f)](_0x2f2318,_0x4e8984[_0x4f8a8c(0x129)])[_0x4f8a8c(0x3ef)](_0x17b211=>{const _0x51af39=_0x4f8a8c;this[_0x51af39(0x435)]['error'](_0x17b211),_0x1d0b05();});return;}if(_0x4e8984[_0x4f8a8c(0x129)][_0x4f8a8c(0x26e)]===_0x455562[_0x4f8a8c(0x37e)]){const _0x16472a=_0x4e8984[_0x4f8a8c(0x129)];this[_0x4f8a8c(0x27c)](_0x16472a)[_0x4f8a8c(0x15f)](_0xeb7536=>{const _0xcefdd=_0x4f8a8c;_0x192716[_0xcefdd(0x23f)]({'cmd':I[_0xcefdd(0x362)],'code':Vt['OK'],'routeKey':_0x16472a['data'][_0xcefdd(0x427)],'routeType':'','data':{'eventID':_0x455562[_0xcefdd(0x2ca)],'data':{'changesets':_0xeb7536}}});})[_0x4f8a8c(0x3ef)](_0x3e5d57=>{this['_logService']['error'](_0x3e5d57),_0x1d0b05();});return;}}_0xb3e437[_0x4f8a8c(0x100)]($n(_0x4e8984));},'close':()=>{const _0x34d479=_0x484982;_0xb3e437[_0x34d479(0x11c)](),_0x54d071[_0x34d479(0x3ab)]();}},_0x2f2318;}async['_submitChangeset'](_0x134283,_0x5b4fe5){const _0x485c26=_0xf86c5a;var _0x5e834c,_0xf0fea0;const {unitType:_0x479150,unitID:_0xe37653,changeset:_0x460da4}=_0x5b4fe5[_0x485c26(0x129)],_0x172164={'unitID':_0xe37653,'memberID':_0x134283[_0x485c26(0x192)],'type':_0x479150,'changeset':_0x6e367b(_0x460da4)},_0x40a5e4=this[_0x485c26(0x2ae)][_0x485c26(0x1bf)](yn),_0x1f0eea=this[_0x485c26(0x2ae)][_0x485c26(0x1bf)]($),_0x256801=kn((_0xf0fea0=(_0x5e834c=_0x1f0eea==null?void 0x0:_0x1f0eea[_0x485c26(0x3e9)])!=null?_0x5e834c:_0x40a5e4)!=null?_0xf0fea0:Un,_0x479150,_0xe37653);try{await this[_0x485c26(0x1c7)][_0x485c26(0x1d7)](_0x256801,{'body':_0x172164});}catch(_0x249c05){throw this[_0x485c26(0x435)][_0x485c26(0x3a5)](_0x485c26(0x20b),_0x485c26(0x1fe)),_0x249c05;}}async[_0xf86c5a(0x27c)](_0x205601){const _0x2f9ad0=_0xf86c5a,{unitID:_0x3b3344,from:_0x1a5c40,to:_0x3cdf27,unitType:_0x405cc6}=_0x205601[_0x2f9ad0(0x129)];return(await this[_0x2f9ad0(0x2dc)][_0x2f9ad0(0x384)]({'metadata':void 0x0},{'unitID':_0x3b3344,'type':_0x405cc6,'from':_0x1a5c40,'to':_0x3cdf27}))['changesets'];}};Ct=Hn([Oe(0x0,_0x370f8c(_0x172026)),Oe(0x1,_0x370f8c(_0x109644)),Oe(0x2,_0x5bc7de),Oe(0x3,_0x593f47),Oe(0x4,_0x39263e)],Ct);const Bn=_0xf86c5a(0x2dd);function Vn(_0x3839a3){const _0x22775a=_0xf86c5a;return JSON[_0x22775a(0x28b)](_0x3839a3)[_0x22775a(0x28c)];}class Bs{constructor(){const _0xc240b1=_0xf86c5a;l(this,_0xc240b1(0x31a),new _0x26d305()),l(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0xf86c5a(0x162)](_0xfc59c){const _0x7b0219=_0xf86c5a;this[_0x7b0219(0x31a)][_0x7b0219(0x23f)](_0xfc59c);}}var Fn=Object[_0xf86c5a(0xfa)],Wn=Object['getOwnPropertyDescriptor'],Gn=(_0x5c79f2,_0x6a0888,_0x370375,_0x377ddf)=>{const _0x16a17b=_0xf86c5a;for(var _0x5169c4=_0x377ddf>0x1?void 0x0:_0x377ddf?Wn(_0x6a0888,_0x370375):_0x6a0888,_0x46b35e=_0x5c79f2[_0x16a17b(0x28c)]-0x1,_0x372f7c;_0x46b35e>=0x0;_0x46b35e--)(_0x372f7c=_0x5c79f2[_0x46b35e])&&(_0x5169c4=(_0x377ddf?_0x372f7c(_0x6a0888,_0x370375,_0x5169c4):_0x372f7c(_0x5169c4))||_0x5169c4);return _0x377ddf&&_0x5169c4&&Fn(_0x6a0888,_0x370375,_0x5169c4),_0x5169c4;},as=(_0x104108,_0x557453)=>(_0x249528,_0x20c5fb)=>_0x557453(_0x249528,_0x20c5fb,_0x104108);let ce=class extends _0x4091c9{constructor(_0x218153,_0x5bbf5c){const _0x4dc552=_0xf86c5a;super(),l(this,_0x4dc552(0x356),new Map()),(this[_0x4dc552(0x358)]=_0x218153,this[_0x4dc552(0x3c2)]=_0x5bbf5c,this[_0x4dc552(0x177)](_0x441a7c(_0x20e120(this[_0x4dc552(0x358)]['getTypeOfUnitDisposed$'](_0x751d23[_0x4dc552(0x1af)])[_0x4dc552(0x268)](_0x524dbf(_0x569c64=>_0x569c64[_0x4dc552(0x23e)]())),this[_0x4dc552(0x358)]['getTypeOfUnitDisposed$'](_0x751d23[_0x4dc552(0x320)])['pipe'](_0x524dbf(_0x5cd3ef=>_0x5cd3ef[_0x4dc552(0x23e)]())),this[_0x4dc552(0x358)]['getTypeOfUnitDisposed$'](_0x751d23[_0x4dc552(0x21f)])[_0x4dc552(0x268)](_0x524dbf(_0x472198=>_0x472198[_0x4dc552(0x23e)]())))[_0x4dc552(0x1c3)](_0x4c3694=>this['_removeRoom'](_0x4c3694)))));}[_0xf86c5a(0x259)](_0x4390bc){const _0x2a74fd=_0xf86c5a;this['_userManagerService'][_0x2a74fd(0x259)](_0x4390bc);}[_0xf86c5a(0x1a7)](){const _0x54eff7=_0xf86c5a;return this[_0x54eff7(0x3c2)][_0x54eff7(0x1a7)]();}[_0xf86c5a(0x185)](_0x22d3fc,_0x143214){const _0x1fffd8=_0xf86c5a;let _0x46b745=this[_0x1fffd8(0x356)][_0x1fffd8(0x175)](_0x22d3fc);_0x46b745||(_0x46b745=new Yn(),this[_0x1fffd8(0x356)][_0x1fffd8(0x2be)](_0x22d3fc,_0x46b745)),_0x46b745[_0x1fffd8(0x185)](_0x143214);}[_0xf86c5a(0x375)](_0x5ef6d1,_0x310849){const _0x540283=_0xf86c5a,_0x22835e=this[_0x540283(0x356)][_0x540283(0x175)](_0x5ef6d1);_0x22835e&&_0x22835e['removeMember'](_0x310849);}[_0xf86c5a(0x337)](_0x5b7cde){const _0x3d967e=_0xf86c5a;return this[_0x3d967e(0x356)]['get'](_0x5b7cde);}[_0xf86c5a(0x191)](_0x11844c,_0x2232e3){const _0x597c8d=_0xf86c5a,_0x219154=this[_0x597c8d(0x356)][_0x597c8d(0x175)](_0x11844c);if(_0x219154)return _0x219154['getMember'](_0x2232e3);}[_0xf86c5a(0x32d)](_0x12b6e3){const _0x2ec5aa=_0xf86c5a,_0x48637e=this[_0x2ec5aa(0x356)][_0x2ec5aa(0x175)](_0x12b6e3);_0x48637e&&(_0x48637e[_0x2ec5aa(0x3ab)](),this[_0x2ec5aa(0x356)][_0x2ec5aa(0x107)](_0x12b6e3));}['dispose'](){const _0x358af3=_0xf86c5a;this[_0x358af3(0x356)]['forEach'](_0x47ef2d=>_0x47ef2d[_0x358af3(0x3ab)]()),this[_0x358af3(0x356)]['clear']();}};ce=Gn([as(0x0,_0x5edd3d),as(0x1,_0x370f8c(_0x323804))],ce);class Yn extends _0x4091c9{constructor(){const _0x279b57=_0xf86c5a;super(...arguments),l(this,_0x279b57(0x3b8),new Map());}['dispose'](){const _0x2cce71=_0xf86c5a;this[_0x2cce71(0x3b8)][_0x2cce71(0x3e6)]();}['updateMember'](_0x2cc4b1){const _0x52b96e=_0xf86c5a;this[_0x52b96e(0x3b8)][_0x52b96e(0x2be)](_0x2cc4b1[_0x52b96e(0x192)],_0x2cc4b1);}[_0xf86c5a(0x375)](_0xea1fd){const _0x1c1587=_0xf86c5a;this[_0x1c1587(0x3b8)][_0x1c1587(0x107)](_0xea1fd);}[_0xf86c5a(0x191)](_0x23cfdd){const _0x455615=_0xf86c5a;return this[_0x455615(0x3b8)]['get'](_0x23cfdd);}}var Kn=Object[_0xf86c5a(0xfa)],Xn=Object[_0xf86c5a(0x397)],qn=(_0x15ae2c,_0x15fdf8,_0x40fefc,_0x4e4d90)=>{const _0x19e19e=_0xf86c5a;for(var _0x14dcda=_0x4e4d90>0x1?void 0x0:_0x4e4d90?Xn(_0x15fdf8,_0x40fefc):_0x15fdf8,_0xc7e482=_0x15ae2c[_0x19e19e(0x28c)]-0x1,_0x5c76e1;_0xc7e482>=0x0;_0xc7e482--)(_0x5c76e1=_0x15ae2c[_0xc7e482])&&(_0x14dcda=(_0x4e4d90?_0x5c76e1(_0x15fdf8,_0x40fefc,_0x14dcda):_0x5c76e1(_0x14dcda))||_0x14dcda);return _0x4e4d90&&_0x14dcda&&Kn(_0x15fdf8,_0x40fefc,_0x14dcda),_0x14dcda;},J=(_0x2d7f53,_0x5aeb06)=>(_0x9fc3e4,_0x3151de)=>_0x5aeb06(_0x9fc3e4,_0x3151de,_0x2d7f53),Y=(_0x3446d0=>(_0x3446d0[_0x3446d0[_0xf86c5a(0x28f)]=0x0]='IDLE',_0x3446d0[_0x3446d0[_0xf86c5a(0x43f)]=0x1]=_0xf86c5a(0x43f),_0x3446d0[_0x3446d0[_0xf86c5a(0x2a1)]=0x2]=_0xf86c5a(0x2a1),_0x3446d0[_0x3446d0[_0xf86c5a(0x2b4)]=0x3]=_0xf86c5a(0x2b4),_0x3446d0))(Y||{});let bt=class extends _0x27d368{constructor(_0x44c204,_0x925217,_0x29d355,_0x419cec,_0x3a4958,_0xa6a603,_0x21bdc2,_0x770c6c,_0x231409,_0x2a5a88){const _0x1a8b8d=_0xf86c5a;super(),l(this,_0x1a8b8d(0x340),new _0x52cf76(0x0)),l(this,_0x1a8b8d(0xf6),this[_0x1a8b8d(0x340)]['asObservable']()),l(this,_0x1a8b8d(0x211),new _0x26d305()),l(this,_0x1a8b8d(0x3b1),this[_0x1a8b8d(0x211)]['asObservable']()),l(this,'_socket'),l(this,_0x1a8b8d(0x42a)),l(this,_0x1a8b8d(0x367)),l(this,'_shouldReportTelemetry',!0x1),l(this,_0x1a8b8d(0x19b),null),(this['_unitID']=_0x44c204,this[_0x1a8b8d(0x435)]=_0x29d355,this['_beforeCloseService']=_0x419cec,this[_0x1a8b8d(0x122)]=_0x3a4958,this[_0x1a8b8d(0x2ae)]=_0xa6a603,this['_localeService']=_0x21bdc2,this[_0x1a8b8d(0x34f)]=_0x770c6c,this[_0x1a8b8d(0x247)]=_0x231409,this[_0x1a8b8d(0x21b)]=_0x2a5a88,this[_0x1a8b8d(0x148)]=!!this[_0x1a8b8d(0x21b)],_0x925217[_0x1a8b8d(0x268)](_0x14bd7d(this['dispose$']))[_0x1a8b8d(0x1c3)](_0x2d922c=>{const _0x4d2441=_0x1a8b8d;var _0x7713f5;typeof _0x2d922c>'u'||(this['_socket']=_0x2d922c,_0x2d922c?(this[_0x4d2441(0x167)](_0x2d922c),this[_0x4d2441(0x42a)]=_0x2d922c[_0x4d2441(0x136)]['subscribe'](_0x1ecb06=>{const _0x5af530=_0x4d2441;_0x1ecb06[_0x5af530(0x3c6)]===this['_unitID']&&this['_onCombEvent'](_0x1ecb06);})):(this[_0x4d2441(0x1d8)](),this[_0x4d2441(0x340)][_0x4d2441(0x23f)](0x2),(_0x7713f5=this['_socketMessageSubscription'])==null||_0x7713f5[_0x4d2441(0x26d)](),this[_0x4d2441(0x42a)]=null));}),this[_0x1a8b8d(0x177)](this[_0x1a8b8d(0x243)][_0x1a8b8d(0x2a0)](()=>{const _0x36c701=_0x1a8b8d;var _0x17055d;(_0x17055d=this[_0x36c701(0x45c)])==null||_0x17055d['send']({'cmd':I[_0x36c701(0x1a6)],'data':{'roomID':this[_0x36c701(0x355)]}});})));}get[_0xf86c5a(0x3f3)](){const _0x35225c=_0xf86c5a;return this['_sessionStatus$'][_0x35225c(0x40f)]();}[_0xf86c5a(0x369)](){const _0x196b27=_0xf86c5a;var _0x34794f,_0x19dbd7;return(_0x19dbd7=(_0x34794f=this[_0x196b27(0x45c)])==null?void 0x0:_0x34794f['memberID'])!=null?_0x19dbd7:null;}[_0xf86c5a(0x3ab)](){const _0x5a0d87=_0xf86c5a;super[_0x5a0d87(0x3ab)](),this['dispose$'][_0x5a0d87(0x23f)](),this[_0x5a0d87(0x39d)][_0x5a0d87(0x307)]();}[_0xf86c5a(0x11c)](){const _0x15b333=_0xf86c5a;var _0x582632,_0x46f8bd;this['_throwTelemetryCollaborationNewChangeset'](),(_0x582632=this[_0x15b333(0x45c)])==null||_0x582632['send']({'cmd':I[_0x15b333(0x1a6)],'data':{'roomID':this[_0x15b333(0x355)]}}),(_0x46f8bd=this['_socket'])==null||_0x46f8bd[_0x15b333(0x11c)](),this[_0x15b333(0x211)][_0x15b333(0x307)](),this[_0x15b333(0x340)][_0x15b333(0x307)](),this[_0x15b333(0x3ab)]();}[_0xf86c5a(0x405)](_0x12d947){const _0x5de93e=_0xf86c5a;_0x12d947[_0x5de93e(0x46b)]===I['JOIN']?this[_0x5de93e(0x38e)](_0x12d947):_0x12d947['cmd']===I['RECV']&&this[_0x5de93e(0x30f)](_0x12d947);}[_0xf86c5a(0x167)](_0x4a2ada){const _0x448d8c=_0xf86c5a;this[_0x448d8c(0x340)][_0x448d8c(0x23f)](0x1),_0x4a2ada['send']({'cmd':I[_0x448d8c(0x1c5)],'routeKey':this[_0x448d8c(0x355)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xf86c5a(0x38e)](_0x2fe9e6){const _0x172ef4=_0xf86c5a;var _0x2de559;if(_0x2fe9e6[_0x172ef4(0x42b)]===Vt[_0x172ef4(0x3d4)]){this['_messageService']['show']({'type':_0x424985['Warning'],'content':this[_0x172ef4(0x1f8)]['t']('session.room-full')}),this[_0x172ef4(0x340)][_0x172ef4(0x23f)](0x2);return;}this['_sessionStatus$'][_0x172ef4(0x23f)](0x3);const _0x1d7b2b=(_0x2de559=_0x2fe9e6[_0x172ef4(0x129)][_0x172ef4(0x1be)][this[_0x172ef4(0x355)]])==null?void 0x0:_0x2de559[_0x172ef4(0x1e4)];_0x1d7b2b&&_0x1d7b2b['forEach'](_0x108101=>this[_0x172ef4(0x34f)][_0x172ef4(0x185)](this[_0x172ef4(0x355)],_0x108101));}[_0xf86c5a(0x30f)](_0x3fe862){const _0x1015c2=_0xf86c5a;try{const _0x58853e=_0x3fe862[_0x1015c2(0x129)];switch(_0x58853e[_0x1015c2(0x26e)]){case _0x455562[_0x1015c2(0x24c)]:this[_0x1015c2(0x44a)](_0x58853e),this[_0x1015c2(0x211)][_0x1015c2(0x23f)](_0x58853e);break;case _0x455562[_0x1015c2(0x1f4)]:this[_0x1015c2(0x3c8)](_0x58853e),this[_0x1015c2(0x211)][_0x1015c2(0x23f)](_0x58853e);break;case _0x455562[_0x1015c2(0x2e4)]:this[_0x1015c2(0x460)](),this[_0x1015c2(0x1f7)](),this[_0x1015c2(0x211)]['next'](_0x58853e);break;case _0x455562[_0x1015c2(0x350)]:this[_0x1015c2(0x435)][_0x1015c2(0x3a5)](_0x1015c2(0x2fd)+JSON[_0x1015c2(0x28b)](_0x58853e)),this[_0x1015c2(0x211)]['next'](_0x58853e);break;case _0x455562[_0x1015c2(0x199)]:this[_0x1015c2(0x247)]['onCommentUpdate'](_0x58853e[_0x1015c2(0x129)]),this[_0x1015c2(0x211)]['next'](_0x58853e);break;default:this[_0x1015c2(0x211)][_0x1015c2(0x23f)](_0x58853e);}}catch(_0x4dc546){this[_0x1015c2(0x435)][_0x1015c2(0x3a5)](_0x4dc546,_0x3fe862);}}[_0xf86c5a(0x44a)](_0x11a289){const _0x573087=_0xf86c5a;this[_0x573087(0x34f)]['updateMember'](this[_0x573087(0x355)],_0x11a289['data']);}[_0xf86c5a(0x3c8)](_0x467568){const _0x12655b=_0xf86c5a;this['_memberService'][_0x12655b(0x375)](this['_unitID'],_0x467568[_0x12655b(0x129)][_0x12655b(0x192)]);}async[_0xf86c5a(0x100)](_0x3a2782,_0x243bb1){const _0x5e928a=_0xf86c5a;if(this['sessionStatus']!==0x3||!this[_0x5e928a(0x45c)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3a2782[_0x5e928a(0x26e)]===_0x455562[_0x5e928a(0x1d0)]&&(this[_0x5e928a(0x438)](),this[_0x5e928a(0x409)](_0x3a2782)),this[_0x5e928a(0x45c)][_0x5e928a(0x100)]({'cmd':I['INGEST'],'routeKey':_0x243bb1,'routeType':'','data':_0x3a2782});}catch(_0x5a0840){this['_logService'][_0x5e928a(0x3a5)](_0x5a0840);}}[_0xf86c5a(0x438)](){const _0xf3e3d6=_0xf86c5a;var _0x5bfd4c;this[_0xf3e3d6(0x367)]=window['setTimeout'](()=>{const _0x20af8b=_0xf3e3d6;this[_0x20af8b(0x367)]=null,this['_messageService'][_0x20af8b(0x265)]({'type':_0x424985[_0x20af8b(0x44b)],'content':this['_localeService']['t'](_0x20af8b(0x3d6))});},(_0x5bfd4c=this[_0xf3e3d6(0x2ae)][_0xf3e3d6(0x1bf)]($s))!=null?_0x5bfd4c:js);}[_0xf86c5a(0x1f7)](){const _0x3af063=_0xf86c5a;this[_0x3af063(0x367)]&&(clearTimeout(this[_0x3af063(0x367)]),this[_0x3af063(0x367)]=null);}[_0xf86c5a(0x409)](_0x4cb715){const _0x4fc723=_0xf86c5a;if(!this[_0x4fc723(0x148)])return;const {data:_0x47adb3}=_0x4cb715,{unitID:_0x92bee5,changeset:_0x10aac7}=_0x47adb3,{mutations:_0x30dc80,type:_0x377eb8}=_0x10aac7;this['_telemetryInfo']={'unitId':_0x92bee5,'type':_0x377eb8,'startTime':performance[_0x4fc723(0x2b0)](),'stopTime':0x0,'duration':0x0,'size':Vn(_0x30dc80)};}[_0xf86c5a(0x460)](){const _0x3d845a=_0xf86c5a;if(this[_0x3d845a(0x148)]){if(!this[_0x3d845a(0x19b)]){this[_0x3d845a(0x435)][_0x3d845a(0x3a5)](_0x3d845a(0x20b),_0x3d845a(0x39c));return;}this[_0x3d845a(0x19b)][_0x3d845a(0x16d)]=performance['now'](),this['_telemetryInfo']['duration']=this[_0x3d845a(0x19b)][_0x3d845a(0x16d)]-this[_0x3d845a(0x19b)][_0x3d845a(0x30a)],this[_0x3d845a(0x21b)][_0x3d845a(0x220)](Bn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x4aee12=_0xf86c5a;this[_0x4aee12(0x19b)]=null;}};bt=qn([J(0x2,_0x593f47),J(0x3,_0x4cf196),J(0x4,_0x3aa03b),J(0x5,_0x5bc7de),J(0x6,_0x370f8c(_0x2673bf)),J(0x7,_0x370f8c(ce)),J(0x8,_0x370f8c(Bs)),J(0x9,_0x2fd677(_0x382310))],bt);var Jn=Object['defineProperty'],zn=Object['getOwnPropertyDescriptor'],Zn=(_0x47ef7c,_0x5d14a9,_0x3144fd,_0x4230c5)=>{const _0x19d7bd=_0xf86c5a;for(var _0x2f4208=_0x4230c5>0x1?void 0x0:_0x4230c5?zn(_0x5d14a9,_0x3144fd):_0x5d14a9,_0x591994=_0x47ef7c[_0x19d7bd(0x28c)]-0x1,_0x8bfc91;_0x591994>=0x0;_0x591994--)(_0x8bfc91=_0x47ef7c[_0x591994])&&(_0x2f4208=(_0x4230c5?_0x8bfc91(_0x5d14a9,_0x3144fd,_0x2f4208):_0x8bfc91(_0x2f4208))||_0x2f4208);return _0x4230c5&&_0x2f4208&&Jn(_0x5d14a9,_0x3144fd,_0x2f4208),_0x2f4208;},fe=(_0x2b6489,_0x5cf2f9)=>(_0x3f5288,_0x29f8cc)=>_0x5cf2f9(_0x3f5288,_0x29f8cc,_0x2b6489);let he=class extends _0x4091c9{constructor(_0x222594,_0x3a1c37,_0x22ee9f,_0x2c035a,_0x1311b3,_0x5e9cb3){const _0x1bcff3=_0xf86c5a;super(),l(this,_0x1bcff3(0x2e7),new _0x52cf76(void 0x0)),l(this,_0x1bcff3(0x23c),this[_0x1bcff3(0x2e7)]['asObservable']()),l(this,_0x1bcff3(0x230),null),l(this,_0x1bcff3(0x1cd),new Map()),l(this,'_status$',new _0x52cf76(Y[_0x1bcff3(0x28f)])),l(this,_0x1bcff3(0x217),this[_0x1bcff3(0x15d)][_0x1bcff3(0x377)]()),l(this,_0x1bcff3(0x127),!0x1),l(this,'_retryConnectingTimer'),l(this,_0x1bcff3(0x2e0),0x0),l(this,'_sendHeartbeatTimer'),l(this,_0x1bcff3(0x3dd)),(this['_injector']=_0x222594,this[_0x1bcff3(0x1f8)]=_0x3a1c37,this['_messageService']=_0x22ee9f,this[_0x1bcff3(0x435)]=_0x2c035a,this[_0x1bcff3(0x2ae)]=_0x1311b3,this['_socketService']=_0x5e9cb3,this['_initEventListeners']());}get[_0xf86c5a(0x45c)](){const _0x1aea26=_0xf86c5a;return this['_socket$'][_0x1aea26(0x40f)]();}[_0xf86c5a(0x250)](){const _0x2cbd95=_0xf86c5a;this['_listenToOfflineEvent'](),this[_0x2cbd95(0x42d)]();}[_0xf86c5a(0x3ab)](){const _0x44db36=_0xf86c5a;super[_0x44db36(0x3ab)](),this['_sessions'][_0x44db36(0x26c)](_0x2c494d=>_0x2c494d[_0x44db36(0x3ab)]()),this[_0x44db36(0x1cd)][_0x44db36(0x3e6)](),this[_0x44db36(0x15d)][_0x44db36(0x307)]();}async[_0xf86c5a(0x13d)](_0x3c1964){const _0x1c9530=_0xf86c5a;if(this['_sessions']['has'](_0x3c1964))return this[_0x1c9530(0x1cd)][_0x1c9530(0x175)](_0x3c1964);this['_tryEnsureSocket']();const _0xd5d370=this[_0x1c9530(0x22b)][_0x1c9530(0x45e)](bt,_0x3c1964,this[_0x1c9530(0x2e7)]['asObservable']());return this['_sessions']['set'](_0x3c1964,_0xd5d370),_0xd5d370;}[_0xf86c5a(0x15e)](_0x3bba62){const _0x4bf61e=_0xf86c5a;var _0x5cfefe;const _0x1ee850=this['_sessions'][_0x4bf61e(0x175)](_0x3bba62);_0x1ee850&&(this[_0x4bf61e(0x1cd)]['delete'](_0x3bba62),_0x1ee850['close']()),this[_0x4bf61e(0x1cd)]['size']||(_0x5cfefe=this[_0x4bf61e(0x45c)])==null||_0x5cfefe[_0x4bf61e(0x11c)]();}['reconnect'](){const _0x1c3951=_0xf86c5a;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1c3951(0x3f0)]),this[_0x1c3951(0x3f0)]=null),this[_0x1c3951(0x178)]();}[_0xf86c5a(0x12c)](){const _0x41bc8e=_0xf86c5a;var _0x405fbf,_0x41a019;const _0x2955bc=this['_configService'][_0x41bc8e(0x1bf)](En),_0x484c1c=this[_0x41bc8e(0x2ae)]['getConfig']($),_0x4f9cf3=(_0x41a019=(_0x405fbf=_0x484c1c==null?void 0x0:_0x484c1c[_0x41bc8e(0x371)])!=null?_0x405fbf:_0x2955bc)!=null?_0x41a019:Cn,_0x35157f=this[_0x41bc8e(0x45d)]['createSocket'](_0x4f9cf3);return this['_candidateSocket']=_0x35157f,_0x35157f;}['_tryEnsureSocket'](){const _0x5d2b50=_0xf86c5a;var _0x3fc59e,_0x5f19ca;try{const _0xf1f57e=(_0x5f19ca=(_0x3fc59e=this[_0x5d2b50(0x45c)])!=null?_0x3fc59e:this['_candidateSocket'])!=null?_0x5f19ca:this[_0x5d2b50(0x12c)]();if(_0xf1f57e){const _0x52a3d8=_0xf1f57e[_0x5d2b50(0x100)];_0xf1f57e[_0x5d2b50(0x100)]=_0x159a13=>(this[_0x5d2b50(0x317)](),_0x52a3d8[_0x5d2b50(0x241)](_0xf1f57e,[_0x159a13])),_0xf1f57e[_0x5d2b50(0x136)]['subscribe'](_0x126eba=>this[_0x5d2b50(0x3b6)](_0xf1f57e,_0x126eba)),_0xf1f57e[_0x5d2b50(0x28e)][_0x5d2b50(0x268)](_0x46d55b(0x1))['subscribe'](_0x5f5741=>this[_0x5d2b50(0x435)][_0x5d2b50(0x3a5)]('[CollaborationSessionService]:\x20socket\x20error',_0x5f5741)),_0xf1f57e['open$'][_0x5d2b50(0x268)](_0x46d55b(0x1))[_0x5d2b50(0x1c3)](()=>{this['_onConnectionOpen'](_0xf1f57e);}),_0xf1f57e[_0x5d2b50(0x310)][_0x5d2b50(0x268)](_0x46d55b(0x1))[_0x5d2b50(0x1c3)](_0x1c7db4=>{const _0x50559d=_0x5d2b50;this['_logService']['debug']('[CollaborationSessionService]',_0x50559d(0x352),_0x1c7db4),this[_0x50559d(0x2c2)]();});}}catch(_0x41e4de){this[_0x5d2b50(0x435)]['error'](_0x41e4de),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x546b6d){const _0x4ca28d=_0xf86c5a;this['_logService'][_0x4ca28d(0x379)](_0x4ca28d(0x210),_0x4ca28d(0x3f4)),_0x546b6d[_0x4ca28d(0x100)]({'cmd':I[_0x4ca28d(0x378)]}),this[_0x4ca28d(0x317)]();}[_0xf86c5a(0x151)](){const _0x378179=_0xf86c5a;window[_0x378179(0x3ed)]('offline',()=>this[_0x378179(0x346)]());}[_0xf86c5a(0x346)](){const _0x3e93d9=_0xf86c5a;this[_0x3e93d9(0x127)]=!0x1,this[_0x3e93d9(0x230)]=null,this[_0x3e93d9(0x15d)][_0x3e93d9(0x23f)](Y[_0x3e93d9(0x2a1)]),this[_0x3e93d9(0x2e7)][_0x3e93d9(0x23f)](null),this[_0x3e93d9(0x403)](),this[_0x3e93d9(0x306)]();}[_0xf86c5a(0x2c2)](){const _0x53b2fd=_0xf86c5a;var _0x4e32c5;this[_0x53b2fd(0x346)](),this['_retryCount']<((_0x4e32c5=this[_0x53b2fd(0x2ae)][_0x53b2fd(0x1bf)](On))!=null?_0x4e32c5:Dn)?(this[_0x53b2fd(0x122)][_0x53b2fd(0x265)]({'key':_0x53b2fd(0x333),'type':_0x424985[_0x53b2fd(0x3ae)],'content':this[_0x53b2fd(0x1f8)]['t']('session.will-retry')}),this[_0x53b2fd(0x178)]()):this[_0x53b2fd(0x122)][_0x53b2fd(0x265)]({'key':_0x53b2fd(0x333),'type':_0x424985[_0x53b2fd(0x44b)],'content':this['_localeService']['t']('session.connection-failed')});}[_0xf86c5a(0x42d)](){const _0x5eaad6=_0xf86c5a,_0x5c5903=()=>{const _0xd5a5ae=_0x556d;this[_0xd5a5ae(0x45c)]||this[_0xd5a5ae(0x36d)]();},_0x4ca3c2=()=>{const _0x4df608=_0x556d;this[_0x4df608(0x45c)]||document[_0x4df608(0xf9)]===_0x4df608(0x3e7)||this[_0x4df608(0x36d)]();};window['addEventListener'](_0x5eaad6(0x374),_0x5c5903),document[_0x5eaad6(0x3ed)](_0x5eaad6(0x290),_0x4ca3c2);}[_0xf86c5a(0x178)](){const _0x44fab8=_0xf86c5a;var _0x59eb58;const _0x2fd095=this['_retryCount'],_0x54b17d=this['_configService'][_0x44fab8(0x1bf)]($),_0x148e90=_0x2fd095===0x0?0x0:((_0x59eb58=_0x54b17d==null?void 0x0:_0x54b17d[_0x44fab8(0x34a)])!=null?_0x59eb58:Rn)*0x2**_0x2fd095;this[_0x44fab8(0x3f0)]=window[_0x44fab8(0x21e)](()=>{const _0x318ba2=_0x44fab8;clearTimeout(this['_retryConnectingTimer']),this[_0x318ba2(0x3f0)]=null,this[_0x318ba2(0xe8)]();},_0x148e90),this['_retryCount']+=0x1;}[_0xf86c5a(0x3b6)](_0x19a482,_0x3d449a){const _0x5df2de=_0xf86c5a,{cmd:_0x2d38f8}=_0x3d449a;_0x2d38f8===I[_0x5df2de(0x378)]&&!this[_0x5df2de(0x127)]&&(_0x19a482[_0x5df2de(0x192)]=_0x3d449a[_0x5df2de(0x129)]['memberID'],this[_0x5df2de(0x2e7)][_0x5df2de(0x23f)](_0x19a482),this[_0x5df2de(0x15d)][_0x5df2de(0x23f)](Y[_0x5df2de(0x2b4)]),this[_0x5df2de(0x127)]=!0x0,this['_candidateSocket']=null),_0x2d38f8===I[_0x5df2de(0x3cd)]&&this[_0x5df2de(0x403)](),this[_0x5df2de(0x317)]();}[_0xf86c5a(0x317)](){const _0x18a7c7=_0xf86c5a;var _0x277f46;this['_clearHeartbeatTimer'](),this[_0x18a7c7(0x10e)]=window['setTimeout'](()=>this['_sendHeartbeat'](),(_0x277f46=this[_0x18a7c7(0x2ae)]['getConfig'](bn))!=null?_0x277f46:Tn);}[_0xf86c5a(0x271)](){const _0x487fc4=_0xf86c5a;this['_socket'][_0x487fc4(0x100)]({'cmd':I['HEARTBEAT']}),this[_0x487fc4(0x3d5)]();}['_waitForHeartbeatResponse'](){const _0x10f768=_0xf86c5a;var _0x301897;this['_timeoutTimer']=window['setTimeout'](()=>this[_0x10f768(0x2c2)](),(_0x301897=this[_0x10f768(0x2ae)]['getConfig']($s))!=null?_0x301897:js);}['_clearHeartbeatTimer'](){const _0x33d090=_0xf86c5a;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x33d090(0x10e)]=null);}['_clearTimeoutTimer'](){const _0x51a516=_0xf86c5a;this[_0x51a516(0x3dd)]!=null&&(clearTimeout(this[_0x51a516(0x3dd)]),this['_timeoutTimer']=null);}};he=Zn([fe(0x0,_0x370f8c(_0x595e81)),fe(0x1,_0x370f8c(_0x2673bf)),fe(0x2,_0x3aa03b),fe(0x3,_0x593f47),fe(0x4,_0x5bc7de),fe(0x5,ks)],he);var T=[];for(var ct=0x0;ct<0x100;++ct)T[_0xf86c5a(0x106)]((ct+0x100)[_0xf86c5a(0x202)](0x10)[_0xf86c5a(0x42c)](0x1));function Qn(_0x7adce1,_0x130722=0x0){return(T[_0x7adce1[_0x130722+0x0]]+T[_0x7adce1[_0x130722+0x1]]+T[_0x7adce1[_0x130722+0x2]]+T[_0x7adce1[_0x130722+0x3]]+'-'+T[_0x7adce1[_0x130722+0x4]]+T[_0x7adce1[_0x130722+0x5]]+'-'+T[_0x7adce1[_0x130722+0x6]]+T[_0x7adce1[_0x130722+0x7]]+'-'+T[_0x7adce1[_0x130722+0x8]]+T[_0x7adce1[_0x130722+0x9]]+'-'+T[_0x7adce1[_0x130722+0xa]]+T[_0x7adce1[_0x130722+0xb]]+T[_0x7adce1[_0x130722+0xc]]+T[_0x7adce1[_0x130722+0xd]]+T[_0x7adce1[_0x130722+0xe]]+T[_0x7adce1[_0x130722+0xf]])['toLowerCase']();}var He,er=new Uint8Array(0x10);function tr(){const _0x477846=_0xf86c5a;if(!He&&(He=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x477846(0x383)][_0x477846(0x3ff)](crypto),!He))throw new Error(_0x477846(0x2b5));return He(er);}var sr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0xf86c5a(0x421)][_0xf86c5a(0x3ff)](crypto);const cs={'randomUUID':sr};function ir(_0x460754,_0x1e4bfb,_0x1b03cc){const _0x21593b=_0xf86c5a;if(cs[_0x21593b(0x421)]&&!_0x1e4bfb&&!_0x460754)return cs['randomUUID']();_0x460754=_0x460754||{};var _0x428efd=_0x460754[_0x21593b(0x2a7)]||(_0x460754[_0x21593b(0x29c)]||tr)();return _0x428efd[0x6]=_0x428efd[0x6]&0xf|0x40,_0x428efd[0x8]=_0x428efd[0x8]&0x3f|0x80,Qn(_0x428efd);}var nr=Object[_0xf86c5a(0xfa)],rr=Object[_0xf86c5a(0x397)],or=(_0x3be030,_0x59b75b,_0x9d180d,_0x39ba43)=>{const _0x4a5332=_0xf86c5a;for(var _0x40cc22=_0x39ba43>0x1?void 0x0:_0x39ba43?rr(_0x59b75b,_0x9d180d):_0x59b75b,_0x589c39=_0x3be030[_0x4a5332(0x28c)]-0x1,_0x3fa7de;_0x589c39>=0x0;_0x589c39--)(_0x3fa7de=_0x3be030[_0x589c39])&&(_0x40cc22=(_0x39ba43?_0x3fa7de(_0x59b75b,_0x9d180d,_0x40cc22):_0x3fa7de(_0x40cc22))||_0x40cc22);return _0x39ba43&&_0x40cc22&&nr(_0x59b75b,_0x9d180d,_0x40cc22),_0x40cc22;},ht=(_0x276c90,_0x2ff6cb)=>(_0x2f9c05,_0x5077f8)=>_0x2ff6cb(_0x2f9c05,_0x5077f8,_0x276c90);let Ye=class{constructor(_0x3a8c4e,_0x214fa6,_0x14e4f8){const _0x541463=_0xf86c5a;this[_0x541463(0x22b)]=_0x3a8c4e,this['_transformService']=_0x214fa6,this[_0x541463(0x410)]=_0x14e4f8;}[_0xf86c5a(0x3e2)](_0x35ad42){const _0x1ac75d=_0xf86c5a;this[_0x1ac75d(0x3f2)](_0x35ad42),this['_transformPreviousActiveRange'](_0x35ad42);}[_0xf86c5a(0x22d)](_0x4adff9){const _0x45bfe2=_0xf86c5a,{unitID:_0x5bb4ba}=_0x4adff9,_0x113693=this[_0x45bfe2(0x410)][_0x45bfe2(0x297)](_0x5bb4ba)[_0x45bfe2(0x206)](_0x192645),{redoCache:_0x161f45}=_0x113693[_0x45bfe2(0x1a0)]();if(_0x161f45[_0x45bfe2(0x28c)]===0x0)return _0x4adff9;let _0x3599f0=_0x48af3f[_0x45bfe2(0x17f)](_0x4adff9[_0x45bfe2(0x3c1)][0x0]);for(let _0xddb7a4=0x0;_0xddb7a4<_0x161f45[_0x45bfe2(0x28c)];_0xddb7a4++){const _0x35c7b7={'id':_0x45bfe2(0x27d),'params':{..._0x161f45[_0xddb7a4]}},_0x345f9a=this[_0x45bfe2(0x235)]['transformMutation'](_0x3599f0,_0x35c7b7,!0x1);if(_0x3e8650(_0x345f9a))throw _0x345f9a['error'];_0x3599f0=_0x345f9a[_0x45bfe2(0x314)];}return{..._0x48af3f['deepClone'](_0x4adff9),'mutations':[_0x3599f0]};}['_transformUndoRedoStack'](_0x22eac3){const _0x2bef41=_0xf86c5a,{unitID:_0x589016}=_0x22eac3,_0x428aa0=this[_0x2bef41(0x410)][_0x2bef41(0x297)](_0x589016)['with'](_0x192645),{undoCache:_0x4efc89,redoCache:_0x37bc9f}=_0x428aa0['getUndoRedoMutationParamsCache']();if(_0x4efc89[_0x2bef41(0x28c)]===0x0||_0x37bc9f[_0x2bef41(0x28c)]===0x0)return;const _0x1270e1=[],_0x496eba=[];let _0x233439=_0x48af3f[_0x2bef41(0x17f)](_0x22eac3[_0x2bef41(0x3c1)][0x0]),_0x496f71=_0x48af3f[_0x2bef41(0x17f)](_0x22eac3[_0x2bef41(0x3c1)][0x0]);for(let _0x5eaf2b=_0x4efc89['length']-0x1;_0x5eaf2b>=0x0;_0x5eaf2b--){const _0x32941b={'id':_0x2bef41(0x27d),'params':{..._0x4efc89[_0x5eaf2b]}},_0x45c287={'id':_0x2bef41(0x27d),'params':{..._0x37bc9f[_0x5eaf2b]}},_0x3ee8e9=this[_0x2bef41(0x235)][_0x2bef41(0x11e)](_0x233439,_0x32941b,!0x1),_0x48a084=this[_0x2bef41(0x235)]['transformMutation'](_0x496f71,_0x45c287,!0x1);if(_0x3e8650(_0x3ee8e9))throw _0x3ee8e9['error'];if(_0x3e8650(_0x48a084))throw _0x48a084[_0x2bef41(0x3a5)];_0x1270e1[_0x2bef41(0x33e)](_0x3ee8e9[_0x2bef41(0x3bb)][_0x2bef41(0x2e1)]),_0x496eba[_0x2bef41(0x33e)](_0x48a084[_0x2bef41(0x3bb)]['params']),_0x233439=_0x3ee8e9[_0x2bef41(0x314)],_0x496f71=_0x48a084['m1Prime'];}_0x428aa0['setUndoRedoMutationParamsCache']({'undoCache':_0x1270e1,'redoCache':_0x496eba});}['_transformPreviousActiveRange'](_0x3fd45c){const _0x4da35d=_0xf86c5a,{unitID:_0x570cca}=_0x3fd45c,_0x3a24d0=this[_0x4da35d(0x410)][_0x4da35d(0x297)](_0x570cca)[_0x4da35d(0x206)](_0x192645),_0x4596d5=_0x3a24d0[_0x4da35d(0x2bb)]();if(_0x4596d5==null)return;const _0x58dfb1=[{'id':_0x4da35d(0x27d),'params':{'unitId':_0x3fd45c[_0x4da35d(0x427)],'actions':null,'textRanges':[_0x4596d5]}}],_0x233711=this[_0x4da35d(0x235)][_0x4da35d(0x1e7)](_0x3fd45c,_0x58dfb1);if(!_0x1a8f7d(_0x233711))throw _0x233711[_0x4da35d(0x3a5)];const _0x22ca64=_0x233711[_0x4da35d(0x3bb)][0x0][_0x4da35d(0x2e1)][_0x4da35d(0x2f4)];Array[_0x4da35d(0x453)](_0x22ca64)&&_0x22ca64[_0x4da35d(0x28c)]&&_0x3a24d0[_0x4da35d(0x35c)](_0x22ca64[0x0]);}};Ye=or([ht(0x0,_0x370f8c(_0x595e81)),ht(0x1,_0x285caf),ht(0x2,_0x366dfc)],Ye);var ar=Object['defineProperty'],cr=Object[_0xf86c5a(0x397)],hr=(_0x78d9ed,_0x1448ca,_0x3c15d9,_0x4dc329)=>{const _0x52a0df=_0xf86c5a;for(var _0xe8f8d6=_0x4dc329>0x1?void 0x0:_0x4dc329?cr(_0x1448ca,_0x3c15d9):_0x1448ca,_0x4879cd=_0x78d9ed[_0x52a0df(0x28c)]-0x1,_0x41c71f;_0x4879cd>=0x0;_0x4879cd--)(_0x41c71f=_0x78d9ed[_0x4879cd])&&(_0xe8f8d6=(_0x4dc329?_0x41c71f(_0x1448ca,_0x3c15d9,_0xe8f8d6):_0x41c71f(_0xe8f8d6))||_0xe8f8d6);return _0x4dc329&&_0xe8f8d6&&ar(_0x1448ca,_0x3c15d9,_0xe8f8d6),_0xe8f8d6;},De=(_0xa78522,_0x45e424)=>(_0x5b22de,_0x3b146c)=>_0x45e424(_0x5b22de,_0x3b146c,_0xa78522);let w=class extends _0x4091c9{constructor(_0x217395,_0x409212,_0xd2cc46,_0x330f28,_0x2fe2e0){const _0x364636=_0xf86c5a;super(),l(this,_0x364636(0x42e),new Map()),l(this,_0x364636(0x463),new Map()),l(this,_0x364636(0x131),!0x1),(this['_configService']=_0x217395,this[_0x364636(0xfc)]=_0x409212,this['_beforeCloseService']=_0xd2cc46,this[_0x364636(0x1f8)]=_0x330f28,this[_0x364636(0x32c)]=_0x2fe2e0,this[_0x364636(0x117)]());}[_0xf86c5a(0x237)](){const _0x1a572b=_0xf86c5a;this[_0x1a572b(0x131)]=!0x0;}[_0xf86c5a(0x1a4)](){const _0x58fce7=_0xf86c5a;this[_0x58fce7(0x131)]=!0x1;}[_0xf86c5a(0x3ab)](){const _0x4ca424=_0xf86c5a;this[_0x4ca424(0x1ee)]()[_0x4ca424(0x15f)](()=>super['dispose']());}async[_0xf86c5a(0x3ec)](_0x10af75){const _0xdb92c2=_0xf86c5a;return this['_disabled']?null:this['_localStorageService'][_0xdb92c2(0x2b1)](hs(_0x10af75));}async[_0xf86c5a(0x1ac)](_0x368ef2,_0x2f9d20){const _0x4dd6a4=_0xf86c5a;return!!this[_0x4dd6a4(0xfc)]['setItem'](_0x368ef2,_0x2f9d20);}[_0xf86c5a(0x34d)](_0x1e9ac7,_0x17a6c1,_0x6f1c1a,_0xe88ee7){const _0x5e38a1=_0xf86c5a,_0x3d5211=this[_0x5e38a1(0x32c)][_0x5e38a1(0x3bd)](_0x1e9ac7);this[_0x5e38a1(0x42e)][_0x5e38a1(0x2be)](_0x1e9ac7,{'unitID':_0x1e9ac7,'type':_0x17a6c1,'awaitingChangeset':_0x6f1c1a,'mutations':_0xe88ee7,'rev':_0x3d5211}),this['_saveTaskMap']['has'](_0x1e9ac7)||this['_scheduleSaving'](_0x1e9ac7);}[_0xf86c5a(0x455)](_0x50e8fa){const _0x161ef8=_0xf86c5a,_0x15cf3d=this[_0x161ef8(0x3cc)]();_0x15cf3d===0x0?this[_0x161ef8(0x3ca)](_0x50e8fa):this[_0x161ef8(0x463)][_0x161ef8(0x2be)](_0x50e8fa,setTimeout(()=>this[_0x161ef8(0x3ca)](_0x50e8fa),_0x15cf3d));}['_getSaveTimeout'](){const _0x2f2aa8=_0xf86c5a;var _0x30ab22;return(_0x30ab22=this[_0x2f2aa8(0x2ae)][_0x2f2aa8(0x1bf)](wn))!=null?_0x30ab22:Pn;}[_0xf86c5a(0x3ca)](_0x15d22b){const _0xdb4c3d=_0xf86c5a,_0x72fc43=this[_0xdb4c3d(0x463)][_0xdb4c3d(0x175)](_0x15d22b);return _0x72fc43!==void 0x0&&window[_0xdb4c3d(0x3da)](_0x72fc43),this[_0xdb4c3d(0xfc)][_0xdb4c3d(0x30b)](hs(_0x15d22b),this['_cachedData']['get'](_0x15d22b))['then'](()=>this['_saveTaskMap'][_0xdb4c3d(0x107)](_0x15d22b));}async[_0xf86c5a(0x1ee)](){const _0x2019ec=_0xf86c5a,_0x9ac890=[];this[_0x2019ec(0x463)][_0x2019ec(0x26c)]((_0x1f3497,_0x40d432)=>{const _0x7b907f=_0x2019ec;window[_0x7b907f(0x3da)](_0x1f3497),_0x9ac890['push'](this[_0x7b907f(0x3ca)](_0x40d432)[_0x7b907f(0x15f)](()=>{const _0x138a9b=_0x7b907f;this['_saveTaskMap'][_0x138a9b(0x107)](_0x40d432);}));}),await Promise[_0x2019ec(0x34b)](_0x9ac890);}[_0xf86c5a(0x117)](){const _0x356a9e=_0xf86c5a;this[_0x356a9e(0x177)](this[_0x356a9e(0x243)][_0x356a9e(0x2cb)](()=>{const _0x26627f=_0x356a9e;if(this[_0x26627f(0x463)][_0x26627f(0x46a)])return this[_0x26627f(0x1f8)]['t'](_0x26627f(0x398));}));}};w=hr([De(0x0,_0x5bc7de),De(0x1,_0x5d2dbc),De(0x2,_0x4cf196),De(0x3,_0x370f8c(_0x2673bf)),De(0x4,_0x370f8c(_0x4a413b))],w);function hs(_0x52a3bc){const _0x2c7c87=_0xf86c5a;return _0x2c7c87(0x2a5)+_0x52a3bc;}var lr=Object[_0xf86c5a(0xfa)],_r=Object[_0xf86c5a(0x397)],ur=(_0x4aa16f,_0x39c46b,_0x2173ca,_0x16cad6)=>{for(var _0x100365=_0x16cad6>0x1?void 0x0:_0x16cad6?_r(_0x39c46b,_0x2173ca):_0x39c46b,_0x280335=_0x4aa16f['length']-0x1,_0x58d963;_0x280335>=0x0;_0x280335--)(_0x58d963=_0x4aa16f[_0x280335])&&(_0x100365=(_0x16cad6?_0x58d963(_0x39c46b,_0x2173ca,_0x100365):_0x58d963(_0x100365))||_0x100365);return _0x16cad6&&_0x100365&&lr(_0x39c46b,_0x2173ca,_0x100365),_0x100365;},lt=(_0x265445,_0x5c172b)=>(_0x6ee857,_0x308078)=>_0x5c172b(_0x6ee857,_0x308078,_0x265445);function dr(_0x248050){const _0x3fb656=_0xf86c5a,{unitID:_0x5107a9,mutations:_0x50cd7d}=_0x248050;return{'unitId':_0x5107a9,'subUnitId':_0x50cd7d[0x0][_0x3fb656(0x2e1)]['subUnitId']};}let Ke=class{constructor(_0x3ea11e,_0x4e92a3,_0x1ec2d9){const _0x5a5f9c=_0xf86c5a;this[_0x5a5f9c(0x22b)]=_0x3ea11e,this['_transformService']=_0x4e92a3,this[_0x5a5f9c(0x1e6)]=_0x1ec2d9;}[_0xf86c5a(0xfb)](_0x1b02a9){const _0x21d82c=_0xf86c5a;var _0x119114,_0x2fa3d3,_0x576ceb,_0x179e6c;const _0x5b021f=this[_0x21d82c(0x22b)][_0x21d82c(0x175)](_0x48f502),{unitId:_0x2734d4,subUnitId:_0x4dac0a}=dr(_0x1b02a9),_0x2d3599=_0x5b021f[_0x21d82c(0x203)](_0x2734d4)[_0x21d82c(0x2ac)](),_0x346bec=(_0x2fa3d3=(_0x119114=this[_0x21d82c(0x1e6)][_0x21d82c(0x301)](_0x2734d4))==null?void 0x0:_0x119114[_0x21d82c(0x204)]())==null?void 0x0:_0x2fa3d3[_0x21d82c(0x300)]();if(_0x2d3599[_0x21d82c(0x28c)]===0x0||!_0x2734d4||!_0x4dac0a)return;const _0xc2d33b=[{'id':_0x2113e6['id'],'params':{'unitId':_0x2734d4,'subUnitId':_0x346bec,'selections':_0x48af3f[_0x21d82c(0x17f)](_0x2d3599)}}],_0x21831f=this[_0x21d82c(0x235)][_0x21d82c(0x1e7)](_0x1b02a9,_0xc2d33b);if(!_0x1a8f7d(_0x21831f))throw _0x21831f[_0x21d82c(0x3a5)];const _0xfd2630=(_0x179e6c=(_0x576ceb=_0x21831f[_0x21d82c(0x3bb)][0x0])==null?void 0x0:_0x576ceb[_0x21d82c(0x2e1)])==null?void 0x0:_0x179e6c[_0x21d82c(0x201)];if(Array['isArray'](_0xfd2630)&&_0xfd2630[_0x21d82c(0x28c)]){if(_0xfd2630['length']===_0xc2d33b[0x0][_0x21d82c(0x2e1)][_0x21d82c(0x201)][_0x21d82c(0x28c)]&&_0xfd2630[_0x21d82c(0x2d7)]((_0x36d868,_0x41b414)=>_0x426027[_0x21d82c(0x43d)](_0x36d868[_0x21d82c(0x420)],_0xc2d33b[0x0]['params'][_0x21d82c(0x201)][_0x41b414]['range'])))return;this[_0x21d82c(0x22b)]['get'](_0x225d18)[_0x21d82c(0x1b5)](_0x2113e6['id'],{'unitId':_0x2734d4,'subUnitId':_0x346bec,'selections':_0xfd2630});}}};Ke=ur([lt(0x0,_0x370f8c(_0x595e81)),lt(0x1,_0x285caf),lt(0x2,_0x5edd3d)],Ke);const tt=_0x2452f4(_0xf86c5a(0x2f8));var Vs=(_0x37afc3=>(_0x37afc3[_0x37afc3[_0xf86c5a(0x196)]=0x0]=_0xf86c5a(0x196),_0x37afc3[_0x37afc3[_0xf86c5a(0x1b0)]=0x1]='OTHER_CLIENTS_EDITING',_0x37afc3))(Vs||{});const ls=0x7530,_s=_0xf86c5a(0x215);class fr extends _0x4091c9{constructor(){const _0x4bddfb=_0xf86c5a;super(),l(this,_0x4bddfb(0x2f9),_0x48af3f[_0x4bddfb(0x3a3)]()),l(this,_0x4bddfb(0x3c0),new Set()),l(this,'_unitOnClients',new Map()),l(this,_0x4bddfb(0x266),null),l(this,_0x4bddfb(0x3b9),new Map()),l(this,_0x4bddfb(0x169),new Map()),this[_0x4bddfb(0x30d)]();}[_0xf86c5a(0x3ab)](){const _0x4aa539=_0xf86c5a;super[_0x4aa539(0x3ab)](),this[_0x4aa539(0x3b9)]['forEach']((_0xf43e45,_0x1a0c9b)=>this[_0x4aa539(0x1da)](_0x1a0c9b)),this['_heartbeatTimer']&&window[_0x4aa539(0x341)](this['_heartbeatTimer']);}[_0xf86c5a(0xf8)](_0x5a9c7a){const _0x37f95b=_0xf86c5a;return this[_0x37f95b(0x36f)](_0x5a9c7a)['pipe'](_0x30a823());}[_0xf86c5a(0x2d1)](_0xfe0467){const _0x24f4b7=_0xf86c5a;this[_0x24f4b7(0x3c0)][_0x24f4b7(0x46a)]===0x0&&this[_0x24f4b7(0x19c)](),this['_selfUnitIDs'][_0x24f4b7(0x1e9)](_0xfe0467),this[_0x24f4b7(0x144)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xfe0467],'isForwarded':!0x1});}['disposeUnit'](_0x816d98){const _0x396704=_0xf86c5a;this[_0x396704(0x3c0)][_0x396704(0x107)](_0x816d98),this[_0x396704(0x3c0)][_0x396704(0x46a)]===0x0&&this[_0x396704(0x266)]&&window[_0x396704(0x341)](this[_0x396704(0x266)]);}[_0xf86c5a(0x30d)](){const _0x27a254=_0xf86c5a;this[_0x27a254(0x177)](_0x441a7c(_0x40fa2a(window,_0x27a254(0x3eb))[_0x27a254(0x1c3)](_0x1fd67b=>{const _0x6c9db2=_0x27a254;if(_0x1fd67b[_0x6c9db2(0x3e8)]!==_s||!_0x1fd67b[_0x6c9db2(0x33d)])return;const _0x4c2c35=JSON[_0x6c9db2(0x3c7)](_0x1fd67b['newValue']);this[_0x6c9db2(0x393)](_0x4c2c35);}))),window[_0x27a254(0x3ed)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x27a254(0x37d)](this[_0x27a254(0x3c0)])}));}[_0xf86c5a(0x393)](_0x280892){const _0x4a3722=_0xf86c5a;switch(_0x280892[_0x4a3722(0x246)]){case 0x0:this[_0x4a3722(0x269)](_0x280892);break;case 0x1:this['_handleLeaveEvent'](_0x280892);break;case 0x2:this[_0x4a3722(0x286)](_0x280892);break;}}[_0xf86c5a(0x269)](_0x192b16){const _0x4f02e3=_0xf86c5a,{unitIDs:_0x1e8246,memberID:_0x977137,isForwarded:_0x10404b}=_0x192b16;_0x1e8246[_0x4f02e3(0x26c)](_0x2ecb49=>{const _0x3fd431=_0x4f02e3;if(!_0x10404b&&this[_0x3fd431(0x2e9)][_0x3fd431(0x1f5)](_0x2ecb49)&&this[_0x3fd431(0x36f)](_0x2ecb49)[_0x3fd431(0x23f)](0x1),!this[_0x3fd431(0x2e9)]['has'](_0x2ecb49)||!this['_unitOnClients']['get'](_0x2ecb49)[_0x3fd431(0x1f5)](_0x977137)){const _0x1ff43e=this[_0x3fd431(0x2e9)][_0x3fd431(0x175)](_0x2ecb49)||new Set();_0x1ff43e[_0x3fd431(0x1e9)](_0x977137),this[_0x3fd431(0x2e9)][_0x3fd431(0x2be)](_0x2ecb49,_0x1ff43e),this[_0x3fd431(0x36e)](_0x977137);}}),_0x10404b||this[_0x4f02e3(0x144)]({'type':0x0,'memberID':this[_0x4f02e3(0x2f9)],'unitIDs':[...this[_0x4f02e3(0x3c0)]],'isForwarded':!0x0});}[_0xf86c5a(0x36e)](_0x25786e){const _0x1189c6=_0xf86c5a;this[_0x1189c6(0x1da)](_0x25786e);const _0x18a817=window[_0x1189c6(0x21e)](()=>{const _0x5c2d44=_0x1189c6;this['_unitOnClients'][_0x5c2d44(0x26c)](_0x2fbabe=>{_0x2fbabe['delete'](_0x25786e);});},ls*0x2);this[_0x1189c6(0x3b9)][_0x1189c6(0x2be)](_0x25786e,_0x18a817);}[_0xf86c5a(0x1da)](_0x44c812){const _0x47e01f=_0xf86c5a;if(this['_clearOtherTimers'][_0x47e01f(0x1f5)](_0x44c812)){const _0x230865=this[_0x47e01f(0x3b9)][_0x47e01f(0x175)](_0x44c812);_0x230865&&window[_0x47e01f(0x3da)](_0x230865),this[_0x47e01f(0x3b9)][_0x47e01f(0x2be)](_0x44c812,null);}}[_0xf86c5a(0x41d)](_0x211e0d){const _0x4f60ac=_0xf86c5a,{memberID:_0x6d4465,unitIDs:_0x238591}=_0x211e0d;_0x238591[_0x4f60ac(0x26c)](_0x10430d=>{const _0x5c2e1f=_0x4f60ac;var _0x44fb10;const _0x313682=this[_0x5c2e1f(0x2e9)][_0x5c2e1f(0x175)](_0x10430d);_0x313682&&(_0x313682[_0x5c2e1f(0x107)](_0x6d4465),(_0x44fb10=this[_0x5c2e1f(0x36f)](_0x10430d))==null||_0x44fb10[_0x5c2e1f(0x23f)](_0x313682[_0x5c2e1f(0x46a)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x6d4465);}[_0xf86c5a(0x286)](_0x23b8a9){const _0xd5f7e1=_0xf86c5a;this[_0xd5f7e1(0x36e)](_0x23b8a9[_0xd5f7e1(0x192)]);}['_send'](_0x320b92){const _0x174611=_0xf86c5a;localStorage['setItem'](_s,JSON[_0x174611(0x28b)](_0x320b92));}[_0xf86c5a(0x19c)](){const _0x4a5a30=_0xf86c5a;this[_0x4a5a30(0x266)]=window[_0x4a5a30(0x238)](()=>{const _0x3cd833=_0x4a5a30;this['_send']({'type':0x2,'memberID':this[_0x3cd833(0x2f9)]});},ls);}[_0xf86c5a(0x36f)](_0x585123){const _0x105100=_0xf86c5a;return this['_unitStatus'][_0x105100(0x1f5)](_0x585123)||this[_0x105100(0x169)]['set'](_0x585123,new _0x52cf76(0x0)),this[_0x105100(0x169)][_0x105100(0x175)](_0x585123);}}function Fs(_0x4e0d47){const _0x548de4=_0xf86c5a;let _0x44c3d8='';for(const _0x52cf of _0x4e0d47){const {startOffset:_0x39e89a,endOffset:_0x162700,isActive:_0x59a327}=_0x52cf;_0x44c3d8[_0x548de4(0x28c)]&&(_0x44c3d8+=','),_0x44c3d8+=_0x39e89a+':'+_0x162700+':'+(_0x59a327?'1':'0');}return _0x44c3d8;}function mr(_0x554276){const _0x51fd9c=_0xf86c5a,_0x403040=_0x554276[_0x51fd9c(0x308)](','),_0x2fc164=[];for(const _0x2f53ff of _0x403040){const [_0x133e61,_0x280c69,_0x3725e3]=_0x2f53ff['split'](':');_0x2fc164[_0x51fd9c(0x106)]({'startOffset':Number(_0x133e61),'endOffset':Number(_0x280c69),'collapsed':_0x133e61===_0x280c69,'isActive':_0x3725e3==='1'});}return _0x2fc164[_0x51fd9c(0x2a3)](_0x1f1010=>_0x1f1010[_0x51fd9c(0x328)])||(_0x2fc164[0x0][_0x51fd9c(0x328)]=!0x0),_0x2fc164;}class Ft extends _0x27d368{constructor(){const _0xd58de1=_0xf86c5a;super(...arguments),l(this,_0xd58de1(0x200),new _0x52cf76(null)),l(this,'collabCursorState$',this[_0xd58de1(0x200)][_0xd58de1(0x377)]());}[_0xf86c5a(0x411)](_0x5a77a0){const _0x23b3b2=_0xf86c5a,{unitID:_0x40ceb7,memberID:_0x2b1840,textRanges:_0x268cf2}=_0x5a77a0,_0x9abcf0=Fs(_0x268cf2),_0x38f14b={'unitID':_0x40ceb7,'memberID':_0x2b1840,'selection':_0x9abcf0};this['_collabCursorState$'][_0x23b3b2(0x23f)](_0x38f14b);}}var gr=Object['defineProperty'],Sr=Object[_0xf86c5a(0x397)],pr=(_0x2f8759,_0x2edcc3,_0x23936c,_0x418103)=>{const _0x4003a6=_0xf86c5a;for(var _0x3cf5ac=_0x418103>0x1?void 0x0:_0x418103?Sr(_0x2edcc3,_0x23936c):_0x2edcc3,_0x53d864=_0x2f8759[_0x4003a6(0x28c)]-0x1,_0x3ec589;_0x53d864>=0x0;_0x53d864--)(_0x3ec589=_0x2f8759[_0x53d864])&&(_0x3cf5ac=(_0x418103?_0x3ec589(_0x2edcc3,_0x23936c,_0x3cf5ac):_0x3ec589(_0x3cf5ac))||_0x3cf5ac);return _0x418103&&_0x3cf5ac&&gr(_0x2edcc3,_0x23936c,_0x3cf5ac),_0x3cf5ac;},us=(_0x8fae3c,_0x128f06)=>(_0x36de32,_0x140b2b)=>_0x128f06(_0x36de32,_0x140b2b,_0x8fae3c);let Xe=class{constructor(_0x285a37,_0x270d62){const _0x1c42f0=_0xf86c5a;this[_0x1c42f0(0x22b)]=_0x285a37,this[_0x1c42f0(0x235)]=_0x270d62;}['transformSelections'](_0x4ded27){const _0x1a4294=_0xf86c5a;var _0x176b9e;const _0x1af3a8=this[_0x1a4294(0x22b)]['get'](_0x4562e0),_0x17a570=(_0x176b9e=_0x1af3a8[_0x1a4294(0x2c9)]())!=null?_0x176b9e:[];if(_0x17a570['length']===0x0)return;const _0x485769=[{'id':_0x1a4294(0x27d),'params':{'unitId':_0x4ded27[_0x1a4294(0x427)],'actions':null,'textRanges':_0x17a570}}],_0x65b51d=this[_0x1a4294(0x235)][_0x1a4294(0x1e7)](_0x4ded27,_0x485769);if(!_0x1a8f7d(_0x65b51d))throw _0x65b51d['error'];const _0x27a956=_0x65b51d[_0x1a4294(0x3bb)][0x0][_0x1a4294(0x2e1)]['textRanges'];Array[_0x1a4294(0x453)](_0x27a956)&&_0x27a956['length']&&_0x1af3a8['replaceTextRanges'](_0x27a956,!0x1);}};Xe=pr([us(0x0,_0x370f8c(_0x595e81)),us(0x1,_0x285caf)],Xe);function _0x556d(_0x4eb2ff,_0x2ccb18){const _0x4a74cf=_0x4a74();return _0x556d=function(_0x556d8b,_0x55b111){_0x556d8b=_0x556d8b-0xe3;let _0x2c23be=_0x4a74cf[_0x556d8b];return _0x2c23be;},_0x556d(_0x4eb2ff,_0x2ccb18);}const vr=new Set([_0x3bebbc['id']]);function ds(_0x279c02,_0x129205,_0x31a078,_0x397870,_0x400f2b){const _0x5921fa=_0xf86c5a;var _0x4682cd,_0x5a43d1,_0x5795bb,_0x3873b5;const _0x3cd9c9=[];for(const _0x560748 of _0x279c02)if(vr[_0x5921fa(0x1f5)](_0x560748['id'])){if(_0x3cd9c9[_0x5921fa(0x28c)]>0x0)break;_0x3cd9c9['push'](_0x560748);break;}else _0x3cd9c9[_0x5921fa(0x106)](_0x560748);const _0x2db13c=(_0x5a43d1=(_0x4682cd=_0x400f2b['getCurrentUser']())==null?void 0x0:_0x4682cd[_0x5921fa(0x2b2)])!=null?_0x5a43d1:_0x5921fa(0x433),_0x29a7e7=(_0x3873b5=(_0x5795bb=_0x400f2b['getCurrentUser']())==null?void 0x0:_0x5795bb['memberID'])!=null?_0x3873b5:'unknown';return{'changeset':{'unitID':_0x129205,'type':_0xe9c082(_0x31a078[_0x5921fa(0x159)](_0x129205)),'baseRev':_0x397870[_0x5921fa(0x3bd)](_0x129205),'revision':0x0,'userID':_0x2db13c,'memberID':_0x29a7e7,'mutations':_0x3cd9c9},'pendingMutations':_0x279c02[_0x5921fa(0x42c)](_0x3cd9c9[_0x5921fa(0x28c)])};}function Ir(_0x5dd301,_0x4086cd,_0x33cdbc,_0x4e0bf5,_0x3a96eb){const _0x136c21=_0xf86c5a;var _0xa122a3,_0x29879a,_0x3756c9,_0x40affd;const _0x202572=[_0x5dd301[_0x136c21(0x326)]((_0x13a278,_0xbb1c8e)=>{const _0x82623f=_0x136c21;var _0x15e954;const {id:_0x12deaa}=_0x13a278,{id:_0x59b4d8,type:_0x1dd3d0}=_0xbb1c8e,_0x1ce947=(_0x15e954=_0x13a278[_0x82623f(0x2e1)])!=null?_0x15e954:{'actions':null},_0x27cc32=_0xbb1c8e[_0x82623f(0x2e1)];if(_0x12deaa&&_0x12deaa!==_0x59b4d8)throw new Error(_0x82623f(0x295)+_0x12deaa+_0x82623f(0x3be)+_0x59b4d8+'.');return{..._0x13a278,'id':_0x59b4d8,'type':_0x1dd3d0,'params':{'unitId':_0x27cc32[_0x82623f(0x25d)],'textRanges':_0x27cc32[_0x82623f(0x2f4)],'actions':_0x1d6dc3[_0x82623f(0x154)](_0x1ce947[_0x82623f(0x3e1)],_0x27cc32[_0x82623f(0x3e1)])}};},{})],_0x2af378=(_0x29879a=(_0xa122a3=_0x3a96eb[_0x136c21(0x1a7)]())==null?void 0x0:_0xa122a3[_0x136c21(0x2b2)])!=null?_0x29879a:'unknown',_0x54cca0=(_0x40affd=(_0x3756c9=_0x3a96eb[_0x136c21(0x1a7)]())==null?void 0x0:_0x3756c9[_0x136c21(0x192)])!=null?_0x40affd:_0x136c21(0x433);return{'changeset':{'unitID':_0x4086cd,'type':_0xe9c082(_0x33cdbc['getUnitType'](_0x4086cd)),'baseRev':_0x4e0bf5[_0x136c21(0x3bd)](_0x4086cd),'revision':0x0,'userID':_0x2af378,'memberID':_0x54cca0,'mutations':_0x202572},'pendingMutations':[]};}const Er={'id':_0xbc7763['id'],'type':_0x19c41e[_0xf86c5a(0x108)],'params':{}};var Cr=Object['defineProperty'],br=Object['getOwnPropertyDescriptor'],_e=(_0x566755,_0x2a919e,_0x406bed,_0x29310e)=>{const _0x22941b=_0xf86c5a;for(var _0x1a6f5f=_0x29310e>0x1?void 0x0:_0x29310e?br(_0x2a919e,_0x406bed):_0x2a919e,_0x2319cd=_0x566755[_0x22941b(0x28c)]-0x1,_0x5a4922;_0x2319cd>=0x0;_0x2319cd--)(_0x5a4922=_0x566755[_0x2319cd])&&(_0x1a6f5f=(_0x29310e?_0x5a4922(_0x2a919e,_0x406bed,_0x1a6f5f):_0x5a4922(_0x1a6f5f))||_0x1a6f5f);return _0x29310e&&_0x1a6f5f&&Cr(_0x2a919e,_0x406bed,_0x1a6f5f),_0x1a6f5f;},m=(_0x13e166,_0x2728f2)=>(_0x5a2018,_0x40af21)=>_0x2728f2(_0x5a2018,_0x40af21,_0x13e166),P=(_0x5d3fb5=>(_0x5d3fb5[_0xf86c5a(0x239)]=_0xf86c5a(0x32b),_0x5d3fb5['SYNCED']=_0xf86c5a(0x2aa),_0x5d3fb5[_0xf86c5a(0x3fe)]='pending',_0x5d3fb5[_0xf86c5a(0x120)]=_0xf86c5a(0x34e),_0x5d3fb5[_0xf86c5a(0x14c)]=_0xf86c5a(0x33a),_0x5d3fb5['FETCH_MISS']=_0xf86c5a(0x322),_0x5d3fb5[_0xf86c5a(0x1d4)]='conflict',_0x5d3fb5['OFFLINE']=_0xf86c5a(0x123),_0x5d3fb5))(P||{});class ue{constructor(_0x1c416d,_0x230fc8,_0x575db3,_0x173ad8,_0x3c3a60,_0x26f784,_0x22ee6e,_0xc01cb,_0x5d797d){const _0x423f8d=_0xf86c5a;l(this,_0x423f8d(0x25b),null),l(this,_0x423f8d(0x26a),[]),(this[_0x423f8d(0x427)]=_0x1c416d,this[_0x423f8d(0x246)]=_0x230fc8,this['_handler']=_0x3c3a60,this['_commandService']=_0x26f784,this[_0x423f8d(0x17b)]=_0x22ee6e,this['_revisionService']=_0xc01cb,this[_0x423f8d(0x373)]=_0x5d797d,this[_0x423f8d(0x25b)]=_0x575db3,this['_pendingMutations']=_0x173ad8);}[_0xf86c5a(0x2ea)](_0x3df124){const _0x194ae4=_0xf86c5a,_0x5debbc=this[_0x194ae4(0x32c)][_0x194ae4(0x3bd)](this[_0x194ae4(0x427)]);return _0x3df124[_0x194ae4(0x31b)]>_0x5debbc+0x1?(this[_0x194ae4(0x43a)][_0x194ae4(0x454)]({'from':_0x5debbc,'to':_0x3df124[_0x194ae4(0x31b)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x7d37c7){const _0x531d8a=_0xf86c5a;this[_0x531d8a(0x17b)][_0x531d8a(0x40c)](this[_0x531d8a(0x427)],_0x7d37c7);}[_0xf86c5a(0x39e)](_0x3e0f3e){const _0x3640b2=_0xf86c5a;var _0x4b00f9,_0x31782a;(_0x31782a=(_0x4b00f9=this['_handler'])[_0x3640b2(0x1ed)])==null||_0x31782a[_0x3640b2(0x1ce)](_0x4b00f9,_0x3e0f3e);}[_0xf86c5a(0x229)](_0x3c7934){const _0x2fcd53=_0xf86c5a;var _0x41f642,_0x25f42e;return(_0x25f42e=(_0x41f642=this['_handler'])[_0x2fcd53(0x43e)])==null?void 0x0:_0x25f42e[_0x2fcd53(0x1ce)](_0x41f642,_0x3c7934);}['_transformRemoteChangesetByIMECache'](_0x39e9f7){const _0x30aa05=_0xf86c5a;var _0x31d59,_0x16c44b,_0x1e3c23;return(_0x1e3c23=(_0x16c44b=(_0x31d59=this[_0x30aa05(0x43a)])[_0x30aa05(0x288)])==null?void 0x0:_0x16c44b[_0x30aa05(0x1ce)](_0x31d59,_0x39e9f7))!=null?_0x1e3c23:_0x39e9f7;}[_0xf86c5a(0x24b)](_0x5a6f2d){const _0x562bb9=_0xf86c5a;var _0x12f248,_0x15792f;if(this['type']===k[_0x562bb9(0x320)]){const {unitID:_0x10f0dc,mutations:_0x1cfefa,memberID:_0x4ef000}=_0x5a6f2d,_0x1ece2b=_0x1cfefa[0x0][_0x562bb9(0x2e1)][_0x562bb9(0x2f4)];Array['isArray'](_0x1ece2b)&&_0x1ece2b[_0x562bb9(0x28c)]>0x0&&((_0x15792f=(_0x12f248=this[_0x562bb9(0x43a)])['onSyncEditingCollabCursor'])==null||_0x15792f['call'](_0x12f248,{'unitID':_0x10f0dc,'memberID':_0x4ef000,'textRanges':_0x1ece2b}));}}['_updateLocalCache'](){const _0x4ec868=_0xf86c5a;this[_0x4ec868(0x373)][_0x4ec868(0x34d)](this[_0x4ec868(0x427)],this[_0x4ec868(0x246)],this[_0x4ec868(0x25b)],this[_0x4ec868(0x26a)]);}[_0xf86c5a(0xf4)](){const _0x2c5ca2=_0xf86c5a;return this[_0x2c5ca2(0x32c)][_0x2c5ca2(0x3bd)](this[_0x2c5ca2(0x427)]);}[_0xf86c5a(0x3a8)](){this['_revisionService']['incrementRevOfUnit'](this['unitID']);}[_0xf86c5a(0x38d)](_0x24354d){const _0x348b91=_0xf86c5a;var _0x4eadbc;const _0x177f69=this[_0x348b91(0x1c2)](_0x24354d),_0x1784e0=_0x240915(_0x177f69['mutations'],this[_0x348b91(0x456)],{'fromCollab':!0x0});if(!_0x1784e0[_0x348b91(0x467)])throw _0x1784e0[_0x348b91(0x3a5)]instanceof Error?_0x1784e0[_0x348b91(0x3a5)]:new Error((_0x4eadbc=_0x1784e0[_0x348b91(0x3a5)])!=null?_0x4eadbc:_0x348b91(0x141));this['_transformIMECache'](_0x177f69),this[_0x348b91(0x194)](_0x24354d),this['_transformSelections'](_0x177f69),this[_0x348b91(0x24b)](_0x177f69),this['_incrementRevisionNumber']();}}let pe=class extends ue{constructor(_0x5cc4ff,_0x1bcad6,_0x46aac3,_0x4d02c9,_0x256ce9,_0x10e26d,_0x1760af,_0x55e2f3,_0x48ab08,_0x3d80a5){const _0x19bb17=_0xf86c5a;super(_0x5cc4ff,_0x1bcad6,null,[],_0x46aac3,_0x55e2f3,_0x1760af,_0x4d02c9,_0x256ce9),l(this,_0x19bb17(0x29a),'synced'),(this[_0x19bb17(0x22b)]=_0x10e26d,this['_logService']=_0x48ab08,this[_0x19bb17(0x235)]=_0x3d80a5);}[_0xf86c5a(0x2d3)](_0x5020af){const _0x298fab=_0xf86c5a,_0x33cc66=this[_0x298fab(0x22b)][_0x298fab(0x45e)](X,this[_0x298fab(0x427)],this['type'],[_0x5020af],this[_0x298fab(0x43a)]);return _0x33cc66[_0x298fab(0x272)](),_0x33cc66[_0x298fab(0x311)](),_0x33cc66;}[_0xf86c5a(0x19d)](_0x38ff1d){const _0x15bf0d=_0xf86c5a;if(this[_0x15bf0d(0x2ea)](_0x38ff1d))return this[_0x15bf0d(0x22b)][_0x15bf0d(0x45e)](B,this[_0x15bf0d(0x427)],this[_0x15bf0d(0x246)],null,[],null,[_0x38ff1d],this[_0x15bf0d(0x43a)]);try{const _0x5a82cc=this[_0x15bf0d(0x235)][_0x15bf0d(0x1e7)](_0x38ff1d,[Er]);if(_0x1a8f7d(_0x5a82cc)){const {c1Prime:_0x2a1cc3}=_0x5a82cc;return this[_0x15bf0d(0x38d)](_0x2a1cc3),this;}throw _0x5a82cc[_0x15bf0d(0x3a5)];}catch(_0x5d6a61){return this[_0x15bf0d(0x435)][_0x15bf0d(0x3a5)](_0x5d6a61),this[_0x15bf0d(0x447)](!0x1);}}['_onConflict'](_0x5b0e46){const _0x2a7422=_0xf86c5a;return this[_0x2a7422(0x22b)][_0x2a7422(0x45e)](ee,this[_0x2a7422(0x427)],this[_0x2a7422(0x246)],null,[],this[_0x2a7422(0x43a)],_0x5b0e46);}['onRemoteAck'](){const _0x2b1d9a=_0xf86c5a;throw new Error(_0x2b1d9a(0x31d));}[_0xf86c5a(0x37b)](){const _0x23456d=_0xf86c5a;throw new Error(_0x23456d(0x41c));}[_0xf86c5a(0x22c)](){const _0x1b2f58=_0xf86c5a;return this[_0x1b2f58(0x22b)][_0x1b2f58(0x45e)](te,this[_0x1b2f58(0x427)],this[_0x1b2f58(0x246)],null,[],this[_0x1b2f58(0x43a)]);}[_0xf86c5a(0x3b3)](){return this;}[_0xf86c5a(0x434)](){const _0x233bd2=_0xf86c5a;throw new Error(_0x233bd2(0x37c));}[_0xf86c5a(0x3db)](){const _0x1aef9a=_0xf86c5a,_0x37b55e=this[_0x1aef9a(0x32c)][_0x1aef9a(0x3bd)](this['unitID']);return this[_0x1aef9a(0x43a)]['onMissingChangesets']({'from':_0x37b55e,'to':0x0}),this['_injector'][_0x1aef9a(0x45e)](B,this['unitID'],this['type'],null,[],null,[],this[_0x1aef9a(0x43a)]);}};pe=_e([m(0x3,_0x370f8c(_0x4a413b)),m(0x4,_0x370f8c(w)),m(0x5,_0x370f8c(_0x595e81)),m(0x6,_0x47fb5c),m(0x7,_0x225d18),m(0x8,_0x593f47),m(0x9,_0x285caf)],pe);let X=class extends ue{constructor(_0x4ac1c2,_0xef2a7f,_0x1e733d,_0x5ab210,_0x246357,_0x528051,_0x5e7522,_0x139680,_0x269144,_0x3bb5ab,_0x248d02,_0xb01316,_0x21fecf,_0x5930ae){const _0x14da02=_0xf86c5a;super(_0x4ac1c2,_0xef2a7f,null,_0x1e733d,_0x5ab210,_0x3bb5ab,_0x5930ae,_0x528051,_0x5e7522),l(this,_0x14da02(0x29a),_0x14da02(0x2de)),l(this,_0x14da02(0x205),null),l(this,_0x14da02(0x1f9),null),(this['_injector']=_0x246357,this[_0x14da02(0x34f)]=_0x139680,this[_0x14da02(0x435)]=_0x269144,this[_0x14da02(0x2ae)]=_0x248d02,this['_transformService']=_0xb01316,this[_0x14da02(0x358)]=_0x21fecf);}[_0xf86c5a(0x2d3)](_0xf35e0c){const _0xdfed5b=_0xf86c5a;return this['_pendingMutations']['push'](_0xf35e0c),this[_0xdfed5b(0x311)](),this;}['onRemoteChangeset'](_0x49c61c){const _0x5622dd=_0xf86c5a;if(this['_checkMissing'](_0x49c61c))return this[_0x5622dd(0x3e5)](),this[_0x5622dd(0x22b)][_0x5622dd(0x45e)](B,this[_0x5622dd(0x427)],this[_0x5622dd(0x246)],null,this['_pendingMutations'],null,[_0x49c61c],this[_0x5622dd(0x43a)]);try{const _0x37025f=this[_0x5622dd(0x235)][_0x5622dd(0x1e7)](_0x49c61c,this[_0x5622dd(0x26a)]);if(_0x1a8f7d(_0x37025f)){const {c1Prime:_0x317c07,m2Prime:_0x26102f}=_0x37025f;this['_executeRemoteChangeset'](_0x317c07);const _0x85d81=this[_0x5622dd(0x22b)]['createInstance'](X,this[_0x5622dd(0x427)],this[_0x5622dd(0x246)],_0x26102f,this[_0x5622dd(0x43a)]);return this[_0x5622dd(0x3e5)](),_0x85d81['_schedule'](this[_0x5622dd(0x205)]?Math[_0x5622dd(0x2ee)](0x0,new Date()[_0x5622dd(0x222)]()-this[_0x5622dd(0x205)]):this[_0x5622dd(0x430)]()),_0x85d81;}throw _0x37025f['error'];}catch(_0x34fec4){return this[_0x5622dd(0x435)][_0x5622dd(0x3a5)](_0x34fec4),this[_0x5622dd(0x447)](!0x1);}}[_0xf86c5a(0xea)](){const _0x3da646=_0xf86c5a;throw new Error(_0x3da646(0x3e4));}[_0xf86c5a(0x37b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xf86c5a(0x22c)](){const _0x4a02ff=_0xf86c5a;return this[_0x4a02ff(0x3e5)](),this[_0x4a02ff(0x22b)][_0x4a02ff(0x45e)](te,this[_0x4a02ff(0x427)],this[_0x4a02ff(0x246)],null,this[_0x4a02ff(0x26a)],this['_handler']);}[_0xf86c5a(0x3b3)](){return this;}[_0xf86c5a(0x272)](_0x5deead){const _0x37c538=_0xf86c5a,_0xfe5df1=_0x5deead!=null?_0x5deead:this['_getSendChangesetTimeout']();this['_scheduleTimestamp']=new Date()[_0x37c538(0x222)](),this[_0x37c538(0x1f9)]=window[_0x37c538(0x21e)](()=>{const _0x4cef7b=_0x37c538;this[_0x4cef7b(0x3e5)]();let _0x1443e1=null;switch(this['type']){case k[_0x4cef7b(0x1af)]:{_0x1443e1=ds(this[_0x4cef7b(0x26a)],this[_0x4cef7b(0x427)],this['_univerInstanceService'],this['_revisionService'],this[_0x4cef7b(0x34f)]);break;}case k[_0x4cef7b(0x320)]:{this[_0x4cef7b(0x26a)]['every'](_0x4361bf=>_0x4361bf['id']===_0x21b448['id'])?_0x1443e1=Ir(this[_0x4cef7b(0x26a)],this[_0x4cef7b(0x427)],this[_0x4cef7b(0x358)],this['_revisionService'],this[_0x4cef7b(0x34f)]):_0x1443e1=ds(this[_0x4cef7b(0x26a)],this['unitID'],this[_0x4cef7b(0x358)],this[_0x4cef7b(0x32c)],this[_0x4cef7b(0x34f)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4cef7b(0x246)]+_0x4cef7b(0x3b4));}const {changeset:_0x3d0970,pendingMutations:_0x413776}=_0x1443e1;this['_handler'][_0x4cef7b(0x43b)](_0x3d0970);const _0x4bb80d=_0x413776[_0x4cef7b(0x28c)]?this['_injector'][_0x4cef7b(0x45e)](q,this['unitID'],this[_0x4cef7b(0x246)],_0x3d0970,_0x413776,this[_0x4cef7b(0x43a)]):this[_0x4cef7b(0x22b)][_0x4cef7b(0x45e)](Q,this[_0x4cef7b(0x427)],this[_0x4cef7b(0x246)],_0x3d0970,this[_0x4cef7b(0x43a)]);_0x4bb80d[_0x4cef7b(0x311)](),this['_handler'][_0x4cef7b(0x101)](this,_0x4bb80d);},_0xfe5df1);}[_0xf86c5a(0x430)](){const _0x3b8c7f=_0xf86c5a;var _0x1c6b60;const _0x5f2526=this[_0x3b8c7f(0x2ae)][_0x3b8c7f(0x1bf)]($);return(_0x1c6b60=_0x5f2526==null?void 0x0:_0x5f2526['sendChangesetTimeout'])!=null?_0x1c6b60:In;}[_0xf86c5a(0x434)](){const _0x41a80c=_0xf86c5a;throw new Error(_0x41a80c(0x232));}[_0xf86c5a(0x3e5)](){const _0x19d653=_0xf86c5a;this[_0x19d653(0x1f9)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x19d653(0x1f9)]=null);}[_0xf86c5a(0x447)](_0x4bc4cf){const _0x15e2a7=_0xf86c5a;return this[_0x15e2a7(0x3e5)](),this[_0x15e2a7(0x22b)][_0x15e2a7(0x45e)](ee,this[_0x15e2a7(0x427)],this[_0x15e2a7(0x246)],null,this[_0x15e2a7(0x26a)],this[_0x15e2a7(0x43a)],_0x4bc4cf);}};X=_e([m(0x4,_0x370f8c(_0x595e81)),m(0x5,_0x370f8c(_0x4a413b)),m(0x6,_0x370f8c(w)),m(0x7,_0x370f8c(ce)),m(0x8,_0x593f47),m(0x9,_0x225d18),m(0xa,_0x5bc7de),m(0xb,_0x285caf),m(0xc,_0x5edd3d),m(0xd,_0x47fb5c)],X);let Q=class extends ue{constructor(_0x4f28b8,_0x505ab6,_0x3c4a45,_0xf20e8,_0x23e75c,_0x5850e2,_0x2a1e2f,_0x2fe106,_0x512332,_0x254c04,_0x5bfddf){const _0xc5254c=_0xf86c5a;super(_0x4f28b8,_0x505ab6,_0x3c4a45,[],_0xf20e8,_0x2fe106,_0x5bfddf,_0x5850e2,_0x2a1e2f),l(this,'status',_0xc5254c(0x34e)),(this[_0xc5254c(0x22b)]=_0x23e75c,this[_0xc5254c(0x435)]=_0x512332,this[_0xc5254c(0x235)]=_0x254c04);}['appendMutation'](_0x345ab2){const _0x5b0a44=_0xf86c5a,_0x27d77e=this['_injector'][_0x5b0a44(0x45e)](q,this[_0x5b0a44(0x427)],this[_0x5b0a44(0x246)],this[_0x5b0a44(0x25b)],[_0x345ab2],this['_handler']);return _0x27d77e[_0x5b0a44(0x311)](),_0x27d77e;}[_0xf86c5a(0x19d)](_0xdb5c3f){const _0x36a66f=_0xf86c5a;if(this[_0x36a66f(0x2ea)](_0xdb5c3f))return this[_0x36a66f(0x22b)][_0x36a66f(0x45e)](B,this['unitID'],this[_0x36a66f(0x246)],this[_0x36a66f(0x25b)],[],null,[_0xdb5c3f],this[_0x36a66f(0x43a)]);try{const _0x4586ca=this[_0x36a66f(0x235)][_0x36a66f(0x2cd)]([_0xdb5c3f],[this[_0x36a66f(0x25b)]],!0x1);if(_0x23b874(_0x4586ca)){const {c1Prime:_0x54d706,c2Prime:_0x2d42f0}=_0x4586ca;this[_0x36a66f(0x38d)](_0x54d706[0x0]),_0x2d42f0[0x0][_0x36a66f(0x3af)]=this[_0x36a66f(0xf4)]();const _0x204f9a=this[_0x36a66f(0x22b)]['createInstance'](Q,this[_0x36a66f(0x427)],this['type'],_0x2d42f0[0x0],this['_handler']);return _0x204f9a[_0x36a66f(0x311)](),_0x204f9a;}return this[_0x36a66f(0x447)](!0x1);}catch(_0x5d3599){return this[_0x36a66f(0x435)][_0x36a66f(0x3a5)](_0x5d3599),this[_0x36a66f(0x447)](!0x1);}}[_0xf86c5a(0xea)](_0x1bc2af){const _0x216eea=_0xf86c5a,_0x276dd2=this[_0x216eea(0x32c)][_0x216eea(0x3bd)](this[_0x216eea(0x427)]);if(_0x1bc2af[_0x216eea(0x31b)]<_0x276dd2-0x1)return this;if(this[_0x216eea(0x2ea)](_0x1bc2af))return this[_0x216eea(0x22b)]['createInstance'](B,this[_0x216eea(0x427)],this['type'],null,[],this[_0x216eea(0x25b)],[],this[_0x216eea(0x43a)]);this[_0x216eea(0x3a8)]();const _0x4ffcaf=this[_0x216eea(0x22b)][_0x216eea(0x45e)](pe,this[_0x216eea(0x427)],this[_0x216eea(0x246)],this[_0x216eea(0x43a)]);return _0x4ffcaf[_0x216eea(0x311)](),_0x4ffcaf;}[_0xf86c5a(0x37b)](_0x5b6ac9){const _0x23b9ba=_0xf86c5a;return this[_0x23b9ba(0x447)](!!(_0x5b6ac9!=null&&_0x5b6ac9['isPermissionRej']));}[_0xf86c5a(0x22c)](){const _0x5956c7=_0xf86c5a;return this[_0x5956c7(0x22b)][_0x5956c7(0x45e)](te,this[_0x5956c7(0x427)],this[_0x5956c7(0x246)],this['_awaitingChangeset'],[],this[_0x5956c7(0x43a)]);}[_0xf86c5a(0x3b3)](){return this;}[_0xf86c5a(0x434)](){const _0xe15b98=_0xf86c5a;this[_0xe15b98(0x43a)][_0xe15b98(0x43b)](this['_awaitingChangeset']);}[_0xf86c5a(0x447)](_0x321175){const _0x313a5f=_0xf86c5a;return this['_injector'][_0x313a5f(0x45e)](ee,this['unitID'],this[_0x313a5f(0x246)],this['_awaitingChangeset'],[],this[_0x313a5f(0x43a)],_0x321175);}};Q=_e([m(0x4,_0x370f8c(_0x595e81)),m(0x5,_0x370f8c(_0x4a413b)),m(0x6,_0x370f8c(w)),m(0x7,_0x225d18),m(0x8,_0x593f47),m(0x9,_0x285caf),m(0xa,_0x47fb5c)],Q);let q=class extends ue{constructor(_0x178506,_0x29007d,_0x1ba70f,_0x4a63a2,_0x2d072f,_0x9e78a7,_0x54241a,_0x17c167,_0x51d6ce,_0x3dac06,_0xd02363,_0x8496da){const _0x4c13d1=_0xf86c5a;super(_0x178506,_0x29007d,_0x1ba70f,_0x4a63a2,_0x2d072f,_0x51d6ce,_0x8496da,_0x54241a,_0x17c167),l(this,_0x4c13d1(0x29a),'awaiting_with_pending'),(this['_injector']=_0x9e78a7,this[_0x4c13d1(0x435)]=_0x3dac06,this[_0x4c13d1(0x235)]=_0xd02363);}[_0xf86c5a(0x2d3)](_0x4e3cd1){const _0xd61132=_0xf86c5a;return this['_pendingMutations'][_0xd61132(0x106)](_0x4e3cd1),this;}[_0xf86c5a(0x19d)](_0x1eebed){const _0x1e75d7=_0xf86c5a;if(this[_0x1e75d7(0x2ea)](_0x1eebed))return this[_0x1e75d7(0x22b)][_0x1e75d7(0x45e)](B,this['unitID'],this['type'],this[_0x1e75d7(0x25b)],this['_pendingMutations'],null,[_0x1eebed],this[_0x1e75d7(0x43a)]);try{const _0x35c476=this[_0x1e75d7(0x235)][_0x1e75d7(0x2cd)]([_0x1eebed],[this[_0x1e75d7(0x25b)]],!0x1);if(_0x23b874(_0x35c476)){const {c1Prime:_0x240996,c2Prime:_0x3da4c0}=_0x35c476,_0x4d64ce=this[_0x1e75d7(0x235)][_0x1e75d7(0x1e7)](_0x240996[0x0],this[_0x1e75d7(0x26a)]);if(_0x1a8f7d(_0x4d64ce)){const {c1Prime:_0x54183a,m2Prime:_0x346943}=_0x4d64ce;return this[_0x1e75d7(0x38d)](_0x54183a),_0x3da4c0[0x0][_0x1e75d7(0x3af)]=this[_0x1e75d7(0xf4)](),this[_0x1e75d7(0x22b)][_0x1e75d7(0x45e)](q,this[_0x1e75d7(0x427)],this[_0x1e75d7(0x246)],_0x3da4c0[0x0],_0x346943,this['_handler']);}throw _0x4d64ce[_0x1e75d7(0x3a5)];}throw _0x35c476['error'];}catch(_0x14340a){return this[_0x1e75d7(0x435)]['error'](_0x14340a),this['_onConflict'](!0x1);}}[_0xf86c5a(0xea)](_0x58b7fa){const _0x13f824=_0xf86c5a;if(this['_checkMissing'](_0x58b7fa))return this[_0x13f824(0x22b)][_0x13f824(0x45e)](B,this['unitID'],this[_0x13f824(0x246)],null,this[_0x13f824(0x26a)],this[_0x13f824(0x25b)],[],this[_0x13f824(0x43a)]);this[_0x13f824(0x3a8)]();const _0x49d1c2=this[_0x13f824(0x22b)][_0x13f824(0x45e)](X,this[_0x13f824(0x427)],this[_0x13f824(0x246)],this['_pendingMutations'],this[_0x13f824(0x43a)]);return _0x49d1c2[_0x13f824(0x272)](),_0x49d1c2[_0x13f824(0x311)](),_0x49d1c2;}[_0xf86c5a(0x37b)](_0x497731){const _0x4bbbde=_0xf86c5a;return this[_0x4bbbde(0x447)](!!(_0x497731!=null&&_0x497731[_0x4bbbde(0x13a)]));}[_0xf86c5a(0x22c)](){const _0x442b74=_0xf86c5a;return this['_injector'][_0x442b74(0x45e)](te,this[_0x442b74(0x427)],this[_0x442b74(0x246)],this[_0x442b74(0x25b)],this['_pendingMutations'],this['_handler']);}[_0xf86c5a(0x3b3)](){return this;}[_0xf86c5a(0x434)](){const _0x50dfc8=_0xf86c5a;this['_handler'][_0x50dfc8(0x43b)](this[_0x50dfc8(0x25b)]);}[_0xf86c5a(0x447)](_0x4da617){const _0xa49dcc=_0xf86c5a;return this['_injector'][_0xa49dcc(0x45e)](ee,this[_0xa49dcc(0x427)],this[_0xa49dcc(0x246)],null,this[_0xa49dcc(0x26a)],this[_0xa49dcc(0x43a)],_0x4da617);}};q=_e([m(0x5,_0x370f8c(_0x595e81)),m(0x6,_0x370f8c(_0x4a413b)),m(0x7,_0x370f8c(w)),m(0x8,_0x225d18),m(0x9,_0x593f47),m(0xa,_0x285caf),m(0xb,_0x47fb5c)],q);let ee=class extends ue{constructor(_0x4cd429,_0x15f259,_0x4d94c4,_0x29a745,_0x53a18a,_0x1ff839=!0x1,_0x15a5a2,_0x545314,_0x5bb726,_0x354a09,_0x4367bd,_0x13834d,_0x71eeba){const _0x402a67=_0xf86c5a;super(_0x4cd429,_0x15f259,_0x4d94c4,_0x29a745,_0x53a18a,_0x545314,_0x5bb726,_0x4367bd,_0x354a09),l(this,_0x402a67(0x29a),'conflict'),(this[_0x402a67(0x347)]=_0x1ff839,this[_0x402a67(0x13f)]=_0x15a5a2,this['_localeService']=_0x13834d,this[_0x402a67(0x171)]=_0x71eeba,this[_0x402a67(0x1c9)](),this[_0x402a67(0x2b3)](),this[_0x402a67(0x1d2)]());}[_0xf86c5a(0x2d3)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['toggleOffline'](){return this;}[_0xf86c5a(0x3b3)](){return this;}[_0xf86c5a(0x434)](){const _0x220099=_0xf86c5a;throw new Error(_0x220099(0x287));}[_0xf86c5a(0x2b3)](){const _0x19124c=_0xf86c5a;this[_0x19124c(0x373)][_0x19124c(0x34d)](this[_0x19124c(0x427)],this[_0x19124c(0x246)],null,[]);}['_showConflictNotification'](){const _0x58945c=_0xf86c5a;this[_0x58945c(0x347)]?this[_0x58945c(0x171)][_0x58945c(0x265)]({'title':this[_0x58945c(0x1f8)]['t'](_0x58945c(0x234)),'content':this[_0x58945c(0x1f8)]['t'](_0x58945c(0x390)),'type':_0x58945c(0x3a5),'duration':0x0}):this[_0x58945c(0x171)][_0x58945c(0x265)]({'title':this[_0x58945c(0x1f8)]['t'](_0x58945c(0x226)),'content':this['_localeService']['t'](_0x58945c(0x1f0)),'type':_0x58945c(0x3a5),'duration':0x0});}[_0xf86c5a(0x1d2)](){const _0x481c0e=_0xf86c5a;this[_0x481c0e(0x13f)]['updatePermissionPoint'](new _0x365664(this['unitID'])['id'],!0x1);}};ee=_e([m(0x6,_0x370f8c(_0x2f69f2)),m(0x7,_0x225d18),m(0x8,_0x47fb5c),m(0x9,_0x370f8c(w)),m(0xa,_0x370f8c(_0x4a413b)),m(0xb,_0x370f8c(_0x2673bf)),m(0xc,_0x7bfd4b)],ee);let te=class extends ue{constructor(_0x39020f,_0x409005,_0xf85818,_0x353061,_0x537eeb,_0x2a046c,_0x1e7b5d,_0x5b7cbc,_0x26548f,_0x39ce84){const _0x2949a1=_0xf86c5a;super(_0x39020f,_0x409005,_0xf85818,_0x353061,_0x537eeb,_0x26548f,_0x39ce84,_0x1e7b5d,_0x5b7cbc),l(this,_0x2949a1(0x29a),_0x2949a1(0x123)),this[_0x2949a1(0x22b)]=_0x2a046c;}['appendMutation'](_0x322683){const _0x2fe4e9=_0xf86c5a;return this['_pendingMutations']['push'](_0x322683),this[_0x2fe4e9(0x311)](),this;}[_0xf86c5a(0x19d)](_0x1db349){const _0x5b0a77=_0xf86c5a;throw new Error(_0x5b0a77(0x1d3));}[_0xf86c5a(0xea)](){const _0x39c14f=_0xf86c5a;throw new Error(_0x39c14f(0x464));}['onRemoteRej'](){const _0xca47a6=_0xf86c5a;throw new Error(_0xca47a6(0x142));}[_0xf86c5a(0x22c)](){return this;}[_0xf86c5a(0x3b3)](){const {_injector:_0x4abb3c,_pendingMutations:_0x55a608,_awaitingChangeset:_0x788ef3,unitID:_0x594b55,_handler:_0x2a1969,type:_0x1102c0}=this,_0xbf1228=Ws(_0x4abb3c,_0x594b55,_0x1102c0,_0x788ef3,_0x55a608,_0x2a1969);return _0xbf1228 instanceof X?_0xbf1228['_schedule']():(_0xbf1228 instanceof q||_0xbf1228 instanceof Q)&&_0xbf1228['resend'](),_0xbf1228;}['resend'](){const _0x1f4d84=_0xf86c5a;throw new Error(_0x1f4d84(0x3aa));}};te=_e([m(0x5,_0x370f8c(_0x595e81)),m(0x6,_0x370f8c(_0x4a413b)),m(0x7,_0x370f8c(w)),m(0x8,_0x225d18),m(0x9,_0x47fb5c)],te);let B=class extends ue{constructor(_0x2080c4,_0x28516f,_0x20dcf8,_0x3e1f9a,_0x38fdf3,_0x48f740,_0x24ca38,_0x522065,_0x1ddfb6,_0xc9619f,_0x2e0fbe,_0x2cfd48,_0xf2903,_0x2c0df0){const _0x3837be=_0xf86c5a;super(_0x2080c4,_0x28516f,_0x20dcf8,_0x3e1f9a,_0x24ca38,_0x2cfd48,_0xf2903,_0x1ddfb6,_0xc9619f),l(this,'status',_0x3837be(0x322)),(this['_acknowledgedAwaitingChangeset']=_0x38fdf3,this[_0x3837be(0x351)]=_0x48f740,this[_0x3837be(0x22b)]=_0x522065,this['_logService']=_0x2e0fbe,this[_0x3837be(0x235)]=_0x2c0df0);}[_0xf86c5a(0x2ff)](_0x49d894){const _0x20ab7c=_0xf86c5a;try{const _0x4149f2=[..._0x49d894,...this['_queuedRemoteChangesets']],_0x364e00=[this[_0x20ab7c(0x25b)]||this[_0x20ab7c(0x1cb)]]['filter'](_0x35348c=>!!_0x35348c);let _0x2d01b9,_0x139eed;if(_0x364e00[_0x20ab7c(0x28c)]){const _0x4fcfcb=this[_0x20ab7c(0x235)][_0x20ab7c(0x2cd)](_0x4149f2,_0x364e00,!0x1);if(!_0x23b874(_0x4fcfcb))throw _0x4fcfcb[_0x20ab7c(0x3a5)];_0x2d01b9=_0x4fcfcb[_0x20ab7c(0x244)],_0x139eed=_0x4fcfcb[_0x20ab7c(0x1dd)];}else _0x2d01b9=_0x4149f2,_0x139eed=[];let _0x2840e0=this[_0x20ab7c(0x26a)];_0x2d01b9['forEach'](_0x4c0b1f=>{const _0x52f03b=_0x20ab7c;let _0x483bb8;if(_0x2840e0[_0x52f03b(0x28c)]){const _0x43f516=this[_0x52f03b(0x235)][_0x52f03b(0x1e7)](_0x4c0b1f,_0x2840e0);if(!_0x1a8f7d(_0x43f516))throw _0x43f516[_0x52f03b(0x3a5)];_0x483bb8=_0x43f516['c1Prime'],_0x2840e0=_0x43f516[_0x52f03b(0x3bb)];}else _0x483bb8=_0x4c0b1f;this[_0x52f03b(0x38d)](_0x483bb8);}),this['_acknowledgedAwaitingChangeset']&&this[_0x20ab7c(0x3a8)](),this[_0x20ab7c(0x25b)]&&_0x139eed[_0x20ab7c(0x28c)]&&(_0x139eed[0x0][_0x20ab7c(0x3af)]=this[_0x20ab7c(0xf4)]());let _0x2f6050;if(this[_0x20ab7c(0x25b)]&&_0x2840e0[_0x20ab7c(0x28c)]!==0x0)_0x2f6050=this['_injector'][_0x20ab7c(0x45e)](q,this[_0x20ab7c(0x427)],this[_0x20ab7c(0x246)],_0x139eed[0x0],_0x2840e0,this[_0x20ab7c(0x43a)]);else{if(this[_0x20ab7c(0x25b)]&&_0x2840e0['length']===0x0)_0x139eed[0x0][_0x20ab7c(0x3af)]=this[_0x20ab7c(0xf4)](),_0x2f6050=this[_0x20ab7c(0x22b)][_0x20ab7c(0x45e)](Q,this[_0x20ab7c(0x427)],this[_0x20ab7c(0x246)],_0x139eed[0x0],this[_0x20ab7c(0x43a)]);else{if(_0x2840e0[_0x20ab7c(0x28c)]!==0x0){const _0x56f06d=this[_0x20ab7c(0x22b)][_0x20ab7c(0x45e)](X,this[_0x20ab7c(0x427)],this[_0x20ab7c(0x246)],_0x2840e0,this[_0x20ab7c(0x43a)]);_0x56f06d['_schedule'](),_0x2f6050=_0x56f06d;}else _0x2f6050=this[_0x20ab7c(0x22b)][_0x20ab7c(0x45e)](pe,this[_0x20ab7c(0x427)],this[_0x20ab7c(0x246)],this[_0x20ab7c(0x43a)]);}}return _0x2f6050[_0x20ab7c(0x311)](),_0x2f6050;}catch(_0x1825ed){return this[_0x20ab7c(0x435)][_0x20ab7c(0x3a5)](_0x20ab7c(0x170),_0x20ab7c(0x1b8),_0x1825ed),this[_0x20ab7c(0x22b)][_0x20ab7c(0x45e)](ee,this[_0x20ab7c(0x427)],this['type'],this[_0x20ab7c(0x25b)],this[_0x20ab7c(0x26a)],this['_handler'],!0x1);}}[_0xf86c5a(0x434)](){const _0x41f3b0=_0xf86c5a;throw new Error(_0x41f3b0(0x124));}[_0xf86c5a(0x2d3)](_0x150554){const _0x42d43b=_0xf86c5a;return this[_0x42d43b(0x26a)][_0x42d43b(0x106)](_0x150554),this;}[_0xf86c5a(0x19d)](_0x2b6f9f){const _0x374efc=_0xf86c5a;return this[_0x374efc(0x351)][_0x374efc(0x106)](_0x2b6f9f),this;}[_0xf86c5a(0xea)](_0x1d2aca){const _0x8d0d8f=_0xf86c5a;if(this[_0x8d0d8f(0x25b)])return this[_0x8d0d8f(0x1cb)]=this[_0x8d0d8f(0x25b)],this[_0x8d0d8f(0x25b)]=null,this;throw new Error(_0x8d0d8f(0x224));}['onRemoteRej'](_0x8285aa){return this['_onConflict'](!!(_0x8285aa!=null&&_0x8285aa['isPermissionRej']));}['toggleOffline'](){const _0x3c4fc2=_0xf86c5a;return this['_injector']['createInstance'](te,this[_0x3c4fc2(0x427)],this[_0x3c4fc2(0x246)],this[_0x3c4fc2(0x25b)],this[_0x3c4fc2(0x26a)],this[_0x3c4fc2(0x43a)]);}[_0xf86c5a(0x3b3)](){return this;}[_0xf86c5a(0x447)](_0x1fed66){const _0x43b597=_0xf86c5a;return this[_0x43b597(0x22b)][_0x43b597(0x45e)](ee,this['unitID'],this[_0x43b597(0x246)],this['_awaitingChangeset'],this[_0x43b597(0x26a)],this[_0x43b597(0x43a)],_0x1fed66);}};B=_e([m(0x7,_0x370f8c(_0x595e81)),m(0x8,_0x370f8c(_0x4a413b)),m(0x9,_0x370f8c(w)),m(0xa,_0x593f47),m(0xb,_0x225d18),m(0xc,_0x47fb5c),m(0xd,_0x285caf)],B);function Ws(_0x12d3e5,_0x3483b4,_0x449b34,_0x585d9d,_0x379477,_0xdd22f5){const _0x4face9=_0xf86c5a;return _0x585d9d&&_0x379477[_0x4face9(0x28c)]?_0x12d3e5['createInstance'](q,_0x3483b4,_0x449b34,_0x585d9d,_0x379477,_0xdd22f5):_0x585d9d?_0x12d3e5[_0x4face9(0x45e)](Q,_0x3483b4,_0x449b34,_0x585d9d,_0xdd22f5):_0x379477['length']?_0x12d3e5[_0x4face9(0x45e)](X,_0x3483b4,_0x449b34,_0x379477,_0xdd22f5):_0x12d3e5[_0x4face9(0x45e)](pe,_0x3483b4,_0x449b34,_0xdd22f5);}var Tr=Object['defineProperty'],Rr=Object[_0xf86c5a(0x397)],Wt=(_0x5960f5,_0x24f3d8,_0x4ee5a9,_0x26319a)=>{const _0x49b91b=_0xf86c5a;for(var _0x29bbde=_0x26319a>0x1?void 0x0:_0x26319a?Rr(_0x24f3d8,_0x4ee5a9):_0x24f3d8,_0x5ba320=_0x5960f5[_0x49b91b(0x28c)]-0x1,_0x58feda;_0x5ba320>=0x0;_0x5ba320--)(_0x58feda=_0x5960f5[_0x5ba320])&&(_0x29bbde=(_0x26319a?_0x58feda(_0x24f3d8,_0x4ee5a9,_0x29bbde):_0x58feda(_0x29bbde))||_0x29bbde);return _0x26319a&&_0x29bbde&&Tr(_0x24f3d8,_0x4ee5a9,_0x29bbde),_0x29bbde;},p=(_0x50f0bf,_0x2a2e60)=>(_0x3affd8,_0x4a424d)=>_0x2a2e60(_0x3affd8,_0x4a424d,_0x50f0bf);let qe=class extends _0x27d368{constructor(_0x3c3e38,_0x50e0e2,_0x10b691,_0x38197c,_0x2a178e,_0x381065,_0x5e2705,_0x455632,_0x13b739,_0x152eb3,_0x350088,_0x311c19,_0x1b52bb){const _0x398fe8=_0xf86c5a;super(),l(this,_0x398fe8(0x18d),new _0x52cf76(null)),l(this,_0x398fe8(0x363),this[_0x398fe8(0x18d)][_0x398fe8(0x377)]()),l(this,_0x398fe8(0x20c)),l(this,_0x398fe8(0x461),!0x1),l(this,_0x398fe8(0x216),''),l(this,_0x398fe8(0x3ea),0x0),l(this,_0x398fe8(0x217),this['state$'][_0x398fe8(0x268)](_0x40b982(_0x4fb181=>_0x4fb181?_0x4fb181[_0x398fe8(0x29a)]:P[_0x398fe8(0x2a1)]),_0x5da9ca(0x1))),l(this,_0x398fe8(0x15b),!0x1),l(this,_0x398fe8(0x376),[]),(this['unitID']=_0x3c3e38,this['session']=_0x50e0e2,this[_0x398fe8(0x253)]=_0x10b691,this[_0x398fe8(0x22b)]=_0x38197c,this[_0x398fe8(0x373)]=_0x2a178e,this[_0x398fe8(0x245)]=_0x381065,this['_localeService']=_0x5e2705,this[_0x398fe8(0x32c)]=_0x455632,this[_0x398fe8(0x435)]=_0x13b739,this[_0x398fe8(0x456)]=_0x152eb3,this[_0x398fe8(0x122)]=_0x350088,this[_0x398fe8(0x13f)]=_0x311c19,this[_0x398fe8(0x172)]=_0x1b52bb);}get[_0xf86c5a(0x3c3)](){const _0x46931f=_0xf86c5a;return this[_0x46931f(0x20c)];}async[_0xf86c5a(0x18f)](){const _0x9f9743=_0xf86c5a;if(this[_0x9f9743(0x3c3)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x9f9743(0x30d)]();}[_0xf86c5a(0x3a1)](){return this['_collaborationPaused']=!0x0,_0x441a7c(()=>{const _0x4cd986=_0x556d;this[_0x4cd986(0x461)]=!0x1,this[_0x4cd986(0x296)]();});}[_0xf86c5a(0x20f)](_0x1a5b4c){const _0x23896f=_0xf86c5a;this[_0x23896f(0x20c)]=_0x1a5b4c,this[_0x23896f(0x18d)][_0x23896f(0x23f)](_0x1a5b4c);}async['_init'](){const _0x8bef40=_0xf86c5a;var _0x2a0e2c;this[_0x8bef40(0x20f)](await this[_0x8bef40(0x138)]()),this[_0x8bef40(0x172)]&&((_0x2a0e2c=this[_0x8bef40(0x172)])==null||_0x2a0e2c['editingUnit'](this[_0x8bef40(0x427)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x8bef40(0xf8)](this['unitID'])['subscribe'](_0x453ee8=>{const _0x579d44=_0x8bef40;this[_0x579d44(0x435)][_0x579d44(0x379)](_0x579d44(0x2fc),'editing\x20status\x20changed\x20to',_0x453ee8),_0x453ee8===Vs[_0x579d44(0x1b0)]?(this[_0x579d44(0x122)][_0x579d44(0x265)]({'content':this['_localeService']['t'](_0x579d44(0x45a)),'type':_0x424985[_0x579d44(0x3ae)]}),this[_0x579d44(0x13f)][_0x579d44(0x382)](new _0x365664(this['unitID'])['id'],!0x1)):this[_0x579d44(0x13f)]['updatePermissionPoint'](new _0x365664(this[_0x579d44(0x427)])['id'],!0x0);})));let _0x43b1ba=!0x1;return this[_0x8bef40(0x177)](this[_0x8bef40(0x195)][_0x8bef40(0xf6)][_0x8bef40(0x1c3)](_0x538541=>{const _0x243ee3=_0x8bef40;_0x538541===Y[_0x243ee3(0x2b4)]?this[_0x243ee3(0x2f6)](_0x43b1ba):_0x538541===Y[_0x243ee3(0x2a1)]&&(_0x43b1ba=!0x0,this['_toggleOffline']());})),this[_0x8bef40(0x177)](this[_0x8bef40(0x195)][_0x8bef40(0x3b1)]['subscribe'](_0x40b9ff=>{const _0x221167=_0x8bef40;try{switch(_0x40b9ff[_0x221167(0x26e)]){case _0x455562[_0x221167(0x305)]:{this[_0x221167(0x3cb)](_0x5d6100(_0x40b9ff['data']));break;}case _0x455562['CHANGESET_ACK']:{this['_onRemoteACK'](_0x40b9ff['data']);break;}case _0x455562['CHANGESET_REJ']:{this[_0x221167(0x15a)]();break;}case _0x455562[_0x221167(0x2ca)]:{this[_0x221167(0x22a)](_0x40b9ff[_0x221167(0x129)][_0x221167(0x1d9)]['map'](_0xe4ad52=>_0x5d6100(_0xe4ad52)));break;}case _0x455562[_0x221167(0x3f1)]:this[_0x221167(0x15a)]({'isPermissionRej':!0x0});}}catch(_0x335384){throw console[_0x221167(0x3a5)](_0x221167(0x1a5),_0x335384),_0x335384;}})),this['_state'];}[_0xf86c5a(0x26f)](){const _0x4ba2c8=_0xf86c5a;this[_0x4ba2c8(0x15b)]=!0x1;}[_0xf86c5a(0x12e)](){const _0x589e7f=_0xf86c5a;if(this[_0x589e7f(0x15b)])throw new Error('[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.');this[_0x589e7f(0x15b)]=!0x0;}[_0xf86c5a(0x2ab)](_0x30945e){const _0x5090d5=_0xf86c5a;this[_0x5090d5(0x12e)](),this[_0x5090d5(0x20f)](this[_0x5090d5(0x20c)][_0x5090d5(0x2d3)](_0x30945e)),this[_0x5090d5(0x26f)]();}[_0xf86c5a(0x3cb)](_0xa68d42){const _0x35dc24=_0xf86c5a;if(!(_0xa68d42[_0x35dc24(0x31b)]<=this['_revisionService'][_0x35dc24(0x3bd)](this[_0x35dc24(0x427)]))){if(this[_0x35dc24(0x461)]){this[_0x35dc24(0x376)][_0x35dc24(0x106)](_0xa68d42);return;}this[_0x35dc24(0x1c8)](_0xa68d42);}}[_0xf86c5a(0x296)](){const _0xdf561e=_0xf86c5a;this[_0xdf561e(0x376)][_0xdf561e(0x26c)](_0x5a3f95=>this[_0xdf561e(0x1c8)](_0x5a3f95)),this[_0xdf561e(0x376)]=[];}[_0xf86c5a(0x1c8)](_0x225f7d){const _0x1d6279=_0xf86c5a,_0x2661e0=this[_0x1d6279(0x245)][_0x1d6279(0x2bd)][_0x1d6279(0xe9)](this[_0x1d6279(0x245)][_0x1d6279(0x2bd)][_0x1d6279(0x360)]()['COMPRESS_MUTATION_APPLY'])(_0x225f7d['mutations'],null)||_0x225f7d[_0x1d6279(0x3c1)],_0x175769={..._0x225f7d,'mutations':_0x2661e0};this[_0x1d6279(0x12e)](),this['_updateState'](this[_0x1d6279(0x20c)]['onRemoteChangeset'](_0x175769)),this[_0x1d6279(0x26f)]();}['_onRemoteACK'](_0x30e5e4){const _0x553fb5=_0xf86c5a;this[_0x553fb5(0x12e)](),this[_0x553fb5(0x20f)](this[_0x553fb5(0x20c)][_0x553fb5(0xea)](_0x30e5e4)),this[_0x553fb5(0x26f)]();}[_0xf86c5a(0x15a)](_0x2d1310){const _0xca5942=_0xf86c5a;this[_0xca5942(0x12e)](),this[_0xca5942(0x20f)](this['_state'][_0xca5942(0x37b)](_0x2d1310)),this[_0xca5942(0x26f)]();}[_0xf86c5a(0x22a)](_0x212450){const _0x5c416d=_0xf86c5a;if(!(this['_state']instanceof B))throw new TypeError(_0x5c416d(0x3a7));const _0x3bab64=_0x212450[_0x5c416d(0x2c1)](_0xb31ae9=>{const _0x2b3915=_0x5c416d,_0x4c8cd4=this[_0x2b3915(0x245)]['interceptor'][_0x2b3915(0xe9)](this[_0x2b3915(0x245)][_0x2b3915(0x2bd)][_0x2b3915(0x360)]()['COMPRESS_MUTATION_APPLY'])(_0xb31ae9['mutations'],null)||_0xb31ae9['mutations'];return{..._0xb31ae9,'mutations':_0x4c8cd4};});this[_0x5c416d(0x12e)](),this[_0x5c416d(0x20f)](this['_state'][_0x5c416d(0x2ff)](_0x3bab64)),this[_0x5c416d(0x26f)]();}['_toggleOffline'](){const _0x593e0c=_0xf86c5a;this[_0x593e0c(0x12e)](),this[_0x593e0c(0x20f)](this[_0x593e0c(0x20c)]['toggleOffline']()),this[_0x593e0c(0x26f)]();}[_0xf86c5a(0x2f6)](_0x465092=!0x1){const _0x510d0b=_0xf86c5a;this['_lockTransition'](),this[_0x510d0b(0x20f)](this['_state'][_0x510d0b(0x3b3)]()),this[_0x510d0b(0x26f)]();const _0x398e53=this[_0x510d0b(0x20c)];_0x465092&&_0x398e53 instanceof pe&&(this[_0x510d0b(0x12e)](),this[_0x510d0b(0x20f)](_0x398e53[_0x510d0b(0x3db)]()),this[_0x510d0b(0x26f)]());}async[_0xf86c5a(0x138)](){return new Promise(_0x470dc6=>{const _0x4b328c=_0x556d;this[_0x4b328c(0x195)][_0x4b328c(0xf6)]['pipe'](_0x1978dc(0x1))[_0x4b328c(0x1c3)](async _0x10aa16=>{const _0x4b7ee8=_0x4b328c;_0x470dc6(await this['_createInitialStateImpl'](_0x10aa16===Y[_0x4b7ee8(0x2b4)]));});});}[_0xf86c5a(0x44f)](){const _0x198853=this['unitID'];return{'onStateChange':(_0x48975c,_0xfe473b)=>{const _0x6bbc33=_0x556d;if(_0x48975c!==this[_0x6bbc33(0x20c)])throw new Error(_0x6bbc33(0x164)+_0x48975c['status']+'\x0aAfter:\x20'+_0xfe473b['status']+_0x6bbc33(0x110)+this[_0x6bbc33(0x20c)][_0x6bbc33(0x29a)]);this['_updateState'](_0xfe473b);},'onSendChangeset':_0xee2a97=>{const _0x46facb=_0x556d;_0xee2a97['sid']||(_0xee2a97[_0x46facb(0x334)]=this[_0x46facb(0x216)],_0xee2a97[_0x46facb(0x40d)]=++this[_0x46facb(0x3ea)]);const _0x744ab2={'eventID':_0x455562[_0x46facb(0x1d0)],'data':{'unitID':_0xee2a97['unitID'],'unitType':this['_type'],'changeset':_0xee2a97,'memberID':this['session'][_0x46facb(0x369)]()}};this[_0x46facb(0x195)][_0x46facb(0x100)](_0x744ab2,this[_0x46facb(0x427)]);},'onMissingChangesets':({from:_0x366cbb,to:_0x1c52cf})=>{const _0x4fd190=_0x556d;this[_0x4fd190(0x435)]['debug'](_0x4fd190(0x2fc),'fetching\x20missing\x20changesets\x20from\x20'+_0x366cbb+_0x4fd190(0x365)+_0x1c52cf);const _0x26937b={'eventID':_0x455562[_0x4fd190(0x37e)],'data':{'unitID':_0x198853,'unitType':this[_0x4fd190(0x253)],'from':_0x366cbb,'to':_0x1c52cf}};this[_0x4fd190(0x195)]['send'](_0x26937b,this[_0x4fd190(0x427)]);}};}async['_createInitialStateImpl'](_0x7b27d8){const _0x2d667f=_0xf86c5a;var _0x3f9c55,_0x225834;const _0x287517=await this[_0x2d667f(0x373)][_0x2d667f(0x3ec)](this['unitID']),_0x2f4b4a=(_0x3f9c55=_0x287517==null?void 0x0:_0x287517['mutations'])!=null?_0x3f9c55:[],_0x30e723=(_0x225834=_0x287517==null?void 0x0:_0x287517[_0x2d667f(0x2f0)])!=null?_0x225834:null,_0x3b0423=!!(_0x30e723!=null&&_0x30e723['sid'])&&!!(_0x30e723!=null&&_0x30e723[_0x2d667f(0x40d)]);this[_0x2d667f(0x216)]=_0x3b0423?_0x30e723[_0x2d667f(0x334)]:ir(),this[_0x2d667f(0x3ea)]=_0x3b0423?_0x30e723[_0x2d667f(0x40d)]:0x0;const _0x12ca79=this[_0x2d667f(0x427)];try{this[_0x2d667f(0x150)](_0x30e723,_0x2f4b4a);}catch(_0x1d6657){this[_0x2d667f(0x435)][_0x2d667f(0x3a5)](_0x1d6657);}const _0x207d7e=this[_0x2d667f(0x44f)]();if(_0x7b27d8){const _0x40ecf5=Ws(this['_injector'],_0x12ca79,this[_0x2d667f(0x253)],_0x30e723,_0x2f4b4a,_0x207d7e);return _0x40ecf5 instanceof X?_0x40ecf5[_0x2d667f(0x272)]():(_0x40ecf5 instanceof q||_0x40ecf5 instanceof Q)&&_0x40ecf5[_0x2d667f(0x434)](),_0x40ecf5;}return this[_0x2d667f(0x22b)][_0x2d667f(0x45e)](te,_0x12ca79,this[_0x2d667f(0x253)],_0x30e723,_0x2f4b4a,_0x207d7e);}[_0xf86c5a(0x150)](_0x2572ef,_0x4ffb02){const _0x346e62=_0xf86c5a;var _0xa24dbf,_0x5aab8d;const _0x2c3d99=this[_0x346e62(0x245)][_0x346e62(0x2bd)][_0x346e62(0xe9)](this['_compressMutationService'][_0x346e62(0x2bd)][_0x346e62(0x360)]()[_0x346e62(0x163)]);(_0xa24dbf=_0x2c3d99((_0x2572ef==null?void 0x0:_0x2572ef[_0x346e62(0x3c1)])||[],null))==null||_0xa24dbf[_0x346e62(0x26c)](_0x497cbe=>this['_commandService']['executeCommand'](_0x497cbe['id'],_0x497cbe['params'])),(_0x5aab8d=_0x2c3d99(_0x4ffb02||[],null))==null||_0x5aab8d[_0x346e62(0x26c)](_0x2b922e=>this[_0x346e62(0x456)][_0x346e62(0x1b5)](_0x2b922e['id'],_0x2b922e[_0x346e62(0x2e1)]));}};qe=Wt([p(0x3,_0x370f8c(_0x595e81)),p(0x4,_0x370f8c(w)),p(0x5,_0x370f8c(_0x4517e4)),p(0x6,_0x370f8c(_0x2673bf)),p(0x7,_0x370f8c(_0x4a413b)),p(0x8,_0x593f47),p(0x9,_0x225d18),p(0xa,_0x3aa03b),p(0xb,_0x2f69f2),p(0xc,_0x2fd677(tt))],qe);let Tt=class extends qe{constructor(_0x1fe6e5,_0x5111e7,_0x1b3744,_0x2bdfbd,_0x5dc84d,_0x3c41a8,_0x2a6034,_0x24ff15,_0x4c5d44,_0x46df6a,_0x270c15,_0x26f320,_0x59128e,_0x4f9d64,_0x1d7efe,_0x1b203d,_0x11d7a4){const _0x37fab4=_0xf86c5a;super(_0x1fe6e5,_0x1b3744,_0x5111e7,_0x2bdfbd,_0x5dc84d,_0x3c41a8,_0x2a6034,_0x24ff15,_0x59128e,_0x4f9d64,_0x1d7efe,_0x1b203d,_0x11d7a4),this[_0x37fab4(0x427)]=_0x1fe6e5,this[_0x37fab4(0x246)]=_0x5111e7,this['_docStateChangeManagerService']=_0x4c5d44,this[_0x37fab4(0x2e3)]=_0x46df6a,this[_0x37fab4(0x1b4)]=_0x270c15,this[_0x37fab4(0x1ff)]=_0x26f320;}['_createHandler'](){const _0x5bc406=_0xf86c5a,_0x27a98a=super[_0x5bc406(0x44f)]();return _0x27a98a[_0x5bc406(0x43e)]=_0x56c178=>this[_0x5bc406(0x2e3)][_0x5bc406(0x3e2)](_0x56c178),_0x27a98a[_0x5bc406(0x1ed)]=_0x396b21=>this['_docTransformSelectionsService']['transformSelections'](_0x396b21),_0x27a98a[_0x5bc406(0x381)]=_0x1a789f=>this[_0x5bc406(0x1ff)][_0x5bc406(0x411)](_0x1a789f),_0x27a98a[_0x5bc406(0x288)]=_0x41c6a7=>this['_docTransformIMECacheService'][_0x5bc406(0x22d)](_0x41c6a7),_0x27a98a;}async[_0xf86c5a(0x30d)](){const _0x59da65=_0xf86c5a,_0x4597e0=await super[_0x59da65(0x30d)]();return this[_0x59da65(0x417)][_0x59da65(0x188)]['pipe'](_0x14bd7d(this[_0x59da65(0x39d)]))[_0x59da65(0x1c3)](_0x4724e5=>{const _0x23b0ab=_0x59da65;if(_0x4724e5==null)return;const {unitId:_0x4da017,redoState:_0x477cd9,commandId:_0x58206c}=_0x4724e5;if(_0x4da017!==this[_0x23b0ab(0x427)])return;const _0x390c3e={'id':_0x58206c,'type':_0x19c41e['MUTATION'],'params':{'unitId':_0x4da017,'actions':_0x477cd9[_0x23b0ab(0x3e1)],'textRanges':null}};this[_0x23b0ab(0x2ab)](_0x390c3e);}),_0x4597e0;}};Tt=Wt([p(0x3,_0x370f8c(_0x595e81)),p(0x4,_0x370f8c(w)),p(0x5,_0x370f8c(_0x4517e4)),p(0x6,_0x370f8c(_0x2673bf)),p(0x7,_0x370f8c(_0x4a413b)),p(0x8,_0x370f8c(_0x4b5fef)),p(0x9,_0x370f8c(Ye)),p(0xa,_0x370f8c(Xe)),p(0xb,_0x370f8c(Ft)),p(0xc,_0x593f47),p(0xd,_0x225d18),p(0xe,_0x3aa03b),p(0xf,_0x2f69f2),p(0x10,_0x2fd677(tt))],Tt);let Rt=class extends qe{constructor(_0x2754cc,_0x1bee40,_0x693f8e,_0x17cebe,_0x15bc80,_0x32e088,_0x4b8121,_0x5eff60,_0x3fceb0,_0x2d7e37,_0x174f1c,_0x5bffd0,_0x9a4ad9,_0x541718){const _0x226da4=_0xf86c5a;super(_0x2754cc,_0x693f8e,_0x1bee40,_0x17cebe,_0x15bc80,_0x32e088,_0x4b8121,_0x5eff60,_0x2d7e37,_0x174f1c,_0x5bffd0,_0x9a4ad9,_0x541718),this[_0x226da4(0x427)]=_0x2754cc,this[_0x226da4(0x246)]=_0x1bee40,this[_0x226da4(0x16a)]=_0x3fceb0;}['_createHandler'](){const _0x328a9c=_0xf86c5a,_0x5538e0=super['_createHandler']();return _0x5538e0[_0x328a9c(0x1ed)]=_0x11f51f=>this['_sheetTransformSelectionsService'][_0x328a9c(0xfb)](_0x11f51f),_0x5538e0;}async['_init'](){const _0xbdf7d9=_0xf86c5a,_0x3c0da1=await super[_0xbdf7d9(0x30d)]();return this['disposeWithMe'](this[_0xbdf7d9(0x456)][_0xbdf7d9(0x2a8)]((_0x13f2d7,_0x333012)=>{const _0x4dc258=_0xbdf7d9;if(_0x13f2d7[_0x4dc258(0x246)]!==_0x19c41e[_0x4dc258(0x108)]||_0x333012!=null&&_0x333012['fromCollab']||_0x333012!=null&&_0x333012[_0x4dc258(0x10a)])return;const _0x385818=_0x13f2d7[_0x4dc258(0x2e1)];if((_0x385818==null?void 0x0:_0x385818['unitId'])!==this['unitID'])return;const _0x5a2b54=_0x13f2d7,_0x3f6054=this[_0x4dc258(0x245)]['interceptor']['fetchThroughInterceptors'](this[_0x4dc258(0x245)][_0x4dc258(0x2bd)][_0x4dc258(0x360)]()[_0x4dc258(0x1ba)])([_0x5a2b54],null)||[_0x5a2b54];this[_0x4dc258(0x2ab)](_0x3f6054[0x0]);})),_0x3c0da1;}};Rt=Wt([p(0x3,_0x370f8c(_0x595e81)),p(0x4,_0x370f8c(w)),p(0x5,_0x370f8c(_0x4517e4)),p(0x6,_0x370f8c(_0x2673bf)),p(0x7,_0x370f8c(_0x4a413b)),p(0x8,_0x370f8c(Ke)),p(0x9,_0x593f47),p(0xa,_0x225d18),p(0xb,_0x3aa03b),p(0xc,_0x2f69f2),p(0xd,_0x2fd677(tt))],Rt);var Or=Object[_0xf86c5a(0xfa)],Dr=Object[_0xf86c5a(0x397)],wr=(_0x5f724b,_0xa2a175,_0x3058c6,_0x1da961)=>{const _0x5c489f=_0xf86c5a;for(var _0x4bc51d=_0x1da961>0x1?void 0x0:_0x1da961?Dr(_0xa2a175,_0x3058c6):_0xa2a175,_0x603f6e=_0x5f724b[_0x5c489f(0x28c)]-0x1,_0x5dc622;_0x603f6e>=0x0;_0x603f6e--)(_0x5dc622=_0x5f724b[_0x603f6e])&&(_0x4bc51d=(_0x1da961?_0x5dc622(_0xa2a175,_0x3058c6,_0x4bc51d):_0x5dc622(_0x4bc51d))||_0x4bc51d);return _0x1da961&&_0x4bc51d&&Or(_0xa2a175,_0x3058c6,_0x4bc51d),_0x4bc51d;},_t=(_0x2620fc,_0x252e0d)=>(_0xc41d29,_0x482931)=>_0x252e0d(_0xc41d29,_0x482931,_0x2620fc);let Le=class extends _0x27d368{constructor(_0x82a155,_0x25e53d,_0x42c6dd){const _0x195964=_0xf86c5a;super(),l(this,_0x195964(0x330),new Map()),l(this,_0x195964(0x2d8),new _0x26d305()),(this[_0x195964(0x22b)]=_0x82a155,this['_collabSessionService']=_0x25e53d,this['_univerInstanceService']=_0x42c6dd,this[_0x195964(0x30d)]());}[_0xf86c5a(0x3ab)](){const _0x1b5054=_0xf86c5a;super[_0x1b5054(0x3ab)](),this[_0x1b5054(0x330)]['forEach'](_0xc3a29e=>_0xc3a29e[_0x1b5054(0x3ab)]()),this[_0x1b5054(0x330)][_0x1b5054(0x3e6)]();}[_0xf86c5a(0x299)](_0x206110){const _0x4464ff=_0xf86c5a;var _0x4fd932;return(_0x4fd932=this[_0x4464ff(0x330)]['get'](_0x206110))!=null?_0x4fd932:null;}[_0xf86c5a(0x277)](_0x55de67){const _0x1fb385=_0xf86c5a,_0x2b4412=this[_0x1fb385(0x299)](_0x55de67);return _0x2b4412?_0xfb2e43(_0x2b4412):this['_entityInit$'][_0x1fb385(0x268)](_0x152a98(_0x18014c=>_0x18014c[_0x1fb385(0x427)]===_0x55de67));}[_0xf86c5a(0x30d)](){const _0x514647=_0xf86c5a;this[_0x514647(0x358)][_0x514647(0x3a6)](_0x751d23['UNIVER_SHEET'])[_0x514647(0x268)](_0x14bd7d(this[_0x514647(0x39d)]),_0x48f138(0x10))['subscribe'](async _0x206342=>{const _0x58b736=_0x514647,_0x153094=_0x206342[_0x58b736(0x23e)](),_0x33d38b=await this[_0x58b736(0x404)](_0x153094,k[_0x58b736(0x1af)]);this['_entities']['set'](_0x153094,_0x33d38b);}),this[_0x514647(0x358)][_0x514647(0x3a6)](_0x751d23[_0x514647(0x320)])[_0x514647(0x268)](_0x14bd7d(this[_0x514647(0x39d)]),_0x48f138(0x10))['pipe'](_0x152a98(_0x48fba1=>!_0x48fba1[_0x514647(0x23e)]()[_0x514647(0x21a)]('__')))[_0x514647(0x1c3)](async _0x22c3c1=>{const _0x4ce627=_0x514647,_0x185163=_0x22c3c1[_0x4ce627(0x23e)](),_0x5e01c7=await this[_0x4ce627(0x404)](_0x185163,k[_0x4ce627(0x320)]);this[_0x4ce627(0x330)][_0x4ce627(0x2be)](_0x185163,_0x5e01c7);}),_0x20e120(this[_0x514647(0x358)][_0x514647(0x1f6)](_0x751d23[_0x514647(0x1af)]),this[_0x514647(0x358)]['getTypeOfUnitDisposed$'](_0x751d23[_0x514647(0x320)]))[_0x514647(0x268)](_0x14bd7d(this[_0x514647(0x39d)]))['subscribe'](_0x507eef=>{const _0x5b68a7=_0x514647,_0x3b9f4e=_0x507eef[_0x5b68a7(0x23e)](),_0x456165=this['_entities'][_0x5b68a7(0x175)](_0x3b9f4e);_0x456165&&(_0x456165[_0x5b68a7(0x3ab)](),this[_0x5b68a7(0x330)]['delete'](_0x3b9f4e));});}async['_startCollaboration'](_0x5f14c3,_0x5019cc){const _0x5a8eb6=_0xf86c5a,_0x20a402=await this[_0x5a8eb6(0x2f1)][_0x5a8eb6(0x13d)](_0x5f14c3),_0x1268e2=this[_0x5a8eb6(0x22b)]['createInstance'](this['_getCtorByUniverType'](_0x5019cc),_0x5f14c3,_0x5019cc,_0x20a402);return await _0x1268e2[_0x5a8eb6(0x18f)](),this['_entityInit$'][_0x5a8eb6(0x23f)](_0x1268e2),_0x1268e2;}['_getCtorByUniverType'](_0x2ff004){const _0x3e880f=_0xf86c5a;switch(_0x2ff004){case k[_0x3e880f(0x320)]:return Tt;case k[_0x3e880f(0x1af)]:return Rt;default:throw new Error(_0x3e880f(0x3b2)+_0x2ff004);}}};Le=wr([_t(0x0,_0x370f8c(_0x595e81)),_t(0x1,_0x370f8c(he)),_t(0x2,_0x5edd3d)],Le);const fs=[_0xf86c5a(0x442),_0xf86c5a(0x274),_0xf86c5a(0x1b3),_0xf86c5a(0x380),_0xf86c5a(0x225),_0xf86c5a(0x236)];class Gt extends _0x4091c9{constructor(){const _0x280ec9=_0xf86c5a;super(...arguments),l(this,_0x280ec9(0x25a),new Map()),l(this,_0x280ec9(0x264),0x0);}[_0xf86c5a(0x31e)](_0x4876db){const _0xcc5e2e=_0xf86c5a;if(this[_0xcc5e2e(0x25a)]['has'](_0x4876db))return this[_0xcc5e2e(0x25a)][_0xcc5e2e(0x175)](_0x4876db);const _0x504884=fs[this[_0xcc5e2e(0x264)]];return this['_colorIndex']=(this[_0xcc5e2e(0x264)]+0x1)%fs[_0xcc5e2e(0x28c)],this[_0xcc5e2e(0x25a)][_0xcc5e2e(0x2be)](_0x4876db,_0x504884),_0x504884;}}var Pr=Object['defineProperty'],yr=Object[_0xf86c5a(0x397)],Ur=(_0x57569a,_0x158b76,_0x33b794,_0x56c0a9)=>{for(var _0x2630c9=_0x56c0a9>0x1?void 0x0:_0x56c0a9?yr(_0x158b76,_0x33b794):_0x158b76,_0x4c5248=_0x57569a['length']-0x1,_0x39d9ae;_0x4c5248>=0x0;_0x4c5248--)(_0x39d9ae=_0x57569a[_0x4c5248])&&(_0x2630c9=(_0x56c0a9?_0x39d9ae(_0x158b76,_0x33b794,_0x2630c9):_0x39d9ae(_0x2630c9))||_0x2630c9);return _0x56c0a9&&_0x2630c9&&Pr(_0x158b76,_0x33b794,_0x2630c9),_0x2630c9;},ie=(_0x377a4b,_0x5bfc85)=>(_0x3f62e,_0x5006ae)=>_0x5bfc85(_0x3f62e,_0x5006ae,_0x377a4b);const Nr=0x12c,Mr=0x64;let Ot=class extends _0x27d368{constructor(_0x461b41,_0x47f68f,_0x346311,_0x28584e,_0x162029,_0x28d002,_0x2da38b,_0x13f44a,_0x19e673){const _0x16666b=_0xf86c5a;super(),l(this,_0x16666b(0x198),!0x1),l(this,_0x16666b(0x30d),!0x1),l(this,_0x16666b(0x331),new _0x52cf76(new Map())),l(this,_0x16666b(0x318),this[_0x16666b(0x331)][_0x16666b(0x377)]()),l(this,_0x16666b(0x14e),new _0x52cf76([])),l(this,'roomMembers$',this[_0x16666b(0x14e)][_0x16666b(0x268)](_0x431a9a(Nr))),l(this,_0x16666b(0x31c),_0x3e7548(_0x41c068=>{const _0x577b0b=_0x16666b,_0xdf0d2c={'eventID':_0x455562[_0x577b0b(0x3d2)],'data':{'unitID':this[_0x577b0b(0x427)],'memberID':this[_0x577b0b(0x292)][_0x577b0b(0x369)](),'selection':Fs(_0x41c068)}};this[_0x577b0b(0x292)]['send'](_0xdf0d2c,this[_0x577b0b(0x427)]);},Mr)),(this[_0x16666b(0x427)]=_0x461b41,this['_session']=_0x47f68f,this[_0x16666b(0x22b)]=_0x346311,this['_colorAssignService']=_0x28584e,this[_0x16666b(0x34f)]=_0x162029,this[_0x16666b(0x189)]=_0x28d002,this[_0x16666b(0x235)]=_0x2da38b,this['_univerInstanceService']=_0x13f44a,this[_0x16666b(0x456)]=_0x19e673);}get[_0xf86c5a(0x168)](){const _0x594f7c=_0xf86c5a;return this[_0x594f7c(0x331)][_0x594f7c(0x40f)]();}get[_0xf86c5a(0x116)](){const _0x537029=_0xf86c5a;return this[_0x537029(0x14e)][_0x537029(0x40f)]();}['dispose'](){const _0x17b29c=_0xf86c5a;super[_0x17b29c(0x3ab)](),this['_cursorInfo$']['next'](new Map()),this[_0x17b29c(0x331)]['complete'](),this[_0x17b29c(0x14e)][_0x17b29c(0x23f)]([]),this[_0x17b29c(0x14e)][_0x17b29c(0x307)]();}[_0xf86c5a(0x18f)](){const _0x1f96e4=_0xf86c5a;this[_0x1f96e4(0x30d)]||(this['_init']=!0x0,this[_0x1f96e4(0x292)][_0x1f96e4(0xf6)][_0x1f96e4(0x268)](_0x14bd7d(this[_0x1f96e4(0x39d)]))[_0x1f96e4(0x1c3)](_0x1aae9d=>{const _0x3cef14=_0x1f96e4;_0x1aae9d===Y['ONLINE']?this['_toggleOnline']():this[_0x3cef14(0x1a1)]();}),this[_0x1f96e4(0x292)][_0x1f96e4(0x3b1)]['pipe'](_0x14bd7d(this[_0x1f96e4(0x39d)]))[_0x1f96e4(0x1c3)](_0x224476=>{const _0x49f698=_0x1f96e4,_0x1b5bc8=_0x224476['eventID'];_0x1b5bc8===_0x455562[_0x49f698(0x3d2)]&&this[_0x49f698(0x256)](_0x224476),_0x1b5bc8===_0x455562[_0x49f698(0x1f4)]&&this[_0x49f698(0x2b9)](_0x224476);}),this[_0x1f96e4(0x177)](this[_0x1f96e4(0x456)]['onCommandExecuted'](_0x41fdb4=>{const _0x38577f=_0x1f96e4,_0x4ee0a5=_0x41fdb4[_0x38577f(0x2e1)];_0x4ee0a5!=null&&this[_0x38577f(0x198)]&&_0x41fdb4['id']===_0x17ed1c['id']&&_0x4ee0a5[_0x38577f(0x25d)]===this[_0x38577f(0x427)]&&_0x4ee0a5[_0x38577f(0x1eb)]===!0x1&&this[_0x38577f(0x31c)](_0x4ee0a5[_0x38577f(0x2c6)]);})),this[_0x1f96e4(0x189)][_0x1f96e4(0x1bd)]['pipe'](_0x14bd7d(this[_0x1f96e4(0x39d)]))['subscribe'](_0x37c413=>{const _0x4e47c0=_0x1f96e4;if((_0x37c413==null?void 0x0:_0x37c413[_0x4e47c0(0x427)])!==this[_0x4e47c0(0x427)])return;const _0x4ec61f={'eventID':_0x455562['UPDATE_CURSOR'],'data':_0x37c413};this[_0x4e47c0(0x256)](_0x4ec61f);}),this['disposeWithMe'](this[_0x1f96e4(0x456)][_0x1f96e4(0x2a8)](_0x273c71=>{const _0x427687=_0x1f96e4;if(_0x273c71[_0x427687(0x2e1)]==null)return;const _0xb4a1c=_0x273c71[_0x427687(0x2e1)];if(_0x273c71['id']!==_0x21b448['id']||_0xb4a1c[_0x427687(0x25d)]!==this[_0x427687(0x427)])return;const _0x49d319={'id':_0x427687(0x27d),'params':_0xb4a1c},_0x49dab2=this[_0x427687(0x168)];for(const [_0x485b59,_0x1e0dee]of _0x49dab2){const _0x2f470f={'id':_0x427687(0x27d),'params':{'unitId':this[_0x427687(0x427)],'actions':null,'textRanges':_0x1e0dee[_0x427687(0x2c6)]}},_0x125f46=this[_0x427687(0x235)][_0x427687(0x11e)](_0x49d319,_0x2f470f,!0x1);if(_0x3e8650(_0x125f46))throw _0x125f46[_0x427687(0x3a5)];_0x49dab2[_0x427687(0x2be)](_0x485b59,{..._0x1e0dee,'ranges':_0x125f46[_0x427687(0x3bb)][_0x427687(0x2e1)][_0x427687(0x2f4)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x49dab2);});})));}['_onCursorUpdate'](_0x3132cb){const _0x2a954d=_0xf86c5a;var _0x4a8c91,_0x27f48d;const {memberID:_0xa9c4db,selection:_0x93d1fa}=_0x3132cb[_0x2a954d(0x129)],_0x551174=mr(_0x93d1fa),_0x4b7d02=(_0x27f48d=(_0x4a8c91=this[_0x2a954d(0x34f)][_0x2a954d(0x191)](this[_0x2a954d(0x427)],_0xa9c4db))==null?void 0x0:_0x4a8c91[_0x2a954d(0x11f)])!=null?_0x27f48d:_0x2a954d(0x2c7),_0x3f2125={'color':this[_0x2a954d(0x3dc)][_0x2a954d(0x31e)](_0xa9c4db),'name':_0x4b7d02,'ranges':_0x551174},_0x54f134=this[_0x2a954d(0x168)];_0x54f134['set'](_0xa9c4db,_0x3f2125),this[_0x2a954d(0x331)][_0x2a954d(0x23f)](_0x54f134);}[_0xf86c5a(0x2b9)](_0x511f4d){const _0x3841fe=_0xf86c5a,{memberID:_0x5bd7da}=_0x511f4d[_0x3841fe(0x129)],_0x1f9907=this[_0x3841fe(0x168)];_0x1f9907['delete'](_0x5bd7da),this['_cursorInfo$']['next'](_0x1f9907);}[_0xf86c5a(0x2f6)](){const _0x3233df=_0xf86c5a;var _0x2e2308;if(this[_0x3233df(0x198)]=!0x0,((_0x2e2308=this[_0x3233df(0x358)][_0x3233df(0x263)]())==null?void 0x0:_0x2e2308[_0x3233df(0x23e)]())!==this[_0x3233df(0x427)])return;const _0xde9c95=this[_0x3233df(0x22b)][_0x3233df(0x175)](_0x4562e0)[_0x3233df(0x2c9)]();Array[_0x3233df(0x453)](_0xde9c95)&&_0xde9c95['length']>0x0&&this[_0x3233df(0x31c)](_0xde9c95);}['_toggleOffline'](){this['_online']=!0x1;}};Ot=Ur([ie(0x2,_0x370f8c(_0x595e81)),ie(0x3,_0x370f8c(Gt)),ie(0x4,_0x370f8c(ce)),ie(0x5,_0x370f8c(Ft)),ie(0x6,_0x285caf),ie(0x7,_0x5edd3d),ie(0x8,_0x225d18)],Ot);var Ar=Object['defineProperty'],Lr=Object[_0xf86c5a(0x397)],$r=(_0x3a579c,_0x35d020,_0x474ccb,_0x5705a3)=>{for(var _0x5c4da4=_0x5705a3>0x1?void 0x0:_0x5705a3?Lr(_0x35d020,_0x474ccb):_0x35d020,_0x5b6bd6=_0x3a579c['length']-0x1,_0x28da92;_0x5b6bd6>=0x0;_0x5b6bd6--)(_0x28da92=_0x3a579c[_0x5b6bd6])&&(_0x5c4da4=(_0x5705a3?_0x28da92(_0x35d020,_0x474ccb,_0x5c4da4):_0x28da92(_0x5c4da4))||_0x5c4da4);return _0x5705a3&&_0x5c4da4&&Ar(_0x35d020,_0x474ccb,_0x5c4da4),_0x5c4da4;},me=(_0x21856c,_0x3cfb03)=>(_0x4c1284,_0x3b1cf4)=>_0x3cfb03(_0x4c1284,_0x3b1cf4,_0x21856c);const jr=0x12c,xr=0x64,Hr=()=>{let _0x598883=[],_0x619a15=!0x1;return _0x45f0c3=>{const _0x41f2c1=_0x556d;_0x598883[_0x41f2c1(0x106)](_0x45f0c3),_0x619a15||(_0x619a15=!0x0,setTimeout(()=>{const _0x4ce93b=_0x41f2c1;_0x598883[_0x4ce93b(0x26c)](_0x2a236c=>_0x2a236c()),_0x598883=[],_0x619a15=!0x1;}));};};let Dt=class extends _0x27d368{constructor(_0x22e340,_0x5dfa35,_0x9f104f,_0x1c3f3a,_0x22145b,_0x297c69,_0x256dae,_0x1900b5){const _0x5c857a=_0xf86c5a;super(),l(this,_0x5c857a(0x198),!0x1),l(this,'_init',!0x1),l(this,_0x5c857a(0x331),new _0x52cf76(new Map())),l(this,_0x5c857a(0x318),this[_0x5c857a(0x331)][_0x5c857a(0x377)]()),l(this,'_roomMembers$',new _0x52cf76([])),l(this,_0x5c857a(0x228),this[_0x5c857a(0x14e)][_0x5c857a(0x268)](_0x431a9a(jr))),l(this,'_updateLocalCursor',_0x3e7548((_0x22925b,_0x1d350e)=>{const _0x2c9edd=_0x5c857a,_0x551df3={'eventID':_0x455562['UPDATE_CURSOR'],'data':{'unitID':this[_0x2c9edd(0x427)],'memberID':this[_0x2c9edd(0x292)][_0x2c9edd(0x369)](),'selection':_0x57d531(_0x22925b,_0x1d350e[_0x2c9edd(0x420)])}};this['_session'][_0x2c9edd(0x100)](_0x551df3,this[_0x2c9edd(0x427)]);},xr)),(this['unitID']=_0x22e340,this[_0x5c857a(0x292)]=_0x5dfa35,this['_injector']=_0x9f104f,this[_0x5c857a(0x3dc)]=_0x1c3f3a,this['_memberService']=_0x22145b,this[_0x5c857a(0x358)]=_0x297c69,this['_commandService']=_0x256dae,this[_0x5c857a(0x260)]=_0x1900b5);}get[_0xf86c5a(0x168)](){const _0x10c579=_0xf86c5a;return this['_cursorInfo$'][_0x10c579(0x40f)]();}get['roomMembers'](){const _0x47a8e2=_0xf86c5a;return this['_roomMembers$'][_0x47a8e2(0x40f)]();}['dispose'](){const _0x15f632=_0xf86c5a;super[_0x15f632(0x3ab)](),this[_0x15f632(0x331)][_0x15f632(0x23f)](new Map()),this['_cursorInfo$'][_0x15f632(0x307)](),this[_0x15f632(0x14e)]['next']([]),this['_roomMembers$'][_0x15f632(0x307)]();}['init'](){const _0x29b7d6=_0xf86c5a;this[_0x29b7d6(0x30d)]||(this[_0x29b7d6(0x30d)]=!0x0,this[_0x29b7d6(0x292)][_0x29b7d6(0xf6)][_0x29b7d6(0x268)](_0x14bd7d(this[_0x29b7d6(0x39d)]))[_0x29b7d6(0x1c3)](_0xd9572b=>{const _0x2daaad=_0x29b7d6;_0xd9572b===Y['ONLINE']?this[_0x2daaad(0x2f6)]():this[_0x2daaad(0x1a1)]();}),this[_0x29b7d6(0x292)][_0x29b7d6(0x3b1)][_0x29b7d6(0x268)](_0x14bd7d(this['dispose$']))['subscribe'](_0x5ee16c=>{const _0x59bcbb=_0x29b7d6,_0x38447c=_0x5ee16c[_0x59bcbb(0x26e)];_0x38447c===_0x455562[_0x59bcbb(0x3d2)]&&this[_0x59bcbb(0x256)](_0x5ee16c),_0x38447c===_0x455562[_0x59bcbb(0x1f4)]&&this[_0x59bcbb(0x2b9)](_0x5ee16c);}),this[_0x29b7d6(0x41a)](),this[_0x29b7d6(0x177)](this[_0x29b7d6(0x456)][_0x29b7d6(0x2a8)](_0x2c9766=>{const _0x36fb5a=_0x29b7d6;if(this[_0x36fb5a(0x198)]&&_0x2c9766['id']===_0x2113e6['id']&&_0x2c9766[_0x36fb5a(0x2e1)][_0x36fb5a(0x25d)]===this[_0x36fb5a(0x427)]){const _0x3b27cb=_0x2c9766[_0x36fb5a(0x2e1)];this[_0x36fb5a(0x31c)](_0x3b27cb['subUnitId'],_0x3b27cb[_0x36fb5a(0x201)][0x0]);}})));}[_0xf86c5a(0x256)](_0x441d33){const _0x19babc=_0xf86c5a;var _0x59f033,_0x50f128;const {memberID:_0x47784a,selection:_0x5e6c03}=_0x441d33['data'],{sheetName:_0x2378c1,range:_0x5179a3}=_0x131128(_0x5e6c03),_0x1dbee0={'name':(_0x50f128=(_0x59f033=this[_0x19babc(0x34f)]['getMember'](this[_0x19babc(0x427)],_0x47784a))==null?void 0x0:_0x59f033[_0x19babc(0x11f)])!=null?_0x50f128:_0x19babc(0x2c7),'range':this[_0x19babc(0x213)](_0x2378c1,_0x5179a3),'sheetID':_0x2378c1,'color':this[_0x19babc(0x3dc)][_0x19babc(0x31e)](_0x47784a),'selection':_0x5e6c03},_0x3d4719=this[_0x19babc(0x168)];_0x3d4719[_0x19babc(0x2be)](_0x47784a,_0x1dbee0),this['_cursorInfo$']['next'](_0x3d4719);}[_0xf86c5a(0x2b9)](_0x493cc9){const _0x17e16e=_0xf86c5a,{memberID:_0x1110fc}=_0x493cc9[_0x17e16e(0x129)],_0xee8242=this['cursorInfo'];_0xee8242[_0x17e16e(0x107)](_0x1110fc),this[_0x17e16e(0x331)][_0x17e16e(0x23f)](_0xee8242);}[_0xf86c5a(0x213)](_0x4a2ba9,_0x24c560){const _0x25b44e=_0xf86c5a;var _0x4f9fd9,_0x5474a9;const _0x11f39b=(_0x5474a9=(_0x4f9fd9=this[_0x25b44e(0x358)]['getUniverSheetInstance'](this[_0x25b44e(0x427)]))==null?void 0x0:_0x4f9fd9[_0x25b44e(0x145)](_0x4a2ba9))==null?void 0x0:_0x5474a9['getMergeData']();return(_0x11f39b==null?void 0x0:_0x11f39b[_0x25b44e(0x179)](_0x46bd13=>_0x426027[_0x25b44e(0x449)](_0x46bd13,_0x24c560)))||_0x24c560;}[_0xf86c5a(0x41a)](){const _0x86d3be=_0xf86c5a,_0x1c4f40=new _0x58abb8(),_0x107982=Hr(),_0x3681c4=()=>{const _0x28ba96=_0x556d;_0x1c4f40[_0x28ba96(0x3ab)]();const _0x21cba9=(_0x254a3e,_0xfbfb17,_0x1192b6,_0x4dffdc)=>{const _0x409f75=_0x28ba96;let _0x5f56bb=[];switch(_0x254a3e['id']){case _0x55e87d[_0x409f75(0x2c4)]:{_0x5f56bb=_0x59ccd8(_0x254a3e,_0x4dffdc);break;}case _0x55e87d[_0x409f75(0x27e)]:{_0x5f56bb=_0x4abff6(_0x254a3e,_0x4dffdc);break;}case _0x55e87d[_0x409f75(0x324)]:{_0x5f56bb=_0x495110(_0x254a3e,_0x4dffdc);break;}case _0x55e87d['InsertRangeMoveDownCommandId']:{_0x5f56bb=_0x5f07f7(_0x254a3e,_0x4dffdc);break;}case _0x55e87d[_0x409f75(0x1fa)]:{_0x5f56bb=_0x387247(_0x254a3e,_0x4dffdc);break;}case _0x55e87d['InsertRowCommandId']:{_0x5f56bb=_0x50739d(_0x254a3e,_0x4dffdc);break;}case _0x55e87d[_0x409f75(0x422)]:{_0x5f56bb=_0x235916(_0x254a3e,_0x4dffdc);break;}case _0x55e87d['RemoveColCommandId']:{_0x5f56bb=_0x4a0d66(_0x254a3e,_0x4dffdc);break;}case _0x55e87d[_0x409f75(0x10d)]:{_0x5f56bb=_0x27df45(_0x254a3e,_0x4dffdc);break;}}const _0x2c9546=_0x3a1e73(_0x5f56bb,_0x4dffdc),_0x59a5f9=this['cursorInfo'][_0x409f75(0x175)](_0xfbfb17);if(_0x59a5f9&&_0x2c9546){const _0x312cc3={..._0x59a5f9,'range':_0x2c9546};this[_0x409f75(0x168)][_0x409f75(0x2be)](_0xfbfb17,_0x312cc3),_0x107982(()=>{const _0x17451d=_0x409f75,_0x225a40=this[_0x17451d(0x260)]['registerRefRange'](_0x2c9546,_0x3a4798=>(_0x225a40[_0x17451d(0x3ab)](),_0x21cba9(_0x3a4798,_0xfbfb17,_0x1192b6,_0x2c9546)));_0x1c4f40['add'](_0x225a40);});}return{'redos':[],'undos':[]};};this[_0x28ba96(0x168)][_0x28ba96(0x26c)]((_0x3f0a37,_0x1ecf9e)=>{const _0x3910a6=_0x28ba96,{range:_0x25488f,sheetID:_0x38452a}=_0x3f0a37,_0x3201e9=this[_0x3910a6(0x260)][_0x3910a6(0x2db)](_0x25488f,_0x24ca0e=>(_0x3201e9['dispose'](),_0x21cba9(_0x24ca0e,_0x1ecf9e,_0x38452a,_0x25488f)));_0x1c4f40[_0x3910a6(0x1e9)](_0x3201e9);});};this[_0x86d3be(0x177)](_0x441a7c(this[_0x86d3be(0x331)][_0x86d3be(0x1c3)](()=>{_0x3681c4();})));}['_toggleOnline'](){const _0x4d9043=_0xf86c5a;var _0x29c131,_0x3874b8;if(this[_0x4d9043(0x198)]=!0x0,((_0x29c131=this[_0x4d9043(0x358)]['getFocusedUnit']())==null?void 0x0:_0x29c131[_0x4d9043(0x23e)]())!==this[_0x4d9043(0x427)])return;const _0x19000c=(_0x3874b8=this['_injector'][_0x4d9043(0x175)](_0x48f502)[_0x4d9043(0x2ac)]())==null?void 0x0:_0x3874b8[0x0],_0x5ec71e=this['_univerInstanceService'][_0x4d9043(0x372)](_0x751d23['UNIVER_SHEET'])[_0x4d9043(0x204)]();_0x19000c&&_0x5ec71e&&this['_updateLocalCursor'](_0x5ec71e[_0x4d9043(0x300)](),_0x19000c);}[_0xf86c5a(0x1a1)](){this['_online']=!0x1;}};Dt=$r([me(0x2,_0x370f8c(_0x595e81)),me(0x3,_0x370f8c(Gt)),me(0x4,_0x370f8c(ce)),me(0x5,_0x5edd3d),me(0x6,_0x225d18),me(0x7,_0x370f8c(_0x3cfe14))],Dt);var kr=Object[_0xf86c5a(0xfa)],Br=Object['getOwnPropertyDescriptor'],Vr=(_0x9ca813,_0x48f95e,_0x15389a,_0x17a25c)=>{const _0x5ee03a=_0xf86c5a;for(var _0x93d247=_0x17a25c>0x1?void 0x0:_0x17a25c?Br(_0x48f95e,_0x15389a):_0x48f95e,_0x136638=_0x9ca813[_0x5ee03a(0x28c)]-0x1,_0x4ce002;_0x136638>=0x0;_0x136638--)(_0x4ce002=_0x9ca813[_0x136638])&&(_0x93d247=(_0x17a25c?_0x4ce002(_0x48f95e,_0x15389a,_0x93d247):_0x4ce002(_0x93d247))||_0x93d247);return _0x17a25c&&_0x93d247&&kr(_0x48f95e,_0x15389a,_0x93d247),_0x93d247;},ut=(_0x31a9d3,_0x39c101)=>(_0xf5e21b,_0x573315)=>_0x39c101(_0xf5e21b,_0x573315,_0x31a9d3);let ve=class extends _0x27d368{constructor(_0x5ded17,_0x50c94e,_0xd3a985){const _0x3d4236=_0xf86c5a;super(),l(this,'_entities',new Map()),l(this,_0x3d4236(0x2d8),new _0x26d305()),(this['_univerInstanceService']=_0x5ded17,this[_0x3d4236(0x22b)]=_0x50c94e,this[_0x3d4236(0x2f1)]=_0xd3a985,this[_0x3d4236(0x30d)]());}['dispose'](){const _0x2a4df5=_0xf86c5a;super[_0x2a4df5(0x3ab)](),this[_0x2a4df5(0x2d8)][_0x2a4df5(0x307)](),this[_0x2a4df5(0x330)][_0x2a4df5(0x26c)](_0x1c92f9=>_0x1c92f9[_0x2a4df5(0x3ab)]());}[_0xf86c5a(0x44d)](_0x215b12){const _0xd8c952=_0xf86c5a;return this[_0xd8c952(0x330)]['has'](_0x215b12)?this[_0xd8c952(0x330)][_0xd8c952(0x175)](_0x215b12)[_0xd8c952(0x318)]:this['_entityInit$']['pipe'](_0x5d44ea(_0x48912e=>_0x48912e[_0xd8c952(0x427)]===_0x215b12),_0x4e5135(_0x2350e6=>_0x2350e6['cursorInfo$']));}[_0xf86c5a(0x30d)](){const _0x4ab05a=_0xf86c5a;this['_univerInstanceService'][_0x4ab05a(0x3a6)](_0x751d23[_0x4ab05a(0x1af)])[_0x4ab05a(0x268)](_0x14bd7d(this[_0x4ab05a(0x39d)]))[_0x4ab05a(0x1c3)](async _0x491944=>{const _0x3933c2=_0x4ab05a,_0xe5c4da=_0x491944[_0x3933c2(0x23e)](),_0x50a622=await this[_0x3933c2(0x41e)](_0xe5c4da);this[_0x3933c2(0x2d8)][_0x3933c2(0x23f)](_0x50a622),this[_0x3933c2(0x330)][_0x3933c2(0x2be)](_0xe5c4da,_0x50a622);}),this[_0x4ab05a(0x358)][_0x4ab05a(0x3a6)](_0x751d23[_0x4ab05a(0x320)])[_0x4ab05a(0x268)](_0x14bd7d(this[_0x4ab05a(0x39d)]))[_0x4ab05a(0x268)](_0x5d44ea(_0x3b8cb1=>!_0x3b8cb1[_0x4ab05a(0x23e)]()['startsWith']('__')))[_0x4ab05a(0x1c3)](async _0x1318b1=>{const _0x126c9c=_0x4ab05a,_0x2754f7=_0x1318b1[_0x126c9c(0x23e)](),_0x656a5f=await this[_0x126c9c(0x399)](_0x2754f7);this[_0x126c9c(0x2d8)]['next'](_0x656a5f),this['_entities'][_0x126c9c(0x2be)](_0x2754f7,_0x656a5f);}),_0x20e120(this['_univerInstanceService'][_0x4ab05a(0x1f6)](_0x751d23[_0x4ab05a(0x320)]),this[_0x4ab05a(0x358)][_0x4ab05a(0x1f6)](_0x751d23[_0x4ab05a(0x1af)]))['pipe'](_0x14bd7d(this['dispose$']))[_0x4ab05a(0x1c3)](_0x129faf=>{const _0x17ec22=_0x4ab05a,_0x4a1c62=_0x129faf[_0x17ec22(0x23e)](),_0x54dd95=this['_entities'][_0x17ec22(0x175)](_0x4a1c62);_0x54dd95&&(_0x54dd95['dispose'](),this['_entities'][_0x17ec22(0x107)](_0x4a1c62));});}async[_0xf86c5a(0x41e)](_0x6e083){const _0x2b446d=_0xf86c5a,_0x1b30f1=await this['_collabSessionService'][_0x2b446d(0x13d)](_0x6e083),_0xe67c3a=this[_0x2b446d(0x22b)][_0x2b446d(0x45e)](Dt,_0x6e083,_0x1b30f1);return _0xe67c3a[_0x2b446d(0x18f)](),_0xe67c3a;}async[_0xf86c5a(0x399)](_0x490835){const _0x651b7f=_0xf86c5a,_0x13403d=await this['_collabSessionService'][_0x651b7f(0x13d)](_0x490835),_0x2dc325=this[_0x651b7f(0x22b)][_0x651b7f(0x45e)](Ot,_0x490835,_0x13403d);return _0x2dc325[_0x651b7f(0x18f)](),_0x2dc325;}};ve=Vr([ut(0x0,_0x5edd3d),ut(0x1,_0x370f8c(_0x595e81)),ut(0x2,_0x370f8c(he))],ve);const $e=0x14,ms=0xc8,dt=0x4,Fr=0x5;function Wr(_0x219915,_0x102de5){const _0x1ba362=_0xf86c5a;let {radius:_0x2ef437,width:_0x74355a,height:_0x32eade}=_0x102de5;_0x2ef437=_0x2ef437!=null?_0x2ef437:0x0,_0x74355a=_0x74355a!=null?_0x74355a:0x1e,_0x32eade=_0x32eade!=null?_0x32eade:0x1e;let _0x4be6b9=0x0,_0x311970=0x0,_0xe67598=0x0;_0x4be6b9=_0x311970=_0xe67598=Math['min'](_0x2ef437,_0x74355a/0x2,_0x32eade/0x2),_0x219915[_0x1ba362(0x436)](),_0x219915[_0x1ba362(0x161)](_0x4be6b9,0x0),_0x219915[_0x1ba362(0x36c)](_0x74355a-_0x311970,0x0),_0x219915['arc'](_0x74355a-_0x311970,_0x311970,_0x311970,Math['PI']*0x3/0x2,0x0,!0x1),_0x219915[_0x1ba362(0x36c)](_0x74355a,_0x32eade-_0xe67598),_0x219915[_0x1ba362(0x2da)](_0x74355a-_0xe67598,_0x32eade-_0xe67598,_0xe67598,0x0,Math['PI']/0x2,!0x1),_0x219915[_0x1ba362(0x36c)](0x0,_0x32eade),_0x219915[_0x1ba362(0x36c)](0x0,_0x4be6b9),_0x219915[_0x1ba362(0x2da)](_0x4be6b9,_0x4be6b9,_0x4be6b9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x219915[_0x1ba362(0x2b7)](),_0x102de5[_0x1ba362(0x16b)]&&(_0x219915[_0x1ba362(0x1f3)](),_0x219915[_0x1ba362(0x2bc)]=_0x102de5[_0x1ba362(0x16b)],_0x102de5[_0x1ba362(0x13c)]===_0x1ba362(0x45f)?_0x219915['fill'](_0x1ba362(0x45f)):_0x219915[_0x1ba362(0x16b)](),_0x219915[_0x1ba362(0x33c)]());}class st extends _0x167643{constructor(_0x303367,_0x196de9){const _0x9f9df2=_0xf86c5a;super(_0x303367,_0x196de9),l(this,_0x9f9df2(0x33f)),l(this,'text'),(this['color']=_0x196de9==null?void 0x0:_0x196de9[_0x9f9df2(0x33f)],this[_0x9f9df2(0x10c)]=_0x196de9==null?void 0x0:_0x196de9[_0x9f9df2(0x10c)]);}static[_0xf86c5a(0x43c)](_0x1d78df,_0x5d4c93){const _0x54fbb3=_0xf86c5a,{text:_0x183538,color:_0x4af762}=_0x5d4c93;_0x1d78df[_0x54fbb3(0x1f3)](),_0x1d78df[_0x54fbb3(0x17a)]=_0x54fbb3(0x29f);const _0x4fed7b=_0x1d78df[_0x54fbb3(0x15c)](_0x183538)['width'],_0x4f218c=Math[_0x54fbb3(0x394)](_0x4fed7b+0x2*dt,ms);Wr(_0x1d78df,{'height':$e,'radius':0x4,'width':_0x4f218c,'fill':_0x4af762,'evented':!0x1}),_0x1d78df[_0x54fbb3(0x2bc)]=_0x54fbb3(0x451);const _0x5c25ac=dt,_0x4b3125=$e-Fr,_0x3a8a0b=ms-0x2*dt;if(_0x4fed7b>_0x3a8a0b){let _0x41464b='',_0x36c9e4=0x0;for(const _0x3c820c of _0x183538){const _0x5c2e09=_0x1d78df[_0x54fbb3(0x15c)](_0x3c820c)['width'];if(_0x36c9e4+_0x5c2e09<=_0x3a8a0b-_0x1d78df[_0x54fbb3(0x15c)](_0x54fbb3(0x16c))['width'])_0x41464b+=_0x3c820c,_0x36c9e4+=_0x5c2e09;else{_0x41464b+=_0x54fbb3(0x16c);break;}}_0x1d78df['fillText'](_0x41464b,_0x5c25ac,_0x4b3125);}else _0x1d78df[_0x54fbb3(0x22f)](_0x183538,_0x5c25ac,_0x4b3125);_0x1d78df[_0x54fbb3(0x33c)]();}[_0xf86c5a(0xec)](_0x509101){st['drawWith'](_0x509101,this);}}const ft='collab-text-anchor-',Gr=_0xf86c5a(0x3bc),Yr='collab-rect-range-',we=0x6,Kr=1.5,mt=0x4,Xr=1.5,qr=_0xf86c5a(0xf5);class gs{constructor(_0x2b018c,_0x210e9e,_0x4b5c4c,_0x1f7b89){const _0x56ff25=_0xf86c5a;l(this,'_shapes',[]),l(this,_0x56ff25(0x240),null),l(this,_0x56ff25(0x431),null),l(this,_0x56ff25(0x2c3),null),l(this,_0x56ff25(0x14d),null),l(this,_0x56ff25(0x329),null),(this[_0x56ff25(0x425)]=_0x2b018c,this[_0x56ff25(0x242)]=_0x210e9e,this['_docSkeleton']=_0x4b5c4c,this[_0x56ff25(0x2c5)]=_0x1f7b89,this[_0x56ff25(0xe7)]());}set['_hover'](_0x851bdc){const _0x288782=_0xf86c5a;_0x851bdc?(this[_0x288782(0x2c3)]&&this[_0x288782(0x2c3)][_0x288782(0x2fe)](),this[_0x288782(0x431)]&&this['_textBubble'][_0x288782(0x265)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x288782(0x431)]&&this[_0x288782(0x431)]['hide']());}[_0xf86c5a(0x3ab)](){const _0x5da86b=_0xf86c5a;for(const _0x3ed3ba of this[_0x5da86b(0x10f)])_0x3ed3ba[_0x5da86b(0x3ab)]();this[_0x5da86b(0x431)]&&this[_0x5da86b(0x431)][_0x5da86b(0x3ab)](),this[_0x5da86b(0x2c3)]&&this[_0x5da86b(0x2c3)]['dispose'](),this[_0x5da86b(0x240)]&&this[_0x5da86b(0x240)][_0x5da86b(0x3ab)](),this[_0x5da86b(0x329)]&&this[_0x5da86b(0x329)]();}[_0xf86c5a(0xe7)](){const _0x469026=_0xf86c5a;var _0x1f5872;const {_docSkeleton:_0x47978a,_document:_0x78d9e0}=this,{color:_0x118042,name:_0x3b6ab8,ranges:_0x1ccc99}=this[_0x469026(0x425)],_0x3a79ed=_0x78d9e0[_0x469026(0x2f3)](),{docsLeft:_0x36385b,docsTop:_0x1de4c6}=_0x3a79ed,_0x29646e=new _0x3dcd36(_0x3a79ed,_0x47978a);for(const {startOffset:_0x40467e,endOffset:_0x2e4301,collapsed:_0x201799,isActive:_0x322220}of _0x1ccc99){const _0x5c4f49=_0x47978a[_0x469026(0x25c)](_0x40467e),_0x20b30f=_0x47978a['findNodePositionByCharIndex'](_0x2e4301);if(_0x322220){const {contentBoxPointGroup:_0x5741fd}=_0x29646e[_0x469026(0x3de)](_0x20b30f,_0x20b30f);if(_0x5741fd['length']===0x0)continue;this[_0x469026(0x1e3)](_0x118042,_0x5741fd,_0x36385b,_0x1de4c6,_0x3b6ab8),this['_eventUnsubscribe']=this[_0x469026(0x102)]();}if(!_0x201799&&_0x5c4f49&&_0x20b30f){if(_0x4fc5a4(_0x5c4f49,_0x20b30f)){const _0x26b189=new _0x241d4c(_0x3a79ed,_0x47978a),{pointGroup:_0x2eedc2}=(_0x1f5872=_0x26b189[_0x469026(0x3de)](_0x5c4f49,_0x20b30f))!=null?_0x1f5872:{};if(_0x2eedc2==null||_0x2eedc2[_0x469026(0x28c)]===0x0)continue;this[_0x469026(0x395)](_0x118042,_0x2eedc2,_0x36385b,_0x1de4c6);}else{const {contentBoxPointGroup:_0x37062d}=_0x29646e[_0x469026(0x3de)](_0x5c4f49,_0x20b30f);if(_0x37062d[_0x469026(0x28c)]===0x0)continue;this[_0x469026(0x2eb)](_0x118042,_0x37062d,_0x36385b,_0x1de4c6);}}}}[_0xf86c5a(0x1e3)](_0x15e2f6,_0x101cdb,_0x31f0ef,_0x449d5d,_0x2ed6da){const _0x222fb3=_0xf86c5a,_0x18039a=this[_0x222fb3(0xeb)](_0x101cdb),{left:_0x2686b0,top:_0x215b03,height:_0x4ee684}=_0x18039a,_0x2f1f8f=this[_0x222fb3(0x221)](),_0x3b6961=Xr/_0x2f1f8f,_0x43d02e=new _0x3fc8ee(ft+_0x48af3f['generateRandomId'](we),{'left':_0x2686b0+_0x31f0ef-_0x3b6961,'top':_0x215b03+_0x449d5d,'height':_0x4ee684,'width':Kr,'fill':_0x15e2f6||_0x5856f4(_0x520aaf[_0x222fb3(0x254)],0x0),'strokeWidth':_0x3b6961,'stroke':qr,'evented':!0x0});this['_anchor']=_0x43d02e,this[_0x222fb3(0x242)][_0x222fb3(0x279)](_0x43d02e,_0x3650e3);const _0x5110df=new _0x3fc8ee(ft+_0x48af3f[_0x222fb3(0x3a3)](we),{'left':_0x2686b0+_0x31f0ef-_0x3b6961,'top':_0x215b03+_0x449d5d-mt/0x2,'height':mt,'width':mt,'fill':_0x15e2f6||_0x5856f4(_0x520aaf[_0x222fb3(0x254)],0x0),'strokeWidth':0x0,'stroke':_0x15e2f6||_0x5856f4(_0x520aaf[_0x222fb3(0x254)],0x0),'evented':!0x1});this['_anchorDot']=_0x5110df,this[_0x222fb3(0x242)][_0x222fb3(0x279)](_0x5110df,_0x3650e3);const _0x1f0b8c=new st(ft+_0x48af3f[_0x222fb3(0x3a3)](we),{'left':_0x2686b0+_0x31f0ef-_0x3b6961,'top':_0x215b03+_0x449d5d-$e,'text':_0x2ed6da,'color':_0x15e2f6});this[_0x222fb3(0x431)]=_0x1f0b8c,this['_scene'][_0x222fb3(0x279)](_0x1f0b8c,_0x3650e3),this[_0x222fb3(0x2cf)]=!0x1;}['_handleHover'](){const _0x506845=_0xf86c5a,_0x329197=this['_anchor'][_0x506845(0x2d0)][_0x506845(0x400)](()=>{this['_hover']=!0x0;}),_0x55ff97=this[_0x506845(0x240)][_0x506845(0x2fa)]['subscribeEvent'](()=>{const _0x3de2ee=_0x506845;this[_0x3de2ee(0x14d)]&&clearTimeout(this[_0x3de2ee(0x14d)]),this[_0x3de2ee(0x14d)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1fb3e8=_0x506845;_0x329197[_0x1fb3e8(0x26d)](),_0x55ff97[_0x1fb3e8(0x26d)]();};}[_0xf86c5a(0x2eb)](_0x58f1ef,_0x17efe6,_0x495d33,_0x15830d){const _0xdd8a4a=_0xf86c5a,_0x5570c6=new _0x3afec0(_0x58f1ef)[_0xdd8a4a(0x392)](0.2)[_0xdd8a4a(0x2df)](),_0x247916=new _0x5f2724(Gr+_0x48af3f[_0xdd8a4a(0x3a3)](we),{'pointsGroup':_0x17efe6,'fill':_0x5570c6||_0x5856f4(_0x520aaf['black'],0.2),'left':_0x495d33,'top':_0x15830d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xdd8a4a(0x10f)][_0xdd8a4a(0x106)](_0x247916),this['_scene'][_0xdd8a4a(0x279)](_0x247916,_0x3650e3);}[_0xf86c5a(0x395)](_0x4dbfe2,_0x131341,_0x454ee4,_0x4794f4){const _0xb3bc29=_0xf86c5a,_0x1516e7=new _0x3afec0(_0x4dbfe2)[_0xb3bc29(0x392)](0.2)[_0xb3bc29(0x2df)](),_0x20eb37=new _0x5f2724(Yr+_0x48af3f[_0xb3bc29(0x3a3)](we),{'pointsGroup':_0x131341,'fill':_0x1516e7||_0x5856f4(_0x520aaf[_0xb3bc29(0x254)],0.2),'left':_0x454ee4,'top':_0x4794f4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xb3bc29(0x106)](_0x20eb37),this[_0xb3bc29(0x242)]['addObject'](_0x20eb37,_0x3650e3);}[_0xf86c5a(0xeb)](_0x4ec20d){const _0xb43198=_0x4ec20d[0x0],_0x38e06b=_0xb43198[0x0],_0x1c6f91=_0xb43198[0x2],{x:_0x4fad88,y:_0x3e6ed9}=_0x38e06b,{x:_0x3c820a,y:_0x1a385f}=_0x1c6f91;return{'left':_0x4fad88,'top':_0x3e6ed9,'width':_0x3c820a-_0x4fad88,'height':_0x1a385f-_0x3e6ed9};}['_getScale'](){const _0x12956f=_0xf86c5a,{scaleX:_0x407b6e,scaleY:_0x4856d8}=this[_0x12956f(0x242)]['getAncestorScale']();return Math[_0x12956f(0x2ee)](_0x407b6e,_0x4856d8);}}var Jr=Object[_0xf86c5a(0xfa)],zr=Object[_0xf86c5a(0x397)],Zr=(_0x26d5ed,_0x5c726e,_0x139528,_0x5ca6e6)=>{const _0x5797e8=_0xf86c5a;for(var _0x314d1b=_0x5ca6e6>0x1?void 0x0:_0x5ca6e6?zr(_0x5c726e,_0x139528):_0x5c726e,_0x4689b7=_0x26d5ed[_0x5797e8(0x28c)]-0x1,_0x41a9f5;_0x4689b7>=0x0;_0x4689b7--)(_0x41a9f5=_0x26d5ed[_0x4689b7])&&(_0x314d1b=(_0x5ca6e6?_0x41a9f5(_0x5c726e,_0x139528,_0x314d1b):_0x41a9f5(_0x314d1b))||_0x314d1b);return _0x5ca6e6&&_0x314d1b&&Jr(_0x5c726e,_0x139528,_0x314d1b),_0x314d1b;},ke=(_0x54d4ba,_0x1bcd89)=>(_0x4fb6d5,_0xb93acc)=>_0x1bcd89(_0x4fb6d5,_0xb93acc,_0x54d4ba);let wt=class extends _0x27d368{constructor(_0x1e75c2,_0x5386b3,_0x246072,_0x359bf9,_0x4514e8){const _0xef945c=_0xf86c5a;super(),l(this,_0xef945c(0x1c0),[]),l(this,_0xef945c(0x1d5),[]),(this[_0xef945c(0x227)]=_0x1e75c2,this[_0xef945c(0x3a2)]=_0x5386b3,this[_0xef945c(0x1a8)]=_0x246072,this[_0xef945c(0x456)]=_0x359bf9,this[_0xef945c(0x2e5)]=_0x4514e8,this[_0xef945c(0x30d)]());}[_0xf86c5a(0x30d)](){const _0x1de2bf=_0xf86c5a,_0x40bbf7=this[_0x1de2bf(0x227)]['unitId'],_0x904392=this['_docSkeletonManagerService'];this[_0x1de2bf(0x177)](_0x382452([this[_0x1de2bf(0x1a8)][_0x1de2bf(0x44d)](_0x40bbf7),this[_0x1de2bf(0x2e5)][_0x1de2bf(0x412)]])['pipe'](_0x524dbf(([_0x1ec70a,_0x54df26])=>({'skeleton':_0x904392[_0x1de2bf(0x157)](),'cursors':[..._0x1ec70a['values']()][_0x1de2bf(0x303)](_0x3d66d3=>({..._0x3d66d3,'color':_0x54df26[_0x3d66d3[_0x1de2bf(0x33f)]]}))})))[_0x1de2bf(0x1c3)](_0xf650da=>{const _0x15d104=_0x1de2bf;if(this['_removeCollabCursors'](),_0xf650da){const {skeleton:_0x5984ea,cursors:_0x5d2ff9}=_0xf650da;this[_0x15d104(0x276)](_0x5984ea,_0x5d2ff9);}})),this[_0x1de2bf(0x3f7)](),this['_initCommandExecutedListener']();}[_0xf86c5a(0x276)](_0xab83,_0x19b28d){const _0x1a2e8d=_0xf86c5a,{scene:_0x48da81,mainComponent:_0x4ed878}=this[_0x1a2e8d(0x227)],_0x582e26=_0x19b28d[_0x1a2e8d(0x2c1)](_0x3adba2=>new gs(_0x3adba2,_0x48da81,_0xab83,_0x4ed878));this[_0x1a2e8d(0x1c0)]=_0x582e26,this[_0x1a2e8d(0x1d5)]=_0x19b28d;}['_refreshCollabCursors'](){const _0xd83110=_0xf86c5a;this[_0xd83110(0x3d9)]();const {scene:_0x113b32,mainComponent:_0x102f89}=this[_0xd83110(0x227)],_0x17e7a7=this[_0xd83110(0x3a2)][_0xd83110(0x157)](),_0x192b96=this[_0xd83110(0x1d5)][_0xd83110(0x2c1)](_0x457d72=>new gs(_0x457d72,_0x113b32,_0x17e7a7,_0x102f89));this[_0xd83110(0x1c0)]=_0x192b96;}['_removeCollabCursors'](){const _0x40f6c1=_0xf86c5a;this[_0x40f6c1(0x1c0)][_0x40f6c1(0x26c)](_0x4cc10d=>_0x4cc10d[_0x40f6c1(0x3ab)]()),this['_cursorShapes']=[];}[_0xf86c5a(0x3c5)](){const _0x10cfbb=_0xf86c5a,_0x59ed5a=[_0xbd22e5['id']];this[_0x10cfbb(0x177)](this[_0x10cfbb(0x456)]['onCommandExecuted'](_0x12e8af=>{const _0x5d5094=_0x10cfbb;_0x59ed5a[_0x5d5094(0x327)](_0x12e8af['id'])&&_0x12e8af[_0x5d5094(0x2e1)][_0x5d5094(0x25d)]===this[_0x5d5094(0x227)][_0x5d5094(0x25d)]&&this['_refreshCollabCursors']();}));}[_0xf86c5a(0x3f7)](){const _0x1da37a=_0xf86c5a;this[_0x1da37a(0x177)](_0x51fef5(this['_context'][_0x1da37a(0x325)][_0x1da37a(0x261)])['pipe'](_0x152a98(_0x4c1832=>_0x4c1832[_0x1da37a(0x246)]===_0x233e1a[_0x1da37a(0x134)]),_0x207ccd(0x10))[_0x1da37a(0x1c3)](()=>{const _0x5876ec=_0x1da37a;this[_0x5876ec(0x184)]();}));}};wt=Zr([ke(0x1,_0x370f8c(_0x3d6839)),ke(0x2,_0x370f8c(ve)),ke(0x3,_0x225d18),ke(0x4,_0x370f8c(_0x18d2f9))],wt);const Qr=0x1,eo=1.5;class to extends _0x167643{constructor(_0x296c06,_0x1b3500){const _0x1d15af=_0xf86c5a;super(_0x296c06,_0x1b3500),l(this,_0x1d15af(0x2d2)),l(this,_0x1d15af(0x3d7),!0x1),l(this,'_range'),l(this,_0x1d15af(0x2d6),''),l(this,'_labelPosition',_0x1d15af(0x209)),l(this,'_backgroundColor'),(_0x1b3500&&this[_0x1d15af(0x349)](_0x1b3500),this[_0x1d15af(0x2d0)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1d15af(0x2fa)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xf86c5a(0x349)](_0x16e20b){const _0x8cb3b8=_0xf86c5a;var _0x3b2ca8,_0x94d896,_0x2417e7,_0x4c115c,_0x2f9a40,_0x4e0615;this['_color']=(_0x3b2ca8=_0x16e20b[_0x8cb3b8(0x33f)])!=null?_0x3b2ca8:this[_0x8cb3b8(0x2d2)],this[_0x8cb3b8(0x3d7)]=(_0x94d896=_0x16e20b[_0x8cb3b8(0x366)])!=null?_0x94d896:this[_0x8cb3b8(0x3d7)],this[_0x8cb3b8(0x1e8)]=(_0x2417e7=_0x16e20b[_0x8cb3b8(0x420)])!=null?_0x2417e7:this[_0x8cb3b8(0x1e8)],this[_0x8cb3b8(0x2d6)]=(_0x4c115c=_0x16e20b[_0x8cb3b8(0x11f)])!=null?_0x4c115c:this['_name'],this['_labelPosition']=(_0x2f9a40=_0x16e20b[_0x8cb3b8(0x446)])!=null?_0x2f9a40:this[_0x8cb3b8(0x441)],this[_0x8cb3b8(0x283)]=(_0x4e0615=_0x16e20b['backgroundColor'])!=null?_0x4e0615:this['_backgroundColor'],this[_0x8cb3b8(0x348)]({'width':_0x16e20b[_0x8cb3b8(0x30e)],'height':_0x16e20b[_0x8cb3b8(0x1de)]});}[_0xf86c5a(0x3a0)](_0x3b3558){const _0x3b6185=_0xf86c5a,{row:_0x32092,column:_0x2c5e1a}=_0x3b3558;if(_0x32092>=this[_0x3b6185(0x1e8)]['startRow']&&_0x32092<=this[_0x3b6185(0x1e8)][_0x3b6185(0x291)]&&_0x2c5e1a>=this['_range'][_0x3b6185(0x1d6)]&&_0x2c5e1a<=this['_range']['endColumn']){this[_0x3b6185(0x349)]({'hovered':!0x0});return;}this[_0x3b6185(0x349)]({'hovered':!0x1});}[_0xf86c5a(0x193)](_0x3ee75e){return!0x1;}[_0xf86c5a(0xec)](_0x5c0da1){const _0x5261b3=_0xf86c5a;_0x3fc8ee['drawWith'](_0x5c0da1,{'width':this[_0x5261b3(0x30e)],'height':this['height'],'strokeWidth':eo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5261b3(0x283)]}),this[_0x5261b3(0x3d7)]&&(_0x5c0da1[_0x5261b3(0x1f3)](),_0x5c0da1['transform'](0x1,0x0,0x0,0x1,this[_0x5261b3(0x30e)],this['_labelPosition']==='bottom'?0x0:-$e),st[_0x5261b3(0x43c)](_0x5c0da1,{'text':this[_0x5261b3(0x2d6)],'color':this['_color']}),_0x5c0da1[_0x5261b3(0x33c)]());}}var so=Object[_0xf86c5a(0xfa)],io=Object[_0xf86c5a(0x397)],no=(_0x3e1e85,_0x4501f6,_0x2cb05a,_0x296784)=>{const _0x589d6d=_0xf86c5a;for(var _0x2e3c08=_0x296784>0x1?void 0x0:_0x296784?io(_0x4501f6,_0x2cb05a):_0x4501f6,_0x4fe2e7=_0x3e1e85[_0x589d6d(0x28c)]-0x1,_0x5cc906;_0x4fe2e7>=0x0;_0x4fe2e7--)(_0x5cc906=_0x3e1e85[_0x4fe2e7])&&(_0x2e3c08=(_0x296784?_0x5cc906(_0x4501f6,_0x2cb05a,_0x2e3c08):_0x5cc906(_0x2e3c08))||_0x2e3c08);return _0x296784&&_0x2e3c08&&so(_0x4501f6,_0x2cb05a,_0x2e3c08),_0x2e3c08;},gt=(_0x4ca1f3,_0x4c4eb4)=>(_0x50fdbd,_0x22439b)=>_0x4c4eb4(_0x50fdbd,_0x22439b,_0x4ca1f3);const ro=0x1389;let Pt=class extends _0x27d368{constructor(_0x44aebe,_0x4b09c0,_0x17de70,_0x385b4f){const _0x3beec5=_0xf86c5a;super(),l(this,'_cursors',new Set()),l(this,_0x3beec5(0x173),null),(this[_0x3beec5(0x227)]=_0x44aebe,this[_0x3beec5(0x3ee)]=_0x4b09c0,this[_0x3beec5(0x1a8)]=_0x17de70,this[_0x3beec5(0x2e5)]=_0x385b4f,this[_0x3beec5(0x30d)]());}[_0xf86c5a(0x30d)](){const _0x355108=_0xf86c5a;this[_0x355108(0x3ee)]['currentSkeleton$'][_0x355108(0x268)](_0x1c351c(this[_0x355108(0x39d)]),_0x570e86(_0x5b7a7a=>{const _0x555f77=_0x355108;if(_0x5b7a7a){const _0x4509b7=_0x5b7a7a[_0x555f77(0x36b)];return _0x382452(this[_0x555f77(0x1a8)][_0x555f77(0x44d)](this['_context'][_0x555f77(0x25d)]),this['_themeService'][_0x555f77(0x412)])[_0x555f77(0x268)](_0x524dbf(([_0x2c88fb,_0x30c921])=>{const _0x562ad6=_0x555f77,_0x5319d5=new Map();return _0x2c88fb[_0x562ad6(0x26c)]((_0x4dbf95,_0x1d871b)=>{const _0x1fe43a=_0x562ad6;if(_0x4dbf95['sheetID']===_0x4509b7){const _0x548884={..._0x4dbf95};_0x548884[_0x1fe43a(0x33f)]=_0x30c921[_0x4dbf95[_0x1fe43a(0x33f)]],_0x5319d5['set'](_0x1d871b,_0x548884);}}),{'skeleton':_0x5b7a7a,'cursors':_0x5319d5};}));}return _0xfb2e43({'skeleton':null,'cursors':new Map()});}))[_0x355108(0x1c3)](({skeleton:_0x312622,cursors:_0x5318c8})=>{const _0xacdcde=_0x355108;this[_0xacdcde(0x3d9)](),_0x312622&&this[_0xacdcde(0x276)](_0x312622,_0x5318c8);}),this[_0x355108(0x3ee)]['currentSkeleton$'][_0x355108(0x1c3)](_0x13edd7=>{const _0x25fc1b=_0x355108;if(_0x13edd7==null)return;const {skeleton:_0x23c26a}=_0x13edd7,{scene:_0x42afaa}=this[_0x25fc1b(0x227)];_0x42afaa[_0x25fc1b(0x3e0)][_0x25fc1b(0x400)](_0x3e7548(_0x2b36cf=>{const _0x101e20=_0x25fc1b;var _0x281ebf,_0x722396;const {offsetX:_0x293417,offsetY:_0x2594b2}=_0x2b36cf,{x:_0x45c612,y:_0x419560}=_0x42afaa['getRelativeToViewportCoord'](_0x5207df[_0x101e20(0x2a9)]([_0x293417,_0x2594b2])),{scaleX:_0x1aa5b8,scaleY:_0x13a216}=_0x42afaa['getAncestorScale'](),_0x466e21=_0x42afaa[_0x101e20(0x2fb)](_0x3de08b['VIEW_MAIN']),_0x2a16ca=_0x42afaa[_0x101e20(0x128)](_0x5207df[_0x101e20(0x2a9)]([_0x45c612,_0x419560]),_0x466e21),_0xc1f85b=_0x23c26a['getCellPositionByOffset'](_0x293417,_0x2594b2,_0x1aa5b8,_0x13a216,_0x2a16ca);((_0x281ebf=this[_0x101e20(0x173)])==null?void 0x0:_0x281ebf[_0x101e20(0x437)])===_0xc1f85b[_0x101e20(0x437)]&&((_0x722396=this[_0x101e20(0x173)])==null?void 0x0:_0x722396['row'])===_0xc1f85b[_0x101e20(0x1cc)]||this[_0x101e20(0x1d5)][_0x101e20(0x26c)](_0x6fbe0a=>{const _0x2ae90d=_0x101e20;_0x6fbe0a[_0x2ae90d(0x3a0)](_0xc1f85b);});},0x64));});}['_updateCollabCursors'](_0xa74246,_0x4300b6){const _0x5a0c5a=_0xf86c5a;var _0x3679da;const _0x2e7ee9=(_0x3679da=this[_0x5a0c5a(0x3ee)][_0x5a0c5a(0x218)]())==null?void 0x0:_0x3679da['skeleton'];if(!_0x2e7ee9)return;const _0x570d4a=this['_getSheetObject']();if(!_0x570d4a)return;this[_0x5a0c5a(0x1d5)][_0x5a0c5a(0x26c)](_0x156911=>{const _0x375ef7=_0x5a0c5a;_0x156911[_0x375ef7(0x10b)]();});const {scene:_0x3a8c9d}=_0x570d4a,_0x42c249=oo(Array[_0x5a0c5a(0x37d)](_0x4300b6[_0x5a0c5a(0x119)]()))['map'](_0x91c5a2=>{const _0x534240=_0x5a0c5a,{color:_0x3ee5e9,range:_0x3a0f60,name:_0x34d44f,selection:_0x4807c1,sheetID:_0x3a6be1}=_0x91c5a2,{startColumn:_0xc06337,startRow:_0x56303e,endColumn:_0x352207,endRow:_0x37a06d}=_0x3a0f60,_0x29a5ef=_0x4bd0fa(_0x56303e,_0xc06337,_0x3a8c9d,_0x2e7ee9),_0x3f0d4b=_0x4bd0fa(_0x37a06d,_0x352207,_0x3a8c9d,_0x2e7ee9),{columnHeaderHeightAndMarginTop:_0x3d6116}=_0x2e7ee9,{startX:_0x414277,startY:_0x51bcb6}=_0x29a5ef,{endX:_0x439c74,endY:_0x30d09b}=_0x3f0d4b,_0x2ccbf8=_0x439c74-_0x414277,_0x558455=_0x30d09b-_0x51bcb6,_0x1bf89a={'labelPosition':_0x51bcb6-_0x3d6116>=$e?_0x534240(0x209):'bottom','sheetID':_0x3a6be1,'range':_0x3a0f60,'color':_0x3ee5e9,'name':_0x34d44f,'selection':_0x4807c1,'left':_0x414277,'top':_0x51bcb6,'width':_0x2ccbf8,'height':_0x558455,'evented':!0x1,'zIndex':ro};return new to(_0x34d44f,_0x1bf89a);});_0x3a8c9d[_0x5a0c5a(0x11d)](_0x42c249,Qr),this[_0x5a0c5a(0x1d5)]=new Set(_0x42c249);}[_0xf86c5a(0x3d9)](){const _0x3e639b=_0xf86c5a;var _0x11b7c7;(_0x11b7c7=this[_0x3e639b(0x1d5)])==null||_0x11b7c7['forEach'](_0xc304b2=>_0xc304b2[_0x3e639b(0x3ab)]());}[_0xf86c5a(0x1c6)](){const _0x5625e0=_0xf86c5a;return _0x4b698d(this['_context'][_0x5625e0(0x24a)],this[_0x5625e0(0x227)]);}};Pt=no([gt(0x1,_0x370f8c(_0x40b0bd)),gt(0x2,_0x370f8c(ve)),gt(0x3,_0x370f8c(_0x18d2f9))],Pt);function oo(_0x13c543){const _0x3b5eaf=_0xf86c5a,_0x35828e=new Map();return _0x13c543['forEach'](_0x5bc60e=>{const _0x441a11=_0x556d;if(_0x35828e[_0x441a11(0x1f5)](_0x5bc60e[_0x441a11(0x406)])){const _0x20e163=_0x35828e[_0x441a11(0x175)](_0x5bc60e['selection']);_0x20e163[_0x441a11(0x11f)]+=',\x20'+_0x5bc60e[_0x441a11(0x11f)];}else _0x35828e[_0x441a11(0x2be)](_0x5bc60e['selection'],_0x5bc60e);}),Array['from'](_0x35828e[_0x3b5eaf(0x119)]());}var N=function(){const _0x23bc13=_0xf86c5a;return N=Object['assign']||function(_0x2ba7f4){const _0xaf53eb=_0x556d;for(var _0x57d2f6,_0x29f77a=0x1,_0x40ad45=arguments[_0xaf53eb(0x28c)];_0x29f77a<_0x40ad45;_0x29f77a++){_0x57d2f6=arguments[_0x29f77a];for(var _0x3c21d5 in _0x57d2f6)Object[_0xaf53eb(0xf1)][_0xaf53eb(0x252)][_0xaf53eb(0x1ce)](_0x57d2f6,_0x3c21d5)&&(_0x2ba7f4[_0x3c21d5]=_0x57d2f6[_0x3c21d5]);}return _0x2ba7f4;},N[_0x23bc13(0x241)](this,arguments);},ao=function(_0x39d384,_0x1d45e6){const _0x31b523=_0xf86c5a;var _0x3f211b={};for(var _0x5893ec in _0x39d384)Object[_0x31b523(0xf1)][_0x31b523(0x252)][_0x31b523(0x1ce)](_0x39d384,_0x5893ec)&&_0x1d45e6[_0x31b523(0x2ed)](_0x5893ec)<0x0&&(_0x3f211b[_0x5893ec]=_0x39d384[_0x5893ec]);if(_0x39d384!=null&&typeof Object[_0x31b523(0x1bc)]==_0x31b523(0x1ad)){for(var _0x1be734=0x0,_0x5893ec=Object['getOwnPropertySymbols'](_0x39d384);_0x1be734<_0x5893ec[_0x31b523(0x28c)];_0x1be734++)_0x1d45e6[_0x31b523(0x2ed)](_0x5893ec[_0x1be734])<0x0&&Object['prototype'][_0x31b523(0x104)][_0x31b523(0x1ce)](_0x39d384,_0x5893ec[_0x1be734])&&(_0x3f211b[_0x5893ec[_0x1be734]]=_0x39d384[_0x5893ec[_0x1be734]]);}return _0x3f211b;},Yt=_0x31fd8f(function(_0x392a70,_0x5a85d3){const _0x39d69b=_0xf86c5a;var _0x5c2baf=_0x392a70[_0x39d69b(0x13b)],_0x235061=_0x392a70['id'],_0x239d65=_0x392a70['className'],_0xdfb241=_0x392a70['extend'],_0x5d9505=ao(_0x392a70,[_0x39d69b(0x13b),'id',_0x39d69b(0x23d),_0x39d69b(0x258)]),_0x11cfb4=_0x39d69b(0x2ec)[_0x39d69b(0x448)](_0x235061,'\x20')[_0x39d69b(0x448)](_0x239d65||'')[_0x39d69b(0x312)](),_0x40a386=_0x782f32('_'[_0x39d69b(0x448)](lo()));return Gs(_0x5c2baf,''[_0x39d69b(0x448)](_0x235061),{'defIds':_0x5c2baf['defIds'],'idSuffix':_0x40a386[_0x39d69b(0x133)]},N({'ref':_0x5a85d3,'className':_0x11cfb4},_0x5d9505),_0xdfb241);});function Gs(_0x624642,_0x2a8946,_0x3de78f,_0x553d09,_0x5e1060){const _0xa46639=_0xf86c5a;return _0x5d9ae6(_0x624642['tag'],N(N({'key':_0x2a8946},co(_0x624642,_0x3de78f,_0x5e1060)),_0x553d09),(ho(_0x624642,_0x3de78f)[_0xa46639(0xe4)]||[])[_0xa46639(0x2c1)](function(_0x386adf,_0xaed19c){const _0x26b368=_0xa46639;return Gs(_0x386adf,''[_0x26b368(0x448)](_0x2a8946,'-')[_0x26b368(0x448)](_0x624642[_0x26b368(0x34c)],'-')[_0x26b368(0x448)](_0xaed19c),_0x3de78f,void 0x0,_0x5e1060);}));}function co(_0x2ba9b5,_0x62f861,_0x2fba1e){const _0x596369=_0xf86c5a;var _0x5513c0=N({},_0x2ba9b5['attrs']);_0x2fba1e!=null&&_0x2fba1e[_0x596369(0x155)]&&_0x5513c0['fill']===_0x596369(0x155)&&(_0x5513c0[_0x596369(0x16b)]=_0x2fba1e[_0x596369(0x155)]);var _0x4f9eba=_0x62f861['defIds'];return!_0x4f9eba||_0x4f9eba[_0x596369(0x28c)]===0x0||(_0x2ba9b5['tag']===_0x596369(0x40b)&&_0x5513c0[_0x596369(0x282)]&&(_0x5513c0[_0x596369(0x282)]=_0x5513c0[_0x596369(0x282)]+_0x62f861[_0x596369(0x387)]),Object[_0x596369(0x468)](_0x5513c0)[_0x596369(0x26c)](function(_0xd8d903){const _0x1ea0df=_0x596369;var _0x8c2e35=_0xd8d903[0x0],_0x4b2d83=_0xd8d903[0x1];typeof _0x4b2d83==_0x1ea0df(0x1ab)&&(_0x5513c0[_0x8c2e35]=_0x4b2d83['replace'](/url\(#(.*)\)/,_0x1ea0df(0x183)[_0x1ea0df(0x448)](_0x62f861['idSuffix'],')')));})),_0x5513c0;}function ho(_0x231674,_0x46d371){const _0x4e26c9=_0xf86c5a;var _0x1c42cf,_0x42b214=_0x46d371['defIds'];return!_0x42b214||_0x42b214[_0x4e26c9(0x28c)]===0x0?_0x231674:_0x231674[_0x4e26c9(0x34c)]===_0x4e26c9(0x140)&&(!((_0x1c42cf=_0x231674['children'])===null||_0x1c42cf===void 0x0)&&_0x1c42cf[_0x4e26c9(0x28c)])?N(N({},_0x231674),{'children':_0x231674[_0x4e26c9(0xe4)][_0x4e26c9(0x2c1)](function(_0x447ce1){const _0x22e8cb=_0x4e26c9;return typeof _0x447ce1['attrs']['id']=='string'&&_0x42b214&&_0x42b214[_0x22e8cb(0x2ed)](_0x447ce1[_0x22e8cb(0x2bf)]['id'])>-0x1?N(N({},_0x447ce1),{'attrs':N(N({},_0x447ce1['attrs']),{'id':_0x447ce1['attrs']['id']+_0x46d371[_0x22e8cb(0x387)]})}):_0x447ce1;})}):_0x231674;}function lo(){const _0x48196b=_0xf86c5a;return Math['random']()[_0x48196b(0x202)](0x24)['substring'](0x2,0x8);}Yt[_0xf86c5a(0x125)]=_0xf86c5a(0x338);var _o={'tag':_0xf86c5a(0x2c0),'attrs':{'fill':'none','viewBox':_0xf86c5a(0x160),'width':'1em','height':_0xf86c5a(0x396)},'children':[{'tag':'g','attrs':{'clipPath':_0xf86c5a(0x391)},'children':[{'tag':_0xf86c5a(0x190),'attrs':{'stroke':_0xf86c5a(0xf7),'d':_0xf86c5a(0x313),'strokeLinecap':'round','strokeLinejoin':_0xf86c5a(0x354),'strokeWidth':1.2}}]},{'tag':_0xf86c5a(0x140),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xf86c5a(0x1e5)},'children':[{'tag':_0xf86c5a(0x190),'attrs':{'fill':_0xf86c5a(0x443),'d':_0xf86c5a(0x38a)}}]}]}],'defIds':[_0xf86c5a(0x1e5)]},Ys=_0x31fd8f(function(_0x1af955,_0x23acec){const _0x7f9be4=_0xf86c5a;return _0x5d9ae6(Yt,Object['assign']({},_0x1af955,{'id':_0x7f9be4(0x2d5),'ref':_0x23acec,'icon':_o}));});Ys[_0xf86c5a(0x125)]=_0xf86c5a(0x208);var uo={'tag':_0xf86c5a(0x2c0),'attrs':{'fill':_0xf86c5a(0x3f8),'viewBox':_0xf86c5a(0x37f),'width':_0xf86c5a(0x396),'height':_0xf86c5a(0x396)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0xf86c5a(0xf7),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xf86c5a(0x354),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xf86c5a(0x140),'attrs':{},'children':[{'tag':_0xf86c5a(0x132),'attrs':{'id':_0xf86c5a(0x146)},'children':[{'tag':_0xf86c5a(0x190),'attrs':{'fill':'#fff','d':_0xf86c5a(0x38a),'transform':_0xf86c5a(0x16f)}}]}]}],'defIds':[_0xf86c5a(0x146)]},Ks=_0x31fd8f(function(_0x32fae6,_0x45faf8){const _0x57bea5=_0xf86c5a;return _0x5d9ae6(Yt,Object['assign']({},_0x32fae6,{'id':_0x57bea5(0x32e),'ref':_0x45faf8,'icon':uo}));});Ks[_0xf86c5a(0x125)]=_0xf86c5a(0x1bb);function Xs(_0x1accff){const _0x58663d=_0xf86c5a;var _0x1fa91c,_0x319cc7,_0x181eed='';if(typeof _0x1accff=='string'||typeof _0x1accff=='number')_0x181eed+=_0x1accff;else{if(typeof _0x1accff==_0x58663d(0x14a)){if(Array[_0x58663d(0x453)](_0x1accff)){var _0x3d8bf1=_0x1accff['length'];for(_0x1fa91c=0x0;_0x1fa91c<_0x3d8bf1;_0x1fa91c++)_0x1accff[_0x1fa91c]&&(_0x319cc7=Xs(_0x1accff[_0x1fa91c]))&&(_0x181eed&&(_0x181eed+='\x20'),_0x181eed+=_0x319cc7);}else{for(_0x319cc7 in _0x1accff)_0x1accff[_0x319cc7]&&(_0x181eed&&(_0x181eed+='\x20'),_0x181eed+=_0x319cc7);}}}return _0x181eed;}function fo(){const _0x3b1379=_0xf86c5a;for(var _0x14e48a,_0x333712,_0x13cf94=0x0,_0x251966='',_0x53e9a3=arguments[_0x3b1379(0x28c)];_0x13cf94<_0x53e9a3;_0x13cf94++)(_0x14e48a=arguments[_0x13cf94])&&(_0x333712=Xs(_0x14e48a))&&(_0x251966&&(_0x251966+='\x20'),_0x251966+=_0x333712);return _0x251966;}const mo=_0xf86c5a(0x293),go=_0xf86c5a(0x2d9),So=_0xf86c5a(0x1cf),po=_0xf86c5a(0x2f5),vo=_0xf86c5a(0x370),Pe={'onlineStatusIcon':mo,'onlineStatusTitle':go,'onlineStatus':So,'online':po,'offline':vo};function Io(_0x32bf14){const _0x171dc0=_0xf86c5a;switch(_0x32bf14){case P[_0x171dc0(0x2a1)]:return _0x171dc0(0x3bf);case P[_0x171dc0(0x1d4)]:return'collabStatus.conflict';case P[_0x171dc0(0x38b)]:return _0x171dc0(0x2f2);case P[_0x171dc0(0x239)]:return _0x171dc0(0x40e);case P[_0x171dc0(0x3fe)]:case P[_0x171dc0(0x120)]:case P['AWAITING_WITH_PENDING']:return _0x171dc0(0x22e);case P[_0x171dc0(0x115)]:return _0x171dc0(0x20d);}}function Eo(_0x5ab5f3){const _0x4c0a73=_0xf86c5a,{status$:_0x567965}=_0x5ab5f3,_0x156716=_0xa83107(_0x567965,P[_0x4c0a73(0x239)]),_0x18029b=_0x3333be(_0x2673bf),_0x225d6b=_0x3333be(he),_0x4a672b=_0x156716!==P[_0x4c0a73(0x2a1)],_0x24fe4c=_0x18029b['t'](Io(_0x156716)),_0x14e593=fo(Pe[_0x4c0a73(0x466)],{[Pe[_0x4c0a73(0x374)]]:_0x4a672b,[Pe[_0x4c0a73(0x123)]]:!_0x4a672b}),_0x19308e=_0x4a672b?_0x52a9d6[_0x4c0a73(0xe5)](Ks,null):_0x52a9d6[_0x4c0a73(0xe5)](Ys,null),_0x27e31d=_0x4bc1b9(()=>{const _0x286dfa=_0x4c0a73;_0x4a672b||_0x225d6b[_0x286dfa(0x36d)]();},[_0x4a672b,_0x225d6b]);function _0x1c5e90(){const _0x6978f3=_0x4c0a73;return _0x52a9d6['createElement'](_0x6978f3(0x248),{'className':_0x14e593,'onClick':_0x27e31d},_0x52a9d6[_0x6978f3(0xe5)](_0x6978f3(0x248),{'className':Pe[_0x6978f3(0x353)]},_0x19308e),_0x52a9d6[_0x6978f3(0xe5)](_0x6978f3(0x248),{'className':Pe['onlineStatusTitle']},_0x24fe4c));}return _0x4a672b?_0x1c5e90():_0x52a9d6[_0x4c0a73(0xe5)](_0x27c9f9,{'title':_0x18029b['t']('collab-client.tooltip.reconnect')},_0x1c5e90());}var Co=Object[_0xf86c5a(0xfa)],bo=Object[_0xf86c5a(0x397)],To=(_0x2d6a04,_0x505e76,_0x484e7b,_0x330739)=>{const _0x25a422=_0xf86c5a;for(var _0x324c58=_0x330739>0x1?void 0x0:_0x330739?bo(_0x505e76,_0x484e7b):_0x505e76,_0x1a75d3=_0x2d6a04[_0x25a422(0x28c)]-0x1,_0x41a2fb;_0x1a75d3>=0x0;_0x1a75d3--)(_0x41a2fb=_0x2d6a04[_0x1a75d3])&&(_0x324c58=(_0x330739?_0x41a2fb(_0x505e76,_0x484e7b,_0x324c58):_0x41a2fb(_0x324c58))||_0x324c58);return _0x330739&&_0x324c58&&Co(_0x505e76,_0x484e7b,_0x324c58),_0x324c58;},Be=(_0x187366,_0x3a350d)=>(_0x25bfe4,_0x3a8e57)=>_0x3a350d(_0x25bfe4,_0x3a8e57,_0x187366);let Me=class extends _0x4091c9{constructor(_0x11b0b5,_0x175029,_0x3b44b9,_0x51e2a7){const _0x20d62e=_0xf86c5a;super(),l(this,'_status$',new _0x52cf76(P['NOT_COLLAB'])),(this[_0x20d62e(0x358)]=_0x11b0b5,this[_0x20d62e(0x121)]=_0x175029,this[_0x20d62e(0x22b)]=_0x3b44b9,this[_0x20d62e(0x289)]=_0x51e2a7,this[_0x20d62e(0x3fd)](),this['_initStatusListener']());}[_0xf86c5a(0x28a)](){const _0x1071e8=_0xf86c5a;this['disposeWithMe'](this[_0x1071e8(0x358)][_0x1071e8(0x2d4)][_0x1071e8(0x268)](_0x4e5135(()=>{const _0x32fb0a=_0x1071e8,_0x2bcdd6=this[_0x32fb0a(0x358)][_0x32fb0a(0x263)]();return _0x2bcdd6?this[_0x32fb0a(0x289)]['getCollabEntity$'](_0x2bcdd6['getUnitId']()):_0xfb2e43(null);}),_0x4e5135(_0x5a078e=>_0x5a078e?_0x5a078e[_0x1071e8(0x217)]:_0xfb2e43(P[_0x1071e8(0x239)])))['subscribe'](_0x587f87=>{const _0x28266b=_0x1071e8;this[_0x28266b(0x15d)]['next'](_0x587f87);}));}[_0xf86c5a(0x3fd)](){const _0x32068f=_0xf86c5a;this[_0x32068f(0x177)](this[_0x32068f(0x121)][_0x32068f(0x223)](_0x1527eb['HEADER_MENU'],()=>_0x52ea46(Ro({'status$':this[_0x32068f(0x15d)][_0x32068f(0x377)]()}),this[_0x32068f(0x22b)])));}};Me=To([Be(0x0,_0x5edd3d),Be(0x1,_0x53177d),Be(0x2,_0x370f8c(_0x595e81)),Be(0x3,_0x370f8c(Le))],Me);function Ro(_0x35d742){const {status$:_0x181f9e}=_0x35d742;return function(){return _0x52a9d6['createElement'](Eo,{'status$':_0x181f9e});};}const qs=_0x2452f4('uni.network.url-service');var Oo=Object['defineProperty'],Do=Object[_0xf86c5a(0x397)],wo=(_0xd42e56,_0x4c45d2,_0x27bd24,_0x41a05c)=>{const _0xb2a83=_0xf86c5a;for(var _0x3bf086=_0x41a05c>0x1?void 0x0:_0x41a05c?Do(_0x4c45d2,_0x27bd24):_0x4c45d2,_0x5d0896=_0xd42e56[_0xb2a83(0x28c)]-0x1,_0x49c601;_0x5d0896>=0x0;_0x5d0896--)(_0x49c601=_0xd42e56[_0x5d0896])&&(_0x3bf086=(_0x41a05c?_0x49c601(_0x4c45d2,_0x27bd24,_0x3bf086):_0x49c601(_0x3bf086))||_0x3bf086);return _0x41a05c&&_0x3bf086&&Oo(_0x4c45d2,_0x27bd24,_0x3bf086),_0x3bf086;},ge=(_0xb0f2ad,_0x47c0de)=>(_0x12d4f7,_0x5c10c8)=>_0x47c0de(_0x12d4f7,_0x5c10c8,_0xb0f2ad);let Je=class extends _0x27d368{constructor(_0x37e36b,_0x142506,_0x3b7065,_0x407926,_0xdcb4e5,_0x35c742){const _0x25122e=_0xf86c5a;super(),this['_urlService']=_0x37e36b,this[_0x25122e(0x435)]=_0x142506,this[_0x25122e(0x456)]=_0x3b7065,this[_0x25122e(0x373)]=_0x407926,this[_0x25122e(0x415)]=_0xdcb4e5,_0x35c742?_0x35c742==null||_0x35c742[_0x25122e(0x1ec)]()[_0x25122e(0x15f)](()=>this[_0x25122e(0x30d)]()):(this[_0x25122e(0x435)]['debug']('[DataLoaderController]',_0x25122e(0x273)),this[_0x25122e(0x30d)]());}async['_init'](){const _0x3c6592=_0xf86c5a,_0x2ca7b5=this['_urlService']['getParam']('unit'),_0x592457=this[_0x3c6592(0x105)][_0x3c6592(0x335)](_0x3c6592(0x246));if(!_0x2ca7b5||!_0x592457){this[_0x3c6592(0x435)][_0x3c6592(0x379)](_0x3c6592(0x1b7),_0x3c6592(0x1b9));return;}switch(Number(_0x592457)){case k['UNIVER_SHEET']:{const _0x684e7c=await this['_loadSheet'](_0x2ca7b5);this[_0x3c6592(0x37a)](_0x684e7c);break;}case k[_0x3c6592(0x320)]:{await this[_0x3c6592(0xfd)](_0x2ca7b5);break;}default:{this[_0x3c6592(0x435)][_0x3c6592(0x3a5)](_0x3c6592(0x1b7),_0x3c6592(0x457));break;}}}async['_setupSubUnitSync'](_0x41c8c7){const _0x5103ee=_0xf86c5a;await this[_0x5103ee(0xee)](_0x41c8c7),_0x41c8c7[_0x5103ee(0x181)][_0x5103ee(0x268)](_0x14bd7d(this['dispose$']))['subscribe'](_0x24b435=>{const _0x138f05=_0x5103ee;_0x24b435&&this[_0x138f05(0x1a3)](_0x24b435);}),this[_0x5103ee(0x105)]['urlChange$']['pipe'](_0x14bd7d(this['dispose$']))[_0x5103ee(0x1c3)](()=>this['_updateSubUnitFromURLParams'](_0x41c8c7));}[_0xf86c5a(0x1a3)](_0x36b09e,_0x326a99=!0x1){const _0x49dae4=_0xf86c5a,_0x19bc1d=this['_urlService']['getParam'](_0x49dae4(0x364));_0x36b09e[_0x49dae4(0x300)]()!==_0x19bc1d&&this['_urlService']['setParam']('subunit',_0x36b09e[_0x49dae4(0x300)](),_0x326a99);}async[_0xf86c5a(0xee)](_0x8623ed){const _0x1297a4=_0xf86c5a;var _0x1d230a;const _0x302c03=this['_urlService'][_0x1297a4(0x335)](_0x1297a4(0x364));if(!_0x302c03||!_0x8623ed['getSheetBySheetId'](_0x302c03)){const _0x685f3=_0x8623ed[_0x1297a4(0x23b)]()[0x0],_0x1064de=_0x8623ed[_0x1297a4(0x145)](_0x685f3);if(!_0x1064de)return;this[_0x1297a4(0x1a3)](_0x1064de,!0x0),await this[_0x1297a4(0x456)][_0x1297a4(0x1b5)](_0x558010['id'],{'unitId':_0x8623ed['getUnitId'](),'subUnitId':_0x685f3});return;}((_0x1d230a=_0x8623ed[_0x1297a4(0x204)]())==null?void 0x0:_0x1d230a[_0x1297a4(0x300)]())!==_0x302c03&&await this[_0x1297a4(0x456)][_0x1297a4(0x1b5)](_0x558010['id'],{'unitId':_0x8623ed[_0x1297a4(0x23e)](),'subUnitId':_0x302c03});}async['_loadSheet'](_0x2a5aba){const _0x34585c=_0xf86c5a;let _0x582d3d=0x0;const _0x25f18e=await this[_0x34585c(0x373)][_0x34585c(0x3ec)](_0x2a5aba);return _0x25f18e&&(_0x25f18e['awaitingChangeset']||_0x25f18e['mutations']['length']!==0x0)&&(_0x582d3d=_0x25f18e[_0x34585c(0x27b)]),_0x582d3d===0x0&&this[_0x34585c(0x435)][_0x34585c(0x379)]('[DataLoaderController]',_0x34585c(0x316)),this[_0x34585c(0x415)][_0x34585c(0x439)](_0x2a5aba,_0x582d3d);}async[_0xf86c5a(0xfd)](_0x4ee3e2){const _0x19af66=_0xf86c5a;let _0x2aec95=0x0;const _0x37ae47=await this[_0x19af66(0x373)][_0x19af66(0x3ec)](_0x4ee3e2);return _0x37ae47&&(_0x37ae47[_0x19af66(0x2f0)]||_0x37ae47[_0x19af66(0x3c1)]['length']!==0x0)&&(_0x2aec95=_0x37ae47[_0x19af66(0x27b)]),_0x2aec95===0x0&&this[_0x19af66(0x435)][_0x19af66(0x379)](_0x19af66(0x1b7),_0x19af66(0x316)),this[_0x19af66(0x415)][_0x19af66(0x3b7)](_0x4ee3e2,_0x2aec95);}};Je=wo([ge(0x0,qs),ge(0x1,_0x593f47),ge(0x2,_0x225d18),ge(0x3,_0x370f8c(w)),ge(0x4,_0x370f8c(_0xbe9482)),ge(0x5,_0x2fd677(_0x5e0f61))],Je);var Po=Object['defineProperty'],yo=Object[_0xf86c5a(0x397)],Uo=(_0x301120,_0x492d5e,_0x27f0d1,_0x541616)=>{const _0x40c69c=_0xf86c5a;for(var _0x43d909=_0x541616>0x1?void 0x0:_0x541616?yo(_0x492d5e,_0x27f0d1):_0x492d5e,_0x4f8da2=_0x301120[_0x40c69c(0x28c)]-0x1,_0x4a10a9;_0x4f8da2>=0x0;_0x4f8da2--)(_0x4a10a9=_0x301120[_0x4f8da2])&&(_0x43d909=(_0x541616?_0x4a10a9(_0x492d5e,_0x27f0d1,_0x43d909):_0x4a10a9(_0x43d909))||_0x43d909);return _0x541616&&_0x43d909&&Po(_0x492d5e,_0x27f0d1,_0x43d909),_0x43d909;},Ss=(_0x5a2d6f,_0x5859a4)=>(_0x4cf6e2,_0x4adf53)=>_0x5859a4(_0x4cf6e2,_0x4adf53,_0x5a2d6f);const No=_0xf86c5a(0x39b),Mo='Univer';let ze=class extends _0x4091c9{constructor(_0x3fc0ad,_0x5f1c83){const _0x582a0a=_0xf86c5a;super(),this[_0x582a0a(0x358)]=_0x3fc0ad,this[_0x582a0a(0x2ae)]=_0x5f1c83,this[_0x582a0a(0x30d)]();}[_0xf86c5a(0x30d)](){const _0x83824=_0xf86c5a;this[_0x83824(0x177)](this[_0x83824(0x358)][_0x83824(0x2d4)][_0x83824(0x1c3)](()=>{const _0x230a8e=_0x83824;var _0x277f38;const _0x716963=this['_univerInstanceService'][_0x230a8e(0x263)]();let _0x3b3a40=(_0x277f38=this['_configService'][_0x230a8e(0x1bf)](No))!=null?_0x277f38:Mo;_0x716963 instanceof _0x4e5c0a&&(_0x3b3a40=_0x716963['name']),document[_0x230a8e(0x28d)]=_0x3b3a40;}));}};ze=Uo([Ss(0x0,_0x5edd3d),Ss(0x1,_0x5bc7de)],ze);var Ao=Object[_0xf86c5a(0xfa)],Lo=Object[_0xf86c5a(0x397)],$o=(_0x5e5cde,_0x1bae36,_0x261f96,_0x316bea)=>{const _0x477a8a=_0xf86c5a;for(var _0x1eac3c=_0x316bea>0x1?void 0x0:_0x316bea?Lo(_0x1bae36,_0x261f96):_0x1bae36,_0x287f53=_0x5e5cde[_0x477a8a(0x28c)]-0x1,_0x20a5e1;_0x287f53>=0x0;_0x287f53--)(_0x20a5e1=_0x5e5cde[_0x287f53])&&(_0x1eac3c=(_0x316bea?_0x20a5e1(_0x1bae36,_0x261f96,_0x1eac3c):_0x20a5e1(_0x1eac3c))||_0x1eac3c);return _0x316bea&&_0x1eac3c&&Ao(_0x1bae36,_0x261f96,_0x1eac3c),_0x1eac3c;},St=(_0x30df27,_0x83fd1e)=>(_0x3f4dfd,_0x4d20a6)=>_0x83fd1e(_0x3f4dfd,_0x4d20a6,_0x30df27);let Ze=class{constructor(_0x2ca5c3,_0x1b7588,_0x1cfe1b){const _0x4197fa=_0xf86c5a;this[_0x4197fa(0x2ae)]=_0x2ca5c3,this[_0x4197fa(0x3f6)]=_0x1b7588,this[_0x4197fa(0x3b5)]=_0x1cfe1b,this[_0x4197fa(0x18f)]();}[_0xf86c5a(0x18f)](){const _0x3cdbfd=_0xf86c5a;this['_httpService'][_0x3cdbfd(0x25f)]({'priority':0x1,'interceptor':(_0x13ca88,_0x1e2044)=>_0x1e2044(_0x13ca88)['pipe'](_0x56297b(async _0x567f1b=>{const _0x103273=_0x3cdbfd,_0x538eb9=_0x567f1b;if(_0x538eb9[_0x103273(0x29a)]===0x191&&window[_0x103273(0xfe)](this['localeService']['t'](_0x103273(0x462)))){const _0xaf0f7=window[_0x103273(0x444)](window['location'][_0x103273(0x41b)]);window[_0x103273(0x212)][_0x103273(0x41b)]=this[_0x103273(0x1a2)]()+_0x103273(0x19e)+_0xaf0f7;}return _0x538eb9;}))});}[_0xf86c5a(0x1a2)](){const _0x4d0492=_0xf86c5a;var _0x43d10b,_0x11b21b;const _0x2b3c6b=this[_0x4d0492(0x2ae)]['getConfig'](Nn),_0x3ca827=this[_0x4d0492(0x2ae)][_0x4d0492(0x1bf)]($);return(_0x11b21b=(_0x43d10b=_0x3ca827==null?void 0x0:_0x3ca827['loginUrlKey'])!=null?_0x43d10b:_0x2b3c6b)!=null?_0x11b21b:Mn;}};Ze=$o([St(0x0,_0x5bc7de),St(0x1,_0x370f8c(_0x172026)),St(0x2,_0x370f8c(_0x2673bf))],Ze);var jo=Object[_0xf86c5a(0xfa)],xo=Object['getOwnPropertyDescriptor'],Ho=(_0x18914d,_0x3072c0,_0x4b6138,_0x1a20ba)=>{const _0x7d75c7=_0xf86c5a;for(var _0x40eaf7=_0x1a20ba>0x1?void 0x0:_0x1a20ba?xo(_0x3072c0,_0x4b6138):_0x3072c0,_0x13d16d=_0x18914d[_0x7d75c7(0x28c)]-0x1,_0x4d6ae9;_0x13d16d>=0x0;_0x13d16d--)(_0x4d6ae9=_0x18914d[_0x13d16d])&&(_0x40eaf7=(_0x1a20ba?_0x4d6ae9(_0x3072c0,_0x4b6138,_0x40eaf7):_0x4d6ae9(_0x40eaf7))||_0x40eaf7);return _0x1a20ba&&_0x40eaf7&&jo(_0x3072c0,_0x4b6138,_0x40eaf7),_0x40eaf7;},ps=(_0x12a3cc,_0x4d70e8)=>(_0x350905,_0x8fbb9a)=>_0x4d70e8(_0x350905,_0x8fbb9a,_0x12a3cc);const ko='AUTHZ_URL_KEY',Bo=_0xf86c5a(0x1f1);let yt=class extends _0x4091c9{constructor(_0x177c99,_0x52e5cd){const _0x59b4b5=_0xf86c5a;super(),this[_0x59b4b5(0x284)]=_0x177c99,this[_0x59b4b5(0x2ae)]=_0x52e5cd,this[_0x59b4b5(0x251)]();}[_0xf86c5a(0x251)](){const _0x25e79c=_0xf86c5a,_0x3cd4f2=this;this[_0x25e79c(0x177)](this[_0x25e79c(0x284)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x420762({'isMatch'(_0x54970e){const _0x3d5967=_0x25e79c;var _0x5de87e;if(_0x54970e['method']===_0x3d5967(0x2ba)&&((_0x5de87e=_0x54970e['requestParams'])!=null&&_0x5de87e[_0x3d5967(0x20e)])){const {objectID:_0x53667d,objectType:_0x4466c2}=_0x54970e[_0x3d5967(0x40a)][_0x3d5967(0x20e)]||{};if(!_0x53667d||_0x4466c2===void 0x0)return!0x1;const _0x1b3f82=_0x3cd4f2[_0x3d5967(0x1ae)]()+'/'+_0x4466c2+_0x3d5967(0x11a)+_0x53667d+_0x3d5967(0x130);if(_0x54970e[_0x3d5967(0x11b)]===_0x1b3f82)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x47149d){const _0x4eb1d5=_0x25e79c;var _0x51d5d7;return(_0x51d5d7=_0x47149d[_0x4eb1d5(0x40a)])==null?void 0x0:_0x51d5d7[_0x4eb1d5(0x20e)];},'mergeParamsToRequest'(_0x281aa7,_0x483494){const _0x164a44=_0x25e79c,_0x4b9ac2=_0x3cd4f2[_0x164a44(0x1ae)]()+_0x164a44(0x408),_0x19779b=_0x281aa7[_0x164a44(0x326)]((_0x3527a9,_0x4a016c)=>{const _0x34d658=_0x164a44,{unitID:_0x3234a0,objectID:_0x4e0927,objectType:_0x2f150a,actions:_0xbc90cf}=_0x4a016c;return _0x3527a9[_0x3234a0]||(_0x3527a9[_0x3234a0]={}),_0x3527a9[_0x3234a0][_0x4e0927]||(_0x3527a9[_0x3234a0][_0x4e0927]={'objectID':_0x4e0927,'objectType':_0x2f150a,'actions':[]}),_0x3527a9[_0x3234a0][_0x4e0927][_0x34d658(0x3e1)][_0x34d658(0x106)](..._0xbc90cf),_0x3527a9;},{}),_0x656b33=[];for(const _0x3ee0a3 in _0x19779b)for(const _0x43144a in _0x19779b[_0x3ee0a3]){const {actions:_0x4db424,objectType:_0x3533c2}=_0x19779b[_0x3ee0a3][_0x43144a],_0x193a40=[...new Set(_0x4db424)];_0x656b33['push']({'unitID':_0x3ee0a3,'objectID':_0x43144a,'objectType':_0x3533c2,'actions':_0x193a40});}return new _0x3fb75d(_0x164a44(0x2ba),_0x4b9ac2,{'headers':_0x483494[_0x164a44(0x26b)],'withCredentials':_0x483494[_0x164a44(0x135)],'responseType':_0x483494[_0x164a44(0x3df)],'body':{'requests':_0x656b33}});}},{'distributeResult'(_0x1eee1f,_0x39a7bd){const _0x3b6840=_0x25e79c,{objectActions:_0x43b0d1}=_0x1eee1f;return _0x39a7bd[_0x3b6840(0x2c1)](_0x525e9c=>{const _0x5c2c30=_0x3b6840,{unitID:_0x28fc48,objectID:_0x4dc1ce,actions:_0x2162b9}=_0x525e9c,_0x3c1dfa=_0x43b0d1[_0x5c2c30(0x179)](_0x976b5d=>_0x976b5d[_0x5c2c30(0x427)]===_0x28fc48&&_0x976b5d['objectID']===_0x4dc1ce),_0x25d19a=_0x2162b9['map'](_0x3a99a6=>_0x3c1dfa==null?void 0x0:_0x3c1dfa[_0x5c2c30(0x3e1)][_0x5c2c30(0x179)](_0x14f94c=>_0x14f94c['action']===_0x3a99a6))['filter'](_0x39c51b=>!!_0x39c51b);return{'config':_0x525e9c,'result':{'actions':_0x25d19a,'error':_0x1eee1f[_0x5c2c30(0x3a5)]}};});}})}));}[_0xf86c5a(0x1ae)](){const _0x477ca1=_0xf86c5a;var _0x4dc05a,_0x37c35f;const _0x37a477=this[_0x477ca1(0x2ae)][_0x477ca1(0x1bf)](ko),_0x15009f=this[_0x477ca1(0x2ae)][_0x477ca1(0x1bf)]($);return(_0x37c35f=(_0x4dc05a=_0x15009f==null?void 0x0:_0x15009f['authzUrl'])!=null?_0x4dc05a:_0x37a477)!=null?_0x37c35f:Bo;}async[_0xf86c5a(0x14b)](_0x143148){const _0x433edb=_0xf86c5a,_0x3abbe3=this['_getAPIPrefixPath']()+'/'+_0x143148['objectType']+_0x433edb(0x445);return(await this['_HTTPService'][_0x433edb(0x1d7)](_0x3abbe3,{'body':_0x143148}))[_0x433edb(0x20e)][_0x433edb(0x42f)]||'';}async[_0xf86c5a(0x3c9)](_0x423f9f){const _0x57bc7b=_0xf86c5a,_0x21b526=this[_0x57bc7b(0x1ae)]()+_0x57bc7b(0x319);return(await this[_0x57bc7b(0x284)][_0x57bc7b(0x1d7)](_0x21b526,{'body':_0x423f9f}))[_0x57bc7b(0x20e)][_0x57bc7b(0x1fd)];}async[_0xf86c5a(0x3d1)](_0x4e5613){const _0x972802=_0xf86c5a,_0x40b49a=this[_0x972802(0x1ae)]()+'/'+_0x4e5613[_0x972802(0x2a6)]+_0x972802(0x11a)+_0x4e5613['objectID'];await this[_0x972802(0x284)]['put'](_0x40b49a,{'body':_0x4e5613});}async[_0xf86c5a(0x1e0)](_0x992b12){const _0x3d8f1f=_0xf86c5a,_0x509bfe=this[_0x3d8f1f(0x1ae)]()+'/'+_0x992b12[_0x3d8f1f(0x2a6)]+_0x3d8f1f(0x11a)+_0x992b12['objectID']+_0x3d8f1f(0x130);return(await this[_0x3d8f1f(0x284)][_0x3d8f1f(0x1d7)](_0x509bfe,{'body':_0x992b12}))['body'][_0x3d8f1f(0x3e1)];}async['batchAllowed'](_0x3678fa){const _0x5534cf=_0xf86c5a,_0x258ff6=this[_0x5534cf(0x1ae)]()+_0x5534cf(0x408);return(await this[_0x5534cf(0x284)]['post'](_0x258ff6,{'body':{'requests':_0x3678fa}}))['body']['objectActions'];}async[_0xf86c5a(0x25e)](_0x1c15b3){const _0x1407e8=_0xf86c5a,_0x3b7b4c=this['_getAPIPrefixPath']()+'/'+_0x1c15b3['objectType']+'/role',_0x112b5d=await this[_0x1407e8(0x284)]['post'](_0x3b7b4c,{'body':_0x1c15b3});return{'roles':_0x112b5d[_0x1407e8(0x20e)][_0x1407e8(0x402)],'actions':_0x112b5d['body'][_0x1407e8(0x3e1)]};}async['deleteCollaborator'](_0x3524d0){const _0x416cd7=_0xf86c5a,_0x323b5c=this[_0x416cd7(0x1ae)]()+_0x416cd7(0x113);await this[_0x416cd7(0x284)]['delete'](_0x323b5c,{'params':{'collaboratorID':_0x3524d0[_0x416cd7(0x418)],'objectID':_0x3524d0[_0x416cd7(0x42f)],'unitID':_0x3524d0[_0x416cd7(0x427)]}});}async[_0xf86c5a(0x343)](_0xce5698){const _0x152cfb=_0xf86c5a,_0xdd3008=this[_0x152cfb(0x1ae)]()+'/collaborator';await this[_0x152cfb(0x284)][_0x152cfb(0x450)](_0xdd3008,{'body':_0xce5698});}async[_0xf86c5a(0x35a)](_0xc87b0f){const _0x164588=_0xf86c5a,_0x349b4e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x164588(0x284)]['post'](_0x349b4e,{'body':_0xc87b0f});}async[_0xf86c5a(0xe6)](_0x1be47f){const _0x1da31f=_0xf86c5a,_0x3c93e3=this[_0x1da31f(0x1ae)]()+_0x1da31f(0x113);return(await this[_0x1da31f(0x284)][_0x1da31f(0x175)](_0x3c93e3,{'params':{'objectID':_0x1be47f[_0x1da31f(0x42f)],'unitID':_0x1be47f['unitID']}}))[_0x1da31f(0x20e)][_0x1da31f(0x257)];}async[_0xf86c5a(0x35e)](_0x317d35){const _0x288a4f=_0xf86c5a,_0x37d54a=this[_0x288a4f(0x1ae)]()+'/collaborator';await this[_0x288a4f(0x284)]['put'](_0x37d54a,{'body':_0x317d35});}};yt=Ho([ps(0x0,_0x370f8c(_0x172026)),ps(0x1,_0x370f8c(_0x5bc7de))],yt);var Vo=Object[_0xf86c5a(0xfa)],Fo=Object[_0xf86c5a(0x397)],Wo=(_0x365814,_0xa5d90c,_0x3b864a,_0x1a78c0)=>{for(var _0x370ec0=_0x1a78c0>0x1?void 0x0:_0x1a78c0?Fo(_0xa5d90c,_0x3b864a):_0xa5d90c,_0x1ad665=_0x365814['length']-0x1,_0x37e0d6;_0x1ad665>=0x0;_0x1ad665--)(_0x37e0d6=_0x365814[_0x1ad665])&&(_0x370ec0=(_0x1a78c0?_0x37e0d6(_0xa5d90c,_0x3b864a,_0x370ec0):_0x37e0d6(_0x370ec0))||_0x370ec0);return _0x1a78c0&&_0x370ec0&&Vo(_0xa5d90c,_0x3b864a,_0x370ec0),_0x370ec0;},Go=(_0x2309bb,_0x19cae0)=>(_0x482394,_0x3fbeb0)=>_0x19cae0(_0x482394,_0x3fbeb0,_0x2309bb);let Qe=class{constructor(_0x112cff){const _0x38ce04=_0xf86c5a;this[_0x38ce04(0x3f6)]=_0x112cff,this[_0x38ce04(0x3cf)]();}[_0xf86c5a(0x3cf)](){const _0xe463=_0xf86c5a;this['_httpService'][_0xe463(0x25f)]({'interceptor':(_0x22f97b,_0x220064)=>{const _0x2968c0=_0xe463,_0x17cabf=_0x22f97b[_0x2968c0(0x26b)],_0x54f317=_0x5a86a8();return _0x54f317&&_0x17cabf[_0x2968c0(0x2be)]('x-univer-host',_0x54f317),_0x220064(_0x22f97b);}});}};Qe=Wo([Go(0x0,_0x370f8c(_0x172026))],Qe);var Yo=Object[_0xf86c5a(0xfa)],Ko=Object[_0xf86c5a(0x397)],Xo=(_0x21172a,_0x5c36ae,_0x2b17d5,_0x335331)=>{const _0x2a1271=_0xf86c5a;for(var _0x599364=_0x335331>0x1?void 0x0:_0x335331?Ko(_0x5c36ae,_0x2b17d5):_0x5c36ae,_0x28ea78=_0x21172a[_0x2a1271(0x28c)]-0x1,_0x4fb2d9;_0x28ea78>=0x0;_0x28ea78--)(_0x4fb2d9=_0x21172a[_0x28ea78])&&(_0x599364=(_0x335331?_0x4fb2d9(_0x5c36ae,_0x2b17d5,_0x599364):_0x4fb2d9(_0x599364))||_0x599364);return _0x335331&&_0x599364&&Yo(_0x5c36ae,_0x2b17d5,_0x599364),_0x599364;},pt=(_0x5f29ac,_0x3fc0fe)=>(_0x4fdda9,_0x13d909)=>_0x3fc0fe(_0x4fdda9,_0x13d909,_0x5f29ac);const qo=['image/png','image/jpeg',_0xf86c5a(0x187),_0xf86c5a(0x432),_0xf86c5a(0x137)],Jo=0x5*0x400*0x400,zo=_0xf86c5a(0x41f),Zo='/universer-api/stream/file/upload',Qo='EXCHANGE_SIGN_URL_SERVER_URL_KEY',ea=_0xf86c5a(0x3e3);let Ut=class{constructor(_0x2c1f6a,_0x110a2a,_0x1f084c){const _0x2d7096=_0xf86c5a;l(this,_0x2d7096(0x2af),0x0),l(this,_0x2d7096(0x44c),new _0x26d305()),l(this,_0x2d7096(0x2e6),this[_0x2d7096(0x44c)]),l(this,'_imageSourceCache',new Map()),(this[_0x2d7096(0x3f6)]=_0x2c1f6a,this['_configService']=_0x110a2a,this[_0x2d7096(0x358)]=_0x1f084c);}[_0xf86c5a(0x12a)](_0x57fe3f){const _0x4ddc92=_0xf86c5a;this[_0x4ddc92(0x2af)]=_0x57fe3f,this[_0x4ddc92(0x44c)][_0x4ddc92(0x23f)](_0x57fe3f);}['getImageSourceCache'](_0x248ac2,_0x2be0ff){const _0x41c00f=_0xf86c5a;if(_0x2be0ff===_0x207292[_0x41c00f(0x158)]){const _0x88e314=new Image();return _0x88e314[_0x41c00f(0x3ba)]=_0x248ac2,_0x88e314;}return this[_0x41c00f(0x231)]['get'](_0x248ac2);}[_0xf86c5a(0x2f7)](_0x4bc182,_0x2312ba,_0x6b3dc){const _0x3559f1=_0xf86c5a;_0x2312ba===_0x207292[_0x3559f1(0x158)]||_0x6b3dc==null||this[_0x3559f1(0x231)][_0x3559f1(0x2be)](_0x4bc182,_0x6b3dc);}async[_0xf86c5a(0x249)](_0x278d04){const _0x42fb2e=_0xf86c5a;try{const _0x3fd5e6=this[_0x42fb2e(0x344)](this['_getSignURL'](),''+_0x278d04),_0x1d55f1=(await this[_0x42fb2e(0x3f6)][_0x42fb2e(0x175)](_0x3fd5e6))[_0x42fb2e(0x20e)];if(_0x1d55f1[_0x42fb2e(0x3a5)]&&_0x1d55f1['error'][_0x42fb2e(0x42b)]===xs['OK']){const _0xc0d218=new URL(_0x1d55f1[_0x42fb2e(0x11b)],this[_0x42fb2e(0x388)]())[_0x42fb2e(0x202)]();return Promise['resolve'](_0xc0d218);}return Promise[_0x42fb2e(0x39f)](_0x1d55f1[_0x42fb2e(0x3a5)]);}catch(_0x8bd56b){return Promise['reject'](_0x8bd56b);}}async[_0xf86c5a(0x1e2)](_0x2777cf){const _0xbc7377=_0xf86c5a;let _0x22f068='';if(!qo[_0xbc7377(0x327)](_0x2777cf[_0xbc7377(0x246)]))return this['_decreaseWaiting'](),Promise[_0xbc7377(0x39f)](new Error(_0x4ab8b4[_0xbc7377(0xf0)]));if(_0x2777cf[_0xbc7377(0x46a)]>Jo)return this[_0xbc7377(0x1a9)](),Promise[_0xbc7377(0x39f)](new Error(_0x4ab8b4[_0xbc7377(0x156)]));try{const _0x1839c3=new FormData();_0x1839c3['append'](_0xbc7377(0x27a),_0x2777cf);const _0x1d40f3=this[_0xbc7377(0x358)][_0xbc7377(0x263)](),_0x2eceb9=_0x1d40f3==null?void 0x0:_0x1d40f3[_0xbc7377(0x23e)]();if(!_0x2eceb9)throw new Error('unitId\x20is\x20not\x20found');const _0x2af287=this[_0xbc7377(0x465)]()+'?size='+_0x2777cf['size'][_0xbc7377(0x202)]()+'&source='+Hs[_0xbc7377(0x267)]+_0xbc7377(0x2b6)+encodeURIComponent(_0x2eceb9),_0x719728=await(await fetch(_0x2af287,{'method':_0xbc7377(0x2ba),'body':_0x1839c3}))[_0xbc7377(0x280)]();if(typeof _0x719728['FileId']!='string')return this[_0xbc7377(0x1a9)](),Promise[_0xbc7377(0x39f)](new Error(_0x4ab8b4[_0xbc7377(0x389)]));_0x22f068=_0x719728[_0xbc7377(0x214)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4ab8b4[_0xbc7377(0x389)]));}return new Promise((_0x207356,_0x359e68)=>{const _0x1347e9=_0xbc7377,_0xcef3=new FileReader();_0xcef3['readAsDataURL'](_0x2777cf),_0xcef3[_0x1347e9(0x345)]=_0x2a8152=>{const _0x28f232=_0x1347e9;var _0x19c6f3;const _0x18821d=(_0x19c6f3=_0x2a8152[_0x28f232(0x459)])==null?void 0x0:_0x19c6f3[_0x28f232(0x467)];if(_0x18821d==null){this[_0x28f232(0x1a9)](),_0x359e68(new Error(_0x4ab8b4[_0x28f232(0x389)]));return;}const _0x5d8821=_0x48af3f[_0x28f232(0x3a3)](0x6);_0x207356({'imageId':_0x5d8821,'imageSourceType':_0x207292[_0x28f232(0x255)],'source':_0x22f068,'base64Cache':_0x18821d,'status':_0x4ab8b4['SUCCUSS']}),this[_0x28f232(0x1a9)]();};});}[_0xf86c5a(0x465)](){const _0x5b1663=_0xf86c5a;var _0x273672,_0xc7b4e2;const _0xb352dd=this['_configService'][_0x5b1663(0x1bf)](zo),_0x226130=this[_0x5b1663(0x2ae)][_0x5b1663(0x1bf)]($);return(_0xc7b4e2=(_0x273672=_0x226130==null?void 0x0:_0x226130[_0x5b1663(0x2ce)])!=null?_0x273672:_0xb352dd)!=null?_0xc7b4e2:Zo;}[_0xf86c5a(0x1f2)](){const _0x3b6396=_0xf86c5a;var _0x371505,_0x34189a;const _0x210711=this[_0x3b6396(0x2ae)][_0x3b6396(0x1bf)](Qo),_0x2b5fbb=this['_configService'][_0x3b6396(0x1bf)]($);return(_0x34189a=(_0x371505=_0x2b5fbb==null?void 0x0:_0x2b5fbb[_0x3b6396(0x197)])!=null?_0x371505:_0x210711)!=null?_0x34189a:ea;}[_0xf86c5a(0x388)](){const _0x4a157e=_0xf86c5a;var _0xbf203f;const _0x1c0cee=this['_configService'][_0x4a157e(0x1bf)]($);return(_0xbf203f=_0x1c0cee==null?void 0x0:_0x1c0cee[_0x4a157e(0x18a)])!=null?_0xbf203f:location['origin'];}[_0xf86c5a(0x344)](_0x200e97,_0xb03bd2){const _0x11e951=_0xf86c5a;return _0x200e97[_0x11e951(0x174)]('{fileID}',_0xb03bd2);}[_0xf86c5a(0x1a9)](){const _0x213c86=_0xf86c5a;this['_waitCount']-=0x1,this['_change$'][_0x213c86(0x23f)](this[_0x213c86(0x2af)]);}};Ut=Xo([pt(0x0,_0x370f8c(_0x172026)),pt(0x1,_0x5bc7de),pt(0x2,_0x370f8c(_0x5edd3d))],Ut);var ta=Object[_0xf86c5a(0xfa)],sa=Object['getOwnPropertyDescriptor'],ia=(_0x3f30d2,_0x3680c4,_0x2b219a,_0x56a9ea)=>{const _0x2fb732=_0xf86c5a;for(var _0x1cb3d1=_0x56a9ea>0x1?void 0x0:_0x56a9ea?sa(_0x3680c4,_0x2b219a):_0x3680c4,_0x5a882b=_0x3f30d2[_0x2fb732(0x28c)]-0x1,_0x46ce7a;_0x5a882b>=0x0;_0x5a882b--)(_0x46ce7a=_0x3f30d2[_0x5a882b])&&(_0x1cb3d1=(_0x56a9ea?_0x46ce7a(_0x3680c4,_0x2b219a,_0x1cb3d1):_0x46ce7a(_0x1cb3d1))||_0x1cb3d1);return _0x56a9ea&&_0x1cb3d1&&ta(_0x3680c4,_0x2b219a,_0x1cb3d1),_0x1cb3d1;},ye=(_0x4ca0d0,_0x5a9eac)=>(_0x2d3848,_0x4fe882)=>_0x5a9eac(_0x2d3848,_0x4fe882,_0x4ca0d0);let et=class extends _0x27d368{constructor(_0x20a72d,_0x519ec3,_0x69c02d,_0x29025c,_0x5d1170){const _0x46ea44=_0xf86c5a;super(),this['_injector']=_0x20a72d,this[_0x46ea44(0x358)]=_0x519ec3,this[_0x46ea44(0x13f)]=_0x69c02d,this[_0x46ea44(0x3fb)]=_0x29025c,this['_localeService']=_0x5d1170,this[_0x46ea44(0x29d)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x3d94bf=_0xf86c5a,_0x4661e6=async _0x5ec8a6=>{const _0x475668=_0x556d;(await this['_collaborationSessionService'][_0x475668(0x13d)](_0x5ec8a6))[_0x475668(0x3b1)][_0x475668(0x268)](_0x152a98(_0x56ff27=>_0x56ff27['eventID']===_0x455562['SHOULD_CLOSE_CONN']),_0x1c351c(this[_0x475668(0x39d)]))['subscribe'](_0x58c3b3=>{const _0x44be20=_0x475668,_0x57b6ca=_0x58c3b3,{reason:_0x5c3045}=_0x57b6ca['data'];this[_0x44be20(0x22b)]['get'](_0x3aa03b)['show']({'type':_0x424985[_0x44be20(0x44b)],'content':this[_0x44be20(0x1f8)]['t'](_0x44be20(0x166))+'('+_0x5c3045+')'}),this[_0x44be20(0x13f)]['updatePermissionPoint'](new _0x365664(_0x5ec8a6)['id'],!0x1),this[_0x44be20(0x3fb)]['closeSession'](_0x5ec8a6);});};_0x20e120(this[_0x3d94bf(0x358)][_0x3d94bf(0x3a6)](_0x751d23[_0x3d94bf(0x1af)]),this[_0x3d94bf(0x358)][_0x3d94bf(0x3a6)](_0x751d23[_0x3d94bf(0x320)]))[_0x3d94bf(0x268)](_0x524dbf(_0xd6eea5=>_0xd6eea5['getUnitId']()),_0x152a98(_0xe0c7b1=>!_0x39c20e(_0xe0c7b1)),_0x1c351c(this['dispose$']))[_0x3d94bf(0x1c3)](_0x5bcbae=>{_0x4661e6(_0x5bcbae);});}[_0xf86c5a(0x29d)](){const _0x18d8dd=_0xf86c5a,_0x53a4e4=async _0x1aafd5=>{const _0x56059f=_0x556d;(await this[_0x56059f(0x3fb)]['requireSession'](_0x1aafd5))['event$']['pipe'](_0x152a98(_0x5768cd=>_0x5768cd[_0x56059f(0x26e)]===_0x455562[_0x56059f(0x33b)]),_0x1c351c(this[_0x56059f(0x39d)]))[_0x56059f(0x1c3)](_0x51e137=>{const _0x571960=_0x56059f,_0x3f0639=_0x51e137,{objectId:_0x7dd8}=_0x3f0639[_0x571960(0x129)],_0x1033ab=this['_injector'][_0x571960(0x175)](_0x1b9bdb);_0x7dd8===_0x1aafd5?_0x1033ab['initWorkbookPermissionChange'](_0x1aafd5):_0x1033ab[_0x571960(0x315)](_0x1aafd5,_0x7dd8);});};_0x20e120(this[_0x18d8dd(0x358)][_0x18d8dd(0x3a6)](_0x751d23['UNIVER_SHEET']),this[_0x18d8dd(0x358)][_0x18d8dd(0x3a6)](_0x751d23['UNIVER_DOC']))['pipe'](_0x524dbf(_0x397d35=>_0x397d35['getUnitId']()),_0x152a98(_0x1f4321=>!_0x39c20e(_0x1f4321)),_0x1c351c(this[_0x18d8dd(0x39d)]))[_0x18d8dd(0x1c3)](_0x519fee=>{_0x53a4e4(_0x519fee);});}};et=ia([ye(0x0,_0x370f8c(_0x595e81)),ye(0x1,_0x5edd3d),ye(0x2,_0x2f69f2),ye(0x3,_0x370f8c(he)),ye(0x4,_0x370f8c(_0x2673bf))],et);var na=Object['defineProperty'],ra=Object[_0xf86c5a(0x397)],oa=(_0x4bfece,_0x598b92,_0x2e346f,_0x412d7e)=>{for(var _0x58066d=_0x412d7e>0x1?void 0x0:_0x412d7e?ra(_0x598b92,_0x2e346f):_0x598b92,_0x3762eb=_0x4bfece['length']-0x1,_0x1ffe62;_0x3762eb>=0x0;_0x3762eb--)(_0x1ffe62=_0x4bfece[_0x3762eb])&&(_0x58066d=(_0x412d7e?_0x1ffe62(_0x598b92,_0x2e346f,_0x58066d):_0x1ffe62(_0x58066d))||_0x58066d);return _0x412d7e&&_0x58066d&&na(_0x598b92,_0x2e346f,_0x58066d),_0x58066d;},vs=(_0x18af8e,_0x296c53)=>(_0x5706ee,_0x109273)=>_0x296c53(_0x5706ee,_0x109273,_0x18af8e);let Nt=class{constructor(_0x584717,_0x19f873){const _0x20cfb7=_0xf86c5a;this[_0x20cfb7(0x2ae)]=_0x584717,this[_0x20cfb7(0x3f6)]=_0x19f873;}async['getUnitOnRev'](_0x546d75,_0x4ec56c){const _0x370640=_0xf86c5a;var _0x3d7c2a;const {unitID:_0x2aedee,type:_0x400f9e,revision:_0x39b4f4=0x0}=_0x4ec56c,_0x5c24bd=this[_0x370640(0x342)]()+'/'+_0x400f9e+'/unit/'+_0x2aedee+_0x370640(0x18b)+_0x39b4f4,_0x1397ee=(await this[_0x370640(0x3f6)][_0x370640(0x175)](_0x5c24bd))['body'],_0x542c5d=(_0x3d7c2a=_0x1397ee[_0x370640(0x17e)])==null?void 0x0:_0x3d7c2a['workbook'];if(_0x542c5d){const _0x376695=_0x542c5d==null?void 0x0:_0x542c5d[_0x370640(0x3f5)],_0x32287e=_0x30b993['encode'](_0x5b5300(_0x376695));_0x542c5d[_0x370640(0x3f5)]=_0x32287e,Object[_0x370640(0x468)](_0x542c5d[_0x370640(0x1fc)])[_0x370640(0x26c)](([,_0x3aa067])=>{const _0x317359=_0x370640,_0x24d081=_0x3aa067['originalMeta'],_0x4a6253=_0x30b993[_0x317359(0x3fa)](_0x5b5300(_0x24d081));_0x3aa067[_0x317359(0x3f5)]=_0x4a6253;});}return _0x1397ee;}async[_0xf86c5a(0x114)](_0x5eb791,_0x540cf8){const _0x938e1a=_0xf86c5a,{unitID:_0x44b526,type:_0x523c1a,blockID:_0x34fcf6}=_0x540cf8,_0x2954cb=this[_0x938e1a(0x112)]()+'/'+_0x523c1a+_0x938e1a(0x2b8)+_0x44b526+'/block/'+_0x34fcf6;return(await this[_0x938e1a(0x3f6)]['get'](_0x2954cb))[_0x938e1a(0x20e)];}async[_0xf86c5a(0x3ce)](_0x47295d,_0x20a724){const _0x3c1e1d=_0xf86c5a,{unitID:_0xe57465,type:_0x5a73fa,blockID:_0xece122}=_0x20a724,_0x3c21a9=this['_getAPIPrefix']()+_0x3c1e1d(0x16e)+_0x5a73fa+_0x3c1e1d(0x2b8)+_0xe57465+_0x3c1e1d(0x16e)+_0xece122;return(await this['_httpService'][_0x3c1e1d(0x175)](_0x3c21a9))[_0x3c1e1d(0x20e)];}async[_0xf86c5a(0x384)](_0x17bac3,_0x9c41b6){const _0x26b5cf=_0xf86c5a,{unitID:_0x4cc8be,type:_0x262391,from:_0x428e7a,to:_0x255f03}=_0x9c41b6,_0xda3089=this[_0x26b5cf(0x112)]()+'/'+_0x262391+'/unit/'+_0x4cc8be+'/fetchmissing?from='+_0x428e7a+'&to='+_0x255f03;return(await this[_0x26b5cf(0x3f6)][_0x26b5cf(0x175)](_0xda3089))['body'];}[_0xf86c5a(0x342)](){const _0x1efe4d=_0xf86c5a;var _0x488697;return(_0x488697=this['_configService'][_0x1efe4d(0x1bf)](vn))!=null?_0x488697:this[_0x1efe4d(0x112)]();}[_0xf86c5a(0x112)](){const _0x348624=_0xf86c5a;var _0xbc4e0d,_0x5d2c30;const _0x2f6165=this[_0x348624(0x2ae)][_0x348624(0x1bf)](Sn),_0x494a8c=this[_0x348624(0x2ae)][_0x348624(0x1bf)]($);return(_0x5d2c30=(_0xbc4e0d=_0x494a8c==null?void 0x0:_0x494a8c[_0x348624(0x2a4)])!=null?_0xbc4e0d:_0x2f6165)!=null?_0x5d2c30:pn;}async['getResourcesRequest'](_0x78ae0d,_0x3a9424){const _0x2497c9=_0xf86c5a,_0x44638a=_0x2497c9(0x1d1)+_0x3a9424[_0x2497c9(0x246)]+_0x2497c9(0x2b8)+_0x3a9424[_0x2497c9(0x427)]+_0x2497c9(0x182);return(await this[_0x2497c9(0x3f6)][_0x2497c9(0x175)](_0x44638a,{'params':{'resourceId':JSON[_0x2497c9(0x28b)](_0x3a9424[_0x2497c9(0xf2)])}}))['body'];}[_0xf86c5a(0x126)](){const _0x2c679b=_0xf86c5a;throw new Error(_0x2c679b(0x3f9));}[_0xf86c5a(0x3d0)](){const _0x597280=_0xf86c5a;throw new Error(_0x597280(0x3f9));}['saveChangeset'](){const _0x41644e=_0xf86c5a;throw new Error(_0x41644e(0x3f9));}[_0xf86c5a(0x1fb)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x563629=_0xf86c5a;throw new Error(_0x563629(0x3f9));}};Nt=oa([vs(0x0,_0x5bc7de),vs(0x1,_0x370f8c(_0x172026))],Nt);var aa=Object[_0xf86c5a(0xfa)],ca=Object[_0xf86c5a(0x397)],ha=(_0x7620d6,_0x5bdc51,_0x403692,_0x1400a2)=>{const _0x5cdca1=_0xf86c5a;for(var _0x4bc979=_0x1400a2>0x1?void 0x0:_0x1400a2?ca(_0x5bdc51,_0x403692):_0x5bdc51,_0x5dcfed=_0x7620d6[_0x5cdca1(0x28c)]-0x1,_0x3a6166;_0x5dcfed>=0x0;_0x5dcfed--)(_0x3a6166=_0x7620d6[_0x5dcfed])&&(_0x4bc979=(_0x1400a2?_0x3a6166(_0x5bdc51,_0x403692,_0x4bc979):_0x3a6166(_0x4bc979))||_0x4bc979);return _0x1400a2&&_0x4bc979&&aa(_0x5bdc51,_0x403692,_0x4bc979),_0x4bc979;},Ue=(_0x129b3b,_0xd8932b)=>(_0x49ed1e,_0x280cc5)=>_0xd8932b(_0x49ed1e,_0x280cc5,_0x129b3b);let Mt=class extends _0x1ffda6{constructor(_0x52061b,_0x3b065e,_0x10331f,_0x4094fe,_0x241d5c){const _0x3d3298=_0xf86c5a;super(_0x52061b,_0x3b065e,_0x10331f),this['_transformService']=_0x4094fe,this[_0x3d3298(0x435)]=_0x241d5c;}[_0xf86c5a(0x40c)](_0x1aa8e6,_0x2a9337){const _0x34182b=_0xf86c5a,_0x20051e=this[_0x34182b(0x153)](_0x1aa8e6);if(_0x20051e)try{const _0x260f4c=this['_transformStack'](_0x20051e,_0x2a9337);this[_0x34182b(0x31f)](_0x1aa8e6,_0x260f4c);}catch(_0x122f57){this['_logService'][_0x34182b(0x3a5)]('[CollaborationUndoRedoService]',_0x122f57),this[_0x34182b(0x32f)](_0x1aa8e6);}const _0x5b1a88=this[_0x34182b(0x304)](_0x1aa8e6);if(_0x5b1a88)try{const _0x11c68e=this[_0x34182b(0x111)](_0x5b1a88,_0x2a9337);this[_0x34182b(0xf3)](_0x1aa8e6,_0x11c68e);}catch(_0x13aa2b){this[_0x34182b(0x435)]['error'](_0x13aa2b),this[_0x34182b(0x118)](_0x1aa8e6);}}[_0xf86c5a(0x32f)](_0x30f1b7){const _0x2510de=_0xf86c5a,_0x89ce6e=this[_0x2510de(0x153)](_0x30f1b7);_0x89ce6e&&(_0x89ce6e[_0x2510de(0x28c)]=0x0,this[_0x2510de(0x13e)]());}[_0xf86c5a(0x118)](_0x1d9908){const _0x436407=_0xf86c5a,_0x214662=this[_0x436407(0x304)](_0x1d9908);_0x214662&&(_0x214662[_0x436407(0x28c)]=0x0,this[_0x436407(0x13e)]());}['_substituteUndoStack'](_0x34e230,_0x521a46){const _0x41a1cd=_0xf86c5a;this['_undoStacks']['set'](_0x34e230,_0x521a46),this[_0x41a1cd(0x13e)]();}['_substituteRedoStack'](_0x416475,_0x3130c7){const _0x53dacc=_0xf86c5a;this[_0x53dacc(0x32a)]['set'](_0x416475,_0x3130c7),this[_0x53dacc(0x13e)]();}[_0xf86c5a(0x111)](_0x15ac55,_0x58513f){const _0x3f2bbc=_0xf86c5a,_0xd45303=[];let _0x3241b7=_0x58513f,_0x33b040=_0x58513f;for(let _0x5c4c7b=_0x15ac55[_0x3f2bbc(0x28c)]-0x1;_0x5c4c7b>=0x0;_0x5c4c7b--){const {unitID:_0x57fd78,undoMutations:_0x5f156d,redoMutations:_0x54f93c}=_0x15ac55[_0x5c4c7b],_0x11c069=this[_0x3f2bbc(0x235)][_0x3f2bbc(0x1e7)](_0x3241b7,_0x5f156d),_0x1a3e07=this[_0x3f2bbc(0x235)][_0x3f2bbc(0x1e7)](_0x33b040,_0x54f93c);if(_0x2294b0(_0x11c069)||_0x2294b0(_0x1a3e07)){this['_logService'][_0x3f2bbc(0x3a5)]('[CollaborationUndoRedoService]',_0x3f2bbc(0x29b),_0x11c069,_0x1a3e07);break;}_0x3241b7=_0x11c069[_0x3f2bbc(0x244)],_0x33b040=_0x1a3e07[_0x3f2bbc(0x244)],_0xd45303[_0x3f2bbc(0x106)]({'unitID':_0x57fd78,'undoMutations':_0x11c069['m2Prime'],'redoMutations':_0x1a3e07['m2Prime']});}return _0xd45303[_0x3f2bbc(0x1ef)]();}};Mt=ha([Ue(0x0,_0x5edd3d),Ue(0x1,_0x225d18),Ue(0x2,_0x30c0a7),Ue(0x3,_0x285caf),Ue(0x4,_0x593f47)],Mt);class la extends _0x27d368{constructor(){const _0xc050e7=_0xf86c5a;super(),l(this,'urlChange$'),this['urlChange$']=_0x40fa2a(window,_0xc050e7(0x165))[_0xc050e7(0x268)](_0x14bd7d(this[_0xc050e7(0x39d)]),_0x5da9ca(0x1),_0x37c9c6(void 0x0));}[_0xf86c5a(0x1c1)](_0x36d5d4,_0x252718,_0x28d39d=!0x1){const _0x4dc5c1=_0xf86c5a,_0x1ff27e=new URL(window[_0x4dc5c1(0x212)][_0x4dc5c1(0x41b)]);_0x1ff27e[_0x4dc5c1(0x19f)][_0x4dc5c1(0x2be)](_0x36d5d4,_0x252718),_0x28d39d?window[_0x4dc5c1(0x109)][_0x4dc5c1(0x24e)]('','',_0x1ff27e[_0x4dc5c1(0x202)]()):window[_0x4dc5c1(0x109)][_0x4dc5c1(0x18c)]('','',_0x1ff27e[_0x4dc5c1(0x202)]());}[_0xf86c5a(0x143)](_0x4e4a95,_0x3faf5b=!0x1){const _0xeec4ad=_0xf86c5a,_0x404d75=new URL(window[_0xeec4ad(0x212)]['href']);_0x404d75[_0xeec4ad(0x19f)]['delete'](_0x4e4a95),_0x3faf5b?window[_0xeec4ad(0x109)][_0xeec4ad(0x24e)]('','',_0x404d75[_0xeec4ad(0x202)]()):window[_0xeec4ad(0x109)][_0xeec4ad(0x18c)]('','',_0x404d75[_0xeec4ad(0x202)]());}['getParam'](_0x366da1){const _0x2050f4=_0xf86c5a;var _0x59c486;return(_0x59c486=new URL(window[_0x2050f4(0x212)][_0x2050f4(0x41b)])[_0x2050f4(0x19f)]['get'](_0x366da1))!=null?_0x59c486:void 0x0;}}var Js=Object[_0xf86c5a(0xfa)],_a=Object['getOwnPropertyDescriptor'],ua=(_0x798e2a,_0x15192e,_0x572f28)=>_0x15192e in _0x798e2a?Js(_0x798e2a,_0x15192e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x572f28}):_0x798e2a[_0x15192e]=_0x572f28,da=(_0x154c6a,_0x5ca383,_0x53fb74,_0xc56bb8)=>{const _0x3d0509=_0xf86c5a;for(var _0x43d8cf=_0xc56bb8>0x1?void 0x0:_0xc56bb8?_a(_0x5ca383,_0x53fb74):_0x5ca383,_0x4a895b=_0x154c6a[_0x3d0509(0x28c)]-0x1,_0x4b12c0;_0x4a895b>=0x0;_0x4a895b--)(_0x4b12c0=_0x154c6a[_0x4a895b])&&(_0x43d8cf=(_0xc56bb8?_0x4b12c0(_0x5ca383,_0x53fb74,_0x43d8cf):_0x4b12c0(_0x43d8cf))||_0x43d8cf);return _0xc56bb8&&_0x43d8cf&&Js(_0x5ca383,_0x53fb74,_0x43d8cf),_0x43d8cf;},Ve=(_0xafb3df,_0x489723)=>(_0x4ed739,_0x1b3748)=>_0x489723(_0x4ed739,_0x1b3748,_0xafb3df),fa=(_0x48ac90,_0x3c1471,_0x508b90)=>ua(_0x48ac90,_0x3c1471+'',_0x508b90);const ma=_0xf86c5a(0x401);let At=class extends _0x3e59a1{constructor(_0xbbbc3b=An,_0x3a65d0,_0x50c218,_0x4689b8,_0x53aced){const _0x4d6161=_0xf86c5a;super(),this[_0x4d6161(0x3c4)]=_0xbbbc3b,this[_0x4d6161(0x435)]=_0x3a65d0,this[_0x4d6161(0x410)]=_0x50c218,this[_0x4d6161(0x22b)]=_0x4689b8,this[_0x4d6161(0x2ae)]=_0x53aced;const {..._0x2f16a1}=this[_0x4d6161(0x3c4)];this['_configService'][_0x4d6161(0x428)]($,_0x2f16a1);}[_0xf86c5a(0x152)](){const _0x28f914=_0xf86c5a;this[_0x28f914(0x1db)](),_0x1509be(this[_0x28f914(0x22b)],[[ve],[Je],[et]]);}[_0xf86c5a(0x45b)](){const _0x33a01f=_0xf86c5a;_0x1509be(this[_0x33a01f(0x22b)],[[ze]]);}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x2edab2=_0xf86c5a;var _0x146c84,_0x1a0d62,_0x41c1c5,_0x4ad2cd;this[_0x2edab2(0x22b)][_0x2edab2(0x1f5)](_0x47fb5c)&&this[_0x2edab2(0x435)]['error'](_0x2edab2(0x1b2),_0x2edab2(0x24f));let _0x105131=[[_0x47fb5c,{'useClass':Mt}],[he],[Gt],[_0x172026],[qs,{'useClass':la}],[ce],[w],[_0x109644],[Ke],[Xe],[Ye],[Ft],[Ze],[Qe],[Bs],[et],[ks,{'useClass':(_0x1a0d62=(_0x146c84=this['_config'])==null?void 0x0:_0x146c84[_0x2edab2(0x2cc)])!=null?_0x1a0d62:Ct}],[_0x3320f6,{'useClass':_0x41bcb6}],[_0x39263e,{'useClass':Nt}],[_0x1ed2ef,{'useClass':yt}],[_0x1886e9,{'useClass':Ut}],[Le],[Je],[Me],[ze],[ve]];(_0x41c1c5=this['_config'])!=null&&_0x41c1c5[_0x2edab2(0x14f)]&&_0x105131[_0x2edab2(0x106)]([tt,{'useClass':fr}]),_0x105131=_0x361c7d(_0x105131,(_0x4ad2cd=this[_0x2edab2(0x3c4)])==null?void 0x0:_0x4ad2cd['override']),_0x105131[_0x2edab2(0x26c)](_0x2058b3=>this[_0x2edab2(0x22b)][_0x2edab2(0x1e9)](_0x2058b3)),this[_0x2edab2(0x281)]();}[_0xf86c5a(0x176)](){const _0x13fb1a=_0xf86c5a;this['disposeWithMe'](this[_0x13fb1a(0x410)][_0x13fb1a(0x361)](_0x751d23[_0x13fb1a(0x320)],[wt])),this['disposeWithMe'](this[_0x13fb1a(0x410)][_0x13fb1a(0x361)](_0x751d23[_0x13fb1a(0x1af)],[Pt]));}[_0xf86c5a(0x281)](){const _0x3ae0ea=_0xf86c5a;var _0x36f9c7,_0x34f491;this[_0x3ae0ea(0x22b)]['get'](_0x172026)[_0x3ae0ea(0x25f)]({'priority':0x14,'interceptor':_0x5a0116({'maxParallel':0x6})}),this[_0x3ae0ea(0x22b)][_0x3ae0ea(0x175)](Qe),(_0x36f9c7=this[_0x3ae0ea(0x3c4)])!=null&&_0x36f9c7[_0x3ae0ea(0xed)]||this[_0x3ae0ea(0x22b)]['get'](w)[_0x3ae0ea(0x237)](),(_0x34f491=this['_config'])!=null&&_0x34f491[_0x3ae0ea(0x23a)]&&this[_0x3ae0ea(0x22b)][_0x3ae0ea(0x175)](Ze),this[_0x3ae0ea(0x22b)][_0x3ae0ea(0x175)](Le),this[_0x3ae0ea(0x22b)]['has'](Me)&&this['_injector'][_0x3ae0ea(0x175)](Me);}};fa(At,_0xf86c5a(0x386),ma),At=da([_0x2db17c(_0x5d47ea),Ve(0x1,_0x593f47),Ve(0x2,_0x366dfc),Ve(0x3,_0x370f8c(_0x595e81)),Ve(0x4,_0x5bc7de)],At);export{ko as AUTHZ_URL_KEY,yt as AuthzIoHttpService,yn as COLLAB_SUBMIT_CHANGESET_URL_KEY,En as COLLAB_WEB_SOCKET_URL_KEY,Le as CollaborationController,qe as CollaborationEntity,bt as CollaborationSession,he as CollaborationSessionService,Ct as CollaborationSocketService,P as CollaborationStatus,Eo as CollaborationStatusDisplay,Bs as CommentService,Je as DataLoaderController,Me as DesktopCollaborationStatusDisplayController,Tt as DocCollaborationEntity,bn as HEARTBEAT_INTERVAL_KEY,$s as HEARTBEAT_TIMEOUT_KEY,ks as ICollaborationSocketService,qs as IURLService,Ut as ImageIoService,wn as LOCAL_CACHE_INTERVAL_KEY,Nn as LOGIN_URL_KEY,w as LocalCacheService,On as RETRY_CONNECTING_MAX_COUNT_KEY,La as SEND_CHANGESET_TIMEOUT_KEY,Sn as SNAPSHOT_SERVER_URL_KEY,vn as SNAPSHOT_URL_KEY,Y as SessionStatus,to as SheetCollabCursorShape,Rt as SheetCollaborationEntity,Nt as SnapshotServerOverHTTPService,At as UniverCollaborationClientPlugin,la as WebURLService,Ln as deserializeToCombResponse,$n as serializeCombRequest};
1
+ const _0x4299a1=_0x1dba;(function(_0x3d0e54,_0x235321){const _0x528a32=_0x1dba,_0x4e531a=_0x3d0e54();while(!![]){try{const _0x1fb2df=parseInt(_0x528a32(0x2a2))/0x1+-parseInt(_0x528a32(0x3bf))/0x2+parseInt(_0x528a32(0x3e3))/0x3*(parseInt(_0x528a32(0x427))/0x4)+parseInt(_0x528a32(0x45c))/0x5*(parseInt(_0x528a32(0x55d))/0x6)+parseInt(_0x528a32(0x298))/0x7+parseInt(_0x528a32(0x4b7))/0x8*(-parseInt(_0x528a32(0x56f))/0x9)+-parseInt(_0x528a32(0x3ba))/0xa;if(_0x1fb2df===_0x235321)break;else _0x4e531a['push'](_0x4e531a['shift']());}catch(_0x447266){_0x4e531a['push'](_0x4e531a['shift']());}}}(_0x274c,0x28b72));var Ki=Object[_0x4299a1(0x5c7)],zi=(_0xa5ded9,_0x49309e,_0x13f9d5)=>_0x49309e in _0xa5ded9?Ki(_0xa5ded9,_0x49309e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13f9d5}):_0xa5ded9[_0x49309e]=_0x13f9d5,g=(_0x591a1f,_0x4dba82,_0x474de7)=>zi(_0x591a1f,typeof _0x4dba82!=_0x4299a1(0x4b6)?_0x4dba82+'':_0x4dba82,_0x474de7);import{createIdentifier as _0x47ec37,Inject as _0x2f5cfe,Disposable as _0x3ee966,DisposableCollection as _0xc3ba12,toDisposable as _0xd4e920,IConfigService as _0x3fd15e,ILogService as _0x105261,UserManagerService as _0x29ab1f,UniverInstanceType as _0x120bce,IUniverInstanceService as _0x19bced,LocaleService as _0x44ee4c,Optional as _0x2d2324,RxDisposable as _0x737a66,Injector as _0x22006e,Tools as _0x30d2fb,ILocalStorageService as _0x5eff7a,Rectangle as _0x6605f4,ICommandService as _0x2d1134,DOC_RANGE_TYPE as _0x1845e2,JSONX as _0x12fa9e,CommandType as _0x76554b,IPermissionService as _0x24d923,IUndoRedoService as _0x1ea290,sequenceExecute as _0xc0b152,debounce as _0x5b2ba1,COLORS as _0x46da12,ColorKit as _0x59e5b4,ThemeService as _0x4f5336,fromEventSubject as _0x42c9c7,useDependency as _0x36573a,connectInjector as _0x30cbe9,Workbook as _0x2eb2b2,isInternalEditorID as _0x294b80,LocalUndoRedoService as _0x2d3469,IContextService as _0x660c36,DependentOn as _0x45b1bd,Plugin as _0x5c6537,touchDependencies as _0x1867c1,IAuthzIoService as _0x2be504,registerDependencies as _0x53ca79,mergeOverrideWithDependencies as _0x151e3e}from'@univerjs/core';import{Subject as _0x19ddda,merge as _0x26c7b9,takeUntil as _0x2fa59a,BehaviorSubject as _0x37eed6,distinctUntilChanged as _0x5f1eca,fromEvent as _0x464cf3,ReplaySubject as _0x109ef2,take as _0x39a45e,map as _0x47ca28,shareReplay as _0x3a5006,of as _0x3de089,debounceTime as _0x57b99f,filter as _0x1b5a56,switchMap as _0x44c2df,combineLatest as _0x30a2a1,concatMap as _0x514c5c,mapTo as _0x184c47}from'rxjs';import{map as _0x50ad64,take as _0x47dab9,filter as _0x53cf0f,delay as _0x59f70e,throttleTime as _0x36a2f2,takeUntil as _0x1c3f96,switchMap as _0xfe1f5c}from'rxjs/operators';import{MessageType as _0x34a324,Tooltip as _0x2061dd}from'@univerjs/design';import{IBeforeCloseService as _0x51784a,IMessageService as _0x3aefef,INotificationService as _0x17e8a2,useObservable as _0x4fa1dd,BuiltInUIPart as _0x5ba1d4,IUIPartsService as _0x321318}from'@univerjs/ui';import{HTTPService as _0x56ddfb,WebSocketService as _0x137f7e,MergeInterceptorFactory as _0x2a7c3d,HTTPRequest as _0x1e784c,UniverNetworkPlugin as _0x381d3e,ThresholdInterceptorFactory as _0x33ba4d}from'@univerjs/network';import{CollaborationEvent as _0x12c324,parseChangesetToProtocol as _0x4bc711,ISnapshotServerService as _0x35ea1d,isTransformMutationFailure as _0x2b0d31,isTransformMutationsWithChangesetSuccess as _0x1be378,ITransformService as _0x131cfd,RevisionService as _0x12797c,mapDocumentTypeToUniverType as _0x50a3c7,isTransformChangesetsSuccess as _0x1637ea,CompressMutationService as _0x270b66,parseProtocolChangeset as _0x56f079,SnapshotService as _0x334813,textEncoder as _0x14df5c,b64DecodeUnicode as _0x1bbb27,isTransformMutationsWithChangesetFailure as _0x52c122,UniverCollaborationPlugin as _0x3205bf}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4860a4}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x4ed24e,DocStateChangeManagerService as _0x1e13e9,NodePositionConvertToCursor as _0xe153e4,NodePositionConvertToRectRange as _0x504d3e,TEXT_RANGE_LAYER_INDEX as _0xc6a3f3,SetDocZoomRatioOperation as _0xf2132e}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x492658,SetSelectionsOperation as _0x1cb700,InsertSheetMutation as _0x505daa,EmptyMutation as _0x5be8fc,WorkbookEditablePermission as _0x303e0b,RefRangeService as _0xe03fd0,EffectRefRangId as _0x50bebd,handleIRemoveRow as _0x78f1bf,handleIRemoveCol as _0x3041a5,handleMoveRange as _0x146b26,handleInsertRow as _0x1376dd,handleInsertRangeMoveRight as _0x3fa9b3,handleInsertRangeMoveDown as _0x5aa1b6,handleInsertCol as _0x4be241,handleDeleteRangeMoveUp as _0x12594c,handleDeleteRangeMoveLeft as _0x1ee4db,runRefRangeMutations as _0x13d83c,SetWorksheetActivateCommand as _0xa4b7c1}from'@univerjs/sheets';import{IRenderManagerService as _0x113a5e,Shape as _0x58ab44,Rect as _0x5ee680,getColor as _0x65be38,RegularPolygon as _0x254c54,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x394d6a,Vector2 as _0x30e58a}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x3c0350,RichTextEditingMutation as _0x30fdba,SetTextSelectionsOperation as _0x319a57,DocSkeletonManagerService as _0x29c419}from'@univerjs/docs';import{ImageSourceType as _0x581c9b,ImageUploadStatusType as _0x56de8f,IImageIoService as _0x108880}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x114116,serializeRangeWithSheet as _0x5a18be}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x276989,VIEWPORT_KEY as _0x2c3c62,getCoordByCell as _0xe460fe,getSheetObject as _0x176e67,SheetPermissionInitController as _0x15551c}from'@univerjs/sheets-ui';import _0x182f95,{forwardRef as _0x36768c,useRef as _0x174de7,createElement as _0x393c00,useCallback as _0x222b82}from'react';import{IRemoteInstanceService as _0x5a4eeb}from'@univerjs/rpc';const rr=_0x4299a1(0x420),or='/universer-api/snapshot',ar=_0x4299a1(0x2ba),kc=_0x4299a1(0x2b4),cr=0x7d0,hr='COLLAB_WEB_SOCKET_URL',lr='ws://127.0.0.1:8000/universer-api/comb/connect',_r=_0x4299a1(0x586),ur=0x7530,bi='HEARTBEAT_TIMEOUT',Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr='COLLAB_SUBMIT_CHANGESET_URL',Sr=_0x4299a1(0x379),Ir=_0x4299a1(0x4a9),Cr=_0x4299a1(0x3d9);var Ri=(_0x40777c=>(_0x40777c[_0x40777c[_0x4299a1(0x45a)]=0x0]=_0x4299a1(0x45a),_0x40777c[_0x40777c['OK']=0x1]='OK',_0x40777c[_0x40777c[_0x4299a1(0x463)]=0x2]=_0x4299a1(0x463),_0x40777c[_0x40777c[_0x4299a1(0x57d)]=0x3]=_0x4299a1(0x57d),_0x40777c[_0x40777c[_0x4299a1(0x50b)]=0x4]='NOT_FOUND',_0x40777c[_0x40777c[_0x4299a1(0x2bc)]=0x5]='UNAUTHENTICATED',_0x40777c[_0x40777c[_0x4299a1(0x556)]=0x6]='ALREADY_EXISTS',_0x40777c[_0x40777c[_0x4299a1(0x27c)]=0x7]=_0x4299a1(0x27c),_0x40777c[_0x40777c[_0x4299a1(0x3ab)]=0x8]='TOO_MANY_REQUESTS',_0x40777c[_0x40777c[_0x4299a1(0x2cb)]=0x9]=_0x4299a1(0x2cb),_0x40777c[_0x40777c[_0x4299a1(0x592)]=0x1389]=_0x4299a1(0x592),_0x40777c[_0x40777c[_0x4299a1(0x24c)]=0x1771]=_0x4299a1(0x24c),_0x40777c[_0x40777c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40777c[_0x40777c[_0x4299a1(0x5a1)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x40777c[_0x40777c[_0x4299a1(0x54c)]=0x1b59]=_0x4299a1(0x54c),_0x40777c[_0x40777c[_0x4299a1(0x4e7)]=0x1b5a]=_0x4299a1(0x4e7),_0x40777c[_0x40777c[_0x4299a1(0x44c)]=0x1b5b]=_0x4299a1(0x44c),_0x40777c[_0x40777c[_0x4299a1(0x323)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x40777c[_0x40777c[_0x4299a1(0x5b0)]=0x1b5d]=_0x4299a1(0x5b0),_0x40777c[_0x40777c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4299a1(0x3f3),_0x40777c[_0x40777c[_0x4299a1(0x4b5)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x40777c[_0x40777c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4299a1(0x3be),_0x40777c[_0x40777c[_0x4299a1(0x262)]=0x232b]=_0x4299a1(0x262),_0x40777c[_0x40777c[_0x4299a1(0x36b)]=0x232c]=_0x4299a1(0x36b),_0x40777c[_0x40777c[_0x4299a1(0x390)]=0x232d]=_0x4299a1(0x390),_0x40777c[_0x40777c[_0x4299a1(0x2ab)]=0x2711]=_0x4299a1(0x2ab),_0x40777c[_0x40777c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x40777c[_0x40777c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40777c[_0x40777c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4299a1(0x1ec),_0x40777c[_0x40777c['UNRECOGNIZED']=-0x1]=_0x4299a1(0x33b),_0x40777c))(Ri||{}),ce=(_0x198da4=>(_0x198da4[_0x198da4[_0x4299a1(0x46d)]=0x0]=_0x4299a1(0x46d),_0x198da4[_0x198da4[_0x4299a1(0x599)]=0x1]='UNIVER_DOC',_0x198da4[_0x198da4[_0x4299a1(0x247)]=0x2]=_0x4299a1(0x247),_0x198da4[_0x198da4[_0x4299a1(0x504)]=0x3]=_0x4299a1(0x504),_0x198da4[_0x198da4[_0x4299a1(0x4e9)]=0x4]=_0x4299a1(0x4e9),_0x198da4[_0x198da4[_0x4299a1(0x33b)]=-0x1]=_0x4299a1(0x33b),_0x198da4))(ce||{}),W=(_0x41a826=>(_0x41a826[_0x41a826[_0x4299a1(0x47e)]=0x0]=_0x4299a1(0x47e),_0x41a826[_0x41a826[_0x4299a1(0x330)]=0x1]=_0x4299a1(0x330),_0x41a826[_0x41a826[_0x4299a1(0x3f4)]=0x2]=_0x4299a1(0x3f4),_0x41a826[_0x41a826[_0x4299a1(0x3aa)]=0x3]=_0x4299a1(0x3aa),_0x41a826[_0x41a826['INGEST']=0x4]=_0x4299a1(0x403),_0x41a826[_0x41a826[_0x4299a1(0x40a)]=0x5]=_0x4299a1(0x40a),_0x41a826[_0x41a826[_0x4299a1(0x5c9)]=0x6]=_0x4299a1(0x5c9),_0x41a826[_0x41a826[_0x4299a1(0x33b)]=-0x1]=_0x4299a1(0x33b),_0x41a826))(W||{}),Is=(_0x45aff5=>(_0x45aff5[_0x45aff5[_0x4299a1(0x384)]=0x0]=_0x4299a1(0x384),_0x45aff5[_0x45aff5['OK']=0x1]='OK',_0x45aff5[_0x45aff5[_0x4299a1(0x3b2)]=0x2]=_0x4299a1(0x3b2),_0x45aff5[_0x45aff5['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x45aff5))(Is||{}),yi=(_0xd7576d=>(_0xd7576d[_0xd7576d[_0x4299a1(0x28f)]=0x0]='Undefined',_0xd7576d[_0xd7576d['HttpImport']=0x1]=_0x4299a1(0x546),_0xd7576d[_0xd7576d[_0x4299a1(0x4be)]=0x2]=_0x4299a1(0x4be),_0xd7576d[_0xd7576d[_0x4299a1(0x3af)]=0x3]='UnitEmbedded',_0xd7576d[_0xd7576d[_0x4299a1(0x52b)]=0x4]=_0x4299a1(0x52b),_0xd7576d[_0xd7576d[_0x4299a1(0x33b)]=-0x1]=_0x4299a1(0x33b),_0xd7576d))(yi||{});const ie=_0x4299a1(0x30c),Er={};function br(_0x222f8f){const _0x1e01de=_0x4299a1;var _0x10e7ee,_0x1cdb56,_0x52889b,_0xb1db0,_0x30746b;const _0x2c8be9=_0x222f8f[_0x1e01de(0x28b)],_0x109a4c=JSON[_0x1e01de(0x255)](_0x2c8be9);switch(_0x109a4c['cmd']){case W[_0x1e01de(0x40a)]:case W[_0x1e01de(0x330)]:{const _0x2cd2b7=_0x109a4c[_0x1e01de(0x309)];return{..._0x109a4c,'data':_0x2cd2b7,'cmd':_0x109a4c[_0x1e01de(0x34b)]};}case W['JOIN']:{const _0x40ad0e=_0x109a4c['joinRsp'];return{..._0x109a4c,'data':_0x40ad0e,'cmd':_0x109a4c[_0x1e01de(0x34b)]};}case W[_0x1e01de(0x5c9)]:{const _0x399d72=_0x109a4c[_0x1e01de(0x38f)];switch(_0x399d72[_0x1e01de(0x341)]){case _0x12c324[_0x1e01de(0x3c7)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0x10e7ee=_0x399d72[_0x1e01de(0x515)])==null?void 0x0:_0x10e7ee['cs']},'cmd':_0x109a4c['cmd']};case _0x12c324[_0x1e01de(0x3de)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0x1cdb56=_0x399d72[_0x1e01de(0x585)])==null?void 0x0:_0x1cdb56['cs']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x2a1)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0x52889b=_0x399d72[_0x1e01de(0x290)])==null?void 0x0:_0x52889b['cs']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x3a1)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0xb1db0=_0x399d72['csRejEvent'])==null?void 0x0:_0xb1db0['cs']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x3f1)]:return{..._0x109a4c,'data':{..._0x399d72,'data':(_0x30746b=_0x399d72[_0x1e01de(0x227)])==null?void 0x0:_0x30746b['cs']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x395)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72['updateCursorEvent']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x33c)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x548)]},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324['USERS_LEAVE']:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x326)]},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324['LIVESHARE_NEW_HOST']:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x2a5)]},'cmd':_0x109a4c['cmd']};case _0x12c324['LIVESHARE_FETCH_OPERATIONS']:case _0x12c324[_0x1e01de(0x23b)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x1ff)]},'cmd':_0x109a4c['cmd']};case _0x12c324[_0x1e01de(0x2d8)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x2a5)]},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324['MSG_FOR_ERROR']:return{..._0x109a4c,'data':_0x399d72,'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x3ff)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x42b)]},'cmd':_0x109a4c['cmd']};case _0x12c324['UPDATE_PERMISSION_OBJ']:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72['updatePermissionObjEvent']},'cmd':_0x109a4c[_0x1e01de(0x34b)]};case _0x12c324[_0x1e01de(0x23d)]:return{..._0x109a4c,'data':{..._0x399d72,'data':_0x399d72[_0x1e01de(0x5b2)]},'cmd':_0x109a4c[_0x1e01de(0x34b)]};default:return _0x109a4c;}}default:return _0x109a4c;}}function Tr(_0x532135){const _0x1f4fb1=_0x4299a1;switch(_0x532135[_0x1f4fb1(0x34b)]){case W[_0x1f4fb1(0x40a)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x532135['cmd'],'routeKey':_0x532135[_0x1f4fb1(0x4d2)]});case W[_0x1f4fb1(0x403)]:{let _0x165b1b;switch(_0x532135[_0x1f4fb1(0x28b)][_0x1f4fb1(0x341)]){case _0x12c324[_0x1f4fb1(0x395)]:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x395)],'updateCursorEvent':_0x532135[_0x1f4fb1(0x28b)][_0x1f4fb1(0x28b)]};break;}case _0x12c324['USERS_LEAVE']:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x2b0)],'leaveEvent':_0x532135[_0x1f4fb1(0x28b)][_0x1f4fb1(0x28b)]};break;}case _0x12c324['USERS_ENTER']:{_0x165b1b={'eventID':_0x12c324['USERS_ENTER'],'joinEvent':_0x532135['data']['data']};break;}case _0x12c324['LIVESHARE_NEW_HOST']:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x48e)],'liveShareNewHost':_0x532135['data'][_0x1f4fb1(0x28b)]};break;}case _0x12c324['LIVESHARE_OPERATION']:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x23b)],'liveShareOperation':_0x532135[_0x1f4fb1(0x28b)][_0x1f4fb1(0x28b)]};break;}case _0x12c324[_0x1f4fb1(0x2d8)]:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x2d8)],'liveShareTerminate':_0x532135['data'][_0x1f4fb1(0x28b)]};break;}case _0x12c324['LIVESHARE_REQUEST_HOST']:{_0x165b1b={'eventID':_0x12c324[_0x1f4fb1(0x386)],'liveShareRequestHost':_0x532135['data'][_0x1f4fb1(0x28b)]};break;}case _0x12c324[_0x1f4fb1(0x53d)]:{_0x165b1b={'eventID':_0x12c324['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x165b1b={'eventID':_0x532135[_0x1f4fb1(0x28b)]['eventID']};}return JSON[_0x1f4fb1(0x1fb)]({'cmd':_0x532135[_0x1f4fb1(0x34b)],'routeKey':_0x532135[_0x1f4fb1(0x4d2)],'collaMsg':_0x165b1b});}case W[_0x1f4fb1(0x3f4)]:return JSON[_0x1f4fb1(0x1fb)]({'cmd':_0x532135['cmd'],'routeKey':_0x532135[_0x1f4fb1(0x4d2)],'joinReq':_0x532135[_0x1f4fb1(0x28b)]});case W[_0x1f4fb1(0x3aa)]:return JSON[_0x1f4fb1(0x1fb)]({'cmd':_0x532135[_0x1f4fb1(0x34b)],'routeKey':_0x532135[_0x1f4fb1(0x4d2)],'leaveReq':_0x532135[_0x1f4fb1(0x28b)]});default:throw new Error(_0x1f4fb1(0x356));}}var Rr=Object[_0x4299a1(0x5c7)],yr=Object[_0x4299a1(0x563)],Or=(_0x50f5f9,_0x297568,_0x331223,_0x39ead3)=>{const _0x22aeff=_0x4299a1;for(var _0x3ce982=_0x39ead3>0x1?void 0x0:_0x39ead3?yr(_0x297568,_0x331223):_0x297568,_0x4b6b31=_0x50f5f9[_0x22aeff(0x256)]-0x1,_0x4dc804;_0x4b6b31>=0x0;_0x4b6b31--)(_0x4dc804=_0x50f5f9[_0x4b6b31])&&(_0x3ce982=(_0x39ead3?_0x4dc804(_0x297568,_0x331223,_0x3ce982):_0x4dc804(_0x3ce982))||_0x3ce982);return _0x39ead3&&_0x3ce982&&Rr(_0x297568,_0x331223,_0x3ce982),_0x3ce982;},qe=(_0x3f9836,_0x547bdc)=>(_0x2b1219,_0x51e97d)=>_0x547bdc(_0x2b1219,_0x51e97d,_0x3f9836);const Oi=_0x47ec37(_0x4299a1(0x443));function wr(_0x183b41,_0x49704e,_0x19f068){const _0x432807=_0x4299a1;return _0x183b41+'/'+_0x49704e+_0x432807(0x300)+_0x19f068+_0x432807(0x469);}let es=class extends _0x3ee966{constructor(_0x38ad60,_0x57ee04,_0x5e4eae,_0x249474,_0x1978f9){const _0x28d173=_0x4299a1;super(),this['_http']=_0x38ad60,this[_0x28d173(0x56a)]=_0x57ee04,this[_0x28d173(0x4cf)]=_0x5e4eae,this[_0x28d173(0x327)]=_0x249474,this['_snapshotServerService']=_0x1978f9;}[_0x4299a1(0x2dc)](_0x21ce60){const _0x405e1c=_0x4299a1,_0x187b6a=this[_0x405e1c(0x56a)][_0x405e1c(0x2dc)](_0x21ce60);if(!_0x187b6a)throw new Error(_0x405e1c(0x495));const _0x49aee0=new _0xc3ba12(),_0x4d5905=new _0x19ddda();_0x49aee0[_0x405e1c(0x57f)](_0x187b6a[_0x405e1c(0x43e)]['subscribe'](_0x9abaa2=>_0x4d5905['next'](_0x9abaa2))),_0x49aee0['add'](_0xd4e920(()=>_0x4d5905[_0x405e1c(0x405)]()));const _0x4c07f7=new _0x19ddda();_0x49aee0[_0x405e1c(0x57f)](_0x187b6a['error$']['subscribe'](_0x42efed=>_0x4c07f7[_0x405e1c(0x419)](_0x42efed))),_0x49aee0[_0x405e1c(0x57f)](_0xd4e920(()=>_0x4c07f7[_0x405e1c(0x405)]()));const _0x20366c=new _0x19ddda();_0x49aee0[_0x405e1c(0x57f)](_0x187b6a[_0x405e1c(0x5c4)]['subscribe'](_0x4451cd=>{const _0x2ca529=_0x405e1c,_0x52cc8f=br(_0x4451cd);_0x20366c[_0x2ca529(0x419)](_0x52cc8f);})),_0x49aee0[_0x405e1c(0x57f)](_0xd4e920(()=>_0x20366c[_0x405e1c(0x405)]()));let _0x552770;const _0x27e74b=()=>{const _0x134a96=_0x405e1c;_0x4c07f7[_0x134a96(0x419)](new Event('connection\x20error')),_0x4d5905[_0x134a96(0x419)](new CloseEvent('connection\x20error')),_0x552770[_0x134a96(0x25e)]();};return _0x552770={'memberID':'','close$':_0x4d5905[_0x405e1c(0x42a)](),'error$':_0x4c07f7[_0x405e1c(0x42a)](),'open$':_0x187b6a[_0x405e1c(0x278)],'message$':_0x20366c[_0x405e1c(0x42a)](),'send':_0x6f4bdb=>{const _0x23de74=_0x405e1c;if(_0x6f4bdb[_0x23de74(0x34b)]===W['INGEST']){if(_0x6f4bdb[_0x23de74(0x28b)]['eventID']===_0x12c324[_0x23de74(0x29a)]){this[_0x23de74(0x56d)](_0x552770,_0x6f4bdb[_0x23de74(0x28b)])[_0x23de74(0x538)](_0x57b891=>{const _0x4bc72a=_0x23de74;this[_0x4bc72a(0x327)][_0x4bc72a(0x1c9)](_0x57b891),_0x27e74b();});return;}if(_0x6f4bdb['data']['eventID']===_0x12c324['FETCH_MISSING']){const _0x4dcdd1=_0x6f4bdb[_0x23de74(0x28b)];this['_fetchMissChangesets'](_0x4dcdd1)['then'](_0x577b93=>{const _0x5410c8=_0x23de74;_0x20366c[_0x5410c8(0x419)]({'cmd':W[_0x5410c8(0x5c9)],'code':Is['OK'],'routeKey':_0x4dcdd1[_0x5410c8(0x28b)]['unitID'],'routeType':'','data':{'eventID':_0x12c324[_0x5410c8(0x2f0)],'data':{'changesets':_0x577b93}}});})[_0x23de74(0x538)](_0x59703b=>{const _0x498193=_0x23de74;this[_0x498193(0x327)][_0x498193(0x1c9)](_0x59703b),_0x27e74b();});return;}}_0x187b6a[_0x23de74(0x333)](Tr(_0x6f4bdb));},'close':()=>{const _0x2a8ad0=_0x405e1c;_0x187b6a[_0x2a8ad0(0x25e)](),_0x49aee0[_0x2a8ad0(0x229)]();}},_0x552770;}async[_0x4299a1(0x56d)](_0x55df04,_0x17d39e){const _0x3b64e0=_0x4299a1;var _0x144095,_0x484a0d;const {unitType:_0x4644b0,unitID:_0xa4f0dc,changeset:_0x5348e3}=_0x17d39e['data'],_0xe80612={'unitID':_0xa4f0dc,'memberID':_0x55df04[_0x3b64e0(0x514)],'type':_0x4644b0,'changeset':_0x4bc711(_0x5348e3)},_0x40fe3a=this[_0x3b64e0(0x4cf)][_0x3b64e0(0x2b6)](gr),_0x504585=this[_0x3b64e0(0x4cf)][_0x3b64e0(0x2b6)](ie),_0x32be02=wr((_0x484a0d=(_0x144095=_0x504585==null?void 0x0:_0x504585[_0x3b64e0(0x416)])!=null?_0x144095:_0x40fe3a)!=null?_0x484a0d:Sr,_0x4644b0,_0xa4f0dc);try{await this['_http'][_0x3b64e0(0x293)](_0x32be02,{'body':_0xe80612});}catch(_0xac92c8){throw this['_logService']['error'](_0x3b64e0(0x3df),_0x3b64e0(0x418)),_0xac92c8;}}async[_0x4299a1(0x471)](_0x1f1ddb){const _0xe940b6=_0x4299a1,{unitID:_0xfed17a,from:_0x19291a,to:_0x235d00,unitType:_0x3cd399}=_0x1f1ddb[_0xe940b6(0x28b)];return(await this['_snapshotServerService'][_0xe940b6(0x2b7)]({'metadata':void 0x0},{'unitID':_0xfed17a,'type':_0x3cd399,'from':_0x19291a,'to':_0x235d00}))[_0xe940b6(0x39b)];}};es=Or([qe(0x0,_0x2f5cfe(_0x56ddfb)),qe(0x1,_0x2f5cfe(_0x137f7e)),qe(0x2,_0x3fd15e),qe(0x3,_0x105261),qe(0x4,_0x35ea1d)],es);const Dr=_0x4299a1(0x3f9);function Pr(_0xa463d9){const _0x53f4b8=_0x4299a1;return JSON[_0x53f4b8(0x1fb)](_0xa463d9)['length'];}class wi{constructor(){const _0x49293e=_0x4299a1;g(this,_0x49293e(0x4ba),new _0x19ddda()),g(this,_0x49293e(0x4c2),this[_0x49293e(0x4ba)]['asObservable']());}[_0x4299a1(0x450)](_0x553a2f){const _0xdd465e=_0x4299a1;this[_0xdd465e(0x4ba)][_0xdd465e(0x419)](_0x553a2f);}}var Ur=Object[_0x4299a1(0x5c7)],Nr=Object[_0x4299a1(0x563)],Ar=(_0x12ba66,_0x11bd2e,_0x31c337,_0x47922f)=>{for(var _0x2ce71b=_0x47922f>0x1?void 0x0:_0x47922f?Nr(_0x11bd2e,_0x31c337):_0x11bd2e,_0x3c4bcd=_0x12ba66['length']-0x1,_0x164b0f;_0x3c4bcd>=0x0;_0x3c4bcd--)(_0x164b0f=_0x12ba66[_0x3c4bcd])&&(_0x2ce71b=(_0x47922f?_0x164b0f(_0x11bd2e,_0x31c337,_0x2ce71b):_0x164b0f(_0x2ce71b))||_0x2ce71b);return _0x47922f&&_0x2ce71b&&Ur(_0x11bd2e,_0x31c337,_0x2ce71b),_0x2ce71b;},Hs=(_0x3256f4,_0x59e5e7)=>(_0x2e7a56,_0x2fb02f)=>_0x59e5e7(_0x2e7a56,_0x2fb02f,_0x3256f4);let Ne=class extends _0x3ee966{constructor(_0x1fb415,_0xd2e40a){const _0x28f931=_0x4299a1;super(),g(this,_0x28f931(0x24f),new Map()),(this[_0x28f931(0x35b)]=_0x1fb415,this[_0x28f931(0x52c)]=_0xd2e40a,this['disposeWithMe'](_0xd4e920(_0x26c7b9(this['_univerInstanceService'][_0x28f931(0x54f)](_0x120bce[_0x28f931(0x247)])[_0x28f931(0x35f)](_0x50ad64(_0x33dea5=>_0x33dea5[_0x28f931(0x1e9)]())),this[_0x28f931(0x35b)][_0x28f931(0x54f)](_0x120bce['UNIVER_DOC'])[_0x28f931(0x35f)](_0x50ad64(_0x36bf64=>_0x36bf64[_0x28f931(0x1e9)]())),this[_0x28f931(0x35b)][_0x28f931(0x54f)](_0x120bce['UNIVER_SLIDE'])[_0x28f931(0x35f)](_0x50ad64(_0x306cda=>_0x306cda['getUnitId']())))[_0x28f931(0x487)](_0x54262a=>this[_0x28f931(0x3e1)](_0x54262a)))));}['setCurrentUser'](_0x2d55db){const _0x3e8ac2=_0x4299a1;this[_0x3e8ac2(0x52c)][_0x3e8ac2(0x50f)](_0x2d55db);}[_0x4299a1(0x502)](){const _0x56662c=_0x4299a1;return this[_0x56662c(0x52c)]['getCurrentUser']();}[_0x4299a1(0x362)](_0x512fdf,_0x173bae){const _0x2729c4=_0x4299a1;let _0x9ec64d=this[_0x2729c4(0x24f)][_0x2729c4(0x401)](_0x512fdf);_0x9ec64d||(_0x9ec64d=new Mr(),this[_0x2729c4(0x24f)][_0x2729c4(0x3db)](_0x512fdf,_0x9ec64d)),_0x9ec64d[_0x2729c4(0x362)](_0x173bae);}[_0x4299a1(0x48a)](_0x923a2,_0x11daef){const _0x35c40c=_0x4299a1,_0x29e125=this[_0x35c40c(0x24f)]['get'](_0x923a2);_0x29e125&&_0x29e125[_0x35c40c(0x48a)](_0x11daef);}['getRoom'](_0x725edc){const _0x5bbeb1=_0x4299a1;return this['_roomMembers'][_0x5bbeb1(0x401)](_0x725edc);}[_0x4299a1(0x222)](_0x21f0f1,_0x5b4550){const _0xc1bbdb=_0x4299a1,_0x507f10=this[_0xc1bbdb(0x24f)][_0xc1bbdb(0x401)](_0x21f0f1);if(_0x507f10)return _0x507f10[_0xc1bbdb(0x222)](_0x5b4550);}[_0x4299a1(0x3e1)](_0x3ad65d){const _0x2f2d9f=_0x4299a1,_0x4e2f68=this['_roomMembers'][_0x2f2d9f(0x401)](_0x3ad65d);_0x4e2f68&&(_0x4e2f68[_0x2f2d9f(0x229)](),this[_0x2f2d9f(0x24f)]['delete'](_0x3ad65d));}[_0x4299a1(0x229)](){const _0x466438=_0x4299a1;this[_0x466438(0x24f)][_0x466438(0x2c6)](_0x202f5e=>_0x202f5e[_0x466438(0x229)]()),this[_0x466438(0x24f)][_0x466438(0x44d)]();}};Ne=Ar([Hs(0x0,_0x19bced),Hs(0x1,_0x2f5cfe(_0x29ab1f))],Ne);class Mr extends _0x3ee966{constructor(){const _0x36b2a4=_0x4299a1;super(...arguments),g(this,_0x36b2a4(0x552),new Map());}['dispose'](){const _0xed8575=_0x4299a1;this[_0xed8575(0x552)][_0xed8575(0x44d)]();}[_0x4299a1(0x362)](_0x168995){const _0x98be5c=_0x4299a1;this[_0x98be5c(0x552)][_0x98be5c(0x3db)](_0x168995['memberID'],_0x168995);}[_0x4299a1(0x48a)](_0x458ad1){const _0x69517a=_0x4299a1;this['_members'][_0x69517a(0x404)](_0x458ad1);}[_0x4299a1(0x222)](_0x45ae25){const _0x2816d4=_0x4299a1;return this[_0x2816d4(0x552)][_0x2816d4(0x401)](_0x45ae25);}[_0x4299a1(0x378)](){const _0x49ca43=_0x4299a1;return Array[_0x49ca43(0x527)](this[_0x49ca43(0x552)][_0x49ca43(0x2fa)]());}}var xr=Object[_0x4299a1(0x5c7)],Lr=Object['getOwnPropertyDescriptor'],$r=(_0x27e051,_0x52aea3,_0x39119a,_0x468e7f)=>{for(var _0x16c6c1=_0x468e7f>0x1?void 0x0:_0x468e7f?Lr(_0x52aea3,_0x39119a):_0x52aea3,_0x3f7b85=_0x27e051['length']-0x1,_0x415d90;_0x3f7b85>=0x0;_0x3f7b85--)(_0x415d90=_0x27e051[_0x3f7b85])&&(_0x16c6c1=(_0x468e7f?_0x415d90(_0x52aea3,_0x39119a,_0x16c6c1):_0x415d90(_0x16c6c1))||_0x16c6c1);return _0x468e7f&&_0x16c6c1&&xr(_0x52aea3,_0x39119a,_0x16c6c1),_0x16c6c1;},Ee=(_0x1f8b34,_0x2e9c2b)=>(_0x524c2c,_0x2d348d)=>_0x2e9c2b(_0x524c2c,_0x2d348d,_0x1f8b34),ve=(_0x4b9681=>(_0x4b9681[_0x4b9681['IDLE']=0x0]=_0x4299a1(0x4e0),_0x4b9681[_0x4b9681[_0x4299a1(0x402)]=0x1]='JOINING',_0x4b9681[_0x4b9681[_0x4299a1(0x34a)]=0x2]=_0x4299a1(0x34a),_0x4b9681[_0x4b9681['ONLINE']=0x3]='ONLINE',_0x4b9681))(ve||{});let ts=class extends _0x737a66{constructor(_0x5153dc,_0x3912e3,_0x12f1e1,_0x1dd20f,_0x57fe3c,_0x1843aa,_0x2bdc9a,_0xfa0cea,_0x5941ec,_0x46b84c){const _0x768763=_0x4299a1;super(),g(this,_0x768763(0x584),new _0x37eed6(0x0)),g(this,_0x768763(0x482),this['_sessionStatus$'][_0x768763(0x42a)]()),g(this,_0x768763(0x296),new _0x19ddda()),g(this,_0x768763(0x52e),this[_0x768763(0x296)]['asObservable']()),g(this,_0x768763(0x302)),g(this,_0x768763(0x407)),g(this,_0x768763(0x23f)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x768763(0x270),null),(this[_0x768763(0x50c)]=_0x5153dc,this['_logService']=_0x12f1e1,this[_0x768763(0x57b)]=_0x1dd20f,this[_0x768763(0x306)]=_0x57fe3c,this['_configService']=_0x1843aa,this['_localeService']=_0x2bdc9a,this[_0x768763(0x21a)]=_0xfa0cea,this[_0x768763(0x4bd)]=_0x5941ec,this['_telemetryService']=_0x46b84c,this[_0x768763(0x25f)]=!!this[_0x768763(0x43a)],_0x3912e3[_0x768763(0x35f)](_0x2fa59a(this[_0x768763(0x47b)]))[_0x768763(0x487)](_0x261454=>{const _0x39bbd9=_0x768763;var _0x229bde;typeof _0x261454>'u'||(this[_0x39bbd9(0x302)]=_0x261454,_0x261454?(this[_0x39bbd9(0x573)](_0x261454),this[_0x39bbd9(0x407)]=_0x261454[_0x39bbd9(0x5c4)][_0x39bbd9(0x487)](_0x56f12f=>{const _0x5068b6=_0x39bbd9;_0x56f12f[_0x5068b6(0x4d2)]===this[_0x5068b6(0x50c)]&&this[_0x5068b6(0x49d)](_0x56f12f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x39bbd9(0x584)][_0x39bbd9(0x419)](0x2),(_0x229bde=this[_0x39bbd9(0x407)])==null||_0x229bde[_0x39bbd9(0x276)](),this[_0x39bbd9(0x407)]=null));}),this[_0x768763(0x5b7)](this[_0x768763(0x57b)][_0x768763(0x3d4)](()=>{const _0x33ce5e=_0x768763;var _0x4ec50f;(_0x4ec50f=this[_0x33ce5e(0x302)])==null||_0x4ec50f[_0x33ce5e(0x333)]({'cmd':W[_0x33ce5e(0x3aa)],'data':{'roomID':this[_0x33ce5e(0x50c)]}});})));}get[_0x4299a1(0x437)](){const _0x55d448=_0x4299a1;return this[_0x55d448(0x584)]['getValue']();}['getMemberID'](){const _0x46dcba=_0x4299a1;var _0x3b751a,_0x509038;return(_0x509038=(_0x3b751a=this[_0x46dcba(0x302)])==null?void 0x0:_0x3b751a[_0x46dcba(0x514)])!=null?_0x509038:null;}['dispose'](){const _0x3b74b8=_0x4299a1;super[_0x3b74b8(0x229)](),this[_0x3b74b8(0x47b)][_0x3b74b8(0x419)](),this[_0x3b74b8(0x47b)][_0x3b74b8(0x405)]();}[_0x4299a1(0x25e)](){const _0x1e1452=_0x4299a1;var _0x4015da,_0x59685f;this[_0x1e1452(0x53f)](),(_0x4015da=this[_0x1e1452(0x302)])==null||_0x4015da[_0x1e1452(0x333)]({'cmd':W[_0x1e1452(0x3aa)],'data':{'roomID':this[_0x1e1452(0x50c)]}}),(_0x59685f=this['_socket'])==null||_0x59685f['close'](),this[_0x1e1452(0x296)][_0x1e1452(0x405)](),this[_0x1e1452(0x584)][_0x1e1452(0x405)](),this[_0x1e1452(0x229)]();}[_0x4299a1(0x49d)](_0x490dc9){const _0x1c1789=_0x4299a1;_0x490dc9[_0x1c1789(0x34b)]===W[_0x1c1789(0x3f4)]?this[_0x1c1789(0x2ed)](_0x490dc9):_0x490dc9[_0x1c1789(0x34b)]===W[_0x1c1789(0x5c9)]&&this[_0x1c1789(0x3ae)](_0x490dc9);}[_0x4299a1(0x573)](_0x4d280d){const _0x1c6311=_0x4299a1;this['_sessionStatus$']['next'](0x1),_0x4d280d[_0x1c6311(0x333)]({'cmd':W[_0x1c6311(0x3f4)],'routeKey':this[_0x1c6311(0x50c)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4299a1(0x2ed)](_0x112e08){const _0x2c1961=_0x4299a1;var _0x511f1c;if(_0x112e08[_0x2c1961(0x40f)]===Is[_0x2c1961(0x3b2)]){this[_0x2c1961(0x306)]['show']({'type':_0x34a324[_0x2c1961(0x34f)],'content':this[_0x2c1961(0x1d7)]['t'](_0x2c1961(0x3b3))}),this[_0x2c1961(0x584)][_0x2c1961(0x419)](0x2);return;}this[_0x2c1961(0x584)][_0x2c1961(0x419)](0x3);const _0x2c30d0=(_0x511f1c=_0x112e08['data'][_0x2c1961(0x59d)][this[_0x2c1961(0x50c)]])==null?void 0x0:_0x511f1c[_0x2c1961(0x1bf)];_0x2c30d0&&_0x2c30d0[_0x2c1961(0x2c6)](_0x40427a=>this[_0x2c1961(0x21a)][_0x2c1961(0x362)](this['_unitID'],_0x40427a));}['_onRecvEvent'](_0x297c6e){const _0x15bee0=_0x4299a1;try{const _0x2b2191=_0x297c6e[_0x15bee0(0x28b)];switch(_0x2b2191[_0x15bee0(0x341)]){case _0x12c324[_0x15bee0(0x33c)]:this['_onUserJoin'](_0x2b2191),this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);break;case _0x12c324[_0x15bee0(0x2b0)]:this['_onUserLeave'](_0x2b2191),this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);break;case _0x12c324[_0x15bee0(0x3de)]:case _0x12c324['CHANGESET_SHOULD_RETRY']:this[_0x15bee0(0x534)](),this['_clearCollaborationTimeoutTimer'](),this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);break;case _0x12c324[_0x15bee0(0x516)]:this[_0x15bee0(0x327)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x15bee0(0x1fb)](_0x2b2191)),this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);break;case _0x12c324[_0x15bee0(0x3ff)]:this[_0x15bee0(0x4bd)][_0x15bee0(0x450)](_0x2b2191['data']),this['_event$'][_0x15bee0(0x419)](_0x2b2191);break;default:this[_0x15bee0(0x296)][_0x15bee0(0x419)](_0x2b2191);}}catch(_0x363902){this[_0x15bee0(0x327)]['error'](_0x363902,_0x297c6e);}}[_0x4299a1(0x2b3)](_0x52be3d){const _0x5cc4df=_0x4299a1;this[_0x5cc4df(0x21a)]['updateMember'](this['_unitID'],_0x52be3d[_0x5cc4df(0x28b)]);}[_0x4299a1(0x329)](_0x3d94f0){const _0x541f4a=_0x4299a1;this[_0x541f4a(0x21a)][_0x541f4a(0x48a)](this['_unitID'],_0x3d94f0[_0x541f4a(0x28b)][_0x541f4a(0x514)]);}async[_0x4299a1(0x333)](_0x41c7a7,_0x1be770){const _0x4268aa=_0x4299a1;if(this[_0x4268aa(0x437)]!==0x3||!this[_0x4268aa(0x302)])throw new Error(_0x4268aa(0x547));try{_0x41c7a7[_0x4268aa(0x341)]===_0x12c324[_0x4268aa(0x29a)]&&(this[_0x4268aa(0x361)](),this[_0x4268aa(0x3ea)](_0x41c7a7)),this[_0x4268aa(0x302)]['send']({'cmd':W[_0x4268aa(0x403)],'routeKey':_0x1be770,'routeType':'','data':_0x41c7a7});}catch(_0x4284ae){this[_0x4268aa(0x327)]['error'](_0x4284ae);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4ecf7b=_0x4299a1;var _0x29c712;this[_0x4ecf7b(0x23f)]=window[_0x4ecf7b(0x560)](()=>{const _0xda49d3=_0x4ecf7b;this['_collaborationTimeoutTimer']=null,this[_0xda49d3(0x306)][_0xda49d3(0x3eb)]({'type':_0x34a324[_0xda49d3(0x4db)],'content':this[_0xda49d3(0x1d7)]['t'](_0xda49d3(0x54d))});},(_0x29c712=this['_configService'][_0x4ecf7b(0x2b6)](bi))!=null?_0x29c712:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x38a94e=_0x4299a1;this[_0x38a94e(0x23f)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x38a94e(0x23f)]=null);}[_0x4299a1(0x3ea)](_0x41152a){const _0xc8bb09=_0x4299a1;if(!this[_0xc8bb09(0x25f)])return;const {data:_0x13edad}=_0x41152a,{unitID:_0x312e45,changeset:_0x5f4d91}=_0x13edad,{mutations:_0x353e80,type:_0x2d82da}=_0x5f4d91;this[_0xc8bb09(0x270)]={'unitId':_0x312e45,'type':_0x2d82da,'startTime':performance[_0xc8bb09(0x54a)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x353e80)};}[_0x4299a1(0x534)](){const _0x1997bf=_0x4299a1;if(this[_0x1997bf(0x25f)]){if(!this[_0x1997bf(0x270)]){this[_0x1997bf(0x327)][_0x1997bf(0x1c9)](_0x1997bf(0x3df),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1997bf(0x270)][_0x1997bf(0x30e)]=performance[_0x1997bf(0x54a)](),this[_0x1997bf(0x270)][_0x1997bf(0x4e4)]=this['_telemetryInfo']['stopTime']-this[_0x1997bf(0x270)][_0x1997bf(0x501)],this[_0x1997bf(0x43a)]['capture'](Dr,this[_0x1997bf(0x270)]),this[_0x1997bf(0x270)]=null;}}[_0x4299a1(0x53f)](){this['_telemetryInfo']=null;}};ts=$r([Ee(0x2,_0x105261),Ee(0x3,_0x51784a),Ee(0x4,_0x3aefef),Ee(0x5,_0x3fd15e),Ee(0x6,_0x2f5cfe(_0x44ee4c)),Ee(0x7,_0x2f5cfe(Ne)),Ee(0x8,_0x2f5cfe(wi)),Ee(0x9,_0x2d2324(_0x4860a4))],ts);var Hr=Object[_0x4299a1(0x5c7)],jr=Object[_0x4299a1(0x563)],Br=(_0x31981b,_0x49d890,_0x338cf6,_0x1e4251)=>{for(var _0x12f9f5=_0x1e4251>0x1?void 0x0:_0x1e4251?jr(_0x49d890,_0x338cf6):_0x49d890,_0x348589=_0x31981b['length']-0x1,_0x2122c8;_0x348589>=0x0;_0x348589--)(_0x2122c8=_0x31981b[_0x348589])&&(_0x12f9f5=(_0x1e4251?_0x2122c8(_0x49d890,_0x338cf6,_0x12f9f5):_0x2122c8(_0x12f9f5))||_0x12f9f5);return _0x1e4251&&_0x12f9f5&&Hr(_0x49d890,_0x338cf6,_0x12f9f5),_0x12f9f5;},je=(_0x353c18,_0x389c37)=>(_0x251e3c,_0x44f5e3)=>_0x389c37(_0x251e3c,_0x44f5e3,_0x353c18);let Ae=class extends _0x3ee966{constructor(_0x505c31,_0x3ee0c2,_0x565f05,_0x3bdf85,_0x40ebe0,_0x5995bb){const _0x1ec359=_0x4299a1;super(),g(this,_0x1ec359(0x5ca),new _0x37eed6(void 0x0)),g(this,_0x1ec359(0x366),this[_0x1ec359(0x5ca)][_0x1ec359(0x42a)]()),g(this,'_candidateSocket',null),g(this,_0x1ec359(0x226),new Map()),g(this,_0x1ec359(0x3d5),new _0x37eed6(ve[_0x1ec359(0x4e0)])),g(this,'status$',this[_0x1ec359(0x3d5)]['asObservable']()),g(this,_0x1ec359(0x3dc),!0x1),g(this,_0x1ec359(0x4dd)),g(this,_0x1ec359(0x32d),0x0),g(this,'_sendHeartbeatTimer'),g(this,_0x1ec359(0x1ee)),(this[_0x1ec359(0x557)]=_0x505c31,this[_0x1ec359(0x1d7)]=_0x3ee0c2,this[_0x1ec359(0x306)]=_0x565f05,this[_0x1ec359(0x327)]=_0x3bdf85,this[_0x1ec359(0x4cf)]=_0x40ebe0,this[_0x1ec359(0x59c)]=_0x5995bb,this[_0x1ec359(0x49f)]());}get['_socket'](){const _0x3d7d8a=_0x4299a1;return this[_0x3d7d8a(0x5ca)][_0x3d7d8a(0x58b)]();}[_0x4299a1(0x49f)](){const _0x306667=_0x4299a1;this[_0x306667(0x53b)](),this[_0x306667(0x316)]();}[_0x4299a1(0x229)](){const _0xc655b0=_0x4299a1;super[_0xc655b0(0x229)](),this['_sessions'][_0xc655b0(0x2c6)](_0x4b6389=>_0x4b6389['dispose']()),this[_0xc655b0(0x226)][_0xc655b0(0x44d)](),this['_status$'][_0xc655b0(0x405)]();}async[_0x4299a1(0x219)](_0xf6ff13){const _0x3cf843=_0x4299a1;if(this[_0x3cf843(0x226)]['has'](_0xf6ff13))return this[_0x3cf843(0x226)][_0x3cf843(0x401)](_0xf6ff13);this[_0x3cf843(0x2e7)]();const _0x3472a9=this['_injector']['createInstance'](ts,_0xf6ff13,this['_socket$'][_0x3cf843(0x42a)]());return this['_sessions'][_0x3cf843(0x3db)](_0xf6ff13,_0x3472a9),_0x3472a9;}['closeSession'](_0x5944f8){const _0xcce6b7=_0x4299a1;var _0x1842f6;const _0x3d139b=this[_0xcce6b7(0x226)]['get'](_0x5944f8);_0x3d139b&&(this[_0xcce6b7(0x226)][_0xcce6b7(0x404)](_0x5944f8),_0x3d139b[_0xcce6b7(0x25e)]()),this[_0xcce6b7(0x226)][_0xcce6b7(0x4c3)]||(_0x1842f6=this['_socket'])==null||_0x1842f6[_0xcce6b7(0x25e)]();}['reconnect'](){const _0x2b8197=_0x4299a1;this[_0x2b8197(0x32d)]=0x0,this[_0x2b8197(0x4dd)]!=null&&(clearTimeout(this[_0x2b8197(0x4dd)]),this['_retryConnectingTimer']=null),this[_0x2b8197(0x41b)]();}['_createSocket'](){const _0x4b9b5b=_0x4299a1;var _0x123103,_0x1e11f3;const _0x5a9070=this[_0x4b9b5b(0x4cf)][_0x4b9b5b(0x2b6)](hr),_0x5ee5fe=this[_0x4b9b5b(0x4cf)][_0x4b9b5b(0x2b6)](ie),_0x594942=(_0x1e11f3=(_0x123103=_0x5ee5fe==null?void 0x0:_0x5ee5fe[_0x4b9b5b(0x3c9)])!=null?_0x123103:_0x5a9070)!=null?_0x1e11f3:lr,_0x2da040=this[_0x4b9b5b(0x59c)][_0x4b9b5b(0x2dc)](_0x594942);return this[_0x4b9b5b(0x43b)]=_0x2da040,_0x2da040;}['_tryEnsureSocket'](){const _0x5e62f6=_0x4299a1;var _0x105d32,_0x57e347;try{const _0x1ea1ff=(_0x57e347=(_0x105d32=this[_0x5e62f6(0x302)])!=null?_0x105d32:this[_0x5e62f6(0x43b)])!=null?_0x57e347:this['_createSocket']();if(_0x1ea1ff){const _0x14e0fb=_0x1ea1ff[_0x5e62f6(0x333)];_0x1ea1ff[_0x5e62f6(0x333)]=_0x4ff912=>(this['_rescheduleHeartbeat'](),_0x14e0fb[_0x5e62f6(0x5cb)](_0x1ea1ff,[_0x4ff912])),_0x1ea1ff[_0x5e62f6(0x5c4)][_0x5e62f6(0x487)](_0x565669=>this[_0x5e62f6(0x365)](_0x1ea1ff,_0x565669)),_0x1ea1ff[_0x5e62f6(0x441)][_0x5e62f6(0x35f)](_0x47dab9(0x1))[_0x5e62f6(0x487)](_0x21f3ac=>this[_0x5e62f6(0x327)][_0x5e62f6(0x1c9)](_0x5e62f6(0x4df),_0x21f3ac)),_0x1ea1ff[_0x5e62f6(0x278)]['pipe'](_0x47dab9(0x1))[_0x5e62f6(0x487)](()=>{const _0x295354=_0x5e62f6;this[_0x295354(0x44e)](_0x1ea1ff);}),_0x1ea1ff[_0x5e62f6(0x43e)][_0x5e62f6(0x35f)](_0x47dab9(0x1))['subscribe'](_0x438183=>{const _0x172cb2=_0x5e62f6;this[_0x172cb2(0x327)]['debug'](_0x172cb2(0x518),_0x172cb2(0x1d5),_0x438183),this[_0x172cb2(0x415)]();});}}catch(_0x1ec353){this[_0x5e62f6(0x327)]['error'](_0x1ec353),this['_onConnectionFailed']();}}[_0x4299a1(0x44e)](_0x3764d2){const _0x40cc4e=_0x4299a1;this[_0x40cc4e(0x327)]['debug'](_0x40cc4e(0x518),_0x40cc4e(0x310)),_0x3764d2[_0x40cc4e(0x333)]({'cmd':W['HELLO']}),this[_0x40cc4e(0x58a)]();}[_0x4299a1(0x53b)](){const _0x5e25c3=_0x4299a1;window[_0x5e25c3(0x581)](_0x5e25c3(0x210),()=>this[_0x5e25c3(0x1f3)]());}['_onOffline'](){const _0x3dbf6c=_0x4299a1;this[_0x3dbf6c(0x3dc)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x3dbf6c(0x419)](ve[_0x3dbf6c(0x34a)]),this[_0x3dbf6c(0x5ca)][_0x3dbf6c(0x419)](null),this[_0x3dbf6c(0x21d)](),this[_0x3dbf6c(0x59f)]();}[_0x4299a1(0x415)](){const _0x3a6e9c=_0x4299a1;var _0x1e2af0;this[_0x3a6e9c(0x1f3)](),this[_0x3a6e9c(0x32d)]<((_0x1e2af0=this['_configService'][_0x3a6e9c(0x2b6)](fr))!=null?_0x1e2af0:vr)?(this['_messageService'][_0x3a6e9c(0x3eb)]({'key':_0x3a6e9c(0x2d1),'type':_0x34a324[_0x3a6e9c(0x34f)],'content':this[_0x3a6e9c(0x1d7)]['t'](_0x3a6e9c(0x355))}),this[_0x3a6e9c(0x41b)]()):this[_0x3a6e9c(0x306)]['show']({'key':_0x3a6e9c(0x2d1),'type':_0x34a324[_0x3a6e9c(0x4db)],'content':this[_0x3a6e9c(0x1d7)]['t'](_0x3a6e9c(0x458))});}[_0x4299a1(0x316)](){const _0x25712c=_0x4299a1,_0x577c23=()=>{const _0x5b1d50=_0x1dba;this[_0x5b1d50(0x302)]||this[_0x5b1d50(0x29f)]();},_0x5ad0ac=()=>{const _0x2c7291=_0x1dba;this[_0x2c7291(0x302)]||document[_0x2c7291(0x318)]===_0x2c7291(0x2b2)||this['reconnect']();};window['addEventListener'](_0x25712c(0x521),_0x577c23),document[_0x25712c(0x581)]('visibilitychange',_0x5ad0ac);}[_0x4299a1(0x41b)](){const _0x2ef189=_0x4299a1;var _0x3d89f5;const _0xbe7cd=this[_0x2ef189(0x32d)],_0xd5f79a=this['_configService'][_0x2ef189(0x2b6)](ie),_0x273f38=_0xbe7cd===0x0?0x0:((_0x3d89f5=_0xd5f79a==null?void 0x0:_0xd5f79a[_0x2ef189(0x5a2)])!=null?_0x3d89f5:dr)*0x2**_0xbe7cd;this[_0x2ef189(0x4dd)]=window['setTimeout'](()=>{const _0x176be0=_0x2ef189;clearTimeout(this[_0x176be0(0x4dd)]),this[_0x176be0(0x4dd)]=null,this[_0x176be0(0x2e7)]();},_0x273f38),this[_0x2ef189(0x32d)]+=0x1;}['_onMessage'](_0xcc5d4b,_0x423775){const _0x20dc82=_0x4299a1,{cmd:_0x5ad08c}=_0x423775;_0x5ad08c===W[_0x20dc82(0x330)]&&!this[_0x20dc82(0x3dc)]&&(_0xcc5d4b[_0x20dc82(0x514)]=_0x423775['data'][_0x20dc82(0x514)],this[_0x20dc82(0x5ca)][_0x20dc82(0x419)](_0xcc5d4b),this[_0x20dc82(0x3d5)][_0x20dc82(0x419)](ve[_0x20dc82(0x39f)]),this['_socketReady']=!0x0,this[_0x20dc82(0x43b)]=null),_0x5ad08c===W[_0x20dc82(0x40a)]&&this[_0x20dc82(0x21d)](),this[_0x20dc82(0x58a)]();}['_rescheduleHeartbeat'](){const _0x1096f3=_0x4299a1;var _0x1e3244;this[_0x1096f3(0x59f)](),this['_sendHeartbeatTimer']=window[_0x1096f3(0x560)](()=>this['_sendHeartbeat'](),(_0x1e3244=this[_0x1096f3(0x4cf)][_0x1096f3(0x2b6)](_r))!=null?_0x1e3244:ur);}[_0x4299a1(0x2c1)](){const _0x146b08=_0x4299a1;this[_0x146b08(0x302)][_0x146b08(0x333)]({'cmd':W[_0x146b08(0x40a)]}),this[_0x146b08(0x34e)]();}[_0x4299a1(0x34e)](){const _0x3e389a=_0x4299a1;var _0x321dd6;this[_0x3e389a(0x1ee)]=window['setTimeout'](()=>this[_0x3e389a(0x415)](),(_0x321dd6=this[_0x3e389a(0x4cf)][_0x3e389a(0x2b6)](bi))!=null?_0x321dd6:Ti);}[_0x4299a1(0x59f)](){const _0x36ed75=_0x4299a1;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x36ed75(0x4a4)]),this[_0x36ed75(0x4a4)]=null);}[_0x4299a1(0x21d)](){const _0x5f0e8a=_0x4299a1;this[_0x5f0e8a(0x1ee)]!=null&&(clearTimeout(this[_0x5f0e8a(0x1ee)]),this[_0x5f0e8a(0x1ee)]=null);}};Ae=Br([je(0x0,_0x2f5cfe(_0x22006e)),je(0x1,_0x2f5cfe(_0x44ee4c)),je(0x2,_0x3aefef),je(0x3,_0x105261),je(0x4,_0x3fd15e),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x4299a1(0x499)]((Nt+0x100)[_0x4299a1(0x37a)](0x10)[_0x4299a1(0x375)](0x1));function kr(_0x95f85b,_0x5203bc=0x0){const _0x40d825=_0x4299a1;return(Y[_0x95f85b[_0x5203bc+0x0]]+Y[_0x95f85b[_0x5203bc+0x1]]+Y[_0x95f85b[_0x5203bc+0x2]]+Y[_0x95f85b[_0x5203bc+0x3]]+'-'+Y[_0x95f85b[_0x5203bc+0x4]]+Y[_0x95f85b[_0x5203bc+0x5]]+'-'+Y[_0x95f85b[_0x5203bc+0x6]]+Y[_0x95f85b[_0x5203bc+0x7]]+'-'+Y[_0x95f85b[_0x5203bc+0x8]]+Y[_0x95f85b[_0x5203bc+0x9]]+'-'+Y[_0x95f85b[_0x5203bc+0xa]]+Y[_0x95f85b[_0x5203bc+0xb]]+Y[_0x95f85b[_0x5203bc+0xc]]+Y[_0x95f85b[_0x5203bc+0xd]]+Y[_0x95f85b[_0x5203bc+0xe]]+Y[_0x95f85b[_0x5203bc+0xf]])[_0x40d825(0x55c)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x19a0e9=_0x4299a1;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x19a0e9(0x579)]&&crypto['getRandomValues']['bind'](crypto),!ct))throw new Error(_0x19a0e9(0x1db));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x4299a1(0x444)](crypto);const js={'randomUUID':Vr};function Gr(_0xc4c835,_0x4b9e93,_0x550ca9){const _0x29a172=_0x4299a1;if(js[_0x29a172(0x2a8)]&&!_0x4b9e93&&!_0xc4c835)return js[_0x29a172(0x2a8)]();_0xc4c835=_0xc4c835||{};var _0x433a37=_0xc4c835[_0x29a172(0x1c0)]||(_0xc4c835[_0x29a172(0x4bc)]||Fr)();return _0x433a37[0x6]=_0x433a37[0x6]&0xf|0x40,_0x433a37[0x8]=_0x433a37[0x8]&0x3f|0x80,kr(_0x433a37);}var Yr=Object[_0x4299a1(0x5c7)],Kr=Object[_0x4299a1(0x563)],zr=(_0x2db051,_0x133e1e,_0x3dab4d,_0x421b54)=>{const _0x19e851=_0x4299a1;for(var _0x1c19fa=_0x421b54>0x1?void 0x0:_0x421b54?Kr(_0x133e1e,_0x3dab4d):_0x133e1e,_0x54d4fd=_0x2db051[_0x19e851(0x256)]-0x1,_0x1b2419;_0x54d4fd>=0x0;_0x54d4fd--)(_0x1b2419=_0x2db051[_0x54d4fd])&&(_0x1c19fa=(_0x421b54?_0x1b2419(_0x133e1e,_0x3dab4d,_0x1c19fa):_0x1b2419(_0x1c19fa))||_0x1c19fa);return _0x421b54&&_0x1c19fa&&Yr(_0x133e1e,_0x3dab4d,_0x1c19fa),_0x1c19fa;},At=(_0x4faa25,_0x355110)=>(_0x155473,_0x399d26)=>_0x355110(_0x155473,_0x399d26,_0x4faa25);let vt=class{constructor(_0x5085c7,_0x2bae84,_0x2944bc){const _0x449e89=_0x4299a1;this[_0x449e89(0x557)]=_0x5085c7,this[_0x449e89(0x5bd)]=_0x2bae84,this[_0x449e89(0x454)]=_0x2944bc;}['transformIMECache'](_0x17e88d){const _0x327384=_0x4299a1;this['_transformUndoRedoStack'](_0x17e88d),this[_0x327384(0x288)](_0x17e88d);}[_0x4299a1(0x37c)](_0x31680c){const _0x355413=_0x4299a1,{unitID:_0x563292}=_0x31680c,_0x25d72f=this[_0x355413(0x454)][_0x355413(0x435)](_0x563292)['with'](_0x4ed24e),{redoCache:_0x5c9d24}=_0x25d72f['getUndoRedoMutationParamsCache']();if(_0x5c9d24[_0x355413(0x256)]===0x0)return _0x31680c;let _0x37d16f=_0x30d2fb[_0x355413(0x509)](_0x31680c[_0x355413(0x3e7)][0x0]);for(let _0x227654=0x0;_0x227654<_0x5c9d24[_0x355413(0x256)];_0x227654++){const _0x461fa0={'id':_0x355413(0x42e),'params':{..._0x5c9d24[_0x227654]}},_0x4a0698=this[_0x355413(0x5bd)][_0x355413(0x372)](_0x37d16f,_0x461fa0,!0x1);if(_0x2b0d31(_0x4a0698))throw _0x4a0698[_0x355413(0x1c9)];_0x37d16f=_0x4a0698[_0x355413(0x1f9)];}return{..._0x30d2fb[_0x355413(0x509)](_0x31680c),'mutations':[_0x37d16f]};}['_transformUndoRedoStack'](_0x4f61f7){const _0x170b8e=_0x4299a1,{unitID:_0x475d30}=_0x4f61f7,_0x261b42=this[_0x170b8e(0x454)][_0x170b8e(0x435)](_0x475d30)[_0x170b8e(0x52d)](_0x4ed24e),{undoCache:_0x33c56a,redoCache:_0x3a4abf}=_0x261b42[_0x170b8e(0x370)]();if(_0x33c56a[_0x170b8e(0x256)]===0x0||_0x3a4abf[_0x170b8e(0x256)]===0x0)return;const _0x31b16c=[],_0x324034=[];let _0x130e86=_0x30d2fb['deepClone'](_0x4f61f7[_0x170b8e(0x3e7)][0x0]),_0x57038b=_0x30d2fb['deepClone'](_0x4f61f7[_0x170b8e(0x3e7)][0x0]);for(let _0x10769a=_0x33c56a['length']-0x1;_0x10769a>=0x0;_0x10769a--){const _0x413dbc={'id':_0x170b8e(0x42e),'params':{..._0x33c56a[_0x10769a]}},_0x3fbf34={'id':'doc.mutation.rich-text-editing','params':{..._0x3a4abf[_0x10769a]}},_0x15e466=this[_0x170b8e(0x5bd)]['transformMutation'](_0x130e86,_0x413dbc,!0x1),_0x6db181=this['_transformService'][_0x170b8e(0x372)](_0x57038b,_0x3fbf34,!0x1);if(_0x2b0d31(_0x15e466))throw _0x15e466[_0x170b8e(0x1c9)];if(_0x2b0d31(_0x6db181))throw _0x6db181['error'];_0x31b16c[_0x170b8e(0x2d6)](_0x15e466[_0x170b8e(0x20e)][_0x170b8e(0x217)]),_0x324034['unshift'](_0x6db181[_0x170b8e(0x20e)]['params']),_0x130e86=_0x15e466[_0x170b8e(0x1f9)],_0x57038b=_0x6db181[_0x170b8e(0x1f9)];}_0x261b42[_0x170b8e(0x2f9)]({'undoCache':_0x31b16c,'redoCache':_0x324034});}[_0x4299a1(0x288)](_0x425a83){const _0x173340=_0x4299a1,{unitID:_0x513288}=_0x425a83,_0x4b9f30=this[_0x173340(0x454)][_0x173340(0x435)](_0x513288)[_0x173340(0x52d)](_0x4ed24e),_0x1168bc=_0x4b9f30[_0x173340(0x33e)]();if(_0x1168bc==null)return;const _0x388793=[{'id':_0x173340(0x42e),'params':{'unitId':_0x425a83[_0x173340(0x3cd)],'actions':null,'textRanges':[_0x1168bc]}}],_0x2e4b3e=this[_0x173340(0x5bd)]['transformMutationsWithChangeset'](_0x425a83,_0x388793);if(!_0x1be378(_0x2e4b3e))throw _0x2e4b3e[_0x173340(0x1c9)];const _0x45cf0e=_0x2e4b3e[_0x173340(0x20e)][0x0]['params'][_0x173340(0x587)];Array[_0x173340(0x1e2)](_0x45cf0e)&&_0x45cf0e[_0x173340(0x256)]&&_0x4b9f30[_0x173340(0x496)](_0x45cf0e[0x0]);}};vt=zr([At(0x0,_0x2f5cfe(_0x22006e)),At(0x1,_0x131cfd),At(0x2,_0x113a5e)],vt);var qr=Object[_0x4299a1(0x5c7)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x30b37d,_0x4120ae,_0x62c975,_0x4a1009)=>{const _0x2f3c3f=_0x4299a1;for(var _0x532f10=_0x4a1009>0x1?void 0x0:_0x4a1009?Xr(_0x4120ae,_0x62c975):_0x4120ae,_0x31ce0a=_0x30b37d[_0x2f3c3f(0x256)]-0x1,_0x6083d6;_0x31ce0a>=0x0;_0x31ce0a--)(_0x6083d6=_0x30b37d[_0x31ce0a])&&(_0x532f10=(_0x4a1009?_0x6083d6(_0x4120ae,_0x62c975,_0x532f10):_0x6083d6(_0x532f10))||_0x532f10);return _0x4a1009&&_0x532f10&&qr(_0x4120ae,_0x62c975,_0x532f10),_0x532f10;},Xe=(_0x91aff1,_0x124f86)=>(_0x162fc9,_0x2294ad)=>_0x124f86(_0x162fc9,_0x2294ad,_0x91aff1);let q=class extends _0x3ee966{constructor(_0x451e2f,_0x544fb2,_0xee251d,_0x5b43ec,_0x12179b){const _0x29b3f=_0x4299a1;super(),g(this,_0x29b3f(0x368),new Map()),g(this,_0x29b3f(0x456),new Map()),g(this,_0x29b3f(0x51b),!0x1),(this['_configService']=_0x451e2f,this[_0x29b3f(0x2c3)]=_0x544fb2,this['_beforeCloseService']=_0xee251d,this[_0x29b3f(0x1d7)]=_0x5b43ec,this[_0x29b3f(0x436)]=_0x12179b,this[_0x29b3f(0x4af)]());}[_0x4299a1(0x574)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x4299a1(0x229)](){const _0x47acd9=_0x4299a1;this[_0x47acd9(0x360)]()[_0x47acd9(0x4ad)](()=>super[_0x47acd9(0x229)]());}async[_0x4299a1(0x2e9)](_0x5e40e4){const _0x22ecf3=_0x4299a1;return this[_0x22ecf3(0x51b)]?null:this[_0x22ecf3(0x2c3)][_0x22ecf3(0x308)](Bs(_0x5e40e4));}async[_0x4299a1(0x503)](_0x2969bc,_0x8222aa){const _0x4cb380=_0x4299a1;return!!this[_0x4cb380(0x2c3)]['setItem'](_0x2969bc,_0x8222aa);}['updateOfflineData'](_0x14a546,_0x5583ce,_0x34350e,_0x3cd089){const _0x40d5d4=_0x4299a1,_0x20daf8=this[_0x40d5d4(0x436)][_0x40d5d4(0x4b4)](_0x14a546);this[_0x40d5d4(0x368)][_0x40d5d4(0x3db)](_0x14a546,{'unitID':_0x14a546,'type':_0x5583ce,'awaitingChangeset':_0x34350e,'mutations':_0x3cd089,'rev':_0x20daf8}),this['_saveTaskMap'][_0x40d5d4(0x31a)](_0x14a546)||this[_0x40d5d4(0x350)](_0x14a546);}[_0x4299a1(0x350)](_0x2376c4){const _0x50cf2e=_0x4299a1,_0x10a3f9=this[_0x50cf2e(0x1d4)]();_0x10a3f9===0x0?this[_0x50cf2e(0x417)](_0x2376c4):this['_saveTaskMap'][_0x50cf2e(0x3db)](_0x2376c4,setTimeout(()=>this[_0x50cf2e(0x417)](_0x2376c4),_0x10a3f9));}[_0x4299a1(0x1d4)](){const _0x130d5f=_0x4299a1;var _0x1e1a85;return(_0x1e1a85=this[_0x130d5f(0x4cf)][_0x130d5f(0x2b6)](mr))!=null?_0x1e1a85:pr;}[_0x4299a1(0x417)](_0x2f6d56){const _0x41093a=_0x4299a1,_0x2ce73a=this[_0x41093a(0x456)][_0x41093a(0x401)](_0x2f6d56);return _0x2ce73a!==void 0x0&&window['clearTimeout'](_0x2ce73a),this[_0x41093a(0x2c3)][_0x41093a(0x421)](Bs(_0x2f6d56),this[_0x41093a(0x368)][_0x41093a(0x401)](_0x2f6d56))['then'](()=>this['_saveTaskMap']['delete'](_0x2f6d56));}async[_0x4299a1(0x360)](){const _0x38f8a7=_0x4299a1,_0x21140b=[];this[_0x38f8a7(0x456)]['forEach']((_0x1b2730,_0x1382de)=>{const _0x5b4066=_0x38f8a7;window[_0x5b4066(0x4f8)](_0x1b2730),_0x21140b[_0x5b4066(0x499)](this[_0x5b4066(0x417)](_0x1382de)[_0x5b4066(0x4ad)](()=>{const _0x54630f=_0x5b4066;this[_0x54630f(0x456)]['delete'](_0x1382de);}));}),await Promise['all'](_0x21140b);}[_0x4299a1(0x4af)](){const _0x3ca922=_0x4299a1;this[_0x3ca922(0x5b7)](this[_0x3ca922(0x57b)][_0x3ca922(0x332)](()=>{const _0x24f167=_0x3ca922;if(this[_0x24f167(0x456)][_0x24f167(0x4c3)])return this[_0x24f167(0x1d7)]['t'](_0x24f167(0x218));}));}};q=Jr([Xe(0x0,_0x3fd15e),Xe(0x1,_0x5eff7a),Xe(0x2,_0x51784a),Xe(0x3,_0x2f5cfe(_0x44ee4c)),Xe(0x4,_0x2f5cfe(_0x12797c))],q);function Bs(_0x19bad8){const _0x403b03=_0x4299a1;return _0x403b03(0x213)+_0x19bad8;}var Zr=Object[_0x4299a1(0x5c7)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x3f6b75,_0x154d3d,_0x32be8b,_0x182b88)=>{const _0x26df09=_0x4299a1;for(var _0x3283ea=_0x182b88>0x1?void 0x0:_0x182b88?Qr(_0x154d3d,_0x32be8b):_0x154d3d,_0x4d453e=_0x3f6b75[_0x26df09(0x256)]-0x1,_0x2d504d;_0x4d453e>=0x0;_0x4d453e--)(_0x2d504d=_0x3f6b75[_0x4d453e])&&(_0x3283ea=(_0x182b88?_0x2d504d(_0x154d3d,_0x32be8b,_0x3283ea):_0x2d504d(_0x3283ea))||_0x3283ea);return _0x182b88&&_0x3283ea&&Zr(_0x154d3d,_0x32be8b,_0x3283ea),_0x3283ea;},Mt=(_0x1a083a,_0x165b30)=>(_0x4eec18,_0x6a74af)=>_0x165b30(_0x4eec18,_0x6a74af,_0x1a083a);function to(_0x5773b9){const _0x186aea=_0x4299a1,{unitID:_0x4124ca,mutations:_0x5283a0}=_0x5773b9;return{'unitId':_0x4124ca,'subUnitId':_0x5283a0[0x0][_0x186aea(0x217)][_0x186aea(0x559)]};}let mt=class{constructor(_0x45b82a,_0x590c81,_0x17e9f2){const _0x5a92aa=_0x4299a1;this[_0x5a92aa(0x557)]=_0x45b82a,this[_0x5a92aa(0x5bd)]=_0x590c81,this[_0x5a92aa(0x41d)]=_0x17e9f2;}[_0x4299a1(0x576)](_0x55ba96){const _0x32bc26=_0x4299a1;var _0x5f1396,_0x2406c6,_0x58257e,_0x15f037;const _0x103c7d=this[_0x32bc26(0x557)][_0x32bc26(0x401)](_0x492658),{unitId:_0x189b26,subUnitId:_0x5a30bd}=to(_0x55ba96),_0x138924=_0x103c7d[_0x32bc26(0x22f)](_0x189b26)[_0x32bc26(0x59a)](),_0x253ebb=(_0x2406c6=(_0x5f1396=this[_0x32bc26(0x41d)][_0x32bc26(0x32b)](_0x189b26))==null?void 0x0:_0x5f1396[_0x32bc26(0x46c)]())==null?void 0x0:_0x2406c6['getSheetId']();if(_0x138924[_0x32bc26(0x256)]===0x0||!_0x189b26||!_0x5a30bd)return;const _0x56014f=[{'id':_0x1cb700['id'],'params':{'unitId':_0x189b26,'subUnitId':_0x253ebb,'selections':_0x30d2fb[_0x32bc26(0x509)](_0x138924)}}],_0x13be6d=this[_0x32bc26(0x5bd)][_0x32bc26(0x364)](_0x55ba96,_0x56014f);if(!_0x1be378(_0x13be6d))throw _0x13be6d[_0x32bc26(0x1c9)];const _0x482693=(_0x15f037=(_0x58257e=_0x13be6d[_0x32bc26(0x20e)][0x0])==null?void 0x0:_0x58257e['params'])==null?void 0x0:_0x15f037[_0x32bc26(0x470)];if(Array[_0x32bc26(0x1e2)](_0x482693)&&_0x482693['length']){if(_0x482693[_0x32bc26(0x256)]===_0x56014f[0x0][_0x32bc26(0x217)]['selections'][_0x32bc26(0x256)]&&_0x482693[_0x32bc26(0x3cf)]((_0xa657a7,_0x2692f6)=>_0x6605f4[_0x32bc26(0x5c6)](_0xa657a7[_0x32bc26(0x478)],_0x56014f[0x0]['params'][_0x32bc26(0x470)][_0x2692f6][_0x32bc26(0x478)])))return;this[_0x32bc26(0x557)][_0x32bc26(0x401)](_0x2d1134)[_0x32bc26(0x23c)](_0x1cb700['id'],{'unitId':_0x189b26,'subUnitId':_0x253ebb,'selections':_0x482693});}}};mt=eo([Mt(0x0,_0x2f5cfe(_0x22006e)),Mt(0x1,_0x131cfd),Mt(0x2,_0x19bced)],mt);const yt=_0x47ec37(_0x4299a1(0x2fc));var Di=(_0x5371ee=>(_0x5371ee[_0x5371ee[_0x4299a1(0x44f)]=0x0]=_0x4299a1(0x44f),_0x5371ee[_0x5371ee[_0x4299a1(0x244)]=0x1]=_0x4299a1(0x244),_0x5371ee))(Di||{});const ks=0x7530,Ws=_0x4299a1(0x4fb);class so extends _0x3ee966{constructor(){const _0x3a1dac=_0x4299a1;super(),g(this,_0x3a1dac(0x325),_0x30d2fb['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x3a1dac(0x429),new Map()),g(this,_0x3a1dac(0x35a),null),g(this,_0x3a1dac(0x201),new Map()),g(this,'_unitStatus',new Map()),this['_init']();}[_0x4299a1(0x229)](){const _0x4b03e5=_0x4299a1;super[_0x4b03e5(0x229)](),this[_0x4b03e5(0x201)]['forEach']((_0xa1b9dc,_0x5ae753)=>this[_0x4b03e5(0x280)](_0x5ae753)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x4299a1(0x2c4)](_0x481d33){const _0x52654b=_0x4299a1;return this[_0x52654b(0x2be)](_0x481d33)[_0x52654b(0x35f)](_0x5f1eca());}['editingUnit'](_0x302e08){const _0xf6148b=_0x4299a1;this[_0xf6148b(0x5ac)][_0xf6148b(0x4c3)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0xf6148b(0x57f)](_0x302e08),this[_0xf6148b(0x5a9)]({'type':0x0,'memberID':this[_0xf6148b(0x325)],'unitIDs':[_0x302e08],'isForwarded':!0x1});}[_0x4299a1(0x55f)](_0x3fa6b2){const _0x38ef6f=_0x4299a1;this[_0x38ef6f(0x5ac)][_0x38ef6f(0x404)](_0x3fa6b2),this['_selfUnitIDs'][_0x38ef6f(0x4c3)]===0x0&&this[_0x38ef6f(0x35a)]&&window[_0x38ef6f(0x4cd)](this[_0x38ef6f(0x35a)]);}[_0x4299a1(0x389)](){const _0x53a894=_0x4299a1;this[_0x53a894(0x5b7)](_0xd4e920(_0x464cf3(window,_0x53a894(0x22a))[_0x53a894(0x487)](_0x4c894a=>{const _0x578fe6=_0x53a894;if(_0x4c894a['key']!==Ws||!_0x4c894a['newValue'])return;const _0x1f7bbd=JSON['parse'](_0x4c894a['newValue']);this[_0x578fe6(0x397)](_0x1f7bbd);}))),window[_0x53a894(0x581)]('unload',()=>this[_0x53a894(0x5a9)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x53a894(0x527)](this[_0x53a894(0x5ac)])}));}[_0x4299a1(0x397)](_0x342d5e){const _0x4a50fd=_0x4299a1;switch(_0x342d5e['type']){case 0x0:this[_0x4a50fd(0x5cc)](_0x342d5e);break;case 0x1:this[_0x4a50fd(0x24e)](_0x342d5e);break;case 0x2:this['_handleHeartbeatEvent'](_0x342d5e);break;}}[_0x4299a1(0x5cc)](_0x4a8021){const _0x30a5de=_0x4299a1,{unitIDs:_0x4a6817,memberID:_0x59b01a,isForwarded:_0x4af2d9}=_0x4a8021;_0x4a6817[_0x30a5de(0x2c6)](_0xab299b=>{const _0x52e920=_0x30a5de;if(!_0x4af2d9&&this[_0x52e920(0x429)]['has'](_0xab299b)&&this[_0x52e920(0x2be)](_0xab299b)[_0x52e920(0x419)](0x1),!this['_unitOnClients'][_0x52e920(0x31a)](_0xab299b)||!this[_0x52e920(0x429)]['get'](_0xab299b)[_0x52e920(0x31a)](_0x59b01a)){const _0x23caae=this['_unitOnClients'][_0x52e920(0x401)](_0xab299b)||new Set();_0x23caae[_0x52e920(0x57f)](_0x59b01a),this['_unitOnClients']['set'](_0xab299b,_0x23caae),this[_0x52e920(0x37b)](_0x59b01a);}}),_0x4af2d9||this[_0x30a5de(0x5a9)]({'type':0x0,'memberID':this[_0x30a5de(0x325)],'unitIDs':[...this[_0x30a5de(0x5ac)]],'isForwarded':!0x0});}[_0x4299a1(0x37b)](_0x50d891){const _0x36c8f5=_0x4299a1;this[_0x36c8f5(0x280)](_0x50d891);const _0x4b32e9=window[_0x36c8f5(0x560)](()=>{const _0x2c2b76=_0x36c8f5;this[_0x2c2b76(0x429)]['forEach'](_0x864777=>{const _0x4cda55=_0x2c2b76;_0x864777[_0x4cda55(0x404)](_0x50d891);});},ks*0x2);this[_0x36c8f5(0x201)]['set'](_0x50d891,_0x4b32e9);}[_0x4299a1(0x280)](_0x29fe42){const _0x34da7c=_0x4299a1;if(this[_0x34da7c(0x201)][_0x34da7c(0x31a)](_0x29fe42)){const _0x47cd2c=this[_0x34da7c(0x201)]['get'](_0x29fe42);_0x47cd2c&&window[_0x34da7c(0x4f8)](_0x47cd2c),this[_0x34da7c(0x201)][_0x34da7c(0x3db)](_0x29fe42,null);}}[_0x4299a1(0x24e)](_0x11aa4d){const _0x553cd5=_0x4299a1,{memberID:_0x3253c5,unitIDs:_0x525e11}=_0x11aa4d;_0x525e11[_0x553cd5(0x2c6)](_0x1757ba=>{const _0x51c480=_0x553cd5;var _0x386fca;const _0x1b4bfa=this[_0x51c480(0x429)][_0x51c480(0x401)](_0x1757ba);_0x1b4bfa&&(_0x1b4bfa[_0x51c480(0x404)](_0x3253c5),(_0x386fca=this[_0x51c480(0x2be)](_0x1757ba))==null||_0x386fca[_0x51c480(0x419)](_0x1b4bfa[_0x51c480(0x4c3)]===0x0?0x0:0x1));}),this[_0x553cd5(0x280)](_0x3253c5);}['_handleHeartbeatEvent'](_0x26b7d3){const _0xed0833=_0x4299a1;this['_scheduleClearOtherTimer'](_0x26b7d3[_0xed0833(0x514)]);}[_0x4299a1(0x5a9)](_0x337f15){const _0x4b3961=_0x4299a1;localStorage[_0x4b3961(0x421)](Ws,JSON[_0x4b3961(0x1fb)](_0x337f15));}['_scheduleHeartbeat'](){const _0x405de1=_0x4299a1;this[_0x405de1(0x35a)]=window[_0x405de1(0x595)](()=>{const _0x4977f1=_0x405de1;this[_0x4977f1(0x5a9)]({'type':0x2,'memberID':this['_id']});},ks);}['_ensureSubject'](_0x59f417){const _0x380a39=_0x4299a1;return this[_0x380a39(0x3ee)][_0x380a39(0x31a)](_0x59f417)||this[_0x380a39(0x3ee)]['set'](_0x59f417,new _0x37eed6(0x0)),this['_unitStatus'][_0x380a39(0x401)](_0x59f417);}}var io=Object[_0x4299a1(0x5c7)],no=Object[_0x4299a1(0x563)],ro=(_0x5bf779,_0x301cb8,_0x3db43e,_0x56a40c)=>{const _0x17e89a=_0x4299a1;for(var _0x1ff49f=_0x56a40c>0x1?void 0x0:_0x56a40c?no(_0x301cb8,_0x3db43e):_0x301cb8,_0x226523=_0x5bf779[_0x17e89a(0x256)]-0x1,_0x450e25;_0x226523>=0x0;_0x226523--)(_0x450e25=_0x5bf779[_0x226523])&&(_0x1ff49f=(_0x56a40c?_0x450e25(_0x301cb8,_0x3db43e,_0x1ff49f):_0x450e25(_0x1ff49f))||_0x1ff49f);return _0x56a40c&&_0x1ff49f&&io(_0x301cb8,_0x3db43e,_0x1ff49f),_0x1ff49f;},xt=(_0x5c223f,_0x1b0c89)=>(_0x9364fa,_0x3ed5ad)=>_0x1b0c89(_0x9364fa,_0x3ed5ad,_0x5c223f);let pt=class{constructor(_0x4da3c1,_0x852ad0,_0x25d188){const _0x2379ae=_0x4299a1;this[_0x2379ae(0x557)]=_0x4da3c1,this['_transformService']=_0x852ad0,this[_0x2379ae(0x4ec)]=_0x25d188;}['transformStateCache'](_0x15892f){const _0x3ff952=_0x4299a1;this[_0x3ff952(0x433)](_0x15892f);}[_0x4299a1(0x37c)](_0x53b259){const _0x5d4329=_0x4299a1,{unitID:_0xfd2908}=_0x53b259,{collaboration:_0x5a9efa}=this[_0x5d4329(0x4ec)][_0x5d4329(0x5bb)](_0xfd2908);if(_0x5a9efa[_0x5d4329(0x256)]===0x0)return _0x53b259;let _0x4660dc=_0x30d2fb[_0x5d4329(0x509)](_0x53b259['mutations'][0x0]);for(let _0x3e12e6=0x0;_0x3e12e6<_0x5a9efa[_0x5d4329(0x256)];_0x3e12e6++){const _0xab8c66={'id':_0x5d4329(0x42e),'params':{'unitId':_0x5a9efa[_0x3e12e6][_0x5d4329(0x2ea)],..._0x5a9efa[_0x3e12e6][_0x5d4329(0x20a)]}},_0x4e912e=this[_0x5d4329(0x5bd)][_0x5d4329(0x372)](_0x4660dc,_0xab8c66,!0x1);if(_0x2b0d31(_0x4e912e))throw _0x4e912e[_0x5d4329(0x1c9)];_0x4660dc=_0x4e912e[_0x5d4329(0x1f9)];}return{..._0x30d2fb[_0x5d4329(0x509)](_0x53b259),'mutations':[_0x4660dc]};}[_0x4299a1(0x433)](_0x151cf4){const _0x335848=_0x4299a1,{unitID:_0x1fe04c}=_0x151cf4,{history:_0x187491,collaboration:_0x58825f}=this[_0x335848(0x4ec)][_0x335848(0x5bb)](_0x1fe04c);if(_0x187491[_0x335848(0x256)]===0x0&&_0x58825f['length']===0x0)return;const _0x138ed8=[],_0x124805=[];let _0x17a0f7=_0x30d2fb[_0x335848(0x509)](_0x151cf4['mutations'][0x0]),_0x18c8e1=_0x30d2fb[_0x335848(0x509)](_0x151cf4[_0x335848(0x3e7)][0x0]);for(let _0xef7c3a=_0x187491[_0x335848(0x256)]-0x1;_0xef7c3a>=0x0;_0xef7c3a--){const _0x3e1bf3={'id':_0x335848(0x42e),'params':{'unitId':_0x187491[_0xef7c3a]['unitId'],..._0x187491[_0xef7c3a][_0x335848(0x1d3)]}},_0x5a4883={'id':_0x335848(0x42e),'params':{'unitId':_0x187491[_0xef7c3a]['unitId'],..._0x187491[_0xef7c3a][_0x335848(0x20a)]}},_0x5ab272=this[_0x335848(0x5bd)][_0x335848(0x372)](_0x17a0f7,_0x3e1bf3,!0x1),_0x2d276d=this[_0x335848(0x5bd)][_0x335848(0x372)](_0x18c8e1,_0x5a4883,!0x1);if(_0x2b0d31(_0x5ab272))throw _0x5ab272['error'];if(_0x2b0d31(_0x2d276d))throw _0x2d276d[_0x335848(0x1c9)];_0x138ed8['unshift']({..._0x187491[_0xef7c3a],'undoState':_0x5ab272[_0x335848(0x20e)][_0x335848(0x217)],'redoState':_0x2d276d[_0x335848(0x20e)]['params']}),_0x17a0f7=_0x5ab272[_0x335848(0x1f9)],_0x18c8e1=_0x2d276d['m1Prime'];}_0x17a0f7=_0x30d2fb[_0x335848(0x509)](_0x151cf4[_0x335848(0x3e7)][0x0]),_0x18c8e1=_0x30d2fb[_0x335848(0x509)](_0x151cf4[_0x335848(0x3e7)][0x0]);for(let _0x194888=_0x58825f[_0x335848(0x256)]-0x1;_0x194888>=0x0;_0x194888--){const _0x59a1e9={'id':_0x335848(0x42e),'params':{'unitId':_0x58825f[_0x194888][_0x335848(0x2ea)],..._0x58825f[_0x194888]['undoState']}},_0x228c9b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58825f[_0x194888][_0x335848(0x2ea)],..._0x58825f[_0x194888]['redoState']}},_0x26e3e1=this['_transformService']['transformMutation'](_0x17a0f7,_0x59a1e9,!0x1),_0x22f811=this[_0x335848(0x5bd)][_0x335848(0x372)](_0x18c8e1,_0x228c9b,!0x1);if(_0x2b0d31(_0x26e3e1))throw _0x26e3e1[_0x335848(0x1c9)];if(_0x2b0d31(_0x22f811))throw _0x22f811[_0x335848(0x1c9)];_0x124805[_0x335848(0x2d6)]({..._0x58825f[_0x194888],'undoState':_0x26e3e1[_0x335848(0x20e)]['params'],'redoState':_0x22f811[_0x335848(0x20e)][_0x335848(0x217)]}),_0x17a0f7=_0x26e3e1[_0x335848(0x1f9)],_0x18c8e1=_0x22f811[_0x335848(0x1f9)];}this[_0x335848(0x4ec)][_0x335848(0x426)](_0x1fe04c,{'history':_0x138ed8,'collaboration':_0x124805});}};pt=ro([xt(0x0,_0x2f5cfe(_0x22006e)),xt(0x1,_0x131cfd),xt(0x2,_0x2f5cfe(_0x1e13e9))],pt);function Pi(_0x348967){const _0x575d98=_0x4299a1;let _0x476b91='';for(const _0xac5c62 of _0x348967){const {startOffset:_0x1ae49a,endOffset:_0x578a57,isActive:_0x426ec1,rangeType:_0x4f0ce1,segmentId:_0x1c98df,segmentPage:_0x2cf2b6}=_0xac5c62;_0x476b91[_0x575d98(0x256)]&&(_0x476b91+=','),_0x476b91+=_0x1ae49a+':'+_0x578a57+':'+(_0x426ec1?'1':'0')+':'+_0x4f0ce1+':'+_0x1c98df+':'+_0x2cf2b6;}return _0x476b91;}function oo(_0x222541){const _0x344d76=_0x4299a1,_0x52454f=_0x222541['split'](','),_0x3c9387=[];for(const _0x458493 of _0x52454f){const [_0x5a30c9,_0x27469f,_0x333ed7,_0x1f0e3a,_0x20af8f,_0x552f53]=_0x458493[_0x344d76(0x3a3)](':');_0x3c9387[_0x344d76(0x499)]({'startOffset':Number(_0x5a30c9),'endOffset':Number(_0x27469f),'collapsed':_0x5a30c9===_0x27469f,'isActive':_0x333ed7==='1','rangeType':_0x1f0e3a===_0x1845e2['TEXT']?_0x1845e2['TEXT']:_0x1845e2[_0x344d76(0x51f)],'segmentId':typeof _0x20af8f==_0x344d76(0x3b4)?String(_0x20af8f):'','segmentPage':Number(_0x552f53!=null?_0x552f53:-0x1)});}return _0x3c9387[_0x344d76(0x4c6)](_0x2367c0=>_0x2367c0[_0x344d76(0x2aa)])||(_0x3c9387[0x0]['isActive']=!0x0),_0x3c9387;}class Cs extends _0x737a66{constructor(){const _0x7704d7=_0x4299a1;super(...arguments),g(this,_0x7704d7(0x3d0),new _0x37eed6(null)),g(this,_0x7704d7(0x2f4),this['_collabCursorState$'][_0x7704d7(0x42a)]());}[_0x4299a1(0x281)](_0x234d8e){const _0x2ef22e=_0x4299a1,{unitID:_0x5f4af7,memberID:_0x4b3c56,textRanges:_0x5d7754}=_0x234d8e,_0x44f518=Pi(_0x5d7754);if(_0x44f518==='')return;const _0x5734bf={'unitID':_0x5f4af7,'memberID':_0x4b3c56,'selection':_0x44f518};this[_0x2ef22e(0x3d0)]['next'](_0x5734bf);}}var ao=Object[_0x4299a1(0x5c7)],co=Object['getOwnPropertyDescriptor'],ho=(_0x33ee0f,_0x864b91,_0x9795b5,_0x45c00c)=>{const _0x1460b8=_0x4299a1;for(var _0x1f4b08=_0x45c00c>0x1?void 0x0:_0x45c00c?co(_0x864b91,_0x9795b5):_0x864b91,_0x2a3907=_0x33ee0f[_0x1460b8(0x256)]-0x1,_0x2611ae;_0x2a3907>=0x0;_0x2a3907--)(_0x2611ae=_0x33ee0f[_0x2a3907])&&(_0x1f4b08=(_0x45c00c?_0x2611ae(_0x864b91,_0x9795b5,_0x1f4b08):_0x2611ae(_0x1f4b08))||_0x1f4b08);return _0x45c00c&&_0x1f4b08&&ao(_0x864b91,_0x9795b5,_0x1f4b08),_0x1f4b08;},Fs=(_0x36d512,_0x3c43b7)=>(_0xee01fd,_0x5778eb)=>_0x3c43b7(_0xee01fd,_0x5778eb,_0x36d512);let gt=class{constructor(_0x2c10ad,_0x496ae3){const _0x1a2424=_0x4299a1;this[_0x1a2424(0x557)]=_0x2c10ad,this[_0x1a2424(0x5bd)]=_0x496ae3;}[_0x4299a1(0x576)](_0x516ca8){const _0x4de55e=_0x4299a1;var _0x2543ab;const _0x23e096=this[_0x4de55e(0x557)][_0x4de55e(0x401)](_0x3c0350),_0x406381=(_0x2543ab=_0x23e096[_0x4de55e(0x388)]())!=null?_0x2543ab:[];if(_0x406381[_0x4de55e(0x256)]===0x0)return;const _0x3967c4=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x516ca8[_0x4de55e(0x3cd)],'actions':null,'textRanges':_0x406381}}],_0x53b335=this[_0x4de55e(0x5bd)][_0x4de55e(0x364)](_0x516ca8,_0x3967c4);if(!_0x1be378(_0x53b335))throw _0x53b335[_0x4de55e(0x1c9)];const _0x5b1c4c=_0x53b335[_0x4de55e(0x20e)][0x0]['params'][_0x4de55e(0x587)];Array[_0x4de55e(0x1e2)](_0x5b1c4c)&&_0x5b1c4c['length']&&_0x23e096['replaceTextRanges'](_0x5b1c4c,!0x1);}};gt=ho([Fs(0x0,_0x2f5cfe(_0x22006e)),Fs(0x1,_0x131cfd)],gt);const lo=new Set([_0x505daa['id']]);function Vs(_0x592e78,_0x57602d,_0x53ee08,_0x148879,_0x2a52d2){const _0x2015a8=_0x4299a1;var _0x39a943,_0x417a50,_0x56cfa7,_0x34b653;const _0x327418=[];for(const _0x1976bd of _0x592e78)if(lo[_0x2015a8(0x31a)](_0x1976bd['id'])){if(_0x327418[_0x2015a8(0x256)]>0x0)break;_0x327418[_0x2015a8(0x499)](_0x1976bd);break;}else _0x327418['push'](_0x1976bd);const _0x5debf9=(_0x417a50=(_0x39a943=_0x2a52d2['getCurrentUser']())==null?void 0x0:_0x39a943[_0x2015a8(0x286)])!=null?_0x417a50:'unknown',_0x39523d=(_0x34b653=(_0x56cfa7=_0x2a52d2[_0x2015a8(0x502)]())==null?void 0x0:_0x56cfa7[_0x2015a8(0x514)])!=null?_0x34b653:_0x2015a8(0x38a);return{'changeset':{'unitID':_0x57602d,'type':_0x50a3c7(_0x53ee08['getUnitType'](_0x57602d)),'baseRev':_0x148879[_0x2015a8(0x4b4)](_0x57602d),'revision':0x0,'userID':_0x5debf9,'memberID':_0x39523d,'mutations':_0x327418},'pendingMutations':_0x592e78[_0x2015a8(0x375)](_0x327418['length'])};}function _o(_0x407d36,_0x10a0d2,_0x197861,_0x45d4b7,_0x156fcb){const _0x41bd04=_0x4299a1;var _0x472a95,_0x404aea,_0x357712,_0x355dec;const _0x26447b=[_0x407d36['reduce']((_0x57b1eb,_0x4f1d7a)=>{const _0x2ab87a=_0x1dba;var _0x32e4f2;const {id:_0x1be1b3}=_0x57b1eb,{id:_0x5544b1,type:_0x3da5d2}=_0x4f1d7a,_0x9482c2=(_0x32e4f2=_0x57b1eb[_0x2ab87a(0x217)])!=null?_0x32e4f2:{'actions':null},_0x52abc2=_0x4f1d7a[_0x2ab87a(0x217)];if(_0x1be1b3&&_0x1be1b3!==_0x5544b1)throw new Error(_0x2ab87a(0x45e)+_0x1be1b3+_0x2ab87a(0x2ad)+_0x5544b1+'.');return{..._0x57b1eb,'id':_0x5544b1,'type':_0x3da5d2,'params':{'unitId':_0x52abc2[_0x2ab87a(0x2ea)],'textRanges':_0x52abc2[_0x2ab87a(0x587)],'actions':_0x12fa9e[_0x2ab87a(0x50e)](_0x9482c2['actions'],_0x52abc2[_0x2ab87a(0x3b6)])}};},{})],_0x140fb3=(_0x404aea=(_0x472a95=_0x156fcb['getCurrentUser']())==null?void 0x0:_0x472a95['userID'])!=null?_0x404aea:_0x41bd04(0x38a),_0x2793f8=(_0x355dec=(_0x357712=_0x156fcb[_0x41bd04(0x502)]())==null?void 0x0:_0x357712[_0x41bd04(0x514)])!=null?_0x355dec:_0x41bd04(0x38a);return{'changeset':{'unitID':_0x10a0d2,'type':_0x50a3c7(_0x197861['getUnitType'](_0x10a0d2)),'baseRev':_0x45d4b7[_0x41bd04(0x4b4)](_0x10a0d2),'revision':0x0,'userID':_0x140fb3,'memberID':_0x2793f8,'mutations':_0x26447b},'pendingMutations':[]};}function Ui(_0xe05a87,_0x8ccb9){const _0x161e92=_0x4299a1,_0x5d6f5e=new _0x109ef2(0x1);return setTimeout(()=>_0x5d6f5e[_0x161e92(0x419)](_0x8ccb9),_0xe05a87),_0x5d6f5e['asObservable']()[_0x161e92(0x35f)](_0x39a45e(0x1));}const uo={'id':_0x5be8fc['id'],'type':_0x76554b['MUTATION'],'params':{}};var fo=Object['defineProperty'],vo=Object[_0x4299a1(0x563)],Le=(_0x42eaa5,_0x218df6,_0xf75628,_0x283ae7)=>{const _0x31d209=_0x4299a1;for(var _0xdd6d22=_0x283ae7>0x1?void 0x0:_0x283ae7?vo(_0x218df6,_0xf75628):_0x218df6,_0x51e5e1=_0x42eaa5[_0x31d209(0x256)]-0x1,_0x3c053a;_0x51e5e1>=0x0;_0x51e5e1--)(_0x3c053a=_0x42eaa5[_0x51e5e1])&&(_0xdd6d22=(_0x283ae7?_0x3c053a(_0x218df6,_0xf75628,_0xdd6d22):_0x3c053a(_0xdd6d22))||_0xdd6d22);return _0x283ae7&&_0xdd6d22&&fo(_0x218df6,_0xf75628,_0xdd6d22),_0xdd6d22;},A=(_0x20b397,_0xc733e2)=>(_0x460a32,_0x1e50dc)=>_0xc733e2(_0x460a32,_0x1e50dc,_0x20b397),J=(_0x4ce701=>(_0x4ce701['NOT_COLLAB']=_0x4299a1(0x40c),_0x4ce701[_0x4299a1(0x353)]=_0x4299a1(0x38d),_0x4ce701[_0x4299a1(0x4ed)]=_0x4299a1(0x409),_0x4ce701[_0x4299a1(0x591)]='awaiting',_0x4ce701['AWAITING_WITH_PENDING']=_0x4299a1(0x474),_0x4ce701[_0x4299a1(0x27d)]=_0x4299a1(0x2f6),_0x4ce701['CONFLICT']='conflict',_0x4ce701['OFFLINE']='offline',_0x4ce701))(J||{});const Ni=0xea60;class $e{constructor(_0x570d85,_0x200f48,_0x5bcfe0,_0x50d7e0,_0x5bab32,_0x5bd60b,_0x5cdd3a,_0x3dc8fc,_0x3b394e){const _0x32f37f=_0x4299a1;g(this,_0x32f37f(0x4a2),null),g(this,_0x32f37f(0x44a),[]),(this['unitID']=_0x570d85,this[_0x32f37f(0x41e)]=_0x200f48,this['_handler']=_0x5bab32,this[_0x32f37f(0x33f)]=_0x5bd60b,this['_undoRedoService']=_0x5cdd3a,this['_revisionService']=_0x3dc8fc,this[_0x32f37f(0x3ac)]=_0x3b394e,this['_awaitingChangeset']=_0x5bcfe0,this[_0x32f37f(0x44a)]=_0x50d7e0);}[_0x4299a1(0x423)](_0x42edd6){const _0x4bf3a4=_0x4299a1,_0x3b7c6c=this[_0x4bf3a4(0x436)][_0x4bf3a4(0x4b4)](this[_0x4bf3a4(0x3cd)]);return _0x42edd6[_0x4bf3a4(0x4e5)]>_0x3b7c6c+0x1?(this[_0x4bf3a4(0x4ae)][_0x4bf3a4(0x38b)]({'from':_0x3b7c6c,'to':_0x42edd6['revision']-0x1}),!0x0):!0x1;}[_0x4299a1(0x279)](_0x3f95e){const _0x40f31f=_0x4299a1;this[_0x40f31f(0x4f6)][_0x40f31f(0x41f)](this[_0x40f31f(0x3cd)],_0x3f95e);}[_0x4299a1(0x3d8)](_0x478572){const _0x5f4761=_0x4299a1;var _0x4f0eb9,_0x1bbd9e;(_0x1bbd9e=(_0x4f0eb9=this[_0x5f4761(0x4ae)])[_0x5f4761(0x357)])==null||_0x1bbd9e['call'](_0x4f0eb9,_0x478572);}[_0x4299a1(0x492)](_0x254dc5){const _0x4a6e0a=_0x4299a1;var _0x26e68e,_0x367e1d;return(_0x367e1d=(_0x26e68e=this[_0x4a6e0a(0x4ae)])['onTransformIME'])==null?void 0x0:_0x367e1d[_0x4a6e0a(0x211)](_0x26e68e,_0x254dc5);}[_0x4299a1(0x5ae)](_0x4ce95e){const _0x426768=_0x4299a1;var _0x33935c,_0x201150;return(_0x201150=(_0x33935c=this['_handler'])[_0x426768(0x234)])==null?void 0x0:_0x201150[_0x426768(0x211)](_0x33935c,_0x4ce95e);}[_0x4299a1(0x5a5)](_0x3121e9){const _0x31a817=_0x4299a1;var _0x50e33d,_0x29ba48,_0x3a170a;return(_0x3a170a=(_0x29ba48=(_0x50e33d=this[_0x31a817(0x4ae)])[_0x31a817(0x3f8)])==null?void 0x0:_0x29ba48[_0x31a817(0x211)](_0x50e33d,_0x3121e9))!=null?_0x3a170a:_0x3121e9;}[_0x4299a1(0x27a)](_0x2f2068){const _0x1b2a80=_0x4299a1;var _0x48eafd,_0x4c35de,_0x191e34;return(_0x191e34=(_0x4c35de=(_0x48eafd=this[_0x1b2a80(0x4ae)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4c35de[_0x1b2a80(0x211)](_0x48eafd,_0x2f2068))!=null?_0x191e34:_0x2f2068;}[_0x4299a1(0x580)](_0x1c09e0){const _0x551314=_0x4299a1;var _0x1bdad1,_0x479490;if(this[_0x551314(0x41e)]===ce[_0x551314(0x599)]){const {unitID:_0x3fbfa2,mutations:_0x45abba,memberID:_0x4228a6}=_0x1c09e0,_0x4ff9db=_0x45abba[0x0][_0x551314(0x217)][_0x551314(0x587)];Array[_0x551314(0x1e2)](_0x4ff9db)&&_0x4ff9db[_0x551314(0x256)]>0x0&&((_0x479490=(_0x1bdad1=this[_0x551314(0x4ae)])['onSyncEditingCollabCursor'])==null||_0x479490[_0x551314(0x211)](_0x1bdad1,{'unitID':_0x3fbfa2,'memberID':_0x4228a6,'textRanges':_0x4ff9db}));}}[_0x4299a1(0x3fa)](){const _0x46cfcb=_0x4299a1;this[_0x46cfcb(0x3ac)][_0x46cfcb(0x566)](this[_0x46cfcb(0x3cd)],this[_0x46cfcb(0x41e)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x4299a1(0x3a9)](){const _0x55079f=_0x4299a1;return this['_revisionService'][_0x55079f(0x4b4)](this[_0x55079f(0x3cd)]);}[_0x4299a1(0x3d1)](){const _0x46a2c2=_0x4299a1;this['_revisionService'][_0x46a2c2(0x20f)](this[_0x46a2c2(0x3cd)]);}[_0x4299a1(0x47c)](_0x1d6b4d){const _0x3c5ebf=_0x4299a1;var _0x599e2a;let _0x1d69de=this[_0x3c5ebf(0x5a5)](_0x1d6b4d);_0x1d69de=this[_0x3c5ebf(0x27a)](_0x1d69de);const _0x382a5a=_0xc0b152(_0x1d69de[_0x3c5ebf(0x3e7)],this[_0x3c5ebf(0x33f)],{'fromCollab':!0x0});if(!_0x382a5a['result'])throw _0x382a5a[_0x3c5ebf(0x1c9)]instanceof Error?_0x382a5a[_0x3c5ebf(0x1c9)]:new Error((_0x599e2a=_0x382a5a[_0x3c5ebf(0x1c9)])!=null?_0x599e2a:_0x3c5ebf(0x3fc));this[_0x3c5ebf(0x492)](_0x1d69de),this[_0x3c5ebf(0x5ae)](_0x1d69de),this[_0x3c5ebf(0x279)](_0x1d6b4d),this[_0x3c5ebf(0x3d8)](_0x1d69de),this[_0x3c5ebf(0x580)](_0x1d69de),this[_0x3c5ebf(0x3d1)]();}}let Fe=class extends $e{constructor(_0x57570c,_0x30b23f,_0x1055d5,_0x158c9c,_0x2713bf,_0x230bd6,_0x3f413b,_0xf83704,_0x224e82,_0x75474f){const _0x37a00c=_0x4299a1;super(_0x57570c,_0x30b23f,null,[],_0x1055d5,_0xf83704,_0x3f413b,_0x158c9c,_0x2713bf),g(this,_0x37a00c(0x485),_0x37a00c(0x38d)),(this[_0x37a00c(0x557)]=_0x230bd6,this['_logService']=_0x224e82,this[_0x37a00c(0x5bd)]=_0x75474f);}['appendMutation'](_0x3713e5){const _0x54e2c7=_0x4299a1,_0x2887f1=this['_injector'][_0x54e2c7(0x32a)](pe,this[_0x54e2c7(0x3cd)],this['type'],[_0x3713e5],this[_0x54e2c7(0x4ae)]);return _0x2887f1['_schedule'](),_0x2887f1[_0x54e2c7(0x3fa)](),_0x2887f1;}[_0x4299a1(0x4a3)](_0x441080){const _0x1ec4d9=_0x4299a1;if(this['_checkMissing'](_0x441080))return this[_0x1ec4d9(0x557)][_0x1ec4d9(0x32a)](he,this['unitID'],this[_0x1ec4d9(0x41e)],null,[],null,[_0x441080],this['_handler']);try{const _0x19a8a2=this[_0x1ec4d9(0x5bd)][_0x1ec4d9(0x364)](_0x441080,[uo]);if(_0x1be378(_0x19a8a2)){const {c1Prime:_0x436cf9}=_0x19a8a2;return this['_executeRemoteChangeset'](_0x436cf9),this;}throw _0x19a8a2['error'];}catch(_0x5efcd6){return this['_logService'][_0x1ec4d9(0x1c9)](_0x5efcd6),this[_0x1ec4d9(0x4f5)](!0x1);}}[_0x4299a1(0x4f5)](_0x34a43b){const _0x385142=_0x4299a1;return this[_0x385142(0x557)][_0x385142(0x32a)](Re,this[_0x385142(0x3cd)],this[_0x385142(0x41e)],null,[],this[_0x385142(0x4ae)],_0x34a43b);}['onRemoteAck'](){const _0x18f2c1=_0x4299a1;throw new Error(_0x18f2c1(0x321));}[_0x4299a1(0x352)](){const _0x56430a=_0x4299a1;throw new Error(_0x56430a(0x2b5));}[_0x4299a1(0x2b1)](){return this;}[_0x4299a1(0x551)](){const _0x19feba=_0x4299a1;return this[_0x19feba(0x557)]['createInstance'](ye,this[_0x19feba(0x3cd)],this[_0x19feba(0x41e)],null,[],this[_0x19feba(0x4ae)]);}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x371)](){const _0x297e30=_0x4299a1;throw new Error(_0x297e30(0x506));}[_0x4299a1(0x412)](){const _0x3ed356=_0x4299a1,_0x3b947e=this[_0x3ed356(0x436)]['getCurrentRevOfUnit'](this[_0x3ed356(0x3cd)]);return this[_0x3ed356(0x4ae)][_0x3ed356(0x38b)]({'from':_0x3b947e,'to':0x0}),this[_0x3ed356(0x557)][_0x3ed356(0x32a)](he,this[_0x3ed356(0x3cd)],this['type'],null,[],null,[],this[_0x3ed356(0x4ae)]);}};Fe=Le([A(0x3,_0x2f5cfe(_0x12797c)),A(0x4,_0x2f5cfe(q)),A(0x5,_0x2f5cfe(_0x22006e)),A(0x6,_0x1ea290),A(0x7,_0x2d1134),A(0x8,_0x105261),A(0x9,_0x131cfd)],Fe);let pe=class extends $e{constructor(_0x22a693,_0x47f208,_0x450cb7,_0xb08cdc,_0x3815f9,_0x2ecf69,_0x3d31cb,_0x509250,_0x2a0e4b,_0x2b5d35,_0x1c71e5,_0x4092fa,_0x12bc59,_0x2a1295){const _0x3b2875=_0x4299a1;super(_0x22a693,_0x47f208,null,_0x450cb7,_0xb08cdc,_0x2b5d35,_0x2a1295,_0x2ecf69,_0x3d31cb),g(this,_0x3b2875(0x485),_0x3b2875(0x409)),g(this,_0x3b2875(0x28c),null),g(this,_0x3b2875(0x57e),null),(this['_injector']=_0x3815f9,this[_0x3b2875(0x21a)]=_0x509250,this[_0x3b2875(0x327)]=_0x2a0e4b,this[_0x3b2875(0x4cf)]=_0x1c71e5,this['_transformService']=_0x4092fa,this[_0x3b2875(0x35b)]=_0x12bc59);}[_0x4299a1(0x5ba)](_0x42bff3){const _0x559e24=_0x4299a1;return this['_pendingMutations'][_0x559e24(0x499)](_0x42bff3),this[_0x559e24(0x3fa)](),this;}[_0x4299a1(0x4a3)](_0x57d297){const _0x4171cd=_0x4299a1;if(this[_0x4171cd(0x423)](_0x57d297))return this[_0x4171cd(0x38e)](),this[_0x4171cd(0x557)][_0x4171cd(0x32a)](he,this[_0x4171cd(0x3cd)],this[_0x4171cd(0x41e)],null,this[_0x4171cd(0x44a)],null,[_0x57d297],this[_0x4171cd(0x4ae)]);try{const _0x218e06=this[_0x4171cd(0x5bd)][_0x4171cd(0x364)](_0x57d297,this[_0x4171cd(0x44a)]);if(_0x1be378(_0x218e06)){const {c1Prime:_0x1d086b,m2Prime:_0x5d0308}=_0x218e06;this[_0x4171cd(0x47c)](_0x1d086b);const _0x525cc6=this[_0x4171cd(0x557)][_0x4171cd(0x32a)](pe,this['unitID'],this[_0x4171cd(0x41e)],_0x5d0308,this['_handler']);return this['_clearScheduledTask'](),_0x525cc6[_0x4171cd(0x5cd)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x4171cd(0x565)]()-this['_scheduleTimestamp']):this[_0x4171cd(0x1f8)]()),_0x525cc6;}throw _0x218e06['error'];}catch(_0xa7878f){return this[_0x4171cd(0x327)][_0x4171cd(0x1c9)](_0xa7878f),this[_0x4171cd(0x4f5)](!0x1);}}[_0x4299a1(0x4de)](){const _0x46e9a9=_0x4299a1;throw new Error(_0x46e9a9(0x414));}['onRemoteRej'](){const _0x47ecfd=_0x4299a1;throw new Error(_0x47ecfd(0x51d));}[_0x4299a1(0x2b1)](){return this;}[_0x4299a1(0x551)](){const _0x526237=_0x4299a1;return this['_clearScheduledTask'](),this['_injector'][_0x526237(0x32a)](ye,this[_0x526237(0x3cd)],this[_0x526237(0x41e)],null,this['_pendingMutations'],this[_0x526237(0x4ae)]);}['toggleOnline'](){return this;}[_0x4299a1(0x5cd)](_0xc9bbe2){const _0x26c14f=_0x4299a1,_0x5c0497=_0xc9bbe2!=null?_0xc9bbe2:this['_getSendChangesetTimeout']();this[_0x26c14f(0x28c)]=new Date()[_0x26c14f(0x565)](),this[_0x26c14f(0x57e)]=window[_0x26c14f(0x560)](()=>{const _0x425842=_0x26c14f;this[_0x425842(0x38e)]();let _0x34830c=null;switch(this['type']){case ce[_0x425842(0x247)]:{_0x34830c=Vs(this['_pendingMutations'],this[_0x425842(0x3cd)],this['_univerInstanceService'],this[_0x425842(0x436)],this[_0x425842(0x21a)]);break;}case ce['UNIVER_DOC']:{this[_0x425842(0x44a)]['every'](_0x4e1106=>_0x4e1106['id']===_0x30fdba['id'])?_0x34830c=_o(this[_0x425842(0x44a)],this['unitID'],this[_0x425842(0x35b)],this[_0x425842(0x436)],this[_0x425842(0x21a)]):_0x34830c=Vs(this[_0x425842(0x44a)],this[_0x425842(0x3cd)],this[_0x425842(0x35b)],this['_revisionService'],this[_0x425842(0x21a)]);break;}default:throw new Error(_0x425842(0x26f)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x5d0ace,pendingMutations:_0x49584c}=_0x34830c;this[_0x425842(0x4ae)][_0x425842(0x45d)](_0x5d0ace);const _0x441f26=_0x49584c[_0x425842(0x256)]?this[_0x425842(0x557)][_0x425842(0x32a)](ge,this[_0x425842(0x3cd)],this[_0x425842(0x41e)],_0x5d0ace,_0x49584c,this['_handler'],void 0x0):this[_0x425842(0x557)][_0x425842(0x32a)](Te,this[_0x425842(0x3cd)],this['type'],_0x5d0ace,this[_0x425842(0x4ae)]);_0x441f26[_0x425842(0x3fa)](),this['_handler'][_0x425842(0x5bf)](this,_0x441f26);},_0x5c0497);}[_0x4299a1(0x1f8)](){const _0x2d254c=_0x4299a1;var _0x58a9a6;const _0x1ee7b1=this[_0x2d254c(0x4cf)][_0x2d254c(0x2b6)](ie);return(_0x58a9a6=_0x1ee7b1==null?void 0x0:_0x1ee7b1['sendChangesetTimeout'])!=null?_0x58a9a6:cr;}[_0x4299a1(0x371)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4299a1(0x38e)](){const _0x56a320=_0x4299a1;this[_0x56a320(0x57e)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x4299a1(0x4f5)](_0x1681f4){const _0x2e81df=_0x4299a1;return this[_0x2e81df(0x38e)](),this['_injector'][_0x2e81df(0x32a)](Re,this['unitID'],this[_0x2e81df(0x41e)],null,this[_0x2e81df(0x44a)],this[_0x2e81df(0x4ae)],_0x1681f4);}};pe=Le([A(0x4,_0x2f5cfe(_0x22006e)),A(0x5,_0x2f5cfe(_0x12797c)),A(0x6,_0x2f5cfe(q)),A(0x7,_0x2f5cfe(Ne)),A(0x8,_0x105261),A(0x9,_0x2d1134),A(0xa,_0x3fd15e),A(0xb,_0x131cfd),A(0xc,_0x19bced),A(0xd,_0x1ea290)],pe);let Te=class extends $e{constructor(_0x3c1e13,_0x18f167,_0xb3afdb,_0x276840,_0x460af2,_0x2bbbcc,_0x5a2683,_0x196ee4,_0x2fd684,_0x44903e,_0x2e0a35){const _0x56b23d=_0x4299a1;super(_0x3c1e13,_0x18f167,_0xb3afdb,[],_0x276840,_0x196ee4,_0x2e0a35,_0x2bbbcc,_0x5a2683),g(this,'status',_0x56b23d(0x294)),g(this,_0x56b23d(0x271),0x0),g(this,_0x56b23d(0x41a)),g(this,_0x56b23d(0x583)),(this[_0x56b23d(0x557)]=_0x460af2,this['_logService']=_0x2fd684,this[_0x56b23d(0x5bd)]=_0x44903e);}['appendMutation'](_0x28f1fd){const _0xfff85f=_0x4299a1;this[_0xfff85f(0x38e)]();const _0x16e269=this[_0xfff85f(0x557)][_0xfff85f(0x32a)](ge,this[_0xfff85f(0x3cd)],this['type'],this[_0xfff85f(0x4a2)],[_0x28f1fd],this[_0xfff85f(0x4ae)],this[_0xfff85f(0x41a)]);return _0x16e269[_0xfff85f(0x3fa)](),_0x16e269;}['onRemoteChangeset'](_0x571a01){const _0x145045=_0x4299a1;if(this[_0x145045(0x423)](_0x571a01))return this[_0x145045(0x38e)](),this[_0x145045(0x557)][_0x145045(0x32a)](he,this['unitID'],this['type'],this[_0x145045(0x4a2)],[],null,[_0x571a01],this[_0x145045(0x4ae)]);try{const _0x255d6d=this[_0x145045(0x5bd)][_0x145045(0x2bd)]([_0x571a01],[this[_0x145045(0x4a2)]],!0x1);if(_0x1637ea(_0x255d6d)){const {c1Prime:_0x37aec8,c2Prime:_0x24d10c}=_0x255d6d;this[_0x145045(0x47c)](_0x37aec8[0x0]),_0x24d10c[0x0][_0x145045(0x4b2)]=this[_0x145045(0x3a9)](),this[_0x145045(0x38e)]();const _0x4536a0=this[_0x145045(0x557)][_0x145045(0x32a)](Te,this[_0x145045(0x3cd)],this['type'],_0x24d10c[0x0],this[_0x145045(0x4ae)]);return _0x4536a0['_updateLocalCache'](),_0x4536a0;}return this[_0x145045(0x4f5)](!0x1);}catch(_0x127793){return this[_0x145045(0x327)][_0x145045(0x1c9)](_0x127793),this[_0x145045(0x4f5)](!0x1);}}[_0x4299a1(0x4de)](_0x282c2d){const _0x1af938=_0x4299a1;this[_0x1af938(0x38e)]();const _0x3951e4=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1af938(0x3cd)]);if(_0x282c2d[_0x1af938(0x4e5)]<_0x3951e4-0x1)return this;if(this[_0x1af938(0x423)](_0x282c2d))return this[_0x1af938(0x557)]['createInstance'](he,this[_0x1af938(0x3cd)],this[_0x1af938(0x41e)],null,[],this[_0x1af938(0x4a2)],[],this[_0x1af938(0x4ae)]);this[_0x1af938(0x3d1)]();const _0x3ea023=this[_0x1af938(0x557)][_0x1af938(0x32a)](Fe,this[_0x1af938(0x3cd)],this['type'],this[_0x1af938(0x4ae)]);return _0x3ea023[_0x1af938(0x3fa)](),_0x3ea023;}[_0x4299a1(0x352)](_0x5eb309){const _0x23f337=_0x4299a1;return this[_0x23f337(0x4f5)](!!(_0x5eb309!=null&&_0x5eb309[_0x23f337(0x346)]));}[_0x4299a1(0x2b1)](_0x31ee21){const _0xab797f=_0x4299a1;return this[_0xab797f(0x271)]>Ni?this[_0xab797f(0x551)]():(this[_0xab797f(0x41a)]=Ui(this[_0xab797f(0x271)],{'timeout':this[_0xab797f(0x271)],'reqId':_0x31ee21['reqId']}),this[_0xab797f(0x583)]=this[_0xab797f(0x41a)]['subscribe'](({reqId:_0x363e30,timeout:_0x3feb2d})=>{const _0x536bcb=_0xab797f;this[_0x536bcb(0x575)](_0x363e30,_0x3feb2d);}),this);}[_0x4299a1(0x551)](){const _0x423fc4=_0x4299a1;return this['_clearScheduledTask'](),this[_0x423fc4(0x557)][_0x423fc4(0x32a)](ye,this[_0x423fc4(0x3cd)],this[_0x423fc4(0x41e)],this[_0x423fc4(0x4a2)],[],this[_0x423fc4(0x4ae)]);}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x371)](){const _0x30060b=_0x4299a1;this[_0x30060b(0x4ae)][_0x30060b(0x45d)](this[_0x30060b(0x4a2)]);}[_0x4299a1(0x4f5)](_0x593fff){const _0x5bf99a=_0x4299a1;return this[_0x5bf99a(0x38e)](),this[_0x5bf99a(0x557)][_0x5bf99a(0x32a)](Re,this[_0x5bf99a(0x3cd)],this[_0x5bf99a(0x41e)],this[_0x5bf99a(0x4a2)],[],this[_0x5bf99a(0x4ae)],_0x593fff);}[_0x4299a1(0x575)](_0x104250,_0x2e78b7){const _0x43bfea=_0x4299a1;var _0x4dce5d;_0x104250===((_0x4dce5d=this[_0x43bfea(0x4a2)])==null?void 0x0:_0x4dce5d[_0x43bfea(0x4ef)])&&(this['resend'](),this[_0x43bfea(0x271)]=_0x2e78b7===0x0?0x3e8:_0x2e78b7*0x2);}[_0x4299a1(0x38e)](){var _0x1a56fa;(_0x1a56fa=this['_sender'])==null||_0x1a56fa['unsubscribe'](),this['_resendTimeout']=0x0;}};Te=Le([A(0x4,_0x2f5cfe(_0x22006e)),A(0x5,_0x2f5cfe(_0x12797c)),A(0x6,_0x2f5cfe(q)),A(0x7,_0x2d1134),A(0x8,_0x105261),A(0x9,_0x131cfd),A(0xa,_0x1ea290)],Te);let ge=class extends $e{constructor(_0x3c8cd8,_0x350797,_0x151b15,_0x38226e,_0x35d49e,_0x204c4a,_0x431b76,_0x14d132,_0x58d263,_0x2b87a3,_0x852fe3,_0x55307c,_0x581664){const _0x235192=_0x4299a1;super(_0x3c8cd8,_0x350797,_0x151b15,_0x38226e,_0x35d49e,_0x2b87a3,_0x581664,_0x14d132,_0x58d263),g(this,_0x235192(0x485),_0x235192(0x474)),g(this,'_resendTimeout',0x0),g(this,_0x235192(0x41a)),g(this,_0x235192(0x583)),(this[_0x235192(0x557)]=_0x431b76,this[_0x235192(0x327)]=_0x852fe3,this[_0x235192(0x5bd)]=_0x55307c,_0x204c4a&&(this['_resendTimer']=_0x204c4a,this[_0x235192(0x583)]=this[_0x235192(0x41a)][_0x235192(0x487)](({reqId:_0x31fcf5,timeout:_0x4cf548})=>{this['_resendWithTimeout'](_0x31fcf5,_0x4cf548);})));}['appendMutation'](_0x202949){const _0x2dcc60=_0x4299a1;return this[_0x2dcc60(0x44a)][_0x2dcc60(0x499)](_0x202949),this;}['onRemoteChangeset'](_0x250521){const _0x2600f2=_0x4299a1;if(this['_checkMissing'](_0x250521))return this[_0x2600f2(0x38e)](),this[_0x2600f2(0x557)][_0x2600f2(0x32a)](he,this['unitID'],this[_0x2600f2(0x41e)],this[_0x2600f2(0x4a2)],this[_0x2600f2(0x44a)],null,[_0x250521],this[_0x2600f2(0x4ae)]);try{const _0x2883b0=this['_transformService']['transformChangesets']([_0x250521],[this['_awaitingChangeset']],!0x1);if(_0x1637ea(_0x2883b0)){const {c1Prime:_0x41c82c,c2Prime:_0x407fb6}=_0x2883b0,_0x42840e=this[_0x2600f2(0x5bd)][_0x2600f2(0x364)](_0x41c82c[0x0],this[_0x2600f2(0x44a)]);if(_0x1be378(_0x42840e)){const {c1Prime:_0x1d1b38,m2Prime:_0x268769}=_0x42840e;return this['_executeRemoteChangeset'](_0x1d1b38),_0x407fb6[0x0][_0x2600f2(0x4b2)]=this[_0x2600f2(0x3a9)](),this[_0x2600f2(0x38e)](),this['_injector'][_0x2600f2(0x32a)](ge,this[_0x2600f2(0x3cd)],this[_0x2600f2(0x41e)],_0x407fb6[0x0],_0x268769,this[_0x2600f2(0x4ae)],void 0x0);}throw _0x42840e[_0x2600f2(0x1c9)];}throw _0x2883b0['error'];}catch(_0xe8b3f3){return this['_logService'][_0x2600f2(0x1c9)](_0xe8b3f3),this[_0x2600f2(0x4f5)](!0x1);}}[_0x4299a1(0x4de)](_0x5ac986){const _0x38ee2c=_0x4299a1;if(this[_0x38ee2c(0x38e)](),this[_0x38ee2c(0x423)](_0x5ac986))return this[_0x38ee2c(0x557)][_0x38ee2c(0x32a)](he,this[_0x38ee2c(0x3cd)],this[_0x38ee2c(0x41e)],null,this[_0x38ee2c(0x44a)],this[_0x38ee2c(0x4a2)],[],this[_0x38ee2c(0x4ae)]);this[_0x38ee2c(0x3d1)]();const _0x2d9cdf=this['_injector'][_0x38ee2c(0x32a)](pe,this[_0x38ee2c(0x3cd)],this[_0x38ee2c(0x41e)],this[_0x38ee2c(0x44a)],this['_handler']);return _0x2d9cdf[_0x38ee2c(0x5cd)](),_0x2d9cdf['_updateLocalCache'](),_0x2d9cdf;}[_0x4299a1(0x352)](_0x3e4d7e){const _0x343f9c=_0x4299a1;return this['_onConflict'](!!(_0x3e4d7e!=null&&_0x3e4d7e[_0x343f9c(0x346)]));}[_0x4299a1(0x2b1)](_0xc0d1c5){const _0x3d0bc1=_0x4299a1;return this['_resendTimeout']>Ni?this[_0x3d0bc1(0x551)]():(this[_0x3d0bc1(0x41a)]=Ui(this[_0x3d0bc1(0x271)],{'timeout':this['_resendTimeout'],'reqId':_0xc0d1c5[_0x3d0bc1(0x4ef)]}),this[_0x3d0bc1(0x583)]=this[_0x3d0bc1(0x41a)][_0x3d0bc1(0x487)](({reqId:_0x36c78e,timeout:_0x35e485})=>{const _0x5af034=_0x3d0bc1;this[_0x5af034(0x575)](_0x36c78e,_0x35e485);}),this);}['toggleOffline'](){const _0x350f7e=_0x4299a1;return this['_clearScheduledTask'](),this[_0x350f7e(0x557)][_0x350f7e(0x32a)](ye,this[_0x350f7e(0x3cd)],this['type'],this[_0x350f7e(0x4a2)],this[_0x350f7e(0x44a)],this[_0x350f7e(0x4ae)]);}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x371)](){const _0x5157bb=_0x4299a1;this['_handler']['onSendChangeset'](this[_0x5157bb(0x4a2)]);}['_onConflict'](_0x25283c){const _0x5a9060=_0x4299a1;return this[_0x5a9060(0x38e)](),this[_0x5a9060(0x557)]['createInstance'](Re,this[_0x5a9060(0x3cd)],this[_0x5a9060(0x41e)],null,this[_0x5a9060(0x44a)],this[_0x5a9060(0x4ae)],_0x25283c);}['_resendWithTimeout'](_0x23020a,_0x4d2fec){const _0x8b8f81=_0x4299a1;var _0x582436;_0x23020a===((_0x582436=this['_awaitingChangeset'])==null?void 0x0:_0x582436['reqId'])&&(this[_0x8b8f81(0x371)](),this['_resendTimeout']=_0x4d2fec===0x0?0x3e8:_0x4d2fec*0x2);}['_clearScheduledTask'](){const _0x3285e7=_0x4299a1;var _0x104e3f;(_0x104e3f=this[_0x3285e7(0x583)])==null||_0x104e3f['unsubscribe'](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x2f5cfe(_0x22006e)),A(0x7,_0x2f5cfe(_0x12797c)),A(0x8,_0x2f5cfe(q)),A(0x9,_0x2d1134),A(0xa,_0x105261),A(0xb,_0x131cfd),A(0xc,_0x1ea290)],ge);let Re=class extends $e{constructor(_0x5dd990,_0x133d7b,_0x1d500d,_0xbbe778,_0x268db2,_0x366b2a=!0x1,_0x3bc6ba,_0x41f380,_0x3d8564,_0x1619ae,_0x40bc27,_0x41e726,_0x581aea){const _0x33d893=_0x4299a1;super(_0x5dd990,_0x133d7b,_0x1d500d,_0xbbe778,_0x268db2,_0x41f380,_0x3d8564,_0x40bc27,_0x1619ae),g(this,_0x33d893(0x485),'conflict'),(this[_0x33d893(0x209)]=_0x366b2a,this['_permissionService']=_0x3bc6ba,this['_localeService']=_0x41e726,this[_0x33d893(0x2e4)]=_0x581aea,this[_0x33d893(0x37e)](),this[_0x33d893(0x1da)](),this['_disableEditing']());}[_0x4299a1(0x5ba)](){return this;}[_0x4299a1(0x4a3)](){return this;}[_0x4299a1(0x4de)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x4299a1(0x551)](){return this;}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x371)](){const _0x30af1b=_0x4299a1;throw new Error(_0x30af1b(0x284));}[_0x4299a1(0x1da)](){const _0x2aa83a=_0x4299a1;this[_0x2aa83a(0x3ac)]['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x4299a1(0x37e)](){const _0x4f66b1=_0x4299a1;this[_0x4f66b1(0x209)]?this[_0x4f66b1(0x2e4)][_0x4f66b1(0x3eb)]({'title':this[_0x4f66b1(0x1d7)]['t'](_0x4f66b1(0x2c0)),'content':this['_localeService']['t']('permission.content'),'type':_0x4f66b1(0x1c9),'duration':0x0}):this[_0x4f66b1(0x2e4)]['show']({'title':this[_0x4f66b1(0x1d7)]['t'](_0x4f66b1(0x3c0)),'content':this[_0x4f66b1(0x1d7)]['t'](_0x4f66b1(0x2c9)),'type':'error','duration':0x0});}[_0x4299a1(0x432)](){const _0x253ce9=_0x4299a1;this[_0x253ce9(0x36d)][_0x253ce9(0x562)](new _0x303e0b(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x2f5cfe(_0x24d923)),A(0x7,_0x2d1134),A(0x8,_0x1ea290),A(0x9,_0x2f5cfe(q)),A(0xa,_0x2f5cfe(_0x12797c)),A(0xb,_0x2f5cfe(_0x44ee4c)),A(0xc,_0x17e8a2)],Re);let ye=class extends $e{constructor(_0x22a3d8,_0x1aaad2,_0x349a4d,_0x7e8809,_0x57b1c2,_0x4630ef,_0x2fb51c,_0x241fc4,_0x2b811b,_0x513865){super(_0x22a3d8,_0x1aaad2,_0x349a4d,_0x7e8809,_0x57b1c2,_0x2b811b,_0x513865,_0x2fb51c,_0x241fc4),g(this,'status','offline'),this['_injector']=_0x4630ef;}[_0x4299a1(0x5ba)](_0x12a094){const _0x4cd366=_0x4299a1;return this[_0x4cd366(0x44a)]['push'](_0x12a094),this['_updateLocalCache'](),this;}[_0x4299a1(0x4a3)](_0x4bad17){const _0x41d9b9=_0x4299a1;throw new Error(_0x41d9b9(0x498));}[_0x4299a1(0x4de)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4299a1(0x352)](){const _0x2f2ab5=_0x4299a1;throw new Error(_0x2f2ab5(0x3b5));}[_0x4299a1(0x2b1)](){return this;}['toggleOffline'](){return this;}[_0x4299a1(0x383)](){const _0x5eefe1=_0x4299a1,{_injector:_0x4da17c,_pendingMutations:_0x47320d,_awaitingChangeset:_0x56012d,unitID:_0x176fbe,_handler:_0x5cba2c,type:_0x305190}=this,_0xdb0e24=Ai(_0x4da17c,_0x176fbe,_0x305190,_0x56012d,_0x47320d,_0x5cba2c);return _0xdb0e24 instanceof pe?_0xdb0e24[_0x5eefe1(0x5cd)]():(_0xdb0e24 instanceof ge||_0xdb0e24 instanceof Te)&&_0xdb0e24[_0x5eefe1(0x371)](),_0xdb0e24;}[_0x4299a1(0x371)](){const _0x51852f=_0x4299a1;throw new Error(_0x51852f(0x2d7));}};ye=Le([A(0x5,_0x2f5cfe(_0x22006e)),A(0x6,_0x2f5cfe(_0x12797c)),A(0x7,_0x2f5cfe(q)),A(0x8,_0x2d1134),A(0x9,_0x1ea290)],ye);let he=class extends $e{constructor(_0x3a11ec,_0xc4c498,_0x1b12e3,_0x260806,_0x3ee936,_0x5d869e,_0x1512b2,_0x482e17,_0x4c85e5,_0x2d5f16,_0x46d22b,_0x3c1500,_0xd89c55,_0xab726d){const _0x3f58ef=_0x4299a1;super(_0x3a11ec,_0xc4c498,_0x1b12e3,_0x260806,_0x1512b2,_0x3c1500,_0xd89c55,_0x4c85e5,_0x2d5f16),g(this,_0x3f58ef(0x485),_0x3f58ef(0x2f6)),(this[_0x3f58ef(0x3fb)]=_0x3ee936,this[_0x3f58ef(0x26c)]=_0x5d869e,this[_0x3f58ef(0x557)]=_0x482e17,this[_0x3f58ef(0x327)]=_0x46d22b,this[_0x3f58ef(0x5bd)]=_0xab726d);}[_0x4299a1(0x230)](_0x287255){const _0x368648=_0x4299a1;try{const _0x1fe0a5=[..._0x287255,...this[_0x368648(0x26c)]],_0x2d68dc=[this['_awaitingChangeset']||this[_0x368648(0x3fb)]]['filter'](_0x13d5df=>!!_0x13d5df);let _0x3dd601,_0x293c09;if(_0x2d68dc[_0x368648(0x256)]){const _0x38bac0=this[_0x368648(0x5bd)][_0x368648(0x2bd)](_0x1fe0a5,_0x2d68dc,!0x1);if(!_0x1637ea(_0x38bac0))throw _0x38bac0[_0x368648(0x1c9)];_0x3dd601=_0x38bac0['c1Prime'],_0x293c09=_0x38bac0[_0x368648(0x5a7)];}else _0x3dd601=_0x1fe0a5,_0x293c09=[];let _0x49df37=this[_0x368648(0x44a)];_0x3dd601[_0x368648(0x2c6)](_0x4f1bc6=>{const _0x2df9fe=_0x368648;let _0x2d3fac;if(_0x49df37[_0x2df9fe(0x256)]){const _0x3242a8=this[_0x2df9fe(0x5bd)]['transformMutationsWithChangeset'](_0x4f1bc6,_0x49df37);if(!_0x1be378(_0x3242a8))throw _0x3242a8[_0x2df9fe(0x1c9)];_0x2d3fac=_0x3242a8['c1Prime'],_0x49df37=_0x3242a8[_0x2df9fe(0x20e)];}else _0x2d3fac=_0x4f1bc6;this[_0x2df9fe(0x47c)](_0x2d3fac);}),this['_acknowledgedAwaitingChangeset']&&this[_0x368648(0x3d1)](),this[_0x368648(0x4a2)]&&_0x293c09[_0x368648(0x256)]&&(_0x293c09[0x0]['baseRev']=this[_0x368648(0x3a9)]());let _0x9899bd;if(this[_0x368648(0x4a2)]&&_0x49df37[_0x368648(0x256)]!==0x0)_0x9899bd=this[_0x368648(0x557)]['createInstance'](ge,this[_0x368648(0x3cd)],this[_0x368648(0x41e)],_0x293c09[0x0],_0x49df37,this[_0x368648(0x4ae)],void 0x0);else{if(this[_0x368648(0x4a2)]&&_0x49df37[_0x368648(0x256)]===0x0)_0x293c09[0x0][_0x368648(0x4b2)]=this['_getCurrentRevision'](),_0x9899bd=this[_0x368648(0x557)][_0x368648(0x32a)](Te,this[_0x368648(0x3cd)],this['type'],_0x293c09[0x0],this[_0x368648(0x4ae)]);else{if(_0x49df37[_0x368648(0x256)]!==0x0){const _0x3d028d=this[_0x368648(0x557)][_0x368648(0x32a)](pe,this['unitID'],this[_0x368648(0x41e)],_0x49df37,this[_0x368648(0x4ae)]);_0x3d028d[_0x368648(0x5cd)](),_0x9899bd=_0x3d028d;}else _0x9899bd=this[_0x368648(0x557)][_0x368648(0x32a)](Fe,this[_0x368648(0x3cd)],this['type'],this['_handler']);}}return _0x9899bd[_0x368648(0x3fa)](),_0x9899bd;}catch(_0x3c7d43){return this[_0x368648(0x327)]['error'](_0x368648(0x3cb),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3c7d43),this[_0x368648(0x557)]['createInstance'](Re,this[_0x368648(0x3cd)],this[_0x368648(0x41e)],this['_awaitingChangeset'],this[_0x368648(0x44a)],this[_0x368648(0x4ae)],!0x1);}}[_0x4299a1(0x371)](){const _0x4ea65d=_0x4299a1;throw new Error(_0x4ea65d(0x468));}[_0x4299a1(0x5ba)](_0x65d46b){const _0x52ad9a=_0x4299a1;return this[_0x52ad9a(0x44a)][_0x52ad9a(0x499)](_0x65d46b),this;}[_0x4299a1(0x4a3)](_0x184b81){const _0x1904ec=_0x4299a1;return this[_0x1904ec(0x26c)][_0x1904ec(0x499)](_0x184b81),this;}[_0x4299a1(0x4de)](_0x3458a0){const _0x304ec1=_0x4299a1;if(this[_0x304ec1(0x4a2)])return this['_acknowledgedAwaitingChangeset']=this[_0x304ec1(0x4a2)],this[_0x304ec1(0x4a2)]=null,this;throw new Error(_0x304ec1(0x451));}[_0x4299a1(0x352)](_0x162808){const _0x3d54ee=_0x4299a1;return this[_0x3d54ee(0x4f5)](!!(_0x162808!=null&&_0x162808[_0x3d54ee(0x346)]));}[_0x4299a1(0x2b1)](){return this;}[_0x4299a1(0x551)](){const _0x4bd586=_0x4299a1;return this['_injector']['createInstance'](ye,this['unitID'],this['type'],this[_0x4bd586(0x4a2)],this['_pendingMutations'],this[_0x4bd586(0x4ae)]);}[_0x4299a1(0x383)](){return this;}[_0x4299a1(0x4f5)](_0x22dbea){const _0x32dc01=_0x4299a1;return this[_0x32dc01(0x557)]['createInstance'](Re,this[_0x32dc01(0x3cd)],this[_0x32dc01(0x41e)],this[_0x32dc01(0x4a2)],this[_0x32dc01(0x44a)],this[_0x32dc01(0x4ae)],_0x22dbea);}};he=Le([A(0x7,_0x2f5cfe(_0x22006e)),A(0x8,_0x2f5cfe(_0x12797c)),A(0x9,_0x2f5cfe(q)),A(0xa,_0x105261),A(0xb,_0x2d1134),A(0xc,_0x1ea290),A(0xd,_0x131cfd)],he);function Ai(_0x1ea079,_0x3eeea4,_0x5af2a3,_0x3e6b24,_0x4d8f26,_0x495f4c){const _0x23a7e4=_0x4299a1;return _0x3e6b24&&_0x4d8f26[_0x23a7e4(0x256)]?_0x1ea079['createInstance'](ge,_0x3eeea4,_0x5af2a3,_0x3e6b24,_0x4d8f26,_0x495f4c,void 0x0):_0x3e6b24?_0x1ea079[_0x23a7e4(0x32a)](Te,_0x3eeea4,_0x5af2a3,_0x3e6b24,_0x495f4c):_0x4d8f26['length']?_0x1ea079[_0x23a7e4(0x32a)](pe,_0x3eeea4,_0x5af2a3,_0x4d8f26,_0x495f4c):_0x1ea079['createInstance'](Fe,_0x3eeea4,_0x5af2a3,_0x495f4c);}var mo=Object[_0x4299a1(0x5c7)],po=Object[_0x4299a1(0x563)],Es=(_0x24d76c,_0x4ca6ee,_0x4f04a6,_0x13032b)=>{const _0x5e9878=_0x4299a1;for(var _0x4d2a3b=_0x13032b>0x1?void 0x0:_0x13032b?po(_0x4ca6ee,_0x4f04a6):_0x4ca6ee,_0x30d600=_0x24d76c[_0x5e9878(0x256)]-0x1,_0x4fe2d5;_0x30d600>=0x0;_0x30d600--)(_0x4fe2d5=_0x24d76c[_0x30d600])&&(_0x4d2a3b=(_0x13032b?_0x4fe2d5(_0x4ca6ee,_0x4f04a6,_0x4d2a3b):_0x4fe2d5(_0x4d2a3b))||_0x4d2a3b);return _0x13032b&&_0x4d2a3b&&mo(_0x4ca6ee,_0x4f04a6,_0x4d2a3b),_0x4d2a3b;},H=(_0x1593f7,_0x18ce6c)=>(_0xc44078,_0x3160c3)=>_0x18ce6c(_0xc44078,_0x3160c3,_0x1593f7);let St=class extends _0x737a66{constructor(_0x4e4471,_0x56a357,_0x109a8e,_0x4b2248,_0xb0dabb,_0x5d763a,_0x59f2b6,_0x21c058,_0x187da4,_0x3bf462,_0x425a27,_0x36abaa,_0x144584){const _0x12e081=_0x4299a1;super(),g(this,_0x12e081(0x532),new _0x37eed6(null)),g(this,_0x12e081(0x274),this[_0x12e081(0x532)][_0x12e081(0x42a)]()),g(this,_0x12e081(0x3a0)),g(this,_0x12e081(0x337),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x12e081(0x533),this[_0x12e081(0x274)][_0x12e081(0x35f)](_0x47ca28(_0x5ca761=>_0x5ca761?_0x5ca761[_0x12e081(0x485)]:J['OFFLINE']),_0x3a5006(0x1))),g(this,_0x12e081(0x3cc),!0x1),g(this,_0x12e081(0x24b),[]),(this[_0x12e081(0x3cd)]=_0x4e4471,this[_0x12e081(0x27b)]=_0x56a357,this[_0x12e081(0x4c4)]=_0x109a8e,this[_0x12e081(0x557)]=_0x4b2248,this[_0x12e081(0x3ac)]=_0xb0dabb,this['_compressMutationService']=_0x5d763a,this['_localeService']=_0x59f2b6,this[_0x12e081(0x436)]=_0x21c058,this[_0x12e081(0x327)]=_0x187da4,this[_0x12e081(0x33f)]=_0x3bf462,this['_messageService']=_0x425a27,this[_0x12e081(0x36d)]=_0x36abaa,this[_0x12e081(0x430)]=_0x144584);}get[_0x4299a1(0x540)](){const _0x3986e3=_0x4299a1;return this[_0x3986e3(0x3a0)];}async[_0x4299a1(0x369)](){const _0x929835=_0x4299a1;if(this[_0x929835(0x540)])throw new Error(_0x929835(0x59e));await this[_0x929835(0x389)]();}[_0x4299a1(0x242)](){const _0x58d016=_0x4299a1;return this[_0x58d016(0x337)]=!0x0,_0xd4e920(()=>{const _0x50df68=_0x58d016;this['_collaborationPaused']=!0x1,this[_0x50df68(0x334)]();});}['_updateState'](_0x5a72f6){const _0x673cb0=_0x4299a1;this[_0x673cb0(0x3a0)]=_0x5a72f6,this[_0x673cb0(0x532)]['next'](_0x5a72f6);}async['_init'](){const _0x401bdf=_0x4299a1;var _0x56087c;this[_0x401bdf(0x473)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x56087c=this['_singleActiveUnitService'])==null||_0x56087c['editingUnit'](this[_0x401bdf(0x3cd)]),this['disposeWithMe'](this[_0x401bdf(0x430)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x40909c=>{const _0x5994e4=_0x401bdf;this[_0x5994e4(0x327)][_0x5994e4(0x4c1)](_0x5994e4(0x3fe),_0x5994e4(0x21c),_0x40909c),_0x40909c===Di[_0x5994e4(0x244)]?(this['_messageService'][_0x5994e4(0x3eb)]({'content':this[_0x5994e4(0x1d7)]['t'](_0x5994e4(0x5a6)),'type':_0x34a324['Warning']}),this[_0x5994e4(0x36d)][_0x5994e4(0x562)](new _0x303e0b(this['unitID'])['id'],!0x1),this[_0x5994e4(0x36d)]['setShowComponents'](!0x1)):(this[_0x5994e4(0x36d)][_0x5994e4(0x562)](new _0x303e0b(this[_0x5994e4(0x3cd)])['id'],!0x0),this[_0x5994e4(0x36d)][_0x5994e4(0x5b9)](!0x0));})));let _0x487a70=!0x1;return this[_0x401bdf(0x5b7)](this['session'][_0x401bdf(0x482)]['subscribe'](_0x5abf20=>{const _0x3d5c70=_0x401bdf;_0x5abf20===ve[_0x3d5c70(0x39f)]?this[_0x3d5c70(0x29b)](_0x487a70):_0x5abf20===ve['OFFLINE']&&(_0x487a70=!0x0,this[_0x3d5c70(0x526)]());})),this[_0x401bdf(0x5b7)](this[_0x401bdf(0x27b)][_0x401bdf(0x52e)][_0x401bdf(0x487)](_0x3d0b38=>{const _0x8d81b9=_0x401bdf;try{switch(_0x3d0b38['eventID']){case _0x12c324[_0x8d81b9(0x2a1)]:{this[_0x8d81b9(0x343)](_0x56f079(_0x3d0b38[_0x8d81b9(0x28b)]));break;}case _0x12c324['CHANGESET_ACK']:{this[_0x8d81b9(0x396)](_0x3d0b38[_0x8d81b9(0x28b)]);break;}case _0x12c324['CHANGESET_REJ']:{this[_0x8d81b9(0x2f5)]();break;}case _0x12c324[_0x8d81b9(0x3f1)]:{this[_0x8d81b9(0x312)](_0x3d0b38[_0x8d81b9(0x28b)]);break;}case _0x12c324[_0x8d81b9(0x2f0)]:{this[_0x8d81b9(0x2e0)](_0x3d0b38[_0x8d81b9(0x28b)][_0x8d81b9(0x39b)]['map'](_0x3452ca=>_0x56f079(_0x3452ca)));break;}case _0x12c324['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x82b76b){throw console['error']('Error\x20on\x20receiving\x20event',_0x82b76b),_0x82b76b;}})),this[_0x401bdf(0x3a0)];}[_0x4299a1(0x351)](){this['_transitionLocked']=!0x1;}[_0x4299a1(0x367)](){const _0x91031d=_0x4299a1;if(this['_transitionLocked'])throw new Error(_0x91031d(0x398));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x175409){const _0x29b047=_0x4299a1;this[_0x29b047(0x367)](),this[_0x29b047(0x473)](this['_state'][_0x29b047(0x5ba)](_0x175409)),this[_0x29b047(0x351)]();}[_0x4299a1(0x343)](_0x501b93){const _0x3240d8=_0x4299a1;if(!(_0x501b93[_0x3240d8(0x4e5)]<=this[_0x3240d8(0x436)][_0x3240d8(0x4b4)](this[_0x3240d8(0x3cd)]))){if(this[_0x3240d8(0x337)]){this['_remoteChangesetQueue']['push'](_0x501b93);return;}this[_0x3240d8(0x239)](_0x501b93);}}[_0x4299a1(0x334)](){const _0x1ed701=_0x4299a1;this[_0x1ed701(0x24b)][_0x1ed701(0x2c6)](_0x58d65d=>this[_0x1ed701(0x239)](_0x58d65d)),this[_0x1ed701(0x24b)]=[];}[_0x4299a1(0x239)](_0x19ad96){const _0xf4aa72=_0x4299a1,_0xf2afeb=this['_compressMutationService'][_0xf4aa72(0x411)][_0xf4aa72(0x50a)](this[_0xf4aa72(0x590)]['interceptor'][_0xf4aa72(0x2d5)]()[_0xf4aa72(0x507)])(_0x19ad96['mutations'],null)||_0x19ad96['mutations'],_0x1bdbfc={..._0x19ad96,'mutations':_0xf2afeb};this['_lockTransition'](),this[_0xf4aa72(0x473)](this[_0xf4aa72(0x3a0)][_0xf4aa72(0x4a3)](_0x1bdbfc)),this[_0xf4aa72(0x351)]();}[_0x4299a1(0x396)](_0x113605){const _0x494438=_0x4299a1;this['_lockTransition'](),this[_0x494438(0x473)](this[_0x494438(0x3a0)]['onRemoteAck'](_0x113605)),this['_unlockTransition']();}[_0x4299a1(0x2f5)](_0x8707f){const _0x5c1d02=_0x4299a1;this['_lockTransition'](),this['_updateState'](this[_0x5c1d02(0x3a0)][_0x5c1d02(0x352)](_0x8707f)),this[_0x5c1d02(0x351)]();}[_0x4299a1(0x312)](_0x58affa){const _0x49b13b=_0x4299a1;this[_0x49b13b(0x367)](),this[_0x49b13b(0x473)](this['_state'][_0x49b13b(0x2b1)](_0x58affa)),this[_0x49b13b(0x351)]();}[_0x4299a1(0x2e0)](_0x19889f){const _0x30722b=_0x4299a1;if(!(this[_0x30722b(0x3a0)]instanceof he))throw new TypeError(_0x30722b(0x258));const _0x470a32=_0x19889f[_0x30722b(0x272)](_0x29a7ea=>{const _0xe3bb92=_0x30722b,_0x5e27c5=this[_0xe3bb92(0x590)][_0xe3bb92(0x411)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xe3bb92(0x411)][_0xe3bb92(0x2d5)]()[_0xe3bb92(0x507)])(_0x29a7ea['mutations'],null)||_0x29a7ea[_0xe3bb92(0x3e7)];return{..._0x29a7ea,'mutations':_0x5e27c5};});this[_0x30722b(0x367)](),this[_0x30722b(0x473)](this['_state']['onMissedChangesetFetched'](_0x470a32)),this[_0x30722b(0x351)]();}[_0x4299a1(0x526)](){const _0x76b36f=_0x4299a1;this[_0x76b36f(0x367)](),this['_updateState'](this[_0x76b36f(0x3a0)]['toggleOffline']()),this['_unlockTransition']();}[_0x4299a1(0x29b)](_0x1789ce=!0x1){const _0x5425a1=_0x4299a1;this[_0x5425a1(0x367)](),this['_updateState'](this[_0x5425a1(0x3a0)][_0x5425a1(0x383)]()),this[_0x5425a1(0x351)]();const _0x39949c=this[_0x5425a1(0x3a0)];_0x1789ce&&_0x39949c instanceof Fe&&(this['_lockTransition'](),this[_0x5425a1(0x473)](_0x39949c[_0x5425a1(0x412)]()),this[_0x5425a1(0x351)]());}async[_0x4299a1(0x4f4)](){return new Promise(_0x3f26f5=>{const _0x17e285=_0x1dba;this[_0x17e285(0x27b)]['sessionStatus$'][_0x17e285(0x35f)](_0x39a45e(0x1))[_0x17e285(0x487)](async _0x56d92e=>{const _0x36099c=_0x17e285;_0x3f26f5(await this['_createInitialStateImpl'](_0x56d92e===ve[_0x36099c(0x39f)]));});});}[_0x4299a1(0x317)](){const _0x7989b9=this['unitID'];return{'onStateChange':(_0x28ffae,_0x3ab7a5)=>{const _0x226222=_0x1dba;if(_0x28ffae!==this[_0x226222(0x3a0)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x28ffae[_0x226222(0x485)]+_0x226222(0x3ef)+_0x3ab7a5[_0x226222(0x485)]+_0x226222(0x4e2)+this[_0x226222(0x3a0)]['status']);this[_0x226222(0x473)](_0x3ab7a5);},'onSendChangeset':_0x4cb8c4=>{const _0x3dd2b2=_0x1dba;_0x4cb8c4[_0x3dd2b2(0x4ff)]||(_0x4cb8c4[_0x3dd2b2(0x4ff)]=this[_0x3dd2b2(0x31d)],_0x4cb8c4[_0x3dd2b2(0x4ef)]=++this['_changesetReqId']);const _0x5261e7={'eventID':_0x12c324['SUBMIT_CHANGESET'],'data':{'unitID':_0x4cb8c4[_0x3dd2b2(0x3cd)],'unitType':this[_0x3dd2b2(0x4c4)],'changeset':_0x4cb8c4,'memberID':this['session'][_0x3dd2b2(0x452)]()}};this[_0x3dd2b2(0x27b)][_0x3dd2b2(0x333)](_0x5261e7,this[_0x3dd2b2(0x3cd)]);},'onMissingChangesets':({from:_0x4d38cf,to:_0x2c88ff})=>{const _0xdfa6e8=_0x1dba;this[_0xdfa6e8(0x327)]['debug'](_0xdfa6e8(0x3fe),_0xdfa6e8(0x2fb)+_0x4d38cf+_0xdfa6e8(0x44b)+_0x2c88ff);const _0x523e63={'eventID':_0x12c324[_0xdfa6e8(0x51c)],'data':{'unitID':_0x7989b9,'unitType':this[_0xdfa6e8(0x4c4)],'from':_0x4d38cf,'to':_0x2c88ff}};this[_0xdfa6e8(0x27b)]['send'](_0x523e63,this[_0xdfa6e8(0x3cd)]);}};}async[_0x4299a1(0x42d)](_0x31a529){const _0x418bdf=_0x4299a1;var _0xb3c0bf,_0x170135;const _0x50c980=await this[_0x418bdf(0x3ac)]['loadOfflineData'](this[_0x418bdf(0x3cd)]),_0xfd0b8b=(_0xb3c0bf=_0x50c980==null?void 0x0:_0x50c980[_0x418bdf(0x3e7)])!=null?_0xb3c0bf:[],_0x32d70e=(_0x170135=_0x50c980==null?void 0x0:_0x50c980['awaitingChangeset'])!=null?_0x170135:null,_0x19f6ed=!!(_0x32d70e!=null&&_0x32d70e[_0x418bdf(0x4ff)])&&!!(_0x32d70e!=null&&_0x32d70e[_0x418bdf(0x4ef)]);this['_changesetSessionId']=_0x19f6ed?_0x32d70e['sid']:Gr(),this[_0x418bdf(0x577)]=_0x19f6ed?_0x32d70e['reqId']:0x0;const _0x24c578=this[_0x418bdf(0x3cd)];try{this[_0x418bdf(0x20d)](_0x32d70e,_0xfd0b8b);}catch(_0x154bc0){this['_logService'][_0x418bdf(0x1c9)](_0x154bc0);}const _0x4c3d77=this[_0x418bdf(0x317)]();if(_0x31a529){const _0x578d27=Ai(this['_injector'],_0x24c578,this[_0x418bdf(0x4c4)],_0x32d70e,_0xfd0b8b,_0x4c3d77);return _0x578d27 instanceof pe?_0x578d27[_0x418bdf(0x5cd)]():(_0x578d27 instanceof ge||_0x578d27 instanceof Te)&&_0x578d27['resend'](),_0x578d27;}return this[_0x418bdf(0x557)]['createInstance'](ye,_0x24c578,this[_0x418bdf(0x4c4)],_0x32d70e,_0xfd0b8b,_0x4c3d77);}[_0x4299a1(0x20d)](_0x162e5a,_0x125026){const _0x225002=_0x4299a1;var _0x5de3d8,_0x2fa893;const _0x5d1a40=this['_compressMutationService']['interceptor'][_0x225002(0x50a)](this[_0x225002(0x590)][_0x225002(0x411)][_0x225002(0x2d5)]()['COMPRESS_MUTATION_APPLY']);(_0x5de3d8=_0x5d1a40((_0x162e5a==null?void 0x0:_0x162e5a['mutations'])||[],null))==null||_0x5de3d8[_0x225002(0x2c6)](_0x521f2f=>this[_0x225002(0x33f)]['executeCommand'](_0x521f2f['id'],_0x521f2f['params'])),(_0x2fa893=_0x5d1a40(_0x125026||[],null))==null||_0x2fa893[_0x225002(0x2c6)](_0x425bd8=>this[_0x225002(0x33f)][_0x225002(0x23c)](_0x425bd8['id'],_0x425bd8[_0x225002(0x217)]));}};St=Es([H(0x3,_0x2f5cfe(_0x22006e)),H(0x4,_0x2f5cfe(q)),H(0x5,_0x2f5cfe(_0x270b66)),H(0x6,_0x2f5cfe(_0x44ee4c)),H(0x7,_0x2f5cfe(_0x12797c)),H(0x8,_0x105261),H(0x9,_0x2d1134),H(0xa,_0x3aefef),H(0xb,_0x24d923),H(0xc,_0x2d2324(yt))],St);let ss=class extends St{constructor(_0x12d234,_0x34d394,_0x42844c,_0x32de43,_0x27437c,_0x5f574a,_0x30c69d,_0x3f09ad,_0x3084ca,_0x507126,_0x46acc6,_0x2afad6,_0x26f576,_0x1c1dd5,_0x7ac43b,_0x129122,_0x431643,_0x14373c){const _0x4aa578=_0x4299a1;super(_0x12d234,_0x42844c,_0x34d394,_0x32de43,_0x27437c,_0x5f574a,_0x30c69d,_0x3f09ad,_0x1c1dd5,_0x7ac43b,_0x129122,_0x431643,_0x14373c),this[_0x4aa578(0x3cd)]=_0x12d234,this[_0x4aa578(0x41e)]=_0x34d394,this[_0x4aa578(0x4ec)]=_0x3084ca,this[_0x4aa578(0x55a)]=_0x507126,this[_0x4aa578(0x513)]=_0x46acc6,this[_0x4aa578(0x266)]=_0x2afad6,this[_0x4aa578(0x57a)]=_0x26f576;}['_createHandler'](){const _0x23c2a5=_0x4299a1,_0x15e11d=super[_0x23c2a5(0x317)]();return _0x15e11d['onTransformIME']=_0x37c07b=>this[_0x23c2a5(0x55a)][_0x23c2a5(0x399)](_0x37c07b),_0x15e11d[_0x23c2a5(0x234)]=_0x1cb68c=>this[_0x23c2a5(0x513)][_0x23c2a5(0x331)](_0x1cb68c),_0x15e11d[_0x23c2a5(0x357)]=_0x1596cb=>this['_docTransformSelectionsService'][_0x23c2a5(0x576)](_0x1596cb),_0x15e11d[_0x23c2a5(0x536)]=_0x2c13e2=>this[_0x23c2a5(0x57a)][_0x23c2a5(0x281)](_0x2c13e2),_0x15e11d[_0x23c2a5(0x3f8)]=_0x2863a0=>this[_0x23c2a5(0x55a)][_0x23c2a5(0x37c)](_0x2863a0),_0x15e11d[_0x23c2a5(0x56c)]=_0x498c2a=>this[_0x23c2a5(0x513)][_0x23c2a5(0x37c)](_0x498c2a),_0x15e11d;}async[_0x4299a1(0x389)](){const _0x4823da=_0x4299a1,_0x20c73c=await super['_init']();return this['_docStateChangeManagerService'][_0x4823da(0x29c)][_0x4823da(0x35f)](_0x2fa59a(this[_0x4823da(0x47b)]))[_0x4823da(0x487)](_0x410435=>{const _0x141e63=_0x4823da;if(_0x410435==null)return;const {unitId:_0x28ddeb,redoState:_0x5292ce,commandId:_0x27d0ee}=_0x410435;if(_0x28ddeb!==this['unitID'])return;const _0x4cb180={'id':_0x27d0ee,'type':_0x76554b[_0x141e63(0x1cd)],'params':{'unitId':_0x28ddeb,'actions':_0x5292ce[_0x141e63(0x3b6)],'textRanges':null}};this[_0x141e63(0x567)](_0x4cb180);}),_0x20c73c;}};ss=Es([H(0x3,_0x2f5cfe(_0x22006e)),H(0x4,_0x2f5cfe(q)),H(0x5,_0x2f5cfe(_0x270b66)),H(0x6,_0x2f5cfe(_0x44ee4c)),H(0x7,_0x2f5cfe(_0x12797c)),H(0x8,_0x2f5cfe(_0x1e13e9)),H(0x9,_0x2f5cfe(vt)),H(0xa,_0x2f5cfe(pt)),H(0xb,_0x2f5cfe(gt)),H(0xc,_0x2f5cfe(Cs)),H(0xd,_0x105261),H(0xe,_0x2d1134),H(0xf,_0x3aefef),H(0x10,_0x24d923),H(0x11,_0x2d2324(yt))],ss);let is=class extends St{constructor(_0x59e70d,_0x34f6a5,_0x3200b3,_0x4a918d,_0x5b0173,_0x3996ed,_0x27d8e6,_0x5e630d,_0x1f9251,_0x3287bf,_0x25fe55,_0x1d73bd,_0x45518d,_0x3bc70f){const _0x291eff=_0x4299a1;super(_0x59e70d,_0x3200b3,_0x34f6a5,_0x4a918d,_0x5b0173,_0x3996ed,_0x27d8e6,_0x5e630d,_0x3287bf,_0x25fe55,_0x1d73bd,_0x45518d,_0x3bc70f),this[_0x291eff(0x3cd)]=_0x59e70d,this[_0x291eff(0x41e)]=_0x34f6a5,this[_0x291eff(0x39e)]=_0x1f9251;}[_0x4299a1(0x317)](){const _0x3b63c2=_0x4299a1,_0x218348=super['_createHandler']();return _0x218348[_0x3b63c2(0x357)]=_0x245236=>this[_0x3b63c2(0x39e)][_0x3b63c2(0x576)](_0x245236),_0x218348;}async[_0x4299a1(0x389)](){const _0x33945a=_0x4299a1,_0x26a7a5=await super['_init']();return this['disposeWithMe'](this[_0x33945a(0x33f)][_0x33945a(0x5b6)]((_0x2bee70,_0x3bf53e)=>{const _0x56c6b9=_0x33945a;if(_0x2bee70[_0x56c6b9(0x41e)]!==_0x76554b[_0x56c6b9(0x1cd)]||_0x3bf53e!=null&&_0x3bf53e[_0x56c6b9(0x1e8)]||_0x3bf53e!=null&&_0x3bf53e[_0x56c6b9(0x48f)])return;const _0x2f85b1=_0x2bee70[_0x56c6b9(0x217)];if((_0x2f85b1==null?void 0x0:_0x2f85b1[_0x56c6b9(0x2ea)])!==this[_0x56c6b9(0x3cd)])return;const _0x21e3c2=_0x2bee70,_0x569e69=this[_0x56c6b9(0x590)][_0x56c6b9(0x411)][_0x56c6b9(0x50a)](this[_0x56c6b9(0x590)][_0x56c6b9(0x411)][_0x56c6b9(0x2d5)]()[_0x56c6b9(0x299)])([_0x21e3c2],null)||[_0x21e3c2];this['_onLocalMutation'](_0x569e69[0x0]);})),_0x26a7a5;}};is=Es([H(0x3,_0x2f5cfe(_0x22006e)),H(0x4,_0x2f5cfe(q)),H(0x5,_0x2f5cfe(_0x270b66)),H(0x6,_0x2f5cfe(_0x44ee4c)),H(0x7,_0x2f5cfe(_0x12797c)),H(0x8,_0x2f5cfe(mt)),H(0x9,_0x105261),H(0xa,_0x2d1134),H(0xb,_0x3aefef),H(0xc,_0x24d923),H(0xd,_0x2d2324(yt))],is);var go=Object[_0x4299a1(0x5c7)],So=Object[_0x4299a1(0x563)],Io=(_0x9b5eb1,_0x1b361b,_0x2fd4a5,_0x5c41e7)=>{const _0x3dfdcd=_0x4299a1;for(var _0x2ae545=_0x5c41e7>0x1?void 0x0:_0x5c41e7?So(_0x1b361b,_0x2fd4a5):_0x1b361b,_0x54883c=_0x9b5eb1[_0x3dfdcd(0x256)]-0x1,_0x257e9a;_0x54883c>=0x0;_0x54883c--)(_0x257e9a=_0x9b5eb1[_0x54883c])&&(_0x2ae545=(_0x5c41e7?_0x257e9a(_0x1b361b,_0x2fd4a5,_0x2ae545):_0x257e9a(_0x2ae545))||_0x2ae545);return _0x5c41e7&&_0x2ae545&&go(_0x1b361b,_0x2fd4a5,_0x2ae545),_0x2ae545;},Lt=(_0x1db3c6,_0x34e582)=>(_0x1349c9,_0x1a36a7)=>_0x34e582(_0x1349c9,_0x1a36a7,_0x1db3c6);let it=class extends _0x737a66{constructor(_0x42dfdf,_0x27f7c2,_0x1659cc){const _0x3b2a51=_0x4299a1;super(),g(this,_0x3b2a51(0x22c),new Map()),g(this,_0x3b2a51(0x55b),new _0x19ddda()),(this[_0x3b2a51(0x557)]=_0x42dfdf,this[_0x3b2a51(0x4a7)]=_0x27f7c2,this[_0x3b2a51(0x35b)]=_0x1659cc,this[_0x3b2a51(0x389)]());}[_0x4299a1(0x229)](){const _0x24a4f6=_0x4299a1;super[_0x24a4f6(0x229)](),this[_0x24a4f6(0x22c)][_0x24a4f6(0x2c6)](_0x515c12=>_0x515c12[_0x24a4f6(0x229)]()),this[_0x24a4f6(0x22c)]['clear']();}[_0x4299a1(0x1dd)](_0x37adbb){const _0x2c5231=_0x4299a1;var _0x21b727;return(_0x21b727=this[_0x2c5231(0x22c)][_0x2c5231(0x401)](_0x37adbb))!=null?_0x21b727:null;}['getCollabEntity$'](_0x56aafb){const _0x39c712=_0x4299a1,_0x17d997=this['getCollabEntity'](_0x56aafb);return _0x17d997?_0x3de089(_0x17d997):this['_entityInit$'][_0x39c712(0x35f)](_0x53cf0f(_0x224ab6=>_0x224ab6[_0x39c712(0x3cd)]===_0x56aafb));}['_init'](){const _0x1c9d97=_0x4299a1;this['_univerInstanceService'][_0x1c9d97(0x446)](_0x120bce[_0x1c9d97(0x247)])[_0x1c9d97(0x35f)](_0x2fa59a(this[_0x1c9d97(0x47b)]),_0x59f70e(0x10))['subscribe'](async _0x333a4d=>{const _0x4c6fa0=_0x1c9d97,_0xa67a62=_0x333a4d[_0x4c6fa0(0x1e9)](),_0x2f646b=await this[_0x4c6fa0(0x354)](_0xa67a62,ce['UNIVER_SHEET']);this[_0x4c6fa0(0x22c)][_0x4c6fa0(0x3db)](_0xa67a62,_0x2f646b);}),this[_0x1c9d97(0x35b)]['getTypeOfUnitAdded$'](_0x120bce[_0x1c9d97(0x599)])[_0x1c9d97(0x35f)](_0x2fa59a(this[_0x1c9d97(0x47b)]),_0x59f70e(0x10))['pipe'](_0x53cf0f(_0x13b67a=>!_0x13b67a[_0x1c9d97(0x1e9)]()[_0x1c9d97(0x459)]('__')))['subscribe'](async _0x1413c7=>{const _0xc449c6=_0x1c9d97,_0x314486=_0x1413c7['getUnitId'](),_0x4ba280=await this['_startCollaboration'](_0x314486,ce['UNIVER_DOC']);this[_0xc449c6(0x22c)][_0xc449c6(0x3db)](_0x314486,_0x4ba280);}),_0x26c7b9(this[_0x1c9d97(0x35b)][_0x1c9d97(0x54f)](_0x120bce[_0x1c9d97(0x247)]),this[_0x1c9d97(0x35b)][_0x1c9d97(0x54f)](_0x120bce[_0x1c9d97(0x599)]))[_0x1c9d97(0x35f)](_0x2fa59a(this[_0x1c9d97(0x47b)]))[_0x1c9d97(0x487)](_0x44fb31=>{const _0x345ba3=_0x1c9d97,_0x37f0d0=_0x44fb31['getUnitId'](),_0x5e1296=this['_entities'][_0x345ba3(0x401)](_0x37f0d0);_0x5e1296&&(_0x5e1296['dispose'](),this[_0x345ba3(0x22c)][_0x345ba3(0x404)](_0x37f0d0));});}async[_0x4299a1(0x354)](_0x589cb4,_0x492058){const _0x9c7142=_0x4299a1,_0x282f5b=await this[_0x9c7142(0x4a7)][_0x9c7142(0x219)](_0x589cb4),_0x2cd49e=this[_0x9c7142(0x557)]['createInstance'](this[_0x9c7142(0x4a1)](_0x492058),_0x589cb4,_0x492058,_0x282f5b);return await _0x2cd49e[_0x9c7142(0x369)](),this[_0x9c7142(0x55b)][_0x9c7142(0x419)](_0x2cd49e),_0x2cd49e;}[_0x4299a1(0x4a1)](_0x36018f){const _0x3bbc96=_0x4299a1;switch(_0x36018f){case ce[_0x3bbc96(0x599)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x3bbc96(0x5c2)+_0x36018f);}}};it=Io([Lt(0x0,_0x2f5cfe(_0x22006e)),Lt(0x1,_0x2f5cfe(Ae)),Lt(0x2,_0x19bced)],it);const Gs=[_0x4299a1(0x31b),_0x4299a1(0x4ca),'verdancy600',_0x4299a1(0x3bb),'blue400',_0x4299a1(0x480)];class bs extends _0x3ee966{constructor(){const _0x393454=_0x4299a1;super(...arguments),g(this,_0x393454(0x4a5),new Map()),g(this,_0x393454(0x2af),0x0);}[_0x4299a1(0x31f)](_0x2d2534){const _0x5af0cb=_0x4299a1;if(this['_assignedColors'][_0x5af0cb(0x31a)](_0x2d2534))return this[_0x5af0cb(0x4a5)]['get'](_0x2d2534);const _0x46122d=Gs[this[_0x5af0cb(0x2af)]];return this[_0x5af0cb(0x2af)]=(this['_colorIndex']+0x1)%Gs[_0x5af0cb(0x256)],this['_assignedColors'][_0x5af0cb(0x3db)](_0x2d2534,_0x46122d),_0x46122d;}}var Co=Object['defineProperty'],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x49698f,_0x14188d,_0x3e622f,_0x229955)=>{const _0xd78a36=_0x4299a1;for(var _0x4dd6c0=_0x229955>0x1?void 0x0:_0x229955?Eo(_0x14188d,_0x3e622f):_0x14188d,_0x3bf50f=_0x49698f[_0xd78a36(0x256)]-0x1,_0x4d68d9;_0x3bf50f>=0x0;_0x3bf50f--)(_0x4d68d9=_0x49698f[_0x3bf50f])&&(_0x4dd6c0=(_0x229955?_0x4d68d9(_0x14188d,_0x3e622f,_0x4dd6c0):_0x4d68d9(_0x4dd6c0))||_0x4dd6c0);return _0x229955&&_0x4dd6c0&&Co(_0x14188d,_0x3e622f,_0x4dd6c0),_0x4dd6c0;},Oe=(_0x57e149,_0x40f5f6)=>(_0x32d600,_0x4d192f)=>_0x40f5f6(_0x32d600,_0x4d192f,_0x57e149);const To=0x12c,Ro=0x64;let ns=class extends _0x737a66{constructor(_0x32791e,_0x57ed84,_0x19256e,_0x4ca7ad,_0x2e0c26,_0x271464,_0x10cc9d,_0x37f4c2,_0x587185){const _0x308439=_0x4299a1;super(),g(this,_0x308439(0x528),!0x1),g(this,_0x308439(0x389),!0x1),g(this,_0x308439(0x1e6),new _0x37eed6(new Map())),g(this,_0x308439(0x1c3),this[_0x308439(0x1e6)]['asObservable']()),g(this,_0x308439(0x236),new _0x37eed6([])),g(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x57b99f(To))),g(this,_0x308439(0x4e3),_0x5b2ba1(_0x24dfac=>{const _0x3bbf70=_0x308439,_0xdbd56b={'eventID':_0x12c324['UPDATE_CURSOR'],'data':{'unitID':this[_0x3bbf70(0x3cd)],'memberID':this[_0x3bbf70(0x59b)][_0x3bbf70(0x452)](),'selection':Pi(_0x24dfac)}};this[_0x3bbf70(0x59b)][_0x3bbf70(0x333)](_0xdbd56b,this[_0x3bbf70(0x3cd)]);},Ro)),(this[_0x308439(0x3cd)]=_0x32791e,this[_0x308439(0x59b)]=_0x57ed84,this[_0x308439(0x557)]=_0x19256e,this[_0x308439(0x339)]=_0x4ca7ad,this['_memberService']=_0x2e0c26,this[_0x308439(0x3e0)]=_0x271464,this[_0x308439(0x5bd)]=_0x10cc9d,this[_0x308439(0x35b)]=_0x37f4c2,this[_0x308439(0x33f)]=_0x587185);}get[_0x4299a1(0x41c)](){const _0x27a563=_0x4299a1;return this[_0x27a563(0x1e6)]['getValue']();}get[_0x4299a1(0x2da)](){const _0x172dec=_0x4299a1;return this[_0x172dec(0x236)][_0x172dec(0x58b)]();}[_0x4299a1(0x229)](){const _0x31edbc=_0x4299a1;super[_0x31edbc(0x229)](),this[_0x31edbc(0x1e6)][_0x31edbc(0x419)](new Map()),this[_0x31edbc(0x1e6)][_0x31edbc(0x405)](),this['_roomMembers$'][_0x31edbc(0x419)]([]),this['_roomMembers$'][_0x31edbc(0x405)]();}[_0x4299a1(0x369)](){const _0x54daec=_0x4299a1;this['_init']||(this['_init']=!0x0,this[_0x54daec(0x59b)]['sessionStatus$'][_0x54daec(0x35f)](_0x2fa59a(this['dispose$']))[_0x54daec(0x487)](_0x350000=>{const _0x9bb61e=_0x54daec;_0x350000===ve[_0x9bb61e(0x39f)]?this[_0x9bb61e(0x29b)]():this[_0x9bb61e(0x526)]();}),this[_0x54daec(0x59b)][_0x54daec(0x52e)]['pipe'](_0x2fa59a(this[_0x54daec(0x47b)]))[_0x54daec(0x487)](_0x3a5c56=>{const _0xb3ff6e=_0x54daec,_0x47fda4=_0x3a5c56[_0xb3ff6e(0x341)];_0x47fda4===_0x12c324[_0xb3ff6e(0x395)]&&this[_0xb3ff6e(0x4da)](_0x3a5c56),_0x47fda4===_0x12c324[_0xb3ff6e(0x2b0)]&&this['_onCursorDelete'](_0x3a5c56);}),this['disposeWithMe'](this[_0x54daec(0x33f)][_0x54daec(0x5b6)](_0x119ce7=>{const _0x43927b=_0x54daec,_0x422699=_0x119ce7[_0x43927b(0x217)];_0x422699!=null&&this[_0x43927b(0x528)]&&_0x119ce7['id']===_0x319a57['id']&&_0x422699[_0x43927b(0x2ea)]===this['unitID']&&_0x422699['isEditing']===!0x1&&_0x422699[_0x43927b(0x5b1)]['length']>0x0&&this['_updateLocalCursor'](_0x422699['ranges']);})),this[_0x54daec(0x3e0)][_0x54daec(0x2f4)][_0x54daec(0x35f)](_0x2fa59a(this[_0x54daec(0x47b)]))[_0x54daec(0x487)](_0x5cb342=>{const _0xa52c07=_0x54daec;if((_0x5cb342==null?void 0x0:_0x5cb342['unitID'])!==this[_0xa52c07(0x3cd)])return;const _0x24af84={'eventID':_0x12c324['UPDATE_CURSOR'],'data':_0x5cb342};this[_0xa52c07(0x4da)](_0x24af84);}),this[_0x54daec(0x5b7)](this[_0x54daec(0x33f)][_0x54daec(0x5b6)](_0xa12414=>{const _0x4376e5=_0x54daec;if(_0xa12414[_0x4376e5(0x217)]==null)return;const _0x4899bd=_0xa12414[_0x4376e5(0x217)];if(_0xa12414['id']!==_0x30fdba['id']||_0x4899bd['unitId']!==this[_0x4376e5(0x3cd)])return;const _0x52f70a={'id':_0x4376e5(0x42e),'params':_0x4899bd},_0x8a69c7=this[_0x4376e5(0x41c)];for(const [_0x1ebaa5,_0x3e9441]of _0x8a69c7){const _0x3e666a={'id':_0x4376e5(0x42e),'params':{'unitId':this[_0x4376e5(0x3cd)],'actions':null,'textRanges':_0x3e9441[_0x4376e5(0x5b1)]}},_0x1fc085=this[_0x4376e5(0x5bd)][_0x4376e5(0x372)](_0x52f70a,_0x3e666a,!0x1);if(_0x2b0d31(_0x1fc085))throw _0x1fc085[_0x4376e5(0x1c9)];_0x8a69c7['set'](_0x1ebaa5,{..._0x3e9441,'ranges':_0x1fc085[_0x4376e5(0x20e)][_0x4376e5(0x217)][_0x4376e5(0x587)]});}queueMicrotask(()=>{const _0x392b7c=_0x4376e5;this[_0x392b7c(0x1e6)][_0x392b7c(0x419)](_0x8a69c7);});})));}['_onCursorUpdate'](_0x10d8b1){const _0x1c82e6=_0x4299a1;var _0x171266,_0x3f7b80;const {memberID:_0x578664,selection:_0x246d30}=_0x10d8b1[_0x1c82e6(0x28b)],_0x28306b=oo(_0x246d30),_0x2d4b6f=(_0x3f7b80=(_0x171266=this[_0x1c82e6(0x21a)][_0x1c82e6(0x222)](this[_0x1c82e6(0x3cd)],_0x578664))==null?void 0x0:_0x171266[_0x1c82e6(0x597)])!=null?_0x3f7b80:_0x1c82e6(0x342),_0x456fdf={'color':this[_0x1c82e6(0x339)]['assignAColorForMemberID'](_0x578664),'name':_0x2d4b6f,'ranges':_0x28306b},_0x25e690=this['cursorInfo'];_0x25e690[_0x1c82e6(0x3db)](_0x578664,_0x456fdf),this[_0x1c82e6(0x1e6)][_0x1c82e6(0x419)](_0x25e690);}['_onCursorDelete'](_0x30f25c){const _0x4ed084=_0x4299a1,{memberID:_0x3a28d0}=_0x30f25c[_0x4ed084(0x28b)],_0x4b28eb=this[_0x4ed084(0x41c)];_0x4b28eb[_0x4ed084(0x404)](_0x3a28d0),this[_0x4ed084(0x1e6)][_0x4ed084(0x419)](_0x4b28eb);}['_toggleOnline'](){const _0x58f621=_0x4299a1;var _0xe60fbb;if(this['_online']=!0x0,((_0xe60fbb=this[_0x58f621(0x35b)][_0x58f621(0x428)]())==null?void 0x0:_0xe60fbb[_0x58f621(0x1e9)]())!==this[_0x58f621(0x3cd)])return;const _0x3598e3=this[_0x58f621(0x557)][_0x58f621(0x401)](_0x3c0350)[_0x58f621(0x388)]();Array['isArray'](_0x3598e3)&&_0x3598e3[_0x58f621(0x256)]>0x0&&this[_0x58f621(0x4e3)](_0x3598e3);}[_0x4299a1(0x526)](){const _0x351348=_0x4299a1;this[_0x351348(0x528)]=!0x1;}};ns=bo([Oe(0x2,_0x2f5cfe(_0x22006e)),Oe(0x3,_0x2f5cfe(bs)),Oe(0x4,_0x2f5cfe(Ne)),Oe(0x5,_0x2f5cfe(Cs)),Oe(0x6,_0x131cfd),Oe(0x7,_0x19bced),Oe(0x8,_0x2d1134)],ns);var yo=Object['defineProperty'],Oo=Object['getOwnPropertyDescriptor'],wo=(_0x195d82,_0x5b2372,_0x3c615f,_0x369a5d)=>{const _0x430e25=_0x4299a1;for(var _0x2fe314=_0x369a5d>0x1?void 0x0:_0x369a5d?Oo(_0x5b2372,_0x3c615f):_0x5b2372,_0x3423a3=_0x195d82[_0x430e25(0x256)]-0x1,_0x23b79b;_0x3423a3>=0x0;_0x3423a3--)(_0x23b79b=_0x195d82[_0x3423a3])&&(_0x2fe314=(_0x369a5d?_0x23b79b(_0x5b2372,_0x3c615f,_0x2fe314):_0x23b79b(_0x2fe314))||_0x2fe314);return _0x369a5d&&_0x2fe314&&yo(_0x5b2372,_0x3c615f,_0x2fe314),_0x2fe314;},Be=(_0x27a772,_0x20d42b)=>(_0x589ed6,_0x440f87)=>_0x20d42b(_0x589ed6,_0x440f87,_0x27a772);const Do=0x12c,Po=0x64,Uo=()=>{let _0x3b572b=[],_0x20d26d=!0x1;return _0x1705a1=>{const _0xeb4b55=_0x1dba;_0x3b572b[_0xeb4b55(0x499)](_0x1705a1),_0x20d26d||(_0x20d26d=!0x0,setTimeout(()=>{const _0x3ad06c=_0xeb4b55;_0x3b572b[_0x3ad06c(0x2c6)](_0x2c3c6d=>_0x2c3c6d()),_0x3b572b=[],_0x20d26d=!0x1;}));};};let rs=class extends _0x737a66{constructor(_0x268d9a,_0x35bec3,_0x56a756,_0x786aac,_0x2a1fc6,_0x2c9c3c,_0x2362f0,_0x544c72){const _0x426dcd=_0x4299a1;super(),g(this,'_online',!0x1),g(this,_0x426dcd(0x389),!0x1),g(this,_0x426dcd(0x1e6),new _0x37eed6(new Map())),g(this,_0x426dcd(0x1c3),this[_0x426dcd(0x1e6)][_0x426dcd(0x42a)]()),g(this,_0x426dcd(0x236),new _0x37eed6([])),g(this,'roomMembers$',this[_0x426dcd(0x236)]['pipe'](_0x57b99f(Do))),g(this,_0x426dcd(0x4e3),_0x5b2ba1((_0x5e4ae7,_0x1d1ef3)=>{const _0x2313b3=_0x426dcd,_0x429693={'eventID':_0x12c324[_0x2313b3(0x395)],'data':{'unitID':this[_0x2313b3(0x3cd)],'memberID':this[_0x2313b3(0x59b)]['getMemberID'](),'selection':_0x5a18be(_0x5e4ae7,_0x1d1ef3[_0x2313b3(0x478)])}};this[_0x2313b3(0x59b)][_0x2313b3(0x333)](_0x429693,this[_0x2313b3(0x3cd)]);},Po)),(this[_0x426dcd(0x3cd)]=_0x268d9a,this['_session']=_0x35bec3,this[_0x426dcd(0x557)]=_0x56a756,this['_colorAssignService']=_0x786aac,this[_0x426dcd(0x21a)]=_0x2a1fc6,this[_0x426dcd(0x35b)]=_0x2c9c3c,this[_0x426dcd(0x33f)]=_0x2362f0,this[_0x426dcd(0x4c8)]=_0x544c72);}get[_0x4299a1(0x41c)](){const _0x133488=_0x4299a1;return this[_0x133488(0x1e6)][_0x133488(0x58b)]();}get['roomMembers'](){const _0x1b269c=_0x4299a1;return this[_0x1b269c(0x236)]['getValue']();}[_0x4299a1(0x229)](){const _0x1cfaf7=_0x4299a1;super['dispose'](),this[_0x1cfaf7(0x1e6)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x1cfaf7(0x236)]['next']([]),this[_0x1cfaf7(0x236)][_0x1cfaf7(0x405)]();}[_0x4299a1(0x369)](){const _0x3621b1=_0x4299a1;this[_0x3621b1(0x389)]||(this[_0x3621b1(0x389)]=!0x0,this['_session'][_0x3621b1(0x482)]['pipe'](_0x2fa59a(this[_0x3621b1(0x47b)]))[_0x3621b1(0x487)](_0xc81e43=>{const _0x4d2563=_0x3621b1;_0xc81e43===ve[_0x4d2563(0x39f)]?this[_0x4d2563(0x29b)]():this[_0x4d2563(0x526)]();}),this[_0x3621b1(0x59b)][_0x3621b1(0x52e)][_0x3621b1(0x35f)](_0x2fa59a(this['dispose$']))['subscribe'](_0x37426f=>{const _0x3b90f1=_0x3621b1,_0x3df574=_0x37426f[_0x3b90f1(0x341)];_0x3df574===_0x12c324[_0x3b90f1(0x395)]&&this[_0x3b90f1(0x4da)](_0x37426f),_0x3df574===_0x12c324[_0x3b90f1(0x2b0)]&&this[_0x3b90f1(0x550)](_0x37426f);}),this[_0x3621b1(0x2a4)](),this[_0x3621b1(0x5b7)](this[_0x3621b1(0x33f)]['onCommandExecuted'](_0x5afb5c=>{const _0x4af1de=_0x3621b1;if(this[_0x4af1de(0x528)]&&_0x5afb5c['id']===_0x1cb700['id']&&_0x5afb5c[_0x4af1de(0x217)][_0x4af1de(0x2ea)]===this[_0x4af1de(0x3cd)]){const _0x2f6a02=_0x5afb5c[_0x4af1de(0x217)];this[_0x4af1de(0x4e3)](_0x2f6a02[_0x4af1de(0x559)],_0x2f6a02['selections'][0x0]);}})));}[_0x4299a1(0x4da)](_0xc96c3b){const _0x3b03f3=_0x4299a1;var _0x54ca52,_0xb7b0b2;const {memberID:_0x148e79,selection:_0xe638fe}=_0xc96c3b[_0x3b03f3(0x28b)],{sheetName:_0x3bd02a,range:_0xf2f523}=_0x114116(_0xe638fe),_0x5859b4={'name':(_0xb7b0b2=(_0x54ca52=this[_0x3b03f3(0x21a)][_0x3b03f3(0x222)](this[_0x3b03f3(0x3cd)],_0x148e79))==null?void 0x0:_0x54ca52[_0x3b03f3(0x597)])!=null?_0xb7b0b2:_0x3b03f3(0x342),'range':this[_0x3b03f3(0x2ec)](_0x3bd02a,_0xf2f523),'sheetID':_0x3bd02a,'color':this[_0x3b03f3(0x339)][_0x3b03f3(0x31f)](_0x148e79),'selection':_0xe638fe},_0x42d634=this[_0x3b03f3(0x41c)];_0x42d634['set'](_0x148e79,_0x5859b4),this['_cursorInfo$'][_0x3b03f3(0x419)](_0x42d634);}['_onCursorDelete'](_0x3df797){const _0x2e70ea=_0x4299a1,{memberID:_0x526f5c}=_0x3df797[_0x2e70ea(0x28b)],_0x37a251=this[_0x2e70ea(0x41c)];_0x37a251['delete'](_0x526f5c),this[_0x2e70ea(0x1e6)]['next'](_0x37a251);}[_0x4299a1(0x2ec)](_0x1e47ba,_0x2e358c){const _0x3aa34e=_0x4299a1;var _0x421548,_0x50fc09;const _0x1f5b4a=(_0x50fc09=(_0x421548=this[_0x3aa34e(0x35b)][_0x3aa34e(0x35e)](this[_0x3aa34e(0x3cd)]))==null?void 0x0:_0x421548[_0x3aa34e(0x283)](_0x1e47ba))==null?void 0x0:_0x50fc09['getMergeData']();return(_0x1f5b4a==null?void 0x0:_0x1f5b4a['find'](_0xfc3e75=>_0x6605f4[_0x3aa34e(0x203)](_0xfc3e75,_0x2e358c)))||_0x2e358c;}[_0x4299a1(0x2a4)](){const _0x5a4c57=_0x4299a1,_0x16947a=new _0xc3ba12(),_0x1d4c86=Uo(),_0x3c6b8f=()=>{const _0x519857=_0x1dba;_0x16947a[_0x519857(0x229)]();const _0x49b02a=(_0x295a3c,_0x496fb9,_0x58b11f,_0x482520)=>{const _0x1e3de1=_0x519857;let _0x2f917c=[];switch(_0x295a3c['id']){case _0x50bebd[_0x1e3de1(0x31e)]:{_0x2f917c=_0x1ee4db(_0x295a3c,_0x482520);break;}case _0x50bebd['DeleteRangeMoveUpCommandId']:{_0x2f917c=_0x12594c(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x253)]:{_0x2f917c=_0x4be241(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x4fd)]:{_0x2f917c=_0x5aa1b6(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x4ce)]:{_0x2f917c=_0x3fa9b3(_0x295a3c,_0x482520);break;}case _0x50bebd['InsertRowCommandId']:{_0x2f917c=_0x1376dd(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x47f)]:{_0x2f917c=_0x146b26(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x571)]:{_0x2f917c=_0x3041a5(_0x295a3c,_0x482520);break;}case _0x50bebd[_0x1e3de1(0x1c7)]:{_0x2f917c=_0x78f1bf(_0x295a3c,_0x482520);break;}}const _0x5eee0a=_0x13d83c(_0x2f917c,_0x482520),_0x5bd173=this[_0x1e3de1(0x41c)][_0x1e3de1(0x401)](_0x496fb9);if(_0x5bd173&&_0x5eee0a){const _0x26e4bd={..._0x5bd173,'range':_0x5eee0a};this[_0x1e3de1(0x41c)]['set'](_0x496fb9,_0x26e4bd),_0x1d4c86(()=>{const _0x3b455d=_0x1e3de1,_0x20f5a0=this[_0x3b455d(0x4c8)]['registerRefRange'](_0x5eee0a,_0x58be49=>(_0x20f5a0['dispose'](),_0x49b02a(_0x58be49,_0x496fb9,_0x58b11f,_0x5eee0a)));_0x16947a['add'](_0x20f5a0);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x25adf4,_0x55fce6)=>{const _0x1c92e6=_0x519857,{range:_0x5b4285,sheetID:_0x5ce526}=_0x25adf4,_0x5aed02=this[_0x1c92e6(0x4c8)][_0x1c92e6(0x4f1)](_0x5b4285,_0x2e561a=>(_0x5aed02[_0x1c92e6(0x229)](),_0x49b02a(_0x2e561a,_0x55fce6,_0x5ce526,_0x5b4285)));_0x16947a['add'](_0x5aed02);});};this[_0x5a4c57(0x5b7)](_0xd4e920(this[_0x5a4c57(0x1e6)]['subscribe'](()=>{_0x3c6b8f();})));}['_toggleOnline'](){const _0x109940=_0x4299a1;var _0x101996,_0x310004;if(this[_0x109940(0x528)]=!0x0,((_0x101996=this[_0x109940(0x35b)]['getFocusedUnit']())==null?void 0x0:_0x101996['getUnitId']())!==this[_0x109940(0x3cd)])return;const _0x5135eb=(_0x310004=this['_injector'][_0x109940(0x401)](_0x492658)[_0x109940(0x59a)]())==null?void 0x0:_0x310004[0x0],_0x1aa812=this[_0x109940(0x35b)][_0x109940(0x24a)](_0x120bce[_0x109940(0x247)])['getActiveSheet']();_0x5135eb&&_0x1aa812&&this[_0x109940(0x4e3)](_0x1aa812['getSheetId'](),_0x5135eb);}[_0x4299a1(0x526)](){const _0x5bb47b=_0x4299a1;this[_0x5bb47b(0x528)]=!0x1;}};rs=wo([Be(0x2,_0x2f5cfe(_0x22006e)),Be(0x3,_0x2f5cfe(bs)),Be(0x4,_0x2f5cfe(Ne)),Be(0x5,_0x19bced),Be(0x6,_0x2d1134),Be(0x7,_0x2f5cfe(_0xe03fd0))],rs);var No=Object[_0x4299a1(0x5c7)],Ao=Object[_0x4299a1(0x563)],Mo=(_0x1b9c82,_0x5876e5,_0x1e83c6,_0x5b1aa9)=>{for(var _0x42c432=_0x5b1aa9>0x1?void 0x0:_0x5b1aa9?Ao(_0x5876e5,_0x1e83c6):_0x5876e5,_0x1a9a56=_0x1b9c82['length']-0x1,_0x779009;_0x1a9a56>=0x0;_0x1a9a56--)(_0x779009=_0x1b9c82[_0x1a9a56])&&(_0x42c432=(_0x5b1aa9?_0x779009(_0x5876e5,_0x1e83c6,_0x42c432):_0x779009(_0x42c432))||_0x42c432);return _0x5b1aa9&&_0x42c432&&No(_0x5876e5,_0x1e83c6,_0x42c432),_0x42c432;},$t=(_0x393e67,_0xbf0628)=>(_0x283b36,_0x5a7e82)=>_0xbf0628(_0x283b36,_0x5a7e82,_0x393e67);let Ve=class extends _0x737a66{constructor(_0x2e9840,_0xd1611c,_0x62d66d){const _0x364f07=_0x4299a1;super(),g(this,_0x364f07(0x22c),new Map()),g(this,_0x364f07(0x55b),new _0x19ddda()),(this[_0x364f07(0x35b)]=_0x2e9840,this['_injector']=_0xd1611c,this[_0x364f07(0x4a7)]=_0x62d66d,this[_0x364f07(0x389)]());}['dispose'](){const _0xeaeb2d=_0x4299a1;super[_0xeaeb2d(0x229)](),this[_0xeaeb2d(0x55b)][_0xeaeb2d(0x405)](),this[_0xeaeb2d(0x22c)][_0xeaeb2d(0x2c6)](_0x33a71b=>_0x33a71b[_0xeaeb2d(0x229)]());}[_0x4299a1(0x3a7)](_0x1a83cc){const _0x319866=_0x4299a1;return this[_0x319866(0x22c)][_0x319866(0x31a)](_0x1a83cc)?this[_0x319866(0x22c)][_0x319866(0x401)](_0x1a83cc)[_0x319866(0x1c3)]:this[_0x319866(0x55b)]['pipe'](_0x1b5a56(_0x414928=>_0x414928[_0x319866(0x3cd)]===_0x1a83cc),_0x44c2df(_0x131229=>_0x131229[_0x319866(0x1c3)]));}[_0x4299a1(0x389)](){const _0x3c15c5=_0x4299a1;this[_0x3c15c5(0x35b)][_0x3c15c5(0x446)](_0x120bce[_0x3c15c5(0x247)])[_0x3c15c5(0x35f)](_0x2fa59a(this[_0x3c15c5(0x47b)]))[_0x3c15c5(0x487)](async _0x275a08=>{const _0x52396f=_0x3c15c5,_0x7e28a5=_0x275a08[_0x52396f(0x1e9)](),_0x227365=await this[_0x52396f(0x464)](_0x7e28a5);this[_0x52396f(0x55b)][_0x52396f(0x419)](_0x227365),this[_0x52396f(0x22c)][_0x52396f(0x3db)](_0x7e28a5,_0x227365);}),this[_0x3c15c5(0x35b)][_0x3c15c5(0x446)](_0x120bce[_0x3c15c5(0x599)])[_0x3c15c5(0x35f)](_0x2fa59a(this[_0x3c15c5(0x47b)]))['pipe'](_0x1b5a56(_0x57a359=>!_0x57a359[_0x3c15c5(0x1e9)]()['startsWith']('__')))[_0x3c15c5(0x487)](async _0xf9a60f=>{const _0x4f6b8a=_0x3c15c5,_0x3a338e=_0xf9a60f['getUnitId'](),_0x71c458=await this[_0x4f6b8a(0x3c4)](_0x3a338e);this['_entityInit$']['next'](_0x71c458),this['_entities']['set'](_0x3a338e,_0x71c458);}),_0x26c7b9(this[_0x3c15c5(0x35b)][_0x3c15c5(0x54f)](_0x120bce[_0x3c15c5(0x599)]),this['_univerInstanceService'][_0x3c15c5(0x54f)](_0x120bce[_0x3c15c5(0x247)]))['pipe'](_0x2fa59a(this[_0x3c15c5(0x47b)]))[_0x3c15c5(0x487)](_0x1f3ea7=>{const _0x22024a=_0x3c15c5,_0x4b2a4a=_0x1f3ea7[_0x22024a(0x1e9)](),_0x3ba5eb=this[_0x22024a(0x22c)]['get'](_0x4b2a4a);_0x3ba5eb&&(_0x3ba5eb['dispose'](),this[_0x22024a(0x22c)][_0x22024a(0x404)](_0x4b2a4a));});}async[_0x4299a1(0x464)](_0xb43962){const _0x256737=_0x4299a1,_0x5428c0=await this[_0x256737(0x4a7)]['requireSession'](_0xb43962),_0x2af3ef=this[_0x256737(0x557)]['createInstance'](rs,_0xb43962,_0x5428c0);return _0x2af3ef[_0x256737(0x369)](),_0x2af3ef;}async['_startDocCollabCursor'](_0x12ed7f){const _0x402442=_0x4299a1,_0x4044a9=await this[_0x402442(0x4a7)][_0x402442(0x219)](_0x12ed7f),_0x5f5713=this[_0x402442(0x557)]['createInstance'](ns,_0x12ed7f,_0x4044a9);return _0x5f5713[_0x402442(0x369)](),_0x5f5713;}};Ve=Mo([$t(0x0,_0x19bced),$t(0x1,_0x2f5cfe(_0x22006e)),$t(0x2,_0x2f5cfe(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x590ecc,_0x3765c1){const _0x5e61c5=_0x4299a1;let {radius:_0x33593d,width:_0x51ac8a,height:_0x15324c}=_0x3765c1;_0x33593d=_0x33593d!=null?_0x33593d:0x0,_0x51ac8a=_0x51ac8a!=null?_0x51ac8a:0x1e,_0x15324c=_0x15324c!=null?_0x15324c:0x1e;let _0x2dd67e=0x0,_0x57e794=0x0,_0x4dc159=0x0;_0x2dd67e=_0x57e794=_0x4dc159=Math[_0x5e61c5(0x410)](_0x33593d,_0x51ac8a/0x2,_0x15324c/0x2),_0x590ecc[_0x5e61c5(0x39a)](),_0x590ecc[_0x5e61c5(0x3da)](_0x2dd67e,0x0),_0x590ecc[_0x5e61c5(0x49a)](_0x51ac8a-_0x57e794,0x0),_0x590ecc[_0x5e61c5(0x25a)](_0x51ac8a-_0x57e794,_0x57e794,_0x57e794,Math['PI']*0x3/0x2,0x0,!0x1),_0x590ecc[_0x5e61c5(0x49a)](_0x51ac8a,_0x15324c-_0x4dc159),_0x590ecc['arc'](_0x51ac8a-_0x4dc159,_0x15324c-_0x4dc159,_0x4dc159,0x0,Math['PI']/0x2,!0x1),_0x590ecc[_0x5e61c5(0x49a)](0x0,_0x15324c),_0x590ecc[_0x5e61c5(0x49a)](0x0,_0x2dd67e),_0x590ecc[_0x5e61c5(0x25a)](_0x2dd67e,_0x2dd67e,_0x2dd67e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x590ecc['closePath'](),_0x3765c1['fill']&&(_0x590ecc[_0x5e61c5(0x5a3)](),_0x590ecc[_0x5e61c5(0x434)]=_0x3765c1[_0x5e61c5(0x4b0)],_0x3765c1[_0x5e61c5(0x31c)]===_0x5e61c5(0x4d6)?_0x590ecc['fill'](_0x5e61c5(0x4d6)):_0x590ecc[_0x5e61c5(0x4b0)](),_0x590ecc[_0x5e61c5(0x3f0)]());}class Ot extends _0x58ab44{constructor(_0x4fb0ba,_0x427986){const _0x290b2b=_0x4299a1;super(_0x4fb0ba,_0x427986),g(this,_0x290b2b(0x314)),g(this,_0x290b2b(0x3dd)),(this['color']=_0x427986==null?void 0x0:_0x427986[_0x290b2b(0x314)],this[_0x290b2b(0x3dd)]=_0x427986==null?void 0x0:_0x427986['text']);}static[_0x4299a1(0x49b)](_0x306917,_0x474cbc){const _0x45671f=_0x4299a1,{text:_0xa8e2ea,color:_0x597ec8}=_0x474cbc;_0x306917[_0x45671f(0x5a3)](),_0x306917[_0x45671f(0x4cc)]=_0x45671f(0x237);const _0x48eec6=_0x306917[_0x45671f(0x2e3)](_0xa8e2ea)['width'],_0x3ed015=Math[_0x45671f(0x410)](_0x48eec6+0x2*Ht,Ys);Lo(_0x306917,{'height':nt,'radius':0x4,'width':_0x3ed015,'fill':_0x597ec8,'evented':!0x1}),_0x306917[_0x45671f(0x434)]=_0x45671f(0x28a);const _0xebeee2=Ht,_0x4c4624=nt-xo,_0x54fbc3=Ys-0x2*Ht;if(_0x48eec6>_0x54fbc3){let _0x728af2='',_0x614af2=0x0;for(const _0x10aba3 of _0xa8e2ea){const _0x515b7a=_0x306917[_0x45671f(0x2e3)](_0x10aba3)['width'];if(_0x614af2+_0x515b7a<=_0x54fbc3-_0x306917[_0x45671f(0x2e3)](_0x45671f(0x2b8))[_0x45671f(0x36f)])_0x728af2+=_0x10aba3,_0x614af2+=_0x515b7a;else{_0x728af2+=_0x45671f(0x2b8);break;}}_0x306917[_0x45671f(0x319)](_0x728af2,_0xebeee2,_0x4c4624);}else _0x306917[_0x45671f(0x319)](_0xa8e2ea,_0xebeee2,_0x4c4624);_0x306917['restore']();}[_0x4299a1(0x4d4)](_0x59381c){const _0x2d1b00=_0x4299a1;Ot[_0x2d1b00(0x49b)](_0x59381c,this);}}const jt='collab-text-anchor-',$o=_0x4299a1(0x465),Ho='collab-rect-range-',Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x4299a1(0x4fc);class Ks{constructor(_0x2ee196,_0x34ab66,_0x58f402,_0xf5db0){const _0x4cf963=_0x4299a1;g(this,_0x4cf963(0x1c4),[]),g(this,'_anchor',null),g(this,_0x4cf963(0x5c5),null),g(this,_0x4cf963(0x3f2),null),g(this,_0x4cf963(0x2ff),null),g(this,_0x4cf963(0x512),null),(this[_0x4cf963(0x55e)]=_0x2ee196,this[_0x4cf963(0x214)]=_0x34ab66,this[_0x4cf963(0x58f)]=_0x58f402,this[_0x4cf963(0x4fa)]=_0xf5db0,this[_0x4cf963(0x1c8)]());}set[_0x4299a1(0x2a0)](_0x348e1a){const _0x30da16=_0x4299a1;_0x348e1a?(this['_anchorDot']&&this['_anchorDot'][_0x30da16(0x1e4)](),this[_0x30da16(0x5c5)]&&this[_0x30da16(0x5c5)][_0x30da16(0x3eb)]()):(this[_0x30da16(0x3f2)]&&this[_0x30da16(0x3f2)][_0x30da16(0x3eb)](),this[_0x30da16(0x5c5)]&&this['_textBubble'][_0x30da16(0x1e4)]());}[_0x4299a1(0x229)](){const _0x591406=_0x4299a1;for(const _0x225e5a of this['_shapes'])_0x225e5a['dispose']();this['_textBubble']&&this[_0x591406(0x5c5)][_0x591406(0x229)](),this[_0x591406(0x3f2)]&&this[_0x591406(0x3f2)]['dispose'](),this[_0x591406(0x46b)]&&this[_0x591406(0x46b)]['dispose'](),this[_0x591406(0x512)]&&this[_0x591406(0x512)]();}[_0x4299a1(0x1c8)](){const _0xb48a46=_0x4299a1;var _0x59a572;const {_docSkeleton:_0x45ccdd,_document:_0x5f4238}=this,{color:_0x116551,name:_0x5e7d64,ranges:_0x2a273f}=this[_0xb48a46(0x55e)],_0x4068ff=_0x5f4238[_0xb48a46(0x51a)](),{docsLeft:_0x118ff9,docsTop:_0x283609}=_0x4068ff,_0x4e0151=new _0xe153e4(_0x4068ff,_0x45ccdd);for(const {startOffset:_0x26952a,endOffset:_0xd42577,rangeType:_0x559f0e,segmentId:_0x41520d,segmentPage:_0x2867df,collapsed:_0x5447fb,isActive:_0x1dba57}of _0x2a273f){const _0x2b082a=_0x45ccdd[_0xb48a46(0x304)](_0x26952a,!0x0,_0x41520d,_0x2867df);let _0x427ecf=_0x45ccdd[_0xb48a46(0x304)](_0xd42577,!0x0,_0x41520d,_0x2867df);if(_0x427ecf==null&&(_0x427ecf=_0x45ccdd[_0xb48a46(0x304)](_0xd42577-0x1,!0x1,_0x41520d,_0x2867df)),_0x1dba57){const {contentBoxPointGroup:_0x102d45}=_0x4e0151['getRangePointData'](_0x427ecf,_0x427ecf);if(_0x102d45['length']===0x0)continue;this[_0xb48a46(0x598)](_0x116551,_0x102d45,_0x118ff9,_0x283609,_0x5e7d64),this[_0xb48a46(0x512)]=this['_handleHover']();}if(!_0x5447fb&&_0x2b082a&&_0x427ecf){if(_0x559f0e===_0x1845e2[_0xb48a46(0x51f)]){const _0x262c35=new _0x504d3e(_0x4068ff,_0x45ccdd),{pointGroup:_0xd922bb}=(_0x59a572=_0x262c35[_0xb48a46(0x5af)](_0x2b082a,_0x427ecf))!=null?_0x59a572:{};if(_0xd922bb==null||_0xd922bb[_0xb48a46(0x256)]===0x0)continue;this[_0xb48a46(0x2d2)](_0x116551,_0xd922bb,_0x118ff9,_0x283609);}else{const {borderBoxPointGroup:_0x1b22f0}=_0x4e0151['getRangePointData'](_0x2b082a,_0x427ecf);if(_0x1b22f0[_0xb48a46(0x256)]===0x0)continue;this[_0xb48a46(0x215)](_0x116551,_0x1b22f0,_0x118ff9,_0x283609);}}}}[_0x4299a1(0x598)](_0x1f3215,_0x1ee9be,_0x381496,_0x32c2b9,_0x28c477){const _0x3929d3=_0x4299a1,_0x2f8138=this[_0x3929d3(0x48d)](_0x1ee9be),{left:_0x43ad0c,top:_0x348a3d,height:_0x48175a}=_0x2f8138,_0x5a4016=this['_getScale'](),_0x34cf27=Bo/_0x5a4016,_0x53b98c=new _0x5ee680(jt+_0x30d2fb[_0x3929d3(0x204)](Je),{'left':_0x43ad0c+_0x381496-_0x34cf27,'top':_0x348a3d+_0x32c2b9,'height':_0x48175a,'width':jo,'fill':_0x1f3215||_0x65be38(_0x46da12['black'],0x0),'strokeWidth':_0x34cf27,'stroke':ko,'evented':!0x0});this[_0x3929d3(0x46b)]=_0x53b98c,this[_0x3929d3(0x214)][_0x3929d3(0x3a5)](_0x53b98c,_0xc6a3f3);const _0x423edd=new _0x5ee680(jt+_0x30d2fb[_0x3929d3(0x204)](Je),{'left':_0x43ad0c+_0x381496-_0x34cf27,'top':_0x348a3d+_0x32c2b9-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x1f3215||_0x65be38(_0x46da12[_0x3929d3(0x277)],0x0),'strokeWidth':0x0,'stroke':_0x1f3215||_0x65be38(_0x46da12[_0x3929d3(0x277)],0x0),'evented':!0x1});this[_0x3929d3(0x3f2)]=_0x423edd,this[_0x3929d3(0x214)][_0x3929d3(0x3a5)](_0x423edd,_0xc6a3f3);const _0x3494af=new Ot(jt+_0x30d2fb[_0x3929d3(0x204)](Je),{'left':_0x43ad0c+_0x381496-_0x34cf27,'top':_0x348a3d+_0x32c2b9-nt,'text':_0x28c477,'color':_0x1f3215});this['_textBubble']=_0x3494af,this[_0x3929d3(0x214)][_0x3929d3(0x3a5)](_0x3494af,_0xc6a3f3),this['_hover']=!0x1;}[_0x4299a1(0x220)](){const _0x4214e2=_0x4299a1,_0x53d021=this['_anchor'][_0x4214e2(0x22d)]['subscribeEvent'](()=>{const _0x3721b6=_0x4214e2;this[_0x3721b6(0x2a0)]=!0x0;}),_0x1c52c4=this[_0x4214e2(0x46b)][_0x4214e2(0x3a8)][_0x4214e2(0x1d1)](()=>{const _0x3da809=_0x4214e2;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x3da809(0x2ff)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3675e9=_0x4214e2;_0x53d021[_0x3675e9(0x276)](),_0x1c52c4[_0x3675e9(0x276)]();};}[_0x4299a1(0x215)](_0x3e93cb,_0x549d3a,_0x258f00,_0x32e62e){const _0x9fb097=_0x4299a1,_0xc3c0b=new _0x59e5b4(_0x3e93cb)[_0x9fb097(0x58c)](0.2)[_0x9fb097(0x391)](),_0x30935c=new _0x254c54($o+_0x30d2fb[_0x9fb097(0x204)](Je),{'pointsGroup':_0x549d3a,'fill':_0xc3c0b||_0x65be38(_0x46da12[_0x9fb097(0x277)],0.2),'left':_0x258f00,'top':_0x32e62e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9fb097(0x1c4)][_0x9fb097(0x499)](_0x30935c),this[_0x9fb097(0x214)]['addObject'](_0x30935c,_0xc6a3f3);}[_0x4299a1(0x2d2)](_0x39686f,_0x35fe02,_0x55c963,_0x1f6932){const _0x29cf6c=_0x4299a1,_0xd8632c=new _0x59e5b4(_0x39686f)[_0x29cf6c(0x58c)](0.2)[_0x29cf6c(0x391)](),_0xd7f172=new _0x254c54(Ho+_0x30d2fb[_0x29cf6c(0x204)](Je),{'pointsGroup':_0x35fe02,'fill':_0xd8632c||_0x65be38(_0x46da12[_0x29cf6c(0x277)],0.2),'left':_0x55c963,'top':_0x1f6932,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xd7f172),this['_scene'][_0x29cf6c(0x3a5)](_0xd7f172,_0xc6a3f3);}[_0x4299a1(0x48d)](_0x50e25b){const _0x1d8205=_0x50e25b[0x0],_0x3cc2ff=_0x1d8205[0x0],_0x4c79fd=_0x1d8205[0x2],{x:_0x2e7628,y:_0x274346}=_0x3cc2ff,{x:_0x3639eb,y:_0xcf759e}=_0x4c79fd;return{'left':_0x2e7628,'top':_0x274346,'width':_0x3639eb-_0x2e7628,'height':_0xcf759e-_0x274346};}[_0x4299a1(0x582)](){const _0x2738c8=_0x4299a1,{scaleX:_0x2e75d9,scaleY:_0x53e653}=this['_scene'][_0x2738c8(0x4c7)]();return Math[_0x2738c8(0x57c)](_0x2e75d9,_0x53e653);}}var Wo=Object[_0x4299a1(0x5c7)],Fo=Object[_0x4299a1(0x563)],Vo=(_0x2d8fb5,_0x5832b8,_0x1aafa3,_0x293e31)=>{const _0x9f117c=_0x4299a1;for(var _0x20d63f=_0x293e31>0x1?void 0x0:_0x293e31?Fo(_0x5832b8,_0x1aafa3):_0x5832b8,_0x2b6130=_0x2d8fb5[_0x9f117c(0x256)]-0x1,_0x3ec93e;_0x2b6130>=0x0;_0x2b6130--)(_0x3ec93e=_0x2d8fb5[_0x2b6130])&&(_0x20d63f=(_0x293e31?_0x3ec93e(_0x5832b8,_0x1aafa3,_0x20d63f):_0x3ec93e(_0x20d63f))||_0x20d63f);return _0x293e31&&_0x20d63f&&Wo(_0x5832b8,_0x1aafa3,_0x20d63f),_0x20d63f;},ht=(_0x3a2d00,_0x5aa3e2)=>(_0x193ceb,_0x4ce494)=>_0x5aa3e2(_0x193ceb,_0x4ce494,_0x3a2d00);let os=class extends _0x737a66{constructor(_0x52c24a,_0x1a1b71,_0x18b572,_0x535156,_0x42523e){const _0x226e82=_0x4299a1;super(),g(this,'_cursorShapes',[]),g(this,'_cursors',[]),(this[_0x226e82(0x235)]=_0x52c24a,this['_docSkeletonManagerService']=_0x1a1b71,this[_0x226e82(0x43f)]=_0x18b572,this[_0x226e82(0x33f)]=_0x535156,this['_themeService']=_0x42523e,this[_0x226e82(0x389)]());}['_init'](){const _0x3faf8c=_0x4299a1,_0x40e5cb=this[_0x3faf8c(0x235)]['unitId'],_0x18d4f9=this[_0x3faf8c(0x324)];this[_0x3faf8c(0x5b7)](_0x30a2a1([this[_0x3faf8c(0x43f)][_0x3faf8c(0x3a7)](_0x40e5cb),this['_themeService'][_0x3faf8c(0x3d3)]])['pipe'](_0x50ad64(([_0x4fa8ad,_0x49546b])=>({'skeleton':_0x18d4f9['getSkeleton'](),'cursors':[..._0x4fa8ad['values']()]['flatMap'](_0x2d650e=>({..._0x2d650e,'color':_0x49546b[_0x2d650e[_0x3faf8c(0x314)]]}))})))[_0x3faf8c(0x487)](_0x268337=>{const _0x505c98=_0x3faf8c;if(this[_0x505c98(0x240)](),_0x268337){const {skeleton:_0xee2ce0,cursors:_0x2ae2fc}=_0x268337;this[_0x505c98(0x46f)](_0xee2ce0,_0x2ae2fc);}})),this[_0x3faf8c(0x39d)](),this['_initCommandExecutedListener']();}[_0x4299a1(0x46f)](_0x5e7eef,_0x529337){const _0x2af0ca=_0x4299a1,{scene:_0x1619c4,mainComponent:_0x58da0c}=this['_context'],_0xec70cf=_0x529337[_0x2af0ca(0x272)](_0x110a43=>new Ks(_0x110a43,_0x1619c4,_0x5e7eef,_0x58da0c));this[_0x2af0ca(0x2d3)]=_0xec70cf,this['_cursors']=_0x529337;}[_0x4299a1(0x479)](){const _0xc4a3f6=_0x4299a1;this[_0xc4a3f6(0x240)]();const {scene:_0x2e440d,mainComponent:_0x243efb}=this[_0xc4a3f6(0x235)],_0x256f72=this['_docSkeletonManagerService']['getSkeleton'](),_0x42ddf5=this[_0xc4a3f6(0x2a9)]['map'](_0x15f447=>new Ks(_0x15f447,_0x2e440d,_0x256f72,_0x243efb));this[_0xc4a3f6(0x2d3)]=_0x42ddf5;}['_removeCollabCursors'](){const _0x3c8976=_0x4299a1;this[_0x3c8976(0x2d3)][_0x3c8976(0x2c6)](_0x397dc8=>_0x397dc8[_0x3c8976(0x229)]()),this['_cursorShapes']=[];}[_0x4299a1(0x301)](){const _0x5d2735=_0x4299a1,_0x111fcd=[_0xf2132e['id']];this['disposeWithMe'](this[_0x5d2735(0x33f)]['onCommandExecuted'](_0x579812=>{const _0x2ecaa6=_0x5d2735;_0x111fcd[_0x2ecaa6(0x1e5)](_0x579812['id'])&&_0x579812[_0x2ecaa6(0x217)][_0x2ecaa6(0x2ea)]===this[_0x2ecaa6(0x235)]['unitId']&&this[_0x2ecaa6(0x479)]();}));}[_0x4299a1(0x39d)](){const _0x132805=_0x4299a1;this[_0x132805(0x5b7)](_0x42c9c7(this[_0x132805(0x235)][_0x132805(0x303)][_0x132805(0x200)])[_0x132805(0x35f)](_0x53cf0f(_0xd7b656=>_0xd7b656[_0x132805(0x41e)]===_0x394d6a['resize']),_0x36a2f2(0x10))[_0x132805(0x487)](()=>{const _0x4bb532=_0x132805;this[_0x4bb532(0x479)]();}));}};os=Vo([ht(0x1,_0x2f5cfe(_0x29c419)),ht(0x2,_0x2f5cfe(Ve)),ht(0x3,_0x2d1134),ht(0x4,_0x2f5cfe(_0x4f5336))],os);const Go=0x1,Yo=1.5;class Ko extends _0x58ab44{constructor(_0x1285fb,_0x3f4ea4){const _0x3aa565=_0x4299a1;super(_0x1285fb,_0x3f4ea4),g(this,_0x3aa565(0x3c3)),g(this,_0x3aa565(0x33a),!0x1),g(this,_0x3aa565(0x5a0)),g(this,_0x3aa565(0x564),''),g(this,_0x3aa565(0x233),_0x3aa565(0x3e4)),g(this,_0x3aa565(0x254)),(_0x3f4ea4&&this[_0x3aa565(0x4eb)](_0x3f4ea4),this[_0x3aa565(0x22d)][_0x3aa565(0x1d1)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3aa565(0x3a8)][_0x3aa565(0x1d1)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x4fc374){const _0x5a0068=_0x4299a1;var _0x2821a5,_0x3dd7ad,_0x2a8f76,_0x37d447,_0x377fae,_0x4f67aa;this[_0x5a0068(0x3c3)]=(_0x2821a5=_0x4fc374[_0x5a0068(0x314)])!=null?_0x2821a5:this['_color'],this[_0x5a0068(0x33a)]=(_0x3dd7ad=_0x4fc374[_0x5a0068(0x49c)])!=null?_0x3dd7ad:this[_0x5a0068(0x33a)],this[_0x5a0068(0x5a0)]=(_0x2a8f76=_0x4fc374[_0x5a0068(0x478)])!=null?_0x2a8f76:this[_0x5a0068(0x5a0)],this[_0x5a0068(0x564)]=(_0x37d447=_0x4fc374[_0x5a0068(0x597)])!=null?_0x37d447:this[_0x5a0068(0x564)],this['_labelPosition']=(_0x377fae=_0x4fc374[_0x5a0068(0x1e0)])!=null?_0x377fae:this[_0x5a0068(0x233)],this['_backgroundColor']=(_0x4f67aa=_0x4fc374['backgroundColor'])!=null?_0x4f67aa:this[_0x5a0068(0x254)],this[_0x5a0068(0x2ae)]({'width':_0x4fc374[_0x5a0068(0x36f)],'height':_0x4fc374[_0x5a0068(0x241)]});}[_0x4299a1(0x523)](_0x85ccfb){const _0x5f2c65=_0x4299a1,{row:_0x3382bf,column:_0x4ed74d}=_0x85ccfb;if(_0x3382bf>=this[_0x5f2c65(0x5a0)][_0x5f2c65(0x335)]&&_0x3382bf<=this['_range'][_0x5f2c65(0x2c7)]&&_0x4ed74d>=this[_0x5f2c65(0x5a0)][_0x5f2c65(0x3f7)]&&_0x4ed74d<=this[_0x5f2c65(0x5a0)]['endColumn']){this[_0x5f2c65(0x4eb)]({'hovered':!0x0});return;}this[_0x5f2c65(0x4eb)]({'hovered':!0x1});}['triggerDblclick'](_0x2bacfc){return!0x1;}[_0x4299a1(0x4d4)](_0x1430bd){const _0x5eee3a=_0x4299a1;_0x5ee680[_0x5eee3a(0x49b)](_0x1430bd,{'width':this['width'],'height':this[_0x5eee3a(0x241)],'strokeWidth':Yo,'stroke':this[_0x5eee3a(0x3c3)],'evented':!0x1,'fill':this[_0x5eee3a(0x254)]}),this[_0x5eee3a(0x33a)]&&(_0x1430bd[_0x5eee3a(0x5a3)](),_0x1430bd[_0x5eee3a(0x517)](0x1,0x0,0x0,0x1,this[_0x5eee3a(0x36f)],this['_labelPosition']===_0x5eee3a(0x35d)?0x0:-nt),Ot[_0x5eee3a(0x49b)](_0x1430bd,{'text':this[_0x5eee3a(0x564)],'color':this[_0x5eee3a(0x3c3)]}),_0x1430bd[_0x5eee3a(0x3f0)]());}}var zo=Object[_0x4299a1(0x5c7)],qo=Object[_0x4299a1(0x563)],Xo=(_0x544283,_0x577c17,_0x89ce33,_0x286bf8)=>{const _0x2081bb=_0x4299a1;for(var _0x5406d5=_0x286bf8>0x1?void 0x0:_0x286bf8?qo(_0x577c17,_0x89ce33):_0x577c17,_0x4f49c4=_0x544283[_0x2081bb(0x256)]-0x1,_0x2e797b;_0x4f49c4>=0x0;_0x4f49c4--)(_0x2e797b=_0x544283[_0x4f49c4])&&(_0x5406d5=(_0x286bf8?_0x2e797b(_0x577c17,_0x89ce33,_0x5406d5):_0x2e797b(_0x5406d5))||_0x5406d5);return _0x286bf8&&_0x5406d5&&zo(_0x577c17,_0x89ce33,_0x5406d5),_0x5406d5;},kt=(_0x27bc69,_0x2a7f68)=>(_0x155f71,_0x32256b)=>_0x2a7f68(_0x155f71,_0x32256b,_0x27bc69);const Jo=0x1389;let as=class extends _0x737a66{constructor(_0xd19af7,_0x3ad084,_0x4e1358,_0x58d0d6){const _0x33aec6=_0x4299a1;super(),g(this,_0x33aec6(0x2a9),new Set()),g(this,_0x33aec6(0x221),null),(this[_0x33aec6(0x235)]=_0xd19af7,this[_0x33aec6(0x2f7)]=_0x3ad084,this[_0x33aec6(0x43f)]=_0x4e1358,this['_themeService']=_0x58d0d6,this[_0x33aec6(0x389)]());}[_0x4299a1(0x389)](){const _0x45c8a4=_0x4299a1;this[_0x45c8a4(0x2f7)][_0x45c8a4(0x1cf)]['pipe'](_0x1c3f96(this[_0x45c8a4(0x47b)]),_0xfe1f5c(_0x366f67=>{const _0x34e567=_0x45c8a4;if(_0x366f67){const _0x5a924d=_0x366f67[_0x34e567(0x462)];return _0x30a2a1(this['_collabCursorController'][_0x34e567(0x3a7)](this[_0x34e567(0x235)][_0x34e567(0x2ea)]),this[_0x34e567(0x2ce)][_0x34e567(0x3d3)])[_0x34e567(0x35f)](_0x50ad64(([_0x44244c,_0x43cb80])=>{const _0x2dbf62=new Map();return _0x44244c['forEach']((_0x31032f,_0x10d903)=>{const _0x66c80e=_0x1dba;if(_0x31032f[_0x66c80e(0x3fd)]===_0x5a924d){const _0xa30c7a={..._0x31032f};_0xa30c7a[_0x66c80e(0x314)]=_0x43cb80[_0x31032f[_0x66c80e(0x314)]],_0x2dbf62[_0x66c80e(0x3db)](_0x10d903,_0xa30c7a);}}),{'skeleton':_0x366f67,'cursors':_0x2dbf62};}));}return _0x3de089({'skeleton':null,'cursors':new Map()});}))[_0x45c8a4(0x487)](({skeleton:_0x116514,cursors:_0x20b3c9})=>{const _0x4d783d=_0x45c8a4;this[_0x4d783d(0x240)](),_0x116514&&this['_updateCollabCursors'](_0x116514,_0x20b3c9);}),this[_0x45c8a4(0x2f7)][_0x45c8a4(0x1cf)]['subscribe'](_0x2cfbb3=>{const _0x1357f4=_0x45c8a4;if(_0x2cfbb3==null)return;const {skeleton:_0x247ebe}=_0x2cfbb3,{scene:_0x3cbef9}=this[_0x1357f4(0x235)];_0x3cbef9[_0x1357f4(0x1f1)][_0x1357f4(0x1d1)](_0x5b2ba1(_0x524a7b=>{const _0x54c54b=_0x1357f4;var _0x1362eb,_0x35da27;const {offsetX:_0x2d5910,offsetY:_0x2c5a87}=_0x524a7b,{x:_0x3f689b,y:_0x3b6017}=_0x3cbef9[_0x54c54b(0x24d)](_0x30e58a[_0x54c54b(0x493)]([_0x2d5910,_0x2c5a87])),{scaleX:_0x4cf036,scaleY:_0x4d5880}=_0x3cbef9[_0x54c54b(0x4c7)](),_0x1e64cb=_0x3cbef9[_0x54c54b(0x561)](_0x2c3c62[_0x54c54b(0x2d4)]),_0x6dc5f1=_0x3cbef9[_0x54c54b(0x2fe)](_0x30e58a[_0x54c54b(0x493)]([_0x3f689b,_0x3b6017]),_0x1e64cb),_0x257ce5=_0x247ebe[_0x54c54b(0x348)](_0x2d5910,_0x2c5a87,_0x4cf036,_0x4d5880,_0x6dc5f1);((_0x1362eb=this[_0x54c54b(0x221)])==null?void 0x0:_0x1362eb[_0x54c54b(0x358)])===_0x257ce5[_0x54c54b(0x358)]&&((_0x35da27=this['_lastPointer'])==null?void 0x0:_0x35da27['row'])===_0x257ce5['row']||this['_cursors'][_0x54c54b(0x2c6)](_0x5b7edb=>{const _0x19e3cc=_0x54c54b;_0x5b7edb[_0x19e3cc(0x523)](_0x257ce5);});},0x64));});}['_updateCollabCursors'](_0x6f1d06,_0x2fe80a){const _0x43fce8=_0x4299a1;var _0x360794;const _0x16e357=(_0x360794=this[_0x43fce8(0x2f7)][_0x43fce8(0x22e)]())==null?void 0x0:_0x360794[_0x43fce8(0x40e)];if(!_0x16e357)return;const _0x38bf62=this[_0x43fce8(0x338)]();if(!_0x38bf62)return;this[_0x43fce8(0x2a9)][_0x43fce8(0x2c6)](_0x2dc48d=>{const _0x2492c6=_0x43fce8;_0x2dc48d[_0x2492c6(0x4bb)]();});const {scene:_0x1c48d1}=_0x38bf62,_0x57af3f=Zo(Array[_0x43fce8(0x527)](_0x2fe80a[_0x43fce8(0x2fa)]()))['map'](_0x583652=>{const _0x45aa77=_0x43fce8,{color:_0xb3e998,range:_0x4e73c3,name:_0x15c086,selection:_0x3dd33c,sheetID:_0x4720b4}=_0x583652,{startColumn:_0x2117ec,startRow:_0x1c7389,endColumn:_0x4b4da5,endRow:_0x3ac235}=_0x4e73c3,_0x2c16a6=_0xe460fe(_0x1c7389,_0x2117ec,_0x1c48d1,_0x16e357),_0x346b2c=_0xe460fe(_0x3ac235,_0x4b4da5,_0x1c48d1,_0x16e357),{columnHeaderHeightAndMarginTop:_0x164c7a}=_0x16e357,{startX:_0xba8ca8,startY:_0x4bce5e}=_0x2c16a6,{endX:_0x3e767f,endY:_0x555220}=_0x346b2c,_0x49bb36=_0x3e767f-_0xba8ca8,_0x16babb=_0x555220-_0x4bce5e,_0xd4f499={'labelPosition':_0x4bce5e-_0x164c7a>=nt?_0x45aa77(0x3e4):_0x45aa77(0x35d),'sheetID':_0x4720b4,'range':_0x4e73c3,'color':_0xb3e998,'name':_0x15c086,'selection':_0x3dd33c,'left':_0xba8ca8,'top':_0x4bce5e,'width':_0x49bb36,'height':_0x16babb,'evented':!0x1,'zIndex':Jo};return new Ko(_0x15c086,_0xd4f499);});_0x1c48d1[_0x43fce8(0x373)](_0x57af3f,Go),this['_cursors']=new Set(_0x57af3f);}['_removeCollabCursors'](){const _0x1061ee=_0x4299a1;var _0x546f1c;(_0x546f1c=this[_0x1061ee(0x2a9)])==null||_0x546f1c['forEach'](_0x1c2718=>_0x1c2718[_0x1061ee(0x229)]());}[_0x4299a1(0x338)](){const _0x53ae01=_0x4299a1;return _0x176e67(this['_context']['unit'],this[_0x53ae01(0x235)]);}};as=Xo([kt(0x1,_0x2f5cfe(_0x276989)),kt(0x2,_0x2f5cfe(Ve)),kt(0x3,_0x2f5cfe(_0x4f5336))],as);function Zo(_0x125f91){const _0x3c9bec=_0x4299a1,_0x40de74=new Map();return _0x125f91[_0x3c9bec(0x2c6)](_0x4db61e=>{const _0x282b7b=_0x3c9bec;if(_0x40de74[_0x282b7b(0x31a)](_0x4db61e[_0x282b7b(0x35c)])){const _0x5d9859=_0x40de74[_0x282b7b(0x401)](_0x4db61e[_0x282b7b(0x35c)]);_0x5d9859['name']+=',\x20'+_0x4db61e[_0x282b7b(0x597)];}else _0x40de74[_0x282b7b(0x3db)](_0x4db61e[_0x282b7b(0x35c)],_0x4db61e);}),Array['from'](_0x40de74[_0x3c9bec(0x2fa)]());}var ee=function(){const _0x103f10=_0x4299a1;return ee=Object['assign']||function(_0x1d56e0){const _0x4a821e=_0x1dba;for(var _0x426587,_0x5d4409=0x1,_0x37efc7=arguments[_0x4a821e(0x256)];_0x5d4409<_0x37efc7;_0x5d4409++){_0x426587=arguments[_0x5d4409];for(var _0xce8d7e in _0x426587)Object[_0x4a821e(0x313)][_0x4a821e(0x225)][_0x4a821e(0x211)](_0x426587,_0xce8d7e)&&(_0x1d56e0[_0xce8d7e]=_0x426587[_0xce8d7e]);}return _0x1d56e0;},ee[_0x103f10(0x5cb)](this,arguments);},Qo=function(_0x5ac53e,_0x2a55c7){const _0x2f5ef2=_0x4299a1;var _0x5db0a6={};for(var _0x443eef in _0x5ac53e)Object[_0x2f5ef2(0x313)][_0x2f5ef2(0x225)]['call'](_0x5ac53e,_0x443eef)&&_0x2a55c7['indexOf'](_0x443eef)<0x0&&(_0x5db0a6[_0x443eef]=_0x5ac53e[_0x443eef]);if(_0x5ac53e!=null&&typeof Object[_0x2f5ef2(0x439)]=='function'){for(var _0x47c0a8=0x0,_0x443eef=Object[_0x2f5ef2(0x439)](_0x5ac53e);_0x47c0a8<_0x443eef[_0x2f5ef2(0x256)];_0x47c0a8++)_0x2a55c7[_0x2f5ef2(0x422)](_0x443eef[_0x47c0a8])<0x0&&Object[_0x2f5ef2(0x313)]['propertyIsEnumerable']['call'](_0x5ac53e,_0x443eef[_0x47c0a8])&&(_0x5db0a6[_0x443eef[_0x47c0a8]]=_0x5ac53e[_0x443eef[_0x47c0a8]]);}return _0x5db0a6;},Ts=_0x36768c(function(_0x3c576d,_0x25ca3d){const _0x2c7d88=_0x4299a1;var _0x234c4d=_0x3c576d[_0x2c7d88(0x1c1)],_0x2a3b70=_0x3c576d['id'],_0xd9925c=_0x3c576d[_0x2c7d88(0x58d)],_0x3e510c=_0x3c576d[_0x2c7d88(0x257)],_0x4aab97=Qo(_0x3c576d,['icon','id',_0x2c7d88(0x58d),_0x2c7d88(0x257)]),_0x40b4d4=_0x2c7d88(0x1ef)[_0x2c7d88(0x34d)](_0x2a3b70,'\x20')['concat'](_0xd9925c||'')[_0x2c7d88(0x393)](),_0x2930d7=_0x174de7('_'['concat'](sa()));return Mi(_0x234c4d,''[_0x2c7d88(0x34d)](_0x2a3b70),{'defIds':_0x234c4d[_0x2c7d88(0x4dc)],'idSuffix':_0x2930d7[_0x2c7d88(0x4b3)]},ee({'ref':_0x25ca3d,'className':_0x40b4d4},_0x4aab97),_0x3e510c);});function Mi(_0x1009a4,_0x4c8ec4,_0x1e154b,_0x3b2f5f,_0x3a082b){const _0x4f626c=_0x4299a1;return _0x393c00(_0x1009a4['tag'],ee(ee({'key':_0x4c8ec4},ea(_0x1009a4,_0x1e154b,_0x3a082b)),_0x3b2f5f),(ta(_0x1009a4,_0x1e154b)[_0x4f626c(0x3b1)]||[])['map'](function(_0x224cb6,_0x21720c){const _0x1a45ee=_0x4f626c;return Mi(_0x224cb6,''[_0x1a45ee(0x34d)](_0x4c8ec4,'-')[_0x1a45ee(0x34d)](_0x1009a4['tag'],'-')[_0x1a45ee(0x34d)](_0x21720c),_0x1e154b,void 0x0,_0x3a082b);}));}function ea(_0x56e8e8,_0x2658d8,_0x269d92){const _0x2fe912=_0x4299a1;var _0x4c506f=ee({},_0x56e8e8[_0x2fe912(0x2e6)]);_0x269d92!=null&&_0x269d92[_0x2fe912(0x3e2)]&&_0x4c506f[_0x2fe912(0x4b0)]===_0x2fe912(0x3e2)&&(_0x4c506f[_0x2fe912(0x4b0)]=_0x269d92[_0x2fe912(0x3e2)]);var _0x32ce33=_0x2658d8['defIds'];return!_0x32ce33||_0x32ce33[_0x2fe912(0x256)]===0x0||(_0x56e8e8[_0x2fe912(0x4c0)]===_0x2fe912(0x46e)&&_0x4c506f[_0x2fe912(0x28e)]&&(_0x4c506f[_0x2fe912(0x28e)]=_0x4c506f['xlink:href']+_0x2658d8['idSuffix']),Object[_0x2fe912(0x481)](_0x4c506f)[_0x2fe912(0x2c6)](function(_0x481338){const _0x2a3464=_0x2fe912;var _0x5530b0=_0x481338[0x0],_0x1b53bb=_0x481338[0x1];typeof _0x1b53bb==_0x2a3464(0x3b4)&&(_0x4c506f[_0x5530b0]=_0x1b53bb[_0x2a3464(0x1f5)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x2658d8[_0x2a3464(0x285)],')')));})),_0x4c506f;}function ta(_0x3f8e08,_0x52f84d){const _0x5cd616=_0x4299a1;var _0x3a8e1f,_0x24fb57=_0x52f84d[_0x5cd616(0x4dc)];return!_0x24fb57||_0x24fb57[_0x5cd616(0x256)]===0x0?_0x3f8e08:_0x3f8e08['tag']===_0x5cd616(0x26b)&&(!((_0x3a8e1f=_0x3f8e08[_0x5cd616(0x3b1)])===null||_0x3a8e1f===void 0x0)&&_0x3a8e1f[_0x5cd616(0x256)])?ee(ee({},_0x3f8e08),{'children':_0x3f8e08[_0x5cd616(0x3b1)]['map'](function(_0x3e6e0f){const _0x289836=_0x5cd616;return typeof _0x3e6e0f[_0x289836(0x2e6)]['id']=='string'&&_0x24fb57&&_0x24fb57['indexOf'](_0x3e6e0f[_0x289836(0x2e6)]['id'])>-0x1?ee(ee({},_0x3e6e0f),{'attrs':ee(ee({},_0x3e6e0f['attrs']),{'id':_0x3e6e0f['attrs']['id']+_0x52f84d['idSuffix']})}):_0x3e6e0f;})}):_0x3f8e08;}function sa(){const _0xe83bb=_0x4299a1;return Math[_0xe83bb(0x1c0)]()['toString'](0x24)[_0xe83bb(0x2e2)](0x2,0x8);}Ts[_0x4299a1(0x291)]=_0x4299a1(0x3ce);var ia={'tag':_0x4299a1(0x4b9),'attrs':{'fill':_0x4299a1(0x4cb),'viewBox':_0x4299a1(0x232),'width':_0x4299a1(0x53a),'height':_0x4299a1(0x53a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4299a1(0x578),'d':_0x4299a1(0x553),'strokeLinecap':_0x4299a1(0x445),'strokeLinejoin':_0x4299a1(0x445),'strokeWidth':1.2}}]},{'tag':_0x4299a1(0x26b),'attrs':{},'children':[{'tag':_0x4299a1(0x4d0),'attrs':{'id':_0x4299a1(0x3d6)},'children':[{'tag':_0x4299a1(0x484),'attrs':{'fill':_0x4299a1(0x38c),'d':_0x4299a1(0x51e)}}]}]}],'defIds':[_0x4299a1(0x3d6)]},xi=_0x36768c(function(_0x58ac1a,_0xcec7ff){const _0x1dccc7=_0x4299a1;return _0x393c00(Ts,Object['assign']({},_0x58ac1a,{'id':_0x1dccc7(0x363),'ref':_0xcec7ff,'icon':ia}));});xi['displayName']='OffLineSingle';var na={'tag':_0x4299a1(0x4b9),'attrs':{'fill':_0x4299a1(0x4cb),'viewBox':_0x4299a1(0x37d),'width':_0x4299a1(0x53a),'height':_0x4299a1(0x53a)},'children':[{'tag':'g','attrs':{'clipPath':_0x4299a1(0x20c)},'children':[{'tag':_0x4299a1(0x484),'attrs':{'stroke':'currentColor','d':_0x4299a1(0x531),'strokeLinecap':_0x4299a1(0x445),'strokeLinejoin':_0x4299a1(0x445),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4299a1(0x4d0),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4299a1(0x484),'attrs':{'fill':_0x4299a1(0x38c),'d':_0x4299a1(0x51e),'transform':_0x4299a1(0x1d2)}}]}]}],'defIds':[_0x4299a1(0x4e8)]},Li=_0x36768c(function(_0x547505,_0x1a2aec){const _0x4a0c32=_0x4299a1;return _0x393c00(Ts,Object['assign']({},_0x547505,{'id':_0x4a0c32(0x387),'ref':_0x1a2aec,'icon':na}));});Li['displayName']=_0x4299a1(0x246);function $i(_0x4b7505){const _0x3aa20b=_0x4299a1;var _0x4eca7d,_0x75d1fb,_0x4381f3='';if(typeof _0x4b7505==_0x3aa20b(0x3b4)||typeof _0x4b7505==_0x3aa20b(0x30a))_0x4381f3+=_0x4b7505;else{if(typeof _0x4b7505==_0x3aa20b(0x43d)){if(Array[_0x3aa20b(0x1e2)](_0x4b7505)){var _0x53970b=_0x4b7505[_0x3aa20b(0x256)];for(_0x4eca7d=0x0;_0x4eca7d<_0x53970b;_0x4eca7d++)_0x4b7505[_0x4eca7d]&&(_0x75d1fb=$i(_0x4b7505[_0x4eca7d]))&&(_0x4381f3&&(_0x4381f3+='\x20'),_0x4381f3+=_0x75d1fb);}else{for(_0x75d1fb in _0x4b7505)_0x4b7505[_0x75d1fb]&&(_0x4381f3&&(_0x4381f3+='\x20'),_0x4381f3+=_0x75d1fb);}}}return _0x4381f3;}function ra(){const _0x358b28=_0x4299a1;for(var _0x5b396e,_0x4fa4f6,_0x206806=0x0,_0x54b3d8='',_0xa3ca5f=arguments[_0x358b28(0x256)];_0x206806<_0xa3ca5f;_0x206806++)(_0x5b396e=arguments[_0x206806])&&(_0x4fa4f6=$i(_0x5b396e))&&(_0x54b3d8&&(_0x54b3d8+='\x20'),_0x54b3d8+=_0x4fa4f6);return _0x54b3d8;}const oa=_0x4299a1(0x2a6),aa=_0x4299a1(0x58e),ca=_0x4299a1(0x1ce),ha='univer-online',la=_0x4299a1(0x40b),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x2c7140){const _0x506cb8=_0x4299a1;switch(_0x2c7140){case J[_0x506cb8(0x34a)]:return'collabStatus.offline';case J[_0x506cb8(0x32f)]:return _0x506cb8(0x486);case J[_0x506cb8(0x27d)]:return _0x506cb8(0x297);case J[_0x506cb8(0x381)]:return'collabStatus.notCollab';case J[_0x506cb8(0x591)]:case J[_0x506cb8(0x2f2)]:return _0x506cb8(0x5ad);case J[_0x506cb8(0x353)]:case J[_0x506cb8(0x4ed)]:return'collabStatus.synced';}}function ua(_0x443a47){const _0x25f73e=_0x4299a1,{status$:_0x25232a}=_0x443a47,_0xabeedf=_0x4fa1dd(_0x25232a,J[_0x25f73e(0x381)]),_0x2551ec=_0x36573a(_0x44ee4c),_0x5e176d=_0x36573a(Ae),_0x460c5f=_0xabeedf!==J[_0x25f73e(0x34a)],_0xc8d2d4=_0x2551ec['t'](_a(_0xabeedf)),_0x5b58f9=ra(Ze[_0x25f73e(0x519)],{[Ze[_0x25f73e(0x521)]]:_0x460c5f,[Ze[_0x25f73e(0x210)]]:!_0x460c5f}),_0xaa1e19=_0x460c5f?_0x182f95['createElement'](Li,null):_0x182f95[_0x25f73e(0x4e1)](xi,null),_0x391873=_0x222b82(()=>{_0x460c5f||_0x5e176d['reconnect']();},[_0x460c5f,_0x5e176d]);function _0x5251a8(){const _0x5f5d19=_0x25f73e;return _0x182f95[_0x5f5d19(0x4e1)]('div',{'className':_0x5b58f9,'onClick':_0x391873},_0x182f95[_0x5f5d19(0x4e1)](_0x5f5d19(0x2f3),{'className':Ze[_0x5f5d19(0x5c0)]},_0xaa1e19),_0x182f95[_0x5f5d19(0x4e1)](_0x5f5d19(0x2f3),{'className':Ze[_0x5f5d19(0x505)]},_0xc8d2d4));}return _0x460c5f?_0x5251a8():_0x182f95[_0x25f73e(0x4e1)](_0x2061dd,{'title':_0x2551ec['t']('collab-client.tooltip.reconnect')},_0x5251a8());}var da=Object['defineProperty'],fa=Object[_0x4299a1(0x563)],va=(_0x12591a,_0x4ada87,_0x2bd64f,_0x4facbf)=>{const _0x42b4d6=_0x4299a1;for(var _0x38d6bb=_0x4facbf>0x1?void 0x0:_0x4facbf?fa(_0x4ada87,_0x2bd64f):_0x4ada87,_0x21008d=_0x12591a[_0x42b4d6(0x256)]-0x1,_0x17fbba;_0x21008d>=0x0;_0x21008d--)(_0x17fbba=_0x12591a[_0x21008d])&&(_0x38d6bb=(_0x4facbf?_0x17fbba(_0x4ada87,_0x2bd64f,_0x38d6bb):_0x17fbba(_0x38d6bb))||_0x38d6bb);return _0x4facbf&&_0x38d6bb&&da(_0x4ada87,_0x2bd64f,_0x38d6bb),_0x38d6bb;},lt=(_0x377de8,_0x5b7fd6)=>(_0x278454,_0x2f6307)=>_0x5b7fd6(_0x278454,_0x2f6307,_0x377de8);let It=class extends _0x3ee966{constructor(_0x44ad5a,_0xd6cb12,_0x2550f1,_0x18c1c2){const _0x42341a=_0x4299a1;super(),g(this,_0x42341a(0x3d5),new _0x37eed6(J[_0x42341a(0x381)])),(this['_univerInstanceService']=_0x44ad5a,this[_0x42341a(0x347)]=_0xd6cb12,this[_0x42341a(0x557)]=_0x2550f1,this[_0x42341a(0x4f2)]=_0x18c1c2,this[_0x42341a(0x572)](),this[_0x42341a(0x305)]());}[_0x4299a1(0x305)](){const _0x3b7c59=_0x4299a1;this[_0x3b7c59(0x5b7)](this[_0x3b7c59(0x35b)]['focused$'][_0x3b7c59(0x35f)](_0x44c2df(()=>{const _0x419c20=_0x3b7c59,_0x17f0cc=this['_univerInstanceService'][_0x419c20(0x428)]();return _0x17f0cc?this[_0x419c20(0x4f2)][_0x419c20(0x34c)](_0x17f0cc[_0x419c20(0x1e9)]()):_0x3de089(null);}),_0x44c2df(_0x174c3a=>_0x174c3a?_0x174c3a[_0x3b7c59(0x533)]:_0x3de089(J[_0x3b7c59(0x381)])))['subscribe'](_0x29fffc=>{const _0x12c030=_0x3b7c59;this[_0x12c030(0x3d5)][_0x12c030(0x419)](_0x29fffc);}));}[_0x4299a1(0x572)](){const _0x8f85c5=_0x4299a1;this[_0x8f85c5(0x5b7)](this[_0x8f85c5(0x347)][_0x8f85c5(0x520)](_0x5ba1d4[_0x8f85c5(0x1e3)],()=>_0x30cbe9(ma({'status$':this['_status$'][_0x8f85c5(0x42a)]()}),this[_0x8f85c5(0x557)])));}};It=va([lt(0x0,_0x19bced),lt(0x1,_0x321318),lt(0x2,_0x2f5cfe(_0x22006e)),lt(0x3,_0x2f5cfe(it))],It);function ma(_0x387b1f){const {status$:_0x348ad7}=_0x387b1f;return function(){const _0xa89157=_0x1dba;return _0x182f95[_0xa89157(0x4e1)](ua,{'status$':_0x348ad7});};}const Hi=_0x47ec37('uni.network.url-service');var pa=Object[_0x4299a1(0x5c7)],ga=Object[_0x4299a1(0x563)],Sa=(_0x504ee7,_0x42ab3b,_0x387d33,_0x3ffd5b)=>{for(var _0x22c54e=_0x3ffd5b>0x1?void 0x0:_0x3ffd5b?ga(_0x42ab3b,_0x387d33):_0x42ab3b,_0x6d54eb=_0x504ee7['length']-0x1,_0x1562b0;_0x6d54eb>=0x0;_0x6d54eb--)(_0x1562b0=_0x504ee7[_0x6d54eb])&&(_0x22c54e=(_0x3ffd5b?_0x1562b0(_0x42ab3b,_0x387d33,_0x22c54e):_0x1562b0(_0x22c54e))||_0x22c54e);return _0x3ffd5b&&_0x22c54e&&pa(_0x42ab3b,_0x387d33,_0x22c54e),_0x22c54e;},ke=(_0x2e2d98,_0x137b85)=>(_0xe14a88,_0x30c56a)=>_0x137b85(_0xe14a88,_0x30c56a,_0x2e2d98);let Ct=class extends _0x737a66{constructor(_0x3c640a,_0x575e1b,_0x445716,_0x6c4e5,_0x2d1ce7,_0x559b2b){const _0x435550=_0x4299a1;super(),this[_0x435550(0x545)]=_0x3c640a,this[_0x435550(0x327)]=_0x575e1b,this[_0x435550(0x33f)]=_0x445716,this[_0x435550(0x3ac)]=_0x6c4e5,this[_0x435550(0x4d9)]=_0x2d1ce7,_0x559b2b?_0x559b2b==null||_0x559b2b['whenReady']()[_0x435550(0x4ad)](()=>this['_init']()):(this[_0x435550(0x327)]['debug']('[DataLoaderController]',_0x435550(0x461)),this[_0x435550(0x389)]());}async[_0x4299a1(0x389)](){const _0x83dba=_0x4299a1,_0x344a86=this[_0x83dba(0x545)][_0x83dba(0x4d5)](_0x83dba(0x376)),_0x41bc43=this[_0x83dba(0x545)][_0x83dba(0x4d5)](_0x83dba(0x41e));if(!_0x344a86||!_0x41bc43){this[_0x83dba(0x327)][_0x83dba(0x4c1)](_0x83dba(0x3b9),_0x83dba(0x1f0));return;}switch(Number(_0x41bc43)){case ce[_0x83dba(0x247)]:{const _0x1c73c0=await this['_loadSheet'](_0x344a86);this[_0x83dba(0x440)](_0x1c73c0);break;}case ce['UNIVER_DOC']:{await this[_0x83dba(0x2c5)](_0x344a86);break;}default:{this[_0x83dba(0x327)][_0x83dba(0x1c9)](_0x83dba(0x3b9),_0x83dba(0x2c8));break;}}}async[_0x4299a1(0x440)](_0x27ea9e){const _0x3cbb8f=_0x4299a1;await this[_0x3cbb8f(0x50d)](_0x27ea9e),_0x27ea9e[_0x3cbb8f(0x568)]['pipe'](_0x2fa59a(this['dispose$']))[_0x3cbb8f(0x487)](_0x2849b3=>{_0x2849b3&&this['_updateURLWithCurrentState'](_0x2849b3);}),this[_0x3cbb8f(0x545)][_0x3cbb8f(0x2de)][_0x3cbb8f(0x35f)](_0x2fa59a(this[_0x3cbb8f(0x47b)]))[_0x3cbb8f(0x487)](()=>this['_updateSubUnitFromURLParams'](_0x27ea9e));}['_updateURLWithCurrentState'](_0x5ac880,_0x3ac18c=!0x1){const _0x35b427=_0x4299a1,_0xfe6222=this['_urlService']['getParam'](_0x35b427(0x442));_0x5ac880[_0x35b427(0x1d0)]()!==_0xfe6222&&this['_urlService'][_0x35b427(0x3c5)](_0x35b427(0x442),_0x5ac880['getSheetId'](),_0x3ac18c);}async[_0x4299a1(0x50d)](_0x145397){const _0x23ba77=_0x4299a1;var _0x3cdd95;const _0x83ca01=this[_0x23ba77(0x545)][_0x23ba77(0x4d5)](_0x23ba77(0x442));if(!_0x83ca01||!_0x145397[_0x23ba77(0x283)](_0x83ca01)){const _0x560f38=_0x145397[_0x23ba77(0x344)]()[0x0],_0x5762c9=_0x145397['getSheetBySheetId'](_0x560f38);if(!_0x5762c9)return;this[_0x23ba77(0x555)](_0x5762c9,!0x0),await this[_0x23ba77(0x33f)]['executeCommand'](_0xa4b7c1['id'],{'unitId':_0x145397['getUnitId'](),'subUnitId':_0x560f38});return;}((_0x3cdd95=_0x145397[_0x23ba77(0x46c)]())==null?void 0x0:_0x3cdd95[_0x23ba77(0x1d0)]())!==_0x83ca01&&await this['_commandService'][_0x23ba77(0x23c)](_0xa4b7c1['id'],{'unitId':_0x145397[_0x23ba77(0x1e9)](),'subUnitId':_0x83ca01});}async[_0x4299a1(0x1f6)](_0x47de88){const _0x54e510=_0x4299a1;let _0x4b6172=0x0;const _0x3411c6=await this['_localCacheService']['loadOfflineData'](_0x47de88);return _0x3411c6&&(_0x3411c6[_0x54e510(0x511)]||_0x3411c6['mutations'][_0x54e510(0x256)]!==0x0)&&(_0x4b6172=_0x3411c6['rev']),_0x4b6172===0x0&&this['_logService'][_0x54e510(0x4c1)](_0x54e510(0x3b9),_0x54e510(0x349)),this[_0x54e510(0x4d9)][_0x54e510(0x292)](_0x47de88,_0x4b6172);}async[_0x4299a1(0x2c5)](_0x2f5672){const _0x3b664d=_0x4299a1;let _0xa14570=0x0;const _0x2543e3=await this[_0x3b664d(0x3ac)][_0x3b664d(0x2e9)](_0x2f5672);return _0x2543e3&&(_0x2543e3[_0x3b664d(0x511)]||_0x2543e3[_0x3b664d(0x3e7)]['length']!==0x0)&&(_0xa14570=_0x2543e3[_0x3b664d(0x243)]),_0xa14570===0x0&&this[_0x3b664d(0x327)][_0x3b664d(0x4c1)](_0x3b664d(0x3b9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x3b664d(0x4d9)][_0x3b664d(0x380)](_0x2f5672,_0xa14570);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x105261),ke(0x2,_0x2d1134),ke(0x3,_0x2f5cfe(q)),ke(0x4,_0x2f5cfe(_0x334813)),ke(0x5,_0x2d2324(_0x5a4eeb))],Ct);var Ia=Object[_0x4299a1(0x5c7)],Ca=Object['getOwnPropertyDescriptor'],Ea=(_0x7b58c1,_0x2e1386,_0x11e69a,_0x28249a)=>{for(var _0x3c2fbc=_0x28249a>0x1?void 0x0:_0x28249a?Ca(_0x2e1386,_0x11e69a):_0x2e1386,_0x33586f=_0x7b58c1['length']-0x1,_0x31493f;_0x33586f>=0x0;_0x33586f--)(_0x31493f=_0x7b58c1[_0x33586f])&&(_0x3c2fbc=(_0x28249a?_0x31493f(_0x2e1386,_0x11e69a,_0x3c2fbc):_0x31493f(_0x3c2fbc))||_0x3c2fbc);return _0x28249a&&_0x3c2fbc&&Ia(_0x2e1386,_0x11e69a,_0x3c2fbc),_0x3c2fbc;},zs=(_0x359d04,_0x38d4f6)=>(_0x4a1d87,_0x1062e7)=>_0x38d4f6(_0x4a1d87,_0x1062e7,_0x359d04);const ba=_0x4299a1(0x36c),Ta=_0x4299a1(0x27e);let Et=class extends _0x3ee966{constructor(_0x9d5986,_0x5e401d){const _0x45c3ca=_0x4299a1;super(),this[_0x45c3ca(0x35b)]=_0x9d5986,this[_0x45c3ca(0x4cf)]=_0x5e401d,this['_init']();}[_0x4299a1(0x389)](){const _0x4a6052=_0x4299a1;this[_0x4a6052(0x5b7)](this[_0x4a6052(0x35b)][_0x4a6052(0x264)][_0x4a6052(0x487)](()=>{const _0x18077f=_0x4a6052;var _0x1347f5;const _0x433b53=this[_0x18077f(0x35b)][_0x18077f(0x428)]();let _0x5463da=(_0x1347f5=this[_0x18077f(0x4cf)][_0x18077f(0x2b6)](ba))!=null?_0x1347f5:Ta;_0x433b53 instanceof _0x2eb2b2&&(_0x5463da=_0x433b53[_0x18077f(0x597)]),document[_0x18077f(0x3c6)]=_0x5463da;}));}};Et=Ea([zs(0x0,_0x19bced),zs(0x1,_0x3fd15e)],Et);var Ra=Object[_0x4299a1(0x5c7)],ya=Object[_0x4299a1(0x563)],Oa=(_0x51db66,_0x4055a5,_0x136b54,_0x321d49)=>{const _0x3cd067=_0x4299a1;for(var _0xefb727=_0x321d49>0x1?void 0x0:_0x321d49?ya(_0x4055a5,_0x136b54):_0x4055a5,_0x28523c=_0x51db66[_0x3cd067(0x256)]-0x1,_0x210034;_0x28523c>=0x0;_0x28523c--)(_0x210034=_0x51db66[_0x28523c])&&(_0xefb727=(_0x321d49?_0x210034(_0x4055a5,_0x136b54,_0xefb727):_0x210034(_0xefb727))||_0xefb727);return _0x321d49&&_0xefb727&&Ra(_0x4055a5,_0x136b54,_0xefb727),_0xefb727;},Wt=(_0x5e4787,_0x13d69b)=>(_0x3df27a,_0x5c7cd1)=>_0x13d69b(_0x3df27a,_0x5c7cd1,_0x5e4787);let bt=class{constructor(_0x400214,_0xc6c73,_0x2dab4c){const _0x5da53e=_0x4299a1;this[_0x5da53e(0x4cf)]=_0x400214,this['_httpService']=_0xc6c73,this[_0x5da53e(0x3d2)]=_0x2dab4c,this[_0x5da53e(0x369)]();}[_0x4299a1(0x369)](){const _0x4042f8=_0x4299a1;this[_0x4042f8(0x28d)][_0x4042f8(0x537)]({'priority':0x1,'interceptor':(_0x2789cd,_0x18bc17)=>_0x18bc17(_0x2789cd)[_0x4042f8(0x35f)](_0x514c5c(async _0x415927=>{const _0x4a1f6d=_0x4042f8,_0x319c83=_0x415927;if(_0x319c83[_0x4a1f6d(0x485)]===0x191&&window[_0x4a1f6d(0x268)](this[_0x4a1f6d(0x3d2)]['t'](_0x4a1f6d(0x594)))){const _0x2374e8=window[_0x4a1f6d(0x3f6)](window[_0x4a1f6d(0x212)]['href']);window[_0x4a1f6d(0x212)][_0x4a1f6d(0x491)]=this[_0x4a1f6d(0x1d8)]()+'?url='+_0x2374e8;}return _0x319c83;}))});}[_0x4299a1(0x1d8)](){const _0x101d6d=_0x4299a1;var _0x4a3d93,_0x34ca70;const _0x5d9524=this[_0x101d6d(0x4cf)][_0x101d6d(0x2b6)](Ir),_0x22aff4=this[_0x101d6d(0x4cf)]['getConfig'](ie);return(_0x34ca70=(_0x4a3d93=_0x22aff4==null?void 0x0:_0x22aff4[_0x101d6d(0x53e)])!=null?_0x4a3d93:_0x5d9524)!=null?_0x34ca70:Cr;}};bt=Oa([Wt(0x0,_0x3fd15e),Wt(0x1,_0x2f5cfe(_0x56ddfb)),Wt(0x2,_0x2f5cfe(_0x44ee4c))],bt);var wa=Object[_0x4299a1(0x5c7)],Da=Object[_0x4299a1(0x563)],Pa=(_0x12956b,_0x388077,_0x3e86ac,_0x3c68ee)=>{const _0x4a0726=_0x4299a1;for(var _0x528466=_0x3c68ee>0x1?void 0x0:_0x3c68ee?Da(_0x388077,_0x3e86ac):_0x388077,_0x3f2acd=_0x12956b[_0x4a0726(0x256)]-0x1,_0x3a6cc8;_0x3f2acd>=0x0;_0x3f2acd--)(_0x3a6cc8=_0x12956b[_0x3f2acd])&&(_0x528466=(_0x3c68ee?_0x3a6cc8(_0x388077,_0x3e86ac,_0x528466):_0x3a6cc8(_0x528466))||_0x528466);return _0x3c68ee&&_0x528466&&wa(_0x388077,_0x3e86ac,_0x528466),_0x528466;},qs=(_0x1adab6,_0xa18d6e)=>(_0x5087b7,_0x5382b5)=>_0xa18d6e(_0x5087b7,_0x5382b5,_0x1adab6);const Ua=_0x4299a1(0x22b),Na=_0x4299a1(0x52f);let cs=class extends _0x3ee966{constructor(_0x3d1412,_0x89b32f){const _0x17d03e=_0x4299a1;super(),this[_0x17d03e(0x2a3)]=_0x3d1412,this[_0x17d03e(0x4cf)]=_0x89b32f,this['_initMergeInterceptor']();}[_0x4299a1(0x4c5)](){const _0x55700=_0x4299a1,_0x55412f=this;this[_0x55700(0x5b7)](this[_0x55700(0x2a3)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2a7c3d({'isMatch'(_0x17dabc){const _0x44697a=_0x55700;var _0x511fe6;if(_0x17dabc[_0x44697a(0x208)]===_0x44697a(0x1c2)&&((_0x511fe6=_0x17dabc[_0x44697a(0x475)])!=null&&_0x511fe6['body'])){const {objectID:_0x50c7b0,objectType:_0x554a2b}=_0x17dabc[_0x44697a(0x475)][_0x44697a(0x3a6)]||{};if(!_0x50c7b0||_0x554a2b===void 0x0)return!0x1;const _0x1c1c76=_0x55412f['_getAPIPrefixPath']()+'/'+_0x554a2b+'/object/'+_0x50c7b0+_0x44697a(0x5be);if(_0x17dabc[_0x44697a(0x5a4)]===_0x1c1c76)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3d0333){const _0x2c908c=_0x55700;var _0x52369d;return(_0x52369d=_0x3d0333['requestParams'])==null?void 0x0:_0x52369d[_0x2c908c(0x3a6)];},'mergeParamsToRequest'(_0x5e5455,_0xa17c7c){const _0x2edb39=_0x55700,_0x2b927b=_0x55412f[_0x2edb39(0x1fd)]()+_0x2edb39(0x5ab),_0x223db5=_0x5e5455[_0x2edb39(0x273)]((_0x5c5d07,_0x2c773b)=>{const _0x65c6f0=_0x2edb39,{unitID:_0x4e25e7,objectID:_0x1b6f2f,objectType:_0x309912,actions:_0x312ef6}=_0x2c773b;return _0x5c5d07[_0x4e25e7]||(_0x5c5d07[_0x4e25e7]={}),_0x5c5d07[_0x4e25e7][_0x1b6f2f]||(_0x5c5d07[_0x4e25e7][_0x1b6f2f]={'objectID':_0x1b6f2f,'objectType':_0x309912,'actions':[]}),_0x5c5d07[_0x4e25e7][_0x1b6f2f][_0x65c6f0(0x3b6)][_0x65c6f0(0x499)](..._0x312ef6),_0x5c5d07;},{}),_0x4c3d95=[];for(const _0x508072 in _0x223db5)for(const _0x126b77 in _0x223db5[_0x508072]){const {actions:_0x49e1e8,objectType:_0x3bd30c}=_0x223db5[_0x508072][_0x126b77],_0x48ca19=[...new Set(_0x49e1e8)];_0x4c3d95['push']({'unitID':_0x508072,'objectID':_0x126b77,'objectType':_0x3bd30c,'actions':_0x48ca19});}return new _0x1e784c('POST',_0x2b927b,{'headers':_0xa17c7c[_0x2edb39(0x1eb)],'withCredentials':_0xa17c7c[_0x2edb39(0x1d9)],'responseType':_0xa17c7c[_0x2edb39(0x259)],'body':{'requests':_0x4c3d95}});}},{'distributeResult'(_0x2691b2,_0x198297){const _0x1dde96=_0x55700,{objectActions:_0x188d3d}=_0x2691b2;return _0x198297[_0x1dde96(0x272)](_0x118251=>{const _0x55c32c=_0x1dde96,{unitID:_0x20cb4b,objectID:_0x27621c,actions:_0x537d3c}=_0x118251,_0x1fa774=_0x188d3d[_0x55c32c(0x530)](_0xb261f3=>_0xb261f3[_0x55c32c(0x3cd)]===_0x20cb4b&&_0xb261f3[_0x55c32c(0x406)]===_0x27621c),_0x597998=_0x537d3c[_0x55c32c(0x272)](_0xd45648=>_0x1fa774==null?void 0x0:_0x1fa774[_0x55c32c(0x3b6)][_0x55c32c(0x530)](_0x3131c4=>_0x3131c4['action']===_0xd45648))[_0x55c32c(0x263)](_0x48e49e=>!!_0x48e49e);return{'config':_0x118251,'result':{'actions':_0x597998,'error':_0x2691b2[_0x55c32c(0x1c9)]}};});}})}));}[_0x4299a1(0x1fd)](){const _0x4ed68c=_0x4299a1;var _0x33f023,_0x219c89;const _0x42d76f=this[_0x4ed68c(0x4cf)]['getConfig'](Ua),_0x43f0be=this[_0x4ed68c(0x4cf)]['getConfig'](ie);return(_0x219c89=(_0x33f023=_0x43f0be==null?void 0x0:_0x43f0be[_0x4ed68c(0x1d6)])!=null?_0x33f023:_0x42d76f)!=null?_0x219c89:Na;}async[_0x4299a1(0x2f1)](_0x1ba264){const _0x1c453d=_0x4299a1,_0x182c92=this['_getAPIPrefixPath']()+'/'+_0x1ba264['objectType']+'/object';return(await this['_HTTPService'][_0x1c453d(0x293)](_0x182c92,{'body':_0x1ba264}))[_0x1c453d(0x3a6)][_0x1c453d(0x406)]||'';}async['list'](_0x3b216e){const _0x1bac1f=_0x4299a1,_0x1cd7f2=this[_0x1bac1f(0x1fd)]()+_0x1bac1f(0x295);return(await this['_HTTPService'][_0x1bac1f(0x293)](_0x1cd7f2,{'body':_0x3b216e}))[_0x1bac1f(0x3a6)][_0x1bac1f(0x26a)];}async[_0x4299a1(0x307)](_0x36cc7c){const _0x164e33=_0x4299a1,_0x4f173e=this[_0x164e33(0x1fd)]()+'/'+_0x36cc7c[_0x164e33(0x289)]+_0x164e33(0x328)+_0x36cc7c['objectID'];await this['_HTTPService'][_0x164e33(0x2db)](_0x4f173e,{'body':_0x36cc7c});}async[_0x4299a1(0x483)](_0x48a8ac){const _0x214ec9=_0x4299a1,_0xef64c7=this['_getAPIPrefixPath']()+'/'+_0x48a8ac['objectType']+'/object/'+_0x48a8ac[_0x214ec9(0x406)]+_0x214ec9(0x5be);return(await this[_0x214ec9(0x2a3)][_0x214ec9(0x293)](_0xef64c7,{'body':_0x48a8ac}))['body'][_0x214ec9(0x3b6)];}async[_0x4299a1(0x431)](_0x5ca439){const _0x2488c5=_0x4299a1,_0x228fe1=this[_0x2488c5(0x1fd)]()+_0x2488c5(0x5ab);return(await this[_0x2488c5(0x2a3)]['post'](_0x228fe1,{'body':{'requests':_0x5ca439}}))[_0x2488c5(0x3a6)][_0x2488c5(0x570)];}async['listRoles'](_0xda0441){const _0x3c1bc7=_0x4299a1,_0x97b140=this[_0x3c1bc7(0x1fd)]()+'/'+_0xda0441[_0x3c1bc7(0x289)]+'/role',_0x50f864=await this[_0x3c1bc7(0x2a3)][_0x3c1bc7(0x293)](_0x97b140,{'body':_0xda0441});return{'roles':_0x50f864[_0x3c1bc7(0x3a6)][_0x3c1bc7(0x3ad)],'actions':_0x50f864[_0x3c1bc7(0x3a6)]['actions']};}async[_0x4299a1(0x385)](_0x15dcf3){const _0xf2c300=_0x4299a1,_0x5ac121=this[_0xf2c300(0x1fd)]()+'/collaborator';await this[_0xf2c300(0x2a3)]['delete'](_0x5ac121,{'params':{'collaboratorID':_0x15dcf3[_0xf2c300(0x21f)],'objectID':_0x15dcf3[_0xf2c300(0x406)],'unitID':_0x15dcf3[_0xf2c300(0x3cd)]}});}async['updateCollaborator'](_0x48725c){const _0x425114=_0x4299a1,_0x267efd=this[_0x425114(0x1fd)]()+_0x425114(0x413);await this[_0x425114(0x2a3)][_0x425114(0x249)](_0x267efd,{'body':_0x48725c});}async[_0x4299a1(0x54b)](_0x35becf){const _0x4ad179=_0x4299a1,_0x1f0ae2=this[_0x4ad179(0x1fd)]()+_0x4ad179(0x413);await this[_0x4ad179(0x2a3)][_0x4ad179(0x293)](_0x1f0ae2,{'body':_0x35becf});}async[_0x4299a1(0x438)](_0x1d13a9){const _0x340abb=_0x4299a1,_0xc78b87=this[_0x340abb(0x1fd)]()+'/collaborator';return(await this[_0x340abb(0x2a3)][_0x340abb(0x401)](_0xc78b87,{'params':{'objectID':_0x1d13a9[_0x340abb(0x406)],'unitID':_0x1d13a9['unitID']}}))[_0x340abb(0x3a6)]['collaborators'];}async[_0x4299a1(0x40d)](_0x37c1a7){const _0x45f9c2=_0x4299a1,_0x483ed9=this['_getAPIPrefixPath']()+_0x45f9c2(0x413);await this[_0x45f9c2(0x2a3)]['put'](_0x483ed9,{'body':_0x37c1a7});}};cs=Pa([qs(0x0,_0x2f5cfe(_0x56ddfb)),qs(0x1,_0x2f5cfe(_0x3fd15e))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x5c7001){const _0x2b8b28=_0x4299a1;return _0x5c7001&&_0x5c7001[_0x2b8b28(0x42c)]&&Object[_0x2b8b28(0x313)][_0x2b8b28(0x225)][_0x2b8b28(0x211)](_0x5c7001,_0x2b8b28(0x5b8))?_0x5c7001[_0x2b8b28(0x5b8)]:_0x5c7001;}var ji={'exports':{}};function Aa(_0x3e05e2){const _0xb8bfdc=_0x4299a1;throw new Error(_0xb8bfdc(0x4ea)+_0x3e05e2+_0xb8bfdc(0x345));}var Ft={'exports':{}},Xs;function ue(){const _0x607343=_0x4299a1;return Xs||(Xs=0x1,function(_0x4f4351,_0x4a4ac0){(function(_0x11e010,_0x3b765a){const _0xc18c31=_0x1dba;_0x4f4351[_0xc18c31(0x1dc)]=_0x3b765a();}(Z,function(){var _0x48b6e8=_0x48b6e8||function(_0x176a63,_0x20583e){const _0x655074=_0x1dba;var _0x5dee38;if(typeof window<'u'&&window['crypto']&&(_0x5dee38=window[_0x655074(0x21e)]),typeof self<'u'&&self[_0x655074(0x21e)]&&(_0x5dee38=self[_0x655074(0x21e)]),typeof globalThis<'u'&&globalThis[_0x655074(0x21e)]&&(_0x5dee38=globalThis[_0x655074(0x21e)]),!_0x5dee38&&typeof window<'u'&&window[_0x655074(0x394)]&&(_0x5dee38=window[_0x655074(0x394)]),!_0x5dee38&&typeof Z<'u'&&Z[_0x655074(0x21e)]&&(_0x5dee38=Z[_0x655074(0x21e)]),!_0x5dee38&&typeof Aa==_0x655074(0x382))try{_0x5dee38=require(_0x655074(0x21e));}catch{}var _0x10296f=function(){const _0x14aaab=_0x655074;if(_0x5dee38){if(typeof _0x5dee38[_0x14aaab(0x579)]=='function')try{return _0x5dee38['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5dee38[_0x14aaab(0x1de)]=='function')try{return _0x5dee38[_0x14aaab(0x1de)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x31fb23=Object['create']||(function(){function _0x3296cc(){}return function(_0x5aa770){const _0x364a0e=_0x1dba;var _0x43657f;return _0x3296cc['prototype']=_0x5aa770,_0x43657f=new _0x3296cc(),_0x3296cc[_0x364a0e(0x313)]=null,_0x43657f;};}()),_0x4b5f92={},_0x565d89=_0x4b5f92['lib']={},_0x1e32ea=_0x565d89['Base']=(function(){return{'extend':function(_0x3c959b){const _0xf16258=_0x1dba;var _0x25912b=_0x31fb23(this);return _0x3c959b&&_0x25912b[_0xf16258(0x539)](_0x3c959b),(!_0x25912b[_0xf16258(0x225)](_0xf16258(0x369))||this['init']===_0x25912b[_0xf16258(0x369)])&&(_0x25912b[_0xf16258(0x369)]=function(){const _0x3d880c=_0xf16258;_0x25912b[_0x3d880c(0x4d8)][_0x3d880c(0x369)][_0x3d880c(0x5cb)](this,arguments);}),_0x25912b[_0xf16258(0x369)][_0xf16258(0x313)]=_0x25912b,_0x25912b[_0xf16258(0x4d8)]=this,_0x25912b;},'create':function(){const _0x414fb8=_0x1dba;var _0x1e9497=this[_0x414fb8(0x257)]();return _0x1e9497[_0x414fb8(0x369)]['apply'](_0x1e9497,arguments),_0x1e9497;},'init':function(){},'mixIn':function(_0xeccccc){const _0x35f44d=_0x1dba;for(var _0x2ef3d2 in _0xeccccc)_0xeccccc[_0x35f44d(0x225)](_0x2ef3d2)&&(this[_0x2ef3d2]=_0xeccccc[_0x2ef3d2]);_0xeccccc[_0x35f44d(0x225)](_0x35f44d(0x37a))&&(this['toString']=_0xeccccc['toString']);},'clone':function(){const _0x486a81=_0x1dba;return this[_0x486a81(0x369)][_0x486a81(0x313)][_0x486a81(0x257)](this);}};}()),_0x282213=_0x565d89['WordArray']=_0x1e32ea['extend']({'init':function(_0x2126a8,_0x1444e3){const _0x20db04=_0x655074;_0x2126a8=this[_0x20db04(0x1e1)]=_0x2126a8||[],_0x1444e3!=_0x20583e?this[_0x20db04(0x2e5)]=_0x1444e3:this[_0x20db04(0x2e5)]=_0x2126a8[_0x20db04(0x256)]*0x4;},'toString':function(_0x2134f2){const _0x449c38=_0x655074;return(_0x2134f2||_0x153370)[_0x449c38(0x1fb)](this);},'concat':function(_0x45b286){const _0x138e41=_0x655074;var _0x1b834c=this[_0x138e41(0x1e1)],_0x4d3ed9=_0x45b286[_0x138e41(0x1e1)],_0x496b6f=this[_0x138e41(0x2e5)],_0x2f533d=_0x45b286['sigBytes'];if(this['clamp'](),_0x496b6f%0x4)for(var _0x122b58=0x0;_0x122b58<_0x2f533d;_0x122b58++){var _0x5f0f2f=_0x4d3ed9[_0x122b58>>>0x2]>>>0x18-_0x122b58%0x4*0x8&0xff;_0x1b834c[_0x496b6f+_0x122b58>>>0x2]|=_0x5f0f2f<<0x18-(_0x496b6f+_0x122b58)%0x4*0x8;}else{for(var _0x5f399f=0x0;_0x5f399f<_0x2f533d;_0x5f399f+=0x4)_0x1b834c[_0x496b6f+_0x5f399f>>>0x2]=_0x4d3ed9[_0x5f399f>>>0x2];}return this[_0x138e41(0x2e5)]+=_0x2f533d,this;},'clamp':function(){const _0x4ec68d=_0x655074;var _0x34e206=this[_0x4ec68d(0x1e1)],_0x3eb8a8=this[_0x4ec68d(0x2e5)];_0x34e206[_0x3eb8a8>>>0x2]&=0xffffffff<<0x20-_0x3eb8a8%0x4*0x8,_0x34e206['length']=_0x176a63[_0x4ec68d(0x4b8)](_0x3eb8a8/0x4);},'clone':function(){const _0x1a32e6=_0x655074;var _0x935317=_0x1e32ea[_0x1a32e6(0x3e9)]['call'](this);return _0x935317[_0x1a32e6(0x1e1)]=this[_0x1a32e6(0x1e1)][_0x1a32e6(0x375)](0x0),_0x935317;},'random':function(_0x2eadcf){const _0x526853=_0x655074;for(var _0x23d281=[],_0xda7789=0x0;_0xda7789<_0x2eadcf;_0xda7789+=0x4)_0x23d281[_0x526853(0x499)](_0x10296f());return new _0x282213[(_0x526853(0x369))](_0x23d281,_0x2eadcf);}}),_0x4b6973=_0x4b5f92['enc']={},_0x153370=_0x4b6973['Hex']={'stringify':function(_0x33f115){const _0x41427c=_0x655074;for(var _0x26134b=_0x33f115[_0x41427c(0x1e1)],_0x35a62d=_0x33f115[_0x41427c(0x2e5)],_0x407cf7=[],_0x55ed3e=0x0;_0x55ed3e<_0x35a62d;_0x55ed3e++){var _0x344c61=_0x26134b[_0x55ed3e>>>0x2]>>>0x18-_0x55ed3e%0x4*0x8&0xff;_0x407cf7[_0x41427c(0x499)]((_0x344c61>>>0x4)[_0x41427c(0x37a)](0x10)),_0x407cf7[_0x41427c(0x499)]((_0x344c61&0xf)[_0x41427c(0x37a)](0x10));}return _0x407cf7[_0x41427c(0x5c1)]('');},'parse':function(_0x4ae9f4){const _0x240911=_0x655074;for(var _0x557673=_0x4ae9f4[_0x240911(0x256)],_0x2175cd=[],_0xd56cec=0x0;_0xd56cec<_0x557673;_0xd56cec+=0x2)_0x2175cd[_0xd56cec>>>0x3]|=parseInt(_0x4ae9f4['substr'](_0xd56cec,0x2),0x10)<<0x18-_0xd56cec%0x8*0x4;return new _0x282213[(_0x240911(0x369))](_0x2175cd,_0x557673/0x2);}},_0x584979=_0x4b6973[_0x655074(0x3b8)]={'stringify':function(_0x54eb2e){const _0x1f3753=_0x655074;for(var _0x44e4ad=_0x54eb2e[_0x1f3753(0x1e1)],_0x59169e=_0x54eb2e['sigBytes'],_0x23fbf7=[],_0x59668a=0x0;_0x59668a<_0x59169e;_0x59668a++){var _0x3ff6ac=_0x44e4ad[_0x59668a>>>0x2]>>>0x18-_0x59668a%0x4*0x8&0xff;_0x23fbf7[_0x1f3753(0x499)](String[_0x1f3753(0x340)](_0x3ff6ac));}return _0x23fbf7['join']('');},'parse':function(_0x4c42ce){const _0x39ba1c=_0x655074;for(var _0x4bd624=_0x4c42ce[_0x39ba1c(0x256)],_0x208ef9=[],_0x28c4d4=0x0;_0x28c4d4<_0x4bd624;_0x28c4d4++)_0x208ef9[_0x28c4d4>>>0x2]|=(_0x4c42ce['charCodeAt'](_0x28c4d4)&0xff)<<0x18-_0x28c4d4%0x4*0x8;return new _0x282213[(_0x39ba1c(0x369))](_0x208ef9,_0x4bd624);}},_0x1db62a=_0x4b6973[_0x655074(0x529)]={'stringify':function(_0x12bbd2){const _0x33b03a=_0x655074;try{return decodeURIComponent(escape(_0x584979['stringify'](_0x12bbd2)));}catch{throw new Error(_0x33b03a(0x5bc));}},'parse':function(_0x43118d){return _0x584979['parse'](unescape(encodeURIComponent(_0x43118d)));}},_0x33357a=_0x565d89[_0x655074(0x4ac)]=_0x1e32ea[_0x655074(0x257)]({'reset':function(){const _0x3c992f=_0x655074;this[_0x3c992f(0x3ec)]=new _0x282213['init'](),this[_0x3c992f(0x2c2)]=0x0;},'_append':function(_0x592513){const _0x1746be=_0x655074;typeof _0x592513==_0x1746be(0x3b4)&&(_0x592513=_0x1db62a['parse'](_0x592513)),this[_0x1746be(0x3ec)][_0x1746be(0x34d)](_0x592513),this['_nDataBytes']+=_0x592513[_0x1746be(0x2e5)];},'_process':function(_0x1c90e6){const _0x1cb3e4=_0x655074;var _0x372b03,_0xeeffce=this[_0x1cb3e4(0x3ec)],_0x2e9f69=_0xeeffce['words'],_0x181083=_0xeeffce[_0x1cb3e4(0x2e5)],_0x1054c4=this[_0x1cb3e4(0x54e)],_0x3261f7=_0x1054c4*0x4,_0x39369a=_0x181083/_0x3261f7;_0x1c90e6?_0x39369a=_0x176a63[_0x1cb3e4(0x4b8)](_0x39369a):_0x39369a=_0x176a63['max']((_0x39369a|0x0)-this['_minBufferSize'],0x0);var _0x403a23=_0x39369a*_0x1054c4,_0x12ba17=_0x176a63['min'](_0x403a23*0x4,_0x181083);if(_0x403a23){for(var _0x5e1a40=0x0;_0x5e1a40<_0x403a23;_0x5e1a40+=_0x1054c4)this[_0x1cb3e4(0x3ed)](_0x2e9f69,_0x5e1a40);_0x372b03=_0x2e9f69['splice'](0x0,_0x403a23),_0xeeffce[_0x1cb3e4(0x2e5)]-=_0x12ba17;}return new _0x282213[(_0x1cb3e4(0x369))](_0x372b03,_0x12ba17);},'clone':function(){const _0x4d85e2=_0x655074;var _0x41ee0c=_0x1e32ea[_0x4d85e2(0x3e9)][_0x4d85e2(0x211)](this);return _0x41ee0c['_data']=this[_0x4d85e2(0x3ec)][_0x4d85e2(0x3e9)](),_0x41ee0c;},'_minBufferSize':0x0});_0x565d89[_0x655074(0x5a8)]=_0x33357a['extend']({'cfg':_0x1e32ea[_0x655074(0x257)](),'init':function(_0x2d0694){const _0x3f819f=_0x655074;this[_0x3f819f(0x2e8)]=this[_0x3f819f(0x2e8)][_0x3f819f(0x257)](_0x2d0694),this[_0x3f819f(0x488)]();},'reset':function(){const _0xa751e0=_0x655074;_0x33357a[_0xa751e0(0x488)][_0xa751e0(0x211)](this),this[_0xa751e0(0x287)]();},'update':function(_0x3315b6){const _0x5536c6=_0x655074;return this['_append'](_0x3315b6),this[_0x5536c6(0x4a0)](),this;},'finalize':function(_0x407610){const _0x503f12=_0x655074;_0x407610&&this[_0x503f12(0x282)](_0x407610);var _0x3da073=this['_doFinalize']();return _0x3da073;},'blockSize':0x10,'_createHelper':function(_0x47470b){return function(_0x350283,_0x39c503){const _0x20a43a=_0x1dba;return new _0x47470b['init'](_0x39c503)[_0x20a43a(0x205)](_0x350283);};},'_createHmacHelper':function(_0x31c7e9){return function(_0x30a794,_0x1f36f3){const _0x303046=_0x1dba;return new _0x4ab50b[(_0x303046(0x477))][(_0x303046(0x369))](_0x31c7e9,_0x1f36f3)['finalize'](_0x30a794);};}});var _0x4ab50b=_0x4b5f92[_0x655074(0x3e8)]={};return _0x4b5f92;}(Math);return _0x48b6e8;}));}(Ft)),Ft[_0x607343(0x1dc)];}var Vt={'exports':{}},Js;function Bi(){return Js||(Js=0x1,function(_0x3c3984,_0x18ba50){(function(_0x27d7ee,_0x3ef0e6){const _0x2d59a7=_0x1dba;_0x3c3984[_0x2d59a7(0x1dc)]=_0x3ef0e6(ue());}(Z,function(_0x53cb82){const _0x55a608=_0x1dba;return(function(){const _0x367d62=_0x1dba;var _0x5edeaa=_0x53cb82,_0x5d90d4=_0x5edeaa[_0x367d62(0x457)],_0x17ce17=_0x5d90d4[_0x367d62(0x25c)],_0x11fed2=_0x5edeaa[_0x367d62(0x5b3)];_0x11fed2[_0x367d62(0x27f)]={'stringify':function(_0x4de033){const _0x3f4b66=_0x367d62;var _0x3aaab7=_0x4de033[_0x3f4b66(0x1e1)],_0x229687=_0x4de033['sigBytes'],_0x181e2a=this[_0x3f4b66(0x589)];_0x4de033[_0x3f4b66(0x400)]();for(var _0x53b656=[],_0x5af097=0x0;_0x5af097<_0x229687;_0x5af097+=0x3)for(var _0x3f2d2f=_0x3aaab7[_0x5af097>>>0x2]>>>0x18-_0x5af097%0x4*0x8&0xff,_0x1fca67=_0x3aaab7[_0x5af097+0x1>>>0x2]>>>0x18-(_0x5af097+0x1)%0x4*0x8&0xff,_0x54485a=_0x3aaab7[_0x5af097+0x2>>>0x2]>>>0x18-(_0x5af097+0x2)%0x4*0x8&0xff,_0x5edf82=_0x3f2d2f<<0x10|_0x1fca67<<0x8|_0x54485a,_0x8f9453=0x0;_0x8f9453<0x4&&_0x5af097+_0x8f9453*0.75<_0x229687;_0x8f9453++)_0x53b656[_0x3f4b66(0x499)](_0x181e2a[_0x3f4b66(0x3c2)](_0x5edf82>>>0x6*(0x3-_0x8f9453)&0x3f));var _0x45efad=_0x181e2a[_0x3f4b66(0x3c2)](0x40);if(_0x45efad){for(;_0x53b656[_0x3f4b66(0x256)]%0x4;)_0x53b656[_0x3f4b66(0x499)](_0x45efad);}return _0x53b656['join']('');},'parse':function(_0x5e95f3){const _0x5a6bbf=_0x367d62;var _0x1e5ab3=_0x5e95f3[_0x5a6bbf(0x256)],_0x665630=this[_0x5a6bbf(0x589)],_0x45a614=this[_0x5a6bbf(0x4d3)];if(!_0x45a614){_0x45a614=this[_0x5a6bbf(0x4d3)]=[];for(var _0x2878a4=0x0;_0x2878a4<_0x665630[_0x5a6bbf(0x256)];_0x2878a4++)_0x45a614[_0x665630['charCodeAt'](_0x2878a4)]=_0x2878a4;}var _0x2a882a=_0x665630[_0x5a6bbf(0x3c2)](0x40);if(_0x2a882a){var _0x310406=_0x5e95f3['indexOf'](_0x2a882a);_0x310406!==-0x1&&(_0x1e5ab3=_0x310406);}return _0x2729e3(_0x5e95f3,_0x1e5ab3,_0x45a614);},'_map':_0x367d62(0x2f8)};function _0x2729e3(_0x4cd070,_0x1a89fd,_0x1ba0e0){const _0xc9f67c=_0x367d62;for(var _0x433c08=[],_0xe742ea=0x0,_0x5cc4ac=0x0;_0x5cc4ac<_0x1a89fd;_0x5cc4ac++)if(_0x5cc4ac%0x4){var _0x28f6e5=_0x1ba0e0[_0x4cd070[_0xc9f67c(0x3e5)](_0x5cc4ac-0x1)]<<_0x5cc4ac%0x4*0x2,_0x1ec948=_0x1ba0e0[_0x4cd070[_0xc9f67c(0x3e5)](_0x5cc4ac)]>>>0x6-_0x5cc4ac%0x4*0x2,_0x21284b=_0x28f6e5|_0x1ec948;_0x433c08[_0xe742ea>>>0x2]|=_0x21284b<<0x18-_0xe742ea%0x4*0x8,_0xe742ea++;}return _0x17ce17[_0xc9f67c(0x2f1)](_0x433c08,_0xe742ea);}}()),_0x53cb82['enc'][_0x55a608(0x27f)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Ma(){const _0x31ce88=_0x4299a1;return Zs||(Zs=0x1,function(_0x14dd5a,_0x14f012){(function(_0x4cf3df,_0x2ffbf2){_0x14dd5a['exports']=_0x2ffbf2(ue());}(Z,function(_0x34ced6){const _0x5835f5=_0x1dba;return function(_0x223e13){const _0x186bb8=_0x1dba;var _0x52271f=_0x34ced6,_0xaf968=_0x52271f['lib'],_0x40490a=_0xaf968[_0x186bb8(0x25c)],_0x2e5c18=_0xaf968[_0x186bb8(0x5a8)],_0x27ebac=_0x52271f['algo'],_0x1b224c=[];(function(){const _0x5054f7=_0x186bb8;for(var _0x5c68d0=0x0;_0x5c68d0<0x40;_0x5c68d0++)_0x1b224c[_0x5c68d0]=_0x223e13[_0x5054f7(0x4f3)](_0x223e13[_0x5054f7(0x4b1)](_0x5c68d0+0x1))*0x100000000|0x0;}());var _0x341caa=_0x27ebac['MD5']=_0x2e5c18[_0x186bb8(0x257)]({'_doReset':function(){const _0x3db7f1=_0x186bb8;this[_0x3db7f1(0x3a4)]=new _0x40490a[(_0x3db7f1(0x369))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5a0647,_0x5387d3){const _0x3926c6=_0x186bb8;for(var _0x51c166=0x0;_0x51c166<0x10;_0x51c166++){var _0x33fa8c=_0x5387d3+_0x51c166,_0x2c19d1=_0x5a0647[_0x33fa8c];_0x5a0647[_0x33fa8c]=(_0x2c19d1<<0x8|_0x2c19d1>>>0x18)&0xff00ff|(_0x2c19d1<<0x18|_0x2c19d1>>>0x8)&0xff00ff00;}var _0x73adbf=this[_0x3926c6(0x3a4)][_0x3926c6(0x1e1)],_0x4f3f33=_0x5a0647[_0x5387d3+0x0],_0x141f07=_0x5a0647[_0x5387d3+0x1],_0x411dec=_0x5a0647[_0x5387d3+0x2],_0x230520=_0x5a0647[_0x5387d3+0x3],_0x404dc6=_0x5a0647[_0x5387d3+0x4],_0x206ab8=_0x5a0647[_0x5387d3+0x5],_0x5391f8=_0x5a0647[_0x5387d3+0x6],_0x1b1df3=_0x5a0647[_0x5387d3+0x7],_0x5b264d=_0x5a0647[_0x5387d3+0x8],_0x320a00=_0x5a0647[_0x5387d3+0x9],_0x38269c=_0x5a0647[_0x5387d3+0xa],_0x4f415c=_0x5a0647[_0x5387d3+0xb],_0x216479=_0x5a0647[_0x5387d3+0xc],_0x4137af=_0x5a0647[_0x5387d3+0xd],_0x25cff7=_0x5a0647[_0x5387d3+0xe],_0x3c03a2=_0x5a0647[_0x5387d3+0xf],_0x176d1b=_0x73adbf[0x0],_0x52cf30=_0x73adbf[0x1],_0x3c4821=_0x73adbf[0x2],_0x4b5650=_0x73adbf[0x3];_0x176d1b=_0x38e427(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x4f3f33,0x7,_0x1b224c[0x0]),_0x4b5650=_0x38e427(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x141f07,0xc,_0x1b224c[0x1]),_0x3c4821=_0x38e427(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x411dec,0x11,_0x1b224c[0x2]),_0x52cf30=_0x38e427(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x230520,0x16,_0x1b224c[0x3]),_0x176d1b=_0x38e427(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x404dc6,0x7,_0x1b224c[0x4]),_0x4b5650=_0x38e427(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x206ab8,0xc,_0x1b224c[0x5]),_0x3c4821=_0x38e427(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x5391f8,0x11,_0x1b224c[0x6]),_0x52cf30=_0x38e427(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x1b1df3,0x16,_0x1b224c[0x7]),_0x176d1b=_0x38e427(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x5b264d,0x7,_0x1b224c[0x8]),_0x4b5650=_0x38e427(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x320a00,0xc,_0x1b224c[0x9]),_0x3c4821=_0x38e427(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x38269c,0x11,_0x1b224c[0xa]),_0x52cf30=_0x38e427(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x4f415c,0x16,_0x1b224c[0xb]),_0x176d1b=_0x38e427(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x216479,0x7,_0x1b224c[0xc]),_0x4b5650=_0x38e427(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x4137af,0xc,_0x1b224c[0xd]),_0x3c4821=_0x38e427(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x25cff7,0x11,_0x1b224c[0xe]),_0x52cf30=_0x38e427(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x3c03a2,0x16,_0x1b224c[0xf]),_0x176d1b=_0x2379b9(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x141f07,0x5,_0x1b224c[0x10]),_0x4b5650=_0x2379b9(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x5391f8,0x9,_0x1b224c[0x11]),_0x3c4821=_0x2379b9(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x4f415c,0xe,_0x1b224c[0x12]),_0x52cf30=_0x2379b9(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x4f3f33,0x14,_0x1b224c[0x13]),_0x176d1b=_0x2379b9(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x206ab8,0x5,_0x1b224c[0x14]),_0x4b5650=_0x2379b9(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x38269c,0x9,_0x1b224c[0x15]),_0x3c4821=_0x2379b9(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x3c03a2,0xe,_0x1b224c[0x16]),_0x52cf30=_0x2379b9(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x404dc6,0x14,_0x1b224c[0x17]),_0x176d1b=_0x2379b9(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x320a00,0x5,_0x1b224c[0x18]),_0x4b5650=_0x2379b9(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x25cff7,0x9,_0x1b224c[0x19]),_0x3c4821=_0x2379b9(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x230520,0xe,_0x1b224c[0x1a]),_0x52cf30=_0x2379b9(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x5b264d,0x14,_0x1b224c[0x1b]),_0x176d1b=_0x2379b9(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x4137af,0x5,_0x1b224c[0x1c]),_0x4b5650=_0x2379b9(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x411dec,0x9,_0x1b224c[0x1d]),_0x3c4821=_0x2379b9(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x1b1df3,0xe,_0x1b224c[0x1e]),_0x52cf30=_0x2379b9(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x216479,0x14,_0x1b224c[0x1f]),_0x176d1b=_0x1314b3(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x206ab8,0x4,_0x1b224c[0x20]),_0x4b5650=_0x1314b3(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x5b264d,0xb,_0x1b224c[0x21]),_0x3c4821=_0x1314b3(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x4f415c,0x10,_0x1b224c[0x22]),_0x52cf30=_0x1314b3(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x25cff7,0x17,_0x1b224c[0x23]),_0x176d1b=_0x1314b3(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x141f07,0x4,_0x1b224c[0x24]),_0x4b5650=_0x1314b3(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x404dc6,0xb,_0x1b224c[0x25]),_0x3c4821=_0x1314b3(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x1b1df3,0x10,_0x1b224c[0x26]),_0x52cf30=_0x1314b3(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x38269c,0x17,_0x1b224c[0x27]),_0x176d1b=_0x1314b3(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x4137af,0x4,_0x1b224c[0x28]),_0x4b5650=_0x1314b3(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x4f3f33,0xb,_0x1b224c[0x29]),_0x3c4821=_0x1314b3(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x230520,0x10,_0x1b224c[0x2a]),_0x52cf30=_0x1314b3(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x5391f8,0x17,_0x1b224c[0x2b]),_0x176d1b=_0x1314b3(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x320a00,0x4,_0x1b224c[0x2c]),_0x4b5650=_0x1314b3(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x216479,0xb,_0x1b224c[0x2d]),_0x3c4821=_0x1314b3(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x3c03a2,0x10,_0x1b224c[0x2e]),_0x52cf30=_0x1314b3(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x411dec,0x17,_0x1b224c[0x2f]),_0x176d1b=_0x4de09d(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x4f3f33,0x6,_0x1b224c[0x30]),_0x4b5650=_0x4de09d(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x1b1df3,0xa,_0x1b224c[0x31]),_0x3c4821=_0x4de09d(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x25cff7,0xf,_0x1b224c[0x32]),_0x52cf30=_0x4de09d(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x206ab8,0x15,_0x1b224c[0x33]),_0x176d1b=_0x4de09d(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x216479,0x6,_0x1b224c[0x34]),_0x4b5650=_0x4de09d(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x230520,0xa,_0x1b224c[0x35]),_0x3c4821=_0x4de09d(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x38269c,0xf,_0x1b224c[0x36]),_0x52cf30=_0x4de09d(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x141f07,0x15,_0x1b224c[0x37]),_0x176d1b=_0x4de09d(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x5b264d,0x6,_0x1b224c[0x38]),_0x4b5650=_0x4de09d(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x3c03a2,0xa,_0x1b224c[0x39]),_0x3c4821=_0x4de09d(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x5391f8,0xf,_0x1b224c[0x3a]),_0x52cf30=_0x4de09d(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x4137af,0x15,_0x1b224c[0x3b]),_0x176d1b=_0x4de09d(_0x176d1b,_0x52cf30,_0x3c4821,_0x4b5650,_0x404dc6,0x6,_0x1b224c[0x3c]),_0x4b5650=_0x4de09d(_0x4b5650,_0x176d1b,_0x52cf30,_0x3c4821,_0x4f415c,0xa,_0x1b224c[0x3d]),_0x3c4821=_0x4de09d(_0x3c4821,_0x4b5650,_0x176d1b,_0x52cf30,_0x411dec,0xf,_0x1b224c[0x3e]),_0x52cf30=_0x4de09d(_0x52cf30,_0x3c4821,_0x4b5650,_0x176d1b,_0x320a00,0x15,_0x1b224c[0x3f]),_0x73adbf[0x0]=_0x73adbf[0x0]+_0x176d1b|0x0,_0x73adbf[0x1]=_0x73adbf[0x1]+_0x52cf30|0x0,_0x73adbf[0x2]=_0x73adbf[0x2]+_0x3c4821|0x0,_0x73adbf[0x3]=_0x73adbf[0x3]+_0x4b5650|0x0;},'_doFinalize':function(){const _0x1cacff=_0x186bb8;var _0x211777=this[_0x1cacff(0x3ec)],_0x16b19f=_0x211777[_0x1cacff(0x1e1)],_0x40fd85=this[_0x1cacff(0x2c2)]*0x8,_0x627ad=_0x211777[_0x1cacff(0x2e5)]*0x8;_0x16b19f[_0x627ad>>>0x5]|=0x80<<0x18-_0x627ad%0x20;var _0x5cb99d=_0x223e13[_0x1cacff(0x30b)](_0x40fd85/0x100000000),_0x13a83a=_0x40fd85;_0x16b19f[(_0x627ad+0x40>>>0x9<<0x4)+0xf]=(_0x5cb99d<<0x8|_0x5cb99d>>>0x18)&0xff00ff|(_0x5cb99d<<0x18|_0x5cb99d>>>0x8)&0xff00ff00,_0x16b19f[(_0x627ad+0x40>>>0x9<<0x4)+0xe]=(_0x13a83a<<0x8|_0x13a83a>>>0x18)&0xff00ff|(_0x13a83a<<0x18|_0x13a83a>>>0x8)&0xff00ff00,_0x211777[_0x1cacff(0x2e5)]=(_0x16b19f[_0x1cacff(0x256)]+0x1)*0x4,this['_process']();for(var _0x39d9d8=this[_0x1cacff(0x3a4)],_0x13f0c8=_0x39d9d8[_0x1cacff(0x1e1)],_0x561328=0x0;_0x561328<0x4;_0x561328++){var _0x112df3=_0x13f0c8[_0x561328];_0x13f0c8[_0x561328]=(_0x112df3<<0x8|_0x112df3>>>0x18)&0xff00ff|(_0x112df3<<0x18|_0x112df3>>>0x8)&0xff00ff00;}return _0x39d9d8;},'clone':function(){const _0x52c3c4=_0x186bb8;var _0x4ed345=_0x2e5c18[_0x52c3c4(0x3e9)][_0x52c3c4(0x211)](this);return _0x4ed345[_0x52c3c4(0x3a4)]=this[_0x52c3c4(0x3a4)]['clone'](),_0x4ed345;}});function _0x38e427(_0x1454a4,_0x1b0011,_0x4cd72b,_0x167edb,_0x253c3d,_0x3e90ec,_0x21e705){var _0x47b0aa=_0x1454a4+(_0x1b0011&_0x4cd72b|~_0x1b0011&_0x167edb)+_0x253c3d+_0x21e705;return(_0x47b0aa<<_0x3e90ec|_0x47b0aa>>>0x20-_0x3e90ec)+_0x1b0011;}function _0x2379b9(_0x372eba,_0x37361b,_0x4ca2a1,_0x534d60,_0x1687d8,_0x40efd7,_0x46ae64){var _0x3e5303=_0x372eba+(_0x37361b&_0x534d60|_0x4ca2a1&~_0x534d60)+_0x1687d8+_0x46ae64;return(_0x3e5303<<_0x40efd7|_0x3e5303>>>0x20-_0x40efd7)+_0x37361b;}function _0x1314b3(_0x312d7e,_0x5421b6,_0x4f666b,_0x16d33d,_0x262b54,_0x578444,_0x3520aa){var _0x519984=_0x312d7e+(_0x5421b6^_0x4f666b^_0x16d33d)+_0x262b54+_0x3520aa;return(_0x519984<<_0x578444|_0x519984>>>0x20-_0x578444)+_0x5421b6;}function _0x4de09d(_0x452884,_0xea6214,_0x3c292d,_0x5c2f7c,_0x3b7753,_0x4e438d,_0x8c7299){var _0x1ab32a=_0x452884+(_0x3c292d^(_0xea6214|~_0x5c2f7c))+_0x3b7753+_0x8c7299;return(_0x1ab32a<<_0x4e438d|_0x1ab32a>>>0x20-_0x4e438d)+_0xea6214;}_0x52271f[_0x186bb8(0x3bd)]=_0x2e5c18[_0x186bb8(0x2eb)](_0x341caa),_0x52271f['HmacMD5']=_0x2e5c18[_0x186bb8(0x541)](_0x341caa);}(Math),_0x34ced6[_0x5835f5(0x3bd)];}));}(Gt)),Gt[_0x31ce88(0x1dc)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x1b6e18=_0x4299a1;return Qs||(Qs=0x1,function(_0x54b3a7,_0xdcffa0){(function(_0x31be6b,_0x143c18){_0x54b3a7['exports']=_0x143c18(ue());}(Z,function(_0x1c2ee2){const _0xc210db=_0x1dba;return(function(){const _0x6b5321=_0x1dba;var _0x1b5810=_0x1c2ee2,_0x130f58=_0x1b5810['lib'],_0x26367f=_0x130f58[_0x6b5321(0x25c)],_0x12ae51=_0x130f58[_0x6b5321(0x5a8)],_0x4e8191=_0x1b5810[_0x6b5321(0x3e8)],_0x15a7cf=[],_0x4ef515=_0x4e8191[_0x6b5321(0x322)]=_0x12ae51[_0x6b5321(0x257)]({'_doReset':function(){const _0x3eccda=_0x6b5321;this['_hash']=new _0x26367f[(_0x3eccda(0x369))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xe2d878,_0xc42c70){const _0x551604=_0x6b5321;for(var _0x4f4e7e=this[_0x551604(0x3a4)][_0x551604(0x1e1)],_0x26f2ec=_0x4f4e7e[0x0],_0x57e295=_0x4f4e7e[0x1],_0x38724b=_0x4f4e7e[0x2],_0x52efb4=_0x4f4e7e[0x3],_0xcdcbdd=_0x4f4e7e[0x4],_0x4480e2=0x0;_0x4480e2<0x50;_0x4480e2++){if(_0x4480e2<0x10)_0x15a7cf[_0x4480e2]=_0xe2d878[_0xc42c70+_0x4480e2]|0x0;else{var _0xc23bf1=_0x15a7cf[_0x4480e2-0x3]^_0x15a7cf[_0x4480e2-0x8]^_0x15a7cf[_0x4480e2-0xe]^_0x15a7cf[_0x4480e2-0x10];_0x15a7cf[_0x4480e2]=_0xc23bf1<<0x1|_0xc23bf1>>>0x1f;}var _0x21d6bf=(_0x26f2ec<<0x5|_0x26f2ec>>>0x1b)+_0xcdcbdd+_0x15a7cf[_0x4480e2];_0x4480e2<0x14?_0x21d6bf+=(_0x57e295&_0x38724b|~_0x57e295&_0x52efb4)+0x5a827999:_0x4480e2<0x28?_0x21d6bf+=(_0x57e295^_0x38724b^_0x52efb4)+0x6ed9eba1:_0x4480e2<0x3c?_0x21d6bf+=(_0x57e295&_0x38724b|_0x57e295&_0x52efb4|_0x38724b&_0x52efb4)-0x70e44324:_0x21d6bf+=(_0x57e295^_0x38724b^_0x52efb4)-0x359d3e2a,_0xcdcbdd=_0x52efb4,_0x52efb4=_0x38724b,_0x38724b=_0x57e295<<0x1e|_0x57e295>>>0x2,_0x57e295=_0x26f2ec,_0x26f2ec=_0x21d6bf;}_0x4f4e7e[0x0]=_0x4f4e7e[0x0]+_0x26f2ec|0x0,_0x4f4e7e[0x1]=_0x4f4e7e[0x1]+_0x57e295|0x0,_0x4f4e7e[0x2]=_0x4f4e7e[0x2]+_0x38724b|0x0,_0x4f4e7e[0x3]=_0x4f4e7e[0x3]+_0x52efb4|0x0,_0x4f4e7e[0x4]=_0x4f4e7e[0x4]+_0xcdcbdd|0x0;},'_doFinalize':function(){const _0x31f66a=_0x6b5321;var _0x1e5601=this['_data'],_0x4202ec=_0x1e5601[_0x31f66a(0x1e1)],_0xe99fb4=this['_nDataBytes']*0x8,_0x5c64a5=_0x1e5601[_0x31f66a(0x2e5)]*0x8;return _0x4202ec[_0x5c64a5>>>0x5]|=0x80<<0x18-_0x5c64a5%0x20,_0x4202ec[(_0x5c64a5+0x40>>>0x9<<0x4)+0xe]=Math[_0x31f66a(0x30b)](_0xe99fb4/0x100000000),_0x4202ec[(_0x5c64a5+0x40>>>0x9<<0x4)+0xf]=_0xe99fb4,_0x1e5601[_0x31f66a(0x2e5)]=_0x4202ec[_0x31f66a(0x256)]*0x4,this['_process'](),this[_0x31f66a(0x3a4)];},'clone':function(){const _0x2ad7c4=_0x6b5321;var _0x5108a6=_0x12ae51['clone']['call'](this);return _0x5108a6['_hash']=this[_0x2ad7c4(0x3a4)][_0x2ad7c4(0x3e9)](),_0x5108a6;}});_0x1b5810[_0x6b5321(0x322)]=_0x12ae51[_0x6b5321(0x2eb)](_0x4ef515),_0x1b5810[_0x6b5321(0x238)]=_0x12ae51[_0x6b5321(0x541)](_0x4ef515);}()),_0x1c2ee2[_0xc210db(0x322)];}));}(Kt)),Kt[_0x1b6e18(0x1dc)];}var zt={'exports':{}},ei;function La(){const _0x4764c8=_0x4299a1;return ei||(ei=0x1,function(_0x4c3c4b,_0x2c9cf9){(function(_0x4dc43a,_0x2872a7){const _0x306f62=_0x1dba;_0x4c3c4b[_0x306f62(0x1dc)]=_0x2872a7(ue());}(Z,function(_0x560c5b){(function(){const _0x5cd77d=_0x1dba;var _0x341b00=_0x560c5b,_0x23c50d=_0x341b00[_0x5cd77d(0x457)],_0x4771e6=_0x23c50d['Base'],_0xc0bbbd=_0x341b00[_0x5cd77d(0x5b3)],_0x4222e7=_0xc0bbbd[_0x5cd77d(0x529)],_0x3e370d=_0x341b00[_0x5cd77d(0x3e8)];_0x3e370d[_0x5cd77d(0x477)]=_0x4771e6[_0x5cd77d(0x257)]({'init':function(_0x519e2f,_0x313b9d){const _0x3278ae=_0x5cd77d;_0x519e2f=this['_hasher']=new _0x519e2f[(_0x3278ae(0x369))](),typeof _0x313b9d==_0x3278ae(0x3b4)&&(_0x313b9d=_0x4222e7[_0x3278ae(0x255)](_0x313b9d));var _0x47ec7d=_0x519e2f[_0x3278ae(0x54e)],_0x2c0dca=_0x47ec7d*0x4;_0x313b9d[_0x3278ae(0x2e5)]>_0x2c0dca&&(_0x313b9d=_0x519e2f[_0x3278ae(0x205)](_0x313b9d)),_0x313b9d[_0x3278ae(0x400)]();for(var _0x1ad64e=this['_oKey']=_0x313b9d[_0x3278ae(0x3e9)](),_0x2a22e7=this[_0x3278ae(0x2e1)]=_0x313b9d[_0x3278ae(0x3e9)](),_0x59dc80=_0x1ad64e['words'],_0x13ddc9=_0x2a22e7[_0x3278ae(0x1e1)],_0x4a6bc0=0x0;_0x4a6bc0<_0x47ec7d;_0x4a6bc0++)_0x59dc80[_0x4a6bc0]^=0x5c5c5c5c,_0x13ddc9[_0x4a6bc0]^=0x36363636;_0x1ad64e[_0x3278ae(0x2e5)]=_0x2a22e7['sigBytes']=_0x2c0dca,this[_0x3278ae(0x488)]();},'reset':function(){const _0x4d066c=_0x5cd77d;var _0x12ee44=this[_0x4d066c(0x245)];_0x12ee44[_0x4d066c(0x488)](),_0x12ee44[_0x4d066c(0x307)](this['_iKey']);},'update':function(_0x436e8f){const _0x56c591=_0x5cd77d;return this[_0x56c591(0x245)][_0x56c591(0x307)](_0x436e8f),this;},'finalize':function(_0x1af84e){const _0x524b51=_0x5cd77d;var _0xf707a5=this[_0x524b51(0x245)],_0x188cdf=_0xf707a5[_0x524b51(0x205)](_0x1af84e);_0xf707a5['reset']();var _0x285dfb=_0xf707a5[_0x524b51(0x205)](this[_0x524b51(0x569)][_0x524b51(0x3e9)]()[_0x524b51(0x34d)](_0x188cdf));return _0x285dfb;}});}());}));}(zt)),zt[_0x4764c8(0x1dc)];}var ti;function ki(){const _0x359319=_0x4299a1;return ti||(ti=0x1,function(_0x535f57,_0x342a43){(function(_0x3cfb95,_0x24b233,_0x250ade){_0x535f57['exports']=_0x24b233(ue(),xa(),La());}(Z,function(_0x1d4f4d){const _0x5b062e=_0x1dba;return(function(){const _0xbb0666=_0x1dba;var _0x751771=_0x1d4f4d,_0x23e413=_0x751771[_0xbb0666(0x457)],_0x17f8ab=_0x23e413[_0xbb0666(0x543)],_0x4181fc=_0x23e413[_0xbb0666(0x25c)],_0x7bf321=_0x751771[_0xbb0666(0x3e8)],_0xd60c85=_0x7bf321[_0xbb0666(0x3bd)],_0x14be85=_0x7bf321[_0xbb0666(0x1f4)]=_0x17f8ab[_0xbb0666(0x257)]({'cfg':_0x17f8ab[_0xbb0666(0x257)]({'keySize':0x80/0x20,'hasher':_0xd60c85,'iterations':0x1}),'init':function(_0x43e4ce){const _0x2e52dc=_0xbb0666;this['cfg']=this[_0x2e52dc(0x2e8)][_0x2e52dc(0x257)](_0x43e4ce);},'compute':function(_0x192dc2,_0xbc2b55){const _0x9fc1e=_0xbb0666;for(var _0x44570a,_0x19f968=this['cfg'],_0x2583ff=_0x19f968[_0x9fc1e(0x377)][_0x9fc1e(0x2f1)](),_0x18fe01=_0x4181fc['create'](),_0x9eccf=_0x18fe01[_0x9fc1e(0x1e1)],_0x5df9ab=_0x19f968[_0x9fc1e(0x42f)],_0x56e08e=_0x19f968['iterations'];_0x9eccf[_0x9fc1e(0x256)]<_0x5df9ab;){_0x44570a&&_0x2583ff['update'](_0x44570a),_0x44570a=_0x2583ff[_0x9fc1e(0x307)](_0x192dc2)[_0x9fc1e(0x205)](_0xbc2b55),_0x2583ff[_0x9fc1e(0x488)]();for(var _0x4f6565=0x1;_0x4f6565<_0x56e08e;_0x4f6565++)_0x44570a=_0x2583ff['finalize'](_0x44570a),_0x2583ff[_0x9fc1e(0x488)]();_0x18fe01[_0x9fc1e(0x34d)](_0x44570a);}return _0x18fe01['sigBytes']=_0x5df9ab*0x4,_0x18fe01;}});_0x751771['EvpKDF']=function(_0x4014cd,_0x2fed8a,_0x311e76){const _0x17f91d=_0xbb0666;return _0x14be85[_0x17f91d(0x2f1)](_0x311e76)[_0x17f91d(0x336)](_0x4014cd,_0x2fed8a);};}()),_0x1d4f4d[_0x5b062e(0x1f4)];}));}(Yt)),Yt[_0x359319(0x1dc)];}var qt={'exports':{}},si;function Wi(){const _0x53fa54=_0x4299a1;return si||(si=0x1,function(_0x33aff6,_0x5af17e){(function(_0x52ee65,_0x59c78b,_0x387a99){const _0xdbf3f5=_0x1dba;_0x33aff6[_0xdbf3f5(0x1dc)]=_0x59c78b(ue(),ki());}(Z,function(_0x4c7219){const _0x1d0d3d=_0x1dba;_0x4c7219[_0x1d0d3d(0x457)][_0x1d0d3d(0x5b4)]||function(_0x14b5f0){const _0x56a767=_0x1d0d3d;var _0x1712b7=_0x4c7219,_0x53e46b=_0x1712b7[_0x56a767(0x457)],_0x4ad3fe=_0x53e46b[_0x56a767(0x543)],_0x3f72c3=_0x53e46b[_0x56a767(0x25c)],_0x567ea8=_0x53e46b[_0x56a767(0x4ac)],_0x36926c=_0x1712b7[_0x56a767(0x5b3)];_0x36926c[_0x56a767(0x529)];var _0x287df0=_0x36926c[_0x56a767(0x27f)],_0x3b14de=_0x1712b7[_0x56a767(0x3e8)],_0xe3a13a=_0x3b14de[_0x56a767(0x1f4)],_0x5d56a7=_0x53e46b['Cipher']=_0x567ea8[_0x56a767(0x257)]({'cfg':_0x4ad3fe[_0x56a767(0x257)](),'createEncryptor':function(_0x39af0e,_0x17a092){const _0x4f87fa=_0x56a767;return this['create'](this[_0x4f87fa(0x320)],_0x39af0e,_0x17a092);},'createDecryptor':function(_0x20d035,_0x47a4e4){const _0x106f9c=_0x56a767;return this[_0x106f9c(0x2f1)](this[_0x106f9c(0x1fa)],_0x20d035,_0x47a4e4);},'init':function(_0xa78689,_0x1cd810,_0x487471){const _0x10a50c=_0x56a767;this[_0x10a50c(0x2e8)]=this[_0x10a50c(0x2e8)][_0x10a50c(0x257)](_0x487471),this[_0x10a50c(0x207)]=_0xa78689,this[_0x10a50c(0x21b)]=_0x1cd810,this[_0x10a50c(0x488)]();},'reset':function(){const _0x4e532f=_0x56a767;_0x567ea8[_0x4e532f(0x488)][_0x4e532f(0x211)](this),this[_0x4e532f(0x287)]();},'process':function(_0x40febb){const _0x552744=_0x56a767;return this[_0x552744(0x282)](_0x40febb),this['_process']();},'finalize':function(_0x5e3c9d){const _0x130bf2=_0x56a767;_0x5e3c9d&&this['_append'](_0x5e3c9d);var _0x33be27=this[_0x130bf2(0x1cc)]();return _0x33be27;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x30ae3e(_0x46007c){const _0x51d9bb=_0x1dba;return typeof _0x46007c==_0x51d9bb(0x3b4)?_0x395aab:_0x1fb74f;}return function(_0x394383){return{'encrypt':function(_0x220eeb,_0x2dd454,_0x18ddeb){const _0x4f247b=_0x1dba;return _0x30ae3e(_0x2dd454)[_0x4f247b(0x45b)](_0x394383,_0x220eeb,_0x2dd454,_0x18ddeb);},'decrypt':function(_0x427fa9,_0x5baa57,_0x33bc51){const _0x56dda7=_0x1dba;return _0x30ae3e(_0x5baa57)[_0x56dda7(0x3b7)](_0x394383,_0x427fa9,_0x5baa57,_0x33bc51);}};};}())});_0x53e46b['StreamCipher']=_0x5d56a7[_0x56a767(0x257)]({'_doFinalize':function(){const _0x49a9a3=_0x56a767;var _0x3bf0ca=this[_0x49a9a3(0x4a0)](!0x0);return _0x3bf0ca;},'blockSize':0x1});var _0x4c6b33=_0x1712b7[_0x56a767(0x3d7)]={},_0x4a3f16=_0x53e46b[_0x56a767(0x52a)]=_0x4ad3fe['extend']({'createEncryptor':function(_0xe42763,_0x287adc){const _0x12de45=_0x56a767;return this[_0x12de45(0x542)][_0x12de45(0x2f1)](_0xe42763,_0x287adc);},'createDecryptor':function(_0x17c4d5,_0x3fc7fa){const _0x9a83b=_0x56a767;return this[_0x9a83b(0x489)][_0x9a83b(0x2f1)](_0x17c4d5,_0x3fc7fa);},'init':function(_0x37fa6b,_0x3f5735){const _0x3f4322=_0x56a767;this[_0x3f4322(0x4d1)]=_0x37fa6b,this['_iv']=_0x3f5735;}}),_0xbe8daa=_0x4c6b33['CBC']=(function(){const _0x26d49d=_0x56a767;var _0x466fe7=_0x4a3f16[_0x26d49d(0x257)]();_0x466fe7[_0x26d49d(0x542)]=_0x466fe7['extend']({'processBlock':function(_0x10bb2b,_0x4ed783){const _0x5e4191=_0x26d49d;var _0x1e3221=this[_0x5e4191(0x4d1)],_0x4833cd=_0x1e3221[_0x5e4191(0x54e)];_0x6ce0a6['call'](this,_0x10bb2b,_0x4ed783,_0x4833cd),_0x1e3221['encryptBlock'](_0x10bb2b,_0x4ed783),this[_0x5e4191(0x1c6)]=_0x10bb2b[_0x5e4191(0x375)](_0x4ed783,_0x4ed783+_0x4833cd);}}),_0x466fe7[_0x26d49d(0x489)]=_0x466fe7[_0x26d49d(0x257)]({'processBlock':function(_0x3a01f9,_0x353fd7){const _0x443a6c=_0x26d49d;var _0x17bc90=this[_0x443a6c(0x4d1)],_0x3fd761=_0x17bc90[_0x443a6c(0x54e)],_0x34859e=_0x3a01f9[_0x443a6c(0x375)](_0x353fd7,_0x353fd7+_0x3fd761);_0x17bc90['decryptBlock'](_0x3a01f9,_0x353fd7),_0x6ce0a6['call'](this,_0x3a01f9,_0x353fd7,_0x3fd761),this[_0x443a6c(0x1c6)]=_0x34859e;}});function _0x6ce0a6(_0x1fa772,_0xfa0db9,_0xd1dee1){const _0x233198=_0x26d49d;var _0x2cb31f,_0x51fdff=this['_iv'];_0x51fdff?(_0x2cb31f=_0x51fdff,this['_iv']=_0x14b5f0):_0x2cb31f=this[_0x233198(0x1c6)];for(var _0x11a93f=0x0;_0x11a93f<_0xd1dee1;_0x11a93f++)_0x1fa772[_0xfa0db9+_0x11a93f]^=_0x2cb31f[_0x11a93f];}return _0x466fe7;}()),_0xfbb5fb=_0x1712b7['pad']={},_0x402ed3=_0xfbb5fb[_0x56a767(0x425)]={'pad':function(_0x187e5d,_0x4255b8){const _0x418032=_0x56a767;for(var _0x2df68e=_0x4255b8*0x4,_0x586d94=_0x2df68e-_0x187e5d[_0x418032(0x2e5)]%_0x2df68e,_0x175602=_0x586d94<<0x18|_0x586d94<<0x10|_0x586d94<<0x8|_0x586d94,_0x530edc=[],_0xe78df4=0x0;_0xe78df4<_0x586d94;_0xe78df4+=0x4)_0x530edc[_0x418032(0x499)](_0x175602);var _0x35bf68=_0x3f72c3[_0x418032(0x2f1)](_0x530edc,_0x586d94);_0x187e5d[_0x418032(0x34d)](_0x35bf68);},'unpad':function(_0x4f7d51){const _0x4701c7=_0x56a767;var _0x31ed6f=_0x4f7d51[_0x4701c7(0x1e1)][_0x4f7d51['sigBytes']-0x1>>>0x2]&0xff;_0x4f7d51[_0x4701c7(0x2e5)]-=_0x31ed6f;}};_0x53e46b['BlockCipher']=_0x5d56a7['extend']({'cfg':_0x5d56a7[_0x56a767(0x2e8)]['extend']({'mode':_0xbe8daa,'padding':_0x402ed3}),'reset':function(){const _0x525b40=_0x56a767;var _0x3406a3;_0x5d56a7[_0x525b40(0x488)]['call'](this);var _0x281e63=this[_0x525b40(0x2e8)],_0x21de2b=_0x281e63['iv'],_0x1542c=_0x281e63[_0x525b40(0x3d7)];this[_0x525b40(0x207)]==this[_0x525b40(0x320)]?_0x3406a3=_0x1542c['createEncryptor']:(_0x3406a3=_0x1542c[_0x525b40(0x33d)],this[_0x525b40(0x3a2)]=0x1),this[_0x525b40(0x1e7)]&&this[_0x525b40(0x1e7)][_0x525b40(0x4ee)]==_0x3406a3?this[_0x525b40(0x1e7)][_0x525b40(0x369)](this,_0x21de2b&&_0x21de2b[_0x525b40(0x1e1)]):(this[_0x525b40(0x1e7)]=_0x3406a3[_0x525b40(0x211)](_0x1542c,this,_0x21de2b&&_0x21de2b[_0x525b40(0x1e1)]),this[_0x525b40(0x1e7)]['__creator']=_0x3406a3);},'_doProcessBlock':function(_0x28dea7,_0x5d190f){const _0x2906c9=_0x56a767;this[_0x2906c9(0x1e7)][_0x2906c9(0x252)](_0x28dea7,_0x5d190f);},'_doFinalize':function(){const _0x12b164=_0x56a767;var _0x30eba5,_0x51b465=this[_0x12b164(0x2e8)][_0x12b164(0x216)];return this[_0x12b164(0x207)]==this[_0x12b164(0x320)]?(_0x51b465[_0x12b164(0x3b0)](this['_data'],this[_0x12b164(0x54e)]),_0x30eba5=this[_0x12b164(0x4a0)](!0x0)):(_0x30eba5=this[_0x12b164(0x4a0)](!0x0),_0x51b465[_0x12b164(0x549)](_0x30eba5)),_0x30eba5;},'blockSize':0x80/0x20});var _0x2d70c9=_0x53e46b[_0x56a767(0x2ac)]=_0x4ad3fe['extend']({'init':function(_0x1a9326){const _0x163b33=_0x56a767;this[_0x163b33(0x539)](_0x1a9326);},'toString':function(_0x1dc069){const _0x5b2ef2=_0x56a767;return(_0x1dc069||this[_0x5b2ef2(0x3f5)])[_0x5b2ef2(0x1fb)](this);}}),_0x453c6d=_0x1712b7[_0x56a767(0x447)]={},_0x491dc0=_0x453c6d[_0x56a767(0x4fe)]={'stringify':function(_0x18f929){const _0x597f4d=_0x56a767;var _0x36d280,_0xda11a7=_0x18f929['ciphertext'],_0x3ebe02=_0x18f929[_0x597f4d(0x29d)];return _0x3ebe02?_0x36d280=_0x3f72c3['create']([0x53616c74,0x65645f5f])[_0x597f4d(0x34d)](_0x3ebe02)['concat'](_0xda11a7):_0x36d280=_0xda11a7,_0x36d280['toString'](_0x287df0);},'parse':function(_0x20ebc5){const _0x1d8dd9=_0x56a767;var _0x145ada,_0x4b70e0=_0x287df0[_0x1d8dd9(0x255)](_0x20ebc5),_0x3eb193=_0x4b70e0[_0x1d8dd9(0x1e1)];return _0x3eb193[0x0]==0x53616c74&&_0x3eb193[0x1]==0x65645f5f&&(_0x145ada=_0x3f72c3[_0x1d8dd9(0x2f1)](_0x3eb193[_0x1d8dd9(0x375)](0x2,0x4)),_0x3eb193['splice'](0x0,0x4),_0x4b70e0[_0x1d8dd9(0x2e5)]-=0x10),_0x2d70c9[_0x1d8dd9(0x2f1)]({'ciphertext':_0x4b70e0,'salt':_0x145ada});}},_0x1fb74f=_0x53e46b[_0x56a767(0x467)]=_0x4ad3fe['extend']({'cfg':_0x4ad3fe['extend']({'format':_0x491dc0}),'encrypt':function(_0x40b886,_0x22eeee,_0x1e2363,_0x298773){const _0x522cd0=_0x56a767;_0x298773=this[_0x522cd0(0x2e8)][_0x522cd0(0x257)](_0x298773);var _0x57a048=_0x40b886[_0x522cd0(0x1fc)](_0x1e2363,_0x298773),_0x287bf1=_0x57a048['finalize'](_0x22eeee),_0x3c09ba=_0x57a048['cfg'];return _0x2d70c9[_0x522cd0(0x2f1)]({'ciphertext':_0x287bf1,'key':_0x1e2363,'iv':_0x3c09ba['iv'],'algorithm':_0x40b886,'mode':_0x3c09ba[_0x522cd0(0x3d7)],'padding':_0x3c09ba[_0x522cd0(0x216)],'blockSize':_0x40b886[_0x522cd0(0x54e)],'formatter':_0x298773['format']});},'decrypt':function(_0x3a7daa,_0x644d68,_0x23b511,_0x4f2b8f){const _0x5b0087=_0x56a767;_0x4f2b8f=this[_0x5b0087(0x2e8)][_0x5b0087(0x257)](_0x4f2b8f),_0x644d68=this[_0x5b0087(0x315)](_0x644d68,_0x4f2b8f[_0x5b0087(0x447)]);var _0x202fc5=_0x3a7daa[_0x5b0087(0x33d)](_0x23b511,_0x4f2b8f)['finalize'](_0x644d68[_0x5b0087(0x228)]);return _0x202fc5;},'_parse':function(_0x5d4f8d,_0xce805c){const _0x34e49d=_0x56a767;return typeof _0x5d4f8d==_0x34e49d(0x3b4)?_0xce805c[_0x34e49d(0x255)](_0x5d4f8d,this):_0x5d4f8d;}}),_0x307cf3=_0x1712b7[_0x56a767(0x2ca)]={},_0x15f07a=_0x307cf3[_0x56a767(0x4fe)]={'execute':function(_0x53632d,_0x25b009,_0x136d76,_0x461ade,_0x36492a){const _0x531fd7=_0x56a767;if(_0x461ade||(_0x461ade=_0x3f72c3['random'](0x40/0x8)),_0x36492a)var _0x3921b0=_0xe3a13a[_0x531fd7(0x2f1)]({'keySize':_0x25b009+_0x136d76,'hasher':_0x36492a})[_0x531fd7(0x336)](_0x53632d,_0x461ade);else var _0x3921b0=_0xe3a13a['create']({'keySize':_0x25b009+_0x136d76})['compute'](_0x53632d,_0x461ade);var _0x420c04=_0x3f72c3['create'](_0x3921b0[_0x531fd7(0x1e1)][_0x531fd7(0x375)](_0x25b009),_0x136d76*0x4);return _0x3921b0[_0x531fd7(0x2e5)]=_0x25b009*0x4,_0x2d70c9[_0x531fd7(0x2f1)]({'key':_0x3921b0,'iv':_0x420c04,'salt':_0x461ade});}},_0x395aab=_0x53e46b[_0x56a767(0x455)]=_0x1fb74f[_0x56a767(0x257)]({'cfg':_0x1fb74f['cfg']['extend']({'kdf':_0x15f07a}),'encrypt':function(_0x1cbac3,_0x1d960f,_0x2c29a6,_0x562f0f){const _0x16bed8=_0x56a767;_0x562f0f=this[_0x16bed8(0x2e8)][_0x16bed8(0x257)](_0x562f0f);var _0x23031e=_0x562f0f[_0x16bed8(0x2ca)][_0x16bed8(0x36a)](_0x2c29a6,_0x1cbac3[_0x16bed8(0x42f)],_0x1cbac3[_0x16bed8(0x2df)],_0x562f0f[_0x16bed8(0x29d)],_0x562f0f[_0x16bed8(0x377)]);_0x562f0f['iv']=_0x23031e['iv'];var _0x3d03a8=_0x1fb74f[_0x16bed8(0x45b)]['call'](this,_0x1cbac3,_0x1d960f,_0x23031e[_0x16bed8(0x20b)],_0x562f0f);return _0x3d03a8[_0x16bed8(0x539)](_0x23031e),_0x3d03a8;},'decrypt':function(_0x377bd9,_0x35de9d,_0x25ce00,_0x21a522){const _0xad3ea4=_0x56a767;_0x21a522=this[_0xad3ea4(0x2e8)][_0xad3ea4(0x257)](_0x21a522),_0x35de9d=this[_0xad3ea4(0x315)](_0x35de9d,_0x21a522[_0xad3ea4(0x447)]);var _0x4e39e1=_0x21a522['kdf']['execute'](_0x25ce00,_0x377bd9['keySize'],_0x377bd9[_0xad3ea4(0x2df)],_0x35de9d[_0xad3ea4(0x29d)],_0x21a522['hasher']);_0x21a522['iv']=_0x4e39e1['iv'];var _0x331ed2=_0x1fb74f[_0xad3ea4(0x3b7)][_0xad3ea4(0x211)](this,_0x377bd9,_0x35de9d,_0x4e39e1[_0xad3ea4(0x20b)],_0x21a522);return _0x331ed2;}});}();}));}(qt)),qt[_0x53fa54(0x1dc)];}(function(_0x5128e4,_0x303438){(function(_0x5a8170,_0x721e5a,_0x384c23){const _0x4bb1ab=_0x1dba;_0x5128e4[_0x4bb1ab(0x1dc)]=_0x721e5a(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x4162b7){return(function(){const _0x458a10=_0x1dba;var _0x4984d0=_0x4162b7,_0x177ac4=_0x4984d0['lib'],_0xac063d=_0x177ac4['BlockCipher'],_0x5717f5=_0x4984d0[_0x458a10(0x3e8)],_0x2112ba=[],_0x861dba=[],_0x58faf8=[],_0x969d9f=[],_0x23e1e5=[],_0x2ad2b4=[],_0x9c18e5=[],_0x538782=[],_0x24d7ca=[],_0x5420b8=[];(function(){for(var _0x217cf6=[],_0x482e83=0x0;_0x482e83<0x100;_0x482e83++)_0x482e83<0x80?_0x217cf6[_0x482e83]=_0x482e83<<0x1:_0x217cf6[_0x482e83]=_0x482e83<<0x1^0x11b;for(var _0x11a0ab=0x0,_0x702e4c=0x0,_0x482e83=0x0;_0x482e83<0x100;_0x482e83++){var _0x4c11cf=_0x702e4c^_0x702e4c<<0x1^_0x702e4c<<0x2^_0x702e4c<<0x3^_0x702e4c<<0x4;_0x4c11cf=_0x4c11cf>>>0x8^_0x4c11cf&0xff^0x63,_0x2112ba[_0x11a0ab]=_0x4c11cf,_0x861dba[_0x4c11cf]=_0x11a0ab;var _0x187ec3=_0x217cf6[_0x11a0ab],_0x2b801c=_0x217cf6[_0x187ec3],_0x33065b=_0x217cf6[_0x2b801c],_0x4232b3=_0x217cf6[_0x4c11cf]*0x101^_0x4c11cf*0x1010100;_0x58faf8[_0x11a0ab]=_0x4232b3<<0x18|_0x4232b3>>>0x8,_0x969d9f[_0x11a0ab]=_0x4232b3<<0x10|_0x4232b3>>>0x10,_0x23e1e5[_0x11a0ab]=_0x4232b3<<0x8|_0x4232b3>>>0x18,_0x2ad2b4[_0x11a0ab]=_0x4232b3;var _0x4232b3=_0x33065b*0x1010101^_0x2b801c*0x10001^_0x187ec3*0x101^_0x11a0ab*0x1010100;_0x9c18e5[_0x4c11cf]=_0x4232b3<<0x18|_0x4232b3>>>0x8,_0x538782[_0x4c11cf]=_0x4232b3<<0x10|_0x4232b3>>>0x10,_0x24d7ca[_0x4c11cf]=_0x4232b3<<0x8|_0x4232b3>>>0x18,_0x5420b8[_0x4c11cf]=_0x4232b3,_0x11a0ab?(_0x11a0ab=_0x187ec3^_0x217cf6[_0x217cf6[_0x217cf6[_0x33065b^_0x187ec3]]],_0x702e4c^=_0x217cf6[_0x217cf6[_0x702e4c]]):_0x11a0ab=_0x702e4c=0x1;}}());var _0x55c4ad=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3fee18=_0x5717f5[_0x458a10(0x2ee)]=_0xac063d[_0x458a10(0x257)]({'_doReset':function(){const _0x34bcba=_0x458a10;var _0x48aeab;if(!(this['_nRounds']&&this[_0x34bcba(0x2bb)]===this[_0x34bcba(0x21b)])){for(var _0x322d4c=this[_0x34bcba(0x2bb)]=this['_key'],_0x429c2c=_0x322d4c[_0x34bcba(0x1e1)],_0x1e5665=_0x322d4c[_0x34bcba(0x2e5)]/0x4,_0x436bb9=this['_nRounds']=_0x1e5665+0x6,_0x3cac7f=(_0x436bb9+0x1)*0x4,_0x244dab=this[_0x34bcba(0x311)]=[],_0x1f8404=0x0;_0x1f8404<_0x3cac7f;_0x1f8404++)_0x1f8404<_0x1e5665?_0x244dab[_0x1f8404]=_0x429c2c[_0x1f8404]:(_0x48aeab=_0x244dab[_0x1f8404-0x1],_0x1f8404%_0x1e5665?_0x1e5665>0x6&&_0x1f8404%_0x1e5665==0x4&&(_0x48aeab=_0x2112ba[_0x48aeab>>>0x18]<<0x18|_0x2112ba[_0x48aeab>>>0x10&0xff]<<0x10|_0x2112ba[_0x48aeab>>>0x8&0xff]<<0x8|_0x2112ba[_0x48aeab&0xff]):(_0x48aeab=_0x48aeab<<0x8|_0x48aeab>>>0x18,_0x48aeab=_0x2112ba[_0x48aeab>>>0x18]<<0x18|_0x2112ba[_0x48aeab>>>0x10&0xff]<<0x10|_0x2112ba[_0x48aeab>>>0x8&0xff]<<0x8|_0x2112ba[_0x48aeab&0xff],_0x48aeab^=_0x55c4ad[_0x1f8404/_0x1e5665|0x0]<<0x18),_0x244dab[_0x1f8404]=_0x244dab[_0x1f8404-_0x1e5665]^_0x48aeab);for(var _0x3804de=this[_0x34bcba(0x490)]=[],_0x335336=0x0;_0x335336<_0x3cac7f;_0x335336++){var _0x1f8404=_0x3cac7f-_0x335336;if(_0x335336%0x4)var _0x48aeab=_0x244dab[_0x1f8404];else var _0x48aeab=_0x244dab[_0x1f8404-0x4];_0x335336<0x4||_0x1f8404<=0x4?_0x3804de[_0x335336]=_0x48aeab:_0x3804de[_0x335336]=_0x9c18e5[_0x2112ba[_0x48aeab>>>0x18]]^_0x538782[_0x2112ba[_0x48aeab>>>0x10&0xff]]^_0x24d7ca[_0x2112ba[_0x48aeab>>>0x8&0xff]]^_0x5420b8[_0x2112ba[_0x48aeab&0xff]];}}},'encryptBlock':function(_0x310a58,_0x26b298){const _0x267ba8=_0x458a10;this[_0x267ba8(0x32c)](_0x310a58,_0x26b298,this[_0x267ba8(0x311)],_0x58faf8,_0x969d9f,_0x23e1e5,_0x2ad2b4,_0x2112ba);},'decryptBlock':function(_0x21a993,_0x3c2fd9){const _0xd6139d=_0x458a10;var _0x5da15d=_0x21a993[_0x3c2fd9+0x1];_0x21a993[_0x3c2fd9+0x1]=_0x21a993[_0x3c2fd9+0x3],_0x21a993[_0x3c2fd9+0x3]=_0x5da15d,this['_doCryptBlock'](_0x21a993,_0x3c2fd9,this[_0xd6139d(0x490)],_0x9c18e5,_0x538782,_0x24d7ca,_0x5420b8,_0x861dba);var _0x5da15d=_0x21a993[_0x3c2fd9+0x1];_0x21a993[_0x3c2fd9+0x1]=_0x21a993[_0x3c2fd9+0x3],_0x21a993[_0x3c2fd9+0x3]=_0x5da15d;},'_doCryptBlock':function(_0x4383d9,_0x2d2792,_0x2ce41c,_0x1bad16,_0x1b12b2,_0x52b2cf,_0x4a5674,_0x4373e1){for(var _0x21cf84=this['_nRounds'],_0x2482f8=_0x4383d9[_0x2d2792]^_0x2ce41c[0x0],_0xf85134=_0x4383d9[_0x2d2792+0x1]^_0x2ce41c[0x1],_0x2fb118=_0x4383d9[_0x2d2792+0x2]^_0x2ce41c[0x2],_0x57ecdb=_0x4383d9[_0x2d2792+0x3]^_0x2ce41c[0x3],_0x27cfbf=0x4,_0x30a264=0x1;_0x30a264<_0x21cf84;_0x30a264++){var _0x3c8a0d=_0x1bad16[_0x2482f8>>>0x18]^_0x1b12b2[_0xf85134>>>0x10&0xff]^_0x52b2cf[_0x2fb118>>>0x8&0xff]^_0x4a5674[_0x57ecdb&0xff]^_0x2ce41c[_0x27cfbf++],_0x4077b5=_0x1bad16[_0xf85134>>>0x18]^_0x1b12b2[_0x2fb118>>>0x10&0xff]^_0x52b2cf[_0x57ecdb>>>0x8&0xff]^_0x4a5674[_0x2482f8&0xff]^_0x2ce41c[_0x27cfbf++],_0xc88ed6=_0x1bad16[_0x2fb118>>>0x18]^_0x1b12b2[_0x57ecdb>>>0x10&0xff]^_0x52b2cf[_0x2482f8>>>0x8&0xff]^_0x4a5674[_0xf85134&0xff]^_0x2ce41c[_0x27cfbf++],_0x3cdc31=_0x1bad16[_0x57ecdb>>>0x18]^_0x1b12b2[_0x2482f8>>>0x10&0xff]^_0x52b2cf[_0xf85134>>>0x8&0xff]^_0x4a5674[_0x2fb118&0xff]^_0x2ce41c[_0x27cfbf++];_0x2482f8=_0x3c8a0d,_0xf85134=_0x4077b5,_0x2fb118=_0xc88ed6,_0x57ecdb=_0x3cdc31;}var _0x3c8a0d=(_0x4373e1[_0x2482f8>>>0x18]<<0x18|_0x4373e1[_0xf85134>>>0x10&0xff]<<0x10|_0x4373e1[_0x2fb118>>>0x8&0xff]<<0x8|_0x4373e1[_0x57ecdb&0xff])^_0x2ce41c[_0x27cfbf++],_0x4077b5=(_0x4373e1[_0xf85134>>>0x18]<<0x18|_0x4373e1[_0x2fb118>>>0x10&0xff]<<0x10|_0x4373e1[_0x57ecdb>>>0x8&0xff]<<0x8|_0x4373e1[_0x2482f8&0xff])^_0x2ce41c[_0x27cfbf++],_0xc88ed6=(_0x4373e1[_0x2fb118>>>0x18]<<0x18|_0x4373e1[_0x57ecdb>>>0x10&0xff]<<0x10|_0x4373e1[_0x2482f8>>>0x8&0xff]<<0x8|_0x4373e1[_0xf85134&0xff])^_0x2ce41c[_0x27cfbf++],_0x3cdc31=(_0x4373e1[_0x57ecdb>>>0x18]<<0x18|_0x4373e1[_0x2482f8>>>0x10&0xff]<<0x10|_0x4373e1[_0xf85134>>>0x8&0xff]<<0x8|_0x4373e1[_0x2fb118&0xff])^_0x2ce41c[_0x27cfbf++];_0x4383d9[_0x2d2792]=_0x3c8a0d,_0x4383d9[_0x2d2792+0x1]=_0x4077b5,_0x4383d9[_0x2d2792+0x2]=_0xc88ed6,_0x4383d9[_0x2d2792+0x3]=_0x3cdc31;},'keySize':0x100/0x20});_0x4984d0[_0x458a10(0x2ee)]=_0xac063d[_0x458a10(0x2eb)](_0x3fee18);}()),_0x4162b7['AES'];}));}(ji));var $a=ji[_0x4299a1(0x1dc)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x18ba0f,_0x3d6ef3){(function(_0x526270,_0x971e3b){const _0x1c5717=_0x1dba;_0x18ba0f[_0x1c5717(0x1dc)]=_0x971e3b(ue());}(Z,function(_0x56413c){const _0x404295=_0x1dba;return _0x56413c[_0x404295(0x5b3)][_0x404295(0x529)];}));}(Fi));var Ba=Fi[_0x4299a1(0x1dc)];function _0x1dba(_0x43acca,_0x3f191a){const _0x274cb6=_0x274c();return _0x1dba=function(_0x1dbaa1,_0x4fdcea){_0x1dbaa1=_0x1dbaa1-0x1bf;let _0xf01c40=_0x274cb6[_0x1dbaa1];return _0xf01c40;},_0x1dba(_0x43acca,_0x3f191a);}function _0x274c(){const _0x574f58=['No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','sheetId','INTERNAL_ERROR','_startSheetCollabCursor','collab-text-range-','[CollaborationUndoRedoService]','SerializableCipher','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/new_changes','&source=','_anchor','getActiveSheet','UNIVER_UNKNOWN','use','_updateCollabCursors','selections','_fetchMissChangesets','addImageSourceCache','_updateState','awaiting_with_pending','requestParams','_getAPIPrefix','HMAC','range','_refreshCollabCursors','ERROR_IMAGE_TYPE','dispose$','_executeRemoteChangeset','closeSession','UNKNOWN_CMD','MoveRangeCommandId','gold400','entries','sessionStatus$','allowed','path','status','collabStatus.conflict','subscribe','reset','Decryptor','removeMember','onload','{fileID}','_getAnchorBounding','LIVESHARE_NEW_HOST','onlyLocal','_invKeySchedule','href','_transformIMECache','FromArray','x-univer-host','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','setActiveRange','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[OfflineState]:\x20received\x20changeset.','push','lineTo','drawWith','hovered','_onCombEvent','popstate','_initEventListeners','_process','_getCtorByUniverType','_awaitingChangeset','onRemoteChangeset','_sendHeartbeatTimer','_assignedColors','searchParams','_collabSessionService','_substituteRedoStack','LOGIN_URL_KEY','image/gif','[UniverCollaborationClientPlugin]','BufferedBlockAlgorithm','then','_handler','_setupBeforeClosingHandler','fill','sin','baseRev','current','getCurrentRevOfUnit','LICENSE_MAX_UNITS_EXCEEDED','symbol','47944LBdjEu','ceil','svg','_commentUpdate$','makeDirty','rng','_commentService','HttpExport','removeParam','tag','debug','commentUpdate$','size','_type','_initMergeInterceptor','some','getAncestorScale','_refRangeService','_config','jiqing500','none','font','clearInterval','InsertRangeMoveRightCommandId','_configService','clipPath','_cipher','routeKey','_reverseMap','_draw','getParam','evenodd','_substituteUndoStack','$super','_snapshotService','_onCursorUpdate','Error','defIds','_retryConnectingTimer','onRemoteAck','[CollaborationSessionService]:\x20socket\x20error','IDLE','createElement','\x0aCurrent:\x20','_updateLocalCursor','duration','revision','sheets','APPLY_NON_SEQUENTIAL_REVISION','on-line-single_clip0_910_349','UNIVER_PROJECT','Could\x20not\x20dynamically\x20require\x20\x22','setShapeProps','_docStateChangeManagerService','PENDING','__creator','reqId','byteLength','registerRefRange','_collaborationController','abs','_createInitialState','_onConflict','_undoRedoService','_initRequestHeader','clearTimeout','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_document','ACTIVE_UNIT_EVENT_CHANNEL','rgba(255,\x20255,\x20255,\x200.01)','InsertRangeMoveDownCommandId','OpenSSL','sid','&assign=','startTime','getCurrentUser','saveOfflineData','UNIVER_SLIDE','onlineStatusTitle','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','_replaceFileID','deepClone','fetchThroughInterceptors','NOT_FOUND','_unitID','_updateSubUnitFromURLParams','compose','setCurrentUser','&to=','awaitingChangeset','_eventUnsubscribe','_docTransformStateCacheService','memberID','permissionRejEvent','MSG_FOR_ERROR','transform','[CollaborationSessionService]','onlineStatus','getOffsetConfig','_disabled','FETCH_MISSING','[PendingState]:\x20received\x20rejection.','M0\x200H16V16H0z','RECT','registerComponent','online','_getUndoStack','onMouseMove','_clearRedo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_toggleOffline','from','_online','Utf8','BlockCipherMode','UnitSnapshot','_userManagerService','with','event$','/universer-api/authz','find','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','_state$','status$','_stopTelemetryCollaborationNewChangeset','resourceIDs','onSyncEditingCollabCursor','registerHTTPInterceptor','catch','mixIn','1em','_listenToOfflineEvent','refreshPermission','LIVESHARE_FETCH_OPERATIONS','loginUrlKey','_throwTelemetryCollaborationNewChangeset','state','_createHmacHelper','Encryptor','Base','_getSignURL','_urlService','HttpImport','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','joinEvent','unpad','now','createCollaborator','APPLY_REJECT','session.collaboration-timeout','blockSize','getTypeOfUnitDisposed$','_onCursorDelete','toggleOffline','_members','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','_updateStatus','_updateURLWithCurrentState','ALREADY_EXISTS','_injector','saveSheetBlock','subUnitId','_docTransformIMECacheService','_entityInit$','toLowerCase','6fNIYrm','_cursor','disposeUnit','setTimeout','getViewport','updatePermissionPoint','getOwnPropertyDescriptor','_name','getTime','updateOfflineData','_onLocalMutation','activeSheet$','_oKey','_ws','/resources','onTransformRemoteChangesetByStateCache','_submitChangeset','image/bmp','333oHRqDh','objectActions','RemoveColCommandId','_initStatusComponent','_joinRoom','disableLocalCache','_resendWithTimeout','transformSelections','_changesetReqId','currentColor','getRandomValues','_docSyncEditingCollabCursorService','_beforeCloseService','max','PERMISSION_DENIED','_sendingTimer','add','_syncEditingCollabCursor','addEventListener','_getScale','_sender','_sessionStatus$','csAckEvent','HEARTBEAT_INTERVAL','textRanges','_getSnapshotAPIPrefix','_map','_rescheduleHeartbeat','getValue','setAlpha','className','univer-online-status-title','_docSkeleton','_compressMutationService','AWAITING','CHANGESET_REVISION_CONFILICT','_transformStack','auth.needGotoLoginAlert','setInterval','enableAuthServer','name','_drawAnchor','UNIVER_DOC','getCurrentSelections','_session','_socketService','roomInfos','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearHeartbeatTimer','_range','ENSURE_SNAPSHOT_EXECUTION','retryConnectingInterval','save','url','_transformRemoteChangesetByIMECache','collaboration.single-unit.warning','c2Prime','Hasher','_send','SUCCUSS','/-/object/-/batch_allowed','_selfUnitIDs','collabStatus.syncing','_transformStateCache','getRangePointData','APPLY_DUPLICATED','ranges','shouldCloseConn','enc','Cipher','file','onCommandExecuted','disposeWithMe','default','setShowComponents','appendMutation','getStateCache','Malformed\x20UTF-8\x20data','_transformService','/allowed','onStateChange','onlineStatusIcon','join','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','NoPadding','message$','_textBubble','equals','defineProperty','ERROR_IMAGE','RECV','_socket$','apply','_handleJoinEvent','_schedule','members','random','icon','POST','cursorInfo$','_shapes','result','_prevBlock','RemoveRowCommandId','_render','error','registerRenderModule','replaceState','_doFinalize','MUTATION','univer-online-status','currentSkeleton$','getSheetId','subscribeEvent','translate(.97)','undoState','_getSaveTimeout','socket\x20close','authzUrl','_localeService','_getLoginPath','withCredentials','_clearLocalCache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','exports','getCollabEntity','randomBytes','/fetchmissing?from=','labelPosition','words','isArray','HEADER_MENU','hide','includes','_cursorInfo$','_mode','fromCollab','getUnitId','_collaborationSessionService','headers','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_PERMISSION_OBJ','_timeoutTimer','univerjs-icon\x20univerjs-icon-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onPointerMove$','saveImage','_onOffline','EvpKDF','replace','_loadSheet','_waitCount','_getSendChangesetTimeout','m1Prime','_DEC_XFORM_MODE','stringify','createEncryptor','_getAPIPrefixPath','_initUnitPermissionChange','liveShareOperation','onTransformChange$','_clearOtherTimers','UUID','contains','generateRandomId','finalize','encode','_xformMode','method','_isPermissionRej','redoState','key','url(#on-line-single_clip0_910_349)','_replayCachedMutations','m2Prime','incrementRevOfUnit','offline','call','location','unit-cache-','_scene','_drawTextRange','padding','params','collaboration-client.offline-data-not-saved','requireSession','_memberService','_key','editing\x20status\x20changed\x20to','_clearTimeoutTimer','crypto','collaboratorID','_handleHover','_lastPointer','getMember','_initCloseConn','ERROR_EXCEED_SIZE','hasOwnProperty','_sessions','csShouldRetryEvent','ciphertext','dispose','storage','AUTHZ_URL_KEY','_entities','onPointerEnter$','getCurrent','getWorkbookSelections','onMissedChangesetFetched','_getDownloadEndpointURL','0\x200\x2016\x2016','_labelPosition','onTransformState','_context','_roomMembers$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HmacSHA1','_applyRemoteChangeset','setWaitCount','LIVESHARE_OPERATION','executeCommand','SHOULD_CLOSE_CONN','getLatestCsReqIdBySid','_collaborationTimeoutTimer','_removeCollabCursors','height','pauseCollaboration','rev','OTHER_CLIENTS_EDITING','_hasher','OnLineSingle','UNIVER_SHEET','/universer-api/file/{fileID}/sign-url','patch','getCurrentUnitForType','_remoteChangesetQueue','SNAPSHOT_INVALID_SNAPSHOT','getRelativeToViewportCoord','_handleLeaveEvent','_roomMembers','UNIVER_COLLABORATION_CLIENT_PLUGIN','onReady','processBlock','InsertColCommandId','_backgroundColor','parse','length','extend','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','responseType','arc','_undoStacks','WordArray','_getRedoStack','close','_shouldReportTelemetry','getImageSourceCache','FileId','LICENSE_IMPORT_SIZE_EXCEEDED','filter','focused$','_imageSourceCache','_docTransformSelectionsService','getImage','confirm','src','objects','defs','_queuedRemoteChangesets','socketService','history','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_telemetryInfo','_resendTimeout','map','reduce','state$','c1Prime','unsubscribe','black','open$','_transformUndoredo','_transformRemoteChangesetByStateCache','session','INVALID_ARGUMENT','FETCH_MISS','Univer','Base64','_removeClearOtherTimer','syncEditingCollabCursor','_append','getSheetBySheetId','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','idSuffix','userID','_doReset','_transformPreviousActiveRange','objectType','#FFF','data','_scheduleTimestamp','_httpService','xlink:href','Undefined','newCsEvent','displayName','loadSheet','post','awaiting','/-/object/list','_event$','collabStatus.fetchMiss','1573915bNfmOi','COMPRESS_MUTATION_SEND','SUBMIT_CHANGESET','_toggleOnline','docStateChange$','salt','copyFileMeta','reconnect','_hover','NEW_CHANGESETS','232557vyYJvy','_HTTPService','_onRefRangeChange','liveShareNewHost','univer-online-status-icon','saveChangeset','randomUUID','_cursors','isActive','YUUMI_UNABLE_LOAD_URL','CipherParams','\x20-\x20','transformByState','_colorIndex','USERS_LEAVE','onRemoteRetry','hidden','_onUserJoin','SEND_CHANGESET_TIMEOUT','[SyncedState]:\x20received\x20rejection.','getConfig','fetchMissingChangesets','...','byteOffset','SNAPSHOT_URL_KEY','_keyPriorReset','UNAUTHENTICATED','transformChangesets','_ensureSubject','/block/','permission.title','_sendHeartbeat','_nDataBytes','_localStorageService','getUnitStatus$','_loadDoc','forEach','endRow','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','conflict.content','kdf','COMPLETION_FINISHED','append','getResourcesRequest','_themeService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','__Key__','collaboration-session-retry','_drawRectRange','_cursorShapes','VIEW_MAIN','getInterceptPoints','unshift','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','resolve','roomMembers','put','createSocket','workbook','urlChange$','ivSize','_onFetchMissResult','_iKey','substring','measureText','_notificationService','sigBytes','attrs','_tryEnsureSocket','cfg','loadOfflineData','unitId','_createHelper','_getMergeRange','_onJoinRoomEvent','AES','_decreaseWaiting','PSEUDO_FETCH_MISSING_RESULT','create','AWAITING_WITH_PENDING','div','collabCursorState$','_onRemoteRejected','fetch_missing','_sheetSkeletonManagerService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','setUndoRedoMutationParamsCache','values','fetching\x20missing\x20changesets\x20from\x20','univer-pro.collaboration-client.single-active-unit-service','/universer-api/snapshot/','getVpScrollXYInfoByPosToVp','_hideTimer','/unit/','_initCommandExecutedListener','_socket','engine','findNodePositionByCharIndex','_initStatusListener','_messageService','update','getItem','infoRsp','number','floor','collaboration-client.config','signUrlServerUrl','stopTime','originalMeta','socket\x20open.','_keySchedule','_onRemoteRetry','prototype','color','_parse','_listenToOnlineEvent','_createHandler','visibilityState','fillText','has','purple300','fillRule','_changesetSessionId','DeleteRangeMoveLeftCommandId','assignAColorForMemberID','_ENC_XFORM_MODE','[SyncedState]:\x20received\x20acknowledgement.','SHA1','APPLY_PERMISSION_DENIED','_docSkeletonManagerService','_id','leaveEvent','_logService','/object/','_onUserLeave','createInstance','getUnit','_doCryptBlock','_retryCount','_change$','CONFLICT','HELLO','transformStateCache','registerBeforeClose','send','_exhaustRemoteChangesetQueue','startRow','compute','_collaborationPaused','_getSheetObject','_colorAssignService','_hovered','UNRECOGNIZED','USERS_ENTER','createDecryptor','getActiveRange','_commandService','fromCharCode','eventID','Unknown\x20user','_onRemoteChangeset','getUnhiddenWorksheets','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','isPermissionRej','_uiPartsService','getCellPositionByOffset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','OFFLINE','cmd','getCollabEntity$','concat','_waitForHeartbeatResponse','Warning','_scheduleSaving','_unlockTransition','onRemoteRej','SYNCED','_startCollaboration','session.will-retry','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onTransformSelections','column','_redoStacks','_heartbeatTimer','_univerInstanceService','selection','bottom','getUniverSheetInstance','pipe','exhaustSavingTask','_scheduleCollaborationTimeoutTimer','updateMember','off-line-single','transformMutationsWithChangeset','_onMessage','socket$','_lockTransition','_cachedData','init','execute','LICENSE_EXPORT_SIZE_EXCEEDED','DEFAULT_FILE_NAME','_permissionService','pluginName','width','getUndoRedoMutationParamsCache','resend','transformMutation','addObjects','downloadEndpointUrl','slice','unit','hasher','getAllMembers','/universer-api/comb','toString','_scheduleClearOtherTimer','transformRemoteChangeset','0\x200\x2017\x2016','_showConflictNotification','_getUploadFileURL','loadDoc','NOT_COLLAB','function','toggleOnline','UNKNOWN_CODE','deleteCollaborator','LIVESHARE_REQUEST_HOST','on-line-single','getDocRanges','_init','unknown','onMissingChangesets','#fff','synced','_clearScheduledTask','collaMsg','LICENSE_DISTRO_REJECTED','toRgbString','saveSnapshot','trim','msCrypto','UPDATE_CURSOR','_onRemoteACK','_handleEvent','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','transformIMECache','beginPath','changesets','pushState','_initResize','_sheetTransformSelectionsService','ONLINE','_state','CHANGESET_REJ','_minBufferSize','split','_hash','addObject','body','getCollabCursors$','onPointerLeave$','_getCurrentRevision','LEAVE','TOO_MANY_REQUESTS','_localCacheService','roles','_onRecvEvent','UnitEmbedded','pad','children','FAIL','session.room-full','string','[OfflineState]:\x20received\x20rejection.','actions','decrypt','Latin1','[DataLoaderController]','659030HZNvLJ','red300','/universer-api/stream/file/upload','MD5','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','655608zYToYP','conflict.title','buffer','charAt','_color','_startDocCollabCursor','setParam','title','PERMISSION_REJ','getUnitOnRev','collabWebSocketUrl','override','[FetchMissState]','_transitionLocked','unitID','UniverIcon','every','_collabCursorState$','_incrementRevisionNumber','localeService','currentTheme$','registerOnClose','_status$','off-line-single_clip0_910_343','mode','_transformSelections','/universer-api/oidc/authpage','moveTo','set','_socketReady','text','CHANGESET_ACK','[CollaborationSession]','_syncEditingCollabCursorService','_removeRoom','colorChannel1','768315JpoIDN','top','charCodeAt','?size=','mutations','algo','clone','_startTelemetryCollaborationNewChangeset','show','_data','_doProcessBlock','_unitStatus','\x0aAfter:\x20','restore','CHANGESET_SHOULD_RETRY','_anchorDot','CONNECTOR_DATA_TOO_LARGE','JOIN','formatter','encodeURIComponent','startColumn','onTransformRemoteChangesetByIMECache','collaboration_new_changeset','_updateLocalCache','_acknowledgedAwaitingChangeset','[CollaborationState]:\x20apply\x20error!','sheetID','[CollaborationEntity]','COMMENT_UPDATE','clamp','get','JOINING','INGEST','delete','complete','objectID','_socketMessageSubscription','reject','pending','HEARTBEAT','univer-offline','not_collab','putCollaborators','skeleton','code','min','interceptor','fetchMiss','/collaborator','[PendingState]:\x20received\x20acknowledgement.','_onConnectionFailed','collabSubmitChangesetUrl','_saveCache','submit\x20changeset\x20error!','next','_resendTimer','_tryReconnect','cursorInfo','_instanceService','type','transformUndoRedo','SNAPSHOT_SERVER_URL_KEY','setItem','indexOf','_checkMissing','_registerDependencies','Pkcs7','setStateCache','4NxIKYo','getFocusedUnit','_unitOnClients','asObservable','commentUpdateEvent','__esModule','_createInitialStateImpl','doc.mutation.rich-text-editing','keySize','_singleActiveUnitService','batchAllowed','_disableEditing','_transformHistoryAndStateStack','fillStyle','getRenderById','_revisionService','sessionStatus','listCollaborators','getOwnPropertySymbols','_telemetryService','_candidateSocket','_registerRenderDependencies','object','close$','_collabCursorController','_setupSubUnitSync','error$','subunit','univer-pro.collaboration-client-socket-service','bind','round','getTypeOfUnitAdded$','format','image/jpg','readAsDataURL','_pendingMutations','\x20to\x20','APPLY_REVISION_CONFILICT','clear','_onConnectionOpen','NO_OTHER_CLIENTS_EDITING','onCommentUpdate','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getMemberID','_clearUndo','_renderManagerService','PasswordBasedCipher','_saveTaskMap','lib','session.connection-failed','startsWith','UNDEFINED','encrypt','343555ptBhwu','onSendChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onRendered','snapshot'];_0x274c=function(){return _0x574f58;};return _0x274c();}const ka=at(Ba);var Vi={'exports':{}};(function(_0x3ac0b6,_0x10092e){(function(_0x2bcf7a,_0x45f15e){_0x3ac0b6['exports']=_0x45f15e(ue());}(Z,function(_0x470996){const _0x5c26d8=_0x1dba;return(function(){const _0x3db774=_0x1dba;if(typeof ArrayBuffer=='function'){var _0x3773cb=_0x470996,_0x415ef4=_0x3773cb[_0x3db774(0x457)],_0x2b55b3=_0x415ef4['WordArray'],_0x519508=_0x2b55b3[_0x3db774(0x369)],_0x36a885=_0x2b55b3[_0x3db774(0x369)]=function(_0x325b6f){const _0x1e43e7=_0x3db774;if(_0x325b6f instanceof ArrayBuffer&&(_0x325b6f=new Uint8Array(_0x325b6f)),(_0x325b6f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x325b6f instanceof Uint8ClampedArray||_0x325b6f instanceof Int16Array||_0x325b6f instanceof Uint16Array||_0x325b6f instanceof Int32Array||_0x325b6f instanceof Uint32Array||_0x325b6f instanceof Float32Array||_0x325b6f instanceof Float64Array)&&(_0x325b6f=new Uint8Array(_0x325b6f[_0x1e43e7(0x3c1)],_0x325b6f[_0x1e43e7(0x2b9)],_0x325b6f[_0x1e43e7(0x4f0)])),_0x325b6f instanceof Uint8Array){for(var _0x18e049=_0x325b6f[_0x1e43e7(0x4f0)],_0x48291b=[],_0x42bc78=0x0;_0x42bc78<_0x18e049;_0x42bc78++)_0x48291b[_0x42bc78>>>0x2]|=_0x325b6f[_0x42bc78]<<0x18-_0x42bc78%0x4*0x8;_0x519508[_0x1e43e7(0x211)](this,_0x48291b,_0x18e049);}else _0x519508['apply'](this,arguments);};_0x36a885['prototype']=_0x2b55b3;}}()),_0x470996[_0x5c26d8(0x457)][_0x5c26d8(0x25c)];}));}(Vi));var Wa=Vi[_0x4299a1(0x1dc)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x18c2a4,_0x3ccb45){(function(_0x3e7023,_0x406e05,_0x12ecee){const _0xed2725=_0x1dba;_0x18c2a4[_0xed2725(0x1dc)]=_0x406e05(ue(),Wi());}(Z,function(_0x2224dd){const _0x48bf71=_0x1dba;return _0x2224dd[_0x48bf71(0x3b0)][_0x48bf71(0x5c3)]={'pad':function(){},'unpad':function(){}},_0x2224dd[_0x48bf71(0x3b0)][_0x48bf71(0x5c3)];}));}(Gi));var Va=Gi[_0x4299a1(0x1dc)];const Ga=at(Va);function Ya(_0x14a3b7,_0x565c8a){const _0x4b25ba=_0x4299a1,_0x55d12e=_0x565c8a-_0x14a3b7[_0x4b25ba(0x256)]%_0x565c8a,_0x39cb0c=String['fromCharCode'](_0x55d12e)['repeat'](_0x55d12e);return _0x14a3b7+_0x39cb0c;}function Ka(_0x481115,_0x46fcc3){const _0x4b7b03=_0x4299a1,_0x39257a=Fa[_0x4b7b03(0x1c0)](0x10),_0x1ed726=Ya(_0x481115,0x10),_0x39e21a=Ha[_0x4b7b03(0x45b)](ka['parse'](_0x1ed726),ii[_0x4b7b03(0x255)](_0x46fcc3),{'iv':_0x39257a,'padding':Ga});return _0x39257a[_0x4b7b03(0x34d)](_0x39e21a['ciphertext'])['toString'](ii);}function za(){const _0x93d74=_0x4299a1,_0x2fe96=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x93d74(0x2d0)];if(_0x2fe96){const _0xcb49a={'time':Math['floor'](Date[_0x93d74(0x54a)]()/0x3e8),'domain':location['hostname']};return Ka(JSON[_0x93d74(0x1fb)](_0xcb49a),_0x2fe96);}}var qa=Object[_0x4299a1(0x5c7)],Xa=Object[_0x4299a1(0x563)],Ja=(_0x30e130,_0x29e17c,_0x984378,_0x5560ed)=>{for(var _0x1cedfa=_0x5560ed>0x1?void 0x0:_0x5560ed?Xa(_0x29e17c,_0x984378):_0x29e17c,_0x430a96=_0x30e130['length']-0x1,_0x20ec2f;_0x430a96>=0x0;_0x430a96--)(_0x20ec2f=_0x30e130[_0x430a96])&&(_0x1cedfa=(_0x5560ed?_0x20ec2f(_0x29e17c,_0x984378,_0x1cedfa):_0x20ec2f(_0x1cedfa))||_0x1cedfa);return _0x5560ed&&_0x1cedfa&&qa(_0x29e17c,_0x984378,_0x1cedfa),_0x1cedfa;},Za=(_0x3cc25c,_0x5b21ae)=>(_0xe4cc05,_0x6b832c)=>_0x5b21ae(_0xe4cc05,_0x6b832c,_0x3cc25c);let Tt=class{constructor(_0x4f57ae){const _0x2e0c8a=_0x4299a1;this[_0x2e0c8a(0x28d)]=_0x4f57ae,this[_0x2e0c8a(0x4f7)]();}[_0x4299a1(0x4f7)](){const _0x49b8ff=_0x4299a1;this[_0x49b8ff(0x28d)][_0x49b8ff(0x537)]({'interceptor':(_0x36b4cf,_0x2092b1)=>{const _0x5c4769=_0x49b8ff,_0x32d912=_0x36b4cf[_0x5c4769(0x1eb)],_0x4b193b=za();return _0x4b193b&&_0x32d912[_0x5c4769(0x3db)](_0x5c4769(0x494),_0x4b193b),_0x2092b1(_0x36b4cf);}});}};Tt=Ja([Za(0x0,_0x2f5cfe(_0x56ddfb))],Tt);var Qa=Object[_0x4299a1(0x5c7)],ec=Object[_0x4299a1(0x563)],tc=(_0x494e8f,_0x29f126,_0x257c96,_0x37690a)=>{const _0xd7221=_0x4299a1;for(var _0x508036=_0x37690a>0x1?void 0x0:_0x37690a?ec(_0x29f126,_0x257c96):_0x29f126,_0x42d569=_0x494e8f[_0xd7221(0x256)]-0x1,_0x5235dc;_0x42d569>=0x0;_0x42d569--)(_0x5235dc=_0x494e8f[_0x42d569])&&(_0x508036=(_0x37690a?_0x5235dc(_0x29f126,_0x257c96,_0x508036):_0x5235dc(_0x508036))||_0x508036);return _0x37690a&&_0x508036&&Qa(_0x29f126,_0x257c96,_0x508036),_0x508036;},Xt=(_0x165686,_0x6b7e5e)=>(_0x26a245,_0x3799d0)=>_0x6b7e5e(_0x26a245,_0x3799d0,_0x165686);const sc=['image/png','image/jpeg',_0x4299a1(0x448),_0x4299a1(0x4aa),_0x4299a1(0x56e)],ic=0x5*0x400*0x400,nc=_0x4299a1(0x2cf),rc=_0x4299a1(0x3bc),oc=_0x4299a1(0x497),ac=_0x4299a1(0x248);let hs=class{constructor(_0x217772,_0x71b297,_0x3f94c7){const _0x585b17=_0x4299a1;g(this,_0x585b17(0x1f7),0x0),g(this,'_change$',new _0x19ddda()),g(this,'change$',this[_0x585b17(0x32e)]),g(this,'_imageSourceCache',new Map()),(this[_0x585b17(0x28d)]=_0x217772,this[_0x585b17(0x4cf)]=_0x71b297,this[_0x585b17(0x35b)]=_0x3f94c7);}[_0x4299a1(0x23a)](_0x40a2a4){const _0x7ae98e=_0x4299a1;this[_0x7ae98e(0x1f7)]=_0x40a2a4,this[_0x7ae98e(0x32e)][_0x7ae98e(0x419)](_0x40a2a4);}[_0x4299a1(0x260)](_0x1a7bc2,_0x2db8fb){const _0x449bc9=_0x4299a1;if(_0x2db8fb===_0x581c9b['BASE64']){const _0x41448c=new Image();return _0x41448c[_0x449bc9(0x269)]=_0x1a7bc2,_0x41448c;}return this[_0x449bc9(0x265)][_0x449bc9(0x401)](_0x1a7bc2);}[_0x4299a1(0x472)](_0x5ec21f,_0x588c70,_0x42252e){const _0x15e28c=_0x4299a1;_0x588c70===_0x581c9b['BASE64']||_0x42252e==null||this[_0x15e28c(0x265)][_0x15e28c(0x3db)](_0x5ec21f,_0x42252e);}async[_0x4299a1(0x267)](_0x470b6b){const _0xab5cab=_0x4299a1;try{const _0x1bed28=this[_0xab5cab(0x508)](this[_0xab5cab(0x544)](),''+_0x470b6b),_0x4f2adf=(await this[_0xab5cab(0x28d)][_0xab5cab(0x401)](_0x1bed28))[_0xab5cab(0x3a6)];if(_0x4f2adf['error']&&_0x4f2adf[_0xab5cab(0x1c9)][_0xab5cab(0x40f)]===Ri['OK']){const _0x4100b1=new URL(_0x4f2adf[_0xab5cab(0x5a4)],this[_0xab5cab(0x231)]())['toString']();return Promise[_0xab5cab(0x2d9)](_0x4100b1);}return Promise[_0xab5cab(0x408)](_0x4f2adf['error']);}catch(_0x1fb930){return Promise[_0xab5cab(0x408)](_0x1fb930);}}async[_0x4299a1(0x1f2)](_0x23b9bf){const _0x1e61f5=_0x4299a1;let _0x2cac75='';if(!sc[_0x1e61f5(0x1e5)](_0x23b9bf[_0x1e61f5(0x41e)]))return this[_0x1e61f5(0x2ef)](),Promise[_0x1e61f5(0x408)](new Error(_0x56de8f[_0x1e61f5(0x47a)]));if(_0x23b9bf[_0x1e61f5(0x4c3)]>ic)return this[_0x1e61f5(0x2ef)](),Promise[_0x1e61f5(0x408)](new Error(_0x56de8f[_0x1e61f5(0x224)]));try{const _0x15b2b9=new FormData();_0x15b2b9[_0x1e61f5(0x2cc)](_0x1e61f5(0x5b5),_0x23b9bf);const _0x4ed7b2=this[_0x1e61f5(0x35b)][_0x1e61f5(0x428)](),_0x511603=_0x4ed7b2==null?void 0x0:_0x4ed7b2[_0x1e61f5(0x1e9)]();if(!_0x511603)throw new Error('unitId\x20is\x20not\x20found');const _0x24d2fe=this[_0x1e61f5(0x37f)]()+_0x1e61f5(0x3e6)+_0x23b9bf['size'][_0x1e61f5(0x37a)]()+_0x1e61f5(0x46a)+yi['UnitEmbedded']+_0x1e61f5(0x500)+encodeURIComponent(_0x511603),_0x5149ce=await(await fetch(_0x24d2fe,{'method':'POST','body':_0x15b2b9}))['json']();if(typeof _0x5149ce[_0x1e61f5(0x261)]!=_0x1e61f5(0x3b4))return this[_0x1e61f5(0x2ef)](),Promise[_0x1e61f5(0x408)](new Error(_0x56de8f[_0x1e61f5(0x5c8)]));_0x2cac75=_0x5149ce['FileId'];}catch{return this[_0x1e61f5(0x2ef)](),Promise[_0x1e61f5(0x408)](new Error(_0x56de8f[_0x1e61f5(0x5c8)]));}return new Promise((_0x2bbd5a,_0x5cd02e)=>{const _0x1e4774=_0x1e61f5,_0x27f8e4=new FileReader();_0x27f8e4[_0x1e4774(0x449)](_0x23b9bf),_0x27f8e4[_0x1e4774(0x48b)]=_0x5c0a3a=>{const _0x4552d3=_0x1e4774;var _0xbebcc2;const _0x8b4381=(_0xbebcc2=_0x5c0a3a['target'])==null?void 0x0:_0xbebcc2[_0x4552d3(0x1c5)];if(_0x8b4381==null){this['_decreaseWaiting'](),_0x5cd02e(new Error(_0x56de8f['ERROR_IMAGE']));return;}const _0xd9240=_0x30d2fb[_0x4552d3(0x204)](0x6);_0x2bbd5a({'imageId':_0xd9240,'imageSourceType':_0x581c9b[_0x4552d3(0x202)],'source':_0x2cac75,'base64Cache':_0x8b4381,'status':_0x56de8f[_0x4552d3(0x5aa)]}),this[_0x4552d3(0x2ef)]();};});}[_0x4299a1(0x37f)](){const _0x626bfc=_0x4299a1;var _0x5d830c,_0x3a921e;const _0xc08184=this[_0x626bfc(0x4cf)][_0x626bfc(0x2b6)](nc),_0x3726bf=this[_0x626bfc(0x4cf)][_0x626bfc(0x2b6)](ie);return(_0x3a921e=(_0x5d830c=_0x3726bf==null?void 0x0:_0x3726bf['uploadFileServerUrl'])!=null?_0x5d830c:_0xc08184)!=null?_0x3a921e:rc;}[_0x4299a1(0x544)](){const _0x36a983=_0x4299a1;var _0x5767bb,_0x54fa7c;const _0x1b90c7=this[_0x36a983(0x4cf)][_0x36a983(0x2b6)](oc),_0x415f5c=this[_0x36a983(0x4cf)][_0x36a983(0x2b6)](ie);return(_0x54fa7c=(_0x5767bb=_0x415f5c==null?void 0x0:_0x415f5c[_0x36a983(0x30d)])!=null?_0x5767bb:_0x1b90c7)!=null?_0x54fa7c:ac;}[_0x4299a1(0x231)](){const _0x109c3d=_0x4299a1;var _0x2f511e;const _0x5e2263=this[_0x109c3d(0x4cf)][_0x109c3d(0x2b6)](ie);return(_0x2f511e=_0x5e2263==null?void 0x0:_0x5e2263[_0x109c3d(0x374)])!=null?_0x2f511e:location['origin'];}[_0x4299a1(0x508)](_0x4791a8,_0x31af43){const _0x31638d=_0x4299a1;return _0x4791a8['replace'](_0x31638d(0x48c),_0x31af43);}[_0x4299a1(0x2ef)](){const _0x1f91ad=_0x4299a1;this['_waitCount']-=0x1,this[_0x1f91ad(0x32e)]['next'](this[_0x1f91ad(0x1f7)]);}};hs=tc([Xt(0x0,_0x2f5cfe(_0x56ddfb)),Xt(0x1,_0x3fd15e),Xt(0x2,_0x2f5cfe(_0x19bced))],hs);var cc=Object[_0x4299a1(0x5c7)],hc=Object[_0x4299a1(0x563)],lc=(_0x5c4bbd,_0x1d00d0,_0x10f780,_0x3ed45e)=>{for(var _0x3b9074=_0x3ed45e>0x1?void 0x0:_0x3ed45e?hc(_0x1d00d0,_0x10f780):_0x1d00d0,_0x2808e6=_0x5c4bbd['length']-0x1,_0x239690;_0x2808e6>=0x0;_0x2808e6--)(_0x239690=_0x5c4bbd[_0x2808e6])&&(_0x3b9074=(_0x3ed45e?_0x239690(_0x1d00d0,_0x10f780,_0x3b9074):_0x239690(_0x3b9074))||_0x3b9074);return _0x3ed45e&&_0x3b9074&&cc(_0x1d00d0,_0x10f780,_0x3b9074),_0x3b9074;},Qe=(_0x2bd6aa,_0x28aae8)=>(_0x13801e,_0x2e85bc)=>_0x28aae8(_0x13801e,_0x2e85bc,_0x2bd6aa);let Rt=class extends _0x737a66{constructor(_0x437833,_0x31308b,_0x3d6852,_0x446758,_0x599082){const _0x4ed78b=_0x4299a1;super(),this['_injector']=_0x437833,this[_0x4ed78b(0x35b)]=_0x31308b,this[_0x4ed78b(0x36d)]=_0x3d6852,this[_0x4ed78b(0x1ea)]=_0x446758,this[_0x4ed78b(0x1d7)]=_0x599082,this[_0x4ed78b(0x1fe)](),this[_0x4ed78b(0x223)]();}[_0x4299a1(0x223)](){const _0x10ffd0=_0x4299a1,_0x1ccdc7=async _0x18b307=>{const _0x2d2647=_0x1dba;(await this[_0x2d2647(0x1ea)][_0x2d2647(0x219)](_0x18b307))['event$'][_0x2d2647(0x35f)](_0x53cf0f(_0x240e57=>_0x240e57[_0x2d2647(0x341)]===_0x12c324['SHOULD_CLOSE_CONN']),_0x1c3f96(this[_0x2d2647(0x47b)]))[_0x2d2647(0x487)](_0x221721=>{const _0x2ba3ad=_0x2d2647,_0x4eec60=_0x221721,{reason:_0x4a4dee}=_0x4eec60[_0x2ba3ad(0x28b)];this['_injector'][_0x2ba3ad(0x401)](_0x3aefef)[_0x2ba3ad(0x3eb)]({'type':_0x34a324[_0x2ba3ad(0x4db)],'content':this[_0x2ba3ad(0x1d7)]['t']('collaboration.closeRoom')+'('+_0x4a4dee+')'}),this[_0x2ba3ad(0x36d)][_0x2ba3ad(0x562)](new _0x303e0b(_0x18b307)['id'],!0x1),this[_0x2ba3ad(0x1ea)][_0x2ba3ad(0x47d)](_0x18b307);});};_0x26c7b9(this['_univerInstanceService'][_0x10ffd0(0x446)](_0x120bce[_0x10ffd0(0x247)]),this[_0x10ffd0(0x35b)][_0x10ffd0(0x446)](_0x120bce['UNIVER_DOC']))[_0x10ffd0(0x35f)](_0x50ad64(_0x5b14c6=>_0x5b14c6[_0x10ffd0(0x1e9)]()),_0x53cf0f(_0x518dd7=>!_0x294b80(_0x518dd7)),_0x1c3f96(this[_0x10ffd0(0x47b)]))[_0x10ffd0(0x487)](_0x303613=>{_0x1ccdc7(_0x303613);});}[_0x4299a1(0x1fe)](){const _0x12e7fe=_0x4299a1,_0x4bb542=async _0x3a2080=>{const _0x4328d7=_0x1dba;(await this[_0x4328d7(0x1ea)]['requireSession'](_0x3a2080))[_0x4328d7(0x52e)][_0x4328d7(0x35f)](_0x53cf0f(_0x156498=>_0x156498['eventID']===_0x12c324[_0x4328d7(0x1ed)]),_0x1c3f96(this[_0x4328d7(0x47b)]))[_0x4328d7(0x487)](_0x3810b0=>{const _0x5df1ff=_0x4328d7,_0xd2e113=_0x3810b0,{objectId:_0x5787dc}=_0xd2e113[_0x5df1ff(0x28b)],_0x2d1704=this[_0x5df1ff(0x557)][_0x5df1ff(0x401)](_0x15551c);_0x5787dc===_0x3a2080?_0x2d1704['initWorkbookPermissionChange'](_0x3a2080):_0x2d1704[_0x5df1ff(0x53c)](_0x3a2080,_0x5787dc);});};_0x26c7b9(this[_0x12e7fe(0x35b)]['getTypeOfUnitAdded$'](_0x120bce[_0x12e7fe(0x247)]),this[_0x12e7fe(0x35b)][_0x12e7fe(0x446)](_0x120bce[_0x12e7fe(0x599)]))['pipe'](_0x50ad64(_0x5dab4f=>_0x5dab4f[_0x12e7fe(0x1e9)]()),_0x53cf0f(_0x19aa7e=>!_0x294b80(_0x19aa7e)),_0x1c3f96(this[_0x12e7fe(0x47b)]))[_0x12e7fe(0x487)](_0x4b934d=>{_0x4bb542(_0x4b934d);});}};Rt=lc([Qe(0x0,_0x2f5cfe(_0x22006e)),Qe(0x1,_0x19bced),Qe(0x2,_0x24d923),Qe(0x3,_0x2f5cfe(Ae)),Qe(0x4,_0x2f5cfe(_0x44ee4c))],Rt);var _c=Object['defineProperty'],uc=Object['getOwnPropertyDescriptor'],dc=(_0x4801d7,_0x177a23,_0x46610f,_0x82fbf4)=>{const _0x55d3e3=_0x4299a1;for(var _0x5c16d6=_0x82fbf4>0x1?void 0x0:_0x82fbf4?uc(_0x177a23,_0x46610f):_0x177a23,_0x21894b=_0x4801d7[_0x55d3e3(0x256)]-0x1,_0x2f11b0;_0x21894b>=0x0;_0x21894b--)(_0x2f11b0=_0x4801d7[_0x21894b])&&(_0x5c16d6=(_0x82fbf4?_0x2f11b0(_0x177a23,_0x46610f,_0x5c16d6):_0x2f11b0(_0x5c16d6))||_0x5c16d6);return _0x82fbf4&&_0x5c16d6&&_c(_0x177a23,_0x46610f,_0x5c16d6),_0x5c16d6;},ni=(_0x197bdb,_0x15fb1e)=>(_0x27020e,_0x2fbf57)=>_0x15fb1e(_0x27020e,_0x2fbf57,_0x197bdb);let ls=class{constructor(_0x20685e,_0x44b52b){const _0x1dddb1=_0x4299a1;this[_0x1dddb1(0x4cf)]=_0x20685e,this['_httpService']=_0x44b52b;}async[_0x4299a1(0x3c8)](_0x127a67,_0x3e001a){const _0x5288ff=_0x4299a1;var _0x107bdb;const {unitID:_0x7d2f47,type:_0x19be33,revision:_0x51b8ed=0x0}=_0x3e001a,_0x4d3591=this['_getSnapshotAPIPrefix']()+'/'+_0x19be33+_0x5288ff(0x300)+_0x7d2f47+'/rev/'+_0x51b8ed,_0x24a24d=(await this[_0x5288ff(0x28d)][_0x5288ff(0x401)](_0x4d3591))['body'],_0x49dabf=(_0x107bdb=_0x24a24d[_0x5288ff(0x460)])==null?void 0x0:_0x107bdb[_0x5288ff(0x2dd)];if(_0x49dabf){const _0x5961c6=_0x49dabf==null?void 0x0:_0x49dabf['originalMeta'],_0x4b6036=_0x14df5c[_0x5288ff(0x206)](_0x1bbb27(_0x5961c6));_0x49dabf[_0x5288ff(0x30f)]=_0x4b6036,Object[_0x5288ff(0x481)](_0x49dabf[_0x5288ff(0x4e6)])[_0x5288ff(0x2c6)](([,_0x18d27a])=>{const _0x37be38=_0x5288ff,_0x4430cc=_0x18d27a[_0x37be38(0x30f)],_0x20cd02=_0x14df5c[_0x37be38(0x206)](_0x1bbb27(_0x4430cc));_0x18d27a[_0x37be38(0x30f)]=_0x20cd02;});}return _0x24a24d;}async['getSheetBlock'](_0x57a44e,_0x2a6deb){const _0x4ee81d=_0x4299a1,{unitID:_0x333256,type:_0x34be07,blockID:_0x374fce}=_0x2a6deb,_0x3b59b9=this[_0x4ee81d(0x476)]()+'/'+_0x34be07+_0x4ee81d(0x300)+_0x333256+_0x4ee81d(0x2bf)+_0x374fce;return(await this['_httpService'][_0x4ee81d(0x401)](_0x3b59b9))[_0x4ee81d(0x3a6)];}async['getDeserializedSheetBlock'](_0x2ce93b,_0x3198d0){const _0x5859c0=_0x4299a1,{unitID:_0x267bac,type:_0xcd6e2a,blockID:_0x5e5f78}=_0x3198d0,_0x1fe774=this[_0x5859c0(0x476)]()+_0x5859c0(0x2bf)+_0xcd6e2a+_0x5859c0(0x300)+_0x267bac+_0x5859c0(0x2bf)+_0x5e5f78;return(await this[_0x5859c0(0x28d)][_0x5859c0(0x401)](_0x1fe774))[_0x5859c0(0x3a6)];}async[_0x4299a1(0x2b7)](_0x32728d,_0x1a0bf1){const _0x5ccc44=_0x4299a1,{unitID:_0x54bd7d,type:_0x9ac50a,from:_0x4befa4,to:_0x27bfeb}=_0x1a0bf1,_0x4af002=this[_0x5ccc44(0x476)]()+'/'+_0x9ac50a+_0x5ccc44(0x300)+_0x54bd7d+_0x5ccc44(0x1df)+_0x4befa4+_0x5ccc44(0x510)+_0x27bfeb;return(await this[_0x5ccc44(0x28d)][_0x5ccc44(0x401)](_0x4af002))['body'];}[_0x4299a1(0x588)](){const _0x3eeae9=_0x4299a1;var _0x30846e;return(_0x30846e=this[_0x3eeae9(0x4cf)][_0x3eeae9(0x2b6)](ar))!=null?_0x30846e:this[_0x3eeae9(0x476)]();}['_getAPIPrefix'](){const _0x35d185=_0x4299a1;var _0xd9ebd8,_0x1e9fe4;const _0xa740ca=this[_0x35d185(0x4cf)][_0x35d185(0x2b6)](rr),_0x38eaf5=this[_0x35d185(0x4cf)]['getConfig'](ie);return(_0x1e9fe4=(_0xd9ebd8=_0x38eaf5==null?void 0x0:_0x38eaf5['snapshotServerUrl'])!=null?_0xd9ebd8:_0xa740ca)!=null?_0x1e9fe4:or;}async[_0x4299a1(0x2cd)](_0x5dd9e2,_0x11bc73){const _0x193bb5=_0x4299a1,_0x43c941=_0x193bb5(0x2fd)+_0x11bc73[_0x193bb5(0x41e)]+_0x193bb5(0x300)+_0x11bc73[_0x193bb5(0x3cd)]+_0x193bb5(0x56b);return(await this[_0x193bb5(0x28d)]['get'](_0x43c941,{'params':{'resourceId':JSON[_0x193bb5(0x1fb)](_0x11bc73[_0x193bb5(0x535)])}}))[_0x193bb5(0x3a6)];}[_0x4299a1(0x392)](){const _0x30c361=_0x4299a1;throw new Error(_0x30c361(0x4f9));}[_0x4299a1(0x558)](){const _0x308f50=_0x4299a1;throw new Error(_0x308f50(0x4f9));}[_0x4299a1(0x2a7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4299a1(0x29e)](){const _0xf34003=_0x4299a1;throw new Error(_0xf34003(0x4f9));}[_0x4299a1(0x23e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=dc([ni(0x0,_0x3fd15e),ni(0x1,_0x2f5cfe(_0x56ddfb))],ls);var fc=Object[_0x4299a1(0x5c7)],vc=Object[_0x4299a1(0x563)],mc=(_0xa9718b,_0x433868,_0x249e42,_0x419b95)=>{for(var _0x9a16d8=_0x419b95>0x1?void 0x0:_0x419b95?vc(_0x433868,_0x249e42):_0x433868,_0xbf7d9=_0xa9718b['length']-0x1,_0x44073b;_0xbf7d9>=0x0;_0xbf7d9--)(_0x44073b=_0xa9718b[_0xbf7d9])&&(_0x9a16d8=(_0x419b95?_0x44073b(_0x433868,_0x249e42,_0x9a16d8):_0x44073b(_0x9a16d8))||_0x9a16d8);return _0x419b95&&_0x9a16d8&&fc(_0x433868,_0x249e42,_0x9a16d8),_0x9a16d8;},et=(_0x54559e,_0x431a86)=>(_0x474490,_0x5a2a88)=>_0x431a86(_0x474490,_0x5a2a88,_0x54559e);let _s=class extends _0x2d3469{constructor(_0x2aa3f7,_0x15e1ba,_0x4e8397,_0x35a1c2,_0x993802){const _0x45c360=_0x4299a1;super(_0x2aa3f7,_0x15e1ba,_0x4e8397),this[_0x45c360(0x5bd)]=_0x35a1c2,this[_0x45c360(0x327)]=_0x993802;}['transformUndoRedo'](_0x208e5d,_0x5285cc){const _0x24fd7f=_0x4299a1,_0x4b991c=this[_0x24fd7f(0x522)](_0x208e5d);if(_0x4b991c)try{const _0x166616=this[_0x24fd7f(0x593)](_0x4b991c,_0x5285cc);this[_0x24fd7f(0x4d7)](_0x208e5d,_0x166616);}catch(_0x5ef5d0){this[_0x24fd7f(0x327)][_0x24fd7f(0x1c9)]('[CollaborationUndoRedoService]',_0x5ef5d0),this[_0x24fd7f(0x453)](_0x208e5d);}const _0x7e1071=this[_0x24fd7f(0x25d)](_0x208e5d);if(_0x7e1071)try{const _0x3100ae=this[_0x24fd7f(0x593)](_0x7e1071,_0x5285cc);this[_0x24fd7f(0x4a8)](_0x208e5d,_0x3100ae);}catch(_0x971542){this[_0x24fd7f(0x327)][_0x24fd7f(0x1c9)](_0x971542),this[_0x24fd7f(0x524)](_0x208e5d);}}[_0x4299a1(0x453)](_0x104c10){const _0x3e7a39=_0x4299a1,_0x37bdb0=this[_0x3e7a39(0x522)](_0x104c10);_0x37bdb0&&(_0x37bdb0[_0x3e7a39(0x256)]=0x0,this[_0x3e7a39(0x554)]());}['_clearRedo'](_0x58938a){const _0x140bc1=_0x4299a1,_0x5f19c9=this[_0x140bc1(0x25d)](_0x58938a);_0x5f19c9&&(_0x5f19c9[_0x140bc1(0x256)]=0x0,this['_updateStatus']());}[_0x4299a1(0x4d7)](_0x2f8c14,_0x4d522e){const _0x3b43e9=_0x4299a1;this[_0x3b43e9(0x25b)]['set'](_0x2f8c14,_0x4d522e),this[_0x3b43e9(0x554)]();}['_substituteRedoStack'](_0x330a75,_0x4c8279){const _0xf14457=_0x4299a1;this[_0xf14457(0x359)]['set'](_0x330a75,_0x4c8279),this[_0xf14457(0x554)]();}['_transformStack'](_0x13b224,_0x3d675d){const _0x21faaa=_0x4299a1,_0x1f12b3=[];let _0x11b9bd=_0x3d675d,_0x32ea7d=_0x3d675d;for(let _0x349011=_0x13b224[_0x21faaa(0x256)]-0x1;_0x349011>=0x0;_0x349011--){const {unitID:_0x225326,undoMutations:_0x395563,redoMutations:_0x54823e}=_0x13b224[_0x349011],_0x2040a9=this[_0x21faaa(0x5bd)]['transformMutationsWithChangeset'](_0x11b9bd,_0x395563),_0x416cd4=this[_0x21faaa(0x5bd)][_0x21faaa(0x364)](_0x32ea7d,_0x54823e);if(_0x52c122(_0x2040a9)||_0x52c122(_0x416cd4)){this[_0x21faaa(0x327)]['error'](_0x21faaa(0x466),'transformStack\x20failed!',_0x2040a9,_0x416cd4);break;}_0x11b9bd=_0x2040a9[_0x21faaa(0x275)],_0x32ea7d=_0x416cd4['c1Prime'],_0x1f12b3[_0x21faaa(0x499)]({'unitID':_0x225326,'undoMutations':_0x2040a9[_0x21faaa(0x20e)],'redoMutations':_0x416cd4[_0x21faaa(0x20e)]});}return _0x1f12b3['reverse']();}};_s=mc([et(0x0,_0x19bced),et(0x1,_0x2d1134),et(0x2,_0x660c36),et(0x3,_0x131cfd),et(0x4,_0x105261)],_s);class pc extends _0x737a66{constructor(){const _0x143bc3=_0x4299a1;super(),g(this,_0x143bc3(0x2de)),this[_0x143bc3(0x2de)]=_0x464cf3(window,_0x143bc3(0x49e))[_0x143bc3(0x35f)](_0x2fa59a(this[_0x143bc3(0x47b)]),_0x3a5006(0x1),_0x184c47(void 0x0));}[_0x4299a1(0x3c5)](_0x393ca9,_0x16fb38,_0x57a33b=!0x1){const _0x1a0b41=_0x4299a1,_0x55709c=new URL(window['location'][_0x1a0b41(0x491)]);_0x55709c['searchParams'][_0x1a0b41(0x3db)](_0x393ca9,_0x16fb38),_0x57a33b?window['history']['replaceState']('','',_0x55709c['toString']()):window[_0x1a0b41(0x26e)][_0x1a0b41(0x39c)]('','',_0x55709c[_0x1a0b41(0x37a)]());}[_0x4299a1(0x4bf)](_0x58a60e,_0x20c144=!0x1){const _0x123c51=_0x4299a1,_0x4982a0=new URL(window[_0x123c51(0x212)][_0x123c51(0x491)]);_0x4982a0[_0x123c51(0x4a6)][_0x123c51(0x404)](_0x58a60e),_0x20c144?window[_0x123c51(0x26e)][_0x123c51(0x1cb)]('','',_0x4982a0[_0x123c51(0x37a)]()):window[_0x123c51(0x26e)][_0x123c51(0x39c)]('','',_0x4982a0[_0x123c51(0x37a)]());}[_0x4299a1(0x4d5)](_0xc37d4){const _0x306d13=_0x4299a1;var _0x5c8fd0;return(_0x5c8fd0=new URL(window['location'][_0x306d13(0x491)])['searchParams'][_0x306d13(0x401)](_0xc37d4))!=null?_0x5c8fd0:void 0x0;}}var Yi=Object['defineProperty'],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x2390b5,_0x3ff507,_0xcbf223)=>_0x3ff507 in _0x2390b5?Yi(_0x2390b5,_0x3ff507,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcbf223}):_0x2390b5[_0x3ff507]=_0xcbf223,Ic=(_0xb247d5,_0x3092e2,_0x45e92d,_0x3a0624)=>{for(var _0x2d435d=_0x3a0624>0x1?void 0x0:_0x3a0624?gc(_0x3092e2,_0x45e92d):_0x3092e2,_0x59cfff=_0xb247d5['length']-0x1,_0x374f95;_0x59cfff>=0x0;_0x59cfff--)(_0x374f95=_0xb247d5[_0x59cfff])&&(_0x2d435d=(_0x3a0624?_0x374f95(_0x3092e2,_0x45e92d,_0x2d435d):_0x374f95(_0x2d435d))||_0x2d435d);return _0x3a0624&&_0x2d435d&&Yi(_0x3092e2,_0x45e92d,_0x2d435d),_0x2d435d;},_t=(_0x20b5d9,_0x29b110)=>(_0x864945,_0x240be3)=>_0x29b110(_0x864945,_0x240be3,_0x20b5d9),Cc=(_0xfabf87,_0x11426f,_0x31641f)=>Sc(_0xfabf87,_0x11426f+'',_0x31641f);const Ec=_0x4299a1(0x250);let us=class extends _0x5c6537{constructor(_0x3a0fb8=Er,_0x4e93c6,_0x480df5,_0x37eb07,_0x300a3f){const _0xccb594=_0x4299a1;super(),this[_0xccb594(0x4c9)]=_0x3a0fb8,this[_0xccb594(0x327)]=_0x4e93c6,this[_0xccb594(0x454)]=_0x480df5,this[_0xccb594(0x557)]=_0x37eb07,this[_0xccb594(0x4cf)]=_0x300a3f;const {..._0x5c3811}=this['_config'];this['_configService']['setConfig'](ie,_0x5c3811);}['onStarting'](){const _0x2a6313=_0x4299a1;this[_0x2a6313(0x424)](),this['_initDependencies']();}[_0x4299a1(0x251)](){_0x1867c1(this['_injector'],[[Et]]);}[_0x4299a1(0x45f)](){const _0x5f4db5=_0x4299a1;this[_0x5f4db5(0x43c)]();}[_0x4299a1(0x424)](){const _0x12565c=_0x4299a1;var _0x2f1bf2,_0xd56098,_0x516bb9,_0x575706;this[_0x12565c(0x557)][_0x12565c(0x31a)](_0x1ea290)&&this[_0x12565c(0x327)]['error'](_0x12565c(0x4ab),_0x12565c(0x525));const _0x377362=[[_0x1ea290,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x137f7e],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0xd56098=(_0x2f1bf2=this[_0x12565c(0x4c9)])==null?void 0x0:_0x2f1bf2[_0x12565c(0x26d)])!=null?_0xd56098:es}],[_0x35ea1d,{'useClass':ls}],[_0x2be504,{'useClass':cs}],[_0x108880,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x516bb9=this[_0x12565c(0x4c9)])!=null&&_0x516bb9['enableSingleActiveInstanceLock']&&_0x377362[_0x12565c(0x499)]([yt,{'useClass':so}]),_0x53ca79(this[_0x12565c(0x557)],_0x151e3e(_0x377362,(_0x575706=this['_config'])==null?void 0x0:_0x575706[_0x12565c(0x3ca)]));}[_0x4299a1(0x43c)](){const _0x5b9095=_0x4299a1;this['disposeWithMe'](this[_0x5b9095(0x454)][_0x5b9095(0x1ca)](_0x120bce[_0x5b9095(0x599)],[os])),this[_0x5b9095(0x5b7)](this[_0x5b9095(0x454)][_0x5b9095(0x1ca)](_0x120bce[_0x5b9095(0x247)],[as]));}['_initDependencies'](){const _0x2f75fd=_0x4299a1;var _0x5524d3,_0x176afd;this[_0x2f75fd(0x557)][_0x2f75fd(0x401)](_0x56ddfb)[_0x2f75fd(0x537)]({'priority':0x14,'interceptor':_0x33ba4d({'maxParallel':0x6})}),(_0x5524d3=this[_0x2f75fd(0x4c9)])!=null&&_0x5524d3['enableOfflineEditing']||this[_0x2f75fd(0x557)]['get'](q)[_0x2f75fd(0x574)](),(_0x176afd=this[_0x2f75fd(0x4c9)])!=null&&_0x176afd[_0x2f75fd(0x596)]&&_0x1867c1(this[_0x2f75fd(0x557)],[[bt]]),_0x1867c1(this[_0x2f75fd(0x557)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x4299a1(0x36e),Ec),us=Ic([_0x45b1bd(_0x3205bf,_0x381d3e),_t(0x1,_0x105261),_t(0x2,_0x113a5e),_t(0x3,_0x2f5cfe(_0x22006e)),_t(0x4,_0x3fd15e)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};