@univerjs-pro/collaboration-client-ui 0.17.0 → 0.18.0
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/sk-SK.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/sk-SK.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.css +41 -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/sk-SK.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/types/controllers/collab-cursor/collab-cursor.controller.d.ts +2 -2
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +7 -5
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +3 -2
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +1 -1
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +6 -5
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +3 -2
- package/lib/types/controllers/config.schema.d.ts +1 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/models/cursor.d.ts +2 -2
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/collaboration-socket/collaboration-socket.service.d.ts +4 -2
- package/lib/types/services/formula-calculation-guard/util.d.ts +1 -1
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +2 -1
- package/lib/types/services/local-cache/web-local-cache.service.d.ts +6 -4
- package/lib/types/services/network-condition/network-condition.d.ts +2 -2
- package/lib/types/services/remote-uniscript/remote-uniscript.service.d.ts +1 -1
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +3 -2
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +2 -1
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +5 -4
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +2 -1
- package/lib/types/services/url/url.service.d.ts +2 -2
- package/lib/types/services/url/web-url.service.d.ts +2 -2
- package/lib/types/views/components/CollabStatus.d.ts +1 -1
- package/lib/types/views/components/CollabStatus.stories.d.ts +1 -1
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +2 -2
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +3 -2
- package/lib/types/views/shapes/text-bubble.shape.d.ts +2 -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/sk-SK.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 +20 -19
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3d67dc=_0x248c;(function(_0x7bf487,_0x3e6c9d){const _0x15bba4=_0x248c,_0xbdece1=_0x7bf487();while(!![]){try{const _0x173efd=parseInt(_0x15bba4(0x10c))/0x1*(-parseInt(_0x15bba4(0x1b5))/0x2)+-parseInt(_0x15bba4(0x115))/0x3*(parseInt(_0x15bba4(0x1a6))/0x4)+parseInt(_0x15bba4(0x26a))/0x5+parseInt(_0x15bba4(0x1c4))/0x6+parseInt(_0x15bba4(0x2af))/0x7+-parseInt(_0x15bba4(0x1e3))/0x8+parseInt(_0x15bba4(0x12f))/0x9*(parseInt(_0x15bba4(0x15d))/0xa);if(_0x173efd===_0x3e6c9d)break;else _0xbdece1['push'](_0xbdece1['shift']());}catch(_0x37d47f){_0xbdece1['push'](_0xbdece1['shift']());}}}(_0x3796,0x69f30));var Vt=Object['defineProperty'],jt=(_0x1b8666,_0x43c1b7,_0x118b25)=>_0x43c1b7 in _0x1b8666?Vt(_0x1b8666,_0x43c1b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x118b25}):_0x1b8666[_0x43c1b7]=_0x118b25,_=(_0x133bce,_0x89b567,_0x544888)=>jt(_0x133bce,typeof _0x89b567!=_0x3d67dc(0x176)?_0x89b567+'':_0x89b567,_0x544888);import{jsx as _0x17492b,jsxs as _0x4b234a}from'react/jsx-runtime';import{CollaborationStatus as _0x31d531,CollaborationSessionService as _0x2291d1,CollaborationController as _0x245eb3,DataLoaderService as _0x88833a,MemberService as _0x33731d,SessionStatus as _0x34091e,CollaborationUIEventService as _0x3859f5,CollaborationUIEventId as _0x456cda,ILocalCacheService as _0x5e9d08,DocCollaborationEntity as _0x563607,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x284637,getLocalCacheKey as _0x1ce012,LOCAL_CACHE_INTERVAL as _0x2970a2,LOCAL_CACHE_INTERVAL_KEY as _0x3b3648,UniverCollaborationClientPlugin as _0x14127a,CollaborationSocketService as _0x4cd2b4,DEFAULT_WS_SESSION_TICKET_URL as _0x5a12c7,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xc36dad,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x260927,UnitStatus as _0x55e790}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x7499ef,Inject as _0x1b6667,Injector as _0x653433,Disposable as _0x1c85de,IUniverInstanceService as _0x8dd819,createIdentifier as _0x3433e3,Optional as _0x1316ef,RxDisposable as _0x2c3066,Workbook as _0x5b857f,ILogService as _0xd040f7,ICommandService as _0xa09e90,DOC_RANGE_TYPE as _0x584b46,debounce as _0x18d31a,Rectangle as _0x35879b,DisposableCollection as _0x34cb0f,toDisposable as _0x1ed22b,UniverInstanceType as _0x4d7c74,generateRandomId as _0x4434ad,COLORS as _0x46b9af,ColorKit as _0xc497c0,ThemeService as _0x15aa63,fromEventSubject as _0xe9bd47,Tools as _0x1987a4,CommandType as _0x114bb7,CanceledError as _0x523b20,isFormulaString as _0x4d1334,isFormulaId as _0x3f5e5f,IConfigService as _0x542c52,ILocalStorageService as _0x5a95b1,DependentOn as _0x170543,Plugin as _0x1869ce,merge as _0x4e387a,registerDependencies as _0xd0a28f,mergeOverrideWithDependencies as _0x506153,touchDependencies as _0x1cbec2}from'@univerjs/core';import{useObservable as _0x3d5967,useDependency as _0x365dc0,BuiltInUIPart as _0x430cf4,connectInjector as _0x4538cd,IUIPartsService as _0x5a0456,IBeforeCloseService as _0x2cf671,IMessageService as _0x13a8e2,INotificationService as _0x132cef}from'@univerjs/ui';import{BehaviorSubject as _0x3b2938,switchMap as _0x15bd60,of as _0x3375a2,takeUntil as _0x49248c,debounceTime as _0x5e64b7,Subject as _0x4b44bc,filter as _0x5bf8e7,merge as _0x2ee6fd,combineLatest as _0x43ccf1,fromEvent as _0x11e56b,shareReplay as _0x2ddd0d,mapTo as _0xeafe7a,distinctUntilChanged as _0x12b438}from'rxjs';import{Tooltip as _0x493c34,clsx as _0x2c4503,MessageType as _0x1c1707}from'@univerjs/design';import{useRef as _0x5f7be2,createElement as _0x46306d,forwardRef as _0x1d6d11,useCallback as _0x50087c}from'react';import{IRemoteInstanceService as _0x4a9318}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x11d0a6,RefRangeService as _0x32818e,SetSelectionsOperation as _0x3cebb2,SheetsSelectionsService as _0x5efcfb,EffectRefRangId as _0x46eaf6,handleIRemoveRow as _0x23e988,handleIRemoveCol as _0x584b12,handleMoveRange as _0x48b0e3,handleInsertRow as _0x517ec8,handleInsertRangeMoveRight as _0x596d51,handleInsertRangeMoveDown as _0x369796,handleInsertCol as _0x2a8b6e,handleDeleteRangeMoveUp as _0x448c14,handleDeleteRangeMoveLeft as _0x60b3bb,runRefRangeMutations as _0x30da5c}from'@univerjs/sheets';import{Shape as _0x4e1b04,Rect as _0x5bea0d,getColor as _0x12e129,RegularPolygon as _0x36a918,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2304d6,Vector2 as _0x3af7c3,SHEET_VIEWPORT_KEY as _0x492608,IRenderManagerService as _0x3b6e27}from'@univerjs/engine-render';import{HTTPService as _0x458a1c,ISocketService as _0x475bce,WebSocketService as _0x300cea}from'@univerjs/network';import{IDocClipboardService as _0x4f02b9,NodePositionConvertToCursor as _0x4177ea,NodePositionConvertToRectRange as _0x53edfc,TEXT_RANGE_LAYER_INDEX as _0x1bf16a,SetDocZoomRatioOperation as _0x2e1dcf,DocIMEInputManagerService as _0x4ad9b3,DocStateChangeManagerService as _0x360948}from'@univerjs/docs-ui';import{IImageIoService as _0x5ebc5e}from'@univerjs/drawing';import{CollaborationEvent as _0x2fd2f9,isTransformMutationFailure as _0x56d7f9,ITransformService as _0x4f6061,isTransformMutationsWithChangesetSuccess as _0x10531c,RevisionService as _0x115ba9,ISnapshotServerService as _0x1c6eed}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0xb671c6,RichTextEditingMutation as _0xb57c34,DocSelectionManagerService as _0x131427,DocSkeletonManagerService as _0x5c21e2}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x476f39,serializeRangeWithSheet as _0x3ffaf7,FormulaExecuteStageType as _0x4c5c6f,FormulaExecutedStateType as _0x512ed2,SetFormulaCalculationStartMutation as _0x9694b9,SetFormulaCalculationNotificationMutation as _0x513eba}from'@univerjs/engine-formula';import{map as _0xf89d60,filter as _0x1bebbb,throttleTime as _0x46eb09,takeUntil as _0x47c1cf,switchMap as _0xc5d333}from'rxjs/operators';import{SheetSkeletonManagerService as _0x51f42e,getCoordByCell as _0x10d7a2,getSheetObject as _0x20848f}from'@univerjs/sheets-ui';function Ge({ref:_0x5e7cc6,..._0x59c37d}){const _0x2f128d=_0x3d67dc,{icon:_0x5addee,id:_0x49afec,className:_0x3a1fa4,extend:_0x33f33b,..._0x3e7236}=_0x59c37d,_0x52357e=(_0x2f128d(0x19c)+_0x49afec+'\x20'+(_0x3a1fa4||''))[_0x2f128d(0x170)](),_0x1dca2e=_0x5f7be2('_'+pi());return Pt(_0x5addee,''+_0x49afec,{'defIds':_0x5addee[_0x2f128d(0x2b3)],'idSuffix':_0x1dca2e[_0x2f128d(0xf6)]},{'ref':_0x5e7cc6,'className':_0x52357e,..._0x3e7236},_0x33f33b);}function Pt(_0x4bc06e,_0x4062ef,_0x3662d9,_0x876cec,_0x46d06d){const _0x3f5a20=_0x3d67dc;return _0x46306d(_0x4bc06e[_0x3f5a20(0x17f)],{'key':_0x4062ef,...Ei(_0x4bc06e,_0x3662d9,_0x46d06d),..._0x876cec},(Ti(_0x4bc06e,_0x3662d9)['children']||[])[_0x3f5a20(0x26d)]((_0x5b47a3,_0x4b3555)=>Pt(_0x5b47a3,_0x4062ef+'-'+_0x4bc06e['tag']+'-'+_0x4b3555,_0x3662d9,void 0x0,_0x46d06d)));}function Ei(_0x4da690,_0x343d59,_0x2057b6){const _0x33071f=_0x3d67dc,_0x19fd35={..._0x4da690[_0x33071f(0x2fa)]};_0x2057b6!=null&&_0x2057b6[_0x33071f(0x205)]&&_0x19fd35['fill']==='colorChannel1'&&(_0x19fd35[_0x33071f(0x1aa)]=_0x2057b6[_0x33071f(0x205)]),_0x4da690[_0x33071f(0x17f)]===_0x33071f(0x2e8)&&_0x19fd35['id']&&(_0x19fd35['id']=_0x19fd35['id']+_0x343d59[_0x33071f(0x305)]),Object[_0x33071f(0x198)](_0x19fd35)[_0x33071f(0x215)](([_0xce111b,_0x5515cc])=>{const _0xdbcf55=_0x33071f;_0xce111b===_0xdbcf55(0x2e8)&&typeof _0x5515cc==_0xdbcf55(0x2cc)&&(_0x19fd35[_0xce111b]=_0x5515cc[_0xdbcf55(0x263)](/url\(#(.*)\)/,'url(#$1'+_0x343d59['idSuffix']+')'));});const {defIds:_0x424496}=_0x343d59;return!_0x424496||_0x424496[_0x33071f(0x1bd)]===0x0||(_0x4da690[_0x33071f(0x17f)]===_0x33071f(0x14d)&&_0x19fd35['xlink:href']&&(_0x19fd35[_0x33071f(0x321)]=_0x19fd35['xlink:href']+_0x343d59[_0x33071f(0x305)]),Object[_0x33071f(0x198)](_0x19fd35)[_0x33071f(0x215)](([_0x2e0086,_0x3fac22])=>{const _0x22e0ad=_0x33071f;typeof _0x3fac22==_0x22e0ad(0x2cc)&&(_0x19fd35[_0x2e0086]=_0x3fac22[_0x22e0ad(0x263)](/url\(#(.*)\)/,'url(#$1'+_0x343d59[_0x22e0ad(0x305)]+')'));})),_0x19fd35;}function Ti(_0x565705,_0x866685){const _0x7cf21c=_0x3d67dc;var _0x517eb8;const {defIds:_0xf74f9b}=_0x866685;return!_0xf74f9b||_0xf74f9b[_0x7cf21c(0x1bd)]===0x0?_0x565705:_0x565705[_0x7cf21c(0x17f)]===_0x7cf21c(0x1dd)&&((_0x517eb8=_0x565705['children'])!=null&&_0x517eb8[_0x7cf21c(0x1bd)])?{..._0x565705,'children':_0x565705[_0x7cf21c(0x358)]['map'](_0x4b99af=>typeof _0x4b99af[_0x7cf21c(0x2fa)]['id']==_0x7cf21c(0x2cc)&&_0xf74f9b&&_0xf74f9b[_0x7cf21c(0x2f5)](_0x4b99af['attrs']['id'])?{..._0x4b99af,'attrs':{..._0x4b99af[_0x7cf21c(0x2fa)],'id':_0x4b99af[_0x7cf21c(0x2fa)]['id']+_0x866685[_0x7cf21c(0x305)]}}:_0x4b99af)}:_0x565705;}function pi(){const _0x541980=_0x3d67dc;return Math[_0x541980(0x1e0)]()[_0x541980(0x1b2)](0x24)[_0x541980(0x24f)](0x2,0x8);}Ge[_0x3d67dc(0x1ac)]=_0x3d67dc(0x27f);const Oi={'tag':_0x3d67dc(0x1b0),'attrs':{'xmlns':_0x3d67dc(0x175),'fill':_0x3d67dc(0x22a),'viewBox':_0x3d67dc(0x16d),'width':_0x3d67dc(0x1d8),'height':_0x3d67dc(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d67dc(0x128)},'children':[{'tag':_0x3d67dc(0x15e),'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':_0x3d67dc(0x33a),'strokeLinejoin':_0x3d67dc(0x33a),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3d67dc(0x103),'attrs':{'id':_0x3d67dc(0x306)},'children':[{'tag':_0x3d67dc(0x15e),'attrs':{'fill':_0x3d67dc(0x278),'d':_0x3d67dc(0x21c)}}]}]}],'defIds':[_0x3d67dc(0x306)]},wt=_0x1d6d11(function(_0x21e703,_0x20ee02){const _0x277401=_0x3d67dc;return _0x46306d(Ge,Object[_0x277401(0x14c)]({},_0x21e703,{'id':_0x277401(0x18c),'ref':_0x20ee02,'icon':Oi}));});wt[_0x3d67dc(0x1ac)]=_0x3d67dc(0x1f1);const Ci={'tag':_0x3d67dc(0x1b0),'attrs':{'xmlns':_0x3d67dc(0x175),'fill':_0x3d67dc(0x22a),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x3d67dc(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d67dc(0x24d)},'children':[{'tag':_0x3d67dc(0x15e),'attrs':{'stroke':_0x3d67dc(0x1e7),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3d67dc(0x33a),'strokeLinejoin':_0x3d67dc(0x33a),'strokeWidth':1.2}}]},{'tag':_0x3d67dc(0x1dd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3d67dc(0x1ff)},'children':[{'tag':'path','attrs':{'fill':_0x3d67dc(0x278),'d':_0x3d67dc(0x21c),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3d67dc(0x1ff)]},yt=_0x1d6d11(function(_0x576308,_0x250799){const _0x331481=_0x3d67dc;return _0x46306d(Ge,Object[_0x331481(0x14c)]({},_0x576308,{'id':_0x331481(0x339),'ref':_0x250799,'icon':Ci}));});yt['displayName']=_0x3d67dc(0x186);function Ri(_0x4efd0d){const _0x3a5dfe=_0x3d67dc;switch(_0x4efd0d){case _0x31d531[_0x3a5dfe(0x1e8)]:return _0x3a5dfe(0x1a9);case _0x31d531[_0x3a5dfe(0x150)]:return'collabStatus.conflict';case _0x31d531[_0x3a5dfe(0x202)]:return _0x3a5dfe(0x119);case _0x31d531[_0x3a5dfe(0x1be)]:return _0x3a5dfe(0x265);case _0x31d531[_0x3a5dfe(0x268)]:case _0x31d531[_0x3a5dfe(0x174)]:return _0x3a5dfe(0x330);case _0x31d531[_0x3a5dfe(0x154)]:case _0x31d531['PENDING']:return _0x3a5dfe(0x2d9);}}function bi(_0x297193){const _0x267b2f=_0x3d67dc,{status$:_0x4029ac}=_0x297193,_0x4a3245=_0x3d5967(_0x4029ac,_0x31d531[_0x267b2f(0x1be)]),_0x540702=_0x365dc0(_0x7499ef),_0x2487c7=_0x365dc0(_0x2291d1),_0x7cb992=_0x4a3245!==_0x31d531[_0x267b2f(0x1e8)],_0x5cb539=_0x540702['t'](Ri(_0x4a3245)),_0x194de7=_0x7cb992?_0x17492b(yt,{}):_0x17492b(wt,{}),_0x5e1911=_0x50087c(()=>{_0x7cb992||_0x2487c7['reconnect']();},[_0x7cb992,_0x2487c7]);function _0x30c884(){const _0x4a59e9=_0x267b2f;return _0x4b234a(_0x4a59e9(0x2ba),{'className':'univer-flex\x20univer-items-center','onClick':_0x5e1911,'children':[_0x17492b(_0x4a59e9(0x2ba),{'className':_0x2c4503('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x7cb992,'univer-text-red-500':!_0x7cb992}),'children':_0x194de7}),_0x17492b(_0x4a59e9(0x2ba),{'className':_0x4a59e9(0x144),'children':_0x5cb539})]});}return _0x7cb992?_0x30c884():_0x17492b(_0x493c34,{'title':_0x540702['t'](_0x267b2f(0x1ae)),'children':_0x30c884()});}var Di=Object[_0x3d67dc(0x172)],Ni=(_0x40f83a,_0x18369e,_0x45edfa,_0x32e5c6)=>{for(var _0x49815b=_0x32e5c6>0x1?void 0x0:_0x32e5c6?Di(_0x18369e,_0x45edfa):_0x18369e,_0x3dfb34=_0x40f83a['length']-0x1,_0x262598;_0x3dfb34>=0x0;_0x3dfb34--)(_0x262598=_0x40f83a[_0x3dfb34])&&(_0x49815b=_0x262598(_0x49815b)||_0x49815b);return _0x49815b;},ie=(_0x4eb45b,_0x8858aa)=>(_0x287698,_0x45436f)=>_0x8858aa(_0x287698,_0x45436f,_0x4eb45b);let ce=class extends _0x1c85de{constructor(_0x383d50,_0x23ccb9,_0x3aad53,_0x582a46){const _0x521eb7=_0x3d67dc;super(),_(this,'_status$',new _0x3b2938(_0x31d531[_0x521eb7(0x1be)])),(this['_univerInstanceService']=_0x383d50,this[_0x521eb7(0x1fc)]=_0x23ccb9,this[_0x521eb7(0x1fa)]=_0x3aad53,this[_0x521eb7(0x2a0)]=_0x582a46,this[_0x521eb7(0x27c)](),this[_0x521eb7(0x2e7)]());}[_0x3d67dc(0x2e7)](){const _0x44e2d4=_0x3d67dc;this[_0x44e2d4(0x137)](this[_0x44e2d4(0x1b6)]['focused$']['pipe'](_0x15bd60(()=>{const _0x140e89=_0x44e2d4,_0x3eb07f=this[_0x140e89(0x1b6)][_0x140e89(0x16c)]();return _0x3eb07f?this[_0x140e89(0x1fa)]['getCollabEntity$'](_0x3eb07f[_0x140e89(0x2ef)]()):_0x3375a2(null);}),_0x15bd60(_0x59ad58=>_0x59ad58?_0x59ad58[_0x44e2d4(0x2ab)]:_0x3375a2(_0x31d531[_0x44e2d4(0x1be)])))['subscribe'](_0x174161=>{const _0x11aaae=_0x44e2d4;this[_0x11aaae(0x322)][_0x11aaae(0x298)](_0x174161);}));}[_0x3d67dc(0x27c)](){const _0x32cad7=_0x3d67dc;this[_0x32cad7(0x137)](this[_0x32cad7(0x2a0)][_0x32cad7(0x304)](_0x430cf4[_0x32cad7(0x187)],()=>_0x4538cd(Li({'status$':this[_0x32cad7(0x322)][_0x32cad7(0x216)]()}),this[_0x32cad7(0x1fc)])));}};ce=Ni([ie(0x0,_0x8dd819),ie(0x1,_0x1b6667(_0x653433)),ie(0x2,_0x1b6667(_0x245eb3)),ie(0x3,_0x5a0456)],ce);function Li(_0x195afd){const {status$:_0x53a778}=_0x195afd;return function(){return _0x17492b(bi,{'status$':_0x53a778});};}const $t=_0x3433e3(_0x3d67dc(0x20c));var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x3a27d,_0x2a2dda,_0x2cdf4a,_0x156e0b)=>{const _0x4dc2c8=_0x3d67dc;for(var _0x22c7e7=_0x156e0b>0x1?void 0x0:_0x156e0b?Ui(_0x2a2dda,_0x2cdf4a):_0x2a2dda,_0xac8797=_0x3a27d[_0x4dc2c8(0x1bd)]-0x1,_0x5718e8;_0xac8797>=0x0;_0xac8797--)(_0x5718e8=_0x3a27d[_0xac8797])&&(_0x22c7e7=_0x5718e8(_0x22c7e7)||_0x22c7e7);return _0x22c7e7;},K=(_0x256431,_0x57863d)=>(_0xaafd,_0x1a0298)=>_0x57863d(_0xaafd,_0x1a0298,_0x256431);let _e=class extends _0x2c3066{constructor(_0x3b540f,_0x256bbb,_0x5278bd,_0x31402b,_0x5149e2){const _0x2737fe=_0x3d67dc;super(),this['_urlService']=_0x3b540f,this[_0x2737fe(0x204)]=_0x256bbb,this['_commandService']=_0x5278bd,this[_0x2737fe(0x221)]=_0x31402b,_0x5149e2?_0x5149e2==null||_0x5149e2[_0x2737fe(0x181)]()[_0x2737fe(0x161)](()=>this[_0x2737fe(0x131)]()):(this[_0x2737fe(0x204)][_0x2737fe(0x23b)](_0x2737fe(0x303),_0x2737fe(0x34a)),this['_init']());}async['_init'](){const _0x1af0c9=_0x3d67dc,_0x321be0=this[_0x1af0c9(0x16e)][_0x1af0c9(0x184)]('unit'),_0x403f07=this['_urlService'][_0x1af0c9(0x184)](_0x1af0c9(0x2ec)),_0x24601c=this[_0x1af0c9(0x16e)][_0x1af0c9(0x184)]('subunit');if(!_0x321be0||!_0x403f07){this[_0x1af0c9(0x204)][_0x1af0c9(0x23b)](_0x1af0c9(0x303),_0x1af0c9(0x2c6));return;}const _0x30fbee=await this[_0x1af0c9(0x221)]['loadUnit'](_0x321be0,Number(_0x403f07),_0x24601c);_0x30fbee&&_0x30fbee instanceof _0x5b857f&&this[_0x1af0c9(0x1a4)](_0x30fbee);}async[_0x3d67dc(0x1a4)](_0x4e0552){const _0x1dcc9f=_0x3d67dc;await this[_0x1dcc9f(0x178)](_0x4e0552),_0x4e0552[_0x1dcc9f(0x2df)][_0x1dcc9f(0x1d6)](_0x49248c(this[_0x1dcc9f(0x2a1)]))[_0x1dcc9f(0x20b)](_0x1d80a9=>{const _0x22f70c=_0x1dcc9f;_0x1d80a9&&this[_0x22f70c(0x126)](_0x1d80a9);}),this[_0x1dcc9f(0x16e)][_0x1dcc9f(0x2c5)][_0x1dcc9f(0x1d6)](_0x49248c(this['dispose$']))[_0x1dcc9f(0x20b)](()=>this[_0x1dcc9f(0x178)](_0x4e0552));}['_updateURLWithCurrentState'](_0x49e308,_0x4e27a7=!0x1){const _0x129a3d=_0x3d67dc,_0x560488=this['_urlService'][_0x129a3d(0x184)](_0x129a3d(0x195));_0x49e308[_0x129a3d(0x260)]()!==_0x560488&&this[_0x129a3d(0x16e)]['setParam']('subunit',_0x49e308[_0x129a3d(0x260)](),_0x4e27a7);}async[_0x3d67dc(0x178)](_0x354269){const _0x47e344=_0x3d67dc;var _0x55ed73;const _0x45fd8a=this[_0x47e344(0x16e)][_0x47e344(0x184)](_0x47e344(0x195));if(!_0x45fd8a||!_0x354269[_0x47e344(0x25e)](_0x45fd8a)){const _0x58df2a=_0x354269[_0x47e344(0x2a7)]()[0x0],_0x1946c8=_0x354269[_0x47e344(0x25e)](_0x58df2a);if(!_0x1946c8)return;this[_0x47e344(0x126)](_0x1946c8,!0x0),await this[_0x47e344(0x334)]['executeCommand'](_0x11d0a6['id'],{'unitId':_0x354269[_0x47e344(0x2ef)](),'subUnitId':_0x58df2a});return;}((_0x55ed73=_0x354269[_0x47e344(0x338)]())==null?void 0x0:_0x55ed73[_0x47e344(0x260)]())!==_0x45fd8a&&await this[_0x47e344(0x334)][_0x47e344(0x292)](_0x11d0a6['id'],{'unitId':_0x354269[_0x47e344(0x2ef)](),'subUnitId':_0x45fd8a});}};_e=Mi([K(0x0,$t),K(0x1,_0xd040f7),K(0x2,_0xa09e90),K(0x3,_0x1b6667(_0x88833a)),K(0x4,_0x1316ef(_0x4a9318))],_e);const Ai='@univerjs-pro/collaboration-client-ui',Pi=_0x3d67dc(0x155),xt={'name':Ai,'version':Pi};var wi=Object[_0x3d67dc(0x172)],yi=(_0x8e60b6,_0x4bc33d,_0x215c0e,_0x5c0362)=>{const _0x56c348=_0x3d67dc;for(var _0x171f1f=_0x5c0362>0x1?void 0x0:_0x5c0362?wi(_0x4bc33d,_0x215c0e):_0x4bc33d,_0x3d2edd=_0x8e60b6[_0x56c348(0x1bd)]-0x1,_0x3b376f;_0x3d2edd>=0x0;_0x3d2edd--)(_0x3b376f=_0x8e60b6[_0x3d2edd])&&(_0x171f1f=_0x3b376f(_0x171f1f)||_0x171f1f);return _0x171f1f;},ot=(_0x5b762b,_0x21d61e)=>(_0x309f5e,_0x2ed5ba)=>_0x21d61e(_0x309f5e,_0x2ed5ba,_0x5b762b);let xe=class extends _0x2c3066{constructor(_0x3349e2,_0x56524d){const _0xe6e921=_0x3d67dc;super(),this[_0xe6e921(0x228)]=_0x3349e2,this['_imageIoService']=_0x56524d,this['_init']();}['_init'](){const _0x1240a3=_0x3d67dc,_0x3e6fa8=this;this[_0x1240a3(0x137)](this[_0x1240a3(0x228)][_0x1240a3(0x1f7)]({'onBeforePasteImage':async _0x4fa075=>{const _0x1566a0=_0x1240a3,_0x5ed840=await _0x3e6fa8[_0x1566a0(0x2c2)][_0x1566a0(0x2f7)](_0x4fa075);return _0x5ed840?{'source':_0x5ed840[_0x1566a0(0x355)],'imageSourceType':_0x5ed840[_0x1566a0(0x256)]}:null;}}));}};xe=yi([ot(0x0,_0x4f02b9),ot(0x1,_0x5ebc5e)],xe);const at=[_0x3d67dc(0x2d7),_0x3d67dc(0x307),_0x3d67dc(0x30a),_0x3d67dc(0x345),_0x3d67dc(0x108),_0x3d67dc(0x35a)];class Ke extends _0x1c85de{constructor(){const _0x149ad3=_0x3d67dc;super(...arguments),_(this,_0x149ad3(0x312),new Map()),_(this,_0x149ad3(0x224),0x0);}['assignAColorForMemberID'](_0x4da235){const _0x39e966=_0x3d67dc;if(this[_0x39e966(0x312)][_0x39e966(0x138)](_0x4da235))return this['_assignedColors'][_0x39e966(0x30c)](_0x4da235);const _0x7f977a=at[this[_0x39e966(0x224)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%at[_0x39e966(0x1bd)],this[_0x39e966(0x312)][_0x39e966(0x156)](_0x4da235,_0x7f977a),_0x7f977a;}}function Bt(_0x14a456){const _0x4824d0=_0x3d67dc;let _0x454c8c='';for(const _0x81ac29 of _0x14a456){const {startOffset:_0x5c5d34,endOffset:_0x1fc6fd,isActive:_0x3c3f67,rangeType:_0x1ae0de,segmentId:_0x5a7646,segmentPage:_0x376b04}=_0x81ac29;_0x454c8c[_0x4824d0(0x1bd)]&&(_0x454c8c+=','),_0x454c8c+=_0x5c5d34+':'+_0x1fc6fd+':'+(_0x3c3f67?'1':'0')+':'+_0x1ae0de+':'+_0x5a7646+':'+_0x376b04;}return _0x454c8c;}function $i(_0x481035){const _0x1acac2=_0x3d67dc,_0x1ca104=_0x481035[_0x1acac2(0x15c)](','),_0x39a0a1=[];for(const _0x17e3ed of _0x1ca104){const [_0x2f8c4e,_0x4254f9,_0x3b3f78,_0xb9f9f3,_0xbe96f4,_0x213484]=_0x17e3ed['split'](':');_0x39a0a1[_0x1acac2(0x208)]({'startOffset':Number(_0x2f8c4e),'endOffset':Number(_0x4254f9),'collapsed':_0x2f8c4e===_0x4254f9,'isActive':_0x3b3f78==='1','rangeType':_0xb9f9f3===_0x584b46['TEXT']?_0x584b46[_0x1acac2(0x16a)]:_0x584b46[_0x1acac2(0x1cd)],'segmentId':typeof _0xbe96f4==_0x1acac2(0x2cc)?String(_0xbe96f4):'','segmentPage':Number(_0x213484!=null?_0x213484:-0x1)});}return _0x39a0a1[_0x1acac2(0x167)](_0x57b344=>_0x57b344[_0x1acac2(0x26e)])||(_0x39a0a1[0x0][_0x1acac2(0x26e)]=!0x0),_0x39a0a1;}class ze extends _0x2c3066{constructor(){const _0x4e6b90=_0x3d67dc;super(...arguments),_(this,_0x4e6b90(0x357),new _0x3b2938(null)),_(this,_0x4e6b90(0x2fc),this[_0x4e6b90(0x357)][_0x4e6b90(0x216)]());}[_0x3d67dc(0x247)](_0x132390){const _0x5ace6d=_0x3d67dc,{unitID:_0x1107d1,memberID:_0x52feeb,textRanges:_0x385593}=_0x132390,_0x961aa8=Bt(_0x385593);if(_0x961aa8==='')return;const _0x457f6d={'unitID':_0x1107d1,'memberID':_0x52feeb,'selection':_0x961aa8};this[_0x5ace6d(0x357)][_0x5ace6d(0x298)](_0x457f6d);}}var xi=Object[_0x3d67dc(0x172)],Bi=(_0x110409,_0x57a74a,_0x4e07ac,_0x3511f2)=>{const _0x393320=_0x3d67dc;for(var _0x475a5e=_0x3511f2>0x1?void 0x0:_0x3511f2?xi(_0x57a74a,_0x4e07ac):_0x57a74a,_0x3cf3fe=_0x110409[_0x393320(0x1bd)]-0x1,_0x401b1c;_0x3cf3fe>=0x0;_0x3cf3fe--)(_0x401b1c=_0x110409[_0x3cf3fe])&&(_0x475a5e=_0x401b1c(_0x475a5e)||_0x475a5e);return _0x475a5e;},A=(_0x43a379,_0x17b77e)=>(_0x30cb38,_0x2066dd)=>_0x17b77e(_0x30cb38,_0x2066dd,_0x43a379);const ki=0x12c,Fi=0x64;let Be=class extends _0x2c3066{constructor(_0x1af9d2,_0x241e60,_0x4af9f2,_0x4a24fd,_0x37d292,_0x5358ea,_0xab5b4,_0x7da589,_0x907686){const _0x7ab8a8=_0x3d67dc;super(),_(this,'_online',!0x1),_(this,_0x7ab8a8(0x131),!0x1),_(this,_0x7ab8a8(0x31c),new _0x3b2938(new Map())),_(this,'cursorInfo$',this[_0x7ab8a8(0x31c)][_0x7ab8a8(0x216)]()),_(this,_0x7ab8a8(0x32a),new _0x3b2938([])),_(this,_0x7ab8a8(0x190),this[_0x7ab8a8(0x32a)]['pipe'](_0x5e64b7(ki))),_(this,'_updateLocalCursor',_0x18d31a(_0x2ea3f4=>{const _0x48da89=_0x7ab8a8,_0x56825d={'eventID':_0x2fd2f9[_0x48da89(0x2cf)],'data':{'unitID':this['unitID'],'memberID':this[_0x48da89(0x241)][_0x48da89(0x15f)](),'selection':Bt(_0x2ea3f4)}};this[_0x48da89(0x241)][_0x48da89(0x13c)](_0x56825d,this[_0x48da89(0x102)]);},Fi)),(this['unitID']=_0x1af9d2,this[_0x7ab8a8(0x241)]=_0x241e60,this[_0x7ab8a8(0x1fc)]=_0x4af9f2,this[_0x7ab8a8(0x248)]=_0x4a24fd,this[_0x7ab8a8(0x127)]=_0x37d292,this[_0x7ab8a8(0x2d0)]=_0x5358ea,this[_0x7ab8a8(0x2de)]=_0xab5b4,this[_0x7ab8a8(0x1b6)]=_0x7da589,this['_commandService']=_0x907686);}get['cursorInfo'](){const _0x19b036=_0x3d67dc;return this['_cursorInfo$'][_0x19b036(0x17b)]();}get[_0x3d67dc(0x20a)](){const _0x169204=_0x3d67dc;return this['_roomMembers$'][_0x169204(0x17b)]();}['dispose'](){const _0x729238=_0x3d67dc;super[_0x729238(0x201)](),this[_0x729238(0x31c)][_0x729238(0x298)](new Map()),this[_0x729238(0x31c)][_0x729238(0x169)](),this[_0x729238(0x32a)]['next']([]),this[_0x729238(0x32a)][_0x729238(0x169)]();}[_0x3d67dc(0x31d)](){const _0xa29377=_0x3d67dc;this[_0xa29377(0x131)]||(this[_0xa29377(0x131)]=!0x0,this['_session'][_0xa29377(0x33c)][_0xa29377(0x1d6)](_0x49248c(this[_0xa29377(0x2a1)]))[_0xa29377(0x20b)](_0x33218a=>{const _0x793e29=_0xa29377;_0x33218a===_0x34091e['ONLINE']?this[_0x793e29(0x10e)]():this[_0x793e29(0x173)]();}),this['_session']['event$'][_0xa29377(0x1d6)](_0x49248c(this[_0xa29377(0x2a1)]))[_0xa29377(0x20b)](_0xd0e3=>{const _0x397a1a=_0xa29377,_0x41b6c2=_0xd0e3[_0x397a1a(0x262)];_0x41b6c2===_0x2fd2f9[_0x397a1a(0x2cf)]&&this[_0x397a1a(0x134)](_0xd0e3),_0x41b6c2===_0x2fd2f9[_0x397a1a(0x277)]&&this[_0x397a1a(0x1ec)](_0xd0e3);}),this[_0xa29377(0x137)](this['_commandService']['onCommandExecuted'](_0x15e79d=>{const _0x53ed23=_0xa29377,_0x447bba=_0x15e79d['params'];_0x447bba!=null&&this[_0x53ed23(0x229)]&&_0x15e79d['id']===_0xb671c6['id']&&_0x447bba[_0x53ed23(0x1b4)]===this['unitID']&&_0x447bba[_0x53ed23(0x22c)]===!0x1&&_0x447bba[_0x53ed23(0x28d)]['length']>0x0&&this[_0x53ed23(0x1f5)](_0x447bba[_0x53ed23(0x28d)]);})),this[_0xa29377(0x2d0)][_0xa29377(0x2fc)][_0xa29377(0x1d6)](_0x49248c(this['dispose$']))[_0xa29377(0x20b)](_0x33feac=>{const _0x436bcf=_0xa29377;if((_0x33feac==null?void 0x0:_0x33feac['unitID'])!==this[_0x436bcf(0x102)])return;const _0xa8ecc={'eventID':_0x2fd2f9['UPDATE_CURSOR'],'data':_0x33feac};this[_0x436bcf(0x134)](_0xa8ecc);}),this[_0xa29377(0x137)](this[_0xa29377(0x334)][_0xa29377(0x25d)](_0x3c9be8=>{const _0xfcaeb1=_0xa29377;if(_0x3c9be8[_0xfcaeb1(0x349)]==null)return;const _0x4b3883=_0x3c9be8['params'];if(_0x3c9be8['id']!==_0xb57c34['id']||_0x4b3883[_0xfcaeb1(0x1b4)]!==this[_0xfcaeb1(0x102)])return;const _0x228cdc={'id':_0xfcaeb1(0x106),'params':_0x4b3883},_0x5278ab=this[_0xfcaeb1(0x337)];for(const [_0x18cffe,_0x4c2769]of _0x5278ab){const _0x3a8613={'id':_0xfcaeb1(0x106),'params':{'unitId':this[_0xfcaeb1(0x102)],'actions':null,'textRanges':_0x4c2769['ranges']}},_0x5c8d9a=this[_0xfcaeb1(0x2de)]['transformMutation'](_0x228cdc,_0x3a8613,!0x1);if(_0x56d7f9(_0x5c8d9a))throw _0x5c8d9a['error'];_0x5278ab[_0xfcaeb1(0x156)](_0x18cffe,{..._0x4c2769,'ranges':_0x5c8d9a[_0xfcaeb1(0x2bb)][_0xfcaeb1(0x349)][_0xfcaeb1(0x2f2)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x5278ab);});})));}['_onCursorUpdate'](_0x17938d){const _0x2fd35a=_0x3d67dc;var _0x41c008,_0x25976d;const {memberID:_0x13f4d1,selection:_0x13c07c}=_0x17938d[_0x2fd35a(0x25f)],_0x576225=$i(_0x13c07c),_0x38ff9c=(_0x25976d=(_0x41c008=this[_0x2fd35a(0x127)]['getMember'](this[_0x2fd35a(0x102)],_0x13f4d1))==null?void 0x0:_0x41c008['name'])!=null?_0x25976d:_0x2fd35a(0x2d5),_0x292b5f={'color':this[_0x2fd35a(0x248)][_0x2fd35a(0x121)](_0x13f4d1),'name':_0x38ff9c,'ranges':_0x576225},_0x46a081=this[_0x2fd35a(0x337)];_0x46a081[_0x2fd35a(0x156)](_0x13f4d1,_0x292b5f),this[_0x2fd35a(0x31c)][_0x2fd35a(0x298)](_0x46a081);}[_0x3d67dc(0x1ec)](_0x321b49){const _0x2cf250=_0x3d67dc,{memberID:_0x9aa764}=_0x321b49[_0x2cf250(0x25f)],_0x1eae7c=this[_0x2cf250(0x337)];_0x1eae7c[_0x2cf250(0x1ed)](_0x9aa764),this[_0x2cf250(0x31c)][_0x2cf250(0x298)](_0x1eae7c);}['_toggleOnline'](){const _0xc1a0b1=_0x3d67dc;var _0x374ea4;if(this[_0xc1a0b1(0x229)]=!0x0,((_0x374ea4=this['_univerInstanceService'][_0xc1a0b1(0x16c)]())==null?void 0x0:_0x374ea4[_0xc1a0b1(0x2ef)]())!==this[_0xc1a0b1(0x102)])return;const _0x5528ad=this[_0xc1a0b1(0x1fc)][_0xc1a0b1(0x30c)](_0x131427)[_0xc1a0b1(0x1c3)]();Array[_0xc1a0b1(0x222)](_0x5528ad)&&_0x5528ad[_0xc1a0b1(0x1bd)]>0x0&&this[_0xc1a0b1(0x1f5)](_0x5528ad);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([A(0x2,_0x1b6667(_0x653433)),A(0x3,_0x1b6667(Ke)),A(0x4,_0x1b6667(_0x33731d)),A(0x5,_0x1b6667(ze)),A(0x6,_0x4f6061),A(0x7,_0x8dd819),A(0x8,_0xa09e90)],Be);var Yi=Object['getOwnPropertyDescriptor'],Hi=(_0x3c886e,_0x124584,_0x543a1e,_0x2ae381)=>{const _0x25a472=_0x3d67dc;for(var _0x2ceaad=_0x2ae381>0x1?void 0x0:_0x2ae381?Yi(_0x124584,_0x543a1e):_0x124584,_0x5698f5=_0x3c886e[_0x25a472(0x1bd)]-0x1,_0x34d6d4;_0x5698f5>=0x0;_0x5698f5--)(_0x34d6d4=_0x3c886e[_0x5698f5])&&(_0x2ceaad=_0x34d6d4(_0x2ceaad)||_0x2ceaad);return _0x2ceaad;},B=(_0x2daab4,_0x29c244)=>(_0xa898ed,_0x55813e)=>_0x29c244(_0xa898ed,_0x55813e,_0x2daab4);const Wi=0x12c,Vi=0x64,ji=()=>{let _0x3d30e8=[],_0x1cee87=!0x1;return _0x1e4058=>{const _0xe6de6b=_0x248c;_0x3d30e8[_0xe6de6b(0x208)](_0x1e4058),_0x1cee87||(_0x1cee87=!0x0,setTimeout(()=>{const _0x483e94=_0xe6de6b;_0x3d30e8[_0x483e94(0x215)](_0x569c44=>_0x569c44()),_0x3d30e8=[],_0x1cee87=!0x1;}));};};let ke=class extends _0x2c3066{constructor(_0x8df303,_0xb3c424,_0x4c3a5b,_0x49b6bc,_0x25149f,_0x175a1e,_0x244c1d,_0x448137){const _0x5d7113=_0x3d67dc;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x5d7113(0x31c),new _0x3b2938(new Map())),_(this,_0x5d7113(0x282),this[_0x5d7113(0x31c)][_0x5d7113(0x216)]()),_(this,_0x5d7113(0x32a),new _0x3b2938([])),_(this,_0x5d7113(0x190),this['_roomMembers$'][_0x5d7113(0x1d6)](_0x5e64b7(Wi))),_(this,_0x5d7113(0x1f5),_0x18d31a((_0x7f4a5e,_0x3f4ca2)=>{const _0x1b201c=_0x5d7113,_0x4cae8c={'eventID':_0x2fd2f9[_0x1b201c(0x2cf)],'data':{'unitID':this[_0x1b201c(0x102)],'memberID':this[_0x1b201c(0x241)][_0x1b201c(0x15f)](),'selection':_0x3ffaf7(_0x7f4a5e,_0x3f4ca2[_0x1b201c(0x1ad)])}};this[_0x1b201c(0x241)]['send'](_0x4cae8c,this[_0x1b201c(0x102)]);},Vi)),(this['unitID']=_0x8df303,this[_0x5d7113(0x241)]=_0xb3c424,this[_0x5d7113(0x1fc)]=_0x4c3a5b,this['_colorAssignService']=_0x49b6bc,this[_0x5d7113(0x127)]=_0x25149f,this['_univerInstanceService']=_0x175a1e,this[_0x5d7113(0x334)]=_0x244c1d,this[_0x5d7113(0x117)]=_0x448137);}get['cursorInfo'](){const _0x518b70=_0x3d67dc;return this[_0x518b70(0x31c)][_0x518b70(0x17b)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x1f1fc4=_0x3d67dc;super[_0x1f1fc4(0x201)](),this[_0x1f1fc4(0x31c)][_0x1f1fc4(0x298)](new Map()),this[_0x1f1fc4(0x31c)][_0x1f1fc4(0x169)](),this[_0x1f1fc4(0x32a)][_0x1f1fc4(0x298)]([]),this[_0x1f1fc4(0x32a)]['complete']();}[_0x3d67dc(0x31d)](){const _0x16b593=_0x3d67dc;this[_0x16b593(0x131)]||(this[_0x16b593(0x131)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x49248c(this[_0x16b593(0x2a1)]))['subscribe'](_0x88d5e0=>{const _0x194dfd=_0x16b593;_0x88d5e0===_0x34091e[_0x194dfd(0x129)]?this[_0x194dfd(0x10e)]():this[_0x194dfd(0x173)]();}),this[_0x16b593(0x241)]['event$'][_0x16b593(0x1d6)](_0x49248c(this[_0x16b593(0x2a1)]))[_0x16b593(0x20b)](_0x30d47d=>{const _0x3a3c64=_0x16b593,_0x21c71e=_0x30d47d[_0x3a3c64(0x262)];_0x21c71e===_0x2fd2f9['UPDATE_CURSOR']&&this[_0x3a3c64(0x134)](_0x30d47d),_0x21c71e===_0x2fd2f9[_0x3a3c64(0x277)]&&this[_0x3a3c64(0x1ec)](_0x30d47d);}),this[_0x16b593(0x1e4)](),this[_0x16b593(0x137)](this[_0x16b593(0x334)]['onCommandExecuted'](_0x47fec1=>{const _0x1c4981=_0x16b593;if(this[_0x1c4981(0x229)]&&_0x47fec1['id']===_0x3cebb2['id']&&_0x47fec1[_0x1c4981(0x349)][_0x1c4981(0x1b4)]===this[_0x1c4981(0x102)]){const _0x37d37f=_0x47fec1[_0x1c4981(0x349)];this['_updateLocalCursor'](_0x37d37f[_0x1c4981(0x290)],_0x37d37f[_0x1c4981(0x30b)][0x0]);}})));}['_onCursorUpdate'](_0x28540e){const _0x47a1f8=_0x3d67dc;var _0x3a4489,_0x26185f;const {memberID:_0x1bc453,selection:_0x1c193f}=_0x28540e[_0x47a1f8(0x25f)],{sheetName:_0x1deb36,range:_0x2cfda1}=_0x476f39(_0x1c193f),_0x24bc7b={'name':(_0x26185f=(_0x3a4489=this['_memberService'][_0x47a1f8(0x2eb)](this[_0x47a1f8(0x102)],_0x1bc453))==null?void 0x0:_0x3a4489['name'])!=null?_0x26185f:'Unknown\x20user','range':this[_0x47a1f8(0x313)](_0x1deb36,_0x2cfda1),'sheetID':_0x1deb36,'color':this[_0x47a1f8(0x248)][_0x47a1f8(0x121)](_0x1bc453),'selection':_0x1c193f},_0x21182c=this[_0x47a1f8(0x337)];_0x21182c['set'](_0x1bc453,_0x24bc7b),this[_0x47a1f8(0x31c)][_0x47a1f8(0x298)](_0x21182c);}['_onCursorDelete'](_0x323d97){const _0x3c740e=_0x3d67dc,{memberID:_0x2b1373}=_0x323d97[_0x3c740e(0x25f)],_0xe6afd5=this[_0x3c740e(0x337)];_0xe6afd5[_0x3c740e(0x1ed)](_0x2b1373),this['_cursorInfo$']['next'](_0xe6afd5);}[_0x3d67dc(0x313)](_0x2b79b1,_0x32b532){const _0x246c5c=_0x3d67dc;var _0x283825,_0x52f067;const _0x1b6e8d=(_0x52f067=(_0x283825=this[_0x246c5c(0x1b6)][_0x246c5c(0x2e6)](this[_0x246c5c(0x102)]))==null?void 0x0:_0x283825['getSheetBySheetId'](_0x2b79b1))==null?void 0x0:_0x52f067['getMergeData']();return(_0x1b6e8d==null?void 0x0:_0x1b6e8d[_0x246c5c(0x104)](_0x575bda=>_0x35879b[_0x246c5c(0x2d6)](_0x575bda,_0x32b532)))||_0x32b532;}[_0x3d67dc(0x1e4)](){const _0x39431d=_0x3d67dc,_0x5289f2=new _0x34cb0f(),_0x45ab14=ji(),_0x55fe8d=()=>{const _0x263d36=_0x248c;_0x5289f2[_0x263d36(0x201)]();const _0x242a8b=(_0x5b8675,_0x5f0527,_0x510590,_0x5d1346)=>{const _0x34ede4=_0x263d36;let _0x54ffc0=[];switch(_0x5b8675['id']){case _0x46eaf6[_0x34ede4(0x112)]:{_0x54ffc0=_0x60b3bb(_0x5b8675,_0x5d1346);break;}case _0x46eaf6[_0x34ede4(0x233)]:{_0x54ffc0=_0x448c14(_0x5b8675,_0x5d1346);break;}case _0x46eaf6[_0x34ede4(0x332)]:{_0x54ffc0=_0x2a8b6e(_0x5b8675,_0x5d1346);break;}case _0x46eaf6['InsertRangeMoveDownCommandId']:{_0x54ffc0=_0x369796(_0x5b8675,_0x5d1346);break;}case _0x46eaf6['InsertRangeMoveRightCommandId']:{_0x54ffc0=_0x596d51(_0x5b8675,_0x5d1346);break;}case _0x46eaf6[_0x34ede4(0x1b1)]:{_0x54ffc0=_0x517ec8(_0x5b8675,_0x5d1346);break;}case _0x46eaf6[_0x34ede4(0x2c0)]:{_0x54ffc0=_0x48b0e3(_0x5b8675,_0x5d1346);break;}case _0x46eaf6[_0x34ede4(0x2b2)]:{_0x54ffc0=_0x584b12(_0x5b8675,_0x5d1346);break;}case _0x46eaf6[_0x34ede4(0x30d)]:{_0x54ffc0=_0x23e988(_0x5b8675,_0x5d1346);break;}}const _0x1bf220=_0x30da5c(_0x54ffc0,_0x5d1346),_0x272d6e=this[_0x34ede4(0x337)]['get'](_0x5f0527);if(_0x272d6e&&_0x1bf220){const _0x24e0e4={..._0x272d6e,'range':_0x1bf220};this[_0x34ede4(0x337)][_0x34ede4(0x156)](_0x5f0527,_0x24e0e4),_0x45ab14(()=>{const _0x3e06f4=_0x34ede4,_0x49d69c=this[_0x3e06f4(0x117)][_0x3e06f4(0x34f)](_0x1bf220,_0x4c6762=>(_0x49d69c[_0x3e06f4(0x201)](),_0x242a8b(_0x4c6762,_0x5f0527,_0x510590,_0x1bf220)));_0x5289f2[_0x3e06f4(0x31a)](_0x49d69c);});}return{'redos':[],'undos':[]};};this[_0x263d36(0x337)][_0x263d36(0x215)]((_0x4d5e89,_0x46f9a4)=>{const _0x3854ec=_0x263d36,{range:_0x599f66,sheetID:_0x20ea54}=_0x4d5e89,_0x55a702=this[_0x3854ec(0x117)][_0x3854ec(0x34f)](_0x599f66,_0x27cad1=>(_0x55a702[_0x3854ec(0x201)](),_0x242a8b(_0x27cad1,_0x46f9a4,_0x20ea54,_0x599f66)));_0x5289f2[_0x3854ec(0x31a)](_0x55a702);});};this[_0x39431d(0x137)](_0x1ed22b(this[_0x39431d(0x31c)][_0x39431d(0x20b)](()=>{_0x55fe8d();})));}['_toggleOnline'](){const _0xf75a2a=_0x3d67dc;var _0x4068fb,_0x6501c2;if(this[_0xf75a2a(0x229)]=!0x0,((_0x4068fb=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4068fb[_0xf75a2a(0x2ef)]())!==this[_0xf75a2a(0x102)])return;const _0x15d672=(_0x6501c2=this['_injector']['get'](_0x5efcfb)['getCurrentSelections']())==null?void 0x0:_0x6501c2[0x0],_0x27369f=this[_0xf75a2a(0x1b6)][_0xf75a2a(0x1bb)](_0x4d7c74[_0xf75a2a(0x2fd)])[_0xf75a2a(0x338)]();_0x15d672&&_0x27369f&&this[_0xf75a2a(0x1f5)](_0x27369f[_0xf75a2a(0x260)](),_0x15d672);}[_0x3d67dc(0x173)](){const _0x36be59=_0x3d67dc;this[_0x36be59(0x229)]=!0x1;}};ke=Hi([B(0x2,_0x1b6667(_0x653433)),B(0x3,_0x1b6667(Ke)),B(0x4,_0x1b6667(_0x33731d)),B(0x5,_0x8dd819),B(0x6,_0xa09e90),B(0x7,_0x1b6667(_0x32818e))],ke);var Xi=Object[_0x3d67dc(0x172)],Gi=(_0x1e22ef,_0x1053b8,_0x32b76c,_0x43c61f)=>{for(var _0x10b76d=_0x43c61f>0x1?void 0x0:_0x43c61f?Xi(_0x1053b8,_0x32b76c):_0x1053b8,_0x4d3c76=_0x1e22ef['length']-0x1,_0x249e95;_0x4d3c76>=0x0;_0x4d3c76--)(_0x249e95=_0x1e22ef[_0x4d3c76])&&(_0x10b76d=_0x249e95(_0x10b76d)||_0x10b76d);return _0x10b76d;},Re=(_0x140e53,_0x5f2305)=>(_0x13ffd1,_0x564af1)=>_0x5f2305(_0x13ffd1,_0x564af1,_0x140e53);let Y=class extends _0x2c3066{constructor(_0x58d085,_0x31fb9e,_0x43331c){const _0x41e0bd=_0x3d67dc;super(),_(this,_0x41e0bd(0x1ba),new Map()),_(this,_0x41e0bd(0x192),new _0x4b44bc()),(this[_0x41e0bd(0x1b6)]=_0x58d085,this['_injector']=_0x31fb9e,this[_0x41e0bd(0x107)]=_0x43331c,this[_0x41e0bd(0x131)]());}['dispose'](){const _0x248014=_0x3d67dc;super[_0x248014(0x201)](),this['_entityInit$'][_0x248014(0x169)](),this[_0x248014(0x1ba)][_0x248014(0x215)](_0x2ee6be=>_0x2ee6be[_0x248014(0x201)]());}['getCollabCursors$'](_0x367bb2){const _0x4e9583=_0x3d67dc;return this[_0x4e9583(0x1ba)][_0x4e9583(0x138)](_0x367bb2)?this['_entities'][_0x4e9583(0x30c)](_0x367bb2)[_0x4e9583(0x282)]:this['_entityInit$'][_0x4e9583(0x1d6)](_0x5bf8e7(_0x332dc1=>_0x332dc1[_0x4e9583(0x102)]===_0x367bb2),_0x15bd60(_0x49ba7e=>_0x49ba7e[_0x4e9583(0x282)]));}['_init'](){const _0x19ea85=_0x3d67dc;this[_0x19ea85(0x1b6)][_0x19ea85(0x13a)](_0x4d7c74['UNIVER_SHEET'])[_0x19ea85(0x1d6)](_0x49248c(this[_0x19ea85(0x2a1)]))[_0x19ea85(0x20b)](async _0xb269c1=>{const _0x3416de=_0x19ea85,_0x227055=_0xb269c1[_0x3416de(0x2ef)](),_0x584da4=await this[_0x3416de(0x19d)](_0x227055);this[_0x3416de(0x192)][_0x3416de(0x298)](_0x584da4),this[_0x3416de(0x1ba)][_0x3416de(0x156)](_0x227055,_0x584da4);}),this['_univerInstanceService'][_0x19ea85(0x13a)](_0x4d7c74[_0x19ea85(0x351)])[_0x19ea85(0x1d6)](_0x49248c(this[_0x19ea85(0x2a1)]))['pipe'](_0x5bf8e7(_0x1f4b8a=>!_0x1f4b8a[_0x19ea85(0x2ef)]()[_0x19ea85(0x13f)]('__')))[_0x19ea85(0x20b)](async _0x77351=>{const _0x29e387=_0x19ea85,_0x5916fe=_0x77351[_0x29e387(0x2ef)](),_0x2bd691=await this['_startDocCollabCursor'](_0x5916fe);this[_0x29e387(0x192)][_0x29e387(0x298)](_0x2bd691),this[_0x29e387(0x1ba)][_0x29e387(0x156)](_0x5916fe,_0x2bd691);}),_0x2ee6fd(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4d7c74[_0x19ea85(0x351)]),this[_0x19ea85(0x1b6)][_0x19ea85(0x1c2)](_0x4d7c74[_0x19ea85(0x2fd)]))[_0x19ea85(0x1d6)](_0x49248c(this[_0x19ea85(0x2a1)]))[_0x19ea85(0x20b)](_0x416b61=>{const _0x5920b7=_0x19ea85,_0x2d8515=_0x416b61[_0x5920b7(0x2ef)](),_0x580860=this[_0x5920b7(0x1ba)]['get'](_0x2d8515);_0x580860&&(_0x580860[_0x5920b7(0x201)](),this[_0x5920b7(0x1ba)][_0x5920b7(0x1ed)](_0x2d8515));});}async[_0x3d67dc(0x19d)](_0x3aaa40){const _0x24ef2f=_0x3d67dc,_0x31444c=await this['_collabSessionService'][_0x24ef2f(0xf7)](_0x3aaa40),_0x1dbeba=this[_0x24ef2f(0x1fc)][_0x24ef2f(0xfd)](ke,_0x3aaa40,_0x31444c);return _0x1dbeba[_0x24ef2f(0x31d)](),_0x1dbeba;}async[_0x3d67dc(0x185)](_0x3c5fe3){const _0x2fea94=_0x3d67dc,_0x2612e3=await this[_0x2fea94(0x107)]['requireSession'](_0x3c5fe3),_0x1a6858=this[_0x2fea94(0x1fc)][_0x2fea94(0xfd)](Be,_0x3c5fe3,_0x2612e3);return _0x1a6858[_0x2fea94(0x31d)](),_0x1a6858;}};Y=Gi([Re(0x0,_0x8dd819),Re(0x1,_0x1b6667(_0x653433)),Re(0x2,_0x1b6667(_0x2291d1))],Y);const Q=0x14,ct=0xc8,be=0x4,Ki=0x5;function zi(_0x1e6333,_0x177ce0){const _0x282681=_0x3d67dc;let {radius:_0x5bea8f,width:_0x17601c,height:_0x5524c8}=_0x177ce0;_0x5bea8f=_0x5bea8f!=null?_0x5bea8f:0x0,_0x17601c=_0x17601c!=null?_0x17601c:0x1e,_0x5524c8=_0x5524c8!=null?_0x5524c8:0x1e;let _0xec2bd8=0x0,_0x1d5ebf=0x0,_0x1e4116=0x0;_0xec2bd8=_0x1d5ebf=_0x1e4116=Math[_0x282681(0x246)](_0x5bea8f,_0x17601c/0x2,_0x5524c8/0x2),_0x1e6333[_0x282681(0x335)](),_0x1e6333['moveTo'](_0xec2bd8,0x0),_0x1e6333[_0x282681(0x120)](_0x17601c-_0x1d5ebf,0x0),_0x1e6333[_0x282681(0x20f)](_0x17601c-_0x1d5ebf,_0x1d5ebf,_0x1d5ebf,Math['PI']*0x3/0x2,0x0,!0x1),_0x1e6333[_0x282681(0x120)](_0x17601c,_0x5524c8-_0x1e4116),_0x1e6333[_0x282681(0x20f)](_0x17601c-_0x1e4116,_0x5524c8-_0x1e4116,_0x1e4116,0x0,Math['PI']/0x2,!0x1),_0x1e6333[_0x282681(0x120)](0x0,_0x5524c8),_0x1e6333[_0x282681(0x120)](0x0,_0xec2bd8),_0x1e6333[_0x282681(0x20f)](_0xec2bd8,_0xec2bd8,_0xec2bd8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1e6333[_0x282681(0xfc)](),_0x177ce0[_0x282681(0x1aa)]&&(_0x1e6333[_0x282681(0x320)](),_0x1e6333[_0x282681(0x149)]=_0x177ce0['fill'],_0x177ce0[_0x282681(0x309)]===_0x282681(0x206)?_0x1e6333[_0x282681(0x1aa)](_0x282681(0x206)):_0x1e6333[_0x282681(0x1aa)](),_0x1e6333[_0x282681(0x359)]());}class Te extends _0x4e1b04{constructor(_0x576988,_0x491bc7){const _0x57dc9a=_0x3d67dc;super(_0x576988,_0x491bc7),_(this,_0x57dc9a(0x2aa)),_(this,_0x57dc9a(0x272)),(this[_0x57dc9a(0x2aa)]=_0x491bc7==null?void 0x0:_0x491bc7[_0x57dc9a(0x2aa)],this['text']=_0x491bc7==null?void 0x0:_0x491bc7[_0x57dc9a(0x272)]);}static[_0x3d67dc(0x33b)](_0x245158,_0x39856b){const _0x447d50=_0x3d67dc,{text:_0x4cc406,color:_0x4e7646}=_0x39856b;_0x245158[_0x447d50(0x320)](),_0x245158[_0x447d50(0x1d1)]=_0x447d50(0x27b);const _0x39a35e=_0x245158[_0x447d50(0x32f)](_0x4cc406)[_0x447d50(0x17c)],_0x2ee1ea=Math['min'](_0x39a35e+0x2*be,ct);zi(_0x245158,{'height':Q,'radius':0x4,'width':_0x2ee1ea,'fill':_0x4e7646}),_0x245158[_0x447d50(0x149)]='#FFF';const _0x90d2e6=be,_0x305250=Q-Ki,_0x55d690=ct-0x2*be;if(_0x39a35e>_0x55d690){let _0x208998='',_0x46da63=0x0;for(const _0x2c614c of _0x4cc406){const _0x1a7811=_0x245158[_0x447d50(0x32f)](_0x2c614c)[_0x447d50(0x17c)];if(_0x46da63+_0x1a7811<=_0x55d690-_0x245158['measureText'](_0x447d50(0x336))[_0x447d50(0x17c)])_0x208998+=_0x2c614c,_0x46da63+=_0x1a7811;else{_0x208998+='...';break;}}_0x245158[_0x447d50(0x10d)](_0x208998,_0x90d2e6,_0x305250);}else _0x245158['fillText'](_0x4cc406,_0x90d2e6,_0x305250);_0x245158['restore']();}[_0x3d67dc(0x211)](_0x30e452){const _0x277b42=_0x3d67dc;Te[_0x277b42(0x33b)](_0x30e452,this);}}const De=_0x3d67dc(0x26f),Ji=_0x3d67dc(0x32c),Zi=_0x3d67dc(0x2c4),z=0x6,Qi=1.5,Ne=0x4,qi=1.5,en='rgba(255,\x20255,\x20255,\x200.01)';class _t{constructor(_0x354342,_0x53d08c,_0x23020f,_0x19b7d0){const _0x49b137=_0x3d67dc;_(this,_0x49b137(0x249),[]),_(this,_0x49b137(0x19a),null),_(this,'_textBubble',null),_(this,_0x49b137(0x1a2),null),_(this,_0x49b137(0x22f),null),_(this,_0x49b137(0x142),null),(this['_cursor']=_0x354342,this[_0x49b137(0x243)]=_0x53d08c,this[_0x49b137(0x28f)]=_0x23020f,this[_0x49b137(0x299)]=_0x19b7d0,this[_0x49b137(0x2ed)]());}set[_0x3d67dc(0x1e6)](_0x45360e){const _0x4d6353=_0x3d67dc;_0x45360e?(this[_0x4d6353(0x1a2)]&&this['_anchorDot'][_0x4d6353(0x217)](),this['_textBubble']&&this[_0x4d6353(0x111)][_0x4d6353(0x2cb)]()):(this['_anchorDot']&&this[_0x4d6353(0x1a2)][_0x4d6353(0x2cb)](),this[_0x4d6353(0x111)]&&this[_0x4d6353(0x111)][_0x4d6353(0x217)]());}[_0x3d67dc(0x201)](){const _0x5d9488=_0x3d67dc;for(const _0x10ea3f of this[_0x5d9488(0x249)])_0x10ea3f['dispose']();this[_0x5d9488(0x111)]&&this[_0x5d9488(0x111)][_0x5d9488(0x201)](),this[_0x5d9488(0x1a2)]&&this[_0x5d9488(0x1a2)]['dispose'](),this[_0x5d9488(0x19a)]&&this[_0x5d9488(0x19a)][_0x5d9488(0x201)](),this[_0x5d9488(0x142)]&&this[_0x5d9488(0x142)]();}[_0x3d67dc(0x2ed)](){const _0x42e3eb=_0x3d67dc;var _0x4f9a0d;const {_docSkeleton:_0x15f1bb,_document:_0x281fea}=this,{color:_0xa7ba7,name:_0x1e0d7e,ranges:_0x630c38}=this[_0x42e3eb(0x2e2)],_0x348374=_0x281fea[_0x42e3eb(0x189)](),{docsLeft:_0x4d1b5d,docsTop:_0x19ffa3}=_0x348374,_0x56a9b1=new _0x4177ea(_0x348374,_0x15f1bb);for(const {startOffset:_0x42cd90,endOffset:_0x37790e,rangeType:_0x23de90,segmentId:_0x7894a1,segmentPage:_0x488cb3,collapsed:_0x55cda4,isActive:_0x44f2d7}of _0x630c38){const _0x1b3788=_0x15f1bb[_0x42e3eb(0x143)](_0x42cd90,!0x0,_0x7894a1,_0x488cb3);let _0x2af170=_0x15f1bb[_0x42e3eb(0x143)](_0x37790e,!0x0,_0x7894a1,_0x488cb3);if(_0x2af170==null&&(_0x2af170=_0x15f1bb[_0x42e3eb(0x143)](_0x37790e-0x1,!0x1,_0x7894a1,_0x488cb3)),_0x44f2d7){const {contentBoxPointGroup:_0x2d9412}=_0x56a9b1[_0x42e3eb(0x20d)](_0x2af170,_0x2af170);if(_0x2d9412[_0x42e3eb(0x1bd)]===0x0)continue;this['_drawAnchor'](_0xa7ba7,_0x2d9412,_0x4d1b5d,_0x19ffa3,_0x1e0d7e),this[_0x42e3eb(0x142)]=this[_0x42e3eb(0x2ea)]();}if(_0x1b3788&&_0x2af170){if(_0x23de90===_0x584b46['RECT']){const _0x1c341c=new _0x53edfc(_0x348374,_0x15f1bb),{pointGroup:_0x5283b3}=(_0x4f9a0d=_0x1c341c[_0x42e3eb(0x20d)](_0x1b3788,_0x2af170))!=null?_0x4f9a0d:{};if(_0x5283b3==null||_0x5283b3[_0x42e3eb(0x1bd)]===0x0)continue;this[_0x42e3eb(0x26c)](_0xa7ba7,_0x5283b3,_0x4d1b5d,_0x19ffa3);}else{if(!_0x55cda4){const {borderBoxPointGroup:_0x45126e}=_0x56a9b1[_0x42e3eb(0x20d)](_0x1b3788,_0x2af170);if(_0x45126e[_0x42e3eb(0x1bd)]===0x0)continue;this[_0x42e3eb(0x2a2)](_0xa7ba7,_0x45126e,_0x4d1b5d,_0x19ffa3);}}}}}[_0x3d67dc(0x293)](_0x2e1c04,_0x14572d,_0x5d9deb,_0x450287,_0x15c1be){const _0x1cd4e5=_0x3d67dc,_0x293f0b=this[_0x1cd4e5(0x28a)](_0x14572d),{left:_0x4eb7c5,top:_0xd54dad,height:_0x296c0f}=_0x293f0b,_0x1ecf9a=this[_0x1cd4e5(0x1d5)](),_0x69baf2=qi/_0x1ecf9a,_0x5ef403=new _0x5bea0d(De+_0x4434ad(z),{'left':_0x4eb7c5+_0x5d9deb-_0x69baf2,'top':_0xd54dad+_0x450287,'height':_0x296c0f,'width':Qi,'fill':_0x2e1c04||_0x12e129(_0x46b9af[_0x1cd4e5(0x123)],0x0),'strokeWidth':_0x69baf2,'stroke':en,'evented':!0x0});this[_0x1cd4e5(0x19a)]=_0x5ef403,this[_0x1cd4e5(0x243)][_0x1cd4e5(0x294)](_0x5ef403,_0x1bf16a);const _0x1f2cf3=new _0x5bea0d(De+_0x4434ad(z),{'left':_0x4eb7c5+_0x5d9deb-_0x69baf2,'top':_0xd54dad+_0x450287-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x2e1c04||_0x12e129(_0x46b9af[_0x1cd4e5(0x123)],0x0),'strokeWidth':0x0,'stroke':_0x2e1c04||_0x12e129(_0x46b9af[_0x1cd4e5(0x123)],0x0),'evented':!0x1});this[_0x1cd4e5(0x1a2)]=_0x1f2cf3,this[_0x1cd4e5(0x243)][_0x1cd4e5(0x294)](_0x1f2cf3,_0x1bf16a);const _0x1f2b1c=new Te(De+_0x4434ad(z),{'left':_0x4eb7c5+_0x5d9deb-_0x69baf2,'top':_0xd54dad+_0x450287-Q,'text':_0x15c1be,'color':_0x2e1c04});this['_textBubble']=_0x1f2b1c,this[_0x1cd4e5(0x243)][_0x1cd4e5(0x294)](_0x1f2b1c,_0x1bf16a),this['_hover']=!0x1;}[_0x3d67dc(0x2ea)](){const _0x35215e=_0x3d67dc,_0x3bc53a=this['_anchor'][_0x35215e(0x1c6)][_0x35215e(0x153)](()=>{const _0x336ff6=_0x35215e;this[_0x336ff6(0x1e6)]=!0x0;}),_0x2908cd=this['_anchor'][_0x35215e(0x177)][_0x35215e(0x153)](()=>{const _0x392fdb=_0x35215e;this[_0x392fdb(0x22f)]&&clearTimeout(this[_0x392fdb(0x22f)]),this[_0x392fdb(0x22f)]=setTimeout(()=>{const _0x5286f1=_0x392fdb;this[_0x5286f1(0x1e6)]=!0x1;},0x7d0);});return()=>{const _0x482601=_0x35215e;_0x3bc53a['unsubscribe'](),_0x2908cd[_0x482601(0x32d)]();};}[_0x3d67dc(0x2a2)](_0x33d8ca,_0x444307,_0x4ac9ad,_0x36d70d){const _0x32bc51=_0x3d67dc,_0x36fdc8=new _0xc497c0(_0x33d8ca)[_0x32bc51(0x1ee)](0.2)[_0x32bc51(0x23e)](),_0x2444ed=new _0x36a918(Ji+_0x4434ad(z),{'pointsGroup':_0x444307,'fill':_0x36fdc8||_0x12e129(_0x46b9af[_0x32bc51(0x123)],0.2),'left':_0x4ac9ad,'top':_0x36d70d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x32bc51(0x208)](_0x2444ed),this[_0x32bc51(0x243)][_0x32bc51(0x294)](_0x2444ed,_0x1bf16a);}[_0x3d67dc(0x26c)](_0x2d1e33,_0x102a31,_0x5eef0c,_0x3177ed){const _0x4badd3=_0x3d67dc,_0x2c5fef=new _0xc497c0(_0x2d1e33)[_0x4badd3(0x1ee)](0.2)[_0x4badd3(0x23e)](),_0x243d27=new _0x36a918(Zi+_0x4434ad(z),{'pointsGroup':_0x102a31,'fill':_0x2c5fef||_0x12e129(_0x46b9af[_0x4badd3(0x123)],0.2),'left':_0x5eef0c,'top':_0x3177ed,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4badd3(0x249)][_0x4badd3(0x208)](_0x243d27),this[_0x4badd3(0x243)][_0x4badd3(0x294)](_0x243d27,_0x1bf16a);}[_0x3d67dc(0x28a)](_0x21f551){const _0x1ad38a=_0x21f551[0x0],_0x33d9c3=_0x1ad38a[0x0],_0x494910=_0x1ad38a[0x2],{x:_0x4915e3,y:_0x2bf05f}=_0x33d9c3,{x:_0x5ee3d4,y:_0x2fb53b}=_0x494910;return{'left':_0x4915e3,'top':_0x2bf05f,'width':_0x5ee3d4-_0x4915e3,'height':_0x2fb53b-_0x2bf05f};}[_0x3d67dc(0x1d5)](){const _0x3d2b16=_0x3d67dc,{scaleX:_0x2571be,scaleY:_0x2bc64a}=this[_0x3d2b16(0x243)][_0x3d2b16(0x2c9)]();return Math[_0x3d2b16(0x21e)](_0x2571be,_0x2bc64a);}}var tn=Object[_0x3d67dc(0x172)],sn=(_0xb29f80,_0x4865c7,_0xa49f4d,_0x57d762)=>{for(var _0x4d2655=_0x57d762>0x1?void 0x0:_0x57d762?tn(_0x4865c7,_0xa49f4d):_0x4865c7,_0x3863d6=_0xb29f80['length']-0x1,_0x212082;_0x3863d6>=0x0;_0x3863d6--)(_0x212082=_0xb29f80[_0x3863d6])&&(_0x4d2655=_0x212082(_0x4d2655)||_0x4d2655);return _0x4d2655;},ne=(_0x40d5af,_0x438f05)=>(_0x43dae5,_0x298baa)=>_0x438f05(_0x43dae5,_0x298baa,_0x40d5af);function _0x3796(){const _0x562d55=['text','LICENSE_IMPORT_SIZE_EXCEEDED','body','_removeCollabCursors','_uploadLog','USERS_LEAVE','white','unit','m1Prime','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initStatusComponent','formula.calculation.started','_maxFormulaLimit','UniverIcon','\x20at\x20','hovered','cursorInfo$','_saveTaskMap','onRendered','memberID','COMPLETION_FINISHED','_scheduleClearOtherTimer','dirtyRanges','setConfig','_getAnchorBounding','error','_handleEvent','ranges','transformMutationsWithChangeset','_docSkeleton','subUnitId','_scheduleHeartbeat','executeCommand','_drawAnchor','addObject','_cursorShapes','_beforeCloseService','setActiveRange','next','_document','_refreshCollabCursors','_initResize','REDEMPTION_USER_REDEEM_TIMES_EXCEED','backgroundColor','popstate','OTHER_CLIENTS_EDITING','_uiPartsService','dispose$','_drawTextRange','_httpService','disposeUnit','transformStateCache','_initDependencies','getUnhiddenWorksheets','AUTHORIZE_CODE_ILLEGAL','ticket','color','status$','Error','_registerDependencies','onMouseMove','3045938yqSBXB','REDEMPTION_USER_NOT_ELIGIBLE','_instanceService','RemoveColCommandId','defIds','name','_context','exhaustSavingTask','_disabled','_sheetSkeletonManagerService','_initEvent','div','m2Prime','_notificationService','offsetY','_lastPointer','_transformPreviousActiveRange','MoveRangeCommandId','_scheduleSaving','_imageIoService','addHandlerCallback','collab-rect-range-','urlChange$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[Unhandled\x20Rejection]:\x20','_memberID','getAncestorScale','PAYMENT_CHANNEL_NOT_SUPPORT','show','string','replaceDocRanges','YUUMI_URL_COL_OUT_OF_RANGE','UPDATE_CURSOR','_syncEditingCollabCursorService','/universer-api/license/formula/limit/done','setTimeout','functionsExecutedState','rgb','Unknown\x20user','contains','purple.300','CURRENT_STATUS_CANNOT_OPERATE','collabStatus.synced','getCurrentRevOfUnit','_stopBlinking','VIEW_MAIN','USER_IS_ANONYMOUS','_transformService','activeSheet$','getActiveRange','ENTITLE_REPORT_LIMIT_EXCEED','_cursor','_docSyncEditingCollabCursorService','_config','LOGIN_FAILED','getUniverSheetInstance','_initStatusListener','mask','registerRenderModule','_handleHover','getMember','type','_render','LICENSE_EXPORT_SIZE_EXCEEDED','getUnitId','APPLY_REVISION_CONFILICT','UNDEFINED','textRanges','runOnServer','application/json','includes','deepClone','saveImage','updateOfflineData','_selfUnitIDs','attrs','code','collabCursorState$','UNIVER_SHEET','selection','height','/universer-api/license/formula/limit/status','Failed','_startBlinking','[CollaborationDataLoaderController]','registerComponent','idSuffix','off-line-icon_clip0_910_343','jiqing.500','_name','fillRule','green.600','selections','get','RemoveRowCommandId','ACTIVE_UNIT_EVENT_CHANNEL','totalFormulasToCalculate','_initUnhandledRejectionListener','getViewport','_assignedColors','_getMergeRange','INVITE_CODE_REQUIRED','_isBlinkVisible','sheetId','REDEMPTION_CODE_FULLY_REDEEMED','_highlightSecond','INTERNAL_ERROR','add','executionId','_cursorInfo$','init','lineno','[Window\x20Error]:\x20','save','xlink:href','_status$','SNAPSHOT_INVALID_SNAPSHOT','SOCKET_FAILED_RETRY','REDEMPTION_CODE_INACTIVE','bind','column','_taskIds','_updateCollabCursors','_roomMembers$','_unitStatus','collab-text-range-','unsubscribe','permission.title','measureText','collabStatus.syncing','addObjects','InsertColCommandId','_cachedData','_commandService','beginPath','...','cursorInfo','getActiveSheet','on-line-icon','round','drawWith','sessionStatus$','SNAPSHOT_HAS_BEEN_REMOVED','parse','INVALID_INVITE_CODE','onPointerMove$','transformSelections','rgba(','LICENSE_MAX_UNITS_EXCEEDED','addEventListener','red.300','registerBeforeClose','stringify','newValue','params','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setShapeProps','loadOfflineData','parseInt','setParam','registerRefRange','getColorFromTheme','UNIVER_DOC','join','_docStateChangeManagerService','_getSaveTimeout','source','currentUsage','_collabCursorState$','children','restore','yellow.400','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','current','requireSession','_transformHistoryAndStateStack','_pollingInterval','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_clearPolling','closePath','createInstance','_setupBeforeClosingHandler','_checkCalculationAvailable','_currentUsage','EMAIL_HAS_BEEN_BOUND','unitID','clipPath','find','UNRECOGNIZED','doc.mutation.rich-text-editing','_collabSessionService','blue.400','_color','rgba','OTHER_CLIENT_EDITING','2009xUWgpo','fillText','_toggleOnline','runId','unload','_textBubble','DeleteRangeMoveLeftCommandId','_handleJoinEvent','_collaborationSessionService','1638441JsuykK','_cursors','_refRangeService','_setFormulaLimitStatus','collabStatus.fetchMiss','unshift','LICENSE_DISTRO_REJECTED','result','_getLighterColor','disableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','lineTo','assignAColorForMemberID','[LogService\x20Error]:\x20','black','transformByState','_checkAndWaitForCalculationPermission','_updateURLWithCurrentState','_memberService','url(#off-line-icon_clip0_910_343)','ONLINE','collaboration.closeRoom','ENTITLE_COUPON_EXPIRED','override','_range','TOO_MANY_REQUESTS','32652rOBPfD','replaceState','_init','setItem','setOffsetY','_onCursorUpdate','setInterval','transformMutation','disposeWithMe','has','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getTypeOfUnitAdded$','_handleLeaveEvent','send','_doCreateSocket','from','startsWith','_applyCommand','slice','_eventUnsubscribe','findNodePositionByCharIndex','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','message','_initCommandInterceptor','INVITE_CODE_HAS_BEEN_UES','version','fillStyle','_initEntityListener','_hovered','assign','use','getUndoRedoMutationParamsCache','_lastResponseTimestamp','CONFLICT','transformIMECache','getUnitStatus$','subscribeEvent','SYNCED','0.17.0','set','_messageService','APPLY_REJECT','SUCCESS','EMAIL_VERIFY_CODE_MISMATCH','mutations','split','1460fIPxty','path','getMemberID','_id','then','_blinkIntervalTimer','REDEMPTION_CODE_HAS_BEEN_CREATED','_saveCache','_configService','clearInterval','some','bottom','complete','TEXT','pushState','getFocusedUnit','0\x200\x2016\x2016','_urlService','searchParams','trim','UNAUTHENTICATED','getOwnPropertyDescriptor','_toggleOffline','AWAITING_WITH_PENDING','http://www.w3.org/2000/svg','symbol','onPointerLeave$','_updateSubUnitFromURLParams','_initWindowErrorListener','_transformUndoRedoStack','getValue','width','LOGIN_TOKEN_PROCESSING_FAILED','getRenderById','tag','_showGuardMessage','whenReady','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','sheetID','getParam','_startDocCollabCursor','OnLineIcon','HEADER_MENU','_renderManagerService','getOffsetConfig','saveOfflineData','getCollabCursors$','off-line-icon','createSocket','_docTransformSelectionsService','getCellPositionByOffset','roomMembers$','redoState','_entityInit$','clearTimeout','DATA_SOURCE_TOO_LARGE','subunit','getRelativeToViewportCoord','releaseFormulaLimitUrl','entries','highlight','_anchor','strokeWidth','univerjs-icon\x20univerjs-icon-','_startSheetCollabCursor','reason','currentTheme$','JOIN_ROOM_FAILED','startColumn','_anchorDot','ERROR_AGAIN','_setupSubUnitSync','location','4bLDTHC','CONNECTOR_DATA_TOO_LARGE','getSkeleton','collabStatus.offline','fill','_backgroundColor','displayName','range','collab-client.tooltip.reconnect','ENTITLE_INSUFFICIENT_QUOTA','svg','InsertRowCommandId','toString','catch','unitId','438OhBvyR','_univerInstanceService','event$','invokeId','onStarting','_entities','getCurrentUnitForType','_heartbeatTimer','length','NOT_COLLAB','_registerRenderDependencies','_localeService','_docTransformStateCacheService','getTypeOfUnitDisposed$','getDocRanges','318192YfYOVy','Success','onPointerEnter$','startRow','makeDirty','getFormulaLimitStatusUrl','YUUMI_CONNECTOR_URL_NOT_FOUND','transformRemoteChangeset','now','RECT','session.connection-failed','YUUMI_SUBSCRIPTION_NOT_FOUND','history','font','formula.calculation.waiting','flatMap','_getSessionTicket','_getScale','pipe','YUUMI_AI_RUN_FAILED','1em','REDEMPTION_INVALID_CODE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','/universer-api/license/formula/limit/start','defineProperty','defs','size','key','random','ENTITLE_CHAT_LIMIT_EXCEED','packageName','1585328lcBdXq','_onRefRangeChange','USER_NOT_FOUND','_hover','currentColor','OFFLINE','_handleHeartbeatEvent','_collabCursorController','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onCursorDelete','delete','setAlpha','_collaborationUIEventService','highlightSecond','OffLineIcon','removeEventListener','_highlight','NOT_FOUND','_updateLocalCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addClipboardHook','_localStorageService','MOBILE_HAS_BEEN_BOUND','_collaborationController','CHANGESET_REVISION_CONFILICT','_injector','/run/','_docSkeletonManagerService','on-line-icon_clip0_910_349','getConfig','dispose','FETCH_MISS','stack','_logService','colorChannel1','evenodd','ENTITLE_CAN_NOT_BUY_LOWER_OTP','push','ALREADY_EXISTS','roomMembers','subscribe','uni.network.url-service','getRangePointData','docStateChange$','arc','getItem','_draw','limitInfo','values','YUUMI_ASYNCIO_CANCELLED','forEach','asObservable','hide','APPLY_NON_SEQUENTIAL_REVISION','_initCommandExecutedListener','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_ALL_TABLES_IS_INVALID','M0\x200H16V16H0z','_monkeyPatchLogService','max','CLOSE_ROOM','Warning','_dataLoaderService','isArray','removeParam','_colorIndex','showText','_docTransformIMECacheService','saveTaskMap','_docClipboardService','_online','none','_revisionService','isEditing','_createSocketURL','href','_hideTimer','undoState','endColumn','0.2)','DeleteRangeMoveUpCommandId','row','ENSURE_SNAPSHOT_EXECUTION','search','_unitOnClients','_initUserListener','wsSessionTicketUrl','ENTITLE_COUPON_USED_UP','debug','_send','stageInfo','toRgbString','APPLY_PERMISSION_DENIED','getStateCache','_session','origin','_scene','_removeClearOtherTimer','INVALID_ARGUMENT','min','syncEditingCollabCursor','_colorAssignService','_shapes','YUUMI_UNABLE_LOAD_URL','WECHAT_HAS_BEEN_BOUND','post','url(#on-line-icon_clip0_910_349)','_blinkTimer','substring','_themeService','editingUnit','session.collaboration-timeout','_ensureSubject','PY_RUNTIME_SCRIPT_ERROR','entityInit$','imageSourceType','NO_OTHER_CLIENTS_EDITING','_clearOtherTimers','top','with','ENTITLE_DUP_SUBSCRIPTION','_getSheetObject','onCommandExecuted','getSheetBySheetId','data','getSheetId','PERMISSION_DENIED','eventID','replace','FromArray','collabStatus.notCollab','REDEMPTION_CODE_NOT_STARTED','_offsetY','AWAITING','_showText','3001990UsYJzi','INVITE_CODE_ALREADY_BOUND','_drawRectRange','map','isActive','collab-text-anchor-','getUnit','ENTITLE_USE_COUPON_NOT_1ST_TRADE'];_0x3796=function(){return _0x562d55;};return _0x3796();}let Fe=class extends _0x2c3066{constructor(_0xc5204a,_0x5884e5,_0x48db09,_0x218b6e,_0x319722){const _0x18c5fa=_0x3d67dc;super(),_(this,_0x18c5fa(0x295),[]),_(this,'_cursors',[]),(this[_0x18c5fa(0x2b5)]=_0xc5204a,this['_docSkeletonManagerService']=_0x5884e5,this[_0x18c5fa(0x1ea)]=_0x48db09,this[_0x18c5fa(0x334)]=_0x218b6e,this[_0x18c5fa(0x250)]=_0x319722,this[_0x18c5fa(0x131)]());}[_0x3d67dc(0x131)](){const _0x4ea6a4=_0x3d67dc,_0x1a70dc=this[_0x4ea6a4(0x2b5)][_0x4ea6a4(0x1b4)],_0x171ddb=this[_0x4ea6a4(0x1fe)];this['disposeWithMe'](_0x43ccf1([this[_0x4ea6a4(0x1ea)]['getCollabCursors$'](_0x1a70dc),this[_0x4ea6a4(0x250)][_0x4ea6a4(0x19f)]])['pipe'](_0xf89d60(([_0x440cc0,_0xc67f62])=>({'skeleton':_0x171ddb[_0x4ea6a4(0x1a8)](),'cursors':[..._0x440cc0[_0x4ea6a4(0x213)]()][_0x4ea6a4(0x1d3)](_0x2ec1e9=>({..._0x2ec1e9,'color':this[_0x4ea6a4(0x250)]['getColorFromTheme'](_0x2ec1e9[_0x4ea6a4(0x2aa)])}))})))[_0x4ea6a4(0x20b)](_0x3cbe15=>{const _0x42b289=_0x4ea6a4;if(this['_removeCollabCursors'](),_0x3cbe15){const {skeleton:_0xe20b09,cursors:_0x1556cd}=_0x3cbe15;this[_0x42b289(0x329)](_0xe20b09,_0x1556cd);}})),this[_0x4ea6a4(0x29b)](),this[_0x4ea6a4(0x219)]();}['_updateCollabCursors'](_0xb18a81,_0x27addc){const _0x743c40=_0x3d67dc,{scene:_0x141aac,mainComponent:_0x1952f8}=this[_0x743c40(0x2b5)],_0x4069dd=_0x27addc[_0x743c40(0x26d)](_0x4856f3=>new _t(_0x4856f3,_0x141aac,_0xb18a81,_0x1952f8));this[_0x743c40(0x295)]=_0x4069dd,this[_0x743c40(0x116)]=_0x27addc;}[_0x3d67dc(0x29a)](){const _0x177a3f=_0x3d67dc;this[_0x177a3f(0x275)]();const {scene:_0x4736b2,mainComponent:_0x51f5ed}=this[_0x177a3f(0x2b5)],_0x49cbcb=this['_docSkeletonManagerService'][_0x177a3f(0x1a8)](),_0x59d894=this[_0x177a3f(0x116)][_0x177a3f(0x26d)](_0x4db8c4=>new _t(_0x4db8c4,_0x4736b2,_0x49cbcb,_0x51f5ed));this['_cursorShapes']=_0x59d894;}[_0x3d67dc(0x275)](){const _0x481b96=_0x3d67dc;this[_0x481b96(0x295)][_0x481b96(0x215)](_0x52e612=>_0x52e612[_0x481b96(0x201)]()),this[_0x481b96(0x295)]=[];}[_0x3d67dc(0x219)](){const _0xb8e27e=_0x3d67dc,_0x5da5e5=[_0x2e1dcf['id']];this[_0xb8e27e(0x137)](this[_0xb8e27e(0x334)][_0xb8e27e(0x25d)](_0x2610e8=>{const _0x362acc=_0xb8e27e;_0x5da5e5[_0x362acc(0x2f5)](_0x2610e8['id'])&&_0x2610e8[_0x362acc(0x349)][_0x362acc(0x1b4)]===this[_0x362acc(0x2b5)][_0x362acc(0x1b4)]&&this[_0x362acc(0x29a)]();}));}[_0x3d67dc(0x29b)](){const _0x14180d=_0x3d67dc;this['disposeWithMe'](_0xe9bd47(this[_0x14180d(0x2b5)]['engine']['onTransformChange$'])[_0x14180d(0x1d6)](_0x1bebbb(_0x3102de=>_0x3102de['type']===_0x2304d6['resize']),_0x46eb09(0x10))[_0x14180d(0x20b)](()=>{const _0x5aebac=_0x14180d;this[_0x5aebac(0x29a)]();}));}};Fe=sn([ne(0x1,_0x1b6667(_0x5c21e2)),ne(0x2,_0x1b6667(Y)),ne(0x3,_0xa09e90),ne(0x4,_0x1b6667(_0x15aa63))],Fe);const nn=0x1,rn=1.5;class on extends _0x4e1b04{constructor(_0x2a228c,_0x26b7ed){const _0x1d7606=_0x3d67dc;var _0x12dc40,_0x2f80dc;super(_0x2a228c,_0x26b7ed),_(this,_0x1d7606(0x109)),_(this,_0x1d7606(0x14b),!0x1),_(this,_0x1d7606(0x12d)),_(this,_0x1d7606(0x308),''),_(this,'_labelPosition',_0x1d7606(0x259)),_(this,_0x1d7606(0x1ab)),_(this,'_showText'),_(this,'_highlight'),_(this,_0x1d7606(0x318),0x4),_(this,'_blinkTimer'),_(this,_0x1d7606(0x162)),_(this,_0x1d7606(0x315),!0x0),_(this,'_offsetY',0x0),(_0x26b7ed&&(this[_0x1d7606(0x34b)](_0x26b7ed),_0x26b7ed['highlight']&&((_0x12dc40=_0x26b7ed[_0x1d7606(0x1f0)])!=null?_0x12dc40:this[_0x1d7606(0x318)])&&this[_0x1d7606(0x302)]((_0x2f80dc=_0x26b7ed['highlightSecond'])!=null?_0x2f80dc:this[_0x1d7606(0x318)])),this[_0x1d7606(0x1c6)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1d7606(0x177)][_0x1d7606(0x153)](()=>this[_0x1d7606(0x34b)]({'hovered':!0x1})));}[_0x3d67dc(0x133)](_0x4f4642){this['_offsetY']=_0x4f4642;}[_0x3d67dc(0x34b)](_0x303505){const _0x2dfc91=_0x3d67dc;var _0x40b6c1,_0x41f1fe,_0xa94de7,_0x3fd7a1,_0x52075f,_0x14e93,_0x49c795;this[_0x2dfc91(0x109)]=(_0x40b6c1=_0x303505['color'])!=null?_0x40b6c1:this[_0x2dfc91(0x109)],this[_0x2dfc91(0x14b)]=(_0x41f1fe=_0x303505[_0x2dfc91(0x281)])!=null?_0x41f1fe:this['_hovered'],this[_0x2dfc91(0x12d)]=(_0xa94de7=_0x303505[_0x2dfc91(0x1ad)])!=null?_0xa94de7:this[_0x2dfc91(0x12d)],this[_0x2dfc91(0x308)]=(_0x3fd7a1=_0x303505[_0x2dfc91(0x2b4)])!=null?_0x3fd7a1:this[_0x2dfc91(0x308)],this['_labelPosition']=(_0x52075f=_0x303505['labelPosition'])!=null?_0x52075f:this['_labelPosition'],this['_backgroundColor']=(_0x14e93=_0x303505[_0x2dfc91(0x29d)])!=null?_0x14e93:this[_0x2dfc91(0x1ab)],this['_showText']=(_0x49c795=_0x303505[_0x2dfc91(0x225)])!=null?_0x49c795:this[_0x2dfc91(0x269)],_0x303505['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x303505[_0x2dfc91(0x1f0)]),_0x303505[_0x2dfc91(0x199)]!==void 0x0&&(this['_highlight']=_0x303505[_0x2dfc91(0x199)]),_0x303505[_0x2dfc91(0x2bd)]!==void 0x0&&(this['_offsetY']=_0x303505[_0x2dfc91(0x2bd)]),this[_0x2dfc91(0x124)]({'width':_0x303505[_0x2dfc91(0x17c)],'height':_0x303505[_0x2dfc91(0x2ff)]});}[_0x3d67dc(0x2ae)](_0x4c2b61){const _0x238df5=_0x3d67dc,{row:_0x3a2aaa,column:_0x17e994}=_0x4c2b61;if(_0x3a2aaa>=this[_0x238df5(0x12d)]['startRow']&&_0x3a2aaa<=this['_range']['endRow']&&_0x17e994>=this[_0x238df5(0x12d)]['startColumn']&&_0x17e994<=this['_range'][_0x238df5(0x231)]){this[_0x238df5(0x34b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3d67dc(0x302)](_0x1a91c4){const _0x35a5c7=_0x3d67dc;this[_0x35a5c7(0x2db)](),this[_0x35a5c7(0x315)]=!0x0,this[_0x35a5c7(0x162)]=window['setInterval'](()=>{const _0x15bedc=_0x35a5c7;this['_isBlinkVisible']=!this['_isBlinkVisible'],this[_0x15bedc(0x1c8)](!0x0);},0x1f4),this[_0x35a5c7(0x24e)]=window[_0x35a5c7(0x2d2)](()=>{const _0x4d7f53=_0x35a5c7;this[_0x4d7f53(0x2db)](),this[_0x4d7f53(0x315)]=!0x0,this[_0x4d7f53(0x1c8)](!0x0);},_0x1a91c4*0x3e8);}[_0x3d67dc(0x2db)](){const _0x5c1e29=_0x3d67dc;this['_blinkIntervalTimer']&&(window[_0x5c1e29(0x166)](this[_0x5c1e29(0x162)]),this[_0x5c1e29(0x162)]=void 0x0),this['_blinkTimer']&&(window['clearTimeout'](this[_0x5c1e29(0x24e)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x5a5849){return!0x1;}[_0x3d67dc(0x201)](){const _0x72eccd=_0x3d67dc;this['_stopBlinking'](),super[_0x72eccd(0x201)]();}[_0x3d67dc(0x211)](_0x3477d6){const _0x29100d=_0x3d67dc;var _0x253b79,_0x4530f2;let _0x5435ae=this['_color'],_0x150ab2=this[_0x29100d(0x1ab)];this[_0x29100d(0x1f3)]&&!this[_0x29100d(0x315)]&&(_0x5435ae=this[_0x29100d(0x11d)](this[_0x29100d(0x109)]),_0x150ab2=this['_backgroundColor']?this[_0x29100d(0x11d)](this['_backgroundColor']):void 0x0),_0x5bea0d[_0x29100d(0x33b)](_0x3477d6,{'width':this[_0x29100d(0x17c)],'height':this[_0x29100d(0x2ff)],'strokeWidth':(_0x253b79=this[_0x29100d(0x19b)])!=null?_0x253b79:rn,'stroke':_0x5435ae,'evented':!0x1,'fill':_0x150ab2}),(this['_hovered']||this[_0x29100d(0x269)])&&(_0x3477d6[_0x29100d(0x320)](),_0x3477d6['transform'](0x1,0x0,0x0,0x1,this[_0x29100d(0x17c)],(this['_labelPosition']===_0x29100d(0x168)?0x0:-Q)+((_0x4530f2=this[_0x29100d(0x267)])!=null?_0x4530f2:0x0)),Te[_0x29100d(0x33b)](_0x3477d6,{'text':this[_0x29100d(0x308)],'color':_0x5435ae}),_0x3477d6[_0x29100d(0x359)]());}[_0x3d67dc(0x11d)](_0x3beaf3){const _0x5b9665=_0x3d67dc;if(_0x3beaf3[_0x5b9665(0x13f)]('#')){const _0x2f8811=Number[_0x5b9665(0x34d)](_0x3beaf3[_0x5b9665(0x141)](0x1,0x3),0x10),_0x33b01a=Number[_0x5b9665(0x34d)](_0x3beaf3[_0x5b9665(0x141)](0x3,0x5),0x10),_0x50ed29=Number['parseInt'](_0x3beaf3[_0x5b9665(0x141)](0x5,0x7),0x10);return _0x5b9665(0x342)+_0x2f8811+',\x20'+_0x33b01a+',\x20'+_0x50ed29+',\x200.2)';}return _0x3beaf3[_0x5b9665(0x13f)](_0x5b9665(0x10a))?_0x3beaf3[_0x5b9665(0x263)](/[\d.]+\)$/g,_0x5b9665(0x232)):_0x3beaf3[_0x5b9665(0x13f)](_0x5b9665(0x2d4))?_0x3beaf3[_0x5b9665(0x263)](_0x5b9665(0x2d4),'rgba')[_0x5b9665(0x263)](')',',\x200.2)'):_0x3beaf3;}}var an=Object[_0x3d67dc(0x172)],cn=(_0x29e23f,_0x56f394,_0x301557,_0x4f9fd0)=>{const _0x4da30b=_0x3d67dc;for(var _0x6d1dfa=_0x4f9fd0>0x1?void 0x0:_0x4f9fd0?an(_0x56f394,_0x301557):_0x56f394,_0x53c5d4=_0x29e23f[_0x4da30b(0x1bd)]-0x1,_0x440f76;_0x53c5d4>=0x0;_0x53c5d4--)(_0x440f76=_0x29e23f[_0x53c5d4])&&(_0x6d1dfa=_0x440f76(_0x6d1dfa)||_0x6d1dfa);return _0x6d1dfa;},Le=(_0x3a9cbc,_0x22640e)=>(_0x172855,_0x562da1)=>_0x22640e(_0x172855,_0x562da1,_0x3a9cbc);const _n=0x1389;let Ye=class extends _0x2c3066{constructor(_0x3b6d82,_0x2ca0a8,_0x44bfb7,_0x22bd48){const _0x3bc792=_0x3d67dc;super(),_(this,_0x3bc792(0x116),new Set()),_(this,_0x3bc792(0x2be),null),(this['_context']=_0x3b6d82,this[_0x3bc792(0x2b8)]=_0x2ca0a8,this[_0x3bc792(0x1ea)]=_0x44bfb7,this[_0x3bc792(0x250)]=_0x22bd48,this[_0x3bc792(0x131)]());}[_0x3d67dc(0x131)](){const _0x2ba7d9=_0x3d67dc;this[_0x2ba7d9(0x2b8)]['currentSkeleton$']['pipe'](_0x47c1cf(this[_0x2ba7d9(0x2a1)]),_0xc5d333(_0x195491=>{const _0x4e6a36=_0x2ba7d9;if(_0x195491){const _0x565ca8=_0x195491[_0x4e6a36(0x316)];return _0x43ccf1(this['_collabCursorController'][_0x4e6a36(0x18b)](this[_0x4e6a36(0x2b5)][_0x4e6a36(0x1b4)]),this['_themeService'][_0x4e6a36(0x19f)])[_0x4e6a36(0x1d6)](_0xf89d60(([_0x51c718,_0x228a02])=>{const _0x1db223=_0x4e6a36,_0x449627=new Map();return _0x51c718[_0x1db223(0x215)]((_0x45737d,_0x158a68)=>{const _0x16633d=_0x1db223;if(_0x45737d[_0x16633d(0x183)]===_0x565ca8){const _0x10cebd={..._0x45737d};_0x10cebd['color']=this[_0x16633d(0x250)][_0x16633d(0x350)](_0x45737d[_0x16633d(0x2aa)]),_0x449627[_0x16633d(0x156)](_0x158a68,_0x10cebd);}}),{'skeleton':_0x195491,'cursors':_0x449627};}));}return _0x3375a2({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x587db7,cursors:_0x10910c})=>{const _0x4d943b=_0x2ba7d9;this[_0x4d943b(0x275)](),_0x587db7&&this[_0x4d943b(0x329)](_0x587db7,_0x10910c);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x4adf7b=>{const _0x12f226=_0x2ba7d9;if(_0x4adf7b==null)return;const {skeleton:_0x5d0838}=_0x4adf7b,{scene:_0x25284d}=this[_0x12f226(0x2b5)];_0x25284d[_0x12f226(0x340)][_0x12f226(0x153)](_0x18d31a(_0xbeae4=>{const _0xdcc194=_0x12f226;var _0x4b8a96,_0x372ef8;const {offsetX:_0x1d3b18,offsetY:_0x42f1fb}=_0xbeae4,{x:_0x4fc8e0,y:_0x2c7bcc}=_0x25284d[_0xdcc194(0x196)](_0x3af7c3[_0xdcc194(0x264)]([_0x1d3b18,_0x42f1fb])),{scaleX:_0x1c6ca6,scaleY:_0x57c326}=_0x25284d[_0xdcc194(0x2c9)](),_0x31313a=_0x25284d[_0xdcc194(0x311)](_0x492608[_0xdcc194(0x2dc)]),_0x2b8c02=_0x25284d['getVpScrollXYInfoByPosToVp'](_0x3af7c3[_0xdcc194(0x264)]([_0x4fc8e0,_0x2c7bcc]),_0x31313a),_0x4f5017=_0x5d0838[_0xdcc194(0x18f)](_0x1d3b18,_0x42f1fb,_0x1c6ca6,_0x57c326,_0x2b8c02);((_0x4b8a96=this[_0xdcc194(0x2be)])==null?void 0x0:_0x4b8a96['column'])===_0x4f5017[_0xdcc194(0x327)]&&((_0x372ef8=this[_0xdcc194(0x2be)])==null?void 0x0:_0x372ef8[_0xdcc194(0x234)])===_0x4f5017[_0xdcc194(0x234)]||this['_cursors'][_0xdcc194(0x215)](_0x3471ad=>{const _0x24165a=_0xdcc194;_0x3471ad[_0x24165a(0x2ae)](_0x4f5017);});},0x64));});}[_0x3d67dc(0x329)](_0x208e11,_0x2ec5ef){const _0xf14c72=_0x3d67dc;var _0x378842;const _0x1d60cc=(_0x378842=this[_0xf14c72(0x2b8)]['getCurrent']())==null?void 0x0:_0x378842['skeleton'];if(!_0x1d60cc)return;const _0x483727=this[_0xf14c72(0x25c)]();if(!_0x483727)return;this[_0xf14c72(0x116)][_0xf14c72(0x215)](_0x5bae36=>{const _0x39007a=_0xf14c72;_0x5bae36[_0x39007a(0x1c8)]();});const {scene:_0x54f981}=_0x483727,_0x4481c7=ln(Array['from'](_0x2ec5ef[_0xf14c72(0x213)]()))[_0xf14c72(0x26d)](_0x388c1d=>{const _0x1d50ac=_0xf14c72,{color:_0x2c33b6,range:_0x98f1dc,name:_0x5d82d4,selection:_0x2b0880,sheetID:_0xefc437}=_0x388c1d,{startColumn:_0x175260,startRow:_0x2b6334,endColumn:_0x40880a,endRow:_0x1b8258}=_0x98f1dc,_0xcf2872=_0x10d7a2(_0x2b6334,_0x175260,_0x54f981,_0x1d60cc),_0x555af8=_0x10d7a2(_0x1b8258,_0x40880a,_0x54f981,_0x1d60cc),{columnHeaderHeightAndMarginTop:_0x3030d8}=_0x1d60cc,{startX:_0xb6de8c,startY:_0xed2587}=_0xcf2872,{endX:_0x5edd41,endY:_0x1f7088}=_0x555af8,_0x4c4123=_0x5edd41-_0xb6de8c,_0x2c6584=_0x1f7088-_0xed2587,_0x34d022={'labelPosition':_0xed2587-_0x3030d8>=Q?_0x1d50ac(0x259):'bottom','sheetID':_0xefc437,'range':_0x98f1dc,'color':_0x2c33b6,'name':_0x5d82d4,'selection':_0x2b0880,'left':_0xb6de8c,'top':_0xed2587,'width':_0x4c4123,'height':_0x2c6584,'evented':!0x1,'zIndex':_n};return new on(_0x5d82d4,_0x34d022);});_0x54f981[_0xf14c72(0x331)](_0x4481c7,nn),this['_cursors']=new Set(_0x4481c7);}[_0x3d67dc(0x275)](){const _0x86ca7e=_0x3d67dc;var _0x4fbcde;(_0x4fbcde=this['_cursors'])==null||_0x4fbcde[_0x86ca7e(0x215)](_0x1cb3b3=>_0x1cb3b3[_0x86ca7e(0x201)]());}[_0x3d67dc(0x25c)](){const _0x19f723=_0x3d67dc;return _0x20848f(this['_context'][_0x19f723(0x279)],this[_0x19f723(0x2b5)]);}};Ye=cn([Le(0x1,_0x1b6667(_0x51f42e)),Le(0x2,_0x1b6667(Y)),Le(0x3,_0x1b6667(_0x15aa63))],Ye);function ln(_0x543c2d){const _0x1576a5=_0x3d67dc,_0x59b01c=new Map();return _0x543c2d[_0x1576a5(0x215)](_0x3edf66=>{const _0x228ca9=_0x1576a5;if(_0x59b01c[_0x228ca9(0x138)](_0x3edf66['selection'])){const _0x1262eb=_0x59b01c[_0x228ca9(0x30c)](_0x3edf66[_0x228ca9(0x2fe)]);_0x1262eb[_0x228ca9(0x2b4)]+=',\x20'+_0x3edf66[_0x228ca9(0x2b4)];}else _0x59b01c[_0x228ca9(0x156)](_0x3edf66['selection'],_0x3edf66);}),Array[_0x1576a5(0x13e)](_0x59b01c[_0x1576a5(0x213)]());}var hn=Object['getOwnPropertyDescriptor'],un=(_0x340ac0,_0x3ceb73,_0x557231,_0x4c3488)=>{const _0x50116d=_0x3d67dc;for(var _0xe2a9d5=_0x4c3488>0x1?void 0x0:_0x4c3488?hn(_0x3ceb73,_0x557231):_0x3ceb73,_0xbdd5a6=_0x340ac0[_0x50116d(0x1bd)]-0x1,_0x206fd3;_0xbdd5a6>=0x0;_0xbdd5a6--)(_0x206fd3=_0x340ac0[_0xbdd5a6])&&(_0xe2a9d5=_0x206fd3(_0xe2a9d5)||_0xe2a9d5);return _0xe2a9d5;},k=(_0x116e5f,_0x4a5089)=>(_0x127e42,_0x59262e)=>_0x4a5089(_0x127e42,_0x59262e,_0x116e5f);let le=class extends _0x1c85de{constructor(_0x1ab392,_0x538d87,_0x1e91b6,_0xa69896,_0x225fe8,_0x552610){const _0x4815b7=_0x3d67dc;super(),this['_beforeCloseService']=_0x1ab392,this['_localCacheService']=_0x538d87,this[_0x4815b7(0x1ef)]=_0x1e91b6,this[_0x4815b7(0x157)]=_0xa69896,this[_0x4815b7(0x2bc)]=_0x225fe8,this[_0x4815b7(0x1c0)]=_0x552610,this[_0x4815b7(0xfe)](),this[_0x4815b7(0x2b9)]();}['_setupBeforeClosingHandler'](){const _0x29724c=_0x3d67dc;this[_0x29724c(0x137)](this[_0x29724c(0x296)][_0x29724c(0x346)](()=>{const _0x3a231e=_0x29724c;if(this['_localCacheService'][_0x3a231e(0x227)][_0x3a231e(0x1de)])return this[_0x3a231e(0x1c0)]['t']('collaboration.offline-data-not-saved');}));}[_0x3d67dc(0x2b9)](){const _0x9ac499=_0x3d67dc;this[_0x9ac499(0x137)](this[_0x9ac499(0x1ef)][_0x9ac499(0x1b7)]['subscribe'](_0x20c501=>{const _0x542136=_0x9ac499;_0x20c501['id']===_0x456cda[_0x542136(0x10b)]&&this[_0x542136(0x157)][_0x542136(0x2cb)]({'type':_0x1c1707[_0x542136(0x220)],'content':this[_0x542136(0x1c0)]['t']('collaboration.single-unit.warning')}),_0x20c501['id']===_0x456cda[_0x542136(0x21f)]&&this[_0x542136(0x157)][_0x542136(0x2cb)]({'type':_0x1c1707[_0x542136(0x220)],'content':this[_0x542136(0x1c0)]['t'](_0x542136(0x12a))}),_0x20c501['id']===_0x456cda[_0x542136(0x261)]&&this[_0x542136(0x2bc)]['show']({'title':this[_0x542136(0x1c0)]['t'](_0x542136(0x32e)),'content':this['_localeService']['t']('permission.content'),'type':_0x542136(0x28b),'duration':0x0}),_0x20c501['id']===_0x456cda[_0x542136(0x150)]&&this[_0x542136(0x157)][_0x542136(0x2cb)]({'type':_0x1c1707['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x20c501[_0x542136(0x25f)]+')'}),_0x20c501['id']===_0x456cda[_0x542136(0x1a0)]&&this[_0x542136(0x157)][_0x542136(0x2cb)]({'type':_0x1c1707[_0x542136(0x220)],'content':this[_0x542136(0x1c0)]['t'](_0x20c501[_0x542136(0x25f)]||'')}),_0x20c501['id']===_0x456cda[_0x542136(0x324)]&&this[_0x542136(0x157)][_0x542136(0x2cb)]({'type':_0x1c1707[_0x542136(0x220)],'content':this['_localeService']['t']('session.will-retry')}),_0x20c501['id']===_0x456cda['SOCKET_FAILED']&&this[_0x542136(0x157)][_0x542136(0x2cb)]({'type':_0x1c1707[_0x542136(0x2ac)],'content':this[_0x542136(0x1c0)]['t'](_0x542136(0x1ce))}),_0x20c501['id']===_0x456cda['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x542136(0x157)][_0x542136(0x2cb)]({'type':_0x1c1707[_0x542136(0x2ac)],'content':this[_0x542136(0x1c0)]['t'](_0x542136(0x252))});}));}};le=un([k(0x0,_0x2cf671),k(0x1,_0x5e9d08),k(0x2,_0x1b6667(_0x3859f5)),k(0x3,_0x13a8e2),k(0x4,_0x132cef),k(0x5,_0x1b6667(_0x7499ef))],le);const dn='collaboration-client-ui.config',lt={};var Sn=Object['getOwnPropertyDescriptor'],In=(_0x496b1e,_0x3ad251,_0x979acf,_0x2aecb3)=>{for(var _0x143803=_0x2aecb3>0x1?void 0x0:_0x2aecb3?Sn(_0x3ad251,_0x979acf):_0x3ad251,_0x19a829=_0x496b1e['length']-0x1,_0x461874;_0x19a829>=0x0;_0x19a829--)(_0x461874=_0x496b1e[_0x19a829])&&(_0x143803=_0x461874(_0x143803)||_0x143803);return _0x143803;},ht=(_0x63575d,_0x5722f6)=>(_0x1f7fe4,_0x37680c)=>_0x5722f6(_0x1f7fe4,_0x37680c,_0x63575d);let he=class{constructor(_0x2e7abc,_0x6a6cf7){const _0x8a957=_0x3d67dc;this[_0x8a957(0x2de)]=_0x2e7abc,this[_0x8a957(0x188)]=_0x6a6cf7;}[_0x3d67dc(0x151)](_0x5e2e76){const _0xdf0a6=_0x3d67dc;this[_0xdf0a6(0x17a)](_0x5e2e76),this[_0xdf0a6(0x2bf)](_0x5e2e76);}[_0x3d67dc(0x1cb)](_0x4b0742){const _0x194752=_0x3d67dc,{unitID:_0x30b1ae}=_0x4b0742,_0x1cba5b=this[_0x194752(0x188)][_0x194752(0x17e)](_0x30b1ae)[_0x194752(0x25a)](_0x4ad9b3),{redoCache:_0x1a0fdd}=_0x1cba5b[_0x194752(0x14e)]();if(_0x1a0fdd[_0x194752(0x1bd)]===0x0)return _0x4b0742;let _0x211382=_0x1987a4['deepClone'](_0x4b0742[_0x194752(0x15b)][0x0]);for(let _0x277095=0x0;_0x277095<_0x1a0fdd[_0x194752(0x1bd)];_0x277095++){const _0x4a903c={'id':_0x194752(0x106),'params':{..._0x1a0fdd[_0x277095]}},_0x2e4456=this[_0x194752(0x2de)][_0x194752(0x136)](_0x211382,_0x4a903c,!0x1);if(_0x56d7f9(_0x2e4456))throw _0x2e4456[_0x194752(0x28b)];_0x211382=_0x2e4456['m1Prime'];}return{..._0x1987a4['deepClone'](_0x4b0742),'mutations':[_0x211382]};}['_transformUndoRedoStack'](_0x21a92b){const _0x9c1f01=_0x3d67dc,{unitID:_0x20b370}=_0x21a92b,_0x4a41f9=this[_0x9c1f01(0x188)][_0x9c1f01(0x17e)](_0x20b370)['with'](_0x4ad9b3),{undoCache:_0x3fd0c5,redoCache:_0x518f64}=_0x4a41f9[_0x9c1f01(0x14e)]();if(_0x3fd0c5['length']===0x0||_0x518f64[_0x9c1f01(0x1bd)]===0x0)return;const _0x33bff2=[],_0x475946=[];let _0x143231=_0x1987a4['deepClone'](_0x21a92b[_0x9c1f01(0x15b)][0x0]),_0x19565e=_0x1987a4[_0x9c1f01(0x2f6)](_0x21a92b[_0x9c1f01(0x15b)][0x0]);for(let _0x4cfd87=_0x3fd0c5['length']-0x1;_0x4cfd87>=0x0;_0x4cfd87--){const _0x253771={'id':_0x9c1f01(0x106),'params':{..._0x3fd0c5[_0x4cfd87]}},_0x346491={'id':'doc.mutation.rich-text-editing','params':{..._0x518f64[_0x4cfd87]}},_0x4ba0e0=this[_0x9c1f01(0x2de)][_0x9c1f01(0x136)](_0x143231,_0x253771,!0x1),_0x384ef1=this[_0x9c1f01(0x2de)][_0x9c1f01(0x136)](_0x19565e,_0x346491,!0x1);if(_0x56d7f9(_0x4ba0e0))throw _0x4ba0e0[_0x9c1f01(0x28b)];if(_0x56d7f9(_0x384ef1))throw _0x384ef1[_0x9c1f01(0x28b)];_0x33bff2[_0x9c1f01(0x11a)](_0x4ba0e0[_0x9c1f01(0x2bb)][_0x9c1f01(0x349)]),_0x475946[_0x9c1f01(0x11a)](_0x384ef1['m2Prime'][_0x9c1f01(0x349)]),_0x143231=_0x4ba0e0['m1Prime'],_0x19565e=_0x384ef1['m1Prime'];}_0x4a41f9['setUndoRedoMutationParamsCache']({'undoCache':_0x33bff2,'redoCache':_0x475946});}[_0x3d67dc(0x2bf)](_0xcf85a3){const _0x46b624=_0x3d67dc,{unitID:_0x1eae9a}=_0xcf85a3,_0x3c8b5f=this[_0x46b624(0x188)][_0x46b624(0x17e)](_0x1eae9a)['with'](_0x4ad9b3),_0x4a98ae=_0x3c8b5f[_0x46b624(0x2e0)]();if(_0x4a98ae==null)return;const _0x4d35f7=[{'id':_0x46b624(0x106),'params':{'unitId':_0xcf85a3[_0x46b624(0x102)],'actions':null,'textRanges':[_0x4a98ae]}}],_0x5c56d7=this[_0x46b624(0x2de)][_0x46b624(0x28e)](_0xcf85a3,_0x4d35f7);if(!_0x10531c(_0x5c56d7))throw _0x5c56d7[_0x46b624(0x28b)];const _0x3a649f=_0x5c56d7[_0x46b624(0x2bb)][0x0][_0x46b624(0x349)][_0x46b624(0x2f2)];Array[_0x46b624(0x222)](_0x3a649f)&&_0x3a649f[_0x46b624(0x1bd)]&&_0x3c8b5f[_0x46b624(0x297)](_0x3a649f[0x0]);}};he=In([ht(0x0,_0x4f6061),ht(0x1,_0x3b6e27)],he);var mn=Object[_0x3d67dc(0x172)],fn=(_0x16c42a,_0x489c92,_0x2d9daf,_0x236323)=>{for(var _0x2a3aeb=_0x236323>0x1?void 0x0:_0x236323?mn(_0x489c92,_0x2d9daf):_0x489c92,_0x577759=_0x16c42a['length']-0x1,_0x3cf98b;_0x577759>=0x0;_0x577759--)(_0x3cf98b=_0x16c42a[_0x577759])&&(_0x2a3aeb=_0x3cf98b(_0x2a3aeb)||_0x2a3aeb);return _0x2a3aeb;},Ue=(_0x489dbd,_0xa9bb78)=>(_0x495c8f,_0x558d50)=>_0xa9bb78(_0x495c8f,_0x558d50,_0x489dbd);let ue=class{constructor(_0x179a1d,_0x1bf746,_0x1b93b2){const _0x1fea8c=_0x3d67dc;this[_0x1fea8c(0x1fc)]=_0x179a1d,this[_0x1fea8c(0x2de)]=_0x1bf746,this['_docStateChangeManagerService']=_0x1b93b2;}['transformStateCache'](_0x362ef0){const _0x228739=_0x3d67dc;this[_0x228739(0xf8)](_0x362ef0);}[_0x3d67dc(0x1cb)](_0x1a3d5a){const _0x2dc066=_0x3d67dc,{unitID:_0xc646b9}=_0x1a3d5a,{collaboration:_0x5bc7de}=this[_0x2dc066(0x353)][_0x2dc066(0x240)](_0xc646b9);if(_0x5bc7de[_0x2dc066(0x1bd)]===0x0)return _0x1a3d5a;let _0x14e4c6=_0x1987a4[_0x2dc066(0x2f6)](_0x1a3d5a[_0x2dc066(0x15b)][0x0]);for(let _0x2aab3b=0x0;_0x2aab3b<_0x5bc7de['length'];_0x2aab3b++){const _0x26328d={'id':_0x2dc066(0x106),'params':{'unitId':_0x5bc7de[_0x2aab3b][_0x2dc066(0x1b4)],..._0x5bc7de[_0x2aab3b][_0x2dc066(0x191)]}},_0x55b225=this[_0x2dc066(0x2de)]['transformMutation'](_0x14e4c6,_0x26328d,!0x1);if(_0x56d7f9(_0x55b225))throw _0x55b225[_0x2dc066(0x28b)];_0x14e4c6=_0x55b225[_0x2dc066(0x27a)];}return{..._0x1987a4[_0x2dc066(0x2f6)](_0x1a3d5a),'mutations':[_0x14e4c6]};}[_0x3d67dc(0xf8)](_0x5cc138){const _0x11dedc=_0x3d67dc,{unitID:_0x25bb97}=_0x5cc138,{history:_0x233a74,collaboration:_0x29c791}=this[_0x11dedc(0x353)][_0x11dedc(0x240)](_0x25bb97);if(_0x233a74[_0x11dedc(0x1bd)]===0x0&&_0x29c791[_0x11dedc(0x1bd)]===0x0)return;const _0x27a86e=[],_0x3645c3=[];let _0x83c19b=_0x1987a4[_0x11dedc(0x2f6)](_0x5cc138[_0x11dedc(0x15b)][0x0]),_0x429c47=_0x1987a4[_0x11dedc(0x2f6)](_0x5cc138[_0x11dedc(0x15b)][0x0]);for(let _0x34ae29=_0x233a74[_0x11dedc(0x1bd)]-0x1;_0x34ae29>=0x0;_0x34ae29--){const _0x9b587b={'id':_0x11dedc(0x106),'params':{'unitId':_0x233a74[_0x34ae29][_0x11dedc(0x1b4)],..._0x233a74[_0x34ae29][_0x11dedc(0x230)]}},_0x388540={'id':_0x11dedc(0x106),'params':{'unitId':_0x233a74[_0x34ae29][_0x11dedc(0x1b4)],..._0x233a74[_0x34ae29][_0x11dedc(0x191)]}},_0x18fc84=this[_0x11dedc(0x2de)][_0x11dedc(0x136)](_0x83c19b,_0x9b587b,!0x1),_0x49a76f=this[_0x11dedc(0x2de)]['transformMutation'](_0x429c47,_0x388540,!0x1);if(_0x56d7f9(_0x18fc84))throw _0x18fc84[_0x11dedc(0x28b)];if(_0x56d7f9(_0x49a76f))throw _0x49a76f[_0x11dedc(0x28b)];_0x27a86e[_0x11dedc(0x11a)]({..._0x233a74[_0x34ae29],'undoState':_0x18fc84[_0x11dedc(0x2bb)][_0x11dedc(0x349)],'redoState':_0x49a76f['m2Prime'][_0x11dedc(0x349)]}),_0x83c19b=_0x18fc84[_0x11dedc(0x27a)],_0x429c47=_0x49a76f[_0x11dedc(0x27a)];}_0x83c19b=_0x1987a4['deepClone'](_0x5cc138[_0x11dedc(0x15b)][0x0]),_0x429c47=_0x1987a4[_0x11dedc(0x2f6)](_0x5cc138['mutations'][0x0]);for(let _0x2c7caa=_0x29c791[_0x11dedc(0x1bd)]-0x1;_0x2c7caa>=0x0;_0x2c7caa--){const _0x528dc2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29c791[_0x2c7caa][_0x11dedc(0x1b4)],..._0x29c791[_0x2c7caa][_0x11dedc(0x230)]}},_0xae4bf={'id':_0x11dedc(0x106),'params':{'unitId':_0x29c791[_0x2c7caa][_0x11dedc(0x1b4)],..._0x29c791[_0x2c7caa]['redoState']}},_0x37b1b5=this['_transformService']['transformMutation'](_0x83c19b,_0x528dc2,!0x1),_0x4ccf6e=this[_0x11dedc(0x2de)][_0x11dedc(0x136)](_0x429c47,_0xae4bf,!0x1);if(_0x56d7f9(_0x37b1b5))throw _0x37b1b5['error'];if(_0x56d7f9(_0x4ccf6e))throw _0x4ccf6e[_0x11dedc(0x28b)];_0x3645c3[_0x11dedc(0x11a)]({..._0x29c791[_0x2c7caa],'undoState':_0x37b1b5[_0x11dedc(0x2bb)][_0x11dedc(0x349)],'redoState':_0x4ccf6e['m2Prime'][_0x11dedc(0x349)]}),_0x83c19b=_0x37b1b5[_0x11dedc(0x27a)],_0x429c47=_0x4ccf6e[_0x11dedc(0x27a)];}this[_0x11dedc(0x353)]['setStateCache'](_0x25bb97,{'history':_0x27a86e,'collaboration':_0x3645c3});}};ue=fn([Ue(0x0,_0x1b6667(_0x653433)),Ue(0x1,_0x4f6061),Ue(0x2,_0x1b6667(_0x360948))],ue);var gn=Object[_0x3d67dc(0x172)],vn=(_0x3849be,_0x38d753,_0x54c4e2,_0x4afd46)=>{const _0x3a3095=_0x3d67dc;for(var _0x26cb91=_0x4afd46>0x1?void 0x0:_0x4afd46?gn(_0x38d753,_0x54c4e2):_0x38d753,_0x18382a=_0x3849be[_0x3a3095(0x1bd)]-0x1,_0x21d918;_0x18382a>=0x0;_0x18382a--)(_0x21d918=_0x3849be[_0x18382a])&&(_0x26cb91=_0x21d918(_0x26cb91)||_0x26cb91);return _0x26cb91;},ut=(_0x51e268,_0x58ee78)=>(_0x3ce522,_0x518087)=>_0x58ee78(_0x3ce522,_0x518087,_0x51e268);let de=class{constructor(_0x2c9e8d,_0x427689){const _0x81b4b4=_0x3d67dc;this[_0x81b4b4(0x1fc)]=_0x2c9e8d,this['_transformService']=_0x427689;}[_0x3d67dc(0x341)](_0x5a3a5b){const _0x34324f=_0x3d67dc;var _0x59735a;const _0xccf411=this[_0x34324f(0x1fc)][_0x34324f(0x30c)](_0x131427),_0x714786=(_0x59735a=_0xccf411[_0x34324f(0x1c3)]())!=null?_0x59735a:[];if(_0x714786[_0x34324f(0x1bd)]===0x0)return;const _0x2934b2=_0x5a3a5b['unitID'],_0x228fd2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2934b2,'actions':null,'textRanges':_0x714786}}],_0x3baacc=this[_0x34324f(0x2de)][_0x34324f(0x28e)](_0x5a3a5b,_0x228fd2);if(!_0x10531c(_0x3baacc))throw _0x3baacc['error'];const _0x444164=_0x3baacc[_0x34324f(0x2bb)][0x0][_0x34324f(0x349)][_0x34324f(0x2f2)];Array[_0x34324f(0x222)](_0x444164)&&_0x444164[_0x34324f(0x1bd)]&&_0xccf411[_0x34324f(0x2cd)](_0x444164,{'unitId':_0x2934b2,'subUnitId':_0x2934b2},!0x1);}};de=vn([ut(0x0,_0x1b6667(_0x653433)),ut(0x1,_0x4f6061)],de);var En=Object[_0x3d67dc(0x172)],Tn=(_0x1ba97f,_0x46edda,_0x265cd0,_0x2bb6c5)=>{const _0x559577=_0x3d67dc;for(var _0x1f1e5a=_0x2bb6c5>0x1?void 0x0:_0x2bb6c5?En(_0x46edda,_0x265cd0):_0x46edda,_0x86f368=_0x1ba97f[_0x559577(0x1bd)]-0x1,_0x1fdd00;_0x86f368>=0x0;_0x86f368--)(_0x1fdd00=_0x1ba97f[_0x86f368])&&(_0x1f1e5a=_0x1fdd00(_0x1f1e5a)||_0x1f1e5a);return _0x1f1e5a;},U=(_0x554bc9,_0xd3cd78)=>(_0x4385a0,_0x1d979e)=>_0xd3cd78(_0x4385a0,_0x1d979e,_0x554bc9);let Se=class extends _0x1c85de{constructor(_0x280fb4,_0x4ca769,_0x577a53,_0x42786b,_0x1d0170,_0x5df549,_0x34a792,_0x1f4917){const _0x1248df=_0x3d67dc;super(),_(this,_0x1248df(0x322),new _0x3b2938(_0x31d531[_0x1248df(0x1be)])),(this[_0x1248df(0x353)]=_0x280fb4,this[_0x1248df(0x1fa)]=_0x4ca769,this['_docTransformIMECacheService']=_0x577a53,this[_0x1248df(0x1c1)]=_0x42786b,this['_docTransformSelectionsService']=_0x1d0170,this['_docSyncEditingCollabCursorService']=_0x5df549,this[_0x1248df(0x157)]=_0x34a792,this['_localeService']=_0x1f4917,this[_0x1248df(0x14a)]());}[_0x3d67dc(0x14a)](){const _0x3e1f10=_0x3d67dc;this['disposeWithMe'](this[_0x3e1f10(0x1fa)][_0x3e1f10(0x255)][_0x3e1f10(0x20b)](_0x491d1f=>{const _0x453a59=_0x3e1f10,_0x2270ec=this[_0x453a59(0x353)][_0x453a59(0x20e)][_0x453a59(0x20b)](_0x5ce0c7=>{if(_0x5ce0c7==null)return;const {unitId:_0x51bf83,redoState:_0x1cd051,commandId:_0x218f67}=_0x5ce0c7;if(_0x51bf83!==_0x491d1f['unitID'])return;const _0x40c105={'id':_0x218f67,'type':_0x114bb7['MUTATION'],'params':{'unitId':_0x51bf83,'actions':_0x1cd051['actions'],'textRanges':null}};_0x491d1f['onLocalMutation'](_0x40c105);});if(_0x491d1f[_0x453a59(0x137)](_0x2270ec),_0x491d1f instanceof _0x563607){const _0x2c6247={'onTransformIME':_0x365315=>this['_docTransformIMECacheService'][_0x453a59(0x151)](_0x365315),'onTransformState':_0x74f2ff=>this[_0x453a59(0x1c1)][_0x453a59(0x2a5)](_0x74f2ff),'onTransformSelections':_0x1503f8=>this[_0x453a59(0x18e)][_0x453a59(0x341)](_0x1503f8),'onSyncEditingCollabCursor':_0x3626f5=>this[_0x453a59(0x2e3)]['syncEditingCollabCursor'](_0x3626f5),'onTransformRemoteChangesetByIMECache':_0x934432=>this[_0x453a59(0x226)][_0x453a59(0x1cb)](_0x934432),'onTransformRemoteChangesetByStateCache':_0x2f8aeb=>this['_docTransformStateCacheService'][_0x453a59(0x1cb)](_0x2f8aeb)};_0x491d1f[_0x453a59(0x2c3)](_0x2c6247);}}));}};Se=Tn([U(0x0,_0x1b6667(_0x360948)),U(0x1,_0x1b6667(_0x245eb3)),U(0x2,_0x1b6667(he)),U(0x3,_0x1b6667(ue)),U(0x4,_0x1b6667(de)),U(0x5,_0x1b6667(ze)),U(0x6,_0x13a8e2),U(0x7,_0x1b6667(_0x7499ef))],Se);var pn=Object[_0x3d67dc(0x172)],On=(_0x3239b1,_0x45d7d8,_0xa7a0ee,_0x2aaeae)=>{const _0xfce748=_0x3d67dc;for(var _0x7449a0=_0x2aaeae>0x1?void 0x0:_0x2aaeae?pn(_0x45d7d8,_0xa7a0ee):_0x45d7d8,_0x3a9759=_0x3239b1[_0xfce748(0x1bd)]-0x1,_0x46bc2c;_0x3a9759>=0x0;_0x3a9759--)(_0x46bc2c=_0x3239b1[_0x3a9759])&&(_0x7449a0=_0x46bc2c(_0x7449a0)||_0x7449a0);return _0x7449a0;},re=(_0x592e13,_0x3da791)=>(_0x4a947c,_0x5b34a7)=>_0x3da791(_0x4a947c,_0x5b34a7,_0x592e13);let Ie=class extends _0x1c85de{constructor(_0x4ecf3d,_0x914f68,_0x12b7ea,_0x469d39){const _0x2e816f=_0x3d67dc;super(),_(this,_0x2e816f(0x2c8)),(this[_0x2e816f(0x1fc)]=_0x4ecf3d,this[_0x2e816f(0x2a3)]=_0x914f68,this[_0x2e816f(0x204)]=_0x12b7ea,this['_collaborationSessionService']=_0x469d39,this['_init']());}[_0x3d67dc(0x131)](){const _0x4e5182=_0x3d67dc;this['_initWindowErrorListener'](),this[_0x4e5182(0x310)](),this[_0x4e5182(0x21d)](),this[_0x4e5182(0x238)]();}[_0x3d67dc(0x238)](){const _0x11da76=_0x3d67dc;this[_0x11da76(0x137)](this[_0x11da76(0x114)]['socket$']['subscribe'](_0x37c338=>{this['_memberID']=_0x37c338==null?void 0x0:_0x37c338['memberID'];}));}[_0x3d67dc(0x179)](){const _0x157cb4=_0x3d67dc,_0x3809b6=_0x52627c=>{const _0x36825b=_0x248c;var _0x3a62dc;this['_uploadLog'](_0x36825b(0x28b),_0x36825b(0x31f)+_0x52627c[_0x36825b(0x145)]+_0x36825b(0x280)+_0x52627c['filename']+':'+_0x52627c[_0x36825b(0x31e)]+':'+_0x52627c['colno']+'\x0a'+(((_0x3a62dc=_0x52627c[_0x36825b(0x28b)])==null?void 0x0:_0x3a62dc[_0x36825b(0x203)])||''));};window[_0x157cb4(0x344)](_0x157cb4(0x28b),_0x3809b6),this[_0x157cb4(0x137)](()=>{const _0x199c71=_0x157cb4;window[_0x199c71(0x1f2)](_0x199c71(0x28b),_0x3809b6);});}[_0x3d67dc(0x310)](){const _0x2e16c7=_0x3d67dc,_0x36d0ea=_0x5135d4=>{const _0x1c9062=_0x248c;this[_0x1c9062(0x276)]('error',_0x1c9062(0x2c7)+_0x5135d4[_0x1c9062(0x19e)]);};window[_0x2e16c7(0x344)]('unhandledrejection',_0x36d0ea),this[_0x2e16c7(0x137)](()=>{const _0x558063=_0x2e16c7;window[_0x558063(0x1f2)]('unhandledrejection',_0x36d0ea);});}[_0x3d67dc(0x21d)](){const _0x210965=_0x3d67dc,_0x41db2d=this['_logService']['error'][_0x210965(0x326)](this[_0x210965(0x204)]);this[_0x210965(0x204)][_0x210965(0x28b)]=(..._0x3910f1)=>{const _0x5d9290=_0x210965,_0x36296f=_0x3910f1[_0x5d9290(0x26d)](_0x4627bf=>_0x4627bf instanceof Error?_0x4627bf[_0x5d9290(0x145)]+'\x0a'+_0x4627bf[_0x5d9290(0x203)]:String(_0x4627bf))[_0x5d9290(0x352)]('\x20');this[_0x5d9290(0x276)](_0x5d9290(0x28b),_0x5d9290(0x122)+_0x36296f),_0x41db2d(..._0x3910f1);},this[_0x210965(0x137)](()=>{this['_logService']['error']=_0x41db2d;});}[_0x3d67dc(0x276)](_0x4f68cf,_0x1ce20d){const _0x151b04=_0x3d67dc;try{const _0x150a7e={'userId':this[_0x151b04(0x2c8)],'logLabel':_0x4f68cf,'content':_0x1ce20d};this[_0x151b04(0x2a3)][_0x151b04(0x24c)]('/universer-api/frontend/logs',{'body':_0x150a7e})[_0x151b04(0x1b3)](()=>{});}catch{}}};Ie=On([re(0x0,_0x1b6667(_0x653433)),re(0x1,_0x1b6667(_0x458a1c)),re(0x2,_0xd040f7),re(0x3,_0x1b6667(_0x2291d1))],Ie);var Z=(_0x10a8af=>(_0x10a8af[_0x10a8af[_0x3d67dc(0x2f1)]=0x0]='UNDEFINED',_0x10a8af[_0x10a8af['OK']=0x1]='OK',_0x10a8af[_0x10a8af['INTERNAL_ERROR']=0x2]=_0x3d67dc(0x319),_0x10a8af[_0x10a8af['PERMISSION_DENIED']=0x3]=_0x3d67dc(0x261),_0x10a8af[_0x10a8af[_0x3d67dc(0x1f4)]=0x4]=_0x3d67dc(0x1f4),_0x10a8af[_0x10a8af[_0x3d67dc(0x171)]=0x5]='UNAUTHENTICATED',_0x10a8af[_0x10a8af[_0x3d67dc(0x209)]=0x6]=_0x3d67dc(0x209),_0x10a8af[_0x10a8af['INVALID_ARGUMENT']=0x7]=_0x3d67dc(0x245),_0x10a8af[_0x10a8af[_0x3d67dc(0x12e)]=0x8]=_0x3d67dc(0x12e),_0x10a8af[_0x10a8af[_0x3d67dc(0x286)]=0x9]=_0x3d67dc(0x286),_0x10a8af[_0x10a8af[_0x3d67dc(0x2e5)]=0xa]=_0x3d67dc(0x2e5),_0x10a8af[_0x10a8af[_0x3d67dc(0x21a)]=0xb]=_0x3d67dc(0x21a),_0x10a8af[_0x10a8af['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3d67dc(0x1f6),_0x10a8af[_0x10a8af[_0x3d67dc(0x15a)]=0xd]=_0x3d67dc(0x15a),_0x10a8af[_0x10a8af['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x3d67dc(0x139),_0x10a8af[_0x10a8af[_0x3d67dc(0x2a8)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x10a8af[_0x10a8af[_0x3d67dc(0x17d)]=0x10]=_0x3d67dc(0x17d),_0x10a8af[_0x10a8af[_0x3d67dc(0x2d8)]=0x64]=_0x3d67dc(0x2d8),_0x10a8af[_0x10a8af[_0x3d67dc(0x1a3)]=0x65]=_0x3d67dc(0x1a3),_0x10a8af[_0x10a8af['USER_NOT_FOUND']=0xc9]=_0x3d67dc(0x1e5),_0x10a8af[_0x10a8af[_0x3d67dc(0x2dd)]=0xca]=_0x3d67dc(0x2dd),_0x10a8af[_0x10a8af['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3d67dc(0x1fb),_0x10a8af[_0x10a8af[_0x3d67dc(0x323)]=0x1771]=_0x3d67dc(0x323),_0x10a8af[_0x10a8af[_0x3d67dc(0x33d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x10a8af[_0x10a8af[_0x3d67dc(0x235)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x10a8af[_0x10a8af[_0x3d67dc(0x158)]=0x1b59]=_0x3d67dc(0x158),_0x10a8af[_0x10a8af['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3d67dc(0x218),_0x10a8af[_0x10a8af['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3d67dc(0x2f0),_0x10a8af[_0x10a8af[_0x3d67dc(0x23f)]=0x1b5c]=_0x3d67dc(0x23f),_0x10a8af[_0x10a8af['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x10a8af[_0x10a8af['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3d67dc(0x1a7),_0x10a8af[_0x10a8af[_0x3d67dc(0x343)]=0x2329]=_0x3d67dc(0x343),_0x10a8af[_0x10a8af[_0x3d67dc(0x182)]=0x232a]=_0x3d67dc(0x182),_0x10a8af[_0x10a8af[_0x3d67dc(0x273)]=0x232b]=_0x3d67dc(0x273),_0x10a8af[_0x10a8af['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3d67dc(0x2ee),_0x10a8af[_0x10a8af['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3d67dc(0x11b),_0x10a8af[_0x10a8af['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3d67dc(0x24a),_0x10a8af[_0x10a8af[_0x3d67dc(0x2ce)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x10a8af[_0x10a8af['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x10a8af[_0x10a8af[_0x3d67dc(0x1cf)]=0x2714]=_0x3d67dc(0x1cf),_0x10a8af[_0x10a8af[_0x3d67dc(0x11f)]=0x271a]=_0x3d67dc(0x11f),_0x10a8af[_0x10a8af['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3d67dc(0x214),_0x10a8af[_0x10a8af['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3d67dc(0xfa),_0x10a8af[_0x10a8af[_0x3d67dc(0x21b)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x10a8af[_0x10a8af[_0x3d67dc(0x35b)]=0x271e]=_0x3d67dc(0x35b),_0x10a8af[_0x10a8af[_0x3d67dc(0x1d7)]=0x271f]=_0x3d67dc(0x1d7),_0x10a8af[_0x10a8af['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3d67dc(0x1ca),_0x10a8af[_0x10a8af[_0x3d67dc(0x254)]=0x2af9]=_0x3d67dc(0x254),_0x10a8af[_0x10a8af[_0x3d67dc(0x147)]=0x2ee1]=_0x3d67dc(0x147),_0x10a8af[_0x10a8af[_0x3d67dc(0x33f)]=0x2ee2]=_0x3d67dc(0x33f),_0x10a8af[_0x10a8af[_0x3d67dc(0x314)]=0x2ee3]=_0x3d67dc(0x314),_0x10a8af[_0x10a8af['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x10a8af[_0x10a8af[_0x3d67dc(0x26b)]=0x2ee5]=_0x3d67dc(0x26b),_0x10a8af[_0x10a8af[_0x3d67dc(0x24b)]=0x32c9]=_0x3d67dc(0x24b),_0x10a8af[_0x10a8af[_0x3d67dc(0x1f9)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x10a8af[_0x10a8af[_0x3d67dc(0x101)]=0x32cb]=_0x3d67dc(0x101),_0x10a8af[_0x10a8af[_0x3d67dc(0x207)]=0x36b1]=_0x3d67dc(0x207),_0x10a8af[_0x10a8af['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x3d67dc(0x1da),_0x10a8af[_0x10a8af['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x3d67dc(0x25b),_0x10a8af[_0x10a8af[_0x3d67dc(0x2ca)]=0x36b4]=_0x3d67dc(0x2ca),_0x10a8af[_0x10a8af['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x10a8af[_0x10a8af[_0x3d67dc(0x12b)]=0x36b6]=_0x3d67dc(0x12b),_0x10a8af[_0x10a8af[_0x3d67dc(0x23a)]=0x36b7]=_0x3d67dc(0x23a),_0x10a8af[_0x10a8af[_0x3d67dc(0x271)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x10a8af[_0x10a8af[_0x3d67dc(0x1e1)]=0x3715]=_0x3d67dc(0x1e1),_0x10a8af[_0x10a8af[_0x3d67dc(0x2e1)]=0x3716]=_0x3d67dc(0x2e1),_0x10a8af[_0x10a8af[_0x3d67dc(0x1af)]=0x3717]=_0x3d67dc(0x1af),_0x10a8af[_0x10a8af['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x10a8af[_0x10a8af['REDEMPTION_INVALID_CODE']=0x3a99]=_0x3d67dc(0x1d9),_0x10a8af[_0x10a8af['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3d67dc(0x325),_0x10a8af[_0x10a8af[_0x3d67dc(0x317)]=0x3a9b]=_0x3d67dc(0x317),_0x10a8af[_0x10a8af['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x3d67dc(0x266),_0x10a8af[_0x10a8af['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x3d67dc(0x2b0),_0x10a8af[_0x10a8af[_0x3d67dc(0x29c)]=0x3a9e]=_0x3d67dc(0x29c),_0x10a8af[_0x10a8af[_0x3d67dc(0x163)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x10a8af[_0x10a8af[_0x3d67dc(0x194)]=0x3e81]=_0x3d67dc(0x194),_0x10a8af[_0x10a8af[_0x3d67dc(0x105)]=-0x1]=_0x3d67dc(0x105),_0x10a8af))(Z||{});function Cn(_0xa5f1b7){const _0x149025=_0x3d67dc;var _0x1e7975,_0x3a2e25;const _0xdb8fef=(_0x1e7975=_0xa5f1b7[_0x149025(0x23d)])==null?void 0x0:_0x1e7975['stage'],_0x2fb2d2=((_0x3a2e25=_0xa5f1b7[_0x149025(0x23d)])==null?void 0x0:_0x3a2e25[_0x149025(0x30f)])||0x0;return _0xdb8fef===_0x4c5c6f['START_CALCULATION']&&_0x2fb2d2>0x0;}function Rn(_0x5a46ff){const _0x123cbd=_0x3d67dc;return _0x5a46ff[_0x123cbd(0x2d3)]===_0x512ed2[_0x123cbd(0x159)];}var bn=Object['getOwnPropertyDescriptor'],Dn=(_0x499576,_0x879784,_0x468718,_0x1f00a6)=>{const _0x168cd1=_0x3d67dc;for(var _0x5ae52f=_0x1f00a6>0x1?void 0x0:_0x1f00a6?bn(_0x879784,_0x468718):_0x879784,_0x143390=_0x499576[_0x168cd1(0x1bd)]-0x1,_0x112678;_0x143390>=0x0;_0x143390--)(_0x112678=_0x499576[_0x143390])&&(_0x5ae52f=_0x112678(_0x5ae52f)||_0x5ae52f);return _0x5ae52f;},P=(_0x28932c,_0x6276cb)=>(_0x170721,_0x1040d6)=>_0x6276cb(_0x170721,_0x1040d6,_0x28932c);const Nn=_0x3d67dc(0x300),Ln=_0x3d67dc(0x1db),Un=_0x3d67dc(0x2d1);let me=class extends _0x1c85de{constructor(_0x3b5a32,_0x1e0ca9,_0x1f7064,_0x586f13,_0x34c948,_0x9bac16,_0x292a58){const _0xd763f1=_0x3d67dc;super(),_(this,'_pollingInterval',null),_(this,_0xd763f1(0x27e),0x0),_(this,_0xd763f1(0x100),0x0),_(this,_0xd763f1(0x328),[]),_(this,_0xd763f1(0x14f),0x0),(this[_0xd763f1(0x157)]=_0x3b5a32,this['_commandService']=_0x1e0ca9,this[_0xd763f1(0x165)]=_0x1f7064,this[_0xd763f1(0x2a3)]=_0x586f13,this[_0xd763f1(0x1b6)]=_0x34c948,this[_0xd763f1(0x204)]=_0x9bac16,this[_0xd763f1(0x1c0)]=_0x292a58,this[_0xd763f1(0x146)]());}[_0x3d67dc(0x146)](){const _0x24c48b=_0x3d67dc;this[_0x24c48b(0x137)](this[_0x24c48b(0x334)]['beforeCommandExecuted']((_0x13199e,_0x12cccf)=>{const _0x45a77f=_0x24c48b;var _0x4f2d48;if(_0x13199e['id']!==_0x9694b9['id'])return;const _0x2ad5aa=_0x13199e[_0x45a77f(0x349)];if(!this['_hasFormulaInDirtyRanges']((_0x4f2d48=_0x2ad5aa[_0x45a77f(0x288)])!=null?_0x4f2d48:[]))return;if(!this[_0x45a77f(0xff)]())throw this[_0x45a77f(0x125)](_0x13199e,_0x12cccf),this[_0x45a77f(0x180)](),new _0x523b20();})),this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x15cfb0,_0xbc31fa)=>{const _0x20432d=_0x24c48b;if(_0x15cfb0['id']!==_0x513eba['id'])return;const _0x192e50=_0x15cfb0['params'];if(Cn(_0x192e50)){const _0x13076c=_0x4434ad();this[_0x20432d(0x328)][_0x20432d(0x208)](_0x13076c),this['_startCalculationLimit'](_0x13076c);}else{if(Rn(_0x192e50)&&this[_0x20432d(0x328)][_0x20432d(0x1bd)]>0x0){const _0xb6bdac=this[_0x20432d(0x328)]['shift']();this['_releaseCalculationLimit'](_0xb6bdac);}}}));}[_0x3d67dc(0x201)](){const _0x3bd4c8=_0x3d67dc;super['dispose'](),this['_clearPolling'](),this[_0x3bd4c8(0x328)]=[],this[_0x3bd4c8(0x100)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x3bd4c8(0x14f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x433ae0,_0x620151){const _0x38f615=_0x3d67dc;for(let _0x238250=0x0;_0x238250<0x1e;_0x238250++)try{if(await this['_getFormulaLimitStatus'](),this[_0x38f615(0xff)]()){this[_0x38f615(0x140)](_0x433ae0,_0x620151),this[_0x38f615(0x157)]['show']({'content':this['_localeService']['t'](_0x38f615(0x27d)),'type':_0x1c1707[_0x38f615(0x1c5)]});return;}await new Promise(_0x1faa8d=>{const _0x341b59=_0x38f615;this[_0x341b59(0xf9)]=window[_0x341b59(0x2d2)](_0x1faa8d,0x3e8);});}catch(_0x30ab2f){this[_0x38f615(0x204)][_0x38f615(0x28b)](_0x30ab2f);}this[_0x38f615(0x157)][_0x38f615(0x2cb)]({'content':this[_0x38f615(0x1c0)]['t']('formula.calculation.unable'),'type':_0x1c1707['Error']});}['_applyCommand'](_0x2a45a7,_0x4bead8){const _0xfa82c=_0x3d67dc;try{this[_0xfa82c(0x334)][_0xfa82c(0x292)](_0x2a45a7['id'],_0x2a45a7[_0xfa82c(0x349)],_0x4bead8);}catch(_0x15ba82){this[_0xfa82c(0x204)][_0xfa82c(0x28b)](_0x15ba82);}}['_setFormulaLimitStatus'](_0x3d89c4,_0x356d47){const _0x53c51e=_0x3d67dc;_0x356d47<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x356d47,this[_0x53c51e(0x27e)]=Number['parseInt'](_0x3d89c4['maxFormulaLimit']),this['_currentUsage']=Number['parseInt'](_0x3d89c4[_0x53c51e(0x356)]));}async['_startCalculationLimit'](_0x507f2a){const _0x13491f=_0x3d67dc;var _0x581248,_0x1dd02f;const _0x2959e8=Date[_0x13491f(0x1cc)]();try{const _0x3781d2=((_0x581248=this[_0x13491f(0x165)][_0x13491f(0x200)](_0x284637))==null?void 0x0:_0x581248['startFormulaLimitUrl'])||Ln,_0x4d8ad3=(await this[_0x13491f(0x2a3)][_0x13491f(0x24c)](_0x3781d2,{'body':JSON['stringify']({'taskId':_0x507f2a})}))[_0x13491f(0x274)];if(((_0x1dd02f=_0x4d8ad3['error'])==null?void 0x0:_0x1dd02f['code'])!==Z['OK'])return;this[_0x13491f(0x118)](_0x4d8ad3[_0x13491f(0x212)],_0x2959e8);}catch(_0x38b435){this['_logService']['error'](_0x38b435);}}async['_getFormulaLimitStatus'](_0x24e6f1){const _0x2a3741=_0x3d67dc;var _0x4dbacf,_0x1913d1;const _0x1fc997=Date[_0x2a3741(0x1cc)]();try{const _0x8c4918=((_0x4dbacf=this['_configService']['getConfig'](_0x284637))==null?void 0x0:_0x4dbacf[_0x2a3741(0x1c9)])||Nn,_0x46a1aa=_0x24e6f1?_0x8c4918+'?taskId='+encodeURIComponent(_0x24e6f1):_0x8c4918,_0x154f34=(await this['_httpService'][_0x2a3741(0x30c)](_0x46a1aa))[_0x2a3741(0x274)];if(((_0x1913d1=_0x154f34[_0x2a3741(0x28b)])==null?void 0x0:_0x1913d1[_0x2a3741(0x2fb)])!==Z['OK'])return;this[_0x2a3741(0x118)](_0x154f34['limitInfo'],_0x1fc997);}catch(_0x797756){this[_0x2a3741(0x204)][_0x2a3741(0x28b)](_0x797756);}}async['_releaseCalculationLimit'](_0x473236){const _0x26aaf6=_0x3d67dc;var _0x2d4c94,_0x2c3939;const _0x1dc3bf=Date['now']();try{const _0x1c2e5b=((_0x2d4c94=this['_configService'][_0x26aaf6(0x200)](_0x284637))==null?void 0x0:_0x2d4c94[_0x26aaf6(0x197)])||Un,_0x256383=(await this['_httpService'][_0x26aaf6(0x24c)](_0x1c2e5b,{'body':JSON[_0x26aaf6(0x347)]({'taskId':_0x473236})}))[_0x26aaf6(0x274)];if(((_0x2c3939=_0x256383[_0x26aaf6(0x28b)])==null?void 0x0:_0x2c3939[_0x26aaf6(0x2fb)])!==Z['OK'])return;this[_0x26aaf6(0x118)](_0x256383[_0x26aaf6(0x212)],_0x1dc3bf);}catch(_0x5a6091){this[_0x26aaf6(0x204)][_0x26aaf6(0x28b)](_0x5a6091);}}['_checkCalculationAvailable'](){const _0x306e12=_0x3d67dc;return this[_0x306e12(0x27e)]===0x0?!0x0:this[_0x306e12(0x27e)]-this['_currentUsage']>0x0;}[_0x3d67dc(0xfb)](){const _0x17d791=_0x3d67dc;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x17d791(0xf9)]=null);}['_showGuardMessage'](){const _0x264a80=_0x3d67dc;this['_messageService']['show']({'content':this['_localeService']['t'](_0x264a80(0x1d2)),'type':_0x1c1707['Loading']});}['_hasFormulaInDirtyRanges'](_0x3c10a1){const _0x3a150b=_0x3d67dc;for(const _0xe4ebf1 of _0x3c10a1){const {unitId:_0x439119,sheetId:_0x3b5d16,range:_0x15905f}=_0xe4ebf1,_0x4c4852=this['_univerInstanceService'][_0x3a150b(0x270)](_0x439119);if(!_0x4c4852)continue;const _0x462fa7=_0x4c4852[_0x3a150b(0x25e)](_0x3b5d16);if(!_0x462fa7)continue;const _0x42a586=_0x462fa7['getCellMatrix']();for(let _0x177c50=_0x15905f[_0x3a150b(0x1c7)];_0x177c50<=_0x15905f['endRow'];_0x177c50++)for(let _0x328a4f=_0x15905f[_0x3a150b(0x1a1)];_0x328a4f<=_0x15905f['endColumn'];_0x328a4f++){const _0x2fe331=_0x42a586[_0x3a150b(0x17b)](_0x177c50,_0x328a4f);if(_0x2fe331&&(_0x4d1334(_0x2fe331['f'])||_0x3f5e5f(_0x2fe331['si'])))return!0x0;}}return!0x1;}};me=Dn([P(0x0,_0x1b6667(_0x13a8e2)),P(0x1,_0xa09e90),P(0x2,_0x542c52),P(0x3,_0x1b6667(_0x458a1c)),P(0x4,_0x8dd819),P(0x5,_0xd040f7),P(0x6,_0x1b6667(_0x7499ef))],me);var Mn=Object[_0x3d67dc(0x172)],An=(_0x33f42f,_0x38ce66,_0x5e0d1f,_0x5fbf3b)=>{const _0x3dd44a=_0x3d67dc;for(var _0x403a4f=_0x5fbf3b>0x1?void 0x0:_0x5fbf3b?Mn(_0x38ce66,_0x5e0d1f):_0x38ce66,_0x10c70c=_0x33f42f[_0x3dd44a(0x1bd)]-0x1,_0xe99c10;_0x10c70c>=0x0;_0x10c70c--)(_0xe99c10=_0x33f42f[_0x10c70c])&&(_0x403a4f=_0xe99c10(_0x403a4f)||_0x403a4f);return _0x403a4f;},Me=(_0x159257,_0x389d6f)=>(_0x3e4a2e,_0x5b26b7)=>_0x389d6f(_0x3e4a2e,_0x5b26b7,_0x159257);let He=class extends _0x1c85de{constructor(_0x25bf56,_0x232dc1,_0x5b2ceb){const _0x2220a2=_0x3d67dc;super(),_(this,_0x2220a2(0x333),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x2220a2(0x165)]=_0x25bf56,this['_localStorageService']=_0x232dc1,this['_revisionService']=_0x5b2ceb);}[_0x3d67dc(0x11e)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x48754c=_0x3d67dc;this[_0x48754c(0x2b7)]=!0x1;}get[_0x3d67dc(0x227)](){return this['_saveTaskMap'];}[_0x3d67dc(0x201)](){const _0xc6fa28=_0x3d67dc;this[_0xc6fa28(0x2b6)]()[_0xc6fa28(0x161)](()=>super[_0xc6fa28(0x201)]());}async[_0x3d67dc(0x34c)](_0x3db9d5){const _0x24fc30=_0x3d67dc;return this['_disabled']?null:this['_localStorageService'][_0x24fc30(0x210)](_0x1ce012(_0x3db9d5));}async[_0x3d67dc(0x18a)](_0x2ee9f1,_0xe7dcf1){const _0x54ec11=_0x3d67dc;return!!this[_0x54ec11(0x1f8)]['setItem'](_0x2ee9f1,_0xe7dcf1);}[_0x3d67dc(0x2f8)](_0x27692b,_0x2406f1,_0x3eb25e,_0x60d49c){const _0x474fe0=_0x3d67dc,_0x155135=this[_0x474fe0(0x22b)][_0x474fe0(0x2da)](_0x27692b);this[_0x474fe0(0x333)]['set'](_0x27692b,{'unitID':_0x27692b,'type':_0x2406f1,'awaitingChangeset':_0x3eb25e,'mutations':_0x60d49c,'rev':_0x155135}),this[_0x474fe0(0x283)]['has'](_0x27692b)||this['_scheduleSaving'](_0x27692b);}[_0x3d67dc(0x2c1)](_0x449791){const _0x26f598=_0x3d67dc,_0x308896=this[_0x26f598(0x354)]();_0x308896===0x0?this[_0x26f598(0x164)](_0x449791):this['_saveTaskMap'][_0x26f598(0x156)](_0x449791,setTimeout(()=>this[_0x26f598(0x164)](_0x449791),_0x308896));}['_getSaveTimeout'](){const _0x341458=_0x3d67dc;var _0x5f2f44;return(_0x5f2f44=this['_configService'][_0x341458(0x200)](_0x3b3648))!=null?_0x5f2f44:_0x2970a2;}[_0x3d67dc(0x164)](_0x32e38c){const _0xfb6730=_0x3d67dc,_0x5a81f0=this[_0xfb6730(0x283)]['get'](_0x32e38c);return _0x5a81f0!==void 0x0&&window[_0xfb6730(0x193)](_0x5a81f0),this[_0xfb6730(0x1f8)]['setItem'](_0x1ce012(_0x32e38c),this[_0xfb6730(0x333)][_0xfb6730(0x30c)](_0x32e38c))[_0xfb6730(0x161)](()=>this[_0xfb6730(0x283)][_0xfb6730(0x1ed)](_0x32e38c));}async['exhaustSavingTask'](){const _0x3796d1=_0x3d67dc,_0x1d080c=[];this[_0x3796d1(0x283)][_0x3796d1(0x215)]((_0x593eb3,_0x781b37)=>{const _0x1b9349=_0x3796d1;window['clearTimeout'](_0x593eb3),_0x1d080c[_0x1b9349(0x208)](this[_0x1b9349(0x164)](_0x781b37)['then'](()=>{const _0x405871=_0x1b9349;this[_0x405871(0x283)][_0x405871(0x1ed)](_0x781b37);}));}),await Promise['all'](_0x1d080c);}};He=An([Me(0x0,_0x542c52),Me(0x1,_0x5a95b1),Me(0x2,_0x1b6667(_0x115ba9))],He);class Pn extends _0x2c3066{constructor(){const _0x1e96b5=_0x3d67dc;super(),_(this,'urlChange$'),this[_0x1e96b5(0x2c5)]=_0x11e56b(window,_0x1e96b5(0x29e))[_0x1e96b5(0x1d6)](_0x49248c(this['dispose$']),_0x2ddd0d(0x1),_0xeafe7a(void 0x0));}[_0x3d67dc(0x34e)](_0x15c53a,_0x33253b,_0x573287=!0x1){const _0xc0f9fa=_0x3d67dc,_0x3d4422=new URL(window[_0xc0f9fa(0x1a5)][_0xc0f9fa(0x22e)]);_0x3d4422[_0xc0f9fa(0x16f)][_0xc0f9fa(0x156)](_0x15c53a,_0x33253b),_0x573287?window[_0xc0f9fa(0x1d0)][_0xc0f9fa(0x130)]('','',_0x3d4422[_0xc0f9fa(0x1b2)]()):window[_0xc0f9fa(0x1d0)][_0xc0f9fa(0x16b)]('','',_0x3d4422[_0xc0f9fa(0x1b2)]());}[_0x3d67dc(0x223)](_0x1fb146,_0x45d6d8=!0x1){const _0x3264df=_0x3d67dc,_0x226ad9=new URL(window[_0x3264df(0x1a5)]['href']);_0x226ad9['searchParams'][_0x3264df(0x1ed)](_0x1fb146),_0x45d6d8?window['history'][_0x3264df(0x130)]('','',_0x226ad9[_0x3264df(0x1b2)]()):window['history'][_0x3264df(0x16b)]('','',_0x226ad9[_0x3264df(0x1b2)]());}[_0x3d67dc(0x184)](_0x1a605b){const _0x115ec6=_0x3d67dc;var _0x469456;return(_0x469456=new URL(window[_0x115ec6(0x1a5)][_0x115ec6(0x22e)])[_0x115ec6(0x16f)]['get'](_0x1a605b))!=null?_0x469456:void 0x0;}}var wn=Object[_0x3d67dc(0x1dc)],yn=Object[_0x3d67dc(0x172)],$n=(_0x3310d3,_0x43d0f7,_0x539c25)=>_0x43d0f7 in _0x3310d3?wn(_0x3310d3,_0x43d0f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x539c25}):_0x3310d3[_0x43d0f7]=_0x539c25,xn=(_0x43af6c,_0x107f49,_0x23df18,_0x36e254)=>{for(var _0x4af49e=_0x36e254>0x1?void 0x0:_0x36e254?yn(_0x107f49,_0x23df18):_0x107f49,_0x450b2f=_0x43af6c['length']-0x1,_0x30c31d;_0x450b2f>=0x0;_0x450b2f--)(_0x30c31d=_0x43af6c[_0x450b2f])&&(_0x4af49e=_0x30c31d(_0x4af49e)||_0x4af49e);return _0x4af49e;},Ae=(_0x2e5d66,_0x3cfffb)=>(_0x2259c0,_0x1169ce)=>_0x3cfffb(_0x2259c0,_0x1169ce,_0x2e5d66),Je=(_0x55dd75,_0x37eb3b,_0x432b12)=>$n(_0x55dd75,typeof _0x37eb3b!=_0x3d67dc(0x176)?_0x37eb3b+'':_0x37eb3b,_0x432b12);let q=class extends _0x1869ce{constructor(_0x480e0f=lt,_0x37bc53,_0x5f3a45,_0x483580){const _0x4dba0b=_0x3d67dc;super(),this[_0x4dba0b(0x2e4)]=_0x480e0f,this[_0x4dba0b(0x188)]=_0x37bc53,this[_0x4dba0b(0x1fc)]=_0x5f3a45,this[_0x4dba0b(0x165)]=_0x483580;const {..._0x16a291}=_0x4e387a({},lt,this[_0x4dba0b(0x2e4)]);this[_0x4dba0b(0x165)][_0x4dba0b(0x289)](dn,_0x16a291);}[_0x3d67dc(0x1b9)](){const _0x359d24=_0x3d67dc;this['_registerDependencies'](),this[_0x359d24(0x2a6)]();}[_0x3d67dc(0x284)](){const _0x453aaa=_0x3d67dc;this[_0x453aaa(0x1bf)]();}[_0x3d67dc(0x2ad)](){const _0x754c3c=_0x3d67dc;var _0x97b04;const _0x2e889a=[[Ke],[me],[de],[he],[ue],[ze],[$t,{'useClass':Pn}],[_0x475bce,{'useClass':_0x300cea}],[_0x5e9d08,{'useClass':He}],[ce],[Se],[le],[Y],[xe],[_e]];this['_config']['enableFrontendLog']&&_0x2e889a[_0x754c3c(0x208)]([Ie]),_0xd0a28f(this[_0x754c3c(0x1fc)],_0x506153(_0x2e889a,(_0x97b04=this[_0x754c3c(0x2e4)])==null?void 0x0:_0x97b04[_0x754c3c(0x12c)]));}['_registerRenderDependencies'](){const _0x4b6445=_0x3d67dc;this[_0x4b6445(0x137)](this[_0x4b6445(0x188)][_0x4b6445(0x2e9)](_0x4d7c74['UNIVER_DOC'],[Fe])),this[_0x4b6445(0x137)](this[_0x4b6445(0x188)]['registerRenderModule'](_0x4d7c74[_0x4b6445(0x2fd)],[Ye]));}['_initDependencies'](){const _0x29cbef=_0x3d67dc;_0x1cbec2(this['_injector'],[[Y],[ce],[Se],[le],[_e],[me]]),this[_0x29cbef(0x2e4)]['enableFrontendLog']&&_0x1cbec2(this[_0x29cbef(0x1fc)],[[Ie]]);}};Je(q,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),Je(q,_0x3d67dc(0x1e2),xt['name']),Je(q,'version',xt[_0x3d67dc(0x148)]),q=xn([_0x170543(_0x14127a),Ae(0x1,_0x3b6e27),Ae(0x2,_0x1b6667(_0x653433)),Ae(0x3,_0x542c52)],q);function _0x248c(_0x108bcc,_0x2127b9){_0x108bcc=_0x108bcc-0xf6;const _0x37966f=_0x3796();let _0x248c8e=_0x37966f[_0x108bcc];return _0x248c8e;}var Bn=Object['getOwnPropertyDescriptor'],kn=(_0x360808,_0x4f2adf,_0x17396f,_0x4bcc3d)=>{const _0x5cba4c=_0x3d67dc;for(var _0x5e9712=_0x4bcc3d>0x1?void 0x0:_0x4bcc3d?Bn(_0x4f2adf,_0x17396f):_0x4f2adf,_0x580a4e=_0x360808[_0x5cba4c(0x1bd)]-0x1,_0x3131c3;_0x580a4e>=0x0;_0x580a4e--)(_0x3131c3=_0x360808[_0x580a4e])&&(_0x5e9712=_0x3131c3(_0x5e9712)||_0x5e9712);return _0x5e9712;},J=(_0x4485ef,_0x394aab)=>(_0x16f39c,_0x39fb01)=>_0x394aab(_0x16f39c,_0x39fb01,_0x4485ef);let dt=class extends _0x4cd2b4{constructor(_0x31cbd0,_0x1cbcdf,_0x2fef82,_0x264b24,_0x1a39b7){super(_0x31cbd0,_0x1cbcdf,_0x2fef82,_0x264b24,_0x1a39b7);}async[_0x3d67dc(0x18d)](_0x18958e){const _0x27d648=_0x3d67dc,_0x6bcc3f=await this[_0x27d648(0x1d4)](),_0x220dbe=this[_0x27d648(0x22d)](_0x18958e,_0x6bcc3f);return this[_0x27d648(0x13d)](_0x220dbe);}[_0x3d67dc(0x22d)](_0x5dde73,_0x113d87){const _0x50647f=_0x3d67dc,_0x3defc7=typeof window>'u'?new URL(_0x5dde73):new URL(_0x5dde73,window[_0x50647f(0x1a5)][_0x50647f(0x242)]);_0x3defc7['searchParams'][_0x50647f(0x156)]('sessionTicket',_0x113d87);const _0x16aed8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50647f(0x1a5)][_0x50647f(0x236)]);return _0x16aed8['get']('runId')&&_0x3defc7[_0x50647f(0x16f)][_0x50647f(0x156)]('runId',_0x16aed8['get'](_0x50647f(0x10f))),_0x3defc7['toString']();}async[_0x3d67dc(0x1d4)](){const _0x5ccb8c=_0x3d67dc;var _0x50311a,_0x5e50fd,_0x2a128b;const _0x15fc51=this['_configService'][_0x5ccb8c(0x200)](_0x284637),_0x2af128=(_0x50311a=_0x15fc51==null?void 0x0:_0x15fc51[_0x5ccb8c(0x239)])!=null?_0x50311a:_0x5a12c7;return(_0x2a128b=(_0x5e50fd=(await this[_0x5ccb8c(0x2a3)][_0x5ccb8c(0x30c)](_0x2af128,{'headers':{'Content-Type':_0x5ccb8c(0x2f4)}}))[_0x5ccb8c(0x274)])==null?void 0x0:_0x5e50fd[_0x5ccb8c(0x2a9)])!=null?_0x2a128b:'';}};dt=kn([J(0x0,_0x1b6667(_0x653433)),J(0x1,_0x1b6667(_0x458a1c)),J(0x2,_0x542c52),J(0x3,_0xd040f7),J(0x4,_0x1c6eed)],dt);var Fn=Object[_0x3d67dc(0x172)],Yn=(_0x1d203b,_0x3308c7,_0x2987d5,_0xafbfc5)=>{const _0x16eac6=_0x3d67dc;for(var _0x21b6b4=_0xafbfc5>0x1?void 0x0:_0xafbfc5?Fn(_0x3308c7,_0x2987d5):_0x3308c7,_0x5ad5fe=_0x1d203b[_0x16eac6(0x1bd)]-0x1,_0x5c43d6;_0x5ad5fe>=0x0;_0x5ad5fe--)(_0x5c43d6=_0x1d203b[_0x5ad5fe])&&(_0x21b6b4=_0x5c43d6(_0x21b6b4)||_0x21b6b4);return _0x21b6b4;},Pe=(_0x31343a,_0x2811a1)=>(_0x189376,_0x33813a)=>_0x2811a1(_0x189376,_0x33813a,_0x31343a);let St=class extends _0x1c85de{constructor(_0x2d571b,_0x14d275,_0x23f994){const _0x5f1e77=_0x3d67dc;super(),this[_0x5f1e77(0x2b1)]=_0x2d571b,this['_httpService']=_0x14d275,this[_0x5f1e77(0x165)]=_0x23f994;}async[_0x3d67dc(0x2f3)](_0x276a6f,_0x1c6277,_0x24162c,..._0x4dfe7c){const _0x1a7935=_0x3d67dc;var _0x2f67cf,_0x1f53eb,_0x44af14,_0x5067e9;const _0x2afe4a=this[_0x1a7935(0x2b1)]['getFocusedUnit']();if(!_0x2afe4a)throw new Error(_0x1a7935(0x1eb));const _0x1e9986=((_0x2f67cf=this['_configService'][_0x1a7935(0x200)](_0xc36dad))!=null?_0x2f67cf:_0x260927)+'/'+_0x276a6f+_0x1a7935(0x1fd)+_0x1c6277,_0x479690=new URL(window['location'][_0x1a7935(0x22e)]),_0xe6eba8={'scriptId':_0x276a6f,'runId':(_0x1f53eb=_0x479690[_0x1a7935(0x16f)][_0x1a7935(0x30c)](_0x1a7935(0x10f)))!=null?_0x1f53eb:'','function':_0x1c6277,'unitId':_0x2afe4a[_0x1a7935(0x2ef)](),'argsOfFunction':JSON[_0x1a7935(0x347)](_0x4dfe7c),'invokeId':(_0x44af14=_0x24162c[_0x1a7935(0x1b8)])!=null?_0x44af14:'','executionId':(_0x5067e9=_0x24162c[_0x1a7935(0x31b)])!=null?_0x5067e9:''};try{const _0x4e2458=await this[_0x1a7935(0x2a3)][_0x1a7935(0x24c)](_0x1e9986,{'body':_0xe6eba8});return _0x4e2458[_0x1a7935(0x274)][_0x1a7935(0x28b)]&&_0x4e2458[_0x1a7935(0x274)][_0x1a7935(0x28b)][_0x1a7935(0x2fb)]!==Z['OK']?_0x1a7935(0x301):_0x4e2458[_0x1a7935(0x274)][_0x1a7935(0x11c)];}catch{return'Failed';}}};St=Yn([Pe(0x0,_0x8dd819),Pe(0x1,_0x1b6667(_0x458a1c)),Pe(0x2,_0x542c52)],St);const It=0x7530,mt=_0x3d67dc(0x30e);class ar extends _0x1c85de{constructor(){const _0x20420b=_0x3d67dc;super(),_(this,_0x20420b(0x160),_0x4434ad()),_(this,_0x20420b(0x2f9),new Set()),_(this,_0x20420b(0x237),new Map()),_(this,_0x20420b(0x1bc),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x20420b(0x131)]();}[_0x3d67dc(0x201)](){const _0x4fd622=_0x3d67dc;super[_0x4fd622(0x201)](),this[_0x4fd622(0x258)][_0x4fd622(0x215)]((_0x1589f2,_0x39bfd8)=>this[_0x4fd622(0x244)](_0x39bfd8)),this[_0x4fd622(0x1bc)]&&window[_0x4fd622(0x166)](this['_heartbeatTimer']);}[_0x3d67dc(0x152)](_0x599d08){const _0x43d96e=_0x3d67dc;return this[_0x43d96e(0x253)](_0x599d08)[_0x43d96e(0x1d6)](_0x12b438());}[_0x3d67dc(0x251)](_0x185aaa){const _0x3319d4=_0x3d67dc;this[_0x3319d4(0x2f9)][_0x3319d4(0x1de)]===0x0&&this[_0x3319d4(0x291)](),this[_0x3319d4(0x2f9)][_0x3319d4(0x31a)](_0x185aaa),this[_0x3319d4(0x23c)]({'type':0x0,'memberID':this[_0x3319d4(0x160)],'unitIDs':[_0x185aaa],'isForwarded':!0x1});}[_0x3d67dc(0x2a4)](_0x467457){const _0x2e4b73=_0x3d67dc;this[_0x2e4b73(0x2f9)]['delete'](_0x467457),this['_selfUnitIDs'][_0x2e4b73(0x1de)]===0x0&&this[_0x2e4b73(0x1bc)]&&window[_0x2e4b73(0x166)](this['_heartbeatTimer']);}[_0x3d67dc(0x131)](){const _0xb00d7=_0x3d67dc;this[_0xb00d7(0x137)](_0x1ed22b(_0x11e56b(window,'storage')['subscribe'](_0x4267e2=>{const _0x15b9f9=_0xb00d7;if(_0x4267e2[_0x15b9f9(0x1df)]!==mt||!_0x4267e2[_0x15b9f9(0x348)])return;const _0x963f37=JSON[_0x15b9f9(0x33e)](_0x4267e2[_0x15b9f9(0x348)]);this[_0x15b9f9(0x28c)](_0x963f37);}))),window['addEventListener'](_0xb00d7(0x110),()=>this[_0xb00d7(0x23c)]({'type':0x1,'memberID':this[_0xb00d7(0x160)],'unitIDs':Array[_0xb00d7(0x13e)](this[_0xb00d7(0x2f9)])}));}[_0x3d67dc(0x28c)](_0x30c3e2){const _0x783422=_0x3d67dc;switch(_0x30c3e2[_0x783422(0x2ec)]){case 0x0:this[_0x783422(0x113)](_0x30c3e2);break;case 0x1:this['_handleLeaveEvent'](_0x30c3e2);break;case 0x2:this[_0x783422(0x1e9)](_0x30c3e2);break;}}[_0x3d67dc(0x113)](_0x4766b8){const _0x3731e7=_0x3d67dc,{unitIDs:_0x32a131,memberID:_0x335dcf,isForwarded:_0x3c64cd}=_0x4766b8;_0x32a131[_0x3731e7(0x215)](_0x43c6f1=>{const _0x56fbac=_0x3731e7;if(!_0x3c64cd&&this[_0x56fbac(0x237)][_0x56fbac(0x138)](_0x43c6f1)&&this['_ensureSubject'](_0x43c6f1)[_0x56fbac(0x298)](_0x55e790[_0x56fbac(0x29f)]),!this[_0x56fbac(0x237)][_0x56fbac(0x138)](_0x43c6f1)||!this[_0x56fbac(0x237)][_0x56fbac(0x30c)](_0x43c6f1)[_0x56fbac(0x138)](_0x335dcf)){const _0x4df68a=this[_0x56fbac(0x237)][_0x56fbac(0x30c)](_0x43c6f1)||new Set();_0x4df68a[_0x56fbac(0x31a)](_0x335dcf),this[_0x56fbac(0x237)][_0x56fbac(0x156)](_0x43c6f1,_0x4df68a),this[_0x56fbac(0x287)](_0x335dcf);}}),_0x3c64cd||this[_0x3731e7(0x23c)]({'type':0x0,'memberID':this[_0x3731e7(0x160)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3d67dc(0x287)](_0x4655f5){const _0x113f64=_0x3d67dc;this[_0x113f64(0x244)](_0x4655f5);const _0x256772=window[_0x113f64(0x2d2)](()=>{const _0x3b5afe=_0x113f64;this['_unitOnClients'][_0x3b5afe(0x215)](_0x522e49=>{const _0x2bfa1e=_0x3b5afe;_0x522e49[_0x2bfa1e(0x1ed)](_0x4655f5);});},It*0x2);this[_0x113f64(0x258)][_0x113f64(0x156)](_0x4655f5,_0x256772);}['_removeClearOtherTimer'](_0x353d87){const _0x411fa7=_0x3d67dc;if(this[_0x411fa7(0x258)]['has'](_0x353d87)){const _0x174d2f=this[_0x411fa7(0x258)]['get'](_0x353d87);_0x174d2f&&window[_0x411fa7(0x193)](_0x174d2f),this[_0x411fa7(0x258)][_0x411fa7(0x156)](_0x353d87,null);}}[_0x3d67dc(0x13b)](_0x2a697a){const {memberID:_0x2e477b,unitIDs:_0x2dcb02}=_0x2a697a;_0x2dcb02['forEach'](_0x38e438=>{const _0x35a2d8=_0x248c;var _0x3dea57;const _0x742463=this[_0x35a2d8(0x237)][_0x35a2d8(0x30c)](_0x38e438);_0x742463&&(_0x742463[_0x35a2d8(0x1ed)](_0x2e477b),(_0x3dea57=this[_0x35a2d8(0x253)](_0x38e438))==null||_0x3dea57[_0x35a2d8(0x298)](_0x742463[_0x35a2d8(0x1de)]===0x0?_0x55e790['NO_OTHER_CLIENTS_EDITING']:_0x55e790[_0x35a2d8(0x29f)]));}),this['_removeClearOtherTimer'](_0x2e477b);}[_0x3d67dc(0x1e9)](_0xe6d064){const _0x249b9e=_0x3d67dc;this[_0x249b9e(0x287)](_0xe6d064[_0x249b9e(0x285)]);}[_0x3d67dc(0x23c)](_0x5aa3e3){const _0x594230=_0x3d67dc;localStorage[_0x594230(0x132)](mt,JSON[_0x594230(0x347)](_0x5aa3e3));}[_0x3d67dc(0x291)](){const _0x3755ea=_0x3d67dc;this[_0x3755ea(0x1bc)]=window[_0x3755ea(0x135)](()=>{const _0x1e601d=_0x3755ea;this[_0x1e601d(0x23c)]({'type':0x2,'memberID':this['_id']});},It);}[_0x3d67dc(0x253)](_0x45eaff){const _0x3204ce=_0x3d67dc;return this[_0x3204ce(0x32b)]['has'](_0x45eaff)||this[_0x3204ce(0x32b)][_0x3204ce(0x156)](_0x45eaff,new _0x3b2938(_0x55e790[_0x3204ce(0x257)])),this[_0x3204ce(0x32b)][_0x3204ce(0x30c)](_0x45eaff);}}export{dt as BrowserCollaborationSocketService,_e as CollaborationDataLoaderController,ce as DesktopCollaborationStatusDisplayController,$t as IURLService,St as RemoteUniscriptService,on as SheetCollabCursorShape,q as UniverCollaborationClientUIPlugin,ar as WebBrowserSingleActiveUnitService,Pn as WebURLService};
|
|
1
|
+
const _0x208777=_0x174c;(function(_0x5a2509,_0x2792be){const _0x335de2=_0x174c,_0xd18feb=_0x5a2509();while(!![]){try{const _0x2d40a9=-parseInt(_0x335de2(0x2cf))/0x1+parseInt(_0x335de2(0x2e1))/0x2*(-parseInt(_0x335de2(0x236))/0x3)+-parseInt(_0x335de2(0x23b))/0x4+-parseInt(_0x335de2(0x1e7))/0x5+parseInt(_0x335de2(0x221))/0x6+-parseInt(_0x335de2(0x34d))/0x7*(parseInt(_0x335de2(0x22d))/0x8)+parseInt(_0x335de2(0x1cf))/0x9*(parseInt(_0x335de2(0x32a))/0xa);if(_0x2d40a9===_0x2792be)break;else _0xd18feb['push'](_0xd18feb['shift']());}catch(_0x3da0a1){_0xd18feb['push'](_0xd18feb['shift']());}}}(_0x3aa1,0x38ff7));function _0x3aa1(){const _0x312e95=['_shapes','rgba','_commandService','red.300','onPointerMove$','getCurrentUnitForType','_updateURLWithCurrentState','function','_initCommandExecutedListener','beforeCommandExecuted','hovered','strokeWidth','setParam','collabStatus.conflict','JOIN','0.18.0','_ensureSubject','getUndoRedoMutationParamsCache','type','_heartbeatTimer','AWAITING','_initCommandInterceptor','jiqing.500','_docSyncEditingCollabCursorService','permission.title','text','_notificationService','unhandledrejection','_disabled','width','#FFF','pluginName','USERS_LEAVE','_anchor','disposeWithMe','ticket','onRendered','collab-text-anchor-','font','activeSheet$','_entities','subscribeEvent','next','has','getUnitStatus$','_setupBeforeClosingHandler','eventID','toString','_initEntityListener','_localCacheService','_collaborationUIEventService','_hovered','symbol','createInstance','roomMembers','_docTransformSelectionsService','includes','AWAITING_WITH_PENDING','getCurrentRevOfUnit','executeCommand','_initUnhandledRejectionListener','_send','setTimeout','912213miSomy','purple.300','_unitOnClients','setOffsetY','_releaseCalculationLimit','pipe','runId','unitID','_initEvent','code','_removeClearOtherTimer','cursorInfo$','div','requireSession','_getSheetObject','collabStatus.synced','_lastResponseTimestamp','_initUserListener','NOT_COLLAB','createSocket','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','all','from','getMergeData','516410KVEAqH','blue.400','_applyCommand','_messageService','totalFormulasToCalculate','filename','unshift','_config','collaboration.single-unit.warning','[Unhandled\x20Rejection]:\x20','subunit','urlChange$','selection','getUnhiddenWorksheets','_setupSubUnitSync','collabStatus.fetchMiss','_cursorShapes','_sheetSkeletonManagerService','DeleteRangeMoveLeftCommandId','_httpService','sessionStatus$','_initWindowErrorListener','_startDocCollabCursor','_initStatusComponent','resize','Loading','_anchorDot','textRanges','ranges','_lastPointer','Error','top','Warning','session.will-retry','error','some','_saveTaskMap','getSheetBySheetId','limitInfo','_blinkTimer','_hasFormulaInDirtyRanges','formula.calculation.waiting','redoState','offsetY','_handleHover','_highlightSecond','add','show','getCellPositionByOffset','triggerDblclick','moveTo','init','UNIVER_SHEET','slice','stageInfo','unit','removeEventListener','functionsExecutedState','1018548MKmQIZ','_docTransformStateCacheService','...','_showText','session.connection-failed','_getAnchorBounding','clearInterval','getCurrentSelections','replaceState','join','toPrimitive','params','3488yNDzPK','releaseFormulaLimitUrl','_refRangeService','_docSkeleton','contains','mutations','decorate','with','getDocRanges','5199QxuzMW','reason','getViewport','setConfig','START_CALCULATION','956196ojtdLl','Failed','collabStatus.syncing','actions','_drawRectRange','_scheduleClearOtherTimer','selections','_taskIds','endRow','session.collaboration-timeout','_getMergeRange','fillRule','RECT','stringify','_currentUsage','endColumn','post','?taskId=','collab-client.tooltip.reconnect','message','_localStorageService',',\x200.2)','_initDependencies','deepClone','transformSelections','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_startSheetCollabCursor','collaboration-client-ui.config','constructor','onMouseMove','_onCursorUpdate','getRenderById','_color','transformMutationsWithChangeset','getItem','transformMutation','_offsetY','fillText','setAlpha','updateOfflineData','_themeService','Success','_initResize','docStateChange$','roomMembers$','parseInt','drawWith','getUnitId','m1Prime','getUniverSheetInstance','currentTheme$','override','arc','getStateCache','send','getMember','/universer-api/license/formula/limit/status','_backgroundColor','color','getActiveSheet','max','OTHER_CLIENTS_EDITING','engine','evenodd','isEditing','_univerInstanceService','getMemberID','_uiPartsService','invokeId','dispose$','_monkeyPatchLogService','_entityInit$','getAncestorScale','unload','_render','version','_collabSessionService','disableLocalCache','_online','addClipboardHook','defineProperty','black','stage','onStarting','_localeService','height','_drawTextRange','CONFLICT','UNIVER_DOC','assignAColorForMemberID','transform','_syncEditingCollabCursorService','_handleEvent','size','_scheduleHeartbeat','startRow','bottom','setUndoRedoMutationParamsCache','_name','debug','set','getSheetId','_roomMembers$','\x20at\x20','save','RemoveColCommandId','status$','find','getRangePointData','getColorFromTheme','transformStateCache','_cursorInfo$','_transformPreviousActiveRange','_eventUnsubscribe','_maxFormulaLimit','flatMap','_removeCollabCursors','_checkAndWaitForCalculationPermission','collabStatus.offline','/universer-api/license/formula/limit/start','stack','maxFormulaLimit','_handleHeartbeatEvent','InsertRangeMoveDownCommandId','enableLocalCache','currentSkeleton$','_cursor','parse','_initStatusListener','getFocusedUnit','ONLINE','lineTo','fill','_stopBlinking','startColumn','highlightSecond','body','_scheduleSaving','dirtyRanges','_createSocketURL','hide','SUCCESS','Unknown\x20user','lineno','undoState','map','_status$','_handleJoinEvent','422481wLHuOK','LEAVE','_instanceService','Inactive','_onRefRangeChange','labelPosition','_renderManagerService','editingUnit','measureText','_registerDependencies','name','_registerRenderDependencies','event$','_unitStatus','transformIMECache','m2Prime','range','_getSessionTicket','488SwzPMU','isActive','saveTaskMap','runOnServer','registerComponent','_drawAnchor','imageSourceType','_hover','get','collaboration.closeRoom','rgba(','search','enableFrontendLog','syncEditingCollabCursor','_session','SOCKET_FAILED','beginPath','_memberID','ACTIVE_UNIT_EVENT_CHANNEL','_docStateChangeManagerService','backgroundColor','clearTimeout','green.600','onPointerLeave$','_colorAssignService','getTypeOfUnitDisposed$','HEADER_MENU','_imageIoService','HEARTBEAT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','forEach','_logService','formula.calculation.unable','column','[LogService\x20Error]:\x20','_toggleOffline','cursorInfo','_setFormulaLimitStatus','_updateCollabCursors','getValue','_toggleOnline','_collabCursorController','_assignedColors','findNodePositionByCharIndex','_getLighterColor','memberID','onCommandExecuted','startsWith','collabCursorState$','_cursors','_blinkIntervalTimer','_cachedData','_clearOtherTimers','_saveCache','_getScale','highlight','subscribe','catch','_transformService','getParam','/universer-api/license/formula/limit/done','setInterval','disposeUnit','push','_labelPosition','loadOfflineData','pushState','0.2)','JOIN_ROOM_FAILED','_startBlinking','getActiveRange','delete','_startCalculationLimit','130gVvpqe','addObjects','restore','makeDirty','PENDING','_collabCursorState$','complete','_collaborationSessionService','_transformHistoryAndStateStack','_updateLocalCursor','collab-text-range-','_collaborationController','getCurrent','OFFLINE','origin','data','_scene','object','_id','_docTransformIMECacheService','asObservable','rgb','_beforeCloseService','_isBlinkVisible','_getSaveTimeout','onTransformChange$','_memberService','_updateSubUnitFromURLParams','location','doc.mutation.rich-text-editing','/universer-api/frontend/logs','getConfig','getCellMatrix','unsubscribe','newValue','1064jcxNdr','dispose','addEventListener','_textBubble','yellow.400','rgba(255,\x20255,\x20255,\x200.01)','_highlight','toRgbString','getOwnPropertyDescriptor','RemoveRowCommandId','_init','then','_pollingInterval','_hideTimer','replaceDocRanges','_onCursorDelete','univer-mr-2\x20univer-flex\x20univer-text-xl','transformRemoteChangeset','values','showText','getUnit','isArray','replace','_handleLeaveEvent','_docSkeletonManagerService','_uploadLog','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onPointerEnter$','row','split','fillStyle','exhaustSavingTask','addObject','setStateCache','MUTATION','_injector','getSkeleton','_docClipboardService','_urlService','bind','_transformUndoRedoStack','_configService','_selfUnitIDs','_dataLoaderService','sessionTicket','key','[CollaborationDataLoaderController]','length','saveOfflineData','setItem','_colorIndex','registerBeforeClose','registerRenderModule','whenReady','_refreshCollabCursors','sheetId','setShapeProps','UPDATE_CURSOR','transformByState','setActiveRange','getCollabCursors$','removeParam','searchParams','_range','href','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','NO_OTHER_CLIENTS_EDITING','_clearPolling','history','_context','currentUsage','unitId','now','_checkCalculationAvailable','[Window\x20Error]:\x20','getTypeOfUnitAdded$','InsertRangeMoveRightCommandId','source','getVpScrollXYInfoByPosToVp','string','socket$','focused$'];_0x3aa1=function(){return _0x312e95;};return _0x3aa1();}import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2509da,CollaborationController as _0x1637ff,CollaborationSessionService as _0x28234a,CollaborationSocketService as _0x25468b,CollaborationStatus as _0x32824d,CollaborationUIEventId as _0x3b0d8a,CollaborationUIEventService as _0x558fcd,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x365b20,DEFAULT_WS_SESSION_TICKET_URL as _0x542d86,DataLoaderService as _0x43ad98,DocCollaborationEntity as _0x11eb7e,ILocalCacheService as _0x3ffdbd,LOCAL_CACHE_INTERVAL as _0x386b51,LOCAL_CACHE_INTERVAL_KEY as _0x47c8b1,MemberService as _0x2711c8,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xdb9de,SessionStatus as _0x2e3881,UnitStatus as _0x4796a7,UniverCollaborationClientPlugin as _0x32eb2c,getLocalCacheKey as _0x17bdad}from'@univerjs-pro/collaboration-client';import{COLORS as _0x24e0f3,CanceledError as _0x53572c,ColorKit as _0x3d8e91,CommandType as _0x38cbf9,DOC_RANGE_TYPE as _0x4012bc,DependentOn as _0x4ee12f,Disposable as _0x4a384b,DisposableCollection as _0x2b3875,ICommandService as _0x4a97fa,IConfigService as _0x84cbc3,ILocalStorageService as _0x44d943,ILogService as _0x54ed51,IUniverInstanceService as _0x4ca1b9,Inject as _0x467312,Injector as _0x1752f7,LocaleService as _0x2d460d,Optional as _0x4c535d,Plugin as _0x289e05,Rectangle as _0x3793e6,RxDisposable as _0x51efb0,ThemeService as _0x559b31,Tools as _0x5f07c8,UniverInstanceType as _0x16195b,Workbook as _0x1fccf2,createIdentifier as _0x35fe20,debounce as _0x271e98,fromEventSubject as _0x211f3f,generateRandomId as _0xe4f682,isFormulaId as _0x4159d6,isFormulaString as _0x44b13f,merge as _0x230f6b,mergeOverrideWithDependencies as _0x567a2b,registerDependencies as _0x370088,toDisposable as _0x1bc92a,touchDependencies as _0x1da641}from'@univerjs/core';import{BuiltInUIPart as _0x16da29,IBeforeCloseService as _0x142b00,IMessageService as _0x380b91,INotificationService as _0x48bcc5,IUIPartsService as _0x109f31,connectInjector as _0x4b91c3,useDependency as _0x479c37,useObservable as _0x332a2a}from'@univerjs/ui';import{BehaviorSubject as _0x182dfe,Subject as _0x53c977,combineLatest as _0x559f85,debounceTime as _0x5b4e71,distinctUntilChanged as _0x3b9d92,filter as _0x2df043,fromEvent as _0x11b040,mapTo as _0x329890,merge as _0x364d7e,of as _0x11a56c,shareReplay as _0xe18ee7,switchMap as _0x469461,takeUntil as _0x11487}from'rxjs';import{MessageType as _0x36be66,Tooltip as _0x4d1887,clsx as _0x47e45b}from'@univerjs/design';import{OffLineIcon as _0x183b72,OnLineIcon as _0x5ba77f}from'@univerjs/icons';import{useCallback as _0x538870}from'react';import{jsx as _0x376b7b,jsxs as _0x5b7506}from'react/jsx-runtime';import{IRemoteInstanceService as _0x435f55}from'@univerjs/rpc';import{EffectRefRangId as _0x4805d1,RefRangeService as _0x2495e9,SetSelectionsOperation as _0x539631,SetWorksheetActivateCommand as _0x403cad,SheetsSelectionsService as _0x282032,handleDeleteRangeMoveLeft as _0xead4c5,handleDeleteRangeMoveUp as _0x427e2,handleIRemoveCol as _0x29bf46,handleIRemoveRow as _0x710005,handleInsertCol as _0x303c10,handleInsertRangeMoveDown as _0x2dee14,handleInsertRangeMoveRight as _0x24097c,handleInsertRow as _0x4750c1,handleMoveRange as _0x3a0a44,runRefRangeMutations as _0x57efc2}from'@univerjs/sheets';import{IRenderManagerService as _0x567afa,Rect as _0x4e0130,RegularPolygon as _0x410d7e,SHEET_VIEWPORT_KEY as _0x178e3b,Shape as _0x5c1c28,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1e3a49,Vector2 as _0x3de6da,getColor as _0x5d5416}from'@univerjs/engine-render';import{HTTPService as _0x5d780b,ISocketService as _0x3c95e6,WebSocketService as _0x6e3927}from'@univerjs/network';import{DocIMEInputManagerService as _0x5de3a5,DocStateChangeManagerService as _0x3d011c,IDocClipboardService as _0x2dc04d,NodePositionConvertToCursor as _0x4142fa,NodePositionConvertToRectRange as _0x5bde36,SetDocZoomRatioOperation as _0x900b55,TEXT_RANGE_LAYER_INDEX as _0x19cfae}from'@univerjs/docs-ui';import{IImageIoService as _0x2b35cb}from'@univerjs/drawing';import{CollaborationEvent as _0x33aca2,ISnapshotServerService as _0x2509d6,ITransformService as _0x2cbe6f,RevisionService as _0x281de1,isTransformMutationFailure as _0x3ccef8,isTransformMutationsWithChangesetSuccess as _0x1c4a70}from'@univerjs-pro/collaboration';import{DocSelectionManagerService as _0x5461d0,DocSkeletonManagerService as _0x4464ed,RichTextEditingMutation as _0xb14cdc,SetTextSelectionsOperation as _0xcf4e00}from'@univerjs/docs';import{FormulaExecuteStageType as _0x10ba0e,FormulaExecutedStateType as _0x396439,SetFormulaCalculationNotificationMutation as _0x5cc310,SetFormulaCalculationStartMutation as _0x292fe1,deserializeRangeWithSheet as _0xf90d1e,serializeRangeWithSheet as _0xbe1965}from'@univerjs/engine-formula';import{filter as _0x5700a0,map as _0x153d1c,switchMap as _0x5281bc,takeUntil as _0x5afd83,throttleTime as _0x3efc02}from'rxjs/operators';import{SheetSkeletonManagerService as _0xaa5f40,getCoordByCell as _0x1eca52,getSheetObject as _0x4b62f8}from'@univerjs/sheets-ui';import{ErrorCode as _0x2f9e3b}from'@univerjs/protocol';function qt(_0x2953cc){const _0x2fb359=_0x174c;switch(_0x2953cc){case _0x32824d[_0x2fb359(0x337)]:return _0x2fb359(0x2b1);case _0x32824d[_0x2fb359(0x292)]:return _0x2fb359(0x19d);case _0x32824d['FETCH_MISS']:return _0x2fb359(0x1f6);case _0x32824d[_0x2fb359(0x1e1)]:return'collabStatus.notCollab';case _0x32824d[_0x2fb359(0x1a4)]:case _0x32824d[_0x2fb359(0x1c9)]:return _0x2fb359(0x23d);case _0x32824d['SYNCED']:case _0x32824d[_0x2fb359(0x32e)]:return _0x2fb359(0x1de);}}function Jt(_0x1bcb3b){const _0x1c2157=_0x174c;let {status$:_0x1569ac}=_0x1bcb3b,_0x301d19=_0x332a2a(_0x1569ac,_0x32824d[_0x1c2157(0x1e1)]),_0x3706f6=_0x479c37(_0x2d460d),_0x4105fc=_0x479c37(_0x28234a),_0x315265=_0x301d19!==_0x32824d['OFFLINE'],_0x576881=_0x3706f6['t'](qt(_0x301d19)),_0x119fea=_0x376b7b(_0x315265?_0x5ba77f:_0x183b72,{}),_0x408695=_0x538870(()=>{_0x315265||_0x4105fc['reconnect']();},[_0x315265,_0x4105fc]);function _0x31e80a(){const _0x19b96e=_0x1c2157;return _0x5b7506(_0x19b96e(0x1db),{'className':'univer-flex\x20univer-items-center','onClick':_0x408695,'children':[_0x376b7b('div',{'className':_0x47e45b(_0x19b96e(0x14e),{'univer-text-green-500':_0x315265,'univer-text-red-500':!_0x315265}),'children':_0x119fea}),_0x376b7b(_0x19b96e(0x1db),{'className':_0x19b96e(0x17f),'children':_0x576881})]});}return _0x315265?_0x31e80a():_0x376b7b(_0x4d1887,{'title':_0x3706f6['t'](_0x1c2157(0x24d)),'children':_0x31e80a()});}function U(_0x2e01e1){'@babel/helpers - typeof';const _0xa21e68=_0x174c;return U=typeof Symbol==_0xa21e68(0x197)&&typeof Symbol['iterator']==_0xa21e68(0x1c4)?function(_0x7457a0){return typeof _0x7457a0;}:function(_0x4c73db){const _0x2816db=_0xa21e68;return _0x4c73db&&typeof Symbol==_0x2816db(0x197)&&_0x4c73db[_0x2816db(0x257)]===Symbol&&_0x4c73db!==Symbol['prototype']?_0x2816db(0x1c4):typeof _0x4c73db;},U(_0x2e01e1);}function Yt(_0x38dd49,_0x485769){const _0x2560f9=_0x174c;if(U(_0x38dd49)!=_0x2560f9(0x33b)||!_0x38dd49)return _0x38dd49;var _0x2ce148=_0x38dd49[Symbol[_0x2560f9(0x22b)]];if(_0x2ce148!==void 0x0){var _0x512143=_0x2ce148['call'](_0x38dd49,_0x485769||'default');if(U(_0x512143)!='object')return _0x512143;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x485769===_0x2560f9(0x18d)?String:Number)(_0x38dd49);}function _0x174c(_0x4b4d31,_0x55bca8){_0x4b4d31=_0x4b4d31-0x14e;const _0x3aa156=_0x3aa1();let _0x174c2f=_0x3aa156[_0x4b4d31];return _0x174c2f;}function Xt(_0x32265e){const _0x2c5789=_0x174c;var _0x3af14a=Yt(_0x32265e,_0x2c5789(0x18d));return U(_0x3af14a)=='symbol'?_0x3af14a:_0x3af14a+'';}function W(_0x488bd7,_0x5e6169,_0x46c7e6){const _0x275fc3=_0x174c;return(_0x5e6169=Xt(_0x5e6169))in _0x488bd7?Object[_0x275fc3(0x28b)](_0x488bd7,_0x5e6169,{'value':_0x46c7e6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x488bd7[_0x5e6169]=_0x46c7e6,_0x488bd7;}function G(_0xc31f75,_0x2a5444){return function(_0xf374c7,_0x1e643a){_0x2a5444(_0xf374c7,_0x1e643a,_0xc31f75);};}function K(_0x288699,_0xd871c4,_0x2c83e8,_0xf3aca5){const _0x3f17b5=_0x174c;var _0x382272=arguments[_0x3f17b5(0x16d)],_0x5afcfa=_0x382272<0x3?_0xd871c4:_0xf3aca5===null?_0xf3aca5=Object[_0x3f17b5(0x355)](_0xd871c4,_0x2c83e8):_0xf3aca5,_0x22479f;if(typeof Reflect==_0x3f17b5(0x33b)&&typeof Reflect[_0x3f17b5(0x233)]==_0x3f17b5(0x197))_0x5afcfa=Reflect[_0x3f17b5(0x233)](_0x288699,_0xd871c4,_0x2c83e8,_0xf3aca5);else{for(var _0x2c4b36=_0x288699[_0x3f17b5(0x16d)]-0x1;_0x2c4b36>=0x0;_0x2c4b36--)(_0x22479f=_0x288699[_0x2c4b36])&&(_0x5afcfa=(_0x382272<0x3?_0x22479f(_0x5afcfa):_0x382272>0x3?_0x22479f(_0xd871c4,_0x2c83e8,_0x5afcfa):_0x22479f(_0xd871c4,_0x2c83e8))||_0x5afcfa);}return _0x382272>0x3&&_0x5afcfa&&Object[_0x3f17b5(0x28b)](_0xd871c4,_0x2c83e8,_0x5afcfa),_0x5afcfa;}let q=class extends _0x4a384b{constructor(_0x29bd40,_0x5b1285,_0x21c9d3,_0x176605){const _0x2a7410=_0x174c;super(),this['_univerInstanceService']=_0x29bd40,this['_injector']=_0x5b1285,this[_0x2a7410(0x335)]=_0x21c9d3,this['_uiPartsService']=_0x176605,W(this,_0x2a7410(0x2cd),new _0x182dfe(_0x32824d[_0x2a7410(0x1e1)])),this[_0x2a7410(0x1fe)](),this[_0x2a7410(0x2bb)]();}[_0x208777(0x2bb)](){const _0x43f078=_0x208777;this['disposeWithMe'](this[_0x43f078(0x27c)][_0x43f078(0x18f)][_0x43f078(0x1d4)](_0x469461(()=>{const _0x19ab6c=_0x43f078;let _0x109884=this[_0x19ab6c(0x27c)][_0x19ab6c(0x2bc)]();return _0x109884?this['_collaborationController']['getCollabEntity$'](_0x109884[_0x19ab6c(0x26a)]()):_0x11a56c(null);}),_0x469461(_0x25e36a=>_0x25e36a?_0x25e36a[_0x43f078(0x2a5)]:_0x11a56c(_0x32824d['NOT_COLLAB'])))['subscribe'](_0x208e77=>{const _0x2a8cc5=_0x43f078;this[_0x2a8cc5(0x2cd)][_0x2a8cc5(0x1ba)](_0x208e77);}));}[_0x208777(0x1fe)](){const _0x2850bc=_0x208777;this[_0x2850bc(0x1b2)](this[_0x2850bc(0x27e)][_0x2850bc(0x2e5)](_0x16da29[_0x2850bc(0x2fb)],()=>_0x4b91c3(Zt({'status$':this[_0x2850bc(0x2cd)][_0x2850bc(0x33e)]()}),this[_0x2850bc(0x161)])));}};q=K([G(0x0,_0x4ca1b9),G(0x1,_0x467312(_0x1752f7)),G(0x2,_0x467312(_0x1637ff)),G(0x3,_0x109f31)],q);function Zt(_0x187d0b){let {status$:_0x5dd36c}=_0x187d0b;return function(){return _0x376b7b(Jt,{'status$':_0x5dd36c});};}const Qt=_0x35fe20('uni.network.url-service');let J=class extends _0x51efb0{constructor(_0x19a376,_0x37b03f,_0x3dcd3a,_0x3e7340,_0x3a562b){const _0x490073=_0x208777;super(),this['_urlService']=_0x19a376,this[_0x490073(0x300)]=_0x37b03f,this[_0x490073(0x192)]=_0x3dcd3a,this[_0x490073(0x169)]=_0x3e7340,_0x3a562b?_0x3a562b==null||_0x3a562b[_0x490073(0x173)]()[_0x490073(0x358)](()=>this[_0x490073(0x357)]()):(this[_0x490073(0x300)][_0x490073(0x29e)]('[CollaborationDataLoaderController]',_0x490073(0x1e3)),this[_0x490073(0x357)]());}async[_0x208777(0x357)](){const _0x16988e=_0x208777;let _0x432d1f=this[_0x16988e(0x164)][_0x16988e(0x31c)](_0x16988e(0x21e)),_0xf86cd9=this[_0x16988e(0x164)][_0x16988e(0x31c)](_0x16988e(0x1a2)),_0x2b37ff=this[_0x16988e(0x164)][_0x16988e(0x31c)](_0x16988e(0x1f1));if(!_0x432d1f||!_0xf86cd9){this[_0x16988e(0x300)][_0x16988e(0x29e)](_0x16988e(0x16c),_0x16988e(0x158));return;}let _0x525d68=await this['_dataLoaderService']['loadUnit'](_0x432d1f,Number(_0xf86cd9),_0x2b37ff);_0x525d68&&_0x525d68 instanceof _0x1fccf2&&this[_0x16988e(0x1f5)](_0x525d68);}async['_setupSubUnitSync'](_0x14742c){const _0x956021=_0x208777;await this[_0x956021(0x345)](_0x14742c),_0x14742c[_0x956021(0x1b7)][_0x956021(0x1d4)](_0x11487(this[_0x956021(0x280)]))[_0x956021(0x319)](_0xbe92b=>{const _0x4ee943=_0x956021;_0xbe92b&&this[_0x4ee943(0x196)](_0xbe92b);}),this['_urlService'][_0x956021(0x1f2)][_0x956021(0x1d4)](_0x11487(this[_0x956021(0x280)]))[_0x956021(0x319)](()=>this[_0x956021(0x345)](_0x14742c));}[_0x208777(0x196)](_0x4f4959,_0x101922=!0x1){const _0x5274be=_0x208777;let _0x540958=this[_0x5274be(0x164)][_0x5274be(0x31c)](_0x5274be(0x1f1));_0x4f4959['getSheetId']()!==_0x540958&&this['_urlService'][_0x5274be(0x19c)](_0x5274be(0x1f1),_0x4f4959['getSheetId'](),_0x101922);}async[_0x208777(0x345)](_0x399dd7){const _0x5d4f6d=_0x208777;var _0x1af4b2;let _0x3a9bf6=this[_0x5d4f6d(0x164)][_0x5d4f6d(0x31c)](_0x5d4f6d(0x1f1));if(!_0x3a9bf6||!_0x399dd7['getSheetBySheetId'](_0x3a9bf6)){let _0xbd56a7=_0x399dd7[_0x5d4f6d(0x1f4)]()[0x0],_0x1ae56d=_0x399dd7[_0x5d4f6d(0x20c)](_0xbd56a7);if(!_0x1ae56d)return;this[_0x5d4f6d(0x196)](_0x1ae56d,!0x0),await this[_0x5d4f6d(0x192)]['executeCommand'](_0x403cad['id'],{'unitId':_0x399dd7['getUnitId'](),'subUnitId':_0xbd56a7});return;}((_0x1af4b2=_0x399dd7[_0x5d4f6d(0x276)]())==null?void 0x0:_0x1af4b2[_0x5d4f6d(0x2a0)]())!==_0x3a9bf6&&await this[_0x5d4f6d(0x192)]['executeCommand'](_0x403cad['id'],{'unitId':_0x399dd7['getUnitId'](),'subUnitId':_0x3a9bf6});}};J=K([G(0x0,Qt),G(0x1,_0x54ed51),G(0x2,_0x4a97fa),G(0x3,_0x467312(_0x43ad98)),G(0x4,_0x4c535d(_0x435f55))],J);var $t='@univerjs-pro/collaboration-client-ui',en=_0x208777(0x19f);let tn=class extends _0x51efb0{constructor(_0x20d4ad,_0x1fb755){const _0x34aa63=_0x208777;super(),this['_docClipboardService']=_0x20d4ad,this[_0x34aa63(0x2fc)]=_0x1fb755,this[_0x34aa63(0x357)]();}[_0x208777(0x357)](){const _0x5225b4=_0x208777;let _0x340ff6=this;this[_0x5225b4(0x1b2)](this[_0x5225b4(0x163)][_0x5225b4(0x28a)]({'onBeforePasteImage':async _0x1fb7e5=>{const _0x479fcc=_0x5225b4;let _0x5969e6=await _0x340ff6[_0x479fcc(0x2fc)]['saveImage'](_0x1fb7e5);return _0x5969e6?{'source':_0x5969e6[_0x479fcc(0x18b)],'imageSourceType':_0x5969e6[_0x479fcc(0x2e7)]}:null;}}));}};tn=K([G(0x0,_0x2dc04d),G(0x1,_0x2b35cb)],tn);const nn=[_0x208777(0x1d0),_0x208777(0x1a6),_0x208777(0x2f7),_0x208777(0x193),_0x208777(0x1e8),_0x208777(0x351)];var rn=class extends _0x4a384b{constructor(..._0x491d7b){const _0x2f189e=_0x208777;super(..._0x491d7b),W(this,_0x2f189e(0x30b),new Map()),W(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x17ec08){const _0x51a2a5=_0x208777;if(this[_0x51a2a5(0x30b)][_0x51a2a5(0x1bb)](_0x17ec08))return this[_0x51a2a5(0x30b)]['get'](_0x17ec08);let _0x142b37=nn[this[_0x51a2a5(0x170)]];return this[_0x51a2a5(0x170)]=(this[_0x51a2a5(0x170)]+0x1)%nn[_0x51a2a5(0x16d)],this['_assignedColors']['set'](_0x17ec08,_0x142b37),_0x142b37;}},an=function(_0x5c35e3){const _0x2f8bd5=_0x208777;return _0x5c35e3['Active']='1',_0x5c35e3[_0x2f8bd5(0x2d2)]='0',_0x5c35e3;}(an||{});function on(_0x528c7b){const _0x3765f1=_0x208777;let _0x536d2f='';for(let _0x59460d of _0x528c7b){let {startOffset:_0x10dc74,endOffset:_0x3e42bb,isActive:_0x4e6765,rangeType:_0xc34af3,segmentId:_0x4347f2,segmentPage:_0xc8be8e}=_0x59460d;_0x536d2f[_0x3765f1(0x16d)]&&(_0x536d2f+=','),_0x536d2f+=_0x10dc74+':'+_0x3e42bb+':'+(_0x4e6765?an['Active']:an['Inactive'])+':'+_0xc34af3+':'+_0x4347f2+':'+_0xc8be8e;}return _0x536d2f;}function sn(_0x295641){const _0x1add60=_0x208777;let _0x3dc94b=_0x295641['split'](','),_0x389fd3=[];for(let _0x326728 of _0x3dc94b){let [_0x5254fc,_0x5264f7,_0x1a6e54,_0x59467c,_0xa82dc,_0x1da721]=_0x326728[_0x1add60(0x15b)](':');_0x389fd3[_0x1add60(0x320)]({'startOffset':Number(_0x5254fc),'endOffset':Number(_0x5264f7),'collapsed':_0x5254fc===_0x5264f7,'isActive':_0x1a6e54===an['Active'],'rangeType':_0x59467c===_0x4012bc['TEXT']?_0x4012bc['TEXT']:_0x4012bc[_0x1add60(0x247)],'segmentId':typeof _0xa82dc=='string'?String(_0xa82dc):'','segmentPage':Number(_0x1da721==null?-0x1:_0x1da721)});}return _0x389fd3[_0x1add60(0x20a)](_0x4569cb=>_0x4569cb[_0x1add60(0x2e2)])||(_0x389fd3[0x0][_0x1add60(0x2e2)]=!0x0),_0x389fd3;}var cn=class extends _0x51efb0{constructor(..._0x45171a){const _0x1e9c82=_0x208777;super(..._0x45171a),W(this,_0x1e9c82(0x32f),new _0x182dfe(null)),W(this,_0x1e9c82(0x311),this[_0x1e9c82(0x32f)][_0x1e9c82(0x33e)]());}[_0x208777(0x2ee)](_0x4da4ec){const _0x224108=_0x208777;let {unitID:_0x58cbb4,memberID:_0x22b5b0,textRanges:_0x461e2b}=_0x4da4ec,_0x1c33f4=on(_0x461e2b);if(_0x1c33f4==='')return;let _0x301bcd={'unitID':_0x58cbb4,'memberID':_0x22b5b0,'selection':_0x1c33f4};this['_collabCursorState$'][_0x224108(0x1ba)](_0x301bcd);}};let ln=class extends _0x51efb0{get['cursorInfo'](){const _0x5cec81=_0x208777;return this[_0x5cec81(0x2aa)][_0x5cec81(0x308)]();}get[_0x208777(0x1c6)](){const _0x3bd319=_0x208777;return this['_roomMembers$'][_0x3bd319(0x308)]();}constructor(_0x583aef,_0x3a7343,_0x377f51,_0x12ded5,_0x3509de,_0x12c4a3,_0xacbd,_0x5d1aa4,_0x1578d8){const _0x2c670a=_0x208777;super(),this['unitID']=_0x583aef,this[_0x2c670a(0x2ef)]=_0x3a7343,this[_0x2c670a(0x161)]=_0x377f51,this['_colorAssignService']=_0x12ded5,this[_0x2c670a(0x344)]=_0x3509de,this['_syncEditingCollabCursorService']=_0x12c4a3,this[_0x2c670a(0x31b)]=_0xacbd,this[_0x2c670a(0x27c)]=_0x5d1aa4,this[_0x2c670a(0x192)]=_0x1578d8,W(this,_0x2c670a(0x289),!0x1),W(this,'_init',!0x1),W(this,'_cursorInfo$',new _0x182dfe(new Map())),W(this,'cursorInfo$',this[_0x2c670a(0x2aa)][_0x2c670a(0x33e)]()),W(this,_0x2c670a(0x2a1),new _0x182dfe([])),W(this,'roomMembers$',this[_0x2c670a(0x2a1)]['pipe'](_0x5b4e71(0x12c))),W(this,_0x2c670a(0x333),_0x271e98(_0x3a87ac=>{const _0x3fb522=_0x2c670a;let _0x1b3aaf={'eventID':_0x33aca2[_0x3fb522(0x177)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3fb522(0x27d)](),'selection':on(_0x3a87ac)}};this[_0x3fb522(0x2ef)][_0x3fb522(0x271)](_0x1b3aaf,this[_0x3fb522(0x1d6)]);},0x64));}[_0x208777(0x34e)](){const _0xacc4a=_0x208777;super[_0xacc4a(0x34e)](),this[_0xacc4a(0x2aa)]['next'](new Map()),this[_0xacc4a(0x2aa)][_0xacc4a(0x330)](),this[_0xacc4a(0x2a1)][_0xacc4a(0x1ba)]([]),this[_0xacc4a(0x2a1)][_0xacc4a(0x330)]();}[_0x208777(0x21a)](){const _0x420a4b=_0x208777;this[_0x420a4b(0x357)]||(this[_0x420a4b(0x357)]=!0x0,this[_0x420a4b(0x2ef)][_0x420a4b(0x1fb)][_0x420a4b(0x1d4)](_0x11487(this[_0x420a4b(0x280)]))[_0x420a4b(0x319)](_0x47bf07=>{const _0x3c19f0=_0x420a4b;_0x47bf07===_0x2e3881[_0x3c19f0(0x2bd)]?this[_0x3c19f0(0x309)]():this[_0x3c19f0(0x304)]();}),this[_0x420a4b(0x2ef)]['event$'][_0x420a4b(0x1d4)](_0x11487(this[_0x420a4b(0x280)]))[_0x420a4b(0x319)](_0x566f4e=>{const _0x16b015=_0x420a4b;let _0x233af1=_0x566f4e[_0x16b015(0x1be)];_0x233af1===_0x33aca2[_0x16b015(0x177)]&&this['_onCursorUpdate'](_0x566f4e),_0x233af1===_0x33aca2['USERS_LEAVE']&&this[_0x16b015(0x35c)](_0x566f4e);}),this[_0x420a4b(0x1b2)](this[_0x420a4b(0x192)][_0x420a4b(0x30f)](_0x119ac6=>{const _0x42d5f2=_0x420a4b;let _0x1d10ee=_0x119ac6['params'];_0x1d10ee!=null&&this[_0x42d5f2(0x289)]&&_0x119ac6['id']===_0xcf4e00['id']&&_0x1d10ee['unitId']===this['unitID']&&_0x1d10ee[_0x42d5f2(0x27b)]===!0x1&&_0x1d10ee[_0x42d5f2(0x203)][_0x42d5f2(0x16d)]>0x0&&this[_0x42d5f2(0x333)](_0x1d10ee[_0x42d5f2(0x203)]);})),this[_0x420a4b(0x296)][_0x420a4b(0x311)]['pipe'](_0x11487(this[_0x420a4b(0x280)]))['subscribe'](_0x3b7a20=>{const _0xf3f3d6=_0x420a4b;if((_0x3b7a20==null?void 0x0:_0x3b7a20[_0xf3f3d6(0x1d6)])!==this['unitID'])return;let _0x59c731={'eventID':_0x33aca2[_0xf3f3d6(0x177)],'data':_0x3b7a20};this[_0xf3f3d6(0x259)](_0x59c731);}),this[_0x420a4b(0x1b2)](this[_0x420a4b(0x192)]['onCommandExecuted'](_0x2453bb=>{const _0x296250=_0x420a4b;if(_0x2453bb['params']==null)return;let _0x5c621b=_0x2453bb['params'];if(_0x2453bb['id']!==_0xb14cdc['id']||_0x5c621b[_0x296250(0x185)]!==this[_0x296250(0x1d6)])return;let _0x30c233={'id':_0x296250(0x347),'params':_0x5c621b},_0x580cb5=this[_0x296250(0x305)];for(let [_0x50e937,_0x2347b3]of _0x580cb5){let _0x2a63f9={'id':_0x296250(0x347),'params':{'unitId':this[_0x296250(0x1d6)],'actions':null,'textRanges':_0x2347b3[_0x296250(0x203)]}},_0x51c10b=this[_0x296250(0x31b)][_0x296250(0x25e)](_0x30c233,_0x2a63f9,!0x1);if(_0x3ccef8(_0x51c10b))throw _0x51c10b[_0x296250(0x209)];_0x580cb5['set'](_0x50e937,{..._0x2347b3,'ranges':_0x51c10b[_0x296250(0x2de)][_0x296250(0x22c)][_0x296250(0x202)]});}queueMicrotask(()=>{const _0x167330=_0x296250;this[_0x167330(0x2aa)]['next'](_0x580cb5);});})));}[_0x208777(0x259)](_0x5da1f8){const _0x23747c=_0x208777;var _0x551024,_0x301b20;let {memberID:_0xb1b114,selection:_0x1c12b8}=_0x5da1f8[_0x23747c(0x339)],_0x1165a1=sn(_0x1c12b8),_0x4f6db8=(_0x551024=(_0x301b20=this[_0x23747c(0x344)][_0x23747c(0x272)](this[_0x23747c(0x1d6)],_0xb1b114))==null?void 0x0:_0x301b20[_0x23747c(0x2d9)])==null?'Unknown\x20user':_0x551024,_0x56ed73={'color':this[_0x23747c(0x2f9)][_0x23747c(0x294)](_0xb1b114),'name':_0x4f6db8,'ranges':_0x1165a1},_0x1a1e92=this[_0x23747c(0x305)];_0x1a1e92['set'](_0xb1b114,_0x56ed73),this['_cursorInfo$'][_0x23747c(0x1ba)](_0x1a1e92);}[_0x208777(0x35c)](_0x30930a){const _0x10cffa=_0x208777;let {memberID:_0x5c3d25}=_0x30930a[_0x10cffa(0x339)],_0x5f1563=this['cursorInfo'];_0x5f1563[_0x10cffa(0x328)](_0x5c3d25),this[_0x10cffa(0x2aa)][_0x10cffa(0x1ba)](_0x5f1563);}[_0x208777(0x309)](){const _0x3df8d2=_0x208777;var _0x24175f;if(this[_0x3df8d2(0x289)]=!0x0,((_0x24175f=this['_univerInstanceService'][_0x3df8d2(0x2bc)]())==null?void 0x0:_0x24175f[_0x3df8d2(0x26a)]())!==this['unitID'])return;let _0x539d15=this[_0x3df8d2(0x161)][_0x3df8d2(0x2e9)](_0x5461d0)[_0x3df8d2(0x235)]();Array[_0x3df8d2(0x153)](_0x539d15)&&_0x539d15[_0x3df8d2(0x16d)]>0x0&&this[_0x3df8d2(0x333)](_0x539d15);}[_0x208777(0x304)](){const _0x1b75a9=_0x208777;this[_0x1b75a9(0x289)]=!0x1;}};ln=K([G(0x2,_0x467312(_0x1752f7)),G(0x3,_0x467312(rn)),G(0x4,_0x467312(_0x2711c8)),G(0x5,_0x467312(cn)),G(0x6,_0x2cbe6f),G(0x7,_0x4ca1b9),G(0x8,_0x4a97fa)],ln);const un=()=>{let _0x20ce4e=[],_0x46b241=!0x1;return _0xf74037=>{_0x20ce4e['push'](_0xf74037),_0x46b241||(_0x46b241=!0x0,setTimeout(()=>{const _0x49e0ee=_0x174c;_0x20ce4e[_0x49e0ee(0x2ff)](_0x686eaf=>_0x686eaf()),_0x20ce4e=[],_0x46b241=!0x1;}));};};let dn=class extends _0x51efb0{get[_0x208777(0x305)](){const _0xd22b09=_0x208777;return this['_cursorInfo$'][_0xd22b09(0x308)]();}get['roomMembers'](){const _0x1e5420=_0x208777;return this[_0x1e5420(0x2a1)]['getValue']();}constructor(_0x340028,_0x293051,_0x38d636,_0x3a2b87,_0x1b14a8,_0x1bd139,_0x329077,_0x58c5e3){const _0x30ece5=_0x208777;super(),this['unitID']=_0x340028,this[_0x30ece5(0x2ef)]=_0x293051,this[_0x30ece5(0x161)]=_0x38d636,this[_0x30ece5(0x2f9)]=_0x3a2b87,this[_0x30ece5(0x344)]=_0x1b14a8,this['_univerInstanceService']=_0x1bd139,this[_0x30ece5(0x192)]=_0x329077,this['_refRangeService']=_0x58c5e3,W(this,_0x30ece5(0x289),!0x1),W(this,_0x30ece5(0x357),!0x1),W(this,_0x30ece5(0x2aa),new _0x182dfe(new Map())),W(this,'cursorInfo$',this[_0x30ece5(0x2aa)]['asObservable']()),W(this,_0x30ece5(0x2a1),new _0x182dfe([])),W(this,_0x30ece5(0x267),this[_0x30ece5(0x2a1)]['pipe'](_0x5b4e71(0x12c))),W(this,_0x30ece5(0x333),_0x271e98((_0x84d4ee,_0x1fd41c)=>{const _0x1cfaf6=_0x30ece5;let _0x571252={'eventID':_0x33aca2[_0x1cfaf6(0x177)],'data':{'unitID':this[_0x1cfaf6(0x1d6)],'memberID':this[_0x1cfaf6(0x2ef)][_0x1cfaf6(0x27d)](),'selection':_0xbe1965(_0x84d4ee,_0x1fd41c[_0x1cfaf6(0x2df)])}};this[_0x1cfaf6(0x2ef)][_0x1cfaf6(0x271)](_0x571252,this[_0x1cfaf6(0x1d6)]);},0x64));}[_0x208777(0x34e)](){const _0x2923e8=_0x208777;super['dispose'](),this[_0x2923e8(0x2aa)][_0x2923e8(0x1ba)](new Map()),this[_0x2923e8(0x2aa)][_0x2923e8(0x330)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x2923e8(0x330)]();}['init'](){const _0x845d3=_0x208777;this[_0x845d3(0x357)]||(this[_0x845d3(0x357)]=!0x0,this[_0x845d3(0x2ef)]['sessionStatus$'][_0x845d3(0x1d4)](_0x11487(this[_0x845d3(0x280)]))['subscribe'](_0x33bd6a=>{const _0xfdfc99=_0x845d3;_0x33bd6a===_0x2e3881[_0xfdfc99(0x2bd)]?this[_0xfdfc99(0x309)]():this['_toggleOffline']();}),this[_0x845d3(0x2ef)][_0x845d3(0x2db)][_0x845d3(0x1d4)](_0x11487(this[_0x845d3(0x280)]))['subscribe'](_0x16525d=>{const _0x33dbcc=_0x845d3;let _0x3946ca=_0x16525d[_0x33dbcc(0x1be)];_0x3946ca===_0x33aca2[_0x33dbcc(0x177)]&&this[_0x33dbcc(0x259)](_0x16525d),_0x3946ca===_0x33aca2[_0x33dbcc(0x1b0)]&&this[_0x33dbcc(0x35c)](_0x16525d);}),this[_0x845d3(0x2d3)](),this['disposeWithMe'](this['_commandService'][_0x845d3(0x30f)](_0x8b02e9=>{const _0xeb98a=_0x845d3;if(this['_online']&&_0x8b02e9['id']===_0x539631['id']&&_0x8b02e9[_0xeb98a(0x22c)][_0xeb98a(0x185)]===this['unitID']){let _0x124130=_0x8b02e9[_0xeb98a(0x22c)];this[_0xeb98a(0x333)](_0x124130['subUnitId'],_0x124130[_0xeb98a(0x241)][0x0]);}})));}[_0x208777(0x259)](_0x5b2436){const _0x234b99=_0x208777;var _0x461750,_0x150249;let {memberID:_0x239a41,selection:_0xd23b25}=_0x5b2436['data'],{sheetName:_0x35698e,range:_0x2fed39}=_0xf90d1e(_0xd23b25),_0x16d06f={'name':(_0x461750=(_0x150249=this['_memberService'][_0x234b99(0x272)](this['unitID'],_0x239a41))==null?void 0x0:_0x150249[_0x234b99(0x2d9)])==null?_0x234b99(0x2c9):_0x461750,'range':this['_getMergeRange'](_0x35698e,_0x2fed39),'sheetID':_0x35698e,'color':this[_0x234b99(0x2f9)]['assignAColorForMemberID'](_0x239a41),'selection':_0xd23b25},_0x135482=this['cursorInfo'];_0x135482[_0x234b99(0x29f)](_0x239a41,_0x16d06f),this[_0x234b99(0x2aa)][_0x234b99(0x1ba)](_0x135482);}[_0x208777(0x35c)](_0x1830d8){const _0x420ce5=_0x208777;let {memberID:_0x58b5de}=_0x1830d8[_0x420ce5(0x339)],_0x4e23d7=this['cursorInfo'];_0x4e23d7[_0x420ce5(0x328)](_0x58b5de),this[_0x420ce5(0x2aa)][_0x420ce5(0x1ba)](_0x4e23d7);}[_0x208777(0x245)](_0x4c58a8,_0x588404){const _0x12a6ed=_0x208777;var _0xb89c88;let _0x4313e8=(_0xb89c88=this[_0x12a6ed(0x27c)][_0x12a6ed(0x26c)](this[_0x12a6ed(0x1d6)]))==null||(_0xb89c88=_0xb89c88[_0x12a6ed(0x20c)](_0x4c58a8))==null?void 0x0:_0xb89c88[_0x12a6ed(0x1e6)]();return(_0x4313e8==null?void 0x0:_0x4313e8[_0x12a6ed(0x2a6)](_0x4024f0=>_0x3793e6[_0x12a6ed(0x231)](_0x4024f0,_0x588404)))||_0x588404;}['_onRefRangeChange'](){const _0x3e7064=_0x208777;let _0x574220=new _0x2b3875(),_0x4d1197=un(),_0x1d9ebe=()=>{const _0x2b69f7=_0x174c;_0x574220['dispose']();let _0x599713=(_0x3e8b5b,_0xaac39e,_0x849c1d,_0xfb7d77)=>{const _0x5a2acf=_0x174c;let _0x31336f=[];switch(_0x3e8b5b['id']){case _0x4805d1[_0x5a2acf(0x1f9)]:_0x31336f=_0xead4c5(_0x3e8b5b,_0xfb7d77);break;case _0x4805d1['DeleteRangeMoveUpCommandId']:_0x31336f=_0x427e2(_0x3e8b5b,_0xfb7d77);break;case _0x4805d1['InsertColCommandId']:_0x31336f=_0x303c10(_0x3e8b5b,_0xfb7d77);break;case _0x4805d1[_0x5a2acf(0x2b6)]:_0x31336f=_0x2dee14(_0x3e8b5b,_0xfb7d77);break;case _0x4805d1[_0x5a2acf(0x18a)]:_0x31336f=_0x24097c(_0x3e8b5b,_0xfb7d77);break;case _0x4805d1['InsertRowCommandId']:_0x31336f=_0x4750c1(_0x3e8b5b,_0xfb7d77);break;case _0x4805d1['MoveRangeCommandId']:_0x31336f=_0x3a0a44(_0x3e8b5b,_0xfb7d77);break;case _0x4805d1[_0x5a2acf(0x2a4)]:_0x31336f=_0x29bf46(_0x3e8b5b,_0xfb7d77);break;case _0x4805d1[_0x5a2acf(0x356)]:_0x31336f=_0x710005(_0x3e8b5b,_0xfb7d77);break;}let _0x456444=_0x57efc2(_0x31336f,_0xfb7d77),_0x57952a=this[_0x5a2acf(0x305)]['get'](_0xaac39e);if(_0x57952a&&_0x456444){let _0x1ece53={..._0x57952a,'range':_0x456444};this[_0x5a2acf(0x305)][_0x5a2acf(0x29f)](_0xaac39e,_0x1ece53),_0x4d1197(()=>{const _0x213e7d=_0x5a2acf;let _0xbeb4f6=this[_0x213e7d(0x22f)]['registerRefRange'](_0x456444,_0x2ab5ad=>(_0xbeb4f6[_0x213e7d(0x34e)](),_0x599713(_0x2ab5ad,_0xaac39e,_0x849c1d,_0x456444)));_0x574220[_0x213e7d(0x215)](_0xbeb4f6);});}return{'redos':[],'undos':[]};};this[_0x2b69f7(0x305)][_0x2b69f7(0x2ff)]((_0x43ccaf,_0x302355)=>{const _0x13781d=_0x2b69f7;let {range:_0x3208b1,sheetID:_0xb4b124}=_0x43ccaf,_0x5719c6=this[_0x13781d(0x22f)]['registerRefRange'](_0x3208b1,_0x290182=>(_0x5719c6[_0x13781d(0x34e)](),_0x599713(_0x290182,_0x302355,_0xb4b124,_0x3208b1)));_0x574220[_0x13781d(0x215)](_0x5719c6);});};this[_0x3e7064(0x1b2)](_0x1bc92a(this[_0x3e7064(0x2aa)][_0x3e7064(0x319)](()=>{_0x1d9ebe();})));}['_toggleOnline'](){const _0x222fb9=_0x208777;var _0x2788fa,_0x4f23f3;if(this[_0x222fb9(0x289)]=!0x0,((_0x2788fa=this[_0x222fb9(0x27c)][_0x222fb9(0x2bc)]())==null?void 0x0:_0x2788fa['getUnitId']())!==this[_0x222fb9(0x1d6)])return;let _0x1ae7ac=(_0x4f23f3=this[_0x222fb9(0x161)][_0x222fb9(0x2e9)](_0x282032)[_0x222fb9(0x228)]())==null?void 0x0:_0x4f23f3[0x0],_0x4232e9=this[_0x222fb9(0x27c)][_0x222fb9(0x195)](_0x16195b[_0x222fb9(0x21b)])[_0x222fb9(0x276)]();_0x1ae7ac&&_0x4232e9&&this[_0x222fb9(0x333)](_0x4232e9[_0x222fb9(0x2a0)](),_0x1ae7ac);}[_0x208777(0x304)](){const _0x4ecb07=_0x208777;this[_0x4ecb07(0x289)]=!0x1;}};dn=K([G(0x2,_0x467312(_0x1752f7)),G(0x3,_0x467312(rn)),G(0x4,_0x467312(_0x2711c8)),G(0x5,_0x4ca1b9),G(0x6,_0x4a97fa),G(0x7,_0x467312(_0x2495e9))],dn);let Y=class extends _0x51efb0{constructor(_0x2b7511,_0x165d45,_0x164a0e){const _0x1bfcfd=_0x208777;super(),this[_0x1bfcfd(0x27c)]=_0x2b7511,this[_0x1bfcfd(0x161)]=_0x165d45,this['_collabSessionService']=_0x164a0e,W(this,'_entities',new Map()),W(this,'_entityInit$',new _0x53c977()),this['_init']();}[_0x208777(0x34e)](){const _0x53f9fd=_0x208777;super[_0x53f9fd(0x34e)](),this[_0x53f9fd(0x282)][_0x53f9fd(0x330)](),this[_0x53f9fd(0x1b8)][_0x53f9fd(0x2ff)](_0x4f19c4=>_0x4f19c4[_0x53f9fd(0x34e)]());}[_0x208777(0x17a)](_0x2598db){const _0x42c967=_0x208777;return this['_entities'][_0x42c967(0x1bb)](_0x2598db)?this[_0x42c967(0x1b8)]['get'](_0x2598db)['cursorInfo$']:this[_0x42c967(0x282)][_0x42c967(0x1d4)](_0x2df043(_0x550e31=>_0x550e31[_0x42c967(0x1d6)]===_0x2598db),_0x469461(_0x2c8b2c=>_0x2c8b2c[_0x42c967(0x1da)]));}[_0x208777(0x357)](){const _0xbe5632=_0x208777;this[_0xbe5632(0x27c)][_0xbe5632(0x189)](_0x16195b[_0xbe5632(0x21b)])[_0xbe5632(0x1d4)](_0x11487(this[_0xbe5632(0x280)]))[_0xbe5632(0x319)](async _0x5b65d8=>{const _0x36651d=_0xbe5632;let _0x30cb5b=_0x5b65d8[_0x36651d(0x26a)](),_0x189559=await this[_0x36651d(0x255)](_0x30cb5b);this[_0x36651d(0x282)][_0x36651d(0x1ba)](_0x189559),this['_entities'][_0x36651d(0x29f)](_0x30cb5b,_0x189559);}),this[_0xbe5632(0x27c)][_0xbe5632(0x189)](_0x16195b['UNIVER_DOC'])['pipe'](_0x11487(this['dispose$']))[_0xbe5632(0x1d4)](_0x2df043(_0xe05095=>!_0xe05095[_0xbe5632(0x26a)]()[_0xbe5632(0x310)]('__')))[_0xbe5632(0x319)](async _0x2a64d3=>{const _0x2e645d=_0xbe5632;let _0x1559d0=_0x2a64d3['getUnitId'](),_0x32afb3=await this['_startDocCollabCursor'](_0x1559d0);this['_entityInit$'][_0x2e645d(0x1ba)](_0x32afb3),this[_0x2e645d(0x1b8)][_0x2e645d(0x29f)](_0x1559d0,_0x32afb3);}),_0x364d7e(this[_0xbe5632(0x27c)][_0xbe5632(0x2fa)](_0x16195b[_0xbe5632(0x293)]),this[_0xbe5632(0x27c)][_0xbe5632(0x2fa)](_0x16195b[_0xbe5632(0x21b)]))['pipe'](_0x11487(this['dispose$']))[_0xbe5632(0x319)](_0xe8a5fb=>{const _0xb96716=_0xbe5632;let _0x32fcbb=_0xe8a5fb[_0xb96716(0x26a)](),_0xbc5309=this[_0xb96716(0x1b8)][_0xb96716(0x2e9)](_0x32fcbb);_0xbc5309&&(_0xbc5309[_0xb96716(0x34e)](),this[_0xb96716(0x1b8)][_0xb96716(0x328)](_0x32fcbb));});}async[_0x208777(0x255)](_0x4de584){const _0x48de39=_0x208777;let _0x365db5=await this['_collabSessionService'][_0x48de39(0x1dc)](_0x4de584),_0x4c1736=this['_injector'][_0x48de39(0x1c5)](dn,_0x4de584,_0x365db5);return _0x4c1736['init'](),_0x4c1736;}async[_0x208777(0x1fd)](_0x28ad40){const _0xaac761=_0x208777;let _0x4f0fcb=await this[_0xaac761(0x287)][_0xaac761(0x1dc)](_0x28ad40),_0x33930d=this[_0xaac761(0x161)][_0xaac761(0x1c5)](ln,_0x28ad40,_0x4f0fcb);return _0x33930d['init'](),_0x33930d;}};Y=K([G(0x0,_0x4ca1b9),G(0x1,_0x467312(_0x1752f7)),G(0x2,_0x467312(_0x28234a))],Y);function fn(_0x5c6f00,_0x334c65){const _0x8e1bd2=_0x208777;var _0x3bd0c0,_0x252cb3,_0x280eae;let {radius:_0x188107,width:_0x417866,height:_0x58698f}=_0x334c65;_0x188107=(_0x3bd0c0=_0x188107)==null?0x0:_0x3bd0c0,_0x417866=(_0x252cb3=_0x417866)==null?0x1e:_0x252cb3,_0x58698f=(_0x280eae=_0x58698f)==null?0x1e:_0x280eae;let _0x239501=0x0,_0x3430e5=0x0,_0x46c821=0x0;_0x239501=_0x3430e5=_0x46c821=Math['min'](_0x188107,_0x417866/0x2,_0x58698f/0x2),_0x5c6f00[_0x8e1bd2(0x2f1)](),_0x5c6f00[_0x8e1bd2(0x219)](_0x239501,0x0),_0x5c6f00[_0x8e1bd2(0x2be)](_0x417866-_0x3430e5,0x0),_0x5c6f00['arc'](_0x417866-_0x3430e5,_0x3430e5,_0x3430e5,Math['PI']*0x3/0x2,0x0,!0x1),_0x5c6f00[_0x8e1bd2(0x2be)](_0x417866,_0x58698f-_0x46c821),_0x5c6f00[_0x8e1bd2(0x26f)](_0x417866-_0x46c821,_0x58698f-_0x46c821,_0x46c821,0x0,Math['PI']/0x2,!0x1),_0x5c6f00['lineTo'](0x0,_0x58698f),_0x5c6f00[_0x8e1bd2(0x2be)](0x0,_0x239501),_0x5c6f00['arc'](_0x239501,_0x239501,_0x239501,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5c6f00['closePath'](),_0x334c65[_0x8e1bd2(0x2bf)]&&(_0x5c6f00[_0x8e1bd2(0x2a3)](),_0x5c6f00[_0x8e1bd2(0x15c)]=_0x334c65[_0x8e1bd2(0x2bf)],_0x334c65[_0x8e1bd2(0x246)]===_0x8e1bd2(0x27a)?_0x5c6f00[_0x8e1bd2(0x2bf)](_0x8e1bd2(0x27a)):_0x5c6f00[_0x8e1bd2(0x2bf)](),_0x5c6f00[_0x8e1bd2(0x32c)]());}var pn=class e extends _0x5c1c28{constructor(_0x16fc7f,_0x3a642b){const _0x2b1ec7=_0x208777;super(_0x16fc7f,_0x3a642b),W(this,'color',void 0x0),W(this,_0x2b1ec7(0x1a9),void 0x0),this['color']=_0x3a642b==null?void 0x0:_0x3a642b['color'],this[_0x2b1ec7(0x1a9)]=_0x3a642b==null?void 0x0:_0x3a642b[_0x2b1ec7(0x1a9)];}static['drawWith'](_0x2dffc2,_0x50a78c){const _0x2fa0a1=_0x208777;let {text:_0x40d302,color:_0x5017bf}=_0x50a78c;_0x2dffc2[_0x2fa0a1(0x2a3)](),_0x2dffc2[_0x2fa0a1(0x1b6)]=_0x2fa0a1(0x254);let _0x2ad5e8=_0x2dffc2[_0x2fa0a1(0x2d7)](_0x40d302)[_0x2fa0a1(0x1ad)];if(fn(_0x2dffc2,{'height':0x14,'radius':0x4,'width':Math['min'](_0x2ad5e8+0x8,0xc8),'fill':_0x5017bf,'evented':!0x1}),_0x2dffc2[_0x2fa0a1(0x15c)]=_0x2fa0a1(0x1ae),_0x2ad5e8>0xc0){let _0x3095e3='',_0x484f42=0x0;for(let _0x9f0bce of _0x40d302){let _0xcb47fa=_0x2dffc2['measureText'](_0x9f0bce)[_0x2fa0a1(0x1ad)];if(_0x484f42+_0xcb47fa<=0xc0-_0x2dffc2[_0x2fa0a1(0x2d7)](_0x2fa0a1(0x223))[_0x2fa0a1(0x1ad)])_0x3095e3+=_0x9f0bce,_0x484f42+=_0xcb47fa;else{_0x3095e3+='...';break;}}_0x2dffc2[_0x2fa0a1(0x260)](_0x3095e3,0x4,0xf);}else _0x2dffc2['fillText'](_0x40d302,0x4,0xf);_0x2dffc2[_0x2fa0a1(0x32c)]();}['_draw'](_0xa76bc6){const _0x25b1b5=_0x208777;_0x2509da[_0x25b1b5(0x269)](_0xa76bc6,this);}};const mn=_0x208777(0x1b5);var hn=class{constructor(_0x198a89,_0x121f0b,_0x175628,_0x23cf5f){const _0x380ed7=_0x208777;this[_0x380ed7(0x2b9)]=_0x198a89,this[_0x380ed7(0x33a)]=_0x121f0b,this[_0x380ed7(0x230)]=_0x175628,this['_document']=_0x23cf5f,W(this,_0x380ed7(0x190),[]),W(this,_0x380ed7(0x1b1),null),W(this,'_textBubble',null),W(this,'_anchorDot',null),W(this,'_hideTimer',null),W(this,_0x380ed7(0x2ac),null),this[_0x380ed7(0x285)]();}set[_0x208777(0x2e8)](_0x548f70){const _0x247040=_0x208777;_0x548f70?(this[_0x247040(0x201)]&&this[_0x247040(0x201)][_0x247040(0x2c7)](),this['_textBubble']&&this[_0x247040(0x350)][_0x247040(0x216)]()):(this['_anchorDot']&&this[_0x247040(0x201)][_0x247040(0x216)](),this['_textBubble']&&this[_0x247040(0x350)][_0x247040(0x2c7)]());}[_0x208777(0x34e)](){const _0x5f1509=_0x208777;for(let _0x29e816 of this[_0x5f1509(0x190)])_0x29e816[_0x5f1509(0x34e)]();this[_0x5f1509(0x350)]&&this['_textBubble']['dispose'](),this[_0x5f1509(0x201)]&&this[_0x5f1509(0x201)]['dispose'](),this[_0x5f1509(0x1b1)]&&this[_0x5f1509(0x1b1)]['dispose'](),this[_0x5f1509(0x2ac)]&&this['_eventUnsubscribe']();}['_render'](){const _0xee8227=_0x208777;let {_docSkeleton:_0x23df5d,_document:_0x4e9aed}=this,{color:_0x40d7ff,name:_0xde7be5,ranges:_0x4d7bb6}=this[_0xee8227(0x2b9)],_0x233204=_0x4e9aed['getOffsetConfig'](),{docsLeft:_0x2365ad,docsTop:_0x5eb19f}=_0x233204,_0x3feb0e=new _0x4142fa(_0x233204,_0x23df5d);for(let {startOffset:_0x3af90f,endOffset:_0x281740,rangeType:_0x17e2e9,segmentId:_0x4b406c,segmentPage:_0x36d128,collapsed:_0x2762d0,isActive:_0x1470d9}of _0x4d7bb6){let _0x1cf3e5=_0x23df5d['findNodePositionByCharIndex'](_0x3af90f,!0x0,_0x4b406c,_0x36d128),_0x8e37c4=_0x23df5d['findNodePositionByCharIndex'](_0x281740,!0x0,_0x4b406c,_0x36d128);if(_0x8e37c4==null&&(_0x8e37c4=_0x23df5d[_0xee8227(0x30c)](_0x281740-0x1,!0x1,_0x4b406c,_0x36d128)),_0x1470d9){let {contentBoxPointGroup:_0x5c5e04}=_0x3feb0e[_0xee8227(0x2a7)](_0x8e37c4,_0x8e37c4);if(_0x5c5e04['length']===0x0)continue;this[_0xee8227(0x2e6)](_0x40d7ff,_0x5c5e04,_0x2365ad,_0x5eb19f,_0xde7be5),this[_0xee8227(0x2ac)]=this[_0xee8227(0x213)]();}if(_0x1cf3e5&&_0x8e37c4){if(_0x17e2e9===_0x4012bc['RECT']){var _0x44d65b;let {pointGroup:_0x522e4c}=(_0x44d65b=new _0x5bde36(_0x233204,_0x23df5d)[_0xee8227(0x2a7)](_0x1cf3e5,_0x8e37c4))==null?{}:_0x44d65b;if(_0x522e4c==null||_0x522e4c[_0xee8227(0x16d)]===0x0)continue;this[_0xee8227(0x23f)](_0x40d7ff,_0x522e4c,_0x2365ad,_0x5eb19f);}else{if(!_0x2762d0){let {borderBoxPointGroup:_0x156fd6}=_0x3feb0e[_0xee8227(0x2a7)](_0x1cf3e5,_0x8e37c4);if(_0x156fd6[_0xee8227(0x16d)]===0x0)continue;this[_0xee8227(0x291)](_0x40d7ff,_0x156fd6,_0x2365ad,_0x5eb19f);}}}}}[_0x208777(0x2e6)](_0x34e210,_0x4b9ba5,_0x31bb8a,_0x38e703,_0x40b79f){const _0x59475f=_0x208777;let {left:_0x4a3111,top:_0x1278fe,height:_0x3e79cc}=this[_0x59475f(0x226)](_0x4b9ba5),_0x20472e=1.5/this[_0x59475f(0x317)](),_0x5055ac=new _0x4e0130(mn+_0xe4f682(0x6),{'left':_0x4a3111+_0x31bb8a-_0x20472e,'top':_0x1278fe+_0x38e703,'height':_0x3e79cc,'width':1.5,'fill':_0x34e210||_0x5d5416(_0x24e0f3[_0x59475f(0x28c)],0x0),'strokeWidth':_0x20472e,'stroke':_0x59475f(0x352),'evented':!0x0});this[_0x59475f(0x1b1)]=_0x5055ac,this[_0x59475f(0x33a)][_0x59475f(0x15e)](_0x5055ac,_0x19cfae);let _0x50c5e5=new _0x4e0130(mn+_0xe4f682(0x6),{'left':_0x4a3111+_0x31bb8a-_0x20472e,'top':_0x1278fe+_0x38e703-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x34e210||_0x5d5416(_0x24e0f3[_0x59475f(0x28c)],0x0),'strokeWidth':0x0,'stroke':_0x34e210||_0x5d5416(_0x24e0f3[_0x59475f(0x28c)],0x0),'evented':!0x1});this['_anchorDot']=_0x50c5e5,this[_0x59475f(0x33a)]['addObject'](_0x50c5e5,_0x19cfae);let _0x2f037e=new pn(mn+_0xe4f682(0x6),{'left':_0x4a3111+_0x31bb8a-_0x20472e,'top':_0x1278fe+_0x38e703-0x14,'text':_0x40b79f,'color':_0x34e210});this[_0x59475f(0x350)]=_0x2f037e,this[_0x59475f(0x33a)][_0x59475f(0x15e)](_0x2f037e,_0x19cfae),this[_0x59475f(0x2e8)]=!0x1;}['_handleHover'](){const _0x2d13b5=_0x208777;let _0x317d37=this['_anchor'][_0x2d13b5(0x159)][_0x2d13b5(0x1b9)](()=>{const _0x2cb4e8=_0x2d13b5;this[_0x2cb4e8(0x2e8)]=!0x0;}),_0x529158=this[_0x2d13b5(0x1b1)][_0x2d13b5(0x2f8)][_0x2d13b5(0x1b9)](()=>{const _0x251d84=_0x2d13b5;this[_0x251d84(0x35a)]&&clearTimeout(this[_0x251d84(0x35a)]),this['_hideTimer']=setTimeout(()=>{const _0x227dff=_0x251d84;this[_0x227dff(0x2e8)]=!0x1;},0x7d0);});return()=>{const _0x3d63e8=_0x2d13b5;_0x317d37[_0x3d63e8(0x34b)](),_0x529158[_0x3d63e8(0x34b)]();};}[_0x208777(0x291)](_0x18a7a2,_0x3cdc5b,_0x5e9f41,_0x599ac3){const _0x20f1e8=_0x208777;let _0x3dc1f2=0.2,_0x176811=new _0x3d8e91(_0x18a7a2)[_0x20f1e8(0x261)](_0x3dc1f2)[_0x20f1e8(0x354)](),_0x461f65=new _0x410d7e(_0x20f1e8(0x334)+_0xe4f682(0x6),{'pointsGroup':_0x3cdc5b,'fill':_0x176811||_0x5d5416(_0x24e0f3[_0x20f1e8(0x28c)],_0x3dc1f2),'left':_0x5e9f41,'top':_0x599ac3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x461f65),this['_scene'][_0x20f1e8(0x15e)](_0x461f65,_0x19cfae);}[_0x208777(0x23f)](_0x85f98e,_0x58e4f5,_0x5a79ee,_0x2924f6){const _0x260343=_0x208777;let _0x3107d0=0.2,_0x5144f6=new _0x3d8e91(_0x85f98e)[_0x260343(0x261)](_0x3107d0)[_0x260343(0x354)](),_0x2d60fc=new _0x410d7e('collab-rect-range-'+_0xe4f682(0x6),{'pointsGroup':_0x58e4f5,'fill':_0x5144f6||_0x5d5416(_0x24e0f3['black'],_0x3107d0),'left':_0x5a79ee,'top':_0x2924f6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x260343(0x190)][_0x260343(0x320)](_0x2d60fc),this[_0x260343(0x33a)][_0x260343(0x15e)](_0x2d60fc,_0x19cfae);}[_0x208777(0x226)](_0x3f6e1b){let _0x53d5fc=_0x3f6e1b[0x0],_0x5ca976=_0x53d5fc[0x0],_0x198a3d=_0x53d5fc[0x2],{x:_0x8a5079,y:_0x3c5b6d}=_0x5ca976,{x:_0x33cd88,y:_0x44809e}=_0x198a3d;return{'left':_0x8a5079,'top':_0x3c5b6d,'width':_0x33cd88-_0x8a5079,'height':_0x44809e-_0x3c5b6d};}[_0x208777(0x317)](){const _0x5473d8=_0x208777;let {scaleX:_0x2215e4,scaleY:_0x58d811}=this[_0x5473d8(0x33a)][_0x5473d8(0x283)]();return Math[_0x5473d8(0x277)](_0x2215e4,_0x58d811);}};let gn=class extends _0x51efb0{constructor(_0x3dda13,_0x306640,_0x2ebbd8,_0x10b683,_0x38424b){const _0x528878=_0x208777;super(),this[_0x528878(0x183)]=_0x3dda13,this[_0x528878(0x156)]=_0x306640,this['_collabCursorController']=_0x2ebbd8,this['_commandService']=_0x10b683,this[_0x528878(0x263)]=_0x38424b,W(this,_0x528878(0x1f7),[]),W(this,_0x528878(0x312),[]),this[_0x528878(0x357)]();}['_init'](){const _0x49478a=_0x208777;let _0x1f03ad=this[_0x49478a(0x183)][_0x49478a(0x185)],_0x422352=this[_0x49478a(0x156)];this[_0x49478a(0x1b2)](_0x559f85([this[_0x49478a(0x30a)][_0x49478a(0x17a)](_0x1f03ad),this['_themeService'][_0x49478a(0x26d)]])[_0x49478a(0x1d4)](_0x153d1c(([_0x33fc01,_0x4c5f6f])=>({'skeleton':_0x422352[_0x49478a(0x162)](),'cursors':[..._0x33fc01[_0x49478a(0x150)]()][_0x49478a(0x2ae)](_0x28d99e=>({..._0x28d99e,'color':this[_0x49478a(0x263)][_0x49478a(0x2a8)](_0x28d99e[_0x49478a(0x275)])}))})))[_0x49478a(0x319)](_0x4283ac=>{if(this['_removeCollabCursors'](),_0x4283ac){let {skeleton:_0x1f0ce4,cursors:_0x2f0ead}=_0x4283ac;this['_updateCollabCursors'](_0x1f0ce4,_0x2f0ead);}})),this['_initResize'](),this[_0x49478a(0x198)]();}[_0x208777(0x307)](_0x2e9fe7,_0x1b65a6){const _0x2930e0=_0x208777;let {scene:_0x198e04,mainComponent:_0x14d055}=this[_0x2930e0(0x183)];this[_0x2930e0(0x1f7)]=_0x1b65a6[_0x2930e0(0x2cc)](_0x6fd765=>new hn(_0x6fd765,_0x198e04,_0x2e9fe7,_0x14d055)),this[_0x2930e0(0x312)]=_0x1b65a6;}[_0x208777(0x174)](){const _0xaa4343=_0x208777;this['_removeCollabCursors']();let {scene:_0x5676f8,mainComponent:_0x223d6c}=this['_context'],_0x1400b6=this[_0xaa4343(0x156)][_0xaa4343(0x162)]();this[_0xaa4343(0x1f7)]=this['_cursors']['map'](_0x4b513f=>new hn(_0x4b513f,_0x5676f8,_0x1400b6,_0x223d6c));}[_0x208777(0x2af)](){const _0x5846b3=_0x208777;this['_cursorShapes'][_0x5846b3(0x2ff)](_0x244fc1=>_0x244fc1[_0x5846b3(0x34e)]()),this[_0x5846b3(0x1f7)]=[];}[_0x208777(0x198)](){const _0x4fd7eb=_0x208777;let _0x14151a=[_0x900b55['id']];this[_0x4fd7eb(0x1b2)](this[_0x4fd7eb(0x192)][_0x4fd7eb(0x30f)](_0x5c485a=>{const _0x1f0273=_0x4fd7eb;_0x14151a[_0x1f0273(0x1c8)](_0x5c485a['id'])&&_0x5c485a['params'][_0x1f0273(0x185)]===this[_0x1f0273(0x183)][_0x1f0273(0x185)]&&this[_0x1f0273(0x174)]();}));}[_0x208777(0x265)](){const _0x481230=_0x208777;this[_0x481230(0x1b2)](_0x211f3f(this[_0x481230(0x183)][_0x481230(0x279)][_0x481230(0x343)])[_0x481230(0x1d4)](_0x5700a0(_0x49fc06=>_0x49fc06[_0x481230(0x1a2)]===_0x1e3a49[_0x481230(0x1ff)]),_0x3efc02(0x10))['subscribe'](()=>{const _0x5b8efd=_0x481230;this[_0x5b8efd(0x174)]();}));}};gn=K([G(0x1,_0x467312(_0x4464ed)),G(0x2,_0x467312(Y)),G(0x3,_0x4a97fa),G(0x4,_0x467312(_0x559b31))],gn);var _n=class extends _0x5c1c28{constructor(_0x1dc2c9,_0x32c568){const _0x3bb982=_0x208777;if(super(_0x1dc2c9,_0x32c568),W(this,_0x3bb982(0x25b),void 0x0),W(this,_0x3bb982(0x1c3),!0x1),W(this,_0x3bb982(0x17d),void 0x0),W(this,_0x3bb982(0x29d),''),W(this,'_labelPosition',_0x3bb982(0x206)),W(this,'_backgroundColor',void 0x0),W(this,_0x3bb982(0x224),void 0x0),W(this,'_highlight',void 0x0),W(this,_0x3bb982(0x214),0x4),W(this,'_blinkTimer',void 0x0),W(this,'_blinkIntervalTimer',void 0x0),W(this,'_isBlinkVisible',!0x0),W(this,_0x3bb982(0x25f),0x0),_0x32c568){var _0x561572;if(this[_0x3bb982(0x176)](_0x32c568),_0x32c568[_0x3bb982(0x318)]&&((_0x561572=_0x32c568[_0x3bb982(0x2c2)])==null?this[_0x3bb982(0x214)]:_0x561572)){var _0x12657f;this[_0x3bb982(0x326)]((_0x12657f=_0x32c568['highlightSecond'])==null?this[_0x3bb982(0x214)]:_0x12657f);}}this[_0x3bb982(0x159)][_0x3bb982(0x1b9)](()=>this[_0x3bb982(0x176)]({'hovered':!0x0})),this[_0x3bb982(0x2f8)][_0x3bb982(0x1b9)](()=>this[_0x3bb982(0x176)]({'hovered':!0x1}));}[_0x208777(0x1d2)](_0x276342){const _0x23d3ef=_0x208777;this[_0x23d3ef(0x25f)]=_0x276342;}[_0x208777(0x176)](_0x5dfa77){const _0x48f2a1=_0x208777;var _0x3295ca,_0xd9c94d,_0x21a6de,_0x4658ef,_0x149591,_0x65e6d3,_0x2f85b5;this[_0x48f2a1(0x25b)]=(_0x3295ca=_0x5dfa77[_0x48f2a1(0x275)])==null?this[_0x48f2a1(0x25b)]:_0x3295ca,this[_0x48f2a1(0x1c3)]=(_0xd9c94d=_0x5dfa77[_0x48f2a1(0x19a)])==null?this[_0x48f2a1(0x1c3)]:_0xd9c94d,this[_0x48f2a1(0x17d)]=(_0x21a6de=_0x5dfa77['range'])==null?this[_0x48f2a1(0x17d)]:_0x21a6de,this[_0x48f2a1(0x29d)]=(_0x4658ef=_0x5dfa77[_0x48f2a1(0x2d9)])==null?this[_0x48f2a1(0x29d)]:_0x4658ef,this['_labelPosition']=(_0x149591=_0x5dfa77[_0x48f2a1(0x2d4)])==null?this[_0x48f2a1(0x321)]:_0x149591,this[_0x48f2a1(0x274)]=(_0x65e6d3=_0x5dfa77[_0x48f2a1(0x2f5)])==null?this[_0x48f2a1(0x274)]:_0x65e6d3,this[_0x48f2a1(0x224)]=(_0x2f85b5=_0x5dfa77[_0x48f2a1(0x151)])==null?this[_0x48f2a1(0x224)]:_0x2f85b5,_0x5dfa77['highlightSecond']!==void 0x0&&(this[_0x48f2a1(0x214)]=_0x5dfa77[_0x48f2a1(0x2c2)]),_0x5dfa77['highlight']!==void 0x0&&(this['_highlight']=_0x5dfa77[_0x48f2a1(0x318)]),_0x5dfa77[_0x48f2a1(0x212)]!==void 0x0&&(this[_0x48f2a1(0x25f)]=_0x5dfa77[_0x48f2a1(0x212)]),this[_0x48f2a1(0x178)]({'width':_0x5dfa77['width'],'height':_0x5dfa77['height']});}[_0x208777(0x258)](_0x60f662){const _0x49f4ca=_0x208777;let {row:_0x339e9d,column:_0x4bf9a4}=_0x60f662;if(_0x339e9d>=this[_0x49f4ca(0x17d)][_0x49f4ca(0x29a)]&&_0x339e9d<=this[_0x49f4ca(0x17d)][_0x49f4ca(0x243)]&&_0x4bf9a4>=this[_0x49f4ca(0x17d)]['startColumn']&&_0x4bf9a4<=this[_0x49f4ca(0x17d)][_0x49f4ca(0x24a)]){this[_0x49f4ca(0x176)]({'hovered':!0x0});return;}this[_0x49f4ca(0x176)]({'hovered':!0x1});}[_0x208777(0x326)](_0x487298){const _0x353a8c=_0x208777;this[_0x353a8c(0x2c0)](),this[_0x353a8c(0x341)]=!0x0,this['_blinkIntervalTimer']=window[_0x353a8c(0x31e)](()=>{const _0xdb9051=_0x353a8c;this[_0xdb9051(0x341)]=!this[_0xdb9051(0x341)],this[_0xdb9051(0x32d)](!0x0);},0x1f4),this[_0x353a8c(0x20e)]=window[_0x353a8c(0x1ce)](()=>{const _0x28dbeb=_0x353a8c;this['_stopBlinking'](),this[_0x28dbeb(0x341)]=!0x0,this[_0x28dbeb(0x32d)](!0x0);},_0x487298*0x3e8);}['_stopBlinking'](){const _0x51fe7c=_0x208777;this[_0x51fe7c(0x313)]&&(window[_0x51fe7c(0x227)](this[_0x51fe7c(0x313)]),this['_blinkIntervalTimer']=void 0x0),this[_0x51fe7c(0x20e)]&&(window[_0x51fe7c(0x2f6)](this[_0x51fe7c(0x20e)]),this[_0x51fe7c(0x20e)]=void 0x0);}[_0x208777(0x218)](_0xce6c85){return!0x1;}[_0x208777(0x34e)](){const _0x285d4b=_0x208777;this[_0x285d4b(0x2c0)](),super['dispose']();}['_draw'](_0x543fe5){const _0x36b6e5=_0x208777;var _0x534fe8;let _0x2cd05c=this[_0x36b6e5(0x25b)],_0x3f7353=this[_0x36b6e5(0x274)];if(this[_0x36b6e5(0x353)]&&!this['_isBlinkVisible']&&(_0x2cd05c=this[_0x36b6e5(0x30d)](this['_color']),_0x3f7353=this[_0x36b6e5(0x274)]?this[_0x36b6e5(0x30d)](this['_backgroundColor']):void 0x0),_0x4e0130[_0x36b6e5(0x269)](_0x543fe5,{'width':this[_0x36b6e5(0x1ad)],'height':this[_0x36b6e5(0x290)],'strokeWidth':(_0x534fe8=this[_0x36b6e5(0x19b)])==null?1.5:_0x534fe8,'stroke':_0x2cd05c,'evented':!0x1,'fill':_0x3f7353}),this[_0x36b6e5(0x1c3)]||this[_0x36b6e5(0x224)]){var _0x57414d;_0x543fe5[_0x36b6e5(0x2a3)](),_0x543fe5[_0x36b6e5(0x295)](0x1,0x0,0x0,0x1,this[_0x36b6e5(0x1ad)],(this[_0x36b6e5(0x321)]===_0x36b6e5(0x29b)?0x0:-0x14)+((_0x57414d=this['_offsetY'])==null?0x0:_0x57414d)),pn['drawWith'](_0x543fe5,{'text':this['_name'],'color':_0x2cd05c}),_0x543fe5[_0x36b6e5(0x32c)]();}}['_getLighterColor'](_0x81d8e9){const _0x583173=_0x208777;return _0x81d8e9[_0x583173(0x310)]('#')?_0x583173(0x2eb)+Number[_0x583173(0x268)](_0x81d8e9[_0x583173(0x21c)](0x1,0x3),0x10)+',\x20'+Number[_0x583173(0x268)](_0x81d8e9[_0x583173(0x21c)](0x3,0x5),0x10)+',\x20'+Number[_0x583173(0x268)](_0x81d8e9['slice'](0x5,0x7),0x10)+',\x200.2)':_0x81d8e9[_0x583173(0x310)](_0x583173(0x191))?_0x81d8e9['replace'](/[\d.]+\)$/g,_0x583173(0x324)):_0x81d8e9[_0x583173(0x310)](_0x583173(0x33f))?_0x81d8e9[_0x583173(0x154)](_0x583173(0x33f),_0x583173(0x191))['replace'](')',_0x583173(0x250)):_0x81d8e9;}};let vn=class extends _0x51efb0{constructor(_0x303b27,_0x4a2e12,_0x3a3a84,_0x1a2f72){const _0x38b02b=_0x208777;super(),this[_0x38b02b(0x183)]=_0x303b27,this['_sheetSkeletonManagerService']=_0x4a2e12,this[_0x38b02b(0x30a)]=_0x3a3a84,this['_themeService']=_0x1a2f72,W(this,_0x38b02b(0x312),new Set()),W(this,_0x38b02b(0x204),null),this[_0x38b02b(0x357)]();}[_0x208777(0x357)](){const _0x528a2c=_0x208777;this['_sheetSkeletonManagerService'][_0x528a2c(0x2b8)][_0x528a2c(0x1d4)](_0x5afd83(this[_0x528a2c(0x280)]),_0x5281bc(_0x3a492a=>{const _0x5e503a=_0x528a2c;if(_0x3a492a){let _0x30c7f1=_0x3a492a[_0x5e503a(0x175)];return _0x559f85(this['_collabCursorController'][_0x5e503a(0x17a)](this[_0x5e503a(0x183)][_0x5e503a(0x185)]),this[_0x5e503a(0x263)][_0x5e503a(0x26d)])[_0x5e503a(0x1d4)](_0x153d1c(([_0x38a50e,_0xa81168])=>{const _0x1f5136=_0x5e503a;let _0x28ca02=new Map();return _0x38a50e[_0x1f5136(0x2ff)]((_0x300ace,_0x53a48e)=>{const _0x1b73b0=_0x1f5136;if(_0x300ace['sheetID']===_0x30c7f1){let _0x5a2abd={..._0x300ace};_0x5a2abd['color']=this['_themeService'][_0x1b73b0(0x2a8)](_0x300ace[_0x1b73b0(0x275)]),_0x28ca02[_0x1b73b0(0x29f)](_0x53a48e,_0x5a2abd);}}),{'skeleton':_0x3a492a,'cursors':_0x28ca02};}));}return _0x11a56c({'skeleton':null,'cursors':new Map()});}))[_0x528a2c(0x319)](({skeleton:_0xc524f8,cursors:_0x2ffe9a})=>{const _0xece98=_0x528a2c;this[_0xece98(0x2af)](),_0xc524f8&&this[_0xece98(0x307)](_0xc524f8,_0x2ffe9a);}),this['_sheetSkeletonManagerService'][_0x528a2c(0x2b8)][_0x528a2c(0x319)](_0x4df093=>{const _0x4c1eae=_0x528a2c;if(_0x4df093==null)return;let {skeleton:_0x155cc3}=_0x4df093,{scene:_0x431085}=this[_0x4c1eae(0x183)];_0x431085[_0x4c1eae(0x194)]['subscribeEvent'](_0x271e98(_0x528d48=>{const _0x5fa3b5=_0x4c1eae;var _0x314fb6,_0x2edf9c;let {offsetX:_0x251fba,offsetY:_0x1a89bc}=_0x528d48,{x:_0x5f1b07,y:_0x2fb1a4}=_0x431085['getRelativeToViewportCoord'](_0x3de6da['FromArray']([_0x251fba,_0x1a89bc])),{scaleX:_0x30ae0f,scaleY:_0x4a992d}=_0x431085[_0x5fa3b5(0x283)](),_0x50dd45=_0x431085[_0x5fa3b5(0x238)](_0x178e3b['VIEW_MAIN']),_0x4a880c=_0x431085[_0x5fa3b5(0x18c)](_0x3de6da['FromArray']([_0x5f1b07,_0x2fb1a4]),_0x50dd45),_0x5375cc=_0x155cc3[_0x5fa3b5(0x217)](_0x251fba,_0x1a89bc,_0x30ae0f,_0x4a992d,_0x4a880c);((_0x314fb6=this['_lastPointer'])==null?void 0x0:_0x314fb6[_0x5fa3b5(0x302)])===_0x5375cc[_0x5fa3b5(0x302)]&&((_0x2edf9c=this['_lastPointer'])==null?void 0x0:_0x2edf9c[_0x5fa3b5(0x15a)])===_0x5375cc[_0x5fa3b5(0x15a)]||this[_0x5fa3b5(0x312)][_0x5fa3b5(0x2ff)](_0x3b2020=>{const _0x5ec776=_0x5fa3b5;_0x3b2020[_0x5ec776(0x258)](_0x5375cc);});},0x64));});}['_updateCollabCursors'](_0x7341b5,_0x3778f2){const _0x267c82=_0x208777;var _0x488a32;let _0x52b78c=(_0x488a32=this[_0x267c82(0x1f8)][_0x267c82(0x336)]())==null?void 0x0:_0x488a32['skeleton'];if(!_0x52b78c)return;let _0x2a5ca9=this[_0x267c82(0x1dd)]();if(!_0x2a5ca9)return;this[_0x267c82(0x312)][_0x267c82(0x2ff)](_0x12fefa=>{const _0x5b8c6c=_0x267c82;_0x12fefa[_0x5b8c6c(0x32d)]();});let {scene:_0xf5ba8a}=_0x2a5ca9,_0x3b921b=yn(Array[_0x267c82(0x1e5)](_0x3778f2[_0x267c82(0x150)]()))[_0x267c82(0x2cc)](_0x28238e=>{const _0x344f9e=_0x267c82;let {color:_0x247152,range:_0x37509b,name:_0x2d11c2,selection:_0xaf8b0a,sheetID:_0x33b8d7}=_0x28238e,{startColumn:_0x1c5a3b,startRow:_0x407793,endColumn:_0x2c8736,endRow:_0x200c8c}=_0x37509b,_0x55da08=_0x1eca52(_0x407793,_0x1c5a3b,_0xf5ba8a,_0x52b78c),_0x2689f4=_0x1eca52(_0x200c8c,_0x2c8736,_0xf5ba8a,_0x52b78c),{columnHeaderHeightAndMarginTop:_0x2fb977}=_0x52b78c,{startX:_0x6ee44f,startY:_0x5e4011}=_0x55da08,{endX:_0x54a656,endY:_0x2be2dd}=_0x2689f4,_0x2688d8=_0x54a656-_0x6ee44f,_0x3802af=_0x2be2dd-_0x5e4011;return new _n(_0x2d11c2,{'labelPosition':_0x5e4011-_0x2fb977>=0x14?_0x344f9e(0x206):'bottom','sheetID':_0x33b8d7,'range':_0x37509b,'color':_0x247152,'name':_0x2d11c2,'selection':_0xaf8b0a,'left':_0x6ee44f,'top':_0x5e4011,'width':_0x2688d8,'height':_0x3802af,'evented':!0x1,'zIndex':0x1389});});_0xf5ba8a[_0x267c82(0x32b)](_0x3b921b,0x1),this['_cursors']=new Set(_0x3b921b);}[_0x208777(0x2af)](){const _0x3989f9=_0x208777;var _0x57134d;(_0x57134d=this[_0x3989f9(0x312)])==null||_0x57134d[_0x3989f9(0x2ff)](_0x1da3f1=>_0x1da3f1[_0x3989f9(0x34e)]());}['_getSheetObject'](){const _0x38075e=_0x208777;return _0x4b62f8(this[_0x38075e(0x183)]['unit'],this[_0x38075e(0x183)]);}};vn=K([G(0x1,_0x467312(_0xaa5f40)),G(0x2,_0x467312(Y)),G(0x3,_0x467312(_0x559b31))],vn);function yn(_0x4aadba){const _0x29686c=_0x208777;let _0x17aa82=new Map();return _0x4aadba[_0x29686c(0x2ff)](_0x39f145=>{const _0x48d6e9=_0x29686c;if(_0x17aa82[_0x48d6e9(0x1bb)](_0x39f145[_0x48d6e9(0x1f3)])){let _0x359048=_0x17aa82[_0x48d6e9(0x2e9)](_0x39f145['selection']);_0x359048['name']+=',\x20'+_0x39f145[_0x48d6e9(0x2d9)];}else _0x17aa82[_0x48d6e9(0x29f)](_0x39f145[_0x48d6e9(0x1f3)],_0x39f145);}),Array[_0x29686c(0x1e5)](_0x17aa82[_0x29686c(0x150)]());}let bn=class extends _0x4a384b{constructor(_0x132432,_0x1fb387,_0x582c73,_0x424894,_0x3dedee,_0x408abe){const _0x3724aa=_0x208777;super(),this[_0x3724aa(0x340)]=_0x132432,this[_0x3724aa(0x1c1)]=_0x1fb387,this[_0x3724aa(0x1c2)]=_0x582c73,this[_0x3724aa(0x1ea)]=_0x424894,this[_0x3724aa(0x1aa)]=_0x3dedee,this[_0x3724aa(0x28f)]=_0x408abe,this[_0x3724aa(0x1bd)](),this[_0x3724aa(0x1d7)]();}[_0x208777(0x1bd)](){const _0x7a5eed=_0x208777;this[_0x7a5eed(0x1b2)](this[_0x7a5eed(0x340)][_0x7a5eed(0x171)](()=>{const _0x1fecdc=_0x7a5eed;if(this[_0x1fecdc(0x1c1)][_0x1fecdc(0x2e3)]['size'])return this['_localeService']['t']('collaboration.offline-data-not-saved');}));}['_initEvent'](){const _0x5e6a4a=_0x208777;this['disposeWithMe'](this[_0x5e6a4a(0x1c2)][_0x5e6a4a(0x2db)][_0x5e6a4a(0x319)](_0x3a26a6=>{const _0x338a38=_0x5e6a4a;_0x3a26a6['id']===_0x3b0d8a['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x338a38(0x216)]({'type':_0x36be66[_0x338a38(0x207)],'content':this[_0x338a38(0x28f)]['t'](_0x338a38(0x1ef))}),_0x3a26a6['id']===_0x3b0d8a['CLOSE_ROOM']&&this['_messageService'][_0x338a38(0x216)]({'type':_0x36be66[_0x338a38(0x207)],'content':this[_0x338a38(0x28f)]['t'](_0x338a38(0x2ea))}),_0x3a26a6['id']===_0x3b0d8a['PERMISSION_DENIED']&&this[_0x338a38(0x1aa)][_0x338a38(0x216)]({'title':this[_0x338a38(0x28f)]['t'](_0x338a38(0x1a8)),'content':this['_localeService']['t']('permission.content'),'type':_0x338a38(0x209),'duration':0x0}),_0x3a26a6['id']===_0x3b0d8a['CONFLICT']&&this[_0x338a38(0x1ea)][_0x338a38(0x216)]({'type':_0x36be66[_0x338a38(0x205)],'content':this[_0x338a38(0x28f)]['t'](_0x338a38(0x2ea))+'('+_0x3a26a6[_0x338a38(0x339)]+')'}),_0x3a26a6['id']===_0x3b0d8a[_0x338a38(0x325)]&&this[_0x338a38(0x1ea)]['show']({'type':_0x36be66['Warning'],'content':this['_localeService']['t'](_0x3a26a6[_0x338a38(0x339)]||'')}),_0x3a26a6['id']===_0x3b0d8a['SOCKET_FAILED_RETRY']&&this[_0x338a38(0x1ea)]['show']({'type':_0x36be66[_0x338a38(0x207)],'content':this[_0x338a38(0x28f)]['t'](_0x338a38(0x208))}),_0x3a26a6['id']===_0x3b0d8a[_0x338a38(0x2f0)]&&this[_0x338a38(0x1ea)][_0x338a38(0x216)]({'type':_0x36be66['Error'],'content':this[_0x338a38(0x28f)]['t'](_0x338a38(0x225))}),_0x3a26a6['id']===_0x3b0d8a['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x338a38(0x1ea)][_0x338a38(0x216)]({'type':_0x36be66['Error'],'content':this['_localeService']['t'](_0x338a38(0x244))});}));}};bn=K([G(0x0,_0x142b00),G(0x1,_0x3ffdbd),G(0x2,_0x467312(_0x558fcd)),G(0x3,_0x380b91),G(0x4,_0x48bcc5),G(0x5,_0x467312(_0x2d460d))],bn);const xn=_0x208777(0x256);Symbol(xn);const Sn={};let X=class{constructor(_0x331312,_0x29401f){const _0x2e0109=_0x208777;this[_0x2e0109(0x31b)]=_0x331312,this['_renderManagerService']=_0x29401f;}['transformIMECache'](_0x421a17){const _0x39a730=_0x208777;this[_0x39a730(0x166)](_0x421a17),this[_0x39a730(0x2ab)](_0x421a17);}[_0x208777(0x14f)](_0x484f93){const _0x361c9e=_0x208777;let {unitID:_0x254a8c}=_0x484f93,{redoCache:_0x50901c}=this[_0x361c9e(0x2d5)][_0x361c9e(0x25a)](_0x254a8c)[_0x361c9e(0x234)](_0x5de3a5)['getUndoRedoMutationParamsCache']();if(_0x50901c[_0x361c9e(0x16d)]===0x0)return _0x484f93;let _0x88fc17=_0x5f07c8[_0x361c9e(0x252)](_0x484f93['mutations'][0x0]);for(let _0xa11653=0x0;_0xa11653<_0x50901c[_0x361c9e(0x16d)];_0xa11653++){let _0x55c4e8={'id':_0x361c9e(0x347),'params':{..._0x50901c[_0xa11653]}},_0x38f25e=this[_0x361c9e(0x31b)][_0x361c9e(0x25e)](_0x88fc17,_0x55c4e8,!0x1);if(_0x3ccef8(_0x38f25e))throw _0x38f25e['error'];_0x88fc17=_0x38f25e[_0x361c9e(0x26b)];}return{..._0x5f07c8[_0x361c9e(0x252)](_0x484f93),'mutations':[_0x88fc17]};}[_0x208777(0x166)](_0x16e73c){const _0x5b69dd=_0x208777;let {unitID:_0xe68c8f}=_0x16e73c,_0x53c302=this[_0x5b69dd(0x2d5)][_0x5b69dd(0x25a)](_0xe68c8f)['with'](_0x5de3a5),{undoCache:_0x5b3737,redoCache:_0x5b07ba}=_0x53c302[_0x5b69dd(0x1a1)]();if(_0x5b3737['length']===0x0||_0x5b07ba['length']===0x0)return;let _0x696e6d=[],_0x20a282=[],_0xebe308=_0x5f07c8[_0x5b69dd(0x252)](_0x16e73c[_0x5b69dd(0x232)][0x0]),_0x50a2c0=_0x5f07c8[_0x5b69dd(0x252)](_0x16e73c['mutations'][0x0]);for(let _0x426ff6=_0x5b3737[_0x5b69dd(0x16d)]-0x1;_0x426ff6>=0x0;_0x426ff6--){let _0x4fad1c={'id':'doc.mutation.rich-text-editing','params':{..._0x5b3737[_0x426ff6]}},_0x516530={'id':_0x5b69dd(0x347),'params':{..._0x5b07ba[_0x426ff6]}},_0x33f427=this['_transformService'][_0x5b69dd(0x25e)](_0xebe308,_0x4fad1c,!0x1),_0xc45d9=this[_0x5b69dd(0x31b)][_0x5b69dd(0x25e)](_0x50a2c0,_0x516530,!0x1);if(_0x3ccef8(_0x33f427))throw _0x33f427[_0x5b69dd(0x209)];if(_0x3ccef8(_0xc45d9))throw _0xc45d9[_0x5b69dd(0x209)];_0x696e6d[_0x5b69dd(0x1ed)](_0x33f427[_0x5b69dd(0x2de)]['params']),_0x20a282[_0x5b69dd(0x1ed)](_0xc45d9[_0x5b69dd(0x2de)][_0x5b69dd(0x22c)]),_0xebe308=_0x33f427[_0x5b69dd(0x26b)],_0x50a2c0=_0xc45d9['m1Prime'];}_0x53c302[_0x5b69dd(0x29c)]({'undoCache':_0x696e6d,'redoCache':_0x20a282});}['_transformPreviousActiveRange'](_0x3e7a69){const _0x114778=_0x208777;let {unitID:_0x2c6e2b}=_0x3e7a69,_0x4e3fa1=this[_0x114778(0x2d5)]['getRenderById'](_0x2c6e2b)['with'](_0x5de3a5),_0x22ccaf=_0x4e3fa1[_0x114778(0x327)]();if(_0x22ccaf==null)return;let _0x562106=[{'id':_0x114778(0x347),'params':{'unitId':_0x3e7a69['unitID'],'actions':null,'textRanges':[_0x22ccaf]}}],_0xf6e0da=this[_0x114778(0x31b)][_0x114778(0x25c)](_0x3e7a69,_0x562106);if(!_0x1c4a70(_0xf6e0da))throw _0xf6e0da[_0x114778(0x209)];let _0x8d4d04=_0xf6e0da[_0x114778(0x2de)][0x0][_0x114778(0x22c)][_0x114778(0x202)];Array[_0x114778(0x153)](_0x8d4d04)&&_0x8d4d04['length']&&_0x4e3fa1[_0x114778(0x179)](_0x8d4d04[0x0]);}};X=K([G(0x0,_0x2cbe6f),G(0x1,_0x567afa)],X);let Cn=class{constructor(_0x172a4e,_0x54c477,_0x3997a7){const _0x269d10=_0x208777;this[_0x269d10(0x161)]=_0x172a4e,this[_0x269d10(0x31b)]=_0x54c477,this[_0x269d10(0x2f4)]=_0x3997a7;}[_0x208777(0x2a9)](_0x3baef7){const _0x5bfe2a=_0x208777;this[_0x5bfe2a(0x332)](_0x3baef7);}['transformRemoteChangeset'](_0x23879a){const _0x3b15e0=_0x208777;let {unitID:_0x5e042f}=_0x23879a,{collaboration:_0x4b6abc}=this[_0x3b15e0(0x2f4)][_0x3b15e0(0x270)](_0x5e042f);if(_0x4b6abc['length']===0x0)return _0x23879a;let _0x3d309f=_0x5f07c8[_0x3b15e0(0x252)](_0x23879a[_0x3b15e0(0x232)][0x0]);for(let _0x4dc9fe=0x0;_0x4dc9fe<_0x4b6abc['length'];_0x4dc9fe++){let _0x691fcf={'id':_0x3b15e0(0x347),'params':{'unitId':_0x4b6abc[_0x4dc9fe][_0x3b15e0(0x185)],..._0x4b6abc[_0x4dc9fe][_0x3b15e0(0x211)]}},_0x19ae5e=this[_0x3b15e0(0x31b)]['transformMutation'](_0x3d309f,_0x691fcf,!0x1);if(_0x3ccef8(_0x19ae5e))throw _0x19ae5e[_0x3b15e0(0x209)];_0x3d309f=_0x19ae5e['m1Prime'];}return{..._0x5f07c8[_0x3b15e0(0x252)](_0x23879a),'mutations':[_0x3d309f]};}['_transformHistoryAndStateStack'](_0xd94a0){const _0x5a50a9=_0x208777;let {unitID:_0x2cabdd}=_0xd94a0,{history:_0x2b666e,collaboration:_0xaa94ec}=this[_0x5a50a9(0x2f4)]['getStateCache'](_0x2cabdd);if(_0x2b666e[_0x5a50a9(0x16d)]===0x0&&_0xaa94ec[_0x5a50a9(0x16d)]===0x0)return;let _0x3c3b26=[],_0x1a087e=[],_0x3d635f=_0x5f07c8['deepClone'](_0xd94a0[_0x5a50a9(0x232)][0x0]),_0x3f000d=_0x5f07c8[_0x5a50a9(0x252)](_0xd94a0['mutations'][0x0]);for(let _0x5c0291=_0x2b666e[_0x5a50a9(0x16d)]-0x1;_0x5c0291>=0x0;_0x5c0291--){let _0x275067={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b666e[_0x5c0291][_0x5a50a9(0x185)],..._0x2b666e[_0x5c0291][_0x5a50a9(0x2cb)]}},_0x29a114={'id':_0x5a50a9(0x347),'params':{'unitId':_0x2b666e[_0x5c0291][_0x5a50a9(0x185)],..._0x2b666e[_0x5c0291][_0x5a50a9(0x211)]}},_0x5ae318=this[_0x5a50a9(0x31b)][_0x5a50a9(0x25e)](_0x3d635f,_0x275067,!0x1),_0x1a528f=this['_transformService'][_0x5a50a9(0x25e)](_0x3f000d,_0x29a114,!0x1);if(_0x3ccef8(_0x5ae318))throw _0x5ae318[_0x5a50a9(0x209)];if(_0x3ccef8(_0x1a528f))throw _0x1a528f[_0x5a50a9(0x209)];_0x3c3b26[_0x5a50a9(0x1ed)]({..._0x2b666e[_0x5c0291],'undoState':_0x5ae318[_0x5a50a9(0x2de)][_0x5a50a9(0x22c)],'redoState':_0x1a528f[_0x5a50a9(0x2de)]['params']}),_0x3d635f=_0x5ae318['m1Prime'],_0x3f000d=_0x1a528f['m1Prime'];}_0x3d635f=_0x5f07c8[_0x5a50a9(0x252)](_0xd94a0['mutations'][0x0]),_0x3f000d=_0x5f07c8[_0x5a50a9(0x252)](_0xd94a0[_0x5a50a9(0x232)][0x0]);for(let _0x2345e2=_0xaa94ec[_0x5a50a9(0x16d)]-0x1;_0x2345e2>=0x0;_0x2345e2--){let _0x12e13b={'id':_0x5a50a9(0x347),'params':{'unitId':_0xaa94ec[_0x2345e2][_0x5a50a9(0x185)],..._0xaa94ec[_0x2345e2][_0x5a50a9(0x2cb)]}},_0x338d2d={'id':_0x5a50a9(0x347),'params':{'unitId':_0xaa94ec[_0x2345e2][_0x5a50a9(0x185)],..._0xaa94ec[_0x2345e2][_0x5a50a9(0x211)]}},_0x593d0c=this[_0x5a50a9(0x31b)][_0x5a50a9(0x25e)](_0x3d635f,_0x12e13b,!0x1),_0x2d18df=this[_0x5a50a9(0x31b)]['transformMutation'](_0x3f000d,_0x338d2d,!0x1);if(_0x3ccef8(_0x593d0c))throw _0x593d0c[_0x5a50a9(0x209)];if(_0x3ccef8(_0x2d18df))throw _0x2d18df[_0x5a50a9(0x209)];_0x1a087e['unshift']({..._0xaa94ec[_0x2345e2],'undoState':_0x593d0c[_0x5a50a9(0x2de)][_0x5a50a9(0x22c)],'redoState':_0x2d18df[_0x5a50a9(0x2de)][_0x5a50a9(0x22c)]}),_0x3d635f=_0x593d0c[_0x5a50a9(0x26b)],_0x3f000d=_0x2d18df[_0x5a50a9(0x26b)];}this[_0x5a50a9(0x2f4)][_0x5a50a9(0x15f)](_0x2cabdd,{'history':_0x3c3b26,'collaboration':_0x1a087e});}};Cn=K([G(0x0,_0x467312(_0x1752f7)),G(0x1,_0x2cbe6f),G(0x2,_0x467312(_0x3d011c))],Cn);let wn=class{constructor(_0x279390,_0x5a530b){const _0x3e1eb5=_0x208777;this[_0x3e1eb5(0x161)]=_0x279390,this[_0x3e1eb5(0x31b)]=_0x5a530b;}['transformSelections'](_0x5e46f2){const _0x4166e2=_0x208777;var _0x7f454c;let _0x1b7751=this[_0x4166e2(0x161)][_0x4166e2(0x2e9)](_0x5461d0),_0x4c911c=(_0x7f454c=_0x1b7751[_0x4166e2(0x235)]())==null?[]:_0x7f454c;if(_0x4c911c[_0x4166e2(0x16d)]===0x0)return;let _0x13f2d3=_0x5e46f2[_0x4166e2(0x1d6)],_0x42bb78=[{'id':_0x4166e2(0x347),'params':{'unitId':_0x13f2d3,'actions':null,'textRanges':_0x4c911c}}],_0x46e14f=this[_0x4166e2(0x31b)][_0x4166e2(0x25c)](_0x5e46f2,_0x42bb78);if(!_0x1c4a70(_0x46e14f))throw _0x46e14f[_0x4166e2(0x209)];let _0x238d57=_0x46e14f[_0x4166e2(0x2de)][0x0][_0x4166e2(0x22c)][_0x4166e2(0x202)];Array[_0x4166e2(0x153)](_0x238d57)&&_0x238d57[_0x4166e2(0x16d)]&&_0x1b7751[_0x4166e2(0x35b)](_0x238d57,{'unitId':_0x13f2d3,'subUnitId':_0x13f2d3},!0x1);}};wn=K([G(0x0,_0x467312(_0x1752f7)),G(0x1,_0x2cbe6f)],wn);let Tn=class extends _0x4a384b{constructor(_0x269ae0,_0x33e87e,_0x1c86f5,_0x576d07,_0x432f46,_0x2fc6b1,_0x5766b1,_0x4d16e4){const _0x122fbc=_0x208777;super(),this['_docStateChangeManagerService']=_0x269ae0,this['_collaborationController']=_0x33e87e,this[_0x122fbc(0x33d)]=_0x1c86f5,this['_docTransformStateCacheService']=_0x576d07,this['_docTransformSelectionsService']=_0x432f46,this[_0x122fbc(0x1a7)]=_0x2fc6b1,this[_0x122fbc(0x1ea)]=_0x5766b1,this[_0x122fbc(0x28f)]=_0x4d16e4,W(this,_0x122fbc(0x2cd),new _0x182dfe(_0x32824d[_0x122fbc(0x1e1)])),this['_initEntityListener']();}[_0x208777(0x1c0)](){const _0x58f7f9=_0x208777;this[_0x58f7f9(0x1b2)](this[_0x58f7f9(0x335)]['entityInit$'][_0x58f7f9(0x319)](_0x32a899=>{const _0xbd0dde=_0x58f7f9;let _0x185f05=this[_0xbd0dde(0x2f4)][_0xbd0dde(0x266)][_0xbd0dde(0x319)](_0x27cf80=>{const _0x2744c2=_0xbd0dde;if(_0x27cf80==null)return;let {unitId:_0x3e0dd9,redoState:_0x4bbfde,commandId:_0xd74646}=_0x27cf80;if(_0x3e0dd9!==_0x32a899[_0x2744c2(0x1d6)])return;let _0x182d12={'id':_0xd74646,'type':_0x38cbf9[_0x2744c2(0x160)],'params':{'unitId':_0x3e0dd9,'actions':_0x4bbfde[_0x2744c2(0x23e)],'textRanges':null}};_0x32a899['onLocalMutation'](_0x182d12);});_0x32a899[_0xbd0dde(0x1b2)](_0x185f05),_0x32a899 instanceof _0x11eb7e&&_0x32a899['addHandlerCallback']({'onTransformIME':_0x243e4c=>this['_docTransformIMECacheService'][_0xbd0dde(0x2dd)](_0x243e4c),'onTransformState':_0x9dce7f=>this[_0xbd0dde(0x222)][_0xbd0dde(0x2a9)](_0x9dce7f),'onTransformSelections':_0x2003f5=>this[_0xbd0dde(0x1c7)][_0xbd0dde(0x253)](_0x2003f5),'onSyncEditingCollabCursor':_0xb0eb7=>this['_docSyncEditingCollabCursorService'][_0xbd0dde(0x2ee)](_0xb0eb7),'onTransformRemoteChangesetByIMECache':_0x5bfd5c=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x5bfd5c),'onTransformRemoteChangesetByStateCache':_0x2bb983=>this[_0xbd0dde(0x222)][_0xbd0dde(0x14f)](_0x2bb983)});}));}};Tn=K([G(0x0,_0x467312(_0x3d011c)),G(0x1,_0x467312(_0x1637ff)),G(0x2,_0x467312(X)),G(0x3,_0x467312(Cn)),G(0x4,_0x467312(wn)),G(0x5,_0x467312(cn)),G(0x6,_0x380b91),G(0x7,_0x467312(_0x2d460d))],Tn);let En=class extends _0x4a384b{constructor(_0x3314d2,_0x382f6b,_0x49e7cd,_0x5383fb){const _0x2a675a=_0x208777;super(),this['_injector']=_0x3314d2,this['_httpService']=_0x382f6b,this[_0x2a675a(0x300)]=_0x49e7cd,this[_0x2a675a(0x331)]=_0x5383fb,W(this,_0x2a675a(0x2f2),void 0x0),this['_init']();}['_init'](){const _0x4f11a4=_0x208777;this['_initWindowErrorListener'](),this[_0x4f11a4(0x1cc)](),this[_0x4f11a4(0x281)](),this[_0x4f11a4(0x1e0)]();}[_0x208777(0x1e0)](){const _0x1d664e=_0x208777;this[_0x1d664e(0x1b2)](this['_collaborationSessionService'][_0x1d664e(0x18e)][_0x1d664e(0x319)](_0x2d2d83=>{const _0x3415c2=_0x1d664e;this[_0x3415c2(0x2f2)]=_0x2d2d83==null?void 0x0:_0x2d2d83[_0x3415c2(0x30e)];}));}[_0x208777(0x1fc)](){const _0x481d43=_0x208777;let _0x38fa1f=_0x2e03da=>{const _0x47f00c=_0x174c;var _0x22db32;this[_0x47f00c(0x157)](_0x47f00c(0x209),_0x47f00c(0x188)+_0x2e03da[_0x47f00c(0x24e)]+_0x47f00c(0x2a2)+_0x2e03da[_0x47f00c(0x1ec)]+':'+_0x2e03da[_0x47f00c(0x2ca)]+':'+_0x2e03da['colno']+'\x0a'+(((_0x22db32=_0x2e03da[_0x47f00c(0x209)])==null?void 0x0:_0x22db32[_0x47f00c(0x2b3)])||''));};window['addEventListener'](_0x481d43(0x209),_0x38fa1f),this[_0x481d43(0x1b2)](()=>{const _0x44eb52=_0x481d43;window['removeEventListener'](_0x44eb52(0x209),_0x38fa1f);});}['_initUnhandledRejectionListener'](){const _0x1402d2=_0x208777;let _0x4f897a=_0x31ee18=>{const _0x8308c6=_0x174c;this[_0x8308c6(0x157)](_0x8308c6(0x209),_0x8308c6(0x1f0)+_0x31ee18[_0x8308c6(0x237)]);};window[_0x1402d2(0x34f)]('unhandledrejection',_0x4f897a),this['disposeWithMe'](()=>{const _0x4698b1=_0x1402d2;window[_0x4698b1(0x21f)](_0x4698b1(0x1ab),_0x4f897a);});}[_0x208777(0x281)](){const _0x39c166=_0x208777;let _0x12462f=this[_0x39c166(0x300)][_0x39c166(0x209)][_0x39c166(0x165)](this['_logService']);this[_0x39c166(0x300)][_0x39c166(0x209)]=(..._0x282743)=>{const _0x24481e=_0x39c166;let _0x5bc97d=_0x282743[_0x24481e(0x2cc)](_0x28d732=>_0x28d732 instanceof Error?_0x28d732['message']+'\x0a'+_0x28d732['stack']:String(_0x28d732))[_0x24481e(0x22a)]('\x20');this[_0x24481e(0x157)](_0x24481e(0x209),_0x24481e(0x303)+_0x5bc97d),_0x12462f(..._0x282743);},this[_0x39c166(0x1b2)](()=>{const _0x11bc70=_0x39c166;this['_logService'][_0x11bc70(0x209)]=_0x12462f;});}[_0x208777(0x157)](_0x4e6483,_0x306b73){const _0x3ec3de=_0x208777;try{let _0x5ddda3={'userId':this[_0x3ec3de(0x2f2)],'logLabel':_0x4e6483,'content':_0x306b73};this[_0x3ec3de(0x1fa)][_0x3ec3de(0x24b)](_0x3ec3de(0x348),{'body':_0x5ddda3})[_0x3ec3de(0x31a)](()=>{});}catch{}}};En=K([G(0x0,_0x467312(_0x1752f7)),G(0x1,_0x467312(_0x5d780b)),G(0x2,_0x54ed51),G(0x3,_0x467312(_0x28234a))],En);function Dn(_0x31b54d){const _0x58cbab=_0x208777;var _0x449830,_0xe61ea;let _0x23b188=(_0x449830=_0x31b54d[_0x58cbab(0x21d)])==null?void 0x0:_0x449830[_0x58cbab(0x28d)],_0x54617f=((_0xe61ea=_0x31b54d[_0x58cbab(0x21d)])==null?void 0x0:_0xe61ea[_0x58cbab(0x1eb)])||0x0;return _0x23b188===_0x10ba0e[_0x58cbab(0x23a)]&&_0x54617f>0x0;}function On(_0x6cdad2){const _0x2ff663=_0x208777;return _0x6cdad2[_0x2ff663(0x220)]===_0x396439[_0x2ff663(0x2c8)];}let Z=class extends _0x4a384b{constructor(_0x33d188,_0x551b1e,_0x5cbbf0,_0x305614,_0x7d01b7,_0x38e2a3,_0x2bf935){const _0x5f29fe=_0x208777;super(),this[_0x5f29fe(0x1ea)]=_0x33d188,this[_0x5f29fe(0x192)]=_0x551b1e,this[_0x5f29fe(0x167)]=_0x5cbbf0,this[_0x5f29fe(0x1fa)]=_0x305614,this['_univerInstanceService']=_0x7d01b7,this['_logService']=_0x38e2a3,this['_localeService']=_0x2bf935,W(this,_0x5f29fe(0x359),null),W(this,_0x5f29fe(0x2ad),0x0),W(this,_0x5f29fe(0x249),0x0),W(this,_0x5f29fe(0x242),[]),W(this,'_lastResponseTimestamp',0x0),this[_0x5f29fe(0x1a5)]();}[_0x208777(0x1a5)](){const _0x11a3fa=_0x208777;this['disposeWithMe'](this[_0x11a3fa(0x192)][_0x11a3fa(0x199)]((_0x5836b8,_0x503fbe)=>{const _0x5d0257=_0x11a3fa;var _0x4cd997;if(_0x5836b8['id']!==_0x292fe1['id'])return;let _0x288acd=_0x5836b8[_0x5d0257(0x22c)];if(this[_0x5d0257(0x20f)]((_0x4cd997=_0x288acd[_0x5d0257(0x2c5)])==null?[]:_0x4cd997)&&!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x5836b8,_0x503fbe),this['_showGuardMessage'](),new _0x53572c();})),this[_0x11a3fa(0x1b2)](this[_0x11a3fa(0x192)]['onCommandExecuted']((_0x442bc7,_0x6e9bc8)=>{const _0x542cac=_0x11a3fa;if(_0x442bc7['id']!==_0x5cc310['id'])return;let _0x414ffa=_0x442bc7[_0x542cac(0x22c)];if(Dn(_0x414ffa)){let _0x2b6478=_0xe4f682();this['_taskIds'][_0x542cac(0x320)](_0x2b6478),this['_startCalculationLimit'](_0x2b6478);}else{if(On(_0x414ffa)&&this[_0x542cac(0x242)]['length']>0x0){let _0x12c713=this[_0x542cac(0x242)]['shift']();this[_0x542cac(0x1d3)](_0x12c713);}}}));}[_0x208777(0x34e)](){const _0x9c618f=_0x208777;super[_0x9c618f(0x34e)](),this[_0x9c618f(0x181)](),this['_taskIds']=[],this[_0x9c618f(0x249)]=0x0,this[_0x9c618f(0x2ad)]=0x0,this[_0x9c618f(0x1df)]=0x0;}async[_0x208777(0x2b0)](_0x2c4a0d,_0x55af15){const _0x2f76e3=_0x208777;for(let _0x2fba7d=0x0;_0x2fba7d<0x1e;_0x2fba7d++)try{if(await this['_getFormulaLimitStatus'](),this[_0x2f76e3(0x187)]()){this[_0x2f76e3(0x1e9)](_0x2c4a0d,_0x55af15),this[_0x2f76e3(0x1ea)][_0x2f76e3(0x216)]({'content':this[_0x2f76e3(0x28f)]['t']('formula.calculation.started'),'type':_0x36be66[_0x2f76e3(0x264)]});return;}await new Promise(_0xb23924=>{const _0x24e6ea=_0x2f76e3;this[_0x24e6ea(0x359)]=window[_0x24e6ea(0x1ce)](_0xb23924,0x3e8);});}catch(_0x2b1112){this[_0x2f76e3(0x300)]['error'](_0x2b1112);}this[_0x2f76e3(0x1ea)]['show']({'content':this['_localeService']['t'](_0x2f76e3(0x301)),'type':_0x36be66[_0x2f76e3(0x205)]});}[_0x208777(0x1e9)](_0x2d68cc,_0x15beab){const _0x1d27ab=_0x208777;try{this[_0x1d27ab(0x192)][_0x1d27ab(0x1cb)](_0x2d68cc['id'],_0x2d68cc[_0x1d27ab(0x22c)],_0x15beab);}catch(_0x4414ef){this[_0x1d27ab(0x300)]['error'](_0x4414ef);}}['_setFormulaLimitStatus'](_0x5219d0,_0x1df177){const _0x53d29a=_0x208777;_0x1df177<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x1df177,this[_0x53d29a(0x2ad)]=Number['parseInt'](_0x5219d0[_0x53d29a(0x2b4)]),this[_0x53d29a(0x249)]=Number[_0x53d29a(0x268)](_0x5219d0[_0x53d29a(0x184)]));}async[_0x208777(0x329)](_0x2c8e4f){const _0x22f22c=_0x208777;let _0x541768=Date[_0x22f22c(0x186)]();try{var _0x490a74,_0x54a95a;let _0x101ac4=((_0x490a74=this[_0x22f22c(0x167)][_0x22f22c(0x349)](_0x2509da))==null?void 0x0:_0x490a74['startFormulaLimitUrl'])||_0x22f22c(0x2b2),_0x489747=(await this['_httpService'][_0x22f22c(0x24b)](_0x101ac4,{'body':JSON[_0x22f22c(0x248)]({'taskId':_0x2c8e4f})}))[_0x22f22c(0x2c3)];if(((_0x54a95a=_0x489747[_0x22f22c(0x209)])==null?void 0x0:_0x54a95a['code'])!==_0x2f9e3b['OK'])return;this[_0x22f22c(0x306)](_0x489747[_0x22f22c(0x20d)],_0x541768);}catch(_0x54b860){this[_0x22f22c(0x300)][_0x22f22c(0x209)](_0x54b860);}}async['_getFormulaLimitStatus'](_0x3f684e){const _0x24e24c=_0x208777;let _0x3016c7=Date['now']();try{var _0x4b5d05,_0x1e8bab;let _0x533764=((_0x4b5d05=this['_configService'][_0x24e24c(0x349)](_0x2509da))==null?void 0x0:_0x4b5d05['getFormulaLimitStatusUrl'])||_0x24e24c(0x273),_0x582098=_0x3f684e?_0x533764+_0x24e24c(0x24c)+encodeURIComponent(_0x3f684e):_0x533764,_0x550329=(await this[_0x24e24c(0x1fa)][_0x24e24c(0x2e9)](_0x582098))[_0x24e24c(0x2c3)];if(((_0x1e8bab=_0x550329[_0x24e24c(0x209)])==null?void 0x0:_0x1e8bab[_0x24e24c(0x1d8)])!==_0x2f9e3b['OK'])return;this[_0x24e24c(0x306)](_0x550329[_0x24e24c(0x20d)],_0x3016c7);}catch(_0x13ff9d){this['_logService'][_0x24e24c(0x209)](_0x13ff9d);}}async['_releaseCalculationLimit'](_0x420ef1){const _0x1777e2=_0x208777;let _0x448353=Date['now']();try{var _0x2a2eab,_0xa1c98b;let _0xe5d67d=((_0x2a2eab=this[_0x1777e2(0x167)][_0x1777e2(0x349)](_0x2509da))==null?void 0x0:_0x2a2eab[_0x1777e2(0x22e)])||_0x1777e2(0x31d),_0x44dec0=(await this[_0x1777e2(0x1fa)]['post'](_0xe5d67d,{'body':JSON['stringify']({'taskId':_0x420ef1})}))[_0x1777e2(0x2c3)];if(((_0xa1c98b=_0x44dec0['error'])==null?void 0x0:_0xa1c98b[_0x1777e2(0x1d8)])!==_0x2f9e3b['OK'])return;this['_setFormulaLimitStatus'](_0x44dec0[_0x1777e2(0x20d)],_0x448353);}catch(_0x4d4150){this[_0x1777e2(0x300)]['error'](_0x4d4150);}}[_0x208777(0x187)](){const _0x1282e7=_0x208777;return this[_0x1282e7(0x2ad)]===0x0?!0x0:this[_0x1282e7(0x2ad)]-this[_0x1282e7(0x249)]>0x0;}[_0x208777(0x181)](){const _0x3ec2a4=_0x208777;this[_0x3ec2a4(0x359)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0x2e1bdd=_0x208777;this[_0x2e1bdd(0x1ea)][_0x2e1bdd(0x216)]({'content':this['_localeService']['t'](_0x2e1bdd(0x210)),'type':_0x36be66[_0x2e1bdd(0x200)]});}[_0x208777(0x20f)](_0x1e433d){const _0x59d6ea=_0x208777;for(let _0x51bd65 of _0x1e433d){let {unitId:_0x447b84,sheetId:_0x16e207,range:_0x489fa4}=_0x51bd65,_0x3b62e2=this[_0x59d6ea(0x27c)][_0x59d6ea(0x152)](_0x447b84);if(!_0x3b62e2)continue;let _0x3278c0=_0x3b62e2['getSheetBySheetId'](_0x16e207);if(!_0x3278c0)continue;let _0x45ddb0=_0x3278c0[_0x59d6ea(0x34a)]();for(let _0x514e54=_0x489fa4[_0x59d6ea(0x29a)];_0x514e54<=_0x489fa4['endRow'];_0x514e54++)for(let _0x14bdb5=_0x489fa4[_0x59d6ea(0x2c1)];_0x14bdb5<=_0x489fa4[_0x59d6ea(0x24a)];_0x14bdb5++){let _0x343c1d=_0x45ddb0[_0x59d6ea(0x308)](_0x514e54,_0x14bdb5);if(_0x343c1d&&(_0x44b13f(_0x343c1d['f'])||_0x4159d6(_0x343c1d['si'])))return!0x0;}}return!0x1;}};Z=K([G(0x0,_0x467312(_0x380b91)),G(0x1,_0x4a97fa),G(0x2,_0x84cbc3),G(0x3,_0x467312(_0x5d780b)),G(0x4,_0x4ca1b9),G(0x5,_0x54ed51),G(0x6,_0x467312(_0x2d460d))],Z);let kn=class extends _0x4a384b{constructor(_0x3e0a0e,_0x41d2aa,_0x3566fe){const _0x17bb65=_0x208777;super(),this[_0x17bb65(0x167)]=_0x3e0a0e,this[_0x17bb65(0x24f)]=_0x41d2aa,this['_revisionService']=_0x3566fe,W(this,_0x17bb65(0x314),new Map()),W(this,_0x17bb65(0x20b),new Map()),W(this,_0x17bb65(0x1ac),!0x1);}[_0x208777(0x288)](){this['_disabled']=!0x0;}[_0x208777(0x2b7)](){const _0x1c75e9=_0x208777;this[_0x1c75e9(0x1ac)]=!0x1;}get[_0x208777(0x2e3)](){const _0x2e61c8=_0x208777;return this[_0x2e61c8(0x20b)];}[_0x208777(0x34e)](){const _0x33aa79=_0x208777;this['exhaustSavingTask']()['then'](()=>super[_0x33aa79(0x34e)]());}async[_0x208777(0x322)](_0x366395){const _0x433472=_0x208777;return this[_0x433472(0x1ac)]?null:this['_localStorageService'][_0x433472(0x25d)](_0x17bdad(_0x366395));}async[_0x208777(0x16e)](_0x4c8a5f,_0x3185e7){const _0x5651b1=_0x208777;return!!this[_0x5651b1(0x24f)][_0x5651b1(0x16f)](_0x4c8a5f,_0x3185e7);}[_0x208777(0x262)](_0x1f2f02,_0x88fcc3,_0x3130e1,_0x477ee4){const _0x250ae3=_0x208777;let _0x325f89=this['_revisionService'][_0x250ae3(0x1ca)](_0x1f2f02);this[_0x250ae3(0x314)][_0x250ae3(0x29f)](_0x1f2f02,{'unitID':_0x1f2f02,'type':_0x88fcc3,'awaitingChangeset':_0x3130e1,'mutations':_0x477ee4,'rev':_0x325f89}),this['_saveTaskMap']['has'](_0x1f2f02)||this[_0x250ae3(0x2c4)](_0x1f2f02);}[_0x208777(0x2c4)](_0xf08178){const _0x2c7827=_0x208777;let _0x271149=this[_0x2c7827(0x342)]();_0x271149===0x0?this[_0x2c7827(0x316)](_0xf08178):this[_0x2c7827(0x20b)][_0x2c7827(0x29f)](_0xf08178,setTimeout(()=>this[_0x2c7827(0x316)](_0xf08178),_0x271149));}[_0x208777(0x342)](){const _0x129615=_0x208777;var _0x276565;return(_0x276565=this[_0x129615(0x167)][_0x129615(0x349)](_0x47c8b1))==null?_0x386b51:_0x276565;}[_0x208777(0x316)](_0x14176b){const _0x8c0a3a=_0x208777;let _0x2dd169=this['_saveTaskMap'][_0x8c0a3a(0x2e9)](_0x14176b);return _0x2dd169!==void 0x0&&window[_0x8c0a3a(0x2f6)](_0x2dd169),this[_0x8c0a3a(0x24f)]['setItem'](_0x17bdad(_0x14176b),this[_0x8c0a3a(0x314)][_0x8c0a3a(0x2e9)](_0x14176b))[_0x8c0a3a(0x358)](()=>this['_saveTaskMap'][_0x8c0a3a(0x328)](_0x14176b));}async[_0x208777(0x15d)](){const _0x109d7d=_0x208777;let _0x3b7d50=[];this[_0x109d7d(0x20b)]['forEach']((_0x28089e,_0x2823d9)=>{const _0x15cede=_0x109d7d;window['clearTimeout'](_0x28089e),_0x3b7d50[_0x15cede(0x320)](this[_0x15cede(0x316)](_0x2823d9)[_0x15cede(0x358)](()=>{const _0x73f851=_0x15cede;this['_saveTaskMap'][_0x73f851(0x328)](_0x2823d9);}));}),await Promise[_0x109d7d(0x1e4)](_0x3b7d50);}};kn=K([G(0x0,_0x84cbc3),G(0x1,_0x44d943),G(0x2,_0x467312(_0x281de1))],kn);var An=class extends _0x51efb0{constructor(){const _0x3c2b47=_0x208777;super(),W(this,_0x3c2b47(0x1f2),void 0x0),this[_0x3c2b47(0x1f2)]=_0x11b040(window,'popstate')[_0x3c2b47(0x1d4)](_0x11487(this[_0x3c2b47(0x280)]),_0xe18ee7(0x1),_0x329890(void 0x0));}[_0x208777(0x19c)](_0x1d6773,_0x39243f,_0x2e2a78=!0x1){const _0x28f3de=_0x208777;let _0x36c730=new URL(window['location']['href']);_0x36c730[_0x28f3de(0x17c)][_0x28f3de(0x29f)](_0x1d6773,_0x39243f),_0x2e2a78?window[_0x28f3de(0x182)]['replaceState']('','',_0x36c730[_0x28f3de(0x1bf)]()):window['history']['pushState']('','',_0x36c730[_0x28f3de(0x1bf)]());}[_0x208777(0x17b)](_0x3f305c,_0xe0911a=!0x1){const _0x546aeb=_0x208777;let _0x4e0a9e=new URL(window[_0x546aeb(0x346)][_0x546aeb(0x17e)]);_0x4e0a9e[_0x546aeb(0x17c)][_0x546aeb(0x328)](_0x3f305c),_0xe0911a?window[_0x546aeb(0x182)][_0x546aeb(0x229)]('','',_0x4e0a9e[_0x546aeb(0x1bf)]()):window[_0x546aeb(0x182)][_0x546aeb(0x323)]('','',_0x4e0a9e[_0x546aeb(0x1bf)]());}[_0x208777(0x31c)](_0x365f7e){const _0x4d9bfd=_0x208777;var _0x4766f8;return(_0x4766f8=new URL(window[_0x4d9bfd(0x346)][_0x4d9bfd(0x17e)])[_0x4d9bfd(0x17c)][_0x4d9bfd(0x2e9)](_0x365f7e))==null?void 0x0:_0x4766f8;}};let Q=class extends _0x289e05{constructor(_0x2b2b72=Sn,_0x2c9692,_0x49ba64,_0x24c38e){const _0x434e57=_0x208777;super(),this[_0x434e57(0x1ee)]=_0x2b2b72,this[_0x434e57(0x2d5)]=_0x2c9692,this[_0x434e57(0x161)]=_0x49ba64,this[_0x434e57(0x167)]=_0x24c38e;let {..._0xc058eb}=_0x230f6b({},Sn,this[_0x434e57(0x1ee)]);this[_0x434e57(0x167)][_0x434e57(0x239)](xn,_0xc058eb);}[_0x208777(0x28e)](){const _0x9c33f9=_0x208777;this[_0x9c33f9(0x2d8)](),this[_0x9c33f9(0x251)]();}[_0x208777(0x1b4)](){const _0x28c724=_0x208777;this[_0x28c724(0x2da)]();}[_0x208777(0x2d8)](){const _0x27b832=_0x208777;var _0x441c99;let _0x1aa085=[[rn],[Z],[wn],[X],[Cn],[cn],[Qt,{'useClass':An}],[_0x3c95e6,{'useClass':_0x6e3927}],[_0x3ffdbd,{'useClass':kn}],[q],[Tn],[bn],[Y],[tn],[J]];this[_0x27b832(0x1ee)][_0x27b832(0x2ed)]&&_0x1aa085[_0x27b832(0x320)]([En]),_0x370088(this['_injector'],_0x567a2b(_0x1aa085,(_0x441c99=this[_0x27b832(0x1ee)])==null?void 0x0:_0x441c99[_0x27b832(0x26e)]));}[_0x208777(0x2da)](){const _0x11fd30=_0x208777;this[_0x11fd30(0x1b2)](this[_0x11fd30(0x2d5)]['registerRenderModule'](_0x16195b[_0x11fd30(0x293)],[gn])),this[_0x11fd30(0x1b2)](this[_0x11fd30(0x2d5)][_0x11fd30(0x172)](_0x16195b[_0x11fd30(0x21b)],[vn]));}['_initDependencies'](){const _0x18345e=_0x208777;_0x1da641(this[_0x18345e(0x161)],[[Y],[q],[Tn],[bn],[J],[Z]]),this['_config'][_0x18345e(0x2ed)]&&_0x1da641(this['_injector'],[[En]]);}};W(Q,_0x208777(0x1af),_0x208777(0x2fe)),W(Q,'packageName',$t),W(Q,_0x208777(0x286),en),Q=K([_0x4ee12f(_0x32eb2c),G(0x1,_0x567afa),G(0x2,_0x467312(_0x1752f7)),G(0x3,_0x84cbc3)],Q);let jn=class extends _0x25468b{constructor(_0x2395fa,_0xb34724,_0x296a07,_0x25dd2d,_0x279f1a){super(_0x2395fa,_0xb34724,_0x296a07,_0x25dd2d,_0x279f1a);}async[_0x208777(0x1e2)](_0x3862ac){const _0x4edfbe=_0x208777;let _0x2d8405=await this[_0x4edfbe(0x2e0)](),_0x24fd1f=this[_0x4edfbe(0x2c6)](_0x3862ac,_0x2d8405);return this['_doCreateSocket'](_0x24fd1f);}[_0x208777(0x2c6)](_0x5ead37,_0x42e379){const _0x82a7c0=_0x208777;let _0x42668d=typeof window>'u'?new URL(_0x5ead37):new URL(_0x5ead37,window[_0x82a7c0(0x346)][_0x82a7c0(0x338)]);_0x42668d[_0x82a7c0(0x17c)][_0x82a7c0(0x29f)](_0x82a7c0(0x16a),_0x42e379);let _0x232cba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x82a7c0(0x346)][_0x82a7c0(0x2ec)]);return _0x232cba[_0x82a7c0(0x2e9)](_0x82a7c0(0x1d5))&&_0x42668d[_0x82a7c0(0x17c)][_0x82a7c0(0x29f)]('runId',_0x232cba[_0x82a7c0(0x2e9)](_0x82a7c0(0x1d5))),_0x42668d[_0x82a7c0(0x1bf)]();}async['_getSessionTicket'](){const _0x1a5502=_0x208777;var _0x144b1d,_0x4f2266,_0x5de0b0;let _0x2c4382=this[_0x1a5502(0x167)][_0x1a5502(0x349)](_0x2509da),_0x193582=(_0x144b1d=_0x2c4382==null?void 0x0:_0x2c4382['wsSessionTicketUrl'])==null?_0x542d86:_0x144b1d;return(_0x4f2266=(_0x5de0b0=(await this[_0x1a5502(0x1fa)][_0x1a5502(0x2e9)](_0x193582,{'headers':{'Content-Type':'application/json'}}))[_0x1a5502(0x2c3)])==null?void 0x0:_0x5de0b0[_0x1a5502(0x1b3)])==null?'':_0x4f2266;}};jn=K([G(0x0,_0x467312(_0x1752f7)),G(0x1,_0x467312(_0x5d780b)),G(0x2,_0x84cbc3),G(0x3,_0x54ed51),G(0x4,_0x2509d6)],jn);let Mn=class extends _0x4a384b{constructor(_0x4ce904,_0x398e1f,_0x2662b8){const _0x48f529=_0x208777;super(),this[_0x48f529(0x2d1)]=_0x4ce904,this[_0x48f529(0x1fa)]=_0x398e1f,this['_configService']=_0x2662b8;}async[_0x208777(0x2e4)](_0x32d11e,_0x7cf45c,_0x1d1b91,..._0x4449e6){const _0xc3965=_0x208777;var _0x202340,_0x169710,_0x1f61dd,_0x2b3aee;let _0x5264a9=this[_0xc3965(0x2d1)][_0xc3965(0x2bc)]();if(!_0x5264a9)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x59f14b=((_0x202340=this['_configService'][_0xc3965(0x349)](_0xdb9de))==null?_0x365b20:_0x202340)+'/'+_0x32d11e+'/run/'+_0x7cf45c,_0x5285bd={'scriptId':_0x32d11e,'runId':(_0x169710=new URL(window['location']['href'])['searchParams'][_0xc3965(0x2e9)]('runId'))==null?'':_0x169710,'function':_0x7cf45c,'unitId':_0x5264a9[_0xc3965(0x26a)](),'argsOfFunction':JSON[_0xc3965(0x248)](_0x4449e6),'invokeId':(_0x1f61dd=_0x1d1b91[_0xc3965(0x27f)])==null?'':_0x1f61dd,'executionId':(_0x2b3aee=_0x1d1b91['executionId'])==null?'':_0x2b3aee};try{let _0x1ea1c5=await this[_0xc3965(0x1fa)][_0xc3965(0x24b)](_0x59f14b,{'body':_0x5285bd});return _0x1ea1c5[_0xc3965(0x2c3)][_0xc3965(0x209)]&&_0x1ea1c5[_0xc3965(0x2c3)][_0xc3965(0x209)][_0xc3965(0x1d8)]!==_0x2f9e3b['OK']?_0xc3965(0x23c):_0x1ea1c5[_0xc3965(0x2c3)]['result'];}catch{return'Failed';}}};Mn=K([G(0x0,_0x4ca1b9),G(0x1,_0x467312(_0x5d780b)),G(0x2,_0x84cbc3)],Mn);var $=function(_0x27ebb4){const _0x110fbf=_0x208777;return _0x27ebb4[_0x27ebb4[_0x110fbf(0x19e)]=0x0]=_0x110fbf(0x19e),_0x27ebb4[_0x27ebb4[_0x110fbf(0x2d0)]=0x1]=_0x110fbf(0x2d0),_0x27ebb4[_0x27ebb4['HEARTBEAT']=0x2]=_0x110fbf(0x2fd),_0x27ebb4;}($||{});const Nn=0x7530,Pn=_0x208777(0x2f3);var Fn=class extends _0x4a384b{constructor(){const _0x62056f=_0x208777;super(),W(this,_0x62056f(0x33c),_0xe4f682()),W(this,_0x62056f(0x168),new Set()),W(this,'_unitOnClients',new Map()),W(this,'_heartbeatTimer',null),W(this,_0x62056f(0x315),new Map()),W(this,_0x62056f(0x2dc),new Map()),this['_init']();}[_0x208777(0x34e)](){const _0x368d8d=_0x208777;super[_0x368d8d(0x34e)](),this['_clearOtherTimers'][_0x368d8d(0x2ff)]((_0x3d22b8,_0x34c636)=>this[_0x368d8d(0x1d9)](_0x34c636)),this[_0x368d8d(0x1a3)]&&window[_0x368d8d(0x227)](this['_heartbeatTimer']);}[_0x208777(0x1bc)](_0x3383ef){const _0x208df4=_0x208777;return this[_0x208df4(0x1a0)](_0x3383ef)['pipe'](_0x3b9d92());}[_0x208777(0x2d6)](_0x1df36e){const _0x13de7e=_0x208777;this[_0x13de7e(0x168)][_0x13de7e(0x298)]===0x0&&this[_0x13de7e(0x299)](),this[_0x13de7e(0x168)][_0x13de7e(0x215)](_0x1df36e),this[_0x13de7e(0x1cd)]({'type':$['JOIN'],'memberID':this[_0x13de7e(0x33c)],'unitIDs':[_0x1df36e],'isForwarded':!0x1});}[_0x208777(0x31f)](_0x45eaaf){const _0xf4a0b7=_0x208777;this[_0xf4a0b7(0x168)][_0xf4a0b7(0x328)](_0x45eaaf),this[_0xf4a0b7(0x168)][_0xf4a0b7(0x298)]===0x0&&this[_0xf4a0b7(0x1a3)]&&window[_0xf4a0b7(0x227)](this[_0xf4a0b7(0x1a3)]);}[_0x208777(0x357)](){const _0x2d5512=_0x208777;this[_0x2d5512(0x1b2)](_0x1bc92a(_0x11b040(window,'storage')['subscribe'](_0x589c0e=>{const _0x1359f1=_0x2d5512;if(_0x589c0e[_0x1359f1(0x16b)]!==Pn||!_0x589c0e[_0x1359f1(0x34c)])return;let _0x43eb5d=JSON[_0x1359f1(0x2ba)](_0x589c0e[_0x1359f1(0x34c)]);this[_0x1359f1(0x297)](_0x43eb5d);}))),window['addEventListener'](_0x2d5512(0x284),()=>this[_0x2d5512(0x1cd)]({'type':$['LEAVE'],'memberID':this[_0x2d5512(0x33c)],'unitIDs':Array[_0x2d5512(0x1e5)](this['_selfUnitIDs'])}));}[_0x208777(0x297)](_0x286890){const _0x11a9d6=_0x208777;switch(_0x286890['type']){case $[_0x11a9d6(0x19e)]:this[_0x11a9d6(0x2ce)](_0x286890);break;case $[_0x11a9d6(0x2d0)]:this['_handleLeaveEvent'](_0x286890);break;case $[_0x11a9d6(0x2fd)]:this['_handleHeartbeatEvent'](_0x286890);break;}}[_0x208777(0x2ce)](_0x4c7a8f){const _0x3afc3a=_0x208777;let {unitIDs:_0x53aa7d,memberID:_0x1c8da6,isForwarded:_0x51dfb0}=_0x4c7a8f;_0x53aa7d[_0x3afc3a(0x2ff)](_0x123107=>{const _0xd69a7e=_0x3afc3a;if(!_0x51dfb0&&this[_0xd69a7e(0x1d1)]['has'](_0x123107)&&this[_0xd69a7e(0x1a0)](_0x123107)[_0xd69a7e(0x1ba)](_0x4796a7[_0xd69a7e(0x278)]),!this[_0xd69a7e(0x1d1)]['has'](_0x123107)||!this['_unitOnClients'][_0xd69a7e(0x2e9)](_0x123107)[_0xd69a7e(0x1bb)](_0x1c8da6)){let _0x1a7c35=this[_0xd69a7e(0x1d1)][_0xd69a7e(0x2e9)](_0x123107)||new Set();_0x1a7c35['add'](_0x1c8da6),this['_unitOnClients'][_0xd69a7e(0x29f)](_0x123107,_0x1a7c35),this[_0xd69a7e(0x240)](_0x1c8da6);}}),_0x51dfb0||this['_send']({'type':$[_0x3afc3a(0x19e)],'memberID':this[_0x3afc3a(0x33c)],'unitIDs':[...this[_0x3afc3a(0x168)]],'isForwarded':!0x0});}[_0x208777(0x240)](_0x107989){const _0x316b2f=_0x208777;this[_0x316b2f(0x1d9)](_0x107989);let _0xddf19b=window[_0x316b2f(0x1ce)](()=>{const _0x7f7a16=_0x316b2f;this[_0x7f7a16(0x1d1)]['forEach'](_0x10dabe=>{const _0x1c8670=_0x7f7a16;_0x10dabe[_0x1c8670(0x328)](_0x107989);});},Nn*0x2);this[_0x316b2f(0x315)][_0x316b2f(0x29f)](_0x107989,_0xddf19b);}[_0x208777(0x1d9)](_0x95b061){const _0x3a0ac5=_0x208777;if(this[_0x3a0ac5(0x315)][_0x3a0ac5(0x1bb)](_0x95b061)){let _0x29edbf=this['_clearOtherTimers'][_0x3a0ac5(0x2e9)](_0x95b061);_0x29edbf&&window[_0x3a0ac5(0x2f6)](_0x29edbf),this[_0x3a0ac5(0x315)][_0x3a0ac5(0x29f)](_0x95b061,null);}}[_0x208777(0x155)](_0x1c2c2b){const _0x56e1fa=_0x208777;let {memberID:_0x21d9b0,unitIDs:_0x2144c6}=_0x1c2c2b;_0x2144c6[_0x56e1fa(0x2ff)](_0x1e1fbb=>{const _0x96ee0c=_0x56e1fa;var _0x3f90a9;let _0x260431=this[_0x96ee0c(0x1d1)][_0x96ee0c(0x2e9)](_0x1e1fbb);_0x260431&&(_0x260431[_0x96ee0c(0x328)](_0x21d9b0),(_0x3f90a9=this['_ensureSubject'](_0x1e1fbb))==null||_0x3f90a9[_0x96ee0c(0x1ba)](_0x260431[_0x96ee0c(0x298)]===0x0?_0x4796a7['NO_OTHER_CLIENTS_EDITING']:_0x4796a7[_0x96ee0c(0x278)]));}),this['_removeClearOtherTimer'](_0x21d9b0);}[_0x208777(0x2b5)](_0x3babfe){const _0x24f16d=_0x208777;this[_0x24f16d(0x240)](_0x3babfe[_0x24f16d(0x30e)]);}[_0x208777(0x1cd)](_0x4a74d1){const _0x5b821c=_0x208777;localStorage[_0x5b821c(0x16f)](Pn,JSON[_0x5b821c(0x248)](_0x4a74d1));}[_0x208777(0x299)](){const _0x2c3c67=_0x208777;this[_0x2c3c67(0x1a3)]=window[_0x2c3c67(0x31e)](()=>{const _0x1f1368=_0x2c3c67;this['_send']({'type':$['HEARTBEAT'],'memberID':this[_0x1f1368(0x33c)]});},Nn);}[_0x208777(0x1a0)](_0x55814b){const _0x1a41c7=_0x208777;return this[_0x1a41c7(0x2dc)][_0x1a41c7(0x1bb)](_0x55814b)||this['_unitStatus'][_0x1a41c7(0x29f)](_0x55814b,new _0x182dfe(_0x4796a7[_0x1a41c7(0x180)])),this[_0x1a41c7(0x2dc)]['get'](_0x55814b);}};export{jn as BrowserCollaborationSocketService,J as CollaborationDataLoaderController,q as DesktopCollaborationStatusDisplayController,Qt as IURLService,Mn as RemoteUniscriptService,_n as SheetCollabCursorShape,Q as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,An as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4b8d42=_0x3d10;function _0x1609(){const _0x1e42b9=['Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','2121413UZqLNt','Synced','2774465rYSgUG','4517505UvWWmZ','40ZmSWBB','Collaboration\x20Conflict','Syncing\x20server\x20data...','71404tJaSVm','1459318LOZsLh','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','67010FHKQgX','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','9559BqQLmX','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','12190518fIGPji','1iHQDFB','You\x20have\x20offline\x20edits\x20that\x20have\x20not\x20been\x20saved\x20to\x20the\x20server.\x20Please\x20check\x20your\x20network\x20and\x20try\x20again.','18FGHRcV'];_0x1609=function(){return _0x1e42b9;};return _0x1609();}function _0x3d10(_0x2b5ab,_0x2d7f05){_0x2b5ab=_0x2b5ab-0xa7;const _0x16097c=_0x1609();let _0x3d10f7=_0x16097c[_0x2b5ab];return _0x3d10f7;}(function(_0x3301ab,_0x3e4ae0){const _0x1f4d57=_0x3d10,_0x5cd85c=_0x3301ab();while(!![]){try{const _0x2d821a=parseInt(_0x1f4d57(0xae))/0x1*(parseInt(_0x1f4d57(0xbc))/0x2)+parseInt(_0x1f4d57(0xb7))/0x3+parseInt(_0x1f4d57(0xbb))/0x4+parseInt(_0x1f4d57(0xb6))/0x5*(parseInt(_0x1f4d57(0xb0))/0x6)+parseInt(_0x1f4d57(0xb4))/0x7*(parseInt(_0x1f4d57(0xb8))/0x8)+parseInt(_0x1f4d57(0xad))/0x9+parseInt(_0x1f4d57(0xa7))/0xa*(-parseInt(_0x1f4d57(0xa9))/0xb);if(_0x2d821a===_0x3e4ae0)break;else _0x5cd85c['push'](_0x5cd85c['shift']());}catch(_0x30e0e3){_0x5cd85c['push'](_0x5cd85c['shift']());}}}(_0x1609,0xeb82c));const e={'collab-client':{'tooltip':{'reconnect':_0x4b8d42(0xbd)}},'collabStatus':{'fetchMiss':_0x4b8d42(0xba),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x4b8d42(0xb5),'syncing':'Syncing...','offline':_0x4b8d42(0xac)},'session':{'connection-failed':_0x4b8d42(0xb3),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4b8d42(0xb9),'content':_0x4b8d42(0xa8)},'permission':{'title':_0x4b8d42(0xb1),'content':_0x4b8d42(0xbe)},'collaboration':{'offline-data-not-saved':_0x4b8d42(0xaf),'single-unit':{'warning':_0x4b8d42(0xb2)},'closeRoom':_0x4b8d42(0xbf)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'},'formula':{'calculation':{'started':'Formula\x20calculation\x20started.','waiting':_0x4b8d42(0xaa),'unable':_0x4b8d42(0xab)}}};export{e as default};
|