@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-63779a3 → 0.6.10-experimental.20250428-8c74c87

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5e9d2a=_0x232c;(function(_0x7820aa,_0x56c825){const _0x197465=_0x232c,_0x5657ca=_0x7820aa();while(!![]){try{const _0x3ca199=-parseInt(_0x197465(0x251))/0x1+-parseInt(_0x197465(0x18b))/0x2*(parseInt(_0x197465(0x276))/0x3)+-parseInt(_0x197465(0xda))/0x4*(parseInt(_0x197465(0x24a))/0x5)+parseInt(_0x197465(0xac))/0x6+-parseInt(_0x197465(0x123))/0x7*(-parseInt(_0x197465(0x18d))/0x8)+parseInt(_0x197465(0x1dd))/0x9*(-parseInt(_0x197465(0x92))/0xa)+parseInt(_0x197465(0x259))/0xb;if(_0x3ca199===_0x56c825)break;else _0x5657ca['push'](_0x5657ca['shift']());}catch(_0x1e5806){_0x5657ca['push'](_0x5657ca['shift']());}}}(_0x25ef,0x5e554));var $t=Object[_0x5e9d2a(0x1af)],xt=(_0x2227e2,_0x7ab2e7,_0x5a2f87)=>_0x7ab2e7 in _0x2227e2?$t(_0x2227e2,_0x7ab2e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a2f87}):_0x2227e2[_0x7ab2e7]=_0x5a2f87,_=(_0x960688,_0x18988c,_0x54a48e)=>xt(_0x960688,typeof _0x18988c!='symbol'?_0x18988c+'':_0x18988c,_0x54a48e);import{MemberService as _0x3d743a,SessionStatus as _0xbe6e8d,CollaborationSessionService as _0x1f628c,CollaborationStatus as _0x2bb882,CollaborationController as _0x5818ba,ILocalCacheService as _0x48bf36,CollaborationUIEventService as _0x40dfbd,CollaborationUIEventId as _0x5ad7be,DataLoaderService as _0x126004,DocCollaborationEntity as _0xa8c8e4,getLocalCacheKey as _0x3573d9,LOCAL_CACHE_INTERVAL as _0x42b703,LOCAL_CACHE_INTERVAL_KEY as _0x2a7a01,UniverCollaborationClientPlugin as _0x1a896e,CollaborationSocketService as _0x5308bc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3593b6,DEFAULT_WS_SESSION_TICKET_URL as _0x28ee03,UnitStatus as _0x4b9ec2,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x507d96,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5661ee}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x21dcc4,Disposable as _0x5348ab,DOC_RANGE_TYPE as _0x125039,Inject as _0x2afc3f,Injector as _0x1ccbb8,IUniverInstanceService as _0x31afa3,ICommandService as _0x334d0c,debounce as _0x824db9,Rectangle as _0x1a7cee,DisposableCollection as _0x5658a2,toDisposable as _0x2f98b2,UniverInstanceType as _0xe74d3,Tools as _0x1cd6f0,COLORS as _0x246b1b,ColorKit as _0x1b1612,ThemeService as _0xfa9357,fromEventSubject as _0x38897a,LocaleService as _0x17d115,createIdentifier as _0x104114,ILogService as _0x1936a9,Optional as _0x7fd890,Workbook as _0x2e092b,CommandType as _0xffdb93,IConfigService as _0x335bdb,ILocalStorageService as _0x53feb7,DependentOn as _0x5a6ae2,Plugin as _0x4977e4,merge as _0x343961,registerDependencies as _0x3c0aa9,mergeOverrideWithDependencies as _0x4c7ef2,touchDependencies as _0x56af15,generateRandomId as _0x3a1a85}from'@univerjs/core';import{Shape as _0x501a18,Rect as _0x4b74cd,getColor as _0x1b013d,RegularPolygon as _0x1b5dc2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5081f1,Vector2 as _0x115866,SHEET_VIEWPORT_KEY as _0x71d1a5,IRenderManagerService as _0x49603f}from'@univerjs/engine-render';import{ISocketService as _0x52d687,WebSocketService as _0x3f16fb,HTTPService as _0x5b1d0d}from'@univerjs/network';import{IDocClipboardService as _0x2843cb,NodePositionConvertToCursor as _0x18cbcc,NodePositionConvertToRectRange as _0x50be1a,TEXT_RANGE_LAYER_INDEX as _0x52c651,SetDocZoomRatioOperation as _0x1995a1,DocIMEInputManagerService as _0x44fef9,DocStateChangeManagerService as _0x4ac406}from'@univerjs/docs-ui';import{IImageIoService as _0x3ea083}from'@univerjs/drawing';import{BehaviorSubject as _0x1084b7,debounceTime as _0xf05629,takeUntil as _0x41fc4e,Subject as _0x1d0774,filter as _0x50a92c,switchMap as _0x11c9ec,merge as _0x205f36,combineLatest as _0x43605d,of as _0x261b16,fromEvent as _0x55984f,shareReplay as _0x2bcb9c,mapTo as _0x2169f6,distinctUntilChanged as _0x2b3d97}from'rxjs';import{SetTextSelectionsOperation as _0x101751,RichTextEditingMutation as _0x534dfe,DocSelectionManagerService as _0x647975,DocSkeletonManagerService as _0x58a93a}from'@univerjs/docs';import{ITransformService as _0x282b64,CollaborationEvent as _0x1f842a,isTransformMutationFailure as _0x1caf96,isTransformMutationsWithChangesetSuccess as _0x1ee331,RevisionService as _0xbe9a23,ISnapshotServerService as _0x2903a1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x22e502,serializeRangeWithSheet as _0x4d5673}from'@univerjs/engine-formula';import{RefRangeService as _0x3f7a07,SetSelectionsOperation as _0x15a133,SheetsSelectionsService as _0x5e315a,EffectRefRangId as _0x5807c2,handleIRemoveRow as _0x5974c2,handleIRemoveCol as _0x23b66d,handleMoveRange as _0x283ed5,handleInsertRow as _0x105796,handleInsertRangeMoveRight as _0x5c9ceb,handleInsertRangeMoveDown as _0xa1b84c,handleInsertCol as _0x4560d1,handleDeleteRangeMoveUp as _0xb7bb0e,handleDeleteRangeMoveLeft as _0x1f688d,runRefRangeMutations as _0x43f1b3,SetWorksheetActivateCommand as _0x9b3c39}from'@univerjs/sheets';import{map as _0x317f64,filter as _0x3bce79,throttleTime as _0x4093be,takeUntil as _0x2c9e00,switchMap as _0x2d4d5e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x20dec5,getCoordByCell as _0x26e36d,getSheetObject as _0x569a41}from'@univerjs/sheets-ui';import{jsx as _0x1d9f11,jsxs as _0x12afa9}from'react/jsx-runtime';import{useObservable as _0x18d5ef,useDependency as _0x308a04,IUIPartsService as _0x1bc0ee,BuiltInUIPart as _0x5189d0,connectInjector as _0x11159d,IBeforeCloseService as _0x2717ba,IMessageService as _0x5ea77a,INotificationService as _0x291042}from'@univerjs/ui';import{Tooltip as _0x2518f7,clsx as _0x1168ce,MessageType as _0x50c4f8}from'@univerjs/design';import{forwardRef as _0x239842,useRef as _0x108310,createElement as _0x276974,useCallback as _0x5ccf53}from'react';import{IRemoteInstanceService as _0x2d26ad}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0xc1c3de,_0x44acd6,_0x28d488,_0x40b6c8)=>{const _0x4a0114=_0x5e9d2a;for(var _0x3c3a3f=_0x40b6c8>0x1?void 0x0:_0x40b6c8?ci(_0x44acd6,_0x28d488):_0x44acd6,_0x332e61=_0xc1c3de[_0x4a0114(0x26f)]-0x1,_0x3e2e46;_0x332e61>=0x0;_0x332e61--)(_0x3e2e46=_0xc1c3de[_0x332e61])&&(_0x3c3a3f=_0x3e2e46(_0x3c3a3f)||_0x3c3a3f);return _0x3c3a3f;},Je=(_0xa58b0e,_0x2ae9f7)=>(_0x560c7c,_0x9328db)=>_0x2ae9f7(_0x560c7c,_0x9328db,_0xa58b0e);let Ne=class extends _0x21dcc4{constructor(_0x1dd46d,_0xacf0a9){const _0x4187b9=_0x5e9d2a;super(),this[_0x4187b9(0x186)]=_0x1dd46d,this['_imageIoService']=_0xacf0a9,this[_0x4187b9(0x136)]();}[_0x5e9d2a(0x136)](){const _0x16ca9f=_0x5e9d2a,_0x51bbdb=this;this[_0x16ca9f(0xf6)](this[_0x16ca9f(0x186)][_0x16ca9f(0x178)]({'onBeforePasteImage':async _0x3355aa=>{const _0x589f5f=_0x16ca9f,_0x35cfb6=await _0x51bbdb[_0x589f5f(0x13a)][_0x589f5f(0x15b)](_0x3355aa);return _0x35cfb6?{'source':_0x35cfb6[_0x589f5f(0x129)],'imageSourceType':_0x35cfb6[_0x589f5f(0xe7)]}:null;}}));}};Ne=li([Je(0x0,_0x2843cb),Je(0x1,_0x3ea083)],Ne);const Ze=['purple300',_0x5e9d2a(0x173),'verdancy600',_0x5e9d2a(0x22a),_0x5e9d2a(0xc3),_0x5e9d2a(0x114)];class ke extends _0x5348ab{constructor(){const _0x5cf3c7=_0x5e9d2a;super(...arguments),_(this,_0x5cf3c7(0xfa),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x55c69d){const _0x4a548e=_0x5e9d2a;if(this['_assignedColors']['has'](_0x55c69d))return this[_0x4a548e(0xfa)][_0x4a548e(0x88)](_0x55c69d);const _0x1be31d=Ze[this[_0x4a548e(0x204)]];return this[_0x4a548e(0x204)]=(this[_0x4a548e(0x204)]+0x1)%Ze['length'],this[_0x4a548e(0xfa)][_0x4a548e(0x138)](_0x55c69d,_0x1be31d),_0x1be31d;}}function Tt(_0x1d6f05){const _0x333866=_0x5e9d2a;let _0xfb4464='';for(const _0x5908a7 of _0x1d6f05){const {startOffset:_0x4db088,endOffset:_0x4d0413,isActive:_0x345bc7,rangeType:_0x5132cd,segmentId:_0x7a2fd9,segmentPage:_0xf0337c}=_0x5908a7;_0xfb4464[_0x333866(0x26f)]&&(_0xfb4464+=','),_0xfb4464+=_0x4db088+':'+_0x4d0413+':'+(_0x345bc7?'1':'0')+':'+_0x5132cd+':'+_0x7a2fd9+':'+_0xf0337c;}return _0xfb4464;}function _i(_0x361003){const _0x27589c=_0x5e9d2a,_0x56c6d3=_0x361003['split'](','),_0x1aa073=[];for(const _0x907179 of _0x56c6d3){const [_0x27e91e,_0x36ceb6,_0x5d7579,_0x596e49,_0x188bd1,_0x4a3f2c]=_0x907179[_0x27589c(0x162)](':');_0x1aa073[_0x27589c(0xb9)]({'startOffset':Number(_0x27e91e),'endOffset':Number(_0x36ceb6),'collapsed':_0x27e91e===_0x36ceb6,'isActive':_0x5d7579==='1','rangeType':_0x596e49===_0x125039[_0x27589c(0x22c)]?_0x125039[_0x27589c(0x22c)]:_0x125039['RECT'],'segmentId':typeof _0x188bd1==_0x27589c(0x1a3)?String(_0x188bd1):'','segmentPage':Number(_0x4a3f2c!=null?_0x4a3f2c:-0x1)});}return _0x1aa073['some'](_0x30b0f2=>_0x30b0f2[_0x27589c(0x1f6)])||(_0x1aa073[0x0][_0x27589c(0x1f6)]=!0x0),_0x1aa073;}class He extends _0x21dcc4{constructor(){const _0x5ae72b=_0x5e9d2a;super(...arguments),_(this,_0x5ae72b(0x1c5),new _0x1084b7(null)),_(this,_0x5ae72b(0x151),this[_0x5ae72b(0x1c5)]['asObservable']());}[_0x5e9d2a(0x11e)](_0x3f2ce9){const _0x33fd8f=_0x5e9d2a,{unitID:_0x2c4186,memberID:_0x21ccb9,textRanges:_0x279410}=_0x3f2ce9,_0x52c9b9=Tt(_0x279410);if(_0x52c9b9==='')return;const _0x331b3b={'unitID':_0x2c4186,'memberID':_0x21ccb9,'selection':_0x52c9b9};this[_0x33fd8f(0x1c5)][_0x33fd8f(0x1d3)](_0x331b3b);}}var hi=Object[_0x5e9d2a(0x101)],ui=(_0x241d1b,_0x65c86a,_0x60a1b2,_0x2adbd7)=>{const _0x9624a8=_0x5e9d2a;for(var _0x20d4dd=_0x2adbd7>0x1?void 0x0:_0x2adbd7?hi(_0x65c86a,_0x60a1b2):_0x65c86a,_0x481e82=_0x241d1b[_0x9624a8(0x26f)]-0x1,_0x1e8262;_0x481e82>=0x0;_0x481e82--)(_0x1e8262=_0x241d1b[_0x481e82])&&(_0x20d4dd=_0x1e8262(_0x20d4dd)||_0x20d4dd);return _0x20d4dd;},w=(_0x9bd3f9,_0x1cda83)=>(_0x571ba3,_0x5c37bf)=>_0x1cda83(_0x571ba3,_0x5c37bf,_0x9bd3f9);const di=0x12c,fi=0x64;let Ue=class extends _0x21dcc4{constructor(_0x2c454f,_0x3a8a95,_0x2106f7,_0x34bfae,_0x5a84ed,_0x5847fe,_0x544921,_0x325041,_0x29526d){const _0x52c5ba=_0x5e9d2a;super(),_(this,_0x52c5ba(0x269),!0x1),_(this,_0x52c5ba(0x136),!0x1),_(this,_0x52c5ba(0x9f),new _0x1084b7(new Map())),_(this,_0x52c5ba(0xaa),this[_0x52c5ba(0x9f)][_0x52c5ba(0x1bb)]()),_(this,'_roomMembers$',new _0x1084b7([])),_(this,_0x52c5ba(0x232),this[_0x52c5ba(0x240)][_0x52c5ba(0x1f7)](_0xf05629(di))),_(this,_0x52c5ba(0xf9),_0x824db9(_0x1496fc=>{const _0x4aab44=_0x52c5ba,_0x3a8248={'eventID':_0x1f842a[_0x4aab44(0x1bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x4aab44(0x1d0)][_0x4aab44(0x1c8)](),'selection':Tt(_0x1496fc)}};this[_0x4aab44(0x1d0)][_0x4aab44(0x217)](_0x3a8248,this[_0x4aab44(0x1cf)]);},fi)),(this[_0x52c5ba(0x1cf)]=_0x2c454f,this[_0x52c5ba(0x1d0)]=_0x3a8a95,this[_0x52c5ba(0x160)]=_0x2106f7,this[_0x52c5ba(0x14c)]=_0x34bfae,this[_0x52c5ba(0xcf)]=_0x5a84ed,this[_0x52c5ba(0x1f8)]=_0x5847fe,this['_transformService']=_0x544921,this[_0x52c5ba(0x235)]=_0x325041,this[_0x52c5ba(0x154)]=_0x29526d);}get[_0x5e9d2a(0x1e1)](){const _0x3cff12=_0x5e9d2a;return this['_cursorInfo$'][_0x3cff12(0x257)]();}get[_0x5e9d2a(0x1a7)](){const _0x1479ae=_0x5e9d2a;return this[_0x1479ae(0x240)]['getValue']();}[_0x5e9d2a(0x17a)](){const _0x184859=_0x5e9d2a;super['dispose'](),this[_0x184859(0x9f)][_0x184859(0x1d3)](new Map()),this[_0x184859(0x9f)][_0x184859(0xde)](),this[_0x184859(0x240)]['next']([]),this[_0x184859(0x240)][_0x184859(0xde)]();}[_0x5e9d2a(0xef)](){const _0x3f18cb=_0x5e9d2a;this['_init']||(this[_0x3f18cb(0x136)]=!0x0,this[_0x3f18cb(0x1d0)]['sessionStatus$'][_0x3f18cb(0x1f7)](_0x41fc4e(this[_0x3f18cb(0x25b)]))['subscribe'](_0x544646=>{const _0xac45a6=_0x3f18cb;_0x544646===_0xbe6e8d[_0xac45a6(0xf8)]?this[_0xac45a6(0xb5)]():this[_0xac45a6(0xed)]();}),this['_session']['event$'][_0x3f18cb(0x1f7)](_0x41fc4e(this['dispose$']))[_0x3f18cb(0x25d)](_0x245d6c=>{const _0x29bc76=_0x3f18cb,_0x230868=_0x245d6c[_0x29bc76(0x23f)];_0x230868===_0x1f842a[_0x29bc76(0x1bc)]&&this[_0x29bc76(0x134)](_0x245d6c),_0x230868===_0x1f842a['USERS_LEAVE']&&this[_0x29bc76(0xb6)](_0x245d6c);}),this['disposeWithMe'](this[_0x3f18cb(0x154)][_0x3f18cb(0xd9)](_0x947264=>{const _0x3832a6=_0x3f18cb,_0x499db8=_0x947264[_0x3832a6(0x168)];_0x499db8!=null&&this[_0x3832a6(0x269)]&&_0x947264['id']===_0x101751['id']&&_0x499db8[_0x3832a6(0x10d)]===this[_0x3832a6(0x1cf)]&&_0x499db8[_0x3832a6(0x211)]===!0x1&&_0x499db8[_0x3832a6(0x233)]['length']>0x0&&this[_0x3832a6(0xf9)](_0x499db8['ranges']);})),this[_0x3f18cb(0x1f8)]['collabCursorState$'][_0x3f18cb(0x1f7)](_0x41fc4e(this[_0x3f18cb(0x25b)]))[_0x3f18cb(0x25d)](_0x1e5987=>{const _0x912259=_0x3f18cb;if((_0x1e5987==null?void 0x0:_0x1e5987[_0x912259(0x1cf)])!==this[_0x912259(0x1cf)])return;const _0x3b156e={'eventID':_0x1f842a[_0x912259(0x1bc)],'data':_0x1e5987};this[_0x912259(0x134)](_0x3b156e);}),this['disposeWithMe'](this[_0x3f18cb(0x154)]['onCommandExecuted'](_0x217983=>{const _0x4dae91=_0x3f18cb;if(_0x217983[_0x4dae91(0x168)]==null)return;const _0x34ad91=_0x217983[_0x4dae91(0x168)];if(_0x217983['id']!==_0x534dfe['id']||_0x34ad91[_0x4dae91(0x10d)]!==this[_0x4dae91(0x1cf)])return;const _0x15c6dd={'id':_0x4dae91(0x1ea),'params':_0x34ad91},_0x282b9b=this[_0x4dae91(0x1e1)];for(const [_0x5010d6,_0x5bb88d]of _0x282b9b){const _0x49151a={'id':_0x4dae91(0x1ea),'params':{'unitId':this[_0x4dae91(0x1cf)],'actions':null,'textRanges':_0x5bb88d['ranges']}},_0x49c731=this[_0x4dae91(0x10b)]['transformMutation'](_0x15c6dd,_0x49151a,!0x1);if(_0x1caf96(_0x49c731))throw _0x49c731['error'];_0x282b9b['set'](_0x5010d6,{..._0x5bb88d,'ranges':_0x49c731[_0x4dae91(0x1bd)]['params'][_0x4dae91(0x27e)]});}queueMicrotask(()=>{const _0x130774=_0x4dae91;this[_0x130774(0x9f)]['next'](_0x282b9b);});})));}[_0x5e9d2a(0x134)](_0x46ab28){const _0x36127c=_0x5e9d2a;var _0x1a828b,_0x1b837a;const {memberID:_0x18febb,selection:_0x101276}=_0x46ab28['data'],_0x248fbf=_i(_0x101276),_0x4fd56f=(_0x1b837a=(_0x1a828b=this['_memberService'][_0x36127c(0x108)](this['unitID'],_0x18febb))==null?void 0x0:_0x1a828b[_0x36127c(0xdf)])!=null?_0x1b837a:_0x36127c(0xf3),_0x538a21={'color':this[_0x36127c(0x14c)][_0x36127c(0x1e2)](_0x18febb),'name':_0x4fd56f,'ranges':_0x248fbf},_0x579961=this['cursorInfo'];_0x579961['set'](_0x18febb,_0x538a21),this[_0x36127c(0x9f)][_0x36127c(0x1d3)](_0x579961);}[_0x5e9d2a(0xb6)](_0xf302ea){const _0xbd94f2=_0x5e9d2a,{memberID:_0x47c804}=_0xf302ea[_0xbd94f2(0x9c)],_0xa0c6a8=this[_0xbd94f2(0x1e1)];_0xa0c6a8[_0xbd94f2(0x13e)](_0x47c804),this[_0xbd94f2(0x9f)][_0xbd94f2(0x1d3)](_0xa0c6a8);}['_toggleOnline'](){const _0x4cdae5=_0x5e9d2a;var _0x25edba;if(this[_0x4cdae5(0x269)]=!0x0,((_0x25edba=this[_0x4cdae5(0x235)][_0x4cdae5(0xcb)]())==null?void 0x0:_0x25edba[_0x4cdae5(0xd6)]())!==this[_0x4cdae5(0x1cf)])return;const _0x2c1170=this[_0x4cdae5(0x160)][_0x4cdae5(0x88)](_0x647975)[_0x4cdae5(0x248)]();Array[_0x4cdae5(0x16a)](_0x2c1170)&&_0x2c1170['length']>0x0&&this[_0x4cdae5(0xf9)](_0x2c1170);}[_0x5e9d2a(0xed)](){const _0x27fc19=_0x5e9d2a;this[_0x27fc19(0x269)]=!0x1;}};Ue=ui([w(0x2,_0x2afc3f(_0x1ccbb8)),w(0x3,_0x2afc3f(ke)),w(0x4,_0x2afc3f(_0x3d743a)),w(0x5,_0x2afc3f(He)),w(0x6,_0x282b64),w(0x7,_0x31afa3),w(0x8,_0x334d0c)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x126ceb,_0x339114,_0x25d86a,_0x23b66a)=>{const _0x31dec5=_0x5e9d2a;for(var _0x124c47=_0x23b66a>0x1?void 0x0:_0x23b66a?Si(_0x339114,_0x25d86a):_0x339114,_0x34a1e4=_0x126ceb[_0x31dec5(0x26f)]-0x1,_0x4bc717;_0x34a1e4>=0x0;_0x34a1e4--)(_0x4bc717=_0x126ceb[_0x34a1e4])&&(_0x124c47=_0x4bc717(_0x124c47)||_0x124c47);return _0x124c47;},x=(_0x4f91c4,_0x140c20)=>(_0x2840bd,_0x5dbab9)=>_0x140c20(_0x2840bd,_0x5dbab9,_0x4f91c4);const gi=0x12c,vi=0x64,Ii=()=>{let _0xaf972a=[],_0x4cdc67=!0x1;return _0x2b00b3=>{const _0x4eb770=_0x232c;_0xaf972a[_0x4eb770(0xb9)](_0x2b00b3),_0x4cdc67||(_0x4cdc67=!0x0,setTimeout(()=>{const _0x17b85d=_0x4eb770;_0xaf972a[_0x17b85d(0x281)](_0x3e346e=>_0x3e346e()),_0xaf972a=[],_0x4cdc67=!0x1;}));};};let Me=class extends _0x21dcc4{constructor(_0x3e7284,_0x56b19c,_0x59766a,_0x45d186,_0xab29ba,_0x1f0e26,_0x305260,_0x496164){const _0x231d38=_0x5e9d2a;super(),_(this,_0x231d38(0x269),!0x1),_(this,_0x231d38(0x136),!0x1),_(this,'_cursorInfo$',new _0x1084b7(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x231d38(0x1bb)]()),_(this,'_roomMembers$',new _0x1084b7([])),_(this,_0x231d38(0x232),this[_0x231d38(0x240)][_0x231d38(0x1f7)](_0xf05629(gi))),_(this,_0x231d38(0xf9),_0x824db9((_0x25f3ad,_0x3eaa43)=>{const _0x267348=_0x231d38,_0x4614be={'eventID':_0x1f842a[_0x267348(0x1bc)],'data':{'unitID':this[_0x267348(0x1cf)],'memberID':this[_0x267348(0x1d0)][_0x267348(0x1c8)](),'selection':_0x4d5673(_0x25f3ad,_0x3eaa43[_0x267348(0x8f)])}};this[_0x267348(0x1d0)][_0x267348(0x217)](_0x4614be,this['unitID']);},vi)),(this[_0x231d38(0x1cf)]=_0x3e7284,this['_session']=_0x56b19c,this[_0x231d38(0x160)]=_0x59766a,this[_0x231d38(0x14c)]=_0x45d186,this[_0x231d38(0xcf)]=_0xab29ba,this[_0x231d38(0x235)]=_0x1f0e26,this[_0x231d38(0x154)]=_0x305260,this[_0x231d38(0x83)]=_0x496164);}get[_0x5e9d2a(0x1e1)](){return this['_cursorInfo$']['getValue']();}get[_0x5e9d2a(0x1a7)](){const _0x14a952=_0x5e9d2a;return this[_0x14a952(0x240)][_0x14a952(0x257)]();}[_0x5e9d2a(0x17a)](){const _0x25b39e=_0x5e9d2a;super['dispose'](),this[_0x25b39e(0x9f)][_0x25b39e(0x1d3)](new Map()),this['_cursorInfo$'][_0x25b39e(0xde)](),this['_roomMembers$'][_0x25b39e(0x1d3)]([]),this[_0x25b39e(0x240)][_0x25b39e(0xde)]();}['init'](){const _0x2a9675=_0x5e9d2a;this[_0x2a9675(0x136)]||(this['_init']=!0x0,this[_0x2a9675(0x1d0)]['sessionStatus$'][_0x2a9675(0x1f7)](_0x41fc4e(this[_0x2a9675(0x25b)]))['subscribe'](_0x3e5d91=>{const _0x4edbf8=_0x2a9675;_0x3e5d91===_0xbe6e8d[_0x4edbf8(0xf8)]?this[_0x4edbf8(0xb5)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x41fc4e(this[_0x2a9675(0x25b)]))[_0x2a9675(0x25d)](_0x56d10a=>{const _0x4a88ea=_0x2a9675,_0x26ff46=_0x56d10a[_0x4a88ea(0x23f)];_0x26ff46===_0x1f842a[_0x4a88ea(0x1bc)]&&this[_0x4a88ea(0x134)](_0x56d10a),_0x26ff46===_0x1f842a[_0x4a88ea(0x132)]&&this[_0x4a88ea(0xb6)](_0x56d10a);}),this[_0x2a9675(0x149)](),this[_0x2a9675(0xf6)](this[_0x2a9675(0x154)]['onCommandExecuted'](_0x779941=>{const _0x5afd89=_0x2a9675;if(this[_0x5afd89(0x269)]&&_0x779941['id']===_0x15a133['id']&&_0x779941['params'][_0x5afd89(0x10d)]===this[_0x5afd89(0x1cf)]){const _0x4a2a82=_0x779941[_0x5afd89(0x168)];this['_updateLocalCursor'](_0x4a2a82[_0x5afd89(0x98)],_0x4a2a82[_0x5afd89(0x156)][0x0]);}})));}['_onCursorUpdate'](_0x46f484){const _0x5540c3=_0x5e9d2a;var _0x526ce0,_0x22fd4d;const {memberID:_0x63f3f3,selection:_0x2632d3}=_0x46f484[_0x5540c3(0x9c)],{sheetName:_0x2627c,range:_0x47fc8d}=_0x22e502(_0x2632d3),_0xbc209f={'name':(_0x22fd4d=(_0x526ce0=this[_0x5540c3(0xcf)]['getMember'](this['unitID'],_0x63f3f3))==null?void 0x0:_0x526ce0[_0x5540c3(0xdf)])!=null?_0x22fd4d:'Unknown\x20user','range':this[_0x5540c3(0x261)](_0x2627c,_0x47fc8d),'sheetID':_0x2627c,'color':this[_0x5540c3(0x14c)][_0x5540c3(0x1e2)](_0x63f3f3),'selection':_0x2632d3},_0x1bb68e=this['cursorInfo'];_0x1bb68e[_0x5540c3(0x138)](_0x63f3f3,_0xbc209f),this['_cursorInfo$'][_0x5540c3(0x1d3)](_0x1bb68e);}[_0x5e9d2a(0xb6)](_0x33753e){const _0x48e6c9=_0x5e9d2a,{memberID:_0x38e1c0}=_0x33753e[_0x48e6c9(0x9c)],_0x279b80=this[_0x48e6c9(0x1e1)];_0x279b80['delete'](_0x38e1c0),this[_0x48e6c9(0x9f)][_0x48e6c9(0x1d3)](_0x279b80);}[_0x5e9d2a(0x261)](_0x3eb4a2,_0x620d0f){const _0x60e9b8=_0x5e9d2a;var _0x28f811,_0x227aa4;const _0x4a61d7=(_0x227aa4=(_0x28f811=this[_0x60e9b8(0x235)][_0x60e9b8(0x91)](this[_0x60e9b8(0x1cf)]))==null?void 0x0:_0x28f811[_0x60e9b8(0x197)](_0x3eb4a2))==null?void 0x0:_0x227aa4[_0x60e9b8(0x23d)]();return(_0x4a61d7==null?void 0x0:_0x4a61d7[_0x60e9b8(0x236)](_0x2fbc6d=>_0x1a7cee['contains'](_0x2fbc6d,_0x620d0f)))||_0x620d0f;}[_0x5e9d2a(0x149)](){const _0x26bf1c=_0x5e9d2a,_0x22bc84=new _0x5658a2(),_0x3c3e2b=Ii(),_0x27a55d=()=>{const _0x418332=_0x232c;_0x22bc84[_0x418332(0x17a)]();const _0x254482=(_0x2678a2,_0x8669ab,_0x24cd02,_0x56fea3)=>{const _0x3a4c18=_0x418332;let _0x575fd0=[];switch(_0x2678a2['id']){case _0x5807c2[_0x3a4c18(0xb4)]:{_0x575fd0=_0x1f688d(_0x2678a2,_0x56fea3);break;}case _0x5807c2['DeleteRangeMoveUpCommandId']:{_0x575fd0=_0xb7bb0e(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x1d7)]:{_0x575fd0=_0x4560d1(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x212)]:{_0x575fd0=_0xa1b84c(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0xfd)]:{_0x575fd0=_0x5c9ceb(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x11d)]:{_0x575fd0=_0x105796(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x201)]:{_0x575fd0=_0x283ed5(_0x2678a2,_0x56fea3);break;}case _0x5807c2[_0x3a4c18(0x17c)]:{_0x575fd0=_0x23b66d(_0x2678a2,_0x56fea3);break;}case _0x5807c2['RemoveRowCommandId']:{_0x575fd0=_0x5974c2(_0x2678a2,_0x56fea3);break;}}const _0x303566=_0x43f1b3(_0x575fd0,_0x56fea3),_0x4ff934=this[_0x3a4c18(0x1e1)][_0x3a4c18(0x88)](_0x8669ab);if(_0x4ff934&&_0x303566){const _0x22c582={..._0x4ff934,'range':_0x303566};this[_0x3a4c18(0x1e1)][_0x3a4c18(0x138)](_0x8669ab,_0x22c582),_0x3c3e2b(()=>{const _0x3db148=_0x3a4c18,_0x5bb863=this['_refRangeService'][_0x3db148(0x141)](_0x303566,_0x4e60ad=>(_0x5bb863['dispose'](),_0x254482(_0x4e60ad,_0x8669ab,_0x24cd02,_0x303566)));_0x22bc84[_0x3db148(0x1b8)](_0x5bb863);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x418332(0x281)]((_0x17b8c5,_0x18da9c)=>{const _0x481800=_0x418332,{range:_0x139f59,sheetID:_0x4f10eb}=_0x17b8c5,_0xc1310=this[_0x481800(0x83)]['registerRefRange'](_0x139f59,_0x3fc0ce=>(_0xc1310[_0x481800(0x17a)](),_0x254482(_0x3fc0ce,_0x18da9c,_0x4f10eb,_0x139f59)));_0x22bc84[_0x481800(0x1b8)](_0xc1310);});};this[_0x26bf1c(0xf6)](_0x2f98b2(this['_cursorInfo$']['subscribe'](()=>{_0x27a55d();})));}[_0x5e9d2a(0xb5)](){const _0xd89d86=_0x5e9d2a;var _0x2622fd,_0x4a643b;if(this[_0xd89d86(0x269)]=!0x0,((_0x2622fd=this['_univerInstanceService'][_0xd89d86(0xcb)]())==null?void 0x0:_0x2622fd['getUnitId']())!==this[_0xd89d86(0x1cf)])return;const _0x3a8554=(_0x4a643b=this[_0xd89d86(0x160)][_0xd89d86(0x88)](_0x5e315a)[_0xd89d86(0x239)]())==null?void 0x0:_0x4a643b[0x0],_0x227f7a=this[_0xd89d86(0x235)]['getCurrentUnitForType'](_0xe74d3[_0xd89d86(0x85)])[_0xd89d86(0x20f)]();_0x3a8554&&_0x227f7a&&this[_0xd89d86(0xf9)](_0x227f7a['getSheetId'](),_0x3a8554);}[_0x5e9d2a(0xed)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x2afc3f(_0x1ccbb8)),x(0x3,_0x2afc3f(ke)),x(0x4,_0x2afc3f(_0x3d743a)),x(0x5,_0x31afa3),x(0x6,_0x334d0c),x(0x7,_0x2afc3f(_0x3f7a07))],Me);var pi=Object[_0x5e9d2a(0x101)],Ci=(_0x189605,_0x233e43,_0x1c2fc8,_0x69b177)=>{const _0x28582d=_0x5e9d2a;for(var _0x1b5392=_0x69b177>0x1?void 0x0:_0x69b177?pi(_0x233e43,_0x1c2fc8):_0x233e43,_0x3d807f=_0x189605[_0x28582d(0x26f)]-0x1,_0x273a26;_0x3d807f>=0x0;_0x3d807f--)(_0x273a26=_0x189605[_0x3d807f])&&(_0x1b5392=_0x273a26(_0x1b5392)||_0x1b5392);return _0x1b5392;},Se=(_0x5c7090,_0x41cbb5)=>(_0x230116,_0xd30146)=>_0x41cbb5(_0x230116,_0xd30146,_0x5c7090);let H=class extends _0x21dcc4{constructor(_0x1a2d74,_0x3e6169,_0x598f52){const _0x3e5861=_0x5e9d2a;super(),_(this,_0x3e5861(0x17b),new Map()),_(this,'_entityInit$',new _0x1d0774()),(this[_0x3e5861(0x235)]=_0x1a2d74,this[_0x3e5861(0x160)]=_0x3e6169,this['_collabSessionService']=_0x598f52,this[_0x3e5861(0x136)]());}[_0x5e9d2a(0x17a)](){const _0x3a9b90=_0x5e9d2a;super[_0x3a9b90(0x17a)](),this[_0x3a9b90(0x24f)][_0x3a9b90(0xde)](),this['_entities']['forEach'](_0x1e9ea8=>_0x1e9ea8[_0x3a9b90(0x17a)]());}[_0x5e9d2a(0xa3)](_0x4388e3){const _0x359d86=_0x5e9d2a;return this['_entities'][_0x359d86(0x225)](_0x4388e3)?this[_0x359d86(0x17b)]['get'](_0x4388e3)['cursorInfo$']:this[_0x359d86(0x24f)][_0x359d86(0x1f7)](_0x50a92c(_0x32442c=>_0x32442c['unitID']===_0x4388e3),_0x11c9ec(_0x4f6088=>_0x4f6088[_0x359d86(0xaa)]));}[_0x5e9d2a(0x136)](){const _0xd12245=_0x5e9d2a;this[_0xd12245(0x235)]['getTypeOfUnitAdded$'](_0xe74d3['UNIVER_SHEET'])[_0xd12245(0x1f7)](_0x41fc4e(this[_0xd12245(0x25b)]))[_0xd12245(0x25d)](async _0x3cae54=>{const _0x6f7629=_0xd12245,_0xa7d122=_0x3cae54[_0x6f7629(0xd6)](),_0x295a6d=await this['_startSheetCollabCursor'](_0xa7d122);this[_0x6f7629(0x24f)]['next'](_0x295a6d),this[_0x6f7629(0x17b)][_0x6f7629(0x138)](_0xa7d122,_0x295a6d);}),this[_0xd12245(0x235)][_0xd12245(0x20a)](_0xe74d3[_0xd12245(0x26a)])[_0xd12245(0x1f7)](_0x41fc4e(this[_0xd12245(0x25b)]))[_0xd12245(0x1f7)](_0x50a92c(_0x1a41dd=>!_0x1a41dd[_0xd12245(0xd6)]()[_0xd12245(0xf2)]('__')))[_0xd12245(0x25d)](async _0x46ba77=>{const _0x1a71ac=_0xd12245,_0x2290cd=_0x46ba77[_0x1a71ac(0xd6)](),_0x4c5bfb=await this[_0x1a71ac(0xc4)](_0x2290cd);this[_0x1a71ac(0x24f)]['next'](_0x4c5bfb),this[_0x1a71ac(0x17b)]['set'](_0x2290cd,_0x4c5bfb);}),_0x205f36(this['_univerInstanceService'][_0xd12245(0x275)](_0xe74d3[_0xd12245(0x26a)]),this['_univerInstanceService'][_0xd12245(0x275)](_0xe74d3['UNIVER_SHEET']))['pipe'](_0x41fc4e(this[_0xd12245(0x25b)]))['subscribe'](_0x24b263=>{const _0x672630=_0xd12245,_0xa7ed4c=_0x24b263['getUnitId'](),_0x3669c0=this['_entities'][_0x672630(0x88)](_0xa7ed4c);_0x3669c0&&(_0x3669c0[_0x672630(0x17a)](),this[_0x672630(0x17b)][_0x672630(0x13e)](_0xa7ed4c));});}async[_0x5e9d2a(0x194)](_0x22e3e1){const _0x38ceda=_0x5e9d2a,_0x4b4c87=await this[_0x38ceda(0x22f)][_0x38ceda(0x155)](_0x22e3e1),_0x2df993=this[_0x38ceda(0x160)][_0x38ceda(0x147)](Me,_0x22e3e1,_0x4b4c87);return _0x2df993['init'](),_0x2df993;}async['_startDocCollabCursor'](_0x3ff143){const _0x3327b7=_0x5e9d2a,_0x581c55=await this[_0x3327b7(0x22f)][_0x3327b7(0x155)](_0x3ff143),_0x402362=this[_0x3327b7(0x160)][_0x3327b7(0x147)](Ue,_0x3ff143,_0x581c55);return _0x402362['init'](),_0x402362;}};H=Ci([Se(0x0,_0x31afa3),Se(0x1,_0x2afc3f(_0x1ccbb8)),Se(0x2,_0x2afc3f(_0x1f628c))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x29a0a3,_0x1bba3b){const _0x3b23ba=_0x5e9d2a;let {radius:_0x297079,width:_0x4c1779,height:_0x5f284c}=_0x1bba3b;_0x297079=_0x297079!=null?_0x297079:0x0,_0x4c1779=_0x4c1779!=null?_0x4c1779:0x1e,_0x5f284c=_0x5f284c!=null?_0x5f284c:0x1e;let _0x5387e4=0x0,_0x42c82e=0x0,_0x28840a=0x0;_0x5387e4=_0x42c82e=_0x28840a=Math[_0x3b23ba(0x163)](_0x297079,_0x4c1779/0x2,_0x5f284c/0x2),_0x29a0a3[_0x3b23ba(0x14d)](),_0x29a0a3[_0x3b23ba(0x254)](_0x5387e4,0x0),_0x29a0a3['lineTo'](_0x4c1779-_0x42c82e,0x0),_0x29a0a3[_0x3b23ba(0x27d)](_0x4c1779-_0x42c82e,_0x42c82e,_0x42c82e,Math['PI']*0x3/0x2,0x0,!0x1),_0x29a0a3['lineTo'](_0x4c1779,_0x5f284c-_0x28840a),_0x29a0a3[_0x3b23ba(0x27d)](_0x4c1779-_0x28840a,_0x5f284c-_0x28840a,_0x28840a,0x0,Math['PI']/0x2,!0x1),_0x29a0a3[_0x3b23ba(0x13b)](0x0,_0x5f284c),_0x29a0a3[_0x3b23ba(0x13b)](0x0,_0x5387e4),_0x29a0a3[_0x3b23ba(0x27d)](_0x5387e4,_0x5387e4,_0x5387e4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x29a0a3[_0x3b23ba(0x19d)](),_0x1bba3b[_0x3b23ba(0x271)]&&(_0x29a0a3[_0x3b23ba(0x224)](),_0x29a0a3[_0x3b23ba(0x121)]=_0x1bba3b['fill'],_0x1bba3b[_0x3b23ba(0x22b)]===_0x3b23ba(0x1a8)?_0x29a0a3[_0x3b23ba(0x271)](_0x3b23ba(0x1a8)):_0x29a0a3[_0x3b23ba(0x271)](),_0x29a0a3[_0x3b23ba(0xae)]());}class he extends _0x501a18{constructor(_0x19c384,_0x3f35d1){const _0x95fdc2=_0x5e9d2a;super(_0x19c384,_0x3f35d1),_(this,'color'),_(this,_0x95fdc2(0x27b)),(this[_0x95fdc2(0x181)]=_0x3f35d1==null?void 0x0:_0x3f35d1[_0x95fdc2(0x181)],this['text']=_0x3f35d1==null?void 0x0:_0x3f35d1[_0x95fdc2(0x27b)]);}static['drawWith'](_0x1bf7f7,_0x431f60){const _0x34818e=_0x5e9d2a,{text:_0x1bee1d,color:_0x502e7b}=_0x431f60;_0x1bf7f7[_0x34818e(0x224)](),_0x1bf7f7[_0x34818e(0x205)]=_0x34818e(0x1b3);const _0x481ff0=_0x1bf7f7[_0x34818e(0x1e7)](_0x1bee1d)[_0x34818e(0x1c9)],_0x3c38aa=Math[_0x34818e(0x163)](_0x481ff0+0x2*me,Qe);bi(_0x1bf7f7,{'height':ee,'radius':0x4,'width':_0x3c38aa,'fill':_0x502e7b}),_0x1bf7f7['fillStyle']=_0x34818e(0xe8);const _0xfefdf6=me,_0x3949f5=ee-Ei,_0x2f7155=Qe-0x2*me;if(_0x481ff0>_0x2f7155){let _0x2136a5='',_0x130b25=0x0;for(const _0x3f88a2 of _0x1bee1d){const _0x43a337=_0x1bf7f7[_0x34818e(0x1e7)](_0x3f88a2)[_0x34818e(0x1c9)];if(_0x130b25+_0x43a337<=_0x2f7155-_0x1bf7f7[_0x34818e(0x1e7)]('...')['width'])_0x2136a5+=_0x3f88a2,_0x130b25+=_0x43a337;else{_0x2136a5+=_0x34818e(0x185);break;}}_0x1bf7f7['fillText'](_0x2136a5,_0xfefdf6,_0x3949f5);}else _0x1bf7f7['fillText'](_0x1bee1d,_0xfefdf6,_0x3949f5);_0x1bf7f7['restore']();}[_0x5e9d2a(0x1b0)](_0x298ddd){const _0x1b90cf=_0x5e9d2a;he[_0x1b90cf(0x1b1)](_0x298ddd,this);}}const ge=_0x5e9d2a(0x1da),Oi=_0x5e9d2a(0x125),Ti='collab-rect-range-',X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x30641a,_0x4216d5,_0x418549,_0x412676){const _0xb5d2d3=_0x5e9d2a;_(this,_0xb5d2d3(0x200),[]),_(this,_0xb5d2d3(0x1e8),null),_(this,_0xb5d2d3(0x1db),null),_(this,_0xb5d2d3(0x1ec),null),_(this,_0xb5d2d3(0x247),null),_(this,'_eventUnsubscribe',null),(this[_0xb5d2d3(0xa2)]=_0x30641a,this[_0xb5d2d3(0x126)]=_0x4216d5,this['_docSkeleton']=_0x418549,this['_document']=_0x412676,this[_0xb5d2d3(0x21a)]());}set[_0x5e9d2a(0x137)](_0x3ecaf5){const _0x4e3c45=_0x5e9d2a;_0x3ecaf5?(this['_anchorDot']&&this[_0x4e3c45(0x1ec)][_0x4e3c45(0x11a)](),this[_0x4e3c45(0x1db)]&&this[_0x4e3c45(0x1db)][_0x4e3c45(0x94)]()):(this['_anchorDot']&&this[_0x4e3c45(0x1ec)][_0x4e3c45(0x94)](),this[_0x4e3c45(0x1db)]&&this[_0x4e3c45(0x1db)][_0x4e3c45(0x11a)]());}[_0x5e9d2a(0x17a)](){const _0x324d5b=_0x5e9d2a;for(const _0x5d1195 of this['_shapes'])_0x5d1195[_0x324d5b(0x17a)]();this[_0x324d5b(0x1db)]&&this[_0x324d5b(0x1db)][_0x324d5b(0x17a)](),this['_anchorDot']&&this[_0x324d5b(0x1ec)][_0x324d5b(0x17a)](),this[_0x324d5b(0x1e8)]&&this[_0x324d5b(0x1e8)]['dispose'](),this['_eventUnsubscribe']&&this[_0x324d5b(0x272)]();}[_0x5e9d2a(0x21a)](){const _0x42d8d2=_0x5e9d2a;var _0x1e224f;const {_docSkeleton:_0x11a17a,_document:_0x487357}=this,{color:_0x19d473,name:_0x41a9f3,ranges:_0x4b3d76}=this['_cursor'],_0x3b513a=_0x487357[_0x42d8d2(0xd8)](),{docsLeft:_0x41d7fb,docsTop:_0x5d7703}=_0x3b513a,_0xebb8e7=new _0x18cbcc(_0x3b513a,_0x11a17a);for(const {startOffset:_0x72e3b5,endOffset:_0x305f33,rangeType:_0x56f85a,segmentId:_0x3c1f18,segmentPage:_0x210e13,collapsed:_0x401c30,isActive:_0x4d1d39}of _0x4b3d76){const _0x1bea28=_0x11a17a[_0x42d8d2(0x1c6)](_0x72e3b5,!0x0,_0x3c1f18,_0x210e13);let _0x70e1fd=_0x11a17a['findNodePositionByCharIndex'](_0x305f33,!0x0,_0x3c1f18,_0x210e13);if(_0x70e1fd==null&&(_0x70e1fd=_0x11a17a['findNodePositionByCharIndex'](_0x305f33-0x1,!0x1,_0x3c1f18,_0x210e13)),_0x4d1d39){const {contentBoxPointGroup:_0x21a47e}=_0xebb8e7[_0x42d8d2(0x12b)](_0x70e1fd,_0x70e1fd);if(_0x21a47e['length']===0x0)continue;this[_0x42d8d2(0x242)](_0x19d473,_0x21a47e,_0x41d7fb,_0x5d7703,_0x41a9f3),this[_0x42d8d2(0x272)]=this['_handleHover']();}if(_0x1bea28&&_0x70e1fd){if(_0x56f85a===_0x125039[_0x42d8d2(0x262)]){const _0x5d682c=new _0x50be1a(_0x3b513a,_0x11a17a),{pointGroup:_0xcfc2ab}=(_0x1e224f=_0x5d682c[_0x42d8d2(0x12b)](_0x1bea28,_0x70e1fd))!=null?_0x1e224f:{};if(_0xcfc2ab==null||_0xcfc2ab[_0x42d8d2(0x26f)]===0x0)continue;this['_drawRectRange'](_0x19d473,_0xcfc2ab,_0x41d7fb,_0x5d7703);}else{if(!_0x401c30){const {borderBoxPointGroup:_0x12b533}=_0xebb8e7[_0x42d8d2(0x12b)](_0x1bea28,_0x70e1fd);if(_0x12b533['length']===0x0)continue;this[_0x42d8d2(0x12a)](_0x19d473,_0x12b533,_0x41d7fb,_0x5d7703);}}}}}[_0x5e9d2a(0x242)](_0x2b0764,_0x516727,_0x35fab6,_0x4c99c0,_0x248e55){const _0x2d605c=_0x5e9d2a,_0x29e962=this[_0x2d605c(0x243)](_0x516727),{left:_0x218855,top:_0xcf744e,height:_0x26df82}=_0x29e962,_0x5129e4=this['_getScale'](),_0x908965=Di/_0x5129e4,_0x373119=new _0x4b74cd(ge+_0x1cd6f0[_0x2d605c(0x1c1)](X),{'left':_0x218855+_0x35fab6-_0x908965,'top':_0xcf744e+_0x4c99c0,'height':_0x26df82,'width':Ri,'fill':_0x2b0764||_0x1b013d(_0x246b1b['black'],0x0),'strokeWidth':_0x908965,'stroke':Ni,'evented':!0x0});this[_0x2d605c(0x1e8)]=_0x373119,this[_0x2d605c(0x126)][_0x2d605c(0x16e)](_0x373119,_0x52c651);const _0x1bf0bd=new _0x4b74cd(ge+_0x1cd6f0['generateRandomId'](X),{'left':_0x218855+_0x35fab6-_0x908965,'top':_0xcf744e+_0x4c99c0-ve/0x2,'height':ve,'width':ve,'fill':_0x2b0764||_0x1b013d(_0x246b1b[_0x2d605c(0x237)],0x0),'strokeWidth':0x0,'stroke':_0x2b0764||_0x1b013d(_0x246b1b[_0x2d605c(0x237)],0x0),'evented':!0x1});this[_0x2d605c(0x1ec)]=_0x1bf0bd,this[_0x2d605c(0x126)][_0x2d605c(0x16e)](_0x1bf0bd,_0x52c651);const _0x65b278=new he(ge+_0x1cd6f0[_0x2d605c(0x1c1)](X),{'left':_0x218855+_0x35fab6-_0x908965,'top':_0xcf744e+_0x4c99c0-ee,'text':_0x248e55,'color':_0x2b0764});this[_0x2d605c(0x1db)]=_0x65b278,this[_0x2d605c(0x126)][_0x2d605c(0x16e)](_0x65b278,_0x52c651),this[_0x2d605c(0x137)]=!0x1;}[_0x5e9d2a(0x1de)](){const _0x1da60a=_0x5e9d2a,_0x49a3e8=this['_anchor'][_0x1da60a(0x14f)][_0x1da60a(0x1f2)](()=>{const _0x3be921=_0x1da60a;this[_0x3be921(0x137)]=!0x0;}),_0x43ad57=this['_anchor'][_0x1da60a(0x1a1)][_0x1da60a(0x1f2)](()=>{const _0x232643=_0x1da60a;this[_0x232643(0x247)]&&clearTimeout(this['_hideTimer']),this[_0x232643(0x247)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x768ee8=_0x1da60a;_0x49a3e8['unsubscribe'](),_0x43ad57[_0x768ee8(0xcd)]();};}[_0x5e9d2a(0x12a)](_0x3863e0,_0x2272d7,_0x46d1ff,_0x35ebf9){const _0x51067a=_0x5e9d2a,_0x2c9356=new _0x1b1612(_0x3863e0)[_0x51067a(0x1e4)](0.2)[_0x51067a(0x93)](),_0x396b0a=new _0x1b5dc2(Oi+_0x1cd6f0[_0x51067a(0x1c1)](X),{'pointsGroup':_0x2272d7,'fill':_0x2c9356||_0x1b013d(_0x246b1b[_0x51067a(0x237)],0.2),'left':_0x46d1ff,'top':_0x35ebf9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x51067a(0x200)][_0x51067a(0xb9)](_0x396b0a),this[_0x51067a(0x126)][_0x51067a(0x16e)](_0x396b0a,_0x52c651);}[_0x5e9d2a(0x1a4)](_0x25a746,_0x1210d3,_0x4449c4,_0x29a3fc){const _0x365dc1=_0x5e9d2a,_0x334d23=new _0x1b1612(_0x25a746)[_0x365dc1(0x1e4)](0.2)[_0x365dc1(0x93)](),_0x41cb8f=new _0x1b5dc2(Ti+_0x1cd6f0[_0x365dc1(0x1c1)](X),{'pointsGroup':_0x1210d3,'fill':_0x334d23||_0x1b013d(_0x246b1b[_0x365dc1(0x237)],0.2),'left':_0x4449c4,'top':_0x29a3fc,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x365dc1(0xb9)](_0x41cb8f),this[_0x365dc1(0x126)]['addObject'](_0x41cb8f,_0x52c651);}[_0x5e9d2a(0x243)](_0x4db347){const _0x5b18ec=_0x4db347[0x0],_0x2e6dbe=_0x5b18ec[0x0],_0x11fda5=_0x5b18ec[0x2],{x:_0x1e0ea0,y:_0x3db786}=_0x2e6dbe,{x:_0x13f3ea,y:_0x4727bd}=_0x11fda5;return{'left':_0x1e0ea0,'top':_0x3db786,'width':_0x13f3ea-_0x1e0ea0,'height':_0x4727bd-_0x3db786};}[_0x5e9d2a(0x13c)](){const _0x1c20b1=_0x5e9d2a,{scaleX:_0x28d580,scaleY:_0x1c44ff}=this[_0x1c20b1(0x126)][_0x1c20b1(0xdc)]();return Math[_0x1c20b1(0x1fc)](_0x28d580,_0x1c44ff);}}var Ui=Object[_0x5e9d2a(0x101)],Mi=(_0x2b866f,_0x19262c,_0xf99f0d,_0x54ad26)=>{const _0x259f9a=_0x5e9d2a;for(var _0x1669fc=_0x54ad26>0x1?void 0x0:_0x54ad26?Ui(_0x19262c,_0xf99f0d):_0x19262c,_0xb35030=_0x2b866f[_0x259f9a(0x26f)]-0x1,_0x2ead8a;_0xb35030>=0x0;_0xb35030--)(_0x2ead8a=_0x2b866f[_0xb35030])&&(_0x1669fc=_0x2ead8a(_0x1669fc)||_0x1669fc);return _0x1669fc;},Z=(_0x17b580,_0x5a27c1)=>(_0x3f4757,_0x2fb328)=>_0x5a27c1(_0x3f4757,_0x2fb328,_0x17b580);let Pe=class extends _0x21dcc4{constructor(_0x553bc3,_0x473d8c,_0x5ec8ab,_0x561b66,_0x19e608){const _0x1f92b0=_0x5e9d2a;super(),_(this,'_cursorShapes',[]),_(this,_0x1f92b0(0xec),[]),(this[_0x1f92b0(0x24e)]=_0x553bc3,this[_0x1f92b0(0x208)]=_0x473d8c,this[_0x1f92b0(0x274)]=_0x5ec8ab,this[_0x1f92b0(0x154)]=_0x561b66,this[_0x1f92b0(0x135)]=_0x19e608,this['_init']());}[_0x5e9d2a(0x136)](){const _0x2c4764=_0x5e9d2a,_0x2f985e=this[_0x2c4764(0x24e)][_0x2c4764(0x10d)],_0x1525b1=this[_0x2c4764(0x208)];this[_0x2c4764(0xf6)](_0x43605d([this[_0x2c4764(0x274)]['getCollabCursors$'](_0x2f985e),this['_themeService']['currentTheme$']])['pipe'](_0x317f64(([_0x2997a3,_0xc135aa])=>({'skeleton':_0x1525b1[_0x2c4764(0x127)](),'cursors':[..._0x2997a3[_0x2c4764(0x10a)]()][_0x2c4764(0x25c)](_0x48033b=>({..._0x48033b,'color':_0xc135aa[_0x48033b['color']]}))})))[_0x2c4764(0x25d)](_0x3dc4db=>{const _0x136299=_0x2c4764;if(this[_0x136299(0x246)](),_0x3dc4db){const {skeleton:_0x1bfdfb,cursors:_0x319e5a}=_0x3dc4db;this['_updateCollabCursors'](_0x1bfdfb,_0x319e5a);}})),this[_0x2c4764(0x176)](),this[_0x2c4764(0x1ca)]();}[_0x5e9d2a(0x95)](_0x761d6c,_0x530a15){const _0x50d3d5=_0x5e9d2a,{scene:_0x13937d,mainComponent:_0x123b20}=this['_context'],_0x272070=_0x530a15['map'](_0x3f8158=>new qe(_0x3f8158,_0x13937d,_0x761d6c,_0x123b20));this[_0x50d3d5(0x146)]=_0x272070,this[_0x50d3d5(0xec)]=_0x530a15;}[_0x5e9d2a(0x182)](){const _0x53a42b=_0x5e9d2a;this[_0x53a42b(0x246)]();const {scene:_0x4e7ded,mainComponent:_0x5a615b}=this[_0x53a42b(0x24e)],_0x4aa59e=this['_docSkeletonManagerService'][_0x53a42b(0x127)](),_0x3ce6f9=this['_cursors'][_0x53a42b(0x1a9)](_0x9d482d=>new qe(_0x9d482d,_0x4e7ded,_0x4aa59e,_0x5a615b));this[_0x53a42b(0x146)]=_0x3ce6f9;}[_0x5e9d2a(0x246)](){const _0x8cf99a=_0x5e9d2a;this[_0x8cf99a(0x146)][_0x8cf99a(0x281)](_0x22f26c=>_0x22f26c['dispose']()),this[_0x8cf99a(0x146)]=[];}[_0x5e9d2a(0x1ca)](){const _0x20ff24=_0x5e9d2a,_0x23bc6f=[_0x1995a1['id']];this[_0x20ff24(0xf6)](this['_commandService'][_0x20ff24(0xd9)](_0x1976fd=>{const _0x2526b5=_0x20ff24;_0x23bc6f[_0x2526b5(0x279)](_0x1976fd['id'])&&_0x1976fd['params']['unitId']===this[_0x2526b5(0x24e)][_0x2526b5(0x10d)]&&this[_0x2526b5(0x182)]();}));}[_0x5e9d2a(0x176)](){const _0x190c8a=_0x5e9d2a;this[_0x190c8a(0xf6)](_0x38897a(this['_context'][_0x190c8a(0x15f)]['onTransformChange$'])[_0x190c8a(0x1f7)](_0x3bce79(_0x506b5a=>_0x506b5a[_0x190c8a(0xd5)]===_0x5081f1['resize']),_0x4093be(0x10))[_0x190c8a(0x25d)](()=>{const _0xee6f12=_0x190c8a;this[_0xee6f12(0x182)]();}));}};Pe=Mi([Z(0x1,_0x2afc3f(_0x58a93a)),Z(0x2,_0x2afc3f(H)),Z(0x3,_0x334d0c),Z(0x4,_0x2afc3f(_0xfa9357))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x501a18{constructor(_0x488383,_0x414bfe){const _0x52e965=_0x5e9d2a;super(_0x488383,_0x414bfe),_(this,_0x52e965(0x213)),_(this,_0x52e965(0xca),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x52e965(0x122),'top'),_(this,_0x52e965(0xeb)),(_0x414bfe&&this[_0x52e965(0x106)](_0x414bfe),this[_0x52e965(0x14f)][_0x52e965(0x1f2)](()=>this[_0x52e965(0x106)]({'hovered':!0x0})),this[_0x52e965(0x1a1)][_0x52e965(0x1f2)](()=>this[_0x52e965(0x106)]({'hovered':!0x1})));}[_0x5e9d2a(0x106)](_0x8da007){const _0x4bfdbf=_0x5e9d2a;var _0x304fb2,_0x3489fe,_0x1c0c3f,_0x52b581,_0x1e030f,_0x29df93;this[_0x4bfdbf(0x213)]=(_0x304fb2=_0x8da007[_0x4bfdbf(0x181)])!=null?_0x304fb2:this[_0x4bfdbf(0x213)],this[_0x4bfdbf(0xca)]=(_0x3489fe=_0x8da007[_0x4bfdbf(0x11b)])!=null?_0x3489fe:this[_0x4bfdbf(0xca)],this[_0x4bfdbf(0x9e)]=(_0x1c0c3f=_0x8da007['range'])!=null?_0x1c0c3f:this[_0x4bfdbf(0x9e)],this[_0x4bfdbf(0x140)]=(_0x52b581=_0x8da007[_0x4bfdbf(0xdf)])!=null?_0x52b581:this[_0x4bfdbf(0x140)],this[_0x4bfdbf(0x122)]=(_0x1e030f=_0x8da007['labelPosition'])!=null?_0x1e030f:this[_0x4bfdbf(0x122)],this[_0x4bfdbf(0xeb)]=(_0x29df93=_0x8da007[_0x4bfdbf(0x10e)])!=null?_0x29df93:this[_0x4bfdbf(0xeb)],this[_0x4bfdbf(0x103)]({'width':_0x8da007['width'],'height':_0x8da007[_0x4bfdbf(0x9b)]});}['onMouseMove'](_0x55488b){const _0x3cdbc4=_0x5e9d2a,{row:_0x129224,column:_0x3f4590}=_0x55488b;if(_0x129224>=this[_0x3cdbc4(0x9e)][_0x3cdbc4(0x1c3)]&&_0x129224<=this[_0x3cdbc4(0x9e)]['endRow']&&_0x3f4590>=this[_0x3cdbc4(0x9e)][_0x3cdbc4(0x169)]&&_0x3f4590<=this[_0x3cdbc4(0x9e)][_0x3cdbc4(0xfc)]){this[_0x3cdbc4(0x106)]({'hovered':!0x0});return;}this[_0x3cdbc4(0x106)]({'hovered':!0x1});}[_0x5e9d2a(0x270)](_0x551e4e){return!0x1;}[_0x5e9d2a(0x1b0)](_0x4daa44){const _0x4ec63d=_0x5e9d2a;_0x4b74cd[_0x4ec63d(0x1b1)](_0x4daa44,{'width':this[_0x4ec63d(0x1c9)],'height':this['height'],'strokeWidth':wi,'stroke':this[_0x4ec63d(0x213)],'evented':!0x1,'fill':this[_0x4ec63d(0xeb)]}),this[_0x4ec63d(0xca)]&&(_0x4daa44[_0x4ec63d(0x224)](),_0x4daa44['transform'](0x1,0x0,0x0,0x1,this[_0x4ec63d(0x1c9)],this[_0x4ec63d(0x122)]===_0x4ec63d(0x1fe)?0x0:-0x14),he[_0x4ec63d(0x1b1)](_0x4daa44,{'text':this[_0x4ec63d(0x140)],'color':this['_color']}),_0x4daa44[_0x4ec63d(0xae)]());}}var Ai=Object[_0x5e9d2a(0x101)],yi=(_0x1541a0,_0x966db8,_0x33e792,_0x17aa1a)=>{for(var _0x37df14=_0x17aa1a>0x1?void 0x0:_0x17aa1a?Ai(_0x966db8,_0x33e792):_0x966db8,_0x15cab9=_0x1541a0['length']-0x1,_0x8d3c4a;_0x15cab9>=0x0;_0x15cab9--)(_0x8d3c4a=_0x1541a0[_0x15cab9])&&(_0x37df14=_0x8d3c4a(_0x37df14)||_0x37df14);return _0x37df14;},Ie=(_0x302469,_0x428de4)=>(_0x565371,_0x4576e6)=>_0x428de4(_0x565371,_0x4576e6,_0x302469);function _0x232c(_0x347753,_0x4f4115){const _0x25ef78=_0x25ef();return _0x232c=function(_0x232c5e,_0x1d85eb){_0x232c5e=_0x232c5e-0x80;let _0x1bed9e=_0x25ef78[_0x232c5e];return _0x1bed9e;},_0x232c(_0x347753,_0x4f4115);}const $i=0x1389;let we=class extends _0x21dcc4{constructor(_0x203062,_0x54ba08,_0x305384,_0x3c2873){const _0x575f87=_0x5e9d2a;super(),_(this,_0x575f87(0xec),new Set()),_(this,_0x575f87(0xa0),null),(this[_0x575f87(0x24e)]=_0x203062,this[_0x575f87(0xf5)]=_0x54ba08,this[_0x575f87(0x274)]=_0x305384,this['_themeService']=_0x3c2873,this[_0x575f87(0x136)]());}[_0x5e9d2a(0x136)](){const _0x421768=_0x5e9d2a;this[_0x421768(0xf5)][_0x421768(0x172)][_0x421768(0x1f7)](_0x2c9e00(this[_0x421768(0x25b)]),_0x2d4d5e(_0x20daea=>{const _0x332ea7=_0x421768;if(_0x20daea){const _0x3eb0fc=_0x20daea[_0x332ea7(0x1f1)];return _0x43605d(this[_0x332ea7(0x274)]['getCollabCursors$'](this['_context'][_0x332ea7(0x10d)]),this['_themeService'][_0x332ea7(0x1ad)])['pipe'](_0x317f64(([_0x583329,_0x171eb9])=>{const _0xb81ecc=_0x332ea7,_0xc1bf18=new Map();return _0x583329[_0xb81ecc(0x281)]((_0x5a97a6,_0x55fe85)=>{const _0x208744=_0xb81ecc;if(_0x5a97a6['sheetID']===_0x3eb0fc){const _0x1fdf42={..._0x5a97a6};_0x1fdf42[_0x208744(0x181)]=_0x171eb9[_0x5a97a6[_0x208744(0x181)]],_0xc1bf18[_0x208744(0x138)](_0x55fe85,_0x1fdf42);}}),{'skeleton':_0x20daea,'cursors':_0xc1bf18};}));}return _0x261b16({'skeleton':null,'cursors':new Map()});}))[_0x421768(0x25d)](({skeleton:_0x521a37,cursors:_0x87a785})=>{const _0x5849da=_0x421768;this['_removeCollabCursors'](),_0x521a37&&this[_0x5849da(0x95)](_0x521a37,_0x87a785);}),this[_0x421768(0xf5)]['currentSkeleton$'][_0x421768(0x25d)](_0x506ef4=>{const _0x4e7a19=_0x421768;if(_0x506ef4==null)return;const {skeleton:_0x368f2c}=_0x506ef4,{scene:_0x2c1918}=this[_0x4e7a19(0x24e)];_0x2c1918[_0x4e7a19(0x252)][_0x4e7a19(0x1f2)](_0x824db9(_0x22f18a=>{const _0x148cf9=_0x4e7a19;var _0x169fa6,_0x2d44c3;const {offsetX:_0x130f89,offsetY:_0x2af03f}=_0x22f18a,{x:_0x50f630,y:_0x40e343}=_0x2c1918[_0x148cf9(0x209)](_0x115866[_0x148cf9(0x18f)]([_0x130f89,_0x2af03f])),{scaleX:_0x39bfc4,scaleY:_0x5b47ec}=_0x2c1918['getAncestorScale'](),_0x581dfd=_0x2c1918[_0x148cf9(0x15d)](_0x71d1a5[_0x148cf9(0x105)]),_0x4195ba=_0x2c1918['getVpScrollXYInfoByPosToVp'](_0x115866[_0x148cf9(0x18f)]([_0x50f630,_0x40e343]),_0x581dfd),_0x41915d=_0x368f2c[_0x148cf9(0x107)](_0x130f89,_0x2af03f,_0x39bfc4,_0x5b47ec,_0x4195ba);((_0x169fa6=this[_0x148cf9(0xa0)])==null?void 0x0:_0x169fa6[_0x148cf9(0x16f)])===_0x41915d[_0x148cf9(0x16f)]&&((_0x2d44c3=this[_0x148cf9(0xa0)])==null?void 0x0:_0x2d44c3['row'])===_0x41915d[_0x148cf9(0x214)]||this[_0x148cf9(0xec)]['forEach'](_0xd32ad3=>{_0xd32ad3['onMouseMove'](_0x41915d);});},0x64));});}[_0x5e9d2a(0x95)](_0x502284,_0x4df830){const _0xc78b20=_0x5e9d2a;var _0x263b9d;const _0x3eb266=(_0x263b9d=this['_sheetSkeletonManagerService'][_0xc78b20(0x219)]())==null?void 0x0:_0x263b9d[_0xc78b20(0x1ed)];if(!_0x3eb266)return;const _0x1a1890=this['_getSheetObject']();if(!_0x1a1890)return;this[_0xc78b20(0xec)][_0xc78b20(0x281)](_0x4e4880=>{const _0x1702d7=_0xc78b20;_0x4e4880[_0x1702d7(0xf7)]();});const {scene:_0x3415fd}=_0x1a1890,_0x2c64e2=xi(Array[_0xc78b20(0x87)](_0x4df830['values']()))[_0xc78b20(0x1a9)](_0x17a68e=>{const _0x266dd3=_0xc78b20,{color:_0xa172f0,range:_0x35663b,name:_0x5c04e6,selection:_0x2afec1,sheetID:_0x193e87}=_0x17a68e,{startColumn:_0x4753a6,startRow:_0xfdb5e9,endColumn:_0x3ad8d1,endRow:_0x1c4b0e}=_0x35663b,_0x228112=_0x26e36d(_0xfdb5e9,_0x4753a6,_0x3415fd,_0x3eb266),_0x1fd330=_0x26e36d(_0x1c4b0e,_0x3ad8d1,_0x3415fd,_0x3eb266),{columnHeaderHeightAndMarginTop:_0x53a5f0}=_0x3eb266,{startX:_0x2089fb,startY:_0x412c29}=_0x228112,{endX:_0x45934d,endY:_0x467233}=_0x1fd330,_0x543f92=_0x45934d-_0x2089fb,_0x15be74=_0x467233-_0x412c29,_0xe0658={'labelPosition':_0x412c29-_0x53a5f0>=ee?_0x266dd3(0xaf):_0x266dd3(0x1fe),'sheetID':_0x193e87,'range':_0x35663b,'color':_0xa172f0,'name':_0x5c04e6,'selection':_0x2afec1,'left':_0x2089fb,'top':_0x412c29,'width':_0x543f92,'height':_0x15be74,'evented':!0x1,'zIndex':$i};return new Li(_0x5c04e6,_0xe0658);});_0x3415fd['addObjects'](_0x2c64e2,Pi),this[_0xc78b20(0xec)]=new Set(_0x2c64e2);}[_0x5e9d2a(0x246)](){const _0x3d912b=_0x5e9d2a;var _0x377185;(_0x377185=this[_0x3d912b(0xec)])==null||_0x377185[_0x3d912b(0x281)](_0xcf8be6=>_0xcf8be6[_0x3d912b(0x17a)]());}[_0x5e9d2a(0x9a)](){const _0x1dd92c=_0x5e9d2a;return _0x569a41(this[_0x1dd92c(0x24e)][_0x1dd92c(0x1f9)],this['_context']);}};we=yi([Ie(0x1,_0x2afc3f(_0x20dec5)),Ie(0x2,_0x2afc3f(H)),Ie(0x3,_0x2afc3f(_0xfa9357))],we);function xi(_0x18e602){const _0x3895fa=_0x5e9d2a,_0xe3e8b=new Map();return _0x18e602[_0x3895fa(0x281)](_0x52bb89=>{const _0x120ee0=_0x3895fa;if(_0xe3e8b[_0x120ee0(0x225)](_0x52bb89[_0x120ee0(0x25a)])){const _0x1f0892=_0xe3e8b[_0x120ee0(0x88)](_0x52bb89[_0x120ee0(0x25a)]);_0x1f0892[_0x120ee0(0xdf)]+=',\x20'+_0x52bb89['name'];}else _0xe3e8b[_0x120ee0(0x138)](_0x52bb89[_0x120ee0(0x25a)],_0x52bb89);}),Array[_0x3895fa(0x87)](_0xe3e8b[_0x3895fa(0x10a)]());}var I=function(){return I=Object['assign']||function(_0x42fcd4){const _0x2da764=_0x232c;for(var _0x9f6ba3,_0x3575eb=0x1,_0x10c202=arguments[_0x2da764(0x26f)];_0x3575eb<_0x10c202;_0x3575eb++){_0x9f6ba3=arguments[_0x3575eb];for(var _0x1e34c8 in _0x9f6ba3)Object[_0x2da764(0xff)][_0x2da764(0xd2)][_0x2da764(0xfe)](_0x9f6ba3,_0x1e34c8)&&(_0x42fcd4[_0x1e34c8]=_0x9f6ba3[_0x1e34c8]);}return _0x42fcd4;},I['apply'](this,arguments);},Bi=function(_0x1ede54,_0x2eabb8){const _0x26b8be=_0x5e9d2a;var _0x32177d={};for(var _0x3dfcdd in _0x1ede54)Object[_0x26b8be(0xff)]['hasOwnProperty'][_0x26b8be(0xfe)](_0x1ede54,_0x3dfcdd)&&_0x2eabb8[_0x26b8be(0x80)](_0x3dfcdd)<0x0&&(_0x32177d[_0x3dfcdd]=_0x1ede54[_0x3dfcdd]);if(_0x1ede54!=null&&typeof Object[_0x26b8be(0x13f)]==_0x26b8be(0x1be)){for(var _0x261aeb=0x0,_0x3dfcdd=Object[_0x26b8be(0x13f)](_0x1ede54);_0x261aeb<_0x3dfcdd[_0x26b8be(0x26f)];_0x261aeb++)_0x2eabb8[_0x26b8be(0x80)](_0x3dfcdd[_0x261aeb])<0x0&&Object[_0x26b8be(0xff)][_0x26b8be(0x258)][_0x26b8be(0xfe)](_0x1ede54,_0x3dfcdd[_0x261aeb])&&(_0x32177d[_0x3dfcdd[_0x261aeb]]=_0x1ede54[_0x3dfcdd[_0x261aeb]]);}return _0x32177d;},je=_0x239842(function(_0x23bd40,_0x1a5780){const _0x57e778=_0x5e9d2a;var _0x13f31f=_0x23bd40[_0x57e778(0x10c)],_0x4c5916=_0x23bd40['id'],_0x3ac454=_0x23bd40[_0x57e778(0x97)],_0x5cf790=_0x23bd40['extend'],_0x2f8c4c=Bi(_0x23bd40,['icon','id',_0x57e778(0x97),_0x57e778(0x1cd)]),_0x3ac95e=_0x57e778(0xb7)[_0x57e778(0x192)](_0x4c5916,'\x20')[_0x57e778(0x192)](_0x3ac454||'')[_0x57e778(0x1c7)](),_0x40a976=_0x108310('_'[_0x57e778(0x192)](ji()));return Rt(_0x13f31f,''[_0x57e778(0x192)](_0x4c5916),{'defIds':_0x13f31f[_0x57e778(0x19a)],'idSuffix':_0x40a976[_0x57e778(0x23c)]},I({'ref':_0x1a5780,'className':_0x3ac95e},_0x2f8c4c),_0x5cf790);});function Rt(_0x33cd3b,_0x2ad661,_0x414015,_0x5f06ff,_0x1ec360){const _0x2151ba=_0x5e9d2a;return _0x276974(_0x33cd3b['tag'],I(I({'key':_0x2ad661},ki(_0x33cd3b,_0x414015,_0x1ec360)),_0x5f06ff),(Hi(_0x33cd3b,_0x414015)[_0x2151ba(0x1cc)]||[])[_0x2151ba(0x1a9)](function(_0x38fa7e,_0x1a04f8){const _0xa1cad7=_0x2151ba;return Rt(_0x38fa7e,''['concat'](_0x2ad661,'-')['concat'](_0x33cd3b[_0xa1cad7(0x159)],'-')[_0xa1cad7(0x192)](_0x1a04f8),_0x414015,void 0x0,_0x1ec360);}));}function ki(_0x487420,_0x31ca30,_0x504392){const _0x2133ce=_0x5e9d2a;var _0x584645=I({},_0x487420['attrs']);_0x504392!=null&&_0x504392[_0x2133ce(0xbc)]&&_0x584645[_0x2133ce(0x271)]==='colorChannel1'&&(_0x584645[_0x2133ce(0x271)]=_0x504392[_0x2133ce(0xbc)]),_0x487420[_0x2133ce(0x159)]===_0x2133ce(0x1ac)&&_0x584645['id']&&(_0x584645['id']=_0x584645['id']+_0x31ca30[_0x2133ce(0x1b6)]),Object[_0x2133ce(0x223)](_0x584645)[_0x2133ce(0x281)](function(_0x56ba62){const _0x242b7e=_0x2133ce;var _0x3e6c3a=_0x56ba62[0x0],_0x326d14=_0x56ba62[0x1];_0x3e6c3a===_0x242b7e(0x1ac)&&typeof _0x326d14==_0x242b7e(0x1a3)&&(_0x584645[_0x3e6c3a]=_0x326d14['replace'](/url\(#(.*)\)/,_0x242b7e(0xb1)[_0x242b7e(0x192)](_0x31ca30[_0x242b7e(0x1b6)],')')));});var _0x3920d2=_0x31ca30[_0x2133ce(0x19a)];return!_0x3920d2||_0x3920d2[_0x2133ce(0x26f)]===0x0||(_0x487420[_0x2133ce(0x159)]===_0x2133ce(0xdb)&&_0x584645[_0x2133ce(0x96)]&&(_0x584645[_0x2133ce(0x96)]=_0x584645[_0x2133ce(0x96)]+_0x31ca30[_0x2133ce(0x1b6)]),Object[_0x2133ce(0x223)](_0x584645)[_0x2133ce(0x281)](function(_0x2e2c19){const _0x6576d1=_0x2133ce;var _0x2fc2c6=_0x2e2c19[0x0],_0x25be84=_0x2e2c19[0x1];typeof _0x25be84==_0x6576d1(0x1a3)&&(_0x584645[_0x2fc2c6]=_0x25be84['replace'](/url\(#(.*)\)/,_0x6576d1(0xb1)[_0x6576d1(0x192)](_0x31ca30[_0x6576d1(0x1b6)],')')));})),_0x584645;}function Hi(_0x489de4,_0x5b5ce0){const _0x178beb=_0x5e9d2a;var _0x329c90,_0xc43608=_0x5b5ce0[_0x178beb(0x19a)];return!_0xc43608||_0xc43608[_0x178beb(0x26f)]===0x0?_0x489de4:_0x489de4[_0x178beb(0x159)]===_0x178beb(0xc0)&&(!((_0x329c90=_0x489de4[_0x178beb(0x1cc)])===null||_0x329c90===void 0x0)&&_0x329c90[_0x178beb(0x26f)])?I(I({},_0x489de4),{'children':_0x489de4[_0x178beb(0x1cc)][_0x178beb(0x1a9)](function(_0x265f02){const _0x5e16f4=_0x178beb;return typeof _0x265f02[_0x5e16f4(0x218)]['id']=='string'&&_0xc43608&&_0xc43608[_0x5e16f4(0x80)](_0x265f02[_0x5e16f4(0x218)]['id'])>-0x1?I(I({},_0x265f02),{'attrs':I(I({},_0x265f02[_0x5e16f4(0x218)]),{'id':_0x265f02[_0x5e16f4(0x218)]['id']+_0x5b5ce0[_0x5e16f4(0x1b6)]})}):_0x265f02;})}):_0x489de4;}function ji(){const _0x559cfc=_0x5e9d2a;return Math[_0x559cfc(0x196)]()[_0x559cfc(0x109)](0x24)['substring'](0x2,0x8);}je[_0x5e9d2a(0x282)]='UniverIcon';var Wi={'tag':_0x5e9d2a(0x267),'attrs':{'fill':_0x5e9d2a(0x1c4),'viewBox':'0\x200\x2016\x2016','width':_0x5e9d2a(0x177),'height':_0x5e9d2a(0x177)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e9d2a(0xe2)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5e9d2a(0x25f),'strokeLinecap':_0x5e9d2a(0xbd),'strokeLinejoin':_0x5e9d2a(0xbd),'strokeWidth':1.2}}]},{'tag':_0x5e9d2a(0xc0),'attrs':{},'children':[{'tag':_0x5e9d2a(0xee),'attrs':{'id':_0x5e9d2a(0x12e)},'children':[{'tag':_0x5e9d2a(0x20d),'attrs':{'fill':_0x5e9d2a(0xba),'d':_0x5e9d2a(0xbf)}}]}]}],'defIds':[_0x5e9d2a(0x12e)]},Dt=_0x239842(function(_0x2b19dd,_0x18afe4){const _0x48b77c=_0x5e9d2a;return _0x276974(je,Object['assign']({},_0x2b19dd,{'id':_0x48b77c(0x1a5),'ref':_0x18afe4,'icon':Wi}));});Dt[_0x5e9d2a(0x282)]='OffLineSingle';var Fi={'tag':_0x5e9d2a(0x267),'attrs':{'fill':_0x5e9d2a(0x1c4),'viewBox':_0x5e9d2a(0x256),'width':_0x5e9d2a(0x177),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5e9d2a(0x20d),'attrs':{'stroke':'currentColor','d':_0x5e9d2a(0x250),'strokeLinecap':_0x5e9d2a(0xbd),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e9d2a(0xc0),'attrs':{},'children':[{'tag':_0x5e9d2a(0xee),'attrs':{'id':_0x5e9d2a(0xc7)},'children':[{'tag':'path','attrs':{'fill':_0x5e9d2a(0xba),'d':_0x5e9d2a(0xbf),'transform':_0x5e9d2a(0x166)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x239842(function(_0x43d4fc,_0x39e810){const _0x2ddd8d=_0x5e9d2a;return _0x276974(je,Object['assign']({},_0x43d4fc,{'id':_0x2ddd8d(0x100),'ref':_0x39e810,'icon':Fi}));});Nt['displayName']=_0x5e9d2a(0x124);function Yi(_0x3fbfc9){const _0x4cd749=_0x5e9d2a;switch(_0x3fbfc9){case _0x2bb882[_0x4cd749(0x17d)]:return'collabStatus.offline';case _0x2bb882[_0x4cd749(0xab)]:return _0x4cd749(0x266);case _0x2bb882[_0x4cd749(0x90)]:return _0x4cd749(0x1ba);case _0x2bb882[_0x4cd749(0x14a)]:return'collabStatus.notCollab';case _0x2bb882[_0x4cd749(0x1a0)]:case _0x2bb882[_0x4cd749(0x1cb)]:return _0x4cd749(0x1d6);case _0x2bb882['SYNCED']:case _0x2bb882[_0x4cd749(0x195)]:return _0x4cd749(0x20e);}}function Vi(_0x1078a6){const _0x3a1fcc=_0x5e9d2a,{status$:_0x4e5756}=_0x1078a6,_0x2eafc3=_0x18d5ef(_0x4e5756,_0x2bb882[_0x3a1fcc(0x14a)]),_0x5a1c3d=_0x308a04(_0x17d115),_0x41d2cb=_0x308a04(_0x1f628c),_0x34f328=_0x2eafc3!==_0x2bb882[_0x3a1fcc(0x17d)],_0x9592f2=_0x5a1c3d['t'](Yi(_0x2eafc3)),_0x48a5a5=_0x34f328?_0x1d9f11(Nt,{}):_0x1d9f11(Dt,{}),_0x2a75db=_0x5ccf53(()=>{const _0x4e62a0=_0x3a1fcc;_0x34f328||_0x41d2cb[_0x4e62a0(0x8a)]();},[_0x34f328,_0x41d2cb]);function _0x312d3b(){const _0x2bb37c=_0x3a1fcc;return _0x12afa9(_0x2bb37c(0x183),{'className':_0x2bb37c(0x23e),'onClick':_0x2a75db,'children':[_0x1d9f11('div',{'className':_0x1168ce(_0x2bb37c(0x144),_0x34f328?_0x2bb37c(0x1bf):_0x2bb37c(0x8b)),'children':_0x48a5a5}),_0x1d9f11(_0x2bb37c(0x183),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x9592f2})]});}return _0x34f328?_0x312d3b():_0x1d9f11(_0x2518f7,{'title':_0x5a1c3d['t'](_0x3a1fcc(0x86)),'children':_0x312d3b()});}function _0x25ef(){const _0x28ab33=['column','getUnitStatus$','undoState','currentSkeleton$','jiqing500','_collaborationController','collaboration-client.offline-data-not-saved','_initResize','1em','addClipboardHook','debug','dispose','_entities','RemoveColCommandId','OFFLINE','transformMutationsWithChangeset','_clearOtherTimers','collaboration-client-ui.config','color','_refreshCollabCursors','div','stringify','...','_docClipboardService','_updateURLWithCurrentState','_config','_docTransformIMECacheService','runOnServer','1402914ISsLMI','_saveCache','708464YdjnZf','_setupSubUnitSync','FromArray','_initStatusComponent','OTHER_CLIENTS_EDITING','concat','_notificationService','_startSheetCollabCursor','PENDING','random','getSheetBySheetId','transformRemoteChangeset','_registerRenderDependencies','defIds','_selfUnitIDs','error','closePath','OTHER_CLIENT_EDITING','INVALID_ARGUMENT','AWAITING','onPointerLeave$','_status$','string','_drawRectRange','off-line-single','LICENSE_MAX_UNITS_EXCEEDED','roomMembers','evenodd','map','setUndoRedoMutationParamsCache','application/json','mask','currentTheme$','setParam','defineProperty','_draw','drawWith','LOGIN_FAILED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','size','_docTransformStateCacheService','idSuffix','_revisionService','add','transformSelections','collabStatus.fetchMiss','asObservable','UPDATE_CURSOR','m2Prime','function','univer-text-green-500','key','generateRandomId','_collaborationUIEventService','startRow','none','_collabCursorState$','findNodePositionByCharIndex','trim','getMemberID','width','_initCommandExecutedListener','AWAITING_WITH_PENDING','children','extend','UNDEFINED','unitID','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_HAS_BEEN_BOUND','next','event$','_localeService','collabStatus.syncing','InsertColCommandId','popstate','Failed','collab-text-anchor-','_textBubble','HEADER_MENU','5676849WDKYUZ','_handleHover','with','collaboration.single-unit.warning','cursorInfo','assignAColorForMemberID','_initEntityListener','setAlpha','PY_RUNTIME_SCRIPT_ERROR','m1Prime','measureText','_anchor','_ensureSubject','doc.mutation.rich-text-editing','UNAUTHENTICATED','_anchorDot','skeleton','onStarting','session.connection-failed','redoState','sheetId','subscribeEvent','transformStateCache','_unitOnClients','body','isActive','pipe','_syncEditingCollabCursorService','unit','_uiPartsService','registerRenderModule','max','parse','bottom','_localStorageService','_shapes','MoveRangeCommandId','getUndoRedoMutationParamsCache','addEventListener','_colorIndex','font','subunit','location','_docSkeletonManagerService','getRelativeToViewportCoord','getTypeOfUnitAdded$','href','SOCKET_FAILED','path','collabStatus.synced','getActiveSheet','SUBMIT_CHANGESET_TIMEOUT','isEditing','InsertRangeMoveDownCommandId','_color','row','deepClone','PERMISSION_DENIED','send','attrs','getCurrent','_render','transformIMECache','getCurrentRevOfUnit','permission.title','COMPLETION_FINISHED','loadUnit','post','_configService','editingUnit','entries','save','has','getCollabEntity$','WECHAT_HAS_BEEN_BOUND','_logService','override','red300','fillRule','TEXT','getSheetId','urlChange$','_collabSessionService','transformMutation','APPLY_REJECT','roomMembers$','ranges','_docStateChangeManagerService','_univerInstanceService','find','black','setTimeout','getCurrentSelections','LICENSE_DISTRO_REJECTED','APPLY_NON_SEQUENTIAL_REVISION','current','getMergeData','univer-flex\x20univer-items-center','eventID','_roomMembers$','_initStatusListener','_drawAnchor','_getAnchorBounding','_renderManagerService','code','_removeCollabCursors','_hideTimer','getDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','12085FhgKNq','clearTimeout','USER_NOT_INVITED_CODE','setConfig','_context','_entityInit$','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','89002HnhkzF','onPointerMove$','searchParams','moveTo','_updateSubUnitFromURLParams','0\x200\x2017\x2016','getValue','propertyIsEnumerable','11315161vikQBW','selection','dispose$','flatMap','subscribe','_urlService','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','[CollaborationDataLoaderController]','_getMergeRange','RECT','_saveTaskMap','replaceState','CONNECTOR_DATA_TOO_LARGE','collabStatus.conflict','svg','ALREADY_EXISTS','_online','UNIVER_DOC','executionId','getParam','getStateCache','registerBeforeClose','length','triggerDblclick','fill','_eventUnsubscribe','APPLY_DUPLICATED','_collabCursorController','getTypeOfUnitDisposed$','3LbWGpm','pushState','onRendered','includes','enableLocalCache','text','focused$','arc','textRanges','pluginName','_docTransformSelectionsService','forEach','displayName','collaboration.closeRoom','then','indexOf','_handleJoinEvent','_registerDependencies','_refRangeService','exhaustSavingTask','UNIVER_SHEET','collab-client.tooltip.reconnect','from','get','_getSessionTicket','reconnect','univer-text-red-500','setItem','_transformPreviousActiveRange','all','range','FETCH_MISS','getUniverSheetInstance','10XQyzMW','toRgbString','show','_updateCollabCursors','xlink:href','className','subUnitId','_localCacheService','_getSheetObject','height','data','_scheduleClearOtherTimer','_range','_cursorInfo$','_lastPointer','CHANGESET_REVISION_CONFILICT','_cursor','getCollabCursors$','SOCKET_FAILED_RETRY','INVITE_CODE_ALREADY_BOUND','removeParam','SNAPSHOT_HAS_BEEN_REMOVED','_doCreateSocket','INTERNAL_ERROR','cursorInfo$','CONFLICT','4353000SVEFrq','_send','restore','top','[RemoteUniscriptService]:\x20no\x20focused\x20unit','url(#$1','TOO_MANY_REQUESTS','saveTaskMap','DeleteRangeMoveLeftCommandId','_toggleOnline','_onCursorDelete','univerjs-icon\x20univerjs-icon-','memberID','push','#fff','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','colorChannel1','round','_dataLoaderService','M0\x200H16V16H0z','defs','YUUMI_RATE_OVER_LIMIT','_initDependencies','blue400','_startDocCollabCursor','_handleEvent','INVITE_CODE_HAS_BEEN_UES','on-line-single_clip0_910_349','setActiveRange','storage','_hovered','getFocusedUnit','_getSaveTimeout','unsubscribe','ENSURE_SNAPSHOT_EXECUTION','_memberService','runId','docStateChange$','hasOwnProperty','_unitStatus','unshift','type','getUnitId','disableLocalCache','getOffsetConfig','onCommandExecuted','1084pBfwFY','use','getAncestorScale','Warning','complete','name','UNRECOGNIZED','_beforeCloseService','url(#off-line-single_clip0_910_343)','getItem','_heartbeatTimer','_transformUndoRedoStack','YUUMI_NO_CUBOID_FOR_QUESTION','imageSourceType','#FFF','YUUMI_SUBSCRIPTION_NOT_FOUND','mutations','_backgroundColor','_cursors','_toggleOffline','clipPath','init','ticket','JOIN_ROOM_FAILED','startsWith','Unknown\x20user','clearInterval','_sheetSkeletonManagerService','disposeWithMe','makeDirty','ONLINE','_updateLocalCursor','_assignedColors','whenReady','endColumn','InsertRangeMoveRightCommandId','call','prototype','on-line-single','getOwnPropertyDescriptor','Error','transformByState','YUUMI_UNABLE_LOAD_URL','VIEW_MAIN','setShapeProps','getCellPositionByOffset','getMember','toString','values','_transformService','icon','unitId','backgroundColor','history','sessionTicket','activeSheet$','search','disposeUnit','gold400','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_httpService','session.will-retry','result','MOBILE_HAS_BEEN_BOUND','hide','hovered','_instanceService','InsertRowCommandId','syncEditingCollabCursor','status$','replaceDocRanges','fillStyle','_labelPosition','56NOktpg','OnLineSingle','collab-text-range-','_scene','getSkeleton','YUUMI_URL_COL_OUT_OF_RANGE','source','_drawTextRange','getRangePointData','_removeClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','off-line-single_clip0_910_343','origin','_transformHistoryAndStateStack','_cachedData','USERS_LEAVE','getActiveRange','_onCursorUpdate','_themeService','_init','_hover','set','_docSyncEditingCollabCursorService','_imageIoService','lineTo','_getScale','unload','delete','getOwnPropertySymbols','_name','registerRefRange','saveOfflineData','_setupBeforeClosingHandler','univer-flex\x20univer-mr-2\x20univer-text-[20px]','_handleHeartbeatEvent','_cursorShapes','createInstance','actions','_onRefRangeChange','NOT_COLLAB','_scheduleSaving','_colorAssignService','beginPath','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','INVITE_CODE_REQUIRED','collabCursorState$','APPLY_REVISION_CONFILICT','newValue','_commandService','requireSession','selections','NOT_FOUND','_handleLeaveEvent','tag','LICENSE_EXPORT_SIZE_EXCEEDED','saveImage','_messageService','getViewport','_initEvent','engine','_injector','_disabled','split','min','getRenderById','APPLY_PERMISSION_DENIED','translate(.97)','/run/','params','startColumn','isArray','getConfig','executeCommand','_id','addObject'];_0x25ef=function(){return _0x28ab33;};return _0x25ef();}var Xi=Object[_0x5e9d2a(0x101)],Gi=(_0x43f10b,_0x1c32a1,_0x49ed75,_0xb34509)=>{for(var _0x3343dc=_0xb34509>0x1?void 0x0:_0xb34509?Xi(_0x1c32a1,_0x49ed75):_0x1c32a1,_0x2c8c46=_0x43f10b['length']-0x1,_0x137f8c;_0x2c8c46>=0x0;_0x2c8c46--)(_0x137f8c=_0x43f10b[_0x2c8c46])&&(_0x3343dc=_0x137f8c(_0x3343dc)||_0x3343dc);return _0x3343dc;},Q=(_0x184ee0,_0x1af47e)=>(_0x5d5851,_0x37ff8c)=>_0x1af47e(_0x5d5851,_0x37ff8c,_0x184ee0);let te=class extends _0x5348ab{constructor(_0x437549,_0x32b295,_0x57c692,_0x32926e){const _0x176b46=_0x5e9d2a;super(),_(this,_0x176b46(0x1a2),new _0x1084b7(_0x2bb882[_0x176b46(0x14a)])),(this[_0x176b46(0x235)]=_0x437549,this[_0x176b46(0x160)]=_0x32b295,this[_0x176b46(0x174)]=_0x57c692,this['_uiPartsService']=_0x32926e,this[_0x176b46(0x190)](),this['_initStatusListener']());}[_0x5e9d2a(0x241)](){const _0x424e14=_0x5e9d2a;this['disposeWithMe'](this[_0x424e14(0x235)][_0x424e14(0x27c)][_0x424e14(0x1f7)](_0x11c9ec(()=>{const _0x2dd6d1=_0x424e14,_0x555409=this[_0x2dd6d1(0x235)][_0x2dd6d1(0xcb)]();return _0x555409?this[_0x2dd6d1(0x174)][_0x2dd6d1(0x226)](_0x555409[_0x2dd6d1(0xd6)]()):_0x261b16(null);}),_0x11c9ec(_0x930d7e=>_0x930d7e?_0x930d7e[_0x424e14(0x11f)]:_0x261b16(_0x2bb882[_0x424e14(0x14a)])))[_0x424e14(0x25d)](_0x12e2d2=>{const _0x27e2c5=_0x424e14;this[_0x27e2c5(0x1a2)][_0x27e2c5(0x1d3)](_0x12e2d2);}));}['_initStatusComponent'](){const _0x16903b=_0x5e9d2a;this[_0x16903b(0xf6)](this[_0x16903b(0x1fa)]['registerComponent'](_0x5189d0[_0x16903b(0x1dc)],()=>_0x11159d(Ki({'status$':this[_0x16903b(0x1a2)][_0x16903b(0x1bb)]()}),this[_0x16903b(0x160)])));}};te=Gi([Q(0x0,_0x31afa3),Q(0x1,_0x2afc3f(_0x1ccbb8)),Q(0x2,_0x2afc3f(_0x5818ba)),Q(0x3,_0x1bc0ee)],te);function Ki(_0x47fab3){const {status$:_0x127617}=_0x47fab3;return function(){return _0x1d9f11(Vi,{'status$':_0x127617});};}var zi=Object[_0x5e9d2a(0x101)],Ji=(_0x345b90,_0x49a0c2,_0x11b66f,_0xffe67e)=>{for(var _0x4e99e8=_0xffe67e>0x1?void 0x0:_0xffe67e?zi(_0x49a0c2,_0x11b66f):_0x49a0c2,_0x17bc1d=_0x345b90['length']-0x1,_0x50f056;_0x17bc1d>=0x0;_0x17bc1d--)(_0x50f056=_0x345b90[_0x17bc1d])&&(_0x4e99e8=_0x50f056(_0x4e99e8)||_0x4e99e8);return _0x4e99e8;},B=(_0x5d644e,_0x3c3745)=>(_0x2ff6ce,_0x518856)=>_0x3c3745(_0x2ff6ce,_0x518856,_0x5d644e);let se=class extends _0x5348ab{constructor(_0x2a4f81,_0x2aabe4,_0x2be699,_0x16fe63,_0x5be49a,_0xac4eb9){const _0x18c54f=_0x5e9d2a;super(),this[_0x18c54f(0xe1)]=_0x2a4f81,this[_0x18c54f(0x99)]=_0x2aabe4,this[_0x18c54f(0x1c2)]=_0x2be699,this['_messageService']=_0x16fe63,this[_0x18c54f(0x193)]=_0x5be49a,this[_0x18c54f(0x1d5)]=_0xac4eb9,this[_0x18c54f(0x143)](),this[_0x18c54f(0x15e)]();}['_setupBeforeClosingHandler'](){const _0x2d5e7b=_0x5e9d2a;this['disposeWithMe'](this['_beforeCloseService'][_0x2d5e7b(0x26e)](()=>{const _0x352df7=_0x2d5e7b;if(this['_localCacheService'][_0x352df7(0xb3)][_0x352df7(0x1b4)])return this[_0x352df7(0x1d5)]['t'](_0x352df7(0x175));}));}['_initEvent'](){const _0x5bc153=_0x5e9d2a;this[_0x5bc153(0xf6)](this['_collaborationUIEventService'][_0x5bc153(0x1d4)][_0x5bc153(0x25d)](_0x12cb4c=>{const _0x33d081=_0x5bc153;_0x12cb4c['id']===_0x5ad7be[_0x33d081(0x19e)]&&this[_0x33d081(0x15c)][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0xdd)],'content':this[_0x33d081(0x1d5)]['t'](_0x33d081(0x1e0))}),_0x12cb4c['id']===_0x5ad7be['CLOSE_ROOM']&&this[_0x33d081(0x15c)]['show']({'type':_0x50c4f8[_0x33d081(0xdd)],'content':this[_0x33d081(0x1d5)]['t'](_0x33d081(0x283))}),_0x12cb4c['id']===_0x5ad7be['PERMISSION_DENIED']&&this[_0x33d081(0x193)][_0x33d081(0x94)]({'title':this[_0x33d081(0x1d5)]['t'](_0x33d081(0x21d)),'content':this[_0x33d081(0x1d5)]['t']('permission.content'),'type':'error','duration':0x0}),_0x12cb4c['id']===_0x5ad7be['CONFLICT']&&this[_0x33d081(0x15c)][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0x102)],'content':this['_localeService']['t'](_0x33d081(0x283))+'('+_0x12cb4c[_0x33d081(0x9c)]+')'}),_0x12cb4c['id']===_0x5ad7be[_0x33d081(0xf1)]&&this[_0x33d081(0x15c)][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0xdd)],'content':this[_0x33d081(0x1d5)]['t'](_0x12cb4c['data']||'')}),_0x12cb4c['id']===_0x5ad7be[_0x33d081(0xa4)]&&this['_messageService'][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0xdd)],'content':this[_0x33d081(0x1d5)]['t'](_0x33d081(0x117))}),_0x12cb4c['id']===_0x5ad7be[_0x33d081(0x20c)]&&this['_messageService']['show']({'type':_0x50c4f8['Error'],'content':this['_localeService']['t'](_0x33d081(0x1ef))}),_0x12cb4c['id']===_0x5ad7be[_0x33d081(0x210)]&&this[_0x33d081(0x15c)][_0x33d081(0x94)]({'type':_0x50c4f8[_0x33d081(0x102)],'content':this[_0x33d081(0x1d5)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2717ba),B(0x1,_0x48bf36),B(0x2,_0x2afc3f(_0x40dfbd)),B(0x3,_0x5ea77a),B(0x4,_0x291042),B(0x5,_0x2afc3f(_0x17d115))],se);const Zi=_0x5e9d2a(0x180),et={},Ut=_0x104114('uni.network.url-service');var Qi=Object[_0x5e9d2a(0x101)],qi=(_0x52ed8a,_0x10fda7,_0x2b10b0,_0x166a03)=>{for(var _0x3dee2b=_0x166a03>0x1?void 0x0:_0x166a03?Qi(_0x10fda7,_0x2b10b0):_0x10fda7,_0x1931e3=_0x52ed8a['length']-0x1,_0xabf4c2;_0x1931e3>=0x0;_0x1931e3--)(_0xabf4c2=_0x52ed8a[_0x1931e3])&&(_0x3dee2b=_0xabf4c2(_0x3dee2b)||_0x3dee2b);return _0x3dee2b;},G=(_0x34ebd5,_0x1c808f)=>(_0x53716a,_0x4832c0)=>_0x1c808f(_0x53716a,_0x4832c0,_0x34ebd5);let ie=class extends _0x21dcc4{constructor(_0x363696,_0x596dcb,_0x406f91,_0x230648,_0x67cae9){const _0x170abf=_0x5e9d2a;super(),this[_0x170abf(0x25e)]=_0x363696,this[_0x170abf(0x228)]=_0x596dcb,this[_0x170abf(0x154)]=_0x406f91,this[_0x170abf(0xbe)]=_0x230648,_0x67cae9?_0x67cae9==null||_0x67cae9[_0x170abf(0xfb)]()['then'](()=>this[_0x170abf(0x136)]()):(this[_0x170abf(0x228)][_0x170abf(0x179)]('[CollaborationDataLoaderController]',_0x170abf(0xbb)),this[_0x170abf(0x136)]());}async[_0x5e9d2a(0x136)](){const _0x299d6f=_0x5e9d2a,_0x532aea=this[_0x299d6f(0x25e)]['getParam'](_0x299d6f(0x1f9)),_0x179cf2=this[_0x299d6f(0x25e)]['getParam'](_0x299d6f(0xd5)),_0x199374=this[_0x299d6f(0x25e)][_0x299d6f(0x26c)](_0x299d6f(0x206));if(!_0x532aea||!_0x179cf2){this[_0x299d6f(0x228)][_0x299d6f(0x179)](_0x299d6f(0x260),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x41d56b=await this['_dataLoaderService'][_0x299d6f(0x21f)](_0x532aea,Number(_0x179cf2),_0x199374);_0x41d56b&&_0x41d56b instanceof _0x2e092b&&this[_0x299d6f(0x18e)](_0x41d56b);}async[_0x5e9d2a(0x18e)](_0x216c4a){const _0x3094e9=_0x5e9d2a;await this[_0x3094e9(0x255)](_0x216c4a),_0x216c4a[_0x3094e9(0x111)][_0x3094e9(0x1f7)](_0x41fc4e(this['dispose$']))[_0x3094e9(0x25d)](_0x593378=>{_0x593378&&this['_updateURLWithCurrentState'](_0x593378);}),this[_0x3094e9(0x25e)][_0x3094e9(0x22e)][_0x3094e9(0x1f7)](_0x41fc4e(this[_0x3094e9(0x25b)]))[_0x3094e9(0x25d)](()=>this[_0x3094e9(0x255)](_0x216c4a));}[_0x5e9d2a(0x187)](_0x37c04a,_0x1f1f50=!0x1){const _0x38fbff=_0x5e9d2a,_0x3a0043=this['_urlService'][_0x38fbff(0x26c)](_0x38fbff(0x206));_0x37c04a['getSheetId']()!==_0x3a0043&&this[_0x38fbff(0x25e)][_0x38fbff(0x1ae)](_0x38fbff(0x206),_0x37c04a['getSheetId'](),_0x1f1f50);}async[_0x5e9d2a(0x255)](_0x363ee5){const _0x1d5c33=_0x5e9d2a;var _0x51bb86;const _0x2baea9=this[_0x1d5c33(0x25e)][_0x1d5c33(0x26c)]('subunit');if(!_0x2baea9||!_0x363ee5['getSheetBySheetId'](_0x2baea9)){const _0x349e38=_0x363ee5['getUnhiddenWorksheets']()[0x0],_0x4d5cfc=_0x363ee5[_0x1d5c33(0x197)](_0x349e38);if(!_0x4d5cfc)return;this[_0x1d5c33(0x187)](_0x4d5cfc,!0x0),await this[_0x1d5c33(0x154)]['executeCommand'](_0x9b3c39['id'],{'unitId':_0x363ee5[_0x1d5c33(0xd6)](),'subUnitId':_0x349e38});return;}((_0x51bb86=_0x363ee5[_0x1d5c33(0x20f)]())==null?void 0x0:_0x51bb86[_0x1d5c33(0x22d)]())!==_0x2baea9&&await this[_0x1d5c33(0x154)][_0x1d5c33(0x16c)](_0x9b3c39['id'],{'unitId':_0x363ee5[_0x1d5c33(0xd6)](),'subUnitId':_0x2baea9});}};ie=qi([G(0x0,Ut),G(0x1,_0x1936a9),G(0x2,_0x334d0c),G(0x3,_0x2afc3f(_0x126004)),G(0x4,_0x7fd890(_0x2d26ad))],ie);var en=Object[_0x5e9d2a(0x101)],tn=(_0x2e1006,_0x3f8523,_0x471d9f,_0x3a802b)=>{const _0x3c7ef9=_0x5e9d2a;for(var _0x162d9f=_0x3a802b>0x1?void 0x0:_0x3a802b?en(_0x3f8523,_0x471d9f):_0x3f8523,_0x58f6e9=_0x2e1006[_0x3c7ef9(0x26f)]-0x1,_0x5f4473;_0x58f6e9>=0x0;_0x58f6e9--)(_0x5f4473=_0x2e1006[_0x58f6e9])&&(_0x162d9f=_0x5f4473(_0x162d9f)||_0x162d9f);return _0x162d9f;},pe=(_0x1cca0d,_0x6c664a)=>(_0x2adb24,_0xc8e983)=>_0x6c664a(_0x2adb24,_0xc8e983,_0x1cca0d);let ne=class{constructor(_0x22673d,_0x1455da,_0x2dc4d9){const _0x4b627c=_0x5e9d2a;this[_0x4b627c(0x160)]=_0x22673d,this[_0x4b627c(0x10b)]=_0x1455da,this[_0x4b627c(0x244)]=_0x2dc4d9;}[_0x5e9d2a(0x21b)](_0x2d4ebb){const _0x3c319d=_0x5e9d2a;this['_transformUndoRedoStack'](_0x2d4ebb),this[_0x3c319d(0x8d)](_0x2d4ebb);}[_0x5e9d2a(0x198)](_0x4ae10a){const _0x505671=_0x5e9d2a,{unitID:_0x4512bd}=_0x4ae10a,_0x470004=this[_0x505671(0x244)][_0x505671(0x164)](_0x4512bd)[_0x505671(0x1df)](_0x44fef9),{redoCache:_0x737cf4}=_0x470004['getUndoRedoMutationParamsCache']();if(_0x737cf4[_0x505671(0x26f)]===0x0)return _0x4ae10a;let _0x20a7a5=_0x1cd6f0[_0x505671(0x215)](_0x4ae10a['mutations'][0x0]);for(let _0x54adab=0x0;_0x54adab<_0x737cf4[_0x505671(0x26f)];_0x54adab++){const _0x5354b2={'id':_0x505671(0x1ea),'params':{..._0x737cf4[_0x54adab]}},_0x4c0e8e=this[_0x505671(0x10b)]['transformMutation'](_0x20a7a5,_0x5354b2,!0x1);if(_0x1caf96(_0x4c0e8e))throw _0x4c0e8e[_0x505671(0x19c)];_0x20a7a5=_0x4c0e8e['m1Prime'];}return{..._0x1cd6f0[_0x505671(0x215)](_0x4ae10a),'mutations':[_0x20a7a5]};}[_0x5e9d2a(0xe5)](_0x368553){const _0xc96f24=_0x5e9d2a,{unitID:_0x2907c2}=_0x368553,_0x41faed=this['_renderManagerService'][_0xc96f24(0x164)](_0x2907c2)['with'](_0x44fef9),{undoCache:_0x59a0eb,redoCache:_0x39ea7a}=_0x41faed[_0xc96f24(0x202)]();if(_0x59a0eb['length']===0x0||_0x39ea7a['length']===0x0)return;const _0x491fc8=[],_0x2a175c=[];let _0x46d0ba=_0x1cd6f0[_0xc96f24(0x215)](_0x368553['mutations'][0x0]),_0x1f262a=_0x1cd6f0[_0xc96f24(0x215)](_0x368553['mutations'][0x0]);for(let _0x43e158=_0x59a0eb['length']-0x1;_0x43e158>=0x0;_0x43e158--){const _0x161ff2={'id':_0xc96f24(0x1ea),'params':{..._0x59a0eb[_0x43e158]}},_0x75ce31={'id':'doc.mutation.rich-text-editing','params':{..._0x39ea7a[_0x43e158]}},_0x2647e7=this[_0xc96f24(0x10b)]['transformMutation'](_0x46d0ba,_0x161ff2,!0x1),_0x23e806=this['_transformService'][_0xc96f24(0x230)](_0x1f262a,_0x75ce31,!0x1);if(_0x1caf96(_0x2647e7))throw _0x2647e7['error'];if(_0x1caf96(_0x23e806))throw _0x23e806[_0xc96f24(0x19c)];_0x491fc8['unshift'](_0x2647e7['m2Prime'][_0xc96f24(0x168)]),_0x2a175c[_0xc96f24(0xd4)](_0x23e806[_0xc96f24(0x1bd)][_0xc96f24(0x168)]),_0x46d0ba=_0x2647e7[_0xc96f24(0x1e6)],_0x1f262a=_0x23e806[_0xc96f24(0x1e6)];}_0x41faed[_0xc96f24(0x1aa)]({'undoCache':_0x491fc8,'redoCache':_0x2a175c});}[_0x5e9d2a(0x8d)](_0x3952d4){const _0x7a9d24=_0x5e9d2a,{unitID:_0x4db62e}=_0x3952d4,_0x448ae5=this[_0x7a9d24(0x244)][_0x7a9d24(0x164)](_0x4db62e)['with'](_0x44fef9),_0x33fd93=_0x448ae5[_0x7a9d24(0x133)]();if(_0x33fd93==null)return;const _0x5e318a=[{'id':_0x7a9d24(0x1ea),'params':{'unitId':_0x3952d4['unitID'],'actions':null,'textRanges':[_0x33fd93]}}],_0x2b196e=this['_transformService']['transformMutationsWithChangeset'](_0x3952d4,_0x5e318a);if(!_0x1ee331(_0x2b196e))throw _0x2b196e['error'];const _0x149fbb=_0x2b196e[_0x7a9d24(0x1bd)][0x0]['params'][_0x7a9d24(0x27e)];Array['isArray'](_0x149fbb)&&_0x149fbb[_0x7a9d24(0x26f)]&&_0x448ae5[_0x7a9d24(0xc8)](_0x149fbb[0x0]);}};ne=tn([pe(0x0,_0x2afc3f(_0x1ccbb8)),pe(0x1,_0x282b64),pe(0x2,_0x49603f)],ne);var sn=Object[_0x5e9d2a(0x101)],nn=(_0x5146b0,_0x36fa5e,_0x2ffb3c,_0x568328)=>{for(var _0x5120e9=_0x568328>0x1?void 0x0:_0x568328?sn(_0x36fa5e,_0x2ffb3c):_0x36fa5e,_0xfa623a=_0x5146b0['length']-0x1,_0x210f89;_0xfa623a>=0x0;_0xfa623a--)(_0x210f89=_0x5146b0[_0xfa623a])&&(_0x5120e9=_0x210f89(_0x5120e9)||_0x5120e9);return _0x5120e9;},Ce=(_0x5977e8,_0x583e77)=>(_0x2214fe,_0x5b23d1)=>_0x583e77(_0x2214fe,_0x5b23d1,_0x5977e8);let re=class{constructor(_0x210107,_0x2e6b44,_0x4bf773){const _0x509daa=_0x5e9d2a;this[_0x509daa(0x160)]=_0x210107,this[_0x509daa(0x10b)]=_0x2e6b44,this[_0x509daa(0x234)]=_0x4bf773;}[_0x5e9d2a(0x1f3)](_0x4bec08){const _0x540f1b=_0x5e9d2a;this[_0x540f1b(0x130)](_0x4bec08);}[_0x5e9d2a(0x198)](_0x68e537){const _0x3ad2f3=_0x5e9d2a,{unitID:_0x5211f2}=_0x68e537,{collaboration:_0x2d2570}=this['_docStateChangeManagerService'][_0x3ad2f3(0x26d)](_0x5211f2);if(_0x2d2570[_0x3ad2f3(0x26f)]===0x0)return _0x68e537;let _0xe6557f=_0x1cd6f0[_0x3ad2f3(0x215)](_0x68e537['mutations'][0x0]);for(let _0x575e3d=0x0;_0x575e3d<_0x2d2570[_0x3ad2f3(0x26f)];_0x575e3d++){const _0x5d6ca6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d2570[_0x575e3d]['unitId'],..._0x2d2570[_0x575e3d][_0x3ad2f3(0x1f0)]}},_0x51768e=this[_0x3ad2f3(0x10b)][_0x3ad2f3(0x230)](_0xe6557f,_0x5d6ca6,!0x1);if(_0x1caf96(_0x51768e))throw _0x51768e[_0x3ad2f3(0x19c)];_0xe6557f=_0x51768e[_0x3ad2f3(0x1e6)];}return{..._0x1cd6f0[_0x3ad2f3(0x215)](_0x68e537),'mutations':[_0xe6557f]};}['_transformHistoryAndStateStack'](_0x5bbb09){const _0x333845=_0x5e9d2a,{unitID:_0x3fe4f8}=_0x5bbb09,{history:_0x4d7285,collaboration:_0x9793bf}=this['_docStateChangeManagerService'][_0x333845(0x26d)](_0x3fe4f8);if(_0x4d7285[_0x333845(0x26f)]===0x0&&_0x9793bf[_0x333845(0x26f)]===0x0)return;const _0x44d167=[],_0x4e5976=[];let _0x38de38=_0x1cd6f0[_0x333845(0x215)](_0x5bbb09['mutations'][0x0]),_0x4efe1f=_0x1cd6f0[_0x333845(0x215)](_0x5bbb09[_0x333845(0xea)][0x0]);for(let _0x22e0f8=_0x4d7285[_0x333845(0x26f)]-0x1;_0x22e0f8>=0x0;_0x22e0f8--){const _0x417d85={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d7285[_0x22e0f8][_0x333845(0x10d)],..._0x4d7285[_0x22e0f8][_0x333845(0x171)]}},_0x7f5411={'id':_0x333845(0x1ea),'params':{'unitId':_0x4d7285[_0x22e0f8][_0x333845(0x10d)],..._0x4d7285[_0x22e0f8][_0x333845(0x1f0)]}},_0x52f441=this[_0x333845(0x10b)][_0x333845(0x230)](_0x38de38,_0x417d85,!0x1),_0x3060f2=this['_transformService']['transformMutation'](_0x4efe1f,_0x7f5411,!0x1);if(_0x1caf96(_0x52f441))throw _0x52f441[_0x333845(0x19c)];if(_0x1caf96(_0x3060f2))throw _0x3060f2[_0x333845(0x19c)];_0x44d167[_0x333845(0xd4)]({..._0x4d7285[_0x22e0f8],'undoState':_0x52f441[_0x333845(0x1bd)][_0x333845(0x168)],'redoState':_0x3060f2['m2Prime'][_0x333845(0x168)]}),_0x38de38=_0x52f441[_0x333845(0x1e6)],_0x4efe1f=_0x3060f2[_0x333845(0x1e6)];}_0x38de38=_0x1cd6f0[_0x333845(0x215)](_0x5bbb09[_0x333845(0xea)][0x0]),_0x4efe1f=_0x1cd6f0[_0x333845(0x215)](_0x5bbb09[_0x333845(0xea)][0x0]);for(let _0x3a72e6=_0x9793bf[_0x333845(0x26f)]-0x1;_0x3a72e6>=0x0;_0x3a72e6--){const _0x1d4ce9={'id':_0x333845(0x1ea),'params':{'unitId':_0x9793bf[_0x3a72e6][_0x333845(0x10d)],..._0x9793bf[_0x3a72e6][_0x333845(0x171)]}},_0xb13dbe={'id':_0x333845(0x1ea),'params':{'unitId':_0x9793bf[_0x3a72e6][_0x333845(0x10d)],..._0x9793bf[_0x3a72e6]['redoState']}},_0x2a63f6=this[_0x333845(0x10b)]['transformMutation'](_0x38de38,_0x1d4ce9,!0x1),_0x1d30a5=this[_0x333845(0x10b)][_0x333845(0x230)](_0x4efe1f,_0xb13dbe,!0x1);if(_0x1caf96(_0x2a63f6))throw _0x2a63f6[_0x333845(0x19c)];if(_0x1caf96(_0x1d30a5))throw _0x1d30a5['error'];_0x4e5976['unshift']({..._0x9793bf[_0x3a72e6],'undoState':_0x2a63f6[_0x333845(0x1bd)][_0x333845(0x168)],'redoState':_0x1d30a5[_0x333845(0x1bd)]['params']}),_0x38de38=_0x2a63f6[_0x333845(0x1e6)],_0x4efe1f=_0x1d30a5[_0x333845(0x1e6)];}this[_0x333845(0x234)]['setStateCache'](_0x3fe4f8,{'history':_0x44d167,'collaboration':_0x4e5976});}};re=nn([Ce(0x0,_0x2afc3f(_0x1ccbb8)),Ce(0x1,_0x282b64),Ce(0x2,_0x2afc3f(_0x4ac406))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x2f8985,_0x3aee1b,_0x3f01e0,_0x48e23e)=>{const _0xfed1b1=_0x5e9d2a;for(var _0x1af7ab=_0x48e23e>0x1?void 0x0:_0x48e23e?rn(_0x3aee1b,_0x3f01e0):_0x3aee1b,_0x3e4adf=_0x2f8985[_0xfed1b1(0x26f)]-0x1,_0x5a983d;_0x3e4adf>=0x0;_0x3e4adf--)(_0x5a983d=_0x2f8985[_0x3e4adf])&&(_0x1af7ab=_0x5a983d(_0x1af7ab)||_0x1af7ab);return _0x1af7ab;},tt=(_0xa0bf8e,_0x50d84d)=>(_0x2c6c30,_0x18838b)=>_0x50d84d(_0x2c6c30,_0x18838b,_0xa0bf8e);let oe=class{constructor(_0x53c53a,_0x30e0ce){const _0x232b22=_0x5e9d2a;this[_0x232b22(0x160)]=_0x53c53a,this[_0x232b22(0x10b)]=_0x30e0ce;}[_0x5e9d2a(0x1b9)](_0x111729){const _0x7e6cc1=_0x5e9d2a;var _0x245cac;const _0x5a3a82=this[_0x7e6cc1(0x160)]['get'](_0x647975),_0x2ae8a7=(_0x245cac=_0x5a3a82[_0x7e6cc1(0x248)]())!=null?_0x245cac:[];if(_0x2ae8a7[_0x7e6cc1(0x26f)]===0x0)return;const _0x37eb5a=_0x111729[_0x7e6cc1(0x1cf)],_0x5606d8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37eb5a,'actions':null,'textRanges':_0x2ae8a7}}],_0x41ad53=this[_0x7e6cc1(0x10b)][_0x7e6cc1(0x17e)](_0x111729,_0x5606d8);if(!_0x1ee331(_0x41ad53))throw _0x41ad53[_0x7e6cc1(0x19c)];const _0x593d13=_0x41ad53[_0x7e6cc1(0x1bd)][0x0][_0x7e6cc1(0x168)][_0x7e6cc1(0x27e)];Array[_0x7e6cc1(0x16a)](_0x593d13)&&_0x593d13[_0x7e6cc1(0x26f)]&&_0x5a3a82[_0x7e6cc1(0x120)](_0x593d13,{'unitId':_0x37eb5a,'subUnitId':_0x37eb5a},!0x1);}};oe=on([tt(0x0,_0x2afc3f(_0x1ccbb8)),tt(0x1,_0x282b64)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x23d006,_0x5e021f,_0xd48324,_0x3d0812)=>{const _0x3a4f00=_0x5e9d2a;for(var _0x5892c1=_0x3d0812>0x1?void 0x0:_0x3d0812?an(_0x5e021f,_0xd48324):_0x5e021f,_0x465e1f=_0x23d006[_0x3a4f00(0x26f)]-0x1,_0x1a6988;_0x465e1f>=0x0;_0x465e1f--)(_0x1a6988=_0x23d006[_0x465e1f])&&(_0x5892c1=_0x1a6988(_0x5892c1)||_0x5892c1);return _0x5892c1;},U=(_0x3a3d19,_0x580713)=>(_0x5c5304,_0x22bca9)=>_0x580713(_0x5c5304,_0x22bca9,_0x3a3d19);let ae=class extends _0x5348ab{constructor(_0x5109ba,_0x23f5ee,_0x1c9088,_0x68b4c6,_0x5f241c,_0x4bda72,_0x2f729e,_0x50cb4e){const _0x5db1e2=_0x5e9d2a;super(),_(this,_0x5db1e2(0x1a2),new _0x1084b7(_0x2bb882[_0x5db1e2(0x14a)])),(this['_docStateChangeManagerService']=_0x5109ba,this['_collaborationController']=_0x23f5ee,this['_docTransformIMECacheService']=_0x1c9088,this['_docTransformStateCacheService']=_0x68b4c6,this[_0x5db1e2(0x280)]=_0x5f241c,this[_0x5db1e2(0x139)]=_0x4bda72,this[_0x5db1e2(0x15c)]=_0x2f729e,this[_0x5db1e2(0x1d5)]=_0x50cb4e,this[_0x5db1e2(0x1e3)]());}[_0x5e9d2a(0x1e3)](){const _0xa34e52=_0x5e9d2a;this['disposeWithMe'](this[_0xa34e52(0x174)]['entityInit$'][_0xa34e52(0x25d)](_0x390e8a=>{const _0x33ab8a=_0xa34e52,_0x1ee79c=this[_0x33ab8a(0x234)][_0x33ab8a(0xd1)][_0x33ab8a(0x25d)](_0x59458c=>{const _0x313fad=_0x33ab8a;if(_0x59458c==null)return;const {unitId:_0x2d74e5,redoState:_0x40d5f7,commandId:_0x5d7c4f}=_0x59458c;if(_0x2d74e5!==_0x390e8a[_0x313fad(0x1cf)])return;const _0x4376c3={'id':_0x5d7c4f,'type':_0xffdb93['MUTATION'],'params':{'unitId':_0x2d74e5,'actions':_0x40d5f7[_0x313fad(0x148)],'textRanges':null}};_0x390e8a['onLocalMutation'](_0x4376c3);});if(_0x390e8a[_0x33ab8a(0xf6)](_0x1ee79c),_0x390e8a instanceof _0xa8c8e4){const _0x4bdf68={'onTransformIME':_0x4d2e98=>this[_0x33ab8a(0x189)]['transformIMECache'](_0x4d2e98),'onTransformState':_0x197cb7=>this[_0x33ab8a(0x1b5)]['transformStateCache'](_0x197cb7),'onTransformSelections':_0x2cf05a=>this[_0x33ab8a(0x280)]['transformSelections'](_0x2cf05a),'onSyncEditingCollabCursor':_0x289f2f=>this[_0x33ab8a(0x139)]['syncEditingCollabCursor'](_0x289f2f),'onTransformRemoteChangesetByIMECache':_0x5edf9d=>this['_docTransformIMECacheService'][_0x33ab8a(0x198)](_0x5edf9d),'onTransformRemoteChangesetByStateCache':_0x439582=>this['_docTransformStateCacheService'][_0x33ab8a(0x198)](_0x439582)};_0x390e8a['addHandlerCallback'](_0x4bdf68);}}));}};ae=cn([U(0x0,_0x2afc3f(_0x4ac406)),U(0x1,_0x2afc3f(_0x5818ba)),U(0x2,_0x2afc3f(ne)),U(0x3,_0x2afc3f(re)),U(0x4,_0x2afc3f(oe)),U(0x5,_0x2afc3f(He)),U(0x6,_0x5ea77a),U(0x7,_0x2afc3f(_0x17d115))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x524272,_0x11ca93,_0xd6a601,_0x56204f)=>{const _0x1da821=_0x5e9d2a;for(var _0x314707=_0x56204f>0x1?void 0x0:_0x56204f?ln(_0x11ca93,_0xd6a601):_0x11ca93,_0xa8c162=_0x524272[_0x1da821(0x26f)]-0x1,_0x17dbf0;_0xa8c162>=0x0;_0xa8c162--)(_0x17dbf0=_0x524272[_0xa8c162])&&(_0x314707=_0x17dbf0(_0x314707)||_0x314707);return _0x314707;},Ee=(_0x3bb587,_0x13fca6)=>(_0xe8e2e1,_0x583cd1)=>_0x13fca6(_0xe8e2e1,_0x583cd1,_0x3bb587);let Le=class extends _0x5348ab{constructor(_0x16cbcb,_0x4e67bd,_0x2be5e8){const _0xacc5ee=_0x5e9d2a;super(),_(this,_0xacc5ee(0x131),new Map()),_(this,_0xacc5ee(0x263),new Map()),_(this,_0xacc5ee(0x161),!0x1),(this[_0xacc5ee(0x221)]=_0x16cbcb,this[_0xacc5ee(0x1ff)]=_0x4e67bd,this[_0xacc5ee(0x1b7)]=_0x2be5e8);}[_0x5e9d2a(0xd7)](){const _0x4eadc3=_0x5e9d2a;this[_0x4eadc3(0x161)]=!0x0;}[_0x5e9d2a(0x27a)](){const _0xebeb87=_0x5e9d2a;this[_0xebeb87(0x161)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x5e9d2a(0x17a)](){const _0x5118a7=_0x5e9d2a;this[_0x5118a7(0x84)]()[_0x5118a7(0x284)](()=>super[_0x5118a7(0x17a)]());}async['loadOfflineData'](_0x3bed21){const _0x31bd6e=_0x5e9d2a;return this[_0x31bd6e(0x161)]?null:this[_0x31bd6e(0x1ff)][_0x31bd6e(0xe3)](_0x3573d9(_0x3bed21));}async[_0x5e9d2a(0x142)](_0x3e2a3f,_0x134db2){const _0xb3ce8f=_0x5e9d2a;return!!this[_0xb3ce8f(0x1ff)][_0xb3ce8f(0x8c)](_0x3e2a3f,_0x134db2);}['updateOfflineData'](_0x49b94f,_0x55be7d,_0x141d93,_0x2517f9){const _0x3e290d=_0x5e9d2a,_0x4143f4=this[_0x3e290d(0x1b7)][_0x3e290d(0x21c)](_0x49b94f);this['_cachedData'][_0x3e290d(0x138)](_0x49b94f,{'unitID':_0x49b94f,'type':_0x55be7d,'awaitingChangeset':_0x141d93,'mutations':_0x2517f9,'rev':_0x4143f4}),this[_0x3e290d(0x263)][_0x3e290d(0x225)](_0x49b94f)||this[_0x3e290d(0x14b)](_0x49b94f);}[_0x5e9d2a(0x14b)](_0x2a0e4a){const _0x762fb0=_0x5e9d2a,_0x1e5c6c=this[_0x762fb0(0xcc)]();_0x1e5c6c===0x0?this['_saveCache'](_0x2a0e4a):this[_0x762fb0(0x263)][_0x762fb0(0x138)](_0x2a0e4a,setTimeout(()=>this[_0x762fb0(0x18c)](_0x2a0e4a),_0x1e5c6c));}['_getSaveTimeout'](){const _0x10aa6f=_0x5e9d2a;var _0x369989;return(_0x369989=this['_configService'][_0x10aa6f(0x16b)](_0x2a7a01))!=null?_0x369989:_0x42b703;}[_0x5e9d2a(0x18c)](_0x1ad58d){const _0x172807=_0x5e9d2a,_0x557c35=this['_saveTaskMap'][_0x172807(0x88)](_0x1ad58d);return _0x557c35!==void 0x0&&window[_0x172807(0x24b)](_0x557c35),this[_0x172807(0x1ff)][_0x172807(0x8c)](_0x3573d9(_0x1ad58d),this['_cachedData']['get'](_0x1ad58d))[_0x172807(0x284)](()=>this[_0x172807(0x263)][_0x172807(0x13e)](_0x1ad58d));}async[_0x5e9d2a(0x84)](){const _0x590658=_0x5e9d2a,_0x937b80=[];this['_saveTaskMap']['forEach']((_0x2c9a42,_0x1e4c2e)=>{const _0x4ec486=_0x232c;window[_0x4ec486(0x24b)](_0x2c9a42),_0x937b80[_0x4ec486(0xb9)](this[_0x4ec486(0x18c)](_0x1e4c2e)[_0x4ec486(0x284)](()=>{const _0x58a456=_0x4ec486;this[_0x58a456(0x263)][_0x58a456(0x13e)](_0x1e4c2e);}));}),await Promise[_0x590658(0x8e)](_0x937b80);}};Le=_n([Ee(0x0,_0x335bdb),Ee(0x1,_0x53feb7),Ee(0x2,_0x2afc3f(_0xbe9a23))],Le);class hn extends _0x21dcc4{constructor(){const _0x118570=_0x5e9d2a;super(),_(this,_0x118570(0x22e)),this[_0x118570(0x22e)]=_0x55984f(window,_0x118570(0x1d8))['pipe'](_0x41fc4e(this[_0x118570(0x25b)]),_0x2bcb9c(0x1),_0x2169f6(void 0x0));}[_0x5e9d2a(0x1ae)](_0xd07c6,_0x2e2756,_0x588f0f=!0x1){const _0x370da1=_0x5e9d2a,_0x54f68a=new URL(window[_0x370da1(0x207)][_0x370da1(0x20b)]);_0x54f68a[_0x370da1(0x253)][_0x370da1(0x138)](_0xd07c6,_0x2e2756),_0x588f0f?window['history'][_0x370da1(0x264)]('','',_0x54f68a[_0x370da1(0x109)]()):window[_0x370da1(0x10f)][_0x370da1(0x277)]('','',_0x54f68a[_0x370da1(0x109)]());}[_0x5e9d2a(0xa6)](_0xe1cbf3,_0x59336e=!0x1){const _0x3167fd=_0x5e9d2a,_0x37816b=new URL(window[_0x3167fd(0x207)][_0x3167fd(0x20b)]);_0x37816b[_0x3167fd(0x253)][_0x3167fd(0x13e)](_0xe1cbf3),_0x59336e?window[_0x3167fd(0x10f)][_0x3167fd(0x264)]('','',_0x37816b[_0x3167fd(0x109)]()):window['history']['pushState']('','',_0x37816b[_0x3167fd(0x109)]());}[_0x5e9d2a(0x26c)](_0x4f9abd){const _0x58f471=_0x5e9d2a;var _0x343c55;return(_0x343c55=new URL(window['location'][_0x58f471(0x20b)])['searchParams'][_0x58f471(0x88)](_0x4f9abd))!=null?_0x343c55:void 0x0;}}var un=Object[_0x5e9d2a(0x1af)],dn=Object[_0x5e9d2a(0x101)],fn=(_0x4d7bb9,_0x5c8767,_0x3b8bfa)=>_0x5c8767 in _0x4d7bb9?un(_0x4d7bb9,_0x5c8767,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b8bfa}):_0x4d7bb9[_0x5c8767]=_0x3b8bfa,Sn=(_0x3a493e,_0x2aeabe,_0x30c267,_0x4dbb14)=>{const _0x58af3f=_0x5e9d2a;for(var _0x589ba3=_0x4dbb14>0x1?void 0x0:_0x4dbb14?dn(_0x2aeabe,_0x30c267):_0x2aeabe,_0x171b8d=_0x3a493e[_0x58af3f(0x26f)]-0x1,_0x1d3bc6;_0x171b8d>=0x0;_0x171b8d--)(_0x1d3bc6=_0x3a493e[_0x171b8d])&&(_0x589ba3=_0x1d3bc6(_0x589ba3)||_0x589ba3);return _0x589ba3;},be=(_0x9f30e9,_0x544fe6)=>(_0x798fa2,_0x4e1757)=>_0x544fe6(_0x798fa2,_0x4e1757,_0x9f30e9),mn=(_0x4bb730,_0x5f2b61,_0x2dde56)=>fn(_0x4bb730,_0x5f2b61+'',_0x2dde56);const gn=_0x5e9d2a(0x115);let Ae=class extends _0x4977e4{constructor(_0x456717=et,_0x314cee,_0x3fcb2f,_0x3d314c){const _0x26a825=_0x5e9d2a;super(),this[_0x26a825(0x188)]=_0x456717,this[_0x26a825(0x244)]=_0x314cee,this[_0x26a825(0x160)]=_0x3fcb2f,this[_0x26a825(0x221)]=_0x3d314c;const {..._0x1d2ad6}=_0x343961({},et,this['_config']);this[_0x26a825(0x221)][_0x26a825(0x24d)](Zi,_0x1d2ad6);}[_0x5e9d2a(0x1ee)](){const _0x2239a2=_0x5e9d2a;this[_0x2239a2(0x82)](),this[_0x2239a2(0xc2)]();}[_0x5e9d2a(0x278)](){const _0x533ee7=_0x5e9d2a;this[_0x533ee7(0x199)]();}[_0x5e9d2a(0x82)](){const _0x113819=_0x5e9d2a;var _0x52c00e;const _0x374d85=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x52d687,{'useClass':_0x3f16fb}],[_0x48bf36,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3c0aa9(this['_injector'],_0x4c7ef2(_0x374d85,(_0x52c00e=this[_0x113819(0x188)])==null?void 0x0:_0x52c00e[_0x113819(0x229)]));}[_0x5e9d2a(0x199)](){const _0x5dce09=_0x5e9d2a;this['disposeWithMe'](this[_0x5dce09(0x244)][_0x5dce09(0x1fb)](_0xe74d3[_0x5dce09(0x26a)],[Pe])),this[_0x5dce09(0xf6)](this['_renderManagerService'][_0x5dce09(0x1fb)](_0xe74d3[_0x5dce09(0x85)],[we]));}[_0x5e9d2a(0xc2)](){const _0x774c09=_0x5e9d2a;_0x56af15(this[_0x774c09(0x160)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x5e9d2a(0x27f),gn),Ae=Sn([_0x5a6ae2(_0x1a896e),be(0x1,_0x49603f),be(0x2,_0x2afc3f(_0x1ccbb8)),be(0x3,_0x335bdb)],Ae);var vn=Object[_0x5e9d2a(0x101)],In=(_0x224044,_0x4a1a12,_0x3dc612,_0x513b05)=>{const _0x41c219=_0x5e9d2a;for(var _0x4e7a51=_0x513b05>0x1?void 0x0:_0x513b05?vn(_0x4a1a12,_0x3dc612):_0x4a1a12,_0x184412=_0x224044[_0x41c219(0x26f)]-0x1,_0x3371e5;_0x184412>=0x0;_0x184412--)(_0x3371e5=_0x224044[_0x184412])&&(_0x4e7a51=_0x3371e5(_0x4e7a51)||_0x4e7a51);return _0x4e7a51;},K=(_0x32721a,_0x2dd6fa)=>(_0x59e1e2,_0x4e5e7f)=>_0x2dd6fa(_0x59e1e2,_0x4e5e7f,_0x32721a);let st=class extends _0x5308bc{constructor(_0x548819,_0x464134,_0x1c4308,_0x4be484,_0x4fc362){super(_0x548819,_0x464134,_0x1c4308,_0x4be484,_0x4fc362);}async['createSocket'](_0x588b3e){const _0xcdd695=_0x5e9d2a,_0x530695=await this[_0xcdd695(0x89)](),_0x732ca=this['_createSocketURL'](_0x588b3e,_0x530695);return this[_0xcdd695(0xa8)](_0x732ca);}['_createSocketURL'](_0xc955b9,_0x5db7be){const _0xa6f9fa=_0x5e9d2a,_0x2ba573=typeof window>'u'?new URL(_0xc955b9):new URL(_0xc955b9,window[_0xa6f9fa(0x207)][_0xa6f9fa(0x12f)]);_0x2ba573['searchParams']['set'](_0xa6f9fa(0x110),_0x5db7be);const _0x1bd2d6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xa6f9fa(0x207)][_0xa6f9fa(0x112)]);return _0x1bd2d6['get']('runId')&&_0x2ba573[_0xa6f9fa(0x253)]['set'](_0xa6f9fa(0xd0),_0x1bd2d6[_0xa6f9fa(0x88)]('runId')),_0x2ba573[_0xa6f9fa(0x109)]();}async['_getSessionTicket'](){const _0xad920a=_0x5e9d2a;var _0x549c03,_0x2c2051,_0x5c1be7;const _0x305793=this[_0xad920a(0x221)][_0xad920a(0x16b)](_0x3593b6),_0x4ba81e=(_0x549c03=_0x305793==null?void 0x0:_0x305793['wsSessionTicketUrl'])!=null?_0x549c03:_0x28ee03;return(_0x5c1be7=(_0x2c2051=(await this[_0xad920a(0x116)]['get'](_0x4ba81e,{'headers':{'Content-Type':_0xad920a(0x1ab)}}))[_0xad920a(0x1f5)])==null?void 0x0:_0x2c2051[_0xad920a(0xf0)])!=null?_0x5c1be7:'';}};st=In([K(0x0,_0x2afc3f(_0x1ccbb8)),K(0x1,_0x2afc3f(_0x5b1d0d)),K(0x2,_0x335bdb),K(0x3,_0x1936a9),K(0x4,_0x2903a1)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x5348ab{constructor(){const _0x1781e3=_0x5e9d2a;super(),_(this,'_id',_0x3a1a85()),_(this,_0x1781e3(0x19b),new Set()),_(this,_0x1781e3(0x1f4),new Map()),_(this,_0x1781e3(0xe4),null),_(this,_0x1781e3(0x17f),new Map()),_(this,'_unitStatus',new Map()),this[_0x1781e3(0x136)]();}['dispose'](){const _0x11ae20=_0x5e9d2a;super[_0x11ae20(0x17a)](),this[_0x11ae20(0x17f)][_0x11ae20(0x281)]((_0x41fed3,_0x27ac09)=>this['_removeClearOtherTimer'](_0x27ac09)),this[_0x11ae20(0xe4)]&&window[_0x11ae20(0xf4)](this[_0x11ae20(0xe4)]);}[_0x5e9d2a(0x170)](_0x36a3ec){const _0x3401a4=_0x5e9d2a;return this[_0x3401a4(0x1e9)](_0x36a3ec)['pipe'](_0x2b3d97());}[_0x5e9d2a(0x222)](_0x3dde86){const _0x2dec19=_0x5e9d2a;this['_selfUnitIDs'][_0x2dec19(0x1b4)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x2dec19(0x1b8)](_0x3dde86),this[_0x2dec19(0xad)]({'type':0x0,'memberID':this[_0x2dec19(0x16d)],'unitIDs':[_0x3dde86],'isForwarded':!0x1});}[_0x5e9d2a(0x113)](_0x2f4782){const _0x4559b6=_0x5e9d2a;this[_0x4559b6(0x19b)][_0x4559b6(0x13e)](_0x2f4782),this[_0x4559b6(0x19b)][_0x4559b6(0x1b4)]===0x0&&this[_0x4559b6(0xe4)]&&window[_0x4559b6(0xf4)](this[_0x4559b6(0xe4)]);}['_init'](){const _0x2c85e4=_0x5e9d2a;this[_0x2c85e4(0xf6)](_0x2f98b2(_0x55984f(window,_0x2c85e4(0xc9))['subscribe'](_0x286be9=>{const _0x5066f7=_0x2c85e4;if(_0x286be9[_0x5066f7(0x1c0)]!==nt||!_0x286be9[_0x5066f7(0x153)])return;const _0x26d54d=JSON[_0x5066f7(0x1fd)](_0x286be9[_0x5066f7(0x153)]);this[_0x5066f7(0xc5)](_0x26d54d);}))),window[_0x2c85e4(0x203)](_0x2c85e4(0x13d),()=>this[_0x2c85e4(0xad)]({'type':0x1,'memberID':this[_0x2c85e4(0x16d)],'unitIDs':Array[_0x2c85e4(0x87)](this['_selfUnitIDs'])}));}[_0x5e9d2a(0xc5)](_0x2a7750){const _0xa3270c=_0x5e9d2a;switch(_0x2a7750[_0xa3270c(0xd5)]){case 0x0:this[_0xa3270c(0x81)](_0x2a7750);break;case 0x1:this[_0xa3270c(0x158)](_0x2a7750);break;case 0x2:this[_0xa3270c(0x145)](_0x2a7750);break;}}[_0x5e9d2a(0x81)](_0x56cc3f){const _0x31c4c=_0x5e9d2a,{unitIDs:_0x231769,memberID:_0x369a76,isForwarded:_0x694648}=_0x56cc3f;_0x231769['forEach'](_0x4bac10=>{const _0x161a17=_0x232c;if(!_0x694648&&this['_unitOnClients'][_0x161a17(0x225)](_0x4bac10)&&this[_0x161a17(0x1e9)](_0x4bac10)['next'](_0x4b9ec2[_0x161a17(0x191)]),!this[_0x161a17(0x1f4)][_0x161a17(0x225)](_0x4bac10)||!this[_0x161a17(0x1f4)]['get'](_0x4bac10)['has'](_0x369a76)){const _0xd42fef=this['_unitOnClients'][_0x161a17(0x88)](_0x4bac10)||new Set();_0xd42fef[_0x161a17(0x1b8)](_0x369a76),this[_0x161a17(0x1f4)][_0x161a17(0x138)](_0x4bac10,_0xd42fef),this[_0x161a17(0x9d)](_0x369a76);}}),_0x694648||this[_0x31c4c(0xad)]({'type':0x0,'memberID':this[_0x31c4c(0x16d)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5e9d2a(0x9d)](_0x565047){const _0x55e2cb=_0x5e9d2a;this[_0x55e2cb(0x12c)](_0x565047);const _0x585289=window[_0x55e2cb(0x238)](()=>{const _0x35b60d=_0x55e2cb;this[_0x35b60d(0x1f4)][_0x35b60d(0x281)](_0x169238=>{const _0x64b90b=_0x35b60d;_0x169238[_0x64b90b(0x13e)](_0x565047);});},it*0x2);this[_0x55e2cb(0x17f)][_0x55e2cb(0x138)](_0x565047,_0x585289);}['_removeClearOtherTimer'](_0x4f9321){const _0x57209a=_0x5e9d2a;if(this['_clearOtherTimers']['has'](_0x4f9321)){const _0x396098=this[_0x57209a(0x17f)]['get'](_0x4f9321);_0x396098&&window[_0x57209a(0x24b)](_0x396098),this[_0x57209a(0x17f)]['set'](_0x4f9321,null);}}['_handleLeaveEvent'](_0x4ca74f){const _0x44043a=_0x5e9d2a,{memberID:_0x542be7,unitIDs:_0x166be7}=_0x4ca74f;_0x166be7[_0x44043a(0x281)](_0x228a96=>{const _0x1528fc=_0x44043a;var _0x34ae08;const _0x5220c3=this['_unitOnClients'][_0x1528fc(0x88)](_0x228a96);_0x5220c3&&(_0x5220c3['delete'](_0x542be7),(_0x34ae08=this[_0x1528fc(0x1e9)](_0x228a96))==null||_0x34ae08[_0x1528fc(0x1d3)](_0x5220c3[_0x1528fc(0x1b4)]===0x0?_0x4b9ec2['NO_OTHER_CLIENTS_EDITING']:_0x4b9ec2['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x542be7);}[_0x5e9d2a(0x145)](_0x12fc35){const _0x58226e=_0x5e9d2a;this['_scheduleClearOtherTimer'](_0x12fc35[_0x58226e(0xb8)]);}[_0x5e9d2a(0xad)](_0x59d6ca){const _0x3c7f5d=_0x5e9d2a;localStorage[_0x3c7f5d(0x8c)](nt,JSON[_0x3c7f5d(0x184)](_0x59d6ca));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x234d78=_0x232c;this[_0x234d78(0xad)]({'type':0x2,'memberID':this[_0x234d78(0x16d)]});},it);}[_0x5e9d2a(0x1e9)](_0x31decf){const _0x2aa360=_0x5e9d2a;return this['_unitStatus'][_0x2aa360(0x225)](_0x31decf)||this[_0x2aa360(0xd3)][_0x2aa360(0x138)](_0x31decf,new _0x1084b7(_0x4b9ec2['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x31decf);}}var Mt=(_0x1baacc=>(_0x1baacc[_0x1baacc[_0x5e9d2a(0x1ce)]=0x0]='UNDEFINED',_0x1baacc[_0x1baacc['OK']=0x1]='OK',_0x1baacc[_0x1baacc[_0x5e9d2a(0xa9)]=0x2]=_0x5e9d2a(0xa9),_0x1baacc[_0x1baacc[_0x5e9d2a(0x216)]=0x3]='PERMISSION_DENIED',_0x1baacc[_0x1baacc[_0x5e9d2a(0x157)]=0x4]=_0x5e9d2a(0x157),_0x1baacc[_0x1baacc['UNAUTHENTICATED']=0x5]=_0x5e9d2a(0x1eb),_0x1baacc[_0x1baacc[_0x5e9d2a(0x268)]=0x6]=_0x5e9d2a(0x268),_0x1baacc[_0x1baacc[_0x5e9d2a(0x19f)]=0x7]='INVALID_ARGUMENT',_0x1baacc[_0x1baacc[_0x5e9d2a(0xb2)]=0x8]='TOO_MANY_REQUESTS',_0x1baacc[_0x1baacc['COMPLETION_FINISHED']=0x9]=_0x5e9d2a(0x21e),_0x1baacc[_0x1baacc[_0x5e9d2a(0x1b2)]=0xa]=_0x5e9d2a(0x1b2),_0x1baacc[_0x1baacc[_0x5e9d2a(0xa1)]=0x1389]=_0x5e9d2a(0xa1),_0x1baacc[_0x1baacc[_0x5e9d2a(0x12d)]=0x1771]=_0x5e9d2a(0x12d),_0x1baacc[_0x1baacc[_0x5e9d2a(0xa7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1baacc[_0x1baacc[_0x5e9d2a(0xce)]=0x1773]=_0x5e9d2a(0xce),_0x1baacc[_0x1baacc[_0x5e9d2a(0x231)]=0x1b59]=_0x5e9d2a(0x231),_0x1baacc[_0x1baacc[_0x5e9d2a(0x23b)]=0x1b5a]=_0x5e9d2a(0x23b),_0x1baacc[_0x1baacc[_0x5e9d2a(0x152)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1baacc[_0x1baacc[_0x5e9d2a(0x165)]=0x1b5c]=_0x5e9d2a(0x165),_0x1baacc[_0x1baacc[_0x5e9d2a(0x273)]=0x1b5d]=_0x5e9d2a(0x273),_0x1baacc[_0x1baacc[_0x5e9d2a(0x265)]=0x1f41]=_0x5e9d2a(0x265),_0x1baacc[_0x1baacc[_0x5e9d2a(0x1a6)]=0x2329]=_0x5e9d2a(0x1a6),_0x1baacc[_0x1baacc['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5e9d2a(0x1d1),_0x1baacc[_0x1baacc['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5e9d2a(0x249),_0x1baacc[_0x1baacc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5e9d2a(0x15a),_0x1baacc[_0x1baacc[_0x5e9d2a(0x23a)]=0x232d]=_0x5e9d2a(0x23a),_0x1baacc[_0x1baacc[_0x5e9d2a(0x104)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1baacc[_0x1baacc[_0x5e9d2a(0x128)]=0x2712]=_0x5e9d2a(0x128),_0x1baacc[_0x1baacc['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e9d2a(0xc1),_0x1baacc[_0x1baacc[_0x5e9d2a(0xe9)]=0x2714]=_0x5e9d2a(0xe9),_0x1baacc[_0x1baacc[_0x5e9d2a(0xe6)]=0x271a]=_0x5e9d2a(0xe6),_0x1baacc[_0x1baacc[_0x5e9d2a(0x14e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1baacc[_0x1baacc[_0x5e9d2a(0x1e5)]=0x2af9]=_0x5e9d2a(0x1e5),_0x1baacc[_0x1baacc[_0x5e9d2a(0xc6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1baacc[_0x1baacc['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1baacc[_0x1baacc[_0x5e9d2a(0x150)]=0x2ee3]=_0x5e9d2a(0x150),_0x1baacc[_0x1baacc[_0x5e9d2a(0x24c)]=0x2ee4]=_0x5e9d2a(0x24c),_0x1baacc[_0x1baacc[_0x5e9d2a(0xa5)]=0x2ee5]=_0x5e9d2a(0xa5),_0x1baacc[_0x1baacc[_0x5e9d2a(0x227)]=0x32c9]=_0x5e9d2a(0x227),_0x1baacc[_0x1baacc[_0x5e9d2a(0x119)]=0x32ca]=_0x5e9d2a(0x119),_0x1baacc[_0x1baacc[_0x5e9d2a(0x1d2)]=0x32cb]=_0x5e9d2a(0x1d2),_0x1baacc[_0x1baacc[_0x5e9d2a(0xe0)]=-0x1]=_0x5e9d2a(0xe0),_0x1baacc))(Mt||{}),pn=Object[_0x5e9d2a(0x101)],Cn=(_0x2f684b,_0x474054,_0x614b99,_0x770b98)=>{for(var _0x22af9a=_0x770b98>0x1?void 0x0:_0x770b98?pn(_0x474054,_0x614b99):_0x474054,_0x3e9612=_0x2f684b['length']-0x1,_0x1dc756;_0x3e9612>=0x0;_0x3e9612--)(_0x1dc756=_0x2f684b[_0x3e9612])&&(_0x22af9a=_0x1dc756(_0x22af9a)||_0x22af9a);return _0x22af9a;},Oe=(_0x2de89c,_0x43ff8f)=>(_0x1355cd,_0x4144d1)=>_0x43ff8f(_0x1355cd,_0x4144d1,_0x2de89c);let rt=class extends _0x5348ab{constructor(_0x39a773,_0xd2dea3,_0x2966be){const _0x5415fe=_0x5e9d2a;super(),this[_0x5415fe(0x11c)]=_0x39a773,this['_httpService']=_0xd2dea3,this['_configService']=_0x2966be;}async[_0x5e9d2a(0x18a)](_0x4202c9,_0x66ccd,_0x1c3c66,..._0x54e3ce){const _0x5f399f=_0x5e9d2a;var _0x40be9a,_0x141951,_0x54aba9,_0x4b3782;const _0x249876=this[_0x5f399f(0x11c)]['getFocusedUnit']();if(!_0x249876)throw new Error(_0x5f399f(0xb0));const _0x2cd22f=((_0x40be9a=this['_configService'][_0x5f399f(0x16b)](_0x507d96))!=null?_0x40be9a:_0x5661ee)+'/'+_0x4202c9+_0x5f399f(0x167)+_0x66ccd,_0x2576fc=new URL(window[_0x5f399f(0x207)][_0x5f399f(0x20b)]),_0x5b929e={'scriptId':_0x4202c9,'runId':(_0x141951=_0x2576fc[_0x5f399f(0x253)][_0x5f399f(0x88)](_0x5f399f(0xd0)))!=null?_0x141951:'','function':_0x66ccd,'unitId':_0x249876['getUnitId'](),'argsOfFunction':JSON[_0x5f399f(0x184)](_0x54e3ce),'invokeId':(_0x54aba9=_0x1c3c66['invokeId'])!=null?_0x54aba9:'','executionId':(_0x4b3782=_0x1c3c66[_0x5f399f(0x26b)])!=null?_0x4b3782:''};try{const _0x30c2f3=await this[_0x5f399f(0x116)][_0x5f399f(0x220)](_0x2cd22f,{'body':_0x5b929e});return _0x30c2f3[_0x5f399f(0x1f5)][_0x5f399f(0x19c)]&&_0x30c2f3[_0x5f399f(0x1f5)][_0x5f399f(0x19c)][_0x5f399f(0x245)]!==Mt['OK']?_0x5f399f(0x1d9):_0x30c2f3[_0x5f399f(0x1f5)][_0x5f399f(0x118)];}catch{return _0x5f399f(0x1d9);}}};rt=Cn([Oe(0x0,_0x31afa3),Oe(0x1,_0x2afc3f(_0x5b1d0d)),Oe(0x2,_0x335bdb)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x64a570=_0x484b;(function(_0x15c52a,_0x1d60bc){const _0xf6834a=_0x484b,_0x449274=_0x15c52a();while(!![]){try{const _0x4986e5=parseInt(_0xf6834a(0x27b))/0x1+-parseInt(_0xf6834a(0x18a))/0x2+-parseInt(_0xf6834a(0x253))/0x3*(-parseInt(_0xf6834a(0x289))/0x4)+-parseInt(_0xf6834a(0x1a9))/0x5+-parseInt(_0xf6834a(0x2a1))/0x6+-parseInt(_0xf6834a(0x2a4))/0x7*(-parseInt(_0xf6834a(0x30c))/0x8)+-parseInt(_0xf6834a(0x2b7))/0x9*(parseInt(_0xf6834a(0x31e))/0xa);if(_0x4986e5===_0x1d60bc)break;else _0x449274['push'](_0x449274['shift']());}catch(_0x3b174b){_0x449274['push'](_0x449274['shift']());}}}(_0x2330,0xdb237));var $t=Object[_0x64a570(0x201)],xt=(_0x4edadb,_0x4187dc,_0x198cca)=>_0x4187dc in _0x4edadb?$t(_0x4edadb,_0x4187dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x198cca}):_0x4edadb[_0x4187dc]=_0x198cca,_=(_0x40a938,_0x1ede69,_0x34873d)=>xt(_0x40a938,typeof _0x1ede69!='symbol'?_0x1ede69+'':_0x1ede69,_0x34873d);import{MemberService as _0x17cc58,SessionStatus as _0x35a6db,CollaborationSessionService as _0x26288a,CollaborationStatus as _0xa376d9,CollaborationController as _0x46cb23,ILocalCacheService as _0x1cfe94,CollaborationUIEventService as _0x5812fd,CollaborationUIEventId as _0x40c25b,DataLoaderService as _0x1912e7,DocCollaborationEntity as _0x37ddb9,getLocalCacheKey as _0x517f52,LOCAL_CACHE_INTERVAL as _0x3d84b0,LOCAL_CACHE_INTERVAL_KEY as _0x1c911e,UniverCollaborationClientPlugin as _0x1ce9a9,CollaborationSocketService as _0x571743,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x26d7ce,DEFAULT_WS_SESSION_TICKET_URL as _0x27918a,UnitStatus as _0xa4f239,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1444f7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x565fbd}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1f868b,Disposable as _0x455ce9,DOC_RANGE_TYPE as _0x32d4e6,Inject as _0x31e7fe,Injector as _0x533dcb,IUniverInstanceService as _0x58d7bd,ICommandService as _0x120bf5,debounce as _0x737ff2,Rectangle as _0x77a989,DisposableCollection as _0x366c5c,toDisposable as _0x3e0dad,UniverInstanceType as _0x20393a,Tools as _0x237755,COLORS as _0x2982c6,ColorKit as _0x15fe72,ThemeService as _0x21db4a,fromEventSubject as _0x3273b8,LocaleService as _0x1eede4,createIdentifier as _0x274757,ILogService as _0x5e80c4,Optional as _0xb13320,Workbook as _0x5278e9,CommandType as _0x441a91,IConfigService as _0x379d2b,ILocalStorageService as _0x4e8043,DependentOn as _0x1ab186,Plugin as _0x36458f,merge as _0x20f69b,registerDependencies as _0x40d7ab,mergeOverrideWithDependencies as _0x52d8e1,touchDependencies as _0x551233,generateRandomId as _0x33fcde}from'@univerjs/core';import{Shape as _0x3b7977,Rect as _0x5e2a0b,getColor as _0x15d7dd,RegularPolygon as _0x5826cc,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2858bb,Vector2 as _0x352975,SHEET_VIEWPORT_KEY as _0x4cb84c,IRenderManagerService as _0x1e1d94}from'@univerjs/engine-render';import{ISocketService as _0x8c7098,WebSocketService as _0x115e8c,HTTPService as _0x1c5848}from'@univerjs/network';import{IDocClipboardService as _0x2b5be8,NodePositionConvertToCursor as _0x382084,NodePositionConvertToRectRange as _0x1dab74,TEXT_RANGE_LAYER_INDEX as _0x1d2481,SetDocZoomRatioOperation as _0x537073,DocIMEInputManagerService as _0x412fe3,DocStateChangeManagerService as _0x13afef}from'@univerjs/docs-ui';function _0x2330(){const _0x29735c=['_hideTimer','cursorInfo','search','div','saveTaskMap','_saveTaskMap','univer-flex\x20univer-items-center','labelPosition','_handleEvent','setConfig','pipe','replaceDocRanges','loadUnit','TOO_MANY_REQUESTS','string','_transformPreviousActiveRange','save','unshift','USER_NOT_INVITED_CODE','MOBILE_HAS_BEEN_BOUND','UNIVER_SHEET','_updateCollabCursors','lineTo','url(#on-line-single_clip0_910_349)','Unknown\x20user','getSkeleton','_themeService','clearTimeout','_handleLeaveEvent','black','_labelPosition','onPointerMove$','getValue','uni.network.url-service','TEXT','_docStateChangeManagerService','registerRefRange','session.collaboration-timeout','APPLY_DUPLICATED','_getSessionTicket','getOwnPropertyDescriptor','USERS_LEAVE','clipPath','evenodd','SOCKET_FAILED_RETRY','APPLY_NON_SEQUENTIAL_REVISION','arc','text','UNDEFINED','InsertRowCommandId','addClipboardHook','transformIMECache','_renderManagerService','toRgbString','currentTheme$','collab-rect-range-','memberID','translate(.97)','_initCommandExecutedListener','entityInit$','_id','sheetID','PERMISSION_DENIED','_drawTextRange','_configService','debug','HEADER_MENU','colorChannel1','init','clearInterval','_clearOtherTimers','_drawAnchor','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_imageIoService','_getMergeRange','_cachedData','_unitOnClients','_startDocCollabCursor','_config','on-line-single_clip0_910_349','getRelativeToViewportCoord','_heartbeatTimer','defineProperty','_memberService','closePath','_saveCache','collabStatus.synced','children','getStateCache','onTransformChange$','has','delete','_collaborationUIEventService','undoState','_registerRenderDependencies','show','_selfUnitIDs','collab-text-range-','_transformService','SUBMIT_CHANGESET_TIMEOUT','collabStatus.conflict','status$','getTypeOfUnitDisposed$','getFocusedUnit','_localStorageService','onMouseMove','UNIVER_DOC','LICENSE_DISTRO_REJECTED','_scheduleHeartbeat','_name','_transformHistoryAndStateStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.offline','RECT','resize','_context','_color','_handleJoinEvent','permission.content','then','getTypeOfUnitAdded$','collaboration.single-unit.warning','beginPath','univerjs-icon\x20univerjs-icon-','_anchor','history','mask','_ensureSubject','flatMap','exhaustSavingTask','getCurrentSelections','source','location','getUnitStatus$','use','isEditing','url(#$1','OTHER_CLIENTS_EDITING','setTimeout','rgba(255,\x20255,\x20255,\x200.01)','isActive','ENSURE_SNAPSHOT_EXECUTION','icon','concat','_unitStatus','startsWith','toString','_cursorShapes','isArray','getSheetId','INVALID_INVITE_CODE','_online','set','createInstance','getMember','next','transformRemoteChangeset','_injector','red300','_uiPartsService','_colorAssignService','event$','subscribeEvent','EMAIL_HAS_BEEN_BOUND','14055EpyDIm','FromArray','whenReady','restore','RemoveRowCommandId','name','univer-text-green-500','_entityInit$','_hovered','hide','registerBeforeClose','_createSocketURL','getCurrent','all','transformStateCache','_docTransformSelectionsService','_refRangeService','_notificationService','registerComponent','InsertColCommandId','_collaborationController','activeSheet$','getSheetBySheetId','getParam','_document','setParam','APPLY_REJECT','range','moveTo','override','univer-text-red-500','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','COMPLETION_FINISHED','setInterval','_init','_docSkeleton','APPLY_PERMISSION_DENIED','getRangePointData','font','subunit','728650jNPGBv','registerRenderModule','_initDependencies','_docClipboardService','result','getCurrentUnitForType','collabStatus.fetchMiss','extend','Error','getConfig','url(#off-line-single_clip0_910_343)','_initResize','addEventListener','_anchorDot','528mCjFrY','getUndoRedoMutationParamsCache','1em','height','0\x200\x2017\x2016','_scene','_collabCursorController','ticket','_doCreateSocket','color','href','_backgroundColor','_session','_docSyncEditingCollabCursorService','_messageService','DeleteRangeMoveUpCommandId','split','JOIN_ROOM_FAILED','off-line-single','[CollaborationDataLoaderController]','redoState','unsubscribe','VIEW_MAIN','xlink:href','2783394cOQhIW','imageSourceType','mutations','4621764uqlrTO','sheetId','searchParams','collabStatus.notCollab','_shapes','_localeService','SNAPSHOT_INVALID_SNAPSHOT','call','YUUMI_ASYNCIO_CANCELLED','ONLINE','svg','INVITE_CODE_REQUIRED','transformByState','getUnitId','_refreshCollabCursors','cursorInfo$','add','dispose$','_getSheetObject','109917BXBFdY','roomMembers$','actions','type','values','UNAUTHENTICATED','triggerDblclick','idSuffix','0\x200\x2016\x2016','_getSaveTimeout','collabStatus.syncing','_lastPointer','_initEntityListener','forEach','syncEditingCollabCursor','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','Warning','get','unitId','trim','row','FETCH_MISS','_setupSubUnitSync','setItem','entries','CHANGESET_REVISION_CONFILICT','generateRandomId','m1Prime','send','min','indexOf','APPLY_REVISION_CONFILICT','_getScale','currentColor','_assignedColors','_onCursorDelete','enableLocalCache','_entities','_updateSubUnitFromURLParams','collaboration.closeRoom','_cursorInfo$','backgroundColor','UNRECOGNIZED','size','collaboration-client-ui.config','_syncEditingCollabCursorService','_urlService','INVITE_CODE_HAS_BEEN_UES','_toggleOnline','onLocalMutation','Failed','selection','YUUMI_RATE_OVER_LIMIT','getAncestorScale','_removeClearOtherTimer','SYNCED','YUUMI_UNABLE_LOAD_URL','univer-flex\x20univer-mr-2\x20univer-text-[20px]','_send','_updateLocalCursor','random','top','getVpScrollXYInfoByPosToVp','_render','dispose','collab-text-anchor-','data','displayName','focused$','YUUMI_NO_CUBOID_FOR_QUESTION','loadOfflineData','ALREADY_EXISTS','#FFF','getCellPositionByOffset','measureText','transformSelections','disableLocalCache','addObject','YUUMI_SUBSCRIPTION_NOT_FOUND','eventID','_draw','drawWith','/run/','getRenderById','bottom','16gybHjb','getActiveSheet','_localCacheService','blue400','_handleHeartbeatEvent','hasOwnProperty','invokeId','stringify','_getAnchorBounding','includes','LOGIN_FAILED','defs','onPointerLeave$','asObservable','prototype','roomMembers','error','_cursors','330mEqifw','_scheduleSaving','_scheduleClearOtherTimer','UniverIcon','NO_OTHER_CLIENTS_EDITING','...','_beforeCloseService','newValue','_textBubble','function','_roomMembers$','fill','pushState','_disabled','width','skeleton','replaceState','onCommandExecuted','LICENSE_IMPORT_SIZE_EXCEEDED','_drawRectRange','CONNECTOR_DATA_TOO_LARGE','purple300','apply','NOT_FOUND','urlChange$','storage','_onRefRangeChange','LICENSE_MAX_UNITS_EXCEEDED','_startSheetCollabCursor','saveImage','_dataLoaderService','_updateURLWithCurrentState','_hover','InsertRangeMoveDownCommandId','fillText','onRendered','findNodePositionByCharIndex','_toggleOffline','_setupBeforeClosingHandler','assign','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','runId','RemoveColCommandId','subscribe','NOT_COLLAB','_docTransformStateCacheService','wsSessionTicketUrl','_initEvent','runOnServer','fillStyle','INVALID_ARGUMENT','setShapeProps','YUUMI_URL_COL_OUT_OF_RANGE','contains','_sheetSkeletonManagerService','complete','saveOfflineData','origin','deepClone','MUTATION','UPDATE_CURSOR','#fff','_status$','with','sessionStatus$','column','_registerDependencies','getMergeData','_removeCollabCursors','parse','LICENSE_EXPORT_SIZE_EXCEEDED','setStateCache','params','PENDING','getActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','MoveRangeCommandId','off-line-single_clip0_910_343','doc.mutation.rich-text-editing','onPointerEnter$','none','OnLineSingle','current','length','getOwnPropertySymbols','_handleHover','pluginName','textRanges','getDocRanges','defIds','tag','body','_onCursorUpdate','_revisionService','_docTransformIMECacheService','path','_colorIndex','_commandService','requireSession','endColumn','m2Prime','verdancy600','_collabSessionService','removeParam','map','_eventUnsubscribe','executeCommand','PY_RUNTIME_SCRIPT_ERROR','session.connection-failed','getItem','_initStatusComponent','startColumn','getCollabCursors$','currentSkeleton$','selections','INVITE_CODE_ALREADY_BOUND','_logService','_httpService','25376EHNqdR','className','setAlpha','createSocket','unitID','unit','key','_univerInstanceService','onStarting','ranges','session.will-retry','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','attrs','_range','from','disposeWithMe','_initStatusListener','getMemberID','_docSkeletonManagerService','startRow','push','transform','_transformUndoRedoStack','OTHER_CLIENT_EDITING','round','WECHAT_HAS_BEEN_BOUND','InsertRangeMoveRightCommandId','assignAColorForMemberID','_cursor','code','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','4451835VFwPsu','collaboration-client.offline-data-not-saved','editingUnit','transformMutation','endRow','INTERNAL_ERROR'];_0x2330=function(){return _0x29735c;};return _0x2330();}import{IImageIoService as _0x3a5c2f}from'@univerjs/drawing';import{BehaviorSubject as _0x2241b1,debounceTime as _0x3ec696,takeUntil as _0x2bd97e,Subject as _0x41f611,filter as _0x568b90,switchMap as _0x49b8bc,merge as _0x4e53d3,combineLatest as _0xc0178f,of as _0x12085,fromEvent as _0x30298e,shareReplay as _0x22003f,mapTo as _0x48dbe9,distinctUntilChanged as _0x364c5b}from'rxjs';import{SetTextSelectionsOperation as _0x351556,RichTextEditingMutation as _0x4c3dbc,DocSelectionManagerService as _0x346665,DocSkeletonManagerService as _0x261d99}from'@univerjs/docs';import{ITransformService as _0x1c906c,CollaborationEvent as _0x522e2d,isTransformMutationFailure as _0x3fbac4,isTransformMutationsWithChangesetSuccess as _0x1dccd0,RevisionService as _0x53ed6f,ISnapshotServerService as _0x1daf87}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x732b6c,serializeRangeWithSheet as _0x15eada}from'@univerjs/engine-formula';import{RefRangeService as _0x2ad94f,SetSelectionsOperation as _0x11837b,SheetsSelectionsService as _0x110be5,EffectRefRangId as _0xe850d8,handleIRemoveRow as _0x4bfeae,handleIRemoveCol as _0x279aec,handleMoveRange as _0x2bf85f,handleInsertRow as _0x4c979c,handleInsertRangeMoveRight as _0x329385,handleInsertRangeMoveDown as _0x52a835,handleInsertCol as _0x4d788b,handleDeleteRangeMoveUp as _0x1c50f0,handleDeleteRangeMoveLeft as _0x22faed,runRefRangeMutations as _0x69f53a,SetWorksheetActivateCommand as _0x4b1b7c}from'@univerjs/sheets';import{map as _0x18039b,filter as _0xb24071,throttleTime as _0x4d4b9e,takeUntil as _0x145a8a,switchMap as _0xcc45a}from'rxjs/operators';import{SheetSkeletonManagerService as _0xfe8843,getCoordByCell as _0x399d9c,getSheetObject as _0x173073}from'@univerjs/sheets-ui';import{jsx as _0x2b2214,jsxs as _0xc7d320}from'react/jsx-runtime';import{useObservable as _0x38f4b4,useDependency as _0x2eb808,IUIPartsService as _0x544073,BuiltInUIPart as _0x2de49d,connectInjector as _0x3d8793,IBeforeCloseService as _0x5e34d6,IMessageService as _0x3297fc,INotificationService as _0x3212f3}from'@univerjs/ui';import{Tooltip as _0x5dce71,clsx as _0x329ae5,MessageType as _0xab9cf9}from'@univerjs/design';import{forwardRef as _0x5aca45,useRef as _0xe20147,createElement as _0x2e2139,useCallback as _0x3befde}from'react';import{IRemoteInstanceService as _0x4fd581}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x2c1fa8,_0x124499,_0xb50dad,_0x1abcdb)=>{const _0x181993=_0x64a570;for(var _0x2517c1=_0x1abcdb>0x1?void 0x0:_0x1abcdb?ci(_0x124499,_0xb50dad):_0x124499,_0x5df39b=_0x2c1fa8[_0x181993(0x167)]-0x1,_0x53c8d9;_0x5df39b>=0x0;_0x5df39b--)(_0x53c8d9=_0x2c1fa8[_0x5df39b])&&(_0x2517c1=_0x53c8d9(_0x2517c1)||_0x2517c1);return _0x2517c1;},Je=(_0x2d3433,_0x3d892c)=>(_0x517410,_0x9dab98)=>_0x3d892c(_0x517410,_0x9dab98,_0x2d3433);let Ne=class extends _0x1f868b{constructor(_0x30dd3d,_0x3bfb77){const _0x4aa7f3=_0x64a570;super(),this['_docClipboardService']=_0x30dd3d,this[_0x4aa7f3(0x1f8)]=_0x3bfb77,this['_init']();}[_0x64a570(0x275)](){const _0x526ec0=_0x64a570,_0xafb8ec=this;this[_0x526ec0(0x199)](this[_0x526ec0(0x27e)][_0x526ec0(0x1e1)]({'onBeforePasteImage':async _0x709322=>{const _0x8bd2ed=_0x526ec0,_0x1c0a61=await _0xafb8ec['_imageIoService'][_0x8bd2ed(0x33b)](_0x709322);return _0x1c0a61?{'source':_0x1c0a61[_0x8bd2ed(0x232)],'imageSourceType':_0x1c0a61[_0x8bd2ed(0x2a2)]}:null;}}));}};Ne=li([Je(0x0,_0x2b5be8),Je(0x1,_0x3a5c2f)],Ne);const Ze=[_0x64a570(0x333),'jiqing500',_0x64a570(0x179),_0x64a570(0x24d),_0x64a570(0x30f),'gold400'];class ke extends _0x455ce9{constructor(){const _0x47d4a4=_0x64a570;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x47d4a4(0x174),0x0);}[_0x64a570(0x1a5)](_0x34a5e5){const _0x2ec4d0=_0x64a570;if(this[_0x2ec4d0(0x2d9)][_0x2ec4d0(0x209)](_0x34a5e5))return this[_0x2ec4d0(0x2d9)][_0x2ec4d0(0x2c8)](_0x34a5e5);const _0x36f379=Ze[this[_0x2ec4d0(0x174)]];return this[_0x2ec4d0(0x174)]=(this['_colorIndex']+0x1)%Ze[_0x2ec4d0(0x167)],this[_0x2ec4d0(0x2d9)]['set'](_0x34a5e5,_0x36f379),_0x36f379;}}function Tt(_0x50d82b){const _0x3e48e9=_0x64a570;let _0x4fb938='';for(const _0x155aa0 of _0x50d82b){const {startOffset:_0x2ac7b7,endOffset:_0x44f315,isActive:_0x358c28,rangeType:_0xb52b09,segmentId:_0x483a5f,segmentPage:_0xd96e6b}=_0x155aa0;_0x4fb938[_0x3e48e9(0x167)]&&(_0x4fb938+=','),_0x4fb938+=_0x2ac7b7+':'+_0x44f315+':'+(_0x358c28?'1':'0')+':'+_0xb52b09+':'+_0x483a5f+':'+_0xd96e6b;}return _0x4fb938;}function _i(_0x4e77b8){const _0x3519fe=_0x64a570,_0x245d28=_0x4e77b8[_0x3519fe(0x299)](','),_0x5b017b=[];for(const _0x2bdff8 of _0x245d28){const [_0x1c657a,_0x5b8fcf,_0x324eea,_0x23eba6,_0x503ed1,_0x2007a9]=_0x2bdff8[_0x3519fe(0x299)](':');_0x5b017b[_0x3519fe(0x19e)]({'startOffset':Number(_0x1c657a),'endOffset':Number(_0x5b8fcf),'collapsed':_0x1c657a===_0x5b8fcf,'isActive':_0x324eea==='1','rangeType':_0x23eba6===_0x32d4e6[_0x3519fe(0x1d1)]?_0x32d4e6[_0x3519fe(0x1d1)]:_0x32d4e6[_0x3519fe(0x220)],'segmentId':typeof _0x503ed1==_0x3519fe(0x1bd)?String(_0x503ed1):'','segmentPage':Number(_0x2007a9!=null?_0x2007a9:-0x1)});}return _0x5b017b['some'](_0x1cf04f=>_0x1cf04f[_0x3519fe(0x23b)])||(_0x5b017b[0x0][_0x3519fe(0x23b)]=!0x0),_0x5b017b;}class He extends _0x1f868b{constructor(){const _0x528a6f=_0x64a570;super(...arguments),_(this,'_collabCursorState$',new _0x2241b1(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x528a6f(0x319)]());}['syncEditingCollabCursor'](_0x2f8c88){const _0x2b8824=_0x64a570,{unitID:_0x374442,memberID:_0x4cd583,textRanges:_0x14e945}=_0x2f8c88,_0x3e709d=Tt(_0x14e945);if(_0x3e709d==='')return;const _0x53e4c4={'unitID':_0x374442,'memberID':_0x4cd583,'selection':_0x3e709d};this['_collabCursorState$'][_0x2b8824(0x24a)](_0x53e4c4);}}var hi=Object[_0x64a570(0x1d7)],ui=(_0x181185,_0x4d3c52,_0x4ca8cc,_0x503839)=>{const _0x30a005=_0x64a570;for(var _0x182ea5=_0x503839>0x1?void 0x0:_0x503839?hi(_0x4d3c52,_0x4ca8cc):_0x4d3c52,_0x3b25dc=_0x181185[_0x30a005(0x167)]-0x1,_0x121a5f;_0x3b25dc>=0x0;_0x3b25dc--)(_0x121a5f=_0x181185[_0x3b25dc])&&(_0x182ea5=_0x121a5f(_0x182ea5)||_0x182ea5);return _0x182ea5;},w=(_0x1bec73,_0x347a0a)=>(_0xab3aa0,_0x15bd7e)=>_0x347a0a(_0xab3aa0,_0x15bd7e,_0x1bec73);const di=0x12c,fi=0x64;let Ue=class extends _0x1f868b{constructor(_0x15e213,_0x14bd4d,_0x47819e,_0x2bc457,_0x1926c7,_0x2ace65,_0x265614,_0x1d4bec,_0x53d32a){const _0x291506=_0x64a570;super(),_(this,'_online',!0x1),_(this,_0x291506(0x275),!0x1),_(this,_0x291506(0x2df),new _0x2241b1(new Map())),_(this,_0x291506(0x2b3),this[_0x291506(0x2df)]['asObservable']()),_(this,_0x291506(0x328),new _0x2241b1([])),_(this,'roomMembers$',this[_0x291506(0x328)][_0x291506(0x1b9)](_0x3ec696(di))),_(this,_0x291506(0x2f2),_0x737ff2(_0x2a1f89=>{const _0x5c9947=_0x291506,_0x310c04={'eventID':_0x522e2d[_0x5c9947(0x150)],'data':{'unitID':this[_0x5c9947(0x18e)],'memberID':this[_0x5c9947(0x295)][_0x5c9947(0x19b)](),'selection':Tt(_0x2a1f89)}};this['_session'][_0x5c9947(0x2d3)](_0x310c04,this['unitID']);},fi)),(this['unitID']=_0x15e213,this[_0x291506(0x295)]=_0x14bd4d,this[_0x291506(0x24c)]=_0x47819e,this[_0x291506(0x24f)]=_0x2bc457,this[_0x291506(0x202)]=_0x1926c7,this[_0x291506(0x2e4)]=_0x2ace65,this['_transformService']=_0x265614,this[_0x291506(0x191)]=_0x1d4bec,this[_0x291506(0x175)]=_0x53d32a);}get['cursorInfo'](){const _0x433bc4=_0x64a570;return this['_cursorInfo$'][_0x433bc4(0x1cf)]();}get[_0x64a570(0x31b)](){const _0x54e2c1=_0x64a570;return this[_0x54e2c1(0x328)][_0x54e2c1(0x1cf)]();}[_0x64a570(0x2f7)](){const _0x1475c8=_0x64a570;super['dispose'](),this[_0x1475c8(0x2df)][_0x1475c8(0x24a)](new Map()),this[_0x1475c8(0x2df)][_0x1475c8(0x14b)](),this['_roomMembers$']['next']([]),this[_0x1475c8(0x328)][_0x1475c8(0x14b)]();}[_0x64a570(0x1f3)](){const _0x5073a=_0x64a570;this[_0x5073a(0x275)]||(this[_0x5073a(0x275)]=!0x0,this[_0x5073a(0x295)]['sessionStatus$']['pipe'](_0x2bd97e(this[_0x5073a(0x2b5)]))[_0x5073a(0x13f)](_0x8e5acd=>{const _0xd4563b=_0x5073a;_0x8e5acd===_0x35a6db[_0xd4563b(0x2ad)]?this[_0xd4563b(0x2e7)]():this[_0xd4563b(0x139)]();}),this[_0x5073a(0x295)]['event$'][_0x5073a(0x1b9)](_0x2bd97e(this[_0x5073a(0x2b5)]))['subscribe'](_0x1cd392=>{const _0x5b2787=_0x5073a,_0x2e286d=_0x1cd392[_0x5b2787(0x306)];_0x2e286d===_0x522e2d[_0x5b2787(0x150)]&&this[_0x5b2787(0x170)](_0x1cd392),_0x2e286d===_0x522e2d[_0x5b2787(0x1d8)]&&this[_0x5b2787(0x2da)](_0x1cd392);}),this[_0x5073a(0x199)](this['_commandService']['onCommandExecuted'](_0x26c1e7=>{const _0x30ac88=_0x5073a,_0x5beba9=_0x26c1e7[_0x30ac88(0x15c)];_0x5beba9!=null&&this[_0x30ac88(0x246)]&&_0x26c1e7['id']===_0x351556['id']&&_0x5beba9[_0x30ac88(0x2c9)]===this[_0x30ac88(0x18e)]&&_0x5beba9[_0x30ac88(0x236)]===!0x1&&_0x5beba9[_0x30ac88(0x193)][_0x30ac88(0x167)]>0x0&&this['_updateLocalCursor'](_0x5beba9[_0x30ac88(0x193)]);})),this[_0x5073a(0x2e4)]['collabCursorState$'][_0x5073a(0x1b9)](_0x2bd97e(this[_0x5073a(0x2b5)]))[_0x5073a(0x13f)](_0xd21a7e=>{const _0x1f313e=_0x5073a;if((_0xd21a7e==null?void 0x0:_0xd21a7e[_0x1f313e(0x18e)])!==this[_0x1f313e(0x18e)])return;const _0x57d11a={'eventID':_0x522e2d[_0x1f313e(0x150)],'data':_0xd21a7e};this['_onCursorUpdate'](_0x57d11a);}),this['disposeWithMe'](this['_commandService'][_0x5073a(0x32f)](_0x344068=>{const _0x25e683=_0x5073a;if(_0x344068[_0x25e683(0x15c)]==null)return;const _0x1ea847=_0x344068['params'];if(_0x344068['id']!==_0x4c3dbc['id']||_0x1ea847[_0x25e683(0x2c9)]!==this[_0x25e683(0x18e)])return;const _0x403cfa={'id':'doc.mutation.rich-text-editing','params':_0x1ea847},_0x249c6b=this[_0x25e683(0x1b0)];for(const [_0x2ae785,_0x468e5f]of _0x249c6b){const _0x3d5a77={'id':_0x25e683(0x162),'params':{'unitId':this[_0x25e683(0x18e)],'actions':null,'textRanges':_0x468e5f['ranges']}},_0x167094=this[_0x25e683(0x211)]['transformMutation'](_0x403cfa,_0x3d5a77,!0x1);if(_0x3fbac4(_0x167094))throw _0x167094['error'];_0x249c6b['set'](_0x2ae785,{..._0x468e5f,'ranges':_0x167094[_0x25e683(0x178)][_0x25e683(0x15c)][_0x25e683(0x16b)]});}queueMicrotask(()=>{const _0x58e659=_0x25e683;this[_0x58e659(0x2df)]['next'](_0x249c6b);});})));}[_0x64a570(0x170)](_0x57b725){const _0x27b234=_0x64a570;var _0x28f14c,_0x2d9176;const {memberID:_0x3b6fdc,selection:_0x13e242}=_0x57b725['data'],_0x2a89a8=_i(_0x13e242),_0x4f1750=(_0x2d9176=(_0x28f14c=this[_0x27b234(0x202)][_0x27b234(0x249)](this[_0x27b234(0x18e)],_0x3b6fdc))==null?void 0x0:_0x28f14c['name'])!=null?_0x2d9176:'Unknown\x20user',_0x2f1b03={'color':this[_0x27b234(0x24f)][_0x27b234(0x1a5)](_0x3b6fdc),'name':_0x4f1750,'ranges':_0x2a89a8},_0x5d99d3=this[_0x27b234(0x1b0)];_0x5d99d3[_0x27b234(0x247)](_0x3b6fdc,_0x2f1b03),this['_cursorInfo$'][_0x27b234(0x24a)](_0x5d99d3);}[_0x64a570(0x2da)](_0x39d30a){const _0x552122=_0x64a570,{memberID:_0x2cf900}=_0x39d30a[_0x552122(0x2f9)],_0x387ae7=this['cursorInfo'];_0x387ae7[_0x552122(0x20a)](_0x2cf900),this[_0x552122(0x2df)][_0x552122(0x24a)](_0x387ae7);}[_0x64a570(0x2e7)](){const _0x457f82=_0x64a570;var _0x57597b;if(this['_online']=!0x0,((_0x57597b=this[_0x457f82(0x191)]['getFocusedUnit']())==null?void 0x0:_0x57597b['getUnitId']())!==this['unitID'])return;const _0x8b6d97=this[_0x457f82(0x24c)][_0x457f82(0x2c8)](_0x346665)[_0x457f82(0x16c)]();Array[_0x457f82(0x243)](_0x8b6d97)&&_0x8b6d97[_0x457f82(0x167)]>0x0&&this[_0x457f82(0x2f2)](_0x8b6d97);}['_toggleOffline'](){const _0x182bcb=_0x64a570;this[_0x182bcb(0x246)]=!0x1;}};Ue=ui([w(0x2,_0x31e7fe(_0x533dcb)),w(0x3,_0x31e7fe(ke)),w(0x4,_0x31e7fe(_0x17cc58)),w(0x5,_0x31e7fe(He)),w(0x6,_0x1c906c),w(0x7,_0x58d7bd),w(0x8,_0x120bf5)],Ue);var Si=Object[_0x64a570(0x1d7)],mi=(_0x3adb6c,_0xa8dde,_0x463291,_0x7a0b95)=>{const _0x40604e=_0x64a570;for(var _0x4752f6=_0x7a0b95>0x1?void 0x0:_0x7a0b95?Si(_0xa8dde,_0x463291):_0xa8dde,_0x539776=_0x3adb6c[_0x40604e(0x167)]-0x1,_0x1b26a6;_0x539776>=0x0;_0x539776--)(_0x1b26a6=_0x3adb6c[_0x539776])&&(_0x4752f6=_0x1b26a6(_0x4752f6)||_0x4752f6);return _0x4752f6;},x=(_0x781574,_0x1788c7)=>(_0x1c4db8,_0x11a0c4)=>_0x1788c7(_0x1c4db8,_0x11a0c4,_0x781574);const gi=0x12c,vi=0x64,Ii=()=>{let _0x1e7604=[],_0x204a5c=!0x1;return _0x5d3ead=>{const _0x4ec5bf=_0x484b;_0x1e7604[_0x4ec5bf(0x19e)](_0x5d3ead),_0x204a5c||(_0x204a5c=!0x0,setTimeout(()=>{const _0x264755=_0x4ec5bf;_0x1e7604[_0x264755(0x2c4)](_0x120d6b=>_0x120d6b()),_0x1e7604=[],_0x204a5c=!0x1;}));};};let Me=class extends _0x1f868b{constructor(_0x571690,_0x123891,_0x1f31cd,_0x534a07,_0x279f14,_0x246131,_0x5406cb,_0x1509c4){const _0x9fb769=_0x64a570;super(),_(this,_0x9fb769(0x246),!0x1),_(this,_0x9fb769(0x275),!0x1),_(this,_0x9fb769(0x2df),new _0x2241b1(new Map())),_(this,'cursorInfo$',this[_0x9fb769(0x2df)][_0x9fb769(0x319)]()),_(this,_0x9fb769(0x328),new _0x2241b1([])),_(this,_0x9fb769(0x2b8),this['_roomMembers$'][_0x9fb769(0x1b9)](_0x3ec696(gi))),_(this,_0x9fb769(0x2f2),_0x737ff2((_0x342981,_0x250ed1)=>{const _0xa013e=_0x9fb769,_0x9a2643={'eventID':_0x522e2d['UPDATE_CURSOR'],'data':{'unitID':this[_0xa013e(0x18e)],'memberID':this['_session'][_0xa013e(0x19b)](),'selection':_0x15eada(_0x342981,_0x250ed1['range'])}};this['_session']['send'](_0x9a2643,this[_0xa013e(0x18e)]);},vi)),(this[_0x9fb769(0x18e)]=_0x571690,this[_0x9fb769(0x295)]=_0x123891,this[_0x9fb769(0x24c)]=_0x1f31cd,this[_0x9fb769(0x24f)]=_0x534a07,this[_0x9fb769(0x202)]=_0x279f14,this[_0x9fb769(0x191)]=_0x246131,this['_commandService']=_0x5406cb,this[_0x9fb769(0x263)]=_0x1509c4);}get[_0x64a570(0x1b0)](){const _0x57eeb2=_0x64a570;return this[_0x57eeb2(0x2df)]['getValue']();}get[_0x64a570(0x31b)](){const _0x593bd5=_0x64a570;return this[_0x593bd5(0x328)]['getValue']();}[_0x64a570(0x2f7)](){const _0x535782=_0x64a570;super[_0x535782(0x2f7)](),this[_0x535782(0x2df)]['next'](new Map()),this['_cursorInfo$'][_0x535782(0x14b)](),this[_0x535782(0x328)][_0x535782(0x24a)]([]),this[_0x535782(0x328)][_0x535782(0x14b)]();}[_0x64a570(0x1f3)](){const _0x1a7290=_0x64a570;this[_0x1a7290(0x275)]||(this[_0x1a7290(0x275)]=!0x0,this[_0x1a7290(0x295)][_0x1a7290(0x154)][_0x1a7290(0x1b9)](_0x2bd97e(this['dispose$']))[_0x1a7290(0x13f)](_0x3e3265=>{const _0x582a94=_0x1a7290;_0x3e3265===_0x35a6db['ONLINE']?this[_0x582a94(0x2e7)]():this[_0x582a94(0x139)]();}),this['_session'][_0x1a7290(0x250)][_0x1a7290(0x1b9)](_0x2bd97e(this[_0x1a7290(0x2b5)]))[_0x1a7290(0x13f)](_0x23abe4=>{const _0x4dbba8=_0x1a7290,_0x284cc4=_0x23abe4[_0x4dbba8(0x306)];_0x284cc4===_0x522e2d[_0x4dbba8(0x150)]&&this[_0x4dbba8(0x170)](_0x23abe4),_0x284cc4===_0x522e2d[_0x4dbba8(0x1d8)]&&this['_onCursorDelete'](_0x23abe4);}),this[_0x1a7290(0x338)](),this[_0x1a7290(0x199)](this[_0x1a7290(0x175)][_0x1a7290(0x32f)](_0x276b2e=>{const _0x5323fe=_0x1a7290;if(this[_0x5323fe(0x246)]&&_0x276b2e['id']===_0x11837b['id']&&_0x276b2e['params'][_0x5323fe(0x2c9)]===this[_0x5323fe(0x18e)]){const _0x4cc47d=_0x276b2e['params'];this[_0x5323fe(0x2f2)](_0x4cc47d['subUnitId'],_0x4cc47d[_0x5323fe(0x186)][0x0]);}})));}[_0x64a570(0x170)](_0xd3c750){const _0x36b978=_0x64a570;var _0x23feed,_0x1e7d76;const {memberID:_0x15fc46,selection:_0x5c63f4}=_0xd3c750['data'],{sheetName:_0x3e3cc9,range:_0x1cd955}=_0x732b6c(_0x5c63f4),_0x2868ea={'name':(_0x1e7d76=(_0x23feed=this['_memberService'][_0x36b978(0x249)](this[_0x36b978(0x18e)],_0x15fc46))==null?void 0x0:_0x23feed[_0x36b978(0x258)])!=null?_0x1e7d76:_0x36b978(0x1c7),'range':this[_0x36b978(0x1f9)](_0x3e3cc9,_0x1cd955),'sheetID':_0x3e3cc9,'color':this[_0x36b978(0x24f)][_0x36b978(0x1a5)](_0x15fc46),'selection':_0x5c63f4},_0x1beb21=this[_0x36b978(0x1b0)];_0x1beb21[_0x36b978(0x247)](_0x15fc46,_0x2868ea),this[_0x36b978(0x2df)][_0x36b978(0x24a)](_0x1beb21);}[_0x64a570(0x2da)](_0x38ffd3){const _0x257089=_0x64a570,{memberID:_0x109712}=_0x38ffd3[_0x257089(0x2f9)],_0x4100f8=this[_0x257089(0x1b0)];_0x4100f8[_0x257089(0x20a)](_0x109712),this['_cursorInfo$'][_0x257089(0x24a)](_0x4100f8);}[_0x64a570(0x1f9)](_0x58a502,_0x1a0a8b){const _0x4e53fa=_0x64a570;var _0x4678a4,_0x4e973f;const _0x980c1=(_0x4e973f=(_0x4678a4=this[_0x4e53fa(0x191)]['getUniverSheetInstance'](this[_0x4e53fa(0x18e)]))==null?void 0x0:_0x4678a4[_0x4e53fa(0x269)](_0x58a502))==null?void 0x0:_0x4e973f[_0x4e53fa(0x157)]();return(_0x980c1==null?void 0x0:_0x980c1['find'](_0x481360=>_0x77a989[_0x4e53fa(0x149)](_0x481360,_0x1a0a8b)))||_0x1a0a8b;}[_0x64a570(0x338)](){const _0x3f4ad6=_0x64a570,_0x17f11b=new _0x366c5c(),_0x250d48=Ii(),_0x53677d=()=>{const _0x478bd7=_0x484b;_0x17f11b[_0x478bd7(0x2f7)]();const _0x2573b3=(_0x4e81fc,_0x41a7b8,_0x2db767,_0x480fc2)=>{const _0x2df70=_0x478bd7;let _0x20d578=[];switch(_0x4e81fc['id']){case _0xe850d8['DeleteRangeMoveLeftCommandId']:{_0x20d578=_0x22faed(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x298)]:{_0x20d578=_0x1c50f0(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x266)]:{_0x20d578=_0x4d788b(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x33f)]:{_0x20d578=_0x52a835(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x1a4)]:{_0x20d578=_0x329385(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x1e0)]:{_0x20d578=_0x4c979c(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x160)]:{_0x20d578=_0x2bf85f(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x13e)]:{_0x20d578=_0x279aec(_0x4e81fc,_0x480fc2);break;}case _0xe850d8[_0x2df70(0x257)]:{_0x20d578=_0x4bfeae(_0x4e81fc,_0x480fc2);break;}}const _0x2f87c5=_0x69f53a(_0x20d578,_0x480fc2),_0x5e582c=this['cursorInfo']['get'](_0x41a7b8);if(_0x5e582c&&_0x2f87c5){const _0x509573={..._0x5e582c,'range':_0x2f87c5};this[_0x2df70(0x1b0)][_0x2df70(0x247)](_0x41a7b8,_0x509573),_0x250d48(()=>{const _0xd2cf94=_0x2df70,_0x5972bb=this[_0xd2cf94(0x263)][_0xd2cf94(0x1d3)](_0x2f87c5,_0x25a48a=>(_0x5972bb[_0xd2cf94(0x2f7)](),_0x2573b3(_0x25a48a,_0x41a7b8,_0x2db767,_0x2f87c5)));_0x17f11b[_0xd2cf94(0x2b4)](_0x5972bb);});}return{'redos':[],'undos':[]};};this[_0x478bd7(0x1b0)][_0x478bd7(0x2c4)]((_0x52da91,_0x3d1b03)=>{const _0x4dfc71=_0x478bd7,{range:_0xbaae2c,sheetID:_0x5175b9}=_0x52da91,_0x58294b=this[_0x4dfc71(0x263)][_0x4dfc71(0x1d3)](_0xbaae2c,_0x277204=>(_0x58294b[_0x4dfc71(0x2f7)](),_0x2573b3(_0x277204,_0x3d1b03,_0x5175b9,_0xbaae2c)));_0x17f11b['add'](_0x58294b);});};this[_0x3f4ad6(0x199)](_0x3e0dad(this[_0x3f4ad6(0x2df)][_0x3f4ad6(0x13f)](()=>{_0x53677d();})));}['_toggleOnline'](){const _0x14c3e2=_0x64a570;var _0x6d918b,_0x31f077;if(this[_0x14c3e2(0x246)]=!0x0,((_0x6d918b=this[_0x14c3e2(0x191)][_0x14c3e2(0x216)]())==null?void 0x0:_0x6d918b[_0x14c3e2(0x2b1)]())!==this['unitID'])return;const _0x8bafc1=(_0x31f077=this[_0x14c3e2(0x24c)][_0x14c3e2(0x2c8)](_0x110be5)[_0x14c3e2(0x231)]())==null?void 0x0:_0x31f077[0x0],_0x280fe7=this[_0x14c3e2(0x191)][_0x14c3e2(0x280)](_0x20393a[_0x14c3e2(0x1c3)])[_0x14c3e2(0x30d)]();_0x8bafc1&&_0x280fe7&&this[_0x14c3e2(0x2f2)](_0x280fe7['getSheetId'](),_0x8bafc1);}[_0x64a570(0x139)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x31e7fe(_0x533dcb)),x(0x3,_0x31e7fe(ke)),x(0x4,_0x31e7fe(_0x17cc58)),x(0x5,_0x58d7bd),x(0x6,_0x120bf5),x(0x7,_0x31e7fe(_0x2ad94f))],Me);var pi=Object[_0x64a570(0x1d7)],Ci=(_0x21a106,_0x47224a,_0x2678e7,_0x530867)=>{const _0x109221=_0x64a570;for(var _0x172f66=_0x530867>0x1?void 0x0:_0x530867?pi(_0x47224a,_0x2678e7):_0x47224a,_0x3be0d6=_0x21a106[_0x109221(0x167)]-0x1,_0x4782af;_0x3be0d6>=0x0;_0x3be0d6--)(_0x4782af=_0x21a106[_0x3be0d6])&&(_0x172f66=_0x4782af(_0x172f66)||_0x172f66);return _0x172f66;},Se=(_0x59a176,_0x290fb6)=>(_0x397299,_0x56fe6b)=>_0x290fb6(_0x397299,_0x56fe6b,_0x59a176);let H=class extends _0x1f868b{constructor(_0x3dd335,_0x27a6b8,_0x7327b6){const _0x36012d=_0x64a570;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x41f611()),(this[_0x36012d(0x191)]=_0x3dd335,this[_0x36012d(0x24c)]=_0x27a6b8,this[_0x36012d(0x17a)]=_0x7327b6,this[_0x36012d(0x275)]());}[_0x64a570(0x2f7)](){const _0x1aab5d=_0x64a570;super[_0x1aab5d(0x2f7)](),this['_entityInit$'][_0x1aab5d(0x14b)](),this[_0x1aab5d(0x2dc)][_0x1aab5d(0x2c4)](_0x12fd2f=>_0x12fd2f['dispose']());}[_0x64a570(0x184)](_0x5ccba2){const _0x26b413=_0x64a570;return this[_0x26b413(0x2dc)][_0x26b413(0x209)](_0x5ccba2)?this[_0x26b413(0x2dc)]['get'](_0x5ccba2)[_0x26b413(0x2b3)]:this['_entityInit$']['pipe'](_0x568b90(_0x5dc004=>_0x5dc004[_0x26b413(0x18e)]===_0x5ccba2),_0x49b8bc(_0x2c5e5d=>_0x2c5e5d['cursorInfo$']));}['_init'](){const _0x735f3a=_0x64a570;this[_0x735f3a(0x191)][_0x735f3a(0x227)](_0x20393a[_0x735f3a(0x1c3)])[_0x735f3a(0x1b9)](_0x2bd97e(this[_0x735f3a(0x2b5)]))[_0x735f3a(0x13f)](async _0x46ebc5=>{const _0x1d410e=_0x735f3a,_0x42a8d3=_0x46ebc5[_0x1d410e(0x2b1)](),_0x2f5dd0=await this[_0x1d410e(0x33a)](_0x42a8d3);this['_entityInit$'][_0x1d410e(0x24a)](_0x2f5dd0),this[_0x1d410e(0x2dc)]['set'](_0x42a8d3,_0x2f5dd0);}),this[_0x735f3a(0x191)]['getTypeOfUnitAdded$'](_0x20393a[_0x735f3a(0x219)])['pipe'](_0x2bd97e(this['dispose$']))[_0x735f3a(0x1b9)](_0x568b90(_0x21d61a=>!_0x21d61a[_0x735f3a(0x2b1)]()[_0x735f3a(0x240)]('__')))['subscribe'](async _0x197ab9=>{const _0x418998=_0x735f3a,_0x41e951=_0x197ab9[_0x418998(0x2b1)](),_0x1668a8=await this[_0x418998(0x1fc)](_0x41e951);this[_0x418998(0x25a)]['next'](_0x1668a8),this['_entities'][_0x418998(0x247)](_0x41e951,_0x1668a8);}),_0x4e53d3(this[_0x735f3a(0x191)][_0x735f3a(0x215)](_0x20393a[_0x735f3a(0x219)]),this[_0x735f3a(0x191)][_0x735f3a(0x215)](_0x20393a[_0x735f3a(0x1c3)]))[_0x735f3a(0x1b9)](_0x2bd97e(this[_0x735f3a(0x2b5)]))[_0x735f3a(0x13f)](_0x2a2fd4=>{const _0x4a39ab=_0x735f3a,_0x215833=_0x2a2fd4[_0x4a39ab(0x2b1)](),_0x3ef7a1=this['_entities'][_0x4a39ab(0x2c8)](_0x215833);_0x3ef7a1&&(_0x3ef7a1['dispose'](),this[_0x4a39ab(0x2dc)]['delete'](_0x215833));});}async['_startSheetCollabCursor'](_0x4adc20){const _0x43c5a0=_0x64a570,_0x336270=await this['_collabSessionService']['requireSession'](_0x4adc20),_0x3f0a13=this[_0x43c5a0(0x24c)][_0x43c5a0(0x248)](Me,_0x4adc20,_0x336270);return _0x3f0a13[_0x43c5a0(0x1f3)](),_0x3f0a13;}async['_startDocCollabCursor'](_0x2d2d5e){const _0x1d79c4=_0x64a570,_0x56ca56=await this[_0x1d79c4(0x17a)][_0x1d79c4(0x176)](_0x2d2d5e),_0x552729=this[_0x1d79c4(0x24c)][_0x1d79c4(0x248)](Ue,_0x2d2d5e,_0x56ca56);return _0x552729[_0x1d79c4(0x1f3)](),_0x552729;}};H=Ci([Se(0x0,_0x58d7bd),Se(0x1,_0x31e7fe(_0x533dcb)),Se(0x2,_0x31e7fe(_0x26288a))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x3f1705,_0x1ecfc5){const _0x123dd1=_0x64a570;let {radius:_0xfd8927,width:_0x516b66,height:_0x5bfbab}=_0x1ecfc5;_0xfd8927=_0xfd8927!=null?_0xfd8927:0x0,_0x516b66=_0x516b66!=null?_0x516b66:0x1e,_0x5bfbab=_0x5bfbab!=null?_0x5bfbab:0x1e;let _0x358604=0x0,_0x319c7c=0x0,_0x20346f=0x0;_0x358604=_0x319c7c=_0x20346f=Math['min'](_0xfd8927,_0x516b66/0x2,_0x5bfbab/0x2),_0x3f1705[_0x123dd1(0x229)](),_0x3f1705[_0x123dd1(0x26f)](_0x358604,0x0),_0x3f1705[_0x123dd1(0x1c5)](_0x516b66-_0x319c7c,0x0),_0x3f1705[_0x123dd1(0x1dd)](_0x516b66-_0x319c7c,_0x319c7c,_0x319c7c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f1705[_0x123dd1(0x1c5)](_0x516b66,_0x5bfbab-_0x20346f),_0x3f1705[_0x123dd1(0x1dd)](_0x516b66-_0x20346f,_0x5bfbab-_0x20346f,_0x20346f,0x0,Math['PI']/0x2,!0x1),_0x3f1705[_0x123dd1(0x1c5)](0x0,_0x5bfbab),_0x3f1705['lineTo'](0x0,_0x358604),_0x3f1705[_0x123dd1(0x1dd)](_0x358604,_0x358604,_0x358604,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f1705[_0x123dd1(0x203)](),_0x1ecfc5[_0x123dd1(0x329)]&&(_0x3f1705[_0x123dd1(0x1bf)](),_0x3f1705['fillStyle']=_0x1ecfc5[_0x123dd1(0x329)],_0x1ecfc5['fillRule']===_0x123dd1(0x1da)?_0x3f1705[_0x123dd1(0x329)]('evenodd'):_0x3f1705[_0x123dd1(0x329)](),_0x3f1705[_0x123dd1(0x256)]());}class he extends _0x3b7977{constructor(_0x31811c,_0x29f8a7){const _0x5f3237=_0x64a570;super(_0x31811c,_0x29f8a7),_(this,_0x5f3237(0x292)),_(this,'text'),(this[_0x5f3237(0x292)]=_0x29f8a7==null?void 0x0:_0x29f8a7[_0x5f3237(0x292)],this[_0x5f3237(0x1de)]=_0x29f8a7==null?void 0x0:_0x29f8a7[_0x5f3237(0x1de)]);}static[_0x64a570(0x308)](_0x45bb60,_0x40ecf0){const _0x1085c6=_0x64a570,{text:_0x89faa2,color:_0x1709cd}=_0x40ecf0;_0x45bb60[_0x1085c6(0x1bf)](),_0x45bb60[_0x1085c6(0x279)]=_0x1085c6(0x272);const _0x489ae6=_0x45bb60[_0x1085c6(0x301)](_0x89faa2)[_0x1085c6(0x32c)],_0x326dc2=Math[_0x1085c6(0x2d4)](_0x489ae6+0x2*me,Qe);bi(_0x45bb60,{'height':ee,'radius':0x4,'width':_0x326dc2,'fill':_0x1709cd}),_0x45bb60[_0x1085c6(0x145)]=_0x1085c6(0x2ff);const _0xc1bd45=me,_0x47ce05=ee-Ei,_0x20d3ac=Qe-0x2*me;if(_0x489ae6>_0x20d3ac){let _0x691b24='',_0xb5bf08=0x0;for(const _0x283e43 of _0x89faa2){const _0x3045f6=_0x45bb60['measureText'](_0x283e43)[_0x1085c6(0x32c)];if(_0xb5bf08+_0x3045f6<=_0x20d3ac-_0x45bb60[_0x1085c6(0x301)](_0x1085c6(0x323))[_0x1085c6(0x32c)])_0x691b24+=_0x283e43,_0xb5bf08+=_0x3045f6;else{_0x691b24+=_0x1085c6(0x323);break;}}_0x45bb60[_0x1085c6(0x136)](_0x691b24,_0xc1bd45,_0x47ce05);}else _0x45bb60['fillText'](_0x89faa2,_0xc1bd45,_0x47ce05);_0x45bb60[_0x1085c6(0x256)]();}[_0x64a570(0x307)](_0x3ab02){he['drawWith'](_0x3ab02,this);}}const ge=_0x64a570(0x2f8),Oi=_0x64a570(0x210),Ti=_0x64a570(0x1e6),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x64a570(0x23a);class qe{constructor(_0x493884,_0xa20537,_0x4662a2,_0x3f6de2){const _0x2a7ad7=_0x64a570;_(this,_0x2a7ad7(0x2a8),[]),_(this,_0x2a7ad7(0x22b),null),_(this,_0x2a7ad7(0x326),null),_(this,_0x2a7ad7(0x288),null),_(this,_0x2a7ad7(0x1af),null),_(this,_0x2a7ad7(0x17d),null),(this[_0x2a7ad7(0x1a6)]=_0x493884,this['_scene']=_0xa20537,this[_0x2a7ad7(0x276)]=_0x4662a2,this[_0x2a7ad7(0x26b)]=_0x3f6de2,this[_0x2a7ad7(0x2f6)]());}set[_0x64a570(0x33e)](_0x127132){const _0x3b295c=_0x64a570;_0x127132?(this['_anchorDot']&&this['_anchorDot'][_0x3b295c(0x25c)](),this[_0x3b295c(0x326)]&&this[_0x3b295c(0x326)]['show']()):(this['_anchorDot']&&this[_0x3b295c(0x288)][_0x3b295c(0x20e)](),this[_0x3b295c(0x326)]&&this['_textBubble'][_0x3b295c(0x25c)]());}[_0x64a570(0x2f7)](){const _0x29e3a5=_0x64a570;for(const _0x18e9fe of this['_shapes'])_0x18e9fe['dispose']();this[_0x29e3a5(0x326)]&&this['_textBubble'][_0x29e3a5(0x2f7)](),this[_0x29e3a5(0x288)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x29e3a5(0x22b)]['dispose'](),this[_0x29e3a5(0x17d)]&&this[_0x29e3a5(0x17d)]();}[_0x64a570(0x2f6)](){const _0x4f15d5=_0x64a570;var _0x43d02b;const {_docSkeleton:_0x3de080,_document:_0x123de3}=this,{color:_0x28973d,name:_0x9c528c,ranges:_0x3a23df}=this[_0x4f15d5(0x1a6)],_0x447d2d=_0x123de3['getOffsetConfig'](),{docsLeft:_0x2b1a26,docsTop:_0x546786}=_0x447d2d,_0x459c48=new _0x382084(_0x447d2d,_0x3de080);for(const {startOffset:_0x59a0f0,endOffset:_0x5de610,rangeType:_0x3fcc2b,segmentId:_0x5a6467,segmentPage:_0x2ed198,collapsed:_0x57e15f,isActive:_0x38cbd2}of _0x3a23df){const _0xeed358=_0x3de080[_0x4f15d5(0x138)](_0x59a0f0,!0x0,_0x5a6467,_0x2ed198);let _0xb2d9ca=_0x3de080[_0x4f15d5(0x138)](_0x5de610,!0x0,_0x5a6467,_0x2ed198);if(_0xb2d9ca==null&&(_0xb2d9ca=_0x3de080[_0x4f15d5(0x138)](_0x5de610-0x1,!0x1,_0x5a6467,_0x2ed198)),_0x38cbd2){const {contentBoxPointGroup:_0x1ec252}=_0x459c48[_0x4f15d5(0x278)](_0xb2d9ca,_0xb2d9ca);if(_0x1ec252[_0x4f15d5(0x167)]===0x0)continue;this[_0x4f15d5(0x1f6)](_0x28973d,_0x1ec252,_0x2b1a26,_0x546786,_0x9c528c),this[_0x4f15d5(0x17d)]=this['_handleHover']();}if(_0xeed358&&_0xb2d9ca){if(_0x3fcc2b===_0x32d4e6[_0x4f15d5(0x220)]){const _0x3a9af0=new _0x1dab74(_0x447d2d,_0x3de080),{pointGroup:_0x583129}=(_0x43d02b=_0x3a9af0[_0x4f15d5(0x278)](_0xeed358,_0xb2d9ca))!=null?_0x43d02b:{};if(_0x583129==null||_0x583129[_0x4f15d5(0x167)]===0x0)continue;this[_0x4f15d5(0x331)](_0x28973d,_0x583129,_0x2b1a26,_0x546786);}else{if(!_0x57e15f){const {borderBoxPointGroup:_0x2b0719}=_0x459c48[_0x4f15d5(0x278)](_0xeed358,_0xb2d9ca);if(_0x2b0719[_0x4f15d5(0x167)]===0x0)continue;this['_drawTextRange'](_0x28973d,_0x2b0719,_0x2b1a26,_0x546786);}}}}}[_0x64a570(0x1f6)](_0x553eed,_0x10a0a7,_0x1cae59,_0x1d42cb,_0x30eaf0){const _0x36dbaf=_0x64a570,_0x14abe6=this[_0x36dbaf(0x314)](_0x10a0a7),{left:_0x33112a,top:_0x2c43ec,height:_0x3101f6}=_0x14abe6,_0x3bb161=this[_0x36dbaf(0x2d7)](),_0x4f6bfa=Di/_0x3bb161,_0x27adc7=new _0x5e2a0b(ge+_0x237755['generateRandomId'](X),{'left':_0x33112a+_0x1cae59-_0x4f6bfa,'top':_0x2c43ec+_0x1d42cb,'height':_0x3101f6,'width':Ri,'fill':_0x553eed||_0x15d7dd(_0x2982c6[_0x36dbaf(0x1cc)],0x0),'strokeWidth':_0x4f6bfa,'stroke':Ni,'evented':!0x0});this[_0x36dbaf(0x22b)]=_0x27adc7,this[_0x36dbaf(0x28e)][_0x36dbaf(0x304)](_0x27adc7,_0x1d2481);const _0x4a3ea5=new _0x5e2a0b(ge+_0x237755[_0x36dbaf(0x2d1)](X),{'left':_0x33112a+_0x1cae59-_0x4f6bfa,'top':_0x2c43ec+_0x1d42cb-ve/0x2,'height':ve,'width':ve,'fill':_0x553eed||_0x15d7dd(_0x2982c6[_0x36dbaf(0x1cc)],0x0),'strokeWidth':0x0,'stroke':_0x553eed||_0x15d7dd(_0x2982c6[_0x36dbaf(0x1cc)],0x0),'evented':!0x1});this[_0x36dbaf(0x288)]=_0x4a3ea5,this[_0x36dbaf(0x28e)]['addObject'](_0x4a3ea5,_0x1d2481);const _0x27b4bb=new he(ge+_0x237755[_0x36dbaf(0x2d1)](X),{'left':_0x33112a+_0x1cae59-_0x4f6bfa,'top':_0x2c43ec+_0x1d42cb-ee,'text':_0x30eaf0,'color':_0x553eed});this[_0x36dbaf(0x326)]=_0x27b4bb,this['_scene'][_0x36dbaf(0x304)](_0x27b4bb,_0x1d2481),this[_0x36dbaf(0x33e)]=!0x1;}[_0x64a570(0x169)](){const _0x29faed=_0x64a570,_0x6050ac=this[_0x29faed(0x22b)][_0x29faed(0x163)]['subscribeEvent'](()=>{const _0x5cd702=_0x29faed;this[_0x5cd702(0x33e)]=!0x0;}),_0x20dee6=this[_0x29faed(0x22b)][_0x29faed(0x318)][_0x29faed(0x251)](()=>{const _0x489d56=_0x29faed;this[_0x489d56(0x1af)]&&clearTimeout(this[_0x489d56(0x1af)]),this[_0x489d56(0x1af)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5df982=_0x29faed;_0x6050ac[_0x5df982(0x29e)](),_0x20dee6[_0x5df982(0x29e)]();};}[_0x64a570(0x1ee)](_0x372176,_0x1bb948,_0x2486d2,_0x512654){const _0x56923f=_0x64a570,_0x44bb80=new _0x15fe72(_0x372176)[_0x56923f(0x18c)](0.2)[_0x56923f(0x1e4)](),_0x22f20a=new _0x5826cc(Oi+_0x237755[_0x56923f(0x2d1)](X),{'pointsGroup':_0x1bb948,'fill':_0x44bb80||_0x15d7dd(_0x2982c6[_0x56923f(0x1cc)],0.2),'left':_0x2486d2,'top':_0x512654,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56923f(0x2a8)][_0x56923f(0x19e)](_0x22f20a),this[_0x56923f(0x28e)]['addObject'](_0x22f20a,_0x1d2481);}[_0x64a570(0x331)](_0x47cbed,_0xce72c3,_0x3610de,_0x1e0368){const _0x48467d=_0x64a570,_0x6d47fc=new _0x15fe72(_0x47cbed)[_0x48467d(0x18c)](0.2)['toRgbString'](),_0x52f562=new _0x5826cc(Ti+_0x237755['generateRandomId'](X),{'pointsGroup':_0xce72c3,'fill':_0x6d47fc||_0x15d7dd(_0x2982c6[_0x48467d(0x1cc)],0.2),'left':_0x3610de,'top':_0x1e0368,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x48467d(0x19e)](_0x52f562),this[_0x48467d(0x28e)][_0x48467d(0x304)](_0x52f562,_0x1d2481);}[_0x64a570(0x314)](_0x722338){const _0x4b80e4=_0x722338[0x0],_0x1734a9=_0x4b80e4[0x0],_0x1612c6=_0x4b80e4[0x2],{x:_0x200e6d,y:_0x1270d0}=_0x1734a9,{x:_0x1f1c9a,y:_0x45d7f7}=_0x1612c6;return{'left':_0x200e6d,'top':_0x1270d0,'width':_0x1f1c9a-_0x200e6d,'height':_0x45d7f7-_0x1270d0};}[_0x64a570(0x2d7)](){const _0x1bc11d=_0x64a570,{scaleX:_0x2a27f8,scaleY:_0x22a534}=this[_0x1bc11d(0x28e)]['getAncestorScale']();return Math['max'](_0x2a27f8,_0x22a534);}}var Ui=Object[_0x64a570(0x1d7)],Mi=(_0x496a74,_0x3270ca,_0x218b3a,_0xc3915a)=>{const _0xc6a36=_0x64a570;for(var _0x190c9a=_0xc3915a>0x1?void 0x0:_0xc3915a?Ui(_0x3270ca,_0x218b3a):_0x3270ca,_0x3529b4=_0x496a74[_0xc6a36(0x167)]-0x1,_0x1bd453;_0x3529b4>=0x0;_0x3529b4--)(_0x1bd453=_0x496a74[_0x3529b4])&&(_0x190c9a=_0x1bd453(_0x190c9a)||_0x190c9a);return _0x190c9a;},Z=(_0x287acd,_0x541ac8)=>(_0x92b25,_0x3d7eda)=>_0x541ac8(_0x92b25,_0x3d7eda,_0x287acd);let Pe=class extends _0x1f868b{constructor(_0x56b0f8,_0x3e9c4d,_0x5bf839,_0x2b46d6,_0x262198){const _0x413b4e=_0x64a570;super(),_(this,_0x413b4e(0x242),[]),_(this,_0x413b4e(0x31d),[]),(this[_0x413b4e(0x222)]=_0x56b0f8,this[_0x413b4e(0x19c)]=_0x3e9c4d,this[_0x413b4e(0x28f)]=_0x5bf839,this[_0x413b4e(0x175)]=_0x2b46d6,this['_themeService']=_0x262198,this['_init']());}['_init'](){const _0x5310f2=_0x64a570,_0x3a6153=this[_0x5310f2(0x222)]['unitId'],_0x3b53a9=this[_0x5310f2(0x19c)];this[_0x5310f2(0x199)](_0xc0178f([this[_0x5310f2(0x28f)][_0x5310f2(0x184)](_0x3a6153),this[_0x5310f2(0x1c9)][_0x5310f2(0x1e5)]])['pipe'](_0x18039b(([_0x438f24,_0x1c077f])=>({'skeleton':_0x3b53a9[_0x5310f2(0x1c8)](),'cursors':[..._0x438f24[_0x5310f2(0x2bb)]()][_0x5310f2(0x22f)](_0x3df1e7=>({..._0x3df1e7,'color':_0x1c077f[_0x3df1e7[_0x5310f2(0x292)]]}))})))[_0x5310f2(0x13f)](_0x7d3a78=>{const _0x53c3bc=_0x5310f2;if(this[_0x53c3bc(0x158)](),_0x7d3a78){const {skeleton:_0x1b8348,cursors:_0x585059}=_0x7d3a78;this[_0x53c3bc(0x1c4)](_0x1b8348,_0x585059);}})),this[_0x5310f2(0x286)](),this[_0x5310f2(0x1e9)]();}['_updateCollabCursors'](_0x1c2243,_0x1194de){const _0x45f7cc=_0x64a570,{scene:_0x17a44b,mainComponent:_0x49b7c8}=this[_0x45f7cc(0x222)],_0x4d1dfe=_0x1194de['map'](_0x2bfe9b=>new qe(_0x2bfe9b,_0x17a44b,_0x1c2243,_0x49b7c8));this[_0x45f7cc(0x242)]=_0x4d1dfe,this[_0x45f7cc(0x31d)]=_0x1194de;}['_refreshCollabCursors'](){const _0x37da91=_0x64a570;this[_0x37da91(0x158)]();const {scene:_0x191f28,mainComponent:_0x54cd57}=this[_0x37da91(0x222)],_0x1fe9af=this[_0x37da91(0x19c)][_0x37da91(0x1c8)](),_0x584a6c=this[_0x37da91(0x31d)][_0x37da91(0x17c)](_0x41f749=>new qe(_0x41f749,_0x191f28,_0x1fe9af,_0x54cd57));this[_0x37da91(0x242)]=_0x584a6c;}[_0x64a570(0x158)](){const _0x148b40=_0x64a570;this[_0x148b40(0x242)]['forEach'](_0xe52b1a=>_0xe52b1a[_0x148b40(0x2f7)]()),this[_0x148b40(0x242)]=[];}['_initCommandExecutedListener'](){const _0x4ee8f4=_0x64a570,_0x555f13=[_0x537073['id']];this[_0x4ee8f4(0x199)](this[_0x4ee8f4(0x175)]['onCommandExecuted'](_0x23797b=>{const _0x10dfd0=_0x4ee8f4;_0x555f13[_0x10dfd0(0x315)](_0x23797b['id'])&&_0x23797b[_0x10dfd0(0x15c)][_0x10dfd0(0x2c9)]===this[_0x10dfd0(0x222)][_0x10dfd0(0x2c9)]&&this[_0x10dfd0(0x2b2)]();}));}['_initResize'](){const _0x83c867=_0x64a570;this['disposeWithMe'](_0x3273b8(this[_0x83c867(0x222)]['engine'][_0x83c867(0x208)])[_0x83c867(0x1b9)](_0xb24071(_0x444825=>_0x444825[_0x83c867(0x2ba)]===_0x2858bb[_0x83c867(0x221)]),_0x4d4b9e(0x10))[_0x83c867(0x13f)](()=>{const _0x3955be=_0x83c867;this[_0x3955be(0x2b2)]();}));}};Pe=Mi([Z(0x1,_0x31e7fe(_0x261d99)),Z(0x2,_0x31e7fe(H)),Z(0x3,_0x120bf5),Z(0x4,_0x31e7fe(_0x21db4a))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x3b7977{constructor(_0x7fc8fd,_0x19119a){const _0x5beaf4=_0x64a570;super(_0x7fc8fd,_0x19119a),_(this,_0x5beaf4(0x223)),_(this,_0x5beaf4(0x25b),!0x1),_(this,_0x5beaf4(0x197)),_(this,_0x5beaf4(0x21c),''),_(this,_0x5beaf4(0x1cd),_0x5beaf4(0x2f4)),_(this,_0x5beaf4(0x294)),(_0x19119a&&this[_0x5beaf4(0x147)](_0x19119a),this[_0x5beaf4(0x163)][_0x5beaf4(0x251)](()=>this[_0x5beaf4(0x147)]({'hovered':!0x0})),this[_0x5beaf4(0x318)][_0x5beaf4(0x251)](()=>this[_0x5beaf4(0x147)]({'hovered':!0x1})));}['setShapeProps'](_0x44ecc6){const _0x50f876=_0x64a570;var _0x2c7c47,_0x3e9074,_0x2d85ff,_0x475344,_0x300c29,_0x15795f;this[_0x50f876(0x223)]=(_0x2c7c47=_0x44ecc6[_0x50f876(0x292)])!=null?_0x2c7c47:this[_0x50f876(0x223)],this[_0x50f876(0x25b)]=(_0x3e9074=_0x44ecc6['hovered'])!=null?_0x3e9074:this[_0x50f876(0x25b)],this[_0x50f876(0x197)]=(_0x2d85ff=_0x44ecc6[_0x50f876(0x26e)])!=null?_0x2d85ff:this[_0x50f876(0x197)],this[_0x50f876(0x21c)]=(_0x475344=_0x44ecc6[_0x50f876(0x258)])!=null?_0x475344:this[_0x50f876(0x21c)],this[_0x50f876(0x1cd)]=(_0x300c29=_0x44ecc6[_0x50f876(0x1b6)])!=null?_0x300c29:this['_labelPosition'],this[_0x50f876(0x294)]=(_0x15795f=_0x44ecc6[_0x50f876(0x2e0)])!=null?_0x15795f:this['_backgroundColor'],this[_0x50f876(0x2b0)]({'width':_0x44ecc6[_0x50f876(0x32c)],'height':_0x44ecc6[_0x50f876(0x28c)]});}['onMouseMove'](_0x43e934){const _0x3aabdd=_0x64a570,{row:_0x2e0eea,column:_0x4c99d9}=_0x43e934;if(_0x2e0eea>=this[_0x3aabdd(0x197)][_0x3aabdd(0x19d)]&&_0x2e0eea<=this[_0x3aabdd(0x197)][_0x3aabdd(0x1ad)]&&_0x4c99d9>=this['_range'][_0x3aabdd(0x183)]&&_0x4c99d9<=this[_0x3aabdd(0x197)][_0x3aabdd(0x177)]){this[_0x3aabdd(0x147)]({'hovered':!0x0});return;}this[_0x3aabdd(0x147)]({'hovered':!0x1});}[_0x64a570(0x2bd)](_0xd24208){return!0x1;}['_draw'](_0x517fdb){const _0x7f7922=_0x64a570;_0x5e2a0b[_0x7f7922(0x308)](_0x517fdb,{'width':this[_0x7f7922(0x32c)],'height':this[_0x7f7922(0x28c)],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x7f7922(0x294)]}),this[_0x7f7922(0x25b)]&&(_0x517fdb['save'](),_0x517fdb[_0x7f7922(0x19f)](0x1,0x0,0x0,0x1,this[_0x7f7922(0x32c)],this[_0x7f7922(0x1cd)]==='bottom'?0x0:-0x14),he[_0x7f7922(0x308)](_0x517fdb,{'text':this[_0x7f7922(0x21c)],'color':this['_color']}),_0x517fdb[_0x7f7922(0x256)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x4a811a,_0x3a0cc0,_0x470497,_0xad9275)=>{for(var _0x4496a7=_0xad9275>0x1?void 0x0:_0xad9275?Ai(_0x3a0cc0,_0x470497):_0x3a0cc0,_0x2784b2=_0x4a811a['length']-0x1,_0x3ddf22;_0x2784b2>=0x0;_0x2784b2--)(_0x3ddf22=_0x4a811a[_0x2784b2])&&(_0x4496a7=_0x3ddf22(_0x4496a7)||_0x4496a7);return _0x4496a7;},Ie=(_0x26221c,_0x35b07c)=>(_0x239475,_0x5c1ac1)=>_0x35b07c(_0x239475,_0x5c1ac1,_0x26221c);const $i=0x1389;let we=class extends _0x1f868b{constructor(_0x55895d,_0x31a8f0,_0x1b83e5,_0x46fa8c){const _0x13ad2c=_0x64a570;super(),_(this,'_cursors',new Set()),_(this,_0x13ad2c(0x2c2),null),(this['_context']=_0x55895d,this[_0x13ad2c(0x14a)]=_0x31a8f0,this[_0x13ad2c(0x28f)]=_0x1b83e5,this['_themeService']=_0x46fa8c,this['_init']());}[_0x64a570(0x275)](){const _0x4ab676=_0x64a570;this[_0x4ab676(0x14a)][_0x4ab676(0x185)][_0x4ab676(0x1b9)](_0x145a8a(this['dispose$']),_0xcc45a(_0x3d09cb=>{const _0x3a19f2=_0x4ab676;if(_0x3d09cb){const _0x520b68=_0x3d09cb[_0x3a19f2(0x2a5)];return _0xc0178f(this['_collabCursorController'][_0x3a19f2(0x184)](this['_context'][_0x3a19f2(0x2c9)]),this['_themeService'][_0x3a19f2(0x1e5)])['pipe'](_0x18039b(([_0x125cc2,_0x15c65e])=>{const _0x4b4eb8=_0x3a19f2,_0x3cd667=new Map();return _0x125cc2[_0x4b4eb8(0x2c4)]((_0x359cb4,_0x234794)=>{const _0x21be1e=_0x4b4eb8;if(_0x359cb4[_0x21be1e(0x1ec)]===_0x520b68){const _0x48e21f={..._0x359cb4};_0x48e21f['color']=_0x15c65e[_0x359cb4['color']],_0x3cd667[_0x21be1e(0x247)](_0x234794,_0x48e21f);}}),{'skeleton':_0x3d09cb,'cursors':_0x3cd667};}));}return _0x12085({'skeleton':null,'cursors':new Map()});}))[_0x4ab676(0x13f)](({skeleton:_0x2f1c16,cursors:_0x5efb63})=>{const _0x14d783=_0x4ab676;this[_0x14d783(0x158)](),_0x2f1c16&&this[_0x14d783(0x1c4)](_0x2f1c16,_0x5efb63);}),this[_0x4ab676(0x14a)][_0x4ab676(0x185)][_0x4ab676(0x13f)](_0x34301d=>{const _0x3f6c9e=_0x4ab676;if(_0x34301d==null)return;const {skeleton:_0x8a47e3}=_0x34301d,{scene:_0x1b4d15}=this[_0x3f6c9e(0x222)];_0x1b4d15[_0x3f6c9e(0x1ce)]['subscribeEvent'](_0x737ff2(_0x1c5ffe=>{const _0x361c5e=_0x3f6c9e;var _0x2e9de4,_0x21ecc0;const {offsetX:_0x167fb8,offsetY:_0x50afa7}=_0x1c5ffe,{x:_0x26477e,y:_0xa1e842}=_0x1b4d15[_0x361c5e(0x1ff)](_0x352975[_0x361c5e(0x254)]([_0x167fb8,_0x50afa7])),{scaleX:_0x32da51,scaleY:_0x521100}=_0x1b4d15[_0x361c5e(0x2ec)](),_0xd7c6c=_0x1b4d15['getViewport'](_0x4cb84c[_0x361c5e(0x29f)]),_0x2358ab=_0x1b4d15[_0x361c5e(0x2f5)](_0x352975[_0x361c5e(0x254)]([_0x26477e,_0xa1e842]),_0xd7c6c),_0x5d7273=_0x8a47e3[_0x361c5e(0x300)](_0x167fb8,_0x50afa7,_0x32da51,_0x521100,_0x2358ab);((_0x2e9de4=this['_lastPointer'])==null?void 0x0:_0x2e9de4[_0x361c5e(0x155)])===_0x5d7273['column']&&((_0x21ecc0=this[_0x361c5e(0x2c2)])==null?void 0x0:_0x21ecc0['row'])===_0x5d7273[_0x361c5e(0x2cb)]||this[_0x361c5e(0x31d)]['forEach'](_0xefbc63=>{const _0x1ab495=_0x361c5e;_0xefbc63[_0x1ab495(0x218)](_0x5d7273);});},0x64));});}['_updateCollabCursors'](_0x4fecfd,_0x253410){const _0x82d0cc=_0x64a570;var _0x44c0dd;const _0x5012a5=(_0x44c0dd=this[_0x82d0cc(0x14a)][_0x82d0cc(0x25f)]())==null?void 0x0:_0x44c0dd[_0x82d0cc(0x32d)];if(!_0x5012a5)return;const _0x9aa514=this[_0x82d0cc(0x2b6)]();if(!_0x9aa514)return;this[_0x82d0cc(0x31d)]['forEach'](_0xea0167=>{_0xea0167['makeDirty']();});const {scene:_0x309e7d}=_0x9aa514,_0x513e54=xi(Array[_0x82d0cc(0x198)](_0x253410[_0x82d0cc(0x2bb)]()))['map'](_0x1df800=>{const _0x15bbf2=_0x82d0cc,{color:_0x295e8b,range:_0x33a401,name:_0x1e7973,selection:_0x56b898,sheetID:_0xa285ca}=_0x1df800,{startColumn:_0x1f1c04,startRow:_0x2cebcc,endColumn:_0x33511a,endRow:_0x8364e0}=_0x33a401,_0x2e43b5=_0x399d9c(_0x2cebcc,_0x1f1c04,_0x309e7d,_0x5012a5),_0x538983=_0x399d9c(_0x8364e0,_0x33511a,_0x309e7d,_0x5012a5),{columnHeaderHeightAndMarginTop:_0x3f1746}=_0x5012a5,{startX:_0x15571e,startY:_0x33da4b}=_0x2e43b5,{endX:_0x344fa7,endY:_0x5f50f8}=_0x538983,_0x276c48=_0x344fa7-_0x15571e,_0x5c28f3=_0x5f50f8-_0x33da4b,_0xdc4d48={'labelPosition':_0x33da4b-_0x3f1746>=ee?_0x15bbf2(0x2f4):_0x15bbf2(0x30b),'sheetID':_0xa285ca,'range':_0x33a401,'color':_0x295e8b,'name':_0x1e7973,'selection':_0x56b898,'left':_0x15571e,'top':_0x33da4b,'width':_0x276c48,'height':_0x5c28f3,'evented':!0x1,'zIndex':$i};return new Li(_0x1e7973,_0xdc4d48);});_0x309e7d['addObjects'](_0x513e54,Pi),this[_0x82d0cc(0x31d)]=new Set(_0x513e54);}[_0x64a570(0x158)](){const _0x1dc730=_0x64a570;var _0x1eccd9;(_0x1eccd9=this[_0x1dc730(0x31d)])==null||_0x1eccd9[_0x1dc730(0x2c4)](_0x5e161e=>_0x5e161e[_0x1dc730(0x2f7)]());}[_0x64a570(0x2b6)](){const _0x90a12b=_0x64a570;return _0x173073(this[_0x90a12b(0x222)][_0x90a12b(0x18f)],this[_0x90a12b(0x222)]);}};we=yi([Ie(0x1,_0x31e7fe(_0xfe8843)),Ie(0x2,_0x31e7fe(H)),Ie(0x3,_0x31e7fe(_0x21db4a))],we);function xi(_0x1304a2){const _0x5c60bd=_0x64a570,_0x2a25c9=new Map();return _0x1304a2[_0x5c60bd(0x2c4)](_0x1cf011=>{const _0x47b3aa=_0x5c60bd;if(_0x2a25c9[_0x47b3aa(0x209)](_0x1cf011[_0x47b3aa(0x2ea)])){const _0x108dd8=_0x2a25c9[_0x47b3aa(0x2c8)](_0x1cf011[_0x47b3aa(0x2ea)]);_0x108dd8[_0x47b3aa(0x258)]+=',\x20'+_0x1cf011[_0x47b3aa(0x258)];}else _0x2a25c9[_0x47b3aa(0x247)](_0x1cf011['selection'],_0x1cf011);}),Array['from'](_0x2a25c9['values']());}var I=function(){const _0x135af5=_0x64a570;return I=Object[_0x135af5(0x13b)]||function(_0x533812){const _0x529f6f=_0x135af5;for(var _0x4c2bf9,_0x4a059f=0x1,_0xaa0c1e=arguments['length'];_0x4a059f<_0xaa0c1e;_0x4a059f++){_0x4c2bf9=arguments[_0x4a059f];for(var _0x253acc in _0x4c2bf9)Object[_0x529f6f(0x31a)][_0x529f6f(0x311)][_0x529f6f(0x2ab)](_0x4c2bf9,_0x253acc)&&(_0x533812[_0x253acc]=_0x4c2bf9[_0x253acc]);}return _0x533812;},I[_0x135af5(0x334)](this,arguments);},Bi=function(_0x22cb41,_0x1e258a){const _0x2eaab8=_0x64a570;var _0x485b46={};for(var _0x4f669d in _0x22cb41)Object[_0x2eaab8(0x31a)][_0x2eaab8(0x311)][_0x2eaab8(0x2ab)](_0x22cb41,_0x4f669d)&&_0x1e258a[_0x2eaab8(0x2d5)](_0x4f669d)<0x0&&(_0x485b46[_0x4f669d]=_0x22cb41[_0x4f669d]);if(_0x22cb41!=null&&typeof Object[_0x2eaab8(0x168)]==_0x2eaab8(0x327)){for(var _0x1477dd=0x0,_0x4f669d=Object['getOwnPropertySymbols'](_0x22cb41);_0x1477dd<_0x4f669d[_0x2eaab8(0x167)];_0x1477dd++)_0x1e258a[_0x2eaab8(0x2d5)](_0x4f669d[_0x1477dd])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x22cb41,_0x4f669d[_0x1477dd])&&(_0x485b46[_0x4f669d[_0x1477dd]]=_0x22cb41[_0x4f669d[_0x1477dd]]);}return _0x485b46;},je=_0x5aca45(function(_0xe8d58e,_0x2c78c4){const _0x22b496=_0x64a570;var _0x209be2=_0xe8d58e[_0x22b496(0x23d)],_0x3c4d9a=_0xe8d58e['id'],_0x1af4ca=_0xe8d58e[_0x22b496(0x18b)],_0xc1ff61=_0xe8d58e[_0x22b496(0x282)],_0x500edc=Bi(_0xe8d58e,['icon','id','className',_0x22b496(0x282)]),_0x568613=_0x22b496(0x22a)[_0x22b496(0x23e)](_0x3c4d9a,'\x20')[_0x22b496(0x23e)](_0x1af4ca||'')[_0x22b496(0x2ca)](),_0x356c52=_0xe20147('_'[_0x22b496(0x23e)](ji()));return Rt(_0x209be2,''[_0x22b496(0x23e)](_0x3c4d9a),{'defIds':_0x209be2['defIds'],'idSuffix':_0x356c52[_0x22b496(0x166)]},I({'ref':_0x2c78c4,'className':_0x568613},_0x500edc),_0xc1ff61);});function Rt(_0x3baabe,_0xb46d98,_0x867b0,_0x5252f3,_0x3988d2){const _0xeab9e1=_0x64a570;return _0x2e2139(_0x3baabe['tag'],I(I({'key':_0xb46d98},ki(_0x3baabe,_0x867b0,_0x3988d2)),_0x5252f3),(Hi(_0x3baabe,_0x867b0)[_0xeab9e1(0x206)]||[])[_0xeab9e1(0x17c)](function(_0x47683b,_0x4fc064){const _0x4fefa2=_0xeab9e1;return Rt(_0x47683b,''[_0x4fefa2(0x23e)](_0xb46d98,'-')[_0x4fefa2(0x23e)](_0x3baabe[_0x4fefa2(0x16e)],'-')[_0x4fefa2(0x23e)](_0x4fc064),_0x867b0,void 0x0,_0x3988d2);}));}function ki(_0x34fa07,_0x56e2db,_0x1654d6){const _0x24f736=_0x64a570;var _0x1af2ae=I({},_0x34fa07['attrs']);_0x1654d6!=null&&_0x1654d6[_0x24f736(0x1f2)]&&_0x1af2ae[_0x24f736(0x329)]===_0x24f736(0x1f2)&&(_0x1af2ae['fill']=_0x1654d6[_0x24f736(0x1f2)]),_0x34fa07[_0x24f736(0x16e)]===_0x24f736(0x22d)&&_0x1af2ae['id']&&(_0x1af2ae['id']=_0x1af2ae['id']+_0x56e2db[_0x24f736(0x2be)]),Object[_0x24f736(0x2cf)](_0x1af2ae)[_0x24f736(0x2c4)](function(_0x565d87){const _0xcb2821=_0x24f736;var _0xff30fe=_0x565d87[0x0],_0x147c5f=_0x565d87[0x1];_0xff30fe===_0xcb2821(0x22d)&&typeof _0x147c5f==_0xcb2821(0x1bd)&&(_0x1af2ae[_0xff30fe]=_0x147c5f['replace'](/url\(#(.*)\)/,_0xcb2821(0x237)[_0xcb2821(0x23e)](_0x56e2db['idSuffix'],')')));});var _0x245e41=_0x56e2db[_0x24f736(0x16d)];return!_0x245e41||_0x245e41[_0x24f736(0x167)]===0x0||(_0x34fa07[_0x24f736(0x16e)]===_0x24f736(0x235)&&_0x1af2ae[_0x24f736(0x2a0)]&&(_0x1af2ae['xlink:href']=_0x1af2ae['xlink:href']+_0x56e2db[_0x24f736(0x2be)]),Object['entries'](_0x1af2ae)['forEach'](function(_0x21cb44){const _0x15b917=_0x24f736;var _0x1b10b0=_0x21cb44[0x0],_0xa90a82=_0x21cb44[0x1];typeof _0xa90a82==_0x15b917(0x1bd)&&(_0x1af2ae[_0x1b10b0]=_0xa90a82['replace'](/url\(#(.*)\)/,_0x15b917(0x237)[_0x15b917(0x23e)](_0x56e2db[_0x15b917(0x2be)],')')));})),_0x1af2ae;}function Hi(_0x127160,_0x220d78){const _0x36cd1a=_0x64a570;var _0x3226f5,_0x3abb7d=_0x220d78[_0x36cd1a(0x16d)];return!_0x3abb7d||_0x3abb7d[_0x36cd1a(0x167)]===0x0?_0x127160:_0x127160[_0x36cd1a(0x16e)]===_0x36cd1a(0x317)&&(!((_0x3226f5=_0x127160[_0x36cd1a(0x206)])===null||_0x3226f5===void 0x0)&&_0x3226f5[_0x36cd1a(0x167)])?I(I({},_0x127160),{'children':_0x127160[_0x36cd1a(0x206)][_0x36cd1a(0x17c)](function(_0x590b43){const _0x64c6ca=_0x36cd1a;return typeof _0x590b43[_0x64c6ca(0x196)]['id']==_0x64c6ca(0x1bd)&&_0x3abb7d&&_0x3abb7d['indexOf'](_0x590b43[_0x64c6ca(0x196)]['id'])>-0x1?I(I({},_0x590b43),{'attrs':I(I({},_0x590b43[_0x64c6ca(0x196)]),{'id':_0x590b43[_0x64c6ca(0x196)]['id']+_0x220d78[_0x64c6ca(0x2be)]})}):_0x590b43;})}):_0x127160;}function ji(){const _0x53bf4a=_0x64a570;return Math[_0x53bf4a(0x2f3)]()[_0x53bf4a(0x241)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x64a570(0x321);var Wi={'tag':_0x64a570(0x2ae),'attrs':{'fill':_0x64a570(0x164),'viewBox':_0x64a570(0x2bf),'width':_0x64a570(0x28b),'height':_0x64a570(0x28b)},'children':[{'tag':'g','attrs':{'clipPath':_0x64a570(0x285)},'children':[{'tag':'path','attrs':{'stroke':_0x64a570(0x2d8),'d':_0x64a570(0x2c6),'strokeLinecap':'round','strokeLinejoin':_0x64a570(0x1a2),'strokeWidth':1.2}}]},{'tag':_0x64a570(0x317),'attrs':{},'children':[{'tag':_0x64a570(0x1d9),'attrs':{'id':_0x64a570(0x161)},'children':[{'tag':_0x64a570(0x173),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x64a570(0x161)]},Dt=_0x5aca45(function(_0x29b7ca,_0x463200){const _0x50a8ec=_0x64a570;return _0x2e2139(je,Object['assign']({},_0x29b7ca,{'id':_0x50a8ec(0x29b),'ref':_0x463200,'icon':Wi}));});Dt[_0x64a570(0x2fa)]='OffLineSingle';var Fi={'tag':'svg','attrs':{'fill':_0x64a570(0x164),'viewBox':_0x64a570(0x28d),'width':_0x64a570(0x28b),'height':_0x64a570(0x28b)},'children':[{'tag':'g','attrs':{'clipPath':_0x64a570(0x1c6)},'children':[{'tag':_0x64a570(0x173),'attrs':{'stroke':_0x64a570(0x2d8),'d':_0x64a570(0x13c),'strokeLinecap':_0x64a570(0x1a2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x64a570(0x1d9),'attrs':{'id':_0x64a570(0x1fe)},'children':[{'tag':_0x64a570(0x173),'attrs':{'fill':_0x64a570(0x151),'d':'M0\x200H16V16H0z','transform':_0x64a570(0x1e8)}}]}]}],'defIds':[_0x64a570(0x1fe)]},Nt=_0x5aca45(function(_0x4d9f10,_0x4a6740){const _0x99c5ad=_0x64a570;return _0x2e2139(je,Object[_0x99c5ad(0x13b)]({},_0x4d9f10,{'id':'on-line-single','ref':_0x4a6740,'icon':Fi}));});Nt['displayName']=_0x64a570(0x165);function Yi(_0x458345){const _0x14d25c=_0x64a570;switch(_0x458345){case _0xa376d9['OFFLINE']:return _0x14d25c(0x21f);case _0xa376d9['CONFLICT']:return _0x14d25c(0x213);case _0xa376d9[_0x14d25c(0x2cc)]:return _0x14d25c(0x281);case _0xa376d9[_0x14d25c(0x140)]:return _0x14d25c(0x2a7);case _0xa376d9['AWAITING']:case _0xa376d9['AWAITING_WITH_PENDING']:return _0x14d25c(0x2c1);case _0xa376d9[_0x14d25c(0x2ee)]:case _0xa376d9[_0x14d25c(0x15d)]:return _0x14d25c(0x205);}}function Vi(_0x3d4b92){const _0x32f83d=_0x64a570,{status$:_0x4047ff}=_0x3d4b92,_0xc8199b=_0x38f4b4(_0x4047ff,_0xa376d9[_0x32f83d(0x140)]),_0xf2072c=_0x2eb808(_0x1eede4),_0x1b63a5=_0x2eb808(_0x26288a),_0x340c1f=_0xc8199b!==_0xa376d9['OFFLINE'],_0x37bd57=_0xf2072c['t'](Yi(_0xc8199b)),_0x471d65=_0x340c1f?_0x2b2214(Nt,{}):_0x2b2214(Dt,{}),_0xe358b4=_0x3befde(()=>{_0x340c1f||_0x1b63a5['reconnect']();},[_0x340c1f,_0x1b63a5]);function _0x5a0bcc(){const _0x170a14=_0x32f83d;return _0xc7d320(_0x170a14(0x1b2),{'className':_0x170a14(0x1b5),'onClick':_0xe358b4,'children':[_0x2b2214(_0x170a14(0x1b2),{'className':_0x329ae5(_0x170a14(0x2f0),_0x340c1f?_0x170a14(0x259):_0x170a14(0x271)),'children':_0x471d65}),_0x2b2214(_0x170a14(0x1b2),{'className':_0x170a14(0x1f7),'children':_0x37bd57})]});}return _0x340c1f?_0x5a0bcc():_0x2b2214(_0x5dce71,{'title':_0xf2072c['t']('collab-client.tooltip.reconnect'),'children':_0x5a0bcc()});}var Xi=Object[_0x64a570(0x1d7)],Gi=(_0x14cb7a,_0xa8621e,_0x1f3eac,_0x2ce421)=>{const _0x2e869d=_0x64a570;for(var _0x2f7903=_0x2ce421>0x1?void 0x0:_0x2ce421?Xi(_0xa8621e,_0x1f3eac):_0xa8621e,_0x313ba6=_0x14cb7a[_0x2e869d(0x167)]-0x1,_0x5c1976;_0x313ba6>=0x0;_0x313ba6--)(_0x5c1976=_0x14cb7a[_0x313ba6])&&(_0x2f7903=_0x5c1976(_0x2f7903)||_0x2f7903);return _0x2f7903;},Q=(_0x3f0496,_0x2acfae)=>(_0x8c1cc2,_0x1d1cee)=>_0x2acfae(_0x8c1cc2,_0x1d1cee,_0x3f0496);let te=class extends _0x455ce9{constructor(_0x524ed1,_0xd31bfc,_0x4b9560,_0x40d7c1){const _0x842597=_0x64a570;super(),_(this,_0x842597(0x152),new _0x2241b1(_0xa376d9[_0x842597(0x140)])),(this['_univerInstanceService']=_0x524ed1,this['_injector']=_0xd31bfc,this['_collaborationController']=_0x4b9560,this[_0x842597(0x24e)]=_0x40d7c1,this[_0x842597(0x182)](),this[_0x842597(0x19a)]());}[_0x64a570(0x19a)](){const _0x1fe77b=_0x64a570;this['disposeWithMe'](this[_0x1fe77b(0x191)][_0x1fe77b(0x2fb)][_0x1fe77b(0x1b9)](_0x49b8bc(()=>{const _0xc672f9=_0x1fe77b,_0x4d75e7=this['_univerInstanceService'][_0xc672f9(0x216)]();return _0x4d75e7?this[_0xc672f9(0x267)]['getCollabEntity$'](_0x4d75e7[_0xc672f9(0x2b1)]()):_0x12085(null);}),_0x49b8bc(_0x384074=>_0x384074?_0x384074[_0x1fe77b(0x214)]:_0x12085(_0xa376d9[_0x1fe77b(0x140)])))[_0x1fe77b(0x13f)](_0x4fa52f=>{const _0x435361=_0x1fe77b;this[_0x435361(0x152)]['next'](_0x4fa52f);}));}[_0x64a570(0x182)](){const _0x2badb7=_0x64a570;this[_0x2badb7(0x199)](this[_0x2badb7(0x24e)][_0x2badb7(0x265)](_0x2de49d[_0x2badb7(0x1f1)],()=>_0x3d8793(Ki({'status$':this['_status$'][_0x2badb7(0x319)]()}),this[_0x2badb7(0x24c)])));}};te=Gi([Q(0x0,_0x58d7bd),Q(0x1,_0x31e7fe(_0x533dcb)),Q(0x2,_0x31e7fe(_0x46cb23)),Q(0x3,_0x544073)],te);function Ki(_0x41ede5){const {status$:_0x4af822}=_0x41ede5;return function(){return _0x2b2214(Vi,{'status$':_0x4af822});};}var zi=Object[_0x64a570(0x1d7)],Ji=(_0x2beac7,_0x4d1f0a,_0x321049,_0x5c9f81)=>{const _0x59d3cb=_0x64a570;for(var _0x1d67ab=_0x5c9f81>0x1?void 0x0:_0x5c9f81?zi(_0x4d1f0a,_0x321049):_0x4d1f0a,_0x2cfa9c=_0x2beac7[_0x59d3cb(0x167)]-0x1,_0x5db90c;_0x2cfa9c>=0x0;_0x2cfa9c--)(_0x5db90c=_0x2beac7[_0x2cfa9c])&&(_0x1d67ab=_0x5db90c(_0x1d67ab)||_0x1d67ab);return _0x1d67ab;},B=(_0x220b59,_0x1148e3)=>(_0xf78ecb,_0x3b7111)=>_0x1148e3(_0xf78ecb,_0x3b7111,_0x220b59);let se=class extends _0x455ce9{constructor(_0x1d2953,_0x37f466,_0x12d758,_0x1cb304,_0x3dbaea,_0x16b9ed){const _0x404fa0=_0x64a570;super(),this['_beforeCloseService']=_0x1d2953,this[_0x404fa0(0x30e)]=_0x37f466,this['_collaborationUIEventService']=_0x12d758,this['_messageService']=_0x1cb304,this['_notificationService']=_0x3dbaea,this[_0x404fa0(0x2a9)]=_0x16b9ed,this[_0x404fa0(0x13a)](),this[_0x404fa0(0x143)]();}[_0x64a570(0x13a)](){const _0x312a7a=_0x64a570;this[_0x312a7a(0x199)](this[_0x312a7a(0x324)][_0x312a7a(0x25d)](()=>{const _0x4ff818=_0x312a7a;if(this[_0x4ff818(0x30e)][_0x4ff818(0x1b3)][_0x4ff818(0x2e2)])return this['_localeService']['t'](_0x4ff818(0x1aa));}));}[_0x64a570(0x143)](){const _0x39af36=_0x64a570;this['disposeWithMe'](this[_0x39af36(0x20b)][_0x39af36(0x250)][_0x39af36(0x13f)](_0xaa21c6=>{const _0x182f08=_0x39af36;_0xaa21c6['id']===_0x40c25b[_0x182f08(0x1a1)]&&this[_0x182f08(0x297)]['show']({'type':_0xab9cf9[_0x182f08(0x2c7)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x228))}),_0xaa21c6['id']===_0x40c25b['CLOSE_ROOM']&&this[_0x182f08(0x297)]['show']({'type':_0xab9cf9[_0x182f08(0x2c7)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x2de))}),_0xaa21c6['id']===_0x40c25b['PERMISSION_DENIED']&&this[_0x182f08(0x264)][_0x182f08(0x20e)]({'title':this[_0x182f08(0x2a9)]['t']('permission.title'),'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x225)),'type':_0x182f08(0x31c),'duration':0x0}),_0xaa21c6['id']===_0x40c25b['CONFLICT']&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x283)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x2de))+'('+_0xaa21c6['data']+')'}),_0xaa21c6['id']===_0x40c25b[_0x182f08(0x29a)]&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x2c7)],'content':this[_0x182f08(0x2a9)]['t'](_0xaa21c6[_0x182f08(0x2f9)]||'')}),_0xaa21c6['id']===_0x40c25b[_0x182f08(0x1db)]&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x2c7)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x194))}),_0xaa21c6['id']===_0x40c25b['SOCKET_FAILED']&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x283)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x180))}),_0xaa21c6['id']===_0x40c25b[_0x182f08(0x212)]&&this[_0x182f08(0x297)][_0x182f08(0x20e)]({'type':_0xab9cf9[_0x182f08(0x283)],'content':this[_0x182f08(0x2a9)]['t'](_0x182f08(0x1d4))});}));}};se=Ji([B(0x0,_0x5e34d6),B(0x1,_0x1cfe94),B(0x2,_0x31e7fe(_0x5812fd)),B(0x3,_0x3297fc),B(0x4,_0x3212f3),B(0x5,_0x31e7fe(_0x1eede4))],se);const Zi=_0x64a570(0x2e3),et={},Ut=_0x274757(_0x64a570(0x1d0));var Qi=Object[_0x64a570(0x1d7)],qi=(_0x25937e,_0x10666c,_0x232e6a,_0x5afe5d)=>{const _0x487ced=_0x64a570;for(var _0x32c122=_0x5afe5d>0x1?void 0x0:_0x5afe5d?Qi(_0x10666c,_0x232e6a):_0x10666c,_0x42adc8=_0x25937e[_0x487ced(0x167)]-0x1,_0x2b1926;_0x42adc8>=0x0;_0x42adc8--)(_0x2b1926=_0x25937e[_0x42adc8])&&(_0x32c122=_0x2b1926(_0x32c122)||_0x32c122);return _0x32c122;},G=(_0x313e8b,_0x4f353b)=>(_0x37f4bf,_0x2baeb8)=>_0x4f353b(_0x37f4bf,_0x2baeb8,_0x313e8b);let ie=class extends _0x1f868b{constructor(_0x10eb30,_0x274e10,_0x4b6697,_0x394c01,_0x2cb5b6){const _0x5c674e=_0x64a570;super(),this[_0x5c674e(0x2e5)]=_0x10eb30,this[_0x5c674e(0x188)]=_0x274e10,this[_0x5c674e(0x175)]=_0x4b6697,this['_dataLoaderService']=_0x394c01,_0x2cb5b6?_0x2cb5b6==null||_0x2cb5b6[_0x5c674e(0x255)]()[_0x5c674e(0x226)](()=>this[_0x5c674e(0x275)]()):(this[_0x5c674e(0x188)][_0x5c674e(0x1f0)](_0x5c674e(0x29c),_0x5c674e(0x195)),this[_0x5c674e(0x275)]());}async[_0x64a570(0x275)](){const _0xdd1ff2=_0x64a570,_0x5d6462=this[_0xdd1ff2(0x2e5)][_0xdd1ff2(0x26a)](_0xdd1ff2(0x18f)),_0x3b0651=this[_0xdd1ff2(0x2e5)][_0xdd1ff2(0x26a)]('type'),_0x3951f6=this['_urlService'][_0xdd1ff2(0x26a)](_0xdd1ff2(0x27a));if(!_0x5d6462||!_0x3b0651){this[_0xdd1ff2(0x188)]['debug'](_0xdd1ff2(0x29c),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x10b66c=await this[_0xdd1ff2(0x33c)][_0xdd1ff2(0x1bb)](_0x5d6462,Number(_0x3b0651),_0x3951f6);_0x10b66c&&_0x10b66c instanceof _0x5278e9&&this[_0xdd1ff2(0x2cd)](_0x10b66c);}async['_setupSubUnitSync'](_0x656b94){const _0xb618c5=_0x64a570;await this[_0xb618c5(0x2dd)](_0x656b94),_0x656b94[_0xb618c5(0x268)][_0xb618c5(0x1b9)](_0x2bd97e(this[_0xb618c5(0x2b5)]))['subscribe'](_0x4bd01b=>{const _0x31ce8f=_0xb618c5;_0x4bd01b&&this[_0x31ce8f(0x33d)](_0x4bd01b);}),this[_0xb618c5(0x2e5)][_0xb618c5(0x336)][_0xb618c5(0x1b9)](_0x2bd97e(this[_0xb618c5(0x2b5)]))[_0xb618c5(0x13f)](()=>this[_0xb618c5(0x2dd)](_0x656b94));}[_0x64a570(0x33d)](_0x5604e4,_0x490fef=!0x1){const _0x4007f0=_0x64a570,_0xe9c955=this[_0x4007f0(0x2e5)][_0x4007f0(0x26a)](_0x4007f0(0x27a));_0x5604e4['getSheetId']()!==_0xe9c955&&this['_urlService'][_0x4007f0(0x26c)](_0x4007f0(0x27a),_0x5604e4['getSheetId'](),_0x490fef);}async[_0x64a570(0x2dd)](_0x1ddaef){const _0x189561=_0x64a570;var _0x417f7e;const _0x2da1e0=this['_urlService'][_0x189561(0x26a)](_0x189561(0x27a));if(!_0x2da1e0||!_0x1ddaef[_0x189561(0x269)](_0x2da1e0)){const _0x4955a0=_0x1ddaef['getUnhiddenWorksheets']()[0x0],_0x57fc2f=_0x1ddaef[_0x189561(0x269)](_0x4955a0);if(!_0x57fc2f)return;this[_0x189561(0x33d)](_0x57fc2f,!0x0),await this['_commandService'][_0x189561(0x17e)](_0x4b1b7c['id'],{'unitId':_0x1ddaef[_0x189561(0x2b1)](),'subUnitId':_0x4955a0});return;}((_0x417f7e=_0x1ddaef[_0x189561(0x30d)]())==null?void 0x0:_0x417f7e[_0x189561(0x244)]())!==_0x2da1e0&&await this[_0x189561(0x175)][_0x189561(0x17e)](_0x4b1b7c['id'],{'unitId':_0x1ddaef[_0x189561(0x2b1)](),'subUnitId':_0x2da1e0});}};ie=qi([G(0x0,Ut),G(0x1,_0x5e80c4),G(0x2,_0x120bf5),G(0x3,_0x31e7fe(_0x1912e7)),G(0x4,_0xb13320(_0x4fd581))],ie);var en=Object[_0x64a570(0x1d7)],tn=(_0x34ad2d,_0x263c90,_0x484f8c,_0x43879c)=>{const _0x3b9f20=_0x64a570;for(var _0x560bd4=_0x43879c>0x1?void 0x0:_0x43879c?en(_0x263c90,_0x484f8c):_0x263c90,_0x4c1429=_0x34ad2d[_0x3b9f20(0x167)]-0x1,_0x51c1c7;_0x4c1429>=0x0;_0x4c1429--)(_0x51c1c7=_0x34ad2d[_0x4c1429])&&(_0x560bd4=_0x51c1c7(_0x560bd4)||_0x560bd4);return _0x560bd4;},pe=(_0x3c0e2f,_0x1fc001)=>(_0x117caa,_0x4cc4cb)=>_0x1fc001(_0x117caa,_0x4cc4cb,_0x3c0e2f);let ne=class{constructor(_0x52adfc,_0x111830,_0x54f6b8){const _0x5e7238=_0x64a570;this[_0x5e7238(0x24c)]=_0x52adfc,this[_0x5e7238(0x211)]=_0x111830,this[_0x5e7238(0x1e3)]=_0x54f6b8;}['transformIMECache'](_0x26ba6c){const _0x24c2a0=_0x64a570;this[_0x24c2a0(0x1a0)](_0x26ba6c),this[_0x24c2a0(0x1be)](_0x26ba6c);}[_0x64a570(0x24b)](_0x33c918){const _0x48cd02=_0x64a570,{unitID:_0x4c031c}=_0x33c918,_0x2ace1e=this[_0x48cd02(0x1e3)][_0x48cd02(0x30a)](_0x4c031c)[_0x48cd02(0x153)](_0x412fe3),{redoCache:_0x830f8f}=_0x2ace1e[_0x48cd02(0x28a)]();if(_0x830f8f['length']===0x0)return _0x33c918;let _0x22c1c8=_0x237755['deepClone'](_0x33c918[_0x48cd02(0x2a3)][0x0]);for(let _0x4ee10d=0x0;_0x4ee10d<_0x830f8f[_0x48cd02(0x167)];_0x4ee10d++){const _0x4d8400={'id':_0x48cd02(0x162),'params':{..._0x830f8f[_0x4ee10d]}},_0x24c4ed=this['_transformService']['transformMutation'](_0x22c1c8,_0x4d8400,!0x1);if(_0x3fbac4(_0x24c4ed))throw _0x24c4ed[_0x48cd02(0x31c)];_0x22c1c8=_0x24c4ed['m1Prime'];}return{..._0x237755['deepClone'](_0x33c918),'mutations':[_0x22c1c8]};}[_0x64a570(0x1a0)](_0x496e98){const _0x1c91d6=_0x64a570,{unitID:_0x225ae0}=_0x496e98,_0xf18646=this[_0x1c91d6(0x1e3)]['getRenderById'](_0x225ae0)[_0x1c91d6(0x153)](_0x412fe3),{undoCache:_0xa0c555,redoCache:_0x134435}=_0xf18646[_0x1c91d6(0x28a)]();if(_0xa0c555['length']===0x0||_0x134435[_0x1c91d6(0x167)]===0x0)return;const _0x4a4484=[],_0x301fdb=[];let _0x321276=_0x237755[_0x1c91d6(0x14e)](_0x496e98[_0x1c91d6(0x2a3)][0x0]),_0x417562=_0x237755[_0x1c91d6(0x14e)](_0x496e98[_0x1c91d6(0x2a3)][0x0]);for(let _0x159127=_0xa0c555[_0x1c91d6(0x167)]-0x1;_0x159127>=0x0;_0x159127--){const _0x522058={'id':_0x1c91d6(0x162),'params':{..._0xa0c555[_0x159127]}},_0x5d3a32={'id':_0x1c91d6(0x162),'params':{..._0x134435[_0x159127]}},_0x10ff3e=this[_0x1c91d6(0x211)][_0x1c91d6(0x1ac)](_0x321276,_0x522058,!0x1),_0x18544c=this[_0x1c91d6(0x211)][_0x1c91d6(0x1ac)](_0x417562,_0x5d3a32,!0x1);if(_0x3fbac4(_0x10ff3e))throw _0x10ff3e[_0x1c91d6(0x31c)];if(_0x3fbac4(_0x18544c))throw _0x18544c['error'];_0x4a4484[_0x1c91d6(0x1c0)](_0x10ff3e[_0x1c91d6(0x178)][_0x1c91d6(0x15c)]),_0x301fdb[_0x1c91d6(0x1c0)](_0x18544c[_0x1c91d6(0x178)]['params']),_0x321276=_0x10ff3e['m1Prime'],_0x417562=_0x18544c[_0x1c91d6(0x2d2)];}_0xf18646['setUndoRedoMutationParamsCache']({'undoCache':_0x4a4484,'redoCache':_0x301fdb});}[_0x64a570(0x1be)](_0x15b10d){const _0x1cc002=_0x64a570,{unitID:_0x2386d6}=_0x15b10d,_0x4decb5=this[_0x1cc002(0x1e3)][_0x1cc002(0x30a)](_0x2386d6)[_0x1cc002(0x153)](_0x412fe3),_0x169f0b=_0x4decb5[_0x1cc002(0x15e)]();if(_0x169f0b==null)return;const _0x441f18=[{'id':_0x1cc002(0x162),'params':{'unitId':_0x15b10d[_0x1cc002(0x18e)],'actions':null,'textRanges':[_0x169f0b]}}],_0x5e7f67=this[_0x1cc002(0x211)]['transformMutationsWithChangeset'](_0x15b10d,_0x441f18);if(!_0x1dccd0(_0x5e7f67))throw _0x5e7f67[_0x1cc002(0x31c)];const _0x56f815=_0x5e7f67[_0x1cc002(0x178)][0x0][_0x1cc002(0x15c)][_0x1cc002(0x16b)];Array[_0x1cc002(0x243)](_0x56f815)&&_0x56f815['length']&&_0x4decb5['setActiveRange'](_0x56f815[0x0]);}};ne=tn([pe(0x0,_0x31e7fe(_0x533dcb)),pe(0x1,_0x1c906c),pe(0x2,_0x1e1d94)],ne);var sn=Object[_0x64a570(0x1d7)],nn=(_0x3b356a,_0x5f0712,_0x15120d,_0x1ef85a)=>{for(var _0x39ee1f=_0x1ef85a>0x1?void 0x0:_0x1ef85a?sn(_0x5f0712,_0x15120d):_0x5f0712,_0x254c0d=_0x3b356a['length']-0x1,_0x179458;_0x254c0d>=0x0;_0x254c0d--)(_0x179458=_0x3b356a[_0x254c0d])&&(_0x39ee1f=_0x179458(_0x39ee1f)||_0x39ee1f);return _0x39ee1f;},Ce=(_0x5cccf2,_0x5e76db)=>(_0x322442,_0xa903e5)=>_0x5e76db(_0x322442,_0xa903e5,_0x5cccf2);let re=class{constructor(_0x968af,_0x59f6c2,_0x2268ca){const _0x58e6f5=_0x64a570;this['_injector']=_0x968af,this[_0x58e6f5(0x211)]=_0x59f6c2,this[_0x58e6f5(0x1d2)]=_0x2268ca;}[_0x64a570(0x261)](_0x33b95c){const _0x2641d2=_0x64a570;this[_0x2641d2(0x21d)](_0x33b95c);}['transformRemoteChangeset'](_0x3f2266){const _0x3f29a8=_0x64a570,{unitID:_0x4937db}=_0x3f2266,{collaboration:_0x39ec51}=this[_0x3f29a8(0x1d2)][_0x3f29a8(0x207)](_0x4937db);if(_0x39ec51[_0x3f29a8(0x167)]===0x0)return _0x3f2266;let _0x3ce84d=_0x237755['deepClone'](_0x3f2266[_0x3f29a8(0x2a3)][0x0]);for(let _0x21794c=0x0;_0x21794c<_0x39ec51['length'];_0x21794c++){const _0x4caf1e={'id':_0x3f29a8(0x162),'params':{'unitId':_0x39ec51[_0x21794c]['unitId'],..._0x39ec51[_0x21794c][_0x3f29a8(0x29d)]}},_0x2b5e09=this[_0x3f29a8(0x211)][_0x3f29a8(0x1ac)](_0x3ce84d,_0x4caf1e,!0x1);if(_0x3fbac4(_0x2b5e09))throw _0x2b5e09[_0x3f29a8(0x31c)];_0x3ce84d=_0x2b5e09[_0x3f29a8(0x2d2)];}return{..._0x237755['deepClone'](_0x3f2266),'mutations':[_0x3ce84d]};}['_transformHistoryAndStateStack'](_0x14d369){const _0x20ffe7=_0x64a570,{unitID:_0x4f0f56}=_0x14d369,{history:_0x4fd91e,collaboration:_0x1e702d}=this[_0x20ffe7(0x1d2)]['getStateCache'](_0x4f0f56);if(_0x4fd91e['length']===0x0&&_0x1e702d[_0x20ffe7(0x167)]===0x0)return;const _0xdfb361=[],_0x66b278=[];let _0x1d2096=_0x237755[_0x20ffe7(0x14e)](_0x14d369[_0x20ffe7(0x2a3)][0x0]),_0x2c8930=_0x237755[_0x20ffe7(0x14e)](_0x14d369[_0x20ffe7(0x2a3)][0x0]);for(let _0x1c5ba3=_0x4fd91e[_0x20ffe7(0x167)]-0x1;_0x1c5ba3>=0x0;_0x1c5ba3--){const _0x53ceac={'id':_0x20ffe7(0x162),'params':{'unitId':_0x4fd91e[_0x1c5ba3]['unitId'],..._0x4fd91e[_0x1c5ba3][_0x20ffe7(0x20c)]}},_0x364267={'id':_0x20ffe7(0x162),'params':{'unitId':_0x4fd91e[_0x1c5ba3][_0x20ffe7(0x2c9)],..._0x4fd91e[_0x1c5ba3][_0x20ffe7(0x29d)]}},_0x111a46=this[_0x20ffe7(0x211)][_0x20ffe7(0x1ac)](_0x1d2096,_0x53ceac,!0x1),_0xdce8cd=this[_0x20ffe7(0x211)]['transformMutation'](_0x2c8930,_0x364267,!0x1);if(_0x3fbac4(_0x111a46))throw _0x111a46[_0x20ffe7(0x31c)];if(_0x3fbac4(_0xdce8cd))throw _0xdce8cd[_0x20ffe7(0x31c)];_0xdfb361[_0x20ffe7(0x1c0)]({..._0x4fd91e[_0x1c5ba3],'undoState':_0x111a46[_0x20ffe7(0x178)][_0x20ffe7(0x15c)],'redoState':_0xdce8cd['m2Prime']['params']}),_0x1d2096=_0x111a46[_0x20ffe7(0x2d2)],_0x2c8930=_0xdce8cd['m1Prime'];}_0x1d2096=_0x237755[_0x20ffe7(0x14e)](_0x14d369[_0x20ffe7(0x2a3)][0x0]),_0x2c8930=_0x237755['deepClone'](_0x14d369[_0x20ffe7(0x2a3)][0x0]);for(let _0x2b4afb=_0x1e702d['length']-0x1;_0x2b4afb>=0x0;_0x2b4afb--){const _0x15205a={'id':_0x20ffe7(0x162),'params':{'unitId':_0x1e702d[_0x2b4afb][_0x20ffe7(0x2c9)],..._0x1e702d[_0x2b4afb]['undoState']}},_0x1dceb0={'id':_0x20ffe7(0x162),'params':{'unitId':_0x1e702d[_0x2b4afb][_0x20ffe7(0x2c9)],..._0x1e702d[_0x2b4afb][_0x20ffe7(0x29d)]}},_0x3a68bc=this[_0x20ffe7(0x211)][_0x20ffe7(0x1ac)](_0x1d2096,_0x15205a,!0x1),_0x50f482=this[_0x20ffe7(0x211)][_0x20ffe7(0x1ac)](_0x2c8930,_0x1dceb0,!0x1);if(_0x3fbac4(_0x3a68bc))throw _0x3a68bc[_0x20ffe7(0x31c)];if(_0x3fbac4(_0x50f482))throw _0x50f482['error'];_0x66b278[_0x20ffe7(0x1c0)]({..._0x1e702d[_0x2b4afb],'undoState':_0x3a68bc[_0x20ffe7(0x178)][_0x20ffe7(0x15c)],'redoState':_0x50f482['m2Prime'][_0x20ffe7(0x15c)]}),_0x1d2096=_0x3a68bc['m1Prime'],_0x2c8930=_0x50f482[_0x20ffe7(0x2d2)];}this[_0x20ffe7(0x1d2)][_0x20ffe7(0x15b)](_0x4f0f56,{'history':_0xdfb361,'collaboration':_0x66b278});}};re=nn([Ce(0x0,_0x31e7fe(_0x533dcb)),Ce(0x1,_0x1c906c),Ce(0x2,_0x31e7fe(_0x13afef))],re);var rn=Object[_0x64a570(0x1d7)],on=(_0x92fe32,_0xc39ad5,_0x5cfe36,_0x41e1a5)=>{const _0x3fca68=_0x64a570;for(var _0x7d3681=_0x41e1a5>0x1?void 0x0:_0x41e1a5?rn(_0xc39ad5,_0x5cfe36):_0xc39ad5,_0x46651a=_0x92fe32[_0x3fca68(0x167)]-0x1,_0x1aa810;_0x46651a>=0x0;_0x46651a--)(_0x1aa810=_0x92fe32[_0x46651a])&&(_0x7d3681=_0x1aa810(_0x7d3681)||_0x7d3681);return _0x7d3681;},tt=(_0x589ba3,_0x53dbf3)=>(_0x11974b,_0x563f8d)=>_0x53dbf3(_0x11974b,_0x563f8d,_0x589ba3);let oe=class{constructor(_0x46a475,_0x5e2833){const _0x5a697c=_0x64a570;this[_0x5a697c(0x24c)]=_0x46a475,this[_0x5a697c(0x211)]=_0x5e2833;}[_0x64a570(0x302)](_0x355e44){const _0x22791d=_0x64a570;var _0x33b0ba;const _0x56b00c=this['_injector'][_0x22791d(0x2c8)](_0x346665),_0x1c27a4=(_0x33b0ba=_0x56b00c[_0x22791d(0x16c)]())!=null?_0x33b0ba:[];if(_0x1c27a4[_0x22791d(0x167)]===0x0)return;const _0x1f69f2=_0x355e44[_0x22791d(0x18e)],_0x37655f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f69f2,'actions':null,'textRanges':_0x1c27a4}}],_0x2c2eaa=this[_0x22791d(0x211)]['transformMutationsWithChangeset'](_0x355e44,_0x37655f);if(!_0x1dccd0(_0x2c2eaa))throw _0x2c2eaa[_0x22791d(0x31c)];const _0x4bdba7=_0x2c2eaa['m2Prime'][0x0][_0x22791d(0x15c)][_0x22791d(0x16b)];Array[_0x22791d(0x243)](_0x4bdba7)&&_0x4bdba7[_0x22791d(0x167)]&&_0x56b00c[_0x22791d(0x1ba)](_0x4bdba7,{'unitId':_0x1f69f2,'subUnitId':_0x1f69f2},!0x1);}};oe=on([tt(0x0,_0x31e7fe(_0x533dcb)),tt(0x1,_0x1c906c)],oe);var an=Object[_0x64a570(0x1d7)],cn=(_0x4642eb,_0xa0cdd0,_0x33c9fb,_0x45985b)=>{for(var _0x944b3f=_0x45985b>0x1?void 0x0:_0x45985b?an(_0xa0cdd0,_0x33c9fb):_0xa0cdd0,_0x45b906=_0x4642eb['length']-0x1,_0x103d2a;_0x45b906>=0x0;_0x45b906--)(_0x103d2a=_0x4642eb[_0x45b906])&&(_0x944b3f=_0x103d2a(_0x944b3f)||_0x944b3f);return _0x944b3f;},U=(_0x19d6ec,_0x364d84)=>(_0x1faf92,_0x17b9cd)=>_0x364d84(_0x1faf92,_0x17b9cd,_0x19d6ec);let ae=class extends _0x455ce9{constructor(_0x4d961e,_0x2648d2,_0x183dd0,_0x421ab7,_0xc25a0e,_0xf277db,_0x244e8a,_0x5a55ac){const _0x181684=_0x64a570;super(),_(this,_0x181684(0x152),new _0x2241b1(_0xa376d9['NOT_COLLAB'])),(this[_0x181684(0x1d2)]=_0x4d961e,this['_collaborationController']=_0x2648d2,this[_0x181684(0x172)]=_0x183dd0,this['_docTransformStateCacheService']=_0x421ab7,this['_docTransformSelectionsService']=_0xc25a0e,this[_0x181684(0x296)]=_0xf277db,this[_0x181684(0x297)]=_0x244e8a,this[_0x181684(0x2a9)]=_0x5a55ac,this['_initEntityListener']());}[_0x64a570(0x2c3)](){const _0x1af4a7=_0x64a570;this['disposeWithMe'](this[_0x1af4a7(0x267)][_0x1af4a7(0x1ea)][_0x1af4a7(0x13f)](_0x2b9015=>{const _0x543a57=_0x1af4a7,_0x528530=this[_0x543a57(0x1d2)]['docStateChange$'][_0x543a57(0x13f)](_0x1ba6d9=>{const _0x25c458=_0x543a57;if(_0x1ba6d9==null)return;const {unitId:_0x5cc782,redoState:_0x41e01d,commandId:_0x57ef57}=_0x1ba6d9;if(_0x5cc782!==_0x2b9015[_0x25c458(0x18e)])return;const _0x627808={'id':_0x57ef57,'type':_0x441a91[_0x25c458(0x14f)],'params':{'unitId':_0x5cc782,'actions':_0x41e01d[_0x25c458(0x2b9)],'textRanges':null}};_0x2b9015[_0x25c458(0x2e8)](_0x627808);});if(_0x2b9015[_0x543a57(0x199)](_0x528530),_0x2b9015 instanceof _0x37ddb9){const _0x3a61ee={'onTransformIME':_0x1a94a8=>this[_0x543a57(0x172)][_0x543a57(0x1e2)](_0x1a94a8),'onTransformState':_0x4a7fce=>this[_0x543a57(0x141)][_0x543a57(0x261)](_0x4a7fce),'onTransformSelections':_0x400692=>this[_0x543a57(0x262)]['transformSelections'](_0x400692),'onSyncEditingCollabCursor':_0x292862=>this['_docSyncEditingCollabCursorService'][_0x543a57(0x2c5)](_0x292862),'onTransformRemoteChangesetByIMECache':_0x3ed127=>this['_docTransformIMECacheService'][_0x543a57(0x24b)](_0x3ed127),'onTransformRemoteChangesetByStateCache':_0x2f188b=>this[_0x543a57(0x141)][_0x543a57(0x24b)](_0x2f188b)};_0x2b9015['addHandlerCallback'](_0x3a61ee);}}));}};ae=cn([U(0x0,_0x31e7fe(_0x13afef)),U(0x1,_0x31e7fe(_0x46cb23)),U(0x2,_0x31e7fe(ne)),U(0x3,_0x31e7fe(re)),U(0x4,_0x31e7fe(oe)),U(0x5,_0x31e7fe(He)),U(0x6,_0x3297fc),U(0x7,_0x31e7fe(_0x1eede4))],ae);var ln=Object[_0x64a570(0x1d7)],_n=(_0x1c7cf8,_0x115ded,_0x33ff2d,_0x3cb828)=>{const _0x454968=_0x64a570;for(var _0x153558=_0x3cb828>0x1?void 0x0:_0x3cb828?ln(_0x115ded,_0x33ff2d):_0x115ded,_0x23fef6=_0x1c7cf8[_0x454968(0x167)]-0x1,_0xa2e180;_0x23fef6>=0x0;_0x23fef6--)(_0xa2e180=_0x1c7cf8[_0x23fef6])&&(_0x153558=_0xa2e180(_0x153558)||_0x153558);return _0x153558;},Ee=(_0x376ebc,_0x108d75)=>(_0x1f3ff5,_0x587147)=>_0x108d75(_0x1f3ff5,_0x587147,_0x376ebc);let Le=class extends _0x455ce9{constructor(_0x508ecb,_0x5ce58b,_0x4ae5ed){const _0x4dc111=_0x64a570;super(),_(this,_0x4dc111(0x1fa),new Map()),_(this,_0x4dc111(0x1b4),new Map()),_(this,_0x4dc111(0x32b),!0x1),(this['_configService']=_0x508ecb,this['_localStorageService']=_0x5ce58b,this[_0x4dc111(0x171)]=_0x4ae5ed);}[_0x64a570(0x303)](){this['_disabled']=!0x0;}[_0x64a570(0x2db)](){const _0x3b8c84=_0x64a570;this[_0x3b8c84(0x32b)]=!0x1;}get[_0x64a570(0x1b3)](){const _0x6715f1=_0x64a570;return this[_0x6715f1(0x1b4)];}[_0x64a570(0x2f7)](){const _0x53d27a=_0x64a570;this[_0x53d27a(0x230)]()[_0x53d27a(0x226)](()=>super[_0x53d27a(0x2f7)]());}async[_0x64a570(0x2fd)](_0x569f6c){const _0x3e3d1a=_0x64a570;return this[_0x3e3d1a(0x32b)]?null:this['_localStorageService'][_0x3e3d1a(0x181)](_0x517f52(_0x569f6c));}async[_0x64a570(0x14c)](_0x313b8e,_0x342134){const _0x5ccb1e=_0x64a570;return!!this[_0x5ccb1e(0x217)][_0x5ccb1e(0x2ce)](_0x313b8e,_0x342134);}['updateOfflineData'](_0x33d482,_0x34a784,_0x3feee7,_0x111766){const _0x1340da=_0x64a570,_0x3d3eb3=this[_0x1340da(0x171)]['getCurrentRevOfUnit'](_0x33d482);this[_0x1340da(0x1fa)][_0x1340da(0x247)](_0x33d482,{'unitID':_0x33d482,'type':_0x34a784,'awaitingChangeset':_0x3feee7,'mutations':_0x111766,'rev':_0x3d3eb3}),this[_0x1340da(0x1b4)][_0x1340da(0x209)](_0x33d482)||this['_scheduleSaving'](_0x33d482);}[_0x64a570(0x31f)](_0x3ddcfa){const _0x27a3cb=_0x64a570,_0x3fea86=this[_0x27a3cb(0x2c0)]();_0x3fea86===0x0?this[_0x27a3cb(0x204)](_0x3ddcfa):this[_0x27a3cb(0x1b4)][_0x27a3cb(0x247)](_0x3ddcfa,setTimeout(()=>this[_0x27a3cb(0x204)](_0x3ddcfa),_0x3fea86));}[_0x64a570(0x2c0)](){var _0x3c0e6e;return(_0x3c0e6e=this['_configService']['getConfig'](_0x1c911e))!=null?_0x3c0e6e:_0x3d84b0;}[_0x64a570(0x204)](_0x5df2a3){const _0x5985c5=_0x64a570,_0x4e3809=this[_0x5985c5(0x1b4)][_0x5985c5(0x2c8)](_0x5df2a3);return _0x4e3809!==void 0x0&&window[_0x5985c5(0x1ca)](_0x4e3809),this[_0x5985c5(0x217)]['setItem'](_0x517f52(_0x5df2a3),this[_0x5985c5(0x1fa)][_0x5985c5(0x2c8)](_0x5df2a3))['then'](()=>this[_0x5985c5(0x1b4)][_0x5985c5(0x20a)](_0x5df2a3));}async['exhaustSavingTask'](){const _0x31dea0=_0x64a570,_0x47f7bb=[];this[_0x31dea0(0x1b4)][_0x31dea0(0x2c4)]((_0x4d695a,_0x2d7c80)=>{const _0x76bee=_0x31dea0;window['clearTimeout'](_0x4d695a),_0x47f7bb[_0x76bee(0x19e)](this[_0x76bee(0x204)](_0x2d7c80)[_0x76bee(0x226)](()=>{const _0x106565=_0x76bee;this[_0x106565(0x1b4)][_0x106565(0x20a)](_0x2d7c80);}));}),await Promise[_0x31dea0(0x260)](_0x47f7bb);}};Le=_n([Ee(0x0,_0x379d2b),Ee(0x1,_0x4e8043),Ee(0x2,_0x31e7fe(_0x53ed6f))],Le);function _0x484b(_0x2cacc2,_0x4ba82d){const _0x2330ae=_0x2330();return _0x484b=function(_0x484b71,_0x19a2cc){_0x484b71=_0x484b71-0x136;let _0x3af0d8=_0x2330ae[_0x484b71];return _0x3af0d8;},_0x484b(_0x2cacc2,_0x4ba82d);}class hn extends _0x1f868b{constructor(){const _0x3cb88e=_0x64a570;super(),_(this,_0x3cb88e(0x336)),this['urlChange$']=_0x30298e(window,'popstate')[_0x3cb88e(0x1b9)](_0x2bd97e(this['dispose$']),_0x22003f(0x1),_0x48dbe9(void 0x0));}[_0x64a570(0x26c)](_0x1c4bf7,_0x258f03,_0x25a0a7=!0x1){const _0x42dfcf=_0x64a570,_0x633474=new URL(window[_0x42dfcf(0x233)][_0x42dfcf(0x293)]);_0x633474[_0x42dfcf(0x2a6)]['set'](_0x1c4bf7,_0x258f03),_0x25a0a7?window[_0x42dfcf(0x22c)][_0x42dfcf(0x32e)]('','',_0x633474['toString']()):window[_0x42dfcf(0x22c)][_0x42dfcf(0x32a)]('','',_0x633474[_0x42dfcf(0x241)]());}[_0x64a570(0x17b)](_0x4d35f3,_0x342543=!0x1){const _0x1c23e5=_0x64a570,_0xdd0c26=new URL(window['location'][_0x1c23e5(0x293)]);_0xdd0c26[_0x1c23e5(0x2a6)][_0x1c23e5(0x20a)](_0x4d35f3),_0x342543?window[_0x1c23e5(0x22c)]['replaceState']('','',_0xdd0c26[_0x1c23e5(0x241)]()):window['history'][_0x1c23e5(0x32a)]('','',_0xdd0c26['toString']());}['getParam'](_0x1a54ff){const _0x102f50=_0x64a570;var _0x591a63;return(_0x591a63=new URL(window[_0x102f50(0x233)][_0x102f50(0x293)])[_0x102f50(0x2a6)][_0x102f50(0x2c8)](_0x1a54ff))!=null?_0x591a63:void 0x0;}}var un=Object[_0x64a570(0x201)],dn=Object[_0x64a570(0x1d7)],fn=(_0x1f65f1,_0x29f325,_0x37d996)=>_0x29f325 in _0x1f65f1?un(_0x1f65f1,_0x29f325,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37d996}):_0x1f65f1[_0x29f325]=_0x37d996,Sn=(_0x32ec6c,_0x1905a4,_0x1d4fd5,_0x4a2da1)=>{for(var _0x1f7c95=_0x4a2da1>0x1?void 0x0:_0x4a2da1?dn(_0x1905a4,_0x1d4fd5):_0x1905a4,_0x5c63eb=_0x32ec6c['length']-0x1,_0x5c2cb3;_0x5c63eb>=0x0;_0x5c63eb--)(_0x5c2cb3=_0x32ec6c[_0x5c63eb])&&(_0x1f7c95=_0x5c2cb3(_0x1f7c95)||_0x1f7c95);return _0x1f7c95;},be=(_0x4f5437,_0x578c86)=>(_0x5168dc,_0x1892f6)=>_0x578c86(_0x5168dc,_0x1892f6,_0x4f5437),mn=(_0x15c8e2,_0x2d1f95,_0x168250)=>fn(_0x15c8e2,_0x2d1f95+'',_0x168250);const gn=_0x64a570(0x1a8);let Ae=class extends _0x36458f{constructor(_0xf32af7=et,_0x161ee1,_0x3f75f1,_0x15976c){const _0x1966dd=_0x64a570;super(),this[_0x1966dd(0x1fd)]=_0xf32af7,this[_0x1966dd(0x1e3)]=_0x161ee1,this[_0x1966dd(0x24c)]=_0x3f75f1,this[_0x1966dd(0x1ef)]=_0x15976c;const {..._0x1bcc05}=_0x20f69b({},et,this['_config']);this[_0x1966dd(0x1ef)][_0x1966dd(0x1b8)](Zi,_0x1bcc05);}[_0x64a570(0x192)](){const _0x458cae=_0x64a570;this[_0x458cae(0x156)](),this[_0x458cae(0x27d)]();}[_0x64a570(0x137)](){const _0x58f4d2=_0x64a570;this[_0x58f4d2(0x20d)]();}[_0x64a570(0x156)](){const _0x427611=_0x64a570;var _0x557c91;const _0x2a58ee=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x8c7098,{'useClass':_0x115e8c}],[_0x1cfe94,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x40d7ab(this[_0x427611(0x24c)],_0x52d8e1(_0x2a58ee,(_0x557c91=this[_0x427611(0x1fd)])==null?void 0x0:_0x557c91[_0x427611(0x270)]));}['_registerRenderDependencies'](){const _0xfa0d9f=_0x64a570;this[_0xfa0d9f(0x199)](this[_0xfa0d9f(0x1e3)]['registerRenderModule'](_0x20393a[_0xfa0d9f(0x219)],[Pe])),this[_0xfa0d9f(0x199)](this['_renderManagerService'][_0xfa0d9f(0x27c)](_0x20393a[_0xfa0d9f(0x1c3)],[we]));}[_0x64a570(0x27d)](){const _0x215268=_0x64a570;_0x551233(this[_0x215268(0x24c)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x64a570(0x16a),gn),Ae=Sn([_0x1ab186(_0x1ce9a9),be(0x1,_0x1e1d94),be(0x2,_0x31e7fe(_0x533dcb)),be(0x3,_0x379d2b)],Ae);var vn=Object[_0x64a570(0x1d7)],In=(_0x506094,_0x5a7879,_0x225c7b,_0xa26ea)=>{const _0x4a08e4=_0x64a570;for(var _0x2fe929=_0xa26ea>0x1?void 0x0:_0xa26ea?vn(_0x5a7879,_0x225c7b):_0x5a7879,_0x343356=_0x506094[_0x4a08e4(0x167)]-0x1,_0xc29c40;_0x343356>=0x0;_0x343356--)(_0xc29c40=_0x506094[_0x343356])&&(_0x2fe929=_0xc29c40(_0x2fe929)||_0x2fe929);return _0x2fe929;},K=(_0x592578,_0xc5a897)=>(_0x1242eb,_0x351f6e)=>_0xc5a897(_0x1242eb,_0x351f6e,_0x592578);let st=class extends _0x571743{constructor(_0x21b8ad,_0x20ea30,_0x16150c,_0x3d356d,_0x2293ce){super(_0x21b8ad,_0x20ea30,_0x16150c,_0x3d356d,_0x2293ce);}async[_0x64a570(0x18d)](_0x5c6712){const _0x4f4f06=_0x64a570,_0x5d586f=await this[_0x4f4f06(0x1d6)](),_0x5d47d8=this[_0x4f4f06(0x25e)](_0x5c6712,_0x5d586f);return this[_0x4f4f06(0x291)](_0x5d47d8);}[_0x64a570(0x25e)](_0x4b498f,_0x9e9c5){const _0x1f1a52=_0x64a570,_0xc37a74=typeof window>'u'?new URL(_0x4b498f):new URL(_0x4b498f,window[_0x1f1a52(0x233)][_0x1f1a52(0x14d)]);_0xc37a74[_0x1f1a52(0x2a6)][_0x1f1a52(0x247)]('sessionTicket',_0x9e9c5);const _0x37c3f0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1f1a52(0x233)][_0x1f1a52(0x1b1)]);return _0x37c3f0[_0x1f1a52(0x2c8)](_0x1f1a52(0x13d))&&_0xc37a74[_0x1f1a52(0x2a6)][_0x1f1a52(0x247)](_0x1f1a52(0x13d),_0x37c3f0['get']('runId')),_0xc37a74[_0x1f1a52(0x241)]();}async[_0x64a570(0x1d6)](){const _0x4cbb21=_0x64a570;var _0x5eb80a,_0x46d2fd,_0xf1522e;const _0x37a2d5=this[_0x4cbb21(0x1ef)][_0x4cbb21(0x284)](_0x26d7ce),_0x451674=(_0x5eb80a=_0x37a2d5==null?void 0x0:_0x37a2d5[_0x4cbb21(0x142)])!=null?_0x5eb80a:_0x27918a;return(_0xf1522e=(_0x46d2fd=(await this['_httpService']['get'](_0x451674,{'headers':{'Content-Type':'application/json'}}))[_0x4cbb21(0x16f)])==null?void 0x0:_0x46d2fd[_0x4cbb21(0x290)])!=null?_0xf1522e:'';}};st=In([K(0x0,_0x31e7fe(_0x533dcb)),K(0x1,_0x31e7fe(_0x1c5848)),K(0x2,_0x379d2b),K(0x3,_0x5e80c4),K(0x4,_0x1daf87)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x455ce9{constructor(){const _0x22db0e=_0x64a570;super(),_(this,_0x22db0e(0x1eb),_0x33fcde()),_(this,_0x22db0e(0x20f),new Set()),_(this,_0x22db0e(0x1fb),new Map()),_(this,_0x22db0e(0x200),null),_(this,_0x22db0e(0x1f5),new Map()),_(this,_0x22db0e(0x23f),new Map()),this['_init']();}[_0x64a570(0x2f7)](){const _0x44c331=_0x64a570;super[_0x44c331(0x2f7)](),this['_clearOtherTimers'][_0x44c331(0x2c4)]((_0x180453,_0xaaf17a)=>this[_0x44c331(0x2ed)](_0xaaf17a)),this[_0x44c331(0x200)]&&window[_0x44c331(0x1f4)](this[_0x44c331(0x200)]);}[_0x64a570(0x234)](_0x39b2ad){const _0x2d9922=_0x64a570;return this[_0x2d9922(0x22e)](_0x39b2ad)[_0x2d9922(0x1b9)](_0x364c5b());}[_0x64a570(0x1ab)](_0x5bc302){const _0x1b8746=_0x64a570;this[_0x1b8746(0x20f)][_0x1b8746(0x2e2)]===0x0&&this[_0x1b8746(0x21b)](),this[_0x1b8746(0x20f)]['add'](_0x5bc302),this[_0x1b8746(0x2f1)]({'type':0x0,'memberID':this[_0x1b8746(0x1eb)],'unitIDs':[_0x5bc302],'isForwarded':!0x1});}['disposeUnit'](_0x429aa4){const _0x3d063b=_0x64a570;this[_0x3d063b(0x20f)][_0x3d063b(0x20a)](_0x429aa4),this[_0x3d063b(0x20f)]['size']===0x0&&this[_0x3d063b(0x200)]&&window['clearInterval'](this[_0x3d063b(0x200)]);}['_init'](){const _0x23e5b7=_0x64a570;this[_0x23e5b7(0x199)](_0x3e0dad(_0x30298e(window,_0x23e5b7(0x337))[_0x23e5b7(0x13f)](_0x483ab4=>{const _0xd2acb6=_0x23e5b7;if(_0x483ab4[_0xd2acb6(0x190)]!==nt||!_0x483ab4['newValue'])return;const _0x46460b=JSON[_0xd2acb6(0x159)](_0x483ab4[_0xd2acb6(0x325)]);this[_0xd2acb6(0x1b7)](_0x46460b);}))),window[_0x23e5b7(0x287)]('unload',()=>this[_0x23e5b7(0x2f1)]({'type':0x1,'memberID':this[_0x23e5b7(0x1eb)],'unitIDs':Array['from'](this[_0x23e5b7(0x20f)])}));}[_0x64a570(0x1b7)](_0x2bfc89){const _0x3cbb26=_0x64a570;switch(_0x2bfc89['type']){case 0x0:this[_0x3cbb26(0x224)](_0x2bfc89);break;case 0x1:this[_0x3cbb26(0x1cb)](_0x2bfc89);break;case 0x2:this[_0x3cbb26(0x310)](_0x2bfc89);break;}}[_0x64a570(0x224)](_0xd98cbf){const _0x3ead41=_0x64a570,{unitIDs:_0x1032e6,memberID:_0x37d272,isForwarded:_0x3f8196}=_0xd98cbf;_0x1032e6[_0x3ead41(0x2c4)](_0x57160a=>{const _0x97d8c9=_0x3ead41;if(!_0x3f8196&&this['_unitOnClients'][_0x97d8c9(0x209)](_0x57160a)&&this[_0x97d8c9(0x22e)](_0x57160a)[_0x97d8c9(0x24a)](_0xa4f239[_0x97d8c9(0x238)]),!this[_0x97d8c9(0x1fb)][_0x97d8c9(0x209)](_0x57160a)||!this['_unitOnClients'][_0x97d8c9(0x2c8)](_0x57160a)[_0x97d8c9(0x209)](_0x37d272)){const _0x1f6c7b=this[_0x97d8c9(0x1fb)]['get'](_0x57160a)||new Set();_0x1f6c7b[_0x97d8c9(0x2b4)](_0x37d272),this[_0x97d8c9(0x1fb)][_0x97d8c9(0x247)](_0x57160a,_0x1f6c7b),this[_0x97d8c9(0x320)](_0x37d272);}}),_0x3f8196||this['_send']({'type':0x0,'memberID':this[_0x3ead41(0x1eb)],'unitIDs':[...this[_0x3ead41(0x20f)]],'isForwarded':!0x0});}[_0x64a570(0x320)](_0x24a49c){const _0x5e9d0d=_0x64a570;this['_removeClearOtherTimer'](_0x24a49c);const _0xf584bc=window[_0x5e9d0d(0x239)](()=>{const _0x32f176=_0x5e9d0d;this[_0x32f176(0x1fb)][_0x32f176(0x2c4)](_0xa1f5d8=>{const _0x2e0cef=_0x32f176;_0xa1f5d8[_0x2e0cef(0x20a)](_0x24a49c);});},it*0x2);this[_0x5e9d0d(0x1f5)][_0x5e9d0d(0x247)](_0x24a49c,_0xf584bc);}['_removeClearOtherTimer'](_0x5ddea3){const _0x518329=_0x64a570;if(this['_clearOtherTimers'][_0x518329(0x209)](_0x5ddea3)){const _0x4ee2f4=this[_0x518329(0x1f5)][_0x518329(0x2c8)](_0x5ddea3);_0x4ee2f4&&window[_0x518329(0x1ca)](_0x4ee2f4),this[_0x518329(0x1f5)][_0x518329(0x247)](_0x5ddea3,null);}}[_0x64a570(0x1cb)](_0x47928a){const _0x1f5178=_0x64a570,{memberID:_0x38d9aa,unitIDs:_0x14a352}=_0x47928a;_0x14a352[_0x1f5178(0x2c4)](_0x2e4cd3=>{const _0x66c69e=_0x1f5178;var _0x3ed452;const _0x51f10b=this[_0x66c69e(0x1fb)]['get'](_0x2e4cd3);_0x51f10b&&(_0x51f10b[_0x66c69e(0x20a)](_0x38d9aa),(_0x3ed452=this[_0x66c69e(0x22e)](_0x2e4cd3))==null||_0x3ed452[_0x66c69e(0x24a)](_0x51f10b[_0x66c69e(0x2e2)]===0x0?_0xa4f239[_0x66c69e(0x322)]:_0xa4f239[_0x66c69e(0x238)]));}),this[_0x1f5178(0x2ed)](_0x38d9aa);}[_0x64a570(0x310)](_0x5c173f){const _0x40844a=_0x64a570;this[_0x40844a(0x320)](_0x5c173f[_0x40844a(0x1e7)]);}[_0x64a570(0x2f1)](_0x3bf2fc){const _0x54c906=_0x64a570;localStorage[_0x54c906(0x2ce)](nt,JSON['stringify'](_0x3bf2fc));}['_scheduleHeartbeat'](){const _0xc63612=_0x64a570;this[_0xc63612(0x200)]=window[_0xc63612(0x274)](()=>{const _0x296574=_0xc63612;this['_send']({'type':0x2,'memberID':this[_0x296574(0x1eb)]});},it);}[_0x64a570(0x22e)](_0x3e6a75){const _0xe57198=_0x64a570;return this[_0xe57198(0x23f)][_0xe57198(0x209)](_0x3e6a75)||this['_unitStatus'][_0xe57198(0x247)](_0x3e6a75,new _0x2241b1(_0xa4f239[_0xe57198(0x322)])),this['_unitStatus'][_0xe57198(0x2c8)](_0x3e6a75);}}var Mt=(_0x511e2a=>(_0x511e2a[_0x511e2a['UNDEFINED']=0x0]=_0x64a570(0x1df),_0x511e2a[_0x511e2a['OK']=0x1]='OK',_0x511e2a[_0x511e2a[_0x64a570(0x1ae)]=0x2]=_0x64a570(0x1ae),_0x511e2a[_0x511e2a[_0x64a570(0x1ed)]=0x3]=_0x64a570(0x1ed),_0x511e2a[_0x511e2a[_0x64a570(0x335)]=0x4]=_0x64a570(0x335),_0x511e2a[_0x511e2a[_0x64a570(0x2bc)]=0x5]=_0x64a570(0x2bc),_0x511e2a[_0x511e2a[_0x64a570(0x2fe)]=0x6]='ALREADY_EXISTS',_0x511e2a[_0x511e2a[_0x64a570(0x146)]=0x7]=_0x64a570(0x146),_0x511e2a[_0x511e2a[_0x64a570(0x1bc)]=0x8]='TOO_MANY_REQUESTS',_0x511e2a[_0x511e2a[_0x64a570(0x273)]=0x9]=_0x64a570(0x273),_0x511e2a[_0x511e2a[_0x64a570(0x316)]=0xa]=_0x64a570(0x316),_0x511e2a[_0x511e2a[_0x64a570(0x2d0)]=0x1389]=_0x64a570(0x2d0),_0x511e2a[_0x511e2a[_0x64a570(0x2aa)]=0x1771]=_0x64a570(0x2aa),_0x511e2a[_0x511e2a[_0x64a570(0x15f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x511e2a[_0x511e2a[_0x64a570(0x23c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x511e2a[_0x511e2a[_0x64a570(0x26d)]=0x1b59]=_0x64a570(0x26d),_0x511e2a[_0x511e2a[_0x64a570(0x1dc)]=0x1b5a]=_0x64a570(0x1dc),_0x511e2a[_0x511e2a[_0x64a570(0x2d6)]=0x1b5b]=_0x64a570(0x2d6),_0x511e2a[_0x511e2a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x64a570(0x277),_0x511e2a[_0x511e2a[_0x64a570(0x1d5)]=0x1b5d]='APPLY_DUPLICATED',_0x511e2a[_0x511e2a[_0x64a570(0x332)]=0x1f41]=_0x64a570(0x332),_0x511e2a[_0x511e2a[_0x64a570(0x339)]=0x2329]=_0x64a570(0x339),_0x511e2a[_0x511e2a[_0x64a570(0x21e)]=0x232a]=_0x64a570(0x21e),_0x511e2a[_0x511e2a[_0x64a570(0x330)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x511e2a[_0x511e2a[_0x64a570(0x15a)]=0x232c]=_0x64a570(0x15a),_0x511e2a[_0x511e2a[_0x64a570(0x21a)]=0x232d]=_0x64a570(0x21a),_0x511e2a[_0x511e2a[_0x64a570(0x2ef)]=0x2711]=_0x64a570(0x2ef),_0x511e2a[_0x511e2a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x64a570(0x148),_0x511e2a[_0x511e2a[_0x64a570(0x2eb)]=0x2713]=_0x64a570(0x2eb),_0x511e2a[_0x511e2a[_0x64a570(0x305)]=0x2714]=_0x64a570(0x305),_0x511e2a[_0x511e2a[_0x64a570(0x2fc)]=0x271a]=_0x64a570(0x2fc),_0x511e2a[_0x511e2a[_0x64a570(0x2ac)]=0x271b]=_0x64a570(0x2ac),_0x511e2a[_0x511e2a[_0x64a570(0x17f)]=0x2af9]=_0x64a570(0x17f),_0x511e2a[_0x511e2a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x64a570(0x2e6),_0x511e2a[_0x511e2a[_0x64a570(0x245)]=0x2ee2]='INVALID_INVITE_CODE',_0x511e2a[_0x511e2a[_0x64a570(0x2af)]=0x2ee3]=_0x64a570(0x2af),_0x511e2a[_0x511e2a['USER_NOT_INVITED_CODE']=0x2ee4]=_0x64a570(0x1c1),_0x511e2a[_0x511e2a[_0x64a570(0x187)]=0x2ee5]=_0x64a570(0x187),_0x511e2a[_0x511e2a[_0x64a570(0x1a3)]=0x32c9]=_0x64a570(0x1a3),_0x511e2a[_0x511e2a['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x64a570(0x1c2),_0x511e2a[_0x511e2a[_0x64a570(0x252)]=0x32cb]=_0x64a570(0x252),_0x511e2a[_0x511e2a[_0x64a570(0x2e1)]=-0x1]=_0x64a570(0x2e1),_0x511e2a))(Mt||{}),pn=Object[_0x64a570(0x1d7)],Cn=(_0x4fe531,_0x2830b9,_0x56fdf3,_0x1874b6)=>{const _0x34e9a7=_0x64a570;for(var _0x1ccaee=_0x1874b6>0x1?void 0x0:_0x1874b6?pn(_0x2830b9,_0x56fdf3):_0x2830b9,_0x22f87b=_0x4fe531[_0x34e9a7(0x167)]-0x1,_0x146c3d;_0x22f87b>=0x0;_0x22f87b--)(_0x146c3d=_0x4fe531[_0x22f87b])&&(_0x1ccaee=_0x146c3d(_0x1ccaee)||_0x1ccaee);return _0x1ccaee;},Oe=(_0x1af9bc,_0x7cf446)=>(_0x2e61fc,_0x2469b4)=>_0x7cf446(_0x2e61fc,_0x2469b4,_0x1af9bc);let rt=class extends _0x455ce9{constructor(_0xeb20ca,_0x1a1b93,_0x586426){const _0x546f89=_0x64a570;super(),this['_instanceService']=_0xeb20ca,this[_0x546f89(0x189)]=_0x1a1b93,this[_0x546f89(0x1ef)]=_0x586426;}async[_0x64a570(0x144)](_0x163006,_0x5550a2,_0x767239,..._0x33278e){const _0x4bc0b8=_0x64a570;var _0x5856f9,_0x44ac65,_0x57c302,_0x14dc23;const _0x1ac0df=this['_instanceService'][_0x4bc0b8(0x216)]();if(!_0x1ac0df)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1afd8f=((_0x5856f9=this[_0x4bc0b8(0x1ef)][_0x4bc0b8(0x284)](_0x1444f7))!=null?_0x5856f9:_0x565fbd)+'/'+_0x163006+_0x4bc0b8(0x309)+_0x5550a2,_0x461f2e=new URL(window[_0x4bc0b8(0x233)][_0x4bc0b8(0x293)]),_0x3522f7={'scriptId':_0x163006,'runId':(_0x44ac65=_0x461f2e[_0x4bc0b8(0x2a6)][_0x4bc0b8(0x2c8)](_0x4bc0b8(0x13d)))!=null?_0x44ac65:'','function':_0x5550a2,'unitId':_0x1ac0df['getUnitId'](),'argsOfFunction':JSON[_0x4bc0b8(0x313)](_0x33278e),'invokeId':(_0x57c302=_0x767239[_0x4bc0b8(0x312)])!=null?_0x57c302:'','executionId':(_0x14dc23=_0x767239['executionId'])!=null?_0x14dc23:''};try{const _0x4eabd1=await this[_0x4bc0b8(0x189)]['post'](_0x1afd8f,{'body':_0x3522f7});return _0x4eabd1[_0x4bc0b8(0x16f)][_0x4bc0b8(0x31c)]&&_0x4eabd1[_0x4bc0b8(0x16f)]['error'][_0x4bc0b8(0x1a7)]!==Mt['OK']?_0x4bc0b8(0x2e9):_0x4eabd1['body'][_0x4bc0b8(0x27f)];}catch{return _0x4bc0b8(0x2e9);}}};rt=Cn([Oe(0x0,_0x58d7bd),Oe(0x1,_0x31e7fe(_0x1c5848)),Oe(0x2,_0x379d2b)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x15ba(){const _0x25d3e8=['Click\x20to\x20Reconnect','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','4894866LOzmZJ','10191870zJNLsP','Local\x20file','15348rWBJxZ','59912HjrujX','161uDhJQp','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.','Syncing\x20server\x20data...','Synced','1670SKqYRY','Edit\x20conflicts','313851MhEJmI','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','196114YemztF','4774914QbheCI','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x15ba=function(){return _0x25d3e8;};return _0x15ba();}function _0x55b3(_0x425842,_0x22a488){const _0x15ba28=_0x15ba();return _0x55b3=function(_0x55b328,_0x5e7399){_0x55b328=_0x55b328-0x7b;let _0x52d000=_0x15ba28[_0x55b328];return _0x52d000;},_0x55b3(_0x425842,_0x22a488);}const _0x16571d=_0x55b3;(function(_0x136b5b,_0x32305d){const _0x28e29d=_0x55b3,_0x5c01ba=_0x136b5b();while(!![]){try{const _0xe46de7=parseInt(_0x28e29d(0x90))/0x1+parseInt(_0x28e29d(0x7e))/0x2+parseInt(_0x28e29d(0x7f))/0x3+parseInt(_0x28e29d(0x88))/0x4*(-parseInt(_0x28e29d(0x8e))/0x5)+-parseInt(_0x28e29d(0x85))/0x6+-parseInt(_0x28e29d(0x8a))/0x7*(parseInt(_0x28e29d(0x89))/0x8)+parseInt(_0x28e29d(0x86))/0x9;if(_0xe46de7===_0x32305d)break;else _0x5c01ba['push'](_0x5c01ba['shift']());}catch(_0x113ebf){_0x5c01ba['push'](_0x5c01ba['shift']());}}}(_0x15ba,0xd3838));const e={'collab-client':{'tooltip':{'reconnect':_0x16571d(0x81)}},'collabStatus':{'fetchMiss':_0x16571d(0x8c),'conflict':_0x16571d(0x8f),'notCollab':_0x16571d(0x87),'synced':_0x16571d(0x8d),'syncing':'Syncing...','offline':_0x16571d(0x7c)},'session':{'connection-failed':_0x16571d(0x84),'will-retry':_0x16571d(0x7d),'room-full':_0x16571d(0x7b),'collaboration-timeout':_0x16571d(0x80)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x16571d(0x8b)},'permission':{'title':_0x16571d(0x82),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x16571d(0x83)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
1
+ const _0x4a4c80=_0xd17f;function _0xd17f(_0x2e97b4,_0x56ffa1){const _0xecb131=_0xecb1();return _0xd17f=function(_0xd17f90,_0x17b6c2){_0xd17f90=_0xd17f90-0xad;let _0x27168f=_0xecb131[_0xd17f90];return _0x27168f;},_0xd17f(_0x2e97b4,_0x56ffa1);}function _0xecb1(){const _0x141793=['1612557VXRELU','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','16xBkIlY','25994TycHFu','140qfQftj','Edit\x20conflicts','16uzVZUz','46539LtbIar','Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3530016UNRnMs','10109phnxKw','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','85002KusfwP','1190QSzcrq','181932ZiRiYl','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0xecb1=function(){return _0x141793;};return _0xecb1();}(function(_0x312dd0,_0x2d919c){const _0x17236b=_0xd17f,_0x59a8f0=_0x312dd0();while(!![]){try{const _0x517ef7=-parseInt(_0x17236b(0xb9))/0x1*(parseInt(_0x17236b(0xb6))/0x2)+parseInt(_0x17236b(0xb3))/0x3+-parseInt(_0x17236b(0xaf))/0x4+-parseInt(_0x17236b(0xb7))/0x5*(parseInt(_0x17236b(0xad))/0x6)+parseInt(_0x17236b(0xc0))/0x7+parseInt(_0x17236b(0xb5))/0x8*(-parseInt(_0x17236b(0xba))/0x9)+parseInt(_0x17236b(0xae))/0xa*(-parseInt(_0x17236b(0xc1))/0xb);if(_0x517ef7===_0x2d919c)break;else _0x59a8f0['push'](_0x59a8f0['shift']());}catch(_0x5ac90d){_0x59a8f0['push'](_0x59a8f0['shift']());}}}(_0xecb1,0x42679));const e={'collab-client':{'tooltip':{'reconnect':_0x4a4c80(0xbb)}},'collabStatus':{'fetchMiss':_0x4a4c80(0xc3),'conflict':_0x4a4c80(0xb8),'notCollab':_0x4a4c80(0xb1),'synced':_0x4a4c80(0xbe),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4a4c80(0xb4),'room-full':_0x4a4c80(0xb2),'collaboration-timeout':_0x4a4c80(0xb0)},'conflict':{'title':_0x4a4c80(0xbd),'content':'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.'},'permission':{'title':'Authentication\x20Error','content':_0x4a4c80(0xc2)},'collaboration':{'single-unit':{'warning':_0x4a4c80(0xbf)},'closeRoom':_0x4a4c80(0xbc)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- const _0x580438=_0x38d8;(function(_0x56f0a1,_0x5e5042){const _0x3202ba=_0x38d8,_0x39cf52=_0x56f0a1();while(!![]){try{const _0x325977=-parseInt(_0x3202ba(0x1a4))/0x1+parseInt(_0x3202ba(0x1a3))/0x2+-parseInt(_0x3202ba(0x1ac))/0x3*(-parseInt(_0x3202ba(0x1b0))/0x4)+-parseInt(_0x3202ba(0x1a0))/0x5*(-parseInt(_0x3202ba(0x1ab))/0x6)+parseInt(_0x3202ba(0x1b2))/0x7*(parseInt(_0x3202ba(0x19e))/0x8)+parseInt(_0x3202ba(0x1a1))/0x9+-parseInt(_0x3202ba(0x1ae))/0xa;if(_0x325977===_0x5e5042)break;else _0x39cf52['push'](_0x39cf52['shift']());}catch(_0x48493d){_0x39cf52['push'](_0x39cf52['shift']());}}}(_0x4a89,0x53bd5));function _0x4a89(){const _0x413085=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','1253152IHJElY','در\x20حال\x20همگام\x20سازی...','1574330SWYCgo','4316013tBFdde','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','779574ZLWzVZ','125717pICOSx','پرونده\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کنید.','6tpvqzJ','216dkBYHa','خطای\x20اعتبارسنجی','13219680flUUUB','تداخل\x20ویرایش','16288exYzdX','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','14vjDotw','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری'];_0x4a89=function(){return _0x413085;};return _0x4a89();}function _0x38d8(_0x181fe8,_0x5f27ba){const _0x4a89b4=_0x4a89();return _0x38d8=function(_0x38d8cd,_0x2011b8){_0x38d8cd=_0x38d8cd-0x19c;let _0x1b2416=_0x4a89b4[_0x38d8cd];return _0x1b2416;},_0x38d8(_0x181fe8,_0x5f27ba);}const o={'collab-client':{'tooltip':{'reconnect':_0x580438(0x19d)}},'collabStatus':{'fetchMiss':_0x580438(0x1a6),'conflict':_0x580438(0x1af),'notCollab':_0x580438(0x1a5),'synced':_0x580438(0x1a9),'syncing':_0x580438(0x19f),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x580438(0x1a7),'collaboration-timeout':_0x580438(0x1a2)},'conflict':{'title':_0x580438(0x19c),'content':'یک\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رفت.'},'permission':{'title':_0x580438(0x1ad),'content':_0x580438(0x1a8)},'collaboration':{'single-unit':{'warning':_0x580438(0x1b1)},'closeRoom':_0x580438(0x1b3)},'auth':{'needGotoLoginAlert':_0x580438(0x1aa)}};export{o as default};
1
+ function _0x13c4(){const _0x1a2ff4=['40arKgwQ','در\x20حال\x20همگام\x20سازی...','تداخل\x20همکاری','5443XpFlku','1240090dQjfuZ','1942422COnRXq','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','3493980yRzHXX','تداخل\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بین\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کنیم.','1201132ThQfhH','4001776PWyhgP','7nOcbwy','382596gzNluQ','همگام\x20سازی'];_0x13c4=function(){return _0x1a2ff4;};return _0x13c4();}const _0x2044b6=_0x2559;(function(_0x36c324,_0x18cc03){const _0x2b4ecb=_0x2559,_0x5f15ce=_0x36c324();while(!![]){try{const _0x4f15c3=parseInt(_0x2b4ecb(0x7d))/0x1*(parseInt(_0x2b4ecb(0x7a))/0x2)+-parseInt(_0x2b4ecb(0x78))/0x3+parseInt(_0x2b4ecb(0x75))/0x4+parseInt(_0x2b4ecb(0x7e))/0x5+-parseInt(_0x2b4ecb(0x7f))/0x6+-parseInt(_0x2b4ecb(0x77))/0x7*(-parseInt(_0x2b4ecb(0x76))/0x8)+-parseInt(_0x2b4ecb(0x81))/0x9;if(_0x4f15c3===_0x18cc03)break;else _0x5f15ce['push'](_0x5f15ce['shift']());}catch(_0x5b3cc4){_0x5f15ce['push'](_0x5f15ce['shift']());}}}(_0x13c4,0x4d9c6));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x2044b6(0x80),'conflict':_0x2044b6(0x82),'notCollab':'پرونده\x20محلی','synced':_0x2044b6(0x79),'syncing':_0x2044b6(0x7b),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x2044b6(0x72),'will-retry':_0x2044b6(0x74),'room-full':_0x2044b6(0x73),'collaboration-timeout':_0x2044b6(0x83)},'conflict':{'title':_0x2044b6(0x7c),'content':_0x2044b6(0x84)},'permission':{'title':_0x2044b6(0x71),'content':_0x2044b6(0x6f)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x2044b6(0x70)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x2559(_0xbdcea1,_0x890c72){const _0x13c483=_0x13c4();return _0x2559=function(_0x2559b8,_0x1a11b1){_0x2559b8=_0x2559b8-0x6f;let _0x5f77a=_0x13c483[_0x2559b8];return _0x5f77a;},_0x2559(_0xbdcea1,_0x890c72);}export{o as default};