@univerjs-pro/collaboration-client-ui 0.12.2-experimental.20251201-5b27b55 → 0.12.2-experimental.20251202-7f1a98f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x381542=_0x563f;(function(_0x3eca09,_0x262db8){const _0x43d214=_0x563f,_0x59d4c3=_0x3eca09();while(!![]){try{const _0x4748ea=parseInt(_0x43d214(0x310))/0x1+parseInt(_0x43d214(0x2e3))/0x2*(parseInt(_0x43d214(0x171))/0x3)+-parseInt(_0x43d214(0x193))/0x4+-parseInt(_0x43d214(0x13f))/0x5*(-parseInt(_0x43d214(0x309))/0x6)+-parseInt(_0x43d214(0x222))/0x7+-parseInt(_0x43d214(0x22c))/0x8+-parseInt(_0x43d214(0xf7))/0x9;if(_0x4748ea===_0x262db8)break;else _0x59d4c3['push'](_0x59d4c3['shift']());}catch(_0x10594d){_0x59d4c3['push'](_0x59d4c3['shift']());}}}(_0x54dc,0xb492c));var Yt=Object[_0x381542(0x1c8)],Wt=(_0x4e4344,_0x3b96f2,_0x1598c7)=>_0x3b96f2 in _0x4e4344?Yt(_0x4e4344,_0x3b96f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1598c7}):_0x4e4344[_0x3b96f2]=_0x1598c7,_=(_0x12f986,_0x482e4a,_0x467a28)=>Wt(_0x12f986,typeof _0x482e4a!=_0x381542(0x240)?_0x482e4a+'':_0x482e4a,_0x467a28);import{jsx as _0x10012c,jsxs as _0x2c9254}from'react/jsx-runtime';import{CollaborationStatus as _0x4fcf8b,CollaborationSessionService as _0x22b01b,CollaborationController as _0x3e297d,DataLoaderService as _0x359ab0,MemberService as _0x4bf3fb,SessionStatus as _0x5848c4,ILocalCacheService as _0x2f7e0d,CollaborationUIEventService as _0xe64e8f,CollaborationUIEventId as _0x2c037b,DocCollaborationEntity as _0x4dec7e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x361fc5,getLocalCacheKey as _0x4dd65c,LOCAL_CACHE_INTERVAL as _0xaf724e,LOCAL_CACHE_INTERVAL_KEY as _0x3713b6,UniverCollaborationClientPlugin as _0x17d717,CollaborationSocketService as _0x286cc4,DEFAULT_WS_SESSION_TICKET_URL as _0x59d416,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c5efc,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x122c4b,UnitStatus as _0x457f49}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x726278,IUniverInstanceService as _0x143643,Inject as _0x2ef654,Injector as _0x43877d,Disposable as _0x282063,createIdentifier as _0x540b04,ILogService as _0x4c5a8a,ICommandService as _0x478bd4,Optional as _0x2d8cc5,RxDisposable as _0x37d03e,Workbook as _0x45ced1,DOC_RANGE_TYPE as _0x481c6f,debounce as _0x575ddf,Rectangle as _0xf757cd,DisposableCollection as _0x24d8e5,toDisposable as _0xa06c05,UniverInstanceType as _0x11507d,generateRandomId as _0x5d1d29,COLORS as _0x47a336,ColorKit as _0x37be34,ThemeService as _0x487580,fromEventSubject as _0x123da2,Tools as _0x2c60fa,CommandType as _0x233bb2,IConfigService as _0x1fcde3,CanceledError as _0x1f0320,isFormulaString as _0x21774c,isFormulaId as _0x632ccc,ILocalStorageService as _0x4ea42f,DependentOn as _0x31b9fd,Plugin as _0x5e41ff,merge as _0x6f5636,registerDependencies as _0x3d200a,mergeOverrideWithDependencies as _0x27927b,touchDependencies as _0x563dfc}from'@univerjs/core';import{useObservable as _0x5a2e5e,useDependency as _0x1c7fe5,IUIPartsService as _0x22941a,BuiltInUIPart as _0x4d9737,connectInjector as _0x30ca85,IBeforeCloseService as _0x38d930,IMessageService as _0x37c01f,INotificationService as _0x557674}from'@univerjs/ui';import{BehaviorSubject as _0x2c6ac6,switchMap as _0x5c652d,of as _0x4e5ebf,takeUntil as _0xb33a09,debounceTime as _0x33aec4,Subject as _0x5dc0f4,filter as _0xa1c3e2,merge as _0x4c8ad4,combineLatest as _0x210567,fromEvent as _0x21cf88,shareReplay as _0x454f2f,mapTo as _0x445832,distinctUntilChanged as _0x339802}from'rxjs';import{Tooltip as _0x24f74e,clsx as _0xa638c0,MessageType as _0x3f469b}from'@univerjs/design';import{useRef as _0x9e4317,createElement as _0x107e6a,forwardRef as _0x1e224e,useCallback as _0x403bea}from'react';import{IRemoteInstanceService as _0x3634d1}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x49c370,RefRangeService as _0x313bef,SetSelectionsOperation as _0x10f466,SheetsSelectionsService as _0x51dd20,EffectRefRangId as _0x45eebc,handleIRemoveRow as _0x430829,handleIRemoveCol as _0x3c99aa,handleMoveRange as _0x87c3e8,handleInsertRow as _0x3092ed,handleInsertRangeMoveRight as _0xdd32ba,handleInsertRangeMoveDown as _0x486cc1,handleInsertCol as _0x4e1f6b,handleDeleteRangeMoveUp as _0x52a7dc,handleDeleteRangeMoveLeft as _0x1ebd4c,runRefRangeMutations as _0x1d37d8}from'@univerjs/sheets';import{Shape as _0x4f7b35,Rect as _0x4bafb1,getColor as _0x2caebb,RegularPolygon as _0x4c6616,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xc25102,Vector2 as _0x5e3011,SHEET_VIEWPORT_KEY as _0x1c3b91,IRenderManagerService as _0x4ca29f}from'@univerjs/engine-render';import{HTTPService as _0x57a0f4,ISocketService as _0x46dece,WebSocketService as _0x45c25e}from'@univerjs/network';import{IDocClipboardService as _0x588c5d,NodePositionConvertToCursor as _0x1e3027,NodePositionConvertToRectRange as _0x1bf9bd,TEXT_RANGE_LAYER_INDEX as _0x5b229d,SetDocZoomRatioOperation as _0x19b885,DocIMEInputManagerService as _0x415c90,DocStateChangeManagerService as _0x1d195a}from'@univerjs/docs-ui';import{IImageIoService as _0x6b5781}from'@univerjs/drawing';import{ITransformService as _0x471770,CollaborationEvent as _0x26506e,isTransformMutationFailure as _0x426e81,isTransformMutationsWithChangesetSuccess as _0x5707d8,RevisionService as _0x182c7e,ISnapshotServerService as _0x5f2a22}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5be305,RichTextEditingMutation as _0x1b5a8f,DocSelectionManagerService as _0x58bb40,DocSkeletonManagerService as _0x5551a0}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1ff488,serializeRangeWithSheet as _0x2fec25,FormulaExecuteStageType as _0x2d7c4b,FormulaExecutedStateType as _0x2a85d3,SetFormulaCalculationStartMutation as _0x27d4aa,SetFormulaCalculationNotificationMutation as _0x2f800c}from'@univerjs/engine-formula';import{map as _0x15499d,filter as _0x181f05,throttleTime as _0x20d47b,takeUntil as _0x5cd275,switchMap as _0x279ad3}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1d5d49,getCoordByCell as _0x52458d,getSheetObject as _0x182cab}from'@univerjs/sheets-ui';function Ge({ref:_0x30a3b1,..._0xb1779e}){const _0x37882b=_0x381542,{icon:_0x2ac276,id:_0x4c8a4c,className:_0x12daae,extend:_0x5a01e3,..._0x565ad2}=_0xb1779e,_0x405a04=(_0x37882b(0x15d)+_0x4c8a4c+'\x20'+(_0x12daae||''))[_0x37882b(0xff)](),_0x5391e6=_0x9e4317('_'+Ei());return At(_0x2ac276,''+_0x4c8a4c,{'defIds':_0x2ac276['defIds'],'idSuffix':_0x5391e6[_0x37882b(0x1c9)]},{'ref':_0x30a3b1,'className':_0x405a04,..._0x565ad2},_0x5a01e3);}function At(_0x462d93,_0x50d2ff,_0x1cdf03,_0x5025c7,_0x51aef5){const _0x23ada2=_0x381542;return _0x107e6a(_0x462d93['tag'],{'key':_0x50d2ff,...gi(_0x462d93,_0x1cdf03,_0x51aef5),..._0x5025c7},(vi(_0x462d93,_0x1cdf03)[_0x23ada2(0x273)]||[])[_0x23ada2(0x325)]((_0x2ca1ba,_0x3c2e7d)=>At(_0x2ca1ba,_0x50d2ff+'-'+_0x462d93['tag']+'-'+_0x3c2e7d,_0x1cdf03,void 0x0,_0x51aef5)));}function gi(_0x17d104,_0x1fa7de,_0x5895e5){const _0x535720=_0x381542,_0x3bd893={..._0x17d104[_0x535720(0x139)]};_0x5895e5!=null&&_0x5895e5[_0x535720(0x261)]&&_0x3bd893[_0x535720(0x1c2)]===_0x535720(0x261)&&(_0x3bd893[_0x535720(0x1c2)]=_0x5895e5['colorChannel1']),_0x17d104['tag']==='mask'&&_0x3bd893['id']&&(_0x3bd893['id']=_0x3bd893['id']+_0x1fa7de['idSuffix']),Object[_0x535720(0x161)](_0x3bd893)[_0x535720(0x15f)](([_0x303ba2,_0x578036])=>{const _0x4d1238=_0x535720;_0x303ba2===_0x4d1238(0x27e)&&typeof _0x578036==_0x4d1238(0x264)&&(_0x3bd893[_0x303ba2]=_0x578036[_0x4d1238(0x1f4)](/url\(#(.*)\)/,_0x4d1238(0x202)+_0x1fa7de['idSuffix']+')'));});const {defIds:_0xa21df2}=_0x1fa7de;return!_0xa21df2||_0xa21df2[_0x535720(0x10b)]===0x0||(_0x17d104[_0x535720(0x23c)]===_0x535720(0x29b)&&_0x3bd893[_0x535720(0x1d2)]&&(_0x3bd893[_0x535720(0x1d2)]=_0x3bd893['xlink:href']+_0x1fa7de[_0x535720(0x1f9)]),Object[_0x535720(0x161)](_0x3bd893)[_0x535720(0x15f)](([_0x40dc19,_0x26ca0f])=>{const _0x3c09eb=_0x535720;typeof _0x26ca0f=='string'&&(_0x3bd893[_0x40dc19]=_0x26ca0f[_0x3c09eb(0x1f4)](/url\(#(.*)\)/,_0x3c09eb(0x202)+_0x1fa7de['idSuffix']+')'));})),_0x3bd893;}function vi(_0x1ee19b,_0x2cbfb3){const _0x14dd1e=_0x381542;var _0x21e472;const {defIds:_0x507960}=_0x2cbfb3;return!_0x507960||_0x507960['length']===0x0?_0x1ee19b:_0x1ee19b[_0x14dd1e(0x23c)]===_0x14dd1e(0x2b2)&&((_0x21e472=_0x1ee19b[_0x14dd1e(0x273)])!=null&&_0x21e472['length'])?{..._0x1ee19b,'children':_0x1ee19b[_0x14dd1e(0x273)][_0x14dd1e(0x325)](_0xc81313=>typeof _0xc81313[_0x14dd1e(0x139)]['id']=='string'&&_0x507960&&_0x507960[_0x14dd1e(0x210)](_0xc81313['attrs']['id'])?{..._0xc81313,'attrs':{..._0xc81313[_0x14dd1e(0x139)],'id':_0xc81313['attrs']['id']+_0x2cbfb3[_0x14dd1e(0x1f9)]}}:_0xc81313)}:_0x1ee19b;}function Ei(){const _0x375616=_0x381542;return Math[_0x375616(0x111)]()['toString'](0x24)[_0x375616(0x20e)](0x2,0x8);}Ge['displayName']=_0x381542(0x285);const pi={'tag':_0x381542(0x308),'attrs':{'xmlns':_0x381542(0x251),'fill':_0x381542(0x211),'viewBox':_0x381542(0x100),'width':'1em','height':_0x381542(0x148)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x381542(0x177),'d':_0x381542(0x10a),'strokeLinecap':_0x381542(0x2b8),'strokeLinejoin':_0x381542(0x2b8),'strokeWidth':1.2}}]},{'tag':_0x381542(0x2b2),'attrs':{},'children':[{'tag':_0x381542(0x15e),'attrs':{'id':_0x381542(0x29f)},'children':[{'tag':_0x381542(0x2f3),'attrs':{'fill':_0x381542(0x25f),'d':_0x381542(0x1f6)}}]}]}],'defIds':[_0x381542(0x29f)]},Pt=_0x1e224e(function(_0x2e517b,_0x4b9da8){return _0x107e6a(Ge,Object['assign']({},_0x2e517b,{'id':'off-line-icon','ref':_0x4b9da8,'icon':pi}));});Pt[_0x381542(0x32d)]='OffLineIcon';const Oi={'tag':_0x381542(0x308),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x381542(0x228),'width':_0x381542(0x148),'height':_0x381542(0x148)},'children':[{'tag':'g','attrs':{'clipPath':_0x381542(0x2ee)},'children':[{'tag':_0x381542(0x2f3),'attrs':{'stroke':_0x381542(0x177),'d':_0x381542(0x252),'strokeLinecap':_0x381542(0x2b8),'strokeLinejoin':_0x381542(0x2b8),'strokeWidth':1.2}}]},{'tag':_0x381542(0x2b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x381542(0x2ca)},'children':[{'tag':_0x381542(0x2f3),'attrs':{'fill':'white','d':_0x381542(0x1f6),'transform':_0x381542(0x221)}}]}]}],'defIds':[_0x381542(0x2ca)]},wt=_0x1e224e(function(_0x17b014,_0x6b6836){const _0x130580=_0x381542;return _0x107e6a(Ge,Object[_0x130580(0x1aa)]({},_0x17b014,{'id':'on-line-icon','ref':_0x6b6836,'icon':Oi}));});wt[_0x381542(0x32d)]=_0x381542(0x175);function _0x54dc(){const _0x218f6a=['_localStorageService','getDocRanges','registerRenderModule','stringify','_config','updateOfflineData','Warning','event$','_scene','beginPath','_saveCache','roomMembers','replaceDocRanges','UPDATE_CURSOR','requireSession','_lastPointer','currentSkeleton$','TEXT','_status$','getUnitStatus$','_drawTextRange','REDEMPTION_CODE_INACTIVE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_shapes','currentTheme$','getTypeOfUnitAdded$','transformMutation','onPointerMove$','replace','resize','M0\x200H16V16H0z','_backgroundColor','LICENSE_EXPORT_SIZE_EXCEEDED','idSuffix','_memberID','_hideTimer','parse','triggerDblclick','values','PENDING','_collaborationSessionService','_urlService','url(#$1','drawWith','setTimeout','selection','_registerDependencies','_entities','onMouseMove','type','rgba(255,\x20255,\x20255,\x200.01)','save','getMember','location','substring','_color','includes','none','colno','collab-rect-range-','_initCommandExecutedListener','popstate','collabStatus.notCollab','transformRemoteChangeset','endColumn','undoState','error','_updateURLWithCurrentState','labelPosition','#FFF','FromArray','functionsExecutedState','redoState','translate(.97)','2028733JMcnCK','isArray','SYNCED','unload','CONFLICT','startFormulaLimitUrl','0\x200\x2017\x2016','div','NO_OTHER_CLIENTS_EDITING','clearInterval','2177856JAQfrK','getStateCache','join','ranges','_clearPolling','_getMergeRange','_scheduleClearOtherTimer','/universer-api/license/formula/limit/start','_id','memberID','onLocalMutation','_beforeCloseService','getSheetBySheetId','SUBMIT_CHANGESET_TIMEOUT','_transformService','permission.title','tag','totalFormulasToCalculate','textRanges','onCommandExecuted','symbol','getCurrentRevOfUnit','EMAIL_HAS_BEEN_BOUND','REDEMPTION_INVALID_CODE','_range','pushState','HEADER_MENU','SOCKET_FAILED_RETRY','exhaustSavingTask','show','backgroundColor','subUnitId','black','_initDependencies','collabStatus.conflict','_commandService','getOwnPropertyDescriptor','http://www.w3.org/2000/svg','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','replaceState','CONNECTOR_DATA_TOO_LARGE','beforeCommandExecuted','range','INTERNAL_ERROR','getCellMatrix','getMemberID','_online','addObject','UNIVER_SHEET','complete','_toggleOffline','white','syncEditingCollabCursor','colorChannel1','createSocket','Success','string','_docClipboardService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','OTHER_CLIENT_EDITING','toString','_onRefRangeChange','collab-text-range-','lineTo','_transformPreviousActiveRange','doc.mutation.rich-text-editing','name','skeleton','USER_IS_ANONYMOUS','releaseFormulaLimitUrl','row','children','pipe','parseInt','getSheetId','getCollabCursors$','ENTITLE_INSUFFICIENT_QUOTA','_hover','YUUMI_CONNECTOR_URL_NOT_FOUND','_initUserListener','entityInit$','FETCH_MISS','mask','subscribeEvent','dirtyRanges','_heartbeatTimer','m2Prime','newValue','ONLINE','UniverIcon','post','createInstance','font','lineno','getUnitId','_releaseCalculationLimit','OFFLINE','_initResize','stageInfo','max','setInterval','_scheduleSaving','_docTransformIMECacheService','_startCalculationLimit','code','_cursorInfo$','Failed','getCurrent','setAlpha','shift','setStateCache','use','disposeUnit','_pollingInterval','editingUnit','off-line-icon_clip0_910_343','APPLY_REVISION_CONFILICT','searchParams','limitInfo','...','YUUMI_RATE_OVER_LIMIT','next','getValue','_logService','bind','/universer-api/license/formula/limit/status','bottom','getCurrentSelections','/universer-api/license/formula/limit/done','_saveTaskMap','_drawRectRange','JOIN_ROOM_FAILED','DeleteRangeMoveLeftCommandId','yellow.400','defs','_entityInit$','INVITE_CODE_HAS_BEEN_UES','_transformUndoRedoStack','min','_getSheetObject','round','MOBILE_VERIFY_CODE_MISMATCH','_unitOnClients','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','setParam','getTypeOfUnitDisposed$','dispose$','width','UNIVER_DOC','loadUnit','LICENSE_MAX_UNITS_EXCEEDED','status$','_docTransformStateCacheService','UNDEFINED','_collabCursorState$','runId','[Window\x20Error]:\x20','_currentUsage','on-line-icon_clip0_910_349','[Unhandled\x20Rejection]:\x20','_refreshCollabCursors','arc','APPLY_REJECT','START_CALCULATION','_setFormulaLimitStatus','Unknown\x20user','collaboration.closeRoom','_scheduleHeartbeat','get','CHANGESET_REVISION_CONFILICT','has','cursorInfo$','_registerRenderDependencies','UNRECOGNIZED','CLOSE_ROOM','?taskId=','transformIMECache','collaboration.single-unit.warning','_handleLeaveEvent','hovered','unitId','message','isEditing','942HiWpwP','assignAColorForMemberID','push','executeCommand','urlChange$','Error','_drawAnchor','params','INVITE_CODE_ALREADY_BOUND','override','LICENSE_IMPORT_SIZE_EXCEEDED','url(#on-line-icon_clip0_910_349)','APPLY_PERMISSION_DENIED','_applyCommand','_injector','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','path','_checkCalculationAvailable','_collaborationUIEventService','_sheetSkeletonManagerService','UNAUTHENTICATED','ENTITLE_NEED_BILLING_ADDRESS','delete','_docTransformSelectionsService','_hovered','_initWindowErrorListener','deepClone','_onCursorDelete','_memberService','Loading','_univerInstanceService','USERS_LEAVE','PY_RUNTIME_SCRIPT_ERROR','unit','data','disposeWithMe','_notificationService','svg','33684jUljIh','_setupBeforeClosingHandler','_initStatusComponent','_startSheetCollabCursor','EMAIL_VERIFY_CODE_MISMATCH','_docSkeletonManagerService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','1435927Jigrqx','getConfig','_refRangeService','collabCursorState$','_instanceService','onRendered','_send','WECHAT_HAS_BEEN_BOUND','getParam','_localeService','transformByState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_draw','_colorAssignService','saveTaskMap','univer-flex\x20univer-items-center','NOT_FOUND','origin','engine','filename','setShapeProps','map','color','collab-client.tooltip.reconnect','currentUsage','LOGIN_FAILED','_createSocketURL','_init','search','displayName','onPointerEnter$','_initEntityListener','_imageIoService','registerBeforeClose','_initEvent','activeSheet$','_onCursorUpdate','InsertRowCommandId','subunit','application/json','_taskIds','fillStyle','with','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_uiPartsService','_session','LOGIN_TOKEN_PROCESSING_FAILED','closePath','9276894gvopSb','getSkeleton','m1Prime','ENSURE_SNAPSHOT_EXECUTION','enableLocalCache','RECT','key','_cachedData','trim','0\x200\x2016\x2016','init','startColumn','addEventListener','MOBILE_HAS_BEEN_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','CURRENT_STATUS_CANNOT_OPERATE','_themeService','DeleteRangeMoveUpCommandId','INVITE_CODE_REQUIRED','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','length','body','eventID','set','_clearOtherTimers','socket$','random','_labelPosition','green.600','_maxFormulaLimit','session.connection-failed','unhandledrejection','_selfUnitIDs','_initCommandInterceptor','_docSyncEditingCollabCursorService','_anchorDot','then','transformSelections','getColorFromTheme','catch','session.will-retry','LICENSE_DISTRO_REJECTED','_localCacheService','dispose','now','AUTHORIZE_CODE_ILLEGAL','sessionStatus$','/universer-api/frontend/logs','getRangePointData','unshift','column','_lastResponseTimestamp','SNAPSHOT_HAS_BEEN_REMOVED','collabStatus.offline','USER_NOT_FOUND','evenodd','YUUMI_AI_RUN_FAILED','_assignedColors','_removeClearOtherTimer','all','REDEMPTION_USER_NOT_ELIGIBLE','_startDocCollabCursor','source','mutations','maxFormulaLimit','SNAPSHOT_INVALID_SNAPSHOT','attrs','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','split','_render','top','registerRefRange','830sAzqbg','getCurrentUnitForType','_docStateChangeManagerService','_collaborationController','contains','_handleEvent','href','transformMutationsWithChangeset','_textBubble','1em','ENTITLE_CAN_NOT_BUY_LOWER_OTP','subscribe','getAncestorScale','INVALID_INVITE_CODE','YUUMI_UNABLE_LOAD_URL','_disabled','loadOfflineData','red.300','_name','findNodePositionByCharIndex','YUUMI_ASYNCIO_CANCELLED','getformulaLimitStatusUrl','asObservable','measureText','VIEW_MAIN','startsWith','_showGuardMessage','unsubscribe','flatMap','_cursors','univerjs-icon\x20univerjs-icon-','clipPath','forEach','_handleJoinEvent','entries','send','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_roomMembers$','DATA_SOURCE_TOO_LARGE','wsSessionTicketUrl','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_URL_COL_OUT_OF_RANGE','getActiveSheet','selections','clearTimeout','_getScale','ENTITLE_DUP_SUBSCRIPTION','_eventUnsubscribe','getCellPositionByOffset','getFocusedUnit','8274yWdyCw','_updateLocalCursor','actions','history','OnLineIcon','getItem','currentColor','ALREADY_EXISTS','getUnhiddenWorksheets','_setupSubUnitSync','COMPLETION_FINISHED','hide','_getSaveTimeout','_cursor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','TOO_MANY_REQUESTS','getOffsetConfig','collabStatus.fetchMiss','jiqing.500','_syncEditingCollabCursorService','APPLY_NON_SEQUENTIAL_REVISION','sessionTicket','NOT_COLLAB','_collabCursorController','univer-mr-2\x20univer-flex\x20univer-text-xl','ENTITLE_REPORT_LIMIT_EXCEED','_docSkeleton','stack','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_anchor','getVpScrollXYInfoByPosToVp','_checkAndWaitForCalculationPermission','executionId','_getFormulaLimitStatus','5337696qyncEv','formula.calculation.unable','REDEMPTION_CODE_NOT_STARTED','PAYMENT_CHANNEL_NOT_SUPPORT','addClipboardHook','startRow','onPointerLeave$','_initStatusListener','_uploadLog','_document','transformStateCache','add','_cursorShapes','YUUMI_SUBSCRIPTION_NOT_FOUND','_updateCollabCursors','APPLY_DUPLICATED','addObjects','roomMembers$','moveTo','size','_context','INVALID_ARGUMENT','_configService','assign','unitID','endRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','height','invokeId','collabStatus.synced','_updateSubUnitFromURLParams','toRgbString','_removeCollabCursors','_messageService','permission.content','getRelativeToViewportCoord','enableFrontendLog','storage','_initUnhandledRejectionListener','_revisionService','runOnServer','_unitStatus','_getSessionTicket','PERMISSION_DENIED','getUnit','getRenderById','setItem','fill','isActive','_httpService','_transformHistoryAndStateStack','_getAnchorBounding','cursorInfo','defineProperty','current','SOCKET_FAILED','getMergeData','_handleHeartbeatEvent','_toggleOnline','restore','ERROR_AGAIN','_ensureSubject','[CollaborationDataLoaderController]','xlink:href','_renderManagerService','_colorIndex','result','getUniverSheetInstance','text'];_0x54dc=function(){return _0x218f6a;};return _0x54dc();}function Ti(_0x557061){const _0x3824c0=_0x381542;switch(_0x557061){case _0x4fcf8b[_0x3824c0(0x28c)]:return _0x3824c0(0x12c);case _0x4fcf8b[_0x3824c0(0x226)]:return _0x3824c0(0x24e);case _0x4fcf8b[_0x3824c0(0x27d)]:return _0x3824c0(0x182);case _0x4fcf8b[_0x3824c0(0x187)]:return _0x3824c0(0x216);case _0x4fcf8b['AWAITING']:case _0x4fcf8b['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x4fcf8b[_0x3824c0(0x224)]:case _0x4fcf8b[_0x3824c0(0x1ff)]:return _0x3824c0(0x1b0);}}function Ci(_0x10d5ef){const _0x19d48d=_0x381542,{status$:_0x54e7c2}=_0x10d5ef,_0x49ddc1=_0x5a2e5e(_0x54e7c2,_0x4fcf8b[_0x19d48d(0x187)]),_0xf99072=_0x1c7fe5(_0x726278),_0x34a945=_0x1c7fe5(_0x22b01b),_0x5142a7=_0x49ddc1!==_0x4fcf8b[_0x19d48d(0x28c)],_0x5dbf33=_0xf99072['t'](Ti(_0x49ddc1)),_0x431166=_0x5142a7?_0x10012c(wt,{}):_0x10012c(Pt,{}),_0x5553c0=_0x403bea(()=>{_0x5142a7||_0x34a945['reconnect']();},[_0x5142a7,_0x34a945]);function _0x156e6f(){const _0x2d7bce=_0x19d48d;return _0x2c9254(_0x2d7bce(0x229),{'className':_0x2d7bce(0x31f),'onClick':_0x5553c0,'children':[_0x10012c('div',{'className':_0xa638c0(_0x2d7bce(0x189),{'univer-text-green-500':_0x5142a7,'univer-text-red-500':!_0x5142a7}),'children':_0x431166}),_0x10012c(_0x2d7bce(0x229),{'className':_0x2d7bce(0x2bb),'children':_0x5dbf33})]});}return _0x5142a7?_0x156e6f():_0x10012c(_0x24f74e,{'title':_0xf99072['t'](_0x19d48d(0x327)),'children':_0x156e6f()});}var Ri=Object['getOwnPropertyDescriptor'],Di=(_0xf955cd,_0x182421,_0x569da1,_0xdd083e)=>{const _0x1c0432=_0x381542;for(var _0x564cfa=_0xdd083e>0x1?void 0x0:_0xdd083e?Ri(_0x182421,_0x569da1):_0x182421,_0x35ff67=_0xf955cd[_0x1c0432(0x10b)]-0x1,_0x1a22c4;_0x35ff67>=0x0;_0x35ff67--)(_0x1a22c4=_0xf955cd[_0x35ff67])&&(_0x564cfa=_0x1a22c4(_0x564cfa)||_0x564cfa);return _0x564cfa;},se=(_0x41cc75,_0x152093)=>(_0x14d68f,_0x21e003)=>_0x152093(_0x14d68f,_0x21e003,_0x41cc75);let ae=class extends _0x282063{constructor(_0x40aac3,_0x7d6bc3,_0x5d1b87,_0x47593e){const _0x397cf5=_0x381542;super(),_(this,_0x397cf5(0x1ea),new _0x2c6ac6(_0x4fcf8b[_0x397cf5(0x187)])),(this[_0x397cf5(0x301)]=_0x40aac3,this[_0x397cf5(0x2f1)]=_0x7d6bc3,this[_0x397cf5(0x142)]=_0x5d1b87,this[_0x397cf5(0xf3)]=_0x47593e,this[_0x397cf5(0x30b)](),this[_0x397cf5(0x19a)]());}[_0x381542(0x19a)](){const _0x4e27db=_0x381542;this[_0x4e27db(0x306)](this['_univerInstanceService']['focused$']['pipe'](_0x5c652d(()=>{const _0x18dc62=_0x4e27db,_0x5829ea=this[_0x18dc62(0x301)][_0x18dc62(0x170)]();return _0x5829ea?this['_collaborationController']['getCollabEntity$'](_0x5829ea[_0x18dc62(0x28a)]()):_0x4e5ebf(null);}),_0x5c652d(_0xb380af=>_0xb380af?_0xb380af[_0x4e27db(0x2c3)]:_0x4e5ebf(_0x4fcf8b['NOT_COLLAB'])))['subscribe'](_0x58257f=>{const _0x2c6e9a=_0x4e27db;this[_0x2c6e9a(0x1ea)][_0x2c6e9a(0x2a5)](_0x58257f);}));}[_0x381542(0x30b)](){const _0x2f9bfe=_0x381542;this[_0x2f9bfe(0x306)](this[_0x2f9bfe(0xf3)]['registerComponent'](_0x4d9737[_0x2f9bfe(0x246)],()=>_0x30ca85(bi({'status$':this[_0x2f9bfe(0x1ea)][_0x2f9bfe(0x155)]()}),this[_0x2f9bfe(0x2f1)])));}};ae=Di([se(0x0,_0x143643),se(0x1,_0x2ef654(_0x43877d)),se(0x2,_0x2ef654(_0x3e297d)),se(0x3,_0x22941a)],ae);function bi(_0x4da8c9){const {status$:_0x5aa7c7}=_0x4da8c9;return function(){return _0x10012c(Ci,{'status$':_0x5aa7c7});};}const yt=_0x540b04('uni.network.url-service');var Ni=Object['getOwnPropertyDescriptor'],Li=(_0x2b0a93,_0x49d48a,_0x4eea38,_0x2c0eae)=>{const _0xf58305=_0x381542;for(var _0x497383=_0x2c0eae>0x1?void 0x0:_0x2c0eae?Ni(_0x49d48a,_0x4eea38):_0x49d48a,_0x114614=_0x2b0a93[_0xf58305(0x10b)]-0x1,_0x56a1ff;_0x114614>=0x0;_0x114614--)(_0x56a1ff=_0x2b0a93[_0x114614])&&(_0x497383=_0x56a1ff(_0x497383)||_0x497383);return _0x497383;},K=(_0x396ed2,_0x3404c4)=>(_0x8edef3,_0x276155)=>_0x3404c4(_0x8edef3,_0x276155,_0x396ed2);let ce=class extends _0x37d03e{constructor(_0xdc08ce,_0x1e1ab0,_0x45ba0f,_0x1ac2e5,_0x1d5c09){const _0x5e7c57=_0x381542;super(),this[_0x5e7c57(0x201)]=_0xdc08ce,this[_0x5e7c57(0x2a7)]=_0x1e1ab0,this[_0x5e7c57(0x24f)]=_0x45ba0f,this['_dataLoaderService']=_0x1ac2e5,_0x1d5c09?_0x1d5c09==null||_0x1d5c09['whenReady']()[_0x5e7c57(0x11b)](()=>this['_init']()):(this[_0x5e7c57(0x2a7)]['debug'](_0x5e7c57(0x1d1),_0x5e7c57(0x30f)),this[_0x5e7c57(0x32b)]());}async['_init'](){const _0x1fb800=_0x381542,_0x3e4299=this['_urlService']['getParam'](_0x1fb800(0x304)),_0x42b493=this[_0x1fb800(0x201)]['getParam'](_0x1fb800(0x209)),_0x39d714=this[_0x1fb800(0x201)][_0x1fb800(0x318)](_0x1fb800(0xed));if(!_0x3e4299||!_0x42b493){this[_0x1fb800(0x2a7)]['debug']('[CollaborationDataLoaderController]',_0x1fb800(0x163));return;}const _0x326ea6=await this['_dataLoaderService'][_0x1fb800(0x2c1)](_0x3e4299,Number(_0x42b493),_0x39d714);_0x326ea6&&_0x326ea6 instanceof _0x45ced1&&this[_0x1fb800(0x17a)](_0x326ea6);}async[_0x381542(0x17a)](_0x1591be){const _0x95c5a2=_0x381542;await this[_0x95c5a2(0x1b1)](_0x1591be),_0x1591be[_0x95c5a2(0xea)][_0x95c5a2(0x274)](_0xb33a09(this[_0x95c5a2(0x2be)]))['subscribe'](_0x3fd733=>{const _0xe1c7ed=_0x95c5a2;_0x3fd733&&this[_0xe1c7ed(0x21b)](_0x3fd733);}),this[_0x95c5a2(0x201)][_0x95c5a2(0x2e7)][_0x95c5a2(0x274)](_0xb33a09(this[_0x95c5a2(0x2be)]))[_0x95c5a2(0x14a)](()=>this[_0x95c5a2(0x1b1)](_0x1591be));}[_0x381542(0x21b)](_0x50f175,_0x5e4710=!0x1){const _0x2f282d=_0x381542,_0x3dd732=this[_0x2f282d(0x201)][_0x2f282d(0x318)](_0x2f282d(0xed));_0x50f175[_0x2f282d(0x276)]()!==_0x3dd732&&this[_0x2f282d(0x201)]['setParam'](_0x2f282d(0xed),_0x50f175[_0x2f282d(0x276)](),_0x5e4710);}async['_updateSubUnitFromURLParams'](_0xb073de){const _0x5dd517=_0x381542;var _0x23992c;const _0x3d816c=this['_urlService']['getParam'](_0x5dd517(0xed));if(!_0x3d816c||!_0xb073de[_0x5dd517(0x238)](_0x3d816c)){const _0x1f5bae=_0xb073de[_0x5dd517(0x179)]()[0x0],_0xd63806=_0xb073de[_0x5dd517(0x238)](_0x1f5bae);if(!_0xd63806)return;this[_0x5dd517(0x21b)](_0xd63806,!0x0),await this[_0x5dd517(0x24f)][_0x5dd517(0x2e6)](_0x49c370['id'],{'unitId':_0xb073de['getUnitId'](),'subUnitId':_0x1f5bae});return;}((_0x23992c=_0xb073de[_0x5dd517(0x169)]())==null?void 0x0:_0x23992c[_0x5dd517(0x276)]())!==_0x3d816c&&await this[_0x5dd517(0x24f)][_0x5dd517(0x2e6)](_0x49c370['id'],{'unitId':_0xb073de[_0x5dd517(0x28a)](),'subUnitId':_0x3d816c});}};ce=Li([K(0x0,yt),K(0x1,_0x4c5a8a),K(0x2,_0x478bd4),K(0x3,_0x2ef654(_0x359ab0)),K(0x4,_0x2d8cc5(_0x3634d1))],ce);var Ui=Object[_0x381542(0x250)],Mi=(_0x33f336,_0x1e546e,_0x224843,_0x16ee83)=>{for(var _0x5b9021=_0x16ee83>0x1?void 0x0:_0x16ee83?Ui(_0x1e546e,_0x224843):_0x1e546e,_0x32c469=_0x33f336['length']-0x1,_0x1b8316;_0x32c469>=0x0;_0x32c469--)(_0x1b8316=_0x33f336[_0x32c469])&&(_0x5b9021=_0x1b8316(_0x5b9021)||_0x5b9021);return _0x5b9021;},rt=(_0x57c705,_0x5162ee)=>(_0x599dd9,_0x258f95)=>_0x5162ee(_0x599dd9,_0x258f95,_0x57c705);let $e=class extends _0x37d03e{constructor(_0x29f073,_0x2fc3f3){const _0x1f0dc8=_0x381542;super(),this[_0x1f0dc8(0x265)]=_0x29f073,this[_0x1f0dc8(0xe7)]=_0x2fc3f3,this[_0x1f0dc8(0x32b)]();}[_0x381542(0x32b)](){const _0xd46cdb=_0x381542,_0x3a0d9c=this;this['disposeWithMe'](this[_0xd46cdb(0x265)][_0xd46cdb(0x197)]({'onBeforePasteImage':async _0x2d9151=>{const _0x5303ee=_0xd46cdb,_0x639246=await _0x3a0d9c[_0x5303ee(0xe7)]['saveImage'](_0x2d9151);return _0x639246?{'source':_0x639246[_0x5303ee(0x135)],'imageSourceType':_0x639246['imageSourceType']}:null;}}));}};$e=Mi([rt(0x0,_0x588c5d),rt(0x1,_0x6b5781)],$e);const ot=['purple.300',_0x381542(0x183),_0x381542(0x113),_0x381542(0x150),'blue.400',_0x381542(0x2b1)];class Ke extends _0x282063{constructor(){const _0x41db1c=_0x381542;super(...arguments),_(this,_0x41db1c(0x130),new Map()),_(this,'_colorIndex',0x0);}[_0x381542(0x2e4)](_0x156194){const _0x155f49=_0x381542;if(this[_0x155f49(0x130)][_0x155f49(0x2d6)](_0x156194))return this['_assignedColors'][_0x155f49(0x2d4)](_0x156194);const _0x14531d=ot[this[_0x155f49(0x1d4)]];return this[_0x155f49(0x1d4)]=(this[_0x155f49(0x1d4)]+0x1)%ot[_0x155f49(0x10b)],this['_assignedColors'][_0x155f49(0x10e)](_0x156194,_0x14531d),_0x14531d;}}function $t(_0x1a8a5b){const _0x3718e7=_0x381542;let _0x160318='';for(const _0x1238f3 of _0x1a8a5b){const {startOffset:_0x478321,endOffset:_0x49631b,isActive:_0x1c4e25,rangeType:_0x559e10,segmentId:_0x3d8903,segmentPage:_0x25a09f}=_0x1238f3;_0x160318[_0x3718e7(0x10b)]&&(_0x160318+=','),_0x160318+=_0x478321+':'+_0x49631b+':'+(_0x1c4e25?'1':'0')+':'+_0x559e10+':'+_0x3d8903+':'+_0x25a09f;}return _0x160318;}function Ai(_0x5dab96){const _0x1c4b4b=_0x381542,_0xc71d6d=_0x5dab96[_0x1c4b4b(0x13b)](','),_0x5a94ba=[];for(const _0x50bb12 of _0xc71d6d){const [_0xa0cbb4,_0x728571,_0x47f8cb,_0x1197d0,_0x913f0e,_0x1d0711]=_0x50bb12['split'](':');_0x5a94ba[_0x1c4b4b(0x2e5)]({'startOffset':Number(_0xa0cbb4),'endOffset':Number(_0x728571),'collapsed':_0xa0cbb4===_0x728571,'isActive':_0x47f8cb==='1','rangeType':_0x1197d0===_0x481c6f[_0x1c4b4b(0x1e9)]?_0x481c6f[_0x1c4b4b(0x1e9)]:_0x481c6f[_0x1c4b4b(0xfc)],'segmentId':typeof _0x913f0e==_0x1c4b4b(0x264)?String(_0x913f0e):'','segmentPage':Number(_0x1d0711!=null?_0x1d0711:-0x1)});}return _0x5a94ba['some'](_0x4fe3bd=>_0x4fe3bd['isActive'])||(_0x5a94ba[0x0][_0x1c4b4b(0x1c3)]=!0x0),_0x5a94ba;}class ze extends _0x37d03e{constructor(){const _0x11cefc=_0x381542;super(...arguments),_(this,_0x11cefc(0x2c6),new _0x2c6ac6(null)),_(this,_0x11cefc(0x313),this['_collabCursorState$'][_0x11cefc(0x155)]());}[_0x381542(0x260)](_0x2e3fd1){const _0x346ab3=_0x381542,{unitID:_0x23a649,memberID:_0x2fb890,textRanges:_0x10a487}=_0x2e3fd1,_0xe35308=$t(_0x10a487);if(_0xe35308==='')return;const _0x20a308={'unitID':_0x23a649,'memberID':_0x2fb890,'selection':_0xe35308};this[_0x346ab3(0x2c6)][_0x346ab3(0x2a5)](_0x20a308);}}var Pi=Object[_0x381542(0x250)],wi=(_0x2dabc7,_0x5a2e19,_0x440bf5,_0x42b2ef)=>{const _0xf83820=_0x381542;for(var _0x4cf12b=_0x42b2ef>0x1?void 0x0:_0x42b2ef?Pi(_0x5a2e19,_0x440bf5):_0x5a2e19,_0x20380c=_0x2dabc7[_0xf83820(0x10b)]-0x1,_0x37a0d4;_0x20380c>=0x0;_0x20380c--)(_0x37a0d4=_0x2dabc7[_0x20380c])&&(_0x4cf12b=_0x37a0d4(_0x4cf12b)||_0x4cf12b);return _0x4cf12b;},A=(_0x3c091f,_0x51d511)=>(_0x37a8ba,_0x4a1c3a)=>_0x51d511(_0x37a8ba,_0x4a1c3a,_0x3c091f);const yi=0x12c,$i=0x64;let xe=class extends _0x37d03e{constructor(_0x12150e,_0x501de9,_0x48384e,_0x1d6941,_0xf541bb,_0x1d9948,_0x2d88ee,_0xea7c96,_0x12efec){const _0x54e422=_0x381542;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x54e422(0x295),new _0x2c6ac6(new Map())),_(this,_0x54e422(0x2d7),this[_0x54e422(0x295)][_0x54e422(0x155)]()),_(this,'_roomMembers$',new _0x2c6ac6([])),_(this,_0x54e422(0x1a4),this['_roomMembers$'][_0x54e422(0x274)](_0x33aec4(yi))),_(this,'_updateLocalCursor',_0x575ddf(_0x4f4360=>{const _0x3a53af=_0x54e422,_0x59bcc4={'eventID':_0x26506e['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x3a53af(0xf4)][_0x3a53af(0x259)](),'selection':$t(_0x4f4360)}};this[_0x3a53af(0xf4)][_0x3a53af(0x162)](_0x59bcc4,this[_0x3a53af(0x1ab)]);},$i)),(this[_0x54e422(0x1ab)]=_0x12150e,this[_0x54e422(0xf4)]=_0x501de9,this[_0x54e422(0x2f1)]=_0x48384e,this[_0x54e422(0x31d)]=_0x1d6941,this['_memberService']=_0xf541bb,this[_0x54e422(0x184)]=_0x1d9948,this['_transformService']=_0x2d88ee,this['_univerInstanceService']=_0xea7c96,this[_0x54e422(0x24f)]=_0x12efec);}get[_0x381542(0x1c7)](){const _0x44a68c=_0x381542;return this[_0x44a68c(0x295)][_0x44a68c(0x2a6)]();}get[_0x381542(0x1e3)](){const _0x3c471c=_0x381542;return this[_0x3c471c(0x164)][_0x3c471c(0x2a6)]();}[_0x381542(0x122)](){const _0x2c7af2=_0x381542;super[_0x2c7af2(0x122)](),this[_0x2c7af2(0x295)]['next'](new Map()),this[_0x2c7af2(0x295)][_0x2c7af2(0x25d)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x2c7af2(0x25d)]();}[_0x381542(0x101)](){const _0x34783a=_0x381542;this[_0x34783a(0x32b)]||(this[_0x34783a(0x32b)]=!0x0,this[_0x34783a(0xf4)][_0x34783a(0x125)]['pipe'](_0xb33a09(this['dispose$']))[_0x34783a(0x14a)](_0x95b5a6=>{const _0x5d4010=_0x34783a;_0x95b5a6===_0x5848c4[_0x5d4010(0x284)]?this['_toggleOnline']():this[_0x5d4010(0x25e)]();}),this[_0x34783a(0xf4)][_0x34783a(0x1df)][_0x34783a(0x274)](_0xb33a09(this[_0x34783a(0x2be)]))['subscribe'](_0x525205=>{const _0x3b5e8e=_0x34783a,_0x37f83c=_0x525205[_0x3b5e8e(0x10d)];_0x37f83c===_0x26506e['UPDATE_CURSOR']&&this[_0x3b5e8e(0xeb)](_0x525205),_0x37f83c===_0x26506e[_0x3b5e8e(0x302)]&&this[_0x3b5e8e(0x2fe)](_0x525205);}),this[_0x34783a(0x306)](this[_0x34783a(0x24f)][_0x34783a(0x23f)](_0x507b8e=>{const _0x3394d3=_0x34783a,_0x4e26d9=_0x507b8e[_0x3394d3(0x2ea)];_0x4e26d9!=null&&this[_0x3394d3(0x25a)]&&_0x507b8e['id']===_0x5be305['id']&&_0x4e26d9[_0x3394d3(0x2e0)]===this[_0x3394d3(0x1ab)]&&_0x4e26d9[_0x3394d3(0x2e2)]===!0x1&&_0x4e26d9[_0x3394d3(0x22f)]['length']>0x0&&this[_0x3394d3(0x172)](_0x4e26d9[_0x3394d3(0x22f)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x34783a(0x274)](_0xb33a09(this[_0x34783a(0x2be)]))['subscribe'](_0x4437f1=>{const _0x31c04a=_0x34783a;if((_0x4437f1==null?void 0x0:_0x4437f1['unitID'])!==this['unitID'])return;const _0x249447={'eventID':_0x26506e[_0x31c04a(0x1e5)],'data':_0x4437f1};this[_0x31c04a(0xeb)](_0x249447);}),this[_0x34783a(0x306)](this['_commandService'][_0x34783a(0x23f)](_0x4df6a1=>{const _0xe04d1d=_0x34783a;if(_0x4df6a1[_0xe04d1d(0x2ea)]==null)return;const _0xbc550=_0x4df6a1[_0xe04d1d(0x2ea)];if(_0x4df6a1['id']!==_0x1b5a8f['id']||_0xbc550[_0xe04d1d(0x2e0)]!==this['unitID'])return;const _0x4b80c8={'id':'doc.mutation.rich-text-editing','params':_0xbc550},_0x4545e7=this[_0xe04d1d(0x1c7)];for(const [_0x45b311,_0x3f8e9d]of _0x4545e7){const _0x2eb4d2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3f8e9d['ranges']}},_0x354e40=this[_0xe04d1d(0x23a)][_0xe04d1d(0x1f2)](_0x4b80c8,_0x2eb4d2,!0x1);if(_0x426e81(_0x354e40))throw _0x354e40['error'];_0x4545e7[_0xe04d1d(0x10e)](_0x45b311,{..._0x3f8e9d,'ranges':_0x354e40[_0xe04d1d(0x282)][_0xe04d1d(0x2ea)][_0xe04d1d(0x23e)]});}queueMicrotask(()=>{const _0x8e59ca=_0xe04d1d;this['_cursorInfo$'][_0x8e59ca(0x2a5)](_0x4545e7);});})));}[_0x381542(0xeb)](_0x587480){const _0x44133a=_0x381542;var _0x5f585b,_0x4b15d2;const {memberID:_0x12c4a2,selection:_0x553205}=_0x587480[_0x44133a(0x305)],_0x265ae1=Ai(_0x553205),_0x3ce7d7=(_0x4b15d2=(_0x5f585b=this[_0x44133a(0x2ff)][_0x44133a(0x20c)](this[_0x44133a(0x1ab)],_0x12c4a2))==null?void 0x0:_0x5f585b['name'])!=null?_0x4b15d2:_0x44133a(0x2d1),_0x541597={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x12c4a2),'name':_0x3ce7d7,'ranges':_0x265ae1},_0x204a74=this[_0x44133a(0x1c7)];_0x204a74['set'](_0x12c4a2,_0x541597),this[_0x44133a(0x295)][_0x44133a(0x2a5)](_0x204a74);}[_0x381542(0x2fe)](_0x128a89){const _0x139436=_0x381542,{memberID:_0x1505a6}=_0x128a89[_0x139436(0x305)],_0x3b6099=this[_0x139436(0x1c7)];_0x3b6099[_0x139436(0x2f9)](_0x1505a6),this[_0x139436(0x295)][_0x139436(0x2a5)](_0x3b6099);}[_0x381542(0x1cd)](){const _0x459080=_0x381542;var _0x5c46e7;if(this[_0x459080(0x25a)]=!0x0,((_0x5c46e7=this['_univerInstanceService'][_0x459080(0x170)]())==null?void 0x0:_0x5c46e7[_0x459080(0x28a)]())!==this['unitID'])return;const _0x1e2469=this[_0x459080(0x2f1)][_0x459080(0x2d4)](_0x58bb40)[_0x459080(0x1d9)]();Array[_0x459080(0x223)](_0x1e2469)&&_0x1e2469['length']>0x0&&this[_0x459080(0x172)](_0x1e2469);}['_toggleOffline'](){const _0x20aeac=_0x381542;this[_0x20aeac(0x25a)]=!0x1;}};xe=wi([A(0x2,_0x2ef654(_0x43877d)),A(0x3,_0x2ef654(Ke)),A(0x4,_0x2ef654(_0x4bf3fb)),A(0x5,_0x2ef654(ze)),A(0x6,_0x471770),A(0x7,_0x143643),A(0x8,_0x478bd4)],xe);var xi=Object['getOwnPropertyDescriptor'],Bi=(_0x1bc6a5,_0x379ab7,_0x4cfeea,_0x5e2c26)=>{const _0x934d6b=_0x381542;for(var _0x5bacc5=_0x5e2c26>0x1?void 0x0:_0x5e2c26?xi(_0x379ab7,_0x4cfeea):_0x379ab7,_0x1fee48=_0x1bc6a5[_0x934d6b(0x10b)]-0x1,_0x197179;_0x1fee48>=0x0;_0x1fee48--)(_0x197179=_0x1bc6a5[_0x1fee48])&&(_0x5bacc5=_0x197179(_0x5bacc5)||_0x5bacc5);return _0x5bacc5;},B=(_0x541bef,_0x536e6a)=>(_0x5efbb7,_0x54b2dd)=>_0x536e6a(_0x5efbb7,_0x54b2dd,_0x541bef);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x5d6327=[],_0x2fcf55=!0x1;return _0x3bc232=>{_0x5d6327['push'](_0x3bc232),_0x2fcf55||(_0x2fcf55=!0x0,setTimeout(()=>{const _0x112fae=_0x563f;_0x5d6327[_0x112fae(0x15f)](_0x587989=>_0x587989()),_0x5d6327=[],_0x2fcf55=!0x1;}));};};let Be=class extends _0x37d03e{constructor(_0x5b2841,_0x281dd8,_0x37f890,_0x1ac9e4,_0x4e8b71,_0xaddc21,_0x25a06f,_0x488130){const _0xde772c=_0x381542;super(),_(this,_0xde772c(0x25a),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x2c6ac6(new Map())),_(this,_0xde772c(0x2d7),this[_0xde772c(0x295)][_0xde772c(0x155)]()),_(this,_0xde772c(0x164),new _0x2c6ac6([])),_(this,_0xde772c(0x1a4),this[_0xde772c(0x164)][_0xde772c(0x274)](_0x33aec4(Fi))),_(this,_0xde772c(0x172),_0x575ddf((_0x33cd1c,_0x267398)=>{const _0xc11f1e=_0xde772c,_0x238ee5={'eventID':_0x26506e[_0xc11f1e(0x1e5)],'data':{'unitID':this[_0xc11f1e(0x1ab)],'memberID':this['_session'][_0xc11f1e(0x259)](),'selection':_0x2fec25(_0x33cd1c,_0x267398[_0xc11f1e(0x256)])}};this[_0xc11f1e(0xf4)][_0xc11f1e(0x162)](_0x238ee5,this[_0xc11f1e(0x1ab)]);},ki)),(this[_0xde772c(0x1ab)]=_0x5b2841,this['_session']=_0x281dd8,this[_0xde772c(0x2f1)]=_0x37f890,this[_0xde772c(0x31d)]=_0x1ac9e4,this[_0xde772c(0x2ff)]=_0x4e8b71,this['_univerInstanceService']=_0xaddc21,this[_0xde772c(0x24f)]=_0x25a06f,this[_0xde772c(0x312)]=_0x488130);}get[_0x381542(0x1c7)](){const _0x39fc62=_0x381542;return this['_cursorInfo$'][_0x39fc62(0x2a6)]();}get[_0x381542(0x1e3)](){const _0x1f15f1=_0x381542;return this[_0x1f15f1(0x164)][_0x1f15f1(0x2a6)]();}['dispose'](){const _0x38d4f1=_0x381542;super[_0x38d4f1(0x122)](),this[_0x38d4f1(0x295)][_0x38d4f1(0x2a5)](new Map()),this[_0x38d4f1(0x295)][_0x38d4f1(0x25d)](),this[_0x38d4f1(0x164)][_0x38d4f1(0x2a5)]([]),this[_0x38d4f1(0x164)][_0x38d4f1(0x25d)]();}[_0x381542(0x101)](){const _0x1cf5d6=_0x381542;this[_0x1cf5d6(0x32b)]||(this[_0x1cf5d6(0x32b)]=!0x0,this['_session'][_0x1cf5d6(0x125)][_0x1cf5d6(0x274)](_0xb33a09(this[_0x1cf5d6(0x2be)]))[_0x1cf5d6(0x14a)](_0x11f54d=>{const _0x259a5a=_0x1cf5d6;_0x11f54d===_0x5848c4[_0x259a5a(0x284)]?this[_0x259a5a(0x1cd)]():this[_0x259a5a(0x25e)]();}),this[_0x1cf5d6(0xf4)][_0x1cf5d6(0x1df)][_0x1cf5d6(0x274)](_0xb33a09(this[_0x1cf5d6(0x2be)]))[_0x1cf5d6(0x14a)](_0xc4ea9d=>{const _0xeb14cf=_0x1cf5d6,_0x20f0a5=_0xc4ea9d[_0xeb14cf(0x10d)];_0x20f0a5===_0x26506e[_0xeb14cf(0x1e5)]&&this[_0xeb14cf(0xeb)](_0xc4ea9d),_0x20f0a5===_0x26506e[_0xeb14cf(0x302)]&&this[_0xeb14cf(0x2fe)](_0xc4ea9d);}),this[_0x1cf5d6(0x269)](),this[_0x1cf5d6(0x306)](this[_0x1cf5d6(0x24f)]['onCommandExecuted'](_0x55ffea=>{const _0x21a787=_0x1cf5d6;if(this['_online']&&_0x55ffea['id']===_0x10f466['id']&&_0x55ffea[_0x21a787(0x2ea)][_0x21a787(0x2e0)]===this[_0x21a787(0x1ab)]){const _0x22fd69=_0x55ffea[_0x21a787(0x2ea)];this['_updateLocalCursor'](_0x22fd69[_0x21a787(0x24b)],_0x22fd69[_0x21a787(0x16a)][0x0]);}})));}[_0x381542(0xeb)](_0x42eaf1){const _0x2bedc5=_0x381542;var _0x3909df,_0x30ee03;const {memberID:_0x56b43,selection:_0x81a9ee}=_0x42eaf1['data'],{sheetName:_0x3d2c2c,range:_0x36b2e7}=_0x1ff488(_0x81a9ee),_0x6828c5={'name':(_0x30ee03=(_0x3909df=this[_0x2bedc5(0x2ff)][_0x2bedc5(0x20c)](this['unitID'],_0x56b43))==null?void 0x0:_0x3909df[_0x2bedc5(0x26e)])!=null?_0x30ee03:'Unknown\x20user','range':this[_0x2bedc5(0x231)](_0x3d2c2c,_0x36b2e7),'sheetID':_0x3d2c2c,'color':this[_0x2bedc5(0x31d)][_0x2bedc5(0x2e4)](_0x56b43),'selection':_0x81a9ee},_0x5d2788=this['cursorInfo'];_0x5d2788[_0x2bedc5(0x10e)](_0x56b43,_0x6828c5),this['_cursorInfo$'][_0x2bedc5(0x2a5)](_0x5d2788);}[_0x381542(0x2fe)](_0x4291e4){const _0x40c905=_0x381542,{memberID:_0x434a3f}=_0x4291e4[_0x40c905(0x305)],_0x4a5330=this[_0x40c905(0x1c7)];_0x4a5330[_0x40c905(0x2f9)](_0x434a3f),this['_cursorInfo$']['next'](_0x4a5330);}['_getMergeRange'](_0x27e6ce,_0x5e77e4){const _0x111d33=_0x381542;var _0x18394c,_0x4bd117;const _0xfe61fb=(_0x4bd117=(_0x18394c=this[_0x111d33(0x301)][_0x111d33(0x1d6)](this[_0x111d33(0x1ab)]))==null?void 0x0:_0x18394c[_0x111d33(0x238)](_0x27e6ce))==null?void 0x0:_0x4bd117[_0x111d33(0x1cb)]();return(_0xfe61fb==null?void 0x0:_0xfe61fb['find'](_0x4f157d=>_0xf757cd[_0x111d33(0x143)](_0x4f157d,_0x5e77e4)))||_0x5e77e4;}['_onRefRangeChange'](){const _0x3d9689=_0x381542,_0xc36f86=new _0x24d8e5(),_0x55a6a0=Hi(),_0x2da524=()=>{const _0x23d1ed=_0x563f;_0xc36f86['dispose']();const _0x1fda42=(_0x33ee4c,_0x5eb87e,_0x34f579,_0x2e6b63)=>{const _0x4d3d76=_0x563f;let _0x2b1002=[];switch(_0x33ee4c['id']){case _0x45eebc[_0x4d3d76(0x2b0)]:{_0x2b1002=_0x1ebd4c(_0x33ee4c,_0x2e6b63);break;}case _0x45eebc[_0x4d3d76(0x108)]:{_0x2b1002=_0x52a7dc(_0x33ee4c,_0x2e6b63);break;}case _0x45eebc['InsertColCommandId']:{_0x2b1002=_0x4e1f6b(_0x33ee4c,_0x2e6b63);break;}case _0x45eebc['InsertRangeMoveDownCommandId']:{_0x2b1002=_0x486cc1(_0x33ee4c,_0x2e6b63);break;}case _0x45eebc['InsertRangeMoveRightCommandId']:{_0x2b1002=_0xdd32ba(_0x33ee4c,_0x2e6b63);break;}case _0x45eebc[_0x4d3d76(0xec)]:{_0x2b1002=_0x3092ed(_0x33ee4c,_0x2e6b63);break;}case _0x45eebc['MoveRangeCommandId']:{_0x2b1002=_0x87c3e8(_0x33ee4c,_0x2e6b63);break;}case _0x45eebc['RemoveColCommandId']:{_0x2b1002=_0x3c99aa(_0x33ee4c,_0x2e6b63);break;}case _0x45eebc['RemoveRowCommandId']:{_0x2b1002=_0x430829(_0x33ee4c,_0x2e6b63);break;}}const _0x585a1a=_0x1d37d8(_0x2b1002,_0x2e6b63),_0x34701b=this[_0x4d3d76(0x1c7)][_0x4d3d76(0x2d4)](_0x5eb87e);if(_0x34701b&&_0x585a1a){const _0x4130b9={..._0x34701b,'range':_0x585a1a};this['cursorInfo'][_0x4d3d76(0x10e)](_0x5eb87e,_0x4130b9),_0x55a6a0(()=>{const _0x5d949f=_0x4d3d76,_0x5a6e1e=this[_0x5d949f(0x312)][_0x5d949f(0x13e)](_0x585a1a,_0x2dd446=>(_0x5a6e1e[_0x5d949f(0x122)](),_0x1fda42(_0x2dd446,_0x5eb87e,_0x34f579,_0x585a1a)));_0xc36f86[_0x5d949f(0x19e)](_0x5a6e1e);});}return{'redos':[],'undos':[]};};this[_0x23d1ed(0x1c7)]['forEach']((_0x54d2dc,_0x127613)=>{const _0x3f1102=_0x23d1ed,{range:_0x4e8fff,sheetID:_0x2a118d}=_0x54d2dc,_0x2b5e56=this[_0x3f1102(0x312)][_0x3f1102(0x13e)](_0x4e8fff,_0x3dd878=>(_0x2b5e56[_0x3f1102(0x122)](),_0x1fda42(_0x3dd878,_0x127613,_0x2a118d,_0x4e8fff)));_0xc36f86[_0x3f1102(0x19e)](_0x2b5e56);});};this[_0x3d9689(0x306)](_0xa06c05(this[_0x3d9689(0x295)][_0x3d9689(0x14a)](()=>{_0x2da524();})));}[_0x381542(0x1cd)](){const _0x5cd940=_0x381542;var _0x4dcce4,_0x3a0dac;if(this[_0x5cd940(0x25a)]=!0x0,((_0x4dcce4=this[_0x5cd940(0x301)]['getFocusedUnit']())==null?void 0x0:_0x4dcce4['getUnitId']())!==this['unitID'])return;const _0xa803b1=(_0x3a0dac=this[_0x5cd940(0x2f1)][_0x5cd940(0x2d4)](_0x51dd20)[_0x5cd940(0x2ab)]())==null?void 0x0:_0x3a0dac[0x0],_0x3c13ea=this[_0x5cd940(0x301)][_0x5cd940(0x140)](_0x11507d[_0x5cd940(0x25c)])[_0x5cd940(0x169)]();_0xa803b1&&_0x3c13ea&&this[_0x5cd940(0x172)](_0x3c13ea[_0x5cd940(0x276)](),_0xa803b1);}[_0x381542(0x25e)](){const _0x376f0f=_0x381542;this[_0x376f0f(0x25a)]=!0x1;}};Be=Bi([B(0x2,_0x2ef654(_0x43877d)),B(0x3,_0x2ef654(Ke)),B(0x4,_0x2ef654(_0x4bf3fb)),B(0x5,_0x143643),B(0x6,_0x478bd4),B(0x7,_0x2ef654(_0x313bef))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x2fbb7e,_0x26c3ac,_0x50a80b,_0x479612)=>{const _0x90525a=_0x381542;for(var _0x16b373=_0x479612>0x1?void 0x0:_0x479612?Yi(_0x26c3ac,_0x50a80b):_0x26c3ac,_0x5211ca=_0x2fbb7e[_0x90525a(0x10b)]-0x1,_0x9a6b79;_0x5211ca>=0x0;_0x5211ca--)(_0x9a6b79=_0x2fbb7e[_0x5211ca])&&(_0x16b373=_0x9a6b79(_0x16b373)||_0x16b373);return _0x16b373;},Ce=(_0x2d064f,_0xec9740)=>(_0x2e2ddc,_0x5768fc)=>_0xec9740(_0x2e2ddc,_0x5768fc,_0x2d064f);let H=class extends _0x37d03e{constructor(_0x16c6d1,_0x37276c,_0xd4b60){const _0x29f55d=_0x381542;super(),_(this,_0x29f55d(0x207),new Map()),_(this,_0x29f55d(0x2b3),new _0x5dc0f4()),(this[_0x29f55d(0x301)]=_0x16c6d1,this[_0x29f55d(0x2f1)]=_0x37276c,this['_collabSessionService']=_0xd4b60,this['_init']());}[_0x381542(0x122)](){const _0x2882e2=_0x381542;super[_0x2882e2(0x122)](),this[_0x2882e2(0x2b3)]['complete'](),this[_0x2882e2(0x207)][_0x2882e2(0x15f)](_0x23e350=>_0x23e350[_0x2882e2(0x122)]());}['getCollabCursors$'](_0x184ab8){const _0x298e74=_0x381542;return this['_entities']['has'](_0x184ab8)?this[_0x298e74(0x207)][_0x298e74(0x2d4)](_0x184ab8)[_0x298e74(0x2d7)]:this['_entityInit$']['pipe'](_0xa1c3e2(_0x4b9fe6=>_0x4b9fe6[_0x298e74(0x1ab)]===_0x184ab8),_0x5c652d(_0x4b5c92=>_0x4b5c92['cursorInfo$']));}[_0x381542(0x32b)](){const _0x347992=_0x381542;this[_0x347992(0x301)]['getTypeOfUnitAdded$'](_0x11507d[_0x347992(0x25c)])[_0x347992(0x274)](_0xb33a09(this['dispose$']))['subscribe'](async _0x500806=>{const _0x25cd8c=_0x347992,_0x68f643=_0x500806[_0x25cd8c(0x28a)](),_0x53d1c4=await this[_0x25cd8c(0x30c)](_0x68f643);this[_0x25cd8c(0x2b3)][_0x25cd8c(0x2a5)](_0x53d1c4),this[_0x25cd8c(0x207)][_0x25cd8c(0x10e)](_0x68f643,_0x53d1c4);}),this['_univerInstanceService'][_0x347992(0x1f1)](_0x11507d['UNIVER_DOC'])[_0x347992(0x274)](_0xb33a09(this[_0x347992(0x2be)]))[_0x347992(0x274)](_0xa1c3e2(_0x4a405f=>!_0x4a405f['getUnitId']()[_0x347992(0x158)]('__')))['subscribe'](async _0x4cc1b4=>{const _0x3747ce=_0x347992,_0x4be90f=_0x4cc1b4[_0x3747ce(0x28a)](),_0x2dfe92=await this[_0x3747ce(0x134)](_0x4be90f);this[_0x3747ce(0x2b3)]['next'](_0x2dfe92),this['_entities'][_0x3747ce(0x10e)](_0x4be90f,_0x2dfe92);}),_0x4c8ad4(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x11507d[_0x347992(0x2c0)]),this[_0x347992(0x301)][_0x347992(0x2bd)](_0x11507d[_0x347992(0x25c)]))['pipe'](_0xb33a09(this[_0x347992(0x2be)]))[_0x347992(0x14a)](_0x1a8a46=>{const _0x4c3965=_0x347992,_0x5bf1dc=_0x1a8a46['getUnitId'](),_0x55a4aa=this['_entities']['get'](_0x5bf1dc);_0x55a4aa&&(_0x55a4aa['dispose'](),this[_0x4c3965(0x207)]['delete'](_0x5bf1dc));});}async[_0x381542(0x30c)](_0x3c34a4){const _0x419c4=_0x381542,_0x48ca21=await this['_collabSessionService']['requireSession'](_0x3c34a4),_0x4a37f7=this[_0x419c4(0x2f1)][_0x419c4(0x287)](Be,_0x3c34a4,_0x48ca21);return _0x4a37f7[_0x419c4(0x101)](),_0x4a37f7;}async[_0x381542(0x134)](_0x44f483){const _0x1fb111=_0x381542,_0x13f88b=await this['_collabSessionService'][_0x1fb111(0x1e6)](_0x44f483),_0x45d203=this['_injector'][_0x1fb111(0x287)](xe,_0x44f483,_0x13f88b);return _0x45d203[_0x1fb111(0x101)](),_0x45d203;}};H=Wi([Ce(0x0,_0x143643),Ce(0x1,_0x2ef654(_0x43877d)),Ce(0x2,_0x2ef654(_0x22b01b))],H);const Q=0x14,at=0xc8,Re=0x4,ji=0x5;function Vi(_0x117aca,_0x1eea00){const _0xc0a157=_0x381542;let {radius:_0x242451,width:_0x2be966,height:_0x15cea5}=_0x1eea00;_0x242451=_0x242451!=null?_0x242451:0x0,_0x2be966=_0x2be966!=null?_0x2be966:0x1e,_0x15cea5=_0x15cea5!=null?_0x15cea5:0x1e;let _0x4874ca=0x0,_0x2f5fe4=0x0,_0x5a4b4f=0x0;_0x4874ca=_0x2f5fe4=_0x5a4b4f=Math[_0xc0a157(0x2b6)](_0x242451,_0x2be966/0x2,_0x15cea5/0x2),_0x117aca[_0xc0a157(0x1e1)](),_0x117aca[_0xc0a157(0x1a5)](_0x4874ca,0x0),_0x117aca[_0xc0a157(0x26b)](_0x2be966-_0x2f5fe4,0x0),_0x117aca['arc'](_0x2be966-_0x2f5fe4,_0x2f5fe4,_0x2f5fe4,Math['PI']*0x3/0x2,0x0,!0x1),_0x117aca[_0xc0a157(0x26b)](_0x2be966,_0x15cea5-_0x5a4b4f),_0x117aca['arc'](_0x2be966-_0x5a4b4f,_0x15cea5-_0x5a4b4f,_0x5a4b4f,0x0,Math['PI']/0x2,!0x1),_0x117aca[_0xc0a157(0x26b)](0x0,_0x15cea5),_0x117aca[_0xc0a157(0x26b)](0x0,_0x4874ca),_0x117aca[_0xc0a157(0x2cd)](_0x4874ca,_0x4874ca,_0x4874ca,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x117aca[_0xc0a157(0xf6)](),_0x1eea00[_0xc0a157(0x1c2)]&&(_0x117aca[_0xc0a157(0x20b)](),_0x117aca['fillStyle']=_0x1eea00[_0xc0a157(0x1c2)],_0x1eea00['fillRule']===_0xc0a157(0x12e)?_0x117aca[_0xc0a157(0x1c2)]('evenodd'):_0x117aca[_0xc0a157(0x1c2)](),_0x117aca[_0xc0a157(0x1ce)]());}class Ee extends _0x4f7b35{constructor(_0x367029,_0x5ca848){const _0x24204c=_0x381542;super(_0x367029,_0x5ca848),_(this,'color'),_(this,'text'),(this[_0x24204c(0x326)]=_0x5ca848==null?void 0x0:_0x5ca848[_0x24204c(0x326)],this[_0x24204c(0x1d7)]=_0x5ca848==null?void 0x0:_0x5ca848['text']);}static[_0x381542(0x203)](_0x3c8add,_0x4648ca){const _0x38eb6d=_0x381542,{text:_0x1a48b3,color:_0x4c4d77}=_0x4648ca;_0x3c8add[_0x38eb6d(0x20b)](),_0x3c8add[_0x38eb6d(0x288)]=_0x38eb6d(0x31b);const _0x1a63c8=_0x3c8add[_0x38eb6d(0x156)](_0x1a48b3)[_0x38eb6d(0x2bf)],_0x682f20=Math[_0x38eb6d(0x2b6)](_0x1a63c8+0x2*Re,at);Vi(_0x3c8add,{'height':Q,'radius':0x4,'width':_0x682f20,'fill':_0x4c4d77}),_0x3c8add[_0x38eb6d(0xf0)]=_0x38eb6d(0x21d);const _0x4e9a26=Re,_0x1186a8=Q-ji,_0x38e00e=at-0x2*Re;if(_0x1a63c8>_0x38e00e){let _0x1242a9='',_0x3ea179=0x0;for(const _0x45c41e of _0x1a48b3){const _0x25375e=_0x3c8add['measureText'](_0x45c41e)[_0x38eb6d(0x2bf)];if(_0x3ea179+_0x25375e<=_0x38e00e-_0x3c8add[_0x38eb6d(0x156)](_0x38eb6d(0x2a3))[_0x38eb6d(0x2bf)])_0x1242a9+=_0x45c41e,_0x3ea179+=_0x25375e;else{_0x1242a9+=_0x38eb6d(0x2a3);break;}}_0x3c8add['fillText'](_0x1242a9,_0x4e9a26,_0x1186a8);}else _0x3c8add['fillText'](_0x1a48b3,_0x4e9a26,_0x1186a8);_0x3c8add[_0x38eb6d(0x1ce)]();}[_0x381542(0x31c)](_0x3ab4ec){const _0x1ac7c6=_0x381542;Ee[_0x1ac7c6(0x203)](_0x3ab4ec,this);}}const De='collab-text-anchor-',Xi=_0x381542(0x26a),Gi=_0x381542(0x213),z=0x6,Ki=1.5,be=0x4,zi=1.5,Ji=_0x381542(0x20a);function _0x563f(_0x318505,_0x107e33){const _0x54dcd6=_0x54dc();return _0x563f=function(_0x563f31,_0x4a81ff){_0x563f31=_0x563f31-0xe5;let _0x3b5ab7=_0x54dcd6[_0x563f31];return _0x3b5ab7;},_0x563f(_0x318505,_0x107e33);}class ct{constructor(_0x28527d,_0x4f91c6,_0x246c5e,_0x5d9156){const _0x533e6e=_0x381542;_(this,_0x533e6e(0x1ef),[]),_(this,_0x533e6e(0x18e),null),_(this,_0x533e6e(0x147),null),_(this,_0x533e6e(0x11a),null),_(this,_0x533e6e(0x1fb),null),_(this,_0x533e6e(0x16e),null),(this[_0x533e6e(0x17e)]=_0x28527d,this[_0x533e6e(0x1e0)]=_0x4f91c6,this[_0x533e6e(0x18b)]=_0x246c5e,this[_0x533e6e(0x19c)]=_0x5d9156,this[_0x533e6e(0x13c)]());}set[_0x381542(0x279)](_0x30b349){const _0xf9585b=_0x381542;_0x30b349?(this[_0xf9585b(0x11a)]&&this[_0xf9585b(0x11a)][_0xf9585b(0x17c)](),this[_0xf9585b(0x147)]&&this['_textBubble']['show']()):(this[_0xf9585b(0x11a)]&&this[_0xf9585b(0x11a)][_0xf9585b(0x249)](),this[_0xf9585b(0x147)]&&this[_0xf9585b(0x147)][_0xf9585b(0x17c)]());}[_0x381542(0x122)](){const _0x2e2453=_0x381542;for(const _0x3d257f of this[_0x2e2453(0x1ef)])_0x3d257f[_0x2e2453(0x122)]();this[_0x2e2453(0x147)]&&this[_0x2e2453(0x147)]['dispose'](),this[_0x2e2453(0x11a)]&&this[_0x2e2453(0x11a)]['dispose'](),this[_0x2e2453(0x18e)]&&this['_anchor'][_0x2e2453(0x122)](),this['_eventUnsubscribe']&&this[_0x2e2453(0x16e)]();}[_0x381542(0x13c)](){const _0x138ac9=_0x381542;var _0x51124b;const {_docSkeleton:_0x5c5ed5,_document:_0x17b53d}=this,{color:_0x21eb04,name:_0x10dd41,ranges:_0x30faa8}=this[_0x138ac9(0x17e)],_0x546b7a=_0x17b53d[_0x138ac9(0x181)](),{docsLeft:_0x4f85bd,docsTop:_0x14e24f}=_0x546b7a,_0x34d73a=new _0x1e3027(_0x546b7a,_0x5c5ed5);for(const {startOffset:_0x170f8e,endOffset:_0x3b4093,rangeType:_0x2a6697,segmentId:_0x4980a5,segmentPage:_0x4b6855,collapsed:_0x4c61b1,isActive:_0x4b7904}of _0x30faa8){const _0x191a32=_0x5c5ed5[_0x138ac9(0x152)](_0x170f8e,!0x0,_0x4980a5,_0x4b6855);let _0x33a21a=_0x5c5ed5[_0x138ac9(0x152)](_0x3b4093,!0x0,_0x4980a5,_0x4b6855);if(_0x33a21a==null&&(_0x33a21a=_0x5c5ed5[_0x138ac9(0x152)](_0x3b4093-0x1,!0x1,_0x4980a5,_0x4b6855)),_0x4b7904){const {contentBoxPointGroup:_0xb1b5db}=_0x34d73a[_0x138ac9(0x127)](_0x33a21a,_0x33a21a);if(_0xb1b5db[_0x138ac9(0x10b)]===0x0)continue;this[_0x138ac9(0x2e9)](_0x21eb04,_0xb1b5db,_0x4f85bd,_0x14e24f,_0x10dd41),this[_0x138ac9(0x16e)]=this['_handleHover']();}if(_0x191a32&&_0x33a21a){if(_0x2a6697===_0x481c6f['RECT']){const _0xbf936e=new _0x1bf9bd(_0x546b7a,_0x5c5ed5),{pointGroup:_0x357765}=(_0x51124b=_0xbf936e[_0x138ac9(0x127)](_0x191a32,_0x33a21a))!=null?_0x51124b:{};if(_0x357765==null||_0x357765['length']===0x0)continue;this['_drawRectRange'](_0x21eb04,_0x357765,_0x4f85bd,_0x14e24f);}else{if(!_0x4c61b1){const {borderBoxPointGroup:_0x4eb547}=_0x34d73a[_0x138ac9(0x127)](_0x191a32,_0x33a21a);if(_0x4eb547[_0x138ac9(0x10b)]===0x0)continue;this[_0x138ac9(0x1ec)](_0x21eb04,_0x4eb547,_0x4f85bd,_0x14e24f);}}}}}[_0x381542(0x2e9)](_0x198247,_0x4fdbd0,_0x11ae01,_0x5c20a3,_0x4c683f){const _0x5c1fc4=_0x381542,_0x45c253=this[_0x5c1fc4(0x1c6)](_0x4fdbd0),{left:_0x2c9c2d,top:_0xc6b5c,height:_0x52082c}=_0x45c253,_0x1bd2cb=this[_0x5c1fc4(0x16c)](),_0x2c02b8=zi/_0x1bd2cb,_0x14aa63=new _0x4bafb1(De+_0x5d1d29(z),{'left':_0x2c9c2d+_0x11ae01-_0x2c02b8,'top':_0xc6b5c+_0x5c20a3,'height':_0x52082c,'width':Ki,'fill':_0x198247||_0x2caebb(_0x47a336[_0x5c1fc4(0x24c)],0x0),'strokeWidth':_0x2c02b8,'stroke':Ji,'evented':!0x0});this[_0x5c1fc4(0x18e)]=_0x14aa63,this[_0x5c1fc4(0x1e0)][_0x5c1fc4(0x25b)](_0x14aa63,_0x5b229d);const _0xf9a24d=new _0x4bafb1(De+_0x5d1d29(z),{'left':_0x2c9c2d+_0x11ae01-_0x2c02b8,'top':_0xc6b5c+_0x5c20a3-be/0x2,'height':be,'width':be,'fill':_0x198247||_0x2caebb(_0x47a336[_0x5c1fc4(0x24c)],0x0),'strokeWidth':0x0,'stroke':_0x198247||_0x2caebb(_0x47a336[_0x5c1fc4(0x24c)],0x0),'evented':!0x1});this[_0x5c1fc4(0x11a)]=_0xf9a24d,this[_0x5c1fc4(0x1e0)][_0x5c1fc4(0x25b)](_0xf9a24d,_0x5b229d);const _0x57fd47=new Ee(De+_0x5d1d29(z),{'left':_0x2c9c2d+_0x11ae01-_0x2c02b8,'top':_0xc6b5c+_0x5c20a3-Q,'text':_0x4c683f,'color':_0x198247});this[_0x5c1fc4(0x147)]=_0x57fd47,this[_0x5c1fc4(0x1e0)]['addObject'](_0x57fd47,_0x5b229d),this[_0x5c1fc4(0x279)]=!0x1;}['_handleHover'](){const _0x260a45=_0x381542,_0x2e598d=this[_0x260a45(0x18e)][_0x260a45(0xe5)][_0x260a45(0x27f)](()=>{const _0x43650f=_0x260a45;this[_0x43650f(0x279)]=!0x0;}),_0x1848d6=this[_0x260a45(0x18e)][_0x260a45(0x199)][_0x260a45(0x27f)](()=>{const _0x1a7cc9=_0x260a45;this[_0x1a7cc9(0x1fb)]&&clearTimeout(this[_0x1a7cc9(0x1fb)]),this['_hideTimer']=setTimeout(()=>{const _0x1004c9=_0x1a7cc9;this[_0x1004c9(0x279)]=!0x1;},0x7d0);});return()=>{const _0x4a1fbe=_0x260a45;_0x2e598d[_0x4a1fbe(0x15a)](),_0x1848d6[_0x4a1fbe(0x15a)]();};}[_0x381542(0x1ec)](_0x59fce4,_0x255fed,_0x151af0,_0x55a764){const _0x4c3934=_0x381542,_0x43dbf7=new _0x37be34(_0x59fce4)[_0x4c3934(0x298)](0.2)[_0x4c3934(0x1b2)](),_0x56b48b=new _0x4c6616(Xi+_0x5d1d29(z),{'pointsGroup':_0x255fed,'fill':_0x43dbf7||_0x2caebb(_0x47a336[_0x4c3934(0x24c)],0.2),'left':_0x151af0,'top':_0x55a764,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4c3934(0x2e5)](_0x56b48b),this[_0x4c3934(0x1e0)][_0x4c3934(0x25b)](_0x56b48b,_0x5b229d);}[_0x381542(0x2ae)](_0x351ff2,_0x44cca4,_0xf9af0e,_0x325e7c){const _0x8bf305=_0x381542,_0x28fc9b=new _0x37be34(_0x351ff2)[_0x8bf305(0x298)](0.2)[_0x8bf305(0x1b2)](),_0x5e0527=new _0x4c6616(Gi+_0x5d1d29(z),{'pointsGroup':_0x44cca4,'fill':_0x28fc9b||_0x2caebb(_0x47a336['black'],0.2),'left':_0xf9af0e,'top':_0x325e7c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8bf305(0x1ef)][_0x8bf305(0x2e5)](_0x5e0527),this[_0x8bf305(0x1e0)][_0x8bf305(0x25b)](_0x5e0527,_0x5b229d);}[_0x381542(0x1c6)](_0x189d08){const _0x5abdda=_0x189d08[0x0],_0x2d008=_0x5abdda[0x0],_0x2fc5ed=_0x5abdda[0x2],{x:_0x31793c,y:_0x4d1139}=_0x2d008,{x:_0x481125,y:_0x326b08}=_0x2fc5ed;return{'left':_0x31793c,'top':_0x4d1139,'width':_0x481125-_0x31793c,'height':_0x326b08-_0x4d1139};}[_0x381542(0x16c)](){const _0x39fc87=_0x381542,{scaleX:_0x1bf554,scaleY:_0x522aac}=this[_0x39fc87(0x1e0)][_0x39fc87(0x14b)]();return Math[_0x39fc87(0x28f)](_0x1bf554,_0x522aac);}}var Zi=Object[_0x381542(0x250)],Qi=(_0x346625,_0x17b8ea,_0x420da5,_0x4dfe63)=>{const _0x21728e=_0x381542;for(var _0x87d0bc=_0x4dfe63>0x1?void 0x0:_0x4dfe63?Zi(_0x17b8ea,_0x420da5):_0x17b8ea,_0x300eb9=_0x346625[_0x21728e(0x10b)]-0x1,_0x15f4f3;_0x300eb9>=0x0;_0x300eb9--)(_0x15f4f3=_0x346625[_0x300eb9])&&(_0x87d0bc=_0x15f4f3(_0x87d0bc)||_0x87d0bc);return _0x87d0bc;},ie=(_0x5c14e2,_0x494dfd)=>(_0x1d433c,_0x473661)=>_0x494dfd(_0x1d433c,_0x473661,_0x5c14e2);let Fe=class extends _0x37d03e{constructor(_0x552828,_0x22ddff,_0x3250ae,_0x20272b,_0xef4308){const _0x118612=_0x381542;super(),_(this,_0x118612(0x19f),[]),_(this,_0x118612(0x15c),[]),(this[_0x118612(0x1a7)]=_0x552828,this[_0x118612(0x30e)]=_0x22ddff,this[_0x118612(0x188)]=_0x3250ae,this[_0x118612(0x24f)]=_0x20272b,this['_themeService']=_0xef4308,this[_0x118612(0x32b)]());}[_0x381542(0x32b)](){const _0x4098d6=_0x381542,_0x11abd5=this[_0x4098d6(0x1a7)][_0x4098d6(0x2e0)],_0x1c4cf9=this[_0x4098d6(0x30e)];this[_0x4098d6(0x306)](_0x210567([this[_0x4098d6(0x188)][_0x4098d6(0x277)](_0x11abd5),this[_0x4098d6(0x107)][_0x4098d6(0x1f0)]])[_0x4098d6(0x274)](_0x15499d(([_0x27c987,_0x5736d2])=>({'skeleton':_0x1c4cf9['getSkeleton'](),'cursors':[..._0x27c987[_0x4098d6(0x1fe)]()][_0x4098d6(0x15b)](_0x443e78=>({..._0x443e78,'color':this['_themeService'][_0x4098d6(0x11d)](_0x443e78['color'])}))})))[_0x4098d6(0x14a)](_0x57f764=>{const _0x36410b=_0x4098d6;if(this[_0x36410b(0x1b3)](),_0x57f764){const {skeleton:_0x57806e,cursors:_0x11049e}=_0x57f764;this[_0x36410b(0x1a1)](_0x57806e,_0x11049e);}})),this[_0x4098d6(0x28d)](),this[_0x4098d6(0x214)]();}[_0x381542(0x1a1)](_0x49148b,_0x5d5d6f){const _0x493429=_0x381542,{scene:_0x58e7b8,mainComponent:_0x23df49}=this['_context'],_0xd061a4=_0x5d5d6f[_0x493429(0x325)](_0x57d5a6=>new ct(_0x57d5a6,_0x58e7b8,_0x49148b,_0x23df49));this[_0x493429(0x19f)]=_0xd061a4,this[_0x493429(0x15c)]=_0x5d5d6f;}[_0x381542(0x2cc)](){const _0x324a0e=_0x381542;this['_removeCollabCursors']();const {scene:_0x1ece16,mainComponent:_0x31a2a3}=this[_0x324a0e(0x1a7)],_0x5bc74e=this[_0x324a0e(0x30e)][_0x324a0e(0xf8)](),_0x5be511=this['_cursors'][_0x324a0e(0x325)](_0x34f4d8=>new ct(_0x34f4d8,_0x1ece16,_0x5bc74e,_0x31a2a3));this[_0x324a0e(0x19f)]=_0x5be511;}[_0x381542(0x1b3)](){const _0x240916=_0x381542;this[_0x240916(0x19f)][_0x240916(0x15f)](_0x26081d=>_0x26081d[_0x240916(0x122)]()),this[_0x240916(0x19f)]=[];}[_0x381542(0x214)](){const _0x513e4c=_0x381542,_0x377232=[_0x19b885['id']];this[_0x513e4c(0x306)](this['_commandService'][_0x513e4c(0x23f)](_0x1c6250=>{const _0x4dab51=_0x513e4c;_0x377232['includes'](_0x1c6250['id'])&&_0x1c6250[_0x4dab51(0x2ea)][_0x4dab51(0x2e0)]===this[_0x4dab51(0x1a7)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x62cdb1=_0x381542;this[_0x62cdb1(0x306)](_0x123da2(this[_0x62cdb1(0x1a7)][_0x62cdb1(0x322)]['onTransformChange$'])['pipe'](_0x181f05(_0x446939=>_0x446939[_0x62cdb1(0x209)]===_0xc25102[_0x62cdb1(0x1f5)]),_0x20d47b(0x10))[_0x62cdb1(0x14a)](()=>{const _0x5c1a3f=_0x62cdb1;this[_0x5c1a3f(0x2cc)]();}));}};Fe=Qi([ie(0x1,_0x2ef654(_0x5551a0)),ie(0x2,_0x2ef654(H)),ie(0x3,_0x478bd4),ie(0x4,_0x2ef654(_0x487580))],Fe);const qi=0x1,en=1.5;class tn extends _0x4f7b35{constructor(_0x47e84c,_0x47ccad){const _0x23cd11=_0x381542;super(_0x47e84c,_0x47ccad),_(this,_0x23cd11(0x20f)),_(this,'_hovered',!0x1),_(this,_0x23cd11(0x244)),_(this,_0x23cd11(0x151),''),_(this,_0x23cd11(0x112),_0x23cd11(0x13d)),_(this,_0x23cd11(0x1f7)),(_0x47ccad&&this['setShapeProps'](_0x47ccad),this[_0x23cd11(0xe5)][_0x23cd11(0x27f)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x23cd11(0x199)][_0x23cd11(0x27f)](()=>this[_0x23cd11(0x324)]({'hovered':!0x1})));}['setShapeProps'](_0x4ff3ee){const _0x32f268=_0x381542;var _0x73f6c8,_0x40bda2,_0x51d979,_0x21c50f,_0x1ecc5d,_0x457521;this[_0x32f268(0x20f)]=(_0x73f6c8=_0x4ff3ee[_0x32f268(0x326)])!=null?_0x73f6c8:this[_0x32f268(0x20f)],this['_hovered']=(_0x40bda2=_0x4ff3ee[_0x32f268(0x2df)])!=null?_0x40bda2:this[_0x32f268(0x2fb)],this[_0x32f268(0x244)]=(_0x51d979=_0x4ff3ee[_0x32f268(0x256)])!=null?_0x51d979:this[_0x32f268(0x244)],this[_0x32f268(0x151)]=(_0x21c50f=_0x4ff3ee[_0x32f268(0x26e)])!=null?_0x21c50f:this[_0x32f268(0x151)],this[_0x32f268(0x112)]=(_0x1ecc5d=_0x4ff3ee[_0x32f268(0x21c)])!=null?_0x1ecc5d:this[_0x32f268(0x112)],this[_0x32f268(0x1f7)]=(_0x457521=_0x4ff3ee[_0x32f268(0x24a)])!=null?_0x457521:this[_0x32f268(0x1f7)],this[_0x32f268(0x31a)]({'width':_0x4ff3ee[_0x32f268(0x2bf)],'height':_0x4ff3ee[_0x32f268(0x1ae)]});}['onMouseMove'](_0x9d851f){const _0x2ab6ce=_0x381542,{row:_0x242416,column:_0x272c0b}=_0x9d851f;if(_0x242416>=this[_0x2ab6ce(0x244)][_0x2ab6ce(0x198)]&&_0x242416<=this[_0x2ab6ce(0x244)][_0x2ab6ce(0x1ac)]&&_0x272c0b>=this[_0x2ab6ce(0x244)][_0x2ab6ce(0x102)]&&_0x272c0b<=this[_0x2ab6ce(0x244)][_0x2ab6ce(0x218)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2ab6ce(0x324)]({'hovered':!0x1});}[_0x381542(0x1fd)](_0x2977cf){return!0x1;}[_0x381542(0x31c)](_0x224866){const _0x3fc337=_0x381542;_0x4bafb1['drawWith'](_0x224866,{'width':this[_0x3fc337(0x2bf)],'height':this['height'],'strokeWidth':en,'stroke':this[_0x3fc337(0x20f)],'evented':!0x1,'fill':this[_0x3fc337(0x1f7)]}),this[_0x3fc337(0x2fb)]&&(_0x224866[_0x3fc337(0x20b)](),_0x224866['transform'](0x1,0x0,0x0,0x1,this[_0x3fc337(0x2bf)],this[_0x3fc337(0x112)]===_0x3fc337(0x2aa)?0x0:-Q),Ee[_0x3fc337(0x203)](_0x224866,{'text':this[_0x3fc337(0x151)],'color':this['_color']}),_0x224866[_0x3fc337(0x1ce)]());}}var sn=Object[_0x381542(0x250)],nn=(_0x5e3ff4,_0x4af517,_0x3d94cd,_0x16e052)=>{const _0x4171e1=_0x381542;for(var _0x212275=_0x16e052>0x1?void 0x0:_0x16e052?sn(_0x4af517,_0x3d94cd):_0x4af517,_0x3b1526=_0x5e3ff4[_0x4171e1(0x10b)]-0x1,_0x548621;_0x3b1526>=0x0;_0x3b1526--)(_0x548621=_0x5e3ff4[_0x3b1526])&&(_0x212275=_0x548621(_0x212275)||_0x212275);return _0x212275;},Ne=(_0x4c91e6,_0x32b7ed)=>(_0x3c3396,_0x197b46)=>_0x32b7ed(_0x3c3396,_0x197b46,_0x4c91e6);const rn=0x1389;let ke=class extends _0x37d03e{constructor(_0x3c56b8,_0xea1302,_0x21e6d8,_0x8fa9b8){const _0x11a390=_0x381542;super(),_(this,_0x11a390(0x15c),new Set()),_(this,_0x11a390(0x1e7),null),(this[_0x11a390(0x1a7)]=_0x3c56b8,this[_0x11a390(0x2f6)]=_0xea1302,this[_0x11a390(0x188)]=_0x21e6d8,this[_0x11a390(0x107)]=_0x8fa9b8,this[_0x11a390(0x32b)]());}[_0x381542(0x32b)](){const _0x1f0119=_0x381542;this[_0x1f0119(0x2f6)][_0x1f0119(0x1e8)]['pipe'](_0x5cd275(this['dispose$']),_0x279ad3(_0x168130=>{const _0x1411b9=_0x1f0119;if(_0x168130){const _0x143e4f=_0x168130['sheetId'];return _0x210567(this[_0x1411b9(0x188)]['getCollabCursors$'](this[_0x1411b9(0x1a7)][_0x1411b9(0x2e0)]),this[_0x1411b9(0x107)]['currentTheme$'])[_0x1411b9(0x274)](_0x15499d(([_0x31881e,_0x94498d])=>{const _0x26c7e5=_0x1411b9,_0x29d251=new Map();return _0x31881e[_0x26c7e5(0x15f)]((_0x351980,_0x37aa2c)=>{const _0x1f72c8=_0x26c7e5;if(_0x351980['sheetID']===_0x143e4f){const _0x347796={..._0x351980};_0x347796['color']=this['_themeService'][_0x1f72c8(0x11d)](_0x351980[_0x1f72c8(0x326)]),_0x29d251['set'](_0x37aa2c,_0x347796);}}),{'skeleton':_0x168130,'cursors':_0x29d251};}));}return _0x4e5ebf({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1eb83a,cursors:_0x4c4314})=>{const _0x2d8768=_0x1f0119;this[_0x2d8768(0x1b3)](),_0x1eb83a&&this['_updateCollabCursors'](_0x1eb83a,_0x4c4314);}),this[_0x1f0119(0x2f6)]['currentSkeleton$'][_0x1f0119(0x14a)](_0x1d71ab=>{const _0x84b6eb=_0x1f0119;if(_0x1d71ab==null)return;const {skeleton:_0x23c7af}=_0x1d71ab,{scene:_0x504e98}=this[_0x84b6eb(0x1a7)];_0x504e98[_0x84b6eb(0x1f3)]['subscribeEvent'](_0x575ddf(_0x530688=>{const _0x29ae17=_0x84b6eb;var _0x492e72,_0x23b807;const {offsetX:_0xe5bb94,offsetY:_0x41831a}=_0x530688,{x:_0x152ad4,y:_0x3bb85f}=_0x504e98[_0x29ae17(0x1b6)](_0x5e3011[_0x29ae17(0x21e)]([_0xe5bb94,_0x41831a])),{scaleX:_0x3f372a,scaleY:_0x5acf31}=_0x504e98[_0x29ae17(0x14b)](),_0x52bb24=_0x504e98['getViewport'](_0x1c3b91[_0x29ae17(0x157)]),_0x562970=_0x504e98[_0x29ae17(0x18f)](_0x5e3011[_0x29ae17(0x21e)]([_0x152ad4,_0x3bb85f]),_0x52bb24),_0xc44325=_0x23c7af[_0x29ae17(0x16f)](_0xe5bb94,_0x41831a,_0x3f372a,_0x5acf31,_0x562970);((_0x492e72=this[_0x29ae17(0x1e7)])==null?void 0x0:_0x492e72['column'])===_0xc44325[_0x29ae17(0x129)]&&((_0x23b807=this[_0x29ae17(0x1e7)])==null?void 0x0:_0x23b807[_0x29ae17(0x272)])===_0xc44325['row']||this[_0x29ae17(0x15c)][_0x29ae17(0x15f)](_0x336380=>{const _0x265a62=_0x29ae17;_0x336380[_0x265a62(0x208)](_0xc44325);});},0x64));});}[_0x381542(0x1a1)](_0x56e608,_0x297e86){const _0x2f1596=_0x381542;var _0x1229b6;const _0x180185=(_0x1229b6=this[_0x2f1596(0x2f6)][_0x2f1596(0x297)]())==null?void 0x0:_0x1229b6[_0x2f1596(0x26f)];if(!_0x180185)return;const _0x585053=this[_0x2f1596(0x2b7)]();if(!_0x585053)return;this['_cursors'][_0x2f1596(0x15f)](_0x51625e=>{_0x51625e['makeDirty']();});const {scene:_0x4176cb}=_0x585053,_0x3cad6f=on(Array['from'](_0x297e86['values']()))[_0x2f1596(0x325)](_0x517647=>{const _0x3a2317=_0x2f1596,{color:_0xcc5f3d,range:_0x48329,name:_0x34fc2d,selection:_0x536f7a,sheetID:_0x5b4f5e}=_0x517647,{startColumn:_0x75d8ba,startRow:_0x33fa28,endColumn:_0x1ee92d,endRow:_0xb590d4}=_0x48329,_0x18ed0b=_0x52458d(_0x33fa28,_0x75d8ba,_0x4176cb,_0x180185),_0x2cc6d9=_0x52458d(_0xb590d4,_0x1ee92d,_0x4176cb,_0x180185),{columnHeaderHeightAndMarginTop:_0x5bbbd9}=_0x180185,{startX:_0x5bc421,startY:_0x353d41}=_0x18ed0b,{endX:_0x25edde,endY:_0x39016d}=_0x2cc6d9,_0x6096fc=_0x25edde-_0x5bc421,_0x5902b5=_0x39016d-_0x353d41,_0x1feadc={'labelPosition':_0x353d41-_0x5bbbd9>=Q?_0x3a2317(0x13d):'bottom','sheetID':_0x5b4f5e,'range':_0x48329,'color':_0xcc5f3d,'name':_0x34fc2d,'selection':_0x536f7a,'left':_0x5bc421,'top':_0x353d41,'width':_0x6096fc,'height':_0x5902b5,'evented':!0x1,'zIndex':rn};return new tn(_0x34fc2d,_0x1feadc);});_0x4176cb[_0x2f1596(0x1a3)](_0x3cad6f,qi),this['_cursors']=new Set(_0x3cad6f);}[_0x381542(0x1b3)](){const _0x3e40f4=_0x381542;var _0x2a0b84;(_0x2a0b84=this[_0x3e40f4(0x15c)])==null||_0x2a0b84[_0x3e40f4(0x15f)](_0x190f0c=>_0x190f0c[_0x3e40f4(0x122)]());}['_getSheetObject'](){const _0x112535=_0x381542;return _0x182cab(this['_context'][_0x112535(0x304)],this['_context']);}};ke=nn([Ne(0x1,_0x2ef654(_0x1d5d49)),Ne(0x2,_0x2ef654(H)),Ne(0x3,_0x2ef654(_0x487580))],ke);function on(_0x4a538b){const _0xdf7f66=_0x381542,_0x4959ba=new Map();return _0x4a538b['forEach'](_0x4619b4=>{const _0x4f2489=_0x563f;if(_0x4959ba[_0x4f2489(0x2d6)](_0x4619b4[_0x4f2489(0x205)])){const _0x1ddc43=_0x4959ba[_0x4f2489(0x2d4)](_0x4619b4[_0x4f2489(0x205)]);_0x1ddc43[_0x4f2489(0x26e)]+=',\x20'+_0x4619b4['name'];}else _0x4959ba[_0x4f2489(0x10e)](_0x4619b4[_0x4f2489(0x205)],_0x4619b4);}),Array['from'](_0x4959ba[_0xdf7f66(0x1fe)]());}var an=Object[_0x381542(0x250)],cn=(_0x4864ff,_0x20cee0,_0xf2effc,_0x471b2b)=>{const _0x55a73c=_0x381542;for(var _0x721495=_0x471b2b>0x1?void 0x0:_0x471b2b?an(_0x20cee0,_0xf2effc):_0x20cee0,_0x4acb2c=_0x4864ff[_0x55a73c(0x10b)]-0x1,_0x2105a3;_0x4acb2c>=0x0;_0x4acb2c--)(_0x2105a3=_0x4864ff[_0x4acb2c])&&(_0x721495=_0x2105a3(_0x721495)||_0x721495);return _0x721495;},F=(_0x539ac4,_0x157467)=>(_0x1c9244,_0x21714c)=>_0x157467(_0x1c9244,_0x21714c,_0x539ac4);let _e=class extends _0x282063{constructor(_0x77530f,_0x2b31aa,_0x1a902a,_0x4122b8,_0x55d10f,_0x2943aa){const _0x38a472=_0x381542;super(),this['_beforeCloseService']=_0x77530f,this[_0x38a472(0x121)]=_0x2b31aa,this[_0x38a472(0x2f5)]=_0x1a902a,this[_0x38a472(0x1b4)]=_0x4122b8,this[_0x38a472(0x307)]=_0x55d10f,this[_0x38a472(0x319)]=_0x2943aa,this[_0x38a472(0x30a)](),this[_0x38a472(0xe9)]();}[_0x381542(0x30a)](){const _0x50f877=_0x381542;this[_0x50f877(0x306)](this[_0x50f877(0x237)][_0x50f877(0xe8)](()=>{const _0x507a44=_0x50f877;if(this[_0x507a44(0x121)][_0x507a44(0x31e)][_0x507a44(0x1a6)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x381542(0xe9)](){const _0x2d62b5=_0x381542;this['disposeWithMe'](this[_0x2d62b5(0x2f5)][_0x2d62b5(0x1df)][_0x2d62b5(0x14a)](_0x4eb393=>{const _0x29b31b=_0x2d62b5;_0x4eb393['id']===_0x2c037b[_0x29b31b(0x267)]&&this[_0x29b31b(0x1b4)]['show']({'type':_0x3f469b[_0x29b31b(0x1de)],'content':this[_0x29b31b(0x319)]['t'](_0x29b31b(0x2dd))}),_0x4eb393['id']===_0x2c037b[_0x29b31b(0x2da)]&&this[_0x29b31b(0x1b4)][_0x29b31b(0x249)]({'type':_0x3f469b[_0x29b31b(0x1de)],'content':this[_0x29b31b(0x319)]['t'](_0x29b31b(0x2d2))}),_0x4eb393['id']===_0x2c037b['PERMISSION_DENIED']&&this[_0x29b31b(0x307)]['show']({'title':this[_0x29b31b(0x319)]['t'](_0x29b31b(0x23b)),'content':this['_localeService']['t'](_0x29b31b(0x1b5)),'type':_0x29b31b(0x21a),'duration':0x0}),_0x4eb393['id']===_0x2c037b['CONFLICT']&&this['_messageService']['show']({'type':_0x3f469b['Error'],'content':this['_localeService']['t'](_0x29b31b(0x2d2))+'('+_0x4eb393[_0x29b31b(0x305)]+')'}),_0x4eb393['id']===_0x2c037b[_0x29b31b(0x2af)]&&this[_0x29b31b(0x1b4)][_0x29b31b(0x249)]({'type':_0x3f469b['Warning'],'content':this[_0x29b31b(0x319)]['t'](_0x4eb393[_0x29b31b(0x305)]||'')}),_0x4eb393['id']===_0x2c037b[_0x29b31b(0x247)]&&this[_0x29b31b(0x1b4)][_0x29b31b(0x249)]({'type':_0x3f469b[_0x29b31b(0x1de)],'content':this[_0x29b31b(0x319)]['t'](_0x29b31b(0x11f))}),_0x4eb393['id']===_0x2c037b[_0x29b31b(0x1ca)]&&this['_messageService'][_0x29b31b(0x249)]({'type':_0x3f469b[_0x29b31b(0x2e8)],'content':this[_0x29b31b(0x319)]['t'](_0x29b31b(0x115))}),_0x4eb393['id']===_0x2c037b[_0x29b31b(0x239)]&&this[_0x29b31b(0x1b4)][_0x29b31b(0x249)]({'type':_0x3f469b[_0x29b31b(0x2e8)],'content':this[_0x29b31b(0x319)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x38d930),F(0x1,_0x2f7e0d),F(0x2,_0x2ef654(_0xe64e8f)),F(0x3,_0x37c01f),F(0x4,_0x557674),F(0x5,_0x2ef654(_0x726278))],_e);var _n=Object[_0x381542(0x250)],ln=(_0x2c6e0e,_0x1c88d6,_0x7cd064,_0x591856)=>{for(var _0x574007=_0x591856>0x1?void 0x0:_0x591856?_n(_0x1c88d6,_0x7cd064):_0x1c88d6,_0x1271e5=_0x2c6e0e['length']-0x1,_0x59c117;_0x1271e5>=0x0;_0x1271e5--)(_0x59c117=_0x2c6e0e[_0x1271e5])&&(_0x574007=_0x59c117(_0x574007)||_0x574007);return _0x574007;},ne=(_0x1581dd,_0x308346)=>(_0x55a33b,_0x2dcd56)=>_0x308346(_0x55a33b,_0x2dcd56,_0x1581dd);let le=class extends _0x282063{constructor(_0x47d711,_0x2c7cdf,_0x29b016,_0x460a35){const _0xd05627=_0x381542;super(),_(this,'_memberID'),(this[_0xd05627(0x2f1)]=_0x47d711,this[_0xd05627(0x1c4)]=_0x2c7cdf,this[_0xd05627(0x2a7)]=_0x29b016,this[_0xd05627(0x200)]=_0x460a35,this['_init']());}[_0x381542(0x32b)](){const _0x5c97df=_0x381542;this[_0x5c97df(0x2fc)](),this[_0x5c97df(0x1b9)](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x381542(0x27b)](){const _0x2a1ad0=_0x381542;this[_0x2a1ad0(0x306)](this[_0x2a1ad0(0x200)][_0x2a1ad0(0x110)][_0x2a1ad0(0x14a)](_0x2c7f55=>{const _0x1b7489=_0x2a1ad0;this['_memberID']=_0x2c7f55==null?void 0x0:_0x2c7f55[_0x1b7489(0x235)];}));}[_0x381542(0x2fc)](){const _0xb34f31=_0x381542,_0x20530d=_0x547cd5=>{const _0x439cdc=_0x563f;var _0x55b851;this[_0x439cdc(0x19b)](_0x439cdc(0x21a),_0x439cdc(0x2c8)+_0x547cd5['message']+'\x20at\x20'+_0x547cd5[_0x439cdc(0x323)]+':'+_0x547cd5[_0x439cdc(0x289)]+':'+_0x547cd5[_0x439cdc(0x212)]+'\x0a'+(((_0x55b851=_0x547cd5[_0x439cdc(0x21a)])==null?void 0x0:_0x55b851[_0x439cdc(0x18c)])||''));};window['addEventListener'](_0xb34f31(0x21a),_0x20530d),this[_0xb34f31(0x306)](()=>{window['removeEventListener']('error',_0x20530d);});}[_0x381542(0x1b9)](){const _0x51afae=_0x381542,_0x1468b7=_0xee60bc=>{const _0x2f64aa=_0x563f;this['_uploadLog'](_0x2f64aa(0x21a),_0x2f64aa(0x2cb)+_0xee60bc['reason']);};window[_0x51afae(0x103)]('unhandledrejection',_0x1468b7),this[_0x51afae(0x306)](()=>{const _0x21a999=_0x51afae;window['removeEventListener'](_0x21a999(0x116),_0x1468b7);});}['_monkeyPatchLogService'](){const _0x343fe5=_0x381542,_0x5ae871=this[_0x343fe5(0x2a7)][_0x343fe5(0x21a)][_0x343fe5(0x2a8)](this['_logService']);this[_0x343fe5(0x2a7)]['error']=(..._0x1bb26f)=>{const _0x5ae5ae=_0x343fe5,_0x4e1867=_0x1bb26f['map'](_0x1b53b6=>_0x1b53b6 instanceof Error?_0x1b53b6[_0x5ae5ae(0x2e1)]+'\x0a'+_0x1b53b6[_0x5ae5ae(0x18c)]:String(_0x1b53b6))[_0x5ae5ae(0x22e)]('\x20');this[_0x5ae5ae(0x19b)](_0x5ae5ae(0x21a),'[LogService\x20Error]:\x20'+_0x4e1867),_0x5ae871(..._0x1bb26f);},this[_0x343fe5(0x306)](()=>{const _0x102919=_0x343fe5;this[_0x102919(0x2a7)][_0x102919(0x21a)]=_0x5ae871;});}[_0x381542(0x19b)](_0x22ddc6,_0xb4f584){const _0x32b408=_0x381542;try{const _0x383599={'userId':this[_0x32b408(0x1fa)],'logLabel':_0x22ddc6,'content':_0xb4f584};this[_0x32b408(0x1c4)][_0x32b408(0x286)](_0x32b408(0x126),{'body':_0x383599})[_0x32b408(0x11e)](()=>{});}catch{}}};le=ln([ne(0x0,_0x2ef654(_0x43877d)),ne(0x1,_0x2ef654(_0x57a0f4)),ne(0x2,_0x4c5a8a),ne(0x3,_0x2ef654(_0x22b01b))],le);const hn='collaboration-client-ui.config',_t={};var un=Object[_0x381542(0x250)],dn=(_0x3fbe98,_0xa8be85,_0x166e25,_0x93c7f3)=>{const _0x272630=_0x381542;for(var _0x820a18=_0x93c7f3>0x1?void 0x0:_0x93c7f3?un(_0xa8be85,_0x166e25):_0xa8be85,_0x2388fe=_0x3fbe98[_0x272630(0x10b)]-0x1,_0x4d1b7c;_0x2388fe>=0x0;_0x2388fe--)(_0x4d1b7c=_0x3fbe98[_0x2388fe])&&(_0x820a18=_0x4d1b7c(_0x820a18)||_0x820a18);return _0x820a18;},lt=(_0x454987,_0x1bdf96)=>(_0x2692f9,_0x138d37)=>_0x1bdf96(_0x2692f9,_0x138d37,_0x454987);let he=class{constructor(_0x30c148,_0x54f783){const _0x401676=_0x381542;this[_0x401676(0x23a)]=_0x30c148,this[_0x401676(0x1d3)]=_0x54f783;}[_0x381542(0x2dc)](_0xc44814){const _0x531b26=_0x381542;this[_0x531b26(0x2b5)](_0xc44814),this[_0x531b26(0x26c)](_0xc44814);}[_0x381542(0x217)](_0xa28e10){const _0x366ef8=_0x381542,{unitID:_0x502704}=_0xa28e10,_0x4c462d=this['_renderManagerService'][_0x366ef8(0x1c0)](_0x502704)[_0x366ef8(0xf1)](_0x415c90),{redoCache:_0x3a7583}=_0x4c462d['getUndoRedoMutationParamsCache']();if(_0x3a7583[_0x366ef8(0x10b)]===0x0)return _0xa28e10;let _0x197ff7=_0x2c60fa[_0x366ef8(0x2fd)](_0xa28e10['mutations'][0x0]);for(let _0x15d5c5=0x0;_0x15d5c5<_0x3a7583['length'];_0x15d5c5++){const _0x1214fa={'id':_0x366ef8(0x26d),'params':{..._0x3a7583[_0x15d5c5]}},_0x47c868=this['_transformService'][_0x366ef8(0x1f2)](_0x197ff7,_0x1214fa,!0x1);if(_0x426e81(_0x47c868))throw _0x47c868[_0x366ef8(0x21a)];_0x197ff7=_0x47c868['m1Prime'];}return{..._0x2c60fa[_0x366ef8(0x2fd)](_0xa28e10),'mutations':[_0x197ff7]};}[_0x381542(0x2b5)](_0x5254b7){const _0x295b4f=_0x381542,{unitID:_0x487a4e}=_0x5254b7,_0x3637f5=this['_renderManagerService'][_0x295b4f(0x1c0)](_0x487a4e)['with'](_0x415c90),{undoCache:_0x4371c7,redoCache:_0x30fbd0}=_0x3637f5['getUndoRedoMutationParamsCache']();if(_0x4371c7[_0x295b4f(0x10b)]===0x0||_0x30fbd0[_0x295b4f(0x10b)]===0x0)return;const _0x261986=[],_0x111e1d=[];let _0x43f3cd=_0x2c60fa[_0x295b4f(0x2fd)](_0x5254b7['mutations'][0x0]),_0xb0308b=_0x2c60fa[_0x295b4f(0x2fd)](_0x5254b7[_0x295b4f(0x136)][0x0]);for(let _0x3dc5ea=_0x4371c7['length']-0x1;_0x3dc5ea>=0x0;_0x3dc5ea--){const _0x298f54={'id':_0x295b4f(0x26d),'params':{..._0x4371c7[_0x3dc5ea]}},_0x1822d1={'id':_0x295b4f(0x26d),'params':{..._0x30fbd0[_0x3dc5ea]}},_0x1f8472=this[_0x295b4f(0x23a)][_0x295b4f(0x1f2)](_0x43f3cd,_0x298f54,!0x1),_0x385983=this[_0x295b4f(0x23a)][_0x295b4f(0x1f2)](_0xb0308b,_0x1822d1,!0x1);if(_0x426e81(_0x1f8472))throw _0x1f8472[_0x295b4f(0x21a)];if(_0x426e81(_0x385983))throw _0x385983[_0x295b4f(0x21a)];_0x261986[_0x295b4f(0x128)](_0x1f8472[_0x295b4f(0x282)]['params']),_0x111e1d[_0x295b4f(0x128)](_0x385983['m2Prime'][_0x295b4f(0x2ea)]),_0x43f3cd=_0x1f8472[_0x295b4f(0xf9)],_0xb0308b=_0x385983['m1Prime'];}_0x3637f5['setUndoRedoMutationParamsCache']({'undoCache':_0x261986,'redoCache':_0x111e1d});}[_0x381542(0x26c)](_0x35fcd7){const _0x20197a=_0x381542,{unitID:_0x3958e0}=_0x35fcd7,_0x3a84e7=this[_0x20197a(0x1d3)]['getRenderById'](_0x3958e0)[_0x20197a(0xf1)](_0x415c90),_0x4cd8f1=_0x3a84e7['getActiveRange']();if(_0x4cd8f1==null)return;const _0x4ab387=[{'id':_0x20197a(0x26d),'params':{'unitId':_0x35fcd7[_0x20197a(0x1ab)],'actions':null,'textRanges':[_0x4cd8f1]}}],_0x194d7c=this['_transformService'][_0x20197a(0x146)](_0x35fcd7,_0x4ab387);if(!_0x5707d8(_0x194d7c))throw _0x194d7c[_0x20197a(0x21a)];const _0xcab0c6=_0x194d7c[_0x20197a(0x282)][0x0][_0x20197a(0x2ea)]['textRanges'];Array[_0x20197a(0x223)](_0xcab0c6)&&_0xcab0c6[_0x20197a(0x10b)]&&_0x3a84e7['setActiveRange'](_0xcab0c6[0x0]);}};he=dn([lt(0x0,_0x471770),lt(0x1,_0x4ca29f)],he);var Sn=Object[_0x381542(0x250)],mn=(_0x1cfe9d,_0x54cb16,_0x57a6bf,_0x212a0f)=>{const _0x516829=_0x381542;for(var _0x35304d=_0x212a0f>0x1?void 0x0:_0x212a0f?Sn(_0x54cb16,_0x57a6bf):_0x54cb16,_0xb80919=_0x1cfe9d[_0x516829(0x10b)]-0x1,_0x2254de;_0xb80919>=0x0;_0xb80919--)(_0x2254de=_0x1cfe9d[_0xb80919])&&(_0x35304d=_0x2254de(_0x35304d)||_0x35304d);return _0x35304d;},Le=(_0x1613cd,_0x429b41)=>(_0x1de906,_0xeb91cf)=>_0x429b41(_0x1de906,_0xeb91cf,_0x1613cd);let ue=class{constructor(_0x2af271,_0x559c3a,_0x392b7a){const _0xe76fa5=_0x381542;this[_0xe76fa5(0x2f1)]=_0x2af271,this[_0xe76fa5(0x23a)]=_0x559c3a,this['_docStateChangeManagerService']=_0x392b7a;}[_0x381542(0x19d)](_0x4bf9d4){const _0x264eee=_0x381542;this[_0x264eee(0x1c5)](_0x4bf9d4);}[_0x381542(0x217)](_0x245fe2){const _0x1514df=_0x381542,{unitID:_0x569c98}=_0x245fe2,{collaboration:_0x4e8b0e}=this[_0x1514df(0x141)][_0x1514df(0x22d)](_0x569c98);if(_0x4e8b0e['length']===0x0)return _0x245fe2;let _0xe48a89=_0x2c60fa[_0x1514df(0x2fd)](_0x245fe2['mutations'][0x0]);for(let _0xb8b99d=0x0;_0xb8b99d<_0x4e8b0e[_0x1514df(0x10b)];_0xb8b99d++){const _0x126a78={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e8b0e[_0xb8b99d][_0x1514df(0x2e0)],..._0x4e8b0e[_0xb8b99d][_0x1514df(0x220)]}},_0x385dc5=this[_0x1514df(0x23a)][_0x1514df(0x1f2)](_0xe48a89,_0x126a78,!0x1);if(_0x426e81(_0x385dc5))throw _0x385dc5[_0x1514df(0x21a)];_0xe48a89=_0x385dc5[_0x1514df(0xf9)];}return{..._0x2c60fa[_0x1514df(0x2fd)](_0x245fe2),'mutations':[_0xe48a89]};}[_0x381542(0x1c5)](_0xf3bd6d){const _0x1f5b60=_0x381542,{unitID:_0x53e4b4}=_0xf3bd6d,{history:_0x5c8061,collaboration:_0x181bb0}=this['_docStateChangeManagerService'][_0x1f5b60(0x22d)](_0x53e4b4);if(_0x5c8061['length']===0x0&&_0x181bb0[_0x1f5b60(0x10b)]===0x0)return;const _0x2835ed=[],_0x53ecf0=[];let _0x12a326=_0x2c60fa[_0x1f5b60(0x2fd)](_0xf3bd6d['mutations'][0x0]),_0x14f905=_0x2c60fa[_0x1f5b60(0x2fd)](_0xf3bd6d['mutations'][0x0]);for(let _0x4b97b6=_0x5c8061[_0x1f5b60(0x10b)]-0x1;_0x4b97b6>=0x0;_0x4b97b6--){const _0x1f8739={'id':_0x1f5b60(0x26d),'params':{'unitId':_0x5c8061[_0x4b97b6][_0x1f5b60(0x2e0)],..._0x5c8061[_0x4b97b6][_0x1f5b60(0x219)]}},_0xd1fd6d={'id':_0x1f5b60(0x26d),'params':{'unitId':_0x5c8061[_0x4b97b6]['unitId'],..._0x5c8061[_0x4b97b6]['redoState']}},_0x52133b=this[_0x1f5b60(0x23a)][_0x1f5b60(0x1f2)](_0x12a326,_0x1f8739,!0x1),_0x4f2861=this['_transformService'][_0x1f5b60(0x1f2)](_0x14f905,_0xd1fd6d,!0x1);if(_0x426e81(_0x52133b))throw _0x52133b[_0x1f5b60(0x21a)];if(_0x426e81(_0x4f2861))throw _0x4f2861[_0x1f5b60(0x21a)];_0x2835ed[_0x1f5b60(0x128)]({..._0x5c8061[_0x4b97b6],'undoState':_0x52133b[_0x1f5b60(0x282)]['params'],'redoState':_0x4f2861[_0x1f5b60(0x282)]['params']}),_0x12a326=_0x52133b[_0x1f5b60(0xf9)],_0x14f905=_0x4f2861[_0x1f5b60(0xf9)];}_0x12a326=_0x2c60fa[_0x1f5b60(0x2fd)](_0xf3bd6d[_0x1f5b60(0x136)][0x0]),_0x14f905=_0x2c60fa[_0x1f5b60(0x2fd)](_0xf3bd6d[_0x1f5b60(0x136)][0x0]);for(let _0x2c61ec=_0x181bb0['length']-0x1;_0x2c61ec>=0x0;_0x2c61ec--){const _0x3141b2={'id':_0x1f5b60(0x26d),'params':{'unitId':_0x181bb0[_0x2c61ec][_0x1f5b60(0x2e0)],..._0x181bb0[_0x2c61ec][_0x1f5b60(0x219)]}},_0xa06a93={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x181bb0[_0x2c61ec][_0x1f5b60(0x2e0)],..._0x181bb0[_0x2c61ec][_0x1f5b60(0x220)]}},_0xd5822d=this[_0x1f5b60(0x23a)][_0x1f5b60(0x1f2)](_0x12a326,_0x3141b2,!0x1),_0xb26db4=this[_0x1f5b60(0x23a)]['transformMutation'](_0x14f905,_0xa06a93,!0x1);if(_0x426e81(_0xd5822d))throw _0xd5822d[_0x1f5b60(0x21a)];if(_0x426e81(_0xb26db4))throw _0xb26db4[_0x1f5b60(0x21a)];_0x53ecf0[_0x1f5b60(0x128)]({..._0x181bb0[_0x2c61ec],'undoState':_0xd5822d['m2Prime']['params'],'redoState':_0xb26db4[_0x1f5b60(0x282)]['params']}),_0x12a326=_0xd5822d[_0x1f5b60(0xf9)],_0x14f905=_0xb26db4['m1Prime'];}this[_0x1f5b60(0x141)][_0x1f5b60(0x29a)](_0x53e4b4,{'history':_0x2835ed,'collaboration':_0x53ecf0});}};ue=mn([Le(0x0,_0x2ef654(_0x43877d)),Le(0x1,_0x471770),Le(0x2,_0x2ef654(_0x1d195a))],ue);var In=Object[_0x381542(0x250)],fn=(_0x59adcb,_0x2f50e6,_0x33d64f,_0x46027c)=>{const _0x189f59=_0x381542;for(var _0x2e03be=_0x46027c>0x1?void 0x0:_0x46027c?In(_0x2f50e6,_0x33d64f):_0x2f50e6,_0x2f2c82=_0x59adcb[_0x189f59(0x10b)]-0x1,_0x2befca;_0x2f2c82>=0x0;_0x2f2c82--)(_0x2befca=_0x59adcb[_0x2f2c82])&&(_0x2e03be=_0x2befca(_0x2e03be)||_0x2e03be);return _0x2e03be;},ht=(_0x547aeb,_0x54d3c7)=>(_0x56f82a,_0x3bf139)=>_0x54d3c7(_0x56f82a,_0x3bf139,_0x547aeb);let de=class{constructor(_0x1adf65,_0xbdaeba){const _0x339e14=_0x381542;this[_0x339e14(0x2f1)]=_0x1adf65,this[_0x339e14(0x23a)]=_0xbdaeba;}[_0x381542(0x11c)](_0xb3472c){const _0x4d1f51=_0x381542;var _0x49f24c;const _0x15184c=this[_0x4d1f51(0x2f1)][_0x4d1f51(0x2d4)](_0x58bb40),_0x3c3266=(_0x49f24c=_0x15184c[_0x4d1f51(0x1d9)]())!=null?_0x49f24c:[];if(_0x3c3266['length']===0x0)return;const _0x53d62e=_0xb3472c[_0x4d1f51(0x1ab)],_0x2b16ec=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x53d62e,'actions':null,'textRanges':_0x3c3266}}],_0x30720b=this[_0x4d1f51(0x23a)]['transformMutationsWithChangeset'](_0xb3472c,_0x2b16ec);if(!_0x5707d8(_0x30720b))throw _0x30720b[_0x4d1f51(0x21a)];const _0x5333c2=_0x30720b['m2Prime'][0x0][_0x4d1f51(0x2ea)][_0x4d1f51(0x23e)];Array[_0x4d1f51(0x223)](_0x5333c2)&&_0x5333c2[_0x4d1f51(0x10b)]&&_0x15184c[_0x4d1f51(0x1e4)](_0x5333c2,{'unitId':_0x53d62e,'subUnitId':_0x53d62e},!0x1);}};de=fn([ht(0x0,_0x2ef654(_0x43877d)),ht(0x1,_0x471770)],de);var gn=Object[_0x381542(0x250)],vn=(_0x299b27,_0xf43bed,_0x5eb7e7,_0x4d3493)=>{for(var _0x1cec99=_0x4d3493>0x1?void 0x0:_0x4d3493?gn(_0xf43bed,_0x5eb7e7):_0xf43bed,_0x2ac4e1=_0x299b27['length']-0x1,_0x3afd9d;_0x2ac4e1>=0x0;_0x2ac4e1--)(_0x3afd9d=_0x299b27[_0x2ac4e1])&&(_0x1cec99=_0x3afd9d(_0x1cec99)||_0x1cec99);return _0x1cec99;},U=(_0x1c8e21,_0x38f01c)=>(_0x3770ba,_0x5dd7bd)=>_0x38f01c(_0x3770ba,_0x5dd7bd,_0x1c8e21);let Se=class extends _0x282063{constructor(_0x18ea05,_0x275904,_0x245101,_0x379292,_0x516c23,_0x4500ce,_0x4c29cb,_0x3df703){const _0x146580=_0x381542;super(),_(this,_0x146580(0x1ea),new _0x2c6ac6(_0x4fcf8b[_0x146580(0x187)])),(this['_docStateChangeManagerService']=_0x18ea05,this[_0x146580(0x142)]=_0x275904,this['_docTransformIMECacheService']=_0x245101,this[_0x146580(0x2c4)]=_0x379292,this[_0x146580(0x2fa)]=_0x516c23,this['_docSyncEditingCollabCursorService']=_0x4500ce,this[_0x146580(0x1b4)]=_0x4c29cb,this[_0x146580(0x319)]=_0x3df703,this[_0x146580(0xe6)]());}[_0x381542(0xe6)](){const _0x3326d0=_0x381542;this['disposeWithMe'](this[_0x3326d0(0x142)][_0x3326d0(0x27c)][_0x3326d0(0x14a)](_0xd492a1=>{const _0x1f9c08=_0x3326d0,_0x239817=this[_0x1f9c08(0x141)]['docStateChange$']['subscribe'](_0x5f20f0=>{const _0x1ff675=_0x1f9c08;if(_0x5f20f0==null)return;const {unitId:_0x4ab194,redoState:_0x4c192d,commandId:_0x10075b}=_0x5f20f0;if(_0x4ab194!==_0xd492a1['unitID'])return;const _0x1dd83a={'id':_0x10075b,'type':_0x233bb2['MUTATION'],'params':{'unitId':_0x4ab194,'actions':_0x4c192d[_0x1ff675(0x173)],'textRanges':null}};_0xd492a1[_0x1ff675(0x236)](_0x1dd83a);});if(_0xd492a1[_0x1f9c08(0x306)](_0x239817),_0xd492a1 instanceof _0x4dec7e){const _0x1c62d5={'onTransformIME':_0x4977a0=>this[_0x1f9c08(0x292)][_0x1f9c08(0x2dc)](_0x4977a0),'onTransformState':_0x101b71=>this[_0x1f9c08(0x2c4)][_0x1f9c08(0x19d)](_0x101b71),'onTransformSelections':_0x152b7c=>this[_0x1f9c08(0x2fa)][_0x1f9c08(0x11c)](_0x152b7c),'onSyncEditingCollabCursor':_0x5c2c5b=>this[_0x1f9c08(0x119)]['syncEditingCollabCursor'](_0x5c2c5b),'onTransformRemoteChangesetByIMECache':_0x259b88=>this[_0x1f9c08(0x292)][_0x1f9c08(0x217)](_0x259b88),'onTransformRemoteChangesetByStateCache':_0x1041e3=>this[_0x1f9c08(0x2c4)][_0x1f9c08(0x217)](_0x1041e3)};_0xd492a1['addHandlerCallback'](_0x1c62d5);}}));}};Se=vn([U(0x0,_0x2ef654(_0x1d195a)),U(0x1,_0x2ef654(_0x3e297d)),U(0x2,_0x2ef654(he)),U(0x3,_0x2ef654(ue)),U(0x4,_0x2ef654(de)),U(0x5,_0x2ef654(ze)),U(0x6,_0x37c01f),U(0x7,_0x2ef654(_0x726278))],Se);var Z=(_0x401050=>(_0x401050[_0x401050[_0x381542(0x2c5)]=0x0]='UNDEFINED',_0x401050[_0x401050['OK']=0x1]='OK',_0x401050[_0x401050[_0x381542(0x257)]=0x2]=_0x381542(0x257),_0x401050[_0x401050[_0x381542(0x1be)]=0x3]=_0x381542(0x1be),_0x401050[_0x401050[_0x381542(0x320)]=0x4]=_0x381542(0x320),_0x401050[_0x401050['UNAUTHENTICATED']=0x5]=_0x381542(0x2f7),_0x401050[_0x401050[_0x381542(0x178)]=0x6]=_0x381542(0x178),_0x401050[_0x401050[_0x381542(0x1a8)]=0x7]=_0x381542(0x1a8),_0x401050[_0x401050[_0x381542(0x180)]=0x8]='TOO_MANY_REQUESTS',_0x401050[_0x401050[_0x381542(0x17b)]=0x9]=_0x381542(0x17b),_0x401050[_0x401050[_0x381542(0x329)]=0xa]=_0x381542(0x329),_0x401050[_0x401050[_0x381542(0x2b9)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x401050[_0x401050[_0x381542(0x1ee)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x401050[_0x401050[_0x381542(0x30d)]=0xd]=_0x381542(0x30d),_0x401050[_0x401050[_0x381542(0x2f2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x401050[_0x401050[_0x381542(0x124)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x401050[_0x401050[_0x381542(0xf5)]=0x10]=_0x381542(0xf5),_0x401050[_0x401050[_0x381542(0x106)]=0x64]=_0x381542(0x106),_0x401050[_0x401050['ERROR_AGAIN']=0x65]=_0x381542(0x1cf),_0x401050[_0x401050['USER_NOT_FOUND']=0xc9]=_0x381542(0x12d),_0x401050[_0x401050[_0x381542(0x270)]=0xca]=_0x381542(0x270),_0x401050[_0x401050['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x381542(0x2d5),_0x401050[_0x401050['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x381542(0x138),_0x401050[_0x401050[_0x381542(0x12b)]=0x1772]=_0x381542(0x12b),_0x401050[_0x401050[_0x381542(0xfa)]=0x1773]=_0x381542(0xfa),_0x401050[_0x401050[_0x381542(0x2ce)]=0x1b59]=_0x381542(0x2ce),_0x401050[_0x401050[_0x381542(0x185)]=0x1b5a]=_0x381542(0x185),_0x401050[_0x401050[_0x381542(0x2a0)]=0x1b5b]=_0x381542(0x2a0),_0x401050[_0x401050[_0x381542(0x2ef)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x401050[_0x401050[_0x381542(0x1a2)]=0x1b5d]=_0x381542(0x1a2),_0x401050[_0x401050[_0x381542(0x254)]=0x1f41]=_0x381542(0x254),_0x401050[_0x401050['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x381542(0x2c2),_0x401050[_0x401050['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x381542(0x13a),_0x401050[_0x401050[_0x381542(0x2ed)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x401050[_0x401050[_0x381542(0x1f8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x401050[_0x401050[_0x381542(0x120)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x401050[_0x401050[_0x381542(0x14d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x401050[_0x401050[_0x381542(0x168)]=0x2712]=_0x381542(0x168),_0x401050[_0x401050[_0x381542(0x2a4)]=0x2713]=_0x381542(0x2a4),_0x401050[_0x401050[_0x381542(0x1a0)]=0x2714]=_0x381542(0x1a0),_0x401050[_0x401050[_0x381542(0x105)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x401050[_0x401050['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x381542(0x153),_0x401050[_0x401050[_0x381542(0x17f)]=0x271c]=_0x381542(0x17f),_0x401050[_0x401050['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x401050[_0x401050[_0x381542(0xf2)]=0x271e]=_0x381542(0xf2),_0x401050[_0x401050[_0x381542(0x12f)]=0x271f]=_0x381542(0x12f),_0x401050[_0x401050[_0x381542(0x27a)]=0x2720]=_0x381542(0x27a),_0x401050[_0x401050[_0x381542(0x303)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x401050[_0x401050[_0x381542(0x2b4)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x401050[_0x401050[_0x381542(0x14c)]=0x2ee2]=_0x381542(0x14c),_0x401050[_0x401050[_0x381542(0x109)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x401050[_0x401050['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x401050[_0x401050[_0x381542(0x2eb)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x401050[_0x401050[_0x381542(0x317)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x401050[_0x401050[_0x381542(0x104)]=0x32ca]=_0x381542(0x104),_0x401050[_0x401050[_0x381542(0x242)]=0x32cb]=_0x381542(0x242),_0x401050[_0x401050[_0x381542(0x149)]=0x36b1]=_0x381542(0x149),_0x401050[_0x401050[_0x381542(0x167)]=0x36b2]=_0x381542(0x167),_0x401050[_0x401050[_0x381542(0x16d)]=0x36b3]=_0x381542(0x16d),_0x401050[_0x401050[_0x381542(0x196)]=0x36b4]=_0x381542(0x196),_0x401050[_0x401050['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x401050[_0x401050['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x381542(0x18a),_0x401050[_0x401050[_0x381542(0x278)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x401050[_0x401050[_0x381542(0x2f8)]=0x37dd]=_0x381542(0x2f8),_0x401050[_0x401050[_0x381542(0x243)]=0x3a99]=_0x381542(0x243),_0x401050[_0x401050[_0x381542(0x1ed)]=0x3a9a]=_0x381542(0x1ed),_0x401050[_0x401050['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x401050[_0x401050[_0x381542(0x195)]=0x3a9c]=_0x381542(0x195),_0x401050[_0x401050[_0x381542(0x133)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x401050[_0x401050['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x381542(0x266),_0x401050[_0x401050['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x401050[_0x401050[_0x381542(0x165)]=0x3e81]=_0x381542(0x165),_0x401050[_0x401050[_0x381542(0x2d9)]=-0x1]=_0x381542(0x2d9),_0x401050))(Z||{});function En(_0x478bb2){const _0x56d754=_0x381542;var _0x48b303,_0x59f27d;const _0x212130=(_0x48b303=_0x478bb2[_0x56d754(0x28e)])==null?void 0x0:_0x48b303['stage'],_0x506894=((_0x59f27d=_0x478bb2[_0x56d754(0x28e)])==null?void 0x0:_0x59f27d[_0x56d754(0x23d)])||0x0;return _0x212130===_0x2d7c4b[_0x56d754(0x2cf)]&&_0x506894>0x0;}function pn(_0x29e882){const _0x30ca72=_0x381542;return _0x29e882[_0x30ca72(0x21f)]===_0x2a85d3['SUCCESS'];}var On=Object[_0x381542(0x250)],Tn=(_0x2c36ca,_0x1ddda8,_0x56a98c,_0x18057b)=>{const _0x555b08=_0x381542;for(var _0x286c61=_0x18057b>0x1?void 0x0:_0x18057b?On(_0x1ddda8,_0x56a98c):_0x1ddda8,_0x30c2f6=_0x2c36ca[_0x555b08(0x10b)]-0x1,_0xe7c8e;_0x30c2f6>=0x0;_0x30c2f6--)(_0xe7c8e=_0x2c36ca[_0x30c2f6])&&(_0x286c61=_0xe7c8e(_0x286c61)||_0x286c61);return _0x286c61;},P=(_0x476e35,_0x330b74)=>(_0x435efc,_0x543597)=>_0x330b74(_0x435efc,_0x543597,_0x476e35);const Cn=_0x381542(0x2a9),Rn=_0x381542(0x233),Dn=_0x381542(0x2ac);let me=class extends _0x282063{constructor(_0x28c6f7,_0x505a07,_0x2d4f67,_0xcc1b3f,_0x408cc4,_0x5e7c6b,_0x43943b){const _0x3eecac=_0x381542;super(),_(this,'_pollingInterval',null),_(this,'_maxFormulaLimit',0x0),_(this,'_currentUsage',0x0),_(this,_0x3eecac(0xef),[]),_(this,_0x3eecac(0x12a),0x0),(this[_0x3eecac(0x1b4)]=_0x28c6f7,this[_0x3eecac(0x24f)]=_0x505a07,this[_0x3eecac(0x1a9)]=_0x2d4f67,this[_0x3eecac(0x1c4)]=_0xcc1b3f,this[_0x3eecac(0x301)]=_0x408cc4,this['_logService']=_0x5e7c6b,this[_0x3eecac(0x319)]=_0x43943b,this[_0x3eecac(0x118)]());}['_initCommandInterceptor'](){const _0x493e7b=_0x381542;this['disposeWithMe'](this[_0x493e7b(0x24f)][_0x493e7b(0x255)]((_0x31df6a,_0x52547f)=>{const _0x5f305d=_0x493e7b;var _0x152897;if(_0x31df6a['id']!==_0x27d4aa['id'])return;const _0x4e1c67=_0x31df6a[_0x5f305d(0x2ea)];if(!this['_hasFormulaInDirtyRanges']((_0x152897=_0x4e1c67[_0x5f305d(0x280)])!=null?_0x152897:[]))return;if(!this[_0x5f305d(0x2f4)]())throw this[_0x5f305d(0x190)](_0x31df6a,_0x52547f),this[_0x5f305d(0x159)](),new _0x1f0320();})),this[_0x493e7b(0x306)](this[_0x493e7b(0x24f)][_0x493e7b(0x23f)]((_0x5b9f10,_0x26b1ef)=>{const _0x2f2b9a=_0x493e7b;if(_0x5b9f10['id']!==_0x2f800c['id'])return;const _0x31041d=_0x5b9f10[_0x2f2b9a(0x2ea)];if(En(_0x31041d)){const _0x105282=_0x5d1d29();this[_0x2f2b9a(0xef)]['push'](_0x105282),this[_0x2f2b9a(0x293)](_0x105282);}else{if(pn(_0x31041d)&&this[_0x2f2b9a(0xef)][_0x2f2b9a(0x10b)]>0x0){const _0x381366=this[_0x2f2b9a(0xef)][_0x2f2b9a(0x299)]();this[_0x2f2b9a(0x28b)](_0x381366);}}}));}[_0x381542(0x122)](){const _0x3e0aff=_0x381542;super[_0x3e0aff(0x122)](),this[_0x3e0aff(0x230)](),this[_0x3e0aff(0xef)]=[],this[_0x3e0aff(0x2c9)]=0x0,this[_0x3e0aff(0x114)]=0x0,this[_0x3e0aff(0x12a)]=0x0;}async[_0x381542(0x190)](_0x53a171,_0x220a27){const _0x107a2a=_0x381542;for(let _0x224d5e=0x0;_0x224d5e<0x1e;_0x224d5e++)try{if(await this[_0x107a2a(0x192)](),this[_0x107a2a(0x2f4)]()){this[_0x107a2a(0x2f0)](_0x53a171,_0x220a27),this[_0x107a2a(0x1b4)][_0x107a2a(0x249)]({'content':this[_0x107a2a(0x319)]['t']('formula.calculation.started'),'type':_0x3f469b[_0x107a2a(0x263)]});return;}await new Promise(_0x93386c=>{this['_pollingInterval']=window['setTimeout'](_0x93386c,0x3e8);});}catch(_0x2d969e){this['_logService'][_0x107a2a(0x21a)](_0x2d969e);}this[_0x107a2a(0x1b4)][_0x107a2a(0x249)]({'content':this[_0x107a2a(0x319)]['t'](_0x107a2a(0x194)),'type':_0x3f469b[_0x107a2a(0x2e8)]});}[_0x381542(0x2f0)](_0x39297c,_0x1249ff){const _0x1a1a23=_0x381542;try{this[_0x1a1a23(0x24f)][_0x1a1a23(0x2e6)](_0x39297c['id'],_0x39297c[_0x1a1a23(0x2ea)],_0x1249ff);}catch(_0x5d1c6f){this['_logService'][_0x1a1a23(0x21a)](_0x5d1c6f);}}[_0x381542(0x2d0)](_0x177159,_0x46c1e1){const _0x4904f2=_0x381542;_0x46c1e1<this['_lastResponseTimestamp']||(this[_0x4904f2(0x12a)]=_0x46c1e1,this[_0x4904f2(0x114)]=Number[_0x4904f2(0x275)](_0x177159[_0x4904f2(0x137)]),this[_0x4904f2(0x2c9)]=Number[_0x4904f2(0x275)](_0x177159[_0x4904f2(0x328)]));}async[_0x381542(0x293)](_0x5baea7){const _0x2d061e=_0x381542;var _0x364516,_0x360ec4;const _0x52987a=Date[_0x2d061e(0x123)]();try{const _0x70e8e1=((_0x364516=this[_0x2d061e(0x1a9)][_0x2d061e(0x311)](_0x361fc5))==null?void 0x0:_0x364516[_0x2d061e(0x227)])||Rn,_0x5c2d77=(await this[_0x2d061e(0x1c4)][_0x2d061e(0x286)](_0x70e8e1,{'body':JSON[_0x2d061e(0x1db)]({'taskId':_0x5baea7})}))['body'];if(((_0x360ec4=_0x5c2d77[_0x2d061e(0x21a)])==null?void 0x0:_0x360ec4['code'])!==Z['OK'])return;this[_0x2d061e(0x2d0)](_0x5c2d77[_0x2d061e(0x2a2)],_0x52987a);}catch(_0x381d84){this[_0x2d061e(0x2a7)][_0x2d061e(0x21a)](_0x381d84);}}async[_0x381542(0x192)](_0xc873dd){const _0xb14828=_0x381542;var _0x324824,_0x583295;const _0x1d2860=Date['now']();try{const _0x563dba=((_0x324824=this[_0xb14828(0x1a9)][_0xb14828(0x311)](_0x361fc5))==null?void 0x0:_0x324824[_0xb14828(0x154)])||Cn,_0x27b9de=_0xc873dd?_0x563dba+_0xb14828(0x2db)+encodeURIComponent(_0xc873dd):_0x563dba,_0x2d4e27=(await this['_httpService'][_0xb14828(0x2d4)](_0x27b9de))[_0xb14828(0x10c)];if(((_0x583295=_0x2d4e27['error'])==null?void 0x0:_0x583295[_0xb14828(0x294)])!==Z['OK'])return;this[_0xb14828(0x2d0)](_0x2d4e27['limitInfo'],_0x1d2860);}catch(_0x23f63f){this[_0xb14828(0x2a7)][_0xb14828(0x21a)](_0x23f63f);}}async[_0x381542(0x28b)](_0x2256fc){const _0xbcdd5c=_0x381542;var _0x5e0a1e,_0x26bde0;const _0x27e460=Date[_0xbcdd5c(0x123)]();try{const _0xff430e=((_0x5e0a1e=this[_0xbcdd5c(0x1a9)][_0xbcdd5c(0x311)](_0x361fc5))==null?void 0x0:_0x5e0a1e[_0xbcdd5c(0x271)])||Dn,_0x5d7bc8=(await this[_0xbcdd5c(0x1c4)][_0xbcdd5c(0x286)](_0xff430e,{'body':JSON[_0xbcdd5c(0x1db)]({'taskId':_0x2256fc})}))[_0xbcdd5c(0x10c)];if(((_0x26bde0=_0x5d7bc8[_0xbcdd5c(0x21a)])==null?void 0x0:_0x26bde0[_0xbcdd5c(0x294)])!==Z['OK'])return;this[_0xbcdd5c(0x2d0)](_0x5d7bc8[_0xbcdd5c(0x2a2)],_0x27e460);}catch(_0x304f97){this[_0xbcdd5c(0x2a7)][_0xbcdd5c(0x21a)](_0x304f97);}}[_0x381542(0x2f4)](){const _0x48e857=_0x381542;return this[_0x48e857(0x114)]===0x0?!0x0:this[_0x48e857(0x114)]-this[_0x48e857(0x2c9)]>0x0;}[_0x381542(0x230)](){const _0x44c681=_0x381542;this['_pollingInterval']&&(clearTimeout(this[_0x44c681(0x29d)]),this[_0x44c681(0x29d)]=null);}[_0x381542(0x159)](){const _0x477aa0=_0x381542;this['_messageService'][_0x477aa0(0x249)]({'content':this[_0x477aa0(0x319)]['t']('formula.calculation.waiting'),'type':_0x3f469b[_0x477aa0(0x300)]});}['_hasFormulaInDirtyRanges'](_0x145fca){const _0x31585d=_0x381542;for(const _0x1b99e5 of _0x145fca){const {unitId:_0x50a794,sheetId:_0x18c822,range:_0x4fcae4}=_0x1b99e5,_0xada3a3=this[_0x31585d(0x301)][_0x31585d(0x1bf)](_0x50a794);if(!_0xada3a3)continue;const _0x178b43=_0xada3a3['getSheetBySheetId'](_0x18c822);if(!_0x178b43)continue;const _0x50dce9=_0x178b43[_0x31585d(0x258)]();for(let _0x5d7240=_0x4fcae4[_0x31585d(0x198)];_0x5d7240<=_0x4fcae4[_0x31585d(0x1ac)];_0x5d7240++)for(let _0x4a2c64=_0x4fcae4['startColumn'];_0x4a2c64<=_0x4fcae4[_0x31585d(0x218)];_0x4a2c64++){const _0x3b346e=_0x50dce9['getValue'](_0x5d7240,_0x4a2c64);if(_0x3b346e&&(_0x21774c(_0x3b346e['f'])||_0x632ccc(_0x3b346e['si'])))return!0x0;}}return!0x1;}};me=Tn([P(0x0,_0x2ef654(_0x37c01f)),P(0x1,_0x478bd4),P(0x2,_0x1fcde3),P(0x3,_0x2ef654(_0x57a0f4)),P(0x4,_0x143643),P(0x5,_0x4c5a8a),P(0x6,_0x2ef654(_0x726278))],me);var bn=Object[_0x381542(0x250)],Nn=(_0x633a96,_0x439fcf,_0x4f8af5,_0x24a305)=>{for(var _0x339237=_0x24a305>0x1?void 0x0:_0x24a305?bn(_0x439fcf,_0x4f8af5):_0x439fcf,_0x2a67a0=_0x633a96['length']-0x1,_0xa31f73;_0x2a67a0>=0x0;_0x2a67a0--)(_0xa31f73=_0x633a96[_0x2a67a0])&&(_0x339237=_0xa31f73(_0x339237)||_0x339237);return _0x339237;},Ue=(_0x1b0d74,_0x433dca)=>(_0x489748,_0x52411a)=>_0x433dca(_0x489748,_0x52411a,_0x1b0d74);let He=class extends _0x282063{constructor(_0x32af15,_0x523763,_0x2df3dd){const _0x2e3f18=_0x381542;super(),_(this,'_cachedData',new Map()),_(this,_0x2e3f18(0x2ad),new Map()),_(this,_0x2e3f18(0x14e),!0x1),(this[_0x2e3f18(0x1a9)]=_0x32af15,this[_0x2e3f18(0x1d8)]=_0x523763,this[_0x2e3f18(0x1ba)]=_0x2df3dd);}['disableLocalCache'](){const _0x440a31=_0x381542;this[_0x440a31(0x14e)]=!0x0;}[_0x381542(0xfb)](){this['_disabled']=!0x1;}get[_0x381542(0x31e)](){const _0x56a412=_0x381542;return this[_0x56a412(0x2ad)];}['dispose'](){const _0x51c05b=_0x381542;this[_0x51c05b(0x248)]()[_0x51c05b(0x11b)](()=>super['dispose']());}async[_0x381542(0x14f)](_0x748843){const _0xe1bf7d=_0x381542;return this[_0xe1bf7d(0x14e)]?null:this[_0xe1bf7d(0x1d8)][_0xe1bf7d(0x176)](_0x4dd65c(_0x748843));}async['saveOfflineData'](_0x3ff58f,_0x15d749){const _0x27db53=_0x381542;return!!this[_0x27db53(0x1d8)]['setItem'](_0x3ff58f,_0x15d749);}[_0x381542(0x1dd)](_0x1c3b56,_0x60e5c3,_0x2fedc9,_0x116546){const _0x4b1165=_0x381542,_0x65a89e=this['_revisionService'][_0x4b1165(0x241)](_0x1c3b56);this[_0x4b1165(0xfe)][_0x4b1165(0x10e)](_0x1c3b56,{'unitID':_0x1c3b56,'type':_0x60e5c3,'awaitingChangeset':_0x2fedc9,'mutations':_0x116546,'rev':_0x65a89e}),this[_0x4b1165(0x2ad)][_0x4b1165(0x2d6)](_0x1c3b56)||this[_0x4b1165(0x291)](_0x1c3b56);}['_scheduleSaving'](_0x1b09d4){const _0x522c32=_0x381542,_0x2d6ead=this[_0x522c32(0x17d)]();_0x2d6ead===0x0?this[_0x522c32(0x1e2)](_0x1b09d4):this[_0x522c32(0x2ad)]['set'](_0x1b09d4,setTimeout(()=>this[_0x522c32(0x1e2)](_0x1b09d4),_0x2d6ead));}[_0x381542(0x17d)](){const _0x2d7785=_0x381542;var _0x1a58e;return(_0x1a58e=this[_0x2d7785(0x1a9)][_0x2d7785(0x311)](_0x3713b6))!=null?_0x1a58e:_0xaf724e;}[_0x381542(0x1e2)](_0x2e2d52){const _0x197266=_0x381542,_0x3f6370=this['_saveTaskMap'][_0x197266(0x2d4)](_0x2e2d52);return _0x3f6370!==void 0x0&&window[_0x197266(0x16b)](_0x3f6370),this[_0x197266(0x1d8)][_0x197266(0x1c1)](_0x4dd65c(_0x2e2d52),this['_cachedData']['get'](_0x2e2d52))[_0x197266(0x11b)](()=>this['_saveTaskMap'][_0x197266(0x2f9)](_0x2e2d52));}async[_0x381542(0x248)](){const _0x29a617=_0x381542,_0x14e978=[];this[_0x29a617(0x2ad)]['forEach']((_0x2715e3,_0x2621b1)=>{const _0x318d8e=_0x29a617;window['clearTimeout'](_0x2715e3),_0x14e978[_0x318d8e(0x2e5)](this[_0x318d8e(0x1e2)](_0x2621b1)[_0x318d8e(0x11b)](()=>{this['_saveTaskMap']['delete'](_0x2621b1);}));}),await Promise[_0x29a617(0x132)](_0x14e978);}};He=Nn([Ue(0x0,_0x1fcde3),Ue(0x1,_0x4ea42f),Ue(0x2,_0x2ef654(_0x182c7e))],He);class Ln extends _0x37d03e{constructor(){const _0x107620=_0x381542;super(),_(this,_0x107620(0x2e7)),this[_0x107620(0x2e7)]=_0x21cf88(window,_0x107620(0x215))[_0x107620(0x274)](_0xb33a09(this[_0x107620(0x2be)]),_0x454f2f(0x1),_0x445832(void 0x0));}[_0x381542(0x2bc)](_0x3dbc63,_0x411aef,_0x199451=!0x1){const _0x2b1e82=_0x381542,_0x349bf2=new URL(window['location'][_0x2b1e82(0x145)]);_0x349bf2['searchParams'][_0x2b1e82(0x10e)](_0x3dbc63,_0x411aef),_0x199451?window['history'][_0x2b1e82(0x253)]('','',_0x349bf2['toString']()):window[_0x2b1e82(0x174)]['pushState']('','',_0x349bf2[_0x2b1e82(0x268)]());}['removeParam'](_0x30b503,_0x45c9fa=!0x1){const _0x3cd368=_0x381542,_0x50df67=new URL(window[_0x3cd368(0x20d)][_0x3cd368(0x145)]);_0x50df67[_0x3cd368(0x2a1)][_0x3cd368(0x2f9)](_0x30b503),_0x45c9fa?window[_0x3cd368(0x174)][_0x3cd368(0x253)]('','',_0x50df67[_0x3cd368(0x268)]()):window[_0x3cd368(0x174)][_0x3cd368(0x245)]('','',_0x50df67[_0x3cd368(0x268)]());}[_0x381542(0x318)](_0x54c59a){const _0x2ed2e9=_0x381542;var _0x57c52f;return(_0x57c52f=new URL(window['location'][_0x2ed2e9(0x145)])['searchParams'][_0x2ed2e9(0x2d4)](_0x54c59a))!=null?_0x57c52f:void 0x0;}}var Un=Object[_0x381542(0x1c8)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x34c029,_0x3337ec,_0x17f3bc)=>_0x3337ec in _0x34c029?Un(_0x34c029,_0x3337ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17f3bc}):_0x34c029[_0x3337ec]=_0x17f3bc,Pn=(_0x2af5f6,_0x2fc9e0,_0x5308ab,_0x1d5f4e)=>{const _0x378c14=_0x381542;for(var _0x3a6459=_0x1d5f4e>0x1?void 0x0:_0x1d5f4e?Mn(_0x2fc9e0,_0x5308ab):_0x2fc9e0,_0x307d84=_0x2af5f6[_0x378c14(0x10b)]-0x1,_0x9ef509;_0x307d84>=0x0;_0x307d84--)(_0x9ef509=_0x2af5f6[_0x307d84])&&(_0x3a6459=_0x9ef509(_0x3a6459)||_0x3a6459);return _0x3a6459;},Me=(_0x10130a,_0x540f8f)=>(_0x32888c,_0x302072)=>_0x540f8f(_0x32888c,_0x302072,_0x10130a),wn=(_0x44d157,_0x51bbae,_0x4feed6)=>An(_0x44d157,_0x51bbae+'',_0x4feed6);const yn=_0x381542(0x1ad);let Ye=class extends _0x5e41ff{constructor(_0x1076c2=_t,_0x582045,_0x278c29,_0x4e7724){const _0x5e6ffe=_0x381542;super(),this[_0x5e6ffe(0x1dc)]=_0x1076c2,this[_0x5e6ffe(0x1d3)]=_0x582045,this[_0x5e6ffe(0x2f1)]=_0x278c29,this[_0x5e6ffe(0x1a9)]=_0x4e7724;const {..._0x21ac09}=_0x6f5636({},_t,this[_0x5e6ffe(0x1dc)]);this[_0x5e6ffe(0x1a9)]['setConfig'](hn,_0x21ac09);}['onStarting'](){const _0x468479=_0x381542;this[_0x468479(0x206)](),this[_0x468479(0x24d)]();}[_0x381542(0x315)](){const _0x2f69ed=_0x381542;this[_0x2f69ed(0x2d8)]();}[_0x381542(0x206)](){const _0x3b8abc=_0x381542;var _0x780a26;const _0x3a1691=[[Ke],[me],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x46dece,{'useClass':_0x45c25e}],[_0x2f7e0d,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x3b8abc(0x1dc)][_0x3b8abc(0x1b7)]&&_0x3a1691[_0x3b8abc(0x2e5)]([le]),_0x3d200a(this['_injector'],_0x27927b(_0x3a1691,(_0x780a26=this[_0x3b8abc(0x1dc)])==null?void 0x0:_0x780a26[_0x3b8abc(0x2ec)]));}[_0x381542(0x2d8)](){const _0xbd53fb=_0x381542;this[_0xbd53fb(0x306)](this[_0xbd53fb(0x1d3)]['registerRenderModule'](_0x11507d[_0xbd53fb(0x2c0)],[Fe])),this['disposeWithMe'](this[_0xbd53fb(0x1d3)][_0xbd53fb(0x1da)](_0x11507d[_0xbd53fb(0x25c)],[ke]));}['_initDependencies'](){const _0x149365=_0x381542;_0x563dfc(this[_0x149365(0x2f1)],[[H],[ae],[Se],[_e],[ce],[me]]),this['_config'][_0x149365(0x1b7)]&&_0x563dfc(this[_0x149365(0x2f1)],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x31b9fd(_0x17d717),Me(0x1,_0x4ca29f),Me(0x2,_0x2ef654(_0x43877d)),Me(0x3,_0x1fcde3)],Ye);var $n=Object[_0x381542(0x250)],xn=(_0x18e098,_0x2cfb8f,_0xfe21e1,_0x19e708)=>{for(var _0x4dd360=_0x19e708>0x1?void 0x0:_0x19e708?$n(_0x2cfb8f,_0xfe21e1):_0x2cfb8f,_0x1e4fbf=_0x18e098['length']-0x1,_0x4bf081;_0x1e4fbf>=0x0;_0x1e4fbf--)(_0x4bf081=_0x18e098[_0x1e4fbf])&&(_0x4dd360=_0x4bf081(_0x4dd360)||_0x4dd360);return _0x4dd360;},J=(_0x776da8,_0x872b67)=>(_0x27ec57,_0x151070)=>_0x872b67(_0x27ec57,_0x151070,_0x776da8);let ut=class extends _0x286cc4{constructor(_0x142a8a,_0xf8f382,_0x3d5a9c,_0x45afcd,_0x379b6e){super(_0x142a8a,_0xf8f382,_0x3d5a9c,_0x45afcd,_0x379b6e);}async[_0x381542(0x262)](_0x378957){const _0x4974c6=_0x381542,_0x1509f1=await this['_getSessionTicket'](),_0xef65a8=this[_0x4974c6(0x32a)](_0x378957,_0x1509f1);return this['_doCreateSocket'](_0xef65a8);}[_0x381542(0x32a)](_0x30760c,_0x3163c5){const _0x5469b3=_0x381542,_0x12efae=typeof window>'u'?new URL(_0x30760c):new URL(_0x30760c,window['location'][_0x5469b3(0x321)]);_0x12efae['searchParams'][_0x5469b3(0x10e)](_0x5469b3(0x186),_0x3163c5);const _0x3b1a68=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5469b3(0x20d)][_0x5469b3(0x32c)]);return _0x3b1a68[_0x5469b3(0x2d4)](_0x5469b3(0x2c7))&&_0x12efae[_0x5469b3(0x2a1)][_0x5469b3(0x10e)]('runId',_0x3b1a68[_0x5469b3(0x2d4)](_0x5469b3(0x2c7))),_0x12efae[_0x5469b3(0x268)]();}async[_0x381542(0x1bd)](){const _0x51914a=_0x381542;var _0xf5aa2c,_0x260ee3,_0x1c92b6;const _0x25d36a=this[_0x51914a(0x1a9)][_0x51914a(0x311)](_0x361fc5),_0x4e5eba=(_0xf5aa2c=_0x25d36a==null?void 0x0:_0x25d36a[_0x51914a(0x166)])!=null?_0xf5aa2c:_0x59d416;return(_0x1c92b6=(_0x260ee3=(await this[_0x51914a(0x1c4)][_0x51914a(0x2d4)](_0x4e5eba,{'headers':{'Content-Type':_0x51914a(0xee)}}))[_0x51914a(0x10c)])==null?void 0x0:_0x260ee3['ticket'])!=null?_0x1c92b6:'';}};ut=xn([J(0x0,_0x2ef654(_0x43877d)),J(0x1,_0x2ef654(_0x57a0f4)),J(0x2,_0x1fcde3),J(0x3,_0x4c5a8a),J(0x4,_0x5f2a22)],ut);var Bn=Object[_0x381542(0x250)],Fn=(_0x264785,_0x21501e,_0x736055,_0xbfcf29)=>{const _0x36fc6d=_0x381542;for(var _0x1d4102=_0xbfcf29>0x1?void 0x0:_0xbfcf29?Bn(_0x21501e,_0x736055):_0x21501e,_0x12401a=_0x264785[_0x36fc6d(0x10b)]-0x1,_0x1ef9ea;_0x12401a>=0x0;_0x12401a--)(_0x1ef9ea=_0x264785[_0x12401a])&&(_0x1d4102=_0x1ef9ea(_0x1d4102)||_0x1d4102);return _0x1d4102;},Ae=(_0xb6f4d1,_0x522870)=>(_0x28175e,_0x594b05)=>_0x522870(_0x28175e,_0x594b05,_0xb6f4d1);let dt=class extends _0x282063{constructor(_0x1d1cfe,_0x236d96,_0x55584f){const _0x251ded=_0x381542;super(),this[_0x251ded(0x314)]=_0x1d1cfe,this[_0x251ded(0x1c4)]=_0x236d96,this[_0x251ded(0x1a9)]=_0x55584f;}async[_0x381542(0x1bb)](_0x1aa0c3,_0x3fe261,_0x2ef6bd,..._0x46916c){const _0x260752=_0x381542;var _0x253217,_0x41dd2b,_0x56ccb6,_0x504ad5;const _0x2e3ec0=this[_0x260752(0x314)][_0x260752(0x170)]();if(!_0x2e3ec0)throw new Error(_0x260752(0x18d));const _0x3e6b2f=((_0x253217=this[_0x260752(0x1a9)]['getConfig'](_0x4c5efc))!=null?_0x253217:_0x122c4b)+'/'+_0x1aa0c3+'/run/'+_0x3fe261,_0x1d8b74=new URL(window[_0x260752(0x20d)][_0x260752(0x145)]),_0x27f6c4={'scriptId':_0x1aa0c3,'runId':(_0x41dd2b=_0x1d8b74['searchParams'][_0x260752(0x2d4)](_0x260752(0x2c7)))!=null?_0x41dd2b:'','function':_0x3fe261,'unitId':_0x2e3ec0[_0x260752(0x28a)](),'argsOfFunction':JSON[_0x260752(0x1db)](_0x46916c),'invokeId':(_0x56ccb6=_0x2ef6bd[_0x260752(0x1af)])!=null?_0x56ccb6:'','executionId':(_0x504ad5=_0x2ef6bd[_0x260752(0x191)])!=null?_0x504ad5:''};try{const _0x5f410a=await this['_httpService'][_0x260752(0x286)](_0x3e6b2f,{'body':_0x27f6c4});return _0x5f410a[_0x260752(0x10c)][_0x260752(0x21a)]&&_0x5f410a[_0x260752(0x10c)][_0x260752(0x21a)]['code']!==Z['OK']?_0x260752(0x296):_0x5f410a[_0x260752(0x10c)][_0x260752(0x1d5)];}catch{return _0x260752(0x296);}}};dt=Fn([Ae(0x0,_0x143643),Ae(0x1,_0x2ef654(_0x57a0f4)),Ae(0x2,_0x1fcde3)],dt);const St=0x7530,mt='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x282063{constructor(){const _0x55ce01=_0x381542;super(),_(this,_0x55ce01(0x234),_0x5d1d29()),_(this,'_selfUnitIDs',new Set()),_(this,_0x55ce01(0x2ba),new Map()),_(this,_0x55ce01(0x281),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x55ce01(0x32b)]();}[_0x381542(0x122)](){const _0x28e579=_0x381542;super[_0x28e579(0x122)](),this['_clearOtherTimers']['forEach']((_0x8f4aa6,_0x5a6a92)=>this[_0x28e579(0x131)](_0x5a6a92)),this[_0x28e579(0x281)]&&window[_0x28e579(0x22b)](this['_heartbeatTimer']);}[_0x381542(0x1eb)](_0x1b2576){const _0x426c10=_0x381542;return this[_0x426c10(0x1d0)](_0x1b2576)[_0x426c10(0x274)](_0x339802());}[_0x381542(0x29e)](_0x57a286){const _0x5374b7=_0x381542;this[_0x5374b7(0x117)][_0x5374b7(0x1a6)]===0x0&&this[_0x5374b7(0x2d3)](),this['_selfUnitIDs'][_0x5374b7(0x19e)](_0x57a286),this[_0x5374b7(0x316)]({'type':0x0,'memberID':this[_0x5374b7(0x234)],'unitIDs':[_0x57a286],'isForwarded':!0x1});}[_0x381542(0x29c)](_0x2267d9){const _0x5878d4=_0x381542;this[_0x5878d4(0x117)][_0x5878d4(0x2f9)](_0x2267d9),this[_0x5878d4(0x117)][_0x5878d4(0x1a6)]===0x0&&this[_0x5878d4(0x281)]&&window['clearInterval'](this[_0x5878d4(0x281)]);}[_0x381542(0x32b)](){const _0x34155c=_0x381542;this[_0x34155c(0x306)](_0xa06c05(_0x21cf88(window,_0x34155c(0x1b8))[_0x34155c(0x14a)](_0x307343=>{const _0x3b31e1=_0x34155c;if(_0x307343[_0x3b31e1(0xfd)]!==mt||!_0x307343[_0x3b31e1(0x283)])return;const _0x2abd31=JSON[_0x3b31e1(0x1fc)](_0x307343[_0x3b31e1(0x283)]);this[_0x3b31e1(0x144)](_0x2abd31);}))),window[_0x34155c(0x103)](_0x34155c(0x225),()=>this['_send']({'type':0x1,'memberID':this[_0x34155c(0x234)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x3949a3){const _0x1607d1=_0x381542;switch(_0x3949a3['type']){case 0x0:this[_0x1607d1(0x160)](_0x3949a3);break;case 0x1:this[_0x1607d1(0x2de)](_0x3949a3);break;case 0x2:this[_0x1607d1(0x1cc)](_0x3949a3);break;}}[_0x381542(0x160)](_0x4fc8d3){const _0x516e34=_0x381542,{unitIDs:_0x9563b1,memberID:_0x50d94f,isForwarded:_0x50b0fc}=_0x4fc8d3;_0x9563b1[_0x516e34(0x15f)](_0x12910a=>{const _0x49f92f=_0x516e34;if(!_0x50b0fc&&this['_unitOnClients'][_0x49f92f(0x2d6)](_0x12910a)&&this[_0x49f92f(0x1d0)](_0x12910a)[_0x49f92f(0x2a5)](_0x457f49['OTHER_CLIENTS_EDITING']),!this[_0x49f92f(0x2ba)][_0x49f92f(0x2d6)](_0x12910a)||!this['_unitOnClients']['get'](_0x12910a)[_0x49f92f(0x2d6)](_0x50d94f)){const _0x238afa=this[_0x49f92f(0x2ba)]['get'](_0x12910a)||new Set();_0x238afa['add'](_0x50d94f),this[_0x49f92f(0x2ba)][_0x49f92f(0x10e)](_0x12910a,_0x238afa),this[_0x49f92f(0x232)](_0x50d94f);}}),_0x50b0fc||this[_0x516e34(0x316)]({'type':0x0,'memberID':this[_0x516e34(0x234)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xc27e5c){const _0x5c35fe=_0x381542;this[_0x5c35fe(0x131)](_0xc27e5c);const _0x37950b=window[_0x5c35fe(0x204)](()=>{const _0x149fd7=_0x5c35fe;this[_0x149fd7(0x2ba)]['forEach'](_0xd38d8f=>{const _0x589719=_0x149fd7;_0xd38d8f[_0x589719(0x2f9)](_0xc27e5c);});},St*0x2);this[_0x5c35fe(0x10f)][_0x5c35fe(0x10e)](_0xc27e5c,_0x37950b);}[_0x381542(0x131)](_0x1e6b25){const _0x29e6bc=_0x381542;if(this[_0x29e6bc(0x10f)][_0x29e6bc(0x2d6)](_0x1e6b25)){const _0x4bb34e=this[_0x29e6bc(0x10f)][_0x29e6bc(0x2d4)](_0x1e6b25);_0x4bb34e&&window['clearTimeout'](_0x4bb34e),this[_0x29e6bc(0x10f)][_0x29e6bc(0x10e)](_0x1e6b25,null);}}[_0x381542(0x2de)](_0xd131f5){const _0x3ebda6=_0x381542,{memberID:_0x56d8f3,unitIDs:_0x5de85d}=_0xd131f5;_0x5de85d[_0x3ebda6(0x15f)](_0xd77e71=>{const _0x29f018=_0x3ebda6;var _0x2d339;const _0x4f5200=this['_unitOnClients'][_0x29f018(0x2d4)](_0xd77e71);_0x4f5200&&(_0x4f5200[_0x29f018(0x2f9)](_0x56d8f3),(_0x2d339=this[_0x29f018(0x1d0)](_0xd77e71))==null||_0x2d339[_0x29f018(0x2a5)](_0x4f5200[_0x29f018(0x1a6)]===0x0?_0x457f49[_0x29f018(0x22a)]:_0x457f49['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x56d8f3);}[_0x381542(0x1cc)](_0x3fc8da){const _0x1835d2=_0x381542;this[_0x1835d2(0x232)](_0x3fc8da[_0x1835d2(0x235)]);}[_0x381542(0x316)](_0x25f565){const _0x381c54=_0x381542;localStorage[_0x381c54(0x1c1)](mt,JSON[_0x381c54(0x1db)](_0x25f565));}['_scheduleHeartbeat'](){const _0x5d396f=_0x381542;this['_heartbeatTimer']=window[_0x5d396f(0x290)](()=>{const _0x3aa026=_0x5d396f;this['_send']({'type':0x2,'memberID':this[_0x3aa026(0x234)]});},St);}[_0x381542(0x1d0)](_0x360e53){const _0x148d08=_0x381542;return this[_0x148d08(0x1bc)][_0x148d08(0x2d6)](_0x360e53)||this['_unitStatus'][_0x148d08(0x10e)](_0x360e53,new _0x2c6ac6(_0x457f49[_0x148d08(0x22a)])),this[_0x148d08(0x1bc)][_0x148d08(0x2d4)](_0x360e53);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|
|
1
|
+
const _0x2ad37e=_0x56fb;(function(_0x5b9cce,_0x3f6088){const _0x29cac1=_0x56fb,_0x4d72e5=_0x5b9cce();while(!![]){try{const _0x896847=parseInt(_0x29cac1(0x37b))/0x1*(-parseInt(_0x29cac1(0x25d))/0x2)+parseInt(_0x29cac1(0x262))/0x3+parseInt(_0x29cac1(0x285))/0x4*(-parseInt(_0x29cac1(0x372))/0x5)+-parseInt(_0x29cac1(0x1da))/0x6+parseInt(_0x29cac1(0x216))/0x7*(-parseInt(_0x29cac1(0x217))/0x8)+parseInt(_0x29cac1(0x3ba))/0x9*(parseInt(_0x29cac1(0x320))/0xa)+parseInt(_0x29cac1(0x2b6))/0xb;if(_0x896847===_0x3f6088)break;else _0x4d72e5['push'](_0x4d72e5['shift']());}catch(_0x19ed9f){_0x4d72e5['push'](_0x4d72e5['shift']());}}}(_0x4774,0x45a23));var Yt=Object[_0x2ad37e(0x294)],Wt=(_0x26cd45,_0x2c255e,_0x3399db)=>_0x2c255e in _0x26cd45?Yt(_0x26cd45,_0x2c255e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3399db}):_0x26cd45[_0x2c255e]=_0x3399db,_=(_0x394c39,_0x461006,_0x524e87)=>Wt(_0x394c39,typeof _0x461006!=_0x2ad37e(0x1cd)?_0x461006+'':_0x461006,_0x524e87);import{jsx as _0x4d84b9,jsxs as _0x392043}from'react/jsx-runtime';import{CollaborationStatus as _0x373053,CollaborationSessionService as _0x3ad90a,CollaborationController as _0x5c7c70,DataLoaderService as _0x3c78c6,MemberService as _0x434c4a,SessionStatus as _0x5418e6,ILocalCacheService as _0x2a978f,CollaborationUIEventService as _0x33dbbb,CollaborationUIEventId as _0x3406a2,DocCollaborationEntity as _0x2a90b3,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x23d3a9,getLocalCacheKey as _0x4e4c76,LOCAL_CACHE_INTERVAL as _0x5bf8d6,LOCAL_CACHE_INTERVAL_KEY as _0x347fdf,UniverCollaborationClientPlugin as _0x5dd9d5,CollaborationSocketService as _0x18048a,DEFAULT_WS_SESSION_TICKET_URL as _0xbf9fd3,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x735800,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x8521de,UnitStatus as _0x10d504}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x18b100,IUniverInstanceService as _0x2505af,Inject as _0x17dbc2,Injector as _0x7e98bc,Disposable as _0x58948b,createIdentifier as _0x3b129e,ILogService as _0x114287,ICommandService as _0xc8122f,Optional as _0x1b5d84,RxDisposable as _0x101452,Workbook as _0x49d5f8,DOC_RANGE_TYPE as _0x3daaca,debounce as _0x453269,Rectangle as _0x37e805,DisposableCollection as _0x37de77,toDisposable as _0x48616d,UniverInstanceType as _0x463f4d,generateRandomId as _0x27bf30,COLORS as _0x280995,ColorKit as _0xd09052,ThemeService as _0x209982,fromEventSubject as _0x50f12c,Tools as _0x1b7cfb,CommandType as _0x433e00,IConfigService as _0x1c36ce,CanceledError as _0x54ba8d,isFormulaString as _0x12e729,isFormulaId as _0x1d4d85,ILocalStorageService as _0x3a22b4,DependentOn as _0x454c73,Plugin as _0x4d2b42,merge as _0x5a335a,registerDependencies as _0x2880b8,mergeOverrideWithDependencies as _0x3a2996,touchDependencies as _0x2ff3d6}from'@univerjs/core';import{useObservable as _0x2ff056,useDependency as _0x3f166b,IUIPartsService as _0x2aad7d,BuiltInUIPart as _0x34a2e1,connectInjector as _0x22d687,IBeforeCloseService as _0x55bc43,IMessageService as _0x464b74,INotificationService as _0x574ce0}from'@univerjs/ui';import{BehaviorSubject as _0x434037,switchMap as _0x57d107,of as _0x49bed0,takeUntil as _0x59c3be,debounceTime as _0x3b4f5b,Subject as _0x1752ef,filter as _0x13b02b,merge as _0x53ab81,combineLatest as _0x118445,fromEvent as _0x50e66d,shareReplay as _0xe8cb63,mapTo as _0x35871a,distinctUntilChanged as _0x103a9e}from'rxjs';import{Tooltip as _0x29cbb3,clsx as _0x856ad9,MessageType as _0x1bf3a5}from'@univerjs/design';import{useRef as _0xb66a33,createElement as _0x12d4ed,forwardRef as _0x2b6e6d,useCallback as _0xa40c5}from'react';import{IRemoteInstanceService as _0x3cff9a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xddd81c,RefRangeService as _0x437973,SetSelectionsOperation as _0x197801,SheetsSelectionsService as _0x527ccf,EffectRefRangId as _0x20b6c0,handleIRemoveRow as _0x1c997f,handleIRemoveCol as _0xdecc37,handleMoveRange as _0x7447ca,handleInsertRow as _0x1b2504,handleInsertRangeMoveRight as _0x4152b3,handleInsertRangeMoveDown as _0x2dad90,handleInsertCol as _0x508d53,handleDeleteRangeMoveUp as _0x27814a,handleDeleteRangeMoveLeft as _0x36d26f,runRefRangeMutations as _0x2f12ed}from'@univerjs/sheets';import{Shape as _0x3194ac,Rect as _0x4d98e9,getColor as _0x51f4f8,RegularPolygon as _0x298b35,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1f11cc,Vector2 as _0x294ab2,SHEET_VIEWPORT_KEY as _0xacfd79,IRenderManagerService as _0x1b9e7e}from'@univerjs/engine-render';import{HTTPService as _0x3670ce,ISocketService as _0x2307e5,WebSocketService as _0x4d7622}from'@univerjs/network';import{IDocClipboardService as _0x59dde8,NodePositionConvertToCursor as _0x491b18,NodePositionConvertToRectRange as _0x1d8b30,TEXT_RANGE_LAYER_INDEX as _0x186da9,SetDocZoomRatioOperation as _0x2828f2,DocIMEInputManagerService as _0x1d477d,DocStateChangeManagerService as _0x4fdde9}from'@univerjs/docs-ui';import{IImageIoService as _0x28b867}from'@univerjs/drawing';import{ITransformService as _0x185243,CollaborationEvent as _0x2c62a7,isTransformMutationFailure as _0x27b05a,isTransformMutationsWithChangesetSuccess as _0x4a4a43,RevisionService as _0x55b6bd,ISnapshotServerService as _0x4c3aa1}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5648c6,RichTextEditingMutation as _0xf76e73,DocSelectionManagerService as _0x10a29a,DocSkeletonManagerService as _0x4b0954}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5c13ea,serializeRangeWithSheet as _0xceab2,FormulaExecuteStageType as _0xb1e08d,FormulaExecutedStateType as _0x4fa3c4,SetFormulaCalculationStartMutation as _0x218f50,SetFormulaCalculationNotificationMutation as _0x30668b}from'@univerjs/engine-formula';import{map as _0x4c7446,filter as _0x44c16b,throttleTime as _0x4f3700,takeUntil as _0x21fa26,switchMap as _0x1c1fbe}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1b317e,getCoordByCell as _0x3bb5c5,getSheetObject as _0x4f5a02}from'@univerjs/sheets-ui';function Ge({ref:_0x366002,..._0x5a4bd8}){const _0x381ca5=_0x2ad37e,{icon:_0x25a2b8,id:_0x224cc4,className:_0x423986,extend:_0x10f19c,..._0x509165}=_0x5a4bd8,_0x2e36f1=('univerjs-icon\x20univerjs-icon-'+_0x224cc4+'\x20'+(_0x423986||''))['trim'](),_0x18eaa6=_0xb66a33('_'+Ei());return At(_0x25a2b8,''+_0x224cc4,{'defIds':_0x25a2b8[_0x381ca5(0x24f)],'idSuffix':_0x18eaa6[_0x381ca5(0x188)]},{'ref':_0x366002,'className':_0x2e36f1,..._0x509165},_0x10f19c);}function At(_0x5e05b8,_0x1067ba,_0x4729d9,_0x13d7c1,_0x53d012){const _0x542173=_0x2ad37e;return _0x12d4ed(_0x5e05b8[_0x542173(0x245)],{'key':_0x1067ba,...gi(_0x5e05b8,_0x4729d9,_0x53d012),..._0x13d7c1},(vi(_0x5e05b8,_0x4729d9)[_0x542173(0x209)]||[])[_0x542173(0x2db)]((_0xf235f9,_0x450e37)=>At(_0xf235f9,_0x1067ba+'-'+_0x5e05b8['tag']+'-'+_0x450e37,_0x4729d9,void 0x0,_0x53d012)));}function gi(_0x2e7a8e,_0x5e7155,_0x3117bf){const _0x497b50=_0x2ad37e,_0x418131={..._0x2e7a8e[_0x497b50(0x29d)]};_0x3117bf!=null&&_0x3117bf[_0x497b50(0x252)]&&_0x418131['fill']==='colorChannel1'&&(_0x418131[_0x497b50(0x34f)]=_0x3117bf[_0x497b50(0x252)]),_0x2e7a8e[_0x497b50(0x245)]===_0x497b50(0x28a)&&_0x418131['id']&&(_0x418131['id']=_0x418131['id']+_0x5e7155['idSuffix']),Object[_0x497b50(0x1af)](_0x418131)[_0x497b50(0x3bd)](([_0x3a2e0c,_0xb1b1f2])=>{const _0x351a45=_0x497b50;_0x3a2e0c===_0x351a45(0x28a)&&typeof _0xb1b1f2==_0x351a45(0x1dc)&&(_0x418131[_0x3a2e0c]=_0xb1b1f2['replace'](/url\(#(.*)\)/,'url(#$1'+_0x5e7155[_0x351a45(0x23f)]+')'));});const {defIds:_0x7ffa04}=_0x5e7155;return!_0x7ffa04||_0x7ffa04[_0x497b50(0x309)]===0x0||(_0x2e7a8e[_0x497b50(0x245)]===_0x497b50(0x1b4)&&_0x418131['xlink:href']&&(_0x418131[_0x497b50(0x23e)]=_0x418131[_0x497b50(0x23e)]+_0x5e7155[_0x497b50(0x23f)]),Object[_0x497b50(0x1af)](_0x418131)[_0x497b50(0x3bd)](([_0x12097e,_0x468c15])=>{const _0x53930e=_0x497b50;typeof _0x468c15==_0x53930e(0x1dc)&&(_0x418131[_0x12097e]=_0x468c15[_0x53930e(0x1ee)](/url\(#(.*)\)/,'url(#$1'+_0x5e7155['idSuffix']+')'));})),_0x418131;}function vi(_0x5d8dba,_0x25937d){const _0x3a34d4=_0x2ad37e;var _0xc95cff;const {defIds:_0x5d70d2}=_0x25937d;return!_0x5d70d2||_0x5d70d2[_0x3a34d4(0x309)]===0x0?_0x5d8dba:_0x5d8dba[_0x3a34d4(0x245)]===_0x3a34d4(0x1b2)&&((_0xc95cff=_0x5d8dba['children'])!=null&&_0xc95cff[_0x3a34d4(0x309)])?{..._0x5d8dba,'children':_0x5d8dba[_0x3a34d4(0x209)][_0x3a34d4(0x2db)](_0x12523f=>typeof _0x12523f[_0x3a34d4(0x29d)]['id']=='string'&&_0x5d70d2&&_0x5d70d2[_0x3a34d4(0x181)](_0x12523f['attrs']['id'])?{..._0x12523f,'attrs':{..._0x12523f[_0x3a34d4(0x29d)],'id':_0x12523f['attrs']['id']+_0x25937d['idSuffix']}}:_0x12523f)}:_0x5d8dba;}function Ei(){const _0x21a6c8=_0x2ad37e;return Math[_0x21a6c8(0x3b3)]()[_0x21a6c8(0x20b)](0x24)[_0x21a6c8(0x2bf)](0x2,0x8);}Ge[_0x2ad37e(0x38c)]=_0x2ad37e(0x3b2);const pi={'tag':'svg','attrs':{'xmlns':_0x2ad37e(0x27e),'fill':_0x2ad37e(0x348),'viewBox':_0x2ad37e(0x1cb),'width':_0x2ad37e(0x39e),'height':_0x2ad37e(0x39e)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ad37e(0x180)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2ad37e(0x184),'strokeLinejoin':_0x2ad37e(0x184),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2ad37e(0x2f9),'attrs':{'id':_0x2ad37e(0x2b8)},'children':[{'tag':_0x2ad37e(0x385),'attrs':{'fill':'white','d':_0x2ad37e(0x3ca)}}]}]}],'defIds':[_0x2ad37e(0x2b8)]},Pt=_0x2b6e6d(function(_0x37db97,_0x2e5de2){const _0x5d02fd=_0x2ad37e;return _0x12d4ed(Ge,Object['assign']({},_0x37db97,{'id':_0x5d02fd(0x392),'ref':_0x2e5de2,'icon':pi}));});Pt['displayName']='OffLineIcon';const Oi={'tag':_0x2ad37e(0x397),'attrs':{'xmlns':_0x2ad37e(0x27e),'fill':_0x2ad37e(0x348),'viewBox':_0x2ad37e(0x187),'width':_0x2ad37e(0x39e),'height':_0x2ad37e(0x39e)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ad37e(0x28b)},'children':[{'tag':_0x2ad37e(0x385),'attrs':{'stroke':'currentColor','d':_0x2ad37e(0x241),'strokeLinecap':_0x2ad37e(0x184),'strokeLinejoin':_0x2ad37e(0x184),'strokeWidth':1.2}}]},{'tag':_0x2ad37e(0x1b2),'attrs':{},'children':[{'tag':_0x2ad37e(0x2f9),'attrs':{'id':_0x2ad37e(0x213)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x2ad37e(0x3ca),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x2b6e6d(function(_0x4c5dc4,_0x5b3e10){const _0x5c2d7f=_0x2ad37e;return _0x12d4ed(Ge,Object[_0x5c2d7f(0x234)]({},_0x4c5dc4,{'id':_0x5c2d7f(0x253),'ref':_0x5b3e10,'icon':Oi}));});wt[_0x2ad37e(0x38c)]='OnLineIcon';function Ti(_0x264c0e){const _0x4308ad=_0x2ad37e;switch(_0x264c0e){case _0x373053[_0x4308ad(0x35e)]:return _0x4308ad(0x35a);case _0x373053[_0x4308ad(0x378)]:return _0x4308ad(0x2e2);case _0x373053[_0x4308ad(0x3c4)]:return _0x4308ad(0x1a1);case _0x373053['NOT_COLLAB']:return _0x4308ad(0x19b);case _0x373053[_0x4308ad(0x3bb)]:case _0x373053[_0x4308ad(0x30f)]:return'collabStatus.syncing';case _0x373053['SYNCED']:case _0x373053['PENDING']:return _0x4308ad(0x21f);}}function Ci(_0x41d6b8){const _0x1c305e=_0x2ad37e,{status$:_0x53c7ea}=_0x41d6b8,_0x25c1f4=_0x2ff056(_0x53c7ea,_0x373053[_0x1c305e(0x32b)]),_0x2fbf8e=_0x3f166b(_0x18b100),_0x9341c3=_0x3f166b(_0x3ad90a),_0x25339e=_0x25c1f4!==_0x373053[_0x1c305e(0x35e)],_0x4964a7=_0x2fbf8e['t'](Ti(_0x25c1f4)),_0x2ece69=_0x25339e?_0x4d84b9(wt,{}):_0x4d84b9(Pt,{}),_0x4ae6b1=_0xa40c5(()=>{const _0x2b3968=_0x1c305e;_0x25339e||_0x9341c3[_0x2b3968(0x2b2)]();},[_0x25339e,_0x9341c3]);function _0x506f53(){const _0x13f753=_0x1c305e;return _0x392043(_0x13f753(0x2e5),{'className':_0x13f753(0x1d7),'onClick':_0x4ae6b1,'children':[_0x4d84b9(_0x13f753(0x2e5),{'className':_0x856ad9('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x25339e,'univer-text-red-500':!_0x25339e}),'children':_0x2ece69}),_0x4d84b9(_0x13f753(0x2e5),{'className':_0x13f753(0x3b8),'children':_0x4964a7})]});}return _0x25339e?_0x506f53():_0x4d84b9(_0x29cbb3,{'title':_0x2fbf8e['t'](_0x1c305e(0x2c3)),'children':_0x506f53()});}var Ri=Object[_0x2ad37e(0x316)],Di=(_0x54dcaf,_0x890fdd,_0x456997,_0x3fa06d)=>{const _0x145de3=_0x2ad37e;for(var _0x1f88d6=_0x3fa06d>0x1?void 0x0:_0x3fa06d?Ri(_0x890fdd,_0x456997):_0x890fdd,_0x5f19a8=_0x54dcaf[_0x145de3(0x309)]-0x1,_0x357f51;_0x5f19a8>=0x0;_0x5f19a8--)(_0x357f51=_0x54dcaf[_0x5f19a8])&&(_0x1f88d6=_0x357f51(_0x1f88d6)||_0x1f88d6);return _0x1f88d6;},se=(_0x54a9bd,_0x495f66)=>(_0x405f50,_0x299326)=>_0x495f66(_0x405f50,_0x299326,_0x54a9bd);let ae=class extends _0x58948b{constructor(_0x1f4235,_0x2e3106,_0x21a0dc,_0x31d5c4){const _0x3d3bb1=_0x2ad37e;super(),_(this,_0x3d3bb1(0x393),new _0x434037(_0x373053[_0x3d3bb1(0x32b)])),(this[_0x3d3bb1(0x22d)]=_0x1f4235,this[_0x3d3bb1(0x291)]=_0x2e3106,this[_0x3d3bb1(0x1c1)]=_0x21a0dc,this['_uiPartsService']=_0x31d5c4,this[_0x3d3bb1(0x27a)](),this[_0x3d3bb1(0x1db)]());}['_initStatusListener'](){const _0x525ca0=_0x2ad37e;this[_0x525ca0(0x3a8)](this[_0x525ca0(0x22d)]['focused$'][_0x525ca0(0x2cc)](_0x57d107(()=>{const _0x51c26f=_0x525ca0,_0x184713=this[_0x51c26f(0x22d)]['getFocusedUnit']();return _0x184713?this[_0x51c26f(0x1c1)][_0x51c26f(0x1d5)](_0x184713[_0x51c26f(0x30c)]()):_0x49bed0(null);}),_0x57d107(_0x386652=>_0x386652?_0x386652[_0x525ca0(0x2ad)]:_0x49bed0(_0x373053[_0x525ca0(0x32b)])))['subscribe'](_0x5ec494=>{const _0x143dc4=_0x525ca0;this[_0x143dc4(0x393)]['next'](_0x5ec494);}));}[_0x2ad37e(0x27a)](){const _0x3ba0d3=_0x2ad37e;this['disposeWithMe'](this[_0x3ba0d3(0x36e)][_0x3ba0d3(0x3c8)](_0x34a2e1[_0x3ba0d3(0x337)],()=>_0x22d687(bi({'status$':this['_status$'][_0x3ba0d3(0x32f)]()}),this[_0x3ba0d3(0x291)])));}};ae=Di([se(0x0,_0x2505af),se(0x1,_0x17dbc2(_0x7e98bc)),se(0x2,_0x17dbc2(_0x5c7c70)),se(0x3,_0x2aad7d)],ae);function _0x56fb(_0x28168d,_0x81d9cb){const _0x477499=_0x4774();return _0x56fb=function(_0x56fbb7,_0xe1b4ac){_0x56fbb7=_0x56fbb7-0x180;let _0x968c5d=_0x477499[_0x56fbb7];return _0x968c5d;},_0x56fb(_0x28168d,_0x81d9cb);}function bi(_0x4f50d6){const {status$:_0x65be53}=_0x4f50d6;return function(){return _0x4d84b9(Ci,{'status$':_0x65be53});};}const yt=_0x3b129e(_0x2ad37e(0x22f));var Ni=Object[_0x2ad37e(0x316)],Li=(_0x3bc851,_0x34b4cc,_0x4522f8,_0x351800)=>{const _0x3ef327=_0x2ad37e;for(var _0x3d691a=_0x351800>0x1?void 0x0:_0x351800?Ni(_0x34b4cc,_0x4522f8):_0x34b4cc,_0xe820a=_0x3bc851[_0x3ef327(0x309)]-0x1,_0x3a65ae;_0xe820a>=0x0;_0xe820a--)(_0x3a65ae=_0x3bc851[_0xe820a])&&(_0x3d691a=_0x3a65ae(_0x3d691a)||_0x3d691a);return _0x3d691a;},K=(_0x35cabc,_0x2fb731)=>(_0x53f933,_0x521eff)=>_0x2fb731(_0x53f933,_0x521eff,_0x35cabc);let ce=class extends _0x101452{constructor(_0x2d93f7,_0x250de9,_0x1790f6,_0x4ad423,_0x38b716){const _0x521384=_0x2ad37e;super(),this[_0x521384(0x2ee)]=_0x2d93f7,this['_logService']=_0x250de9,this[_0x521384(0x19e)]=_0x1790f6,this[_0x521384(0x1f3)]=_0x4ad423,_0x38b716?_0x38b716==null||_0x38b716['whenReady']()[_0x521384(0x383)](()=>this[_0x521384(0x3ad)]()):(this[_0x521384(0x191)][_0x521384(0x1a6)](_0x521384(0x387),_0x521384(0x2ea)),this[_0x521384(0x3ad)]());}async['_init'](){const _0x24032f=_0x2ad37e,_0x37abf7=this[_0x24032f(0x2ee)][_0x24032f(0x1d3)](_0x24032f(0x2b7)),_0x4541df=this[_0x24032f(0x2ee)][_0x24032f(0x1d3)](_0x24032f(0x212)),_0xd03e63=this['_urlService'][_0x24032f(0x1d3)]('subunit');if(!_0x37abf7||!_0x4541df){this[_0x24032f(0x191)][_0x24032f(0x1a6)](_0x24032f(0x387),_0x24032f(0x247));return;}const _0x53527=await this[_0x24032f(0x1f3)]['loadUnit'](_0x37abf7,Number(_0x4541df),_0xd03e63);_0x53527&&_0x53527 instanceof _0x49d5f8&&this['_setupSubUnitSync'](_0x53527);}async['_setupSubUnitSync'](_0x3130a0){const _0x4beb77=_0x2ad37e;await this[_0x4beb77(0x264)](_0x3130a0),_0x3130a0[_0x4beb77(0x29e)][_0x4beb77(0x2cc)](_0x59c3be(this['dispose$']))['subscribe'](_0x3fe9d8=>{_0x3fe9d8&&this['_updateURLWithCurrentState'](_0x3fe9d8);}),this[_0x4beb77(0x2ee)][_0x4beb77(0x31b)][_0x4beb77(0x2cc)](_0x59c3be(this[_0x4beb77(0x23b)]))['subscribe'](()=>this[_0x4beb77(0x264)](_0x3130a0));}[_0x2ad37e(0x25b)](_0x345158,_0x2d2819=!0x1){const _0x8124e9=_0x2ad37e,_0x2193ae=this[_0x8124e9(0x2ee)][_0x8124e9(0x1d3)](_0x8124e9(0x3a4));_0x345158['getSheetId']()!==_0x2193ae&&this['_urlService']['setParam'](_0x8124e9(0x3a4),_0x345158[_0x8124e9(0x236)](),_0x2d2819);}async[_0x2ad37e(0x264)](_0x40e486){const _0x54eba=_0x2ad37e;var _0x37b37b;const _0x3a83ab=this[_0x54eba(0x2ee)][_0x54eba(0x1d3)](_0x54eba(0x3a4));if(!_0x3a83ab||!_0x40e486[_0x54eba(0x26d)](_0x3a83ab)){const _0x5c4e14=_0x40e486[_0x54eba(0x359)]()[0x0],_0x13f4d9=_0x40e486[_0x54eba(0x26d)](_0x5c4e14);if(!_0x13f4d9)return;this[_0x54eba(0x25b)](_0x13f4d9,!0x0),await this['_commandService'][_0x54eba(0x263)](_0xddd81c['id'],{'unitId':_0x40e486[_0x54eba(0x30c)](),'subUnitId':_0x5c4e14});return;}((_0x37b37b=_0x40e486[_0x54eba(0x1ab)]())==null?void 0x0:_0x37b37b[_0x54eba(0x236)]())!==_0x3a83ab&&await this[_0x54eba(0x19e)][_0x54eba(0x263)](_0xddd81c['id'],{'unitId':_0x40e486[_0x54eba(0x30c)](),'subUnitId':_0x3a83ab});}};ce=Li([K(0x0,yt),K(0x1,_0x114287),K(0x2,_0xc8122f),K(0x3,_0x17dbc2(_0x3c78c6)),K(0x4,_0x1b5d84(_0x3cff9a))],ce);var Ui=Object[_0x2ad37e(0x316)],Mi=(_0x228925,_0x523f43,_0x11286f,_0x1dd29c)=>{const _0x56ed81=_0x2ad37e;for(var _0x399529=_0x1dd29c>0x1?void 0x0:_0x1dd29c?Ui(_0x523f43,_0x11286f):_0x523f43,_0x276699=_0x228925[_0x56ed81(0x309)]-0x1,_0x42ba57;_0x276699>=0x0;_0x276699--)(_0x42ba57=_0x228925[_0x276699])&&(_0x399529=_0x42ba57(_0x399529)||_0x399529);return _0x399529;},rt=(_0x1a2f84,_0x161d19)=>(_0x47e94f,_0x4d4fb8)=>_0x161d19(_0x47e94f,_0x4d4fb8,_0x1a2f84);let $e=class extends _0x101452{constructor(_0x668df6,_0x18a6c0){const _0x517ff0=_0x2ad37e;super(),this[_0x517ff0(0x1f5)]=_0x668df6,this[_0x517ff0(0x22c)]=_0x18a6c0,this[_0x517ff0(0x3ad)]();}[_0x2ad37e(0x3ad)](){const _0x44541f=_0x2ad37e,_0x4f62ae=this;this[_0x44541f(0x3a8)](this[_0x44541f(0x1f5)][_0x44541f(0x305)]({'onBeforePasteImage':async _0x57db6e=>{const _0x13fd64=_0x44541f,_0x4eb4f7=await _0x4f62ae[_0x13fd64(0x22c)][_0x13fd64(0x358)](_0x57db6e);return _0x4eb4f7?{'source':_0x4eb4f7[_0x13fd64(0x3c3)],'imageSourceType':_0x4eb4f7[_0x13fd64(0x394)]}:null;}}));}};$e=Mi([rt(0x0,_0x59dde8),rt(0x1,_0x28b867)],$e);const ot=['purple.300',_0x2ad37e(0x2a7),_0x2ad37e(0x30d),_0x2ad37e(0x2c4),_0x2ad37e(0x38e),_0x2ad37e(0x2da)];class Ke extends _0x58948b{constructor(){const _0x354c98=_0x2ad37e;super(...arguments),_(this,_0x354c98(0x1fb),new Map()),_(this,'_colorIndex',0x0);}[_0x2ad37e(0x366)](_0x2a0223){const _0x9d313a=_0x2ad37e;if(this['_assignedColors'][_0x9d313a(0x21a)](_0x2a0223))return this['_assignedColors'][_0x9d313a(0x1b6)](_0x2a0223);const _0x827967=ot[this[_0x9d313a(0x1b0)]];return this[_0x9d313a(0x1b0)]=(this['_colorIndex']+0x1)%ot[_0x9d313a(0x309)],this['_assignedColors'][_0x9d313a(0x2fc)](_0x2a0223,_0x827967),_0x827967;}}function $t(_0x430019){const _0x3d6e83=_0x2ad37e;let _0x4e9953='';for(const _0x3afcfe of _0x430019){const {startOffset:_0x2ed13e,endOffset:_0x4dc6a9,isActive:_0x514768,rangeType:_0x46dcdd,segmentId:_0x32aa76,segmentPage:_0x58fb04}=_0x3afcfe;_0x4e9953[_0x3d6e83(0x309)]&&(_0x4e9953+=','),_0x4e9953+=_0x2ed13e+':'+_0x4dc6a9+':'+(_0x514768?'1':'0')+':'+_0x46dcdd+':'+_0x32aa76+':'+_0x58fb04;}return _0x4e9953;}function Ai(_0x321802){const _0xbcf7ac=_0x2ad37e,_0x295b82=_0x321802[_0xbcf7ac(0x1a5)](','),_0x5f1743=[];for(const _0x4f673c of _0x295b82){const [_0x1e6839,_0x58b14d,_0x20de34,_0x31c986,_0x485002,_0x17da3b]=_0x4f673c[_0xbcf7ac(0x1a5)](':');_0x5f1743['push']({'startOffset':Number(_0x1e6839),'endOffset':Number(_0x58b14d),'collapsed':_0x1e6839===_0x58b14d,'isActive':_0x20de34==='1','rangeType':_0x31c986===_0x3daaca[_0xbcf7ac(0x399)]?_0x3daaca[_0xbcf7ac(0x399)]:_0x3daaca[_0xbcf7ac(0x32a)],'segmentId':typeof _0x485002==_0xbcf7ac(0x1dc)?String(_0x485002):'','segmentPage':Number(_0x17da3b!=null?_0x17da3b:-0x1)});}return _0x5f1743[_0xbcf7ac(0x36b)](_0x2bbf00=>_0x2bbf00[_0xbcf7ac(0x308)])||(_0x5f1743[0x0]['isActive']=!0x0),_0x5f1743;}class ze extends _0x101452{constructor(){const _0x5918ec=_0x2ad37e;super(...arguments),_(this,_0x5918ec(0x2d7),new _0x434037(null)),_(this,'collabCursorState$',this[_0x5918ec(0x2d7)][_0x5918ec(0x32f)]());}[_0x2ad37e(0x210)](_0x58929b){const _0x204456=_0x2ad37e,{unitID:_0x48e0bb,memberID:_0x411104,textRanges:_0x3bb969}=_0x58929b,_0x4ab1e0=$t(_0x3bb969);if(_0x4ab1e0==='')return;const _0x1b32ad={'unitID':_0x48e0bb,'memberID':_0x411104,'selection':_0x4ab1e0};this[_0x204456(0x2d7)][_0x204456(0x229)](_0x1b32ad);}}var Pi=Object[_0x2ad37e(0x316)],wi=(_0x6c9f4b,_0x495c15,_0x4fd43c,_0x3dec26)=>{const _0x41d0da=_0x2ad37e;for(var _0x31ce58=_0x3dec26>0x1?void 0x0:_0x3dec26?Pi(_0x495c15,_0x4fd43c):_0x495c15,_0xb95cc0=_0x6c9f4b[_0x41d0da(0x309)]-0x1,_0x486870;_0xb95cc0>=0x0;_0xb95cc0--)(_0x486870=_0x6c9f4b[_0xb95cc0])&&(_0x31ce58=_0x486870(_0x31ce58)||_0x31ce58);return _0x31ce58;},A=(_0x473607,_0x5bdf24)=>(_0x37084b,_0xcec6e)=>_0x5bdf24(_0x37084b,_0xcec6e,_0x473607);const yi=0x12c,$i=0x64;let xe=class extends _0x101452{constructor(_0x4840cd,_0x59bebb,_0x3e00a8,_0x2981de,_0x2ddcc7,_0x1e3a51,_0x35e5a5,_0x557ccb,_0x18e3fd){const _0x2d4cda=_0x2ad37e;super(),_(this,_0x2d4cda(0x1f2),!0x1),_(this,_0x2d4cda(0x3ad),!0x1),_(this,_0x2d4cda(0x219),new _0x434037(new Map())),_(this,_0x2d4cda(0x330),this[_0x2d4cda(0x219)][_0x2d4cda(0x32f)]()),_(this,'_roomMembers$',new _0x434037([])),_(this,_0x2d4cda(0x192),this[_0x2d4cda(0x30e)][_0x2d4cda(0x2cc)](_0x3b4f5b(yi))),_(this,_0x2d4cda(0x3a1),_0x453269(_0x35c756=>{const _0x4eb1e0=_0x2d4cda,_0xbf142a={'eventID':_0x2c62a7['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4eb1e0(0x391)][_0x4eb1e0(0x2fd)](),'selection':$t(_0x35c756)}};this[_0x4eb1e0(0x391)][_0x4eb1e0(0x1b7)](_0xbf142a,this[_0x4eb1e0(0x345)]);},$i)),(this[_0x2d4cda(0x345)]=_0x4840cd,this[_0x2d4cda(0x391)]=_0x59bebb,this[_0x2d4cda(0x291)]=_0x3e00a8,this[_0x2d4cda(0x3c9)]=_0x2981de,this['_memberService']=_0x2ddcc7,this['_syncEditingCollabCursorService']=_0x1e3a51,this[_0x2d4cda(0x25f)]=_0x35e5a5,this[_0x2d4cda(0x22d)]=_0x557ccb,this[_0x2d4cda(0x19e)]=_0x18e3fd);}get[_0x2ad37e(0x1f7)](){const _0x530cf3=_0x2ad37e;return this[_0x530cf3(0x219)][_0x530cf3(0x20a)]();}get[_0x2ad37e(0x26c)](){const _0x1cc0b4=_0x2ad37e;return this[_0x1cc0b4(0x30e)][_0x1cc0b4(0x20a)]();}[_0x2ad37e(0x382)](){const _0x112a00=_0x2ad37e;super[_0x112a00(0x382)](),this[_0x112a00(0x219)][_0x112a00(0x229)](new Map()),this['_cursorInfo$'][_0x112a00(0x1bd)](),this['_roomMembers$']['next']([]),this[_0x112a00(0x30e)][_0x112a00(0x1bd)]();}[_0x2ad37e(0x3d0)](){const _0x5c63c0=_0x2ad37e;this[_0x5c63c0(0x3ad)]||(this['_init']=!0x0,this['_session'][_0x5c63c0(0x298)]['pipe'](_0x59c3be(this[_0x5c63c0(0x23b)]))[_0x5c63c0(0x215)](_0x505430=>{const _0x5e1a9d=_0x5c63c0;_0x505430===_0x5418e6[_0x5e1a9d(0x3bf)]?this[_0x5e1a9d(0x2d6)]():this[_0x5e1a9d(0x1e8)]();}),this[_0x5c63c0(0x391)][_0x5c63c0(0x371)][_0x5c63c0(0x2cc)](_0x59c3be(this[_0x5c63c0(0x23b)]))[_0x5c63c0(0x215)](_0x22ce66=>{const _0x13bf2d=_0x5c63c0,_0x1c62b6=_0x22ce66[_0x13bf2d(0x1e4)];_0x1c62b6===_0x2c62a7['UPDATE_CURSOR']&&this[_0x13bf2d(0x1bb)](_0x22ce66),_0x1c62b6===_0x2c62a7[_0x13bf2d(0x2f3)]&&this[_0x13bf2d(0x39b)](_0x22ce66);}),this[_0x5c63c0(0x3a8)](this[_0x5c63c0(0x19e)][_0x5c63c0(0x23d)](_0x2fcf67=>{const _0x269ab0=_0x5c63c0,_0x5da908=_0x2fcf67['params'];_0x5da908!=null&&this[_0x269ab0(0x1f2)]&&_0x2fcf67['id']===_0x5648c6['id']&&_0x5da908[_0x269ab0(0x1d8)]===this['unitID']&&_0x5da908[_0x269ab0(0x315)]===!0x1&&_0x5da908[_0x269ab0(0x22a)]['length']>0x0&&this[_0x269ab0(0x3a1)](_0x5da908['ranges']);})),this[_0x5c63c0(0x373)]['collabCursorState$']['pipe'](_0x59c3be(this[_0x5c63c0(0x23b)]))[_0x5c63c0(0x215)](_0x322826=>{const _0x2712cb=_0x5c63c0;if((_0x322826==null?void 0x0:_0x322826[_0x2712cb(0x345)])!==this['unitID'])return;const _0x377ee0={'eventID':_0x2c62a7[_0x2712cb(0x389)],'data':_0x322826};this[_0x2712cb(0x1bb)](_0x377ee0);}),this[_0x5c63c0(0x3a8)](this[_0x5c63c0(0x19e)][_0x5c63c0(0x23d)](_0x3debd7=>{const _0xe83a1d=_0x5c63c0;if(_0x3debd7['params']==null)return;const _0x51a60f=_0x3debd7['params'];if(_0x3debd7['id']!==_0xf76e73['id']||_0x51a60f['unitId']!==this[_0xe83a1d(0x345)])return;const _0x3593a1={'id':_0xe83a1d(0x2f6),'params':_0x51a60f},_0x3d4099=this['cursorInfo'];for(const [_0x58f865,_0x46853f]of _0x3d4099){const _0x3cf42f={'id':_0xe83a1d(0x2f6),'params':{'unitId':this[_0xe83a1d(0x345)],'actions':null,'textRanges':_0x46853f[_0xe83a1d(0x22a)]}},_0xa6c724=this[_0xe83a1d(0x25f)][_0xe83a1d(0x286)](_0x3593a1,_0x3cf42f,!0x1);if(_0x27b05a(_0xa6c724))throw _0xa6c724[_0xe83a1d(0x231)];_0x3d4099[_0xe83a1d(0x2fc)](_0x58f865,{..._0x46853f,'ranges':_0xa6c724[_0xe83a1d(0x1fa)][_0xe83a1d(0x2d1)][_0xe83a1d(0x36f)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x3d4099);});})));}[_0x2ad37e(0x1bb)](_0x5686e0){const _0x597083=_0x2ad37e;var _0x8b7849,_0x325ce5;const {memberID:_0x53fc45,selection:_0x16b30a}=_0x5686e0[_0x597083(0x206)],_0x4e6c5a=Ai(_0x16b30a),_0x4ac578=(_0x325ce5=(_0x8b7849=this[_0x597083(0x2d8)][_0x597083(0x1e1)](this[_0x597083(0x345)],_0x53fc45))==null?void 0x0:_0x8b7849[_0x597083(0x272)])!=null?_0x325ce5:'Unknown\x20user',_0x27a25c={'color':this[_0x597083(0x3c9)]['assignAColorForMemberID'](_0x53fc45),'name':_0x4ac578,'ranges':_0x4e6c5a},_0x26349b=this['cursorInfo'];_0x26349b[_0x597083(0x2fc)](_0x53fc45,_0x27a25c),this[_0x597083(0x219)]['next'](_0x26349b);}[_0x2ad37e(0x39b)](_0x269a39){const _0x1cd803=_0x2ad37e,{memberID:_0x3dda0b}=_0x269a39[_0x1cd803(0x206)],_0x1b1f4f=this[_0x1cd803(0x1f7)];_0x1b1f4f[_0x1cd803(0x258)](_0x3dda0b),this['_cursorInfo$'][_0x1cd803(0x229)](_0x1b1f4f);}[_0x2ad37e(0x2d6)](){const _0x55dbd7=_0x2ad37e;var _0x37469f;if(this[_0x55dbd7(0x1f2)]=!0x0,((_0x37469f=this[_0x55dbd7(0x22d)]['getFocusedUnit']())==null?void 0x0:_0x37469f[_0x55dbd7(0x30c)]())!==this['unitID'])return;const _0x4167ab=this['_injector'][_0x55dbd7(0x1b6)](_0x10a29a)[_0x55dbd7(0x277)]();Array[_0x55dbd7(0x3b6)](_0x4167ab)&&_0x4167ab[_0x55dbd7(0x309)]>0x0&&this[_0x55dbd7(0x3a1)](_0x4167ab);}[_0x2ad37e(0x1e8)](){const _0x234c88=_0x2ad37e;this[_0x234c88(0x1f2)]=!0x1;}};xe=wi([A(0x2,_0x17dbc2(_0x7e98bc)),A(0x3,_0x17dbc2(Ke)),A(0x4,_0x17dbc2(_0x434c4a)),A(0x5,_0x17dbc2(ze)),A(0x6,_0x185243),A(0x7,_0x2505af),A(0x8,_0xc8122f)],xe);var xi=Object[_0x2ad37e(0x316)],Bi=(_0x429f35,_0x5af433,_0xf10ed1,_0x488111)=>{const _0x2a46a4=_0x2ad37e;for(var _0x321413=_0x488111>0x1?void 0x0:_0x488111?xi(_0x5af433,_0xf10ed1):_0x5af433,_0x480695=_0x429f35[_0x2a46a4(0x309)]-0x1,_0x5a87ff;_0x480695>=0x0;_0x480695--)(_0x5a87ff=_0x429f35[_0x480695])&&(_0x321413=_0x5a87ff(_0x321413)||_0x321413);return _0x321413;},B=(_0x3714a1,_0x2a05a1)=>(_0x1ee9ed,_0x54f9e5)=>_0x2a05a1(_0x1ee9ed,_0x54f9e5,_0x3714a1);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x31f9fd=[],_0x3acc1b=!0x1;return _0x554721=>{const _0x2c3070=_0x56fb;_0x31f9fd[_0x2c3070(0x1c2)](_0x554721),_0x3acc1b||(_0x3acc1b=!0x0,setTimeout(()=>{const _0xa6f2c6=_0x2c3070;_0x31f9fd[_0xa6f2c6(0x3bd)](_0x398b42=>_0x398b42()),_0x31f9fd=[],_0x3acc1b=!0x1;}));};};let Be=class extends _0x101452{constructor(_0x11e5e8,_0x3fa342,_0xbc5f34,_0x466423,_0xa9f4d7,_0x15d57a,_0x455864,_0x905c44){const _0x5f3fc9=_0x2ad37e;super(),_(this,_0x5f3fc9(0x1f2),!0x1),_(this,_0x5f3fc9(0x3ad),!0x1),_(this,_0x5f3fc9(0x219),new _0x434037(new Map())),_(this,_0x5f3fc9(0x330),this[_0x5f3fc9(0x219)]['asObservable']()),_(this,_0x5f3fc9(0x30e),new _0x434037([])),_(this,_0x5f3fc9(0x192),this[_0x5f3fc9(0x30e)][_0x5f3fc9(0x2cc)](_0x3b4f5b(Fi))),_(this,_0x5f3fc9(0x3a1),_0x453269((_0x35cfbc,_0x1b8c8d)=>{const _0x1331ec=_0x5f3fc9,_0xc4ddb3={'eventID':_0x2c62a7[_0x1331ec(0x389)],'data':{'unitID':this[_0x1331ec(0x345)],'memberID':this[_0x1331ec(0x391)][_0x1331ec(0x2fd)](),'selection':_0xceab2(_0x35cfbc,_0x1b8c8d[_0x1331ec(0x196)])}};this[_0x1331ec(0x391)][_0x1331ec(0x1b7)](_0xc4ddb3,this[_0x1331ec(0x345)]);},ki)),(this[_0x5f3fc9(0x345)]=_0x11e5e8,this[_0x5f3fc9(0x391)]=_0x3fa342,this[_0x5f3fc9(0x291)]=_0xbc5f34,this[_0x5f3fc9(0x3c9)]=_0x466423,this[_0x5f3fc9(0x2d8)]=_0xa9f4d7,this[_0x5f3fc9(0x22d)]=_0x15d57a,this[_0x5f3fc9(0x19e)]=_0x455864,this['_refRangeService']=_0x905c44);}get[_0x2ad37e(0x1f7)](){return this['_cursorInfo$']['getValue']();}get[_0x2ad37e(0x26c)](){return this['_roomMembers$']['getValue']();}[_0x2ad37e(0x382)](){const _0x3e38ae=_0x2ad37e;super[_0x3e38ae(0x382)](),this['_cursorInfo$']['next'](new Map()),this[_0x3e38ae(0x219)]['complete'](),this[_0x3e38ae(0x30e)][_0x3e38ae(0x229)]([]),this[_0x3e38ae(0x30e)]['complete']();}[_0x2ad37e(0x3d0)](){const _0x5eb888=_0x2ad37e;this[_0x5eb888(0x3ad)]||(this['_init']=!0x0,this['_session'][_0x5eb888(0x298)][_0x5eb888(0x2cc)](_0x59c3be(this['dispose$']))[_0x5eb888(0x215)](_0x394fdc=>{const _0x772659=_0x5eb888;_0x394fdc===_0x5418e6[_0x772659(0x3bf)]?this[_0x772659(0x2d6)]():this['_toggleOffline']();}),this['_session']['event$'][_0x5eb888(0x2cc)](_0x59c3be(this[_0x5eb888(0x23b)]))[_0x5eb888(0x215)](_0x1f96e6=>{const _0x5dddf4=_0x5eb888,_0xe86e40=_0x1f96e6['eventID'];_0xe86e40===_0x2c62a7[_0x5dddf4(0x389)]&&this['_onCursorUpdate'](_0x1f96e6),_0xe86e40===_0x2c62a7['USERS_LEAVE']&&this[_0x5dddf4(0x39b)](_0x1f96e6);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x5eb888(0x23d)](_0x1304ab=>{const _0x21add4=_0x5eb888;if(this[_0x21add4(0x1f2)]&&_0x1304ab['id']===_0x197801['id']&&_0x1304ab['params'][_0x21add4(0x1d8)]===this['unitID']){const _0x1e4206=_0x1304ab[_0x21add4(0x2d1)];this[_0x21add4(0x3a1)](_0x1e4206[_0x21add4(0x1e0)],_0x1e4206['selections'][0x0]);}})));}[_0x2ad37e(0x1bb)](_0x49ece7){const _0xc3735e=_0x2ad37e;var _0x2fa3d6,_0x577d43;const {memberID:_0x6e4743,selection:_0x3b07db}=_0x49ece7['data'],{sheetName:_0x2598a9,range:_0x27e8a1}=_0x5c13ea(_0x3b07db),_0x53f960={'name':(_0x577d43=(_0x2fa3d6=this['_memberService']['getMember'](this[_0xc3735e(0x345)],_0x6e4743))==null?void 0x0:_0x2fa3d6[_0xc3735e(0x272)])!=null?_0x577d43:_0xc3735e(0x3a2),'range':this[_0xc3735e(0x1b3)](_0x2598a9,_0x27e8a1),'sheetID':_0x2598a9,'color':this[_0xc3735e(0x3c9)]['assignAColorForMemberID'](_0x6e4743),'selection':_0x3b07db},_0x2620a8=this['cursorInfo'];_0x2620a8[_0xc3735e(0x2fc)](_0x6e4743,_0x53f960),this[_0xc3735e(0x219)][_0xc3735e(0x229)](_0x2620a8);}['_onCursorDelete'](_0x52eb3f){const _0xbaa417=_0x2ad37e,{memberID:_0xdd3142}=_0x52eb3f[_0xbaa417(0x206)],_0x34a5dd=this[_0xbaa417(0x1f7)];_0x34a5dd[_0xbaa417(0x258)](_0xdd3142),this[_0xbaa417(0x219)][_0xbaa417(0x229)](_0x34a5dd);}[_0x2ad37e(0x1b3)](_0x376ebb,_0x44e335){const _0x24b14f=_0x2ad37e;var _0x232f78,_0x1f9599;const _0x5c49bd=(_0x1f9599=(_0x232f78=this[_0x24b14f(0x22d)][_0x24b14f(0x349)](this[_0x24b14f(0x345)]))==null?void 0x0:_0x232f78[_0x24b14f(0x26d)](_0x376ebb))==null?void 0x0:_0x1f9599[_0x24b14f(0x1d2)]();return(_0x5c49bd==null?void 0x0:_0x5c49bd['find'](_0x3b0489=>_0x37e805['contains'](_0x3b0489,_0x44e335)))||_0x44e335;}[_0x2ad37e(0x1c9)](){const _0x3ac922=_0x2ad37e,_0x2cda3d=new _0x37de77(),_0x341f87=Hi(),_0xe41c32=()=>{const _0x43f1d5=_0x56fb;_0x2cda3d[_0x43f1d5(0x382)]();const _0x32ad36=(_0x7a8be3,_0x175607,_0x1cb2a7,_0x4fd9a7)=>{const _0x279486=_0x43f1d5;let _0x2f49bf=[];switch(_0x7a8be3['id']){case _0x20b6c0[_0x279486(0x3b0)]:{_0x2f49bf=_0x36d26f(_0x7a8be3,_0x4fd9a7);break;}case _0x20b6c0[_0x279486(0x328)]:{_0x2f49bf=_0x27814a(_0x7a8be3,_0x4fd9a7);break;}case _0x20b6c0[_0x279486(0x3ae)]:{_0x2f49bf=_0x508d53(_0x7a8be3,_0x4fd9a7);break;}case _0x20b6c0[_0x279486(0x32c)]:{_0x2f49bf=_0x2dad90(_0x7a8be3,_0x4fd9a7);break;}case _0x20b6c0[_0x279486(0x356)]:{_0x2f49bf=_0x4152b3(_0x7a8be3,_0x4fd9a7);break;}case _0x20b6c0[_0x279486(0x28c)]:{_0x2f49bf=_0x1b2504(_0x7a8be3,_0x4fd9a7);break;}case _0x20b6c0['MoveRangeCommandId']:{_0x2f49bf=_0x7447ca(_0x7a8be3,_0x4fd9a7);break;}case _0x20b6c0[_0x279486(0x2ed)]:{_0x2f49bf=_0xdecc37(_0x7a8be3,_0x4fd9a7);break;}case _0x20b6c0['RemoveRowCommandId']:{_0x2f49bf=_0x1c997f(_0x7a8be3,_0x4fd9a7);break;}}const _0x1605aa=_0x2f12ed(_0x2f49bf,_0x4fd9a7),_0xa999ab=this[_0x279486(0x1f7)][_0x279486(0x1b6)](_0x175607);if(_0xa999ab&&_0x1605aa){const _0x3af35b={..._0xa999ab,'range':_0x1605aa};this[_0x279486(0x1f7)][_0x279486(0x2fc)](_0x175607,_0x3af35b),_0x341f87(()=>{const _0x32f89e=_0x279486,_0x5bf098=this['_refRangeService'][_0x32f89e(0x1ad)](_0x1605aa,_0xe7440f=>(_0x5bf098[_0x32f89e(0x382)](),_0x32ad36(_0xe7440f,_0x175607,_0x1cb2a7,_0x1605aa)));_0x2cda3d['add'](_0x5bf098);});}return{'redos':[],'undos':[]};};this[_0x43f1d5(0x1f7)][_0x43f1d5(0x3bd)]((_0x5f5535,_0x2fe8be)=>{const _0x1946bb=_0x43f1d5,{range:_0x437716,sheetID:_0x1f638c}=_0x5f5535,_0x4f6592=this[_0x1946bb(0x18d)][_0x1946bb(0x1ad)](_0x437716,_0x53784b=>(_0x4f6592[_0x1946bb(0x382)](),_0x32ad36(_0x53784b,_0x2fe8be,_0x1f638c,_0x437716)));_0x2cda3d['add'](_0x4f6592);});};this[_0x3ac922(0x3a8)](_0x48616d(this[_0x3ac922(0x219)][_0x3ac922(0x215)](()=>{_0xe41c32();})));}['_toggleOnline'](){const _0x1171a8=_0x2ad37e;var _0x1173ac,_0x5c5f27;if(this['_online']=!0x0,((_0x1173ac=this[_0x1171a8(0x22d)]['getFocusedUnit']())==null?void 0x0:_0x1173ac[_0x1171a8(0x30c)]())!==this['unitID'])return;const _0x56b385=(_0x5c5f27=this[_0x1171a8(0x291)][_0x1171a8(0x1b6)](_0x527ccf)[_0x1171a8(0x28d)]())==null?void 0x0:_0x5c5f27[0x0],_0x309def=this[_0x1171a8(0x22d)][_0x1171a8(0x2f0)](_0x463f4d['UNIVER_SHEET'])[_0x1171a8(0x1ab)]();_0x56b385&&_0x309def&&this['_updateLocalCursor'](_0x309def[_0x1171a8(0x236)](),_0x56b385);}[_0x2ad37e(0x1e8)](){const _0x53d5ca=_0x2ad37e;this[_0x53d5ca(0x1f2)]=!0x1;}};Be=Bi([B(0x2,_0x17dbc2(_0x7e98bc)),B(0x3,_0x17dbc2(Ke)),B(0x4,_0x17dbc2(_0x434c4a)),B(0x5,_0x2505af),B(0x6,_0xc8122f),B(0x7,_0x17dbc2(_0x437973))],Be);var Yi=Object[_0x2ad37e(0x316)],Wi=(_0x5c454d,_0x5781e8,_0x5719da,_0x37aa50)=>{const _0x827aa8=_0x2ad37e;for(var _0x17e268=_0x37aa50>0x1?void 0x0:_0x37aa50?Yi(_0x5781e8,_0x5719da):_0x5781e8,_0x3abf6a=_0x5c454d[_0x827aa8(0x309)]-0x1,_0x47e51b;_0x3abf6a>=0x0;_0x3abf6a--)(_0x47e51b=_0x5c454d[_0x3abf6a])&&(_0x17e268=_0x47e51b(_0x17e268)||_0x17e268);return _0x17e268;},Ce=(_0xcdc2f4,_0x213882)=>(_0x2f5a00,_0x5489e6)=>_0x213882(_0x2f5a00,_0x5489e6,_0xcdc2f4);let H=class extends _0x101452{constructor(_0x2d51c4,_0x11d579,_0x18ce1){const _0x45ccb4=_0x2ad37e;super(),_(this,_0x45ccb4(0x1cf),new Map()),_(this,_0x45ccb4(0x208),new _0x1752ef()),(this[_0x45ccb4(0x22d)]=_0x2d51c4,this[_0x45ccb4(0x291)]=_0x11d579,this[_0x45ccb4(0x198)]=_0x18ce1,this['_init']());}[_0x2ad37e(0x382)](){const _0x5a4c29=_0x2ad37e;super[_0x5a4c29(0x382)](),this['_entityInit$']['complete'](),this[_0x5a4c29(0x1cf)][_0x5a4c29(0x3bd)](_0x53af7f=>_0x53af7f['dispose']());}[_0x2ad37e(0x21d)](_0x135a50){const _0x606044=_0x2ad37e;return this['_entities'][_0x606044(0x21a)](_0x135a50)?this[_0x606044(0x1cf)][_0x606044(0x1b6)](_0x135a50)['cursorInfo$']:this[_0x606044(0x208)][_0x606044(0x2cc)](_0x13b02b(_0x337957=>_0x337957[_0x606044(0x345)]===_0x135a50),_0x57d107(_0x2ae0db=>_0x2ae0db['cursorInfo$']));}['_init'](){const _0x18d87=_0x2ad37e;this[_0x18d87(0x22d)][_0x18d87(0x2ef)](_0x463f4d['UNIVER_SHEET'])['pipe'](_0x59c3be(this[_0x18d87(0x23b)]))[_0x18d87(0x215)](async _0x1257fe=>{const _0x354973=_0x18d87,_0x4151f4=_0x1257fe[_0x354973(0x30c)](),_0x136101=await this['_startSheetCollabCursor'](_0x4151f4);this['_entityInit$'][_0x354973(0x229)](_0x136101),this[_0x354973(0x1cf)][_0x354973(0x2fc)](_0x4151f4,_0x136101);}),this[_0x18d87(0x22d)]['getTypeOfUnitAdded$'](_0x463f4d[_0x18d87(0x1fd)])['pipe'](_0x59c3be(this[_0x18d87(0x23b)]))['pipe'](_0x13b02b(_0x5af423=>!_0x5af423[_0x18d87(0x30c)]()[_0x18d87(0x295)]('__')))[_0x18d87(0x215)](async _0x59600c=>{const _0x4aa2d9=_0x18d87,_0x1ebf63=_0x59600c[_0x4aa2d9(0x30c)](),_0x37f8c0=await this[_0x4aa2d9(0x31f)](_0x1ebf63);this[_0x4aa2d9(0x208)][_0x4aa2d9(0x229)](_0x37f8c0),this[_0x4aa2d9(0x1cf)][_0x4aa2d9(0x2fc)](_0x1ebf63,_0x37f8c0);}),_0x53ab81(this[_0x18d87(0x22d)][_0x18d87(0x251)](_0x463f4d[_0x18d87(0x1fd)]),this[_0x18d87(0x22d)][_0x18d87(0x251)](_0x463f4d[_0x18d87(0x218)]))[_0x18d87(0x2cc)](_0x59c3be(this[_0x18d87(0x23b)]))['subscribe'](_0x5313cf=>{const _0x3a41b7=_0x18d87,_0x4cc327=_0x5313cf[_0x3a41b7(0x30c)](),_0x333222=this[_0x3a41b7(0x1cf)]['get'](_0x4cc327);_0x333222&&(_0x333222[_0x3a41b7(0x382)](),this[_0x3a41b7(0x1cf)][_0x3a41b7(0x258)](_0x4cc327));});}async[_0x2ad37e(0x3cf)](_0x343871){const _0x24dcae=_0x2ad37e,_0x4a2768=await this['_collabSessionService'][_0x24dcae(0x186)](_0x343871),_0x1f4d9c=this[_0x24dcae(0x291)][_0x24dcae(0x287)](Be,_0x343871,_0x4a2768);return _0x1f4d9c[_0x24dcae(0x3d0)](),_0x1f4d9c;}async[_0x2ad37e(0x31f)](_0x4d101f){const _0x5c735d=_0x2ad37e,_0x8d32a7=await this[_0x5c735d(0x198)][_0x5c735d(0x186)](_0x4d101f),_0x45a523=this[_0x5c735d(0x291)]['createInstance'](xe,_0x4d101f,_0x8d32a7);return _0x45a523['init'](),_0x45a523;}};H=Wi([Ce(0x0,_0x2505af),Ce(0x1,_0x17dbc2(_0x7e98bc)),Ce(0x2,_0x17dbc2(_0x3ad90a))],H);const Q=0x14,at=0xc8,Re=0x4,ji=0x5;function Vi(_0x4aa70e,_0x53f321){const _0x28fd8b=_0x2ad37e;let {radius:_0x4a6ec7,width:_0x120f07,height:_0xea970c}=_0x53f321;_0x4a6ec7=_0x4a6ec7!=null?_0x4a6ec7:0x0,_0x120f07=_0x120f07!=null?_0x120f07:0x1e,_0xea970c=_0xea970c!=null?_0xea970c:0x1e;let _0x19ee8f=0x0,_0x575616=0x0,_0x141247=0x0;_0x19ee8f=_0x575616=_0x141247=Math[_0x28fd8b(0x365)](_0x4a6ec7,_0x120f07/0x2,_0xea970c/0x2),_0x4aa70e[_0x28fd8b(0x34e)](),_0x4aa70e[_0x28fd8b(0x311)](_0x19ee8f,0x0),_0x4aa70e[_0x28fd8b(0x321)](_0x120f07-_0x575616,0x0),_0x4aa70e[_0x28fd8b(0x1a0)](_0x120f07-_0x575616,_0x575616,_0x575616,Math['PI']*0x3/0x2,0x0,!0x1),_0x4aa70e[_0x28fd8b(0x321)](_0x120f07,_0xea970c-_0x141247),_0x4aa70e[_0x28fd8b(0x1a0)](_0x120f07-_0x141247,_0xea970c-_0x141247,_0x141247,0x0,Math['PI']/0x2,!0x1),_0x4aa70e[_0x28fd8b(0x321)](0x0,_0xea970c),_0x4aa70e[_0x28fd8b(0x321)](0x0,_0x19ee8f),_0x4aa70e[_0x28fd8b(0x1a0)](_0x19ee8f,_0x19ee8f,_0x19ee8f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4aa70e['closePath'](),_0x53f321['fill']&&(_0x4aa70e[_0x28fd8b(0x1f8)](),_0x4aa70e[_0x28fd8b(0x281)]=_0x53f321['fill'],_0x53f321[_0x28fd8b(0x2a1)]===_0x28fd8b(0x33e)?_0x4aa70e[_0x28fd8b(0x34f)](_0x28fd8b(0x33e)):_0x4aa70e['fill'](),_0x4aa70e['restore']());}class Ee extends _0x3194ac{constructor(_0x213ec3,_0xf21067){const _0x564702=_0x2ad37e;super(_0x213ec3,_0xf21067),_(this,_0x564702(0x18b)),_(this,_0x564702(0x243)),(this['color']=_0xf21067==null?void 0x0:_0xf21067['color'],this[_0x564702(0x243)]=_0xf21067==null?void 0x0:_0xf21067[_0x564702(0x243)]);}static[_0x2ad37e(0x24d)](_0x5d8d62,_0x37f5f9){const _0x179ea3=_0x2ad37e,{text:_0x35df21,color:_0x388a09}=_0x37f5f9;_0x5d8d62[_0x179ea3(0x1f8)](),_0x5d8d62[_0x179ea3(0x37a)]=_0x179ea3(0x1ba);const _0xb1a992=_0x5d8d62[_0x179ea3(0x30b)](_0x35df21)['width'],_0x559d9e=Math[_0x179ea3(0x365)](_0xb1a992+0x2*Re,at);Vi(_0x5d8d62,{'height':Q,'radius':0x4,'width':_0x559d9e,'fill':_0x388a09}),_0x5d8d62[_0x179ea3(0x281)]=_0x179ea3(0x226);const _0x1d3ff5=Re,_0x351886=Q-ji,_0x27ce26=at-0x2*Re;if(_0xb1a992>_0x27ce26){let _0x11f5a9='',_0x1da797=0x0;for(const _0x5b0e0c of _0x35df21){const _0x4d7cba=_0x5d8d62[_0x179ea3(0x30b)](_0x5b0e0c)[_0x179ea3(0x1c6)];if(_0x1da797+_0x4d7cba<=_0x27ce26-_0x5d8d62[_0x179ea3(0x30b)]('...')[_0x179ea3(0x1c6)])_0x11f5a9+=_0x5b0e0c,_0x1da797+=_0x4d7cba;else{_0x11f5a9+=_0x179ea3(0x276);break;}}_0x5d8d62['fillText'](_0x11f5a9,_0x1d3ff5,_0x351886);}else _0x5d8d62[_0x179ea3(0x37e)](_0x35df21,_0x1d3ff5,_0x351886);_0x5d8d62[_0x179ea3(0x288)]();}[_0x2ad37e(0x2bb)](_0x598d56){const _0xac7208=_0x2ad37e;Ee[_0xac7208(0x24d)](_0x598d56,this);}}const De='collab-text-anchor-',Xi=_0x2ad37e(0x368),Gi=_0x2ad37e(0x230),z=0x6,Ki=1.5,be=0x4,zi=1.5,Ji=_0x2ad37e(0x200);class ct{constructor(_0xf288ec,_0xd4b88f,_0x4d4bee,_0x1c91af){const _0xc25d19=_0x2ad37e;_(this,_0xc25d19(0x2a4),[]),_(this,_0xc25d19(0x3b1),null),_(this,_0xc25d19(0x221),null),_(this,_0xc25d19(0x240),null),_(this,_0xc25d19(0x3ce),null),_(this,_0xc25d19(0x246),null),(this['_cursor']=_0xf288ec,this[_0xc25d19(0x363)]=_0xd4b88f,this[_0xc25d19(0x18f)]=_0x4d4bee,this[_0xc25d19(0x20f)]=_0x1c91af,this[_0xc25d19(0x1ea)]());}set[_0x2ad37e(0x203)](_0x33a37e){const _0x28af14=_0x2ad37e;_0x33a37e?(this[_0x28af14(0x240)]&&this[_0x28af14(0x240)][_0x28af14(0x25c)](),this[_0x28af14(0x221)]&&this[_0x28af14(0x221)][_0x28af14(0x2c7)]()):(this[_0x28af14(0x240)]&&this[_0x28af14(0x240)][_0x28af14(0x2c7)](),this[_0x28af14(0x221)]&&this[_0x28af14(0x221)][_0x28af14(0x25c)]());}['dispose'](){const _0x36b80f=_0x2ad37e;for(const _0x252a75 of this[_0x36b80f(0x2a4)])_0x252a75[_0x36b80f(0x382)]();this[_0x36b80f(0x221)]&&this['_textBubble'][_0x36b80f(0x382)](),this[_0x36b80f(0x240)]&&this['_anchorDot']['dispose'](),this[_0x36b80f(0x3b1)]&&this[_0x36b80f(0x3b1)][_0x36b80f(0x382)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2ad37e(0x1ea)](){const _0x5aef40=_0x2ad37e;var _0x33ba7f;const {_docSkeleton:_0x4f5904,_document:_0x6b4b45}=this,{color:_0x4cb491,name:_0x3c7a45,ranges:_0x5422cd}=this[_0x5aef40(0x20d)],_0x2bae65=_0x6b4b45[_0x5aef40(0x346)](),{docsLeft:_0x1d385f,docsTop:_0x9680cd}=_0x2bae65,_0x25f807=new _0x491b18(_0x2bae65,_0x4f5904);for(const {startOffset:_0x55a7d6,endOffset:_0x59c670,rangeType:_0xc45de0,segmentId:_0x5b4c79,segmentPage:_0x10f5a7,collapsed:_0x2ed735,isActive:_0x4ea665}of _0x5422cd){const _0xc765e9=_0x4f5904[_0x5aef40(0x1fe)](_0x55a7d6,!0x0,_0x5b4c79,_0x10f5a7);let _0x5a2774=_0x4f5904[_0x5aef40(0x1fe)](_0x59c670,!0x0,_0x5b4c79,_0x10f5a7);if(_0x5a2774==null&&(_0x5a2774=_0x4f5904[_0x5aef40(0x1fe)](_0x59c670-0x1,!0x1,_0x5b4c79,_0x10f5a7)),_0x4ea665){const {contentBoxPointGroup:_0x1819be}=_0x25f807[_0x5aef40(0x1c7)](_0x5a2774,_0x5a2774);if(_0x1819be[_0x5aef40(0x309)]===0x0)continue;this[_0x5aef40(0x3bc)](_0x4cb491,_0x1819be,_0x1d385f,_0x9680cd,_0x3c7a45),this[_0x5aef40(0x246)]=this[_0x5aef40(0x2fb)]();}if(_0xc765e9&&_0x5a2774){if(_0xc45de0===_0x3daaca[_0x5aef40(0x32a)]){const _0x583142=new _0x1d8b30(_0x2bae65,_0x4f5904),{pointGroup:_0x950c8b}=(_0x33ba7f=_0x583142[_0x5aef40(0x1c7)](_0xc765e9,_0x5a2774))!=null?_0x33ba7f:{};if(_0x950c8b==null||_0x950c8b[_0x5aef40(0x309)]===0x0)continue;this[_0x5aef40(0x395)](_0x4cb491,_0x950c8b,_0x1d385f,_0x9680cd);}else{if(!_0x2ed735){const {borderBoxPointGroup:_0x2f7930}=_0x25f807['getRangePointData'](_0xc765e9,_0x5a2774);if(_0x2f7930[_0x5aef40(0x309)]===0x0)continue;this[_0x5aef40(0x2af)](_0x4cb491,_0x2f7930,_0x1d385f,_0x9680cd);}}}}}['_drawAnchor'](_0x48a800,_0x2076b1,_0x13c790,_0x5c6253,_0x3313ba){const _0xb5896c=_0x2ad37e,_0x3f1f58=this[_0xb5896c(0x255)](_0x2076b1),{left:_0xc6d0c5,top:_0x5b505e,height:_0x434bf6}=_0x3f1f58,_0x31a795=this[_0xb5896c(0x355)](),_0xd83a9d=zi/_0x31a795,_0x38f63b=new _0x4d98e9(De+_0x27bf30(z),{'left':_0xc6d0c5+_0x13c790-_0xd83a9d,'top':_0x5b505e+_0x5c6253,'height':_0x434bf6,'width':Ki,'fill':_0x48a800||_0x51f4f8(_0x280995[_0xb5896c(0x380)],0x0),'strokeWidth':_0xd83a9d,'stroke':Ji,'evented':!0x0});this[_0xb5896c(0x3b1)]=_0x38f63b,this['_scene'][_0xb5896c(0x34a)](_0x38f63b,_0x186da9);const _0x9cc70f=new _0x4d98e9(De+_0x27bf30(z),{'left':_0xc6d0c5+_0x13c790-_0xd83a9d,'top':_0x5b505e+_0x5c6253-be/0x2,'height':be,'width':be,'fill':_0x48a800||_0x51f4f8(_0x280995['black'],0x0),'strokeWidth':0x0,'stroke':_0x48a800||_0x51f4f8(_0x280995['black'],0x0),'evented':!0x1});this[_0xb5896c(0x240)]=_0x9cc70f,this[_0xb5896c(0x363)][_0xb5896c(0x34a)](_0x9cc70f,_0x186da9);const _0x2a3143=new Ee(De+_0x27bf30(z),{'left':_0xc6d0c5+_0x13c790-_0xd83a9d,'top':_0x5b505e+_0x5c6253-Q,'text':_0x3313ba,'color':_0x48a800});this[_0xb5896c(0x221)]=_0x2a3143,this[_0xb5896c(0x363)]['addObject'](_0x2a3143,_0x186da9),this['_hover']=!0x1;}['_handleHover'](){const _0xe1ade6=_0x2ad37e,_0x40a038=this['_anchor']['onPointerEnter$'][_0xe1ade6(0x31d)](()=>{const _0x23aac3=_0xe1ade6;this[_0x23aac3(0x203)]=!0x0;}),_0x2f6744=this[_0xe1ade6(0x3b1)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x18a92b=_0xe1ade6;this[_0x18a92b(0x3ce)]&&clearTimeout(this[_0x18a92b(0x3ce)]),this[_0x18a92b(0x3ce)]=setTimeout(()=>{const _0x4e2725=_0x18a92b;this[_0x4e2725(0x203)]=!0x1;},0x7d0);});return()=>{const _0x588abf=_0xe1ade6;_0x40a038[_0x588abf(0x2a3)](),_0x2f6744[_0x588abf(0x2a3)]();};}[_0x2ad37e(0x2af)](_0x2fa3df,_0x390025,_0x2f4e2d,_0x2958ca){const _0x3f52d6=_0x2ad37e,_0x4ddaee=new _0xd09052(_0x2fa3df)[_0x3f52d6(0x2ac)](0.2)[_0x3f52d6(0x23c)](),_0x52f1e1=new _0x298b35(Xi+_0x27bf30(z),{'pointsGroup':_0x390025,'fill':_0x4ddaee||_0x51f4f8(_0x280995[_0x3f52d6(0x380)],0.2),'left':_0x2f4e2d,'top':_0x2958ca,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f52d6(0x2a4)][_0x3f52d6(0x1c2)](_0x52f1e1),this[_0x3f52d6(0x363)][_0x3f52d6(0x34a)](_0x52f1e1,_0x186da9);}[_0x2ad37e(0x395)](_0x418fd9,_0x175432,_0x189942,_0x43bdee){const _0x10bc62=_0x2ad37e,_0x28dce3=new _0xd09052(_0x418fd9)[_0x10bc62(0x2ac)](0.2)[_0x10bc62(0x23c)](),_0x387259=new _0x298b35(Gi+_0x27bf30(z),{'pointsGroup':_0x175432,'fill':_0x28dce3||_0x51f4f8(_0x280995['black'],0.2),'left':_0x189942,'top':_0x43bdee,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x10bc62(0x1c2)](_0x387259),this[_0x10bc62(0x363)][_0x10bc62(0x34a)](_0x387259,_0x186da9);}[_0x2ad37e(0x255)](_0x49933a){const _0x2a9cdd=_0x49933a[0x0],_0x41f0b5=_0x2a9cdd[0x0],_0x53b1f8=_0x2a9cdd[0x2],{x:_0x31dc5a,y:_0x1559cd}=_0x41f0b5,{x:_0x58e4a6,y:_0x5f2de6}=_0x53b1f8;return{'left':_0x31dc5a,'top':_0x1559cd,'width':_0x58e4a6-_0x31dc5a,'height':_0x5f2de6-_0x1559cd};}[_0x2ad37e(0x355)](){const {scaleX:_0x1326f9,scaleY:_0x5c387e}=this['_scene']['getAncestorScale']();return Math['max'](_0x1326f9,_0x5c387e);}}var Zi=Object[_0x2ad37e(0x316)],Qi=(_0x2493da,_0x3d3a33,_0x182230,_0x4d9cfd)=>{const _0x81897d=_0x2ad37e;for(var _0x16df30=_0x4d9cfd>0x1?void 0x0:_0x4d9cfd?Zi(_0x3d3a33,_0x182230):_0x3d3a33,_0x42d3f6=_0x2493da[_0x81897d(0x309)]-0x1,_0x23eff7;_0x42d3f6>=0x0;_0x42d3f6--)(_0x23eff7=_0x2493da[_0x42d3f6])&&(_0x16df30=_0x23eff7(_0x16df30)||_0x16df30);return _0x16df30;},ie=(_0x4b0dcb,_0x375b60)=>(_0x248594,_0x23f030)=>_0x375b60(_0x248594,_0x23f030,_0x4b0dcb);let Fe=class extends _0x101452{constructor(_0x5c9b9c,_0x1b7052,_0x7fdaa9,_0x3af945,_0x13f8d4){const _0x6476c4=_0x2ad37e;super(),_(this,_0x6476c4(0x37d),[]),_(this,_0x6476c4(0x27d),[]),(this['_context']=_0x5c9b9c,this[_0x6476c4(0x31c)]=_0x1b7052,this['_collabCursorController']=_0x7fdaa9,this['_commandService']=_0x3af945,this['_themeService']=_0x13f8d4,this[_0x6476c4(0x3ad)]());}[_0x2ad37e(0x3ad)](){const _0x31d6fe=_0x2ad37e,_0x200742=this[_0x31d6fe(0x36a)]['unitId'],_0x1a9bfe=this['_docSkeletonManagerService'];this[_0x31d6fe(0x3a8)](_0x118445([this[_0x31d6fe(0x1fc)]['getCollabCursors$'](_0x200742),this[_0x31d6fe(0x327)][_0x31d6fe(0x339)]])[_0x31d6fe(0x2cc)](_0x4c7446(([_0x13bd01,_0x51abae])=>({'skeleton':_0x1a9bfe['getSkeleton'](),'cursors':[..._0x13bd01[_0x31d6fe(0x336)]()][_0x31d6fe(0x20c)](_0x380407=>({..._0x380407,'color':this[_0x31d6fe(0x327)][_0x31d6fe(0x354)](_0x380407[_0x31d6fe(0x18b)])}))})))[_0x31d6fe(0x215)](_0x13519c=>{const _0x490490=_0x31d6fe;if(this[_0x490490(0x3ac)](),_0x13519c){const {skeleton:_0x2507ee,cursors:_0x2a1a84}=_0x13519c;this[_0x490490(0x194)](_0x2507ee,_0x2a1a84);}})),this[_0x31d6fe(0x3be)](),this[_0x31d6fe(0x34b)]();}[_0x2ad37e(0x194)](_0x53bdd8,_0x43588b){const _0x326387=_0x2ad37e,{scene:_0x5a4aad,mainComponent:_0x8693f}=this[_0x326387(0x36a)],_0x278ca7=_0x43588b['map'](_0xbbd40e=>new ct(_0xbbd40e,_0x5a4aad,_0x53bdd8,_0x8693f));this['_cursorShapes']=_0x278ca7,this[_0x326387(0x27d)]=_0x43588b;}[_0x2ad37e(0x1ff)](){const _0x31d5dc=_0x2ad37e;this['_removeCollabCursors']();const {scene:_0x5c7507,mainComponent:_0x14aab5}=this[_0x31d5dc(0x36a)],_0x1690b5=this[_0x31d5dc(0x31c)][_0x31d5dc(0x2fe)](),_0x45f6c0=this[_0x31d5dc(0x27d)]['map'](_0x3f62d0=>new ct(_0x3f62d0,_0x5c7507,_0x1690b5,_0x14aab5));this[_0x31d5dc(0x37d)]=_0x45f6c0;}['_removeCollabCursors'](){const _0x3c6178=_0x2ad37e;this[_0x3c6178(0x37d)][_0x3c6178(0x3bd)](_0x4d70c3=>_0x4d70c3[_0x3c6178(0x382)]()),this[_0x3c6178(0x37d)]=[];}[_0x2ad37e(0x34b)](){const _0x17a16a=_0x2ad37e,_0x55b6ac=[_0x2828f2['id']];this[_0x17a16a(0x3a8)](this['_commandService']['onCommandExecuted'](_0x4e0a91=>{const _0x3fa42a=_0x17a16a;_0x55b6ac[_0x3fa42a(0x181)](_0x4e0a91['id'])&&_0x4e0a91[_0x3fa42a(0x2d1)][_0x3fa42a(0x1d8)]===this[_0x3fa42a(0x36a)]['unitId']&&this[_0x3fa42a(0x1ff)]();}));}[_0x2ad37e(0x3be)](){const _0x2810f9=_0x2ad37e;this['disposeWithMe'](_0x50f12c(this[_0x2810f9(0x36a)][_0x2810f9(0x2c6)]['onTransformChange$'])[_0x2810f9(0x2cc)](_0x44c16b(_0x142df7=>_0x142df7[_0x2810f9(0x212)]===_0x1f11cc[_0x2810f9(0x31a)]),_0x4f3700(0x10))[_0x2810f9(0x215)](()=>{const _0x1cbda7=_0x2810f9;this[_0x1cbda7(0x1ff)]();}));}};Fe=Qi([ie(0x1,_0x17dbc2(_0x4b0954)),ie(0x2,_0x17dbc2(H)),ie(0x3,_0xc8122f),ie(0x4,_0x17dbc2(_0x209982))],Fe);const qi=0x1,en=1.5;class tn extends _0x3194ac{constructor(_0x1c69de,_0x2f9ea6){const _0x465093=_0x2ad37e;super(_0x1c69de,_0x2f9ea6),_(this,'_color'),_(this,_0x465093(0x1b5),!0x1),_(this,_0x465093(0x33a)),_(this,_0x465093(0x2d3),''),_(this,_0x465093(0x260),'top'),_(this,_0x465093(0x2a6)),(_0x2f9ea6&&this['setShapeProps'](_0x2f9ea6),this[_0x465093(0x2b0)]['subscribeEvent'](()=>this[_0x465093(0x1e2)]({'hovered':!0x0})),this['onPointerLeave$'][_0x465093(0x31d)](()=>this[_0x465093(0x1e2)]({'hovered':!0x1})));}[_0x2ad37e(0x1e2)](_0x5a9954){const _0x335451=_0x2ad37e;var _0x55a5bd,_0x2ed205,_0x27c259,_0x415aba,_0x324db9,_0x181054;this[_0x335451(0x3c2)]=(_0x55a5bd=_0x5a9954['color'])!=null?_0x55a5bd:this[_0x335451(0x3c2)],this[_0x335451(0x1b5)]=(_0x2ed205=_0x5a9954['hovered'])!=null?_0x2ed205:this[_0x335451(0x1b5)],this[_0x335451(0x33a)]=(_0x27c259=_0x5a9954[_0x335451(0x196)])!=null?_0x27c259:this[_0x335451(0x33a)],this[_0x335451(0x2d3)]=(_0x415aba=_0x5a9954[_0x335451(0x272)])!=null?_0x415aba:this[_0x335451(0x2d3)],this['_labelPosition']=(_0x324db9=_0x5a9954[_0x335451(0x225)])!=null?_0x324db9:this[_0x335451(0x260)],this[_0x335451(0x2a6)]=(_0x181054=_0x5a9954[_0x335451(0x3cd)])!=null?_0x181054:this['_backgroundColor'],this[_0x335451(0x3c6)]({'width':_0x5a9954[_0x335451(0x1c6)],'height':_0x5a9954[_0x335451(0x304)]});}['onMouseMove'](_0x1ca9ec){const _0x374e75=_0x2ad37e,{row:_0x3a6220,column:_0x5dc903}=_0x1ca9ec;if(_0x3a6220>=this[_0x374e75(0x33a)]['startRow']&&_0x3a6220<=this[_0x374e75(0x33a)][_0x374e75(0x2c1)]&&_0x5dc903>=this[_0x374e75(0x33a)][_0x374e75(0x329)]&&_0x5dc903<=this['_range'][_0x374e75(0x36d)]){this[_0x374e75(0x1e2)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2ad37e(0x1df)](_0xa23dff){return!0x1;}[_0x2ad37e(0x2bb)](_0x2678b7){const _0x30ad75=_0x2ad37e;_0x4d98e9[_0x30ad75(0x24d)](_0x2678b7,{'width':this[_0x30ad75(0x1c6)],'height':this[_0x30ad75(0x304)],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x30ad75(0x2a6)]}),this[_0x30ad75(0x1b5)]&&(_0x2678b7['save'](),_0x2678b7[_0x30ad75(0x30a)](0x1,0x0,0x0,0x1,this[_0x30ad75(0x1c6)],this[_0x30ad75(0x260)]==='bottom'?0x0:-Q),Ee[_0x30ad75(0x24d)](_0x2678b7,{'text':this[_0x30ad75(0x2d3)],'color':this[_0x30ad75(0x3c2)]}),_0x2678b7[_0x30ad75(0x288)]());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3a8a00,_0x5a10c3,_0x81fc42,_0x24c8ea)=>{const _0x19cba8=_0x2ad37e;for(var _0x575f96=_0x24c8ea>0x1?void 0x0:_0x24c8ea?sn(_0x5a10c3,_0x81fc42):_0x5a10c3,_0x143b0b=_0x3a8a00[_0x19cba8(0x309)]-0x1,_0x3189c1;_0x143b0b>=0x0;_0x143b0b--)(_0x3189c1=_0x3a8a00[_0x143b0b])&&(_0x575f96=_0x3189c1(_0x575f96)||_0x575f96);return _0x575f96;},Ne=(_0x3da464,_0x1a61ab)=>(_0x8e686b,_0x21073b)=>_0x1a61ab(_0x8e686b,_0x21073b,_0x3da464);const rn=0x1389;let ke=class extends _0x101452{constructor(_0x2b5735,_0x156509,_0x3550ce,_0x5df282){const _0x3051d1=_0x2ad37e;super(),_(this,_0x3051d1(0x27d),new Set()),_(this,_0x3051d1(0x197),null),(this[_0x3051d1(0x36a)]=_0x2b5735,this[_0x3051d1(0x2f7)]=_0x156509,this['_collabCursorController']=_0x3550ce,this[_0x3051d1(0x327)]=_0x5df282,this['_init']());}[_0x2ad37e(0x3ad)](){const _0x51cdbb=_0x2ad37e;this['_sheetSkeletonManagerService'][_0x51cdbb(0x2a2)][_0x51cdbb(0x2cc)](_0x21fa26(this[_0x51cdbb(0x23b)]),_0x1c1fbe(_0x240daa=>{const _0xa29f8c=_0x51cdbb;if(_0x240daa){const _0x30f874=_0x240daa['sheetId'];return _0x118445(this['_collabCursorController'][_0xa29f8c(0x21d)](this['_context'][_0xa29f8c(0x1d8)]),this['_themeService'][_0xa29f8c(0x339)])['pipe'](_0x4c7446(([_0xbf8f6b,_0x4c4373])=>{const _0x347d7c=new Map();return _0xbf8f6b['forEach']((_0x146787,_0x26a5b5)=>{const _0x4f8392=_0x56fb;if(_0x146787[_0x4f8392(0x341)]===_0x30f874){const _0x12bf2e={..._0x146787};_0x12bf2e[_0x4f8392(0x18b)]=this[_0x4f8392(0x327)]['getColorFromTheme'](_0x146787[_0x4f8392(0x18b)]),_0x347d7c['set'](_0x26a5b5,_0x12bf2e);}}),{'skeleton':_0x240daa,'cursors':_0x347d7c};}));}return _0x49bed0({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3a41f8,cursors:_0x5a9156})=>{const _0x3b047b=_0x51cdbb;this['_removeCollabCursors'](),_0x3a41f8&&this[_0x3b047b(0x194)](_0x3a41f8,_0x5a9156);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x51cdbb(0x215)](_0x72aecd=>{const _0x575f0=_0x51cdbb;if(_0x72aecd==null)return;const {skeleton:_0x1e98e1}=_0x72aecd,{scene:_0x38139b}=this['_context'];_0x38139b[_0x575f0(0x22b)][_0x575f0(0x31d)](_0x453269(_0x177395=>{const _0x6caae1=_0x575f0;var _0x361427,_0x404c94;const {offsetX:_0x3d88f1,offsetY:_0xff3b74}=_0x177395,{x:_0x2fc40d,y:_0x2bf5f1}=_0x38139b[_0x6caae1(0x310)](_0x294ab2[_0x6caae1(0x1d1)]([_0x3d88f1,_0xff3b74])),{scaleX:_0x5d514e,scaleY:_0x59017f}=_0x38139b[_0x6caae1(0x357)](),_0x3ea531=_0x38139b[_0x6caae1(0x2d0)](_0xacfd79[_0x6caae1(0x2c8)]),_0x3e186f=_0x38139b[_0x6caae1(0x29b)](_0x294ab2[_0x6caae1(0x1d1)]([_0x2fc40d,_0x2bf5f1]),_0x3ea531),_0x29d2a7=_0x1e98e1['getCellPositionByOffset'](_0x3d88f1,_0xff3b74,_0x5d514e,_0x59017f,_0x3e186f);((_0x361427=this[_0x6caae1(0x197)])==null?void 0x0:_0x361427[_0x6caae1(0x1ac)])===_0x29d2a7['column']&&((_0x404c94=this[_0x6caae1(0x197)])==null?void 0x0:_0x404c94[_0x6caae1(0x284)])===_0x29d2a7[_0x6caae1(0x284)]||this[_0x6caae1(0x27d)]['forEach'](_0x5e0db9=>{const _0x56305d=_0x6caae1;_0x5e0db9[_0x56305d(0x189)](_0x29d2a7);});},0x64));});}['_updateCollabCursors'](_0x5735b4,_0x1fabc3){const _0x59a45a=_0x2ad37e;var _0x345686;const _0x23e60e=(_0x345686=this[_0x59a45a(0x2f7)][_0x59a45a(0x250)]())==null?void 0x0:_0x345686['skeleton'];if(!_0x23e60e)return;const _0x8821d3=this[_0x59a45a(0x297)]();if(!_0x8821d3)return;this[_0x59a45a(0x27d)][_0x59a45a(0x3bd)](_0x4be541=>{const _0x1b0418=_0x59a45a;_0x4be541[_0x1b0418(0x19d)]();});const {scene:_0xf8afe4}=_0x8821d3,_0x9e5d6c=on(Array[_0x59a45a(0x237)](_0x1fabc3['values']()))[_0x59a45a(0x2db)](_0x2e2609=>{const _0x3b51e5=_0x59a45a,{color:_0x554f3e,range:_0x389b0f,name:_0x441cea,selection:_0x444f5b,sheetID:_0x943255}=_0x2e2609,{startColumn:_0x29476f,startRow:_0x5565e5,endColumn:_0x697e41,endRow:_0x245cc7}=_0x389b0f,_0x11a81d=_0x3bb5c5(_0x5565e5,_0x29476f,_0xf8afe4,_0x23e60e),_0x3e1c4b=_0x3bb5c5(_0x245cc7,_0x697e41,_0xf8afe4,_0x23e60e),{columnHeaderHeightAndMarginTop:_0x4d99b7}=_0x23e60e,{startX:_0x11926a,startY:_0xdd11da}=_0x11a81d,{endX:_0x342ca3,endY:_0x17fb77}=_0x3e1c4b,_0x26940f=_0x342ca3-_0x11926a,_0x28066a=_0x17fb77-_0xdd11da,_0x17212d={'labelPosition':_0xdd11da-_0x4d99b7>=Q?_0x3b51e5(0x248):_0x3b51e5(0x323),'sheetID':_0x943255,'range':_0x389b0f,'color':_0x554f3e,'name':_0x441cea,'selection':_0x444f5b,'left':_0x11926a,'top':_0xdd11da,'width':_0x26940f,'height':_0x28066a,'evented':!0x1,'zIndex':rn};return new tn(_0x441cea,_0x17212d);});_0xf8afe4[_0x59a45a(0x362)](_0x9e5d6c,qi),this['_cursors']=new Set(_0x9e5d6c);}['_removeCollabCursors'](){const _0x1e4505=_0x2ad37e;var _0x4cd566;(_0x4cd566=this['_cursors'])==null||_0x4cd566['forEach'](_0x4f0af1=>_0x4f0af1[_0x1e4505(0x382)]());}['_getSheetObject'](){const _0x8c10e7=_0x2ad37e;return _0x4f5a02(this[_0x8c10e7(0x36a)][_0x8c10e7(0x2b7)],this[_0x8c10e7(0x36a)]);}};ke=nn([Ne(0x1,_0x17dbc2(_0x1b317e)),Ne(0x2,_0x17dbc2(H)),Ne(0x3,_0x17dbc2(_0x209982))],ke);function on(_0x29355f){const _0xa9ee40=_0x2ad37e,_0x1e37fb=new Map();return _0x29355f[_0xa9ee40(0x3bd)](_0x42a1a9=>{const _0x224a9b=_0xa9ee40;if(_0x1e37fb[_0x224a9b(0x21a)](_0x42a1a9[_0x224a9b(0x314)])){const _0x457f5f=_0x1e37fb['get'](_0x42a1a9['selection']);_0x457f5f[_0x224a9b(0x272)]+=',\x20'+_0x42a1a9[_0x224a9b(0x272)];}else _0x1e37fb['set'](_0x42a1a9[_0x224a9b(0x314)],_0x42a1a9);}),Array[_0xa9ee40(0x237)](_0x1e37fb[_0xa9ee40(0x336)]());}var an=Object[_0x2ad37e(0x316)],cn=(_0x3c87f0,_0x13ea2a,_0x25e24b,_0x2fe6d4)=>{const _0x3ce62e=_0x2ad37e;for(var _0x4afed0=_0x2fe6d4>0x1?void 0x0:_0x2fe6d4?an(_0x13ea2a,_0x25e24b):_0x13ea2a,_0x5d8494=_0x3c87f0[_0x3ce62e(0x309)]-0x1,_0xcfd9a8;_0x5d8494>=0x0;_0x5d8494--)(_0xcfd9a8=_0x3c87f0[_0x5d8494])&&(_0x4afed0=_0xcfd9a8(_0x4afed0)||_0x4afed0);return _0x4afed0;},F=(_0x5e2b08,_0x3a9e78)=>(_0x26cf86,_0x4c7b86)=>_0x3a9e78(_0x26cf86,_0x4c7b86,_0x5e2b08);let _e=class extends _0x58948b{constructor(_0x2c26fd,_0x330321,_0xd098ea,_0x55dd6c,_0x2e4b37,_0x398b0d){const _0x2d0119=_0x2ad37e;super(),this[_0x2d0119(0x377)]=_0x2c26fd,this[_0x2d0119(0x334)]=_0x330321,this[_0x2d0119(0x1a8)]=_0xd098ea,this[_0x2d0119(0x344)]=_0x55dd6c,this[_0x2d0119(0x273)]=_0x2e4b37,this['_localeService']=_0x398b0d,this[_0x2d0119(0x1d9)](),this[_0x2d0119(0x283)]();}[_0x2ad37e(0x1d9)](){const _0x14b1fb=_0x2ad37e;this[_0x14b1fb(0x3a8)](this[_0x14b1fb(0x377)][_0x14b1fb(0x3a9)](()=>{const _0x20defa=_0x14b1fb;if(this[_0x20defa(0x334)]['saveTaskMap'][_0x20defa(0x228)])return this[_0x20defa(0x396)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2ad37e(0x283)](){const _0x1987be=_0x2ad37e;this['disposeWithMe'](this[_0x1987be(0x1a8)][_0x1987be(0x371)][_0x1987be(0x215)](_0x3d298e=>{const _0x10a3d6=_0x1987be;_0x3d298e['id']===_0x3406a2[_0x10a3d6(0x317)]&&this['_messageService'][_0x10a3d6(0x2c7)]({'type':_0x1bf3a5['Warning'],'content':this[_0x10a3d6(0x396)]['t'](_0x10a3d6(0x38d))}),_0x3d298e['id']===_0x3406a2[_0x10a3d6(0x214)]&&this[_0x10a3d6(0x344)]['show']({'type':_0x1bf3a5[_0x10a3d6(0x39c)],'content':this[_0x10a3d6(0x396)]['t']('collaboration.closeRoom')}),_0x3d298e['id']===_0x3406a2[_0x10a3d6(0x333)]&&this[_0x10a3d6(0x273)][_0x10a3d6(0x2c7)]({'title':this[_0x10a3d6(0x396)]['t'](_0x10a3d6(0x205)),'content':this['_localeService']['t'](_0x10a3d6(0x2aa)),'type':_0x10a3d6(0x231),'duration':0x0}),_0x3d298e['id']===_0x3406a2[_0x10a3d6(0x378)]&&this[_0x10a3d6(0x344)][_0x10a3d6(0x2c7)]({'type':_0x1bf3a5[_0x10a3d6(0x2bd)],'content':this['_localeService']['t'](_0x10a3d6(0x35b))+'('+_0x3d298e['data']+')'}),_0x3d298e['id']===_0x3406a2[_0x10a3d6(0x182)]&&this[_0x10a3d6(0x344)]['show']({'type':_0x1bf3a5['Warning'],'content':this[_0x10a3d6(0x396)]['t'](_0x3d298e[_0x10a3d6(0x206)]||'')}),_0x3d298e['id']===_0x3406a2[_0x10a3d6(0x1c5)]&&this[_0x10a3d6(0x344)]['show']({'type':_0x1bf3a5[_0x10a3d6(0x39c)],'content':this[_0x10a3d6(0x396)]['t'](_0x10a3d6(0x1a9))}),_0x3d298e['id']===_0x3406a2[_0x10a3d6(0x1be)]&&this[_0x10a3d6(0x344)][_0x10a3d6(0x2c7)]({'type':_0x1bf3a5[_0x10a3d6(0x2bd)],'content':this[_0x10a3d6(0x396)]['t'](_0x10a3d6(0x29f))}),_0x3d298e['id']===_0x3406a2['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x10a3d6(0x344)][_0x10a3d6(0x2c7)]({'type':_0x1bf3a5['Error'],'content':this[_0x10a3d6(0x396)]['t'](_0x10a3d6(0x35c))});}));}};_e=cn([F(0x0,_0x55bc43),F(0x1,_0x2a978f),F(0x2,_0x17dbc2(_0x33dbbb)),F(0x3,_0x464b74),F(0x4,_0x574ce0),F(0x5,_0x17dbc2(_0x18b100))],_e);var _n=Object[_0x2ad37e(0x316)],ln=(_0xdc9e1c,_0x51de54,_0x29b0d9,_0xd2c016)=>{const _0x1597dc=_0x2ad37e;for(var _0x19ecd9=_0xd2c016>0x1?void 0x0:_0xd2c016?_n(_0x51de54,_0x29b0d9):_0x51de54,_0x141484=_0xdc9e1c[_0x1597dc(0x309)]-0x1,_0x5c0924;_0x141484>=0x0;_0x141484--)(_0x5c0924=_0xdc9e1c[_0x141484])&&(_0x19ecd9=_0x5c0924(_0x19ecd9)||_0x19ecd9);return _0x19ecd9;},ne=(_0x1e0cc2,_0x222cdd)=>(_0x269c94,_0x7d52f9)=>_0x222cdd(_0x269c94,_0x7d52f9,_0x1e0cc2);let le=class extends _0x58948b{constructor(_0x5a365f,_0x3c75fb,_0x3f6799,_0x43fe37){const _0x5ea394=_0x2ad37e;super(),_(this,_0x5ea394(0x2d5)),(this[_0x5ea394(0x291)]=_0x5a365f,this[_0x5ea394(0x367)]=_0x3c75fb,this[_0x5ea394(0x191)]=_0x3f6799,this['_collaborationSessionService']=_0x43fe37,this[_0x5ea394(0x3ad)]());}[_0x2ad37e(0x3ad)](){const _0x50711e=_0x2ad37e;this['_initWindowErrorListener'](),this[_0x50711e(0x1f0)](),this[_0x50711e(0x18a)](),this[_0x50711e(0x352)]();}['_initUserListener'](){const _0x25e51b=_0x2ad37e;this[_0x25e51b(0x3a8)](this['_collaborationSessionService'][_0x25e51b(0x244)][_0x25e51b(0x215)](_0x391956=>{const _0x466da8=_0x25e51b;this['_memberID']=_0x391956==null?void 0x0:_0x391956[_0x466da8(0x302)];}));}['_initWindowErrorListener'](){const _0x5a15dd=_0x2ad37e,_0x353f5b=_0x8d6dda=>{const _0x185b27=_0x56fb;var _0x5cb558;this[_0x185b27(0x20e)]('error','[Window\x20Error]:\x20'+_0x8d6dda['message']+'\x20at\x20'+_0x8d6dda[_0x185b27(0x3c5)]+':'+_0x8d6dda[_0x185b27(0x376)]+':'+_0x8d6dda[_0x185b27(0x1e6)]+'\x0a'+(((_0x5cb558=_0x8d6dda[_0x185b27(0x231)])==null?void 0x0:_0x5cb558[_0x185b27(0x3aa)])||''));};window['addEventListener'](_0x5a15dd(0x231),_0x353f5b),this[_0x5a15dd(0x3a8)](()=>{const _0x42604e=_0x5a15dd;window[_0x42604e(0x207)]('error',_0x353f5b);});}[_0x2ad37e(0x1f0)](){const _0xc40416=_0x2ad37e,_0x1ef9e7=_0x1b6928=>{const _0x1587be=_0x56fb;this['_uploadLog'](_0x1587be(0x231),'[Unhandled\x20Rejection]:\x20'+_0x1b6928[_0x1587be(0x24a)]);};window[_0xc40416(0x19a)](_0xc40416(0x2e0),_0x1ef9e7),this[_0xc40416(0x3a8)](()=>{const _0x5e6920=_0xc40416;window[_0x5e6920(0x207)](_0x5e6920(0x2e0),_0x1ef9e7);});}[_0x2ad37e(0x18a)](){const _0x35cb9e=_0x2ad37e,_0x569cab=this[_0x35cb9e(0x191)][_0x35cb9e(0x231)][_0x35cb9e(0x271)](this['_logService']);this[_0x35cb9e(0x191)][_0x35cb9e(0x231)]=(..._0x5f09e8)=>{const _0x5cd472=_0x35cb9e,_0x3e6f20=_0x5f09e8[_0x5cd472(0x2db)](_0x441852=>_0x441852 instanceof Error?_0x441852['message']+'\x0a'+_0x441852[_0x5cd472(0x3aa)]:String(_0x441852))['join']('\x20');this[_0x5cd472(0x20e)](_0x5cd472(0x231),_0x5cd472(0x26a)+_0x3e6f20),_0x569cab(..._0x5f09e8);},this[_0x35cb9e(0x3a8)](()=>{const _0x2be7cf=_0x35cb9e;this[_0x2be7cf(0x191)]['error']=_0x569cab;});}['_uploadLog'](_0xcc5bcb,_0x1c3c7e){const _0x6d049=_0x2ad37e;try{const _0x52c1eb={'userId':this[_0x6d049(0x2d5)],'logLabel':_0xcc5bcb,'content':_0x1c3c7e};this['_httpService'][_0x6d049(0x1a7)](_0x6d049(0x26f),{'body':_0x52c1eb})[_0x6d049(0x1d6)](()=>{});}catch{}}};le=ln([ne(0x0,_0x17dbc2(_0x7e98bc)),ne(0x1,_0x17dbc2(_0x3670ce)),ne(0x2,_0x114287),ne(0x3,_0x17dbc2(_0x3ad90a))],le);const hn=_0x2ad37e(0x360),_t={};var un=Object[_0x2ad37e(0x316)],dn=(_0x2e7233,_0x3b8dce,_0x32a7c9,_0x2d0ecf)=>{const _0x59c4b7=_0x2ad37e;for(var _0x4b12da=_0x2d0ecf>0x1?void 0x0:_0x2d0ecf?un(_0x3b8dce,_0x32a7c9):_0x3b8dce,_0x3559fb=_0x2e7233[_0x59c4b7(0x309)]-0x1,_0x14a14c;_0x3559fb>=0x0;_0x3559fb--)(_0x14a14c=_0x2e7233[_0x3559fb])&&(_0x4b12da=_0x14a14c(_0x4b12da)||_0x4b12da);return _0x4b12da;},lt=(_0x38180b,_0x57c0c1)=>(_0x1f4e67,_0x58c321)=>_0x57c0c1(_0x1f4e67,_0x58c321,_0x38180b);let he=class{constructor(_0xfab0bc,_0x150cfd){const _0x235e0c=_0x2ad37e;this['_transformService']=_0xfab0bc,this[_0x235e0c(0x3ab)]=_0x150cfd;}['transformIMECache'](_0x1667f0){const _0x308411=_0x2ad37e;this['_transformUndoRedoStack'](_0x1667f0),this[_0x308411(0x388)](_0x1667f0);}['transformRemoteChangeset'](_0x71eb14){const _0x22dbde=_0x2ad37e,{unitID:_0x41549a}=_0x71eb14,_0x5aed7d=this[_0x22dbde(0x3ab)]['getRenderById'](_0x41549a)[_0x22dbde(0x269)](_0x1d477d),{redoCache:_0x499128}=_0x5aed7d[_0x22dbde(0x375)]();if(_0x499128['length']===0x0)return _0x71eb14;let _0x3163d7=_0x1b7cfb[_0x22dbde(0x1c0)](_0x71eb14['mutations'][0x0]);for(let _0x2fa4d1=0x0;_0x2fa4d1<_0x499128[_0x22dbde(0x309)];_0x2fa4d1++){const _0x1d89d6={'id':'doc.mutation.rich-text-editing','params':{..._0x499128[_0x2fa4d1]}},_0x31720c=this[_0x22dbde(0x25f)][_0x22dbde(0x286)](_0x3163d7,_0x1d89d6,!0x1);if(_0x27b05a(_0x31720c))throw _0x31720c[_0x22dbde(0x231)];_0x3163d7=_0x31720c[_0x22dbde(0x3a6)];}return{..._0x1b7cfb[_0x22dbde(0x1c0)](_0x71eb14),'mutations':[_0x3163d7]};}['_transformUndoRedoStack'](_0x3562af){const _0x885475=_0x2ad37e,{unitID:_0x3941b6}=_0x3562af,_0x11ba95=this[_0x885475(0x3ab)][_0x885475(0x18c)](_0x3941b6)[_0x885475(0x269)](_0x1d477d),{undoCache:_0x4c4a94,redoCache:_0x2dba92}=_0x11ba95['getUndoRedoMutationParamsCache']();if(_0x4c4a94[_0x885475(0x309)]===0x0||_0x2dba92[_0x885475(0x309)]===0x0)return;const _0x561ac0=[],_0x52e6ef=[];let _0x3c5685=_0x1b7cfb[_0x885475(0x1c0)](_0x3562af[_0x885475(0x29a)][0x0]),_0x1283eb=_0x1b7cfb[_0x885475(0x1c0)](_0x3562af['mutations'][0x0]);for(let _0x54ea36=_0x4c4a94['length']-0x1;_0x54ea36>=0x0;_0x54ea36--){const _0x471cdf={'id':_0x885475(0x2f6),'params':{..._0x4c4a94[_0x54ea36]}},_0x5663c4={'id':_0x885475(0x2f6),'params':{..._0x2dba92[_0x54ea36]}},_0x2c288f=this[_0x885475(0x25f)]['transformMutation'](_0x3c5685,_0x471cdf,!0x1),_0x470696=this[_0x885475(0x25f)][_0x885475(0x286)](_0x1283eb,_0x5663c4,!0x1);if(_0x27b05a(_0x2c288f))throw _0x2c288f[_0x885475(0x231)];if(_0x27b05a(_0x470696))throw _0x470696[_0x885475(0x231)];_0x561ac0['unshift'](_0x2c288f['m2Prime'][_0x885475(0x2d1)]),_0x52e6ef[_0x885475(0x33b)](_0x470696[_0x885475(0x1fa)]['params']),_0x3c5685=_0x2c288f[_0x885475(0x3a6)],_0x1283eb=_0x470696['m1Prime'];}_0x11ba95[_0x885475(0x3b4)]({'undoCache':_0x561ac0,'redoCache':_0x52e6ef});}['_transformPreviousActiveRange'](_0x470aa9){const _0x551013=_0x2ad37e,{unitID:_0xb70b56}=_0x470aa9,_0x5a865d=this[_0x551013(0x3ab)]['getRenderById'](_0xb70b56)['with'](_0x1d477d),_0x162b11=_0x5a865d[_0x551013(0x2b5)]();if(_0x162b11==null)return;const _0x5f3dbe=[{'id':_0x551013(0x2f6),'params':{'unitId':_0x470aa9[_0x551013(0x345)],'actions':null,'textRanges':[_0x162b11]}}],_0x5dfa26=this['_transformService']['transformMutationsWithChangeset'](_0x470aa9,_0x5f3dbe);if(!_0x4a4a43(_0x5dfa26))throw _0x5dfa26[_0x551013(0x231)];const _0x571952=_0x5dfa26['m2Prime'][0x0]['params'][_0x551013(0x36f)];Array[_0x551013(0x3b6)](_0x571952)&&_0x571952[_0x551013(0x309)]&&_0x5a865d[_0x551013(0x2cb)](_0x571952[0x0]);}};he=dn([lt(0x0,_0x185243),lt(0x1,_0x1b9e7e)],he);var Sn=Object[_0x2ad37e(0x316)],mn=(_0x58ac8e,_0x17944b,_0x1e27bb,_0x50ad87)=>{const _0x5968ed=_0x2ad37e;for(var _0x18d27c=_0x50ad87>0x1?void 0x0:_0x50ad87?Sn(_0x17944b,_0x1e27bb):_0x17944b,_0x47ea71=_0x58ac8e[_0x5968ed(0x309)]-0x1,_0x5ab787;_0x47ea71>=0x0;_0x47ea71--)(_0x5ab787=_0x58ac8e[_0x47ea71])&&(_0x18d27c=_0x5ab787(_0x18d27c)||_0x18d27c);return _0x18d27c;},Le=(_0x56c365,_0x508dcf)=>(_0x402fa5,_0x37571d)=>_0x508dcf(_0x402fa5,_0x37571d,_0x56c365);let ue=class{constructor(_0x3b3e97,_0x166322,_0x4a6b69){const _0x28e40f=_0x2ad37e;this[_0x28e40f(0x291)]=_0x3b3e97,this[_0x28e40f(0x25f)]=_0x166322,this['_docStateChangeManagerService']=_0x4a6b69;}[_0x2ad37e(0x2b9)](_0x1fd203){const _0x1a6650=_0x2ad37e;this[_0x1a6650(0x1c4)](_0x1fd203);}[_0x2ad37e(0x318)](_0x2635c3){const _0x270909=_0x2ad37e,{unitID:_0x5db2d5}=_0x2635c3,{collaboration:_0x5e2a0c}=this[_0x270909(0x3a3)]['getStateCache'](_0x5db2d5);if(_0x5e2a0c['length']===0x0)return _0x2635c3;let _0x4f540d=_0x1b7cfb[_0x270909(0x1c0)](_0x2635c3[_0x270909(0x29a)][0x0]);for(let _0x4eef88=0x0;_0x4eef88<_0x5e2a0c[_0x270909(0x309)];_0x4eef88++){const _0x421b48={'id':_0x270909(0x2f6),'params':{'unitId':_0x5e2a0c[_0x4eef88][_0x270909(0x1d8)],..._0x5e2a0c[_0x4eef88][_0x270909(0x19f)]}},_0x42865c=this[_0x270909(0x25f)][_0x270909(0x286)](_0x4f540d,_0x421b48,!0x1);if(_0x27b05a(_0x42865c))throw _0x42865c[_0x270909(0x231)];_0x4f540d=_0x42865c[_0x270909(0x3a6)];}return{..._0x1b7cfb[_0x270909(0x1c0)](_0x2635c3),'mutations':[_0x4f540d]};}[_0x2ad37e(0x1c4)](_0x510e6d){const _0x3966fd=_0x2ad37e,{unitID:_0x3fd51f}=_0x510e6d,{history:_0x3f8056,collaboration:_0xfe3e32}=this['_docStateChangeManagerService']['getStateCache'](_0x3fd51f);if(_0x3f8056[_0x3966fd(0x309)]===0x0&&_0xfe3e32[_0x3966fd(0x309)]===0x0)return;const _0x38174c=[],_0xf8a3ad=[];let _0x1047fe=_0x1b7cfb[_0x3966fd(0x1c0)](_0x510e6d['mutations'][0x0]),_0x450d13=_0x1b7cfb[_0x3966fd(0x1c0)](_0x510e6d['mutations'][0x0]);for(let _0x1e8fcd=_0x3f8056[_0x3966fd(0x309)]-0x1;_0x1e8fcd>=0x0;_0x1e8fcd--){const _0xd0e677={'id':_0x3966fd(0x2f6),'params':{'unitId':_0x3f8056[_0x1e8fcd][_0x3966fd(0x1d8)],..._0x3f8056[_0x1e8fcd]['undoState']}},_0x16eca0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f8056[_0x1e8fcd][_0x3966fd(0x1d8)],..._0x3f8056[_0x1e8fcd][_0x3966fd(0x19f)]}},_0x1f2e35=this['_transformService']['transformMutation'](_0x1047fe,_0xd0e677,!0x1),_0x128123=this[_0x3966fd(0x25f)]['transformMutation'](_0x450d13,_0x16eca0,!0x1);if(_0x27b05a(_0x1f2e35))throw _0x1f2e35[_0x3966fd(0x231)];if(_0x27b05a(_0x128123))throw _0x128123['error'];_0x38174c[_0x3966fd(0x33b)]({..._0x3f8056[_0x1e8fcd],'undoState':_0x1f2e35['m2Prime'][_0x3966fd(0x2d1)],'redoState':_0x128123['m2Prime'][_0x3966fd(0x2d1)]}),_0x1047fe=_0x1f2e35['m1Prime'],_0x450d13=_0x128123[_0x3966fd(0x3a6)];}_0x1047fe=_0x1b7cfb['deepClone'](_0x510e6d[_0x3966fd(0x29a)][0x0]),_0x450d13=_0x1b7cfb[_0x3966fd(0x1c0)](_0x510e6d['mutations'][0x0]);for(let _0x3ea233=_0xfe3e32[_0x3966fd(0x309)]-0x1;_0x3ea233>=0x0;_0x3ea233--){const _0x401d7f={'id':_0x3966fd(0x2f6),'params':{'unitId':_0xfe3e32[_0x3ea233][_0x3966fd(0x1d8)],..._0xfe3e32[_0x3ea233]['undoState']}},_0x5d4991={'id':_0x3966fd(0x2f6),'params':{'unitId':_0xfe3e32[_0x3ea233]['unitId'],..._0xfe3e32[_0x3ea233][_0x3966fd(0x19f)]}},_0xf41864=this['_transformService'][_0x3966fd(0x286)](_0x1047fe,_0x401d7f,!0x1),_0x33c9ec=this[_0x3966fd(0x25f)][_0x3966fd(0x286)](_0x450d13,_0x5d4991,!0x1);if(_0x27b05a(_0xf41864))throw _0xf41864[_0x3966fd(0x231)];if(_0x27b05a(_0x33c9ec))throw _0x33c9ec[_0x3966fd(0x231)];_0xf8a3ad[_0x3966fd(0x33b)]({..._0xfe3e32[_0x3ea233],'undoState':_0xf41864[_0x3966fd(0x1fa)]['params'],'redoState':_0x33c9ec[_0x3966fd(0x1fa)][_0x3966fd(0x2d1)]}),_0x1047fe=_0xf41864[_0x3966fd(0x3a6)],_0x450d13=_0x33c9ec[_0x3966fd(0x3a6)];}this['_docStateChangeManagerService']['setStateCache'](_0x3fd51f,{'history':_0x38174c,'collaboration':_0xf8a3ad});}};ue=mn([Le(0x0,_0x17dbc2(_0x7e98bc)),Le(0x1,_0x185243),Le(0x2,_0x17dbc2(_0x4fdde9))],ue);var In=Object[_0x2ad37e(0x316)],fn=(_0x19f946,_0x2b85e8,_0x59f30b,_0xbcfc83)=>{const _0x393484=_0x2ad37e;for(var _0xc3aad8=_0xbcfc83>0x1?void 0x0:_0xbcfc83?In(_0x2b85e8,_0x59f30b):_0x2b85e8,_0x297b32=_0x19f946[_0x393484(0x309)]-0x1,_0xdc3243;_0x297b32>=0x0;_0x297b32--)(_0xdc3243=_0x19f946[_0x297b32])&&(_0xc3aad8=_0xdc3243(_0xc3aad8)||_0xc3aad8);return _0xc3aad8;},ht=(_0x274147,_0x36e25f)=>(_0x4a91bd,_0x598aef)=>_0x36e25f(_0x4a91bd,_0x598aef,_0x274147);let de=class{constructor(_0x16040c,_0x34433d){const _0x54a56e=_0x2ad37e;this[_0x54a56e(0x291)]=_0x16040c,this[_0x54a56e(0x25f)]=_0x34433d;}[_0x2ad37e(0x28e)](_0x2e942b){const _0x5c2088=_0x2ad37e;var _0x3fc519;const _0xfea581=this[_0x5c2088(0x291)]['get'](_0x10a29a),_0x49cc8c=(_0x3fc519=_0xfea581['getDocRanges']())!=null?_0x3fc519:[];if(_0x49cc8c[_0x5c2088(0x309)]===0x0)return;const _0x1dd2b8=_0x2e942b[_0x5c2088(0x345)],_0x5ddf9c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1dd2b8,'actions':null,'textRanges':_0x49cc8c}}],_0x3ba19c=this['_transformService']['transformMutationsWithChangeset'](_0x2e942b,_0x5ddf9c);if(!_0x4a4a43(_0x3ba19c))throw _0x3ba19c[_0x5c2088(0x231)];const _0x898fbb=_0x3ba19c['m2Prime'][0x0][_0x5c2088(0x2d1)][_0x5c2088(0x36f)];Array['isArray'](_0x898fbb)&&_0x898fbb['length']&&_0xfea581[_0x5c2088(0x3b9)](_0x898fbb,{'unitId':_0x1dd2b8,'subUnitId':_0x1dd2b8},!0x1);}};de=fn([ht(0x0,_0x17dbc2(_0x7e98bc)),ht(0x1,_0x185243)],de);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x48a077,_0x17c795,_0x167cdf,_0x35b6fd)=>{for(var _0xb5db7d=_0x35b6fd>0x1?void 0x0:_0x35b6fd?gn(_0x17c795,_0x167cdf):_0x17c795,_0x3ab154=_0x48a077['length']-0x1,_0x25b433;_0x3ab154>=0x0;_0x3ab154--)(_0x25b433=_0x48a077[_0x3ab154])&&(_0xb5db7d=_0x25b433(_0xb5db7d)||_0xb5db7d);return _0xb5db7d;},U=(_0x5923c5,_0x127e4d)=>(_0x1a94ef,_0x4940af)=>_0x127e4d(_0x1a94ef,_0x4940af,_0x5923c5);let Se=class extends _0x58948b{constructor(_0xd09ee3,_0x6612ad,_0xd5ed9f,_0x2968e7,_0x4af1cc,_0x12ccd9,_0x58f39d,_0x4feff4){const _0x59e048=_0x2ad37e;super(),_(this,_0x59e048(0x393),new _0x434037(_0x373053[_0x59e048(0x32b)])),(this[_0x59e048(0x3a3)]=_0xd09ee3,this[_0x59e048(0x1c1)]=_0x6612ad,this[_0x59e048(0x1e3)]=_0xd5ed9f,this[_0x59e048(0x325)]=_0x2968e7,this['_docTransformSelectionsService']=_0x4af1cc,this[_0x59e048(0x1ae)]=_0x12ccd9,this[_0x59e048(0x344)]=_0x58f39d,this[_0x59e048(0x396)]=_0x4feff4,this[_0x59e048(0x3c7)]());}[_0x2ad37e(0x3c7)](){const _0x15c53c=_0x2ad37e;this['disposeWithMe'](this[_0x15c53c(0x1c1)]['entityInit$'][_0x15c53c(0x215)](_0x34d618=>{const _0x142d80=_0x15c53c,_0x913fa7=this['_docStateChangeManagerService'][_0x142d80(0x3b7)][_0x142d80(0x215)](_0x423c52=>{const _0x44a173=_0x142d80;if(_0x423c52==null)return;const {unitId:_0x407e91,redoState:_0x530662,commandId:_0x5b7f8a}=_0x423c52;if(_0x407e91!==_0x34d618[_0x44a173(0x345)])return;const _0x3b0587={'id':_0x5b7f8a,'type':_0x433e00[_0x44a173(0x326)],'params':{'unitId':_0x407e91,'actions':_0x530662[_0x44a173(0x384)],'textRanges':null}};_0x34d618[_0x44a173(0x369)](_0x3b0587);});if(_0x34d618['disposeWithMe'](_0x913fa7),_0x34d618 instanceof _0x2a90b3){const _0x4b694b={'onTransformIME':_0x55b560=>this[_0x142d80(0x1e3)]['transformIMECache'](_0x55b560),'onTransformState':_0x3ff788=>this['_docTransformStateCacheService'][_0x142d80(0x2b9)](_0x3ff788),'onTransformSelections':_0x4e4185=>this[_0x142d80(0x2f1)][_0x142d80(0x28e)](_0x4e4185),'onSyncEditingCollabCursor':_0x4897f0=>this['_docSyncEditingCollabCursorService'][_0x142d80(0x210)](_0x4897f0),'onTransformRemoteChangesetByIMECache':_0x73d20d=>this[_0x142d80(0x1e3)][_0x142d80(0x318)](_0x73d20d),'onTransformRemoteChangesetByStateCache':_0x574084=>this[_0x142d80(0x325)]['transformRemoteChangeset'](_0x574084)};_0x34d618['addHandlerCallback'](_0x4b694b);}}));}};Se=vn([U(0x0,_0x17dbc2(_0x4fdde9)),U(0x1,_0x17dbc2(_0x5c7c70)),U(0x2,_0x17dbc2(he)),U(0x3,_0x17dbc2(ue)),U(0x4,_0x17dbc2(de)),U(0x5,_0x17dbc2(ze)),U(0x6,_0x464b74),U(0x7,_0x17dbc2(_0x18b100))],Se);var Z=(_0x4edb2a=>(_0x4edb2a[_0x4edb2a[_0x2ad37e(0x25e)]=0x0]=_0x2ad37e(0x25e),_0x4edb2a[_0x4edb2a['OK']=0x1]='OK',_0x4edb2a[_0x4edb2a['INTERNAL_ERROR']=0x2]=_0x2ad37e(0x18e),_0x4edb2a[_0x4edb2a['PERMISSION_DENIED']=0x3]=_0x2ad37e(0x333),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x3a0)]=0x4]=_0x2ad37e(0x3a0),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1aa)]=0x5]='UNAUTHENTICATED',_0x4edb2a[_0x4edb2a['ALREADY_EXISTS']=0x6]=_0x2ad37e(0x249),_0x4edb2a[_0x4edb2a['INVALID_ARGUMENT']=0x7]=_0x2ad37e(0x374),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x21e)]=0x8]=_0x2ad37e(0x21e),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x398)]=0x9]=_0x2ad37e(0x398),_0x4edb2a[_0x4edb2a['LOGIN_FAILED']=0xa]=_0x2ad37e(0x300),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x33f)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x364)]=0xc]=_0x2ad37e(0x364),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x2a9)]=0xd]=_0x2ad37e(0x2a9),_0x4edb2a[_0x4edb2a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x2ad37e(0x2a5),_0x4edb2a[_0x4edb2a['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x2ad37e(0x195),_0x4edb2a[_0x4edb2a['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x2ad37e(0x319),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x38b)]=0x64]=_0x2ad37e(0x38b),_0x4edb2a[_0x4edb2a['ERROR_AGAIN']=0x65]=_0x2ad37e(0x279),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x324)]=0xc9]=_0x2ad37e(0x324),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x235)]=0xca]='USER_IS_ANONYMOUS',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1c3)]=0x1389]=_0x2ad37e(0x1c3),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x275)]=0x1771]=_0x2ad37e(0x275),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x3a7)]=0x1772]=_0x2ad37e(0x3a7),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1c8)]=0x1773]=_0x2ad37e(0x1c8),_0x4edb2a[_0x4edb2a['APPLY_REJECT']=0x1b59]=_0x2ad37e(0x1a4),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x2c2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x2e4)]=0x1b5b]=_0x2ad37e(0x2e4),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x254)]=0x1b5c]=_0x2ad37e(0x254),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x2f4)]=0x1b5d]='APPLY_DUPLICATED',_0x4edb2a[_0x4edb2a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2ad37e(0x2ba),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1b9)]=0x2329]=_0x2ad37e(0x1b9),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x211)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1e5)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x379)]=0x232c]=_0x2ad37e(0x379),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x343)]=0x232d]=_0x2ad37e(0x343),_0x4edb2a[_0x4edb2a['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x386)]=0x2712]=_0x2ad37e(0x386),_0x4edb2a[_0x4edb2a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2ad37e(0x306),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x2f2)]=0x2714]=_0x2ad37e(0x2f2),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x347)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x35d)]=0x271b]=_0x2ad37e(0x35d),_0x4edb2a[_0x4edb2a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2ad37e(0x223),_0x4edb2a[_0x4edb2a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2ad37e(0x38f),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x185)]=0x271e]=_0x2ad37e(0x185),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x2ab)]=0x271f]=_0x2ad37e(0x2ab),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x289)]=0x2720]=_0x2ad37e(0x289),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x3c0)]=0x2af9]=_0x2ad37e(0x3c0),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x232)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x25a)]=0x2ee2]=_0x2ad37e(0x25a),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x361)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x239)]=0x2ee4]=_0x2ad37e(0x239),_0x4edb2a[_0x4edb2a['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2ad37e(0x202),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x32e)]=0x32c9]=_0x2ad37e(0x32e),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1bc)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x33d)]=0x32cb]=_0x2ad37e(0x33d),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x2e7)]=0x36b1]=_0x2ad37e(0x2e7),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x220)]=0x36b2]=_0x2ad37e(0x220),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x190)]=0x36b3]=_0x2ad37e(0x190),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1de)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x4edb2a[_0x4edb2a['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x2ad37e(0x193),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x312)]=0x3716]=_0x2ad37e(0x312),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1dd)]=0x3717]=_0x2ad37e(0x1dd),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x24c)]=0x37dd]=_0x2ad37e(0x24c),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x1ce)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x39d)]=0x3a9a]=_0x2ad37e(0x39d),_0x4edb2a[_0x4edb2a['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x2ad37e(0x268),_0x4edb2a[_0x4edb2a['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x2ad37e(0x307),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x280)]=0x3a9d]=_0x2ad37e(0x280),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x2a0)]=0x3a9e]=_0x2ad37e(0x2a0),_0x4edb2a[_0x4edb2a['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2ad37e(0x2df),_0x4edb2a[_0x4edb2a[_0x2ad37e(0x274)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x4edb2a[_0x4edb2a[_0x2ad37e(0x342)]=-0x1]='UNRECOGNIZED',_0x4edb2a))(Z||{});function En(_0x2ea188){const _0x269a47=_0x2ad37e;var _0x2421a6,_0x5f50f1;const _0xe55b6d=(_0x2421a6=_0x2ea188[_0x269a47(0x2eb)])==null?void 0x0:_0x2421a6[_0x269a47(0x2c0)],_0x36a88b=((_0x5f50f1=_0x2ea188[_0x269a47(0x2eb)])==null?void 0x0:_0x5f50f1[_0x269a47(0x2ec)])||0x0;return _0xe55b6d===_0xb1e08d[_0x269a47(0x21c)]&&_0x36a88b>0x0;}function pn(_0x182119){const _0xddb224=_0x2ad37e;return _0x182119[_0xddb224(0x26b)]===_0x4fa3c4[_0xddb224(0x2b3)];}var On=Object[_0x2ad37e(0x316)],Tn=(_0x38fe94,_0x2d989a,_0x7bae52,_0x5c9dbd)=>{const _0x246a19=_0x2ad37e;for(var _0x4461d5=_0x5c9dbd>0x1?void 0x0:_0x5c9dbd?On(_0x2d989a,_0x7bae52):_0x2d989a,_0x4a101e=_0x38fe94[_0x246a19(0x309)]-0x1,_0x2881f1;_0x4a101e>=0x0;_0x4a101e--)(_0x2881f1=_0x38fe94[_0x4a101e])&&(_0x4461d5=_0x2881f1(_0x4461d5)||_0x4461d5);return _0x4461d5;},P=(_0x4e0e35,_0x286d39)=>(_0x39518e,_0x46796f)=>_0x286d39(_0x39518e,_0x46796f,_0x4e0e35);const Cn=_0x2ad37e(0x1ca),Rn=_0x2ad37e(0x2cd),Dn=_0x2ad37e(0x256);let me=class extends _0x58948b{constructor(_0x38bd91,_0x48ea73,_0xb79bb8,_0x265f3d,_0x3ac3c3,_0x3fe235,_0xbceddc){const _0x27c3e2=_0x2ad37e;super(),_(this,_0x27c3e2(0x2e1),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x27c3e2(0x340),0x0),_(this,_0x27c3e2(0x39a),[]),_(this,'_lastResponseTimestamp',0x0),(this['_messageService']=_0x38bd91,this[_0x27c3e2(0x19e)]=_0x48ea73,this[_0x27c3e2(0x238)]=_0xb79bb8,this[_0x27c3e2(0x367)]=_0x265f3d,this[_0x27c3e2(0x22d)]=_0x3ac3c3,this[_0x27c3e2(0x191)]=_0x3fe235,this['_localeService']=_0xbceddc,this[_0x27c3e2(0x27b)]());}[_0x2ad37e(0x27b)](){const _0x55b37a=_0x2ad37e;this[_0x55b37a(0x3a8)](this[_0x55b37a(0x19e)]['beforeCommandExecuted']((_0x5f43a2,_0xa0db2f)=>{const _0x119c48=_0x55b37a;var _0x584e8e;if(_0x5f43a2['id']!==_0x218f50['id'])return;const _0x50fbca=_0x5f43a2['params'];if(!this[_0x119c48(0x2e6)]((_0x584e8e=_0x50fbca[_0x119c48(0x37f)])!=null?_0x584e8e:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x119c48(0x3a5)](_0x5f43a2,_0xa0db2f),this[_0x119c48(0x2ae)](),new _0x54ba8d();})),this[_0x55b37a(0x3a8)](this[_0x55b37a(0x19e)][_0x55b37a(0x23d)]((_0x57875e,_0x303ee2)=>{const _0x5aff1d=_0x55b37a;if(_0x57875e['id']!==_0x30668b['id'])return;const _0x11ccf4=_0x57875e['params'];if(En(_0x11ccf4)){const _0x46bb35=_0x27bf30();this[_0x5aff1d(0x39a)]['push'](_0x46bb35),this[_0x5aff1d(0x24b)](_0x46bb35);}else{if(pn(_0x11ccf4)&&this[_0x5aff1d(0x39a)][_0x5aff1d(0x309)]>0x0){const _0x424cb4=this[_0x5aff1d(0x39a)][_0x5aff1d(0x299)]();this['_releaseCalculationLimit'](_0x424cb4);}}}));}[_0x2ad37e(0x382)](){const _0x1cd02d=_0x2ad37e;super[_0x1cd02d(0x382)](),this[_0x1cd02d(0x27c)](),this[_0x1cd02d(0x39a)]=[],this[_0x1cd02d(0x340)]=0x0,this[_0x1cd02d(0x2ca)]=0x0,this[_0x1cd02d(0x332)]=0x0;}async[_0x2ad37e(0x3a5)](_0x10958c,_0x592275){const _0xbc053=_0x2ad37e;for(let _0x4cdd37=0x0;_0x4cdd37<0x1e;_0x4cdd37++)try{if(await this[_0xbc053(0x270)](),this['_checkCalculationAvailable']()){this[_0xbc053(0x1a2)](_0x10958c,_0x592275),this[_0xbc053(0x344)]['show']({'content':this[_0xbc053(0x396)]['t'](_0xbc053(0x23a)),'type':_0x1bf3a5[_0xbc053(0x242)]});return;}await new Promise(_0x10b7fb=>{const _0x6091b0=_0xbc053;this['_pollingInterval']=window[_0x6091b0(0x1b1)](_0x10b7fb,0x3e8);});}catch(_0x5046b3){this[_0xbc053(0x191)][_0xbc053(0x231)](_0x5046b3);}this['_messageService'][_0xbc053(0x2c7)]({'content':this['_localeService']['t'](_0xbc053(0x370)),'type':_0x1bf3a5[_0xbc053(0x2bd)]});}[_0x2ad37e(0x1a2)](_0x391332,_0x4fe048){const _0x40f30b=_0x2ad37e;try{this['_commandService'][_0x40f30b(0x263)](_0x391332['id'],_0x391332[_0x40f30b(0x2d1)],_0x4fe048);}catch(_0x429faf){this[_0x40f30b(0x191)][_0x40f30b(0x231)](_0x429faf);}}[_0x2ad37e(0x2de)](_0x2ac78f,_0x526578){const _0x59c8b1=_0x2ad37e;_0x526578<this['_lastResponseTimestamp']||(this[_0x59c8b1(0x332)]=_0x526578,this[_0x59c8b1(0x2ca)]=Number[_0x59c8b1(0x335)](_0x2ac78f['maxFormulaLimit']),this['_currentUsage']=Number['parseInt'](_0x2ac78f[_0x59c8b1(0x1ed)]));}async[_0x2ad37e(0x24b)](_0x5c4694){const _0xf9ac03=_0x2ad37e;var _0x578544,_0x110d9c;const _0x2d9b57=Date['now']();try{const _0x247371=((_0x578544=this[_0xf9ac03(0x238)][_0xf9ac03(0x290)](_0x23d3a9))==null?void 0x0:_0x578544[_0xf9ac03(0x265)])||Rn,_0x38df69=(await this[_0xf9ac03(0x367)][_0xf9ac03(0x1a7)](_0x247371,{'body':JSON[_0xf9ac03(0x36c)]({'taskId':_0x5c4694})}))[_0xf9ac03(0x2bc)];if(((_0x110d9c=_0x38df69['error'])==null?void 0x0:_0x110d9c[_0xf9ac03(0x2e8)])!==Z['OK'])return;this[_0xf9ac03(0x2de)](_0x38df69[_0xf9ac03(0x199)],_0x2d9b57);}catch(_0x315022){this[_0xf9ac03(0x191)][_0xf9ac03(0x231)](_0x315022);}}async[_0x2ad37e(0x270)](_0x43abbd){const _0x344260=_0x2ad37e;var _0x19b16f,_0x1557ef;const _0x3c7b87=Date[_0x344260(0x278)]();try{const _0x239597=((_0x19b16f=this[_0x344260(0x238)][_0x344260(0x290)](_0x23d3a9))==null?void 0x0:_0x19b16f[_0x344260(0x2ff)])||Cn,_0x23f1a9=_0x43abbd?_0x239597+_0x344260(0x2c5)+encodeURIComponent(_0x43abbd):_0x239597,_0x5ab55b=(await this[_0x344260(0x367)][_0x344260(0x1b6)](_0x23f1a9))[_0x344260(0x2bc)];if(((_0x1557ef=_0x5ab55b[_0x344260(0x231)])==null?void 0x0:_0x1557ef['code'])!==Z['OK'])return;this[_0x344260(0x2de)](_0x5ab55b[_0x344260(0x199)],_0x3c7b87);}catch(_0x3b525e){this[_0x344260(0x191)][_0x344260(0x231)](_0x3b525e);}}async[_0x2ad37e(0x2ce)](_0x2a3f1a){const _0x4d3d70=_0x2ad37e;var _0x47d685,_0xaac131;const _0x2a99c2=Date[_0x4d3d70(0x278)]();try{const _0x5f5cc7=((_0x47d685=this[_0x4d3d70(0x238)][_0x4d3d70(0x290)](_0x23d3a9))==null?void 0x0:_0x47d685[_0x4d3d70(0x1ec)])||Dn,_0x15d53b=(await this[_0x4d3d70(0x367)][_0x4d3d70(0x1a7)](_0x5f5cc7,{'body':JSON[_0x4d3d70(0x36c)]({'taskId':_0x2a3f1a})}))[_0x4d3d70(0x2bc)];if(((_0xaac131=_0x15d53b['error'])==null?void 0x0:_0xaac131[_0x4d3d70(0x2e8)])!==Z['OK'])return;this[_0x4d3d70(0x2de)](_0x15d53b['limitInfo'],_0x2a99c2);}catch(_0x2874be){this[_0x4d3d70(0x191)][_0x4d3d70(0x231)](_0x2874be);}}[_0x2ad37e(0x33c)](){const _0xafe145=_0x2ad37e;return this[_0xafe145(0x2ca)]===0x0?!0x0:this[_0xafe145(0x2ca)]-this[_0xafe145(0x340)]>0x0;}[_0x2ad37e(0x27c)](){const _0x257d9c=_0x2ad37e;this[_0x257d9c(0x2e1)]&&(clearTimeout(this[_0x257d9c(0x2e1)]),this['_pollingInterval']=null);}[_0x2ad37e(0x2ae)](){const _0x2bbf88=_0x2ad37e;this['_messageService']['show']({'content':this[_0x2bbf88(0x396)]['t']('formula.calculation.waiting'),'type':_0x1bf3a5[_0x2bbf88(0x204)]});}['_hasFormulaInDirtyRanges'](_0x14a508){const _0xc70ed5=_0x2ad37e;for(const _0xdc291d of _0x14a508){const {unitId:_0x3fa60c,sheetId:_0x489ff2,range:_0x467b32}=_0xdc291d,_0x2ae443=this[_0xc70ed5(0x22d)][_0xc70ed5(0x2e3)](_0x3fa60c);if(!_0x2ae443)continue;const _0x57fdb6=_0x2ae443[_0xc70ed5(0x26d)](_0x489ff2);if(!_0x57fdb6)continue;const _0x5e4815=_0x57fdb6[_0xc70ed5(0x1f4)]();for(let _0x1e35a5=_0x467b32[_0xc70ed5(0x26e)];_0x1e35a5<=_0x467b32['endRow'];_0x1e35a5++)for(let _0x2019fe=_0x467b32[_0xc70ed5(0x329)];_0x2019fe<=_0x467b32[_0xc70ed5(0x36d)];_0x2019fe++){const _0x47596c=_0x5e4815[_0xc70ed5(0x20a)](_0x1e35a5,_0x2019fe);if(_0x47596c&&(_0x12e729(_0x47596c['f'])||_0x1d4d85(_0x47596c['si'])))return!0x0;}}return!0x1;}};me=Tn([P(0x0,_0x17dbc2(_0x464b74)),P(0x1,_0xc8122f),P(0x2,_0x1c36ce),P(0x3,_0x17dbc2(_0x3670ce)),P(0x4,_0x2505af),P(0x5,_0x114287),P(0x6,_0x17dbc2(_0x18b100))],me);var bn=Object[_0x2ad37e(0x316)],Nn=(_0x3c7d7e,_0x5a6a4c,_0x371c0b,_0xcac74c)=>{for(var _0x4127d7=_0xcac74c>0x1?void 0x0:_0xcac74c?bn(_0x5a6a4c,_0x371c0b):_0x5a6a4c,_0xe2533=_0x3c7d7e['length']-0x1,_0x3b6718;_0xe2533>=0x0;_0xe2533--)(_0x3b6718=_0x3c7d7e[_0xe2533])&&(_0x4127d7=_0x3b6718(_0x4127d7)||_0x4127d7);return _0x4127d7;},Ue=(_0x180393,_0x2144fb)=>(_0x189cbd,_0x4f60b8)=>_0x2144fb(_0x189cbd,_0x4f60b8,_0x180393);let He=class extends _0x58948b{constructor(_0xc83638,_0x4f2041,_0x2f921d){const _0x2a1839=_0x2ad37e;super(),_(this,_0x2a1839(0x1eb),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x2a1839(0x1bf),!0x1),(this[_0x2a1839(0x238)]=_0xc83638,this[_0x2a1839(0x2f8)]=_0x4f2041,this['_revisionService']=_0x2f921d);}['disableLocalCache'](){const _0x2843c2=_0x2ad37e;this[_0x2843c2(0x1bf)]=!0x0;}[_0x2ad37e(0x2b4)](){const _0x555657=_0x2ad37e;this[_0x555657(0x1bf)]=!0x1;}get['saveTaskMap'](){const _0xf9d52=_0x2ad37e;return this[_0xf9d52(0x35f)];}[_0x2ad37e(0x382)](){const _0xf59f1f=_0x2ad37e;this[_0xf59f1f(0x201)]()[_0xf59f1f(0x383)](()=>super[_0xf59f1f(0x382)]());}async['loadOfflineData'](_0x41f948){const _0x45ef5e=_0x2ad37e;return this[_0x45ef5e(0x1bf)]?null:this[_0x45ef5e(0x2f8)][_0x45ef5e(0x2dc)](_0x4e4c76(_0x41f948));}async[_0x2ad37e(0x292)](_0x1af399,_0x2d2365){const _0x680c7c=_0x2ad37e;return!!this[_0x680c7c(0x2f8)][_0x680c7c(0x259)](_0x1af399,_0x2d2365);}[_0x2ad37e(0x3b5)](_0x3e557d,_0x291d44,_0x3087c7,_0x31b77c){const _0x4bdbf1=_0x2ad37e,_0x3cf84f=this[_0x4bdbf1(0x2be)][_0x4bdbf1(0x222)](_0x3e557d);this['_cachedData']['set'](_0x3e557d,{'unitID':_0x3e557d,'type':_0x291d44,'awaitingChangeset':_0x3087c7,'mutations':_0x31b77c,'rev':_0x3cf84f}),this['_saveTaskMap'][_0x4bdbf1(0x21a)](_0x3e557d)||this[_0x4bdbf1(0x34c)](_0x3e557d);}[_0x2ad37e(0x34c)](_0x422f36){const _0x3df4b0=_0x2ad37e,_0x262f90=this['_getSaveTimeout']();_0x262f90===0x0?this[_0x3df4b0(0x267)](_0x422f36):this[_0x3df4b0(0x35f)][_0x3df4b0(0x2fc)](_0x422f36,setTimeout(()=>this['_saveCache'](_0x422f36),_0x262f90));}[_0x2ad37e(0x322)](){const _0x43e3b5=_0x2ad37e;var _0x3b0faf;return(_0x3b0faf=this[_0x43e3b5(0x238)]['getConfig'](_0x347fdf))!=null?_0x3b0faf:_0x5bf8d6;}[_0x2ad37e(0x267)](_0x9a8c5b){const _0x270be6=_0x2ad37e,_0x2c499f=this[_0x270be6(0x35f)]['get'](_0x9a8c5b);return _0x2c499f!==void 0x0&&window['clearTimeout'](_0x2c499f),this[_0x270be6(0x2f8)][_0x270be6(0x259)](_0x4e4c76(_0x9a8c5b),this[_0x270be6(0x1eb)][_0x270be6(0x1b6)](_0x9a8c5b))[_0x270be6(0x383)](()=>this[_0x270be6(0x35f)][_0x270be6(0x258)](_0x9a8c5b));}async[_0x2ad37e(0x201)](){const _0x2ba0bb=_0x2ad37e,_0x15ff2b=[];this[_0x2ba0bb(0x35f)][_0x2ba0bb(0x3bd)]((_0x5f3f0e,_0xfd19db)=>{const _0x39d657=_0x2ba0bb;window[_0x39d657(0x38a)](_0x5f3f0e),_0x15ff2b['push'](this[_0x39d657(0x267)](_0xfd19db)[_0x39d657(0x383)](()=>{const _0x29fb27=_0x39d657;this[_0x29fb27(0x35f)]['delete'](_0xfd19db);}));}),await Promise[_0x2ba0bb(0x2a8)](_0x15ff2b);}};He=Nn([Ue(0x0,_0x1c36ce),Ue(0x1,_0x3a22b4),Ue(0x2,_0x17dbc2(_0x55b6bd))],He);class Ln extends _0x101452{constructor(){const _0x29b5a7=_0x2ad37e;super(),_(this,_0x29b5a7(0x31b)),this[_0x29b5a7(0x31b)]=_0x50e66d(window,'popstate')[_0x29b5a7(0x2cc)](_0x59c3be(this['dispose$']),_0xe8cb63(0x1),_0x35871a(void 0x0));}[_0x2ad37e(0x1f1)](_0x1b7a9d,_0x31db7,_0x4c2fa9=!0x1){const _0x130552=_0x2ad37e,_0x53564e=new URL(window[_0x130552(0x282)][_0x130552(0x2d2)]);_0x53564e['searchParams'][_0x130552(0x2fc)](_0x1b7a9d,_0x31db7),_0x4c2fa9?window[_0x130552(0x331)][_0x130552(0x37c)]('','',_0x53564e[_0x130552(0x20b)]()):window['history'][_0x130552(0x1d4)]('','',_0x53564e[_0x130552(0x20b)]());}[_0x2ad37e(0x257)](_0x43a1c1,_0x3d78d0=!0x1){const _0x778b4d=_0x2ad37e,_0x4bead1=new URL(window[_0x778b4d(0x282)]['href']);_0x4bead1[_0x778b4d(0x2fa)][_0x778b4d(0x258)](_0x43a1c1),_0x3d78d0?window['history'][_0x778b4d(0x37c)]('','',_0x4bead1[_0x778b4d(0x20b)]()):window['history'][_0x778b4d(0x1d4)]('','',_0x4bead1[_0x778b4d(0x20b)]());}[_0x2ad37e(0x1d3)](_0xdbb906){const _0x8a00b2=_0x2ad37e;var _0x179bd1;return(_0x179bd1=new URL(window[_0x8a00b2(0x282)]['href'])['searchParams'][_0x8a00b2(0x1b6)](_0xdbb906))!=null?_0x179bd1:void 0x0;}}var Un=Object[_0x2ad37e(0x294)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x3011de,_0x53b401,_0x1ddb73)=>_0x53b401 in _0x3011de?Un(_0x3011de,_0x53b401,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ddb73}):_0x3011de[_0x53b401]=_0x1ddb73,Pn=(_0x11b593,_0x1b1837,_0x4f77d6,_0x17c3ef)=>{const _0x3f1d9b=_0x2ad37e;for(var _0x185310=_0x17c3ef>0x1?void 0x0:_0x17c3ef?Mn(_0x1b1837,_0x4f77d6):_0x1b1837,_0x26a5f0=_0x11b593[_0x3f1d9b(0x309)]-0x1,_0x2a942b;_0x26a5f0>=0x0;_0x26a5f0--)(_0x2a942b=_0x11b593[_0x26a5f0])&&(_0x185310=_0x2a942b(_0x185310)||_0x185310);return _0x185310;},Me=(_0x57ce40,_0x30c750)=>(_0x517ce5,_0x2e99ac)=>_0x30c750(_0x517ce5,_0x2e99ac,_0x57ce40),wn=(_0x393a2f,_0x342a37,_0x366264)=>An(_0x393a2f,_0x342a37+'',_0x366264);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x4d2b42{constructor(_0x1b6a7e=_t,_0x23225a,_0x4f4a7d,_0x1e0c16){const _0x196851=_0x2ad37e;super(),this['_config']=_0x1b6a7e,this[_0x196851(0x3ab)]=_0x23225a,this[_0x196851(0x291)]=_0x4f4a7d,this['_configService']=_0x1e0c16;const {..._0x21bf10}=_0x5a335a({},_t,this[_0x196851(0x1a3)]);this[_0x196851(0x238)][_0x196851(0x1b8)](hn,_0x21bf10);}[_0x2ad37e(0x1cc)](){const _0x4f9a67=_0x2ad37e;this[_0x4f9a67(0x1ef)](),this['_initDependencies']();}[_0x2ad37e(0x3cb)](){this['_registerRenderDependencies']();}[_0x2ad37e(0x1ef)](){const _0xc606e8=_0x2ad37e;var _0x15357d;const _0x28ebbd=[[Ke],[me],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x2307e5,{'useClass':_0x4d7622}],[_0x2a978f,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0xc606e8(0x1a3)]['enableFrontendLog']&&_0x28ebbd['push']([le]),_0x2880b8(this[_0xc606e8(0x291)],_0x3a2996(_0x28ebbd,(_0x15357d=this[_0xc606e8(0x1a3)])==null?void 0x0:_0x15357d[_0xc606e8(0x28f)]));}[_0x2ad37e(0x233)](){const _0x384a08=_0x2ad37e;this[_0x384a08(0x3a8)](this['_renderManagerService'][_0x384a08(0x3cc)](_0x463f4d[_0x384a08(0x1fd)],[Fe])),this[_0x384a08(0x3a8)](this[_0x384a08(0x3ab)][_0x384a08(0x3cc)](_0x463f4d[_0x384a08(0x218)],[ke]));}[_0x2ad37e(0x224)](){const _0xe99e8=_0x2ad37e;_0x2ff3d6(this[_0xe99e8(0x291)],[[H],[ae],[Se],[_e],[ce],[me]]),this[_0xe99e8(0x1a3)]['enableFrontendLog']&&_0x2ff3d6(this[_0xe99e8(0x291)],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x454c73(_0x5dd9d5),Me(0x1,_0x1b9e7e),Me(0x2,_0x17dbc2(_0x7e98bc)),Me(0x3,_0x1c36ce)],Ye);var $n=Object[_0x2ad37e(0x316)],xn=(_0x4f8667,_0x5abb5f,_0x4f9ea6,_0x57601a)=>{const _0x52a654=_0x2ad37e;for(var _0x5a8987=_0x57601a>0x1?void 0x0:_0x57601a?$n(_0x5abb5f,_0x4f9ea6):_0x5abb5f,_0x499e99=_0x4f8667[_0x52a654(0x309)]-0x1,_0xca5efa;_0x499e99>=0x0;_0x499e99--)(_0xca5efa=_0x4f8667[_0x499e99])&&(_0x5a8987=_0xca5efa(_0x5a8987)||_0x5a8987);return _0x5a8987;},J=(_0x51dcf7,_0x3dfd5c)=>(_0x5598ec,_0x1f2840)=>_0x3dfd5c(_0x5598ec,_0x1f2840,_0x51dcf7);let ut=class extends _0x18048a{constructor(_0x57c339,_0x1dab25,_0x3f072e,_0x254b96,_0x5d5616){super(_0x57c339,_0x1dab25,_0x3f072e,_0x254b96,_0x5d5616);}async[_0x2ad37e(0x227)](_0x23ca9b){const _0x563828=_0x2ad37e,_0x24fb82=await this[_0x563828(0x1e9)](),_0x135b69=this['_createSocketURL'](_0x23ca9b,_0x24fb82);return this[_0x563828(0x29c)](_0x135b69);}[_0x2ad37e(0x2f5)](_0x2760a6,_0x5542d5){const _0x51bce7=_0x2ad37e,_0x4697a9=typeof window>'u'?new URL(_0x2760a6):new URL(_0x2760a6,window['location'][_0x51bce7(0x27f)]);_0x4697a9[_0x51bce7(0x2fa)][_0x51bce7(0x2fc)]('sessionTicket',_0x5542d5);const _0x2bddcc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x51bce7(0x282)][_0x51bce7(0x2c9)]);return _0x2bddcc[_0x51bce7(0x1b6)]('runId')&&_0x4697a9[_0x51bce7(0x2fa)][_0x51bce7(0x2fc)]('runId',_0x2bddcc[_0x51bce7(0x1b6)](_0x51bce7(0x3af))),_0x4697a9[_0x51bce7(0x20b)]();}async['_getSessionTicket'](){const _0x176d6d=_0x2ad37e;var _0x51bbd1,_0x52a1cd,_0x2e442e;const _0x8b9e8d=this[_0x176d6d(0x238)][_0x176d6d(0x290)](_0x23d3a9),_0x36f167=(_0x51bbd1=_0x8b9e8d==null?void 0x0:_0x8b9e8d['wsSessionTicketUrl'])!=null?_0x51bbd1:_0xbf9fd3;return(_0x2e442e=(_0x52a1cd=(await this[_0x176d6d(0x367)][_0x176d6d(0x1b6)](_0x36f167,{'headers':{'Content-Type':'application/json'}}))[_0x176d6d(0x2bc)])==null?void 0x0:_0x52a1cd[_0x176d6d(0x261)])!=null?_0x2e442e:'';}};ut=xn([J(0x0,_0x17dbc2(_0x7e98bc)),J(0x1,_0x17dbc2(_0x3670ce)),J(0x2,_0x1c36ce),J(0x3,_0x114287),J(0x4,_0x4c3aa1)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x4fe1a2,_0x5dbc0b,_0x1d454d,_0x5c424b)=>{for(var _0x5bef52=_0x5c424b>0x1?void 0x0:_0x5c424b?Bn(_0x5dbc0b,_0x1d454d):_0x5dbc0b,_0x2966a3=_0x4fe1a2['length']-0x1,_0x4f7a2c;_0x2966a3>=0x0;_0x2966a3--)(_0x4f7a2c=_0x4fe1a2[_0x2966a3])&&(_0x5bef52=_0x4f7a2c(_0x5bef52)||_0x5bef52);return _0x5bef52;},Ae=(_0x2cb4cc,_0x206065)=>(_0x36d109,_0x3a9e01)=>_0x206065(_0x36d109,_0x3a9e01,_0x2cb4cc);let dt=class extends _0x58948b{constructor(_0x2ebbad,_0x250c78,_0x209352){const _0x11a65c=_0x2ad37e;super(),this['_instanceService']=_0x2ebbad,this[_0x11a65c(0x367)]=_0x250c78,this[_0x11a65c(0x238)]=_0x209352;}async[_0x2ad37e(0x296)](_0x3f571a,_0x443245,_0x49b243,..._0x457098){const _0x2c851c=_0x2ad37e;var _0x497a4a,_0x73f6d4,_0x24cbdc,_0x20af4a;const _0x3b6c30=this[_0x2c851c(0x351)][_0x2c851c(0x3c1)]();if(!_0x3b6c30)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x82f1=((_0x497a4a=this[_0x2c851c(0x238)][_0x2c851c(0x290)](_0x735800))!=null?_0x497a4a:_0x8521de)+'/'+_0x3f571a+_0x2c851c(0x24e)+_0x443245,_0xf9a6bf=new URL(window['location'][_0x2c851c(0x2d2)]),_0x1a6cfb={'scriptId':_0x3f571a,'runId':(_0x73f6d4=_0xf9a6bf[_0x2c851c(0x2fa)]['get'](_0x2c851c(0x3af)))!=null?_0x73f6d4:'','function':_0x443245,'unitId':_0x3b6c30[_0x2c851c(0x30c)](),'argsOfFunction':JSON['stringify'](_0x457098),'invokeId':(_0x24cbdc=_0x49b243['invokeId'])!=null?_0x24cbdc:'','executionId':(_0x20af4a=_0x49b243[_0x2c851c(0x2d9)])!=null?_0x20af4a:''};try{const _0x3a238e=await this[_0x2c851c(0x367)][_0x2c851c(0x1a7)](_0x82f1,{'body':_0x1a6cfb});return _0x3a238e['body'][_0x2c851c(0x231)]&&_0x3a238e['body'][_0x2c851c(0x231)][_0x2c851c(0x2e8)]!==Z['OK']?'Failed':_0x3a238e[_0x2c851c(0x2bc)][_0x2c851c(0x183)];}catch{return'Failed';}}};function _0x4774(){const _0x13a107=['Success','text','socket$','tag','_eventUnsubscribe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','top','ALREADY_EXISTS','reason','_startCalculationLimit','ENTITLE_NEED_BILLING_ADDRESS','drawWith','/run/','defIds','getCurrent','getTypeOfUnitDisposed$','colorChannel1','on-line-icon','APPLY_PERMISSION_DENIED','_getAnchorBounding','/universer-api/license/formula/limit/done','removeParam','delete','setItem','INVALID_INVITE_CODE','_updateURLWithCurrentState','hide','78QocWvr','UNDEFINED','_transformService','_labelPosition','ticket','1710450zIdphM','executeCommand','_updateSubUnitFromURLParams','startFormulaLimitUrl','_handleHeartbeatEvent','_saveCache','REDEMPTION_CODE_FULLY_REDEEMED','with','[LogService\x20Error]:\x20','functionsExecutedState','roomMembers','getSheetBySheetId','startRow','/universer-api/frontend/logs','_getFormulaLimitStatus','bind','name','_notificationService','DATA_SOURCE_TOO_LARGE','SNAPSHOT_INVALID_SNAPSHOT','...','getDocRanges','now','ERROR_AGAIN','_initStatusComponent','_initCommandInterceptor','_clearPolling','_cursors','http://www.w3.org/2000/svg','origin','REDEMPTION_USER_NOT_ELIGIBLE','fillStyle','location','_initEvent','row','36SPPLdK','transformMutation','createInstance','restore','YUUMI_CONNECTOR_URL_NOT_FOUND','mask','url(#on-line-icon_clip0_910_349)','InsertRowCommandId','getCurrentSelections','transformSelections','override','getConfig','_injector','saveOfflineData','_handleJoinEvent','defineProperty','startsWith','runOnServer','_getSheetObject','sessionStatus$','shift','mutations','getVpScrollXYInfoByPosToVp','_doCreateSocket','attrs','activeSheet$','session.connection-failed','REDEMPTION_USER_REDEEM_TIMES_EXCEED','fillRule','currentSkeleton$','unsubscribe','_shapes','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_backgroundColor','jiqing.500','all','EMAIL_VERIFY_CODE_MISMATCH','permission.content','YUUMI_AI_RUN_FAILED','setAlpha','status$','_showGuardMessage','_drawTextRange','onPointerEnter$','_clearOtherTimers','reconnect','SUCCESS','enableLocalCache','getActiveRange','4293234JWAjUL','unit','off-line-icon_clip0_910_343','transformStateCache','CONNECTOR_DATA_TOO_LARGE','_draw','body','Error','_revisionService','substring','stage','endRow','APPLY_NON_SEQUENTIAL_REVISION','collab-client.tooltip.reconnect','red.300','?taskId=','engine','show','VIEW_MAIN','search','_maxFormulaLimit','setActiveRange','pipe','/universer-api/license/formula/limit/start','_releaseCalculationLimit','newValue','getViewport','params','href','_name','storage','_memberID','_toggleOnline','_collabCursorState$','_memberService','executionId','yellow.400','map','getItem','_id','_setFormulaLimitStatus','REDEMPTION_CODE_HAS_BEEN_CREATED','unhandledrejection','_pollingInterval','collabStatus.conflict','getUnit','APPLY_REVISION_CONFILICT','div','_hasFormulaInDirtyRanges','ENTITLE_CAN_NOT_BUY_LOWER_OTP','code','NO_OTHER_CLIENTS_EDITING','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','stageInfo','totalFormulasToCalculate','RemoveColCommandId','_urlService','getTypeOfUnitAdded$','getCurrentUnitForType','_docTransformSelectionsService','YUUMI_SUBSCRIPTION_NOT_FOUND','USERS_LEAVE','APPLY_DUPLICATED','_createSocketURL','doc.mutation.rich-text-editing','_sheetSkeletonManagerService','_localStorageService','clipPath','searchParams','_handleHover','set','getMemberID','getSkeleton','getformulaLimitStatusUrl','LOGIN_FAILED','_removeClearOtherTimer','memberID','OTHER_CLIENTS_EDITING','height','addClipboardHook','YUUMI_RATE_OVER_LIMIT','REDEMPTION_CODE_NOT_STARTED','isActive','length','transform','measureText','getUnitId','green.600','_roomMembers$','AWAITING_WITH_PENDING','getRelativeToViewportCoord','moveTo','ENTITLE_REPORT_LIMIT_EXCEED','_send','selection','isEditing','getOwnPropertyDescriptor','OTHER_CLIENT_EDITING','transformRemoteChangeset','LOGIN_TOKEN_PROCESSING_FAILED','resize','urlChange$','_docSkeletonManagerService','subscribeEvent','disposeUnit','_startDocCollabCursor','10HRUyMU','lineTo','_getSaveTimeout','bottom','USER_NOT_FOUND','_docTransformStateCacheService','MUTATION','_themeService','DeleteRangeMoveUpCommandId','startColumn','RECT','NOT_COLLAB','InsertRangeMoveDownCommandId','_unitOnClients','WECHAT_HAS_BEEN_BOUND','asObservable','cursorInfo$','history','_lastResponseTimestamp','PERMISSION_DENIED','_localCacheService','parseInt','values','HEADER_MENU','_handleLeaveEvent','currentTheme$','_range','unshift','_checkCalculationAvailable','EMAIL_HAS_BEEN_BOUND','evenodd','MOBILE_VERIFY_CODE_MISMATCH','_currentUsage','sheetID','UNRECOGNIZED','LICENSE_DISTRO_REJECTED','_messageService','unitID','getOffsetConfig','YUUMI_NO_CUBOID_FOR_QUESTION','none','getUniverSheetInstance','addObject','_initCommandExecutedListener','_scheduleSaving','key','beginPath','fill','add','_instanceService','_initUserListener','_ensureSubject','getColorFromTheme','_getScale','InsertRangeMoveRightCommandId','getAncestorScale','saveImage','getUnhiddenWorksheets','collabStatus.offline','collaboration.closeRoom','session.collaboration-timeout','YUUMI_ASYNCIO_CANCELLED','OFFLINE','_saveTaskMap','collaboration-client-ui.config','INVITE_CODE_REQUIRED','addObjects','_scene','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','min','assignAColorForMemberID','_httpService','collab-text-range-','onLocalMutation','_context','some','stringify','endColumn','_uiPartsService','textRanges','formula.calculation.unable','event$','197305LmvEHv','_syncEditingCollabCursorService','INVALID_ARGUMENT','getUndoRedoMutationParamsCache','lineno','_beforeCloseService','CONFLICT','LICENSE_EXPORT_SIZE_EXCEEDED','font','3946imxbDm','replaceState','_cursorShapes','fillText','dirtyRanges','black','_unitStatus','dispose','then','actions','path','YUUMI_URL_COL_OUT_OF_RANGE','[CollaborationDataLoaderController]','_transformPreviousActiveRange','UPDATE_CURSOR','clearTimeout','CURRENT_STATUS_CANNOT_OPERATE','displayName','collaboration.single-unit.warning','blue.400','YUUMI_ALL_TABLES_IS_INVALID','_handleEvent','_session','off-line-icon','_status$','imageSourceType','_drawRectRange','_localeService','svg','COMPLETION_FINISHED','TEXT','_taskIds','_onCursorDelete','Warning','REDEMPTION_CODE_INACTIVE','1em','ACTIVE_UNIT_EVENT_CHANNEL','NOT_FOUND','_updateLocalCursor','Unknown\x20user','_docStateChangeManagerService','subunit','_checkAndWaitForCalculationPermission','m1Prime','SNAPSHOT_HAS_BEEN_REMOVED','disposeWithMe','registerBeforeClose','stack','_renderManagerService','_removeCollabCursors','_init','InsertColCommandId','runId','DeleteRangeMoveLeftCommandId','_anchor','UniverIcon','random','setUndoRedoMutationParamsCache','updateOfflineData','isArray','docStateChange$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','replaceDocRanges','891747aWNEcm','AWAITING','_drawAnchor','forEach','_initResize','ONLINE','PY_RUNTIME_SCRIPT_ERROR','getFocusedUnit','_color','source','FETCH_MISS','filename','transformByState','_initEntityListener','registerComponent','_colorAssignService','M0\x200H16V16H0z','onRendered','registerRenderModule','backgroundColor','_hideTimer','_startSheetCollabCursor','init','url(#off-line-icon_clip0_910_343)','includes','JOIN_ROOM_FAILED','result','round','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','requireSession','0\x200\x2017\x2016','current','onMouseMove','_monkeyPatchLogService','color','getRenderById','_refRangeService','INTERNAL_ERROR','_docSkeleton','ENTITLE_DUP_SUBSCRIPTION','_logService','roomMembers$','ENTITLE_CHAT_LIMIT_EXCEED','_updateCollabCursors','AUTHORIZE_CODE_ILLEGAL','range','_lastPointer','_collabSessionService','limitInfo','addEventListener','collabStatus.notCollab','clearInterval','makeDirty','_commandService','redoState','arc','collabStatus.fetchMiss','_applyCommand','_config','APPLY_REJECT','split','debug','post','_collaborationUIEventService','session.will-retry','UNAUTHENTICATED','getActiveSheet','column','registerRefRange','_docSyncEditingCollabCursorService','entries','_colorIndex','setTimeout','defs','_getMergeRange','use','_hovered','get','send','setConfig','LICENSE_MAX_UNITS_EXCEEDED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_onCursorUpdate','MOBILE_HAS_BEEN_BOUND','complete','SOCKET_FAILED','_disabled','deepClone','_collaborationController','push','CHANGESET_REVISION_CONFILICT','_transformHistoryAndStateStack','SOCKET_FAILED_RETRY','width','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','/universer-api/license/formula/limit/status','0\x200\x2016\x2016','onStarting','symbol','REDEMPTION_INVALID_CODE','_entities','_heartbeatTimer','FromArray','getMergeData','getParam','pushState','getCollabEntity$','catch','univer-flex\x20univer-items-center','unitId','_setupBeforeClosingHandler','428256lUWHyt','_initStatusListener','string','ENTITLE_INSUFFICIENT_QUOTA','PAYMENT_CHANNEL_NOT_SUPPORT','triggerDblclick','subUnitId','getMember','setShapeProps','_docTransformIMECacheService','eventID','LICENSE_IMPORT_SIZE_EXCEEDED','colno','parse','_toggleOffline','_getSessionTicket','_render','_cachedData','releaseFormulaLimitUrl','currentUsage','replace','_registerDependencies','_initUnhandledRejectionListener','setParam','_online','_dataLoaderService','getCellMatrix','_docClipboardService','unload','cursorInfo','save','_selfUnitIDs','m2Prime','_assignedColors','_collabCursorController','UNIVER_DOC','findNodePositionByCharIndex','_refreshCollabCursors','rgba(255,\x20255,\x20255,\x200.01)','exhaustSavingTask','INVITE_CODE_ALREADY_BOUND','_hover','Loading','permission.title','data','removeEventListener','_entityInit$','children','getValue','toString','flatMap','_cursor','_uploadLog','_document','syncEditingCollabCursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','type','on-line-icon_clip0_910_349','CLOSE_ROOM','subscribe','1357223IXvtvD','8fdqMyO','UNIVER_SHEET','_cursorInfo$','has','_scheduleClearOtherTimer','START_CALCULATION','getCollabCursors$','TOO_MANY_REQUESTS','collabStatus.synced','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_textBubble','getCurrentRevOfUnit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_initDependencies','labelPosition','#FFF','createSocket','size','next','ranges','onPointerMove$','_imageIoService','_univerInstanceService','getUnitStatus$','uni.network.url-service','collab-rect-range-','error','INVITE_CODE_HAS_BEEN_UES','_registerRenderDependencies','assign','USER_IS_ANONYMOUS','getSheetId','from','_configService','USER_NOT_INVITED_CODE','formula.calculation.started','dispose$','toRgbString','onCommandExecuted','xlink:href','idSuffix','_anchorDot','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'];_0x4774=function(){return _0x13a107;};return _0x4774();}dt=Fn([Ae(0x0,_0x2505af),Ae(0x1,_0x17dbc2(_0x3670ce)),Ae(0x2,_0x1c36ce)],dt);const St=0x7530,mt=_0x2ad37e(0x39f);class rr extends _0x58948b{constructor(){const _0x2c794a=_0x2ad37e;super(),_(this,_0x2c794a(0x2dd),_0x27bf30()),_(this,_0x2c794a(0x1f9),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2c794a(0x1d0),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x2c794a(0x381),new Map()),this[_0x2c794a(0x3ad)]();}['dispose'](){const _0x1ce7d7=_0x2ad37e;super[_0x1ce7d7(0x382)](),this[_0x1ce7d7(0x2b1)][_0x1ce7d7(0x3bd)]((_0x40ad6d,_0x40419f)=>this[_0x1ce7d7(0x301)](_0x40419f)),this['_heartbeatTimer']&&window[_0x1ce7d7(0x19c)](this[_0x1ce7d7(0x1d0)]);}[_0x2ad37e(0x22e)](_0xe7225e){const _0x31d9cc=_0x2ad37e;return this[_0x31d9cc(0x353)](_0xe7225e)[_0x31d9cc(0x2cc)](_0x103a9e());}['editingUnit'](_0x441d93){const _0x3b1d72=_0x2ad37e;this['_selfUnitIDs'][_0x3b1d72(0x228)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3b1d72(0x1f9)][_0x3b1d72(0x350)](_0x441d93),this[_0x3b1d72(0x313)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x441d93],'isForwarded':!0x1});}[_0x2ad37e(0x31e)](_0x35b0a7){const _0x19646e=_0x2ad37e;this[_0x19646e(0x1f9)]['delete'](_0x35b0a7),this[_0x19646e(0x1f9)][_0x19646e(0x228)]===0x0&&this[_0x19646e(0x1d0)]&&window[_0x19646e(0x19c)](this[_0x19646e(0x1d0)]);}[_0x2ad37e(0x3ad)](){const _0x439ca0=_0x2ad37e;this['disposeWithMe'](_0x48616d(_0x50e66d(window,_0x439ca0(0x2d4))[_0x439ca0(0x215)](_0x41613b=>{const _0x27d923=_0x439ca0;if(_0x41613b[_0x27d923(0x34d)]!==mt||!_0x41613b[_0x27d923(0x2cf)])return;const _0x213764=JSON[_0x27d923(0x1e7)](_0x41613b[_0x27d923(0x2cf)]);this['_handleEvent'](_0x213764);}))),window[_0x439ca0(0x19a)](_0x439ca0(0x1f6),()=>this[_0x439ca0(0x313)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x439ca0(0x237)](this[_0x439ca0(0x1f9)])}));}[_0x2ad37e(0x390)](_0x615957){const _0x49c531=_0x2ad37e;switch(_0x615957['type']){case 0x0:this[_0x49c531(0x293)](_0x615957);break;case 0x1:this[_0x49c531(0x338)](_0x615957);break;case 0x2:this['_handleHeartbeatEvent'](_0x615957);break;}}[_0x2ad37e(0x293)](_0x377af8){const _0x4dc379=_0x2ad37e,{unitIDs:_0x1b6cae,memberID:_0xae0796,isForwarded:_0x2aa1f8}=_0x377af8;_0x1b6cae['forEach'](_0x27f847=>{const _0x2b17ef=_0x56fb;if(!_0x2aa1f8&&this[_0x2b17ef(0x32d)]['has'](_0x27f847)&&this[_0x2b17ef(0x353)](_0x27f847)['next'](_0x10d504[_0x2b17ef(0x303)]),!this[_0x2b17ef(0x32d)][_0x2b17ef(0x21a)](_0x27f847)||!this[_0x2b17ef(0x32d)][_0x2b17ef(0x1b6)](_0x27f847)[_0x2b17ef(0x21a)](_0xae0796)){const _0x43b537=this[_0x2b17ef(0x32d)][_0x2b17ef(0x1b6)](_0x27f847)||new Set();_0x43b537[_0x2b17ef(0x350)](_0xae0796),this[_0x2b17ef(0x32d)][_0x2b17ef(0x2fc)](_0x27f847,_0x43b537),this['_scheduleClearOtherTimer'](_0xae0796);}}),_0x2aa1f8||this[_0x4dc379(0x313)]({'type':0x0,'memberID':this[_0x4dc379(0x2dd)],'unitIDs':[...this[_0x4dc379(0x1f9)]],'isForwarded':!0x0});}[_0x2ad37e(0x21b)](_0x116df1){const _0x215199=_0x2ad37e;this[_0x215199(0x301)](_0x116df1);const _0x5d439d=window[_0x215199(0x1b1)](()=>{const _0x3750dc=_0x215199;this[_0x3750dc(0x32d)][_0x3750dc(0x3bd)](_0x45a15b=>{const _0x53a487=_0x3750dc;_0x45a15b[_0x53a487(0x258)](_0x116df1);});},St*0x2);this['_clearOtherTimers'][_0x215199(0x2fc)](_0x116df1,_0x5d439d);}[_0x2ad37e(0x301)](_0x518a1a){const _0x1573b6=_0x2ad37e;if(this[_0x1573b6(0x2b1)][_0x1573b6(0x21a)](_0x518a1a)){const _0x3bbf3a=this[_0x1573b6(0x2b1)]['get'](_0x518a1a);_0x3bbf3a&&window[_0x1573b6(0x38a)](_0x3bbf3a),this[_0x1573b6(0x2b1)]['set'](_0x518a1a,null);}}[_0x2ad37e(0x338)](_0x143e48){const _0x489680=_0x2ad37e,{memberID:_0x4ed51c,unitIDs:_0x43cc7c}=_0x143e48;_0x43cc7c['forEach'](_0x445f59=>{const _0x548a0b=_0x56fb;var _0x408aee;const _0x571980=this[_0x548a0b(0x32d)][_0x548a0b(0x1b6)](_0x445f59);_0x571980&&(_0x571980['delete'](_0x4ed51c),(_0x408aee=this[_0x548a0b(0x353)](_0x445f59))==null||_0x408aee[_0x548a0b(0x229)](_0x571980[_0x548a0b(0x228)]===0x0?_0x10d504[_0x548a0b(0x2e9)]:_0x10d504[_0x548a0b(0x303)]));}),this[_0x489680(0x301)](_0x4ed51c);}[_0x2ad37e(0x266)](_0x44be2d){const _0x2dda6a=_0x2ad37e;this[_0x2dda6a(0x21b)](_0x44be2d['memberID']);}['_send'](_0x43df4f){const _0xa2092a=_0x2ad37e;localStorage[_0xa2092a(0x259)](mt,JSON['stringify'](_0x43df4f));}['_scheduleHeartbeat'](){const _0x105ed9=_0x2ad37e;this[_0x105ed9(0x1d0)]=window['setInterval'](()=>{const _0x61d803=_0x105ed9;this[_0x61d803(0x313)]({'type':0x2,'memberID':this['_id']});},St);}[_0x2ad37e(0x353)](_0x396ef3){const _0x248a8c=_0x2ad37e;return this['_unitStatus'][_0x248a8c(0x21a)](_0x396ef3)||this[_0x248a8c(0x381)]['set'](_0x396ef3,new _0x434037(_0x10d504[_0x248a8c(0x2e9)])),this[_0x248a8c(0x381)][_0x248a8c(0x1b6)](_0x396ef3);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|