@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250419-8830bd4
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 +22 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4bf09d=_0x5d1e;(function(_0x55d42b,_0x1ea5b3){const _0x5d7137=_0x5d1e,_0x25dfc1=_0x55d42b();while(!![]){try{const _0x2ecfc0=-parseInt(_0x5d7137(0x1d3))/0x1*(parseInt(_0x5d7137(0x1db))/0x2)+-parseInt(_0x5d7137(0x1d0))/0x3*(parseInt(_0x5d7137(0x1d8))/0x4)+-parseInt(_0x5d7137(0x1d6))/0x5*(parseInt(_0x5d7137(0x1d1))/0x6)+-parseInt(_0x5d7137(0x1d4))/0x7+-parseInt(_0x5d7137(0x1d2))/0x8+parseInt(_0x5d7137(0x1d7))/0x9+parseInt(_0x5d7137(0x1cf))/0xa;if(_0x2ecfc0===_0x1ea5b3)break;else _0x25dfc1['push'](_0x25dfc1['shift']());}catch(_0x3ff33a){_0x25dfc1['push'](_0x25dfc1['shift']());}}}(_0xca91,0x3ba26));function _0xca91(){const _0x5330d9=['extend','_injector','runOnServer','get','11482000ERqfZf','15fKlMlu','94110isJywl','2179464ZMenho','5TRYnEe','1938573dEcehH','@univerjs-pro/collaboration-client-ui','95SXjhfJ','3315006BqsIlU','135100ePrNxE','FUniver','RemoteUniscriptService','102404PWDffS'];_0xca91=function(){return _0x5330d9;};return _0xca91();}const t=require(_0x4bf09d(0x1d5)),e=require('@univerjs/core/facade');function _0x5d1e(_0x4d1c28,_0x6c0c19){const _0xca9137=_0xca91();return _0x5d1e=function(_0x5d1e78,_0x503638){_0x5d1e78=_0x5d1e78-0x1cf;let _0xec10b=_0xca9137[_0x5d1e78];return _0xec10b;},_0x5d1e(_0x4d1c28,_0x6c0c19);}class c extends e[_0x4bf09d(0x1d9)]{[_0x4bf09d(0x1de)](_0x125803,_0x16d647,..._0x2af824){const _0x441683=_0x4bf09d;return this[_0x441683(0x1dd)][_0x441683(0x1df)](t[_0x441683(0x1da)])[_0x441683(0x1de)](_0x125803,_0x16d647,{},..._0x2af824);}}e[_0x4bf09d(0x1d9)][_0x4bf09d(0x1dc)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x1ac637=_0x3d4b;(function(_0x22fe67,_0x14943f){const _0x1115ff=_0x3d4b,_0x57574a=_0x22fe67();while(!![]){try{const _0x2e7691=parseInt(_0x1115ff(0x2b8))/0x1+-parseInt(_0x1115ff(0x1d9))/0x2+parseInt(_0x1115ff(0x255))/0x3*(parseInt(_0x1115ff(0x20a))/0x4)+parseInt(_0x1115ff(0x3a1))/0x5*(-parseInt(_0x1115ff(0x1ab))/0x6)+-parseInt(_0x1115ff(0x1c8))/0x7*(parseInt(_0x1115ff(0x344))/0x8)+parseInt(_0x1115ff(0x360))/0x9+-parseInt(_0x1115ff(0x343))/0xa*(parseInt(_0x1115ff(0x393))/0xb);if(_0x2e7691===_0x14943f)break;else _0x57574a['push'](_0x57574a['shift']());}catch(_0x54193a){_0x57574a['push'](_0x57574a['shift']());}}}(_0x211f,0xb1900));var Xe=Object[_0x1ac637(0x2e1)],Ge=(_0x23cf75,_0x10e1c3,_0x37624a)=>_0x10e1c3 in _0x23cf75?Xe(_0x23cf75,_0x10e1c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37624a}):_0x23cf75[_0x10e1c3]=_0x37624a,_=(_0x4be415,_0x1a670c,_0x55e384)=>Ge(_0x4be415,typeof _0x1a670c!=_0x1ac637(0x1a4)?_0x1a670c+'':_0x1a670c,_0x55e384);Object[_0x1ac637(0x2e1)](exports,Symbol['toStringTag'],{'value':_0x1ac637(0x389)});const u=require(_0x1ac637(0x202)),a=require(_0x1ac637(0x205)),p=require('@univerjs/engine-render'),q=require(_0x1ac637(0x1dd)),b=require('@univerjs/docs-ui'),qe=require(_0x1ac637(0x2f9)),d=require(_0x1ac637(0x17e)),Y=require(_0x1ac637(0x34f)),m=require(_0x1ac637(0x1d5)),Te=require(_0x1ac637(0x212)),g=require('@univerjs/sheets'),$=require(_0x1ac637(0x243)),G=require(_0x1ac637(0x38e)),L=require(_0x1ac637(0x26d)),R=require(_0x1ac637(0x1f3)),T=require(_0x1ac637(0x28d)),M=require(_0x1ac637(0x2c8)),Ke=require(_0x1ac637(0x3bf));var ze=Object['getOwnPropertyDescriptor'],Je=(_0x5764a2,_0x2a281a,_0x19ad0e,_0x2f2a0c)=>{const _0x24a3d5=_0x1ac637;for(var _0x483191=_0x2f2a0c>0x1?void 0x0:_0x2f2a0c?ze(_0x2a281a,_0x19ad0e):_0x2a281a,_0x2b4169=_0x5764a2[_0x24a3d5(0x245)]-0x1,_0x594938;_0x2b4169>=0x0;_0x2b4169--)(_0x594938=_0x5764a2[_0x2b4169])&&(_0x483191=_0x594938(_0x483191)||_0x483191);return _0x483191;},Re=(_0x41744e,_0x384f32)=>(_0x5207dc,_0x553509)=>_0x384f32(_0x5207dc,_0x553509,_0x41744e);let fe=class extends a[_0x1ac637(0x281)]{constructor(_0x4feb2a,_0x184f34){const _0x427d4e=_0x1ac637;super(),this['_docClipboardService']=_0x4feb2a,this[_0x427d4e(0x3d7)]=_0x184f34,this['_init']();}['_init'](){const _0x1f7e50=_0x1ac637,_0x342ff8=this;this[_0x1f7e50(0x252)](this[_0x1f7e50(0x3b1)]['addClipboardHook']({'onBeforePasteImage':async _0x15e249=>{const _0x1834c0=_0x1f7e50,_0x4ce18e=await _0x342ff8[_0x1834c0(0x3d7)][_0x1834c0(0x2dc)](_0x15e249);return _0x4ce18e?{'source':_0x4ce18e[_0x1834c0(0x2eb)],'imageSourceType':_0x4ce18e['imageSourceType']}:null;}}));}};fe=Je([Re(0x0,b[_0x1ac637(0x216)]),Re(0x1,qe[_0x1ac637(0x330)])],fe);function _0x3d4b(_0x2a079c,_0x2ffe85){const _0x211f0f=_0x211f();return _0x3d4b=function(_0x3d4b83,_0x1f3384){_0x3d4b83=_0x3d4b83-0x158;let _0xc9d27=_0x211f0f[_0x3d4b83];return _0xc9d27;},_0x3d4b(_0x2a079c,_0x2ffe85);}const Oe=[_0x1ac637(0x241),'jiqing500',_0x1ac637(0x197),'red300',_0x1ac637(0x201),_0x1ac637(0x27f)];class Ce extends a[_0x1ac637(0x2e5)]{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x1ac637(0x182)](_0xb8296a){const _0x4705a1=_0x1ac637;if(this[_0x4705a1(0x24a)][_0x4705a1(0x2d4)](_0xb8296a))return this[_0x4705a1(0x24a)][_0x4705a1(0x1e1)](_0xb8296a);const _0x4b572=Oe[this[_0x4705a1(0x359)]];return this[_0x4705a1(0x359)]=(this[_0x4705a1(0x359)]+0x1)%Oe[_0x4705a1(0x245)],this[_0x4705a1(0x24a)]['set'](_0xb8296a,_0x4b572),_0x4b572;}}function we(_0x903c41){const _0x55a336=_0x1ac637;let _0x346fc6='';for(const _0xa8a01b of _0x903c41){const {startOffset:_0x1c1950,endOffset:_0x3bd6e3,isActive:_0x183e88,rangeType:_0x80dcee,segmentId:_0x38c5d3,segmentPage:_0x30865c}=_0xa8a01b;_0x346fc6[_0x55a336(0x245)]&&(_0x346fc6+=','),_0x346fc6+=_0x1c1950+':'+_0x3bd6e3+':'+(_0x183e88?'1':'0')+':'+_0x80dcee+':'+_0x38c5d3+':'+_0x30865c;}return _0x346fc6;}function Ze(_0x18b935){const _0x5a6c71=_0x1ac637,_0x56d28d=_0x18b935['split'](','),_0x2e61af=[];for(const _0x3fc96d of _0x56d28d){const [_0x490810,_0x38b44d,_0x3f0d15,_0x2548e9,_0x2502d2,_0x1bd232]=_0x3fc96d[_0x5a6c71(0x2e9)](':');_0x2e61af['push']({'startOffset':Number(_0x490810),'endOffset':Number(_0x38b44d),'collapsed':_0x490810===_0x38b44d,'isActive':_0x3f0d15==='1','rangeType':_0x2548e9===a[_0x5a6c71(0x213)]['TEXT']?a['DOC_RANGE_TYPE']['TEXT']:a[_0x5a6c71(0x213)][_0x5a6c71(0x3da)],'segmentId':typeof _0x2502d2==_0x5a6c71(0x168)?String(_0x2502d2):'','segmentPage':Number(_0x1bd232!=null?_0x1bd232:-0x1)});}return _0x2e61af[_0x5a6c71(0x2b1)](_0x5f3860=>_0x5f3860[_0x5a6c71(0x207)])||(_0x2e61af[0x0][_0x5a6c71(0x207)]=!0x0),_0x2e61af;}class pe extends a['RxDisposable']{constructor(){const _0x260a6b=_0x1ac637;super(...arguments),_(this,_0x260a6b(0x3d8),new d[(_0x260a6b(0x3c8))](null)),_(this,_0x260a6b(0x381),this['_collabCursorState$'][_0x260a6b(0x333)]());}['syncEditingCollabCursor'](_0x3af195){const _0x3904d8=_0x1ac637,{unitID:_0xda663b,memberID:_0x5bae86,textRanges:_0x27053f}=_0x3af195,_0x29a6ed=we(_0x27053f);if(_0x29a6ed==='')return;const _0x1f0e15={'unitID':_0xda663b,'memberID':_0x5bae86,'selection':_0x29a6ed};this[_0x3904d8(0x3d8)][_0x3904d8(0x1b5)](_0x1f0e15);}}var Qe=Object[_0x1ac637(0x211)],et=(_0x1920ff,_0x355bf3,_0x26e5ce,_0x35d9e3)=>{const _0x3fbeb0=_0x1ac637;for(var _0x2fd083=_0x35d9e3>0x1?void 0x0:_0x35d9e3?Qe(_0x355bf3,_0x26e5ce):_0x355bf3,_0x518543=_0x1920ff[_0x3fbeb0(0x245)]-0x1,_0x5954f8;_0x518543>=0x0;_0x518543--)(_0x5954f8=_0x1920ff[_0x518543])&&(_0x2fd083=_0x5954f8(_0x2fd083)||_0x2fd083);return _0x2fd083;},P=(_0x5f4d40,_0x4fbe51)=>(_0x1e6652,_0x2f10ce)=>_0x4fbe51(_0x1e6652,_0x2f10ce,_0x5f4d40);const tt=0x12c,st=0x64;let Se=class extends a[_0x1ac637(0x281)]{constructor(_0x2e11e1,_0x1dca7c,_0x327f19,_0x24c7e5,_0x55731f,_0x2ccdda,_0x282ba7,_0x2ce1c4,_0xf579c9){const _0x1ae208=_0x1ac637;super(),_(this,_0x1ae208(0x209),!0x1),_(this,'_init',!0x1),_(this,_0x1ae208(0x15d),new d['BehaviorSubject'](new Map())),_(this,_0x1ae208(0x2e3),this[_0x1ae208(0x15d)][_0x1ae208(0x333)]()),_(this,_0x1ae208(0x24e),new d[(_0x1ae208(0x3c8))]([])),_(this,'roomMembers$',this[_0x1ae208(0x24e)][_0x1ae208(0x36f)](d['debounceTime'](tt))),_(this,_0x1ae208(0x1ea),a[_0x1ae208(0x184)](_0x5edb42=>{const _0x5683e9=_0x1ae208,_0x1f666e={'eventID':m[_0x5683e9(0x3a3)][_0x5683e9(0x16d)],'data':{'unitID':this[_0x5683e9(0x2bb)],'memberID':this[_0x5683e9(0x3c1)][_0x5683e9(0x1e9)](),'selection':we(_0x5edb42)}};this['_session'][_0x5683e9(0x1d0)](_0x1f666e,this[_0x5683e9(0x2bb)]);},st)),(this[_0x1ae208(0x2bb)]=_0x2e11e1,this[_0x1ae208(0x3c1)]=_0x1dca7c,this[_0x1ae208(0x3c2)]=_0x327f19,this['_colorAssignService']=_0x24c7e5,this['_memberService']=_0x55731f,this[_0x1ae208(0x173)]=_0x2ccdda,this[_0x1ae208(0x36d)]=_0x282ba7,this[_0x1ae208(0x322)]=_0x2ce1c4,this['_commandService']=_0xf579c9);}get['cursorInfo'](){const _0x2d0e64=_0x1ac637;return this[_0x2d0e64(0x15d)][_0x2d0e64(0x290)]();}get['roomMembers'](){const _0x2dc9ac=_0x1ac637;return this[_0x2dc9ac(0x24e)][_0x2dc9ac(0x290)]();}['dispose'](){const _0x28389b=_0x1ac637;super[_0x28389b(0x1af)](),this[_0x28389b(0x15d)][_0x28389b(0x1b5)](new Map()),this[_0x28389b(0x15d)]['complete'](),this[_0x28389b(0x24e)]['next']([]),this[_0x28389b(0x24e)][_0x28389b(0x323)]();}['init'](){const _0x5e99f6=_0x1ac637;this[_0x5e99f6(0x169)]||(this[_0x5e99f6(0x169)]=!0x0,this[_0x5e99f6(0x3c1)][_0x5e99f6(0x34c)]['pipe'](d[_0x5e99f6(0x257)](this[_0x5e99f6(0x17a)]))[_0x5e99f6(0x285)](_0x1c5e44=>{const _0x494e2d=_0x5e99f6;_0x1c5e44===u[_0x494e2d(0x317)][_0x494e2d(0x1eb)]?this[_0x494e2d(0x2f4)]():this[_0x494e2d(0x19d)]();}),this['_session'][_0x5e99f6(0x239)][_0x5e99f6(0x36f)](d[_0x5e99f6(0x257)](this['dispose$']))[_0x5e99f6(0x285)](_0x4fc84f=>{const _0x1460c4=_0x5e99f6,_0x19c848=_0x4fc84f['eventID'];_0x19c848===m['CollaborationEvent'][_0x1460c4(0x16d)]&&this[_0x1460c4(0x1f2)](_0x4fc84f),_0x19c848===m[_0x1460c4(0x3a3)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4fc84f);}),this[_0x5e99f6(0x252)](this[_0x5e99f6(0x370)][_0x5e99f6(0x1f1)](_0x498ba2=>{const _0x1fcddc=_0x5e99f6,_0x54ad51=_0x498ba2[_0x1fcddc(0x37d)];_0x54ad51!=null&&this[_0x1fcddc(0x209)]&&_0x498ba2['id']===Y['SetTextSelectionsOperation']['id']&&_0x54ad51[_0x1fcddc(0x158)]===this[_0x1fcddc(0x2bb)]&&_0x54ad51[_0x1fcddc(0x1d2)]===!0x1&&_0x54ad51[_0x1fcddc(0x194)][_0x1fcddc(0x245)]>0x0&&this['_updateLocalCursor'](_0x54ad51['ranges']);})),this[_0x5e99f6(0x173)][_0x5e99f6(0x381)]['pipe'](d['takeUntil'](this[_0x5e99f6(0x17a)]))['subscribe'](_0x56ab09=>{const _0x1ec374=_0x5e99f6;if((_0x56ab09==null?void 0x0:_0x56ab09[_0x1ec374(0x2bb)])!==this['unitID'])return;const _0x4b4ea2={'eventID':m[_0x1ec374(0x3a3)][_0x1ec374(0x16d)],'data':_0x56ab09};this[_0x1ec374(0x1f2)](_0x4b4ea2);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5a6b44=>{const _0x4eabec=_0x5e99f6;if(_0x5a6b44[_0x4eabec(0x37d)]==null)return;const _0x273787=_0x5a6b44['params'];if(_0x5a6b44['id']!==Y[_0x4eabec(0x220)]['id']||_0x273787[_0x4eabec(0x158)]!==this['unitID'])return;const _0x2bad7f={'id':_0x4eabec(0x2b3),'params':_0x273787},_0x39d5ef=this[_0x4eabec(0x29d)];for(const [_0x1db25e,_0x253111]of _0x39d5ef){const _0x5c2919={'id':_0x4eabec(0x2b3),'params':{'unitId':this[_0x4eabec(0x2bb)],'actions':null,'textRanges':_0x253111[_0x4eabec(0x194)]}},_0x5de2f3=this[_0x4eabec(0x36d)][_0x4eabec(0x1e0)](_0x2bad7f,_0x5c2919,!0x1);if(m[_0x4eabec(0x379)](_0x5de2f3))throw _0x5de2f3[_0x4eabec(0x376)];_0x39d5ef['set'](_0x1db25e,{..._0x253111,'ranges':_0x5de2f3[_0x4eabec(0x3c4)][_0x4eabec(0x37d)]['textRanges']});}queueMicrotask(()=>{const _0x49937e=_0x4eabec;this[_0x49937e(0x15d)]['next'](_0x39d5ef);});})));}[_0x1ac637(0x1f2)](_0x41edef){const _0x4759de=_0x1ac637;var _0x77dbc8,_0x182e13;const {memberID:_0x5b4656,selection:_0x9803ab}=_0x41edef['data'],_0x551cfd=Ze(_0x9803ab),_0x309654=(_0x182e13=(_0x77dbc8=this[_0x4759de(0x34e)]['getMember'](this[_0x4759de(0x2bb)],_0x5b4656))==null?void 0x0:_0x77dbc8[_0x4759de(0x399)])!=null?_0x182e13:_0x4759de(0x1da),_0x51a467={'color':this[_0x4759de(0x160)][_0x4759de(0x182)](_0x5b4656),'name':_0x309654,'ranges':_0x551cfd},_0x3acbca=this['cursorInfo'];_0x3acbca[_0x4759de(0x1a2)](_0x5b4656,_0x51a467),this['_cursorInfo$']['next'](_0x3acbca);}[_0x1ac637(0x25a)](_0x265806){const _0x338870=_0x1ac637,{memberID:_0x2064e1}=_0x265806[_0x338870(0x161)],_0x374178=this[_0x338870(0x29d)];_0x374178[_0x338870(0x230)](_0x2064e1),this[_0x338870(0x15d)][_0x338870(0x1b5)](_0x374178);}[_0x1ac637(0x2f4)](){const _0x2fd6a6=_0x1ac637;var _0x25debd;if(this[_0x2fd6a6(0x209)]=!0x0,((_0x25debd=this[_0x2fd6a6(0x322)][_0x2fd6a6(0x30f)]())==null?void 0x0:_0x25debd['getUnitId']())!==this[_0x2fd6a6(0x2bb)])return;const _0x59c204=this['_injector'][_0x2fd6a6(0x1e1)](Y[_0x2fd6a6(0x368)])[_0x2fd6a6(0x188)]();Array[_0x2fd6a6(0x2b2)](_0x59c204)&&_0x59c204['length']>0x0&&this[_0x2fd6a6(0x1ea)](_0x59c204);}['_toggleOffline'](){this['_online']=!0x1;}};Se=et([P(0x2,a[_0x1ac637(0x18c)](a[_0x1ac637(0x30e)])),P(0x3,a[_0x1ac637(0x18c)](Ce)),P(0x4,a['Inject'](u[_0x1ac637(0x2ae)])),P(0x5,a[_0x1ac637(0x18c)](pe)),P(0x6,m[_0x1ac637(0x358)]),P(0x7,a[_0x1ac637(0x3c7)]),P(0x8,a[_0x1ac637(0x357)])],Se);var nt=Object['getOwnPropertyDescriptor'],it=(_0x601a4f,_0x5c9c62,_0xc490ed,_0x5c51a1)=>{const _0x29024d=_0x1ac637;for(var _0xcd8682=_0x5c51a1>0x1?void 0x0:_0x5c51a1?nt(_0x5c9c62,_0xc490ed):_0x5c9c62,_0x59a26b=_0x601a4f[_0x29024d(0x245)]-0x1,_0x393061;_0x59a26b>=0x0;_0x59a26b--)(_0x393061=_0x601a4f[_0x59a26b])&&(_0xcd8682=_0x393061(_0xcd8682)||_0xcd8682);return _0xcd8682;},A=(_0x18d845,_0x30d2ae)=>(_0x58b4c0,_0x4abe48)=>_0x30d2ae(_0x58b4c0,_0x4abe48,_0x18d845);function _0x211f(){const _0x124c7c=['setUndoRedoMutationParamsCache','children','off-line-single_clip0_910_343','CHANGESET_REVISION_CONFILICT','concat','_getScale','ICommandService','ITransformService','_colorIndex','toDisposable','init','MOBILE_HAS_BEEN_BOUND','_registerRenderDependencies','_scheduleSaving','combineLatest','2696913ouTsIA','distinctUntilChanged','COMPLETION_FINISHED','_logService','sheetID','CollaborationSessionService','throttleTime','collab-text-anchor-','DocSelectionManagerService','APPLY_REJECT','INTERNAL_ERROR','getSheetBySheetId','SheetsSelectionsService','_transformService','_anchorDot','pipe','_commandService','filter','runRefRangeMutations','_shapes','LICENSE_EXPORT_SIZE_EXCEEDED','makeDirty','error','tag','DocCollaborationEntity','isTransformMutationFailure','function','setConfig','exhaustSavingTask','params','CollaborationDataLoaderController','mapTo','_updateCollabCursors','collabCursorState$','prototype','_docTransformIMECacheService','values','_drawRectRange','Shape','_collabCursorController','apply','Module','_setupBeforeClosingHandler','univer-online-status-title','CollaborationStatusDisplay','resize','@univerjs/sheets-ui','ILocalStorageService','session.collaboration-timeout','executeCommand','drawWith','77JDdfoj','getColor','OTHER_CLIENT_EDITING','_docStateChangeManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_RATE_OVER_LIMIT','name','univer-online-status','size','_clearOtherTimers','evenodd','location','show','RemoveRowCommandId','265oaapfT','APPLY_NON_SEQUENTIAL_REVISION','CollaborationEvent','_urlService','_entityInit$','getActiveSheet','roomMembers','triggerDblclick','SYNCED','collaboration.closeRoom','SheetSkeletonManagerService','hide','_getAnchorBounding','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUndoRedoMutationParamsCache','CollaborationStatus','_docClipboardService','bottom','_renderManagerService','font','createInstance','svg','url(#off-line-single_clip0_910_343)','collab-rect-range-','ILocalCacheService','deepClone','transformSelections','getUnitId','_transformHistoryAndStateStack','replace','@univerjs/rpc','_cursor','_session','_injector','DesktopCollaborationStatusDisplayController','m2Prime','call','textRanges','IUniverInstanceService','BehaviorSubject','LICENSE_IMPORT_SIZE_EXCEEDED','IMessageService','_getSaveTimeout','type','Tools','_cachedData','xlink:href','removeParam','_httpService','use','_docTransformSelectionsService','NodePositionConvertToCursor','_anchor','getCurrent','_imageIoService','_collabCursorState$','Plugin','RECT','IUIPartsService','LICENSE_DISTRO_REJECTED','_handleHover','hasOwnProperty','APPLY_PERMISSION_DENIED','unitId','_initEvent','closePath','MoveRangeCommandId','jsx','_cursorInfo$','ACTIVE_UNIT_EVENT_CHANNEL','random','_colorAssignService','data','_hover','getUniverSheetInstance','getUnitStatus$','Vector2','replaceState','override','string','_init','handleInsertRangeMoveDown','_revisionService','idSuffix','UPDATE_CURSOR','translate(.97)','setParam','_uiPartsService','_collabSessionService','_hideTimer','_syncEditingCollabCursorService','fillRule','_setupSubUnitSync','_collaborationUIEventService','on-line-single','connectInjector','LOCAL_CACHE_INTERVAL_KEY','dispose$','LocaleService','getItem','getCurrentSelections','rxjs','disposeUnit','editingUnit','NOT_COLLAB','assignAColorForMemberID','Subject','debounce','defs','_removeCollabCursors','INVITE_CODE_REQUIRED','getDocRanges','_range','transformMutationsWithChangeset','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Inject','_collaborationController','subscribeEvent','RemoteUniscriptService','collaboration-client-ui.config','_updateSubUnitFromURLParams','WebURLService','_removeClearOtherTimer','ranges','_scene','SHEET_VIEWPORT_KEY','verdancy600','status$','IRenderManagerService','href','useCallback','INVALID_ARGUMENT','_toggleOffline','0\x200\x2016\x2016','stringify','getParam','UniverCollaborationClientUIPlugin','set','enableLocalCache','symbol','EffectRefRangId','addHandlerCallback','WebSocketService','INVITE_CODE_ALREADY_BOUND','selection','_localCacheService','27282TFGZxf','pushState','application/json','backgroundColor','dispose','setActiveRange','SUBMIT_CHANGESET_TIMEOUT','useDependency','endRow','url(#$1','next','addObject','round','_lastPointer','_initStatusListener','origin','univer-online-status-icon','wsSessionTicketUrl','labelPosition','switchMap','_messageService','ThemeService','startRow','collabStatus.notCollab','from','colorChannel1','ISnapshotServerService','generateRandomId','clearTimeout','2993669PXXAbd','DEFAULT_WS_SESSION_TICKET_URL','off-line-single','CollaborationUIEventService','_name','TEXT_RANGE_LAYER_INDEX','_config','WECHAT_HAS_BEEN_BOUND','send','#fff','isEditing','_draw','forwardRef','@univerjs-pro/collaboration','createElement','IConfigService','registerDependencies','215268ZpYeBd','Unknown\x20user','registerComponent','indexOf','@univerjs/network','_handleJoinEvent','transform','transformMutation','get','_updateURLWithCurrentState','_beforeCloseService','UNIVER_DOC','actions','_eventUnsubscribe','DocIMEInputManagerService','CollaborationSocketService','getMemberID','_updateLocalCursor','ONLINE','DocStateChangeManagerService','_notificationService','APPLY_DUPLICATED','getSkeleton','UniverCollaborationClientPlugin','onCommandExecuted','_onCursorUpdate','@univerjs/ui','INVITE_CODE_HAS_BEEN_UES','UnitStatus','jsxs','_handleHeartbeatEvent','_initDependencies','debug','PY_RUNTIME_SCRIPT_ERROR','NodePositionConvertToRectRange','_themeService','fill','Rectangle','COLORS','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','blue400','@univerjs-pro/collaboration-client','handleDeleteRangeMoveUp','serializeRangeWithSheet','@univerjs/core','_ensureSubject','isActive','uni.network.url-service','_online','3986992mfKMCM','getTypeOfUnitDisposed$','collabStatus.fetchMiss','_initStatusComponent','undoState','with','substring','getOwnPropertyDescriptor','@univerjs/engine-formula','DOC_RANGE_TYPE','m1Prime','_send','IDocClipboardService','_backgroundColor','_heartbeatTimer','toString','_context','memberID','SNAPSHOT_HAS_BEEN_REMOVED','onlineStatusTitle','getCellPositionByOffset','transformStateCache','RichTextEditingMutation','_getSessionTicket','onLocalMutation','mergeOverrideWithDependencies','_selfUnitIDs','RegularPolygon','findNodePositionByCharIndex','ALREADY_EXISTS','1em','offline','OffLineSingle','text','getVpScrollXYInfoByPosToVp','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getOffsetConfig','merge','delete','debounceTime','width','column','top','RefRangeService','setShapeProps','getTypeOfUnitAdded$','UNRECOGNIZED','event$','getCollabCursors$','_textBubble','_initCommandExecutedListener','UniverInstanceType','collaboration.single-unit.warning','_entities','EMAIL_HAS_BEEN_BOUND','purple300','_docSkeletonManagerService','rxjs/operators','_getSheetObject','length','then','registerRefRange','div','lineTo','_assignedColors','push','subUnitId','propertyIsEnumerable','_roomMembers$','getMember','OTHER_CLIENTS_EDITING','getOwnPropertySymbols','disposeWithMe','clsx','session.will-retry','3PbChZK','_drawAnchor','takeUntil','mask','_dataLoaderService','_onCursorDelete','_scheduleHeartbeat','NO_OTHER_CLIENTS_EDITING','redoState','runId','_instanceService','map','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getMergeRange','invokeId','IURLService','attrs','_saveCache','YUUMI_URL_COL_OUT_OF_RANGE','INotificationService','_unitOnClients','DeleteRangeMoveLeftCommandId','InsertRangeMoveDownCommandId','ENSURE_SNAPSHOT_EXECUTION','react/jsx-runtime','Warning','PERMISSION_DENIED','activeSheet$','path','ticket','transformIMECache','_docSyncEditingCollabCursorService','onMouseMove','HTTPService','_startSheetCollabCursor','registerRenderModule','DocSkeletonManagerService','CLOSE_ROOM','NOT_FOUND','searchParams','subunit','color','gold400','CONFLICT','RxDisposable','AWAITING','_cursorShapes','measureText','subscribe','_docTransformStateCacheService','_initEntityListener','currentTheme$','_refRangeService','hovered','ColorKit','univerjs-icon\x20univerjs-icon-','@univerjs/design','defIds','session.connection-failed','getValue','MessageType','CommandType','_refreshCollabCursors','mutations','assign','BrowserCollaborationSocketService','transformByState','RemoveColCommandId','max','isTransformMutationsWithChangesetSuccess','_createSocketURL','_onRefRangeChange','cursorInfo','_localeService','APPLY_REVISION_CONFILICT','skeleton','onPointerEnter$','saveOfflineData','_handleEvent','collab-client.tooltip.reconnect','_sheetSkeletonManagerService','range','_registerDependencies','focused$','fillStyle','_startDocCollabCursor','selections','INVALID_INVITE_CODE','save','MemberService','search','_unitStatus','some','isArray','doc.mutation.rich-text-editing','includes','flatMap','unit','add','1263434lpbtRK','onPointerMove$','Tooltip','unitID','Error','currentColor','DisposableCollection','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getConfig','setAlpha','_drawTextRange','getAncestorScale','UNIVER_SHEET','getStateCache','onlineStatus','onStarting','react','_status$','createSocket','unsubscribe','InsertRowCommandId','_color','_render','Failed','collab-text-range-','permission.content','FETCH_MISS','permission.title','has','find','_id','updateOfflineData','Workbook','WebBrowserSingleActiveUnitService','transformRemoteChangeset','requireSession','saveImage','CONNECTOR_DATA_TOO_LARGE','shareReplay','on-line-single_clip0_910_349','getMergeData','defineProperty','PENDING','cursorInfo$','collaboration-client.offline-data-not-saved','Disposable','YUUMI_SUBSCRIPTION_NOT_FOUND','startsWith','loadOfflineData','split','eventID','source','handleInsertCol','...','_hovered','OnLineSingle','JOIN_ROOM_FAILED','getCollabEntity$','_initResize','SNAPSHOT_INVALID_SNAPSHOT','_toggleOnline','SetWorksheetActivateCommand','handleIRemoveCol','UniverIcon','forEach','@univerjs/drawing','getRelativeToViewportCoord','MUTATION','_localStorageService','_handleLeaveEvent','handleMoveRange','DependentOn','_cursors','code','height','setInterval','entries','ISocketService','_configService','CollaborationController','univer-online','parse','toRgbString','IRemoteInstanceService','displayName','clearInterval','Injector','getFocusedUnit','result','handleInsertRow','history','arc','restore','getSheetId','IBeforeCloseService','SessionStatus','onPointerLeave$','getCoordByCell','body','currentSkeleton$','SheetCollabCursorShape','executionId','storage','_disabled','reconnect','YUUMI_UNABLE_LOAD_URL','_univerInstanceService','complete','runOnServer','icon','whenReady','post','TOO_MANY_REQUESTS','LOCAL_CACHE_INTERVAL','fromEventSubject','fillText','USER_NOT_INVITED_CODE','className','_labelPosition','endColumn','IImageIoService','LICENSE_MAX_UNITS_EXCEEDED','online','asObservable','loadUnit','DeleteRangeMoveUpCommandId','getRenderById','CollaborationUIEventId','_doCreateSocket','registerBeforeClose','LOGIN_FAILED','setItem','extend','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','row','Rect','InsertColCommandId','_transformUndoRedoStack','_transformPreviousActiveRange','1508930dZmchR','8uCwCJq','unshift','black','touchDependencies','_scheduleClearOtherTimer','_saveTaskMap','[CollaborationDataLoaderController]','getLocalCacheKey','sessionStatus$','clipPath','_memberService','@univerjs/docs','univer-flex\x20univer-items-center'];_0x211f=function(){return _0x124c7c;};return _0x211f();}const rt=0x12c,ot=0x64,at=()=>{let _0x3cb9f3=[],_0x380508=!0x1;return _0x419a18=>{const _0x8aa85c=_0x3d4b;_0x3cb9f3[_0x8aa85c(0x24b)](_0x419a18),_0x380508||(_0x380508=!0x0,setTimeout(()=>{_0x3cb9f3['forEach'](_0x439ebb=>_0x439ebb()),_0x3cb9f3=[],_0x380508=!0x1;}));};};let Ie=class extends a[_0x1ac637(0x281)]{constructor(_0x37a04e,_0x1283c4,_0x7d07f2,_0x395886,_0x273bdc,_0x48b62e,_0x50360,_0x40a043){const _0x4f0009=_0x1ac637;super(),_(this,_0x4f0009(0x209),!0x1),_(this,_0x4f0009(0x169),!0x1),_(this,_0x4f0009(0x15d),new d['BehaviorSubject'](new Map())),_(this,_0x4f0009(0x2e3),this[_0x4f0009(0x15d)][_0x4f0009(0x333)]()),_(this,_0x4f0009(0x24e),new d['BehaviorSubject']([])),_(this,'roomMembers$',this[_0x4f0009(0x24e)]['pipe'](d[_0x4f0009(0x231)](rt))),_(this,_0x4f0009(0x1ea),a[_0x4f0009(0x184)]((_0x30e4b8,_0x3a56b0)=>{const _0x4a93e4=_0x4f0009,_0x1b4f08={'eventID':m[_0x4a93e4(0x3a3)][_0x4a93e4(0x16d)],'data':{'unitID':this[_0x4a93e4(0x2bb)],'memberID':this[_0x4a93e4(0x3c1)][_0x4a93e4(0x1e9)](),'selection':Te[_0x4a93e4(0x204)](_0x30e4b8,_0x3a56b0[_0x4a93e4(0x2a6)])}};this['_session'][_0x4a93e4(0x1d0)](_0x1b4f08,this[_0x4a93e4(0x2bb)]);},ot)),(this[_0x4f0009(0x2bb)]=_0x37a04e,this['_session']=_0x1283c4,this[_0x4f0009(0x3c2)]=_0x7d07f2,this[_0x4f0009(0x160)]=_0x395886,this[_0x4f0009(0x34e)]=_0x273bdc,this['_univerInstanceService']=_0x48b62e,this[_0x4f0009(0x370)]=_0x50360,this[_0x4f0009(0x289)]=_0x40a043);}get[_0x1ac637(0x29d)](){const _0x488853=_0x1ac637;return this[_0x488853(0x15d)][_0x488853(0x290)]();}get[_0x1ac637(0x3a7)](){const _0xa7493b=_0x1ac637;return this[_0xa7493b(0x24e)][_0xa7493b(0x290)]();}[_0x1ac637(0x1af)](){const _0x385709=_0x1ac637;super[_0x385709(0x1af)](),this[_0x385709(0x15d)][_0x385709(0x1b5)](new Map()),this['_cursorInfo$'][_0x385709(0x323)](),this['_roomMembers$']['next']([]),this['_roomMembers$']['complete']();}[_0x1ac637(0x35b)](){const _0x4d0bf1=_0x1ac637;this[_0x4d0bf1(0x169)]||(this[_0x4d0bf1(0x169)]=!0x0,this[_0x4d0bf1(0x3c1)][_0x4d0bf1(0x34c)][_0x4d0bf1(0x36f)](d[_0x4d0bf1(0x257)](this[_0x4d0bf1(0x17a)]))[_0x4d0bf1(0x285)](_0x4de775=>{const _0x3f54b3=_0x4d0bf1;_0x4de775===u[_0x3f54b3(0x317)][_0x3f54b3(0x1eb)]?this[_0x3f54b3(0x2f4)]():this['_toggleOffline']();}),this['_session'][_0x4d0bf1(0x239)][_0x4d0bf1(0x36f)](d['takeUntil'](this[_0x4d0bf1(0x17a)]))['subscribe'](_0x58d4cd=>{const _0x1aeb77=_0x4d0bf1,_0x356568=_0x58d4cd[_0x1aeb77(0x2ea)];_0x356568===m[_0x1aeb77(0x3a3)]['UPDATE_CURSOR']&&this[_0x1aeb77(0x1f2)](_0x58d4cd),_0x356568===m[_0x1aeb77(0x3a3)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x58d4cd);}),this[_0x4d0bf1(0x29c)](),this[_0x4d0bf1(0x252)](this['_commandService']['onCommandExecuted'](_0x3491d2=>{const _0x3bfffd=_0x4d0bf1;if(this[_0x3bfffd(0x209)]&&_0x3491d2['id']===g['SetSelectionsOperation']['id']&&_0x3491d2[_0x3bfffd(0x37d)][_0x3bfffd(0x158)]===this[_0x3bfffd(0x2bb)]){const _0x28ab0a=_0x3491d2[_0x3bfffd(0x37d)];this['_updateLocalCursor'](_0x28ab0a[_0x3bfffd(0x24c)],_0x28ab0a[_0x3bfffd(0x2ab)][0x0]);}})));}[_0x1ac637(0x1f2)](_0x37ec5b){const _0x3c3339=_0x1ac637;var _0x1bb520,_0x5ec683;const {memberID:_0x12c87b,selection:_0x2772e7}=_0x37ec5b['data'],{sheetName:_0x442e31,range:_0x3455cb}=Te['deserializeRangeWithSheet'](_0x2772e7),_0x386469={'name':(_0x5ec683=(_0x1bb520=this[_0x3c3339(0x34e)][_0x3c3339(0x24f)](this['unitID'],_0x12c87b))==null?void 0x0:_0x1bb520[_0x3c3339(0x399)])!=null?_0x5ec683:_0x3c3339(0x1da),'range':this[_0x3c3339(0x262)](_0x442e31,_0x3455cb),'sheetID':_0x442e31,'color':this[_0x3c3339(0x160)][_0x3c3339(0x182)](_0x12c87b),'selection':_0x2772e7},_0x204707=this[_0x3c3339(0x29d)];_0x204707[_0x3c3339(0x1a2)](_0x12c87b,_0x386469),this['_cursorInfo$'][_0x3c3339(0x1b5)](_0x204707);}[_0x1ac637(0x25a)](_0x5773f7){const _0x4c63a8=_0x1ac637,{memberID:_0x46ffed}=_0x5773f7[_0x4c63a8(0x161)],_0xa66635=this[_0x4c63a8(0x29d)];_0xa66635['delete'](_0x46ffed),this[_0x4c63a8(0x15d)][_0x4c63a8(0x1b5)](_0xa66635);}[_0x1ac637(0x262)](_0x9f8bef,_0x36000c){const _0x1d1e3e=_0x1ac637;var _0x23f4f8,_0x50cedf;const _0x5ee2cc=(_0x50cedf=(_0x23f4f8=this[_0x1d1e3e(0x322)][_0x1d1e3e(0x163)](this[_0x1d1e3e(0x2bb)]))==null?void 0x0:_0x23f4f8[_0x1d1e3e(0x36b)](_0x9f8bef))==null?void 0x0:_0x50cedf[_0x1d1e3e(0x2e0)]();return(_0x5ee2cc==null?void 0x0:_0x5ee2cc[_0x1d1e3e(0x2d5)](_0x2279e5=>a[_0x1d1e3e(0x1fe)]['contains'](_0x2279e5,_0x36000c)))||_0x36000c;}[_0x1ac637(0x29c)](){const _0x267bb0=_0x1ac637,_0x5e082e=new a[(_0x267bb0(0x2be))](),_0x461f5f=at(),_0x5ed424=()=>{const _0x129f2b=_0x267bb0;_0x5e082e[_0x129f2b(0x1af)]();const _0x458289=(_0x1907ec,_0x3ee8dc,_0x23ec3c,_0x4c0afc)=>{const _0x26d541=_0x129f2b;let _0x156e2b=[];switch(_0x1907ec['id']){case g[_0x26d541(0x1a5)][_0x26d541(0x26a)]:{_0x156e2b=g['handleDeleteRangeMoveLeft'](_0x1907ec,_0x4c0afc);break;}case g[_0x26d541(0x1a5)][_0x26d541(0x335)]:{_0x156e2b=g[_0x26d541(0x203)](_0x1907ec,_0x4c0afc);break;}case g['EffectRefRangId'][_0x26d541(0x340)]:{_0x156e2b=g[_0x26d541(0x2ec)](_0x1907ec,_0x4c0afc);break;}case g[_0x26d541(0x1a5)][_0x26d541(0x26b)]:{_0x156e2b=g[_0x26d541(0x16a)](_0x1907ec,_0x4c0afc);break;}case g[_0x26d541(0x1a5)]['InsertRangeMoveRightCommandId']:{_0x156e2b=g['handleInsertRangeMoveRight'](_0x1907ec,_0x4c0afc);break;}case g['EffectRefRangId'][_0x26d541(0x2cc)]:{_0x156e2b=g[_0x26d541(0x311)](_0x1907ec,_0x4c0afc);break;}case g[_0x26d541(0x1a5)][_0x26d541(0x15b)]:{_0x156e2b=g[_0x26d541(0x2fe)](_0x1907ec,_0x4c0afc);break;}case g[_0x26d541(0x1a5)][_0x26d541(0x298)]:{_0x156e2b=g[_0x26d541(0x2f6)](_0x1907ec,_0x4c0afc);break;}case g['EffectRefRangId'][_0x26d541(0x3a0)]:{_0x156e2b=g['handleIRemoveRow'](_0x1907ec,_0x4c0afc);break;}}const _0x1da895=g[_0x26d541(0x372)](_0x156e2b,_0x4c0afc),_0x5b01f8=this[_0x26d541(0x29d)][_0x26d541(0x1e1)](_0x3ee8dc);if(_0x5b01f8&&_0x1da895){const _0x10051c={..._0x5b01f8,'range':_0x1da895};this['cursorInfo']['set'](_0x3ee8dc,_0x10051c),_0x461f5f(()=>{const _0x13cf3e=_0x26d541,_0x392b4f=this[_0x13cf3e(0x289)][_0x13cf3e(0x247)](_0x1da895,_0x3f8afc=>(_0x392b4f[_0x13cf3e(0x1af)](),_0x458289(_0x3f8afc,_0x3ee8dc,_0x23ec3c,_0x1da895)));_0x5e082e[_0x13cf3e(0x2b7)](_0x392b4f);});}return{'redos':[],'undos':[]};};this[_0x129f2b(0x29d)][_0x129f2b(0x2f8)]((_0x22f4aa,_0x465704)=>{const _0x4bf1cb=_0x129f2b,{range:_0x2b95b0,sheetID:_0x418429}=_0x22f4aa,_0x42bcd1=this[_0x4bf1cb(0x289)][_0x4bf1cb(0x247)](_0x2b95b0,_0xa3becf=>(_0x42bcd1[_0x4bf1cb(0x1af)](),_0x458289(_0xa3becf,_0x465704,_0x418429,_0x2b95b0)));_0x5e082e['add'](_0x42bcd1);});};this[_0x267bb0(0x252)](a[_0x267bb0(0x35a)](this[_0x267bb0(0x15d)][_0x267bb0(0x285)](()=>{_0x5ed424();})));}[_0x1ac637(0x2f4)](){const _0xe0cd2a=_0x1ac637;var _0x4a5530,_0x45d7f6;if(this[_0xe0cd2a(0x209)]=!0x0,((_0x4a5530=this['_univerInstanceService'][_0xe0cd2a(0x30f)]())==null?void 0x0:_0x4a5530[_0xe0cd2a(0x3bc)]())!==this[_0xe0cd2a(0x2bb)])return;const _0x3997a9=(_0x45d7f6=this[_0xe0cd2a(0x3c2)][_0xe0cd2a(0x1e1)](g[_0xe0cd2a(0x36c)])[_0xe0cd2a(0x17d)]())==null?void 0x0:_0x45d7f6[0x0],_0x586e9f=this['_univerInstanceService']['getCurrentUnitForType'](a['UniverInstanceType'][_0xe0cd2a(0x2c4)])[_0xe0cd2a(0x3a6)]();_0x3997a9&&_0x586e9f&&this[_0xe0cd2a(0x1ea)](_0x586e9f['getSheetId'](),_0x3997a9);}[_0x1ac637(0x19d)](){const _0x2d7aae=_0x1ac637;this[_0x2d7aae(0x209)]=!0x1;}};Ie=it([A(0x2,a[_0x1ac637(0x18c)](a['Injector'])),A(0x3,a[_0x1ac637(0x18c)](Ce)),A(0x4,a[_0x1ac637(0x18c)](u[_0x1ac637(0x2ae)])),A(0x5,a[_0x1ac637(0x3c7)]),A(0x6,a[_0x1ac637(0x357)]),A(0x7,a['Inject'](g[_0x1ac637(0x235)]))],Ie);var ct=Object[_0x1ac637(0x211)],lt=(_0x1dd344,_0x1fa70e,_0x53d2fd,_0x3b6ed9)=>{const _0x5e8344=_0x1ac637;for(var _0x503944=_0x3b6ed9>0x1?void 0x0:_0x3b6ed9?ct(_0x1fa70e,_0x53d2fd):_0x1fa70e,_0x175999=_0x1dd344[_0x5e8344(0x245)]-0x1,_0x58cc97;_0x175999>=0x0;_0x175999--)(_0x58cc97=_0x1dd344[_0x175999])&&(_0x503944=_0x58cc97(_0x503944)||_0x503944);return _0x503944;},ie=(_0x1a5a39,_0x1bfaed)=>(_0x122021,_0x16c768)=>_0x1bfaed(_0x122021,_0x16c768,_0x1a5a39);let x=class extends a[_0x1ac637(0x281)]{constructor(_0x1230ca,_0x173662,_0x1db68){const _0x41a74e=_0x1ac637;super(),_(this,_0x41a74e(0x23f),new Map()),_(this,_0x41a74e(0x3a5),new d[(_0x41a74e(0x183))]()),(this[_0x41a74e(0x322)]=_0x1230ca,this['_injector']=_0x173662,this[_0x41a74e(0x171)]=_0x1db68,this['_init']());}[_0x1ac637(0x1af)](){const _0x568344=_0x1ac637;super['dispose'](),this[_0x568344(0x3a5)][_0x568344(0x323)](),this[_0x568344(0x23f)][_0x568344(0x2f8)](_0x45369e=>_0x45369e[_0x568344(0x1af)]());}[_0x1ac637(0x23a)](_0x474ddf){const _0xc4c0c0=_0x1ac637;return this[_0xc4c0c0(0x23f)][_0xc4c0c0(0x2d4)](_0x474ddf)?this[_0xc4c0c0(0x23f)][_0xc4c0c0(0x1e1)](_0x474ddf)['cursorInfo$']:this[_0xc4c0c0(0x3a5)][_0xc4c0c0(0x36f)](d[_0xc4c0c0(0x371)](_0x55fa10=>_0x55fa10[_0xc4c0c0(0x2bb)]===_0x474ddf),d[_0xc4c0c0(0x1be)](_0x3c95d3=>_0x3c95d3[_0xc4c0c0(0x2e3)]));}[_0x1ac637(0x169)](){const _0x3c9f62=_0x1ac637;this[_0x3c9f62(0x322)][_0x3c9f62(0x237)](a[_0x3c9f62(0x23d)][_0x3c9f62(0x2c4)])[_0x3c9f62(0x36f)](d[_0x3c9f62(0x257)](this['dispose$']))[_0x3c9f62(0x285)](async _0x16a99d=>{const _0x37323a=_0x3c9f62,_0x229efb=_0x16a99d['getUnitId'](),_0x2e4422=await this['_startSheetCollabCursor'](_0x229efb);this[_0x37323a(0x3a5)]['next'](_0x2e4422),this[_0x37323a(0x23f)][_0x37323a(0x1a2)](_0x229efb,_0x2e4422);}),this['_univerInstanceService'][_0x3c9f62(0x237)](a['UniverInstanceType'][_0x3c9f62(0x1e4)])[_0x3c9f62(0x36f)](d[_0x3c9f62(0x257)](this[_0x3c9f62(0x17a)]))[_0x3c9f62(0x36f)](d[_0x3c9f62(0x371)](_0x31fe9b=>!_0x31fe9b[_0x3c9f62(0x3bc)]()[_0x3c9f62(0x2e7)]('__')))[_0x3c9f62(0x285)](async _0x385764=>{const _0x61987f=_0x3c9f62,_0x4da1c7=_0x385764[_0x61987f(0x3bc)](),_0x1773d1=await this[_0x61987f(0x2aa)](_0x4da1c7);this[_0x61987f(0x3a5)][_0x61987f(0x1b5)](_0x1773d1),this['_entities'][_0x61987f(0x1a2)](_0x4da1c7,_0x1773d1);}),d[_0x3c9f62(0x22f)](this[_0x3c9f62(0x322)][_0x3c9f62(0x20b)](a[_0x3c9f62(0x23d)]['UNIVER_DOC']),this[_0x3c9f62(0x322)][_0x3c9f62(0x20b)](a['UniverInstanceType'][_0x3c9f62(0x2c4)]))[_0x3c9f62(0x36f)](d['takeUntil'](this[_0x3c9f62(0x17a)]))['subscribe'](_0x2c9986=>{const _0x108b40=_0x3c9f62,_0xc945eb=_0x2c9986[_0x108b40(0x3bc)](),_0x1c31c1=this[_0x108b40(0x23f)][_0x108b40(0x1e1)](_0xc945eb);_0x1c31c1&&(_0x1c31c1[_0x108b40(0x1af)](),this[_0x108b40(0x23f)][_0x108b40(0x230)](_0xc945eb));});}async[_0x1ac637(0x277)](_0x45ac76){const _0x4aa6cb=_0x1ac637,_0x1b7c95=await this['_collabSessionService'][_0x4aa6cb(0x2db)](_0x45ac76),_0x48aa5d=this[_0x4aa6cb(0x3c2)][_0x4aa6cb(0x3b5)](Ie,_0x45ac76,_0x1b7c95);return _0x48aa5d[_0x4aa6cb(0x35b)](),_0x48aa5d;}async['_startDocCollabCursor'](_0x43a924){const _0x56af41=_0x1ac637,_0x18f75d=await this[_0x56af41(0x171)][_0x56af41(0x2db)](_0x43a924),_0x132d38=this[_0x56af41(0x3c2)][_0x56af41(0x3b5)](Se,_0x43a924,_0x18f75d);return _0x132d38[_0x56af41(0x35b)](),_0x132d38;}};x=lt([ie(0x0,a[_0x1ac637(0x3c7)]),ie(0x1,a[_0x1ac637(0x18c)](a[_0x1ac637(0x30e)])),ie(0x2,a[_0x1ac637(0x18c)](u[_0x1ac637(0x365)]))],x);const K=0x14,De=0xc8,re=0x4,_t=0x5;function ht(_0x37b454,_0x1e58f8){const _0xd202bd=_0x1ac637;let {radius:_0xbb0d1c,width:_0x3eb674,height:_0xec2af5}=_0x1e58f8;_0xbb0d1c=_0xbb0d1c!=null?_0xbb0d1c:0x0,_0x3eb674=_0x3eb674!=null?_0x3eb674:0x1e,_0xec2af5=_0xec2af5!=null?_0xec2af5:0x1e;let _0x5313ab=0x0,_0x27f284=0x0,_0x110a38=0x0;_0x5313ab=_0x27f284=_0x110a38=Math['min'](_0xbb0d1c,_0x3eb674/0x2,_0xec2af5/0x2),_0x37b454['beginPath'](),_0x37b454['moveTo'](_0x5313ab,0x0),_0x37b454['lineTo'](_0x3eb674-_0x27f284,0x0),_0x37b454[_0xd202bd(0x313)](_0x3eb674-_0x27f284,_0x27f284,_0x27f284,Math['PI']*0x3/0x2,0x0,!0x1),_0x37b454['lineTo'](_0x3eb674,_0xec2af5-_0x110a38),_0x37b454[_0xd202bd(0x313)](_0x3eb674-_0x110a38,_0xec2af5-_0x110a38,_0x110a38,0x0,Math['PI']/0x2,!0x1),_0x37b454[_0xd202bd(0x249)](0x0,_0xec2af5),_0x37b454[_0xd202bd(0x249)](0x0,_0x5313ab),_0x37b454['arc'](_0x5313ab,_0x5313ab,_0x5313ab,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x37b454[_0xd202bd(0x15a)](),_0x1e58f8[_0xd202bd(0x1fd)]&&(_0x37b454['save'](),_0x37b454['fillStyle']=_0x1e58f8['fill'],_0x1e58f8[_0xd202bd(0x174)]===_0xd202bd(0x39d)?_0x37b454[_0xd202bd(0x1fd)](_0xd202bd(0x39d)):_0x37b454[_0xd202bd(0x1fd)](),_0x37b454[_0xd202bd(0x314)]());}class te extends p[_0x1ac637(0x386)]{constructor(_0xb69862,_0x4960b6){const _0x379bfc=_0x1ac637;super(_0xb69862,_0x4960b6),_(this,'color'),_(this,'text'),(this[_0x379bfc(0x27e)]=_0x4960b6==null?void 0x0:_0x4960b6['color'],this[_0x379bfc(0x22b)]=_0x4960b6==null?void 0x0:_0x4960b6['text']);}static[_0x1ac637(0x392)](_0x54263f,_0x5473ee){const _0x1460b3=_0x1ac637,{text:_0x431fb4,color:_0x361a1c}=_0x5473ee;_0x54263f['save'](),_0x54263f[_0x1460b3(0x3b4)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x283449=_0x54263f['measureText'](_0x431fb4)[_0x1460b3(0x232)],_0xb739b6=Math['min'](_0x283449+0x2*re,De);ht(_0x54263f,{'height':K,'radius':0x4,'width':_0xb739b6,'fill':_0x361a1c}),_0x54263f[_0x1460b3(0x2a9)]='#FFF';const _0xf575c=re,_0x398ffa=K-_t,_0x21b5c8=De-0x2*re;if(_0x283449>_0x21b5c8){let _0x49f143='',_0x37d794=0x0;for(const _0x2e1d6e of _0x431fb4){const _0x1fe307=_0x54263f[_0x1460b3(0x284)](_0x2e1d6e)[_0x1460b3(0x232)];if(_0x37d794+_0x1fe307<=_0x21b5c8-_0x54263f['measureText'](_0x1460b3(0x2ed))[_0x1460b3(0x232)])_0x49f143+=_0x2e1d6e,_0x37d794+=_0x1fe307;else{_0x49f143+='...';break;}}_0x54263f[_0x1460b3(0x32b)](_0x49f143,_0xf575c,_0x398ffa);}else _0x54263f[_0x1460b3(0x32b)](_0x431fb4,_0xf575c,_0x398ffa);_0x54263f[_0x1460b3(0x314)]();}[_0x1ac637(0x1d3)](_0x5e41e9){const _0x12a0db=_0x1ac637;te[_0x12a0db(0x392)](_0x5e41e9,this);}}const oe=_0x1ac637(0x367),ut=_0x1ac637(0x2d0),dt=_0x1ac637(0x3b8),k=0x6,ft=1.5,ae=0x4,St=1.5,It='rgba(255,\x20255,\x20255,\x200.01)';class Ue{constructor(_0x533d57,_0x5cf97b,_0x1e3157,_0x48eaa4){const _0x456202=_0x1ac637;_(this,_0x456202(0x373),[]),_(this,_0x456202(0x3d5),null),_(this,_0x456202(0x23b),null),_(this,_0x456202(0x36e),null),_(this,_0x456202(0x172),null),_(this,_0x456202(0x1e6),null),(this['_cursor']=_0x533d57,this[_0x456202(0x195)]=_0x5cf97b,this['_docSkeleton']=_0x1e3157,this['_document']=_0x48eaa4,this[_0x456202(0x2ce)]());}set['_hover'](_0x257e60){const _0x2e40e6=_0x1ac637;_0x257e60?(this[_0x2e40e6(0x36e)]&&this[_0x2e40e6(0x36e)][_0x2e40e6(0x3ac)](),this[_0x2e40e6(0x23b)]&&this[_0x2e40e6(0x23b)]['show']()):(this[_0x2e40e6(0x36e)]&&this[_0x2e40e6(0x36e)]['show'](),this[_0x2e40e6(0x23b)]&&this['_textBubble'][_0x2e40e6(0x3ac)]());}[_0x1ac637(0x1af)](){const _0x3e80c1=_0x1ac637;for(const _0x19080d of this[_0x3e80c1(0x373)])_0x19080d[_0x3e80c1(0x1af)]();this[_0x3e80c1(0x23b)]&&this['_textBubble'][_0x3e80c1(0x1af)](),this[_0x3e80c1(0x36e)]&&this[_0x3e80c1(0x36e)][_0x3e80c1(0x1af)](),this[_0x3e80c1(0x3d5)]&&this['_anchor']['dispose'](),this[_0x3e80c1(0x1e6)]&&this[_0x3e80c1(0x1e6)]();}[_0x1ac637(0x2ce)](){const _0x1b13eb=_0x1ac637;var _0x23889b;const {_docSkeleton:_0xb5aa32,_document:_0x1d748b}=this,{color:_0x24ac2c,name:_0x3ed98e,ranges:_0x5c9e2b}=this[_0x1b13eb(0x3c0)],_0x51216e=_0x1d748b[_0x1b13eb(0x22e)](),{docsLeft:_0x2ff4fc,docsTop:_0x174d7a}=_0x51216e,_0x4ae180=new b[(_0x1b13eb(0x3d4))](_0x51216e,_0xb5aa32);for(const {startOffset:_0x4b1bbd,endOffset:_0x25e4c0,rangeType:_0x4e14f7,segmentId:_0x561ee3,segmentPage:_0x2a61d8,collapsed:_0x304ec5,isActive:_0x5f4218}of _0x5c9e2b){const _0xac1718=_0xb5aa32[_0x1b13eb(0x226)](_0x4b1bbd,!0x0,_0x561ee3,_0x2a61d8);let _0x4f1429=_0xb5aa32[_0x1b13eb(0x226)](_0x25e4c0,!0x0,_0x561ee3,_0x2a61d8);if(_0x4f1429==null&&(_0x4f1429=_0xb5aa32['findNodePositionByCharIndex'](_0x25e4c0-0x1,!0x1,_0x561ee3,_0x2a61d8)),_0x5f4218){const {contentBoxPointGroup:_0xafc34d}=_0x4ae180['getRangePointData'](_0x4f1429,_0x4f1429);if(_0xafc34d[_0x1b13eb(0x245)]===0x0)continue;this[_0x1b13eb(0x256)](_0x24ac2c,_0xafc34d,_0x2ff4fc,_0x174d7a,_0x3ed98e),this['_eventUnsubscribe']=this['_handleHover']();}if(_0xac1718&&_0x4f1429){if(_0x4e14f7===a[_0x1b13eb(0x213)]['RECT']){const _0xd340de=new b[(_0x1b13eb(0x1fb))](_0x51216e,_0xb5aa32),{pointGroup:_0x4184ca}=(_0x23889b=_0xd340de['getRangePointData'](_0xac1718,_0x4f1429))!=null?_0x23889b:{};if(_0x4184ca==null||_0x4184ca[_0x1b13eb(0x245)]===0x0)continue;this[_0x1b13eb(0x385)](_0x24ac2c,_0x4184ca,_0x2ff4fc,_0x174d7a);}else{if(!_0x304ec5){const {borderBoxPointGroup:_0x22caa8}=_0x4ae180['getRangePointData'](_0xac1718,_0x4f1429);if(_0x22caa8[_0x1b13eb(0x245)]===0x0)continue;this[_0x1b13eb(0x2c2)](_0x24ac2c,_0x22caa8,_0x2ff4fc,_0x174d7a);}}}}}[_0x1ac637(0x256)](_0x2cd20f,_0x5a850a,_0x49e3bf,_0x33cd29,_0x84419e){const _0xbb568b=_0x1ac637,_0x229fab=this[_0xbb568b(0x3ad)](_0x5a850a),{left:_0x21aa88,top:_0x160c5d,height:_0x1e9c53}=_0x229fab,_0x19e28e=this[_0xbb568b(0x356)](),_0x320b79=St/_0x19e28e,_0x52e358=new p[(_0xbb568b(0x33f))](oe+a[_0xbb568b(0x3cd)]['generateRandomId'](k),{'left':_0x21aa88+_0x49e3bf-_0x320b79,'top':_0x160c5d+_0x33cd29,'height':_0x1e9c53,'width':ft,'fill':_0x2cd20f||p[_0xbb568b(0x394)](a[_0xbb568b(0x1ff)][_0xbb568b(0x346)],0x0),'strokeWidth':_0x320b79,'stroke':It,'evented':!0x0});this[_0xbb568b(0x3d5)]=_0x52e358,this[_0xbb568b(0x195)][_0xbb568b(0x1b6)](_0x52e358,b[_0xbb568b(0x1cd)]);const _0x25a01e=new p['Rect'](oe+a[_0xbb568b(0x3cd)]['generateRandomId'](k),{'left':_0x21aa88+_0x49e3bf-_0x320b79,'top':_0x160c5d+_0x33cd29-ae/0x2,'height':ae,'width':ae,'fill':_0x2cd20f||p['getColor'](a[_0xbb568b(0x1ff)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2cd20f||p[_0xbb568b(0x394)](a['COLORS'][_0xbb568b(0x346)],0x0),'evented':!0x1});this[_0xbb568b(0x36e)]=_0x25a01e,this[_0xbb568b(0x195)][_0xbb568b(0x1b6)](_0x25a01e,b[_0xbb568b(0x1cd)]);const _0x1a436e=new te(oe+a['Tools'][_0xbb568b(0x1c6)](k),{'left':_0x21aa88+_0x49e3bf-_0x320b79,'top':_0x160c5d+_0x33cd29-K,'text':_0x84419e,'color':_0x2cd20f});this[_0xbb568b(0x23b)]=_0x1a436e,this['_scene'][_0xbb568b(0x1b6)](_0x1a436e,b[_0xbb568b(0x1cd)]),this[_0xbb568b(0x162)]=!0x1;}[_0x1ac637(0x3dd)](){const _0x43a749=_0x1ac637,_0x282165=this[_0x43a749(0x3d5)][_0x43a749(0x2a1)][_0x43a749(0x18e)](()=>{const _0x3c02e4=_0x43a749;this[_0x3c02e4(0x162)]=!0x0;}),_0x26117b=this[_0x43a749(0x3d5)][_0x43a749(0x318)][_0x43a749(0x18e)](()=>{const _0x174362=_0x43a749;this[_0x174362(0x172)]&&clearTimeout(this['_hideTimer']),this[_0x174362(0x172)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5ae8b2=_0x43a749;_0x282165[_0x5ae8b2(0x2cb)](),_0x26117b[_0x5ae8b2(0x2cb)]();};}['_drawTextRange'](_0x4601e2,_0x226010,_0x321fb8,_0x12a6f5){const _0x1c9640=_0x1ac637,_0x582633=new a[(_0x1c9640(0x28b))](_0x4601e2)[_0x1c9640(0x2c1)](0.2)[_0x1c9640(0x30a)](),_0x390f1f=new p['RegularPolygon'](ut+a[_0x1c9640(0x3cd)][_0x1c9640(0x1c6)](k),{'pointsGroup':_0x226010,'fill':_0x582633||p[_0x1c9640(0x394)](a[_0x1c9640(0x1ff)][_0x1c9640(0x346)],0.2),'left':_0x321fb8,'top':_0x12a6f5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c9640(0x373)][_0x1c9640(0x24b)](_0x390f1f),this[_0x1c9640(0x195)]['addObject'](_0x390f1f,b[_0x1c9640(0x1cd)]);}['_drawRectRange'](_0x57d803,_0x229619,_0xcba150,_0x4953c0){const _0x7428a5=_0x1ac637,_0x62b664=new a['ColorKit'](_0x57d803)[_0x7428a5(0x2c1)](0.2)[_0x7428a5(0x30a)](),_0x5e06b7=new p[(_0x7428a5(0x225))](dt+a['Tools']['generateRandomId'](k),{'pointsGroup':_0x229619,'fill':_0x62b664||p[_0x7428a5(0x394)](a['COLORS']['black'],0.2),'left':_0xcba150,'top':_0x4953c0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x7428a5(0x373)][_0x7428a5(0x24b)](_0x5e06b7),this[_0x7428a5(0x195)]['addObject'](_0x5e06b7,b[_0x7428a5(0x1cd)]);}[_0x1ac637(0x3ad)](_0x518558){const _0x51051f=_0x518558[0x0],_0x2f4e48=_0x51051f[0x0],_0x312c88=_0x51051f[0x2],{x:_0x368f4b,y:_0x50420f}=_0x2f4e48,{x:_0x3e472f,y:_0x21e3d1}=_0x312c88;return{'left':_0x368f4b,'top':_0x50420f,'width':_0x3e472f-_0x368f4b,'height':_0x21e3d1-_0x50420f};}[_0x1ac637(0x356)](){const _0xf7a236=_0x1ac637,{scaleX:_0x33b4c2,scaleY:_0x533cdb}=this[_0xf7a236(0x195)][_0xf7a236(0x2c3)]();return Math[_0xf7a236(0x299)](_0x33b4c2,_0x533cdb);}}var vt=Object[_0x1ac637(0x211)],gt=(_0x5b14c2,_0x35221,_0xb8731b,_0x42ac54)=>{const _0x339858=_0x1ac637;for(var _0x28dc57=_0x42ac54>0x1?void 0x0:_0x42ac54?vt(_0x35221,_0xb8731b):_0x35221,_0xc25cea=_0x5b14c2[_0x339858(0x245)]-0x1,_0x43f9d1;_0xc25cea>=0x0;_0xc25cea--)(_0x43f9d1=_0x5b14c2[_0xc25cea])&&(_0x28dc57=_0x43f9d1(_0x28dc57)||_0x28dc57);return _0x28dc57;},V=(_0x5e1126,_0x4cfc5f)=>(_0x55c09b,_0x58d880)=>_0x4cfc5f(_0x55c09b,_0x58d880,_0x5e1126);let ve=class extends a['RxDisposable']{constructor(_0x206fc9,_0x2be81a,_0x3380ef,_0x320273,_0x4ad591){const _0x3aff51=_0x1ac637;super(),_(this,_0x3aff51(0x283),[]),_(this,_0x3aff51(0x300),[]),(this['_context']=_0x206fc9,this[_0x3aff51(0x242)]=_0x2be81a,this[_0x3aff51(0x387)]=_0x3380ef,this[_0x3aff51(0x370)]=_0x320273,this[_0x3aff51(0x1fc)]=_0x4ad591,this[_0x3aff51(0x169)]());}[_0x1ac637(0x169)](){const _0x39060e=_0x1ac637,_0x334590=this[_0x39060e(0x21a)][_0x39060e(0x158)],_0x376e17=this[_0x39060e(0x242)];this[_0x39060e(0x252)](d['combineLatest']([this[_0x39060e(0x387)][_0x39060e(0x23a)](_0x334590),this[_0x39060e(0x1fc)][_0x39060e(0x288)]])[_0x39060e(0x36f)]($[_0x39060e(0x260)](([_0x24abac,_0x459fbc])=>({'skeleton':_0x376e17[_0x39060e(0x1ef)](),'cursors':[..._0x24abac[_0x39060e(0x384)]()][_0x39060e(0x2b5)](_0x3cabe0=>({..._0x3cabe0,'color':_0x459fbc[_0x3cabe0[_0x39060e(0x27e)]]}))})))[_0x39060e(0x285)](_0x4da8ae=>{const _0x209f48=_0x39060e;if(this[_0x209f48(0x186)](),_0x4da8ae){const {skeleton:_0x55233c,cursors:_0xcb96f7}=_0x4da8ae;this['_updateCollabCursors'](_0x55233c,_0xcb96f7);}})),this[_0x39060e(0x2f2)](),this[_0x39060e(0x23c)]();}[_0x1ac637(0x380)](_0x598a65,_0x4a1c9d){const _0x206365=_0x1ac637,{scene:_0x49ceaa,mainComponent:_0x22ca0c}=this[_0x206365(0x21a)],_0x30d882=_0x4a1c9d[_0x206365(0x260)](_0x12b3c4=>new Ue(_0x12b3c4,_0x49ceaa,_0x598a65,_0x22ca0c));this['_cursorShapes']=_0x30d882,this[_0x206365(0x300)]=_0x4a1c9d;}[_0x1ac637(0x293)](){const _0x5bd4b2=_0x1ac637;this[_0x5bd4b2(0x186)]();const {scene:_0x326b00,mainComponent:_0x1e8cce}=this[_0x5bd4b2(0x21a)],_0x18cc16=this[_0x5bd4b2(0x242)][_0x5bd4b2(0x1ef)](),_0x569ac4=this[_0x5bd4b2(0x300)][_0x5bd4b2(0x260)](_0x5f2b53=>new Ue(_0x5f2b53,_0x326b00,_0x18cc16,_0x1e8cce));this[_0x5bd4b2(0x283)]=_0x569ac4;}[_0x1ac637(0x186)](){const _0x5c1497=_0x1ac637;this['_cursorShapes'][_0x5c1497(0x2f8)](_0x403bda=>_0x403bda[_0x5c1497(0x1af)]()),this[_0x5c1497(0x283)]=[];}[_0x1ac637(0x23c)](){const _0x438cf1=_0x1ac637,_0x89a9fe=[b['SetDocZoomRatioOperation']['id']];this[_0x438cf1(0x252)](this[_0x438cf1(0x370)][_0x438cf1(0x1f1)](_0x41bc4b=>{const _0x233302=_0x438cf1;_0x89a9fe[_0x233302(0x2b4)](_0x41bc4b['id'])&&_0x41bc4b[_0x233302(0x37d)]['unitId']===this[_0x233302(0x21a)][_0x233302(0x158)]&&this[_0x233302(0x293)]();}));}[_0x1ac637(0x2f2)](){const _0x20fd53=_0x1ac637;this[_0x20fd53(0x252)](a[_0x20fd53(0x32a)](this[_0x20fd53(0x21a)]['engine']['onTransformChange$'])['pipe']($[_0x20fd53(0x371)](_0x10092d=>_0x10092d[_0x20fd53(0x3cc)]===p[_0x20fd53(0x397)][_0x20fd53(0x38d)]),$[_0x20fd53(0x366)](0x10))[_0x20fd53(0x285)](()=>{this['_refreshCollabCursors']();}));}};ve=gt([V(0x1,a[_0x1ac637(0x18c)](Y[_0x1ac637(0x279)])),V(0x2,a[_0x1ac637(0x18c)](x)),V(0x3,a[_0x1ac637(0x357)]),V(0x4,a[_0x1ac637(0x18c)](a[_0x1ac637(0x1c0)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p[_0x1ac637(0x386)]{constructor(_0x2d2944,_0x102443){const _0x474f4f=_0x1ac637;super(_0x2d2944,_0x102443),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x474f4f(0x189)),_(this,_0x474f4f(0x1cc),''),_(this,_0x474f4f(0x32e),_0x474f4f(0x234)),_(this,_0x474f4f(0x217)),(_0x102443&&this[_0x474f4f(0x236)](_0x102443),this[_0x474f4f(0x2a1)][_0x474f4f(0x18e)](()=>this[_0x474f4f(0x236)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x474f4f(0x236)]({'hovered':!0x1})));}['setShapeProps'](_0xf29632){const _0xd76ef1=_0x1ac637;var _0x1dab4c,_0x12c99d,_0x354c57,_0xf6f5f0,_0x14dfec,_0x282e86;this[_0xd76ef1(0x2cd)]=(_0x1dab4c=_0xf29632[_0xd76ef1(0x27e)])!=null?_0x1dab4c:this['_color'],this[_0xd76ef1(0x2ee)]=(_0x12c99d=_0xf29632[_0xd76ef1(0x28a)])!=null?_0x12c99d:this[_0xd76ef1(0x2ee)],this['_range']=(_0x354c57=_0xf29632[_0xd76ef1(0x2a6)])!=null?_0x354c57:this[_0xd76ef1(0x189)],this[_0xd76ef1(0x1cc)]=(_0xf6f5f0=_0xf29632[_0xd76ef1(0x399)])!=null?_0xf6f5f0:this[_0xd76ef1(0x1cc)],this[_0xd76ef1(0x32e)]=(_0x14dfec=_0xf29632[_0xd76ef1(0x1bd)])!=null?_0x14dfec:this[_0xd76ef1(0x32e)],this['_backgroundColor']=(_0x282e86=_0xf29632[_0xd76ef1(0x1ae)])!=null?_0x282e86:this[_0xd76ef1(0x217)],this[_0xd76ef1(0x297)]({'width':_0xf29632['width'],'height':_0xf29632['height']});}[_0x1ac637(0x275)](_0x325e09){const _0x288464=_0x1ac637,{row:_0x2dd883,column:_0x43742b}=_0x325e09;if(_0x2dd883>=this[_0x288464(0x189)][_0x288464(0x1c1)]&&_0x2dd883<=this[_0x288464(0x189)][_0x288464(0x1b3)]&&_0x43742b>=this[_0x288464(0x189)]['startColumn']&&_0x43742b<=this['_range'][_0x288464(0x32f)]){this[_0x288464(0x236)]({'hovered':!0x0});return;}this[_0x288464(0x236)]({'hovered':!0x1});}[_0x1ac637(0x3a8)](_0xd8d1f3){return!0x1;}[_0x1ac637(0x1d3)](_0x4d30c8){const _0x337475=_0x1ac637;p[_0x337475(0x33f)][_0x337475(0x392)](_0x4d30c8,{'width':this[_0x337475(0x232)],'height':this[_0x337475(0x302)],'strokeWidth':Ct,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x337475(0x2ee)]&&(_0x4d30c8[_0x337475(0x2ad)](),_0x4d30c8[_0x337475(0x1df)](0x1,0x0,0x0,0x1,this[_0x337475(0x232)],this[_0x337475(0x32e)]==='bottom'?0x0:-0x14),te[_0x337475(0x392)](_0x4d30c8,{'text':this[_0x337475(0x1cc)],'color':this[_0x337475(0x2cd)]}),_0x4d30c8[_0x337475(0x314)]());}}var pt=Object['getOwnPropertyDescriptor'],bt=(_0x31fc55,_0x3d9dfd,_0x397c4c,_0x2e7da0)=>{const _0xfd170e=_0x1ac637;for(var _0x3c01c4=_0x2e7da0>0x1?void 0x0:_0x2e7da0?pt(_0x3d9dfd,_0x397c4c):_0x3d9dfd,_0x1c180a=_0x31fc55[_0xfd170e(0x245)]-0x1,_0xc82a32;_0x1c180a>=0x0;_0x1c180a--)(_0xc82a32=_0x31fc55[_0x1c180a])&&(_0x3c01c4=_0xc82a32(_0x3c01c4)||_0x3c01c4);return _0x3c01c4;},ce=(_0x321ea6,_0xc2202e)=>(_0xfd9b0,_0x586e0b)=>_0xc2202e(_0xfd9b0,_0x586e0b,_0x321ea6);const Et=0x1389;let ge=class extends a['RxDisposable']{constructor(_0x14c6ad,_0x55eb6b,_0x2087ca,_0x469e2a){const _0x19173a=_0x1ac637;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x14c6ad,this[_0x19173a(0x2a5)]=_0x55eb6b,this[_0x19173a(0x387)]=_0x2087ca,this[_0x19173a(0x1fc)]=_0x469e2a,this[_0x19173a(0x169)]());}['_init'](){const _0x1246d1=_0x1ac637;this['_sheetSkeletonManagerService'][_0x1246d1(0x31b)][_0x1246d1(0x36f)]($['takeUntil'](this['dispose$']),$[_0x1246d1(0x1be)](_0x129326=>{const _0x3ef8ef=_0x1246d1;if(_0x129326){const _0x303ec5=_0x129326['sheetId'];return d[_0x3ef8ef(0x35f)](this[_0x3ef8ef(0x387)][_0x3ef8ef(0x23a)](this[_0x3ef8ef(0x21a)][_0x3ef8ef(0x158)]),this[_0x3ef8ef(0x1fc)]['currentTheme$'])[_0x3ef8ef(0x36f)]($[_0x3ef8ef(0x260)](([_0xcc2a9c,_0x5b6655])=>{const _0x17062f=_0x3ef8ef,_0x527bda=new Map();return _0xcc2a9c[_0x17062f(0x2f8)]((_0x1fc8db,_0x4e4632)=>{const _0x5d27ca=_0x17062f;if(_0x1fc8db[_0x5d27ca(0x364)]===_0x303ec5){const _0x3cd0aa={..._0x1fc8db};_0x3cd0aa[_0x5d27ca(0x27e)]=_0x5b6655[_0x1fc8db[_0x5d27ca(0x27e)]],_0x527bda[_0x5d27ca(0x1a2)](_0x4e4632,_0x3cd0aa);}}),{'skeleton':_0x129326,'cursors':_0x527bda};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4e64c0,cursors:_0x160c64})=>{const _0x14a356=_0x1246d1;this['_removeCollabCursors'](),_0x4e64c0&&this[_0x14a356(0x380)](_0x4e64c0,_0x160c64);}),this[_0x1246d1(0x2a5)][_0x1246d1(0x31b)][_0x1246d1(0x285)](_0x99d6a6=>{const _0x3e2a45=_0x1246d1;if(_0x99d6a6==null)return;const {skeleton:_0x33c6ff}=_0x99d6a6,{scene:_0x31c5ae}=this['_context'];_0x31c5ae[_0x3e2a45(0x2b9)][_0x3e2a45(0x18e)](a[_0x3e2a45(0x184)](_0x407008=>{const _0xb62feb=_0x3e2a45;var _0x4afd7e,_0x44c3ee;const {offsetX:_0x253c01,offsetY:_0x2e8049}=_0x407008,{x:_0x154788,y:_0x202fd8}=_0x31c5ae[_0xb62feb(0x2fa)](p[_0xb62feb(0x165)]['FromArray']([_0x253c01,_0x2e8049])),{scaleX:_0x56b29c,scaleY:_0x2ca83a}=_0x31c5ae['getAncestorScale'](),_0x2c67ef=_0x31c5ae['getViewport'](p[_0xb62feb(0x196)]['VIEW_MAIN']),_0x4cbabf=_0x31c5ae[_0xb62feb(0x22c)](p[_0xb62feb(0x165)]['FromArray']([_0x154788,_0x202fd8]),_0x2c67ef),_0x1a8c30=_0x33c6ff[_0xb62feb(0x21e)](_0x253c01,_0x2e8049,_0x56b29c,_0x2ca83a,_0x4cbabf);((_0x4afd7e=this[_0xb62feb(0x1b8)])==null?void 0x0:_0x4afd7e[_0xb62feb(0x233)])===_0x1a8c30['column']&&((_0x44c3ee=this[_0xb62feb(0x1b8)])==null?void 0x0:_0x44c3ee[_0xb62feb(0x33e)])===_0x1a8c30['row']||this['_cursors'][_0xb62feb(0x2f8)](_0x120a82=>{const _0xe17ccb=_0xb62feb;_0x120a82[_0xe17ccb(0x275)](_0x1a8c30);});},0x64));});}[_0x1ac637(0x380)](_0x42b4d4,_0x59fe71){const _0x1c0fc7=_0x1ac637;var _0x5291d9;const _0x32c7dc=(_0x5291d9=this['_sheetSkeletonManagerService'][_0x1c0fc7(0x3d6)]())==null?void 0x0:_0x5291d9[_0x1c0fc7(0x2a0)];if(!_0x32c7dc)return;const _0x2bf3ed=this[_0x1c0fc7(0x244)]();if(!_0x2bf3ed)return;this[_0x1c0fc7(0x300)][_0x1c0fc7(0x2f8)](_0x5e0f30=>{const _0x82007=_0x1c0fc7;_0x5e0f30[_0x82007(0x375)]();});const {scene:_0x4017f5}=_0x2bf3ed,_0x506521=Tt(Array[_0x1c0fc7(0x1c3)](_0x59fe71[_0x1c0fc7(0x384)]()))['map'](_0x3d9ae8=>{const _0x17d558=_0x1c0fc7,{color:_0x170c29,range:_0x7b3509,name:_0x308785,selection:_0x2504b3,sheetID:_0x5e597a}=_0x3d9ae8,{startColumn:_0x5b59c5,startRow:_0x42e825,endColumn:_0x44fba7,endRow:_0x263a40}=_0x7b3509,_0x1379f9=G[_0x17d558(0x319)](_0x42e825,_0x5b59c5,_0x4017f5,_0x32c7dc),_0x50df14=G[_0x17d558(0x319)](_0x263a40,_0x44fba7,_0x4017f5,_0x32c7dc),{columnHeaderHeightAndMarginTop:_0x4d52f0}=_0x32c7dc,{startX:_0x2efe17,startY:_0x514ba2}=_0x1379f9,{endX:_0x217187,endY:_0x297346}=_0x50df14,_0x261171=_0x217187-_0x2efe17,_0x44ccca=_0x297346-_0x514ba2,_0x24750e={'labelPosition':_0x514ba2-_0x4d52f0>=K?_0x17d558(0x234):_0x17d558(0x3b2),'sheetID':_0x5e597a,'range':_0x7b3509,'color':_0x170c29,'name':_0x308785,'selection':_0x2504b3,'left':_0x2efe17,'top':_0x514ba2,'width':_0x261171,'height':_0x44ccca,'evented':!0x1,'zIndex':Et};return new Ae(_0x308785,_0x24750e);});_0x4017f5['addObjects'](_0x506521,mt),this[_0x1c0fc7(0x300)]=new Set(_0x506521);}[_0x1ac637(0x186)](){const _0x1c5d61=_0x1ac637;var _0x429436;(_0x429436=this['_cursors'])==null||_0x429436['forEach'](_0x3785e5=>_0x3785e5[_0x1c5d61(0x1af)]());}[_0x1ac637(0x244)](){const _0x5748b9=_0x1ac637;return G['getSheetObject'](this['_context']['unit'],this[_0x5748b9(0x21a)]);}};ge=bt([ce(0x1,a[_0x1ac637(0x18c)](G[_0x1ac637(0x3ab)])),ce(0x2,a[_0x1ac637(0x18c)](x)),ce(0x3,a['Inject'](a[_0x1ac637(0x1c0)]))],ge);function Tt(_0x2cd8ee){const _0x433f73=_0x1ac637,_0x5f3df8=new Map();return _0x2cd8ee[_0x433f73(0x2f8)](_0x10a794=>{const _0x329ca3=_0x433f73;if(_0x5f3df8[_0x329ca3(0x2d4)](_0x10a794[_0x329ca3(0x1a9)])){const _0x1c722a=_0x5f3df8[_0x329ca3(0x1e1)](_0x10a794['selection']);_0x1c722a[_0x329ca3(0x399)]+=',\x20'+_0x10a794[_0x329ca3(0x399)];}else _0x5f3df8[_0x329ca3(0x1a2)](_0x10a794['selection'],_0x10a794);}),Array[_0x433f73(0x1c3)](_0x5f3df8[_0x433f73(0x384)]());}var E=function(){const _0x4044a2=_0x1ac637;return E=Object[_0x4044a2(0x295)]||function(_0x52792b){const _0x58df0f=_0x4044a2;for(var _0x2380b4,_0x24884f=0x1,_0x8b5255=arguments['length'];_0x24884f<_0x8b5255;_0x24884f++){_0x2380b4=arguments[_0x24884f];for(var _0x3becaa in _0x2380b4)Object[_0x58df0f(0x382)][_0x58df0f(0x3de)][_0x58df0f(0x3c5)](_0x2380b4,_0x3becaa)&&(_0x52792b[_0x3becaa]=_0x2380b4[_0x3becaa]);}return _0x52792b;},E[_0x4044a2(0x388)](this,arguments);},Rt=function(_0x3bfc63,_0xad5cdf){const _0x3bda0d=_0x1ac637;var _0x328d5f={};for(var _0x4c5ea0 in _0x3bfc63)Object[_0x3bda0d(0x382)][_0x3bda0d(0x3de)][_0x3bda0d(0x3c5)](_0x3bfc63,_0x4c5ea0)&&_0xad5cdf[_0x3bda0d(0x1dc)](_0x4c5ea0)<0x0&&(_0x328d5f[_0x4c5ea0]=_0x3bfc63[_0x4c5ea0]);if(_0x3bfc63!=null&&typeof Object[_0x3bda0d(0x251)]==_0x3bda0d(0x37a)){for(var _0xb979b2=0x0,_0x4c5ea0=Object['getOwnPropertySymbols'](_0x3bfc63);_0xb979b2<_0x4c5ea0['length'];_0xb979b2++)_0xad5cdf[_0x3bda0d(0x1dc)](_0x4c5ea0[_0xb979b2])<0x0&&Object[_0x3bda0d(0x382)][_0x3bda0d(0x24d)]['call'](_0x3bfc63,_0x4c5ea0[_0xb979b2])&&(_0x328d5f[_0x4c5ea0[_0xb979b2]]=_0x3bfc63[_0x4c5ea0[_0xb979b2]]);}return _0x328d5f;},be=M[_0x1ac637(0x1d4)](function(_0x4d1c2a,_0x49a804){const _0x5a153d=_0x1ac637;var _0x23b3c8=_0x4d1c2a[_0x5a153d(0x325)],_0x4bcf96=_0x4d1c2a['id'],_0x3536f6=_0x4d1c2a['className'],_0x3d2dce=_0x4d1c2a[_0x5a153d(0x33c)],_0x3848ed=Rt(_0x4d1c2a,[_0x5a153d(0x325),'id',_0x5a153d(0x32d),_0x5a153d(0x33c)]),_0xcd011d=_0x5a153d(0x28c)['concat'](_0x4bcf96,'\x20')[_0x5a153d(0x355)](_0x3536f6||'')['trim'](),_0x35f970=M['useRef']('_'['concat'](Ut()));return ye(_0x23b3c8,''['concat'](_0x4bcf96),{'defIds':_0x23b3c8[_0x5a153d(0x28e)],'idSuffix':_0x35f970['current']},E({'ref':_0x49a804,'className':_0xcd011d},_0x3848ed),_0x3d2dce);});function ye(_0x5903e5,_0x106f16,_0x493df9,_0x10b65b,_0xbc8f67){const _0x3f4bf7=_0x1ac637;return M[_0x3f4bf7(0x1d6)](_0x5903e5['tag'],E(E({'key':_0x106f16},Ot(_0x5903e5,_0x493df9,_0xbc8f67)),_0x10b65b),(Dt(_0x5903e5,_0x493df9)['children']||[])[_0x3f4bf7(0x260)](function(_0x1f6951,_0x22c196){const _0x524937=_0x3f4bf7;return ye(_0x1f6951,''[_0x524937(0x355)](_0x106f16,'-')[_0x524937(0x355)](_0x5903e5[_0x524937(0x377)],'-')[_0x524937(0x355)](_0x22c196),_0x493df9,void 0x0,_0xbc8f67);}));}function Ot(_0x51b101,_0x46c107,_0x24d85d){const _0x3991f1=_0x1ac637;var _0x3cf205=E({},_0x51b101[_0x3991f1(0x265)]);_0x24d85d!=null&&_0x24d85d['colorChannel1']&&_0x3cf205[_0x3991f1(0x1fd)]===_0x3991f1(0x1c4)&&(_0x3cf205[_0x3991f1(0x1fd)]=_0x24d85d[_0x3991f1(0x1c4)]),_0x51b101['tag']===_0x3991f1(0x258)&&_0x3cf205['id']&&(_0x3cf205['id']=_0x3cf205['id']+_0x46c107[_0x3991f1(0x16c)]),Object['entries'](_0x3cf205)[_0x3991f1(0x2f8)](function(_0x54b977){const _0x4ab2eb=_0x3991f1;var _0x6bf1bf=_0x54b977[0x0],_0x45dafe=_0x54b977[0x1];_0x6bf1bf===_0x4ab2eb(0x258)&&typeof _0x45dafe=='string'&&(_0x3cf205[_0x6bf1bf]=_0x45dafe['replace'](/url\(#(.*)\)/,_0x4ab2eb(0x1b4)[_0x4ab2eb(0x355)](_0x46c107[_0x4ab2eb(0x16c)],')')));});var _0x3088dd=_0x46c107[_0x3991f1(0x28e)];return!_0x3088dd||_0x3088dd['length']===0x0||(_0x51b101['tag']===_0x3991f1(0x3d2)&&_0x3cf205['xlink:href']&&(_0x3cf205[_0x3991f1(0x3cf)]=_0x3cf205[_0x3991f1(0x3cf)]+_0x46c107[_0x3991f1(0x16c)]),Object[_0x3991f1(0x304)](_0x3cf205)['forEach'](function(_0x273559){const _0xc1ca44=_0x3991f1;var _0xbd0ccf=_0x273559[0x0],_0x287c84=_0x273559[0x1];typeof _0x287c84==_0xc1ca44(0x168)&&(_0x3cf205[_0xbd0ccf]=_0x287c84[_0xc1ca44(0x3be)](/url\(#(.*)\)/,_0xc1ca44(0x1b4)['concat'](_0x46c107[_0xc1ca44(0x16c)],')')));})),_0x3cf205;}function Dt(_0x2a101d,_0xb390d9){const _0x28bcd7=_0x1ac637;var _0x217da8,_0x35020f=_0xb390d9[_0x28bcd7(0x28e)];return!_0x35020f||_0x35020f['length']===0x0?_0x2a101d:_0x2a101d['tag']===_0x28bcd7(0x185)&&(!((_0x217da8=_0x2a101d[_0x28bcd7(0x352)])===null||_0x217da8===void 0x0)&&_0x217da8[_0x28bcd7(0x245)])?E(E({},_0x2a101d),{'children':_0x2a101d['children'][_0x28bcd7(0x260)](function(_0x412524){const _0x27f169=_0x28bcd7;return typeof _0x412524[_0x27f169(0x265)]['id']=='string'&&_0x35020f&&_0x35020f['indexOf'](_0x412524['attrs']['id'])>-0x1?E(E({},_0x412524),{'attrs':E(E({},_0x412524[_0x27f169(0x265)]),{'id':_0x412524[_0x27f169(0x265)]['id']+_0xb390d9[_0x27f169(0x16c)]})}):_0x412524;})}):_0x2a101d;}function Ut(){const _0x5802a2=_0x1ac637;return Math[_0x5802a2(0x15f)]()['toString'](0x24)[_0x5802a2(0x210)](0x2,0x8);}be[_0x1ac637(0x30c)]=_0x1ac637(0x2f7);var Nt={'tag':'svg','attrs':{'fill':'none','viewBox':_0x1ac637(0x19e),'width':_0x1ac637(0x228),'height':_0x1ac637(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ac637(0x3b7)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x1ac637(0x1b7),'strokeLinejoin':_0x1ac637(0x1b7),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1ac637(0x34d),'attrs':{'id':_0x1ac637(0x353)},'children':[{'tag':_0x1ac637(0x271),'attrs':{'fill':_0x1ac637(0x1d1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1ac637(0x353)]},$e=M[_0x1ac637(0x1d4)](function(_0x455be3,_0x445240){const _0x45afde=_0x1ac637;return M[_0x45afde(0x1d6)](be,Object[_0x45afde(0x295)]({},_0x455be3,{'id':_0x45afde(0x1ca),'ref':_0x445240,'icon':Nt}));});$e[_0x1ac637(0x30c)]=_0x1ac637(0x22a);var Mt={'tag':_0x1ac637(0x3b6),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x1ac637(0x2bd),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1ac637(0x1b7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1ac637(0x185),'attrs':{},'children':[{'tag':_0x1ac637(0x34d),'attrs':{'id':_0x1ac637(0x2df)},'children':[{'tag':'path','attrs':{'fill':_0x1ac637(0x1d1),'d':'M0\x200H16V16H0z','transform':_0x1ac637(0x16e)}}]}]}],'defIds':[_0x1ac637(0x2df)]},xe=M[_0x1ac637(0x1d4)](function(_0x58e05e,_0x27308e){const _0x48b9fa=_0x1ac637;return M[_0x48b9fa(0x1d6)](be,Object[_0x48b9fa(0x295)]({},_0x58e05e,{'id':_0x48b9fa(0x177),'ref':_0x27308e,'icon':Mt}));});xe['displayName']=_0x1ac637(0x2ef);const Pt=_0x1ac637(0x1bb),Lt=_0x1ac637(0x38b),wt=_0x1ac637(0x39a),At=_0x1ac637(0x308),yt='univer-offline',H={'onlineStatusIcon':Pt,'onlineStatusTitle':Lt,'onlineStatus':wt,'online':At,'offline':yt};function $t(_0xb87279){const _0x47544b=_0x1ac637;switch(_0xb87279){case u[_0x47544b(0x3b0)]['OFFLINE']:return'collabStatus.offline';case u['CollaborationStatus'][_0x47544b(0x280)]:return'collabStatus.conflict';case u[_0x47544b(0x3b0)][_0x47544b(0x2d2)]:return _0x47544b(0x20c);case u['CollaborationStatus']['NOT_COLLAB']:return _0x47544b(0x1c2);case u[_0x47544b(0x3b0)][_0x47544b(0x282)]:case u[_0x47544b(0x3b0)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case u[_0x47544b(0x3b0)][_0x47544b(0x3a9)]:case u[_0x47544b(0x3b0)][_0x47544b(0x2e2)]:return'collabStatus.synced';}}function je(_0x3db659){const _0x5c5e13=_0x1ac637,{status$:_0x3163e8}=_0x3db659,_0x1bd299=R['useObservable'](_0x3163e8,u[_0x5c5e13(0x3b0)][_0x5c5e13(0x181)]),_0x1558bb=R['useDependency'](a[_0x5c5e13(0x17b)]),_0x1d2bec=R[_0x5c5e13(0x1b2)](u[_0x5c5e13(0x365)]),_0xddc64f=_0x1bd299!==u[_0x5c5e13(0x3b0)]['OFFLINE'],_0x4a84e4=_0x1558bb['t']($t(_0x1bd299)),_0x12c19c=T[_0x5c5e13(0x253)](H[_0x5c5e13(0x2c6)],{[H[_0x5c5e13(0x332)]]:_0xddc64f,[H[_0x5c5e13(0x229)]]:!_0xddc64f}),_0x50caf6=_0xddc64f?L[_0x5c5e13(0x15c)](xe,{}):L['jsx']($e,{}),_0x5755fb=M[_0x5c5e13(0x19b)](()=>{const _0x4fd956=_0x5c5e13;_0xddc64f||_0x1d2bec[_0x4fd956(0x320)]();},[_0xddc64f,_0x1d2bec]);function _0x456587(){const _0x3d00ad=_0x5c5e13;return L[_0x3d00ad(0x1f6)](_0x3d00ad(0x248),{'className':T[_0x3d00ad(0x253)](_0x12c19c,_0x3d00ad(0x350)),'onClick':_0x5755fb,'children':[L[_0x3d00ad(0x15c)](_0x3d00ad(0x248),{'className':H['onlineStatusIcon'],'children':_0x50caf6}),L[_0x3d00ad(0x15c)]('div',{'className':H[_0x3d00ad(0x21d)],'children':_0x4a84e4})]});}return _0xddc64f?_0x456587():L[_0x5c5e13(0x15c)](T[_0x5c5e13(0x2ba)],{'title':_0x1558bb['t'](_0x5c5e13(0x2a4)),'children':_0x456587()});}var xt=Object[_0x1ac637(0x211)],jt=(_0xd37ed1,_0x10d7f6,_0x23abc4,_0x51568a)=>{const _0x2e54e0=_0x1ac637;for(var _0xd2e38=_0x51568a>0x1?void 0x0:_0x51568a?xt(_0x10d7f6,_0x23abc4):_0x10d7f6,_0x27730e=_0xd37ed1[_0x2e54e0(0x245)]-0x1,_0x28df07;_0x27730e>=0x0;_0x27730e--)(_0x28df07=_0xd37ed1[_0x27730e])&&(_0xd2e38=_0x28df07(_0xd2e38)||_0xd2e38);return _0xd2e38;},X=(_0x1fe489,_0x4b0474)=>(_0x96ce57,_0x3d9d61)=>_0x4b0474(_0x96ce57,_0x3d9d61,_0x1fe489);exports[_0x1ac637(0x3c3)]=class extends a[_0x1ac637(0x2e5)]{constructor(_0x41eee4,_0x17f9e8,_0x4ec76a,_0x269499){const _0x536fbf=_0x1ac637;super(),_(this,'_status$',new d[(_0x536fbf(0x3c8))](u[_0x536fbf(0x3b0)]['NOT_COLLAB'])),(this[_0x536fbf(0x322)]=_0x41eee4,this['_injector']=_0x17f9e8,this[_0x536fbf(0x18d)]=_0x4ec76a,this[_0x536fbf(0x170)]=_0x269499,this[_0x536fbf(0x20d)](),this[_0x536fbf(0x1b9)]());}['_initStatusListener'](){const _0x169cf5=_0x1ac637;this[_0x169cf5(0x252)](this[_0x169cf5(0x322)][_0x169cf5(0x2a8)]['pipe'](d[_0x169cf5(0x1be)](()=>{const _0x43bac3=_0x169cf5,_0x461038=this[_0x43bac3(0x322)][_0x43bac3(0x30f)]();return _0x461038?this[_0x43bac3(0x18d)][_0x43bac3(0x2f1)](_0x461038[_0x43bac3(0x3bc)]()):d['of'](null);}),d['switchMap'](_0x35fcf9=>_0x35fcf9?_0x35fcf9[_0x169cf5(0x198)]:d['of'](u[_0x169cf5(0x3b0)]['NOT_COLLAB'])))[_0x169cf5(0x285)](_0x4fa709=>{const _0x33b791=_0x169cf5;this['_status$'][_0x33b791(0x1b5)](_0x4fa709);}));}['_initStatusComponent'](){const _0x19d1d5=_0x1ac637;this[_0x19d1d5(0x252)](this[_0x19d1d5(0x170)][_0x19d1d5(0x1db)](R['BuiltInUIPart']['HEADER_MENU'],()=>R[_0x19d1d5(0x178)](Bt({'status$':this[_0x19d1d5(0x2c9)][_0x19d1d5(0x333)]()}),this[_0x19d1d5(0x3c2)])));}},exports[_0x1ac637(0x3c3)]=jt([X(0x0,a[_0x1ac637(0x3c7)]),X(0x1,a[_0x1ac637(0x18c)](a[_0x1ac637(0x30e)])),X(0x2,a['Inject'](u['CollaborationController'])),X(0x3,R[_0x1ac637(0x3db)])],exports[_0x1ac637(0x3c3)]);function Bt(_0x3cc6c5){const {status$:_0x530406}=_0x3cc6c5;return function(){const _0x40de0c=_0x3d4b;return L[_0x40de0c(0x15c)](je,{'status$':_0x530406});};}var kt=Object[_0x1ac637(0x211)],Ht=(_0x16e8a6,_0x30520f,_0x4c7ce5,_0x4b70ce)=>{for(var _0x5387f9=_0x4b70ce>0x1?void 0x0:_0x4b70ce?kt(_0x30520f,_0x4c7ce5):_0x30520f,_0x47b3b1=_0x16e8a6['length']-0x1,_0x400970;_0x47b3b1>=0x0;_0x47b3b1--)(_0x400970=_0x16e8a6[_0x47b3b1])&&(_0x5387f9=_0x400970(_0x5387f9)||_0x5387f9);return _0x5387f9;},y=(_0x5bf163,_0x36ee6b)=>(_0x474d51,_0x551b41)=>_0x36ee6b(_0x474d51,_0x551b41,_0x5bf163);let z=class extends a[_0x1ac637(0x2e5)]{constructor(_0x55295d,_0x4df506,_0x392449,_0x25bdb0,_0x147b17,_0x43a103){const _0x222b1f=_0x1ac637;super(),this['_beforeCloseService']=_0x55295d,this[_0x222b1f(0x1aa)]=_0x4df506,this[_0x222b1f(0x176)]=_0x392449,this[_0x222b1f(0x1bf)]=_0x25bdb0,this[_0x222b1f(0x1ed)]=_0x147b17,this['_localeService']=_0x43a103,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x1ac637(0x38a)](){const _0x153157=_0x1ac637;this[_0x153157(0x252)](this[_0x153157(0x1e3)][_0x153157(0x339)](()=>{const _0x903227=_0x153157;if(this[_0x903227(0x1aa)]['saveTaskMap'][_0x903227(0x39b)])return this[_0x903227(0x29e)]['t'](_0x903227(0x2e4));}));}[_0x1ac637(0x159)](){const _0x2d7d2b=_0x1ac637;this[_0x2d7d2b(0x252)](this[_0x2d7d2b(0x176)]['event$'][_0x2d7d2b(0x285)](_0x498f2d=>{const _0x537c12=_0x2d7d2b;_0x498f2d['id']===u[_0x537c12(0x337)][_0x537c12(0x395)]&&this['_messageService'][_0x537c12(0x39f)]({'type':T[_0x537c12(0x291)]['Warning'],'content':this[_0x537c12(0x29e)]['t'](_0x537c12(0x23e))}),_0x498f2d['id']===u[_0x537c12(0x337)][_0x537c12(0x27a)]&&this[_0x537c12(0x1bf)][_0x537c12(0x39f)]({'type':T[_0x537c12(0x291)][_0x537c12(0x26e)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x498f2d['id']===u[_0x537c12(0x337)][_0x537c12(0x26f)]&&this[_0x537c12(0x1ed)][_0x537c12(0x39f)]({'title':this[_0x537c12(0x29e)]['t'](_0x537c12(0x2d3)),'content':this[_0x537c12(0x29e)]['t'](_0x537c12(0x2d1)),'type':'error','duration':0x0}),_0x498f2d['id']===u[_0x537c12(0x337)]['CONFLICT']&&this['_messageService']['show']({'type':T[_0x537c12(0x291)][_0x537c12(0x2bc)],'content':this[_0x537c12(0x29e)]['t'](_0x537c12(0x3aa))+'('+_0x498f2d[_0x537c12(0x161)]+')'}),_0x498f2d['id']===u['CollaborationUIEventId'][_0x537c12(0x2f0)]&&this['_messageService'][_0x537c12(0x39f)]({'type':T[_0x537c12(0x291)]['Warning'],'content':this[_0x537c12(0x29e)]['t'](_0x498f2d['data']||'')}),_0x498f2d['id']===u['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x537c12(0x1bf)][_0x537c12(0x39f)]({'type':T[_0x537c12(0x291)][_0x537c12(0x26e)],'content':this[_0x537c12(0x29e)]['t'](_0x537c12(0x254))}),_0x498f2d['id']===u[_0x537c12(0x337)]['SOCKET_FAILED']&&this[_0x537c12(0x1bf)]['show']({'type':T[_0x537c12(0x291)]['Error'],'content':this[_0x537c12(0x29e)]['t'](_0x537c12(0x28f))}),_0x498f2d['id']===u[_0x537c12(0x337)][_0x537c12(0x1b1)]&&this[_0x537c12(0x1bf)]['show']({'type':T[_0x537c12(0x291)][_0x537c12(0x2bc)],'content':this[_0x537c12(0x29e)]['t'](_0x537c12(0x390))});}));}};z=Ht([y(0x0,R[_0x1ac637(0x316)]),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x1ac637(0x18c)](u[_0x1ac637(0x1cb)])),y(0x3,R[_0x1ac637(0x3ca)]),y(0x4,R[_0x1ac637(0x268)]),y(0x5,a['Inject'](a[_0x1ac637(0x17b)]))],z);const Wt=_0x1ac637(0x190),Ne={},Ee=a['createIdentifier'](_0x1ac637(0x208));var Ft=Object[_0x1ac637(0x211)],Yt=(_0x131d2e,_0x4b455b,_0x58aeda,_0x1286f8)=>{for(var _0x1f8e50=_0x1286f8>0x1?void 0x0:_0x1286f8?Ft(_0x4b455b,_0x58aeda):_0x4b455b,_0x33c02d=_0x131d2e['length']-0x1,_0x55c3fd;_0x33c02d>=0x0;_0x33c02d--)(_0x55c3fd=_0x131d2e[_0x33c02d])&&(_0x1f8e50=_0x55c3fd(_0x1f8e50)||_0x1f8e50);return _0x1f8e50;},W=(_0x195a3f,_0xe54d2)=>(_0x45a80b,_0x54cfab)=>_0xe54d2(_0x45a80b,_0x54cfab,_0x195a3f);exports['CollaborationDataLoaderController']=class extends a[_0x1ac637(0x281)]{constructor(_0x234c37,_0x47b68a,_0x12e330,_0x3ca192,_0x2c8bd9){const _0x1f8728=_0x1ac637;super(),this[_0x1f8728(0x3a4)]=_0x234c37,this['_logService']=_0x47b68a,this['_commandService']=_0x12e330,this[_0x1f8728(0x259)]=_0x3ca192,_0x2c8bd9?_0x2c8bd9==null||_0x2c8bd9[_0x1f8728(0x326)]()['then'](()=>this[_0x1f8728(0x169)]()):(this['_logService'][_0x1f8728(0x1f9)](_0x1f8728(0x34a),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1f8728(0x169)]());}async[_0x1ac637(0x169)](){const _0x457910=_0x1ac637,_0x1320f1=this[_0x457910(0x3a4)][_0x457910(0x1a0)](_0x457910(0x2b6)),_0x1b11e5=this[_0x457910(0x3a4)]['getParam'](_0x457910(0x3cc)),_0x4ca774=this[_0x457910(0x3a4)][_0x457910(0x1a0)](_0x457910(0x27d));if(!_0x1320f1||!_0x1b11e5){this[_0x457910(0x363)]['debug'](_0x457910(0x34a),_0x457910(0x2bf));return;}const _0x9d6bc1=await this['_dataLoaderService'][_0x457910(0x334)](_0x1320f1,Number(_0x1b11e5),_0x4ca774);_0x9d6bc1&&_0x9d6bc1 instanceof a[_0x457910(0x2d8)]&&this[_0x457910(0x175)](_0x9d6bc1);}async[_0x1ac637(0x175)](_0x5166fc){const _0x4f3940=_0x1ac637;await this[_0x4f3940(0x191)](_0x5166fc),_0x5166fc[_0x4f3940(0x270)][_0x4f3940(0x36f)](d[_0x4f3940(0x257)](this[_0x4f3940(0x17a)]))[_0x4f3940(0x285)](_0x3df623=>{_0x3df623&&this['_updateURLWithCurrentState'](_0x3df623);}),this['_urlService']['urlChange$'][_0x4f3940(0x36f)](d[_0x4f3940(0x257)](this[_0x4f3940(0x17a)]))[_0x4f3940(0x285)](()=>this[_0x4f3940(0x191)](_0x5166fc));}[_0x1ac637(0x1e2)](_0x34bc5c,_0x241dcc=!0x1){const _0x30fcca=_0x1ac637,_0x2a1035=this['_urlService'][_0x30fcca(0x1a0)](_0x30fcca(0x27d));_0x34bc5c[_0x30fcca(0x315)]()!==_0x2a1035&&this[_0x30fcca(0x3a4)][_0x30fcca(0x16f)]('subunit',_0x34bc5c[_0x30fcca(0x315)](),_0x241dcc);}async[_0x1ac637(0x191)](_0x16e6fe){const _0x179026=_0x1ac637;var _0x56a04a;const _0x38cb52=this['_urlService'][_0x179026(0x1a0)](_0x179026(0x27d));if(!_0x38cb52||!_0x16e6fe[_0x179026(0x36b)](_0x38cb52)){const _0x42100e=_0x16e6fe['getUnhiddenWorksheets']()[0x0],_0x5dc6ee=_0x16e6fe[_0x179026(0x36b)](_0x42100e);if(!_0x5dc6ee)return;this[_0x179026(0x1e2)](_0x5dc6ee,!0x0),await this[_0x179026(0x370)][_0x179026(0x391)](g[_0x179026(0x2f5)]['id'],{'unitId':_0x16e6fe[_0x179026(0x3bc)](),'subUnitId':_0x42100e});return;}((_0x56a04a=_0x16e6fe[_0x179026(0x3a6)]())==null?void 0x0:_0x56a04a[_0x179026(0x315)]())!==_0x38cb52&&await this[_0x179026(0x370)]['executeCommand'](g[_0x179026(0x2f5)]['id'],{'unitId':_0x16e6fe[_0x179026(0x3bc)](),'subUnitId':_0x38cb52});}},exports[_0x1ac637(0x37e)]=Yt([W(0x0,Ee),W(0x1,a['ILogService']),W(0x2,a[_0x1ac637(0x357)]),W(0x3,a['Inject'](u['DataLoaderService'])),W(0x4,a['Optional'](Ke[_0x1ac637(0x30b)]))],exports['CollaborationDataLoaderController']);var Vt=Object[_0x1ac637(0x211)],Xt=(_0x3e89f5,_0x55318d,_0x321e39,_0x1b8f78)=>{const _0x3c0d21=_0x1ac637;for(var _0xee3cae=_0x1b8f78>0x1?void 0x0:_0x1b8f78?Vt(_0x55318d,_0x321e39):_0x55318d,_0x34dfba=_0x3e89f5[_0x3c0d21(0x245)]-0x1,_0x42a85a;_0x34dfba>=0x0;_0x34dfba--)(_0x42a85a=_0x3e89f5[_0x34dfba])&&(_0xee3cae=_0x42a85a(_0xee3cae)||_0xee3cae);return _0xee3cae;},le=(_0x5c682e,_0x17bf98)=>(_0x325a58,_0x54cdce)=>_0x17bf98(_0x325a58,_0x54cdce,_0x5c682e);let J=class{constructor(_0xca4aa2,_0x1fbc1a,_0x3a2090){const _0x203099=_0x1ac637;this[_0x203099(0x3c2)]=_0xca4aa2,this[_0x203099(0x36d)]=_0x1fbc1a,this[_0x203099(0x3b3)]=_0x3a2090;}[_0x1ac637(0x273)](_0x52d650){const _0x27e9fd=_0x1ac637;this['_transformUndoRedoStack'](_0x52d650),this[_0x27e9fd(0x342)](_0x52d650);}[_0x1ac637(0x2da)](_0x3eb265){const _0x1ec7c1=_0x1ac637,{unitID:_0x8e9162}=_0x3eb265,_0x2bc1d0=this[_0x1ec7c1(0x3b3)][_0x1ec7c1(0x336)](_0x8e9162)[_0x1ec7c1(0x20f)](b[_0x1ec7c1(0x1e7)]),{redoCache:_0xb05c16}=_0x2bc1d0[_0x1ec7c1(0x3af)]();if(_0xb05c16[_0x1ec7c1(0x245)]===0x0)return _0x3eb265;let _0x175863=a[_0x1ec7c1(0x3cd)]['deepClone'](_0x3eb265[_0x1ec7c1(0x294)][0x0]);for(let _0x2eb8e5=0x0;_0x2eb8e5<_0xb05c16[_0x1ec7c1(0x245)];_0x2eb8e5++){const _0x2b00b4={'id':'doc.mutation.rich-text-editing','params':{..._0xb05c16[_0x2eb8e5]}},_0x57fe3c=this[_0x1ec7c1(0x36d)][_0x1ec7c1(0x1e0)](_0x175863,_0x2b00b4,!0x1);if(m[_0x1ec7c1(0x379)](_0x57fe3c))throw _0x57fe3c[_0x1ec7c1(0x376)];_0x175863=_0x57fe3c[_0x1ec7c1(0x214)];}return{...a[_0x1ec7c1(0x3cd)][_0x1ec7c1(0x3ba)](_0x3eb265),'mutations':[_0x175863]};}[_0x1ac637(0x341)](_0x47c440){const _0x1bdc18=_0x1ac637,{unitID:_0x338aa5}=_0x47c440,_0x528ab9=this['_renderManagerService'][_0x1bdc18(0x336)](_0x338aa5)[_0x1bdc18(0x20f)](b['DocIMEInputManagerService']),{undoCache:_0x32ad1b,redoCache:_0x389176}=_0x528ab9['getUndoRedoMutationParamsCache']();if(_0x32ad1b[_0x1bdc18(0x245)]===0x0||_0x389176[_0x1bdc18(0x245)]===0x0)return;const _0x334258=[],_0x9f889f=[];let _0x5e3212=a[_0x1bdc18(0x3cd)][_0x1bdc18(0x3ba)](_0x47c440['mutations'][0x0]),_0x5b8a29=a[_0x1bdc18(0x3cd)][_0x1bdc18(0x3ba)](_0x47c440[_0x1bdc18(0x294)][0x0]);for(let _0x20738c=_0x32ad1b[_0x1bdc18(0x245)]-0x1;_0x20738c>=0x0;_0x20738c--){const _0x1f2eb1={'id':_0x1bdc18(0x2b3),'params':{..._0x32ad1b[_0x20738c]}},_0x2eb56a={'id':_0x1bdc18(0x2b3),'params':{..._0x389176[_0x20738c]}},_0x3df47e=this['_transformService'][_0x1bdc18(0x1e0)](_0x5e3212,_0x1f2eb1,!0x1),_0x1b23e1=this[_0x1bdc18(0x36d)]['transformMutation'](_0x5b8a29,_0x2eb56a,!0x1);if(m[_0x1bdc18(0x379)](_0x3df47e))throw _0x3df47e[_0x1bdc18(0x376)];if(m[_0x1bdc18(0x379)](_0x1b23e1))throw _0x1b23e1[_0x1bdc18(0x376)];_0x334258[_0x1bdc18(0x345)](_0x3df47e[_0x1bdc18(0x3c4)][_0x1bdc18(0x37d)]),_0x9f889f[_0x1bdc18(0x345)](_0x1b23e1[_0x1bdc18(0x3c4)]['params']),_0x5e3212=_0x3df47e[_0x1bdc18(0x214)],_0x5b8a29=_0x1b23e1['m1Prime'];}_0x528ab9[_0x1bdc18(0x351)]({'undoCache':_0x334258,'redoCache':_0x9f889f});}['_transformPreviousActiveRange'](_0x32ea75){const _0x5854e1=_0x1ac637,{unitID:_0x40a35a}=_0x32ea75,_0x406d41=this['_renderManagerService']['getRenderById'](_0x40a35a)[_0x5854e1(0x20f)](b[_0x5854e1(0x1e7)]),_0x382d55=_0x406d41['getActiveRange']();if(_0x382d55==null)return;const _0x4d8deb=[{'id':_0x5854e1(0x2b3),'params':{'unitId':_0x32ea75['unitID'],'actions':null,'textRanges':[_0x382d55]}}],_0x79d9ec=this[_0x5854e1(0x36d)][_0x5854e1(0x18a)](_0x32ea75,_0x4d8deb);if(!m[_0x5854e1(0x29a)](_0x79d9ec))throw _0x79d9ec[_0x5854e1(0x376)];const _0x2a6afd=_0x79d9ec['m2Prime'][0x0]['params'][_0x5854e1(0x3c6)];Array[_0x5854e1(0x2b2)](_0x2a6afd)&&_0x2a6afd[_0x5854e1(0x245)]&&_0x406d41[_0x5854e1(0x1b0)](_0x2a6afd[0x0]);}};J=Xt([le(0x0,a[_0x1ac637(0x18c)](a[_0x1ac637(0x30e)])),le(0x1,m[_0x1ac637(0x358)]),le(0x2,p['IRenderManagerService'])],J);var Gt=Object[_0x1ac637(0x211)],qt=(_0x4da544,_0x3eff7c,_0x39877a,_0x158ba3)=>{for(var _0x21ec0f=_0x158ba3>0x1?void 0x0:_0x158ba3?Gt(_0x3eff7c,_0x39877a):_0x3eff7c,_0x1d5727=_0x4da544['length']-0x1,_0x1ba812;_0x1d5727>=0x0;_0x1d5727--)(_0x1ba812=_0x4da544[_0x1d5727])&&(_0x21ec0f=_0x1ba812(_0x21ec0f)||_0x21ec0f);return _0x21ec0f;},_e=(_0x4b4c7e,_0x5e8d04)=>(_0x24e1e6,_0x2a8df4)=>_0x5e8d04(_0x24e1e6,_0x2a8df4,_0x4b4c7e);let Z=class{constructor(_0xe4a015,_0x2690dc,_0xee601a){const _0x4a4d2a=_0x1ac637;this[_0x4a4d2a(0x3c2)]=_0xe4a015,this['_transformService']=_0x2690dc,this['_docStateChangeManagerService']=_0xee601a;}[_0x1ac637(0x21f)](_0x591594){this['_transformHistoryAndStateStack'](_0x591594);}['transformRemoteChangeset'](_0x16903b){const _0x1a33d8=_0x1ac637,{unitID:_0x37f8d7}=_0x16903b,{collaboration:_0x28b2b3}=this[_0x1a33d8(0x396)][_0x1a33d8(0x2c5)](_0x37f8d7);if(_0x28b2b3[_0x1a33d8(0x245)]===0x0)return _0x16903b;let _0x1302d2=a[_0x1a33d8(0x3cd)][_0x1a33d8(0x3ba)](_0x16903b[_0x1a33d8(0x294)][0x0]);for(let _0x11a3ff=0x0;_0x11a3ff<_0x28b2b3[_0x1a33d8(0x245)];_0x11a3ff++){const _0x55e54a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x28b2b3[_0x11a3ff][_0x1a33d8(0x158)],..._0x28b2b3[_0x11a3ff][_0x1a33d8(0x25d)]}},_0xc210e7=this['_transformService']['transformMutation'](_0x1302d2,_0x55e54a,!0x1);if(m['isTransformMutationFailure'](_0xc210e7))throw _0xc210e7[_0x1a33d8(0x376)];_0x1302d2=_0xc210e7[_0x1a33d8(0x214)];}return{...a[_0x1a33d8(0x3cd)]['deepClone'](_0x16903b),'mutations':[_0x1302d2]};}[_0x1ac637(0x3bd)](_0x45e460){const _0x35947f=_0x1ac637,{unitID:_0x5da11d}=_0x45e460,{history:_0x270f26,collaboration:_0x5e51fe}=this[_0x35947f(0x396)][_0x35947f(0x2c5)](_0x5da11d);if(_0x270f26[_0x35947f(0x245)]===0x0&&_0x5e51fe[_0x35947f(0x245)]===0x0)return;const _0x3a4751=[],_0x489bf7=[];let _0x2a1ec2=a[_0x35947f(0x3cd)]['deepClone'](_0x45e460[_0x35947f(0x294)][0x0]),_0x3d0415=a['Tools'][_0x35947f(0x3ba)](_0x45e460['mutations'][0x0]);for(let _0x50726a=_0x270f26[_0x35947f(0x245)]-0x1;_0x50726a>=0x0;_0x50726a--){const _0x300ef8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x270f26[_0x50726a][_0x35947f(0x158)],..._0x270f26[_0x50726a][_0x35947f(0x20e)]}},_0x1b6c51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x270f26[_0x50726a][_0x35947f(0x158)],..._0x270f26[_0x50726a][_0x35947f(0x25d)]}},_0x3c1c4d=this[_0x35947f(0x36d)][_0x35947f(0x1e0)](_0x2a1ec2,_0x300ef8,!0x1),_0x2fc4b1=this[_0x35947f(0x36d)][_0x35947f(0x1e0)](_0x3d0415,_0x1b6c51,!0x1);if(m[_0x35947f(0x379)](_0x3c1c4d))throw _0x3c1c4d[_0x35947f(0x376)];if(m[_0x35947f(0x379)](_0x2fc4b1))throw _0x2fc4b1[_0x35947f(0x376)];_0x3a4751['unshift']({..._0x270f26[_0x50726a],'undoState':_0x3c1c4d[_0x35947f(0x3c4)][_0x35947f(0x37d)],'redoState':_0x2fc4b1[_0x35947f(0x3c4)][_0x35947f(0x37d)]}),_0x2a1ec2=_0x3c1c4d[_0x35947f(0x214)],_0x3d0415=_0x2fc4b1[_0x35947f(0x214)];}_0x2a1ec2=a[_0x35947f(0x3cd)][_0x35947f(0x3ba)](_0x45e460[_0x35947f(0x294)][0x0]),_0x3d0415=a[_0x35947f(0x3cd)][_0x35947f(0x3ba)](_0x45e460[_0x35947f(0x294)][0x0]);for(let _0x3a1615=_0x5e51fe['length']-0x1;_0x3a1615>=0x0;_0x3a1615--){const _0x3cf236={'id':_0x35947f(0x2b3),'params':{'unitId':_0x5e51fe[_0x3a1615]['unitId'],..._0x5e51fe[_0x3a1615][_0x35947f(0x20e)]}},_0xfc8d86={'id':_0x35947f(0x2b3),'params':{'unitId':_0x5e51fe[_0x3a1615]['unitId'],..._0x5e51fe[_0x3a1615][_0x35947f(0x25d)]}},_0x3d6633=this['_transformService'][_0x35947f(0x1e0)](_0x2a1ec2,_0x3cf236,!0x1),_0x231b9a=this[_0x35947f(0x36d)][_0x35947f(0x1e0)](_0x3d0415,_0xfc8d86,!0x1);if(m[_0x35947f(0x379)](_0x3d6633))throw _0x3d6633[_0x35947f(0x376)];if(m[_0x35947f(0x379)](_0x231b9a))throw _0x231b9a[_0x35947f(0x376)];_0x489bf7['unshift']({..._0x5e51fe[_0x3a1615],'undoState':_0x3d6633[_0x35947f(0x3c4)][_0x35947f(0x37d)],'redoState':_0x231b9a[_0x35947f(0x3c4)]['params']}),_0x2a1ec2=_0x3d6633[_0x35947f(0x214)],_0x3d0415=_0x231b9a[_0x35947f(0x214)];}this[_0x35947f(0x396)]['setStateCache'](_0x5da11d,{'history':_0x3a4751,'collaboration':_0x489bf7});}};Z=qt([_e(0x0,a[_0x1ac637(0x18c)](a[_0x1ac637(0x30e)])),_e(0x1,m['ITransformService']),_e(0x2,a[_0x1ac637(0x18c)](b[_0x1ac637(0x1ec)]))],Z);var Kt=Object[_0x1ac637(0x211)],zt=(_0x8ab7e4,_0x3d6080,_0x2395ea,_0x155a89)=>{const _0x568251=_0x1ac637;for(var _0x167685=_0x155a89>0x1?void 0x0:_0x155a89?Kt(_0x3d6080,_0x2395ea):_0x3d6080,_0x24d65d=_0x8ab7e4[_0x568251(0x245)]-0x1,_0x4afbc3;_0x24d65d>=0x0;_0x24d65d--)(_0x4afbc3=_0x8ab7e4[_0x24d65d])&&(_0x167685=_0x4afbc3(_0x167685)||_0x167685);return _0x167685;},Me=(_0x410c39,_0x1d5718)=>(_0x449702,_0xeae90e)=>_0x1d5718(_0x449702,_0xeae90e,_0x410c39);let Q=class{constructor(_0x262464,_0x3a4920){const _0x54d40a=_0x1ac637;this[_0x54d40a(0x3c2)]=_0x262464,this[_0x54d40a(0x36d)]=_0x3a4920;}[_0x1ac637(0x3bb)](_0x40c92a){const _0x2affde=_0x1ac637;var _0x16f79e;const _0x37872f=this['_injector'][_0x2affde(0x1e1)](Y[_0x2affde(0x368)]),_0x3b2786=(_0x16f79e=_0x37872f[_0x2affde(0x188)]())!=null?_0x16f79e:[];if(_0x3b2786[_0x2affde(0x245)]===0x0)return;const _0x2462f2=_0x40c92a[_0x2affde(0x2bb)],_0x17eef3=[{'id':_0x2affde(0x2b3),'params':{'unitId':_0x2462f2,'actions':null,'textRanges':_0x3b2786}}],_0x12576b=this[_0x2affde(0x36d)][_0x2affde(0x18a)](_0x40c92a,_0x17eef3);if(!m['isTransformMutationsWithChangesetSuccess'](_0x12576b))throw _0x12576b[_0x2affde(0x376)];const _0x377a75=_0x12576b['m2Prime'][0x0][_0x2affde(0x37d)][_0x2affde(0x3c6)];Array['isArray'](_0x377a75)&&_0x377a75[_0x2affde(0x245)]&&_0x37872f['replaceDocRanges'](_0x377a75,{'unitId':_0x2462f2,'subUnitId':_0x2462f2},!0x1);}};Q=zt([Me(0x0,a[_0x1ac637(0x18c)](a[_0x1ac637(0x30e)])),Me(0x1,m[_0x1ac637(0x358)])],Q);var Jt=Object[_0x1ac637(0x211)],Zt=(_0x5e6f07,_0x452d26,_0x40d4cb,_0xb80100)=>{const _0x121e9d=_0x1ac637;for(var _0x3963bb=_0xb80100>0x1?void 0x0:_0xb80100?Jt(_0x452d26,_0x40d4cb):_0x452d26,_0x1ec035=_0x5e6f07[_0x121e9d(0x245)]-0x1,_0x21d5ef;_0x1ec035>=0x0;_0x1ec035--)(_0x21d5ef=_0x5e6f07[_0x1ec035])&&(_0x3963bb=_0x21d5ef(_0x3963bb)||_0x3963bb);return _0x3963bb;},N=(_0x425ef7,_0x103fd9)=>(_0x56d2d7,_0x4cfc71)=>_0x103fd9(_0x56d2d7,_0x4cfc71,_0x425ef7);let ee=class extends a[_0x1ac637(0x2e5)]{constructor(_0x38aabe,_0x462911,_0xbbf053,_0x2b3aa0,_0x50b451,_0x57f5a7,_0x4bf9d7,_0x53a48b){const _0x5a6e27=_0x1ac637;super(),_(this,_0x5a6e27(0x2c9),new d[(_0x5a6e27(0x3c8))](u[_0x5a6e27(0x3b0)][_0x5a6e27(0x181)])),(this[_0x5a6e27(0x396)]=_0x38aabe,this['_collaborationController']=_0x462911,this[_0x5a6e27(0x383)]=_0xbbf053,this[_0x5a6e27(0x286)]=_0x2b3aa0,this[_0x5a6e27(0x3d3)]=_0x50b451,this[_0x5a6e27(0x274)]=_0x57f5a7,this[_0x5a6e27(0x1bf)]=_0x4bf9d7,this['_localeService']=_0x53a48b,this[_0x5a6e27(0x287)]());}[_0x1ac637(0x287)](){const _0x52bc32=_0x1ac637;this[_0x52bc32(0x252)](this[_0x52bc32(0x18d)]['entityInit$'][_0x52bc32(0x285)](_0x29b5d7=>{const _0x43c873=_0x52bc32,_0x2dccfc=this[_0x43c873(0x396)]['docStateChange$'][_0x43c873(0x285)](_0x50bbf1=>{const _0x3f5f3c=_0x43c873;if(_0x50bbf1==null)return;const {unitId:_0x469074,redoState:_0x2dd207,commandId:_0x3110ea}=_0x50bbf1;if(_0x469074!==_0x29b5d7[_0x3f5f3c(0x2bb)])return;const _0x200baa={'id':_0x3110ea,'type':a[_0x3f5f3c(0x292)][_0x3f5f3c(0x2fb)],'params':{'unitId':_0x469074,'actions':_0x2dd207[_0x3f5f3c(0x1e5)],'textRanges':null}};_0x29b5d7[_0x3f5f3c(0x222)](_0x200baa);});if(_0x29b5d7[_0x43c873(0x252)](_0x2dccfc),_0x29b5d7 instanceof u[_0x43c873(0x378)]){const _0x41291e={'onTransformIME':_0x1c1400=>this['_docTransformIMECacheService']['transformIMECache'](_0x1c1400),'onTransformState':_0x31ca13=>this[_0x43c873(0x286)][_0x43c873(0x21f)](_0x31ca13),'onTransformSelections':_0x32f647=>this[_0x43c873(0x3d3)][_0x43c873(0x3bb)](_0x32f647),'onSyncEditingCollabCursor':_0xcb617a=>this[_0x43c873(0x274)]['syncEditingCollabCursor'](_0xcb617a),'onTransformRemoteChangesetByIMECache':_0x3c8a29=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3c8a29),'onTransformRemoteChangesetByStateCache':_0x484cb0=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x484cb0)};_0x29b5d7[_0x43c873(0x1a6)](_0x41291e);}}));}};ee=Zt([N(0x0,a[_0x1ac637(0x18c)](b[_0x1ac637(0x1ec)])),N(0x1,a['Inject'](u[_0x1ac637(0x307)])),N(0x2,a[_0x1ac637(0x18c)](J)),N(0x3,a['Inject'](Z)),N(0x4,a[_0x1ac637(0x18c)](Q)),N(0x5,a[_0x1ac637(0x18c)](pe)),N(0x6,R['IMessageService']),N(0x7,a[_0x1ac637(0x18c)](a[_0x1ac637(0x17b)]))],ee);var Qt=Object[_0x1ac637(0x211)],es=(_0x5c4844,_0x48e216,_0x41127c,_0x505741)=>{const _0x361cef=_0x1ac637;for(var _0x1d008e=_0x505741>0x1?void 0x0:_0x505741?Qt(_0x48e216,_0x41127c):_0x48e216,_0x92cdc6=_0x5c4844[_0x361cef(0x245)]-0x1,_0x361b9b;_0x92cdc6>=0x0;_0x92cdc6--)(_0x361b9b=_0x5c4844[_0x92cdc6])&&(_0x1d008e=_0x361b9b(_0x1d008e)||_0x1d008e);return _0x1d008e;},he=(_0x166a96,_0x1fc822)=>(_0x107ab2,_0x4f5925)=>_0x1fc822(_0x107ab2,_0x4f5925,_0x166a96);let me=class extends a['Disposable']{constructor(_0x5880bd,_0x538fae,_0x1870b1){const _0x52cec0=_0x1ac637;super(),_(this,_0x52cec0(0x3ce),new Map()),_(this,_0x52cec0(0x349),new Map()),_(this,'_disabled',!0x1),(this[_0x52cec0(0x306)]=_0x5880bd,this[_0x52cec0(0x2fc)]=_0x538fae,this['_revisionService']=_0x1870b1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1ac637(0x1a3)](){const _0x25c7da=_0x1ac637;this[_0x25c7da(0x31f)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1ac637(0x1af)](){const _0x3d6c4e=_0x1ac637;this[_0x3d6c4e(0x37c)]()[_0x3d6c4e(0x246)](()=>super[_0x3d6c4e(0x1af)]());}async[_0x1ac637(0x2e8)](_0x582b1d){const _0x8b0d72=_0x1ac637;return this[_0x8b0d72(0x31f)]?null:this[_0x8b0d72(0x2fc)][_0x8b0d72(0x17c)](u[_0x8b0d72(0x34b)](_0x582b1d));}async[_0x1ac637(0x2a2)](_0x2d7991,_0x330c87){const _0x56c588=_0x1ac637;return!!this[_0x56c588(0x2fc)][_0x56c588(0x33b)](_0x2d7991,_0x330c87);}[_0x1ac637(0x2d7)](_0x159d3c,_0x49cdc9,_0x653ba6,_0x4a91ee){const _0x20085c=_0x1ac637,_0x51f442=this[_0x20085c(0x16b)]['getCurrentRevOfUnit'](_0x159d3c);this[_0x20085c(0x3ce)]['set'](_0x159d3c,{'unitID':_0x159d3c,'type':_0x49cdc9,'awaitingChangeset':_0x653ba6,'mutations':_0x4a91ee,'rev':_0x51f442}),this[_0x20085c(0x349)][_0x20085c(0x2d4)](_0x159d3c)||this[_0x20085c(0x35e)](_0x159d3c);}['_scheduleSaving'](_0x4a35f5){const _0x2cd2ac=_0x1ac637,_0x3c704b=this[_0x2cd2ac(0x3cb)]();_0x3c704b===0x0?this['_saveCache'](_0x4a35f5):this['_saveTaskMap'][_0x2cd2ac(0x1a2)](_0x4a35f5,setTimeout(()=>this[_0x2cd2ac(0x266)](_0x4a35f5),_0x3c704b));}[_0x1ac637(0x3cb)](){const _0x5d2605=_0x1ac637;var _0x440fd2;return(_0x440fd2=this[_0x5d2605(0x306)][_0x5d2605(0x2c0)](u[_0x5d2605(0x179)]))!=null?_0x440fd2:u[_0x5d2605(0x329)];}[_0x1ac637(0x266)](_0x4a65a0){const _0x9a99=_0x1ac637,_0x5df32e=this['_saveTaskMap']['get'](_0x4a65a0);return _0x5df32e!==void 0x0&&window[_0x9a99(0x1c7)](_0x5df32e),this[_0x9a99(0x2fc)][_0x9a99(0x33b)](u[_0x9a99(0x34b)](_0x4a65a0),this[_0x9a99(0x3ce)][_0x9a99(0x1e1)](_0x4a65a0))['then'](()=>this[_0x9a99(0x349)][_0x9a99(0x230)](_0x4a65a0));}async[_0x1ac637(0x37c)](){const _0x565dcf=[];this['_saveTaskMap']['forEach']((_0x1e98ec,_0x6bda88)=>{const _0x220e58=_0x3d4b;window[_0x220e58(0x1c7)](_0x1e98ec),_0x565dcf[_0x220e58(0x24b)](this[_0x220e58(0x266)](_0x6bda88)[_0x220e58(0x246)](()=>{this['_saveTaskMap']['delete'](_0x6bda88);}));}),await Promise['all'](_0x565dcf);}};me=es([he(0x0,a[_0x1ac637(0x1d7)]),he(0x1,a[_0x1ac637(0x38f)]),he(0x2,a['Inject'](m['RevisionService']))],me);class Be extends a[_0x1ac637(0x281)]{constructor(){const _0x397252=_0x1ac637;super(),_(this,'urlChange$'),this['urlChange$']=d['fromEvent'](window,'popstate')[_0x397252(0x36f)](d[_0x397252(0x257)](this[_0x397252(0x17a)]),d[_0x397252(0x2de)](0x1),d[_0x397252(0x37f)](void 0x0));}[_0x1ac637(0x16f)](_0x5bf409,_0x48dcc2,_0x27e493=!0x1){const _0x4ffeed=_0x1ac637,_0x2b3be9=new URL(window[_0x4ffeed(0x39e)][_0x4ffeed(0x19a)]);_0x2b3be9[_0x4ffeed(0x27c)][_0x4ffeed(0x1a2)](_0x5bf409,_0x48dcc2),_0x27e493?window[_0x4ffeed(0x312)][_0x4ffeed(0x166)]('','',_0x2b3be9[_0x4ffeed(0x219)]()):window['history'][_0x4ffeed(0x1ac)]('','',_0x2b3be9[_0x4ffeed(0x219)]());}[_0x1ac637(0x3d0)](_0x24042c,_0x395605=!0x1){const _0x26d2d4=_0x1ac637,_0x24ac6b=new URL(window[_0x26d2d4(0x39e)][_0x26d2d4(0x19a)]);_0x24ac6b[_0x26d2d4(0x27c)][_0x26d2d4(0x230)](_0x24042c),_0x395605?window[_0x26d2d4(0x312)][_0x26d2d4(0x166)]('','',_0x24ac6b[_0x26d2d4(0x219)]()):window['history'][_0x26d2d4(0x1ac)]('','',_0x24ac6b[_0x26d2d4(0x219)]());}[_0x1ac637(0x1a0)](_0x2f57cc){const _0x258ce2=_0x1ac637;var _0x1235e4;return(_0x1235e4=new URL(window[_0x258ce2(0x39e)][_0x258ce2(0x19a)])[_0x258ce2(0x27c)]['get'](_0x2f57cc))!=null?_0x1235e4:void 0x0;}}var ts=Object[_0x1ac637(0x2e1)],ss=Object[_0x1ac637(0x211)],ns=(_0x2f4517,_0x56f78b,_0x33a265)=>_0x56f78b in _0x2f4517?ts(_0x2f4517,_0x56f78b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33a265}):_0x2f4517[_0x56f78b]=_0x33a265,is=(_0x1e360c,_0x58323d,_0x1648dd,_0x57fbca)=>{for(var _0x48656a=_0x57fbca>0x1?void 0x0:_0x57fbca?ss(_0x58323d,_0x1648dd):_0x58323d,_0x2d75a6=_0x1e360c['length']-0x1,_0xf9aa0;_0x2d75a6>=0x0;_0x2d75a6--)(_0xf9aa0=_0x1e360c[_0x2d75a6])&&(_0x48656a=_0xf9aa0(_0x48656a)||_0x48656a);return _0x48656a;},ue=(_0x570f86,_0x3faa43)=>(_0x8c70c3,_0x56b3bb)=>_0x3faa43(_0x8c70c3,_0x56b3bb,_0x570f86),rs=(_0x2c97bf,_0xafae55,_0x1af9cc)=>ns(_0x2c97bf,_0xafae55+'',_0x1af9cc);const os=_0x1ac637(0x33d);exports[_0x1ac637(0x1a1)]=class extends a[_0x1ac637(0x3d9)]{constructor(_0x1ec23f=Ne,_0x5f5a28,_0x11af96,_0x2a75e9){const _0x4829e0=_0x1ac637;super(),this[_0x4829e0(0x1ce)]=_0x1ec23f,this[_0x4829e0(0x3b3)]=_0x5f5a28,this[_0x4829e0(0x3c2)]=_0x11af96,this[_0x4829e0(0x306)]=_0x2a75e9;const {..._0x490373}=a[_0x4829e0(0x22f)]({},Ne,this['_config']);this[_0x4829e0(0x306)][_0x4829e0(0x37b)](Wt,_0x490373);}[_0x1ac637(0x2c7)](){const _0x461701=_0x1ac637;this['_registerDependencies'](),this[_0x461701(0x1f8)]();}['onRendered'](){const _0x553fe6=_0x1ac637;this[_0x553fe6(0x35d)]();}[_0x1ac637(0x2a7)](){const _0x5e8534=_0x1ac637;var _0x1a83d4;const _0x2ca90b=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':Be}],[q[_0x5e8534(0x305)],{'useClass':q[_0x5e8534(0x1a7)]}],[u[_0x5e8534(0x3b9)],{'useClass':me}],[exports[_0x5e8534(0x3c3)]],[ee],[z],[x],[fe],[exports[_0x5e8534(0x37e)]]];a[_0x5e8534(0x1d8)](this[_0x5e8534(0x3c2)],a[_0x5e8534(0x223)](_0x2ca90b,(_0x1a83d4=this[_0x5e8534(0x1ce)])==null?void 0x0:_0x1a83d4[_0x5e8534(0x167)]));}[_0x1ac637(0x35d)](){const _0x1b8f5e=_0x1ac637;this['disposeWithMe'](this['_renderManagerService'][_0x1b8f5e(0x278)](a[_0x1b8f5e(0x23d)][_0x1b8f5e(0x1e4)],[ve])),this['disposeWithMe'](this[_0x1b8f5e(0x3b3)][_0x1b8f5e(0x278)](a['UniverInstanceType'][_0x1b8f5e(0x2c4)],[ge]));}[_0x1ac637(0x1f8)](){const _0x467b1d=_0x1ac637;a[_0x467b1d(0x347)](this[_0x467b1d(0x3c2)],[[x],[exports[_0x467b1d(0x3c3)]],[ee],[z],[exports[_0x467b1d(0x37e)]]]);}},rs(exports['UniverCollaborationClientUIPlugin'],'pluginName',os),exports[_0x1ac637(0x1a1)]=is([a[_0x1ac637(0x2ff)](u[_0x1ac637(0x1f0)]),ue(0x1,p[_0x1ac637(0x199)]),ue(0x2,a[_0x1ac637(0x18c)](a[_0x1ac637(0x30e)])),ue(0x3,a['IConfigService'])],exports[_0x1ac637(0x1a1)]);var as=Object[_0x1ac637(0x211)],cs=(_0xd0f288,_0x58efd9,_0x504ff9,_0x202cf8)=>{const _0x31277b=_0x1ac637;for(var _0x59498d=_0x202cf8>0x1?void 0x0:_0x202cf8?as(_0x58efd9,_0x504ff9):_0x58efd9,_0x10d541=_0xd0f288[_0x31277b(0x245)]-0x1,_0x5d3142;_0x10d541>=0x0;_0x10d541--)(_0x5d3142=_0xd0f288[_0x10d541])&&(_0x59498d=_0x5d3142(_0x59498d)||_0x59498d);return _0x59498d;},F=(_0x2e890a,_0x3315c1)=>(_0x42d5bd,_0x184315)=>_0x3315c1(_0x42d5bd,_0x184315,_0x2e890a);exports[_0x1ac637(0x296)]=class extends u[_0x1ac637(0x1e8)]{constructor(_0x47498f,_0x561866,_0x44555f,_0x1524c5,_0x43a043){super(_0x47498f,_0x561866,_0x44555f,_0x1524c5,_0x43a043);}async[_0x1ac637(0x2ca)](_0x5a99d6){const _0x1e20fc=_0x1ac637,_0x5384bd=await this['_getSessionTicket'](),_0x3adce2=this[_0x1e20fc(0x29b)](_0x5a99d6,_0x5384bd);return this[_0x1e20fc(0x338)](_0x3adce2);}[_0x1ac637(0x29b)](_0x550dba,_0x341758){const _0xcada55=_0x1ac637,_0x1412e5=typeof window>'u'?new URL(_0x550dba):new URL(_0x550dba,window[_0xcada55(0x39e)][_0xcada55(0x1ba)]);_0x1412e5[_0xcada55(0x27c)][_0xcada55(0x1a2)]('sessionTicket',_0x341758);const _0x2f42b9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xcada55(0x2af)]);return _0x2f42b9['get']('runId')&&_0x1412e5[_0xcada55(0x27c)][_0xcada55(0x1a2)]('runId',_0x2f42b9[_0xcada55(0x1e1)](_0xcada55(0x25e))),_0x1412e5[_0xcada55(0x219)]();}async[_0x1ac637(0x221)](){const _0x65504=_0x1ac637;var _0xc6a297,_0x4e2d8f,_0x567083;const _0xc431a5=this[_0x65504(0x306)]['getConfig'](u[_0x65504(0x200)]),_0x4bb03a=(_0xc6a297=_0xc431a5==null?void 0x0:_0xc431a5[_0x65504(0x1bc)])!=null?_0xc6a297:u[_0x65504(0x1c9)];return(_0x567083=(_0x4e2d8f=(await this[_0x65504(0x3d1)][_0x65504(0x1e1)](_0x4bb03a,{'headers':{'Content-Type':_0x65504(0x1ad)}}))[_0x65504(0x31a)])==null?void 0x0:_0x4e2d8f[_0x65504(0x272)])!=null?_0x567083:'';}},exports[_0x1ac637(0x296)]=cs([F(0x0,a[_0x1ac637(0x18c)](a[_0x1ac637(0x30e)])),F(0x1,a[_0x1ac637(0x18c)](q[_0x1ac637(0x276)])),F(0x2,a['IConfigService']),F(0x3,a['ILogService']),F(0x4,m[_0x1ac637(0x1c5)])],exports['BrowserCollaborationSocketService']);const Pe=0x7530,Le=_0x1ac637(0x15e);class ls extends a[_0x1ac637(0x2e5)]{constructor(){const _0x415310=_0x1ac637;super(),_(this,_0x415310(0x2d6),a[_0x415310(0x1c6)]()),_(this,_0x415310(0x224),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0x415310(0x2b0),new Map()),this[_0x415310(0x169)]();}[_0x1ac637(0x1af)](){const _0x406471=_0x1ac637;super[_0x406471(0x1af)](),this[_0x406471(0x39c)]['forEach']((_0x34b435,_0x1aca40)=>this['_removeClearOtherTimer'](_0x1aca40)),this['_heartbeatTimer']&&window[_0x406471(0x30d)](this[_0x406471(0x218)]);}[_0x1ac637(0x164)](_0x42b585){const _0x3de6f1=_0x1ac637;return this[_0x3de6f1(0x206)](_0x42b585)['pipe'](d[_0x3de6f1(0x361)]());}[_0x1ac637(0x180)](_0x591c4e){const _0x2948ef=_0x1ac637;this[_0x2948ef(0x224)]['size']===0x0&&this[_0x2948ef(0x25b)](),this[_0x2948ef(0x224)][_0x2948ef(0x2b7)](_0x591c4e),this[_0x2948ef(0x215)]({'type':0x0,'memberID':this[_0x2948ef(0x2d6)],'unitIDs':[_0x591c4e],'isForwarded':!0x1});}[_0x1ac637(0x17f)](_0x50aaf7){const _0x482183=_0x1ac637;this[_0x482183(0x224)][_0x482183(0x230)](_0x50aaf7),this[_0x482183(0x224)][_0x482183(0x39b)]===0x0&&this[_0x482183(0x218)]&&window['clearInterval'](this[_0x482183(0x218)]);}['_init'](){const _0x5b2cb7=_0x1ac637;this[_0x5b2cb7(0x252)](a[_0x5b2cb7(0x35a)](d['fromEvent'](window,_0x5b2cb7(0x31e))[_0x5b2cb7(0x285)](_0x117dd5=>{const _0x1b1f62=_0x5b2cb7;if(_0x117dd5['key']!==Le||!_0x117dd5['newValue'])return;const _0xd6a7c6=JSON[_0x1b1f62(0x309)](_0x117dd5['newValue']);this[_0x1b1f62(0x2a3)](_0xd6a7c6);}))),window['addEventListener']('unload',()=>this[_0x5b2cb7(0x215)]({'type':0x1,'memberID':this[_0x5b2cb7(0x2d6)],'unitIDs':Array[_0x5b2cb7(0x1c3)](this[_0x5b2cb7(0x224)])}));}['_handleEvent'](_0x4c07af){const _0x21e4c8=_0x1ac637;switch(_0x4c07af[_0x21e4c8(0x3cc)]){case 0x0:this[_0x21e4c8(0x1de)](_0x4c07af);break;case 0x1:this[_0x21e4c8(0x2fd)](_0x4c07af);break;case 0x2:this[_0x21e4c8(0x1f7)](_0x4c07af);break;}}[_0x1ac637(0x1de)](_0xe032f4){const _0xea52fb=_0x1ac637,{unitIDs:_0x4c05ab,memberID:_0x98b28d,isForwarded:_0x49db60}=_0xe032f4;_0x4c05ab['forEach'](_0x422ed6=>{const _0x4b6cef=_0x3d4b;if(!_0x49db60&&this[_0x4b6cef(0x269)]['has'](_0x422ed6)&&this['_ensureSubject'](_0x422ed6)[_0x4b6cef(0x1b5)](u['UnitStatus'][_0x4b6cef(0x250)]),!this['_unitOnClients'][_0x4b6cef(0x2d4)](_0x422ed6)||!this['_unitOnClients'][_0x4b6cef(0x1e1)](_0x422ed6)[_0x4b6cef(0x2d4)](_0x98b28d)){const _0x140efd=this[_0x4b6cef(0x269)][_0x4b6cef(0x1e1)](_0x422ed6)||new Set();_0x140efd[_0x4b6cef(0x2b7)](_0x98b28d),this[_0x4b6cef(0x269)]['set'](_0x422ed6,_0x140efd),this[_0x4b6cef(0x348)](_0x98b28d);}}),_0x49db60||this[_0xea52fb(0x215)]({'type':0x0,'memberID':this[_0xea52fb(0x2d6)],'unitIDs':[...this[_0xea52fb(0x224)]],'isForwarded':!0x0});}[_0x1ac637(0x348)](_0x5db69b){const _0x4546cc=_0x1ac637;this[_0x4546cc(0x193)](_0x5db69b);const _0xc434bb=window['setTimeout'](()=>{const _0x4be830=_0x4546cc;this[_0x4be830(0x269)][_0x4be830(0x2f8)](_0x157a2e=>{const _0x4a2fae=_0x4be830;_0x157a2e[_0x4a2fae(0x230)](_0x5db69b);});},Pe*0x2);this[_0x4546cc(0x39c)]['set'](_0x5db69b,_0xc434bb);}[_0x1ac637(0x193)](_0xd27549){const _0x24b686=_0x1ac637;if(this[_0x24b686(0x39c)][_0x24b686(0x2d4)](_0xd27549)){const _0x5e59b4=this['_clearOtherTimers'][_0x24b686(0x1e1)](_0xd27549);_0x5e59b4&&window[_0x24b686(0x1c7)](_0x5e59b4),this[_0x24b686(0x39c)]['set'](_0xd27549,null);}}[_0x1ac637(0x2fd)](_0x221a88){const _0x220ab7=_0x1ac637,{memberID:_0x3d10df,unitIDs:_0xa6f2ac}=_0x221a88;_0xa6f2ac['forEach'](_0x33ed5a=>{const _0x1ecddc=_0x3d4b;var _0x2e495a;const _0x3a9d43=this[_0x1ecddc(0x269)][_0x1ecddc(0x1e1)](_0x33ed5a);_0x3a9d43&&(_0x3a9d43[_0x1ecddc(0x230)](_0x3d10df),(_0x2e495a=this[_0x1ecddc(0x206)](_0x33ed5a))==null||_0x2e495a[_0x1ecddc(0x1b5)](_0x3a9d43['size']===0x0?u[_0x1ecddc(0x1f5)][_0x1ecddc(0x25c)]:u[_0x1ecddc(0x1f5)][_0x1ecddc(0x250)]));}),this[_0x220ab7(0x193)](_0x3d10df);}['_handleHeartbeatEvent'](_0x30e25d){const _0x2815a0=_0x1ac637;this[_0x2815a0(0x348)](_0x30e25d[_0x2815a0(0x21b)]);}[_0x1ac637(0x215)](_0xb84c41){const _0x58cf59=_0x1ac637;localStorage[_0x58cf59(0x33b)](Le,JSON[_0x58cf59(0x19f)](_0xb84c41));}[_0x1ac637(0x25b)](){const _0x2b9a1b=_0x1ac637;this[_0x2b9a1b(0x218)]=window[_0x2b9a1b(0x303)](()=>{const _0x347e3b=_0x2b9a1b;this[_0x347e3b(0x215)]({'type':0x2,'memberID':this[_0x347e3b(0x2d6)]});},Pe);}['_ensureSubject'](_0x2d8a79){const _0x2d10d6=_0x1ac637;return this[_0x2d10d6(0x2b0)]['has'](_0x2d8a79)||this['_unitStatus'][_0x2d10d6(0x1a2)](_0x2d8a79,new d[(_0x2d10d6(0x3c8))](u['UnitStatus'][_0x2d10d6(0x25c)])),this[_0x2d10d6(0x2b0)][_0x2d10d6(0x1e1)](_0x2d8a79);}}var ke=(_0x5e2ac5=>(_0x5e2ac5[_0x5e2ac5['UNDEFINED']=0x0]='UNDEFINED',_0x5e2ac5[_0x5e2ac5['OK']=0x1]='OK',_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x36a)]=0x2]=_0x1ac637(0x36a),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x26f)]=0x3]=_0x1ac637(0x26f),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x27b)]=0x4]='NOT_FOUND',_0x5e2ac5[_0x5e2ac5['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x227)]=0x6]='ALREADY_EXISTS',_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x19c)]=0x7]=_0x1ac637(0x19c),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x328)]=0x8]='TOO_MANY_REQUESTS',_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x362)]=0x9]=_0x1ac637(0x362),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x33a)]=0xa]=_0x1ac637(0x33a),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x354)]=0x1389]=_0x1ac637(0x354),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x2f3)]=0x1771]=_0x1ac637(0x2f3),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x21c)]=0x1772]=_0x1ac637(0x21c),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x26c)]=0x1773]=_0x1ac637(0x26c),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x369)]=0x1b59]=_0x1ac637(0x369),_0x5e2ac5[_0x5e2ac5['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1ac637(0x3a2),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x29f)]=0x1b5b]=_0x1ac637(0x29f),_0x5e2ac5[_0x5e2ac5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1ac637(0x3df),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x1ee)]=0x1b5d]=_0x1ac637(0x1ee),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x2dd)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5e2ac5[_0x5e2ac5['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1ac637(0x331),_0x5e2ac5[_0x5e2ac5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1ac637(0x3ae),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x3c9)]=0x232b]=_0x1ac637(0x3c9),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x374)]=0x232c]=_0x1ac637(0x374),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x3dc)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5e2ac5[_0x5e2ac5['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1ac637(0x321),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x267)]=0x2712]=_0x1ac637(0x267),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x398)]=0x2713]=_0x1ac637(0x398),_0x5e2ac5[_0x5e2ac5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1ac637(0x2e6),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x1fa)]=0x2af9]=_0x1ac637(0x1fa),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x1f4)]=0x2ee1]=_0x1ac637(0x1f4),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x2ac)]=0x2ee2]='INVALID_INVITE_CODE',_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x187)]=0x2ee3]=_0x1ac637(0x187),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x32c)]=0x2ee4]=_0x1ac637(0x32c),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x1a8)]=0x2ee5]=_0x1ac637(0x1a8),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x1cf)]=0x32c9]=_0x1ac637(0x1cf),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x35c)]=0x32ca]=_0x1ac637(0x35c),_0x5e2ac5[_0x5e2ac5['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1ac637(0x240),_0x5e2ac5[_0x5e2ac5[_0x1ac637(0x238)]=-0x1]='UNRECOGNIZED',_0x5e2ac5))(ke||{}),_s=Object[_0x1ac637(0x211)],hs=(_0x19b8ef,_0x2a6457,_0x1f0c47,_0x1daed7)=>{const _0x80bc4f=_0x1ac637;for(var _0x209c43=_0x1daed7>0x1?void 0x0:_0x1daed7?_s(_0x2a6457,_0x1f0c47):_0x2a6457,_0x599015=_0x19b8ef[_0x80bc4f(0x245)]-0x1,_0x450867;_0x599015>=0x0;_0x599015--)(_0x450867=_0x19b8ef[_0x599015])&&(_0x209c43=_0x450867(_0x209c43)||_0x209c43);return _0x209c43;},de=(_0xdda606,_0x48e233)=>(_0x202cbf,_0x2a6d77)=>_0x48e233(_0x202cbf,_0x2a6d77,_0xdda606);exports[_0x1ac637(0x18f)]=class extends a['Disposable']{constructor(_0x23dd2d,_0x794f53,_0xe5616){const _0x33f8c7=_0x1ac637;super(),this[_0x33f8c7(0x25f)]=_0x23dd2d,this[_0x33f8c7(0x3d1)]=_0x794f53,this[_0x33f8c7(0x306)]=_0xe5616;}async[_0x1ac637(0x324)](_0x4244b5,_0x2133aa,_0x190cb1,..._0x174d88){const _0x4bbf77=_0x1ac637;var _0x1667d3,_0x52b746,_0x357a77,_0x52d826;const _0x3969e5=this['_instanceService'][_0x4bbf77(0x30f)]();if(!_0x3969e5)throw new Error(_0x4bbf77(0x18b));const _0x226e87=((_0x1667d3=this[_0x4bbf77(0x306)]['getConfig'](u[_0x4bbf77(0x261)]))!=null?_0x1667d3:u[_0x4bbf77(0x22d)])+'/'+_0x4244b5+'/run/'+_0x2133aa,_0x4f2a7f=new URL(window['location'][_0x4bbf77(0x19a)]),_0x5c129d={'scriptId':_0x4244b5,'runId':(_0x52b746=_0x4f2a7f['searchParams'][_0x4bbf77(0x1e1)](_0x4bbf77(0x25e)))!=null?_0x52b746:'','function':_0x2133aa,'unitId':_0x3969e5['getUnitId'](),'argsOfFunction':JSON[_0x4bbf77(0x19f)](_0x174d88),'invokeId':(_0x357a77=_0x190cb1[_0x4bbf77(0x263)])!=null?_0x357a77:'','executionId':(_0x52d826=_0x190cb1[_0x4bbf77(0x31d)])!=null?_0x52d826:''};try{const _0x2a2361=await this[_0x4bbf77(0x3d1)][_0x4bbf77(0x327)](_0x226e87,{'body':_0x5c129d});return _0x2a2361[_0x4bbf77(0x31a)][_0x4bbf77(0x376)]&&_0x2a2361[_0x4bbf77(0x31a)]['error'][_0x4bbf77(0x301)]!==ke['OK']?_0x4bbf77(0x2cf):_0x2a2361['body'][_0x4bbf77(0x310)];}catch{return _0x4bbf77(0x2cf);}}},exports['RemoteUniscriptService']=hs([de(0x0,a[_0x1ac637(0x3c7)]),de(0x1,a['Inject'](q[_0x1ac637(0x276)])),de(0x2,a[_0x1ac637(0x1d7)])],exports[_0x1ac637(0x18f)]),exports[_0x1ac637(0x38c)]=je,exports[_0x1ac637(0x264)]=Ee,exports[_0x1ac637(0x31c)]=Ae,exports[_0x1ac637(0x2d9)]=ls,exports[_0x1ac637(0x192)]=Be;
|
|
1
|
+
'use strict';const _0x4af93f=_0x11d6;(function(_0x5b8d94,_0x5e1c2){const _0x53e26c=_0x11d6,_0x4bd393=_0x5b8d94();while(!![]){try{const _0x3b5833=-parseInt(_0x53e26c(0xac))/0x1*(-parseInt(_0x53e26c(0x16b))/0x2)+-parseInt(_0x53e26c(0x157))/0x3+parseInt(_0x53e26c(0x1c6))/0x4+parseInt(_0x53e26c(0xe2))/0x5*(parseInt(_0x53e26c(0x154))/0x6)+parseInt(_0x53e26c(0x1f9))/0x7*(-parseInt(_0x53e26c(0x228))/0x8)+parseInt(_0x53e26c(0x77))/0x9*(parseInt(_0x53e26c(0x230))/0xa)+-parseInt(_0x53e26c(0xf7))/0xb;if(_0x3b5833===_0x5e1c2)break;else _0x4bd393['push'](_0x4bd393['shift']());}catch(_0x2b3089){_0x4bd393['push'](_0x4bd393['shift']());}}}(_0x39f5,0xb9a87));var Xe=Object[_0x4af93f(0x1c1)],Ge=(_0xa59918,_0x966e18,_0xef4292)=>_0x966e18 in _0xa59918?Xe(_0xa59918,_0x966e18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xef4292}):_0xa59918[_0x966e18]=_0xef4292,_=(_0x31c9b7,_0x22f55b,_0x2c40ad)=>Ge(_0x31c9b7,typeof _0x22f55b!=_0x4af93f(0x120)?_0x22f55b+'':_0x22f55b,_0x2c40ad);Object[_0x4af93f(0x1c1)](exports,Symbol[_0x4af93f(0x99)],{'value':_0x4af93f(0x6b)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require(_0x4af93f(0xa4)),q=require('@univerjs/network'),b=require(_0x4af93f(0xda)),qe=require(_0x4af93f(0x14e)),d=require('rxjs'),Y=require(_0x4af93f(0x1cc)),m=require(_0x4af93f(0x1db)),Te=require('@univerjs/engine-formula'),g=require(_0x4af93f(0x252)),$=require('rxjs/operators'),G=require(_0x4af93f(0x29e)),P=require(_0x4af93f(0x2cd)),O=require(_0x4af93f(0x91)),T=require('@univerjs/design'),M=require(_0x4af93f(0x1bc)),Ke=require('@univerjs/rpc');var ze=Object[_0x4af93f(0x267)],Je=(_0x509186,_0x158431,_0x539f8a,_0x42bfd4)=>{for(var _0x69b648=_0x42bfd4>0x1?void 0x0:_0x42bfd4?ze(_0x158431,_0x539f8a):_0x158431,_0x202cc5=_0x509186['length']-0x1,_0x324576;_0x202cc5>=0x0;_0x202cc5--)(_0x324576=_0x509186[_0x202cc5])&&(_0x69b648=_0x324576(_0x69b648)||_0x69b648);return _0x69b648;},Oe=(_0x2b8826,_0x20bc91)=>(_0x7439cd,_0x4a9d5c)=>_0x20bc91(_0x7439cd,_0x4a9d5c,_0x2b8826);let fe=class extends a[_0x4af93f(0x193)]{constructor(_0x1ba782,_0x7ad368){const _0x76144b=_0x4af93f;super(),this['_docClipboardService']=_0x1ba782,this[_0x76144b(0x291)]=_0x7ad368,this['_init']();}[_0x4af93f(0xdb)](){const _0x2057d6=_0x4af93f,_0x1d38fc=this;this[_0x2057d6(0xcc)](this['_docClipboardService'][_0x2057d6(0x20a)]({'onBeforePasteImage':async _0x412160=>{const _0x43a6b6=_0x2057d6,_0x397c00=await _0x1d38fc[_0x43a6b6(0x291)]['saveImage'](_0x412160);return _0x397c00?{'source':_0x397c00['source'],'imageSourceType':_0x397c00['imageSourceType']}:null;}}));}};fe=Je([Oe(0x0,b[_0x4af93f(0xff)]),Oe(0x1,qe[_0x4af93f(0xd2)])],fe);const Re=[_0x4af93f(0x98),_0x4af93f(0x2d3),_0x4af93f(0x18d),_0x4af93f(0x203),_0x4af93f(0x1e4),_0x4af93f(0x8b)];class Ce extends a[_0x4af93f(0x14c)]{constructor(){const _0x439909=_0x4af93f;super(...arguments),_(this,_0x439909(0x22d),new Map()),_(this,_0x439909(0x101),0x0);}['assignAColorForMemberID'](_0x1b0cb7){const _0x3b3e38=_0x4af93f;if(this[_0x3b3e38(0x22d)][_0x3b3e38(0x148)](_0x1b0cb7))return this['_assignedColors'][_0x3b3e38(0x27f)](_0x1b0cb7);const _0x4a25e1=Re[this[_0x3b3e38(0x101)]];return this[_0x3b3e38(0x101)]=(this['_colorIndex']+0x1)%Re[_0x3b3e38(0x10c)],this[_0x3b3e38(0x22d)][_0x3b3e38(0x167)](_0x1b0cb7,_0x4a25e1),_0x4a25e1;}}function we(_0x25418a){const _0x284470=_0x4af93f;let _0x3fe127='';for(const _0x10622d of _0x25418a){const {startOffset:_0x40cf02,endOffset:_0x3591d4,isActive:_0x21afc9,rangeType:_0x4a35e5,segmentId:_0x1795c0,segmentPage:_0x57ac7f}=_0x10622d;_0x3fe127[_0x284470(0x10c)]&&(_0x3fe127+=','),_0x3fe127+=_0x40cf02+':'+_0x3591d4+':'+(_0x21afc9?'1':'0')+':'+_0x4a35e5+':'+_0x1795c0+':'+_0x57ac7f;}return _0x3fe127;}function Ze(_0x2e43fe){const _0x14906d=_0x4af93f,_0x2fc1a4=_0x2e43fe['split'](','),_0x3a867e=[];for(const _0x54f587 of _0x2fc1a4){const [_0x1c1b43,_0x268450,_0x30c7f3,_0xed29f9,_0x4f8576,_0x1d5d61]=_0x54f587[_0x14906d(0xd5)](':');_0x3a867e[_0x14906d(0x181)]({'startOffset':Number(_0x1c1b43),'endOffset':Number(_0x268450),'collapsed':_0x1c1b43===_0x268450,'isActive':_0x30c7f3==='1','rangeType':_0xed29f9===a['DOC_RANGE_TYPE'][_0x14906d(0x201)]?a[_0x14906d(0x26f)][_0x14906d(0x201)]:a[_0x14906d(0x26f)][_0x14906d(0x2c6)],'segmentId':typeof _0x4f8576==_0x14906d(0x26b)?String(_0x4f8576):'','segmentPage':Number(_0x1d5d61!=null?_0x1d5d61:-0x1)});}return _0x3a867e[_0x14906d(0x15a)](_0x4a6fdb=>_0x4a6fdb['isActive'])||(_0x3a867e[0x0][_0x14906d(0x13c)]=!0x0),_0x3a867e;}class pe extends a[_0x4af93f(0x193)]{constructor(){const _0x3d3bef=_0x4af93f;super(...arguments),_(this,'_collabCursorState$',new d[(_0x3d3bef(0x158))](null)),_(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x4af93f(0x106)](_0x4e96cc){const _0x441682=_0x4af93f,{unitID:_0x21ae0d,memberID:_0x920488,textRanges:_0x44fadf}=_0x4e96cc,_0x181438=we(_0x44fadf);if(_0x181438==='')return;const _0x120bb3={'unitID':_0x21ae0d,'memberID':_0x920488,'selection':_0x181438};this[_0x441682(0x21c)][_0x441682(0x2c4)](_0x120bb3);}}var Qe=Object[_0x4af93f(0x267)],et=(_0x18d15c,_0x5f3090,_0x206213,_0x3dd18a)=>{const _0xff54c4=_0x4af93f;for(var _0xfb075=_0x3dd18a>0x1?void 0x0:_0x3dd18a?Qe(_0x5f3090,_0x206213):_0x5f3090,_0x2ea35d=_0x18d15c[_0xff54c4(0x10c)]-0x1,_0x386752;_0x2ea35d>=0x0;_0x2ea35d--)(_0x386752=_0x18d15c[_0x2ea35d])&&(_0xfb075=_0x386752(_0xfb075)||_0xfb075);return _0xfb075;},L=(_0x96081a,_0x1e1c1b)=>(_0x7534b8,_0xd39a7e)=>_0x1e1c1b(_0x7534b8,_0xd39a7e,_0x96081a);const tt=0x12c,st=0x64;let Se=class extends a['RxDisposable']{constructor(_0x39a90d,_0x3ee8e7,_0x4eb375,_0xcfd0ea,_0x39c9e0,_0x40dc3f,_0x5b392d,_0x11c160,_0x135532){const _0x389b30=_0x4af93f;super(),_(this,_0x389b30(0xb5),!0x1),_(this,_0x389b30(0xdb),!0x1),_(this,'_cursorInfo$',new d['BehaviorSubject'](new Map())),_(this,_0x389b30(0x27e),this[_0x389b30(0x7e)]['asObservable']()),_(this,_0x389b30(0x2b2),new d[(_0x389b30(0x158))]([])),_(this,_0x389b30(0x124),this[_0x389b30(0x2b2)][_0x389b30(0x131)](d[_0x389b30(0x23e)](tt))),_(this,_0x389b30(0x102),a[_0x389b30(0x1ec)](_0x3b2f49=>{const _0x20807d=_0x389b30,_0x224ec4={'eventID':m['CollaborationEvent'][_0x20807d(0xe4)],'data':{'unitID':this['unitID'],'memberID':this[_0x20807d(0x1d3)][_0x20807d(0x19d)](),'selection':we(_0x3b2f49)}};this['_session']['send'](_0x224ec4,this['unitID']);},st)),(this[_0x389b30(0x1ff)]=_0x39a90d,this[_0x389b30(0x1d3)]=_0x3ee8e7,this[_0x389b30(0x23b)]=_0x4eb375,this[_0x389b30(0x26e)]=_0xcfd0ea,this[_0x389b30(0x2b8)]=_0x39c9e0,this[_0x389b30(0x1e6)]=_0x40dc3f,this[_0x389b30(0x105)]=_0x5b392d,this[_0x389b30(0x2c1)]=_0x11c160,this[_0x389b30(0x22f)]=_0x135532);}get[_0x4af93f(0x182)](){const _0x19b5f8=_0x4af93f;return this[_0x19b5f8(0x7e)][_0x19b5f8(0x109)]();}get['roomMembers'](){const _0x180171=_0x4af93f;return this[_0x180171(0x2b2)][_0x180171(0x109)]();}[_0x4af93f(0x1a7)](){const _0x2e7b14=_0x4af93f;super[_0x2e7b14(0x1a7)](),this[_0x2e7b14(0x7e)][_0x2e7b14(0x2c4)](new Map()),this['_cursorInfo$'][_0x2e7b14(0x1c0)](),this[_0x2e7b14(0x2b2)][_0x2e7b14(0x2c4)]([]),this[_0x2e7b14(0x2b2)][_0x2e7b14(0x1c0)]();}[_0x4af93f(0xcf)](){const _0x5377c8=_0x4af93f;this[_0x5377c8(0xdb)]||(this[_0x5377c8(0xdb)]=!0x0,this[_0x5377c8(0x1d3)]['sessionStatus$'][_0x5377c8(0x131)](d[_0x5377c8(0x24c)](this[_0x5377c8(0x9d)]))[_0x5377c8(0xdd)](_0x401f68=>{const _0x5a46fe=_0x5377c8;_0x401f68===u[_0x5a46fe(0x8a)][_0x5a46fe(0x14d)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5377c8(0x1d3)]['event$'][_0x5377c8(0x131)](d[_0x5377c8(0x24c)](this[_0x5377c8(0x9d)]))[_0x5377c8(0xdd)](_0x40b6c0=>{const _0x33c41b=_0x5377c8,_0x768f18=_0x40b6c0[_0x33c41b(0x251)];_0x768f18===m['CollaborationEvent'][_0x33c41b(0xe4)]&&this[_0x33c41b(0x1d0)](_0x40b6c0),_0x768f18===m['CollaborationEvent'][_0x33c41b(0x223)]&&this['_onCursorDelete'](_0x40b6c0);}),this[_0x5377c8(0xcc)](this[_0x5377c8(0x22f)][_0x5377c8(0x6a)](_0x1360f5=>{const _0x48a221=_0x5377c8,_0xc7fe0e=_0x1360f5[_0x48a221(0x22a)];_0xc7fe0e!=null&&this[_0x48a221(0xb5)]&&_0x1360f5['id']===Y[_0x48a221(0x12c)]['id']&&_0xc7fe0e[_0x48a221(0x7a)]===this[_0x48a221(0x1ff)]&&_0xc7fe0e[_0x48a221(0x200)]===!0x1&&_0xc7fe0e[_0x48a221(0x2a9)][_0x48a221(0x10c)]>0x0&&this[_0x48a221(0x102)](_0xc7fe0e[_0x48a221(0x2a9)]);})),this[_0x5377c8(0x1e6)]['collabCursorState$']['pipe'](d[_0x5377c8(0x24c)](this[_0x5377c8(0x9d)]))['subscribe'](_0x15b1b2=>{const _0x1d7645=_0x5377c8;if((_0x15b1b2==null?void 0x0:_0x15b1b2[_0x1d7645(0x1ff)])!==this[_0x1d7645(0x1ff)])return;const _0x3d620d={'eventID':m[_0x1d7645(0xed)][_0x1d7645(0xe4)],'data':_0x15b1b2};this[_0x1d7645(0x1d0)](_0x3d620d);}),this['disposeWithMe'](this['_commandService'][_0x5377c8(0x6a)](_0x29a8c8=>{const _0x1a52c4=_0x5377c8;if(_0x29a8c8['params']==null)return;const _0x553593=_0x29a8c8[_0x1a52c4(0x22a)];if(_0x29a8c8['id']!==Y[_0x1a52c4(0xfc)]['id']||_0x553593['unitId']!==this[_0x1a52c4(0x1ff)])return;const _0x44402b={'id':_0x1a52c4(0x2ce),'params':_0x553593},_0x44732f=this[_0x1a52c4(0x182)];for(const [_0x134ec9,_0x17afa4]of _0x44732f){const _0x3ffdc5={'id':_0x1a52c4(0x2ce),'params':{'unitId':this[_0x1a52c4(0x1ff)],'actions':null,'textRanges':_0x17afa4[_0x1a52c4(0x2a9)]}},_0x34d181=this[_0x1a52c4(0x105)][_0x1a52c4(0xdf)](_0x44402b,_0x3ffdc5,!0x1);if(m[_0x1a52c4(0xca)](_0x34d181))throw _0x34d181[_0x1a52c4(0x1a2)];_0x44732f['set'](_0x134ec9,{..._0x17afa4,'ranges':_0x34d181[_0x1a52c4(0xba)][_0x1a52c4(0x22a)][_0x1a52c4(0x7b)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x44732f);});})));}[_0x4af93f(0x1d0)](_0x3ff78a){const _0x3dfcd5=_0x4af93f;var _0x1d7a70,_0x377cf5;const {memberID:_0x59d87d,selection:_0x7e33d5}=_0x3ff78a[_0x3dfcd5(0x2d7)],_0x1a8fd9=Ze(_0x7e33d5),_0x127e75=(_0x377cf5=(_0x1d7a70=this[_0x3dfcd5(0x2b8)][_0x3dfcd5(0x207)](this['unitID'],_0x59d87d))==null?void 0x0:_0x1d7a70['name'])!=null?_0x377cf5:'Unknown\x20user',_0x220443={'color':this[_0x3dfcd5(0x26e)][_0x3dfcd5(0x184)](_0x59d87d),'name':_0x127e75,'ranges':_0x1a8fd9},_0x5f3fb7=this[_0x3dfcd5(0x182)];_0x5f3fb7[_0x3dfcd5(0x167)](_0x59d87d,_0x220443),this[_0x3dfcd5(0x7e)][_0x3dfcd5(0x2c4)](_0x5f3fb7);}['_onCursorDelete'](_0x23e62a){const _0x4e1cbc=_0x4af93f,{memberID:_0x32775f}=_0x23e62a[_0x4e1cbc(0x2d7)],_0x24c585=this[_0x4e1cbc(0x182)];_0x24c585[_0x4e1cbc(0x2d0)](_0x32775f),this[_0x4e1cbc(0x7e)]['next'](_0x24c585);}[_0x4af93f(0x293)](){const _0x299100=_0x4af93f;var _0x1b4e22;if(this[_0x299100(0xb5)]=!0x0,((_0x1b4e22=this[_0x299100(0x2c1)][_0x299100(0xae)]())==null?void 0x0:_0x1b4e22[_0x299100(0x1c7)]())!==this['unitID'])return;const _0x2da4fd=this[_0x299100(0x23b)][_0x299100(0x27f)](Y[_0x299100(0x67)])[_0x299100(0x11b)]();Array['isArray'](_0x2da4fd)&&_0x2da4fd[_0x299100(0x10c)]>0x0&&this[_0x299100(0x102)](_0x2da4fd);}[_0x4af93f(0x1ef)](){this['_online']=!0x1;}};Se=et([L(0x2,a['Inject'](a['Injector'])),L(0x3,a[_0x4af93f(0x2a1)](Ce)),L(0x4,a[_0x4af93f(0x2a1)](u[_0x4af93f(0x80)])),L(0x5,a['Inject'](pe)),L(0x6,m[_0x4af93f(0x2df)]),L(0x7,a[_0x4af93f(0x9c)]),L(0x8,a['ICommandService'])],Se);var nt=Object[_0x4af93f(0x267)],it=(_0x1d986a,_0x3a0c33,_0x16deda,_0x1972e2)=>{const _0x478771=_0x4af93f;for(var _0x5c4b44=_0x1972e2>0x1?void 0x0:_0x1972e2?nt(_0x3a0c33,_0x16deda):_0x3a0c33,_0x439aaa=_0x1d986a[_0x478771(0x10c)]-0x1,_0x58e0a6;_0x439aaa>=0x0;_0x439aaa--)(_0x58e0a6=_0x1d986a[_0x439aaa])&&(_0x5c4b44=_0x58e0a6(_0x5c4b44)||_0x5c4b44);return _0x5c4b44;},A=(_0x462d5a,_0x4346f4)=>(_0xc91796,_0x5e69b0)=>_0x4346f4(_0xc91796,_0x5e69b0,_0x462d5a);const rt=0x12c,ot=0x64,at=()=>{let _0x51ee7e=[],_0x126880=!0x1;return _0x52c3a8=>{const _0x163ccc=_0x11d6;_0x51ee7e[_0x163ccc(0x181)](_0x52c3a8),_0x126880||(_0x126880=!0x0,setTimeout(()=>{_0x51ee7e['forEach'](_0x3f6857=>_0x3f6857()),_0x51ee7e=[],_0x126880=!0x1;}));};};let Ie=class extends a['RxDisposable']{constructor(_0x4f8a1d,_0x353b06,_0x3a00b0,_0x49dd75,_0x235290,_0x11d385,_0x5a742d,_0xb2e748){const _0x53d25e=_0x4af93f;super(),_(this,_0x53d25e(0xb5),!0x1),_(this,_0x53d25e(0xdb),!0x1),_(this,_0x53d25e(0x7e),new d[(_0x53d25e(0x158))](new Map())),_(this,_0x53d25e(0x27e),this['_cursorInfo$']['asObservable']()),_(this,_0x53d25e(0x2b2),new d[(_0x53d25e(0x158))]([])),_(this,'roomMembers$',this[_0x53d25e(0x2b2)][_0x53d25e(0x131)](d['debounceTime'](rt))),_(this,_0x53d25e(0x102),a[_0x53d25e(0x1ec)]((_0x41eb3b,_0x31d881)=>{const _0x5ad9f1=_0x53d25e,_0x402381={'eventID':m[_0x5ad9f1(0xed)][_0x5ad9f1(0xe4)],'data':{'unitID':this[_0x5ad9f1(0x1ff)],'memberID':this['_session'][_0x5ad9f1(0x19d)](),'selection':Te[_0x5ad9f1(0xb7)](_0x41eb3b,_0x31d881[_0x5ad9f1(0xe9)])}};this['_session'][_0x5ad9f1(0x28f)](_0x402381,this[_0x5ad9f1(0x1ff)]);},ot)),(this[_0x53d25e(0x1ff)]=_0x4f8a1d,this['_session']=_0x353b06,this[_0x53d25e(0x23b)]=_0x3a00b0,this[_0x53d25e(0x26e)]=_0x49dd75,this[_0x53d25e(0x2b8)]=_0x235290,this[_0x53d25e(0x2c1)]=_0x11d385,this[_0x53d25e(0x22f)]=_0x5a742d,this['_refRangeService']=_0xb2e748);}get[_0x4af93f(0x182)](){const _0x35fc08=_0x4af93f;return this[_0x35fc08(0x7e)][_0x35fc08(0x109)]();}get['roomMembers'](){const _0x1a4b13=_0x4af93f;return this[_0x1a4b13(0x2b2)]['getValue']();}[_0x4af93f(0x1a7)](){const _0x30d319=_0x4af93f;super['dispose'](),this[_0x30d319(0x7e)][_0x30d319(0x2c4)](new Map()),this['_cursorInfo$'][_0x30d319(0x1c0)](),this[_0x30d319(0x2b2)][_0x30d319(0x2c4)]([]),this[_0x30d319(0x2b2)][_0x30d319(0x1c0)]();}[_0x4af93f(0xcf)](){const _0x227204=_0x4af93f;this[_0x227204(0xdb)]||(this[_0x227204(0xdb)]=!0x0,this[_0x227204(0x1d3)][_0x227204(0x183)][_0x227204(0x131)](d[_0x227204(0x24c)](this['dispose$']))[_0x227204(0xdd)](_0x1f3ee6=>{const _0x219e6d=_0x227204;_0x1f3ee6===u[_0x219e6d(0x8a)][_0x219e6d(0x14d)]?this[_0x219e6d(0x293)]():this[_0x219e6d(0x1ef)]();}),this[_0x227204(0x1d3)]['event$']['pipe'](d[_0x227204(0x24c)](this[_0x227204(0x9d)]))['subscribe'](_0xbcadeb=>{const _0x1a5ec7=_0x227204,_0x3111dd=_0xbcadeb['eventID'];_0x3111dd===m['CollaborationEvent'][_0x1a5ec7(0xe4)]&&this[_0x1a5ec7(0x1d0)](_0xbcadeb),_0x3111dd===m[_0x1a5ec7(0xed)]['USERS_LEAVE']&&this[_0x1a5ec7(0x1e0)](_0xbcadeb);}),this[_0x227204(0xab)](),this[_0x227204(0xcc)](this[_0x227204(0x22f)][_0x227204(0x6a)](_0x435836=>{const _0x416046=_0x227204;if(this[_0x416046(0xb5)]&&_0x435836['id']===g[_0x416046(0x1a9)]['id']&&_0x435836[_0x416046(0x22a)][_0x416046(0x7a)]===this[_0x416046(0x1ff)]){const _0x193f0=_0x435836[_0x416046(0x22a)];this['_updateLocalCursor'](_0x193f0['subUnitId'],_0x193f0[_0x416046(0x1fd)][0x0]);}})));}['_onCursorUpdate'](_0x42916b){const _0x4fe576=_0x4af93f;var _0xa63a69,_0x300006;const {memberID:_0x1f2da4,selection:_0x94ebd}=_0x42916b[_0x4fe576(0x2d7)],{sheetName:_0x5daa61,range:_0x2c5590}=Te[_0x4fe576(0xd7)](_0x94ebd),_0x2750b6={'name':(_0x300006=(_0xa63a69=this[_0x4fe576(0x2b8)][_0x4fe576(0x207)](this[_0x4fe576(0x1ff)],_0x1f2da4))==null?void 0x0:_0xa63a69[_0x4fe576(0x209)])!=null?_0x300006:_0x4fe576(0x88),'range':this[_0x4fe576(0x2d2)](_0x5daa61,_0x2c5590),'sheetID':_0x5daa61,'color':this[_0x4fe576(0x26e)][_0x4fe576(0x184)](_0x1f2da4),'selection':_0x94ebd},_0x1b07b9=this['cursorInfo'];_0x1b07b9[_0x4fe576(0x167)](_0x1f2da4,_0x2750b6),this[_0x4fe576(0x7e)][_0x4fe576(0x2c4)](_0x1b07b9);}['_onCursorDelete'](_0x100b7e){const _0x45bec4=_0x4af93f,{memberID:_0x598f32}=_0x100b7e[_0x45bec4(0x2d7)],_0x32f7e7=this[_0x45bec4(0x182)];_0x32f7e7[_0x45bec4(0x2d0)](_0x598f32),this['_cursorInfo$'][_0x45bec4(0x2c4)](_0x32f7e7);}[_0x4af93f(0x2d2)](_0x34864a,_0x1bdcb8){const _0x2223d4=_0x4af93f;var _0xbf6232,_0x5a7717;const _0x2456ce=(_0x5a7717=(_0xbf6232=this[_0x2223d4(0x2c1)]['getUniverSheetInstance'](this[_0x2223d4(0x1ff)]))==null?void 0x0:_0xbf6232[_0x2223d4(0x28e)](_0x34864a))==null?void 0x0:_0x5a7717['getMergeData']();return(_0x2456ce==null?void 0x0:_0x2456ce['find'](_0x4d28b7=>a[_0x2223d4(0xa0)][_0x2223d4(0x195)](_0x4d28b7,_0x1bdcb8)))||_0x1bdcb8;}[_0x4af93f(0xab)](){const _0x3fa649=_0x4af93f,_0x5b24e9=new a[(_0x3fa649(0xc0))](),_0x46559f=at(),_0x4650ba=()=>{const _0x398546=_0x3fa649;_0x5b24e9['dispose']();const _0x150815=(_0x33d801,_0x2d6818,_0x20a376,_0x2bd0a0)=>{const _0x52ee40=_0x11d6;let _0x2e015f=[];switch(_0x33d801['id']){case g[_0x52ee40(0x2c5)][_0x52ee40(0xe1)]:{_0x2e015f=g['handleDeleteRangeMoveLeft'](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x12b)]:{_0x2e015f=g[_0x52ee40(0x256)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0xd6)]:{_0x2e015f=g[_0x52ee40(0x68)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0xb8)]:{_0x2e015f=g['handleInsertRangeMoveDown'](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x239)]:{_0x2e015f=g[_0x52ee40(0x1a6)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)]['InsertRowCommandId']:{_0x2e015f=g[_0x52ee40(0x220)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x260)]:{_0x2e015f=g[_0x52ee40(0x258)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x15e)]:{_0x2e015f=g['handleIRemoveCol'](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x277)]:{_0x2e015f=g[_0x52ee40(0xbf)](_0x33d801,_0x2bd0a0);break;}}const _0x24f065=g[_0x52ee40(0x11f)](_0x2e015f,_0x2bd0a0),_0x463701=this['cursorInfo'][_0x52ee40(0x27f)](_0x2d6818);if(_0x463701&&_0x24f065){const _0x3fb41c={..._0x463701,'range':_0x24f065};this[_0x52ee40(0x182)][_0x52ee40(0x167)](_0x2d6818,_0x3fb41c),_0x46559f(()=>{const _0x21864d=_0x52ee40,_0x5b0fc8=this[_0x21864d(0x146)][_0x21864d(0x175)](_0x24f065,_0x37d5df=>(_0x5b0fc8[_0x21864d(0x1a7)](),_0x150815(_0x37d5df,_0x2d6818,_0x20a376,_0x24f065)));_0x5b24e9[_0x21864d(0x13d)](_0x5b0fc8);});}return{'redos':[],'undos':[]};};this[_0x398546(0x182)][_0x398546(0x2c9)]((_0x52143c,_0x4b90b2)=>{const _0xe1f719=_0x398546,{range:_0x497080,sheetID:_0x3bfce1}=_0x52143c,_0x21eae9=this[_0xe1f719(0x146)][_0xe1f719(0x175)](_0x497080,_0x416ef4=>(_0x21eae9['dispose'](),_0x150815(_0x416ef4,_0x4b90b2,_0x3bfce1,_0x497080)));_0x5b24e9[_0xe1f719(0x13d)](_0x21eae9);});};this[_0x3fa649(0xcc)](a['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x4650ba();})));}[_0x4af93f(0x293)](){const _0x450b0e=_0x4af93f;var _0x512ab5,_0x2724cc;if(this[_0x450b0e(0xb5)]=!0x0,((_0x512ab5=this[_0x450b0e(0x2c1)]['getFocusedUnit']())==null?void 0x0:_0x512ab5[_0x450b0e(0x1c7)]())!==this['unitID'])return;const _0x13f392=(_0x2724cc=this['_injector'][_0x450b0e(0x27f)](g['SheetsSelectionsService'])[_0x450b0e(0x8e)]())==null?void 0x0:_0x2724cc[0x0],_0x30f7eb=this['_univerInstanceService'][_0x450b0e(0x13e)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x450b0e(0x216)]();_0x13f392&&_0x30f7eb&&this['_updateLocalCursor'](_0x30f7eb[_0x450b0e(0x1ca)](),_0x13f392);}[_0x4af93f(0x1ef)](){const _0x45fc3f=_0x4af93f;this[_0x45fc3f(0xb5)]=!0x1;}};Ie=it([A(0x2,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x187)])),A(0x3,a[_0x4af93f(0x2a1)](Ce)),A(0x4,a[_0x4af93f(0x2a1)](u[_0x4af93f(0x80)])),A(0x5,a[_0x4af93f(0x9c)]),A(0x6,a['ICommandService']),A(0x7,a[_0x4af93f(0x2a1)](g[_0x4af93f(0x28d)]))],Ie);var ct=Object[_0x4af93f(0x267)],lt=(_0x443c5c,_0x5de7c1,_0x19a6db,_0xde7a7f)=>{const _0x4fa1a4=_0x4af93f;for(var _0x3a5ca0=_0xde7a7f>0x1?void 0x0:_0xde7a7f?ct(_0x5de7c1,_0x19a6db):_0x5de7c1,_0x52c370=_0x443c5c[_0x4fa1a4(0x10c)]-0x1,_0x586712;_0x52c370>=0x0;_0x52c370--)(_0x586712=_0x443c5c[_0x52c370])&&(_0x3a5ca0=_0x586712(_0x3a5ca0)||_0x3a5ca0);return _0x3a5ca0;},ie=(_0x4c9d76,_0x481d37)=>(_0x59dd84,_0x155ce8)=>_0x481d37(_0x59dd84,_0x155ce8,_0x4c9d76);function _0x11d6(_0x32f84f,_0x147c15){const _0x39f5f3=_0x39f5();return _0x11d6=function(_0x11d662,_0x261792){_0x11d662=_0x11d662-0x66;let _0xecd897=_0x39f5f3[_0x11d662];return _0xecd897;},_0x11d6(_0x32f84f,_0x147c15);}let x=class extends a[_0x4af93f(0x193)]{constructor(_0x178181,_0x47c97a,_0x50743c){const _0x86e235=_0x4af93f;super(),_(this,_0x86e235(0x2ab),new Map()),_(this,_0x86e235(0x14b),new d[(_0x86e235(0x196))]()),(this['_univerInstanceService']=_0x178181,this[_0x86e235(0x23b)]=_0x47c97a,this[_0x86e235(0x237)]=_0x50743c,this[_0x86e235(0xdb)]());}['dispose'](){const _0x37aa22=_0x4af93f;super['dispose'](),this[_0x37aa22(0x14b)][_0x37aa22(0x1c0)](),this[_0x37aa22(0x2ab)][_0x37aa22(0x2c9)](_0x44c268=>_0x44c268[_0x37aa22(0x1a7)]());}[_0x4af93f(0x2aa)](_0x205962){const _0x24b9b8=_0x4af93f;return this[_0x24b9b8(0x2ab)]['has'](_0x205962)?this[_0x24b9b8(0x2ab)][_0x24b9b8(0x27f)](_0x205962)[_0x24b9b8(0x27e)]:this[_0x24b9b8(0x14b)][_0x24b9b8(0x131)](d[_0x24b9b8(0x16e)](_0x28173d=>_0x28173d[_0x24b9b8(0x1ff)]===_0x205962),d['switchMap'](_0x55ea45=>_0x55ea45['cursorInfo$']));}[_0x4af93f(0xdb)](){const _0x3d64cf=_0x4af93f;this[_0x3d64cf(0x2c1)][_0x3d64cf(0x14f)](a['UniverInstanceType'][_0x3d64cf(0x2d8)])[_0x3d64cf(0x131)](d[_0x3d64cf(0x24c)](this[_0x3d64cf(0x9d)]))[_0x3d64cf(0xdd)](async _0x4b4eb1=>{const _0x14277f=_0x3d64cf,_0x47a713=_0x4b4eb1[_0x14277f(0x1c7)](),_0x13a5e9=await this[_0x14277f(0x276)](_0x47a713);this['_entityInit$'][_0x14277f(0x2c4)](_0x13a5e9),this[_0x14277f(0x2ab)]['set'](_0x47a713,_0x13a5e9);}),this[_0x3d64cf(0x2c1)][_0x3d64cf(0x14f)](a[_0x3d64cf(0x222)][_0x3d64cf(0x259)])[_0x3d64cf(0x131)](d['takeUntil'](this[_0x3d64cf(0x9d)]))[_0x3d64cf(0x131)](d[_0x3d64cf(0x16e)](_0x2e7606=>!_0x2e7606[_0x3d64cf(0x1c7)]()[_0x3d64cf(0x185)]('__')))[_0x3d64cf(0xdd)](async _0x33a83c=>{const _0xc60ea7=_0x3d64cf,_0x4d72df=_0x33a83c[_0xc60ea7(0x1c7)](),_0x1c0f04=await this[_0xc60ea7(0x2d5)](_0x4d72df);this[_0xc60ea7(0x14b)]['next'](_0x1c0f04),this['_entities'][_0xc60ea7(0x167)](_0x4d72df,_0x1c0f04);}),d[_0x3d64cf(0x85)](this[_0x3d64cf(0x2c1)][_0x3d64cf(0x205)](a[_0x3d64cf(0x222)][_0x3d64cf(0x259)]),this[_0x3d64cf(0x2c1)][_0x3d64cf(0x205)](a['UniverInstanceType'][_0x3d64cf(0x2d8)]))[_0x3d64cf(0x131)](d[_0x3d64cf(0x24c)](this[_0x3d64cf(0x9d)]))['subscribe'](_0x1688f3=>{const _0x2159bb=_0x3d64cf,_0x1f8964=_0x1688f3[_0x2159bb(0x1c7)](),_0x216050=this[_0x2159bb(0x2ab)][_0x2159bb(0x27f)](_0x1f8964);_0x216050&&(_0x216050[_0x2159bb(0x1a7)](),this[_0x2159bb(0x2ab)]['delete'](_0x1f8964));});}async[_0x4af93f(0x276)](_0x39d494){const _0x162ea9=_0x4af93f,_0x568a97=await this[_0x162ea9(0x237)]['requireSession'](_0x39d494),_0x1083ab=this[_0x162ea9(0x23b)]['createInstance'](Ie,_0x39d494,_0x568a97);return _0x1083ab[_0x162ea9(0xcf)](),_0x1083ab;}async[_0x4af93f(0x2d5)](_0x205b89){const _0x4977b6=_0x4af93f,_0x1f16a8=await this[_0x4977b6(0x237)]['requireSession'](_0x205b89),_0x2ee9b8=this['_injector'][_0x4977b6(0x79)](Se,_0x205b89,_0x1f16a8);return _0x2ee9b8[_0x4977b6(0xcf)](),_0x2ee9b8;}};x=lt([ie(0x0,a['IUniverInstanceService']),ie(0x1,a['Inject'](a[_0x4af93f(0x187)])),ie(0x2,a[_0x4af93f(0x2a1)](u[_0x4af93f(0x143)]))],x);const K=0x14,De=0xc8,re=0x4,_t=0x5;function _0x39f5(){const _0x5f1fa5=['onRendered','_getScale','handleInsertRangeMoveRight','dispose','_anchorDot','SetSelectionsOperation','UnitStatus','NodePositionConvertToRectRange','[CollaborationDataLoaderController]','_uiPartsService','Shape','forwardRef','DesktopCollaborationStatusDisplayController','_selfUnitIDs','_saveCache','IURLService','RemoteUniscriptService','MessageType','PERMISSION_DENIED','ICommandService','registerRenderModule','createSocket','_notificationService','createIdentifier','react','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','_drawTextRange','colorChannel1','complete','defineProperty','setParam','session.will-retry','endRow','SetDocZoomRatioOperation','2561840LLXCBI','getUnitId','stringify','DocCollaborationEntity','getSheetId','0\x200\x2016\x2016','@univerjs/docs','collab-text-anchor-','propertyIsEnumerable','shareReplay','_onCursorUpdate','0\x200\x2017\x2016','combineLatest','_session','_initDependencies','collaboration-client.offline-data-not-saved','OffLineSingle','IRenderManagerService','PY_RUNTIME_SCRIPT_ERROR','backgroundColor','measureText','@univerjs-pro/collaboration','replaceDocRanges','subunit','post','_registerRenderDependencies','_onCursorDelete','WebURLService','round','history','blue400','_anchor','_syncEditingCollabCursorService','toString','url(#$1','clearInterval','black','from','debounce','USER_NOT_INVITED_CODE','AWAITING','_toggleOffline','findNodePositionByCharIndex','jsx','extend','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SYNCED','text','moveTo','_configService','_sheetSkeletonManagerService','447559OdpKuO','transformIMECache','path','children','selections','unsubscribe','unitID','isEditing','TEXT','collabStatus.synced','red300','executeCommand','getTypeOfUnitDisposed$','_unitOnClients','getMember','WebBrowserSingleActiveUnitService','name','addClipboardHook','max','_saveTaskMap','IConfigService','loadOfflineData','univer-online-status-icon','currentSkeleton$','ILocalCacheService','registerComponent','DocIMEInputManagerService','_document','_getSessionTicket','getActiveSheet','getSkeleton','substring','CHANGESET_REVISION_CONFILICT','status$','session.connection-failed','_collabCursorState$','origin','ILogService','engine','handleInsertRow','bottom','UniverInstanceType','USERS_LEAVE','APPLY_PERMISSION_DENIED','arc','_removeClearOtherTimer','hide','168NFDczF','Workbook','params','assign','application/json','_assignedColors','CollaborationController','_commandService','879110nPgToY','collaboration.closeRoom','UNAUTHENTICATED','fillRule','WECHAT_HAS_BEEN_BOUND','transform','...','_collabSessionService','permission.content','InsertRangeMoveRightCommandId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_injector','getLocalCacheKey','hasOwnProperty','debounceTime','online','clipPath','collab-rect-range-','onPointerEnter$','_initEvent','runOnServer','_createSocketURL','Vector2','SUBMIT_CHANGESET_TIMEOUT','hovered','_collabCursorController','AWAITING_WITH_PENDING','Rect','takeUntil','_context','_transformHistoryAndStateStack','subscribeEvent','addObject','eventID','@univerjs/sheets','OFFLINE','COMPLETION_FINISHED','idSuffix','handleDeleteRangeMoveUp','_cursorShapes','handleMoveRange','UNIVER_DOC','defIds','DataLoaderService','FromArray','getRenderById','_scheduleHeartbeat','column','MoveRangeCommandId','event$','YUUMI_UNABLE_LOAD_URL','_setupSubUnitSync','_getAnchorBounding','UNRECOGNIZED','APPLY_REJECT','getOwnPropertyDescriptor','MUTATION','entries','generateRandomId','string','JOIN_ROOM_FAILED','univer-flex\x20univer-items-center','_colorAssignService','DOC_RANGE_TYPE','registerBeforeClose','SNAPSHOT_INVALID_SNAPSHOT','_themeService','_disabled','INVITE_CODE_HAS_BEEN_UES','IMessageService','_startSheetCollabCursor','RemoveRowCommandId','then','UNDEFINED','mapTo','clsx','updateOfflineData','_id','cursorInfo$','get','type','_send','getAncestorScale','setActiveRange','none','_hover','_docTransformStateCacheService','save','NOT_COLLAB','searchParams','LOCAL_CACHE_INTERVAL','getConfig','min','RefRangeService','getSheetBySheetId','send','setTimeout','_imageIoService','OTHER_CLIENT_EDITING','_toggleOnline','with','getUnitStatus$','result','SOCKET_FAILED_RETRY','_handleLeaveEvent','addEventListener','session.collaboration-timeout','enableLocalCache','_initEntityListener','_hovered','@univerjs/sheets-ui','CommandType','CollaborationUIEventId','Inject','collabStatus.syncing','off-line-single','ticket','_hideTimer','fromEvent','urlChange$','apply','ranges','getCollabCursors$','_entities','loadUnit','SNAPSHOT_HAS_BEEN_REMOVED','_config','useRef','HTTPService','url(#off-line-single_clip0_910_343)','_roomMembers$','CollaborationDataLoaderController','INVALID_INVITE_CODE','getViewport','YUUMI_ASYNCIO_CANCELLED','values','_memberService','TOO_MANY_REQUESTS','_docTransformSelectionsService','BrowserCollaborationSocketService','getCollabEntity$','onTransformChange$','_handleEvent','UniverIcon','ILocalStorageService','_univerInstanceService','setInterval','transformStateCache','next','EffectRefRangId','RECT','key','getCellPositionByOffset','forEach','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getCurrent','asObservable','react/jsx-runtime','doc.mutation.rich-text-editing','concat','delete','INVALID_ARGUMENT','_getMergeRange','jiqing500','_initStatusComponent','_startDocCollabCursor','transformRemoteChangeset','data','UNIVER_SHEET','_collaborationController','LICENSE_MAX_UNITS_EXCEEDED','_updateURLWithCurrentState','setStateCache','_eventUnsubscribe','attrs','ITransformService','_handleJoinEvent','_renderManagerService','wsSessionTicketUrl','_beforeCloseService','collabStatus.fetchMiss','ISnapshotServerService','redoState','SHEET_VIEWPORT_KEY','M0\x200H16V16H0z','DocSelectionManagerService','handleInsertCol','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onCommandExecuted','Module','evenodd','on-line-single_clip0_910_349','LOCAL_CACHE_INTERVAL_KEY','currentColor','getParam','_labelPosition','_httpService','Error','_scene','getCoordByCell','1em','18gIHUot','FETCH_MISS','createInstance','unitId','textRanges','_localeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cursorInfo$','transformMutationsWithChangeset','MemberService','_refreshCollabCursors','m1Prime','deepClone','_color','merge','sessionTicket','LOGIN_FAILED','Unknown\x20user','xlink:href','SessionStatus','gold400','_scheduleSaving','_updateSubUnitFromURLParams','getCurrentSelections','mutations','getStateCache','@univerjs/ui','mergeOverrideWithDependencies','_registerDependencies','MOBILE_HAS_BEEN_BOUND','_updateCollabCursors','editingUnit','_instanceService','purple300','toStringTag','prototype','_name','IUniverInstanceService','dispose$','location','debug','Rectangle','triggerDblclick','_cachedData','Tooltip','@univerjs/engine-render','_scheduleClearOtherTimer','current','Plugin','url(#on-line-single_clip0_910_349)','closePath','_render','_onRefRangeChange','2532CuBUFq','CONFLICT','getFocusedUnit','DependentOn','NO_OTHER_CLIENTS_EDITING','fillStyle','_handleHeartbeatEvent','restore','replace','_online','exhaustSavingTask','serializeRangeWithSheet','InsertRangeMoveDownCommandId','INVITE_CODE_REQUIRED','m2Prime','_unitStatus','_docTransformIMECacheService','startRow','_localStorageService','handleIRemoveRow','DisposableCollection','width','CLOSE_ROOM','top','replaceState','transformSelections','defs','mask','/run/','pushState','isTransformMutationFailure','memberID','disposeWithMe','getActiveRange','toDisposable','init','whenReady','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IImageIoService','_initResize','unload','split','InsertColCommandId','deserializeRangeWithSheet','Failed','_ensureSubject','@univerjs/docs-ui','_init','collabStatus.conflict','subscribe','createElement','transformMutation','_backgroundColor','DeleteRangeMoveLeftCommandId','5DzDIeV','ColorKit','UPDATE_CURSOR','beginPath','_docSkeleton','BuiltInUIPart','Warning','range','fill','univer-offline','sheetID','CollaborationEvent','onlineStatusTitle','executionId','drawWith','_docSkeletonManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerLeave$','#fff','univer-online','LICENSE_IMPORT_SIZE_EXCEEDED','1749099gXPsdz','entityInit$','CONNECTOR_DATA_TOO_LARGE','rgba(255,\x20255,\x20255,\x200.01)','href','RichTextEditingMutation','CollaborationStatus','getUndoRedoMutationParamsCache','IDocClipboardService','size','_colorIndex','_updateLocalCursor','connectInjector','call','_transformService','syncEditingCollabCursor','ALREADY_EXISTS','offline','getValue','_revisionService','toRgbString','length','distinctUntilChanged','Tools','override','onMouseMove','getUnhiddenWorksheets','TEXT_RANGE_LAYER_INDEX','getOwnPropertySymbols','show','tag','setItem','EMAIL_HAS_BEEN_BOUND','Optional','_status$','_dataLoaderService','getDocRanges','currentTheme$','map','code','runRefRangeMutations','symbol','getColor','UniverCollaborationClientUIPlugin','svg','roomMembers$','_lastPointer','unit','_collaborationUIEventService','isArray','ENSURE_SNAPSHOT_EXECUTION','_initStatusListener','DeleteRangeMoveUpCommandId','SetTextSelectionsOperation','fillText','newValue','_logService','actions','pipe','resize','height','_shapes','_transformPreviousActiveRange','DocStateChangeManagerService','univer-online-status','WebSocketService','_docStateChangeManagerService','NodePositionConvertToCursor','selection','isActive','add','getCurrentUnitForType','collabStatus.offline','setShapeProps','color','INVITE_CODE_ALREADY_BOUND','CollaborationSessionService','HEADER_MENU','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_refRangeService','LocaleService','has','on-line-single','function','_entityInit$','Disposable','ONLINE','@univerjs/drawing','getTypeOfUnitAdded$','lineTo','_setupBeforeClosingHandler','NOT_FOUND','PENDING','7100466dJDNvd','_cursors','displayName','1681356zMrArm','BehaviorSubject','throttleTime','some','IRemoteInstanceService','collab-client.tooltip.reconnect','_drawAnchor','RemoveColCommandId','jsxs','_cursor','body','indexOf','parse','_transformUndoRedoStack','icon','trim','set','APPLY_DUPLICATED','disableLocalCache','_messageService','650XmKvPx','_handleHover','ThemeService','filter','_drawRectRange','YUUMI_RATE_OVER_LIMIT','div','LICENSE_EXPORT_SIZE_EXCEEDED','collab-text-range-','_clearOtherTimers','registerRefRange','activeSheet$','getCurrentRevOfUnit','pluginName','_removeCollabCursors','useObservable','onlineStatus','runId','switchMap','RegularPolygon','storage','saveTaskMap','push','cursorInfo','sessionStatus$','assignAColorForMemberID','startsWith','UniverCollaborationClientPlugin','Injector','APPLY_NON_SEQUENTIAL_REVISION','font','setAlpha','COLORS','_draw','verdancy600','_urlService','INTERNAL_ERROR','_getSheetObject','getRangePointData','_range','RxDisposable','APPLY_REVISION_CONFILICT','contains','Subject','_heartbeatTimer','collaboration.single-unit.warning','OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationStatusDisplay','clearTimeout','getMemberID','fromEventSubject','setConfig','skeleton','_textBubble','error','ISocketService'];_0x39f5=function(){return _0x5f1fa5;};return _0x39f5();}function ht(_0x308f44,_0x21cd22){const _0x335d76=_0x4af93f;let {radius:_0x153302,width:_0x2c306a,height:_0x84b1ed}=_0x21cd22;_0x153302=_0x153302!=null?_0x153302:0x0,_0x2c306a=_0x2c306a!=null?_0x2c306a:0x1e,_0x84b1ed=_0x84b1ed!=null?_0x84b1ed:0x1e;let _0x5d427d=0x0,_0x288cb0=0x0,_0x46eed0=0x0;_0x5d427d=_0x288cb0=_0x46eed0=Math[_0x335d76(0x28c)](_0x153302,_0x2c306a/0x2,_0x84b1ed/0x2),_0x308f44[_0x335d76(0xe5)](),_0x308f44[_0x335d76(0x1f6)](_0x5d427d,0x0),_0x308f44[_0x335d76(0x150)](_0x2c306a-_0x288cb0,0x0),_0x308f44[_0x335d76(0x225)](_0x2c306a-_0x288cb0,_0x288cb0,_0x288cb0,Math['PI']*0x3/0x2,0x0,!0x1),_0x308f44[_0x335d76(0x150)](_0x2c306a,_0x84b1ed-_0x46eed0),_0x308f44[_0x335d76(0x225)](_0x2c306a-_0x46eed0,_0x84b1ed-_0x46eed0,_0x46eed0,0x0,Math['PI']/0x2,!0x1),_0x308f44[_0x335d76(0x150)](0x0,_0x84b1ed),_0x308f44[_0x335d76(0x150)](0x0,_0x5d427d),_0x308f44[_0x335d76(0x225)](_0x5d427d,_0x5d427d,_0x5d427d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x308f44[_0x335d76(0xa9)](),_0x21cd22[_0x335d76(0xea)]&&(_0x308f44[_0x335d76(0x287)](),_0x308f44['fillStyle']=_0x21cd22[_0x335d76(0xea)],_0x21cd22[_0x335d76(0x233)]===_0x335d76(0x6c)?_0x308f44['fill'](_0x335d76(0x6c)):_0x308f44[_0x335d76(0xea)](),_0x308f44[_0x335d76(0xb3)]());}class te extends p[_0x4af93f(0x1ae)]{constructor(_0x3ed0d5,_0x3e1216){const _0x143790=_0x4af93f;super(_0x3ed0d5,_0x3e1216),_(this,_0x143790(0x141)),_(this,'text'),(this[_0x143790(0x141)]=_0x3e1216==null?void 0x0:_0x3e1216[_0x143790(0x141)],this[_0x143790(0x1f5)]=_0x3e1216==null?void 0x0:_0x3e1216['text']);}static[_0x4af93f(0xf0)](_0x5d9a0f,_0x5cc082){const _0x39e2a1=_0x4af93f,{text:_0x25e612,color:_0x3a7465}=_0x5cc082;_0x5d9a0f['save'](),_0x5d9a0f[_0x39e2a1(0x189)]=_0x39e2a1(0x145);const _0x97ba1f=_0x5d9a0f[_0x39e2a1(0x1da)](_0x25e612)[_0x39e2a1(0xc1)],_0xf93b89=Math[_0x39e2a1(0x28c)](_0x97ba1f+0x2*re,De);ht(_0x5d9a0f,{'height':K,'radius':0x4,'width':_0xf93b89,'fill':_0x3a7465}),_0x5d9a0f[_0x39e2a1(0xb1)]='#FFF';const _0x5b71a6=re,_0x3da2d0=K-_t,_0xa02187=De-0x2*re;if(_0x97ba1f>_0xa02187){let _0x8ddb00='',_0x4dfefc=0x0;for(const _0x7492b2 of _0x25e612){const _0x32f888=_0x5d9a0f[_0x39e2a1(0x1da)](_0x7492b2)['width'];if(_0x4dfefc+_0x32f888<=_0xa02187-_0x5d9a0f[_0x39e2a1(0x1da)](_0x39e2a1(0x236))[_0x39e2a1(0xc1)])_0x8ddb00+=_0x7492b2,_0x4dfefc+=_0x32f888;else{_0x8ddb00+=_0x39e2a1(0x236);break;}}_0x5d9a0f[_0x39e2a1(0x12d)](_0x8ddb00,_0x5b71a6,_0x3da2d0);}else _0x5d9a0f[_0x39e2a1(0x12d)](_0x25e612,_0x5b71a6,_0x3da2d0);_0x5d9a0f[_0x39e2a1(0xb3)]();}[_0x4af93f(0x18c)](_0xee62ee){const _0x54e274=_0x4af93f;te[_0x54e274(0xf0)](_0xee62ee,this);}}const oe=_0x4af93f(0x1cd),ut=_0x4af93f(0x173),dt=_0x4af93f(0x241),k=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x4af93f(0xfa);class Ue{constructor(_0x2e1e3d,_0x3ff82e,_0x183365,_0x5f174a){const _0x57a7a5=_0x4af93f;_(this,_0x57a7a5(0x134),[]),_(this,_0x57a7a5(0x1e5),null),_(this,_0x57a7a5(0x1a1),null),_(this,_0x57a7a5(0x1a8),null),_(this,_0x57a7a5(0x2a5),null),_(this,_0x57a7a5(0x2dd),null),(this[_0x57a7a5(0x160)]=_0x2e1e3d,this[_0x57a7a5(0x74)]=_0x3ff82e,this[_0x57a7a5(0xe6)]=_0x183365,this[_0x57a7a5(0x214)]=_0x5f174a,this[_0x57a7a5(0xaa)]());}set[_0x4af93f(0x285)](_0x554224){const _0x39d681=_0x4af93f;_0x554224?(this['_anchorDot']&&this[_0x39d681(0x1a8)]['hide'](),this[_0x39d681(0x1a1)]&&this['_textBubble'][_0x39d681(0x114)]()):(this[_0x39d681(0x1a8)]&&this[_0x39d681(0x1a8)][_0x39d681(0x114)](),this['_textBubble']&&this[_0x39d681(0x1a1)][_0x39d681(0x227)]());}[_0x4af93f(0x1a7)](){const _0x4bdb0b=_0x4af93f;for(const _0x518234 of this[_0x4bdb0b(0x134)])_0x518234[_0x4bdb0b(0x1a7)]();this[_0x4bdb0b(0x1a1)]&&this[_0x4bdb0b(0x1a1)][_0x4bdb0b(0x1a7)](),this[_0x4bdb0b(0x1a8)]&&this['_anchorDot'][_0x4bdb0b(0x1a7)](),this[_0x4bdb0b(0x1e5)]&&this[_0x4bdb0b(0x1e5)][_0x4bdb0b(0x1a7)](),this[_0x4bdb0b(0x2dd)]&&this[_0x4bdb0b(0x2dd)]();}[_0x4af93f(0xaa)](){const _0x3b73d6=_0x4af93f;var _0x2009b1;const {_docSkeleton:_0x9d23c5,_document:_0x103218}=this,{color:_0x36a93c,name:_0x32de6e,ranges:_0x24639c}=this[_0x3b73d6(0x160)],_0x558956=_0x103218['getOffsetConfig'](),{docsLeft:_0x6857ed,docsTop:_0x123279}=_0x558956,_0x574409=new b[(_0x3b73d6(0x13a))](_0x558956,_0x9d23c5);for(const {startOffset:_0x323094,endOffset:_0x407594,rangeType:_0x5053ff,segmentId:_0x274cb0,segmentPage:_0xff9d4e,collapsed:_0x179c4c,isActive:_0x3fde7f}of _0x24639c){const _0x56f39b=_0x9d23c5[_0x3b73d6(0x1f0)](_0x323094,!0x0,_0x274cb0,_0xff9d4e);let _0x2c9564=_0x9d23c5[_0x3b73d6(0x1f0)](_0x407594,!0x0,_0x274cb0,_0xff9d4e);if(_0x2c9564==null&&(_0x2c9564=_0x9d23c5[_0x3b73d6(0x1f0)](_0x407594-0x1,!0x1,_0x274cb0,_0xff9d4e)),_0x3fde7f){const {contentBoxPointGroup:_0x46adbb}=_0x574409['getRangePointData'](_0x2c9564,_0x2c9564);if(_0x46adbb[_0x3b73d6(0x10c)]===0x0)continue;this[_0x3b73d6(0x15d)](_0x36a93c,_0x46adbb,_0x6857ed,_0x123279,_0x32de6e),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x56f39b&&_0x2c9564){if(_0x5053ff===a[_0x3b73d6(0x26f)][_0x3b73d6(0x2c6)]){const _0x1ced5d=new b[(_0x3b73d6(0x1ab))](_0x558956,_0x9d23c5),{pointGroup:_0x3f9114}=(_0x2009b1=_0x1ced5d[_0x3b73d6(0x191)](_0x56f39b,_0x2c9564))!=null?_0x2009b1:{};if(_0x3f9114==null||_0x3f9114[_0x3b73d6(0x10c)]===0x0)continue;this[_0x3b73d6(0x16f)](_0x36a93c,_0x3f9114,_0x6857ed,_0x123279);}else{if(!_0x179c4c){const {borderBoxPointGroup:_0x511907}=_0x574409[_0x3b73d6(0x191)](_0x56f39b,_0x2c9564);if(_0x511907[_0x3b73d6(0x10c)]===0x0)continue;this[_0x3b73d6(0x1be)](_0x36a93c,_0x511907,_0x6857ed,_0x123279);}}}}}['_drawAnchor'](_0x5e9dab,_0x1ece79,_0x4a7b85,_0x3c56ba,_0x3c8e44){const _0x458b2e=_0x4af93f,_0x1ac6b7=this[_0x458b2e(0x264)](_0x1ece79),{left:_0x5a3c09,top:_0xa9c36c,height:_0x197b35}=_0x1ac6b7,_0x1dce35=this['_getScale'](),_0x21781d=St/_0x1dce35,_0x49dfb7=new p[(_0x458b2e(0x24b))](oe+a['Tools'][_0x458b2e(0x26a)](k),{'left':_0x5a3c09+_0x4a7b85-_0x21781d,'top':_0xa9c36c+_0x3c56ba,'height':_0x197b35,'width':ft,'fill':_0x5e9dab||p[_0x458b2e(0x121)](a['COLORS'][_0x458b2e(0x1ea)],0x0),'strokeWidth':_0x21781d,'stroke':It,'evented':!0x0});this[_0x458b2e(0x1e5)]=_0x49dfb7,this['_scene'][_0x458b2e(0x250)](_0x49dfb7,b[_0x458b2e(0x112)]);const _0x218baa=new p[(_0x458b2e(0x24b))](oe+a[_0x458b2e(0x10e)][_0x458b2e(0x26a)](k),{'left':_0x5a3c09+_0x4a7b85-_0x21781d,'top':_0xa9c36c+_0x3c56ba-ae/0x2,'height':ae,'width':ae,'fill':_0x5e9dab||p[_0x458b2e(0x121)](a[_0x458b2e(0x18b)][_0x458b2e(0x1ea)],0x0),'strokeWidth':0x0,'stroke':_0x5e9dab||p[_0x458b2e(0x121)](a[_0x458b2e(0x18b)][_0x458b2e(0x1ea)],0x0),'evented':!0x1});this[_0x458b2e(0x1a8)]=_0x218baa,this[_0x458b2e(0x74)][_0x458b2e(0x250)](_0x218baa,b[_0x458b2e(0x112)]);const _0x172530=new te(oe+a['Tools']['generateRandomId'](k),{'left':_0x5a3c09+_0x4a7b85-_0x21781d,'top':_0xa9c36c+_0x3c56ba-K,'text':_0x3c8e44,'color':_0x5e9dab});this[_0x458b2e(0x1a1)]=_0x172530,this['_scene'][_0x458b2e(0x250)](_0x172530,b[_0x458b2e(0x112)]),this[_0x458b2e(0x285)]=!0x1;}[_0x4af93f(0x16c)](){const _0x95862f=_0x4af93f,_0x7f6b7f=this[_0x95862f(0x1e5)]['onPointerEnter$'][_0x95862f(0x24f)](()=>{this['_hover']=!0x0;}),_0x304cab=this['_anchor'][_0x95862f(0xf3)][_0x95862f(0x24f)](()=>{const _0x572128=_0x95862f;this[_0x572128(0x2a5)]&&clearTimeout(this[_0x572128(0x2a5)]),this[_0x572128(0x2a5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5bd1f2=_0x95862f;_0x7f6b7f['unsubscribe'](),_0x304cab[_0x5bd1f2(0x1fe)]();};}['_drawTextRange'](_0x17286b,_0x1c9a65,_0x1a7cec,_0x28c7ba){const _0x28ecb1=_0x4af93f,_0x87cde3=new a[(_0x28ecb1(0xe3))](_0x17286b)[_0x28ecb1(0x18a)](0.2)[_0x28ecb1(0x10b)](),_0x41cbb0=new p[(_0x28ecb1(0x17e))](ut+a[_0x28ecb1(0x10e)][_0x28ecb1(0x26a)](k),{'pointsGroup':_0x1c9a65,'fill':_0x87cde3||p[_0x28ecb1(0x121)](a[_0x28ecb1(0x18b)][_0x28ecb1(0x1ea)],0.2),'left':_0x1a7cec,'top':_0x28c7ba,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28ecb1(0x134)][_0x28ecb1(0x181)](_0x41cbb0),this['_scene'][_0x28ecb1(0x250)](_0x41cbb0,b[_0x28ecb1(0x112)]);}['_drawRectRange'](_0x3e0ac2,_0x2f48c1,_0x45c383,_0x2ea498){const _0x4d6a93=_0x4af93f,_0x111edb=new a[(_0x4d6a93(0xe3))](_0x3e0ac2)[_0x4d6a93(0x18a)](0.2)[_0x4d6a93(0x10b)](),_0x5b7d21=new p[(_0x4d6a93(0x17e))](dt+a[_0x4d6a93(0x10e)][_0x4d6a93(0x26a)](k),{'pointsGroup':_0x2f48c1,'fill':_0x111edb||p[_0x4d6a93(0x121)](a[_0x4d6a93(0x18b)]['black'],0.2),'left':_0x45c383,'top':_0x2ea498,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5b7d21),this[_0x4d6a93(0x74)]['addObject'](_0x5b7d21,b[_0x4d6a93(0x112)]);}[_0x4af93f(0x264)](_0x144ecc){const _0x141738=_0x144ecc[0x0],_0x3ebcce=_0x141738[0x0],_0x934afb=_0x141738[0x2],{x:_0x33e118,y:_0x25761e}=_0x3ebcce,{x:_0xb85595,y:_0x58e226}=_0x934afb;return{'left':_0x33e118,'top':_0x25761e,'width':_0xb85595-_0x33e118,'height':_0x58e226-_0x25761e};}[_0x4af93f(0x1a5)](){const _0x4b2be8=_0x4af93f,{scaleX:_0x5a3075,scaleY:_0x2cbaf7}=this['_scene'][_0x4b2be8(0x282)]();return Math[_0x4b2be8(0x20b)](_0x5a3075,_0x2cbaf7);}}var vt=Object[_0x4af93f(0x267)],gt=(_0x1f0b36,_0x37d4ff,_0x1f50ee,_0x54ed17)=>{const _0x18115d=_0x4af93f;for(var _0x4e9382=_0x54ed17>0x1?void 0x0:_0x54ed17?vt(_0x37d4ff,_0x1f50ee):_0x37d4ff,_0x57f791=_0x1f0b36[_0x18115d(0x10c)]-0x1,_0xb02d1e;_0x57f791>=0x0;_0x57f791--)(_0xb02d1e=_0x1f0b36[_0x57f791])&&(_0x4e9382=_0xb02d1e(_0x4e9382)||_0x4e9382);return _0x4e9382;},V=(_0xb9e00d,_0xa1599)=>(_0xdd2201,_0x5bff9a)=>_0xa1599(_0xdd2201,_0x5bff9a,_0xb9e00d);let ve=class extends a['RxDisposable']{constructor(_0x34e547,_0x353c8b,_0x1400ef,_0x22c28b,_0x2d6241){const _0x4c4ba4=_0x4af93f;super(),_(this,_0x4c4ba4(0x257),[]),_(this,_0x4c4ba4(0x155),[]),(this['_context']=_0x34e547,this[_0x4c4ba4(0xf1)]=_0x353c8b,this[_0x4c4ba4(0x249)]=_0x1400ef,this[_0x4c4ba4(0x22f)]=_0x22c28b,this[_0x4c4ba4(0x272)]=_0x2d6241,this['_init']());}[_0x4af93f(0xdb)](){const _0x4dfdd3=_0x4af93f,_0x42a82a=this[_0x4dfdd3(0x24d)]['unitId'],_0x506c90=this[_0x4dfdd3(0xf1)];this[_0x4dfdd3(0xcc)](d[_0x4dfdd3(0x1d2)]([this[_0x4dfdd3(0x249)][_0x4dfdd3(0x2aa)](_0x42a82a),this['_themeService'][_0x4dfdd3(0x11c)]])[_0x4dfdd3(0x131)]($[_0x4dfdd3(0x11d)](([_0x517153,_0x10ac60])=>({'skeleton':_0x506c90[_0x4dfdd3(0x217)](),'cursors':[..._0x517153[_0x4dfdd3(0x2b7)]()]['flatMap'](_0x105fee=>({..._0x105fee,'color':_0x10ac60[_0x105fee['color']]}))})))[_0x4dfdd3(0xdd)](_0xc491fc=>{const _0x2126a9=_0x4dfdd3;if(this['_removeCollabCursors'](),_0xc491fc){const {skeleton:_0x5d4762,cursors:_0x14a693}=_0xc491fc;this[_0x2126a9(0x95)](_0x5d4762,_0x14a693);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x21f9a8,_0x205647){const _0x89744c=_0x4af93f,{scene:_0x2f5ea3,mainComponent:_0x33eb7e}=this['_context'],_0xf39247=_0x205647[_0x89744c(0x11d)](_0x165bf9=>new Ue(_0x165bf9,_0x2f5ea3,_0x21f9a8,_0x33eb7e));this[_0x89744c(0x257)]=_0xf39247,this['_cursors']=_0x205647;}[_0x4af93f(0x81)](){const _0x45968a=_0x4af93f;this[_0x45968a(0x179)]();const {scene:_0x507cb9,mainComponent:_0x456c2e}=this[_0x45968a(0x24d)],_0x419ae2=this[_0x45968a(0xf1)][_0x45968a(0x217)](),_0x36ca86=this[_0x45968a(0x155)][_0x45968a(0x11d)](_0x7e0f58=>new Ue(_0x7e0f58,_0x507cb9,_0x419ae2,_0x456c2e));this[_0x45968a(0x257)]=_0x36ca86;}[_0x4af93f(0x179)](){const _0x1a962e=_0x4af93f;this[_0x1a962e(0x257)][_0x1a962e(0x2c9)](_0x358263=>_0x358263[_0x1a962e(0x1a7)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x36e791=_0x4af93f,_0x261f48=[b[_0x36e791(0x1c5)]['id']];this['disposeWithMe'](this[_0x36e791(0x22f)][_0x36e791(0x6a)](_0x59c2ff=>{const _0x2a457d=_0x36e791;_0x261f48['includes'](_0x59c2ff['id'])&&_0x59c2ff['params'][_0x2a457d(0x7a)]===this[_0x2a457d(0x24d)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x4af93f(0xd3)](){const _0x2e3a34=_0x4af93f;this[_0x2e3a34(0xcc)](a[_0x2e3a34(0x19e)](this[_0x2e3a34(0x24d)][_0x2e3a34(0x21f)][_0x2e3a34(0x2bd)])[_0x2e3a34(0x131)]($[_0x2e3a34(0x16e)](_0x39bdd9=>_0x39bdd9['type']===p[_0x2e3a34(0x69)][_0x2e3a34(0x132)]),$[_0x2e3a34(0x159)](0x10))[_0x2e3a34(0xdd)](()=>{const _0x400cd6=_0x2e3a34;this[_0x400cd6(0x81)]();}));}};ve=gt([V(0x1,a[_0x4af93f(0x2a1)](Y['DocSkeletonManagerService'])),V(0x2,a[_0x4af93f(0x2a1)](x)),V(0x3,a[_0x4af93f(0x1b7)]),V(0x4,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x16d)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p['Shape']{constructor(_0x9fd040,_0xa60807){const _0x107c86=_0x4af93f;super(_0x9fd040,_0xa60807),_(this,'_color'),_(this,_0x107c86(0x29d),!0x1),_(this,_0x107c86(0x192)),_(this,'_name',''),_(this,_0x107c86(0x71),_0x107c86(0xc3)),_(this,'_backgroundColor'),(_0xa60807&&this[_0x107c86(0x140)](_0xa60807),this[_0x107c86(0x242)]['subscribeEvent'](()=>this[_0x107c86(0x140)]({'hovered':!0x0})),this[_0x107c86(0xf3)][_0x107c86(0x24f)](()=>this[_0x107c86(0x140)]({'hovered':!0x1})));}[_0x4af93f(0x140)](_0x5e5f41){const _0x1fe8df=_0x4af93f;var _0x5f2288,_0x3145a1,_0x3c8a2f,_0x4f18a1,_0x1132ec,_0x36a1af;this['_color']=(_0x5f2288=_0x5e5f41['color'])!=null?_0x5f2288:this[_0x1fe8df(0x84)],this[_0x1fe8df(0x29d)]=(_0x3145a1=_0x5e5f41[_0x1fe8df(0x248)])!=null?_0x3145a1:this[_0x1fe8df(0x29d)],this[_0x1fe8df(0x192)]=(_0x3c8a2f=_0x5e5f41[_0x1fe8df(0xe9)])!=null?_0x3c8a2f:this[_0x1fe8df(0x192)],this[_0x1fe8df(0x9b)]=(_0x4f18a1=_0x5e5f41[_0x1fe8df(0x209)])!=null?_0x4f18a1:this[_0x1fe8df(0x9b)],this[_0x1fe8df(0x71)]=(_0x1132ec=_0x5e5f41['labelPosition'])!=null?_0x1132ec:this[_0x1fe8df(0x71)],this[_0x1fe8df(0xe0)]=(_0x36a1af=_0x5e5f41[_0x1fe8df(0x1d9)])!=null?_0x36a1af:this[_0x1fe8df(0xe0)],this['transformByState']({'width':_0x5e5f41[_0x1fe8df(0xc1)],'height':_0x5e5f41[_0x1fe8df(0x133)]});}[_0x4af93f(0x110)](_0x1c010e){const _0x1570ee=_0x4af93f,{row:_0x190b8a,column:_0x159cfb}=_0x1c010e;if(_0x190b8a>=this[_0x1570ee(0x192)][_0x1570ee(0xbd)]&&_0x190b8a<=this[_0x1570ee(0x192)][_0x1570ee(0x1c4)]&&_0x159cfb>=this[_0x1570ee(0x192)]['startColumn']&&_0x159cfb<=this['_range']['endColumn']){this[_0x1570ee(0x140)]({'hovered':!0x0});return;}this[_0x1570ee(0x140)]({'hovered':!0x1});}[_0x4af93f(0xa1)](_0x58cced){return!0x1;}['_draw'](_0xd3d7a7){const _0x4f00b9=_0x4af93f;p[_0x4f00b9(0x24b)]['drawWith'](_0xd3d7a7,{'width':this[_0x4f00b9(0xc1)],'height':this[_0x4f00b9(0x133)],'strokeWidth':Ct,'stroke':this[_0x4f00b9(0x84)],'evented':!0x1,'fill':this[_0x4f00b9(0xe0)]}),this[_0x4f00b9(0x29d)]&&(_0xd3d7a7[_0x4f00b9(0x287)](),_0xd3d7a7[_0x4f00b9(0x235)](0x1,0x0,0x0,0x1,this[_0x4f00b9(0xc1)],this[_0x4f00b9(0x71)]===_0x4f00b9(0x221)?0x0:-0x14),te['drawWith'](_0xd3d7a7,{'text':this[_0x4f00b9(0x9b)],'color':this[_0x4f00b9(0x84)]}),_0xd3d7a7[_0x4f00b9(0xb3)]());}}var pt=Object['getOwnPropertyDescriptor'],bt=(_0x2e4076,_0x13e7fc,_0x32d5aa,_0x34ac2b)=>{const _0x5beb2a=_0x4af93f;for(var _0x1ab66e=_0x34ac2b>0x1?void 0x0:_0x34ac2b?pt(_0x13e7fc,_0x32d5aa):_0x13e7fc,_0xa40737=_0x2e4076[_0x5beb2a(0x10c)]-0x1,_0x3fca9d;_0xa40737>=0x0;_0xa40737--)(_0x3fca9d=_0x2e4076[_0xa40737])&&(_0x1ab66e=_0x3fca9d(_0x1ab66e)||_0x1ab66e);return _0x1ab66e;},ce=(_0x46b599,_0x462d56)=>(_0x407f75,_0x558982)=>_0x462d56(_0x407f75,_0x558982,_0x46b599);const Et=0x1389;let ge=class extends a['RxDisposable']{constructor(_0x535aa8,_0x259175,_0x126eaf,_0x134592){const _0xab1051=_0x4af93f;super(),_(this,_0xab1051(0x155),new Set()),_(this,'_lastPointer',null),(this[_0xab1051(0x24d)]=_0x535aa8,this[_0xab1051(0x1f8)]=_0x259175,this[_0xab1051(0x249)]=_0x126eaf,this[_0xab1051(0x272)]=_0x134592,this['_init']());}['_init'](){const _0x5e5fc9=_0x4af93f;this['_sheetSkeletonManagerService'][_0x5e5fc9(0x210)][_0x5e5fc9(0x131)]($[_0x5e5fc9(0x24c)](this['dispose$']),$[_0x5e5fc9(0x17d)](_0x70bd9b=>{const _0x1b268c=_0x5e5fc9;if(_0x70bd9b){const _0x12751f=_0x70bd9b['sheetId'];return d[_0x1b268c(0x1d2)](this[_0x1b268c(0x249)][_0x1b268c(0x2aa)](this[_0x1b268c(0x24d)][_0x1b268c(0x7a)]),this[_0x1b268c(0x272)]['currentTheme$'])[_0x1b268c(0x131)]($[_0x1b268c(0x11d)](([_0x2ca323,_0x3dd9d7])=>{const _0x2ba5b6=new Map();return _0x2ca323['forEach']((_0x2b5926,_0x46ff1d)=>{const _0x12f657=_0x11d6;if(_0x2b5926[_0x12f657(0xec)]===_0x12751f){const _0x2a4ae8={..._0x2b5926};_0x2a4ae8[_0x12f657(0x141)]=_0x3dd9d7[_0x2b5926[_0x12f657(0x141)]],_0x2ba5b6[_0x12f657(0x167)](_0x46ff1d,_0x2a4ae8);}}),{'skeleton':_0x70bd9b,'cursors':_0x2ba5b6};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x5e5fc9(0xdd)](({skeleton:_0x577c47,cursors:_0x1c7c2c})=>{const _0x34d396=_0x5e5fc9;this[_0x34d396(0x179)](),_0x577c47&&this[_0x34d396(0x95)](_0x577c47,_0x1c7c2c);}),this['_sheetSkeletonManagerService'][_0x5e5fc9(0x210)][_0x5e5fc9(0xdd)](_0x3d03eb=>{const _0x14296a=_0x5e5fc9;if(_0x3d03eb==null)return;const {skeleton:_0x2004d3}=_0x3d03eb,{scene:_0x16247}=this['_context'];_0x16247['onPointerMove$']['subscribeEvent'](a[_0x14296a(0x1ec)](_0x3b4771=>{const _0x1aa47a=_0x14296a;var _0x35edf1,_0x4d640e;const {offsetX:_0x5d9aa3,offsetY:_0x203be7}=_0x3b4771,{x:_0x5da38a,y:_0x96d127}=_0x16247['getRelativeToViewportCoord'](p[_0x1aa47a(0x246)]['FromArray']([_0x5d9aa3,_0x203be7])),{scaleX:_0x4548af,scaleY:_0x404daf}=_0x16247[_0x1aa47a(0x282)](),_0x4a03a0=_0x16247[_0x1aa47a(0x2b5)](p[_0x1aa47a(0x2e7)]['VIEW_MAIN']),_0x49c984=_0x16247['getVpScrollXYInfoByPosToVp'](p[_0x1aa47a(0x246)][_0x1aa47a(0x25c)]([_0x5da38a,_0x96d127]),_0x4a03a0),_0x5d5ef0=_0x2004d3[_0x1aa47a(0x2c8)](_0x5d9aa3,_0x203be7,_0x4548af,_0x404daf,_0x49c984);((_0x35edf1=this[_0x1aa47a(0x125)])==null?void 0x0:_0x35edf1[_0x1aa47a(0x25f)])===_0x5d5ef0[_0x1aa47a(0x25f)]&&((_0x4d640e=this['_lastPointer'])==null?void 0x0:_0x4d640e['row'])===_0x5d5ef0['row']||this[_0x1aa47a(0x155)][_0x1aa47a(0x2c9)](_0x26bb83=>{_0x26bb83['onMouseMove'](_0x5d5ef0);});},0x64));});}[_0x4af93f(0x95)](_0x1c074d,_0x4aab79){const _0x137d78=_0x4af93f;var _0x3c0fd6;const _0x4c6121=(_0x3c0fd6=this['_sheetSkeletonManagerService'][_0x137d78(0x2cb)]())==null?void 0x0:_0x3c0fd6[_0x137d78(0x1a0)];if(!_0x4c6121)return;const _0x5a8f63=this[_0x137d78(0x190)]();if(!_0x5a8f63)return;this[_0x137d78(0x155)][_0x137d78(0x2c9)](_0x5b5234=>{_0x5b5234['makeDirty']();});const {scene:_0x1422d6}=_0x5a8f63,_0x430ba7=Tt(Array[_0x137d78(0x1eb)](_0x4aab79['values']()))['map'](_0x4e1730=>{const _0x4f1e90=_0x137d78,{color:_0x3f1f9b,range:_0x5770ae,name:_0x46b790,selection:_0x3a6222,sheetID:_0x11634c}=_0x4e1730,{startColumn:_0x4e77be,startRow:_0x2d53d6,endColumn:_0x8f7d2,endRow:_0x5a9e62}=_0x5770ae,_0x1b1be1=G[_0x4f1e90(0x75)](_0x2d53d6,_0x4e77be,_0x1422d6,_0x4c6121),_0x2e5d2e=G[_0x4f1e90(0x75)](_0x5a9e62,_0x8f7d2,_0x1422d6,_0x4c6121),{columnHeaderHeightAndMarginTop:_0x5d549e}=_0x4c6121,{startX:_0x333a07,startY:_0x1336ef}=_0x1b1be1,{endX:_0x5104da,endY:_0x2d07c1}=_0x2e5d2e,_0x21c768=_0x5104da-_0x333a07,_0x1f1595=_0x2d07c1-_0x1336ef,_0x55cb3e={'labelPosition':_0x1336ef-_0x5d549e>=K?'top':_0x4f1e90(0x221),'sheetID':_0x11634c,'range':_0x5770ae,'color':_0x3f1f9b,'name':_0x46b790,'selection':_0x3a6222,'left':_0x333a07,'top':_0x1336ef,'width':_0x21c768,'height':_0x1f1595,'evented':!0x1,'zIndex':Et};return new Ae(_0x46b790,_0x55cb3e);});_0x1422d6['addObjects'](_0x430ba7,mt),this['_cursors']=new Set(_0x430ba7);}[_0x4af93f(0x179)](){const _0x4735d1=_0x4af93f;var _0x22a577;(_0x22a577=this['_cursors'])==null||_0x22a577[_0x4735d1(0x2c9)](_0x1b0641=>_0x1b0641[_0x4735d1(0x1a7)]());}[_0x4af93f(0x190)](){const _0x3d6bf1=_0x4af93f;return G['getSheetObject'](this[_0x3d6bf1(0x24d)][_0x3d6bf1(0x126)],this[_0x3d6bf1(0x24d)]);}};ge=bt([ce(0x1,a[_0x4af93f(0x2a1)](G['SheetSkeletonManagerService'])),ce(0x2,a[_0x4af93f(0x2a1)](x)),ce(0x3,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x16d)]))],ge);function Tt(_0x22732e){const _0x54975f=_0x4af93f,_0x55945f=new Map();return _0x22732e['forEach'](_0x50b690=>{const _0x4448ed=_0x11d6;if(_0x55945f[_0x4448ed(0x148)](_0x50b690[_0x4448ed(0x13b)])){const _0x3ab356=_0x55945f[_0x4448ed(0x27f)](_0x50b690['selection']);_0x3ab356[_0x4448ed(0x209)]+=',\x20'+_0x50b690[_0x4448ed(0x209)];}else _0x55945f['set'](_0x50b690[_0x4448ed(0x13b)],_0x50b690);}),Array[_0x54975f(0x1eb)](_0x55945f[_0x54975f(0x2b7)]());}var E=function(){const _0x42b442=_0x4af93f;return E=Object[_0x42b442(0x22b)]||function(_0x5c1615){const _0xb4d698=_0x42b442;for(var _0x378623,_0x4ea451=0x1,_0x1b7c15=arguments[_0xb4d698(0x10c)];_0x4ea451<_0x1b7c15;_0x4ea451++){_0x378623=arguments[_0x4ea451];for(var _0x411d30 in _0x378623)Object[_0xb4d698(0x9a)][_0xb4d698(0x23d)][_0xb4d698(0x104)](_0x378623,_0x411d30)&&(_0x5c1615[_0x411d30]=_0x378623[_0x411d30]);}return _0x5c1615;},E[_0x42b442(0x2a8)](this,arguments);},Ot=function(_0x4c6146,_0x1651e5){const _0x257a5c=_0x4af93f;var _0x19c1c4={};for(var _0x4e9386 in _0x4c6146)Object[_0x257a5c(0x9a)]['hasOwnProperty'][_0x257a5c(0x104)](_0x4c6146,_0x4e9386)&&_0x1651e5[_0x257a5c(0x162)](_0x4e9386)<0x0&&(_0x19c1c4[_0x4e9386]=_0x4c6146[_0x4e9386]);if(_0x4c6146!=null&&typeof Object[_0x257a5c(0x113)]==_0x257a5c(0x14a)){for(var _0x4ba9ec=0x0,_0x4e9386=Object[_0x257a5c(0x113)](_0x4c6146);_0x4ba9ec<_0x4e9386[_0x257a5c(0x10c)];_0x4ba9ec++)_0x1651e5[_0x257a5c(0x162)](_0x4e9386[_0x4ba9ec])<0x0&&Object['prototype'][_0x257a5c(0x1ce)][_0x257a5c(0x104)](_0x4c6146,_0x4e9386[_0x4ba9ec])&&(_0x19c1c4[_0x4e9386[_0x4ba9ec]]=_0x4c6146[_0x4e9386[_0x4ba9ec]]);}return _0x19c1c4;},be=M[_0x4af93f(0x1af)](function(_0x4d70a7,_0xafe3b0){const _0x4032b2=_0x4af93f;var _0x2ae738=_0x4d70a7[_0x4032b2(0x165)],_0x372b40=_0x4d70a7['id'],_0x5e1a03=_0x4d70a7['className'],_0x2f193b=_0x4d70a7[_0x4032b2(0x1f2)],_0x56a7f9=Ot(_0x4d70a7,[_0x4032b2(0x165),'id','className',_0x4032b2(0x1f2)]),_0x229c40='univerjs-icon\x20univerjs-icon-'[_0x4032b2(0x2cf)](_0x372b40,'\x20')[_0x4032b2(0x2cf)](_0x5e1a03||'')[_0x4032b2(0x166)](),_0x498dfc=M[_0x4032b2(0x2af)]('_'[_0x4032b2(0x2cf)](Ut()));return ye(_0x2ae738,''[_0x4032b2(0x2cf)](_0x372b40),{'defIds':_0x2ae738[_0x4032b2(0x25a)],'idSuffix':_0x498dfc[_0x4032b2(0xa6)]},E({'ref':_0xafe3b0,'className':_0x229c40},_0x56a7f9),_0x2f193b);});function ye(_0x1f6c1b,_0x571a87,_0x4f5534,_0x27ce32,_0xeda9d7){const _0x21e6f4=_0x4af93f;return M[_0x21e6f4(0xde)](_0x1f6c1b[_0x21e6f4(0x115)],E(E({'key':_0x571a87},Rt(_0x1f6c1b,_0x4f5534,_0xeda9d7)),_0x27ce32),(Dt(_0x1f6c1b,_0x4f5534)[_0x21e6f4(0x1fc)]||[])['map'](function(_0x402c1d,_0x4b098f){const _0x308950=_0x21e6f4;return ye(_0x402c1d,''[_0x308950(0x2cf)](_0x571a87,'-')[_0x308950(0x2cf)](_0x1f6c1b['tag'],'-')[_0x308950(0x2cf)](_0x4b098f),_0x4f5534,void 0x0,_0xeda9d7);}));}function Rt(_0x3525d8,_0x3e1765,_0x4a29e6){const _0x488d47=_0x4af93f;var _0x330fd2=E({},_0x3525d8[_0x488d47(0x2de)]);_0x4a29e6!=null&&_0x4a29e6[_0x488d47(0x1bf)]&&_0x330fd2[_0x488d47(0xea)]===_0x488d47(0x1bf)&&(_0x330fd2['fill']=_0x4a29e6[_0x488d47(0x1bf)]),_0x3525d8[_0x488d47(0x115)]===_0x488d47(0xc7)&&_0x330fd2['id']&&(_0x330fd2['id']=_0x330fd2['id']+_0x3e1765['idSuffix']),Object[_0x488d47(0x269)](_0x330fd2)[_0x488d47(0x2c9)](function(_0x3aa4eb){const _0x155889=_0x488d47;var _0x3378e0=_0x3aa4eb[0x0],_0x54a2d8=_0x3aa4eb[0x1];_0x3378e0===_0x155889(0xc7)&&typeof _0x54a2d8=='string'&&(_0x330fd2[_0x3378e0]=_0x54a2d8[_0x155889(0xb4)](/url\(#(.*)\)/,_0x155889(0x1e8)['concat'](_0x3e1765['idSuffix'],')')));});var _0x56810d=_0x3e1765[_0x488d47(0x25a)];return!_0x56810d||_0x56810d[_0x488d47(0x10c)]===0x0||(_0x3525d8['tag']==='use'&&_0x330fd2[_0x488d47(0x89)]&&(_0x330fd2['xlink:href']=_0x330fd2[_0x488d47(0x89)]+_0x3e1765['idSuffix']),Object[_0x488d47(0x269)](_0x330fd2)[_0x488d47(0x2c9)](function(_0x5e0cda){const _0x21b11d=_0x488d47;var _0x3a48e2=_0x5e0cda[0x0],_0x16bb6e=_0x5e0cda[0x1];typeof _0x16bb6e==_0x21b11d(0x26b)&&(_0x330fd2[_0x3a48e2]=_0x16bb6e[_0x21b11d(0xb4)](/url\(#(.*)\)/,_0x21b11d(0x1e8)[_0x21b11d(0x2cf)](_0x3e1765['idSuffix'],')')));})),_0x330fd2;}function Dt(_0x1f952b,_0x5244c3){const _0x39c411=_0x4af93f;var _0x2a25b1,_0xeb9ba8=_0x5244c3[_0x39c411(0x25a)];return!_0xeb9ba8||_0xeb9ba8[_0x39c411(0x10c)]===0x0?_0x1f952b:_0x1f952b[_0x39c411(0x115)]===_0x39c411(0xc6)&&(!((_0x2a25b1=_0x1f952b[_0x39c411(0x1fc)])===null||_0x2a25b1===void 0x0)&&_0x2a25b1['length'])?E(E({},_0x1f952b),{'children':_0x1f952b[_0x39c411(0x1fc)][_0x39c411(0x11d)](function(_0x309529){const _0xc22064=_0x39c411;return typeof _0x309529[_0xc22064(0x2de)]['id']==_0xc22064(0x26b)&&_0xeb9ba8&&_0xeb9ba8[_0xc22064(0x162)](_0x309529['attrs']['id'])>-0x1?E(E({},_0x309529),{'attrs':E(E({},_0x309529[_0xc22064(0x2de)]),{'id':_0x309529[_0xc22064(0x2de)]['id']+_0x5244c3[_0xc22064(0x255)]})}):_0x309529;})}):_0x1f952b;}function Ut(){const _0x1fab11=_0x4af93f;return Math['random']()[_0x1fab11(0x1e7)](0x24)[_0x1fab11(0x218)](0x2,0x8);}be[_0x4af93f(0x156)]=_0x4af93f(0x2bf);var Nt={'tag':_0x4af93f(0x123),'attrs':{'fill':_0x4af93f(0x284),'viewBox':_0x4af93f(0x1cb),'width':_0x4af93f(0x76),'height':_0x4af93f(0x76)},'children':[{'tag':'g','attrs':{'clipPath':_0x4af93f(0x2b1)},'children':[{'tag':'path','attrs':{'stroke':_0x4af93f(0x6f),'d':'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','strokeLinecap':'round','strokeLinejoin':_0x4af93f(0x1e2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4af93f(0x240),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x4af93f(0xf4),'d':_0x4af93f(0x66)}}]}]}],'defIds':['off-line-single_clip0_910_343']},$e=M[_0x4af93f(0x1af)](function(_0xc86c47,_0x551dea){const _0x2b24df=_0x4af93f;return M['createElement'](be,Object[_0x2b24df(0x22b)]({},_0xc86c47,{'id':_0x2b24df(0x2a3),'ref':_0x551dea,'icon':Nt}));});$e['displayName']=_0x4af93f(0x1d6);var Mt={'tag':'svg','attrs':{'fill':_0x4af93f(0x284),'viewBox':_0x4af93f(0x1d1),'width':'1em','height':_0x4af93f(0x76)},'children':[{'tag':'g','attrs':{'clipPath':_0x4af93f(0xa8)},'children':[{'tag':'path','attrs':{'stroke':_0x4af93f(0x6f),'d':_0x4af93f(0x1bd),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4af93f(0x240),'attrs':{'id':_0x4af93f(0x6d)},'children':[{'tag':_0x4af93f(0x1fb),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},xe=M['forwardRef'](function(_0x49f0b0,_0x3c1cfc){const _0x53acbd=_0x4af93f;return M['createElement'](be,Object['assign']({},_0x49f0b0,{'id':_0x53acbd(0x149),'ref':_0x3c1cfc,'icon':Mt}));});xe[_0x4af93f(0x156)]='OnLineSingle';const Lt=_0x4af93f(0x20f),Pt='univer-online-status-title',wt=_0x4af93f(0x137),At=_0x4af93f(0xf5),yt=_0x4af93f(0xeb),H={'onlineStatusIcon':Lt,'onlineStatusTitle':Pt,'onlineStatus':wt,'online':At,'offline':yt};function $t(_0x222636){const _0x2755ed=_0x4af93f;switch(_0x222636){case u[_0x2755ed(0xfd)][_0x2755ed(0x253)]:return _0x2755ed(0x13f);case u[_0x2755ed(0xfd)][_0x2755ed(0xad)]:return _0x2755ed(0xdc);case u['CollaborationStatus'][_0x2755ed(0x78)]:return _0x2755ed(0x2e4);case u[_0x2755ed(0xfd)][_0x2755ed(0x288)]:return'collabStatus.notCollab';case u['CollaborationStatus'][_0x2755ed(0x1ee)]:case u[_0x2755ed(0xfd)][_0x2755ed(0x24a)]:return _0x2755ed(0x2a2);case u['CollaborationStatus'][_0x2755ed(0x1f4)]:case u[_0x2755ed(0xfd)][_0x2755ed(0x153)]:return _0x2755ed(0x202);}}function je(_0x80f1f5){const _0x4df84b=_0x4af93f,{status$:_0x3f7842}=_0x80f1f5,_0x2310bc=O[_0x4df84b(0x17a)](_0x3f7842,u[_0x4df84b(0xfd)][_0x4df84b(0x288)]),_0x5d6681=O['useDependency'](a['LocaleService']),_0x5318d3=O['useDependency'](u['CollaborationSessionService']),_0x294bb1=_0x2310bc!==u[_0x4df84b(0xfd)][_0x4df84b(0x253)],_0x31b14b=_0x5d6681['t']($t(_0x2310bc)),_0x3a4b10=T['clsx'](H[_0x4df84b(0x17b)],{[H[_0x4df84b(0x23f)]]:_0x294bb1,[H[_0x4df84b(0x108)]]:!_0x294bb1}),_0x196b68=_0x294bb1?P[_0x4df84b(0x1f1)](xe,{}):P[_0x4df84b(0x1f1)]($e,{}),_0x4d8ddf=M['useCallback'](()=>{_0x294bb1||_0x5318d3['reconnect']();},[_0x294bb1,_0x5318d3]);function _0x17e0cf(){const _0x1e8702=_0x4df84b;return P[_0x1e8702(0x15f)](_0x1e8702(0x171),{'className':T[_0x1e8702(0x27b)](_0x3a4b10,_0x1e8702(0x26d)),'onClick':_0x4d8ddf,'children':[P['jsx']('div',{'className':H['onlineStatusIcon'],'children':_0x196b68}),P[_0x1e8702(0x1f1)](_0x1e8702(0x171),{'className':H[_0x1e8702(0xee)],'children':_0x31b14b})]});}return _0x294bb1?_0x17e0cf():P[_0x4df84b(0x1f1)](T[_0x4df84b(0xa3)],{'title':_0x5d6681['t'](_0x4df84b(0x15c)),'children':_0x17e0cf()});}var xt=Object['getOwnPropertyDescriptor'],jt=(_0x36a0fe,_0xcce35a,_0x5e992a,_0xf5ecd6)=>{const _0x2da536=_0x4af93f;for(var _0x2dd06d=_0xf5ecd6>0x1?void 0x0:_0xf5ecd6?xt(_0xcce35a,_0x5e992a):_0xcce35a,_0xb9958a=_0x36a0fe[_0x2da536(0x10c)]-0x1,_0xc3b217;_0xb9958a>=0x0;_0xb9958a--)(_0xc3b217=_0x36a0fe[_0xb9958a])&&(_0x2dd06d=_0xc3b217(_0x2dd06d)||_0x2dd06d);return _0x2dd06d;},X=(_0x4c39b7,_0x34fa52)=>(_0x318ba6,_0x4f383f)=>_0x34fa52(_0x318ba6,_0x4f383f,_0x4c39b7);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x4af93f(0x14c)]{constructor(_0x12f656,_0x4bc288,_0x5f5b40,_0x567f37){const _0x416a42=_0x4af93f;super(),_(this,_0x416a42(0x119),new d[(_0x416a42(0x158))](u[_0x416a42(0xfd)][_0x416a42(0x288)])),(this[_0x416a42(0x2c1)]=_0x12f656,this['_injector']=_0x4bc288,this[_0x416a42(0x2d9)]=_0x5f5b40,this[_0x416a42(0x1ad)]=_0x567f37,this['_initStatusComponent'](),this[_0x416a42(0x12a)]());}[_0x4af93f(0x12a)](){const _0xf0b8d3=_0x4af93f;this[_0xf0b8d3(0xcc)](this['_univerInstanceService']['focused$'][_0xf0b8d3(0x131)](d[_0xf0b8d3(0x17d)](()=>{const _0x5930c3=_0xf0b8d3,_0x4ee4f1=this[_0x5930c3(0x2c1)][_0x5930c3(0xae)]();return _0x4ee4f1?this[_0x5930c3(0x2d9)][_0x5930c3(0x2bc)](_0x4ee4f1[_0x5930c3(0x1c7)]()):d['of'](null);}),d[_0xf0b8d3(0x17d)](_0x4d3e63=>_0x4d3e63?_0x4d3e63[_0xf0b8d3(0x21a)]:d['of'](u[_0xf0b8d3(0xfd)][_0xf0b8d3(0x288)])))[_0xf0b8d3(0xdd)](_0x2de420=>{const _0x58bd69=_0xf0b8d3;this[_0x58bd69(0x119)][_0x58bd69(0x2c4)](_0x2de420);}));}[_0x4af93f(0x2d4)](){const _0x3c40d8=_0x4af93f;this[_0x3c40d8(0xcc)](this[_0x3c40d8(0x1ad)][_0x3c40d8(0x212)](O[_0x3c40d8(0xe7)][_0x3c40d8(0x144)],()=>O[_0x3c40d8(0x103)](Bt({'status$':this['_status$'][_0x3c40d8(0x2cc)]()}),this[_0x3c40d8(0x23b)])));}},exports[_0x4af93f(0x1b0)]=jt([X(0x0,a[_0x4af93f(0x9c)]),X(0x1,a[_0x4af93f(0x2a1)](a['Injector'])),X(0x2,a['Inject'](u[_0x4af93f(0x22e)])),X(0x3,O['IUIPartsService'])],exports[_0x4af93f(0x1b0)]);function Bt(_0x37e95a){const {status$:_0x5d9442}=_0x37e95a;return function(){const _0x27997e=_0x11d6;return P[_0x27997e(0x1f1)](je,{'status$':_0x5d9442});};}var kt=Object['getOwnPropertyDescriptor'],Ht=(_0x42c181,_0x4756b0,_0x41f43a,_0x6596a7)=>{const _0x1faa90=_0x4af93f;for(var _0x1ed83b=_0x6596a7>0x1?void 0x0:_0x6596a7?kt(_0x4756b0,_0x41f43a):_0x4756b0,_0x3ca1d1=_0x42c181[_0x1faa90(0x10c)]-0x1,_0x3f0439;_0x3ca1d1>=0x0;_0x3ca1d1--)(_0x3f0439=_0x42c181[_0x3ca1d1])&&(_0x1ed83b=_0x3f0439(_0x1ed83b)||_0x1ed83b);return _0x1ed83b;},y=(_0x34ed25,_0x14b6ad)=>(_0x1f26ba,_0x537bd8)=>_0x14b6ad(_0x1f26ba,_0x537bd8,_0x34ed25);let z=class extends a[_0x4af93f(0x14c)]{constructor(_0x2ea52c,_0x16048e,_0x792cce,_0x4a4f3f,_0x49cad9,_0x467e2c){const _0x5c68f9=_0x4af93f;super(),this[_0x5c68f9(0x2e3)]=_0x2ea52c,this['_localCacheService']=_0x16048e,this['_collaborationUIEventService']=_0x792cce,this[_0x5c68f9(0x16a)]=_0x4a4f3f,this[_0x5c68f9(0x1ba)]=_0x49cad9,this[_0x5c68f9(0x7c)]=_0x467e2c,this[_0x5c68f9(0x151)](),this[_0x5c68f9(0x243)]();}[_0x4af93f(0x151)](){const _0x1aa89c=_0x4af93f;this['disposeWithMe'](this[_0x1aa89c(0x2e3)][_0x1aa89c(0x270)](()=>{const _0x340afc=_0x1aa89c;if(this['_localCacheService'][_0x340afc(0x180)][_0x340afc(0x100)])return this[_0x340afc(0x7c)]['t'](_0x340afc(0x1d5));}));}[_0x4af93f(0x243)](){const _0x1e55d5=_0x4af93f;this[_0x1e55d5(0xcc)](this[_0x1e55d5(0x127)][_0x1e55d5(0x261)][_0x1e55d5(0xdd)](_0x250682=>{const _0x206f9e=_0x1e55d5;_0x250682['id']===u['CollaborationUIEventId'][_0x206f9e(0x292)]&&this[_0x206f9e(0x16a)]['show']({'type':T[_0x206f9e(0x1b5)]['Warning'],'content':this[_0x206f9e(0x7c)]['t'](_0x206f9e(0x198))}),_0x250682['id']===u[_0x206f9e(0x2a0)][_0x206f9e(0xc2)]&&this['_messageService']['show']({'type':T[_0x206f9e(0x1b5)][_0x206f9e(0xe8)],'content':this['_localeService']['t'](_0x206f9e(0x231))}),_0x250682['id']===u[_0x206f9e(0x2a0)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x206f9e(0x7c)]['t']('permission.title'),'content':this['_localeService']['t'](_0x206f9e(0x238)),'type':_0x206f9e(0x1a2),'duration':0x0}),_0x250682['id']===u[_0x206f9e(0x2a0)][_0x206f9e(0xad)]&&this[_0x206f9e(0x16a)]['show']({'type':T[_0x206f9e(0x1b5)]['Error'],'content':this[_0x206f9e(0x7c)]['t']('collaboration.closeRoom')+'('+_0x250682[_0x206f9e(0x2d7)]+')'}),_0x250682['id']===u['CollaborationUIEventId'][_0x206f9e(0x26c)]&&this[_0x206f9e(0x16a)][_0x206f9e(0x114)]({'type':T['MessageType'][_0x206f9e(0xe8)],'content':this[_0x206f9e(0x7c)]['t'](_0x250682['data']||'')}),_0x250682['id']===u[_0x206f9e(0x2a0)][_0x206f9e(0x297)]&&this[_0x206f9e(0x16a)][_0x206f9e(0x114)]({'type':T[_0x206f9e(0x1b5)][_0x206f9e(0xe8)],'content':this[_0x206f9e(0x7c)]['t'](_0x206f9e(0x1c3))}),_0x250682['id']===u[_0x206f9e(0x2a0)]['SOCKET_FAILED']&&this[_0x206f9e(0x16a)][_0x206f9e(0x114)]({'type':T[_0x206f9e(0x1b5)][_0x206f9e(0x73)],'content':this[_0x206f9e(0x7c)]['t'](_0x206f9e(0x21b))}),_0x250682['id']===u[_0x206f9e(0x2a0)][_0x206f9e(0x247)]&&this['_messageService'][_0x206f9e(0x114)]({'type':T[_0x206f9e(0x1b5)][_0x206f9e(0x73)],'content':this[_0x206f9e(0x7c)]['t'](_0x206f9e(0x29a))});}));}};z=Ht([y(0x0,O['IBeforeCloseService']),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,O[_0x4af93f(0x275)]),y(0x4,O['INotificationService']),y(0x5,a['Inject'](a[_0x4af93f(0x147)]))],z);const Ft='collaboration-client-ui.config',Ne={},Ee=a[_0x4af93f(0x1bb)]('uni.network.url-service');var Wt=Object[_0x4af93f(0x267)],Yt=(_0x47b326,_0x24f850,_0x571d14,_0x125c4e)=>{const _0x123948=_0x4af93f;for(var _0x2f6a48=_0x125c4e>0x1?void 0x0:_0x125c4e?Wt(_0x24f850,_0x571d14):_0x24f850,_0x195fd8=_0x47b326[_0x123948(0x10c)]-0x1,_0x18e8b4;_0x195fd8>=0x0;_0x195fd8--)(_0x18e8b4=_0x47b326[_0x195fd8])&&(_0x2f6a48=_0x18e8b4(_0x2f6a48)||_0x2f6a48);return _0x2f6a48;},F=(_0x5df5b5,_0x5c72f9)=>(_0x592343,_0x459161)=>_0x5c72f9(_0x592343,_0x459161,_0x5df5b5);exports[_0x4af93f(0x2b3)]=class extends a[_0x4af93f(0x193)]{constructor(_0x4fa1c0,_0x3af8b0,_0x876878,_0x4b8b1d,_0x463c02){const _0x1c598c=_0x4af93f;super(),this[_0x1c598c(0x18e)]=_0x4fa1c0,this['_logService']=_0x3af8b0,this[_0x1c598c(0x22f)]=_0x876878,this['_dataLoaderService']=_0x4b8b1d,_0x463c02?_0x463c02==null||_0x463c02[_0x1c598c(0xd0)]()[_0x1c598c(0x278)](()=>this[_0x1c598c(0xdb)]()):(this['_logService'][_0x1c598c(0x9f)](_0x1c598c(0x1ac),_0x1c598c(0x1f3)),this[_0x1c598c(0xdb)]());}async['_init'](){const _0x11797d=_0x4af93f,_0x188c6b=this[_0x11797d(0x18e)][_0x11797d(0x70)]('unit'),_0x59c11d=this['_urlService'][_0x11797d(0x70)](_0x11797d(0x280)),_0x332a24=this[_0x11797d(0x18e)][_0x11797d(0x70)](_0x11797d(0x1dd));if(!_0x188c6b||!_0x59c11d){this[_0x11797d(0x12f)][_0x11797d(0x9f)](_0x11797d(0x1ac),_0x11797d(0x23a));return;}const _0x37f270=await this[_0x11797d(0x11a)][_0x11797d(0x2ac)](_0x188c6b,Number(_0x59c11d),_0x332a24);_0x37f270&&_0x37f270 instanceof a[_0x11797d(0x229)]&&this[_0x11797d(0x263)](_0x37f270);}async[_0x4af93f(0x263)](_0xe7094e){const _0xe38bc4=_0x4af93f;await this[_0xe38bc4(0x8d)](_0xe7094e),_0xe7094e[_0xe38bc4(0x176)][_0xe38bc4(0x131)](d[_0xe38bc4(0x24c)](this['dispose$']))[_0xe38bc4(0xdd)](_0x431eba=>{const _0x196970=_0xe38bc4;_0x431eba&&this[_0x196970(0x2db)](_0x431eba);}),this[_0xe38bc4(0x18e)][_0xe38bc4(0x2a7)][_0xe38bc4(0x131)](d[_0xe38bc4(0x24c)](this['dispose$']))[_0xe38bc4(0xdd)](()=>this['_updateSubUnitFromURLParams'](_0xe7094e));}[_0x4af93f(0x2db)](_0x41fde7,_0x550436=!0x1){const _0x26b3cb=_0x4af93f,_0x584db8=this[_0x26b3cb(0x18e)][_0x26b3cb(0x70)](_0x26b3cb(0x1dd));_0x41fde7['getSheetId']()!==_0x584db8&&this['_urlService'][_0x26b3cb(0x1c2)](_0x26b3cb(0x1dd),_0x41fde7['getSheetId'](),_0x550436);}async['_updateSubUnitFromURLParams'](_0x4f6655){const _0x5bf7ef=_0x4af93f;var _0x30c06c;const _0x26f292=this[_0x5bf7ef(0x18e)][_0x5bf7ef(0x70)](_0x5bf7ef(0x1dd));if(!_0x26f292||!_0x4f6655[_0x5bf7ef(0x28e)](_0x26f292)){const _0x2bf53c=_0x4f6655[_0x5bf7ef(0x111)]()[0x0],_0x1b7586=_0x4f6655[_0x5bf7ef(0x28e)](_0x2bf53c);if(!_0x1b7586)return;this['_updateURLWithCurrentState'](_0x1b7586,!0x0),await this[_0x5bf7ef(0x22f)][_0x5bf7ef(0x204)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x4f6655[_0x5bf7ef(0x1c7)](),'subUnitId':_0x2bf53c});return;}((_0x30c06c=_0x4f6655['getActiveSheet']())==null?void 0x0:_0x30c06c['getSheetId']())!==_0x26f292&&await this[_0x5bf7ef(0x22f)][_0x5bf7ef(0x204)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x4f6655[_0x5bf7ef(0x1c7)](),'subUnitId':_0x26f292});}},exports[_0x4af93f(0x2b3)]=Yt([F(0x0,Ee),F(0x1,a['ILogService']),F(0x2,a['ICommandService']),F(0x3,a[_0x4af93f(0x2a1)](u[_0x4af93f(0x25b)])),F(0x4,a[_0x4af93f(0x118)](Ke[_0x4af93f(0x15b)]))],exports['CollaborationDataLoaderController']);var Vt=Object[_0x4af93f(0x267)],Xt=(_0x44e042,_0x103d43,_0x26b558,_0x5b849c)=>{const _0x29335c=_0x4af93f;for(var _0x112faf=_0x5b849c>0x1?void 0x0:_0x5b849c?Vt(_0x103d43,_0x26b558):_0x103d43,_0xdba486=_0x44e042[_0x29335c(0x10c)]-0x1,_0x21ad24;_0xdba486>=0x0;_0xdba486--)(_0x21ad24=_0x44e042[_0xdba486])&&(_0x112faf=_0x21ad24(_0x112faf)||_0x112faf);return _0x112faf;},le=(_0x301da4,_0x839dda)=>(_0x2de637,_0x572917)=>_0x839dda(_0x2de637,_0x572917,_0x301da4);let J=class{constructor(_0xab597a,_0x1b98f7,_0x5d201a){const _0x21d2f3=_0x4af93f;this[_0x21d2f3(0x23b)]=_0xab597a,this[_0x21d2f3(0x105)]=_0x1b98f7,this['_renderManagerService']=_0x5d201a;}[_0x4af93f(0x1fa)](_0x246495){const _0x4a7af8=_0x4af93f;this[_0x4a7af8(0x164)](_0x246495),this[_0x4a7af8(0x135)](_0x246495);}[_0x4af93f(0x2d6)](_0x2d241b){const _0x19deeb=_0x4af93f,{unitID:_0x25a78c}=_0x2d241b,_0x57d6f6=this[_0x19deeb(0x2e1)]['getRenderById'](_0x25a78c)[_0x19deeb(0x294)](b['DocIMEInputManagerService']),{redoCache:_0x42493d}=_0x57d6f6[_0x19deeb(0xfe)]();if(_0x42493d['length']===0x0)return _0x2d241b;let _0x2015c0=a[_0x19deeb(0x10e)][_0x19deeb(0x83)](_0x2d241b[_0x19deeb(0x8f)][0x0]);for(let _0x441274=0x0;_0x441274<_0x42493d[_0x19deeb(0x10c)];_0x441274++){const _0x71a67d={'id':_0x19deeb(0x2ce),'params':{..._0x42493d[_0x441274]}},_0x38a531=this[_0x19deeb(0x105)][_0x19deeb(0xdf)](_0x2015c0,_0x71a67d,!0x1);if(m['isTransformMutationFailure'](_0x38a531))throw _0x38a531[_0x19deeb(0x1a2)];_0x2015c0=_0x38a531[_0x19deeb(0x82)];}return{...a[_0x19deeb(0x10e)]['deepClone'](_0x2d241b),'mutations':[_0x2015c0]};}[_0x4af93f(0x164)](_0x126750){const _0x335cb5=_0x4af93f,{unitID:_0x2e3751}=_0x126750,_0x35e460=this[_0x335cb5(0x2e1)][_0x335cb5(0x25d)](_0x2e3751)[_0x335cb5(0x294)](b['DocIMEInputManagerService']),{undoCache:_0x20d9af,redoCache:_0x1d115d}=_0x35e460['getUndoRedoMutationParamsCache']();if(_0x20d9af[_0x335cb5(0x10c)]===0x0||_0x1d115d['length']===0x0)return;const _0x3700ee=[],_0xfbe849=[];let _0x368180=a[_0x335cb5(0x10e)][_0x335cb5(0x83)](_0x126750[_0x335cb5(0x8f)][0x0]),_0x435093=a[_0x335cb5(0x10e)][_0x335cb5(0x83)](_0x126750[_0x335cb5(0x8f)][0x0]);for(let _0x1d64e3=_0x20d9af[_0x335cb5(0x10c)]-0x1;_0x1d64e3>=0x0;_0x1d64e3--){const _0x5b1fd1={'id':_0x335cb5(0x2ce),'params':{..._0x20d9af[_0x1d64e3]}},_0x4b5c2b={'id':_0x335cb5(0x2ce),'params':{..._0x1d115d[_0x1d64e3]}},_0x3a95fa=this[_0x335cb5(0x105)][_0x335cb5(0xdf)](_0x368180,_0x5b1fd1,!0x1),_0x494006=this[_0x335cb5(0x105)]['transformMutation'](_0x435093,_0x4b5c2b,!0x1);if(m[_0x335cb5(0xca)](_0x3a95fa))throw _0x3a95fa[_0x335cb5(0x1a2)];if(m['isTransformMutationFailure'](_0x494006))throw _0x494006['error'];_0x3700ee['unshift'](_0x3a95fa[_0x335cb5(0xba)][_0x335cb5(0x22a)]),_0xfbe849['unshift'](_0x494006[_0x335cb5(0xba)][_0x335cb5(0x22a)]),_0x368180=_0x3a95fa['m1Prime'],_0x435093=_0x494006['m1Prime'];}_0x35e460['setUndoRedoMutationParamsCache']({'undoCache':_0x3700ee,'redoCache':_0xfbe849});}[_0x4af93f(0x135)](_0x11f31e){const _0x1873b9=_0x4af93f,{unitID:_0x5059c7}=_0x11f31e,_0x1c4621=this['_renderManagerService']['getRenderById'](_0x5059c7)['with'](b[_0x1873b9(0x213)]),_0x544e51=_0x1c4621[_0x1873b9(0xcd)]();if(_0x544e51==null)return;const _0xa69fb3=[{'id':_0x1873b9(0x2ce),'params':{'unitId':_0x11f31e[_0x1873b9(0x1ff)],'actions':null,'textRanges':[_0x544e51]}}],_0x538a29=this[_0x1873b9(0x105)][_0x1873b9(0x7f)](_0x11f31e,_0xa69fb3);if(!m['isTransformMutationsWithChangesetSuccess'](_0x538a29))throw _0x538a29[_0x1873b9(0x1a2)];const _0x411fe7=_0x538a29['m2Prime'][0x0]['params']['textRanges'];Array[_0x1873b9(0x128)](_0x411fe7)&&_0x411fe7[_0x1873b9(0x10c)]&&_0x1c4621[_0x1873b9(0x283)](_0x411fe7[0x0]);}};J=Xt([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x4af93f(0x2df)]),le(0x2,p[_0x4af93f(0x1d7)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x1f3b9a,_0x31bc59,_0x513e82,_0x2b23e1)=>{const _0x2edad5=_0x4af93f;for(var _0x5a20f7=_0x2b23e1>0x1?void 0x0:_0x2b23e1?Gt(_0x31bc59,_0x513e82):_0x31bc59,_0xf3e4c1=_0x1f3b9a[_0x2edad5(0x10c)]-0x1,_0x52d5c3;_0xf3e4c1>=0x0;_0xf3e4c1--)(_0x52d5c3=_0x1f3b9a[_0xf3e4c1])&&(_0x5a20f7=_0x52d5c3(_0x5a20f7)||_0x5a20f7);return _0x5a20f7;},_e=(_0x4f9947,_0x5a8553)=>(_0x306f28,_0x1431ed)=>_0x5a8553(_0x306f28,_0x1431ed,_0x4f9947);let Z=class{constructor(_0x63098b,_0x4c88d1,_0x3ab703){const _0xa961cd=_0x4af93f;this[_0xa961cd(0x23b)]=_0x63098b,this[_0xa961cd(0x105)]=_0x4c88d1,this['_docStateChangeManagerService']=_0x3ab703;}[_0x4af93f(0x2c3)](_0x3ddc71){this['_transformHistoryAndStateStack'](_0x3ddc71);}['transformRemoteChangeset'](_0x278a01){const _0xf8b55a=_0x4af93f,{unitID:_0x2ec2c5}=_0x278a01,{collaboration:_0x1b623e}=this[_0xf8b55a(0x139)][_0xf8b55a(0x90)](_0x2ec2c5);if(_0x1b623e['length']===0x0)return _0x278a01;let _0x369961=a[_0xf8b55a(0x10e)][_0xf8b55a(0x83)](_0x278a01['mutations'][0x0]);for(let _0x26d542=0x0;_0x26d542<_0x1b623e[_0xf8b55a(0x10c)];_0x26d542++){const _0x5f0d35={'id':_0xf8b55a(0x2ce),'params':{'unitId':_0x1b623e[_0x26d542]['unitId'],..._0x1b623e[_0x26d542][_0xf8b55a(0x2e6)]}},_0xe8d352=this['_transformService'][_0xf8b55a(0xdf)](_0x369961,_0x5f0d35,!0x1);if(m[_0xf8b55a(0xca)](_0xe8d352))throw _0xe8d352['error'];_0x369961=_0xe8d352[_0xf8b55a(0x82)];}return{...a[_0xf8b55a(0x10e)][_0xf8b55a(0x83)](_0x278a01),'mutations':[_0x369961]};}[_0x4af93f(0x24e)](_0x2cfa19){const _0x20fd2f=_0x4af93f,{unitID:_0x50a563}=_0x2cfa19,{history:_0x473d2b,collaboration:_0xd868bf}=this[_0x20fd2f(0x139)][_0x20fd2f(0x90)](_0x50a563);if(_0x473d2b['length']===0x0&&_0xd868bf[_0x20fd2f(0x10c)]===0x0)return;const _0x5bbde6=[],_0x246eaa=[];let _0x41a0af=a['Tools'][_0x20fd2f(0x83)](_0x2cfa19[_0x20fd2f(0x8f)][0x0]),_0x383fbc=a[_0x20fd2f(0x10e)][_0x20fd2f(0x83)](_0x2cfa19['mutations'][0x0]);for(let _0x1232c3=_0x473d2b[_0x20fd2f(0x10c)]-0x1;_0x1232c3>=0x0;_0x1232c3--){const _0x34ac75={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x473d2b[_0x1232c3][_0x20fd2f(0x7a)],..._0x473d2b[_0x1232c3]['undoState']}},_0x56bc50={'id':_0x20fd2f(0x2ce),'params':{'unitId':_0x473d2b[_0x1232c3][_0x20fd2f(0x7a)],..._0x473d2b[_0x1232c3][_0x20fd2f(0x2e6)]}},_0x51acdb=this[_0x20fd2f(0x105)]['transformMutation'](_0x41a0af,_0x34ac75,!0x1),_0x4d3bd7=this[_0x20fd2f(0x105)][_0x20fd2f(0xdf)](_0x383fbc,_0x56bc50,!0x1);if(m[_0x20fd2f(0xca)](_0x51acdb))throw _0x51acdb[_0x20fd2f(0x1a2)];if(m[_0x20fd2f(0xca)](_0x4d3bd7))throw _0x4d3bd7['error'];_0x5bbde6['unshift']({..._0x473d2b[_0x1232c3],'undoState':_0x51acdb[_0x20fd2f(0xba)][_0x20fd2f(0x22a)],'redoState':_0x4d3bd7[_0x20fd2f(0xba)][_0x20fd2f(0x22a)]}),_0x41a0af=_0x51acdb[_0x20fd2f(0x82)],_0x383fbc=_0x4d3bd7[_0x20fd2f(0x82)];}_0x41a0af=a[_0x20fd2f(0x10e)][_0x20fd2f(0x83)](_0x2cfa19[_0x20fd2f(0x8f)][0x0]),_0x383fbc=a['Tools']['deepClone'](_0x2cfa19['mutations'][0x0]);for(let _0x43931c=_0xd868bf[_0x20fd2f(0x10c)]-0x1;_0x43931c>=0x0;_0x43931c--){const _0x29b4c5={'id':_0x20fd2f(0x2ce),'params':{'unitId':_0xd868bf[_0x43931c]['unitId'],..._0xd868bf[_0x43931c]['undoState']}},_0x5770b8={'id':_0x20fd2f(0x2ce),'params':{'unitId':_0xd868bf[_0x43931c][_0x20fd2f(0x7a)],..._0xd868bf[_0x43931c][_0x20fd2f(0x2e6)]}},_0x244c29=this[_0x20fd2f(0x105)][_0x20fd2f(0xdf)](_0x41a0af,_0x29b4c5,!0x1),_0x685a75=this['_transformService'][_0x20fd2f(0xdf)](_0x383fbc,_0x5770b8,!0x1);if(m[_0x20fd2f(0xca)](_0x244c29))throw _0x244c29[_0x20fd2f(0x1a2)];if(m[_0x20fd2f(0xca)](_0x685a75))throw _0x685a75[_0x20fd2f(0x1a2)];_0x246eaa['unshift']({..._0xd868bf[_0x43931c],'undoState':_0x244c29[_0x20fd2f(0xba)][_0x20fd2f(0x22a)],'redoState':_0x685a75['m2Prime'][_0x20fd2f(0x22a)]}),_0x41a0af=_0x244c29['m1Prime'],_0x383fbc=_0x685a75[_0x20fd2f(0x82)];}this[_0x20fd2f(0x139)][_0x20fd2f(0x2dc)](_0x50a563,{'history':_0x5bbde6,'collaboration':_0x246eaa});}};Z=qt([_e(0x0,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x187)])),_e(0x1,m[_0x4af93f(0x2df)]),_e(0x2,a['Inject'](b[_0x4af93f(0x136)]))],Z);var Kt=Object[_0x4af93f(0x267)],zt=(_0x34c39b,_0x52fb71,_0x1bbcba,_0x3362d6)=>{const _0x28188a=_0x4af93f;for(var _0x225b7c=_0x3362d6>0x1?void 0x0:_0x3362d6?Kt(_0x52fb71,_0x1bbcba):_0x52fb71,_0x1254bc=_0x34c39b[_0x28188a(0x10c)]-0x1,_0x43b989;_0x1254bc>=0x0;_0x1254bc--)(_0x43b989=_0x34c39b[_0x1254bc])&&(_0x225b7c=_0x43b989(_0x225b7c)||_0x225b7c);return _0x225b7c;},Me=(_0x9a77d9,_0x5ba6ed)=>(_0x118530,_0x33db3f)=>_0x5ba6ed(_0x118530,_0x33db3f,_0x9a77d9);let Q=class{constructor(_0x573911,_0x4e40bb){const _0x3423c1=_0x4af93f;this[_0x3423c1(0x23b)]=_0x573911,this[_0x3423c1(0x105)]=_0x4e40bb;}[_0x4af93f(0xc5)](_0x4bce29){const _0x2eac50=_0x4af93f;var _0x45fdf6;const _0x31784d=this[_0x2eac50(0x23b)][_0x2eac50(0x27f)](Y[_0x2eac50(0x67)]),_0x309858=(_0x45fdf6=_0x31784d[_0x2eac50(0x11b)]())!=null?_0x45fdf6:[];if(_0x309858[_0x2eac50(0x10c)]===0x0)return;const _0x2c1f86=_0x4bce29[_0x2eac50(0x1ff)],_0xbf7127=[{'id':_0x2eac50(0x2ce),'params':{'unitId':_0x2c1f86,'actions':null,'textRanges':_0x309858}}],_0x5e9737=this[_0x2eac50(0x105)][_0x2eac50(0x7f)](_0x4bce29,_0xbf7127);if(!m['isTransformMutationsWithChangesetSuccess'](_0x5e9737))throw _0x5e9737[_0x2eac50(0x1a2)];const _0x9ede1f=_0x5e9737[_0x2eac50(0xba)][0x0][_0x2eac50(0x22a)][_0x2eac50(0x7b)];Array[_0x2eac50(0x128)](_0x9ede1f)&&_0x9ede1f['length']&&_0x31784d[_0x2eac50(0x1dc)](_0x9ede1f,{'unitId':_0x2c1f86,'subUnitId':_0x2c1f86},!0x1);}};Q=zt([Me(0x0,a[_0x4af93f(0x2a1)](a['Injector'])),Me(0x1,m[_0x4af93f(0x2df)])],Q);var Jt=Object[_0x4af93f(0x267)],Zt=(_0x4615c2,_0x200462,_0x506c9c,_0x5aec67)=>{const _0x2c9bbf=_0x4af93f;for(var _0x48a17a=_0x5aec67>0x1?void 0x0:_0x5aec67?Jt(_0x200462,_0x506c9c):_0x200462,_0x1925be=_0x4615c2[_0x2c9bbf(0x10c)]-0x1,_0x503198;_0x1925be>=0x0;_0x1925be--)(_0x503198=_0x4615c2[_0x1925be])&&(_0x48a17a=_0x503198(_0x48a17a)||_0x48a17a);return _0x48a17a;},N=(_0x814f3b,_0x1819f2)=>(_0x4655cf,_0x1c40ec)=>_0x1819f2(_0x4655cf,_0x1c40ec,_0x814f3b);let ee=class extends a[_0x4af93f(0x14c)]{constructor(_0x4d6af5,_0x531ca2,_0x548cb8,_0x381837,_0x27547a,_0x5a1b5b,_0x952e27,_0xb7d4b5){const _0x4f270a=_0x4af93f;super(),_(this,_0x4f270a(0x119),new d[(_0x4f270a(0x158))](u[_0x4f270a(0xfd)]['NOT_COLLAB'])),(this[_0x4f270a(0x139)]=_0x4d6af5,this[_0x4f270a(0x2d9)]=_0x531ca2,this[_0x4f270a(0xbc)]=_0x548cb8,this[_0x4f270a(0x286)]=_0x381837,this[_0x4f270a(0x2ba)]=_0x27547a,this['_docSyncEditingCollabCursorService']=_0x5a1b5b,this['_messageService']=_0x952e27,this['_localeService']=_0xb7d4b5,this[_0x4f270a(0x29c)]());}[_0x4af93f(0x29c)](){const _0x38508a=_0x4af93f;this[_0x38508a(0xcc)](this[_0x38508a(0x2d9)][_0x38508a(0xf8)][_0x38508a(0xdd)](_0x487e42=>{const _0xda0b92=_0x38508a,_0xd55d72=this[_0xda0b92(0x139)]['docStateChange$'][_0xda0b92(0xdd)](_0x165377=>{const _0x1e464a=_0xda0b92;if(_0x165377==null)return;const {unitId:_0x2f49de,redoState:_0x2caa41,commandId:_0x33c64b}=_0x165377;if(_0x2f49de!==_0x487e42[_0x1e464a(0x1ff)])return;const _0x242f21={'id':_0x33c64b,'type':a[_0x1e464a(0x29f)][_0x1e464a(0x268)],'params':{'unitId':_0x2f49de,'actions':_0x2caa41[_0x1e464a(0x130)],'textRanges':null}};_0x487e42['onLocalMutation'](_0x242f21);});if(_0x487e42[_0xda0b92(0xcc)](_0xd55d72),_0x487e42 instanceof u[_0xda0b92(0x1c9)]){const _0x4ae368={'onTransformIME':_0x208af9=>this[_0xda0b92(0xbc)][_0xda0b92(0x1fa)](_0x208af9),'onTransformState':_0x15d736=>this[_0xda0b92(0x286)][_0xda0b92(0x2c3)](_0x15d736),'onTransformSelections':_0x186436=>this['_docTransformSelectionsService'][_0xda0b92(0xc5)](_0x186436),'onSyncEditingCollabCursor':_0x43a803=>this['_docSyncEditingCollabCursorService'][_0xda0b92(0x106)](_0x43a803),'onTransformRemoteChangesetByIMECache':_0x2e5a49=>this[_0xda0b92(0xbc)][_0xda0b92(0x2d6)](_0x2e5a49),'onTransformRemoteChangesetByStateCache':_0x5cdc6a=>this[_0xda0b92(0x286)]['transformRemoteChangeset'](_0x5cdc6a)};_0x487e42['addHandlerCallback'](_0x4ae368);}}));}};ee=Zt([N(0x0,a[_0x4af93f(0x2a1)](b[_0x4af93f(0x136)])),N(0x1,a[_0x4af93f(0x2a1)](u['CollaborationController'])),N(0x2,a['Inject'](J)),N(0x3,a[_0x4af93f(0x2a1)](Z)),N(0x4,a[_0x4af93f(0x2a1)](Q)),N(0x5,a['Inject'](pe)),N(0x6,O[_0x4af93f(0x275)]),N(0x7,a['Inject'](a['LocaleService']))],ee);var Qt=Object['getOwnPropertyDescriptor'],es=(_0x5bcdf3,_0x5d734c,_0x3bc5bc,_0x120a09)=>{const _0xfa25fd=_0x4af93f;for(var _0x263db2=_0x120a09>0x1?void 0x0:_0x120a09?Qt(_0x5d734c,_0x3bc5bc):_0x5d734c,_0x2f7389=_0x5bcdf3[_0xfa25fd(0x10c)]-0x1,_0x4e10e2;_0x2f7389>=0x0;_0x2f7389--)(_0x4e10e2=_0x5bcdf3[_0x2f7389])&&(_0x263db2=_0x4e10e2(_0x263db2)||_0x263db2);return _0x263db2;},he=(_0x493099,_0x5313e3)=>(_0x18c877,_0xc512dc)=>_0x5313e3(_0x18c877,_0xc512dc,_0x493099);let me=class extends a[_0x4af93f(0x14c)]{constructor(_0x5a91f9,_0x7befb1,_0x25dba7){const _0x2378ac=_0x4af93f;super(),_(this,_0x2378ac(0xa2),new Map()),_(this,_0x2378ac(0x20c),new Map()),_(this,_0x2378ac(0x273),!0x1),(this['_configService']=_0x5a91f9,this['_localStorageService']=_0x7befb1,this[_0x2378ac(0x10a)]=_0x25dba7);}[_0x4af93f(0x169)](){this['_disabled']=!0x0;}[_0x4af93f(0x29b)](){this['_disabled']=!0x1;}get[_0x4af93f(0x180)](){const _0x27b07c=_0x4af93f;return this[_0x27b07c(0x20c)];}[_0x4af93f(0x1a7)](){const _0x15e368=_0x4af93f;this[_0x15e368(0xb6)]()[_0x15e368(0x278)](()=>super[_0x15e368(0x1a7)]());}async[_0x4af93f(0x20e)](_0x548e11){const _0xc52d1c=_0x4af93f;return this['_disabled']?null:this['_localStorageService']['getItem'](u[_0xc52d1c(0x23c)](_0x548e11));}async['saveOfflineData'](_0xa97f13,_0x2806e6){const _0x3e77c8=_0x4af93f;return!!this['_localStorageService'][_0x3e77c8(0x116)](_0xa97f13,_0x2806e6);}[_0x4af93f(0x27c)](_0x2fe2ee,_0x26f6c7,_0x5473e4,_0x3b97ce){const _0x522dcf=_0x4af93f,_0x415578=this[_0x522dcf(0x10a)][_0x522dcf(0x177)](_0x2fe2ee);this[_0x522dcf(0xa2)][_0x522dcf(0x167)](_0x2fe2ee,{'unitID':_0x2fe2ee,'type':_0x26f6c7,'awaitingChangeset':_0x5473e4,'mutations':_0x3b97ce,'rev':_0x415578}),this[_0x522dcf(0x20c)][_0x522dcf(0x148)](_0x2fe2ee)||this['_scheduleSaving'](_0x2fe2ee);}[_0x4af93f(0x8c)](_0x5630e5){const _0x560323=_0x4af93f,_0x2a4b36=this['_getSaveTimeout']();_0x2a4b36===0x0?this['_saveCache'](_0x5630e5):this[_0x560323(0x20c)][_0x560323(0x167)](_0x5630e5,setTimeout(()=>this['_saveCache'](_0x5630e5),_0x2a4b36));}['_getSaveTimeout'](){const _0x45f551=_0x4af93f;var _0x409722;return(_0x409722=this['_configService'][_0x45f551(0x28b)](u[_0x45f551(0x6e)]))!=null?_0x409722:u[_0x45f551(0x28a)];}[_0x4af93f(0x1b2)](_0x44b092){const _0x2c6529=_0x4af93f,_0x4a9060=this[_0x2c6529(0x20c)][_0x2c6529(0x27f)](_0x44b092);return _0x4a9060!==void 0x0&&window[_0x2c6529(0x19c)](_0x4a9060),this[_0x2c6529(0xbe)]['setItem'](u[_0x2c6529(0x23c)](_0x44b092),this[_0x2c6529(0xa2)]['get'](_0x44b092))['then'](()=>this[_0x2c6529(0x20c)][_0x2c6529(0x2d0)](_0x44b092));}async[_0x4af93f(0xb6)](){const _0xfa4c56=_0x4af93f,_0x1a4b8b=[];this[_0xfa4c56(0x20c)][_0xfa4c56(0x2c9)]((_0x198055,_0x33c6c4)=>{const _0x634cea=_0xfa4c56;window[_0x634cea(0x19c)](_0x198055),_0x1a4b8b['push'](this[_0x634cea(0x1b2)](_0x33c6c4)[_0x634cea(0x278)](()=>{const _0x2b8ab4=_0x634cea;this[_0x2b8ab4(0x20c)][_0x2b8ab4(0x2d0)](_0x33c6c4);}));}),await Promise['all'](_0x1a4b8b);}};me=es([he(0x0,a['IConfigService']),he(0x1,a[_0x4af93f(0x2c0)]),he(0x2,a[_0x4af93f(0x2a1)](m['RevisionService']))],me);class Be extends a['RxDisposable']{constructor(){const _0x1a1d96=_0x4af93f;super(),_(this,_0x1a1d96(0x2a7)),this['urlChange$']=d[_0x1a1d96(0x2a6)](window,'popstate')[_0x1a1d96(0x131)](d[_0x1a1d96(0x24c)](this['dispose$']),d[_0x1a1d96(0x1cf)](0x1),d[_0x1a1d96(0x27a)](void 0x0));}[_0x4af93f(0x1c2)](_0x3455a7,_0x8c6f8d,_0x3c43d0=!0x1){const _0x13dd6a=_0x4af93f,_0x1fcfae=new URL(window[_0x13dd6a(0x9e)][_0x13dd6a(0xfb)]);_0x1fcfae[_0x13dd6a(0x289)]['set'](_0x3455a7,_0x8c6f8d),_0x3c43d0?window[_0x13dd6a(0x1e3)]['replaceState']('','',_0x1fcfae['toString']()):window[_0x13dd6a(0x1e3)][_0x13dd6a(0xc9)]('','',_0x1fcfae[_0x13dd6a(0x1e7)]());}['removeParam'](_0x465d6d,_0x3ce34a=!0x1){const _0x196f99=_0x4af93f,_0x2ae8a1=new URL(window[_0x196f99(0x9e)][_0x196f99(0xfb)]);_0x2ae8a1[_0x196f99(0x289)][_0x196f99(0x2d0)](_0x465d6d),_0x3ce34a?window['history'][_0x196f99(0xc4)]('','',_0x2ae8a1['toString']()):window['history'][_0x196f99(0xc9)]('','',_0x2ae8a1[_0x196f99(0x1e7)]());}[_0x4af93f(0x70)](_0x7cd335){const _0x1c7e4d=_0x4af93f;var _0x3b1233;return(_0x3b1233=new URL(window[_0x1c7e4d(0x9e)]['href'])[_0x1c7e4d(0x289)][_0x1c7e4d(0x27f)](_0x7cd335))!=null?_0x3b1233:void 0x0;}}var ts=Object[_0x4af93f(0x1c1)],ss=Object[_0x4af93f(0x267)],ns=(_0x260b76,_0x101959,_0xce1221)=>_0x101959 in _0x260b76?ts(_0x260b76,_0x101959,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xce1221}):_0x260b76[_0x101959]=_0xce1221,is=(_0x47c0c6,_0x1e8566,_0x4472cd,_0x171fcd)=>{const _0x5443a4=_0x4af93f;for(var _0xe8150e=_0x171fcd>0x1?void 0x0:_0x171fcd?ss(_0x1e8566,_0x4472cd):_0x1e8566,_0x282b7a=_0x47c0c6[_0x5443a4(0x10c)]-0x1,_0x4ed4bb;_0x282b7a>=0x0;_0x282b7a--)(_0x4ed4bb=_0x47c0c6[_0x282b7a])&&(_0xe8150e=_0x4ed4bb(_0xe8150e)||_0xe8150e);return _0xe8150e;},ue=(_0x138cf6,_0x5626f2)=>(_0x539980,_0x507fab)=>_0x5626f2(_0x539980,_0x507fab,_0x138cf6),rs=(_0x3a68bc,_0xfe23e1,_0x206fff)=>ns(_0x3a68bc,_0xfe23e1+'',_0x206fff);const os=_0x4af93f(0x2ca);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x4af93f(0xa7)]{constructor(_0x5d1789=Ne,_0x49f89c,_0x1fc298,_0x2ebafd){const _0x31921f=_0x4af93f;super(),this[_0x31921f(0x2ae)]=_0x5d1789,this['_renderManagerService']=_0x49f89c,this[_0x31921f(0x23b)]=_0x1fc298,this['_configService']=_0x2ebafd;const {..._0xe22582}=a[_0x31921f(0x85)]({},Ne,this[_0x31921f(0x2ae)]);this[_0x31921f(0x1f7)][_0x31921f(0x19f)](Ft,_0xe22582);}['onStarting'](){const _0x529bdb=_0x4af93f;this[_0x529bdb(0x93)](),this[_0x529bdb(0x1d4)]();}[_0x4af93f(0x1a4)](){const _0x38bf2c=_0x4af93f;this[_0x38bf2c(0x1df)]();}['_registerDependencies'](){const _0x54fc4c=_0x4af93f;var _0x3aba3;const _0x1e9a10=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':Be}],[q[_0x54fc4c(0x1a3)],{'useClass':q[_0x54fc4c(0x138)]}],[u[_0x54fc4c(0x211)],{'useClass':me}],[exports[_0x54fc4c(0x1b0)]],[ee],[z],[x],[fe],[exports[_0x54fc4c(0x2b3)]]];a['registerDependencies'](this[_0x54fc4c(0x23b)],a[_0x54fc4c(0x92)](_0x1e9a10,(_0x3aba3=this[_0x54fc4c(0x2ae)])==null?void 0x0:_0x3aba3[_0x54fc4c(0x10f)]));}[_0x4af93f(0x1df)](){const _0x453430=_0x4af93f;this[_0x453430(0xcc)](this[_0x453430(0x2e1)][_0x453430(0x1b8)](a[_0x453430(0x222)]['UNIVER_DOC'],[ve])),this['disposeWithMe'](this[_0x453430(0x2e1)][_0x453430(0x1b8)](a[_0x453430(0x222)][_0x453430(0x2d8)],[ge]));}[_0x4af93f(0x1d4)](){const _0x1efe22=_0x4af93f;a['touchDependencies'](this[_0x1efe22(0x23b)],[[x],[exports[_0x1efe22(0x1b0)]],[ee],[z],[exports[_0x1efe22(0x2b3)]]]);}},rs(exports[_0x4af93f(0x122)],_0x4af93f(0x178),os),exports[_0x4af93f(0x122)]=is([a[_0x4af93f(0xaf)](u[_0x4af93f(0x186)]),ue(0x1,p[_0x4af93f(0x1d7)]),ue(0x2,a['Inject'](a[_0x4af93f(0x187)])),ue(0x3,a[_0x4af93f(0x20d)])],exports[_0x4af93f(0x122)]);var as=Object[_0x4af93f(0x267)],cs=(_0x56ddd5,_0xd1bf5e,_0x2653bf,_0x515827)=>{const _0x209bd6=_0x4af93f;for(var _0x225128=_0x515827>0x1?void 0x0:_0x515827?as(_0xd1bf5e,_0x2653bf):_0xd1bf5e,_0x553df2=_0x56ddd5[_0x209bd6(0x10c)]-0x1,_0x237dce;_0x553df2>=0x0;_0x553df2--)(_0x237dce=_0x56ddd5[_0x553df2])&&(_0x225128=_0x237dce(_0x225128)||_0x225128);return _0x225128;},W=(_0x208e8d,_0x54b3d6)=>(_0x49b177,_0x20dfe3)=>_0x54b3d6(_0x49b177,_0x20dfe3,_0x208e8d);exports[_0x4af93f(0x2bb)]=class extends u['CollaborationSocketService']{constructor(_0x3b4986,_0x230ed9,_0x48973f,_0x11510b,_0xb413d0){super(_0x3b4986,_0x230ed9,_0x48973f,_0x11510b,_0xb413d0);}async[_0x4af93f(0x1b9)](_0x3fb643){const _0xddbe60=_0x4af93f,_0x3402d5=await this['_getSessionTicket'](),_0x2a47db=this[_0xddbe60(0x245)](_0x3fb643,_0x3402d5);return this['_doCreateSocket'](_0x2a47db);}[_0x4af93f(0x245)](_0x1f1739,_0x421f03){const _0x59b9a3=_0x4af93f,_0x2ed649=typeof window>'u'?new URL(_0x1f1739):new URL(_0x1f1739,window['location'][_0x59b9a3(0x21d)]);_0x2ed649[_0x59b9a3(0x289)][_0x59b9a3(0x167)](_0x59b9a3(0x86),_0x421f03);const _0x462d03=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x59b9a3(0x9e)]['search']);return _0x462d03[_0x59b9a3(0x27f)](_0x59b9a3(0x17c))&&_0x2ed649[_0x59b9a3(0x289)][_0x59b9a3(0x167)]('runId',_0x462d03['get'](_0x59b9a3(0x17c))),_0x2ed649[_0x59b9a3(0x1e7)]();}async[_0x4af93f(0x215)](){const _0x54a744=_0x4af93f;var _0x4b2d0b,_0xf413fa,_0x361500;const _0x57a112=this[_0x54a744(0x1f7)][_0x54a744(0x28b)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xf16606=(_0x4b2d0b=_0x57a112==null?void 0x0:_0x57a112[_0x54a744(0x2e2)])!=null?_0x4b2d0b:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x361500=(_0xf413fa=(await this[_0x54a744(0x72)]['get'](_0xf16606,{'headers':{'Content-Type':_0x54a744(0x22c)}}))[_0x54a744(0x161)])==null?void 0x0:_0xf413fa[_0x54a744(0x2a4)])!=null?_0x361500:'';}},exports[_0x4af93f(0x2bb)]=cs([W(0x0,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x187)])),W(0x1,a['Inject'](q['HTTPService'])),W(0x2,a[_0x4af93f(0x20d)]),W(0x3,a[_0x4af93f(0x21e)]),W(0x4,m[_0x4af93f(0x2e5)])],exports[_0x4af93f(0x2bb)]);const Le=0x7530,Pe='ACTIVE_UNIT_EVENT_CHANNEL';class ls extends a[_0x4af93f(0x14c)]{constructor(){const _0x51255d=_0x4af93f;super(),_(this,_0x51255d(0x27d),a[_0x51255d(0x26a)]()),_(this,'_selfUnitIDs',new Set()),_(this,_0x51255d(0x206),new Map()),_(this,_0x51255d(0x197),null),_(this,_0x51255d(0x174),new Map()),_(this,_0x51255d(0xbb),new Map()),this[_0x51255d(0xdb)]();}[_0x4af93f(0x1a7)](){const _0x53297a=_0x4af93f;super[_0x53297a(0x1a7)](),this[_0x53297a(0x174)][_0x53297a(0x2c9)]((_0x13a155,_0x5e3684)=>this[_0x53297a(0x226)](_0x5e3684)),this[_0x53297a(0x197)]&&window['clearInterval'](this[_0x53297a(0x197)]);}[_0x4af93f(0x295)](_0x381e01){const _0x571f12=_0x4af93f;return this[_0x571f12(0xd9)](_0x381e01)[_0x571f12(0x131)](d[_0x571f12(0x10d)]());}[_0x4af93f(0x96)](_0x91ba93){const _0x1055ab=_0x4af93f;this[_0x1055ab(0x1b1)][_0x1055ab(0x100)]===0x0&&this[_0x1055ab(0x25e)](),this['_selfUnitIDs'][_0x1055ab(0x13d)](_0x91ba93),this[_0x1055ab(0x281)]({'type':0x0,'memberID':this[_0x1055ab(0x27d)],'unitIDs':[_0x91ba93],'isForwarded':!0x1});}['disposeUnit'](_0x3dd9bc){const _0x528e48=_0x4af93f;this[_0x528e48(0x1b1)][_0x528e48(0x2d0)](_0x3dd9bc),this['_selfUnitIDs'][_0x528e48(0x100)]===0x0&&this[_0x528e48(0x197)]&&window[_0x528e48(0x1e9)](this[_0x528e48(0x197)]);}[_0x4af93f(0xdb)](){const _0xba1fa6=_0x4af93f;this[_0xba1fa6(0xcc)](a[_0xba1fa6(0xce)](d[_0xba1fa6(0x2a6)](window,_0xba1fa6(0x17f))['subscribe'](_0x1543ad=>{const _0x3323c3=_0xba1fa6;if(_0x1543ad[_0x3323c3(0x2c7)]!==Pe||!_0x1543ad[_0x3323c3(0x12e)])return;const _0x2d1523=JSON[_0x3323c3(0x163)](_0x1543ad['newValue']);this['_handleEvent'](_0x2d1523);}))),window[_0xba1fa6(0x299)](_0xba1fa6(0xd4),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0xba1fa6(0x1b1)])}));}[_0x4af93f(0x2be)](_0x2b00fd){const _0x299a0=_0x4af93f;switch(_0x2b00fd[_0x299a0(0x280)]){case 0x0:this[_0x299a0(0x2e0)](_0x2b00fd);break;case 0x1:this[_0x299a0(0x298)](_0x2b00fd);break;case 0x2:this[_0x299a0(0xb2)](_0x2b00fd);break;}}[_0x4af93f(0x2e0)](_0x1071a6){const _0x297595=_0x4af93f,{unitIDs:_0x5c55ef,memberID:_0x4297d7,isForwarded:_0x2060c6}=_0x1071a6;_0x5c55ef[_0x297595(0x2c9)](_0x429fa5=>{const _0x74691b=_0x297595;if(!_0x2060c6&&this[_0x74691b(0x206)][_0x74691b(0x148)](_0x429fa5)&&this[_0x74691b(0xd9)](_0x429fa5)[_0x74691b(0x2c4)](u[_0x74691b(0x1aa)]['OTHER_CLIENTS_EDITING']),!this[_0x74691b(0x206)][_0x74691b(0x148)](_0x429fa5)||!this['_unitOnClients'][_0x74691b(0x27f)](_0x429fa5)[_0x74691b(0x148)](_0x4297d7)){const _0x44afb9=this[_0x74691b(0x206)]['get'](_0x429fa5)||new Set();_0x44afb9[_0x74691b(0x13d)](_0x4297d7),this[_0x74691b(0x206)][_0x74691b(0x167)](_0x429fa5,_0x44afb9),this[_0x74691b(0xa5)](_0x4297d7);}}),_0x2060c6||this[_0x297595(0x281)]({'type':0x0,'memberID':this[_0x297595(0x27d)],'unitIDs':[...this[_0x297595(0x1b1)]],'isForwarded':!0x0});}[_0x4af93f(0xa5)](_0x2206b3){const _0x1a636b=_0x4af93f;this[_0x1a636b(0x226)](_0x2206b3);const _0x374c93=window[_0x1a636b(0x290)](()=>{const _0xb4e5c7=_0x1a636b;this[_0xb4e5c7(0x206)][_0xb4e5c7(0x2c9)](_0x531a3e=>{const _0x7d1220=_0xb4e5c7;_0x531a3e[_0x7d1220(0x2d0)](_0x2206b3);});},Le*0x2);this[_0x1a636b(0x174)][_0x1a636b(0x167)](_0x2206b3,_0x374c93);}[_0x4af93f(0x226)](_0x2595b8){const _0x3458a1=_0x4af93f;if(this['_clearOtherTimers']['has'](_0x2595b8)){const _0x334238=this['_clearOtherTimers'][_0x3458a1(0x27f)](_0x2595b8);_0x334238&&window[_0x3458a1(0x19c)](_0x334238),this[_0x3458a1(0x174)]['set'](_0x2595b8,null);}}[_0x4af93f(0x298)](_0x2802cb){const _0x4ffa7f=_0x4af93f,{memberID:_0xfa1742,unitIDs:_0x343ecb}=_0x2802cb;_0x343ecb[_0x4ffa7f(0x2c9)](_0x4d1983=>{const _0xdc39c9=_0x4ffa7f;var _0x1497d2;const _0x1f968c=this['_unitOnClients'][_0xdc39c9(0x27f)](_0x4d1983);_0x1f968c&&(_0x1f968c[_0xdc39c9(0x2d0)](_0xfa1742),(_0x1497d2=this[_0xdc39c9(0xd9)](_0x4d1983))==null||_0x1497d2[_0xdc39c9(0x2c4)](_0x1f968c['size']===0x0?u[_0xdc39c9(0x1aa)][_0xdc39c9(0xb0)]:u[_0xdc39c9(0x1aa)][_0xdc39c9(0x199)]));}),this[_0x4ffa7f(0x226)](_0xfa1742);}[_0x4af93f(0xb2)](_0x462d94){const _0x3354b8=_0x4af93f;this['_scheduleClearOtherTimer'](_0x462d94[_0x3354b8(0xcb)]);}['_send'](_0x4b7470){const _0x149345=_0x4af93f;localStorage['setItem'](Pe,JSON[_0x149345(0x1c8)](_0x4b7470));}[_0x4af93f(0x25e)](){const _0x5525e8=_0x4af93f;this[_0x5525e8(0x197)]=window[_0x5525e8(0x2c2)](()=>{const _0x4a1c28=_0x5525e8;this[_0x4a1c28(0x281)]({'type':0x2,'memberID':this['_id']});},Le);}[_0x4af93f(0xd9)](_0x18f40b){const _0x1d13f7=_0x4af93f;return this[_0x1d13f7(0xbb)][_0x1d13f7(0x148)](_0x18f40b)||this[_0x1d13f7(0xbb)][_0x1d13f7(0x167)](_0x18f40b,new d['BehaviorSubject'](u[_0x1d13f7(0x1aa)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1d13f7(0xbb)][_0x1d13f7(0x27f)](_0x18f40b);}}var ke=(_0xa213d1=>(_0xa213d1[_0xa213d1[_0x4af93f(0x279)]=0x0]='UNDEFINED',_0xa213d1[_0xa213d1['OK']=0x1]='OK',_0xa213d1[_0xa213d1[_0x4af93f(0x18f)]=0x2]='INTERNAL_ERROR',_0xa213d1[_0xa213d1[_0x4af93f(0x1b6)]=0x3]=_0x4af93f(0x1b6),_0xa213d1[_0xa213d1[_0x4af93f(0x152)]=0x4]=_0x4af93f(0x152),_0xa213d1[_0xa213d1[_0x4af93f(0x232)]=0x5]='UNAUTHENTICATED',_0xa213d1[_0xa213d1[_0x4af93f(0x107)]=0x6]=_0x4af93f(0x107),_0xa213d1[_0xa213d1[_0x4af93f(0x2d1)]=0x7]=_0x4af93f(0x2d1),_0xa213d1[_0xa213d1['TOO_MANY_REQUESTS']=0x8]=_0x4af93f(0x2b9),_0xa213d1[_0xa213d1[_0x4af93f(0x254)]=0x9]=_0x4af93f(0x254),_0xa213d1[_0xa213d1[_0x4af93f(0x87)]=0xa]=_0x4af93f(0x87),_0xa213d1[_0xa213d1[_0x4af93f(0x219)]=0x1389]=_0x4af93f(0x219),_0xa213d1[_0xa213d1[_0x4af93f(0x271)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xa213d1[_0xa213d1[_0x4af93f(0x2ad)]=0x1772]=_0x4af93f(0x2ad),_0xa213d1[_0xa213d1[_0x4af93f(0x129)]=0x1773]=_0x4af93f(0x129),_0xa213d1[_0xa213d1[_0x4af93f(0x266)]=0x1b59]=_0x4af93f(0x266),_0xa213d1[_0xa213d1[_0x4af93f(0x188)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xa213d1[_0xa213d1[_0x4af93f(0x194)]=0x1b5b]=_0x4af93f(0x194),_0xa213d1[_0xa213d1[_0x4af93f(0x224)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xa213d1[_0xa213d1[_0x4af93f(0x168)]=0x1b5d]='APPLY_DUPLICATED',_0xa213d1[_0xa213d1[_0x4af93f(0xf9)]=0x1f41]=_0x4af93f(0xf9),_0xa213d1[_0xa213d1[_0x4af93f(0x2da)]=0x2329]=_0x4af93f(0x2da),_0xa213d1[_0xa213d1[_0x4af93f(0xd1)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xa213d1[_0xa213d1[_0x4af93f(0xf6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xa213d1[_0xa213d1[_0x4af93f(0x172)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa213d1[_0xa213d1['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xa213d1[_0xa213d1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4af93f(0x262),_0xa213d1[_0xa213d1[_0x4af93f(0x19a)]=0x2712]=_0x4af93f(0x19a),_0xa213d1[_0xa213d1[_0x4af93f(0x170)]=0x2713]=_0x4af93f(0x170),_0xa213d1[_0xa213d1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xa213d1[_0xa213d1[_0x4af93f(0xf2)]=0x271a]=_0x4af93f(0xf2),_0xa213d1[_0xa213d1[_0x4af93f(0x2b6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xa213d1[_0xa213d1[_0x4af93f(0x1d8)]=0x2af9]=_0x4af93f(0x1d8),_0xa213d1[_0xa213d1[_0x4af93f(0x274)]=0x2ee1]=_0x4af93f(0x274),_0xa213d1[_0xa213d1[_0x4af93f(0x2b4)]=0x2ee2]=_0x4af93f(0x2b4),_0xa213d1[_0xa213d1[_0x4af93f(0xb9)]=0x2ee3]=_0x4af93f(0xb9),_0xa213d1[_0xa213d1[_0x4af93f(0x1ed)]=0x2ee4]=_0x4af93f(0x1ed),_0xa213d1[_0xa213d1[_0x4af93f(0x142)]=0x2ee5]=_0x4af93f(0x142),_0xa213d1[_0xa213d1[_0x4af93f(0x234)]=0x32c9]=_0x4af93f(0x234),_0xa213d1[_0xa213d1[_0x4af93f(0x94)]=0x32ca]=_0x4af93f(0x94),_0xa213d1[_0xa213d1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4af93f(0x117),_0xa213d1[_0xa213d1[_0x4af93f(0x265)]=-0x1]=_0x4af93f(0x265),_0xa213d1))(ke||{}),_s=Object['getOwnPropertyDescriptor'],hs=(_0x582322,_0x1c30c2,_0x484ad7,_0x5b6ec8)=>{const _0x1678f2=_0x4af93f;for(var _0x51c13c=_0x5b6ec8>0x1?void 0x0:_0x5b6ec8?_s(_0x1c30c2,_0x484ad7):_0x1c30c2,_0x585024=_0x582322[_0x1678f2(0x10c)]-0x1,_0x404ae5;_0x585024>=0x0;_0x585024--)(_0x404ae5=_0x582322[_0x585024])&&(_0x51c13c=_0x404ae5(_0x51c13c)||_0x51c13c);return _0x51c13c;},de=(_0x34bc6a,_0xabbcd0)=>(_0x1d5919,_0x225cc0)=>_0xabbcd0(_0x1d5919,_0x225cc0,_0x34bc6a);exports[_0x4af93f(0x1b4)]=class extends a[_0x4af93f(0x14c)]{constructor(_0x4f4da1,_0xe6e058,_0x1774df){const _0xfdd93d=_0x4af93f;super(),this[_0xfdd93d(0x97)]=_0x4f4da1,this[_0xfdd93d(0x72)]=_0xe6e058,this[_0xfdd93d(0x1f7)]=_0x1774df;}async[_0x4af93f(0x244)](_0x450cf2,_0x39fd17,_0x22b887,..._0x670941){const _0x21b5c3=_0x4af93f;var _0x276954,_0x4bc2a5,_0x3ce559,_0x19baf2;const _0x3f4661=this[_0x21b5c3(0x97)][_0x21b5c3(0xae)]();if(!_0x3f4661)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x26ff70=((_0x276954=this[_0x21b5c3(0x1f7)][_0x21b5c3(0x28b)](u[_0x21b5c3(0x7d)]))!=null?_0x276954:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x450cf2+_0x21b5c3(0xc8)+_0x39fd17,_0x426505=new URL(window[_0x21b5c3(0x9e)]['href']),_0x2ce82e={'scriptId':_0x450cf2,'runId':(_0x4bc2a5=_0x426505['searchParams'][_0x21b5c3(0x27f)]('runId'))!=null?_0x4bc2a5:'','function':_0x39fd17,'unitId':_0x3f4661['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x670941),'invokeId':(_0x3ce559=_0x22b887['invokeId'])!=null?_0x3ce559:'','executionId':(_0x19baf2=_0x22b887[_0x21b5c3(0xef)])!=null?_0x19baf2:''};try{const _0x2a0f3e=await this['_httpService'][_0x21b5c3(0x1de)](_0x26ff70,{'body':_0x2ce82e});return _0x2a0f3e['body'][_0x21b5c3(0x1a2)]&&_0x2a0f3e[_0x21b5c3(0x161)]['error'][_0x21b5c3(0x11e)]!==ke['OK']?_0x21b5c3(0xd8):_0x2a0f3e[_0x21b5c3(0x161)][_0x21b5c3(0x296)];}catch{return'Failed';}}},exports[_0x4af93f(0x1b4)]=hs([de(0x0,a[_0x4af93f(0x9c)]),de(0x1,a[_0x4af93f(0x2a1)](q[_0x4af93f(0x2b0)])),de(0x2,a[_0x4af93f(0x20d)])],exports[_0x4af93f(0x1b4)]),exports[_0x4af93f(0x19b)]=je,exports[_0x4af93f(0x1b3)]=Ee,exports['SheetCollabCursorShape']=Ae,exports[_0x4af93f(0x208)]=ls,exports[_0x4af93f(0x1e1)]=Be;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x1866(_0x412165,_0x86c43){const _0x327358=_0x3273();return _0x1866=function(_0x186650,_0x1e14b8){_0x186650=_0x186650-0xfa;let _0x683b40=_0x327358[_0x186650];return _0x683b40;},_0x1866(_0x412165,_0x86c43);}const _0x29effc=_0x1866;(function(_0x385451,_0x432292){const _0x273daa=_0x1866,_0x4ec75f=_0x385451();while(!![]){try{const _0x38a61b=-parseInt(_0x273daa(0x104))/0x1*(parseInt(_0x273daa(0xfd))/0x2)+-parseInt(_0x273daa(0xfc))/0x3*(parseInt(_0x273daa(0x100))/0x4)+-parseInt(_0x273daa(0x110))/0x5*(-parseInt(_0x273daa(0xfb))/0x6)+parseInt(_0x273daa(0x112))/0x7+-parseInt(_0x273daa(0x10e))/0x8*(-parseInt(_0x273daa(0x10f))/0x9)+parseInt(_0x273daa(0x108))/0xa*(parseInt(_0x273daa(0x109))/0xb)+parseInt(_0x273daa(0x106))/0xc;if(_0x38a61b===_0x432292)break;else _0x4ec75f['push'](_0x4ec75f['shift']());}catch(_0x544388){_0x4ec75f['push'](_0x4ec75f['shift']());}}}(_0x3273,0x74f8d));function _0x3273(){const _0xa518ae=['5502384bFYiBg','Synced','10bEeSnq','615274pDjSDc','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','exports','Edit\x20conflicts','1760zRZwgn','15453pIMyIr','5zwVBwt','Syncing...','4041184zKfFmo','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20please\x20check\x20your\x20network.','858684NwsbmP','303hJpSkd','2WrgYIQ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','14704gofRhU','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.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','762239MbwGsZ','Syncing\x20server\x20data...'];_0x3273=function(){return _0xa518ae;};return _0x3273();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x29effc(0x105),'conflict':_0x29effc(0x10d),'notCollab':_0x29effc(0xff),'synced':_0x29effc(0x107),'syncing':_0x29effc(0x111),'offline':_0x29effc(0x10a)},'session':{'connection-failed':_0x29effc(0xfa),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x29effc(0x10b)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x29effc(0x101)},'permission':{'title':'Authentication\x20Error','content':_0x29effc(0x102)},'collaboration':{'single-unit':{'warning':_0x29effc(0xfe)},'closeRoom':_0x29effc(0x113)},'auth':{'needGotoLoginAlert':_0x29effc(0x103)}};module[_0x29effc(0x10c)]=e;
|