@univerjs-pro/collaboration-client-ui 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +22 -22
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1aa74c=_0x23ae;(function(_0x3040c1,_0x6f2d51){const _0x55affe=_0x23ae,_0x5a3ec6=_0x3040c1();while(!![]){try{const _0x641ec1=parseInt(_0x55affe(0xe2))/0x1+-parseInt(_0x55affe(0x18f))/0x2*(-parseInt(_0x55affe(0x1f0))/0x3)+parseInt(_0x55affe(0x28e))/0x4+parseInt(_0x55affe(0x185))/0x5+-parseInt(_0x55affe(0x1fe))/0x6+-parseInt(_0x55affe(0xf1))/0x7+-parseInt(_0x55affe(0x1fa))/0x8;if(_0x641ec1===_0x6f2d51)break;else _0x5a3ec6['push'](_0x5a3ec6['shift']());}catch(_0x5b06ef){_0x5a3ec6['push'](_0x5a3ec6['shift']());}}}(_0x1081,0x6e7d3));var Bt=Object['defineProperty'],Ht=(_0x33c343,_0x5256d3,_0x40f384)=>_0x5256d3 in _0x33c343?Bt(_0x33c343,_0x5256d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40f384}):_0x33c343[_0x5256d3]=_0x40f384,h=(_0x158950,_0x2371e9,_0x5d0de0)=>Ht(_0x158950,typeof _0x2371e9!=_0x1aa74c(0x146)?_0x2371e9+'':_0x2371e9,_0x5d0de0);import{MemberService as _0x2cf048,SessionStatus as _0x4f5628,CollaborationSessionService as _0x55360f,CollaborationStatus as _0x5bfc4a,CollaborationController as _0x1c1b1c,ILocalCacheService as _0x4fc379,CollaborationUIEventService as _0x38e3d0,CollaborationUIEventId as _0x5aeadb,DataLoaderService as _0x2bf39b,DocCollaborationEntity as _0x1c3693,getLocalCacheKey as _0x4ad9d8,LOCAL_CACHE_INTERVAL as _0x59f155,LOCAL_CACHE_INTERVAL_KEY as _0x495a7d,UniverCollaborationClientPlugin as _0xa389b1,CollaborationSocketService as _0x498236,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x292b0d,DEFAULT_WS_SESSION_TICKET_URL as _0x21e83b,UnitStatus as _0x3396fc,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3cff22,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x477bb9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2a190b,Disposable as _0x5e7481,DOC_RANGE_TYPE as _0x1b4ba8,Inject as _0x3dcc01,Injector as _0x51f854,IUniverInstanceService as _0x7409ad,ICommandService as _0x2d892b,debounce as _0x3061bf,Rectangle as _0x419b61,DisposableCollection as _0x590753,toDisposable as _0x346eba,UniverInstanceType as _0x2d6dc7,Tools as _0x1f374b,COLORS as _0x262004,ColorKit as _0x277f92,ThemeService as _0x5c1e3a,fromEventSubject as _0x104b41,LocaleService as _0x43d1f6,createIdentifier as _0xfbb812,ILogService as _0x4ee1f6,Optional as _0x100e48,Workbook as _0x51c948,CommandType as _0x39b992,IConfigService as _0x53eab1,ILocalStorageService as _0x405105,DependentOn as _0x524589,Plugin as _0x2c24fc,merge as _0x312dd1,registerDependencies as _0x29fdcf,mergeOverrideWithDependencies as _0x8123df,touchDependencies as _0x301d0}from'@univerjs/core';import{Shape as _0x328d65,Rect as _0x30974f,getColor as _0x1f3b4b,RegularPolygon as _0x84c5d3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1713f2,Vector2 as _0x30d769,SHEET_VIEWPORT_KEY as _0x18291d,IRenderManagerService as _0x2b6711}from'@univerjs/engine-render';import{ISocketService as _0xd917f2,WebSocketService as _0x390ac3,HTTPService as _0x29cbac}from'@univerjs/network';import{IDocClipboardService as _0x256793,NodePositionConvertToCursor as _0x1bb73f,NodePositionConvertToRectRange as _0x3c630d,TEXT_RANGE_LAYER_INDEX as _0x5f5b1d,SetDocZoomRatioOperation as _0x4f3317,DocIMEInputManagerService as _0x5e8cd7,DocStateChangeManagerService as _0x3f1fe6}from'@univerjs/docs-ui';import{IImageIoService as _0x1ac55a}from'@univerjs/drawing';import{BehaviorSubject as _0x29fde6,debounceTime as _0x276de4,takeUntil as _0x304798,Subject as _0x44a794,filter as _0x5783a9,switchMap as _0x47854f,merge as _0x4a258c,combineLatest as _0x3c4d84,of as _0x493c70,fromEvent as _0x360e53,shareReplay as _0x4e7dbc,mapTo as _0x74e76,distinctUntilChanged as _0x5d36ad}from'rxjs';import{SetTextSelectionsOperation as _0x17c09c,RichTextEditingMutation as _0x22de6e,DocSelectionManagerService as _0x3949f1,DocSkeletonManagerService as _0x5af529}from'@univerjs/docs';import{ITransformService as _0x76057e,CollaborationEvent as _0x386581,isTransformMutationFailure as _0x24c0cc,isTransformMutationsWithChangesetSuccess as _0x2de7a7,RevisionService as _0x310eb5,ISnapshotServerService as _0x36b7c0}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x554312,serializeRangeWithSheet as _0x3f993b}from'@univerjs/engine-formula';import{RefRangeService as _0x136dcf,SetSelectionsOperation as _0x632530,SheetsSelectionsService as _0x43912c,EffectRefRangId as _0x25c1c3,handleIRemoveRow as _0x2cbf88,handleIRemoveCol as _0x50894e,handleMoveRange as _0x570dfc,handleInsertRow as _0x1efdb4,handleInsertRangeMoveRight as _0xc67790,handleInsertRangeMoveDown as _0x384f1b,handleInsertCol as _0x2f69fe,handleDeleteRangeMoveUp as _0x7e1976,handleDeleteRangeMoveLeft as _0x838058,runRefRangeMutations as _0xaa5770,SetWorksheetActivateCommand as _0x8774fa}from'@univerjs/sheets';import{map as _0x534630,filter as _0x5835e1,throttleTime as _0x5bd43b,takeUntil as _0x2cf982,switchMap as _0x5d6952}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4d150d,getCoordByCell as _0x359757,getSheetObject as _0x5d890e}from'@univerjs/sheets-ui';import{jsx as _0x31aba8,jsxs as _0x5294ec}from'react/jsx-runtime';import{useObservable as _0x376fa0,useDependency as _0x4389fd,IUIPartsService as _0x8da93b,BuiltInUIPart as _0x2a2fc1,connectInjector as _0x58dad2,IBeforeCloseService as _0x126ced,IMessageService as _0x5f3f9f,INotificationService as _0x53ae66}from'@univerjs/ui';import{Tooltip as _0x3dde65,MessageType as _0x3feae8}from'@univerjs/design';import{forwardRef as _0x4deec8,useRef as _0x3165ca,createElement as _0x1c6db4,useCallback as _0x2d6390}from'react';import{IRemoteInstanceService as _0x3f658e}from'@univerjs/rpc';var li=Object[_0x1aa74c(0x25b)],hi=(_0x5d39a8,_0x32c9b8,_0x3ec56f,_0x3a2a17)=>{const _0x1d47a6=_0x1aa74c;for(var _0x5b7ae5=_0x3a2a17>0x1?void 0x0:_0x3a2a17?li(_0x32c9b8,_0x3ec56f):_0x32c9b8,_0xe4f23a=_0x5d39a8[_0x1d47a6(0x257)]-0x1,_0x517aff;_0xe4f23a>=0x0;_0xe4f23a--)(_0x517aff=_0x5d39a8[_0xe4f23a])&&(_0x5b7ae5=_0x517aff(_0x5b7ae5)||_0x5b7ae5);return _0x5b7ae5;},Ze=(_0x57da9a,_0x313bce)=>(_0x503d22,_0x1f7cbe)=>_0x313bce(_0x503d22,_0x1f7cbe,_0x57da9a);let Me=class extends _0x2a190b{constructor(_0x509e2f,_0x230d3b){const _0x5b41e3=_0x1aa74c;super(),this[_0x5b41e3(0x265)]=_0x509e2f,this['_imageIoService']=_0x230d3b,this[_0x5b41e3(0x11f)]();}[_0x1aa74c(0x11f)](){const _0x4849db=_0x1aa74c,_0x435d12=this;this[_0x4849db(0x27c)](this[_0x4849db(0x265)][_0x4849db(0x1d7)]({'onBeforePasteImage':async _0x8fa866=>{const _0x51ed25=_0x4849db,_0x4c57fc=await _0x435d12[_0x51ed25(0x277)][_0x51ed25(0x28a)](_0x8fa866);return _0x4c57fc?{'source':_0x4c57fc[_0x51ed25(0x126)],'imageSourceType':_0x4c57fc['imageSourceType']}:null;}}));}};Me=hi([Ze(0x0,_0x256793),Ze(0x1,_0x1ac55a)],Me);const qe=[_0x1aa74c(0x25c),'jiqing500',_0x1aa74c(0x139),_0x1aa74c(0x259),_0x1aa74c(0x159),'gold400'];class He extends _0x5e7481{constructor(){const _0x1fb1ca=_0x1aa74c;super(...arguments),h(this,_0x1fb1ca(0x1ca),new Map()),h(this,_0x1fb1ca(0x2ae),0x0);}[_0x1aa74c(0x17a)](_0x9aead4){const _0x362ccd=_0x1aa74c;if(this['_assignedColors'][_0x362ccd(0x22d)](_0x9aead4))return this['_assignedColors'][_0x362ccd(0x25e)](_0x9aead4);const _0x46e522=qe[this[_0x362ccd(0x2ae)]];return this[_0x362ccd(0x2ae)]=(this[_0x362ccd(0x2ae)]+0x1)%qe[_0x362ccd(0x257)],this['_assignedColors'][_0x362ccd(0x193)](_0x9aead4,_0x46e522),_0x46e522;}}function Dt(_0xbff494){const _0x2a3d6e=_0x1aa74c;let _0x5ab580='';for(const _0x1d72de of _0xbff494){const {startOffset:_0x2df15e,endOffset:_0x5471e8,isActive:_0x382941,rangeType:_0x17078d,segmentId:_0x1cf692,segmentPage:_0x1e43ae}=_0x1d72de;_0x5ab580[_0x2a3d6e(0x257)]&&(_0x5ab580+=','),_0x5ab580+=_0x2df15e+':'+_0x5471e8+':'+(_0x382941?'1':'0')+':'+_0x17078d+':'+_0x1cf692+':'+_0x1e43ae;}return _0x5ab580;}function _i(_0x181792){const _0x55af9a=_0x1aa74c,_0x35d879=_0x181792[_0x55af9a(0x1c5)](','),_0x14a5de=[];for(const _0x243530 of _0x35d879){const [_0x19970c,_0x5b069f,_0x3bc5e1,_0x5ab640,_0x506994,_0x45c5c8]=_0x243530[_0x55af9a(0x1c5)](':');_0x14a5de[_0x55af9a(0xe8)]({'startOffset':Number(_0x19970c),'endOffset':Number(_0x5b069f),'collapsed':_0x19970c===_0x5b069f,'isActive':_0x3bc5e1==='1','rangeType':_0x5ab640===_0x1b4ba8[_0x55af9a(0x1b8)]?_0x1b4ba8[_0x55af9a(0x1b8)]:_0x1b4ba8[_0x55af9a(0x11e)],'segmentId':typeof _0x506994==_0x55af9a(0x1fc)?String(_0x506994):'','segmentPage':Number(_0x45c5c8!=null?_0x45c5c8:-0x1)});}return _0x14a5de[_0x55af9a(0x13a)](_0x5b1ba5=>_0x5b1ba5['isActive'])||(_0x14a5de[0x0][_0x55af9a(0x14e)]=!0x0),_0x14a5de;}class je extends _0x2a190b{constructor(){const _0x5baa00=_0x1aa74c;super(...arguments),h(this,_0x5baa00(0x16b),new _0x29fde6(null)),h(this,'collabCursorState$',this[_0x5baa00(0x16b)][_0x5baa00(0x1ed)]());}[_0x1aa74c(0x171)](_0x217b37){const _0x4ff078=_0x1aa74c,{unitID:_0xa44d04,memberID:_0x6b184b,textRanges:_0x422e2f}=_0x217b37,_0x261bd5=Dt(_0x422e2f);if(_0x261bd5==='')return;const _0xb27780={'unitID':_0xa44d04,'memberID':_0x6b184b,'selection':_0x261bd5};this[_0x4ff078(0x16b)][_0x4ff078(0x200)](_0xb27780);}}var ui=Object[_0x1aa74c(0x25b)],di=(_0x467de6,_0x82d23d,_0x517f99,_0x51b555)=>{const _0x4e6246=_0x1aa74c;for(var _0x441e85=_0x51b555>0x1?void 0x0:_0x51b555?ui(_0x82d23d,_0x517f99):_0x82d23d,_0x209fe6=_0x467de6[_0x4e6246(0x257)]-0x1,_0x23e339;_0x209fe6>=0x0;_0x209fe6--)(_0x23e339=_0x467de6[_0x209fe6])&&(_0x441e85=_0x23e339(_0x441e85)||_0x441e85);return _0x441e85;},U=(_0x3e4173,_0x513182)=>(_0x42e4cf,_0x223d03)=>_0x513182(_0x42e4cf,_0x223d03,_0x3e4173);const fi=0x12c,Si=0x64;let Ne=class extends _0x2a190b{constructor(_0x20ab21,_0x5ac613,_0x32a144,_0x532447,_0x12d70f,_0x3ecf9f,_0x18ca96,_0x333632,_0x286458){const _0x2eb8b2=_0x1aa74c;super(),h(this,_0x2eb8b2(0xf9),!0x1),h(this,_0x2eb8b2(0x11f),!0x1),h(this,_0x2eb8b2(0x255),new _0x29fde6(new Map())),h(this,_0x2eb8b2(0x294),this[_0x2eb8b2(0x255)][_0x2eb8b2(0x1ed)]()),h(this,_0x2eb8b2(0x26c),new _0x29fde6([])),h(this,'roomMembers$',this[_0x2eb8b2(0x26c)]['pipe'](_0x276de4(fi))),h(this,_0x2eb8b2(0x1d4),_0x3061bf(_0x105ce2=>{const _0x4b4142=_0x2eb8b2,_0xc6b6ef={'eventID':_0x386581[_0x4b4142(0xff)],'data':{'unitID':this['unitID'],'memberID':this[_0x4b4142(0x10a)][_0x4b4142(0x14c)](),'selection':Dt(_0x105ce2)}};this[_0x4b4142(0x10a)][_0x4b4142(0x24f)](_0xc6b6ef,this[_0x4b4142(0xe9)]);},Si)),(this[_0x2eb8b2(0xe9)]=_0x20ab21,this[_0x2eb8b2(0x10a)]=_0x5ac613,this[_0x2eb8b2(0x106)]=_0x32a144,this[_0x2eb8b2(0x1e7)]=_0x532447,this[_0x2eb8b2(0x13f)]=_0x12d70f,this[_0x2eb8b2(0x198)]=_0x3ecf9f,this['_transformService']=_0x18ca96,this[_0x2eb8b2(0x179)]=_0x333632,this['_commandService']=_0x286458);}get[_0x1aa74c(0x237)](){return this['_cursorInfo$']['getValue']();}get[_0x1aa74c(0xeb)](){const _0x358033=_0x1aa74c;return this[_0x358033(0x26c)][_0x358033(0x23b)]();}[_0x1aa74c(0x246)](){const _0x30a137=_0x1aa74c;super[_0x30a137(0x246)](),this[_0x30a137(0x255)][_0x30a137(0x200)](new Map()),this[_0x30a137(0x255)]['complete'](),this[_0x30a137(0x26c)][_0x30a137(0x200)]([]),this[_0x30a137(0x26c)][_0x30a137(0x263)]();}[_0x1aa74c(0x13b)](){const _0x34f336=_0x1aa74c;this[_0x34f336(0x11f)]||(this[_0x34f336(0x11f)]=!0x0,this[_0x34f336(0x10a)][_0x34f336(0x112)][_0x34f336(0xe3)](_0x304798(this[_0x34f336(0x25f)]))[_0x34f336(0x1a7)](_0x5658b8=>{const _0xe68da3=_0x34f336;_0x5658b8===_0x4f5628['ONLINE']?this[_0xe68da3(0x118)]():this[_0xe68da3(0x19c)]();}),this['_session']['event$'][_0x34f336(0xe3)](_0x304798(this['dispose$']))['subscribe'](_0x2e4438=>{const _0x494a2b=_0x34f336,_0x1ed523=_0x2e4438[_0x494a2b(0x2c1)];_0x1ed523===_0x386581[_0x494a2b(0xff)]&&this[_0x494a2b(0x1de)](_0x2e4438),_0x1ed523===_0x386581[_0x494a2b(0x1ee)]&&this[_0x494a2b(0x22e)](_0x2e4438);}),this[_0x34f336(0x27c)](this[_0x34f336(0x1cd)][_0x34f336(0x1ae)](_0x1260b8=>{const _0x5a8acb=_0x34f336,_0x4d96f7=_0x1260b8['params'];_0x4d96f7!=null&&this[_0x5a8acb(0xf9)]&&_0x1260b8['id']===_0x17c09c['id']&&_0x4d96f7['unitId']===this[_0x5a8acb(0xe9)]&&_0x4d96f7['isEditing']===!0x1&&_0x4d96f7['ranges'][_0x5a8acb(0x257)]>0x0&&this[_0x5a8acb(0x1d4)](_0x4d96f7['ranges']);})),this[_0x34f336(0x198)][_0x34f336(0x298)][_0x34f336(0xe3)](_0x304798(this['dispose$']))[_0x34f336(0x1a7)](_0x38f3be=>{const _0x11bfc0=_0x34f336;if((_0x38f3be==null?void 0x0:_0x38f3be[_0x11bfc0(0xe9)])!==this[_0x11bfc0(0xe9)])return;const _0x483470={'eventID':_0x386581[_0x11bfc0(0xff)],'data':_0x38f3be};this['_onCursorUpdate'](_0x483470);}),this['disposeWithMe'](this['_commandService'][_0x34f336(0x1ae)](_0x37eda4=>{const _0x3acbbb=_0x34f336;if(_0x37eda4[_0x3acbbb(0x192)]==null)return;const _0x384da2=_0x37eda4[_0x3acbbb(0x192)];if(_0x37eda4['id']!==_0x22de6e['id']||_0x384da2[_0x3acbbb(0x169)]!==this[_0x3acbbb(0xe9)])return;const _0x4456f0={'id':'doc.mutation.rich-text-editing','params':_0x384da2},_0xcdcae4=this['cursorInfo'];for(const [_0x3a1ad0,_0x2781d5]of _0xcdcae4){const _0x2f3e70={'id':_0x3acbbb(0x270),'params':{'unitId':this[_0x3acbbb(0xe9)],'actions':null,'textRanges':_0x2781d5[_0x3acbbb(0xfc)]}},_0x35b864=this[_0x3acbbb(0x201)][_0x3acbbb(0x1f9)](_0x4456f0,_0x2f3e70,!0x1);if(_0x24c0cc(_0x35b864))throw _0x35b864[_0x3acbbb(0x27f)];_0xcdcae4[_0x3acbbb(0x193)](_0x3a1ad0,{..._0x2781d5,'ranges':_0x35b864[_0x3acbbb(0x1f7)][_0x3acbbb(0x192)]['textRanges']});}queueMicrotask(()=>{const _0x235961=_0x3acbbb;this[_0x235961(0x255)][_0x235961(0x200)](_0xcdcae4);});})));}[_0x1aa74c(0x1de)](_0x4eba26){const _0x4f6f26=_0x1aa74c;var _0x376801,_0x4f4f9b;const {memberID:_0x17feb4,selection:_0x48f291}=_0x4eba26[_0x4f6f26(0x150)],_0x43601a=_i(_0x48f291),_0x3f236c=(_0x4f4f9b=(_0x376801=this['_memberService']['getMember'](this[_0x4f6f26(0xe9)],_0x17feb4))==null?void 0x0:_0x376801['name'])!=null?_0x4f4f9b:'Unknown\x20user',_0x30d8eb={'color':this['_colorAssignService'][_0x4f6f26(0x17a)](_0x17feb4),'name':_0x3f236c,'ranges':_0x43601a},_0xc4327e=this[_0x4f6f26(0x237)];_0xc4327e[_0x4f6f26(0x193)](_0x17feb4,_0x30d8eb),this[_0x4f6f26(0x255)]['next'](_0xc4327e);}[_0x1aa74c(0x22e)](_0x310547){const _0x5f327e=_0x1aa74c,{memberID:_0x2697f8}=_0x310547[_0x5f327e(0x150)],_0x3e84d6=this[_0x5f327e(0x237)];_0x3e84d6[_0x5f327e(0x244)](_0x2697f8),this[_0x5f327e(0x255)]['next'](_0x3e84d6);}[_0x1aa74c(0x118)](){const _0x43f7fa=_0x1aa74c;var _0x276c6f;if(this[_0x43f7fa(0xf9)]=!0x0,((_0x276c6f=this[_0x43f7fa(0x179)][_0x43f7fa(0x207)]())==null?void 0x0:_0x276c6f[_0x43f7fa(0x2a6)]())!==this[_0x43f7fa(0xe9)])return;const _0x50936c=this[_0x43f7fa(0x106)][_0x43f7fa(0x25e)](_0x3949f1)['getDocRanges']();Array[_0x43f7fa(0x2b4)](_0x50936c)&&_0x50936c[_0x43f7fa(0x257)]>0x0&&this[_0x43f7fa(0x1d4)](_0x50936c);}[_0x1aa74c(0x19c)](){const _0x4f86fd=_0x1aa74c;this[_0x4f86fd(0xf9)]=!0x1;}};Ne=di([U(0x2,_0x3dcc01(_0x51f854)),U(0x3,_0x3dcc01(He)),U(0x4,_0x3dcc01(_0x2cf048)),U(0x5,_0x3dcc01(je)),U(0x6,_0x76057e),U(0x7,_0x7409ad),U(0x8,_0x2d892b)],Ne);var mi=Object[_0x1aa74c(0x25b)],gi=(_0x2dbbe3,_0x477147,_0x397601,_0x7431c2)=>{for(var _0x58fd06=_0x7431c2>0x1?void 0x0:_0x7431c2?mi(_0x477147,_0x397601):_0x477147,_0x4c3e5e=_0x2dbbe3['length']-0x1,_0x49033c;_0x4c3e5e>=0x0;_0x4c3e5e--)(_0x49033c=_0x2dbbe3[_0x4c3e5e])&&(_0x58fd06=_0x49033c(_0x58fd06)||_0x58fd06);return _0x58fd06;},x=(_0x59d16c,_0x11a988)=>(_0x370b25,_0x4778e8)=>_0x11a988(_0x370b25,_0x4778e8,_0x59d16c);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4c8bda=[],_0x15427c=!0x1;return _0x54696f=>{const _0xa177cc=_0x23ae;_0x4c8bda[_0xa177cc(0xe8)](_0x54696f),_0x15427c||(_0x15427c=!0x0,setTimeout(()=>{_0x4c8bda['forEach'](_0x6bc752=>_0x6bc752()),_0x4c8bda=[],_0x15427c=!0x1;}));};};let we=class extends _0x2a190b{constructor(_0xd2ca8e,_0x3d2291,_0x74eb8e,_0x44b9aa,_0x440019,_0x19650e,_0x4e519f,_0x37f852){const _0x45bd8e=_0x1aa74c;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x45bd8e(0x255),new _0x29fde6(new Map())),h(this,'cursorInfo$',this[_0x45bd8e(0x255)]['asObservable']()),h(this,_0x45bd8e(0x26c),new _0x29fde6([])),h(this,_0x45bd8e(0x2b3),this['_roomMembers$'][_0x45bd8e(0xe3)](_0x276de4(vi))),h(this,_0x45bd8e(0x1d4),_0x3061bf((_0x10af89,_0x2b8355)=>{const _0x350f7d=_0x45bd8e,_0x3fbe5b={'eventID':_0x386581[_0x350f7d(0xff)],'data':{'unitID':this[_0x350f7d(0xe9)],'memberID':this[_0x350f7d(0x10a)][_0x350f7d(0x14c)](),'selection':_0x3f993b(_0x10af89,_0x2b8355[_0x350f7d(0xee)])}};this[_0x350f7d(0x10a)][_0x350f7d(0x24f)](_0x3fbe5b,this['unitID']);},Ii)),(this['unitID']=_0xd2ca8e,this['_session']=_0x3d2291,this['_injector']=_0x74eb8e,this[_0x45bd8e(0x1e7)]=_0x44b9aa,this[_0x45bd8e(0x13f)]=_0x440019,this['_univerInstanceService']=_0x19650e,this[_0x45bd8e(0x1cd)]=_0x4e519f,this[_0x45bd8e(0x220)]=_0x37f852);}get[_0x1aa74c(0x237)](){const _0x575965=_0x1aa74c;return this[_0x575965(0x255)]['getValue']();}get[_0x1aa74c(0xeb)](){return this['_roomMembers$']['getValue']();}[_0x1aa74c(0x246)](){const _0x4f8f41=_0x1aa74c;super[_0x4f8f41(0x246)](),this['_cursorInfo$'][_0x4f8f41(0x200)](new Map()),this[_0x4f8f41(0x255)][_0x4f8f41(0x263)](),this[_0x4f8f41(0x26c)][_0x4f8f41(0x200)]([]),this[_0x4f8f41(0x26c)]['complete']();}[_0x1aa74c(0x13b)](){const _0x15078a=_0x1aa74c;this[_0x15078a(0x11f)]||(this['_init']=!0x0,this[_0x15078a(0x10a)][_0x15078a(0x112)]['pipe'](_0x304798(this[_0x15078a(0x25f)]))[_0x15078a(0x1a7)](_0x48a8fb=>{const _0x11ff02=_0x15078a;_0x48a8fb===_0x4f5628[_0x11ff02(0x1dc)]?this['_toggleOnline']():this[_0x11ff02(0x19c)]();}),this[_0x15078a(0x10a)][_0x15078a(0x267)]['pipe'](_0x304798(this['dispose$']))[_0x15078a(0x1a7)](_0xcd283c=>{const _0x24e370=_0x15078a,_0x95d2b7=_0xcd283c['eventID'];_0x95d2b7===_0x386581['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xcd283c),_0x95d2b7===_0x386581[_0x24e370(0x1ee)]&&this[_0x24e370(0x22e)](_0xcd283c);}),this[_0x15078a(0x17e)](),this[_0x15078a(0x27c)](this['_commandService'][_0x15078a(0x1ae)](_0x440442=>{const _0xaa728b=_0x15078a;if(this['_online']&&_0x440442['id']===_0x632530['id']&&_0x440442[_0xaa728b(0x192)][_0xaa728b(0x169)]===this[_0xaa728b(0xe9)]){const _0x2957a0=_0x440442['params'];this[_0xaa728b(0x1d4)](_0x2957a0[_0xaa728b(0x163)],_0x2957a0[_0xaa728b(0x2b1)][0x0]);}})));}[_0x1aa74c(0x1de)](_0x2aa542){const _0x2a5fb4=_0x1aa74c;var _0x134156,_0x91b413;const {memberID:_0x2c56d6,selection:_0xad3d10}=_0x2aa542[_0x2a5fb4(0x150)],{sheetName:_0x1dad04,range:_0x1fd98e}=_0x554312(_0xad3d10),_0x34c4ab={'name':(_0x91b413=(_0x134156=this[_0x2a5fb4(0x13f)]['getMember'](this['unitID'],_0x2c56d6))==null?void 0x0:_0x134156[_0x2a5fb4(0x108)])!=null?_0x91b413:'Unknown\x20user','range':this[_0x2a5fb4(0x181)](_0x1dad04,_0x1fd98e),'sheetID':_0x1dad04,'color':this[_0x2a5fb4(0x1e7)][_0x2a5fb4(0x17a)](_0x2c56d6),'selection':_0xad3d10},_0x5660fe=this[_0x2a5fb4(0x237)];_0x5660fe['set'](_0x2c56d6,_0x34c4ab),this[_0x2a5fb4(0x255)]['next'](_0x5660fe);}[_0x1aa74c(0x22e)](_0xe6dedb){const _0x273254=_0x1aa74c,{memberID:_0x84d76f}=_0xe6dedb[_0x273254(0x150)],_0x4b118c=this['cursorInfo'];_0x4b118c['delete'](_0x84d76f),this[_0x273254(0x255)][_0x273254(0x200)](_0x4b118c);}[_0x1aa74c(0x181)](_0x4db85a,_0x3cfc1e){const _0x1be817=_0x1aa74c;var _0x416e07,_0x382ee6;const _0x19104f=(_0x382ee6=(_0x416e07=this['_univerInstanceService'][_0x1be817(0x2b9)](this[_0x1be817(0xe9)]))==null?void 0x0:_0x416e07[_0x1be817(0x221)](_0x4db85a))==null?void 0x0:_0x382ee6[_0x1be817(0x227)]();return(_0x19104f==null?void 0x0:_0x19104f[_0x1be817(0x279)](_0x5cec32=>_0x419b61['contains'](_0x5cec32,_0x3cfc1e)))||_0x3cfc1e;}['_onRefRangeChange'](){const _0x2e37a9=_0x1aa74c,_0x211dc8=new _0x590753(),_0x4bb53b=pi(),_0x3cce7c=()=>{const _0x292ddf=_0x23ae;_0x211dc8[_0x292ddf(0x246)]();const _0x2ab4e6=(_0x1fc073,_0x1d3ee0,_0x4c4c29,_0x38ef0e)=>{const _0x13a18d=_0x292ddf;let _0x111532=[];switch(_0x1fc073['id']){case _0x25c1c3[_0x13a18d(0x214)]:{_0x111532=_0x838058(_0x1fc073,_0x38ef0e);break;}case _0x25c1c3[_0x13a18d(0x1e0)]:{_0x111532=_0x7e1976(_0x1fc073,_0x38ef0e);break;}case _0x25c1c3['InsertColCommandId']:{_0x111532=_0x2f69fe(_0x1fc073,_0x38ef0e);break;}case _0x25c1c3[_0x13a18d(0x238)]:{_0x111532=_0x384f1b(_0x1fc073,_0x38ef0e);break;}case _0x25c1c3[_0x13a18d(0x12c)]:{_0x111532=_0xc67790(_0x1fc073,_0x38ef0e);break;}case _0x25c1c3[_0x13a18d(0x205)]:{_0x111532=_0x1efdb4(_0x1fc073,_0x38ef0e);break;}case _0x25c1c3[_0x13a18d(0x158)]:{_0x111532=_0x570dfc(_0x1fc073,_0x38ef0e);break;}case _0x25c1c3[_0x13a18d(0x16f)]:{_0x111532=_0x50894e(_0x1fc073,_0x38ef0e);break;}case _0x25c1c3[_0x13a18d(0x170)]:{_0x111532=_0x2cbf88(_0x1fc073,_0x38ef0e);break;}}const _0x49f49b=_0xaa5770(_0x111532,_0x38ef0e),_0x163132=this['cursorInfo'][_0x13a18d(0x25e)](_0x1d3ee0);if(_0x163132&&_0x49f49b){const _0x376761={..._0x163132,'range':_0x49f49b};this[_0x13a18d(0x237)][_0x13a18d(0x193)](_0x1d3ee0,_0x376761),_0x4bb53b(()=>{const _0x89b2ef=_0x13a18d,_0x43d293=this[_0x89b2ef(0x220)][_0x89b2ef(0x22f)](_0x49f49b,_0x31f4a5=>(_0x43d293[_0x89b2ef(0x246)](),_0x2ab4e6(_0x31f4a5,_0x1d3ee0,_0x4c4c29,_0x49f49b)));_0x211dc8['add'](_0x43d293);});}return{'redos':[],'undos':[]};};this[_0x292ddf(0x237)][_0x292ddf(0x286)]((_0x3076c3,_0x3981cc)=>{const _0x5d244f=_0x292ddf,{range:_0x35f4c0,sheetID:_0x4cfdc9}=_0x3076c3,_0x3f056a=this[_0x5d244f(0x220)][_0x5d244f(0x22f)](_0x35f4c0,_0x259d91=>(_0x3f056a[_0x5d244f(0x246)](),_0x2ab4e6(_0x259d91,_0x3981cc,_0x4cfdc9,_0x35f4c0)));_0x211dc8[_0x5d244f(0x2bd)](_0x3f056a);});};this[_0x2e37a9(0x27c)](_0x346eba(this['_cursorInfo$'][_0x2e37a9(0x1a7)](()=>{_0x3cce7c();})));}['_toggleOnline'](){const _0x4a89bc=_0x1aa74c;var _0x1c115b,_0x394c05;if(this[_0x4a89bc(0xf9)]=!0x0,((_0x1c115b=this[_0x4a89bc(0x179)][_0x4a89bc(0x207)]())==null?void 0x0:_0x1c115b[_0x4a89bc(0x2a6)]())!==this[_0x4a89bc(0xe9)])return;const _0x4f51a1=(_0x394c05=this[_0x4a89bc(0x106)][_0x4a89bc(0x25e)](_0x43912c)['getCurrentSelections']())==null?void 0x0:_0x394c05[0x0],_0x47f529=this[_0x4a89bc(0x179)]['getCurrentUnitForType'](_0x2d6dc7['UNIVER_SHEET'])[_0x4a89bc(0xf5)]();_0x4f51a1&&_0x47f529&&this[_0x4a89bc(0x1d4)](_0x47f529[_0x4a89bc(0x27e)](),_0x4f51a1);}['_toggleOffline'](){const _0x292277=_0x1aa74c;this[_0x292277(0xf9)]=!0x1;}};we=gi([x(0x2,_0x3dcc01(_0x51f854)),x(0x3,_0x3dcc01(He)),x(0x4,_0x3dcc01(_0x2cf048)),x(0x5,_0x7409ad),x(0x6,_0x2d892b),x(0x7,_0x3dcc01(_0x136dcf))],we);var Ci=Object['getOwnPropertyDescriptor'],bi=(_0x3a9706,_0x18be1d,_0x40c9a9,_0x114155)=>{const _0x97617b=_0x1aa74c;for(var _0x4de6d4=_0x114155>0x1?void 0x0:_0x114155?Ci(_0x18be1d,_0x40c9a9):_0x18be1d,_0x182362=_0x3a9706[_0x97617b(0x257)]-0x1,_0x39a5e6;_0x182362>=0x0;_0x182362--)(_0x39a5e6=_0x3a9706[_0x182362])&&(_0x4de6d4=_0x39a5e6(_0x4de6d4)||_0x4de6d4);return _0x4de6d4;},me=(_0x1e15f4,_0x2e5456)=>(_0x16df6e,_0x45d3a5)=>_0x2e5456(_0x16df6e,_0x45d3a5,_0x1e15f4);let H=class extends _0x2a190b{constructor(_0x59e017,_0x2deafb,_0x45f4b7){const _0x22c4da=_0x1aa74c;super(),h(this,_0x22c4da(0x2ac),new Map()),h(this,_0x22c4da(0x2ad),new _0x44a794()),(this['_univerInstanceService']=_0x59e017,this['_injector']=_0x2deafb,this['_collabSessionService']=_0x45f4b7,this['_init']());}[_0x1aa74c(0x246)](){const _0x190304=_0x1aa74c;super[_0x190304(0x246)](),this[_0x190304(0x2ad)][_0x190304(0x263)](),this['_entities'][_0x190304(0x286)](_0x59bfe8=>_0x59bfe8['dispose']());}[_0x1aa74c(0x1f2)](_0x1669d8){const _0x2ba6ee=_0x1aa74c;return this['_entities'][_0x2ba6ee(0x22d)](_0x1669d8)?this[_0x2ba6ee(0x2ac)]['get'](_0x1669d8)[_0x2ba6ee(0x294)]:this[_0x2ba6ee(0x2ad)][_0x2ba6ee(0xe3)](_0x5783a9(_0x55eb43=>_0x55eb43[_0x2ba6ee(0xe9)]===_0x1669d8),_0x47854f(_0x23fa35=>_0x23fa35[_0x2ba6ee(0x294)]));}[_0x1aa74c(0x11f)](){const _0x3ea0ea=_0x1aa74c;this['_univerInstanceService'][_0x3ea0ea(0x18d)](_0x2d6dc7[_0x3ea0ea(0x111)])[_0x3ea0ea(0xe3)](_0x304798(this[_0x3ea0ea(0x25f)]))[_0x3ea0ea(0x1a7)](async _0x272cd9=>{const _0x55d1a1=_0x3ea0ea,_0x2f825c=_0x272cd9['getUnitId'](),_0x576e08=await this['_startSheetCollabCursor'](_0x2f825c);this['_entityInit$'][_0x55d1a1(0x200)](_0x576e08),this[_0x55d1a1(0x2ac)][_0x55d1a1(0x193)](_0x2f825c,_0x576e08);}),this['_univerInstanceService'][_0x3ea0ea(0x18d)](_0x2d6dc7[_0x3ea0ea(0x1e6)])[_0x3ea0ea(0xe3)](_0x304798(this['dispose$']))[_0x3ea0ea(0xe3)](_0x5783a9(_0x508abf=>!_0x508abf['getUnitId']()[_0x3ea0ea(0x29f)]('__')))['subscribe'](async _0x45326b=>{const _0x5a0c16=_0x3ea0ea,_0x3417ee=_0x45326b[_0x5a0c16(0x2a6)](),_0x35c95d=await this[_0x5a0c16(0x22c)](_0x3417ee);this[_0x5a0c16(0x2ad)][_0x5a0c16(0x200)](_0x35c95d),this['_entities'][_0x5a0c16(0x193)](_0x3417ee,_0x35c95d);}),_0x4a258c(this[_0x3ea0ea(0x179)][_0x3ea0ea(0x24d)](_0x2d6dc7[_0x3ea0ea(0x1e6)]),this['_univerInstanceService'][_0x3ea0ea(0x24d)](_0x2d6dc7[_0x3ea0ea(0x111)]))[_0x3ea0ea(0xe3)](_0x304798(this['dispose$']))[_0x3ea0ea(0x1a7)](_0x51d9aa=>{const _0x1f983b=_0x3ea0ea,_0xff7d41=_0x51d9aa[_0x1f983b(0x2a6)](),_0x4fdc2a=this[_0x1f983b(0x2ac)][_0x1f983b(0x25e)](_0xff7d41);_0x4fdc2a&&(_0x4fdc2a['dispose'](),this[_0x1f983b(0x2ac)][_0x1f983b(0x244)](_0xff7d41));});}async['_startSheetCollabCursor'](_0x2d2abb){const _0x4f890b=_0x1aa74c,_0x5396b2=await this['_collabSessionService'][_0x4f890b(0xd8)](_0x2d2abb),_0x1bc9c8=this['_injector'][_0x4f890b(0x173)](we,_0x2d2abb,_0x5396b2);return _0x1bc9c8[_0x4f890b(0x13b)](),_0x1bc9c8;}async[_0x1aa74c(0x22c)](_0x359a10){const _0x490c41=_0x1aa74c,_0x385b85=await this['_collabSessionService']['requireSession'](_0x359a10),_0x21611f=this[_0x490c41(0x106)]['createInstance'](Ne,_0x359a10,_0x385b85);return _0x21611f[_0x490c41(0x13b)](),_0x21611f;}};H=bi([me(0x0,_0x7409ad),me(0x1,_0x3dcc01(_0x51f854)),me(0x2,_0x3dcc01(_0x55360f))],H);const te=0x14,Qe=0xc8,ge=0x4,Ei=0x5;function Oi(_0x2f7d04,_0x4554f3){const _0x47121d=_0x1aa74c;let {radius:_0x34d25a,width:_0x2ca67f,height:_0x264d88}=_0x4554f3;_0x34d25a=_0x34d25a!=null?_0x34d25a:0x0,_0x2ca67f=_0x2ca67f!=null?_0x2ca67f:0x1e,_0x264d88=_0x264d88!=null?_0x264d88:0x1e;let _0xb72e93=0x0,_0x3eae8e=0x0,_0x454c9d=0x0;_0xb72e93=_0x3eae8e=_0x454c9d=Math['min'](_0x34d25a,_0x2ca67f/0x2,_0x264d88/0x2),_0x2f7d04['beginPath'](),_0x2f7d04[_0x47121d(0x14a)](_0xb72e93,0x0),_0x2f7d04['lineTo'](_0x2ca67f-_0x3eae8e,0x0),_0x2f7d04[_0x47121d(0x116)](_0x2ca67f-_0x3eae8e,_0x3eae8e,_0x3eae8e,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f7d04['lineTo'](_0x2ca67f,_0x264d88-_0x454c9d),_0x2f7d04[_0x47121d(0x116)](_0x2ca67f-_0x454c9d,_0x264d88-_0x454c9d,_0x454c9d,0x0,Math['PI']/0x2,!0x1),_0x2f7d04[_0x47121d(0x2be)](0x0,_0x264d88),_0x2f7d04[_0x47121d(0x2be)](0x0,_0xb72e93),_0x2f7d04['arc'](_0xb72e93,_0xb72e93,_0xb72e93,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f7d04[_0x47121d(0x1e4)](),_0x4554f3['fill']&&(_0x2f7d04[_0x47121d(0xed)](),_0x2f7d04[_0x47121d(0x2b6)]=_0x4554f3['fill'],_0x4554f3[_0x47121d(0xe5)]==='evenodd'?_0x2f7d04['fill']('evenodd'):_0x2f7d04[_0x47121d(0x29c)](),_0x2f7d04['restore']());}class ue extends _0x328d65{constructor(_0x2f3919,_0x45eebc){const _0x5d1932=_0x1aa74c;super(_0x2f3919,_0x45eebc),h(this,_0x5d1932(0x219)),h(this,_0x5d1932(0x28c)),(this[_0x5d1932(0x219)]=_0x45eebc==null?void 0x0:_0x45eebc[_0x5d1932(0x219)],this['text']=_0x45eebc==null?void 0x0:_0x45eebc['text']);}static[_0x1aa74c(0x1b1)](_0x182a6d,_0x20f3c0){const _0x481ac0=_0x1aa74c,{text:_0x25a36d,color:_0x48be1a}=_0x20f3c0;_0x182a6d[_0x481ac0(0xed)](),_0x182a6d['font']=_0x481ac0(0x2af);const _0x2a345b=_0x182a6d[_0x481ac0(0x290)](_0x25a36d)['width'],_0x31a69b=Math[_0x481ac0(0x252)](_0x2a345b+0x2*ge,Qe);Oi(_0x182a6d,{'height':te,'radius':0x4,'width':_0x31a69b,'fill':_0x48be1a}),_0x182a6d[_0x481ac0(0x2b6)]='#FFF';const _0x5bdcf5=ge,_0x30ccf7=te-Ei,_0x11a0ac=Qe-0x2*ge;if(_0x2a345b>_0x11a0ac){let _0x1af03b='',_0x1e8ad9=0x0;for(const _0x3b8f48 of _0x25a36d){const _0x26462e=_0x182a6d['measureText'](_0x3b8f48)[_0x481ac0(0x1ec)];if(_0x1e8ad9+_0x26462e<=_0x11a0ac-_0x182a6d[_0x481ac0(0x290)](_0x481ac0(0x133))['width'])_0x1af03b+=_0x3b8f48,_0x1e8ad9+=_0x26462e;else{_0x1af03b+=_0x481ac0(0x133);break;}}_0x182a6d[_0x481ac0(0x23f)](_0x1af03b,_0x5bdcf5,_0x30ccf7);}else _0x182a6d['fillText'](_0x25a36d,_0x5bdcf5,_0x30ccf7);_0x182a6d[_0x481ac0(0xf0)]();}[_0x1aa74c(0x271)](_0xe01874){const _0x4d6ad1=_0x1aa74c;ue[_0x4d6ad1(0x1b1)](_0xe01874,this);}}const ve='collab-text-anchor-',Ti=_0x1aa74c(0x188),Ri=_0x1aa74c(0x29a),V=0x6,Di=1.5,Ie=0x4,Pi=1.5,Mi=_0x1aa74c(0xd9);class et{constructor(_0x5d7d05,_0x2fe27d,_0x1731d5,_0x6747ec){const _0x2d745b=_0x1aa74c;h(this,'_shapes',[]),h(this,'_anchor',null),h(this,_0x2d745b(0x297),null),h(this,_0x2d745b(0x229),null),h(this,'_hideTimer',null),h(this,'_eventUnsubscribe',null),(this['_cursor']=_0x5d7d05,this['_scene']=_0x2fe27d,this[_0x2d745b(0x248)]=_0x1731d5,this['_document']=_0x6747ec,this['_render']());}set[_0x1aa74c(0x213)](_0x5f2567){const _0x4856f5=_0x1aa74c;_0x5f2567?(this[_0x4856f5(0x229)]&&this['_anchorDot'][_0x4856f5(0x275)](),this[_0x4856f5(0x297)]&&this[_0x4856f5(0x297)][_0x4856f5(0xe7)]()):(this[_0x4856f5(0x229)]&&this[_0x4856f5(0x229)][_0x4856f5(0xe7)](),this[_0x4856f5(0x297)]&&this[_0x4856f5(0x297)]['hide']());}[_0x1aa74c(0x246)](){const _0x52e3e2=_0x1aa74c;for(const _0x3e3fdd of this[_0x52e3e2(0x17b)])_0x3e3fdd['dispose']();this[_0x52e3e2(0x297)]&&this[_0x52e3e2(0x297)][_0x52e3e2(0x246)](),this[_0x52e3e2(0x229)]&&this[_0x52e3e2(0x229)][_0x52e3e2(0x246)](),this['_anchor']&&this[_0x52e3e2(0x17c)][_0x52e3e2(0x246)](),this[_0x52e3e2(0x110)]&&this[_0x52e3e2(0x110)]();}[_0x1aa74c(0x230)](){const _0x3cfb87=_0x1aa74c;var _0x11e6d7;const {_docSkeleton:_0x246697,_document:_0x5e7a59}=this,{color:_0x1da27d,name:_0xf21821,ranges:_0x58c9a0}=this[_0x3cfb87(0xe1)],_0x4ac25c=_0x5e7a59[_0x3cfb87(0x1eb)](),{docsLeft:_0x3d7146,docsTop:_0x3c5acc}=_0x4ac25c,_0x423a70=new _0x1bb73f(_0x4ac25c,_0x246697);for(const {startOffset:_0x45f34d,endOffset:_0x2ea04f,rangeType:_0x992e2c,segmentId:_0x1611b2,segmentPage:_0x326995,collapsed:_0x4d8141,isActive:_0x271723}of _0x58c9a0){const _0x5f5184=_0x246697[_0x3cfb87(0x1b3)](_0x45f34d,!0x0,_0x1611b2,_0x326995);let _0x31366b=_0x246697[_0x3cfb87(0x1b3)](_0x2ea04f,!0x0,_0x1611b2,_0x326995);if(_0x31366b==null&&(_0x31366b=_0x246697[_0x3cfb87(0x1b3)](_0x2ea04f-0x1,!0x1,_0x1611b2,_0x326995)),_0x271723){const {contentBoxPointGroup:_0x22da1c}=_0x423a70[_0x3cfb87(0x156)](_0x31366b,_0x31366b);if(_0x22da1c[_0x3cfb87(0x257)]===0x0)continue;this[_0x3cfb87(0x1d1)](_0x1da27d,_0x22da1c,_0x3d7146,_0x3c5acc,_0xf21821),this[_0x3cfb87(0x110)]=this[_0x3cfb87(0x224)]();}if(_0x5f5184&&_0x31366b){if(_0x992e2c===_0x1b4ba8[_0x3cfb87(0x11e)]){const _0x2c7a6c=new _0x3c630d(_0x4ac25c,_0x246697),{pointGroup:_0x305d8d}=(_0x11e6d7=_0x2c7a6c[_0x3cfb87(0x156)](_0x5f5184,_0x31366b))!=null?_0x11e6d7:{};if(_0x305d8d==null||_0x305d8d[_0x3cfb87(0x257)]===0x0)continue;this[_0x3cfb87(0x128)](_0x1da27d,_0x305d8d,_0x3d7146,_0x3c5acc);}else{if(!_0x4d8141){const {borderBoxPointGroup:_0x1a5a45}=_0x423a70[_0x3cfb87(0x156)](_0x5f5184,_0x31366b);if(_0x1a5a45[_0x3cfb87(0x257)]===0x0)continue;this['_drawTextRange'](_0x1da27d,_0x1a5a45,_0x3d7146,_0x3c5acc);}}}}}[_0x1aa74c(0x1d1)](_0x3fbeba,_0x5c96e,_0x21fdd2,_0x181719,_0x185214){const _0x51b856=_0x1aa74c,_0x50c0d7=this[_0x51b856(0x136)](_0x5c96e),{left:_0x4b35b6,top:_0x3f597d,height:_0x3236bb}=_0x50c0d7,_0x49a513=this[_0x51b856(0x295)](),_0x4c660c=Pi/_0x49a513,_0x56df43=new _0x30974f(ve+_0x1f374b[_0x51b856(0x114)](V),{'left':_0x4b35b6+_0x21fdd2-_0x4c660c,'top':_0x3f597d+_0x181719,'height':_0x3236bb,'width':Di,'fill':_0x3fbeba||_0x1f3b4b(_0x262004[_0x51b856(0x24c)],0x0),'strokeWidth':_0x4c660c,'stroke':Mi,'evented':!0x0});this[_0x51b856(0x17c)]=_0x56df43,this[_0x51b856(0x260)]['addObject'](_0x56df43,_0x5f5b1d);const _0x50e519=new _0x30974f(ve+_0x1f374b[_0x51b856(0x114)](V),{'left':_0x4b35b6+_0x21fdd2-_0x4c660c,'top':_0x3f597d+_0x181719-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x3fbeba||_0x1f3b4b(_0x262004['black'],0x0),'strokeWidth':0x0,'stroke':_0x3fbeba||_0x1f3b4b(_0x262004[_0x51b856(0x24c)],0x0),'evented':!0x1});this[_0x51b856(0x229)]=_0x50e519,this['_scene'][_0x51b856(0x21f)](_0x50e519,_0x5f5b1d);const _0x2c5b43=new ue(ve+_0x1f374b[_0x51b856(0x114)](V),{'left':_0x4b35b6+_0x21fdd2-_0x4c660c,'top':_0x3f597d+_0x181719-te,'text':_0x185214,'color':_0x3fbeba});this['_textBubble']=_0x2c5b43,this['_scene'][_0x51b856(0x21f)](_0x2c5b43,_0x5f5b1d),this[_0x51b856(0x213)]=!0x1;}[_0x1aa74c(0x224)](){const _0x1da227=_0x1aa74c,_0xddf7fd=this[_0x1da227(0x17c)][_0x1da227(0x29d)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x44bfa6=this[_0x1da227(0x17c)][_0x1da227(0x1ef)][_0x1da227(0x1db)](()=>{const _0x56ff97=_0x1da227;this[_0x56ff97(0x105)]&&clearTimeout(this[_0x56ff97(0x105)]),this[_0x56ff97(0x105)]=setTimeout(()=>{const _0x46516b=_0x56ff97;this[_0x46516b(0x213)]=!0x1;},0x7d0);});return()=>{const _0x24f0e3=_0x1da227;_0xddf7fd[_0x24f0e3(0x288)](),_0x44bfa6['unsubscribe']();};}[_0x1aa74c(0x253)](_0x59b9be,_0x2742ed,_0x116f9b,_0x13b81b){const _0x1b5076=_0x1aa74c,_0x217bb7=new _0x277f92(_0x59b9be)[_0x1b5076(0x10b)](0.2)['toRgbString'](),_0x93e30e=new _0x84c5d3(Ti+_0x1f374b[_0x1b5076(0x114)](V),{'pointsGroup':_0x2742ed,'fill':_0x217bb7||_0x1f3b4b(_0x262004[_0x1b5076(0x24c)],0.2),'left':_0x116f9b,'top':_0x13b81b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b5076(0x17b)][_0x1b5076(0xe8)](_0x93e30e),this[_0x1b5076(0x260)][_0x1b5076(0x21f)](_0x93e30e,_0x5f5b1d);}['_drawRectRange'](_0xb08236,_0x38436c,_0x441296,_0x23c785){const _0x4e2de0=_0x1aa74c,_0x30e214=new _0x277f92(_0xb08236)['setAlpha'](0.2)[_0x4e2de0(0x1ff)](),_0x581fbf=new _0x84c5d3(Ri+_0x1f374b[_0x4e2de0(0x114)](V),{'pointsGroup':_0x38436c,'fill':_0x30e214||_0x1f3b4b(_0x262004[_0x4e2de0(0x24c)],0.2),'left':_0x441296,'top':_0x23c785,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4e2de0(0xe8)](_0x581fbf),this['_scene'][_0x4e2de0(0x21f)](_0x581fbf,_0x5f5b1d);}[_0x1aa74c(0x136)](_0xfc652a){const _0x41218d=_0xfc652a[0x0],_0x3fe325=_0x41218d[0x0],_0x494afa=_0x41218d[0x2],{x:_0x419c07,y:_0x3e474e}=_0x3fe325,{x:_0x53c901,y:_0x46b09e}=_0x494afa;return{'left':_0x419c07,'top':_0x3e474e,'width':_0x53c901-_0x419c07,'height':_0x46b09e-_0x3e474e};}['_getScale'](){const _0x25b18a=_0x1aa74c,{scaleX:_0x46b229,scaleY:_0x2a257e}=this['_scene'][_0x25b18a(0x24a)]();return Math['max'](_0x46b229,_0x2a257e);}}var Ni=Object[_0x1aa74c(0x25b)],wi=(_0x58bb6c,_0x28e35e,_0xdbf9bf,_0xe3007f)=>{for(var _0x1fff91=_0xe3007f>0x1?void 0x0:_0xe3007f?Ni(_0x28e35e,_0xdbf9bf):_0x28e35e,_0x5df90c=_0x58bb6c['length']-0x1,_0x2cc1c1;_0x5df90c>=0x0;_0x5df90c--)(_0x2cc1c1=_0x58bb6c[_0x5df90c])&&(_0x1fff91=_0x2cc1c1(_0x1fff91)||_0x1fff91);return _0x1fff91;},q=(_0xc83da6,_0x485b5f)=>(_0x494ddb,_0x136b85)=>_0x485b5f(_0x494ddb,_0x136b85,_0xc83da6);let Ue=class extends _0x2a190b{constructor(_0x5373be,_0x55fe87,_0x10a72e,_0x340349,_0x2fea1a){const _0x40f69f=_0x1aa74c;super(),h(this,'_cursorShapes',[]),h(this,_0x40f69f(0x16e),[]),(this[_0x40f69f(0x12e)]=_0x5373be,this[_0x40f69f(0x149)]=_0x55fe87,this[_0x40f69f(0x180)]=_0x10a72e,this[_0x40f69f(0x1cd)]=_0x340349,this[_0x40f69f(0x242)]=_0x2fea1a,this['_init']());}[_0x1aa74c(0x11f)](){const _0x505afa=_0x1aa74c,_0x50e20b=this[_0x505afa(0x12e)][_0x505afa(0x169)],_0x29a9fa=this[_0x505afa(0x149)];this[_0x505afa(0x27c)](_0x3c4d84([this[_0x505afa(0x180)][_0x505afa(0x1f2)](_0x50e20b),this['_themeService']['currentTheme$']])[_0x505afa(0xe3)](_0x534630(([_0x439787,_0x22a6e7])=>({'skeleton':_0x29a9fa[_0x505afa(0x1f4)](),'cursors':[..._0x439787[_0x505afa(0x196)]()][_0x505afa(0x2b7)](_0x5e822c=>({..._0x5e822c,'color':_0x22a6e7[_0x5e822c['color']]}))})))['subscribe'](_0x27d433=>{const _0x39d372=_0x505afa;if(this[_0x39d372(0x273)](),_0x27d433){const {skeleton:_0x57b236,cursors:_0x7b0b3f}=_0x27d433;this[_0x39d372(0x217)](_0x57b236,_0x7b0b3f);}})),this[_0x505afa(0x11b)](),this[_0x505afa(0x147)]();}[_0x1aa74c(0x217)](_0xde8afa,_0x342c02){const _0x5b5817=_0x1aa74c,{scene:_0x2b57c5,mainComponent:_0x1cde6f}=this['_context'],_0x3b7dda=_0x342c02[_0x5b5817(0x1ce)](_0x4face8=>new et(_0x4face8,_0x2b57c5,_0xde8afa,_0x1cde6f));this['_cursorShapes']=_0x3b7dda,this[_0x5b5817(0x16e)]=_0x342c02;}['_refreshCollabCursors'](){const _0xde1372=_0x1aa74c;this[_0xde1372(0x273)]();const {scene:_0x5daad4,mainComponent:_0x41ee1b}=this[_0xde1372(0x12e)],_0x1c28b5=this[_0xde1372(0x149)][_0xde1372(0x1f4)](),_0x29a167=this[_0xde1372(0x16e)][_0xde1372(0x1ce)](_0x5839f8=>new et(_0x5839f8,_0x5daad4,_0x1c28b5,_0x41ee1b));this['_cursorShapes']=_0x29a167;}[_0x1aa74c(0x273)](){const _0x7141a3=_0x1aa74c;this[_0x7141a3(0x25d)]['forEach'](_0x7fa2f9=>_0x7fa2f9[_0x7141a3(0x246)]()),this[_0x7141a3(0x25d)]=[];}[_0x1aa74c(0x147)](){const _0x31f5f7=_0x1aa74c,_0x32f646=[_0x4f3317['id']];this[_0x31f5f7(0x27c)](this[_0x31f5f7(0x1cd)][_0x31f5f7(0x1ae)](_0x174ec5=>{const _0x4694fc=_0x31f5f7;_0x32f646[_0x4694fc(0x129)](_0x174ec5['id'])&&_0x174ec5[_0x4694fc(0x192)][_0x4694fc(0x169)]===this[_0x4694fc(0x12e)][_0x4694fc(0x169)]&&this[_0x4694fc(0x15a)]();}));}[_0x1aa74c(0x11b)](){const _0x4d42da=_0x1aa74c;this['disposeWithMe'](_0x104b41(this['_context'][_0x4d42da(0x21c)]['onTransformChange$'])[_0x4d42da(0xe3)](_0x5835e1(_0x24e80b=>_0x24e80b['type']===_0x1713f2['resize']),_0x5bd43b(0x10))[_0x4d42da(0x1a7)](()=>{const _0x18bf87=_0x4d42da;this[_0x18bf87(0x15a)]();}));}};Ue=wi([q(0x1,_0x3dcc01(_0x5af529)),q(0x2,_0x3dcc01(H)),q(0x3,_0x2d892b),q(0x4,_0x3dcc01(_0x5c1e3a))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x328d65{constructor(_0x250498,_0x317edc){const _0xea8247=_0x1aa74c;super(_0x250498,_0x317edc),h(this,'_color'),h(this,_0xea8247(0x1e8),!0x1),h(this,'_range'),h(this,'_name',''),h(this,'_labelPosition','top'),h(this,_0xea8247(0x1be)),(_0x317edc&&this[_0xea8247(0x26d)](_0x317edc),this[_0xea8247(0x29d)][_0xea8247(0x1db)](()=>this[_0xea8247(0x26d)]({'hovered':!0x0})),this[_0xea8247(0x1ef)][_0xea8247(0x1db)](()=>this[_0xea8247(0x26d)]({'hovered':!0x1})));}[_0x1aa74c(0x26d)](_0x41d651){const _0x457a89=_0x1aa74c;var _0x2cdb20,_0x1e2831,_0x3391ba,_0x598e86,_0x3d86ab,_0x21c08a;this[_0x457a89(0x123)]=(_0x2cdb20=_0x41d651[_0x457a89(0x219)])!=null?_0x2cdb20:this[_0x457a89(0x123)],this[_0x457a89(0x1e8)]=(_0x1e2831=_0x41d651[_0x457a89(0x1bf)])!=null?_0x1e2831:this[_0x457a89(0x1e8)],this[_0x457a89(0x142)]=(_0x3391ba=_0x41d651['range'])!=null?_0x3391ba:this[_0x457a89(0x142)],this[_0x457a89(0x15b)]=(_0x598e86=_0x41d651[_0x457a89(0x108)])!=null?_0x598e86:this['_name'],this['_labelPosition']=(_0x3d86ab=_0x41d651[_0x457a89(0x130)])!=null?_0x3d86ab:this['_labelPosition'],this[_0x457a89(0x1be)]=(_0x21c08a=_0x41d651['backgroundColor'])!=null?_0x21c08a:this[_0x457a89(0x1be)],this[_0x457a89(0x157)]({'width':_0x41d651[_0x457a89(0x1ec)],'height':_0x41d651[_0x457a89(0x245)]});}['onMouseMove'](_0x524158){const _0x3c38bc=_0x1aa74c,{row:_0x14deff,column:_0x67cf18}=_0x524158;if(_0x14deff>=this[_0x3c38bc(0x142)][_0x3c38bc(0x14f)]&&_0x14deff<=this[_0x3c38bc(0x142)]['endRow']&&_0x67cf18>=this[_0x3c38bc(0x142)]['startColumn']&&_0x67cf18<=this[_0x3c38bc(0x142)][_0x3c38bc(0x1f1)]){this[_0x3c38bc(0x26d)]({'hovered':!0x0});return;}this[_0x3c38bc(0x26d)]({'hovered':!0x1});}[_0x1aa74c(0x177)](_0x49a335){return!0x1;}[_0x1aa74c(0x271)](_0x5732a9){const _0x3d14d0=_0x1aa74c;_0x30974f[_0x3d14d0(0x1b1)](_0x5732a9,{'width':this[_0x3d14d0(0x1ec)],'height':this[_0x3d14d0(0x245)],'strokeWidth':Li,'stroke':this[_0x3d14d0(0x123)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3d14d0(0x1e8)]&&(_0x5732a9[_0x3d14d0(0xed)](),_0x5732a9[_0x3d14d0(0x1fb)](0x1,0x0,0x0,0x1,this[_0x3d14d0(0x1ec)],this[_0x3d14d0(0x1d2)]==='bottom'?0x0:-0x14),ue[_0x3d14d0(0x1b1)](_0x5732a9,{'text':this[_0x3d14d0(0x15b)],'color':this['_color']}),_0x5732a9[_0x3d14d0(0xf0)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x24d69c,_0x413095,_0x48e597,_0x5dfe41)=>{const _0x59ab2d=_0x1aa74c;for(var _0x58c829=_0x5dfe41>0x1?void 0x0:_0x5dfe41?yi(_0x413095,_0x48e597):_0x413095,_0xe7ffb3=_0x24d69c[_0x59ab2d(0x257)]-0x1,_0xbd7111;_0xe7ffb3>=0x0;_0xe7ffb3--)(_0xbd7111=_0x24d69c[_0xe7ffb3])&&(_0x58c829=_0xbd7111(_0x58c829)||_0x58c829);return _0x58c829;},pe=(_0x264578,_0x5939db)=>(_0x3733f1,_0x3f9042)=>_0x5939db(_0x3733f1,_0x3f9042,_0x264578);const xi=0x1389;let Le=class extends _0x2a190b{constructor(_0x3f499b,_0x1c29ec,_0x20d9ae,_0x2f83df){const _0x3300c9=_0x1aa74c;super(),h(this,_0x3300c9(0x16e),new Set()),h(this,'_lastPointer',null),(this[_0x3300c9(0x12e)]=_0x3f499b,this[_0x3300c9(0x228)]=_0x1c29ec,this['_collabCursorController']=_0x20d9ae,this['_themeService']=_0x2f83df,this['_init']());}[_0x1aa74c(0x11f)](){const _0x798276=_0x1aa74c;this[_0x798276(0x228)]['currentSkeleton$']['pipe'](_0x2cf982(this[_0x798276(0x25f)]),_0x5d6952(_0xe1b44c=>{const _0x1d57a5=_0x798276;if(_0xe1b44c){const _0x4d9fde=_0xe1b44c[_0x1d57a5(0x172)];return _0x3c4d84(this[_0x1d57a5(0x180)]['getCollabCursors$'](this[_0x1d57a5(0x12e)]['unitId']),this[_0x1d57a5(0x242)][_0x1d57a5(0x1bd)])[_0x1d57a5(0xe3)](_0x534630(([_0x4aa9f3,_0x407b5f])=>{const _0x25d16a=_0x1d57a5,_0x52f725=new Map();return _0x4aa9f3[_0x25d16a(0x286)]((_0x4ede0e,_0x54b965)=>{const _0x54cbda=_0x25d16a;if(_0x4ede0e[_0x54cbda(0x2b0)]===_0x4d9fde){const _0x40bdab={..._0x4ede0e};_0x40bdab[_0x54cbda(0x219)]=_0x407b5f[_0x4ede0e[_0x54cbda(0x219)]],_0x52f725[_0x54cbda(0x193)](_0x54b965,_0x40bdab);}}),{'skeleton':_0xe1b44c,'cursors':_0x52f725};}));}return _0x493c70({'skeleton':null,'cursors':new Map()});}))[_0x798276(0x1a7)](({skeleton:_0x4724ff,cursors:_0x4b20ab})=>{const _0x3661d9=_0x798276;this[_0x3661d9(0x273)](),_0x4724ff&&this[_0x3661d9(0x217)](_0x4724ff,_0x4b20ab);}),this['_sheetSkeletonManagerService'][_0x798276(0x218)][_0x798276(0x1a7)](_0x3f754a=>{const _0x2350fe=_0x798276;if(_0x3f754a==null)return;const {skeleton:_0x211bd9}=_0x3f754a,{scene:_0x3750d5}=this[_0x2350fe(0x12e)];_0x3750d5[_0x2350fe(0x28b)]['subscribeEvent'](_0x3061bf(_0x44b625=>{const _0x361816=_0x2350fe;var _0x597d28,_0x41b2e9;const {offsetX:_0x3e8420,offsetY:_0x4f91cd}=_0x44b625,{x:_0x4c20a9,y:_0x5b4a32}=_0x3750d5['getRelativeToViewportCoord'](_0x30d769[_0x361816(0x2b8)]([_0x3e8420,_0x4f91cd])),{scaleX:_0x2bd486,scaleY:_0x33bcfe}=_0x3750d5['getAncestorScale'](),_0x459c86=_0x3750d5[_0x361816(0x187)](_0x18291d[_0x361816(0x13d)]),_0x2dd1f9=_0x3750d5[_0x361816(0x199)](_0x30d769[_0x361816(0x2b8)]([_0x4c20a9,_0x5b4a32]),_0x459c86),_0x23edc1=_0x211bd9['getCellPositionByOffset'](_0x3e8420,_0x4f91cd,_0x2bd486,_0x33bcfe,_0x2dd1f9);((_0x597d28=this[_0x361816(0x119)])==null?void 0x0:_0x597d28[_0x361816(0x167)])===_0x23edc1['column']&&((_0x41b2e9=this[_0x361816(0x119)])==null?void 0x0:_0x41b2e9[_0x361816(0x1e3)])===_0x23edc1[_0x361816(0x1e3)]||this[_0x361816(0x16e)][_0x361816(0x286)](_0x5ee70a=>{const _0x2a98ca=_0x361816;_0x5ee70a[_0x2a98ca(0xef)](_0x23edc1);});},0x64));});}[_0x1aa74c(0x217)](_0xdc4eff,_0x3bb051){const _0xf17205=_0x1aa74c;var _0xa34e69;const _0x7bcf0=(_0xa34e69=this[_0xf17205(0x228)]['getCurrent']())==null?void 0x0:_0xa34e69['skeleton'];if(!_0x7bcf0)return;const _0x5a9f9f=this[_0xf17205(0x1af)]();if(!_0x5a9f9f)return;this[_0xf17205(0x16e)][_0xf17205(0x286)](_0x10f845=>{const _0x33a531=_0xf17205;_0x10f845[_0x33a531(0x141)]();});const {scene:_0x25f9a4}=_0x5a9f9f,_0x554409=ki(Array['from'](_0x3bb051['values']()))['map'](_0x6e0d2a=>{const _0x74d38d=_0xf17205,{color:_0x19603e,range:_0x44bb49,name:_0x1c3c8f,selection:_0x3c5db4,sheetID:_0x524a97}=_0x6e0d2a,{startColumn:_0x498462,startRow:_0x4e025e,endColumn:_0x297ba2,endRow:_0x280aea}=_0x44bb49,_0x5aa2f9=_0x359757(_0x4e025e,_0x498462,_0x25f9a4,_0x7bcf0),_0x47c0cf=_0x359757(_0x280aea,_0x297ba2,_0x25f9a4,_0x7bcf0),{columnHeaderHeightAndMarginTop:_0x1ff064}=_0x7bcf0,{startX:_0x122aad,startY:_0x46ded0}=_0x5aa2f9,{endX:_0x13d5eb,endY:_0x24d94b}=_0x47c0cf,_0x236bbe=_0x13d5eb-_0x122aad,_0x444197=_0x24d94b-_0x46ded0,_0x1194ad={'labelPosition':_0x46ded0-_0x1ff064>=te?_0x74d38d(0x1f6):_0x74d38d(0x239),'sheetID':_0x524a97,'range':_0x44bb49,'color':_0x19603e,'name':_0x1c3c8f,'selection':_0x3c5db4,'left':_0x122aad,'top':_0x46ded0,'width':_0x236bbe,'height':_0x444197,'evented':!0x1,'zIndex':xi};return new Ai(_0x1c3c8f,_0x1194ad);});_0x25f9a4['addObjects'](_0x554409,Ui),this[_0xf17205(0x16e)]=new Set(_0x554409);}[_0x1aa74c(0x273)](){const _0x47f4bb=_0x1aa74c;var _0x9a3714;(_0x9a3714=this[_0x47f4bb(0x16e)])==null||_0x9a3714[_0x47f4bb(0x286)](_0x3e30cd=>_0x3e30cd[_0x47f4bb(0x246)]());}[_0x1aa74c(0x1af)](){const _0x354bd7=_0x1aa74c;return _0x5d890e(this['_context'][_0x354bd7(0x215)],this['_context']);}};Le=$i([pe(0x1,_0x3dcc01(_0x4d150d)),pe(0x2,_0x3dcc01(H)),pe(0x3,_0x3dcc01(_0x5c1e3a))],Le);function ki(_0x39fd60){const _0x3a7666=_0x1aa74c,_0x4b2ec7=new Map();return _0x39fd60[_0x3a7666(0x286)](_0x47f8e2=>{const _0x20c7dc=_0x3a7666;if(_0x4b2ec7['has'](_0x47f8e2[_0x20c7dc(0x256)])){const _0x551dc1=_0x4b2ec7[_0x20c7dc(0x25e)](_0x47f8e2[_0x20c7dc(0x256)]);_0x551dc1[_0x20c7dc(0x108)]+=',\x20'+_0x47f8e2[_0x20c7dc(0x108)];}else _0x4b2ec7[_0x20c7dc(0x193)](_0x47f8e2[_0x20c7dc(0x256)],_0x47f8e2);}),Array[_0x3a7666(0x222)](_0x4b2ec7[_0x3a7666(0x196)]());}var I=function(){const _0x2815bf=_0x1aa74c;return I=Object[_0x2815bf(0x226)]||function(_0x19a49a){const _0x687821=_0x2815bf;for(var _0x23c152,_0x5c5058=0x1,_0x1a5e06=arguments[_0x687821(0x257)];_0x5c5058<_0x1a5e06;_0x5c5058++){_0x23c152=arguments[_0x5c5058];for(var _0x4f4e52 in _0x23c152)Object[_0x687821(0x20f)][_0x687821(0x1c3)][_0x687821(0x292)](_0x23c152,_0x4f4e52)&&(_0x19a49a[_0x4f4e52]=_0x23c152[_0x4f4e52]);}return _0x19a49a;},I[_0x2815bf(0x1d3)](this,arguments);},Bi=function(_0x49e902,_0x4a3b21){const _0x1cdbef=_0x1aa74c;var _0x5c256a={};for(var _0x445cca in _0x49e902)Object['prototype']['hasOwnProperty']['call'](_0x49e902,_0x445cca)&&_0x4a3b21[_0x1cdbef(0x27a)](_0x445cca)<0x0&&(_0x5c256a[_0x445cca]=_0x49e902[_0x445cca]);if(_0x49e902!=null&&typeof Object[_0x1cdbef(0x22b)]=='function'){for(var _0x177334=0x0,_0x445cca=Object[_0x1cdbef(0x22b)](_0x49e902);_0x177334<_0x445cca[_0x1cdbef(0x257)];_0x177334++)_0x4a3b21[_0x1cdbef(0x27a)](_0x445cca[_0x177334])<0x0&&Object[_0x1cdbef(0x20f)][_0x1cdbef(0x102)][_0x1cdbef(0x292)](_0x49e902,_0x445cca[_0x177334])&&(_0x5c256a[_0x445cca[_0x177334]]=_0x49e902[_0x445cca[_0x177334]]);}return _0x5c256a;},We=_0x4deec8(function(_0x2e0cd8,_0x2f6489){const _0xd2baf=_0x1aa74c;var _0x332e68=_0x2e0cd8[_0xd2baf(0x176)],_0x4cb8d9=_0x2e0cd8['id'],_0x3aafe5=_0x2e0cd8[_0xd2baf(0x1fd)],_0x3ccdc4=_0x2e0cd8[_0xd2baf(0x28d)],_0x2730c7=Bi(_0x2e0cd8,[_0xd2baf(0x176),'id','className',_0xd2baf(0x28d)]),_0x582365=_0xd2baf(0x12a)['concat'](_0x4cb8d9,'\x20')[_0xd2baf(0x19d)](_0x3aafe5||'')[_0xd2baf(0x206)](),_0x5c1efc=_0x3165ca('_'['concat'](Wi()));return Pt(_0x332e68,''[_0xd2baf(0x19d)](_0x4cb8d9),{'defIds':_0x332e68[_0xd2baf(0x1cb)],'idSuffix':_0x5c1efc[_0xd2baf(0x2bf)]},I({'ref':_0x2f6489,'className':_0x582365},_0x2730c7),_0x3ccdc4);});function Pt(_0x1467aa,_0x6aac2c,_0x2174a6,_0x249ff9,_0x4f37e8){const _0x59d0b0=_0x1aa74c;return _0x1c6db4(_0x1467aa['tag'],I(I({'key':_0x6aac2c},Hi(_0x1467aa,_0x2174a6,_0x4f37e8)),_0x249ff9),(ji(_0x1467aa,_0x2174a6)['children']||[])[_0x59d0b0(0x1ce)](function(_0x4327b5,_0x5ac5b0){const _0xd770ad=_0x59d0b0;return Pt(_0x4327b5,''['concat'](_0x6aac2c,'-')[_0xd770ad(0x19d)](_0x1467aa[_0xd770ad(0x283)],'-')[_0xd770ad(0x19d)](_0x5ac5b0),_0x2174a6,void 0x0,_0x4f37e8);}));}function Hi(_0x1ee909,_0x262da2,_0x52ad31){const _0x172a96=_0x1aa74c;var _0x48f465=I({},_0x1ee909[_0x172a96(0x254)]);_0x52ad31!=null&&_0x52ad31['colorChannel1']&&_0x48f465[_0x172a96(0x29c)]==='colorChannel1'&&(_0x48f465['fill']=_0x52ad31[_0x172a96(0x161)]);var _0x1e7114=_0x262da2[_0x172a96(0x1cb)];return!_0x1e7114||_0x1e7114[_0x172a96(0x257)]===0x0||(_0x1ee909[_0x172a96(0x283)]==='use'&&_0x48f465[_0x172a96(0xea)]&&(_0x48f465[_0x172a96(0xea)]=_0x48f465['xlink:href']+_0x262da2[_0x172a96(0x1c8)]),Object['entries'](_0x48f465)[_0x172a96(0x286)](function(_0x5c389d){const _0x378b8e=_0x172a96;var _0x16995c=_0x5c389d[0x0],_0x408433=_0x5c389d[0x1];typeof _0x408433==_0x378b8e(0x1fc)&&(_0x48f465[_0x16995c]=_0x408433[_0x378b8e(0x299)](/url\(#(.*)\)/,_0x378b8e(0x11d)[_0x378b8e(0x19d)](_0x262da2[_0x378b8e(0x1c8)],')')));})),_0x48f465;}function ji(_0xc1b89d,_0x2836c2){const _0x3a7867=_0x1aa74c;var _0x5e4df4,_0x56c912=_0x2836c2[_0x3a7867(0x1cb)];return!_0x56c912||_0x56c912['length']===0x0?_0xc1b89d:_0xc1b89d['tag']==='defs'&&(!((_0x5e4df4=_0xc1b89d[_0x3a7867(0x26f)])===null||_0x5e4df4===void 0x0)&&_0x5e4df4['length'])?I(I({},_0xc1b89d),{'children':_0xc1b89d[_0x3a7867(0x26f)]['map'](function(_0x20b6c9){const _0x454e13=_0x3a7867;return typeof _0x20b6c9[_0x454e13(0x254)]['id']==_0x454e13(0x1fc)&&_0x56c912&&_0x56c912['indexOf'](_0x20b6c9['attrs']['id'])>-0x1?I(I({},_0x20b6c9),{'attrs':I(I({},_0x20b6c9['attrs']),{'id':_0x20b6c9['attrs']['id']+_0x2836c2[_0x454e13(0x1c8)]})}):_0x20b6c9;})}):_0xc1b89d;}function Wi(){const _0xfc856d=_0x1aa74c;return Math[_0xfc856d(0x160)]()[_0xfc856d(0x272)](0x24)[_0xfc856d(0x1e9)](0x2,0x8);}We[_0x1aa74c(0x202)]=_0x1aa74c(0x22a);var Fi={'tag':_0x1aa74c(0x189),'attrs':{'fill':_0x1aa74c(0x1d8),'viewBox':_0x1aa74c(0x203),'width':'1em','height':_0x1aa74c(0x14b)},'children':[{'tag':'g','attrs':{'clipPath':_0x1aa74c(0x204)},'children':[{'tag':'path','attrs':{'stroke':_0x1aa74c(0x168),'d':_0x1aa74c(0x1c1),'strokeLinecap':_0x1aa74c(0x285),'strokeLinejoin':_0x1aa74c(0x285),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1aa74c(0x28f)},'children':[{'tag':'path','attrs':{'fill':_0x1aa74c(0x134),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x4deec8(function(_0x5ef031,_0x1ffb18){const _0xcea779=_0x1aa74c;return _0x1c6db4(We,Object[_0xcea779(0x226)]({},_0x5ef031,{'id':_0xcea779(0x2c3),'ref':_0x1ffb18,'icon':Fi}));});Mt[_0x1aa74c(0x202)]='OffLineSingle';var Yi={'tag':'svg','attrs':{'fill':_0x1aa74c(0x1d8),'viewBox':_0x1aa74c(0x16a),'width':_0x1aa74c(0x14b),'height':_0x1aa74c(0x14b)},'children':[{'tag':'g','attrs':{'clipPath':_0x1aa74c(0x20b)},'children':[{'tag':_0x1aa74c(0x23d),'attrs':{'stroke':'currentColor','d':_0x1aa74c(0x1aa),'strokeLinecap':_0x1aa74c(0x285),'strokeLinejoin':_0x1aa74c(0x285),'strokeWidth':1.2}}]},{'tag':_0x1aa74c(0x155),'attrs':{},'children':[{'tag':_0x1aa74c(0x26e),'attrs':{'id':_0x1aa74c(0x144)},'children':[{'tag':_0x1aa74c(0x23d),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x1aa74c(0x211)}}]}]}],'defIds':[_0x1aa74c(0x144)]},Nt=_0x4deec8(function(_0x2f6199,_0x5c2f8a){const _0x5ef13a=_0x1aa74c;return _0x1c6db4(We,Object[_0x5ef13a(0x226)]({},_0x2f6199,{'id':'on-line-single','ref':_0x5c2f8a,'icon':Yi}));});Nt[_0x1aa74c(0x202)]='OnLineSingle';function wt(_0x6848b0){const _0x232633=_0x1aa74c;var _0x1c1a0c,_0x32c976,_0x144874='';if(typeof _0x6848b0==_0x232633(0x1fc)||typeof _0x6848b0=='number')_0x144874+=_0x6848b0;else{if(typeof _0x6848b0==_0x232633(0x182)){if(Array[_0x232633(0x2b4)](_0x6848b0)){var _0x2d38df=_0x6848b0[_0x232633(0x257)];for(_0x1c1a0c=0x0;_0x1c1a0c<_0x2d38df;_0x1c1a0c++)_0x6848b0[_0x1c1a0c]&&(_0x32c976=wt(_0x6848b0[_0x1c1a0c]))&&(_0x144874&&(_0x144874+='\x20'),_0x144874+=_0x32c976);}else{for(_0x32c976 in _0x6848b0)_0x6848b0[_0x32c976]&&(_0x144874&&(_0x144874+='\x20'),_0x144874+=_0x32c976);}}}return _0x144874;}function tt(){const _0x172b70=_0x1aa74c;for(var _0x435242,_0x191970,_0x31e02c=0x0,_0x13c606='',_0x3b82eb=arguments[_0x172b70(0x257)];_0x31e02c<_0x3b82eb;_0x31e02c++)(_0x435242=arguments[_0x31e02c])&&(_0x191970=wt(_0x435242))&&(_0x13c606&&(_0x13c606+='\x20'),_0x13c606+=_0x191970);return _0x13c606;}const Xi=_0x1aa74c(0xf3),Vi=_0x1aa74c(0x1a9),Gi=_0x1aa74c(0x178),Ki=_0x1aa74c(0x1cc),zi=_0x1aa74c(0x21b),G={'onlineStatusIcon':Xi,'onlineStatusTitle':Vi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x5c11e6){const _0x3dc8ea=_0x1aa74c;switch(_0x5c11e6){case _0x5bfc4a[_0x3dc8ea(0x1b5)]:return _0x3dc8ea(0x10f);case _0x5bfc4a[_0x3dc8ea(0x151)]:return _0x3dc8ea(0x23c);case _0x5bfc4a[_0x3dc8ea(0x15f)]:return _0x3dc8ea(0x19e);case _0x5bfc4a['NOT_COLLAB']:return _0x3dc8ea(0x175);case _0x5bfc4a[_0x3dc8ea(0x1ad)]:case _0x5bfc4a[_0x3dc8ea(0x21e)]:return _0x3dc8ea(0x1a2);case _0x5bfc4a['SYNCED']:case _0x5bfc4a[_0x3dc8ea(0x1b9)]:return'collabStatus.synced';}}function Zi(_0x5cd09e){const _0x296bbb=_0x1aa74c,{status$:_0x4e51df}=_0x5cd09e,_0x207667=_0x376fa0(_0x4e51df,_0x5bfc4a[_0x296bbb(0x1a3)]),_0x2b3fe3=_0x4389fd(_0x43d1f6),_0x3696f4=_0x4389fd(_0x55360f),_0x4e9045=_0x207667!==_0x5bfc4a['OFFLINE'],_0x5dd76a=_0x2b3fe3['t'](Ji(_0x207667)),_0x31cdb2=tt(G[_0x296bbb(0x281)],{[G['online']]:_0x4e9045,[G[_0x296bbb(0x1d5)]]:!_0x4e9045}),_0x2500fe=_0x4e9045?_0x31aba8(Nt,{}):_0x31aba8(Mt,{}),_0x210871=_0x2d6390(()=>{const _0x5e0dfa=_0x296bbb;_0x4e9045||_0x3696f4[_0x5e0dfa(0x11a)]();},[_0x4e9045,_0x3696f4]);function _0x4b4bff(){const _0x504368=_0x296bbb;return _0x5294ec(_0x504368(0x20c),{'className':tt(_0x31cdb2,_0x504368(0xdc)),'onClick':_0x210871,'children':[_0x31aba8(_0x504368(0x20c),{'className':G[_0x504368(0x19b)],'children':_0x2500fe}),_0x31aba8(_0x504368(0x20c),{'className':G['onlineStatusTitle'],'children':_0x5dd76a})]});}return _0x4e9045?_0x4b4bff():_0x31aba8(_0x3dde65,{'title':_0x2b3fe3['t'](_0x296bbb(0x2a2)),'children':_0x4b4bff()});}var qi=Object[_0x1aa74c(0x25b)],Qi=(_0x297ebf,_0x53a919,_0x4e3657,_0x100864)=>{const _0xec3b65=_0x1aa74c;for(var _0x26acb0=_0x100864>0x1?void 0x0:_0x100864?qi(_0x53a919,_0x4e3657):_0x53a919,_0x1fb2b2=_0x297ebf[_0xec3b65(0x257)]-0x1,_0x1c572a;_0x1fb2b2>=0x0;_0x1fb2b2--)(_0x1c572a=_0x297ebf[_0x1fb2b2])&&(_0x26acb0=_0x1c572a(_0x26acb0)||_0x26acb0);return _0x26acb0;},Q=(_0x1c210f,_0x4bcece)=>(_0x5b299b,_0x5f488d)=>_0x4bcece(_0x5b299b,_0x5f488d,_0x1c210f);function _0x1081(){const _0x318034=['urlChange$','univer-offline','engine','collaboration.closeRoom','AWAITING_WITH_PENDING','addObject','_refRangeService','getSheetBySheetId','from','_heartbeatTimer','_handleHover','getStateCache','assign','getMergeData','_sheetSkeletonManagerService','_anchorDot','UniverIcon','getOwnPropertySymbols','_startDocCollabCursor','has','_onCursorDelete','registerRefRange','_render','[CollaborationDataLoaderController]','uni.network.url-service','PERMISSION_DENIED','INVALID_ARGUMENT','APPLY_REVISION_CONFILICT','_configService','cursorInfo','InsertRangeMoveDownCommandId','bottom','_handleLeaveEvent','getValue','collabStatus.conflict','path','transformMutationsWithChangeset','fillText','post','sessionTicket','_themeService','_removeClearOtherTimer','delete','height','dispose','parse','_docSkeleton','entityInit$','getAncestorScale','getCollabEntity$','black','getTypeOfUnitDisposed$','history','send','permission.title','ALREADY_EXISTS','min','_drawTextRange','attrs','_cursorInfo$','selection','length','_unitStatus','red300','_disabled','getOwnPropertyDescriptor','purple300','_cursorShapes','get','dispose$','_scene','_transformHistoryAndStateStack','_id','complete','mutations','_docClipboardService','textRanges','event$','SNAPSHOT_HAS_BEEN_REMOVED','COMPLETION_FINISHED','_initDependencies','_localCacheService','_roomMembers$','setShapeProps','clipPath','children','doc.mutation.rich-text-editing','_draw','toString','_removeCollabCursors','_initStatusListener','hide','with','_imageIoService','_updateSubUnitFromURLParams','find','indexOf','UNDEFINED','disposeWithMe','APPLY_DUPLICATED','getSheetId','error','registerComponent','onlineStatus','focused$','tag','session.will-retry','round','forEach','_saveCache','unsubscribe','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','saveImage','onPointerMove$','text','extend','3608136ZauTzl','off-line-single_clip0_910_343','measureText','exhaustSavingTask','call','editingUnit','cursorInfo$','_getScale','unload','_textBubble','collabCursorState$','replace','collab-rect-range-','whenReady','fill','onPointerEnter$','_doCreateSocket','startsWith','getConfig','YUUMI_RATE_OVER_LIMIT','collab-client.tooltip.reconnect','clearInterval','_docTransformIMECacheService','_createSocketURL','getUnitId','href','_initEvent','code','_send','_localeService','_entities','_entityInit$','_colorIndex','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sheetID','selections','_logService','roomMembers$','isArray','_saveTaskMap','fillStyle','flatMap','FromArray','getUniverSheetInstance','ticket','_docSyncEditingCollabCursorService','_instanceService','add','lineTo','current','INTERNAL_ERROR','eventID','collaboration-client.offline-data-not-saved','off-line-single','requireSession','rgba(255,\x20255,\x20255,\x200.01)','onLocalMutation','then','univer-flex\x20univer-items-center','searchParams','getItem','runOnServer','_selfUnitIDs','_cursor','438200XVLBPA','pipe','LICENSE_EXPORT_SIZE_EXCEEDED','fillRule','result','show','push','unitID','xlink:href','roomMembers','_scheduleHeartbeat','save','range','onMouseMove','restore','3635254pSFpnt','YUUMI_URL_COL_OUT_OF_RANGE','univer-online-status-icon','_uiPartsService','getActiveSheet','session.connection-failed','pushState','APPLY_NON_SEQUENTIAL_REVISION','_online','onRendered','_getSessionTicket','ranges','redoState','body','UPDATE_CURSOR','_docStateChangeManagerService','Error','propertyIsEnumerable','PY_RUNTIME_SCRIPT_ERROR','loadOfflineData','_hideTimer','_injector','createSocket','name','type','_session','setAlpha','setTimeout','HEADER_MENU','addHandlerCallback','collabStatus.offline','_eventUnsubscribe','UNIVER_SHEET','sessionStatus$','clearTimeout','generateRandomId','_config','arc','APPLY_REJECT','_toggleOnline','_lastPointer','reconnect','_initResize','runId','url(#$1','RECT','_init','_renderManagerService','SUBMIT_CHANGESET_TIMEOUT','_handleEvent','_color','setParam','search','source','_updateURLWithCurrentState','_drawRectRange','includes','univerjs-icon\x20univerjs-icon-','YUUMI_SUBSCRIPTION_NOT_FOUND','InsertRangeMoveRightCommandId','getRenderById','_context','_scheduleClearOtherTimer','labelPosition','getParam','Warning','...','#fff','activeSheet$','_getAnchorBounding','NO_OTHER_CLIENTS_EDITING','_transformUndoRedoStack','verdancy600','some','init','setStateCache','VIEW_MAIN','executionId','_memberService','_status$','makeDirty','_range','_setupBeforeClosingHandler','on-line-single_clip0_910_349','_docTransformStateCacheService','symbol','_initCommandExecutedListener','_ensureSubject','_docSkeletonManagerService','moveTo','1em','getMemberID','UNRECOGNIZED','isActive','startRow','data','CONFLICT','_unitOnClients','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','OTHER_CLIENT_EDITING','defs','getRangePointData','transformByState','MoveRangeCommandId','blue400','_refreshCollabCursors','_name','JOIN_ROOM_FAILED','_clearOtherTimers','CHANGESET_REVISION_CONFILICT','FETCH_MISS','random','colorChannel1','registerRenderModule','subUnitId','Failed','_notificationService','stringify','column','currentColor','unitId','0\x200\x2017\x2016','_collabCursorState$','transformRemoteChangeset','_messageService','_cursors','RemoveColCommandId','RemoveRowCommandId','syncEditingCollabCursor','sheetId','createInstance','transformStateCache','collabStatus.notCollab','icon','triggerDblclick','univer-online-status','_univerInstanceService','assignAColorForMemberID','_shapes','_anchor','LICENSE_DISTRO_REJECTED','_onRefRangeChange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_collabCursorController','_getMergeRange','object','invokeId','_registerDependencies','3659370nyXSxj','_initEntityListener','getViewport','collab-text-range-','svg','newValue','SOCKET_FAILED_RETRY','_urlService','getTypeOfUnitAdded$','getDocRanges','406xGVbBe','TOO_MANY_REQUESTS','undoState','params','set','_handleJoinEvent','_setupSubUnitSync','values','location','_syncEditingCollabCursorService','getVpScrollXYInfoByPosToVp','size','onlineStatusIcon','_toggleOffline','concat','collabStatus.fetchMiss','_collaborationUIEventService','_initStatusComponent','_collaborationController','collabStatus.syncing','NOT_COLLAB','_localStorageService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','popstate','subscribe','getUnitStatus$','univer-online-status-title','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','setUndoRedoMutationParamsCache','setInterval','AWAITING','onCommandExecuted','_getSheetObject','unshift','drawWith','transformIMECache','findNodePositionByCharIndex','_httpService','OFFLINE','pluginName','_cachedData','TEXT','PENDING','executeCommand','setItem','memberID','currentTheme$','_backgroundColor','hovered','UNAUTHENTICATED','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','transformSelections','hasOwnProperty','LICENSE_MAX_UNITS_EXCEEDED','split','registerBeforeClose','deepClone','idSuffix','_dataLoaderService','_assignedColors','defIds','univer-online','_commandService','map','CONNECTOR_DATA_TOO_LARGE','_beforeCloseService','_drawAnchor','_labelPosition','apply','_updateLocalCursor','offline','_getSaveTimeout','addClipboardHook','none','m1Prime','storage','subscribeEvent','ONLINE','_handleHeartbeatEvent','_onCursorUpdate','wsSessionTicketUrl','DeleteRangeMoveUpCommandId','YUUMI_UNABLE_LOAD_URL','session.collaboration-timeout','row','closePath','ENSURE_SNAPSHOT_EXECUTION','UNIVER_DOC','_colorAssignService','_hovered','substring','_registerRenderDependencies','getOffsetConfig','width','asObservable','USERS_LEAVE','onPointerLeave$','6645OFxCZp','endColumn','getCollabCursors$','collaboration-client-ui.config','getSkeleton','debug','top','m2Prime','subunit','transformMutation','12016248BwXXkx','transform','string','className','287022DlRqsH','toRgbString','next','_transformService','displayName','0\x200\x2016\x2016','url(#off-line-single_clip0_910_343)','InsertRowCommandId','trim','getFocusedUnit','_revisionService','_docTransformSelectionsService','getUndoRedoMutationParamsCache','url(#on-line-single_clip0_910_349)','div','SNAPSHOT_INVALID_SNAPSHOT','key','prototype','OTHER_CLIENTS_EDITING','translate(.97)','APPLY_PERMISSION_DENIED','_hover','DeleteRangeMoveLeftCommandId','unit','saveOfflineData','_updateCollabCursors','currentSkeleton$','color'];_0x1081=function(){return _0x318034;};return _0x1081();}let se=class extends _0x5e7481{constructor(_0x926f89,_0x1b2214,_0x25eaff,_0x121ea9){const _0x3c8bcf=_0x1aa74c;super(),h(this,_0x3c8bcf(0x140),new _0x29fde6(_0x5bfc4a['NOT_COLLAB'])),(this[_0x3c8bcf(0x179)]=_0x926f89,this[_0x3c8bcf(0x106)]=_0x1b2214,this[_0x3c8bcf(0x1a1)]=_0x25eaff,this[_0x3c8bcf(0xf4)]=_0x121ea9,this[_0x3c8bcf(0x1a0)](),this[_0x3c8bcf(0x274)]());}[_0x1aa74c(0x274)](){const _0x3620ac=_0x1aa74c;this[_0x3620ac(0x27c)](this[_0x3620ac(0x179)][_0x3620ac(0x282)][_0x3620ac(0xe3)](_0x47854f(()=>{const _0x263faa=_0x3620ac,_0xbbbb58=this[_0x263faa(0x179)]['getFocusedUnit']();return _0xbbbb58?this['_collaborationController'][_0x263faa(0x24b)](_0xbbbb58['getUnitId']()):_0x493c70(null);}),_0x47854f(_0x928cce=>_0x928cce?_0x928cce['status$']:_0x493c70(_0x5bfc4a['NOT_COLLAB'])))['subscribe'](_0x38b61d=>{const _0x11065c=_0x3620ac;this[_0x11065c(0x140)][_0x11065c(0x200)](_0x38b61d);}));}['_initStatusComponent'](){const _0x1e75a8=_0x1aa74c;this[_0x1e75a8(0x27c)](this[_0x1e75a8(0xf4)][_0x1e75a8(0x280)](_0x2a2fc1[_0x1e75a8(0x10d)],()=>_0x58dad2(en({'status$':this[_0x1e75a8(0x140)][_0x1e75a8(0x1ed)]()}),this[_0x1e75a8(0x106)])));}};se=Qi([Q(0x0,_0x7409ad),Q(0x1,_0x3dcc01(_0x51f854)),Q(0x2,_0x3dcc01(_0x1c1b1c)),Q(0x3,_0x8da93b)],se);function en(_0x2f5bac){const {status$:_0x40184b}=_0x2f5bac;return function(){return _0x31aba8(Zi,{'status$':_0x40184b});};}var tn=Object[_0x1aa74c(0x25b)],sn=(_0x354ef2,_0x4c50e9,_0x395e8a,_0x1f4ed8)=>{const _0x4c627c=_0x1aa74c;for(var _0xb5b48a=_0x1f4ed8>0x1?void 0x0:_0x1f4ed8?tn(_0x4c50e9,_0x395e8a):_0x4c50e9,_0x15d296=_0x354ef2[_0x4c627c(0x257)]-0x1,_0xfdc1aa;_0x15d296>=0x0;_0x15d296--)(_0xfdc1aa=_0x354ef2[_0x15d296])&&(_0xb5b48a=_0xfdc1aa(_0xb5b48a)||_0xb5b48a);return _0xb5b48a;},k=(_0x1f4f7b,_0x484760)=>(_0x3c1c3a,_0x29c5f7)=>_0x484760(_0x3c1c3a,_0x29c5f7,_0x1f4f7b);let ie=class extends _0x5e7481{constructor(_0x3dda9d,_0xe647f8,_0x92a7ba,_0x2c01d1,_0x53f39b,_0x532395){const _0x1a10c6=_0x1aa74c;super(),this['_beforeCloseService']=_0x3dda9d,this[_0x1a10c6(0x26b)]=_0xe647f8,this['_collaborationUIEventService']=_0x92a7ba,this[_0x1a10c6(0x16d)]=_0x2c01d1,this['_notificationService']=_0x53f39b,this[_0x1a10c6(0x2ab)]=_0x532395,this[_0x1a10c6(0x143)](),this[_0x1a10c6(0x2a8)]();}[_0x1aa74c(0x143)](){const _0x5249da=_0x1aa74c;this[_0x5249da(0x27c)](this[_0x5249da(0x1d0)][_0x5249da(0x1c6)](()=>{const _0x4c7ac1=_0x5249da;if(this['_localCacheService']['saveTaskMap'][_0x4c7ac1(0x19a)])return this[_0x4c7ac1(0x2ab)]['t'](_0x4c7ac1(0x2c2));}));}['_initEvent'](){const _0x24a415=_0x1aa74c;this['disposeWithMe'](this[_0x24a415(0x19f)][_0x24a415(0x267)][_0x24a415(0x1a7)](_0x3ab8f3=>{const _0xec8dda=_0x24a415;_0x3ab8f3['id']===_0x5aeadb[_0xec8dda(0x154)]&&this[_0xec8dda(0x16d)][_0xec8dda(0xe7)]({'type':_0x3feae8[_0xec8dda(0x132)],'content':this[_0xec8dda(0x2ab)]['t']('collaboration.single-unit.warning')}),_0x3ab8f3['id']===_0x5aeadb['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x3feae8[_0xec8dda(0x132)],'content':this[_0xec8dda(0x2ab)]['t'](_0xec8dda(0x21d))}),_0x3ab8f3['id']===_0x5aeadb[_0xec8dda(0x233)]&&this[_0xec8dda(0x165)][_0xec8dda(0xe7)]({'title':this['_localeService']['t'](_0xec8dda(0x250)),'content':this[_0xec8dda(0x2ab)]['t']('permission.content'),'type':_0xec8dda(0x27f),'duration':0x0}),_0x3ab8f3['id']===_0x5aeadb[_0xec8dda(0x151)]&&this['_messageService'][_0xec8dda(0xe7)]({'type':_0x3feae8['Error'],'content':this[_0xec8dda(0x2ab)]['t']('collaboration.closeRoom')+'('+_0x3ab8f3[_0xec8dda(0x150)]+')'}),_0x3ab8f3['id']===_0x5aeadb[_0xec8dda(0x15c)]&&this[_0xec8dda(0x16d)][_0xec8dda(0xe7)]({'type':_0x3feae8[_0xec8dda(0x132)],'content':this[_0xec8dda(0x2ab)]['t'](_0x3ab8f3[_0xec8dda(0x150)]||'')}),_0x3ab8f3['id']===_0x5aeadb[_0xec8dda(0x18b)]&&this['_messageService'][_0xec8dda(0xe7)]({'type':_0x3feae8[_0xec8dda(0x132)],'content':this[_0xec8dda(0x2ab)]['t'](_0xec8dda(0x284))}),_0x3ab8f3['id']===_0x5aeadb['SOCKET_FAILED']&&this[_0xec8dda(0x16d)]['show']({'type':_0x3feae8['Error'],'content':this[_0xec8dda(0x2ab)]['t'](_0xec8dda(0xf6))}),_0x3ab8f3['id']===_0x5aeadb[_0xec8dda(0x121)]&&this['_messageService'][_0xec8dda(0xe7)]({'type':_0x3feae8[_0xec8dda(0x101)],'content':this[_0xec8dda(0x2ab)]['t'](_0xec8dda(0x1e2))});}));}};ie=sn([k(0x0,_0x126ced),k(0x1,_0x4fc379),k(0x2,_0x3dcc01(_0x38e3d0)),k(0x3,_0x5f3f9f),k(0x4,_0x53ae66),k(0x5,_0x3dcc01(_0x43d1f6))],ie);const nn=_0x1aa74c(0x1f3),st={},Ut=_0xfbb812(_0x1aa74c(0x232));var rn=Object['getOwnPropertyDescriptor'],on=(_0x5d4e66,_0x11a221,_0x3dec09,_0x230cc7)=>{for(var _0x330adf=_0x230cc7>0x1?void 0x0:_0x230cc7?rn(_0x11a221,_0x3dec09):_0x11a221,_0x3168dd=_0x5d4e66['length']-0x1,_0x9e776c;_0x3168dd>=0x0;_0x3168dd--)(_0x9e776c=_0x5d4e66[_0x3168dd])&&(_0x330adf=_0x9e776c(_0x330adf)||_0x330adf);return _0x330adf;},K=(_0x4ff5f0,_0x595a23)=>(_0x1bda09,_0x5d91eb)=>_0x595a23(_0x1bda09,_0x5d91eb,_0x4ff5f0);let ne=class extends _0x2a190b{constructor(_0x32b357,_0x309222,_0x25e61d,_0x59f4ad,_0x42df51){const _0x227053=_0x1aa74c;super(),this['_urlService']=_0x32b357,this[_0x227053(0x2b2)]=_0x309222,this[_0x227053(0x1cd)]=_0x25e61d,this[_0x227053(0x1c9)]=_0x59f4ad,_0x42df51?_0x42df51==null||_0x42df51[_0x227053(0x29b)]()[_0x227053(0xdb)](()=>this[_0x227053(0x11f)]()):(this[_0x227053(0x2b2)]['debug'](_0x227053(0x231),_0x227053(0x153)),this[_0x227053(0x11f)]());}async[_0x1aa74c(0x11f)](){const _0x10b3cd=_0x1aa74c,_0x55026c=this[_0x10b3cd(0x18c)]['getParam'](_0x10b3cd(0x215)),_0xa09296=this[_0x10b3cd(0x18c)]['getParam'](_0x10b3cd(0x109)),_0x46d909=this[_0x10b3cd(0x18c)][_0x10b3cd(0x131)](_0x10b3cd(0x1f8));if(!_0x55026c||!_0xa09296){this['_logService'][_0x10b3cd(0x1f5)](_0x10b3cd(0x231),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x338cb2=await this[_0x10b3cd(0x1c9)]['loadUnit'](_0x55026c,Number(_0xa09296),_0x46d909);_0x338cb2&&_0x338cb2 instanceof _0x51c948&&this[_0x10b3cd(0x195)](_0x338cb2);}async[_0x1aa74c(0x195)](_0x350b59){const _0x1fa91a=_0x1aa74c;await this['_updateSubUnitFromURLParams'](_0x350b59),_0x350b59[_0x1fa91a(0x135)][_0x1fa91a(0xe3)](_0x304798(this['dispose$']))[_0x1fa91a(0x1a7)](_0x20e826=>{const _0x50b875=_0x1fa91a;_0x20e826&&this[_0x50b875(0x127)](_0x20e826);}),this[_0x1fa91a(0x18c)][_0x1fa91a(0x21a)][_0x1fa91a(0xe3)](_0x304798(this[_0x1fa91a(0x25f)]))[_0x1fa91a(0x1a7)](()=>this[_0x1fa91a(0x278)](_0x350b59));}[_0x1aa74c(0x127)](_0x224761,_0x1bf66b=!0x1){const _0x883e50=_0x1aa74c,_0x26d9ad=this['_urlService'][_0x883e50(0x131)]('subunit');_0x224761['getSheetId']()!==_0x26d9ad&&this[_0x883e50(0x18c)][_0x883e50(0x124)]('subunit',_0x224761['getSheetId'](),_0x1bf66b);}async[_0x1aa74c(0x278)](_0x3e8562){const _0x1865b2=_0x1aa74c;var _0x44c67c;const _0x1dc92d=this['_urlService'][_0x1865b2(0x131)]('subunit');if(!_0x1dc92d||!_0x3e8562[_0x1865b2(0x221)](_0x1dc92d)){const _0x2fb153=_0x3e8562['getUnhiddenWorksheets']()[0x0],_0x386e0c=_0x3e8562[_0x1865b2(0x221)](_0x2fb153);if(!_0x386e0c)return;this[_0x1865b2(0x127)](_0x386e0c,!0x0),await this[_0x1865b2(0x1cd)][_0x1865b2(0x1ba)](_0x8774fa['id'],{'unitId':_0x3e8562[_0x1865b2(0x2a6)](),'subUnitId':_0x2fb153});return;}((_0x44c67c=_0x3e8562[_0x1865b2(0xf5)]())==null?void 0x0:_0x44c67c['getSheetId']())!==_0x1dc92d&&await this[_0x1865b2(0x1cd)][_0x1865b2(0x1ba)](_0x8774fa['id'],{'unitId':_0x3e8562['getUnitId'](),'subUnitId':_0x1dc92d});}};ne=on([K(0x0,Ut),K(0x1,_0x4ee1f6),K(0x2,_0x2d892b),K(0x3,_0x3dcc01(_0x2bf39b)),K(0x4,_0x100e48(_0x3f658e))],ne);var an=Object[_0x1aa74c(0x25b)],cn=(_0x252ad2,_0x4c48f6,_0x3e5b46,_0x1a8006)=>{const _0x2d3e1b=_0x1aa74c;for(var _0x34d5e5=_0x1a8006>0x1?void 0x0:_0x1a8006?an(_0x4c48f6,_0x3e5b46):_0x4c48f6,_0x1afb3b=_0x252ad2[_0x2d3e1b(0x257)]-0x1,_0x51898f;_0x1afb3b>=0x0;_0x1afb3b--)(_0x51898f=_0x252ad2[_0x1afb3b])&&(_0x34d5e5=_0x51898f(_0x34d5e5)||_0x34d5e5);return _0x34d5e5;},Ce=(_0x4f744e,_0x3048a5)=>(_0x318a47,_0x4ed9c3)=>_0x3048a5(_0x318a47,_0x4ed9c3,_0x4f744e);let re=class{constructor(_0x5ee1e8,_0x1c1902,_0x51288d){const _0xbb2eb2=_0x1aa74c;this[_0xbb2eb2(0x106)]=_0x5ee1e8,this[_0xbb2eb2(0x201)]=_0x1c1902,this[_0xbb2eb2(0x120)]=_0x51288d;}[_0x1aa74c(0x1b2)](_0x27b7fd){const _0xc522d7=_0x1aa74c;this[_0xc522d7(0x138)](_0x27b7fd),this['_transformPreviousActiveRange'](_0x27b7fd);}['transformRemoteChangeset'](_0x2efee8){const _0x464c07=_0x1aa74c,{unitID:_0xe2f528}=_0x2efee8,_0xcffe6b=this[_0x464c07(0x120)][_0x464c07(0x12d)](_0xe2f528)[_0x464c07(0x276)](_0x5e8cd7),{redoCache:_0x4e6d5d}=_0xcffe6b[_0x464c07(0x20a)]();if(_0x4e6d5d[_0x464c07(0x257)]===0x0)return _0x2efee8;let _0x5c1ffb=_0x1f374b[_0x464c07(0x1c7)](_0x2efee8[_0x464c07(0x264)][0x0]);for(let _0x41ac65=0x0;_0x41ac65<_0x4e6d5d[_0x464c07(0x257)];_0x41ac65++){const _0x451e92={'id':_0x464c07(0x270),'params':{..._0x4e6d5d[_0x41ac65]}},_0xb4bee5=this[_0x464c07(0x201)][_0x464c07(0x1f9)](_0x5c1ffb,_0x451e92,!0x1);if(_0x24c0cc(_0xb4bee5))throw _0xb4bee5['error'];_0x5c1ffb=_0xb4bee5[_0x464c07(0x1d9)];}return{..._0x1f374b['deepClone'](_0x2efee8),'mutations':[_0x5c1ffb]};}[_0x1aa74c(0x138)](_0x5d5642){const _0x4a4bbd=_0x1aa74c,{unitID:_0x5bbc02}=_0x5d5642,_0x1c7279=this[_0x4a4bbd(0x120)]['getRenderById'](_0x5bbc02)[_0x4a4bbd(0x276)](_0x5e8cd7),{undoCache:_0x472a65,redoCache:_0x3ccf24}=_0x1c7279[_0x4a4bbd(0x20a)]();if(_0x472a65[_0x4a4bbd(0x257)]===0x0||_0x3ccf24[_0x4a4bbd(0x257)]===0x0)return;const _0x10a83e=[],_0x11d7d5=[];let _0x1cfd27=_0x1f374b[_0x4a4bbd(0x1c7)](_0x5d5642[_0x4a4bbd(0x264)][0x0]),_0x5b1d6c=_0x1f374b[_0x4a4bbd(0x1c7)](_0x5d5642[_0x4a4bbd(0x264)][0x0]);for(let _0xd66299=_0x472a65[_0x4a4bbd(0x257)]-0x1;_0xd66299>=0x0;_0xd66299--){const _0x310a07={'id':_0x4a4bbd(0x270),'params':{..._0x472a65[_0xd66299]}},_0xba96ea={'id':_0x4a4bbd(0x270),'params':{..._0x3ccf24[_0xd66299]}},_0x3e6ac4=this[_0x4a4bbd(0x201)][_0x4a4bbd(0x1f9)](_0x1cfd27,_0x310a07,!0x1),_0x4541d5=this[_0x4a4bbd(0x201)][_0x4a4bbd(0x1f9)](_0x5b1d6c,_0xba96ea,!0x1);if(_0x24c0cc(_0x3e6ac4))throw _0x3e6ac4[_0x4a4bbd(0x27f)];if(_0x24c0cc(_0x4541d5))throw _0x4541d5[_0x4a4bbd(0x27f)];_0x10a83e[_0x4a4bbd(0x1b0)](_0x3e6ac4[_0x4a4bbd(0x1f7)][_0x4a4bbd(0x192)]),_0x11d7d5['unshift'](_0x4541d5['m2Prime'][_0x4a4bbd(0x192)]),_0x1cfd27=_0x3e6ac4[_0x4a4bbd(0x1d9)],_0x5b1d6c=_0x4541d5[_0x4a4bbd(0x1d9)];}_0x1c7279[_0x4a4bbd(0x1ab)]({'undoCache':_0x10a83e,'redoCache':_0x11d7d5});}['_transformPreviousActiveRange'](_0x381e22){const _0x45f477=_0x1aa74c,{unitID:_0x31c485}=_0x381e22,_0x2a443b=this['_renderManagerService'][_0x45f477(0x12d)](_0x31c485)[_0x45f477(0x276)](_0x5e8cd7),_0x1d8737=_0x2a443b['getActiveRange']();if(_0x1d8737==null)return;const _0x1b9dff=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x381e22[_0x45f477(0xe9)],'actions':null,'textRanges':[_0x1d8737]}}],_0x374662=this[_0x45f477(0x201)][_0x45f477(0x23e)](_0x381e22,_0x1b9dff);if(!_0x2de7a7(_0x374662))throw _0x374662[_0x45f477(0x27f)];const _0xe82360=_0x374662[_0x45f477(0x1f7)][0x0][_0x45f477(0x192)]['textRanges'];Array['isArray'](_0xe82360)&&_0xe82360[_0x45f477(0x257)]&&_0x2a443b['setActiveRange'](_0xe82360[0x0]);}};re=cn([Ce(0x0,_0x3dcc01(_0x51f854)),Ce(0x1,_0x76057e),Ce(0x2,_0x2b6711)],re);var ln=Object[_0x1aa74c(0x25b)],hn=(_0x3f9746,_0x36d0a6,_0x3be537,_0x3cd002)=>{const _0x6f09f6=_0x1aa74c;for(var _0x4b08cc=_0x3cd002>0x1?void 0x0:_0x3cd002?ln(_0x36d0a6,_0x3be537):_0x36d0a6,_0x46bbf4=_0x3f9746[_0x6f09f6(0x257)]-0x1,_0x351b37;_0x46bbf4>=0x0;_0x46bbf4--)(_0x351b37=_0x3f9746[_0x46bbf4])&&(_0x4b08cc=_0x351b37(_0x4b08cc)||_0x4b08cc);return _0x4b08cc;},be=(_0x3ba982,_0x156f4f)=>(_0x15dc95,_0x4553c6)=>_0x156f4f(_0x15dc95,_0x4553c6,_0x3ba982);let oe=class{constructor(_0x4419ff,_0x45fa92,_0x496e9c){const _0x2f8176=_0x1aa74c;this[_0x2f8176(0x106)]=_0x4419ff,this[_0x2f8176(0x201)]=_0x45fa92,this[_0x2f8176(0x100)]=_0x496e9c;}[_0x1aa74c(0x174)](_0x5230c5){const _0x41b8af=_0x1aa74c;this[_0x41b8af(0x261)](_0x5230c5);}['transformRemoteChangeset'](_0x104cd2){const _0x5a203a=_0x1aa74c,{unitID:_0x204d8f}=_0x104cd2,{collaboration:_0x45c3c9}=this['_docStateChangeManagerService'][_0x5a203a(0x225)](_0x204d8f);if(_0x45c3c9[_0x5a203a(0x257)]===0x0)return _0x104cd2;let _0x566c5d=_0x1f374b['deepClone'](_0x104cd2[_0x5a203a(0x264)][0x0]);for(let _0xead7ac=0x0;_0xead7ac<_0x45c3c9[_0x5a203a(0x257)];_0xead7ac++){const _0x184b95={'id':_0x5a203a(0x270),'params':{'unitId':_0x45c3c9[_0xead7ac]['unitId'],..._0x45c3c9[_0xead7ac][_0x5a203a(0xfd)]}},_0x51848d=this[_0x5a203a(0x201)][_0x5a203a(0x1f9)](_0x566c5d,_0x184b95,!0x1);if(_0x24c0cc(_0x51848d))throw _0x51848d[_0x5a203a(0x27f)];_0x566c5d=_0x51848d[_0x5a203a(0x1d9)];}return{..._0x1f374b['deepClone'](_0x104cd2),'mutations':[_0x566c5d]};}[_0x1aa74c(0x261)](_0x2d92ff){const _0xcc368c=_0x1aa74c,{unitID:_0xe592be}=_0x2d92ff,{history:_0x1fa407,collaboration:_0x27f102}=this[_0xcc368c(0x100)][_0xcc368c(0x225)](_0xe592be);if(_0x1fa407['length']===0x0&&_0x27f102['length']===0x0)return;const _0x45f47a=[],_0x471365=[];let _0x5f1da3=_0x1f374b[_0xcc368c(0x1c7)](_0x2d92ff[_0xcc368c(0x264)][0x0]),_0x868246=_0x1f374b[_0xcc368c(0x1c7)](_0x2d92ff['mutations'][0x0]);for(let _0x13b8f0=_0x1fa407[_0xcc368c(0x257)]-0x1;_0x13b8f0>=0x0;_0x13b8f0--){const _0x106f1d={'id':_0xcc368c(0x270),'params':{'unitId':_0x1fa407[_0x13b8f0]['unitId'],..._0x1fa407[_0x13b8f0][_0xcc368c(0x191)]}},_0x5921db={'id':_0xcc368c(0x270),'params':{'unitId':_0x1fa407[_0x13b8f0][_0xcc368c(0x169)],..._0x1fa407[_0x13b8f0][_0xcc368c(0xfd)]}},_0x413cfd=this['_transformService'][_0xcc368c(0x1f9)](_0x5f1da3,_0x106f1d,!0x1),_0x3b1294=this[_0xcc368c(0x201)][_0xcc368c(0x1f9)](_0x868246,_0x5921db,!0x1);if(_0x24c0cc(_0x413cfd))throw _0x413cfd['error'];if(_0x24c0cc(_0x3b1294))throw _0x3b1294[_0xcc368c(0x27f)];_0x45f47a[_0xcc368c(0x1b0)]({..._0x1fa407[_0x13b8f0],'undoState':_0x413cfd[_0xcc368c(0x1f7)][_0xcc368c(0x192)],'redoState':_0x3b1294[_0xcc368c(0x1f7)][_0xcc368c(0x192)]}),_0x5f1da3=_0x413cfd[_0xcc368c(0x1d9)],_0x868246=_0x3b1294[_0xcc368c(0x1d9)];}_0x5f1da3=_0x1f374b[_0xcc368c(0x1c7)](_0x2d92ff['mutations'][0x0]),_0x868246=_0x1f374b['deepClone'](_0x2d92ff[_0xcc368c(0x264)][0x0]);for(let _0x27876b=_0x27f102[_0xcc368c(0x257)]-0x1;_0x27876b>=0x0;_0x27876b--){const _0x41e23f={'id':_0xcc368c(0x270),'params':{'unitId':_0x27f102[_0x27876b][_0xcc368c(0x169)],..._0x27f102[_0x27876b][_0xcc368c(0x191)]}},_0x2ce81e={'id':_0xcc368c(0x270),'params':{'unitId':_0x27f102[_0x27876b][_0xcc368c(0x169)],..._0x27f102[_0x27876b][_0xcc368c(0xfd)]}},_0x2f1730=this['_transformService'][_0xcc368c(0x1f9)](_0x5f1da3,_0x41e23f,!0x1),_0x1076a4=this[_0xcc368c(0x201)]['transformMutation'](_0x868246,_0x2ce81e,!0x1);if(_0x24c0cc(_0x2f1730))throw _0x2f1730[_0xcc368c(0x27f)];if(_0x24c0cc(_0x1076a4))throw _0x1076a4['error'];_0x471365[_0xcc368c(0x1b0)]({..._0x27f102[_0x27876b],'undoState':_0x2f1730[_0xcc368c(0x1f7)][_0xcc368c(0x192)],'redoState':_0x1076a4[_0xcc368c(0x1f7)][_0xcc368c(0x192)]}),_0x5f1da3=_0x2f1730[_0xcc368c(0x1d9)],_0x868246=_0x1076a4[_0xcc368c(0x1d9)];}this[_0xcc368c(0x100)][_0xcc368c(0x13c)](_0xe592be,{'history':_0x45f47a,'collaboration':_0x471365});}};oe=hn([be(0x0,_0x3dcc01(_0x51f854)),be(0x1,_0x76057e),be(0x2,_0x3dcc01(_0x3f1fe6))],oe);function _0x23ae(_0x33f67e,_0x291e1f){const _0x108135=_0x1081();return _0x23ae=function(_0x23ae91,_0x193f6b){_0x23ae91=_0x23ae91-0xd8;let _0x1c64a6=_0x108135[_0x23ae91];return _0x1c64a6;},_0x23ae(_0x33f67e,_0x291e1f);}var _n=Object['getOwnPropertyDescriptor'],un=(_0x2bdc43,_0x18f5d7,_0x2a2484,_0x2abb84)=>{const _0x55d6ef=_0x1aa74c;for(var _0x3cbb78=_0x2abb84>0x1?void 0x0:_0x2abb84?_n(_0x18f5d7,_0x2a2484):_0x18f5d7,_0x4a2a4b=_0x2bdc43[_0x55d6ef(0x257)]-0x1,_0x9f902b;_0x4a2a4b>=0x0;_0x4a2a4b--)(_0x9f902b=_0x2bdc43[_0x4a2a4b])&&(_0x3cbb78=_0x9f902b(_0x3cbb78)||_0x3cbb78);return _0x3cbb78;},it=(_0x28a19e,_0x27a33f)=>(_0x2c991c,_0x18658d)=>_0x27a33f(_0x2c991c,_0x18658d,_0x28a19e);let ae=class{constructor(_0x279eca,_0x51c031){const _0xf0c2e3=_0x1aa74c;this['_injector']=_0x279eca,this[_0xf0c2e3(0x201)]=_0x51c031;}['transformSelections'](_0x2f9355){const _0x435373=_0x1aa74c;var _0x11f3c2;const _0x402c59=this[_0x435373(0x106)][_0x435373(0x25e)](_0x3949f1),_0x45ae55=(_0x11f3c2=_0x402c59[_0x435373(0x18e)]())!=null?_0x11f3c2:[];if(_0x45ae55[_0x435373(0x257)]===0x0)return;const _0x7ad3cc=_0x2f9355[_0x435373(0xe9)],_0x2083a9=[{'id':_0x435373(0x270),'params':{'unitId':_0x7ad3cc,'actions':null,'textRanges':_0x45ae55}}],_0x5d5301=this[_0x435373(0x201)][_0x435373(0x23e)](_0x2f9355,_0x2083a9);if(!_0x2de7a7(_0x5d5301))throw _0x5d5301[_0x435373(0x27f)];const _0x212d49=_0x5d5301[_0x435373(0x1f7)][0x0][_0x435373(0x192)][_0x435373(0x266)];Array[_0x435373(0x2b4)](_0x212d49)&&_0x212d49[_0x435373(0x257)]&&_0x402c59['replaceDocRanges'](_0x212d49,{'unitId':_0x7ad3cc,'subUnitId':_0x7ad3cc},!0x1);}};ae=un([it(0x0,_0x3dcc01(_0x51f854)),it(0x1,_0x76057e)],ae);var dn=Object[_0x1aa74c(0x25b)],fn=(_0x330089,_0x247ecf,_0x2a0548,_0x84638c)=>{const _0x1c546a=_0x1aa74c;for(var _0x579854=_0x84638c>0x1?void 0x0:_0x84638c?dn(_0x247ecf,_0x2a0548):_0x247ecf,_0x1a12f6=_0x330089[_0x1c546a(0x257)]-0x1,_0x1633c0;_0x1a12f6>=0x0;_0x1a12f6--)(_0x1633c0=_0x330089[_0x1a12f6])&&(_0x579854=_0x1633c0(_0x579854)||_0x579854);return _0x579854;},M=(_0x42c349,_0x3692f6)=>(_0x341a0d,_0x46da00)=>_0x3692f6(_0x341a0d,_0x46da00,_0x42c349);let ce=class extends _0x5e7481{constructor(_0x4a22e4,_0x555cf7,_0x90e7c,_0x46af97,_0x446335,_0x2ac99f,_0x5ad1db,_0x16d50d){const _0x377dd1=_0x1aa74c;super(),h(this,_0x377dd1(0x140),new _0x29fde6(_0x5bfc4a[_0x377dd1(0x1a3)])),(this[_0x377dd1(0x100)]=_0x4a22e4,this[_0x377dd1(0x1a1)]=_0x555cf7,this[_0x377dd1(0x2a4)]=_0x90e7c,this[_0x377dd1(0x145)]=_0x46af97,this['_docTransformSelectionsService']=_0x446335,this['_docSyncEditingCollabCursorService']=_0x2ac99f,this[_0x377dd1(0x16d)]=_0x5ad1db,this[_0x377dd1(0x2ab)]=_0x16d50d,this['_initEntityListener']());}[_0x1aa74c(0x186)](){const _0x15db3a=_0x1aa74c;this['disposeWithMe'](this['_collaborationController'][_0x15db3a(0x249)][_0x15db3a(0x1a7)](_0x5964d8=>{const _0xdd8f2d=_0x15db3a,_0x528ffa=this[_0xdd8f2d(0x100)]['docStateChange$'][_0xdd8f2d(0x1a7)](_0x1dbf48=>{const _0x3280b1=_0xdd8f2d;if(_0x1dbf48==null)return;const {unitId:_0x36d857,redoState:_0x5770eb,commandId:_0x530f17}=_0x1dbf48;if(_0x36d857!==_0x5964d8['unitID'])return;const _0x94174a={'id':_0x530f17,'type':_0x39b992['MUTATION'],'params':{'unitId':_0x36d857,'actions':_0x5770eb['actions'],'textRanges':null}};_0x5964d8[_0x3280b1(0xda)](_0x94174a);});if(_0x5964d8[_0xdd8f2d(0x27c)](_0x528ffa),_0x5964d8 instanceof _0x1c3693){const _0x4e87c0={'onTransformIME':_0x51bf2f=>this['_docTransformIMECacheService'][_0xdd8f2d(0x1b2)](_0x51bf2f),'onTransformState':_0x3b8b7f=>this[_0xdd8f2d(0x145)][_0xdd8f2d(0x174)](_0x3b8b7f),'onTransformSelections':_0x253479=>this[_0xdd8f2d(0x209)][_0xdd8f2d(0x1c2)](_0x253479),'onSyncEditingCollabCursor':_0x3f9d7d=>this[_0xdd8f2d(0x2bb)][_0xdd8f2d(0x171)](_0x3f9d7d),'onTransformRemoteChangesetByIMECache':_0x2f4251=>this[_0xdd8f2d(0x2a4)][_0xdd8f2d(0x16c)](_0x2f4251),'onTransformRemoteChangesetByStateCache':_0x529ac1=>this[_0xdd8f2d(0x145)][_0xdd8f2d(0x16c)](_0x529ac1)};_0x5964d8[_0xdd8f2d(0x10e)](_0x4e87c0);}}));}};ce=fn([M(0x0,_0x3dcc01(_0x3f1fe6)),M(0x1,_0x3dcc01(_0x1c1b1c)),M(0x2,_0x3dcc01(re)),M(0x3,_0x3dcc01(oe)),M(0x4,_0x3dcc01(ae)),M(0x5,_0x3dcc01(je)),M(0x6,_0x5f3f9f),M(0x7,_0x3dcc01(_0x43d1f6))],ce);var Sn=Object[_0x1aa74c(0x25b)],mn=(_0x127d72,_0x399e60,_0x2e15b4,_0x5beeed)=>{const _0x175ed9=_0x1aa74c;for(var _0x389fe4=_0x5beeed>0x1?void 0x0:_0x5beeed?Sn(_0x399e60,_0x2e15b4):_0x399e60,_0x2b17d0=_0x127d72[_0x175ed9(0x257)]-0x1,_0x23c408;_0x2b17d0>=0x0;_0x2b17d0--)(_0x23c408=_0x127d72[_0x2b17d0])&&(_0x389fe4=_0x23c408(_0x389fe4)||_0x389fe4);return _0x389fe4;},Ee=(_0x41cf10,_0x1f48ff)=>(_0x1981a3,_0xf17bca)=>_0x1f48ff(_0x1981a3,_0xf17bca,_0x41cf10);let Ae=class extends _0x5e7481{constructor(_0x13760f,_0x2c115,_0x39049){const _0x524d23=_0x1aa74c;super(),h(this,_0x524d23(0x1b7),new Map()),h(this,_0x524d23(0x2b5),new Map()),h(this,_0x524d23(0x25a),!0x1),(this[_0x524d23(0x236)]=_0x13760f,this[_0x524d23(0x1a4)]=_0x2c115,this[_0x524d23(0x208)]=_0x39049);}['disableLocalCache'](){const _0x1aa25c=_0x1aa74c;this[_0x1aa25c(0x25a)]=!0x0;}['enableLocalCache'](){const _0x3946ce=_0x1aa74c;this[_0x3946ce(0x25a)]=!0x1;}get['saveTaskMap'](){const _0x54059b=_0x1aa74c;return this[_0x54059b(0x2b5)];}['dispose'](){const _0x3ef88f=_0x1aa74c;this[_0x3ef88f(0x291)]()[_0x3ef88f(0xdb)](()=>super[_0x3ef88f(0x246)]());}async[_0x1aa74c(0x104)](_0x2e853c){const _0xd8dc33=_0x1aa74c;return this[_0xd8dc33(0x25a)]?null:this[_0xd8dc33(0x1a4)][_0xd8dc33(0xde)](_0x4ad9d8(_0x2e853c));}async[_0x1aa74c(0x216)](_0x50e508,_0x38bf6e){const _0x3c5f7b=_0x1aa74c;return!!this[_0x3c5f7b(0x1a4)][_0x3c5f7b(0x1bb)](_0x50e508,_0x38bf6e);}['updateOfflineData'](_0x4a7d47,_0x44f7be,_0x4da413,_0x42ac90){const _0x4d506c=_0x1aa74c,_0x182a93=this[_0x4d506c(0x208)]['getCurrentRevOfUnit'](_0x4a7d47);this[_0x4d506c(0x1b7)][_0x4d506c(0x193)](_0x4a7d47,{'unitID':_0x4a7d47,'type':_0x44f7be,'awaitingChangeset':_0x4da413,'mutations':_0x42ac90,'rev':_0x182a93}),this[_0x4d506c(0x2b5)]['has'](_0x4a7d47)||this['_scheduleSaving'](_0x4a7d47);}['_scheduleSaving'](_0x46f0d1){const _0x42d6a2=_0x1aa74c,_0x4fa5c6=this['_getSaveTimeout']();_0x4fa5c6===0x0?this[_0x42d6a2(0x287)](_0x46f0d1):this['_saveTaskMap'][_0x42d6a2(0x193)](_0x46f0d1,setTimeout(()=>this[_0x42d6a2(0x287)](_0x46f0d1),_0x4fa5c6));}[_0x1aa74c(0x1d6)](){const _0x568c35=_0x1aa74c;var _0x160e81;return(_0x160e81=this[_0x568c35(0x236)]['getConfig'](_0x495a7d))!=null?_0x160e81:_0x59f155;}[_0x1aa74c(0x287)](_0x1a6257){const _0x3d827a=_0x1aa74c,_0x5286c5=this['_saveTaskMap'][_0x3d827a(0x25e)](_0x1a6257);return _0x5286c5!==void 0x0&&window['clearTimeout'](_0x5286c5),this[_0x3d827a(0x1a4)][_0x3d827a(0x1bb)](_0x4ad9d8(_0x1a6257),this[_0x3d827a(0x1b7)]['get'](_0x1a6257))['then'](()=>this[_0x3d827a(0x2b5)][_0x3d827a(0x244)](_0x1a6257));}async['exhaustSavingTask'](){const _0x16c675=_0x1aa74c,_0x4f5cf8=[];this['_saveTaskMap'][_0x16c675(0x286)]((_0x2ca166,_0x42cecc)=>{const _0x28535e=_0x16c675;window['clearTimeout'](_0x2ca166),_0x4f5cf8[_0x28535e(0xe8)](this['_saveCache'](_0x42cecc)[_0x28535e(0xdb)](()=>{const _0x780f83=_0x28535e;this[_0x780f83(0x2b5)][_0x780f83(0x244)](_0x42cecc);}));}),await Promise['all'](_0x4f5cf8);}};Ae=mn([Ee(0x0,_0x53eab1),Ee(0x1,_0x405105),Ee(0x2,_0x3dcc01(_0x310eb5))],Ae);class gn extends _0x2a190b{constructor(){const _0xc20a1a=_0x1aa74c;super(),h(this,_0xc20a1a(0x21a)),this['urlChange$']=_0x360e53(window,_0xc20a1a(0x1a6))[_0xc20a1a(0xe3)](_0x304798(this[_0xc20a1a(0x25f)]),_0x4e7dbc(0x1),_0x74e76(void 0x0));}[_0x1aa74c(0x124)](_0x5b4d28,_0x6c87ff,_0x50af05=!0x1){const _0x530f34=_0x1aa74c,_0x4271c4=new URL(window[_0x530f34(0x197)][_0x530f34(0x2a7)]);_0x4271c4[_0x530f34(0xdd)][_0x530f34(0x193)](_0x5b4d28,_0x6c87ff),_0x50af05?window[_0x530f34(0x24e)]['replaceState']('','',_0x4271c4['toString']()):window[_0x530f34(0x24e)][_0x530f34(0xf7)]('','',_0x4271c4[_0x530f34(0x272)]());}['removeParam'](_0x5356bf,_0x21eab5=!0x1){const _0x2b973b=_0x1aa74c,_0x28c960=new URL(window[_0x2b973b(0x197)]['href']);_0x28c960['searchParams'][_0x2b973b(0x244)](_0x5356bf),_0x21eab5?window[_0x2b973b(0x24e)]['replaceState']('','',_0x28c960['toString']()):window[_0x2b973b(0x24e)][_0x2b973b(0xf7)]('','',_0x28c960[_0x2b973b(0x272)]());}[_0x1aa74c(0x131)](_0x2a1e08){const _0x428268=_0x1aa74c;var _0x59a599;return(_0x59a599=new URL(window[_0x428268(0x197)][_0x428268(0x2a7)])[_0x428268(0xdd)][_0x428268(0x25e)](_0x2a1e08))!=null?_0x59a599:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0x1aa74c(0x25b)],pn=(_0x51be29,_0xdbb093,_0x23e4b8)=>_0xdbb093 in _0x51be29?vn(_0x51be29,_0xdbb093,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23e4b8}):_0x51be29[_0xdbb093]=_0x23e4b8,Cn=(_0x5a71a4,_0x20db12,_0x1a0acd,_0x4d3f46)=>{const _0x41faed=_0x1aa74c;for(var _0x1301f7=_0x4d3f46>0x1?void 0x0:_0x4d3f46?In(_0x20db12,_0x1a0acd):_0x20db12,_0x37692d=_0x5a71a4[_0x41faed(0x257)]-0x1,_0x4d8c02;_0x37692d>=0x0;_0x37692d--)(_0x4d8c02=_0x5a71a4[_0x37692d])&&(_0x1301f7=_0x4d8c02(_0x1301f7)||_0x1301f7);return _0x1301f7;},Oe=(_0x16d58f,_0x131ec3)=>(_0x2c0117,_0x4193db)=>_0x131ec3(_0x2c0117,_0x4193db,_0x16d58f),bn=(_0xffb56d,_0x43f61d,_0x56ce67)=>pn(_0xffb56d,_0x43f61d+'',_0x56ce67);const En=_0x1aa74c(0x17f);let ye=class extends _0x2c24fc{constructor(_0x344c39=st,_0x1039ba,_0x4f7998,_0x164158){const _0xf1ab74=_0x1aa74c;super(),this['_config']=_0x344c39,this[_0xf1ab74(0x120)]=_0x1039ba,this[_0xf1ab74(0x106)]=_0x4f7998,this[_0xf1ab74(0x236)]=_0x164158;const {..._0x507e81}=_0x312dd1({},st,this['_config']);this[_0xf1ab74(0x236)]['setConfig'](nn,_0x507e81);}['onStarting'](){const _0x5e5c43=_0x1aa74c;this[_0x5e5c43(0x184)](),this[_0x5e5c43(0x26a)]();}[_0x1aa74c(0xfa)](){this['_registerRenderDependencies']();}[_0x1aa74c(0x184)](){const _0x4ecc87=_0x1aa74c;var _0x46a4c2;const _0x572efc=[[He],[ae],[re],[oe],[je],[Ut,{'useClass':gn}],[_0xd917f2,{'useClass':_0x390ac3}],[_0x4fc379,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x29fdcf(this[_0x4ecc87(0x106)],_0x8123df(_0x572efc,(_0x46a4c2=this[_0x4ecc87(0x115)])==null?void 0x0:_0x46a4c2['override']));}[_0x1aa74c(0x1ea)](){const _0x3fec53=_0x1aa74c;this['disposeWithMe'](this['_renderManagerService'][_0x3fec53(0x162)](_0x2d6dc7[_0x3fec53(0x1e6)],[Ue])),this[_0x3fec53(0x27c)](this['_renderManagerService']['registerRenderModule'](_0x2d6dc7[_0x3fec53(0x111)],[Le]));}['_initDependencies'](){const _0x42e149=_0x1aa74c;_0x301d0(this[_0x42e149(0x106)],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,_0x1aa74c(0x1b6),En),ye=Cn([_0x524589(_0xa389b1),Oe(0x1,_0x2b6711),Oe(0x2,_0x3dcc01(_0x51f854)),Oe(0x3,_0x53eab1)],ye);var On=Object[_0x1aa74c(0x25b)],Tn=(_0x12d8d5,_0x389dd2,_0xbe3503,_0x4ad444)=>{const _0x1bb275=_0x1aa74c;for(var _0x123802=_0x4ad444>0x1?void 0x0:_0x4ad444?On(_0x389dd2,_0xbe3503):_0x389dd2,_0x353afd=_0x12d8d5[_0x1bb275(0x257)]-0x1,_0x4e9638;_0x353afd>=0x0;_0x353afd--)(_0x4e9638=_0x12d8d5[_0x353afd])&&(_0x123802=_0x4e9638(_0x123802)||_0x123802);return _0x123802;},z=(_0x369776,_0x2302dd)=>(_0x38f421,_0xcbae9b)=>_0x2302dd(_0x38f421,_0xcbae9b,_0x369776);let nt=class extends _0x498236{constructor(_0x43212a,_0x504f98,_0x1a089e,_0x511c6f,_0x3c707a){super(_0x43212a,_0x504f98,_0x1a089e,_0x511c6f,_0x3c707a);}async[_0x1aa74c(0x107)](_0x2eeea4){const _0x4977ee=_0x1aa74c,_0x311bd9=await this[_0x4977ee(0xfb)](),_0x5684c7=this[_0x4977ee(0x2a5)](_0x2eeea4,_0x311bd9);return this[_0x4977ee(0x29e)](_0x5684c7);}['_createSocketURL'](_0x4441e1,_0x5dfd97){const _0x1c7b8d=_0x1aa74c,_0x17f538=typeof window>'u'?new URL(_0x4441e1):new URL(_0x4441e1,window[_0x1c7b8d(0x197)]['origin']);_0x17f538[_0x1c7b8d(0xdd)][_0x1c7b8d(0x193)](_0x1c7b8d(0x241),_0x5dfd97);const _0x238c50=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1c7b8d(0x197)][_0x1c7b8d(0x125)]);return _0x238c50[_0x1c7b8d(0x25e)](_0x1c7b8d(0x11c))&&_0x17f538[_0x1c7b8d(0xdd)][_0x1c7b8d(0x193)]('runId',_0x238c50[_0x1c7b8d(0x25e)](_0x1c7b8d(0x11c))),_0x17f538['toString']();}async[_0x1aa74c(0xfb)](){const _0x22627a=_0x1aa74c;var _0x5e94f6,_0xf419d,_0x44feeb;const _0x3b7264=this[_0x22627a(0x236)]['getConfig'](_0x292b0d),_0x374544=(_0x5e94f6=_0x3b7264==null?void 0x0:_0x3b7264[_0x22627a(0x1df)])!=null?_0x5e94f6:_0x21e83b;return(_0x44feeb=(_0xf419d=(await this[_0x22627a(0x1b4)]['get'](_0x374544,{'headers':{'Content-Type':'application/json'}}))[_0x22627a(0xfe)])==null?void 0x0:_0xf419d[_0x22627a(0x2ba)])!=null?_0x44feeb:'';}};nt=Tn([z(0x0,_0x3dcc01(_0x51f854)),z(0x1,_0x3dcc01(_0x29cbac)),z(0x2,_0x53eab1),z(0x3,_0x4ee1f6),z(0x4,_0x36b7c0)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x5e7481{constructor(){const _0x430b02=_0x1aa74c;super(),h(this,'_id',_0x1f374b['generateRandomId']()),h(this,_0x430b02(0xe0),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x430b02(0x223),null),h(this,_0x430b02(0x15d),new Map()),h(this,_0x430b02(0x258),new Map()),this[_0x430b02(0x11f)]();}[_0x1aa74c(0x246)](){const _0x132cba=_0x1aa74c;super[_0x132cba(0x246)](),this[_0x132cba(0x15d)][_0x132cba(0x286)]((_0x12f266,_0x2e7277)=>this[_0x132cba(0x243)](_0x2e7277)),this[_0x132cba(0x223)]&&window[_0x132cba(0x2a3)](this[_0x132cba(0x223)]);}[_0x1aa74c(0x1a8)](_0x166918){const _0x13eeb8=_0x1aa74c;return this[_0x13eeb8(0x148)](_0x166918)['pipe'](_0x5d36ad());}[_0x1aa74c(0x293)](_0x27c333){const _0x118a61=_0x1aa74c;this[_0x118a61(0xe0)][_0x118a61(0x19a)]===0x0&&this[_0x118a61(0xec)](),this[_0x118a61(0xe0)]['add'](_0x27c333),this[_0x118a61(0x2aa)]({'type':0x0,'memberID':this[_0x118a61(0x262)],'unitIDs':[_0x27c333],'isForwarded':!0x1});}['disposeUnit'](_0x39a1ce){const _0x1e8dab=_0x1aa74c;this['_selfUnitIDs'][_0x1e8dab(0x244)](_0x39a1ce),this['_selfUnitIDs'][_0x1e8dab(0x19a)]===0x0&&this[_0x1e8dab(0x223)]&&window[_0x1e8dab(0x2a3)](this[_0x1e8dab(0x223)]);}['_init'](){const _0x2222c0=_0x1aa74c;this[_0x2222c0(0x27c)](_0x346eba(_0x360e53(window,_0x2222c0(0x1da))[_0x2222c0(0x1a7)](_0x577572=>{const _0x519968=_0x2222c0;if(_0x577572[_0x519968(0x20e)]!==ot||!_0x577572['newValue'])return;const _0x49925f=JSON[_0x519968(0x247)](_0x577572[_0x519968(0x18a)]);this[_0x519968(0x122)](_0x49925f);}))),window['addEventListener'](_0x2222c0(0x296),()=>this['_send']({'type':0x1,'memberID':this[_0x2222c0(0x262)],'unitIDs':Array[_0x2222c0(0x222)](this[_0x2222c0(0xe0)])}));}[_0x1aa74c(0x122)](_0x32d50e){const _0x5a07ec=_0x1aa74c;switch(_0x32d50e['type']){case 0x0:this[_0x5a07ec(0x194)](_0x32d50e);break;case 0x1:this[_0x5a07ec(0x23a)](_0x32d50e);break;case 0x2:this[_0x5a07ec(0x1dd)](_0x32d50e);break;}}[_0x1aa74c(0x194)](_0x18f257){const _0x116b0c=_0x1aa74c,{unitIDs:_0x309d7b,memberID:_0x24d28b,isForwarded:_0x5a152d}=_0x18f257;_0x309d7b[_0x116b0c(0x286)](_0x4742e1=>{const _0xfb6b4b=_0x116b0c;if(!_0x5a152d&&this[_0xfb6b4b(0x152)][_0xfb6b4b(0x22d)](_0x4742e1)&&this[_0xfb6b4b(0x148)](_0x4742e1)['next'](_0x3396fc['OTHER_CLIENTS_EDITING']),!this[_0xfb6b4b(0x152)]['has'](_0x4742e1)||!this[_0xfb6b4b(0x152)][_0xfb6b4b(0x25e)](_0x4742e1)[_0xfb6b4b(0x22d)](_0x24d28b)){const _0x312fe9=this[_0xfb6b4b(0x152)][_0xfb6b4b(0x25e)](_0x4742e1)||new Set();_0x312fe9[_0xfb6b4b(0x2bd)](_0x24d28b),this[_0xfb6b4b(0x152)][_0xfb6b4b(0x193)](_0x4742e1,_0x312fe9),this[_0xfb6b4b(0x12f)](_0x24d28b);}}),_0x5a152d||this[_0x116b0c(0x2aa)]({'type':0x0,'memberID':this[_0x116b0c(0x262)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2bdd3f){const _0x311d5d=_0x1aa74c;this['_removeClearOtherTimer'](_0x2bdd3f);const _0x5325ca=window[_0x311d5d(0x10c)](()=>{const _0x811268=_0x311d5d;this[_0x811268(0x152)][_0x811268(0x286)](_0x2d4b12=>{const _0x39df3b=_0x811268;_0x2d4b12[_0x39df3b(0x244)](_0x2bdd3f);});},rt*0x2);this[_0x311d5d(0x15d)][_0x311d5d(0x193)](_0x2bdd3f,_0x5325ca);}['_removeClearOtherTimer'](_0x2a432d){const _0xe42d8c=_0x1aa74c;if(this[_0xe42d8c(0x15d)][_0xe42d8c(0x22d)](_0x2a432d)){const _0x4b343b=this[_0xe42d8c(0x15d)][_0xe42d8c(0x25e)](_0x2a432d);_0x4b343b&&window[_0xe42d8c(0x113)](_0x4b343b),this[_0xe42d8c(0x15d)][_0xe42d8c(0x193)](_0x2a432d,null);}}[_0x1aa74c(0x23a)](_0x83a200){const {memberID:_0x171817,unitIDs:_0x4b5a86}=_0x83a200;_0x4b5a86['forEach'](_0x4d156f=>{const _0xf697e8=_0x23ae;var _0x178272;const _0x880066=this['_unitOnClients']['get'](_0x4d156f);_0x880066&&(_0x880066['delete'](_0x171817),(_0x178272=this[_0xf697e8(0x148)](_0x4d156f))==null||_0x178272[_0xf697e8(0x200)](_0x880066[_0xf697e8(0x19a)]===0x0?_0x3396fc[_0xf697e8(0x137)]:_0x3396fc[_0xf697e8(0x210)]));}),this['_removeClearOtherTimer'](_0x171817);}[_0x1aa74c(0x1dd)](_0x75c982){const _0x2c8311=_0x1aa74c;this[_0x2c8311(0x12f)](_0x75c982[_0x2c8311(0x1bc)]);}[_0x1aa74c(0x2aa)](_0xc0b1da){const _0x3a9db6=_0x1aa74c;localStorage['setItem'](ot,JSON[_0x3a9db6(0x166)](_0xc0b1da));}['_scheduleHeartbeat'](){const _0x375f09=_0x1aa74c;this['_heartbeatTimer']=window[_0x375f09(0x1ac)](()=>{const _0x378f06=_0x375f09;this[_0x378f06(0x2aa)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x1aa74c(0x148)](_0x468c0c){const _0x1fb02b=_0x1aa74c;return this[_0x1fb02b(0x258)][_0x1fb02b(0x22d)](_0x468c0c)||this[_0x1fb02b(0x258)][_0x1fb02b(0x193)](_0x468c0c,new _0x29fde6(_0x3396fc[_0x1fb02b(0x137)])),this[_0x1fb02b(0x258)][_0x1fb02b(0x25e)](_0x468c0c);}}var Lt=(_0x1abc08=>(_0x1abc08[_0x1abc08[_0x1aa74c(0x27b)]=0x0]=_0x1aa74c(0x27b),_0x1abc08[_0x1abc08['OK']=0x1]='OK',_0x1abc08[_0x1abc08[_0x1aa74c(0x2c0)]=0x2]='INTERNAL_ERROR',_0x1abc08[_0x1abc08[_0x1aa74c(0x233)]=0x3]='PERMISSION_DENIED',_0x1abc08[_0x1abc08['NOT_FOUND']=0x4]='NOT_FOUND',_0x1abc08[_0x1abc08[_0x1aa74c(0x1c0)]=0x5]=_0x1aa74c(0x1c0),_0x1abc08[_0x1abc08['ALREADY_EXISTS']=0x6]=_0x1aa74c(0x251),_0x1abc08[_0x1abc08[_0x1aa74c(0x234)]=0x7]=_0x1aa74c(0x234),_0x1abc08[_0x1abc08['TOO_MANY_REQUESTS']=0x8]=_0x1aa74c(0x190),_0x1abc08[_0x1abc08[_0x1aa74c(0x269)]=0x9]='COMPLETION_FINISHED',_0x1abc08[_0x1abc08[_0x1aa74c(0x15e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1abc08[_0x1abc08[_0x1aa74c(0x20d)]=0x1771]=_0x1aa74c(0x20d),_0x1abc08[_0x1abc08[_0x1aa74c(0x268)]=0x1772]=_0x1aa74c(0x268),_0x1abc08[_0x1abc08[_0x1aa74c(0x1e5)]=0x1773]=_0x1aa74c(0x1e5),_0x1abc08[_0x1abc08['APPLY_REJECT']=0x1b59]=_0x1aa74c(0x117),_0x1abc08[_0x1abc08['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1aa74c(0xf8),_0x1abc08[_0x1abc08[_0x1aa74c(0x235)]=0x1b5b]=_0x1aa74c(0x235),_0x1abc08[_0x1abc08[_0x1aa74c(0x212)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1abc08[_0x1abc08[_0x1aa74c(0x27d)]=0x1b5d]=_0x1aa74c(0x27d),_0x1abc08[_0x1abc08[_0x1aa74c(0x1cf)]=0x1f41]=_0x1aa74c(0x1cf),_0x1abc08[_0x1abc08[_0x1aa74c(0x1c4)]=0x2329]=_0x1aa74c(0x1c4),_0x1abc08[_0x1abc08[_0x1aa74c(0x289)]=0x232a]=_0x1aa74c(0x289),_0x1abc08[_0x1abc08['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1abc08[_0x1abc08[_0x1aa74c(0xe4)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1abc08[_0x1abc08[_0x1aa74c(0x17d)]=0x232d]=_0x1aa74c(0x17d),_0x1abc08[_0x1abc08[_0x1aa74c(0x1e1)]=0x2711]=_0x1aa74c(0x1e1),_0x1abc08[_0x1abc08[_0x1aa74c(0xf2)]=0x2712]=_0x1aa74c(0xf2),_0x1abc08[_0x1abc08[_0x1aa74c(0x2a1)]=0x2713]=_0x1aa74c(0x2a1),_0x1abc08[_0x1abc08[_0x1aa74c(0x12b)]=0x2714]=_0x1aa74c(0x12b),_0x1abc08[_0x1abc08[_0x1aa74c(0x103)]=0x2af9]=_0x1aa74c(0x103),_0x1abc08[_0x1abc08[_0x1aa74c(0x14d)]=-0x1]=_0x1aa74c(0x14d),_0x1abc08))(Lt||{}),Rn=Object[_0x1aa74c(0x25b)],Dn=(_0x1e2125,_0x1720fe,_0x557945,_0x4bd675)=>{const _0xaba999=_0x1aa74c;for(var _0x10c1dd=_0x4bd675>0x1?void 0x0:_0x4bd675?Rn(_0x1720fe,_0x557945):_0x1720fe,_0x1e466a=_0x1e2125[_0xaba999(0x257)]-0x1,_0x50889f;_0x1e466a>=0x0;_0x1e466a--)(_0x50889f=_0x1e2125[_0x1e466a])&&(_0x10c1dd=_0x50889f(_0x10c1dd)||_0x10c1dd);return _0x10c1dd;},Te=(_0x5a1917,_0x3ac9b2)=>(_0x57cdfa,_0x141c18)=>_0x3ac9b2(_0x57cdfa,_0x141c18,_0x5a1917);let at=class extends _0x5e7481{constructor(_0x3527c1,_0x326756,_0x810c30){const _0x1b2d9c=_0x1aa74c;super(),this['_instanceService']=_0x3527c1,this[_0x1b2d9c(0x1b4)]=_0x326756,this[_0x1b2d9c(0x236)]=_0x810c30;}async[_0x1aa74c(0xdf)](_0x31e8e7,_0x16f777,_0x250ef4,..._0x216584){const _0x21e3a6=_0x1aa74c;var _0x27a3e5,_0x5abf50,_0x4119c9,_0x144cb7;const _0x2d3e22=this[_0x21e3a6(0x2bc)][_0x21e3a6(0x207)]();if(!_0x2d3e22)throw new Error(_0x21e3a6(0x1a5));const _0x4009c1=((_0x27a3e5=this[_0x21e3a6(0x236)][_0x21e3a6(0x2a0)](_0x3cff22))!=null?_0x27a3e5:_0x477bb9)+'/'+_0x31e8e7+'/run/'+_0x16f777,_0x53b471=new URL(window['location']['href']),_0x573754={'scriptId':_0x31e8e7,'runId':(_0x5abf50=_0x53b471[_0x21e3a6(0xdd)][_0x21e3a6(0x25e)](_0x21e3a6(0x11c)))!=null?_0x5abf50:'','function':_0x16f777,'unitId':_0x2d3e22[_0x21e3a6(0x2a6)](),'argsOfFunction':JSON[_0x21e3a6(0x166)](_0x216584),'invokeId':(_0x4119c9=_0x250ef4[_0x21e3a6(0x183)])!=null?_0x4119c9:'','executionId':(_0x144cb7=_0x250ef4[_0x21e3a6(0x13e)])!=null?_0x144cb7:''};try{const _0x430807=await this[_0x21e3a6(0x1b4)][_0x21e3a6(0x240)](_0x4009c1,{'body':_0x573754});return _0x430807[_0x21e3a6(0xfe)][_0x21e3a6(0x27f)]&&_0x430807['body'][_0x21e3a6(0x27f)][_0x21e3a6(0x2a9)]!==Lt['OK']?_0x21e3a6(0x164):_0x430807[_0x21e3a6(0xfe)][_0x21e3a6(0xe6)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x7409ad),Te(0x1,_0x3dcc01(_0x29cbac)),Te(0x2,_0x53eab1)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
function _0x4b78(_0x6f668e,_0x3b5ef6){const _0x4d6727=_0x4d67();return _0x4b78=function(_0x4b7875,_0x1e6ddc){_0x4b7875=_0x4b7875-0x72;let _0x167e15=_0x4d6727[_0x4b7875];return _0x167e15;},_0x4b78(_0x6f668e,_0x3b5ef6);}const _0x23ff9b=_0x4b78;(function(_0x39df2f,_0x23a174){const _0x4e0c9c=_0x4b78,_0x52c71a=_0x39df2f();while(!![]){try{const _0x260956=parseInt(_0x4e0c9c(0xa0))/0x1+-parseInt(_0x4e0c9c(0x1da))/0x2+parseInt(_0x4e0c9c(0x7f))/0x3+-parseInt(_0x4e0c9c(0xe9))/0x4+-parseInt(_0x4e0c9c(0xac))/0x5*(parseInt(_0x4e0c9c(0x8a))/0x6)+-parseInt(_0x4e0c9c(0x26e))/0x7+parseInt(_0x4e0c9c(0x1d0))/0x8;if(_0x260956===_0x23a174)break;else _0x52c71a['push'](_0x52c71a['shift']());}catch(_0x57b204){_0x52c71a['push'](_0x52c71a['shift']());}}}(_0x4d67,0x19397));var Bt=Object['defineProperty'],Ht=(_0x738909,_0x53404c,_0x4da627)=>_0x53404c in _0x738909?Bt(_0x738909,_0x53404c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4da627}):_0x738909[_0x53404c]=_0x4da627,h=(_0x3f6ef4,_0x56956b,_0x2d6397)=>Ht(_0x3f6ef4,typeof _0x56956b!=_0x23ff9b(0x183)?_0x56956b+'':_0x56956b,_0x2d6397);import{MemberService as _0x1e6aed,SessionStatus as _0x30b592,CollaborationSessionService as _0xce6fa8,CollaborationStatus as _0x3cfde1,CollaborationController as _0x1eec7a,ILocalCacheService as _0x3c8f5a,CollaborationUIEventService as _0x41f22d,CollaborationUIEventId as _0x222a16,DataLoaderService as _0x20e5b6,DocCollaborationEntity as _0x53d445,getLocalCacheKey as _0x3ce03f,LOCAL_CACHE_INTERVAL as _0x18f4f4,LOCAL_CACHE_INTERVAL_KEY as _0x4bfb93,UniverCollaborationClientPlugin as _0x316f4e,CollaborationSocketService as _0x4d5aa8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x11b14b,DEFAULT_WS_SESSION_TICKET_URL as _0x31d3af,UnitStatus as _0x32effc,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x9a5b6d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x512cab}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1fd355,Disposable as _0x5e0670,DOC_RANGE_TYPE as _0x33c34c,Inject as _0xd50dcd,Injector as _0x8ce219,IUniverInstanceService as _0x1c8a5a,ICommandService as _0x53b5ba,debounce as _0x243cd5,Rectangle as _0x37b674,DisposableCollection as _0x5c60c1,toDisposable as _0x1a3234,UniverInstanceType as _0x149593,Tools as _0x51080d,COLORS as _0x4c2b95,ColorKit as _0x156116,ThemeService as _0x22b1c4,fromEventSubject as _0x10720b,LocaleService as _0xb5b2d6,createIdentifier as _0x108fd3,ILogService as _0x258406,Optional as _0x232a3e,Workbook as _0x4c6c97,CommandType as _0x17ad1c,IConfigService as _0x533f06,ILocalStorageService as _0x157b96,DependentOn as _0x592d51,Plugin as _0x7903e7,merge as _0x4a2b0c,registerDependencies as _0x4a94d2,mergeOverrideWithDependencies as _0x45e2a7,touchDependencies as _0x3c9714,generateRandomId as _0x1a78d2}from'@univerjs/core';import{Shape as _0x14aaa8,Rect as _0x1e54b6,getColor as _0x4cfbce,RegularPolygon as _0x10e032,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x46db6b,Vector2 as _0x427e4c,SHEET_VIEWPORT_KEY as _0x58b01f,IRenderManagerService as _0x4ce077}from'@univerjs/engine-render';import{ISocketService as _0x1c8e0f,WebSocketService as _0x5dc691,HTTPService as _0x1c7672}from'@univerjs/network';import{IDocClipboardService as _0x3b1559,NodePositionConvertToCursor as _0x176d42,NodePositionConvertToRectRange as _0x37153b,TEXT_RANGE_LAYER_INDEX as _0x427468,SetDocZoomRatioOperation as _0x18c470,DocIMEInputManagerService as _0x130d6b,DocStateChangeManagerService as _0x1abd4c}from'@univerjs/docs-ui';import{IImageIoService as _0x12c027}from'@univerjs/drawing';import{BehaviorSubject as _0x3de8b5,debounceTime as _0x3d5e13,takeUntil as _0x1c0f4d,Subject as _0x10a984,filter as _0x1d88bc,switchMap as _0x13c98e,merge as _0x5219b5,combineLatest as _0x1e76ec,of as _0x2c084f,fromEvent as _0x37d196,shareReplay as _0x196db8,mapTo as _0x4fd666,distinctUntilChanged as _0x2a0d31}from'rxjs';import{SetTextSelectionsOperation as _0x2bd00b,RichTextEditingMutation as _0x82c37c,DocSelectionManagerService as _0x312df4,DocSkeletonManagerService as _0x56c1b1}from'@univerjs/docs';import{ITransformService as _0x49f577,CollaborationEvent as _0x3e60bd,isTransformMutationFailure as _0x2cb5ce,isTransformMutationsWithChangesetSuccess as _0x36a096,RevisionService as _0x1a68c1,ISnapshotServerService as _0x3b2333}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0xac2669,serializeRangeWithSheet as _0x432398}from'@univerjs/engine-formula';import{RefRangeService as _0x28bb15,SetSelectionsOperation as _0x556967,SheetsSelectionsService as _0x278c4e,EffectRefRangId as _0x55d3b7,handleIRemoveRow as _0xa7c699,handleIRemoveCol as _0x4c91ca,handleMoveRange as _0x5e7e62,handleInsertRow as _0x1f4dfe,handleInsertRangeMoveRight as _0x37251f,handleInsertRangeMoveDown as _0x94f7f0,handleInsertCol as _0x5051d8,handleDeleteRangeMoveUp as _0x27968f,handleDeleteRangeMoveLeft as _0x300843,runRefRangeMutations as _0x279240,SetWorksheetActivateCommand as _0x54975b}from'@univerjs/sheets';import{map as _0x3e2a29,filter as _0x3df35f,throttleTime as _0x56e452,takeUntil as _0x368f80,switchMap as _0x563ac8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x412f9c,getCoordByCell as _0x1e4ed8,getSheetObject as _0x2f4bbe}from'@univerjs/sheets-ui';import{jsx as _0x2d8f0e,jsxs as _0x47ae1c}from'react/jsx-runtime';import{useObservable as _0x38f826,useDependency as _0x3dc95d,IUIPartsService as _0x59a6ed,BuiltInUIPart as _0x328fad,connectInjector as _0x3ce672,IBeforeCloseService as _0x29d9c9,IMessageService as _0x155886,INotificationService as _0x55ef19}from'@univerjs/ui';import{Tooltip as _0xdfabb5,MessageType as _0x3d4a36}from'@univerjs/design';import{forwardRef as _0x2a5173,useRef as _0x9ab032,createElement as _0x3f9b60,useCallback as _0x5f2aa7}from'react';import{IRemoteInstanceService as _0x40301a}from'@univerjs/rpc';var hi=Object[_0x23ff9b(0xe8)],_i=(_0x1167c5,_0x36595b,_0x122dcb,_0x18e6f1)=>{const _0x13fbe0=_0x23ff9b;for(var _0x3b4201=_0x18e6f1>0x1?void 0x0:_0x18e6f1?hi(_0x36595b,_0x122dcb):_0x36595b,_0x5c4db9=_0x1167c5[_0x13fbe0(0x1f4)]-0x1,_0x43c6b0;_0x5c4db9>=0x0;_0x5c4db9--)(_0x43c6b0=_0x1167c5[_0x5c4db9])&&(_0x3b4201=_0x43c6b0(_0x3b4201)||_0x3b4201);return _0x3b4201;},Ze=(_0x2721f4,_0x503e24)=>(_0x4471a5,_0x492cb5)=>_0x503e24(_0x4471a5,_0x492cb5,_0x2721f4);let Me=class extends _0x1fd355{constructor(_0x5d61b6,_0x336177){const _0x39b911=_0x23ff9b;super(),this['_docClipboardService']=_0x5d61b6,this[_0x39b911(0x24e)]=_0x336177,this['_init']();}[_0x23ff9b(0x16f)](){const _0x4bd5a7=_0x23ff9b,_0x42d308=this;this[_0x4bd5a7(0x20c)](this[_0x4bd5a7(0xcf)][_0x4bd5a7(0x11d)]({'onBeforePasteImage':async _0x3ad56b=>{const _0x4bfd0=_0x4bd5a7,_0x1f7932=await _0x42d308[_0x4bfd0(0x24e)][_0x4bfd0(0x253)](_0x3ad56b);return _0x1f7932?{'source':_0x1f7932[_0x4bfd0(0x165)],'imageSourceType':_0x1f7932[_0x4bfd0(0x14a)]}:null;}}));}};Me=_i([Ze(0x0,_0x3b1559),Ze(0x1,_0x12c027)],Me);const qe=[_0x23ff9b(0x12a),_0x23ff9b(0xfb),_0x23ff9b(0x19f),_0x23ff9b(0x15a),_0x23ff9b(0x1e0),'gold400'];class He extends _0x5e0670{constructor(){const _0x16d50d=_0x23ff9b;super(...arguments),h(this,_0x16d50d(0x16e),new Map()),h(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x1486eb){const _0x22b2d8=_0x23ff9b;if(this['_assignedColors'][_0x22b2d8(0x232)](_0x1486eb))return this[_0x22b2d8(0x16e)][_0x22b2d8(0xe1)](_0x1486eb);const _0x21f9bb=qe[this[_0x22b2d8(0x204)]];return this[_0x22b2d8(0x204)]=(this[_0x22b2d8(0x204)]+0x1)%qe[_0x22b2d8(0x1f4)],this['_assignedColors'][_0x22b2d8(0x144)](_0x1486eb,_0x21f9bb),_0x21f9bb;}}function Dt(_0xcedd80){let _0x496edf='';for(const _0x5c6b10 of _0xcedd80){const {startOffset:_0x5893a8,endOffset:_0x349cf9,isActive:_0x532744,rangeType:_0x46712d,segmentId:_0x1bd813,segmentPage:_0x5e9d11}=_0x5c6b10;_0x496edf['length']&&(_0x496edf+=','),_0x496edf+=_0x5893a8+':'+_0x349cf9+':'+(_0x532744?'1':'0')+':'+_0x46712d+':'+_0x1bd813+':'+_0x5e9d11;}return _0x496edf;}function ui(_0x18e498){const _0x953b95=_0x23ff9b,_0x30a70b=_0x18e498['split'](','),_0x38628c=[];for(const _0x40eec9 of _0x30a70b){const [_0x23f921,_0x1092a3,_0x329b37,_0x4deba6,_0x19a681,_0xedf54]=_0x40eec9['split'](':');_0x38628c['push']({'startOffset':Number(_0x23f921),'endOffset':Number(_0x1092a3),'collapsed':_0x23f921===_0x1092a3,'isActive':_0x329b37==='1','rangeType':_0x4deba6===_0x33c34c[_0x953b95(0x187)]?_0x33c34c[_0x953b95(0x187)]:_0x33c34c['RECT'],'segmentId':typeof _0x19a681==_0x953b95(0x143)?String(_0x19a681):'','segmentPage':Number(_0xedf54!=null?_0xedf54:-0x1)});}return _0x38628c['some'](_0x5dd61c=>_0x5dd61c[_0x953b95(0xdb)])||(_0x38628c[0x0][_0x953b95(0xdb)]=!0x0),_0x38628c;}class je extends _0x1fd355{constructor(){const _0x4882c5=_0x23ff9b;super(...arguments),h(this,'_collabCursorState$',new _0x3de8b5(null)),h(this,_0x4882c5(0xe5),this[_0x4882c5(0x153)][_0x4882c5(0x13e)]());}['syncEditingCollabCursor'](_0x5ecefd){const _0x2d5c9b=_0x23ff9b,{unitID:_0x470fea,memberID:_0x36f817,textRanges:_0x3c7ee0}=_0x5ecefd,_0x2b9c35=Dt(_0x3c7ee0);if(_0x2b9c35==='')return;const _0x4a293b={'unitID':_0x470fea,'memberID':_0x36f817,'selection':_0x2b9c35};this['_collabCursorState$'][_0x2d5c9b(0x1ec)](_0x4a293b);}}var di=Object[_0x23ff9b(0xe8)],fi=(_0x144de3,_0x389a43,_0x8c4e3e,_0xcf9125)=>{const _0x52ec04=_0x23ff9b;for(var _0x401bb3=_0xcf9125>0x1?void 0x0:_0xcf9125?di(_0x389a43,_0x8c4e3e):_0x389a43,_0x53436a=_0x144de3[_0x52ec04(0x1f4)]-0x1,_0x1aa17b;_0x53436a>=0x0;_0x53436a--)(_0x1aa17b=_0x144de3[_0x53436a])&&(_0x401bb3=_0x1aa17b(_0x401bb3)||_0x401bb3);return _0x401bb3;},U=(_0x2cbd1f,_0x581dce)=>(_0x573fa6,_0x1d7313)=>_0x581dce(_0x573fa6,_0x1d7313,_0x2cbd1f);const Si=0x12c,mi=0x64;let Ne=class extends _0x1fd355{constructor(_0x331139,_0x172e32,_0x597e0c,_0x33d114,_0x8aed5b,_0x150586,_0x16e537,_0x43d847,_0x1a5b17){const _0x2ba79a=_0x23ff9b;super(),h(this,_0x2ba79a(0x24f),!0x1),h(this,_0x2ba79a(0x16f),!0x1),h(this,_0x2ba79a(0x8f),new _0x3de8b5(new Map())),h(this,'cursorInfo$',this[_0x2ba79a(0x8f)][_0x2ba79a(0x13e)]()),h(this,_0x2ba79a(0x151),new _0x3de8b5([])),h(this,_0x2ba79a(0x115),this[_0x2ba79a(0x151)][_0x2ba79a(0x24d)](_0x3d5e13(Si))),h(this,_0x2ba79a(0x7c),_0x243cd5(_0x54d4d5=>{const _0x522502=_0x2ba79a,_0xbb06eb={'eventID':_0x3e60bd['UPDATE_CURSOR'],'data':{'unitID':this[_0x522502(0xb4)],'memberID':this[_0x522502(0xdc)]['getMemberID'](),'selection':Dt(_0x54d4d5)}};this['_session'][_0x522502(0x203)](_0xbb06eb,this['unitID']);},mi)),(this[_0x2ba79a(0xb4)]=_0x331139,this[_0x2ba79a(0xdc)]=_0x172e32,this['_injector']=_0x597e0c,this[_0x2ba79a(0x176)]=_0x33d114,this[_0x2ba79a(0x1d2)]=_0x8aed5b,this['_syncEditingCollabCursorService']=_0x150586,this[_0x2ba79a(0x10b)]=_0x16e537,this['_univerInstanceService']=_0x43d847,this[_0x2ba79a(0x1fc)]=_0x1a5b17);}get[_0x23ff9b(0x185)](){const _0x44c13e=_0x23ff9b;return this['_cursorInfo$'][_0x44c13e(0x1c3)]();}get[_0x23ff9b(0x8c)](){const _0x5b804e=_0x23ff9b;return this['_roomMembers$'][_0x5b804e(0x1c3)]();}[_0x23ff9b(0x244)](){const _0x412324=_0x23ff9b;super['dispose'](),this[_0x412324(0x8f)]['next'](new Map()),this[_0x412324(0x8f)][_0x412324(0x25c)](),this[_0x412324(0x151)]['next']([]),this[_0x412324(0x151)][_0x412324(0x25c)]();}[_0x23ff9b(0x25b)](){const _0xf6724f=_0x23ff9b;this['_init']||(this[_0xf6724f(0x16f)]=!0x0,this['_session'][_0xf6724f(0x1a7)][_0xf6724f(0x24d)](_0x1c0f4d(this[_0xf6724f(0x9d)]))[_0xf6724f(0xa6)](_0x28a9f3=>{const _0x3a29db=_0xf6724f;_0x28a9f3===_0x30b592[_0x3a29db(0x269)]?this['_toggleOnline']():this[_0x3a29db(0x1b8)]();}),this[_0xf6724f(0xdc)][_0xf6724f(0x259)][_0xf6724f(0x24d)](_0x1c0f4d(this[_0xf6724f(0x9d)]))['subscribe'](_0x379914=>{const _0x851809=_0xf6724f,_0x7cf6b0=_0x379914[_0x851809(0x213)];_0x7cf6b0===_0x3e60bd['UPDATE_CURSOR']&&this[_0x851809(0x173)](_0x379914),_0x7cf6b0===_0x3e60bd[_0x851809(0x1be)]&&this[_0x851809(0x89)](_0x379914);}),this[_0xf6724f(0x20c)](this[_0xf6724f(0x1fc)][_0xf6724f(0xda)](_0x2ad439=>{const _0x5f5477=_0xf6724f,_0x19995c=_0x2ad439[_0x5f5477(0x1f0)];_0x19995c!=null&&this[_0x5f5477(0x24f)]&&_0x2ad439['id']===_0x2bd00b['id']&&_0x19995c[_0x5f5477(0x1fa)]===this[_0x5f5477(0xb4)]&&_0x19995c[_0x5f5477(0xd5)]===!0x1&&_0x19995c['ranges'][_0x5f5477(0x1f4)]>0x0&&this[_0x5f5477(0x7c)](_0x19995c[_0x5f5477(0x145)]);})),this[_0xf6724f(0x181)][_0xf6724f(0xe5)][_0xf6724f(0x24d)](_0x1c0f4d(this[_0xf6724f(0x9d)]))['subscribe'](_0x333adf=>{const _0x4ea1f3=_0xf6724f;if((_0x333adf==null?void 0x0:_0x333adf['unitID'])!==this['unitID'])return;const _0x45e09d={'eventID':_0x3e60bd['UPDATE_CURSOR'],'data':_0x333adf};this[_0x4ea1f3(0x173)](_0x45e09d);}),this[_0xf6724f(0x20c)](this[_0xf6724f(0x1fc)][_0xf6724f(0xda)](_0x4dc104=>{const _0x3ecc2d=_0xf6724f;if(_0x4dc104[_0x3ecc2d(0x1f0)]==null)return;const _0x58c5ff=_0x4dc104['params'];if(_0x4dc104['id']!==_0x82c37c['id']||_0x58c5ff[_0x3ecc2d(0x1fa)]!==this['unitID'])return;const _0x3f6565={'id':'doc.mutation.rich-text-editing','params':_0x58c5ff},_0x3e6d93=this[_0x3ecc2d(0x185)];for(const [_0x1e0e37,_0x2c7419]of _0x3e6d93){const _0x5504af={'id':_0x3ecc2d(0x137),'params':{'unitId':this[_0x3ecc2d(0xb4)],'actions':null,'textRanges':_0x2c7419[_0x3ecc2d(0x145)]}},_0x1b16ca=this['_transformService']['transformMutation'](_0x3f6565,_0x5504af,!0x1);if(_0x2cb5ce(_0x1b16ca))throw _0x1b16ca[_0x3ecc2d(0xb9)];_0x3e6d93['set'](_0x1e0e37,{..._0x2c7419,'ranges':_0x1b16ca['m2Prime']['params'][_0x3ecc2d(0xbb)]});}queueMicrotask(()=>{const _0xa927a6=_0x3ecc2d;this[_0xa927a6(0x8f)][_0xa927a6(0x1ec)](_0x3e6d93);});})));}[_0x23ff9b(0x173)](_0x95d2f6){const _0x48cb64=_0x23ff9b;var _0x420be2,_0x10e2bc;const {memberID:_0x3f3176,selection:_0x3bd0b6}=_0x95d2f6[_0x48cb64(0x1d7)],_0x4aff61=ui(_0x3bd0b6),_0x45fd16=(_0x10e2bc=(_0x420be2=this[_0x48cb64(0x1d2)][_0x48cb64(0x1ce)](this['unitID'],_0x3f3176))==null?void 0x0:_0x420be2[_0x48cb64(0x194)])!=null?_0x10e2bc:_0x48cb64(0x18a),_0x49b0fd={'color':this[_0x48cb64(0x176)][_0x48cb64(0x15d)](_0x3f3176),'name':_0x45fd16,'ranges':_0x4aff61},_0x523b8f=this[_0x48cb64(0x185)];_0x523b8f[_0x48cb64(0x144)](_0x3f3176,_0x49b0fd),this[_0x48cb64(0x8f)][_0x48cb64(0x1ec)](_0x523b8f);}[_0x23ff9b(0x89)](_0x399b63){const _0x4df15d=_0x23ff9b,{memberID:_0x43b4e4}=_0x399b63[_0x4df15d(0x1d7)],_0x16f4df=this[_0x4df15d(0x185)];_0x16f4df[_0x4df15d(0x223)](_0x43b4e4),this[_0x4df15d(0x8f)]['next'](_0x16f4df);}['_toggleOnline'](){const _0xa15b37=_0x23ff9b;var _0xbe3e34;if(this[_0xa15b37(0x24f)]=!0x0,((_0xbe3e34=this[_0xa15b37(0x1cd)][_0xa15b37(0x19e)]())==null?void 0x0:_0xbe3e34[_0xa15b37(0x15b)]())!==this[_0xa15b37(0xb4)])return;const _0x594ab4=this[_0xa15b37(0x25e)][_0xa15b37(0xe1)](_0x312df4)[_0xa15b37(0x1d3)]();Array['isArray'](_0x594ab4)&&_0x594ab4[_0xa15b37(0x1f4)]>0x0&&this[_0xa15b37(0x7c)](_0x594ab4);}['_toggleOffline'](){const _0x21e6e8=_0x23ff9b;this[_0x21e6e8(0x24f)]=!0x1;}};Ne=fi([U(0x2,_0xd50dcd(_0x8ce219)),U(0x3,_0xd50dcd(He)),U(0x4,_0xd50dcd(_0x1e6aed)),U(0x5,_0xd50dcd(je)),U(0x6,_0x49f577),U(0x7,_0x1c8a5a),U(0x8,_0x53b5ba)],Ne);var gi=Object[_0x23ff9b(0xe8)],vi=(_0xcd955c,_0xfa782c,_0x363528,_0x4877ef)=>{const _0x45b9b3=_0x23ff9b;for(var _0x276553=_0x4877ef>0x1?void 0x0:_0x4877ef?gi(_0xfa782c,_0x363528):_0xfa782c,_0x503219=_0xcd955c[_0x45b9b3(0x1f4)]-0x1,_0x2c646e;_0x503219>=0x0;_0x503219--)(_0x2c646e=_0xcd955c[_0x503219])&&(_0x276553=_0x2c646e(_0x276553)||_0x276553);return _0x276553;},x=(_0x4530e5,_0x2b34be)=>(_0xc8e900,_0x40f711)=>_0x2b34be(_0xc8e900,_0x40f711,_0x4530e5);const Ii=0x12c,pi=0x64,Ci=()=>{let _0x4b0eae=[],_0x1f5e50=!0x1;return _0x3c5134=>{_0x4b0eae['push'](_0x3c5134),_0x1f5e50||(_0x1f5e50=!0x0,setTimeout(()=>{const _0x5dbc79=_0x4b78;_0x4b0eae[_0x5dbc79(0x222)](_0x1e64ff=>_0x1e64ff()),_0x4b0eae=[],_0x1f5e50=!0x1;}));};};let we=class extends _0x1fd355{constructor(_0x430ffc,_0x34456d,_0x4ce286,_0x3f7967,_0x29bb2b,_0x2b7872,_0x593926,_0x8dec0){const _0x5a4cb2=_0x23ff9b;super(),h(this,_0x5a4cb2(0x24f),!0x1),h(this,_0x5a4cb2(0x16f),!0x1),h(this,'_cursorInfo$',new _0x3de8b5(new Map())),h(this,_0x5a4cb2(0x13a),this[_0x5a4cb2(0x8f)][_0x5a4cb2(0x13e)]()),h(this,_0x5a4cb2(0x151),new _0x3de8b5([])),h(this,_0x5a4cb2(0x115),this['_roomMembers$'][_0x5a4cb2(0x24d)](_0x3d5e13(Ii))),h(this,_0x5a4cb2(0x7c),_0x243cd5((_0x34f8cf,_0x364a4a)=>{const _0x5e78a5=_0x5a4cb2,_0x4000d9={'eventID':_0x3e60bd['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x5e78a5(0xdc)][_0x5e78a5(0x1c7)](),'selection':_0x432398(_0x34f8cf,_0x364a4a['range'])}};this[_0x5e78a5(0xdc)][_0x5e78a5(0x203)](_0x4000d9,this[_0x5e78a5(0xb4)]);},pi)),(this['unitID']=_0x430ffc,this['_session']=_0x34456d,this[_0x5a4cb2(0x25e)]=_0x4ce286,this[_0x5a4cb2(0x176)]=_0x3f7967,this[_0x5a4cb2(0x1d2)]=_0x29bb2b,this[_0x5a4cb2(0x1cd)]=_0x2b7872,this[_0x5a4cb2(0x1fc)]=_0x593926,this[_0x5a4cb2(0x12b)]=_0x8dec0);}get[_0x23ff9b(0x185)](){const _0x5c34b4=_0x23ff9b;return this['_cursorInfo$'][_0x5c34b4(0x1c3)]();}get[_0x23ff9b(0x8c)](){const _0x3a5e75=_0x23ff9b;return this[_0x3a5e75(0x151)][_0x3a5e75(0x1c3)]();}[_0x23ff9b(0x244)](){const _0x5aa224=_0x23ff9b;super[_0x5aa224(0x244)](),this[_0x5aa224(0x8f)][_0x5aa224(0x1ec)](new Map()),this[_0x5aa224(0x8f)][_0x5aa224(0x25c)](),this[_0x5aa224(0x151)][_0x5aa224(0x1ec)]([]),this[_0x5aa224(0x151)][_0x5aa224(0x25c)]();}[_0x23ff9b(0x25b)](){const _0x2bb883=_0x23ff9b;this[_0x2bb883(0x16f)]||(this[_0x2bb883(0x16f)]=!0x0,this[_0x2bb883(0xdc)][_0x2bb883(0x1a7)]['pipe'](_0x1c0f4d(this[_0x2bb883(0x9d)]))['subscribe'](_0x1c5828=>{const _0x1e4a77=_0x2bb883;_0x1c5828===_0x30b592[_0x1e4a77(0x269)]?this[_0x1e4a77(0xee)]():this['_toggleOffline']();}),this[_0x2bb883(0xdc)][_0x2bb883(0x259)][_0x2bb883(0x24d)](_0x1c0f4d(this[_0x2bb883(0x9d)]))[_0x2bb883(0xa6)](_0x206cbf=>{const _0x4f1948=_0x2bb883,_0x5eb99e=_0x206cbf[_0x4f1948(0x213)];_0x5eb99e===_0x3e60bd[_0x4f1948(0x237)]&&this[_0x4f1948(0x173)](_0x206cbf),_0x5eb99e===_0x3e60bd[_0x4f1948(0x1be)]&&this[_0x4f1948(0x89)](_0x206cbf);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x2bb883(0x1fc)][_0x2bb883(0xda)](_0x3f85c3=>{const _0x53a6ea=_0x2bb883;if(this[_0x53a6ea(0x24f)]&&_0x3f85c3['id']===_0x556967['id']&&_0x3f85c3[_0x53a6ea(0x1f0)][_0x53a6ea(0x1fa)]===this[_0x53a6ea(0xb4)]){const _0x4182fc=_0x3f85c3['params'];this[_0x53a6ea(0x7c)](_0x4182fc[_0x53a6ea(0x98)],_0x4182fc[_0x53a6ea(0x117)][0x0]);}})));}['_onCursorUpdate'](_0x56926f){const _0x3ef7aa=_0x23ff9b;var _0x423ff4,_0x4c598e;const {memberID:_0x370e7d,selection:_0x4adb25}=_0x56926f[_0x3ef7aa(0x1d7)],{sheetName:_0x2bd0b4,range:_0x491f5b}=_0xac2669(_0x4adb25),_0x20d2c1={'name':(_0x4c598e=(_0x423ff4=this['_memberService'][_0x3ef7aa(0x1ce)](this['unitID'],_0x370e7d))==null?void 0x0:_0x423ff4[_0x3ef7aa(0x194)])!=null?_0x4c598e:_0x3ef7aa(0x18a),'range':this[_0x3ef7aa(0x12d)](_0x2bd0b4,_0x491f5b),'sheetID':_0x2bd0b4,'color':this['_colorAssignService'][_0x3ef7aa(0x15d)](_0x370e7d),'selection':_0x4adb25},_0x190278=this[_0x3ef7aa(0x185)];_0x190278['set'](_0x370e7d,_0x20d2c1),this[_0x3ef7aa(0x8f)]['next'](_0x190278);}['_onCursorDelete'](_0x49133b){const _0x1a87e7=_0x23ff9b,{memberID:_0x3dc14b}=_0x49133b[_0x1a87e7(0x1d7)],_0x54818d=this[_0x1a87e7(0x185)];_0x54818d['delete'](_0x3dc14b),this[_0x1a87e7(0x8f)]['next'](_0x54818d);}[_0x23ff9b(0x12d)](_0x2fdd6f,_0x5b1eae){const _0x26d6a3=_0x23ff9b;var _0x549e30,_0x4f19d0;const _0x51cd9a=(_0x4f19d0=(_0x549e30=this[_0x26d6a3(0x1cd)][_0x26d6a3(0xd8)](this['unitID']))==null?void 0x0:_0x549e30['getSheetBySheetId'](_0x2fdd6f))==null?void 0x0:_0x4f19d0[_0x26d6a3(0x21c)]();return(_0x51cd9a==null?void 0x0:_0x51cd9a[_0x26d6a3(0x264)](_0x3a16c8=>_0x37b674['contains'](_0x3a16c8,_0x5b1eae)))||_0x5b1eae;}[_0x23ff9b(0x198)](){const _0x5e5aef=_0x23ff9b,_0x4734f1=new _0x5c60c1(),_0x55bd57=Ci(),_0x243f78=()=>{const _0x20b145=_0x4b78;_0x4734f1[_0x20b145(0x244)]();const _0x5730f7=(_0xabc745,_0x13d08c,_0x13522b,_0x487efc)=>{const _0x540ece=_0x20b145;let _0x2be3cc=[];switch(_0xabc745['id']){case _0x55d3b7['DeleteRangeMoveLeftCommandId']:{_0x2be3cc=_0x300843(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x157)]:{_0x2be3cc=_0x27968f(_0xabc745,_0x487efc);break;}case _0x55d3b7['InsertColCommandId']:{_0x2be3cc=_0x5051d8(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x79)]:{_0x2be3cc=_0x94f7f0(_0xabc745,_0x487efc);break;}case _0x55d3b7['InsertRangeMoveRightCommandId']:{_0x2be3cc=_0x37251f(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x1bf)]:{_0x2be3cc=_0x1f4dfe(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x13f)]:{_0x2be3cc=_0x5e7e62(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0x255)]:{_0x2be3cc=_0x4c91ca(_0xabc745,_0x487efc);break;}case _0x55d3b7[_0x540ece(0xa3)]:{_0x2be3cc=_0xa7c699(_0xabc745,_0x487efc);break;}}const _0x2d3d95=_0x279240(_0x2be3cc,_0x487efc),_0x1a1e32=this['cursorInfo'][_0x540ece(0xe1)](_0x13d08c);if(_0x1a1e32&&_0x2d3d95){const _0x4d8b4e={..._0x1a1e32,'range':_0x2d3d95};this['cursorInfo'][_0x540ece(0x144)](_0x13d08c,_0x4d8b4e),_0x55bd57(()=>{const _0xb6523b=_0x540ece,_0x42767b=this[_0xb6523b(0x12b)][_0xb6523b(0xf2)](_0x2d3d95,_0x2f0e66=>(_0x42767b['dispose'](),_0x5730f7(_0x2f0e66,_0x13d08c,_0x13522b,_0x2d3d95)));_0x4734f1['add'](_0x42767b);});}return{'redos':[],'undos':[]};};this[_0x20b145(0x185)][_0x20b145(0x222)]((_0x4468fc,_0xb56eb5)=>{const _0x535b80=_0x20b145,{range:_0x41278d,sheetID:_0x6c542a}=_0x4468fc,_0x3353bb=this['_refRangeService'][_0x535b80(0xf2)](_0x41278d,_0x359ac5=>(_0x3353bb['dispose'](),_0x5730f7(_0x359ac5,_0xb56eb5,_0x6c542a,_0x41278d)));_0x4734f1['add'](_0x3353bb);});};this[_0x5e5aef(0x20c)](_0x1a3234(this[_0x5e5aef(0x8f)][_0x5e5aef(0xa6)](()=>{_0x243f78();})));}[_0x23ff9b(0xee)](){const _0x3fc34e=_0x23ff9b;var _0x132142,_0x315d1e;if(this['_online']=!0x0,((_0x132142=this[_0x3fc34e(0x1cd)]['getFocusedUnit']())==null?void 0x0:_0x132142[_0x3fc34e(0x15b)]())!==this[_0x3fc34e(0xb4)])return;const _0x328223=(_0x315d1e=this[_0x3fc34e(0x25e)][_0x3fc34e(0xe1)](_0x278c4e)[_0x3fc34e(0x190)]())==null?void 0x0:_0x315d1e[0x0],_0x24e404=this[_0x3fc34e(0x1cd)]['getCurrentUnitForType'](_0x149593[_0x3fc34e(0x73)])[_0x3fc34e(0x1b4)]();_0x328223&&_0x24e404&&this[_0x3fc34e(0x7c)](_0x24e404[_0x3fc34e(0x1b2)](),_0x328223);}[_0x23ff9b(0x1b8)](){const _0x2b54b0=_0x23ff9b;this[_0x2b54b0(0x24f)]=!0x1;}};we=vi([x(0x2,_0xd50dcd(_0x8ce219)),x(0x3,_0xd50dcd(He)),x(0x4,_0xd50dcd(_0x1e6aed)),x(0x5,_0x1c8a5a),x(0x6,_0x53b5ba),x(0x7,_0xd50dcd(_0x28bb15))],we);var bi=Object[_0x23ff9b(0xe8)],Ei=(_0x44f815,_0xea8596,_0x322c01,_0x3af2a2)=>{const _0x469128=_0x23ff9b;for(var _0x53161b=_0x3af2a2>0x1?void 0x0:_0x3af2a2?bi(_0xea8596,_0x322c01):_0xea8596,_0x55d640=_0x44f815[_0x469128(0x1f4)]-0x1,_0x3abfa3;_0x55d640>=0x0;_0x55d640--)(_0x3abfa3=_0x44f815[_0x55d640])&&(_0x53161b=_0x3abfa3(_0x53161b)||_0x53161b);return _0x53161b;},me=(_0xe0b36,_0x860ad3)=>(_0x2cd425,_0x3c202f)=>_0x860ad3(_0x2cd425,_0x3c202f,_0xe0b36);let H=class extends _0x1fd355{constructor(_0x3a5837,_0x471a79,_0xc20e2c){const _0x1c9c8=_0x23ff9b;super(),h(this,'_entities',new Map()),h(this,'_entityInit$',new _0x10a984()),(this[_0x1c9c8(0x1cd)]=_0x3a5837,this[_0x1c9c8(0x25e)]=_0x471a79,this[_0x1c9c8(0x22d)]=_0xc20e2c,this[_0x1c9c8(0x16f)]());}[_0x23ff9b(0x244)](){const _0x17b1cd=_0x23ff9b;super[_0x17b1cd(0x244)](),this[_0x17b1cd(0x233)][_0x17b1cd(0x25c)](),this['_entities'][_0x17b1cd(0x222)](_0x570866=>_0x570866['dispose']());}[_0x23ff9b(0x14e)](_0x5d8c75){const _0x8c0d3d=_0x23ff9b;return this[_0x8c0d3d(0xc8)][_0x8c0d3d(0x232)](_0x5d8c75)?this[_0x8c0d3d(0xc8)][_0x8c0d3d(0xe1)](_0x5d8c75)[_0x8c0d3d(0x13a)]:this[_0x8c0d3d(0x233)][_0x8c0d3d(0x24d)](_0x1d88bc(_0x5ce0dd=>_0x5ce0dd[_0x8c0d3d(0xb4)]===_0x5d8c75),_0x13c98e(_0x82073c=>_0x82073c['cursorInfo$']));}['_init'](){const _0x451972=_0x23ff9b;this[_0x451972(0x1cd)][_0x451972(0x1c5)](_0x149593[_0x451972(0x73)])[_0x451972(0x24d)](_0x1c0f4d(this[_0x451972(0x9d)]))[_0x451972(0xa6)](async _0x437148=>{const _0x426915=_0x451972,_0x3761ba=_0x437148['getUnitId'](),_0x2ac7a7=await this[_0x426915(0xfc)](_0x3761ba);this[_0x426915(0x233)][_0x426915(0x1ec)](_0x2ac7a7),this['_entities'][_0x426915(0x144)](_0x3761ba,_0x2ac7a7);}),this[_0x451972(0x1cd)][_0x451972(0x1c5)](_0x149593[_0x451972(0x25f)])[_0x451972(0x24d)](_0x1c0f4d(this[_0x451972(0x9d)]))[_0x451972(0x24d)](_0x1d88bc(_0x2b0087=>!_0x2b0087[_0x451972(0x15b)]()[_0x451972(0x7e)]('__')))[_0x451972(0xa6)](async _0x973cd4=>{const _0x3f77f2=_0x451972,_0x5b0b71=_0x973cd4['getUnitId'](),_0x2202e2=await this[_0x3f77f2(0xec)](_0x5b0b71);this['_entityInit$']['next'](_0x2202e2),this[_0x3f77f2(0xc8)]['set'](_0x5b0b71,_0x2202e2);}),_0x5219b5(this[_0x451972(0x1cd)]['getTypeOfUnitDisposed$'](_0x149593[_0x451972(0x25f)]),this[_0x451972(0x1cd)][_0x451972(0x120)](_0x149593['UNIVER_SHEET']))[_0x451972(0x24d)](_0x1c0f4d(this['dispose$']))[_0x451972(0xa6)](_0x4a71c8=>{const _0x59db02=_0x451972,_0x5cfb19=_0x4a71c8[_0x59db02(0x15b)](),_0x227d10=this['_entities'][_0x59db02(0xe1)](_0x5cfb19);_0x227d10&&(_0x227d10[_0x59db02(0x244)](),this[_0x59db02(0xc8)][_0x59db02(0x223)](_0x5cfb19));});}async[_0x23ff9b(0xfc)](_0x286ca2){const _0x18296e=_0x23ff9b,_0x275166=await this[_0x18296e(0x22d)][_0x18296e(0xf6)](_0x286ca2),_0xb6a1b1=this['_injector']['createInstance'](we,_0x286ca2,_0x275166);return _0xb6a1b1[_0x18296e(0x25b)](),_0xb6a1b1;}async['_startDocCollabCursor'](_0x54dfb1){const _0x19600d=_0x23ff9b,_0x4cbc1d=await this[_0x19600d(0x22d)]['requireSession'](_0x54dfb1),_0x1c28ad=this[_0x19600d(0x25e)][_0x19600d(0x1ab)](Ne,_0x54dfb1,_0x4cbc1d);return _0x1c28ad[_0x19600d(0x25b)](),_0x1c28ad;}};H=Ei([me(0x0,_0x1c8a5a),me(0x1,_0xd50dcd(_0x8ce219)),me(0x2,_0xd50dcd(_0xce6fa8))],H);const te=0x14,Qe=0xc8,ge=0x4,Oi=0x5;function Ti(_0x25b35f,_0xf88c78){const _0x31c8be=_0x23ff9b;let {radius:_0x3ece06,width:_0x10d038,height:_0x3d3f20}=_0xf88c78;_0x3ece06=_0x3ece06!=null?_0x3ece06:0x0,_0x10d038=_0x10d038!=null?_0x10d038:0x1e,_0x3d3f20=_0x3d3f20!=null?_0x3d3f20:0x1e;let _0x4f4db7=0x0,_0xa2b181=0x0,_0x17e51b=0x0;_0x4f4db7=_0xa2b181=_0x17e51b=Math[_0x31c8be(0x1ba)](_0x3ece06,_0x10d038/0x2,_0x3d3f20/0x2),_0x25b35f[_0x31c8be(0xf8)](),_0x25b35f[_0x31c8be(0x1eb)](_0x4f4db7,0x0),_0x25b35f[_0x31c8be(0x1c8)](_0x10d038-_0xa2b181,0x0),_0x25b35f[_0x31c8be(0x229)](_0x10d038-_0xa2b181,_0xa2b181,_0xa2b181,Math['PI']*0x3/0x2,0x0,!0x1),_0x25b35f[_0x31c8be(0x1c8)](_0x10d038,_0x3d3f20-_0x17e51b),_0x25b35f[_0x31c8be(0x229)](_0x10d038-_0x17e51b,_0x3d3f20-_0x17e51b,_0x17e51b,0x0,Math['PI']/0x2,!0x1),_0x25b35f[_0x31c8be(0x1c8)](0x0,_0x3d3f20),_0x25b35f[_0x31c8be(0x1c8)](0x0,_0x4f4db7),_0x25b35f[_0x31c8be(0x229)](_0x4f4db7,_0x4f4db7,_0x4f4db7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x25b35f[_0x31c8be(0x1e9)](),_0xf88c78[_0x31c8be(0x107)]&&(_0x25b35f['save'](),_0x25b35f['fillStyle']=_0xf88c78['fill'],_0xf88c78[_0x31c8be(0x25d)]===_0x31c8be(0xae)?_0x25b35f['fill'](_0x31c8be(0xae)):_0x25b35f[_0x31c8be(0x107)](),_0x25b35f['restore']());}class ue extends _0x14aaa8{constructor(_0x3f4573,_0x2909c1){const _0x123e07=_0x23ff9b;super(_0x3f4573,_0x2909c1),h(this,'color'),h(this,_0x123e07(0x9b)),(this[_0x123e07(0x104)]=_0x2909c1==null?void 0x0:_0x2909c1[_0x123e07(0x104)],this[_0x123e07(0x9b)]=_0x2909c1==null?void 0x0:_0x2909c1['text']);}static['drawWith'](_0x106848,_0x37cc5b){const _0x1239ed=_0x23ff9b,{text:_0x94f4ba,color:_0x59f4f1}=_0x37cc5b;_0x106848[_0x1239ed(0xd4)](),_0x106848[_0x1239ed(0xa8)]=_0x1239ed(0x1fe);const _0x2cc39e=_0x106848[_0x1239ed(0xfe)](_0x94f4ba)['width'],_0x29e9eb=Math[_0x1239ed(0x1ba)](_0x2cc39e+0x2*ge,Qe);Ti(_0x106848,{'height':te,'radius':0x4,'width':_0x29e9eb,'fill':_0x59f4f1}),_0x106848['fillStyle']=_0x1239ed(0xcc);const _0x7828a0=ge,_0x16c19e=te-Oi,_0x253439=Qe-0x2*ge;if(_0x2cc39e>_0x253439){let _0x8393f8='',_0xd7c83a=0x0;for(const _0x5d3435 of _0x94f4ba){const _0x4be9a3=_0x106848[_0x1239ed(0xfe)](_0x5d3435)[_0x1239ed(0x20f)];if(_0xd7c83a+_0x4be9a3<=_0x253439-_0x106848[_0x1239ed(0xfe)](_0x1239ed(0x192))[_0x1239ed(0x20f)])_0x8393f8+=_0x5d3435,_0xd7c83a+=_0x4be9a3;else{_0x8393f8+=_0x1239ed(0x192);break;}}_0x106848[_0x1239ed(0x18c)](_0x8393f8,_0x7828a0,_0x16c19e);}else _0x106848[_0x1239ed(0x18c)](_0x94f4ba,_0x7828a0,_0x16c19e);_0x106848[_0x1239ed(0x240)]();}[_0x23ff9b(0x1ad)](_0x19b1db){const _0xe02971=_0x23ff9b;ue[_0xe02971(0xea)](_0x19b1db,this);}}const ve=_0x23ff9b(0x23a),Ri=_0x23ff9b(0x152),Di=_0x23ff9b(0x214),V=0x6,Pi=1.5,Ie=0x4,Mi=1.5,Ni=_0x23ff9b(0x188);class et{constructor(_0x253a6c,_0x5e83b3,_0x3f30ab,_0x187207){const _0x2366ab=_0x23ff9b;h(this,'_shapes',[]),h(this,_0x2366ab(0x82),null),h(this,_0x2366ab(0x247),null),h(this,'_anchorDot',null),h(this,_0x2366ab(0x23f),null),h(this,_0x2366ab(0x1e8),null),(this[_0x2366ab(0xaf)]=_0x253a6c,this[_0x2366ab(0x224)]=_0x5e83b3,this[_0x2366ab(0x230)]=_0x3f30ab,this['_document']=_0x187207,this[_0x2366ab(0x1df)]());}set[_0x23ff9b(0x25a)](_0x4936a2){const _0x426508=_0x23ff9b;_0x4936a2?(this['_anchorDot']&&this[_0x426508(0xb6)][_0x426508(0x138)](),this[_0x426508(0x247)]&&this['_textBubble'][_0x426508(0x11e)]()):(this[_0x426508(0xb6)]&&this[_0x426508(0xb6)][_0x426508(0x11e)](),this[_0x426508(0x247)]&&this['_textBubble']['hide']());}['dispose'](){const _0x36100e=_0x23ff9b;for(const _0x341fa7 of this[_0x36100e(0x10a)])_0x341fa7[_0x36100e(0x244)]();this[_0x36100e(0x247)]&&this[_0x36100e(0x247)][_0x36100e(0x244)](),this['_anchorDot']&&this[_0x36100e(0xb6)][_0x36100e(0x244)](),this[_0x36100e(0x82)]&&this[_0x36100e(0x82)][_0x36100e(0x244)](),this[_0x36100e(0x1e8)]&&this['_eventUnsubscribe']();}[_0x23ff9b(0x1df)](){const _0x50c62c=_0x23ff9b;var _0x5aa70b;const {_docSkeleton:_0x5cd3c6,_document:_0xed715a}=this,{color:_0x413bf5,name:_0xfed329,ranges:_0x1e6d36}=this[_0x50c62c(0xaf)],_0x4ed3c1=_0xed715a[_0x50c62c(0x172)](),{docsLeft:_0x2df656,docsTop:_0x5edcbc}=_0x4ed3c1,_0x2dd21e=new _0x176d42(_0x4ed3c1,_0x5cd3c6);for(const {startOffset:_0x19e45b,endOffset:_0x18c9ac,rangeType:_0xd49ef,segmentId:_0x58fb2f,segmentPage:_0x349ee6,collapsed:_0x315209,isActive:_0x40b981}of _0x1e6d36){const _0x4bef3a=_0x5cd3c6[_0x50c62c(0x221)](_0x19e45b,!0x0,_0x58fb2f,_0x349ee6);let _0x5e2039=_0x5cd3c6[_0x50c62c(0x221)](_0x18c9ac,!0x0,_0x58fb2f,_0x349ee6);if(_0x5e2039==null&&(_0x5e2039=_0x5cd3c6['findNodePositionByCharIndex'](_0x18c9ac-0x1,!0x1,_0x58fb2f,_0x349ee6)),_0x40b981){const {contentBoxPointGroup:_0x217641}=_0x2dd21e[_0x50c62c(0x133)](_0x5e2039,_0x5e2039);if(_0x217641[_0x50c62c(0x1f4)]===0x0)continue;this[_0x50c62c(0x220)](_0x413bf5,_0x217641,_0x2df656,_0x5edcbc,_0xfed329),this['_eventUnsubscribe']=this[_0x50c62c(0x95)]();}if(_0x4bef3a&&_0x5e2039){if(_0xd49ef===_0x33c34c['RECT']){const _0x230dc0=new _0x37153b(_0x4ed3c1,_0x5cd3c6),{pointGroup:_0x499276}=(_0x5aa70b=_0x230dc0[_0x50c62c(0x133)](_0x4bef3a,_0x5e2039))!=null?_0x5aa70b:{};if(_0x499276==null||_0x499276[_0x50c62c(0x1f4)]===0x0)continue;this[_0x50c62c(0x101)](_0x413bf5,_0x499276,_0x2df656,_0x5edcbc);}else{if(!_0x315209){const {borderBoxPointGroup:_0x5dc8b2}=_0x2dd21e[_0x50c62c(0x133)](_0x4bef3a,_0x5e2039);if(_0x5dc8b2['length']===0x0)continue;this[_0x50c62c(0x182)](_0x413bf5,_0x5dc8b2,_0x2df656,_0x5edcbc);}}}}}[_0x23ff9b(0x220)](_0x558eee,_0x230b16,_0xf248f4,_0x393e2e,_0x2e4ce2){const _0x35ebce=_0x23ff9b,_0x24bfb2=this[_0x35ebce(0x251)](_0x230b16),{left:_0x534eea,top:_0x13e8ad,height:_0x51cd23}=_0x24bfb2,_0x1dec6d=this[_0x35ebce(0x103)](),_0x2f5e78=Mi/_0x1dec6d,_0x410c28=new _0x1e54b6(ve+_0x51080d[_0x35ebce(0x1d4)](V),{'left':_0x534eea+_0xf248f4-_0x2f5e78,'top':_0x13e8ad+_0x393e2e,'height':_0x51cd23,'width':Pi,'fill':_0x558eee||_0x4cfbce(_0x4c2b95[_0x35ebce(0x201)],0x0),'strokeWidth':_0x2f5e78,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x410c28,this['_scene'][_0x35ebce(0x11f)](_0x410c28,_0x427468);const _0x2f80c8=new _0x1e54b6(ve+_0x51080d[_0x35ebce(0x1d4)](V),{'left':_0x534eea+_0xf248f4-_0x2f5e78,'top':_0x13e8ad+_0x393e2e-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x558eee||_0x4cfbce(_0x4c2b95[_0x35ebce(0x201)],0x0),'strokeWidth':0x0,'stroke':_0x558eee||_0x4cfbce(_0x4c2b95[_0x35ebce(0x201)],0x0),'evented':!0x1});this[_0x35ebce(0xb6)]=_0x2f80c8,this[_0x35ebce(0x224)][_0x35ebce(0x11f)](_0x2f80c8,_0x427468);const _0xf1ab00=new ue(ve+_0x51080d[_0x35ebce(0x1d4)](V),{'left':_0x534eea+_0xf248f4-_0x2f5e78,'top':_0x13e8ad+_0x393e2e-te,'text':_0x2e4ce2,'color':_0x558eee});this[_0x35ebce(0x247)]=_0xf1ab00,this[_0x35ebce(0x224)][_0x35ebce(0x11f)](_0xf1ab00,_0x427468),this['_hover']=!0x1;}['_handleHover'](){const _0x221555=_0x23ff9b,_0x1a26ae=this['_anchor'][_0x221555(0x83)][_0x221555(0x161)](()=>{const _0x35953b=_0x221555;this[_0x35953b(0x25a)]=!0x0;}),_0xf28020=this[_0x221555(0x82)][_0x221555(0x92)][_0x221555(0x161)](()=>{const _0x1800e0=_0x221555;this[_0x1800e0(0x23f)]&&clearTimeout(this['_hideTimer']),this[_0x1800e0(0x23f)]=setTimeout(()=>{const _0x2e679e=_0x1800e0;this[_0x2e679e(0x25a)]=!0x1;},0x7d0);});return()=>{const _0x5e43e5=_0x221555;_0x1a26ae[_0x5e43e5(0x128)](),_0xf28020[_0x5e43e5(0x128)]();};}[_0x23ff9b(0x182)](_0x375779,_0x5c410f,_0x1d2d72,_0x4fff56){const _0x2cdefd=_0x23ff9b,_0x15c75e=new _0x156116(_0x375779)[_0x2cdefd(0xd9)](0.2)[_0x2cdefd(0x164)](),_0xd09668=new _0x10e032(Ri+_0x51080d[_0x2cdefd(0x1d4)](V),{'pointsGroup':_0x5c410f,'fill':_0x15c75e||_0x4cfbce(_0x4c2b95[_0x2cdefd(0x201)],0.2),'left':_0x1d2d72,'top':_0x4fff56,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cdefd(0x10a)][_0x2cdefd(0x8e)](_0xd09668),this['_scene'][_0x2cdefd(0x11f)](_0xd09668,_0x427468);}[_0x23ff9b(0x101)](_0xd8727c,_0x996cb7,_0x12eb03,_0x38c0d0){const _0x1f4f3d=_0x23ff9b,_0x32976f=new _0x156116(_0xd8727c)[_0x1f4f3d(0xd9)](0.2)[_0x1f4f3d(0x164)](),_0x457721=new _0x10e032(Di+_0x51080d[_0x1f4f3d(0x1d4)](V),{'pointsGroup':_0x996cb7,'fill':_0x32976f||_0x4cfbce(_0x4c2b95[_0x1f4f3d(0x201)],0.2),'left':_0x12eb03,'top':_0x38c0d0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f4f3d(0x10a)][_0x1f4f3d(0x8e)](_0x457721),this[_0x1f4f3d(0x224)][_0x1f4f3d(0x11f)](_0x457721,_0x427468);}[_0x23ff9b(0x251)](_0x14d95c){const _0x168125=_0x14d95c[0x0],_0x1d9e38=_0x168125[0x0],_0x4284bf=_0x168125[0x2],{x:_0x145357,y:_0x10e2a6}=_0x1d9e38,{x:_0x33de53,y:_0x23d91f}=_0x4284bf;return{'left':_0x145357,'top':_0x10e2a6,'width':_0x33de53-_0x145357,'height':_0x23d91f-_0x10e2a6};}[_0x23ff9b(0x103)](){const _0x46b211=_0x23ff9b,{scaleX:_0xe1753c,scaleY:_0x49a5f1}=this[_0x46b211(0x224)][_0x46b211(0x1a9)]();return Math['max'](_0xe1753c,_0x49a5f1);}}var wi=Object['getOwnPropertyDescriptor'],Ui=(_0x2e2d46,_0x10711a,_0x2c71cc,_0x1426fb)=>{const _0x5b7df5=_0x23ff9b;for(var _0x3adf03=_0x1426fb>0x1?void 0x0:_0x1426fb?wi(_0x10711a,_0x2c71cc):_0x10711a,_0x3ea86c=_0x2e2d46[_0x5b7df5(0x1f4)]-0x1,_0x11db31;_0x3ea86c>=0x0;_0x3ea86c--)(_0x11db31=_0x2e2d46[_0x3ea86c])&&(_0x3adf03=_0x11db31(_0x3adf03)||_0x3adf03);return _0x3adf03;},q=(_0x34b3a5,_0xcf2c47)=>(_0x3d4a09,_0x28b9d9)=>_0xcf2c47(_0x3d4a09,_0x28b9d9,_0x34b3a5);let Ue=class extends _0x1fd355{constructor(_0x7dfcba,_0x5032fa,_0x353154,_0x3e528f,_0x3708bf){const _0xd551e2=_0x23ff9b;super(),h(this,_0xd551e2(0x105),[]),h(this,_0xd551e2(0x10e),[]),(this[_0xd551e2(0x189)]=_0x7dfcba,this['_docSkeletonManagerService']=_0x5032fa,this[_0xd551e2(0x15e)]=_0x353154,this[_0xd551e2(0x1fc)]=_0x3e528f,this[_0xd551e2(0x11b)]=_0x3708bf,this[_0xd551e2(0x16f)]());}[_0x23ff9b(0x16f)](){const _0x532b31=_0x23ff9b,_0x3b90c6=this[_0x532b31(0x189)][_0x532b31(0x1fa)],_0x2d113b=this[_0x532b31(0xf9)];this[_0x532b31(0x20c)](_0x1e76ec([this[_0x532b31(0x15e)]['getCollabCursors$'](_0x3b90c6),this[_0x532b31(0x11b)][_0x532b31(0x8b)]])[_0x532b31(0x24d)](_0x3e2a29(([_0x9168fa,_0x2b08cf])=>({'skeleton':_0x2d113b[_0x532b31(0x180)](),'cursors':[..._0x9168fa[_0x532b31(0x196)]()]['flatMap'](_0x44c0b5=>({..._0x44c0b5,'color':_0x2b08cf[_0x44c0b5[_0x532b31(0x104)]]}))})))[_0x532b31(0xa6)](_0x48b793=>{const _0x3f2276=_0x532b31;if(this[_0x3f2276(0x23b)](),_0x48b793){const {skeleton:_0x44cc08,cursors:_0x1cf3a8}=_0x48b793;this[_0x3f2276(0xc0)](_0x44cc08,_0x1cf3a8);}})),this['_initResize'](),this[_0x532b31(0x121)]();}[_0x23ff9b(0xc0)](_0x5ebd4e,_0xceb71a){const _0xadd4e=_0x23ff9b,{scene:_0x196092,mainComponent:_0x132017}=this['_context'],_0x4a0ec0=_0xceb71a['map'](_0x79be9b=>new et(_0x79be9b,_0x196092,_0x5ebd4e,_0x132017));this['_cursorShapes']=_0x4a0ec0,this[_0xadd4e(0x10e)]=_0xceb71a;}['_refreshCollabCursors'](){const _0x22834e=_0x23ff9b;this[_0x22834e(0x23b)]();const {scene:_0x5c84fc,mainComponent:_0x51a4e9}=this[_0x22834e(0x189)],_0x517e68=this[_0x22834e(0xf9)][_0x22834e(0x180)](),_0x63d4a7=this[_0x22834e(0x10e)][_0x22834e(0x1c0)](_0x348da7=>new et(_0x348da7,_0x5c84fc,_0x517e68,_0x51a4e9));this[_0x22834e(0x105)]=_0x63d4a7;}[_0x23ff9b(0x23b)](){const _0x31fa2=_0x23ff9b;this[_0x31fa2(0x105)][_0x31fa2(0x222)](_0x5327e8=>_0x5327e8[_0x31fa2(0x244)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x4ca9b6=_0x23ff9b,_0x17a78e=[_0x18c470['id']];this[_0x4ca9b6(0x20c)](this['_commandService'][_0x4ca9b6(0xda)](_0x2373a4=>{const _0x4961b6=_0x4ca9b6;_0x17a78e[_0x4961b6(0xa2)](_0x2373a4['id'])&&_0x2373a4['params'][_0x4961b6(0x1fa)]===this[_0x4961b6(0x189)][_0x4961b6(0x1fa)]&&this[_0x4961b6(0x1a0)]();}));}['_initResize'](){const _0x1d957c=_0x23ff9b;this[_0x1d957c(0x20c)](_0x10720b(this[_0x1d957c(0x189)][_0x1d957c(0x160)][_0x1d957c(0xa7)])[_0x1d957c(0x24d)](_0x3df35f(_0x11c24a=>_0x11c24a[_0x1d957c(0x239)]===_0x46db6b['resize']),_0x56e452(0x10))[_0x1d957c(0xa6)](()=>{const _0xcbac70=_0x1d957c;this[_0xcbac70(0x1a0)]();}));}};Ue=Ui([q(0x1,_0xd50dcd(_0x56c1b1)),q(0x2,_0xd50dcd(H)),q(0x3,_0x53b5ba),q(0x4,_0xd50dcd(_0x22b1c4))],Ue);const Li=0x1,Ai=1.5;class yi extends _0x14aaa8{constructor(_0x57a033,_0x3d4486){const _0x50a478=_0x23ff9b;super(_0x57a033,_0x3d4486),h(this,_0x50a478(0x208)),h(this,_0x50a478(0xc3),!0x1),h(this,_0x50a478(0x24b)),h(this,_0x50a478(0x216),''),h(this,_0x50a478(0x113),_0x50a478(0x81)),h(this,_0x50a478(0x167)),(_0x3d4486&&this[_0x50a478(0x142)](_0x3d4486),this[_0x50a478(0x83)][_0x50a478(0x161)](()=>this[_0x50a478(0x142)]({'hovered':!0x0})),this[_0x50a478(0x92)][_0x50a478(0x161)](()=>this[_0x50a478(0x142)]({'hovered':!0x1})));}[_0x23ff9b(0x142)](_0x3f0cb5){const _0x508b23=_0x23ff9b;var _0x33d801,_0x6377f6,_0x4d4be7,_0x19598f,_0xb446e1,_0x35839f;this[_0x508b23(0x208)]=(_0x33d801=_0x3f0cb5[_0x508b23(0x104)])!=null?_0x33d801:this['_color'],this[_0x508b23(0xc3)]=(_0x6377f6=_0x3f0cb5[_0x508b23(0xc4)])!=null?_0x6377f6:this[_0x508b23(0xc3)],this[_0x508b23(0x24b)]=(_0x4d4be7=_0x3f0cb5[_0x508b23(0xdf)])!=null?_0x4d4be7:this[_0x508b23(0x24b)],this[_0x508b23(0x216)]=(_0x19598f=_0x3f0cb5[_0x508b23(0x194)])!=null?_0x19598f:this[_0x508b23(0x216)],this[_0x508b23(0x113)]=(_0xb446e1=_0x3f0cb5['labelPosition'])!=null?_0xb446e1:this[_0x508b23(0x113)],this[_0x508b23(0x167)]=(_0x35839f=_0x3f0cb5['backgroundColor'])!=null?_0x35839f:this[_0x508b23(0x167)],this['transformByState']({'width':_0x3f0cb5[_0x508b23(0x20f)],'height':_0x3f0cb5[_0x508b23(0x1d9)]});}[_0x23ff9b(0xdd)](_0x27d44a){const _0x518664=_0x23ff9b,{row:_0x12cc8c,column:_0x223ea3}=_0x27d44a;if(_0x12cc8c>=this['_range'][_0x518664(0x1cc)]&&_0x12cc8c<=this[_0x518664(0x24b)]['endRow']&&_0x223ea3>=this['_range'][_0x518664(0x1b0)]&&_0x223ea3<=this[_0x518664(0x24b)][_0x518664(0x257)]){this[_0x518664(0x142)]({'hovered':!0x0});return;}this[_0x518664(0x142)]({'hovered':!0x1});}[_0x23ff9b(0x184)](_0x140080){return!0x1;}['_draw'](_0x12b0d8){const _0x360a59=_0x23ff9b;_0x1e54b6[_0x360a59(0xea)](_0x12b0d8,{'width':this[_0x360a59(0x20f)],'height':this[_0x360a59(0x1d9)],'strokeWidth':Ai,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x360a59(0x167)]}),this['_hovered']&&(_0x12b0d8['save'](),_0x12b0d8[_0x360a59(0x126)](0x1,0x0,0x0,0x1,this[_0x360a59(0x20f)],this[_0x360a59(0x113)]===_0x360a59(0x146)?0x0:-0x14),ue['drawWith'](_0x12b0d8,{'text':this[_0x360a59(0x216)],'color':this[_0x360a59(0x208)]}),_0x12b0d8[_0x360a59(0x240)]());}}var $i=Object[_0x23ff9b(0xe8)],xi=(_0x2ffc20,_0xa823c8,_0x3c6873,_0x453c96)=>{const _0x38386b=_0x23ff9b;for(var _0x5cfd59=_0x453c96>0x1?void 0x0:_0x453c96?$i(_0xa823c8,_0x3c6873):_0xa823c8,_0x221178=_0x2ffc20[_0x38386b(0x1f4)]-0x1,_0x43c498;_0x221178>=0x0;_0x221178--)(_0x43c498=_0x2ffc20[_0x221178])&&(_0x5cfd59=_0x43c498(_0x5cfd59)||_0x5cfd59);return _0x5cfd59;},pe=(_0xdba6b5,_0x4b277a)=>(_0x4d4933,_0x5d0726)=>_0x4b277a(_0x4d4933,_0x5d0726,_0xdba6b5);const ki=0x1389;let Le=class extends _0x1fd355{constructor(_0x1816a1,_0x2532b8,_0x35745e,_0x34110a){const _0x24eb7f=_0x23ff9b;super(),h(this,_0x24eb7f(0x10e),new Set()),h(this,_0x24eb7f(0x12c),null),(this[_0x24eb7f(0x189)]=_0x1816a1,this[_0x24eb7f(0xb1)]=_0x2532b8,this[_0x24eb7f(0x15e)]=_0x35745e,this[_0x24eb7f(0x11b)]=_0x34110a,this['_init']());}[_0x23ff9b(0x16f)](){const _0x459f67=_0x23ff9b;this[_0x459f67(0xb1)][_0x459f67(0xcd)][_0x459f67(0x24d)](_0x368f80(this[_0x459f67(0x9d)]),_0x563ac8(_0x227c1d=>{const _0x71149=_0x459f67;if(_0x227c1d){const _0xf50a05=_0x227c1d[_0x71149(0x1b9)];return _0x1e76ec(this[_0x71149(0x15e)]['getCollabCursors$'](this['_context']['unitId']),this['_themeService'][_0x71149(0x8b)])[_0x71149(0x24d)](_0x3e2a29(([_0x3e5196,_0x425bdd])=>{const _0xc3825f=_0x71149,_0x2c9b89=new Map();return _0x3e5196[_0xc3825f(0x222)]((_0x1b4b95,_0x35eea8)=>{const _0x215e6a=_0xc3825f;if(_0x1b4b95['sheetID']===_0xf50a05){const _0x2db8b7={..._0x1b4b95};_0x2db8b7[_0x215e6a(0x104)]=_0x425bdd[_0x1b4b95[_0x215e6a(0x104)]],_0x2c9b89['set'](_0x35eea8,_0x2db8b7);}}),{'skeleton':_0x227c1d,'cursors':_0x2c9b89};}));}return _0x2c084f({'skeleton':null,'cursors':new Map()});}))[_0x459f67(0xa6)](({skeleton:_0x14080c,cursors:_0x3f567a})=>{const _0x1dea6c=_0x459f67;this[_0x1dea6c(0x23b)](),_0x14080c&&this['_updateCollabCursors'](_0x14080c,_0x3f567a);}),this[_0x459f67(0xb1)][_0x459f67(0xcd)][_0x459f67(0xa6)](_0x240257=>{const _0x23bfce=_0x459f67;if(_0x240257==null)return;const {skeleton:_0x5cf193}=_0x240257,{scene:_0x3fcb3e}=this[_0x23bfce(0x189)];_0x3fcb3e[_0x23bfce(0x72)][_0x23bfce(0x161)](_0x243cd5(_0x5e3986=>{const _0x535923=_0x23bfce;var _0x406acb,_0x4bca0f;const {offsetX:_0x214517,offsetY:_0x5df8dc}=_0x5e3986,{x:_0x4b536b,y:_0x119aaf}=_0x3fcb3e[_0x535923(0x250)](_0x427e4c['FromArray']([_0x214517,_0x5df8dc])),{scaleX:_0x135b26,scaleY:_0x109bd3}=_0x3fcb3e[_0x535923(0x1a9)](),_0x167ffd=_0x3fcb3e[_0x535923(0xa9)](_0x58b01f['VIEW_MAIN']),_0x4699b6=_0x3fcb3e[_0x535923(0xca)](_0x427e4c['FromArray']([_0x4b536b,_0x119aaf]),_0x167ffd),_0x355464=_0x5cf193[_0x535923(0x10d)](_0x214517,_0x5df8dc,_0x135b26,_0x109bd3,_0x4699b6);((_0x406acb=this['_lastPointer'])==null?void 0x0:_0x406acb[_0x535923(0x193)])===_0x355464[_0x535923(0x193)]&&((_0x4bca0f=this[_0x535923(0x12c)])==null?void 0x0:_0x4bca0f['row'])===_0x355464[_0x535923(0x10c)]||this[_0x535923(0x10e)][_0x535923(0x222)](_0x403201=>{_0x403201['onMouseMove'](_0x355464);});},0x64));});}[_0x23ff9b(0xc0)](_0x46feb0,_0x1189ec){const _0x456ad8=_0x23ff9b;var _0x9377a2;const _0x37be30=(_0x9377a2=this[_0x456ad8(0xb1)][_0x456ad8(0xe0)]())==null?void 0x0:_0x9377a2[_0x456ad8(0x88)];if(!_0x37be30)return;const _0x4a69d3=this['_getSheetObject']();if(!_0x4a69d3)return;this[_0x456ad8(0x10e)][_0x456ad8(0x222)](_0x12302b=>{const _0x23cd7c=_0x456ad8;_0x12302b[_0x23cd7c(0xd3)]();});const {scene:_0x3cbe24}=_0x4a69d3,_0xf144a=Bi(Array[_0x456ad8(0x14d)](_0x1189ec[_0x456ad8(0x196)]()))[_0x456ad8(0x1c0)](_0x2f4cff=>{const _0x4dbdc8=_0x456ad8,{color:_0x112419,range:_0x319f45,name:_0x18545b,selection:_0x45b341,sheetID:_0x27dfcd}=_0x2f4cff,{startColumn:_0x44513a,startRow:_0x186b4d,endColumn:_0x32a40b,endRow:_0x24aa58}=_0x319f45,_0x668310=_0x1e4ed8(_0x186b4d,_0x44513a,_0x3cbe24,_0x37be30),_0x50ffc3=_0x1e4ed8(_0x24aa58,_0x32a40b,_0x3cbe24,_0x37be30),{columnHeaderHeightAndMarginTop:_0x376ef6}=_0x37be30,{startX:_0x245ee3,startY:_0x2f6ed9}=_0x668310,{endX:_0x5e3777,endY:_0x2d08e7}=_0x50ffc3,_0x597206=_0x5e3777-_0x245ee3,_0x2df018=_0x2d08e7-_0x2f6ed9,_0xa444d3={'labelPosition':_0x2f6ed9-_0x376ef6>=te?_0x4dbdc8(0x81):'bottom','sheetID':_0x27dfcd,'range':_0x319f45,'color':_0x112419,'name':_0x18545b,'selection':_0x45b341,'left':_0x245ee3,'top':_0x2f6ed9,'width':_0x597206,'height':_0x2df018,'evented':!0x1,'zIndex':ki};return new yi(_0x18545b,_0xa444d3);});_0x3cbe24[_0x456ad8(0xed)](_0xf144a,Li),this[_0x456ad8(0x10e)]=new Set(_0xf144a);}['_removeCollabCursors'](){const _0x534909=_0x23ff9b;var _0x1b1241;(_0x1b1241=this[_0x534909(0x10e)])==null||_0x1b1241['forEach'](_0x2048f4=>_0x2048f4[_0x534909(0x244)]());}[_0x23ff9b(0x162)](){const _0x3d98c9=_0x23ff9b;return _0x2f4bbe(this[_0x3d98c9(0x189)][_0x3d98c9(0x147)],this['_context']);}};Le=xi([pe(0x1,_0xd50dcd(_0x412f9c)),pe(0x2,_0xd50dcd(H)),pe(0x3,_0xd50dcd(_0x22b1c4))],Le);function Bi(_0x5c9171){const _0x1d3fcb=_0x23ff9b,_0x5259a3=new Map();return _0x5c9171[_0x1d3fcb(0x222)](_0x686eb9=>{const _0x3c9eb9=_0x1d3fcb;if(_0x5259a3[_0x3c9eb9(0x232)](_0x686eb9['selection'])){const _0x3b4024=_0x5259a3[_0x3c9eb9(0xe1)](_0x686eb9[_0x3c9eb9(0x254)]);_0x3b4024['name']+=',\x20'+_0x686eb9['name'];}else _0x5259a3[_0x3c9eb9(0x144)](_0x686eb9[_0x3c9eb9(0x254)],_0x686eb9);}),Array['from'](_0x5259a3['values']());}var I=function(){const _0x2ed486=_0x23ff9b;return I=Object[_0x2ed486(0x118)]||function(_0x130878){const _0xa42c91=_0x2ed486;for(var _0x5dfbe2,_0x4f647e=0x1,_0x1e45d8=arguments['length'];_0x4f647e<_0x1e45d8;_0x4f647e++){_0x5dfbe2=arguments[_0x4f647e];for(var _0x25b4f3 in _0x5dfbe2)Object[_0xa42c91(0x1b3)][_0xa42c91(0x215)][_0xa42c91(0x26d)](_0x5dfbe2,_0x25b4f3)&&(_0x130878[_0x25b4f3]=_0x5dfbe2[_0x25b4f3]);}return _0x130878;},I[_0x2ed486(0x1af)](this,arguments);},Hi=function(_0x1ad8a4,_0x4fb76e){const _0x41276d=_0x23ff9b;var _0x58c119={};for(var _0x1ce235 in _0x1ad8a4)Object[_0x41276d(0x1b3)][_0x41276d(0x215)]['call'](_0x1ad8a4,_0x1ce235)&&_0x4fb76e[_0x41276d(0x231)](_0x1ce235)<0x0&&(_0x58c119[_0x1ce235]=_0x1ad8a4[_0x1ce235]);if(_0x1ad8a4!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x3a3c0c=0x0,_0x1ce235=Object[_0x41276d(0xe2)](_0x1ad8a4);_0x3a3c0c<_0x1ce235[_0x41276d(0x1f4)];_0x3a3c0c++)_0x4fb76e[_0x41276d(0x231)](_0x1ce235[_0x3a3c0c])<0x0&&Object[_0x41276d(0x1b3)][_0x41276d(0xc7)]['call'](_0x1ad8a4,_0x1ce235[_0x3a3c0c])&&(_0x58c119[_0x1ce235[_0x3a3c0c]]=_0x1ad8a4[_0x1ce235[_0x3a3c0c]]);}return _0x58c119;},We=_0x2a5173(function(_0x526229,_0x114f05){const _0x3e74ad=_0x23ff9b;var _0x5a2b18=_0x526229[_0x3e74ad(0x248)],_0x4bf489=_0x526229['id'],_0x24f4a7=_0x526229['className'],_0x954c19=_0x526229[_0x3e74ad(0xce)],_0x250b14=Hi(_0x526229,['icon','id',_0x3e74ad(0x149),'extend']),_0x5941bc=_0x3e74ad(0x108)[_0x3e74ad(0x227)](_0x4bf489,'\x20')[_0x3e74ad(0x227)](_0x24f4a7||'')[_0x3e74ad(0x13c)](),_0x395e5d=_0x9ab032('_'[_0x3e74ad(0x227)](Fi()));return Pt(_0x5a2b18,''[_0x3e74ad(0x227)](_0x4bf489),{'defIds':_0x5a2b18[_0x3e74ad(0xe3)],'idSuffix':_0x395e5d[_0x3e74ad(0x12e)]},I({'ref':_0x114f05,'className':_0x5941bc},_0x250b14),_0x954c19);});function Pt(_0x548a34,_0x50f47c,_0x12447c,_0x24c771,_0x47afe5){const _0x315eb2=_0x23ff9b;return _0x3f9b60(_0x548a34[_0x315eb2(0x125)],I(I({'key':_0x50f47c},ji(_0x548a34,_0x12447c,_0x47afe5)),_0x24c771),(Wi(_0x548a34,_0x12447c)[_0x315eb2(0x219)]||[])[_0x315eb2(0x1c0)](function(_0x2f2ef7,_0x497fa4){const _0x226ca1=_0x315eb2;return Pt(_0x2f2ef7,''[_0x226ca1(0x227)](_0x50f47c,'-')[_0x226ca1(0x227)](_0x548a34[_0x226ca1(0x125)],'-')[_0x226ca1(0x227)](_0x497fa4),_0x12447c,void 0x0,_0x47afe5);}));}function ji(_0x45a382,_0xb21b0e,_0x2dbf03){const _0x46fc3a=_0x23ff9b;var _0x5e53d6=I({},_0x45a382[_0x46fc3a(0xd0)]);_0x2dbf03!=null&&_0x2dbf03[_0x46fc3a(0x136)]&&_0x5e53d6[_0x46fc3a(0x107)]===_0x46fc3a(0x136)&&(_0x5e53d6[_0x46fc3a(0x107)]=_0x2dbf03[_0x46fc3a(0x136)]),_0x45a382['tag']==='mask'&&_0x5e53d6['id']&&(_0x5e53d6['id']=_0x5e53d6['id']+_0xb21b0e[_0x46fc3a(0x1f6)]),Object[_0x46fc3a(0x16d)](_0x5e53d6)[_0x46fc3a(0x222)](function(_0x29c5fe){const _0x2b57f8=_0x46fc3a;var _0x4dc73f=_0x29c5fe[0x0],_0x3aaac1=_0x29c5fe[0x1];_0x4dc73f==='mask'&&typeof _0x3aaac1==_0x2b57f8(0x143)&&(_0x5e53d6[_0x4dc73f]=_0x3aaac1[_0x2b57f8(0x243)](/url\(#(.*)\)/,_0x2b57f8(0x1c6)[_0x2b57f8(0x227)](_0xb21b0e[_0x2b57f8(0x1f6)],')')));});var _0x43d265=_0xb21b0e[_0x46fc3a(0xe3)];return!_0x43d265||_0x43d265[_0x46fc3a(0x1f4)]===0x0||(_0x45a382[_0x46fc3a(0x125)]===_0x46fc3a(0x1b7)&&_0x5e53d6['xlink:href']&&(_0x5e53d6[_0x46fc3a(0x21b)]=_0x5e53d6[_0x46fc3a(0x21b)]+_0xb21b0e[_0x46fc3a(0x1f6)]),Object[_0x46fc3a(0x16d)](_0x5e53d6)[_0x46fc3a(0x222)](function(_0x2fb263){const _0x1881a9=_0x46fc3a;var _0x40e897=_0x2fb263[0x0],_0x3f9935=_0x2fb263[0x1];typeof _0x3f9935==_0x1881a9(0x143)&&(_0x5e53d6[_0x40e897]=_0x3f9935[_0x1881a9(0x243)](/url\(#(.*)\)/,_0x1881a9(0x1c6)['concat'](_0xb21b0e[_0x1881a9(0x1f6)],')')));})),_0x5e53d6;}function Wi(_0x297dd7,_0x390e5c){const _0x17b4ed=_0x23ff9b;var _0x4c4998,_0x26f835=_0x390e5c[_0x17b4ed(0xe3)];return!_0x26f835||_0x26f835[_0x17b4ed(0x1f4)]===0x0?_0x297dd7:_0x297dd7[_0x17b4ed(0x125)]==='defs'&&(!((_0x4c4998=_0x297dd7['children'])===null||_0x4c4998===void 0x0)&&_0x4c4998[_0x17b4ed(0x1f4)])?I(I({},_0x297dd7),{'children':_0x297dd7[_0x17b4ed(0x219)]['map'](function(_0x5044e0){const _0x430ba9=_0x17b4ed;return typeof _0x5044e0[_0x430ba9(0xd0)]['id']==_0x430ba9(0x143)&&_0x26f835&&_0x26f835[_0x430ba9(0x231)](_0x5044e0['attrs']['id'])>-0x1?I(I({},_0x5044e0),{'attrs':I(I({},_0x5044e0[_0x430ba9(0xd0)]),{'id':_0x5044e0[_0x430ba9(0xd0)]['id']+_0x390e5c[_0x430ba9(0x1f6)]})}):_0x5044e0;})}):_0x297dd7;}function Fi(){const _0x576cd6=_0x23ff9b;return Math[_0x576cd6(0x211)]()[_0x576cd6(0x12f)](0x24)[_0x576cd6(0xb5)](0x2,0x8);}We['displayName']=_0x23ff9b(0x258);var Yi={'tag':_0x23ff9b(0x175),'attrs':{'fill':'none','viewBox':_0x23ff9b(0x77),'width':_0x23ff9b(0x242),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x23ff9b(0x134)},'children':[{'tag':_0x23ff9b(0x84),'attrs':{'stroke':'currentColor','d':_0x23ff9b(0x1ff),'strokeLinecap':'round','strokeLinejoin':_0x23ff9b(0x14c),'strokeWidth':1.2}}]},{'tag':_0x23ff9b(0x86),'attrs':{},'children':[{'tag':_0x23ff9b(0xd7),'attrs':{'id':_0x23ff9b(0x74)},'children':[{'tag':'path','attrs':{'fill':_0x23ff9b(0x16c),'d':_0x23ff9b(0x174)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x2a5173(function(_0x4b1798,_0x57bf8d){const _0x368f34=_0x23ff9b;return _0x3f9b60(We,Object[_0x368f34(0x118)]({},_0x4b1798,{'id':_0x368f34(0x1c2),'ref':_0x57bf8d,'icon':Yi}));});Mt['displayName']=_0x23ff9b(0x1de);var Xi={'tag':_0x23ff9b(0x175),'attrs':{'fill':_0x23ff9b(0xb0),'viewBox':_0x23ff9b(0xfa),'width':_0x23ff9b(0x242),'height':_0x23ff9b(0x242)},'children':[{'tag':'g','attrs':{'clipPath':_0x23ff9b(0x1f3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x23ff9b(0x14c),'strokeWidth':1.2}}]},{'tag':_0x23ff9b(0x86),'attrs':{},'children':[{'tag':_0x23ff9b(0xd7),'attrs':{'id':_0x23ff9b(0x1a8)},'children':[{'tag':_0x23ff9b(0x84),'attrs':{'fill':_0x23ff9b(0x16c),'d':'M0\x200H16V16H0z','transform':_0x23ff9b(0x111)}}]}]}],'defIds':[_0x23ff9b(0x1a8)]},Nt=_0x2a5173(function(_0x366452,_0x3ea718){const _0x3ddd05=_0x23ff9b;return _0x3f9b60(We,Object[_0x3ddd05(0x118)]({},_0x366452,{'id':_0x3ddd05(0x140),'ref':_0x3ea718,'icon':Xi}));});Nt[_0x23ff9b(0x1bd)]='OnLineSingle';function wt(_0x57dc4a){const _0x38aade=_0x23ff9b;var _0x4dcc6e,_0x4573e2,_0x4f5888='';if(typeof _0x57dc4a==_0x38aade(0x143)||typeof _0x57dc4a==_0x38aade(0xc5))_0x4f5888+=_0x57dc4a;else{if(typeof _0x57dc4a==_0x38aade(0x90)){if(Array[_0x38aade(0x21d)](_0x57dc4a)){var _0x319f8f=_0x57dc4a['length'];for(_0x4dcc6e=0x0;_0x4dcc6e<_0x319f8f;_0x4dcc6e++)_0x57dc4a[_0x4dcc6e]&&(_0x4573e2=wt(_0x57dc4a[_0x4dcc6e]))&&(_0x4f5888&&(_0x4f5888+='\x20'),_0x4f5888+=_0x4573e2);}else{for(_0x4573e2 in _0x57dc4a)_0x57dc4a[_0x4573e2]&&(_0x4f5888&&(_0x4f5888+='\x20'),_0x4f5888+=_0x4573e2);}}}return _0x4f5888;}function tt(){const _0x3f4d56=_0x23ff9b;for(var _0x5e748e,_0x35ae5e,_0x3d9971=0x0,_0x1f691c='',_0x5eec98=arguments[_0x3f4d56(0x1f4)];_0x3d9971<_0x5eec98;_0x3d9971++)(_0x5e748e=arguments[_0x3d9971])&&(_0x35ae5e=wt(_0x5e748e))&&(_0x1f691c&&(_0x1f691c+='\x20'),_0x1f691c+=_0x35ae5e);return _0x1f691c;}const Vi='univer-online-status-icon',Gi='univer-online-status-title',Ki='univer-online-status',zi='univer-online',Ji='univer-offline',G={'onlineStatusIcon':Vi,'onlineStatusTitle':Gi,'onlineStatus':Ki,'online':zi,'offline':Ji};function Zi(_0x1c5443){const _0x516539=_0x23ff9b;switch(_0x1c5443){case _0x3cfde1['OFFLINE']:return _0x516539(0x22f);case _0x3cfde1['CONFLICT']:return _0x516539(0xb3);case _0x3cfde1[_0x516539(0x1dd)]:return'collabStatus.fetchMiss';case _0x3cfde1[_0x516539(0xaa)]:return _0x516539(0x236);case _0x3cfde1['AWAITING']:case _0x3cfde1[_0x516539(0xe6)]:return _0x516539(0x16b);case _0x3cfde1[_0x516539(0x21a)]:case _0x3cfde1['PENDING']:return _0x516539(0x186);}}function qi(_0x1c917c){const _0xd06de1=_0x23ff9b,{status$:_0x5010f1}=_0x1c917c,_0x4c5447=_0x38f826(_0x5010f1,_0x3cfde1[_0xd06de1(0xaa)]),_0x50ef57=_0x3dc95d(_0xb5b2d6),_0x3a82ad=_0x3dc95d(_0xce6fa8),_0x33dfff=_0x4c5447!==_0x3cfde1[_0xd06de1(0xf0)],_0x4ab9cc=_0x50ef57['t'](Zi(_0x4c5447)),_0x1450dd=tt(G['onlineStatus'],{[G[_0xd06de1(0x1d5)]]:_0x33dfff,[G[_0xd06de1(0x1d1)]]:!_0x33dfff}),_0x440a3d=_0x33dfff?_0x2d8f0e(Nt,{}):_0x2d8f0e(Mt,{}),_0x859590=_0x5f2aa7(()=>{const _0x549c1c=_0xd06de1;_0x33dfff||_0x3a82ad[_0x549c1c(0x18d)]();},[_0x33dfff,_0x3a82ad]);function _0x16bcff(){const _0x1654e2=_0xd06de1;return _0x47ae1c('div',{'className':tt(_0x1450dd,_0x1654e2(0x17b)),'onClick':_0x859590,'children':[_0x2d8f0e(_0x1654e2(0x18e),{'className':G[_0x1654e2(0xd6)],'children':_0x440a3d}),_0x2d8f0e(_0x1654e2(0x18e),{'className':G[_0x1654e2(0x112)],'children':_0x4ab9cc})]});}return _0x33dfff?_0x16bcff():_0x2d8f0e(_0xdfabb5,{'title':_0x50ef57['t']('collab-client.tooltip.reconnect'),'children':_0x16bcff()});}var Qi=Object['getOwnPropertyDescriptor'],en=(_0x26e044,_0x758e49,_0x1295bc,_0x5ae514)=>{const _0x2b6a24=_0x23ff9b;for(var _0x546166=_0x5ae514>0x1?void 0x0:_0x5ae514?Qi(_0x758e49,_0x1295bc):_0x758e49,_0x49a211=_0x26e044[_0x2b6a24(0x1f4)]-0x1,_0x2eb856;_0x49a211>=0x0;_0x49a211--)(_0x2eb856=_0x26e044[_0x49a211])&&(_0x546166=_0x2eb856(_0x546166)||_0x546166);return _0x546166;},Q=(_0x39ae7c,_0x559306)=>(_0x5569b1,_0x2157aa)=>_0x559306(_0x5569b1,_0x2157aa,_0x39ae7c);let se=class extends _0x5e0670{constructor(_0x473503,_0x2bd1b6,_0x1126a1,_0x164830){const _0x406f32=_0x23ff9b;super(),h(this,_0x406f32(0x9a),new _0x3de8b5(_0x3cfde1[_0x406f32(0xaa)])),(this[_0x406f32(0x1cd)]=_0x473503,this['_injector']=_0x2bd1b6,this[_0x406f32(0x1a2)]=_0x1126a1,this[_0x406f32(0x15f)]=_0x164830,this[_0x406f32(0xf4)](),this[_0x406f32(0x197)]());}['_initStatusListener'](){const _0x3c095d=_0x23ff9b;this[_0x3c095d(0x20c)](this[_0x3c095d(0x1cd)]['focused$'][_0x3c095d(0x24d)](_0x13c98e(()=>{const _0x35c9fd=_0x3c095d,_0x36da19=this[_0x35c9fd(0x1cd)]['getFocusedUnit']();return _0x36da19?this[_0x35c9fd(0x1a2)]['getCollabEntity$'](_0x36da19[_0x35c9fd(0x15b)]()):_0x2c084f(null);}),_0x13c98e(_0x346684=>_0x346684?_0x346684[_0x3c095d(0x17f)]:_0x2c084f(_0x3cfde1[_0x3c095d(0xaa)])))['subscribe'](_0x5477d5=>{const _0x615ea5=_0x3c095d;this[_0x615ea5(0x9a)][_0x615ea5(0x1ec)](_0x5477d5);}));}[_0x23ff9b(0xf4)](){const _0x124b4b=_0x23ff9b;this['disposeWithMe'](this[_0x124b4b(0x15f)][_0x124b4b(0x210)](_0x328fad[_0x124b4b(0x17e)],()=>_0x3ce672(tn({'status$':this[_0x124b4b(0x9a)][_0x124b4b(0x13e)]()}),this[_0x124b4b(0x25e)])));}};se=en([Q(0x0,_0x1c8a5a),Q(0x1,_0xd50dcd(_0x8ce219)),Q(0x2,_0xd50dcd(_0x1eec7a)),Q(0x3,_0x59a6ed)],se);function tn(_0x6086e7){const {status$:_0x5099f8}=_0x6086e7;return function(){return _0x2d8f0e(qi,{'status$':_0x5099f8});};}var sn=Object[_0x23ff9b(0xe8)],nn=(_0x79bc53,_0xfb0b86,_0x594d58,_0x17dd9d)=>{for(var _0x43714e=_0x17dd9d>0x1?void 0x0:_0x17dd9d?sn(_0xfb0b86,_0x594d58):_0xfb0b86,_0x1faee0=_0x79bc53['length']-0x1,_0x47f57;_0x1faee0>=0x0;_0x1faee0--)(_0x47f57=_0x79bc53[_0x1faee0])&&(_0x43714e=_0x47f57(_0x43714e)||_0x43714e);return _0x43714e;},k=(_0x5e82d5,_0x4612f7)=>(_0x10ab9c,_0xd70c1a)=>_0x4612f7(_0x10ab9c,_0xd70c1a,_0x5e82d5);let ie=class extends _0x5e0670{constructor(_0x1aa3b2,_0x267fde,_0x3b8c64,_0x60127f,_0x2ab7b8,_0x357580){const _0x2c4eac=_0x23ff9b;super(),this['_beforeCloseService']=_0x1aa3b2,this[_0x2c4eac(0x234)]=_0x267fde,this[_0x2c4eac(0x170)]=_0x3b8c64,this[_0x2c4eac(0x21e)]=_0x60127f,this['_notificationService']=_0x2ab7b8,this[_0x2c4eac(0x1d6)]=_0x357580,this[_0x2c4eac(0x1e3)](),this[_0x2c4eac(0xde)]();}[_0x23ff9b(0x1e3)](){const _0x4054a1=_0x23ff9b;this[_0x4054a1(0x20c)](this[_0x4054a1(0x1f9)][_0x4054a1(0x148)](()=>{const _0x185a25=_0x4054a1;if(this[_0x185a25(0x234)][_0x185a25(0x11c)][_0x185a25(0x256)])return this[_0x185a25(0x1d6)]['t'](_0x185a25(0x97));}));}[_0x23ff9b(0xde)](){const _0x33bc55=_0x23ff9b;this[_0x33bc55(0x20c)](this[_0x33bc55(0x170)]['event$'][_0x33bc55(0xa6)](_0x5de985=>{const _0x9d8652=_0x33bc55;_0x5de985['id']===_0x222a16[_0x9d8652(0x1c1)]&&this['_messageService']['show']({'type':_0x3d4a36[_0x9d8652(0x135)],'content':this['_localeService']['t'](_0x9d8652(0x15c))}),_0x5de985['id']===_0x222a16[_0x9d8652(0x1f1)]&&this[_0x9d8652(0x21e)][_0x9d8652(0x11e)]({'type':_0x3d4a36[_0x9d8652(0x135)],'content':this[_0x9d8652(0x1d6)]['t'](_0x9d8652(0x85))}),_0x5de985['id']===_0x222a16[_0x9d8652(0x1a3)]&&this['_notificationService'][_0x9d8652(0x11e)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x9d8652(0x1d6)]['t'](_0x9d8652(0x1f7)),'type':_0x9d8652(0xb9),'duration':0x0}),_0x5de985['id']===_0x222a16['CONFLICT']&&this['_messageService'][_0x9d8652(0x11e)]({'type':_0x3d4a36[_0x9d8652(0x212)],'content':this[_0x9d8652(0x1d6)]['t']('collaboration.closeRoom')+'('+_0x5de985[_0x9d8652(0x1d7)]+')'}),_0x5de985['id']===_0x222a16[_0x9d8652(0xc6)]&&this[_0x9d8652(0x21e)]['show']({'type':_0x3d4a36[_0x9d8652(0x135)],'content':this[_0x9d8652(0x1d6)]['t'](_0x5de985['data']||'')}),_0x5de985['id']===_0x222a16['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x3d4a36[_0x9d8652(0x135)],'content':this[_0x9d8652(0x1d6)]['t'](_0x9d8652(0x1e4))}),_0x5de985['id']===_0x222a16[_0x9d8652(0x20d)]&&this[_0x9d8652(0x21e)][_0x9d8652(0x11e)]({'type':_0x3d4a36[_0x9d8652(0x212)],'content':this[_0x9d8652(0x1d6)]['t']('session.connection-failed')}),_0x5de985['id']===_0x222a16[_0x9d8652(0x22b)]&&this[_0x9d8652(0x21e)][_0x9d8652(0x11e)]({'type':_0x3d4a36[_0x9d8652(0x212)],'content':this[_0x9d8652(0x1d6)]['t']('session.collaboration-timeout')});}));}};ie=nn([k(0x0,_0x29d9c9),k(0x1,_0x3c8f5a),k(0x2,_0xd50dcd(_0x41f22d)),k(0x3,_0x155886),k(0x4,_0x55ef19),k(0x5,_0xd50dcd(_0xb5b2d6))],ie);const rn=_0x23ff9b(0x1ca),st={},Ut=_0x108fd3(_0x23ff9b(0x1c9));var on=Object[_0x23ff9b(0xe8)],an=(_0x1cfdf8,_0x26f80a,_0x5541e4,_0x587ce9)=>{for(var _0x4258fb=_0x587ce9>0x1?void 0x0:_0x587ce9?on(_0x26f80a,_0x5541e4):_0x26f80a,_0x1c94a3=_0x1cfdf8['length']-0x1,_0x2e7540;_0x1c94a3>=0x0;_0x1c94a3--)(_0x2e7540=_0x1cfdf8[_0x1c94a3])&&(_0x4258fb=_0x2e7540(_0x4258fb)||_0x4258fb);return _0x4258fb;},K=(_0x4b0062,_0x33e6a7)=>(_0x5956e0,_0x358f4a)=>_0x33e6a7(_0x5956e0,_0x358f4a,_0x4b0062);let ne=class extends _0x1fd355{constructor(_0x42f1c7,_0x9c29c8,_0x216462,_0x3f31f9,_0x528156){const _0x47c160=_0x23ff9b;super(),this[_0x47c160(0xbc)]=_0x42f1c7,this[_0x47c160(0xc2)]=_0x9c29c8,this[_0x47c160(0x1fc)]=_0x216462,this[_0x47c160(0x260)]=_0x3f31f9,_0x528156?_0x528156==null||_0x528156[_0x47c160(0xef)]()[_0x47c160(0x13b)](()=>this['_init']()):(this[_0x47c160(0xc2)][_0x47c160(0x154)](_0x47c160(0x262),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x47c160(0x16f)]());}async[_0x23ff9b(0x16f)](){const _0x1dde85=_0x23ff9b,_0x3d8d9c=this[_0x1dde85(0xbc)]['getParam'](_0x1dde85(0x147)),_0xe021e4=this[_0x1dde85(0xbc)][_0x1dde85(0x100)](_0x1dde85(0x239)),_0x294de3=this[_0x1dde85(0xbc)][_0x1dde85(0x100)](_0x1dde85(0x263));if(!_0x3d8d9c||!_0xe021e4){this[_0x1dde85(0xc2)][_0x1dde85(0x154)](_0x1dde85(0x262),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x309507=await this[_0x1dde85(0x260)][_0x1dde85(0x1b6)](_0x3d8d9c,Number(_0xe021e4),_0x294de3);_0x309507&&_0x309507 instanceof _0x4c6c97&&this['_setupSubUnitSync'](_0x309507);}async[_0x23ff9b(0x235)](_0x4f504c){const _0x70dfc2=_0x23ff9b;await this[_0x70dfc2(0x158)](_0x4f504c),_0x4f504c[_0x70dfc2(0xbd)][_0x70dfc2(0x24d)](_0x1c0f4d(this[_0x70dfc2(0x9d)]))['subscribe'](_0x53e060=>{const _0x17b8f4=_0x70dfc2;_0x53e060&&this[_0x17b8f4(0x18f)](_0x53e060);}),this[_0x70dfc2(0xbc)][_0x70dfc2(0x131)][_0x70dfc2(0x24d)](_0x1c0f4d(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4f504c));}[_0x23ff9b(0x18f)](_0x31e962,_0x4ff1f3=!0x1){const _0x194c86=_0x23ff9b,_0x2e7845=this[_0x194c86(0xbc)]['getParam']('subunit');_0x31e962[_0x194c86(0x1b2)]()!==_0x2e7845&&this['_urlService'][_0x194c86(0x22c)](_0x194c86(0x263),_0x31e962[_0x194c86(0x1b2)](),_0x4ff1f3);}async[_0x23ff9b(0x158)](_0x16f60e){const _0x5945cf=_0x23ff9b;var _0x2ced71;const _0x4184f9=this[_0x5945cf(0xbc)]['getParam'](_0x5945cf(0x263));if(!_0x4184f9||!_0x16f60e[_0x5945cf(0x19d)](_0x4184f9)){const _0x1efaf2=_0x16f60e[_0x5945cf(0x199)]()[0x0],_0x1f1ba8=_0x16f60e[_0x5945cf(0x19d)](_0x1efaf2);if(!_0x1f1ba8)return;this['_updateURLWithCurrentState'](_0x1f1ba8,!0x0),await this[_0x5945cf(0x1fc)][_0x5945cf(0xe4)](_0x54975b['id'],{'unitId':_0x16f60e[_0x5945cf(0x15b)](),'subUnitId':_0x1efaf2});return;}((_0x2ced71=_0x16f60e[_0x5945cf(0x1b4)]())==null?void 0x0:_0x2ced71[_0x5945cf(0x1b2)]())!==_0x4184f9&&await this[_0x5945cf(0x1fc)]['executeCommand'](_0x54975b['id'],{'unitId':_0x16f60e['getUnitId'](),'subUnitId':_0x4184f9});}};ne=an([K(0x0,Ut),K(0x1,_0x258406),K(0x2,_0x53b5ba),K(0x3,_0xd50dcd(_0x20e5b6)),K(0x4,_0x232a3e(_0x40301a))],ne);var cn=Object[_0x23ff9b(0xe8)],ln=(_0x5835be,_0x2a1173,_0x24a2ed,_0x37f6f1)=>{const _0xaa3dfd=_0x23ff9b;for(var _0x5785ae=_0x37f6f1>0x1?void 0x0:_0x37f6f1?cn(_0x2a1173,_0x24a2ed):_0x2a1173,_0x1c6d54=_0x5835be[_0xaa3dfd(0x1f4)]-0x1,_0x2e6a43;_0x1c6d54>=0x0;_0x1c6d54--)(_0x2e6a43=_0x5835be[_0x1c6d54])&&(_0x5785ae=_0x2e6a43(_0x5785ae)||_0x5785ae);return _0x5785ae;},Ce=(_0x860b65,_0x1a2b08)=>(_0xcf5382,_0x3ad923)=>_0x1a2b08(_0xcf5382,_0x3ad923,_0x860b65);let re=class{constructor(_0x3f3386,_0x528914,_0x2df618){const _0x125b15=_0x23ff9b;this['_injector']=_0x3f3386,this[_0x125b15(0x10b)]=_0x528914,this['_renderManagerService']=_0x2df618;}[_0x23ff9b(0x169)](_0x510be3){const _0x1639a4=_0x23ff9b;this[_0x1639a4(0xab)](_0x510be3),this[_0x1639a4(0x178)](_0x510be3);}[_0x23ff9b(0x191)](_0x1b169e){const _0x5cc59a=_0x23ff9b,{unitID:_0x461322}=_0x1b169e,_0x1da9d9=this[_0x5cc59a(0x127)]['getRenderById'](_0x461322)[_0x5cc59a(0x163)](_0x130d6b),{redoCache:_0x522225}=_0x1da9d9[_0x5cc59a(0x159)]();if(_0x522225[_0x5cc59a(0x1f4)]===0x0)return _0x1b169e;let _0x1afc65=_0x51080d[_0x5cc59a(0x156)](_0x1b169e[_0x5cc59a(0x17d)][0x0]);for(let _0x3adf33=0x0;_0x3adf33<_0x522225[_0x5cc59a(0x1f4)];_0x3adf33++){const _0x5c3cab={'id':_0x5cc59a(0x137),'params':{..._0x522225[_0x3adf33]}},_0x1a281d=this[_0x5cc59a(0x10b)]['transformMutation'](_0x1afc65,_0x5c3cab,!0x1);if(_0x2cb5ce(_0x1a281d))throw _0x1a281d[_0x5cc59a(0xb9)];_0x1afc65=_0x1a281d[_0x5cc59a(0x1ac)];}return{..._0x51080d[_0x5cc59a(0x156)](_0x1b169e),'mutations':[_0x1afc65]};}[_0x23ff9b(0xab)](_0x32e06e){const _0x2f5fbe=_0x23ff9b,{unitID:_0x491ee2}=_0x32e06e,_0x461bdd=this['_renderManagerService']['getRenderById'](_0x491ee2)[_0x2f5fbe(0x163)](_0x130d6b),{undoCache:_0x5178b5,redoCache:_0x35e222}=_0x461bdd[_0x2f5fbe(0x159)]();if(_0x5178b5['length']===0x0||_0x35e222[_0x2f5fbe(0x1f4)]===0x0)return;const _0x57806a=[],_0xaafe59=[];let _0x488c1e=_0x51080d['deepClone'](_0x32e06e['mutations'][0x0]),_0x51d38b=_0x51080d['deepClone'](_0x32e06e[_0x2f5fbe(0x17d)][0x0]);for(let _0x1c86f6=_0x5178b5[_0x2f5fbe(0x1f4)]-0x1;_0x1c86f6>=0x0;_0x1c86f6--){const _0xaba8d2={'id':_0x2f5fbe(0x137),'params':{..._0x5178b5[_0x1c86f6]}},_0x12e3e1={'id':_0x2f5fbe(0x137),'params':{..._0x35e222[_0x1c86f6]}},_0x66d90e=this[_0x2f5fbe(0x10b)][_0x2f5fbe(0xeb)](_0x488c1e,_0xaba8d2,!0x1),_0x54a3a3=this['_transformService'][_0x2f5fbe(0xeb)](_0x51d38b,_0x12e3e1,!0x1);if(_0x2cb5ce(_0x66d90e))throw _0x66d90e[_0x2f5fbe(0xb9)];if(_0x2cb5ce(_0x54a3a3))throw _0x54a3a3[_0x2f5fbe(0xb9)];_0x57806a['unshift'](_0x66d90e['m2Prime'][_0x2f5fbe(0x1f0)]),_0xaafe59[_0x2f5fbe(0xc9)](_0x54a3a3[_0x2f5fbe(0x80)][_0x2f5fbe(0x1f0)]),_0x488c1e=_0x66d90e[_0x2f5fbe(0x1ac)],_0x51d38b=_0x54a3a3[_0x2f5fbe(0x1ac)];}_0x461bdd[_0x2f5fbe(0x123)]({'undoCache':_0x57806a,'redoCache':_0xaafe59});}[_0x23ff9b(0x178)](_0x2d772c){const _0x5d93ce=_0x23ff9b,{unitID:_0x1578ac}=_0x2d772c,_0x2c5e04=this['_renderManagerService'][_0x5d93ce(0x1e1)](_0x1578ac)[_0x5d93ce(0x163)](_0x130d6b),_0x290083=_0x2c5e04[_0x5d93ce(0x209)]();if(_0x290083==null)return;const _0x4f7399=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d772c[_0x5d93ce(0xb4)],'actions':null,'textRanges':[_0x290083]}}],_0xe34c4a=this[_0x5d93ce(0x10b)][_0x5d93ce(0x1ef)](_0x2d772c,_0x4f7399);if(!_0x36a096(_0xe34c4a))throw _0xe34c4a[_0x5d93ce(0xb9)];const _0x56bd47=_0xe34c4a[_0x5d93ce(0x80)][0x0]['params'][_0x5d93ce(0xbb)];Array['isArray'](_0x56bd47)&&_0x56bd47[_0x5d93ce(0x1f4)]&&_0x2c5e04[_0x5d93ce(0xf5)](_0x56bd47[0x0]);}};function _0x4d67(){const _0x2941fe=['cursorInfo$','then','trim','/run/','asObservable','MoveRangeCommandId','on-line-single','setInterval','setShapeProps','string','set','ranges','bottom','unit','registerBeforeClose','className','imageSourceType','YUUMI_SUBSCRIPTION_NOT_FOUND','round','from','getCollabCursors$','getItem','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_roomMembers$','collab-text-range-','_collabCursorState$','debug','NO_OTHER_CLIENTS_EDITING','deepClone','DeleteRangeMoveUpCommandId','_updateSubUnitFromURLParams','getUndoRedoMutationParamsCache','red300','getUnitId','collaboration.single-unit.warning','assignAColorForMemberID','_collabCursorController','_uiPartsService','engine','subscribeEvent','_getSheetObject','with','toRgbString','source','getConfig','_backgroundColor','ALREADY_EXISTS','transformIMECache','MUTATION','collabStatus.syncing','#fff','entries','_assignedColors','_init','_collaborationUIEventService','clearTimeout','getOffsetConfig','_onCursorUpdate','M0\x200H16V16H0z','svg','_colorAssignService','entityInit$','_transformPreviousActiveRange','_unitStatus','_doCreateSocket','univer-flex\x20univer-items-center','post','mutations','HEADER_MENU','status$','getSkeleton','_syncEditingCollabCursorService','_drawTextRange','symbol','triggerDblclick','cursorInfo','collabStatus.synced','TEXT','rgba(255,\x20255,\x20255,\x200.01)','_context','Unknown\x20user','_registerDependencies','fillText','reconnect','div','_updateURLWithCurrentState','getCurrentSelections','transformRemoteChangeset','...','column','name','UNDEFINED','values','_initStatusListener','_onRefRangeChange','getUnhiddenWorksheets','code','enableLocalCache','addHandlerCallback','getSheetBySheetId','getFocusedUnit','verdancy600','_refreshCollabCursors','LICENSE_IMPORT_SIZE_EXCEEDED','_collaborationController','PERMISSION_DENIED','_docTransformStateCacheService','_unitOnClients','_saveCache','sessionStatus$','on-line-single_clip0_910_349','getAncestorScale','wsSessionTicketUrl','createInstance','m1Prime','_draw','ENSURE_SNAPSHOT_EXECUTION','apply','startColumn','override','getSheetId','prototype','getActiveSheet','search','loadUnit','use','_toggleOffline','sheetId','min','getUnitStatus$','updateOfflineData','displayName','USERS_LEAVE','InsertRowCommandId','map','OTHER_CLIENT_EDITING','off-line-single','getValue','application/json','getTypeOfUnitAdded$','url(#$1','getMemberID','lineTo','uni.network.url-service','collaboration-client-ui.config','_clearOtherTimers','startRow','_univerInstanceService','getMember','ACTIVE_UNIT_EVENT_CHANNEL','3181392YlKtyb','offline','_memberService','getDocRanges','generateRandomId','online','_localeService','data','_createSocketURL','height','166026gFrzwj','_instanceService','_send','FETCH_MISS','OffLineSingle','_render','blue400','getRenderById','redoState','_setupBeforeClosingHandler','session.will-retry','disableLocalCache','_docTransformSelectionsService','onRendered','_eventUnsubscribe','closePath','editingUnit','moveTo','next','_handleHeartbeatEvent','replaceDocRanges','transformMutationsWithChangeset','params','CLOSE_ROOM','setStateCache','url(#on-line-single_clip0_910_349)','length','_ensureSubject','idSuffix','permission.content','_getSaveTimeout','_beforeCloseService','unitId','disposeUnit','_commandService','_cachedData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','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','_handleLeaveEvent','black','YUUMI_RATE_OVER_LIMIT','send','_colorIndex','YUUMI_UNABLE_LOAD_URL','UNRECOGNIZED','body','_color','getActiveRange','onLocalMutation','executionId','disposeWithMe','SOCKET_FAILED','OTHER_CLIENTS_EDITING','width','registerComponent','random','Error','eventID','collab-rect-range-','hasOwnProperty','_name','NOT_FOUND','INTERNAL_ERROR','children','SYNCED','xlink:href','getMergeData','isArray','_messageService','CONNECTOR_DATA_TOO_LARGE','_drawAnchor','findNodePositionByCharIndex','forEach','delete','_scene','ticket','LICENSE_MAX_UNITS_EXCEEDED','concat','PY_RUNTIME_SCRIPT_ERROR','arc','parse','SUBMIT_CHANGESET_TIMEOUT','setParam','_collabSessionService','getCurrentRevOfUnit','collabStatus.offline','_docSkeleton','indexOf','has','_entityInit$','_localCacheService','_setupSubUnitSync','collabStatus.notCollab','UPDATE_CURSOR','YUUMI_URL_COL_OUT_OF_RANGE','type','collab-text-anchor-','_removeCollabCursors','_revisionService','_handleJoinEvent','storage','_hideTimer','restore','actions','1em','replace','dispose','_removeClearOtherTimer','getStateCache','_textBubble','icon','SNAPSHOT_INVALID_SNAPSHOT','undoState','_range','_localStorageService','pipe','_imageIoService','_online','getRelativeToViewportCoord','_getAnchorBounding','APPLY_REVISION_CONFILICT','saveImage','selection','RemoveColCommandId','size','endColumn','UniverIcon','event$','_hover','init','complete','fillRule','_injector','UNIVER_DOC','_dataLoaderService','_disabled','[CollaborationDataLoaderController]','subunit','find','removeParam','_registerRenderDependencies','newValue','add','ONLINE','location','clearInterval','_docStateChangeManagerService','call','998606DJAtfm','onPointerMove$','UNIVER_SHEET','off-line-single_clip0_910_343','SNAPSHOT_HAS_BEEN_REMOVED','loadOfflineData','0\x200\x2016\x2016','INVALID_ARGUMENT','InsertRangeMoveDownCommandId','memberID','href','_updateLocalCursor','LICENSE_DISTRO_REJECTED','startsWith','3465JdSMmC','m2Prime','top','_anchor','onPointerEnter$','path','collaboration.closeRoom','defs','syncEditingCollabCursor','skeleton','_onCursorDelete','11064vEqgmW','currentTheme$','roomMembers','saveOfflineData','push','_cursorInfo$','object','replaceState','onPointerLeave$','APPLY_DUPLICATED','docStateChange$','_handleHover','APPLY_PERMISSION_DENIED','collaboration-client.offline-data-not-saved','subUnitId','result','_status$','text','APPLY_NON_SEQUENTIAL_REVISION','dispose$','_transformHistoryAndStateStack','_initEntityListener','103269kicKBC','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','includes','RemoveRowCommandId','_scheduleHeartbeat','pluginName','subscribe','onTransformChange$','font','getViewport','NOT_COLLAB','_transformUndoRedoStack','425Swgvci','pushState','evenodd','_cursor','none','_sheetSkeletonManagerService','all','collabStatus.conflict','unitID','substring','_anchorDot','key','_docTransformIMECacheService','error','_heartbeatTimer','textRanges','_urlService','activeSheet$','_config','setItem','_updateCollabCursors','UNAUTHENTICATED','_logService','_hovered','hovered','number','JOIN_ROOM_FAILED','propertyIsEnumerable','_entities','unshift','getVpScrollXYInfoByPosToVp','registerRenderModule','#FFF','currentSkeleton$','extend','_docClipboardService','attrs','TOO_MANY_REQUESTS','searchParams','makeDirty','save','isEditing','onlineStatusIcon','clipPath','getUniverSheetInstance','setAlpha','onCommandExecuted','isActive','_session','onMouseMove','_initEvent','range','getCurrent','get','getOwnPropertySymbols','defIds','executeCommand','collabCursorState$','AWAITING_WITH_PENDING','exhaustSavingTask','getOwnPropertyDescriptor','65472UCPknh','drawWith','transformMutation','_startDocCollabCursor','addObjects','_toggleOnline','whenReady','OFFLINE','_id','registerRefRange','_handleEvent','_initStatusComponent','setActiveRange','requireSession','transformSelections','beginPath','_docSkeletonManagerService','0\x200\x2017\x2016','jiqing500','_startSheetCollabCursor','setTimeout','measureText','_selfUnitIDs','getParam','_drawRectRange','APPLY_REJECT','_getScale','color','_cursorShapes','_getSessionTicket','fill','univerjs-icon\x20univerjs-icon-','CHANGESET_REVISION_CONFILICT','_shapes','_transformService','row','getCellPositionByOffset','_cursors','COMPLETION_FINISHED','_saveTaskMap','translate(.97)','onlineStatusTitle','_labelPosition','history','roomMembers$','runId','selections','assign','origin','_httpService','_themeService','saveTaskMap','addClipboardHook','show','addObject','getTypeOfUnitDisposed$','_initCommandExecutedListener','createSocket','setUndoRedoMutationParamsCache','_configService','tag','transform','_renderManagerService','unsubscribe','_scheduleSaving','purple300','_refRangeService','_lastPointer','_getMergeRange','current','toString','_initDependencies','urlChange$','_scheduleClearOtherTimer','getRangePointData','url(#off-line-single_clip0_910_343)','Warning','colorChannel1','doc.mutation.rich-text-editing','hide','onStarting'];_0x4d67=function(){return _0x2941fe;};return _0x4d67();}re=ln([Ce(0x0,_0xd50dcd(_0x8ce219)),Ce(0x1,_0x49f577),Ce(0x2,_0x4ce077)],re);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x58406f,_0x29cf77,_0x3c792c,_0x22315c)=>{const _0x5c939c=_0x23ff9b;for(var _0x15d22d=_0x22315c>0x1?void 0x0:_0x22315c?hn(_0x29cf77,_0x3c792c):_0x29cf77,_0x52d716=_0x58406f[_0x5c939c(0x1f4)]-0x1,_0x11bd98;_0x52d716>=0x0;_0x52d716--)(_0x11bd98=_0x58406f[_0x52d716])&&(_0x15d22d=_0x11bd98(_0x15d22d)||_0x15d22d);return _0x15d22d;},be=(_0x2bdc96,_0x241ed5)=>(_0x59d6b0,_0x569e11)=>_0x241ed5(_0x59d6b0,_0x569e11,_0x2bdc96);let oe=class{constructor(_0x4f3c50,_0x2ee992,_0x17b15f){const _0x4fc56a=_0x23ff9b;this['_injector']=_0x4f3c50,this['_transformService']=_0x2ee992,this[_0x4fc56a(0x26c)]=_0x17b15f;}['transformStateCache'](_0x19ab9d){const _0x3933de=_0x23ff9b;this[_0x3933de(0x9e)](_0x19ab9d);}[_0x23ff9b(0x191)](_0x2df072){const _0x5daddc=_0x23ff9b,{unitID:_0x56bef8}=_0x2df072,{collaboration:_0x23098b}=this['_docStateChangeManagerService'][_0x5daddc(0x246)](_0x56bef8);if(_0x23098b[_0x5daddc(0x1f4)]===0x0)return _0x2df072;let _0x13e45f=_0x51080d[_0x5daddc(0x156)](_0x2df072['mutations'][0x0]);for(let _0x547161=0x0;_0x547161<_0x23098b['length'];_0x547161++){const _0x131d7a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23098b[_0x547161][_0x5daddc(0x1fa)],..._0x23098b[_0x547161][_0x5daddc(0x1e2)]}},_0x31640a=this[_0x5daddc(0x10b)]['transformMutation'](_0x13e45f,_0x131d7a,!0x1);if(_0x2cb5ce(_0x31640a))throw _0x31640a[_0x5daddc(0xb9)];_0x13e45f=_0x31640a[_0x5daddc(0x1ac)];}return{..._0x51080d['deepClone'](_0x2df072),'mutations':[_0x13e45f]};}[_0x23ff9b(0x9e)](_0x56432f){const _0x1343fe=_0x23ff9b,{unitID:_0x509d11}=_0x56432f,{history:_0x108450,collaboration:_0xf3ccfc}=this[_0x1343fe(0x26c)][_0x1343fe(0x246)](_0x509d11);if(_0x108450['length']===0x0&&_0xf3ccfc[_0x1343fe(0x1f4)]===0x0)return;const _0x12ea1d=[],_0x25d72b=[];let _0x1bc2da=_0x51080d[_0x1343fe(0x156)](_0x56432f[_0x1343fe(0x17d)][0x0]),_0x56dcb0=_0x51080d[_0x1343fe(0x156)](_0x56432f[_0x1343fe(0x17d)][0x0]);for(let _0x48944f=_0x108450['length']-0x1;_0x48944f>=0x0;_0x48944f--){const _0x576c8e={'id':_0x1343fe(0x137),'params':{'unitId':_0x108450[_0x48944f][_0x1343fe(0x1fa)],..._0x108450[_0x48944f][_0x1343fe(0x24a)]}},_0x294ece={'id':_0x1343fe(0x137),'params':{'unitId':_0x108450[_0x48944f]['unitId'],..._0x108450[_0x48944f]['redoState']}},_0x46c9ab=this[_0x1343fe(0x10b)][_0x1343fe(0xeb)](_0x1bc2da,_0x576c8e,!0x1),_0x2c36cb=this[_0x1343fe(0x10b)][_0x1343fe(0xeb)](_0x56dcb0,_0x294ece,!0x1);if(_0x2cb5ce(_0x46c9ab))throw _0x46c9ab[_0x1343fe(0xb9)];if(_0x2cb5ce(_0x2c36cb))throw _0x2c36cb[_0x1343fe(0xb9)];_0x12ea1d[_0x1343fe(0xc9)]({..._0x108450[_0x48944f],'undoState':_0x46c9ab['m2Prime'][_0x1343fe(0x1f0)],'redoState':_0x2c36cb[_0x1343fe(0x80)][_0x1343fe(0x1f0)]}),_0x1bc2da=_0x46c9ab[_0x1343fe(0x1ac)],_0x56dcb0=_0x2c36cb[_0x1343fe(0x1ac)];}_0x1bc2da=_0x51080d[_0x1343fe(0x156)](_0x56432f['mutations'][0x0]),_0x56dcb0=_0x51080d['deepClone'](_0x56432f[_0x1343fe(0x17d)][0x0]);for(let _0x20bd8a=_0xf3ccfc[_0x1343fe(0x1f4)]-0x1;_0x20bd8a>=0x0;_0x20bd8a--){const _0xcec5cf={'id':_0x1343fe(0x137),'params':{'unitId':_0xf3ccfc[_0x20bd8a]['unitId'],..._0xf3ccfc[_0x20bd8a][_0x1343fe(0x24a)]}},_0x3376b9={'id':_0x1343fe(0x137),'params':{'unitId':_0xf3ccfc[_0x20bd8a][_0x1343fe(0x1fa)],..._0xf3ccfc[_0x20bd8a][_0x1343fe(0x1e2)]}},_0x1ea1ee=this['_transformService']['transformMutation'](_0x1bc2da,_0xcec5cf,!0x1),_0x2c63a8=this[_0x1343fe(0x10b)][_0x1343fe(0xeb)](_0x56dcb0,_0x3376b9,!0x1);if(_0x2cb5ce(_0x1ea1ee))throw _0x1ea1ee['error'];if(_0x2cb5ce(_0x2c63a8))throw _0x2c63a8[_0x1343fe(0xb9)];_0x25d72b[_0x1343fe(0xc9)]({..._0xf3ccfc[_0x20bd8a],'undoState':_0x1ea1ee[_0x1343fe(0x80)]['params'],'redoState':_0x2c63a8[_0x1343fe(0x80)][_0x1343fe(0x1f0)]}),_0x1bc2da=_0x1ea1ee[_0x1343fe(0x1ac)],_0x56dcb0=_0x2c63a8['m1Prime'];}this[_0x1343fe(0x26c)][_0x1343fe(0x1f2)](_0x509d11,{'history':_0x12ea1d,'collaboration':_0x25d72b});}};oe=_n([be(0x0,_0xd50dcd(_0x8ce219)),be(0x1,_0x49f577),be(0x2,_0xd50dcd(_0x1abd4c))],oe);var un=Object['getOwnPropertyDescriptor'],dn=(_0x7e8e12,_0x5d3290,_0x2112d2,_0xf2516)=>{const _0xa8d663=_0x23ff9b;for(var _0x85e76a=_0xf2516>0x1?void 0x0:_0xf2516?un(_0x5d3290,_0x2112d2):_0x5d3290,_0x5e10f4=_0x7e8e12[_0xa8d663(0x1f4)]-0x1,_0x347e01;_0x5e10f4>=0x0;_0x5e10f4--)(_0x347e01=_0x7e8e12[_0x5e10f4])&&(_0x85e76a=_0x347e01(_0x85e76a)||_0x85e76a);return _0x85e76a;},it=(_0x11b9c3,_0x2e5f08)=>(_0x4a9ce3,_0x1a3660)=>_0x2e5f08(_0x4a9ce3,_0x1a3660,_0x11b9c3);let ae=class{constructor(_0x375fdd,_0x5dbd0f){const _0x3ac82c=_0x23ff9b;this[_0x3ac82c(0x25e)]=_0x375fdd,this[_0x3ac82c(0x10b)]=_0x5dbd0f;}['transformSelections'](_0x42e91e){const _0x34f42d=_0x23ff9b;var _0x5ebcc0;const _0x5b2958=this[_0x34f42d(0x25e)][_0x34f42d(0xe1)](_0x312df4),_0x21689a=(_0x5ebcc0=_0x5b2958[_0x34f42d(0x1d3)]())!=null?_0x5ebcc0:[];if(_0x21689a[_0x34f42d(0x1f4)]===0x0)return;const _0x15a984=_0x42e91e[_0x34f42d(0xb4)],_0x32a027=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15a984,'actions':null,'textRanges':_0x21689a}}],_0x4c7c42=this[_0x34f42d(0x10b)]['transformMutationsWithChangeset'](_0x42e91e,_0x32a027);if(!_0x36a096(_0x4c7c42))throw _0x4c7c42[_0x34f42d(0xb9)];const _0xefccc3=_0x4c7c42[_0x34f42d(0x80)][0x0][_0x34f42d(0x1f0)][_0x34f42d(0xbb)];Array[_0x34f42d(0x21d)](_0xefccc3)&&_0xefccc3[_0x34f42d(0x1f4)]&&_0x5b2958[_0x34f42d(0x1ee)](_0xefccc3,{'unitId':_0x15a984,'subUnitId':_0x15a984},!0x1);}};ae=dn([it(0x0,_0xd50dcd(_0x8ce219)),it(0x1,_0x49f577)],ae);var fn=Object[_0x23ff9b(0xe8)],Sn=(_0x3985cb,_0x54e9ea,_0x24a95c,_0x2007c8)=>{const _0x459a13=_0x23ff9b;for(var _0x1a918c=_0x2007c8>0x1?void 0x0:_0x2007c8?fn(_0x54e9ea,_0x24a95c):_0x54e9ea,_0x4a42a6=_0x3985cb[_0x459a13(0x1f4)]-0x1,_0x10a28c;_0x4a42a6>=0x0;_0x4a42a6--)(_0x10a28c=_0x3985cb[_0x4a42a6])&&(_0x1a918c=_0x10a28c(_0x1a918c)||_0x1a918c);return _0x1a918c;},M=(_0x131231,_0x5eb984)=>(_0x3d794b,_0x566a35)=>_0x5eb984(_0x3d794b,_0x566a35,_0x131231);let ce=class extends _0x5e0670{constructor(_0x6406d8,_0x5806ee,_0x4a70f0,_0x3225b1,_0x5e301f,_0x3903e8,_0x31d4b8,_0x150146){const _0x21a964=_0x23ff9b;super(),h(this,_0x21a964(0x9a),new _0x3de8b5(_0x3cfde1[_0x21a964(0xaa)])),(this[_0x21a964(0x26c)]=_0x6406d8,this[_0x21a964(0x1a2)]=_0x5806ee,this[_0x21a964(0xb8)]=_0x4a70f0,this[_0x21a964(0x1a4)]=_0x3225b1,this['_docTransformSelectionsService']=_0x5e301f,this['_docSyncEditingCollabCursorService']=_0x3903e8,this[_0x21a964(0x21e)]=_0x31d4b8,this['_localeService']=_0x150146,this[_0x21a964(0x9f)]());}[_0x23ff9b(0x9f)](){const _0x21269e=_0x23ff9b;this['disposeWithMe'](this[_0x21269e(0x1a2)][_0x21269e(0x177)][_0x21269e(0xa6)](_0x4f3d4e=>{const _0x254611=_0x21269e,_0x302cec=this[_0x254611(0x26c)][_0x254611(0x94)]['subscribe'](_0x4cb16f=>{const _0x304425=_0x254611;if(_0x4cb16f==null)return;const {unitId:_0x450548,redoState:_0x43ecd8,commandId:_0x1bd54c}=_0x4cb16f;if(_0x450548!==_0x4f3d4e[_0x304425(0xb4)])return;const _0x3d0363={'id':_0x1bd54c,'type':_0x17ad1c[_0x304425(0x16a)],'params':{'unitId':_0x450548,'actions':_0x43ecd8[_0x304425(0x241)],'textRanges':null}};_0x4f3d4e[_0x304425(0x20a)](_0x3d0363);});if(_0x4f3d4e[_0x254611(0x20c)](_0x302cec),_0x4f3d4e instanceof _0x53d445){const _0x4f7e5d={'onTransformIME':_0x44d2bd=>this[_0x254611(0xb8)][_0x254611(0x169)](_0x44d2bd),'onTransformState':_0x1a9dce=>this['_docTransformStateCacheService']['transformStateCache'](_0x1a9dce),'onTransformSelections':_0x310664=>this[_0x254611(0x1e6)][_0x254611(0xf7)](_0x310664),'onSyncEditingCollabCursor':_0x38e09c=>this['_docSyncEditingCollabCursorService'][_0x254611(0x87)](_0x38e09c),'onTransformRemoteChangesetByIMECache':_0x265f0a=>this[_0x254611(0xb8)][_0x254611(0x191)](_0x265f0a),'onTransformRemoteChangesetByStateCache':_0x9ceeae=>this[_0x254611(0x1a4)][_0x254611(0x191)](_0x9ceeae)};_0x4f3d4e[_0x254611(0x19c)](_0x4f7e5d);}}));}};ce=Sn([M(0x0,_0xd50dcd(_0x1abd4c)),M(0x1,_0xd50dcd(_0x1eec7a)),M(0x2,_0xd50dcd(re)),M(0x3,_0xd50dcd(oe)),M(0x4,_0xd50dcd(ae)),M(0x5,_0xd50dcd(je)),M(0x6,_0x155886),M(0x7,_0xd50dcd(_0xb5b2d6))],ce);var mn=Object[_0x23ff9b(0xe8)],gn=(_0x37c92a,_0x26daf7,_0x33c288,_0x56cde8)=>{const _0x560233=_0x23ff9b;for(var _0x281a06=_0x56cde8>0x1?void 0x0:_0x56cde8?mn(_0x26daf7,_0x33c288):_0x26daf7,_0x30f610=_0x37c92a[_0x560233(0x1f4)]-0x1,_0x5c983a;_0x30f610>=0x0;_0x30f610--)(_0x5c983a=_0x37c92a[_0x30f610])&&(_0x281a06=_0x5c983a(_0x281a06)||_0x281a06);return _0x281a06;},Ee=(_0x3b6d07,_0x5754a3)=>(_0x286c86,_0x298ec1)=>_0x5754a3(_0x286c86,_0x298ec1,_0x3b6d07);let Ae=class extends _0x5e0670{constructor(_0x5e5b06,_0x10ad70,_0x2004c3){const _0x4c9548=_0x23ff9b;super(),h(this,_0x4c9548(0x1fd),new Map()),h(this,_0x4c9548(0x110),new Map()),h(this,_0x4c9548(0x261),!0x1),(this[_0x4c9548(0x124)]=_0x5e5b06,this[_0x4c9548(0x24c)]=_0x10ad70,this[_0x4c9548(0x23c)]=_0x2004c3);}[_0x23ff9b(0x1e5)](){const _0x54290c=_0x23ff9b;this[_0x54290c(0x261)]=!0x0;}[_0x23ff9b(0x19b)](){const _0x4ebb0d=_0x23ff9b;this[_0x4ebb0d(0x261)]=!0x1;}get['saveTaskMap'](){const _0x2ce68b=_0x23ff9b;return this[_0x2ce68b(0x110)];}['dispose'](){const _0x24a0ee=_0x23ff9b;this[_0x24a0ee(0xe7)]()[_0x24a0ee(0x13b)](()=>super[_0x24a0ee(0x244)]());}async[_0x23ff9b(0x76)](_0x3a4d23){const _0x449aca=_0x23ff9b;return this[_0x449aca(0x261)]?null:this[_0x449aca(0x24c)][_0x449aca(0x14f)](_0x3ce03f(_0x3a4d23));}async[_0x23ff9b(0x8d)](_0x26d68f,_0x5d6b20){const _0xcf4d45=_0x23ff9b;return!!this[_0xcf4d45(0x24c)][_0xcf4d45(0xbf)](_0x26d68f,_0x5d6b20);}[_0x23ff9b(0x1bc)](_0x27822a,_0x172173,_0x63ba2b,_0x25d923){const _0x58fd6b=_0x23ff9b,_0x55a41f=this[_0x58fd6b(0x23c)][_0x58fd6b(0x22e)](_0x27822a);this[_0x58fd6b(0x1fd)][_0x58fd6b(0x144)](_0x27822a,{'unitID':_0x27822a,'type':_0x172173,'awaitingChangeset':_0x63ba2b,'mutations':_0x25d923,'rev':_0x55a41f}),this[_0x58fd6b(0x110)][_0x58fd6b(0x232)](_0x27822a)||this[_0x58fd6b(0x129)](_0x27822a);}['_scheduleSaving'](_0xb321c5){const _0x519c9d=_0x23ff9b,_0x34e293=this[_0x519c9d(0x1f8)]();_0x34e293===0x0?this[_0x519c9d(0x1a6)](_0xb321c5):this['_saveTaskMap'][_0x519c9d(0x144)](_0xb321c5,setTimeout(()=>this[_0x519c9d(0x1a6)](_0xb321c5),_0x34e293));}[_0x23ff9b(0x1f8)](){const _0x49e346=_0x23ff9b;var _0x291110;return(_0x291110=this[_0x49e346(0x124)][_0x49e346(0x166)](_0x4bfb93))!=null?_0x291110:_0x18f4f4;}[_0x23ff9b(0x1a6)](_0x43faa5){const _0x1722d2=_0x23ff9b,_0x9b2150=this['_saveTaskMap'][_0x1722d2(0xe1)](_0x43faa5);return _0x9b2150!==void 0x0&&window[_0x1722d2(0x171)](_0x9b2150),this[_0x1722d2(0x24c)][_0x1722d2(0xbf)](_0x3ce03f(_0x43faa5),this[_0x1722d2(0x1fd)][_0x1722d2(0xe1)](_0x43faa5))[_0x1722d2(0x13b)](()=>this['_saveTaskMap']['delete'](_0x43faa5));}async['exhaustSavingTask'](){const _0x14783e=_0x23ff9b,_0x18a76b=[];this[_0x14783e(0x110)][_0x14783e(0x222)]((_0x25e2ab,_0x545033)=>{const _0x5f2c50=_0x14783e;window[_0x5f2c50(0x171)](_0x25e2ab),_0x18a76b[_0x5f2c50(0x8e)](this[_0x5f2c50(0x1a6)](_0x545033)['then'](()=>{const _0x1a24f6=_0x5f2c50;this['_saveTaskMap'][_0x1a24f6(0x223)](_0x545033);}));}),await Promise[_0x14783e(0xb2)](_0x18a76b);}};Ae=gn([Ee(0x0,_0x533f06),Ee(0x1,_0x157b96),Ee(0x2,_0xd50dcd(_0x1a68c1))],Ae);class vn extends _0x1fd355{constructor(){const _0x145c17=_0x23ff9b;super(),h(this,_0x145c17(0x131)),this[_0x145c17(0x131)]=_0x37d196(window,'popstate')[_0x145c17(0x24d)](_0x1c0f4d(this[_0x145c17(0x9d)]),_0x196db8(0x1),_0x4fd666(void 0x0));}[_0x23ff9b(0x22c)](_0x4c7797,_0x31abd6,_0x3bbefd=!0x1){const _0x1e1456=_0x23ff9b,_0x2dc445=new URL(window['location'][_0x1e1456(0x7b)]);_0x2dc445[_0x1e1456(0xd2)]['set'](_0x4c7797,_0x31abd6),_0x3bbefd?window[_0x1e1456(0x114)][_0x1e1456(0x91)]('','',_0x2dc445[_0x1e1456(0x12f)]()):window[_0x1e1456(0x114)]['pushState']('','',_0x2dc445[_0x1e1456(0x12f)]());}[_0x23ff9b(0x265)](_0x2bb96e,_0xecb162=!0x1){const _0x38da1c=_0x23ff9b,_0x501adc=new URL(window[_0x38da1c(0x26a)][_0x38da1c(0x7b)]);_0x501adc[_0x38da1c(0xd2)][_0x38da1c(0x223)](_0x2bb96e),_0xecb162?window[_0x38da1c(0x114)][_0x38da1c(0x91)]('','',_0x501adc[_0x38da1c(0x12f)]()):window[_0x38da1c(0x114)][_0x38da1c(0xad)]('','',_0x501adc[_0x38da1c(0x12f)]());}[_0x23ff9b(0x100)](_0x27d374){const _0x46cc1e=_0x23ff9b;var _0x1f01c3;return(_0x1f01c3=new URL(window['location'][_0x46cc1e(0x7b)])[_0x46cc1e(0xd2)]['get'](_0x27d374))!=null?_0x1f01c3:void 0x0;}}var In=Object['defineProperty'],pn=Object[_0x23ff9b(0xe8)],Cn=(_0x52031a,_0x94a6d4,_0x44c048)=>_0x94a6d4 in _0x52031a?In(_0x52031a,_0x94a6d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44c048}):_0x52031a[_0x94a6d4]=_0x44c048,bn=(_0x512589,_0x220cec,_0x599e57,_0x57f749)=>{const _0x4b5480=_0x23ff9b;for(var _0x4cb21b=_0x57f749>0x1?void 0x0:_0x57f749?pn(_0x220cec,_0x599e57):_0x220cec,_0x33728f=_0x512589[_0x4b5480(0x1f4)]-0x1,_0x2ff5cd;_0x33728f>=0x0;_0x33728f--)(_0x2ff5cd=_0x512589[_0x33728f])&&(_0x4cb21b=_0x2ff5cd(_0x4cb21b)||_0x4cb21b);return _0x4cb21b;},Oe=(_0x148264,_0x4e784b)=>(_0x268841,_0xdbf247)=>_0x4e784b(_0x268841,_0xdbf247,_0x148264),En=(_0x43249a,_0x1bfc49,_0x1225f9)=>Cn(_0x43249a,_0x1bfc49+'',_0x1225f9);const On=_0x23ff9b(0xa1);let ye=class extends _0x7903e7{constructor(_0xc64e4d=st,_0x28652a,_0x1dccc9,_0x3035af){const _0x2df6df=_0x23ff9b;super(),this[_0x2df6df(0xbe)]=_0xc64e4d,this['_renderManagerService']=_0x28652a,this[_0x2df6df(0x25e)]=_0x1dccc9,this[_0x2df6df(0x124)]=_0x3035af;const {..._0x5e1ce1}=_0x4a2b0c({},st,this[_0x2df6df(0xbe)]);this['_configService']['setConfig'](rn,_0x5e1ce1);}[_0x23ff9b(0x139)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x23ff9b(0x1e7)](){const _0x5a8781=_0x23ff9b;this[_0x5a8781(0x266)]();}[_0x23ff9b(0x18b)](){const _0x2cd6fa=_0x23ff9b;var _0x37c794;const _0x40398a=[[He],[ae],[re],[oe],[je],[Ut,{'useClass':vn}],[_0x1c8e0f,{'useClass':_0x5dc691}],[_0x3c8f5a,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x4a94d2(this['_injector'],_0x45e2a7(_0x40398a,(_0x37c794=this['_config'])==null?void 0x0:_0x37c794[_0x2cd6fa(0x1b1)]));}[_0x23ff9b(0x266)](){const _0x4dec5a=_0x23ff9b;this[_0x4dec5a(0x20c)](this['_renderManagerService'][_0x4dec5a(0xcb)](_0x149593[_0x4dec5a(0x25f)],[Ue])),this[_0x4dec5a(0x20c)](this[_0x4dec5a(0x127)]['registerRenderModule'](_0x149593['UNIVER_SHEET'],[Le]));}[_0x23ff9b(0x130)](){const _0x49b40f=_0x23ff9b;_0x3c9714(this[_0x49b40f(0x25e)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x23ff9b(0xa5),On),ye=bn([_0x592d51(_0x316f4e),Oe(0x1,_0x4ce077),Oe(0x2,_0xd50dcd(_0x8ce219)),Oe(0x3,_0x533f06)],ye);var Tn=Object['getOwnPropertyDescriptor'],Rn=(_0x4d67d6,_0x58876f,_0x45ecd4,_0x2c6030)=>{const _0x24028f=_0x23ff9b;for(var _0x41ec84=_0x2c6030>0x1?void 0x0:_0x2c6030?Tn(_0x58876f,_0x45ecd4):_0x58876f,_0x451668=_0x4d67d6[_0x24028f(0x1f4)]-0x1,_0x41b96a;_0x451668>=0x0;_0x451668--)(_0x41b96a=_0x4d67d6[_0x451668])&&(_0x41ec84=_0x41b96a(_0x41ec84)||_0x41ec84);return _0x41ec84;},z=(_0x3482b7,_0xa8413b)=>(_0x506418,_0x279c22)=>_0xa8413b(_0x506418,_0x279c22,_0x3482b7);let nt=class extends _0x4d5aa8{constructor(_0x31cfd8,_0x1e0c10,_0x518ddc,_0x16dadc,_0x534084){super(_0x31cfd8,_0x1e0c10,_0x518ddc,_0x16dadc,_0x534084);}async[_0x23ff9b(0x122)](_0x190d6b){const _0x369f30=_0x23ff9b,_0x149fba=await this[_0x369f30(0x106)](),_0x23ce41=this['_createSocketURL'](_0x190d6b,_0x149fba);return this[_0x369f30(0x17a)](_0x23ce41);}[_0x23ff9b(0x1d8)](_0x322536,_0x48fbc1){const _0xb4201f=_0x23ff9b,_0x43bd61=typeof window>'u'?new URL(_0x322536):new URL(_0x322536,window[_0xb4201f(0x26a)][_0xb4201f(0x119)]);_0x43bd61[_0xb4201f(0xd2)]['set']('sessionTicket',_0x48fbc1);const _0x5a81c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xb4201f(0x26a)][_0xb4201f(0x1b5)]);return _0x5a81c9[_0xb4201f(0xe1)]('runId')&&_0x43bd61[_0xb4201f(0xd2)][_0xb4201f(0x144)](_0xb4201f(0x116),_0x5a81c9[_0xb4201f(0xe1)](_0xb4201f(0x116))),_0x43bd61[_0xb4201f(0x12f)]();}async[_0x23ff9b(0x106)](){const _0x35af0c=_0x23ff9b;var _0x541212,_0xa036a2,_0x196675;const _0x2cd1b4=this[_0x35af0c(0x124)][_0x35af0c(0x166)](_0x11b14b),_0x5d27ed=(_0x541212=_0x2cd1b4==null?void 0x0:_0x2cd1b4[_0x35af0c(0x1aa)])!=null?_0x541212:_0x31d3af;return(_0x196675=(_0xa036a2=(await this[_0x35af0c(0x11a)][_0x35af0c(0xe1)](_0x5d27ed,{'headers':{'Content-Type':_0x35af0c(0x1c4)}}))[_0x35af0c(0x207)])==null?void 0x0:_0xa036a2[_0x35af0c(0x225)])!=null?_0x196675:'';}};nt=Rn([z(0x0,_0xd50dcd(_0x8ce219)),z(0x1,_0xd50dcd(_0x1c7672)),z(0x2,_0x533f06),z(0x3,_0x258406),z(0x4,_0x3b2333)],nt);const rt=0x7530,ot=_0x23ff9b(0x1cf);class Kn extends _0x5e0670{constructor(){const _0x5a0828=_0x23ff9b;super(),h(this,_0x5a0828(0xf1),_0x1a78d2()),h(this,_0x5a0828(0xff),new Set()),h(this,_0x5a0828(0x1a5),new Map()),h(this,_0x5a0828(0xba),null),h(this,_0x5a0828(0x1cb),new Map()),h(this,_0x5a0828(0x179),new Map()),this['_init']();}[_0x23ff9b(0x244)](){const _0x47f8fb=_0x23ff9b;super['dispose'](),this[_0x47f8fb(0x1cb)][_0x47f8fb(0x222)]((_0x44bde4,_0x30774f)=>this[_0x47f8fb(0x245)](_0x30774f)),this['_heartbeatTimer']&&window[_0x47f8fb(0x26b)](this[_0x47f8fb(0xba)]);}[_0x23ff9b(0x1bb)](_0x3e5c37){const _0x280249=_0x23ff9b;return this[_0x280249(0x1f5)](_0x3e5c37)[_0x280249(0x24d)](_0x2a0d31());}[_0x23ff9b(0x1ea)](_0x337a8f){const _0x39350b=_0x23ff9b;this[_0x39350b(0xff)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x39350b(0x268)](_0x337a8f),this['_send']({'type':0x0,'memberID':this[_0x39350b(0xf1)],'unitIDs':[_0x337a8f],'isForwarded':!0x1});}[_0x23ff9b(0x1fb)](_0x56a8a9){const _0x2d53a2=_0x23ff9b;this[_0x2d53a2(0xff)][_0x2d53a2(0x223)](_0x56a8a9),this[_0x2d53a2(0xff)]['size']===0x0&&this[_0x2d53a2(0xba)]&&window[_0x2d53a2(0x26b)](this['_heartbeatTimer']);}['_init'](){const _0x3bb23c=_0x23ff9b;this[_0x3bb23c(0x20c)](_0x1a3234(_0x37d196(window,_0x3bb23c(0x23e))[_0x3bb23c(0xa6)](_0x3efcb8=>{const _0xc420ea=_0x3bb23c;if(_0x3efcb8[_0xc420ea(0xb7)]!==ot||!_0x3efcb8[_0xc420ea(0x267)])return;const _0x385178=JSON[_0xc420ea(0x22a)](_0x3efcb8['newValue']);this['_handleEvent'](_0x385178);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x3bb23c(0xff)])}));}[_0x23ff9b(0xf3)](_0x54ec1d){const _0x104981=_0x23ff9b;switch(_0x54ec1d[_0x104981(0x239)]){case 0x0:this['_handleJoinEvent'](_0x54ec1d);break;case 0x1:this[_0x104981(0x200)](_0x54ec1d);break;case 0x2:this[_0x104981(0x1ed)](_0x54ec1d);break;}}[_0x23ff9b(0x23d)](_0x3d8ba0){const _0x3a2a1f=_0x23ff9b,{unitIDs:_0x2d3f4d,memberID:_0x5edd40,isForwarded:_0x1aa94c}=_0x3d8ba0;_0x2d3f4d['forEach'](_0xd900ef=>{const _0x3a45b5=_0x4b78;if(!_0x1aa94c&&this[_0x3a45b5(0x1a5)][_0x3a45b5(0x232)](_0xd900ef)&&this[_0x3a45b5(0x1f5)](_0xd900ef)[_0x3a45b5(0x1ec)](_0x32effc[_0x3a45b5(0x20e)]),!this[_0x3a45b5(0x1a5)][_0x3a45b5(0x232)](_0xd900ef)||!this['_unitOnClients'][_0x3a45b5(0xe1)](_0xd900ef)[_0x3a45b5(0x232)](_0x5edd40)){const _0x5e189c=this[_0x3a45b5(0x1a5)]['get'](_0xd900ef)||new Set();_0x5e189c[_0x3a45b5(0x268)](_0x5edd40),this[_0x3a45b5(0x1a5)][_0x3a45b5(0x144)](_0xd900ef,_0x5e189c),this[_0x3a45b5(0x132)](_0x5edd40);}}),_0x1aa94c||this[_0x3a2a1f(0x1dc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3a2a1f(0xff)]],'isForwarded':!0x0});}[_0x23ff9b(0x132)](_0x1e10f5){const _0x241a43=_0x23ff9b;this[_0x241a43(0x245)](_0x1e10f5);const _0x5f2434=window[_0x241a43(0xfd)](()=>{const _0x31ded7=_0x241a43;this[_0x31ded7(0x1a5)]['forEach'](_0x36dac4=>{_0x36dac4['delete'](_0x1e10f5);});},rt*0x2);this[_0x241a43(0x1cb)][_0x241a43(0x144)](_0x1e10f5,_0x5f2434);}[_0x23ff9b(0x245)](_0x3d8265){const _0x242a26=_0x23ff9b;if(this[_0x242a26(0x1cb)]['has'](_0x3d8265)){const _0x5e5809=this[_0x242a26(0x1cb)][_0x242a26(0xe1)](_0x3d8265);_0x5e5809&&window[_0x242a26(0x171)](_0x5e5809),this['_clearOtherTimers']['set'](_0x3d8265,null);}}[_0x23ff9b(0x200)](_0x2a4985){const _0x199b42=_0x23ff9b,{memberID:_0x50a7e8,unitIDs:_0xd54a59}=_0x2a4985;_0xd54a59[_0x199b42(0x222)](_0xc6be1b=>{const _0x2e4e0c=_0x199b42;var _0x417f71;const _0x5991f7=this['_unitOnClients'][_0x2e4e0c(0xe1)](_0xc6be1b);_0x5991f7&&(_0x5991f7[_0x2e4e0c(0x223)](_0x50a7e8),(_0x417f71=this[_0x2e4e0c(0x1f5)](_0xc6be1b))==null||_0x417f71[_0x2e4e0c(0x1ec)](_0x5991f7[_0x2e4e0c(0x256)]===0x0?_0x32effc['NO_OTHER_CLIENTS_EDITING']:_0x32effc[_0x2e4e0c(0x20e)]));}),this[_0x199b42(0x245)](_0x50a7e8);}[_0x23ff9b(0x1ed)](_0x4494ac){const _0x220281=_0x23ff9b;this[_0x220281(0x132)](_0x4494ac[_0x220281(0x7a)]);}[_0x23ff9b(0x1dc)](_0x40e614){const _0x181dd6=_0x23ff9b;localStorage[_0x181dd6(0xbf)](ot,JSON['stringify'](_0x40e614));}[_0x23ff9b(0xa4)](){const _0x1b4b08=_0x23ff9b;this['_heartbeatTimer']=window[_0x1b4b08(0x141)](()=>{const _0x4c1fb2=_0x1b4b08;this[_0x4c1fb2(0x1dc)]({'type':0x2,'memberID':this[_0x4c1fb2(0xf1)]});},rt);}[_0x23ff9b(0x1f5)](_0x1a4512){const _0x38ad0c=_0x23ff9b;return this[_0x38ad0c(0x179)][_0x38ad0c(0x232)](_0x1a4512)||this[_0x38ad0c(0x179)][_0x38ad0c(0x144)](_0x1a4512,new _0x3de8b5(_0x32effc[_0x38ad0c(0x155)])),this[_0x38ad0c(0x179)][_0x38ad0c(0xe1)](_0x1a4512);}}var Lt=(_0x14f3fd=>(_0x14f3fd[_0x14f3fd[_0x23ff9b(0x195)]=0x0]=_0x23ff9b(0x195),_0x14f3fd[_0x14f3fd['OK']=0x1]='OK',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x218)]=0x2]=_0x23ff9b(0x218),_0x14f3fd[_0x14f3fd['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x14f3fd[_0x14f3fd['NOT_FOUND']=0x4]=_0x23ff9b(0x217),_0x14f3fd[_0x14f3fd[_0x23ff9b(0xc1)]=0x5]='UNAUTHENTICATED',_0x14f3fd[_0x14f3fd['ALREADY_EXISTS']=0x6]=_0x23ff9b(0x168),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x78)]=0x7]=_0x23ff9b(0x78),_0x14f3fd[_0x14f3fd[_0x23ff9b(0xd1)]=0x8]=_0x23ff9b(0xd1),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x10f)]=0x9]=_0x23ff9b(0x10f),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x109)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x249)]=0x1771]=_0x23ff9b(0x249),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x75)]=0x1772]=_0x23ff9b(0x75),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x1ae)]=0x1773]=_0x23ff9b(0x1ae),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x102)]=0x1b59]=_0x23ff9b(0x102),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x9c)]=0x1b5a]=_0x23ff9b(0x9c),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x252)]=0x1b5b]=_0x23ff9b(0x252),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x96)]=0x1b5c]=_0x23ff9b(0x96),_0x14f3fd[_0x14f3fd['APPLY_DUPLICATED']=0x1b5d]=_0x23ff9b(0x93),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x21f)]=0x1f41]=_0x23ff9b(0x21f),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x226)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x150)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x1a1)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x14f3fd[_0x14f3fd['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x14f3fd[_0x14f3fd[_0x23ff9b(0x7d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x14f3fd[_0x14f3fd['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x23ff9b(0x205),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x238)]=0x2712]=_0x23ff9b(0x238),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x202)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x14f3fd[_0x14f3fd['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x23ff9b(0x14b),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x228)]=0x2af9]=_0x23ff9b(0x228),_0x14f3fd[_0x14f3fd[_0x23ff9b(0x206)]=-0x1]=_0x23ff9b(0x206),_0x14f3fd))(Lt||{}),Dn=Object['getOwnPropertyDescriptor'],Pn=(_0x114f67,_0x19c981,_0x1c24e6,_0x24cf7d)=>{const _0x2d0f6c=_0x23ff9b;for(var _0x3c78a9=_0x24cf7d>0x1?void 0x0:_0x24cf7d?Dn(_0x19c981,_0x1c24e6):_0x19c981,_0x566e19=_0x114f67[_0x2d0f6c(0x1f4)]-0x1,_0x5bef03;_0x566e19>=0x0;_0x566e19--)(_0x5bef03=_0x114f67[_0x566e19])&&(_0x3c78a9=_0x5bef03(_0x3c78a9)||_0x3c78a9);return _0x3c78a9;},Te=(_0x253bf4,_0xaa268a)=>(_0x4d0d3,_0x58730d)=>_0xaa268a(_0x4d0d3,_0x58730d,_0x253bf4);let at=class extends _0x5e0670{constructor(_0x8cd926,_0xcd882f,_0x51fa98){const _0x5f5d0e=_0x23ff9b;super(),this[_0x5f5d0e(0x1db)]=_0x8cd926,this[_0x5f5d0e(0x11a)]=_0xcd882f,this[_0x5f5d0e(0x124)]=_0x51fa98;}async['runOnServer'](_0x59d624,_0x450deb,_0x5d336e,..._0x36059f){const _0x5ab986=_0x23ff9b;var _0x586f80,_0x58bda4,_0xdde835,_0x41a915;const _0x794422=this[_0x5ab986(0x1db)][_0x5ab986(0x19e)]();if(!_0x794422)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x11fc42=((_0x586f80=this[_0x5ab986(0x124)][_0x5ab986(0x166)](_0x9a5b6d))!=null?_0x586f80:_0x512cab)+'/'+_0x59d624+_0x5ab986(0x13d)+_0x450deb,_0x40f65d=new URL(window[_0x5ab986(0x26a)]['href']),_0x177d55={'scriptId':_0x59d624,'runId':(_0x58bda4=_0x40f65d[_0x5ab986(0xd2)][_0x5ab986(0xe1)]('runId'))!=null?_0x58bda4:'','function':_0x450deb,'unitId':_0x794422['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x36059f),'invokeId':(_0xdde835=_0x5d336e['invokeId'])!=null?_0xdde835:'','executionId':(_0x41a915=_0x5d336e[_0x5ab986(0x20b)])!=null?_0x41a915:''};try{const _0x568b47=await this['_httpService'][_0x5ab986(0x17c)](_0x11fc42,{'body':_0x177d55});return _0x568b47[_0x5ab986(0x207)][_0x5ab986(0xb9)]&&_0x568b47[_0x5ab986(0x207)][_0x5ab986(0xb9)][_0x5ab986(0x19a)]!==Lt['OK']?'Failed':_0x568b47[_0x5ab986(0x207)][_0x5ab986(0x99)];}catch{return'Failed';}}};at=Pn([Te(0x0,_0x1c8a5a),Te(0x1,_0xd50dcd(_0x1c7672)),Te(0x2,_0x533f06)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,qi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,at as RemoteUniscriptService,yi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Kn as WebBrowserSingleActiveUnitService,vn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x40d7(_0x116ab0,_0x1973d8){const _0x10a920=_0x10a9();return _0x40d7=function(_0x40d730,_0x40dc31){_0x40d730=_0x40d730-0xf2;let _0x33ef26=_0x10a920[_0x40d730];return _0x33ef26;},_0x40d7(_0x116ab0,_0x1973d8);}const _0x12adec=_0x40d7;function _0x10a9(){const _0x5ecba0=['1973870wTRIWl','2042082onmtZL','707ZcCQbX','24ZEGDhx','3465583GUixkD','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','150630MWiJub','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20please\x20check\x20your\x20network.','786cLAqxf','7ruguzu','Click\x20to\x20Reconnect','8SSGQrA','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.','842550APifjP','39iZrxIf','Syncing...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','137132hcTpev'];_0x10a9=function(){return _0x5ecba0;};return _0x10a9();}(function(_0x23bd52,_0x1e4cee){const _0x2972e6=_0x40d7,_0x2f5070=_0x23bd52();while(!![]){try{const _0x35627f=-parseInt(_0x2972e6(0x102))/0x1*(parseInt(_0x2972e6(0xfd))/0x2)+-parseInt(_0x2972e6(0x107))/0x3*(-parseInt(_0x2972e6(0xf4))/0x4)+-parseInt(_0x2972e6(0xf5))/0x5+-parseInt(_0x2972e6(0x101))/0x6*(-parseInt(_0x2972e6(0xf7))/0x7)+parseInt(_0x2972e6(0x104))/0x8*(parseInt(_0x2972e6(0xf6))/0x9)+-parseInt(_0x2972e6(0x106))/0xa+parseInt(_0x2972e6(0xf9))/0xb*(parseInt(_0x2972e6(0xf8))/0xc);if(_0x35627f===_0x1e4cee)break;else _0x2f5070['push'](_0x2f5070['shift']());}catch(_0x53bc3c){_0x2f5070['push'](_0x2f5070['shift']());}}}(_0x10a9,0x4b9b0));const e={'collab-client':{'tooltip':{'reconnect':_0x12adec(0x103)}},'collabStatus':{'fetchMiss':_0x12adec(0xfa),'conflict':'Edit\x20conflicts','notCollab':_0x12adec(0x10b),'synced':'Synced','syncing':_0x12adec(0x108),'offline':_0x12adec(0xff)},'session':{'connection-failed':_0x12adec(0x100),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x12adec(0x109),'collaboration-timeout':_0x12adec(0xfc)},'conflict':{'title':_0x12adec(0xf3),'content':_0x12adec(0x105)},'permission':{'title':_0x12adec(0x10c),'content':_0x12adec(0x10a)},'collaboration':{'single-unit':{'warning':_0x12adec(0xfe)},'closeRoom':_0x12adec(0xfb)},'auth':{'needGotoLoginAlert':_0x12adec(0xf2)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3a9e(_0x21b5ba,_0x223b00){const _0x5294ec=_0x5294();return _0x3a9e=function(_0x3a9e05,_0x42a321){_0x3a9e05=_0x3a9e05-0xda;let _0x17f028=_0x5294ec[_0x3a9e05];return _0x17f028;},_0x3a9e(_0x21b5ba,_0x223b00);}function _0x5294(){const _0x190522=['305379XlrZnv','200rSoYtr','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','خطای\x20اعتبارسنجی','171451Dyqvfw','2239435POZDCq','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','در\x20حال\x20همگام\x20سازی...','162bwuGGU','اتاق\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شوند','355ApJupW','538212FRpeel','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','92097zbxeNY','70SXkOFO','همگام\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ویرایش','9640gvaPxm','4NarkQT','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0x5294=function(){return _0x190522;};return _0x5294();}const _0x261cf5=_0x3a9e;(function(_0x5683e5,_0x4ee52a){const _0x1d39f1=_0x3a9e,_0x22a4bd=_0x5683e5();while(!![]){try{const _0x4d3245=parseInt(_0x1d39f1(0xea))/0x1+-parseInt(_0x1d39f1(0xf0))/0x2*(parseInt(_0x1d39f1(0xe3))/0x3)+-parseInt(_0x1d39f1(0xf1))/0x4*(-parseInt(_0x1d39f1(0xe7))/0x5)+-parseInt(_0x1d39f1(0xe8))/0x6+-parseInt(_0x1d39f1(0xdf))/0x7*(-parseInt(_0x1d39f1(0xdc))/0x8)+-parseInt(_0x1d39f1(0xdb))/0x9*(parseInt(_0x1d39f1(0xeb))/0xa)+parseInt(_0x1d39f1(0xe0))/0xb;if(_0x4d3245===_0x4ee52a)break;else _0x22a4bd['push'](_0x22a4bd['shift']());}catch(_0x5c693d){_0x22a4bd['push'](_0x22a4bd['shift']());}}}(_0x5294,0x4e443));const o={'collab-client':{'tooltip':{'reconnect':_0x261cf5(0xe1)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x261cf5(0xef),'notCollab':'پرونده\x20محلی','synced':_0x261cf5(0xec),'syncing':_0x261cf5(0xe2),'offline':_0x261cf5(0xe6)},'session':{'connection-failed':_0x261cf5(0xe9),'will-retry':_0x261cf5(0xdd),'room-full':_0x261cf5(0xe4),'collaboration-timeout':_0x261cf5(0xda)},'conflict':{'title':'تداخل\x20همکاری','content':_0x261cf5(0xed)},'permission':{'title':_0x261cf5(0xde),'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رفت.'},'collaboration':{'single-unit':{'warning':_0x261cf5(0xee)},'closeRoom':_0x261cf5(0xe5)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|