@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505171606 → 0.7.0-nightly.202505191607
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 +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x18ff5c=_0x4c1b;(function(_0x140bc2,_0x47bd62){const _0x102c2b=_0x4c1b,_0x2922eb=_0x140bc2();while(!![]){try{const _0x5ab462=parseInt(_0x102c2b(0xf3))/0x1+parseInt(_0x102c2b(0x1c9))/0x2+parseInt(_0x102c2b(0xe4))/0x3*(parseInt(_0x102c2b(0x1e7))/0x4)+-parseInt(_0x102c2b(0x1e1))/0x5*(parseInt(_0x102c2b(0x293))/0x6)+-parseInt(_0x102c2b(0x2c1))/0x7*(-parseInt(_0x102c2b(0x174))/0x8)+parseInt(_0x102c2b(0x211))/0x9+parseInt(_0x102c2b(0xf7))/0xa*(-parseInt(_0x102c2b(0x1cf))/0xb);if(_0x5ab462===_0x47bd62)break;else _0x2922eb['push'](_0x2922eb['shift']());}catch(_0x550213){_0x2922eb['push'](_0x2922eb['shift']());}}}(_0x5784,0xae40b));var $t=Object['defineProperty'],xt=(_0x14b7fd,_0x4639eb,_0x5624d9)=>_0x4639eb in _0x14b7fd?$t(_0x14b7fd,_0x4639eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5624d9}):_0x14b7fd[_0x4639eb]=_0x5624d9,_=(_0x5f196c,_0x5e64d6,_0x1ce36b)=>xt(_0x5f196c,typeof _0x5e64d6!=_0x18ff5c(0x203)?_0x5e64d6+'':_0x5e64d6,_0x1ce36b);import{MemberService as _0x337943,SessionStatus as _0x53ab40,CollaborationSessionService as _0x5269b4,CollaborationStatus as _0x3e07c8,CollaborationController as _0x398c8a,ILocalCacheService as _0x2b8274,CollaborationUIEventService as _0x300806,CollaborationUIEventId as _0x56e7a5,DataLoaderService as _0x5899d1,DocCollaborationEntity as _0x34944c,getLocalCacheKey as _0x3180aa,LOCAL_CACHE_INTERVAL as _0x4ee903,LOCAL_CACHE_INTERVAL_KEY as _0x457952,UniverCollaborationClientPlugin as _0x3a62c3,CollaborationSocketService as _0x5e5b98,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5ac8b8,DEFAULT_WS_SESSION_TICKET_URL as _0x3e018d,UnitStatus as _0x858842,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x419052,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4f89b8}from'@univerjs-pro/collaboration-client';function _0x4c1b(_0x3f766b,_0x212294){const _0x5784cf=_0x5784();return _0x4c1b=function(_0x4c1b05,_0x2b0cd0){_0x4c1b05=_0x4c1b05-0xe1;let _0x271ce9=_0x5784cf[_0x4c1b05];return _0x271ce9;},_0x4c1b(_0x3f766b,_0x212294);}import{RxDisposable as _0x572522,Disposable as _0xd34a60,DOC_RANGE_TYPE as _0x1659d1,Inject as _0x473cfd,Injector as _0x8841e1,IUniverInstanceService as _0x30e087,ICommandService as _0x2ee1ff,debounce as _0xe83823,Rectangle as _0x2f2449,DisposableCollection as _0x5e63ce,toDisposable as _0x17e9c7,UniverInstanceType as _0x179e2f,Tools as _0x26898c,COLORS as _0x3c1f80,ColorKit as _0x20cda0,ThemeService as _0x2b050a,fromEventSubject as _0x5bb51e,LocaleService as _0x4dd1ac,createIdentifier as _0x1946f5,ILogService as _0x375cad,Optional as _0x1794d1,Workbook as _0x569a74,CommandType as _0x31da2c,IConfigService as _0xacb8a3,ILocalStorageService as _0x259246,DependentOn as _0x59f4f6,Plugin as _0x4f5aef,merge as _0x20aa97,registerDependencies as _0x1152d2,mergeOverrideWithDependencies as _0x1c4064,touchDependencies as _0x207c15,generateRandomId as _0x4e81f6}from'@univerjs/core';import{Shape as _0x2d1f51,Rect as _0x4b56ef,getColor as _0x118a60,RegularPolygon as _0x19610a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x450fe6,Vector2 as _0x3d5ba4,SHEET_VIEWPORT_KEY as _0x4f1c70,IRenderManagerService as _0x4abec1}from'@univerjs/engine-render';import{ISocketService as _0x4345f9,WebSocketService as _0x57f7a3,HTTPService as _0x389e25}from'@univerjs/network';import{IDocClipboardService as _0x4f264c,NodePositionConvertToCursor as _0x5de6ac,NodePositionConvertToRectRange as _0x3febee,TEXT_RANGE_LAYER_INDEX as _0x35b281,SetDocZoomRatioOperation as _0x48df0d,DocIMEInputManagerService as _0x35a117,DocStateChangeManagerService as _0x3615bd}from'@univerjs/docs-ui';import{IImageIoService as _0x5e142c}from'@univerjs/drawing';import{BehaviorSubject as _0x295e0a,debounceTime as _0x5a88fe,takeUntil as _0x27b228,Subject as _0x69ce27,filter as _0x52fd0f,switchMap as _0x3b5b4e,merge as _0x2ccf73,combineLatest as _0x25ae59,of as _0x16ced9,fromEvent as _0x56024f,shareReplay as _0x57b654,mapTo as _0x59426d,distinctUntilChanged as _0x582d5d}from'rxjs';import{SetTextSelectionsOperation as _0x22b9e7,RichTextEditingMutation as _0x107721,DocSelectionManagerService as _0x52955a,DocSkeletonManagerService as _0x46e275}from'@univerjs/docs';import{ITransformService as _0x21d527,CollaborationEvent as _0x5e14ca,isTransformMutationFailure as _0x39028d,isTransformMutationsWithChangesetSuccess as _0x4e7f42,RevisionService as _0x518157,ISnapshotServerService as _0x4d8a81}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x349092,serializeRangeWithSheet as _0x170c39}from'@univerjs/engine-formula';import{RefRangeService as _0xb3a435,SetSelectionsOperation as _0x5cf579,SheetsSelectionsService as _0x16c0a1,EffectRefRangId as _0x14844f,handleIRemoveRow as _0x33c192,handleIRemoveCol as _0x1cd64c,handleMoveRange as _0x8b4dfc,handleInsertRow as _0x56fee9,handleInsertRangeMoveRight as _0x5aa753,handleInsertRangeMoveDown as _0x1d4fed,handleInsertCol as _0x2f7e91,handleDeleteRangeMoveUp as _0x2446d6,handleDeleteRangeMoveLeft as _0x3ff641,runRefRangeMutations as _0x4a411f,SetWorksheetActivateCommand as _0x2cc4e5}from'@univerjs/sheets';import{map as _0x4991c4,filter as _0x32321b,throttleTime as _0x266d64,takeUntil as _0x26c0d0,switchMap as _0x2a5996}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3a2bf2,getCoordByCell as _0x3f8d0a,getSheetObject as _0x5e4c2a}from'@univerjs/sheets-ui';import{jsx as _0x1c9464,jsxs as _0x4829fc}from'react/jsx-runtime';import{useObservable as _0x1ec0ca,useDependency as _0x2635bc,IUIPartsService as _0x2bab6f,BuiltInUIPart as _0x108acc,connectInjector as _0x5eba6f,IBeforeCloseService as _0x3f71ee,IMessageService as _0x3b3880,INotificationService as _0x209666}from'@univerjs/ui';import{Tooltip as _0x3a79c4,clsx as _0x3343a2,MessageType as _0x3d30a5}from'@univerjs/design';import{forwardRef as _0x45a4e0,useRef as _0x16d692,createElement as _0x372145,useCallback as _0x576c13}from'react';import{IRemoteInstanceService as _0x16fc83}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x4653c5,_0x148ea4,_0x49ef17,_0x10b040)=>{const _0x5c0bc1=_0x18ff5c;for(var _0x5f0031=_0x10b040>0x1?void 0x0:_0x10b040?ci(_0x148ea4,_0x49ef17):_0x148ea4,_0xf7b628=_0x4653c5[_0x5c0bc1(0x103)]-0x1,_0x12a6b0;_0xf7b628>=0x0;_0xf7b628--)(_0x12a6b0=_0x4653c5[_0xf7b628])&&(_0x5f0031=_0x12a6b0(_0x5f0031)||_0x5f0031);return _0x5f0031;},Je=(_0x22b7bc,_0x495e20)=>(_0x10a7fd,_0x4e8dd8)=>_0x495e20(_0x10a7fd,_0x4e8dd8,_0x22b7bc);let Ne=class extends _0x572522{constructor(_0x24432e,_0x33b23d){const _0x9802c2=_0x18ff5c;super(),this[_0x9802c2(0x2b9)]=_0x24432e,this[_0x9802c2(0x2a6)]=_0x33b23d,this['_init']();}[_0x18ff5c(0x164)](){const _0x569220=_0x18ff5c,_0x5b24a1=this;this[_0x569220(0x27d)](this['_docClipboardService'][_0x569220(0x1f1)]({'onBeforePasteImage':async _0x5a9c2a=>{const _0x506f6b=_0x569220,_0x4632e2=await _0x5b24a1[_0x506f6b(0x2a6)][_0x506f6b(0x190)](_0x5a9c2a);return _0x4632e2?{'source':_0x4632e2['source'],'imageSourceType':_0x4632e2[_0x506f6b(0x240)]}:null;}}));}};Ne=li([Je(0x0,_0x4f264c),Je(0x1,_0x5e142c)],Ne);const Ze=[_0x18ff5c(0x15e),_0x18ff5c(0x28b),_0x18ff5c(0x23b),_0x18ff5c(0x28c),'blue.400',_0x18ff5c(0x154)];class ke extends _0xd34a60{constructor(){const _0x5d5d6c=_0x18ff5c;super(...arguments),_(this,_0x5d5d6c(0x273),new Map()),_(this,_0x5d5d6c(0xeb),0x0);}[_0x18ff5c(0x270)](_0x127d12){const _0xe26015=_0x18ff5c;if(this[_0xe26015(0x273)][_0xe26015(0x16a)](_0x127d12))return this[_0xe26015(0x273)][_0xe26015(0x253)](_0x127d12);const _0x211099=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0xe26015(0xeb)]+0x1)%Ze[_0xe26015(0x103)],this[_0xe26015(0x273)]['set'](_0x127d12,_0x211099),_0x211099;}}function Tt(_0x87c760){const _0x223e5e=_0x18ff5c;let _0x575d4f='';for(const _0x45a050 of _0x87c760){const {startOffset:_0x1a9d1b,endOffset:_0xa6466a,isActive:_0x1dcc26,rangeType:_0x52795c,segmentId:_0x26cf80,segmentPage:_0x493a7a}=_0x45a050;_0x575d4f[_0x223e5e(0x103)]&&(_0x575d4f+=','),_0x575d4f+=_0x1a9d1b+':'+_0xa6466a+':'+(_0x1dcc26?'1':'0')+':'+_0x52795c+':'+_0x26cf80+':'+_0x493a7a;}return _0x575d4f;}function _i(_0x56e035){const _0x23979e=_0x18ff5c,_0x4bc59f=_0x56e035[_0x23979e(0x2bb)](','),_0xb84cb0=[];for(const _0xb98910 of _0x4bc59f){const [_0x3cfdf8,_0x5ab61e,_0x3512c6,_0x49d06d,_0xede345,_0x47249f]=_0xb98910[_0x23979e(0x2bb)](':');_0xb84cb0['push']({'startOffset':Number(_0x3cfdf8),'endOffset':Number(_0x5ab61e),'collapsed':_0x3cfdf8===_0x5ab61e,'isActive':_0x3512c6==='1','rangeType':_0x49d06d===_0x1659d1[_0x23979e(0x1b7)]?_0x1659d1[_0x23979e(0x1b7)]:_0x1659d1[_0x23979e(0xea)],'segmentId':typeof _0xede345==_0x23979e(0x248)?String(_0xede345):'','segmentPage':Number(_0x47249f!=null?_0x47249f:-0x1)});}return _0xb84cb0[_0x23979e(0x212)](_0x154e15=>_0x154e15[_0x23979e(0x29f)])||(_0xb84cb0[0x0][_0x23979e(0x29f)]=!0x0),_0xb84cb0;}class He extends _0x572522{constructor(){const _0x445dd6=_0x18ff5c;super(...arguments),_(this,_0x445dd6(0x2cc),new _0x295e0a(null)),_(this,_0x445dd6(0x199),this[_0x445dd6(0x2cc)][_0x445dd6(0x1b5)]());}[_0x18ff5c(0x280)](_0x8bc8d0){const _0xfca35c=_0x18ff5c,{unitID:_0x5e3d8c,memberID:_0x55a591,textRanges:_0x2b3c5e}=_0x8bc8d0,_0x399b21=Tt(_0x2b3c5e);if(_0x399b21==='')return;const _0x5930e1={'unitID':_0x5e3d8c,'memberID':_0x55a591,'selection':_0x399b21};this[_0xfca35c(0x2cc)][_0xfca35c(0x1db)](_0x5930e1);}}var hi=Object[_0x18ff5c(0x148)],ui=(_0x33738d,_0x717ad9,_0x3aec9f,_0x38d865)=>{const _0x5e215f=_0x18ff5c;for(var _0xad404b=_0x38d865>0x1?void 0x0:_0x38d865?hi(_0x717ad9,_0x3aec9f):_0x717ad9,_0x3c9f01=_0x33738d[_0x5e215f(0x103)]-0x1,_0x30de26;_0x3c9f01>=0x0;_0x3c9f01--)(_0x30de26=_0x33738d[_0x3c9f01])&&(_0xad404b=_0x30de26(_0xad404b)||_0xad404b);return _0xad404b;},L=(_0x12921b,_0x4367d3)=>(_0x56232,_0x38172a)=>_0x4367d3(_0x56232,_0x38172a,_0x12921b);const di=0x12c,fi=0x64;let Ue=class extends _0x572522{constructor(_0x281848,_0x377fb4,_0x63f8a8,_0x863297,_0xb3665a,_0x3b80e4,_0x2c69bb,_0x2d5a5f,_0x1d3b81){const _0x45283c=_0x18ff5c;super(),_(this,_0x45283c(0x20e),!0x1),_(this,_0x45283c(0x164),!0x1),_(this,_0x45283c(0xe8),new _0x295e0a(new Map())),_(this,'cursorInfo$',this[_0x45283c(0xe8)][_0x45283c(0x1b5)]()),_(this,_0x45283c(0x24a),new _0x295e0a([])),_(this,_0x45283c(0x13b),this['_roomMembers$'][_0x45283c(0x2c4)](_0x5a88fe(di))),_(this,_0x45283c(0x120),_0xe83823(_0x2651c0=>{const _0xb1f126=_0x45283c,_0x1627ba={'eventID':_0x5e14ca['UPDATE_CURSOR'],'data':{'unitID':this[_0xb1f126(0x23f)],'memberID':this[_0xb1f126(0x162)][_0xb1f126(0x24b)](),'selection':Tt(_0x2651c0)}};this['_session'][_0xb1f126(0x254)](_0x1627ba,this[_0xb1f126(0x23f)]);},fi)),(this[_0x45283c(0x23f)]=_0x281848,this[_0x45283c(0x162)]=_0x377fb4,this['_injector']=_0x63f8a8,this[_0x45283c(0x13d)]=_0x863297,this[_0x45283c(0x1e6)]=_0xb3665a,this[_0x45283c(0x1ac)]=_0x3b80e4,this[_0x45283c(0x269)]=_0x2c69bb,this[_0x45283c(0x17b)]=_0x2d5a5f,this['_commandService']=_0x1d3b81);}get[_0x18ff5c(0x178)](){const _0x46f313=_0x18ff5c;return this[_0x46f313(0xe8)]['getValue']();}get['roomMembers'](){const _0x32d1e9=_0x18ff5c;return this[_0x32d1e9(0x24a)]['getValue']();}['dispose'](){const _0x381c4b=_0x18ff5c;super[_0x381c4b(0x1a7)](),this[_0x381c4b(0xe8)][_0x381c4b(0x1db)](new Map()),this['_cursorInfo$'][_0x381c4b(0x13e)](),this[_0x381c4b(0x24a)][_0x381c4b(0x1db)]([]),this[_0x381c4b(0x24a)][_0x381c4b(0x13e)]();}[_0x18ff5c(0x204)](){const _0x14b7e9=_0x18ff5c;this[_0x14b7e9(0x164)]||(this[_0x14b7e9(0x164)]=!0x0,this[_0x14b7e9(0x162)][_0x14b7e9(0x153)][_0x14b7e9(0x2c4)](_0x27b228(this[_0x14b7e9(0x149)]))[_0x14b7e9(0x104)](_0x5c01a6=>{const _0x3e6fda=_0x14b7e9;_0x5c01a6===_0x53ab40[_0x3e6fda(0x166)]?this[_0x3e6fda(0x2cf)]():this[_0x3e6fda(0x252)]();}),this[_0x14b7e9(0x162)][_0x14b7e9(0x129)]['pipe'](_0x27b228(this[_0x14b7e9(0x149)]))[_0x14b7e9(0x104)](_0x46ff3b=>{const _0x1ffd4a=_0x14b7e9,_0x434dd3=_0x46ff3b[_0x1ffd4a(0x175)];_0x434dd3===_0x5e14ca[_0x1ffd4a(0x25c)]&&this[_0x1ffd4a(0x2ae)](_0x46ff3b),_0x434dd3===_0x5e14ca['USERS_LEAVE']&&this[_0x1ffd4a(0x1ce)](_0x46ff3b);}),this[_0x14b7e9(0x27d)](this[_0x14b7e9(0x10b)][_0x14b7e9(0x1a4)](_0x33f319=>{const _0x3f3a6d=_0x14b7e9,_0x1790e5=_0x33f319[_0x3f3a6d(0xf2)];_0x1790e5!=null&&this['_online']&&_0x33f319['id']===_0x22b9e7['id']&&_0x1790e5[_0x3f3a6d(0x296)]===this[_0x3f3a6d(0x23f)]&&_0x1790e5[_0x3f3a6d(0x188)]===!0x1&&_0x1790e5['ranges'][_0x3f3a6d(0x103)]>0x0&&this[_0x3f3a6d(0x120)](_0x1790e5['ranges']);})),this[_0x14b7e9(0x1ac)][_0x14b7e9(0x199)][_0x14b7e9(0x2c4)](_0x27b228(this[_0x14b7e9(0x149)]))[_0x14b7e9(0x104)](_0x11cdc2=>{const _0x5572f5=_0x14b7e9;if((_0x11cdc2==null?void 0x0:_0x11cdc2[_0x5572f5(0x23f)])!==this[_0x5572f5(0x23f)])return;const _0x1b5b41={'eventID':_0x5e14ca[_0x5572f5(0x25c)],'data':_0x11cdc2};this[_0x5572f5(0x2ae)](_0x1b5b41);}),this[_0x14b7e9(0x27d)](this[_0x14b7e9(0x10b)]['onCommandExecuted'](_0x3bb340=>{const _0x4aefb4=_0x14b7e9;if(_0x3bb340['params']==null)return;const _0x359d6a=_0x3bb340[_0x4aefb4(0xf2)];if(_0x3bb340['id']!==_0x107721['id']||_0x359d6a[_0x4aefb4(0x296)]!==this[_0x4aefb4(0x23f)])return;const _0x5279f1={'id':_0x4aefb4(0x2c7),'params':_0x359d6a},_0x390d18=this[_0x4aefb4(0x178)];for(const [_0x55e9c3,_0xdea40d]of _0x390d18){const _0x51a26f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4aefb4(0x23f)],'actions':null,'textRanges':_0xdea40d[_0x4aefb4(0x2b0)]}},_0x4c2d00=this[_0x4aefb4(0x269)][_0x4aefb4(0x245)](_0x5279f1,_0x51a26f,!0x1);if(_0x39028d(_0x4c2d00))throw _0x4c2d00[_0x4aefb4(0x17e)];_0x390d18[_0x4aefb4(0x136)](_0x55e9c3,{..._0xdea40d,'ranges':_0x4c2d00['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x5c36cb=_0x4aefb4;this[_0x5c36cb(0xe8)][_0x5c36cb(0x1db)](_0x390d18);});})));}[_0x18ff5c(0x2ae)](_0x4f1618){const _0x1b9677=_0x18ff5c;var _0xa40fe,_0x3c1520;const {memberID:_0x11ad88,selection:_0x28f81b}=_0x4f1618[_0x1b9677(0x18f)],_0xa93f0f=_i(_0x28f81b),_0x4cc126=(_0x3c1520=(_0xa40fe=this[_0x1b9677(0x1e6)]['getMember'](this[_0x1b9677(0x23f)],_0x11ad88))==null?void 0x0:_0xa40fe[_0x1b9677(0x2bf)])!=null?_0x3c1520:_0x1b9677(0x19a),_0x20b4a5={'color':this[_0x1b9677(0x13d)][_0x1b9677(0x270)](_0x11ad88),'name':_0x4cc126,'ranges':_0xa93f0f},_0x698e97=this[_0x1b9677(0x178)];_0x698e97[_0x1b9677(0x136)](_0x11ad88,_0x20b4a5),this[_0x1b9677(0xe8)][_0x1b9677(0x1db)](_0x698e97);}[_0x18ff5c(0x1ce)](_0x356777){const _0x192e75=_0x18ff5c,{memberID:_0x572a61}=_0x356777[_0x192e75(0x18f)],_0x5c0797=this['cursorInfo'];_0x5c0797[_0x192e75(0x2d3)](_0x572a61),this[_0x192e75(0xe8)][_0x192e75(0x1db)](_0x5c0797);}[_0x18ff5c(0x2cf)](){const _0x350b96=_0x18ff5c;var _0x353fa9;if(this[_0x350b96(0x20e)]=!0x0,((_0x353fa9=this[_0x350b96(0x17b)][_0x350b96(0x11e)]())==null?void 0x0:_0x353fa9[_0x350b96(0x18e)]())!==this[_0x350b96(0x23f)])return;const _0x348545=this[_0x350b96(0x224)][_0x350b96(0x253)](_0x52955a)[_0x350b96(0x16f)]();Array[_0x350b96(0x112)](_0x348545)&&_0x348545[_0x350b96(0x103)]>0x0&&this[_0x350b96(0x120)](_0x348545);}[_0x18ff5c(0x252)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x473cfd(_0x8841e1)),L(0x3,_0x473cfd(ke)),L(0x4,_0x473cfd(_0x337943)),L(0x5,_0x473cfd(He)),L(0x6,_0x21d527),L(0x7,_0x30e087),L(0x8,_0x2ee1ff)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x3ce6f0,_0x3110a7,_0xbb54c9,_0x1ab05e)=>{const _0x4541ae=_0x18ff5c;for(var _0xe06b6e=_0x1ab05e>0x1?void 0x0:_0x1ab05e?Si(_0x3110a7,_0xbb54c9):_0x3110a7,_0x13a90d=_0x3ce6f0[_0x4541ae(0x103)]-0x1,_0x519c96;_0x13a90d>=0x0;_0x13a90d--)(_0x519c96=_0x3ce6f0[_0x13a90d])&&(_0xe06b6e=_0x519c96(_0xe06b6e)||_0xe06b6e);return _0xe06b6e;},x=(_0x405583,_0x588ae1)=>(_0x555d10,_0x1a8e8e)=>_0x588ae1(_0x555d10,_0x1a8e8e,_0x405583);const gi=0x12c,Ii=0x64,vi=()=>{let _0x1fa40e=[],_0x12bfdf=!0x1;return _0x38672d=>{const _0x697a7a=_0x4c1b;_0x1fa40e[_0x697a7a(0x1a9)](_0x38672d),_0x12bfdf||(_0x12bfdf=!0x0,setTimeout(()=>{const _0x1bf8b5=_0x697a7a;_0x1fa40e[_0x1bf8b5(0x12e)](_0x36354d=>_0x36354d()),_0x1fa40e=[],_0x12bfdf=!0x1;}));};};let Me=class extends _0x572522{constructor(_0x1dc69b,_0x4fa8c1,_0x937564,_0x26560d,_0x1a7bb8,_0xc2e0d0,_0x3d262f,_0x5b5f6a){const _0x46160e=_0x18ff5c;super(),_(this,_0x46160e(0x20e),!0x1),_(this,'_init',!0x1),_(this,_0x46160e(0xe8),new _0x295e0a(new Map())),_(this,_0x46160e(0x1c5),this[_0x46160e(0xe8)][_0x46160e(0x1b5)]()),_(this,_0x46160e(0x24a),new _0x295e0a([])),_(this,_0x46160e(0x13b),this['_roomMembers$'][_0x46160e(0x2c4)](_0x5a88fe(gi))),_(this,_0x46160e(0x120),_0xe83823((_0x27a511,_0x20b73d)=>{const _0x2db38d=_0x46160e,_0x22e7a1={'eventID':_0x5e14ca['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x2db38d(0x162)]['getMemberID'](),'selection':_0x170c39(_0x27a511,_0x20b73d[_0x2db38d(0x256)])}};this[_0x2db38d(0x162)][_0x2db38d(0x254)](_0x22e7a1,this[_0x2db38d(0x23f)]);},Ii)),(this[_0x46160e(0x23f)]=_0x1dc69b,this['_session']=_0x4fa8c1,this[_0x46160e(0x224)]=_0x937564,this['_colorAssignService']=_0x26560d,this[_0x46160e(0x1e6)]=_0x1a7bb8,this[_0x46160e(0x17b)]=_0xc2e0d0,this['_commandService']=_0x3d262f,this[_0x46160e(0x14e)]=_0x5b5f6a);}get[_0x18ff5c(0x178)](){const _0x4d8558=_0x18ff5c;return this[_0x4d8558(0xe8)][_0x4d8558(0x22b)]();}get['roomMembers'](){const _0x26d452=_0x18ff5c;return this[_0x26d452(0x24a)][_0x26d452(0x22b)]();}[_0x18ff5c(0x1a7)](){const _0x3b8190=_0x18ff5c;super[_0x3b8190(0x1a7)](),this[_0x3b8190(0xe8)]['next'](new Map()),this[_0x3b8190(0xe8)][_0x3b8190(0x13e)](),this[_0x3b8190(0x24a)][_0x3b8190(0x1db)]([]),this[_0x3b8190(0x24a)]['complete']();}[_0x18ff5c(0x204)](){const _0x51b1bd=_0x18ff5c;this[_0x51b1bd(0x164)]||(this[_0x51b1bd(0x164)]=!0x0,this[_0x51b1bd(0x162)]['sessionStatus$'][_0x51b1bd(0x2c4)](_0x27b228(this[_0x51b1bd(0x149)]))[_0x51b1bd(0x104)](_0x1513d4=>{const _0x47e722=_0x51b1bd;_0x1513d4===_0x53ab40[_0x47e722(0x166)]?this[_0x47e722(0x2cf)]():this['_toggleOffline']();}),this[_0x51b1bd(0x162)]['event$'][_0x51b1bd(0x2c4)](_0x27b228(this['dispose$']))[_0x51b1bd(0x104)](_0x2c3844=>{const _0x4b2fb2=_0x51b1bd,_0x5f2eb3=_0x2c3844[_0x4b2fb2(0x175)];_0x5f2eb3===_0x5e14ca[_0x4b2fb2(0x25c)]&&this[_0x4b2fb2(0x2ae)](_0x2c3844),_0x5f2eb3===_0x5e14ca[_0x4b2fb2(0xfc)]&&this[_0x4b2fb2(0x1ce)](_0x2c3844);}),this['_onRefRangeChange'](),this[_0x51b1bd(0x27d)](this[_0x51b1bd(0x10b)][_0x51b1bd(0x1a4)](_0x13605b=>{const _0x47aed1=_0x51b1bd;if(this[_0x47aed1(0x20e)]&&_0x13605b['id']===_0x5cf579['id']&&_0x13605b['params'][_0x47aed1(0x296)]===this[_0x47aed1(0x23f)]){const _0x22931e=_0x13605b[_0x47aed1(0xf2)];this['_updateLocalCursor'](_0x22931e[_0x47aed1(0xfd)],_0x22931e[_0x47aed1(0x1dd)][0x0]);}})));}[_0x18ff5c(0x2ae)](_0x2ec21f){const _0xffc0d6=_0x18ff5c;var _0x4e6421,_0x159db4;const {memberID:_0x3cb74c,selection:_0xfec36f}=_0x2ec21f['data'],{sheetName:_0x31f141,range:_0x2a0568}=_0x349092(_0xfec36f),_0x11c993={'name':(_0x159db4=(_0x4e6421=this[_0xffc0d6(0x1e6)][_0xffc0d6(0x229)](this[_0xffc0d6(0x23f)],_0x3cb74c))==null?void 0x0:_0x4e6421[_0xffc0d6(0x2bf)])!=null?_0x159db4:_0xffc0d6(0x19a),'range':this[_0xffc0d6(0x16b)](_0x31f141,_0x2a0568),'sheetID':_0x31f141,'color':this[_0xffc0d6(0x13d)]['assignAColorForMemberID'](_0x3cb74c),'selection':_0xfec36f},_0x39870b=this[_0xffc0d6(0x178)];_0x39870b[_0xffc0d6(0x136)](_0x3cb74c,_0x11c993),this[_0xffc0d6(0xe8)][_0xffc0d6(0x1db)](_0x39870b);}[_0x18ff5c(0x1ce)](_0x1d23ce){const _0x4c9402=_0x18ff5c,{memberID:_0x5e6f95}=_0x1d23ce['data'],_0x3e14a5=this[_0x4c9402(0x178)];_0x3e14a5['delete'](_0x5e6f95),this[_0x4c9402(0xe8)][_0x4c9402(0x1db)](_0x3e14a5);}[_0x18ff5c(0x16b)](_0x54dd5e,_0x2d2ab9){const _0x2ede15=_0x18ff5c;var _0x288542,_0x23b2ff;const _0x23382b=(_0x23b2ff=(_0x288542=this[_0x2ede15(0x17b)][_0x2ede15(0x1ea)](this[_0x2ede15(0x23f)]))==null?void 0x0:_0x288542['getSheetBySheetId'](_0x54dd5e))==null?void 0x0:_0x23b2ff[_0x2ede15(0x239)]();return(_0x23382b==null?void 0x0:_0x23382b[_0x2ede15(0x29c)](_0x3e4694=>_0x2f2449[_0x2ede15(0x2a3)](_0x3e4694,_0x2d2ab9)))||_0x2d2ab9;}[_0x18ff5c(0x261)](){const _0x3238e1=_0x18ff5c,_0x1d70b4=new _0x5e63ce(),_0x3fb2c2=vi(),_0x4375ca=()=>{const _0x5d4add=_0x4c1b;_0x1d70b4['dispose']();const _0x5813ca=(_0x1a2c51,_0x58209f,_0xf76024,_0x56941f)=>{const _0x5d317c=_0x4c1b;let _0x3c226b=[];switch(_0x1a2c51['id']){case _0x14844f[_0x5d317c(0x12d)]:{_0x3c226b=_0x3ff641(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x24e)]:{_0x3c226b=_0x2446d6(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x226)]:{_0x3c226b=_0x2f7e91(_0x1a2c51,_0x56941f);break;}case _0x14844f['InsertRangeMoveDownCommandId']:{_0x3c226b=_0x1d4fed(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x20f)]:{_0x3c226b=_0x5aa753(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x2e0)]:{_0x3c226b=_0x56fee9(_0x1a2c51,_0x56941f);break;}case _0x14844f['MoveRangeCommandId']:{_0x3c226b=_0x8b4dfc(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x1ed)]:{_0x3c226b=_0x1cd64c(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x143)]:{_0x3c226b=_0x33c192(_0x1a2c51,_0x56941f);break;}}const _0x25626a=_0x4a411f(_0x3c226b,_0x56941f),_0x10531b=this['cursorInfo']['get'](_0x58209f);if(_0x10531b&&_0x25626a){const _0x2a3117={..._0x10531b,'range':_0x25626a};this[_0x5d317c(0x178)][_0x5d317c(0x136)](_0x58209f,_0x2a3117),_0x3fb2c2(()=>{const _0x4a0820=_0x5d317c,_0x184a45=this[_0x4a0820(0x14e)][_0x4a0820(0x2b3)](_0x25626a,_0x5943e9=>(_0x184a45[_0x4a0820(0x1a7)](),_0x5813ca(_0x5943e9,_0x58209f,_0xf76024,_0x25626a)));_0x1d70b4[_0x4a0820(0x16c)](_0x184a45);});}return{'redos':[],'undos':[]};};this[_0x5d4add(0x178)][_0x5d4add(0x12e)]((_0x998e4e,_0x243521)=>{const _0x3fa513=_0x5d4add,{range:_0x57fdaf,sheetID:_0x32aaf0}=_0x998e4e,_0x30ab0f=this[_0x3fa513(0x14e)][_0x3fa513(0x2b3)](_0x57fdaf,_0x312be8=>(_0x30ab0f[_0x3fa513(0x1a7)](),_0x5813ca(_0x312be8,_0x243521,_0x32aaf0,_0x57fdaf)));_0x1d70b4[_0x3fa513(0x16c)](_0x30ab0f);});};this['disposeWithMe'](_0x17e9c7(this[_0x3238e1(0xe8)][_0x3238e1(0x104)](()=>{_0x4375ca();})));}[_0x18ff5c(0x2cf)](){const _0x3ac1df=_0x18ff5c;var _0x520cb9,_0x565c2e;if(this[_0x3ac1df(0x20e)]=!0x0,((_0x520cb9=this[_0x3ac1df(0x17b)][_0x3ac1df(0x11e)]())==null?void 0x0:_0x520cb9[_0x3ac1df(0x18e)]())!==this[_0x3ac1df(0x23f)])return;const _0x3ea0ba=(_0x565c2e=this[_0x3ac1df(0x224)][_0x3ac1df(0x253)](_0x16c0a1)['getCurrentSelections']())==null?void 0x0:_0x565c2e[0x0],_0x4ca652=this[_0x3ac1df(0x17b)][_0x3ac1df(0x191)](_0x179e2f[_0x3ac1df(0x169)])[_0x3ac1df(0x124)]();_0x3ea0ba&&_0x4ca652&&this[_0x3ac1df(0x120)](_0x4ca652[_0x3ac1df(0x1f2)](),_0x3ea0ba);}['_toggleOffline'](){const _0x259435=_0x18ff5c;this[_0x259435(0x20e)]=!0x1;}};Me=mi([x(0x2,_0x473cfd(_0x8841e1)),x(0x3,_0x473cfd(ke)),x(0x4,_0x473cfd(_0x337943)),x(0x5,_0x30e087),x(0x6,_0x2ee1ff),x(0x7,_0x473cfd(_0xb3a435))],Me);var pi=Object[_0x18ff5c(0x148)],Ci=(_0x4993bf,_0x4521cf,_0x596e1e,_0x249a5e)=>{for(var _0x1d11cb=_0x249a5e>0x1?void 0x0:_0x249a5e?pi(_0x4521cf,_0x596e1e):_0x4521cf,_0x50157d=_0x4993bf['length']-0x1,_0x3fea47;_0x50157d>=0x0;_0x50157d--)(_0x3fea47=_0x4993bf[_0x50157d])&&(_0x1d11cb=_0x3fea47(_0x1d11cb)||_0x1d11cb);return _0x1d11cb;},Se=(_0x4c0bf4,_0xbf4ca0)=>(_0x339874,_0x2eace8)=>_0xbf4ca0(_0x339874,_0x2eace8,_0x4c0bf4);let H=class extends _0x572522{constructor(_0x3c2c3c,_0x246d89,_0x6d0a66){const _0x9b46d=_0x18ff5c;super(),_(this,'_entities',new Map()),_(this,_0x9b46d(0x171),new _0x69ce27()),(this[_0x9b46d(0x17b)]=_0x3c2c3c,this[_0x9b46d(0x224)]=_0x246d89,this['_collabSessionService']=_0x6d0a66,this[_0x9b46d(0x164)]());}[_0x18ff5c(0x1a7)](){const _0x3c2243=_0x18ff5c;super[_0x3c2243(0x1a7)](),this[_0x3c2243(0x171)][_0x3c2243(0x13e)](),this[_0x3c2243(0x179)]['forEach'](_0x900520=>_0x900520[_0x3c2243(0x1a7)]());}['getCollabCursors$'](_0x1fc60c){const _0x575116=_0x18ff5c;return this['_entities'][_0x575116(0x16a)](_0x1fc60c)?this['_entities'][_0x575116(0x253)](_0x1fc60c)[_0x575116(0x1c5)]:this[_0x575116(0x171)][_0x575116(0x2c4)](_0x52fd0f(_0x297931=>_0x297931[_0x575116(0x23f)]===_0x1fc60c),_0x3b5b4e(_0x447c9f=>_0x447c9f[_0x575116(0x1c5)]));}[_0x18ff5c(0x164)](){const _0xab197c=_0x18ff5c;this['_univerInstanceService'][_0xab197c(0x219)](_0x179e2f[_0xab197c(0x169)])[_0xab197c(0x2c4)](_0x27b228(this['dispose$']))['subscribe'](async _0xde9798=>{const _0x3a7760=_0xab197c,_0x26ef2f=_0xde9798[_0x3a7760(0x18e)](),_0x182cbf=await this[_0x3a7760(0x246)](_0x26ef2f);this[_0x3a7760(0x171)][_0x3a7760(0x1db)](_0x182cbf),this['_entities'][_0x3a7760(0x136)](_0x26ef2f,_0x182cbf);}),this['_univerInstanceService'][_0xab197c(0x219)](_0x179e2f[_0xab197c(0x25f)])[_0xab197c(0x2c4)](_0x27b228(this[_0xab197c(0x149)]))['pipe'](_0x52fd0f(_0x43c61a=>!_0x43c61a[_0xab197c(0x18e)]()[_0xab197c(0x132)]('__')))[_0xab197c(0x104)](async _0x1c10d1=>{const _0x140a2a=_0xab197c,_0x50b827=_0x1c10d1['getUnitId'](),_0x28c364=await this[_0x140a2a(0xfb)](_0x50b827);this[_0x140a2a(0x171)][_0x140a2a(0x1db)](_0x28c364),this['_entities'][_0x140a2a(0x136)](_0x50b827,_0x28c364);}),_0x2ccf73(this[_0xab197c(0x17b)][_0xab197c(0x28f)](_0x179e2f[_0xab197c(0x25f)]),this[_0xab197c(0x17b)][_0xab197c(0x28f)](_0x179e2f[_0xab197c(0x169)]))[_0xab197c(0x2c4)](_0x27b228(this[_0xab197c(0x149)]))['subscribe'](_0x26a4da=>{const _0x47981a=_0xab197c,_0x2b2f17=_0x26a4da[_0x47981a(0x18e)](),_0x354067=this[_0x47981a(0x179)]['get'](_0x2b2f17);_0x354067&&(_0x354067[_0x47981a(0x1a7)](),this[_0x47981a(0x179)][_0x47981a(0x2d3)](_0x2b2f17));});}async[_0x18ff5c(0x246)](_0xf0fb20){const _0x4ddd57=_0x18ff5c,_0x5498f5=await this[_0x4ddd57(0x24f)]['requireSession'](_0xf0fb20),_0x33c28b=this[_0x4ddd57(0x224)][_0x4ddd57(0xf6)](Me,_0xf0fb20,_0x5498f5);return _0x33c28b[_0x4ddd57(0x204)](),_0x33c28b;}async['_startDocCollabCursor'](_0xe23475){const _0xd8d8cd=_0x18ff5c,_0xa4df6f=await this[_0xd8d8cd(0x24f)][_0xd8d8cd(0x13c)](_0xe23475),_0x38f00d=this[_0xd8d8cd(0x224)][_0xd8d8cd(0xf6)](Ue,_0xe23475,_0xa4df6f);return _0x38f00d['init'](),_0x38f00d;}};H=Ci([Se(0x0,_0x30e087),Se(0x1,_0x473cfd(_0x8841e1)),Se(0x2,_0x473cfd(_0x5269b4))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x42fde8,_0x5741d7){const _0x253e53=_0x18ff5c;let {radius:_0x5297c0,width:_0x2a227a,height:_0x5e2e36}=_0x5741d7;_0x5297c0=_0x5297c0!=null?_0x5297c0:0x0,_0x2a227a=_0x2a227a!=null?_0x2a227a:0x1e,_0x5e2e36=_0x5e2e36!=null?_0x5e2e36:0x1e;let _0x51f035=0x0,_0x59426b=0x0,_0x5b0a1e=0x0;_0x51f035=_0x59426b=_0x5b0a1e=Math[_0x253e53(0x156)](_0x5297c0,_0x2a227a/0x2,_0x5e2e36/0x2),_0x42fde8[_0x253e53(0x23e)](),_0x42fde8[_0x253e53(0x225)](_0x51f035,0x0),_0x42fde8['lineTo'](_0x2a227a-_0x59426b,0x0),_0x42fde8[_0x253e53(0x151)](_0x2a227a-_0x59426b,_0x59426b,_0x59426b,Math['PI']*0x3/0x2,0x0,!0x1),_0x42fde8['lineTo'](_0x2a227a,_0x5e2e36-_0x5b0a1e),_0x42fde8[_0x253e53(0x151)](_0x2a227a-_0x5b0a1e,_0x5e2e36-_0x5b0a1e,_0x5b0a1e,0x0,Math['PI']/0x2,!0x1),_0x42fde8[_0x253e53(0x139)](0x0,_0x5e2e36),_0x42fde8[_0x253e53(0x139)](0x0,_0x51f035),_0x42fde8[_0x253e53(0x151)](_0x51f035,_0x51f035,_0x51f035,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x42fde8[_0x253e53(0x11f)](),_0x5741d7[_0x253e53(0x11a)]&&(_0x42fde8[_0x253e53(0x10d)](),_0x42fde8['fillStyle']=_0x5741d7[_0x253e53(0x11a)],_0x5741d7['fillRule']===_0x253e53(0x21d)?_0x42fde8['fill'](_0x253e53(0x21d)):_0x42fde8[_0x253e53(0x11a)](),_0x42fde8[_0x253e53(0x281)]());}class he extends _0x2d1f51{constructor(_0x596751,_0x46a2f5){const _0x2e5b1b=_0x18ff5c;super(_0x596751,_0x46a2f5),_(this,_0x2e5b1b(0x17a)),_(this,'text'),(this[_0x2e5b1b(0x17a)]=_0x46a2f5==null?void 0x0:_0x46a2f5[_0x2e5b1b(0x17a)],this[_0x2e5b1b(0x1d4)]=_0x46a2f5==null?void 0x0:_0x46a2f5[_0x2e5b1b(0x1d4)]);}static[_0x18ff5c(0x1ee)](_0x2e81df,_0x198734){const _0x1afc47=_0x18ff5c,{text:_0x2ea912,color:_0x27e6c7}=_0x198734;_0x2e81df[_0x1afc47(0x10d)](),_0x2e81df[_0x1afc47(0x285)]=_0x1afc47(0x1c6);const _0x28cd9c=_0x2e81df[_0x1afc47(0x255)](_0x2ea912)['width'],_0x3d255d=Math[_0x1afc47(0x156)](_0x28cd9c+0x2*me,Qe);Oi(_0x2e81df,{'height':ee,'radius':0x4,'width':_0x3d255d,'fill':_0x27e6c7}),_0x2e81df['fillStyle']=_0x1afc47(0x1f5);const _0x54e5c5=me,_0x55be20=ee-Ei,_0x52fe79=Qe-0x2*me;if(_0x28cd9c>_0x52fe79){let _0xcc7f09='',_0x575bc9=0x0;for(const _0x4abf89 of _0x2ea912){const _0x4b944c=_0x2e81df[_0x1afc47(0x255)](_0x4abf89)[_0x1afc47(0x15f)];if(_0x575bc9+_0x4b944c<=_0x52fe79-_0x2e81df[_0x1afc47(0x255)](_0x1afc47(0x1fa))[_0x1afc47(0x15f)])_0xcc7f09+=_0x4abf89,_0x575bc9+=_0x4b944c;else{_0xcc7f09+=_0x1afc47(0x1fa);break;}}_0x2e81df[_0x1afc47(0x2aa)](_0xcc7f09,_0x54e5c5,_0x55be20);}else _0x2e81df[_0x1afc47(0x2aa)](_0x2ea912,_0x54e5c5,_0x55be20);_0x2e81df[_0x1afc47(0x281)]();}[_0x18ff5c(0x1bd)](_0x4f41ea){const _0x3018b4=_0x18ff5c;he[_0x3018b4(0x1ee)](_0x4f41ea,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x18ff5c(0x2bd),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x18ff5c(0x298);class qe{constructor(_0x32104f,_0x2ab92f,_0x53df2b,_0x4780be){const _0x2fb007=_0x18ff5c;_(this,_0x2fb007(0x214),[]),_(this,'_anchor',null),_(this,_0x2fb007(0x208),null),_(this,'_anchorDot',null),_(this,_0x2fb007(0x2cb),null),_(this,_0x2fb007(0x2d2),null),(this[_0x2fb007(0x1bc)]=_0x32104f,this['_scene']=_0x2ab92f,this['_docSkeleton']=_0x53df2b,this['_document']=_0x4780be,this[_0x2fb007(0x1e8)]());}set['_hover'](_0x815601){const _0x366d63=_0x18ff5c;_0x815601?(this[_0x366d63(0x173)]&&this[_0x366d63(0x173)][_0x366d63(0x1ab)](),this[_0x366d63(0x208)]&&this[_0x366d63(0x208)]['show']()):(this['_anchorDot']&&this[_0x366d63(0x173)][_0x366d63(0x216)](),this[_0x366d63(0x208)]&&this[_0x366d63(0x208)][_0x366d63(0x1ab)]());}[_0x18ff5c(0x1a7)](){const _0x583e43=_0x18ff5c;for(const _0x2617cc of this[_0x583e43(0x214)])_0x2617cc[_0x583e43(0x1a7)]();this[_0x583e43(0x208)]&&this[_0x583e43(0x208)][_0x583e43(0x1a7)](),this['_anchorDot']&&this[_0x583e43(0x173)][_0x583e43(0x1a7)](),this[_0x583e43(0x16d)]&&this['_anchor'][_0x583e43(0x1a7)](),this[_0x583e43(0x2d2)]&&this[_0x583e43(0x2d2)]();}[_0x18ff5c(0x1e8)](){const _0x1f9766=_0x18ff5c;var _0x46ad8a;const {_docSkeleton:_0xfd488e,_document:_0x500f21}=this,{color:_0x17304e,name:_0x404bb0,ranges:_0x4bf840}=this['_cursor'],_0x5c0dd3=_0x500f21[_0x1f9766(0x15a)](),{docsLeft:_0x401a25,docsTop:_0x1d820b}=_0x5c0dd3,_0x588dc1=new _0x5de6ac(_0x5c0dd3,_0xfd488e);for(const {startOffset:_0x2d51e5,endOffset:_0x2ece1e,rangeType:_0x4e1b32,segmentId:_0x46ef8d,segmentPage:_0x1b1952,collapsed:_0x306712,isActive:_0x253101}of _0x4bf840){const _0x372be2=_0xfd488e[_0x1f9766(0x152)](_0x2d51e5,!0x0,_0x46ef8d,_0x1b1952);let _0x1ec98e=_0xfd488e['findNodePositionByCharIndex'](_0x2ece1e,!0x0,_0x46ef8d,_0x1b1952);if(_0x1ec98e==null&&(_0x1ec98e=_0xfd488e[_0x1f9766(0x152)](_0x2ece1e-0x1,!0x1,_0x46ef8d,_0x1b1952)),_0x253101){const {contentBoxPointGroup:_0x5bde45}=_0x588dc1[_0x1f9766(0x265)](_0x1ec98e,_0x1ec98e);if(_0x5bde45['length']===0x0)continue;this[_0x1f9766(0x18a)](_0x17304e,_0x5bde45,_0x401a25,_0x1d820b,_0x404bb0),this[_0x1f9766(0x2d2)]=this[_0x1f9766(0x2b8)]();}if(_0x372be2&&_0x1ec98e){if(_0x4e1b32===_0x1659d1[_0x1f9766(0xea)]){const _0x4692a8=new _0x3febee(_0x5c0dd3,_0xfd488e),{pointGroup:_0x43c611}=(_0x46ad8a=_0x4692a8[_0x1f9766(0x265)](_0x372be2,_0x1ec98e))!=null?_0x46ad8a:{};if(_0x43c611==null||_0x43c611[_0x1f9766(0x103)]===0x0)continue;this[_0x1f9766(0x137)](_0x17304e,_0x43c611,_0x401a25,_0x1d820b);}else{if(!_0x306712){const {borderBoxPointGroup:_0x340428}=_0x588dc1[_0x1f9766(0x265)](_0x372be2,_0x1ec98e);if(_0x340428[_0x1f9766(0x103)]===0x0)continue;this[_0x1f9766(0x1ef)](_0x17304e,_0x340428,_0x401a25,_0x1d820b);}}}}}['_drawAnchor'](_0x25e50f,_0xa1698b,_0x4a64ca,_0x3b42f5,_0xb09fef){const _0x2d0487=_0x18ff5c,_0x373ca6=this[_0x2d0487(0x107)](_0xa1698b),{left:_0x16db42,top:_0x33314a,height:_0x1e1186}=_0x373ca6,_0x17dcf4=this[_0x2d0487(0x2d7)](),_0x570dcc=Di/_0x17dcf4,_0x157bb4=new _0x4b56ef(ge+_0x26898c[_0x2d0487(0x198)](X),{'left':_0x16db42+_0x4a64ca-_0x570dcc,'top':_0x33314a+_0x3b42f5,'height':_0x1e1186,'width':Ri,'fill':_0x25e50f||_0x118a60(_0x3c1f80[_0x2d0487(0x289)],0x0),'strokeWidth':_0x570dcc,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x157bb4,this[_0x2d0487(0x20b)][_0x2d0487(0x222)](_0x157bb4,_0x35b281);const _0x3a02a4=new _0x4b56ef(ge+_0x26898c[_0x2d0487(0x198)](X),{'left':_0x16db42+_0x4a64ca-_0x570dcc,'top':_0x33314a+_0x3b42f5-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x25e50f||_0x118a60(_0x3c1f80[_0x2d0487(0x289)],0x0),'strokeWidth':0x0,'stroke':_0x25e50f||_0x118a60(_0x3c1f80['black'],0x0),'evented':!0x1});this[_0x2d0487(0x173)]=_0x3a02a4,this['_scene'][_0x2d0487(0x222)](_0x3a02a4,_0x35b281);const _0x24e934=new he(ge+_0x26898c['generateRandomId'](X),{'left':_0x16db42+_0x4a64ca-_0x570dcc,'top':_0x33314a+_0x3b42f5-ee,'text':_0xb09fef,'color':_0x25e50f});this[_0x2d0487(0x208)]=_0x24e934,this[_0x2d0487(0x20b)]['addObject'](_0x24e934,_0x35b281),this[_0x2d0487(0x227)]=!0x1;}[_0x18ff5c(0x2b8)](){const _0x52c725=_0x18ff5c,_0x59fbde=this[_0x52c725(0x16d)][_0x52c725(0x1e9)][_0x52c725(0x12f)](()=>{const _0x40439d=_0x52c725;this[_0x40439d(0x227)]=!0x0;}),_0x1b299f=this[_0x52c725(0x16d)][_0x52c725(0x15c)]['subscribeEvent'](()=>{const _0x13aa78=_0x52c725;this[_0x13aa78(0x2cb)]&&clearTimeout(this[_0x13aa78(0x2cb)]),this[_0x13aa78(0x2cb)]=setTimeout(()=>{const _0x29cea8=_0x13aa78;this[_0x29cea8(0x227)]=!0x1;},0x7d0);});return()=>{_0x59fbde['unsubscribe'](),_0x1b299f['unsubscribe']();};}[_0x18ff5c(0x1ef)](_0x4cf442,_0x526439,_0xb3b252,_0x292e1e){const _0x1d9940=_0x18ff5c,_0xb0afb=new _0x20cda0(_0x4cf442)[_0x1d9940(0x138)](0.2)[_0x1d9940(0x2a1)](),_0x2365b7=new _0x19610a(bi+_0x26898c['generateRandomId'](X),{'pointsGroup':_0x526439,'fill':_0xb0afb||_0x118a60(_0x3c1f80[_0x1d9940(0x289)],0.2),'left':_0xb3b252,'top':_0x292e1e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d9940(0x214)][_0x1d9940(0x1a9)](_0x2365b7),this['_scene'][_0x1d9940(0x222)](_0x2365b7,_0x35b281);}['_drawRectRange'](_0xf9757b,_0x5dcb34,_0x48521b,_0x293127){const _0x49ea91=_0x18ff5c,_0x231ada=new _0x20cda0(_0xf9757b)[_0x49ea91(0x138)](0.2)[_0x49ea91(0x2a1)](),_0x9d0a20=new _0x19610a(Ti+_0x26898c[_0x49ea91(0x198)](X),{'pointsGroup':_0x5dcb34,'fill':_0x231ada||_0x118a60(_0x3c1f80[_0x49ea91(0x289)],0.2),'left':_0x48521b,'top':_0x293127,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49ea91(0x214)][_0x49ea91(0x1a9)](_0x9d0a20),this[_0x49ea91(0x20b)][_0x49ea91(0x222)](_0x9d0a20,_0x35b281);}[_0x18ff5c(0x107)](_0x333c71){const _0x43368e=_0x333c71[0x0],_0x3098bf=_0x43368e[0x0],_0x118d94=_0x43368e[0x2],{x:_0x333773,y:_0x198f5e}=_0x3098bf,{x:_0x5c201b,y:_0x428fd9}=_0x118d94;return{'left':_0x333773,'top':_0x198f5e,'width':_0x5c201b-_0x333773,'height':_0x428fd9-_0x198f5e};}[_0x18ff5c(0x2d7)](){const _0x250246=_0x18ff5c,{scaleX:_0x38c4cc,scaleY:_0x368bcc}=this[_0x250246(0x20b)]['getAncestorScale']();return Math['max'](_0x38c4cc,_0x368bcc);}}var Ui=Object[_0x18ff5c(0x148)],Mi=(_0x2e3512,_0x5162e3,_0x5042ef,_0x326400)=>{for(var _0x484734=_0x326400>0x1?void 0x0:_0x326400?Ui(_0x5162e3,_0x5042ef):_0x5162e3,_0x7be16d=_0x2e3512['length']-0x1,_0xbaa52f;_0x7be16d>=0x0;_0x7be16d--)(_0xbaa52f=_0x2e3512[_0x7be16d])&&(_0x484734=_0xbaa52f(_0x484734)||_0x484734);return _0x484734;},Z=(_0x16d014,_0x53e855)=>(_0x294b5b,_0x12bc9a)=>_0x53e855(_0x294b5b,_0x12bc9a,_0x16d014);let Pe=class extends _0x572522{constructor(_0x262e6b,_0x52bf2d,_0xd8d28b,_0x59ea60,_0xee5f3c){const _0x3323e4=_0x18ff5c;super(),_(this,_0x3323e4(0xef),[]),_(this,_0x3323e4(0x1a8),[]),(this['_context']=_0x262e6b,this[_0x3323e4(0x2ca)]=_0x52bf2d,this[_0x3323e4(0x2c6)]=_0xd8d28b,this['_commandService']=_0x59ea60,this[_0x3323e4(0x14c)]=_0xee5f3c,this[_0x3323e4(0x164)]());}[_0x18ff5c(0x164)](){const _0x4bc640=_0x18ff5c,_0x405492=this[_0x4bc640(0x11d)][_0x4bc640(0x296)],_0x52fa31=this[_0x4bc640(0x2ca)];this[_0x4bc640(0x27d)](_0x25ae59([this[_0x4bc640(0x2c6)][_0x4bc640(0x18c)](_0x405492),this[_0x4bc640(0x14c)][_0x4bc640(0x2da)]])[_0x4bc640(0x2c4)](_0x4991c4(([_0x275bb6,_0x88709b])=>({'skeleton':_0x52fa31[_0x4bc640(0x187)](),'cursors':[..._0x275bb6['values']()][_0x4bc640(0x232)](_0x5cd6c8=>({..._0x5cd6c8,'color':this['_themeService'][_0x4bc640(0x1d0)](_0x5cd6c8[_0x4bc640(0x17a)])}))})))[_0x4bc640(0x104)](_0x4f3fa2=>{const _0x2d85cc=_0x4bc640;if(this[_0x2d85cc(0x1f7)](),_0x4f3fa2){const {skeleton:_0x2a18ff,cursors:_0x18f37c}=_0x4f3fa2;this[_0x2d85cc(0x1a5)](_0x2a18ff,_0x18f37c);}})),this[_0x4bc640(0x237)](),this['_initCommandExecutedListener']();}[_0x18ff5c(0x1a5)](_0x23f889,_0x2817a1){const _0x1660f9=_0x18ff5c,{scene:_0x24853f,mainComponent:_0x3985ed}=this[_0x1660f9(0x11d)],_0x55dd07=_0x2817a1[_0x1660f9(0x23c)](_0x55878c=>new qe(_0x55878c,_0x24853f,_0x23f889,_0x3985ed));this[_0x1660f9(0xef)]=_0x55dd07,this[_0x1660f9(0x1a8)]=_0x2817a1;}[_0x18ff5c(0x262)](){const _0x70dbf=_0x18ff5c;this[_0x70dbf(0x1f7)]();const {scene:_0x3301e2,mainComponent:_0xc67f92}=this['_context'],_0x18b901=this[_0x70dbf(0x2ca)]['getSkeleton'](),_0x21bb9c=this['_cursors'][_0x70dbf(0x23c)](_0x5e5f33=>new qe(_0x5e5f33,_0x3301e2,_0x18b901,_0xc67f92));this['_cursorShapes']=_0x21bb9c;}[_0x18ff5c(0x1f7)](){const _0x136f0b=_0x18ff5c;this['_cursorShapes'][_0x136f0b(0x12e)](_0xcb6b5c=>_0xcb6b5c[_0x136f0b(0x1a7)]()),this[_0x136f0b(0xef)]=[];}[_0x18ff5c(0x206)](){const _0xa525fe=_0x18ff5c,_0x408e1d=[_0x48df0d['id']];this[_0xa525fe(0x27d)](this[_0xa525fe(0x10b)][_0xa525fe(0x1a4)](_0x5bfe9b=>{const _0x13eb0c=_0xa525fe;_0x408e1d[_0x13eb0c(0x1b4)](_0x5bfe9b['id'])&&_0x5bfe9b[_0x13eb0c(0xf2)][_0x13eb0c(0x296)]===this[_0x13eb0c(0x11d)][_0x13eb0c(0x296)]&&this['_refreshCollabCursors']();}));}[_0x18ff5c(0x237)](){const _0x24fa63=_0x18ff5c;this[_0x24fa63(0x27d)](_0x5bb51e(this['_context']['engine'][_0x24fa63(0x2c5)])[_0x24fa63(0x2c4)](_0x32321b(_0xffc7f1=>_0xffc7f1['type']===_0x450fe6['resize']),_0x266d64(0x10))[_0x24fa63(0x104)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x473cfd(_0x46e275)),Z(0x2,_0x473cfd(H)),Z(0x3,_0x2ee1ff),Z(0x4,_0x473cfd(_0x2b050a))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x2d1f51{constructor(_0x354d64,_0x5d5336){const _0x45b897=_0x18ff5c;super(_0x354d64,_0x5d5336),_(this,_0x45b897(0x205)),_(this,_0x45b897(0x19e),!0x1),_(this,_0x45b897(0x193)),_(this,'_name',''),_(this,_0x45b897(0x2d5),_0x45b897(0x113)),_(this,'_backgroundColor'),(_0x5d5336&&this[_0x45b897(0x144)](_0x5d5336),this['onPointerEnter$'][_0x45b897(0x12f)](()=>this[_0x45b897(0x144)]({'hovered':!0x0})),this[_0x45b897(0x15c)][_0x45b897(0x12f)](()=>this[_0x45b897(0x144)]({'hovered':!0x1})));}[_0x18ff5c(0x144)](_0x5bc2c1){const _0x598e2c=_0x18ff5c;var _0x388171,_0x58725a,_0x482f1d,_0x12d204,_0x86cd67,_0x1d7be4;this[_0x598e2c(0x205)]=(_0x388171=_0x5bc2c1[_0x598e2c(0x17a)])!=null?_0x388171:this[_0x598e2c(0x205)],this[_0x598e2c(0x19e)]=(_0x58725a=_0x5bc2c1[_0x598e2c(0x2a0)])!=null?_0x58725a:this[_0x598e2c(0x19e)],this[_0x598e2c(0x193)]=(_0x482f1d=_0x5bc2c1[_0x598e2c(0x256)])!=null?_0x482f1d:this[_0x598e2c(0x193)],this[_0x598e2c(0x257)]=(_0x12d204=_0x5bc2c1['name'])!=null?_0x12d204:this[_0x598e2c(0x257)],this[_0x598e2c(0x2d5)]=(_0x86cd67=_0x5bc2c1[_0x598e2c(0x2ad)])!=null?_0x86cd67:this[_0x598e2c(0x2d5)],this['_backgroundColor']=(_0x1d7be4=_0x5bc2c1[_0x598e2c(0x213)])!=null?_0x1d7be4:this['_backgroundColor'],this['transformByState']({'width':_0x5bc2c1[_0x598e2c(0x15f)],'height':_0x5bc2c1[_0x598e2c(0x1e4)]});}['onMouseMove'](_0x42188e){const _0x337234=_0x18ff5c,{row:_0x8ec07d,column:_0x23798e}=_0x42188e;if(_0x8ec07d>=this[_0x337234(0x193)][_0x337234(0x1c1)]&&_0x8ec07d<=this['_range'][_0x337234(0x181)]&&_0x23798e>=this['_range'][_0x337234(0x2ac)]&&_0x23798e<=this[_0x337234(0x193)][_0x337234(0x163)]){this[_0x337234(0x144)]({'hovered':!0x0});return;}this[_0x337234(0x144)]({'hovered':!0x1});}[_0x18ff5c(0x249)](_0x1efd98){return!0x1;}[_0x18ff5c(0x1bd)](_0x2e119c){const _0x56a132=_0x18ff5c;_0x4b56ef[_0x56a132(0x1ee)](_0x2e119c,{'width':this[_0x56a132(0x15f)],'height':this[_0x56a132(0x1e4)],'strokeWidth':Li,'stroke':this[_0x56a132(0x205)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x56a132(0x19e)]&&(_0x2e119c[_0x56a132(0x10d)](),_0x2e119c[_0x56a132(0x17f)](0x1,0x0,0x0,0x1,this[_0x56a132(0x15f)],this[_0x56a132(0x2d5)]===_0x56a132(0x243)?0x0:-0x14),he[_0x56a132(0x1ee)](_0x2e119c,{'text':this['_name'],'color':this[_0x56a132(0x205)]}),_0x2e119c[_0x56a132(0x281)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x2bab4b,_0x5c714d,_0x4b7447,_0x271100)=>{for(var _0x17ccfd=_0x271100>0x1?void 0x0:_0x271100?Ai(_0x5c714d,_0x4b7447):_0x5c714d,_0x17da14=_0x2bab4b['length']-0x1,_0x4cc91e;_0x17da14>=0x0;_0x17da14--)(_0x4cc91e=_0x2bab4b[_0x17da14])&&(_0x17ccfd=_0x4cc91e(_0x17ccfd)||_0x17ccfd);return _0x17ccfd;},ve=(_0x186ca1,_0x18e644)=>(_0x565bea,_0x497c9c)=>_0x18e644(_0x565bea,_0x497c9c,_0x186ca1);const $i=0x1389;let Le=class extends _0x572522{constructor(_0x1586fc,_0x29a6f7,_0x1e6930,_0x39dd7c){const _0x57b7a9=_0x18ff5c;super(),_(this,_0x57b7a9(0x1a8),new Set()),_(this,'_lastPointer',null),(this[_0x57b7a9(0x11d)]=_0x1586fc,this[_0x57b7a9(0x18b)]=_0x29a6f7,this[_0x57b7a9(0x2c6)]=_0x1e6930,this[_0x57b7a9(0x14c)]=_0x39dd7c,this[_0x57b7a9(0x164)]());}[_0x18ff5c(0x164)](){const _0x43df23=_0x18ff5c;this['_sheetSkeletonManagerService'][_0x43df23(0x176)][_0x43df23(0x2c4)](_0x26c0d0(this[_0x43df23(0x149)]),_0x2a5996(_0xf3922a=>{const _0x30277f=_0x43df23;if(_0xf3922a){const _0x572b2b=_0xf3922a[_0x30277f(0x228)];return _0x25ae59(this[_0x30277f(0x2c6)][_0x30277f(0x18c)](this[_0x30277f(0x11d)][_0x30277f(0x296)]),this[_0x30277f(0x14c)][_0x30277f(0x2da)])[_0x30277f(0x2c4)](_0x4991c4(([_0x19a285,_0x31df64])=>{const _0x29928a=_0x30277f,_0x376e20=new Map();return _0x19a285[_0x29928a(0x12e)]((_0x1c4db2,_0x155930)=>{const _0x5d919e=_0x29928a;if(_0x1c4db2['sheetID']===_0x572b2b){const _0x489574={..._0x1c4db2};_0x489574[_0x5d919e(0x17a)]=this['_themeService']['getColorFromTheme'](_0x1c4db2['color']),_0x376e20[_0x5d919e(0x136)](_0x155930,_0x489574);}}),{'skeleton':_0xf3922a,'cursors':_0x376e20};}));}return _0x16ced9({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x45902d,cursors:_0x5dfcd9})=>{const _0x59a1d5=_0x43df23;this[_0x59a1d5(0x1f7)](),_0x45902d&&this[_0x59a1d5(0x1a5)](_0x45902d,_0x5dfcd9);}),this[_0x43df23(0x18b)][_0x43df23(0x176)]['subscribe'](_0x1023a4=>{const _0x98ff2a=_0x43df23;if(_0x1023a4==null)return;const {skeleton:_0x30d4b7}=_0x1023a4,{scene:_0x3c917c}=this[_0x98ff2a(0x11d)];_0x3c917c[_0x98ff2a(0x207)]['subscribeEvent'](_0xe83823(_0x42cb10=>{const _0x160d42=_0x98ff2a;var _0x40522a,_0x2e14ba;const {offsetX:_0x3c7661,offsetY:_0x385824}=_0x42cb10,{x:_0x5eb550,y:_0x4d6261}=_0x3c917c[_0x160d42(0x275)](_0x3d5ba4[_0x160d42(0x1cd)]([_0x3c7661,_0x385824])),{scaleX:_0x26e8d3,scaleY:_0x4863ff}=_0x3c917c[_0x160d42(0x22c)](),_0x65fc66=_0x3c917c[_0x160d42(0x1b8)](_0x4f1c70[_0x160d42(0x28e)]),_0x4b722a=_0x3c917c[_0x160d42(0x194)](_0x3d5ba4[_0x160d42(0x1cd)]([_0x5eb550,_0x4d6261]),_0x65fc66),_0x241663=_0x30d4b7[_0x160d42(0x22a)](_0x3c7661,_0x385824,_0x26e8d3,_0x4863ff,_0x4b722a);((_0x40522a=this[_0x160d42(0xfe)])==null?void 0x0:_0x40522a[_0x160d42(0x1d5)])===_0x241663['column']&&((_0x2e14ba=this[_0x160d42(0xfe)])==null?void 0x0:_0x2e14ba[_0x160d42(0x119)])===_0x241663['row']||this['_cursors']['forEach'](_0x53e80c=>{const _0x5695df=_0x160d42;_0x53e80c[_0x5695df(0x242)](_0x241663);});},0x64));});}['_updateCollabCursors'](_0x35c84b,_0x1efa65){const _0x47a3d7=_0x18ff5c;var _0x4df01f;const _0xebfaa9=(_0x4df01f=this[_0x47a3d7(0x18b)][_0x47a3d7(0x140)]())==null?void 0x0:_0x4df01f['skeleton'];if(!_0xebfaa9)return;const _0x3e1078=this[_0x47a3d7(0x14b)]();if(!_0x3e1078)return;this[_0x47a3d7(0x1a8)][_0x47a3d7(0x12e)](_0xd473a8=>{const _0x46b650=_0x47a3d7;_0xd473a8[_0x46b650(0x145)]();});const {scene:_0x391553}=_0x3e1078,_0x2c4140=xi(Array[_0x47a3d7(0x29b)](_0x1efa65[_0x47a3d7(0x235)]()))[_0x47a3d7(0x23c)](_0x103368=>{const _0x593600=_0x47a3d7,{color:_0x52786d,range:_0x47b15e,name:_0x243194,selection:_0x89d521,sheetID:_0x1b4b1c}=_0x103368,{startColumn:_0x3f9b8d,startRow:_0xb2b4dc,endColumn:_0x9eb76b,endRow:_0xc1b4f6}=_0x47b15e,_0x29017b=_0x3f8d0a(_0xb2b4dc,_0x3f9b8d,_0x391553,_0xebfaa9),_0xb9a029=_0x3f8d0a(_0xc1b4f6,_0x9eb76b,_0x391553,_0xebfaa9),{columnHeaderHeightAndMarginTop:_0x1a5312}=_0xebfaa9,{startX:_0x4e7d5e,startY:_0x125f27}=_0x29017b,{endX:_0x14c30c,endY:_0x51281a}=_0xb9a029,_0x2ba989=_0x14c30c-_0x4e7d5e,_0x2377fb=_0x51281a-_0x125f27,_0x2b2edb={'labelPosition':_0x125f27-_0x1a5312>=ee?_0x593600(0x113):_0x593600(0x243),'sheetID':_0x1b4b1c,'range':_0x47b15e,'color':_0x52786d,'name':_0x243194,'selection':_0x89d521,'left':_0x4e7d5e,'top':_0x125f27,'width':_0x2ba989,'height':_0x2377fb,'evented':!0x1,'zIndex':$i};return new wi(_0x243194,_0x2b2edb);});_0x391553[_0x47a3d7(0x127)](_0x2c4140,Pi),this[_0x47a3d7(0x1a8)]=new Set(_0x2c4140);}['_removeCollabCursors'](){const _0x5eecc3=_0x18ff5c;var _0xd96eed;(_0xd96eed=this[_0x5eecc3(0x1a8)])==null||_0xd96eed[_0x5eecc3(0x12e)](_0x424781=>_0x424781[_0x5eecc3(0x1a7)]());}['_getSheetObject'](){const _0x179801=_0x18ff5c;return _0x5e4c2a(this['_context']['unit'],this[_0x179801(0x11d)]);}};Le=yi([ve(0x1,_0x473cfd(_0x3a2bf2)),ve(0x2,_0x473cfd(H)),ve(0x3,_0x473cfd(_0x2b050a))],Le);function xi(_0x2e9ded){const _0x1b2866=_0x18ff5c,_0x32e205=new Map();return _0x2e9ded['forEach'](_0x5bee62=>{const _0x1e250d=_0x4c1b;if(_0x32e205[_0x1e250d(0x16a)](_0x5bee62[_0x1e250d(0x20d)])){const _0x2feb67=_0x32e205[_0x1e250d(0x253)](_0x5bee62[_0x1e250d(0x20d)]);_0x2feb67[_0x1e250d(0x2bf)]+=',\x20'+_0x5bee62[_0x1e250d(0x2bf)];}else _0x32e205[_0x1e250d(0x136)](_0x5bee62[_0x1e250d(0x20d)],_0x5bee62);}),Array[_0x1b2866(0x29b)](_0x32e205['values']());}var v=function(){const _0x2e1049=_0x18ff5c;return v=Object[_0x2e1049(0x2d1)]||function(_0x1f261a){const _0x56c6cf=_0x2e1049;for(var _0x417a79,_0x38aa40=0x1,_0x4de9a9=arguments[_0x56c6cf(0x103)];_0x38aa40<_0x4de9a9;_0x38aa40++){_0x417a79=arguments[_0x38aa40];for(var _0x1da907 in _0x417a79)Object['prototype'][_0x56c6cf(0x135)]['call'](_0x417a79,_0x1da907)&&(_0x1f261a[_0x1da907]=_0x417a79[_0x1da907]);}return _0x1f261a;},v[_0x2e1049(0xff)](this,arguments);},Bi=function(_0x51f961,_0x4b23ee){const _0x1f9c0c=_0x18ff5c;var _0x2be1b8={};for(var _0x1fa3c6 in _0x51f961)Object['prototype'][_0x1f9c0c(0x135)]['call'](_0x51f961,_0x1fa3c6)&&_0x4b23ee['indexOf'](_0x1fa3c6)<0x0&&(_0x2be1b8[_0x1fa3c6]=_0x51f961[_0x1fa3c6]);if(_0x51f961!=null&&typeof Object[_0x1f9c0c(0x1a3)]=='function'){for(var _0x51dc41=0x0,_0x1fa3c6=Object[_0x1f9c0c(0x1a3)](_0x51f961);_0x51dc41<_0x1fa3c6[_0x1f9c0c(0x103)];_0x51dc41++)_0x4b23ee['indexOf'](_0x1fa3c6[_0x51dc41])<0x0&&Object[_0x1f9c0c(0x1fe)][_0x1f9c0c(0x161)][_0x1f9c0c(0x221)](_0x51f961,_0x1fa3c6[_0x51dc41])&&(_0x2be1b8[_0x1fa3c6[_0x51dc41]]=_0x51f961[_0x1fa3c6[_0x51dc41]]);}return _0x2be1b8;},je=_0x45a4e0(function(_0x34126d,_0x8d6a22){const _0x151337=_0x18ff5c;var _0x13889c=_0x34126d[_0x151337(0x1c2)],_0xaff5e0=_0x34126d['id'],_0x36369e=_0x34126d['className'],_0x2b21e2=_0x34126d[_0x151337(0x155)],_0x23460b=Bi(_0x34126d,[_0x151337(0x1c2),'id',_0x151337(0x1a1),_0x151337(0x155)]),_0xd447bf=_0x151337(0x186)[_0x151337(0x267)](_0xaff5e0,'\x20')[_0x151337(0x267)](_0x36369e||'')['trim'](),_0x177355=_0x16d692('_'[_0x151337(0x267)](ji()));return Rt(_0x13889c,''[_0x151337(0x267)](_0xaff5e0),{'defIds':_0x13889c['defIds'],'idSuffix':_0x177355['current']},v({'ref':_0x8d6a22,'className':_0xd447bf},_0x23460b),_0x2b21e2);});function Rt(_0x390e65,_0x43f3ec,_0x39317b,_0x167a6d,_0x34358d){const _0x5303e0=_0x18ff5c;return _0x372145(_0x390e65[_0x5303e0(0x122)],v(v({'key':_0x43f3ec},ki(_0x390e65,_0x39317b,_0x34358d)),_0x167a6d),(Hi(_0x390e65,_0x39317b)[_0x5303e0(0x157)]||[])[_0x5303e0(0x23c)](function(_0x28ca51,_0x5c0bf2){const _0x2071f1=_0x5303e0;return Rt(_0x28ca51,''[_0x2071f1(0x267)](_0x43f3ec,'-')[_0x2071f1(0x267)](_0x390e65[_0x2071f1(0x122)],'-')[_0x2071f1(0x267)](_0x5c0bf2),_0x39317b,void 0x0,_0x34358d);}));}function ki(_0x50f58a,_0x51fef8,_0x2b0e97){const _0x5d08d7=_0x18ff5c;var _0x6e7150=v({},_0x50f58a['attrs']);_0x2b0e97!=null&&_0x2b0e97[_0x5d08d7(0x123)]&&_0x6e7150[_0x5d08d7(0x11a)]===_0x5d08d7(0x123)&&(_0x6e7150['fill']=_0x2b0e97['colorChannel1']),_0x50f58a[_0x5d08d7(0x122)]==='mask'&&_0x6e7150['id']&&(_0x6e7150['id']=_0x6e7150['id']+_0x51fef8['idSuffix']),Object['entries'](_0x6e7150)[_0x5d08d7(0x12e)](function(_0x374640){const _0x30ce0b=_0x5d08d7;var _0x20aa6e=_0x374640[0x0],_0x2afc5b=_0x374640[0x1];_0x20aa6e===_0x30ce0b(0x290)&&typeof _0x2afc5b==_0x30ce0b(0x248)&&(_0x6e7150[_0x20aa6e]=_0x2afc5b[_0x30ce0b(0x15d)](/url\(#(.*)\)/,_0x30ce0b(0x114)['concat'](_0x51fef8['idSuffix'],')')));});var _0x258dad=_0x51fef8['defIds'];return!_0x258dad||_0x258dad[_0x5d08d7(0x103)]===0x0||(_0x50f58a[_0x5d08d7(0x122)]==='use'&&_0x6e7150['xlink:href']&&(_0x6e7150[_0x5d08d7(0x299)]=_0x6e7150['xlink:href']+_0x51fef8['idSuffix']),Object[_0x5d08d7(0x1f0)](_0x6e7150)[_0x5d08d7(0x12e)](function(_0x46cb31){const _0x58e334=_0x5d08d7;var _0x3e8347=_0x46cb31[0x0],_0x1d8846=_0x46cb31[0x1];typeof _0x1d8846==_0x58e334(0x248)&&(_0x6e7150[_0x3e8347]=_0x1d8846[_0x58e334(0x15d)](/url\(#(.*)\)/,'url(#$1'[_0x58e334(0x267)](_0x51fef8[_0x58e334(0x147)],')')));})),_0x6e7150;}function Hi(_0x2b9d4d,_0x1c269a){const _0x12745c=_0x18ff5c;var _0x4469aa,_0x5e6222=_0x1c269a['defIds'];return!_0x5e6222||_0x5e6222[_0x12745c(0x103)]===0x0?_0x2b9d4d:_0x2b9d4d[_0x12745c(0x122)]===_0x12745c(0x200)&&(!((_0x4469aa=_0x2b9d4d[_0x12745c(0x157)])===null||_0x4469aa===void 0x0)&&_0x4469aa[_0x12745c(0x103)])?v(v({},_0x2b9d4d),{'children':_0x2b9d4d[_0x12745c(0x157)]['map'](function(_0x268bb0){const _0x5e2251=_0x12745c;return typeof _0x268bb0[_0x5e2251(0x185)]['id']=='string'&&_0x5e6222&&_0x5e6222[_0x5e2251(0x22e)](_0x268bb0[_0x5e2251(0x185)]['id'])>-0x1?v(v({},_0x268bb0),{'attrs':v(v({},_0x268bb0[_0x5e2251(0x185)]),{'id':_0x268bb0['attrs']['id']+_0x1c269a[_0x5e2251(0x147)]})}):_0x268bb0;})}):_0x2b9d4d;}function ji(){const _0x2061da=_0x18ff5c;return Math['random']()['toString'](0x24)[_0x2061da(0xfa)](0x2,0x8);}je[_0x18ff5c(0x1b9)]=_0x18ff5c(0x159);var Yi={'tag':_0x18ff5c(0x170),'attrs':{'fill':'none','viewBox':_0x18ff5c(0x220),'width':'1em','height':_0x18ff5c(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':_0x18ff5c(0x20a)},'children':[{'tag':'path','attrs':{'stroke':_0x18ff5c(0x230),'d':_0x18ff5c(0x2ab),'strokeLinecap':'round','strokeLinejoin':_0x18ff5c(0x182),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x18ff5c(0x202),'attrs':{'id':_0x18ff5c(0x23d)},'children':[{'tag':_0x18ff5c(0x2c2),'attrs':{'fill':'#fff','d':_0x18ff5c(0x19f)}}]}]}],'defIds':[_0x18ff5c(0x23d)]},Dt=_0x45a4e0(function(_0x1304e4,_0x104bd0){const _0x238809=_0x18ff5c;return _0x372145(je,Object[_0x238809(0x2d1)]({},_0x1304e4,{'id':'off-line-single','ref':_0x104bd0,'icon':Yi}));});Dt[_0x18ff5c(0x1b9)]='OffLineSingle';var Fi={'tag':_0x18ff5c(0x170),'attrs':{'fill':_0x18ff5c(0xf4),'viewBox':_0x18ff5c(0x2df),'width':_0x18ff5c(0x1ba),'height':_0x18ff5c(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x18ff5c(0x2c2),'attrs':{'stroke':_0x18ff5c(0x230),'d':_0x18ff5c(0x1a6),'strokeLinecap':_0x18ff5c(0x182),'strokeLinejoin':_0x18ff5c(0x182),'strokeWidth':1.2}}]},{'tag':_0x18ff5c(0x200),'attrs':{},'children':[{'tag':_0x18ff5c(0x202),'attrs':{'id':_0x18ff5c(0x1b2)},'children':[{'tag':_0x18ff5c(0x2c2),'attrs':{'fill':_0x18ff5c(0x118),'d':_0x18ff5c(0x19f),'transform':_0x18ff5c(0x115)}}]}]}],'defIds':[_0x18ff5c(0x1b2)]},Nt=_0x45a4e0(function(_0x253274,_0x38bb48){const _0x91511e=_0x18ff5c;return _0x372145(je,Object[_0x91511e(0x2d1)]({},_0x253274,{'id':_0x91511e(0x180),'ref':_0x38bb48,'icon':Fi}));});Nt[_0x18ff5c(0x1b9)]='OnLineSingle';function Wi(_0x5c766d){const _0x267718=_0x18ff5c;switch(_0x5c766d){case _0x3e07c8['OFFLINE']:return _0x267718(0x1df);case _0x3e07c8[_0x267718(0x2a4)]:return _0x267718(0x266);case _0x3e07c8[_0x267718(0x22d)]:return _0x267718(0x197);case _0x3e07c8[_0x267718(0x11c)]:return'collabStatus.notCollab';case _0x3e07c8[_0x267718(0x128)]:case _0x3e07c8['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3e07c8['SYNCED']:case _0x3e07c8[_0x267718(0x2d8)]:return _0x267718(0x2c0);}}function Vi(_0x551fa9){const _0x140b8f=_0x18ff5c,{status$:_0x708695}=_0x551fa9,_0x152cf0=_0x1ec0ca(_0x708695,_0x3e07c8[_0x140b8f(0x11c)]),_0x256a44=_0x2635bc(_0x4dd1ac),_0x56bb9c=_0x2635bc(_0x5269b4),_0x4c2380=_0x152cf0!==_0x3e07c8[_0x140b8f(0x279)],_0x4c3f3b=_0x256a44['t'](Wi(_0x152cf0)),_0x4cbbb9=_0x4c2380?_0x1c9464(Nt,{}):_0x1c9464(Dt,{}),_0x290a10=_0x576c13(()=>{const _0x937064=_0x140b8f;_0x4c2380||_0x56bb9c[_0x937064(0x21f)]();},[_0x4c2380,_0x56bb9c]);function _0x466371(){const _0x5e445d=_0x140b8f;return _0x4829fc(_0x5e445d(0x297),{'className':_0x5e445d(0x274),'onClick':_0x290a10,'children':[_0x1c9464(_0x5e445d(0x297),{'className':_0x3343a2(_0x5e445d(0x2a5),{'univer-text-green-500':_0x4c2380,'univer-text-red-500':!_0x4c2380}),'children':_0x4cbbb9}),_0x1c9464(_0x5e445d(0x297),{'className':_0x5e445d(0x2cd),'children':_0x4c3f3b})]});}return _0x4c2380?_0x466371():_0x1c9464(_0x3a79c4,{'title':_0x256a44['t'](_0x140b8f(0x26c)),'children':_0x466371()});}var Xi=Object[_0x18ff5c(0x148)],Gi=(_0x47fc60,_0x1796f7,_0x12f472,_0x53d1b4)=>{const _0x47ed51=_0x18ff5c;for(var _0x15bce2=_0x53d1b4>0x1?void 0x0:_0x53d1b4?Xi(_0x1796f7,_0x12f472):_0x1796f7,_0x5aea17=_0x47fc60[_0x47ed51(0x103)]-0x1,_0x40502f;_0x5aea17>=0x0;_0x5aea17--)(_0x40502f=_0x47fc60[_0x5aea17])&&(_0x15bce2=_0x40502f(_0x15bce2)||_0x15bce2);return _0x15bce2;},Q=(_0x3c31fb,_0x441bd4)=>(_0x15620f,_0x3e1e09)=>_0x441bd4(_0x15620f,_0x3e1e09,_0x3c31fb);let te=class extends _0xd34a60{constructor(_0x524aab,_0xdafcea,_0x4fc716,_0x36987f){const _0x2e5a5a=_0x18ff5c;super(),_(this,_0x2e5a5a(0x195),new _0x295e0a(_0x3e07c8['NOT_COLLAB'])),(this[_0x2e5a5a(0x17b)]=_0x524aab,this['_injector']=_0xdafcea,this[_0x2e5a5a(0x2a8)]=_0x4fc716,this['_uiPartsService']=_0x36987f,this[_0x2e5a5a(0x19c)](),this[_0x2e5a5a(0x1d9)]());}[_0x18ff5c(0x1d9)](){const _0x557460=_0x18ff5c;this[_0x557460(0x27d)](this[_0x557460(0x17b)][_0x557460(0x250)][_0x557460(0x2c4)](_0x3b5b4e(()=>{const _0x5cf213=_0x557460,_0x46f39f=this[_0x5cf213(0x17b)]['getFocusedUnit']();return _0x46f39f?this[_0x5cf213(0x2a8)][_0x5cf213(0x2a2)](_0x46f39f[_0x5cf213(0x18e)]()):_0x16ced9(null);}),_0x3b5b4e(_0x263e51=>_0x263e51?_0x263e51[_0x557460(0x217)]:_0x16ced9(_0x3e07c8[_0x557460(0x11c)])))[_0x557460(0x104)](_0x341bc5=>{const _0x551b2e=_0x557460;this[_0x551b2e(0x195)][_0x551b2e(0x1db)](_0x341bc5);}));}[_0x18ff5c(0x19c)](){const _0x89983e=_0x18ff5c;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x108acc[_0x89983e(0x2d0)],()=>_0x5eba6f(Ki({'status$':this[_0x89983e(0x195)][_0x89983e(0x1b5)]()}),this[_0x89983e(0x224)])));}};te=Gi([Q(0x0,_0x30e087),Q(0x1,_0x473cfd(_0x8841e1)),Q(0x2,_0x473cfd(_0x398c8a)),Q(0x3,_0x2bab6f)],te);function Ki(_0x18553b){const {status$:_0xe47eef}=_0x18553b;return function(){return _0x1c9464(Vi,{'status$':_0xe47eef});};}var zi=Object[_0x18ff5c(0x148)],Ji=(_0x41f5fe,_0x329646,_0x53d1f8,_0x4ffaba)=>{const _0x53888e=_0x18ff5c;for(var _0x44a482=_0x4ffaba>0x1?void 0x0:_0x4ffaba?zi(_0x329646,_0x53d1f8):_0x329646,_0x32c200=_0x41f5fe[_0x53888e(0x103)]-0x1,_0x524690;_0x32c200>=0x0;_0x32c200--)(_0x524690=_0x41f5fe[_0x32c200])&&(_0x44a482=_0x524690(_0x44a482)||_0x44a482);return _0x44a482;},B=(_0x4cb052,_0x2bb4b6)=>(_0x55ee21,_0x1c7304)=>_0x2bb4b6(_0x55ee21,_0x1c7304,_0x4cb052);let se=class extends _0xd34a60{constructor(_0x4b2fda,_0x24d04d,_0x4f4217,_0x2c9f6d,_0x1006cd,_0x39a1db){const _0x434f33=_0x18ff5c;super(),this[_0x434f33(0x27f)]=_0x4b2fda,this[_0x434f33(0x10e)]=_0x24d04d,this['_collaborationUIEventService']=_0x4f4217,this[_0x434f33(0x1b0)]=_0x2c9f6d,this[_0x434f33(0x231)]=_0x1006cd,this['_localeService']=_0x39a1db,this[_0x434f33(0x234)](),this['_initEvent']();}[_0x18ff5c(0x234)](){const _0x537092=_0x18ff5c;this[_0x537092(0x27d)](this[_0x537092(0x27f)][_0x537092(0x121)](()=>{const _0x21d13d=_0x537092;if(this[_0x21d13d(0x10e)][_0x21d13d(0x2de)][_0x21d13d(0x133)])return this[_0x21d13d(0x18d)]['t'](_0x21d13d(0x1cc));}));}[_0x18ff5c(0x25a)](){const _0x104164=_0x18ff5c;this['disposeWithMe'](this[_0x104164(0xee)][_0x104164(0x129)][_0x104164(0x104)](_0x298176=>{const _0x104279=_0x104164;_0x298176['id']===_0x56e7a5[_0x104279(0x292)]&&this[_0x104279(0x1b0)][_0x104279(0x216)]({'type':_0x3d30a5['Warning'],'content':this[_0x104279(0x18d)]['t'](_0x104279(0x278))}),_0x298176['id']===_0x56e7a5[_0x104279(0x1aa)]&&this['_messageService'][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x1e0)],'content':this[_0x104279(0x18d)]['t']('collaboration.closeRoom')}),_0x298176['id']===_0x56e7a5[_0x104279(0x264)]&&this[_0x104279(0x231)][_0x104279(0x216)]({'title':this[_0x104279(0x18d)]['t'](_0x104279(0x1a2)),'content':this[_0x104279(0x18d)]['t'](_0x104279(0x160)),'type':_0x104279(0x17e),'duration':0x0}),_0x298176['id']===_0x56e7a5['CONFLICT']&&this[_0x104279(0x1b0)][_0x104279(0x216)]({'type':_0x3d30a5['Error'],'content':this[_0x104279(0x18d)]['t'](_0x104279(0x16e))+'('+_0x298176[_0x104279(0x18f)]+')'}),_0x298176['id']===_0x56e7a5[_0x104279(0x1e5)]&&this['_messageService'][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x1e0)],'content':this[_0x104279(0x18d)]['t'](_0x298176['data']||'')}),_0x298176['id']===_0x56e7a5[_0x104279(0x125)]&&this[_0x104279(0x1b0)][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x1e0)],'content':this[_0x104279(0x18d)]['t']('session.will-retry')}),_0x298176['id']===_0x56e7a5[_0x104279(0x295)]&&this[_0x104279(0x1b0)][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x27e)],'content':this['_localeService']['t']('session.connection-failed')}),_0x298176['id']===_0x56e7a5[_0x104279(0xe7)]&&this['_messageService'][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x27e)],'content':this['_localeService']['t'](_0x104279(0x29e))});}));}};se=Ji([B(0x0,_0x3f71ee),B(0x1,_0x2b8274),B(0x2,_0x473cfd(_0x300806)),B(0x3,_0x3b3880),B(0x4,_0x209666),B(0x5,_0x473cfd(_0x4dd1ac))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x1946f5('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x443698,_0x509093,_0x174a74,_0x2a807f)=>{for(var _0x11e7fe=_0x2a807f>0x1?void 0x0:_0x2a807f?Qi(_0x509093,_0x174a74):_0x509093,_0x4957f9=_0x443698['length']-0x1,_0x4cb48a;_0x4957f9>=0x0;_0x4957f9--)(_0x4cb48a=_0x443698[_0x4957f9])&&(_0x11e7fe=_0x4cb48a(_0x11e7fe)||_0x11e7fe);return _0x11e7fe;},G=(_0x5eafb6,_0x2c2edf)=>(_0x271ceb,_0x348f18)=>_0x2c2edf(_0x271ceb,_0x348f18,_0x5eafb6);let ie=class extends _0x572522{constructor(_0x11dda1,_0x13ec11,_0x5e59b1,_0x4e82ef,_0x4109cb){const _0x33a6ad=_0x18ff5c;super(),this[_0x33a6ad(0x1de)]=_0x11dda1,this[_0x33a6ad(0x27a)]=_0x13ec11,this[_0x33a6ad(0x10b)]=_0x5e59b1,this[_0x33a6ad(0x236)]=_0x4e82ef,_0x4109cb?_0x4109cb==null||_0x4109cb['whenReady']()[_0x33a6ad(0x2bc)](()=>this[_0x33a6ad(0x164)]()):(this[_0x33a6ad(0x27a)][_0x33a6ad(0x141)]('[CollaborationDataLoaderController]',_0x33a6ad(0x2d9)),this[_0x33a6ad(0x164)]());}async[_0x18ff5c(0x164)](){const _0x3260b5=_0x18ff5c,_0x240bbb=this['_urlService'][_0x3260b5(0x14a)](_0x3260b5(0x283)),_0x2356fd=this[_0x3260b5(0x1de)]['getParam'](_0x3260b5(0x111)),_0x30139e=this[_0x3260b5(0x1de)]['getParam']('subunit');if(!_0x240bbb||!_0x2356fd){this[_0x3260b5(0x27a)][_0x3260b5(0x141)](_0x3260b5(0x294),_0x3260b5(0x101));return;}const _0x208fa9=await this[_0x3260b5(0x236)][_0x3260b5(0x1d2)](_0x240bbb,Number(_0x2356fd),_0x30139e);_0x208fa9&&_0x208fa9 instanceof _0x569a74&&this['_setupSubUnitSync'](_0x208fa9);}async['_setupSubUnitSync'](_0x513a74){const _0x413eaf=_0x18ff5c;await this[_0x413eaf(0xe3)](_0x513a74),_0x513a74['activeSheet$'][_0x413eaf(0x2c4)](_0x27b228(this['dispose$']))[_0x413eaf(0x104)](_0x4e8753=>{const _0x258ef6=_0x413eaf;_0x4e8753&&this[_0x258ef6(0x142)](_0x4e8753);}),this['_urlService'][_0x413eaf(0x29d)][_0x413eaf(0x2c4)](_0x27b228(this[_0x413eaf(0x149)]))[_0x413eaf(0x104)](()=>this[_0x413eaf(0xe3)](_0x513a74));}[_0x18ff5c(0x142)](_0x17267a,_0x13be97=!0x1){const _0x2dc490=_0x18ff5c,_0x33d685=this[_0x2dc490(0x1de)][_0x2dc490(0x14a)]('subunit');_0x17267a['getSheetId']()!==_0x33d685&&this[_0x2dc490(0x1de)]['setParam'](_0x2dc490(0x26a),_0x17267a['getSheetId'](),_0x13be97);}async[_0x18ff5c(0xe3)](_0x536bdd){const _0x5559ec=_0x18ff5c;var _0xf043e4;const _0x28eda4=this[_0x5559ec(0x1de)][_0x5559ec(0x14a)](_0x5559ec(0x26a));if(!_0x28eda4||!_0x536bdd[_0x5559ec(0x2b7)](_0x28eda4)){const _0x47e147=_0x536bdd[_0x5559ec(0x131)]()[0x0],_0x134f21=_0x536bdd[_0x5559ec(0x2b7)](_0x47e147);if(!_0x134f21)return;this[_0x5559ec(0x142)](_0x134f21,!0x0),await this[_0x5559ec(0x10b)][_0x5559ec(0x21c)](_0x2cc4e5['id'],{'unitId':_0x536bdd[_0x5559ec(0x18e)](),'subUnitId':_0x47e147});return;}((_0xf043e4=_0x536bdd[_0x5559ec(0x124)]())==null?void 0x0:_0xf043e4['getSheetId']())!==_0x28eda4&&await this[_0x5559ec(0x10b)][_0x5559ec(0x21c)](_0x2cc4e5['id'],{'unitId':_0x536bdd[_0x5559ec(0x18e)](),'subUnitId':_0x28eda4});}};ie=qi([G(0x0,Ut),G(0x1,_0x375cad),G(0x2,_0x2ee1ff),G(0x3,_0x473cfd(_0x5899d1)),G(0x4,_0x1794d1(_0x16fc83))],ie);var en=Object[_0x18ff5c(0x148)],tn=(_0x2f0fdd,_0x106cb8,_0xc23205,_0x4dcf58)=>{const _0x54b030=_0x18ff5c;for(var _0x4dfa3e=_0x4dcf58>0x1?void 0x0:_0x4dcf58?en(_0x106cb8,_0xc23205):_0x106cb8,_0x5bdbd2=_0x2f0fdd[_0x54b030(0x103)]-0x1,_0x3109ea;_0x5bdbd2>=0x0;_0x5bdbd2--)(_0x3109ea=_0x2f0fdd[_0x5bdbd2])&&(_0x4dfa3e=_0x3109ea(_0x4dfa3e)||_0x4dfa3e);return _0x4dfa3e;},pe=(_0xa25a99,_0x4ea588)=>(_0x38bccf,_0x1fd00e)=>_0x4ea588(_0x38bccf,_0x1fd00e,_0xa25a99);let ne=class{constructor(_0x322eca,_0x49c196,_0x4fd667){const _0x4136d4=_0x18ff5c;this['_injector']=_0x322eca,this[_0x4136d4(0x269)]=_0x49c196,this[_0x4136d4(0x268)]=_0x4fd667;}[_0x18ff5c(0x258)](_0x4f4c5b){const _0x29f1f9=_0x18ff5c;this[_0x29f1f9(0x19b)](_0x4f4c5b),this['_transformPreviousActiveRange'](_0x4f4c5b);}[_0x18ff5c(0x1ad)](_0x2c049b){const _0x48b171=_0x18ff5c,{unitID:_0x418af9}=_0x2c049b,_0x57908c=this[_0x48b171(0x268)][_0x48b171(0x27c)](_0x418af9)[_0x48b171(0x17c)](_0x35a117),{redoCache:_0x57332f}=_0x57908c[_0x48b171(0x21b)]();if(_0x57332f[_0x48b171(0x103)]===0x0)return _0x2c049b;let _0x498de1=_0x26898c[_0x48b171(0x286)](_0x2c049b['mutations'][0x0]);for(let _0x249f1b=0x0;_0x249f1b<_0x57332f[_0x48b171(0x103)];_0x249f1b++){const _0x326949={'id':_0x48b171(0x2c7),'params':{..._0x57332f[_0x249f1b]}},_0x145e2f=this['_transformService'][_0x48b171(0x245)](_0x498de1,_0x326949,!0x1);if(_0x39028d(_0x145e2f))throw _0x145e2f[_0x48b171(0x17e)];_0x498de1=_0x145e2f['m1Prime'];}return{..._0x26898c[_0x48b171(0x286)](_0x2c049b),'mutations':[_0x498de1]};}[_0x18ff5c(0x19b)](_0x1a1e6c){const _0xa9f142=_0x18ff5c,{unitID:_0xa40ec9}=_0x1a1e6c,_0x4de682=this[_0xa9f142(0x268)][_0xa9f142(0x27c)](_0xa40ec9)[_0xa9f142(0x17c)](_0x35a117),{undoCache:_0x46685e,redoCache:_0x5e0770}=_0x4de682['getUndoRedoMutationParamsCache']();if(_0x46685e[_0xa9f142(0x103)]===0x0||_0x5e0770['length']===0x0)return;const _0x2559cb=[],_0x3135d6=[];let _0x2ea47e=_0x26898c[_0xa9f142(0x286)](_0x1a1e6c['mutations'][0x0]),_0x141697=_0x26898c['deepClone'](_0x1a1e6c[_0xa9f142(0x14d)][0x0]);for(let _0x484b00=_0x46685e[_0xa9f142(0x103)]-0x1;_0x484b00>=0x0;_0x484b00--){const _0x152772={'id':_0xa9f142(0x2c7),'params':{..._0x46685e[_0x484b00]}},_0x4434b5={'id':'doc.mutation.rich-text-editing','params':{..._0x5e0770[_0x484b00]}},_0x5912ff=this['_transformService'][_0xa9f142(0x245)](_0x2ea47e,_0x152772,!0x1),_0x41fe5c=this[_0xa9f142(0x269)][_0xa9f142(0x245)](_0x141697,_0x4434b5,!0x1);if(_0x39028d(_0x5912ff))throw _0x5912ff['error'];if(_0x39028d(_0x41fe5c))throw _0x41fe5c[_0xa9f142(0x17e)];_0x2559cb[_0xa9f142(0x1d8)](_0x5912ff['m2Prime']['params']),_0x3135d6[_0xa9f142(0x1d8)](_0x41fe5c[_0xa9f142(0x116)][_0xa9f142(0xf2)]),_0x2ea47e=_0x5912ff[_0xa9f142(0x28a)],_0x141697=_0x41fe5c[_0xa9f142(0x28a)];}_0x4de682['setUndoRedoMutationParamsCache']({'undoCache':_0x2559cb,'redoCache':_0x3135d6});}['_transformPreviousActiveRange'](_0x599bea){const _0x204dd6=_0x18ff5c,{unitID:_0x895aa8}=_0x599bea,_0xf4d71=this[_0x204dd6(0x268)][_0x204dd6(0x27c)](_0x895aa8)[_0x204dd6(0x17c)](_0x35a117),_0x5c333f=_0xf4d71[_0x204dd6(0x177)]();if(_0x5c333f==null)return;const _0x5291f4=[{'id':_0x204dd6(0x2c7),'params':{'unitId':_0x599bea[_0x204dd6(0x23f)],'actions':null,'textRanges':[_0x5c333f]}}],_0x36c069=this[_0x204dd6(0x269)][_0x204dd6(0x184)](_0x599bea,_0x5291f4);if(!_0x4e7f42(_0x36c069))throw _0x36c069[_0x204dd6(0x17e)];const _0x51f064=_0x36c069[_0x204dd6(0x116)][0x0]['params'][_0x204dd6(0x2b4)];Array['isArray'](_0x51f064)&&_0x51f064[_0x204dd6(0x103)]&&_0xf4d71['setActiveRange'](_0x51f064[0x0]);}};ne=tn([pe(0x0,_0x473cfd(_0x8841e1)),pe(0x1,_0x21d527),pe(0x2,_0x4abec1)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5825f2,_0x2f57ac,_0x17768c,_0x44d251)=>{const _0x1b0de6=_0x18ff5c;for(var _0x210abf=_0x44d251>0x1?void 0x0:_0x44d251?sn(_0x2f57ac,_0x17768c):_0x2f57ac,_0x3dd306=_0x5825f2[_0x1b0de6(0x103)]-0x1,_0x4743b0;_0x3dd306>=0x0;_0x3dd306--)(_0x4743b0=_0x5825f2[_0x3dd306])&&(_0x210abf=_0x4743b0(_0x210abf)||_0x210abf);return _0x210abf;},Ce=(_0x1f48c4,_0x5d3d7a)=>(_0x34e213,_0x30ad86)=>_0x5d3d7a(_0x34e213,_0x30ad86,_0x1f48c4);let re=class{constructor(_0xdfae23,_0x4b4646,_0x3f4ec0){const _0xe3bc0b=_0x18ff5c;this['_injector']=_0xdfae23,this[_0xe3bc0b(0x269)]=_0x4b4646,this['_docStateChangeManagerService']=_0x3f4ec0;}[_0x18ff5c(0x26e)](_0x238504){const _0x15f9d9=_0x18ff5c;this[_0x15f9d9(0x146)](_0x238504);}[_0x18ff5c(0x1ad)](_0x4a2780){const _0x12d785=_0x18ff5c,{unitID:_0x4437ff}=_0x4a2780,{collaboration:_0x2ab7ff}=this[_0x12d785(0xf8)][_0x12d785(0x17d)](_0x4437ff);if(_0x2ab7ff[_0x12d785(0x103)]===0x0)return _0x4a2780;let _0xdb4caf=_0x26898c[_0x12d785(0x286)](_0x4a2780[_0x12d785(0x14d)][0x0]);for(let _0x18adc0=0x0;_0x18adc0<_0x2ab7ff[_0x12d785(0x103)];_0x18adc0++){const _0x430581={'id':_0x12d785(0x2c7),'params':{'unitId':_0x2ab7ff[_0x18adc0][_0x12d785(0x296)],..._0x2ab7ff[_0x18adc0][_0x12d785(0x259)]}},_0x374565=this[_0x12d785(0x269)]['transformMutation'](_0xdb4caf,_0x430581,!0x1);if(_0x39028d(_0x374565))throw _0x374565[_0x12d785(0x17e)];_0xdb4caf=_0x374565[_0x12d785(0x28a)];}return{..._0x26898c['deepClone'](_0x4a2780),'mutations':[_0xdb4caf]};}['_transformHistoryAndStateStack'](_0x7e451b){const _0x118ce1=_0x18ff5c,{unitID:_0x574d1c}=_0x7e451b,{history:_0x79cbfd,collaboration:_0xa06c36}=this[_0x118ce1(0xf8)][_0x118ce1(0x17d)](_0x574d1c);if(_0x79cbfd[_0x118ce1(0x103)]===0x0&&_0xa06c36[_0x118ce1(0x103)]===0x0)return;const _0x235db3=[],_0x47df2e=[];let _0x32e526=_0x26898c[_0x118ce1(0x286)](_0x7e451b['mutations'][0x0]),_0x1faa64=_0x26898c['deepClone'](_0x7e451b[_0x118ce1(0x14d)][0x0]);for(let _0x2acc1f=_0x79cbfd[_0x118ce1(0x103)]-0x1;_0x2acc1f>=0x0;_0x2acc1f--){const _0x4df4e3={'id':_0x118ce1(0x2c7),'params':{'unitId':_0x79cbfd[_0x2acc1f]['unitId'],..._0x79cbfd[_0x2acc1f]['undoState']}},_0x3c85b5={'id':_0x118ce1(0x2c7),'params':{'unitId':_0x79cbfd[_0x2acc1f][_0x118ce1(0x296)],..._0x79cbfd[_0x2acc1f]['redoState']}},_0x3aeb08=this[_0x118ce1(0x269)][_0x118ce1(0x245)](_0x32e526,_0x4df4e3,!0x1),_0x4384b3=this[_0x118ce1(0x269)]['transformMutation'](_0x1faa64,_0x3c85b5,!0x1);if(_0x39028d(_0x3aeb08))throw _0x3aeb08[_0x118ce1(0x17e)];if(_0x39028d(_0x4384b3))throw _0x4384b3[_0x118ce1(0x17e)];_0x235db3[_0x118ce1(0x1d8)]({..._0x79cbfd[_0x2acc1f],'undoState':_0x3aeb08['m2Prime']['params'],'redoState':_0x4384b3['m2Prime'][_0x118ce1(0xf2)]}),_0x32e526=_0x3aeb08[_0x118ce1(0x28a)],_0x1faa64=_0x4384b3[_0x118ce1(0x28a)];}_0x32e526=_0x26898c['deepClone'](_0x7e451b[_0x118ce1(0x14d)][0x0]),_0x1faa64=_0x26898c[_0x118ce1(0x286)](_0x7e451b[_0x118ce1(0x14d)][0x0]);for(let _0x543c61=_0xa06c36['length']-0x1;_0x543c61>=0x0;_0x543c61--){const _0x1223f9={'id':_0x118ce1(0x2c7),'params':{'unitId':_0xa06c36[_0x543c61]['unitId'],..._0xa06c36[_0x543c61][_0x118ce1(0x1fb)]}},_0xd85b0c={'id':_0x118ce1(0x2c7),'params':{'unitId':_0xa06c36[_0x543c61][_0x118ce1(0x296)],..._0xa06c36[_0x543c61][_0x118ce1(0x259)]}},_0xce446=this[_0x118ce1(0x269)]['transformMutation'](_0x32e526,_0x1223f9,!0x1),_0x57cbe4=this[_0x118ce1(0x269)][_0x118ce1(0x245)](_0x1faa64,_0xd85b0c,!0x1);if(_0x39028d(_0xce446))throw _0xce446[_0x118ce1(0x17e)];if(_0x39028d(_0x57cbe4))throw _0x57cbe4[_0x118ce1(0x17e)];_0x47df2e[_0x118ce1(0x1d8)]({..._0xa06c36[_0x543c61],'undoState':_0xce446[_0x118ce1(0x116)]['params'],'redoState':_0x57cbe4['m2Prime'][_0x118ce1(0xf2)]}),_0x32e526=_0xce446[_0x118ce1(0x28a)],_0x1faa64=_0x57cbe4['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x574d1c,{'history':_0x235db3,'collaboration':_0x47df2e});}};re=nn([Ce(0x0,_0x473cfd(_0x8841e1)),Ce(0x1,_0x21d527),Ce(0x2,_0x473cfd(_0x3615bd))],re);var rn=Object[_0x18ff5c(0x148)],on=(_0x31378a,_0x265d69,_0x28fa71,_0x50b7f6)=>{for(var _0x5bb5c0=_0x50b7f6>0x1?void 0x0:_0x50b7f6?rn(_0x265d69,_0x28fa71):_0x265d69,_0x18c566=_0x31378a['length']-0x1,_0x53f46e;_0x18c566>=0x0;_0x18c566--)(_0x53f46e=_0x31378a[_0x18c566])&&(_0x5bb5c0=_0x53f46e(_0x5bb5c0)||_0x5bb5c0);return _0x5bb5c0;},tt=(_0x3224be,_0x2a1133)=>(_0x3dcb0d,_0x8f55ed)=>_0x2a1133(_0x3dcb0d,_0x8f55ed,_0x3224be);let oe=class{constructor(_0x46fd1e,_0x487ff2){const _0x4da603=_0x18ff5c;this[_0x4da603(0x224)]=_0x46fd1e,this['_transformService']=_0x487ff2;}[_0x18ff5c(0x21e)](_0x266c25){const _0x40e766=_0x18ff5c;var _0x6259cb;const _0x516c14=this[_0x40e766(0x224)]['get'](_0x52955a),_0x197d4e=(_0x6259cb=_0x516c14[_0x40e766(0x16f)]())!=null?_0x6259cb:[];if(_0x197d4e[_0x40e766(0x103)]===0x0)return;const _0x51067d=_0x266c25['unitID'],_0x5ea654=[{'id':_0x40e766(0x2c7),'params':{'unitId':_0x51067d,'actions':null,'textRanges':_0x197d4e}}],_0x4a6629=this[_0x40e766(0x269)][_0x40e766(0x184)](_0x266c25,_0x5ea654);if(!_0x4e7f42(_0x4a6629))throw _0x4a6629['error'];const _0x1343c0=_0x4a6629[_0x40e766(0x116)][0x0]['params'][_0x40e766(0x2b4)];Array['isArray'](_0x1343c0)&&_0x1343c0['length']&&_0x516c14['replaceDocRanges'](_0x1343c0,{'unitId':_0x51067d,'subUnitId':_0x51067d},!0x1);}};oe=on([tt(0x0,_0x473cfd(_0x8841e1)),tt(0x1,_0x21d527)],oe);var an=Object[_0x18ff5c(0x148)],cn=(_0x525f99,_0x41ab6f,_0x22aa25,_0x94ebe6)=>{for(var _0x3b8abf=_0x94ebe6>0x1?void 0x0:_0x94ebe6?an(_0x41ab6f,_0x22aa25):_0x41ab6f,_0x13483a=_0x525f99['length']-0x1,_0xa563b;_0x13483a>=0x0;_0x13483a--)(_0xa563b=_0x525f99[_0x13483a])&&(_0x3b8abf=_0xa563b(_0x3b8abf)||_0x3b8abf);return _0x3b8abf;},U=(_0x108f6d,_0x341dac)=>(_0xba1cac,_0x4337b5)=>_0x341dac(_0xba1cac,_0x4337b5,_0x108f6d);let ae=class extends _0xd34a60{constructor(_0x20915d,_0x50ac51,_0x6af414,_0x3a93a2,_0x18a0a3,_0x2c796a,_0x25f668,_0x447b73){const _0x1f8897=_0x18ff5c;super(),_(this,'_status$',new _0x295e0a(_0x3e07c8[_0x1f8897(0x11c)])),(this[_0x1f8897(0xf8)]=_0x20915d,this[_0x1f8897(0x2a8)]=_0x50ac51,this[_0x1f8897(0x1f4)]=_0x6af414,this[_0x1f8897(0x1cb)]=_0x3a93a2,this[_0x1f8897(0x2d6)]=_0x18a0a3,this[_0x1f8897(0x10f)]=_0x2c796a,this['_messageService']=_0x25f668,this['_localeService']=_0x447b73,this[_0x1f8897(0x105)]());}[_0x18ff5c(0x105)](){const _0x4505e7=_0x18ff5c;this[_0x4505e7(0x27d)](this['_collaborationController'][_0x4505e7(0x110)]['subscribe'](_0x59af18=>{const _0x1dc60f=_0x4505e7,_0x39e982=this[_0x1dc60f(0xf8)][_0x1dc60f(0x1d6)]['subscribe'](_0x5dca85=>{const _0x1ec839=_0x1dc60f;if(_0x5dca85==null)return;const {unitId:_0x74652a,redoState:_0x1313b9,commandId:_0x332106}=_0x5dca85;if(_0x74652a!==_0x59af18[_0x1ec839(0x23f)])return;const _0x5b4dba={'id':_0x332106,'type':_0x31da2c['MUTATION'],'params':{'unitId':_0x74652a,'actions':_0x1313b9[_0x1ec839(0x14f)],'textRanges':null}};_0x59af18[_0x1ec839(0x26d)](_0x5b4dba);});if(_0x59af18[_0x1dc60f(0x27d)](_0x39e982),_0x59af18 instanceof _0x34944c){const _0x1c5d62={'onTransformIME':_0x55d309=>this['_docTransformIMECacheService'][_0x1dc60f(0x258)](_0x55d309),'onTransformState':_0x5b9ea7=>this[_0x1dc60f(0x1cb)][_0x1dc60f(0x26e)](_0x5b9ea7),'onTransformSelections':_0x40454b=>this[_0x1dc60f(0x2d6)][_0x1dc60f(0x21e)](_0x40454b),'onSyncEditingCollabCursor':_0x4b6400=>this[_0x1dc60f(0x10f)][_0x1dc60f(0x280)](_0x4b6400),'onTransformRemoteChangesetByIMECache':_0x43b5a6=>this[_0x1dc60f(0x1f4)][_0x1dc60f(0x1ad)](_0x43b5a6),'onTransformRemoteChangesetByStateCache':_0x314efc=>this[_0x1dc60f(0x1cb)][_0x1dc60f(0x1ad)](_0x314efc)};_0x59af18['addHandlerCallback'](_0x1c5d62);}}));}};ae=cn([U(0x0,_0x473cfd(_0x3615bd)),U(0x1,_0x473cfd(_0x398c8a)),U(0x2,_0x473cfd(ne)),U(0x3,_0x473cfd(re)),U(0x4,_0x473cfd(oe)),U(0x5,_0x473cfd(He)),U(0x6,_0x3b3880),U(0x7,_0x473cfd(_0x4dd1ac))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1ec546,_0x2784cc,_0x413d11,_0x148e38)=>{const _0x117124=_0x18ff5c;for(var _0x4bf87e=_0x148e38>0x1?void 0x0:_0x148e38?ln(_0x2784cc,_0x413d11):_0x2784cc,_0x13cc3a=_0x1ec546[_0x117124(0x103)]-0x1,_0x1d9a18;_0x13cc3a>=0x0;_0x13cc3a--)(_0x1d9a18=_0x1ec546[_0x13cc3a])&&(_0x4bf87e=_0x1d9a18(_0x4bf87e)||_0x4bf87e);return _0x4bf87e;},Ee=(_0x5516d5,_0xb2d0bb)=>(_0x2199a3,_0x5a7fc2)=>_0xb2d0bb(_0x2199a3,_0x5a7fc2,_0x5516d5);let we=class extends _0xd34a60{constructor(_0x497c63,_0xd2def6,_0xacc08f){const _0x27cd2d=_0x18ff5c;super(),_(this,'_cachedData',new Map()),_(this,_0x27cd2d(0x2dc),new Map()),_(this,_0x27cd2d(0x276),!0x1),(this['_configService']=_0x497c63,this[_0x27cd2d(0x218)]=_0xd2def6,this['_revisionService']=_0xacc08f);}[_0x18ff5c(0x1ff)](){const _0xa758cf=_0x18ff5c;this[_0xa758cf(0x276)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x18ff5c(0x1a7)](){const _0x15e25d=_0x18ff5c;this['exhaustSavingTask']()[_0x15e25d(0x2bc)](()=>super[_0x15e25d(0x1a7)]());}async['loadOfflineData'](_0x10b34e){const _0x5b7c5e=_0x18ff5c;return this[_0x5b7c5e(0x276)]?null:this[_0x5b7c5e(0x218)][_0x5b7c5e(0x238)](_0x3180aa(_0x10b34e));}async[_0x18ff5c(0x196)](_0x1e400a,_0x45175d){const _0x436788=_0x18ff5c;return!!this[_0x436788(0x218)][_0x436788(0x134)](_0x1e400a,_0x45175d);}['updateOfflineData'](_0x51d0a9,_0x5ca04b,_0x23ae4d,_0x7d9a3b){const _0x31b6b7=_0x18ff5c,_0x5735c7=this[_0x31b6b7(0x24d)][_0x31b6b7(0xe2)](_0x51d0a9);this[_0x31b6b7(0x27b)][_0x31b6b7(0x136)](_0x51d0a9,{'unitID':_0x51d0a9,'type':_0x5ca04b,'awaitingChangeset':_0x23ae4d,'mutations':_0x7d9a3b,'rev':_0x5735c7}),this[_0x31b6b7(0x2dc)][_0x31b6b7(0x16a)](_0x51d0a9)||this[_0x31b6b7(0x189)](_0x51d0a9);}[_0x18ff5c(0x189)](_0xb93b51){const _0x2c5932=_0x18ff5c,_0x34b8cd=this[_0x2c5932(0x1c4)]();_0x34b8cd===0x0?this['_saveCache'](_0xb93b51):this['_saveTaskMap'][_0x2c5932(0x136)](_0xb93b51,setTimeout(()=>this['_saveCache'](_0xb93b51),_0x34b8cd));}[_0x18ff5c(0x1c4)](){const _0x168366=_0x18ff5c;var _0x5b0482;return(_0x5b0482=this[_0x168366(0x1af)][_0x168366(0x158)](_0x457952))!=null?_0x5b0482:_0x4ee903;}[_0x18ff5c(0x13f)](_0xe8588b){const _0x581df4=_0x18ff5c,_0x14213b=this['_saveTaskMap'][_0x581df4(0x253)](_0xe8588b);return _0x14213b!==void 0x0&&window['clearTimeout'](_0x14213b),this[_0x581df4(0x218)]['setItem'](_0x3180aa(_0xe8588b),this[_0x581df4(0x27b)][_0x581df4(0x253)](_0xe8588b))[_0x581df4(0x2bc)](()=>this[_0x581df4(0x2dc)][_0x581df4(0x2d3)](_0xe8588b));}async[_0x18ff5c(0x183)](){const _0x2eab79=_0x18ff5c,_0x253f72=[];this[_0x2eab79(0x2dc)]['forEach']((_0x40da3d,_0xaee26a)=>{const _0x154aa9=_0x2eab79;window[_0x154aa9(0x2db)](_0x40da3d),_0x253f72[_0x154aa9(0x1a9)](this['_saveCache'](_0xaee26a)['then'](()=>{const _0x585a39=_0x154aa9;this[_0x585a39(0x2dc)]['delete'](_0xaee26a);}));}),await Promise[_0x2eab79(0x28d)](_0x253f72);}};we=_n([Ee(0x0,_0xacb8a3),Ee(0x1,_0x259246),Ee(0x2,_0x473cfd(_0x518157))],we);class hn extends _0x572522{constructor(){const _0x5e18ce=_0x18ff5c;super(),_(this,_0x5e18ce(0x29d)),this[_0x5e18ce(0x29d)]=_0x56024f(window,'popstate')[_0x5e18ce(0x2c4)](_0x27b228(this[_0x5e18ce(0x149)]),_0x57b654(0x1),_0x59426d(void 0x0));}[_0x18ff5c(0x21a)](_0xdddf86,_0x50f24a,_0x3a4841=!0x1){const _0x4c4f80=_0x18ff5c,_0x22bc72=new URL(window['location'][_0x4c4f80(0x1dc)]);_0x22bc72[_0x4c4f80(0x260)][_0x4c4f80(0x136)](_0xdddf86,_0x50f24a),_0x3a4841?window[_0x4c4f80(0x1be)]['replaceState']('','',_0x22bc72[_0x4c4f80(0x1da)]()):window[_0x4c4f80(0x1be)][_0x4c4f80(0x2b6)]('','',_0x22bc72[_0x4c4f80(0x1da)]());}['removeParam'](_0x515e8e,_0x26de25=!0x1){const _0x372d27=_0x18ff5c,_0x115339=new URL(window[_0x372d27(0x168)][_0x372d27(0x1dc)]);_0x115339[_0x372d27(0x260)][_0x372d27(0x2d3)](_0x515e8e),_0x26de25?window[_0x372d27(0x1be)]['replaceState']('','',_0x115339[_0x372d27(0x1da)]()):window[_0x372d27(0x1be)]['pushState']('','',_0x115339[_0x372d27(0x1da)]());}['getParam'](_0x1be657){const _0x4d1fd4=_0x18ff5c;var _0xe72a65;return(_0xe72a65=new URL(window[_0x4d1fd4(0x168)][_0x4d1fd4(0x1dc)])[_0x4d1fd4(0x260)]['get'](_0x1be657))!=null?_0xe72a65:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x18ff5c(0x148)],fn=(_0x1b15ab,_0x47c7d0,_0x5b4113)=>_0x47c7d0 in _0x1b15ab?un(_0x1b15ab,_0x47c7d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b4113}):_0x1b15ab[_0x47c7d0]=_0x5b4113,Sn=(_0x4c55fa,_0x140447,_0x3c38a3,_0x407050)=>{const _0x1ebb87=_0x18ff5c;for(var _0x37d2d5=_0x407050>0x1?void 0x0:_0x407050?dn(_0x140447,_0x3c38a3):_0x140447,_0x9118f6=_0x4c55fa[_0x1ebb87(0x103)]-0x1,_0x482226;_0x9118f6>=0x0;_0x9118f6--)(_0x482226=_0x4c55fa[_0x9118f6])&&(_0x37d2d5=_0x482226(_0x37d2d5)||_0x37d2d5);return _0x37d2d5;},Oe=(_0x855695,_0x1e219d)=>(_0x4e1482,_0x512fba)=>_0x1e219d(_0x4e1482,_0x512fba,_0x855695),mn=(_0x1f80b8,_0x2cf9f3,_0x547a46)=>fn(_0x1f80b8,_0x2cf9f3+'',_0x547a46);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x4f5aef{constructor(_0x5243fa=et,_0x4d0954,_0x3ef3c9,_0x3b9a00){const _0x49f35b=_0x18ff5c;super(),this[_0x49f35b(0x277)]=_0x5243fa,this[_0x49f35b(0x268)]=_0x4d0954,this['_injector']=_0x3ef3c9,this[_0x49f35b(0x1af)]=_0x3b9a00;const {..._0x5cb793}=_0x20aa97({},et,this[_0x49f35b(0x277)]);this[_0x49f35b(0x1af)]['setConfig'](Zi,_0x5cb793);}[_0x18ff5c(0x11b)](){const _0x3cc751=_0x18ff5c;this[_0x3cc751(0x1c8)](),this[_0x3cc751(0x1d7)]();}['onRendered'](){const _0x2fdff7=_0x18ff5c;this[_0x2fdff7(0x2c8)]();}[_0x18ff5c(0x1c8)](){const _0x4560f1=_0x18ff5c;var _0xdbbd70;const _0x333168=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4345f9,{'useClass':_0x57f7a3}],[_0x2b8274,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1152d2(this[_0x4560f1(0x224)],_0x1c4064(_0x333168,(_0xdbbd70=this[_0x4560f1(0x277)])==null?void 0x0:_0xdbbd70[_0x4560f1(0x1b1)]));}['_registerRenderDependencies'](){const _0x44c79d=_0x18ff5c;this[_0x44c79d(0x27d)](this[_0x44c79d(0x268)]['registerRenderModule'](_0x179e2f[_0x44c79d(0x25f)],[Pe])),this[_0x44c79d(0x27d)](this[_0x44c79d(0x268)][_0x44c79d(0x1ec)](_0x179e2f['UNIVER_SHEET'],[Le]));}['_initDependencies'](){const _0x12091d=_0x18ff5c;_0x207c15(this[_0x12091d(0x224)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x18ff5c(0x108),gn),Ae=Sn([_0x59f4f6(_0x3a62c3),Oe(0x1,_0x4abec1),Oe(0x2,_0x473cfd(_0x8841e1)),Oe(0x3,_0xacb8a3)],Ae);var In=Object[_0x18ff5c(0x148)],vn=(_0x467bef,_0x1bbb30,_0x160785,_0x909934)=>{for(var _0x4e04b9=_0x909934>0x1?void 0x0:_0x909934?In(_0x1bbb30,_0x160785):_0x1bbb30,_0x1b882f=_0x467bef['length']-0x1,_0x1bf0cd;_0x1b882f>=0x0;_0x1b882f--)(_0x1bf0cd=_0x467bef[_0x1b882f])&&(_0x4e04b9=_0x1bf0cd(_0x4e04b9)||_0x4e04b9);return _0x4e04b9;},K=(_0x5f2a98,_0x4d102a)=>(_0x57eead,_0x1adc9b)=>_0x4d102a(_0x57eead,_0x1adc9b,_0x5f2a98);let st=class extends _0x5e5b98{constructor(_0x4975a1,_0x27b988,_0x231ac7,_0x437f98,_0x21e82b){super(_0x4975a1,_0x27b988,_0x231ac7,_0x437f98,_0x21e82b);}async['createSocket'](_0x5d7d89){const _0x5ba447=_0x18ff5c,_0x479e54=await this[_0x5ba447(0x1c3)](),_0x541224=this[_0x5ba447(0x1fc)](_0x5d7d89,_0x479e54);return this[_0x5ba447(0x2b1)](_0x541224);}[_0x18ff5c(0x1fc)](_0x3e2f6d,_0x12f400){const _0x2cd734=_0x18ff5c,_0x1dbc13=typeof window>'u'?new URL(_0x3e2f6d):new URL(_0x3e2f6d,window['location'][_0x2cd734(0x12c)]);_0x1dbc13['searchParams']['set'](_0x2cd734(0x2a7),_0x12f400);const _0x200c0a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2cd734(0x168)][_0x2cd734(0x251)]);return _0x200c0a[_0x2cd734(0x253)](_0x2cd734(0x2c9))&&_0x1dbc13['searchParams']['set'](_0x2cd734(0x2c9),_0x200c0a['get'](_0x2cd734(0x2c9))),_0x1dbc13[_0x2cd734(0x1da)]();}async['_getSessionTicket'](){const _0x520788=_0x18ff5c;var _0x3c0511,_0x3f2fc9,_0x4f78b7;const _0x247ab1=this[_0x520788(0x1af)][_0x520788(0x158)](_0x5ac8b8),_0x13b079=(_0x3c0511=_0x247ab1==null?void 0x0:_0x247ab1[_0x520788(0xf1)])!=null?_0x3c0511:_0x3e018d;return(_0x4f78b7=(_0x3f2fc9=(await this[_0x520788(0x209)][_0x520788(0x253)](_0x13b079,{'headers':{'Content-Type':_0x520788(0x22f)}}))[_0x520788(0x1d1)])==null?void 0x0:_0x3f2fc9[_0x520788(0x2be)])!=null?_0x4f78b7:'';}};st=vn([K(0x0,_0x473cfd(_0x8841e1)),K(0x1,_0x473cfd(_0x389e25)),K(0x2,_0xacb8a3),K(0x3,_0x375cad),K(0x4,_0x4d8a81)],st);const it=0x7530,nt=_0x18ff5c(0x26b);class jn extends _0xd34a60{constructor(){const _0x4e7c9a=_0x18ff5c;super(),_(this,_0x4e7c9a(0x1d3),_0x4e81f6()),_(this,_0x4e7c9a(0x25e),new Set()),_(this,_0x4e7c9a(0x1c7),new Map()),_(this,_0x4e7c9a(0x19d),null),_(this,_0x4e7c9a(0x233),new Map()),_(this,_0x4e7c9a(0x15b),new Map()),this['_init']();}[_0x18ff5c(0x1a7)](){const _0x4715c9=_0x18ff5c;super['dispose'](),this['_clearOtherTimers'][_0x4715c9(0x12e)]((_0x428067,_0x276973)=>this['_removeClearOtherTimer'](_0x276973)),this[_0x4715c9(0x19d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x18ff5c(0x223)](_0x16170f){const _0x51e688=_0x18ff5c;return this[_0x51e688(0x263)](_0x16170f)['pipe'](_0x582d5d());}[_0x18ff5c(0x215)](_0x4b3ebc){const _0x1c256b=_0x18ff5c;this[_0x1c256b(0x25e)][_0x1c256b(0x133)]===0x0&&this[_0x1c256b(0x1f3)](),this['_selfUnitIDs']['add'](_0x4b3ebc),this['_send']({'type':0x0,'memberID':this[_0x1c256b(0x1d3)],'unitIDs':[_0x4b3ebc],'isForwarded':!0x1});}[_0x18ff5c(0x1ca)](_0x54cc02){const _0x3734a6=_0x18ff5c;this[_0x3734a6(0x25e)]['delete'](_0x54cc02),this[_0x3734a6(0x25e)][_0x3734a6(0x133)]===0x0&&this[_0x3734a6(0x19d)]&&window[_0x3734a6(0x282)](this[_0x3734a6(0x19d)]);}[_0x18ff5c(0x164)](){const _0x4dc655=_0x18ff5c;this[_0x4dc655(0x27d)](_0x17e9c7(_0x56024f(window,'storage')[_0x4dc655(0x104)](_0x10ff20=>{const _0x150014=_0x4dc655;if(_0x10ff20[_0x150014(0x13a)]!==nt||!_0x10ff20[_0x150014(0x24c)])return;const _0x10995b=JSON[_0x150014(0x2c3)](_0x10ff20['newValue']);this[_0x150014(0x106)](_0x10995b);}))),window[_0x4dc655(0x210)](_0x4dc655(0xed),()=>this[_0x4dc655(0x1ae)]({'type':0x1,'memberID':this[_0x4dc655(0x1d3)],'unitIDs':Array[_0x4dc655(0x29b)](this[_0x4dc655(0x25e)])}));}['_handleEvent'](_0x172b32){const _0x554ec8=_0x18ff5c;switch(_0x172b32[_0x554ec8(0x111)]){case 0x0:this[_0x554ec8(0x2ce)](_0x172b32);break;case 0x1:this['_handleLeaveEvent'](_0x172b32);break;case 0x2:this[_0x554ec8(0x12b)](_0x172b32);break;}}[_0x18ff5c(0x2ce)](_0x4edb8b){const _0x109f5e=_0x18ff5c,{unitIDs:_0x5adb36,memberID:_0x55806,isForwarded:_0x14c37c}=_0x4edb8b;_0x5adb36[_0x109f5e(0x12e)](_0xd9ff0c=>{const _0x5a4a60=_0x109f5e;if(!_0x14c37c&&this[_0x5a4a60(0x1c7)]['has'](_0xd9ff0c)&&this[_0x5a4a60(0x263)](_0xd9ff0c)['next'](_0x858842[_0x5a4a60(0x20c)]),!this[_0x5a4a60(0x1c7)][_0x5a4a60(0x16a)](_0xd9ff0c)||!this[_0x5a4a60(0x1c7)][_0x5a4a60(0x253)](_0xd9ff0c)[_0x5a4a60(0x16a)](_0x55806)){const _0x37f7f=this['_unitOnClients'][_0x5a4a60(0x253)](_0xd9ff0c)||new Set();_0x37f7f[_0x5a4a60(0x16c)](_0x55806),this[_0x5a4a60(0x1c7)][_0x5a4a60(0x136)](_0xd9ff0c,_0x37f7f),this[_0x5a4a60(0xf0)](_0x55806);}}),_0x14c37c||this[_0x109f5e(0x1ae)]({'type':0x0,'memberID':this[_0x109f5e(0x1d3)],'unitIDs':[...this[_0x109f5e(0x25e)]],'isForwarded':!0x0});}[_0x18ff5c(0xf0)](_0x22870b){const _0x680969=_0x18ff5c;this[_0x680969(0x109)](_0x22870b);const _0x4302aa=window[_0x680969(0x150)](()=>{const _0x1a40fa=_0x680969;this[_0x1a40fa(0x1c7)]['forEach'](_0x4c53f6=>{_0x4c53f6['delete'](_0x22870b);});},it*0x2);this[_0x680969(0x233)]['set'](_0x22870b,_0x4302aa);}[_0x18ff5c(0x109)](_0xba0fcc){const _0x43374b=_0x18ff5c;if(this[_0x43374b(0x233)][_0x43374b(0x16a)](_0xba0fcc)){const _0x2bb523=this[_0x43374b(0x233)][_0x43374b(0x253)](_0xba0fcc);_0x2bb523&&window[_0x43374b(0x2db)](_0x2bb523),this[_0x43374b(0x233)][_0x43374b(0x136)](_0xba0fcc,null);}}[_0x18ff5c(0x1f9)](_0x4c1788){const _0x123189=_0x18ff5c,{memberID:_0x267a04,unitIDs:_0x17cbfa}=_0x4c1788;_0x17cbfa['forEach'](_0x45aa53=>{const _0x660f26=_0x4c1b;var _0x3a2cd5;const _0x1386c5=this['_unitOnClients'][_0x660f26(0x253)](_0x45aa53);_0x1386c5&&(_0x1386c5['delete'](_0x267a04),(_0x3a2cd5=this[_0x660f26(0x263)](_0x45aa53))==null||_0x3a2cd5[_0x660f26(0x1db)](_0x1386c5['size']===0x0?_0x858842[_0x660f26(0x2b5)]:_0x858842[_0x660f26(0x20c)]));}),this[_0x123189(0x109)](_0x267a04);}[_0x18ff5c(0x12b)](_0x25f124){const _0x354326=_0x18ff5c;this[_0x354326(0xf0)](_0x25f124[_0x354326(0x10a)]);}['_send'](_0x58ab07){const _0x1c7005=_0x18ff5c;localStorage[_0x1c7005(0x134)](nt,JSON[_0x1c7005(0x244)](_0x58ab07));}[_0x18ff5c(0x1f3)](){const _0x310ce1=_0x18ff5c;this[_0x310ce1(0x19d)]=window[_0x310ce1(0xf5)](()=>{const _0x546149=_0x310ce1;this[_0x546149(0x1ae)]({'type':0x2,'memberID':this[_0x546149(0x1d3)]});},it);}[_0x18ff5c(0x263)](_0x9260ea){const _0x435585=_0x18ff5c;return this['_unitStatus']['has'](_0x9260ea)||this[_0x435585(0x15b)]['set'](_0x9260ea,new _0x295e0a(_0x858842[_0x435585(0x2b5)])),this[_0x435585(0x15b)][_0x435585(0x253)](_0x9260ea);}}var Mt=(_0x3f044f=>(_0x3f044f[_0x3f044f[_0x18ff5c(0x117)]=0x0]=_0x18ff5c(0x117),_0x3f044f[_0x3f044f['OK']=0x1]='OK',_0x3f044f[_0x3f044f[_0x18ff5c(0x29a)]=0x2]=_0x18ff5c(0x29a),_0x3f044f[_0x3f044f['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3f044f[_0x3f044f[_0x18ff5c(0x126)]=0x4]=_0x18ff5c(0x126),_0x3f044f[_0x3f044f[_0x18ff5c(0x287)]=0x5]='UNAUTHENTICATED',_0x3f044f[_0x3f044f[_0x18ff5c(0x2b2)]=0x6]=_0x18ff5c(0x2b2),_0x3f044f[_0x3f044f['INVALID_ARGUMENT']=0x7]=_0x18ff5c(0x201),_0x3f044f[_0x3f044f[_0x18ff5c(0x1e3)]=0x8]='TOO_MANY_REQUESTS',_0x3f044f[_0x3f044f[_0x18ff5c(0xe6)]=0x9]=_0x18ff5c(0xe6),_0x3f044f[_0x3f044f[_0x18ff5c(0x1a0)]=0xa]='LOGIN_FAILED',_0x3f044f[_0x3f044f[_0x18ff5c(0x241)]=0x1389]=_0x18ff5c(0x241),_0x3f044f[_0x3f044f[_0x18ff5c(0x288)]=0x1771]=_0x18ff5c(0x288),_0x3f044f[_0x3f044f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x18ff5c(0x130),_0x3f044f[_0x3f044f[_0x18ff5c(0x2d4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3f044f[_0x3f044f[_0x18ff5c(0x1bb)]=0x1b59]=_0x18ff5c(0x1bb),_0x3f044f[_0x3f044f[_0x18ff5c(0x1fd)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3f044f[_0x3f044f[_0x18ff5c(0xf9)]=0x1b5b]=_0x18ff5c(0xf9),_0x3f044f[_0x3f044f[_0x18ff5c(0x1c0)]=0x1b5c]=_0x18ff5c(0x1c0),_0x3f044f[_0x3f044f[_0x18ff5c(0x1b6)]=0x1b5d]=_0x18ff5c(0x1b6),_0x3f044f[_0x3f044f[_0x18ff5c(0x26f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3f044f[_0x3f044f[_0x18ff5c(0x10c)]=0x2329]=_0x18ff5c(0x10c),_0x3f044f[_0x3f044f[_0x18ff5c(0x2ba)]=0x232a]=_0x18ff5c(0x2ba),_0x3f044f[_0x3f044f[_0x18ff5c(0x271)]=0x232b]=_0x18ff5c(0x271),_0x3f044f[_0x3f044f[_0x18ff5c(0x192)]=0x232c]=_0x18ff5c(0x192),_0x3f044f[_0x3f044f[_0x18ff5c(0x165)]=0x232d]=_0x18ff5c(0x165),_0x3f044f[_0x3f044f['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3f044f[_0x3f044f[_0x18ff5c(0xe1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3f044f[_0x3f044f[_0x18ff5c(0x167)]=0x2713]=_0x18ff5c(0x167),_0x3f044f[_0x3f044f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x18ff5c(0x2a9),_0x3f044f[_0x3f044f[_0x18ff5c(0x172)]=0x271a]=_0x18ff5c(0x172),_0x3f044f[_0x3f044f[_0x18ff5c(0x1bf)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3f044f[_0x3f044f['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x18ff5c(0xe5),_0x3f044f[_0x3f044f[_0x18ff5c(0x25b)]=0x271d]=_0x18ff5c(0x25b),_0x3f044f[_0x3f044f['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x18ff5c(0x291),_0x3f044f[_0x3f044f[_0x18ff5c(0x272)]=0x271f]=_0x18ff5c(0x272),_0x3f044f[_0x3f044f[_0x18ff5c(0x2af)]=0x2af9]=_0x18ff5c(0x2af),_0x3f044f[_0x3f044f['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x18ff5c(0x102),_0x3f044f[_0x3f044f['INVALID_INVITE_CODE']=0x2ee2]=_0x18ff5c(0x12a),_0x3f044f[_0x3f044f['INVITE_CODE_REQUIRED']=0x2ee3]=_0x18ff5c(0x25d),_0x3f044f[_0x3f044f[_0x18ff5c(0x23a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3f044f[_0x3f044f[_0x18ff5c(0x1e2)]=0x2ee5]=_0x18ff5c(0x1e2),_0x3f044f[_0x3f044f[_0x18ff5c(0x100)]=0x32c9]=_0x18ff5c(0x100),_0x3f044f[_0x3f044f[_0x18ff5c(0xec)]=0x32ca]=_0x18ff5c(0xec),_0x3f044f[_0x3f044f[_0x18ff5c(0xe9)]=0x32cb]=_0x18ff5c(0xe9),_0x3f044f[_0x3f044f[_0x18ff5c(0x1f6)]=-0x1]=_0x18ff5c(0x1f6),_0x3f044f))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x2a9e9f,_0x8bc24c,_0x4f04e0,_0x1392d2)=>{const _0x25a0ee=_0x18ff5c;for(var _0x3b8bd9=_0x1392d2>0x1?void 0x0:_0x1392d2?pn(_0x8bc24c,_0x4f04e0):_0x8bc24c,_0xdea6f0=_0x2a9e9f[_0x25a0ee(0x103)]-0x1,_0x3683dc;_0xdea6f0>=0x0;_0xdea6f0--)(_0x3683dc=_0x2a9e9f[_0xdea6f0])&&(_0x3b8bd9=_0x3683dc(_0x3b8bd9)||_0x3b8bd9);return _0x3b8bd9;},be=(_0x45bb23,_0x586a2d)=>(_0x76a445,_0x2d34dd)=>_0x586a2d(_0x76a445,_0x2d34dd,_0x45bb23);let rt=class extends _0xd34a60{constructor(_0x537c68,_0x52703e,_0x5d9aed){const _0x19352f=_0x18ff5c;super(),this[_0x19352f(0x284)]=_0x537c68,this['_httpService']=_0x52703e,this['_configService']=_0x5d9aed;}async[_0x18ff5c(0x1b3)](_0x75d56e,_0xe6529a,_0x1025d1,..._0x2b11f7){const _0x2113a6=_0x18ff5c;var _0xb54b40,_0x9a9a2e,_0x482d1b,_0x53faf1;const _0x532a1e=this[_0x2113a6(0x284)][_0x2113a6(0x11e)]();if(!_0x532a1e)throw new Error(_0x2113a6(0x2dd));const _0xc8e8c5=((_0xb54b40=this['_configService'][_0x2113a6(0x158)](_0x419052))!=null?_0xb54b40:_0x4f89b8)+'/'+_0x75d56e+'/run/'+_0xe6529a,_0x2505f0=new URL(window[_0x2113a6(0x168)][_0x2113a6(0x1dc)]),_0x2421b5={'scriptId':_0x75d56e,'runId':(_0x9a9a2e=_0x2505f0[_0x2113a6(0x260)][_0x2113a6(0x253)]('runId'))!=null?_0x9a9a2e:'','function':_0xe6529a,'unitId':_0x532a1e['getUnitId'](),'argsOfFunction':JSON[_0x2113a6(0x244)](_0x2b11f7),'invokeId':(_0x482d1b=_0x1025d1[_0x2113a6(0x1eb)])!=null?_0x482d1b:'','executionId':(_0x53faf1=_0x1025d1['executionId'])!=null?_0x53faf1:''};try{const _0x2594a5=await this[_0x2113a6(0x209)]['post'](_0xc8e8c5,{'body':_0x2421b5});return _0x2594a5[_0x2113a6(0x1d1)][_0x2113a6(0x17e)]&&_0x2594a5['body'][_0x2113a6(0x17e)]['code']!==Mt['OK']?_0x2113a6(0x247):_0x2594a5['body'][_0x2113a6(0x1f8)];}catch{return _0x2113a6(0x247);}}};function _0x5784(){const _0x3f8902=['3161007Mjsvza','some','backgroundColor','_shapes','editingUnit','show','status$','_localStorageService','getTypeOfUnitAdded$','setParam','getUndoRedoMutationParamsCache','executeCommand','evenodd','transformSelections','reconnect','0\x200\x2016\x2016','call','addObject','getUnitStatus$','_injector','moveTo','InsertColCommandId','_hover','sheetId','getMember','getCellPositionByOffset','getValue','getAncestorScale','FETCH_MISS','indexOf','application/json','currentColor','_notificationService','flatMap','_clearOtherTimers','_setupBeforeClosingHandler','values','_dataLoaderService','_initResize','getItem','getMergeData','USER_NOT_INVITED_CODE','green.600','map','off-line-single_clip0_910_343','beginPath','unitID','imageSourceType','CHANGESET_REVISION_CONFILICT','onMouseMove','bottom','stringify','transformMutation','_startSheetCollabCursor','Failed','string','triggerDblclick','_roomMembers$','getMemberID','newValue','_revisionService','DeleteRangeMoveUpCommandId','_collabSessionService','focused$','search','_toggleOffline','get','send','measureText','range','_name','transformIMECache','redoState','_initEvent','YUUMI_ALL_TABLES_IS_INVALID','UPDATE_CURSOR','INVITE_CODE_REQUIRED','_selfUnitIDs','UNIVER_DOC','searchParams','_onRefRangeChange','_refreshCollabCursors','_ensureSubject','PERMISSION_DENIED','getRangePointData','collabStatus.conflict','concat','_renderManagerService','_transformService','subunit','ACTIVE_UNIT_EVENT_CHANNEL','collab-client.tooltip.reconnect','onLocalMutation','transformStateCache','CONNECTOR_DATA_TOO_LARGE','assignAColorForMemberID','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_AI_RUN_FAILED','_assignedColors','univer-flex\x20univer-items-center','getRelativeToViewportCoord','_disabled','_config','collaboration.single-unit.warning','OFFLINE','_logService','_cachedData','getRenderById','disposeWithMe','Error','_beforeCloseService','syncEditingCollabCursor','restore','clearInterval','unit','_instanceService','font','deepClone','UNAUTHENTICATED','SNAPSHOT_INVALID_SNAPSHOT','black','m1Prime','jiqing.500','red.300','all','VIEW_MAIN','getTypeOfUnitDisposed$','mask','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OTHER_CLIENT_EDITING','2118twQPbU','[CollaborationDataLoaderController]','SOCKET_FAILED','unitId','div','rgba(255,\x20255,\x20255,\x200.01)','xlink:href','INTERNAL_ERROR','from','find','urlChange$','session.collaboration-timeout','isActive','hovered','toRgbString','getCollabEntity$','contains','CONFLICT','univer-flex\x20univer-mr-2\x20univer-text-xl','_imageIoService','sessionTicket','_collaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','fillText','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','startColumn','labelPosition','_onCursorUpdate','PY_RUNTIME_SCRIPT_ERROR','ranges','_doCreateSocket','ALREADY_EXISTS','registerRefRange','textRanges','NO_OTHER_CLIENTS_EDITING','pushState','getSheetBySheetId','_handleHover','_docClipboardService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','split','then','collab-rect-range-','ticket','name','collabStatus.synced','35nnaPxF','path','parse','pipe','onTransformChange$','_collabCursorController','doc.mutation.rich-text-editing','_registerRenderDependencies','runId','_docSkeletonManagerService','_hideTimer','_collabCursorState$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleJoinEvent','_toggleOnline','HEADER_MENU','assign','_eventUnsubscribe','delete','ENSURE_SNAPSHOT_EXECUTION','_labelPosition','_docTransformSelectionsService','_getScale','PENDING','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','currentTheme$','clearTimeout','_saveTaskMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','saveTaskMap','0\x200\x2017\x2016','InsertRowCommandId','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentRevOfUnit','_updateSubUnitFromURLParams','243717LyzVWf','YUUMI_TABLE_NOT_FOUND_IN_UNIT','COMPLETION_FINISHED','SUBMIT_CHANGESET_TIMEOUT','_cursorInfo$','EMAIL_HAS_BEEN_BOUND','RECT','_colorIndex','MOBILE_HAS_BEEN_BOUND','unload','_collaborationUIEventService','_cursorShapes','_scheduleClearOtherTimer','wsSessionTicketUrl','params','1302737HSYEbT','none','setInterval','createInstance','10oMvNRI','_docStateChangeManagerService','APPLY_REVISION_CONFILICT','substring','_startDocCollabCursor','USERS_LEAVE','subUnitId','_lastPointer','apply','WECHAT_HAS_BEEN_BOUND','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','INVITE_CODE_HAS_BEEN_UES','length','subscribe','_initEntityListener','_handleEvent','_getAnchorBounding','pluginName','_removeClearOtherTimer','memberID','_commandService','LICENSE_MAX_UNITS_EXCEEDED','save','_localCacheService','_docSyncEditingCollabCursorService','entityInit$','type','isArray','top','url(#$1','translate(.97)','m2Prime','UNDEFINED','#fff','row','fill','onStarting','NOT_COLLAB','_context','getFocusedUnit','closePath','_updateLocalCursor','registerBeforeClose','tag','colorChannel1','getActiveSheet','SOCKET_FAILED_RETRY','NOT_FOUND','addObjects','AWAITING','event$','INVALID_INVITE_CODE','_handleHeartbeatEvent','origin','DeleteRangeMoveLeftCommandId','forEach','subscribeEvent','SNAPSHOT_HAS_BEEN_REMOVED','getUnhiddenWorksheets','startsWith','size','setItem','hasOwnProperty','set','_drawRectRange','setAlpha','lineTo','key','roomMembers$','requireSession','_colorAssignService','complete','_saveCache','getCurrent','debug','_updateURLWithCurrentState','RemoveRowCommandId','setShapeProps','makeDirty','_transformHistoryAndStateStack','idSuffix','getOwnPropertyDescriptor','dispose$','getParam','_getSheetObject','_themeService','mutations','_refRangeService','actions','setTimeout','arc','findNodePositionByCharIndex','sessionStatus$','yellow.400','extend','min','children','getConfig','UniverIcon','getOffsetConfig','_unitStatus','onPointerLeave$','replace','purple.300','width','permission.content','propertyIsEnumerable','_session','endColumn','_init','LICENSE_DISTRO_REJECTED','ONLINE','YUUMI_RATE_OVER_LIMIT','location','UNIVER_SHEET','has','_getMergeRange','add','_anchor','collaboration.closeRoom','getDocRanges','svg','_entityInit$','YUUMI_NO_CUBOID_FOR_QUESTION','_anchorDot','1028168AhfoLP','eventID','currentSkeleton$','getActiveRange','cursorInfo','_entities','color','_univerInstanceService','with','getStateCache','error','transform','on-line-single','endRow','round','exhaustSavingTask','transformMutationsWithChangeset','attrs','univerjs-icon\x20univerjs-icon-','getSkeleton','isEditing','_scheduleSaving','_drawAnchor','_sheetSkeletonManagerService','getCollabCursors$','_localeService','getUnitId','data','saveImage','getCurrentUnitForType','LICENSE_EXPORT_SIZE_EXCEEDED','_range','getVpScrollXYInfoByPosToVp','_status$','saveOfflineData','collabStatus.fetchMiss','generateRandomId','collabCursorState$','Unknown\x20user','_transformUndoRedoStack','_initStatusComponent','_heartbeatTimer','_hovered','M0\x200H16V16H0z','LOGIN_FAILED','className','permission.title','getOwnPropertySymbols','onCommandExecuted','_updateCollabCursors','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','dispose','_cursors','push','CLOSE_ROOM','hide','_syncEditingCollabCursorService','transformRemoteChangeset','_send','_configService','_messageService','override','on-line-single_clip0_910_349','runOnServer','includes','asObservable','APPLY_DUPLICATED','TEXT','getViewport','displayName','1em','APPLY_REJECT','_cursor','_draw','history','YUUMI_ASYNCIO_CANCELLED','APPLY_PERMISSION_DENIED','startRow','icon','_getSessionTicket','_getSaveTimeout','cursorInfo$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_unitOnClients','_registerDependencies','2650844UXfqMR','disposeUnit','_docTransformStateCacheService','collaboration-client.offline-data-not-saved','FromArray','_onCursorDelete','37077348UAzYrL','getColorFromTheme','body','loadUnit','_id','text','column','docStateChange$','_initDependencies','unshift','_initStatusListener','toString','next','href','selections','_urlService','collabStatus.offline','Warning','1505GeYdwU','INVITE_CODE_ALREADY_BOUND','TOO_MANY_REQUESTS','height','JOIN_ROOM_FAILED','_memberService','28xKClNI','_render','onPointerEnter$','getUniverSheetInstance','invokeId','registerRenderModule','RemoveColCommandId','drawWith','_drawTextRange','entries','addClipboardHook','getSheetId','_scheduleHeartbeat','_docTransformIMECacheService','#FFF','UNRECOGNIZED','_removeCollabCursors','result','_handleLeaveEvent','...','undoState','_createSocketURL','APPLY_NON_SEQUENTIAL_REVISION','prototype','disableLocalCache','defs','INVALID_ARGUMENT','clipPath','symbol','init','_color','_initCommandExecutedListener','onPointerMove$','_textBubble','_httpService','url(#off-line-single_clip0_910_343)','_scene','OTHER_CLIENTS_EDITING','selection','_online','InsertRangeMoveRightCommandId','addEventListener'];_0x5784=function(){return _0x3f8902;};return _0x5784();}rt=Cn([be(0x0,_0x30e087),be(0x1,_0x473cfd(_0x389e25)),be(0x2,_0xacb8a3)],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 _0x565e5e=_0x54e2;(function(_0xb1ec0,_0x4d1913){const _0x922d86=_0x54e2,_0x4fd204=_0xb1ec0();while(!![]){try{const _0x1195c0=-parseInt(_0x922d86(0x2f2))/0x1*(parseInt(_0x922d86(0x2d9))/0x2)+parseInt(_0x922d86(0x2e2))/0x3+-parseInt(_0x922d86(0x1cd))/0x4*(parseInt(_0x922d86(0x123))/0x5)+-parseInt(_0x922d86(0x143))/0x6*(parseInt(_0x922d86(0x127))/0x7)+parseInt(_0x922d86(0x306))/0x8+-parseInt(_0x922d86(0x282))/0x9+-parseInt(_0x922d86(0x318))/0xa*(-parseInt(_0x922d86(0x261))/0xb);if(_0x1195c0===_0x4d1913)break;else _0x4fd204['push'](_0x4fd204['shift']());}catch(_0x35abf8){_0x4fd204['push'](_0x4fd204['shift']());}}}(_0x1c2a,0x72816));var $t=Object['defineProperty'],xt=(_0x3cb1bf,_0x2ef00b,_0x296066)=>_0x2ef00b in _0x3cb1bf?$t(_0x3cb1bf,_0x2ef00b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x296066}):_0x3cb1bf[_0x2ef00b]=_0x296066,_=(_0x5ca9b3,_0x3516fd,_0x4cc5a7)=>xt(_0x5ca9b3,typeof _0x3516fd!=_0x565e5e(0x281)?_0x3516fd+'':_0x3516fd,_0x4cc5a7);import{MemberService as _0x18911c,SessionStatus as _0x58ed83,CollaborationSessionService as _0x2c6ff0,CollaborationStatus as _0x5ec7ba,CollaborationController as _0x3d2839,ILocalCacheService as _0x53c3f8,CollaborationUIEventService as _0x12cfe6,CollaborationUIEventId as _0x598d5d,DataLoaderService as _0x5db0df,DocCollaborationEntity as _0x2a3630,getLocalCacheKey as _0x1c554f,LOCAL_CACHE_INTERVAL as _0x4534b3,LOCAL_CACHE_INTERVAL_KEY as _0x2e89fb,UniverCollaborationClientPlugin as _0xfdf1e1,CollaborationSocketService as _0x1a8b70,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x18dd3e,DEFAULT_WS_SESSION_TICKET_URL as _0x26610c,UnitStatus as _0x5acab3,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2ab3aa,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2a3d6c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4eca7e,Disposable as _0x1c8028,DOC_RANGE_TYPE as _0x38f122,Inject as _0x55c0ac,Injector as _0x3c5fec,IUniverInstanceService as _0x29f3a7,ICommandService as _0x347b5a,debounce as _0x178a01,Rectangle as _0x32f760,DisposableCollection as _0x106f4d,toDisposable as _0x5db44b,UniverInstanceType as _0x5a2412,Tools as _0x2650a9,COLORS as _0x307855,ColorKit as _0x4733be,ThemeService as _0x5c349a,fromEventSubject as _0x1ed6bf,LocaleService as _0x3f6602,createIdentifier as _0x2b4ff,ILogService as _0x39523,Optional as _0x5be1a1,Workbook as _0x4126cb,CommandType as _0x36eaf3,IConfigService as _0x70f736,ILocalStorageService as _0x5125d6,DependentOn as _0x8fe1b,Plugin as _0x134d3f,merge as _0x4a4e03,registerDependencies as _0x3135c1,mergeOverrideWithDependencies as _0x3fb29d,touchDependencies as _0x4977a3,generateRandomId as _0x39b4d2}from'@univerjs/core';import{Shape as _0x5aa585,Rect as _0x1f7a70,getColor as _0x2c33b6,RegularPolygon as _0x3fb629,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1c2080,Vector2 as _0x30304a,SHEET_VIEWPORT_KEY as _0xf57eeb,IRenderManagerService as _0x460adb}from'@univerjs/engine-render';import{ISocketService as _0x43e315,WebSocketService as _0x48ca09,HTTPService as _0x44a43a}from'@univerjs/network';import{IDocClipboardService as _0x52aa6f,NodePositionConvertToCursor as _0x51a727,NodePositionConvertToRectRange as _0x7015a4,TEXT_RANGE_LAYER_INDEX as _0x3cd669,SetDocZoomRatioOperation as _0x1e55ab,DocIMEInputManagerService as _0x34fedf,DocStateChangeManagerService as _0x4a9185}from'@univerjs/docs-ui';import{IImageIoService as _0x10b139}from'@univerjs/drawing';import{BehaviorSubject as _0x654dae,debounceTime as _0x1d746b,takeUntil as _0x55d45e,Subject as _0x5c87ae,filter as _0x3f7806,switchMap as _0x1f32ac,merge as _0x1dab2f,combineLatest as _0x3ca33b,of as _0x550d99,fromEvent as _0x258cc4,shareReplay as _0x280f1c,mapTo as _0x54f524,distinctUntilChanged as _0x11ced3}from'rxjs';import{SetTextSelectionsOperation as _0xe84dab,RichTextEditingMutation as _0x3420b9,DocSelectionManagerService as _0x4c52aa,DocSkeletonManagerService as _0xe6adb2}from'@univerjs/docs';import{ITransformService as _0x38ce08,CollaborationEvent as _0x5255c2,isTransformMutationFailure as _0x5012b2,isTransformMutationsWithChangesetSuccess as _0x5b3d73,RevisionService as _0x297d23,ISnapshotServerService as _0x39c8a2}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x465fe1,serializeRangeWithSheet as _0x31870b}from'@univerjs/engine-formula';import{RefRangeService as _0x19c13e,SetSelectionsOperation as _0x1701dc,SheetsSelectionsService as _0x5c00e8,EffectRefRangId as _0x5367ce,handleIRemoveRow as _0xd97bc4,handleIRemoveCol as _0xb6489e,handleMoveRange as _0x221db9,handleInsertRow as _0x384365,handleInsertRangeMoveRight as _0x2f2713,handleInsertRangeMoveDown as _0x2dd20e,handleInsertCol as _0x2b5e4c,handleDeleteRangeMoveUp as _0x336e81,handleDeleteRangeMoveLeft as _0x232b45,runRefRangeMutations as _0x20816d,SetWorksheetActivateCommand as _0x495402}from'@univerjs/sheets';import{map as _0x9b2036,filter as _0xb4a83,throttleTime as _0xec2be3,takeUntil as _0x31dbb5,switchMap as _0x3d6ece}from'rxjs/operators';import{SheetSkeletonManagerService as _0xc2148e,getCoordByCell as _0x4f0cdf,getSheetObject as _0x1738df}from'@univerjs/sheets-ui';import{jsx as _0x5d995a,jsxs as _0x414cf6}from'react/jsx-runtime';import{useObservable as _0x32a14,useDependency as _0x36b485,IUIPartsService as _0x3bd19e,BuiltInUIPart as _0x5e21a0,connectInjector as _0x2ab464,IBeforeCloseService as _0x4b0648,IMessageService as _0x5baf41,INotificationService as _0xf07edf}from'@univerjs/ui';import{Tooltip as _0x180a59,clsx as _0x34bb8d,MessageType as _0x165153}from'@univerjs/design';import{forwardRef as _0xfeee87,useRef as _0x40cc3a,createElement as _0x4d0a0d,useCallback as _0x4e607d}from'react';import{IRemoteInstanceService as _0x2afe11}from'@univerjs/rpc';var ci=Object[_0x565e5e(0x1b6)],li=(_0x1bca91,_0x2771be,_0x421637,_0x758dae)=>{const _0x3d2fd1=_0x565e5e;for(var _0x17dad4=_0x758dae>0x1?void 0x0:_0x758dae?ci(_0x2771be,_0x421637):_0x2771be,_0x2c0113=_0x1bca91[_0x3d2fd1(0x172)]-0x1,_0xb6a96b;_0x2c0113>=0x0;_0x2c0113--)(_0xb6a96b=_0x1bca91[_0x2c0113])&&(_0x17dad4=_0xb6a96b(_0x17dad4)||_0x17dad4);return _0x17dad4;},Je=(_0x38cc0c,_0x4a8d14)=>(_0x149877,_0x87f9a4)=>_0x4a8d14(_0x149877,_0x87f9a4,_0x38cc0c);let Ne=class extends _0x4eca7e{constructor(_0x3c6ada,_0x39f666){const _0x203d0c=_0x565e5e;super(),this['_docClipboardService']=_0x3c6ada,this['_imageIoService']=_0x39f666,this[_0x203d0c(0x186)]();}['_init'](){const _0x44149d=_0x565e5e,_0x1d1afb=this;this[_0x44149d(0x2b8)](this[_0x44149d(0x140)][_0x44149d(0x128)]({'onBeforePasteImage':async _0x50a867=>{const _0x51765c=_0x44149d,_0x2ac7a0=await _0x1d1afb[_0x51765c(0x132)][_0x51765c(0x250)](_0x50a867);return _0x2ac7a0?{'source':_0x2ac7a0[_0x51765c(0x286)],'imageSourceType':_0x2ac7a0[_0x51765c(0x130)]}:null;}}));}};Ne=li([Je(0x0,_0x52aa6f),Je(0x1,_0x10b139)],Ne);const Ze=[_0x565e5e(0x189),_0x565e5e(0x283),_0x565e5e(0x259),_0x565e5e(0x320),_0x565e5e(0x26d),_0x565e5e(0x2db)];class ke extends _0x1c8028{constructor(){const _0x10b56c=_0x565e5e;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x10b56c(0x314),0x0);}['assignAColorForMemberID'](_0x1b3225){const _0x419be6=_0x565e5e;if(this[_0x419be6(0x1bf)]['has'](_0x1b3225))return this[_0x419be6(0x1bf)][_0x419be6(0x1b4)](_0x1b3225);const _0xed1037=Ze[this[_0x419be6(0x314)]];return this[_0x419be6(0x314)]=(this['_colorIndex']+0x1)%Ze[_0x419be6(0x172)],this['_assignedColors']['set'](_0x1b3225,_0xed1037),_0xed1037;}}function Tt(_0x5caab7){const _0x77d879=_0x565e5e;let _0x44aab2='';for(const _0x5b7458 of _0x5caab7){const {startOffset:_0x245b1a,endOffset:_0x5a44be,isActive:_0x227798,rangeType:_0x239e44,segmentId:_0x52ec80,segmentPage:_0x29660b}=_0x5b7458;_0x44aab2[_0x77d879(0x172)]&&(_0x44aab2+=','),_0x44aab2+=_0x245b1a+':'+_0x5a44be+':'+(_0x227798?'1':'0')+':'+_0x239e44+':'+_0x52ec80+':'+_0x29660b;}return _0x44aab2;}function _i(_0x70b143){const _0x2a3042=_0x565e5e,_0x137d01=_0x70b143[_0x2a3042(0x1f0)](','),_0x5ac710=[];for(const _0x140209 of _0x137d01){const [_0x2832bc,_0x265de2,_0x97dbcc,_0x54b040,_0x55a090,_0x443aaf]=_0x140209[_0x2a3042(0x1f0)](':');_0x5ac710[_0x2a3042(0x28a)]({'startOffset':Number(_0x2832bc),'endOffset':Number(_0x265de2),'collapsed':_0x2832bc===_0x265de2,'isActive':_0x97dbcc==='1','rangeType':_0x54b040===_0x38f122[_0x2a3042(0x18a)]?_0x38f122['TEXT']:_0x38f122[_0x2a3042(0x24a)],'segmentId':typeof _0x55a090=='string'?String(_0x55a090):'','segmentPage':Number(_0x443aaf!=null?_0x443aaf:-0x1)});}return _0x5ac710[_0x2a3042(0x1e3)](_0xfcd8cc=>_0xfcd8cc[_0x2a3042(0x27a)])||(_0x5ac710[0x0]['isActive']=!0x0),_0x5ac710;}class He extends _0x4eca7e{constructor(){const _0x3ad0ed=_0x565e5e;super(...arguments),_(this,'_collabCursorState$',new _0x654dae(null)),_(this,_0x3ad0ed(0x148),this[_0x3ad0ed(0x1af)][_0x3ad0ed(0x176)]());}['syncEditingCollabCursor'](_0x23da14){const _0x60506e=_0x565e5e,{unitID:_0x2a62fc,memberID:_0x115ffb,textRanges:_0x1f3e06}=_0x23da14,_0x463a30=Tt(_0x1f3e06);if(_0x463a30==='')return;const _0x8212b7={'unitID':_0x2a62fc,'memberID':_0x115ffb,'selection':_0x463a30};this['_collabCursorState$'][_0x60506e(0x1b9)](_0x8212b7);}}var hi=Object[_0x565e5e(0x1b6)],ui=(_0x1f2f0f,_0x2dcddf,_0x4f1b3f,_0x1b11d2)=>{const _0x465c95=_0x565e5e;for(var _0x5b7206=_0x1b11d2>0x1?void 0x0:_0x1b11d2?hi(_0x2dcddf,_0x4f1b3f):_0x2dcddf,_0x1c030e=_0x1f2f0f[_0x465c95(0x172)]-0x1,_0x2bb13e;_0x1c030e>=0x0;_0x1c030e--)(_0x2bb13e=_0x1f2f0f[_0x1c030e])&&(_0x5b7206=_0x2bb13e(_0x5b7206)||_0x5b7206);return _0x5b7206;},L=(_0x255e20,_0x1ba13c)=>(_0x34df39,_0x2e6462)=>_0x1ba13c(_0x34df39,_0x2e6462,_0x255e20);const di=0x12c,fi=0x64;let Ue=class extends _0x4eca7e{constructor(_0x48a377,_0x3517f5,_0x3d06e1,_0x4a0d27,_0x582856,_0x528f76,_0x34ccbe,_0x573cb1,_0x265622){const _0x50d7cd=_0x565e5e;super(),_(this,_0x50d7cd(0x1b7),!0x1),_(this,_0x50d7cd(0x186),!0x1),_(this,_0x50d7cd(0x2ca),new _0x654dae(new Map())),_(this,'cursorInfo$',this[_0x50d7cd(0x2ca)]['asObservable']()),_(this,'_roomMembers$',new _0x654dae([])),_(this,_0x50d7cd(0x158),this[_0x50d7cd(0x179)][_0x50d7cd(0x252)](_0x1d746b(di))),_(this,_0x50d7cd(0x170),_0x178a01(_0x3fd42c=>{const _0x58aa23=_0x50d7cd,_0x5b19f9={'eventID':_0x5255c2['UPDATE_CURSOR'],'data':{'unitID':this[_0x58aa23(0x1fd)],'memberID':this[_0x58aa23(0x2d5)][_0x58aa23(0x26b)](),'selection':Tt(_0x3fd42c)}};this[_0x58aa23(0x2d5)]['send'](_0x5b19f9,this[_0x58aa23(0x1fd)]);},fi)),(this[_0x50d7cd(0x1fd)]=_0x48a377,this['_session']=_0x3517f5,this[_0x50d7cd(0x29c)]=_0x3d06e1,this[_0x50d7cd(0x274)]=_0x4a0d27,this[_0x50d7cd(0x136)]=_0x582856,this[_0x50d7cd(0x264)]=_0x528f76,this['_transformService']=_0x34ccbe,this[_0x50d7cd(0x2e0)]=_0x573cb1,this[_0x50d7cd(0x1a4)]=_0x265622);}get[_0x565e5e(0x2ee)](){const _0x575d03=_0x565e5e;return this[_0x575d03(0x2ca)][_0x575d03(0x25e)]();}get[_0x565e5e(0x14c)](){const _0x41b6c2=_0x565e5e;return this[_0x41b6c2(0x179)]['getValue']();}[_0x565e5e(0x184)](){const _0x2163e6=_0x565e5e;super[_0x2163e6(0x184)](),this[_0x2163e6(0x2ca)][_0x2163e6(0x1b9)](new Map()),this[_0x2163e6(0x2ca)][_0x2163e6(0x226)](),this[_0x2163e6(0x179)][_0x2163e6(0x1b9)]([]),this[_0x2163e6(0x179)]['complete']();}[_0x565e5e(0x1b5)](){const _0x6924d1=_0x565e5e;this[_0x6924d1(0x186)]||(this['_init']=!0x0,this[_0x6924d1(0x2d5)][_0x6924d1(0x2a5)]['pipe'](_0x55d45e(this[_0x6924d1(0x1da)]))[_0x6924d1(0x1bd)](_0x6d0efe=>{const _0x3b867=_0x6924d1;_0x6d0efe===_0x58ed83[_0x3b867(0x223)]?this[_0x3b867(0x323)]():this['_toggleOffline']();}),this[_0x6924d1(0x2d5)][_0x6924d1(0x31c)][_0x6924d1(0x252)](_0x55d45e(this[_0x6924d1(0x1da)]))[_0x6924d1(0x1bd)](_0x5950f2=>{const _0x139a21=_0x6924d1,_0x1525b7=_0x5950f2[_0x139a21(0x1f8)];_0x1525b7===_0x5255c2['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x5950f2),_0x1525b7===_0x5255c2[_0x139a21(0x120)]&&this['_onCursorDelete'](_0x5950f2);}),this[_0x6924d1(0x2b8)](this[_0x6924d1(0x1a4)][_0x6924d1(0x197)](_0xd6b341=>{const _0x3295b4=_0x6924d1,_0x166132=_0xd6b341[_0x3295b4(0x1a5)];_0x166132!=null&&this['_online']&&_0xd6b341['id']===_0xe84dab['id']&&_0x166132['unitId']===this[_0x3295b4(0x1fd)]&&_0x166132[_0x3295b4(0x210)]===!0x1&&_0x166132[_0x3295b4(0x27d)]['length']>0x0&&this['_updateLocalCursor'](_0x166132[_0x3295b4(0x27d)]);})),this['_syncEditingCollabCursorService'][_0x6924d1(0x148)]['pipe'](_0x55d45e(this[_0x6924d1(0x1da)]))[_0x6924d1(0x1bd)](_0x486bbd=>{const _0x986a59=_0x6924d1;if((_0x486bbd==null?void 0x0:_0x486bbd[_0x986a59(0x1fd)])!==this[_0x986a59(0x1fd)])return;const _0x22a0e4={'eventID':_0x5255c2[_0x986a59(0x2e1)],'data':_0x486bbd};this[_0x986a59(0x2fa)](_0x22a0e4);}),this['disposeWithMe'](this[_0x6924d1(0x1a4)]['onCommandExecuted'](_0x2ff7c8=>{const _0x175855=_0x6924d1;if(_0x2ff7c8['params']==null)return;const _0x4c3967=_0x2ff7c8[_0x175855(0x1a5)];if(_0x2ff7c8['id']!==_0x3420b9['id']||_0x4c3967[_0x175855(0x1fe)]!==this[_0x175855(0x1fd)])return;const _0x4d988e={'id':_0x175855(0x21a),'params':_0x4c3967},_0x1f9d56=this[_0x175855(0x2ee)];for(const [_0x29ed84,_0x577632]of _0x1f9d56){const _0xa289b0={'id':_0x175855(0x21a),'params':{'unitId':this[_0x175855(0x1fd)],'actions':null,'textRanges':_0x577632[_0x175855(0x27d)]}},_0x2738d8=this[_0x175855(0x12d)][_0x175855(0x24b)](_0x4d988e,_0xa289b0,!0x1);if(_0x5012b2(_0x2738d8))throw _0x2738d8[_0x175855(0x166)];_0x1f9d56['set'](_0x29ed84,{..._0x577632,'ranges':_0x2738d8[_0x175855(0x2df)][_0x175855(0x1a5)][_0x175855(0x309)]});}queueMicrotask(()=>{const _0x125139=_0x175855;this[_0x125139(0x2ca)]['next'](_0x1f9d56);});})));}['_onCursorUpdate'](_0x3a0f2e){const _0x1e2e90=_0x565e5e;var _0x4f4426,_0x40ca45;const {memberID:_0x70cb0f,selection:_0x5b2856}=_0x3a0f2e[_0x1e2e90(0x185)],_0x4a704f=_i(_0x5b2856),_0x2183d9=(_0x40ca45=(_0x4f4426=this[_0x1e2e90(0x136)][_0x1e2e90(0x2a2)](this['unitID'],_0x70cb0f))==null?void 0x0:_0x4f4426[_0x1e2e90(0x303)])!=null?_0x40ca45:_0x1e2e90(0x1e6),_0x29a891={'color':this[_0x1e2e90(0x274)][_0x1e2e90(0x168)](_0x70cb0f),'name':_0x2183d9,'ranges':_0x4a704f},_0x291dc0=this[_0x1e2e90(0x2ee)];_0x291dc0[_0x1e2e90(0x2ed)](_0x70cb0f,_0x29a891),this[_0x1e2e90(0x2ca)][_0x1e2e90(0x1b9)](_0x291dc0);}['_onCursorDelete'](_0x23834f){const _0x2b359f=_0x565e5e,{memberID:_0x5a1cd6}=_0x23834f[_0x2b359f(0x185)],_0x3f3121=this[_0x2b359f(0x2ee)];_0x3f3121[_0x2b359f(0x28e)](_0x5a1cd6),this[_0x2b359f(0x2ca)]['next'](_0x3f3121);}[_0x565e5e(0x323)](){const _0x421b14=_0x565e5e;var _0x3fbece;if(this[_0x421b14(0x1b7)]=!0x0,((_0x3fbece=this[_0x421b14(0x2e0)][_0x421b14(0x1d6)]())==null?void 0x0:_0x3fbece[_0x421b14(0x1d8)]())!==this[_0x421b14(0x1fd)])return;const _0x593669=this[_0x421b14(0x29c)]['get'](_0x4c52aa)['getDocRanges']();Array['isArray'](_0x593669)&&_0x593669['length']>0x0&&this[_0x421b14(0x170)](_0x593669);}[_0x565e5e(0x1c8)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x55c0ac(_0x3c5fec)),L(0x3,_0x55c0ac(ke)),L(0x4,_0x55c0ac(_0x18911c)),L(0x5,_0x55c0ac(He)),L(0x6,_0x38ce08),L(0x7,_0x29f3a7),L(0x8,_0x347b5a)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x1bb866,_0x17ee31,_0x3ff3a3,_0x3e9031)=>{for(var _0x2c31b0=_0x3e9031>0x1?void 0x0:_0x3e9031?Si(_0x17ee31,_0x3ff3a3):_0x17ee31,_0x596448=_0x1bb866['length']-0x1,_0x292957;_0x596448>=0x0;_0x596448--)(_0x292957=_0x1bb866[_0x596448])&&(_0x2c31b0=_0x292957(_0x2c31b0)||_0x2c31b0);return _0x2c31b0;},x=(_0x3fa3f9,_0x42a91e)=>(_0x377380,_0x2ca04b)=>_0x42a91e(_0x377380,_0x2ca04b,_0x3fa3f9);const gi=0x12c,Ii=0x64,vi=()=>{let _0x62ac44=[],_0xe9cd00=!0x1;return _0x46aad3=>{const _0x36a766=_0x54e2;_0x62ac44[_0x36a766(0x28a)](_0x46aad3),_0xe9cd00||(_0xe9cd00=!0x0,setTimeout(()=>{_0x62ac44['forEach'](_0x29c550=>_0x29c550()),_0x62ac44=[],_0xe9cd00=!0x1;}));};};let Me=class extends _0x4eca7e{constructor(_0x38aac7,_0xc804d,_0x163237,_0x971cee,_0x5ead7f,_0x300a63,_0x19aa5e,_0x59e2bd){const _0x3327ca=_0x565e5e;super(),_(this,_0x3327ca(0x1b7),!0x1),_(this,_0x3327ca(0x186),!0x1),_(this,_0x3327ca(0x2ca),new _0x654dae(new Map())),_(this,_0x3327ca(0x255),this['_cursorInfo$']['asObservable']()),_(this,_0x3327ca(0x179),new _0x654dae([])),_(this,_0x3327ca(0x158),this['_roomMembers$']['pipe'](_0x1d746b(gi))),_(this,'_updateLocalCursor',_0x178a01((_0x58a5ab,_0x22b32f)=>{const _0xf1e666=_0x3327ca,_0x383e90={'eventID':_0x5255c2[_0xf1e666(0x2e1)],'data':{'unitID':this[_0xf1e666(0x1fd)],'memberID':this['_session']['getMemberID'](),'selection':_0x31870b(_0x58a5ab,_0x22b32f['range'])}};this['_session'][_0xf1e666(0x26f)](_0x383e90,this[_0xf1e666(0x1fd)]);},Ii)),(this['unitID']=_0x38aac7,this[_0x3327ca(0x2d5)]=_0xc804d,this[_0x3327ca(0x29c)]=_0x163237,this[_0x3327ca(0x274)]=_0x971cee,this[_0x3327ca(0x136)]=_0x5ead7f,this[_0x3327ca(0x2e0)]=_0x300a63,this[_0x3327ca(0x1a4)]=_0x19aa5e,this[_0x3327ca(0x32f)]=_0x59e2bd);}get[_0x565e5e(0x2ee)](){const _0x3f79cf=_0x565e5e;return this['_cursorInfo$'][_0x3f79cf(0x25e)]();}get[_0x565e5e(0x14c)](){const _0x591d49=_0x565e5e;return this[_0x591d49(0x179)][_0x591d49(0x25e)]();}[_0x565e5e(0x184)](){const _0x1b4b18=_0x565e5e;super[_0x1b4b18(0x184)](),this[_0x1b4b18(0x2ca)][_0x1b4b18(0x1b9)](new Map()),this[_0x1b4b18(0x2ca)][_0x1b4b18(0x226)](),this['_roomMembers$'][_0x1b4b18(0x1b9)]([]),this[_0x1b4b18(0x179)][_0x1b4b18(0x226)]();}[_0x565e5e(0x1b5)](){const _0x38f693=_0x565e5e;this[_0x38f693(0x186)]||(this[_0x38f693(0x186)]=!0x0,this['_session'][_0x38f693(0x2a5)][_0x38f693(0x252)](_0x55d45e(this['dispose$']))[_0x38f693(0x1bd)](_0x1e2d80=>{const _0x98c3=_0x38f693;_0x1e2d80===_0x58ed83[_0x98c3(0x223)]?this[_0x98c3(0x323)]():this[_0x98c3(0x1c8)]();}),this[_0x38f693(0x2d5)]['event$'][_0x38f693(0x252)](_0x55d45e(this[_0x38f693(0x1da)]))[_0x38f693(0x1bd)](_0x39042e=>{const _0x5374a8=_0x38f693,_0x23fd7a=_0x39042e[_0x5374a8(0x1f8)];_0x23fd7a===_0x5255c2[_0x5374a8(0x2e1)]&&this[_0x5374a8(0x2fa)](_0x39042e),_0x23fd7a===_0x5255c2[_0x5374a8(0x120)]&&this[_0x5374a8(0x2a9)](_0x39042e);}),this['_onRefRangeChange'](),this[_0x38f693(0x2b8)](this['_commandService'][_0x38f693(0x197)](_0x5bb5db=>{const _0x227f75=_0x38f693;if(this[_0x227f75(0x1b7)]&&_0x5bb5db['id']===_0x1701dc['id']&&_0x5bb5db['params'][_0x227f75(0x1fe)]===this[_0x227f75(0x1fd)]){const _0x29a6fa=_0x5bb5db['params'];this[_0x227f75(0x170)](_0x29a6fa[_0x227f75(0x2c6)],_0x29a6fa[_0x227f75(0x233)][0x0]);}})));}[_0x565e5e(0x2fa)](_0x4bc149){const _0x3c0028=_0x565e5e;var _0x3a21cd,_0x1082a4;const {memberID:_0x2616e2,selection:_0x225000}=_0x4bc149[_0x3c0028(0x185)],{sheetName:_0x37d30f,range:_0x3ae894}=_0x465fe1(_0x225000),_0x5632ce={'name':(_0x1082a4=(_0x3a21cd=this[_0x3c0028(0x136)]['getMember'](this[_0x3c0028(0x1fd)],_0x2616e2))==null?void 0x0:_0x3a21cd[_0x3c0028(0x303)])!=null?_0x1082a4:_0x3c0028(0x1e6),'range':this['_getMergeRange'](_0x37d30f,_0x3ae894),'sheetID':_0x37d30f,'color':this[_0x3c0028(0x274)][_0x3c0028(0x168)](_0x2616e2),'selection':_0x225000},_0xd3c49c=this[_0x3c0028(0x2ee)];_0xd3c49c[_0x3c0028(0x2ed)](_0x2616e2,_0x5632ce),this[_0x3c0028(0x2ca)][_0x3c0028(0x1b9)](_0xd3c49c);}[_0x565e5e(0x2a9)](_0x237a1c){const _0x194b28=_0x565e5e,{memberID:_0x1f3656}=_0x237a1c['data'],_0x332022=this[_0x194b28(0x2ee)];_0x332022[_0x194b28(0x28e)](_0x1f3656),this[_0x194b28(0x2ca)]['next'](_0x332022);}[_0x565e5e(0x1df)](_0x6fee58,_0x349975){const _0x5aa272=_0x565e5e;var _0x3f669a,_0x199a9b;const _0x264bfd=(_0x199a9b=(_0x3f669a=this[_0x5aa272(0x2e0)]['getUniverSheetInstance'](this[_0x5aa272(0x1fd)]))==null?void 0x0:_0x3f669a[_0x5aa272(0x1e5)](_0x6fee58))==null?void 0x0:_0x199a9b[_0x5aa272(0x2a7)]();return(_0x264bfd==null?void 0x0:_0x264bfd['find'](_0x30ab35=>_0x32f760[_0x5aa272(0x13a)](_0x30ab35,_0x349975)))||_0x349975;}[_0x565e5e(0x1f5)](){const _0x547bc1=_0x565e5e,_0x99c0c=new _0x106f4d(),_0x550585=vi(),_0x55b6bf=()=>{const _0x458653=_0x54e2;_0x99c0c[_0x458653(0x184)]();const _0x42fce0=(_0x93838f,_0x3df910,_0x9651e2,_0xc5bc75)=>{const _0x1d7f77=_0x458653;let _0x4340ec=[];switch(_0x93838f['id']){case _0x5367ce[_0x1d7f77(0x21f)]:{_0x4340ec=_0x232b45(_0x93838f,_0xc5bc75);break;}case _0x5367ce[_0x1d7f77(0x2f4)]:{_0x4340ec=_0x336e81(_0x93838f,_0xc5bc75);break;}case _0x5367ce[_0x1d7f77(0x16e)]:{_0x4340ec=_0x2b5e4c(_0x93838f,_0xc5bc75);break;}case _0x5367ce[_0x1d7f77(0x2f3)]:{_0x4340ec=_0x2dd20e(_0x93838f,_0xc5bc75);break;}case _0x5367ce['InsertRangeMoveRightCommandId']:{_0x4340ec=_0x2f2713(_0x93838f,_0xc5bc75);break;}case _0x5367ce[_0x1d7f77(0x224)]:{_0x4340ec=_0x384365(_0x93838f,_0xc5bc75);break;}case _0x5367ce[_0x1d7f77(0x248)]:{_0x4340ec=_0x221db9(_0x93838f,_0xc5bc75);break;}case _0x5367ce[_0x1d7f77(0x1c7)]:{_0x4340ec=_0xb6489e(_0x93838f,_0xc5bc75);break;}case _0x5367ce[_0x1d7f77(0x265)]:{_0x4340ec=_0xd97bc4(_0x93838f,_0xc5bc75);break;}}const _0x24ef45=_0x20816d(_0x4340ec,_0xc5bc75),_0x1a8683=this[_0x1d7f77(0x2ee)][_0x1d7f77(0x1b4)](_0x3df910);if(_0x1a8683&&_0x24ef45){const _0x42e67a={..._0x1a8683,'range':_0x24ef45};this[_0x1d7f77(0x2ee)][_0x1d7f77(0x2ed)](_0x3df910,_0x42e67a),_0x550585(()=>{const _0x592f84=_0x1d7f77,_0x402ce9=this[_0x592f84(0x32f)][_0x592f84(0x207)](_0x24ef45,_0x1bfeec=>(_0x402ce9[_0x592f84(0x184)](),_0x42fce0(_0x1bfeec,_0x3df910,_0x9651e2,_0x24ef45)));_0x99c0c['add'](_0x402ce9);});}return{'redos':[],'undos':[]};};this[_0x458653(0x2ee)]['forEach']((_0x3dcaef,_0xb5d5dd)=>{const _0x436962=_0x458653,{range:_0xa99dbf,sheetID:_0x368578}=_0x3dcaef,_0x808a36=this[_0x436962(0x32f)][_0x436962(0x207)](_0xa99dbf,_0x487cb4=>(_0x808a36['dispose'](),_0x42fce0(_0x487cb4,_0xb5d5dd,_0x368578,_0xa99dbf)));_0x99c0c[_0x436962(0x2ec)](_0x808a36);});};this[_0x547bc1(0x2b8)](_0x5db44b(this[_0x547bc1(0x2ca)]['subscribe'](()=>{_0x55b6bf();})));}['_toggleOnline'](){const _0x83d527=_0x565e5e;var _0x9b2103,_0x205e4d;if(this[_0x83d527(0x1b7)]=!0x0,((_0x9b2103=this[_0x83d527(0x2e0)]['getFocusedUnit']())==null?void 0x0:_0x9b2103[_0x83d527(0x1d8)]())!==this[_0x83d527(0x1fd)])return;const _0xbccf9c=(_0x205e4d=this[_0x83d527(0x29c)][_0x83d527(0x1b4)](_0x5c00e8)['getCurrentSelections']())==null?void 0x0:_0x205e4d[0x0],_0x39e6fe=this[_0x83d527(0x2e0)][_0x83d527(0x280)](_0x5a2412[_0x83d527(0x1ba)])[_0x83d527(0x319)]();_0xbccf9c&&_0x39e6fe&&this[_0x83d527(0x170)](_0x39e6fe[_0x83d527(0x267)](),_0xbccf9c);}[_0x565e5e(0x1c8)](){const _0x58e631=_0x565e5e;this[_0x58e631(0x1b7)]=!0x1;}};Me=mi([x(0x2,_0x55c0ac(_0x3c5fec)),x(0x3,_0x55c0ac(ke)),x(0x4,_0x55c0ac(_0x18911c)),x(0x5,_0x29f3a7),x(0x6,_0x347b5a),x(0x7,_0x55c0ac(_0x19c13e))],Me);var pi=Object[_0x565e5e(0x1b6)],Ci=(_0x12946b,_0x1636e8,_0x15f271,_0x39f25d)=>{const _0x30ec6d=_0x565e5e;for(var _0x2e3e06=_0x39f25d>0x1?void 0x0:_0x39f25d?pi(_0x1636e8,_0x15f271):_0x1636e8,_0x2151e5=_0x12946b[_0x30ec6d(0x172)]-0x1,_0x44fe10;_0x2151e5>=0x0;_0x2151e5--)(_0x44fe10=_0x12946b[_0x2151e5])&&(_0x2e3e06=_0x44fe10(_0x2e3e06)||_0x2e3e06);return _0x2e3e06;},Se=(_0xbc5acd,_0x576432)=>(_0x2bd41f,_0x10c1fe)=>_0x576432(_0x2bd41f,_0x10c1fe,_0xbc5acd);let H=class extends _0x4eca7e{constructor(_0x205278,_0x51993d,_0x1f3318){const _0xeac0a5=_0x565e5e;super(),_(this,_0xeac0a5(0x258),new Map()),_(this,'_entityInit$',new _0x5c87ae()),(this[_0xeac0a5(0x2e0)]=_0x205278,this[_0xeac0a5(0x29c)]=_0x51993d,this[_0xeac0a5(0x247)]=_0x1f3318,this[_0xeac0a5(0x186)]());}[_0x565e5e(0x184)](){const _0x5ca064=_0x565e5e;super[_0x5ca064(0x184)](),this[_0x5ca064(0x297)][_0x5ca064(0x226)](),this[_0x5ca064(0x258)][_0x5ca064(0x322)](_0x3fc424=>_0x3fc424[_0x5ca064(0x184)]());}[_0x565e5e(0x198)](_0x32f4ed){const _0x93c36f=_0x565e5e;return this['_entities']['has'](_0x32f4ed)?this['_entities']['get'](_0x32f4ed)[_0x93c36f(0x255)]:this[_0x93c36f(0x297)][_0x93c36f(0x252)](_0x3f7806(_0x5b0cf1=>_0x5b0cf1['unitID']===_0x32f4ed),_0x1f32ac(_0x436808=>_0x436808['cursorInfo$']));}['_init'](){const _0x36845f=_0x565e5e;this[_0x36845f(0x2e0)][_0x36845f(0x22d)](_0x5a2412[_0x36845f(0x1ba)])[_0x36845f(0x252)](_0x55d45e(this[_0x36845f(0x1da)]))[_0x36845f(0x1bd)](async _0x43f32f=>{const _0x4412a0=_0x36845f,_0x398c56=_0x43f32f[_0x4412a0(0x1d8)](),_0xdf96a9=await this['_startSheetCollabCursor'](_0x398c56);this[_0x4412a0(0x297)][_0x4412a0(0x1b9)](_0xdf96a9),this[_0x4412a0(0x258)][_0x4412a0(0x2ed)](_0x398c56,_0xdf96a9);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5a2412[_0x36845f(0x162)])['pipe'](_0x55d45e(this[_0x36845f(0x1da)]))[_0x36845f(0x252)](_0x3f7806(_0xaf6022=>!_0xaf6022['getUnitId']()[_0x36845f(0x15d)]('__')))[_0x36845f(0x1bd)](async _0x39991a=>{const _0x4a58b2=_0x36845f,_0x149aab=_0x39991a[_0x4a58b2(0x1d8)](),_0x178cc1=await this[_0x4a58b2(0x171)](_0x149aab);this[_0x4a58b2(0x297)][_0x4a58b2(0x1b9)](_0x178cc1),this[_0x4a58b2(0x258)]['set'](_0x149aab,_0x178cc1);}),_0x1dab2f(this['_univerInstanceService'][_0x36845f(0x23a)](_0x5a2412[_0x36845f(0x162)]),this[_0x36845f(0x2e0)][_0x36845f(0x23a)](_0x5a2412[_0x36845f(0x1ba)]))[_0x36845f(0x252)](_0x55d45e(this[_0x36845f(0x1da)]))['subscribe'](_0x4a63b3=>{const _0xb5c4d3=_0x36845f,_0x4dbd32=_0x4a63b3[_0xb5c4d3(0x1d8)](),_0x385a8d=this['_entities'][_0xb5c4d3(0x1b4)](_0x4dbd32);_0x385a8d&&(_0x385a8d[_0xb5c4d3(0x184)](),this[_0xb5c4d3(0x258)]['delete'](_0x4dbd32));});}async[_0x565e5e(0x196)](_0x1eee3e){const _0x33ba0f=_0x565e5e,_0x2b044e=await this[_0x33ba0f(0x247)][_0x33ba0f(0x173)](_0x1eee3e),_0x4925f5=this[_0x33ba0f(0x29c)][_0x33ba0f(0x228)](Me,_0x1eee3e,_0x2b044e);return _0x4925f5[_0x33ba0f(0x1b5)](),_0x4925f5;}async[_0x565e5e(0x171)](_0x2e7e99){const _0x55dbdd=_0x565e5e,_0x47c459=await this[_0x55dbdd(0x247)][_0x55dbdd(0x173)](_0x2e7e99),_0x1d681b=this[_0x55dbdd(0x29c)][_0x55dbdd(0x228)](Ue,_0x2e7e99,_0x47c459);return _0x1d681b[_0x55dbdd(0x1b5)](),_0x1d681b;}};H=Ci([Se(0x0,_0x29f3a7),Se(0x1,_0x55c0ac(_0x3c5fec)),Se(0x2,_0x55c0ac(_0x2c6ff0))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x148542,_0x3285f6){const _0xe6e48b=_0x565e5e;let {radius:_0x16411d,width:_0x5b22d9,height:_0x43f446}=_0x3285f6;_0x16411d=_0x16411d!=null?_0x16411d:0x0,_0x5b22d9=_0x5b22d9!=null?_0x5b22d9:0x1e,_0x43f446=_0x43f446!=null?_0x43f446:0x1e;let _0x31f9b8=0x0,_0x177ad7=0x0,_0x2e2941=0x0;_0x31f9b8=_0x177ad7=_0x2e2941=Math['min'](_0x16411d,_0x5b22d9/0x2,_0x43f446/0x2),_0x148542[_0xe6e48b(0x2bc)](),_0x148542[_0xe6e48b(0x2b6)](_0x31f9b8,0x0),_0x148542[_0xe6e48b(0x147)](_0x5b22d9-_0x177ad7,0x0),_0x148542[_0xe6e48b(0x2bb)](_0x5b22d9-_0x177ad7,_0x177ad7,_0x177ad7,Math['PI']*0x3/0x2,0x0,!0x1),_0x148542[_0xe6e48b(0x147)](_0x5b22d9,_0x43f446-_0x2e2941),_0x148542['arc'](_0x5b22d9-_0x2e2941,_0x43f446-_0x2e2941,_0x2e2941,0x0,Math['PI']/0x2,!0x1),_0x148542[_0xe6e48b(0x147)](0x0,_0x43f446),_0x148542['lineTo'](0x0,_0x31f9b8),_0x148542['arc'](_0x31f9b8,_0x31f9b8,_0x31f9b8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x148542[_0xe6e48b(0x1a2)](),_0x3285f6[_0xe6e48b(0x30b)]&&(_0x148542[_0xe6e48b(0x28b)](),_0x148542[_0xe6e48b(0x18b)]=_0x3285f6[_0xe6e48b(0x30b)],_0x3285f6[_0xe6e48b(0x328)]===_0xe6e48b(0x1a0)?_0x148542[_0xe6e48b(0x30b)](_0xe6e48b(0x1a0)):_0x148542[_0xe6e48b(0x30b)](),_0x148542[_0xe6e48b(0x315)]());}class he extends _0x5aa585{constructor(_0xe414c1,_0x146deb){const _0x1d3ef9=_0x565e5e;super(_0xe414c1,_0x146deb),_(this,_0x1d3ef9(0x134)),_(this,_0x1d3ef9(0x216)),(this[_0x1d3ef9(0x134)]=_0x146deb==null?void 0x0:_0x146deb['color'],this[_0x1d3ef9(0x216)]=_0x146deb==null?void 0x0:_0x146deb[_0x1d3ef9(0x216)]);}static[_0x565e5e(0x205)](_0x91b079,_0x265f9d){const _0x33f291=_0x565e5e,{text:_0x198fa1,color:_0x348752}=_0x265f9d;_0x91b079[_0x33f291(0x28b)](),_0x91b079[_0x33f291(0x2dd)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x555039=_0x91b079[_0x33f291(0x2d7)](_0x198fa1)['width'],_0x44f695=Math[_0x33f291(0x269)](_0x555039+0x2*me,Qe);Oi(_0x91b079,{'height':ee,'radius':0x4,'width':_0x44f695,'fill':_0x348752}),_0x91b079['fillStyle']=_0x33f291(0x2f8);const _0x3b16dd=me,_0x4c292c=ee-Ei,_0xa671c6=Qe-0x2*me;if(_0x555039>_0xa671c6){let _0x1c1791='',_0x492e0e=0x0;for(const _0x29b345 of _0x198fa1){const _0x1ca93e=_0x91b079[_0x33f291(0x2d7)](_0x29b345)['width'];if(_0x492e0e+_0x1ca93e<=_0xa671c6-_0x91b079[_0x33f291(0x2d7)](_0x33f291(0x182))[_0x33f291(0x2ae)])_0x1c1791+=_0x29b345,_0x492e0e+=_0x1ca93e;else{_0x1c1791+=_0x33f291(0x182);break;}}_0x91b079['fillText'](_0x1c1791,_0x3b16dd,_0x4c292c);}else _0x91b079[_0x33f291(0x2fb)](_0x198fa1,_0x3b16dd,_0x4c292c);_0x91b079[_0x33f291(0x315)]();}['_draw'](_0x4937f8){const _0x4d6b30=_0x565e5e;he[_0x4d6b30(0x205)](_0x4937f8,this);}}const ge=_0x565e5e(0x2fe),bi=_0x565e5e(0x142),Ti=_0x565e5e(0x16c),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2e5f73,_0xb91be,_0x37d9b5,_0x8cbb89){const _0x1ec39d=_0x565e5e;_(this,_0x1ec39d(0x19f),[]),_(this,_0x1ec39d(0x2b4),null),_(this,_0x1ec39d(0x1a9),null),_(this,_0x1ec39d(0x156),null),_(this,_0x1ec39d(0x246),null),_(this,_0x1ec39d(0x1ae),null),(this['_cursor']=_0x2e5f73,this[_0x1ec39d(0x23e)]=_0xb91be,this['_docSkeleton']=_0x37d9b5,this[_0x1ec39d(0x152)]=_0x8cbb89,this[_0x1ec39d(0x26e)]());}set[_0x565e5e(0x19c)](_0x570b3a){const _0x3c3006=_0x565e5e;_0x570b3a?(this['_anchorDot']&&this[_0x3c3006(0x156)][_0x3c3006(0x208)](),this['_textBubble']&&this[_0x3c3006(0x1a9)][_0x3c3006(0x1ef)]()):(this[_0x3c3006(0x156)]&&this[_0x3c3006(0x156)]['show'](),this[_0x3c3006(0x1a9)]&&this['_textBubble'][_0x3c3006(0x208)]());}[_0x565e5e(0x184)](){const _0x214272=_0x565e5e;for(const _0xe81abd of this[_0x214272(0x19f)])_0xe81abd['dispose']();this['_textBubble']&&this[_0x214272(0x1a9)][_0x214272(0x184)](),this['_anchorDot']&&this[_0x214272(0x156)][_0x214272(0x184)](),this[_0x214272(0x2b4)]&&this[_0x214272(0x2b4)]['dispose'](),this['_eventUnsubscribe']&&this[_0x214272(0x1ae)]();}[_0x565e5e(0x26e)](){const _0x2eee63=_0x565e5e;var _0x2c0d64;const {_docSkeleton:_0x285c49,_document:_0x319dc0}=this,{color:_0x210331,name:_0x686556,ranges:_0x51ccc8}=this[_0x2eee63(0x28c)],_0x17a504=_0x319dc0[_0x2eee63(0x17f)](),{docsLeft:_0x14b77d,docsTop:_0x3e6c6b}=_0x17a504,_0x3e0818=new _0x51a727(_0x17a504,_0x285c49);for(const {startOffset:_0x3c4417,endOffset:_0x50b98e,rangeType:_0x5cfef0,segmentId:_0x5abc7d,segmentPage:_0x137764,collapsed:_0xb43e1,isActive:_0x28d505}of _0x51ccc8){const _0x35c12f=_0x285c49[_0x2eee63(0x131)](_0x3c4417,!0x0,_0x5abc7d,_0x137764);let _0x3f76bf=_0x285c49['findNodePositionByCharIndex'](_0x50b98e,!0x0,_0x5abc7d,_0x137764);if(_0x3f76bf==null&&(_0x3f76bf=_0x285c49[_0x2eee63(0x131)](_0x50b98e-0x1,!0x1,_0x5abc7d,_0x137764)),_0x28d505){const {contentBoxPointGroup:_0x4fcaf2}=_0x3e0818[_0x2eee63(0x2be)](_0x3f76bf,_0x3f76bf);if(_0x4fcaf2['length']===0x0)continue;this[_0x2eee63(0x296)](_0x210331,_0x4fcaf2,_0x14b77d,_0x3e6c6b,_0x686556),this[_0x2eee63(0x1ae)]=this[_0x2eee63(0x145)]();}if(_0x35c12f&&_0x3f76bf){if(_0x5cfef0===_0x38f122[_0x2eee63(0x24a)]){const _0x5d4aa0=new _0x7015a4(_0x17a504,_0x285c49),{pointGroup:_0x2f7ed0}=(_0x2c0d64=_0x5d4aa0[_0x2eee63(0x2be)](_0x35c12f,_0x3f76bf))!=null?_0x2c0d64:{};if(_0x2f7ed0==null||_0x2f7ed0['length']===0x0)continue;this[_0x2eee63(0x270)](_0x210331,_0x2f7ed0,_0x14b77d,_0x3e6c6b);}else{if(!_0xb43e1){const {borderBoxPointGroup:_0x11f915}=_0x3e0818[_0x2eee63(0x2be)](_0x35c12f,_0x3f76bf);if(_0x11f915['length']===0x0)continue;this[_0x2eee63(0x330)](_0x210331,_0x11f915,_0x14b77d,_0x3e6c6b);}}}}}[_0x565e5e(0x296)](_0x548135,_0x4fd919,_0x151900,_0x35657a,_0x1cb5dd){const _0x336f89=_0x565e5e,_0x54fa29=this[_0x336f89(0x155)](_0x4fd919),{left:_0x5a87d7,top:_0x27250f,height:_0x145d4e}=_0x54fa29,_0x4a309d=this[_0x336f89(0x2f5)](),_0x1e24be=Di/_0x4a309d,_0x2452f0=new _0x1f7a70(ge+_0x2650a9['generateRandomId'](X),{'left':_0x5a87d7+_0x151900-_0x1e24be,'top':_0x27250f+_0x35657a,'height':_0x145d4e,'width':Ri,'fill':_0x548135||_0x2c33b6(_0x307855['black'],0x0),'strokeWidth':_0x1e24be,'stroke':Ni,'evented':!0x0});this[_0x336f89(0x2b4)]=_0x2452f0,this[_0x336f89(0x23e)][_0x336f89(0x1a6)](_0x2452f0,_0x3cd669);const _0x33660f=new _0x1f7a70(ge+_0x2650a9[_0x336f89(0x20f)](X),{'left':_0x5a87d7+_0x151900-_0x1e24be,'top':_0x27250f+_0x35657a-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x548135||_0x2c33b6(_0x307855[_0x336f89(0x300)],0x0),'strokeWidth':0x0,'stroke':_0x548135||_0x2c33b6(_0x307855[_0x336f89(0x300)],0x0),'evented':!0x1});this[_0x336f89(0x156)]=_0x33660f,this[_0x336f89(0x23e)][_0x336f89(0x1a6)](_0x33660f,_0x3cd669);const _0xa2fa60=new he(ge+_0x2650a9[_0x336f89(0x20f)](X),{'left':_0x5a87d7+_0x151900-_0x1e24be,'top':_0x27250f+_0x35657a-ee,'text':_0x1cb5dd,'color':_0x548135});this[_0x336f89(0x1a9)]=_0xa2fa60,this[_0x336f89(0x23e)][_0x336f89(0x1a6)](_0xa2fa60,_0x3cd669),this[_0x336f89(0x19c)]=!0x1;}['_handleHover'](){const _0x284105=_0x565e5e,_0x5a5aca=this[_0x284105(0x2b4)][_0x284105(0x301)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0xf9510e=this[_0x284105(0x2b4)][_0x284105(0x220)]['subscribeEvent'](()=>{const _0x570c11=_0x284105;this[_0x570c11(0x246)]&&clearTimeout(this[_0x570c11(0x246)]),this[_0x570c11(0x246)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4dfee6=_0x284105;_0x5a5aca[_0x4dfee6(0x20a)](),_0xf9510e['unsubscribe']();};}[_0x565e5e(0x330)](_0x324ead,_0x1717ce,_0x20c943,_0x38b07f){const _0x41bdd7=_0x565e5e,_0x1bd0f5=new _0x4733be(_0x324ead)[_0x41bdd7(0x32b)](0.2)[_0x41bdd7(0x1ff)](),_0x2f79fe=new _0x3fb629(bi+_0x2650a9['generateRandomId'](X),{'pointsGroup':_0x1717ce,'fill':_0x1bd0f5||_0x2c33b6(_0x307855[_0x41bdd7(0x300)],0.2),'left':_0x20c943,'top':_0x38b07f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41bdd7(0x19f)][_0x41bdd7(0x28a)](_0x2f79fe),this[_0x41bdd7(0x23e)][_0x41bdd7(0x1a6)](_0x2f79fe,_0x3cd669);}[_0x565e5e(0x270)](_0x5de273,_0x586938,_0x5463cf,_0x4880c7){const _0x63988e=_0x565e5e,_0x5127f6=new _0x4733be(_0x5de273)[_0x63988e(0x32b)](0.2)['toRgbString'](),_0x4f2434=new _0x3fb629(Ti+_0x2650a9['generateRandomId'](X),{'pointsGroup':_0x586938,'fill':_0x5127f6||_0x2c33b6(_0x307855[_0x63988e(0x300)],0.2),'left':_0x5463cf,'top':_0x4880c7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x63988e(0x19f)][_0x63988e(0x28a)](_0x4f2434),this['_scene'][_0x63988e(0x1a6)](_0x4f2434,_0x3cd669);}['_getAnchorBounding'](_0x14868d){const _0x2594d5=_0x14868d[0x0],_0x21f018=_0x2594d5[0x0],_0x3b99ff=_0x2594d5[0x2],{x:_0x571b8d,y:_0x28b971}=_0x21f018,{x:_0x4aac1d,y:_0x454ad4}=_0x3b99ff;return{'left':_0x571b8d,'top':_0x28b971,'width':_0x4aac1d-_0x571b8d,'height':_0x454ad4-_0x28b971};}[_0x565e5e(0x2f5)](){const _0x1e8d3a=_0x565e5e,{scaleX:_0x1ac8ff,scaleY:_0x527184}=this[_0x1e8d3a(0x23e)][_0x1e8d3a(0x24e)]();return Math[_0x1e8d3a(0x212)](_0x1ac8ff,_0x527184);}}var Ui=Object[_0x565e5e(0x1b6)],Mi=(_0x63f12,_0x17fe3c,_0x262d34,_0x4ebef0)=>{for(var _0x1efe9e=_0x4ebef0>0x1?void 0x0:_0x4ebef0?Ui(_0x17fe3c,_0x262d34):_0x17fe3c,_0x4502d2=_0x63f12['length']-0x1,_0x19b891;_0x4502d2>=0x0;_0x4502d2--)(_0x19b891=_0x63f12[_0x4502d2])&&(_0x1efe9e=_0x19b891(_0x1efe9e)||_0x1efe9e);return _0x1efe9e;},Z=(_0x38e265,_0x489aaa)=>(_0x592340,_0x58039f)=>_0x489aaa(_0x592340,_0x58039f,_0x38e265);let Pe=class extends _0x4eca7e{constructor(_0x1609a1,_0xbf3234,_0x2ab788,_0x38c9d5,_0x5eaa87){const _0x4e3e34=_0x565e5e;super(),_(this,'_cursorShapes',[]),_(this,_0x4e3e34(0x2b3),[]),(this['_context']=_0x1609a1,this['_docSkeletonManagerService']=_0xbf3234,this[_0x4e3e34(0x2a8)]=_0x2ab788,this[_0x4e3e34(0x1a4)]=_0x38c9d5,this[_0x4e3e34(0x217)]=_0x5eaa87,this[_0x4e3e34(0x186)]());}[_0x565e5e(0x186)](){const _0x1958de=_0x565e5e,_0x2f301f=this[_0x1958de(0x23c)][_0x1958de(0x1fe)],_0x340a23=this[_0x1958de(0x20b)];this[_0x1958de(0x2b8)](_0x3ca33b([this[_0x1958de(0x2a8)][_0x1958de(0x198)](_0x2f301f),this[_0x1958de(0x217)][_0x1958de(0x1e7)]])[_0x1958de(0x252)](_0x9b2036(([_0x3de0c8,_0x20792b])=>({'skeleton':_0x340a23['getSkeleton'](),'cursors':[..._0x3de0c8[_0x1958de(0x2ea)]()][_0x1958de(0x257)](_0xc31940=>({..._0xc31940,'color':this['_themeService'][_0x1958de(0x18f)](_0xc31940[_0x1958de(0x134)])}))})))[_0x1958de(0x1bd)](_0x28f142=>{const _0x44d7ad=_0x1958de;if(this['_removeCollabCursors'](),_0x28f142){const {skeleton:_0x51714d,cursors:_0x4f874b}=_0x28f142;this[_0x44d7ad(0x29e)](_0x51714d,_0x4f874b);}})),this[_0x1958de(0x1f1)](),this[_0x1958de(0x160)]();}[_0x565e5e(0x29e)](_0x507c03,_0x32e489){const _0x2a096a=_0x565e5e,{scene:_0xaab6a,mainComponent:_0x2d2351}=this['_context'],_0x2eb501=_0x32e489[_0x2a096a(0x277)](_0x5a2f7b=>new qe(_0x5a2f7b,_0xaab6a,_0x507c03,_0x2d2351));this[_0x2a096a(0x1a7)]=_0x2eb501,this[_0x2a096a(0x2b3)]=_0x32e489;}[_0x565e5e(0x234)](){const _0x21e10a=_0x565e5e;this[_0x21e10a(0x25a)]();const {scene:_0x35e377,mainComponent:_0x41a0ed}=this['_context'],_0x300a04=this[_0x21e10a(0x20b)][_0x21e10a(0x2c0)](),_0x4ccb25=this[_0x21e10a(0x2b3)][_0x21e10a(0x277)](_0x241386=>new qe(_0x241386,_0x35e377,_0x300a04,_0x41a0ed));this[_0x21e10a(0x1a7)]=_0x4ccb25;}[_0x565e5e(0x25a)](){const _0x5b5305=_0x565e5e;this[_0x5b5305(0x1a7)][_0x5b5305(0x322)](_0xb0d024=>_0xb0d024[_0x5b5305(0x184)]()),this[_0x5b5305(0x1a7)]=[];}[_0x565e5e(0x160)](){const _0x59c94c=_0x565e5e,_0x5188b0=[_0x1e55ab['id']];this[_0x59c94c(0x2b8)](this[_0x59c94c(0x1a4)][_0x59c94c(0x197)](_0x5e566a=>{const _0x2a0c70=_0x59c94c;_0x5188b0[_0x2a0c70(0x203)](_0x5e566a['id'])&&_0x5e566a[_0x2a0c70(0x1a5)][_0x2a0c70(0x1fe)]===this['_context'][_0x2a0c70(0x1fe)]&&this[_0x2a0c70(0x234)]();}));}['_initResize'](){const _0x3f6660=_0x565e5e;this[_0x3f6660(0x2b8)](_0x1ed6bf(this[_0x3f6660(0x23c)][_0x3f6660(0x235)][_0x3f6660(0x25c)])[_0x3f6660(0x252)](_0xb4a83(_0x4035df=>_0x4035df[_0x3f6660(0x1ee)]===_0x1c2080[_0x3f6660(0x22c)]),_0xec2be3(0x10))['subscribe'](()=>{const _0x4f8de3=_0x3f6660;this[_0x4f8de3(0x234)]();}));}};Pe=Mi([Z(0x1,_0x55c0ac(_0xe6adb2)),Z(0x2,_0x55c0ac(H)),Z(0x3,_0x347b5a),Z(0x4,_0x55c0ac(_0x5c349a))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x5aa585{constructor(_0x398ae7,_0x586b87){const _0x4f7fa7=_0x565e5e;super(_0x398ae7,_0x586b87),_(this,_0x4f7fa7(0x1c5)),_(this,_0x4f7fa7(0x266),!0x1),_(this,_0x4f7fa7(0x1c6)),_(this,_0x4f7fa7(0x227),''),_(this,'_labelPosition',_0x4f7fa7(0x2c7)),_(this,_0x4f7fa7(0x230)),(_0x586b87&&this[_0x4f7fa7(0x215)](_0x586b87),this[_0x4f7fa7(0x301)]['subscribeEvent'](()=>this[_0x4f7fa7(0x215)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4f7fa7(0x1fc)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x565e5e(0x215)](_0x16f9a7){const _0x80d246=_0x565e5e;var _0x366291,_0x1baae1,_0x1231d6,_0x14f273,_0x5049bb,_0x36920f;this[_0x80d246(0x1c5)]=(_0x366291=_0x16f9a7[_0x80d246(0x134)])!=null?_0x366291:this['_color'],this[_0x80d246(0x266)]=(_0x1baae1=_0x16f9a7[_0x80d246(0x1a1)])!=null?_0x1baae1:this['_hovered'],this[_0x80d246(0x1c6)]=(_0x1231d6=_0x16f9a7[_0x80d246(0x316)])!=null?_0x1231d6:this['_range'],this['_name']=(_0x14f273=_0x16f9a7[_0x80d246(0x303)])!=null?_0x14f273:this[_0x80d246(0x227)],this['_labelPosition']=(_0x5049bb=_0x16f9a7[_0x80d246(0x29b)])!=null?_0x5049bb:this[_0x80d246(0x25f)],this[_0x80d246(0x230)]=(_0x36920f=_0x16f9a7[_0x80d246(0x25b)])!=null?_0x36920f:this[_0x80d246(0x230)],this['transformByState']({'width':_0x16f9a7[_0x80d246(0x2ae)],'height':_0x16f9a7[_0x80d246(0x1e4)]});}[_0x565e5e(0x26c)](_0x2603e6){const _0x436051=_0x565e5e,{row:_0x526b82,column:_0x13dfe7}=_0x2603e6;if(_0x526b82>=this[_0x436051(0x1c6)][_0x436051(0x163)]&&_0x526b82<=this[_0x436051(0x1c6)]['endRow']&&_0x13dfe7>=this[_0x436051(0x1c6)][_0x436051(0x253)]&&_0x13dfe7<=this[_0x436051(0x1c6)][_0x436051(0x2e4)]){this[_0x436051(0x215)]({'hovered':!0x0});return;}this[_0x436051(0x215)]({'hovered':!0x1});}[_0x565e5e(0x2ab)](_0x3e1ac3){return!0x1;}[_0x565e5e(0x2b0)](_0x225e3d){const _0x1e7316=_0x565e5e;_0x1f7a70[_0x1e7316(0x205)](_0x225e3d,{'width':this[_0x1e7316(0x2ae)],'height':this[_0x1e7316(0x1e4)],'strokeWidth':Li,'stroke':this[_0x1e7316(0x1c5)],'evented':!0x1,'fill':this[_0x1e7316(0x230)]}),this[_0x1e7316(0x266)]&&(_0x225e3d[_0x1e7316(0x28b)](),_0x225e3d[_0x1e7316(0x1e1)](0x1,0x0,0x0,0x1,this[_0x1e7316(0x2ae)],this[_0x1e7316(0x25f)]===_0x1e7316(0x262)?0x0:-0x14),he['drawWith'](_0x225e3d,{'text':this[_0x1e7316(0x227)],'color':this[_0x1e7316(0x1c5)]}),_0x225e3d[_0x1e7316(0x315)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x432ed3,_0x258a0d,_0x26bf0a,_0x4ab916)=>{for(var _0x1636b9=_0x4ab916>0x1?void 0x0:_0x4ab916?Ai(_0x258a0d,_0x26bf0a):_0x258a0d,_0x59b3aa=_0x432ed3['length']-0x1,_0x39a4b2;_0x59b3aa>=0x0;_0x59b3aa--)(_0x39a4b2=_0x432ed3[_0x59b3aa])&&(_0x1636b9=_0x39a4b2(_0x1636b9)||_0x1636b9);return _0x1636b9;},ve=(_0x582fe9,_0x3a1ed1)=>(_0x197a39,_0x1da9f4)=>_0x3a1ed1(_0x197a39,_0x1da9f4,_0x582fe9);const $i=0x1389;let Le=class extends _0x4eca7e{constructor(_0x5295ee,_0x21a224,_0x42dc55,_0x16ae50){const _0x4f6562=_0x565e5e;super(),_(this,'_cursors',new Set()),_(this,_0x4f6562(0x14b),null),(this['_context']=_0x5295ee,this[_0x4f6562(0x251)]=_0x21a224,this['_collabCursorController']=_0x42dc55,this[_0x4f6562(0x217)]=_0x16ae50,this['_init']());}[_0x565e5e(0x186)](){const _0x21d191=_0x565e5e;this[_0x21d191(0x251)][_0x21d191(0x2c2)][_0x21d191(0x252)](_0x31dbb5(this[_0x21d191(0x1da)]),_0x3d6ece(_0x47789a=>{const _0x551087=_0x21d191;if(_0x47789a){const _0x4680cd=_0x47789a[_0x551087(0x32d)];return _0x3ca33b(this[_0x551087(0x2a8)]['getCollabCursors$'](this[_0x551087(0x23c)][_0x551087(0x1fe)]),this[_0x551087(0x217)]['currentTheme$'])[_0x551087(0x252)](_0x9b2036(([_0x354459,_0x1284fb])=>{const _0x1679fd=new Map();return _0x354459['forEach']((_0x4cf737,_0x4750d7)=>{const _0x3a0bae=_0x54e2;if(_0x4cf737[_0x3a0bae(0x139)]===_0x4680cd){const _0x5aeaea={..._0x4cf737};_0x5aeaea[_0x3a0bae(0x134)]=this['_themeService'][_0x3a0bae(0x18f)](_0x4cf737['color']),_0x1679fd[_0x3a0bae(0x2ed)](_0x4750d7,_0x5aeaea);}}),{'skeleton':_0x47789a,'cursors':_0x1679fd};}));}return _0x550d99({'skeleton':null,'cursors':new Map()});}))[_0x21d191(0x1bd)](({skeleton:_0x54b4ea,cursors:_0x2a8e1b})=>{const _0x3f60cb=_0x21d191;this[_0x3f60cb(0x25a)](),_0x54b4ea&&this['_updateCollabCursors'](_0x54b4ea,_0x2a8e1b);}),this[_0x21d191(0x251)][_0x21d191(0x2c2)][_0x21d191(0x1bd)](_0x124a50=>{const _0x328db3=_0x21d191;if(_0x124a50==null)return;const {skeleton:_0x2452cf}=_0x124a50,{scene:_0x193ecf}=this[_0x328db3(0x23c)];_0x193ecf[_0x328db3(0x325)][_0x328db3(0x1fc)](_0x178a01(_0x1fc74d=>{const _0x590f1a=_0x328db3;var _0x2153e4,_0x36dc42;const {offsetX:_0x1ea5f0,offsetY:_0x38da95}=_0x1fc74d,{x:_0x2c6b06,y:_0x57a2ae}=_0x193ecf[_0x590f1a(0x31f)](_0x30304a[_0x590f1a(0x178)]([_0x1ea5f0,_0x38da95])),{scaleX:_0xe4643,scaleY:_0x914e2a}=_0x193ecf['getAncestorScale'](),_0x3fee5e=_0x193ecf['getViewport'](_0xf57eeb['VIEW_MAIN']),_0x47abd7=_0x193ecf[_0x590f1a(0x273)](_0x30304a[_0x590f1a(0x178)]([_0x2c6b06,_0x57a2ae]),_0x3fee5e),_0x3224c4=_0x2452cf[_0x590f1a(0x2e3)](_0x1ea5f0,_0x38da95,_0xe4643,_0x914e2a,_0x47abd7);((_0x2153e4=this['_lastPointer'])==null?void 0x0:_0x2153e4[_0x590f1a(0x13f)])===_0x3224c4[_0x590f1a(0x13f)]&&((_0x36dc42=this[_0x590f1a(0x14b)])==null?void 0x0:_0x36dc42[_0x590f1a(0x20c)])===_0x3224c4[_0x590f1a(0x20c)]||this['_cursors'][_0x590f1a(0x322)](_0x1cc82b=>{const _0xd41e70=_0x590f1a;_0x1cc82b[_0xd41e70(0x26c)](_0x3224c4);});},0x64));});}[_0x565e5e(0x29e)](_0xe54b99,_0x117a02){const _0x36b897=_0x565e5e;var _0x2fc5fa;const _0x76344c=(_0x2fc5fa=this['_sheetSkeletonManagerService'][_0x36b897(0x192)]())==null?void 0x0:_0x2fc5fa[_0x36b897(0x191)];if(!_0x76344c)return;const _0x2202c6=this[_0x36b897(0x2fc)]();if(!_0x2202c6)return;this[_0x36b897(0x2b3)][_0x36b897(0x322)](_0x439bd7=>{_0x439bd7['makeDirty']();});const {scene:_0x9c7bbb}=_0x2202c6,_0x596cd5=xi(Array[_0x36b897(0x22f)](_0x117a02[_0x36b897(0x2ea)]()))[_0x36b897(0x277)](_0x3b7612=>{const _0x528536=_0x36b897,{color:_0x3ad71f,range:_0x23a870,name:_0x214890,selection:_0x2e3292,sheetID:_0x5ad388}=_0x3b7612,{startColumn:_0x2b8d1a,startRow:_0x21e9bf,endColumn:_0x4ad612,endRow:_0x3cda4e}=_0x23a870,_0x301712=_0x4f0cdf(_0x21e9bf,_0x2b8d1a,_0x9c7bbb,_0x76344c),_0x32383c=_0x4f0cdf(_0x3cda4e,_0x4ad612,_0x9c7bbb,_0x76344c),{columnHeaderHeightAndMarginTop:_0x3458d1}=_0x76344c,{startX:_0x15511f,startY:_0x593549}=_0x301712,{endX:_0x35d469,endY:_0x2e8e01}=_0x32383c,_0x1dcead=_0x35d469-_0x15511f,_0x8c2b47=_0x2e8e01-_0x593549,_0x2cb4ea={'labelPosition':_0x593549-_0x3458d1>=ee?'top':_0x528536(0x262),'sheetID':_0x5ad388,'range':_0x23a870,'color':_0x3ad71f,'name':_0x214890,'selection':_0x2e3292,'left':_0x15511f,'top':_0x593549,'width':_0x1dcead,'height':_0x8c2b47,'evented':!0x1,'zIndex':$i};return new wi(_0x214890,_0x2cb4ea);});_0x9c7bbb[_0x36b897(0x254)](_0x596cd5,Pi),this[_0x36b897(0x2b3)]=new Set(_0x596cd5);}[_0x565e5e(0x25a)](){const _0x20dad6=_0x565e5e;var _0x23bcb7;(_0x23bcb7=this[_0x20dad6(0x2b3)])==null||_0x23bcb7[_0x20dad6(0x322)](_0x36eeca=>_0x36eeca[_0x20dad6(0x184)]());}['_getSheetObject'](){const _0x3b59e9=_0x565e5e;return _0x1738df(this[_0x3b59e9(0x23c)][_0x3b59e9(0x31b)],this['_context']);}};Le=yi([ve(0x1,_0x55c0ac(_0xc2148e)),ve(0x2,_0x55c0ac(H)),ve(0x3,_0x55c0ac(_0x5c349a))],Le);function _0x54e2(_0x3d8c4a,_0x3007b6){const _0x1c2a32=_0x1c2a();return _0x54e2=function(_0x54e2b8,_0x5f0414){_0x54e2b8=_0x54e2b8-0x120;let _0x228ce3=_0x1c2a32[_0x54e2b8];return _0x228ce3;},_0x54e2(_0x3d8c4a,_0x3007b6);}function xi(_0x49bcda){const _0x414e72=_0x565e5e,_0x3b3071=new Map();return _0x49bcda[_0x414e72(0x322)](_0x20afce=>{const _0x993785=_0x414e72;if(_0x3b3071[_0x993785(0x181)](_0x20afce['selection'])){const _0x5a486f=_0x3b3071[_0x993785(0x1b4)](_0x20afce[_0x993785(0x2f1)]);_0x5a486f[_0x993785(0x303)]+=',\x20'+_0x20afce['name'];}else _0x3b3071[_0x993785(0x2ed)](_0x20afce[_0x993785(0x2f1)],_0x20afce);}),Array[_0x414e72(0x22f)](_0x3b3071[_0x414e72(0x2ea)]());}var v=function(){const _0x134aa6=_0x565e5e;return v=Object[_0x134aa6(0x1c3)]||function(_0x4169bd){const _0x2e32c4=_0x134aa6;for(var _0x3bcf8d,_0x16bb74=0x1,_0x486faa=arguments['length'];_0x16bb74<_0x486faa;_0x16bb74++){_0x3bcf8d=arguments[_0x16bb74];for(var _0x343895 in _0x3bcf8d)Object['prototype']['hasOwnProperty'][_0x2e32c4(0x22e)](_0x3bcf8d,_0x343895)&&(_0x4169bd[_0x343895]=_0x3bcf8d[_0x343895]);}return _0x4169bd;},v[_0x134aa6(0x1b8)](this,arguments);},Bi=function(_0x2987f8,_0x50db52){const _0x342fbd=_0x565e5e;var _0x49fcfa={};for(var _0x1f7100 in _0x2987f8)Object[_0x342fbd(0x22a)]['hasOwnProperty'][_0x342fbd(0x22e)](_0x2987f8,_0x1f7100)&&_0x50db52['indexOf'](_0x1f7100)<0x0&&(_0x49fcfa[_0x1f7100]=_0x2987f8[_0x1f7100]);if(_0x2987f8!=null&&typeof Object[_0x342fbd(0x202)]==_0x342fbd(0x2aa)){for(var _0x5d016b=0x0,_0x1f7100=Object[_0x342fbd(0x202)](_0x2987f8);_0x5d016b<_0x1f7100[_0x342fbd(0x172)];_0x5d016b++)_0x50db52[_0x342fbd(0x2f9)](_0x1f7100[_0x5d016b])<0x0&&Object[_0x342fbd(0x22a)][_0x342fbd(0x21e)][_0x342fbd(0x22e)](_0x2987f8,_0x1f7100[_0x5d016b])&&(_0x49fcfa[_0x1f7100[_0x5d016b]]=_0x2987f8[_0x1f7100[_0x5d016b]]);}return _0x49fcfa;},je=_0xfeee87(function(_0x5b79e9,_0x4c1349){const _0x42a8ec=_0x565e5e;var _0xf7fa5=_0x5b79e9[_0x42a8ec(0x326)],_0x226724=_0x5b79e9['id'],_0x120d18=_0x5b79e9[_0x42a8ec(0x1cf)],_0x3cad6b=_0x5b79e9['extend'],_0x3c2106=Bi(_0x5b79e9,[_0x42a8ec(0x326),'id',_0x42a8ec(0x1cf),_0x42a8ec(0x32c)]),_0x2200e6=_0x42a8ec(0x1cb)[_0x42a8ec(0x1fa)](_0x226724,'\x20')[_0x42a8ec(0x1fa)](_0x120d18||'')[_0x42a8ec(0x2c8)](),_0x37a47c=_0x40cc3a('_'[_0x42a8ec(0x1fa)](ji()));return Rt(_0xf7fa5,''[_0x42a8ec(0x1fa)](_0x226724),{'defIds':_0xf7fa5[_0x42a8ec(0x2f7)],'idSuffix':_0x37a47c[_0x42a8ec(0x2bd)]},v({'ref':_0x4c1349,'className':_0x2200e6},_0x3c2106),_0x3cad6b);});function _0x1c2a(){const _0x3acf63=['backgroundColor','onTransformChange$','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','getValue','_labelPosition','_collaborationController','231AfbYbk','bottom','collabStatus.offline','_syncEditingCollabCursorService','RemoveRowCommandId','_hovered','getSheetId','_initStatusComponent','min','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getMemberID','onMouseMove','blue.400','_render','send','_drawRectRange','collabStatus.fetchMiss','_renderManagerService','getVpScrollXYInfoByPosToVp','_colorAssignService','off-line-single','defs','map','collabStatus.notCollab','div','isActive','_handleEvent','replaceState','ranges','_localCacheService','round','getCurrentUnitForType','symbol','1994706OhRWBs','jiqing.500','none','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','source','loadOfflineData','NO_OTHER_CLIENTS_EDITING','url(#on-line-single_clip0_910_349)','push','save','_cursor','CLOSE_ROOM','delete','APPLY_NON_SEQUENTIAL_REVISION','idSuffix','unload','substring','_updateURLWithCurrentState','parse','_config','_drawAnchor','_entityInit$','transformStateCache','activeSheet$','transformRemoteChangeset','labelPosition','_injector','xlink:href','_updateCollabCursors','deepClone','_heartbeatTimer','Error','getMember','PY_RUNTIME_SCRIPT_ERROR','LICENSE_EXPORT_SIZE_EXCEEDED','sessionStatus$','runId','getMergeData','_collabCursorController','_onCursorDelete','function','triggerDblclick','post','ALREADY_EXISTS','width','CHANGESET_REVISION_CONFILICT','_draw','setConfig','status$','_cursors','_anchor','setActiveRange','moveTo','transformMutationsWithChangeset','disposeWithMe','PENDING','INVITE_CODE_REQUIRED','arc','beginPath','current','getRangePointData','JOIN_ROOM_FAILED','getSkeleton','INVALID_ARGUMENT','currentSkeleton$','url(#$1','registerRenderModule','EMAIL_HAS_BEEN_BOUND','subUnitId','top','trim','APPLY_REJECT','_cursorInfo$','_initDependencies','_id','LICENSE_MAX_UNITS_EXCEEDED','UNAUTHENTICATED','_dataLoaderService','displayName','#fff','defineProperty','_logService','WECHAT_HAS_BEEN_BOUND','_session','ACTIVE_UNIT_EVENT_CHANNEL','measureText','OTHER_CLIENTS_EDITING','429698yBstDk','Warning','yellow.400','getCollabEntity$','font','_clearOtherTimers','m2Prime','_univerInstanceService','UPDATE_CURSOR','1617609nQgpCP','getCellPositionByOffset','endColumn','_initStatusListener','_scheduleSaving','FETCH_MISS','_docStateChangeManagerService','entityInit$','values','getConfig','add','set','cursorInfo','_unitStatus','OFFLINE','selection','3CnSGdI','InsertRangeMoveDownCommandId','DeleteRangeMoveUpCommandId','_getScale','PERMISSION_DENIED','defIds','#FFF','indexOf','_onCursorUpdate','fillText','_getSheetObject','OTHER_CLIENT_EDITING','collab-text-anchor-','INVITE_CODE_HAS_BEEN_UES','black','onPointerEnter$','runOnServer','name','_localStorageService','use','1969232qbgiaK','saveTaskMap','YUUMI_SUBSCRIPTION_NOT_FOUND','textRanges','_revisionService','fill','setTimeout','permission.content','_status$','_transformUndoRedoStack','onStarting','stringify','_registerDependencies','_saveTaskMap','_colorIndex','restore','range','_createSocketURL','411220jLknBU','getActiveSheet','disableLocalCache','unit','event$','M0\x200H16V16H0z','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getRelativeToViewportCoord','red.300','_doCreateSocket','forEach','_toggleOnline','APPLY_PERMISSION_DENIED','onPointerMove$','icon','size','fillRule','entries','transformIMECache','setAlpha','extend','sheetId','executionId','_refRangeService','_drawTextRange','_scheduleClearOtherTimer','USERS_LEAVE','on-line-single_clip0_910_349','override','10pPwaSh','_unitOnClients','CONFLICT','off-line-single_clip0_910_343','14rsOeUh','addClipboardHook','INVITE_CODE_ALREADY_BOUND','currentColor','session.connection-failed','colorChannel1','_transformService','enableLocalCache','getDocRanges','imageSourceType','findNodePositionByCharIndex','_imageIoService','docStateChange$','color','clearTimeout','_memberService','history','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sheetID','contains','SYNCED','APPLY_DUPLICATED','body','YUUMI_NO_CUBOID_FOR_QUESTION','column','_docClipboardService','APPLY_REVISION_CONFILICT','collab-text-range-','221214OnEbhc','getParam','_handleHover','_initEntityListener','lineTo','collabCursorState$','invokeId','_docTransformSelectionsService','_lastPointer','roomMembers','_configService','permission.title','updateOfflineData','clipPath','collaboration-client.offline-data-not-saved','_document','COMPLETION_FINISHED','1em','_getAnchorBounding','_anchorDot','UNDEFINED','roomMembers$','redoState','collaboration.single-unit.warning','_updateSubUnitFromURLParams','getUnhiddenWorksheets','startsWith','univer-flex\x20univer-items-center','_transformPreviousActiveRange','_initCommandExecutedListener','0\x200\x2016\x2016','UNIVER_DOC','startRow','addEventListener','m1Prime','error','_docSyncEditingCollabCursorService','assignAColorForMemberID','YUUMI_RATE_OVER_LIMIT','_handleLeaveEvent','undoState','collab-rect-range-','path','InsertColCommandId','MOBILE_HAS_BEEN_BOUND','_updateLocalCursor','_startDocCollabCursor','length','requireSession','_setupBeforeClosingHandler','SNAPSHOT_HAS_BEEN_REMOVED','asObservable','INVALID_INVITE_CODE','FromArray','_roomMembers$','unshift','_docTransformStateCacheService','children','_localeService','isArray','getOffsetConfig','onRendered','has','...','/run/','dispose','data','_init','collaboration.closeRoom','_send','purple.300','TEXT','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','_removeClearOtherTimer','_collaborationUIEventService','getColorFromTheme','createSocket','skeleton','getCurrent','mask','_getSessionTicket','_registerRenderDependencies','_startSheetCollabCursor','onCommandExecuted','getCollabCursors$','saveOfflineData','collabStatus.syncing','registerBeforeClose','_hover','NOT_FOUND','_uiPartsService','_shapes','evenodd','hovered','closePath','translate(.97)','_commandService','params','addObject','_cursorShapes','_saveCache','_textBubble','memberID','_instanceService','_docTransformIMECacheService','YUUMI_ASYNCIO_CANCELLED','_eventUnsubscribe','_collabCursorState$','_cachedData','LICENSE_DISTRO_REJECTED','registerComponent','addHandlerCallback','get','init','getOwnPropertyDescriptor','_online','apply','next','UNIVER_SHEET','SNAPSHOT_INVALID_SNAPSHOT','key','subscribe','pushState','_assignedColors','executeCommand','origin','_handleJoinEvent','assign','result','_color','_range','RemoveColCommandId','_toggleOffline','reconnect','[CollaborationDataLoaderController]','univerjs-icon\x20univerjs-icon-','UNRECOGNIZED','479972jPZaEa','editingUnit','className','collabStatus.conflict','YUUMI_ALL_TABLES_IS_INVALID','setParam','_urlService','_getSaveTimeout','SOCKET_FAILED_RETRY','getFocusedUnit','_scheduleHeartbeat','getUnitId','univer-flex\x20univer-mr-2\x20univer-text-xl','dispose$','mutations','setItem','_setupSubUnitSync','setStateCache','_getMergeRange','AWAITING_WITH_PENDING','transform','SUBMIT_CHANGESET_TIMEOUT','some','height','getSheetBySheetId','Unknown\x20user','currentTheme$','actions','MUTATION','searchParams','_transformHistoryAndStateStack','ENSURE_SNAPSHOT_EXECUTION','subunit','type','show','split','_initResize','getRenderById','location','TOO_MANY_REQUESTS','_onRefRangeChange','urlChange$','NOT_COLLAB','eventID','INTERNAL_ERROR','concat','CONNECTOR_DATA_TOO_LARGE','subscribeEvent','unitID','unitId','toRgbString','transformSelections','with','getOwnPropertySymbols','includes','_selfUnitIDs','drawWith','href','registerRefRange','hide','replace','unsubscribe','_docSkeletonManagerService','row','YUUMI_URL_COL_OUT_OF_RANGE','_notificationService','generateRandomId','isEditing','svg','max','AWAITING','OnLineSingle','setShapeProps','text','_themeService','clearInterval','tag','doc.mutation.rich-text-editing','popstate','OffLineSingle','toString','propertyIsEnumerable','DeleteRangeMoveLeftCommandId','onPointerLeave$','newValue','getUnitStatus$','ONLINE','InsertRowCommandId','ticket','complete','_name','createInstance','getStateCache','prototype','_messageService','resize','getTypeOfUnitAdded$','call','from','_backgroundColor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','pluginName','selections','_refreshCollabCursors','engine','Failed','_handleHeartbeatEvent','debug','_disabled','getTypeOfUnitDisposed$','attrs','_context','disposeUnit','_scene','getActiveRange','_httpService','search','getCurrentRevOfUnit','_beforeCloseService','YUUMI_UNABLE_LOAD_URL','application/json','_hideTimer','_collabSessionService','MoveRangeCommandId','string','RECT','transformMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','getAncestorScale','setInterval','saveImage','_sheetSkeletonManagerService','pipe','startColumn','addObjects','cursorInfo$','_ensureSubject','flatMap','_entities','green.600','_removeCollabCursors'];_0x1c2a=function(){return _0x3acf63;};return _0x1c2a();}function Rt(_0x52be17,_0x5323c3,_0x4db0d0,_0x19ec86,_0x79ea95){const _0x4d03fb=_0x565e5e;return _0x4d0a0d(_0x52be17[_0x4d03fb(0x219)],v(v({'key':_0x5323c3},ki(_0x52be17,_0x4db0d0,_0x79ea95)),_0x19ec86),(Hi(_0x52be17,_0x4db0d0)[_0x4d03fb(0x17c)]||[])[_0x4d03fb(0x277)](function(_0x10f00b,_0x2d6e46){const _0x348af1=_0x4d03fb;return Rt(_0x10f00b,''[_0x348af1(0x1fa)](_0x5323c3,'-')[_0x348af1(0x1fa)](_0x52be17[_0x348af1(0x219)],'-')[_0x348af1(0x1fa)](_0x2d6e46),_0x4db0d0,void 0x0,_0x79ea95);}));}function ki(_0x5758f1,_0x863c76,_0x6bfb85){const _0x4b0fd4=_0x565e5e;var _0xb248c7=v({},_0x5758f1[_0x4b0fd4(0x23b)]);_0x6bfb85!=null&&_0x6bfb85[_0x4b0fd4(0x12c)]&&_0xb248c7['fill']===_0x4b0fd4(0x12c)&&(_0xb248c7['fill']=_0x6bfb85['colorChannel1']),_0x5758f1[_0x4b0fd4(0x219)]===_0x4b0fd4(0x193)&&_0xb248c7['id']&&(_0xb248c7['id']=_0xb248c7['id']+_0x863c76[_0x4b0fd4(0x290)]),Object[_0x4b0fd4(0x329)](_0xb248c7)[_0x4b0fd4(0x322)](function(_0x2c9cb2){const _0x3fb933=_0x4b0fd4;var _0x3d4f98=_0x2c9cb2[0x0],_0x5dc6e8=_0x2c9cb2[0x1];_0x3d4f98===_0x3fb933(0x193)&&typeof _0x5dc6e8==_0x3fb933(0x249)&&(_0xb248c7[_0x3d4f98]=_0x5dc6e8['replace'](/url\(#(.*)\)/,_0x3fb933(0x2c3)[_0x3fb933(0x1fa)](_0x863c76[_0x3fb933(0x290)],')')));});var _0x33818d=_0x863c76[_0x4b0fd4(0x2f7)];return!_0x33818d||_0x33818d[_0x4b0fd4(0x172)]===0x0||(_0x5758f1[_0x4b0fd4(0x219)]===_0x4b0fd4(0x305)&&_0xb248c7[_0x4b0fd4(0x29d)]&&(_0xb248c7[_0x4b0fd4(0x29d)]=_0xb248c7['xlink:href']+_0x863c76['idSuffix']),Object['entries'](_0xb248c7)[_0x4b0fd4(0x322)](function(_0xe3e7e7){const _0x59201c=_0x4b0fd4;var _0x3f2df3=_0xe3e7e7[0x0],_0x2c8e28=_0xe3e7e7[0x1];typeof _0x2c8e28=='string'&&(_0xb248c7[_0x3f2df3]=_0x2c8e28[_0x59201c(0x209)](/url\(#(.*)\)/,_0x59201c(0x2c3)['concat'](_0x863c76['idSuffix'],')')));})),_0xb248c7;}function Hi(_0xb818a6,_0x388550){const _0x617034=_0x565e5e;var _0x2dcc1c,_0x58d0f1=_0x388550['defIds'];return!_0x58d0f1||_0x58d0f1['length']===0x0?_0xb818a6:_0xb818a6['tag']===_0x617034(0x276)&&(!((_0x2dcc1c=_0xb818a6[_0x617034(0x17c)])===null||_0x2dcc1c===void 0x0)&&_0x2dcc1c[_0x617034(0x172)])?v(v({},_0xb818a6),{'children':_0xb818a6['children'][_0x617034(0x277)](function(_0x26cf0d){const _0xf868b0=_0x617034;return typeof _0x26cf0d[_0xf868b0(0x23b)]['id']=='string'&&_0x58d0f1&&_0x58d0f1['indexOf'](_0x26cf0d[_0xf868b0(0x23b)]['id'])>-0x1?v(v({},_0x26cf0d),{'attrs':v(v({},_0x26cf0d['attrs']),{'id':_0x26cf0d[_0xf868b0(0x23b)]['id']+_0x388550[_0xf868b0(0x290)]})}):_0x26cf0d;})}):_0xb818a6;}function ji(){const _0x5aa797=_0x565e5e;return Math['random']()[_0x5aa797(0x21d)](0x24)[_0x5aa797(0x292)](0x2,0x8);}je[_0x565e5e(0x2d0)]='UniverIcon';var Yi={'tag':'svg','attrs':{'fill':_0x565e5e(0x284),'viewBox':_0x565e5e(0x161),'width':_0x565e5e(0x154),'height':_0x565e5e(0x154)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x565e5e(0x12a),'d':_0x565e5e(0x285),'strokeLinecap':_0x565e5e(0x27f),'strokeLinejoin':_0x565e5e(0x27f),'strokeWidth':1.2}}]},{'tag':_0x565e5e(0x276),'attrs':{},'children':[{'tag':_0x565e5e(0x150),'attrs':{'id':_0x565e5e(0x126)},'children':[{'tag':_0x565e5e(0x16d),'attrs':{'fill':_0x565e5e(0x2d1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x565e5e(0x126)]},Dt=_0xfeee87(function(_0x22cf59,_0x52f024){const _0x311e26=_0x565e5e;return _0x4d0a0d(je,Object[_0x311e26(0x1c3)]({},_0x22cf59,{'id':_0x311e26(0x275),'ref':_0x52f024,'icon':Yi}));});Dt[_0x565e5e(0x2d0)]=_0x565e5e(0x21c);var Fi={'tag':_0x565e5e(0x211),'attrs':{'fill':_0x565e5e(0x284),'viewBox':'0\x200\x2017\x2016','width':_0x565e5e(0x154),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x565e5e(0x289)},'children':[{'tag':_0x565e5e(0x16d),'attrs':{'stroke':_0x565e5e(0x12a),'d':_0x565e5e(0x25d),'strokeLinecap':_0x565e5e(0x27f),'strokeLinejoin':_0x565e5e(0x27f),'strokeWidth':1.2}}]},{'tag':_0x565e5e(0x276),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x565e5e(0x16d),'attrs':{'fill':'#fff','d':_0x565e5e(0x31d),'transform':_0x565e5e(0x1a3)}}]}]}],'defIds':[_0x565e5e(0x121)]},Nt=_0xfeee87(function(_0x1bb970,_0x3f14da){return _0x4d0a0d(je,Object['assign']({},_0x1bb970,{'id':'on-line-single','ref':_0x3f14da,'icon':Fi}));});Nt[_0x565e5e(0x2d0)]=_0x565e5e(0x214);function Wi(_0x11ff58){const _0x1d0471=_0x565e5e;switch(_0x11ff58){case _0x5ec7ba['OFFLINE']:return _0x1d0471(0x263);case _0x5ec7ba[_0x1d0471(0x125)]:return _0x1d0471(0x1d0);case _0x5ec7ba[_0x1d0471(0x2e7)]:return _0x1d0471(0x271);case _0x5ec7ba[_0x1d0471(0x1f7)]:return _0x1d0471(0x278);case _0x5ec7ba[_0x1d0471(0x213)]:case _0x5ec7ba[_0x1d0471(0x1e0)]:return _0x1d0471(0x19a);case _0x5ec7ba[_0x1d0471(0x13b)]:case _0x5ec7ba[_0x1d0471(0x2b9)]:return'collabStatus.synced';}}function Vi(_0x532966){const _0x50f0af=_0x565e5e,{status$:_0x34a793}=_0x532966,_0x860e2=_0x32a14(_0x34a793,_0x5ec7ba[_0x50f0af(0x1f7)]),_0x53229c=_0x36b485(_0x3f6602),_0x48251d=_0x36b485(_0x2c6ff0),_0x352e73=_0x860e2!==_0x5ec7ba[_0x50f0af(0x2f0)],_0x2df0e3=_0x53229c['t'](Wi(_0x860e2)),_0x230a01=_0x352e73?_0x5d995a(Nt,{}):_0x5d995a(Dt,{}),_0x1ee5c7=_0x4e607d(()=>{const _0x4be2ad=_0x50f0af;_0x352e73||_0x48251d[_0x4be2ad(0x1c9)]();},[_0x352e73,_0x48251d]);function _0x3cc8e4(){const _0x4b5cc0=_0x50f0af;return _0x414cf6(_0x4b5cc0(0x279),{'className':_0x4b5cc0(0x15e),'onClick':_0x1ee5c7,'children':[_0x5d995a(_0x4b5cc0(0x279),{'className':_0x34bb8d(_0x4b5cc0(0x1d9),{'univer-text-green-500':_0x352e73,'univer-text-red-500':!_0x352e73}),'children':_0x230a01}),_0x5d995a('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2df0e3})]});}return _0x352e73?_0x3cc8e4():_0x5d995a(_0x180a59,{'title':_0x53229c['t']('collab-client.tooltip.reconnect'),'children':_0x3cc8e4()});}var Xi=Object[_0x565e5e(0x1b6)],Gi=(_0x59b7a5,_0x42646e,_0x16241c,_0xf57e7f)=>{const _0x55fa73=_0x565e5e;for(var _0x2fee8c=_0xf57e7f>0x1?void 0x0:_0xf57e7f?Xi(_0x42646e,_0x16241c):_0x42646e,_0x48309a=_0x59b7a5[_0x55fa73(0x172)]-0x1,_0x4e51fa;_0x48309a>=0x0;_0x48309a--)(_0x4e51fa=_0x59b7a5[_0x48309a])&&(_0x2fee8c=_0x4e51fa(_0x2fee8c)||_0x2fee8c);return _0x2fee8c;},Q=(_0x75a463,_0x4e56ad)=>(_0x31d589,_0x17e259)=>_0x4e56ad(_0x31d589,_0x17e259,_0x75a463);let te=class extends _0x1c8028{constructor(_0xada9e0,_0x487b0c,_0x3ed16d,_0x3ba5a6){const _0x826b5=_0x565e5e;super(),_(this,'_status$',new _0x654dae(_0x5ec7ba[_0x826b5(0x1f7)])),(this[_0x826b5(0x2e0)]=_0xada9e0,this[_0x826b5(0x29c)]=_0x487b0c,this['_collaborationController']=_0x3ed16d,this['_uiPartsService']=_0x3ba5a6,this[_0x826b5(0x268)](),this[_0x826b5(0x2e5)]());}[_0x565e5e(0x2e5)](){const _0x4649e7=_0x565e5e;this['disposeWithMe'](this[_0x4649e7(0x2e0)]['focused$']['pipe'](_0x1f32ac(()=>{const _0x3c9751=_0x4649e7,_0x296e8d=this[_0x3c9751(0x2e0)][_0x3c9751(0x1d6)]();return _0x296e8d?this[_0x3c9751(0x260)][_0x3c9751(0x2dc)](_0x296e8d['getUnitId']()):_0x550d99(null);}),_0x1f32ac(_0x336f5d=>_0x336f5d?_0x336f5d[_0x4649e7(0x2b2)]:_0x550d99(_0x5ec7ba[_0x4649e7(0x1f7)])))[_0x4649e7(0x1bd)](_0x23b7b8=>{const _0x40a1d8=_0x4649e7;this[_0x40a1d8(0x30e)]['next'](_0x23b7b8);}));}['_initStatusComponent'](){const _0x478f36=_0x565e5e;this[_0x478f36(0x2b8)](this[_0x478f36(0x19e)][_0x478f36(0x1b2)](_0x5e21a0['HEADER_MENU'],()=>_0x2ab464(Ki({'status$':this['_status$'][_0x478f36(0x176)]()}),this[_0x478f36(0x29c)])));}};te=Gi([Q(0x0,_0x29f3a7),Q(0x1,_0x55c0ac(_0x3c5fec)),Q(0x2,_0x55c0ac(_0x3d2839)),Q(0x3,_0x3bd19e)],te);function Ki(_0x548b0f){const {status$:_0x2abefe}=_0x548b0f;return function(){return _0x5d995a(Vi,{'status$':_0x2abefe});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x30de42,_0x1a8a4c,_0xcedb4f,_0x4d03b8)=>{const _0x7b4fad=_0x565e5e;for(var _0x4c3eb7=_0x4d03b8>0x1?void 0x0:_0x4d03b8?zi(_0x1a8a4c,_0xcedb4f):_0x1a8a4c,_0xe56677=_0x30de42[_0x7b4fad(0x172)]-0x1,_0x414340;_0xe56677>=0x0;_0xe56677--)(_0x414340=_0x30de42[_0xe56677])&&(_0x4c3eb7=_0x414340(_0x4c3eb7)||_0x4c3eb7);return _0x4c3eb7;},B=(_0x1327fb,_0x3f20a1)=>(_0x2467f2,_0x12ab22)=>_0x3f20a1(_0x2467f2,_0x12ab22,_0x1327fb);let se=class extends _0x1c8028{constructor(_0x13cfbb,_0x2b9ada,_0x3496cc,_0x4837a4,_0x5a2216,_0x208ce0){const _0x4ebc67=_0x565e5e;super(),this[_0x4ebc67(0x243)]=_0x13cfbb,this[_0x4ebc67(0x27e)]=_0x2b9ada,this[_0x4ebc67(0x18e)]=_0x3496cc,this[_0x4ebc67(0x22b)]=_0x4837a4,this[_0x4ebc67(0x20e)]=_0x5a2216,this[_0x4ebc67(0x17d)]=_0x208ce0,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x565e5e(0x174)](){const _0x3c0403=_0x565e5e;this[_0x3c0403(0x2b8)](this[_0x3c0403(0x243)][_0x3c0403(0x19b)](()=>{const _0x17568a=_0x3c0403;if(this[_0x17568a(0x27e)][_0x17568a(0x307)][_0x17568a(0x327)])return this[_0x17568a(0x17d)]['t'](_0x17568a(0x151));}));}['_initEvent'](){const _0x3360ea=_0x565e5e;this[_0x3360ea(0x2b8)](this['_collaborationUIEventService'][_0x3360ea(0x31c)]['subscribe'](_0x4f77b3=>{const _0x420e6d=_0x3360ea;_0x4f77b3['id']===_0x598d5d[_0x420e6d(0x2fd)]&&this[_0x420e6d(0x22b)][_0x420e6d(0x1ef)]({'type':_0x165153[_0x420e6d(0x2da)],'content':this[_0x420e6d(0x17d)]['t'](_0x420e6d(0x15a))}),_0x4f77b3['id']===_0x598d5d[_0x420e6d(0x28d)]&&this['_messageService'][_0x420e6d(0x1ef)]({'type':_0x165153[_0x420e6d(0x2da)],'content':this[_0x420e6d(0x17d)]['t']('collaboration.closeRoom')}),_0x4f77b3['id']===_0x598d5d[_0x420e6d(0x2f6)]&&this[_0x420e6d(0x20e)][_0x420e6d(0x1ef)]({'title':this[_0x420e6d(0x17d)]['t'](_0x420e6d(0x14e)),'content':this[_0x420e6d(0x17d)]['t'](_0x420e6d(0x30d)),'type':'error','duration':0x0}),_0x4f77b3['id']===_0x598d5d['CONFLICT']&&this['_messageService']['show']({'type':_0x165153[_0x420e6d(0x2a1)],'content':this[_0x420e6d(0x17d)]['t'](_0x420e6d(0x187))+'('+_0x4f77b3[_0x420e6d(0x185)]+')'}),_0x4f77b3['id']===_0x598d5d[_0x420e6d(0x2bf)]&&this[_0x420e6d(0x22b)][_0x420e6d(0x1ef)]({'type':_0x165153[_0x420e6d(0x2da)],'content':this[_0x420e6d(0x17d)]['t'](_0x4f77b3[_0x420e6d(0x185)]||'')}),_0x4f77b3['id']===_0x598d5d[_0x420e6d(0x1d5)]&&this['_messageService'][_0x420e6d(0x1ef)]({'type':_0x165153[_0x420e6d(0x2da)],'content':this['_localeService']['t']('session.will-retry')}),_0x4f77b3['id']===_0x598d5d['SOCKET_FAILED']&&this[_0x420e6d(0x22b)][_0x420e6d(0x1ef)]({'type':_0x165153[_0x420e6d(0x2a1)],'content':this[_0x420e6d(0x17d)]['t'](_0x420e6d(0x12b))}),_0x4f77b3['id']===_0x598d5d[_0x420e6d(0x1e2)]&&this[_0x420e6d(0x22b)][_0x420e6d(0x1ef)]({'type':_0x165153[_0x420e6d(0x2a1)],'content':this[_0x420e6d(0x17d)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x4b0648),B(0x1,_0x53c3f8),B(0x2,_0x55c0ac(_0x12cfe6)),B(0x3,_0x5baf41),B(0x4,_0xf07edf),B(0x5,_0x55c0ac(_0x3f6602))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x2b4ff('uni.network.url-service');var Qi=Object[_0x565e5e(0x1b6)],qi=(_0x24db56,_0x5bc857,_0x5d6517,_0x2851d0)=>{for(var _0x56bf8a=_0x2851d0>0x1?void 0x0:_0x2851d0?Qi(_0x5bc857,_0x5d6517):_0x5bc857,_0x218e3c=_0x24db56['length']-0x1,_0x119760;_0x218e3c>=0x0;_0x218e3c--)(_0x119760=_0x24db56[_0x218e3c])&&(_0x56bf8a=_0x119760(_0x56bf8a)||_0x56bf8a);return _0x56bf8a;},G=(_0x40db4d,_0x418f27)=>(_0x5467f,_0x4eb3d3)=>_0x418f27(_0x5467f,_0x4eb3d3,_0x40db4d);let ie=class extends _0x4eca7e{constructor(_0xacc8bc,_0x34f97d,_0x3559b0,_0x582349,_0x5cd7a2){const _0x5ac36b=_0x565e5e;super(),this['_urlService']=_0xacc8bc,this[_0x5ac36b(0x2d3)]=_0x34f97d,this[_0x5ac36b(0x1a4)]=_0x3559b0,this['_dataLoaderService']=_0x582349,_0x5cd7a2?_0x5cd7a2==null||_0x5cd7a2['whenReady']()[_0x5ac36b(0x24d)](()=>this[_0x5ac36b(0x186)]()):(this[_0x5ac36b(0x2d3)][_0x5ac36b(0x238)](_0x5ac36b(0x1ca),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x565e5e(0x186)](){const _0x381cb6=_0x565e5e,_0x48a598=this[_0x381cb6(0x1d3)][_0x381cb6(0x144)]('unit'),_0x360151=this[_0x381cb6(0x1d3)][_0x381cb6(0x144)](_0x381cb6(0x1ee)),_0x5c4e51=this[_0x381cb6(0x1d3)][_0x381cb6(0x144)](_0x381cb6(0x1ed));if(!_0x48a598||!_0x360151){this['_logService']['debug'](_0x381cb6(0x1ca),_0x381cb6(0x26a));return;}const _0x2a9333=await this[_0x381cb6(0x2cf)]['loadUnit'](_0x48a598,Number(_0x360151),_0x5c4e51);_0x2a9333&&_0x2a9333 instanceof _0x4126cb&&this[_0x381cb6(0x1dd)](_0x2a9333);}async[_0x565e5e(0x1dd)](_0x523fe9){const _0x5c9163=_0x565e5e;await this['_updateSubUnitFromURLParams'](_0x523fe9),_0x523fe9[_0x5c9163(0x299)][_0x5c9163(0x252)](_0x55d45e(this[_0x5c9163(0x1da)]))[_0x5c9163(0x1bd)](_0xb470ba=>{_0xb470ba&&this['_updateURLWithCurrentState'](_0xb470ba);}),this[_0x5c9163(0x1d3)]['urlChange$'][_0x5c9163(0x252)](_0x55d45e(this[_0x5c9163(0x1da)]))[_0x5c9163(0x1bd)](()=>this[_0x5c9163(0x15b)](_0x523fe9));}[_0x565e5e(0x293)](_0x4d7339,_0x46327e=!0x1){const _0x303577=_0x565e5e,_0x4b967d=this['_urlService']['getParam'](_0x303577(0x1ed));_0x4d7339[_0x303577(0x267)]()!==_0x4b967d&&this[_0x303577(0x1d3)][_0x303577(0x1d2)](_0x303577(0x1ed),_0x4d7339['getSheetId'](),_0x46327e);}async[_0x565e5e(0x15b)](_0x14ca30){const _0x515a61=_0x565e5e;var _0x202f7c;const _0x274ef8=this[_0x515a61(0x1d3)][_0x515a61(0x144)](_0x515a61(0x1ed));if(!_0x274ef8||!_0x14ca30['getSheetBySheetId'](_0x274ef8)){const _0x4886ac=_0x14ca30[_0x515a61(0x15c)]()[0x0],_0x39f33f=_0x14ca30['getSheetBySheetId'](_0x4886ac);if(!_0x39f33f)return;this['_updateURLWithCurrentState'](_0x39f33f,!0x0),await this['_commandService'][_0x515a61(0x1c0)](_0x495402['id'],{'unitId':_0x14ca30['getUnitId'](),'subUnitId':_0x4886ac});return;}((_0x202f7c=_0x14ca30[_0x515a61(0x319)]())==null?void 0x0:_0x202f7c['getSheetId']())!==_0x274ef8&&await this[_0x515a61(0x1a4)][_0x515a61(0x1c0)](_0x495402['id'],{'unitId':_0x14ca30[_0x515a61(0x1d8)](),'subUnitId':_0x274ef8});}};ie=qi([G(0x0,Ut),G(0x1,_0x39523),G(0x2,_0x347b5a),G(0x3,_0x55c0ac(_0x5db0df)),G(0x4,_0x5be1a1(_0x2afe11))],ie);var en=Object[_0x565e5e(0x1b6)],tn=(_0x9a8881,_0x369b52,_0x51414a,_0x5378f1)=>{const _0x32c0e3=_0x565e5e;for(var _0x396762=_0x5378f1>0x1?void 0x0:_0x5378f1?en(_0x369b52,_0x51414a):_0x369b52,_0x74fa0c=_0x9a8881[_0x32c0e3(0x172)]-0x1,_0x590666;_0x74fa0c>=0x0;_0x74fa0c--)(_0x590666=_0x9a8881[_0x74fa0c])&&(_0x396762=_0x590666(_0x396762)||_0x396762);return _0x396762;},pe=(_0x1adc04,_0x5cd5ba)=>(_0xdf6ac9,_0x287009)=>_0x5cd5ba(_0xdf6ac9,_0x287009,_0x1adc04);let ne=class{constructor(_0x48ee03,_0x57f966,_0x1dc306){const _0x55001a=_0x565e5e;this[_0x55001a(0x29c)]=_0x48ee03,this['_transformService']=_0x57f966,this[_0x55001a(0x272)]=_0x1dc306;}['transformIMECache'](_0x256a80){const _0x5671c9=_0x565e5e;this[_0x5671c9(0x30f)](_0x256a80),this['_transformPreviousActiveRange'](_0x256a80);}['transformRemoteChangeset'](_0xb59c01){const _0x58dd1d=_0x565e5e,{unitID:_0x2fee31}=_0xb59c01,_0x52636c=this[_0x58dd1d(0x272)][_0x58dd1d(0x1f2)](_0x2fee31)[_0x58dd1d(0x201)](_0x34fedf),{redoCache:_0xd4d5fd}=_0x52636c['getUndoRedoMutationParamsCache']();if(_0xd4d5fd[_0x58dd1d(0x172)]===0x0)return _0xb59c01;let _0x2fa34f=_0x2650a9[_0x58dd1d(0x29f)](_0xb59c01['mutations'][0x0]);for(let _0x18fcdc=0x0;_0x18fcdc<_0xd4d5fd[_0x58dd1d(0x172)];_0x18fcdc++){const _0x542e9c={'id':_0x58dd1d(0x21a),'params':{..._0xd4d5fd[_0x18fcdc]}},_0x998a5c=this[_0x58dd1d(0x12d)][_0x58dd1d(0x24b)](_0x2fa34f,_0x542e9c,!0x1);if(_0x5012b2(_0x998a5c))throw _0x998a5c[_0x58dd1d(0x166)];_0x2fa34f=_0x998a5c[_0x58dd1d(0x165)];}return{..._0x2650a9[_0x58dd1d(0x29f)](_0xb59c01),'mutations':[_0x2fa34f]};}[_0x565e5e(0x30f)](_0x15fc9d){const _0x17ea5a=_0x565e5e,{unitID:_0x482417}=_0x15fc9d,_0x419c5c=this['_renderManagerService']['getRenderById'](_0x482417)[_0x17ea5a(0x201)](_0x34fedf),{undoCache:_0x20c87c,redoCache:_0x27b9ba}=_0x419c5c['getUndoRedoMutationParamsCache']();if(_0x20c87c['length']===0x0||_0x27b9ba[_0x17ea5a(0x172)]===0x0)return;const _0x5ab284=[],_0x2c559a=[];let _0x11f40c=_0x2650a9['deepClone'](_0x15fc9d[_0x17ea5a(0x1db)][0x0]),_0x43691d=_0x2650a9[_0x17ea5a(0x29f)](_0x15fc9d[_0x17ea5a(0x1db)][0x0]);for(let _0xa34bcd=_0x20c87c[_0x17ea5a(0x172)]-0x1;_0xa34bcd>=0x0;_0xa34bcd--){const _0x57c547={'id':_0x17ea5a(0x21a),'params':{..._0x20c87c[_0xa34bcd]}},_0x57f54c={'id':_0x17ea5a(0x21a),'params':{..._0x27b9ba[_0xa34bcd]}},_0x12518c=this[_0x17ea5a(0x12d)][_0x17ea5a(0x24b)](_0x11f40c,_0x57c547,!0x1),_0x39c53c=this[_0x17ea5a(0x12d)][_0x17ea5a(0x24b)](_0x43691d,_0x57f54c,!0x1);if(_0x5012b2(_0x12518c))throw _0x12518c[_0x17ea5a(0x166)];if(_0x5012b2(_0x39c53c))throw _0x39c53c[_0x17ea5a(0x166)];_0x5ab284[_0x17ea5a(0x17a)](_0x12518c[_0x17ea5a(0x2df)]['params']),_0x2c559a[_0x17ea5a(0x17a)](_0x39c53c[_0x17ea5a(0x2df)][_0x17ea5a(0x1a5)]),_0x11f40c=_0x12518c['m1Prime'],_0x43691d=_0x39c53c['m1Prime'];}_0x419c5c['setUndoRedoMutationParamsCache']({'undoCache':_0x5ab284,'redoCache':_0x2c559a});}[_0x565e5e(0x15f)](_0xfea9ae){const _0x4f9976=_0x565e5e,{unitID:_0x5d0ca4}=_0xfea9ae,_0x2fec6a=this[_0x4f9976(0x272)][_0x4f9976(0x1f2)](_0x5d0ca4)[_0x4f9976(0x201)](_0x34fedf),_0xf2720f=_0x2fec6a[_0x4f9976(0x23f)]();if(_0xf2720f==null)return;const _0x2e2258=[{'id':_0x4f9976(0x21a),'params':{'unitId':_0xfea9ae[_0x4f9976(0x1fd)],'actions':null,'textRanges':[_0xf2720f]}}],_0x518e33=this[_0x4f9976(0x12d)][_0x4f9976(0x2b7)](_0xfea9ae,_0x2e2258);if(!_0x5b3d73(_0x518e33))throw _0x518e33[_0x4f9976(0x166)];const _0xa47351=_0x518e33[_0x4f9976(0x2df)][0x0][_0x4f9976(0x1a5)]['textRanges'];Array[_0x4f9976(0x17e)](_0xa47351)&&_0xa47351[_0x4f9976(0x172)]&&_0x2fec6a[_0x4f9976(0x2b5)](_0xa47351[0x0]);}};ne=tn([pe(0x0,_0x55c0ac(_0x3c5fec)),pe(0x1,_0x38ce08),pe(0x2,_0x460adb)],ne);var sn=Object[_0x565e5e(0x1b6)],nn=(_0x4cf588,_0x1d54f2,_0x51c3ee,_0x1d01fb)=>{const _0x5db786=_0x565e5e;for(var _0x1bb6ad=_0x1d01fb>0x1?void 0x0:_0x1d01fb?sn(_0x1d54f2,_0x51c3ee):_0x1d54f2,_0xa02e30=_0x4cf588[_0x5db786(0x172)]-0x1,_0x5d9589;_0xa02e30>=0x0;_0xa02e30--)(_0x5d9589=_0x4cf588[_0xa02e30])&&(_0x1bb6ad=_0x5d9589(_0x1bb6ad)||_0x1bb6ad);return _0x1bb6ad;},Ce=(_0x227641,_0x4c5806)=>(_0x3f15d5,_0x40e861)=>_0x4c5806(_0x3f15d5,_0x40e861,_0x227641);let re=class{constructor(_0x493623,_0x174b85,_0x33b575){const _0x12df2a=_0x565e5e;this['_injector']=_0x493623,this[_0x12df2a(0x12d)]=_0x174b85,this[_0x12df2a(0x2e8)]=_0x33b575;}['transformStateCache'](_0x3e8d92){this['_transformHistoryAndStateStack'](_0x3e8d92);}['transformRemoteChangeset'](_0x17633f){const _0x33d32e=_0x565e5e,{unitID:_0x27e3f2}=_0x17633f,{collaboration:_0x494140}=this[_0x33d32e(0x2e8)][_0x33d32e(0x229)](_0x27e3f2);if(_0x494140[_0x33d32e(0x172)]===0x0)return _0x17633f;let _0x45e9b3=_0x2650a9[_0x33d32e(0x29f)](_0x17633f[_0x33d32e(0x1db)][0x0]);for(let _0x296b71=0x0;_0x296b71<_0x494140[_0x33d32e(0x172)];_0x296b71++){const _0x43336e={'id':_0x33d32e(0x21a),'params':{'unitId':_0x494140[_0x296b71][_0x33d32e(0x1fe)],..._0x494140[_0x296b71][_0x33d32e(0x159)]}},_0x228a20=this[_0x33d32e(0x12d)][_0x33d32e(0x24b)](_0x45e9b3,_0x43336e,!0x1);if(_0x5012b2(_0x228a20))throw _0x228a20[_0x33d32e(0x166)];_0x45e9b3=_0x228a20[_0x33d32e(0x165)];}return{..._0x2650a9[_0x33d32e(0x29f)](_0x17633f),'mutations':[_0x45e9b3]};}[_0x565e5e(0x1eb)](_0x1d9777){const _0xd15214=_0x565e5e,{unitID:_0x123c1c}=_0x1d9777,{history:_0x19a4e1,collaboration:_0x27b58d}=this[_0xd15214(0x2e8)][_0xd15214(0x229)](_0x123c1c);if(_0x19a4e1[_0xd15214(0x172)]===0x0&&_0x27b58d['length']===0x0)return;const _0x25bb22=[],_0x31761a=[];let _0x217a73=_0x2650a9[_0xd15214(0x29f)](_0x1d9777[_0xd15214(0x1db)][0x0]),_0x4a4f85=_0x2650a9[_0xd15214(0x29f)](_0x1d9777[_0xd15214(0x1db)][0x0]);for(let _0x4725b5=_0x19a4e1[_0xd15214(0x172)]-0x1;_0x4725b5>=0x0;_0x4725b5--){const _0x5e5622={'id':_0xd15214(0x21a),'params':{'unitId':_0x19a4e1[_0x4725b5][_0xd15214(0x1fe)],..._0x19a4e1[_0x4725b5][_0xd15214(0x16b)]}},_0x4f4f37={'id':_0xd15214(0x21a),'params':{'unitId':_0x19a4e1[_0x4725b5][_0xd15214(0x1fe)],..._0x19a4e1[_0x4725b5][_0xd15214(0x159)]}},_0xda7fec=this[_0xd15214(0x12d)][_0xd15214(0x24b)](_0x217a73,_0x5e5622,!0x1),_0x568ec1=this[_0xd15214(0x12d)][_0xd15214(0x24b)](_0x4a4f85,_0x4f4f37,!0x1);if(_0x5012b2(_0xda7fec))throw _0xda7fec[_0xd15214(0x166)];if(_0x5012b2(_0x568ec1))throw _0x568ec1[_0xd15214(0x166)];_0x25bb22[_0xd15214(0x17a)]({..._0x19a4e1[_0x4725b5],'undoState':_0xda7fec['m2Prime'][_0xd15214(0x1a5)],'redoState':_0x568ec1['m2Prime']['params']}),_0x217a73=_0xda7fec[_0xd15214(0x165)],_0x4a4f85=_0x568ec1['m1Prime'];}_0x217a73=_0x2650a9[_0xd15214(0x29f)](_0x1d9777[_0xd15214(0x1db)][0x0]),_0x4a4f85=_0x2650a9[_0xd15214(0x29f)](_0x1d9777[_0xd15214(0x1db)][0x0]);for(let _0x13f056=_0x27b58d[_0xd15214(0x172)]-0x1;_0x13f056>=0x0;_0x13f056--){const _0x5400cd={'id':_0xd15214(0x21a),'params':{'unitId':_0x27b58d[_0x13f056][_0xd15214(0x1fe)],..._0x27b58d[_0x13f056][_0xd15214(0x16b)]}},_0x1f299a={'id':_0xd15214(0x21a),'params':{'unitId':_0x27b58d[_0x13f056][_0xd15214(0x1fe)],..._0x27b58d[_0x13f056][_0xd15214(0x159)]}},_0x12aa3b=this['_transformService']['transformMutation'](_0x217a73,_0x5400cd,!0x1),_0x4df511=this[_0xd15214(0x12d)][_0xd15214(0x24b)](_0x4a4f85,_0x1f299a,!0x1);if(_0x5012b2(_0x12aa3b))throw _0x12aa3b[_0xd15214(0x166)];if(_0x5012b2(_0x4df511))throw _0x4df511['error'];_0x31761a['unshift']({..._0x27b58d[_0x13f056],'undoState':_0x12aa3b[_0xd15214(0x2df)][_0xd15214(0x1a5)],'redoState':_0x4df511[_0xd15214(0x2df)][_0xd15214(0x1a5)]}),_0x217a73=_0x12aa3b[_0xd15214(0x165)],_0x4a4f85=_0x4df511[_0xd15214(0x165)];}this['_docStateChangeManagerService'][_0xd15214(0x1de)](_0x123c1c,{'history':_0x25bb22,'collaboration':_0x31761a});}};re=nn([Ce(0x0,_0x55c0ac(_0x3c5fec)),Ce(0x1,_0x38ce08),Ce(0x2,_0x55c0ac(_0x4a9185))],re);var rn=Object[_0x565e5e(0x1b6)],on=(_0x204b92,_0x4783f2,_0xe4418d,_0x39930b)=>{const _0x4e37e4=_0x565e5e;for(var _0x222319=_0x39930b>0x1?void 0x0:_0x39930b?rn(_0x4783f2,_0xe4418d):_0x4783f2,_0x41f1f6=_0x204b92[_0x4e37e4(0x172)]-0x1,_0x537a62;_0x41f1f6>=0x0;_0x41f1f6--)(_0x537a62=_0x204b92[_0x41f1f6])&&(_0x222319=_0x537a62(_0x222319)||_0x222319);return _0x222319;},tt=(_0x47cdca,_0x31ab34)=>(_0x59ee9a,_0x45c4b4)=>_0x31ab34(_0x59ee9a,_0x45c4b4,_0x47cdca);let oe=class{constructor(_0x2a5f6a,_0x4f41a9){const _0x425445=_0x565e5e;this['_injector']=_0x2a5f6a,this[_0x425445(0x12d)]=_0x4f41a9;}[_0x565e5e(0x200)](_0x337721){const _0x32d217=_0x565e5e;var _0x371191;const _0x19c8bb=this[_0x32d217(0x29c)][_0x32d217(0x1b4)](_0x4c52aa),_0x15af6c=(_0x371191=_0x19c8bb[_0x32d217(0x12f)]())!=null?_0x371191:[];if(_0x15af6c[_0x32d217(0x172)]===0x0)return;const _0x22abbe=_0x337721[_0x32d217(0x1fd)],_0x1b5611=[{'id':_0x32d217(0x21a),'params':{'unitId':_0x22abbe,'actions':null,'textRanges':_0x15af6c}}],_0x304a2e=this['_transformService'][_0x32d217(0x2b7)](_0x337721,_0x1b5611);if(!_0x5b3d73(_0x304a2e))throw _0x304a2e[_0x32d217(0x166)];const _0x45e5b4=_0x304a2e['m2Prime'][0x0][_0x32d217(0x1a5)]['textRanges'];Array[_0x32d217(0x17e)](_0x45e5b4)&&_0x45e5b4[_0x32d217(0x172)]&&_0x19c8bb['replaceDocRanges'](_0x45e5b4,{'unitId':_0x22abbe,'subUnitId':_0x22abbe},!0x1);}};oe=on([tt(0x0,_0x55c0ac(_0x3c5fec)),tt(0x1,_0x38ce08)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x35c19e,_0x1b8aef,_0x594a9c,_0x3f903f)=>{const _0x594e9b=_0x565e5e;for(var _0x3645e3=_0x3f903f>0x1?void 0x0:_0x3f903f?an(_0x1b8aef,_0x594a9c):_0x1b8aef,_0x1fd0e6=_0x35c19e[_0x594e9b(0x172)]-0x1,_0x5e0e67;_0x1fd0e6>=0x0;_0x1fd0e6--)(_0x5e0e67=_0x35c19e[_0x1fd0e6])&&(_0x3645e3=_0x5e0e67(_0x3645e3)||_0x3645e3);return _0x3645e3;},U=(_0x3b107b,_0xbfff6c)=>(_0x90006,_0x4901b3)=>_0xbfff6c(_0x90006,_0x4901b3,_0x3b107b);let ae=class extends _0x1c8028{constructor(_0x30e268,_0x3a30d0,_0x5ad1b7,_0x24d0d8,_0x20d180,_0x2213e9,_0x17d8d4,_0x187345){const _0x207cd5=_0x565e5e;super(),_(this,'_status$',new _0x654dae(_0x5ec7ba[_0x207cd5(0x1f7)])),(this[_0x207cd5(0x2e8)]=_0x30e268,this[_0x207cd5(0x260)]=_0x3a30d0,this[_0x207cd5(0x1ac)]=_0x5ad1b7,this['_docTransformStateCacheService']=_0x24d0d8,this['_docTransformSelectionsService']=_0x20d180,this[_0x207cd5(0x167)]=_0x2213e9,this[_0x207cd5(0x22b)]=_0x17d8d4,this[_0x207cd5(0x17d)]=_0x187345,this['_initEntityListener']());}[_0x565e5e(0x146)](){const _0x5b698a=_0x565e5e;this['disposeWithMe'](this['_collaborationController'][_0x5b698a(0x2e9)][_0x5b698a(0x1bd)](_0x1edd74=>{const _0x2dd4c7=_0x5b698a,_0x48b458=this[_0x2dd4c7(0x2e8)][_0x2dd4c7(0x133)][_0x2dd4c7(0x1bd)](_0x15ca67=>{const _0x2cdab6=_0x2dd4c7;if(_0x15ca67==null)return;const {unitId:_0x47a171,redoState:_0x4af79b,commandId:_0x15716b}=_0x15ca67;if(_0x47a171!==_0x1edd74['unitID'])return;const _0x5f2927={'id':_0x15716b,'type':_0x36eaf3[_0x2cdab6(0x1e9)],'params':{'unitId':_0x47a171,'actions':_0x4af79b[_0x2cdab6(0x1e8)],'textRanges':null}};_0x1edd74['onLocalMutation'](_0x5f2927);});if(_0x1edd74[_0x2dd4c7(0x2b8)](_0x48b458),_0x1edd74 instanceof _0x2a3630){const _0x36af68={'onTransformIME':_0x15416e=>this[_0x2dd4c7(0x1ac)][_0x2dd4c7(0x32a)](_0x15416e),'onTransformState':_0x34d2cc=>this[_0x2dd4c7(0x17b)][_0x2dd4c7(0x298)](_0x34d2cc),'onTransformSelections':_0x4b01a0=>this[_0x2dd4c7(0x14a)]['transformSelections'](_0x4b01a0),'onSyncEditingCollabCursor':_0x544d9a=>this[_0x2dd4c7(0x167)]['syncEditingCollabCursor'](_0x544d9a),'onTransformRemoteChangesetByIMECache':_0xf2e36e=>this[_0x2dd4c7(0x1ac)][_0x2dd4c7(0x29a)](_0xf2e36e),'onTransformRemoteChangesetByStateCache':_0x233c0b=>this[_0x2dd4c7(0x17b)][_0x2dd4c7(0x29a)](_0x233c0b)};_0x1edd74[_0x2dd4c7(0x1b3)](_0x36af68);}}));}};ae=cn([U(0x0,_0x55c0ac(_0x4a9185)),U(0x1,_0x55c0ac(_0x3d2839)),U(0x2,_0x55c0ac(ne)),U(0x3,_0x55c0ac(re)),U(0x4,_0x55c0ac(oe)),U(0x5,_0x55c0ac(He)),U(0x6,_0x5baf41),U(0x7,_0x55c0ac(_0x3f6602))],ae);var ln=Object[_0x565e5e(0x1b6)],_n=(_0x3f42cf,_0x35d00a,_0x565859,_0x4968f4)=>{const _0x5ef0fc=_0x565e5e;for(var _0x3f565a=_0x4968f4>0x1?void 0x0:_0x4968f4?ln(_0x35d00a,_0x565859):_0x35d00a,_0x1a9817=_0x3f42cf[_0x5ef0fc(0x172)]-0x1,_0x3e9b14;_0x1a9817>=0x0;_0x1a9817--)(_0x3e9b14=_0x3f42cf[_0x1a9817])&&(_0x3f565a=_0x3e9b14(_0x3f565a)||_0x3f565a);return _0x3f565a;},Ee=(_0x586066,_0x39da01)=>(_0x187d68,_0x4d8014)=>_0x39da01(_0x187d68,_0x4d8014,_0x586066);let we=class extends _0x1c8028{constructor(_0x224514,_0x2279e9,_0x4bb1bc){const _0x569e44=_0x565e5e;super(),_(this,_0x569e44(0x1b0),new Map()),_(this,_0x569e44(0x313),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x224514,this[_0x569e44(0x304)]=_0x2279e9,this[_0x569e44(0x30a)]=_0x4bb1bc);}[_0x565e5e(0x31a)](){const _0x23ac7a=_0x565e5e;this[_0x23ac7a(0x239)]=!0x0;}[_0x565e5e(0x12e)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x565e5e(0x184)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x565e5e(0x287)](_0x392a44){const _0x3212e9=_0x565e5e;return this[_0x3212e9(0x239)]?null:this[_0x3212e9(0x304)]['getItem'](_0x1c554f(_0x392a44));}async[_0x565e5e(0x199)](_0x58ca0c,_0x26cba4){const _0x4a6ef1=_0x565e5e;return!!this[_0x4a6ef1(0x304)][_0x4a6ef1(0x1dc)](_0x58ca0c,_0x26cba4);}[_0x565e5e(0x14f)](_0x27e61b,_0x3c24f5,_0x3e5543,_0x39e8d0){const _0x2c9220=_0x565e5e,_0x5b287a=this[_0x2c9220(0x30a)][_0x2c9220(0x242)](_0x27e61b);this['_cachedData'][_0x2c9220(0x2ed)](_0x27e61b,{'unitID':_0x27e61b,'type':_0x3c24f5,'awaitingChangeset':_0x3e5543,'mutations':_0x39e8d0,'rev':_0x5b287a}),this[_0x2c9220(0x313)][_0x2c9220(0x181)](_0x27e61b)||this[_0x2c9220(0x2e6)](_0x27e61b);}[_0x565e5e(0x2e6)](_0x3c35d9){const _0x55bb96=_0x565e5e,_0x47cf1e=this[_0x55bb96(0x1d4)]();_0x47cf1e===0x0?this[_0x55bb96(0x1a8)](_0x3c35d9):this[_0x55bb96(0x313)][_0x55bb96(0x2ed)](_0x3c35d9,setTimeout(()=>this[_0x55bb96(0x1a8)](_0x3c35d9),_0x47cf1e));}[_0x565e5e(0x1d4)](){const _0x17ffc4=_0x565e5e;var _0x39abfd;return(_0x39abfd=this[_0x17ffc4(0x14d)][_0x17ffc4(0x2eb)](_0x2e89fb))!=null?_0x39abfd:_0x4534b3;}[_0x565e5e(0x1a8)](_0xa5ad37){const _0x5d41e9=_0x565e5e,_0x2fe7ce=this[_0x5d41e9(0x313)][_0x5d41e9(0x1b4)](_0xa5ad37);return _0x2fe7ce!==void 0x0&&window[_0x5d41e9(0x135)](_0x2fe7ce),this['_localStorageService'][_0x5d41e9(0x1dc)](_0x1c554f(_0xa5ad37),this[_0x5d41e9(0x1b0)]['get'](_0xa5ad37))['then'](()=>this['_saveTaskMap']['delete'](_0xa5ad37));}async['exhaustSavingTask'](){const _0xbcacda=_0x565e5e,_0x198cb1=[];this[_0xbcacda(0x313)][_0xbcacda(0x322)]((_0x33b388,_0x56d69a)=>{const _0x3cab8f=_0xbcacda;window[_0x3cab8f(0x135)](_0x33b388),_0x198cb1[_0x3cab8f(0x28a)](this[_0x3cab8f(0x1a8)](_0x56d69a)[_0x3cab8f(0x24d)](()=>{const _0x2bb764=_0x3cab8f;this[_0x2bb764(0x313)][_0x2bb764(0x28e)](_0x56d69a);}));}),await Promise['all'](_0x198cb1);}};we=_n([Ee(0x0,_0x70f736),Ee(0x1,_0x5125d6),Ee(0x2,_0x55c0ac(_0x297d23))],we);class hn extends _0x4eca7e{constructor(){const _0x278b79=_0x565e5e;super(),_(this,_0x278b79(0x1f6)),this[_0x278b79(0x1f6)]=_0x258cc4(window,_0x278b79(0x21b))[_0x278b79(0x252)](_0x55d45e(this['dispose$']),_0x280f1c(0x1),_0x54f524(void 0x0));}[_0x565e5e(0x1d2)](_0x1cd31d,_0x49531c,_0x313cba=!0x1){const _0x20f3b3=_0x565e5e,_0x389e96=new URL(window[_0x20f3b3(0x1f3)][_0x20f3b3(0x206)]);_0x389e96[_0x20f3b3(0x1ea)][_0x20f3b3(0x2ed)](_0x1cd31d,_0x49531c),_0x313cba?window[_0x20f3b3(0x137)][_0x20f3b3(0x27c)]('','',_0x389e96[_0x20f3b3(0x21d)]()):window[_0x20f3b3(0x137)][_0x20f3b3(0x1be)]('','',_0x389e96[_0x20f3b3(0x21d)]());}['removeParam'](_0xc2d4ee,_0x4893d1=!0x1){const _0x37bf97=_0x565e5e,_0x53adad=new URL(window[_0x37bf97(0x1f3)]['href']);_0x53adad[_0x37bf97(0x1ea)]['delete'](_0xc2d4ee),_0x4893d1?window[_0x37bf97(0x137)][_0x37bf97(0x27c)]('','',_0x53adad['toString']()):window[_0x37bf97(0x137)][_0x37bf97(0x1be)]('','',_0x53adad['toString']());}[_0x565e5e(0x144)](_0x25edbd){const _0x332424=_0x565e5e;var _0x1cc79c;return(_0x1cc79c=new URL(window[_0x332424(0x1f3)][_0x332424(0x206)])['searchParams'][_0x332424(0x1b4)](_0x25edbd))!=null?_0x1cc79c:void 0x0;}}var un=Object[_0x565e5e(0x2d2)],dn=Object[_0x565e5e(0x1b6)],fn=(_0x26ba44,_0xc8615b,_0x4093fe)=>_0xc8615b in _0x26ba44?un(_0x26ba44,_0xc8615b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4093fe}):_0x26ba44[_0xc8615b]=_0x4093fe,Sn=(_0x44af4e,_0x5e006a,_0xa24159,_0x2a6046)=>{const _0x3d762d=_0x565e5e;for(var _0x145bc6=_0x2a6046>0x1?void 0x0:_0x2a6046?dn(_0x5e006a,_0xa24159):_0x5e006a,_0x234ed7=_0x44af4e[_0x3d762d(0x172)]-0x1,_0x22a92e;_0x234ed7>=0x0;_0x234ed7--)(_0x22a92e=_0x44af4e[_0x234ed7])&&(_0x145bc6=_0x22a92e(_0x145bc6)||_0x145bc6);return _0x145bc6;},Oe=(_0x559a36,_0x7ec4b6)=>(_0x3600d2,_0x50b0eb)=>_0x7ec4b6(_0x3600d2,_0x50b0eb,_0x559a36),mn=(_0x1d08fb,_0x4106d8,_0x4393e8)=>fn(_0x1d08fb,_0x4106d8+'',_0x4393e8);const gn=_0x565e5e(0x231);let Ae=class extends _0x134d3f{constructor(_0x2c051a=et,_0x168b44,_0x45a654,_0x573301){const _0x3d08d8=_0x565e5e;super(),this[_0x3d08d8(0x295)]=_0x2c051a,this[_0x3d08d8(0x272)]=_0x168b44,this[_0x3d08d8(0x29c)]=_0x45a654,this[_0x3d08d8(0x14d)]=_0x573301;const {..._0x153393}=_0x4a4e03({},et,this['_config']);this['_configService'][_0x3d08d8(0x2b1)](Zi,_0x153393);}[_0x565e5e(0x310)](){const _0x3789be=_0x565e5e;this['_registerDependencies'](),this[_0x3789be(0x2cb)]();}[_0x565e5e(0x180)](){const _0x10d1e3=_0x565e5e;this[_0x10d1e3(0x195)]();}[_0x565e5e(0x312)](){const _0x2b7d54=_0x565e5e;var _0x420701;const _0xfcb3a6=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x43e315,{'useClass':_0x48ca09}],[_0x53c3f8,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3135c1(this[_0x2b7d54(0x29c)],_0x3fb29d(_0xfcb3a6,(_0x420701=this[_0x2b7d54(0x295)])==null?void 0x0:_0x420701[_0x2b7d54(0x122)]));}[_0x565e5e(0x195)](){const _0x2d767a=_0x565e5e;this[_0x2d767a(0x2b8)](this[_0x2d767a(0x272)][_0x2d767a(0x2c4)](_0x5a2412[_0x2d767a(0x162)],[Pe])),this[_0x2d767a(0x2b8)](this[_0x2d767a(0x272)][_0x2d767a(0x2c4)](_0x5a2412['UNIVER_SHEET'],[Le]));}[_0x565e5e(0x2cb)](){const _0x4e4358=_0x565e5e;_0x4977a3(this[_0x4e4358(0x29c)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x565e5e(0x232),gn),Ae=Sn([_0x8fe1b(_0xfdf1e1),Oe(0x1,_0x460adb),Oe(0x2,_0x55c0ac(_0x3c5fec)),Oe(0x3,_0x70f736)],Ae);var In=Object[_0x565e5e(0x1b6)],vn=(_0x2ff49b,_0x27a36c,_0x58cca7,_0x4e7f4e)=>{const _0x877535=_0x565e5e;for(var _0x1ad67a=_0x4e7f4e>0x1?void 0x0:_0x4e7f4e?In(_0x27a36c,_0x58cca7):_0x27a36c,_0x52952c=_0x2ff49b[_0x877535(0x172)]-0x1,_0x254d64;_0x52952c>=0x0;_0x52952c--)(_0x254d64=_0x2ff49b[_0x52952c])&&(_0x1ad67a=_0x254d64(_0x1ad67a)||_0x1ad67a);return _0x1ad67a;},K=(_0x2ff5d7,_0x2e1b0b)=>(_0x96c22f,_0x3a1aec)=>_0x2e1b0b(_0x96c22f,_0x3a1aec,_0x2ff5d7);let st=class extends _0x1a8b70{constructor(_0x3100d8,_0x31d5a6,_0x51957e,_0x3fc13a,_0x551c05){super(_0x3100d8,_0x31d5a6,_0x51957e,_0x3fc13a,_0x551c05);}async[_0x565e5e(0x190)](_0x3c6a58){const _0x7497e3=_0x565e5e,_0x203b14=await this[_0x7497e3(0x194)](),_0x44c3ad=this[_0x7497e3(0x317)](_0x3c6a58,_0x203b14);return this[_0x7497e3(0x321)](_0x44c3ad);}[_0x565e5e(0x317)](_0x5537a6,_0x75eed8){const _0x5f373b=_0x565e5e,_0x1f697f=typeof window>'u'?new URL(_0x5537a6):new URL(_0x5537a6,window['location'][_0x5f373b(0x1c1)]);_0x1f697f['searchParams'][_0x5f373b(0x2ed)]('sessionTicket',_0x75eed8);const _0x4f2153=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5f373b(0x1f3)][_0x5f373b(0x241)]);return _0x4f2153[_0x5f373b(0x1b4)](_0x5f373b(0x2a6))&&_0x1f697f[_0x5f373b(0x1ea)][_0x5f373b(0x2ed)]('runId',_0x4f2153['get']('runId')),_0x1f697f[_0x5f373b(0x21d)]();}async['_getSessionTicket'](){const _0x118177=_0x565e5e;var _0x16bfb1,_0x5ce76c,_0x15a6ea;const _0x5997d0=this[_0x118177(0x14d)][_0x118177(0x2eb)](_0x18dd3e),_0xe7abed=(_0x16bfb1=_0x5997d0==null?void 0x0:_0x5997d0['wsSessionTicketUrl'])!=null?_0x16bfb1:_0x26610c;return(_0x15a6ea=(_0x5ce76c=(await this['_httpService'][_0x118177(0x1b4)](_0xe7abed,{'headers':{'Content-Type':_0x118177(0x245)}}))['body'])==null?void 0x0:_0x5ce76c[_0x118177(0x225)])!=null?_0x15a6ea:'';}};st=vn([K(0x0,_0x55c0ac(_0x3c5fec)),K(0x1,_0x55c0ac(_0x44a43a)),K(0x2,_0x70f736),K(0x3,_0x39523),K(0x4,_0x39c8a2)],st);const it=0x7530,nt=_0x565e5e(0x2d6);class jn extends _0x1c8028{constructor(){const _0xe95195=_0x565e5e;super(),_(this,_0xe95195(0x2cc),_0x39b4d2()),_(this,_0xe95195(0x204),new Set()),_(this,_0xe95195(0x124),new Map()),_(this,_0xe95195(0x2a0),null),_(this,_0xe95195(0x2de),new Map()),_(this,'_unitStatus',new Map()),this[_0xe95195(0x186)]();}[_0x565e5e(0x184)](){const _0x258a09=_0x565e5e;super[_0x258a09(0x184)](),this[_0x258a09(0x2de)][_0x258a09(0x322)]((_0x283a46,_0x171146)=>this['_removeClearOtherTimer'](_0x171146)),this[_0x258a09(0x2a0)]&&window[_0x258a09(0x218)](this[_0x258a09(0x2a0)]);}[_0x565e5e(0x222)](_0x474ebf){const _0x462e65=_0x565e5e;return this[_0x462e65(0x256)](_0x474ebf)[_0x462e65(0x252)](_0x11ced3());}[_0x565e5e(0x1ce)](_0xd00aff){const _0x5596e8=_0x565e5e;this[_0x5596e8(0x204)][_0x5596e8(0x327)]===0x0&&this[_0x5596e8(0x1d7)](),this[_0x5596e8(0x204)][_0x5596e8(0x2ec)](_0xd00aff),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xd00aff],'isForwarded':!0x1});}[_0x565e5e(0x23d)](_0x3cb188){const _0x27ad55=_0x565e5e;this[_0x27ad55(0x204)][_0x27ad55(0x28e)](_0x3cb188),this['_selfUnitIDs'][_0x27ad55(0x327)]===0x0&&this[_0x27ad55(0x2a0)]&&window[_0x27ad55(0x218)](this[_0x27ad55(0x2a0)]);}['_init'](){const _0x37731f=_0x565e5e;this[_0x37731f(0x2b8)](_0x5db44b(_0x258cc4(window,'storage')[_0x37731f(0x1bd)](_0x230d84=>{const _0x10e5c3=_0x37731f;if(_0x230d84[_0x10e5c3(0x1bc)]!==nt||!_0x230d84[_0x10e5c3(0x221)])return;const _0x5ac667=JSON[_0x10e5c3(0x294)](_0x230d84[_0x10e5c3(0x221)]);this[_0x10e5c3(0x27b)](_0x5ac667);}))),window[_0x37731f(0x164)](_0x37731f(0x291),()=>this[_0x37731f(0x188)]({'type':0x1,'memberID':this[_0x37731f(0x2cc)],'unitIDs':Array[_0x37731f(0x22f)](this[_0x37731f(0x204)])}));}['_handleEvent'](_0x981bd3){const _0x5f202c=_0x565e5e;switch(_0x981bd3['type']){case 0x0:this[_0x5f202c(0x1c2)](_0x981bd3);break;case 0x1:this[_0x5f202c(0x16a)](_0x981bd3);break;case 0x2:this['_handleHeartbeatEvent'](_0x981bd3);break;}}[_0x565e5e(0x1c2)](_0x428328){const _0x35a76c=_0x565e5e,{unitIDs:_0x45c1c5,memberID:_0x1183e8,isForwarded:_0x303199}=_0x428328;_0x45c1c5[_0x35a76c(0x322)](_0x956208=>{const _0x22d97c=_0x35a76c;if(!_0x303199&&this['_unitOnClients'][_0x22d97c(0x181)](_0x956208)&&this[_0x22d97c(0x256)](_0x956208)[_0x22d97c(0x1b9)](_0x5acab3[_0x22d97c(0x2d8)]),!this[_0x22d97c(0x124)]['has'](_0x956208)||!this[_0x22d97c(0x124)]['get'](_0x956208)[_0x22d97c(0x181)](_0x1183e8)){const _0x49d597=this[_0x22d97c(0x124)][_0x22d97c(0x1b4)](_0x956208)||new Set();_0x49d597[_0x22d97c(0x2ec)](_0x1183e8),this[_0x22d97c(0x124)]['set'](_0x956208,_0x49d597),this[_0x22d97c(0x331)](_0x1183e8);}}),_0x303199||this[_0x35a76c(0x188)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x35a76c(0x204)]],'isForwarded':!0x0});}[_0x565e5e(0x331)](_0x3337fb){const _0x586f68=_0x565e5e;this[_0x586f68(0x18d)](_0x3337fb);const _0x54e113=window[_0x586f68(0x30c)](()=>{const _0x4c0687=_0x586f68;this[_0x4c0687(0x124)]['forEach'](_0x5543d5=>{const _0x2d0621=_0x4c0687;_0x5543d5[_0x2d0621(0x28e)](_0x3337fb);});},it*0x2);this[_0x586f68(0x2de)][_0x586f68(0x2ed)](_0x3337fb,_0x54e113);}[_0x565e5e(0x18d)](_0x163a93){const _0x22ad8c=_0x565e5e;if(this['_clearOtherTimers'][_0x22ad8c(0x181)](_0x163a93)){const _0x4b1cba=this['_clearOtherTimers'][_0x22ad8c(0x1b4)](_0x163a93);_0x4b1cba&&window['clearTimeout'](_0x4b1cba),this['_clearOtherTimers']['set'](_0x163a93,null);}}[_0x565e5e(0x16a)](_0x1ef04b){const _0x29d1d5=_0x565e5e,{memberID:_0x472186,unitIDs:_0xc8a5b3}=_0x1ef04b;_0xc8a5b3[_0x29d1d5(0x322)](_0x49fa9f=>{const _0x2c070a=_0x29d1d5;var _0xecf324;const _0x24da88=this['_unitOnClients'][_0x2c070a(0x1b4)](_0x49fa9f);_0x24da88&&(_0x24da88[_0x2c070a(0x28e)](_0x472186),(_0xecf324=this[_0x2c070a(0x256)](_0x49fa9f))==null||_0xecf324[_0x2c070a(0x1b9)](_0x24da88[_0x2c070a(0x327)]===0x0?_0x5acab3[_0x2c070a(0x288)]:_0x5acab3[_0x2c070a(0x2d8)]));}),this['_removeClearOtherTimer'](_0x472186);}[_0x565e5e(0x237)](_0x1b738b){const _0x319d19=_0x565e5e;this[_0x319d19(0x331)](_0x1b738b[_0x319d19(0x1aa)]);}[_0x565e5e(0x188)](_0x97063a){const _0x42f8ee=_0x565e5e;localStorage[_0x42f8ee(0x1dc)](nt,JSON[_0x42f8ee(0x311)](_0x97063a));}['_scheduleHeartbeat'](){const _0x224eea=_0x565e5e;this[_0x224eea(0x2a0)]=window[_0x224eea(0x24f)](()=>{const _0x25164f=_0x224eea;this[_0x25164f(0x188)]({'type':0x2,'memberID':this[_0x25164f(0x2cc)]});},it);}[_0x565e5e(0x256)](_0x468c63){const _0x6574c8=_0x565e5e;return this['_unitStatus'][_0x6574c8(0x181)](_0x468c63)||this[_0x6574c8(0x2ef)][_0x6574c8(0x2ed)](_0x468c63,new _0x654dae(_0x5acab3[_0x6574c8(0x288)])),this[_0x6574c8(0x2ef)]['get'](_0x468c63);}}var Mt=(_0x176220=>(_0x176220[_0x176220[_0x565e5e(0x157)]=0x0]=_0x565e5e(0x157),_0x176220[_0x176220['OK']=0x1]='OK',_0x176220[_0x176220[_0x565e5e(0x1f9)]=0x2]=_0x565e5e(0x1f9),_0x176220[_0x176220[_0x565e5e(0x2f6)]=0x3]=_0x565e5e(0x2f6),_0x176220[_0x176220[_0x565e5e(0x19d)]=0x4]=_0x565e5e(0x19d),_0x176220[_0x176220['UNAUTHENTICATED']=0x5]=_0x565e5e(0x2ce),_0x176220[_0x176220[_0x565e5e(0x2ad)]=0x6]=_0x565e5e(0x2ad),_0x176220[_0x176220['INVALID_ARGUMENT']=0x7]=_0x565e5e(0x2c1),_0x176220[_0x176220[_0x565e5e(0x1f4)]=0x8]=_0x565e5e(0x1f4),_0x176220[_0x176220[_0x565e5e(0x153)]=0x9]=_0x565e5e(0x153),_0x176220[_0x176220['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x176220[_0x176220['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x565e5e(0x2af),_0x176220[_0x176220[_0x565e5e(0x1bb)]=0x1771]=_0x565e5e(0x1bb),_0x176220[_0x176220[_0x565e5e(0x175)]=0x1772]=_0x565e5e(0x175),_0x176220[_0x176220[_0x565e5e(0x1ec)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x176220[_0x176220[_0x565e5e(0x2c9)]=0x1b59]=_0x565e5e(0x2c9),_0x176220[_0x176220[_0x565e5e(0x28f)]=0x1b5a]=_0x565e5e(0x28f),_0x176220[_0x176220[_0x565e5e(0x141)]=0x1b5b]=_0x565e5e(0x141),_0x176220[_0x176220[_0x565e5e(0x324)]=0x1b5c]=_0x565e5e(0x324),_0x176220[_0x176220[_0x565e5e(0x13c)]=0x1b5d]=_0x565e5e(0x13c),_0x176220[_0x176220[_0x565e5e(0x1fb)]=0x1f41]=_0x565e5e(0x1fb),_0x176220[_0x176220[_0x565e5e(0x2cd)]=0x2329]=_0x565e5e(0x2cd),_0x176220[_0x176220[_0x565e5e(0x24c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x176220[_0x176220['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x565e5e(0x18c),_0x176220[_0x176220['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x565e5e(0x2a4),_0x176220[_0x176220[_0x565e5e(0x1b1)]=0x232d]=_0x565e5e(0x1b1),_0x176220[_0x176220[_0x565e5e(0x244)]=0x2711]=_0x565e5e(0x244),_0x176220[_0x176220[_0x565e5e(0x20d)]=0x2712]=_0x565e5e(0x20d),_0x176220[_0x176220[_0x565e5e(0x169)]=0x2713]=_0x565e5e(0x169),_0x176220[_0x176220['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x565e5e(0x308),_0x176220[_0x176220[_0x565e5e(0x13e)]=0x271a]=_0x565e5e(0x13e),_0x176220[_0x176220[_0x565e5e(0x1ad)]=0x271b]=_0x565e5e(0x1ad),_0x176220[_0x176220[_0x565e5e(0x138)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x176220[_0x176220[_0x565e5e(0x1d1)]=0x271d]=_0x565e5e(0x1d1),_0x176220[_0x176220[_0x565e5e(0x31e)]=0x271e]=_0x565e5e(0x31e),_0x176220[_0x176220['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x176220[_0x176220[_0x565e5e(0x2a3)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x176220[_0x176220[_0x565e5e(0x2ff)]=0x2ee1]=_0x565e5e(0x2ff),_0x176220[_0x176220[_0x565e5e(0x177)]=0x2ee2]=_0x565e5e(0x177),_0x176220[_0x176220[_0x565e5e(0x2ba)]=0x2ee3]=_0x565e5e(0x2ba),_0x176220[_0x176220['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x176220[_0x176220[_0x565e5e(0x129)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x176220[_0x176220[_0x565e5e(0x2d4)]=0x32c9]=_0x565e5e(0x2d4),_0x176220[_0x176220[_0x565e5e(0x16f)]=0x32ca]=_0x565e5e(0x16f),_0x176220[_0x176220[_0x565e5e(0x2c5)]=0x32cb]=_0x565e5e(0x2c5),_0x176220[_0x176220[_0x565e5e(0x1cc)]=-0x1]=_0x565e5e(0x1cc),_0x176220))(Mt||{}),pn=Object[_0x565e5e(0x1b6)],Cn=(_0xa51c9a,_0x550c98,_0x3b2a79,_0x15def4)=>{const _0x30a248=_0x565e5e;for(var _0x31b152=_0x15def4>0x1?void 0x0:_0x15def4?pn(_0x550c98,_0x3b2a79):_0x550c98,_0x8bf27d=_0xa51c9a[_0x30a248(0x172)]-0x1,_0x52dcda;_0x8bf27d>=0x0;_0x8bf27d--)(_0x52dcda=_0xa51c9a[_0x8bf27d])&&(_0x31b152=_0x52dcda(_0x31b152)||_0x31b152);return _0x31b152;},be=(_0x4d65a8,_0x3b1a08)=>(_0x22307f,_0xdc0181)=>_0x3b1a08(_0x22307f,_0xdc0181,_0x4d65a8);let rt=class extends _0x1c8028{constructor(_0x38aaf6,_0x4c15a1,_0x377fcc){const _0x423769=_0x565e5e;super(),this[_0x423769(0x1ab)]=_0x38aaf6,this[_0x423769(0x240)]=_0x4c15a1,this[_0x423769(0x14d)]=_0x377fcc;}async[_0x565e5e(0x302)](_0x35c253,_0x5610f7,_0xa3f7fa,..._0x5f17bd){const _0x1ee44c=_0x565e5e;var _0x19c756,_0x45035e,_0x4150d5,_0x29db7e;const _0x46fd88=this[_0x1ee44c(0x1ab)][_0x1ee44c(0x1d6)]();if(!_0x46fd88)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x194449=((_0x19c756=this[_0x1ee44c(0x14d)]['getConfig'](_0x2ab3aa))!=null?_0x19c756:_0x2a3d6c)+'/'+_0x35c253+_0x1ee44c(0x183)+_0x5610f7,_0x1b2895=new URL(window[_0x1ee44c(0x1f3)]['href']),_0x3d700f={'scriptId':_0x35c253,'runId':(_0x45035e=_0x1b2895[_0x1ee44c(0x1ea)][_0x1ee44c(0x1b4)]('runId'))!=null?_0x45035e:'','function':_0x5610f7,'unitId':_0x46fd88[_0x1ee44c(0x1d8)](),'argsOfFunction':JSON[_0x1ee44c(0x311)](_0x5f17bd),'invokeId':(_0x4150d5=_0xa3f7fa[_0x1ee44c(0x149)])!=null?_0x4150d5:'','executionId':(_0x29db7e=_0xa3f7fa[_0x1ee44c(0x32e)])!=null?_0x29db7e:''};try{const _0x1e2265=await this['_httpService'][_0x1ee44c(0x2ac)](_0x194449,{'body':_0x3d700f});return _0x1e2265['body'][_0x1ee44c(0x166)]&&_0x1e2265[_0x1ee44c(0x13d)]['error']['code']!==Mt['OK']?_0x1ee44c(0x236):_0x1e2265[_0x1ee44c(0x13d)][_0x1ee44c(0x1c4)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x29f3a7),be(0x1,_0x55c0ac(_0x44a43a)),be(0x2,_0x70f736)],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};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1c74(){const _0x5a3d02=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','3965640jwQNUS','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6434LtMuRL','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','270143OILKXW','204WnSpSZ','20wSYmWv','204788fScQiq','Syncing...','9diiUzA','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.','5747248pxHiXM','Authentication\x20Error','Synced','Click\x20to\x20Reconnect','2397516gvnUzf','18641183EJcAer','7pgMyOd','Edit\x20conflicts','Syncing\x20server\x20data...'];_0x1c74=function(){return _0x5a3d02;};return _0x1c74();}const _0x369c6d=_0x40dd;function _0x40dd(_0x38da0d,_0x3a7b68){const _0x1c74b6=_0x1c74();return _0x40dd=function(_0x40dd96,_0x117aa0){_0x40dd96=_0x40dd96-0xbe;let _0xba3e75=_0x1c74b6[_0x40dd96];return _0xba3e75;},_0x40dd(_0x38da0d,_0x3a7b68);}(function(_0x5c2b88,_0x297a58){const _0x28b392=_0x40dd,_0x224d45=_0x5c2b88();while(!![]){try{const _0x49801b=parseInt(_0x28b392(0xc3))/0x1+parseInt(_0x28b392(0xbf))/0x2*(parseInt(_0x28b392(0xc4))/0x3)+-parseInt(_0x28b392(0xc6))/0x4*(-parseInt(_0x28b392(0xc5))/0x5)+-parseInt(_0x28b392(0xce))/0x6*(-parseInt(_0x28b392(0xd0))/0x7)+parseInt(_0x28b392(0xca))/0x8*(parseInt(_0x28b392(0xc8))/0x9)+parseInt(_0x28b392(0xd4))/0xa+-parseInt(_0x28b392(0xcf))/0xb;if(_0x49801b===_0x297a58)break;else _0x224d45['push'](_0x224d45['shift']());}catch(_0x4cc855){_0x224d45['push'](_0x224d45['shift']());}}}(_0x1c74,0x7d636));const e={'collab-client':{'tooltip':{'reconnect':_0x369c6d(0xcd)}},'collabStatus':{'fetchMiss':_0x369c6d(0xd2),'conflict':_0x369c6d(0xd1),'notCollab':'Local\x20file','synced':_0x369c6d(0xcc),'syncing':_0x369c6d(0xc7),'offline':_0x369c6d(0xbe)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x369c6d(0xd3)},'conflict':{'title':_0x369c6d(0xc0),'content':_0x369c6d(0xc9)},'permission':{'title':_0x369c6d(0xcb),'content':_0x369c6d(0xd5)},'collaboration':{'single-unit':{'warning':_0x369c6d(0xc1)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x369c6d(0xc2)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5c7f40=_0x33f4;(function(_0x3b202a,_0xbd70bf){const _0x4989cd=_0x33f4,_0x16292d=_0x3b202a();while(!![]){try{const _0x4f693c=parseInt(_0x4989cd(0xa4))/0x1+-parseInt(_0x4989cd(0x9d))/0x2*(-parseInt(_0x4989cd(0x9f))/0x3)+parseInt(_0x4989cd(0x9c))/0x4*(-parseInt(_0x4989cd(0x95))/0x5)+-parseInt(_0x4989cd(0x98))/0x6+-parseInt(_0x4989cd(0xa7))/0x7*(parseInt(_0x4989cd(0x93))/0x8)+parseInt(_0x4989cd(0x9b))/0x9*(parseInt(_0x4989cd(0xa9))/0xa)+-parseInt(_0x4989cd(0x9a))/0xb;if(_0x4f693c===_0xbd70bf)break;else _0x16292d['push'](_0x16292d['shift']());}catch(_0x9d9d1e){_0x16292d['push'](_0x16292d['shift']());}}}(_0xdf76,0x238f3));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x5c7f40(0x99),'conflict':_0x5c7f40(0xa1),'notCollab':'پرونده\x20محلی','synced':_0x5c7f40(0xa6),'syncing':_0x5c7f40(0x97),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x5c7f40(0xa0),'room-full':_0x5c7f40(0xa8),'collaboration-timeout':_0x5c7f40(0x96)},'conflict':{'title':_0x5c7f40(0xa2),'content':_0x5c7f40(0x94)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x5c7f40(0xa3)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x5c7f40(0x9e)},'auth':{'needGotoLoginAlert':_0x5c7f40(0xa5)}};function _0x33f4(_0x11c3bf,_0x4604c6){const _0xdf7671=_0xdf76();return _0x33f4=function(_0x33f4bc,_0x33eb89){_0x33f4bc=_0x33f4bc-0x93;let _0x10d170=_0xdf7671[_0x33f4bc];return _0x10d170;},_0x33f4(_0x11c3bf,_0x4604c6);}function _0xdf76(){const _0x2546e5=['403188pzTwHT','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','800437XpCKrP','9PbAFVB','50828SPEXKW','425564ihGvbf','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','3UcyBFB','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','تداخل\x20همکاری','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','219175LKrFpB','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','همگام\x20سازی','154RnNOPf','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','2743930HQupCL','88304xhGglI','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','70XBfwEw','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی...'];_0xdf76=function(){return _0x2546e5;};return _0xdf76();}export{o as default};
|