@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506131607 → 0.8.1-nightly.202506151606
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 _0x413596=_0x7d44;(function(_0x4808de,_0x5aadea){const _0x2eab8d=_0x7d44,_0x3e5148=_0x4808de();while(!![]){try{const _0x1f6458=-parseInt(_0x2eab8d(0x249))/0x1+-parseInt(_0x2eab8d(0x1db))/0x2*(-parseInt(_0x2eab8d(0x95))/0x3)+parseInt(_0x2eab8d(0x1c9))/0x4*(parseInt(_0x2eab8d(0x1cb))/0x5)+parseInt(_0x2eab8d(0x1c5))/0x6+-parseInt(_0x2eab8d(0x225))/0x7+parseInt(_0x2eab8d(0xfe))/0x8*(-parseInt(_0x2eab8d(0xad))/0x9)+parseInt(_0x2eab8d(0x19c))/0xa;if(_0x1f6458===_0x5aadea)break;else _0x3e5148['push'](_0x3e5148['shift']());}catch(_0x3ee55e){_0x3e5148['push'](_0x3e5148['shift']());}}}(_0x55ce,0x8a115));var $t=Object['defineProperty'],xt=(_0x535cf8,_0x20a455,_0x3d04ff)=>_0x20a455 in _0x535cf8?$t(_0x535cf8,_0x20a455,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d04ff}):_0x535cf8[_0x20a455]=_0x3d04ff,_=(_0x4e8baf,_0x49a7d3,_0x45aa3a)=>xt(_0x4e8baf,typeof _0x49a7d3!=_0x413596(0x1e1)?_0x49a7d3+'':_0x49a7d3,_0x45aa3a);import{MemberService as _0xd00563,SessionStatus as _0x5bd201,CollaborationSessionService as _0x1eaac9,CollaborationStatus as _0x585abf,CollaborationController as _0x36a898,ILocalCacheService as _0x199ef1,CollaborationUIEventService as _0x204ef4,CollaborationUIEventId as _0x5bc7a6,DataLoaderService as _0x1b5ec3,DocCollaborationEntity as _0x4c8f2e,getLocalCacheKey as _0x221855,LOCAL_CACHE_INTERVAL as _0x1aa74e,LOCAL_CACHE_INTERVAL_KEY as _0x3aa1a7,UniverCollaborationClientPlugin as _0x2ddb3b,CollaborationSocketService as _0x4b5ccb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1bb3c5,DEFAULT_WS_SESSION_TICKET_URL as _0x5d8345,UnitStatus as _0x240875,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x140178,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x35c699}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3aeb14,Disposable as _0x198a25,DOC_RANGE_TYPE as _0x3f015c,Inject as _0x362084,Injector as _0x2968e0,IUniverInstanceService as _0x4e2e81,ICommandService as _0x1e22ba,debounce as _0x43064b,Rectangle as _0x44aae4,DisposableCollection as _0x21eb36,toDisposable as _0x2eb536,UniverInstanceType as _0x186adf,Tools as _0x3fddc8,COLORS as _0x3e3ec3,ColorKit as _0x218d96,ThemeService as _0x367d03,fromEventSubject as _0x3a28c2,LocaleService as _0x51d464,createIdentifier as _0x263de1,ILogService as _0x1f4bb7,Optional as _0x5bbfcc,Workbook as _0x2f9d4f,CommandType as _0x38ea4c,IConfigService as _0x15ca58,ILocalStorageService as _0xfd4744,DependentOn as _0x516184,Plugin as _0x1d2d24,merge as _0x222a1e,registerDependencies as _0x5f53f1,mergeOverrideWithDependencies as _0x1404cb,touchDependencies as _0xb6198f,generateRandomId as _0x546d4a}from'@univerjs/core';import{Shape as _0x5d7739,Rect as _0x56b05b,getColor as _0x21cd91,RegularPolygon as _0x52d409,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x34c557,Vector2 as _0x1d1744,SHEET_VIEWPORT_KEY as _0x443b66,IRenderManagerService as _0x57f11c}from'@univerjs/engine-render';import{ISocketService as _0x2f9e5d,WebSocketService as _0x59fba2,HTTPService as _0x57e486}from'@univerjs/network';import{IDocClipboardService as _0x1e7597,NodePositionConvertToCursor as _0x5807dd,NodePositionConvertToRectRange as _0xfb8fb7,TEXT_RANGE_LAYER_INDEX as _0x40acc2,SetDocZoomRatioOperation as _0xdcaab8,DocIMEInputManagerService as _0x3405ba,DocStateChangeManagerService as _0x4730e0}from'@univerjs/docs-ui';import{IImageIoService as _0x3dcc0b}from'@univerjs/drawing';import{BehaviorSubject as _0x255d07,debounceTime as _0x16d59c,takeUntil as _0x88d5f6,Subject as _0x208d7d,filter as _0x14c998,switchMap as _0x38016b,merge as _0x1a911a,combineLatest as _0x2e7355,of as _0x4bcc5d,fromEvent as _0x17f30b,shareReplay as _0x4b6943,mapTo as _0xd14b14,distinctUntilChanged as _0x16a975}from'rxjs';import{SetTextSelectionsOperation as _0x50cbcf,RichTextEditingMutation as _0x550251,DocSelectionManagerService as _0x217a30,DocSkeletonManagerService as _0x520ca3}from'@univerjs/docs';import{ITransformService as _0x5e4560,CollaborationEvent as _0x361fb6,isTransformMutationFailure as _0xf6ede4,isTransformMutationsWithChangesetSuccess as _0x4acc04,RevisionService as _0x594811,ISnapshotServerService as _0x2b7d3e}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2a7ced,serializeRangeWithSheet as _0x31048a}from'@univerjs/engine-formula';import{RefRangeService as _0x4285c7,SetSelectionsOperation as _0x3a30d1,SheetsSelectionsService as _0x162eee,EffectRefRangId as _0x498c11,handleIRemoveRow as _0xb059a2,handleIRemoveCol as _0x369867,handleMoveRange as _0x193f28,handleInsertRow as _0x372880,handleInsertRangeMoveRight as _0x396746,handleInsertRangeMoveDown as _0x333877,handleInsertCol as _0x51479b,handleDeleteRangeMoveUp as _0x531a9d,handleDeleteRangeMoveLeft as _0x265b3c,runRefRangeMutations as _0x5d5748,SetWorksheetActivateCommand as _0x9b4515}from'@univerjs/sheets';import{map as _0x31ca7a,filter as _0x12a490,throttleTime as _0x10d797,takeUntil as _0x366635,switchMap as _0x3e9281}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3234d2,getCoordByCell as _0x4e589a,getSheetObject as _0x4fc597}from'@univerjs/sheets-ui';import{jsx as _0xf2d664,jsxs as _0x415f23}from'react/jsx-runtime';import{useObservable as _0x96f9b9,useDependency as _0x49edab,IUIPartsService as _0x13e3f6,BuiltInUIPart as _0x3033ac,connectInjector as _0x3d12a4,IBeforeCloseService as _0xea0d75,IMessageService as _0x3b2aca,INotificationService as _0x2a6f8f}from'@univerjs/ui';import{Tooltip as _0x93d178,clsx as _0x5b101f,MessageType as _0x9ba7f1}from'@univerjs/design';import{forwardRef as _0x27fa41,useRef as _0x182ea3,createElement as _0x5a3684,useCallback as _0x39080d}from'react';import{IRemoteInstanceService as _0x304e71}from'@univerjs/rpc';var ci=Object[_0x413596(0x24f)],li=(_0x58ccfa,_0xd264c9,_0x17c4ec,_0x4696c6)=>{const _0x13440e=_0x413596;for(var _0x24af45=_0x4696c6>0x1?void 0x0:_0x4696c6?ci(_0xd264c9,_0x17c4ec):_0xd264c9,_0x55e712=_0x58ccfa[_0x13440e(0x159)]-0x1,_0x58ad23;_0x55e712>=0x0;_0x55e712--)(_0x58ad23=_0x58ccfa[_0x55e712])&&(_0x24af45=_0x58ad23(_0x24af45)||_0x24af45);return _0x24af45;},Je=(_0x3f75d1,_0x2193b6)=>(_0x2554af,_0x4fafea)=>_0x2193b6(_0x2554af,_0x4fafea,_0x3f75d1);let Ne=class extends _0x3aeb14{constructor(_0x3ec236,_0x29bd6c){const _0x475e47=_0x413596;super(),this[_0x475e47(0x1ca)]=_0x3ec236,this[_0x475e47(0x130)]=_0x29bd6c,this[_0x475e47(0x10b)]();}['_init'](){const _0x4b9364=_0x413596,_0x384d29=this;this[_0x4b9364(0x1e3)](this[_0x4b9364(0x1ca)][_0x4b9364(0x1b9)]({'onBeforePasteImage':async _0x40b192=>{const _0x37423c=_0x4b9364,_0x278716=await _0x384d29[_0x37423c(0x130)]['saveImage'](_0x40b192);return _0x278716?{'source':_0x278716[_0x37423c(0x1e4)],'imageSourceType':_0x278716[_0x37423c(0x12e)]}:null;}}));}};Ne=li([Je(0x0,_0x1e7597),Je(0x1,_0x3dcc0b)],Ne);const Ze=[_0x413596(0x155),'jiqing.500',_0x413596(0x1a8),_0x413596(0x17b),_0x413596(0x11c),_0x413596(0xa0)];class ke extends _0x198a25{constructor(){const _0x2779e1=_0x413596;super(...arguments),_(this,_0x2779e1(0x186),new Map()),_(this,_0x2779e1(0x1bf),0x0);}[_0x413596(0x27a)](_0x5562de){const _0x99f8=_0x413596;if(this['_assignedColors']['has'](_0x5562de))return this[_0x99f8(0x186)][_0x99f8(0x218)](_0x5562de);const _0x56bec4=Ze[this[_0x99f8(0x1bf)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x99f8(0x159)],this[_0x99f8(0x186)][_0x99f8(0x27d)](_0x5562de,_0x56bec4),_0x56bec4;}}function Tt(_0x3871b7){const _0x2985a4=_0x413596;let _0x2ac033='';for(const _0x39ff1a of _0x3871b7){const {startOffset:_0xa8d6d9,endOffset:_0x195aa6,isActive:_0x33f721,rangeType:_0x5692d5,segmentId:_0x14021c,segmentPage:_0x26c025}=_0x39ff1a;_0x2ac033[_0x2985a4(0x159)]&&(_0x2ac033+=','),_0x2ac033+=_0xa8d6d9+':'+_0x195aa6+':'+(_0x33f721?'1':'0')+':'+_0x5692d5+':'+_0x14021c+':'+_0x26c025;}return _0x2ac033;}function _i(_0x4a7885){const _0x1af7be=_0x413596,_0x14d6ca=_0x4a7885[_0x1af7be(0x252)](','),_0xc1479d=[];for(const _0x109e72 of _0x14d6ca){const [_0x28863d,_0x5daafe,_0x627734,_0x3bceae,_0xa2e3,_0x3aa1dd]=_0x109e72['split'](':');_0xc1479d['push']({'startOffset':Number(_0x28863d),'endOffset':Number(_0x5daafe),'collapsed':_0x28863d===_0x5daafe,'isActive':_0x627734==='1','rangeType':_0x3bceae===_0x3f015c['TEXT']?_0x3f015c[_0x1af7be(0x265)]:_0x3f015c[_0x1af7be(0x103)],'segmentId':typeof _0xa2e3==_0x1af7be(0x1cd)?String(_0xa2e3):'','segmentPage':Number(_0x3aa1dd!=null?_0x3aa1dd:-0x1)});}return _0xc1479d[_0x1af7be(0x24d)](_0x517b3c=>_0x517b3c[_0x1af7be(0x25d)])||(_0xc1479d[0x0]['isActive']=!0x0),_0xc1479d;}class He extends _0x3aeb14{constructor(){const _0x3fadd3=_0x413596;super(...arguments),_(this,_0x3fadd3(0x1d1),new _0x255d07(null)),_(this,_0x3fadd3(0x105),this[_0x3fadd3(0x1d1)][_0x3fadd3(0xab)]());}['syncEditingCollabCursor'](_0xa7f050){const {unitID:_0x11880c,memberID:_0x1794af,textRanges:_0x257935}=_0xa7f050,_0x810521=Tt(_0x257935);if(_0x810521==='')return;const _0x4d7713={'unitID':_0x11880c,'memberID':_0x1794af,'selection':_0x810521};this['_collabCursorState$']['next'](_0x4d7713);}}var hi=Object[_0x413596(0x24f)],ui=(_0x243c21,_0x456c2b,_0x4b04e2,_0x119001)=>{for(var _0x11ef1d=_0x119001>0x1?void 0x0:_0x119001?hi(_0x456c2b,_0x4b04e2):_0x456c2b,_0x3f1e9f=_0x243c21['length']-0x1,_0x2cd188;_0x3f1e9f>=0x0;_0x3f1e9f--)(_0x2cd188=_0x243c21[_0x3f1e9f])&&(_0x11ef1d=_0x2cd188(_0x11ef1d)||_0x11ef1d);return _0x11ef1d;},P=(_0x17664c,_0x26fba5)=>(_0x325773,_0x5bf0de)=>_0x26fba5(_0x325773,_0x5bf0de,_0x17664c);const di=0x12c,fi=0x64;let Ue=class extends _0x3aeb14{constructor(_0xeb4eb2,_0x30eda5,_0x4973fe,_0xff5646,_0x462778,_0x35d129,_0x4cbcbe,_0x2b7624,_0x2bb19b){const _0x38ff79=_0x413596;super(),_(this,_0x38ff79(0x113),!0x1),_(this,_0x38ff79(0x10b),!0x1),_(this,_0x38ff79(0x1b5),new _0x255d07(new Map())),_(this,_0x38ff79(0xa8),this[_0x38ff79(0x1b5)]['asObservable']()),_(this,'_roomMembers$',new _0x255d07([])),_(this,_0x38ff79(0x9d),this['_roomMembers$'][_0x38ff79(0x139)](_0x16d59c(di))),_(this,_0x38ff79(0x25a),_0x43064b(_0x436e9a=>{const _0x364f56=_0x38ff79,_0x5b1b3b={'eventID':_0x361fb6[_0x364f56(0x170)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x364f56(0x122)](),'selection':Tt(_0x436e9a)}};this['_session']['send'](_0x5b1b3b,this[_0x364f56(0xce)]);},fi)),(this[_0x38ff79(0xce)]=_0xeb4eb2,this['_session']=_0x30eda5,this[_0x38ff79(0x226)]=_0x4973fe,this[_0x38ff79(0x104)]=_0xff5646,this['_memberService']=_0x462778,this['_syncEditingCollabCursorService']=_0x35d129,this['_transformService']=_0x4cbcbe,this['_univerInstanceService']=_0x2b7624,this['_commandService']=_0x2bb19b);}get['cursorInfo'](){const _0x2c710a=_0x413596;return this['_cursorInfo$'][_0x2c710a(0x24e)]();}get['roomMembers'](){const _0xc3461=_0x413596;return this[_0xc3461(0x10a)]['getValue']();}['dispose'](){const _0x375ead=_0x413596;super[_0x375ead(0x27f)](),this[_0x375ead(0x1b5)][_0x375ead(0x230)](new Map()),this[_0x375ead(0x1b5)]['complete'](),this[_0x375ead(0x10a)][_0x375ead(0x230)]([]),this[_0x375ead(0x10a)][_0x375ead(0x112)]();}['init'](){const _0x50b10c=_0x413596;this['_init']||(this[_0x50b10c(0x10b)]=!0x0,this['_session']['sessionStatus$'][_0x50b10c(0x139)](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x1a3a78=>{const _0x42c7ba=_0x50b10c;_0x1a3a78===_0x5bd201[_0x42c7ba(0x222)]?this[_0x42c7ba(0x14b)]():this[_0x42c7ba(0x1c0)]();}),this[_0x50b10c(0x206)][_0x50b10c(0x13f)][_0x50b10c(0x139)](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x26c167=>{const _0x3e3e5e=_0x50b10c,_0x4a2aaf=_0x26c167[_0x3e3e5e(0x23b)];_0x4a2aaf===_0x361fb6['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x26c167),_0x4a2aaf===_0x361fb6[_0x3e3e5e(0x21d)]&&this['_onCursorDelete'](_0x26c167);}),this[_0x50b10c(0x1e3)](this[_0x50b10c(0xc5)][_0x50b10c(0x1f5)](_0x328594=>{const _0x2faae7=_0x50b10c,_0x17e082=_0x328594['params'];_0x17e082!=null&&this['_online']&&_0x328594['id']===_0x50cbcf['id']&&_0x17e082[_0x2faae7(0xdb)]===this[_0x2faae7(0xce)]&&_0x17e082[_0x2faae7(0x175)]===!0x1&&_0x17e082[_0x2faae7(0xfd)][_0x2faae7(0x159)]>0x0&&this['_updateLocalCursor'](_0x17e082[_0x2faae7(0xfd)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x390084=>{const _0x13b083=_0x50b10c;if((_0x390084==null?void 0x0:_0x390084[_0x13b083(0xce)])!==this[_0x13b083(0xce)])return;const _0x246acf={'eventID':_0x361fb6[_0x13b083(0x170)],'data':_0x390084};this[_0x13b083(0x254)](_0x246acf);}),this[_0x50b10c(0x1e3)](this[_0x50b10c(0xc5)][_0x50b10c(0x1f5)](_0x5793d6=>{const _0x5a487f=_0x50b10c;if(_0x5793d6[_0x5a487f(0x274)]==null)return;const _0x2a6912=_0x5793d6[_0x5a487f(0x274)];if(_0x5793d6['id']!==_0x550251['id']||_0x2a6912[_0x5a487f(0xdb)]!==this[_0x5a487f(0xce)])return;const _0xb46d6={'id':_0x5a487f(0x247),'params':_0x2a6912},_0x34bfe2=this[_0x5a487f(0x1ec)];for(const [_0x497529,_0x420cc2]of _0x34bfe2){const _0x27f2e0={'id':_0x5a487f(0x247),'params':{'unitId':this[_0x5a487f(0xce)],'actions':null,'textRanges':_0x420cc2[_0x5a487f(0xfd)]}},_0x10cac7=this['_transformService'][_0x5a487f(0x1fd)](_0xb46d6,_0x27f2e0,!0x1);if(_0xf6ede4(_0x10cac7))throw _0x10cac7['error'];_0x34bfe2['set'](_0x497529,{..._0x420cc2,'ranges':_0x10cac7[_0x5a487f(0xf2)][_0x5a487f(0x274)][_0x5a487f(0x18b)]});}queueMicrotask(()=>{const _0x59ca0f=_0x5a487f;this[_0x59ca0f(0x1b5)][_0x59ca0f(0x230)](_0x34bfe2);});})));}[_0x413596(0x254)](_0x145113){const _0x7b011a=_0x413596;var _0x36e242,_0x4c0f99;const {memberID:_0x6f1992,selection:_0x28a521}=_0x145113['data'],_0x36704d=_i(_0x28a521),_0x489c64=(_0x4c0f99=(_0x36e242=this[_0x7b011a(0x21b)][_0x7b011a(0xb2)](this[_0x7b011a(0xce)],_0x6f1992))==null?void 0x0:_0x36e242[_0x7b011a(0x1c7)])!=null?_0x4c0f99:_0x7b011a(0x246),_0x394549={'color':this[_0x7b011a(0x104)][_0x7b011a(0x27a)](_0x6f1992),'name':_0x489c64,'ranges':_0x36704d},_0x43504b=this[_0x7b011a(0x1ec)];_0x43504b[_0x7b011a(0x27d)](_0x6f1992,_0x394549),this['_cursorInfo$'][_0x7b011a(0x230)](_0x43504b);}['_onCursorDelete'](_0x4f3cb3){const _0xcfa094=_0x413596,{memberID:_0x1f2bc4}=_0x4f3cb3[_0xcfa094(0x172)],_0x5ee385=this[_0xcfa094(0x1ec)];_0x5ee385[_0xcfa094(0x21f)](_0x1f2bc4),this[_0xcfa094(0x1b5)][_0xcfa094(0x230)](_0x5ee385);}['_toggleOnline'](){const _0x651601=_0x413596;var _0x355d72;if(this[_0x651601(0x113)]=!0x0,((_0x355d72=this[_0x651601(0x195)][_0x651601(0x236)]())==null?void 0x0:_0x355d72[_0x651601(0x1af)]())!==this['unitID'])return;const _0xafebb7=this[_0x651601(0x226)][_0x651601(0x218)](_0x217a30)[_0x651601(0x110)]();Array[_0x651601(0x17c)](_0xafebb7)&&_0xafebb7['length']>0x0&&this[_0x651601(0x25a)](_0xafebb7);}[_0x413596(0x1c0)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x362084(_0x2968e0)),P(0x3,_0x362084(ke)),P(0x4,_0x362084(_0xd00563)),P(0x5,_0x362084(He)),P(0x6,_0x5e4560),P(0x7,_0x4e2e81),P(0x8,_0x1e22ba)],Ue);function _0x55ce(){const _0x246b46=['HEADER_MENU','APPLY_NON_SEQUENTIAL_REVISION','UNRECOGNIZED','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','getActiveRange','skeleton','_cursors','transformMutation','INVALID_INVITE_CODE','displayName','_logService','getActiveSheet','_handleHover','registerRefRange','_collabSessionService','_collaborationUIEventService','_session','parse','override','find','_collaborationController','ALREADY_EXISTS','_entities','black','then','toString','onStarting','collaboration-client-ui.config','debug','getCollabCursors$','collab-client.tooltip.reconnect','_shapes','subunit','closePath','get','_handleHeartbeatEvent','drawWith','_memberService','_getAnchorBounding','USERS_LEAVE','INTERNAL_ERROR','delete','INVITE_CODE_REQUIRED','_clearOtherTimers','ONLINE','unit','init','7862456svNfqH','_injector','sheetId','PY_RUNTIME_SCRIPT_ERROR','_handleLeaveEvent','getItem','apply','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabCursorController','LICENSE_DISTRO_REJECTED','white','next','addEventListener','CONFLICT','APPLY_DUPLICATED','_drawTextRange','entityInit$','getFocusedUnit','_removeClearOtherTimer','off-line-icon_clip0_910_343','NOT_FOUND','getParam','eventID','arc','getViewport','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_docStateChangeManagerService','_heartbeatTimer','tag','_anchor','location','RemoveColCommandId','push','Unknown\x20user','doc.mutation.rich-text-editing','href','59911yJlbLf','docStateChange$','svg','_setupBeforeClosingHandler','some','getValue','getOwnPropertyDescriptor','_labelPosition','_removeCollabCursors','split','clearTimeout','_onCursorUpdate','TOO_MANY_REQUESTS','origin','YUUMI_AI_RUN_FAILED','UNDEFINED','getTypeOfUnitDisposed$','_updateLocalCursor','application/json','post','isActive','_config','_notificationService','replace','off-line-icon','Error','getStateCache','_ensureSubject','TEXT','_hideTimer','wsSessionTicketUrl','_renderManagerService','icon','_refreshCollabCursors','assign','_initEntityListener','_updateURLWithCurrentState','currentTheme$','SOCKET_FAILED_RETRY','searchParams','_selfUnitIDs','_unitOnClients','EMAIL_HAS_BEEN_BOUND','params','sessionTicket','defs','/run/','_configService','_cachedData','assignAColorForMemberID','registerComponent','getCurrentRevOfUnit','set','_registerDependencies','dispose','_docSkeletonManagerService','transformRemoteChangeset','ACTIVE_UNIT_EVENT_CHANNEL','_scene','NOT_COLLAB','getMergeData','_textBubble','createSocket','random','enableLocalCache','fillText','YUUMI_TABLE_NOT_FOUND_IN_UNIT','defIds','color','_handleEvent','path','save','_name','...','2632593uIVCCp','_hover','_docSkeleton','collab-text-range-','use','APPLY_REJECT','requireSession','YUUMI_NO_CUBOID_FOR_QUESTION','roomMembers$','RemoveRowCommandId','UNIVER_DOC','yellow.400','setInterval','substring','onPointerMove$','unshift','idSuffix','actions','width','cursorInfo$','_revisionService','onPointerEnter$','asObservable','currentSkeleton$','7524684dDPHCA','_range','_startSheetCollabCursor','setActiveRange','_instanceService','getMember','selections','JOIN_ROOM_FAILED','getRenderById','type','has','createInstance','M0\x200H16V16H0z','_anchorDot','replaceState','_docSyncEditingCollabCursorService','_refRangeService','addObject','YUUMI_ASYNCIO_CANCELLED','top','permission.title','min','height','_initStatusListener','_commandService','transformSelections','InsertColCommandId','_registerRenderDependencies','_onRefRangeChange','_uiPartsService','_scheduleClearOtherTimer','memberID','subUnitId','unitID','_createSocketURL','endColumn','generateRandomId','_onCursorDelete','pushState','addHandlerCallback','sessionStatus$','triggerDblclick','collab-text-anchor-','url(#on-line-icon_clip0_910_349)','undoState','mutations','unitId','className','invokeId','executeCommand','backgroundColor','_updateCollabCursors','concat','getUnhiddenWorksheets','error','_initEvent','search','_entityInit$','div','registerRenderModule','currentColor','NO_OTHER_CLIENTS_EDITING','onMouseMove','contains','_initResize','_send','status$','MUTATION','call','m2Prime','round','_context','sheetID','DeleteRangeMoveLeftCommandId','fillStyle','_localStorageService','makeDirty','indexOf','newValue','setTimeout','ranges','8kxlzyj','SUBMIT_CHANGESET_TIMEOUT','unload','_localCacheService','INVITE_CODE_HAS_BEEN_UES','RECT','_colorAssignService','collabCursorState$','setItem','range','YUUMI_URL_COL_OUT_OF_RANGE','_saveCache','_roomMembers$','_init','COMPLETION_FINISHED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','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','getRangePointData','getDocRanges','UNAUTHENTICATED','complete','_online','values','MoveRangeCommandId','PERMISSION_DENIED','text','labelPosition','on-line-icon_clip0_910_349','_initStatusComponent','session.will-retry','blue.400','OnLineIcon','CONNECTOR_DATA_TOO_LARGE','YUUMI_RATE_OVER_LIMIT','restore','_getSessionTicket','getMemberID','stringify','prototype','includes','rgba(255,\x20255,\x20255,\x200.01)','setConfig','defineProperty','map','colorChannel1','redoState','code','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','imageSourceType','url(#off-line-icon_clip0_910_343)','_imageIoService','transformStateCache','INVALID_ARGUMENT','setShapeProps','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','dispose$','getCurrentSelections','AWAITING_WITH_PENDING','_unitStatus','pipe','loadOfflineData','_color','_saveTaskMap','LICENSE_IMPORT_SIZE_EXCEEDED','hasOwnProperty','event$','getCurrent','INVITE_CODE_ALREADY_BOUND','_transformService','storage','_initDependencies','runId','0\x200\x2017\x2016','AWAITING','deepClone','_transformHistoryAndStateStack','extend','_toggleOnline','1em','transformMutationsWithChangeset','transformByState','hide','subscribeEvent','YUUMI_ALL_TABLES_IS_INVALID','_sheetSkeletonManagerService','_cursorShapes','UNIVER_SHEET','purple.300','OTHER_CLIENT_EDITING','transformIMECache','pluginName','length','_disabled','FETCH_MISS','_document','urlChange$','_backgroundColor','from','APPLY_REVISION_CONFILICT','saveTaskMap','_eventUnsubscribe','engine','propertyIsEnumerable','popstate','_doCreateSocket','activeSheet$','onTransformChange$','_updateSubUnitFromURLParams','_setupSubUnitSync','loadUnit','_themeService','_docTransformStateCacheService','body','LICENSE_EXPORT_SIZE_EXCEEDED','UPDATE_CURSOR','lineTo','data','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_localeService','isEditing','column','_scheduleHeartbeat','selection','removeParam','evenodd','red.300','isArray','children','m1Prime','bottom','onPointerLeave$','getAncestorScale','[CollaborationDataLoaderController]','function','SNAPSHOT_HAS_BEEN_REMOVED','_messageService','_assignedColors','getSheetBySheetId','xlink:href','_startDocCollabCursor','_transformUndoRedoStack','textRanges','ENSURE_SNAPSHOT_EXECUTION','_scheduleSaving','translate(.97)','session.connection-failed','size','permission.content','_cursor','CHANGESET_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','_univerInstanceService','_getScale','OFFLINE','univerjs-icon\x20univerjs-icon-','OTHER_CLIENTS_EDITING','uni.network.url-service','getCurrentUnitForType','1022670jnTvDk','disableLocalCache','with','unsubscribe','toRgbString','UniverIcon','_dataLoaderService','url(#$1','trim','exhaustSavingTask','YUUMI_UNABLE_LOAD_URL','transform','green.600','attrs','setAlpha','_id','collabStatus.fetchMiss','_httpService','getSkeleton','getUnitId','show','_lastPointer','subscribe','Warning','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursorInfo$','getTypeOfUnitAdded$','APPLY_PERMISSION_DENIED','getOwnPropertySymbols','addClipboardHook','collabStatus.notCollab','_draw','USER_NOT_INVITED_CODE','_handleJoinEvent','_urlService','_colorIndex','_toggleOffline','getSheetId','getUnitStatus$','getRelativeToViewportCoord','YUUMI_SUBSCRIPTION_NOT_FOUND','3730950sZrGVE','_beforeCloseService','name','collaboration-client.offline-data-not-saved','3932388dVIceL','_docClipboardService','5yWZhjk','findNodePositionByCharIndex','string','_drawAnchor','getOffsetConfig','row','_collabCursorState$','VIEW_MAIN','_docTransformIMECacheService','all','getUndoRedoMutationParamsCache','_hovered','_initCommandExecutedListener','mask','fillRule','_getMergeRange','2QkADfs','FromArray','measureText','_render','history','_status$','symbol','_drawRectRange','disposeWithMe','source','_docTransformSelectionsService','LOGIN_FAILED','updateOfflineData','add','getConfig','fill','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','cursorInfo','setParam','editingUnit','focused$','InsertRangeMoveRightCommandId','http://www.w3.org/2000/svg','roomMembers','forEach','getColorFromTheme','onCommandExecuted'];_0x55ce=function(){return _0x246b46;};return _0x55ce();}var Si=Object['getOwnPropertyDescriptor'],mi=(_0x24e0a9,_0x236641,_0x592f71,_0x16ee83)=>{const _0x594135=_0x413596;for(var _0x21c94d=_0x16ee83>0x1?void 0x0:_0x16ee83?Si(_0x236641,_0x592f71):_0x236641,_0x17befd=_0x24e0a9[_0x594135(0x159)]-0x1,_0xbb316d;_0x17befd>=0x0;_0x17befd--)(_0xbb316d=_0x24e0a9[_0x17befd])&&(_0x21c94d=_0xbb316d(_0x21c94d)||_0x21c94d);return _0x21c94d;},x=(_0xdcab32,_0x577cad)=>(_0x196b99,_0x1ec0aa)=>_0x577cad(_0x196b99,_0x1ec0aa,_0xdcab32);const Ii=0x12c,gi=0x64,vi=()=>{let _0x52d756=[],_0x114c26=!0x1;return _0x3618a8=>{_0x52d756['push'](_0x3618a8),_0x114c26||(_0x114c26=!0x0,setTimeout(()=>{_0x52d756['forEach'](_0x4eff41=>_0x4eff41()),_0x52d756=[],_0x114c26=!0x1;}));};};let Me=class extends _0x3aeb14{constructor(_0x1becc6,_0x5c973d,_0x5c25c7,_0x299994,_0x5131cb,_0x527ed0,_0x5d2cfa,_0x16f46){const _0x1770a1=_0x413596;super(),_(this,_0x1770a1(0x113),!0x1),_(this,_0x1770a1(0x10b),!0x1),_(this,_0x1770a1(0x1b5),new _0x255d07(new Map())),_(this,_0x1770a1(0xa8),this[_0x1770a1(0x1b5)]['asObservable']()),_(this,_0x1770a1(0x10a),new _0x255d07([])),_(this,'roomMembers$',this['_roomMembers$'][_0x1770a1(0x139)](_0x16d59c(Ii))),_(this,_0x1770a1(0x25a),_0x43064b((_0x59a7c2,_0x2e27ce)=>{const _0x3aa891=_0x1770a1,_0xc14cac={'eventID':_0x361fb6[_0x3aa891(0x170)],'data':{'unitID':this[_0x3aa891(0xce)],'memberID':this[_0x3aa891(0x206)][_0x3aa891(0x122)](),'selection':_0x31048a(_0x59a7c2,_0x2e27ce[_0x3aa891(0x107)])}};this[_0x3aa891(0x206)]['send'](_0xc14cac,this[_0x3aa891(0xce)]);},gi)),(this[_0x1770a1(0xce)]=_0x1becc6,this[_0x1770a1(0x206)]=_0x5c973d,this[_0x1770a1(0x226)]=_0x5c25c7,this['_colorAssignService']=_0x299994,this[_0x1770a1(0x21b)]=_0x5131cb,this[_0x1770a1(0x195)]=_0x527ed0,this[_0x1770a1(0xc5)]=_0x5d2cfa,this[_0x1770a1(0xbd)]=_0x16f46);}get['cursorInfo'](){const _0x426588=_0x413596;return this[_0x426588(0x1b5)]['getValue']();}get[_0x413596(0x1f2)](){const _0x151a62=_0x413596;return this[_0x151a62(0x10a)][_0x151a62(0x24e)]();}['dispose'](){const _0x12780a=_0x413596;super[_0x12780a(0x27f)](),this[_0x12780a(0x1b5)][_0x12780a(0x230)](new Map()),this[_0x12780a(0x1b5)][_0x12780a(0x112)](),this[_0x12780a(0x10a)][_0x12780a(0x230)]([]),this[_0x12780a(0x10a)][_0x12780a(0x112)]();}['init'](){const _0x465c9f=_0x413596;this['_init']||(this[_0x465c9f(0x10b)]=!0x0,this[_0x465c9f(0x206)][_0x465c9f(0xd5)]['pipe'](_0x88d5f6(this['dispose$']))[_0x465c9f(0x1b2)](_0x4d4326=>{const _0x2ca753=_0x465c9f;_0x4d4326===_0x5bd201[_0x2ca753(0x222)]?this[_0x2ca753(0x14b)]():this[_0x2ca753(0x1c0)]();}),this['_session'][_0x465c9f(0x13f)][_0x465c9f(0x139)](_0x88d5f6(this[_0x465c9f(0x135)]))[_0x465c9f(0x1b2)](_0x2f192f=>{const _0x238de0=_0x465c9f,_0xa6e9d5=_0x2f192f[_0x238de0(0x23b)];_0xa6e9d5===_0x361fb6[_0x238de0(0x170)]&&this['_onCursorUpdate'](_0x2f192f),_0xa6e9d5===_0x361fb6['USERS_LEAVE']&&this[_0x238de0(0xd2)](_0x2f192f);}),this[_0x465c9f(0xc9)](),this[_0x465c9f(0x1e3)](this[_0x465c9f(0xc5)][_0x465c9f(0x1f5)](_0x3ce7cb=>{const _0x47a9df=_0x465c9f;if(this[_0x47a9df(0x113)]&&_0x3ce7cb['id']===_0x3a30d1['id']&&_0x3ce7cb[_0x47a9df(0x274)]['unitId']===this[_0x47a9df(0xce)]){const _0x2823ec=_0x3ce7cb[_0x47a9df(0x274)];this['_updateLocalCursor'](_0x2823ec[_0x47a9df(0xcd)],_0x2823ec[_0x47a9df(0xb3)][0x0]);}})));}[_0x413596(0x254)](_0x1b15bf){const _0x1ff13d=_0x413596;var _0x54abd7,_0x547ec7;const {memberID:_0x5260b1,selection:_0x559181}=_0x1b15bf[_0x1ff13d(0x172)],{sheetName:_0x42eae9,range:_0x3cdaa9}=_0x2a7ced(_0x559181),_0x2c81ff={'name':(_0x547ec7=(_0x54abd7=this[_0x1ff13d(0x21b)][_0x1ff13d(0xb2)](this[_0x1ff13d(0xce)],_0x5260b1))==null?void 0x0:_0x54abd7[_0x1ff13d(0x1c7)])!=null?_0x547ec7:'Unknown\x20user','range':this[_0x1ff13d(0x1da)](_0x42eae9,_0x3cdaa9),'sheetID':_0x42eae9,'color':this['_colorAssignService'][_0x1ff13d(0x27a)](_0x5260b1),'selection':_0x559181},_0x22467a=this['cursorInfo'];_0x22467a[_0x1ff13d(0x27d)](_0x5260b1,_0x2c81ff),this['_cursorInfo$'][_0x1ff13d(0x230)](_0x22467a);}[_0x413596(0xd2)](_0x46522f){const _0x478151=_0x413596,{memberID:_0x2b74b2}=_0x46522f['data'],_0x4264bb=this['cursorInfo'];_0x4264bb['delete'](_0x2b74b2),this[_0x478151(0x1b5)][_0x478151(0x230)](_0x4264bb);}['_getMergeRange'](_0x433418,_0x2f7e2f){const _0xe43e7=_0x413596;var _0x20fa81,_0x34ce4d;const _0x131283=(_0x34ce4d=(_0x20fa81=this['_univerInstanceService']['getUniverSheetInstance'](this[_0xe43e7(0xce)]))==null?void 0x0:_0x20fa81[_0xe43e7(0x187)](_0x433418))==null?void 0x0:_0x34ce4d[_0xe43e7(0x285)]();return(_0x131283==null?void 0x0:_0x131283[_0xe43e7(0x209)](_0x27ef84=>_0x44aae4[_0xe43e7(0xec)](_0x27ef84,_0x2f7e2f)))||_0x2f7e2f;}[_0x413596(0xc9)](){const _0x4ec10e=_0x413596,_0x251c06=new _0x21eb36(),_0x68d195=vi(),_0x26a1fe=()=>{const _0x6ff299=_0x7d44;_0x251c06[_0x6ff299(0x27f)]();const _0x44e9e4=(_0x5d0e0e,_0x112b85,_0x586a68,_0x1bd1fe)=>{const _0x3dd450=_0x6ff299;let _0x80059d=[];switch(_0x5d0e0e['id']){case _0x498c11[_0x3dd450(0xf6)]:{_0x80059d=_0x265b3c(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['DeleteRangeMoveUpCommandId']:{_0x80059d=_0x531a9d(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0xc7)]:{_0x80059d=_0x51479b(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['InsertRangeMoveDownCommandId']:{_0x80059d=_0x333877(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x1f0)]:{_0x80059d=_0x396746(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['InsertRowCommandId']:{_0x80059d=_0x372880(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x115)]:{_0x80059d=_0x193f28(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x244)]:{_0x80059d=_0x369867(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x9e)]:{_0x80059d=_0xb059a2(_0x5d0e0e,_0x1bd1fe);break;}}const _0x15564c=_0x5d5748(_0x80059d,_0x1bd1fe),_0x486cb8=this[_0x3dd450(0x1ec)][_0x3dd450(0x218)](_0x112b85);if(_0x486cb8&&_0x15564c){const _0x430cf2={..._0x486cb8,'range':_0x15564c};this['cursorInfo']['set'](_0x112b85,_0x430cf2),_0x68d195(()=>{const _0x1b5125=_0x3dd450,_0x4b74d1=this[_0x1b5125(0xbd)]['registerRefRange'](_0x15564c,_0x2d0f8b=>(_0x4b74d1[_0x1b5125(0x27f)](),_0x44e9e4(_0x2d0f8b,_0x112b85,_0x586a68,_0x15564c)));_0x251c06[_0x1b5125(0x1e8)](_0x4b74d1);});}return{'redos':[],'undos':[]};};this[_0x6ff299(0x1ec)][_0x6ff299(0x1f3)]((_0x3b1387,_0x1e1bff)=>{const _0x578335=_0x6ff299,{range:_0x5031f2,sheetID:_0x33b06d}=_0x3b1387,_0x36a65a=this[_0x578335(0xbd)][_0x578335(0x203)](_0x5031f2,_0x12d083=>(_0x36a65a[_0x578335(0x27f)](),_0x44e9e4(_0x12d083,_0x1e1bff,_0x33b06d,_0x5031f2)));_0x251c06[_0x578335(0x1e8)](_0x36a65a);});};this[_0x4ec10e(0x1e3)](_0x2eb536(this['_cursorInfo$'][_0x4ec10e(0x1b2)](()=>{_0x26a1fe();})));}['_toggleOnline'](){const _0x57a2b9=_0x413596;var _0x1c8074,_0x3ed61e;if(this['_online']=!0x0,((_0x1c8074=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1c8074['getUnitId']())!==this[_0x57a2b9(0xce)])return;const _0x472e78=(_0x3ed61e=this[_0x57a2b9(0x226)][_0x57a2b9(0x218)](_0x162eee)[_0x57a2b9(0x136)]())==null?void 0x0:_0x3ed61e[0x0],_0xa71d79=this[_0x57a2b9(0x195)][_0x57a2b9(0x19b)](_0x186adf[_0x57a2b9(0x154)])[_0x57a2b9(0x201)]();_0x472e78&&_0xa71d79&&this[_0x57a2b9(0x25a)](_0xa71d79[_0x57a2b9(0x1c1)](),_0x472e78);}['_toggleOffline'](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x362084(_0x2968e0)),x(0x3,_0x362084(ke)),x(0x4,_0x362084(_0xd00563)),x(0x5,_0x4e2e81),x(0x6,_0x1e22ba),x(0x7,_0x362084(_0x4285c7))],Me);var pi=Object[_0x413596(0x24f)],Ci=(_0x727d79,_0x53c7fa,_0x5324dd,_0x4c3497)=>{for(var _0x59ec61=_0x4c3497>0x1?void 0x0:_0x4c3497?pi(_0x53c7fa,_0x5324dd):_0x53c7fa,_0x4314e7=_0x727d79['length']-0x1,_0x5df846;_0x4314e7>=0x0;_0x4314e7--)(_0x5df846=_0x727d79[_0x4314e7])&&(_0x59ec61=_0x5df846(_0x59ec61)||_0x59ec61);return _0x59ec61;},Se=(_0x1f3166,_0x2c6cd9)=>(_0x224c8a,_0x257aa8)=>_0x2c6cd9(_0x224c8a,_0x257aa8,_0x1f3166);let H=class extends _0x3aeb14{constructor(_0x345ff3,_0x46a4fd,_0x8e17c4){const _0x1066e6=_0x413596;super(),_(this,_0x1066e6(0x20c),new Map()),_(this,_0x1066e6(0xe6),new _0x208d7d()),(this[_0x1066e6(0x195)]=_0x345ff3,this[_0x1066e6(0x226)]=_0x46a4fd,this['_collabSessionService']=_0x8e17c4,this['_init']());}['dispose'](){const _0x5ee932=_0x413596;super[_0x5ee932(0x27f)](),this[_0x5ee932(0xe6)][_0x5ee932(0x112)](),this[_0x5ee932(0x20c)][_0x5ee932(0x1f3)](_0x4784cf=>_0x4784cf[_0x5ee932(0x27f)]());}['getCollabCursors$'](_0xaf348f){const _0x20c345=_0x413596;return this[_0x20c345(0x20c)][_0x20c345(0xb7)](_0xaf348f)?this[_0x20c345(0x20c)][_0x20c345(0x218)](_0xaf348f)[_0x20c345(0xa8)]:this['_entityInit$'][_0x20c345(0x139)](_0x14c998(_0x47fef9=>_0x47fef9['unitID']===_0xaf348f),_0x38016b(_0x4de2be=>_0x4de2be['cursorInfo$']));}[_0x413596(0x10b)](){const _0x365478=_0x413596;this[_0x365478(0x195)][_0x365478(0x1b6)](_0x186adf[_0x365478(0x154)])[_0x365478(0x139)](_0x88d5f6(this[_0x365478(0x135)]))['subscribe'](async _0x74f0cc=>{const _0x48ab61=_0x365478,_0x58e1fd=_0x74f0cc[_0x48ab61(0x1af)](),_0x3ddf56=await this[_0x48ab61(0xaf)](_0x58e1fd);this[_0x48ab61(0xe6)][_0x48ab61(0x230)](_0x3ddf56),this['_entities'][_0x48ab61(0x27d)](_0x58e1fd,_0x3ddf56);}),this[_0x365478(0x195)][_0x365478(0x1b6)](_0x186adf['UNIVER_DOC'])[_0x365478(0x139)](_0x88d5f6(this[_0x365478(0x135)]))['pipe'](_0x14c998(_0x35aacd=>!_0x35aacd[_0x365478(0x1af)]()['startsWith']('__')))['subscribe'](async _0x2dd868=>{const _0x2bebf6=_0x365478,_0x5be52e=_0x2dd868['getUnitId'](),_0x1d3190=await this['_startDocCollabCursor'](_0x5be52e);this[_0x2bebf6(0xe6)]['next'](_0x1d3190),this['_entities'][_0x2bebf6(0x27d)](_0x5be52e,_0x1d3190);}),_0x1a911a(this[_0x365478(0x195)]['getTypeOfUnitDisposed$'](_0x186adf[_0x365478(0x9f)]),this[_0x365478(0x195)][_0x365478(0x259)](_0x186adf[_0x365478(0x154)]))[_0x365478(0x139)](_0x88d5f6(this['dispose$']))['subscribe'](_0x3647bb=>{const _0x52a666=_0x365478,_0x3733db=_0x3647bb[_0x52a666(0x1af)](),_0x2a475d=this[_0x52a666(0x20c)][_0x52a666(0x218)](_0x3733db);_0x2a475d&&(_0x2a475d['dispose'](),this['_entities']['delete'](_0x3733db));});}async['_startSheetCollabCursor'](_0x5cad6a){const _0x46a3f6=_0x413596,_0x2448b9=await this[_0x46a3f6(0x204)][_0x46a3f6(0x9b)](_0x5cad6a),_0x3cfb6e=this[_0x46a3f6(0x226)][_0x46a3f6(0xb8)](Me,_0x5cad6a,_0x2448b9);return _0x3cfb6e[_0x46a3f6(0x224)](),_0x3cfb6e;}async[_0x413596(0x189)](_0x6cfed4){const _0x543f1a=_0x413596,_0x31c884=await this[_0x543f1a(0x204)][_0x543f1a(0x9b)](_0x6cfed4),_0x48958c=this[_0x543f1a(0x226)][_0x543f1a(0xb8)](Ue,_0x6cfed4,_0x31c884);return _0x48958c[_0x543f1a(0x224)](),_0x48958c;}};H=Ci([Se(0x0,_0x4e2e81),Se(0x1,_0x362084(_0x2968e0)),Se(0x2,_0x362084(_0x1eaac9))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x509ca8,_0x27cba8){const _0x3fe7bf=_0x413596;let {radius:_0x41ff03,width:_0x5ba991,height:_0x3e13e6}=_0x27cba8;_0x41ff03=_0x41ff03!=null?_0x41ff03:0x0,_0x5ba991=_0x5ba991!=null?_0x5ba991:0x1e,_0x3e13e6=_0x3e13e6!=null?_0x3e13e6:0x1e;let _0x2a6b33=0x0,_0x1d5ac6=0x0,_0x4ea797=0x0;_0x2a6b33=_0x1d5ac6=_0x4ea797=Math[_0x3fe7bf(0xc2)](_0x41ff03,_0x5ba991/0x2,_0x3e13e6/0x2),_0x509ca8['beginPath'](),_0x509ca8['moveTo'](_0x2a6b33,0x0),_0x509ca8[_0x3fe7bf(0x171)](_0x5ba991-_0x1d5ac6,0x0),_0x509ca8['arc'](_0x5ba991-_0x1d5ac6,_0x1d5ac6,_0x1d5ac6,Math['PI']*0x3/0x2,0x0,!0x1),_0x509ca8['lineTo'](_0x5ba991,_0x3e13e6-_0x4ea797),_0x509ca8[_0x3fe7bf(0x23c)](_0x5ba991-_0x4ea797,_0x3e13e6-_0x4ea797,_0x4ea797,0x0,Math['PI']/0x2,!0x1),_0x509ca8[_0x3fe7bf(0x171)](0x0,_0x3e13e6),_0x509ca8[_0x3fe7bf(0x171)](0x0,_0x2a6b33),_0x509ca8[_0x3fe7bf(0x23c)](_0x2a6b33,_0x2a6b33,_0x2a6b33,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x509ca8[_0x3fe7bf(0x217)](),_0x27cba8[_0x3fe7bf(0x1ea)]&&(_0x509ca8[_0x3fe7bf(0x290)](),_0x509ca8[_0x3fe7bf(0xf7)]=_0x27cba8[_0x3fe7bf(0x1ea)],_0x27cba8[_0x3fe7bf(0x1d9)]==='evenodd'?_0x509ca8['fill'](_0x3fe7bf(0x17a)):_0x509ca8[_0x3fe7bf(0x1ea)](),_0x509ca8['restore']());}class he extends _0x5d7739{constructor(_0x37b55a,_0x25bec8){const _0x1f3455=_0x413596;super(_0x37b55a,_0x25bec8),_(this,_0x1f3455(0x28d)),_(this,_0x1f3455(0x117)),(this[_0x1f3455(0x28d)]=_0x25bec8==null?void 0x0:_0x25bec8[_0x1f3455(0x28d)],this['text']=_0x25bec8==null?void 0x0:_0x25bec8[_0x1f3455(0x117)]);}static[_0x413596(0x21a)](_0x4b801c,_0x3660a7){const _0x1315d7=_0x413596,{text:_0x13492c,color:_0x410134}=_0x3660a7;_0x4b801c[_0x1315d7(0x290)](),_0x4b801c['font']=_0x1315d7(0x1eb);const _0x5b8dd0=_0x4b801c[_0x1315d7(0x1dd)](_0x13492c)['width'],_0xeb59ad=Math['min'](_0x5b8dd0+0x2*me,Qe);Oi(_0x4b801c,{'height':ee,'radius':0x4,'width':_0xeb59ad,'fill':_0x410134}),_0x4b801c['fillStyle']='#FFF';const _0x4e9350=me,_0x5db8f4=ee-Ei,_0x3076b7=Qe-0x2*me;if(_0x5b8dd0>_0x3076b7){let _0x3b78dc='',_0x5ad052=0x0;for(const _0x47951f of _0x13492c){const _0x3a5c71=_0x4b801c[_0x1315d7(0x1dd)](_0x47951f)['width'];if(_0x5ad052+_0x3a5c71<=_0x3076b7-_0x4b801c[_0x1315d7(0x1dd)](_0x1315d7(0x94))[_0x1315d7(0xa7)])_0x3b78dc+=_0x47951f,_0x5ad052+=_0x3a5c71;else{_0x3b78dc+='...';break;}}_0x4b801c[_0x1315d7(0x28a)](_0x3b78dc,_0x4e9350,_0x5db8f4);}else _0x4b801c[_0x1315d7(0x28a)](_0x13492c,_0x4e9350,_0x5db8f4);_0x4b801c[_0x1315d7(0x120)]();}[_0x413596(0x1bb)](_0x4dd5db){const _0x32d4e2=_0x413596;he[_0x32d4e2(0x21a)](_0x4dd5db,this);}}const Ie=_0x413596(0xd7),bi=_0x413596(0x98),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x413596(0x126);class qe{constructor(_0x4d5e9a,_0x2dab1c,_0x5b70af,_0x27507e){const _0x15ff71=_0x413596;_(this,_0x15ff71(0x215),[]),_(this,'_anchor',null),_(this,_0x15ff71(0x286),null),_(this,_0x15ff71(0xba),null),_(this,'_hideTimer',null),_(this,_0x15ff71(0x162),null),(this[_0x15ff71(0x192)]=_0x4d5e9a,this[_0x15ff71(0x283)]=_0x2dab1c,this[_0x15ff71(0x97)]=_0x5b70af,this[_0x15ff71(0x15c)]=_0x27507e,this[_0x15ff71(0x1de)]());}set[_0x413596(0x96)](_0x1e38c1){const _0x1e3e72=_0x413596;_0x1e38c1?(this['_anchorDot']&&this[_0x1e3e72(0xba)]['hide'](),this[_0x1e3e72(0x286)]&&this[_0x1e3e72(0x286)][_0x1e3e72(0x1b0)]()):(this[_0x1e3e72(0xba)]&&this[_0x1e3e72(0xba)][_0x1e3e72(0x1b0)](),this[_0x1e3e72(0x286)]&&this[_0x1e3e72(0x286)][_0x1e3e72(0x14f)]());}[_0x413596(0x27f)](){const _0x184f19=_0x413596;for(const _0x4a0297 of this['_shapes'])_0x4a0297[_0x184f19(0x27f)]();this['_textBubble']&&this[_0x184f19(0x286)][_0x184f19(0x27f)](),this[_0x184f19(0xba)]&&this[_0x184f19(0xba)][_0x184f19(0x27f)](),this[_0x184f19(0x242)]&&this[_0x184f19(0x242)][_0x184f19(0x27f)](),this[_0x184f19(0x162)]&&this[_0x184f19(0x162)]();}['_render'](){const _0x156559=_0x413596;var _0x3fb5d6;const {_docSkeleton:_0x1d50a3,_document:_0x17fee6}=this,{color:_0x1dfdb4,name:_0xcb7ebe,ranges:_0x4c0cfc}=this['_cursor'],_0x3d432a=_0x17fee6[_0x156559(0x1cf)](),{docsLeft:_0x4eecf7,docsTop:_0x2b6395}=_0x3d432a,_0x3e52be=new _0x5807dd(_0x3d432a,_0x1d50a3);for(const {startOffset:_0x47674a,endOffset:_0x3a3683,rangeType:_0xdc920b,segmentId:_0x42bb20,segmentPage:_0x4331fc,collapsed:_0x198660,isActive:_0x2592c8}of _0x4c0cfc){const _0x1dadc9=_0x1d50a3[_0x156559(0x1cc)](_0x47674a,!0x0,_0x42bb20,_0x4331fc);let _0x2f529a=_0x1d50a3[_0x156559(0x1cc)](_0x3a3683,!0x0,_0x42bb20,_0x4331fc);if(_0x2f529a==null&&(_0x2f529a=_0x1d50a3[_0x156559(0x1cc)](_0x3a3683-0x1,!0x1,_0x42bb20,_0x4331fc)),_0x2592c8){const {contentBoxPointGroup:_0x162752}=_0x3e52be[_0x156559(0x10f)](_0x2f529a,_0x2f529a);if(_0x162752[_0x156559(0x159)]===0x0)continue;this[_0x156559(0x1ce)](_0x1dfdb4,_0x162752,_0x4eecf7,_0x2b6395,_0xcb7ebe),this[_0x156559(0x162)]=this[_0x156559(0x202)]();}if(_0x1dadc9&&_0x2f529a){if(_0xdc920b===_0x3f015c[_0x156559(0x103)]){const _0x42f4ff=new _0xfb8fb7(_0x3d432a,_0x1d50a3),{pointGroup:_0x2a1a25}=(_0x3fb5d6=_0x42f4ff['getRangePointData'](_0x1dadc9,_0x2f529a))!=null?_0x3fb5d6:{};if(_0x2a1a25==null||_0x2a1a25['length']===0x0)continue;this[_0x156559(0x1e2)](_0x1dfdb4,_0x2a1a25,_0x4eecf7,_0x2b6395);}else{if(!_0x198660){const {borderBoxPointGroup:_0xf220ea}=_0x3e52be[_0x156559(0x10f)](_0x1dadc9,_0x2f529a);if(_0xf220ea[_0x156559(0x159)]===0x0)continue;this[_0x156559(0x234)](_0x1dfdb4,_0xf220ea,_0x4eecf7,_0x2b6395);}}}}}['_drawAnchor'](_0x2804b7,_0x74360c,_0x5f0cdf,_0x3f7424,_0x5c2004){const _0x1c5462=_0x413596,_0x57f7cc=this[_0x1c5462(0x21c)](_0x74360c),{left:_0x45dbfa,top:_0x2389fd,height:_0x471dfa}=_0x57f7cc,_0x98adbe=this[_0x1c5462(0x196)](),_0x12cc17=Di/_0x98adbe,_0x56cac0=new _0x56b05b(Ie+_0x3fddc8[_0x1c5462(0xd1)](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424,'height':_0x471dfa,'width':Ri,'fill':_0x2804b7||_0x21cd91(_0x3e3ec3[_0x1c5462(0x20d)],0x0),'strokeWidth':_0x12cc17,'stroke':Ni,'evented':!0x0});this[_0x1c5462(0x242)]=_0x56cac0,this['_scene'][_0x1c5462(0xbe)](_0x56cac0,_0x40acc2);const _0x3f614a=new _0x56b05b(Ie+_0x3fddc8[_0x1c5462(0xd1)](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424-ge/0x2,'height':ge,'width':ge,'fill':_0x2804b7||_0x21cd91(_0x3e3ec3[_0x1c5462(0x20d)],0x0),'strokeWidth':0x0,'stroke':_0x2804b7||_0x21cd91(_0x3e3ec3['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x3f614a,this[_0x1c5462(0x283)]['addObject'](_0x3f614a,_0x40acc2);const _0x55fc3c=new he(Ie+_0x3fddc8['generateRandomId'](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424-ee,'text':_0x5c2004,'color':_0x2804b7});this[_0x1c5462(0x286)]=_0x55fc3c,this[_0x1c5462(0x283)][_0x1c5462(0xbe)](_0x55fc3c,_0x40acc2),this[_0x1c5462(0x96)]=!0x1;}[_0x413596(0x202)](){const _0xd6c5e1=_0x413596,_0x5ad5ea=this[_0xd6c5e1(0x242)][_0xd6c5e1(0xaa)]['subscribeEvent'](()=>{const _0x67d388=_0xd6c5e1;this[_0x67d388(0x96)]=!0x0;}),_0x39ef24=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x18bafe=_0xd6c5e1;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x18bafe(0x266)]=setTimeout(()=>{const _0x59ddb2=_0x18bafe;this[_0x59ddb2(0x96)]=!0x1;},0x7d0);});return()=>{const _0x1ca235=_0xd6c5e1;_0x5ad5ea[_0x1ca235(0x19f)](),_0x39ef24[_0x1ca235(0x19f)]();};}[_0x413596(0x234)](_0x573165,_0xdb772d,_0x390cf3,_0x4d13dd){const _0x2a9180=_0x413596,_0x3e6556=new _0x218d96(_0x573165)['setAlpha'](0.2)[_0x2a9180(0x1a0)](),_0xdc44fd=new _0x52d409(bi+_0x3fddc8['generateRandomId'](X),{'pointsGroup':_0xdb772d,'fill':_0x3e6556||_0x21cd91(_0x3e3ec3[_0x2a9180(0x20d)],0.2),'left':_0x390cf3,'top':_0x4d13dd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a9180(0x215)]['push'](_0xdc44fd),this[_0x2a9180(0x283)][_0x2a9180(0xbe)](_0xdc44fd,_0x40acc2);}[_0x413596(0x1e2)](_0x581dbf,_0x23f3b2,_0x4c8131,_0x4da19f){const _0x5e7098=_0x413596,_0x1f5a85=new _0x218d96(_0x581dbf)[_0x5e7098(0x1aa)](0.2)['toRgbString'](),_0x3898a7=new _0x52d409(Ti+_0x3fddc8['generateRandomId'](X),{'pointsGroup':_0x23f3b2,'fill':_0x1f5a85||_0x21cd91(_0x3e3ec3[_0x5e7098(0x20d)],0.2),'left':_0x4c8131,'top':_0x4da19f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e7098(0x215)][_0x5e7098(0x245)](_0x3898a7),this[_0x5e7098(0x283)][_0x5e7098(0xbe)](_0x3898a7,_0x40acc2);}['_getAnchorBounding'](_0x18333b){const _0x433455=_0x18333b[0x0],_0x158071=_0x433455[0x0],_0x1f54ab=_0x433455[0x2],{x:_0x188ac8,y:_0x272420}=_0x158071,{x:_0x2bec62,y:_0x52315f}=_0x1f54ab;return{'left':_0x188ac8,'top':_0x272420,'width':_0x2bec62-_0x188ac8,'height':_0x52315f-_0x272420};}[_0x413596(0x196)](){const _0xea84ca=_0x413596,{scaleX:_0x1d8dc3,scaleY:_0x3a58c6}=this[_0xea84ca(0x283)][_0xea84ca(0x181)]();return Math['max'](_0x1d8dc3,_0x3a58c6);}}var Ui=Object[_0x413596(0x24f)],Mi=(_0x374c4c,_0x4298d9,_0x4ae734,_0x500c4c)=>{const _0x44dc72=_0x413596;for(var _0x450173=_0x500c4c>0x1?void 0x0:_0x500c4c?Ui(_0x4298d9,_0x4ae734):_0x4298d9,_0x17cdf8=_0x374c4c[_0x44dc72(0x159)]-0x1,_0x5c0c27;_0x17cdf8>=0x0;_0x17cdf8--)(_0x5c0c27=_0x374c4c[_0x17cdf8])&&(_0x450173=_0x5c0c27(_0x450173)||_0x450173);return _0x450173;},Z=(_0x3c8e94,_0x4e9a38)=>(_0x1f208e,_0x1552fb)=>_0x4e9a38(_0x1f208e,_0x1552fb,_0x3c8e94);let we=class extends _0x3aeb14{constructor(_0x10560f,_0x179c88,_0x46247b,_0x2f8c98,_0xf092b7){const _0x2beba6=_0x413596;super(),_(this,_0x2beba6(0x153),[]),_(this,_0x2beba6(0x1fc),[]),(this['_context']=_0x10560f,this['_docSkeletonManagerService']=_0x179c88,this[_0x2beba6(0x22d)]=_0x46247b,this[_0x2beba6(0xc5)]=_0x2f8c98,this[_0x2beba6(0x16c)]=_0xf092b7,this[_0x2beba6(0x10b)]());}['_init'](){const _0x310d0b=_0x413596,_0x5d4f92=this[_0x310d0b(0xf4)]['unitId'],_0x22d028=this[_0x310d0b(0x280)];this[_0x310d0b(0x1e3)](_0x2e7355([this['_collabCursorController'][_0x310d0b(0x213)](_0x5d4f92),this[_0x310d0b(0x16c)][_0x310d0b(0x26e)]])[_0x310d0b(0x139)](_0x31ca7a(([_0x3eb708,_0x498334])=>({'skeleton':_0x22d028[_0x310d0b(0x1ae)](),'cursors':[..._0x3eb708[_0x310d0b(0x114)]()]['flatMap'](_0x5dda83=>({..._0x5dda83,'color':this['_themeService'][_0x310d0b(0x1f4)](_0x5dda83[_0x310d0b(0x28d)])}))})))['subscribe'](_0x318c98=>{const _0x41a0b5=_0x310d0b;if(this[_0x41a0b5(0x251)](),_0x318c98){const {skeleton:_0x4c605d,cursors:_0x5482b8}=_0x318c98;this['_updateCollabCursors'](_0x4c605d,_0x5482b8);}})),this[_0x310d0b(0xed)](),this[_0x310d0b(0x1d7)]();}['_updateCollabCursors'](_0x7a33e6,_0x3d6a5d){const _0x244a5a=_0x413596,{scene:_0x30486b,mainComponent:_0x3ebb9b}=this[_0x244a5a(0xf4)],_0x42f560=_0x3d6a5d[_0x244a5a(0x129)](_0x2c4db3=>new qe(_0x2c4db3,_0x30486b,_0x7a33e6,_0x3ebb9b));this[_0x244a5a(0x153)]=_0x42f560,this[_0x244a5a(0x1fc)]=_0x3d6a5d;}[_0x413596(0x26a)](){const _0x2c4043=_0x413596;this[_0x2c4043(0x251)]();const {scene:_0x1bf33b,mainComponent:_0x287619}=this['_context'],_0x34cf3e=this[_0x2c4043(0x280)][_0x2c4043(0x1ae)](),_0x1b0820=this[_0x2c4043(0x1fc)][_0x2c4043(0x129)](_0x27e25c=>new qe(_0x27e25c,_0x1bf33b,_0x34cf3e,_0x287619));this[_0x2c4043(0x153)]=_0x1b0820;}[_0x413596(0x251)](){const _0x3655ed=_0x413596;this[_0x3655ed(0x153)][_0x3655ed(0x1f3)](_0x5041c5=>_0x5041c5['dispose']()),this[_0x3655ed(0x153)]=[];}[_0x413596(0x1d7)](){const _0x375a03=_0x413596,_0x84b3b3=[_0xdcaab8['id']];this[_0x375a03(0x1e3)](this[_0x375a03(0xc5)]['onCommandExecuted'](_0x3b873d=>{const _0x41694d=_0x375a03;_0x84b3b3[_0x41694d(0x125)](_0x3b873d['id'])&&_0x3b873d['params'][_0x41694d(0xdb)]===this[_0x41694d(0xf4)][_0x41694d(0xdb)]&&this[_0x41694d(0x26a)]();}));}['_initResize'](){const _0x27a13f=_0x413596;this[_0x27a13f(0x1e3)](_0x3a28c2(this['_context'][_0x27a13f(0x163)][_0x27a13f(0x168)])[_0x27a13f(0x139)](_0x12a490(_0x3ef198=>_0x3ef198[_0x27a13f(0xb6)]===_0x34c557['resize']),_0x10d797(0x10))[_0x27a13f(0x1b2)](()=>{const _0xf35eb2=_0x27a13f;this[_0xf35eb2(0x26a)]();}));}};we=Mi([Z(0x1,_0x362084(_0x520ca3)),Z(0x2,_0x362084(H)),Z(0x3,_0x1e22ba),Z(0x4,_0x362084(_0x367d03))],we);const wi=0x1,Pi=1.5;class Li extends _0x5d7739{constructor(_0xae723,_0x4a7ac4){const _0x3f8bf9=_0x413596;super(_0xae723,_0x4a7ac4),_(this,_0x3f8bf9(0x13b)),_(this,_0x3f8bf9(0x1d6),!0x1),_(this,_0x3f8bf9(0xae)),_(this,_0x3f8bf9(0x291),''),_(this,'_labelPosition',_0x3f8bf9(0xc0)),_(this,_0x3f8bf9(0x15e)),(_0x4a7ac4&&this[_0x3f8bf9(0x133)](_0x4a7ac4),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x3f8bf9(0x133)]({'hovered':!0x0})),this[_0x3f8bf9(0x180)][_0x3f8bf9(0x150)](()=>this[_0x3f8bf9(0x133)]({'hovered':!0x1})));}[_0x413596(0x133)](_0x4c3177){const _0x1a97de=_0x413596;var _0x549115,_0x40e248,_0x20d9ef,_0x169a2e,_0x572729,_0x5816f0;this['_color']=(_0x549115=_0x4c3177[_0x1a97de(0x28d)])!=null?_0x549115:this['_color'],this[_0x1a97de(0x1d6)]=(_0x40e248=_0x4c3177['hovered'])!=null?_0x40e248:this[_0x1a97de(0x1d6)],this[_0x1a97de(0xae)]=(_0x20d9ef=_0x4c3177['range'])!=null?_0x20d9ef:this[_0x1a97de(0xae)],this['_name']=(_0x169a2e=_0x4c3177['name'])!=null?_0x169a2e:this[_0x1a97de(0x291)],this['_labelPosition']=(_0x572729=_0x4c3177[_0x1a97de(0x118)])!=null?_0x572729:this[_0x1a97de(0x250)],this[_0x1a97de(0x15e)]=(_0x5816f0=_0x4c3177[_0x1a97de(0xdf)])!=null?_0x5816f0:this[_0x1a97de(0x15e)],this[_0x1a97de(0x14e)]({'width':_0x4c3177[_0x1a97de(0xa7)],'height':_0x4c3177['height']});}['onMouseMove'](_0x52be63){const _0x98c745=_0x413596,{row:_0x57b07c,column:_0x5ba92f}=_0x52be63;if(_0x57b07c>=this['_range']['startRow']&&_0x57b07c<=this[_0x98c745(0xae)]['endRow']&&_0x5ba92f>=this[_0x98c745(0xae)]['startColumn']&&_0x5ba92f<=this['_range'][_0x98c745(0xd0)]){this[_0x98c745(0x133)]({'hovered':!0x0});return;}this[_0x98c745(0x133)]({'hovered':!0x1});}[_0x413596(0xd6)](_0x4c5b5f){return!0x1;}[_0x413596(0x1bb)](_0x537f11){const _0x5ef2c5=_0x413596;_0x56b05b[_0x5ef2c5(0x21a)](_0x537f11,{'width':this[_0x5ef2c5(0xa7)],'height':this[_0x5ef2c5(0xc3)],'strokeWidth':Pi,'stroke':this[_0x5ef2c5(0x13b)],'evented':!0x1,'fill':this[_0x5ef2c5(0x15e)]}),this['_hovered']&&(_0x537f11[_0x5ef2c5(0x290)](),_0x537f11[_0x5ef2c5(0x1a7)](0x1,0x0,0x0,0x1,this[_0x5ef2c5(0xa7)],this[_0x5ef2c5(0x250)]==='bottom'?0x0:-0x14),he['drawWith'](_0x537f11,{'text':this[_0x5ef2c5(0x291)],'color':this[_0x5ef2c5(0x13b)]}),_0x537f11[_0x5ef2c5(0x120)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x39ebe4,_0x74cde5,_0x59bd40,_0x5d06c1)=>{const _0x4699d9=_0x413596;for(var _0x306a66=_0x5d06c1>0x1?void 0x0:_0x5d06c1?Ai(_0x74cde5,_0x59bd40):_0x74cde5,_0x1fd6dc=_0x39ebe4[_0x4699d9(0x159)]-0x1,_0xe93f08;_0x1fd6dc>=0x0;_0x1fd6dc--)(_0xe93f08=_0x39ebe4[_0x1fd6dc])&&(_0x306a66=_0xe93f08(_0x306a66)||_0x306a66);return _0x306a66;},ve=(_0x50ded6,_0x453e52)=>(_0x13dffe,_0x5f4487)=>_0x453e52(_0x13dffe,_0x5f4487,_0x50ded6);const $i=0x1389;let Pe=class extends _0x3aeb14{constructor(_0x54c048,_0x3189a2,_0x3cb732,_0x222660){const _0x41f760=_0x413596;super(),_(this,_0x41f760(0x1fc),new Set()),_(this,_0x41f760(0x1b1),null),(this[_0x41f760(0xf4)]=_0x54c048,this['_sheetSkeletonManagerService']=_0x3189a2,this['_collabCursorController']=_0x3cb732,this[_0x41f760(0x16c)]=_0x222660,this[_0x41f760(0x10b)]());}[_0x413596(0x10b)](){const _0x5e098c=_0x413596;this['_sheetSkeletonManagerService'][_0x5e098c(0xac)][_0x5e098c(0x139)](_0x366635(this[_0x5e098c(0x135)]),_0x3e9281(_0x5a4c12=>{const _0x48c35d=_0x5e098c;if(_0x5a4c12){const _0x25e2f5=_0x5a4c12[_0x48c35d(0x227)];return _0x2e7355(this[_0x48c35d(0x22d)][_0x48c35d(0x213)](this[_0x48c35d(0xf4)][_0x48c35d(0xdb)]),this[_0x48c35d(0x16c)][_0x48c35d(0x26e)])[_0x48c35d(0x139)](_0x31ca7a(([_0x3bddf3,_0x24cbba])=>{const _0x391025=_0x48c35d,_0x32894a=new Map();return _0x3bddf3[_0x391025(0x1f3)]((_0x5b445e,_0x5a2dac)=>{const _0x4d195a=_0x391025;if(_0x5b445e[_0x4d195a(0xf5)]===_0x25e2f5){const _0x1b9f56={..._0x5b445e};_0x1b9f56[_0x4d195a(0x28d)]=this[_0x4d195a(0x16c)]['getColorFromTheme'](_0x5b445e[_0x4d195a(0x28d)]),_0x32894a[_0x4d195a(0x27d)](_0x5a2dac,_0x1b9f56);}}),{'skeleton':_0x5a4c12,'cursors':_0x32894a};}));}return _0x4bcc5d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x52e81c,cursors:_0x2c4f03})=>{const _0x1abafa=_0x5e098c;this[_0x1abafa(0x251)](),_0x52e81c&&this['_updateCollabCursors'](_0x52e81c,_0x2c4f03);}),this['_sheetSkeletonManagerService'][_0x5e098c(0xac)][_0x5e098c(0x1b2)](_0x13ed67=>{const _0x37018a=_0x5e098c;if(_0x13ed67==null)return;const {skeleton:_0x41b305}=_0x13ed67,{scene:_0x64635f}=this[_0x37018a(0xf4)];_0x64635f[_0x37018a(0xa3)][_0x37018a(0x150)](_0x43064b(_0x1a6f58=>{const _0x5192a9=_0x37018a;var _0x393315,_0x58a3d1;const {offsetX:_0x39b4e9,offsetY:_0x4a9701}=_0x1a6f58,{x:_0x4fb9b1,y:_0x299a23}=_0x64635f[_0x5192a9(0x1c3)](_0x1d1744[_0x5192a9(0x1dc)]([_0x39b4e9,_0x4a9701])),{scaleX:_0x32486d,scaleY:_0x50c3b6}=_0x64635f['getAncestorScale'](),_0x246155=_0x64635f[_0x5192a9(0x23d)](_0x443b66[_0x5192a9(0x1d2)]),_0xe39cc2=_0x64635f['getVpScrollXYInfoByPosToVp'](_0x1d1744['FromArray']([_0x4fb9b1,_0x299a23]),_0x246155),_0x268eae=_0x41b305['getCellPositionByOffset'](_0x39b4e9,_0x4a9701,_0x32486d,_0x50c3b6,_0xe39cc2);((_0x393315=this[_0x5192a9(0x1b1)])==null?void 0x0:_0x393315[_0x5192a9(0x176)])===_0x268eae[_0x5192a9(0x176)]&&((_0x58a3d1=this['_lastPointer'])==null?void 0x0:_0x58a3d1[_0x5192a9(0x1d0)])===_0x268eae[_0x5192a9(0x1d0)]||this[_0x5192a9(0x1fc)][_0x5192a9(0x1f3)](_0x12ec9a=>{const _0x352061=_0x5192a9;_0x12ec9a[_0x352061(0xeb)](_0x268eae);});},0x64));});}[_0x413596(0xe0)](_0x304fd2,_0x5e1ac4){const _0x2b7281=_0x413596;var _0x193e93;const _0x53b35c=(_0x193e93=this[_0x2b7281(0x152)][_0x2b7281(0x140)]())==null?void 0x0:_0x193e93[_0x2b7281(0x1fb)];if(!_0x53b35c)return;const _0x320a7e=this['_getSheetObject']();if(!_0x320a7e)return;this[_0x2b7281(0x1fc)]['forEach'](_0x261b06=>{const _0x5036af=_0x2b7281;_0x261b06[_0x5036af(0xf9)]();});const {scene:_0x2a5732}=_0x320a7e,_0x442ea8=xi(Array[_0x2b7281(0x15f)](_0x5e1ac4[_0x2b7281(0x114)]()))[_0x2b7281(0x129)](_0x4270eb=>{const _0x14ae52=_0x2b7281,{color:_0x61fad4,range:_0x3bc51f,name:_0x1fb52b,selection:_0x592fc8,sheetID:_0x5406fd}=_0x4270eb,{startColumn:_0x4b8352,startRow:_0x501ee2,endColumn:_0x51ae2a,endRow:_0x93600b}=_0x3bc51f,_0x3a5ba0=_0x4e589a(_0x501ee2,_0x4b8352,_0x2a5732,_0x53b35c),_0x3a6006=_0x4e589a(_0x93600b,_0x51ae2a,_0x2a5732,_0x53b35c),{columnHeaderHeightAndMarginTop:_0x43520f}=_0x53b35c,{startX:_0x559361,startY:_0x55391c}=_0x3a5ba0,{endX:_0x2cbc6d,endY:_0x37a3c6}=_0x3a6006,_0x1bb2ef=_0x2cbc6d-_0x559361,_0x431797=_0x37a3c6-_0x55391c,_0x13b0b5={'labelPosition':_0x55391c-_0x43520f>=ee?_0x14ae52(0xc0):_0x14ae52(0x17f),'sheetID':_0x5406fd,'range':_0x3bc51f,'color':_0x61fad4,'name':_0x1fb52b,'selection':_0x592fc8,'left':_0x559361,'top':_0x55391c,'width':_0x1bb2ef,'height':_0x431797,'evented':!0x1,'zIndex':$i};return new Li(_0x1fb52b,_0x13b0b5);});_0x2a5732['addObjects'](_0x442ea8,wi),this['_cursors']=new Set(_0x442ea8);}[_0x413596(0x251)](){const _0x5120c4=_0x413596;var _0xc4737f;(_0xc4737f=this[_0x5120c4(0x1fc)])==null||_0xc4737f['forEach'](_0xfc3a7d=>_0xfc3a7d[_0x5120c4(0x27f)]());}['_getSheetObject'](){const _0x4cb465=_0x413596;return _0x4fc597(this[_0x4cb465(0xf4)][_0x4cb465(0x223)],this[_0x4cb465(0xf4)]);}};Pe=yi([ve(0x1,_0x362084(_0x3234d2)),ve(0x2,_0x362084(H)),ve(0x3,_0x362084(_0x367d03))],Pe);function xi(_0x5b8eac){const _0x4b1889=_0x413596,_0x1a04d2=new Map();return _0x5b8eac[_0x4b1889(0x1f3)](_0x2ea888=>{const _0x3f0c4c=_0x4b1889;if(_0x1a04d2['has'](_0x2ea888[_0x3f0c4c(0x178)])){const _0x5db9ec=_0x1a04d2[_0x3f0c4c(0x218)](_0x2ea888[_0x3f0c4c(0x178)]);_0x5db9ec[_0x3f0c4c(0x1c7)]+=',\x20'+_0x2ea888[_0x3f0c4c(0x1c7)];}else _0x1a04d2[_0x3f0c4c(0x27d)](_0x2ea888[_0x3f0c4c(0x178)],_0x2ea888);}),Array['from'](_0x1a04d2[_0x4b1889(0x114)]());}var v=function(){const _0x5d20ee=_0x413596;return v=Object[_0x5d20ee(0x26b)]||function(_0x2abb4d){const _0x1376e2=_0x5d20ee;for(var _0x572d91,_0x234a4a=0x1,_0x1aae6f=arguments[_0x1376e2(0x159)];_0x234a4a<_0x1aae6f;_0x234a4a++){_0x572d91=arguments[_0x234a4a];for(var _0x3a845e in _0x572d91)Object[_0x1376e2(0x124)][_0x1376e2(0x13e)][_0x1376e2(0xf1)](_0x572d91,_0x3a845e)&&(_0x2abb4d[_0x3a845e]=_0x572d91[_0x3a845e]);}return _0x2abb4d;},v[_0x5d20ee(0x22b)](this,arguments);},Bi=function(_0x506ba3,_0x2dc312){const _0x558975=_0x413596;var _0x401e42={};for(var _0x5adba7 in _0x506ba3)Object['prototype'][_0x558975(0x13e)]['call'](_0x506ba3,_0x5adba7)&&_0x2dc312[_0x558975(0xfa)](_0x5adba7)<0x0&&(_0x401e42[_0x5adba7]=_0x506ba3[_0x5adba7]);if(_0x506ba3!=null&&typeof Object['getOwnPropertySymbols']==_0x558975(0x183)){for(var _0x3a261b=0x0,_0x5adba7=Object[_0x558975(0x1b8)](_0x506ba3);_0x3a261b<_0x5adba7[_0x558975(0x159)];_0x3a261b++)_0x2dc312[_0x558975(0xfa)](_0x5adba7[_0x3a261b])<0x0&&Object[_0x558975(0x124)][_0x558975(0x164)][_0x558975(0xf1)](_0x506ba3,_0x5adba7[_0x3a261b])&&(_0x401e42[_0x5adba7[_0x3a261b]]=_0x506ba3[_0x5adba7[_0x3a261b]]);}return _0x401e42;},je=_0x27fa41(function(_0x54bf32,_0x8fc7b6){const _0x3bb915=_0x413596;var _0x30d9df=_0x54bf32[_0x3bb915(0x269)],_0x2833d1=_0x54bf32['id'],_0x177eec=_0x54bf32[_0x3bb915(0xdc)],_0x2c4725=_0x54bf32[_0x3bb915(0x14a)],_0x4163c3=Bi(_0x54bf32,[_0x3bb915(0x269),'id','className','extend']),_0x1dceb1=_0x3bb915(0x198)[_0x3bb915(0xe1)](_0x2833d1,'\x20')[_0x3bb915(0xe1)](_0x177eec||'')[_0x3bb915(0x1a4)](),_0x4ff360=_0x182ea3('_'[_0x3bb915(0xe1)](ji()));return Rt(_0x30d9df,''['concat'](_0x2833d1),{'defIds':_0x30d9df[_0x3bb915(0x28c)],'idSuffix':_0x4ff360['current']},v({'ref':_0x8fc7b6,'className':_0x1dceb1},_0x4163c3),_0x2c4725);});function Rt(_0xc44290,_0x3bdc65,_0x5cc342,_0x5704e3,_0x2fa72e){const _0xc26323=_0x413596;return _0x5a3684(_0xc44290[_0xc26323(0x241)],v(v({'key':_0x3bdc65},ki(_0xc44290,_0x5cc342,_0x2fa72e)),_0x5704e3),(Hi(_0xc44290,_0x5cc342)[_0xc26323(0x17d)]||[])['map'](function(_0x2d3f80,_0x2ba1d7){const _0x34568b=_0xc26323;return Rt(_0x2d3f80,''[_0x34568b(0xe1)](_0x3bdc65,'-')['concat'](_0xc44290[_0x34568b(0x241)],'-')[_0x34568b(0xe1)](_0x2ba1d7),_0x5cc342,void 0x0,_0x2fa72e);}));}function ki(_0x468d70,_0x15d2b7,_0x301402){const _0x436e5c=_0x413596;var _0x21c166=v({},_0x468d70[_0x436e5c(0x1a9)]);_0x301402!=null&&_0x301402[_0x436e5c(0x12a)]&&_0x21c166[_0x436e5c(0x1ea)]===_0x436e5c(0x12a)&&(_0x21c166[_0x436e5c(0x1ea)]=_0x301402['colorChannel1']),_0x468d70[_0x436e5c(0x241)]===_0x436e5c(0x1d8)&&_0x21c166['id']&&(_0x21c166['id']=_0x21c166['id']+_0x15d2b7[_0x436e5c(0xa5)]),Object['entries'](_0x21c166)[_0x436e5c(0x1f3)](function(_0x565443){const _0x16e898=_0x436e5c;var _0x49cae7=_0x565443[0x0],_0x9784fb=_0x565443[0x1];_0x49cae7==='mask'&&typeof _0x9784fb=='string'&&(_0x21c166[_0x49cae7]=_0x9784fb[_0x16e898(0x260)](/url\(#(.*)\)/,_0x16e898(0x1a3)[_0x16e898(0xe1)](_0x15d2b7['idSuffix'],')')));});var _0x49e07e=_0x15d2b7['defIds'];return!_0x49e07e||_0x49e07e[_0x436e5c(0x159)]===0x0||(_0x468d70['tag']===_0x436e5c(0x99)&&_0x21c166[_0x436e5c(0x188)]&&(_0x21c166[_0x436e5c(0x188)]=_0x21c166[_0x436e5c(0x188)]+_0x15d2b7[_0x436e5c(0xa5)]),Object['entries'](_0x21c166)[_0x436e5c(0x1f3)](function(_0x281cdd){const _0xaebc47=_0x436e5c;var _0x28748d=_0x281cdd[0x0],_0x45286a=_0x281cdd[0x1];typeof _0x45286a=='string'&&(_0x21c166[_0x28748d]=_0x45286a[_0xaebc47(0x260)](/url\(#(.*)\)/,_0xaebc47(0x1a3)['concat'](_0x15d2b7[_0xaebc47(0xa5)],')')));})),_0x21c166;}function Hi(_0x30e80e,_0x242fca){const _0x3463a0=_0x413596;var _0x4de7f8,_0x7e37e9=_0x242fca[_0x3463a0(0x28c)];return!_0x7e37e9||_0x7e37e9['length']===0x0?_0x30e80e:_0x30e80e[_0x3463a0(0x241)]===_0x3463a0(0x276)&&(!((_0x4de7f8=_0x30e80e[_0x3463a0(0x17d)])===null||_0x4de7f8===void 0x0)&&_0x4de7f8[_0x3463a0(0x159)])?v(v({},_0x30e80e),{'children':_0x30e80e[_0x3463a0(0x17d)]['map'](function(_0x518c66){const _0x3c1870=_0x3463a0;return typeof _0x518c66['attrs']['id']==_0x3c1870(0x1cd)&&_0x7e37e9&&_0x7e37e9[_0x3c1870(0x125)](_0x518c66[_0x3c1870(0x1a9)]['id'])?v(v({},_0x518c66),{'attrs':v(v({},_0x518c66['attrs']),{'id':_0x518c66['attrs']['id']+_0x242fca[_0x3c1870(0xa5)]})}):_0x518c66;})}):_0x30e80e;}function ji(){const _0x21b350=_0x413596;return Math[_0x21b350(0x288)]()[_0x21b350(0x20f)](0x24)[_0x21b350(0xa2)](0x2,0x8);}je[_0x413596(0x1ff)]=_0x413596(0x1a1);var Yi={'tag':'svg','attrs':{'xmlns':_0x413596(0x1f1),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x413596(0x14c),'height':_0x413596(0x14c)},'children':[{'tag':'g','attrs':{'clipPath':_0x413596(0x12f)},'children':[{'tag':'path','attrs':{'stroke':_0x413596(0xe9),'d':_0x413596(0x1f9),'strokeLinecap':_0x413596(0xf3),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x413596(0x238)},'children':[{'tag':_0x413596(0x28f),'attrs':{'fill':_0x413596(0x22f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x413596(0x238)]},Dt=_0x27fa41(function(_0x578d90,_0x32bfc3){const _0x323430=_0x413596;return _0x5a3684(je,Object[_0x323430(0x26b)]({},_0x578d90,{'id':_0x323430(0x261),'ref':_0x32bfc3,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x413596(0x24b),'attrs':{'xmlns':_0x413596(0x1f1),'fill':'none','viewBox':_0x413596(0x146),'width':_0x413596(0x14c),'height':_0x413596(0x14c)},'children':[{'tag':'g','attrs':{'clipPath':_0x413596(0xd8)},'children':[{'tag':_0x413596(0x28f),'attrs':{'stroke':_0x413596(0xe9),'d':_0x413596(0x10e),'strokeLinecap':'round','strokeLinejoin':_0x413596(0xf3),'strokeWidth':1.2}}]},{'tag':_0x413596(0x276),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x413596(0x22f),'d':_0x413596(0xb9),'transform':_0x413596(0x18e)}}]}]}],'defIds':[_0x413596(0x119)]},Nt=_0x27fa41(function(_0x203d60,_0x4789fa){return _0x5a3684(je,Object['assign']({},_0x203d60,{'id':'on-line-icon','ref':_0x4789fa,'icon':Fi}));});Nt[_0x413596(0x1ff)]=_0x413596(0x11d);function Wi(_0xfb136c){const _0x52db74=_0x413596;switch(_0xfb136c){case _0x585abf['OFFLINE']:return'collabStatus.offline';case _0x585abf[_0x52db74(0x232)]:return'collabStatus.conflict';case _0x585abf[_0x52db74(0x15b)]:return _0x52db74(0x1ac);case _0x585abf['NOT_COLLAB']:return _0x52db74(0x1ba);case _0x585abf[_0x52db74(0x147)]:case _0x585abf[_0x52db74(0x137)]:return'collabStatus.syncing';case _0x585abf['SYNCED']:case _0x585abf['PENDING']:return'collabStatus.synced';}}function Vi(_0x5adcac){const _0x1494eb=_0x413596,{status$:_0x3dc214}=_0x5adcac,_0x3f5c66=_0x96f9b9(_0x3dc214,_0x585abf[_0x1494eb(0x284)]),_0x28d575=_0x49edab(_0x51d464),_0x58fcdd=_0x49edab(_0x1eaac9),_0x1ec1a0=_0x3f5c66!==_0x585abf[_0x1494eb(0x197)],_0x296419=_0x28d575['t'](Wi(_0x3f5c66)),_0x45981d=_0x1ec1a0?_0xf2d664(Nt,{}):_0xf2d664(Dt,{}),_0x43ae00=_0x39080d(()=>{_0x1ec1a0||_0x58fcdd['reconnect']();},[_0x1ec1a0,_0x58fcdd]);function _0x3935b7(){const _0x399b78=_0x1494eb;return _0x415f23(_0x399b78(0xe7),{'className':'univer-flex\x20univer-items-center','onClick':_0x43ae00,'children':[_0xf2d664(_0x399b78(0xe7),{'className':_0x5b101f('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1ec1a0,'univer-text-red-500':!_0x1ec1a0}),'children':_0x45981d}),_0xf2d664('div',{'className':_0x399b78(0x134),'children':_0x296419})]});}return _0x1ec1a0?_0x3935b7():_0xf2d664(_0x93d178,{'title':_0x28d575['t'](_0x1494eb(0x214)),'children':_0x3935b7()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x310a71,_0x2f2885,_0x2f2efe,_0x1a4b0d)=>{const _0x56cbc5=_0x413596;for(var _0x282c39=_0x1a4b0d>0x1?void 0x0:_0x1a4b0d?Xi(_0x2f2885,_0x2f2efe):_0x2f2885,_0x1feaff=_0x310a71[_0x56cbc5(0x159)]-0x1,_0x1407b5;_0x1feaff>=0x0;_0x1feaff--)(_0x1407b5=_0x310a71[_0x1feaff])&&(_0x282c39=_0x1407b5(_0x282c39)||_0x282c39);return _0x282c39;},Q=(_0x54a787,_0x375bd3)=>(_0x1f26b9,_0x8477dd)=>_0x375bd3(_0x1f26b9,_0x8477dd,_0x54a787);let te=class extends _0x198a25{constructor(_0x3ca722,_0x1ae8d6,_0x5b5fd8,_0x19162d){const _0xf04899=_0x413596;super(),_(this,_0xf04899(0x1e0),new _0x255d07(_0x585abf[_0xf04899(0x284)])),(this[_0xf04899(0x195)]=_0x3ca722,this[_0xf04899(0x226)]=_0x1ae8d6,this[_0xf04899(0x20a)]=_0x5b5fd8,this['_uiPartsService']=_0x19162d,this[_0xf04899(0x11a)](),this[_0xf04899(0xc4)]());}[_0x413596(0xc4)](){const _0x538c20=_0x413596;this[_0x538c20(0x1e3)](this[_0x538c20(0x195)][_0x538c20(0x1ef)]['pipe'](_0x38016b(()=>{const _0x2178c5=_0x538c20,_0x2d8090=this[_0x2178c5(0x195)]['getFocusedUnit']();return _0x2d8090?this[_0x2178c5(0x20a)]['getCollabEntity$'](_0x2d8090['getUnitId']()):_0x4bcc5d(null);}),_0x38016b(_0x4acba3=>_0x4acba3?_0x4acba3[_0x538c20(0xef)]:_0x4bcc5d(_0x585abf[_0x538c20(0x284)])))[_0x538c20(0x1b2)](_0x202b12=>{const _0xa49410=_0x538c20;this[_0xa49410(0x1e0)][_0xa49410(0x230)](_0x202b12);}));}[_0x413596(0x11a)](){const _0x33c9d3=_0x413596;this[_0x33c9d3(0x1e3)](this[_0x33c9d3(0xca)][_0x33c9d3(0x27b)](_0x3033ac[_0x33c9d3(0x1f6)],()=>_0x3d12a4(Ki({'status$':this['_status$'][_0x33c9d3(0xab)]()}),this[_0x33c9d3(0x226)])));}};te=Gi([Q(0x0,_0x4e2e81),Q(0x1,_0x362084(_0x2968e0)),Q(0x2,_0x362084(_0x36a898)),Q(0x3,_0x13e3f6)],te);function Ki(_0x345861){const {status$:_0x449c66}=_0x345861;return function(){return _0xf2d664(Vi,{'status$':_0x449c66});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x2ca86d,_0x2311f8,_0x4ec25c,_0x4da9f9)=>{const _0x50ffd5=_0x413596;for(var _0xf59cfc=_0x4da9f9>0x1?void 0x0:_0x4da9f9?zi(_0x2311f8,_0x4ec25c):_0x2311f8,_0x22c82f=_0x2ca86d[_0x50ffd5(0x159)]-0x1,_0x5d78b1;_0x22c82f>=0x0;_0x22c82f--)(_0x5d78b1=_0x2ca86d[_0x22c82f])&&(_0xf59cfc=_0x5d78b1(_0xf59cfc)||_0xf59cfc);return _0xf59cfc;},B=(_0x3cf791,_0x5860b0)=>(_0x5bdc54,_0x211749)=>_0x5860b0(_0x5bdc54,_0x211749,_0x3cf791);let se=class extends _0x198a25{constructor(_0x11ea13,_0x4a4828,_0x189eec,_0x83dac2,_0x2e0891,_0x1b0900){const _0x3de3dc=_0x413596;super(),this[_0x3de3dc(0x1c6)]=_0x11ea13,this['_localCacheService']=_0x4a4828,this[_0x3de3dc(0x205)]=_0x189eec,this['_messageService']=_0x83dac2,this['_notificationService']=_0x2e0891,this['_localeService']=_0x1b0900,this['_setupBeforeClosingHandler'](),this[_0x3de3dc(0xe4)]();}[_0x413596(0x24c)](){const _0x4cf16d=_0x413596;this['disposeWithMe'](this[_0x4cf16d(0x1c6)]['registerBeforeClose'](()=>{const _0x512a17=_0x4cf16d;if(this[_0x512a17(0x101)][_0x512a17(0x161)][_0x512a17(0x190)])return this[_0x512a17(0x174)]['t'](_0x512a17(0x1c8));}));}[_0x413596(0xe4)](){const _0x470734=_0x413596;this[_0x470734(0x1e3)](this['_collaborationUIEventService']['event$'][_0x470734(0x1b2)](_0x5643f8=>{const _0x30f950=_0x470734;_0x5643f8['id']===_0x5bc7a6[_0x30f950(0x156)]&&this['_messageService'][_0x30f950(0x1b0)]({'type':_0x9ba7f1['Warning'],'content':this[_0x30f950(0x174)]['t']('collaboration.single-unit.warning')}),_0x5643f8['id']===_0x5bc7a6['CLOSE_ROOM']&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x1b3)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x5643f8['id']===_0x5bc7a6['PERMISSION_DENIED']&&this[_0x30f950(0x25f)][_0x30f950(0x1b0)]({'title':this['_localeService']['t'](_0x30f950(0xc1)),'content':this[_0x30f950(0x174)]['t'](_0x30f950(0x191)),'type':_0x30f950(0xe3),'duration':0x0}),_0x5643f8['id']===_0x5bc7a6['CONFLICT']&&this[_0x30f950(0x185)]['show']({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this[_0x30f950(0x174)]['t']('collaboration.closeRoom')+'('+_0x5643f8['data']+')'}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0xb4)]&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1['Warning'],'content':this[_0x30f950(0x174)]['t'](_0x5643f8['data']||'')}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0x26f)]&&this['_messageService']['show']({'type':_0x9ba7f1[_0x30f950(0x1b3)],'content':this[_0x30f950(0x174)]['t'](_0x30f950(0x11b))}),_0x5643f8['id']===_0x5bc7a6['SOCKET_FAILED']&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this['_localeService']['t'](_0x30f950(0x18f))}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0xff)]&&this['_messageService'][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this[_0x30f950(0x174)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0xea0d75),B(0x1,_0x199ef1),B(0x2,_0x362084(_0x204ef4)),B(0x3,_0x3b2aca),B(0x4,_0x2a6f8f),B(0x5,_0x362084(_0x51d464))],se);const Zi=_0x413596(0x211),et={},Ut=_0x263de1(_0x413596(0x19a));var Qi=Object[_0x413596(0x24f)],qi=(_0x3605f4,_0x431abf,_0xb73036,_0x21558e)=>{const _0x45af05=_0x413596;for(var _0x4693b4=_0x21558e>0x1?void 0x0:_0x21558e?Qi(_0x431abf,_0xb73036):_0x431abf,_0x419fef=_0x3605f4[_0x45af05(0x159)]-0x1,_0x3f1431;_0x419fef>=0x0;_0x419fef--)(_0x3f1431=_0x3605f4[_0x419fef])&&(_0x4693b4=_0x3f1431(_0x4693b4)||_0x4693b4);return _0x4693b4;},G=(_0x460b34,_0x167a00)=>(_0x2a337e,_0x2282b4)=>_0x167a00(_0x2a337e,_0x2282b4,_0x460b34);let ie=class extends _0x3aeb14{constructor(_0x488009,_0x1aadba,_0x34c4ec,_0x30ed71,_0x5dba85){const _0x59d852=_0x413596;super(),this[_0x59d852(0x1be)]=_0x488009,this['_logService']=_0x1aadba,this[_0x59d852(0xc5)]=_0x34c4ec,this['_dataLoaderService']=_0x30ed71,_0x5dba85?_0x5dba85==null||_0x5dba85['whenReady']()[_0x59d852(0x20e)](()=>this[_0x59d852(0x10b)]()):(this[_0x59d852(0x200)]['debug'](_0x59d852(0x182),_0x59d852(0x173)),this['_init']());}async['_init'](){const _0x39b0be=_0x413596,_0x3812d3=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)](_0x39b0be(0x223)),_0x1fd989=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)]('type'),_0x5933d9=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)](_0x39b0be(0x216));if(!_0x3812d3||!_0x1fd989){this[_0x39b0be(0x200)][_0x39b0be(0x212)](_0x39b0be(0x182),_0x39b0be(0x12d));return;}const _0x529fcc=await this[_0x39b0be(0x1a2)][_0x39b0be(0x16b)](_0x3812d3,Number(_0x1fd989),_0x5933d9);_0x529fcc&&_0x529fcc instanceof _0x2f9d4f&&this[_0x39b0be(0x16a)](_0x529fcc);}async[_0x413596(0x16a)](_0x101be1){const _0x554c3e=_0x413596;await this[_0x554c3e(0x169)](_0x101be1),_0x101be1[_0x554c3e(0x167)][_0x554c3e(0x139)](_0x88d5f6(this['dispose$']))['subscribe'](_0xe2494c=>{const _0xa8250e=_0x554c3e;_0xe2494c&&this[_0xa8250e(0x26d)](_0xe2494c);}),this[_0x554c3e(0x1be)]['urlChange$'][_0x554c3e(0x139)](_0x88d5f6(this[_0x554c3e(0x135)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x101be1));}[_0x413596(0x26d)](_0x358fd8,_0x49107b=!0x1){const _0xc1f814=_0x413596,_0x410eb7=this['_urlService'][_0xc1f814(0x23a)](_0xc1f814(0x216));_0x358fd8['getSheetId']()!==_0x410eb7&&this[_0xc1f814(0x1be)][_0xc1f814(0x1ed)](_0xc1f814(0x216),_0x358fd8[_0xc1f814(0x1c1)](),_0x49107b);}async[_0x413596(0x169)](_0x401ce6){const _0x58f3f3=_0x413596;var _0x1c87e3;const _0xd43f3f=this['_urlService']['getParam'](_0x58f3f3(0x216));if(!_0xd43f3f||!_0x401ce6[_0x58f3f3(0x187)](_0xd43f3f)){const _0x51a7bd=_0x401ce6[_0x58f3f3(0xe2)]()[0x0],_0x1d3e1b=_0x401ce6['getSheetBySheetId'](_0x51a7bd);if(!_0x1d3e1b)return;this[_0x58f3f3(0x26d)](_0x1d3e1b,!0x0),await this[_0x58f3f3(0xc5)][_0x58f3f3(0xde)](_0x9b4515['id'],{'unitId':_0x401ce6[_0x58f3f3(0x1af)](),'subUnitId':_0x51a7bd});return;}((_0x1c87e3=_0x401ce6['getActiveSheet']())==null?void 0x0:_0x1c87e3[_0x58f3f3(0x1c1)]())!==_0xd43f3f&&await this[_0x58f3f3(0xc5)][_0x58f3f3(0xde)](_0x9b4515['id'],{'unitId':_0x401ce6['getUnitId'](),'subUnitId':_0xd43f3f});}};ie=qi([G(0x0,Ut),G(0x1,_0x1f4bb7),G(0x2,_0x1e22ba),G(0x3,_0x362084(_0x1b5ec3)),G(0x4,_0x5bbfcc(_0x304e71))],ie);var en=Object[_0x413596(0x24f)],tn=(_0x2d8735,_0x5c7e16,_0x5449ae,_0x1696da)=>{for(var _0x198dc2=_0x1696da>0x1?void 0x0:_0x1696da?en(_0x5c7e16,_0x5449ae):_0x5c7e16,_0x46a57f=_0x2d8735['length']-0x1,_0x33d12d;_0x46a57f>=0x0;_0x46a57f--)(_0x33d12d=_0x2d8735[_0x46a57f])&&(_0x198dc2=_0x33d12d(_0x198dc2)||_0x198dc2);return _0x198dc2;},pe=(_0x5431f3,_0x478b51)=>(_0x46e4f3,_0x1a77b5)=>_0x478b51(_0x46e4f3,_0x1a77b5,_0x5431f3);let ne=class{constructor(_0x407de7,_0x360e0d,_0x3f63e2){const _0x53f714=_0x413596;this[_0x53f714(0x226)]=_0x407de7,this[_0x53f714(0x142)]=_0x360e0d,this[_0x53f714(0x268)]=_0x3f63e2;}[_0x413596(0x157)](_0x54dc07){const _0x4ac042=_0x413596;this[_0x4ac042(0x18a)](_0x54dc07),this['_transformPreviousActiveRange'](_0x54dc07);}[_0x413596(0x281)](_0x41d0ce){const _0x2dde15=_0x413596,{unitID:_0x317136}=_0x41d0ce,_0x4daa38=this[_0x2dde15(0x268)][_0x2dde15(0xb5)](_0x317136)[_0x2dde15(0x19e)](_0x3405ba),{redoCache:_0x1f1bba}=_0x4daa38[_0x2dde15(0x1d5)]();if(_0x1f1bba[_0x2dde15(0x159)]===0x0)return _0x41d0ce;let _0x87b881=_0x3fddc8[_0x2dde15(0x148)](_0x41d0ce[_0x2dde15(0xda)][0x0]);for(let _0x5ebda8=0x0;_0x5ebda8<_0x1f1bba[_0x2dde15(0x159)];_0x5ebda8++){const _0x4222c3={'id':_0x2dde15(0x247),'params':{..._0x1f1bba[_0x5ebda8]}},_0x424ca3=this[_0x2dde15(0x142)]['transformMutation'](_0x87b881,_0x4222c3,!0x1);if(_0xf6ede4(_0x424ca3))throw _0x424ca3[_0x2dde15(0xe3)];_0x87b881=_0x424ca3['m1Prime'];}return{..._0x3fddc8[_0x2dde15(0x148)](_0x41d0ce),'mutations':[_0x87b881]};}[_0x413596(0x18a)](_0x38731d){const _0x5cd51e=_0x413596,{unitID:_0x12a67d}=_0x38731d,_0x5eb22c=this[_0x5cd51e(0x268)][_0x5cd51e(0xb5)](_0x12a67d)[_0x5cd51e(0x19e)](_0x3405ba),{undoCache:_0x164b5e,redoCache:_0x4ba991}=_0x5eb22c[_0x5cd51e(0x1d5)]();if(_0x164b5e[_0x5cd51e(0x159)]===0x0||_0x4ba991[_0x5cd51e(0x159)]===0x0)return;const _0x53fcc3=[],_0x2fae95=[];let _0x191e62=_0x3fddc8[_0x5cd51e(0x148)](_0x38731d[_0x5cd51e(0xda)][0x0]),_0xfc0afe=_0x3fddc8[_0x5cd51e(0x148)](_0x38731d[_0x5cd51e(0xda)][0x0]);for(let _0x4957d3=_0x164b5e[_0x5cd51e(0x159)]-0x1;_0x4957d3>=0x0;_0x4957d3--){const _0x9b5445={'id':'doc.mutation.rich-text-editing','params':{..._0x164b5e[_0x4957d3]}},_0x23234d={'id':_0x5cd51e(0x247),'params':{..._0x4ba991[_0x4957d3]}},_0x3264b1=this['_transformService'][_0x5cd51e(0x1fd)](_0x191e62,_0x9b5445,!0x1),_0x1087b4=this[_0x5cd51e(0x142)][_0x5cd51e(0x1fd)](_0xfc0afe,_0x23234d,!0x1);if(_0xf6ede4(_0x3264b1))throw _0x3264b1[_0x5cd51e(0xe3)];if(_0xf6ede4(_0x1087b4))throw _0x1087b4[_0x5cd51e(0xe3)];_0x53fcc3[_0x5cd51e(0xa4)](_0x3264b1[_0x5cd51e(0xf2)]['params']),_0x2fae95[_0x5cd51e(0xa4)](_0x1087b4['m2Prime']['params']),_0x191e62=_0x3264b1[_0x5cd51e(0x17e)],_0xfc0afe=_0x1087b4[_0x5cd51e(0x17e)];}_0x5eb22c['setUndoRedoMutationParamsCache']({'undoCache':_0x53fcc3,'redoCache':_0x2fae95});}['_transformPreviousActiveRange'](_0x4679ef){const _0xab47c0=_0x413596,{unitID:_0x14a3d3}=_0x4679ef,_0x27ac75=this[_0xab47c0(0x268)][_0xab47c0(0xb5)](_0x14a3d3)[_0xab47c0(0x19e)](_0x3405ba),_0x57b026=_0x27ac75[_0xab47c0(0x1fa)]();if(_0x57b026==null)return;const _0x22a1d1=[{'id':_0xab47c0(0x247),'params':{'unitId':_0x4679ef[_0xab47c0(0xce)],'actions':null,'textRanges':[_0x57b026]}}],_0x5e2ac4=this['_transformService']['transformMutationsWithChangeset'](_0x4679ef,_0x22a1d1);if(!_0x4acc04(_0x5e2ac4))throw _0x5e2ac4['error'];const _0x2249f4=_0x5e2ac4[_0xab47c0(0xf2)][0x0]['params']['textRanges'];Array['isArray'](_0x2249f4)&&_0x2249f4[_0xab47c0(0x159)]&&_0x27ac75[_0xab47c0(0xb0)](_0x2249f4[0x0]);}};ne=tn([pe(0x0,_0x362084(_0x2968e0)),pe(0x1,_0x5e4560),pe(0x2,_0x57f11c)],ne);var sn=Object[_0x413596(0x24f)],nn=(_0x15f590,_0x3aa271,_0x38fd2b,_0x275a73)=>{const _0x47626b=_0x413596;for(var _0x10957b=_0x275a73>0x1?void 0x0:_0x275a73?sn(_0x3aa271,_0x38fd2b):_0x3aa271,_0xe54f57=_0x15f590[_0x47626b(0x159)]-0x1,_0xccbaaa;_0xe54f57>=0x0;_0xe54f57--)(_0xccbaaa=_0x15f590[_0xe54f57])&&(_0x10957b=_0xccbaaa(_0x10957b)||_0x10957b);return _0x10957b;},Ce=(_0x357ffa,_0x5ae1ff)=>(_0xa2914a,_0x4a0145)=>_0x5ae1ff(_0xa2914a,_0x4a0145,_0x357ffa);let re=class{constructor(_0x416a6c,_0x36f206,_0x509cb5){const _0x3ccce5=_0x413596;this[_0x3ccce5(0x226)]=_0x416a6c,this[_0x3ccce5(0x142)]=_0x36f206,this[_0x3ccce5(0x23f)]=_0x509cb5;}['transformStateCache'](_0x4be317){this['_transformHistoryAndStateStack'](_0x4be317);}[_0x413596(0x281)](_0x3fc109){const _0x572714=_0x413596,{unitID:_0x17a048}=_0x3fc109,{collaboration:_0x2ce268}=this[_0x572714(0x23f)][_0x572714(0x263)](_0x17a048);if(_0x2ce268[_0x572714(0x159)]===0x0)return _0x3fc109;let _0x1e8328=_0x3fddc8['deepClone'](_0x3fc109[_0x572714(0xda)][0x0]);for(let _0x460e8e=0x0;_0x460e8e<_0x2ce268[_0x572714(0x159)];_0x460e8e++){const _0x488d4c={'id':_0x572714(0x247),'params':{'unitId':_0x2ce268[_0x460e8e]['unitId'],..._0x2ce268[_0x460e8e][_0x572714(0x12b)]}},_0x2c568f=this['_transformService'][_0x572714(0x1fd)](_0x1e8328,_0x488d4c,!0x1);if(_0xf6ede4(_0x2c568f))throw _0x2c568f[_0x572714(0xe3)];_0x1e8328=_0x2c568f[_0x572714(0x17e)];}return{..._0x3fddc8['deepClone'](_0x3fc109),'mutations':[_0x1e8328]};}[_0x413596(0x149)](_0x2daa57){const _0x533ffe=_0x413596,{unitID:_0x2e6833}=_0x2daa57,{history:_0x11dd26,collaboration:_0x130903}=this[_0x533ffe(0x23f)][_0x533ffe(0x263)](_0x2e6833);if(_0x11dd26[_0x533ffe(0x159)]===0x0&&_0x130903[_0x533ffe(0x159)]===0x0)return;const _0x325533=[],_0x58152b=[];let _0x9fb007=_0x3fddc8['deepClone'](_0x2daa57[_0x533ffe(0xda)][0x0]),_0x378183=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]);for(let _0x2e6cb9=_0x11dd26[_0x533ffe(0x159)]-0x1;_0x2e6cb9>=0x0;_0x2e6cb9--){const _0x2e04f2={'id':_0x533ffe(0x247),'params':{'unitId':_0x11dd26[_0x2e6cb9][_0x533ffe(0xdb)],..._0x11dd26[_0x2e6cb9][_0x533ffe(0xd9)]}},_0xbf8289={'id':_0x533ffe(0x247),'params':{'unitId':_0x11dd26[_0x2e6cb9][_0x533ffe(0xdb)],..._0x11dd26[_0x2e6cb9][_0x533ffe(0x12b)]}},_0x408f93=this[_0x533ffe(0x142)]['transformMutation'](_0x9fb007,_0x2e04f2,!0x1),_0x211f81=this[_0x533ffe(0x142)][_0x533ffe(0x1fd)](_0x378183,_0xbf8289,!0x1);if(_0xf6ede4(_0x408f93))throw _0x408f93[_0x533ffe(0xe3)];if(_0xf6ede4(_0x211f81))throw _0x211f81['error'];_0x325533[_0x533ffe(0xa4)]({..._0x11dd26[_0x2e6cb9],'undoState':_0x408f93[_0x533ffe(0xf2)][_0x533ffe(0x274)],'redoState':_0x211f81[_0x533ffe(0xf2)][_0x533ffe(0x274)]}),_0x9fb007=_0x408f93[_0x533ffe(0x17e)],_0x378183=_0x211f81[_0x533ffe(0x17e)];}_0x9fb007=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]),_0x378183=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]);for(let _0x47abf3=_0x130903[_0x533ffe(0x159)]-0x1;_0x47abf3>=0x0;_0x47abf3--){const _0x317b10={'id':_0x533ffe(0x247),'params':{'unitId':_0x130903[_0x47abf3][_0x533ffe(0xdb)],..._0x130903[_0x47abf3][_0x533ffe(0xd9)]}},_0x1e2d4c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x130903[_0x47abf3]['unitId'],..._0x130903[_0x47abf3]['redoState']}},_0x451c05=this[_0x533ffe(0x142)][_0x533ffe(0x1fd)](_0x9fb007,_0x317b10,!0x1),_0x488001=this[_0x533ffe(0x142)]['transformMutation'](_0x378183,_0x1e2d4c,!0x1);if(_0xf6ede4(_0x451c05))throw _0x451c05[_0x533ffe(0xe3)];if(_0xf6ede4(_0x488001))throw _0x488001[_0x533ffe(0xe3)];_0x58152b[_0x533ffe(0xa4)]({..._0x130903[_0x47abf3],'undoState':_0x451c05[_0x533ffe(0xf2)]['params'],'redoState':_0x488001[_0x533ffe(0xf2)][_0x533ffe(0x274)]}),_0x9fb007=_0x451c05[_0x533ffe(0x17e)],_0x378183=_0x488001[_0x533ffe(0x17e)];}this[_0x533ffe(0x23f)]['setStateCache'](_0x2e6833,{'history':_0x325533,'collaboration':_0x58152b});}};re=nn([Ce(0x0,_0x362084(_0x2968e0)),Ce(0x1,_0x5e4560),Ce(0x2,_0x362084(_0x4730e0))],re);var rn=Object[_0x413596(0x24f)],on=(_0x5a18c5,_0x53cd96,_0x4379ee,_0x3f56c5)=>{const _0x3ed3ea=_0x413596;for(var _0x4f10c1=_0x3f56c5>0x1?void 0x0:_0x3f56c5?rn(_0x53cd96,_0x4379ee):_0x53cd96,_0x3f37c1=_0x5a18c5[_0x3ed3ea(0x159)]-0x1,_0x4826f2;_0x3f37c1>=0x0;_0x3f37c1--)(_0x4826f2=_0x5a18c5[_0x3f37c1])&&(_0x4f10c1=_0x4826f2(_0x4f10c1)||_0x4f10c1);return _0x4f10c1;},tt=(_0x2c2d08,_0x1af48e)=>(_0x4ff53a,_0x15db7a)=>_0x1af48e(_0x4ff53a,_0x15db7a,_0x2c2d08);let oe=class{constructor(_0x26a3b7,_0x871d0d){const _0x504afc=_0x413596;this['_injector']=_0x26a3b7,this[_0x504afc(0x142)]=_0x871d0d;}[_0x413596(0xc6)](_0x1562ca){const _0x3284c1=_0x413596;var _0x2cfe3d;const _0x2343df=this['_injector'][_0x3284c1(0x218)](_0x217a30),_0x2bd6b9=(_0x2cfe3d=_0x2343df[_0x3284c1(0x110)]())!=null?_0x2cfe3d:[];if(_0x2bd6b9[_0x3284c1(0x159)]===0x0)return;const _0x4750bd=_0x1562ca['unitID'],_0x182268=[{'id':_0x3284c1(0x247),'params':{'unitId':_0x4750bd,'actions':null,'textRanges':_0x2bd6b9}}],_0x255bb6=this[_0x3284c1(0x142)][_0x3284c1(0x14d)](_0x1562ca,_0x182268);if(!_0x4acc04(_0x255bb6))throw _0x255bb6[_0x3284c1(0xe3)];const _0x5dba3e=_0x255bb6[_0x3284c1(0xf2)][0x0][_0x3284c1(0x274)][_0x3284c1(0x18b)];Array[_0x3284c1(0x17c)](_0x5dba3e)&&_0x5dba3e[_0x3284c1(0x159)]&&_0x2343df['replaceDocRanges'](_0x5dba3e,{'unitId':_0x4750bd,'subUnitId':_0x4750bd},!0x1);}};oe=on([tt(0x0,_0x362084(_0x2968e0)),tt(0x1,_0x5e4560)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2acd86,_0x564aac,_0x4db83f,_0x53f569)=>{const _0x3009b1=_0x413596;for(var _0x255af4=_0x53f569>0x1?void 0x0:_0x53f569?an(_0x564aac,_0x4db83f):_0x564aac,_0x7ecd7=_0x2acd86[_0x3009b1(0x159)]-0x1,_0x165120;_0x7ecd7>=0x0;_0x7ecd7--)(_0x165120=_0x2acd86[_0x7ecd7])&&(_0x255af4=_0x165120(_0x255af4)||_0x255af4);return _0x255af4;},U=(_0x70a714,_0x154201)=>(_0x20cac2,_0x3f8eb1)=>_0x154201(_0x20cac2,_0x3f8eb1,_0x70a714);let ae=class extends _0x198a25{constructor(_0x3c5acd,_0x4b412d,_0x234fe5,_0x2bf18b,_0xf4f0f6,_0x3c2fb5,_0x587ac3,_0x2915e4){const _0x466c7e=_0x413596;super(),_(this,_0x466c7e(0x1e0),new _0x255d07(_0x585abf[_0x466c7e(0x284)])),(this['_docStateChangeManagerService']=_0x3c5acd,this['_collaborationController']=_0x4b412d,this['_docTransformIMECacheService']=_0x234fe5,this[_0x466c7e(0x16d)]=_0x2bf18b,this[_0x466c7e(0x1e5)]=_0xf4f0f6,this[_0x466c7e(0xbc)]=_0x3c2fb5,this['_messageService']=_0x587ac3,this[_0x466c7e(0x174)]=_0x2915e4,this[_0x466c7e(0x26c)]());}[_0x413596(0x26c)](){const _0x59c5f7=_0x413596;this[_0x59c5f7(0x1e3)](this[_0x59c5f7(0x20a)][_0x59c5f7(0x235)][_0x59c5f7(0x1b2)](_0x4f97cd=>{const _0x1020e8=_0x59c5f7,_0x4607f9=this[_0x1020e8(0x23f)][_0x1020e8(0x24a)][_0x1020e8(0x1b2)](_0x48703e=>{const _0x368927=_0x1020e8;if(_0x48703e==null)return;const {unitId:_0x17784b,redoState:_0x2ae98e,commandId:_0xdbe262}=_0x48703e;if(_0x17784b!==_0x4f97cd[_0x368927(0xce)])return;const _0x525f1e={'id':_0xdbe262,'type':_0x38ea4c[_0x368927(0xf0)],'params':{'unitId':_0x17784b,'actions':_0x2ae98e[_0x368927(0xa6)],'textRanges':null}};_0x4f97cd['onLocalMutation'](_0x525f1e);});if(_0x4f97cd['disposeWithMe'](_0x4607f9),_0x4f97cd instanceof _0x4c8f2e){const _0x48f4d7={'onTransformIME':_0x4bbf5b=>this['_docTransformIMECacheService'][_0x1020e8(0x157)](_0x4bbf5b),'onTransformState':_0x5d3f1e=>this[_0x1020e8(0x16d)][_0x1020e8(0x131)](_0x5d3f1e),'onTransformSelections':_0x5cabf4=>this['_docTransformSelectionsService'][_0x1020e8(0xc6)](_0x5cabf4),'onSyncEditingCollabCursor':_0xd37a24=>this[_0x1020e8(0xbc)]['syncEditingCollabCursor'](_0xd37a24),'onTransformRemoteChangesetByIMECache':_0x105ec7=>this[_0x1020e8(0x1d3)][_0x1020e8(0x281)](_0x105ec7),'onTransformRemoteChangesetByStateCache':_0x21c1a3=>this[_0x1020e8(0x16d)][_0x1020e8(0x281)](_0x21c1a3)};_0x4f97cd[_0x1020e8(0xd4)](_0x48f4d7);}}));}};ae=cn([U(0x0,_0x362084(_0x4730e0)),U(0x1,_0x362084(_0x36a898)),U(0x2,_0x362084(ne)),U(0x3,_0x362084(re)),U(0x4,_0x362084(oe)),U(0x5,_0x362084(He)),U(0x6,_0x3b2aca),U(0x7,_0x362084(_0x51d464))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1fe21b,_0x1d0c50,_0x2ce34b,_0x117122)=>{const _0x2956b0=_0x413596;for(var _0x44d05f=_0x117122>0x1?void 0x0:_0x117122?ln(_0x1d0c50,_0x2ce34b):_0x1d0c50,_0x234b58=_0x1fe21b[_0x2956b0(0x159)]-0x1,_0x26418f;_0x234b58>=0x0;_0x234b58--)(_0x26418f=_0x1fe21b[_0x234b58])&&(_0x44d05f=_0x26418f(_0x44d05f)||_0x44d05f);return _0x44d05f;},Ee=(_0x198c5f,_0x24e002)=>(_0x48dfe3,_0x47b65e)=>_0x24e002(_0x48dfe3,_0x47b65e,_0x198c5f);let Le=class extends _0x198a25{constructor(_0x5c173d,_0x344d23,_0xddcc7c){const _0x3f1f9b=_0x413596;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3f1f9b(0x15a),!0x1),(this['_configService']=_0x5c173d,this[_0x3f1f9b(0xf8)]=_0x344d23,this[_0x3f1f9b(0xa9)]=_0xddcc7c);}[_0x413596(0x19d)](){this['_disabled']=!0x0;}[_0x413596(0x289)](){this['_disabled']=!0x1;}get[_0x413596(0x161)](){const _0x1f03db=_0x413596;return this[_0x1f03db(0x13c)];}[_0x413596(0x27f)](){const _0x2d64d8=_0x413596;this[_0x2d64d8(0x1a5)]()['then'](()=>super[_0x2d64d8(0x27f)]());}async[_0x413596(0x13a)](_0x261f7a){const _0x1fb45d=_0x413596;return this[_0x1fb45d(0x15a)]?null:this[_0x1fb45d(0xf8)][_0x1fb45d(0x22a)](_0x221855(_0x261f7a));}async['saveOfflineData'](_0x106291,_0x188617){const _0x28b861=_0x413596;return!!this[_0x28b861(0xf8)]['setItem'](_0x106291,_0x188617);}[_0x413596(0x1e7)](_0x2ef985,_0x566846,_0x566673,_0x57b0){const _0x299493=_0x413596,_0x5a8ac3=this['_revisionService'][_0x299493(0x27c)](_0x2ef985);this[_0x299493(0x279)][_0x299493(0x27d)](_0x2ef985,{'unitID':_0x2ef985,'type':_0x566846,'awaitingChangeset':_0x566673,'mutations':_0x57b0,'rev':_0x5a8ac3}),this['_saveTaskMap'][_0x299493(0xb7)](_0x2ef985)||this[_0x299493(0x18d)](_0x2ef985);}[_0x413596(0x18d)](_0x43e82){const _0x198053=_0x413596,_0xf1eec=this['_getSaveTimeout']();_0xf1eec===0x0?this[_0x198053(0x109)](_0x43e82):this[_0x198053(0x13c)][_0x198053(0x27d)](_0x43e82,setTimeout(()=>this[_0x198053(0x109)](_0x43e82),_0xf1eec));}['_getSaveTimeout'](){const _0x3026ce=_0x413596;var _0x489634;return(_0x489634=this[_0x3026ce(0x278)][_0x3026ce(0x1e9)](_0x3aa1a7))!=null?_0x489634:_0x1aa74e;}[_0x413596(0x109)](_0x41f3da){const _0x3ba886=_0x413596,_0x5534b5=this[_0x3ba886(0x13c)][_0x3ba886(0x218)](_0x41f3da);return _0x5534b5!==void 0x0&&window['clearTimeout'](_0x5534b5),this[_0x3ba886(0xf8)]['setItem'](_0x221855(_0x41f3da),this[_0x3ba886(0x279)]['get'](_0x41f3da))[_0x3ba886(0x20e)](()=>this[_0x3ba886(0x13c)][_0x3ba886(0x21f)](_0x41f3da));}async[_0x413596(0x1a5)](){const _0x333550=_0x413596,_0x3a4f3b=[];this[_0x333550(0x13c)][_0x333550(0x1f3)]((_0x22cafa,_0x5cc8a1)=>{const _0x1adaa0=_0x333550;window[_0x1adaa0(0x253)](_0x22cafa),_0x3a4f3b['push'](this['_saveCache'](_0x5cc8a1)[_0x1adaa0(0x20e)](()=>{const _0x4339d3=_0x1adaa0;this[_0x4339d3(0x13c)][_0x4339d3(0x21f)](_0x5cc8a1);}));}),await Promise[_0x333550(0x1d4)](_0x3a4f3b);}};Le=_n([Ee(0x0,_0x15ca58),Ee(0x1,_0xfd4744),Ee(0x2,_0x362084(_0x594811))],Le);class hn extends _0x3aeb14{constructor(){const _0x95e812=_0x413596;super(),_(this,_0x95e812(0x15d)),this[_0x95e812(0x15d)]=_0x17f30b(window,_0x95e812(0x165))[_0x95e812(0x139)](_0x88d5f6(this['dispose$']),_0x4b6943(0x1),_0xd14b14(void 0x0));}[_0x413596(0x1ed)](_0x5c21d7,_0x1752cf,_0x4e7f97=!0x1){const _0x379e7a=_0x413596,_0x19bb5e=new URL(window['location'][_0x379e7a(0x248)]);_0x19bb5e[_0x379e7a(0x270)][_0x379e7a(0x27d)](_0x5c21d7,_0x1752cf),_0x4e7f97?window[_0x379e7a(0x1df)][_0x379e7a(0xbb)]('','',_0x19bb5e[_0x379e7a(0x20f)]()):window[_0x379e7a(0x1df)][_0x379e7a(0xd3)]('','',_0x19bb5e[_0x379e7a(0x20f)]());}[_0x413596(0x179)](_0xff5a39,_0x2b48f6=!0x1){const _0xc0bff6=_0x413596,_0x203bca=new URL(window['location'][_0xc0bff6(0x248)]);_0x203bca['searchParams'][_0xc0bff6(0x21f)](_0xff5a39),_0x2b48f6?window[_0xc0bff6(0x1df)][_0xc0bff6(0xbb)]('','',_0x203bca[_0xc0bff6(0x20f)]()):window[_0xc0bff6(0x1df)][_0xc0bff6(0xd3)]('','',_0x203bca[_0xc0bff6(0x20f)]());}[_0x413596(0x23a)](_0x5e55a3){const _0x3ce515=_0x413596;var _0x21bd6a;return(_0x21bd6a=new URL(window[_0x3ce515(0x243)][_0x3ce515(0x248)])['searchParams'][_0x3ce515(0x218)](_0x5e55a3))!=null?_0x21bd6a:void 0x0;}}var un=Object[_0x413596(0x128)],dn=Object[_0x413596(0x24f)],fn=(_0x3262ce,_0x5241e4,_0x3d82ef)=>_0x5241e4 in _0x3262ce?un(_0x3262ce,_0x5241e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d82ef}):_0x3262ce[_0x5241e4]=_0x3d82ef,Sn=(_0x860243,_0x3380a9,_0x5b29ee,_0x56502c)=>{const _0x4dcd79=_0x413596;for(var _0x102f6f=_0x56502c>0x1?void 0x0:_0x56502c?dn(_0x3380a9,_0x5b29ee):_0x3380a9,_0x49d52c=_0x860243[_0x4dcd79(0x159)]-0x1,_0x410afb;_0x49d52c>=0x0;_0x49d52c--)(_0x410afb=_0x860243[_0x49d52c])&&(_0x102f6f=_0x410afb(_0x102f6f)||_0x102f6f);return _0x102f6f;},Oe=(_0x51f662,_0x131bed)=>(_0x479dce,_0x278bb8)=>_0x131bed(_0x479dce,_0x278bb8,_0x51f662),mn=(_0x4ee62f,_0x3f9a8f,_0x4e581e)=>fn(_0x4ee62f,_0x3f9a8f+'',_0x4e581e);const In=_0x413596(0x1b4);let Ae=class extends _0x1d2d24{constructor(_0x30a902=et,_0x2e0183,_0x4c6d6b,_0xc7a9aa){const _0x33c5f5=_0x413596;super(),this[_0x33c5f5(0x25e)]=_0x30a902,this[_0x33c5f5(0x268)]=_0x2e0183,this[_0x33c5f5(0x226)]=_0x4c6d6b,this[_0x33c5f5(0x278)]=_0xc7a9aa;const {..._0x25dcc3}=_0x222a1e({},et,this[_0x33c5f5(0x25e)]);this[_0x33c5f5(0x278)][_0x33c5f5(0x127)](Zi,_0x25dcc3);}[_0x413596(0x210)](){const _0x100093=_0x413596;this['_registerDependencies'](),this[_0x100093(0x144)]();}['onRendered'](){const _0x1aa5b7=_0x413596;this[_0x1aa5b7(0xc8)]();}[_0x413596(0x27e)](){const _0x37b226=_0x413596;var _0x4b9302;const _0x3bf074=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2f9e5d,{'useClass':_0x59fba2}],[_0x199ef1,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x5f53f1(this['_injector'],_0x1404cb(_0x3bf074,(_0x4b9302=this[_0x37b226(0x25e)])==null?void 0x0:_0x4b9302[_0x37b226(0x208)]));}[_0x413596(0xc8)](){const _0x3af5d4=_0x413596;this['disposeWithMe'](this[_0x3af5d4(0x268)][_0x3af5d4(0xe8)](_0x186adf[_0x3af5d4(0x9f)],[we])),this['disposeWithMe'](this[_0x3af5d4(0x268)][_0x3af5d4(0xe8)](_0x186adf[_0x3af5d4(0x154)],[Pe]));}[_0x413596(0x144)](){const _0x15cb21=_0x413596;_0xb6198f(this[_0x15cb21(0x226)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x413596(0x158),In),Ae=Sn([_0x516184(_0x2ddb3b),Oe(0x1,_0x57f11c),Oe(0x2,_0x362084(_0x2968e0)),Oe(0x3,_0x15ca58)],Ae);var gn=Object[_0x413596(0x24f)],vn=(_0x30ca66,_0x50dc80,_0x5220e5,_0x9d0026)=>{for(var _0x7db2fa=_0x9d0026>0x1?void 0x0:_0x9d0026?gn(_0x50dc80,_0x5220e5):_0x50dc80,_0x222d1d=_0x30ca66['length']-0x1,_0x5aa9bc;_0x222d1d>=0x0;_0x222d1d--)(_0x5aa9bc=_0x30ca66[_0x222d1d])&&(_0x7db2fa=_0x5aa9bc(_0x7db2fa)||_0x7db2fa);return _0x7db2fa;},K=(_0x39fbda,_0x946217)=>(_0x238525,_0x27f7c2)=>_0x946217(_0x238525,_0x27f7c2,_0x39fbda);let st=class extends _0x4b5ccb{constructor(_0x4eb774,_0x3d9530,_0x39637c,_0x384a10,_0x3999bd){super(_0x4eb774,_0x3d9530,_0x39637c,_0x384a10,_0x3999bd);}async[_0x413596(0x287)](_0x16d758){const _0x44c224=_0x413596,_0x7d5131=await this[_0x44c224(0x121)](),_0xa9268d=this[_0x44c224(0xcf)](_0x16d758,_0x7d5131);return this[_0x44c224(0x166)](_0xa9268d);}[_0x413596(0xcf)](_0x52609e,_0x257a46){const _0x5c0f99=_0x413596,_0x9be374=typeof window>'u'?new URL(_0x52609e):new URL(_0x52609e,window[_0x5c0f99(0x243)][_0x5c0f99(0x256)]);_0x9be374[_0x5c0f99(0x270)][_0x5c0f99(0x27d)](_0x5c0f99(0x275),_0x257a46);const _0x204640=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5c0f99(0x243)][_0x5c0f99(0xe5)]);return _0x204640[_0x5c0f99(0x218)]('runId')&&_0x9be374[_0x5c0f99(0x270)][_0x5c0f99(0x27d)]('runId',_0x204640[_0x5c0f99(0x218)](_0x5c0f99(0x145))),_0x9be374[_0x5c0f99(0x20f)]();}async[_0x413596(0x121)](){const _0x5f368e=_0x413596;var _0x365d6f,_0x4f22a6,_0x53638d;const _0x3d737c=this[_0x5f368e(0x278)][_0x5f368e(0x1e9)](_0x1bb3c5),_0x3b9c62=(_0x365d6f=_0x3d737c==null?void 0x0:_0x3d737c[_0x5f368e(0x267)])!=null?_0x365d6f:_0x5d8345;return(_0x53638d=(_0x4f22a6=(await this['_httpService'][_0x5f368e(0x218)](_0x3b9c62,{'headers':{'Content-Type':_0x5f368e(0x25b)}}))[_0x5f368e(0x16e)])==null?void 0x0:_0x4f22a6['ticket'])!=null?_0x53638d:'';}};st=vn([K(0x0,_0x362084(_0x2968e0)),K(0x1,_0x362084(_0x57e486)),K(0x2,_0x15ca58),K(0x3,_0x1f4bb7),K(0x4,_0x2b7d3e)],st);const it=0x7530,nt=_0x413596(0x282);class jn extends _0x198a25{constructor(){const _0x47888a=_0x413596;super(),_(this,_0x47888a(0x1ab),_0x546d4a()),_(this,_0x47888a(0x271),new Set()),_(this,_0x47888a(0x272),new Map()),_(this,_0x47888a(0x240),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x47888a(0x138),new Map()),this[_0x47888a(0x10b)]();}[_0x413596(0x27f)](){const _0x1c183b=_0x413596;super['dispose'](),this[_0x1c183b(0x221)][_0x1c183b(0x1f3)]((_0x36f898,_0x1aa04f)=>this[_0x1c183b(0x237)](_0x1aa04f)),this[_0x1c183b(0x240)]&&window['clearInterval'](this[_0x1c183b(0x240)]);}[_0x413596(0x1c2)](_0x4b2695){const _0x454dde=_0x413596;return this[_0x454dde(0x264)](_0x4b2695)[_0x454dde(0x139)](_0x16a975());}[_0x413596(0x1ee)](_0x533eb0){const _0x339e38=_0x413596;this[_0x339e38(0x271)][_0x339e38(0x190)]===0x0&&this[_0x339e38(0x177)](),this[_0x339e38(0x271)]['add'](_0x533eb0),this[_0x339e38(0xee)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x533eb0],'isForwarded':!0x1});}['disposeUnit'](_0x2a1310){const _0x421f75=_0x413596;this[_0x421f75(0x271)][_0x421f75(0x21f)](_0x2a1310),this['_selfUnitIDs'][_0x421f75(0x190)]===0x0&&this[_0x421f75(0x240)]&&window['clearInterval'](this[_0x421f75(0x240)]);}['_init'](){const _0x4e6966=_0x413596;this[_0x4e6966(0x1e3)](_0x2eb536(_0x17f30b(window,_0x4e6966(0x143))['subscribe'](_0x5606f8=>{const _0x436e21=_0x4e6966;if(_0x5606f8['key']!==nt||!_0x5606f8[_0x436e21(0xfb)])return;const _0x6c5e=JSON[_0x436e21(0x207)](_0x5606f8[_0x436e21(0xfb)]);this[_0x436e21(0x28e)](_0x6c5e);}))),window[_0x4e6966(0x231)](_0x4e6966(0x100),()=>this['_send']({'type':0x1,'memberID':this[_0x4e6966(0x1ab)],'unitIDs':Array[_0x4e6966(0x15f)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x4f552f){const _0x7fc1d=_0x413596;switch(_0x4f552f['type']){case 0x0:this['_handleJoinEvent'](_0x4f552f);break;case 0x1:this[_0x7fc1d(0x229)](_0x4f552f);break;case 0x2:this[_0x7fc1d(0x219)](_0x4f552f);break;}}[_0x413596(0x1bd)](_0x295b79){const _0x55b056=_0x413596,{unitIDs:_0x3bc068,memberID:_0x18f39d,isForwarded:_0x432ea7}=_0x295b79;_0x3bc068['forEach'](_0x9a3d77=>{const _0x5c8884=_0x7d44;if(!_0x432ea7&&this[_0x5c8884(0x272)][_0x5c8884(0xb7)](_0x9a3d77)&&this[_0x5c8884(0x264)](_0x9a3d77)['next'](_0x240875['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x9a3d77)||!this['_unitOnClients']['get'](_0x9a3d77)['has'](_0x18f39d)){const _0x19fe99=this[_0x5c8884(0x272)][_0x5c8884(0x218)](_0x9a3d77)||new Set();_0x19fe99['add'](_0x18f39d),this[_0x5c8884(0x272)][_0x5c8884(0x27d)](_0x9a3d77,_0x19fe99),this[_0x5c8884(0xcb)](_0x18f39d);}}),_0x432ea7||this['_send']({'type':0x0,'memberID':this[_0x55b056(0x1ab)],'unitIDs':[...this[_0x55b056(0x271)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x146cab){const _0x138049=_0x413596;this[_0x138049(0x237)](_0x146cab);const _0x14b7c9=window[_0x138049(0xfc)](()=>{const _0x2d790a=_0x138049;this['_unitOnClients'][_0x2d790a(0x1f3)](_0x51a132=>{_0x51a132['delete'](_0x146cab);});},it*0x2);this['_clearOtherTimers']['set'](_0x146cab,_0x14b7c9);}[_0x413596(0x237)](_0x441ead){const _0x5ba9ea=_0x413596;if(this[_0x5ba9ea(0x221)][_0x5ba9ea(0xb7)](_0x441ead)){const _0x3cb383=this[_0x5ba9ea(0x221)]['get'](_0x441ead);_0x3cb383&&window[_0x5ba9ea(0x253)](_0x3cb383),this[_0x5ba9ea(0x221)][_0x5ba9ea(0x27d)](_0x441ead,null);}}[_0x413596(0x229)](_0x127c2c){const _0x58c2df=_0x413596,{memberID:_0x19dbcc,unitIDs:_0x547639}=_0x127c2c;_0x547639[_0x58c2df(0x1f3)](_0x5f309b=>{const _0x4bb9b3=_0x58c2df;var _0x31bdd5;const _0x1e91e4=this['_unitOnClients'][_0x4bb9b3(0x218)](_0x5f309b);_0x1e91e4&&(_0x1e91e4[_0x4bb9b3(0x21f)](_0x19dbcc),(_0x31bdd5=this[_0x4bb9b3(0x264)](_0x5f309b))==null||_0x31bdd5['next'](_0x1e91e4[_0x4bb9b3(0x190)]===0x0?_0x240875[_0x4bb9b3(0xea)]:_0x240875[_0x4bb9b3(0x199)]));}),this[_0x58c2df(0x237)](_0x19dbcc);}[_0x413596(0x219)](_0x2bdedf){const _0x578cf0=_0x413596;this[_0x578cf0(0xcb)](_0x2bdedf[_0x578cf0(0xcc)]);}[_0x413596(0xee)](_0x550bda){const _0x238b22=_0x413596;localStorage[_0x238b22(0x106)](nt,JSON[_0x238b22(0x123)](_0x550bda));}[_0x413596(0x177)](){const _0x185a45=_0x413596;this[_0x185a45(0x240)]=window[_0x185a45(0xa1)](()=>{const _0x8fb282=_0x185a45;this[_0x8fb282(0xee)]({'type':0x2,'memberID':this[_0x8fb282(0x1ab)]});},it);}[_0x413596(0x264)](_0x38eb2f){const _0x4c1fc5=_0x413596;return this[_0x4c1fc5(0x138)][_0x4c1fc5(0xb7)](_0x38eb2f)||this[_0x4c1fc5(0x138)][_0x4c1fc5(0x27d)](_0x38eb2f,new _0x255d07(_0x240875[_0x4c1fc5(0xea)])),this[_0x4c1fc5(0x138)][_0x4c1fc5(0x218)](_0x38eb2f);}}var Mt=(_0x2afb4b=>(_0x2afb4b[_0x2afb4b[_0x413596(0x258)]=0x0]='UNDEFINED',_0x2afb4b[_0x2afb4b['OK']=0x1]='OK',_0x2afb4b[_0x2afb4b[_0x413596(0x21e)]=0x2]=_0x413596(0x21e),_0x2afb4b[_0x2afb4b[_0x413596(0x116)]=0x3]=_0x413596(0x116),_0x2afb4b[_0x2afb4b[_0x413596(0x239)]=0x4]=_0x413596(0x239),_0x2afb4b[_0x2afb4b[_0x413596(0x111)]=0x5]=_0x413596(0x111),_0x2afb4b[_0x2afb4b[_0x413596(0x20b)]=0x6]='ALREADY_EXISTS',_0x2afb4b[_0x2afb4b[_0x413596(0x132)]=0x7]=_0x413596(0x132),_0x2afb4b[_0x2afb4b['TOO_MANY_REQUESTS']=0x8]=_0x413596(0x255),_0x2afb4b[_0x2afb4b['COMPLETION_FINISHED']=0x9]=_0x413596(0x10c),_0x2afb4b[_0x2afb4b[_0x413596(0x1e6)]=0xa]=_0x413596(0x1e6),_0x2afb4b[_0x2afb4b[_0x413596(0x193)]=0x1389]=_0x413596(0x193),_0x2afb4b[_0x2afb4b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2afb4b[_0x2afb4b[_0x413596(0x184)]=0x1772]=_0x413596(0x184),_0x2afb4b[_0x2afb4b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x413596(0x18c),_0x2afb4b[_0x2afb4b[_0x413596(0x9a)]=0x1b59]=_0x413596(0x9a),_0x2afb4b[_0x2afb4b[_0x413596(0x1f7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2afb4b[_0x2afb4b[_0x413596(0x160)]=0x1b5b]=_0x413596(0x160),_0x2afb4b[_0x2afb4b[_0x413596(0x1b7)]=0x1b5c]=_0x413596(0x1b7),_0x2afb4b[_0x2afb4b['APPLY_DUPLICATED']=0x1b5d]=_0x413596(0x233),_0x2afb4b[_0x2afb4b[_0x413596(0x11e)]=0x1f41]=_0x413596(0x11e),_0x2afb4b[_0x2afb4b[_0x413596(0x194)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2afb4b[_0x2afb4b[_0x413596(0x22c)]=0x232a]=_0x413596(0x22c),_0x2afb4b[_0x2afb4b[_0x413596(0x13d)]=0x232b]=_0x413596(0x13d),_0x2afb4b[_0x2afb4b[_0x413596(0x16f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2afb4b[_0x2afb4b[_0x413596(0x22e)]=0x232d]=_0x413596(0x22e),_0x2afb4b[_0x2afb4b[_0x413596(0x1a6)]=0x2711]=_0x413596(0x1a6),_0x2afb4b[_0x2afb4b[_0x413596(0x108)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2afb4b[_0x2afb4b[_0x413596(0x11f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2afb4b[_0x2afb4b[_0x413596(0x1c4)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2afb4b[_0x2afb4b[_0x413596(0x9c)]=0x271a]=_0x413596(0x9c),_0x2afb4b[_0x2afb4b[_0x413596(0xbf)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2afb4b[_0x2afb4b[_0x413596(0x28b)]=0x271c]=_0x413596(0x28b),_0x2afb4b[_0x2afb4b[_0x413596(0x151)]=0x271d]=_0x413596(0x151),_0x2afb4b[_0x2afb4b[_0x413596(0x23e)]=0x271e]=_0x413596(0x23e),_0x2afb4b[_0x2afb4b[_0x413596(0x257)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2afb4b[_0x2afb4b[_0x413596(0x228)]=0x2af9]=_0x413596(0x228),_0x2afb4b[_0x2afb4b[_0x413596(0x102)]=0x2ee1]=_0x413596(0x102),_0x2afb4b[_0x2afb4b[_0x413596(0x1fe)]=0x2ee2]=_0x413596(0x1fe),_0x2afb4b[_0x2afb4b[_0x413596(0x220)]=0x2ee3]=_0x413596(0x220),_0x2afb4b[_0x2afb4b['USER_NOT_INVITED_CODE']=0x2ee4]=_0x413596(0x1bc),_0x2afb4b[_0x2afb4b[_0x413596(0x141)]=0x2ee5]=_0x413596(0x141),_0x2afb4b[_0x2afb4b['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2afb4b[_0x2afb4b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2afb4b[_0x2afb4b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x413596(0x273),_0x2afb4b[_0x2afb4b['UNRECOGNIZED']=-0x1]=_0x413596(0x1f8),_0x2afb4b))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x218d28,_0x4d0d88,_0x661e4e,_0x16d55a)=>{const _0x5f3859=_0x413596;for(var _0xf66970=_0x16d55a>0x1?void 0x0:_0x16d55a?pn(_0x4d0d88,_0x661e4e):_0x4d0d88,_0x5c5304=_0x218d28[_0x5f3859(0x159)]-0x1,_0x6aca7d;_0x5c5304>=0x0;_0x5c5304--)(_0x6aca7d=_0x218d28[_0x5c5304])&&(_0xf66970=_0x6aca7d(_0xf66970)||_0xf66970);return _0xf66970;},be=(_0x155645,_0x55be61)=>(_0x105b40,_0x238680)=>_0x55be61(_0x105b40,_0x238680,_0x155645);let rt=class extends _0x198a25{constructor(_0x2e5dd7,_0xc4108,_0x1e0ac9){const _0x1d864b=_0x413596;super(),this['_instanceService']=_0x2e5dd7,this[_0x1d864b(0x1ad)]=_0xc4108,this[_0x1d864b(0x278)]=_0x1e0ac9;}async['runOnServer'](_0x373f9d,_0x2c7273,_0x7c76ba,..._0x201cc1){const _0x2679f7=_0x413596;var _0x144c1b,_0x39dcb4,_0x38e6aa,_0x5cac69;const _0x45992c=this[_0x2679f7(0xb1)][_0x2679f7(0x236)]();if(!_0x45992c)throw new Error(_0x2679f7(0x10d));const _0x4b74ad=((_0x144c1b=this[_0x2679f7(0x278)][_0x2679f7(0x1e9)](_0x140178))!=null?_0x144c1b:_0x35c699)+'/'+_0x373f9d+_0x2679f7(0x277)+_0x2c7273,_0x460362=new URL(window[_0x2679f7(0x243)][_0x2679f7(0x248)]),_0x28a52c={'scriptId':_0x373f9d,'runId':(_0x39dcb4=_0x460362[_0x2679f7(0x270)][_0x2679f7(0x218)]('runId'))!=null?_0x39dcb4:'','function':_0x2c7273,'unitId':_0x45992c[_0x2679f7(0x1af)](),'argsOfFunction':JSON[_0x2679f7(0x123)](_0x201cc1),'invokeId':(_0x38e6aa=_0x7c76ba[_0x2679f7(0xdd)])!=null?_0x38e6aa:'','executionId':(_0x5cac69=_0x7c76ba['executionId'])!=null?_0x5cac69:''};try{const _0xbd9651=await this[_0x2679f7(0x1ad)][_0x2679f7(0x25c)](_0x4b74ad,{'body':_0x28a52c});return _0xbd9651[_0x2679f7(0x16e)]['error']&&_0xbd9651[_0x2679f7(0x16e)][_0x2679f7(0xe3)][_0x2679f7(0x12c)]!==Mt['OK']?'Failed':_0xbd9651[_0x2679f7(0x16e)]['result'];}catch{return'Failed';}}};function _0x7d44(_0x1d9bc5,_0x37947a){const _0x55ced2=_0x55ce();return _0x7d44=function(_0x7d446f,_0x48b621){_0x7d446f=_0x7d446f-0x94;let _0x4777f7=_0x55ced2[_0x7d446f];return _0x4777f7;},_0x7d44(_0x1d9bc5,_0x37947a);}rt=Cn([be(0x0,_0x4e2e81),be(0x1,_0x362084(_0x57e486)),be(0x2,_0x15ca58)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x29a823=_0x2d0d;(function(_0x11d9fb,_0x1e790e){const _0xe5ee9e=_0x2d0d,_0x1fec65=_0x11d9fb();while(!![]){try{const _0x369377=-parseInt(_0xe5ee9e(0x279))/0x1+parseInt(_0xe5ee9e(0x113))/0x2*(-parseInt(_0xe5ee9e(0x19e))/0x3)+-parseInt(_0xe5ee9e(0x2ed))/0x4*(parseInt(_0xe5ee9e(0x2d8))/0x5)+parseInt(_0xe5ee9e(0x236))/0x6*(-parseInt(_0xe5ee9e(0x111))/0x7)+-parseInt(_0xe5ee9e(0x2eb))/0x8+-parseInt(_0xe5ee9e(0x140))/0x9*(-parseInt(_0xe5ee9e(0x1ce))/0xa)+parseInt(_0xe5ee9e(0x210))/0xb;if(_0x369377===_0x1e790e)break;else _0x1fec65['push'](_0x1fec65['shift']());}catch(_0x3e5823){_0x1fec65['push'](_0x1fec65['shift']());}}}(_0x58c5,0xaf8f6));var $t=Object[_0x29a823(0x2f8)],xt=(_0x1dfedb,_0x3948c5,_0x8fb300)=>_0x3948c5 in _0x1dfedb?$t(_0x1dfedb,_0x3948c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8fb300}):_0x1dfedb[_0x3948c5]=_0x8fb300,_=(_0x398402,_0x158c1f,_0x16cba3)=>xt(_0x398402,typeof _0x158c1f!=_0x29a823(0x2c5)?_0x158c1f+'':_0x158c1f,_0x16cba3);import{MemberService as _0x2ff0d8,SessionStatus as _0x4068a8,CollaborationSessionService as _0xf66e31,CollaborationStatus as _0x5276f4,CollaborationController as _0x17f747,ILocalCacheService as _0x4ec0e3,CollaborationUIEventService as _0x37732d,CollaborationUIEventId as _0x1ec792,DataLoaderService as _0x1bfb46,DocCollaborationEntity as _0x14e797,getLocalCacheKey as _0x5336d5,LOCAL_CACHE_INTERVAL as _0x53b202,LOCAL_CACHE_INTERVAL_KEY as _0x5ba66b,UniverCollaborationClientPlugin as _0xf86d7b,CollaborationSocketService as _0x3d5f6a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x50b945,DEFAULT_WS_SESSION_TICKET_URL as _0x5194e4,UnitStatus as _0x3f8da8,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x53543e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x532e81}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5b0a30,Disposable as _0x10f221,DOC_RANGE_TYPE as _0x3752d4,Inject as _0x455d91,Injector as _0x44d15d,IUniverInstanceService as _0x11340f,ICommandService as _0x4398a9,debounce as _0x10150e,Rectangle as _0x44108f,DisposableCollection as _0x150851,toDisposable as _0x528206,UniverInstanceType as _0x3e57d7,Tools as _0x4a49e5,COLORS as _0x186131,ColorKit as _0x484438,ThemeService as _0x526cce,fromEventSubject as _0x2c516c,LocaleService as _0x1cb89e,createIdentifier as _0x489ce9,ILogService as _0x2dae8e,Optional as _0x5cc3a5,Workbook as _0x348276,CommandType as _0x28e5fb,IConfigService as _0x3a97e3,ILocalStorageService as _0x4a5b3b,DependentOn as _0x314ba8,Plugin as _0x22b858,merge as _0x1f1aa8,registerDependencies as _0x3f2085,mergeOverrideWithDependencies as _0x21a21b,touchDependencies as _0x291413,generateRandomId as _0x3960b0}from'@univerjs/core';import{Shape as _0x8a366b,Rect as _0x464272,getColor as _0x33c28b,RegularPolygon as _0x47e5e0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4b4245,Vector2 as _0x40bec2,SHEET_VIEWPORT_KEY as _0x11dd22,IRenderManagerService as _0x5c6761}from'@univerjs/engine-render';import{ISocketService as _0x4760a4,WebSocketService as _0x49313b,HTTPService as _0x355e28}from'@univerjs/network';import{IDocClipboardService as _0x405235,NodePositionConvertToCursor as _0xa3e32,NodePositionConvertToRectRange as _0x4ea429,TEXT_RANGE_LAYER_INDEX as _0x47c066,SetDocZoomRatioOperation as _0x5a7e69,DocIMEInputManagerService as _0x117745,DocStateChangeManagerService as _0x1b3913}from'@univerjs/docs-ui';import{IImageIoService as _0x376fc1}from'@univerjs/drawing';import{BehaviorSubject as _0x168fee,debounceTime as _0x41592c,takeUntil as _0x3d7f41,Subject as _0x15f4cf,filter as _0x2a6a4f,switchMap as _0x513abf,merge as _0x2bf511,combineLatest as _0x472c44,of as _0x539c3b,fromEvent as _0x35e5e8,shareReplay as _0x212fb1,mapTo as _0x4effe6,distinctUntilChanged as _0x381aea}from'rxjs';import{SetTextSelectionsOperation as _0x2b7b22,RichTextEditingMutation as _0xaceaa,DocSelectionManagerService as _0x2c0b0f,DocSkeletonManagerService as _0xf44655}from'@univerjs/docs';import{ITransformService as _0x615fc1,CollaborationEvent as _0x3a0646,isTransformMutationFailure as _0x198bf8,isTransformMutationsWithChangesetSuccess as _0x2001a7,RevisionService as _0xf03bd1,ISnapshotServerService as _0x26ce3a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x8e2f78,serializeRangeWithSheet as _0x51954b}from'@univerjs/engine-formula';import{RefRangeService as _0x290145,SetSelectionsOperation as _0x29ac2a,SheetsSelectionsService as _0x140639,EffectRefRangId as _0x4ed115,handleIRemoveRow as _0x5c038c,handleIRemoveCol as _0x11ad35,handleMoveRange as _0x461938,handleInsertRow as _0x3d4d07,handleInsertRangeMoveRight as _0x4938b4,handleInsertRangeMoveDown as _0x540194,handleInsertCol as _0x3fa952,handleDeleteRangeMoveUp as _0x5c7865,handleDeleteRangeMoveLeft as _0x5852f8,runRefRangeMutations as _0x4db3c2,SetWorksheetActivateCommand as _0x57a71d}from'@univerjs/sheets';import{map as _0x40c94b,filter as _0x3bbf03,throttleTime as _0x307166,takeUntil as _0x336390,switchMap as _0x3c2c37}from'rxjs/operators';import{SheetSkeletonManagerService as _0x58a1ab,getCoordByCell as _0x457124,getSheetObject as _0x412eda}from'@univerjs/sheets-ui';import{jsx as _0x15a63d,jsxs as _0x15ba8b}from'react/jsx-runtime';import{useObservable as _0x49a27b,useDependency as _0x316a74,IUIPartsService as _0x7a0a73,BuiltInUIPart as _0x4bc2d7,connectInjector as _0x23b9eb,IBeforeCloseService as _0x1aa7ba,IMessageService as _0x19b68c,INotificationService as _0x4a10a4}from'@univerjs/ui';import{Tooltip as _0xbbccda,clsx as _0x3ceee0,MessageType as _0x5740c0}from'@univerjs/design';function _0x58c5(){const _0x28f95e=['sheetId','saveImage','_name','TEXT','_scheduleHeartbeat','ticket','executeCommand','setParam','editingUnit','_setupBeforeClosingHandler','CONNECTOR_DATA_TOO_LARGE','_online','getCurrentSelections','onLocalMutation','syncEditingCollabCursor','_docTransformStateCacheService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_removeClearOtherTimer','getMergeData','path','endColumn','init','font','width','sessionStatus$','parse','_hideTimer','permission.content','NOT_FOUND','_getMergeRange','session.will-retry','_initStatusComponent','on-line-icon_clip0_910_349','updateOfflineData','_clearOtherTimers','skeleton','_anchorDot','CONFLICT','SUBMIT_CHANGESET_TIMEOUT','yellow.400','registerRefRange','_ensureSubject','_transformHistoryAndStateStack','UNIVER_DOC','dispose$','getDocRanges','_scene','getViewport','_doCreateSocket','deepClone','type','MUTATION','max','location','transformMutationsWithChangeset','isActive','redoState','_localStorageService','fillStyle','getMember','disposeUnit','_memberService','_handleHeartbeatEvent','4159mYFZRU','delete','getConfig','href','fillText','_onCursorDelete','1em','setAlpha','_imageIoService','_init','addObject','undoState','_entityInit$','_getScale','removeParam','application/json','popstate','_registerDependencies','_labelPosition','defs','off-line-icon_clip0_910_343','find','_scheduleClearOtherTimer','xlink:href','exhaustSavingTask','onRendered','permission.title','_config','clipPath','YUUMI_ASYNCIO_CANCELLED','_onCursorUpdate','_updateCollabCursors','ENSURE_SNAPSHOT_EXECUTION','selections','className','Warning','trim','NOT_COLLAB','call','urlChange$','_handleHover','collabCursorState$','_initDependencies','_handleEvent','UniverIcon','send','_initEvent','data','extend','LICENSE_EXPORT_SIZE_EXCEEDED','searchParams','_localeService','ranges','imageSourceType','div','_backgroundColor','newValue','CHANGESET_REVISION_CONFILICT','getUnhiddenWorksheets','getColorFromTheme','_collaborationController','values','SNAPSHOT_HAS_BEEN_REMOVED','doc.mutation.rich-text-editing','collab-text-range-','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UNRECOGNIZED','docStateChange$','APPLY_REVISION_CONFILICT','createSocket','toString','invokeId','_dataLoaderService','_onRefRangeChange','ALREADY_EXISTS','symbol','SOCKET_FAILED_RETRY','SNAPSHOT_INVALID_SNAPSHOT','text','ACTIVE_UNIT_EVENT_CHANNEL','sheetID','_createSocketURL','_collaborationUIEventService','collaboration-client.offline-data-not-saved','addHandlerCallback','isEditing','assign','selection','InsertRangeMoveDownCommandId','source','post','unitId','red.300','registerComponent','135QyouLj','onPointerLeave$','InsertRowCommandId','sessionTicket','debug','hasOwnProperty','PY_RUNTIME_SCRIPT_ERROR','registerBeforeClose','size','getMemberID','asObservable','some','getParam','drawWith','then','_logService','_saveTaskMap','[CollaborationDataLoaderController]','OTHER_CLIENT_EDITING','808032RMNIux','MOBILE_HAS_BEEN_BOUND','201640WWkTCa','getRelativeToViewportCoord','_colorIndex','_drawRectRange','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_CURSOR','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','error','_unitStatus','displayName','bottom','defineProperty','getActiveRange','rgba(255,\x20255,\x20255,\x200.01)','row','collaboration-client-ui.config','EMAIL_HAS_BEEN_BOUND','_getSheetObject','subscribeEvent','collabStatus.fetchMiss','_initCommandExecutedListener','_status$','all','3119599CmPGUl','YUUMI_URL_COL_OUT_OF_RANGE','4YlVzbz','currentSkeleton$','subunit','WECHAT_HAS_BEEN_BOUND','none','startRow','_colorAssignService','color','url(#$1','clearInterval','textRanges','getRangePointData','_configService','use','height','getCurrent','resize','LICENSE_MAX_UNITS_EXCEEDED','split','transform','Unknown\x20user','onTransformChange$','_send','AWAITING','collabStatus.syncing','_updateSubUnitFromURLParams','findNodePositionByCharIndex','_handleJoinEvent','beginPath','forEach','length','onCommandExecuted','eventID','mask','apply','_roomMembers$','roomMembers$','_transformUndoRedoStack','key','INTERNAL_ERROR','complete','_refreshCollabCursors','registerRenderModule','reconnect','setConfig','9ezfORw','_toggleOnline','defIds','m2Prime','generateRandomId','setShapeProps','_httpService','getOwnPropertyDescriptor','collabStatus.notCollab','AWAITING_WITH_PENDING','loadUnit','_initStatusListener','assignAColorForMemberID','_collabSessionService','setStateCache','push','SOCKET_FAILED','_draw','saveOfflineData','unitID','mutations','LICENSE_IMPORT_SIZE_EXCEEDED','cursorInfo','round','_messageService','body','params','YUUMI_RATE_OVER_LIMIT','colorChannel1','USERS_LEAVE','status$','_commandService','history','propertyIsEnumerable','_id','_transformService','PERMISSION_DENIED','APPLY_DUPLICATED','evenodd','getUnitId','getSheetBySheetId','OTHER_CLIENTS_EDITING','icon','_session','unsubscribe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','save','_removeCollabCursors','univer-mr-2\x20univer-flex\x20univer-text-xl','tag','getTypeOfUnitDisposed$','_beforeCloseService','setItem','top','_notificationService','getCellPositionByOffset','getStateCache','HEADER_MENU','wsSessionTicketUrl','addEventListener','RECT','set','toRgbString','_syncEditingCollabCursorService','_assignedColors','dispose','_localCacheService','addClipboardHook','requireSession','roomMembers','cursorInfo$','children','onMouseMove','_registerRenderDependencies','_drawAnchor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_docSkeletonManagerService','_toggleOffline','_anchor','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','loadOfflineData','InsertColCommandId','collab-text-anchor-','_revisionService','_saveCache','RemoveColCommandId','isArray','INVALID_ARGUMENT','UNIVER_SHEET','measureText','_sheetSkeletonManagerService','from','_univerInstanceService','_selfUnitIDs','537585wPpyFX','_context','_heartbeatTimer','stringify','with','_disabled','clearTimeout','transformIMECache','engine','white','http://www.w3.org/2000/svg','subscribe','enableLocalCache','add','_docTransformIMECacheService','includes','flatMap','NO_OTHER_CLIENTS_EDITING','_updateURLWithCurrentState','prototype','string','UNAUTHENTICATED','_color','endRow','_updateLocalCursor','_eventUnsubscribe','code','search','runId','pipe','_docSkeleton','_getAnchorBounding','COMPLETION_FINISHED','disposeWithMe','get','getItem','idSuffix','runOnServer','getCurrentRevOfUnit','collab-client.tooltip.reconnect','univer-flex\x20univer-items-center','_injector','entityInit$','event$','getFocusedUnit','APPLY_REJECT','YUUMI_UNABLE_LOAD_URL','_textBubble','8411570eWjNWE','_cursorInfo$','DeleteRangeMoveUpCommandId','APPLY_NON_SEQUENTIAL_REVISION','_unitOnClients','USER_NOT_INVITED_CODE','_docClipboardService','pluginName','_lastPointer','INVITE_CODE_HAS_BEEN_UES','getTypeOfUnitAdded$','FromArray','_docStateChangeManagerService','LICENSE_DISTRO_REJECTED','show','has','_drawTextRange','_renderManagerService','_uiPartsService','currentColor','black','_instanceService','currentTheme$','transformMutation','getUniverSheetInstance','_collabCursorState$','column','FETCH_MISS','InsertRangeMoveRightCommandId','_initResize','_getSessionTicket','MoveRangeCommandId','replace','range','LOGIN_FAILED','purple.300','entries','m1Prime','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','getSkeleton','getValue','_refRangeService','unshift','collaboration.closeRoom','_hover','min','...','_cursorShapes','getAncestorScale','activeSheet$','disableLocalCache','substring','_collabCursorController','concat','Error','UNDEFINED','_render','map','getCurrentUnitForType','indexOf','_entities','_hovered','YUUMI_AI_RUN_FAILED','OffLineIcon','INVITE_CODE_REQUIRED','getRenderById','23630387ENvfFX','restore','_docTransformSelectionsService','INVITE_CODE_ALREADY_BOUND','arc','getSheetId','_range','YUUMI_NO_CUBOID_FOR_QUESTION','_docSyncEditingCollabCursorService','transformByState','next','_themeService','onPointerMove$','lineTo','attrs','transformRemoteChangeset','createInstance','transformStateCache','_initEntityListener','_cursors','ONLINE','pushState','YUUMI_ALL_TABLES_IS_INVALID','url(#off-line-icon_clip0_910_343)','saveTaskMap','APPLY_PERMISSION_DENIED','OFFLINE','onPointerEnter$','name','DeleteRangeMoveLeftCommandId','_cachedData','fill','0\x200\x2016\x2016','CLOSE_ROOM','transformSelections','_transformPreviousActiveRange','INVALID_INVITE_CODE','_shapes','6HhCWid','_urlService','unit','getCollabCursors$'];_0x58c5=function(){return _0x28f95e;};return _0x58c5();}import{forwardRef as _0x2d8cbf,useRef as _0x1bd1d1,createElement as _0x2ea805,useCallback as _0x54db02}from'react';import{IRemoteInstanceService as _0x16d091}from'@univerjs/rpc';var ci=Object[_0x29a823(0x147)],li=(_0xf6ec80,_0x159b1b,_0x480422,_0x2d03f0)=>{const _0x226c17=_0x29a823;for(var _0x629e80=_0x2d03f0>0x1?void 0x0:_0x2d03f0?ci(_0x159b1b,_0x480422):_0x159b1b,_0x5bf334=_0xf6ec80[_0x226c17(0x131)]-0x1,_0x1d092d;_0x5bf334>=0x0;_0x5bf334--)(_0x1d092d=_0xf6ec80[_0x5bf334])&&(_0x629e80=_0x1d092d(_0x629e80)||_0x629e80);return _0x629e80;},Je=(_0x3f6009,_0x3a6891)=>(_0x12f32b,_0x31840d)=>_0x3a6891(_0x12f32b,_0x31840d,_0x3f6009);let Ne=class extends _0x5b0a30{constructor(_0x27461d,_0x3991a7){const _0x203662=_0x29a823;super(),this[_0x203662(0x1d4)]=_0x27461d,this[_0x203662(0x281)]=_0x3991a7,this[_0x203662(0x282)]();}[_0x29a823(0x282)](){const _0x3b0768=_0x29a823,_0x130809=this;this[_0x3b0768(0x1bf)](this[_0x3b0768(0x1d4)][_0x3b0768(0x183)]({'onBeforePasteImage':async _0xe67d13=>{const _0x9c9f8a=_0x3b0768,_0x139bda=await _0x130809[_0x9c9f8a(0x281)][_0x9c9f8a(0x23b)](_0xe67d13);return _0x139bda?{'source':_0x139bda[_0x9c9f8a(0x2d3)],'imageSourceType':_0x139bda[_0x9c9f8a(0x2ae)]}:null;}}));}};Ne=li([Je(0x0,_0x405235),Je(0x1,_0x376fc1)],Ne);const Ze=[_0x29a823(0x1f1),'jiqing.500','green.600',_0x29a823(0x2d6),'blue.400',_0x29a823(0x261)];class ke extends _0x10f221{constructor(){const _0x1c56c4=_0x29a823;super(...arguments),_(this,_0x1c56c4(0x180),new Map()),_(this,'_colorIndex',0x0);}[_0x29a823(0x14c)](_0x351b7a){const _0x4fd29e=_0x29a823;if(this['_assignedColors']['has'](_0x351b7a))return this[_0x4fd29e(0x180)][_0x4fd29e(0x1c0)](_0x351b7a);const _0x99af16=Ze[this[_0x4fd29e(0x2ef)]];return this[_0x4fd29e(0x2ef)]=(this[_0x4fd29e(0x2ef)]+0x1)%Ze[_0x4fd29e(0x131)],this[_0x4fd29e(0x180)][_0x4fd29e(0x17d)](_0x351b7a,_0x99af16),_0x99af16;}}function Tt(_0x49d808){let _0x1900d8='';for(const _0x2137b of _0x49d808){const {startOffset:_0x2d886d,endOffset:_0xaf8a6c,isActive:_0x59cf08,rangeType:_0x573f7c,segmentId:_0xabbaa,segmentPage:_0x194518}=_0x2137b;_0x1900d8['length']&&(_0x1900d8+=','),_0x1900d8+=_0x2d886d+':'+_0xaf8a6c+':'+(_0x59cf08?'1':'0')+':'+_0x573f7c+':'+_0xabbaa+':'+_0x194518;}return _0x1900d8;}function _i(_0x348773){const _0x1dfd2b=_0x29a823,_0x3377bf=_0x348773[_0x1dfd2b(0x125)](','),_0x140800=[];for(const _0x229d97 of _0x3377bf){const [_0x38aa43,_0x178bc2,_0x2afd55,_0x1596e3,_0x20f3b8,_0x10bb68]=_0x229d97[_0x1dfd2b(0x125)](':');_0x140800['push']({'startOffset':Number(_0x38aa43),'endOffset':Number(_0x178bc2),'collapsed':_0x38aa43===_0x178bc2,'isActive':_0x2afd55==='1','rangeType':_0x1596e3===_0x3752d4[_0x1dfd2b(0x23d)]?_0x3752d4[_0x1dfd2b(0x23d)]:_0x3752d4[_0x1dfd2b(0x17c)],'segmentId':typeof _0x20f3b8==_0x1dfd2b(0x1b2)?String(_0x20f3b8):'','segmentPage':Number(_0x10bb68!=null?_0x10bb68:-0x1)});}return _0x140800[_0x1dfd2b(0x2e3)](_0xfbe175=>_0xfbe175[_0x1dfd2b(0x271)])||(_0x140800[0x0][_0x1dfd2b(0x271)]=!0x0),_0x140800;}class He extends _0x5b0a30{constructor(){const _0x133250=_0x29a823;super(...arguments),_(this,'_collabCursorState$',new _0x168fee(null)),_(this,_0x133250(0x2a2),this[_0x133250(0x1e7)][_0x133250(0x2e2)]());}[_0x29a823(0x248)](_0x32d0d4){const _0x30848f=_0x29a823,{unitID:_0x1721b1,memberID:_0x2fb738,textRanges:_0x44610c}=_0x32d0d4,_0x122e56=Tt(_0x44610c);if(_0x122e56==='')return;const _0x1efa98={'unitID':_0x1721b1,'memberID':_0x2fb738,'selection':_0x122e56};this[_0x30848f(0x1e7)][_0x30848f(0x21a)](_0x1efa98);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x466c09,_0x4cdcb1,_0xb67f56,_0x14616c)=>{const _0x102376=_0x29a823;for(var _0x47cd07=_0x14616c>0x1?void 0x0:_0x14616c?hi(_0x4cdcb1,_0xb67f56):_0x4cdcb1,_0x387743=_0x466c09[_0x102376(0x131)]-0x1,_0x141431;_0x387743>=0x0;_0x387743--)(_0x141431=_0x466c09[_0x387743])&&(_0x47cd07=_0x141431(_0x47cd07)||_0x47cd07);return _0x47cd07;},P=(_0x49879c,_0x4d130b)=>(_0x1977c1,_0x47a4ce)=>_0x4d130b(_0x1977c1,_0x47a4ce,_0x49879c);const di=0x12c,fi=0x64;let Ue=class extends _0x5b0a30{constructor(_0x5c5b41,_0xb632be,_0x4ff887,_0x42513a,_0x305151,_0x21a0ba,_0x2b94f8,_0x328e81,_0x52266a){const _0x30ab77=_0x29a823;super(),_(this,_0x30ab77(0x245),!0x1),_(this,_0x30ab77(0x282),!0x1),_(this,'_cursorInfo$',new _0x168fee(new Map())),_(this,_0x30ab77(0x186),this[_0x30ab77(0x1cf)][_0x30ab77(0x2e2)]()),_(this,'_roomMembers$',new _0x168fee([])),_(this,_0x30ab77(0x137),this[_0x30ab77(0x136)][_0x30ab77(0x1bb)](_0x41592c(di))),_(this,_0x30ab77(0x1b6),_0x10150e(_0x32491e=>{const _0x4dfd3c=_0x30ab77,_0x43bb10={'eventID':_0x3a0646['UPDATE_CURSOR'],'data':{'unitID':this[_0x4dfd3c(0x153)],'memberID':this[_0x4dfd3c(0x16b)][_0x4dfd3c(0x2e1)](),'selection':Tt(_0x32491e)}};this[_0x4dfd3c(0x16b)]['send'](_0x43bb10,this[_0x4dfd3c(0x153)]);},fi)),(this[_0x30ab77(0x153)]=_0x5c5b41,this[_0x30ab77(0x16b)]=_0xb632be,this['_injector']=_0x4ff887,this[_0x30ab77(0x119)]=_0x42513a,this[_0x30ab77(0x277)]=_0x305151,this[_0x30ab77(0x17f)]=_0x21a0ba,this[_0x30ab77(0x163)]=_0x2b94f8,this[_0x30ab77(0x19c)]=_0x328e81,this[_0x30ab77(0x15f)]=_0x52266a);}get[_0x29a823(0x156)](){const _0x345247=_0x29a823;return this[_0x345247(0x1cf)][_0x345247(0x1f6)]();}get[_0x29a823(0x185)](){const _0x419b95=_0x29a823;return this[_0x419b95(0x136)]['getValue']();}[_0x29a823(0x181)](){const _0x15a561=_0x29a823;super[_0x15a561(0x181)](),this[_0x15a561(0x1cf)][_0x15a561(0x21a)](new Map()),this[_0x15a561(0x1cf)][_0x15a561(0x13b)](),this['_roomMembers$']['next']([]),this[_0x15a561(0x136)][_0x15a561(0x13b)]();}[_0x29a823(0x24f)](){const _0x4804c7=_0x29a823;this[_0x4804c7(0x282)]||(this[_0x4804c7(0x282)]=!0x0,this['_session'][_0x4804c7(0x252)][_0x4804c7(0x1bb)](_0x3d7f41(this[_0x4804c7(0x266)]))['subscribe'](_0x38d592=>{const _0x2ada93=_0x4804c7;_0x38d592===_0x4068a8[_0x2ada93(0x224)]?this['_toggleOnline']():this[_0x2ada93(0x18d)]();}),this[_0x4804c7(0x16b)][_0x4804c7(0x1c9)][_0x4804c7(0x1bb)](_0x3d7f41(this[_0x4804c7(0x266)]))[_0x4804c7(0x1a9)](_0x2b88ba=>{const _0x423866=_0x4804c7,_0x52d203=_0x2b88ba[_0x423866(0x133)];_0x52d203===_0x3a0646[_0x423866(0x2f2)]&&this[_0x423866(0x297)](_0x2b88ba),_0x52d203===_0x3a0646['USERS_LEAVE']&&this[_0x423866(0x27e)](_0x2b88ba);}),this['disposeWithMe'](this[_0x4804c7(0x15f)][_0x4804c7(0x132)](_0x187389=>{const _0x3d1d76=_0x4804c7,_0x3aabb6=_0x187389[_0x3d1d76(0x15a)];_0x3aabb6!=null&&this[_0x3d1d76(0x245)]&&_0x187389['id']===_0x2b7b22['id']&&_0x3aabb6[_0x3d1d76(0x2d5)]===this[_0x3d1d76(0x153)]&&_0x3aabb6[_0x3d1d76(0x2cf)]===!0x1&&_0x3aabb6[_0x3d1d76(0x2ad)]['length']>0x0&&this['_updateLocalCursor'](_0x3aabb6[_0x3d1d76(0x2ad)]);})),this[_0x4804c7(0x17f)][_0x4804c7(0x2a2)][_0x4804c7(0x1bb)](_0x3d7f41(this[_0x4804c7(0x266)]))['subscribe'](_0x5a1d15=>{const _0x1ca709=_0x4804c7;if((_0x5a1d15==null?void 0x0:_0x5a1d15[_0x1ca709(0x153)])!==this['unitID'])return;const _0x3fdadf={'eventID':_0x3a0646[_0x1ca709(0x2f2)],'data':_0x5a1d15};this[_0x1ca709(0x297)](_0x3fdadf);}),this[_0x4804c7(0x1bf)](this[_0x4804c7(0x15f)][_0x4804c7(0x132)](_0x175e78=>{const _0x38ef33=_0x4804c7;if(_0x175e78[_0x38ef33(0x15a)]==null)return;const _0x44b51e=_0x175e78[_0x38ef33(0x15a)];if(_0x175e78['id']!==_0xaceaa['id']||_0x44b51e[_0x38ef33(0x2d5)]!==this[_0x38ef33(0x153)])return;const _0x333883={'id':_0x38ef33(0x2b8),'params':_0x44b51e},_0x33e6ae=this[_0x38ef33(0x156)];for(const [_0x9f1b74,_0x23209b]of _0x33e6ae){const _0x1546fa={'id':_0x38ef33(0x2b8),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x23209b[_0x38ef33(0x2ad)]}},_0x2f37dd=this[_0x38ef33(0x163)][_0x38ef33(0x1e5)](_0x333883,_0x1546fa,!0x1);if(_0x198bf8(_0x2f37dd))throw _0x2f37dd[_0x38ef33(0x2f4)];_0x33e6ae[_0x38ef33(0x17d)](_0x9f1b74,{..._0x23209b,'ranges':_0x2f37dd[_0x38ef33(0x143)][_0x38ef33(0x15a)][_0x38ef33(0x11d)]});}queueMicrotask(()=>{const _0x36e127=_0x38ef33;this[_0x36e127(0x1cf)][_0x36e127(0x21a)](_0x33e6ae);});})));}[_0x29a823(0x297)](_0x4a07a9){const _0x43f59d=_0x29a823;var _0x3a5af9,_0x2d1808;const {memberID:_0x2ae12b,selection:_0x26b8fa}=_0x4a07a9['data'],_0xe1135a=_i(_0x26b8fa),_0x54ab1a=(_0x2d1808=(_0x3a5af9=this['_memberService'][_0x43f59d(0x275)](this[_0x43f59d(0x153)],_0x2ae12b))==null?void 0x0:_0x3a5af9[_0x43f59d(0x22c)])!=null?_0x2d1808:_0x43f59d(0x127),_0x407e34={'color':this[_0x43f59d(0x119)][_0x43f59d(0x14c)](_0x2ae12b),'name':_0x54ab1a,'ranges':_0xe1135a},_0x4d8890=this[_0x43f59d(0x156)];_0x4d8890['set'](_0x2ae12b,_0x407e34),this[_0x43f59d(0x1cf)][_0x43f59d(0x21a)](_0x4d8890);}[_0x29a823(0x27e)](_0x487899){const _0x729ee8=_0x29a823,{memberID:_0x1271e4}=_0x487899[_0x729ee8(0x2a8)],_0x443166=this[_0x729ee8(0x156)];_0x443166['delete'](_0x1271e4),this[_0x729ee8(0x1cf)][_0x729ee8(0x21a)](_0x443166);}[_0x29a823(0x141)](){const _0x177cb9=_0x29a823;var _0x22443c;if(this[_0x177cb9(0x245)]=!0x0,((_0x22443c=this[_0x177cb9(0x19c)][_0x177cb9(0x1ca)]())==null?void 0x0:_0x22443c[_0x177cb9(0x167)]())!==this[_0x177cb9(0x153)])return;const _0x570cd0=this['_injector'][_0x177cb9(0x1c0)](_0x2c0b0f)['getDocRanges']();Array[_0x177cb9(0x196)](_0x570cd0)&&_0x570cd0[_0x177cb9(0x131)]>0x0&&this[_0x177cb9(0x1b6)](_0x570cd0);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x455d91(_0x44d15d)),P(0x3,_0x455d91(ke)),P(0x4,_0x455d91(_0x2ff0d8)),P(0x5,_0x455d91(He)),P(0x6,_0x615fc1),P(0x7,_0x11340f),P(0x8,_0x4398a9)],Ue);var Si=Object[_0x29a823(0x147)],mi=(_0x1ab97c,_0x2c092e,_0x3d8fc9,_0x5e3321)=>{const _0x25a758=_0x29a823;for(var _0x556f9d=_0x5e3321>0x1?void 0x0:_0x5e3321?Si(_0x2c092e,_0x3d8fc9):_0x2c092e,_0x44834e=_0x1ab97c[_0x25a758(0x131)]-0x1,_0x9bfd9c;_0x44834e>=0x0;_0x44834e--)(_0x9bfd9c=_0x1ab97c[_0x44834e])&&(_0x556f9d=_0x9bfd9c(_0x556f9d)||_0x556f9d);return _0x556f9d;},x=(_0x381a2a,_0x25c14d)=>(_0x50a27f,_0x1f7aff)=>_0x25c14d(_0x50a27f,_0x1f7aff,_0x381a2a);const Ii=0x12c,gi=0x64,vi=()=>{let _0x4bf5db=[],_0x5300c5=!0x1;return _0x4d5dd4=>{_0x4bf5db['push'](_0x4d5dd4),_0x5300c5||(_0x5300c5=!0x0,setTimeout(()=>{_0x4bf5db['forEach'](_0x3ed62b=>_0x3ed62b()),_0x4bf5db=[],_0x5300c5=!0x1;}));};};let Me=class extends _0x5b0a30{constructor(_0x1b1256,_0x1669c4,_0x525edc,_0xb8ac04,_0x5df6b3,_0x43388f,_0x46d02a,_0x4a29cc){const _0x1211bc=_0x29a823;super(),_(this,_0x1211bc(0x245),!0x1),_(this,_0x1211bc(0x282),!0x1),_(this,_0x1211bc(0x1cf),new _0x168fee(new Map())),_(this,_0x1211bc(0x186),this['_cursorInfo$']['asObservable']()),_(this,_0x1211bc(0x136),new _0x168fee([])),_(this,'roomMembers$',this[_0x1211bc(0x136)][_0x1211bc(0x1bb)](_0x41592c(Ii))),_(this,_0x1211bc(0x1b6),_0x10150e((_0x30aa40,_0x1e959a)=>{const _0x2a2581=_0x1211bc,_0x45e61e={'eventID':_0x3a0646['UPDATE_CURSOR'],'data':{'unitID':this[_0x2a2581(0x153)],'memberID':this[_0x2a2581(0x16b)][_0x2a2581(0x2e1)](),'selection':_0x51954b(_0x30aa40,_0x1e959a['range'])}};this[_0x2a2581(0x16b)][_0x2a2581(0x2a6)](_0x45e61e,this['unitID']);},gi)),(this['unitID']=_0x1b1256,this[_0x1211bc(0x16b)]=_0x1669c4,this['_injector']=_0x525edc,this['_colorAssignService']=_0xb8ac04,this['_memberService']=_0x5df6b3,this[_0x1211bc(0x19c)]=_0x43388f,this['_commandService']=_0x46d02a,this[_0x1211bc(0x1f7)]=_0x4a29cc);}get[_0x29a823(0x156)](){const _0x47f327=_0x29a823;return this[_0x47f327(0x1cf)][_0x47f327(0x1f6)]();}get[_0x29a823(0x185)](){const _0x1dd981=_0x29a823;return this[_0x1dd981(0x136)]['getValue']();}[_0x29a823(0x181)](){const _0xdfb135=_0x29a823;super[_0xdfb135(0x181)](),this[_0xdfb135(0x1cf)]['next'](new Map()),this[_0xdfb135(0x1cf)][_0xdfb135(0x13b)](),this[_0xdfb135(0x136)][_0xdfb135(0x21a)]([]),this['_roomMembers$'][_0xdfb135(0x13b)]();}[_0x29a823(0x24f)](){const _0x148ba4=_0x29a823;this['_init']||(this[_0x148ba4(0x282)]=!0x0,this[_0x148ba4(0x16b)][_0x148ba4(0x252)][_0x148ba4(0x1bb)](_0x3d7f41(this[_0x148ba4(0x266)]))['subscribe'](_0x2ac19e=>{const _0xb0d484=_0x148ba4;_0x2ac19e===_0x4068a8[_0xb0d484(0x224)]?this['_toggleOnline']():this[_0xb0d484(0x18d)]();}),this[_0x148ba4(0x16b)]['event$']['pipe'](_0x3d7f41(this[_0x148ba4(0x266)]))[_0x148ba4(0x1a9)](_0x4fa3d6=>{const _0x293506=_0x148ba4,_0x17115a=_0x4fa3d6[_0x293506(0x133)];_0x17115a===_0x3a0646[_0x293506(0x2f2)]&&this['_onCursorUpdate'](_0x4fa3d6),_0x17115a===_0x3a0646[_0x293506(0x15d)]&&this[_0x293506(0x27e)](_0x4fa3d6);}),this[_0x148ba4(0x2c3)](),this['disposeWithMe'](this[_0x148ba4(0x15f)][_0x148ba4(0x132)](_0x1c9795=>{const _0x2e6f53=_0x148ba4;if(this[_0x2e6f53(0x245)]&&_0x1c9795['id']===_0x29ac2a['id']&&_0x1c9795[_0x2e6f53(0x15a)][_0x2e6f53(0x2d5)]===this[_0x2e6f53(0x153)]){const _0x2ac720=_0x1c9795[_0x2e6f53(0x15a)];this[_0x2e6f53(0x1b6)](_0x2ac720['subUnitId'],_0x2ac720[_0x2e6f53(0x29a)][0x0]);}})));}['_onCursorUpdate'](_0x3ab7d1){const _0x53b767=_0x29a823;var _0x1ad978,_0x5832cd;const {memberID:_0x564c7b,selection:_0x2ba389}=_0x3ab7d1[_0x53b767(0x2a8)],{sheetName:_0x337a27,range:_0x597f97}=_0x8e2f78(_0x2ba389),_0x1c8fdf={'name':(_0x5832cd=(_0x1ad978=this[_0x53b767(0x277)]['getMember'](this['unitID'],_0x564c7b))==null?void 0x0:_0x1ad978['name'])!=null?_0x5832cd:_0x53b767(0x127),'range':this[_0x53b767(0x257)](_0x337a27,_0x597f97),'sheetID':_0x337a27,'color':this[_0x53b767(0x119)]['assignAColorForMemberID'](_0x564c7b),'selection':_0x2ba389},_0x1017b3=this[_0x53b767(0x156)];_0x1017b3[_0x53b767(0x17d)](_0x564c7b,_0x1c8fdf),this[_0x53b767(0x1cf)][_0x53b767(0x21a)](_0x1017b3);}['_onCursorDelete'](_0x3c82ac){const _0x3af0bb=_0x29a823,{memberID:_0x82b2ed}=_0x3c82ac[_0x3af0bb(0x2a8)],_0x89f474=this[_0x3af0bb(0x156)];_0x89f474[_0x3af0bb(0x27a)](_0x82b2ed),this[_0x3af0bb(0x1cf)][_0x3af0bb(0x21a)](_0x89f474);}['_getMergeRange'](_0x509aa8,_0x4cb0c0){const _0xb8ebef=_0x29a823;var _0x599543,_0x48c921;const _0x201eb0=(_0x48c921=(_0x599543=this['_univerInstanceService'][_0xb8ebef(0x1e6)](this[_0xb8ebef(0x153)]))==null?void 0x0:_0x599543[_0xb8ebef(0x168)](_0x509aa8))==null?void 0x0:_0x48c921[_0xb8ebef(0x24c)]();return(_0x201eb0==null?void 0x0:_0x201eb0[_0xb8ebef(0x28e)](_0x15a626=>_0x44108f['contains'](_0x15a626,_0x4cb0c0)))||_0x4cb0c0;}[_0x29a823(0x2c3)](){const _0xeddffc=_0x29a823,_0x4f6ef1=new _0x150851(),_0x282be0=vi(),_0x1c8731=()=>{_0x4f6ef1['dispose']();const _0x3e060e=(_0xf61669,_0x1d7b8e,_0xa711ad,_0x329110)=>{const _0x4fdbf6=_0x2d0d;let _0x4d5784=[];switch(_0xf61669['id']){case _0x4ed115[_0x4fdbf6(0x22d)]:{_0x4d5784=_0x5852f8(_0xf61669,_0x329110);break;}case _0x4ed115[_0x4fdbf6(0x1d0)]:{_0x4d5784=_0x5c7865(_0xf61669,_0x329110);break;}case _0x4ed115[_0x4fdbf6(0x191)]:{_0x4d5784=_0x3fa952(_0xf61669,_0x329110);break;}case _0x4ed115[_0x4fdbf6(0x2d2)]:{_0x4d5784=_0x540194(_0xf61669,_0x329110);break;}case _0x4ed115[_0x4fdbf6(0x1ea)]:{_0x4d5784=_0x4938b4(_0xf61669,_0x329110);break;}case _0x4ed115[_0x4fdbf6(0x2da)]:{_0x4d5784=_0x3d4d07(_0xf61669,_0x329110);break;}case _0x4ed115[_0x4fdbf6(0x1ed)]:{_0x4d5784=_0x461938(_0xf61669,_0x329110);break;}case _0x4ed115[_0x4fdbf6(0x195)]:{_0x4d5784=_0x11ad35(_0xf61669,_0x329110);break;}case _0x4ed115['RemoveRowCommandId']:{_0x4d5784=_0x5c038c(_0xf61669,_0x329110);break;}}const _0x1db0b3=_0x4db3c2(_0x4d5784,_0x329110),_0x32a75e=this[_0x4fdbf6(0x156)][_0x4fdbf6(0x1c0)](_0x1d7b8e);if(_0x32a75e&&_0x1db0b3){const _0x2d422b={..._0x32a75e,'range':_0x1db0b3};this[_0x4fdbf6(0x156)][_0x4fdbf6(0x17d)](_0x1d7b8e,_0x2d422b),_0x282be0(()=>{const _0xd4c613=_0x4fdbf6,_0x208f05=this[_0xd4c613(0x1f7)][_0xd4c613(0x262)](_0x1db0b3,_0x1429df=>(_0x208f05[_0xd4c613(0x181)](),_0x3e060e(_0x1429df,_0x1d7b8e,_0xa711ad,_0x1db0b3)));_0x4f6ef1[_0xd4c613(0x1ab)](_0x208f05);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x2de32c,_0x4a8892)=>{const _0x5f03fe=_0x2d0d,{range:_0xdca852,sheetID:_0x35849e}=_0x2de32c,_0x4e3f27=this['_refRangeService'][_0x5f03fe(0x262)](_0xdca852,_0x34cf89=>(_0x4e3f27[_0x5f03fe(0x181)](),_0x3e060e(_0x34cf89,_0x4a8892,_0x35849e,_0xdca852)));_0x4f6ef1[_0x5f03fe(0x1ab)](_0x4e3f27);});};this[_0xeddffc(0x1bf)](_0x528206(this[_0xeddffc(0x1cf)]['subscribe'](()=>{_0x1c8731();})));}[_0x29a823(0x141)](){const _0x5545ce=_0x29a823;var _0x105c96,_0x205e38;if(this[_0x5545ce(0x245)]=!0x0,((_0x105c96=this[_0x5545ce(0x19c)][_0x5545ce(0x1ca)]())==null?void 0x0:_0x105c96[_0x5545ce(0x167)]())!==this['unitID'])return;const _0x3d2332=(_0x205e38=this[_0x5545ce(0x1c7)]['get'](_0x140639)[_0x5545ce(0x246)]())==null?void 0x0:_0x205e38[0x0],_0x732bed=this['_univerInstanceService'][_0x5545ce(0x208)](_0x3e57d7[_0x5545ce(0x198)])['getActiveSheet']();_0x3d2332&&_0x732bed&&this[_0x5545ce(0x1b6)](_0x732bed[_0x5545ce(0x215)](),_0x3d2332);}[_0x29a823(0x18d)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x455d91(_0x44d15d)),x(0x3,_0x455d91(ke)),x(0x4,_0x455d91(_0x2ff0d8)),x(0x5,_0x11340f),x(0x6,_0x4398a9),x(0x7,_0x455d91(_0x290145))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x260db6,_0x5a0a0d,_0x2c1f31,_0x28735b)=>{const _0x50d19d=_0x29a823;for(var _0x542523=_0x28735b>0x1?void 0x0:_0x28735b?pi(_0x5a0a0d,_0x2c1f31):_0x5a0a0d,_0x5d39aa=_0x260db6[_0x50d19d(0x131)]-0x1,_0x542406;_0x5d39aa>=0x0;_0x5d39aa--)(_0x542406=_0x260db6[_0x5d39aa])&&(_0x542523=_0x542406(_0x542523)||_0x542523);return _0x542523;},Se=(_0x3a2b98,_0x2ccabe)=>(_0x1c5458,_0x1a9399)=>_0x2ccabe(_0x1c5458,_0x1a9399,_0x3a2b98);let H=class extends _0x5b0a30{constructor(_0x2e65b0,_0x55c892,_0xc4785c){const _0x36f521=_0x29a823;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x15f4cf()),(this[_0x36f521(0x19c)]=_0x2e65b0,this[_0x36f521(0x1c7)]=_0x55c892,this[_0x36f521(0x14d)]=_0xc4785c,this[_0x36f521(0x282)]());}[_0x29a823(0x181)](){const _0x20c968=_0x29a823;super[_0x20c968(0x181)](),this[_0x20c968(0x285)][_0x20c968(0x13b)](),this[_0x20c968(0x20a)]['forEach'](_0x30d32f=>_0x30d32f[_0x20c968(0x181)]());}[_0x29a823(0x239)](_0x519658){const _0x4bb31e=_0x29a823;return this[_0x4bb31e(0x20a)][_0x4bb31e(0x1dd)](_0x519658)?this[_0x4bb31e(0x20a)][_0x4bb31e(0x1c0)](_0x519658)[_0x4bb31e(0x186)]:this['_entityInit$'][_0x4bb31e(0x1bb)](_0x2a6a4f(_0x47b757=>_0x47b757[_0x4bb31e(0x153)]===_0x519658),_0x513abf(_0x2d23ae=>_0x2d23ae['cursorInfo$']));}[_0x29a823(0x282)](){const _0x5acd89=_0x29a823;this['_univerInstanceService'][_0x5acd89(0x1d8)](_0x3e57d7['UNIVER_SHEET'])[_0x5acd89(0x1bb)](_0x3d7f41(this[_0x5acd89(0x266)]))['subscribe'](async _0x1af9fa=>{const _0x2a898f=_0x5acd89,_0x3ea32f=_0x1af9fa['getUnitId'](),_0x432b09=await this['_startSheetCollabCursor'](_0x3ea32f);this[_0x2a898f(0x285)]['next'](_0x432b09),this['_entities'][_0x2a898f(0x17d)](_0x3ea32f,_0x432b09);}),this[_0x5acd89(0x19c)][_0x5acd89(0x1d8)](_0x3e57d7[_0x5acd89(0x265)])[_0x5acd89(0x1bb)](_0x3d7f41(this[_0x5acd89(0x266)]))['pipe'](_0x2a6a4f(_0x28c1d2=>!_0x28c1d2[_0x5acd89(0x167)]()['startsWith']('__')))[_0x5acd89(0x1a9)](async _0x3c255f=>{const _0x5a0c5a=_0x5acd89,_0x30e78b=_0x3c255f[_0x5a0c5a(0x167)](),_0x27309b=await this['_startDocCollabCursor'](_0x30e78b);this['_entityInit$'][_0x5a0c5a(0x21a)](_0x27309b),this[_0x5a0c5a(0x20a)][_0x5a0c5a(0x17d)](_0x30e78b,_0x27309b);}),_0x2bf511(this['_univerInstanceService'][_0x5acd89(0x172)](_0x3e57d7[_0x5acd89(0x265)]),this[_0x5acd89(0x19c)][_0x5acd89(0x172)](_0x3e57d7['UNIVER_SHEET']))['pipe'](_0x3d7f41(this['dispose$']))['subscribe'](_0x581f79=>{const _0x42f261=_0x5acd89,_0xda3116=_0x581f79[_0x42f261(0x167)](),_0x1af61c=this['_entities']['get'](_0xda3116);_0x1af61c&&(_0x1af61c[_0x42f261(0x181)](),this[_0x42f261(0x20a)][_0x42f261(0x27a)](_0xda3116));});}async['_startSheetCollabCursor'](_0x5df312){const _0x11b9af=_0x29a823,_0x36d9c4=await this[_0x11b9af(0x14d)][_0x11b9af(0x184)](_0x5df312),_0x31ed89=this[_0x11b9af(0x1c7)]['createInstance'](Me,_0x5df312,_0x36d9c4);return _0x31ed89[_0x11b9af(0x24f)](),_0x31ed89;}async['_startDocCollabCursor'](_0x5a73f5){const _0x99daa3=_0x29a823,_0x24c316=await this[_0x99daa3(0x14d)][_0x99daa3(0x184)](_0x5a73f5),_0x8f4141=this[_0x99daa3(0x1c7)][_0x99daa3(0x220)](Ue,_0x5a73f5,_0x24c316);return _0x8f4141[_0x99daa3(0x24f)](),_0x8f4141;}};H=Ci([Se(0x0,_0x11340f),Se(0x1,_0x455d91(_0x44d15d)),Se(0x2,_0x455d91(_0xf66e31))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x26c4b5,_0x5d4633){const _0x151223=_0x29a823;let {radius:_0x4dd029,width:_0xf1d84c,height:_0x231608}=_0x5d4633;_0x4dd029=_0x4dd029!=null?_0x4dd029:0x0,_0xf1d84c=_0xf1d84c!=null?_0xf1d84c:0x1e,_0x231608=_0x231608!=null?_0x231608:0x1e;let _0x1a8668=0x0,_0xe58f7c=0x0,_0x252b62=0x0;_0x1a8668=_0xe58f7c=_0x252b62=Math[_0x151223(0x1fb)](_0x4dd029,_0xf1d84c/0x2,_0x231608/0x2),_0x26c4b5[_0x151223(0x12f)](),_0x26c4b5['moveTo'](_0x1a8668,0x0),_0x26c4b5[_0x151223(0x21d)](_0xf1d84c-_0xe58f7c,0x0),_0x26c4b5[_0x151223(0x214)](_0xf1d84c-_0xe58f7c,_0xe58f7c,_0xe58f7c,Math['PI']*0x3/0x2,0x0,!0x1),_0x26c4b5[_0x151223(0x21d)](_0xf1d84c,_0x231608-_0x252b62),_0x26c4b5['arc'](_0xf1d84c-_0x252b62,_0x231608-_0x252b62,_0x252b62,0x0,Math['PI']/0x2,!0x1),_0x26c4b5['lineTo'](0x0,_0x231608),_0x26c4b5[_0x151223(0x21d)](0x0,_0x1a8668),_0x26c4b5[_0x151223(0x214)](_0x1a8668,_0x1a8668,_0x1a8668,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x26c4b5['closePath'](),_0x5d4633[_0x151223(0x22f)]&&(_0x26c4b5[_0x151223(0x16e)](),_0x26c4b5[_0x151223(0x274)]=_0x5d4633[_0x151223(0x22f)],_0x5d4633['fillRule']===_0x151223(0x166)?_0x26c4b5[_0x151223(0x22f)](_0x151223(0x166)):_0x26c4b5['fill'](),_0x26c4b5[_0x151223(0x211)]());}class he extends _0x8a366b{constructor(_0x57e5cc,_0x203187){const _0x57290b=_0x29a823;super(_0x57e5cc,_0x203187),_(this,_0x57290b(0x11a)),_(this,'text'),(this[_0x57290b(0x11a)]=_0x203187==null?void 0x0:_0x203187[_0x57290b(0x11a)],this[_0x57290b(0x2c8)]=_0x203187==null?void 0x0:_0x203187[_0x57290b(0x2c8)]);}static['drawWith'](_0x4ae2d9,_0x47c89a){const _0x1e7449=_0x29a823,{text:_0x198ab9,color:_0x43a6b1}=_0x47c89a;_0x4ae2d9['save'](),_0x4ae2d9[_0x1e7449(0x250)]=_0x1e7449(0x16d);const _0x5336bc=_0x4ae2d9[_0x1e7449(0x199)](_0x198ab9)['width'],_0x5951e3=Math['min'](_0x5336bc+0x2*me,Qe);Oi(_0x4ae2d9,{'height':ee,'radius':0x4,'width':_0x5951e3,'fill':_0x43a6b1}),_0x4ae2d9['fillStyle']='#FFF';const _0x414da4=me,_0xa79ac2=ee-Ei,_0x52819=Qe-0x2*me;if(_0x5336bc>_0x52819){let _0x21e469='',_0x4bbfca=0x0;for(const _0x3402ed of _0x198ab9){const _0x18f752=_0x4ae2d9[_0x1e7449(0x199)](_0x3402ed)[_0x1e7449(0x251)];if(_0x4bbfca+_0x18f752<=_0x52819-_0x4ae2d9[_0x1e7449(0x199)](_0x1e7449(0x1fc))['width'])_0x21e469+=_0x3402ed,_0x4bbfca+=_0x18f752;else{_0x21e469+=_0x1e7449(0x1fc);break;}}_0x4ae2d9[_0x1e7449(0x27d)](_0x21e469,_0x414da4,_0xa79ac2);}else _0x4ae2d9[_0x1e7449(0x27d)](_0x198ab9,_0x414da4,_0xa79ac2);_0x4ae2d9[_0x1e7449(0x211)]();}['_draw'](_0x1251cd){he['drawWith'](_0x1251cd,this);}}const Ie=_0x29a823(0x192),bi=_0x29a823(0x2b9),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x29a823(0x2fa);class qe{constructor(_0x257b2a,_0x2418cc,_0x5705fa,_0x2f8fda){const _0x98e896=_0x29a823;_(this,_0x98e896(0x235),[]),_(this,_0x98e896(0x18e),null),_(this,'_textBubble',null),_(this,_0x98e896(0x25e),null),_(this,'_hideTimer',null),_(this,_0x98e896(0x1b7),null),(this['_cursor']=_0x257b2a,this[_0x98e896(0x268)]=_0x2418cc,this[_0x98e896(0x1bc)]=_0x5705fa,this['_document']=_0x2f8fda,this[_0x98e896(0x206)]());}set['_hover'](_0x3c4bb7){const _0x1377ab=_0x29a823;_0x3c4bb7?(this[_0x1377ab(0x25e)]&&this[_0x1377ab(0x25e)]['hide'](),this[_0x1377ab(0x1cd)]&&this['_textBubble'][_0x1377ab(0x1dc)]()):(this['_anchorDot']&&this[_0x1377ab(0x25e)][_0x1377ab(0x1dc)](),this[_0x1377ab(0x1cd)]&&this[_0x1377ab(0x1cd)]['hide']());}[_0x29a823(0x181)](){const _0x17e444=_0x29a823;for(const _0x192883 of this['_shapes'])_0x192883[_0x17e444(0x181)]();this[_0x17e444(0x1cd)]&&this[_0x17e444(0x1cd)][_0x17e444(0x181)](),this[_0x17e444(0x25e)]&&this['_anchorDot']['dispose'](),this[_0x17e444(0x18e)]&&this[_0x17e444(0x18e)][_0x17e444(0x181)](),this[_0x17e444(0x1b7)]&&this['_eventUnsubscribe']();}['_render'](){const _0x35f890=_0x29a823;var _0x247c3b;const {_docSkeleton:_0x2338fb,_document:_0xefa2d6}=this,{color:_0x53a69b,name:_0x1ba13e,ranges:_0x3e238f}=this['_cursor'],_0x201e55=_0xefa2d6['getOffsetConfig'](),{docsLeft:_0x157ab1,docsTop:_0x42064c}=_0x201e55,_0x33207f=new _0xa3e32(_0x201e55,_0x2338fb);for(const {startOffset:_0x570f0c,endOffset:_0x939875,rangeType:_0x5d4131,segmentId:_0x4c92f1,segmentPage:_0x5ccb,collapsed:_0x1a424,isActive:_0x24e9a0}of _0x3e238f){const _0x4a20f1=_0x2338fb[_0x35f890(0x12d)](_0x570f0c,!0x0,_0x4c92f1,_0x5ccb);let _0x5c7c4a=_0x2338fb[_0x35f890(0x12d)](_0x939875,!0x0,_0x4c92f1,_0x5ccb);if(_0x5c7c4a==null&&(_0x5c7c4a=_0x2338fb[_0x35f890(0x12d)](_0x939875-0x1,!0x1,_0x4c92f1,_0x5ccb)),_0x24e9a0){const {contentBoxPointGroup:_0x3ef762}=_0x33207f[_0x35f890(0x11e)](_0x5c7c4a,_0x5c7c4a);if(_0x3ef762[_0x35f890(0x131)]===0x0)continue;this['_drawAnchor'](_0x53a69b,_0x3ef762,_0x157ab1,_0x42064c,_0x1ba13e),this[_0x35f890(0x1b7)]=this[_0x35f890(0x2a1)]();}if(_0x4a20f1&&_0x5c7c4a){if(_0x5d4131===_0x3752d4[_0x35f890(0x17c)]){const _0x534d10=new _0x4ea429(_0x201e55,_0x2338fb),{pointGroup:_0x1b4fd0}=(_0x247c3b=_0x534d10['getRangePointData'](_0x4a20f1,_0x5c7c4a))!=null?_0x247c3b:{};if(_0x1b4fd0==null||_0x1b4fd0[_0x35f890(0x131)]===0x0)continue;this[_0x35f890(0x2f0)](_0x53a69b,_0x1b4fd0,_0x157ab1,_0x42064c);}else{if(!_0x1a424){const {borderBoxPointGroup:_0x1ed222}=_0x33207f['getRangePointData'](_0x4a20f1,_0x5c7c4a);if(_0x1ed222[_0x35f890(0x131)]===0x0)continue;this[_0x35f890(0x1de)](_0x53a69b,_0x1ed222,_0x157ab1,_0x42064c);}}}}}[_0x29a823(0x18a)](_0x26ede9,_0x17c2a1,_0x3e8ba0,_0x2d7c59,_0x23cd47){const _0x18fdc3=_0x29a823,_0x5266ae=this[_0x18fdc3(0x1bd)](_0x17c2a1),{left:_0x3d8ccc,top:_0x6b79a2,height:_0x37ed34}=_0x5266ae,_0x49e1b8=this[_0x18fdc3(0x286)](),_0x481814=Di/_0x49e1b8,_0x2470b2=new _0x464272(Ie+_0x4a49e5[_0x18fdc3(0x144)](X),{'left':_0x3d8ccc+_0x3e8ba0-_0x481814,'top':_0x6b79a2+_0x2d7c59,'height':_0x37ed34,'width':Ri,'fill':_0x26ede9||_0x33c28b(_0x186131[_0x18fdc3(0x1e2)],0x0),'strokeWidth':_0x481814,'stroke':Ni,'evented':!0x0});this[_0x18fdc3(0x18e)]=_0x2470b2,this[_0x18fdc3(0x268)]['addObject'](_0x2470b2,_0x47c066);const _0x5b4b4b=new _0x464272(Ie+_0x4a49e5[_0x18fdc3(0x144)](X),{'left':_0x3d8ccc+_0x3e8ba0-_0x481814,'top':_0x6b79a2+_0x2d7c59-ge/0x2,'height':ge,'width':ge,'fill':_0x26ede9||_0x33c28b(_0x186131[_0x18fdc3(0x1e2)],0x0),'strokeWidth':0x0,'stroke':_0x26ede9||_0x33c28b(_0x186131['black'],0x0),'evented':!0x1});this[_0x18fdc3(0x25e)]=_0x5b4b4b,this[_0x18fdc3(0x268)][_0x18fdc3(0x283)](_0x5b4b4b,_0x47c066);const _0x231e57=new he(Ie+_0x4a49e5['generateRandomId'](X),{'left':_0x3d8ccc+_0x3e8ba0-_0x481814,'top':_0x6b79a2+_0x2d7c59-ee,'text':_0x23cd47,'color':_0x26ede9});this[_0x18fdc3(0x1cd)]=_0x231e57,this[_0x18fdc3(0x268)][_0x18fdc3(0x283)](_0x231e57,_0x47c066),this['_hover']=!0x1;}[_0x29a823(0x2a1)](){const _0xdcaed0=_0x29a823,_0x47270f=this['_anchor'][_0xdcaed0(0x22b)][_0xdcaed0(0x2ff)](()=>{this['_hover']=!0x0;}),_0xc541fd=this[_0xdcaed0(0x18e)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x2b1782=_0xdcaed0;this[_0x2b1782(0x254)]&&clearTimeout(this['_hideTimer']),this[_0x2b1782(0x254)]=setTimeout(()=>{const _0x1ebe24=_0x2b1782;this[_0x1ebe24(0x1fa)]=!0x1;},0x7d0);});return()=>{const _0x4fb95b=_0xdcaed0;_0x47270f[_0x4fb95b(0x16c)](),_0xc541fd[_0x4fb95b(0x16c)]();};}['_drawTextRange'](_0x2095cb,_0x5c9537,_0x2a8196,_0x4cff2e){const _0x33ceea=_0x29a823,_0x29281f=new _0x484438(_0x2095cb)[_0x33ceea(0x280)](0.2)[_0x33ceea(0x17e)](),_0x1a16cc=new _0x47e5e0(bi+_0x4a49e5[_0x33ceea(0x144)](X),{'pointsGroup':_0x5c9537,'fill':_0x29281f||_0x33c28b(_0x186131[_0x33ceea(0x1e2)],0.2),'left':_0x2a8196,'top':_0x4cff2e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x33ceea(0x14f)](_0x1a16cc),this[_0x33ceea(0x268)]['addObject'](_0x1a16cc,_0x47c066);}[_0x29a823(0x2f0)](_0x299bc1,_0x4df311,_0x195167,_0x165c57){const _0x24f066=_0x29a823,_0x57bcf4=new _0x484438(_0x299bc1)[_0x24f066(0x280)](0.2)['toRgbString'](),_0x5bb95c=new _0x47e5e0(Ti+_0x4a49e5[_0x24f066(0x144)](X),{'pointsGroup':_0x4df311,'fill':_0x57bcf4||_0x33c28b(_0x186131['black'],0.2),'left':_0x195167,'top':_0x165c57,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x24f066(0x14f)](_0x5bb95c),this[_0x24f066(0x268)][_0x24f066(0x283)](_0x5bb95c,_0x47c066);}['_getAnchorBounding'](_0x31ceac){const _0x50ad1d=_0x31ceac[0x0],_0x4b8aab=_0x50ad1d[0x0],_0x252d9f=_0x50ad1d[0x2],{x:_0x1f00ab,y:_0x5bce20}=_0x4b8aab,{x:_0x479b1f,y:_0x3eb971}=_0x252d9f;return{'left':_0x1f00ab,'top':_0x5bce20,'width':_0x479b1f-_0x1f00ab,'height':_0x3eb971-_0x5bce20};}[_0x29a823(0x286)](){const _0x33e4b6=_0x29a823,{scaleX:_0x1e23db,scaleY:_0x1c0eef}=this[_0x33e4b6(0x268)]['getAncestorScale']();return Math[_0x33e4b6(0x26e)](_0x1e23db,_0x1c0eef);}}var Ui=Object[_0x29a823(0x147)],Mi=(_0x13bca2,_0x1eaa31,_0x51734b,_0x355023)=>{for(var _0x159070=_0x355023>0x1?void 0x0:_0x355023?Ui(_0x1eaa31,_0x51734b):_0x1eaa31,_0x31d152=_0x13bca2['length']-0x1,_0x84e2c1;_0x31d152>=0x0;_0x31d152--)(_0x84e2c1=_0x13bca2[_0x31d152])&&(_0x159070=_0x84e2c1(_0x159070)||_0x159070);return _0x159070;},Z=(_0x2f446b,_0x5200b1)=>(_0x46fafa,_0x34108e)=>_0x5200b1(_0x46fafa,_0x34108e,_0x2f446b);let we=class extends _0x5b0a30{constructor(_0x2aaf5b,_0x17f24a,_0x3c25dd,_0x967b7b,_0x4a8aef){const _0x4e666b=_0x29a823;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x2aaf5b,this[_0x4e666b(0x18c)]=_0x17f24a,this[_0x4e666b(0x202)]=_0x3c25dd,this[_0x4e666b(0x15f)]=_0x967b7b,this[_0x4e666b(0x21b)]=_0x4a8aef,this['_init']());}[_0x29a823(0x282)](){const _0x23c655=_0x29a823,_0x4eae87=this[_0x23c655(0x19f)]['unitId'],_0x3774aa=this[_0x23c655(0x18c)];this[_0x23c655(0x1bf)](_0x472c44([this[_0x23c655(0x202)][_0x23c655(0x239)](_0x4eae87),this['_themeService']['currentTheme$']])[_0x23c655(0x1bb)](_0x40c94b(([_0x53f313,_0x180a4c])=>({'skeleton':_0x3774aa[_0x23c655(0x1f5)](),'cursors':[..._0x53f313[_0x23c655(0x2b6)]()][_0x23c655(0x1ae)](_0x41ecd3=>({..._0x41ecd3,'color':this['_themeService'][_0x23c655(0x2b4)](_0x41ecd3[_0x23c655(0x11a)])}))})))[_0x23c655(0x1a9)](_0x31decd=>{const _0x34d622=_0x23c655;if(this[_0x34d622(0x16f)](),_0x31decd){const {skeleton:_0x190917,cursors:_0xbf01c3}=_0x31decd;this['_updateCollabCursors'](_0x190917,_0xbf01c3);}})),this[_0x23c655(0x1eb)](),this['_initCommandExecutedListener']();}[_0x29a823(0x298)](_0x4d07ce,_0x37075e){const _0x7b9161=_0x29a823,{scene:_0x366306,mainComponent:_0x599579}=this[_0x7b9161(0x19f)],_0x453ac2=_0x37075e[_0x7b9161(0x207)](_0x409bd4=>new qe(_0x409bd4,_0x366306,_0x4d07ce,_0x599579));this[_0x7b9161(0x1fd)]=_0x453ac2,this[_0x7b9161(0x223)]=_0x37075e;}['_refreshCollabCursors'](){const _0x5772f4=_0x29a823;this['_removeCollabCursors']();const {scene:_0xb2f187,mainComponent:_0x4df15b}=this['_context'],_0x40361a=this['_docSkeletonManagerService'][_0x5772f4(0x1f5)](),_0xdc9b22=this[_0x5772f4(0x223)][_0x5772f4(0x207)](_0x4df648=>new qe(_0x4df648,_0xb2f187,_0x40361a,_0x4df15b));this[_0x5772f4(0x1fd)]=_0xdc9b22;}['_removeCollabCursors'](){const _0x3ee85e=_0x29a823;this[_0x3ee85e(0x1fd)]['forEach'](_0x43ec82=>_0x43ec82[_0x3ee85e(0x181)]()),this[_0x3ee85e(0x1fd)]=[];}[_0x29a823(0x301)](){const _0x4be086=_0x29a823,_0x4f57ab=[_0x5a7e69['id']];this[_0x4be086(0x1bf)](this[_0x4be086(0x15f)][_0x4be086(0x132)](_0x5257e2=>{const _0x5cfdc7=_0x4be086;_0x4f57ab[_0x5cfdc7(0x1ad)](_0x5257e2['id'])&&_0x5257e2[_0x5cfdc7(0x15a)][_0x5cfdc7(0x2d5)]===this['_context']['unitId']&&this[_0x5cfdc7(0x13c)]();}));}['_initResize'](){const _0x40da49=_0x29a823;this['disposeWithMe'](_0x2c516c(this[_0x40da49(0x19f)][_0x40da49(0x1a6)][_0x40da49(0x128)])[_0x40da49(0x1bb)](_0x3bbf03(_0x40eced=>_0x40eced['type']===_0x4b4245[_0x40da49(0x123)]),_0x307166(0x10))[_0x40da49(0x1a9)](()=>{const _0x4275c4=_0x40da49;this[_0x4275c4(0x13c)]();}));}};we=Mi([Z(0x1,_0x455d91(_0xf44655)),Z(0x2,_0x455d91(H)),Z(0x3,_0x4398a9),Z(0x4,_0x455d91(_0x526cce))],we);const wi=0x1,Pi=1.5;class Li extends _0x8a366b{constructor(_0x57f672,_0x5281b5){const _0x2e9719=_0x29a823;super(_0x57f672,_0x5281b5),_(this,_0x2e9719(0x1b4)),_(this,_0x2e9719(0x20b),!0x1),_(this,_0x2e9719(0x216)),_(this,_0x2e9719(0x23c),''),_(this,_0x2e9719(0x28b),_0x2e9719(0x175)),_(this,_0x2e9719(0x2b0)),(_0x5281b5&&this['setShapeProps'](_0x5281b5),this[_0x2e9719(0x22b)]['subscribeEvent'](()=>this[_0x2e9719(0x145)]({'hovered':!0x0})),this[_0x2e9719(0x2d9)][_0x2e9719(0x2ff)](()=>this[_0x2e9719(0x145)]({'hovered':!0x1})));}[_0x29a823(0x145)](_0x1fdb4f){const _0x193120=_0x29a823;var _0x45d135,_0x499f2c,_0x13eb2e,_0x1a6871,_0x54e612,_0x37dd65;this[_0x193120(0x1b4)]=(_0x45d135=_0x1fdb4f[_0x193120(0x11a)])!=null?_0x45d135:this[_0x193120(0x1b4)],this[_0x193120(0x20b)]=(_0x499f2c=_0x1fdb4f['hovered'])!=null?_0x499f2c:this[_0x193120(0x20b)],this[_0x193120(0x216)]=(_0x13eb2e=_0x1fdb4f[_0x193120(0x1ef)])!=null?_0x13eb2e:this['_range'],this[_0x193120(0x23c)]=(_0x1a6871=_0x1fdb4f['name'])!=null?_0x1a6871:this[_0x193120(0x23c)],this[_0x193120(0x28b)]=(_0x54e612=_0x1fdb4f['labelPosition'])!=null?_0x54e612:this[_0x193120(0x28b)],this['_backgroundColor']=(_0x37dd65=_0x1fdb4f['backgroundColor'])!=null?_0x37dd65:this[_0x193120(0x2b0)],this[_0x193120(0x219)]({'width':_0x1fdb4f[_0x193120(0x251)],'height':_0x1fdb4f[_0x193120(0x121)]});}[_0x29a823(0x188)](_0x134507){const _0x9feafc=_0x29a823,{row:_0x202e33,column:_0x3a4d45}=_0x134507;if(_0x202e33>=this[_0x9feafc(0x216)][_0x9feafc(0x118)]&&_0x202e33<=this['_range'][_0x9feafc(0x1b5)]&&_0x3a4d45>=this['_range']['startColumn']&&_0x3a4d45<=this[_0x9feafc(0x216)][_0x9feafc(0x24e)]){this[_0x9feafc(0x145)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x26c022){return!0x1;}[_0x29a823(0x151)](_0x2e3b81){const _0x52454a=_0x29a823;_0x464272[_0x52454a(0x2e5)](_0x2e3b81,{'width':this['width'],'height':this[_0x52454a(0x121)],'strokeWidth':Pi,'stroke':this[_0x52454a(0x1b4)],'evented':!0x1,'fill':this[_0x52454a(0x2b0)]}),this['_hovered']&&(_0x2e3b81['save'](),_0x2e3b81[_0x52454a(0x126)](0x1,0x0,0x0,0x1,this[_0x52454a(0x251)],this[_0x52454a(0x28b)]===_0x52454a(0x2f7)?0x0:-0x14),he[_0x52454a(0x2e5)](_0x2e3b81,{'text':this[_0x52454a(0x23c)],'color':this[_0x52454a(0x1b4)]}),_0x2e3b81['restore']());}}var Ai=Object[_0x29a823(0x147)],yi=(_0x3b0563,_0x3f8284,_0x2bb856,_0x35583f)=>{const _0x30b735=_0x29a823;for(var _0x59d5a7=_0x35583f>0x1?void 0x0:_0x35583f?Ai(_0x3f8284,_0x2bb856):_0x3f8284,_0x57ae07=_0x3b0563[_0x30b735(0x131)]-0x1,_0x184033;_0x57ae07>=0x0;_0x57ae07--)(_0x184033=_0x3b0563[_0x57ae07])&&(_0x59d5a7=_0x184033(_0x59d5a7)||_0x59d5a7);return _0x59d5a7;},ve=(_0x581679,_0x32f8ff)=>(_0x9ccb18,_0x131e69)=>_0x32f8ff(_0x9ccb18,_0x131e69,_0x581679);const $i=0x1389;let Pe=class extends _0x5b0a30{constructor(_0x133287,_0x332015,_0x18b37c,_0x4ab7a6){const _0x376b85=_0x29a823;super(),_(this,_0x376b85(0x223),new Set()),_(this,'_lastPointer',null),(this[_0x376b85(0x19f)]=_0x133287,this[_0x376b85(0x19a)]=_0x332015,this[_0x376b85(0x202)]=_0x18b37c,this[_0x376b85(0x21b)]=_0x4ab7a6,this[_0x376b85(0x282)]());}[_0x29a823(0x282)](){const _0x52f4d0=_0x29a823;this[_0x52f4d0(0x19a)][_0x52f4d0(0x114)][_0x52f4d0(0x1bb)](_0x336390(this[_0x52f4d0(0x266)]),_0x3c2c37(_0x10cd80=>{const _0x4496b0=_0x52f4d0;if(_0x10cd80){const _0x20bdf2=_0x10cd80[_0x4496b0(0x23a)];return _0x472c44(this[_0x4496b0(0x202)]['getCollabCursors$'](this['_context'][_0x4496b0(0x2d5)]),this[_0x4496b0(0x21b)][_0x4496b0(0x1e4)])[_0x4496b0(0x1bb)](_0x40c94b(([_0x302f8b,_0x286b80])=>{const _0x5b85f9=new Map();return _0x302f8b['forEach']((_0x217b2b,_0x37b29a)=>{const _0x5564e8=_0x2d0d;if(_0x217b2b[_0x5564e8(0x2ca)]===_0x20bdf2){const _0x3b670c={..._0x217b2b};_0x3b670c['color']=this[_0x5564e8(0x21b)]['getColorFromTheme'](_0x217b2b[_0x5564e8(0x11a)]),_0x5b85f9['set'](_0x37b29a,_0x3b670c);}}),{'skeleton':_0x10cd80,'cursors':_0x5b85f9};}));}return _0x539c3b({'skeleton':null,'cursors':new Map()});}))[_0x52f4d0(0x1a9)](({skeleton:_0x63c646,cursors:_0x2e49ea})=>{const _0x2ea2aa=_0x52f4d0;this['_removeCollabCursors'](),_0x63c646&&this[_0x2ea2aa(0x298)](_0x63c646,_0x2e49ea);}),this[_0x52f4d0(0x19a)][_0x52f4d0(0x114)][_0x52f4d0(0x1a9)](_0x207a58=>{const _0x16475c=_0x52f4d0;if(_0x207a58==null)return;const {skeleton:_0x4244b8}=_0x207a58,{scene:_0x345ae1}=this['_context'];_0x345ae1[_0x16475c(0x21c)][_0x16475c(0x2ff)](_0x10150e(_0x1cfd77=>{const _0x173dbe=_0x16475c;var _0x5ea34e,_0x2220f1;const {offsetX:_0x23e759,offsetY:_0x5d6915}=_0x1cfd77,{x:_0x25229b,y:_0x4601e8}=_0x345ae1[_0x173dbe(0x2ee)](_0x40bec2[_0x173dbe(0x1d9)]([_0x23e759,_0x5d6915])),{scaleX:_0x266fe6,scaleY:_0x31d067}=_0x345ae1[_0x173dbe(0x1fe)](),_0x18c020=_0x345ae1[_0x173dbe(0x269)](_0x11dd22['VIEW_MAIN']),_0x495291=_0x345ae1['getVpScrollXYInfoByPosToVp'](_0x40bec2[_0x173dbe(0x1d9)]([_0x25229b,_0x4601e8]),_0x18c020),_0x55566f=_0x4244b8[_0x173dbe(0x177)](_0x23e759,_0x5d6915,_0x266fe6,_0x31d067,_0x495291);((_0x5ea34e=this[_0x173dbe(0x1d6)])==null?void 0x0:_0x5ea34e[_0x173dbe(0x1e8)])===_0x55566f[_0x173dbe(0x1e8)]&&((_0x2220f1=this[_0x173dbe(0x1d6)])==null?void 0x0:_0x2220f1[_0x173dbe(0x2fb)])===_0x55566f['row']||this[_0x173dbe(0x223)][_0x173dbe(0x130)](_0x2d9334=>{_0x2d9334['onMouseMove'](_0x55566f);});},0x64));});}[_0x29a823(0x298)](_0x21eddb,_0x23c0ed){const _0x1c5ea2=_0x29a823;var _0x150f69;const _0xa6c1a2=(_0x150f69=this[_0x1c5ea2(0x19a)][_0x1c5ea2(0x122)]())==null?void 0x0:_0x150f69[_0x1c5ea2(0x25d)];if(!_0xa6c1a2)return;const _0x230343=this['_getSheetObject']();if(!_0x230343)return;this[_0x1c5ea2(0x223)][_0x1c5ea2(0x130)](_0x292fe4=>{_0x292fe4['makeDirty']();});const {scene:_0x48efba}=_0x230343,_0x9eaca2=xi(Array[_0x1c5ea2(0x19b)](_0x23c0ed[_0x1c5ea2(0x2b6)]()))[_0x1c5ea2(0x207)](_0x5a90ee=>{const _0x4bb986=_0x1c5ea2,{color:_0x4d8edd,range:_0x30d54e,name:_0x5706a0,selection:_0x5549f5,sheetID:_0x54dac3}=_0x5a90ee,{startColumn:_0x4c478d,startRow:_0x31316c,endColumn:_0x433e1b,endRow:_0x411535}=_0x30d54e,_0x230474=_0x457124(_0x31316c,_0x4c478d,_0x48efba,_0xa6c1a2),_0x3da78d=_0x457124(_0x411535,_0x433e1b,_0x48efba,_0xa6c1a2),{columnHeaderHeightAndMarginTop:_0x331886}=_0xa6c1a2,{startX:_0x2e1e73,startY:_0x4c4b1f}=_0x230474,{endX:_0x122e9f,endY:_0x38a124}=_0x3da78d,_0x106701=_0x122e9f-_0x2e1e73,_0xf49517=_0x38a124-_0x4c4b1f,_0x507124={'labelPosition':_0x4c4b1f-_0x331886>=ee?_0x4bb986(0x175):_0x4bb986(0x2f7),'sheetID':_0x54dac3,'range':_0x30d54e,'color':_0x4d8edd,'name':_0x5706a0,'selection':_0x5549f5,'left':_0x2e1e73,'top':_0x4c4b1f,'width':_0x106701,'height':_0xf49517,'evented':!0x1,'zIndex':$i};return new Li(_0x5706a0,_0x507124);});_0x48efba['addObjects'](_0x9eaca2,wi),this['_cursors']=new Set(_0x9eaca2);}[_0x29a823(0x16f)](){const _0x60d93b=_0x29a823;var _0x1f341d;(_0x1f341d=this[_0x60d93b(0x223)])==null||_0x1f341d['forEach'](_0x53ad3f=>_0x53ad3f[_0x60d93b(0x181)]());}[_0x29a823(0x2fe)](){const _0x28d944=_0x29a823;return _0x412eda(this[_0x28d944(0x19f)][_0x28d944(0x238)],this['_context']);}};Pe=yi([ve(0x1,_0x455d91(_0x58a1ab)),ve(0x2,_0x455d91(H)),ve(0x3,_0x455d91(_0x526cce))],Pe);function xi(_0x5227dc){const _0x4593bd=_0x29a823,_0x3cee14=new Map();return _0x5227dc[_0x4593bd(0x130)](_0x2d58aa=>{const _0x184fc0=_0x4593bd;if(_0x3cee14[_0x184fc0(0x1dd)](_0x2d58aa['selection'])){const _0x31ddb8=_0x3cee14['get'](_0x2d58aa[_0x184fc0(0x2d1)]);_0x31ddb8[_0x184fc0(0x22c)]+=',\x20'+_0x2d58aa[_0x184fc0(0x22c)];}else _0x3cee14[_0x184fc0(0x17d)](_0x2d58aa[_0x184fc0(0x2d1)],_0x2d58aa);}),Array['from'](_0x3cee14['values']());}var v=function(){const _0x152a2d=_0x29a823;return v=Object[_0x152a2d(0x2d0)]||function(_0x4c8074){const _0x2337dd=_0x152a2d;for(var _0x3e5ab8,_0x4c53f9=0x1,_0x152a1c=arguments[_0x2337dd(0x131)];_0x4c53f9<_0x152a1c;_0x4c53f9++){_0x3e5ab8=arguments[_0x4c53f9];for(var _0x30b7a6 in _0x3e5ab8)Object[_0x2337dd(0x1b1)][_0x2337dd(0x2dd)][_0x2337dd(0x29f)](_0x3e5ab8,_0x30b7a6)&&(_0x4c8074[_0x30b7a6]=_0x3e5ab8[_0x30b7a6]);}return _0x4c8074;},v[_0x152a2d(0x135)](this,arguments);},Bi=function(_0x27a7b8,_0x20afdb){const _0x302693=_0x29a823;var _0x11ec5c={};for(var _0x4c6124 in _0x27a7b8)Object['prototype'][_0x302693(0x2dd)][_0x302693(0x29f)](_0x27a7b8,_0x4c6124)&&_0x20afdb[_0x302693(0x209)](_0x4c6124)<0x0&&(_0x11ec5c[_0x4c6124]=_0x27a7b8[_0x4c6124]);if(_0x27a7b8!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x58fc71=0x0,_0x4c6124=Object['getOwnPropertySymbols'](_0x27a7b8);_0x58fc71<_0x4c6124[_0x302693(0x131)];_0x58fc71++)_0x20afdb[_0x302693(0x209)](_0x4c6124[_0x58fc71])<0x0&&Object[_0x302693(0x1b1)][_0x302693(0x161)][_0x302693(0x29f)](_0x27a7b8,_0x4c6124[_0x58fc71])&&(_0x11ec5c[_0x4c6124[_0x58fc71]]=_0x27a7b8[_0x4c6124[_0x58fc71]]);}return _0x11ec5c;},je=_0x2d8cbf(function(_0x2d58fa,_0x4f603f){const _0x485760=_0x29a823;var _0x2f818e=_0x2d58fa[_0x485760(0x16a)],_0x480f18=_0x2d58fa['id'],_0xe763fd=_0x2d58fa[_0x485760(0x29b)],_0x573115=_0x2d58fa[_0x485760(0x2a9)],_0xca1e62=Bi(_0x2d58fa,['icon','id',_0x485760(0x29b),_0x485760(0x2a9)]),_0x5e8b12='univerjs-icon\x20univerjs-icon-'[_0x485760(0x203)](_0x480f18,'\x20')[_0x485760(0x203)](_0xe763fd||'')[_0x485760(0x29d)](),_0x23388c=_0x1bd1d1('_'[_0x485760(0x203)](ji()));return Rt(_0x2f818e,''['concat'](_0x480f18),{'defIds':_0x2f818e[_0x485760(0x142)],'idSuffix':_0x23388c['current']},v({'ref':_0x4f603f,'className':_0x5e8b12},_0xca1e62),_0x573115);});function Rt(_0x3ca17d,_0x60d741,_0x5a8b31,_0x5aefa8,_0x41af46){const _0x2c783f=_0x29a823;return _0x2ea805(_0x3ca17d['tag'],v(v({'key':_0x60d741},ki(_0x3ca17d,_0x5a8b31,_0x41af46)),_0x5aefa8),(Hi(_0x3ca17d,_0x5a8b31)[_0x2c783f(0x187)]||[])[_0x2c783f(0x207)](function(_0x13a988,_0x2ad774){const _0x2655e7=_0x2c783f;return Rt(_0x13a988,''['concat'](_0x60d741,'-')[_0x2655e7(0x203)](_0x3ca17d['tag'],'-')[_0x2655e7(0x203)](_0x2ad774),_0x5a8b31,void 0x0,_0x41af46);}));}function ki(_0x11aa12,_0x2edf61,_0x4356a0){const _0x4c3f97=_0x29a823;var _0xa468df=v({},_0x11aa12[_0x4c3f97(0x21e)]);_0x4356a0!=null&&_0x4356a0[_0x4c3f97(0x15c)]&&_0xa468df[_0x4c3f97(0x22f)]==='colorChannel1'&&(_0xa468df[_0x4c3f97(0x22f)]=_0x4356a0['colorChannel1']),_0x11aa12[_0x4c3f97(0x171)]===_0x4c3f97(0x134)&&_0xa468df['id']&&(_0xa468df['id']=_0xa468df['id']+_0x2edf61[_0x4c3f97(0x1c2)]),Object['entries'](_0xa468df)[_0x4c3f97(0x130)](function(_0x41a7d6){const _0x3c4356=_0x4c3f97;var _0x373527=_0x41a7d6[0x0],_0x1a463f=_0x41a7d6[0x1];_0x373527===_0x3c4356(0x134)&&typeof _0x1a463f=='string'&&(_0xa468df[_0x373527]=_0x1a463f[_0x3c4356(0x1ee)](/url\(#(.*)\)/,_0x3c4356(0x11b)['concat'](_0x2edf61[_0x3c4356(0x1c2)],')')));});var _0x354d74=_0x2edf61[_0x4c3f97(0x142)];return!_0x354d74||_0x354d74[_0x4c3f97(0x131)]===0x0||(_0x11aa12[_0x4c3f97(0x171)]===_0x4c3f97(0x120)&&_0xa468df[_0x4c3f97(0x290)]&&(_0xa468df[_0x4c3f97(0x290)]=_0xa468df[_0x4c3f97(0x290)]+_0x2edf61[_0x4c3f97(0x1c2)]),Object[_0x4c3f97(0x1f2)](_0xa468df)['forEach'](function(_0x4b04db){const _0x23e75e=_0x4c3f97;var _0x2b7d9d=_0x4b04db[0x0],_0x564a36=_0x4b04db[0x1];typeof _0x564a36==_0x23e75e(0x1b2)&&(_0xa468df[_0x2b7d9d]=_0x564a36[_0x23e75e(0x1ee)](/url\(#(.*)\)/,_0x23e75e(0x11b)[_0x23e75e(0x203)](_0x2edf61['idSuffix'],')')));})),_0xa468df;}function Hi(_0x2903c0,_0x3ec492){const _0x59ec33=_0x29a823;var _0x188dda,_0x3d4644=_0x3ec492['defIds'];return!_0x3d4644||_0x3d4644[_0x59ec33(0x131)]===0x0?_0x2903c0:_0x2903c0[_0x59ec33(0x171)]===_0x59ec33(0x28c)&&(!((_0x188dda=_0x2903c0[_0x59ec33(0x187)])===null||_0x188dda===void 0x0)&&_0x188dda['length'])?v(v({},_0x2903c0),{'children':_0x2903c0['children'][_0x59ec33(0x207)](function(_0x4e695e){const _0x2f01dc=_0x59ec33;return typeof _0x4e695e[_0x2f01dc(0x21e)]['id']==_0x2f01dc(0x1b2)&&_0x3d4644&&_0x3d4644[_0x2f01dc(0x1ad)](_0x4e695e[_0x2f01dc(0x21e)]['id'])?v(v({},_0x4e695e),{'attrs':v(v({},_0x4e695e[_0x2f01dc(0x21e)]),{'id':_0x4e695e[_0x2f01dc(0x21e)]['id']+_0x3ec492[_0x2f01dc(0x1c2)]})}):_0x4e695e;})}):_0x2903c0;}function ji(){const _0x90c20=_0x29a823;return Math['random']()[_0x90c20(0x2c0)](0x24)[_0x90c20(0x201)](0x2,0x8);}je[_0x29a823(0x2f6)]=_0x29a823(0x2a5);var Yi={'tag':'svg','attrs':{'xmlns':_0x29a823(0x1a8),'fill':_0x29a823(0x117),'viewBox':_0x29a823(0x230),'width':_0x29a823(0x27f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x29a823(0x227)},'children':[{'tag':_0x29a823(0x24d),'attrs':{'stroke':_0x29a823(0x1e1),'d':_0x29a823(0x18f),'strokeLinecap':_0x29a823(0x157),'strokeLinejoin':_0x29a823(0x157),'strokeWidth':1.2}}]},{'tag':_0x29a823(0x28c),'attrs':{},'children':[{'tag':_0x29a823(0x295),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x29a823(0x24d),'attrs':{'fill':_0x29a823(0x1a7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x29a823(0x28d)]},Dt=_0x2d8cbf(function(_0x1ff170,_0x308a84){const _0x2f51ea=_0x29a823;return _0x2ea805(je,Object[_0x2f51ea(0x2d0)]({},_0x1ff170,{'id':'off-line-icon','ref':_0x308a84,'icon':Yi}));});Dt[_0x29a823(0x2f6)]=_0x29a823(0x20d);var Fi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29a823(0x117),'viewBox':'0\x200\x2017\x2016','width':_0x29a823(0x27f),'height':_0x29a823(0x27f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x29a823(0x24d),'attrs':{'stroke':'currentColor','d':_0x29a823(0x1f4),'strokeLinecap':_0x29a823(0x157),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29a823(0x28c),'attrs':{},'children':[{'tag':_0x29a823(0x295),'attrs':{'id':_0x29a823(0x25a)},'children':[{'tag':_0x29a823(0x24d),'attrs':{'fill':_0x29a823(0x1a7),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x29a823(0x25a)]},Nt=_0x2d8cbf(function(_0x58d4e2,_0x39cae6){const _0x47bd28=_0x29a823;return _0x2ea805(je,Object[_0x47bd28(0x2d0)]({},_0x58d4e2,{'id':'on-line-icon','ref':_0x39cae6,'icon':Fi}));});Nt['displayName']='OnLineIcon';function Wi(_0x120719){const _0x46a33c=_0x29a823;switch(_0x120719){case _0x5276f4['OFFLINE']:return'collabStatus.offline';case _0x5276f4[_0x46a33c(0x25f)]:return'collabStatus.conflict';case _0x5276f4[_0x46a33c(0x1e9)]:return _0x46a33c(0x300);case _0x5276f4['NOT_COLLAB']:return _0x46a33c(0x148);case _0x5276f4[_0x46a33c(0x12a)]:case _0x5276f4[_0x46a33c(0x149)]:return _0x46a33c(0x12b);case _0x5276f4['SYNCED']:case _0x5276f4['PENDING']:return'collabStatus.synced';}}function Vi(_0x788b2){const _0x34be19=_0x29a823,{status$:_0x313130}=_0x788b2,_0x5b8fa3=_0x49a27b(_0x313130,_0x5276f4[_0x34be19(0x29e)]),_0x4643cb=_0x316a74(_0x1cb89e),_0x595e37=_0x316a74(_0xf66e31),_0x571c6e=_0x5b8fa3!==_0x5276f4[_0x34be19(0x22a)],_0x30635c=_0x4643cb['t'](Wi(_0x5b8fa3)),_0x486dce=_0x571c6e?_0x15a63d(Nt,{}):_0x15a63d(Dt,{}),_0x2012cb=_0x54db02(()=>{const _0xa03187=_0x34be19;_0x571c6e||_0x595e37[_0xa03187(0x13e)]();},[_0x571c6e,_0x595e37]);function _0x5efc62(){const _0x20ba1d=_0x34be19;return _0x15ba8b('div',{'className':_0x20ba1d(0x1c6),'onClick':_0x2012cb,'children':[_0x15a63d(_0x20ba1d(0x2af),{'className':_0x3ceee0(_0x20ba1d(0x170),{'univer-text-green-500':_0x571c6e,'univer-text-red-500':!_0x571c6e}),'children':_0x486dce}),_0x15a63d(_0x20ba1d(0x2af),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x30635c})]});}return _0x571c6e?_0x5efc62():_0x15a63d(_0xbbccda,{'title':_0x4643cb['t'](_0x34be19(0x1c5)),'children':_0x5efc62()});}var Xi=Object[_0x29a823(0x147)],Gi=(_0x77acfa,_0x1ef444,_0x4fb655,_0x1b32fb)=>{const _0x1350a6=_0x29a823;for(var _0x5692e0=_0x1b32fb>0x1?void 0x0:_0x1b32fb?Xi(_0x1ef444,_0x4fb655):_0x1ef444,_0x3b602d=_0x77acfa[_0x1350a6(0x131)]-0x1,_0x12ac1e;_0x3b602d>=0x0;_0x3b602d--)(_0x12ac1e=_0x77acfa[_0x3b602d])&&(_0x5692e0=_0x12ac1e(_0x5692e0)||_0x5692e0);return _0x5692e0;},Q=(_0x16c9d1,_0x43283c)=>(_0x5386ef,_0x31d16a)=>_0x43283c(_0x5386ef,_0x31d16a,_0x16c9d1);let te=class extends _0x10f221{constructor(_0x5a92b8,_0x1d50fd,_0x2f8d1c,_0x1ede8c){const _0x48da5e=_0x29a823;super(),_(this,_0x48da5e(0x10f),new _0x168fee(_0x5276f4[_0x48da5e(0x29e)])),(this[_0x48da5e(0x19c)]=_0x5a92b8,this['_injector']=_0x1d50fd,this[_0x48da5e(0x2b5)]=_0x2f8d1c,this[_0x48da5e(0x1e0)]=_0x1ede8c,this[_0x48da5e(0x259)](),this['_initStatusListener']());}[_0x29a823(0x14b)](){const _0x546b8d=_0x29a823;this[_0x546b8d(0x1bf)](this[_0x546b8d(0x19c)]['focused$'][_0x546b8d(0x1bb)](_0x513abf(()=>{const _0x103616=_0x546b8d,_0x56f053=this['_univerInstanceService']['getFocusedUnit']();return _0x56f053?this[_0x103616(0x2b5)]['getCollabEntity$'](_0x56f053['getUnitId']()):_0x539c3b(null);}),_0x513abf(_0x5d610b=>_0x5d610b?_0x5d610b[_0x546b8d(0x15e)]:_0x539c3b(_0x5276f4[_0x546b8d(0x29e)])))[_0x546b8d(0x1a9)](_0x2705f9=>{const _0x33cc92=_0x546b8d;this[_0x33cc92(0x10f)][_0x33cc92(0x21a)](_0x2705f9);}));}[_0x29a823(0x259)](){const _0x214321=_0x29a823;this[_0x214321(0x1bf)](this[_0x214321(0x1e0)][_0x214321(0x2d7)](_0x4bc2d7[_0x214321(0x179)],()=>_0x23b9eb(Ki({'status$':this[_0x214321(0x10f)][_0x214321(0x2e2)]()}),this[_0x214321(0x1c7)])));}};te=Gi([Q(0x0,_0x11340f),Q(0x1,_0x455d91(_0x44d15d)),Q(0x2,_0x455d91(_0x17f747)),Q(0x3,_0x7a0a73)],te);function Ki(_0x380faa){const {status$:_0x4f9f87}=_0x380faa;return function(){return _0x15a63d(Vi,{'status$':_0x4f9f87});};}var zi=Object[_0x29a823(0x147)],Ji=(_0x59a9c1,_0x2eceeb,_0xd2541d,_0xfc8d66)=>{const _0x146178=_0x29a823;for(var _0x24bb85=_0xfc8d66>0x1?void 0x0:_0xfc8d66?zi(_0x2eceeb,_0xd2541d):_0x2eceeb,_0x1b6fa1=_0x59a9c1[_0x146178(0x131)]-0x1,_0x1680ee;_0x1b6fa1>=0x0;_0x1b6fa1--)(_0x1680ee=_0x59a9c1[_0x1b6fa1])&&(_0x24bb85=_0x1680ee(_0x24bb85)||_0x24bb85);return _0x24bb85;},B=(_0x20bba5,_0x2fc9c3)=>(_0x2a5d24,_0x2c1a2c)=>_0x2fc9c3(_0x2a5d24,_0x2c1a2c,_0x20bba5);let se=class extends _0x10f221{constructor(_0xffa8b,_0x15897d,_0xf0954b,_0x47d79e,_0x2d2f0b,_0x30da96){const _0xa8b7b6=_0x29a823;super(),this[_0xa8b7b6(0x173)]=_0xffa8b,this[_0xa8b7b6(0x182)]=_0x15897d,this[_0xa8b7b6(0x2cc)]=_0xf0954b,this[_0xa8b7b6(0x158)]=_0x47d79e,this[_0xa8b7b6(0x176)]=_0x2d2f0b,this[_0xa8b7b6(0x2ac)]=_0x30da96,this[_0xa8b7b6(0x243)](),this[_0xa8b7b6(0x2a7)]();}['_setupBeforeClosingHandler'](){const _0x5abc37=_0x29a823;this[_0x5abc37(0x1bf)](this[_0x5abc37(0x173)][_0x5abc37(0x2df)](()=>{const _0x3b284b=_0x5abc37;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x3b284b(0x2ac)]['t'](_0x3b284b(0x2cd));}));}['_initEvent'](){const _0x4dda3f=_0x29a823;this[_0x4dda3f(0x1bf)](this[_0x4dda3f(0x2cc)][_0x4dda3f(0x1c9)][_0x4dda3f(0x1a9)](_0x15488a=>{const _0x2fdae6=_0x4dda3f;_0x15488a['id']===_0x1ec792[_0x2fdae6(0x2ea)]&&this['_messageService']['show']({'type':_0x5740c0[_0x2fdae6(0x29c)],'content':this[_0x2fdae6(0x2ac)]['t']('collaboration.single-unit.warning')}),_0x15488a['id']===_0x1ec792[_0x2fdae6(0x231)]&&this[_0x2fdae6(0x158)]['show']({'type':_0x5740c0[_0x2fdae6(0x29c)],'content':this['_localeService']['t'](_0x2fdae6(0x1f9))}),_0x15488a['id']===_0x1ec792[_0x2fdae6(0x164)]&&this['_notificationService']['show']({'title':this[_0x2fdae6(0x2ac)]['t'](_0x2fdae6(0x293)),'content':this[_0x2fdae6(0x2ac)]['t'](_0x2fdae6(0x255)),'type':_0x2fdae6(0x2f4),'duration':0x0}),_0x15488a['id']===_0x1ec792['CONFLICT']&&this[_0x2fdae6(0x158)][_0x2fdae6(0x1dc)]({'type':_0x5740c0[_0x2fdae6(0x204)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x15488a[_0x2fdae6(0x2a8)]+')'}),_0x15488a['id']===_0x1ec792['JOIN_ROOM_FAILED']&&this[_0x2fdae6(0x158)][_0x2fdae6(0x1dc)]({'type':_0x5740c0['Warning'],'content':this[_0x2fdae6(0x2ac)]['t'](_0x15488a['data']||'')}),_0x15488a['id']===_0x1ec792[_0x2fdae6(0x2c6)]&&this['_messageService'][_0x2fdae6(0x1dc)]({'type':_0x5740c0[_0x2fdae6(0x29c)],'content':this[_0x2fdae6(0x2ac)]['t'](_0x2fdae6(0x258))}),_0x15488a['id']===_0x1ec792[_0x2fdae6(0x150)]&&this['_messageService'][_0x2fdae6(0x1dc)]({'type':_0x5740c0[_0x2fdae6(0x204)],'content':this['_localeService']['t']('session.connection-failed')}),_0x15488a['id']===_0x1ec792[_0x2fdae6(0x260)]&&this[_0x2fdae6(0x158)][_0x2fdae6(0x1dc)]({'type':_0x5740c0[_0x2fdae6(0x204)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x1aa7ba),B(0x1,_0x4ec0e3),B(0x2,_0x455d91(_0x37732d)),B(0x3,_0x19b68c),B(0x4,_0x4a10a4),B(0x5,_0x455d91(_0x1cb89e))],se);const Zi=_0x29a823(0x2fc),et={},Ut=_0x489ce9('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x46e44c,_0x1a0c09,_0x430198,_0x4a5867)=>{for(var _0xca5806=_0x4a5867>0x1?void 0x0:_0x4a5867?Qi(_0x1a0c09,_0x430198):_0x1a0c09,_0x40ba26=_0x46e44c['length']-0x1,_0x156bf5;_0x40ba26>=0x0;_0x40ba26--)(_0x156bf5=_0x46e44c[_0x40ba26])&&(_0xca5806=_0x156bf5(_0xca5806)||_0xca5806);return _0xca5806;},G=(_0x2b90c9,_0x1998e0)=>(_0x3ecda5,_0x15b4a8)=>_0x1998e0(_0x3ecda5,_0x15b4a8,_0x2b90c9);let ie=class extends _0x5b0a30{constructor(_0x2da8ee,_0x329361,_0x344d14,_0x23118e,_0x5f3a76){const _0x491662=_0x29a823;super(),this[_0x491662(0x237)]=_0x2da8ee,this[_0x491662(0x2e7)]=_0x329361,this[_0x491662(0x15f)]=_0x344d14,this[_0x491662(0x2c2)]=_0x23118e,_0x5f3a76?_0x5f3a76==null||_0x5f3a76['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x491662(0x2dc)](_0x491662(0x2e9),_0x491662(0x18b)),this[_0x491662(0x282)]());}async[_0x29a823(0x282)](){const _0x185277=_0x29a823,_0x2a02d6=this[_0x185277(0x237)][_0x185277(0x2e4)](_0x185277(0x238)),_0x349d00=this[_0x185277(0x237)][_0x185277(0x2e4)](_0x185277(0x26c)),_0x385dbc=this[_0x185277(0x237)][_0x185277(0x2e4)](_0x185277(0x115));if(!_0x2a02d6||!_0x349d00){this[_0x185277(0x2e7)][_0x185277(0x2dc)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x26c736=await this[_0x185277(0x2c2)][_0x185277(0x14a)](_0x2a02d6,Number(_0x349d00),_0x385dbc);_0x26c736&&_0x26c736 instanceof _0x348276&&this['_setupSubUnitSync'](_0x26c736);}async['_setupSubUnitSync'](_0xfc93df){const _0x48b1b0=_0x29a823;await this['_updateSubUnitFromURLParams'](_0xfc93df),_0xfc93df[_0x48b1b0(0x1ff)][_0x48b1b0(0x1bb)](_0x3d7f41(this[_0x48b1b0(0x266)]))[_0x48b1b0(0x1a9)](_0x22bd50=>{const _0x306331=_0x48b1b0;_0x22bd50&&this[_0x306331(0x1b0)](_0x22bd50);}),this['_urlService'][_0x48b1b0(0x2a0)]['pipe'](_0x3d7f41(this['dispose$']))[_0x48b1b0(0x1a9)](()=>this[_0x48b1b0(0x12c)](_0xfc93df));}[_0x29a823(0x1b0)](_0x497da0,_0x44db5b=!0x1){const _0x2b3e29=_0x29a823,_0x1894a9=this['_urlService'][_0x2b3e29(0x2e4)](_0x2b3e29(0x115));_0x497da0[_0x2b3e29(0x215)]()!==_0x1894a9&&this[_0x2b3e29(0x237)][_0x2b3e29(0x241)]('subunit',_0x497da0[_0x2b3e29(0x215)](),_0x44db5b);}async['_updateSubUnitFromURLParams'](_0x490bf3){const _0x172eee=_0x29a823;var _0x2e7019;const _0x36760e=this[_0x172eee(0x237)]['getParam'](_0x172eee(0x115));if(!_0x36760e||!_0x490bf3['getSheetBySheetId'](_0x36760e)){const _0x3bc9b3=_0x490bf3[_0x172eee(0x2b3)]()[0x0],_0x298826=_0x490bf3[_0x172eee(0x168)](_0x3bc9b3);if(!_0x298826)return;this[_0x172eee(0x1b0)](_0x298826,!0x0),await this[_0x172eee(0x15f)][_0x172eee(0x240)](_0x57a71d['id'],{'unitId':_0x490bf3['getUnitId'](),'subUnitId':_0x3bc9b3});return;}((_0x2e7019=_0x490bf3['getActiveSheet']())==null?void 0x0:_0x2e7019[_0x172eee(0x215)]())!==_0x36760e&&await this[_0x172eee(0x15f)][_0x172eee(0x240)](_0x57a71d['id'],{'unitId':_0x490bf3['getUnitId'](),'subUnitId':_0x36760e});}};ie=qi([G(0x0,Ut),G(0x1,_0x2dae8e),G(0x2,_0x4398a9),G(0x3,_0x455d91(_0x1bfb46)),G(0x4,_0x5cc3a5(_0x16d091))],ie);var en=Object[_0x29a823(0x147)],tn=(_0x6430cb,_0x5b3e7e,_0x3e236c,_0x3119b2)=>{for(var _0x53ab97=_0x3119b2>0x1?void 0x0:_0x3119b2?en(_0x5b3e7e,_0x3e236c):_0x5b3e7e,_0x395fed=_0x6430cb['length']-0x1,_0x85ed95;_0x395fed>=0x0;_0x395fed--)(_0x85ed95=_0x6430cb[_0x395fed])&&(_0x53ab97=_0x85ed95(_0x53ab97)||_0x53ab97);return _0x53ab97;},pe=(_0x1afcaa,_0x2a1e73)=>(_0x7adf8e,_0x2e1fee)=>_0x2a1e73(_0x7adf8e,_0x2e1fee,_0x1afcaa);let ne=class{constructor(_0x69de4e,_0x3da517,_0x3afc24){const _0xbf81d3=_0x29a823;this['_injector']=_0x69de4e,this[_0xbf81d3(0x163)]=_0x3da517,this['_renderManagerService']=_0x3afc24;}[_0x29a823(0x1a5)](_0x7a8e34){const _0xc80448=_0x29a823;this[_0xc80448(0x138)](_0x7a8e34),this['_transformPreviousActiveRange'](_0x7a8e34);}[_0x29a823(0x21f)](_0x5e26a6){const _0x4e971b=_0x29a823,{unitID:_0x2576ee}=_0x5e26a6,_0x2c1e23=this[_0x4e971b(0x1df)][_0x4e971b(0x20f)](_0x2576ee)[_0x4e971b(0x1a2)](_0x117745),{redoCache:_0x4cba99}=_0x2c1e23['getUndoRedoMutationParamsCache']();if(_0x4cba99['length']===0x0)return _0x5e26a6;let _0x1708d6=_0x4a49e5['deepClone'](_0x5e26a6[_0x4e971b(0x154)][0x0]);for(let _0x3aa67f=0x0;_0x3aa67f<_0x4cba99[_0x4e971b(0x131)];_0x3aa67f++){const _0x6f4460={'id':'doc.mutation.rich-text-editing','params':{..._0x4cba99[_0x3aa67f]}},_0x3b5c63=this[_0x4e971b(0x163)][_0x4e971b(0x1e5)](_0x1708d6,_0x6f4460,!0x1);if(_0x198bf8(_0x3b5c63))throw _0x3b5c63[_0x4e971b(0x2f4)];_0x1708d6=_0x3b5c63[_0x4e971b(0x1f3)];}return{..._0x4a49e5[_0x4e971b(0x26b)](_0x5e26a6),'mutations':[_0x1708d6]};}[_0x29a823(0x138)](_0x316dfc){const _0xebc5d4=_0x29a823,{unitID:_0x2e2dbd}=_0x316dfc,_0x5b04be=this['_renderManagerService']['getRenderById'](_0x2e2dbd)[_0xebc5d4(0x1a2)](_0x117745),{undoCache:_0x4a8d20,redoCache:_0x3892ee}=_0x5b04be['getUndoRedoMutationParamsCache']();if(_0x4a8d20['length']===0x0||_0x3892ee[_0xebc5d4(0x131)]===0x0)return;const _0x39ceee=[],_0x20c861=[];let _0x50403b=_0x4a49e5[_0xebc5d4(0x26b)](_0x316dfc[_0xebc5d4(0x154)][0x0]),_0x27b9db=_0x4a49e5['deepClone'](_0x316dfc[_0xebc5d4(0x154)][0x0]);for(let _0x18968c=_0x4a8d20[_0xebc5d4(0x131)]-0x1;_0x18968c>=0x0;_0x18968c--){const _0x45354e={'id':_0xebc5d4(0x2b8),'params':{..._0x4a8d20[_0x18968c]}},_0x38ef29={'id':'doc.mutation.rich-text-editing','params':{..._0x3892ee[_0x18968c]}},_0x1a257d=this[_0xebc5d4(0x163)][_0xebc5d4(0x1e5)](_0x50403b,_0x45354e,!0x1),_0x4d9f68=this[_0xebc5d4(0x163)][_0xebc5d4(0x1e5)](_0x27b9db,_0x38ef29,!0x1);if(_0x198bf8(_0x1a257d))throw _0x1a257d[_0xebc5d4(0x2f4)];if(_0x198bf8(_0x4d9f68))throw _0x4d9f68[_0xebc5d4(0x2f4)];_0x39ceee[_0xebc5d4(0x1f8)](_0x1a257d[_0xebc5d4(0x143)][_0xebc5d4(0x15a)]),_0x20c861['unshift'](_0x4d9f68[_0xebc5d4(0x143)][_0xebc5d4(0x15a)]),_0x50403b=_0x1a257d[_0xebc5d4(0x1f3)],_0x27b9db=_0x4d9f68[_0xebc5d4(0x1f3)];}_0x5b04be['setUndoRedoMutationParamsCache']({'undoCache':_0x39ceee,'redoCache':_0x20c861});}[_0x29a823(0x233)](_0xf2a263){const _0x620ec5=_0x29a823,{unitID:_0x233ee4}=_0xf2a263,_0x2a0cff=this[_0x620ec5(0x1df)][_0x620ec5(0x20f)](_0x233ee4)[_0x620ec5(0x1a2)](_0x117745),_0x1aee09=_0x2a0cff[_0x620ec5(0x2f9)]();if(_0x1aee09==null)return;const _0x2ea659=[{'id':_0x620ec5(0x2b8),'params':{'unitId':_0xf2a263[_0x620ec5(0x153)],'actions':null,'textRanges':[_0x1aee09]}}],_0xe11a5=this[_0x620ec5(0x163)][_0x620ec5(0x270)](_0xf2a263,_0x2ea659);if(!_0x2001a7(_0xe11a5))throw _0xe11a5[_0x620ec5(0x2f4)];const _0x4b9947=_0xe11a5[_0x620ec5(0x143)][0x0][_0x620ec5(0x15a)]['textRanges'];Array['isArray'](_0x4b9947)&&_0x4b9947[_0x620ec5(0x131)]&&_0x2a0cff['setActiveRange'](_0x4b9947[0x0]);}};ne=tn([pe(0x0,_0x455d91(_0x44d15d)),pe(0x1,_0x615fc1),pe(0x2,_0x5c6761)],ne);var sn=Object[_0x29a823(0x147)],nn=(_0x40f85e,_0x519796,_0x3bbe68,_0x4a9fa3)=>{for(var _0xd50b62=_0x4a9fa3>0x1?void 0x0:_0x4a9fa3?sn(_0x519796,_0x3bbe68):_0x519796,_0x2f71b7=_0x40f85e['length']-0x1,_0x956577;_0x2f71b7>=0x0;_0x2f71b7--)(_0x956577=_0x40f85e[_0x2f71b7])&&(_0xd50b62=_0x956577(_0xd50b62)||_0xd50b62);return _0xd50b62;},Ce=(_0x432737,_0x1d9d4f)=>(_0x2ef52d,_0x2ee995)=>_0x1d9d4f(_0x2ef52d,_0x2ee995,_0x432737);let re=class{constructor(_0x3d9dce,_0x2c6b29,_0x29f13b){const _0x2b27ba=_0x29a823;this[_0x2b27ba(0x1c7)]=_0x3d9dce,this['_transformService']=_0x2c6b29,this[_0x2b27ba(0x1da)]=_0x29f13b;}[_0x29a823(0x221)](_0x4800ce){this['_transformHistoryAndStateStack'](_0x4800ce);}['transformRemoteChangeset'](_0x365f4a){const _0x874ebf=_0x29a823,{unitID:_0x47a2e4}=_0x365f4a,{collaboration:_0x4953cb}=this[_0x874ebf(0x1da)][_0x874ebf(0x178)](_0x47a2e4);if(_0x4953cb[_0x874ebf(0x131)]===0x0)return _0x365f4a;let _0x3410cb=_0x4a49e5['deepClone'](_0x365f4a[_0x874ebf(0x154)][0x0]);for(let _0x26b257=0x0;_0x26b257<_0x4953cb[_0x874ebf(0x131)];_0x26b257++){const _0x5b8478={'id':_0x874ebf(0x2b8),'params':{'unitId':_0x4953cb[_0x26b257][_0x874ebf(0x2d5)],..._0x4953cb[_0x26b257][_0x874ebf(0x272)]}},_0x210c4c=this[_0x874ebf(0x163)][_0x874ebf(0x1e5)](_0x3410cb,_0x5b8478,!0x1);if(_0x198bf8(_0x210c4c))throw _0x210c4c[_0x874ebf(0x2f4)];_0x3410cb=_0x210c4c[_0x874ebf(0x1f3)];}return{..._0x4a49e5[_0x874ebf(0x26b)](_0x365f4a),'mutations':[_0x3410cb]};}[_0x29a823(0x264)](_0x18fc64){const _0x2df069=_0x29a823,{unitID:_0x270069}=_0x18fc64,{history:_0x125b1b,collaboration:_0x1cc020}=this[_0x2df069(0x1da)][_0x2df069(0x178)](_0x270069);if(_0x125b1b[_0x2df069(0x131)]===0x0&&_0x1cc020[_0x2df069(0x131)]===0x0)return;const _0x1f1ac8=[],_0x4ecf84=[];let _0x5063eb=_0x4a49e5['deepClone'](_0x18fc64[_0x2df069(0x154)][0x0]),_0x109d28=_0x4a49e5[_0x2df069(0x26b)](_0x18fc64[_0x2df069(0x154)][0x0]);for(let _0x27e4db=_0x125b1b[_0x2df069(0x131)]-0x1;_0x27e4db>=0x0;_0x27e4db--){const _0x20b2b0={'id':_0x2df069(0x2b8),'params':{'unitId':_0x125b1b[_0x27e4db][_0x2df069(0x2d5)],..._0x125b1b[_0x27e4db]['undoState']}},_0x201994={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x125b1b[_0x27e4db][_0x2df069(0x2d5)],..._0x125b1b[_0x27e4db][_0x2df069(0x272)]}},_0x5e4cf0=this[_0x2df069(0x163)][_0x2df069(0x1e5)](_0x5063eb,_0x20b2b0,!0x1),_0x3ba6ca=this[_0x2df069(0x163)]['transformMutation'](_0x109d28,_0x201994,!0x1);if(_0x198bf8(_0x5e4cf0))throw _0x5e4cf0['error'];if(_0x198bf8(_0x3ba6ca))throw _0x3ba6ca[_0x2df069(0x2f4)];_0x1f1ac8[_0x2df069(0x1f8)]({..._0x125b1b[_0x27e4db],'undoState':_0x5e4cf0['m2Prime']['params'],'redoState':_0x3ba6ca[_0x2df069(0x143)]['params']}),_0x5063eb=_0x5e4cf0['m1Prime'],_0x109d28=_0x3ba6ca[_0x2df069(0x1f3)];}_0x5063eb=_0x4a49e5[_0x2df069(0x26b)](_0x18fc64['mutations'][0x0]),_0x109d28=_0x4a49e5[_0x2df069(0x26b)](_0x18fc64['mutations'][0x0]);for(let _0x4617f5=_0x1cc020['length']-0x1;_0x4617f5>=0x0;_0x4617f5--){const _0x3386ed={'id':_0x2df069(0x2b8),'params':{'unitId':_0x1cc020[_0x4617f5][_0x2df069(0x2d5)],..._0x1cc020[_0x4617f5][_0x2df069(0x284)]}},_0x242708={'id':_0x2df069(0x2b8),'params':{'unitId':_0x1cc020[_0x4617f5][_0x2df069(0x2d5)],..._0x1cc020[_0x4617f5][_0x2df069(0x272)]}},_0x29b6b4=this[_0x2df069(0x163)][_0x2df069(0x1e5)](_0x5063eb,_0x3386ed,!0x1),_0x98ab8e=this[_0x2df069(0x163)][_0x2df069(0x1e5)](_0x109d28,_0x242708,!0x1);if(_0x198bf8(_0x29b6b4))throw _0x29b6b4[_0x2df069(0x2f4)];if(_0x198bf8(_0x98ab8e))throw _0x98ab8e['error'];_0x4ecf84['unshift']({..._0x1cc020[_0x4617f5],'undoState':_0x29b6b4['m2Prime'][_0x2df069(0x15a)],'redoState':_0x98ab8e['m2Prime'][_0x2df069(0x15a)]}),_0x5063eb=_0x29b6b4['m1Prime'],_0x109d28=_0x98ab8e[_0x2df069(0x1f3)];}this[_0x2df069(0x1da)][_0x2df069(0x14e)](_0x270069,{'history':_0x1f1ac8,'collaboration':_0x4ecf84});}};re=nn([Ce(0x0,_0x455d91(_0x44d15d)),Ce(0x1,_0x615fc1),Ce(0x2,_0x455d91(_0x1b3913))],re);var rn=Object[_0x29a823(0x147)],on=(_0x895d7d,_0x4ca46e,_0x242b96,_0x30178d)=>{const _0x105d01=_0x29a823;for(var _0x350bd6=_0x30178d>0x1?void 0x0:_0x30178d?rn(_0x4ca46e,_0x242b96):_0x4ca46e,_0x8c755e=_0x895d7d[_0x105d01(0x131)]-0x1,_0x5b8a92;_0x8c755e>=0x0;_0x8c755e--)(_0x5b8a92=_0x895d7d[_0x8c755e])&&(_0x350bd6=_0x5b8a92(_0x350bd6)||_0x350bd6);return _0x350bd6;},tt=(_0x5c63a4,_0x76573b)=>(_0x4a7d96,_0x2019cb)=>_0x76573b(_0x4a7d96,_0x2019cb,_0x5c63a4);let oe=class{constructor(_0x893709,_0x42ba64){this['_injector']=_0x893709,this['_transformService']=_0x42ba64;}[_0x29a823(0x232)](_0x26b163){const _0x55491a=_0x29a823;var _0x14dd4b;const _0x1eecee=this['_injector'][_0x55491a(0x1c0)](_0x2c0b0f),_0x36e187=(_0x14dd4b=_0x1eecee[_0x55491a(0x267)]())!=null?_0x14dd4b:[];if(_0x36e187['length']===0x0)return;const _0x138255=_0x26b163[_0x55491a(0x153)],_0x3cc804=[{'id':_0x55491a(0x2b8),'params':{'unitId':_0x138255,'actions':null,'textRanges':_0x36e187}}],_0x5c8141=this[_0x55491a(0x163)][_0x55491a(0x270)](_0x26b163,_0x3cc804);if(!_0x2001a7(_0x5c8141))throw _0x5c8141[_0x55491a(0x2f4)];const _0x29103=_0x5c8141[_0x55491a(0x143)][0x0][_0x55491a(0x15a)]['textRanges'];Array['isArray'](_0x29103)&&_0x29103[_0x55491a(0x131)]&&_0x1eecee['replaceDocRanges'](_0x29103,{'unitId':_0x138255,'subUnitId':_0x138255},!0x1);}};oe=on([tt(0x0,_0x455d91(_0x44d15d)),tt(0x1,_0x615fc1)],oe);var an=Object[_0x29a823(0x147)],cn=(_0x37335e,_0x5984c6,_0x487972,_0x6eeeca)=>{const _0xf9d8c6=_0x29a823;for(var _0x52f5f0=_0x6eeeca>0x1?void 0x0:_0x6eeeca?an(_0x5984c6,_0x487972):_0x5984c6,_0x1efb69=_0x37335e[_0xf9d8c6(0x131)]-0x1,_0x1c7396;_0x1efb69>=0x0;_0x1efb69--)(_0x1c7396=_0x37335e[_0x1efb69])&&(_0x52f5f0=_0x1c7396(_0x52f5f0)||_0x52f5f0);return _0x52f5f0;},U=(_0x41aa60,_0x4fe602)=>(_0x3c54c2,_0x20e181)=>_0x4fe602(_0x3c54c2,_0x20e181,_0x41aa60);let ae=class extends _0x10f221{constructor(_0x5401c8,_0x1ccd2f,_0x2d53a7,_0x128d13,_0xa504ff,_0x160072,_0x54d389,_0x445519){const _0x4e30a8=_0x29a823;super(),_(this,_0x4e30a8(0x10f),new _0x168fee(_0x5276f4[_0x4e30a8(0x29e)])),(this[_0x4e30a8(0x1da)]=_0x5401c8,this[_0x4e30a8(0x2b5)]=_0x1ccd2f,this[_0x4e30a8(0x1ac)]=_0x2d53a7,this['_docTransformStateCacheService']=_0x128d13,this[_0x4e30a8(0x212)]=_0xa504ff,this[_0x4e30a8(0x218)]=_0x160072,this[_0x4e30a8(0x158)]=_0x54d389,this[_0x4e30a8(0x2ac)]=_0x445519,this[_0x4e30a8(0x222)]());}[_0x29a823(0x222)](){const _0x47d1b4=_0x29a823;this[_0x47d1b4(0x1bf)](this['_collaborationController'][_0x47d1b4(0x1c8)][_0x47d1b4(0x1a9)](_0x223caa=>{const _0xf504b5=_0x47d1b4,_0x48b6e0=this[_0xf504b5(0x1da)][_0xf504b5(0x2bd)]['subscribe'](_0x26b9ba=>{const _0x22261f=_0xf504b5;if(_0x26b9ba==null)return;const {unitId:_0x1da4b8,redoState:_0x14b44b,commandId:_0xf71143}=_0x26b9ba;if(_0x1da4b8!==_0x223caa[_0x22261f(0x153)])return;const _0x19af5f={'id':_0xf71143,'type':_0x28e5fb[_0x22261f(0x26d)],'params':{'unitId':_0x1da4b8,'actions':_0x14b44b['actions'],'textRanges':null}};_0x223caa[_0x22261f(0x247)](_0x19af5f);});if(_0x223caa[_0xf504b5(0x1bf)](_0x48b6e0),_0x223caa instanceof _0x14e797){const _0x11e177={'onTransformIME':_0x282008=>this[_0xf504b5(0x1ac)][_0xf504b5(0x1a5)](_0x282008),'onTransformState':_0x4ec74a=>this[_0xf504b5(0x249)][_0xf504b5(0x221)](_0x4ec74a),'onTransformSelections':_0x4c7b4c=>this[_0xf504b5(0x212)]['transformSelections'](_0x4c7b4c),'onSyncEditingCollabCursor':_0x5e41c5=>this[_0xf504b5(0x218)][_0xf504b5(0x248)](_0x5e41c5),'onTransformRemoteChangesetByIMECache':_0xc6baa4=>this[_0xf504b5(0x1ac)]['transformRemoteChangeset'](_0xc6baa4),'onTransformRemoteChangesetByStateCache':_0x524204=>this[_0xf504b5(0x249)][_0xf504b5(0x21f)](_0x524204)};_0x223caa[_0xf504b5(0x2ce)](_0x11e177);}}));}};ae=cn([U(0x0,_0x455d91(_0x1b3913)),U(0x1,_0x455d91(_0x17f747)),U(0x2,_0x455d91(ne)),U(0x3,_0x455d91(re)),U(0x4,_0x455d91(oe)),U(0x5,_0x455d91(He)),U(0x6,_0x19b68c),U(0x7,_0x455d91(_0x1cb89e))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x669718,_0x3302a9,_0x57b9ce,_0x352567)=>{for(var _0x25309a=_0x352567>0x1?void 0x0:_0x352567?ln(_0x3302a9,_0x57b9ce):_0x3302a9,_0x1b6a2b=_0x669718['length']-0x1,_0x4ec383;_0x1b6a2b>=0x0;_0x1b6a2b--)(_0x4ec383=_0x669718[_0x1b6a2b])&&(_0x25309a=_0x4ec383(_0x25309a)||_0x25309a);return _0x25309a;},Ee=(_0x884e36,_0x20572f)=>(_0x18c107,_0x228ca3)=>_0x20572f(_0x18c107,_0x228ca3,_0x884e36);let Le=class extends _0x10f221{constructor(_0x4db9e8,_0x3030b2,_0x821e4a){const _0x32eb65=_0x29a823;super(),_(this,_0x32eb65(0x22e),new Map()),_(this,_0x32eb65(0x2e8),new Map()),_(this,_0x32eb65(0x1a3),!0x1),(this[_0x32eb65(0x11f)]=_0x4db9e8,this[_0x32eb65(0x273)]=_0x3030b2,this[_0x32eb65(0x193)]=_0x821e4a);}[_0x29a823(0x200)](){const _0x4b0ab1=_0x29a823;this[_0x4b0ab1(0x1a3)]=!0x0;}[_0x29a823(0x1aa)](){const _0x843948=_0x29a823;this[_0x843948(0x1a3)]=!0x1;}get[_0x29a823(0x228)](){const _0x569302=_0x29a823;return this[_0x569302(0x2e8)];}[_0x29a823(0x181)](){const _0x334b06=_0x29a823;this['exhaustSavingTask']()[_0x334b06(0x2e6)](()=>super[_0x334b06(0x181)]());}async[_0x29a823(0x190)](_0x1bbc43){const _0x499739=_0x29a823;return this['_disabled']?null:this[_0x499739(0x273)][_0x499739(0x1c1)](_0x5336d5(_0x1bbc43));}async[_0x29a823(0x152)](_0x16e4ea,_0x2b91ac){const _0xec2a25=_0x29a823;return!!this['_localStorageService'][_0xec2a25(0x174)](_0x16e4ea,_0x2b91ac);}[_0x29a823(0x25b)](_0x43d76a,_0x5afd7c,_0x2aa424,_0x1c913b){const _0x479feb=_0x29a823,_0x4281a6=this[_0x479feb(0x193)][_0x479feb(0x1c4)](_0x43d76a);this[_0x479feb(0x22e)]['set'](_0x43d76a,{'unitID':_0x43d76a,'type':_0x5afd7c,'awaitingChangeset':_0x2aa424,'mutations':_0x1c913b,'rev':_0x4281a6}),this[_0x479feb(0x2e8)][_0x479feb(0x1dd)](_0x43d76a)||this['_scheduleSaving'](_0x43d76a);}['_scheduleSaving'](_0x144b13){const _0x186749=_0x29a823,_0x5508f1=this['_getSaveTimeout']();_0x5508f1===0x0?this[_0x186749(0x194)](_0x144b13):this[_0x186749(0x2e8)][_0x186749(0x17d)](_0x144b13,setTimeout(()=>this[_0x186749(0x194)](_0x144b13),_0x5508f1));}['_getSaveTimeout'](){const _0x21f09f=_0x29a823;var _0xf5c988;return(_0xf5c988=this[_0x21f09f(0x11f)][_0x21f09f(0x27b)](_0x5ba66b))!=null?_0xf5c988:_0x53b202;}['_saveCache'](_0x307611){const _0x566090=_0x29a823,_0x14fa8a=this[_0x566090(0x2e8)][_0x566090(0x1c0)](_0x307611);return _0x14fa8a!==void 0x0&&window[_0x566090(0x1a4)](_0x14fa8a),this[_0x566090(0x273)][_0x566090(0x174)](_0x5336d5(_0x307611),this['_cachedData'][_0x566090(0x1c0)](_0x307611))[_0x566090(0x2e6)](()=>this['_saveTaskMap'][_0x566090(0x27a)](_0x307611));}async[_0x29a823(0x291)](){const _0x18e2c3=_0x29a823,_0x5c81d8=[];this['_saveTaskMap'][_0x18e2c3(0x130)]((_0x2833b2,_0x2bf2eb)=>{const _0xaea48d=_0x18e2c3;window['clearTimeout'](_0x2833b2),_0x5c81d8[_0xaea48d(0x14f)](this[_0xaea48d(0x194)](_0x2bf2eb)[_0xaea48d(0x2e6)](()=>{const _0x3d28ff=_0xaea48d;this[_0x3d28ff(0x2e8)]['delete'](_0x2bf2eb);}));}),await Promise[_0x18e2c3(0x110)](_0x5c81d8);}};Le=_n([Ee(0x0,_0x3a97e3),Ee(0x1,_0x4a5b3b),Ee(0x2,_0x455d91(_0xf03bd1))],Le);class hn extends _0x5b0a30{constructor(){const _0x430acf=_0x29a823;super(),_(this,_0x430acf(0x2a0)),this[_0x430acf(0x2a0)]=_0x35e5e8(window,_0x430acf(0x289))['pipe'](_0x3d7f41(this[_0x430acf(0x266)]),_0x212fb1(0x1),_0x4effe6(void 0x0));}[_0x29a823(0x241)](_0x13b795,_0x5573b9,_0x51f5dd=!0x1){const _0x3c155a=_0x29a823,_0x2699c8=new URL(window['location'][_0x3c155a(0x27c)]);_0x2699c8[_0x3c155a(0x2ab)][_0x3c155a(0x17d)](_0x13b795,_0x5573b9),_0x51f5dd?window[_0x3c155a(0x160)]['replaceState']('','',_0x2699c8[_0x3c155a(0x2c0)]()):window[_0x3c155a(0x160)][_0x3c155a(0x225)]('','',_0x2699c8[_0x3c155a(0x2c0)]());}[_0x29a823(0x287)](_0x392cc5,_0x8a28a9=!0x1){const _0x5decac=_0x29a823,_0x3fba99=new URL(window[_0x5decac(0x26f)]['href']);_0x3fba99[_0x5decac(0x2ab)]['delete'](_0x392cc5),_0x8a28a9?window['history']['replaceState']('','',_0x3fba99['toString']()):window[_0x5decac(0x160)][_0x5decac(0x225)]('','',_0x3fba99['toString']());}[_0x29a823(0x2e4)](_0x3e2355){const _0x52b004=_0x29a823;var _0x38f3e3;return(_0x38f3e3=new URL(window[_0x52b004(0x26f)][_0x52b004(0x27c)])[_0x52b004(0x2ab)][_0x52b004(0x1c0)](_0x3e2355))!=null?_0x38f3e3:void 0x0;}}var un=Object[_0x29a823(0x2f8)],dn=Object[_0x29a823(0x147)],fn=(_0x38349b,_0x2dca33,_0x57fd6e)=>_0x2dca33 in _0x38349b?un(_0x38349b,_0x2dca33,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57fd6e}):_0x38349b[_0x2dca33]=_0x57fd6e,Sn=(_0xef8b2a,_0x51f030,_0x3c966f,_0x13fcc5)=>{const _0x4a0fa3=_0x29a823;for(var _0x38e4b2=_0x13fcc5>0x1?void 0x0:_0x13fcc5?dn(_0x51f030,_0x3c966f):_0x51f030,_0x2dace5=_0xef8b2a[_0x4a0fa3(0x131)]-0x1,_0x1a8fa4;_0x2dace5>=0x0;_0x2dace5--)(_0x1a8fa4=_0xef8b2a[_0x2dace5])&&(_0x38e4b2=_0x1a8fa4(_0x38e4b2)||_0x38e4b2);return _0x38e4b2;},Oe=(_0x458c9e,_0x297ec4)=>(_0x31f6da,_0x100277)=>_0x297ec4(_0x31f6da,_0x100277,_0x458c9e),mn=(_0x463f79,_0x3a339c,_0x107363)=>fn(_0x463f79,_0x3a339c+'',_0x107363);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x22b858{constructor(_0x191828=et,_0x2e24b5,_0x539ce5,_0x41c22f){const _0x309830=_0x29a823;super(),this['_config']=_0x191828,this[_0x309830(0x1df)]=_0x2e24b5,this[_0x309830(0x1c7)]=_0x539ce5,this[_0x309830(0x11f)]=_0x41c22f;const {..._0x564248}=_0x1f1aa8({},et,this['_config']);this[_0x309830(0x11f)][_0x309830(0x13f)](Zi,_0x564248);}['onStarting'](){const _0x19e395=_0x29a823;this[_0x19e395(0x28a)](),this['_initDependencies']();}[_0x29a823(0x292)](){const _0x90fe6a=_0x29a823;this[_0x90fe6a(0x189)]();}[_0x29a823(0x28a)](){const _0x3fdfa1=_0x29a823;var _0x2f28e5;const _0x3bf7f1=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4760a4,{'useClass':_0x49313b}],[_0x4ec0e3,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3f2085(this[_0x3fdfa1(0x1c7)],_0x21a21b(_0x3bf7f1,(_0x2f28e5=this[_0x3fdfa1(0x294)])==null?void 0x0:_0x2f28e5['override']));}['_registerRenderDependencies'](){const _0x4911ef=_0x29a823;this[_0x4911ef(0x1bf)](this[_0x4911ef(0x1df)][_0x4911ef(0x13d)](_0x3e57d7[_0x4911ef(0x265)],[we])),this[_0x4911ef(0x1bf)](this['_renderManagerService'][_0x4911ef(0x13d)](_0x3e57d7[_0x4911ef(0x198)],[Pe]));}[_0x29a823(0x2a3)](){const _0x11aeab=_0x29a823;_0x291413(this[_0x11aeab(0x1c7)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x29a823(0x1d5),In),Ae=Sn([_0x314ba8(_0xf86d7b),Oe(0x1,_0x5c6761),Oe(0x2,_0x455d91(_0x44d15d)),Oe(0x3,_0x3a97e3)],Ae);var gn=Object[_0x29a823(0x147)],vn=(_0x2bb122,_0x577d52,_0x126209,_0x3928ed)=>{const _0x7e2447=_0x29a823;for(var _0x2c013a=_0x3928ed>0x1?void 0x0:_0x3928ed?gn(_0x577d52,_0x126209):_0x577d52,_0x198f87=_0x2bb122[_0x7e2447(0x131)]-0x1,_0x7a2632;_0x198f87>=0x0;_0x198f87--)(_0x7a2632=_0x2bb122[_0x198f87])&&(_0x2c013a=_0x7a2632(_0x2c013a)||_0x2c013a);return _0x2c013a;},K=(_0x32ddba,_0x26dd35)=>(_0x29075d,_0x176b8c)=>_0x26dd35(_0x29075d,_0x176b8c,_0x32ddba);let st=class extends _0x3d5f6a{constructor(_0x1e1c98,_0x9cd1ed,_0x425040,_0x4a3cdb,_0x95f550){super(_0x1e1c98,_0x9cd1ed,_0x425040,_0x4a3cdb,_0x95f550);}async[_0x29a823(0x2bf)](_0x5c2e93){const _0x412813=_0x29a823,_0xfc4ef1=await this[_0x412813(0x1ec)](),_0x2a9704=this['_createSocketURL'](_0x5c2e93,_0xfc4ef1);return this[_0x412813(0x26a)](_0x2a9704);}[_0x29a823(0x2cb)](_0x56ce54,_0xeffa44){const _0x347d84=_0x29a823,_0x79a741=typeof window>'u'?new URL(_0x56ce54):new URL(_0x56ce54,window[_0x347d84(0x26f)]['origin']);_0x79a741[_0x347d84(0x2ab)]['set'](_0x347d84(0x2db),_0xeffa44);const _0x2998b8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x347d84(0x26f)][_0x347d84(0x1b9)]);return _0x2998b8[_0x347d84(0x1c0)](_0x347d84(0x1ba))&&_0x79a741[_0x347d84(0x2ab)][_0x347d84(0x17d)](_0x347d84(0x1ba),_0x2998b8[_0x347d84(0x1c0)](_0x347d84(0x1ba))),_0x79a741[_0x347d84(0x2c0)]();}async[_0x29a823(0x1ec)](){const _0x258b20=_0x29a823;var _0x547a10,_0x5aba3d,_0x5b29e1;const _0x49537b=this[_0x258b20(0x11f)][_0x258b20(0x27b)](_0x50b945),_0x26358b=(_0x547a10=_0x49537b==null?void 0x0:_0x49537b[_0x258b20(0x17a)])!=null?_0x547a10:_0x5194e4;return(_0x5b29e1=(_0x5aba3d=(await this[_0x258b20(0x146)]['get'](_0x26358b,{'headers':{'Content-Type':_0x258b20(0x288)}}))[_0x258b20(0x159)])==null?void 0x0:_0x5aba3d[_0x258b20(0x23f)])!=null?_0x5b29e1:'';}};function _0x2d0d(_0x5579b3,_0xfb6c79){const _0x58c5aa=_0x58c5();return _0x2d0d=function(_0x2d0d19,_0x4d6661){_0x2d0d19=_0x2d0d19-0x10f;let _0x13a867=_0x58c5aa[_0x2d0d19];return _0x13a867;},_0x2d0d(_0x5579b3,_0xfb6c79);}st=vn([K(0x0,_0x455d91(_0x44d15d)),K(0x1,_0x455d91(_0x355e28)),K(0x2,_0x3a97e3),K(0x3,_0x2dae8e),K(0x4,_0x26ce3a)],st);const it=0x7530,nt=_0x29a823(0x2c9);class jn extends _0x10f221{constructor(){const _0x32d906=_0x29a823;super(),_(this,_0x32d906(0x162),_0x3960b0()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x32d906(0x1a0),null),_(this,_0x32d906(0x25c),new Map()),_(this,_0x32d906(0x2f5),new Map()),this['_init']();}[_0x29a823(0x181)](){const _0x51ea18=_0x29a823;super[_0x51ea18(0x181)](),this[_0x51ea18(0x25c)][_0x51ea18(0x130)]((_0x5ad5,_0x5767f8)=>this[_0x51ea18(0x24b)](_0x5767f8)),this[_0x51ea18(0x1a0)]&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x285731){const _0x383750=_0x29a823;return this[_0x383750(0x263)](_0x285731)['pipe'](_0x381aea());}[_0x29a823(0x242)](_0xc9a103){const _0x43ce7c=_0x29a823;this['_selfUnitIDs'][_0x43ce7c(0x2e0)]===0x0&&this[_0x43ce7c(0x23e)](),this[_0x43ce7c(0x19d)][_0x43ce7c(0x1ab)](_0xc9a103),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xc9a103],'isForwarded':!0x1});}[_0x29a823(0x276)](_0x5e7ca0){const _0x469349=_0x29a823;this[_0x469349(0x19d)]['delete'](_0x5e7ca0),this[_0x469349(0x19d)][_0x469349(0x2e0)]===0x0&&this[_0x469349(0x1a0)]&&window[_0x469349(0x11c)](this[_0x469349(0x1a0)]);}['_init'](){const _0x3e6749=_0x29a823;this['disposeWithMe'](_0x528206(_0x35e5e8(window,'storage')[_0x3e6749(0x1a9)](_0x5812ac=>{const _0x401deb=_0x3e6749;if(_0x5812ac[_0x401deb(0x139)]!==nt||!_0x5812ac['newValue'])return;const _0x31f580=JSON[_0x401deb(0x253)](_0x5812ac[_0x401deb(0x2b1)]);this[_0x401deb(0x2a4)](_0x31f580);}))),window[_0x3e6749(0x17b)]('unload',()=>this[_0x3e6749(0x129)]({'type':0x1,'memberID':this[_0x3e6749(0x162)],'unitIDs':Array[_0x3e6749(0x19b)](this[_0x3e6749(0x19d)])}));}[_0x29a823(0x2a4)](_0x57da6b){const _0x3ff4c5=_0x29a823;switch(_0x57da6b[_0x3ff4c5(0x26c)]){case 0x0:this[_0x3ff4c5(0x12e)](_0x57da6b);break;case 0x1:this['_handleLeaveEvent'](_0x57da6b);break;case 0x2:this['_handleHeartbeatEvent'](_0x57da6b);break;}}[_0x29a823(0x12e)](_0x108f6e){const _0x1cf2ce=_0x29a823,{unitIDs:_0x2f2b7a,memberID:_0x500500,isForwarded:_0x52937b}=_0x108f6e;_0x2f2b7a[_0x1cf2ce(0x130)](_0x38a138=>{const _0x3c0c17=_0x1cf2ce;if(!_0x52937b&&this[_0x3c0c17(0x1d2)][_0x3c0c17(0x1dd)](_0x38a138)&&this['_ensureSubject'](_0x38a138)[_0x3c0c17(0x21a)](_0x3f8da8[_0x3c0c17(0x169)]),!this[_0x3c0c17(0x1d2)][_0x3c0c17(0x1dd)](_0x38a138)||!this[_0x3c0c17(0x1d2)][_0x3c0c17(0x1c0)](_0x38a138)[_0x3c0c17(0x1dd)](_0x500500)){const _0x5279ae=this[_0x3c0c17(0x1d2)][_0x3c0c17(0x1c0)](_0x38a138)||new Set();_0x5279ae[_0x3c0c17(0x1ab)](_0x500500),this[_0x3c0c17(0x1d2)][_0x3c0c17(0x17d)](_0x38a138,_0x5279ae),this[_0x3c0c17(0x28f)](_0x500500);}}),_0x52937b||this[_0x1cf2ce(0x129)]({'type':0x0,'memberID':this[_0x1cf2ce(0x162)],'unitIDs':[...this[_0x1cf2ce(0x19d)]],'isForwarded':!0x0});}[_0x29a823(0x28f)](_0x5ff709){const _0x39dd44=_0x29a823;this['_removeClearOtherTimer'](_0x5ff709);const _0x34cf64=window['setTimeout'](()=>{const _0x5b9aad=_0x2d0d;this['_unitOnClients'][_0x5b9aad(0x130)](_0x3ca2d8=>{const _0x296f4b=_0x5b9aad;_0x3ca2d8[_0x296f4b(0x27a)](_0x5ff709);});},it*0x2);this[_0x39dd44(0x25c)][_0x39dd44(0x17d)](_0x5ff709,_0x34cf64);}[_0x29a823(0x24b)](_0x55949f){const _0x1b535b=_0x29a823;if(this[_0x1b535b(0x25c)][_0x1b535b(0x1dd)](_0x55949f)){const _0x5a8dd1=this[_0x1b535b(0x25c)][_0x1b535b(0x1c0)](_0x55949f);_0x5a8dd1&&window['clearTimeout'](_0x5a8dd1),this[_0x1b535b(0x25c)][_0x1b535b(0x17d)](_0x55949f,null);}}['_handleLeaveEvent'](_0xcbcdda){const _0x425f71=_0x29a823,{memberID:_0x4abb8c,unitIDs:_0x3f3884}=_0xcbcdda;_0x3f3884['forEach'](_0x3750a8=>{const _0x5e002b=_0x2d0d;var _0xc0a53;const _0xa80309=this[_0x5e002b(0x1d2)][_0x5e002b(0x1c0)](_0x3750a8);_0xa80309&&(_0xa80309['delete'](_0x4abb8c),(_0xc0a53=this['_ensureSubject'](_0x3750a8))==null||_0xc0a53[_0x5e002b(0x21a)](_0xa80309[_0x5e002b(0x2e0)]===0x0?_0x3f8da8[_0x5e002b(0x1af)]:_0x3f8da8[_0x5e002b(0x169)]));}),this[_0x425f71(0x24b)](_0x4abb8c);}[_0x29a823(0x278)](_0x73c053){this['_scheduleClearOtherTimer'](_0x73c053['memberID']);}[_0x29a823(0x129)](_0x29907b){const _0x4bb04b=_0x29a823;localStorage[_0x4bb04b(0x174)](nt,JSON[_0x4bb04b(0x1a1)](_0x29907b));}[_0x29a823(0x23e)](){const _0x1a5375=_0x29a823;this[_0x1a5375(0x1a0)]=window['setInterval'](()=>{const _0x1e3945=_0x1a5375;this[_0x1e3945(0x129)]({'type':0x2,'memberID':this[_0x1e3945(0x162)]});},it);}['_ensureSubject'](_0x23edc6){const _0x51acbb=_0x29a823;return this[_0x51acbb(0x2f5)]['has'](_0x23edc6)||this['_unitStatus'][_0x51acbb(0x17d)](_0x23edc6,new _0x168fee(_0x3f8da8[_0x51acbb(0x1af)])),this[_0x51acbb(0x2f5)][_0x51acbb(0x1c0)](_0x23edc6);}}var Mt=(_0x496586=>(_0x496586[_0x496586[_0x29a823(0x205)]=0x0]=_0x29a823(0x205),_0x496586[_0x496586['OK']=0x1]='OK',_0x496586[_0x496586[_0x29a823(0x13a)]=0x2]=_0x29a823(0x13a),_0x496586[_0x496586['PERMISSION_DENIED']=0x3]=_0x29a823(0x164),_0x496586[_0x496586[_0x29a823(0x256)]=0x4]=_0x29a823(0x256),_0x496586[_0x496586['UNAUTHENTICATED']=0x5]=_0x29a823(0x1b3),_0x496586[_0x496586[_0x29a823(0x2c4)]=0x6]=_0x29a823(0x2c4),_0x496586[_0x496586[_0x29a823(0x197)]=0x7]=_0x29a823(0x197),_0x496586[_0x496586['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x496586[_0x496586[_0x29a823(0x1be)]=0x9]=_0x29a823(0x1be),_0x496586[_0x496586['LOGIN_FAILED']=0xa]=_0x29a823(0x1f0),_0x496586[_0x496586[_0x29a823(0x2b2)]=0x1389]=_0x29a823(0x2b2),_0x496586[_0x496586[_0x29a823(0x2c7)]=0x1771]=_0x29a823(0x2c7),_0x496586[_0x496586[_0x29a823(0x2b7)]=0x1772]=_0x29a823(0x2b7),_0x496586[_0x496586[_0x29a823(0x299)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x496586[_0x496586[_0x29a823(0x1cb)]=0x1b59]=_0x29a823(0x1cb),_0x496586[_0x496586[_0x29a823(0x1d1)]=0x1b5a]=_0x29a823(0x1d1),_0x496586[_0x496586['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29a823(0x2be),_0x496586[_0x496586[_0x29a823(0x229)]=0x1b5c]=_0x29a823(0x229),_0x496586[_0x496586[_0x29a823(0x165)]=0x1b5d]=_0x29a823(0x165),_0x496586[_0x496586[_0x29a823(0x244)]=0x1f41]=_0x29a823(0x244),_0x496586[_0x496586['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x29a823(0x124),_0x496586[_0x496586[_0x29a823(0x2ba)]=0x232a]=_0x29a823(0x2ba),_0x496586[_0x496586[_0x29a823(0x155)]=0x232b]=_0x29a823(0x155),_0x496586[_0x496586['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x29a823(0x2aa),_0x496586[_0x496586[_0x29a823(0x1db)]=0x232d]=_0x29a823(0x1db),_0x496586[_0x496586['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x29a823(0x1cc),_0x496586[_0x496586[_0x29a823(0x112)]=0x2712]=_0x29a823(0x112),_0x496586[_0x496586[_0x29a823(0x15b)]=0x2713]=_0x29a823(0x15b),_0x496586[_0x496586[_0x29a823(0x2f1)]=0x2714]=_0x29a823(0x2f1),_0x496586[_0x496586[_0x29a823(0x217)]=0x271a]=_0x29a823(0x217),_0x496586[_0x496586[_0x29a823(0x296)]=0x271b]=_0x29a823(0x296),_0x496586[_0x496586[_0x29a823(0x2bb)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x496586[_0x496586[_0x29a823(0x226)]=0x271d]=_0x29a823(0x226),_0x496586[_0x496586[_0x29a823(0x2f3)]=0x271e]=_0x29a823(0x2f3),_0x496586[_0x496586['YUUMI_AI_RUN_FAILED']=0x271f]=_0x29a823(0x20c),_0x496586[_0x496586[_0x29a823(0x2de)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x496586[_0x496586['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x29a823(0x1d7),_0x496586[_0x496586[_0x29a823(0x234)]=0x2ee2]=_0x29a823(0x234),_0x496586[_0x496586[_0x29a823(0x20e)]=0x2ee3]=_0x29a823(0x20e),_0x496586[_0x496586['USER_NOT_INVITED_CODE']=0x2ee4]=_0x29a823(0x1d3),_0x496586[_0x496586[_0x29a823(0x213)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x496586[_0x496586[_0x29a823(0x116)]=0x32c9]=_0x29a823(0x116),_0x496586[_0x496586[_0x29a823(0x2ec)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x496586[_0x496586[_0x29a823(0x2fd)]=0x32cb]=_0x29a823(0x2fd),_0x496586[_0x496586['UNRECOGNIZED']=-0x1]=_0x29a823(0x2bc),_0x496586))(Mt||{}),pn=Object[_0x29a823(0x147)],Cn=(_0xe63b04,_0x4f9a6d,_0x558ea1,_0x404199)=>{const _0x45a5aa=_0x29a823;for(var _0x198f42=_0x404199>0x1?void 0x0:_0x404199?pn(_0x4f9a6d,_0x558ea1):_0x4f9a6d,_0x54a9b1=_0xe63b04[_0x45a5aa(0x131)]-0x1,_0x5d3bf8;_0x54a9b1>=0x0;_0x54a9b1--)(_0x5d3bf8=_0xe63b04[_0x54a9b1])&&(_0x198f42=_0x5d3bf8(_0x198f42)||_0x198f42);return _0x198f42;},be=(_0x28c8cd,_0x19c9fb)=>(_0x1ac344,_0x5cc6fe)=>_0x19c9fb(_0x1ac344,_0x5cc6fe,_0x28c8cd);let rt=class extends _0x10f221{constructor(_0x305ff0,_0x4ad476,_0xc77a55){const _0x15716e=_0x29a823;super(),this['_instanceService']=_0x305ff0,this[_0x15716e(0x146)]=_0x4ad476,this[_0x15716e(0x11f)]=_0xc77a55;}async[_0x29a823(0x1c3)](_0x1a215e,_0x3a9eac,_0x4d0df7,..._0xc1f427){const _0x3e4a18=_0x29a823;var _0x131203,_0x4361e7,_0x11877d,_0x54817f;const _0x15faf1=this[_0x3e4a18(0x1e3)][_0x3e4a18(0x1ca)]();if(!_0x15faf1)throw new Error(_0x3e4a18(0x24a));const _0x1e95b9=((_0x131203=this[_0x3e4a18(0x11f)][_0x3e4a18(0x27b)](_0x53543e))!=null?_0x131203:_0x532e81)+'/'+_0x1a215e+'/run/'+_0x3a9eac,_0x3bed6d=new URL(window['location'][_0x3e4a18(0x27c)]),_0x4fb841={'scriptId':_0x1a215e,'runId':(_0x4361e7=_0x3bed6d['searchParams'][_0x3e4a18(0x1c0)](_0x3e4a18(0x1ba)))!=null?_0x4361e7:'','function':_0x3a9eac,'unitId':_0x15faf1[_0x3e4a18(0x167)](),'argsOfFunction':JSON[_0x3e4a18(0x1a1)](_0xc1f427),'invokeId':(_0x11877d=_0x4d0df7[_0x3e4a18(0x2c1)])!=null?_0x11877d:'','executionId':(_0x54817f=_0x4d0df7['executionId'])!=null?_0x54817f:''};try{const _0x111ddd=await this[_0x3e4a18(0x146)][_0x3e4a18(0x2d4)](_0x1e95b9,{'body':_0x4fb841});return _0x111ddd[_0x3e4a18(0x159)]['error']&&_0x111ddd[_0x3e4a18(0x159)][_0x3e4a18(0x2f4)][_0x3e4a18(0x1b8)]!==Mt['OK']?'Failed':_0x111ddd[_0x3e4a18(0x159)]['result'];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x11340f),be(0x1,_0x455d91(_0x355e28)),be(0x2,_0x3a97e3)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1fad(_0x2df19a,_0x18788d){const _0x2d41e0=_0x2d41();return _0x1fad=function(_0x1fadfb,_0x110967){_0x1fadfb=_0x1fadfb-0x16e;let _0x1bef06=_0x2d41e0[_0x1fadfb];return _0x1bef06;},_0x1fad(_0x2df19a,_0x18788d);}const _0x55edad=_0x1fad;(function(_0x5412f6,_0x2f2b75){const _0x3f9664=_0x1fad,_0x18f006=_0x5412f6();while(!![]){try{const _0x5193e0=parseInt(_0x3f9664(0x178))/0x1*(parseInt(_0x3f9664(0x179))/0x2)+parseInt(_0x3f9664(0x184))/0x3+-parseInt(_0x3f9664(0x176))/0x4+parseInt(_0x3f9664(0x182))/0x5+-parseInt(_0x3f9664(0x16f))/0x6*(parseInt(_0x3f9664(0x170))/0x7)+parseInt(_0x3f9664(0x17c))/0x8*(-parseInt(_0x3f9664(0x174))/0x9)+-parseInt(_0x3f9664(0x175))/0xa*(parseInt(_0x3f9664(0x16e))/0xb);if(_0x5193e0===_0x2f2b75)break;else _0x18f006['push'](_0x18f006['shift']());}catch(_0x5c430e){_0x18f006['push'](_0x18f006['shift']());}}}(_0x2d41,0x6be49));function _0x2d41(){const _0x299cfc=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Edit\x20conflicts','Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3481980AjtTjN','Collaboration\x20Conflict','2086407dJxjLk','185955BjbTiv','413988XJqoqI','49wAMFdh','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','87219wjUvWD','140cQgwXP','801736YpSLLF','Syncing...','348103UKbpTY','2ZhRvVQ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','312deubBB'];_0x2d41=function(){return _0x299cfc;};return _0x2d41();}const e={'collab-client':{'tooltip':{'reconnect':_0x55edad(0x180)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x55edad(0x17f),'notCollab':'Local\x20file','synced':_0x55edad(0x17e),'syncing':_0x55edad(0x177),'offline':_0x55edad(0x173)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x55edad(0x181),'room-full':_0x55edad(0x172),'collaboration-timeout':_0x55edad(0x17d)},'conflict':{'title':_0x55edad(0x183),'content':_0x55edad(0x17b)},'permission':{'title':'Authentication\x20Error','content':_0x55edad(0x17a)},'collaboration':{'single-unit':{'warning':_0x55edad(0x171)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x33965f=_0x2f3e;(function(_0x4acdc4,_0x4241cb){const _0x8a648a=_0x2f3e,_0x792abe=_0x4acdc4();while(!![]){try{const _0x17aaa0=-parseInt(_0x8a648a(0xf5))/0x1*(-parseInt(_0x8a648a(0x102))/0x2)+parseInt(_0x8a648a(0xf7))/0x3+-parseInt(_0x8a648a(0xfd))/0x4+-parseInt(_0x8a648a(0xed))/0x5*(-parseInt(_0x8a648a(0xef))/0x6)+parseInt(_0x8a648a(0xf4))/0x7+parseInt(_0x8a648a(0xfb))/0x8+parseInt(_0x8a648a(0xf3))/0x9*(-parseInt(_0x8a648a(0xf8))/0xa);if(_0x17aaa0===_0x4241cb)break;else _0x792abe['push'](_0x792abe['shift']());}catch(_0x52e594){_0x792abe['push'](_0x792abe['shift']());}}}(_0x2c3b,0xc1a80));const o={'collab-client':{'tooltip':{'reconnect':_0x33965f(0xf0)}},'collabStatus':{'fetchMiss':_0x33965f(0xf1),'conflict':_0x33965f(0x101),'notCollab':_0x33965f(0x100),'synced':_0x33965f(0x103),'syncing':_0x33965f(0xfe),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x33965f(0xff),'will-retry':_0x33965f(0xf6),'room-full':_0x33965f(0xfa),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':'تداخل\x20همکاری','content':_0x33965f(0xf9)},'permission':{'title':_0x33965f(0xfc),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x33965f(0x104)},'closeRoom':_0x33965f(0xf2)},'auth':{'needGotoLoginAlert':_0x33965f(0xee)}};function _0x2f3e(_0x5c3225,_0x2914a1){const _0x2c3bbd=_0x2c3b();return _0x2f3e=function(_0x2f3e4b,_0x4f2add){_0x2f3e4b=_0x2f3e4b-0xed;let _0x35ef9a=_0x2c3bbd[_0x2f3e4b];return _0x35ef9a;},_0x2f3e(_0x5c3225,_0x2914a1);}function _0x2c3b(){const _0x28632d=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','4242204GHlfqk','2160781GalFFA','166538VKCYRK','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','2727474AstoBS','40GRXWaM','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','10232040ErgVIA','خطای\x20اعتبارسنجی','1348284erVhLE','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','پرونده\x20محلی','تداخل\x20ویرایش','2luibbB','همگام\x20سازی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1761635FUJsZg','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','6IghCQT'];_0x2c3b=function(){return _0x28632d;};return _0x2c3b();}export{o as default};
|