@univerjs-pro/collaboration-client-ui 0.8.0-beta.0 → 0.8.0-beta.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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/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 +17 -17
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5590b9=_0x3ce6;(function(_0x27a19e,_0x528743){const _0x2415e4=_0x3ce6,_0x27543a=_0x27a19e();while(!![]){try{const _0xe8512=-parseInt(_0x2415e4(0x353))/0x1+parseInt(_0x2415e4(0x308))/0x2*(parseInt(_0x2415e4(0x213))/0x3)+parseInt(_0x2415e4(0x1e4))/0x4*(parseInt(_0x2415e4(0x2e3))/0x5)+parseInt(_0x2415e4(0x1f6))/0x6*(parseInt(_0x2415e4(0x35f))/0x7)+-parseInt(_0x2415e4(0x32a))/0x8+parseInt(_0x2415e4(0x220))/0x9*(-parseInt(_0x2415e4(0x357))/0xa)+-parseInt(_0x2415e4(0x25d))/0xb;if(_0xe8512===_0x528743)break;else _0x27543a['push'](_0x27543a['shift']());}catch(_0x238696){_0x27543a['push'](_0x27543a['shift']());}}}(_0x6cc0,0xefcc5));var $t=Object['defineProperty'],xt=(_0x236a4e,_0x377669,_0x11bc6b)=>_0x377669 in _0x236a4e?$t(_0x236a4e,_0x377669,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11bc6b}):_0x236a4e[_0x377669]=_0x11bc6b,_=(_0x8ec4e4,_0x4f9fa1,_0xa1c338)=>xt(_0x8ec4e4,typeof _0x4f9fa1!=_0x5590b9(0x2f3)?_0x4f9fa1+'':_0x4f9fa1,_0xa1c338);import{MemberService as _0x18f8e6,SessionStatus as _0x2a051e,CollaborationSessionService as _0x1f72fc,CollaborationStatus as _0x3d070b,CollaborationController as _0x2519a9,ILocalCacheService as _0xdaa54e,CollaborationUIEventService as _0x14b310,CollaborationUIEventId as _0xc5058a,DataLoaderService as _0xddad52,DocCollaborationEntity as _0x2098d5,getLocalCacheKey as _0x17abad,LOCAL_CACHE_INTERVAL as _0x4e5d4c,LOCAL_CACHE_INTERVAL_KEY as _0x1f51e5,UniverCollaborationClientPlugin as _0x16f8cc,CollaborationSocketService as _0x118bb3,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4ad1b7,DEFAULT_WS_SESSION_TICKET_URL as _0x1cb61c,UnitStatus as _0x37f16f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x84ee4b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2b6804}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2cc23f,Disposable as _0x309fbf,DOC_RANGE_TYPE as _0x78d55,Inject as _0x3cf773,Injector as _0x1e3a61,IUniverInstanceService as _0x52a5ac,ICommandService as _0x2450c9,debounce as _0x1e76ee,Rectangle as _0x3911ce,DisposableCollection as _0x432a16,toDisposable as _0x1e2c7b,UniverInstanceType as _0x41e515,Tools as _0x43bba6,COLORS as _0x2c7230,ColorKit as _0x1d74b2,ThemeService as _0x717113,fromEventSubject as _0x35a812,LocaleService as _0x6d8484,createIdentifier as _0x94f5bb,ILogService as _0x176e7e,Optional as _0x5914a4,Workbook as _0x5ee97b,CommandType as _0x5812d8,IConfigService as _0x2c5d55,ILocalStorageService as _0x9428bc,DependentOn as _0x273459,Plugin as _0x15f4ae,merge as _0x295bdf,registerDependencies as _0x4e7161,mergeOverrideWithDependencies as _0x34200f,touchDependencies as _0xd048cc,generateRandomId as _0x391cb0}from'@univerjs/core';import{Shape as _0x4df813,Rect as _0x8a98a1,getColor as _0x35d681,RegularPolygon as _0x173b85,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x248840,Vector2 as _0x3dc33b,SHEET_VIEWPORT_KEY as _0x40c8ed,IRenderManagerService as _0x537a9e}from'@univerjs/engine-render';import{ISocketService as _0x24f7a1,WebSocketService as _0x2030ca,HTTPService as _0x239729}from'@univerjs/network';import{IDocClipboardService as _0x2079a6,NodePositionConvertToCursor as _0x3699d8,NodePositionConvertToRectRange as _0x433619,TEXT_RANGE_LAYER_INDEX as _0x1b4ac7,SetDocZoomRatioOperation as _0x31d604,DocIMEInputManagerService as _0x27f98c,DocStateChangeManagerService as _0x4fa245}from'@univerjs/docs-ui';import{IImageIoService as _0x4ef63e}from'@univerjs/drawing';import{BehaviorSubject as _0x340249,debounceTime as _0x4aaf34,takeUntil as _0xf81e49,Subject as _0x254cf6,filter as _0x396000,switchMap as _0x40951d,merge as _0x2e657c,combineLatest as _0x3987fa,of as _0x42a810,fromEvent as _0x1994f4,shareReplay as _0x313feb,mapTo as _0x1c0647,distinctUntilChanged as _0x3a7748}from'rxjs';import{SetTextSelectionsOperation as _0xeb32d2,RichTextEditingMutation as _0x1ab841,DocSelectionManagerService as _0x35a581,DocSkeletonManagerService as _0x59cd1a}from'@univerjs/docs';import{ITransformService as _0x2b8652,CollaborationEvent as _0x3ddc2c,isTransformMutationFailure as _0x404cfd,isTransformMutationsWithChangesetSuccess as _0x131bf3,RevisionService as _0x126ff4,ISnapshotServerService as _0x46f94b}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x134355,serializeRangeWithSheet as _0x4c5ba0}from'@univerjs/engine-formula';import{RefRangeService as _0x4cb956,SetSelectionsOperation as _0x17a5d4,SheetsSelectionsService as _0x989d93,EffectRefRangId as _0x1fee7c,handleIRemoveRow as _0x53b3a1,handleIRemoveCol as _0x35e57e,handleMoveRange as _0x533e9f,handleInsertRow as _0x319482,handleInsertRangeMoveRight as _0x4e2b9a,handleInsertRangeMoveDown as _0x2d438a,handleInsertCol as _0x5c3106,handleDeleteRangeMoveUp as _0xaff56d,handleDeleteRangeMoveLeft as _0x58cb6f,runRefRangeMutations as _0x142dc4,SetWorksheetActivateCommand as _0x55cc91}from'@univerjs/sheets';import{map as _0x56c8fd,filter as _0x231d17,throttleTime as _0x785a4f,takeUntil as _0x51ca62,switchMap as _0x2cff67}from'rxjs/operators';import{SheetSkeletonManagerService as _0x45f9f7,getCoordByCell as _0x37feef,getSheetObject as _0x2c1235}from'@univerjs/sheets-ui';import{jsx as _0x4d0f58,jsxs as _0x3cd146}from'react/jsx-runtime';import{useObservable as _0x1f0044,useDependency as _0x634db2,IUIPartsService as _0x236a30,BuiltInUIPart as _0x4c5f94,connectInjector as _0x29400d,IBeforeCloseService as _0x567400,IMessageService as _0x4ff51e,INotificationService as _0x17ffa8}from'@univerjs/ui';import{Tooltip as _0x4bba3b,clsx as _0x3be01c,MessageType as _0x25ba7c}from'@univerjs/design';import{forwardRef as _0x53a81d,useRef as _0x126c00,createElement as _0x3d0e4a,useCallback as _0x3b565b}from'react';import{IRemoteInstanceService as _0x58eda0}from'@univerjs/rpc';var ci=Object[_0x5590b9(0x247)],li=(_0x400158,_0x4f0c7b,_0x1191e0,_0x561d3c)=>{const _0x3510ce=_0x5590b9;for(var _0x14a090=_0x561d3c>0x1?void 0x0:_0x561d3c?ci(_0x4f0c7b,_0x1191e0):_0x4f0c7b,_0x55e441=_0x400158[_0x3510ce(0x32e)]-0x1,_0x35cbe5;_0x55e441>=0x0;_0x55e441--)(_0x35cbe5=_0x400158[_0x55e441])&&(_0x14a090=_0x35cbe5(_0x14a090)||_0x14a090);return _0x14a090;},Je=(_0x1892d3,_0x3abe49)=>(_0x5db498,_0x287561)=>_0x3abe49(_0x5db498,_0x287561,_0x1892d3);let Ne=class extends _0x2cc23f{constructor(_0x34052b,_0x314031){const _0x38b976=_0x5590b9;super(),this[_0x38b976(0x2dd)]=_0x34052b,this[_0x38b976(0x339)]=_0x314031,this['_init']();}[_0x5590b9(0x347)](){const _0x5ea069=_0x5590b9,_0x31a57e=this;this['disposeWithMe'](this[_0x5ea069(0x2dd)][_0x5ea069(0x317)]({'onBeforePasteImage':async _0x52f229=>{const _0x304f82=_0x5ea069,_0x1fec92=await _0x31a57e[_0x304f82(0x339)]['saveImage'](_0x52f229);return _0x1fec92?{'source':_0x1fec92['source'],'imageSourceType':_0x1fec92[_0x304f82(0x1fb)]}:null;}}));}};Ne=li([Je(0x0,_0x2079a6),Je(0x1,_0x4ef63e)],Ne);const Ze=['purple.300','jiqing.500','green.600',_0x5590b9(0x24e),'blue.400',_0x5590b9(0x32d)];class ke extends _0x309fbf{constructor(){const _0x40d9c6=_0x5590b9;super(...arguments),_(this,_0x40d9c6(0x26f),new Map()),_(this,'_colorIndex',0x0);}[_0x5590b9(0x23d)](_0xd20be5){const _0x28740a=_0x5590b9;if(this[_0x28740a(0x26f)][_0x28740a(0x3b1)](_0xd20be5))return this['_assignedColors'][_0x28740a(0x340)](_0xd20be5);const _0x3a7792=Ze[this[_0x28740a(0x273)]];return this[_0x28740a(0x273)]=(this['_colorIndex']+0x1)%Ze[_0x28740a(0x32e)],this[_0x28740a(0x26f)][_0x28740a(0x2b2)](_0xd20be5,_0x3a7792),_0x3a7792;}}function Tt(_0x2133fb){let _0x4e3d4a='';for(const _0x6cc91 of _0x2133fb){const {startOffset:_0x4b55d5,endOffset:_0x5383f3,isActive:_0x1b95da,rangeType:_0x380717,segmentId:_0x283afd,segmentPage:_0x4dd86}=_0x6cc91;_0x4e3d4a['length']&&(_0x4e3d4a+=','),_0x4e3d4a+=_0x4b55d5+':'+_0x5383f3+':'+(_0x1b95da?'1':'0')+':'+_0x380717+':'+_0x283afd+':'+_0x4dd86;}return _0x4e3d4a;}function _i(_0x16a23a){const _0x88194b=_0x5590b9,_0x148a05=_0x16a23a[_0x88194b(0x241)](','),_0x29186f=[];for(const _0x4a24b0 of _0x148a05){const [_0x375cd8,_0x34b0f7,_0x22ee5b,_0x57a13c,_0x3c261b,_0x5a23b7]=_0x4a24b0[_0x88194b(0x241)](':');_0x29186f[_0x88194b(0x1cc)]({'startOffset':Number(_0x375cd8),'endOffset':Number(_0x34b0f7),'collapsed':_0x375cd8===_0x34b0f7,'isActive':_0x22ee5b==='1','rangeType':_0x57a13c===_0x78d55[_0x88194b(0x232)]?_0x78d55[_0x88194b(0x232)]:_0x78d55[_0x88194b(0x2cb)],'segmentId':typeof _0x3c261b==_0x88194b(0x1c5)?String(_0x3c261b):'','segmentPage':Number(_0x5a23b7!=null?_0x5a23b7:-0x1)});}return _0x29186f[_0x88194b(0x286)](_0x537712=>_0x537712[_0x88194b(0x1c2)])||(_0x29186f[0x0]['isActive']=!0x0),_0x29186f;}class He extends _0x2cc23f{constructor(){const _0x2fb467=_0x5590b9;super(...arguments),_(this,_0x2fb467(0x266),new _0x340249(null)),_(this,_0x2fb467(0x3b0),this[_0x2fb467(0x266)][_0x2fb467(0x380)]());}[_0x5590b9(0x30f)](_0x44981f){const _0x39ef28=_0x5590b9,{unitID:_0x3f5aaf,memberID:_0x239334,textRanges:_0x36a5b7}=_0x44981f,_0x5e3192=Tt(_0x36a5b7);if(_0x5e3192==='')return;const _0x148b3f={'unitID':_0x3f5aaf,'memberID':_0x239334,'selection':_0x5e3192};this['_collabCursorState$'][_0x39ef28(0x2c0)](_0x148b3f);}}var hi=Object[_0x5590b9(0x247)],ui=(_0xb2987,_0x3c24aa,_0x34ffc1,_0x4034d9)=>{const _0x5decd6=_0x5590b9;for(var _0x11c71c=_0x4034d9>0x1?void 0x0:_0x4034d9?hi(_0x3c24aa,_0x34ffc1):_0x3c24aa,_0x478e8b=_0xb2987[_0x5decd6(0x32e)]-0x1,_0x440dfc;_0x478e8b>=0x0;_0x478e8b--)(_0x440dfc=_0xb2987[_0x478e8b])&&(_0x11c71c=_0x440dfc(_0x11c71c)||_0x11c71c);return _0x11c71c;},L=(_0x5c0534,_0x3980d4)=>(_0x1d7cbb,_0x4742db)=>_0x3980d4(_0x1d7cbb,_0x4742db,_0x5c0534);const di=0x12c,fi=0x64;let Ue=class extends _0x2cc23f{constructor(_0x17ce2a,_0x4e9754,_0x50e3a0,_0x2f6606,_0x541cfb,_0x43c91f,_0x3f29a0,_0x27ea77,_0x520d9f){const _0x1507cb=_0x5590b9;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x340249(new Map())),_(this,_0x1507cb(0x280),this['_cursorInfo$'][_0x1507cb(0x380)]()),_(this,'_roomMembers$',new _0x340249([])),_(this,_0x1507cb(0x361),this[_0x1507cb(0x2f6)][_0x1507cb(0x31f)](_0x4aaf34(di))),_(this,_0x1507cb(0x31b),_0x1e76ee(_0x375e3c=>{const _0x598252=_0x1507cb,_0x251317={'eventID':_0x3ddc2c[_0x598252(0x35e)],'data':{'unitID':this[_0x598252(0x304)],'memberID':this[_0x598252(0x388)][_0x598252(0x1d4)](),'selection':Tt(_0x375e3c)}};this['_session'][_0x598252(0x299)](_0x251317,this[_0x598252(0x304)]);},fi)),(this[_0x1507cb(0x304)]=_0x17ce2a,this[_0x1507cb(0x388)]=_0x4e9754,this['_injector']=_0x50e3a0,this[_0x1507cb(0x2c6)]=_0x2f6606,this[_0x1507cb(0x20f)]=_0x541cfb,this[_0x1507cb(0x378)]=_0x43c91f,this[_0x1507cb(0x27e)]=_0x3f29a0,this[_0x1507cb(0x310)]=_0x27ea77,this[_0x1507cb(0x1f2)]=_0x520d9f);}get[_0x5590b9(0x36a)](){const _0x5e9f02=_0x5590b9;return this[_0x5e9f02(0x1d3)][_0x5e9f02(0x2bf)]();}get[_0x5590b9(0x3a2)](){const _0x56fb06=_0x5590b9;return this['_roomMembers$'][_0x56fb06(0x2bf)]();}[_0x5590b9(0x289)](){const _0x27ebd7=_0x5590b9;super[_0x27ebd7(0x289)](),this[_0x27ebd7(0x1d3)][_0x27ebd7(0x2c0)](new Map()),this['_cursorInfo$'][_0x27ebd7(0x271)](),this[_0x27ebd7(0x2f6)][_0x27ebd7(0x2c0)]([]),this[_0x27ebd7(0x2f6)]['complete']();}[_0x5590b9(0x1cd)](){const _0x47d0b7=_0x5590b9;this[_0x47d0b7(0x347)]||(this[_0x47d0b7(0x347)]=!0x0,this[_0x47d0b7(0x388)][_0x47d0b7(0x222)][_0x47d0b7(0x31f)](_0xf81e49(this[_0x47d0b7(0x39a)]))[_0x47d0b7(0x37e)](_0x52ddca=>{const _0x306ac8=_0x47d0b7;_0x52ddca===_0x2a051e[_0x306ac8(0x2b1)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x47d0b7(0x388)][_0x47d0b7(0x349)][_0x47d0b7(0x31f)](_0xf81e49(this[_0x47d0b7(0x39a)]))[_0x47d0b7(0x37e)](_0xc19e64=>{const _0x1aacc0=_0x47d0b7,_0x45686d=_0xc19e64[_0x1aacc0(0x250)];_0x45686d===_0x3ddc2c['UPDATE_CURSOR']&&this[_0x1aacc0(0x224)](_0xc19e64),_0x45686d===_0x3ddc2c['USERS_LEAVE']&&this[_0x1aacc0(0x207)](_0xc19e64);}),this[_0x47d0b7(0x392)](this['_commandService'][_0x47d0b7(0x29f)](_0x3f1462=>{const _0x3becfa=_0x47d0b7,_0x4576bf=_0x3f1462['params'];_0x4576bf!=null&&this[_0x3becfa(0x363)]&&_0x3f1462['id']===_0xeb32d2['id']&&_0x4576bf[_0x3becfa(0x1b7)]===this[_0x3becfa(0x304)]&&_0x4576bf[_0x3becfa(0x389)]===!0x1&&_0x4576bf['ranges'][_0x3becfa(0x32e)]>0x0&&this[_0x3becfa(0x31b)](_0x4576bf[_0x3becfa(0x30e)]);})),this[_0x47d0b7(0x378)]['collabCursorState$']['pipe'](_0xf81e49(this[_0x47d0b7(0x39a)]))['subscribe'](_0x3713e5=>{const _0x43c916=_0x47d0b7;if((_0x3713e5==null?void 0x0:_0x3713e5['unitID'])!==this[_0x43c916(0x304)])return;const _0x29fd6f={'eventID':_0x3ddc2c[_0x43c916(0x35e)],'data':_0x3713e5};this[_0x43c916(0x224)](_0x29fd6f);}),this['disposeWithMe'](this[_0x47d0b7(0x1f2)][_0x47d0b7(0x29f)](_0x582ba4=>{const _0x5b7091=_0x47d0b7;if(_0x582ba4[_0x5b7091(0x281)]==null)return;const _0x386ac0=_0x582ba4[_0x5b7091(0x281)];if(_0x582ba4['id']!==_0x1ab841['id']||_0x386ac0[_0x5b7091(0x1b7)]!==this[_0x5b7091(0x304)])return;const _0x31a3b9={'id':_0x5b7091(0x2b0),'params':_0x386ac0},_0x31ec09=this[_0x5b7091(0x36a)];for(const [_0xcea7b3,_0x34a15e]of _0x31ec09){const _0x1688bb={'id':_0x5b7091(0x2b0),'params':{'unitId':this[_0x5b7091(0x304)],'actions':null,'textRanges':_0x34a15e[_0x5b7091(0x30e)]}},_0xe086a=this['_transformService'][_0x5b7091(0x1b4)](_0x31a3b9,_0x1688bb,!0x1);if(_0x404cfd(_0xe086a))throw _0xe086a[_0x5b7091(0x1fa)];_0x31ec09[_0x5b7091(0x2b2)](_0xcea7b3,{..._0x34a15e,'ranges':_0xe086a[_0x5b7091(0x27c)][_0x5b7091(0x281)][_0x5b7091(0x31c)]});}queueMicrotask(()=>{const _0x35ec81=_0x5b7091;this[_0x35ec81(0x1d3)]['next'](_0x31ec09);});})));}[_0x5590b9(0x224)](_0x346082){const _0xbc1205=_0x5590b9;var _0x1b89e2,_0x157b6a;const {memberID:_0x3a5aa3,selection:_0x41254b}=_0x346082['data'],_0x18ead7=_i(_0x41254b),_0x347645=(_0x157b6a=(_0x1b89e2=this[_0xbc1205(0x20f)]['getMember'](this['unitID'],_0x3a5aa3))==null?void 0x0:_0x1b89e2[_0xbc1205(0x334)])!=null?_0x157b6a:'Unknown\x20user',_0x4dee34={'color':this[_0xbc1205(0x2c6)][_0xbc1205(0x23d)](_0x3a5aa3),'name':_0x347645,'ranges':_0x18ead7},_0x2cc81a=this[_0xbc1205(0x36a)];_0x2cc81a[_0xbc1205(0x2b2)](_0x3a5aa3,_0x4dee34),this[_0xbc1205(0x1d3)][_0xbc1205(0x2c0)](_0x2cc81a);}[_0x5590b9(0x207)](_0x4a3005){const _0x5a1b64=_0x5590b9,{memberID:_0x3c386b}=_0x4a3005[_0x5a1b64(0x290)],_0xc6f57f=this[_0x5a1b64(0x36a)];_0xc6f57f[_0x5a1b64(0x245)](_0x3c386b),this[_0x5a1b64(0x1d3)][_0x5a1b64(0x2c0)](_0xc6f57f);}[_0x5590b9(0x376)](){const _0x5ac63b=_0x5590b9;var _0x37d68a;if(this[_0x5ac63b(0x363)]=!0x0,((_0x37d68a=this['_univerInstanceService'][_0x5ac63b(0x3b6)]())==null?void 0x0:_0x37d68a[_0x5ac63b(0x243)]())!==this[_0x5ac63b(0x304)])return;const _0x10201e=this[_0x5ac63b(0x3ab)][_0x5ac63b(0x340)](_0x35a581)[_0x5ac63b(0x235)]();Array[_0x5ac63b(0x288)](_0x10201e)&&_0x10201e[_0x5ac63b(0x32e)]>0x0&&this[_0x5ac63b(0x31b)](_0x10201e);}[_0x5590b9(0x31e)](){const _0x5eb1c8=_0x5590b9;this[_0x5eb1c8(0x363)]=!0x1;}};Ue=ui([L(0x2,_0x3cf773(_0x1e3a61)),L(0x3,_0x3cf773(ke)),L(0x4,_0x3cf773(_0x18f8e6)),L(0x5,_0x3cf773(He)),L(0x6,_0x2b8652),L(0x7,_0x52a5ac),L(0x8,_0x2450c9)],Ue);var Si=Object[_0x5590b9(0x247)],mi=(_0x234d36,_0x16d379,_0x4a883e,_0x3f009b)=>{const _0x3e1488=_0x5590b9;for(var _0x519ff1=_0x3f009b>0x1?void 0x0:_0x3f009b?Si(_0x16d379,_0x4a883e):_0x16d379,_0x201745=_0x234d36[_0x3e1488(0x32e)]-0x1,_0x33725d;_0x201745>=0x0;_0x201745--)(_0x33725d=_0x234d36[_0x201745])&&(_0x519ff1=_0x33725d(_0x519ff1)||_0x519ff1);return _0x519ff1;},x=(_0x28efb3,_0x53499c)=>(_0x225828,_0x4f9187)=>_0x53499c(_0x225828,_0x4f9187,_0x28efb3);const gi=0x12c,Ii=0x64,vi=()=>{let _0x13efc0=[],_0x5215fa=!0x1;return _0x2d835f=>{const _0x3fe46d=_0x3ce6;_0x13efc0[_0x3fe46d(0x1cc)](_0x2d835f),_0x5215fa||(_0x5215fa=!0x0,setTimeout(()=>{const _0x47a9ca=_0x3fe46d;_0x13efc0[_0x47a9ca(0x397)](_0x21ab27=>_0x21ab27()),_0x13efc0=[],_0x5215fa=!0x1;}));};};let Me=class extends _0x2cc23f{constructor(_0x50dc37,_0x40f6de,_0x422a0a,_0x18cc92,_0x307b53,_0x3d77ad,_0x7061bc,_0x1d6547){const _0x3c8489=_0x5590b9;super(),_(this,_0x3c8489(0x363),!0x1),_(this,_0x3c8489(0x347),!0x1),_(this,_0x3c8489(0x1d3),new _0x340249(new Map())),_(this,_0x3c8489(0x280),this[_0x3c8489(0x1d3)][_0x3c8489(0x380)]()),_(this,_0x3c8489(0x2f6),new _0x340249([])),_(this,'roomMembers$',this[_0x3c8489(0x2f6)][_0x3c8489(0x31f)](_0x4aaf34(gi))),_(this,_0x3c8489(0x31b),_0x1e76ee((_0x364fdc,_0x32b144)=>{const _0x50b901=_0x3c8489,_0x91f680={'eventID':_0x3ddc2c['UPDATE_CURSOR'],'data':{'unitID':this[_0x50b901(0x304)],'memberID':this[_0x50b901(0x388)][_0x50b901(0x1d4)](),'selection':_0x4c5ba0(_0x364fdc,_0x32b144[_0x50b901(0x1cf)])}};this[_0x50b901(0x388)][_0x50b901(0x299)](_0x91f680,this['unitID']);},Ii)),(this[_0x3c8489(0x304)]=_0x50dc37,this['_session']=_0x40f6de,this['_injector']=_0x422a0a,this[_0x3c8489(0x2c6)]=_0x18cc92,this[_0x3c8489(0x20f)]=_0x307b53,this[_0x3c8489(0x310)]=_0x3d77ad,this[_0x3c8489(0x1f2)]=_0x7061bc,this[_0x3c8489(0x375)]=_0x1d6547);}get['cursorInfo'](){const _0x4cb3f3=_0x5590b9;return this[_0x4cb3f3(0x1d3)][_0x4cb3f3(0x2bf)]();}get['roomMembers'](){const _0x19eb81=_0x5590b9;return this[_0x19eb81(0x2f6)][_0x19eb81(0x2bf)]();}[_0x5590b9(0x289)](){const _0x1617db=_0x5590b9;super[_0x1617db(0x289)](),this['_cursorInfo$'][_0x1617db(0x2c0)](new Map()),this[_0x1617db(0x1d3)][_0x1617db(0x271)](),this[_0x1617db(0x2f6)][_0x1617db(0x2c0)]([]),this[_0x1617db(0x2f6)][_0x1617db(0x271)]();}[_0x5590b9(0x1cd)](){const _0x804007=_0x5590b9;this[_0x804007(0x347)]||(this[_0x804007(0x347)]=!0x0,this[_0x804007(0x388)][_0x804007(0x222)][_0x804007(0x31f)](_0xf81e49(this[_0x804007(0x39a)]))[_0x804007(0x37e)](_0xac2140=>{const _0x3ff5a8=_0x804007;_0xac2140===_0x2a051e[_0x3ff5a8(0x2b1)]?this[_0x3ff5a8(0x376)]():this[_0x3ff5a8(0x31e)]();}),this[_0x804007(0x388)]['event$'][_0x804007(0x31f)](_0xf81e49(this['dispose$']))[_0x804007(0x37e)](_0x331355=>{const _0x5ec5d2=_0x804007,_0x3983ff=_0x331355['eventID'];_0x3983ff===_0x3ddc2c[_0x5ec5d2(0x35e)]&&this[_0x5ec5d2(0x224)](_0x331355),_0x3983ff===_0x3ddc2c[_0x5ec5d2(0x255)]&&this[_0x5ec5d2(0x207)](_0x331355);}),this[_0x804007(0x33c)](),this[_0x804007(0x392)](this[_0x804007(0x1f2)]['onCommandExecuted'](_0x2bd207=>{const _0x4aebe7=_0x804007;if(this[_0x4aebe7(0x363)]&&_0x2bd207['id']===_0x17a5d4['id']&&_0x2bd207[_0x4aebe7(0x281)][_0x4aebe7(0x1b7)]===this['unitID']){const _0x8f5e29=_0x2bd207['params'];this[_0x4aebe7(0x31b)](_0x8f5e29[_0x4aebe7(0x356)],_0x8f5e29[_0x4aebe7(0x1cb)][0x0]);}})));}['_onCursorUpdate'](_0x56b290){const _0x315d9b=_0x5590b9;var _0x1e6fad,_0x3fe2b6;const {memberID:_0x3a5dc3,selection:_0x28e4cd}=_0x56b290['data'],{sheetName:_0x3b2b3a,range:_0x577dc8}=_0x134355(_0x28e4cd),_0x349e97={'name':(_0x3fe2b6=(_0x1e6fad=this['_memberService'][_0x315d9b(0x369)](this[_0x315d9b(0x304)],_0x3a5dc3))==null?void 0x0:_0x1e6fad[_0x315d9b(0x334)])!=null?_0x3fe2b6:_0x315d9b(0x311),'range':this['_getMergeRange'](_0x3b2b3a,_0x577dc8),'sheetID':_0x3b2b3a,'color':this[_0x315d9b(0x2c6)][_0x315d9b(0x23d)](_0x3a5dc3),'selection':_0x28e4cd},_0x24f68e=this[_0x315d9b(0x36a)];_0x24f68e['set'](_0x3a5dc3,_0x349e97),this[_0x315d9b(0x1d3)][_0x315d9b(0x2c0)](_0x24f68e);}[_0x5590b9(0x207)](_0x4ad975){const _0x1c8b56=_0x5590b9,{memberID:_0x119fa1}=_0x4ad975[_0x1c8b56(0x290)],_0x1a1c1a=this[_0x1c8b56(0x36a)];_0x1a1c1a['delete'](_0x119fa1),this[_0x1c8b56(0x1d3)][_0x1c8b56(0x2c0)](_0x1a1c1a);}[_0x5590b9(0x22b)](_0x3ef918,_0x19bc31){const _0x1baa90=_0x5590b9;var _0xe172b1,_0x3a64ca;const _0x4fa4a9=(_0x3a64ca=(_0xe172b1=this['_univerInstanceService'][_0x1baa90(0x22c)](this[_0x1baa90(0x304)]))==null?void 0x0:_0xe172b1['getSheetBySheetId'](_0x3ef918))==null?void 0x0:_0x3a64ca[_0x1baa90(0x24b)]();return(_0x4fa4a9==null?void 0x0:_0x4fa4a9['find'](_0x233081=>_0x3911ce[_0x1baa90(0x201)](_0x233081,_0x19bc31)))||_0x19bc31;}[_0x5590b9(0x33c)](){const _0x34dd54=_0x5590b9,_0x28a3db=new _0x432a16(),_0xcabf01=vi(),_0x2d99a9=()=>{const _0xe7fbfa=_0x3ce6;_0x28a3db[_0xe7fbfa(0x289)]();const _0x3e77ea=(_0x1d51fe,_0x38095e,_0x880464,_0x484ec7)=>{const _0x140943=_0xe7fbfa;let _0x3bcb97=[];switch(_0x1d51fe['id']){case _0x1fee7c[_0x140943(0x2fa)]:{_0x3bcb97=_0x58cb6f(_0x1d51fe,_0x484ec7);break;}case _0x1fee7c[_0x140943(0x258)]:{_0x3bcb97=_0xaff56d(_0x1d51fe,_0x484ec7);break;}case _0x1fee7c[_0x140943(0x2ee)]:{_0x3bcb97=_0x5c3106(_0x1d51fe,_0x484ec7);break;}case _0x1fee7c[_0x140943(0x203)]:{_0x3bcb97=_0x2d438a(_0x1d51fe,_0x484ec7);break;}case _0x1fee7c[_0x140943(0x2b9)]:{_0x3bcb97=_0x4e2b9a(_0x1d51fe,_0x484ec7);break;}case _0x1fee7c[_0x140943(0x24f)]:{_0x3bcb97=_0x319482(_0x1d51fe,_0x484ec7);break;}case _0x1fee7c[_0x140943(0x34c)]:{_0x3bcb97=_0x533e9f(_0x1d51fe,_0x484ec7);break;}case _0x1fee7c[_0x140943(0x244)]:{_0x3bcb97=_0x35e57e(_0x1d51fe,_0x484ec7);break;}case _0x1fee7c['RemoveRowCommandId']:{_0x3bcb97=_0x53b3a1(_0x1d51fe,_0x484ec7);break;}}const _0x17615c=_0x142dc4(_0x3bcb97,_0x484ec7),_0x42b4e8=this['cursorInfo'][_0x140943(0x340)](_0x38095e);if(_0x42b4e8&&_0x17615c){const _0x55a396={..._0x42b4e8,'range':_0x17615c};this[_0x140943(0x36a)][_0x140943(0x2b2)](_0x38095e,_0x55a396),_0xcabf01(()=>{const _0x540917=_0x140943,_0x1275e8=this[_0x540917(0x375)][_0x540917(0x2fd)](_0x17615c,_0x384668=>(_0x1275e8[_0x540917(0x289)](),_0x3e77ea(_0x384668,_0x38095e,_0x880464,_0x17615c)));_0x28a3db['add'](_0x1275e8);});}return{'redos':[],'undos':[]};};this[_0xe7fbfa(0x36a)]['forEach']((_0x453c34,_0xb933ad)=>{const _0x16aaee=_0xe7fbfa,{range:_0x384e2f,sheetID:_0x591346}=_0x453c34,_0x19368c=this[_0x16aaee(0x375)][_0x16aaee(0x2fd)](_0x384e2f,_0x20c3a2=>(_0x19368c['dispose'](),_0x3e77ea(_0x20c3a2,_0xb933ad,_0x591346,_0x384e2f)));_0x28a3db['add'](_0x19368c);});};this[_0x34dd54(0x392)](_0x1e2c7b(this[_0x34dd54(0x1d3)][_0x34dd54(0x37e)](()=>{_0x2d99a9();})));}['_toggleOnline'](){const _0x470ebb=_0x5590b9;var _0x2f7aa5,_0x415132;if(this['_online']=!0x0,((_0x2f7aa5=this[_0x470ebb(0x310)][_0x470ebb(0x3b6)]())==null?void 0x0:_0x2f7aa5[_0x470ebb(0x243)]())!==this[_0x470ebb(0x304)])return;const _0x55da1b=(_0x415132=this[_0x470ebb(0x3ab)]['get'](_0x989d93)['getCurrentSelections']())==null?void 0x0:_0x415132[0x0],_0x1c4ea3=this['_univerInstanceService'][_0x470ebb(0x1d8)](_0x41e515[_0x470ebb(0x1f1)])['getActiveSheet']();_0x55da1b&&_0x1c4ea3&&this[_0x470ebb(0x31b)](_0x1c4ea3[_0x470ebb(0x344)](),_0x55da1b);}[_0x5590b9(0x31e)](){const _0x384992=_0x5590b9;this[_0x384992(0x363)]=!0x1;}};Me=mi([x(0x2,_0x3cf773(_0x1e3a61)),x(0x3,_0x3cf773(ke)),x(0x4,_0x3cf773(_0x18f8e6)),x(0x5,_0x52a5ac),x(0x6,_0x2450c9),x(0x7,_0x3cf773(_0x4cb956))],Me);var pi=Object[_0x5590b9(0x247)],Ci=(_0x58d4d0,_0x2f6f9c,_0x20b9c8,_0x3bbd09)=>{const _0x2e349e=_0x5590b9;for(var _0x480bf4=_0x3bbd09>0x1?void 0x0:_0x3bbd09?pi(_0x2f6f9c,_0x20b9c8):_0x2f6f9c,_0x132b0a=_0x58d4d0[_0x2e349e(0x32e)]-0x1,_0x54e915;_0x132b0a>=0x0;_0x132b0a--)(_0x54e915=_0x58d4d0[_0x132b0a])&&(_0x480bf4=_0x54e915(_0x480bf4)||_0x480bf4);return _0x480bf4;},Se=(_0x4771a7,_0x478ffb)=>(_0x179e31,_0x149ae9)=>_0x478ffb(_0x179e31,_0x149ae9,_0x4771a7);let H=class extends _0x2cc23f{constructor(_0x10aecd,_0x38bd82,_0x1cccdd){const _0x54407c=_0x5590b9;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x254cf6()),(this[_0x54407c(0x310)]=_0x10aecd,this[_0x54407c(0x3ab)]=_0x38bd82,this['_collabSessionService']=_0x1cccdd,this[_0x54407c(0x347)]());}[_0x5590b9(0x289)](){const _0x562dad=_0x5590b9;super[_0x562dad(0x289)](),this[_0x562dad(0x240)]['complete'](),this[_0x562dad(0x33a)]['forEach'](_0x572013=>_0x572013[_0x562dad(0x289)]());}[_0x5590b9(0x1d5)](_0x10bf33){const _0x5763ab=_0x5590b9;return this[_0x5763ab(0x33a)][_0x5763ab(0x3b1)](_0x10bf33)?this['_entities']['get'](_0x10bf33)['cursorInfo$']:this[_0x5763ab(0x240)][_0x5763ab(0x31f)](_0x396000(_0x48a7cf=>_0x48a7cf[_0x5763ab(0x304)]===_0x10bf33),_0x40951d(_0x195b2b=>_0x195b2b['cursorInfo$']));}['_init'](){const _0x3afe7d=_0x5590b9;this[_0x3afe7d(0x310)][_0x3afe7d(0x227)](_0x41e515[_0x3afe7d(0x1f1)])[_0x3afe7d(0x31f)](_0xf81e49(this[_0x3afe7d(0x39a)]))[_0x3afe7d(0x37e)](async _0x52140b=>{const _0x4ad6d7=_0x3afe7d,_0x5934cb=_0x52140b[_0x4ad6d7(0x243)](),_0x30ed7f=await this[_0x4ad6d7(0x31d)](_0x5934cb);this['_entityInit$'][_0x4ad6d7(0x2c0)](_0x30ed7f),this['_entities']['set'](_0x5934cb,_0x30ed7f);}),this[_0x3afe7d(0x310)][_0x3afe7d(0x227)](_0x41e515[_0x3afe7d(0x320)])['pipe'](_0xf81e49(this[_0x3afe7d(0x39a)]))[_0x3afe7d(0x31f)](_0x396000(_0x279a2b=>!_0x279a2b[_0x3afe7d(0x243)]()[_0x3afe7d(0x27f)]('__')))[_0x3afe7d(0x37e)](async _0x5c5a29=>{const _0x48a725=_0x3afe7d,_0x559763=_0x5c5a29[_0x48a725(0x243)](),_0x58884f=await this[_0x48a725(0x1b1)](_0x559763);this[_0x48a725(0x240)][_0x48a725(0x2c0)](_0x58884f),this[_0x48a725(0x33a)]['set'](_0x559763,_0x58884f);}),_0x2e657c(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x41e515[_0x3afe7d(0x320)]),this[_0x3afe7d(0x310)][_0x3afe7d(0x36c)](_0x41e515[_0x3afe7d(0x1f1)]))[_0x3afe7d(0x31f)](_0xf81e49(this[_0x3afe7d(0x39a)]))['subscribe'](_0x4dcf3c=>{const _0x55ac28=_0x3afe7d,_0xe2b677=_0x4dcf3c['getUnitId'](),_0x401c46=this[_0x55ac28(0x33a)][_0x55ac28(0x340)](_0xe2b677);_0x401c46&&(_0x401c46['dispose'](),this[_0x55ac28(0x33a)][_0x55ac28(0x245)](_0xe2b677));});}async['_startSheetCollabCursor'](_0x31e695){const _0x334e0d=_0x5590b9,_0x10de77=await this['_collabSessionService'][_0x334e0d(0x343)](_0x31e695),_0x1489d1=this[_0x334e0d(0x3ab)][_0x334e0d(0x2a7)](Me,_0x31e695,_0x10de77);return _0x1489d1['init'](),_0x1489d1;}async[_0x5590b9(0x1b1)](_0x38227f){const _0x359513=_0x5590b9,_0x1e8a69=await this['_collabSessionService'][_0x359513(0x343)](_0x38227f),_0x55d9fd=this[_0x359513(0x3ab)]['createInstance'](Ue,_0x38227f,_0x1e8a69);return _0x55d9fd['init'](),_0x55d9fd;}};H=Ci([Se(0x0,_0x52a5ac),Se(0x1,_0x3cf773(_0x1e3a61)),Se(0x2,_0x3cf773(_0x1f72fc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x5bc59b,_0x123086){const _0x56d5b6=_0x5590b9;let {radius:_0x405efb,width:_0x4392c9,height:_0xf5a7b8}=_0x123086;_0x405efb=_0x405efb!=null?_0x405efb:0x0,_0x4392c9=_0x4392c9!=null?_0x4392c9:0x1e,_0xf5a7b8=_0xf5a7b8!=null?_0xf5a7b8:0x1e;let _0x4a2c0f=0x0,_0x22c2e9=0x0,_0x16a701=0x0;_0x4a2c0f=_0x22c2e9=_0x16a701=Math[_0x56d5b6(0x3a5)](_0x405efb,_0x4392c9/0x2,_0xf5a7b8/0x2),_0x5bc59b[_0x56d5b6(0x31a)](),_0x5bc59b[_0x56d5b6(0x305)](_0x4a2c0f,0x0),_0x5bc59b[_0x56d5b6(0x22a)](_0x4392c9-_0x22c2e9,0x0),_0x5bc59b['arc'](_0x4392c9-_0x22c2e9,_0x22c2e9,_0x22c2e9,Math['PI']*0x3/0x2,0x0,!0x1),_0x5bc59b[_0x56d5b6(0x22a)](_0x4392c9,_0xf5a7b8-_0x16a701),_0x5bc59b['arc'](_0x4392c9-_0x16a701,_0xf5a7b8-_0x16a701,_0x16a701,0x0,Math['PI']/0x2,!0x1),_0x5bc59b['lineTo'](0x0,_0xf5a7b8),_0x5bc59b[_0x56d5b6(0x22a)](0x0,_0x4a2c0f),_0x5bc59b['arc'](_0x4a2c0f,_0x4a2c0f,_0x4a2c0f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5bc59b['closePath'](),_0x123086['fill']&&(_0x5bc59b[_0x56d5b6(0x383)](),_0x5bc59b[_0x56d5b6(0x319)]=_0x123086['fill'],_0x123086[_0x56d5b6(0x38e)]===_0x56d5b6(0x2c8)?_0x5bc59b[_0x56d5b6(0x342)](_0x56d5b6(0x2c8)):_0x5bc59b[_0x56d5b6(0x342)](),_0x5bc59b['restore']());}class he extends _0x4df813{constructor(_0x16ba37,_0x2afdbb){const _0x1a252b=_0x5590b9;super(_0x16ba37,_0x2afdbb),_(this,'color'),_(this,_0x1a252b(0x391)),(this[_0x1a252b(0x278)]=_0x2afdbb==null?void 0x0:_0x2afdbb[_0x1a252b(0x278)],this[_0x1a252b(0x391)]=_0x2afdbb==null?void 0x0:_0x2afdbb[_0x1a252b(0x391)]);}static[_0x5590b9(0x28a)](_0x45ccaa,_0x24efb0){const _0x12389e=_0x5590b9,{text:_0x1aa1f9,color:_0x228caf}=_0x24efb0;_0x45ccaa['save'](),_0x45ccaa[_0x12389e(0x2d8)]=_0x12389e(0x2ba);const _0x44461a=_0x45ccaa[_0x12389e(0x1e9)](_0x1aa1f9)[_0x12389e(0x268)],_0x583b8f=Math['min'](_0x44461a+0x2*me,Qe);Oi(_0x45ccaa,{'height':ee,'radius':0x4,'width':_0x583b8f,'fill':_0x228caf}),_0x45ccaa[_0x12389e(0x319)]=_0x12389e(0x34b);const _0x24798b=me,_0x1fd7da=ee-Ei,_0x8aebc5=Qe-0x2*me;if(_0x44461a>_0x8aebc5){let _0xa2ab45='',_0x8cc006=0x0;for(const _0x559cbc of _0x1aa1f9){const _0x54984c=_0x45ccaa[_0x12389e(0x1e9)](_0x559cbc)[_0x12389e(0x268)];if(_0x8cc006+_0x54984c<=_0x8aebc5-_0x45ccaa['measureText'](_0x12389e(0x333))[_0x12389e(0x268)])_0xa2ab45+=_0x559cbc,_0x8cc006+=_0x54984c;else{_0xa2ab45+='...';break;}}_0x45ccaa[_0x12389e(0x326)](_0xa2ab45,_0x24798b,_0x1fd7da);}else _0x45ccaa[_0x12389e(0x326)](_0x1aa1f9,_0x24798b,_0x1fd7da);_0x45ccaa[_0x12389e(0x1b3)]();}[_0x5590b9(0x351)](_0x40ce29){he['drawWith'](_0x40ce29,this);}}const ge=_0x5590b9(0x335),bi=_0x5590b9(0x263),Ti='collab-rect-range-',X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x165b24,_0x1cecc5,_0x3e80ba,_0x27e159){const _0x2a7b3f=_0x5590b9;_(this,_0x2a7b3f(0x234),[]),_(this,_0x2a7b3f(0x2df),null),_(this,'_textBubble',null),_(this,_0x2a7b3f(0x370),null),_(this,_0x2a7b3f(0x35b),null),_(this,'_eventUnsubscribe',null),(this[_0x2a7b3f(0x287)]=_0x165b24,this[_0x2a7b3f(0x327)]=_0x1cecc5,this[_0x2a7b3f(0x346)]=_0x3e80ba,this['_document']=_0x27e159,this[_0x2a7b3f(0x1be)]());}set[_0x5590b9(0x2e6)](_0x21baa0){const _0x268471=_0x5590b9;_0x21baa0?(this[_0x268471(0x370)]&&this[_0x268471(0x370)][_0x268471(0x324)](),this['_textBubble']&&this[_0x268471(0x25f)][_0x268471(0x399)]()):(this[_0x268471(0x370)]&&this['_anchorDot'][_0x268471(0x399)](),this[_0x268471(0x25f)]&&this[_0x268471(0x25f)][_0x268471(0x324)]());}[_0x5590b9(0x289)](){const _0x38e4ca=_0x5590b9;for(const _0x3ebcd2 of this[_0x38e4ca(0x234)])_0x3ebcd2['dispose']();this[_0x38e4ca(0x25f)]&&this[_0x38e4ca(0x25f)]['dispose'](),this[_0x38e4ca(0x370)]&&this['_anchorDot'][_0x38e4ca(0x289)](),this['_anchor']&&this[_0x38e4ca(0x2df)][_0x38e4ca(0x289)](),this[_0x38e4ca(0x23f)]&&this[_0x38e4ca(0x23f)]();}[_0x5590b9(0x1be)](){const _0x1fdee3=_0x5590b9;var _0x1197c8;const {_docSkeleton:_0x4749b5,_document:_0x5cc577}=this,{color:_0x5749de,name:_0x92ec96,ranges:_0x41ee1a}=this['_cursor'],_0x239970=_0x5cc577[_0x1fdee3(0x32b)](),{docsLeft:_0x2b5505,docsTop:_0x2a9419}=_0x239970,_0x51ef44=new _0x3699d8(_0x239970,_0x4749b5);for(const {startOffset:_0x200f0a,endOffset:_0x3eb9de,rangeType:_0x4c9644,segmentId:_0x470c98,segmentPage:_0x3771b6,collapsed:_0x45e428,isActive:_0xb2d17c}of _0x41ee1a){const _0x170127=_0x4749b5[_0x1fdee3(0x1b2)](_0x200f0a,!0x0,_0x470c98,_0x3771b6);let _0x2e980f=_0x4749b5[_0x1fdee3(0x1b2)](_0x3eb9de,!0x0,_0x470c98,_0x3771b6);if(_0x2e980f==null&&(_0x2e980f=_0x4749b5[_0x1fdee3(0x1b2)](_0x3eb9de-0x1,!0x1,_0x470c98,_0x3771b6)),_0xb2d17c){const {contentBoxPointGroup:_0x48c488}=_0x51ef44[_0x1fdee3(0x1bc)](_0x2e980f,_0x2e980f);if(_0x48c488['length']===0x0)continue;this['_drawAnchor'](_0x5749de,_0x48c488,_0x2b5505,_0x2a9419,_0x92ec96),this[_0x1fdee3(0x23f)]=this['_handleHover']();}if(_0x170127&&_0x2e980f){if(_0x4c9644===_0x78d55[_0x1fdee3(0x2cb)]){const _0x31ba89=new _0x433619(_0x239970,_0x4749b5),{pointGroup:_0x29b087}=(_0x1197c8=_0x31ba89[_0x1fdee3(0x1bc)](_0x170127,_0x2e980f))!=null?_0x1197c8:{};if(_0x29b087==null||_0x29b087[_0x1fdee3(0x32e)]===0x0)continue;this[_0x1fdee3(0x35d)](_0x5749de,_0x29b087,_0x2b5505,_0x2a9419);}else{if(!_0x45e428){const {borderBoxPointGroup:_0x1fd43a}=_0x51ef44[_0x1fdee3(0x1bc)](_0x170127,_0x2e980f);if(_0x1fd43a['length']===0x0)continue;this[_0x1fdee3(0x337)](_0x5749de,_0x1fd43a,_0x2b5505,_0x2a9419);}}}}}[_0x5590b9(0x323)](_0x4f8236,_0x47a8f5,_0x1d036c,_0xb73c35,_0x127481){const _0x5ba573=_0x5590b9,_0x5cd6ad=this[_0x5ba573(0x321)](_0x47a8f5),{left:_0x4260b2,top:_0x3cac05,height:_0x5738d0}=_0x5cd6ad,_0x2e341c=this[_0x5ba573(0x270)](),_0xe2a492=Di/_0x2e341c,_0x3b53c9=new _0x8a98a1(ge+_0x43bba6[_0x5ba573(0x2fc)](X),{'left':_0x4260b2+_0x1d036c-_0xe2a492,'top':_0x3cac05+_0xb73c35,'height':_0x5738d0,'width':Ri,'fill':_0x4f8236||_0x35d681(_0x2c7230[_0x5ba573(0x3ae)],0x0),'strokeWidth':_0xe2a492,'stroke':Ni,'evented':!0x0});this[_0x5ba573(0x2df)]=_0x3b53c9,this[_0x5ba573(0x327)][_0x5ba573(0x2e1)](_0x3b53c9,_0x1b4ac7);const _0x2a5e43=new _0x8a98a1(ge+_0x43bba6[_0x5ba573(0x2fc)](X),{'left':_0x4260b2+_0x1d036c-_0xe2a492,'top':_0x3cac05+_0xb73c35-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4f8236||_0x35d681(_0x2c7230[_0x5ba573(0x3ae)],0x0),'strokeWidth':0x0,'stroke':_0x4f8236||_0x35d681(_0x2c7230['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2a5e43,this['_scene'][_0x5ba573(0x2e1)](_0x2a5e43,_0x1b4ac7);const _0x33bd49=new he(ge+_0x43bba6['generateRandomId'](X),{'left':_0x4260b2+_0x1d036c-_0xe2a492,'top':_0x3cac05+_0xb73c35-ee,'text':_0x127481,'color':_0x4f8236});this[_0x5ba573(0x25f)]=_0x33bd49,this[_0x5ba573(0x327)][_0x5ba573(0x2e1)](_0x33bd49,_0x1b4ac7),this[_0x5ba573(0x2e6)]=!0x1;}['_handleHover'](){const _0x58dfad=_0x5590b9,_0x483700=this[_0x58dfad(0x2df)][_0x58dfad(0x385)][_0x58dfad(0x390)](()=>{this['_hover']=!0x0;}),_0x190390=this['_anchor'][_0x58dfad(0x248)][_0x58dfad(0x390)](()=>{const _0x2ccb2a=_0x58dfad;this['_hideTimer']&&clearTimeout(this[_0x2ccb2a(0x35b)]),this[_0x2ccb2a(0x35b)]=setTimeout(()=>{const _0x1bf4cc=_0x2ccb2a;this[_0x1bf4cc(0x2e6)]=!0x1;},0x7d0);});return()=>{_0x483700['unsubscribe'](),_0x190390['unsubscribe']();};}[_0x5590b9(0x337)](_0x579d60,_0x1d1e98,_0x157a7a,_0x1e01d7){const _0xaa0f7e=_0x5590b9,_0x2b9cfa=new _0x1d74b2(_0x579d60)['setAlpha'](0.2)['toRgbString'](),_0x455d21=new _0x173b85(bi+_0x43bba6[_0xaa0f7e(0x2fc)](X),{'pointsGroup':_0x1d1e98,'fill':_0x2b9cfa||_0x35d681(_0x2c7230[_0xaa0f7e(0x3ae)],0.2),'left':_0x157a7a,'top':_0x1e01d7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xaa0f7e(0x234)][_0xaa0f7e(0x1cc)](_0x455d21),this[_0xaa0f7e(0x327)]['addObject'](_0x455d21,_0x1b4ac7);}['_drawRectRange'](_0x5d4194,_0x5bdd56,_0x1d13c2,_0x27491f){const _0x17ef45=_0x5590b9,_0x47f1cf=new _0x1d74b2(_0x5d4194)[_0x17ef45(0x246)](0.2)[_0x17ef45(0x37d)](),_0xb42346=new _0x173b85(Ti+_0x43bba6['generateRandomId'](X),{'pointsGroup':_0x5bdd56,'fill':_0x47f1cf||_0x35d681(_0x2c7230['black'],0.2),'left':_0x1d13c2,'top':_0x27491f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x17ef45(0x1cc)](_0xb42346),this[_0x17ef45(0x327)][_0x17ef45(0x2e1)](_0xb42346,_0x1b4ac7);}[_0x5590b9(0x321)](_0x4637f5){const _0x1a81ad=_0x4637f5[0x0],_0x483693=_0x1a81ad[0x0],_0x497a6d=_0x1a81ad[0x2],{x:_0x10c85a,y:_0x490762}=_0x483693,{x:_0x5213f8,y:_0x27e769}=_0x497a6d;return{'left':_0x10c85a,'top':_0x490762,'width':_0x5213f8-_0x10c85a,'height':_0x27e769-_0x490762};}['_getScale'](){const _0x2ccab4=_0x5590b9,{scaleX:_0x4b0cb5,scaleY:_0x16a08b}=this[_0x2ccab4(0x327)][_0x2ccab4(0x2a1)]();return Math['max'](_0x4b0cb5,_0x16a08b);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x40747e,_0xe5508d,_0x4b93c0,_0x227538)=>{for(var _0x55b15a=_0x227538>0x1?void 0x0:_0x227538?Ui(_0xe5508d,_0x4b93c0):_0xe5508d,_0x46769d=_0x40747e['length']-0x1,_0x5cedd1;_0x46769d>=0x0;_0x46769d--)(_0x5cedd1=_0x40747e[_0x46769d])&&(_0x55b15a=_0x5cedd1(_0x55b15a)||_0x55b15a);return _0x55b15a;},Z=(_0x46147f,_0x3132e0)=>(_0x46eed8,_0x333ff2)=>_0x3132e0(_0x46eed8,_0x333ff2,_0x46147f);function _0x6cc0(){const _0x1d1946=['collabStatus.syncing','selections','push','init','children','range','NOT_FOUND','registerRenderModule','transformByState','_cursorInfo$','getMemberID','getCollabCursors$','_scheduleClearOtherTimer','then','getCurrentUnitForType','includes','attrs','translate(.97)','_initEntityListener','currentColor','LICENSE_MAX_UNITS_EXCEEDED','_updateSubUnitFromURLParams','whenReady','getCellPositionByOffset','getConfig','SUBMIT_CHANGESET_TIMEOUT','1208IysLvP','permission.title','collaboration.closeRoom','_createSocketURL','executionId','measureText','getUndoRedoMutationParamsCache','YUUMI_NO_CUBOID_FOR_QUESTION','redoState','_localStorageService','_context','_docTransformStateCacheService','getVpScrollXYInfoByPosToVp','UNIVER_SHEET','_commandService','override','_uiPartsService','body','252228ImnRmz','getOwnPropertySymbols','history','sessionTicket','error','imageSourceType','INVALID_ARGUMENT','_localeService','random','FETCH_MISS','colorChannel1','contains','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertRangeMoveDownCommandId','reconnect','_httpService','assign','_onCursorDelete','_initStatusComponent','_updateCollabCursors','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_REQUIRED','key','parse','row','_memberService','uni.network.url-service','_name','current','190185lHgrsz','backgroundColor','className','_initDependencies','_send','_setupSubUnitSync','NO_OTHER_CLIENTS_EDITING','mask','onPointerMove$','setStateCache','off-line-single','add','UNAUTHENTICATED','320751bRPAre','getSheetBySheetId','sessionStatus$','trim','_onCursorUpdate','_color','_labelPosition','getTypeOfUnitAdded$','OTHER_CLIENTS_EDITING','function','lineTo','_getMergeRange','getUniverSheetInstance','_removeClearOtherTimer','tag','round','concat','getRelativeToViewportCoord','TEXT','_selfUnitIDs','_shapes','getDocRanges','TOO_MANY_REQUESTS','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ALREADY_EXISTS','_refreshCollabCursors','YUUMI_RATE_OVER_LIMIT','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','sheetID','assignAColorForMemberID','_saveCache','_eventUnsubscribe','_entityInit$','split','/run/','getUnitId','RemoveColCommandId','delete','setAlpha','getOwnPropertyDescriptor','onPointerLeave$','_initResize','currentTheme$','getMergeData','getParam','_id','red.300','InsertRowCommandId','eventID','resize','setUndoRedoMutationParamsCache','_instanceService','APPLY_REVISION_CONFILICT','USERS_LEAVE','SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','DeleteRangeMoveUpCommandId','Error','xlink:href','updateOfflineData','currentSkeleton$','8955287kvLFLH','labelPosition','_textBubble','replaceDocRanges','_registerDependencies','_dataLoaderService','collab-text-range-','saveOfflineData','getColorFromTheme','_collabCursorState$','_unitOnClients','width','debug','extend','Warning','#fff','INVITE_CODE_ALREADY_BOUND','_themeService','_assignedColors','_getScale','complete','hasOwnProperty','_colorIndex','on-line-single_clip0_910_349','collabStatus.fetchMiss','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursors','color','OffLineSingle','_getSaveTimeout','YUUMI_TABLE_NOT_FOUND_IN_UNIT','m2Prime','UNDEFINED','_transformService','startsWith','cursorInfo$','params','_removeCollabCursors','VIEW_MAIN','_docTransformSelectionsService','FromArray','some','_cursor','isArray','dispose','drawWith','invokeId','type','popstate','collaboration-client.offline-data-not-saved','unit','data','onTransformChange$','_saveTaskMap','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','_handleHeartbeatEvent','memberID','_sheetSkeletonManagerService','_initEvent','_doCreateSocket','send','getActiveSheet','mutations','indexOf','off-line-single_clip0_910_343','activeSheet$','onCommandExecuted','_transformPreviousActiveRange','getAncestorScale','path','runId','_hovered','focused$','_cachedData','createInstance','getActiveRange','deepClone','LICENSE_DISTRO_REJECTED','use','M0\x200H16V16H0z','pushState','search','skeleton','doc.mutation.rich-text-editing','ONLINE','set','Failed','HEADER_MENU','_scheduleSaving','href','PENDING','INTERNAL_ERROR','InsertRangeMoveRightCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformSelections','collabStatus.notCollab','_renderManagerService','replaceState','getValue','next','setInterval','hovered','url(#off-line-single_clip0_910_343)','_lastPointer','APPLY_PERMISSION_DENIED','_colorAssignService','_cursorShapes','evenodd','onMouseMove','MUTATION','RECT','getStateCache','CHANGESET_REVISION_CONFILICT','INVITE_CODE_HAS_BEEN_UES','_setupBeforeClosingHandler','getCollabEntity$','setTimeout','_unitStatus','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationDataLoaderController]','JOIN_ROOM_FAILED','startRow','YUUMI_AI_RUN_FAILED','font','engine','_transformUndoRedoStack','stringify','_heartbeatTimer','_docClipboardService','registerComponent','_anchor','OFFLINE','addObject','all','12785hEcxYI','actions','YUUMI_URL_COL_OUT_OF_RANGE','_hover','CONNECTOR_DATA_TOO_LARGE','session.collaboration-timeout','_collaborationUIEventService','subunit','getItem','enableLocalCache','editingUnit','InsertColCommandId','_handleJoinEvent','on-line-single','OTHER_CLIENT_EDITING','disposeUnit','symbol','clipPath','_beforeCloseService','_roomMembers$','exhaustSavingTask','1em','docStateChange$','DeleteRangeMoveLeftCommandId','transformIMECache','generateRandomId','registerRefRange','entityInit$','collab-client.tooltip.reconnect','saveTaskMap','USER_NOT_INVITED_CODE','call','disableLocalCache','unitID','moveTo','from','icon','54IvpEoq','SNAPSHOT_INVALID_SNAPSHOT','_disabled','SYNCED','_config','YUUMI_UNABLE_LOAD_URL','ranges','syncEditingCollabCursor','_univerInstanceService','Unknown\x20user','AWAITING','getSkeleton','_docStateChangeManagerService','registerBeforeClose','INVALID_INVITE_CODE','addClipboardHook','size','fillStyle','beginPath','_updateLocalCursor','textRanges','_startSheetCollabCursor','_toggleOffline','pipe','UNIVER_DOC','_getAnchorBounding','YUUMI_ASYNCIO_CANCELLED','_drawAnchor','hide','collabStatus.offline','fillText','_scene','collabStatus.synced','svg','8185632mbdgdA','getOffsetConfig','CLOSE_ROOM','yellow.400','length','code','makeDirty','undoState','clearTimeout','...','name','collab-text-anchor-','_getSheetObject','_drawTextRange','none','_imageIoService','_entities','selection','_onRefRangeChange','_scheduleHeartbeat','endRow','0\x200\x2016\x2016','get','executeCommand','fill','requireSession','getSheetId','_revisionService','_docSkeleton','_init','ACTIVE_UNIT_EVENT_CHANNEL','event$','UNRECOGNIZED','#FFF','MoveRangeCommandId','entries','location','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SOCKET_FAILED_RETRY','_draw','map','29000ejJmzn','unshift','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','subUnitId','110Olhzyn','WECHAT_HAS_BEEN_BOUND','defineProperty','m1Prime','_hideTimer','_collaborationController','_drawRectRange','UPDATE_CURSOR','126srSNGP','_transformHistoryAndStateStack','roomMembers$','storage','_online','_ensureSubject','AWAITING_WITH_PENDING','height','_updateURLWithCurrentState','ticket','getMember','cursorInfo','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','getTypeOfUnitDisposed$','_clearOtherTimers','session.connection-failed','_urlService','_anchorDot','NOT_COLLAB','APPLY_DUPLICATED','post','unload','_refRangeService','_toggleOnline','top','_syncEditingCollabCursorService','_collabCursorController','LICENSE_EXPORT_SIZE_EXCEEDED','with','UniverIcon','toRgbString','subscribe','url(#$1','asObservable','_docTransformIMECacheService','toString','save','_getSessionTicket','onPointerEnter$','getUnhiddenWorksheets','_range','_session','isEditing','removeParam','MOBILE_HAS_BEEN_BOUND','collabStatus.conflict','_localCacheService','fillRule','addObjects','subscribeEvent','text','disposeWithMe','_messageService','defs','_logService','setConfig','forEach','idSuffix','show','dispose$','LOGIN_FAILED','setItem','triggerDblclick','runOnServer','endColumn','_handleLeaveEvent','_initStatusListener','roomMembers','_registerRenderDependencies','_configService','min','prototype','PERMISSION_DENIED','_backgroundColor','_docSkeletonManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','_injector','_notificationService','replace','black','setShapeProps','collabCursorState$','has','searchParams','univer-flex\x20univer-mr-2\x20univer-text-xl','COMPLETION_FINISHED','_status$','getFocusedUnit','APPLY_REJECT','flatMap','_startDocCollabCursor','findNodePositionByCharIndex','restore','transformMutation','column','urlChange$','unitId','permission.content','APPLY_NON_SEQUENTIAL_REVISION','displayName','collaboration-client-ui.config','getRangePointData','transform','_render','ENSURE_SNAPSHOT_EXECUTION','div','values','isActive','EMAIL_HAS_BEEN_BOUND','CONFLICT','string','setParam','transformMutationsWithChangeset','clearInterval','propertyIsEnumerable'];_0x6cc0=function(){return _0x1d1946;};return _0x6cc0();}let Pe=class extends _0x2cc23f{constructor(_0x174862,_0xa96e23,_0x421f69,_0x2b9f3e,_0x450f57){const _0x296e61=_0x5590b9;super(),_(this,_0x296e61(0x2c7),[]),_(this,'_cursors',[]),(this[_0x296e61(0x1ee)]=_0x174862,this[_0x296e61(0x3a9)]=_0xa96e23,this[_0x296e61(0x379)]=_0x421f69,this['_commandService']=_0x2b9f3e,this[_0x296e61(0x26e)]=_0x450f57,this[_0x296e61(0x347)]());}[_0x5590b9(0x347)](){const _0x4273e5=_0x5590b9,_0x5be2ef=this['_context'][_0x4273e5(0x1b7)],_0x528df8=this[_0x4273e5(0x3a9)];this[_0x4273e5(0x392)](_0x3987fa([this[_0x4273e5(0x379)][_0x4273e5(0x1d5)](_0x5be2ef),this[_0x4273e5(0x26e)][_0x4273e5(0x24a)]])[_0x4273e5(0x31f)](_0x56c8fd(([_0x118ee6,_0xc8f486])=>({'skeleton':_0x528df8[_0x4273e5(0x313)](),'cursors':[..._0x118ee6[_0x4273e5(0x1c1)]()][_0x4273e5(0x3b8)](_0x5a5658=>({..._0x5a5658,'color':this[_0x4273e5(0x26e)][_0x4273e5(0x265)](_0x5a5658['color'])}))})))['subscribe'](_0x4c98e5=>{const _0x3d0991=_0x4273e5;if(this[_0x3d0991(0x282)](),_0x4c98e5){const {skeleton:_0x34eaa4,cursors:_0x1143e9}=_0x4c98e5;this['_updateCollabCursors'](_0x34eaa4,_0x1143e9);}})),this[_0x4273e5(0x249)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x29b578,_0x38731e){const _0x392d7b=_0x5590b9,{scene:_0xeb538b,mainComponent:_0x45f8fc}=this[_0x392d7b(0x1ee)],_0x3fc094=_0x38731e[_0x392d7b(0x352)](_0x19535b=>new qe(_0x19535b,_0xeb538b,_0x29b578,_0x45f8fc));this[_0x392d7b(0x2c7)]=_0x3fc094,this[_0x392d7b(0x277)]=_0x38731e;}[_0x5590b9(0x239)](){const _0x12bec5=_0x5590b9;this[_0x12bec5(0x282)]();const {scene:_0x1933b4,mainComponent:_0x4132be}=this[_0x12bec5(0x1ee)],_0x46ca5a=this['_docSkeletonManagerService'][_0x12bec5(0x313)](),_0x39387b=this[_0x12bec5(0x277)][_0x12bec5(0x352)](_0x40f240=>new qe(_0x40f240,_0x1933b4,_0x46ca5a,_0x4132be));this[_0x12bec5(0x2c7)]=_0x39387b;}[_0x5590b9(0x282)](){const _0x130464=_0x5590b9;this[_0x130464(0x2c7)]['forEach'](_0x3b1c3b=>_0x3b1c3b[_0x130464(0x289)]()),this[_0x130464(0x2c7)]=[];}['_initCommandExecutedListener'](){const _0x1a5185=_0x5590b9,_0xf86a3=[_0x31d604['id']];this[_0x1a5185(0x392)](this['_commandService'][_0x1a5185(0x29f)](_0x947015=>{const _0x134dcc=_0x1a5185;_0xf86a3[_0x134dcc(0x1d9)](_0x947015['id'])&&_0x947015[_0x134dcc(0x281)][_0x134dcc(0x1b7)]===this['_context'][_0x134dcc(0x1b7)]&&this[_0x134dcc(0x239)]();}));}['_initResize'](){const _0x5e9ccf=_0x5590b9;this[_0x5e9ccf(0x392)](_0x35a812(this[_0x5e9ccf(0x1ee)][_0x5e9ccf(0x2d9)][_0x5e9ccf(0x291)])[_0x5e9ccf(0x31f)](_0x231d17(_0x47b99b=>_0x47b99b[_0x5e9ccf(0x28c)]===_0x248840[_0x5e9ccf(0x251)]),_0x785a4f(0x10))['subscribe'](()=>{const _0x247318=_0x5e9ccf;this[_0x247318(0x239)]();}));}};Pe=Mi([Z(0x1,_0x3cf773(_0x59cd1a)),Z(0x2,_0x3cf773(H)),Z(0x3,_0x2450c9),Z(0x4,_0x3cf773(_0x717113))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x4df813{constructor(_0x150be7,_0x497a54){const _0x17db98=_0x5590b9;super(_0x150be7,_0x497a54),_(this,_0x17db98(0x225)),_(this,_0x17db98(0x2a4),!0x1),_(this,_0x17db98(0x387)),_(this,'_name',''),_(this,_0x17db98(0x226),_0x17db98(0x377)),_(this,_0x17db98(0x3a8)),(_0x497a54&&this[_0x17db98(0x3af)](_0x497a54),this['onPointerEnter$'][_0x17db98(0x390)](()=>this[_0x17db98(0x3af)]({'hovered':!0x0})),this[_0x17db98(0x248)][_0x17db98(0x390)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5590b9(0x3af)](_0x42a4c5){const _0x2cf611=_0x5590b9;var _0x499920,_0x2903cc,_0x462024,_0x42d466,_0x18dfc3,_0x327711;this[_0x2cf611(0x225)]=(_0x499920=_0x42a4c5[_0x2cf611(0x278)])!=null?_0x499920:this[_0x2cf611(0x225)],this[_0x2cf611(0x2a4)]=(_0x2903cc=_0x42a4c5[_0x2cf611(0x2c2)])!=null?_0x2903cc:this[_0x2cf611(0x2a4)],this[_0x2cf611(0x387)]=(_0x462024=_0x42a4c5[_0x2cf611(0x1cf)])!=null?_0x462024:this['_range'],this[_0x2cf611(0x211)]=(_0x42d466=_0x42a4c5[_0x2cf611(0x334)])!=null?_0x42d466:this['_name'],this[_0x2cf611(0x226)]=(_0x18dfc3=_0x42a4c5[_0x2cf611(0x25e)])!=null?_0x18dfc3:this['_labelPosition'],this['_backgroundColor']=(_0x327711=_0x42a4c5[_0x2cf611(0x214)])!=null?_0x327711:this[_0x2cf611(0x3a8)],this[_0x2cf611(0x1d2)]({'width':_0x42a4c5[_0x2cf611(0x268)],'height':_0x42a4c5[_0x2cf611(0x366)]});}[_0x5590b9(0x2c9)](_0x327ff0){const _0x5959cb=_0x5590b9,{row:_0x16f791,column:_0x28f4ee}=_0x327ff0;if(_0x16f791>=this[_0x5959cb(0x387)][_0x5959cb(0x2d6)]&&_0x16f791<=this[_0x5959cb(0x387)][_0x5959cb(0x33e)]&&_0x28f4ee>=this[_0x5959cb(0x387)]['startColumn']&&_0x28f4ee<=this[_0x5959cb(0x387)][_0x5959cb(0x39f)]){this[_0x5959cb(0x3af)]({'hovered':!0x0});return;}this[_0x5959cb(0x3af)]({'hovered':!0x1});}[_0x5590b9(0x39d)](_0x138866){return!0x1;}[_0x5590b9(0x351)](_0x513fdd){const _0x2ac725=_0x5590b9;_0x8a98a1['drawWith'](_0x513fdd,{'width':this[_0x2ac725(0x268)],'height':this[_0x2ac725(0x366)],'strokeWidth':Li,'stroke':this[_0x2ac725(0x225)],'evented':!0x1,'fill':this[_0x2ac725(0x3a8)]}),this[_0x2ac725(0x2a4)]&&(_0x513fdd[_0x2ac725(0x383)](),_0x513fdd[_0x2ac725(0x1bd)](0x1,0x0,0x0,0x1,this[_0x2ac725(0x268)],this[_0x2ac725(0x226)]==='bottom'?0x0:-0x14),he[_0x2ac725(0x28a)](_0x513fdd,{'text':this[_0x2ac725(0x211)],'color':this[_0x2ac725(0x225)]}),_0x513fdd['restore']());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x55825a,_0x281446,_0x170a23,_0xaf8dd6)=>{const _0x2fbb7a=_0x5590b9;for(var _0x299f57=_0xaf8dd6>0x1?void 0x0:_0xaf8dd6?Ai(_0x281446,_0x170a23):_0x281446,_0x26b049=_0x55825a[_0x2fbb7a(0x32e)]-0x1,_0x40521e;_0x26b049>=0x0;_0x26b049--)(_0x40521e=_0x55825a[_0x26b049])&&(_0x299f57=_0x40521e(_0x299f57)||_0x299f57);return _0x299f57;},ve=(_0x304b21,_0x2c5ff0)=>(_0x32acf2,_0x47821a)=>_0x2c5ff0(_0x32acf2,_0x47821a,_0x304b21);const $i=0x1389;let Le=class extends _0x2cc23f{constructor(_0x29c033,_0x15b56d,_0x48740f,_0x4f8135){const _0x35f224=_0x5590b9;super(),_(this,_0x35f224(0x277),new Set()),_(this,'_lastPointer',null),(this[_0x35f224(0x1ee)]=_0x29c033,this[_0x35f224(0x296)]=_0x15b56d,this[_0x35f224(0x379)]=_0x48740f,this[_0x35f224(0x26e)]=_0x4f8135,this['_init']());}[_0x5590b9(0x347)](){const _0x37a83e=_0x5590b9;this[_0x37a83e(0x296)][_0x37a83e(0x25c)][_0x37a83e(0x31f)](_0x51ca62(this[_0x37a83e(0x39a)]),_0x2cff67(_0x499455=>{const _0x2f95bb=_0x37a83e;if(_0x499455){const _0xd9d1bf=_0x499455['sheetId'];return _0x3987fa(this[_0x2f95bb(0x379)][_0x2f95bb(0x1d5)](this[_0x2f95bb(0x1ee)][_0x2f95bb(0x1b7)]),this[_0x2f95bb(0x26e)][_0x2f95bb(0x24a)])['pipe'](_0x56c8fd(([_0x27e58d,_0x25d8d3])=>{const _0x5b8904=_0x2f95bb,_0x11962f=new Map();return _0x27e58d[_0x5b8904(0x397)]((_0x2623e0,_0x4b60a7)=>{const _0x5d94ad=_0x5b8904;if(_0x2623e0[_0x5d94ad(0x23c)]===_0xd9d1bf){const _0x19a5ae={..._0x2623e0};_0x19a5ae['color']=this[_0x5d94ad(0x26e)][_0x5d94ad(0x265)](_0x2623e0['color']),_0x11962f[_0x5d94ad(0x2b2)](_0x4b60a7,_0x19a5ae);}}),{'skeleton':_0x499455,'cursors':_0x11962f};}));}return _0x42a810({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x138614,cursors:_0x53b3ff})=>{const _0x3e97e1=_0x37a83e;this[_0x3e97e1(0x282)](),_0x138614&&this[_0x3e97e1(0x209)](_0x138614,_0x53b3ff);}),this['_sheetSkeletonManagerService'][_0x37a83e(0x25c)][_0x37a83e(0x37e)](_0x5c4b3a=>{const _0x2455c7=_0x37a83e;if(_0x5c4b3a==null)return;const {skeleton:_0x16a3a1}=_0x5c4b3a,{scene:_0x456124}=this[_0x2455c7(0x1ee)];_0x456124[_0x2455c7(0x21b)][_0x2455c7(0x390)](_0x1e76ee(_0x4668f8=>{const _0x3e1194=_0x2455c7;var _0xab0daa,_0x2f1c2b;const {offsetX:_0x4d258c,offsetY:_0x1a4d6e}=_0x4668f8,{x:_0x510145,y:_0x61a22}=_0x456124[_0x3e1194(0x231)](_0x3dc33b[_0x3e1194(0x285)]([_0x4d258c,_0x1a4d6e])),{scaleX:_0x1e616c,scaleY:_0x11ae64}=_0x456124['getAncestorScale'](),_0x4ad3c6=_0x456124['getViewport'](_0x40c8ed[_0x3e1194(0x283)]),_0x4512cf=_0x456124[_0x3e1194(0x1f0)](_0x3dc33b[_0x3e1194(0x285)]([_0x510145,_0x61a22]),_0x4ad3c6),_0x28f769=_0x16a3a1[_0x3e1194(0x1e1)](_0x4d258c,_0x1a4d6e,_0x1e616c,_0x11ae64,_0x4512cf);((_0xab0daa=this[_0x3e1194(0x2c4)])==null?void 0x0:_0xab0daa[_0x3e1194(0x1b5)])===_0x28f769[_0x3e1194(0x1b5)]&&((_0x2f1c2b=this[_0x3e1194(0x2c4)])==null?void 0x0:_0x2f1c2b[_0x3e1194(0x20e)])===_0x28f769[_0x3e1194(0x20e)]||this[_0x3e1194(0x277)][_0x3e1194(0x397)](_0x5d0a4e=>{const _0x50c90a=_0x3e1194;_0x5d0a4e[_0x50c90a(0x2c9)](_0x28f769);});},0x64));});}[_0x5590b9(0x209)](_0x309848,_0x37f6fe){const _0x291320=_0x5590b9;var _0x205bcb;const _0x4c5dab=(_0x205bcb=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x205bcb[_0x291320(0x2af)];if(!_0x4c5dab)return;const _0x5cbff8=this[_0x291320(0x336)]();if(!_0x5cbff8)return;this[_0x291320(0x277)][_0x291320(0x397)](_0x1529b3=>{const _0x23ba81=_0x291320;_0x1529b3[_0x23ba81(0x330)]();});const {scene:_0x5e18a9}=_0x5cbff8,_0x4facab=xi(Array[_0x291320(0x306)](_0x37f6fe[_0x291320(0x1c1)]()))[_0x291320(0x352)](_0x44873e=>{const _0x5b10dd=_0x291320,{color:_0x296ee1,range:_0x5e94ee,name:_0x5d94ce,selection:_0x5678c8,sheetID:_0x32a82f}=_0x44873e,{startColumn:_0xe621b8,startRow:_0x5b1de5,endColumn:_0x4b2492,endRow:_0xc018ae}=_0x5e94ee,_0x3ec5d9=_0x37feef(_0x5b1de5,_0xe621b8,_0x5e18a9,_0x4c5dab),_0x35a950=_0x37feef(_0xc018ae,_0x4b2492,_0x5e18a9,_0x4c5dab),{columnHeaderHeightAndMarginTop:_0x2dc56b}=_0x4c5dab,{startX:_0xfe8be0,startY:_0xa9764e}=_0x3ec5d9,{endX:_0x528570,endY:_0x4daa4e}=_0x35a950,_0x5c0f1c=_0x528570-_0xfe8be0,_0x91aa42=_0x4daa4e-_0xa9764e,_0x3f3859={'labelPosition':_0xa9764e-_0x2dc56b>=ee?_0x5b10dd(0x377):'bottom','sheetID':_0x32a82f,'range':_0x5e94ee,'color':_0x296ee1,'name':_0x5d94ce,'selection':_0x5678c8,'left':_0xfe8be0,'top':_0xa9764e,'width':_0x5c0f1c,'height':_0x91aa42,'evented':!0x1,'zIndex':$i};return new wi(_0x5d94ce,_0x3f3859);});_0x5e18a9[_0x291320(0x38f)](_0x4facab,Pi),this[_0x291320(0x277)]=new Set(_0x4facab);}[_0x5590b9(0x282)](){const _0x41bfa7=_0x5590b9;var _0x1c2986;(_0x1c2986=this['_cursors'])==null||_0x1c2986[_0x41bfa7(0x397)](_0x3e2195=>_0x3e2195['dispose']());}[_0x5590b9(0x336)](){const _0x403203=_0x5590b9;return _0x2c1235(this[_0x403203(0x1ee)][_0x403203(0x28f)],this[_0x403203(0x1ee)]);}};Le=yi([ve(0x1,_0x3cf773(_0x45f9f7)),ve(0x2,_0x3cf773(H)),ve(0x3,_0x3cf773(_0x717113))],Le);function xi(_0x54276e){const _0x34e3e3=_0x5590b9,_0x4ad4ac=new Map();return _0x54276e[_0x34e3e3(0x397)](_0x567112=>{const _0x222675=_0x34e3e3;if(_0x4ad4ac[_0x222675(0x3b1)](_0x567112[_0x222675(0x33b)])){const _0x16d1ae=_0x4ad4ac[_0x222675(0x340)](_0x567112[_0x222675(0x33b)]);_0x16d1ae[_0x222675(0x334)]+=',\x20'+_0x567112[_0x222675(0x334)];}else _0x4ad4ac[_0x222675(0x2b2)](_0x567112[_0x222675(0x33b)],_0x567112);}),Array[_0x34e3e3(0x306)](_0x4ad4ac[_0x34e3e3(0x1c1)]());}var v=function(){return v=Object['assign']||function(_0x24701c){const _0x3fc052=_0x3ce6;for(var _0x26d9a0,_0x29ed7f=0x1,_0xc5fd5c=arguments[_0x3fc052(0x32e)];_0x29ed7f<_0xc5fd5c;_0x29ed7f++){_0x26d9a0=arguments[_0x29ed7f];for(var _0x1a6033 in _0x26d9a0)Object[_0x3fc052(0x3a6)][_0x3fc052(0x272)][_0x3fc052(0x302)](_0x26d9a0,_0x1a6033)&&(_0x24701c[_0x1a6033]=_0x26d9a0[_0x1a6033]);}return _0x24701c;},v['apply'](this,arguments);},Bi=function(_0x171ed9,_0x2da5b4){const _0xdd2f3a=_0x5590b9;var _0x55ee00={};for(var _0x1a4ae2 in _0x171ed9)Object[_0xdd2f3a(0x3a6)]['hasOwnProperty']['call'](_0x171ed9,_0x1a4ae2)&&_0x2da5b4['indexOf'](_0x1a4ae2)<0x0&&(_0x55ee00[_0x1a4ae2]=_0x171ed9[_0x1a4ae2]);if(_0x171ed9!=null&&typeof Object[_0xdd2f3a(0x1f7)]==_0xdd2f3a(0x229)){for(var _0x15919=0x0,_0x1a4ae2=Object[_0xdd2f3a(0x1f7)](_0x171ed9);_0x15919<_0x1a4ae2[_0xdd2f3a(0x32e)];_0x15919++)_0x2da5b4[_0xdd2f3a(0x29c)](_0x1a4ae2[_0x15919])<0x0&&Object[_0xdd2f3a(0x3a6)][_0xdd2f3a(0x1c9)]['call'](_0x171ed9,_0x1a4ae2[_0x15919])&&(_0x55ee00[_0x1a4ae2[_0x15919]]=_0x171ed9[_0x1a4ae2[_0x15919]]);}return _0x55ee00;},je=_0x53a81d(function(_0x9869db,_0x47b255){const _0x2fe646=_0x5590b9;var _0x20777a=_0x9869db[_0x2fe646(0x307)],_0x2e04b7=_0x9869db['id'],_0x2d817b=_0x9869db['className'],_0x23e30b=_0x9869db[_0x2fe646(0x26a)],_0x2c1c19=Bi(_0x9869db,[_0x2fe646(0x307),'id',_0x2fe646(0x215),'extend']),_0x3f0fa9='univerjs-icon\x20univerjs-icon-'[_0x2fe646(0x230)](_0x2e04b7,'\x20')[_0x2fe646(0x230)](_0x2d817b||'')[_0x2fe646(0x223)](),_0x48d409=_0x126c00('_'[_0x2fe646(0x230)](ji()));return Rt(_0x20777a,''[_0x2fe646(0x230)](_0x2e04b7),{'defIds':_0x20777a['defIds'],'idSuffix':_0x48d409[_0x2fe646(0x212)]},v({'ref':_0x47b255,'className':_0x3f0fa9},_0x2c1c19),_0x23e30b);});function Rt(_0x264ad6,_0x1bee0d,_0x20dc1b,_0x2b4d3a,_0xc2c5c2){const _0x488958=_0x5590b9;return _0x3d0e4a(_0x264ad6['tag'],v(v({'key':_0x1bee0d},ki(_0x264ad6,_0x20dc1b,_0xc2c5c2)),_0x2b4d3a),(Hi(_0x264ad6,_0x20dc1b)[_0x488958(0x1ce)]||[])[_0x488958(0x352)](function(_0x3446c2,_0x5660a6){const _0x3f3594=_0x488958;return Rt(_0x3446c2,''[_0x3f3594(0x230)](_0x1bee0d,'-')[_0x3f3594(0x230)](_0x264ad6[_0x3f3594(0x22e)],'-')[_0x3f3594(0x230)](_0x5660a6),_0x20dc1b,void 0x0,_0xc2c5c2);}));}function ki(_0x887476,_0x230df4,_0x5ed041){const _0x38b4d=_0x5590b9;var _0x3bb8f9=v({},_0x887476[_0x38b4d(0x1da)]);_0x5ed041!=null&&_0x5ed041[_0x38b4d(0x200)]&&_0x3bb8f9[_0x38b4d(0x342)]===_0x38b4d(0x200)&&(_0x3bb8f9[_0x38b4d(0x342)]=_0x5ed041['colorChannel1']),_0x887476[_0x38b4d(0x22e)]===_0x38b4d(0x21a)&&_0x3bb8f9['id']&&(_0x3bb8f9['id']=_0x3bb8f9['id']+_0x230df4[_0x38b4d(0x398)]),Object[_0x38b4d(0x34d)](_0x3bb8f9)[_0x38b4d(0x397)](function(_0x48e67b){const _0x2e3d30=_0x38b4d;var _0xb871d2=_0x48e67b[0x0],_0x123e0a=_0x48e67b[0x1];_0xb871d2===_0x2e3d30(0x21a)&&typeof _0x123e0a=='string'&&(_0x3bb8f9[_0xb871d2]=_0x123e0a[_0x2e3d30(0x3ad)](/url\(#(.*)\)/,_0x2e3d30(0x37f)['concat'](_0x230df4[_0x2e3d30(0x398)],')')));});var _0x2651be=_0x230df4['defIds'];return!_0x2651be||_0x2651be[_0x38b4d(0x32e)]===0x0||(_0x887476[_0x38b4d(0x22e)]===_0x38b4d(0x2ab)&&_0x3bb8f9[_0x38b4d(0x25a)]&&(_0x3bb8f9[_0x38b4d(0x25a)]=_0x3bb8f9[_0x38b4d(0x25a)]+_0x230df4['idSuffix']),Object[_0x38b4d(0x34d)](_0x3bb8f9)['forEach'](function(_0x467ac1){const _0x4688a4=_0x38b4d;var _0x29e642=_0x467ac1[0x0],_0x3d86b6=_0x467ac1[0x1];typeof _0x3d86b6==_0x4688a4(0x1c5)&&(_0x3bb8f9[_0x29e642]=_0x3d86b6[_0x4688a4(0x3ad)](/url\(#(.*)\)/,_0x4688a4(0x37f)[_0x4688a4(0x230)](_0x230df4[_0x4688a4(0x398)],')')));})),_0x3bb8f9;}function Hi(_0xb0c095,_0x2c22c1){const _0x188537=_0x5590b9;var _0x55e2db,_0x9f450=_0x2c22c1['defIds'];return!_0x9f450||_0x9f450['length']===0x0?_0xb0c095:_0xb0c095[_0x188537(0x22e)]==='defs'&&(!((_0x55e2db=_0xb0c095['children'])===null||_0x55e2db===void 0x0)&&_0x55e2db['length'])?v(v({},_0xb0c095),{'children':_0xb0c095[_0x188537(0x1ce)][_0x188537(0x352)](function(_0x8c4728){const _0x1613ca=_0x188537;return typeof _0x8c4728[_0x1613ca(0x1da)]['id']==_0x1613ca(0x1c5)&&_0x9f450&&_0x9f450[_0x1613ca(0x29c)](_0x8c4728[_0x1613ca(0x1da)]['id'])>-0x1?v(v({},_0x8c4728),{'attrs':v(v({},_0x8c4728[_0x1613ca(0x1da)]),{'id':_0x8c4728[_0x1613ca(0x1da)]['id']+_0x2c22c1[_0x1613ca(0x398)]})}):_0x8c4728;})}):_0xb0c095;}function ji(){const _0x533c87=_0x5590b9;return Math[_0x533c87(0x1fe)]()[_0x533c87(0x382)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x5590b9(0x37c);var Yi={'tag':_0x5590b9(0x329),'attrs':{'fill':_0x5590b9(0x338),'viewBox':_0x5590b9(0x33f),'width':_0x5590b9(0x2f8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5590b9(0x2c3)},'children':[{'tag':_0x5590b9(0x2a2),'attrs':{'stroke':'currentColor','d':_0x5590b9(0x36b),'strokeLinecap':_0x5590b9(0x22f),'strokeLinejoin':_0x5590b9(0x22f),'strokeWidth':1.2}}]},{'tag':_0x5590b9(0x394),'attrs':{},'children':[{'tag':_0x5590b9(0x2f4),'attrs':{'id':_0x5590b9(0x29d)},'children':[{'tag':_0x5590b9(0x2a2),'attrs':{'fill':_0x5590b9(0x26c),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5590b9(0x29d)]},Dt=_0x53a81d(function(_0x4e0fb4,_0x2622dd){const _0x1e0bef=_0x5590b9;return _0x3d0e4a(je,Object['assign']({},_0x4e0fb4,{'id':_0x1e0bef(0x21d),'ref':_0x2622dd,'icon':Yi}));});Dt[_0x5590b9(0x1ba)]=_0x5590b9(0x279);var Fi={'tag':'svg','attrs':{'fill':_0x5590b9(0x338),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5590b9(0x2f8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5590b9(0x2a2),'attrs':{'stroke':_0x5590b9(0x1dd),'d':_0x5590b9(0x293),'strokeLinecap':_0x5590b9(0x22f),'strokeLinejoin':_0x5590b9(0x22f),'strokeWidth':1.2}}]},{'tag':_0x5590b9(0x394),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x5590b9(0x2a2),'attrs':{'fill':_0x5590b9(0x26c),'d':_0x5590b9(0x2ac),'transform':_0x5590b9(0x1db)}}]}]}],'defIds':[_0x5590b9(0x274)]},Nt=_0x53a81d(function(_0x420643,_0x440296){const _0x366ce3=_0x5590b9;return _0x3d0e4a(je,Object[_0x366ce3(0x206)]({},_0x420643,{'id':_0x366ce3(0x2f0),'ref':_0x440296,'icon':Fi}));});Nt[_0x5590b9(0x1ba)]='OnLineSingle';function Wi(_0x5d6dde){const _0x2ba46f=_0x5590b9;switch(_0x5d6dde){case _0x3d070b[_0x2ba46f(0x2e0)]:return _0x2ba46f(0x325);case _0x3d070b[_0x2ba46f(0x1c4)]:return _0x2ba46f(0x38c);case _0x3d070b[_0x2ba46f(0x1ff)]:return _0x2ba46f(0x275);case _0x3d070b[_0x2ba46f(0x371)]:return _0x2ba46f(0x2bc);case _0x3d070b[_0x2ba46f(0x312)]:case _0x3d070b[_0x2ba46f(0x365)]:return _0x2ba46f(0x1ca);case _0x3d070b[_0x2ba46f(0x30b)]:case _0x3d070b[_0x2ba46f(0x2b7)]:return _0x2ba46f(0x328);}}function Vi(_0x48b9d5){const _0xb08a3b=_0x5590b9,{status$:_0x32bda8}=_0x48b9d5,_0x1cc481=_0x1f0044(_0x32bda8,_0x3d070b['NOT_COLLAB']),_0x5f0de5=_0x634db2(_0x6d8484),_0x1ec53f=_0x634db2(_0x1f72fc),_0x3ac19e=_0x1cc481!==_0x3d070b[_0xb08a3b(0x2e0)],_0x503f8b=_0x5f0de5['t'](Wi(_0x1cc481)),_0x3397f8=_0x3ac19e?_0x4d0f58(Nt,{}):_0x4d0f58(Dt,{}),_0x44efa4=_0x3b565b(()=>{const _0x577c2b=_0xb08a3b;_0x3ac19e||_0x1ec53f[_0x577c2b(0x204)]();},[_0x3ac19e,_0x1ec53f]);function _0x251fd6(){const _0x3a0085=_0xb08a3b;return _0x3cd146(_0x3a0085(0x1c0),{'className':'univer-flex\x20univer-items-center','onClick':_0x44efa4,'children':[_0x4d0f58(_0x3a0085(0x1c0),{'className':_0x3be01c(_0x3a0085(0x3b3),{'univer-text-green-500':_0x3ac19e,'univer-text-red-500':!_0x3ac19e}),'children':_0x3397f8}),_0x4d0f58(_0x3a0085(0x1c0),{'className':_0x3a0085(0x237),'children':_0x503f8b})]});}return _0x3ac19e?_0x251fd6():_0x4d0f58(_0x4bba3b,{'title':_0x5f0de5['t'](_0xb08a3b(0x2ff)),'children':_0x251fd6()});}var Xi=Object[_0x5590b9(0x247)],Gi=(_0x3d3e8c,_0x11e8cf,_0x54879a,_0x23092a)=>{for(var _0x2782d4=_0x23092a>0x1?void 0x0:_0x23092a?Xi(_0x11e8cf,_0x54879a):_0x11e8cf,_0x3df8c8=_0x3d3e8c['length']-0x1,_0x2c0494;_0x3df8c8>=0x0;_0x3df8c8--)(_0x2c0494=_0x3d3e8c[_0x3df8c8])&&(_0x2782d4=_0x2c0494(_0x2782d4)||_0x2782d4);return _0x2782d4;},Q=(_0x211a41,_0x42d870)=>(_0x559c94,_0x5c4c4a)=>_0x42d870(_0x559c94,_0x5c4c4a,_0x211a41);let te=class extends _0x309fbf{constructor(_0x61d1c3,_0x5106de,_0x8c3187,_0x919680){const _0x4f46cb=_0x5590b9;super(),_(this,_0x4f46cb(0x3b5),new _0x340249(_0x3d070b[_0x4f46cb(0x371)])),(this['_univerInstanceService']=_0x61d1c3,this['_injector']=_0x5106de,this['_collaborationController']=_0x8c3187,this[_0x4f46cb(0x1f4)]=_0x919680,this[_0x4f46cb(0x208)](),this[_0x4f46cb(0x3a1)]());}[_0x5590b9(0x3a1)](){const _0x37018d=_0x5590b9;this[_0x37018d(0x392)](this[_0x37018d(0x310)][_0x37018d(0x2a5)][_0x37018d(0x31f)](_0x40951d(()=>{const _0x336f18=_0x37018d,_0x500414=this[_0x336f18(0x310)][_0x336f18(0x3b6)]();return _0x500414?this[_0x336f18(0x35c)][_0x336f18(0x2d0)](_0x500414[_0x336f18(0x243)]()):_0x42a810(null);}),_0x40951d(_0x2df8b9=>_0x2df8b9?_0x2df8b9['status$']:_0x42a810(_0x3d070b[_0x37018d(0x371)])))[_0x37018d(0x37e)](_0x32e925=>{const _0x25850f=_0x37018d;this[_0x25850f(0x3b5)][_0x25850f(0x2c0)](_0x32e925);}));}[_0x5590b9(0x208)](){const _0x73db90=_0x5590b9;this[_0x73db90(0x392)](this[_0x73db90(0x1f4)][_0x73db90(0x2de)](_0x4c5f94[_0x73db90(0x2b4)],()=>_0x29400d(Ki({'status$':this[_0x73db90(0x3b5)][_0x73db90(0x380)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x52a5ac),Q(0x1,_0x3cf773(_0x1e3a61)),Q(0x2,_0x3cf773(_0x2519a9)),Q(0x3,_0x236a30)],te);function Ki(_0x5461e1){const {status$:_0x24b37c}=_0x5461e1;return function(){return _0x4d0f58(Vi,{'status$':_0x24b37c});};}var zi=Object[_0x5590b9(0x247)],Ji=(_0x2246a4,_0x29ce1b,_0x128cd4,_0x83ed58)=>{const _0x45f6d8=_0x5590b9;for(var _0x2ce858=_0x83ed58>0x1?void 0x0:_0x83ed58?zi(_0x29ce1b,_0x128cd4):_0x29ce1b,_0x2e7905=_0x2246a4[_0x45f6d8(0x32e)]-0x1,_0x3b033b;_0x2e7905>=0x0;_0x2e7905--)(_0x3b033b=_0x2246a4[_0x2e7905])&&(_0x2ce858=_0x3b033b(_0x2ce858)||_0x2ce858);return _0x2ce858;},B=(_0x137edc,_0x1c80d0)=>(_0x4a9ed6,_0x29ab53)=>_0x1c80d0(_0x4a9ed6,_0x29ab53,_0x137edc);let se=class extends _0x309fbf{constructor(_0x3e0e5b,_0x39014a,_0x5e8776,_0x106da0,_0x3b58fe,_0x5181ca){const _0x5bc9fb=_0x5590b9;super(),this[_0x5bc9fb(0x2f5)]=_0x3e0e5b,this[_0x5bc9fb(0x38d)]=_0x39014a,this[_0x5bc9fb(0x2e9)]=_0x5e8776,this[_0x5bc9fb(0x393)]=_0x106da0,this[_0x5bc9fb(0x3ac)]=_0x3b58fe,this[_0x5bc9fb(0x1fd)]=_0x5181ca,this[_0x5bc9fb(0x2cf)](),this[_0x5bc9fb(0x297)]();}[_0x5590b9(0x2cf)](){const _0x4be172=_0x5590b9;this[_0x4be172(0x392)](this[_0x4be172(0x2f5)][_0x4be172(0x315)](()=>{const _0x4cc931=_0x4be172;if(this[_0x4cc931(0x38d)][_0x4cc931(0x300)][_0x4cc931(0x318)])return this[_0x4cc931(0x1fd)]['t'](_0x4cc931(0x28e));}));}[_0x5590b9(0x297)](){const _0x4269ba=_0x5590b9;this[_0x4269ba(0x392)](this[_0x4269ba(0x2e9)][_0x4269ba(0x349)]['subscribe'](_0xf02130=>{const _0x26293d=_0x4269ba;_0xf02130['id']===_0xc5058a[_0x26293d(0x2f1)]&&this[_0x26293d(0x393)][_0x26293d(0x399)]({'type':_0x25ba7c[_0x26293d(0x26b)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0xf02130['id']===_0xc5058a[_0x26293d(0x32c)]&&this[_0x26293d(0x393)][_0x26293d(0x399)]({'type':_0x25ba7c['Warning'],'content':this[_0x26293d(0x1fd)]['t']('collaboration.closeRoom')}),_0xf02130['id']===_0xc5058a[_0x26293d(0x3a7)]&&this[_0x26293d(0x3ac)][_0x26293d(0x399)]({'title':this[_0x26293d(0x1fd)]['t'](_0x26293d(0x1e5)),'content':this[_0x26293d(0x1fd)]['t'](_0x26293d(0x1b8)),'type':_0x26293d(0x1fa),'duration':0x0}),_0xf02130['id']===_0xc5058a[_0x26293d(0x1c4)]&&this[_0x26293d(0x393)]['show']({'type':_0x25ba7c[_0x26293d(0x259)],'content':this['_localeService']['t'](_0x26293d(0x1e6))+'('+_0xf02130[_0x26293d(0x290)]+')'}),_0xf02130['id']===_0xc5058a[_0x26293d(0x2d5)]&&this[_0x26293d(0x393)][_0x26293d(0x399)]({'type':_0x25ba7c['Warning'],'content':this[_0x26293d(0x1fd)]['t'](_0xf02130[_0x26293d(0x290)]||'')}),_0xf02130['id']===_0xc5058a[_0x26293d(0x350)]&&this[_0x26293d(0x393)][_0x26293d(0x399)]({'type':_0x25ba7c['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0xf02130['id']===_0xc5058a['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x25ba7c[_0x26293d(0x259)],'content':this[_0x26293d(0x1fd)]['t'](_0x26293d(0x36e))}),_0xf02130['id']===_0xc5058a[_0x26293d(0x1e3)]&&this['_messageService'][_0x26293d(0x399)]({'type':_0x25ba7c[_0x26293d(0x259)],'content':this[_0x26293d(0x1fd)]['t'](_0x26293d(0x2e8))});}));}};se=Ji([B(0x0,_0x567400),B(0x1,_0xdaa54e),B(0x2,_0x3cf773(_0x14b310)),B(0x3,_0x4ff51e),B(0x4,_0x17ffa8),B(0x5,_0x3cf773(_0x6d8484))],se);const Zi=_0x5590b9(0x1bb),et={},Ut=_0x94f5bb(_0x5590b9(0x210));var Qi=Object[_0x5590b9(0x247)],qi=(_0x246b2c,_0x44c9b0,_0x532762,_0x27f898)=>{const _0x208415=_0x5590b9;for(var _0xf4605c=_0x27f898>0x1?void 0x0:_0x27f898?Qi(_0x44c9b0,_0x532762):_0x44c9b0,_0x36a92c=_0x246b2c[_0x208415(0x32e)]-0x1,_0x4caf7c;_0x36a92c>=0x0;_0x36a92c--)(_0x4caf7c=_0x246b2c[_0x36a92c])&&(_0xf4605c=_0x4caf7c(_0xf4605c)||_0xf4605c);return _0xf4605c;},G=(_0x37f500,_0x3ae007)=>(_0xf80a0d,_0x5b6d6a)=>_0x3ae007(_0xf80a0d,_0x5b6d6a,_0x37f500);let ie=class extends _0x2cc23f{constructor(_0xc04f83,_0x1fb68e,_0x25ca0e,_0x553303,_0x544b30){const _0x562772=_0x5590b9;super(),this[_0x562772(0x36f)]=_0xc04f83,this[_0x562772(0x395)]=_0x1fb68e,this[_0x562772(0x1f2)]=_0x25ca0e,this['_dataLoaderService']=_0x553303,_0x544b30?_0x544b30==null||_0x544b30[_0x562772(0x1e0)]()[_0x562772(0x1d7)](()=>this[_0x562772(0x347)]()):(this[_0x562772(0x395)][_0x562772(0x269)]('[CollaborationDataLoaderController]',_0x562772(0x23b)),this[_0x562772(0x347)]());}async[_0x5590b9(0x347)](){const _0x158931=_0x5590b9,_0x51f88b=this[_0x158931(0x36f)]['getParam']('unit'),_0x4c3077=this[_0x158931(0x36f)][_0x158931(0x24c)](_0x158931(0x28c)),_0x20d49c=this['_urlService'][_0x158931(0x24c)](_0x158931(0x2ea));if(!_0x51f88b||!_0x4c3077){this['_logService'][_0x158931(0x269)](_0x158931(0x2d4),_0x158931(0x276));return;}const _0x4d9ea0=await this[_0x158931(0x262)]['loadUnit'](_0x51f88b,Number(_0x4c3077),_0x20d49c);_0x4d9ea0&&_0x4d9ea0 instanceof _0x5ee97b&&this[_0x158931(0x218)](_0x4d9ea0);}async[_0x5590b9(0x218)](_0x11fe25){const _0x34603d=_0x5590b9;await this['_updateSubUnitFromURLParams'](_0x11fe25),_0x11fe25[_0x34603d(0x29e)][_0x34603d(0x31f)](_0xf81e49(this[_0x34603d(0x39a)]))[_0x34603d(0x37e)](_0x1546c8=>{const _0x32e305=_0x34603d;_0x1546c8&&this[_0x32e305(0x367)](_0x1546c8);}),this[_0x34603d(0x36f)][_0x34603d(0x1b6)][_0x34603d(0x31f)](_0xf81e49(this['dispose$']))[_0x34603d(0x37e)](()=>this[_0x34603d(0x1df)](_0x11fe25));}['_updateURLWithCurrentState'](_0x1fb502,_0x3fa90a=!0x1){const _0x1200b7=_0x5590b9,_0x2a3f40=this[_0x1200b7(0x36f)][_0x1200b7(0x24c)]('subunit');_0x1fb502['getSheetId']()!==_0x2a3f40&&this[_0x1200b7(0x36f)][_0x1200b7(0x1c6)](_0x1200b7(0x2ea),_0x1fb502[_0x1200b7(0x344)](),_0x3fa90a);}async[_0x5590b9(0x1df)](_0x571cbe){const _0x4965de=_0x5590b9;var _0x237537;const _0x57bc57=this[_0x4965de(0x36f)][_0x4965de(0x24c)](_0x4965de(0x2ea));if(!_0x57bc57||!_0x571cbe['getSheetBySheetId'](_0x57bc57)){const _0x2b8492=_0x571cbe[_0x4965de(0x386)]()[0x0],_0x4a1c8b=_0x571cbe[_0x4965de(0x221)](_0x2b8492);if(!_0x4a1c8b)return;this['_updateURLWithCurrentState'](_0x4a1c8b,!0x0),await this[_0x4965de(0x1f2)][_0x4965de(0x341)](_0x55cc91['id'],{'unitId':_0x571cbe['getUnitId'](),'subUnitId':_0x2b8492});return;}((_0x237537=_0x571cbe[_0x4965de(0x29a)]())==null?void 0x0:_0x237537[_0x4965de(0x344)]())!==_0x57bc57&&await this[_0x4965de(0x1f2)][_0x4965de(0x341)](_0x55cc91['id'],{'unitId':_0x571cbe[_0x4965de(0x243)](),'subUnitId':_0x57bc57});}};ie=qi([G(0x0,Ut),G(0x1,_0x176e7e),G(0x2,_0x2450c9),G(0x3,_0x3cf773(_0xddad52)),G(0x4,_0x5914a4(_0x58eda0))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x4db0c0,_0x3087f7,_0xc17a47,_0xfa2747)=>{const _0x1e63a0=_0x5590b9;for(var _0x19802c=_0xfa2747>0x1?void 0x0:_0xfa2747?en(_0x3087f7,_0xc17a47):_0x3087f7,_0x5e15a9=_0x4db0c0[_0x1e63a0(0x32e)]-0x1,_0x148f82;_0x5e15a9>=0x0;_0x5e15a9--)(_0x148f82=_0x4db0c0[_0x5e15a9])&&(_0x19802c=_0x148f82(_0x19802c)||_0x19802c);return _0x19802c;},pe=(_0x4ef84d,_0x5a5ce2)=>(_0x46c165,_0x2e1a5f)=>_0x5a5ce2(_0x46c165,_0x2e1a5f,_0x4ef84d);let ne=class{constructor(_0x3f74da,_0x57ed77,_0x5adf9c){const _0xadfe76=_0x5590b9;this[_0xadfe76(0x3ab)]=_0x3f74da,this[_0xadfe76(0x27e)]=_0x57ed77,this['_renderManagerService']=_0x5adf9c;}[_0x5590b9(0x2fb)](_0x46f841){const _0x283a93=_0x5590b9;this[_0x283a93(0x2da)](_0x46f841),this[_0x283a93(0x2a0)](_0x46f841);}['transformRemoteChangeset'](_0x1d45ae){const _0x59cdfc=_0x5590b9,{unitID:_0x24f462}=_0x1d45ae,_0x5ba63e=this[_0x59cdfc(0x2bd)]['getRenderById'](_0x24f462)[_0x59cdfc(0x37b)](_0x27f98c),{redoCache:_0x2aad07}=_0x5ba63e[_0x59cdfc(0x1ea)]();if(_0x2aad07[_0x59cdfc(0x32e)]===0x0)return _0x1d45ae;let _0x3fde38=_0x43bba6[_0x59cdfc(0x2a9)](_0x1d45ae[_0x59cdfc(0x29b)][0x0]);for(let _0x2a6968=0x0;_0x2a6968<_0x2aad07['length'];_0x2a6968++){const _0x555fd8={'id':_0x59cdfc(0x2b0),'params':{..._0x2aad07[_0x2a6968]}},_0x163278=this[_0x59cdfc(0x27e)][_0x59cdfc(0x1b4)](_0x3fde38,_0x555fd8,!0x1);if(_0x404cfd(_0x163278))throw _0x163278[_0x59cdfc(0x1fa)];_0x3fde38=_0x163278[_0x59cdfc(0x35a)];}return{..._0x43bba6[_0x59cdfc(0x2a9)](_0x1d45ae),'mutations':[_0x3fde38]};}[_0x5590b9(0x2da)](_0x4f201c){const _0x24b2cd=_0x5590b9,{unitID:_0x107a24}=_0x4f201c,_0x142cb4=this[_0x24b2cd(0x2bd)]['getRenderById'](_0x107a24)[_0x24b2cd(0x37b)](_0x27f98c),{undoCache:_0xfc9377,redoCache:_0x259011}=_0x142cb4[_0x24b2cd(0x1ea)]();if(_0xfc9377['length']===0x0||_0x259011[_0x24b2cd(0x32e)]===0x0)return;const _0x1e0ddc=[],_0x5b0b86=[];let _0x3d944e=_0x43bba6[_0x24b2cd(0x2a9)](_0x4f201c[_0x24b2cd(0x29b)][0x0]),_0x1551ba=_0x43bba6[_0x24b2cd(0x2a9)](_0x4f201c[_0x24b2cd(0x29b)][0x0]);for(let _0x10a36d=_0xfc9377[_0x24b2cd(0x32e)]-0x1;_0x10a36d>=0x0;_0x10a36d--){const _0x574f58={'id':_0x24b2cd(0x2b0),'params':{..._0xfc9377[_0x10a36d]}},_0x5de638={'id':_0x24b2cd(0x2b0),'params':{..._0x259011[_0x10a36d]}},_0x136198=this[_0x24b2cd(0x27e)][_0x24b2cd(0x1b4)](_0x3d944e,_0x574f58,!0x1),_0x6a2465=this['_transformService'][_0x24b2cd(0x1b4)](_0x1551ba,_0x5de638,!0x1);if(_0x404cfd(_0x136198))throw _0x136198['error'];if(_0x404cfd(_0x6a2465))throw _0x6a2465[_0x24b2cd(0x1fa)];_0x1e0ddc[_0x24b2cd(0x354)](_0x136198['m2Prime'][_0x24b2cd(0x281)]),_0x5b0b86[_0x24b2cd(0x354)](_0x6a2465[_0x24b2cd(0x27c)][_0x24b2cd(0x281)]),_0x3d944e=_0x136198[_0x24b2cd(0x35a)],_0x1551ba=_0x6a2465[_0x24b2cd(0x35a)];}_0x142cb4[_0x24b2cd(0x252)]({'undoCache':_0x1e0ddc,'redoCache':_0x5b0b86});}['_transformPreviousActiveRange'](_0x1f2060){const _0x27442a=_0x5590b9,{unitID:_0x455890}=_0x1f2060,_0x5dd3d4=this['_renderManagerService']['getRenderById'](_0x455890)[_0x27442a(0x37b)](_0x27f98c),_0x1445be=_0x5dd3d4[_0x27442a(0x2a8)]();if(_0x1445be==null)return;const _0xc11e37=[{'id':_0x27442a(0x2b0),'params':{'unitId':_0x1f2060[_0x27442a(0x304)],'actions':null,'textRanges':[_0x1445be]}}],_0x36bea5=this[_0x27442a(0x27e)][_0x27442a(0x1c7)](_0x1f2060,_0xc11e37);if(!_0x131bf3(_0x36bea5))throw _0x36bea5[_0x27442a(0x1fa)];const _0x4f9731=_0x36bea5[_0x27442a(0x27c)][0x0][_0x27442a(0x281)][_0x27442a(0x31c)];Array[_0x27442a(0x288)](_0x4f9731)&&_0x4f9731['length']&&_0x5dd3d4['setActiveRange'](_0x4f9731[0x0]);}};ne=tn([pe(0x0,_0x3cf773(_0x1e3a61)),pe(0x1,_0x2b8652),pe(0x2,_0x537a9e)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x53fa71,_0x23a5bb,_0x1034e1,_0x282855)=>{for(var _0x43e7e8=_0x282855>0x1?void 0x0:_0x282855?sn(_0x23a5bb,_0x1034e1):_0x23a5bb,_0x5d511f=_0x53fa71['length']-0x1,_0x448f53;_0x5d511f>=0x0;_0x5d511f--)(_0x448f53=_0x53fa71[_0x5d511f])&&(_0x43e7e8=_0x448f53(_0x43e7e8)||_0x43e7e8);return _0x43e7e8;},Ce=(_0x45659f,_0x3dde5f)=>(_0x46bc26,_0x2b7c97)=>_0x3dde5f(_0x46bc26,_0x2b7c97,_0x45659f);let re=class{constructor(_0x446018,_0x29b7b6,_0x544f97){const _0x50360a=_0x5590b9;this['_injector']=_0x446018,this[_0x50360a(0x27e)]=_0x29b7b6,this[_0x50360a(0x314)]=_0x544f97;}['transformStateCache'](_0x19bdf2){const _0x252747=_0x5590b9;this[_0x252747(0x360)](_0x19bdf2);}['transformRemoteChangeset'](_0x58d639){const _0x3da890=_0x5590b9,{unitID:_0xe67a22}=_0x58d639,{collaboration:_0x1b409a}=this[_0x3da890(0x314)]['getStateCache'](_0xe67a22);if(_0x1b409a[_0x3da890(0x32e)]===0x0)return _0x58d639;let _0x14498a=_0x43bba6[_0x3da890(0x2a9)](_0x58d639[_0x3da890(0x29b)][0x0]);for(let _0x23a9dc=0x0;_0x23a9dc<_0x1b409a[_0x3da890(0x32e)];_0x23a9dc++){const _0x3f0164={'id':_0x3da890(0x2b0),'params':{'unitId':_0x1b409a[_0x23a9dc][_0x3da890(0x1b7)],..._0x1b409a[_0x23a9dc][_0x3da890(0x1ec)]}},_0x54a649=this[_0x3da890(0x27e)][_0x3da890(0x1b4)](_0x14498a,_0x3f0164,!0x1);if(_0x404cfd(_0x54a649))throw _0x54a649[_0x3da890(0x1fa)];_0x14498a=_0x54a649['m1Prime'];}return{..._0x43bba6['deepClone'](_0x58d639),'mutations':[_0x14498a]};}['_transformHistoryAndStateStack'](_0x50da6f){const _0x3d404a=_0x5590b9,{unitID:_0x4376d6}=_0x50da6f,{history:_0x568779,collaboration:_0x3c24dd}=this['_docStateChangeManagerService'][_0x3d404a(0x2cc)](_0x4376d6);if(_0x568779[_0x3d404a(0x32e)]===0x0&&_0x3c24dd[_0x3d404a(0x32e)]===0x0)return;const _0x33bb5e=[],_0x185820=[];let _0x46214e=_0x43bba6[_0x3d404a(0x2a9)](_0x50da6f[_0x3d404a(0x29b)][0x0]),_0x14c46b=_0x43bba6[_0x3d404a(0x2a9)](_0x50da6f['mutations'][0x0]);for(let _0x7532f1=_0x568779[_0x3d404a(0x32e)]-0x1;_0x7532f1>=0x0;_0x7532f1--){const _0x5d359c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x568779[_0x7532f1][_0x3d404a(0x1b7)],..._0x568779[_0x7532f1][_0x3d404a(0x331)]}},_0x47803={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x568779[_0x7532f1][_0x3d404a(0x1b7)],..._0x568779[_0x7532f1][_0x3d404a(0x1ec)]}},_0x94db88=this['_transformService']['transformMutation'](_0x46214e,_0x5d359c,!0x1),_0x43d185=this['_transformService'][_0x3d404a(0x1b4)](_0x14c46b,_0x47803,!0x1);if(_0x404cfd(_0x94db88))throw _0x94db88[_0x3d404a(0x1fa)];if(_0x404cfd(_0x43d185))throw _0x43d185[_0x3d404a(0x1fa)];_0x33bb5e[_0x3d404a(0x354)]({..._0x568779[_0x7532f1],'undoState':_0x94db88[_0x3d404a(0x27c)][_0x3d404a(0x281)],'redoState':_0x43d185[_0x3d404a(0x27c)]['params']}),_0x46214e=_0x94db88[_0x3d404a(0x35a)],_0x14c46b=_0x43d185[_0x3d404a(0x35a)];}_0x46214e=_0x43bba6['deepClone'](_0x50da6f[_0x3d404a(0x29b)][0x0]),_0x14c46b=_0x43bba6[_0x3d404a(0x2a9)](_0x50da6f[_0x3d404a(0x29b)][0x0]);for(let _0x1f51af=_0x3c24dd[_0x3d404a(0x32e)]-0x1;_0x1f51af>=0x0;_0x1f51af--){const _0x570237={'id':_0x3d404a(0x2b0),'params':{'unitId':_0x3c24dd[_0x1f51af][_0x3d404a(0x1b7)],..._0x3c24dd[_0x1f51af][_0x3d404a(0x331)]}},_0x38afa9={'id':_0x3d404a(0x2b0),'params':{'unitId':_0x3c24dd[_0x1f51af]['unitId'],..._0x3c24dd[_0x1f51af]['redoState']}},_0x54d68f=this['_transformService'][_0x3d404a(0x1b4)](_0x46214e,_0x570237,!0x1),_0x2824af=this[_0x3d404a(0x27e)]['transformMutation'](_0x14c46b,_0x38afa9,!0x1);if(_0x404cfd(_0x54d68f))throw _0x54d68f[_0x3d404a(0x1fa)];if(_0x404cfd(_0x2824af))throw _0x2824af[_0x3d404a(0x1fa)];_0x185820['unshift']({..._0x3c24dd[_0x1f51af],'undoState':_0x54d68f[_0x3d404a(0x27c)][_0x3d404a(0x281)],'redoState':_0x2824af[_0x3d404a(0x27c)][_0x3d404a(0x281)]}),_0x46214e=_0x54d68f['m1Prime'],_0x14c46b=_0x2824af[_0x3d404a(0x35a)];}this['_docStateChangeManagerService'][_0x3d404a(0x21c)](_0x4376d6,{'history':_0x33bb5e,'collaboration':_0x185820});}};re=nn([Ce(0x0,_0x3cf773(_0x1e3a61)),Ce(0x1,_0x2b8652),Ce(0x2,_0x3cf773(_0x4fa245))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x286169,_0x57b123,_0x4fade4,_0xddbd0a)=>{const _0x474114=_0x5590b9;for(var _0x3235cc=_0xddbd0a>0x1?void 0x0:_0xddbd0a?rn(_0x57b123,_0x4fade4):_0x57b123,_0x41809e=_0x286169[_0x474114(0x32e)]-0x1,_0x428a47;_0x41809e>=0x0;_0x41809e--)(_0x428a47=_0x286169[_0x41809e])&&(_0x3235cc=_0x428a47(_0x3235cc)||_0x3235cc);return _0x3235cc;},tt=(_0x1b4071,_0x54d243)=>(_0x2dfd13,_0x36ee2c)=>_0x54d243(_0x2dfd13,_0x36ee2c,_0x1b4071);let oe=class{constructor(_0x34d8f3,_0xeb599e){const _0x1aa8d3=_0x5590b9;this['_injector']=_0x34d8f3,this[_0x1aa8d3(0x27e)]=_0xeb599e;}[_0x5590b9(0x2bb)](_0x310372){const _0x44c59c=_0x5590b9;var _0x562405;const _0x8a1000=this['_injector'][_0x44c59c(0x340)](_0x35a581),_0x460f88=(_0x562405=_0x8a1000[_0x44c59c(0x235)]())!=null?_0x562405:[];if(_0x460f88[_0x44c59c(0x32e)]===0x0)return;const _0x25c73d=_0x310372['unitID'],_0xd4a55=[{'id':_0x44c59c(0x2b0),'params':{'unitId':_0x25c73d,'actions':null,'textRanges':_0x460f88}}],_0x3799a0=this[_0x44c59c(0x27e)]['transformMutationsWithChangeset'](_0x310372,_0xd4a55);if(!_0x131bf3(_0x3799a0))throw _0x3799a0[_0x44c59c(0x1fa)];const _0x14e6ba=_0x3799a0['m2Prime'][0x0][_0x44c59c(0x281)]['textRanges'];Array[_0x44c59c(0x288)](_0x14e6ba)&&_0x14e6ba[_0x44c59c(0x32e)]&&_0x8a1000[_0x44c59c(0x260)](_0x14e6ba,{'unitId':_0x25c73d,'subUnitId':_0x25c73d},!0x1);}};oe=on([tt(0x0,_0x3cf773(_0x1e3a61)),tt(0x1,_0x2b8652)],oe);var an=Object[_0x5590b9(0x247)],cn=(_0x32d6f1,_0x327dcd,_0x40b5b4,_0x4721b5)=>{const _0x953eec=_0x5590b9;for(var _0x19f9cf=_0x4721b5>0x1?void 0x0:_0x4721b5?an(_0x327dcd,_0x40b5b4):_0x327dcd,_0x3a243f=_0x32d6f1[_0x953eec(0x32e)]-0x1,_0x33101c;_0x3a243f>=0x0;_0x3a243f--)(_0x33101c=_0x32d6f1[_0x3a243f])&&(_0x19f9cf=_0x33101c(_0x19f9cf)||_0x19f9cf);return _0x19f9cf;},U=(_0x3d7fc9,_0x4cc602)=>(_0x4c5d07,_0x5048e6)=>_0x4cc602(_0x4c5d07,_0x5048e6,_0x3d7fc9);let ae=class extends _0x309fbf{constructor(_0x372b55,_0x16ea35,_0x1c6af3,_0x3a4ec1,_0x55a617,_0x56d4a9,_0x30ab0d,_0x5476ec){const _0x362797=_0x5590b9;super(),_(this,'_status$',new _0x340249(_0x3d070b[_0x362797(0x371)])),(this['_docStateChangeManagerService']=_0x372b55,this[_0x362797(0x35c)]=_0x16ea35,this[_0x362797(0x381)]=_0x1c6af3,this[_0x362797(0x1ef)]=_0x3a4ec1,this[_0x362797(0x284)]=_0x55a617,this['_docSyncEditingCollabCursorService']=_0x56d4a9,this[_0x362797(0x393)]=_0x30ab0d,this['_localeService']=_0x5476ec,this[_0x362797(0x1dc)]());}[_0x5590b9(0x1dc)](){const _0x4a8924=_0x5590b9;this[_0x4a8924(0x392)](this[_0x4a8924(0x35c)][_0x4a8924(0x2fe)][_0x4a8924(0x37e)](_0x389cab=>{const _0x36e9b8=_0x4a8924,_0x101293=this['_docStateChangeManagerService'][_0x36e9b8(0x2f9)]['subscribe'](_0x321dd2=>{const _0x3cc12d=_0x36e9b8;if(_0x321dd2==null)return;const {unitId:_0x195fc4,redoState:_0x47a891,commandId:_0x26c958}=_0x321dd2;if(_0x195fc4!==_0x389cab[_0x3cc12d(0x304)])return;const _0x4abfeb={'id':_0x26c958,'type':_0x5812d8[_0x3cc12d(0x2ca)],'params':{'unitId':_0x195fc4,'actions':_0x47a891[_0x3cc12d(0x2e4)],'textRanges':null}};_0x389cab['onLocalMutation'](_0x4abfeb);});if(_0x389cab[_0x36e9b8(0x392)](_0x101293),_0x389cab instanceof _0x2098d5){const _0x34f6fa={'onTransformIME':_0x4fbaa4=>this['_docTransformIMECacheService'][_0x36e9b8(0x2fb)](_0x4fbaa4),'onTransformState':_0x500aeb=>this[_0x36e9b8(0x1ef)]['transformStateCache'](_0x500aeb),'onTransformSelections':_0x1d24f3=>this[_0x36e9b8(0x284)][_0x36e9b8(0x2bb)](_0x1d24f3),'onSyncEditingCollabCursor':_0x3b6e12=>this['_docSyncEditingCollabCursorService'][_0x36e9b8(0x30f)](_0x3b6e12),'onTransformRemoteChangesetByIMECache':_0x3a1a7b=>this[_0x36e9b8(0x381)]['transformRemoteChangeset'](_0x3a1a7b),'onTransformRemoteChangesetByStateCache':_0x401aa5=>this[_0x36e9b8(0x1ef)]['transformRemoteChangeset'](_0x401aa5)};_0x389cab['addHandlerCallback'](_0x34f6fa);}}));}};ae=cn([U(0x0,_0x3cf773(_0x4fa245)),U(0x1,_0x3cf773(_0x2519a9)),U(0x2,_0x3cf773(ne)),U(0x3,_0x3cf773(re)),U(0x4,_0x3cf773(oe)),U(0x5,_0x3cf773(He)),U(0x6,_0x4ff51e),U(0x7,_0x3cf773(_0x6d8484))],ae);var ln=Object[_0x5590b9(0x247)],_n=(_0xfafd51,_0x349339,_0x1bbb09,_0x345972)=>{const _0x42ebe6=_0x5590b9;for(var _0x249363=_0x345972>0x1?void 0x0:_0x345972?ln(_0x349339,_0x1bbb09):_0x349339,_0x1fc606=_0xfafd51[_0x42ebe6(0x32e)]-0x1,_0x1b32b8;_0x1fc606>=0x0;_0x1fc606--)(_0x1b32b8=_0xfafd51[_0x1fc606])&&(_0x249363=_0x1b32b8(_0x249363)||_0x249363);return _0x249363;},Ee=(_0x11c94d,_0x2ff111)=>(_0x582297,_0x40c6b9)=>_0x2ff111(_0x582297,_0x40c6b9,_0x11c94d);let we=class extends _0x309fbf{constructor(_0x49419f,_0x98b55f,_0x49185c){const _0x3a3352=_0x5590b9;super(),_(this,_0x3a3352(0x2a6),new Map()),_(this,_0x3a3352(0x292),new Map()),_(this,_0x3a3352(0x30a),!0x1),(this[_0x3a3352(0x3a4)]=_0x49419f,this[_0x3a3352(0x1ed)]=_0x98b55f,this[_0x3a3352(0x345)]=_0x49185c);}[_0x5590b9(0x303)](){this['_disabled']=!0x0;}[_0x5590b9(0x2ec)](){const _0x2607bc=_0x5590b9;this[_0x2607bc(0x30a)]=!0x1;}get[_0x5590b9(0x300)](){const _0xa01faa=_0x5590b9;return this[_0xa01faa(0x292)];}['dispose'](){const _0x2ed6d8=_0x5590b9;this[_0x2ed6d8(0x2f7)]()[_0x2ed6d8(0x1d7)](()=>super['dispose']());}async['loadOfflineData'](_0xf656b){const _0x2ffc2e=_0x5590b9;return this[_0x2ffc2e(0x30a)]?null:this[_0x2ffc2e(0x1ed)][_0x2ffc2e(0x2eb)](_0x17abad(_0xf656b));}async[_0x5590b9(0x264)](_0x5c1a62,_0x532ea7){const _0x27e8b3=_0x5590b9;return!!this['_localStorageService'][_0x27e8b3(0x39c)](_0x5c1a62,_0x532ea7);}[_0x5590b9(0x25b)](_0x4b247a,_0x3d2e42,_0x3b9827,_0x50b7ce){const _0x181570=_0x5590b9,_0x46b76c=this[_0x181570(0x345)]['getCurrentRevOfUnit'](_0x4b247a);this['_cachedData'][_0x181570(0x2b2)](_0x4b247a,{'unitID':_0x4b247a,'type':_0x3d2e42,'awaitingChangeset':_0x3b9827,'mutations':_0x50b7ce,'rev':_0x46b76c}),this[_0x181570(0x292)][_0x181570(0x3b1)](_0x4b247a)||this[_0x181570(0x2b5)](_0x4b247a);}[_0x5590b9(0x2b5)](_0x469e24){const _0x2e0415=_0x5590b9,_0x9b2075=this[_0x2e0415(0x27a)]();_0x9b2075===0x0?this[_0x2e0415(0x23e)](_0x469e24):this[_0x2e0415(0x292)][_0x2e0415(0x2b2)](_0x469e24,setTimeout(()=>this['_saveCache'](_0x469e24),_0x9b2075));}['_getSaveTimeout'](){const _0x2bc5db=_0x5590b9;var _0x44a5fa;return(_0x44a5fa=this[_0x2bc5db(0x3a4)][_0x2bc5db(0x1e2)](_0x1f51e5))!=null?_0x44a5fa:_0x4e5d4c;}[_0x5590b9(0x23e)](_0x2d0e4d){const _0x54e134=_0x5590b9,_0x3395f3=this[_0x54e134(0x292)][_0x54e134(0x340)](_0x2d0e4d);return _0x3395f3!==void 0x0&&window[_0x54e134(0x332)](_0x3395f3),this['_localStorageService'][_0x54e134(0x39c)](_0x17abad(_0x2d0e4d),this[_0x54e134(0x2a6)][_0x54e134(0x340)](_0x2d0e4d))[_0x54e134(0x1d7)](()=>this['_saveTaskMap']['delete'](_0x2d0e4d));}async[_0x5590b9(0x2f7)](){const _0x481131=_0x5590b9,_0x414198=[];this['_saveTaskMap'][_0x481131(0x397)]((_0x254518,_0x207eb8)=>{const _0x25b2d2=_0x481131;window[_0x25b2d2(0x332)](_0x254518),_0x414198[_0x25b2d2(0x1cc)](this[_0x25b2d2(0x23e)](_0x207eb8)[_0x25b2d2(0x1d7)](()=>{const _0x1fb78e=_0x25b2d2;this['_saveTaskMap'][_0x1fb78e(0x245)](_0x207eb8);}));}),await Promise[_0x481131(0x2e2)](_0x414198);}};we=_n([Ee(0x0,_0x2c5d55),Ee(0x1,_0x9428bc),Ee(0x2,_0x3cf773(_0x126ff4))],we);class hn extends _0x2cc23f{constructor(){const _0x7fc32d=_0x5590b9;super(),_(this,_0x7fc32d(0x1b6)),this[_0x7fc32d(0x1b6)]=_0x1994f4(window,_0x7fc32d(0x28d))[_0x7fc32d(0x31f)](_0xf81e49(this[_0x7fc32d(0x39a)]),_0x313feb(0x1),_0x1c0647(void 0x0));}['setParam'](_0x1b515f,_0x166ba3,_0x1be62a=!0x1){const _0x43def7=_0x5590b9,_0x56230a=new URL(window[_0x43def7(0x34e)][_0x43def7(0x2b6)]);_0x56230a[_0x43def7(0x3b2)][_0x43def7(0x2b2)](_0x1b515f,_0x166ba3),_0x1be62a?window['history'][_0x43def7(0x2be)]('','',_0x56230a['toString']()):window[_0x43def7(0x1f8)][_0x43def7(0x2ad)]('','',_0x56230a[_0x43def7(0x382)]());}[_0x5590b9(0x38a)](_0x153c66,_0x219665=!0x1){const _0x1f96af=_0x5590b9,_0x46025d=new URL(window['location'][_0x1f96af(0x2b6)]);_0x46025d[_0x1f96af(0x3b2)][_0x1f96af(0x245)](_0x153c66),_0x219665?window[_0x1f96af(0x1f8)][_0x1f96af(0x2be)]('','',_0x46025d[_0x1f96af(0x382)]()):window[_0x1f96af(0x1f8)][_0x1f96af(0x2ad)]('','',_0x46025d[_0x1f96af(0x382)]());}[_0x5590b9(0x24c)](_0x23df09){const _0x512827=_0x5590b9;var _0x358d2f;return(_0x358d2f=new URL(window[_0x512827(0x34e)]['href'])['searchParams'][_0x512827(0x340)](_0x23df09))!=null?_0x358d2f:void 0x0;}}var un=Object[_0x5590b9(0x359)],dn=Object[_0x5590b9(0x247)],fn=(_0x50ed0f,_0xb601e6,_0x77e519)=>_0xb601e6 in _0x50ed0f?un(_0x50ed0f,_0xb601e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x77e519}):_0x50ed0f[_0xb601e6]=_0x77e519,Sn=(_0x5a8f8c,_0x3389f9,_0x859fe7,_0x5872db)=>{const _0x9f12b8=_0x5590b9;for(var _0x30bf29=_0x5872db>0x1?void 0x0:_0x5872db?dn(_0x3389f9,_0x859fe7):_0x3389f9,_0x52efea=_0x5a8f8c[_0x9f12b8(0x32e)]-0x1,_0x2c8320;_0x52efea>=0x0;_0x52efea--)(_0x2c8320=_0x5a8f8c[_0x52efea])&&(_0x30bf29=_0x2c8320(_0x30bf29)||_0x30bf29);return _0x30bf29;},Oe=(_0x1952cc,_0x796168)=>(_0x12c6c2,_0x5cb9cb)=>_0x796168(_0x12c6c2,_0x5cb9cb,_0x1952cc),mn=(_0x5231e2,_0x44fb82,_0x55d2c5)=>fn(_0x5231e2,_0x44fb82+'',_0x55d2c5);const gn=_0x5590b9(0x202);function _0x3ce6(_0xffe976,_0xf881de){const _0x6cc05b=_0x6cc0();return _0x3ce6=function(_0x3ce6bd,_0xa01b1d){_0x3ce6bd=_0x3ce6bd-0x1b1;let _0x29f663=_0x6cc05b[_0x3ce6bd];return _0x29f663;},_0x3ce6(_0xffe976,_0xf881de);}let Ae=class extends _0x15f4ae{constructor(_0x1ccc20=et,_0x3597b8,_0x519b55,_0x1f198e){const _0x4d7f3e=_0x5590b9;super(),this[_0x4d7f3e(0x30c)]=_0x1ccc20,this[_0x4d7f3e(0x2bd)]=_0x3597b8,this[_0x4d7f3e(0x3ab)]=_0x519b55,this[_0x4d7f3e(0x3a4)]=_0x1f198e;const {..._0x4d7614}=_0x295bdf({},et,this['_config']);this['_configService'][_0x4d7f3e(0x396)](Zi,_0x4d7614);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}['onRendered'](){const _0x4642cb=_0x5590b9;this[_0x4642cb(0x3a3)]();}[_0x5590b9(0x261)](){const _0x3285bf=_0x5590b9;var _0x5d6f5a;const _0x5a07c8=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x24f7a1,{'useClass':_0x2030ca}],[_0xdaa54e,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x4e7161(this[_0x3285bf(0x3ab)],_0x34200f(_0x5a07c8,(_0x5d6f5a=this[_0x3285bf(0x30c)])==null?void 0x0:_0x5d6f5a[_0x3285bf(0x1f3)]));}[_0x5590b9(0x3a3)](){const _0x59716d=_0x5590b9;this[_0x59716d(0x392)](this[_0x59716d(0x2bd)]['registerRenderModule'](_0x41e515['UNIVER_DOC'],[Pe])),this['disposeWithMe'](this[_0x59716d(0x2bd)][_0x59716d(0x1d1)](_0x41e515[_0x59716d(0x1f1)],[Le]));}[_0x5590b9(0x216)](){const _0x24c3ad=_0x5590b9;_0xd048cc(this[_0x24c3ad(0x3ab)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x273459(_0x16f8cc),Oe(0x1,_0x537a9e),Oe(0x2,_0x3cf773(_0x1e3a61)),Oe(0x3,_0x2c5d55)],Ae);var In=Object[_0x5590b9(0x247)],vn=(_0x3b3078,_0x51e977,_0x4980d1,_0x535643)=>{for(var _0x1417fd=_0x535643>0x1?void 0x0:_0x535643?In(_0x51e977,_0x4980d1):_0x51e977,_0x4c85f3=_0x3b3078['length']-0x1,_0x5633f3;_0x4c85f3>=0x0;_0x4c85f3--)(_0x5633f3=_0x3b3078[_0x4c85f3])&&(_0x1417fd=_0x5633f3(_0x1417fd)||_0x1417fd);return _0x1417fd;},K=(_0x11d69c,_0xcbb618)=>(_0xf506cc,_0x925b1a)=>_0xcbb618(_0xf506cc,_0x925b1a,_0x11d69c);let st=class extends _0x118bb3{constructor(_0x57ea57,_0x1a0bb6,_0x58ebba,_0x3ff31b,_0xd56499){super(_0x57ea57,_0x1a0bb6,_0x58ebba,_0x3ff31b,_0xd56499);}async['createSocket'](_0x10612e){const _0x2c1076=_0x5590b9,_0x282427=await this[_0x2c1076(0x384)](),_0x12c17d=this[_0x2c1076(0x1e7)](_0x10612e,_0x282427);return this[_0x2c1076(0x298)](_0x12c17d);}[_0x5590b9(0x1e7)](_0x121e44,_0x42b3e4){const _0x573af9=_0x5590b9,_0x4113bd=typeof window>'u'?new URL(_0x121e44):new URL(_0x121e44,window[_0x573af9(0x34e)]['origin']);_0x4113bd[_0x573af9(0x3b2)]['set'](_0x573af9(0x1f9),_0x42b3e4);const _0x104e8f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x573af9(0x34e)][_0x573af9(0x2ae)]);return _0x104e8f[_0x573af9(0x340)]('runId')&&_0x4113bd[_0x573af9(0x3b2)]['set'](_0x573af9(0x2a3),_0x104e8f['get'](_0x573af9(0x2a3))),_0x4113bd['toString']();}async[_0x5590b9(0x384)](){const _0x13b78e=_0x5590b9;var _0x4cb14c,_0x5cf9ff,_0x3f7d71;const _0xcdb72f=this[_0x13b78e(0x3a4)][_0x13b78e(0x1e2)](_0x4ad1b7),_0xac337=(_0x4cb14c=_0xcdb72f==null?void 0x0:_0xcdb72f['wsSessionTicketUrl'])!=null?_0x4cb14c:_0x1cb61c;return(_0x3f7d71=(_0x5cf9ff=(await this[_0x13b78e(0x205)][_0x13b78e(0x340)](_0xac337,{'headers':{'Content-Type':'application/json'}}))[_0x13b78e(0x1f5)])==null?void 0x0:_0x5cf9ff[_0x13b78e(0x368)])!=null?_0x3f7d71:'';}};st=vn([K(0x0,_0x3cf773(_0x1e3a61)),K(0x1,_0x3cf773(_0x239729)),K(0x2,_0x2c5d55),K(0x3,_0x176e7e),K(0x4,_0x46f94b)],st);const it=0x7530,nt=_0x5590b9(0x348);class jn extends _0x309fbf{constructor(){const _0x5b55b5=_0x5590b9;super(),_(this,_0x5b55b5(0x24d),_0x391cb0()),_(this,_0x5b55b5(0x233),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x5b55b5(0x2dc),null),_(this,_0x5b55b5(0x36d),new Map()),_(this,'_unitStatus',new Map()),this[_0x5b55b5(0x347)]();}[_0x5590b9(0x289)](){const _0xfc12a=_0x5590b9;super['dispose'](),this['_clearOtherTimers'][_0xfc12a(0x397)]((_0x115094,_0x464999)=>this[_0xfc12a(0x22d)](_0x464999)),this[_0xfc12a(0x2dc)]&&window[_0xfc12a(0x1c8)](this[_0xfc12a(0x2dc)]);}['getUnitStatus$'](_0x273033){const _0x2cbdef=_0x5590b9;return this[_0x2cbdef(0x364)](_0x273033)['pipe'](_0x3a7748());}[_0x5590b9(0x2ed)](_0x17843e){const _0x3094de=_0x5590b9;this[_0x3094de(0x233)][_0x3094de(0x318)]===0x0&&this[_0x3094de(0x33d)](),this[_0x3094de(0x233)][_0x3094de(0x21e)](_0x17843e),this['_send']({'type':0x0,'memberID':this[_0x3094de(0x24d)],'unitIDs':[_0x17843e],'isForwarded':!0x1});}[_0x5590b9(0x2f2)](_0x3ea769){const _0x3737a4=_0x5590b9;this['_selfUnitIDs'][_0x3737a4(0x245)](_0x3ea769),this[_0x3737a4(0x233)][_0x3737a4(0x318)]===0x0&&this[_0x3737a4(0x2dc)]&&window[_0x3737a4(0x1c8)](this[_0x3737a4(0x2dc)]);}[_0x5590b9(0x347)](){const _0x57fcf8=_0x5590b9;this['disposeWithMe'](_0x1e2c7b(_0x1994f4(window,_0x57fcf8(0x362))[_0x57fcf8(0x37e)](_0x43da6b=>{const _0x5121ee=_0x57fcf8;if(_0x43da6b[_0x5121ee(0x20c)]!==nt||!_0x43da6b['newValue'])return;const _0x5c9a93=JSON[_0x5121ee(0x20d)](_0x43da6b['newValue']);this[_0x5121ee(0x257)](_0x5c9a93);}))),window['addEventListener'](_0x57fcf8(0x374),()=>this[_0x57fcf8(0x217)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57fcf8(0x306)](this[_0x57fcf8(0x233)])}));}[_0x5590b9(0x257)](_0x589690){const _0x5af3e5=_0x5590b9;switch(_0x589690['type']){case 0x0:this['_handleJoinEvent'](_0x589690);break;case 0x1:this['_handleLeaveEvent'](_0x589690);break;case 0x2:this[_0x5af3e5(0x294)](_0x589690);break;}}[_0x5590b9(0x2ef)](_0x1fa777){const _0x303b41=_0x5590b9,{unitIDs:_0x49e068,memberID:_0x1d1768,isForwarded:_0x28ecf}=_0x1fa777;_0x49e068[_0x303b41(0x397)](_0x17a602=>{const _0xfe5a=_0x303b41;if(!_0x28ecf&&this[_0xfe5a(0x267)][_0xfe5a(0x3b1)](_0x17a602)&&this[_0xfe5a(0x364)](_0x17a602)['next'](_0x37f16f[_0xfe5a(0x228)]),!this[_0xfe5a(0x267)][_0xfe5a(0x3b1)](_0x17a602)||!this[_0xfe5a(0x267)][_0xfe5a(0x340)](_0x17a602)[_0xfe5a(0x3b1)](_0x1d1768)){const _0xeb509c=this['_unitOnClients']['get'](_0x17a602)||new Set();_0xeb509c[_0xfe5a(0x21e)](_0x1d1768),this[_0xfe5a(0x267)][_0xfe5a(0x2b2)](_0x17a602,_0xeb509c),this['_scheduleClearOtherTimer'](_0x1d1768);}}),_0x28ecf||this[_0x303b41(0x217)]({'type':0x0,'memberID':this[_0x303b41(0x24d)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5590b9(0x1d6)](_0x889755){const _0x47960e=_0x5590b9;this[_0x47960e(0x22d)](_0x889755);const _0x124664=window[_0x47960e(0x2d1)](()=>{const _0x1033fa=_0x47960e;this[_0x1033fa(0x267)][_0x1033fa(0x397)](_0x3f4b3=>{_0x3f4b3['delete'](_0x889755);});},it*0x2);this['_clearOtherTimers'][_0x47960e(0x2b2)](_0x889755,_0x124664);}[_0x5590b9(0x22d)](_0x4aad7d){const _0x38e5df=_0x5590b9;if(this[_0x38e5df(0x36d)][_0x38e5df(0x3b1)](_0x4aad7d)){const _0x2de09e=this[_0x38e5df(0x36d)][_0x38e5df(0x340)](_0x4aad7d);_0x2de09e&&window[_0x38e5df(0x332)](_0x2de09e),this[_0x38e5df(0x36d)][_0x38e5df(0x2b2)](_0x4aad7d,null);}}[_0x5590b9(0x3a0)](_0x1942d2){const _0xe931cd=_0x5590b9,{memberID:_0x1cbcd4,unitIDs:_0x20d036}=_0x1942d2;_0x20d036[_0xe931cd(0x397)](_0x2607f6=>{const _0x2f3ddc=_0xe931cd;var _0xc6f59f;const _0x2c2dd7=this['_unitOnClients'][_0x2f3ddc(0x340)](_0x2607f6);_0x2c2dd7&&(_0x2c2dd7['delete'](_0x1cbcd4),(_0xc6f59f=this[_0x2f3ddc(0x364)](_0x2607f6))==null||_0xc6f59f[_0x2f3ddc(0x2c0)](_0x2c2dd7[_0x2f3ddc(0x318)]===0x0?_0x37f16f[_0x2f3ddc(0x219)]:_0x37f16f['OTHER_CLIENTS_EDITING']));}),this[_0xe931cd(0x22d)](_0x1cbcd4);}[_0x5590b9(0x294)](_0x286e93){const _0x429e80=_0x5590b9;this[_0x429e80(0x1d6)](_0x286e93[_0x429e80(0x295)]);}[_0x5590b9(0x217)](_0x1e3540){const _0x32aff0=_0x5590b9;localStorage[_0x32aff0(0x39c)](nt,JSON[_0x32aff0(0x2db)](_0x1e3540));}['_scheduleHeartbeat'](){const _0x548cbc=_0x5590b9;this['_heartbeatTimer']=window[_0x548cbc(0x2c1)](()=>{const _0x5e6009=_0x548cbc;this[_0x5e6009(0x217)]({'type':0x2,'memberID':this[_0x5e6009(0x24d)]});},it);}['_ensureSubject'](_0x183818){const _0x1b2e46=_0x5590b9;return this[_0x1b2e46(0x2d2)]['has'](_0x183818)||this['_unitStatus'][_0x1b2e46(0x2b2)](_0x183818,new _0x340249(_0x37f16f[_0x1b2e46(0x219)])),this['_unitStatus'][_0x1b2e46(0x340)](_0x183818);}}var Mt=(_0x2218e4=>(_0x2218e4[_0x2218e4[_0x5590b9(0x27d)]=0x0]=_0x5590b9(0x27d),_0x2218e4[_0x2218e4['OK']=0x1]='OK',_0x2218e4[_0x2218e4[_0x5590b9(0x2b8)]=0x2]='INTERNAL_ERROR',_0x2218e4[_0x2218e4['PERMISSION_DENIED']=0x3]=_0x5590b9(0x3a7),_0x2218e4[_0x2218e4[_0x5590b9(0x1d0)]=0x4]='NOT_FOUND',_0x2218e4[_0x2218e4[_0x5590b9(0x21f)]=0x5]=_0x5590b9(0x21f),_0x2218e4[_0x2218e4[_0x5590b9(0x238)]=0x6]=_0x5590b9(0x238),_0x2218e4[_0x2218e4[_0x5590b9(0x1fc)]=0x7]=_0x5590b9(0x1fc),_0x2218e4[_0x2218e4[_0x5590b9(0x236)]=0x8]=_0x5590b9(0x236),_0x2218e4[_0x2218e4[_0x5590b9(0x3b4)]=0x9]=_0x5590b9(0x3b4),_0x2218e4[_0x2218e4[_0x5590b9(0x39b)]=0xa]=_0x5590b9(0x39b),_0x2218e4[_0x2218e4[_0x5590b9(0x2cd)]=0x1389]=_0x5590b9(0x2cd),_0x2218e4[_0x2218e4[_0x5590b9(0x309)]=0x1771]=_0x5590b9(0x309),_0x2218e4[_0x2218e4[_0x5590b9(0x256)]=0x1772]=_0x5590b9(0x256),_0x2218e4[_0x2218e4[_0x5590b9(0x1bf)]=0x1773]=_0x5590b9(0x1bf),_0x2218e4[_0x2218e4[_0x5590b9(0x3b7)]=0x1b59]=_0x5590b9(0x3b7),_0x2218e4[_0x2218e4[_0x5590b9(0x1b9)]=0x1b5a]=_0x5590b9(0x1b9),_0x2218e4[_0x2218e4[_0x5590b9(0x254)]=0x1b5b]=_0x5590b9(0x254),_0x2218e4[_0x2218e4[_0x5590b9(0x2c5)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2218e4[_0x2218e4[_0x5590b9(0x372)]=0x1b5d]=_0x5590b9(0x372),_0x2218e4[_0x2218e4[_0x5590b9(0x2e7)]=0x1f41]=_0x5590b9(0x2e7),_0x2218e4[_0x2218e4[_0x5590b9(0x1de)]=0x2329]=_0x5590b9(0x1de),_0x2218e4[_0x2218e4[_0x5590b9(0x34f)]=0x232a]=_0x5590b9(0x34f),_0x2218e4[_0x2218e4[_0x5590b9(0x2d3)]=0x232b]=_0x5590b9(0x2d3),_0x2218e4[_0x2218e4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5590b9(0x37a),_0x2218e4[_0x2218e4[_0x5590b9(0x2aa)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2218e4[_0x2218e4[_0x5590b9(0x30d)]=0x2711]=_0x5590b9(0x30d),_0x2218e4[_0x2218e4[_0x5590b9(0x2e5)]=0x2712]=_0x5590b9(0x2e5),_0x2218e4[_0x2218e4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5590b9(0x23a),_0x2218e4[_0x2218e4[_0x5590b9(0x3aa)]=0x2714]=_0x5590b9(0x3aa),_0x2218e4[_0x2218e4[_0x5590b9(0x1eb)]=0x271a]=_0x5590b9(0x1eb),_0x2218e4[_0x2218e4[_0x5590b9(0x322)]=0x271b]=_0x5590b9(0x322),_0x2218e4[_0x2218e4[_0x5590b9(0x27b)]=0x271c]=_0x5590b9(0x27b),_0x2218e4[_0x2218e4['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2218e4[_0x2218e4[_0x5590b9(0x355)]=0x271e]=_0x5590b9(0x355),_0x2218e4[_0x2218e4[_0x5590b9(0x2d7)]=0x271f]=_0x5590b9(0x2d7),_0x2218e4[_0x2218e4[_0x5590b9(0x20a)]=0x2af9]=_0x5590b9(0x20a),_0x2218e4[_0x2218e4[_0x5590b9(0x2ce)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2218e4[_0x2218e4[_0x5590b9(0x316)]=0x2ee2]=_0x5590b9(0x316),_0x2218e4[_0x2218e4[_0x5590b9(0x20b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2218e4[_0x2218e4[_0x5590b9(0x301)]=0x2ee4]=_0x5590b9(0x301),_0x2218e4[_0x2218e4[_0x5590b9(0x26d)]=0x2ee5]=_0x5590b9(0x26d),_0x2218e4[_0x2218e4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5590b9(0x358),_0x2218e4[_0x2218e4[_0x5590b9(0x38b)]=0x32ca]=_0x5590b9(0x38b),_0x2218e4[_0x2218e4[_0x5590b9(0x1c3)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2218e4[_0x2218e4[_0x5590b9(0x34a)]=-0x1]=_0x5590b9(0x34a),_0x2218e4))(Mt||{}),pn=Object[_0x5590b9(0x247)],Cn=(_0x18cff4,_0x534874,_0x203ce1,_0x38deac)=>{const _0x5b27e5=_0x5590b9;for(var _0x328b4d=_0x38deac>0x1?void 0x0:_0x38deac?pn(_0x534874,_0x203ce1):_0x534874,_0x415ebd=_0x18cff4[_0x5b27e5(0x32e)]-0x1,_0x190acf;_0x415ebd>=0x0;_0x415ebd--)(_0x190acf=_0x18cff4[_0x415ebd])&&(_0x328b4d=_0x190acf(_0x328b4d)||_0x328b4d);return _0x328b4d;},be=(_0x4e220e,_0x30dde3)=>(_0x554842,_0x26bd8d)=>_0x30dde3(_0x554842,_0x26bd8d,_0x4e220e);let rt=class extends _0x309fbf{constructor(_0x202d07,_0x18a239,_0x249c6e){const _0x518281=_0x5590b9;super(),this[_0x518281(0x253)]=_0x202d07,this['_httpService']=_0x18a239,this['_configService']=_0x249c6e;}async[_0x5590b9(0x39e)](_0x5441ac,_0x2285ec,_0x15184d,..._0x81013d){const _0x560389=_0x5590b9;var _0x28f710,_0x411e3a,_0x59c6be,_0x40c49d;const _0x491648=this['_instanceService'][_0x560389(0x3b6)]();if(!_0x491648)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4471d4=((_0x28f710=this[_0x560389(0x3a4)][_0x560389(0x1e2)](_0x84ee4b))!=null?_0x28f710:_0x2b6804)+'/'+_0x5441ac+_0x560389(0x242)+_0x2285ec,_0x367d7b=new URL(window[_0x560389(0x34e)]['href']),_0x14f4be={'scriptId':_0x5441ac,'runId':(_0x411e3a=_0x367d7b[_0x560389(0x3b2)][_0x560389(0x340)]('runId'))!=null?_0x411e3a:'','function':_0x2285ec,'unitId':_0x491648[_0x560389(0x243)](),'argsOfFunction':JSON[_0x560389(0x2db)](_0x81013d),'invokeId':(_0x59c6be=_0x15184d[_0x560389(0x28b)])!=null?_0x59c6be:'','executionId':(_0x40c49d=_0x15184d[_0x560389(0x1e8)])!=null?_0x40c49d:''};try{const _0x210872=await this[_0x560389(0x205)][_0x560389(0x373)](_0x4471d4,{'body':_0x14f4be});return _0x210872[_0x560389(0x1f5)][_0x560389(0x1fa)]&&_0x210872[_0x560389(0x1f5)][_0x560389(0x1fa)][_0x560389(0x32f)]!==Mt['OK']?_0x560389(0x2b3):_0x210872['body']['result'];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x52a5ac),be(0x1,_0x3cf773(_0x239729)),be(0x2,_0x2c5d55)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x812807=_0xbf8f;(function(_0x5aac75,_0x2b4d88){const _0x142618=_0xbf8f,_0x2539bc=_0x5aac75();while(!![]){try{const _0xa1e061=parseInt(_0x142618(0x2bd))/0x1*(parseInt(_0x142618(0x2c9))/0x2)+parseInt(_0x142618(0x235))/0x3*(parseInt(_0x142618(0x161))/0x4)+parseInt(_0x142618(0x195))/0x5*(-parseInt(_0x142618(0x202))/0x6)+-parseInt(_0x142618(0x304))/0x7+parseInt(_0x142618(0x2ac))/0x8+parseInt(_0x142618(0x290))/0x9*(-parseInt(_0x142618(0x2eb))/0xa)+parseInt(_0x142618(0x25f))/0xb;if(_0xa1e061===_0x2b4d88)break;else _0x2539bc['push'](_0x2539bc['shift']());}catch(_0x24b0f4){_0x2539bc['push'](_0x2539bc['shift']());}}}(_0xa80f,0x6fd40));var $t=Object[_0x812807(0x2f5)],xt=(_0x5d5735,_0x502c73,_0x130909)=>_0x502c73 in _0x5d5735?$t(_0x5d5735,_0x502c73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x130909}):_0x5d5735[_0x502c73]=_0x130909,_=(_0x261c57,_0x382c00,_0x32c89d)=>xt(_0x261c57,typeof _0x382c00!=_0x812807(0x31e)?_0x382c00+'':_0x382c00,_0x32c89d);import{MemberService as _0x248268,SessionStatus as _0x3ba6f2,CollaborationSessionService as _0x3fad41,CollaborationStatus as _0x3d349a,CollaborationController as _0x635176,ILocalCacheService as _0x112d4d,CollaborationUIEventService as _0x4a5232,CollaborationUIEventId as _0x102b7,DataLoaderService as _0x1d23a4,DocCollaborationEntity as _0xed90e6,getLocalCacheKey as _0x4ddedd,LOCAL_CACHE_INTERVAL as _0x5b3750,LOCAL_CACHE_INTERVAL_KEY as _0xe601f9,UniverCollaborationClientPlugin as _0x3b7221,CollaborationSocketService as _0x6e84a5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x35b82d,DEFAULT_WS_SESSION_TICKET_URL as _0x5a383a,UnitStatus as _0x2b38df,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x269578,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2b3d24}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3cd66b,Disposable as _0x4946a4,DOC_RANGE_TYPE as _0x3ba2f3,Inject as _0x117037,Injector as _0x2db21b,IUniverInstanceService as _0x37b796,ICommandService as _0x400b6a,debounce as _0x2b2c18,Rectangle as _0x1759b5,DisposableCollection as _0x38f7d2,toDisposable as _0x1b9624,UniverInstanceType as _0x506b4c,Tools as _0x81a76c,COLORS as _0x2a4caf,ColorKit as _0x53fe25,ThemeService as _0x31dffb,fromEventSubject as _0x2d6508,LocaleService as _0x4884e0,createIdentifier as _0x26748e,ILogService as _0x4ef82f,Optional as _0x48bdff,Workbook as _0x42b94a,CommandType as _0x447ad9,IConfigService as _0x40a7b7,ILocalStorageService as _0x5de714,DependentOn as _0x15192f,Plugin as _0x3b5857,merge as _0x3caefb,registerDependencies as _0x193a00,mergeOverrideWithDependencies as _0x4359ca,touchDependencies as _0x132abb,generateRandomId as _0x22cc65}from'@univerjs/core';import{Shape as _0x3c6b0e,Rect as _0x965b1b,getColor as _0x385b84,RegularPolygon as _0x33ed9d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5ba719,Vector2 as _0x35b2f7,SHEET_VIEWPORT_KEY as _0x431b0b,IRenderManagerService as _0x51617e}from'@univerjs/engine-render';import{ISocketService as _0x41f73d,WebSocketService as _0x38f615,HTTPService as _0x32299a}from'@univerjs/network';import{IDocClipboardService as _0x2f8e00,NodePositionConvertToCursor as _0x46d772,NodePositionConvertToRectRange as _0x358332,TEXT_RANGE_LAYER_INDEX as _0x428670,SetDocZoomRatioOperation as _0x5d3a47,DocIMEInputManagerService as _0x556229,DocStateChangeManagerService as _0x3162fc}from'@univerjs/docs-ui';import{IImageIoService as _0x31bfae}from'@univerjs/drawing';import{BehaviorSubject as _0x1ab881,debounceTime as _0x5ee970,takeUntil as _0x465a81,Subject as _0x1aa569,filter as _0x1f752a,switchMap as _0x573555,merge as _0x24614c,combineLatest as _0x2a66f0,of as _0x45d314,fromEvent as _0x582a04,shareReplay as _0x101c78,mapTo as _0x141fcd,distinctUntilChanged as _0xd70296}from'rxjs';import{SetTextSelectionsOperation as _0x1a6746,RichTextEditingMutation as _0x3ba97e,DocSelectionManagerService as _0x570ac8,DocSkeletonManagerService as _0x30eed4}from'@univerjs/docs';import{ITransformService as _0x5ca95d,CollaborationEvent as _0xa81d01,isTransformMutationFailure as _0x59d706,isTransformMutationsWithChangesetSuccess as _0x5e01e7,RevisionService as _0xee49dd,ISnapshotServerService as _0x4bbb7f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2b9917,serializeRangeWithSheet as _0x285e7a}from'@univerjs/engine-formula';import{RefRangeService as _0x1a6a20,SetSelectionsOperation as _0x314c95,SheetsSelectionsService as _0x354df5,EffectRefRangId as _0xf3e226,handleIRemoveRow as _0x240c38,handleIRemoveCol as _0x318f9c,handleMoveRange as _0x5c762c,handleInsertRow as _0x38acbe,handleInsertRangeMoveRight as _0x3aaf02,handleInsertRangeMoveDown as _0xe7cced,handleInsertCol as _0x241903,handleDeleteRangeMoveUp as _0x26deff,handleDeleteRangeMoveLeft as _0x4884b5,runRefRangeMutations as _0x2f02e1,SetWorksheetActivateCommand as _0x4b507d}from'@univerjs/sheets';import{map as _0x51ff5e,filter as _0x40b7f4,throttleTime as _0x5245ab,takeUntil as _0x129ffa,switchMap as _0x50232e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1bfe3e,getCoordByCell as _0x4f66cb,getSheetObject as _0x5da616}from'@univerjs/sheets-ui';import{jsx as _0x12b0d9,jsxs as _0x2b2c04}from'react/jsx-runtime';import{useObservable as _0x1125a7,useDependency as _0xaad9cd,IUIPartsService as _0x42bad7,BuiltInUIPart as _0x5527b0,connectInjector as _0x2661a0,IBeforeCloseService as _0x1e8ef7,IMessageService as _0x4063a1,INotificationService as _0x48808a}from'@univerjs/ui';import{Tooltip as _0x4470aa,clsx as _0x133a3d,MessageType as _0x17fc51}from'@univerjs/design';import{forwardRef as _0xea68ee,useRef as _0x4d52cd,createElement as _0x19048c,useCallback as _0x1820be}from'react';import{IRemoteInstanceService as _0x5a800c}from'@univerjs/rpc';var ci=Object[_0x812807(0x1c3)],li=(_0x1f37cc,_0x230b46,_0x281328,_0x487ab8)=>{const _0x14bb50=_0x812807;for(var _0x17dd45=_0x487ab8>0x1?void 0x0:_0x487ab8?ci(_0x230b46,_0x281328):_0x230b46,_0x15ab63=_0x1f37cc[_0x14bb50(0x2c5)]-0x1,_0x487952;_0x15ab63>=0x0;_0x15ab63--)(_0x487952=_0x1f37cc[_0x15ab63])&&(_0x17dd45=_0x487952(_0x17dd45)||_0x17dd45);return _0x17dd45;},Je=(_0x2737ea,_0x154b19)=>(_0x145368,_0x4de222)=>_0x154b19(_0x145368,_0x4de222,_0x2737ea);let Ne=class extends _0x3cd66b{constructor(_0x2066f5,_0x3f0fde){const _0x257fcd=_0x812807;super(),this['_docClipboardService']=_0x2066f5,this[_0x257fcd(0x24c)]=_0x3f0fde,this[_0x257fcd(0x149)]();}[_0x812807(0x149)](){const _0x2660a5=_0x812807,_0x5cd88a=this;this[_0x2660a5(0x345)](this[_0x2660a5(0x22c)]['addClipboardHook']({'onBeforePasteImage':async _0x1d7cc1=>{const _0x20cc5d=_0x2660a5,_0x2465f1=await _0x5cd88a['_imageIoService'][_0x20cc5d(0x300)](_0x1d7cc1);return _0x2465f1?{'source':_0x2465f1[_0x20cc5d(0x1de)],'imageSourceType':_0x2465f1[_0x20cc5d(0x163)]}:null;}}));}};Ne=li([Je(0x0,_0x2f8e00),Je(0x1,_0x31bfae)],Ne);const Ze=[_0x812807(0x2f2),'jiqing.500',_0x812807(0x15e),'red.300',_0x812807(0x2ce),_0x812807(0x188)];class ke extends _0x4946a4{constructor(){const _0x1b7500=_0x812807;super(...arguments),_(this,_0x1b7500(0x2ff),new Map()),_(this,_0x1b7500(0x24f),0x0);}[_0x812807(0x242)](_0xc117de){const _0xbb3ee1=_0x812807;if(this[_0xbb3ee1(0x2ff)][_0xbb3ee1(0x237)](_0xc117de))return this['_assignedColors'][_0xbb3ee1(0x224)](_0xc117de);const _0x24de1a=Ze[this[_0xbb3ee1(0x24f)]];return this[_0xbb3ee1(0x24f)]=(this[_0xbb3ee1(0x24f)]+0x1)%Ze['length'],this[_0xbb3ee1(0x2ff)]['set'](_0xc117de,_0x24de1a),_0x24de1a;}}function Tt(_0x5edaf9){const _0x120680=_0x812807;let _0x3aace5='';for(const _0x230f3a of _0x5edaf9){const {startOffset:_0x252123,endOffset:_0x1ee95c,isActive:_0x4f145d,rangeType:_0x40477e,segmentId:_0x5c539d,segmentPage:_0x18cc7d}=_0x230f3a;_0x3aace5[_0x120680(0x2c5)]&&(_0x3aace5+=','),_0x3aace5+=_0x252123+':'+_0x1ee95c+':'+(_0x4f145d?'1':'0')+':'+_0x40477e+':'+_0x5c539d+':'+_0x18cc7d;}return _0x3aace5;}function _i(_0x5b48e7){const _0x9513f8=_0x812807,_0x278f64=_0x5b48e7['split'](','),_0x27ffda=[];for(const _0x45330e of _0x278f64){const [_0x824e57,_0x55e812,_0x37caba,_0x551a2b,_0x17ffff,_0x33bd62]=_0x45330e[_0x9513f8(0x1d9)](':');_0x27ffda[_0x9513f8(0x2ee)]({'startOffset':Number(_0x824e57),'endOffset':Number(_0x55e812),'collapsed':_0x824e57===_0x55e812,'isActive':_0x37caba==='1','rangeType':_0x551a2b===_0x3ba2f3[_0x9513f8(0x16a)]?_0x3ba2f3[_0x9513f8(0x16a)]:_0x3ba2f3['RECT'],'segmentId':typeof _0x17ffff==_0x9513f8(0x191)?String(_0x17ffff):'','segmentPage':Number(_0x33bd62!=null?_0x33bd62:-0x1)});}return _0x27ffda[_0x9513f8(0x2c7)](_0x2f9ffa=>_0x2f9ffa[_0x9513f8(0x16d)])||(_0x27ffda[0x0][_0x9513f8(0x16d)]=!0x0),_0x27ffda;}class He extends _0x3cd66b{constructor(){const _0x3f32ec=_0x812807;super(...arguments),_(this,_0x3f32ec(0x2b9),new _0x1ab881(null)),_(this,_0x3f32ec(0x1be),this[_0x3f32ec(0x2b9)][_0x3f32ec(0x20b)]());}[_0x812807(0x1fc)](_0x21c084){const {unitID:_0x22a2df,memberID:_0x48584a,textRanges:_0x2385f4}=_0x21c084,_0x3d873e=Tt(_0x2385f4);if(_0x3d873e==='')return;const _0x5cd089={'unitID':_0x22a2df,'memberID':_0x48584a,'selection':_0x3d873e};this['_collabCursorState$']['next'](_0x5cd089);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x38f07c,_0x2e6057,_0x4ed296,_0x395911)=>{const _0xbb1245=_0x812807;for(var _0x799e98=_0x395911>0x1?void 0x0:_0x395911?hi(_0x2e6057,_0x4ed296):_0x2e6057,_0x12233a=_0x38f07c[_0xbb1245(0x2c5)]-0x1,_0x5adfce;_0x12233a>=0x0;_0x12233a--)(_0x5adfce=_0x38f07c[_0x12233a])&&(_0x799e98=_0x5adfce(_0x799e98)||_0x799e98);return _0x799e98;},P=(_0x53c1a3,_0x27db69)=>(_0x165dbb,_0x34926d)=>_0x27db69(_0x165dbb,_0x34926d,_0x53c1a3);const di=0x12c,fi=0x64;let Ue=class extends _0x3cd66b{constructor(_0x497a02,_0x59fe4a,_0x287dcf,_0x3a7123,_0x173e27,_0x3b485a,_0x52a8b0,_0x17192b,_0x35b146){const _0x3994cb=_0x812807;super(),_(this,'_online',!0x1),_(this,_0x3994cb(0x149),!0x1),_(this,_0x3994cb(0x19e),new _0x1ab881(new Map())),_(this,_0x3994cb(0x16e),this[_0x3994cb(0x19e)][_0x3994cb(0x20b)]()),_(this,_0x3994cb(0x201),new _0x1ab881([])),_(this,_0x3994cb(0x23a),this[_0x3994cb(0x201)]['pipe'](_0x5ee970(di))),_(this,'_updateLocalCursor',_0x2b2c18(_0x29ee4c=>{const _0x136f4a=_0x3994cb,_0x5dcb13={'eventID':_0xa81d01[_0x136f4a(0x251)],'data':{'unitID':this['unitID'],'memberID':this[_0x136f4a(0x236)][_0x136f4a(0x1af)](),'selection':Tt(_0x29ee4c)}};this[_0x136f4a(0x236)][_0x136f4a(0x31a)](_0x5dcb13,this[_0x136f4a(0x1c2)]);},fi)),(this['unitID']=_0x497a02,this['_session']=_0x59fe4a,this[_0x3994cb(0x269)]=_0x287dcf,this['_colorAssignService']=_0x3a7123,this['_memberService']=_0x173e27,this[_0x3994cb(0x313)]=_0x3b485a,this[_0x3994cb(0x16b)]=_0x52a8b0,this[_0x3994cb(0x168)]=_0x17192b,this[_0x3994cb(0x275)]=_0x35b146);}get[_0x812807(0x31d)](){const _0x3bdb1e=_0x812807;return this['_cursorInfo$'][_0x3bdb1e(0x28e)]();}get[_0x812807(0x322)](){const _0x95e9b2=_0x812807;return this[_0x95e9b2(0x201)][_0x95e9b2(0x28e)]();}[_0x812807(0x274)](){const _0x133437=_0x812807;super['dispose'](),this[_0x133437(0x19e)][_0x133437(0x25b)](new Map()),this[_0x133437(0x19e)]['complete'](),this['_roomMembers$']['next']([]),this[_0x133437(0x201)][_0x133437(0x181)]();}[_0x812807(0x18c)](){const _0x589c7b=_0x812807;this[_0x589c7b(0x149)]||(this[_0x589c7b(0x149)]=!0x0,this[_0x589c7b(0x236)][_0x589c7b(0x266)]['pipe'](_0x465a81(this[_0x589c7b(0x2ba)]))[_0x589c7b(0x247)](_0x8b73b7=>{const _0x3e9648=_0x589c7b;_0x8b73b7===_0x3ba6f2[_0x3e9648(0x2f6)]?this[_0x3e9648(0x248)]():this[_0x3e9648(0x262)]();}),this[_0x589c7b(0x236)][_0x589c7b(0x25e)]['pipe'](_0x465a81(this[_0x589c7b(0x2ba)]))['subscribe'](_0x11f547=>{const _0x10e534=_0x589c7b,_0xa144ed=_0x11f547[_0x10e534(0x1c7)];_0xa144ed===_0xa81d01[_0x10e534(0x251)]&&this['_onCursorUpdate'](_0x11f547),_0xa144ed===_0xa81d01[_0x10e534(0x21f)]&&this[_0x10e534(0x15a)](_0x11f547);}),this[_0x589c7b(0x345)](this[_0x589c7b(0x275)]['onCommandExecuted'](_0xfb5d9d=>{const _0x436e19=_0x589c7b,_0x31c3ee=_0xfb5d9d[_0x436e19(0x342)];_0x31c3ee!=null&&this[_0x436e19(0x324)]&&_0xfb5d9d['id']===_0x1a6746['id']&&_0x31c3ee['unitId']===this[_0x436e19(0x1c2)]&&_0x31c3ee['isEditing']===!0x1&&_0x31c3ee['ranges'][_0x436e19(0x2c5)]>0x0&&this['_updateLocalCursor'](_0x31c3ee[_0x436e19(0x264)]);})),this[_0x589c7b(0x313)][_0x589c7b(0x1be)][_0x589c7b(0x154)](_0x465a81(this[_0x589c7b(0x2ba)]))[_0x589c7b(0x247)](_0x56821a=>{const _0x20c7b5=_0x589c7b;if((_0x56821a==null?void 0x0:_0x56821a[_0x20c7b5(0x1c2)])!==this[_0x20c7b5(0x1c2)])return;const _0x59830a={'eventID':_0xa81d01[_0x20c7b5(0x251)],'data':_0x56821a};this[_0x20c7b5(0x2c4)](_0x59830a);}),this[_0x589c7b(0x345)](this[_0x589c7b(0x275)]['onCommandExecuted'](_0x2f4ecc=>{const _0x2bd4bf=_0x589c7b;if(_0x2f4ecc[_0x2bd4bf(0x342)]==null)return;const _0x44649a=_0x2f4ecc[_0x2bd4bf(0x342)];if(_0x2f4ecc['id']!==_0x3ba97e['id']||_0x44649a[_0x2bd4bf(0x216)]!==this[_0x2bd4bf(0x1c2)])return;const _0x276ef4={'id':_0x2bd4bf(0x21c),'params':_0x44649a},_0x3c63c7=this[_0x2bd4bf(0x31d)];for(const [_0x37e43b,_0x2f1838]of _0x3c63c7){const _0x477ab7={'id':_0x2bd4bf(0x21c),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2f1838['ranges']}},_0x3ca6c1=this[_0x2bd4bf(0x16b)][_0x2bd4bf(0x283)](_0x276ef4,_0x477ab7,!0x1);if(_0x59d706(_0x3ca6c1))throw _0x3ca6c1[_0x2bd4bf(0x2d5)];_0x3c63c7[_0x2bd4bf(0x1ba)](_0x37e43b,{..._0x2f1838,'ranges':_0x3ca6c1[_0x2bd4bf(0x30c)]['params'][_0x2bd4bf(0x152)]});}queueMicrotask(()=>{const _0x3b0a34=_0x2bd4bf;this[_0x3b0a34(0x19e)][_0x3b0a34(0x25b)](_0x3c63c7);});})));}[_0x812807(0x2c4)](_0x550d96){const _0x37ae19=_0x812807;var _0x32b837,_0x740522;const {memberID:_0xf3c9f7,selection:_0x5a376d}=_0x550d96[_0x37ae19(0x160)],_0x3d03dd=_i(_0x5a376d),_0x482302=(_0x740522=(_0x32b837=this[_0x37ae19(0x32e)]['getMember'](this[_0x37ae19(0x1c2)],_0xf3c9f7))==null?void 0x0:_0x32b837['name'])!=null?_0x740522:_0x37ae19(0x2b4),_0x583e7a={'color':this[_0x37ae19(0x1e9)][_0x37ae19(0x242)](_0xf3c9f7),'name':_0x482302,'ranges':_0x3d03dd},_0x1f5ace=this[_0x37ae19(0x31d)];_0x1f5ace[_0x37ae19(0x1ba)](_0xf3c9f7,_0x583e7a),this[_0x37ae19(0x19e)][_0x37ae19(0x25b)](_0x1f5ace);}[_0x812807(0x15a)](_0x1d01b7){const _0x4c8d20=_0x812807,{memberID:_0xd5a486}=_0x1d01b7['data'],_0x12462d=this['cursorInfo'];_0x12462d[_0x4c8d20(0x276)](_0xd5a486),this['_cursorInfo$'][_0x4c8d20(0x25b)](_0x12462d);}['_toggleOnline'](){const _0x56ec0a=_0x812807;var _0x4554e6;if(this[_0x56ec0a(0x324)]=!0x0,((_0x4554e6=this[_0x56ec0a(0x168)]['getFocusedUnit']())==null?void 0x0:_0x4554e6[_0x56ec0a(0x1ce)]())!==this[_0x56ec0a(0x1c2)])return;const _0x4793bd=this[_0x56ec0a(0x269)][_0x56ec0a(0x224)](_0x570ac8)[_0x56ec0a(0x234)]();Array['isArray'](_0x4793bd)&&_0x4793bd[_0x56ec0a(0x2c5)]>0x0&&this[_0x56ec0a(0x17c)](_0x4793bd);}[_0x812807(0x262)](){const _0x4ef32b=_0x812807;this[_0x4ef32b(0x324)]=!0x1;}};Ue=ui([P(0x2,_0x117037(_0x2db21b)),P(0x3,_0x117037(ke)),P(0x4,_0x117037(_0x248268)),P(0x5,_0x117037(He)),P(0x6,_0x5ca95d),P(0x7,_0x37b796),P(0x8,_0x400b6a)],Ue);var Si=Object[_0x812807(0x1c3)],mi=(_0xbd4efe,_0x4f816d,_0x308592,_0x1eb061)=>{const _0x58fe94=_0x812807;for(var _0xd5a1e3=_0x1eb061>0x1?void 0x0:_0x1eb061?Si(_0x4f816d,_0x308592):_0x4f816d,_0x434118=_0xbd4efe[_0x58fe94(0x2c5)]-0x1,_0xa23929;_0x434118>=0x0;_0x434118--)(_0xa23929=_0xbd4efe[_0x434118])&&(_0xd5a1e3=_0xa23929(_0xd5a1e3)||_0xd5a1e3);return _0xd5a1e3;},x=(_0x5e476a,_0x56918e)=>(_0x5a0bf2,_0xe5ba87)=>_0x56918e(_0x5a0bf2,_0xe5ba87,_0x5e476a);function _0xa80f(){const _0x26832e=['mutations','ALREADY_EXISTS','save','session.connection-failed','registerRefRange','doc.mutation.rich-text-editing','_docTransformStateCacheService','getCurrent','USERS_LEAVE','arc','code','OTHER_CLIENT_EDITING','INVITE_CODE_HAS_BEEN_UES','get','url(#$1','black','add','InsertRangeMoveDownCommandId','getItem','executionId','_hovered','_docClipboardService','LICENSE_EXPORT_SIZE_EXCEEDED','CONFLICT','NOT_FOUND','off-line-icon','fill','m1Prime','getSheetBySheetId','getDocRanges','117MwdZqz','_session','has','on-line-icon','_setupSubUnitSync','roomMembers$','_getSheetObject','endRow','_sheetSkeletonManagerService','top','collaboration.single-unit.warning','ticket','concat','assignAColorForMemberID','_initCommandExecutedListener','_localCacheService','hasOwnProperty','/run/','subscribe','_toggleOnline','onPointerMove$','focused$','getCurrentUnitForType','_imageIoService','indexOf','_cursor','_colorIndex','getAncestorScale','UPDATE_CURSOR','clipPath','transformByState','invokeId','MoveRangeCommandId','_setupBeforeClosingHandler','LOGIN_FAILED','M0\x200H16V16H0z','getRangePointData','_entityInit$','next','_handleHover','transform','event$','5418556rgwvfi','getColorFromTheme','_refreshCollabCursors','_toggleOffline','then','ranges','backgroundColor','sessionStatus$','_scheduleClearOtherTimer','getConfig','_injector','subUnitId','current','INVALID_ARGUMENT','moveTo','size','_dataLoaderService','all','_localStorageService','InsertColCommandId','_drawTextRange','dispose','_commandService','delete','entries','WECHAT_HAS_BEEN_BOUND','collabStatus.synced','width','_updateCollabCursors','SOCKET_FAILED_RETRY','_handleLeaveEvent','generateRandomId','getOffsetConfig','function','_docStateChangeManagerService','NOT_COLLAB','transformMutation','APPLY_NON_SEQUENTIAL_REVISION','INVITE_CODE_REQUIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_hideTimer','InsertRangeMoveRightCommandId','_initStatusListener','addObject','rgba(255,\x20255,\x20255,\x200.01)','_getMergeRange','newValue','getValue','permission.content','936NmPyij','_docSkeletonManagerService','activeSheet$','sheetID','HEADER_MENU','univerjs-icon\x20univerjs-icon-','unload','replace','currentColor','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_REJECT','_name','clearInterval','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_backgroundColor','extend','getTypeOfUnitDisposed$','univer-flex\x20univer-items-center','APPLY_REVISION_CONFILICT','_removeCollabCursors','createSocket','hide','removeParam','_initResize','CHANGESET_REVISION_CONFILICT','_logService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onRefRangeChange','3632328utPpGG','url(#on-line-icon_clip0_910_349)','className','getUnhiddenWorksheets','drawWith','OffLineIcon','getViewport','ACTIVE_UNIT_EVENT_CHANNEL','Unknown\x20user','findNodePositionByCharIndex','YUUMI_UNABLE_LOAD_URL','popstate','lineTo','_collabCursorState$','dispose$','column','includes','1bbyDWu','_revisionService','find','onPointerLeave$','div','url(#off-line-icon_clip0_910_343)','#FFF','_onCursorUpdate','length','history','some','off-line-icon_clip0_910_343','1263226GXOKGW','clearTimeout','FETCH_MISS','getActiveSheet','search','blue.400','executeCommand','beginPath','collabStatus.conflict','getCurrentRevOfUnit','_uiPartsService','_entities','error','_themeService','redoState','_transformUndoRedoStack','unit','runOnServer','_getScale','toString','_cursors','_startSheetCollabCursor','addEventListener','_ensureSubject','children','TOO_MANY_REQUESTS','_notificationService','substring','getRenderById','...','_unitStatus','_docSyncEditingCollabCursorService','Error','disposeUnit','59800lXSBBH','_docTransformIMECacheService','RECT','push','OnLineIcon','onPointerEnter$','_httpService','purple.300','_handleEvent','reconnect','defineProperty','ONLINE','runId','replaceState','searchParams','createInstance','getSkeleton','_renderManagerService','ENSURE_SNAPSHOT_EXECUTION','AWAITING','_assignedColors','saveImage','LICENSE_IMPORT_SIZE_EXCEEDED','session.collaboration-timeout','_drawRectRange','4667369bcnHCB','min','SOCKET_FAILED','toRgbString','YUUMI_AI_RUN_FAILED','_scheduleSaving','NO_OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','m2Prime','COMPLETION_FINISHED','_doCreateSocket','SNAPSHOT_HAS_BEEN_REMOVED','SUBMIT_CHANGESET_TIMEOUT','subscribeEvent','_collaborationController','_syncEditingCollabCursorService','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','pushState','setActiveRange','fillStyle','http://www.w3.org/2000/svg','send','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','cursorInfo','symbol','PERMISSION_DENIED','xlink:href','_removeClearOtherTimer','roomMembers','none','_online','map','colorChannel1','tag','_initEntityListener','assign','_heartbeatTimer','replaceDocRanges','resize','wsSessionTicketUrl','_memberService','contains','deepClone','_updateSubUnitFromURLParams','LICENSE_DISTRO_REJECTED','collab-client.tooltip.reconnect','_createSocketURL','_anchor','getSheetId','MUTATION','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getParam','flatMap','getUnitStatus$','collabStatus.notCollab','getRelativeToViewportCoord','transformRemoteChangeset','_getSessionTicket','currentTheme$','APPLY_DUPLICATED','params','_textBubble','measureText','disposeWithMe','result','labelPosition','startsWith','setConfig','_labelPosition','getCollabEntity$','debug','_init','_context','transformSelections','requireSession','_getSaveTimeout','YUUMI_RATE_OVER_LIMIT','_registerDependencies','UNRECOGNIZED','EMAIL_HAS_BEEN_BOUND','textRanges','parse','pipe','defIds','YUUMI_NO_CUBOID_FOR_QUESTION','InsertRowCommandId','SNAPSHOT_INVALID_SNAPSHOT','_initStatusComponent','_onCursorDelete','_configService','getActiveRange','_draw','green.600','triggerDblclick','data','70916KrIIrj','session.will-retry','imageSourceType','_range','with','permission.title','_collabCursorController','_univerInstanceService','_registerRenderDependencies','TEXT','_transformService','_anchorDot','isActive','cursorInfo$','collabStatus.fetchMiss','type','setItem','_color','translate(.97)','svg','engine','getOwnPropertySymbols','_instanceService','restore','_transformPreviousActiveRange','_scheduleHeartbeat','YUUMI_ASYNCIO_CANCELLED','_updateLocalCursor','apply','isArray','getCurrentSelections','_collabSessionService','complete','values','_drawAnchor','Warning','_transformHistoryAndStateStack','collabStatus.offline','subunit','yellow.400','onCommandExecuted','fillText','collab-rect-range-','init','href','exhaustSavingTask','_cursorShapes','_eventUnsubscribe','string','_send','UNAUTHENTICATED','APPLY_PERMISSION_DENIED','1307365VMWqqX','idSuffix','saveTaskMap','_handleHeartbeatEvent','hovered','_shapes','_getAnchorBounding','_initEvent','_saveTaskMap','_cursorInfo$','_selfUnitIDs','getTypeOfUnitAdded$','OTHER_CLIENTS_EDITING','font','setParam','CONNECTOR_DATA_TOO_LARGE','endColumn','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','text','getFocusedUnit','white','_status$','_updateURLWithCurrentState','range','call','collabStatus.syncing','getMemberID','uni.network.url-service','trim','registerRenderModule','_docTransformSelectionsService','_clearOtherTimers','[CollaborationDataLoaderController]','loadOfflineData','attrs','mask','collaboration.closeRoom','set','body','evenodd','_config','collabCursorState$','displayName','transformStateCache','1em','unitID','getOwnPropertyDescriptor','setAlpha','_messageService','getUniverSheetInstance','eventID','_unitOnClients','_lastPointer','icon','unsubscribe','round','show','getUnitId','_saveCache','currentSkeleton$','from','on-line-icon_clip0_910_349','transformMutationsWithChangeset','_collaborationUIEventService','UNIVER_DOC','status$','startRow','_refRangeService','split','setShapeProps','Failed','getCollabCursors$','_initDependencies','source','_urlService','UNDEFINED','urlChange$','JOIN_ROOM_FAILED','DeleteRangeMoveLeftCommandId','undoState','INVITE_CODE_ALREADY_BOUND','_render','UNIVER_SHEET','getCellPositionByOffset','_colorAssignService','_disabled','getStateCache','path','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_scene','_hover','propertyIsEnumerable','color','_startDocCollabCursor','defs','random','stringify','row','setTimeout','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformIMECache','skeleton','onLocalMutation','syncEditingCollabCursor','selection','getUndoRedoMutationParamsCache','disableLocalCache','forEach','_roomMembers$','12bIWjwU','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','unshift','FromArray','LICENSE_MAX_UNITS_EXCEEDED','OFFLINE','MOBILE_HAS_BEEN_BOUND','name','onMouseMove','asObservable','location','updateOfflineData','_id','prototype','_localeService','VIEW_MAIN','override','sessionTicket','getMember','docStateChange$','unitId'];_0xa80f=function(){return _0x26832e;};return _0xa80f();}const Ii=0x12c,gi=0x64,vi=()=>{let _0x2abed5=[],_0x510590=!0x1;return _0x4bb4a9=>{_0x2abed5['push'](_0x4bb4a9),_0x510590||(_0x510590=!0x0,setTimeout(()=>{_0x2abed5['forEach'](_0x152e02=>_0x152e02()),_0x2abed5=[],_0x510590=!0x1;}));};};let Me=class extends _0x3cd66b{constructor(_0x4c571d,_0xe020b3,_0x3ef1a4,_0x4f9297,_0x31c9ed,_0x2e625e,_0x5031c2,_0x696c91){const _0x3a9cab=_0x812807;super(),_(this,_0x3a9cab(0x324),!0x1),_(this,_0x3a9cab(0x149),!0x1),_(this,_0x3a9cab(0x19e),new _0x1ab881(new Map())),_(this,_0x3a9cab(0x16e),this[_0x3a9cab(0x19e)]['asObservable']()),_(this,'_roomMembers$',new _0x1ab881([])),_(this,'roomMembers$',this[_0x3a9cab(0x201)][_0x3a9cab(0x154)](_0x5ee970(Ii))),_(this,_0x3a9cab(0x17c),_0x2b2c18((_0x21c436,_0x29b074)=>{const _0x3e8d10=_0x3a9cab,_0x5405d2={'eventID':_0xa81d01[_0x3e8d10(0x251)],'data':{'unitID':this[_0x3e8d10(0x1c2)],'memberID':this[_0x3e8d10(0x236)][_0x3e8d10(0x1af)](),'selection':_0x285e7a(_0x21c436,_0x29b074[_0x3e8d10(0x1ac)])}};this[_0x3e8d10(0x236)][_0x3e8d10(0x31a)](_0x5405d2,this[_0x3e8d10(0x1c2)]);},gi)),(this[_0x3a9cab(0x1c2)]=_0x4c571d,this[_0x3a9cab(0x236)]=_0xe020b3,this['_injector']=_0x3ef1a4,this[_0x3a9cab(0x1e9)]=_0x4f9297,this[_0x3a9cab(0x32e)]=_0x31c9ed,this['_univerInstanceService']=_0x2e625e,this[_0x3a9cab(0x275)]=_0x5031c2,this[_0x3a9cab(0x1d8)]=_0x696c91);}get[_0x812807(0x31d)](){const _0x13f11f=_0x812807;return this[_0x13f11f(0x19e)][_0x13f11f(0x28e)]();}get[_0x812807(0x322)](){const _0x52d421=_0x812807;return this[_0x52d421(0x201)]['getValue']();}[_0x812807(0x274)](){const _0x204417=_0x812807;super[_0x204417(0x274)](),this['_cursorInfo$'][_0x204417(0x25b)](new Map()),this[_0x204417(0x19e)][_0x204417(0x181)](),this['_roomMembers$']['next']([]),this[_0x204417(0x201)][_0x204417(0x181)]();}['init'](){const _0x39ce4b=_0x812807;this[_0x39ce4b(0x149)]||(this[_0x39ce4b(0x149)]=!0x0,this[_0x39ce4b(0x236)][_0x39ce4b(0x266)]['pipe'](_0x465a81(this[_0x39ce4b(0x2ba)]))[_0x39ce4b(0x247)](_0x295b05=>{const _0x177b3c=_0x39ce4b;_0x295b05===_0x3ba6f2[_0x177b3c(0x2f6)]?this[_0x177b3c(0x248)]():this[_0x177b3c(0x262)]();}),this['_session'][_0x39ce4b(0x25e)][_0x39ce4b(0x154)](_0x465a81(this[_0x39ce4b(0x2ba)]))[_0x39ce4b(0x247)](_0x417998=>{const _0x4ab13a=_0x39ce4b,_0x3a024b=_0x417998[_0x4ab13a(0x1c7)];_0x3a024b===_0xa81d01[_0x4ab13a(0x251)]&&this[_0x4ab13a(0x2c4)](_0x417998),_0x3a024b===_0xa81d01[_0x4ab13a(0x21f)]&&this['_onCursorDelete'](_0x417998);}),this[_0x39ce4b(0x2ab)](),this[_0x39ce4b(0x345)](this[_0x39ce4b(0x275)][_0x39ce4b(0x189)](_0x94ee70=>{const _0x2c8838=_0x39ce4b;if(this[_0x2c8838(0x324)]&&_0x94ee70['id']===_0x314c95['id']&&_0x94ee70[_0x2c8838(0x342)][_0x2c8838(0x216)]===this[_0x2c8838(0x1c2)]){const _0x29dfd9=_0x94ee70[_0x2c8838(0x342)];this['_updateLocalCursor'](_0x29dfd9[_0x2c8838(0x26a)],_0x29dfd9['selections'][0x0]);}})));}[_0x812807(0x2c4)](_0x4bef90){const _0x212a16=_0x812807;var _0x4a9cf4,_0x40082d;const {memberID:_0xc072ff,selection:_0xfa4b83}=_0x4bef90[_0x212a16(0x160)],{sheetName:_0x5ce95b,range:_0x9e336b}=_0x2b9917(_0xfa4b83),_0x1bd9b4={'name':(_0x40082d=(_0x4a9cf4=this['_memberService'][_0x212a16(0x214)](this[_0x212a16(0x1c2)],_0xc072ff))==null?void 0x0:_0x4a9cf4[_0x212a16(0x209)])!=null?_0x40082d:'Unknown\x20user','range':this[_0x212a16(0x28c)](_0x5ce95b,_0x9e336b),'sheetID':_0x5ce95b,'color':this['_colorAssignService'][_0x212a16(0x242)](_0xc072ff),'selection':_0xfa4b83},_0x8cd03a=this[_0x212a16(0x31d)];_0x8cd03a['set'](_0xc072ff,_0x1bd9b4),this[_0x212a16(0x19e)][_0x212a16(0x25b)](_0x8cd03a);}[_0x812807(0x15a)](_0x40212d){const _0x37a58d=_0x812807,{memberID:_0x5b5d24}=_0x40212d['data'],_0x300ddb=this[_0x37a58d(0x31d)];_0x300ddb[_0x37a58d(0x276)](_0x5b5d24),this['_cursorInfo$']['next'](_0x300ddb);}['_getMergeRange'](_0x2b1a01,_0x6c1174){const _0x1dda2c=_0x812807;var _0x3c1e75,_0x4748b4;const _0x1ed14a=(_0x4748b4=(_0x3c1e75=this[_0x1dda2c(0x168)][_0x1dda2c(0x1c6)](this['unitID']))==null?void 0x0:_0x3c1e75[_0x1dda2c(0x233)](_0x2b1a01))==null?void 0x0:_0x4748b4['getMergeData']();return(_0x1ed14a==null?void 0x0:_0x1ed14a[_0x1dda2c(0x2bf)](_0x467161=>_0x1759b5[_0x1dda2c(0x32f)](_0x467161,_0x6c1174)))||_0x6c1174;}[_0x812807(0x2ab)](){const _0x245515=_0x812807,_0xcdc3c0=new _0x38f7d2(),_0x4df300=vi(),_0x159fcc=()=>{const _0x16633b=_0xbf8f;_0xcdc3c0[_0x16633b(0x274)]();const _0x249867=(_0x4d33d0,_0x300809,_0x3f3b98,_0x232b68)=>{const _0x2c4bc5=_0x16633b;let _0x285559=[];switch(_0x4d33d0['id']){case _0xf3e226[_0x2c4bc5(0x1e3)]:{_0x285559=_0x4884b5(_0x4d33d0,_0x232b68);break;}case _0xf3e226['DeleteRangeMoveUpCommandId']:{_0x285559=_0x26deff(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x272)]:{_0x285559=_0x241903(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x228)]:{_0x285559=_0xe7cced(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x288)]:{_0x285559=_0x3aaf02(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x157)]:{_0x285559=_0x38acbe(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x255)]:{_0x285559=_0x5c762c(_0x4d33d0,_0x232b68);break;}case _0xf3e226['RemoveColCommandId']:{_0x285559=_0x318f9c(_0x4d33d0,_0x232b68);break;}case _0xf3e226['RemoveRowCommandId']:{_0x285559=_0x240c38(_0x4d33d0,_0x232b68);break;}}const _0x30c585=_0x2f02e1(_0x285559,_0x232b68),_0x25369e=this['cursorInfo'][_0x2c4bc5(0x224)](_0x300809);if(_0x25369e&&_0x30c585){const _0x1075b2={..._0x25369e,'range':_0x30c585};this[_0x2c4bc5(0x31d)][_0x2c4bc5(0x1ba)](_0x300809,_0x1075b2),_0x4df300(()=>{const _0x2ea541=_0x2c4bc5,_0x4ad3e4=this[_0x2ea541(0x1d8)]['registerRefRange'](_0x30c585,_0x3eed84=>(_0x4ad3e4['dispose'](),_0x249867(_0x3eed84,_0x300809,_0x3f3b98,_0x30c585)));_0xcdc3c0[_0x2ea541(0x227)](_0x4ad3e4);});}return{'redos':[],'undos':[]};};this[_0x16633b(0x31d)]['forEach']((_0x521308,_0x371853)=>{const _0x3fbdce=_0x16633b,{range:_0x5197af,sheetID:_0x148c9d}=_0x521308,_0xbd01dd=this[_0x3fbdce(0x1d8)][_0x3fbdce(0x21b)](_0x5197af,_0x140a91=>(_0xbd01dd['dispose'](),_0x249867(_0x140a91,_0x371853,_0x148c9d,_0x5197af)));_0xcdc3c0[_0x3fbdce(0x227)](_0xbd01dd);});};this[_0x245515(0x345)](_0x1b9624(this[_0x245515(0x19e)][_0x245515(0x247)](()=>{_0x159fcc();})));}[_0x812807(0x248)](){const _0x179efb=_0x812807;var _0x576051,_0x40fbb3;if(this[_0x179efb(0x324)]=!0x0,((_0x576051=this[_0x179efb(0x168)][_0x179efb(0x1a8)]())==null?void 0x0:_0x576051[_0x179efb(0x1ce)]())!==this['unitID'])return;const _0xd17145=(_0x40fbb3=this[_0x179efb(0x269)]['get'](_0x354df5)[_0x179efb(0x17f)]())==null?void 0x0:_0x40fbb3[0x0],_0x2e4e48=this[_0x179efb(0x168)][_0x179efb(0x24b)](_0x506b4c[_0x179efb(0x1e7)])['getActiveSheet']();_0xd17145&&_0x2e4e48&&this['_updateLocalCursor'](_0x2e4e48['getSheetId'](),_0xd17145);}['_toggleOffline'](){const _0x592aa4=_0x812807;this[_0x592aa4(0x324)]=!0x1;}};Me=mi([x(0x2,_0x117037(_0x2db21b)),x(0x3,_0x117037(ke)),x(0x4,_0x117037(_0x248268)),x(0x5,_0x37b796),x(0x6,_0x400b6a),x(0x7,_0x117037(_0x1a6a20))],Me);var pi=Object[_0x812807(0x1c3)],Ci=(_0x3bb6ca,_0x218aa6,_0xb0ef1a,_0x57586a)=>{const _0x243ce1=_0x812807;for(var _0x1c80c3=_0x57586a>0x1?void 0x0:_0x57586a?pi(_0x218aa6,_0xb0ef1a):_0x218aa6,_0x1a5629=_0x3bb6ca[_0x243ce1(0x2c5)]-0x1,_0x5b19f3;_0x1a5629>=0x0;_0x1a5629--)(_0x5b19f3=_0x3bb6ca[_0x1a5629])&&(_0x1c80c3=_0x5b19f3(_0x1c80c3)||_0x1c80c3);return _0x1c80c3;},Se=(_0x30bf49,_0x249d49)=>(_0x3f2260,_0x37aec4)=>_0x249d49(_0x3f2260,_0x37aec4,_0x30bf49);let H=class extends _0x3cd66b{constructor(_0x5a69bd,_0x3b3a7f,_0x195049){const _0x413f52=_0x812807;super(),_(this,_0x413f52(0x2d4),new Map()),_(this,_0x413f52(0x25a),new _0x1aa569()),(this[_0x413f52(0x168)]=_0x5a69bd,this[_0x413f52(0x269)]=_0x3b3a7f,this['_collabSessionService']=_0x195049,this[_0x413f52(0x149)]());}[_0x812807(0x274)](){const _0x54f44e=_0x812807;super['dispose'](),this[_0x54f44e(0x25a)]['complete'](),this[_0x54f44e(0x2d4)][_0x54f44e(0x200)](_0x4d10c1=>_0x4d10c1['dispose']());}[_0x812807(0x1dc)](_0xda952){const _0xd693d9=_0x812807;return this[_0xd693d9(0x2d4)][_0xd693d9(0x237)](_0xda952)?this['_entities'][_0xd693d9(0x224)](_0xda952)[_0xd693d9(0x16e)]:this[_0xd693d9(0x25a)][_0xd693d9(0x154)](_0x1f752a(_0x56d05c=>_0x56d05c[_0xd693d9(0x1c2)]===_0xda952),_0x573555(_0x1c3566=>_0x1c3566['cursorInfo$']));}[_0x812807(0x149)](){const _0x10abb4=_0x812807;this[_0x10abb4(0x168)][_0x10abb4(0x1a0)](_0x506b4c[_0x10abb4(0x1e7)])[_0x10abb4(0x154)](_0x465a81(this['dispose$']))[_0x10abb4(0x247)](async _0xeb3e30=>{const _0x1fcc41=_0x10abb4,_0x1c597f=_0xeb3e30[_0x1fcc41(0x1ce)](),_0x355c22=await this[_0x1fcc41(0x2de)](_0x1c597f);this[_0x1fcc41(0x25a)][_0x1fcc41(0x25b)](_0x355c22),this[_0x1fcc41(0x2d4)][_0x1fcc41(0x1ba)](_0x1c597f,_0x355c22);}),this[_0x10abb4(0x168)][_0x10abb4(0x1a0)](_0x506b4c[_0x10abb4(0x1d5)])['pipe'](_0x465a81(this['dispose$']))[_0x10abb4(0x154)](_0x1f752a(_0x448ee6=>!_0x448ee6[_0x10abb4(0x1ce)]()[_0x10abb4(0x144)]('__')))[_0x10abb4(0x247)](async _0x556adf=>{const _0x26b94d=_0x10abb4,_0x93a7e7=_0x556adf[_0x26b94d(0x1ce)](),_0x23dcbf=await this[_0x26b94d(0x1f2)](_0x93a7e7);this[_0x26b94d(0x25a)][_0x26b94d(0x25b)](_0x23dcbf),this[_0x26b94d(0x2d4)][_0x26b94d(0x1ba)](_0x93a7e7,_0x23dcbf);}),_0x24614c(this[_0x10abb4(0x168)][_0x10abb4(0x2a0)](_0x506b4c[_0x10abb4(0x1d5)]),this[_0x10abb4(0x168)][_0x10abb4(0x2a0)](_0x506b4c[_0x10abb4(0x1e7)]))[_0x10abb4(0x154)](_0x465a81(this[_0x10abb4(0x2ba)]))[_0x10abb4(0x247)](_0x551c29=>{const _0x5c90e4=_0x10abb4,_0x29e787=_0x551c29[_0x5c90e4(0x1ce)](),_0x303a65=this[_0x5c90e4(0x2d4)][_0x5c90e4(0x224)](_0x29e787);_0x303a65&&(_0x303a65[_0x5c90e4(0x274)](),this[_0x5c90e4(0x2d4)][_0x5c90e4(0x276)](_0x29e787));});}async['_startSheetCollabCursor'](_0x3668fd){const _0x1b76d7=_0x812807,_0x4657b0=await this[_0x1b76d7(0x180)][_0x1b76d7(0x14c)](_0x3668fd),_0x3224ba=this[_0x1b76d7(0x269)][_0x1b76d7(0x2fa)](Me,_0x3668fd,_0x4657b0);return _0x3224ba[_0x1b76d7(0x18c)](),_0x3224ba;}async[_0x812807(0x1f2)](_0xa7d71c){const _0x338a13=_0x812807,_0x541ea5=await this[_0x338a13(0x180)][_0x338a13(0x14c)](_0xa7d71c),_0x5adf7e=this[_0x338a13(0x269)]['createInstance'](Ue,_0xa7d71c,_0x541ea5);return _0x5adf7e[_0x338a13(0x18c)](),_0x5adf7e;}};function _0xbf8f(_0x305536,_0x2d89e2){const _0xa80f1b=_0xa80f();return _0xbf8f=function(_0xbf8f31,_0x46ab49){_0xbf8f31=_0xbf8f31-0x144;let _0x3c6273=_0xa80f1b[_0xbf8f31];return _0x3c6273;},_0xbf8f(_0x305536,_0x2d89e2);}H=Ci([Se(0x0,_0x37b796),Se(0x1,_0x117037(_0x2db21b)),Se(0x2,_0x117037(_0x3fad41))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x368b59,_0x59d95f){const _0x10f487=_0x812807;let {radius:_0x1a8488,width:_0x3febba,height:_0x195c34}=_0x59d95f;_0x1a8488=_0x1a8488!=null?_0x1a8488:0x0,_0x3febba=_0x3febba!=null?_0x3febba:0x1e,_0x195c34=_0x195c34!=null?_0x195c34:0x1e;let _0x13069d=0x0,_0x43e90d=0x0,_0x22ca1a=0x0;_0x13069d=_0x43e90d=_0x22ca1a=Math[_0x10f487(0x305)](_0x1a8488,_0x3febba/0x2,_0x195c34/0x2),_0x368b59[_0x10f487(0x2d0)](),_0x368b59[_0x10f487(0x26d)](_0x13069d,0x0),_0x368b59[_0x10f487(0x2b8)](_0x3febba-_0x43e90d,0x0),_0x368b59[_0x10f487(0x220)](_0x3febba-_0x43e90d,_0x43e90d,_0x43e90d,Math['PI']*0x3/0x2,0x0,!0x1),_0x368b59['lineTo'](_0x3febba,_0x195c34-_0x22ca1a),_0x368b59['arc'](_0x3febba-_0x22ca1a,_0x195c34-_0x22ca1a,_0x22ca1a,0x0,Math['PI']/0x2,!0x1),_0x368b59[_0x10f487(0x2b8)](0x0,_0x195c34),_0x368b59[_0x10f487(0x2b8)](0x0,_0x13069d),_0x368b59['arc'](_0x13069d,_0x13069d,_0x13069d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x368b59['closePath'](),_0x59d95f[_0x10f487(0x231)]&&(_0x368b59[_0x10f487(0x219)](),_0x368b59[_0x10f487(0x318)]=_0x59d95f['fill'],_0x59d95f['fillRule']===_0x10f487(0x1bc)?_0x368b59[_0x10f487(0x231)](_0x10f487(0x1bc)):_0x368b59[_0x10f487(0x231)](),_0x368b59['restore']());}class he extends _0x3c6b0e{constructor(_0x1506de,_0x29a8c1){const _0x109419=_0x812807;super(_0x1506de,_0x29a8c1),_(this,_0x109419(0x1f1)),_(this,'text'),(this[_0x109419(0x1f1)]=_0x29a8c1==null?void 0x0:_0x29a8c1['color'],this[_0x109419(0x1a7)]=_0x29a8c1==null?void 0x0:_0x29a8c1['text']);}static[_0x812807(0x2b0)](_0x219fb1,_0x12e402){const _0x3754d9=_0x812807,{text:_0x566352,color:_0x1f5095}=_0x12e402;_0x219fb1['save'](),_0x219fb1[_0x3754d9(0x1a2)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4640bb=_0x219fb1[_0x3754d9(0x344)](_0x566352)[_0x3754d9(0x27a)],_0x5c8475=Math[_0x3754d9(0x305)](_0x4640bb+0x2*me,Qe);Oi(_0x219fb1,{'height':ee,'radius':0x4,'width':_0x5c8475,'fill':_0x1f5095}),_0x219fb1['fillStyle']=_0x3754d9(0x2c3);const _0x17f2da=me,_0x302595=ee-Ei,_0x193136=Qe-0x2*me;if(_0x4640bb>_0x193136){let _0x386387='',_0x2dd381=0x0;for(const _0x18253b of _0x566352){const _0x3f7a13=_0x219fb1['measureText'](_0x18253b)[_0x3754d9(0x27a)];if(_0x2dd381+_0x3f7a13<=_0x193136-_0x219fb1['measureText']('...')['width'])_0x386387+=_0x18253b,_0x2dd381+=_0x3f7a13;else{_0x386387+=_0x3754d9(0x2e6);break;}}_0x219fb1[_0x3754d9(0x18a)](_0x386387,_0x17f2da,_0x302595);}else _0x219fb1[_0x3754d9(0x18a)](_0x566352,_0x17f2da,_0x302595);_0x219fb1[_0x3754d9(0x178)]();}[_0x812807(0x15d)](_0x22a444){const _0x2067c3=_0x812807;he[_0x2067c3(0x2b0)](_0x22a444,this);}}const Ie='collab-text-anchor-',bi='collab-text-range-',Ti=_0x812807(0x18b),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x812807(0x28b);class qe{constructor(_0x574157,_0x2deaef,_0x4a4607,_0x4f0a3d){const _0x24f371=_0x812807;_(this,_0x24f371(0x19a),[]),_(this,_0x24f371(0x335),null),_(this,'_textBubble',null),_(this,_0x24f371(0x16c),null),_(this,_0x24f371(0x287),null),_(this,_0x24f371(0x190),null),(this['_cursor']=_0x574157,this['_scene']=_0x2deaef,this['_docSkeleton']=_0x4a4607,this['_document']=_0x4f0a3d,this[_0x24f371(0x1e6)]());}set[_0x812807(0x1ef)](_0x1adc70){const _0x3c71f8=_0x812807;_0x1adc70?(this[_0x3c71f8(0x16c)]&&this[_0x3c71f8(0x16c)][_0x3c71f8(0x2a5)](),this[_0x3c71f8(0x343)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x3c71f8(0x1cd)](),this[_0x3c71f8(0x343)]&&this[_0x3c71f8(0x343)]['hide']());}[_0x812807(0x274)](){const _0x8f4d96=_0x812807;for(const _0x15648d of this[_0x8f4d96(0x19a)])_0x15648d['dispose']();this[_0x8f4d96(0x343)]&&this['_textBubble'][_0x8f4d96(0x274)](),this[_0x8f4d96(0x16c)]&&this[_0x8f4d96(0x16c)]['dispose'](),this['_anchor']&&this[_0x8f4d96(0x335)]['dispose'](),this[_0x8f4d96(0x190)]&&this['_eventUnsubscribe']();}[_0x812807(0x1e6)](){const _0x1a7839=_0x812807;var _0x1a61ef;const {_docSkeleton:_0x28fa89,_document:_0x3424be}=this,{color:_0x16785c,name:_0xdfaae4,ranges:_0x3c6c6d}=this[_0x1a7839(0x24e)],_0x425838=_0x3424be[_0x1a7839(0x27f)](),{docsLeft:_0x2fd7bd,docsTop:_0x157a8e}=_0x425838,_0x381f10=new _0x46d772(_0x425838,_0x28fa89);for(const {startOffset:_0x138177,endOffset:_0x483e3a,rangeType:_0x29a0fc,segmentId:_0x50dc4e,segmentPage:_0x27f6fa,collapsed:_0x429aaf,isActive:_0x1509f7}of _0x3c6c6d){const _0x3b2b11=_0x28fa89[_0x1a7839(0x2b5)](_0x138177,!0x0,_0x50dc4e,_0x27f6fa);let _0x1f0941=_0x28fa89['findNodePositionByCharIndex'](_0x483e3a,!0x0,_0x50dc4e,_0x27f6fa);if(_0x1f0941==null&&(_0x1f0941=_0x28fa89[_0x1a7839(0x2b5)](_0x483e3a-0x1,!0x1,_0x50dc4e,_0x27f6fa)),_0x1509f7){const {contentBoxPointGroup:_0xaa7256}=_0x381f10['getRangePointData'](_0x1f0941,_0x1f0941);if(_0xaa7256[_0x1a7839(0x2c5)]===0x0)continue;this[_0x1a7839(0x183)](_0x16785c,_0xaa7256,_0x2fd7bd,_0x157a8e,_0xdfaae4),this[_0x1a7839(0x190)]=this[_0x1a7839(0x25c)]();}if(_0x3b2b11&&_0x1f0941){if(_0x29a0fc===_0x3ba2f3[_0x1a7839(0x2ed)]){const _0x572bfa=new _0x358332(_0x425838,_0x28fa89),{pointGroup:_0x236bdc}=(_0x1a61ef=_0x572bfa[_0x1a7839(0x259)](_0x3b2b11,_0x1f0941))!=null?_0x1a61ef:{};if(_0x236bdc==null||_0x236bdc['length']===0x0)continue;this['_drawRectRange'](_0x16785c,_0x236bdc,_0x2fd7bd,_0x157a8e);}else{if(!_0x429aaf){const {borderBoxPointGroup:_0x588d5e}=_0x381f10[_0x1a7839(0x259)](_0x3b2b11,_0x1f0941);if(_0x588d5e['length']===0x0)continue;this[_0x1a7839(0x273)](_0x16785c,_0x588d5e,_0x2fd7bd,_0x157a8e);}}}}}[_0x812807(0x183)](_0x329162,_0x2800f0,_0x4b10a7,_0x47724d,_0x5cabeb){const _0x140748=_0x812807,_0x3c4651=this['_getAnchorBounding'](_0x2800f0),{left:_0x55f37a,top:_0x493075,height:_0x5e9da8}=_0x3c4651,_0x17352f=this[_0x140748(0x2db)](),_0x3c96a7=Di/_0x17352f,_0x5c82b7=new _0x965b1b(Ie+_0x81a76c['generateRandomId'](X),{'left':_0x55f37a+_0x4b10a7-_0x3c96a7,'top':_0x493075+_0x47724d,'height':_0x5e9da8,'width':Ri,'fill':_0x329162||_0x385b84(_0x2a4caf[_0x140748(0x226)],0x0),'strokeWidth':_0x3c96a7,'stroke':Ni,'evented':!0x0});this[_0x140748(0x335)]=_0x5c82b7,this['_scene'][_0x140748(0x28a)](_0x5c82b7,_0x428670);const _0x560d4c=new _0x965b1b(Ie+_0x81a76c['generateRandomId'](X),{'left':_0x55f37a+_0x4b10a7-_0x3c96a7,'top':_0x493075+_0x47724d-ge/0x2,'height':ge,'width':ge,'fill':_0x329162||_0x385b84(_0x2a4caf[_0x140748(0x226)],0x0),'strokeWidth':0x0,'stroke':_0x329162||_0x385b84(_0x2a4caf['black'],0x0),'evented':!0x1});this[_0x140748(0x16c)]=_0x560d4c,this[_0x140748(0x1ee)]['addObject'](_0x560d4c,_0x428670);const _0xebf137=new he(Ie+_0x81a76c[_0x140748(0x27e)](X),{'left':_0x55f37a+_0x4b10a7-_0x3c96a7,'top':_0x493075+_0x47724d-ee,'text':_0x5cabeb,'color':_0x329162});this[_0x140748(0x343)]=_0xebf137,this[_0x140748(0x1ee)][_0x140748(0x28a)](_0xebf137,_0x428670),this[_0x140748(0x1ef)]=!0x1;}['_handleHover'](){const _0x28facb=_0x812807,_0x4cd5df=this[_0x28facb(0x335)][_0x28facb(0x2f0)][_0x28facb(0x311)](()=>{this['_hover']=!0x0;}),_0x14c2fa=this[_0x28facb(0x335)][_0x28facb(0x2c0)][_0x28facb(0x311)](()=>{const _0x1fe237=_0x28facb;this[_0x1fe237(0x287)]&&clearTimeout(this[_0x1fe237(0x287)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x20129e=_0x28facb;_0x4cd5df[_0x20129e(0x1cb)](),_0x14c2fa['unsubscribe']();};}[_0x812807(0x273)](_0x5728f2,_0x12dfdd,_0x307360,_0x49527d){const _0x4d6c58=_0x812807,_0x116092=new _0x53fe25(_0x5728f2)[_0x4d6c58(0x1c4)](0.2)['toRgbString'](),_0x8a5d09=new _0x33ed9d(bi+_0x81a76c[_0x4d6c58(0x27e)](X),{'pointsGroup':_0x12dfdd,'fill':_0x116092||_0x385b84(_0x2a4caf[_0x4d6c58(0x226)],0.2),'left':_0x307360,'top':_0x49527d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4d6c58(0x19a)]['push'](_0x8a5d09),this['_scene']['addObject'](_0x8a5d09,_0x428670);}[_0x812807(0x303)](_0x11db42,_0x4e251a,_0x7ff76e,_0x11553b){const _0x654c76=_0x812807,_0x5201fc=new _0x53fe25(_0x11db42)['setAlpha'](0.2)[_0x654c76(0x307)](),_0x3e1ddb=new _0x33ed9d(Ti+_0x81a76c[_0x654c76(0x27e)](X),{'pointsGroup':_0x4e251a,'fill':_0x5201fc||_0x385b84(_0x2a4caf[_0x654c76(0x226)],0.2),'left':_0x7ff76e,'top':_0x11553b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x654c76(0x19a)][_0x654c76(0x2ee)](_0x3e1ddb),this[_0x654c76(0x1ee)][_0x654c76(0x28a)](_0x3e1ddb,_0x428670);}[_0x812807(0x19b)](_0x30a917){const _0x3e6c66=_0x30a917[0x0],_0x5100a6=_0x3e6c66[0x0],_0x3ba1a4=_0x3e6c66[0x2],{x:_0x209268,y:_0x50dc75}=_0x5100a6,{x:_0x3dd45f,y:_0x55f6c8}=_0x3ba1a4;return{'left':_0x209268,'top':_0x50dc75,'width':_0x3dd45f-_0x209268,'height':_0x55f6c8-_0x50dc75};}['_getScale'](){const {scaleX:_0x5311b9,scaleY:_0x2932b6}=this['_scene']['getAncestorScale']();return Math['max'](_0x5311b9,_0x2932b6);}}var Ui=Object[_0x812807(0x1c3)],Mi=(_0x38070e,_0x113d7b,_0xf53af9,_0x41a7f8)=>{const _0xc2885f=_0x812807;for(var _0x546834=_0x41a7f8>0x1?void 0x0:_0x41a7f8?Ui(_0x113d7b,_0xf53af9):_0x113d7b,_0x3cd24e=_0x38070e[_0xc2885f(0x2c5)]-0x1,_0x524bd7;_0x3cd24e>=0x0;_0x3cd24e--)(_0x524bd7=_0x38070e[_0x3cd24e])&&(_0x546834=_0x524bd7(_0x546834)||_0x546834);return _0x546834;},Z=(_0x1b37ac,_0x50208e)=>(_0x4afb39,_0x48ff4b)=>_0x50208e(_0x4afb39,_0x48ff4b,_0x1b37ac);let we=class extends _0x3cd66b{constructor(_0x2b2400,_0x3fd53c,_0x4b8193,_0x3d304c,_0x1267d0){const _0x57fce8=_0x812807;super(),_(this,_0x57fce8(0x18f),[]),_(this,_0x57fce8(0x2dd),[]),(this[_0x57fce8(0x14a)]=_0x2b2400,this[_0x57fce8(0x291)]=_0x3fd53c,this[_0x57fce8(0x167)]=_0x4b8193,this[_0x57fce8(0x275)]=_0x3d304c,this[_0x57fce8(0x2d6)]=_0x1267d0,this[_0x57fce8(0x149)]());}['_init'](){const _0x4f6c70=_0x812807,_0x2491bf=this[_0x4f6c70(0x14a)]['unitId'],_0x5544a9=this[_0x4f6c70(0x291)];this['disposeWithMe'](_0x2a66f0([this['_collabCursorController'][_0x4f6c70(0x1dc)](_0x2491bf),this[_0x4f6c70(0x2d6)][_0x4f6c70(0x340)]])[_0x4f6c70(0x154)](_0x51ff5e(([_0x3ec444,_0x1786e4])=>({'skeleton':_0x5544a9[_0x4f6c70(0x2fb)](),'cursors':[..._0x3ec444[_0x4f6c70(0x182)]()][_0x4f6c70(0x33a)](_0x65fb3e=>({..._0x65fb3e,'color':this[_0x4f6c70(0x2d6)][_0x4f6c70(0x260)](_0x65fb3e[_0x4f6c70(0x1f1)])}))})))[_0x4f6c70(0x247)](_0x5a4238=>{if(this['_removeCollabCursors'](),_0x5a4238){const {skeleton:_0x317cb6,cursors:_0xdc81f7}=_0x5a4238;this['_updateCollabCursors'](_0x317cb6,_0xdc81f7);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x812807(0x27b)](_0x349808,_0x36aee8){const _0x3bc472=_0x812807,{scene:_0x515f2b,mainComponent:_0xa8694f}=this[_0x3bc472(0x14a)],_0x26df2a=_0x36aee8['map'](_0x3bfeaf=>new qe(_0x3bfeaf,_0x515f2b,_0x349808,_0xa8694f));this['_cursorShapes']=_0x26df2a,this[_0x3bc472(0x2dd)]=_0x36aee8;}[_0x812807(0x261)](){const _0x3bdb41=_0x812807;this[_0x3bdb41(0x2a3)]();const {scene:_0x34c293,mainComponent:_0x368e96}=this['_context'],_0x457167=this[_0x3bdb41(0x291)]['getSkeleton'](),_0x5d982a=this[_0x3bdb41(0x2dd)][_0x3bdb41(0x325)](_0x589ac2=>new qe(_0x589ac2,_0x34c293,_0x457167,_0x368e96));this[_0x3bdb41(0x18f)]=_0x5d982a;}[_0x812807(0x2a3)](){const _0x3288ec=_0x812807;this[_0x3288ec(0x18f)][_0x3288ec(0x200)](_0x55aff3=>_0x55aff3[_0x3288ec(0x274)]()),this[_0x3288ec(0x18f)]=[];}[_0x812807(0x243)](){const _0x31ce90=_0x812807,_0x1e4544=[_0x5d3a47['id']];this[_0x31ce90(0x345)](this[_0x31ce90(0x275)]['onCommandExecuted'](_0x2d0985=>{const _0x16762d=_0x31ce90;_0x1e4544[_0x16762d(0x2bc)](_0x2d0985['id'])&&_0x2d0985['params'][_0x16762d(0x216)]===this[_0x16762d(0x14a)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x812807(0x2a7)](){const _0x23ec47=_0x812807;this[_0x23ec47(0x345)](_0x2d6508(this[_0x23ec47(0x14a)][_0x23ec47(0x175)]['onTransformChange$'])[_0x23ec47(0x154)](_0x40b7f4(_0x285f6e=>_0x285f6e[_0x23ec47(0x170)]===_0x5ba719[_0x23ec47(0x32c)]),_0x5245ab(0x10))[_0x23ec47(0x247)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x117037(_0x30eed4)),Z(0x2,_0x117037(H)),Z(0x3,_0x400b6a),Z(0x4,_0x117037(_0x31dffb))],we);const wi=0x1,Pi=1.5;class Li extends _0x3c6b0e{constructor(_0x145a70,_0x565c56){const _0x6925=_0x812807;super(_0x145a70,_0x565c56),_(this,_0x6925(0x172)),_(this,_0x6925(0x22b),!0x1),_(this,_0x6925(0x164)),_(this,'_name',''),_(this,_0x6925(0x146),_0x6925(0x23e)),_(this,'_backgroundColor'),(_0x565c56&&this['setShapeProps'](_0x565c56),this['onPointerEnter$'][_0x6925(0x311)](()=>this[_0x6925(0x1da)]({'hovered':!0x0})),this[_0x6925(0x2c0)][_0x6925(0x311)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x812807(0x1da)](_0x24ac4d){const _0x1c0ddb=_0x812807;var _0x4fc087,_0x6f5917,_0x3097f4,_0x219522,_0x2e7d05,_0x4b46ba;this['_color']=(_0x4fc087=_0x24ac4d['color'])!=null?_0x4fc087:this[_0x1c0ddb(0x172)],this[_0x1c0ddb(0x22b)]=(_0x6f5917=_0x24ac4d[_0x1c0ddb(0x199)])!=null?_0x6f5917:this[_0x1c0ddb(0x22b)],this[_0x1c0ddb(0x164)]=(_0x3097f4=_0x24ac4d[_0x1c0ddb(0x1ac)])!=null?_0x3097f4:this['_range'],this[_0x1c0ddb(0x29b)]=(_0x219522=_0x24ac4d['name'])!=null?_0x219522:this[_0x1c0ddb(0x29b)],this[_0x1c0ddb(0x146)]=(_0x2e7d05=_0x24ac4d[_0x1c0ddb(0x347)])!=null?_0x2e7d05:this[_0x1c0ddb(0x146)],this[_0x1c0ddb(0x29e)]=(_0x4b46ba=_0x24ac4d[_0x1c0ddb(0x265)])!=null?_0x4b46ba:this[_0x1c0ddb(0x29e)],this[_0x1c0ddb(0x253)]({'width':_0x24ac4d[_0x1c0ddb(0x27a)],'height':_0x24ac4d['height']});}[_0x812807(0x20a)](_0x3cc433){const _0x842c4b=_0x812807,{row:_0x43a14a,column:_0x82ccfb}=_0x3cc433;if(_0x43a14a>=this[_0x842c4b(0x164)][_0x842c4b(0x1d7)]&&_0x43a14a<=this[_0x842c4b(0x164)][_0x842c4b(0x23c)]&&_0x82ccfb>=this['_range']['startColumn']&&_0x82ccfb<=this[_0x842c4b(0x164)][_0x842c4b(0x1a5)]){this[_0x842c4b(0x1da)]({'hovered':!0x0});return;}this[_0x842c4b(0x1da)]({'hovered':!0x1});}[_0x812807(0x15f)](_0x42ca09){return!0x1;}[_0x812807(0x15d)](_0x42c7de){const _0x41fda8=_0x812807;_0x965b1b['drawWith'](_0x42c7de,{'width':this[_0x41fda8(0x27a)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x41fda8(0x172)],'evented':!0x1,'fill':this[_0x41fda8(0x29e)]}),this['_hovered']&&(_0x42c7de['save'](),_0x42c7de[_0x41fda8(0x25d)](0x1,0x0,0x0,0x1,this[_0x41fda8(0x27a)],this[_0x41fda8(0x146)]==='bottom'?0x0:-0x14),he[_0x41fda8(0x2b0)](_0x42c7de,{'text':this['_name'],'color':this[_0x41fda8(0x172)]}),_0x42c7de[_0x41fda8(0x178)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x42b905,_0x44e02a,_0x4cbd3c,_0x36d2a5)=>{const _0x15d9a1=_0x812807;for(var _0x716ec1=_0x36d2a5>0x1?void 0x0:_0x36d2a5?Ai(_0x44e02a,_0x4cbd3c):_0x44e02a,_0x245878=_0x42b905[_0x15d9a1(0x2c5)]-0x1,_0x879fc3;_0x245878>=0x0;_0x245878--)(_0x879fc3=_0x42b905[_0x245878])&&(_0x716ec1=_0x879fc3(_0x716ec1)||_0x716ec1);return _0x716ec1;},ve=(_0x3f3e62,_0x276090)=>(_0x192828,_0x3804c3)=>_0x276090(_0x192828,_0x3804c3,_0x3f3e62);const $i=0x1389;let Pe=class extends _0x3cd66b{constructor(_0x1de822,_0x2d0f6d,_0x313693,_0x284b76){const _0x431099=_0x812807;super(),_(this,_0x431099(0x2dd),new Set()),_(this,_0x431099(0x1c9),null),(this[_0x431099(0x14a)]=_0x1de822,this[_0x431099(0x23d)]=_0x2d0f6d,this[_0x431099(0x167)]=_0x313693,this[_0x431099(0x2d6)]=_0x284b76,this[_0x431099(0x149)]());}[_0x812807(0x149)](){const _0x319aa2=_0x812807;this['_sheetSkeletonManagerService'][_0x319aa2(0x1d0)][_0x319aa2(0x154)](_0x129ffa(this[_0x319aa2(0x2ba)]),_0x50232e(_0xfb124d=>{const _0x46e49c=_0x319aa2;if(_0xfb124d){const _0x1e5765=_0xfb124d['sheetId'];return _0x2a66f0(this[_0x46e49c(0x167)][_0x46e49c(0x1dc)](this['_context'][_0x46e49c(0x216)]),this['_themeService'][_0x46e49c(0x340)])[_0x46e49c(0x154)](_0x51ff5e(([_0x303797,_0x925048])=>{const _0x263828=_0x46e49c,_0x23e421=new Map();return _0x303797[_0x263828(0x200)]((_0x578885,_0x41a97e)=>{const _0x509e84=_0x263828;if(_0x578885[_0x509e84(0x293)]===_0x1e5765){const _0x389c1f={..._0x578885};_0x389c1f[_0x509e84(0x1f1)]=this[_0x509e84(0x2d6)][_0x509e84(0x260)](_0x578885[_0x509e84(0x1f1)]),_0x23e421[_0x509e84(0x1ba)](_0x41a97e,_0x389c1f);}}),{'skeleton':_0xfb124d,'cursors':_0x23e421};}));}return _0x45d314({'skeleton':null,'cursors':new Map()});}))[_0x319aa2(0x247)](({skeleton:_0x9dc91e,cursors:_0x2dfd7e})=>{const _0xbd27a7=_0x319aa2;this['_removeCollabCursors'](),_0x9dc91e&&this[_0xbd27a7(0x27b)](_0x9dc91e,_0x2dfd7e);}),this[_0x319aa2(0x23d)]['currentSkeleton$'][_0x319aa2(0x247)](_0x5352ad=>{const _0x5853a4=_0x319aa2;if(_0x5352ad==null)return;const {skeleton:_0x5af9ba}=_0x5352ad,{scene:_0xa04a70}=this[_0x5853a4(0x14a)];_0xa04a70[_0x5853a4(0x249)][_0x5853a4(0x311)](_0x2b2c18(_0x13339b=>{const _0x2db036=_0x5853a4;var _0x23a13b,_0x246e56;const {offsetX:_0x2c887b,offsetY:_0x2efc30}=_0x13339b,{x:_0x2fba0e,y:_0x25b0f1}=_0xa04a70[_0x2db036(0x33d)](_0x35b2f7['FromArray']([_0x2c887b,_0x2efc30])),{scaleX:_0x54718c,scaleY:_0x5e67d7}=_0xa04a70[_0x2db036(0x250)](),_0x52d17e=_0xa04a70[_0x2db036(0x2b2)](_0x431b0b[_0x2db036(0x211)]),_0x5ae1e1=_0xa04a70['getVpScrollXYInfoByPosToVp'](_0x35b2f7[_0x2db036(0x205)]([_0x2fba0e,_0x25b0f1]),_0x52d17e),_0x3ae025=_0x5af9ba[_0x2db036(0x1e8)](_0x2c887b,_0x2efc30,_0x54718c,_0x5e67d7,_0x5ae1e1);((_0x23a13b=this['_lastPointer'])==null?void 0x0:_0x23a13b[_0x2db036(0x2bb)])===_0x3ae025['column']&&((_0x246e56=this[_0x2db036(0x1c9)])==null?void 0x0:_0x246e56[_0x2db036(0x1f6)])===_0x3ae025[_0x2db036(0x1f6)]||this[_0x2db036(0x2dd)][_0x2db036(0x200)](_0x44503f=>{const _0x2eca28=_0x2db036;_0x44503f[_0x2eca28(0x20a)](_0x3ae025);});},0x64));});}[_0x812807(0x27b)](_0x450b04,_0x578088){const _0x51dda1=_0x812807;var _0x2e84a7;const _0x100d8f=(_0x2e84a7=this[_0x51dda1(0x23d)][_0x51dda1(0x21e)]())==null?void 0x0:_0x2e84a7[_0x51dda1(0x1fa)];if(!_0x100d8f)return;const _0x2c3f37=this[_0x51dda1(0x23b)]();if(!_0x2c3f37)return;this[_0x51dda1(0x2dd)][_0x51dda1(0x200)](_0x178929=>{_0x178929['makeDirty']();});const {scene:_0x4bad18}=_0x2c3f37,_0x5f49b9=xi(Array['from'](_0x578088['values']()))['map'](_0x2de494=>{const _0x4cbabc=_0x51dda1,{color:_0x57133e,range:_0x1f639a,name:_0x3eaa42,selection:_0x229c68,sheetID:_0x5a472a}=_0x2de494,{startColumn:_0x3a4c62,startRow:_0x28932f,endColumn:_0x23e7ee,endRow:_0x6e1787}=_0x1f639a,_0x32658a=_0x4f66cb(_0x28932f,_0x3a4c62,_0x4bad18,_0x100d8f),_0x1a08b3=_0x4f66cb(_0x6e1787,_0x23e7ee,_0x4bad18,_0x100d8f),{columnHeaderHeightAndMarginTop:_0x26b47a}=_0x100d8f,{startX:_0x290249,startY:_0x527b95}=_0x32658a,{endX:_0x216921,endY:_0x2ab830}=_0x1a08b3,_0x5cf9a9=_0x216921-_0x290249,_0x87d5ac=_0x2ab830-_0x527b95,_0x5da29e={'labelPosition':_0x527b95-_0x26b47a>=ee?_0x4cbabc(0x23e):'bottom','sheetID':_0x5a472a,'range':_0x1f639a,'color':_0x57133e,'name':_0x3eaa42,'selection':_0x229c68,'left':_0x290249,'top':_0x527b95,'width':_0x5cf9a9,'height':_0x87d5ac,'evented':!0x1,'zIndex':$i};return new Li(_0x3eaa42,_0x5da29e);});_0x4bad18['addObjects'](_0x5f49b9,wi),this[_0x51dda1(0x2dd)]=new Set(_0x5f49b9);}['_removeCollabCursors'](){const _0x39ab0e=_0x812807;var _0x341a96;(_0x341a96=this['_cursors'])==null||_0x341a96[_0x39ab0e(0x200)](_0xd29a26=>_0xd29a26['dispose']());}[_0x812807(0x23b)](){const _0x20cc5e=_0x812807;return _0x5da616(this[_0x20cc5e(0x14a)]['unit'],this[_0x20cc5e(0x14a)]);}};Pe=yi([ve(0x1,_0x117037(_0x1bfe3e)),ve(0x2,_0x117037(H)),ve(0x3,_0x117037(_0x31dffb))],Pe);function xi(_0x264f2e){const _0x161623=_0x812807,_0x3db156=new Map();return _0x264f2e[_0x161623(0x200)](_0x8894cb=>{const _0x52e7f6=_0x161623;if(_0x3db156[_0x52e7f6(0x237)](_0x8894cb['selection'])){const _0x4bf120=_0x3db156[_0x52e7f6(0x224)](_0x8894cb[_0x52e7f6(0x1fd)]);_0x4bf120['name']+=',\x20'+_0x8894cb[_0x52e7f6(0x209)];}else _0x3db156[_0x52e7f6(0x1ba)](_0x8894cb[_0x52e7f6(0x1fd)],_0x8894cb);}),Array[_0x161623(0x1d1)](_0x3db156[_0x161623(0x182)]());}var v=function(){const _0x1e9a6f=_0x812807;return v=Object['assign']||function(_0x2e50c2){const _0xc1e2e9=_0xbf8f;for(var _0x1c1384,_0x403d17=0x1,_0x5ae054=arguments[_0xc1e2e9(0x2c5)];_0x403d17<_0x5ae054;_0x403d17++){_0x1c1384=arguments[_0x403d17];for(var _0x2cc566 in _0x1c1384)Object[_0xc1e2e9(0x20f)]['hasOwnProperty'][_0xc1e2e9(0x1ad)](_0x1c1384,_0x2cc566)&&(_0x2e50c2[_0x2cc566]=_0x1c1384[_0x2cc566]);}return _0x2e50c2;},v[_0x1e9a6f(0x17d)](this,arguments);},Bi=function(_0x5a35bd,_0x2ed012){const _0x20d571=_0x812807;var _0x4c74ee={};for(var _0x2f99b3 in _0x5a35bd)Object[_0x20d571(0x20f)][_0x20d571(0x245)][_0x20d571(0x1ad)](_0x5a35bd,_0x2f99b3)&&_0x2ed012['indexOf'](_0x2f99b3)<0x0&&(_0x4c74ee[_0x2f99b3]=_0x5a35bd[_0x2f99b3]);if(_0x5a35bd!=null&&typeof Object[_0x20d571(0x176)]==_0x20d571(0x280)){for(var _0x463e50=0x0,_0x2f99b3=Object['getOwnPropertySymbols'](_0x5a35bd);_0x463e50<_0x2f99b3['length'];_0x463e50++)_0x2ed012[_0x20d571(0x24d)](_0x2f99b3[_0x463e50])<0x0&&Object[_0x20d571(0x20f)][_0x20d571(0x1f0)][_0x20d571(0x1ad)](_0x5a35bd,_0x2f99b3[_0x463e50])&&(_0x4c74ee[_0x2f99b3[_0x463e50]]=_0x5a35bd[_0x2f99b3[_0x463e50]]);}return _0x4c74ee;},je=_0xea68ee(function(_0x52ad0c,_0x4db169){const _0xd667ac=_0x812807;var _0x5cf068=_0x52ad0c[_0xd667ac(0x1ca)],_0x2eca8e=_0x52ad0c['id'],_0x56968b=_0x52ad0c[_0xd667ac(0x2ae)],_0x3a4557=_0x52ad0c[_0xd667ac(0x29f)],_0x5b2c68=Bi(_0x52ad0c,['icon','id','className','extend']),_0x2196dc=_0xd667ac(0x295)['concat'](_0x2eca8e,'\x20')[_0xd667ac(0x241)](_0x56968b||'')[_0xd667ac(0x1b1)](),_0x3bbdeb=_0x4d52cd('_'[_0xd667ac(0x241)](ji()));return Rt(_0x5cf068,''[_0xd667ac(0x241)](_0x2eca8e),{'defIds':_0x5cf068['defIds'],'idSuffix':_0x3bbdeb[_0xd667ac(0x26b)]},v({'ref':_0x4db169,'className':_0x2196dc},_0x5b2c68),_0x3a4557);});function Rt(_0x508024,_0x7f8c07,_0xdb420,_0x52e630,_0x3d8481){const _0x2d01e7=_0x812807;return _0x19048c(_0x508024['tag'],v(v({'key':_0x7f8c07},ki(_0x508024,_0xdb420,_0x3d8481)),_0x52e630),(Hi(_0x508024,_0xdb420)[_0x2d01e7(0x2e1)]||[])[_0x2d01e7(0x325)](function(_0x5a7198,_0x4fed30){const _0x13e360=_0x2d01e7;return Rt(_0x5a7198,''[_0x13e360(0x241)](_0x7f8c07,'-')[_0x13e360(0x241)](_0x508024['tag'],'-')[_0x13e360(0x241)](_0x4fed30),_0xdb420,void 0x0,_0x3d8481);}));}function ki(_0x46980a,_0x5a4c61,_0x3924e3){const _0x8229fe=_0x812807;var _0x1134e0=v({},_0x46980a[_0x8229fe(0x1b7)]);_0x3924e3!=null&&_0x3924e3[_0x8229fe(0x326)]&&_0x1134e0[_0x8229fe(0x231)]===_0x8229fe(0x326)&&(_0x1134e0[_0x8229fe(0x231)]=_0x3924e3['colorChannel1']),_0x46980a['tag']===_0x8229fe(0x1b8)&&_0x1134e0['id']&&(_0x1134e0['id']=_0x1134e0['id']+_0x5a4c61[_0x8229fe(0x196)]),Object[_0x8229fe(0x277)](_0x1134e0)['forEach'](function(_0x2584b7){const _0x569532=_0x8229fe;var _0x5b6015=_0x2584b7[0x0],_0x422397=_0x2584b7[0x1];_0x5b6015===_0x569532(0x1b8)&&typeof _0x422397==_0x569532(0x191)&&(_0x1134e0[_0x5b6015]=_0x422397[_0x569532(0x297)](/url\(#(.*)\)/,_0x569532(0x225)['concat'](_0x5a4c61[_0x569532(0x196)],')')));});var _0x25b3d1=_0x5a4c61[_0x8229fe(0x155)];return!_0x25b3d1||_0x25b3d1[_0x8229fe(0x2c5)]===0x0||(_0x46980a['tag']==='use'&&_0x1134e0[_0x8229fe(0x320)]&&(_0x1134e0[_0x8229fe(0x320)]=_0x1134e0[_0x8229fe(0x320)]+_0x5a4c61[_0x8229fe(0x196)]),Object[_0x8229fe(0x277)](_0x1134e0)[_0x8229fe(0x200)](function(_0x4dab82){const _0x23cc8a=_0x8229fe;var _0x4db1d2=_0x4dab82[0x0],_0x3ba4cd=_0x4dab82[0x1];typeof _0x3ba4cd==_0x23cc8a(0x191)&&(_0x1134e0[_0x4db1d2]=_0x3ba4cd[_0x23cc8a(0x297)](/url\(#(.*)\)/,_0x23cc8a(0x225)[_0x23cc8a(0x241)](_0x5a4c61[_0x23cc8a(0x196)],')')));})),_0x1134e0;}function Hi(_0x524018,_0x3c6faa){const _0x313899=_0x812807;var _0x23414a,_0x2d25d4=_0x3c6faa[_0x313899(0x155)];return!_0x2d25d4||_0x2d25d4[_0x313899(0x2c5)]===0x0?_0x524018:_0x524018[_0x313899(0x327)]===_0x313899(0x1f3)&&(!((_0x23414a=_0x524018['children'])===null||_0x23414a===void 0x0)&&_0x23414a[_0x313899(0x2c5)])?v(v({},_0x524018),{'children':_0x524018[_0x313899(0x2e1)]['map'](function(_0xb0b3eb){const _0x4e4a6d=_0x313899;return typeof _0xb0b3eb[_0x4e4a6d(0x1b7)]['id']==_0x4e4a6d(0x191)&&_0x2d25d4&&_0x2d25d4[_0x4e4a6d(0x2bc)](_0xb0b3eb['attrs']['id'])?v(v({},_0xb0b3eb),{'attrs':v(v({},_0xb0b3eb[_0x4e4a6d(0x1b7)]),{'id':_0xb0b3eb['attrs']['id']+_0x3c6faa[_0x4e4a6d(0x196)]})}):_0xb0b3eb;})}):_0x524018;}function ji(){const _0x9e8923=_0x812807;return Math[_0x9e8923(0x1f4)]()[_0x9e8923(0x2dc)](0x24)[_0x9e8923(0x2e4)](0x2,0x8);}je[_0x812807(0x1bf)]='UniverIcon';var Yi={'tag':_0x812807(0x174),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x812807(0x323),'viewBox':'0\x200\x2016\x2016','width':_0x812807(0x1c1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x812807(0x2c2)},'children':[{'tag':_0x812807(0x1ec),'attrs':{'stroke':_0x812807(0x298),'d':_0x812807(0x203),'strokeLinecap':'round','strokeLinejoin':_0x812807(0x1cc),'strokeWidth':1.2}}]},{'tag':_0x812807(0x1f3),'attrs':{},'children':[{'tag':_0x812807(0x252),'attrs':{'id':_0x812807(0x2c8)},'children':[{'tag':'path','attrs':{'fill':_0x812807(0x1a9),'d':_0x812807(0x258)}}]}]}],'defIds':[_0x812807(0x2c8)]},Dt=_0xea68ee(function(_0x1caf5c,_0x5317b1){const _0x45dd3f=_0x812807;return _0x19048c(je,Object[_0x45dd3f(0x329)]({},_0x1caf5c,{'id':_0x45dd3f(0x230),'ref':_0x5317b1,'icon':Yi}));});Dt['displayName']=_0x812807(0x2b1);var Fi={'tag':_0x812807(0x174),'attrs':{'xmlns':_0x812807(0x319),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x812807(0x1c1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x812807(0x2ad)},'children':[{'tag':_0x812807(0x1ec),'attrs':{'stroke':_0x812807(0x298),'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':_0x812807(0x1cc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x812807(0x252),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x812807(0x258),'transform':_0x812807(0x173)}}]}]}],'defIds':[_0x812807(0x1d2)]},Nt=_0xea68ee(function(_0x2df5b8,_0x310aab){const _0x145415=_0x812807;return _0x19048c(je,Object[_0x145415(0x329)]({},_0x2df5b8,{'id':_0x145415(0x238),'ref':_0x310aab,'icon':Fi}));});Nt['displayName']=_0x812807(0x2ef);function Wi(_0x1fc40f){const _0x16d2f5=_0x812807;switch(_0x1fc40f){case _0x3d349a['OFFLINE']:return _0x16d2f5(0x186);case _0x3d349a[_0x16d2f5(0x22e)]:return _0x16d2f5(0x2d1);case _0x3d349a[_0x16d2f5(0x2cb)]:return _0x16d2f5(0x16f);case _0x3d349a['NOT_COLLAB']:return _0x16d2f5(0x33c);case _0x3d349a[_0x16d2f5(0x2fe)]:case _0x3d349a['AWAITING_WITH_PENDING']:return _0x16d2f5(0x1ae);case _0x3d349a['SYNCED']:case _0x3d349a['PENDING']:return _0x16d2f5(0x279);}}function Vi(_0x1a3a6b){const _0x22c826=_0x812807,{status$:_0x5d91ee}=_0x1a3a6b,_0x4f0d8b=_0x1125a7(_0x5d91ee,_0x3d349a[_0x22c826(0x282)]),_0x5937fc=_0xaad9cd(_0x4884e0),_0x4d956b=_0xaad9cd(_0x3fad41),_0x1cef2d=_0x4f0d8b!==_0x3d349a[_0x22c826(0x207)],_0x19cba0=_0x5937fc['t'](Wi(_0x4f0d8b)),_0x31f676=_0x1cef2d?_0x12b0d9(Nt,{}):_0x12b0d9(Dt,{}),_0x21d6c3=_0x1820be(()=>{const _0x57c7cc=_0x22c826;_0x1cef2d||_0x4d956b[_0x57c7cc(0x2f4)]();},[_0x1cef2d,_0x4d956b]);function _0x5e85a7(){const _0x45de21=_0x22c826;return _0x2b2c04(_0x45de21(0x2c1),{'className':_0x45de21(0x2a1),'onClick':_0x21d6c3,'children':[_0x12b0d9(_0x45de21(0x2c1),{'className':_0x133a3d('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x1cef2d,'univer-text-red-500':!_0x1cef2d}),'children':_0x31f676}),_0x12b0d9(_0x45de21(0x2c1),{'className':_0x45de21(0x1f8),'children':_0x19cba0})]});}return _0x1cef2d?_0x5e85a7():_0x12b0d9(_0x4470aa,{'title':_0x5937fc['t'](_0x22c826(0x333)),'children':_0x5e85a7()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0xc9bd36,_0xd83f8c,_0x109919,_0x31ea14)=>{const _0x46b78f=_0x812807;for(var _0x598872=_0x31ea14>0x1?void 0x0:_0x31ea14?Xi(_0xd83f8c,_0x109919):_0xd83f8c,_0x422544=_0xc9bd36[_0x46b78f(0x2c5)]-0x1,_0x3f6cb9;_0x422544>=0x0;_0x422544--)(_0x3f6cb9=_0xc9bd36[_0x422544])&&(_0x598872=_0x3f6cb9(_0x598872)||_0x598872);return _0x598872;},Q=(_0x321fb0,_0x2b5928)=>(_0x4ddb89,_0x34c159)=>_0x2b5928(_0x4ddb89,_0x34c159,_0x321fb0);let te=class extends _0x4946a4{constructor(_0x3c40c,_0x754cba,_0x2e96fe,_0x3bb253){const _0x106a5a=_0x812807;super(),_(this,_0x106a5a(0x1aa),new _0x1ab881(_0x3d349a['NOT_COLLAB'])),(this[_0x106a5a(0x168)]=_0x3c40c,this[_0x106a5a(0x269)]=_0x754cba,this['_collaborationController']=_0x2e96fe,this[_0x106a5a(0x2d3)]=_0x3bb253,this[_0x106a5a(0x159)](),this['_initStatusListener']());}[_0x812807(0x289)](){const _0x34d1be=_0x812807;this['disposeWithMe'](this[_0x34d1be(0x168)][_0x34d1be(0x24a)][_0x34d1be(0x154)](_0x573555(()=>{const _0x4c3dd6=_0x34d1be,_0x47af21=this['_univerInstanceService']['getFocusedUnit']();return _0x47af21?this['_collaborationController'][_0x4c3dd6(0x147)](_0x47af21[_0x4c3dd6(0x1ce)]()):_0x45d314(null);}),_0x573555(_0x2e99a1=>_0x2e99a1?_0x2e99a1[_0x34d1be(0x1d6)]:_0x45d314(_0x3d349a['NOT_COLLAB'])))[_0x34d1be(0x247)](_0x43cddf=>{const _0x38323b=_0x34d1be;this[_0x38323b(0x1aa)][_0x38323b(0x25b)](_0x43cddf);}));}[_0x812807(0x159)](){const _0x7e8f00=_0x812807;this[_0x7e8f00(0x345)](this[_0x7e8f00(0x2d3)]['registerComponent'](_0x5527b0[_0x7e8f00(0x294)],()=>_0x2661a0(Ki({'status$':this['_status$'][_0x7e8f00(0x20b)]()}),this[_0x7e8f00(0x269)])));}};te=Gi([Q(0x0,_0x37b796),Q(0x1,_0x117037(_0x2db21b)),Q(0x2,_0x117037(_0x635176)),Q(0x3,_0x42bad7)],te);function Ki(_0x1ea9e9){const {status$:_0x1a1376}=_0x1ea9e9;return function(){return _0x12b0d9(Vi,{'status$':_0x1a1376});};}var zi=Object[_0x812807(0x1c3)],Ji=(_0x25ffff,_0xba50aa,_0x37bcc5,_0x4702bd)=>{const _0x6c2572=_0x812807;for(var _0xe9b2c8=_0x4702bd>0x1?void 0x0:_0x4702bd?zi(_0xba50aa,_0x37bcc5):_0xba50aa,_0x1e5fce=_0x25ffff[_0x6c2572(0x2c5)]-0x1,_0x13dedf;_0x1e5fce>=0x0;_0x1e5fce--)(_0x13dedf=_0x25ffff[_0x1e5fce])&&(_0xe9b2c8=_0x13dedf(_0xe9b2c8)||_0xe9b2c8);return _0xe9b2c8;},B=(_0x379d5a,_0x427cbb)=>(_0x230b28,_0x574d9e)=>_0x427cbb(_0x230b28,_0x574d9e,_0x379d5a);let se=class extends _0x4946a4{constructor(_0x4cad21,_0x3368be,_0x28e2cd,_0x32d232,_0x4a9f5,_0xbaed78){const _0x1cfbaf=_0x812807;super(),this['_beforeCloseService']=_0x4cad21,this[_0x1cfbaf(0x244)]=_0x3368be,this[_0x1cfbaf(0x1d4)]=_0x28e2cd,this[_0x1cfbaf(0x1c5)]=_0x32d232,this[_0x1cfbaf(0x2e3)]=_0x4a9f5,this['_localeService']=_0xbaed78,this[_0x1cfbaf(0x256)](),this[_0x1cfbaf(0x19c)]();}['_setupBeforeClosingHandler'](){const _0x232076=_0x812807;this[_0x232076(0x345)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1bf12a=_0x232076;if(this[_0x1bf12a(0x244)][_0x1bf12a(0x197)]['size'])return this[_0x1bf12a(0x210)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x812807(0x19c)](){const _0x4cdae4=_0x812807;this[_0x4cdae4(0x345)](this[_0x4cdae4(0x1d4)]['event$'][_0x4cdae4(0x247)](_0x3d11fc=>{const _0x65122f=_0x4cdae4;_0x3d11fc['id']===_0x102b7[_0x65122f(0x222)]&&this['_messageService'][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x184)],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x23f))}),_0x3d11fc['id']===_0x102b7['CLOSE_ROOM']&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x184)],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x1b9))}),_0x3d11fc['id']===_0x102b7['PERMISSION_DENIED']&&this[_0x65122f(0x2e3)][_0x65122f(0x1cd)]({'title':this[_0x65122f(0x210)]['t'](_0x65122f(0x166)),'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x28f)),'type':_0x65122f(0x2d5),'duration':0x0}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x22e)]&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x2e9)],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x1b9))+'('+_0x3d11fc[_0x65122f(0x160)]+')'}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x1e2)]&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x184)],'content':this[_0x65122f(0x210)]['t'](_0x3d11fc[_0x65122f(0x160)]||'')}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x27c)]&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51['Warning'],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x162))}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x306)]&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x2e9)],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x21a))}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x310)]&&this['_messageService'][_0x65122f(0x1cd)]({'type':_0x17fc51['Error'],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x302))});}));}};se=Ji([B(0x0,_0x1e8ef7),B(0x1,_0x112d4d),B(0x2,_0x117037(_0x4a5232)),B(0x3,_0x4063a1),B(0x4,_0x48808a),B(0x5,_0x117037(_0x4884e0))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x26748e(_0x812807(0x1b0));var Qi=Object[_0x812807(0x1c3)],qi=(_0x469923,_0x2f6f74,_0xc5ffb9,_0x1fa5c2)=>{for(var _0x394d72=_0x1fa5c2>0x1?void 0x0:_0x1fa5c2?Qi(_0x2f6f74,_0xc5ffb9):_0x2f6f74,_0x17da58=_0x469923['length']-0x1,_0x19ce75;_0x17da58>=0x0;_0x17da58--)(_0x19ce75=_0x469923[_0x17da58])&&(_0x394d72=_0x19ce75(_0x394d72)||_0x394d72);return _0x394d72;},G=(_0x5173cc,_0xc7b574)=>(_0x30af60,_0x501a12)=>_0xc7b574(_0x30af60,_0x501a12,_0x5173cc);let ie=class extends _0x3cd66b{constructor(_0x3f786e,_0x3cb741,_0x33fdce,_0xd22bf7,_0x384648){const _0x46968b=_0x812807;super(),this[_0x46968b(0x1df)]=_0x3f786e,this[_0x46968b(0x2a9)]=_0x3cb741,this[_0x46968b(0x275)]=_0x33fdce,this[_0x46968b(0x26f)]=_0xd22bf7,_0x384648?_0x384648==null||_0x384648['whenReady']()[_0x46968b(0x263)](()=>this[_0x46968b(0x149)]()):(this[_0x46968b(0x2a9)][_0x46968b(0x148)](_0x46968b(0x1b5),_0x46968b(0x2aa)),this[_0x46968b(0x149)]());}async['_init'](){const _0x43361a=_0x812807,_0x1538ba=this[_0x43361a(0x1df)][_0x43361a(0x339)](_0x43361a(0x2d9)),_0x225642=this[_0x43361a(0x1df)][_0x43361a(0x339)](_0x43361a(0x170)),_0x29f076=this[_0x43361a(0x1df)][_0x43361a(0x339)]('subunit');if(!_0x1538ba||!_0x225642){this[_0x43361a(0x2a9)]['debug']('[CollaborationDataLoaderController]',_0x43361a(0x1a6));return;}const _0x35e631=await this[_0x43361a(0x26f)]['loadUnit'](_0x1538ba,Number(_0x225642),_0x29f076);_0x35e631&&_0x35e631 instanceof _0x42b94a&&this[_0x43361a(0x239)](_0x35e631);}async[_0x812807(0x239)](_0x142643){const _0x16f77a=_0x812807;await this[_0x16f77a(0x331)](_0x142643),_0x142643[_0x16f77a(0x292)][_0x16f77a(0x154)](_0x465a81(this[_0x16f77a(0x2ba)]))[_0x16f77a(0x247)](_0x2c1617=>{const _0x428476=_0x16f77a;_0x2c1617&&this[_0x428476(0x1ab)](_0x2c1617);}),this['_urlService'][_0x16f77a(0x1e1)][_0x16f77a(0x154)](_0x465a81(this[_0x16f77a(0x2ba)]))['subscribe'](()=>this[_0x16f77a(0x331)](_0x142643));}[_0x812807(0x1ab)](_0x54bf8e,_0x1513c8=!0x1){const _0x2118c6=_0x812807,_0x1f9de2=this[_0x2118c6(0x1df)]['getParam'](_0x2118c6(0x187));_0x54bf8e[_0x2118c6(0x336)]()!==_0x1f9de2&&this[_0x2118c6(0x1df)][_0x2118c6(0x1a3)](_0x2118c6(0x187),_0x54bf8e[_0x2118c6(0x336)](),_0x1513c8);}async[_0x812807(0x331)](_0x6bbb2b){const _0x3166d9=_0x812807;var _0x4ae3ce;const _0x254797=this[_0x3166d9(0x1df)][_0x3166d9(0x339)]('subunit');if(!_0x254797||!_0x6bbb2b[_0x3166d9(0x233)](_0x254797)){const _0x47fb80=_0x6bbb2b[_0x3166d9(0x2af)]()[0x0],_0x5387ac=_0x6bbb2b[_0x3166d9(0x233)](_0x47fb80);if(!_0x5387ac)return;this[_0x3166d9(0x1ab)](_0x5387ac,!0x0),await this['_commandService'][_0x3166d9(0x2cf)](_0x4b507d['id'],{'unitId':_0x6bbb2b[_0x3166d9(0x1ce)](),'subUnitId':_0x47fb80});return;}((_0x4ae3ce=_0x6bbb2b[_0x3166d9(0x2cc)]())==null?void 0x0:_0x4ae3ce[_0x3166d9(0x336)]())!==_0x254797&&await this[_0x3166d9(0x275)][_0x3166d9(0x2cf)](_0x4b507d['id'],{'unitId':_0x6bbb2b[_0x3166d9(0x1ce)](),'subUnitId':_0x254797});}};ie=qi([G(0x0,Ut),G(0x1,_0x4ef82f),G(0x2,_0x400b6a),G(0x3,_0x117037(_0x1d23a4)),G(0x4,_0x48bdff(_0x5a800c))],ie);var en=Object[_0x812807(0x1c3)],tn=(_0x18d4a9,_0x528eb6,_0x4f3539,_0x16ddd)=>{const _0x3797ac=_0x812807;for(var _0x325dfe=_0x16ddd>0x1?void 0x0:_0x16ddd?en(_0x528eb6,_0x4f3539):_0x528eb6,_0x235029=_0x18d4a9[_0x3797ac(0x2c5)]-0x1,_0x1839bb;_0x235029>=0x0;_0x235029--)(_0x1839bb=_0x18d4a9[_0x235029])&&(_0x325dfe=_0x1839bb(_0x325dfe)||_0x325dfe);return _0x325dfe;},pe=(_0x48731f,_0x3251fb)=>(_0x2af058,_0x37afa2)=>_0x3251fb(_0x2af058,_0x37afa2,_0x48731f);let ne=class{constructor(_0x456604,_0x14e837,_0x3b59ed){const _0xf60868=_0x812807;this[_0xf60868(0x269)]=_0x456604,this[_0xf60868(0x16b)]=_0x14e837,this[_0xf60868(0x2fc)]=_0x3b59ed;}[_0x812807(0x1f9)](_0x27f2c7){const _0x39941e=_0x812807;this[_0x39941e(0x2d8)](_0x27f2c7),this[_0x39941e(0x179)](_0x27f2c7);}[_0x812807(0x33e)](_0x2b1380){const _0x1eb6b3=_0x812807,{unitID:_0x418ab5}=_0x2b1380,_0x475243=this[_0x1eb6b3(0x2fc)][_0x1eb6b3(0x2e5)](_0x418ab5)[_0x1eb6b3(0x165)](_0x556229),{redoCache:_0x3e07d1}=_0x475243[_0x1eb6b3(0x1fe)]();if(_0x3e07d1[_0x1eb6b3(0x2c5)]===0x0)return _0x2b1380;let _0x1b0800=_0x81a76c['deepClone'](_0x2b1380[_0x1eb6b3(0x217)][0x0]);for(let _0xe19025=0x0;_0xe19025<_0x3e07d1[_0x1eb6b3(0x2c5)];_0xe19025++){const _0x57fe36={'id':'doc.mutation.rich-text-editing','params':{..._0x3e07d1[_0xe19025]}},_0x26c75c=this[_0x1eb6b3(0x16b)][_0x1eb6b3(0x283)](_0x1b0800,_0x57fe36,!0x1);if(_0x59d706(_0x26c75c))throw _0x26c75c[_0x1eb6b3(0x2d5)];_0x1b0800=_0x26c75c['m1Prime'];}return{..._0x81a76c[_0x1eb6b3(0x330)](_0x2b1380),'mutations':[_0x1b0800]};}[_0x812807(0x2d8)](_0x380e77){const _0x5a3568=_0x812807,{unitID:_0x396411}=_0x380e77,_0x10db21=this[_0x5a3568(0x2fc)][_0x5a3568(0x2e5)](_0x396411)[_0x5a3568(0x165)](_0x556229),{undoCache:_0xed1367,redoCache:_0x4f7709}=_0x10db21[_0x5a3568(0x1fe)]();if(_0xed1367['length']===0x0||_0x4f7709[_0x5a3568(0x2c5)]===0x0)return;const _0x2e73e1=[],_0x2de630=[];let _0x4db7f6=_0x81a76c[_0x5a3568(0x330)](_0x380e77['mutations'][0x0]),_0x62b608=_0x81a76c['deepClone'](_0x380e77['mutations'][0x0]);for(let _0x42798c=_0xed1367['length']-0x1;_0x42798c>=0x0;_0x42798c--){const _0x437f14={'id':_0x5a3568(0x21c),'params':{..._0xed1367[_0x42798c]}},_0x7a27aa={'id':'doc.mutation.rich-text-editing','params':{..._0x4f7709[_0x42798c]}},_0x4768e9=this[_0x5a3568(0x16b)][_0x5a3568(0x283)](_0x4db7f6,_0x437f14,!0x1),_0x35bf41=this[_0x5a3568(0x16b)][_0x5a3568(0x283)](_0x62b608,_0x7a27aa,!0x1);if(_0x59d706(_0x4768e9))throw _0x4768e9[_0x5a3568(0x2d5)];if(_0x59d706(_0x35bf41))throw _0x35bf41[_0x5a3568(0x2d5)];_0x2e73e1['unshift'](_0x4768e9[_0x5a3568(0x30c)][_0x5a3568(0x342)]),_0x2de630[_0x5a3568(0x204)](_0x35bf41[_0x5a3568(0x30c)]['params']),_0x4db7f6=_0x4768e9[_0x5a3568(0x232)],_0x62b608=_0x35bf41[_0x5a3568(0x232)];}_0x10db21['setUndoRedoMutationParamsCache']({'undoCache':_0x2e73e1,'redoCache':_0x2de630});}[_0x812807(0x179)](_0xb402ab){const _0x59ba39=_0x812807,{unitID:_0x358003}=_0xb402ab,_0x38481f=this[_0x59ba39(0x2fc)]['getRenderById'](_0x358003)[_0x59ba39(0x165)](_0x556229),_0x3e88ee=_0x38481f[_0x59ba39(0x15c)]();if(_0x3e88ee==null)return;const _0x12cfc2=[{'id':_0x59ba39(0x21c),'params':{'unitId':_0xb402ab[_0x59ba39(0x1c2)],'actions':null,'textRanges':[_0x3e88ee]}}],_0x5931e1=this['_transformService'][_0x59ba39(0x1d3)](_0xb402ab,_0x12cfc2);if(!_0x5e01e7(_0x5931e1))throw _0x5931e1[_0x59ba39(0x2d5)];const _0x1fad23=_0x5931e1[_0x59ba39(0x30c)][0x0][_0x59ba39(0x342)][_0x59ba39(0x152)];Array[_0x59ba39(0x17e)](_0x1fad23)&&_0x1fad23[_0x59ba39(0x2c5)]&&_0x38481f[_0x59ba39(0x317)](_0x1fad23[0x0]);}};ne=tn([pe(0x0,_0x117037(_0x2db21b)),pe(0x1,_0x5ca95d),pe(0x2,_0x51617e)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x53e7ea,_0x1c49f2,_0x30cfbd,_0x475dac)=>{for(var _0x440241=_0x475dac>0x1?void 0x0:_0x475dac?sn(_0x1c49f2,_0x30cfbd):_0x1c49f2,_0x3f7735=_0x53e7ea['length']-0x1,_0x2a3bf2;_0x3f7735>=0x0;_0x3f7735--)(_0x2a3bf2=_0x53e7ea[_0x3f7735])&&(_0x440241=_0x2a3bf2(_0x440241)||_0x440241);return _0x440241;},Ce=(_0x358a08,_0x37581a)=>(_0x20535d,_0x364510)=>_0x37581a(_0x20535d,_0x364510,_0x358a08);let re=class{constructor(_0x203640,_0x16552c,_0x3521e8){const _0x3d869e=_0x812807;this[_0x3d869e(0x269)]=_0x203640,this['_transformService']=_0x16552c,this[_0x3d869e(0x281)]=_0x3521e8;}[_0x812807(0x1c0)](_0x55a5a8){const _0x348a25=_0x812807;this[_0x348a25(0x185)](_0x55a5a8);}[_0x812807(0x33e)](_0x42cf3d){const _0xa98f03=_0x812807,{unitID:_0x3399c9}=_0x42cf3d,{collaboration:_0x10ba22}=this[_0xa98f03(0x281)]['getStateCache'](_0x3399c9);if(_0x10ba22['length']===0x0)return _0x42cf3d;let _0xbcf8a6=_0x81a76c[_0xa98f03(0x330)](_0x42cf3d[_0xa98f03(0x217)][0x0]);for(let _0xca7674=0x0;_0xca7674<_0x10ba22[_0xa98f03(0x2c5)];_0xca7674++){const _0x42882d={'id':_0xa98f03(0x21c),'params':{'unitId':_0x10ba22[_0xca7674]['unitId'],..._0x10ba22[_0xca7674][_0xa98f03(0x2d7)]}},_0x2b496c=this[_0xa98f03(0x16b)]['transformMutation'](_0xbcf8a6,_0x42882d,!0x1);if(_0x59d706(_0x2b496c))throw _0x2b496c[_0xa98f03(0x2d5)];_0xbcf8a6=_0x2b496c[_0xa98f03(0x232)];}return{..._0x81a76c[_0xa98f03(0x330)](_0x42cf3d),'mutations':[_0xbcf8a6]};}[_0x812807(0x185)](_0x563b76){const _0x5510fc=_0x812807,{unitID:_0xad0351}=_0x563b76,{history:_0x13e2a6,collaboration:_0x55b4a6}=this[_0x5510fc(0x281)][_0x5510fc(0x1eb)](_0xad0351);if(_0x13e2a6['length']===0x0&&_0x55b4a6[_0x5510fc(0x2c5)]===0x0)return;const _0x3bca98=[],_0x3e8f0c=[];let _0x392f27=_0x81a76c[_0x5510fc(0x330)](_0x563b76['mutations'][0x0]),_0x2ae030=_0x81a76c[_0x5510fc(0x330)](_0x563b76['mutations'][0x0]);for(let _0x39eaf5=_0x13e2a6[_0x5510fc(0x2c5)]-0x1;_0x39eaf5>=0x0;_0x39eaf5--){const _0x5e047a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x13e2a6[_0x39eaf5]['unitId'],..._0x13e2a6[_0x39eaf5][_0x5510fc(0x1e4)]}},_0x2d7dc9={'id':_0x5510fc(0x21c),'params':{'unitId':_0x13e2a6[_0x39eaf5]['unitId'],..._0x13e2a6[_0x39eaf5][_0x5510fc(0x2d7)]}},_0x1e576c=this[_0x5510fc(0x16b)][_0x5510fc(0x283)](_0x392f27,_0x5e047a,!0x1),_0x27a210=this[_0x5510fc(0x16b)][_0x5510fc(0x283)](_0x2ae030,_0x2d7dc9,!0x1);if(_0x59d706(_0x1e576c))throw _0x1e576c[_0x5510fc(0x2d5)];if(_0x59d706(_0x27a210))throw _0x27a210[_0x5510fc(0x2d5)];_0x3bca98[_0x5510fc(0x204)]({..._0x13e2a6[_0x39eaf5],'undoState':_0x1e576c[_0x5510fc(0x30c)][_0x5510fc(0x342)],'redoState':_0x27a210[_0x5510fc(0x30c)][_0x5510fc(0x342)]}),_0x392f27=_0x1e576c[_0x5510fc(0x232)],_0x2ae030=_0x27a210[_0x5510fc(0x232)];}_0x392f27=_0x81a76c[_0x5510fc(0x330)](_0x563b76[_0x5510fc(0x217)][0x0]),_0x2ae030=_0x81a76c[_0x5510fc(0x330)](_0x563b76[_0x5510fc(0x217)][0x0]);for(let _0xab0e38=_0x55b4a6['length']-0x1;_0xab0e38>=0x0;_0xab0e38--){const _0x56aed3={'id':_0x5510fc(0x21c),'params':{'unitId':_0x55b4a6[_0xab0e38]['unitId'],..._0x55b4a6[_0xab0e38][_0x5510fc(0x1e4)]}},_0x756d7c={'id':_0x5510fc(0x21c),'params':{'unitId':_0x55b4a6[_0xab0e38]['unitId'],..._0x55b4a6[_0xab0e38][_0x5510fc(0x2d7)]}},_0xb7b88c=this['_transformService'][_0x5510fc(0x283)](_0x392f27,_0x56aed3,!0x1),_0x140ee7=this[_0x5510fc(0x16b)][_0x5510fc(0x283)](_0x2ae030,_0x756d7c,!0x1);if(_0x59d706(_0xb7b88c))throw _0xb7b88c[_0x5510fc(0x2d5)];if(_0x59d706(_0x140ee7))throw _0x140ee7['error'];_0x3e8f0c['unshift']({..._0x55b4a6[_0xab0e38],'undoState':_0xb7b88c[_0x5510fc(0x30c)][_0x5510fc(0x342)],'redoState':_0x140ee7['m2Prime'][_0x5510fc(0x342)]}),_0x392f27=_0xb7b88c['m1Prime'],_0x2ae030=_0x140ee7[_0x5510fc(0x232)];}this[_0x5510fc(0x281)]['setStateCache'](_0xad0351,{'history':_0x3bca98,'collaboration':_0x3e8f0c});}};re=nn([Ce(0x0,_0x117037(_0x2db21b)),Ce(0x1,_0x5ca95d),Ce(0x2,_0x117037(_0x3162fc))],re);var rn=Object[_0x812807(0x1c3)],on=(_0x186e32,_0x168a79,_0x204c55,_0x205f6d)=>{for(var _0x1db110=_0x205f6d>0x1?void 0x0:_0x205f6d?rn(_0x168a79,_0x204c55):_0x168a79,_0x3339f6=_0x186e32['length']-0x1,_0x36e00c;_0x3339f6>=0x0;_0x3339f6--)(_0x36e00c=_0x186e32[_0x3339f6])&&(_0x1db110=_0x36e00c(_0x1db110)||_0x1db110);return _0x1db110;},tt=(_0x36c817,_0x1f256e)=>(_0x508373,_0x5e7725)=>_0x1f256e(_0x508373,_0x5e7725,_0x36c817);let oe=class{constructor(_0x379608,_0x3f0782){const _0x34fcb1=_0x812807;this[_0x34fcb1(0x269)]=_0x379608,this[_0x34fcb1(0x16b)]=_0x3f0782;}[_0x812807(0x14b)](_0x36e70b){const _0x5f4b06=_0x812807;var _0x1680f1;const _0x27527c=this[_0x5f4b06(0x269)][_0x5f4b06(0x224)](_0x570ac8),_0x1bdd6e=(_0x1680f1=_0x27527c[_0x5f4b06(0x234)]())!=null?_0x1680f1:[];if(_0x1bdd6e[_0x5f4b06(0x2c5)]===0x0)return;const _0x4a4e18=_0x36e70b[_0x5f4b06(0x1c2)],_0x55ec6b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a4e18,'actions':null,'textRanges':_0x1bdd6e}}],_0x296c5e=this[_0x5f4b06(0x16b)][_0x5f4b06(0x1d3)](_0x36e70b,_0x55ec6b);if(!_0x5e01e7(_0x296c5e))throw _0x296c5e['error'];const _0x1256c3=_0x296c5e[_0x5f4b06(0x30c)][0x0][_0x5f4b06(0x342)]['textRanges'];Array[_0x5f4b06(0x17e)](_0x1256c3)&&_0x1256c3[_0x5f4b06(0x2c5)]&&_0x27527c[_0x5f4b06(0x32b)](_0x1256c3,{'unitId':_0x4a4e18,'subUnitId':_0x4a4e18},!0x1);}};oe=on([tt(0x0,_0x117037(_0x2db21b)),tt(0x1,_0x5ca95d)],oe);var an=Object[_0x812807(0x1c3)],cn=(_0x1c8544,_0x4dea09,_0x2cdd7e,_0x4eaa1a)=>{const _0x4ddb55=_0x812807;for(var _0x2f17d5=_0x4eaa1a>0x1?void 0x0:_0x4eaa1a?an(_0x4dea09,_0x2cdd7e):_0x4dea09,_0x5e99dc=_0x1c8544[_0x4ddb55(0x2c5)]-0x1,_0x325a5c;_0x5e99dc>=0x0;_0x5e99dc--)(_0x325a5c=_0x1c8544[_0x5e99dc])&&(_0x2f17d5=_0x325a5c(_0x2f17d5)||_0x2f17d5);return _0x2f17d5;},U=(_0x5927a5,_0x4f3a14)=>(_0x46c0cb,_0x3bf929)=>_0x4f3a14(_0x46c0cb,_0x3bf929,_0x5927a5);let ae=class extends _0x4946a4{constructor(_0x3cb037,_0x9ab3fa,_0x5a5bb2,_0x375242,_0x49d76d,_0x1428c8,_0x473a44,_0x2e4342){const _0x5bb624=_0x812807;super(),_(this,'_status$',new _0x1ab881(_0x3d349a[_0x5bb624(0x282)])),(this[_0x5bb624(0x281)]=_0x3cb037,this[_0x5bb624(0x312)]=_0x9ab3fa,this[_0x5bb624(0x2ec)]=_0x5a5bb2,this[_0x5bb624(0x21d)]=_0x375242,this[_0x5bb624(0x1b3)]=_0x49d76d,this[_0x5bb624(0x2e8)]=_0x1428c8,this[_0x5bb624(0x1c5)]=_0x473a44,this[_0x5bb624(0x210)]=_0x2e4342,this[_0x5bb624(0x328)]());}[_0x812807(0x328)](){const _0x11833c=_0x812807;this[_0x11833c(0x345)](this[_0x11833c(0x312)]['entityInit$'][_0x11833c(0x247)](_0x383010=>{const _0x53cdff=_0x11833c,_0x3616bf=this[_0x53cdff(0x281)][_0x53cdff(0x215)][_0x53cdff(0x247)](_0x5a40d3=>{const _0x1d15e4=_0x53cdff;if(_0x5a40d3==null)return;const {unitId:_0x38a8bf,redoState:_0x3664c4,commandId:_0x1fa18f}=_0x5a40d3;if(_0x38a8bf!==_0x383010['unitID'])return;const _0x56c86b={'id':_0x1fa18f,'type':_0x447ad9[_0x1d15e4(0x337)],'params':{'unitId':_0x38a8bf,'actions':_0x3664c4['actions'],'textRanges':null}};_0x383010[_0x1d15e4(0x1fb)](_0x56c86b);});if(_0x383010['disposeWithMe'](_0x3616bf),_0x383010 instanceof _0xed90e6){const _0x3b2222={'onTransformIME':_0xefe66f=>this[_0x53cdff(0x2ec)][_0x53cdff(0x1f9)](_0xefe66f),'onTransformState':_0x53f47b=>this[_0x53cdff(0x21d)][_0x53cdff(0x1c0)](_0x53f47b),'onTransformSelections':_0x2466d5=>this['_docTransformSelectionsService'][_0x53cdff(0x14b)](_0x2466d5),'onSyncEditingCollabCursor':_0x334642=>this[_0x53cdff(0x2e8)]['syncEditingCollabCursor'](_0x334642),'onTransformRemoteChangesetByIMECache':_0x593fb5=>this[_0x53cdff(0x2ec)][_0x53cdff(0x33e)](_0x593fb5),'onTransformRemoteChangesetByStateCache':_0x3cc63f=>this[_0x53cdff(0x21d)][_0x53cdff(0x33e)](_0x3cc63f)};_0x383010['addHandlerCallback'](_0x3b2222);}}));}};ae=cn([U(0x0,_0x117037(_0x3162fc)),U(0x1,_0x117037(_0x635176)),U(0x2,_0x117037(ne)),U(0x3,_0x117037(re)),U(0x4,_0x117037(oe)),U(0x5,_0x117037(He)),U(0x6,_0x4063a1),U(0x7,_0x117037(_0x4884e0))],ae);var ln=Object[_0x812807(0x1c3)],_n=(_0x45b0db,_0x1567a8,_0x3094e7,_0x1c52ad)=>{const _0x18c9b8=_0x812807;for(var _0x70f01c=_0x1c52ad>0x1?void 0x0:_0x1c52ad?ln(_0x1567a8,_0x3094e7):_0x1567a8,_0x5b9f0f=_0x45b0db[_0x18c9b8(0x2c5)]-0x1,_0x2d91a1;_0x5b9f0f>=0x0;_0x5b9f0f--)(_0x2d91a1=_0x45b0db[_0x5b9f0f])&&(_0x70f01c=_0x2d91a1(_0x70f01c)||_0x70f01c);return _0x70f01c;},Ee=(_0x321751,_0x58c099)=>(_0x1fc7d2,_0xd1f3fd)=>_0x58c099(_0x1fc7d2,_0xd1f3fd,_0x321751);let Le=class extends _0x4946a4{constructor(_0xabbf9e,_0x3ac150,_0x218383){const _0x16bc30=_0x812807;super(),_(this,_0x16bc30(0x314),new Map()),_(this,_0x16bc30(0x19d),new Map()),_(this,_0x16bc30(0x1ea),!0x1),(this[_0x16bc30(0x15b)]=_0xabbf9e,this['_localStorageService']=_0x3ac150,this[_0x16bc30(0x2be)]=_0x218383);}[_0x812807(0x1ff)](){const _0x498d28=_0x812807;this[_0x498d28(0x1ea)]=!0x0;}['enableLocalCache'](){const _0x4fb063=_0x812807;this[_0x4fb063(0x1ea)]=!0x1;}get[_0x812807(0x197)](){const _0x1ea2b3=_0x812807;return this[_0x1ea2b3(0x19d)];}[_0x812807(0x274)](){const _0x226ce2=_0x812807;this['exhaustSavingTask']()['then'](()=>super[_0x226ce2(0x274)]());}async[_0x812807(0x1b6)](_0x55d287){const _0x435e64=_0x812807;return this[_0x435e64(0x1ea)]?null:this[_0x435e64(0x271)][_0x435e64(0x229)](_0x4ddedd(_0x55d287));}async['saveOfflineData'](_0x181ba4,_0x4dd8f2){const _0x886081=_0x812807;return!!this[_0x886081(0x271)][_0x886081(0x171)](_0x181ba4,_0x4dd8f2);}[_0x812807(0x20d)](_0x20c3aa,_0x556928,_0x169cae,_0x35007e){const _0x29db6d=_0x812807,_0x4f1117=this[_0x29db6d(0x2be)][_0x29db6d(0x2d2)](_0x20c3aa);this[_0x29db6d(0x314)]['set'](_0x20c3aa,{'unitID':_0x20c3aa,'type':_0x556928,'awaitingChangeset':_0x169cae,'mutations':_0x35007e,'rev':_0x4f1117}),this['_saveTaskMap'][_0x29db6d(0x237)](_0x20c3aa)||this['_scheduleSaving'](_0x20c3aa);}[_0x812807(0x309)](_0x1b823c){const _0x50c2a5=_0x812807,_0x539223=this[_0x50c2a5(0x14d)]();_0x539223===0x0?this[_0x50c2a5(0x1cf)](_0x1b823c):this[_0x50c2a5(0x19d)][_0x50c2a5(0x1ba)](_0x1b823c,setTimeout(()=>this[_0x50c2a5(0x1cf)](_0x1b823c),_0x539223));}[_0x812807(0x14d)](){const _0x3b3c4a=_0x812807;var _0x34a216;return(_0x34a216=this['_configService'][_0x3b3c4a(0x268)](_0xe601f9))!=null?_0x34a216:_0x5b3750;}[_0x812807(0x1cf)](_0x8c3ee5){const _0x5b0911=_0x812807,_0x3704c6=this[_0x5b0911(0x19d)]['get'](_0x8c3ee5);return _0x3704c6!==void 0x0&&window[_0x5b0911(0x2ca)](_0x3704c6),this[_0x5b0911(0x271)]['setItem'](_0x4ddedd(_0x8c3ee5),this[_0x5b0911(0x314)][_0x5b0911(0x224)](_0x8c3ee5))['then'](()=>this['_saveTaskMap']['delete'](_0x8c3ee5));}async[_0x812807(0x18e)](){const _0x590685=_0x812807,_0x1131c4=[];this[_0x590685(0x19d)][_0x590685(0x200)]((_0x9cc2bf,_0x36dcf5)=>{const _0xd9e73c=_0x590685;window[_0xd9e73c(0x2ca)](_0x9cc2bf),_0x1131c4[_0xd9e73c(0x2ee)](this[_0xd9e73c(0x1cf)](_0x36dcf5)[_0xd9e73c(0x263)](()=>{const _0xa8261=_0xd9e73c;this[_0xa8261(0x19d)]['delete'](_0x36dcf5);}));}),await Promise[_0x590685(0x270)](_0x1131c4);}};Le=_n([Ee(0x0,_0x40a7b7),Ee(0x1,_0x5de714),Ee(0x2,_0x117037(_0xee49dd))],Le);class hn extends _0x3cd66b{constructor(){const _0x41f9b6=_0x812807;super(),_(this,_0x41f9b6(0x1e1)),this['urlChange$']=_0x582a04(window,_0x41f9b6(0x2b7))[_0x41f9b6(0x154)](_0x465a81(this[_0x41f9b6(0x2ba)]),_0x101c78(0x1),_0x141fcd(void 0x0));}[_0x812807(0x1a3)](_0x2196ac,_0x57e17e,_0x1a9394=!0x1){const _0x40c2a2=_0x812807,_0x13c7ae=new URL(window['location'][_0x40c2a2(0x18d)]);_0x13c7ae[_0x40c2a2(0x2f9)]['set'](_0x2196ac,_0x57e17e),_0x1a9394?window[_0x40c2a2(0x2c6)]['replaceState']('','',_0x13c7ae[_0x40c2a2(0x2dc)]()):window[_0x40c2a2(0x2c6)][_0x40c2a2(0x316)]('','',_0x13c7ae[_0x40c2a2(0x2dc)]());}[_0x812807(0x2a6)](_0x41bd5c,_0x3d6e72=!0x1){const _0x20366b=_0x812807,_0x5746cb=new URL(window[_0x20366b(0x20c)][_0x20366b(0x18d)]);_0x5746cb[_0x20366b(0x2f9)][_0x20366b(0x276)](_0x41bd5c),_0x3d6e72?window[_0x20366b(0x2c6)][_0x20366b(0x2f8)]('','',_0x5746cb[_0x20366b(0x2dc)]()):window[_0x20366b(0x2c6)][_0x20366b(0x316)]('','',_0x5746cb[_0x20366b(0x2dc)]());}['getParam'](_0x163af7){const _0x247932=_0x812807;var _0x5cdfdd;return(_0x5cdfdd=new URL(window[_0x247932(0x20c)][_0x247932(0x18d)])[_0x247932(0x2f9)][_0x247932(0x224)](_0x163af7))!=null?_0x5cdfdd:void 0x0;}}var un=Object[_0x812807(0x2f5)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x4799f3,_0x533968,_0x2b1cb8)=>_0x533968 in _0x4799f3?un(_0x4799f3,_0x533968,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b1cb8}):_0x4799f3[_0x533968]=_0x2b1cb8,Sn=(_0x53f5bb,_0x2bf80f,_0xcf8a26,_0x1dedc1)=>{const _0x3d19fe=_0x812807;for(var _0x1bfd46=_0x1dedc1>0x1?void 0x0:_0x1dedc1?dn(_0x2bf80f,_0xcf8a26):_0x2bf80f,_0x4180f1=_0x53f5bb[_0x3d19fe(0x2c5)]-0x1,_0x24d003;_0x4180f1>=0x0;_0x4180f1--)(_0x24d003=_0x53f5bb[_0x4180f1])&&(_0x1bfd46=_0x24d003(_0x1bfd46)||_0x1bfd46);return _0x1bfd46;},Oe=(_0x2840d1,_0x175058)=>(_0x29af87,_0x4570c)=>_0x175058(_0x29af87,_0x4570c,_0x2840d1),mn=(_0xe40291,_0x3b5919,_0x5e0719)=>fn(_0xe40291,_0x3b5919+'',_0x5e0719);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x3b5857{constructor(_0x4f0ab8=et,_0x11db2a,_0x35c9fb,_0x1f4c57){const _0x26097f=_0x812807;super(),this[_0x26097f(0x1bd)]=_0x4f0ab8,this[_0x26097f(0x2fc)]=_0x11db2a,this[_0x26097f(0x269)]=_0x35c9fb,this[_0x26097f(0x15b)]=_0x1f4c57;const {..._0x295750}=_0x3caefb({},et,this['_config']);this[_0x26097f(0x15b)][_0x26097f(0x145)](Zi,_0x295750);}['onStarting'](){const _0xbc093b=_0x812807;this[_0xbc093b(0x14f)](),this[_0xbc093b(0x1dd)]();}['onRendered'](){const _0x2b0ea3=_0x812807;this[_0x2b0ea3(0x169)]();}['_registerDependencies'](){const _0x134e61=_0x812807;var _0x5e6052;const _0x28e80a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x41f73d,{'useClass':_0x38f615}],[_0x112d4d,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x193a00(this[_0x134e61(0x269)],_0x4359ca(_0x28e80a,(_0x5e6052=this[_0x134e61(0x1bd)])==null?void 0x0:_0x5e6052[_0x134e61(0x212)]));}[_0x812807(0x169)](){const _0x4c602b=_0x812807;this[_0x4c602b(0x345)](this[_0x4c602b(0x2fc)][_0x4c602b(0x1b2)](_0x506b4c[_0x4c602b(0x1d5)],[we])),this[_0x4c602b(0x345)](this[_0x4c602b(0x2fc)][_0x4c602b(0x1b2)](_0x506b4c[_0x4c602b(0x1e7)],[Pe]));}[_0x812807(0x1dd)](){const _0x33c0a3=_0x812807;_0x132abb(this[_0x33c0a3(0x269)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x15192f(_0x3b7221),Oe(0x1,_0x51617e),Oe(0x2,_0x117037(_0x2db21b)),Oe(0x3,_0x40a7b7)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x3e01e4,_0x286ca7,_0x34393b,_0x2f1b46)=>{const _0x39a66d=_0x812807;for(var _0x3b9538=_0x2f1b46>0x1?void 0x0:_0x2f1b46?gn(_0x286ca7,_0x34393b):_0x286ca7,_0x47e42e=_0x3e01e4[_0x39a66d(0x2c5)]-0x1,_0x264197;_0x47e42e>=0x0;_0x47e42e--)(_0x264197=_0x3e01e4[_0x47e42e])&&(_0x3b9538=_0x264197(_0x3b9538)||_0x3b9538);return _0x3b9538;},K=(_0x312906,_0x304a84)=>(_0x3a3442,_0x544b81)=>_0x304a84(_0x3a3442,_0x544b81,_0x312906);let st=class extends _0x6e84a5{constructor(_0x202341,_0x33888d,_0x27debd,_0x401123,_0x4c4e3b){super(_0x202341,_0x33888d,_0x27debd,_0x401123,_0x4c4e3b);}async[_0x812807(0x2a4)](_0x405b49){const _0xe251b0=_0x812807,_0x21f485=await this[_0xe251b0(0x33f)](),_0x42f3e2=this['_createSocketURL'](_0x405b49,_0x21f485);return this[_0xe251b0(0x30e)](_0x42f3e2);}[_0x812807(0x334)](_0x13935f,_0x15ea6c){const _0x12b0f4=_0x812807,_0x449db9=typeof window>'u'?new URL(_0x13935f):new URL(_0x13935f,window['location']['origin']);_0x449db9[_0x12b0f4(0x2f9)][_0x12b0f4(0x1ba)](_0x12b0f4(0x213),_0x15ea6c);const _0x1e3329=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x12b0f4(0x20c)][_0x12b0f4(0x2cd)]);return _0x1e3329[_0x12b0f4(0x224)](_0x12b0f4(0x2f7))&&_0x449db9[_0x12b0f4(0x2f9)][_0x12b0f4(0x1ba)](_0x12b0f4(0x2f7),_0x1e3329[_0x12b0f4(0x224)](_0x12b0f4(0x2f7))),_0x449db9[_0x12b0f4(0x2dc)]();}async['_getSessionTicket'](){const _0x585f04=_0x812807;var _0x5636c9,_0x1b0014,_0x4765bf;const _0x530e69=this['_configService'][_0x585f04(0x268)](_0x35b82d),_0x477ae0=(_0x5636c9=_0x530e69==null?void 0x0:_0x530e69[_0x585f04(0x32d)])!=null?_0x5636c9:_0x5a383a;return(_0x4765bf=(_0x1b0014=(await this['_httpService']['get'](_0x477ae0,{'headers':{'Content-Type':'application/json'}}))[_0x585f04(0x1bb)])==null?void 0x0:_0x1b0014[_0x585f04(0x240)])!=null?_0x4765bf:'';}};st=vn([K(0x0,_0x117037(_0x2db21b)),K(0x1,_0x117037(_0x32299a)),K(0x2,_0x40a7b7),K(0x3,_0x4ef82f),K(0x4,_0x4bbb7f)],st);const it=0x7530,nt=_0x812807(0x2b3);class jn extends _0x4946a4{constructor(){const _0x1c3ac0=_0x812807;super(),_(this,_0x1c3ac0(0x20e),_0x22cc65()),_(this,_0x1c3ac0(0x19f),new Set()),_(this,_0x1c3ac0(0x1c8),new Map()),_(this,_0x1c3ac0(0x32a),null),_(this,_0x1c3ac0(0x1b4),new Map()),_(this,_0x1c3ac0(0x2e7),new Map()),this[_0x1c3ac0(0x149)]();}[_0x812807(0x274)](){const _0x119b63=_0x812807;super[_0x119b63(0x274)](),this['_clearOtherTimers']['forEach']((_0x5cb0d9,_0x1c7444)=>this[_0x119b63(0x321)](_0x1c7444)),this[_0x119b63(0x32a)]&&window[_0x119b63(0x29c)](this['_heartbeatTimer']);}[_0x812807(0x33b)](_0x9b1e7b){const _0x59b914=_0x812807;return this['_ensureSubject'](_0x9b1e7b)[_0x59b914(0x154)](_0xd70296());}['editingUnit'](_0x5d9326){const _0x3e7458=_0x812807;this['_selfUnitIDs'][_0x3e7458(0x26e)]===0x0&&this[_0x3e7458(0x17a)](),this[_0x3e7458(0x19f)][_0x3e7458(0x227)](_0x5d9326),this['_send']({'type':0x0,'memberID':this[_0x3e7458(0x20e)],'unitIDs':[_0x5d9326],'isForwarded':!0x1});}[_0x812807(0x2ea)](_0x2cd724){const _0x5d4925=_0x812807;this[_0x5d4925(0x19f)][_0x5d4925(0x276)](_0x2cd724),this['_selfUnitIDs'][_0x5d4925(0x26e)]===0x0&&this[_0x5d4925(0x32a)]&&window[_0x5d4925(0x29c)](this[_0x5d4925(0x32a)]);}[_0x812807(0x149)](){const _0x15c6de=_0x812807;this['disposeWithMe'](_0x1b9624(_0x582a04(window,'storage')[_0x15c6de(0x247)](_0x44cd24=>{const _0x5e06c7=_0x15c6de;if(_0x44cd24['key']!==nt||!_0x44cd24[_0x5e06c7(0x28d)])return;const _0x805d9c=JSON[_0x5e06c7(0x153)](_0x44cd24['newValue']);this[_0x5e06c7(0x2f3)](_0x805d9c);}))),window[_0x15c6de(0x2df)](_0x15c6de(0x296),()=>this[_0x15c6de(0x192)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x15c6de(0x19f)])}));}['_handleEvent'](_0x532444){const _0x3d675d=_0x812807;switch(_0x532444[_0x3d675d(0x170)]){case 0x0:this[_0x3d675d(0x31c)](_0x532444);break;case 0x1:this[_0x3d675d(0x27d)](_0x532444);break;case 0x2:this[_0x3d675d(0x198)](_0x532444);break;}}['_handleJoinEvent'](_0x563a02){const _0x5c8b2c=_0x812807,{unitIDs:_0xa4d035,memberID:_0x4f6c9b,isForwarded:_0x4223ab}=_0x563a02;_0xa4d035[_0x5c8b2c(0x200)](_0x2f73a8=>{const _0x19601a=_0x5c8b2c;if(!_0x4223ab&&this[_0x19601a(0x1c8)][_0x19601a(0x237)](_0x2f73a8)&&this[_0x19601a(0x2e0)](_0x2f73a8)[_0x19601a(0x25b)](_0x2b38df[_0x19601a(0x1a1)]),!this[_0x19601a(0x1c8)]['has'](_0x2f73a8)||!this[_0x19601a(0x1c8)][_0x19601a(0x224)](_0x2f73a8)['has'](_0x4f6c9b)){const _0xee5acb=this[_0x19601a(0x1c8)][_0x19601a(0x224)](_0x2f73a8)||new Set();_0xee5acb[_0x19601a(0x227)](_0x4f6c9b),this[_0x19601a(0x1c8)][_0x19601a(0x1ba)](_0x2f73a8,_0xee5acb),this[_0x19601a(0x267)](_0x4f6c9b);}}),_0x4223ab||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x812807(0x267)](_0x3a0c57){const _0x18f320=_0x812807;this[_0x18f320(0x321)](_0x3a0c57);const _0x362c1a=window[_0x18f320(0x1f7)](()=>{const _0x3a7bcf=_0x18f320;this[_0x3a7bcf(0x1c8)][_0x3a7bcf(0x200)](_0x4142eb=>{_0x4142eb['delete'](_0x3a0c57);});},it*0x2);this[_0x18f320(0x1b4)][_0x18f320(0x1ba)](_0x3a0c57,_0x362c1a);}[_0x812807(0x321)](_0x6c8046){const _0x5b0117=_0x812807;if(this[_0x5b0117(0x1b4)]['has'](_0x6c8046)){const _0x565a53=this[_0x5b0117(0x1b4)][_0x5b0117(0x224)](_0x6c8046);_0x565a53&&window[_0x5b0117(0x2ca)](_0x565a53),this['_clearOtherTimers'][_0x5b0117(0x1ba)](_0x6c8046,null);}}['_handleLeaveEvent'](_0x150d94){const _0x5be1c7=_0x812807,{memberID:_0x259c99,unitIDs:_0x23a8e9}=_0x150d94;_0x23a8e9[_0x5be1c7(0x200)](_0x2c81a2=>{const _0x1d9977=_0x5be1c7;var _0x5e2b34;const _0x2e0643=this['_unitOnClients'][_0x1d9977(0x224)](_0x2c81a2);_0x2e0643&&(_0x2e0643[_0x1d9977(0x276)](_0x259c99),(_0x5e2b34=this[_0x1d9977(0x2e0)](_0x2c81a2))==null||_0x5e2b34[_0x1d9977(0x25b)](_0x2e0643['size']===0x0?_0x2b38df['NO_OTHER_CLIENTS_EDITING']:_0x2b38df[_0x1d9977(0x1a1)]));}),this[_0x5be1c7(0x321)](_0x259c99);}[_0x812807(0x198)](_0x1a4586){const _0x2aa946=_0x812807;this[_0x2aa946(0x267)](_0x1a4586['memberID']);}[_0x812807(0x192)](_0x351a43){const _0x43d75f=_0x812807;localStorage[_0x43d75f(0x171)](nt,JSON['stringify'](_0x351a43));}[_0x812807(0x17a)](){const _0x3a47ab=_0x812807;this[_0x3a47ab(0x32a)]=window['setInterval'](()=>{const _0xc38fba=_0x3a47ab;this[_0xc38fba(0x192)]({'type':0x2,'memberID':this[_0xc38fba(0x20e)]});},it);}[_0x812807(0x2e0)](_0x4da8ff){const _0x4360f2=_0x812807;return this[_0x4360f2(0x2e7)][_0x4360f2(0x237)](_0x4da8ff)||this[_0x4360f2(0x2e7)][_0x4360f2(0x1ba)](_0x4da8ff,new _0x1ab881(_0x2b38df[_0x4360f2(0x30a)])),this['_unitStatus'][_0x4360f2(0x224)](_0x4da8ff);}}var Mt=(_0x301b93=>(_0x301b93[_0x301b93[_0x812807(0x1e0)]=0x0]='UNDEFINED',_0x301b93[_0x301b93['OK']=0x1]='OK',_0x301b93[_0x301b93['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x301b93[_0x301b93[_0x812807(0x31f)]=0x3]=_0x812807(0x31f),_0x301b93[_0x301b93['NOT_FOUND']=0x4]=_0x812807(0x22f),_0x301b93[_0x301b93['UNAUTHENTICATED']=0x5]=_0x812807(0x193),_0x301b93[_0x301b93[_0x812807(0x218)]=0x6]=_0x812807(0x218),_0x301b93[_0x301b93[_0x812807(0x26c)]=0x7]=_0x812807(0x26c),_0x301b93[_0x301b93[_0x812807(0x2e2)]=0x8]='TOO_MANY_REQUESTS',_0x301b93[_0x301b93[_0x812807(0x30d)]=0x9]=_0x812807(0x30d),_0x301b93[_0x301b93[_0x812807(0x257)]=0xa]=_0x812807(0x257),_0x301b93[_0x301b93[_0x812807(0x2a8)]=0x1389]=_0x812807(0x2a8),_0x301b93[_0x301b93['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x812807(0x158),_0x301b93[_0x301b93[_0x812807(0x30f)]=0x1772]=_0x812807(0x30f),_0x301b93[_0x301b93[_0x812807(0x2fd)]=0x1773]=_0x812807(0x2fd),_0x301b93[_0x301b93[_0x812807(0x29a)]=0x1b59]=_0x812807(0x29a),_0x301b93[_0x301b93[_0x812807(0x284)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x301b93[_0x301b93[_0x812807(0x2a2)]=0x1b5b]=_0x812807(0x2a2),_0x301b93[_0x301b93['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x812807(0x194),_0x301b93[_0x301b93[_0x812807(0x341)]=0x1b5d]='APPLY_DUPLICATED',_0x301b93[_0x301b93[_0x812807(0x1a4)]=0x1f41]=_0x812807(0x1a4),_0x301b93[_0x301b93[_0x812807(0x206)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x301b93[_0x301b93['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x812807(0x29d),_0x301b93[_0x301b93[_0x812807(0x301)]=0x232b]=_0x812807(0x301),_0x301b93[_0x301b93[_0x812807(0x22d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x301b93[_0x301b93[_0x812807(0x332)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x301b93[_0x301b93[_0x812807(0x2b6)]=0x2711]=_0x812807(0x2b6),_0x301b93[_0x301b93[_0x812807(0x30b)]=0x2712]=_0x812807(0x30b),_0x301b93[_0x301b93[_0x812807(0x14e)]=0x2713]=_0x812807(0x14e),_0x301b93[_0x301b93['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x812807(0x299),_0x301b93[_0x301b93[_0x812807(0x156)]=0x271a]=_0x812807(0x156),_0x301b93[_0x301b93[_0x812807(0x17b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x301b93[_0x301b93[_0x812807(0x338)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x301b93[_0x301b93[_0x812807(0x315)]=0x271d]=_0x812807(0x315),_0x301b93[_0x301b93[_0x812807(0x286)]=0x271e]=_0x812807(0x286),_0x301b93[_0x301b93[_0x812807(0x308)]=0x271f]=_0x812807(0x308),_0x301b93[_0x301b93['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x812807(0x31b),_0x301b93[_0x301b93[_0x812807(0x223)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x301b93[_0x301b93['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x301b93[_0x301b93['INVITE_CODE_REQUIRED']=0x2ee3]=_0x812807(0x285),_0x301b93[_0x301b93['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x301b93[_0x301b93[_0x812807(0x1e5)]=0x2ee5]=_0x812807(0x1e5),_0x301b93[_0x301b93[_0x812807(0x278)]=0x32c9]=_0x812807(0x278),_0x301b93[_0x301b93[_0x812807(0x208)]=0x32ca]=_0x812807(0x208),_0x301b93[_0x301b93[_0x812807(0x151)]=0x32cb]=_0x812807(0x151),_0x301b93[_0x301b93['UNRECOGNIZED']=-0x1]=_0x812807(0x150),_0x301b93))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x56584c,_0x383fc7,_0x507b7a,_0x3c44cd)=>{for(var _0x295133=_0x3c44cd>0x1?void 0x0:_0x3c44cd?pn(_0x383fc7,_0x507b7a):_0x383fc7,_0x369e3e=_0x56584c['length']-0x1,_0x5d157d;_0x369e3e>=0x0;_0x369e3e--)(_0x5d157d=_0x56584c[_0x369e3e])&&(_0x295133=_0x5d157d(_0x295133)||_0x295133);return _0x295133;},be=(_0x3b1322,_0xd8f3be)=>(_0x11acd8,_0x37e395)=>_0xd8f3be(_0x11acd8,_0x37e395,_0x3b1322);let rt=class extends _0x4946a4{constructor(_0x220504,_0x5abb76,_0x3879c9){const _0xcc52e3=_0x812807;super(),this[_0xcc52e3(0x177)]=_0x220504,this[_0xcc52e3(0x2f1)]=_0x5abb76,this['_configService']=_0x3879c9;}async[_0x812807(0x2da)](_0x1f9412,_0x2e5da5,_0x3df813,..._0x1525c3){const _0x1d13d2=_0x812807;var _0xf12656,_0x3eac57,_0xb980b7,_0x5d6395;const _0x4b8561=this[_0x1d13d2(0x177)][_0x1d13d2(0x1a8)]();if(!_0x4b8561)throw new Error(_0x1d13d2(0x1ed));const _0x284ee0=((_0xf12656=this[_0x1d13d2(0x15b)]['getConfig'](_0x269578))!=null?_0xf12656:_0x2b3d24)+'/'+_0x1f9412+_0x1d13d2(0x246)+_0x2e5da5,_0x31590f=new URL(window[_0x1d13d2(0x20c)][_0x1d13d2(0x18d)]),_0x5c04e1={'scriptId':_0x1f9412,'runId':(_0x3eac57=_0x31590f[_0x1d13d2(0x2f9)][_0x1d13d2(0x224)](_0x1d13d2(0x2f7)))!=null?_0x3eac57:'','function':_0x2e5da5,'unitId':_0x4b8561[_0x1d13d2(0x1ce)](),'argsOfFunction':JSON[_0x1d13d2(0x1f5)](_0x1525c3),'invokeId':(_0xb980b7=_0x3df813[_0x1d13d2(0x254)])!=null?_0xb980b7:'','executionId':(_0x5d6395=_0x3df813[_0x1d13d2(0x22a)])!=null?_0x5d6395:''};try{const _0x710086=await this['_httpService']['post'](_0x284ee0,{'body':_0x5c04e1});return _0x710086['body']['error']&&_0x710086[_0x1d13d2(0x1bb)][_0x1d13d2(0x2d5)][_0x1d13d2(0x221)]!==Mt['OK']?_0x1d13d2(0x1db):_0x710086[_0x1d13d2(0x1bb)][_0x1d13d2(0x346)];}catch{return _0x1d13d2(0x1db);}}};rt=Cn([be(0x0,_0x37b796),be(0x1,_0x117037(_0x32299a)),be(0x2,_0x40a7b7)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x11e3bb=_0x7e2b;(function(_0x3f2aac,_0x2a9306){const _0x29b281=_0x7e2b,_0x49505d=_0x3f2aac();while(!![]){try{const _0x1fcae2=-parseInt(_0x29b281(0x10d))/0x1+-parseInt(_0x29b281(0x116))/0x2*(-parseInt(_0x29b281(0x117))/0x3)+parseInt(_0x29b281(0x120))/0x4*(-parseInt(_0x29b281(0x11c))/0x5)+-parseInt(_0x29b281(0x11f))/0x6*(parseInt(_0x29b281(0x11d))/0x7)+-parseInt(_0x29b281(0x110))/0x8*(-parseInt(_0x29b281(0x125))/0x9)+-parseInt(_0x29b281(0x115))/0xa+-parseInt(_0x29b281(0x123))/0xb*(-parseInt(_0x29b281(0x121))/0xc);if(_0x1fcae2===_0x2a9306)break;else _0x49505d['push'](_0x49505d['shift']());}catch(_0xeca021){_0x49505d['push'](_0x49505d['shift']());}}}(_0x346f,0xbebd1));function _0x7e2b(_0x4a7c48,_0x56c2cb){const _0x346f62=_0x346f();return _0x7e2b=function(_0x7e2b0e,_0x387cad){_0x7e2b0e=_0x7e2b0e-0x10d;let _0x130e25=_0x346f62[_0x7e2b0e];return _0x130e25;},_0x7e2b(_0x4a7c48,_0x56c2cb);}function _0x346f(){const _0x43c284=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','9860590RhfpAL','21886CBEAsA','93PhYqQU','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','600880Vwcoiw','6064233JirKMT','Collaboration\x20Conflict','6tBOouM','32LsQtcn','1716yeXfDd','Syncing...','218108KoVQtF','Local\x20file','34380OiNazm','844006mDbOwz','Connection\x20failed,\x20please\x20check\x20your\x20network.','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.','2648hKnREn','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x346f=function(){return _0x43c284;};return _0x346f();}const e={'collab-client':{'tooltip':{'reconnect':_0x11e3bb(0x119)}},'collabStatus':{'fetchMiss':_0x11e3bb(0x114),'conflict':'Edit\x20conflicts','notCollab':_0x11e3bb(0x124),'synced':'Synced','syncing':_0x11e3bb(0x122),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x11e3bb(0x10e),'will-retry':_0x11e3bb(0x112),'room-full':_0x11e3bb(0x111),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x11e3bb(0x11e),'content':_0x11e3bb(0x10f)},'permission':{'title':_0x11e3bb(0x11a),'content':_0x11e3bb(0x118)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x11e3bb(0x11b)},'auth':{'needGotoLoginAlert':_0x11e3bb(0x113)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x33fba1=_0x4d17;(function(_0x3ece14,_0x7a3a37){const _0x3469d0=_0x4d17,_0x53fe31=_0x3ece14();while(!![]){try{const _0x2e318e=-parseInt(_0x3469d0(0x1af))/0x1*(-parseInt(_0x3469d0(0x1ba))/0x2)+parseInt(_0x3469d0(0x1b4))/0x3*(parseInt(_0x3469d0(0x1b8))/0x4)+-parseInt(_0x3469d0(0x1ab))/0x5+-parseInt(_0x3469d0(0x1b0))/0x6*(-parseInt(_0x3469d0(0x1b7))/0x7)+parseInt(_0x3469d0(0x1a5))/0x8+parseInt(_0x3469d0(0x1a9))/0x9*(-parseInt(_0x3469d0(0x1b2))/0xa)+parseInt(_0x3469d0(0x1b9))/0xb*(-parseInt(_0x3469d0(0x1b6))/0xc);if(_0x2e318e===_0x7a3a37)break;else _0x53fe31['push'](_0x53fe31['shift']());}catch(_0x1f6880){_0x53fe31['push'](_0x53fe31['shift']());}}}(_0x5b43,0x463a0));const o={'collab-client':{'tooltip':{'reconnect':_0x33fba1(0x1b3)}},'collabStatus':{'fetchMiss':_0x33fba1(0x1ae),'conflict':_0x33fba1(0x1b1),'notCollab':_0x33fba1(0x1a7),'synced':_0x33fba1(0x1a3),'syncing':_0x33fba1(0x1b5),'offline':_0x33fba1(0x1ad)},'session':{'connection-failed':_0x33fba1(0x1aa),'will-retry':_0x33fba1(0x1ac),'room-full':_0x33fba1(0x1a4),'collaboration-timeout':_0x33fba1(0x1a8)},'conflict':{'title':'تداخل\x20همکاری','content':_0x33fba1(0x1bb)},'permission':{'title':_0x33fba1(0x1bc),'content':_0x33fba1(0x1bd)},'collaboration':{'single-unit':{'warning':_0x33fba1(0x1be)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x33fba1(0x1a6)}};function _0x5b43(){const _0x2f9711=['1308EQUUrb','159383eQzEFA','52WeOKDr','122012VDVUzR','449188XpKvwU','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','خطای\x20اعتبارسنجی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','همگام\x20سازی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','3878000MUIpXe','ورود\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شوند.','157158sDPWBI','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1604960eWZONd','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','2HAkDjg','138oapoor','تداخل\x20ویرایش','60sVrdEq','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','107265DRAhck','در\x20حال\x20همگام\x20سازی...'];_0x5b43=function(){return _0x2f9711;};return _0x5b43();}function _0x4d17(_0x8fc219,_0x513439){const _0x5b4327=_0x5b43();return _0x4d17=function(_0x4d177c,_0x28d94b){_0x4d177c=_0x4d177c-0x1a3;let _0x3cfd30=_0x5b4327[_0x4d177c];return _0x3cfd30;},_0x4d17(_0x8fc219,_0x513439);}export{o as default};
|