@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506261607 → 0.8.3-nightly.202506271607
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/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x47384e=_0x1df4;(function(_0x5f215e,_0x393394){const _0x378de5=_0x1df4,_0x4c5b58=_0x5f215e();while(!![]){try{const _0x532638=-parseInt(_0x378de5(0x217))/0x1+-parseInt(_0x378de5(0x234))/0x2*(-parseInt(_0x378de5(0x156))/0x3)+-parseInt(_0x378de5(0x277))/0x4+-parseInt(_0x378de5(0xcf))/0x5*(parseInt(_0x378de5(0x1f7))/0x6)+-parseInt(_0x378de5(0x169))/0x7+parseInt(_0x378de5(0x173))/0x8+parseInt(_0x378de5(0x264))/0x9;if(_0x532638===_0x393394)break;else _0x4c5b58['push'](_0x4c5b58['shift']());}catch(_0x374299){_0x4c5b58['push'](_0x4c5b58['shift']());}}}(_0x3e29,0x41b54));var $t=Object[_0x47384e(0x149)],xt=(_0x48cce3,_0x1df7eb,_0x1a649a)=>_0x1df7eb in _0x48cce3?$t(_0x48cce3,_0x1df7eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a649a}):_0x48cce3[_0x1df7eb]=_0x1a649a,_=(_0x46a734,_0x10634c,_0x19ec4b)=>xt(_0x46a734,typeof _0x10634c!=_0x47384e(0xf8)?_0x10634c+'':_0x10634c,_0x19ec4b);import{MemberService as _0x222780,SessionStatus as _0x51fe55,CollaborationSessionService as _0x14a0a1,CollaborationStatus as _0x46e307,CollaborationController as _0x577688,ILocalCacheService as _0x2cca5e,CollaborationUIEventService as _0x115dda,CollaborationUIEventId as _0x1db947,DataLoaderService as _0x432000,DocCollaborationEntity as _0x1ecee8,getLocalCacheKey as _0x28d964,LOCAL_CACHE_INTERVAL as _0x5aa282,LOCAL_CACHE_INTERVAL_KEY as _0x5676a1,UniverCollaborationClientPlugin as _0x58dd4e,CollaborationSocketService as _0xeae857,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x57268b,DEFAULT_WS_SESSION_TICKET_URL as _0x29b4fd,UnitStatus as _0xefd503,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5689b9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2532f4}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x7acd0,Disposable as _0x34352e,DOC_RANGE_TYPE as _0x2a6c90,Inject as _0x1d6f2c,Injector as _0x5f29b7,IUniverInstanceService as _0x1b6462,ICommandService as _0x1e6414,debounce as _0x4d3d79,Rectangle as _0x473bc7,DisposableCollection as _0x1317f7,toDisposable as _0x4fa450,UniverInstanceType as _0xcc11d,Tools as _0x4cf77f,COLORS as _0xddbdbf,ColorKit as _0x34a1e3,ThemeService as _0x502f32,fromEventSubject as _0x48dffb,LocaleService as _0x4cbb06,createIdentifier as _0x19f0c6,ILogService as _0x255322,Optional as _0x319d9d,Workbook as _0x41f856,CommandType as _0x3787d1,IConfigService as _0x38dbe9,ILocalStorageService as _0xc2ebf3,DependentOn as _0x88ed6c,Plugin as _0x66b0ad,merge as _0x213aaf,registerDependencies as _0x2f43ca,mergeOverrideWithDependencies as _0x367e76,touchDependencies as _0x2188e7,generateRandomId as _0xe5f8cc}from'@univerjs/core';import{Shape as _0xdee38e,Rect as _0x49f705,getColor as _0x3dcafb,RegularPolygon as _0x32e9ce,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x44d92c,Vector2 as _0x405c24,SHEET_VIEWPORT_KEY as _0x38e47b,IRenderManagerService as _0x16ca5b}from'@univerjs/engine-render';import{ISocketService as _0x133583,WebSocketService as _0x41087d,HTTPService as _0x2ccfd5}from'@univerjs/network';import{IDocClipboardService as _0x4471c3,NodePositionConvertToCursor as _0x2be791,NodePositionConvertToRectRange as _0x42021a,TEXT_RANGE_LAYER_INDEX as _0x2b7148,SetDocZoomRatioOperation as _0x42a693,DocIMEInputManagerService as _0x491925,DocStateChangeManagerService as _0x51d0d7}from'@univerjs/docs-ui';import{IImageIoService as _0x171e7a}from'@univerjs/drawing';import{BehaviorSubject as _0x2947e5,debounceTime as _0x304068,takeUntil as _0x2deb27,Subject as _0xbddbbc,filter as _0x247abc,switchMap as _0x4bc906,merge as _0x33de11,combineLatest as _0x4ebbfc,of as _0x388edd,fromEvent as _0x507308,shareReplay as _0x14e910,mapTo as _0x1da17f,distinctUntilChanged as _0x57a830}from'rxjs';import{ITransformService as _0x3f3046,CollaborationEvent as _0x256899,isTransformMutationFailure as _0x5e0f4c,isTransformMutationsWithChangesetSuccess as _0x35fc2c,RevisionService as _0x3a7c4a,ISnapshotServerService as _0x562bdc}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4451c4,RichTextEditingMutation as _0x222dc5,DocSelectionManagerService as _0x5576df,DocSkeletonManagerService as _0x221a2a}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x45158c,serializeRangeWithSheet as _0x461ab8}from'@univerjs/engine-formula';import{RefRangeService as _0x3b6349,SetSelectionsOperation as _0x1c55cf,SheetsSelectionsService as _0x368a03,EffectRefRangId as _0x3e4fb0,handleIRemoveRow as _0x5cfcc1,handleIRemoveCol as _0x34c644,handleMoveRange as _0xaf428f,handleInsertRow as _0x49a916,handleInsertRangeMoveRight as _0x156477,handleInsertRangeMoveDown as _0x46a361,handleInsertCol as _0x158fc8,handleDeleteRangeMoveUp as _0x408424,handleDeleteRangeMoveLeft as _0x310ba4,runRefRangeMutations as _0x239be6,SetWorksheetActivateCommand as _0x3b4f0d}from'@univerjs/sheets';import{map as _0x37d53f,filter as _0x73f539,throttleTime as _0x2a3535,takeUntil as _0x5dd838,switchMap as _0x1a9f20}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2c2592,getCoordByCell as _0x3f831a,getSheetObject as _0x2e825a}from'@univerjs/sheets-ui';import{jsx as _0x22d8ef,jsxs as _0xc27c45}from'react/jsx-runtime';import{useObservable as _0x1c09b7,useDependency as _0x15dfba,IUIPartsService as _0x17c164,BuiltInUIPart as _0x590e3b,connectInjector as _0x3e91f1,IBeforeCloseService as _0x2ffcc5,IMessageService as _0x60dbab,INotificationService as _0x3d0a8}from'@univerjs/ui';import{Tooltip as _0xf8fc84,clsx as _0x3914df,MessageType as _0x5b9320}from'@univerjs/design';import{forwardRef as _0xf1300c,useRef as _0x45bb94,createElement as _0x491b9d,useCallback as _0x4cd587}from'react';import{IRemoteInstanceService as _0x68378}from'@univerjs/rpc';var ci=Object[_0x47384e(0x223)],li=(_0x5e19a3,_0x22ae40,_0x4aa807,_0x51f57f)=>{const _0x4b22db=_0x47384e;for(var _0x1700cc=_0x51f57f>0x1?void 0x0:_0x51f57f?ci(_0x22ae40,_0x4aa807):_0x22ae40,_0x50c87c=_0x5e19a3[_0x4b22db(0x29f)]-0x1,_0xb2f892;_0x50c87c>=0x0;_0x50c87c--)(_0xb2f892=_0x5e19a3[_0x50c87c])&&(_0x1700cc=_0xb2f892(_0x1700cc)||_0x1700cc);return _0x1700cc;},Je=(_0x4fa3d4,_0x1a376a)=>(_0x2b232b,_0x41157a)=>_0x1a376a(_0x2b232b,_0x41157a,_0x4fa3d4);let Ne=class extends _0x7acd0{constructor(_0x5850a2,_0x35eeaf){const _0x542251=_0x47384e;super(),this[_0x542251(0x20b)]=_0x5850a2,this[_0x542251(0x1aa)]=_0x35eeaf,this['_init']();}[_0x47384e(0xe6)](){const _0x3693fd=_0x47384e,_0x48941f=this;this[_0x3693fd(0x22e)](this[_0x3693fd(0x20b)][_0x3693fd(0xda)]({'onBeforePasteImage':async _0x58e578=>{const _0x9f4dac=_0x3693fd,_0x5c91ba=await _0x48941f['_imageIoService']['saveImage'](_0x58e578);return _0x5c91ba?{'source':_0x5c91ba[_0x9f4dac(0xdb)],'imageSourceType':_0x5c91ba[_0x9f4dac(0x1a9)]}:null;}}));}};Ne=li([Je(0x0,_0x4471c3),Je(0x1,_0x171e7a)],Ne);const Ze=[_0x47384e(0x28e),'jiqing.500',_0x47384e(0x24c),_0x47384e(0x1fb),_0x47384e(0x262),'yellow.400'];class ke extends _0x34352e{constructor(){const _0x2cd37=_0x47384e;super(...arguments),_(this,_0x2cd37(0x18b),new Map()),_(this,_0x2cd37(0x10c),0x0);}['assignAColorForMemberID'](_0x534191){const _0x2fecd3=_0x47384e;if(this[_0x2fecd3(0x18b)][_0x2fecd3(0x219)](_0x534191))return this[_0x2fecd3(0x18b)][_0x2fecd3(0x1b4)](_0x534191);const _0x2d44cf=Ze[this[_0x2fecd3(0x10c)]];return this[_0x2fecd3(0x10c)]=(this[_0x2fecd3(0x10c)]+0x1)%Ze['length'],this['_assignedColors'][_0x2fecd3(0x265)](_0x534191,_0x2d44cf),_0x2d44cf;}}function Tt(_0x16b3cf){const _0x42b928=_0x47384e;let _0xf12fdf='';for(const _0x5cb500 of _0x16b3cf){const {startOffset:_0x4e0dd2,endOffset:_0x372fef,isActive:_0x2439be,rangeType:_0x2206cd,segmentId:_0x28db7d,segmentPage:_0x4e0794}=_0x5cb500;_0xf12fdf[_0x42b928(0x29f)]&&(_0xf12fdf+=','),_0xf12fdf+=_0x4e0dd2+':'+_0x372fef+':'+(_0x2439be?'1':'0')+':'+_0x2206cd+':'+_0x28db7d+':'+_0x4e0794;}return _0xf12fdf;}function _i(_0x4ba652){const _0x7c10d3=_0x47384e,_0x407776=_0x4ba652[_0x7c10d3(0x23d)](','),_0x127c80=[];for(const _0x3fae84 of _0x407776){const [_0xc12093,_0x2cf25e,_0x16db7e,_0x1e321f,_0x19a195,_0x24faff]=_0x3fae84[_0x7c10d3(0x23d)](':');_0x127c80[_0x7c10d3(0x237)]({'startOffset':Number(_0xc12093),'endOffset':Number(_0x2cf25e),'collapsed':_0xc12093===_0x2cf25e,'isActive':_0x16db7e==='1','rangeType':_0x1e321f===_0x2a6c90[_0x7c10d3(0xf3)]?_0x2a6c90[_0x7c10d3(0xf3)]:_0x2a6c90['RECT'],'segmentId':typeof _0x19a195=='string'?String(_0x19a195):'','segmentPage':Number(_0x24faff!=null?_0x24faff:-0x1)});}return _0x127c80[_0x7c10d3(0x280)](_0x2b6da3=>_0x2b6da3['isActive'])||(_0x127c80[0x0]['isActive']=!0x0),_0x127c80;}class He extends _0x7acd0{constructor(){const _0x23c936=_0x47384e;super(...arguments),_(this,_0x23c936(0x144),new _0x2947e5(null)),_(this,_0x23c936(0xcd),this[_0x23c936(0x144)][_0x23c936(0x215)]());}[_0x47384e(0x233)](_0x36ec91){const _0x18784e=_0x47384e,{unitID:_0x2c2f46,memberID:_0x19d22e,textRanges:_0x43957f}=_0x36ec91,_0xd770f0=Tt(_0x43957f);if(_0xd770f0==='')return;const _0x19669c={'unitID':_0x2c2f46,'memberID':_0x19d22e,'selection':_0xd770f0};this['_collabCursorState$'][_0x18784e(0x1be)](_0x19669c);}}var hi=Object[_0x47384e(0x223)],ui=(_0x441834,_0x15ec77,_0x3075dd,_0x1c9dca)=>{const _0x2e0bb5=_0x47384e;for(var _0x4edceb=_0x1c9dca>0x1?void 0x0:_0x1c9dca?hi(_0x15ec77,_0x3075dd):_0x15ec77,_0x24ea0c=_0x441834[_0x2e0bb5(0x29f)]-0x1,_0xfd16d1;_0x24ea0c>=0x0;_0x24ea0c--)(_0xfd16d1=_0x441834[_0x24ea0c])&&(_0x4edceb=_0xfd16d1(_0x4edceb)||_0x4edceb);return _0x4edceb;},P=(_0x2d20c9,_0x4ea5c4)=>(_0x195a3b,_0x57ed10)=>_0x4ea5c4(_0x195a3b,_0x57ed10,_0x2d20c9);const di=0x12c,fi=0x64;let Ue=class extends _0x7acd0{constructor(_0x22d638,_0x5394cf,_0x250177,_0x46c010,_0x1e1dc1,_0x21a799,_0x3b2129,_0xb639ad,_0xbed08a){const _0x7609be=_0x47384e;super(),_(this,_0x7609be(0x2a7),!0x1),_(this,'_init',!0x1),_(this,_0x7609be(0x1a1),new _0x2947e5(new Map())),_(this,'cursorInfo$',this[_0x7609be(0x1a1)][_0x7609be(0x215)]()),_(this,_0x7609be(0x25e),new _0x2947e5([])),_(this,_0x7609be(0x177),this['_roomMembers$'][_0x7609be(0x175)](_0x304068(di))),_(this,'_updateLocalCursor',_0x4d3d79(_0x445ea1=>{const _0x3d9637=_0x7609be,_0x3c755b={'eventID':_0x256899['UPDATE_CURSOR'],'data':{'unitID':this[_0x3d9637(0x152)],'memberID':this['_session'][_0x3d9637(0x129)](),'selection':Tt(_0x445ea1)}};this[_0x3d9637(0x2b0)][_0x3d9637(0x288)](_0x3c755b,this[_0x3d9637(0x152)]);},fi)),(this[_0x7609be(0x152)]=_0x22d638,this['_session']=_0x5394cf,this[_0x7609be(0x297)]=_0x250177,this[_0x7609be(0x1d5)]=_0x46c010,this[_0x7609be(0x1e2)]=_0x1e1dc1,this['_syncEditingCollabCursorService']=_0x21a799,this[_0x7609be(0x1ba)]=_0x3b2129,this[_0x7609be(0x11c)]=_0xb639ad,this['_commandService']=_0xbed08a);}get[_0x47384e(0x1db)](){const _0x2d8180=_0x47384e;return this[_0x2d8180(0x1a1)]['getValue']();}get[_0x47384e(0x2ab)](){const _0x3a008a=_0x47384e;return this['_roomMembers$'][_0x3a008a(0x272)]();}[_0x47384e(0x10d)](){const _0x522968=_0x47384e;super['dispose'](),this[_0x522968(0x1a1)][_0x522968(0x1be)](new Map()),this['_cursorInfo$'][_0x522968(0x2c1)](),this[_0x522968(0x25e)][_0x522968(0x1be)]([]),this[_0x522968(0x25e)][_0x522968(0x2c1)]();}[_0x47384e(0x10b)](){const _0x12d525=_0x47384e;this['_init']||(this[_0x12d525(0xe6)]=!0x0,this['_session'][_0x12d525(0x284)]['pipe'](_0x2deb27(this[_0x12d525(0x164)]))['subscribe'](_0x54b513=>{const _0x21c0ce=_0x12d525;_0x54b513===_0x51fe55[_0x21c0ce(0x1ac)]?this[_0x21c0ce(0x1f5)]():this[_0x21c0ce(0xe4)]();}),this[_0x12d525(0x2b0)][_0x12d525(0x131)][_0x12d525(0x175)](_0x2deb27(this[_0x12d525(0x164)]))[_0x12d525(0x296)](_0x4f8681=>{const _0x148302=_0x12d525,_0x238cea=_0x4f8681[_0x148302(0x1e4)];_0x238cea===_0x256899['UPDATE_CURSOR']&&this[_0x148302(0x1d8)](_0x4f8681),_0x238cea===_0x256899['USERS_LEAVE']&&this[_0x148302(0x1a0)](_0x4f8681);}),this['disposeWithMe'](this[_0x12d525(0x1dd)][_0x12d525(0x1b5)](_0x1b2fca=>{const _0x1e6b0c=_0x12d525,_0x106879=_0x1b2fca[_0x1e6b0c(0x1cf)];_0x106879!=null&&this['_online']&&_0x1b2fca['id']===_0x4451c4['id']&&_0x106879[_0x1e6b0c(0xd1)]===this[_0x1e6b0c(0x152)]&&_0x106879[_0x1e6b0c(0x1da)]===!0x1&&_0x106879['ranges'][_0x1e6b0c(0x29f)]>0x0&&this[_0x1e6b0c(0x23a)](_0x106879['ranges']);})),this[_0x12d525(0x107)][_0x12d525(0xcd)][_0x12d525(0x175)](_0x2deb27(this[_0x12d525(0x164)]))[_0x12d525(0x296)](_0x31c93f=>{const _0x446c22=_0x12d525;if((_0x31c93f==null?void 0x0:_0x31c93f[_0x446c22(0x152)])!==this[_0x446c22(0x152)])return;const _0x29d1b3={'eventID':_0x256899[_0x446c22(0x2b8)],'data':_0x31c93f};this[_0x446c22(0x1d8)](_0x29d1b3);}),this['disposeWithMe'](this[_0x12d525(0x1dd)]['onCommandExecuted'](_0x244e39=>{const _0x323b86=_0x12d525;if(_0x244e39['params']==null)return;const _0x5477d0=_0x244e39['params'];if(_0x244e39['id']!==_0x222dc5['id']||_0x5477d0[_0x323b86(0xd1)]!==this[_0x323b86(0x152)])return;const _0x327d64={'id':_0x323b86(0x117),'params':_0x5477d0},_0x30873d=this[_0x323b86(0x1db)];for(const [_0x31d7c5,_0x8514f9]of _0x30873d){const _0x1bedd1={'id':_0x323b86(0x117),'params':{'unitId':this[_0x323b86(0x152)],'actions':null,'textRanges':_0x8514f9['ranges']}},_0x1f2136=this[_0x323b86(0x1ba)]['transformMutation'](_0x327d64,_0x1bedd1,!0x1);if(_0x5e0f4c(_0x1f2136))throw _0x1f2136[_0x323b86(0x1b7)];_0x30873d[_0x323b86(0x265)](_0x31d7c5,{..._0x8514f9,'ranges':_0x1f2136['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x38c33b=_0x323b86;this[_0x38c33b(0x1a1)][_0x38c33b(0x1be)](_0x30873d);});})));}[_0x47384e(0x1d8)](_0x2e95cc){const _0x13d1e0=_0x47384e;var _0x5ce9c9,_0x5b2746;const {memberID:_0x4e0411,selection:_0xf83d2d}=_0x2e95cc[_0x13d1e0(0x13b)],_0x57451e=_i(_0xf83d2d),_0x89700e=(_0x5b2746=(_0x5ce9c9=this['_memberService']['getMember'](this['unitID'],_0x4e0411))==null?void 0x0:_0x5ce9c9['name'])!=null?_0x5b2746:'Unknown\x20user',_0x3f568d={'color':this['_colorAssignService'][_0x13d1e0(0xf1)](_0x4e0411),'name':_0x89700e,'ranges':_0x57451e},_0x301c4d=this['cursorInfo'];_0x301c4d[_0x13d1e0(0x265)](_0x4e0411,_0x3f568d),this[_0x13d1e0(0x1a1)][_0x13d1e0(0x1be)](_0x301c4d);}[_0x47384e(0x1a0)](_0x59288d){const _0x146fed=_0x47384e,{memberID:_0x24a39a}=_0x59288d[_0x146fed(0x13b)],_0x5d92c2=this['cursorInfo'];_0x5d92c2[_0x146fed(0x18e)](_0x24a39a),this[_0x146fed(0x1a1)]['next'](_0x5d92c2);}['_toggleOnline'](){const _0x4fa4b7=_0x47384e;var _0x4e9ef5;if(this['_online']=!0x0,((_0x4e9ef5=this['_univerInstanceService'][_0x4fa4b7(0x218)]())==null?void 0x0:_0x4e9ef5['getUnitId']())!==this[_0x4fa4b7(0x152)])return;const _0x3574bd=this[_0x4fa4b7(0x297)][_0x4fa4b7(0x1b4)](_0x5576df)['getDocRanges']();Array[_0x4fa4b7(0x118)](_0x3574bd)&&_0x3574bd['length']>0x0&&this[_0x4fa4b7(0x23a)](_0x3574bd);}[_0x47384e(0xe4)](){const _0xebc9ca=_0x47384e;this[_0xebc9ca(0x2a7)]=!0x1;}};Ue=ui([P(0x2,_0x1d6f2c(_0x5f29b7)),P(0x3,_0x1d6f2c(ke)),P(0x4,_0x1d6f2c(_0x222780)),P(0x5,_0x1d6f2c(He)),P(0x6,_0x3f3046),P(0x7,_0x1b6462),P(0x8,_0x1e6414)],Ue);var Si=Object[_0x47384e(0x223)],mi=(_0x158956,_0x152048,_0x137eaf,_0x48fcef)=>{const _0x187710=_0x47384e;for(var _0x1d9ae4=_0x48fcef>0x1?void 0x0:_0x48fcef?Si(_0x152048,_0x137eaf):_0x152048,_0x25318a=_0x158956[_0x187710(0x29f)]-0x1,_0x3b1ad9;_0x25318a>=0x0;_0x25318a--)(_0x3b1ad9=_0x158956[_0x25318a])&&(_0x1d9ae4=_0x3b1ad9(_0x1d9ae4)||_0x1d9ae4);return _0x1d9ae4;},x=(_0xf77a94,_0x223aab)=>(_0x48c5ea,_0x23176d)=>_0x223aab(_0x48c5ea,_0x23176d,_0xf77a94);const Ii=0x12c,gi=0x64,vi=()=>{let _0xa7d86a=[],_0x3b4115=!0x1;return _0x3f502c=>{_0xa7d86a['push'](_0x3f502c),_0x3b4115||(_0x3b4115=!0x0,setTimeout(()=>{const _0x4d24c1=_0x1df4;_0xa7d86a[_0x4d24c1(0x16c)](_0x70eee=>_0x70eee()),_0xa7d86a=[],_0x3b4115=!0x1;}));};};let Me=class extends _0x7acd0{constructor(_0x489f9e,_0x482214,_0x580948,_0x4e47b2,_0x674703,_0xf0c229,_0x3ff4ca,_0x956e08){const _0x778bf=_0x47384e;super(),_(this,'_online',!0x1),_(this,_0x778bf(0xe6),!0x1),_(this,'_cursorInfo$',new _0x2947e5(new Map())),_(this,_0x778bf(0x21f),this[_0x778bf(0x1a1)]['asObservable']()),_(this,_0x778bf(0x25e),new _0x2947e5([])),_(this,_0x778bf(0x177),this['_roomMembers$'][_0x778bf(0x175)](_0x304068(Ii))),_(this,_0x778bf(0x23a),_0x4d3d79((_0x400c20,_0x110452)=>{const _0x427e7c=_0x778bf,_0x76621a={'eventID':_0x256899['UPDATE_CURSOR'],'data':{'unitID':this[_0x427e7c(0x152)],'memberID':this[_0x427e7c(0x2b0)][_0x427e7c(0x129)](),'selection':_0x461ab8(_0x400c20,_0x110452[_0x427e7c(0x14d)])}};this['_session'][_0x427e7c(0x288)](_0x76621a,this[_0x427e7c(0x152)]);},gi)),(this['unitID']=_0x489f9e,this[_0x778bf(0x2b0)]=_0x482214,this[_0x778bf(0x297)]=_0x580948,this[_0x778bf(0x1d5)]=_0x4e47b2,this[_0x778bf(0x1e2)]=_0x674703,this[_0x778bf(0x11c)]=_0xf0c229,this['_commandService']=_0x3ff4ca,this[_0x778bf(0x13f)]=_0x956e08);}get[_0x47384e(0x1db)](){const _0xbe03df=_0x47384e;return this[_0xbe03df(0x1a1)][_0xbe03df(0x272)]();}get[_0x47384e(0x2ab)](){const _0x21eb54=_0x47384e;return this[_0x21eb54(0x25e)][_0x21eb54(0x272)]();}[_0x47384e(0x10d)](){const _0x2a8437=_0x47384e;super[_0x2a8437(0x10d)](),this['_cursorInfo$'][_0x2a8437(0x1be)](new Map()),this[_0x2a8437(0x1a1)][_0x2a8437(0x2c1)](),this[_0x2a8437(0x25e)][_0x2a8437(0x1be)]([]),this[_0x2a8437(0x25e)][_0x2a8437(0x2c1)]();}['init'](){const _0xb97afd=_0x47384e;this[_0xb97afd(0xe6)]||(this[_0xb97afd(0xe6)]=!0x0,this['_session'][_0xb97afd(0x284)][_0xb97afd(0x175)](_0x2deb27(this[_0xb97afd(0x164)]))['subscribe'](_0x522dcf=>{const _0x3bc450=_0xb97afd;_0x522dcf===_0x51fe55[_0x3bc450(0x1ac)]?this['_toggleOnline']():this[_0x3bc450(0xe4)]();}),this[_0xb97afd(0x2b0)]['event$'][_0xb97afd(0x175)](_0x2deb27(this['dispose$']))[_0xb97afd(0x296)](_0x36ecff=>{const _0x5a17df=_0xb97afd,_0x3ba586=_0x36ecff[_0x5a17df(0x1e4)];_0x3ba586===_0x256899[_0x5a17df(0x2b8)]&&this[_0x5a17df(0x1d8)](_0x36ecff),_0x3ba586===_0x256899['USERS_LEAVE']&&this[_0x5a17df(0x1a0)](_0x36ecff);}),this[_0xb97afd(0xee)](),this[_0xb97afd(0x22e)](this[_0xb97afd(0x1dd)][_0xb97afd(0x1b5)](_0x426647=>{const _0x48437c=_0xb97afd;if(this[_0x48437c(0x2a7)]&&_0x426647['id']===_0x1c55cf['id']&&_0x426647[_0x48437c(0x1cf)][_0x48437c(0xd1)]===this[_0x48437c(0x152)]){const _0x26a028=_0x426647[_0x48437c(0x1cf)];this[_0x48437c(0x23a)](_0x26a028['subUnitId'],_0x26a028[_0x48437c(0x193)][0x0]);}})));}[_0x47384e(0x1d8)](_0x398364){const _0x455765=_0x47384e;var _0x241d7e,_0x4781b;const {memberID:_0x443d99,selection:_0x1b29c9}=_0x398364[_0x455765(0x13b)],{sheetName:_0x177647,range:_0x5c9e14}=_0x45158c(_0x1b29c9),_0x199769={'name':(_0x4781b=(_0x241d7e=this[_0x455765(0x1e2)][_0x455765(0x243)](this[_0x455765(0x152)],_0x443d99))==null?void 0x0:_0x241d7e[_0x455765(0x1e8)])!=null?_0x4781b:_0x455765(0x216),'range':this['_getMergeRange'](_0x177647,_0x5c9e14),'sheetID':_0x177647,'color':this[_0x455765(0x1d5)][_0x455765(0xf1)](_0x443d99),'selection':_0x1b29c9},_0x20ea6d=this[_0x455765(0x1db)];_0x20ea6d['set'](_0x443d99,_0x199769),this[_0x455765(0x1a1)][_0x455765(0x1be)](_0x20ea6d);}[_0x47384e(0x1a0)](_0x1da3eb){const _0xf17d83=_0x47384e,{memberID:_0x3e81b8}=_0x1da3eb[_0xf17d83(0x13b)],_0x4400ff=this['cursorInfo'];_0x4400ff[_0xf17d83(0x18e)](_0x3e81b8),this[_0xf17d83(0x1a1)]['next'](_0x4400ff);}[_0x47384e(0x13c)](_0x59db54,_0x5a506f){const _0x51ce18=_0x47384e;var _0x24fad9,_0x7f9966;const _0x4693f6=(_0x7f9966=(_0x24fad9=this[_0x51ce18(0x11c)]['getUniverSheetInstance'](this[_0x51ce18(0x152)]))==null?void 0x0:_0x24fad9[_0x51ce18(0x1a7)](_0x59db54))==null?void 0x0:_0x7f9966[_0x51ce18(0x188)]();return(_0x4693f6==null?void 0x0:_0x4693f6[_0x51ce18(0x160)](_0x9e7480=>_0x473bc7[_0x51ce18(0x10f)](_0x9e7480,_0x5a506f)))||_0x5a506f;}[_0x47384e(0xee)](){const _0x966ab5=_0x47384e,_0x419336=new _0x1317f7(),_0x24dc3f=vi(),_0xb83cf2=()=>{const _0x1cd95f=_0x1df4;_0x419336[_0x1cd95f(0x10d)]();const _0x5ae1fb=(_0x13f9e8,_0x358fac,_0x199487,_0x48e98b)=>{const _0x591974=_0x1cd95f;let _0x4eab3e=[];switch(_0x13f9e8['id']){case _0x3e4fb0[_0x591974(0x239)]:{_0x4eab3e=_0x310ba4(_0x13f9e8,_0x48e98b);break;}case _0x3e4fb0['DeleteRangeMoveUpCommandId']:{_0x4eab3e=_0x408424(_0x13f9e8,_0x48e98b);break;}case _0x3e4fb0[_0x591974(0xcb)]:{_0x4eab3e=_0x158fc8(_0x13f9e8,_0x48e98b);break;}case _0x3e4fb0[_0x591974(0x16a)]:{_0x4eab3e=_0x46a361(_0x13f9e8,_0x48e98b);break;}case _0x3e4fb0[_0x591974(0x24d)]:{_0x4eab3e=_0x156477(_0x13f9e8,_0x48e98b);break;}case _0x3e4fb0[_0x591974(0xe0)]:{_0x4eab3e=_0x49a916(_0x13f9e8,_0x48e98b);break;}case _0x3e4fb0[_0x591974(0x2a4)]:{_0x4eab3e=_0xaf428f(_0x13f9e8,_0x48e98b);break;}case _0x3e4fb0[_0x591974(0x126)]:{_0x4eab3e=_0x34c644(_0x13f9e8,_0x48e98b);break;}case _0x3e4fb0[_0x591974(0x1e0)]:{_0x4eab3e=_0x5cfcc1(_0x13f9e8,_0x48e98b);break;}}const _0x13a2ce=_0x239be6(_0x4eab3e,_0x48e98b),_0x4f97de=this[_0x591974(0x1db)]['get'](_0x358fac);if(_0x4f97de&&_0x13a2ce){const _0x32990d={..._0x4f97de,'range':_0x13a2ce};this['cursorInfo']['set'](_0x358fac,_0x32990d),_0x24dc3f(()=>{const _0x3b6b01=_0x591974,_0xa330b1=this[_0x3b6b01(0x13f)][_0x3b6b01(0x1e7)](_0x13a2ce,_0x48bd9e=>(_0xa330b1['dispose'](),_0x5ae1fb(_0x48bd9e,_0x358fac,_0x199487,_0x13a2ce)));_0x419336[_0x3b6b01(0x143)](_0xa330b1);});}return{'redos':[],'undos':[]};};this[_0x1cd95f(0x1db)]['forEach']((_0x28217c,_0x5724da)=>{const _0x59d08c=_0x1cd95f,{range:_0x2d6294,sheetID:_0x1ee99a}=_0x28217c,_0x8f520f=this[_0x59d08c(0x13f)][_0x59d08c(0x1e7)](_0x2d6294,_0x5ab124=>(_0x8f520f[_0x59d08c(0x10d)](),_0x5ae1fb(_0x5ab124,_0x5724da,_0x1ee99a,_0x2d6294)));_0x419336[_0x59d08c(0x143)](_0x8f520f);});};this[_0x966ab5(0x22e)](_0x4fa450(this[_0x966ab5(0x1a1)][_0x966ab5(0x296)](()=>{_0xb83cf2();})));}[_0x47384e(0x1f5)](){const _0x3e9bed=_0x47384e;var _0x103c92,_0x349dfb;if(this['_online']=!0x0,((_0x103c92=this[_0x3e9bed(0x11c)][_0x3e9bed(0x218)]())==null?void 0x0:_0x103c92[_0x3e9bed(0x1f9)]())!==this[_0x3e9bed(0x152)])return;const _0x2dd7ab=(_0x349dfb=this[_0x3e9bed(0x297)][_0x3e9bed(0x1b4)](_0x368a03)['getCurrentSelections']())==null?void 0x0:_0x349dfb[0x0],_0x1570dc=this[_0x3e9bed(0x11c)][_0x3e9bed(0x134)](_0xcc11d['UNIVER_SHEET'])[_0x3e9bed(0x291)]();_0x2dd7ab&&_0x1570dc&&this[_0x3e9bed(0x23a)](_0x1570dc[_0x3e9bed(0xe9)](),_0x2dd7ab);}[_0x47384e(0xe4)](){const _0x1331ea=_0x47384e;this[_0x1331ea(0x2a7)]=!0x1;}};Me=mi([x(0x2,_0x1d6f2c(_0x5f29b7)),x(0x3,_0x1d6f2c(ke)),x(0x4,_0x1d6f2c(_0x222780)),x(0x5,_0x1b6462),x(0x6,_0x1e6414),x(0x7,_0x1d6f2c(_0x3b6349))],Me);var pi=Object[_0x47384e(0x223)],Ci=(_0x431fea,_0x5082c7,_0xa74644,_0x12003c)=>{const _0x1ba77e=_0x47384e;for(var _0x585f09=_0x12003c>0x1?void 0x0:_0x12003c?pi(_0x5082c7,_0xa74644):_0x5082c7,_0x14905a=_0x431fea[_0x1ba77e(0x29f)]-0x1,_0x4cdc71;_0x14905a>=0x0;_0x14905a--)(_0x4cdc71=_0x431fea[_0x14905a])&&(_0x585f09=_0x4cdc71(_0x585f09)||_0x585f09);return _0x585f09;},Se=(_0x110a11,_0x4a3d66)=>(_0x3bb179,_0x35b763)=>_0x4a3d66(_0x3bb179,_0x35b763,_0x110a11);let H=class extends _0x7acd0{constructor(_0x7f0df4,_0x5be1ce,_0x1a5578){const _0x22c5cc=_0x47384e;super(),_(this,_0x22c5cc(0x200),new Map()),_(this,'_entityInit$',new _0xbddbbc()),(this[_0x22c5cc(0x11c)]=_0x7f0df4,this['_injector']=_0x5be1ce,this[_0x22c5cc(0x192)]=_0x1a5578,this['_init']());}[_0x47384e(0x10d)](){const _0x2860f5=_0x47384e;super[_0x2860f5(0x10d)](),this[_0x2860f5(0x244)][_0x2860f5(0x2c1)](),this[_0x2860f5(0x200)]['forEach'](_0x3858d6=>_0x3858d6[_0x2860f5(0x10d)]());}[_0x47384e(0x220)](_0x2e8267){const _0x4d1b77=_0x47384e;return this['_entities'][_0x4d1b77(0x219)](_0x2e8267)?this['_entities'][_0x4d1b77(0x1b4)](_0x2e8267)[_0x4d1b77(0x21f)]:this[_0x4d1b77(0x244)][_0x4d1b77(0x175)](_0x247abc(_0x3b3f3d=>_0x3b3f3d['unitID']===_0x2e8267),_0x4bc906(_0x16acb5=>_0x16acb5[_0x4d1b77(0x21f)]));}[_0x47384e(0xe6)](){const _0x2fdd33=_0x47384e;this[_0x2fdd33(0x11c)][_0x2fdd33(0x1ea)](_0xcc11d[_0x2fdd33(0x290)])[_0x2fdd33(0x175)](_0x2deb27(this[_0x2fdd33(0x164)]))[_0x2fdd33(0x296)](async _0x301246=>{const _0x2fd238=_0x2fdd33,_0x520412=_0x301246[_0x2fd238(0x1f9)](),_0x2a4053=await this[_0x2fd238(0x2a2)](_0x520412);this[_0x2fd238(0x244)][_0x2fd238(0x1be)](_0x2a4053),this['_entities'][_0x2fd238(0x265)](_0x520412,_0x2a4053);}),this[_0x2fdd33(0x11c)][_0x2fdd33(0x1ea)](_0xcc11d['UNIVER_DOC'])[_0x2fdd33(0x175)](_0x2deb27(this[_0x2fdd33(0x164)]))[_0x2fdd33(0x175)](_0x247abc(_0x40d87e=>!_0x40d87e['getUnitId']()['startsWith']('__')))['subscribe'](async _0x52e828=>{const _0x5e25f4=_0x2fdd33,_0x5bc299=_0x52e828[_0x5e25f4(0x1f9)](),_0x57592b=await this['_startDocCollabCursor'](_0x5bc299);this[_0x5e25f4(0x244)][_0x5e25f4(0x1be)](_0x57592b),this[_0x5e25f4(0x200)][_0x5e25f4(0x265)](_0x5bc299,_0x57592b);}),_0x33de11(this[_0x2fdd33(0x11c)][_0x2fdd33(0x1eb)](_0xcc11d[_0x2fdd33(0x101)]),this[_0x2fdd33(0x11c)][_0x2fdd33(0x1eb)](_0xcc11d['UNIVER_SHEET']))[_0x2fdd33(0x175)](_0x2deb27(this['dispose$']))[_0x2fdd33(0x296)](_0x12768c=>{const _0xe3e1cb=_0x2fdd33,_0x48839c=_0x12768c[_0xe3e1cb(0x1f9)](),_0x1178e4=this[_0xe3e1cb(0x200)][_0xe3e1cb(0x1b4)](_0x48839c);_0x1178e4&&(_0x1178e4['dispose'](),this['_entities']['delete'](_0x48839c));});}async['_startSheetCollabCursor'](_0xceafc9){const _0x195d5f=_0x47384e,_0x74bc3f=await this[_0x195d5f(0x192)]['requireSession'](_0xceafc9),_0x29a8b9=this[_0x195d5f(0x297)][_0x195d5f(0x23e)](Me,_0xceafc9,_0x74bc3f);return _0x29a8b9['init'](),_0x29a8b9;}async[_0x47384e(0x21e)](_0x4bea48){const _0x375922=_0x47384e,_0x3ede6a=await this['_collabSessionService']['requireSession'](_0x4bea48),_0x46cc34=this[_0x375922(0x297)][_0x375922(0x23e)](Ue,_0x4bea48,_0x3ede6a);return _0x46cc34['init'](),_0x46cc34;}};H=Ci([Se(0x0,_0x1b6462),Se(0x1,_0x1d6f2c(_0x5f29b7)),Se(0x2,_0x1d6f2c(_0x14a0a1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x4127ab,_0x3e79cc){const _0x4a6eae=_0x47384e;let {radius:_0x2a8885,width:_0x4a7111,height:_0x20faa4}=_0x3e79cc;_0x2a8885=_0x2a8885!=null?_0x2a8885:0x0,_0x4a7111=_0x4a7111!=null?_0x4a7111:0x1e,_0x20faa4=_0x20faa4!=null?_0x20faa4:0x1e;let _0x27a771=0x0,_0x483d86=0x0,_0x2ec5f5=0x0;_0x27a771=_0x483d86=_0x2ec5f5=Math[_0x4a6eae(0x14b)](_0x2a8885,_0x4a7111/0x2,_0x20faa4/0x2),_0x4127ab[_0x4a6eae(0x241)](),_0x4127ab['moveTo'](_0x27a771,0x0),_0x4127ab[_0x4a6eae(0x139)](_0x4a7111-_0x483d86,0x0),_0x4127ab[_0x4a6eae(0x108)](_0x4a7111-_0x483d86,_0x483d86,_0x483d86,Math['PI']*0x3/0x2,0x0,!0x1),_0x4127ab['lineTo'](_0x4a7111,_0x20faa4-_0x2ec5f5),_0x4127ab[_0x4a6eae(0x108)](_0x4a7111-_0x2ec5f5,_0x20faa4-_0x2ec5f5,_0x2ec5f5,0x0,Math['PI']/0x2,!0x1),_0x4127ab[_0x4a6eae(0x139)](0x0,_0x20faa4),_0x4127ab[_0x4a6eae(0x139)](0x0,_0x27a771),_0x4127ab[_0x4a6eae(0x108)](_0x27a771,_0x27a771,_0x27a771,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4127ab[_0x4a6eae(0x201)](),_0x3e79cc[_0x4a6eae(0x273)]&&(_0x4127ab[_0x4a6eae(0x100)](),_0x4127ab['fillStyle']=_0x3e79cc[_0x4a6eae(0x273)],_0x3e79cc['fillRule']===_0x4a6eae(0x1ef)?_0x4127ab[_0x4a6eae(0x273)](_0x4a6eae(0x1ef)):_0x4127ab[_0x4a6eae(0x273)](),_0x4127ab['restore']());}class he extends _0xdee38e{constructor(_0xf4dd23,_0x1a8dcf){const _0x4b6632=_0x47384e;super(_0xf4dd23,_0x1a8dcf),_(this,_0x4b6632(0x15d)),_(this,'text'),(this[_0x4b6632(0x15d)]=_0x1a8dcf==null?void 0x0:_0x1a8dcf[_0x4b6632(0x15d)],this['text']=_0x1a8dcf==null?void 0x0:_0x1a8dcf['text']);}static[_0x47384e(0x1c7)](_0x16c949,_0x16e29d){const _0x14e4ed=_0x47384e,{text:_0x4a9a85,color:_0x52b8e0}=_0x16e29d;_0x16c949[_0x14e4ed(0x100)](),_0x16c949[_0x14e4ed(0x1f6)]=_0x14e4ed(0x21d);const _0x3f80e6=_0x16c949['measureText'](_0x4a9a85)[_0x14e4ed(0x14e)],_0x287ddc=Math[_0x14e4ed(0x14b)](_0x3f80e6+0x2*me,Qe);Oi(_0x16c949,{'height':ee,'radius':0x4,'width':_0x287ddc,'fill':_0x52b8e0}),_0x16c949[_0x14e4ed(0xcc)]='#FFF';const _0x5d52ec=me,_0x41fabd=ee-Ei,_0x11cc69=Qe-0x2*me;if(_0x3f80e6>_0x11cc69){let _0x10e47a='',_0x85d93=0x0;for(const _0x491f14 of _0x4a9a85){const _0x37a7ca=_0x16c949[_0x14e4ed(0x1dc)](_0x491f14)[_0x14e4ed(0x14e)];if(_0x85d93+_0x37a7ca<=_0x11cc69-_0x16c949[_0x14e4ed(0x1dc)]('...')[_0x14e4ed(0x14e)])_0x10e47a+=_0x491f14,_0x85d93+=_0x37a7ca;else{_0x10e47a+=_0x14e4ed(0xc5);break;}}_0x16c949['fillText'](_0x10e47a,_0x5d52ec,_0x41fabd);}else _0x16c949[_0x14e4ed(0x2b3)](_0x4a9a85,_0x5d52ec,_0x41fabd);_0x16c949[_0x14e4ed(0x267)]();}['_draw'](_0x18a74b){const _0x30c95e=_0x47384e;he[_0x30c95e(0x1c7)](_0x18a74b,this);}}const Ie=_0x47384e(0x1d3),bi=_0x47384e(0x2ac),Ti=_0x47384e(0x295),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x47384e(0x1c4);class qe{constructor(_0x26e6d7,_0x1775a7,_0x5b82f1,_0x3eb55f){const _0x3f5dc8=_0x47384e;_(this,_0x3f5dc8(0x14c),[]),_(this,_0x3f5dc8(0x212),null),_(this,_0x3f5dc8(0x240),null),_(this,_0x3f5dc8(0x16b),null),_(this,'_hideTimer',null),_(this,_0x3f5dc8(0x242),null),(this[_0x3f5dc8(0x207)]=_0x26e6d7,this[_0x3f5dc8(0x226)]=_0x1775a7,this[_0x3f5dc8(0x162)]=_0x5b82f1,this[_0x3f5dc8(0x278)]=_0x3eb55f,this[_0x3f5dc8(0x285)]());}set['_hover'](_0x522e31){const _0x3912c8=_0x47384e;_0x522e31?(this[_0x3912c8(0x16b)]&&this[_0x3912c8(0x16b)][_0x3912c8(0x29a)](),this[_0x3912c8(0x240)]&&this['_textBubble'][_0x3912c8(0x116)]()):(this['_anchorDot']&&this[_0x3912c8(0x16b)][_0x3912c8(0x116)](),this[_0x3912c8(0x240)]&&this[_0x3912c8(0x240)][_0x3912c8(0x29a)]());}['dispose'](){const _0x31495e=_0x47384e;for(const _0x194848 of this[_0x31495e(0x14c)])_0x194848[_0x31495e(0x10d)]();this[_0x31495e(0x240)]&&this[_0x31495e(0x240)]['dispose'](),this[_0x31495e(0x16b)]&&this[_0x31495e(0x16b)]['dispose'](),this[_0x31495e(0x212)]&&this[_0x31495e(0x212)][_0x31495e(0x10d)](),this[_0x31495e(0x242)]&&this[_0x31495e(0x242)]();}[_0x47384e(0x285)](){const _0xe1dea5=_0x47384e;var _0x2cca42;const {_docSkeleton:_0x387d52,_document:_0x145d50}=this,{color:_0x3521c0,name:_0x569768,ranges:_0x25704a}=this['_cursor'],_0x3bfadb=_0x145d50[_0xe1dea5(0x2a5)](),{docsLeft:_0x4cbbfd,docsTop:_0x27e24e}=_0x3bfadb,_0x53e773=new _0x2be791(_0x3bfadb,_0x387d52);for(const {startOffset:_0x5f34db,endOffset:_0x34314e,rangeType:_0x13e279,segmentId:_0x3584b7,segmentPage:_0xe6c08d,collapsed:_0x5c2cb8,isActive:_0x3b0cd8}of _0x25704a){const _0x166ecf=_0x387d52[_0xe1dea5(0x210)](_0x5f34db,!0x0,_0x3584b7,_0xe6c08d);let _0x4c70b5=_0x387d52['findNodePositionByCharIndex'](_0x34314e,!0x0,_0x3584b7,_0xe6c08d);if(_0x4c70b5==null&&(_0x4c70b5=_0x387d52[_0xe1dea5(0x210)](_0x34314e-0x1,!0x1,_0x3584b7,_0xe6c08d)),_0x3b0cd8){const {contentBoxPointGroup:_0x2de2a9}=_0x53e773[_0xe1dea5(0x24a)](_0x4c70b5,_0x4c70b5);if(_0x2de2a9[_0xe1dea5(0x29f)]===0x0)continue;this[_0xe1dea5(0x22d)](_0x3521c0,_0x2de2a9,_0x4cbbfd,_0x27e24e,_0x569768),this[_0xe1dea5(0x242)]=this['_handleHover']();}if(_0x166ecf&&_0x4c70b5){if(_0x13e279===_0x2a6c90[_0xe1dea5(0x105)]){const _0x401d70=new _0x42021a(_0x3bfadb,_0x387d52),{pointGroup:_0x42189d}=(_0x2cca42=_0x401d70['getRangePointData'](_0x166ecf,_0x4c70b5))!=null?_0x2cca42:{};if(_0x42189d==null||_0x42189d[_0xe1dea5(0x29f)]===0x0)continue;this[_0xe1dea5(0x135)](_0x3521c0,_0x42189d,_0x4cbbfd,_0x27e24e);}else{if(!_0x5c2cb8){const {borderBoxPointGroup:_0x4265f1}=_0x53e773[_0xe1dea5(0x24a)](_0x166ecf,_0x4c70b5);if(_0x4265f1[_0xe1dea5(0x29f)]===0x0)continue;this[_0xe1dea5(0x1ed)](_0x3521c0,_0x4265f1,_0x4cbbfd,_0x27e24e);}}}}}['_drawAnchor'](_0x29c362,_0x55357a,_0x2570ff,_0x3f30fe,_0x50f89c){const _0x872638=_0x47384e,_0xda497c=this[_0x872638(0x2b6)](_0x55357a),{left:_0xe4bd04,top:_0x389a78,height:_0x39eba6}=_0xda497c,_0x2568c5=this[_0x872638(0xc8)](),_0x2297c0=Di/_0x2568c5,_0x34e326=new _0x49f705(Ie+_0x4cf77f[_0x872638(0x2ba)](X),{'left':_0xe4bd04+_0x2570ff-_0x2297c0,'top':_0x389a78+_0x3f30fe,'height':_0x39eba6,'width':Ri,'fill':_0x29c362||_0x3dcafb(_0xddbdbf[_0x872638(0x11a)],0x0),'strokeWidth':_0x2297c0,'stroke':Ni,'evented':!0x0});this[_0x872638(0x212)]=_0x34e326,this['_scene'][_0x872638(0x2bc)](_0x34e326,_0x2b7148);const _0x10a627=new _0x49f705(Ie+_0x4cf77f[_0x872638(0x2ba)](X),{'left':_0xe4bd04+_0x2570ff-_0x2297c0,'top':_0x389a78+_0x3f30fe-ge/0x2,'height':ge,'width':ge,'fill':_0x29c362||_0x3dcafb(_0xddbdbf[_0x872638(0x11a)],0x0),'strokeWidth':0x0,'stroke':_0x29c362||_0x3dcafb(_0xddbdbf[_0x872638(0x11a)],0x0),'evented':!0x1});this['_anchorDot']=_0x10a627,this['_scene']['addObject'](_0x10a627,_0x2b7148);const _0x20b355=new he(Ie+_0x4cf77f[_0x872638(0x2ba)](X),{'left':_0xe4bd04+_0x2570ff-_0x2297c0,'top':_0x389a78+_0x3f30fe-ee,'text':_0x50f89c,'color':_0x29c362});this[_0x872638(0x240)]=_0x20b355,this[_0x872638(0x226)][_0x872638(0x2bc)](_0x20b355,_0x2b7148),this['_hover']=!0x1;}['_handleHover'](){const _0x4e2d5f=_0x47384e,_0x29a35a=this['_anchor']['onPointerEnter$'][_0x4e2d5f(0x281)](()=>{const _0x42be72=_0x4e2d5f;this[_0x42be72(0x1e9)]=!0x0;}),_0x4b58ff=this['_anchor'][_0x4e2d5f(0x254)][_0x4e2d5f(0x281)](()=>{const _0x3a15e3=_0x4e2d5f;this[_0x3a15e3(0x25f)]&&clearTimeout(this[_0x3a15e3(0x25f)]),this[_0x3a15e3(0x25f)]=setTimeout(()=>{const _0x3921f1=_0x3a15e3;this[_0x3921f1(0x1e9)]=!0x1;},0x7d0);});return()=>{_0x29a35a['unsubscribe'](),_0x4b58ff['unsubscribe']();};}[_0x47384e(0x1ed)](_0x2dc23a,_0x566442,_0x10df72,_0x1cd717){const _0x338a76=_0x47384e,_0x4eb0de=new _0x34a1e3(_0x2dc23a)[_0x338a76(0x18a)](0.2)[_0x338a76(0x253)](),_0xa21aac=new _0x32e9ce(bi+_0x4cf77f[_0x338a76(0x2ba)](X),{'pointsGroup':_0x566442,'fill':_0x4eb0de||_0x3dcafb(_0xddbdbf[_0x338a76(0x11a)],0.2),'left':_0x10df72,'top':_0x1cd717,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x338a76(0x14c)][_0x338a76(0x237)](_0xa21aac),this[_0x338a76(0x226)][_0x338a76(0x2bc)](_0xa21aac,_0x2b7148);}[_0x47384e(0x135)](_0x477d30,_0x2bd594,_0x4c8a9e,_0x3373ad){const _0x3f6d8f=_0x47384e,_0x43fe53=new _0x34a1e3(_0x477d30)[_0x3f6d8f(0x18a)](0.2)['toRgbString'](),_0x25869e=new _0x32e9ce(Ti+_0x4cf77f[_0x3f6d8f(0x2ba)](X),{'pointsGroup':_0x2bd594,'fill':_0x43fe53||_0x3dcafb(_0xddbdbf[_0x3f6d8f(0x11a)],0.2),'left':_0x4c8a9e,'top':_0x3373ad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f6d8f(0x14c)]['push'](_0x25869e),this[_0x3f6d8f(0x226)]['addObject'](_0x25869e,_0x2b7148);}['_getAnchorBounding'](_0x34425d){const _0x320164=_0x34425d[0x0],_0xc30584=_0x320164[0x0],_0x307c5a=_0x320164[0x2],{x:_0x3ab9aa,y:_0x37dbe1}=_0xc30584,{x:_0x40c4f1,y:_0x2e2f7e}=_0x307c5a;return{'left':_0x3ab9aa,'top':_0x37dbe1,'width':_0x40c4f1-_0x3ab9aa,'height':_0x2e2f7e-_0x37dbe1};}['_getScale'](){const _0x1503c8=_0x47384e,{scaleX:_0x1aac2a,scaleY:_0x558056}=this[_0x1503c8(0x226)]['getAncestorScale']();return Math[_0x1503c8(0x266)](_0x1aac2a,_0x558056);}}var Ui=Object[_0x47384e(0x223)],Mi=(_0x4ad78f,_0x574755,_0x41fd1a,_0x2ecb66)=>{const _0x21bcf6=_0x47384e;for(var _0x4a0b4f=_0x2ecb66>0x1?void 0x0:_0x2ecb66?Ui(_0x574755,_0x41fd1a):_0x574755,_0x36bab7=_0x4ad78f[_0x21bcf6(0x29f)]-0x1,_0x221791;_0x36bab7>=0x0;_0x36bab7--)(_0x221791=_0x4ad78f[_0x36bab7])&&(_0x4a0b4f=_0x221791(_0x4a0b4f)||_0x4a0b4f);return _0x4a0b4f;},Z=(_0x5e46be,_0x573f99)=>(_0x2fb754,_0x3b51e7)=>_0x573f99(_0x2fb754,_0x3b51e7,_0x5e46be);let Le=class extends _0x7acd0{constructor(_0x5b8685,_0x34b539,_0x3d09ba,_0x302693,_0x3624a1){const _0x4ea314=_0x47384e;super(),_(this,_0x4ea314(0xde),[]),_(this,_0x4ea314(0x1fe),[]),(this['_context']=_0x5b8685,this[_0x4ea314(0x1d4)]=_0x34b539,this[_0x4ea314(0x1bb)]=_0x3d09ba,this['_commandService']=_0x302693,this[_0x4ea314(0x2a0)]=_0x3624a1,this[_0x4ea314(0xe6)]());}[_0x47384e(0xe6)](){const _0x1256ee=_0x47384e,_0xf9915f=this[_0x1256ee(0x110)][_0x1256ee(0xd1)],_0x169ba3=this[_0x1256ee(0x1d4)];this['disposeWithMe'](_0x4ebbfc([this[_0x1256ee(0x1bb)][_0x1256ee(0x220)](_0xf9915f),this['_themeService'][_0x1256ee(0x20a)]])[_0x1256ee(0x175)](_0x37d53f(([_0x5a6739,_0x9b75f5])=>({'skeleton':_0x169ba3[_0x1256ee(0x22b)](),'cursors':[..._0x5a6739[_0x1256ee(0x249)]()][_0x1256ee(0x19b)](_0x524fbd=>({..._0x524fbd,'color':this[_0x1256ee(0x2a0)][_0x1256ee(0xe1)](_0x524fbd[_0x1256ee(0x15d)])}))})))[_0x1256ee(0x296)](_0x2c9cdb=>{const _0x3d79c8=_0x1256ee;if(this[_0x3d79c8(0xe7)](),_0x2c9cdb){const {skeleton:_0x4a0608,cursors:_0x1d25c4}=_0x2c9cdb;this[_0x3d79c8(0x185)](_0x4a0608,_0x1d25c4);}})),this[_0x1256ee(0x25b)](),this['_initCommandExecutedListener']();}[_0x47384e(0x185)](_0x49c32d,_0x30f86e){const _0x288389=_0x47384e,{scene:_0x9eef98,mainComponent:_0x1849df}=this['_context'],_0x444641=_0x30f86e[_0x288389(0x171)](_0x3e00e4=>new qe(_0x3e00e4,_0x9eef98,_0x49c32d,_0x1849df));this[_0x288389(0xde)]=_0x444641,this[_0x288389(0x1fe)]=_0x30f86e;}[_0x47384e(0x1ca)](){const _0x4e86e2=_0x47384e;this[_0x4e86e2(0xe7)]();const {scene:_0x1a14b3,mainComponent:_0x2ce5eb}=this[_0x4e86e2(0x110)],_0x5c0b3b=this[_0x4e86e2(0x1d4)][_0x4e86e2(0x22b)](),_0x41fc2d=this[_0x4e86e2(0x1fe)]['map'](_0x2c35ce=>new qe(_0x2c35ce,_0x1a14b3,_0x5c0b3b,_0x2ce5eb));this[_0x4e86e2(0xde)]=_0x41fc2d;}['_removeCollabCursors'](){const _0x5ae8e4=_0x47384e;this['_cursorShapes'][_0x5ae8e4(0x16c)](_0x500a50=>_0x500a50[_0x5ae8e4(0x10d)]()),this['_cursorShapes']=[];}[_0x47384e(0x26b)](){const _0x57ee4c=_0x47384e,_0x3275d0=[_0x42a693['id']];this[_0x57ee4c(0x22e)](this['_commandService'][_0x57ee4c(0x1b5)](_0x3b6b54=>{const _0x2c4fb1=_0x57ee4c;_0x3275d0['includes'](_0x3b6b54['id'])&&_0x3b6b54[_0x2c4fb1(0x1cf)][_0x2c4fb1(0xd1)]===this[_0x2c4fb1(0x110)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x206299=_0x47384e;this[_0x206299(0x22e)](_0x48dffb(this[_0x206299(0x110)][_0x206299(0x194)][_0x206299(0x22a)])[_0x206299(0x175)](_0x73f539(_0x3dfb48=>_0x3dfb48[_0x206299(0x208)]===_0x44d92c['resize']),_0x2a3535(0x10))['subscribe'](()=>{const _0x38af10=_0x206299;this[_0x38af10(0x1ca)]();}));}};function _0x1df4(_0x3cfa25,_0x43b8e6){const _0x3e294e=_0x3e29();return _0x1df4=function(_0x1df461,_0x18d473){_0x1df461=_0x1df461-0xc5;let _0xe50e6c=_0x3e294e[_0x1df461];return _0xe50e6c;},_0x1df4(_0x3cfa25,_0x43b8e6);}Le=Mi([Z(0x1,_0x1d6f2c(_0x221a2a)),Z(0x2,_0x1d6f2c(H)),Z(0x3,_0x1e6414),Z(0x4,_0x1d6f2c(_0x502f32))],Le);const Li=0x1,Pi=1.5;class wi extends _0xdee38e{constructor(_0x24e097,_0x1a56c8){const _0x44d5e7=_0x47384e;super(_0x24e097,_0x1a56c8),_(this,_0x44d5e7(0x114)),_(this,_0x44d5e7(0x190),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x44d5e7(0x153),_0x44d5e7(0x255)),_(this,_0x44d5e7(0x27a)),(_0x1a56c8&&this[_0x44d5e7(0x2bf)](_0x1a56c8),this[_0x44d5e7(0x28b)]['subscribeEvent'](()=>this[_0x44d5e7(0x2bf)]({'hovered':!0x0})),this['onPointerLeave$'][_0x44d5e7(0x281)](()=>this[_0x44d5e7(0x2bf)]({'hovered':!0x1})));}[_0x47384e(0x2bf)](_0x525169){const _0x4a6aa1=_0x47384e;var _0x2b024a,_0x4be3b6,_0x225118,_0x1b117e,_0x3b1f65,_0x84c62e;this[_0x4a6aa1(0x114)]=(_0x2b024a=_0x525169[_0x4a6aa1(0x15d)])!=null?_0x2b024a:this[_0x4a6aa1(0x114)],this[_0x4a6aa1(0x190)]=(_0x4be3b6=_0x525169[_0x4a6aa1(0xfb)])!=null?_0x4be3b6:this[_0x4a6aa1(0x190)],this[_0x4a6aa1(0x11e)]=(_0x225118=_0x525169['range'])!=null?_0x225118:this[_0x4a6aa1(0x11e)],this['_name']=(_0x1b117e=_0x525169[_0x4a6aa1(0x1e8)])!=null?_0x1b117e:this[_0x4a6aa1(0x11d)],this[_0x4a6aa1(0x153)]=(_0x3b1f65=_0x525169[_0x4a6aa1(0x163)])!=null?_0x3b1f65:this[_0x4a6aa1(0x153)],this[_0x4a6aa1(0x27a)]=(_0x84c62e=_0x525169[_0x4a6aa1(0xf0)])!=null?_0x84c62e:this[_0x4a6aa1(0x27a)],this[_0x4a6aa1(0x1f0)]({'width':_0x525169[_0x4a6aa1(0x14e)],'height':_0x525169['height']});}['onMouseMove'](_0x1e3ee1){const _0x415abd=_0x47384e,{row:_0x134850,column:_0x55a9c7}=_0x1e3ee1;if(_0x134850>=this[_0x415abd(0x11e)][_0x415abd(0x27f)]&&_0x134850<=this[_0x415abd(0x11e)][_0x415abd(0x16d)]&&_0x55a9c7>=this[_0x415abd(0x11e)][_0x415abd(0x1c5)]&&_0x55a9c7<=this['_range'][_0x415abd(0x12b)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x415abd(0x2bf)]({'hovered':!0x1});}['triggerDblclick'](_0x455301){return!0x1;}['_draw'](_0x5b44ee){const _0x501fa5=_0x47384e;_0x49f705[_0x501fa5(0x1c7)](_0x5b44ee,{'width':this[_0x501fa5(0x14e)],'height':this[_0x501fa5(0x24e)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x501fa5(0x190)]&&(_0x5b44ee['save'](),_0x5b44ee['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x501fa5(0x19f)?0x0:-0x14),he[_0x501fa5(0x1c7)](_0x5b44ee,{'text':this[_0x501fa5(0x11d)],'color':this[_0x501fa5(0x114)]}),_0x5b44ee[_0x501fa5(0x267)]());}}var Ai=Object[_0x47384e(0x223)],yi=(_0xf3c46d,_0x43f6c7,_0x283d70,_0x3cecd2)=>{const _0x1044d2=_0x47384e;for(var _0x485638=_0x3cecd2>0x1?void 0x0:_0x3cecd2?Ai(_0x43f6c7,_0x283d70):_0x43f6c7,_0x100f03=_0xf3c46d[_0x1044d2(0x29f)]-0x1,_0x4931f8;_0x100f03>=0x0;_0x100f03--)(_0x4931f8=_0xf3c46d[_0x100f03])&&(_0x485638=_0x4931f8(_0x485638)||_0x485638);return _0x485638;},ve=(_0xf35706,_0x13ce90)=>(_0x5ea78e,_0x3e6d78)=>_0x13ce90(_0x5ea78e,_0x3e6d78,_0xf35706);const $i=0x1389;let Pe=class extends _0x7acd0{constructor(_0x4306e4,_0x123a07,_0x1c5d54,_0x1efd25){const _0x56922d=_0x47384e;super(),_(this,_0x56922d(0x1fe),new Set()),_(this,_0x56922d(0x16f),null),(this[_0x56922d(0x110)]=_0x4306e4,this[_0x56922d(0x1fd)]=_0x123a07,this[_0x56922d(0x1bb)]=_0x1c5d54,this[_0x56922d(0x2a0)]=_0x1efd25,this[_0x56922d(0xe6)]());}[_0x47384e(0xe6)](){const _0x2134a9=_0x47384e;this[_0x2134a9(0x1fd)][_0x2134a9(0x19e)][_0x2134a9(0x175)](_0x5dd838(this[_0x2134a9(0x164)]),_0x1a9f20(_0x476163=>{const _0x5eff76=_0x2134a9;if(_0x476163){const _0x2751c7=_0x476163['sheetId'];return _0x4ebbfc(this['_collabCursorController'][_0x5eff76(0x220)](this[_0x5eff76(0x110)]['unitId']),this[_0x5eff76(0x2a0)][_0x5eff76(0x20a)])[_0x5eff76(0x175)](_0x37d53f(([_0x5ecfe2,_0x44d4e8])=>{const _0x288fc6=_0x5eff76,_0x24fbc0=new Map();return _0x5ecfe2[_0x288fc6(0x16c)]((_0x61d8f,_0x10bd4b)=>{const _0x25491c=_0x288fc6;if(_0x61d8f[_0x25491c(0x10a)]===_0x2751c7){const _0x40dc07={..._0x61d8f};_0x40dc07[_0x25491c(0x15d)]=this['_themeService'][_0x25491c(0xe1)](_0x61d8f['color']),_0x24fbc0[_0x25491c(0x265)](_0x10bd4b,_0x40dc07);}}),{'skeleton':_0x476163,'cursors':_0x24fbc0};}));}return _0x388edd({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5197d8,cursors:_0xd286d1})=>{const _0x56b0e3=_0x2134a9;this[_0x56b0e3(0xe7)](),_0x5197d8&&this[_0x56b0e3(0x185)](_0x5197d8,_0xd286d1);}),this['_sheetSkeletonManagerService'][_0x2134a9(0x19e)]['subscribe'](_0x581600=>{const _0x5c8d35=_0x2134a9;if(_0x581600==null)return;const {skeleton:_0x11f1fd}=_0x581600,{scene:_0x248b40}=this[_0x5c8d35(0x110)];_0x248b40[_0x5c8d35(0x128)][_0x5c8d35(0x281)](_0x4d3d79(_0x8a8ea1=>{const _0x33b173=_0x5c8d35;var _0x3423b6,_0x328f63;const {offsetX:_0x23a095,offsetY:_0x4833cf}=_0x8a8ea1,{x:_0x3f3d61,y:_0x57cfaa}=_0x248b40['getRelativeToViewportCoord'](_0x405c24['FromArray']([_0x23a095,_0x4833cf])),{scaleX:_0x46ce3a,scaleY:_0x383573}=_0x248b40[_0x33b173(0x247)](),_0x48d3bb=_0x248b40[_0x33b173(0x29b)](_0x38e47b[_0x33b173(0x225)]),_0x2dc893=_0x248b40[_0x33b173(0xc7)](_0x405c24[_0x33b173(0x119)]([_0x3f3d61,_0x57cfaa]),_0x48d3bb),_0x51cacf=_0x11f1fd[_0x33b173(0x14f)](_0x23a095,_0x4833cf,_0x46ce3a,_0x383573,_0x2dc893);((_0x3423b6=this['_lastPointer'])==null?void 0x0:_0x3423b6[_0x33b173(0x27d)])===_0x51cacf[_0x33b173(0x27d)]&&((_0x328f63=this[_0x33b173(0x16f)])==null?void 0x0:_0x328f63[_0x33b173(0x182)])===_0x51cacf[_0x33b173(0x182)]||this[_0x33b173(0x1fe)][_0x33b173(0x16c)](_0x341c58=>{const _0x5cb2d1=_0x33b173;_0x341c58[_0x5cb2d1(0x230)](_0x51cacf);});},0x64));});}['_updateCollabCursors'](_0x5b1177,_0x44ab96){const _0x52e30f=_0x47384e;var _0x3cab14;const _0x593776=(_0x3cab14=this['_sheetSkeletonManagerService'][_0x52e30f(0x1ec)]())==null?void 0x0:_0x3cab14['skeleton'];if(!_0x593776)return;const _0x49f755=this[_0x52e30f(0x13e)]();if(!_0x49f755)return;this[_0x52e30f(0x1fe)][_0x52e30f(0x16c)](_0x1696b4=>{const _0x3611c1=_0x52e30f;_0x1696b4[_0x3611c1(0x203)]();});const {scene:_0x524c1e}=_0x49f755,_0xe227df=xi(Array['from'](_0x44ab96[_0x52e30f(0x249)]()))[_0x52e30f(0x171)](_0x159f2d=>{const _0x46ad18=_0x52e30f,{color:_0x4a4ca3,range:_0x1cfaf7,name:_0x217ca3,selection:_0x20fdba,sheetID:_0x75e853}=_0x159f2d,{startColumn:_0x2626d3,startRow:_0x28b997,endColumn:_0xd78211,endRow:_0x173631}=_0x1cfaf7,_0x31d2ec=_0x3f831a(_0x28b997,_0x2626d3,_0x524c1e,_0x593776),_0x3617a6=_0x3f831a(_0x173631,_0xd78211,_0x524c1e,_0x593776),{columnHeaderHeightAndMarginTop:_0x43c5c9}=_0x593776,{startX:_0x2490a0,startY:_0x388672}=_0x31d2ec,{endX:_0x65bdc,endY:_0x4dfd18}=_0x3617a6,_0x488d73=_0x65bdc-_0x2490a0,_0x43ef54=_0x4dfd18-_0x388672,_0xeb8c6={'labelPosition':_0x388672-_0x43c5c9>=ee?_0x46ad18(0x255):'bottom','sheetID':_0x75e853,'range':_0x1cfaf7,'color':_0x4a4ca3,'name':_0x217ca3,'selection':_0x20fdba,'left':_0x2490a0,'top':_0x388672,'width':_0x488d73,'height':_0x43ef54,'evented':!0x1,'zIndex':$i};return new wi(_0x217ca3,_0xeb8c6);});_0x524c1e[_0x52e30f(0x136)](_0xe227df,Li),this[_0x52e30f(0x1fe)]=new Set(_0xe227df);}[_0x47384e(0xe7)](){const _0x3f475a=_0x47384e;var _0x51d85f;(_0x51d85f=this[_0x3f475a(0x1fe)])==null||_0x51d85f['forEach'](_0x5818a6=>_0x5818a6[_0x3f475a(0x10d)]());}[_0x47384e(0x13e)](){const _0xec274d=_0x47384e;return _0x2e825a(this[_0xec274d(0x110)][_0xec274d(0xef)],this[_0xec274d(0x110)]);}};Pe=yi([ve(0x1,_0x1d6f2c(_0x2c2592)),ve(0x2,_0x1d6f2c(H)),ve(0x3,_0x1d6f2c(_0x502f32))],Pe);function xi(_0x416fa8){const _0x49edea=_0x47384e,_0x30b508=new Map();return _0x416fa8[_0x49edea(0x16c)](_0x58c944=>{const _0x1aa702=_0x49edea;if(_0x30b508[_0x1aa702(0x219)](_0x58c944['selection'])){const _0x44924c=_0x30b508[_0x1aa702(0x1b4)](_0x58c944['selection']);_0x44924c[_0x1aa702(0x1e8)]+=',\x20'+_0x58c944[_0x1aa702(0x1e8)];}else _0x30b508[_0x1aa702(0x265)](_0x58c944[_0x1aa702(0xff)],_0x58c944);}),Array['from'](_0x30b508[_0x49edea(0x249)]());}var v=function(){const _0x4118d1=_0x47384e;return v=Object[_0x4118d1(0x176)]||function(_0x5862f4){const _0xe1b548=_0x4118d1;for(var _0x3ed63d,_0x4afc12=0x1,_0x1800e1=arguments[_0xe1b548(0x29f)];_0x4afc12<_0x1800e1;_0x4afc12++){_0x3ed63d=arguments[_0x4afc12];for(var _0xf821d4 in _0x3ed63d)Object[_0xe1b548(0x2be)][_0xe1b548(0x15e)]['call'](_0x3ed63d,_0xf821d4)&&(_0x5862f4[_0xf821d4]=_0x3ed63d[_0xf821d4]);}return _0x5862f4;},v['apply'](this,arguments);},Bi=function(_0x1d7c94,_0xe70771){const _0x4b6df1=_0x47384e;var _0x5c2686={};for(var _0x2429c5 in _0x1d7c94)Object[_0x4b6df1(0x2be)]['hasOwnProperty'][_0x4b6df1(0x282)](_0x1d7c94,_0x2429c5)&&_0xe70771[_0x4b6df1(0x13a)](_0x2429c5)<0x0&&(_0x5c2686[_0x2429c5]=_0x1d7c94[_0x2429c5]);if(_0x1d7c94!=null&&typeof Object[_0x4b6df1(0xeb)]==_0x4b6df1(0xe8)){for(var _0x20652b=0x0,_0x2429c5=Object[_0x4b6df1(0xeb)](_0x1d7c94);_0x20652b<_0x2429c5[_0x4b6df1(0x29f)];_0x20652b++)_0xe70771['indexOf'](_0x2429c5[_0x20652b])<0x0&&Object[_0x4b6df1(0x2be)]['propertyIsEnumerable'][_0x4b6df1(0x282)](_0x1d7c94,_0x2429c5[_0x20652b])&&(_0x5c2686[_0x2429c5[_0x20652b]]=_0x1d7c94[_0x2429c5[_0x20652b]]);}return _0x5c2686;},Fe=_0xf1300c(function(_0x44cac2,_0x20ef0a){const _0x2dfd70=_0x47384e;var _0x438242=_0x44cac2[_0x2dfd70(0x1f8)],_0x3c94f7=_0x44cac2['id'],_0x46532a=_0x44cac2['className'],_0x2d80a3=_0x44cac2['extend'],_0x272ba1=Bi(_0x44cac2,[_0x2dfd70(0x1f8),'id','className',_0x2dfd70(0x27b)]),_0x4bc671=_0x2dfd70(0x270)[_0x2dfd70(0x294)](_0x3c94f7,'\x20')['concat'](_0x46532a||'')['trim'](),_0x4f03cf=_0x45bb94('_'['concat'](Fi()));return Rt(_0x438242,''['concat'](_0x3c94f7),{'defIds':_0x438242['defIds'],'idSuffix':_0x4f03cf['current']},v({'ref':_0x20ef0a,'className':_0x4bc671},_0x272ba1),_0x2d80a3);});function Rt(_0x5cb233,_0x45aa91,_0x164f32,_0xb83668,_0x394811){const _0x4b0a6e=_0x47384e;return _0x491b9d(_0x5cb233[_0x4b0a6e(0x2b9)],v(v({'key':_0x45aa91},ki(_0x5cb233,_0x164f32,_0x394811)),_0xb83668),(Hi(_0x5cb233,_0x164f32)[_0x4b0a6e(0x1a5)]||[])[_0x4b0a6e(0x171)](function(_0x506a80,_0x371149){const _0x1b4a49=_0x4b0a6e;return Rt(_0x506a80,''[_0x1b4a49(0x294)](_0x45aa91,'-')[_0x1b4a49(0x294)](_0x5cb233[_0x1b4a49(0x2b9)],'-')[_0x1b4a49(0x294)](_0x371149),_0x164f32,void 0x0,_0x394811);}));}function ki(_0x27a8db,_0x75a398,_0x507548){const _0x2320e1=_0x47384e;var _0x5b2a92=v({},_0x27a8db[_0x2320e1(0x1df)]);_0x507548!=null&&_0x507548[_0x2320e1(0x189)]&&_0x5b2a92[_0x2320e1(0x273)]===_0x2320e1(0x189)&&(_0x5b2a92['fill']=_0x507548[_0x2320e1(0x189)]),_0x27a8db['tag']===_0x2320e1(0x147)&&_0x5b2a92['id']&&(_0x5b2a92['id']=_0x5b2a92['id']+_0x75a398['idSuffix']),Object['entries'](_0x5b2a92)[_0x2320e1(0x16c)](function(_0x4fc128){const _0x56cadc=_0x2320e1;var _0x3c34b6=_0x4fc128[0x0],_0x229728=_0x4fc128[0x1];_0x3c34b6==='mask'&&typeof _0x229728=='string'&&(_0x5b2a92[_0x3c34b6]=_0x229728[_0x56cadc(0x2a8)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x75a398[_0x56cadc(0x106)],')')));});var _0x2d19b2=_0x75a398[_0x2320e1(0x18f)];return!_0x2d19b2||_0x2d19b2['length']===0x0||(_0x27a8db[_0x2320e1(0x2b9)]===_0x2320e1(0x199)&&_0x5b2a92[_0x2320e1(0xdc)]&&(_0x5b2a92['xlink:href']=_0x5b2a92['xlink:href']+_0x75a398['idSuffix']),Object['entries'](_0x5b2a92)[_0x2320e1(0x16c)](function(_0x223f40){const _0x2f9b35=_0x2320e1;var _0x4ad8cb=_0x223f40[0x0],_0x5d5a92=_0x223f40[0x1];typeof _0x5d5a92==_0x2f9b35(0x298)&&(_0x5b2a92[_0x4ad8cb]=_0x5d5a92[_0x2f9b35(0x2a8)](/url\(#(.*)\)/,_0x2f9b35(0x2b2)[_0x2f9b35(0x294)](_0x75a398[_0x2f9b35(0x106)],')')));})),_0x5b2a92;}function Hi(_0x454510,_0x309c3c){const _0x5cec09=_0x47384e;var _0x3f5d35,_0xe5b869=_0x309c3c['defIds'];return!_0xe5b869||_0xe5b869[_0x5cec09(0x29f)]===0x0?_0x454510:_0x454510['tag']===_0x5cec09(0x142)&&(!((_0x3f5d35=_0x454510['children'])===null||_0x3f5d35===void 0x0)&&_0x3f5d35[_0x5cec09(0x29f)])?v(v({},_0x454510),{'children':_0x454510[_0x5cec09(0x1a5)][_0x5cec09(0x171)](function(_0x38e4e3){const _0x43434f=_0x5cec09;return typeof _0x38e4e3[_0x43434f(0x1df)]['id']==_0x43434f(0x298)&&_0xe5b869&&_0xe5b869[_0x43434f(0xfd)](_0x38e4e3[_0x43434f(0x1df)]['id'])?v(v({},_0x38e4e3),{'attrs':v(v({},_0x38e4e3['attrs']),{'id':_0x38e4e3[_0x43434f(0x1df)]['id']+_0x309c3c[_0x43434f(0x106)]})}):_0x38e4e3;})}):_0x454510;}function Fi(){const _0x4b85cb=_0x47384e;return Math[_0x4b85cb(0x2bd)]()[_0x4b85cb(0x211)](0x24)[_0x4b85cb(0x2c0)](0x2,0x8);}Fe['displayName']=_0x47384e(0x1b8);var Yi={'tag':_0x47384e(0x186),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x47384e(0x248),'width':_0x47384e(0x251),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x47384e(0x12f)},'children':[{'tag':_0x47384e(0x232),'attrs':{'stroke':_0x47384e(0x271),'d':_0x47384e(0x1fc),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x47384e(0x21a),'attrs':{'id':_0x47384e(0x1d2)},'children':[{'tag':_0x47384e(0x232),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0xf1300c(function(_0x5afa03,_0x4636f6){const _0x155d55=_0x47384e;return _0x491b9d(Fe,Object[_0x155d55(0x176)]({},_0x5afa03,{'id':'off-line-icon','ref':_0x4636f6,'icon':Yi}));});Dt[_0x47384e(0x2c5)]=_0x47384e(0x22c);var ji={'tag':_0x47384e(0x186),'attrs':{'xmlns':_0x47384e(0x138),'fill':_0x47384e(0x1cc),'viewBox':_0x47384e(0x22f),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x47384e(0x256)},'children':[{'tag':_0x47384e(0x232),'attrs':{'stroke':_0x47384e(0x271),'d':_0x47384e(0x103),'strokeLinecap':_0x47384e(0x18d),'strokeLinejoin':_0x47384e(0x18d),'strokeWidth':1.2}}]},{'tag':_0x47384e(0x142),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x47384e(0x1d9)},'children':[{'tag':_0x47384e(0x232),'attrs':{'fill':_0x47384e(0x17c),'d':_0x47384e(0x1e6),'transform':'translate(.97)'}}]}]}],'defIds':[_0x47384e(0x1d9)]},Nt=_0xf1300c(function(_0x2484c6,_0x287e40){const _0x53fe64=_0x47384e;return _0x491b9d(Fe,Object[_0x53fe64(0x176)]({},_0x2484c6,{'id':'on-line-icon','ref':_0x287e40,'icon':ji}));});Nt[_0x47384e(0x2c5)]=_0x47384e(0x25a);function Vi(_0x3c16b7){const _0x5eb5b4=_0x47384e;switch(_0x3c16b7){case _0x46e307[_0x5eb5b4(0x228)]:return'collabStatus.offline';case _0x46e307[_0x5eb5b4(0x159)]:return _0x5eb5b4(0x158);case _0x46e307[_0x5eb5b4(0xdf)]:return _0x5eb5b4(0x1d7);case _0x46e307['NOT_COLLAB']:return _0x5eb5b4(0x24b);case _0x46e307[_0x5eb5b4(0x2c3)]:case _0x46e307['AWAITING_WITH_PENDING']:return _0x5eb5b4(0x15a);case _0x46e307[_0x5eb5b4(0x1a8)]:case _0x46e307[_0x5eb5b4(0x231)]:return _0x5eb5b4(0x246);}}function Wi(_0x2b5b14){const _0x3f6fba=_0x47384e,{status$:_0x50c4dd}=_0x2b5b14,_0x27e601=_0x1c09b7(_0x50c4dd,_0x46e307[_0x3f6fba(0x130)]),_0x1eddf2=_0x15dfba(_0x4cbb06),_0x254878=_0x15dfba(_0x14a0a1),_0x17e2e8=_0x27e601!==_0x46e307[_0x3f6fba(0x228)],_0x5f402f=_0x1eddf2['t'](Vi(_0x27e601)),_0x38e99b=_0x17e2e8?_0x22d8ef(Nt,{}):_0x22d8ef(Dt,{}),_0x41adfc=_0x4cd587(()=>{_0x17e2e8||_0x254878['reconnect']();},[_0x17e2e8,_0x254878]);function _0x3053ac(){const _0x6b73c=_0x3f6fba;return _0xc27c45('div',{'className':_0x6b73c(0x1ee),'onClick':_0x41adfc,'children':[_0x22d8ef(_0x6b73c(0x20c),{'className':_0x3914df('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x17e2e8,'univer-text-red-500':!_0x17e2e8}),'children':_0x38e99b}),_0x22d8ef(_0x6b73c(0x20c),{'className':_0x6b73c(0x26e),'children':_0x5f402f})]});}return _0x17e2e8?_0x3053ac():_0x22d8ef(_0xf8fc84,{'title':_0x1eddf2['t'](_0x3f6fba(0x21b)),'children':_0x3053ac()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x84a35f,_0x3527da,_0x30a22d,_0x37a49b)=>{const _0x25beb7=_0x47384e;for(var _0x260dd2=_0x37a49b>0x1?void 0x0:_0x37a49b?Xi(_0x3527da,_0x30a22d):_0x3527da,_0x481943=_0x84a35f[_0x25beb7(0x29f)]-0x1,_0x561506;_0x481943>=0x0;_0x481943--)(_0x561506=_0x84a35f[_0x481943])&&(_0x260dd2=_0x561506(_0x260dd2)||_0x260dd2);return _0x260dd2;},Q=(_0x514ec7,_0x31b052)=>(_0x24719c,_0x5fdeb)=>_0x31b052(_0x24719c,_0x5fdeb,_0x514ec7);let te=class extends _0x34352e{constructor(_0x57aee5,_0xd277cb,_0x5624b7,_0x3dc65e){const _0x167320=_0x47384e;super(),_(this,_0x167320(0xea),new _0x2947e5(_0x46e307['NOT_COLLAB'])),(this[_0x167320(0x11c)]=_0x57aee5,this[_0x167320(0x297)]=_0xd277cb,this[_0x167320(0x1f3)]=_0x5624b7,this[_0x167320(0x299)]=_0x3dc65e,this[_0x167320(0x274)](),this[_0x167320(0x151)]());}[_0x47384e(0x151)](){const _0x3baeb5=_0x47384e;this[_0x3baeb5(0x22e)](this[_0x3baeb5(0x11c)][_0x3baeb5(0x279)]['pipe'](_0x4bc906(()=>{const _0x228a4d=_0x3baeb5,_0x4b24ea=this['_univerInstanceService']['getFocusedUnit']();return _0x4b24ea?this[_0x228a4d(0x1f3)][_0x228a4d(0x1de)](_0x4b24ea[_0x228a4d(0x1f9)]()):_0x388edd(null);}),_0x4bc906(_0x34802a=>_0x34802a?_0x34802a['status$']:_0x388edd(_0x46e307[_0x3baeb5(0x130)])))[_0x3baeb5(0x296)](_0x38206b=>{const _0x4fe722=_0x3baeb5;this['_status$'][_0x4fe722(0x1be)](_0x38206b);}));}['_initStatusComponent'](){const _0x445ae9=_0x47384e;this['disposeWithMe'](this[_0x445ae9(0x299)][_0x445ae9(0x19d)](_0x590e3b[_0x445ae9(0x112)],()=>_0x3e91f1(Ki({'status$':this[_0x445ae9(0xea)][_0x445ae9(0x215)]()}),this[_0x445ae9(0x297)])));}};te=Gi([Q(0x0,_0x1b6462),Q(0x1,_0x1d6f2c(_0x5f29b7)),Q(0x2,_0x1d6f2c(_0x577688)),Q(0x3,_0x17c164)],te);function Ki(_0x14414a){const {status$:_0x26a34c}=_0x14414a;return function(){return _0x22d8ef(Wi,{'status$':_0x26a34c});};}var zi=Object[_0x47384e(0x223)],Ji=(_0x5391ea,_0xa7463e,_0x5169ce,_0x21b7a7)=>{const _0x341a2e=_0x47384e;for(var _0x563d69=_0x21b7a7>0x1?void 0x0:_0x21b7a7?zi(_0xa7463e,_0x5169ce):_0xa7463e,_0x2c1a08=_0x5391ea[_0x341a2e(0x29f)]-0x1,_0x5076e2;_0x2c1a08>=0x0;_0x2c1a08--)(_0x5076e2=_0x5391ea[_0x2c1a08])&&(_0x563d69=_0x5076e2(_0x563d69)||_0x563d69);return _0x563d69;},B=(_0x487532,_0x19bcf6)=>(_0x3ccdeb,_0x3e1467)=>_0x19bcf6(_0x3ccdeb,_0x3e1467,_0x487532);let se=class extends _0x34352e{constructor(_0x4355c3,_0x36f53e,_0x2f7ae0,_0x47e0c5,_0x29dbb4,_0x3b2679){const _0x12bc4d=_0x47384e;super(),this['_beforeCloseService']=_0x4355c3,this[_0x12bc4d(0x2c7)]=_0x36f53e,this[_0x12bc4d(0x1a6)]=_0x2f7ae0,this[_0x12bc4d(0x17e)]=_0x47e0c5,this[_0x12bc4d(0x17b)]=_0x29dbb4,this[_0x12bc4d(0x26c)]=_0x3b2679,this[_0x12bc4d(0x2a3)](),this[_0x12bc4d(0x1ff)]();}['_setupBeforeClosingHandler'](){const _0x3611b5=_0x47384e;this[_0x3611b5(0x22e)](this[_0x3611b5(0x221)][_0x3611b5(0x227)](()=>{const _0x321336=_0x3611b5;if(this[_0x321336(0x2c7)]['saveTaskMap'][_0x321336(0x261)])return this[_0x321336(0x26c)]['t'](_0x321336(0x1d6));}));}['_initEvent'](){const _0x466611=_0x47384e;this[_0x466611(0x22e)](this[_0x466611(0x1a6)]['event$'][_0x466611(0x296)](_0x2aabf0=>{const _0xe0013a=_0x466611;_0x2aabf0['id']===_0x1db947[_0xe0013a(0x26f)]&&this[_0xe0013a(0x17e)]['show']({'type':_0x5b9320[_0xe0013a(0x20e)],'content':this['_localeService']['t'](_0xe0013a(0x124))}),_0x2aabf0['id']===_0x1db947[_0xe0013a(0x24f)]&&this[_0xe0013a(0x17e)]['show']({'type':_0x5b9320[_0xe0013a(0x20e)],'content':this[_0xe0013a(0x26c)]['t'](_0xe0013a(0x2aa))}),_0x2aabf0['id']===_0x1db947[_0xe0013a(0x238)]&&this[_0xe0013a(0x17b)][_0xe0013a(0x116)]({'title':this[_0xe0013a(0x26c)]['t'](_0xe0013a(0xf7)),'content':this[_0xe0013a(0x26c)]['t'](_0xe0013a(0x1b0)),'type':_0xe0013a(0x1b7),'duration':0x0}),_0x2aabf0['id']===_0x1db947[_0xe0013a(0x159)]&&this['_messageService'][_0xe0013a(0x116)]({'type':_0x5b9320[_0xe0013a(0x172)],'content':this[_0xe0013a(0x26c)]['t'](_0xe0013a(0x2aa))+'('+_0x2aabf0[_0xe0013a(0x13b)]+')'}),_0x2aabf0['id']===_0x1db947[_0xe0013a(0x127)]&&this['_messageService'][_0xe0013a(0x116)]({'type':_0x5b9320[_0xe0013a(0x20e)],'content':this[_0xe0013a(0x26c)]['t'](_0x2aabf0[_0xe0013a(0x13b)]||'')}),_0x2aabf0['id']===_0x1db947[_0xe0013a(0x17d)]&&this['_messageService'][_0xe0013a(0x116)]({'type':_0x5b9320[_0xe0013a(0x20e)],'content':this[_0xe0013a(0x26c)]['t'](_0xe0013a(0x28c))}),_0x2aabf0['id']===_0x1db947[_0xe0013a(0x14a)]&&this[_0xe0013a(0x17e)][_0xe0013a(0x116)]({'type':_0x5b9320[_0xe0013a(0x172)],'content':this['_localeService']['t'](_0xe0013a(0x286))}),_0x2aabf0['id']===_0x1db947[_0xe0013a(0x15c)]&&this[_0xe0013a(0x17e)][_0xe0013a(0x116)]({'type':_0x5b9320[_0xe0013a(0x172)],'content':this['_localeService']['t'](_0xe0013a(0x11f))});}));}};se=Ji([B(0x0,_0x2ffcc5),B(0x1,_0x2cca5e),B(0x2,_0x1d6f2c(_0x115dda)),B(0x3,_0x60dbab),B(0x4,_0x3d0a8),B(0x5,_0x1d6f2c(_0x4cbb06))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x19f0c6(_0x47384e(0x150));var Qi=Object[_0x47384e(0x223)],qi=(_0x43ab55,_0x14fcae,_0x39a36d,_0x56a8f7)=>{const _0x413f52=_0x47384e;for(var _0xc0dd6d=_0x56a8f7>0x1?void 0x0:_0x56a8f7?Qi(_0x14fcae,_0x39a36d):_0x14fcae,_0x2ff867=_0x43ab55[_0x413f52(0x29f)]-0x1,_0x3619d9;_0x2ff867>=0x0;_0x2ff867--)(_0x3619d9=_0x43ab55[_0x2ff867])&&(_0xc0dd6d=_0x3619d9(_0xc0dd6d)||_0xc0dd6d);return _0xc0dd6d;},G=(_0x7e9a72,_0x5b6884)=>(_0x2a3521,_0x2f65a3)=>_0x5b6884(_0x2a3521,_0x2f65a3,_0x7e9a72);let ie=class extends _0x7acd0{constructor(_0x2e667c,_0x546f5f,_0x48832e,_0x16bf92,_0x209692){const _0x170530=_0x47384e;super(),this[_0x170530(0x1cb)]=_0x2e667c,this[_0x170530(0x2c8)]=_0x546f5f,this[_0x170530(0x1dd)]=_0x48832e,this[_0x170530(0x12a)]=_0x16bf92,_0x209692?_0x209692==null||_0x209692[_0x170530(0x197)]()[_0x170530(0xd9)](()=>this[_0x170530(0xe6)]()):(this['_logService'][_0x170530(0x170)](_0x170530(0x252),_0x170530(0x21c)),this[_0x170530(0xe6)]());}async['_init'](){const _0x5afe82=_0x47384e,_0x1b21f4=this[_0x5afe82(0x1cb)]['getParam']('unit'),_0x50618f=this['_urlService']['getParam'](_0x5afe82(0x208)),_0x43baae=this[_0x5afe82(0x1cb)][_0x5afe82(0x276)](_0x5afe82(0x155));if(!_0x1b21f4||!_0x50618f){this[_0x5afe82(0x2c8)][_0x5afe82(0x170)]('[CollaborationDataLoaderController]',_0x5afe82(0xf9));return;}const _0x407499=await this[_0x5afe82(0x12a)][_0x5afe82(0xce)](_0x1b21f4,Number(_0x50618f),_0x43baae);_0x407499&&_0x407499 instanceof _0x41f856&&this[_0x5afe82(0x214)](_0x407499);}async['_setupSubUnitSync'](_0x388b70){const _0x2f26d9=_0x47384e;await this[_0x2f26d9(0x122)](_0x388b70),_0x388b70[_0x2f26d9(0x2c6)][_0x2f26d9(0x175)](_0x2deb27(this['dispose$']))[_0x2f26d9(0x296)](_0x178192=>{const _0x1dd409=_0x2f26d9;_0x178192&&this[_0x1dd409(0x148)](_0x178192);}),this[_0x2f26d9(0x1cb)][_0x2f26d9(0x1d0)][_0x2f26d9(0x175)](_0x2deb27(this[_0x2f26d9(0x164)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x388b70));}[_0x47384e(0x148)](_0x3fd582,_0x14a80c=!0x1){const _0x5e4f26=_0x47384e,_0x5185fb=this[_0x5e4f26(0x1cb)][_0x5e4f26(0x276)](_0x5e4f26(0x155));_0x3fd582['getSheetId']()!==_0x5185fb&&this['_urlService'][_0x5e4f26(0x1bc)](_0x5e4f26(0x155),_0x3fd582['getSheetId'](),_0x14a80c);}async[_0x47384e(0x122)](_0x25af3d){const _0x2fb8c2=_0x47384e;var _0x229613;const _0x4c491c=this[_0x2fb8c2(0x1cb)][_0x2fb8c2(0x276)](_0x2fb8c2(0x155));if(!_0x4c491c||!_0x25af3d['getSheetBySheetId'](_0x4c491c)){const _0x35400c=_0x25af3d[_0x2fb8c2(0x23f)]()[0x0],_0x468944=_0x25af3d[_0x2fb8c2(0x1a7)](_0x35400c);if(!_0x468944)return;this[_0x2fb8c2(0x148)](_0x468944,!0x0),await this[_0x2fb8c2(0x1dd)]['executeCommand'](_0x3b4f0d['id'],{'unitId':_0x25af3d[_0x2fb8c2(0x1f9)](),'subUnitId':_0x35400c});return;}((_0x229613=_0x25af3d[_0x2fb8c2(0x291)]())==null?void 0x0:_0x229613[_0x2fb8c2(0xe9)]())!==_0x4c491c&&await this[_0x2fb8c2(0x1dd)][_0x2fb8c2(0x17a)](_0x3b4f0d['id'],{'unitId':_0x25af3d[_0x2fb8c2(0x1f9)](),'subUnitId':_0x4c491c});}};ie=qi([G(0x0,Ut),G(0x1,_0x255322),G(0x2,_0x1e6414),G(0x3,_0x1d6f2c(_0x432000)),G(0x4,_0x319d9d(_0x68378))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x5b2487,_0x3ed759,_0x568f9a,_0x592ac2)=>{const _0x768254=_0x47384e;for(var _0x5ff911=_0x592ac2>0x1?void 0x0:_0x592ac2?en(_0x3ed759,_0x568f9a):_0x3ed759,_0x59a09f=_0x5b2487[_0x768254(0x29f)]-0x1,_0x45cde2;_0x59a09f>=0x0;_0x59a09f--)(_0x45cde2=_0x5b2487[_0x59a09f])&&(_0x5ff911=_0x45cde2(_0x5ff911)||_0x5ff911);return _0x5ff911;},pe=(_0x990ebb,_0x5cdc4a)=>(_0x520e4a,_0x5a1a62)=>_0x5cdc4a(_0x520e4a,_0x5a1a62,_0x990ebb);let ne=class{constructor(_0x53e4ee,_0x3a4df1,_0x5de7f3){const _0x3d837c=_0x47384e;this[_0x3d837c(0x297)]=_0x53e4ee,this[_0x3d837c(0x1ba)]=_0x3a4df1,this['_renderManagerService']=_0x5de7f3;}[_0x47384e(0x2ae)](_0x4875c4){const _0x119de9=_0x47384e;this[_0x119de9(0x1e5)](_0x4875c4),this['_transformPreviousActiveRange'](_0x4875c4);}['transformRemoteChangeset'](_0x1c3ed7){const _0x2a7d4f=_0x47384e,{unitID:_0x474ca4}=_0x1c3ed7,_0x241f67=this[_0x2a7d4f(0x12c)][_0x2a7d4f(0x19c)](_0x474ca4)[_0x2a7d4f(0x1b6)](_0x491925),{redoCache:_0x65cc5c}=_0x241f67[_0x2a7d4f(0x1f4)]();if(_0x65cc5c[_0x2a7d4f(0x29f)]===0x0)return _0x1c3ed7;let _0x3ca045=_0x4cf77f[_0x2a7d4f(0x1bd)](_0x1c3ed7[_0x2a7d4f(0x236)][0x0]);for(let _0x953288=0x0;_0x953288<_0x65cc5c[_0x2a7d4f(0x29f)];_0x953288++){const _0x45cd53={'id':'doc.mutation.rich-text-editing','params':{..._0x65cc5c[_0x953288]}},_0x576404=this[_0x2a7d4f(0x1ba)][_0x2a7d4f(0x27e)](_0x3ca045,_0x45cd53,!0x1);if(_0x5e0f4c(_0x576404))throw _0x576404[_0x2a7d4f(0x1b7)];_0x3ca045=_0x576404['m1Prime'];}return{..._0x4cf77f['deepClone'](_0x1c3ed7),'mutations':[_0x3ca045]};}['_transformUndoRedoStack'](_0x13f6d6){const _0x83ec81=_0x47384e,{unitID:_0x220b67}=_0x13f6d6,_0x5086a1=this[_0x83ec81(0x12c)][_0x83ec81(0x19c)](_0x220b67)['with'](_0x491925),{undoCache:_0x5637d3,redoCache:_0x30f56b}=_0x5086a1[_0x83ec81(0x1f4)]();if(_0x5637d3['length']===0x0||_0x30f56b['length']===0x0)return;const _0x5b28ab=[],_0x4ba044=[];let _0x470ab4=_0x4cf77f['deepClone'](_0x13f6d6[_0x83ec81(0x236)][0x0]),_0x38ad54=_0x4cf77f[_0x83ec81(0x1bd)](_0x13f6d6[_0x83ec81(0x236)][0x0]);for(let _0x53dbfb=_0x5637d3[_0x83ec81(0x29f)]-0x1;_0x53dbfb>=0x0;_0x53dbfb--){const _0x5eb36a={'id':'doc.mutation.rich-text-editing','params':{..._0x5637d3[_0x53dbfb]}},_0x1faec2={'id':_0x83ec81(0x117),'params':{..._0x30f56b[_0x53dbfb]}},_0x1e8c1f=this[_0x83ec81(0x1ba)][_0x83ec81(0x27e)](_0x470ab4,_0x5eb36a,!0x1),_0x377712=this[_0x83ec81(0x1ba)][_0x83ec81(0x27e)](_0x38ad54,_0x1faec2,!0x1);if(_0x5e0f4c(_0x1e8c1f))throw _0x1e8c1f['error'];if(_0x5e0f4c(_0x377712))throw _0x377712[_0x83ec81(0x1b7)];_0x5b28ab[_0x83ec81(0x29d)](_0x1e8c1f[_0x83ec81(0x202)][_0x83ec81(0x1cf)]),_0x4ba044['unshift'](_0x377712[_0x83ec81(0x202)][_0x83ec81(0x1cf)]),_0x470ab4=_0x1e8c1f[_0x83ec81(0x260)],_0x38ad54=_0x377712['m1Prime'];}_0x5086a1[_0x83ec81(0xfa)]({'undoCache':_0x5b28ab,'redoCache':_0x4ba044});}[_0x47384e(0x1b9)](_0x423299){const _0x3e34e0=_0x47384e,{unitID:_0x145cbc}=_0x423299,_0x4e7400=this[_0x3e34e0(0x12c)][_0x3e34e0(0x19c)](_0x145cbc)['with'](_0x491925),_0x762d4=_0x4e7400['getActiveRange']();if(_0x762d4==null)return;const _0x21c347=[{'id':_0x3e34e0(0x117),'params':{'unitId':_0x423299['unitID'],'actions':null,'textRanges':[_0x762d4]}}],_0xa88243=this[_0x3e34e0(0x1ba)][_0x3e34e0(0x2b5)](_0x423299,_0x21c347);if(!_0x35fc2c(_0xa88243))throw _0xa88243[_0x3e34e0(0x1b7)];const _0x4bc7e6=_0xa88243[_0x3e34e0(0x202)][0x0][_0x3e34e0(0x1cf)][_0x3e34e0(0x222)];Array['isArray'](_0x4bc7e6)&&_0x4bc7e6[_0x3e34e0(0x29f)]&&_0x4e7400[_0x3e34e0(0x1c1)](_0x4bc7e6[0x0]);}};ne=tn([pe(0x0,_0x1d6f2c(_0x5f29b7)),pe(0x1,_0x3f3046),pe(0x2,_0x16ca5b)],ne);var sn=Object[_0x47384e(0x223)],nn=(_0x4e4e1b,_0x176a47,_0x4c4a03,_0x102fd2)=>{const _0x148587=_0x47384e;for(var _0x2f94f6=_0x102fd2>0x1?void 0x0:_0x102fd2?sn(_0x176a47,_0x4c4a03):_0x176a47,_0x55f63b=_0x4e4e1b[_0x148587(0x29f)]-0x1,_0x41b9e0;_0x55f63b>=0x0;_0x55f63b--)(_0x41b9e0=_0x4e4e1b[_0x55f63b])&&(_0x2f94f6=_0x41b9e0(_0x2f94f6)||_0x2f94f6);return _0x2f94f6;},Ce=(_0x3e79cf,_0x1ac786)=>(_0x374b3d,_0x3cc6cf)=>_0x1ac786(_0x374b3d,_0x3cc6cf,_0x3e79cf);let re=class{constructor(_0x32c664,_0x2e7318,_0xe9356c){const _0x5ce614=_0x47384e;this[_0x5ce614(0x297)]=_0x32c664,this[_0x5ce614(0x1ba)]=_0x2e7318,this[_0x5ce614(0x263)]=_0xe9356c;}['transformStateCache'](_0x3e28a5){this['_transformHistoryAndStateStack'](_0x3e28a5);}[_0x47384e(0x206)](_0xc87711){const _0x4cb5da=_0x47384e,{unitID:_0x270cde}=_0xc87711,{collaboration:_0x1ea47f}=this[_0x4cb5da(0x263)][_0x4cb5da(0x1d1)](_0x270cde);if(_0x1ea47f[_0x4cb5da(0x29f)]===0x0)return _0xc87711;let _0x5ef122=_0x4cf77f[_0x4cb5da(0x1bd)](_0xc87711[_0x4cb5da(0x236)][0x0]);for(let _0x344dff=0x0;_0x344dff<_0x1ea47f['length'];_0x344dff++){const _0x2714e6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ea47f[_0x344dff][_0x4cb5da(0xd1)],..._0x1ea47f[_0x344dff]['redoState']}},_0x34646f=this[_0x4cb5da(0x1ba)]['transformMutation'](_0x5ef122,_0x2714e6,!0x1);if(_0x5e0f4c(_0x34646f))throw _0x34646f[_0x4cb5da(0x1b7)];_0x5ef122=_0x34646f[_0x4cb5da(0x260)];}return{..._0x4cf77f['deepClone'](_0xc87711),'mutations':[_0x5ef122]};}[_0x47384e(0x146)](_0x2f64a6){const _0x271ba9=_0x47384e,{unitID:_0x29f468}=_0x2f64a6,{history:_0x3e6dfa,collaboration:_0x95c6bf}=this[_0x271ba9(0x263)]['getStateCache'](_0x29f468);if(_0x3e6dfa[_0x271ba9(0x29f)]===0x0&&_0x95c6bf['length']===0x0)return;const _0x426155=[],_0x2632bc=[];let _0x39b506=_0x4cf77f[_0x271ba9(0x1bd)](_0x2f64a6['mutations'][0x0]),_0x2199a7=_0x4cf77f['deepClone'](_0x2f64a6['mutations'][0x0]);for(let _0x77eeda=_0x3e6dfa[_0x271ba9(0x29f)]-0x1;_0x77eeda>=0x0;_0x77eeda--){const _0x1c4e4a={'id':_0x271ba9(0x117),'params':{'unitId':_0x3e6dfa[_0x77eeda][_0x271ba9(0xd1)],..._0x3e6dfa[_0x77eeda][_0x271ba9(0x1ae)]}},_0x5ce30d={'id':_0x271ba9(0x117),'params':{'unitId':_0x3e6dfa[_0x77eeda][_0x271ba9(0xd1)],..._0x3e6dfa[_0x77eeda]['redoState']}},_0x37bccf=this[_0x271ba9(0x1ba)][_0x271ba9(0x27e)](_0x39b506,_0x1c4e4a,!0x1),_0x359c69=this[_0x271ba9(0x1ba)]['transformMutation'](_0x2199a7,_0x5ce30d,!0x1);if(_0x5e0f4c(_0x37bccf))throw _0x37bccf[_0x271ba9(0x1b7)];if(_0x5e0f4c(_0x359c69))throw _0x359c69[_0x271ba9(0x1b7)];_0x426155[_0x271ba9(0x29d)]({..._0x3e6dfa[_0x77eeda],'undoState':_0x37bccf[_0x271ba9(0x202)][_0x271ba9(0x1cf)],'redoState':_0x359c69[_0x271ba9(0x202)][_0x271ba9(0x1cf)]}),_0x39b506=_0x37bccf[_0x271ba9(0x260)],_0x2199a7=_0x359c69['m1Prime'];}_0x39b506=_0x4cf77f[_0x271ba9(0x1bd)](_0x2f64a6['mutations'][0x0]),_0x2199a7=_0x4cf77f['deepClone'](_0x2f64a6[_0x271ba9(0x236)][0x0]);for(let _0x5f02a6=_0x95c6bf['length']-0x1;_0x5f02a6>=0x0;_0x5f02a6--){const _0x59d7a2={'id':_0x271ba9(0x117),'params':{'unitId':_0x95c6bf[_0x5f02a6][_0x271ba9(0xd1)],..._0x95c6bf[_0x5f02a6]['undoState']}},_0x578feb={'id':_0x271ba9(0x117),'params':{'unitId':_0x95c6bf[_0x5f02a6][_0x271ba9(0xd1)],..._0x95c6bf[_0x5f02a6][_0x271ba9(0x167)]}},_0x4a539a=this['_transformService']['transformMutation'](_0x39b506,_0x59d7a2,!0x1),_0x49a8b3=this[_0x271ba9(0x1ba)][_0x271ba9(0x27e)](_0x2199a7,_0x578feb,!0x1);if(_0x5e0f4c(_0x4a539a))throw _0x4a539a[_0x271ba9(0x1b7)];if(_0x5e0f4c(_0x49a8b3))throw _0x49a8b3['error'];_0x2632bc['unshift']({..._0x95c6bf[_0x5f02a6],'undoState':_0x4a539a[_0x271ba9(0x202)][_0x271ba9(0x1cf)],'redoState':_0x49a8b3['m2Prime'][_0x271ba9(0x1cf)]}),_0x39b506=_0x4a539a[_0x271ba9(0x260)],_0x2199a7=_0x49a8b3[_0x271ba9(0x260)];}this[_0x271ba9(0x263)][_0x271ba9(0x25c)](_0x29f468,{'history':_0x426155,'collaboration':_0x2632bc});}};re=nn([Ce(0x0,_0x1d6f2c(_0x5f29b7)),Ce(0x1,_0x3f3046),Ce(0x2,_0x1d6f2c(_0x51d0d7))],re);var rn=Object[_0x47384e(0x223)],on=(_0x36c0dc,_0x129372,_0x1f8600,_0x17c1d0)=>{const _0xe5e32c=_0x47384e;for(var _0x3102ec=_0x17c1d0>0x1?void 0x0:_0x17c1d0?rn(_0x129372,_0x1f8600):_0x129372,_0x260875=_0x36c0dc[_0xe5e32c(0x29f)]-0x1,_0x324346;_0x260875>=0x0;_0x260875--)(_0x324346=_0x36c0dc[_0x260875])&&(_0x3102ec=_0x324346(_0x3102ec)||_0x3102ec);return _0x3102ec;},tt=(_0x490d64,_0xaffbe6)=>(_0x4769f4,_0x6d7dc1)=>_0xaffbe6(_0x4769f4,_0x6d7dc1,_0x490d64);let oe=class{constructor(_0x3553d8,_0x1e158e){const _0x5dc21a=_0x47384e;this['_injector']=_0x3553d8,this[_0x5dc21a(0x1ba)]=_0x1e158e;}[_0x47384e(0xf2)](_0x27809c){const _0x34bf73=_0x47384e;var _0x2103ad;const _0x360994=this['_injector'][_0x34bf73(0x1b4)](_0x5576df),_0x16ec2b=(_0x2103ad=_0x360994[_0x34bf73(0x283)]())!=null?_0x2103ad:[];if(_0x16ec2b['length']===0x0)return;const _0xa9cf28=_0x27809c[_0x34bf73(0x152)],_0x3ab7af=[{'id':_0x34bf73(0x117),'params':{'unitId':_0xa9cf28,'actions':null,'textRanges':_0x16ec2b}}],_0x18150e=this[_0x34bf73(0x1ba)][_0x34bf73(0x2b5)](_0x27809c,_0x3ab7af);if(!_0x35fc2c(_0x18150e))throw _0x18150e['error'];const _0x3b8b87=_0x18150e[_0x34bf73(0x202)][0x0][_0x34bf73(0x1cf)]['textRanges'];Array[_0x34bf73(0x118)](_0x3b8b87)&&_0x3b8b87[_0x34bf73(0x29f)]&&_0x360994['replaceDocRanges'](_0x3b8b87,{'unitId':_0xa9cf28,'subUnitId':_0xa9cf28},!0x1);}};oe=on([tt(0x0,_0x1d6f2c(_0x5f29b7)),tt(0x1,_0x3f3046)],oe);var an=Object[_0x47384e(0x223)],cn=(_0x1e8c4f,_0x3d2810,_0x27d35e,_0x30dabb)=>{for(var _0x45d8f2=_0x30dabb>0x1?void 0x0:_0x30dabb?an(_0x3d2810,_0x27d35e):_0x3d2810,_0xcd3893=_0x1e8c4f['length']-0x1,_0x361d20;_0xcd3893>=0x0;_0xcd3893--)(_0x361d20=_0x1e8c4f[_0xcd3893])&&(_0x45d8f2=_0x361d20(_0x45d8f2)||_0x45d8f2);return _0x45d8f2;},U=(_0x27ee2c,_0x9423d1)=>(_0x2eb1b9,_0x29fa96)=>_0x9423d1(_0x2eb1b9,_0x29fa96,_0x27ee2c);let ae=class extends _0x34352e{constructor(_0x4d661c,_0x24bb5f,_0x12ec3b,_0x28487e,_0x55d6d5,_0x45fada,_0xc2997e,_0x4561a1){const _0x3bbc8f=_0x47384e;super(),_(this,_0x3bbc8f(0xea),new _0x2947e5(_0x46e307[_0x3bbc8f(0x130)])),(this[_0x3bbc8f(0x263)]=_0x4d661c,this[_0x3bbc8f(0x1f3)]=_0x24bb5f,this[_0x3bbc8f(0xdd)]=_0x12ec3b,this[_0x3bbc8f(0xf5)]=_0x28487e,this['_docTransformSelectionsService']=_0x55d6d5,this[_0x3bbc8f(0x224)]=_0x45fada,this[_0x3bbc8f(0x17e)]=_0xc2997e,this[_0x3bbc8f(0x26c)]=_0x4561a1,this['_initEntityListener']());}[_0x47384e(0x1f1)](){const _0x2f9097=_0x47384e;this[_0x2f9097(0x22e)](this['_collaborationController'][_0x2f9097(0x104)][_0x2f9097(0x296)](_0x646eb1=>{const _0x112179=_0x2f9097,_0x1b0dd6=this[_0x112179(0x263)][_0x112179(0x205)]['subscribe'](_0x4d91c5=>{const _0x615f34=_0x112179;if(_0x4d91c5==null)return;const {unitId:_0x3ea096,redoState:_0x446141,commandId:_0x37d446}=_0x4d91c5;if(_0x3ea096!==_0x646eb1['unitID'])return;const _0x20736e={'id':_0x37d446,'type':_0x3787d1['MUTATION'],'params':{'unitId':_0x3ea096,'actions':_0x446141[_0x615f34(0x258)],'textRanges':null}};_0x646eb1['onLocalMutation'](_0x20736e);});if(_0x646eb1[_0x112179(0x22e)](_0x1b0dd6),_0x646eb1 instanceof _0x1ecee8){const _0x5b316c={'onTransformIME':_0x19f1be=>this[_0x112179(0xdd)]['transformIMECache'](_0x19f1be),'onTransformState':_0x199dcf=>this['_docTransformStateCacheService'][_0x112179(0x1c0)](_0x199dcf),'onTransformSelections':_0x59f41a=>this['_docTransformSelectionsService'][_0x112179(0xf2)](_0x59f41a),'onSyncEditingCollabCursor':_0x4e75f4=>this[_0x112179(0x224)][_0x112179(0x233)](_0x4e75f4),'onTransformRemoteChangesetByIMECache':_0x4ac05e=>this[_0x112179(0xdd)][_0x112179(0x206)](_0x4ac05e),'onTransformRemoteChangesetByStateCache':_0x32e69c=>this[_0x112179(0xf5)][_0x112179(0x206)](_0x32e69c)};_0x646eb1['addHandlerCallback'](_0x5b316c);}}));}};ae=cn([U(0x0,_0x1d6f2c(_0x51d0d7)),U(0x1,_0x1d6f2c(_0x577688)),U(0x2,_0x1d6f2c(ne)),U(0x3,_0x1d6f2c(re)),U(0x4,_0x1d6f2c(oe)),U(0x5,_0x1d6f2c(He)),U(0x6,_0x60dbab),U(0x7,_0x1d6f2c(_0x4cbb06))],ae);var ln=Object[_0x47384e(0x223)],_n=(_0x1792d4,_0x5064d6,_0x424e5f,_0xb6d395)=>{const _0x12a6ea=_0x47384e;for(var _0x331c68=_0xb6d395>0x1?void 0x0:_0xb6d395?ln(_0x5064d6,_0x424e5f):_0x5064d6,_0x5923f6=_0x1792d4[_0x12a6ea(0x29f)]-0x1,_0x324954;_0x5923f6>=0x0;_0x5923f6--)(_0x324954=_0x1792d4[_0x5923f6])&&(_0x331c68=_0x324954(_0x331c68)||_0x331c68);return _0x331c68;},Ee=(_0x38abb6,_0x248906)=>(_0x49aa63,_0x354f91)=>_0x248906(_0x49aa63,_0x354f91,_0x38abb6);let we=class extends _0x34352e{constructor(_0x4ffed0,_0x1ea558,_0x3e5cc4){const _0x39d162=_0x47384e;super(),_(this,_0x39d162(0x17f),new Map()),_(this,_0x39d162(0x1a2),new Map()),_(this,_0x39d162(0xf6),!0x1),(this['_configService']=_0x4ffed0,this[_0x39d162(0x1e1)]=_0x1ea558,this['_revisionService']=_0x3e5cc4);}[_0x47384e(0x235)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x3a9e4c=_0x47384e;return this[_0x3a9e4c(0x1a2)];}[_0x47384e(0x10d)](){const _0xa9f0e9=_0x47384e;this[_0xa9f0e9(0x141)]()[_0xa9f0e9(0xd9)](()=>super[_0xa9f0e9(0x10d)]());}async[_0x47384e(0xd2)](_0x3cee05){const _0x22b61d=_0x47384e;return this[_0x22b61d(0xf6)]?null:this[_0x22b61d(0x1e1)][_0x22b61d(0x133)](_0x28d964(_0x3cee05));}async[_0x47384e(0xca)](_0x5e02e9,_0x2e2372){const _0x425ac=_0x47384e;return!!this[_0x425ac(0x1e1)][_0x425ac(0x165)](_0x5e02e9,_0x2e2372);}[_0x47384e(0x168)](_0x17d253,_0x5f27f7,_0x586106,_0x54ff11){const _0x39f27f=_0x47384e,_0x2d71ac=this[_0x39f27f(0x1b2)][_0x39f27f(0x157)](_0x17d253);this[_0x39f27f(0x17f)]['set'](_0x17d253,{'unitID':_0x17d253,'type':_0x5f27f7,'awaitingChangeset':_0x586106,'mutations':_0x54ff11,'rev':_0x2d71ac}),this[_0x39f27f(0x1a2)]['has'](_0x17d253)||this[_0x39f27f(0x2b4)](_0x17d253);}['_scheduleSaving'](_0x24423e){const _0x8cdc3a=_0x47384e,_0x31d9e2=this[_0x8cdc3a(0x245)]();_0x31d9e2===0x0?this[_0x8cdc3a(0x2af)](_0x24423e):this[_0x8cdc3a(0x1a2)][_0x8cdc3a(0x265)](_0x24423e,setTimeout(()=>this[_0x8cdc3a(0x2af)](_0x24423e),_0x31d9e2));}[_0x47384e(0x245)](){const _0x371121=_0x47384e;var _0x447ce9;return(_0x447ce9=this[_0x371121(0x178)][_0x371121(0x2b1)](_0x5676a1))!=null?_0x447ce9:_0x5aa282;}[_0x47384e(0x2af)](_0x2024b7){const _0x38a9e1=_0x47384e,_0x4ca5f4=this[_0x38a9e1(0x1a2)][_0x38a9e1(0x1b4)](_0x2024b7);return _0x4ca5f4!==void 0x0&&window[_0x38a9e1(0x289)](_0x4ca5f4),this[_0x38a9e1(0x1e1)]['setItem'](_0x28d964(_0x2024b7),this['_cachedData'][_0x38a9e1(0x1b4)](_0x2024b7))[_0x38a9e1(0xd9)](()=>this[_0x38a9e1(0x1a2)][_0x38a9e1(0x18e)](_0x2024b7));}async[_0x47384e(0x141)](){const _0x327c8f=_0x47384e,_0x129a2a=[];this[_0x327c8f(0x1a2)][_0x327c8f(0x16c)]((_0x5a2278,_0x3f93c8)=>{const _0xa3fa85=_0x327c8f;window[_0xa3fa85(0x289)](_0x5a2278),_0x129a2a[_0xa3fa85(0x237)](this[_0xa3fa85(0x2af)](_0x3f93c8)[_0xa3fa85(0xd9)](()=>{const _0x18ff74=_0xa3fa85;this['_saveTaskMap'][_0x18ff74(0x18e)](_0x3f93c8);}));}),await Promise[_0x327c8f(0x15f)](_0x129a2a);}};we=_n([Ee(0x0,_0x38dbe9),Ee(0x1,_0xc2ebf3),Ee(0x2,_0x1d6f2c(_0x3a7c4a))],we);class hn extends _0x7acd0{constructor(){const _0x431e2e=_0x47384e;super(),_(this,_0x431e2e(0x1d0)),this[_0x431e2e(0x1d0)]=_0x507308(window,'popstate')['pipe'](_0x2deb27(this['dispose$']),_0x14e910(0x1),_0x1da17f(void 0x0));}[_0x47384e(0x1bc)](_0x1ac152,_0x482f80,_0xe76e5c=!0x1){const _0x541d5d=_0x47384e,_0x2c697a=new URL(window['location']['href']);_0x2c697a['searchParams'][_0x541d5d(0x265)](_0x1ac152,_0x482f80),_0xe76e5c?window['history'][_0x541d5d(0xfc)]('','',_0x2c697a['toString']()):window[_0x541d5d(0x1a3)]['pushState']('','',_0x2c697a[_0x541d5d(0x211)]());}[_0x47384e(0x187)](_0x96adc8,_0x1aafbd=!0x1){const _0x395b60=_0x47384e,_0x1a46b9=new URL(window[_0x395b60(0x179)][_0x395b60(0x125)]);_0x1a46b9['searchParams'][_0x395b60(0x18e)](_0x96adc8),_0x1aafbd?window[_0x395b60(0x1a3)][_0x395b60(0xfc)]('','',_0x1a46b9[_0x395b60(0x211)]()):window[_0x395b60(0x1a3)]['pushState']('','',_0x1a46b9[_0x395b60(0x211)]());}[_0x47384e(0x276)](_0x1bccf2){const _0x426e73=_0x47384e;var _0x4ed9be;return(_0x4ed9be=new URL(window[_0x426e73(0x179)]['href'])[_0x426e73(0xc9)][_0x426e73(0x1b4)](_0x1bccf2))!=null?_0x4ed9be:void 0x0;}}var un=Object[_0x47384e(0x149)],dn=Object[_0x47384e(0x223)],fn=(_0x295af4,_0x3fc266,_0x18ec40)=>_0x3fc266 in _0x295af4?un(_0x295af4,_0x3fc266,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18ec40}):_0x295af4[_0x3fc266]=_0x18ec40,Sn=(_0x5ad69f,_0x379208,_0x341d03,_0x58f246)=>{for(var _0xe61465=_0x58f246>0x1?void 0x0:_0x58f246?dn(_0x379208,_0x341d03):_0x379208,_0x202857=_0x5ad69f['length']-0x1,_0x3be45e;_0x202857>=0x0;_0x202857--)(_0x3be45e=_0x5ad69f[_0x202857])&&(_0xe61465=_0x3be45e(_0xe61465)||_0xe61465);return _0xe61465;},Oe=(_0xf677a9,_0x20e936)=>(_0x29bd29,_0x56cdd0)=>_0x20e936(_0x29bd29,_0x56cdd0,_0xf677a9),mn=(_0x570db3,_0x2466cf,_0x80bc39)=>fn(_0x570db3,_0x2466cf+'',_0x80bc39);const In=_0x47384e(0x275);let Ae=class extends _0x66b0ad{constructor(_0x838899=et,_0xe6455a,_0xfd7d64,_0x18f66b){const _0x3bf04c=_0x47384e;super(),this['_config']=_0x838899,this['_renderManagerService']=_0xe6455a,this[_0x3bf04c(0x297)]=_0xfd7d64,this['_configService']=_0x18f66b;const {..._0x19117a}=_0x213aaf({},et,this[_0x3bf04c(0xd8)]);this[_0x3bf04c(0x178)]['setConfig'](Zi,_0x19117a);}[_0x47384e(0x292)](){const _0x50a491=_0x47384e;this['_registerDependencies'](),this[_0x50a491(0x113)]();}[_0x47384e(0x25d)](){const _0x551588=_0x47384e;this[_0x551588(0x198)]();}[_0x47384e(0x1c8)](){const _0x295140=_0x47384e;var _0x51cba3;const _0x234e1a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x133583,{'useClass':_0x41087d}],[_0x2cca5e,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x2f43ca(this[_0x295140(0x297)],_0x367e76(_0x234e1a,(_0x51cba3=this[_0x295140(0xd8)])==null?void 0x0:_0x51cba3[_0x295140(0xd5)]));}[_0x47384e(0x198)](){const _0x1ec216=_0x47384e;this['disposeWithMe'](this[_0x1ec216(0x12c)][_0x1ec216(0x11b)](_0xcc11d[_0x1ec216(0x101)],[Le])),this[_0x1ec216(0x22e)](this[_0x1ec216(0x12c)]['registerRenderModule'](_0xcc11d[_0x1ec216(0x290)],[Pe]));}['_initDependencies'](){const _0x40b76d=_0x47384e;_0x2188e7(this[_0x40b76d(0x297)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x88ed6c(_0x58dd4e),Oe(0x1,_0x16ca5b),Oe(0x2,_0x1d6f2c(_0x5f29b7)),Oe(0x3,_0x38dbe9)],Ae);var gn=Object[_0x47384e(0x223)],vn=(_0x1bf027,_0x32cff6,_0x1a376b,_0x30b24e)=>{const _0x2854a3=_0x47384e;for(var _0x1e7b45=_0x30b24e>0x1?void 0x0:_0x30b24e?gn(_0x32cff6,_0x1a376b):_0x32cff6,_0x452ee4=_0x1bf027[_0x2854a3(0x29f)]-0x1,_0x1c7649;_0x452ee4>=0x0;_0x452ee4--)(_0x1c7649=_0x1bf027[_0x452ee4])&&(_0x1e7b45=_0x1c7649(_0x1e7b45)||_0x1e7b45);return _0x1e7b45;},K=(_0x5922ef,_0x28bb4f)=>(_0x2384f0,_0x5ed1c9)=>_0x28bb4f(_0x2384f0,_0x5ed1c9,_0x5922ef);let st=class extends _0xeae857{constructor(_0x43c80d,_0x49ebc8,_0x32ff98,_0x3dc5e7,_0x1b27f7){super(_0x43c80d,_0x49ebc8,_0x32ff98,_0x3dc5e7,_0x1b27f7);}async['createSocket'](_0x569525){const _0xd8e611=_0x47384e,_0x41b62b=await this[_0xd8e611(0x111)](),_0x550695=this['_createSocketURL'](_0x569525,_0x41b62b);return this[_0xd8e611(0x10e)](_0x550695);}[_0x47384e(0x257)](_0x58904a,_0x244899){const _0x725e7e=_0x47384e,_0x1560f3=typeof window>'u'?new URL(_0x58904a):new URL(_0x58904a,window[_0x725e7e(0x179)]['origin']);_0x1560f3[_0x725e7e(0xc9)]['set']('sessionTicket',_0x244899);const _0x527c40=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x725e7e(0x1c2)]);return _0x527c40[_0x725e7e(0x1b4)]('runId')&&_0x1560f3[_0x725e7e(0xc9)][_0x725e7e(0x265)](_0x725e7e(0x145),_0x527c40[_0x725e7e(0x1b4)](_0x725e7e(0x145))),_0x1560f3[_0x725e7e(0x211)]();}async[_0x47384e(0x111)](){const _0x1cc7cb=_0x47384e;var _0x591603,_0x5e0c6e,_0x5cff3;const _0x8bf3e7=this['_configService'][_0x1cc7cb(0x2b1)](_0x57268b),_0x4ae4c9=(_0x591603=_0x8bf3e7==null?void 0x0:_0x8bf3e7[_0x1cc7cb(0x204)])!=null?_0x591603:_0x29b4fd;return(_0x5cff3=(_0x5e0c6e=(await this[_0x1cc7cb(0xe2)][_0x1cc7cb(0x1b4)](_0x4ae4c9,{'headers':{'Content-Type':_0x1cc7cb(0x181)}}))[_0x1cc7cb(0x2a1)])==null?void 0x0:_0x5e0c6e[_0x1cc7cb(0x183)])!=null?_0x5cff3:'';}};st=vn([K(0x0,_0x1d6f2c(_0x5f29b7)),K(0x1,_0x1d6f2c(_0x2ccfd5)),K(0x2,_0x38dbe9),K(0x3,_0x255322),K(0x4,_0x562bdc)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x34352e{constructor(){const _0x1b79b7=_0x47384e;super(),_(this,_0x1b79b7(0x121),_0xe5f8cc()),_(this,_0x1b79b7(0x229),new Set()),_(this,_0x1b79b7(0x2c2),new Map()),_(this,_0x1b79b7(0x23b),null),_(this,_0x1b79b7(0x1bf),new Map()),_(this,_0x1b79b7(0x16e),new Map()),this['_init']();}[_0x47384e(0x10d)](){const _0x138b7c=_0x47384e;super[_0x138b7c(0x10d)](),this[_0x138b7c(0x1bf)][_0x138b7c(0x16c)]((_0x511e8c,_0x5b1448)=>this['_removeClearOtherTimer'](_0x5b1448)),this[_0x138b7c(0x23b)]&&window['clearInterval'](this[_0x138b7c(0x23b)]);}[_0x47384e(0x2b7)](_0xf1cfa5){const _0x45292c=_0x47384e;return this[_0x45292c(0x20d)](_0xf1cfa5)[_0x45292c(0x175)](_0x57a830());}['editingUnit'](_0x5f1bde){const _0x93e4a1=_0x47384e;this[_0x93e4a1(0x229)]['size']===0x0&&this[_0x93e4a1(0x1fa)](),this[_0x93e4a1(0x229)][_0x93e4a1(0x143)](_0x5f1bde),this[_0x93e4a1(0xe5)]({'type':0x0,'memberID':this[_0x93e4a1(0x121)],'unitIDs':[_0x5f1bde],'isForwarded':!0x1});}['disposeUnit'](_0x9ae685){const _0x7bc4fb=_0x47384e;this[_0x7bc4fb(0x229)][_0x7bc4fb(0x18e)](_0x9ae685),this['_selfUnitIDs'][_0x7bc4fb(0x261)]===0x0&&this[_0x7bc4fb(0x23b)]&&window[_0x7bc4fb(0x28d)](this['_heartbeatTimer']);}['_init'](){const _0x1b4ddc=_0x47384e;this[_0x1b4ddc(0x22e)](_0x4fa450(_0x507308(window,'storage')[_0x1b4ddc(0x296)](_0x525f5a=>{const _0x2d4d1f=_0x1b4ddc;if(_0x525f5a[_0x2d4d1f(0x123)]!==nt||!_0x525f5a[_0x2d4d1f(0x166)])return;const _0x14e595=JSON[_0x2d4d1f(0x115)](_0x525f5a[_0x2d4d1f(0x166)]);this['_handleEvent'](_0x14e595);}))),window[_0x1b4ddc(0x29c)](_0x1b4ddc(0x28f),()=>this['_send']({'type':0x1,'memberID':this[_0x1b4ddc(0x121)],'unitIDs':Array[_0x1b4ddc(0x1cd)](this[_0x1b4ddc(0x229)])}));}[_0x47384e(0x195)](_0x394dc4){const _0x17fd47=_0x47384e;switch(_0x394dc4[_0x17fd47(0x208)]){case 0x0:this['_handleJoinEvent'](_0x394dc4);break;case 0x1:this[_0x17fd47(0x1c6)](_0x394dc4);break;case 0x2:this[_0x17fd47(0x1ce)](_0x394dc4);break;}}[_0x47384e(0xc6)](_0x598ed0){const _0x49f2f9=_0x47384e,{unitIDs:_0x228b82,memberID:_0x3b3755,isForwarded:_0x5e5b11}=_0x598ed0;_0x228b82[_0x49f2f9(0x16c)](_0x37b57e=>{const _0x4c2a66=_0x49f2f9;if(!_0x5e5b11&&this[_0x4c2a66(0x2c2)]['has'](_0x37b57e)&&this['_ensureSubject'](_0x37b57e)[_0x4c2a66(0x1be)](_0xefd503[_0x4c2a66(0x20f)]),!this['_unitOnClients'][_0x4c2a66(0x219)](_0x37b57e)||!this[_0x4c2a66(0x2c2)][_0x4c2a66(0x1b4)](_0x37b57e)[_0x4c2a66(0x219)](_0x3b3755)){const _0x3b1a92=this[_0x4c2a66(0x2c2)][_0x4c2a66(0x1b4)](_0x37b57e)||new Set();_0x3b1a92[_0x4c2a66(0x143)](_0x3b3755),this[_0x4c2a66(0x2c2)][_0x4c2a66(0x265)](_0x37b57e,_0x3b1a92),this[_0x4c2a66(0x154)](_0x3b3755);}}),_0x5e5b11||this['_send']({'type':0x0,'memberID':this[_0x49f2f9(0x121)],'unitIDs':[...this[_0x49f2f9(0x229)]],'isForwarded':!0x0});}[_0x47384e(0x154)](_0x43fc83){const _0x41258d=_0x47384e;this[_0x41258d(0xd4)](_0x43fc83);const _0xe89588=window['setTimeout'](()=>{const _0x5a5651=_0x41258d;this['_unitOnClients'][_0x5a5651(0x16c)](_0x2c07b4=>{const _0x52bff9=_0x5a5651;_0x2c07b4[_0x52bff9(0x18e)](_0x43fc83);});},it*0x2);this[_0x41258d(0x1bf)][_0x41258d(0x265)](_0x43fc83,_0xe89588);}[_0x47384e(0xd4)](_0x5256b9){const _0x29388c=_0x47384e;if(this[_0x29388c(0x1bf)][_0x29388c(0x219)](_0x5256b9)){const _0x499395=this[_0x29388c(0x1bf)][_0x29388c(0x1b4)](_0x5256b9);_0x499395&&window[_0x29388c(0x289)](_0x499395),this[_0x29388c(0x1bf)][_0x29388c(0x265)](_0x5256b9,null);}}['_handleLeaveEvent'](_0x440103){const _0x4cd569=_0x47384e,{memberID:_0x5842f6,unitIDs:_0x232bac}=_0x440103;_0x232bac['forEach'](_0x2c9fcf=>{const _0x21f5b3=_0x1df4;var _0x13a76f;const _0x443a5b=this['_unitOnClients'][_0x21f5b3(0x1b4)](_0x2c9fcf);_0x443a5b&&(_0x443a5b['delete'](_0x5842f6),(_0x13a76f=this[_0x21f5b3(0x20d)](_0x2c9fcf))==null||_0x13a76f[_0x21f5b3(0x1be)](_0x443a5b[_0x21f5b3(0x261)]===0x0?_0xefd503[_0x21f5b3(0x268)]:_0xefd503['OTHER_CLIENTS_EDITING']));}),this[_0x4cd569(0xd4)](_0x5842f6);}[_0x47384e(0x1ce)](_0x5e18c8){const _0x4a4194=_0x47384e;this[_0x4a4194(0x154)](_0x5e18c8[_0x4a4194(0x19a)]);}[_0x47384e(0xe5)](_0x1f8e1d){const _0x258b3e=_0x47384e;localStorage['setItem'](nt,JSON[_0x258b3e(0x29e)](_0x1f8e1d));}['_scheduleHeartbeat'](){const _0x41eafc=_0x47384e;this[_0x41eafc(0x23b)]=window[_0x41eafc(0x1e3)](()=>{const _0x3dd9ab=_0x41eafc;this[_0x3dd9ab(0xe5)]({'type':0x2,'memberID':this['_id']});},it);}[_0x47384e(0x20d)](_0x2d46fc){const _0x55c3f6=_0x47384e;return this['_unitStatus'][_0x55c3f6(0x219)](_0x2d46fc)||this[_0x55c3f6(0x16e)]['set'](_0x2d46fc,new _0x2947e5(_0xefd503['NO_OTHER_CLIENTS_EDITING'])),this[_0x55c3f6(0x16e)][_0x55c3f6(0x1b4)](_0x2d46fc);}}var Mt=(_0x551b0c=>(_0x551b0c[_0x551b0c['UNDEFINED']=0x0]='UNDEFINED',_0x551b0c[_0x551b0c['OK']=0x1]='OK',_0x551b0c[_0x551b0c['INTERNAL_ERROR']=0x2]=_0x47384e(0x2a9),_0x551b0c[_0x551b0c[_0x47384e(0x238)]=0x3]=_0x47384e(0x238),_0x551b0c[_0x551b0c[_0x47384e(0x259)]=0x4]=_0x47384e(0x259),_0x551b0c[_0x551b0c[_0x47384e(0x132)]=0x5]=_0x47384e(0x132),_0x551b0c[_0x551b0c[_0x47384e(0x1c9)]=0x6]=_0x47384e(0x1c9),_0x551b0c[_0x551b0c[_0x47384e(0x140)]=0x7]=_0x47384e(0x140),_0x551b0c[_0x551b0c[_0x47384e(0x161)]=0x8]=_0x47384e(0x161),_0x551b0c[_0x551b0c[_0x47384e(0x12d)]=0x9]=_0x47384e(0x12d),_0x551b0c[_0x551b0c[_0x47384e(0x15b)]=0xa]=_0x47384e(0x15b),_0x551b0c[_0x551b0c['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x47384e(0xed),_0x551b0c[_0x551b0c[_0x47384e(0x1af)]=0xc]=_0x47384e(0x1af),_0x551b0c[_0x551b0c['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x47384e(0x269),_0x551b0c[_0x551b0c[_0x47384e(0xd6)]=0xe]=_0x47384e(0xd6),_0x551b0c[_0x551b0c[_0x47384e(0x209)]=0x1389]=_0x47384e(0x209),_0x551b0c[_0x551b0c[_0x47384e(0x1c3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x551b0c[_0x551b0c[_0x47384e(0xf4)]=0x1772]=_0x47384e(0xf4),_0x551b0c[_0x551b0c[_0x47384e(0x102)]=0x1773]=_0x47384e(0x102),_0x551b0c[_0x551b0c['APPLY_REJECT']=0x1b59]=_0x47384e(0x109),_0x551b0c[_0x551b0c[_0x47384e(0x12e)]=0x1b5a]=_0x47384e(0x12e),_0x551b0c[_0x551b0c['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x551b0c[_0x551b0c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x47384e(0x287),_0x551b0c[_0x551b0c[_0x47384e(0xec)]=0x1b5d]=_0x47384e(0xec),_0x551b0c[_0x551b0c[_0x47384e(0xd7)]=0x1f41]=_0x47384e(0xd7),_0x551b0c[_0x551b0c[_0x47384e(0x1b1)]=0x2329]=_0x47384e(0x1b1),_0x551b0c[_0x551b0c[_0x47384e(0x184)]=0x232a]=_0x47384e(0x184),_0x551b0c[_0x551b0c[_0x47384e(0x28a)]=0x232b]=_0x47384e(0x28a),_0x551b0c[_0x551b0c[_0x47384e(0x1f2)]=0x232c]=_0x47384e(0x1f2),_0x551b0c[_0x551b0c[_0x47384e(0x1ad)]=0x232d]=_0x47384e(0x1ad),_0x551b0c[_0x551b0c[_0x47384e(0x180)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x551b0c[_0x551b0c[_0x47384e(0x137)]=0x2712]=_0x47384e(0x137),_0x551b0c[_0x551b0c[_0x47384e(0x18c)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x551b0c[_0x551b0c[_0x47384e(0x250)]=0x2714]=_0x47384e(0x250),_0x551b0c[_0x551b0c['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x551b0c[_0x551b0c['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x47384e(0x26a),_0x551b0c[_0x551b0c[_0x47384e(0x2a6)]=0x271c]=_0x47384e(0x2a6),_0x551b0c[_0x551b0c[_0x47384e(0x26d)]=0x271d]=_0x47384e(0x26d),_0x551b0c[_0x551b0c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x551b0c[_0x551b0c[_0x47384e(0x2c4)]=0x271f]=_0x47384e(0x2c4),_0x551b0c[_0x551b0c[_0x47384e(0xd0)]=0x2720]=_0x47384e(0xd0),_0x551b0c[_0x551b0c[_0x47384e(0x27c)]=0x2af9]=_0x47384e(0x27c),_0x551b0c[_0x551b0c[_0x47384e(0x120)]=0x2ee1]=_0x47384e(0x120),_0x551b0c[_0x551b0c[_0x47384e(0xfe)]=0x2ee2]='INVALID_INVITE_CODE',_0x551b0c[_0x551b0c[_0x47384e(0x196)]=0x2ee3]=_0x47384e(0x196),_0x551b0c[_0x551b0c[_0x47384e(0x1b3)]=0x2ee4]=_0x47384e(0x1b3),_0x551b0c[_0x551b0c[_0x47384e(0x13d)]=0x2ee5]=_0x47384e(0x13d),_0x551b0c[_0x551b0c[_0x47384e(0x174)]=0x32c9]=_0x47384e(0x174),_0x551b0c[_0x551b0c[_0x47384e(0x1ab)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x551b0c[_0x551b0c[_0x47384e(0x23c)]=0x32cb]=_0x47384e(0x23c),_0x551b0c[_0x551b0c[_0x47384e(0x1a4)]=-0x1]=_0x47384e(0x1a4),_0x551b0c))(Mt||{}),pn=Object[_0x47384e(0x223)],Cn=(_0x5950ae,_0x53de29,_0x149120,_0x2dd181)=>{const _0x202487=_0x47384e;for(var _0x3f1311=_0x2dd181>0x1?void 0x0:_0x2dd181?pn(_0x53de29,_0x149120):_0x53de29,_0x915ea=_0x5950ae[_0x202487(0x29f)]-0x1,_0x5289bd;_0x915ea>=0x0;_0x915ea--)(_0x5289bd=_0x5950ae[_0x915ea])&&(_0x3f1311=_0x5289bd(_0x3f1311)||_0x3f1311);return _0x3f1311;},be=(_0x5126d9,_0x339b6d)=>(_0x51e670,_0x28d40a)=>_0x339b6d(_0x51e670,_0x28d40a,_0x5126d9);let rt=class extends _0x34352e{constructor(_0x1925e2,_0x1b7eea,_0x5508f3){const _0x1b52ba=_0x47384e;super(),this[_0x1b52ba(0xd3)]=_0x1925e2,this[_0x1b52ba(0xe2)]=_0x1b7eea,this[_0x1b52ba(0x178)]=_0x5508f3;}async['runOnServer'](_0x249f6e,_0x5ec967,_0x73ea92,..._0x4354b0){const _0x3be18d=_0x47384e;var _0x34929f,_0xedbe71,_0x297eeb,_0x3faacc;const _0x3a6395=this[_0x3be18d(0xd3)][_0x3be18d(0x218)]();if(!_0x3a6395)throw new Error(_0x3be18d(0x2bb));const _0x11ef96=((_0x34929f=this['_configService'][_0x3be18d(0x2b1)](_0x5689b9))!=null?_0x34929f:_0x2532f4)+'/'+_0x249f6e+_0x3be18d(0x293)+_0x5ec967,_0x4917b5=new URL(window[_0x3be18d(0x179)][_0x3be18d(0x125)]),_0x22e097={'scriptId':_0x249f6e,'runId':(_0xedbe71=_0x4917b5[_0x3be18d(0xc9)][_0x3be18d(0x1b4)](_0x3be18d(0x145)))!=null?_0xedbe71:'','function':_0x5ec967,'unitId':_0x3a6395[_0x3be18d(0x1f9)](),'argsOfFunction':JSON[_0x3be18d(0x29e)](_0x4354b0),'invokeId':(_0x297eeb=_0x73ea92[_0x3be18d(0xe3)])!=null?_0x297eeb:'','executionId':(_0x3faacc=_0x73ea92['executionId'])!=null?_0x3faacc:''};try{const _0x247f5d=await this[_0x3be18d(0xe2)]['post'](_0x11ef96,{'body':_0x22e097});return _0x247f5d['body']['error']&&_0x247f5d[_0x3be18d(0x2a1)][_0x3be18d(0x1b7)][_0x3be18d(0x213)]!==Mt['OK']?'Failed':_0x247f5d[_0x3be18d(0x2a1)][_0x3be18d(0x2ad)];}catch{return _0x3be18d(0x191);}}};rt=Cn([be(0x0,_0x1b6462),be(0x1,_0x1d6f2c(_0x2ccfd5)),be(0x2,_0x38dbe9)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};function _0x3e29(){const _0x22e28c=['_getSaveTimeout','collabStatus.synced','getAncestorScale','0\x200\x2016\x2016','values','getRangePointData','collabStatus.notCollab','green.600','InsertRangeMoveRightCommandId','height','CLOSE_ROOM','YUUMI_SUBSCRIPTION_NOT_FOUND','1em','[CollaborationDataLoaderController]','toRgbString','onPointerLeave$','top','url(#on-line-icon_clip0_910_349)','_createSocketURL','actions','NOT_FOUND','OnLineIcon','_initResize','setStateCache','onRendered','_roomMembers$','_hideTimer','m1Prime','size','blue.400','_docStateChangeManagerService','1084896JfAHnT','set','max','restore','NO_OTHER_CLIENTS_EDITING','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','_initCommandExecutedListener','_localeService','YUUMI_ALL_TABLES_IS_INVALID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','OTHER_CLIENT_EDITING','univerjs-icon\x20univerjs-icon-','currentColor','getValue','fill','_initStatusComponent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getParam','1890044TtLzRj','_document','focused$','_backgroundColor','extend','PY_RUNTIME_SCRIPT_ERROR','column','transformMutation','startRow','some','subscribeEvent','call','getDocRanges','sessionStatus$','_render','session.connection-failed','APPLY_PERMISSION_DENIED','send','clearTimeout','LICENSE_IMPORT_SIZE_EXCEEDED','onPointerEnter$','session.will-retry','clearInterval','purple.300','unload','UNIVER_SHEET','getActiveSheet','onStarting','/run/','concat','collab-rect-range-','subscribe','_injector','string','_uiPartsService','hide','getViewport','addEventListener','unshift','stringify','length','_themeService','body','_startSheetCollabCursor','_setupBeforeClosingHandler','MoveRangeCommandId','getOffsetConfig','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_online','replace','INTERNAL_ERROR','collaboration.closeRoom','roomMembers','collab-text-range-','result','transformIMECache','_saveCache','_session','getConfig','url(#$1','fillText','_scheduleSaving','transformMutationsWithChangeset','_getAnchorBounding','getUnitStatus$','UPDATE_CURSOR','tag','generateRandomId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','addObject','random','prototype','setShapeProps','substring','complete','_unitOnClients','AWAITING','YUUMI_AI_RUN_FAILED','displayName','activeSheet$','_localCacheService','_logService','...','_handleJoinEvent','getVpScrollXYInfoByPosToVp','_getScale','searchParams','saveOfflineData','InsertColCommandId','fillStyle','collabCursorState$','loadUnit','107465NVYLDY','YUUMI_CONNECTOR_URL_NOT_FOUND','unitId','loadOfflineData','_instanceService','_removeClearOtherTimer','override','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CONNECTOR_DATA_TOO_LARGE','_config','then','addClipboardHook','source','xlink:href','_docTransformIMECacheService','_cursorShapes','FETCH_MISS','InsertRowCommandId','getColorFromTheme','_httpService','invokeId','_toggleOffline','_send','_init','_removeCollabCursors','function','getSheetId','_status$','getOwnPropertySymbols','APPLY_DUPLICATED','MOBILE_VERIFY_CODE_MISMATCH','_onRefRangeChange','unit','backgroundColor','assignAColorForMemberID','transformSelections','TEXT','SNAPSHOT_HAS_BEEN_REMOVED','_docTransformStateCacheService','_disabled','permission.title','symbol','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setUndoRedoMutationParamsCache','hovered','replaceState','includes','INVALID_INVITE_CODE','selection','save','UNIVER_DOC','ENSURE_SNAPSHOT_EXECUTION','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','entityInit$','RECT','idSuffix','_syncEditingCollabCursorService','arc','APPLY_REJECT','sheetID','init','_colorIndex','dispose','_doCreateSocket','contains','_context','_getSessionTicket','HEADER_MENU','_initDependencies','_color','parse','show','doc.mutation.rich-text-editing','isArray','FromArray','black','registerRenderModule','_univerInstanceService','_name','_range','session.collaboration-timeout','INVITE_CODE_HAS_BEEN_UES','_id','_updateSubUnitFromURLParams','key','collaboration.single-unit.warning','href','RemoveColCommandId','JOIN_ROOM_FAILED','onPointerMove$','getMemberID','_dataLoaderService','endColumn','_renderManagerService','COMPLETION_FINISHED','APPLY_NON_SEQUENTIAL_REVISION','url(#off-line-icon_clip0_910_343)','NOT_COLLAB','event$','UNAUTHENTICATED','getItem','getCurrentUnitForType','_drawRectRange','addObjects','YUUMI_URL_COL_OUT_OF_RANGE','http://www.w3.org/2000/svg','lineTo','indexOf','data','_getMergeRange','INVITE_CODE_ALREADY_BOUND','_getSheetObject','_refRangeService','INVALID_ARGUMENT','exhaustSavingTask','defs','add','_collabCursorState$','runId','_transformHistoryAndStateStack','mask','_updateURLWithCurrentState','defineProperty','SOCKET_FAILED','min','_shapes','range','width','getCellPositionByOffset','uni.network.url-service','_initStatusListener','unitID','_labelPosition','_scheduleClearOtherTimer','subunit','21WuJzXw','getCurrentRevOfUnit','collabStatus.conflict','CONFLICT','collabStatus.syncing','LOGIN_FAILED','SUBMIT_CHANGESET_TIMEOUT','color','hasOwnProperty','all','find','TOO_MANY_REQUESTS','_docSkeleton','labelPosition','dispose$','setItem','newValue','redoState','updateOfflineData','510433QTYTWD','InsertRangeMoveDownCommandId','_anchorDot','forEach','endRow','_unitStatus','_lastPointer','debug','map','Error','3886816FxKgTL','WECHAT_HAS_BEEN_BOUND','pipe','assign','roomMembers$','_configService','location','executeCommand','_notificationService','white','SOCKET_FAILED_RETRY','_messageService','_cachedData','YUUMI_UNABLE_LOAD_URL','application/json','row','ticket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_updateCollabCursors','svg','removeParam','getMergeData','colorChannel1','setAlpha','_assignedColors','YUUMI_RATE_OVER_LIMIT','round','delete','defIds','_hovered','Failed','_collabSessionService','selections','engine','_handleEvent','INVITE_CODE_REQUIRED','whenReady','_registerRenderDependencies','use','memberID','flatMap','getRenderById','registerComponent','currentSkeleton$','bottom','_onCursorDelete','_cursorInfo$','_saveTaskMap','history','UNRECOGNIZED','children','_collaborationUIEventService','getSheetBySheetId','SYNCED','imageSourceType','_imageIoService','MOBILE_HAS_BEEN_BOUND','ONLINE','LICENSE_DISTRO_REJECTED','undoState','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','permission.content','LICENSE_MAX_UNITS_EXCEEDED','_revisionService','USER_NOT_INVITED_CODE','get','onCommandExecuted','with','error','UniverIcon','_transformPreviousActiveRange','_transformService','_collabCursorController','setParam','deepClone','next','_clearOtherTimers','transformStateCache','setActiveRange','search','SNAPSHOT_INVALID_SNAPSHOT','rgba(255,\x20255,\x20255,\x200.01)','startColumn','_handleLeaveEvent','drawWith','_registerDependencies','ALREADY_EXISTS','_refreshCollabCursors','_urlService','none','from','_handleHeartbeatEvent','params','urlChange$','getStateCache','off-line-icon_clip0_910_343','collab-text-anchor-','_docSkeletonManagerService','_colorAssignService','collaboration-client.offline-data-not-saved','collabStatus.fetchMiss','_onCursorUpdate','on-line-icon_clip0_910_349','isEditing','cursorInfo','measureText','_commandService','getCollabEntity$','attrs','RemoveRowCommandId','_localStorageService','_memberService','setInterval','eventID','_transformUndoRedoStack','M0\x200H16V16H0z','registerRefRange','name','_hover','getTypeOfUnitAdded$','getTypeOfUnitDisposed$','getCurrent','_drawTextRange','univer-flex\x20univer-items-center','evenodd','transformByState','_initEntityListener','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationController','getUndoRedoMutationParamsCache','_toggleOnline','font','18RzXjbA','icon','getUnitId','_scheduleHeartbeat','red.300','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','_sheetSkeletonManagerService','_cursors','_initEvent','_entities','closePath','m2Prime','makeDirty','wsSessionTicketUrl','docStateChange$','transformRemoteChangeset','_cursor','type','CHANGESET_REVISION_CONFILICT','currentTheme$','_docClipboardService','div','_ensureSubject','Warning','OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','toString','_anchor','code','_setupSubUnitSync','asObservable','Unknown\x20user','191580OXhINT','getFocusedUnit','has','clipPath','collab-client.tooltip.reconnect','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_startDocCollabCursor','cursorInfo$','getCollabCursors$','_beforeCloseService','textRanges','getOwnPropertyDescriptor','_docSyncEditingCollabCursorService','VIEW_MAIN','_scene','registerBeforeClose','OFFLINE','_selfUnitIDs','onTransformChange$','getSkeleton','OffLineIcon','_drawAnchor','disposeWithMe','0\x200\x2017\x2016','onMouseMove','PENDING','path','syncEditingCollabCursor','132638XCfMIf','disableLocalCache','mutations','push','PERMISSION_DENIED','DeleteRangeMoveLeftCommandId','_updateLocalCursor','_heartbeatTimer','EMAIL_HAS_BEEN_BOUND','split','createInstance','getUnhiddenWorksheets','_textBubble','beginPath','_eventUnsubscribe','getMember','_entityInit$'];_0x3e29=function(){return _0x22e28c;};return _0x3e29();}
|
|
1
|
+
const _0x1acd05=_0xe137;(function(_0x4be702,_0x3e0e42){const _0x197331=_0xe137,_0x28b22a=_0x4be702();while(!![]){try{const _0x5154fd=-parseInt(_0x197331(0x224))/0x1*(parseInt(_0x197331(0x3a7))/0x2)+-parseInt(_0x197331(0x3b1))/0x3+-parseInt(_0x197331(0x218))/0x4+-parseInt(_0x197331(0x393))/0x5*(-parseInt(_0x197331(0x269))/0x6)+parseInt(_0x197331(0x1cc))/0x7+parseInt(_0x197331(0x3a3))/0x8+parseInt(_0x197331(0x2be))/0x9;if(_0x5154fd===_0x3e0e42)break;else _0x28b22a['push'](_0x28b22a['shift']());}catch(_0x53336c){_0x28b22a['push'](_0x28b22a['shift']());}}}(_0x3563,0x5aa13));var $t=Object[_0x1acd05(0x220)],xt=(_0x12e77b,_0xbc3fab,_0x370d4f)=>_0xbc3fab in _0x12e77b?$t(_0x12e77b,_0xbc3fab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x370d4f}):_0x12e77b[_0xbc3fab]=_0x370d4f,_=(_0xa326bf,_0x56bb36,_0x1ecdc9)=>xt(_0xa326bf,typeof _0x56bb36!=_0x1acd05(0x2b9)?_0x56bb36+'':_0x56bb36,_0x1ecdc9);import{MemberService as _0x480fd1,SessionStatus as _0x4f6c8f,CollaborationSessionService as _0xbcca1b,CollaborationStatus as _0x3be97d,CollaborationController as _0x353ace,ILocalCacheService as _0x22d609,CollaborationUIEventService as _0x427c8d,CollaborationUIEventId as _0x28c901,DataLoaderService as _0x35d9cc,DocCollaborationEntity as _0x2bd935,getLocalCacheKey as _0x39d7de,LOCAL_CACHE_INTERVAL as _0x51366b,LOCAL_CACHE_INTERVAL_KEY as _0xebb4,UniverCollaborationClientPlugin as _0x518949,CollaborationSocketService as _0x54c42f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x122295,DEFAULT_WS_SESSION_TICKET_URL as _0x32d98e,UnitStatus as _0xf3aa6c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2398af,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3f0e80}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x17991f,Disposable as _0x1e46f3,DOC_RANGE_TYPE as _0x1274c7,Inject as _0x5f021e,Injector as _0x4f83c1,IUniverInstanceService as _0x48e36a,ICommandService as _0x4cc3b7,debounce as _0x52b9ab,Rectangle as _0x1130d0,DisposableCollection as _0x189047,toDisposable as _0x527068,UniverInstanceType as _0x1f91f1,Tools as _0x4150e8,COLORS as _0xc873dc,ColorKit as _0x68a2e7,ThemeService as _0x5c6db6,fromEventSubject as _0x3518cd,LocaleService as _0x1b849e,createIdentifier as _0x206f17,ILogService as _0x3ede55,Optional as _0x216a52,Workbook as _0x1f0347,CommandType as _0x37acca,IConfigService as _0x1e1632,ILocalStorageService as _0x40aebb,DependentOn as _0x491017,Plugin as _0x27aa42,merge as _0x68f404,registerDependencies as _0x60982f,mergeOverrideWithDependencies as _0x1a7a13,touchDependencies as _0x6a9e0a,generateRandomId as _0x211b4d}from'@univerjs/core';import{Shape as _0x3ea822,Rect as _0x1d9677,getColor as _0x236404,RegularPolygon as _0x2731ce,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3eb9b4,Vector2 as _0x17974c,SHEET_VIEWPORT_KEY as _0xb6c4cd,IRenderManagerService as _0x22a42b}from'@univerjs/engine-render';import{ISocketService as _0x4dcec0,WebSocketService as _0xd27793,HTTPService as _0x4283b1}from'@univerjs/network';import{IDocClipboardService as _0x37494c,NodePositionConvertToCursor as _0x41a922,NodePositionConvertToRectRange as _0x127fe1,TEXT_RANGE_LAYER_INDEX as _0x4bdec4,SetDocZoomRatioOperation as _0x5d9d25,DocIMEInputManagerService as _0x1a5f23,DocStateChangeManagerService as _0x145de9}from'@univerjs/docs-ui';import{IImageIoService as _0x3311d7}from'@univerjs/drawing';import{BehaviorSubject as _0x5bb037,debounceTime as _0x3972ef,takeUntil as _0x5eb4a6,Subject as _0x185b6d,filter as _0x592e33,switchMap as _0x4fef0f,merge as _0x59d202,combineLatest as _0x24821a,of as _0x4d18a7,fromEvent as _0x519b9a,shareReplay as _0x220147,mapTo as _0x384f5f,distinctUntilChanged as _0x412588}from'rxjs';import{ITransformService as _0x3c09f3,CollaborationEvent as _0x4a57d6,isTransformMutationFailure as _0x3d9270,isTransformMutationsWithChangesetSuccess as _0x5e35b1,RevisionService as _0x858df0,ISnapshotServerService as _0x148f97}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3837a5,RichTextEditingMutation as _0x4d34d2,DocSelectionManagerService as _0x797d99,DocSkeletonManagerService as _0x13457e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x318318,serializeRangeWithSheet as _0x352f65}from'@univerjs/engine-formula';import{RefRangeService as _0x5ba58d,SetSelectionsOperation as _0x11f434,SheetsSelectionsService as _0x5dcc14,EffectRefRangId as _0x2370c2,handleIRemoveRow as _0x45885c,handleIRemoveCol as _0x551518,handleMoveRange as _0x12508f,handleInsertRow as _0x303189,handleInsertRangeMoveRight as _0x5564c0,handleInsertRangeMoveDown as _0x3130af,handleInsertCol as _0x44084f,handleDeleteRangeMoveUp as _0x5cac54,handleDeleteRangeMoveLeft as _0x2208d8,runRefRangeMutations as _0xfbba7c,SetWorksheetActivateCommand as _0x3ed6fe}from'@univerjs/sheets';import{map as _0x152575,filter as _0x44bb43,throttleTime as _0x588b8a,takeUntil as _0x14d703,switchMap as _0x38a762}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5c84db,getCoordByCell as _0x5ce795,getSheetObject as _0x3614d7}from'@univerjs/sheets-ui';import{jsx as _0x25785d,jsxs as _0x783189}from'react/jsx-runtime';import{useObservable as _0x1618d0,useDependency as _0x51e10c,IUIPartsService as _0xda0404,BuiltInUIPart as _0x38070b,connectInjector as _0x46b9d9,IBeforeCloseService as _0x181cb5,IMessageService as _0x7eeb49,INotificationService as _0x7fe26d}from'@univerjs/ui';import{Tooltip as _0x6bca9d,clsx as _0x275f5d,MessageType as _0x44bafd}from'@univerjs/design';import{forwardRef as _0xa37560,useRef as _0x54ef04,createElement as _0x1dc605,useCallback as _0x3268cd}from'react';import{IRemoteInstanceService as _0x3bb9f2}from'@univerjs/rpc';var ci=Object[_0x1acd05(0x2f5)],li=(_0x2b8a0c,_0x3ab8b7,_0x17714e,_0x5034e6)=>{const _0x5e401b=_0x1acd05;for(var _0x2c396a=_0x5034e6>0x1?void 0x0:_0x5034e6?ci(_0x3ab8b7,_0x17714e):_0x3ab8b7,_0xc2ee3e=_0x2b8a0c[_0x5e401b(0x263)]-0x1,_0x198cf9;_0xc2ee3e>=0x0;_0xc2ee3e--)(_0x198cf9=_0x2b8a0c[_0xc2ee3e])&&(_0x2c396a=_0x198cf9(_0x2c396a)||_0x2c396a);return _0x2c396a;},Je=(_0x5f5545,_0x362b6c)=>(_0x3f11fc,_0x399050)=>_0x362b6c(_0x3f11fc,_0x399050,_0x5f5545);let Ne=class extends _0x17991f{constructor(_0x50b0c4,_0x20efbd){const _0x37b54d=_0x1acd05;super(),this[_0x37b54d(0x350)]=_0x50b0c4,this[_0x37b54d(0x235)]=_0x20efbd,this[_0x37b54d(0x35d)]();}[_0x1acd05(0x35d)](){const _0x4f616a=_0x1acd05,_0x580d4d=this;this['disposeWithMe'](this[_0x4f616a(0x350)][_0x4f616a(0x2a1)]({'onBeforePasteImage':async _0x4b77df=>{const _0x2859bd=_0x4f616a,_0x20ae0c=await _0x580d4d[_0x2859bd(0x235)][_0x2859bd(0x296)](_0x4b77df);return _0x20ae0c?{'source':_0x20ae0c['source'],'imageSourceType':_0x20ae0c[_0x2859bd(0x249)]}:null;}}));}};Ne=li([Je(0x0,_0x37494c),Je(0x1,_0x3311d7)],Ne);const Ze=[_0x1acd05(0x39e),'jiqing.500',_0x1acd05(0x2af),_0x1acd05(0x229),'blue.400',_0x1acd05(0x2e3)];class ke extends _0x1e46f3{constructor(){const _0x304ffa=_0x1acd05;super(...arguments),_(this,_0x304ffa(0x2fd),new Map()),_(this,'_colorIndex',0x0);}[_0x1acd05(0x300)](_0x1ba90e){const _0x56bbbe=_0x1acd05;if(this[_0x56bbbe(0x2fd)][_0x56bbbe(0x334)](_0x1ba90e))return this[_0x56bbbe(0x2fd)][_0x56bbbe(0x307)](_0x1ba90e);const _0x5604e4=Ze[this[_0x56bbbe(0x2f1)]];return this['_colorIndex']=(this[_0x56bbbe(0x2f1)]+0x1)%Ze[_0x56bbbe(0x263)],this['_assignedColors']['set'](_0x1ba90e,_0x5604e4),_0x5604e4;}}function Tt(_0x47de62){let _0x37af00='';for(const _0x885513 of _0x47de62){const {startOffset:_0xa5e0cc,endOffset:_0x4ea9d0,isActive:_0x318546,rangeType:_0x4070e4,segmentId:_0x446fd0,segmentPage:_0x4fd5dc}=_0x885513;_0x37af00['length']&&(_0x37af00+=','),_0x37af00+=_0xa5e0cc+':'+_0x4ea9d0+':'+(_0x318546?'1':'0')+':'+_0x4070e4+':'+_0x446fd0+':'+_0x4fd5dc;}return _0x37af00;}function _i(_0x5b44ea){const _0x3fb7e0=_0x1acd05,_0x1f3c67=_0x5b44ea[_0x3fb7e0(0x1dc)](','),_0x20f628=[];for(const _0x7498d6 of _0x1f3c67){const [_0x1b4b74,_0x2d8399,_0x36a9b,_0xefd5d5,_0x2f040d,_0x20554e]=_0x7498d6[_0x3fb7e0(0x1dc)](':');_0x20f628[_0x3fb7e0(0x286)]({'startOffset':Number(_0x1b4b74),'endOffset':Number(_0x2d8399),'collapsed':_0x1b4b74===_0x2d8399,'isActive':_0x36a9b==='1','rangeType':_0xefd5d5===_0x1274c7[_0x3fb7e0(0x2a8)]?_0x1274c7[_0x3fb7e0(0x2a8)]:_0x1274c7[_0x3fb7e0(0x31c)],'segmentId':typeof _0x2f040d==_0x3fb7e0(0x3a5)?String(_0x2f040d):'','segmentPage':Number(_0x20554e!=null?_0x20554e:-0x1)});}return _0x20f628['some'](_0x464ed5=>_0x464ed5['isActive'])||(_0x20f628[0x0][_0x3fb7e0(0x1f6)]=!0x0),_0x20f628;}class He extends _0x17991f{constructor(){const _0x4f4560=_0x1acd05;super(...arguments),_(this,_0x4f4560(0x27b),new _0x5bb037(null)),_(this,_0x4f4560(0x2ee),this[_0x4f4560(0x27b)]['asObservable']());}[_0x1acd05(0x326)](_0x417975){const _0x5b19f2=_0x1acd05,{unitID:_0x264c12,memberID:_0x10a251,textRanges:_0x2ca016}=_0x417975,_0x1e2bd0=Tt(_0x2ca016);if(_0x1e2bd0==='')return;const _0x51ed00={'unitID':_0x264c12,'memberID':_0x10a251,'selection':_0x1e2bd0};this['_collabCursorState$'][_0x5b19f2(0x202)](_0x51ed00);}}var hi=Object[_0x1acd05(0x2f5)],ui=(_0x510659,_0x4de3e8,_0x232e61,_0x3659ab)=>{const _0x2d7476=_0x1acd05;for(var _0x501260=_0x3659ab>0x1?void 0x0:_0x3659ab?hi(_0x4de3e8,_0x232e61):_0x4de3e8,_0x44a866=_0x510659[_0x2d7476(0x263)]-0x1,_0x37ea02;_0x44a866>=0x0;_0x44a866--)(_0x37ea02=_0x510659[_0x44a866])&&(_0x501260=_0x37ea02(_0x501260)||_0x501260);return _0x501260;},P=(_0x49f4b1,_0x147678)=>(_0x13713c,_0x3fd059)=>_0x147678(_0x13713c,_0x3fd059,_0x49f4b1);const di=0x12c,fi=0x64;let Ue=class extends _0x17991f{constructor(_0x3bb811,_0x26e979,_0xcc3c3,_0x1e8512,_0x110219,_0x19c675,_0x3df7d9,_0x15ecdd,_0x2dd50d){const _0x14f215=_0x1acd05;super(),_(this,_0x14f215(0x20c),!0x1),_(this,_0x14f215(0x35d),!0x1),_(this,'_cursorInfo$',new _0x5bb037(new Map())),_(this,_0x14f215(0x279),this[_0x14f215(0x31f)][_0x14f215(0x27c)]()),_(this,_0x14f215(0x310),new _0x5bb037([])),_(this,_0x14f215(0x379),this[_0x14f215(0x310)][_0x14f215(0x1cd)](_0x3972ef(di))),_(this,_0x14f215(0x2dd),_0x52b9ab(_0x3f5035=>{const _0x2690d9=_0x14f215,_0x223b5a={'eventID':_0x4a57d6[_0x2690d9(0x37c)],'data':{'unitID':this[_0x2690d9(0x3a8)],'memberID':this[_0x2690d9(0x2df)][_0x2690d9(0x31d)](),'selection':Tt(_0x3f5035)}};this['_session'][_0x2690d9(0x1f1)](_0x223b5a,this['unitID']);},fi)),(this['unitID']=_0x3bb811,this[_0x14f215(0x2df)]=_0x26e979,this['_injector']=_0xcc3c3,this[_0x14f215(0x367)]=_0x1e8512,this[_0x14f215(0x2cf)]=_0x110219,this[_0x14f215(0x26b)]=_0x19c675,this[_0x14f215(0x20a)]=_0x3df7d9,this[_0x14f215(0x342)]=_0x15ecdd,this[_0x14f215(0x258)]=_0x2dd50d);}get['cursorInfo'](){const _0x5f1205=_0x1acd05;return this['_cursorInfo$'][_0x5f1205(0x351)]();}get[_0x1acd05(0x233)](){const _0x3a7df1=_0x1acd05;return this[_0x3a7df1(0x310)][_0x3a7df1(0x351)]();}['dispose'](){const _0x8393d1=_0x1acd05;super['dispose'](),this[_0x8393d1(0x31f)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x8393d1(0x310)][_0x8393d1(0x202)]([]),this[_0x8393d1(0x310)][_0x8393d1(0x222)]();}[_0x1acd05(0x1ed)](){const _0x162189=_0x1acd05;this[_0x162189(0x35d)]||(this[_0x162189(0x35d)]=!0x0,this[_0x162189(0x2df)][_0x162189(0x236)][_0x162189(0x1cd)](_0x5eb4a6(this[_0x162189(0x363)]))[_0x162189(0x385)](_0x20a3ba=>{const _0x10aaba=_0x162189;_0x20a3ba===_0x4f6c8f[_0x10aaba(0x2b8)]?this[_0x10aaba(0x368)]():this[_0x10aaba(0x319)]();}),this['_session']['event$']['pipe'](_0x5eb4a6(this['dispose$']))[_0x162189(0x385)](_0x5bac7b=>{const _0x448dbf=_0x162189,_0x4dd728=_0x5bac7b[_0x448dbf(0x1f0)];_0x4dd728===_0x4a57d6[_0x448dbf(0x37c)]&&this[_0x448dbf(0x210)](_0x5bac7b),_0x4dd728===_0x4a57d6[_0x448dbf(0x221)]&&this[_0x448dbf(0x29e)](_0x5bac7b);}),this[_0x162189(0x388)](this[_0x162189(0x258)][_0x162189(0x333)](_0x76b7f5=>{const _0xb763fc=_0x162189,_0x1781b3=_0x76b7f5[_0xb763fc(0x21f)];_0x1781b3!=null&&this[_0xb763fc(0x20c)]&&_0x76b7f5['id']===_0x3837a5['id']&&_0x1781b3[_0xb763fc(0x293)]===this[_0xb763fc(0x3a8)]&&_0x1781b3[_0xb763fc(0x2ef)]===!0x1&&_0x1781b3[_0xb763fc(0x277)]['length']>0x0&&this[_0xb763fc(0x2dd)](_0x1781b3['ranges']);})),this[_0x162189(0x26b)][_0x162189(0x2ee)][_0x162189(0x1cd)](_0x5eb4a6(this[_0x162189(0x363)]))[_0x162189(0x385)](_0x1c865b=>{const _0x184d94=_0x162189;if((_0x1c865b==null?void 0x0:_0x1c865b[_0x184d94(0x3a8)])!==this[_0x184d94(0x3a8)])return;const _0x3f940a={'eventID':_0x4a57d6[_0x184d94(0x37c)],'data':_0x1c865b};this[_0x184d94(0x210)](_0x3f940a);}),this[_0x162189(0x388)](this[_0x162189(0x258)][_0x162189(0x333)](_0x23a754=>{const _0x1239af=_0x162189;if(_0x23a754[_0x1239af(0x21f)]==null)return;const _0x30a9da=_0x23a754[_0x1239af(0x21f)];if(_0x23a754['id']!==_0x4d34d2['id']||_0x30a9da[_0x1239af(0x293)]!==this[_0x1239af(0x3a8)])return;const _0x3d1cc5={'id':'doc.mutation.rich-text-editing','params':_0x30a9da},_0x4eca19=this[_0x1239af(0x32f)];for(const [_0x57ac5e,_0x195e6c]of _0x4eca19){const _0x1ed0a8={'id':_0x1239af(0x204),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x195e6c['ranges']}},_0x3c5628=this[_0x1239af(0x20a)][_0x1239af(0x3b2)](_0x3d1cc5,_0x1ed0a8,!0x1);if(_0x3d9270(_0x3c5628))throw _0x3c5628['error'];_0x4eca19['set'](_0x57ac5e,{..._0x195e6c,'ranges':_0x3c5628[_0x1239af(0x25b)]['params']['textRanges']});}queueMicrotask(()=>{const _0x51bc23=_0x1239af;this['_cursorInfo$'][_0x51bc23(0x202)](_0x4eca19);});})));}[_0x1acd05(0x210)](_0x29a3cf){const _0x2f7f77=_0x1acd05;var _0x5458cc,_0x25ce79;const {memberID:_0x579788,selection:_0x28226a}=_0x29a3cf[_0x2f7f77(0x24c)],_0x3b1ef1=_i(_0x28226a),_0x38fd98=(_0x25ce79=(_0x5458cc=this[_0x2f7f77(0x2cf)][_0x2f7f77(0x328)](this[_0x2f7f77(0x3a8)],_0x579788))==null?void 0x0:_0x5458cc[_0x2f7f77(0x21e)])!=null?_0x25ce79:'Unknown\x20user',_0x18b2dd={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x579788),'name':_0x38fd98,'ranges':_0x3b1ef1},_0x347000=this[_0x2f7f77(0x32f)];_0x347000[_0x2f7f77(0x38e)](_0x579788,_0x18b2dd),this[_0x2f7f77(0x31f)][_0x2f7f77(0x202)](_0x347000);}[_0x1acd05(0x29e)](_0x5262fd){const _0x2e9532=_0x1acd05,{memberID:_0x28381a}=_0x5262fd['data'],_0xc0217=this[_0x2e9532(0x32f)];_0xc0217[_0x2e9532(0x238)](_0x28381a),this[_0x2e9532(0x31f)][_0x2e9532(0x202)](_0xc0217);}[_0x1acd05(0x368)](){const _0x23a469=_0x1acd05;var _0x38d766;if(this[_0x23a469(0x20c)]=!0x0,((_0x38d766=this[_0x23a469(0x342)][_0x23a469(0x23c)]())==null?void 0x0:_0x38d766[_0x23a469(0x1fd)]())!==this[_0x23a469(0x3a8)])return;const _0x234c3b=this[_0x23a469(0x2ce)][_0x23a469(0x307)](_0x797d99)[_0x23a469(0x36c)]();Array['isArray'](_0x234c3b)&&_0x234c3b['length']>0x0&&this[_0x23a469(0x2dd)](_0x234c3b);}[_0x1acd05(0x319)](){const _0x3ad047=_0x1acd05;this[_0x3ad047(0x20c)]=!0x1;}};Ue=ui([P(0x2,_0x5f021e(_0x4f83c1)),P(0x3,_0x5f021e(ke)),P(0x4,_0x5f021e(_0x480fd1)),P(0x5,_0x5f021e(He)),P(0x6,_0x3c09f3),P(0x7,_0x48e36a),P(0x8,_0x4cc3b7)],Ue);var Si=Object[_0x1acd05(0x2f5)],mi=(_0x53bc3b,_0x101c07,_0x5bae48,_0x4abe2f)=>{const _0x38a703=_0x1acd05;for(var _0x477ccf=_0x4abe2f>0x1?void 0x0:_0x4abe2f?Si(_0x101c07,_0x5bae48):_0x101c07,_0x4f3512=_0x53bc3b[_0x38a703(0x263)]-0x1,_0xcab8;_0x4f3512>=0x0;_0x4f3512--)(_0xcab8=_0x53bc3b[_0x4f3512])&&(_0x477ccf=_0xcab8(_0x477ccf)||_0x477ccf);return _0x477ccf;},x=(_0x1ffef3,_0x587fc0)=>(_0x2b611c,_0x140b37)=>_0x587fc0(_0x2b611c,_0x140b37,_0x1ffef3);const Ii=0x12c,gi=0x64,vi=()=>{let _0x82fdea=[],_0x5694da=!0x1;return _0x75cdea=>{const _0x43a2a5=_0xe137;_0x82fdea[_0x43a2a5(0x286)](_0x75cdea),_0x5694da||(_0x5694da=!0x0,setTimeout(()=>{const _0x44033b=_0x43a2a5;_0x82fdea[_0x44033b(0x34c)](_0x3234b2=>_0x3234b2()),_0x82fdea=[],_0x5694da=!0x1;}));};};let Me=class extends _0x17991f{constructor(_0x33bc1d,_0x3c09d6,_0x1b4650,_0x4e32d4,_0x459978,_0x189d3d,_0x20d8df,_0xef5c51){const _0xfc3d0d=_0x1acd05;super(),_(this,_0xfc3d0d(0x20c),!0x1),_(this,_0xfc3d0d(0x35d),!0x1),_(this,_0xfc3d0d(0x31f),new _0x5bb037(new Map())),_(this,_0xfc3d0d(0x279),this[_0xfc3d0d(0x31f)][_0xfc3d0d(0x27c)]()),_(this,_0xfc3d0d(0x310),new _0x5bb037([])),_(this,_0xfc3d0d(0x379),this[_0xfc3d0d(0x310)][_0xfc3d0d(0x1cd)](_0x3972ef(Ii))),_(this,_0xfc3d0d(0x2dd),_0x52b9ab((_0x2b29b3,_0x3bc145)=>{const _0xebef23=_0xfc3d0d,_0x26fd74={'eventID':_0x4a57d6[_0xebef23(0x37c)],'data':{'unitID':this['unitID'],'memberID':this[_0xebef23(0x2df)][_0xebef23(0x31d)](),'selection':_0x352f65(_0x2b29b3,_0x3bc145[_0xebef23(0x21a)])}};this[_0xebef23(0x2df)][_0xebef23(0x1f1)](_0x26fd74,this[_0xebef23(0x3a8)]);},gi)),(this[_0xfc3d0d(0x3a8)]=_0x33bc1d,this[_0xfc3d0d(0x2df)]=_0x3c09d6,this[_0xfc3d0d(0x2ce)]=_0x1b4650,this['_colorAssignService']=_0x4e32d4,this[_0xfc3d0d(0x2cf)]=_0x459978,this[_0xfc3d0d(0x342)]=_0x189d3d,this['_commandService']=_0x20d8df,this[_0xfc3d0d(0x1e4)]=_0xef5c51);}get[_0x1acd05(0x32f)](){const _0xeeb2ce=_0x1acd05;return this[_0xeeb2ce(0x31f)][_0xeeb2ce(0x351)]();}get[_0x1acd05(0x233)](){const _0xe84ef=_0x1acd05;return this[_0xe84ef(0x310)][_0xe84ef(0x351)]();}[_0x1acd05(0x1ce)](){const _0x2b8199=_0x1acd05;super[_0x2b8199(0x1ce)](),this[_0x2b8199(0x31f)][_0x2b8199(0x202)](new Map()),this[_0x2b8199(0x31f)]['complete'](),this[_0x2b8199(0x310)][_0x2b8199(0x202)]([]),this[_0x2b8199(0x310)][_0x2b8199(0x222)]();}[_0x1acd05(0x1ed)](){const _0x2c3011=_0x1acd05;this[_0x2c3011(0x35d)]||(this[_0x2c3011(0x35d)]=!0x0,this['_session'][_0x2c3011(0x236)][_0x2c3011(0x1cd)](_0x5eb4a6(this[_0x2c3011(0x363)]))[_0x2c3011(0x385)](_0x55e38e=>{const _0x3f3fa1=_0x2c3011;_0x55e38e===_0x4f6c8f[_0x3f3fa1(0x2b8)]?this[_0x3f3fa1(0x368)]():this[_0x3f3fa1(0x319)]();}),this['_session'][_0x2c3011(0x37f)][_0x2c3011(0x1cd)](_0x5eb4a6(this[_0x2c3011(0x363)]))[_0x2c3011(0x385)](_0x256393=>{const _0x4ad33c=_0x2c3011,_0x54aae3=_0x256393[_0x4ad33c(0x1f0)];_0x54aae3===_0x4a57d6['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x256393),_0x54aae3===_0x4a57d6['USERS_LEAVE']&&this[_0x4ad33c(0x29e)](_0x256393);}),this[_0x2c3011(0x38d)](),this['disposeWithMe'](this[_0x2c3011(0x258)][_0x2c3011(0x333)](_0x474028=>{const _0x462424=_0x2c3011;if(this[_0x462424(0x20c)]&&_0x474028['id']===_0x11f434['id']&&_0x474028['params']['unitId']===this['unitID']){const _0x4e9f19=_0x474028[_0x462424(0x21f)];this[_0x462424(0x2dd)](_0x4e9f19[_0x462424(0x24d)],_0x4e9f19['selections'][0x0]);}})));}['_onCursorUpdate'](_0x34b6c5){const _0x5184ed=_0x1acd05;var _0x168259,_0x239943;const {memberID:_0x5bf650,selection:_0x5bd5e5}=_0x34b6c5[_0x5184ed(0x24c)],{sheetName:_0x1eb77e,range:_0x3d69ce}=_0x318318(_0x5bd5e5),_0x468058={'name':(_0x239943=(_0x168259=this['_memberService']['getMember'](this[_0x5184ed(0x3a8)],_0x5bf650))==null?void 0x0:_0x168259[_0x5184ed(0x21e)])!=null?_0x239943:'Unknown\x20user','range':this[_0x5184ed(0x345)](_0x1eb77e,_0x3d69ce),'sheetID':_0x1eb77e,'color':this['_colorAssignService'][_0x5184ed(0x300)](_0x5bf650),'selection':_0x5bd5e5},_0x123c5f=this[_0x5184ed(0x32f)];_0x123c5f[_0x5184ed(0x38e)](_0x5bf650,_0x468058),this[_0x5184ed(0x31f)][_0x5184ed(0x202)](_0x123c5f);}[_0x1acd05(0x29e)](_0x2f97ef){const _0x467e9b=_0x1acd05,{memberID:_0x359ec9}=_0x2f97ef[_0x467e9b(0x24c)],_0x21e672=this['cursorInfo'];_0x21e672[_0x467e9b(0x238)](_0x359ec9),this[_0x467e9b(0x31f)][_0x467e9b(0x202)](_0x21e672);}[_0x1acd05(0x345)](_0x1234d5,_0x5f2a1f){const _0x11ff0c=_0x1acd05;var _0x345c2d,_0xb55487;const _0x5a2383=(_0xb55487=(_0x345c2d=this[_0x11ff0c(0x342)]['getUniverSheetInstance'](this[_0x11ff0c(0x3a8)]))==null?void 0x0:_0x345c2d[_0x11ff0c(0x26e)](_0x1234d5))==null?void 0x0:_0xb55487[_0x11ff0c(0x25e)]();return(_0x5a2383==null?void 0x0:_0x5a2383['find'](_0x36473c=>_0x1130d0[_0x11ff0c(0x372)](_0x36473c,_0x5f2a1f)))||_0x5f2a1f;}['_onRefRangeChange'](){const _0x30f808=_0x1acd05,_0x4ad6e4=new _0x189047(),_0x2834d0=vi(),_0x41ae9f=()=>{const _0x41eec4=_0xe137;_0x4ad6e4[_0x41eec4(0x1ce)]();const _0x32d61f=(_0x559baa,_0x57dd2b,_0x4b1c13,_0x2aab2b)=>{const _0x388284=_0x41eec4;let _0x1b1562=[];switch(_0x559baa['id']){case _0x2370c2['DeleteRangeMoveLeftCommandId']:{_0x1b1562=_0x2208d8(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x1e1)]:{_0x1b1562=_0x5cac54(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x384)]:{_0x1b1562=_0x44084f(_0x559baa,_0x2aab2b);break;}case _0x2370c2['InsertRangeMoveDownCommandId']:{_0x1b1562=_0x3130af(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x1f3)]:{_0x1b1562=_0x5564c0(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x3ac)]:{_0x1b1562=_0x303189(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x365)]:{_0x1b1562=_0x12508f(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x288)]:{_0x1b1562=_0x551518(_0x559baa,_0x2aab2b);break;}case _0x2370c2['RemoveRowCommandId']:{_0x1b1562=_0x45885c(_0x559baa,_0x2aab2b);break;}}const _0x120f50=_0xfbba7c(_0x1b1562,_0x2aab2b),_0x20f65c=this[_0x388284(0x32f)][_0x388284(0x307)](_0x57dd2b);if(_0x20f65c&&_0x120f50){const _0x5a85be={..._0x20f65c,'range':_0x120f50};this[_0x388284(0x32f)][_0x388284(0x38e)](_0x57dd2b,_0x5a85be),_0x2834d0(()=>{const _0x5f461c=_0x388284,_0x359fc4=this['_refRangeService']['registerRefRange'](_0x120f50,_0x12295b=>(_0x359fc4[_0x5f461c(0x1ce)](),_0x32d61f(_0x12295b,_0x57dd2b,_0x4b1c13,_0x120f50)));_0x4ad6e4['add'](_0x359fc4);});}return{'redos':[],'undos':[]};};this[_0x41eec4(0x32f)][_0x41eec4(0x34c)]((_0x2f231a,_0x2e02c1)=>{const _0x539f73=_0x41eec4,{range:_0x35b3bd,sheetID:_0xbe9a7}=_0x2f231a,_0x257f2e=this['_refRangeService'][_0x539f73(0x2aa)](_0x35b3bd,_0x9e6a03=>(_0x257f2e['dispose'](),_0x32d61f(_0x9e6a03,_0x2e02c1,_0xbe9a7,_0x35b3bd)));_0x4ad6e4['add'](_0x257f2e);});};this[_0x30f808(0x388)](_0x527068(this[_0x30f808(0x31f)]['subscribe'](()=>{_0x41ae9f();})));}['_toggleOnline'](){const _0x5b9d75=_0x1acd05;var _0x162ed1,_0x566194;if(this[_0x5b9d75(0x20c)]=!0x0,((_0x162ed1=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x162ed1[_0x5b9d75(0x1fd)]())!==this[_0x5b9d75(0x3a8)])return;const _0x397693=(_0x566194=this[_0x5b9d75(0x2ce)]['get'](_0x5dcc14)[_0x5b9d75(0x2b6)]())==null?void 0x0:_0x566194[0x0],_0x1a9d7c=this['_univerInstanceService'][_0x5b9d75(0x291)](_0x1f91f1[_0x5b9d75(0x39b)])[_0x5b9d75(0x3d5)]();_0x397693&&_0x1a9d7c&&this[_0x5b9d75(0x2dd)](_0x1a9d7c['getSheetId'](),_0x397693);}[_0x1acd05(0x319)](){const _0x3fd1b0=_0x1acd05;this[_0x3fd1b0(0x20c)]=!0x1;}};Me=mi([x(0x2,_0x5f021e(_0x4f83c1)),x(0x3,_0x5f021e(ke)),x(0x4,_0x5f021e(_0x480fd1)),x(0x5,_0x48e36a),x(0x6,_0x4cc3b7),x(0x7,_0x5f021e(_0x5ba58d))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x4dbd37,_0x3d24cf,_0x4cdbe5,_0x247653)=>{const _0x1014db=_0x1acd05;for(var _0x85b3af=_0x247653>0x1?void 0x0:_0x247653?pi(_0x3d24cf,_0x4cdbe5):_0x3d24cf,_0x17683b=_0x4dbd37[_0x1014db(0x263)]-0x1,_0x1be780;_0x17683b>=0x0;_0x17683b--)(_0x1be780=_0x4dbd37[_0x17683b])&&(_0x85b3af=_0x1be780(_0x85b3af)||_0x85b3af);return _0x85b3af;},Se=(_0x3f2e3a,_0x184765)=>(_0x2e374a,_0x16ac40)=>_0x184765(_0x2e374a,_0x16ac40,_0x3f2e3a);let H=class extends _0x17991f{constructor(_0x14cd08,_0x15c304,_0xba8a05){const _0x18c9b3=_0x1acd05;super(),_(this,_0x18c9b3(0x33c),new Map()),_(this,_0x18c9b3(0x332),new _0x185b6d()),(this[_0x18c9b3(0x342)]=_0x14cd08,this[_0x18c9b3(0x2ce)]=_0x15c304,this[_0x18c9b3(0x2dc)]=_0xba8a05,this[_0x18c9b3(0x35d)]());}['dispose'](){const _0x434735=_0x1acd05;super[_0x434735(0x1ce)](),this[_0x434735(0x332)][_0x434735(0x222)](),this['_entities'][_0x434735(0x34c)](_0x130d12=>_0x130d12[_0x434735(0x1ce)]());}[_0x1acd05(0x287)](_0x318b66){const _0x5b87cd=_0x1acd05;return this[_0x5b87cd(0x33c)]['has'](_0x318b66)?this['_entities'][_0x5b87cd(0x307)](_0x318b66)[_0x5b87cd(0x279)]:this[_0x5b87cd(0x332)][_0x5b87cd(0x1cd)](_0x592e33(_0xe22750=>_0xe22750['unitID']===_0x318b66),_0x4fef0f(_0x2287bb=>_0x2287bb[_0x5b87cd(0x279)]));}[_0x1acd05(0x35d)](){const _0x5d189c=_0x1acd05;this[_0x5d189c(0x342)]['getTypeOfUnitAdded$'](_0x1f91f1[_0x5d189c(0x39b)])[_0x5d189c(0x1cd)](_0x5eb4a6(this[_0x5d189c(0x363)]))[_0x5d189c(0x385)](async _0x114335=>{const _0x1783b8=_0x5d189c,_0xc8d567=_0x114335['getUnitId'](),_0x5ab709=await this[_0x1783b8(0x320)](_0xc8d567);this[_0x1783b8(0x332)][_0x1783b8(0x202)](_0x5ab709),this[_0x1783b8(0x33c)][_0x1783b8(0x38e)](_0xc8d567,_0x5ab709);}),this['_univerInstanceService'][_0x5d189c(0x244)](_0x1f91f1[_0x5d189c(0x2c4)])['pipe'](_0x5eb4a6(this[_0x5d189c(0x363)]))['pipe'](_0x592e33(_0xace956=>!_0xace956['getUnitId']()['startsWith']('__')))[_0x5d189c(0x385)](async _0x32f61b=>{const _0x221f30=_0x5d189c,_0x1256f2=_0x32f61b[_0x221f30(0x1fd)](),_0x510135=await this[_0x221f30(0x2cd)](_0x1256f2);this[_0x221f30(0x332)][_0x221f30(0x202)](_0x510135),this[_0x221f30(0x33c)][_0x221f30(0x38e)](_0x1256f2,_0x510135);}),_0x59d202(this[_0x5d189c(0x342)][_0x5d189c(0x381)](_0x1f91f1[_0x5d189c(0x2c4)]),this[_0x5d189c(0x342)][_0x5d189c(0x381)](_0x1f91f1[_0x5d189c(0x39b)]))['pipe'](_0x5eb4a6(this[_0x5d189c(0x363)]))[_0x5d189c(0x385)](_0x5e3fc9=>{const _0x5bd34b=_0x5d189c,_0x8f3dcc=_0x5e3fc9[_0x5bd34b(0x1fd)](),_0x209acb=this[_0x5bd34b(0x33c)][_0x5bd34b(0x307)](_0x8f3dcc);_0x209acb&&(_0x209acb[_0x5bd34b(0x1ce)](),this['_entities'][_0x5bd34b(0x238)](_0x8f3dcc));});}async[_0x1acd05(0x320)](_0x45e8ef){const _0xb258f0=_0x1acd05,_0x5063eb=await this[_0xb258f0(0x2dc)][_0xb258f0(0x2a0)](_0x45e8ef),_0x5a6bf0=this[_0xb258f0(0x2ce)][_0xb258f0(0x251)](Me,_0x45e8ef,_0x5063eb);return _0x5a6bf0[_0xb258f0(0x1ed)](),_0x5a6bf0;}async[_0x1acd05(0x2cd)](_0x26530f){const _0x30c225=_0x1acd05,_0x4fe685=await this[_0x30c225(0x2dc)][_0x30c225(0x2a0)](_0x26530f),_0x41acea=this['_injector'][_0x30c225(0x251)](Ue,_0x26530f,_0x4fe685);return _0x41acea[_0x30c225(0x1ed)](),_0x41acea;}};H=Ci([Se(0x0,_0x48e36a),Se(0x1,_0x5f021e(_0x4f83c1)),Se(0x2,_0x5f021e(_0xbcca1b))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x168566,_0x5bf826){const _0x207efe=_0x1acd05;let {radius:_0x433c2b,width:_0x13544b,height:_0x2d7ecf}=_0x5bf826;_0x433c2b=_0x433c2b!=null?_0x433c2b:0x0,_0x13544b=_0x13544b!=null?_0x13544b:0x1e,_0x2d7ecf=_0x2d7ecf!=null?_0x2d7ecf:0x1e;let _0x20214a=0x0,_0x9dca72=0x0,_0x29cd1e=0x0;_0x20214a=_0x9dca72=_0x29cd1e=Math[_0x207efe(0x275)](_0x433c2b,_0x13544b/0x2,_0x2d7ecf/0x2),_0x168566[_0x207efe(0x35c)](),_0x168566[_0x207efe(0x213)](_0x20214a,0x0),_0x168566[_0x207efe(0x28f)](_0x13544b-_0x9dca72,0x0),_0x168566[_0x207efe(0x312)](_0x13544b-_0x9dca72,_0x9dca72,_0x9dca72,Math['PI']*0x3/0x2,0x0,!0x1),_0x168566[_0x207efe(0x28f)](_0x13544b,_0x2d7ecf-_0x29cd1e),_0x168566['arc'](_0x13544b-_0x29cd1e,_0x2d7ecf-_0x29cd1e,_0x29cd1e,0x0,Math['PI']/0x2,!0x1),_0x168566[_0x207efe(0x28f)](0x0,_0x2d7ecf),_0x168566[_0x207efe(0x28f)](0x0,_0x20214a),_0x168566[_0x207efe(0x312)](_0x20214a,_0x20214a,_0x20214a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x168566[_0x207efe(0x398)](),_0x5bf826[_0x207efe(0x39a)]&&(_0x168566[_0x207efe(0x3a6)](),_0x168566['fillStyle']=_0x5bf826[_0x207efe(0x39a)],_0x5bf826[_0x207efe(0x205)]==='evenodd'?_0x168566[_0x207efe(0x39a)](_0x207efe(0x306)):_0x168566[_0x207efe(0x39a)](),_0x168566['restore']());}class he extends _0x3ea822{constructor(_0xf9ee4c,_0x28d327){const _0x9df3fa=_0x1acd05;super(_0xf9ee4c,_0x28d327),_(this,_0x9df3fa(0x1d0)),_(this,'text'),(this[_0x9df3fa(0x1d0)]=_0x28d327==null?void 0x0:_0x28d327['color'],this['text']=_0x28d327==null?void 0x0:_0x28d327['text']);}static[_0x1acd05(0x3c1)](_0x562f9a,_0xb77b96){const _0x290e5f=_0x1acd05,{text:_0x342c4d,color:_0x7550bd}=_0xb77b96;_0x562f9a[_0x290e5f(0x3a6)](),_0x562f9a[_0x290e5f(0x22c)]=_0x290e5f(0x2ff);const _0x4c378a=_0x562f9a[_0x290e5f(0x362)](_0x342c4d)['width'],_0x5afc43=Math[_0x290e5f(0x275)](_0x4c378a+0x2*me,Qe);Oi(_0x562f9a,{'height':ee,'radius':0x4,'width':_0x5afc43,'fill':_0x7550bd}),_0x562f9a[_0x290e5f(0x29a)]=_0x290e5f(0x318);const _0x33a5eb=me,_0x14865d=ee-Ei,_0x35fd5a=Qe-0x2*me;if(_0x4c378a>_0x35fd5a){let _0x584a58='',_0x599c85=0x0;for(const _0xa5df4a of _0x342c4d){const _0x28917d=_0x562f9a[_0x290e5f(0x362)](_0xa5df4a)['width'];if(_0x599c85+_0x28917d<=_0x35fd5a-_0x562f9a[_0x290e5f(0x362)](_0x290e5f(0x2ac))[_0x290e5f(0x274)])_0x584a58+=_0xa5df4a,_0x599c85+=_0x28917d;else{_0x584a58+=_0x290e5f(0x2ac);break;}}_0x562f9a[_0x290e5f(0x22a)](_0x584a58,_0x33a5eb,_0x14865d);}else _0x562f9a['fillText'](_0x342c4d,_0x33a5eb,_0x14865d);_0x562f9a[_0x290e5f(0x23a)]();}[_0x1acd05(0x255)](_0x1805c0){he['drawWith'](_0x1805c0,this);}}const Ie='collab-text-anchor-',bi=_0x1acd05(0x3d7),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1acd05(0x3b6);class qe{constructor(_0x4509a0,_0x1b6a97,_0x1c0725,_0x5f0e90){const _0x232b65=_0x1acd05;_(this,'_shapes',[]),_(this,_0x232b65(0x209),null),_(this,_0x232b65(0x37b),null),_(this,_0x232b65(0x2d2),null),_(this,_0x232b65(0x304),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x4509a0,this[_0x232b65(0x1dd)]=_0x1b6a97,this['_docSkeleton']=_0x1c0725,this[_0x232b65(0x2d7)]=_0x5f0e90,this[_0x232b65(0x3c6)]());}set[_0x1acd05(0x239)](_0x3d2e9b){const _0x1b7d8d=_0x1acd05;_0x3d2e9b?(this['_anchorDot']&&this[_0x1b7d8d(0x2d2)][_0x1b7d8d(0x201)](),this[_0x1b7d8d(0x37b)]&&this['_textBubble'][_0x1b7d8d(0x2fe)]()):(this[_0x1b7d8d(0x2d2)]&&this[_0x1b7d8d(0x2d2)][_0x1b7d8d(0x2fe)](),this['_textBubble']&&this['_textBubble'][_0x1b7d8d(0x201)]());}[_0x1acd05(0x1ce)](){const _0x39e35c=_0x1acd05;for(const _0x2d5fc8 of this[_0x39e35c(0x3a1)])_0x2d5fc8[_0x39e35c(0x1ce)]();this['_textBubble']&&this[_0x39e35c(0x37b)][_0x39e35c(0x1ce)](),this[_0x39e35c(0x2d2)]&&this[_0x39e35c(0x2d2)][_0x39e35c(0x1ce)](),this['_anchor']&&this['_anchor'][_0x39e35c(0x1ce)](),this[_0x39e35c(0x301)]&&this[_0x39e35c(0x301)]();}[_0x1acd05(0x3c6)](){const _0x534172=_0x1acd05;var _0x111c27;const {_docSkeleton:_0xdb7abe,_document:_0x5a7e58}=this,{color:_0x264ff4,name:_0x46618b,ranges:_0x573ebd}=this[_0x534172(0x297)],_0x493c5a=_0x5a7e58[_0x534172(0x24a)](),{docsLeft:_0x4e9127,docsTop:_0x2e87bf}=_0x493c5a,_0x43a88f=new _0x41a922(_0x493c5a,_0xdb7abe);for(const {startOffset:_0xc1d361,endOffset:_0x6b2517,rangeType:_0x1a8c6f,segmentId:_0x386d8d,segmentPage:_0x142461,collapsed:_0x1fe1a1,isActive:_0x53c33b}of _0x573ebd){const _0x501759=_0xdb7abe[_0x534172(0x26a)](_0xc1d361,!0x0,_0x386d8d,_0x142461);let _0x4c0d42=_0xdb7abe[_0x534172(0x26a)](_0x6b2517,!0x0,_0x386d8d,_0x142461);if(_0x4c0d42==null&&(_0x4c0d42=_0xdb7abe[_0x534172(0x26a)](_0x6b2517-0x1,!0x1,_0x386d8d,_0x142461)),_0x53c33b){const {contentBoxPointGroup:_0x1783a7}=_0x43a88f[_0x534172(0x38c)](_0x4c0d42,_0x4c0d42);if(_0x1783a7['length']===0x0)continue;this[_0x534172(0x2c9)](_0x264ff4,_0x1783a7,_0x4e9127,_0x2e87bf,_0x46618b),this[_0x534172(0x301)]=this[_0x534172(0x1d7)]();}if(_0x501759&&_0x4c0d42){if(_0x1a8c6f===_0x1274c7[_0x534172(0x31c)]){const _0x588ba4=new _0x127fe1(_0x493c5a,_0xdb7abe),{pointGroup:_0x58acff}=(_0x111c27=_0x588ba4['getRangePointData'](_0x501759,_0x4c0d42))!=null?_0x111c27:{};if(_0x58acff==null||_0x58acff['length']===0x0)continue;this[_0x534172(0x266)](_0x264ff4,_0x58acff,_0x4e9127,_0x2e87bf);}else{if(!_0x1fe1a1){const {borderBoxPointGroup:_0x263c98}=_0x43a88f[_0x534172(0x38c)](_0x501759,_0x4c0d42);if(_0x263c98[_0x534172(0x263)]===0x0)continue;this[_0x534172(0x22b)](_0x264ff4,_0x263c98,_0x4e9127,_0x2e87bf);}}}}}[_0x1acd05(0x2c9)](_0x15194b,_0x2553ec,_0x215825,_0x4c66d8,_0x5b72f1){const _0x778f54=_0x1acd05,_0x580a5d=this[_0x778f54(0x397)](_0x2553ec),{left:_0xc7e428,top:_0x344df1,height:_0x4816cd}=_0x580a5d,_0x13e96f=this['_getScale'](),_0xe51a68=Di/_0x13e96f,_0x490ee9=new _0x1d9677(Ie+_0x4150e8['generateRandomId'](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8,'height':_0x4816cd,'width':Ri,'fill':_0x15194b||_0x236404(_0xc873dc['black'],0x0),'strokeWidth':_0xe51a68,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x490ee9,this[_0x778f54(0x1dd)][_0x778f54(0x2c0)](_0x490ee9,_0x4bdec4);const _0x5b5819=new _0x1d9677(Ie+_0x4150e8[_0x778f54(0x2f3)](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8-ge/0x2,'height':ge,'width':ge,'fill':_0x15194b||_0x236404(_0xc873dc[_0x778f54(0x282)],0x0),'strokeWidth':0x0,'stroke':_0x15194b||_0x236404(_0xc873dc[_0x778f54(0x282)],0x0),'evented':!0x1});this[_0x778f54(0x2d2)]=_0x5b5819,this['_scene']['addObject'](_0x5b5819,_0x4bdec4);const _0x2f26d7=new he(Ie+_0x4150e8[_0x778f54(0x2f3)](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8-ee,'text':_0x5b72f1,'color':_0x15194b});this[_0x778f54(0x37b)]=_0x2f26d7,this[_0x778f54(0x1dd)][_0x778f54(0x2c0)](_0x2f26d7,_0x4bdec4),this[_0x778f54(0x239)]=!0x1;}[_0x1acd05(0x1d7)](){const _0x376ee7=_0x1acd05,_0x5a42f7=this[_0x376ee7(0x209)]['onPointerEnter$'][_0x376ee7(0x1d5)](()=>{this['_hover']=!0x0;}),_0x202c82=this['_anchor'][_0x376ee7(0x2ed)][_0x376ee7(0x1d5)](()=>{const _0x8ee1a8=_0x376ee7;this['_hideTimer']&&clearTimeout(this[_0x8ee1a8(0x304)]),this[_0x8ee1a8(0x304)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x118dec=_0x376ee7;_0x5a42f7['unsubscribe'](),_0x202c82[_0x118dec(0x211)]();};}['_drawTextRange'](_0x12ad21,_0x4c2622,_0xfb200d,_0x3dd298){const _0x651ac3=_0x1acd05,_0x1cd4ab=new _0x68a2e7(_0x12ad21)[_0x651ac3(0x3b7)](0.2)[_0x651ac3(0x29f)](),_0x29c332=new _0x2731ce(bi+_0x4150e8[_0x651ac3(0x2f3)](X),{'pointsGroup':_0x4c2622,'fill':_0x1cd4ab||_0x236404(_0xc873dc[_0x651ac3(0x282)],0.2),'left':_0xfb200d,'top':_0x3dd298,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x651ac3(0x3a1)][_0x651ac3(0x286)](_0x29c332),this[_0x651ac3(0x1dd)][_0x651ac3(0x2c0)](_0x29c332,_0x4bdec4);}[_0x1acd05(0x266)](_0x45f21c,_0x515ccb,_0x399508,_0x33242d){const _0x5ddd90=_0x1acd05,_0x8c9bf6=new _0x68a2e7(_0x45f21c)['setAlpha'](0.2)[_0x5ddd90(0x29f)](),_0x176efd=new _0x2731ce(Ti+_0x4150e8['generateRandomId'](X),{'pointsGroup':_0x515ccb,'fill':_0x8c9bf6||_0x236404(_0xc873dc[_0x5ddd90(0x282)],0.2),'left':_0x399508,'top':_0x33242d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ddd90(0x3a1)][_0x5ddd90(0x286)](_0x176efd),this[_0x5ddd90(0x1dd)][_0x5ddd90(0x2c0)](_0x176efd,_0x4bdec4);}[_0x1acd05(0x397)](_0x63f0f7){const _0x10a7cd=_0x63f0f7[0x0],_0x358278=_0x10a7cd[0x0],_0x37861e=_0x10a7cd[0x2],{x:_0x47d7a4,y:_0x3bc813}=_0x358278,{x:_0x1edb03,y:_0x50fe7d}=_0x37861e;return{'left':_0x47d7a4,'top':_0x3bc813,'width':_0x1edb03-_0x47d7a4,'height':_0x50fe7d-_0x3bc813};}[_0x1acd05(0x1eb)](){const _0x3c603e=_0x1acd05,{scaleX:_0x4cc9ec,scaleY:_0x5b782f}=this[_0x3c603e(0x1dd)][_0x3c603e(0x2ae)]();return Math['max'](_0x4cc9ec,_0x5b782f);}}var Ui=Object[_0x1acd05(0x2f5)],Mi=(_0x2160ea,_0x598f53,_0x10367a,_0x40fc3d)=>{for(var _0xc0097d=_0x40fc3d>0x1?void 0x0:_0x40fc3d?Ui(_0x598f53,_0x10367a):_0x598f53,_0x269689=_0x2160ea['length']-0x1,_0x2708ec;_0x269689>=0x0;_0x269689--)(_0x2708ec=_0x2160ea[_0x269689])&&(_0xc0097d=_0x2708ec(_0xc0097d)||_0xc0097d);return _0xc0097d;},Z=(_0x27e6b8,_0x19ce4a)=>(_0x364679,_0x3d950)=>_0x19ce4a(_0x364679,_0x3d950,_0x27e6b8);let Le=class extends _0x17991f{constructor(_0x8f63ab,_0x499d1e,_0x31e59d,_0x32c7bb,_0xd8c9fd){const _0x549d86=_0x1acd05;super(),_(this,_0x549d86(0x37e),[]),_(this,_0x549d86(0x335),[]),(this[_0x549d86(0x2a4)]=_0x8f63ab,this['_docSkeletonManagerService']=_0x499d1e,this[_0x549d86(0x20d)]=_0x31e59d,this[_0x549d86(0x258)]=_0x32c7bb,this['_themeService']=_0xd8c9fd,this['_init']());}['_init'](){const _0x15df6a=_0x1acd05,_0x31f452=this[_0x15df6a(0x2a4)][_0x15df6a(0x293)],_0x43ca3b=this[_0x15df6a(0x2a5)];this[_0x15df6a(0x388)](_0x24821a([this[_0x15df6a(0x20d)]['getCollabCursors$'](_0x31f452),this[_0x15df6a(0x3b9)][_0x15df6a(0x34b)]])[_0x15df6a(0x1cd)](_0x152575(([_0x3986c5,_0x58656d])=>({'skeleton':_0x43ca3b[_0x15df6a(0x366)](),'cursors':[..._0x3986c5[_0x15df6a(0x2c3)]()][_0x15df6a(0x374)](_0xffdce=>({..._0xffdce,'color':this[_0x15df6a(0x3b9)][_0x15df6a(0x2b0)](_0xffdce['color'])}))})))[_0x15df6a(0x385)](_0x10a31b=>{const _0x1c04fa=_0x15df6a;if(this[_0x1c04fa(0x257)](),_0x10a31b){const {skeleton:_0x19baed,cursors:_0x31333f}=_0x10a31b;this['_updateCollabCursors'](_0x19baed,_0x31333f);}})),this[_0x15df6a(0x2e6)](),this[_0x15df6a(0x215)]();}[_0x1acd05(0x30a)](_0xcb0926,_0x88e588){const _0x182b65=_0x1acd05,{scene:_0x4803c8,mainComponent:_0x1987ae}=this[_0x182b65(0x2a4)],_0x3cfb34=_0x88e588[_0x182b65(0x2b1)](_0x55b209=>new qe(_0x55b209,_0x4803c8,_0xcb0926,_0x1987ae));this[_0x182b65(0x37e)]=_0x3cfb34,this['_cursors']=_0x88e588;}['_refreshCollabCursors'](){const _0x1df593=_0x1acd05;this[_0x1df593(0x257)]();const {scene:_0x93569d,mainComponent:_0x1cfe58}=this[_0x1df593(0x2a4)],_0x2cffb6=this[_0x1df593(0x2a5)][_0x1df593(0x366)](),_0x1c7dbd=this[_0x1df593(0x335)][_0x1df593(0x2b1)](_0x57fd1f=>new qe(_0x57fd1f,_0x93569d,_0x2cffb6,_0x1cfe58));this[_0x1df593(0x37e)]=_0x1c7dbd;}['_removeCollabCursors'](){const _0x364250=_0x1acd05;this['_cursorShapes'][_0x364250(0x34c)](_0x177a21=>_0x177a21[_0x364250(0x1ce)]()),this[_0x364250(0x37e)]=[];}['_initCommandExecutedListener'](){const _0x2f4731=_0x1acd05,_0x1d6ff4=[_0x5d9d25['id']];this[_0x2f4731(0x388)](this[_0x2f4731(0x258)][_0x2f4731(0x333)](_0x1f36f1=>{const _0x1e9a07=_0x2f4731;_0x1d6ff4[_0x1e9a07(0x1cf)](_0x1f36f1['id'])&&_0x1f36f1['params'][_0x1e9a07(0x293)]===this[_0x1e9a07(0x2a4)][_0x1e9a07(0x293)]&&this[_0x1e9a07(0x276)]();}));}[_0x1acd05(0x2e6)](){const _0x3a927e=_0x1acd05;this[_0x3a927e(0x388)](_0x3518cd(this['_context'][_0x3a927e(0x3d8)][_0x3a927e(0x23f)])['pipe'](_0x44bb43(_0x547754=>_0x547754['type']===_0x3eb9b4['resize']),_0x588b8a(0x10))['subscribe'](()=>{const _0x51e7dd=_0x3a927e;this[_0x51e7dd(0x276)]();}));}};Le=Mi([Z(0x1,_0x5f021e(_0x13457e)),Z(0x2,_0x5f021e(H)),Z(0x3,_0x4cc3b7),Z(0x4,_0x5f021e(_0x5c6db6))],Le);const Li=0x1,Pi=1.5;class wi extends _0x3ea822{constructor(_0x1b5a3e,_0x56f569){const _0x17ada5=_0x1acd05;super(_0x1b5a3e,_0x56f569),_(this,_0x17ada5(0x1fa)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x17ada5(0x338),''),_(this,_0x17ada5(0x2fc),_0x17ada5(0x225)),_(this,_0x17ada5(0x2d4)),(_0x56f569&&this[_0x17ada5(0x341)](_0x56f569),this[_0x17ada5(0x3a0)][_0x17ada5(0x1d5)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x17ada5(0x2ed)][_0x17ada5(0x1d5)](()=>this[_0x17ada5(0x341)]({'hovered':!0x1})));}[_0x1acd05(0x341)](_0xba084a){const _0x248fc7=_0x1acd05;var _0x186254,_0x429b3f,_0x14cb8f,_0x54c144,_0x577814,_0x571250;this[_0x248fc7(0x1fa)]=(_0x186254=_0xba084a[_0x248fc7(0x1d0)])!=null?_0x186254:this[_0x248fc7(0x1fa)],this[_0x248fc7(0x2db)]=(_0x429b3f=_0xba084a[_0x248fc7(0x2e5)])!=null?_0x429b3f:this[_0x248fc7(0x2db)],this[_0x248fc7(0x34e)]=(_0x14cb8f=_0xba084a[_0x248fc7(0x21a)])!=null?_0x14cb8f:this['_range'],this[_0x248fc7(0x338)]=(_0x54c144=_0xba084a[_0x248fc7(0x21e)])!=null?_0x54c144:this[_0x248fc7(0x338)],this[_0x248fc7(0x2fc)]=(_0x577814=_0xba084a['labelPosition'])!=null?_0x577814:this[_0x248fc7(0x2fc)],this[_0x248fc7(0x2d4)]=(_0x571250=_0xba084a[_0x248fc7(0x1ec)])!=null?_0x571250:this[_0x248fc7(0x2d4)],this[_0x248fc7(0x2fb)]({'width':_0xba084a['width'],'height':_0xba084a['height']});}[_0x1acd05(0x2d6)](_0x11b72b){const _0x1b0a7a=_0x1acd05,{row:_0x38e261,column:_0x3e7e20}=_0x11b72b;if(_0x38e261>=this['_range']['startRow']&&_0x38e261<=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x2ab)]&&_0x3e7e20>=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x247)]&&_0x3e7e20<=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x1e2)]){this[_0x1b0a7a(0x341)]({'hovered':!0x0});return;}this[_0x1b0a7a(0x341)]({'hovered':!0x1});}[_0x1acd05(0x1e3)](_0x44748d){return!0x1;}[_0x1acd05(0x255)](_0x29c0a3){const _0x64e23e=_0x1acd05;_0x1d9677[_0x64e23e(0x3c1)](_0x29c0a3,{'width':this[_0x64e23e(0x274)],'height':this[_0x64e23e(0x325)],'strokeWidth':Pi,'stroke':this[_0x64e23e(0x1fa)],'evented':!0x1,'fill':this[_0x64e23e(0x2d4)]}),this[_0x64e23e(0x2db)]&&(_0x29c0a3[_0x64e23e(0x3a6)](),_0x29c0a3['transform'](0x1,0x0,0x0,0x1,this[_0x64e23e(0x274)],this[_0x64e23e(0x2fc)]===_0x64e23e(0x34a)?0x0:-0x14),he['drawWith'](_0x29c0a3,{'text':this[_0x64e23e(0x338)],'color':this['_color']}),_0x29c0a3[_0x64e23e(0x23a)]());}}var Ai=Object[_0x1acd05(0x2f5)],yi=(_0x583324,_0x591902,_0x4694b5,_0xa2a1cd)=>{const _0x585a73=_0x1acd05;for(var _0x14b728=_0xa2a1cd>0x1?void 0x0:_0xa2a1cd?Ai(_0x591902,_0x4694b5):_0x591902,_0x42a283=_0x583324[_0x585a73(0x263)]-0x1,_0x33534b;_0x42a283>=0x0;_0x42a283--)(_0x33534b=_0x583324[_0x42a283])&&(_0x14b728=_0x33534b(_0x14b728)||_0x14b728);return _0x14b728;},ve=(_0x371c6b,_0x14e65d)=>(_0x52562c,_0x4b73ad)=>_0x14e65d(_0x52562c,_0x4b73ad,_0x371c6b);const $i=0x1389;let Pe=class extends _0x17991f{constructor(_0x1f4b12,_0x354707,_0x2e829d,_0x4cbed2){const _0xfc181e=_0x1acd05;super(),_(this,_0xfc181e(0x335),new Set()),_(this,'_lastPointer',null),(this[_0xfc181e(0x2a4)]=_0x1f4b12,this[_0xfc181e(0x32e)]=_0x354707,this[_0xfc181e(0x20d)]=_0x2e829d,this['_themeService']=_0x4cbed2,this[_0xfc181e(0x35d)]());}[_0x1acd05(0x35d)](){const _0x4407a8=_0x1acd05;this[_0x4407a8(0x32e)][_0x4407a8(0x33f)][_0x4407a8(0x1cd)](_0x14d703(this[_0x4407a8(0x363)]),_0x38a762(_0x22dd98=>{const _0x376e7e=_0x4407a8;if(_0x22dd98){const _0x20b968=_0x22dd98['sheetId'];return _0x24821a(this['_collabCursorController'][_0x376e7e(0x287)](this[_0x376e7e(0x2a4)]['unitId']),this['_themeService'][_0x376e7e(0x34b)])['pipe'](_0x152575(([_0x813898,_0x594851])=>{const _0x3829d2=_0x376e7e,_0x5ca290=new Map();return _0x813898[_0x3829d2(0x34c)]((_0x3b52f9,_0x10df3e)=>{const _0x2d97a6=_0x3829d2;if(_0x3b52f9['sheetID']===_0x20b968){const _0x5d5019={..._0x3b52f9};_0x5d5019[_0x2d97a6(0x1d0)]=this['_themeService'][_0x2d97a6(0x2b0)](_0x3b52f9[_0x2d97a6(0x1d0)]),_0x5ca290[_0x2d97a6(0x38e)](_0x10df3e,_0x5d5019);}}),{'skeleton':_0x22dd98,'cursors':_0x5ca290};}));}return _0x4d18a7({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x247b41,cursors:_0x57cd67})=>{const _0x5b47be=_0x4407a8;this[_0x5b47be(0x257)](),_0x247b41&&this['_updateCollabCursors'](_0x247b41,_0x57cd67);}),this['_sheetSkeletonManagerService'][_0x4407a8(0x33f)]['subscribe'](_0x223a8d=>{const _0x1eb694=_0x4407a8;if(_0x223a8d==null)return;const {skeleton:_0x5982c3}=_0x223a8d,{scene:_0x13fe77}=this[_0x1eb694(0x2a4)];_0x13fe77[_0x1eb694(0x3ba)][_0x1eb694(0x1d5)](_0x52b9ab(_0x1ead24=>{const _0x577a8b=_0x1eb694;var _0x423bfd,_0x4d726b;const {offsetX:_0x379dd7,offsetY:_0x5be77e}=_0x1ead24,{x:_0x48ea00,y:_0x179164}=_0x13fe77['getRelativeToViewportCoord'](_0x17974c[_0x577a8b(0x364)]([_0x379dd7,_0x5be77e])),{scaleX:_0x4916bc,scaleY:_0x5ba73c}=_0x13fe77['getAncestorScale'](),_0x419607=_0x13fe77[_0x577a8b(0x252)](_0xb6c4cd[_0x577a8b(0x34f)]),_0x232bcd=_0x13fe77[_0x577a8b(0x323)](_0x17974c['FromArray']([_0x48ea00,_0x179164]),_0x419607),_0x2fe1e5=_0x5982c3[_0x577a8b(0x33d)](_0x379dd7,_0x5be77e,_0x4916bc,_0x5ba73c,_0x232bcd);((_0x423bfd=this['_lastPointer'])==null?void 0x0:_0x423bfd[_0x577a8b(0x2b4)])===_0x2fe1e5[_0x577a8b(0x2b4)]&&((_0x4d726b=this[_0x577a8b(0x23b)])==null?void 0x0:_0x4d726b[_0x577a8b(0x1fe)])===_0x2fe1e5['row']||this['_cursors'][_0x577a8b(0x34c)](_0x2317eb=>{const _0x24e785=_0x577a8b;_0x2317eb[_0x24e785(0x2d6)](_0x2fe1e5);});},0x64));});}[_0x1acd05(0x30a)](_0x526a24,_0x17cf4d){const _0x112dcf=_0x1acd05;var _0x2b78b3;const _0x592440=(_0x2b78b3=this['_sheetSkeletonManagerService'][_0x112dcf(0x2b5)]())==null?void 0x0:_0x2b78b3[_0x112dcf(0x3a2)];if(!_0x592440)return;const _0x16ad9b=this[_0x112dcf(0x2bf)]();if(!_0x16ad9b)return;this[_0x112dcf(0x335)][_0x112dcf(0x34c)](_0x2bcb92=>{const _0x5b0df2=_0x112dcf;_0x2bcb92[_0x5b0df2(0x36d)]();});const {scene:_0x5b812e}=_0x16ad9b,_0x531293=xi(Array['from'](_0x17cf4d[_0x112dcf(0x2c3)]()))[_0x112dcf(0x2b1)](_0x47d31b=>{const _0x550c0e=_0x112dcf,{color:_0x11d871,range:_0x216cdd,name:_0x29cd69,selection:_0x3b815b,sheetID:_0x39372f}=_0x47d31b,{startColumn:_0x55cdf6,startRow:_0x1dbd30,endColumn:_0x250b71,endRow:_0xd709b0}=_0x216cdd,_0xc24a74=_0x5ce795(_0x1dbd30,_0x55cdf6,_0x5b812e,_0x592440),_0x1776ab=_0x5ce795(_0xd709b0,_0x250b71,_0x5b812e,_0x592440),{columnHeaderHeightAndMarginTop:_0x33d120}=_0x592440,{startX:_0x59199f,startY:_0x56ea11}=_0xc24a74,{endX:_0x4e1d20,endY:_0xae5207}=_0x1776ab,_0x2679f8=_0x4e1d20-_0x59199f,_0x30425c=_0xae5207-_0x56ea11,_0x213fc1={'labelPosition':_0x56ea11-_0x33d120>=ee?_0x550c0e(0x225):_0x550c0e(0x34a),'sheetID':_0x39372f,'range':_0x216cdd,'color':_0x11d871,'name':_0x29cd69,'selection':_0x3b815b,'left':_0x59199f,'top':_0x56ea11,'width':_0x2679f8,'height':_0x30425c,'evented':!0x1,'zIndex':$i};return new wi(_0x29cd69,_0x213fc1);});_0x5b812e['addObjects'](_0x531293,Li),this[_0x112dcf(0x335)]=new Set(_0x531293);}[_0x1acd05(0x257)](){const _0x1b8a2d=_0x1acd05;var _0x25c5fe;(_0x25c5fe=this[_0x1b8a2d(0x335)])==null||_0x25c5fe[_0x1b8a2d(0x34c)](_0x1a78ae=>_0x1a78ae[_0x1b8a2d(0x1ce)]());}[_0x1acd05(0x2bf)](){const _0x1b7d77=_0x1acd05;return _0x3614d7(this[_0x1b7d77(0x2a4)][_0x1b7d77(0x271)],this[_0x1b7d77(0x2a4)]);}};Pe=yi([ve(0x1,_0x5f021e(_0x5c84db)),ve(0x2,_0x5f021e(H)),ve(0x3,_0x5f021e(_0x5c6db6))],Pe);function xi(_0x8df426){const _0x1fb3e0=_0x1acd05,_0x460df6=new Map();return _0x8df426[_0x1fb3e0(0x34c)](_0x360814=>{const _0x1449a7=_0x1fb3e0;if(_0x460df6[_0x1449a7(0x334)](_0x360814[_0x1449a7(0x31a)])){const _0x3807ea=_0x460df6['get'](_0x360814[_0x1449a7(0x31a)]);_0x3807ea[_0x1449a7(0x21e)]+=',\x20'+_0x360814['name'];}else _0x460df6['set'](_0x360814['selection'],_0x360814);}),Array[_0x1fb3e0(0x1d9)](_0x460df6[_0x1fb3e0(0x2c3)]());}var v=function(){const _0x514f4c=_0x1acd05;return v=Object[_0x514f4c(0x327)]||function(_0x40bbd9){const _0x2388fd=_0x514f4c;for(var _0x2a36cd,_0x21c748=0x1,_0x317a93=arguments[_0x2388fd(0x263)];_0x21c748<_0x317a93;_0x21c748++){_0x2a36cd=arguments[_0x21c748];for(var _0x1940ce in _0x2a36cd)Object[_0x2388fd(0x2d9)]['hasOwnProperty'][_0x2388fd(0x256)](_0x2a36cd,_0x1940ce)&&(_0x40bbd9[_0x1940ce]=_0x2a36cd[_0x1940ce]);}return _0x40bbd9;},v[_0x514f4c(0x3a9)](this,arguments);},Bi=function(_0x32444b,_0x3eac2c){const _0x31a538=_0x1acd05;var _0x2d4b00={};for(var _0x243d76 in _0x32444b)Object['prototype'][_0x31a538(0x1e8)]['call'](_0x32444b,_0x243d76)&&_0x3eac2c[_0x31a538(0x22d)](_0x243d76)<0x0&&(_0x2d4b00[_0x243d76]=_0x32444b[_0x243d76]);if(_0x32444b!=null&&typeof Object[_0x31a538(0x2e8)]==_0x31a538(0x355)){for(var _0x26f6e2=0x0,_0x243d76=Object[_0x31a538(0x2e8)](_0x32444b);_0x26f6e2<_0x243d76[_0x31a538(0x263)];_0x26f6e2++)_0x3eac2c[_0x31a538(0x22d)](_0x243d76[_0x26f6e2])<0x0&&Object[_0x31a538(0x2d9)][_0x31a538(0x2d0)]['call'](_0x32444b,_0x243d76[_0x26f6e2])&&(_0x2d4b00[_0x243d76[_0x26f6e2]]=_0x32444b[_0x243d76[_0x26f6e2]]);}return _0x2d4b00;},Fe=_0xa37560(function(_0x590ee1,_0x5d19ec){const _0x1fc617=_0x1acd05;var _0x3412f6=_0x590ee1['icon'],_0x18ea4d=_0x590ee1['id'],_0x23c46a=_0x590ee1[_0x1fc617(0x36e)],_0x534d98=_0x590ee1['extend'],_0x1bc864=Bi(_0x590ee1,[_0x1fc617(0x2e9),'id',_0x1fc617(0x36e),_0x1fc617(0x2c1)]),_0x537528=_0x1fc617(0x1da)[_0x1fc617(0x2a3)](_0x18ea4d,'\x20')[_0x1fc617(0x2a3)](_0x23c46a||'')[_0x1fc617(0x2c8)](),_0x293f1b=_0x54ef04('_'[_0x1fc617(0x2a3)](Fi()));return Rt(_0x3412f6,''[_0x1fc617(0x2a3)](_0x18ea4d),{'defIds':_0x3412f6[_0x1fc617(0x2f7)],'idSuffix':_0x293f1b['current']},v({'ref':_0x5d19ec,'className':_0x537528},_0x1bc864),_0x534d98);});function Rt(_0x375858,_0x315e0d,_0x204e35,_0x362a05,_0x5197d7){const _0x5bc527=_0x1acd05;return _0x1dc605(_0x375858['tag'],v(v({'key':_0x315e0d},ki(_0x375858,_0x204e35,_0x5197d7)),_0x362a05),(Hi(_0x375858,_0x204e35)[_0x5bc527(0x3bf)]||[])[_0x5bc527(0x2b1)](function(_0x51299c,_0x3d75be){const _0x41c794=_0x5bc527;return Rt(_0x51299c,''[_0x41c794(0x2a3)](_0x315e0d,'-')[_0x41c794(0x2a3)](_0x375858[_0x41c794(0x336)],'-')[_0x41c794(0x2a3)](_0x3d75be),_0x204e35,void 0x0,_0x5197d7);}));}function ki(_0x242d84,_0x5dcc9b,_0x101e71){const _0x1a71eb=_0x1acd05;var _0x38b3c6=v({},_0x242d84[_0x1a71eb(0x2da)]);_0x101e71!=null&&_0x101e71[_0x1a71eb(0x330)]&&_0x38b3c6['fill']===_0x1a71eb(0x330)&&(_0x38b3c6[_0x1a71eb(0x39a)]=_0x101e71[_0x1a71eb(0x330)]),_0x242d84[_0x1a71eb(0x336)]===_0x1a71eb(0x267)&&_0x38b3c6['id']&&(_0x38b3c6['id']=_0x38b3c6['id']+_0x5dcc9b[_0x1a71eb(0x2bc)]),Object[_0x1a71eb(0x228)](_0x38b3c6)[_0x1a71eb(0x34c)](function(_0x37ecba){const _0x45504a=_0x1a71eb;var _0x1ac9a5=_0x37ecba[0x0],_0x38e9c3=_0x37ecba[0x1];_0x1ac9a5===_0x45504a(0x267)&&typeof _0x38e9c3==_0x45504a(0x3a5)&&(_0x38b3c6[_0x1ac9a5]=_0x38e9c3['replace'](/url\(#(.*)\)/,'url(#$1'[_0x45504a(0x2a3)](_0x5dcc9b[_0x45504a(0x2bc)],')')));});var _0x3cef0e=_0x5dcc9b[_0x1a71eb(0x2f7)];return!_0x3cef0e||_0x3cef0e['length']===0x0||(_0x242d84[_0x1a71eb(0x336)]===_0x1a71eb(0x344)&&_0x38b3c6[_0x1a71eb(0x1df)]&&(_0x38b3c6[_0x1a71eb(0x1df)]=_0x38b3c6[_0x1a71eb(0x1df)]+_0x5dcc9b[_0x1a71eb(0x2bc)]),Object[_0x1a71eb(0x228)](_0x38b3c6)['forEach'](function(_0x434379){const _0xdf331c=_0x1a71eb;var _0x2bc622=_0x434379[0x0],_0x9bb787=_0x434379[0x1];typeof _0x9bb787==_0xdf331c(0x3a5)&&(_0x38b3c6[_0x2bc622]=_0x9bb787[_0xdf331c(0x2d5)](/url\(#(.*)\)/,_0xdf331c(0x371)[_0xdf331c(0x2a3)](_0x5dcc9b[_0xdf331c(0x2bc)],')')));})),_0x38b3c6;}function Hi(_0x4b24e2,_0x4acea3){const _0x7d6ca1=_0x1acd05;var _0x3b43e8,_0x2cff33=_0x4acea3[_0x7d6ca1(0x2f7)];return!_0x2cff33||_0x2cff33[_0x7d6ca1(0x263)]===0x0?_0x4b24e2:_0x4b24e2[_0x7d6ca1(0x336)]===_0x7d6ca1(0x285)&&(!((_0x3b43e8=_0x4b24e2[_0x7d6ca1(0x3bf)])===null||_0x3b43e8===void 0x0)&&_0x3b43e8['length'])?v(v({},_0x4b24e2),{'children':_0x4b24e2[_0x7d6ca1(0x3bf)][_0x7d6ca1(0x2b1)](function(_0x587052){const _0x5b7299=_0x7d6ca1;return typeof _0x587052['attrs']['id']==_0x5b7299(0x3a5)&&_0x2cff33&&_0x2cff33[_0x5b7299(0x1cf)](_0x587052['attrs']['id'])?v(v({},_0x587052),{'attrs':v(v({},_0x587052[_0x5b7299(0x2da)]),{'id':_0x587052[_0x5b7299(0x2da)]['id']+_0x4acea3[_0x5b7299(0x2bc)]})}):_0x587052;})}):_0x4b24e2;}function Fi(){const _0x2b0f4f=_0x1acd05;return Math[_0x2b0f4f(0x3cc)]()[_0x2b0f4f(0x25d)](0x24)[_0x2b0f4f(0x206)](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1acd05(0x1e7),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1acd05(0x1d6)},'children':[{'tag':_0x1acd05(0x30b),'attrs':{'stroke':_0x1acd05(0x3ce),'d':_0x1acd05(0x390),'strokeLinecap':'round','strokeLinejoin':_0x1acd05(0x289),'strokeWidth':1.2}}]},{'tag':_0x1acd05(0x285),'attrs':{},'children':[{'tag':_0x1acd05(0x2c2),'attrs':{'id':_0x1acd05(0x3bc)},'children':[{'tag':'path','attrs':{'fill':_0x1acd05(0x231),'d':_0x1acd05(0x200)}}]}]}],'defIds':[_0x1acd05(0x3bc)]},Dt=_0xa37560(function(_0x4c6d45,_0x193604){const _0x43b5a8=_0x1acd05;return _0x1dc605(Fe,Object[_0x43b5a8(0x327)]({},_0x4c6d45,{'id':_0x43b5a8(0x242),'ref':_0x193604,'icon':Yi}));});Dt[_0x1acd05(0x1e5)]=_0x1acd05(0x2e0);var ji={'tag':_0x1acd05(0x217),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1acd05(0x1e7),'viewBox':_0x1acd05(0x2d3),'width':_0x1acd05(0x23e),'height':_0x1acd05(0x23e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1acd05(0x207)},'children':[{'tag':_0x1acd05(0x30b),'attrs':{'stroke':_0x1acd05(0x3ce),'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':_0x1acd05(0x289),'strokeLinejoin':_0x1acd05(0x289),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1acd05(0x2c2),'attrs':{'id':_0x1acd05(0x39d)},'children':[{'tag':'path','attrs':{'fill':_0x1acd05(0x231),'d':_0x1acd05(0x200),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1acd05(0x39d)]},Nt=_0xa37560(function(_0x12d3f7,_0x4ef46b){const _0x154855=_0x1acd05;return _0x1dc605(Fe,Object['assign']({},_0x12d3f7,{'id':_0x154855(0x2cc),'ref':_0x4ef46b,'icon':ji}));});Nt['displayName']=_0x1acd05(0x2e2);function Vi(_0x1f8541){const _0x47cb68=_0x1acd05;switch(_0x1f8541){case _0x3be97d[_0x47cb68(0x28b)]:return _0x47cb68(0x21b);case _0x3be97d[_0x47cb68(0x264)]:return _0x47cb68(0x305);case _0x3be97d[_0x47cb68(0x25f)]:return _0x47cb68(0x1db);case _0x3be97d[_0x47cb68(0x261)]:return _0x47cb68(0x39c);case _0x3be97d[_0x47cb68(0x3be)]:case _0x3be97d[_0x47cb68(0x2e4)]:return _0x47cb68(0x380);case _0x3be97d[_0x47cb68(0x309)]:case _0x3be97d['PENDING']:return _0x47cb68(0x28c);}}function Wi(_0x7a0b40){const _0x586bef=_0x1acd05,{status$:_0x212091}=_0x7a0b40,_0x13d2ea=_0x1618d0(_0x212091,_0x3be97d[_0x586bef(0x261)]),_0x2e56a1=_0x51e10c(_0x1b849e),_0x4ad496=_0x51e10c(_0xbcca1b),_0x57521c=_0x13d2ea!==_0x3be97d[_0x586bef(0x28b)],_0xe1554e=_0x2e56a1['t'](Vi(_0x13d2ea)),_0x290ab4=_0x57521c?_0x25785d(Nt,{}):_0x25785d(Dt,{}),_0x168dcc=_0x3268cd(()=>{_0x57521c||_0x4ad496['reconnect']();},[_0x57521c,_0x4ad496]);function _0x2def6b(){const _0x188ae3=_0x586bef;return _0x783189(_0x188ae3(0x316),{'className':_0x188ae3(0x3aa),'onClick':_0x168dcc,'children':[_0x25785d(_0x188ae3(0x316),{'className':_0x275f5d(_0x188ae3(0x2a6),{'univer-text-green-500':_0x57521c,'univer-text-red-500':!_0x57521c}),'children':_0x290ab4}),_0x25785d('div',{'className':_0x188ae3(0x2f6),'children':_0xe1554e})]});}return _0x57521c?_0x2def6b():_0x25785d(_0x6bca9d,{'title':_0x2e56a1['t'](_0x586bef(0x3d2)),'children':_0x2def6b()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x507a1b,_0x4a4249,_0x466076,_0xd1ecb1)=>{const _0x26d05f=_0x1acd05;for(var _0x468160=_0xd1ecb1>0x1?void 0x0:_0xd1ecb1?Xi(_0x4a4249,_0x466076):_0x4a4249,_0x1a1519=_0x507a1b[_0x26d05f(0x263)]-0x1,_0x21cf6;_0x1a1519>=0x0;_0x1a1519--)(_0x21cf6=_0x507a1b[_0x1a1519])&&(_0x468160=_0x21cf6(_0x468160)||_0x468160);return _0x468160;},Q=(_0x584956,_0x61e6a0)=>(_0x15eca2,_0x4ba921)=>_0x61e6a0(_0x15eca2,_0x4ba921,_0x584956);let te=class extends _0x1e46f3{constructor(_0x15808e,_0xb371f7,_0x12dd9b,_0x7ba219){const _0x5bd2dc=_0x1acd05;super(),_(this,_0x5bd2dc(0x248),new _0x5bb037(_0x3be97d[_0x5bd2dc(0x261)])),(this[_0x5bd2dc(0x342)]=_0x15808e,this[_0x5bd2dc(0x2ce)]=_0xb371f7,this[_0x5bd2dc(0x358)]=_0x12dd9b,this[_0x5bd2dc(0x2ba)]=_0x7ba219,this[_0x5bd2dc(0x25a)](),this['_initStatusListener']());}[_0x1acd05(0x1f2)](){const _0x9b355=_0x1acd05;this[_0x9b355(0x388)](this[_0x9b355(0x342)][_0x9b355(0x38b)]['pipe'](_0x4fef0f(()=>{const _0x538def=_0x9b355,_0x43bb8d=this[_0x538def(0x342)][_0x538def(0x23c)]();return _0x43bb8d?this[_0x538def(0x358)][_0x538def(0x245)](_0x43bb8d[_0x538def(0x1fd)]()):_0x4d18a7(null);}),_0x4fef0f(_0x1fe3e4=>_0x1fe3e4?_0x1fe3e4['status$']:_0x4d18a7(_0x3be97d[_0x9b355(0x261)])))['subscribe'](_0x29818e=>{const _0x53caca=_0x9b355;this[_0x53caca(0x248)][_0x53caca(0x202)](_0x29818e);}));}[_0x1acd05(0x25a)](){const _0x1332c4=_0x1acd05;this['disposeWithMe'](this['_uiPartsService'][_0x1332c4(0x317)](_0x38070b[_0x1332c4(0x3c3)],()=>_0x46b9d9(Ki({'status$':this[_0x1332c4(0x248)][_0x1332c4(0x27c)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x48e36a),Q(0x1,_0x5f021e(_0x4f83c1)),Q(0x2,_0x5f021e(_0x353ace)),Q(0x3,_0xda0404)],te);function Ki(_0x473b0c){const {status$:_0x3d43b6}=_0x473b0c;return function(){return _0x25785d(Wi,{'status$':_0x3d43b6});};}var zi=Object[_0x1acd05(0x2f5)],Ji=(_0x2af8f1,_0x3a4faf,_0x441b0f,_0x1f0f6f)=>{const _0x78316f=_0x1acd05;for(var _0x5be2c9=_0x1f0f6f>0x1?void 0x0:_0x1f0f6f?zi(_0x3a4faf,_0x441b0f):_0x3a4faf,_0x54eddb=_0x2af8f1[_0x78316f(0x263)]-0x1,_0x3621a2;_0x54eddb>=0x0;_0x54eddb--)(_0x3621a2=_0x2af8f1[_0x54eddb])&&(_0x5be2c9=_0x3621a2(_0x5be2c9)||_0x5be2c9);return _0x5be2c9;},B=(_0x3f87b8,_0x26f934)=>(_0x39e61e,_0x3b70ff)=>_0x26f934(_0x39e61e,_0x3b70ff,_0x3f87b8);let se=class extends _0x1e46f3{constructor(_0x4f1968,_0x415c02,_0xbbecff,_0x3a3757,_0x494d6e,_0x3c4a3e){const _0x41a952=_0x1acd05;super(),this[_0x41a952(0x3c2)]=_0x4f1968,this['_localCacheService']=_0x415c02,this[_0x41a952(0x25c)]=_0xbbecff,this['_messageService']=_0x3a3757,this[_0x41a952(0x3ad)]=_0x494d6e,this[_0x41a952(0x3c0)]=_0x3c4a3e,this[_0x41a952(0x214)](),this[_0x41a952(0x392)]();}[_0x1acd05(0x214)](){const _0x2eb114=_0x1acd05;this['disposeWithMe'](this[_0x2eb114(0x3c2)][_0x2eb114(0x375)](()=>{const _0x42cf73=_0x2eb114;if(this[_0x42cf73(0x1f5)]['saveTaskMap']['size'])return this[_0x42cf73(0x3c0)]['t'](_0x42cf73(0x314));}));}[_0x1acd05(0x392)](){const _0x8e74a4=_0x1acd05;this['disposeWithMe'](this[_0x8e74a4(0x25c)][_0x8e74a4(0x37f)][_0x8e74a4(0x385)](_0xa3b452=>{const _0x353e30=_0x8e74a4;_0xa3b452['id']===_0x28c901['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x313))}),_0xa3b452['id']===_0x28c901[_0x353e30(0x1e6)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd['Warning'],'content':this[_0x353e30(0x3c0)]['t']('collaboration.closeRoom')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x1f9)]&&this['_notificationService'][_0x353e30(0x2fe)]({'title':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x337)),'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x284)),'type':_0x353e30(0x32a),'duration':0x0}),_0xa3b452['id']===_0x28c901[_0x353e30(0x264)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd['Error'],'content':this[_0x353e30(0x3c0)]['t']('collaboration.closeRoom')+'('+_0xa3b452[_0x353e30(0x24c)]+')'}),_0xa3b452['id']===_0x28c901[_0x353e30(0x28d)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this['_localeService']['t'](_0xa3b452[_0x353e30(0x24c)]||'')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x3b3)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this[_0x353e30(0x3c0)]['t']('session.will-retry')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x2f0)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x386)],'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x3a4))}),_0xa3b452['id']===_0x28c901[_0x353e30(0x20b)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x386)],'content':this[_0x353e30(0x3c0)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x181cb5),B(0x1,_0x22d609),B(0x2,_0x5f021e(_0x427c8d)),B(0x3,_0x7eeb49),B(0x4,_0x7fe26d),B(0x5,_0x5f021e(_0x1b849e))],se);const Zi=_0x1acd05(0x36b),et={},Ut=_0x206f17(_0x1acd05(0x383));var Qi=Object[_0x1acd05(0x2f5)],qi=(_0x341ef1,_0x592ff3,_0x5dbddd,_0x50a2c8)=>{const _0x3cf735=_0x1acd05;for(var _0x549151=_0x50a2c8>0x1?void 0x0:_0x50a2c8?Qi(_0x592ff3,_0x5dbddd):_0x592ff3,_0x579fd1=_0x341ef1[_0x3cf735(0x263)]-0x1,_0x1c0d33;_0x579fd1>=0x0;_0x579fd1--)(_0x1c0d33=_0x341ef1[_0x579fd1])&&(_0x549151=_0x1c0d33(_0x549151)||_0x549151);return _0x549151;},G=(_0x986f83,_0x55dc63)=>(_0x30084f,_0x59dbb4)=>_0x55dc63(_0x30084f,_0x59dbb4,_0x986f83);let ie=class extends _0x17991f{constructor(_0x374c6f,_0x41d9cf,_0x15f456,_0xbda0fd,_0x4dc749){const _0x2c7d9a=_0x1acd05;super(),this[_0x2c7d9a(0x281)]=_0x374c6f,this[_0x2c7d9a(0x240)]=_0x41d9cf,this[_0x2c7d9a(0x258)]=_0x15f456,this[_0x2c7d9a(0x360)]=_0xbda0fd,_0x4dc749?_0x4dc749==null||_0x4dc749[_0x2c7d9a(0x361)]()[_0x2c7d9a(0x24f)](()=>this['_init']()):(this['_logService'][_0x2c7d9a(0x298)]('[CollaborationDataLoaderController]',_0x2c7d9a(0x299)),this[_0x2c7d9a(0x35d)]());}async[_0x1acd05(0x35d)](){const _0x289774=_0x1acd05,_0x8ae0cc=this['_urlService'][_0x289774(0x356)](_0x289774(0x271)),_0x13199a=this[_0x289774(0x281)][_0x289774(0x356)](_0x289774(0x3ae)),_0x1c742e=this[_0x289774(0x281)][_0x289774(0x356)](_0x289774(0x27e));if(!_0x8ae0cc||!_0x13199a){this[_0x289774(0x240)]['debug'](_0x289774(0x2de),_0x289774(0x30d));return;}const _0x14d094=await this[_0x289774(0x360)][_0x289774(0x237)](_0x8ae0cc,Number(_0x13199a),_0x1c742e);_0x14d094&&_0x14d094 instanceof _0x1f0347&&this[_0x289774(0x35e)](_0x14d094);}async[_0x1acd05(0x35e)](_0x537eb6){const _0x4ee65c=_0x1acd05;await this[_0x4ee65c(0x292)](_0x537eb6),_0x537eb6['activeSheet$'][_0x4ee65c(0x1cd)](_0x5eb4a6(this[_0x4ee65c(0x363)]))[_0x4ee65c(0x385)](_0x695029=>{const _0x473612=_0x4ee65c;_0x695029&&this[_0x473612(0x346)](_0x695029);}),this[_0x4ee65c(0x281)]['urlChange$'][_0x4ee65c(0x1cd)](_0x5eb4a6(this['dispose$']))['subscribe'](()=>this[_0x4ee65c(0x292)](_0x537eb6));}[_0x1acd05(0x346)](_0x2e45e2,_0x38c811=!0x1){const _0x78fe04=_0x1acd05,_0x4f1da3=this[_0x78fe04(0x281)][_0x78fe04(0x356)](_0x78fe04(0x27e));_0x2e45e2[_0x78fe04(0x396)]()!==_0x4f1da3&&this[_0x78fe04(0x281)][_0x78fe04(0x270)](_0x78fe04(0x27e),_0x2e45e2[_0x78fe04(0x396)](),_0x38c811);}async[_0x1acd05(0x292)](_0x4e66d1){const _0x53ffe6=_0x1acd05;var _0x5d0105;const _0x9d04b4=this[_0x53ffe6(0x281)][_0x53ffe6(0x356)](_0x53ffe6(0x27e));if(!_0x9d04b4||!_0x4e66d1[_0x53ffe6(0x26e)](_0x9d04b4)){const _0x462356=_0x4e66d1[_0x53ffe6(0x3c7)]()[0x0],_0x3ec3da=_0x4e66d1[_0x53ffe6(0x26e)](_0x462356);if(!_0x3ec3da)return;this['_updateURLWithCurrentState'](_0x3ec3da,!0x0),await this[_0x53ffe6(0x258)][_0x53ffe6(0x2c7)](_0x3ed6fe['id'],{'unitId':_0x4e66d1[_0x53ffe6(0x1fd)](),'subUnitId':_0x462356});return;}((_0x5d0105=_0x4e66d1[_0x53ffe6(0x3d5)]())==null?void 0x0:_0x5d0105[_0x53ffe6(0x396)]())!==_0x9d04b4&&await this['_commandService'][_0x53ffe6(0x2c7)](_0x3ed6fe['id'],{'unitId':_0x4e66d1['getUnitId'](),'subUnitId':_0x9d04b4});}};ie=qi([G(0x0,Ut),G(0x1,_0x3ede55),G(0x2,_0x4cc3b7),G(0x3,_0x5f021e(_0x35d9cc)),G(0x4,_0x216a52(_0x3bb9f2))],ie);var en=Object[_0x1acd05(0x2f5)],tn=(_0x3f8aad,_0x533ab8,_0x378bac,_0x475731)=>{const _0x108b82=_0x1acd05;for(var _0x55848f=_0x475731>0x1?void 0x0:_0x475731?en(_0x533ab8,_0x378bac):_0x533ab8,_0x11d249=_0x3f8aad[_0x108b82(0x263)]-0x1,_0xc9382e;_0x11d249>=0x0;_0x11d249--)(_0xc9382e=_0x3f8aad[_0x11d249])&&(_0x55848f=_0xc9382e(_0x55848f)||_0x55848f);return _0x55848f;},pe=(_0x17a136,_0x41e93)=>(_0x4a0608,_0x92bfca)=>_0x41e93(_0x4a0608,_0x92bfca,_0x17a136);let ne=class{constructor(_0x56f006,_0x35eb3a,_0x457b22){const _0x466fbc=_0x1acd05;this[_0x466fbc(0x2ce)]=_0x56f006,this[_0x466fbc(0x20a)]=_0x35eb3a,this['_renderManagerService']=_0x457b22;}[_0x1acd05(0x28e)](_0x29aeef){const _0x4474cf=_0x1acd05;this[_0x4474cf(0x21c)](_0x29aeef),this[_0x4474cf(0x399)](_0x29aeef);}[_0x1acd05(0x27a)](_0x57f11a){const _0x350540=_0x1acd05,{unitID:_0x9080b6}=_0x57f11a,_0x1925e5=this[_0x350540(0x3d0)][_0x350540(0x273)](_0x9080b6)[_0x350540(0x1f7)](_0x1a5f23),{redoCache:_0x48b422}=_0x1925e5['getUndoRedoMutationParamsCache']();if(_0x48b422[_0x350540(0x263)]===0x0)return _0x57f11a;let _0x54bbd9=_0x4150e8[_0x350540(0x23d)](_0x57f11a['mutations'][0x0]);for(let _0x5caf7d=0x0;_0x5caf7d<_0x48b422[_0x350540(0x263)];_0x5caf7d++){const _0x5d5363={'id':_0x350540(0x204),'params':{..._0x48b422[_0x5caf7d]}},_0x44b22c=this[_0x350540(0x20a)][_0x350540(0x3b2)](_0x54bbd9,_0x5d5363,!0x1);if(_0x3d9270(_0x44b22c))throw _0x44b22c['error'];_0x54bbd9=_0x44b22c[_0x350540(0x1ef)];}return{..._0x4150e8[_0x350540(0x23d)](_0x57f11a),'mutations':[_0x54bbd9]};}[_0x1acd05(0x21c)](_0x2fd691){const _0x10e18f=_0x1acd05,{unitID:_0x3516b5}=_0x2fd691,_0x25ac48=this[_0x10e18f(0x3d0)][_0x10e18f(0x273)](_0x3516b5)[_0x10e18f(0x1f7)](_0x1a5f23),{undoCache:_0x12db94,redoCache:_0x2e9f59}=_0x25ac48[_0x10e18f(0x315)]();if(_0x12db94[_0x10e18f(0x263)]===0x0||_0x2e9f59[_0x10e18f(0x263)]===0x0)return;const _0x494016=[],_0x3b3310=[];let _0x545d39=_0x4150e8[_0x10e18f(0x23d)](_0x2fd691[_0x10e18f(0x3b8)][0x0]),_0x1db523=_0x4150e8['deepClone'](_0x2fd691['mutations'][0x0]);for(let _0x3a1a13=_0x12db94['length']-0x1;_0x3a1a13>=0x0;_0x3a1a13--){const _0x5f4fa8={'id':'doc.mutation.rich-text-editing','params':{..._0x12db94[_0x3a1a13]}},_0x422e44={'id':_0x10e18f(0x204),'params':{..._0x2e9f59[_0x3a1a13]}},_0x59d5fe=this[_0x10e18f(0x20a)]['transformMutation'](_0x545d39,_0x5f4fa8,!0x1),_0x5b7443=this[_0x10e18f(0x20a)][_0x10e18f(0x3b2)](_0x1db523,_0x422e44,!0x1);if(_0x3d9270(_0x59d5fe))throw _0x59d5fe[_0x10e18f(0x32a)];if(_0x3d9270(_0x5b7443))throw _0x5b7443[_0x10e18f(0x32a)];_0x494016['unshift'](_0x59d5fe[_0x10e18f(0x25b)][_0x10e18f(0x21f)]),_0x3b3310[_0x10e18f(0x32d)](_0x5b7443['m2Prime'][_0x10e18f(0x21f)]),_0x545d39=_0x59d5fe[_0x10e18f(0x1ef)],_0x1db523=_0x5b7443[_0x10e18f(0x1ef)];}_0x25ac48[_0x10e18f(0x339)]({'undoCache':_0x494016,'redoCache':_0x3b3310});}[_0x1acd05(0x399)](_0xbadcdf){const _0x1bfdf4=_0x1acd05,{unitID:_0x4d747c}=_0xbadcdf,_0x35de97=this['_renderManagerService']['getRenderById'](_0x4d747c)['with'](_0x1a5f23),_0x318a41=_0x35de97['getActiveRange']();if(_0x318a41==null)return;const _0x5e0e0d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbadcdf[_0x1bfdf4(0x3a8)],'actions':null,'textRanges':[_0x318a41]}}],_0x48b247=this[_0x1bfdf4(0x20a)]['transformMutationsWithChangeset'](_0xbadcdf,_0x5e0e0d);if(!_0x5e35b1(_0x48b247))throw _0x48b247[_0x1bfdf4(0x32a)];const _0x4afc6c=_0x48b247[_0x1bfdf4(0x25b)][0x0][_0x1bfdf4(0x21f)][_0x1bfdf4(0x37a)];Array[_0x1bfdf4(0x347)](_0x4afc6c)&&_0x4afc6c[_0x1bfdf4(0x263)]&&_0x35de97[_0x1bfdf4(0x1ee)](_0x4afc6c[0x0]);}};ne=tn([pe(0x0,_0x5f021e(_0x4f83c1)),pe(0x1,_0x3c09f3),pe(0x2,_0x22a42b)],ne);var sn=Object[_0x1acd05(0x2f5)],nn=(_0x215f66,_0x50f84a,_0x28e7f3,_0x396254)=>{const _0x551fc0=_0x1acd05;for(var _0x134088=_0x396254>0x1?void 0x0:_0x396254?sn(_0x50f84a,_0x28e7f3):_0x50f84a,_0x47cf31=_0x215f66[_0x551fc0(0x263)]-0x1,_0x14d4df;_0x47cf31>=0x0;_0x47cf31--)(_0x14d4df=_0x215f66[_0x47cf31])&&(_0x134088=_0x14d4df(_0x134088)||_0x134088);return _0x134088;},Ce=(_0x3e3d0e,_0x15053f)=>(_0x2ab763,_0x385979)=>_0x15053f(_0x2ab763,_0x385979,_0x3e3d0e);function _0xe137(_0x4f832d,_0x58b6db){const _0x3563e6=_0x3563();return _0xe137=function(_0xe1372f,_0x3bda21){_0xe1372f=_0xe1372f-0x1cc;let _0x5df9f1=_0x3563e6[_0xe1372f];return _0x5df9f1;},_0xe137(_0x4f832d,_0x58b6db);}let re=class{constructor(_0x401077,_0x5d82ed,_0x2a6942){const _0x42ca41=_0x1acd05;this[_0x42ca41(0x2ce)]=_0x401077,this['_transformService']=_0x5d82ed,this[_0x42ca41(0x1d3)]=_0x2a6942;}[_0x1acd05(0x29d)](_0x42a35a){const _0x4f896a=_0x1acd05;this[_0x4f896a(0x203)](_0x42a35a);}[_0x1acd05(0x27a)](_0x2084a4){const _0x361385=_0x1acd05,{unitID:_0x522c29}=_0x2084a4,{collaboration:_0x2b3457}=this['_docStateChangeManagerService'][_0x361385(0x1fb)](_0x522c29);if(_0x2b3457[_0x361385(0x263)]===0x0)return _0x2084a4;let _0x3b6a13=_0x4150e8[_0x361385(0x23d)](_0x2084a4[_0x361385(0x3b8)][0x0]);for(let _0x527036=0x0;_0x527036<_0x2b3457[_0x361385(0x263)];_0x527036++){const _0x271e73={'id':_0x361385(0x204),'params':{'unitId':_0x2b3457[_0x527036][_0x361385(0x293)],..._0x2b3457[_0x527036]['redoState']}},_0x16143b=this[_0x361385(0x20a)][_0x361385(0x3b2)](_0x3b6a13,_0x271e73,!0x1);if(_0x3d9270(_0x16143b))throw _0x16143b['error'];_0x3b6a13=_0x16143b['m1Prime'];}return{..._0x4150e8[_0x361385(0x23d)](_0x2084a4),'mutations':[_0x3b6a13]};}[_0x1acd05(0x203)](_0x8bc2bd){const _0x4581b1=_0x1acd05,{unitID:_0x1877b0}=_0x8bc2bd,{history:_0x487e28,collaboration:_0xcabffd}=this[_0x4581b1(0x1d3)][_0x4581b1(0x1fb)](_0x1877b0);if(_0x487e28['length']===0x0&&_0xcabffd['length']===0x0)return;const _0x43ad61=[],_0x2a403c=[];let _0x54c8e5=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]),_0x292131=_0x4150e8['deepClone'](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]);for(let _0x4bda3e=_0x487e28['length']-0x1;_0x4bda3e>=0x0;_0x4bda3e--){const _0x1184fb={'id':_0x4581b1(0x204),'params':{'unitId':_0x487e28[_0x4bda3e]['unitId'],..._0x487e28[_0x4bda3e][_0x4581b1(0x373)]}},_0x5ab9b5={'id':_0x4581b1(0x204),'params':{'unitId':_0x487e28[_0x4bda3e]['unitId'],..._0x487e28[_0x4bda3e]['redoState']}},_0x765861=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x54c8e5,_0x1184fb,!0x1),_0x588906=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x292131,_0x5ab9b5,!0x1);if(_0x3d9270(_0x765861))throw _0x765861[_0x4581b1(0x32a)];if(_0x3d9270(_0x588906))throw _0x588906[_0x4581b1(0x32a)];_0x43ad61['unshift']({..._0x487e28[_0x4bda3e],'undoState':_0x765861['m2Prime'][_0x4581b1(0x21f)],'redoState':_0x588906[_0x4581b1(0x25b)][_0x4581b1(0x21f)]}),_0x54c8e5=_0x765861[_0x4581b1(0x1ef)],_0x292131=_0x588906[_0x4581b1(0x1ef)];}_0x54c8e5=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]),_0x292131=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd['mutations'][0x0]);for(let _0xa465e0=_0xcabffd['length']-0x1;_0xa465e0>=0x0;_0xa465e0--){const _0x52b9f6={'id':_0x4581b1(0x204),'params':{'unitId':_0xcabffd[_0xa465e0]['unitId'],..._0xcabffd[_0xa465e0]['undoState']}},_0x1068d9={'id':_0x4581b1(0x204),'params':{'unitId':_0xcabffd[_0xa465e0][_0x4581b1(0x293)],..._0xcabffd[_0xa465e0]['redoState']}},_0xbe883d=this['_transformService'][_0x4581b1(0x3b2)](_0x54c8e5,_0x52b9f6,!0x1),_0x27a990=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x292131,_0x1068d9,!0x1);if(_0x3d9270(_0xbe883d))throw _0xbe883d['error'];if(_0x3d9270(_0x27a990))throw _0x27a990[_0x4581b1(0x32a)];_0x2a403c[_0x4581b1(0x32d)]({..._0xcabffd[_0xa465e0],'undoState':_0xbe883d[_0x4581b1(0x25b)][_0x4581b1(0x21f)],'redoState':_0x27a990['m2Prime'][_0x4581b1(0x21f)]}),_0x54c8e5=_0xbe883d['m1Prime'],_0x292131=_0x27a990[_0x4581b1(0x1ef)];}this[_0x4581b1(0x1d3)]['setStateCache'](_0x1877b0,{'history':_0x43ad61,'collaboration':_0x2a403c});}};re=nn([Ce(0x0,_0x5f021e(_0x4f83c1)),Ce(0x1,_0x3c09f3),Ce(0x2,_0x5f021e(_0x145de9))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x302a8a,_0x2a0b2c,_0x5d628b,_0x5c9695)=>{const _0x1fc7f3=_0x1acd05;for(var _0x2b87ce=_0x5c9695>0x1?void 0x0:_0x5c9695?rn(_0x2a0b2c,_0x5d628b):_0x2a0b2c,_0x5cd30d=_0x302a8a[_0x1fc7f3(0x263)]-0x1,_0x5a955c;_0x5cd30d>=0x0;_0x5cd30d--)(_0x5a955c=_0x302a8a[_0x5cd30d])&&(_0x2b87ce=_0x5a955c(_0x2b87ce)||_0x2b87ce);return _0x2b87ce;},tt=(_0x3a2a68,_0x37618e)=>(_0x3716e0,_0x368093)=>_0x37618e(_0x3716e0,_0x368093,_0x3a2a68);let oe=class{constructor(_0x48b2da,_0x28ca40){const _0x30bd06=_0x1acd05;this[_0x30bd06(0x2ce)]=_0x48b2da,this[_0x30bd06(0x20a)]=_0x28ca40;}[_0x1acd05(0x3b4)](_0x1c5efa){const _0x5dd721=_0x1acd05;var _0x52171b;const _0x5750ac=this[_0x5dd721(0x2ce)]['get'](_0x797d99),_0x273a49=(_0x52171b=_0x5750ac[_0x5dd721(0x36c)]())!=null?_0x52171b:[];if(_0x273a49[_0x5dd721(0x263)]===0x0)return;const _0x1facd5=_0x1c5efa[_0x5dd721(0x3a8)],_0x67b614=[{'id':_0x5dd721(0x204),'params':{'unitId':_0x1facd5,'actions':null,'textRanges':_0x273a49}}],_0x29ed7d=this['_transformService']['transformMutationsWithChangeset'](_0x1c5efa,_0x67b614);if(!_0x5e35b1(_0x29ed7d))throw _0x29ed7d[_0x5dd721(0x32a)];const _0x265a5a=_0x29ed7d[_0x5dd721(0x25b)][0x0]['params']['textRanges'];Array['isArray'](_0x265a5a)&&_0x265a5a[_0x5dd721(0x263)]&&_0x5750ac['replaceDocRanges'](_0x265a5a,{'unitId':_0x1facd5,'subUnitId':_0x1facd5},!0x1);}};oe=on([tt(0x0,_0x5f021e(_0x4f83c1)),tt(0x1,_0x3c09f3)],oe);var an=Object[_0x1acd05(0x2f5)],cn=(_0x4c9823,_0x3c2b14,_0x45a6a3,_0x2833e8)=>{const _0x3a60db=_0x1acd05;for(var _0xadea43=_0x2833e8>0x1?void 0x0:_0x2833e8?an(_0x3c2b14,_0x45a6a3):_0x3c2b14,_0x1f9526=_0x4c9823[_0x3a60db(0x263)]-0x1,_0x4c5402;_0x1f9526>=0x0;_0x1f9526--)(_0x4c5402=_0x4c9823[_0x1f9526])&&(_0xadea43=_0x4c5402(_0xadea43)||_0xadea43);return _0xadea43;},U=(_0x22b482,_0x328a25)=>(_0x5f3256,_0x5702fa)=>_0x328a25(_0x5f3256,_0x5702fa,_0x22b482);let ae=class extends _0x1e46f3{constructor(_0x481c40,_0x42206f,_0x6cda11,_0x418b36,_0x2ea310,_0x5cb0ca,_0x1134d1,_0x11b4f7){const _0x942f70=_0x1acd05;super(),_(this,_0x942f70(0x248),new _0x5bb037(_0x3be97d[_0x942f70(0x261)])),(this[_0x942f70(0x1d3)]=_0x481c40,this[_0x942f70(0x358)]=_0x42206f,this[_0x942f70(0x2d1)]=_0x6cda11,this[_0x942f70(0x30e)]=_0x418b36,this[_0x942f70(0x1d4)]=_0x2ea310,this[_0x942f70(0x262)]=_0x5cb0ca,this['_messageService']=_0x1134d1,this[_0x942f70(0x3c0)]=_0x11b4f7,this['_initEntityListener']());}[_0x1acd05(0x1ea)](){const _0x18395d=_0x1acd05;this['disposeWithMe'](this[_0x18395d(0x358)][_0x18395d(0x227)][_0x18395d(0x385)](_0x4b06ef=>{const _0x50a7f5=_0x18395d,_0x30cfa0=this[_0x50a7f5(0x1d3)][_0x50a7f5(0x2b2)][_0x50a7f5(0x385)](_0x4edb39=>{const _0x4bdc91=_0x50a7f5;if(_0x4edb39==null)return;const {unitId:_0x5c92ee,redoState:_0x5141c1,commandId:_0x635513}=_0x4edb39;if(_0x5c92ee!==_0x4b06ef[_0x4bdc91(0x3a8)])return;const _0x44fbda={'id':_0x635513,'type':_0x37acca['MUTATION'],'params':{'unitId':_0x5c92ee,'actions':_0x5141c1[_0x4bdc91(0x1f8)],'textRanges':null}};_0x4b06ef[_0x4bdc91(0x212)](_0x44fbda);});if(_0x4b06ef[_0x50a7f5(0x388)](_0x30cfa0),_0x4b06ef instanceof _0x2bd935){const _0x807068={'onTransformIME':_0x443d94=>this[_0x50a7f5(0x2d1)][_0x50a7f5(0x28e)](_0x443d94),'onTransformState':_0x3bf696=>this[_0x50a7f5(0x30e)][_0x50a7f5(0x29d)](_0x3bf696),'onTransformSelections':_0x14c4d2=>this['_docTransformSelectionsService'][_0x50a7f5(0x3b4)](_0x14c4d2),'onSyncEditingCollabCursor':_0x45239a=>this[_0x50a7f5(0x262)][_0x50a7f5(0x326)](_0x45239a),'onTransformRemoteChangesetByIMECache':_0x1d5333=>this['_docTransformIMECacheService'][_0x50a7f5(0x27a)](_0x1d5333),'onTransformRemoteChangesetByStateCache':_0x536627=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x536627)};_0x4b06ef[_0x50a7f5(0x1ff)](_0x807068);}}));}};ae=cn([U(0x0,_0x5f021e(_0x145de9)),U(0x1,_0x5f021e(_0x353ace)),U(0x2,_0x5f021e(ne)),U(0x3,_0x5f021e(re)),U(0x4,_0x5f021e(oe)),U(0x5,_0x5f021e(He)),U(0x6,_0x7eeb49),U(0x7,_0x5f021e(_0x1b849e))],ae);var ln=Object[_0x1acd05(0x2f5)],_n=(_0x446009,_0x308569,_0x34441a,_0x5c7cf2)=>{const _0x1ddc5f=_0x1acd05;for(var _0x1c24f0=_0x5c7cf2>0x1?void 0x0:_0x5c7cf2?ln(_0x308569,_0x34441a):_0x308569,_0x258b87=_0x446009[_0x1ddc5f(0x263)]-0x1,_0x2b593d;_0x258b87>=0x0;_0x258b87--)(_0x2b593d=_0x446009[_0x258b87])&&(_0x1c24f0=_0x2b593d(_0x1c24f0)||_0x1c24f0);return _0x1c24f0;},Ee=(_0x18ec31,_0x2f9797)=>(_0x3ff142,_0x58d7d4)=>_0x2f9797(_0x3ff142,_0x58d7d4,_0x18ec31);let we=class extends _0x1e46f3{constructor(_0x4f49ad,_0x2723d6,_0x513c93){const _0x3d76b7=_0x1acd05;super(),_(this,'_cachedData',new Map()),_(this,_0x3d76b7(0x2b7),new Map()),_(this,'_disabled',!0x1),(this[_0x3d76b7(0x324)]=_0x4f49ad,this[_0x3d76b7(0x2a9)]=_0x2723d6,this['_revisionService']=_0x513c93);}[_0x1acd05(0x32c)](){const _0x100fee=_0x1acd05;this[_0x100fee(0x2a2)]=!0x0;}[_0x1acd05(0x21d)](){const _0x560a43=_0x1acd05;this[_0x560a43(0x2a2)]=!0x1;}get[_0x1acd05(0x2ad)](){const _0x329189=_0x1acd05;return this[_0x329189(0x2b7)];}[_0x1acd05(0x1ce)](){const _0x3edd2a=_0x1acd05;this['exhaustSavingTask']()[_0x3edd2a(0x24f)](()=>super['dispose']());}async[_0x1acd05(0x3cb)](_0xdf3fbd){const _0x582583=_0x1acd05;return this[_0x582583(0x2a2)]?null:this[_0x582583(0x2a9)][_0x582583(0x302)](_0x39d7de(_0xdf3fbd));}async[_0x1acd05(0x1e9)](_0x516669,_0xb8a611){const _0x71c9be=_0x1acd05;return!!this[_0x71c9be(0x2a9)][_0x71c9be(0x2f9)](_0x516669,_0xb8a611);}[_0x1acd05(0x230)](_0x4c581f,_0x3f2e4b,_0x585910,_0x3f4eb3){const _0x3992c5=_0x1acd05,_0x3d587e=this['_revisionService']['getCurrentRevOfUnit'](_0x4c581f);this[_0x3992c5(0x26f)][_0x3992c5(0x38e)](_0x4c581f,{'unitID':_0x4c581f,'type':_0x3f2e4b,'awaitingChangeset':_0x585910,'mutations':_0x3f4eb3,'rev':_0x3d587e}),this[_0x3992c5(0x2b7)][_0x3992c5(0x334)](_0x4c581f)||this[_0x3992c5(0x35a)](_0x4c581f);}[_0x1acd05(0x35a)](_0x4ceef2){const _0x3b376a=_0x1acd05,_0x40ee8e=this[_0x3b376a(0x1d8)]();_0x40ee8e===0x0?this[_0x3b376a(0x359)](_0x4ceef2):this['_saveTaskMap'][_0x3b376a(0x38e)](_0x4ceef2,setTimeout(()=>this[_0x3b376a(0x359)](_0x4ceef2),_0x40ee8e));}['_getSaveTimeout'](){const _0x246c43=_0x1acd05;var _0x401b7a;return(_0x401b7a=this[_0x246c43(0x324)]['getConfig'](_0xebb4))!=null?_0x401b7a:_0x51366b;}[_0x1acd05(0x359)](_0x582629){const _0x131945=_0x1acd05,_0x57f113=this[_0x131945(0x2b7)][_0x131945(0x307)](_0x582629);return _0x57f113!==void 0x0&&window[_0x131945(0x387)](_0x57f113),this[_0x131945(0x2a9)][_0x131945(0x2f9)](_0x39d7de(_0x582629),this['_cachedData']['get'](_0x582629))[_0x131945(0x24f)](()=>this[_0x131945(0x2b7)]['delete'](_0x582629));}async[_0x1acd05(0x20f)](){const _0x52ca37=_0x1acd05,_0x26d38a=[];this['_saveTaskMap'][_0x52ca37(0x34c)]((_0x114fe1,_0x256596)=>{const _0x1503ba=_0x52ca37;window['clearTimeout'](_0x114fe1),_0x26d38a[_0x1503ba(0x286)](this[_0x1503ba(0x359)](_0x256596)[_0x1503ba(0x24f)](()=>{const _0x56197b=_0x1503ba;this['_saveTaskMap'][_0x56197b(0x238)](_0x256596);}));}),await Promise[_0x52ca37(0x354)](_0x26d38a);}};we=_n([Ee(0x0,_0x1e1632),Ee(0x1,_0x40aebb),Ee(0x2,_0x5f021e(_0x858df0))],we);class hn extends _0x17991f{constructor(){const _0x231498=_0x1acd05;super(),_(this,_0x231498(0x340)),this['urlChange$']=_0x519b9a(window,_0x231498(0x303))[_0x231498(0x1cd)](_0x5eb4a6(this[_0x231498(0x363)]),_0x220147(0x1),_0x384f5f(void 0x0));}[_0x1acd05(0x270)](_0x228013,_0x409b49,_0x1473c9=!0x1){const _0x1fe250=_0x1acd05,_0x3912d8=new URL(window[_0x1fe250(0x280)][_0x1fe250(0x389)]);_0x3912d8[_0x1fe250(0x39f)][_0x1fe250(0x38e)](_0x228013,_0x409b49),_0x1473c9?window[_0x1fe250(0x3b5)][_0x1fe250(0x2bd)]('','',_0x3912d8[_0x1fe250(0x25d)]()):window[_0x1fe250(0x3b5)][_0x1fe250(0x223)]('','',_0x3912d8[_0x1fe250(0x25d)]());}['removeParam'](_0x490f81,_0x40aaf3=!0x1){const _0x321822=_0x1acd05,_0x7d266c=new URL(window[_0x321822(0x280)][_0x321822(0x389)]);_0x7d266c[_0x321822(0x39f)][_0x321822(0x238)](_0x490f81),_0x40aaf3?window['history'][_0x321822(0x2bd)]('','',_0x7d266c[_0x321822(0x25d)]()):window['history'][_0x321822(0x223)]('','',_0x7d266c['toString']());}[_0x1acd05(0x356)](_0x267507){const _0x2761b1=_0x1acd05;var _0x133f3b;return(_0x133f3b=new URL(window[_0x2761b1(0x280)][_0x2761b1(0x389)])['searchParams']['get'](_0x267507))!=null?_0x133f3b:void 0x0;}}var un=Object[_0x1acd05(0x220)],dn=Object[_0x1acd05(0x2f5)],fn=(_0x4a2637,_0x2add3e,_0x3ea6f7)=>_0x2add3e in _0x4a2637?un(_0x4a2637,_0x2add3e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ea6f7}):_0x4a2637[_0x2add3e]=_0x3ea6f7,Sn=(_0x494cae,_0x5c7be8,_0x48a53b,_0xa206c4)=>{for(var _0x3d4496=_0xa206c4>0x1?void 0x0:_0xa206c4?dn(_0x5c7be8,_0x48a53b):_0x5c7be8,_0x18e0c9=_0x494cae['length']-0x1,_0x143c78;_0x18e0c9>=0x0;_0x18e0c9--)(_0x143c78=_0x494cae[_0x18e0c9])&&(_0x3d4496=_0x143c78(_0x3d4496)||_0x3d4496);return _0x3d4496;},Oe=(_0x3332ff,_0x1d0a8a)=>(_0xac56aa,_0x2b7467)=>_0x1d0a8a(_0xac56aa,_0x2b7467,_0x3332ff),mn=(_0x18fd64,_0x39f68a,_0x373ccb)=>fn(_0x18fd64,_0x39f68a+'',_0x373ccb);function _0x3563(){const _0x4f1410=['sessionTicket','column','getCurrent','getCurrentSelections','_saveTaskMap','ONLINE','symbol','_uiPartsService','stringify','idSuffix','replaceState','8302140wfgCYl','_getSheetObject','addObject','extend','clipPath','values','UNIVER_DOC','getConfig','YUUMI_UNABLE_LOAD_URL','executeCommand','trim','_drawAnchor','search','CONNECTOR_DATA_TOO_LARGE','on-line-icon','_startDocCollabCursor','_injector','_memberService','propertyIsEnumerable','_docTransformIMECacheService','_anchorDot','0\x200\x2017\x2016','_backgroundColor','replace','onMouseMove','_document','body','prototype','attrs','_hovered','_collabSessionService','_updateLocalCursor','[CollaborationDataLoaderController]','_session','OffLineIcon','application/json','OnLineIcon','yellow.400','AWAITING_WITH_PENDING','hovered','_initResize','YUUMI_URL_COL_OUT_OF_RANGE','getOwnPropertySymbols','icon','_registerDependencies','INTERNAL_ERROR','_messageService','onPointerLeave$','collabCursorState$','isEditing','SOCKET_FAILED','_colorIndex','LICENSE_DISTRO_REJECTED','generateRandomId','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertyDescriptor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','defIds','_instanceService','setItem','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformByState','_labelPosition','_assignedColors','show','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','assignAColorForMemberID','_eventUnsubscribe','getItem','popstate','_hideTimer','collabStatus.conflict','evenodd','get','_ensureSubject','SYNCED','_updateCollabCursors','path','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docTransformStateCacheService','Warning','_roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','arc','collaboration.single-unit.warning','collaboration-client.offline-data-not-saved','getUndoRedoMutationParamsCache','div','registerComponent','#FFF','_toggleOffline','selection','_heartbeatTimer','RECT','getMemberID','createSocket','_cursorInfo$','_startSheetCollabCursor','INVALID_INVITE_CODE','size','getVpScrollXYInfoByPosToVp','_configService','height','syncEditingCollabCursor','assign','getMember','registerRenderModule','error','_scheduleClearOtherTimer','disableLocalCache','unshift','_sheetSkeletonManagerService','cursorInfo','colorChannel1','USER_NOT_INVITED_CODE','_entityInit$','onCommandExecuted','has','_cursors','tag','permission.title','_name','setUndoRedoMutationParamsCache','APPLY_DUPLICATED','_handleEvent','_entities','getCellPositionByOffset','_config','currentSkeleton$','urlChange$','setShapeProps','_univerInstanceService','_getSessionTicket','use','_getMergeRange','_updateURLWithCurrentState','isArray','EMAIL_VERIFY_CODE_MISMATCH','LOGIN_FAILED','bottom','currentTheme$','forEach','_send','_range','VIEW_MAIN','_docClipboardService','getValue','newValue','_selfUnitIDs','all','function','getParam','setInterval','_collaborationController','_saveCache','_scheduleSaving','ticket','beginPath','_init','_setupSubUnitSync','unload','_dataLoaderService','whenReady','measureText','dispose$','FromArray','MoveRangeCommandId','getSkeleton','_colorAssignService','_toggleOnline','UNAUTHENTICATED','storage','collaboration-client-ui.config','getDocRanges','makeDirty','className','_createSocketURL','TOO_MANY_REQUESTS','url(#$1','contains','undoState','flatMap','registerBeforeClose','OTHER_CLIENTS_EDITING','_scheduleHeartbeat','getUnitStatus$','roomMembers$','textRanges','_textBubble','UPDATE_CURSOR','/run/','_cursorShapes','event$','collabStatus.syncing','getTypeOfUnitDisposed$','YUUMI_RATE_OVER_LIMIT','uni.network.url-service','InsertColCommandId','subscribe','Error','clearTimeout','disposeWithMe','href','_handleJoinEvent','focused$','getRangePointData','_onRefRangeChange','set','CHANGESET_REVISION_CONFILICT','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','setConfig','_initEvent','5OMIYcP','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','_getAnchorBounding','closePath','_transformPreviousActiveRange','fill','UNIVER_SHEET','collabStatus.notCollab','on-line-icon_clip0_910_349','purple.300','searchParams','onPointerEnter$','_shapes','skeleton','2445008MkFOgB','session.connection-failed','string','save','1369826nBNKxa','unitID','apply','univer-flex\x20univer-items-center','_handleLeaveEvent','InsertRowCommandId','_notificationService','type','ACTIVE_UNIT_EVENT_CHANNEL','addEventListener','2040294qqtrXh','transformMutation','SOCKET_FAILED_RETRY','transformSelections','history','rgba(255,\x20255,\x20255,\x200.01)','setAlpha','mutations','_themeService','onPointerMove$','origin','off-line-icon_clip0_910_343','YUUMI_TABLE_NOT_FOUND_IN_UNIT','AWAITING','children','_localeService','drawWith','_beforeCloseService','HEADER_MENU','COMPLETION_FINISHED','_httpService','_render','getUnhiddenWorksheets','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','disposeUnit','loadOfflineData','random','EMAIL_HAS_BEEN_BOUND','currentColor','ENSURE_SNAPSHOT_EXECUTION','_renderManagerService','YUUMI_AI_RUN_FAILED','collab-client.tooltip.reconnect','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','getActiveSheet','_unitOnClients','collab-text-range-','engine','4006009aNnAsC','pipe','dispose','includes','color','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','_docStateChangeManagerService','_docTransformSelectionsService','subscribeEvent','url(#off-line-icon_clip0_910_343)','_handleHover','_getSaveTimeout','from','univerjs-icon\x20univerjs-icon-','collabStatus.fetchMiss','split','_scene','UNRECOGNIZED','xlink:href','INVITE_CODE_HAS_BEEN_UES','DeleteRangeMoveUpCommandId','endColumn','triggerDblclick','_refRangeService','displayName','CLOSE_ROOM','none','hasOwnProperty','saveOfflineData','_initEntityListener','_getScale','backgroundColor','init','setActiveRange','m1Prime','eventID','send','_initStatusListener','InsertRangeMoveRightCommandId','_id','_localCacheService','isActive','with','actions','PERMISSION_DENIED','_color','getStateCache','APPLY_REVISION_CONFILICT','getUnitId','row','addHandlerCallback','M0\x200H16V16H0z','hide','next','_transformHistoryAndStateStack','doc.mutation.rich-text-editing','fillRule','substring','url(#on-line-icon_clip0_910_349)','_removeClearOtherTimer','_anchor','_transformService','SUBMIT_CHANGESET_TIMEOUT','_online','_collabCursorController','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','exhaustSavingTask','_onCursorUpdate','unsubscribe','onLocalMutation','moveTo','_setupBeforeClosingHandler','_initCommandExecutedListener','YUUMI_ALL_TABLES_IS_INVALID','svg','1730952BtOMHu','APPLY_REJECT','range','collabStatus.offline','_transformUndoRedoStack','enableLocalCache','name','params','defineProperty','USERS_LEAVE','complete','pushState','1wNJiKO','top','_unitStatus','entityInit$','entries','red.300','fillText','_drawTextRange','font','indexOf','UNDEFINED','MOBILE_HAS_BEEN_BOUND','updateOfflineData','white','NO_OTHER_CLIENTS_EDITING','roomMembers','result','_imageIoService','sessionStatus$','loadUnit','delete','_hover','restore','_lastPointer','getFocusedUnit','deepClone','1em','onTransformChange$','_logService','post','off-line-icon','runId','getTypeOfUnitAdded$','getCollabEntity$','wsSessionTicketUrl','startColumn','_status$','imageSourceType','getOffsetConfig','add','data','subUnitId','clearInterval','then','APPLY_PERMISSION_DENIED','createInstance','getViewport','invokeId','YUUMI_ASYNCIO_CANCELLED','_draw','call','_removeCollabCursors','_commandService','LICENSE_EXPORT_SIZE_EXCEEDED','_initStatusComponent','m2Prime','_collaborationUIEventService','toString','getMergeData','FETCH_MISS','Failed','NOT_COLLAB','_docSyncEditingCollabCursorService','length','CONFLICT','ALREADY_EXISTS','_drawRectRange','mask','setTimeout','2211570fiFddQ','findNodePositionByCharIndex','_syncEditingCollabCursorService','editingUnit','_handleHeartbeatEvent','getSheetBySheetId','_cachedData','setParam','unit','key','getRenderById','width','min','_refreshCollabCursors','ranges','_registerRenderDependencies','cursorInfo$','transformRemoteChangeset','_collabCursorState$','asObservable','APPLY_NON_SEQUENTIAL_REVISION','subunit','onStarting','location','_urlService','black','INVALID_ARGUMENT','permission.content','defs','push','getCollabCursors$','RemoveColCommandId','round','memberID','OFFLINE','collabStatus.synced','JOIN_ROOM_FAILED','transformIMECache','lineTo','WECHAT_HAS_BEEN_BOUND','getCurrentUnitForType','_updateSubUnitFromURLParams','unitId','_clearOtherTimers','YUUMI_NO_CUBOID_FOR_QUESTION','saveImage','_cursor','debug','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','fillStyle','NOT_FOUND','_initDependencies','transformStateCache','_onCursorDelete','toRgbString','requireSession','addClipboardHook','_disabled','concat','_context','_docSkeletonManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','INVITE_CODE_REQUIRED','TEXT','_localStorageService','registerRefRange','endRow','...','saveTaskMap','getAncestorScale','green.600','getColorFromTheme','map','docStateChange$'];_0x3563=function(){return _0x4f1410;};return _0x3563();}const In=_0x1acd05(0x20e);let Ae=class extends _0x27aa42{constructor(_0x2923e4=et,_0x598f29,_0x32803e,_0x10e6a4){const _0x216a9e=_0x1acd05;super(),this[_0x216a9e(0x33e)]=_0x2923e4,this[_0x216a9e(0x3d0)]=_0x598f29,this['_injector']=_0x32803e,this['_configService']=_0x10e6a4;const {..._0x11cf69}=_0x68f404({},et,this[_0x216a9e(0x33e)]);this['_configService'][_0x216a9e(0x391)](Zi,_0x11cf69);}[_0x1acd05(0x27f)](){const _0x265e2e=_0x1acd05;this[_0x265e2e(0x2ea)](),this[_0x265e2e(0x29c)]();}['onRendered'](){const _0x28ce1f=_0x1acd05;this[_0x28ce1f(0x278)]();}[_0x1acd05(0x2ea)](){const _0x5f4b36=_0x1acd05;var _0x5e377b;const _0x1e7d28=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4dcec0,{'useClass':_0xd27793}],[_0x22d609,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x60982f(this[_0x5f4b36(0x2ce)],_0x1a7a13(_0x1e7d28,(_0x5e377b=this[_0x5f4b36(0x33e)])==null?void 0x0:_0x5e377b['override']));}['_registerRenderDependencies'](){const _0x55dba8=_0x1acd05;this[_0x55dba8(0x388)](this[_0x55dba8(0x3d0)]['registerRenderModule'](_0x1f91f1[_0x55dba8(0x2c4)],[Le])),this[_0x55dba8(0x388)](this['_renderManagerService'][_0x55dba8(0x329)](_0x1f91f1['UNIVER_SHEET'],[Pe]));}['_initDependencies'](){const _0x2e5f1e=_0x1acd05;_0x6a9e0a(this[_0x2e5f1e(0x2ce)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x491017(_0x518949),Oe(0x1,_0x22a42b),Oe(0x2,_0x5f021e(_0x4f83c1)),Oe(0x3,_0x1e1632)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x4e8ece,_0x53549a,_0x377e2b,_0x3df3c2)=>{for(var _0x158632=_0x3df3c2>0x1?void 0x0:_0x3df3c2?gn(_0x53549a,_0x377e2b):_0x53549a,_0x366481=_0x4e8ece['length']-0x1,_0x118e22;_0x366481>=0x0;_0x366481--)(_0x118e22=_0x4e8ece[_0x366481])&&(_0x158632=_0x118e22(_0x158632)||_0x158632);return _0x158632;},K=(_0x4bd959,_0x37d02f)=>(_0x470aae,_0x362011)=>_0x37d02f(_0x470aae,_0x362011,_0x4bd959);let st=class extends _0x54c42f{constructor(_0x5aac6a,_0x22fc45,_0x11dd7b,_0x55b6c1,_0x34dab4){super(_0x5aac6a,_0x22fc45,_0x11dd7b,_0x55b6c1,_0x34dab4);}async[_0x1acd05(0x31e)](_0x37096e){const _0x3891bc=_0x1acd05,_0x1f6947=await this[_0x3891bc(0x343)](),_0x45f6fb=this[_0x3891bc(0x36f)](_0x37096e,_0x1f6947);return this['_doCreateSocket'](_0x45f6fb);}[_0x1acd05(0x36f)](_0x2d0d7b,_0x43e4dc){const _0x4efdda=_0x1acd05,_0x2964a6=typeof window>'u'?new URL(_0x2d0d7b):new URL(_0x2d0d7b,window['location'][_0x4efdda(0x3bb)]);_0x2964a6[_0x4efdda(0x39f)]['set'](_0x4efdda(0x2b3),_0x43e4dc);const _0x61db6b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4efdda(0x280)][_0x4efdda(0x2ca)]);return _0x61db6b['get'](_0x4efdda(0x243))&&_0x2964a6[_0x4efdda(0x39f)]['set']('runId',_0x61db6b[_0x4efdda(0x307)]('runId')),_0x2964a6[_0x4efdda(0x25d)]();}async[_0x1acd05(0x343)](){const _0x4912b1=_0x1acd05;var _0x51d567,_0x49851e,_0x2f2952;const _0x375032=this['_configService'][_0x4912b1(0x2c5)](_0x122295),_0x29b2de=(_0x51d567=_0x375032==null?void 0x0:_0x375032[_0x4912b1(0x246)])!=null?_0x51d567:_0x32d98e;return(_0x2f2952=(_0x49851e=(await this['_httpService'][_0x4912b1(0x307)](_0x29b2de,{'headers':{'Content-Type':_0x4912b1(0x2e1)}}))[_0x4912b1(0x2d8)])==null?void 0x0:_0x49851e[_0x4912b1(0x35b)])!=null?_0x2f2952:'';}};st=vn([K(0x0,_0x5f021e(_0x4f83c1)),K(0x1,_0x5f021e(_0x4283b1)),K(0x2,_0x1e1632),K(0x3,_0x3ede55),K(0x4,_0x148f97)],st);const it=0x7530,nt=_0x1acd05(0x3af);class Fn extends _0x1e46f3{constructor(){const _0x500e59=_0x1acd05;super(),_(this,_0x500e59(0x1f4),_0x211b4d()),_(this,'_selfUnitIDs',new Set()),_(this,_0x500e59(0x3d6),new Map()),_(this,_0x500e59(0x31b),null),_(this,_0x500e59(0x294),new Map()),_(this,_0x500e59(0x226),new Map()),this[_0x500e59(0x35d)]();}[_0x1acd05(0x1ce)](){const _0x3316e3=_0x1acd05;super['dispose'](),this[_0x3316e3(0x294)][_0x3316e3(0x34c)]((_0x24e9fc,_0x10c5bf)=>this['_removeClearOtherTimer'](_0x10c5bf)),this[_0x3316e3(0x31b)]&&window[_0x3316e3(0x24e)](this[_0x3316e3(0x31b)]);}[_0x1acd05(0x378)](_0x4dfe92){const _0xec3df3=_0x1acd05;return this[_0xec3df3(0x308)](_0x4dfe92)[_0xec3df3(0x1cd)](_0x412588());}[_0x1acd05(0x26c)](_0x142ea4){const _0x14a767=_0x1acd05;this[_0x14a767(0x353)][_0x14a767(0x322)]===0x0&&this[_0x14a767(0x377)](),this['_selfUnitIDs'][_0x14a767(0x24b)](_0x142ea4),this[_0x14a767(0x34d)]({'type':0x0,'memberID':this[_0x14a767(0x1f4)],'unitIDs':[_0x142ea4],'isForwarded':!0x1});}[_0x1acd05(0x3ca)](_0x327c5d){const _0x44ca5d=_0x1acd05;this[_0x44ca5d(0x353)][_0x44ca5d(0x238)](_0x327c5d),this[_0x44ca5d(0x353)][_0x44ca5d(0x322)]===0x0&&this[_0x44ca5d(0x31b)]&&window[_0x44ca5d(0x24e)](this['_heartbeatTimer']);}['_init'](){const _0x7abfe6=_0x1acd05;this[_0x7abfe6(0x388)](_0x527068(_0x519b9a(window,_0x7abfe6(0x36a))[_0x7abfe6(0x385)](_0x3e7df0=>{const _0x285a2a=_0x7abfe6;if(_0x3e7df0[_0x285a2a(0x272)]!==nt||!_0x3e7df0['newValue'])return;const _0x141add=JSON['parse'](_0x3e7df0[_0x285a2a(0x352)]);this[_0x285a2a(0x33b)](_0x141add);}))),window[_0x7abfe6(0x3b0)](_0x7abfe6(0x35f),()=>this[_0x7abfe6(0x34d)]({'type':0x1,'memberID':this[_0x7abfe6(0x1f4)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x1acd05(0x33b)](_0x5421cf){const _0x44c949=_0x1acd05;switch(_0x5421cf[_0x44c949(0x3ae)]){case 0x0:this['_handleJoinEvent'](_0x5421cf);break;case 0x1:this[_0x44c949(0x3ab)](_0x5421cf);break;case 0x2:this['_handleHeartbeatEvent'](_0x5421cf);break;}}[_0x1acd05(0x38a)](_0x281774){const _0x443963=_0x1acd05,{unitIDs:_0x55896b,memberID:_0x443ff0,isForwarded:_0x4aa35d}=_0x281774;_0x55896b[_0x443963(0x34c)](_0x26d4fb=>{const _0x58f7f8=_0x443963;if(!_0x4aa35d&&this[_0x58f7f8(0x3d6)][_0x58f7f8(0x334)](_0x26d4fb)&&this['_ensureSubject'](_0x26d4fb)[_0x58f7f8(0x202)](_0xf3aa6c[_0x58f7f8(0x376)]),!this[_0x58f7f8(0x3d6)][_0x58f7f8(0x334)](_0x26d4fb)||!this['_unitOnClients']['get'](_0x26d4fb)[_0x58f7f8(0x334)](_0x443ff0)){const _0x1efaa2=this[_0x58f7f8(0x3d6)][_0x58f7f8(0x307)](_0x26d4fb)||new Set();_0x1efaa2[_0x58f7f8(0x24b)](_0x443ff0),this[_0x58f7f8(0x3d6)][_0x58f7f8(0x38e)](_0x26d4fb,_0x1efaa2),this[_0x58f7f8(0x32b)](_0x443ff0);}}),_0x4aa35d||this[_0x443963(0x34d)]({'type':0x0,'memberID':this[_0x443963(0x1f4)],'unitIDs':[...this[_0x443963(0x353)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5af3df){const _0x149975=_0x1acd05;this[_0x149975(0x208)](_0x5af3df);const _0x5cb666=window[_0x149975(0x268)](()=>{const _0x866899=_0x149975;this[_0x866899(0x3d6)]['forEach'](_0x30efdc=>{_0x30efdc['delete'](_0x5af3df);});},it*0x2);this['_clearOtherTimers'][_0x149975(0x38e)](_0x5af3df,_0x5cb666);}['_removeClearOtherTimer'](_0x31355a){const _0x5749b1=_0x1acd05;if(this[_0x5749b1(0x294)][_0x5749b1(0x334)](_0x31355a)){const _0x508240=this[_0x5749b1(0x294)]['get'](_0x31355a);_0x508240&&window[_0x5749b1(0x387)](_0x508240),this[_0x5749b1(0x294)][_0x5749b1(0x38e)](_0x31355a,null);}}[_0x1acd05(0x3ab)](_0x52bc5d){const _0x4345e6=_0x1acd05,{memberID:_0x11cd47,unitIDs:_0x3219ce}=_0x52bc5d;_0x3219ce[_0x4345e6(0x34c)](_0xd70b5a=>{const _0x5c68d7=_0x4345e6;var _0x5edbe0;const _0x281499=this['_unitOnClients'][_0x5c68d7(0x307)](_0xd70b5a);_0x281499&&(_0x281499[_0x5c68d7(0x238)](_0x11cd47),(_0x5edbe0=this[_0x5c68d7(0x308)](_0xd70b5a))==null||_0x5edbe0['next'](_0x281499[_0x5c68d7(0x322)]===0x0?_0xf3aa6c['NO_OTHER_CLIENTS_EDITING']:_0xf3aa6c[_0x5c68d7(0x376)]));}),this['_removeClearOtherTimer'](_0x11cd47);}[_0x1acd05(0x26d)](_0x2e617e){const _0x4c6cd0=_0x1acd05;this[_0x4c6cd0(0x32b)](_0x2e617e[_0x4c6cd0(0x28a)]);}['_send'](_0x11541e){const _0x2f263d=_0x1acd05;localStorage[_0x2f263d(0x2f9)](nt,JSON[_0x2f263d(0x2bb)](_0x11541e));}[_0x1acd05(0x377)](){const _0x52e2ef=_0x1acd05;this[_0x52e2ef(0x31b)]=window[_0x52e2ef(0x357)](()=>{const _0x2eac4d=_0x52e2ef;this[_0x2eac4d(0x34d)]({'type':0x2,'memberID':this[_0x2eac4d(0x1f4)]});},it);}['_ensureSubject'](_0x3c889b){const _0x37bd08=_0x1acd05;return this[_0x37bd08(0x226)][_0x37bd08(0x334)](_0x3c889b)||this[_0x37bd08(0x226)][_0x37bd08(0x38e)](_0x3c889b,new _0x5bb037(_0xf3aa6c[_0x37bd08(0x232)])),this[_0x37bd08(0x226)][_0x37bd08(0x307)](_0x3c889b);}}var Mt=(_0x3d3cee=>(_0x3d3cee[_0x3d3cee[_0x1acd05(0x22e)]=0x0]=_0x1acd05(0x22e),_0x3d3cee[_0x3d3cee['OK']=0x1]='OK',_0x3d3cee[_0x3d3cee[_0x1acd05(0x2eb)]=0x2]=_0x1acd05(0x2eb),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1f9)]=0x3]=_0x1acd05(0x1f9),_0x3d3cee[_0x3d3cee[_0x1acd05(0x29b)]=0x4]=_0x1acd05(0x29b),_0x3d3cee[_0x3d3cee[_0x1acd05(0x369)]=0x5]=_0x1acd05(0x369),_0x3d3cee[_0x3d3cee['ALREADY_EXISTS']=0x6]=_0x1acd05(0x265),_0x3d3cee[_0x3d3cee['INVALID_ARGUMENT']=0x7]=_0x1acd05(0x283),_0x3d3cee[_0x3d3cee[_0x1acd05(0x370)]=0x8]=_0x1acd05(0x370),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3c4)]=0x9]=_0x1acd05(0x3c4),_0x3d3cee[_0x3d3cee[_0x1acd05(0x349)]=0xa]=_0x1acd05(0x349),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2f4)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3d3cee[_0x3d3cee[_0x1acd05(0x30c)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d3cee[_0x3d3cee['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1acd05(0x348),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2fa)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x38f)]=0x1389]=_0x1acd05(0x38f),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3d3cee[_0x3d3cee['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1acd05(0x311),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3cf)]=0x1773]=_0x1acd05(0x3cf),_0x3d3cee[_0x3d3cee[_0x1acd05(0x219)]=0x1b59]='APPLY_REJECT',_0x3d3cee[_0x3d3cee[_0x1acd05(0x27d)]=0x1b5a]=_0x1acd05(0x27d),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1fc)]=0x1b5b]=_0x1acd05(0x1fc),_0x3d3cee[_0x3d3cee[_0x1acd05(0x250)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x33a)]=0x1b5d]=_0x1acd05(0x33a),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2cb)]=0x1f41]=_0x1acd05(0x2cb),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d4)]=0x2329]=_0x1acd05(0x3d4),_0x3d3cee[_0x3d3cee[_0x1acd05(0x395)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x1d2)]=0x232b]=_0x1acd05(0x1d2),_0x3d3cee[_0x3d3cee[_0x1acd05(0x259)]=0x232c]=_0x1acd05(0x259),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2f2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3d3cee[_0x3d3cee['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1acd05(0x2c6),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2e7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3d3cee[_0x3d3cee[_0x1acd05(0x382)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3d3cee[_0x3d3cee['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x295)]=0x271a]=_0x1acd05(0x295),_0x3d3cee[_0x3d3cee[_0x1acd05(0x254)]=0x271b]=_0x1acd05(0x254),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3bd)]=0x271c]=_0x1acd05(0x3bd),_0x3d3cee[_0x3d3cee[_0x1acd05(0x216)]=0x271d]=_0x1acd05(0x216),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1d1)]=0x271e]=_0x1acd05(0x1d1),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d1)]=0x271f]=_0x1acd05(0x3d1),_0x3d3cee[_0x3d3cee['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1acd05(0x3c8),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3c9)]=0x2af9]=_0x1acd05(0x3c9),_0x3d3cee[_0x3d3cee['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1acd05(0x1e0),_0x3d3cee[_0x3d3cee[_0x1acd05(0x321)]=0x2ee2]='INVALID_INVITE_CODE',_0x3d3cee[_0x3d3cee[_0x1acd05(0x2a7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3d3cee[_0x3d3cee['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1acd05(0x331),_0x3d3cee[_0x3d3cee['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x290)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x22f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x3cd)]=0x32cb]=_0x1acd05(0x3cd),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1de)]=-0x1]=_0x1acd05(0x1de),_0x3d3cee))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x2c2e92,_0x41fb43,_0x86b3c4,_0x245de3)=>{const _0x57b656=_0x1acd05;for(var _0x54b2c1=_0x245de3>0x1?void 0x0:_0x245de3?pn(_0x41fb43,_0x86b3c4):_0x41fb43,_0x4bc39a=_0x2c2e92[_0x57b656(0x263)]-0x1,_0x4852b4;_0x4bc39a>=0x0;_0x4bc39a--)(_0x4852b4=_0x2c2e92[_0x4bc39a])&&(_0x54b2c1=_0x4852b4(_0x54b2c1)||_0x54b2c1);return _0x54b2c1;},be=(_0x2a3802,_0xd315be)=>(_0xdc0c57,_0x4c4adb)=>_0xd315be(_0xdc0c57,_0x4c4adb,_0x2a3802);let rt=class extends _0x1e46f3{constructor(_0x15c4e0,_0x24ce6b,_0x650649){const _0x323812=_0x1acd05;super(),this[_0x323812(0x2f8)]=_0x15c4e0,this[_0x323812(0x3c5)]=_0x24ce6b,this[_0x323812(0x324)]=_0x650649;}async['runOnServer'](_0x5a890f,_0x5087f9,_0x587ba7,..._0x18dabb){const _0x772733=_0x1acd05;var _0x290935,_0x5b5d35,_0x53beec,_0x4cf9c1;const _0x56ba77=this[_0x772733(0x2f8)][_0x772733(0x23c)]();if(!_0x56ba77)throw new Error(_0x772733(0x394));const _0x1d9edf=((_0x290935=this[_0x772733(0x324)][_0x772733(0x2c5)](_0x2398af))!=null?_0x290935:_0x3f0e80)+'/'+_0x5a890f+_0x772733(0x37d)+_0x5087f9,_0x4d1cd7=new URL(window[_0x772733(0x280)][_0x772733(0x389)]),_0x32dfd8={'scriptId':_0x5a890f,'runId':(_0x5b5d35=_0x4d1cd7[_0x772733(0x39f)][_0x772733(0x307)]('runId'))!=null?_0x5b5d35:'','function':_0x5087f9,'unitId':_0x56ba77[_0x772733(0x1fd)](),'argsOfFunction':JSON[_0x772733(0x2bb)](_0x18dabb),'invokeId':(_0x53beec=_0x587ba7[_0x772733(0x253)])!=null?_0x53beec:'','executionId':(_0x4cf9c1=_0x587ba7['executionId'])!=null?_0x4cf9c1:''};try{const _0xa005b3=await this[_0x772733(0x3c5)][_0x772733(0x241)](_0x1d9edf,{'body':_0x32dfd8});return _0xa005b3[_0x772733(0x2d8)][_0x772733(0x32a)]&&_0xa005b3[_0x772733(0x2d8)][_0x772733(0x32a)]['code']!==Mt['OK']?_0x772733(0x260):_0xa005b3['body'][_0x772733(0x234)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x48e36a),be(0x1,_0x5f021e(_0x4283b1)),be(0x2,_0x1e1632)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x550c11=_0x7f5a;function _0x7f5a(_0x7f2c3e,_0x45778e){const _0x3592a2=_0x3592();return _0x7f5a=function(_0x7f5a48,_0x41e196){_0x7f5a48=_0x7f5a48-0x1e5;let _0x3b2145=_0x3592a2[_0x7f5a48];return _0x3b2145;},_0x7f5a(_0x7f2c3e,_0x45778e);}(function(_0x4e0a85,_0x3686fc){const _0x37f34b=_0x7f5a,_0x38970d=_0x4e0a85();while(!![]){try{const _0xc5bf9d=-parseInt(_0x37f34b(0x1fc))/0x1*(parseInt(_0x37f34b(0x1fe))/0x2)+parseInt(_0x37f34b(0x1f8))/0x3*(-parseInt(_0x37f34b(0x1f9))/0x4)+parseInt(_0x37f34b(0x1f6))/0x5*(-parseInt(_0x37f34b(0x1e5))/0x6)+-parseInt(_0x37f34b(0x1f4))/0x7+-parseInt(_0x37f34b(0x1f1))/0x8*(-parseInt(_0x37f34b(0x1ea))/0x9)+parseInt(_0x37f34b(0x1e8))/0xa+parseInt(_0x37f34b(0x1fb))/0xb;if(_0xc5bf9d===_0x3686fc)break;else _0x38970d['push'](_0x38970d['shift']());}catch(_0x4dca65){_0x38970d['push'](_0x38970d['shift']());}}}(_0x3592,0xa6133));function _0x3592(){const _0x4537d5=['6522EMQPek','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.','4538660hvApim','Collaboration\x20Conflict','72wVHeTg','Syncing\x20server\x20data...','Synced','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','122848NJQXgc','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.','Authentication\x20Error','3865316ESdPsB','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','675iRgWGi','Click\x20to\x20Reconnect','27234lRrVin','404MoVNYN','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','26852705TMfjnX','48121ThuUri','Syncing...','30bzufCb'];_0x3592=function(){return _0x4537d5;};return _0x3592();}const e={'collab-client':{'tooltip':{'reconnect':_0x550c11(0x1f7)}},'collabStatus':{'fetchMiss':_0x550c11(0x1eb),'conflict':_0x550c11(0x1ed),'notCollab':_0x550c11(0x1f0),'synced':_0x550c11(0x1ec),'syncing':_0x550c11(0x1fd),'offline':_0x550c11(0x1ee)},'session':{'connection-failed':_0x550c11(0x1e7),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x550c11(0x1f5)},'conflict':{'title':_0x550c11(0x1e9),'content':_0x550c11(0x1f2)},'permission':{'title':_0x550c11(0x1f3),'content':_0x550c11(0x1ef)},'collaboration':{'single-unit':{'warning':_0x550c11(0x1e6)},'closeRoom':_0x550c11(0x1fa)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4a5c(){const _0x316cee=['همگام\x20سازی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','116Chncmf','خطای\x20اعتبارسنجی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','96213iAXCvb','در\x20حال\x20همگام\x20سازی...','48vHsjgw','20484FjksQn','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1780nMMOON','1785761LVmJRP','7832088YlUrRW','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','3280604wZRYqq','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','161574hhgdCo','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','6366670kqqAyB','تداخل\x20همکاری'];_0x4a5c=function(){return _0x316cee;};return _0x4a5c();}function _0x2c4c(_0x8d035a,_0x4d0d93){const _0x4a5ca0=_0x4a5c();return _0x2c4c=function(_0x2c4c04,_0x1ccd3e){_0x2c4c04=_0x2c4c04-0x16f;let _0x399625=_0x4a5ca0[_0x2c4c04];return _0x399625;},_0x2c4c(_0x8d035a,_0x4d0d93);}const _0x5d2492=_0x2c4c;(function(_0x1d4bbf,_0x2b1104){const _0x11870b=_0x2c4c,_0x81560b=_0x1d4bbf();while(!![]){try{const _0x274ba1=-parseInt(_0x11870b(0x178))/0x1+parseInt(_0x11870b(0x17b))/0x2+-parseInt(_0x11870b(0x187))/0x3*(parseInt(_0x11870b(0x183))/0x4)+parseInt(_0x11870b(0x17f))/0x5+-parseInt(_0x11870b(0x170))/0x6*(-parseInt(_0x11870b(0x17d))/0x7)+parseInt(_0x11870b(0x179))/0x8+parseInt(_0x11870b(0x171))/0x9*(-parseInt(_0x11870b(0x177))/0xa);if(_0x274ba1===_0x2b1104)break;else _0x81560b['push'](_0x81560b['shift']());}catch(_0x3e38be){_0x81560b['push'](_0x81560b['shift']());}}}(_0x4a5c,0xe97c3));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x5d2492(0x186),'conflict':'تداخل\x20ویرایش','notCollab':_0x5d2492(0x173),'synced':_0x5d2492(0x181),'syncing':_0x5d2492(0x16f),'offline':_0x5d2492(0x175)},'session':{'connection-failed':_0x5d2492(0x17c),'will-retry':_0x5d2492(0x17e),'room-full':_0x5d2492(0x176),'collaboration-timeout':_0x5d2492(0x17a)},'conflict':{'title':_0x5d2492(0x180),'content':_0x5d2492(0x185)},'permission':{'title':_0x5d2492(0x184),'content':_0x5d2492(0x174)},'collaboration':{'single-unit':{'warning':_0x5d2492(0x172)},'closeRoom':_0x5d2492(0x182)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|