@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-2b6408c → 0.6.10-experimental.20250428-63779a3

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x4505(_0x2b472b,_0x2b13ba){const _0x1f7a1e=_0x1f7a();return _0x4505=function(_0x450500,_0x3c9a78){_0x450500=_0x450500-0xa9;let _0x51525c=_0x1f7a1e[_0x450500];return _0x51525c;},_0x4505(_0x2b472b,_0x2b13ba);}function _0x1f7a(){const _0xafcd1d=['FUniver','140AYkTad','803806vApHpq','4347174LmRvxW','1019178eCBeKR','get','16wFodVn','69883Zqtsmk','3660wkbXhW','40aHuUxg','runOnServer','1819910qCgWDo','980140RvkXFp','1MNHFEv','extend','@univerjs/core/facade','54399RunNdG'];_0x1f7a=function(){return _0xafcd1d;};return _0x1f7a();}const _0xd494d=_0x4505;(function(_0x18640a,_0x145dae){const _0xa4675a=_0x4505,_0x54a321=_0x18640a();while(!![]){try{const _0x19ac1e=parseInt(_0xa4675a(0xac))/0x1*(-parseInt(_0xa4675a(0xb2))/0x2)+parseInt(_0xa4675a(0xaf))/0x3*(-parseInt(_0xa4675a(0xb1))/0x4)+parseInt(_0xa4675a(0xaa))/0x5+-parseInt(_0xa4675a(0xb3))/0x6+parseInt(_0xa4675a(0xab))/0x7*(parseInt(_0xa4675a(0xb6))/0x8)+-parseInt(_0xa4675a(0xb4))/0x9*(parseInt(_0xa4675a(0xb9))/0xa)+parseInt(_0xa4675a(0xb7))/0xb*(parseInt(_0xa4675a(0xb8))/0xc);if(_0x19ac1e===_0x145dae)break;else _0x54a321['push'](_0x54a321['shift']());}catch(_0x1f3ccc){_0x54a321['push'](_0x54a321['shift']());}}}(_0x1f7a,0x59c10));const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0xd494d(0xae));class c extends e[_0xd494d(0xb0)]{['runOnServer'](_0x86601,_0x24a596,..._0x123de3){const _0x4a5c37=_0xd494d;return this['_injector'][_0x4a5c37(0xb5)](t['RemoteUniscriptService'])[_0x4a5c37(0xa9)](_0x86601,_0x24a596,{},..._0x123de3);}}e[_0xd494d(0xb0)][_0xd494d(0xad)](c);
1
+ 'use strict';const _0x117383=_0x3cfb;function _0x3cfb(_0x5428b2,_0x3b23b0){const _0x54de3c=_0x54de();return _0x3cfb=function(_0x3cfbfb,_0x368b0c){_0x3cfbfb=_0x3cfbfb-0x1d7;let _0xc1579f=_0x54de3c[_0x3cfbfb];return _0xc1579f;},_0x3cfb(_0x5428b2,_0x3b23b0);}(function(_0x42ba7f,_0x1b339e){const _0x3ca1c7=_0x3cfb,_0x2e68b8=_0x42ba7f();while(!![]){try{const _0x5b3940=-parseInt(_0x3ca1c7(0x1e1))/0x1*(parseInt(_0x3ca1c7(0x1de))/0x2)+parseInt(_0x3ca1c7(0x1da))/0x3+-parseInt(_0x3ca1c7(0x1dc))/0x4+parseInt(_0x3ca1c7(0x1d8))/0x5*(parseInt(_0x3ca1c7(0x1dd))/0x6)+parseInt(_0x3ca1c7(0x1d7))/0x7*(-parseInt(_0x3ca1c7(0x1df))/0x8)+-parseInt(_0x3ca1c7(0x1e7))/0x9*(parseInt(_0x3ca1c7(0x1d9))/0xa)+parseInt(_0x3ca1c7(0x1e0))/0xb*(parseInt(_0x3ca1c7(0x1e5))/0xc);if(_0x5b3940===_0x1b339e)break;else _0x2e68b8['push'](_0x2e68b8['shift']());}catch(_0x52b136){_0x2e68b8['push'](_0x2e68b8['shift']());}}}(_0x54de,0x417cc));const t=require(_0x117383(0x1e6)),e=require(_0x117383(0x1e2));class c extends e[_0x117383(0x1e3)]{['runOnServer'](_0x2d913b,_0x284f7d,..._0x2de1ee){const _0x553882=_0x117383;return this['_injector'][_0x553882(0x1e4)](t[_0x553882(0x1db)])['runOnServer'](_0x2d913b,_0x284f7d,{},..._0x2de1ee);}}e[_0x117383(0x1e3)]['extend'](c);function _0x54de(){const _0x22de89=['29984iluDhy','22IcFdIN','501xnPoTa','@univerjs/core/facade','FUniver','get','5243844UmfBCQ','@univerjs-pro/collaboration-client-ui','2134953kHFtLx','707zEghxR','5MCtIlB','10bvGGVt','572325gLNHTp','RemoteUniscriptService','946460cilzyU','1215960nLAAbA','586POFsQl'];_0x54de=function(){return _0x22de89;};return _0x54de();}
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x581ecc=_0x17f3;(function(_0x44d5ef,_0x500166){const _0x3144b4=_0x17f3,_0x5b25f7=_0x44d5ef();while(!![]){try{const _0x363162=-parseInt(_0x3144b4(0x1aa))/0x1+parseInt(_0x3144b4(0x30a))/0x2+parseInt(_0x3144b4(0x129))/0x3*(-parseInt(_0x3144b4(0x1e0))/0x4)+-parseInt(_0x3144b4(0x1c7))/0x5*(-parseInt(_0x3144b4(0x173))/0x6)+parseInt(_0x3144b4(0x2f1))/0x7*(parseInt(_0x3144b4(0x14e))/0x8)+parseInt(_0x3144b4(0x2f2))/0x9+-parseInt(_0x3144b4(0x33f))/0xa;if(_0x363162===_0x500166)break;else _0x5b25f7['push'](_0x5b25f7['shift']());}catch(_0x40ba1e){_0x5b25f7['push'](_0x5b25f7['shift']());}}}(_0x3fa8,0xeba46));var Ve=Object[_0x581ecc(0x2bf)],Xe=(_0x2ac63d,_0x14eb34,_0xc5dc84)=>_0x14eb34 in _0x2ac63d?Ve(_0x2ac63d,_0x14eb34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc5dc84}):_0x2ac63d[_0x14eb34]=_0xc5dc84,h=(_0x42e58c,_0x5d9e36,_0x139fa5)=>Xe(_0x42e58c,typeof _0x5d9e36!=_0x581ecc(0x2fd)?_0x5d9e36+'':_0x5d9e36,_0x139fa5);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x581ecc(0x172)});const u=require(_0x581ecc(0x2ab)),a=require(_0x581ecc(0x2e6)),p=require(_0x581ecc(0x1d6)),G=require('@univerjs/network'),b=require(_0x581ecc(0x356)),Ge=require(_0x581ecc(0x21b)),d=require(_0x581ecc(0x28a)),W=require('@univerjs/docs'),m=require('@univerjs-pro/collaboration'),Ee=require(_0x581ecc(0x1d5)),g=require(_0x581ecc(0x1dc)),$=require(_0x581ecc(0x385)),X=require(_0x581ecc(0x32a)),P=require('react/jsx-runtime'),T=require(_0x581ecc(0x2a3)),D=require('@univerjs/design'),M=require(_0x581ecc(0x33b)),qe=require('@univerjs/rpc');var Ke=Object[_0x581ecc(0x182)],ze=(_0x2da86f,_0xab15f0,_0x3465d0,_0x164cf5)=>{const _0x420ece=_0x581ecc;for(var _0x12e818=_0x164cf5>0x1?void 0x0:_0x164cf5?Ke(_0xab15f0,_0x3465d0):_0xab15f0,_0x35c79b=_0x2da86f[_0x420ece(0x2a0)]-0x1,_0x26ed5c;_0x35c79b>=0x0;_0x35c79b--)(_0x26ed5c=_0x2da86f[_0x35c79b])&&(_0x12e818=_0x26ed5c(_0x12e818)||_0x12e818);return _0x12e818;},Te=(_0x2dfe7c,_0x381300)=>(_0x2caa7c,_0x5d9a22)=>_0x381300(_0x2caa7c,_0x5d9a22,_0x2dfe7c);let de=class extends a[_0x581ecc(0x2e8)]{constructor(_0x33bb95,_0x27cbc6){const _0x787e2e=_0x581ecc;super(),this['_docClipboardService']=_0x33bb95,this[_0x787e2e(0x231)]=_0x27cbc6,this[_0x787e2e(0x1f1)]();}['_init'](){const _0x2b3554=_0x581ecc,_0x13aa8a=this;this[_0x2b3554(0x191)](this['_docClipboardService'][_0x2b3554(0x1be)]({'onBeforePasteImage':async _0xdb73ef=>{const _0x5e5390=_0x2b3554,_0x129600=await _0x13aa8a[_0x5e5390(0x231)][_0x5e5390(0x2f7)](_0xdb73ef);return _0x129600?{'source':_0x129600['source'],'imageSourceType':_0x129600[_0x5e5390(0x2e4)]}:null;}}));}};de=ze([Te(0x0,b[_0x581ecc(0x2b3)]),Te(0x1,Ge[_0x581ecc(0x341)])],de);const Oe=['purple300',_0x581ecc(0x175),_0x581ecc(0x1b7),'red300',_0x581ecc(0x1e2),_0x581ecc(0x2e5)];class me extends a[_0x581ecc(0x1fc)]{constructor(){const _0x229868=_0x581ecc;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x229868(0x18f),0x0);}['assignAColorForMemberID'](_0x55e10c){const _0x1dea26=_0x581ecc;if(this[_0x1dea26(0x266)][_0x1dea26(0x1af)](_0x55e10c))return this['_assignedColors'][_0x1dea26(0x2b8)](_0x55e10c);const _0x25296b=Oe[this[_0x1dea26(0x18f)]];return this[_0x1dea26(0x18f)]=(this[_0x1dea26(0x18f)]+0x1)%Oe[_0x1dea26(0x2a0)],this[_0x1dea26(0x266)][_0x1dea26(0x2d0)](_0x55e10c,_0x25296b),_0x25296b;}}function Pe(_0x1e90e1){const _0x4a7794=_0x581ecc;let _0x30e136='';for(const _0x5b4da8 of _0x1e90e1){const {startOffset:_0x3e7b8c,endOffset:_0x3dd1cf,isActive:_0x3fa57d,rangeType:_0x1d2d7b,segmentId:_0x21a807,segmentPage:_0x577531}=_0x5b4da8;_0x30e136[_0x4a7794(0x2a0)]&&(_0x30e136+=','),_0x30e136+=_0x3e7b8c+':'+_0x3dd1cf+':'+(_0x3fa57d?'1':'0')+':'+_0x1d2d7b+':'+_0x21a807+':'+_0x577531;}return _0x30e136;}function Je(_0x32c287){const _0xe84765=_0x581ecc,_0x555195=_0x32c287[_0xe84765(0x348)](','),_0x4a9cf9=[];for(const _0xb54da7 of _0x555195){const [_0x246b32,_0x4d683f,_0x569f00,_0x47541e,_0x2a8fea,_0xf78467]=_0xb54da7['split'](':');_0x4a9cf9[_0xe84765(0x11e)]({'startOffset':Number(_0x246b32),'endOffset':Number(_0x4d683f),'collapsed':_0x246b32===_0x4d683f,'isActive':_0x569f00==='1','rangeType':_0x47541e===a[_0xe84765(0x1c2)][_0xe84765(0x217)]?a['DOC_RANGE_TYPE'][_0xe84765(0x217)]:a['DOC_RANGE_TYPE'][_0xe84765(0x331)],'segmentId':typeof _0x2a8fea=='string'?String(_0x2a8fea):'','segmentPage':Number(_0xf78467!=null?_0xf78467:-0x1)});}return _0x4a9cf9['some'](_0x32e09c=>_0x32e09c[_0xe84765(0x37f)])||(_0x4a9cf9[0x0][_0xe84765(0x37f)]=!0x0),_0x4a9cf9;}class Ce extends a['RxDisposable']{constructor(){const _0x49ccf1=_0x581ecc;super(...arguments),h(this,'_collabCursorState$',new d['BehaviorSubject'](null)),h(this,_0x49ccf1(0x19f),this[_0x49ccf1(0x240)][_0x49ccf1(0x2ea)]());}[_0x581ecc(0x28d)](_0x2ad354){const _0x37284e=_0x581ecc,{unitID:_0x217248,memberID:_0x35a5ad,textRanges:_0x16fbf8}=_0x2ad354,_0x3c5c5f=Pe(_0x16fbf8);if(_0x3c5c5f==='')return;const _0x5060b9={'unitID':_0x217248,'memberID':_0x35a5ad,'selection':_0x3c5c5f};this[_0x37284e(0x240)][_0x37284e(0x33d)](_0x5060b9);}}var Ze=Object[_0x581ecc(0x182)],Qe=(_0x5e0305,_0x133fd1,_0x381ab6,_0x4bfdfd)=>{const _0x2f9849=_0x581ecc;for(var _0x31e3d2=_0x4bfdfd>0x1?void 0x0:_0x4bfdfd?Ze(_0x133fd1,_0x381ab6):_0x133fd1,_0x24310d=_0x5e0305[_0x2f9849(0x2a0)]-0x1,_0x40fc4f;_0x24310d>=0x0;_0x24310d--)(_0x40fc4f=_0x5e0305[_0x24310d])&&(_0x31e3d2=_0x40fc4f(_0x31e3d2)||_0x31e3d2);return _0x31e3d2;},L=(_0x364a64,_0x23a1a6)=>(_0x275a43,_0x26fe05)=>_0x23a1a6(_0x275a43,_0x26fe05,_0x364a64);const et=0x12c,tt=0x64;let fe=class extends a['RxDisposable']{constructor(_0x3cc6f8,_0x5b2cfe,_0x3e5b90,_0x487167,_0x1fb0ad,_0x43ba95,_0x38317b,_0x1e014f,_0x43aac2){const _0x312e7e=_0x581ecc;super(),h(this,_0x312e7e(0x34a),!0x1),h(this,'_init',!0x1),h(this,_0x312e7e(0x20e),new d[(_0x312e7e(0x205))](new Map())),h(this,_0x312e7e(0x22c),this['_cursorInfo$']['asObservable']()),h(this,'_roomMembers$',new d[(_0x312e7e(0x205))]([])),h(this,'roomMembers$',this[_0x312e7e(0x140)][_0x312e7e(0x37a)](d['debounceTime'](et))),h(this,_0x312e7e(0x337),a[_0x312e7e(0x2c5)](_0x590ad5=>{const _0x42e156=_0x312e7e,_0x3b7e52={'eventID':m[_0x42e156(0x344)][_0x42e156(0x22e)],'data':{'unitID':this[_0x42e156(0x2c7)],'memberID':this[_0x42e156(0x38d)][_0x42e156(0x363)](),'selection':Pe(_0x590ad5)}};this['_session']['send'](_0x3b7e52,this[_0x42e156(0x2c7)]);},tt)),(this['unitID']=_0x3cc6f8,this[_0x312e7e(0x38d)]=_0x5b2cfe,this['_injector']=_0x3e5b90,this[_0x312e7e(0x1b3)]=_0x487167,this[_0x312e7e(0x19d)]=_0x1fb0ad,this[_0x312e7e(0x32d)]=_0x43ba95,this[_0x312e7e(0x2ae)]=_0x38317b,this[_0x312e7e(0x1a1)]=_0x1e014f,this[_0x312e7e(0x290)]=_0x43aac2);}get[_0x581ecc(0x33e)](){const _0xbf0d18=_0x581ecc;return this[_0xbf0d18(0x20e)][_0xbf0d18(0x242)]();}get[_0x581ecc(0x285)](){const _0x1d1085=_0x581ecc;return this[_0x1d1085(0x140)][_0x1d1085(0x242)]();}[_0x581ecc(0x1b0)](){const _0x515467=_0x581ecc;super[_0x515467(0x1b0)](),this[_0x515467(0x20e)][_0x515467(0x33d)](new Map()),this['_cursorInfo$']['complete'](),this[_0x515467(0x140)][_0x515467(0x33d)]([]),this[_0x515467(0x140)][_0x515467(0x21e)]();}['init'](){const _0x55ca2c=_0x581ecc;this[_0x55ca2c(0x1f1)]||(this[_0x55ca2c(0x1f1)]=!0x0,this['_session'][_0x55ca2c(0x2c0)][_0x55ca2c(0x37a)](d[_0x55ca2c(0x18e)](this[_0x55ca2c(0x194)]))['subscribe'](_0x50542f=>{const _0x900b19=_0x55ca2c;_0x50542f===u['SessionStatus'][_0x900b19(0x325)]?this[_0x900b19(0x30e)]():this[_0x900b19(0x267)]();}),this[_0x55ca2c(0x38d)][_0x55ca2c(0x2dc)]['pipe'](d[_0x55ca2c(0x18e)](this[_0x55ca2c(0x194)]))['subscribe'](_0x5c54d2=>{const _0x1ca7b4=_0x55ca2c,_0xe2942e=_0x5c54d2[_0x1ca7b4(0x38c)];_0xe2942e===m['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x1ca7b4(0x145)](_0x5c54d2),_0xe2942e===m[_0x1ca7b4(0x344)][_0x1ca7b4(0x2d7)]&&this[_0x1ca7b4(0x188)](_0x5c54d2);}),this[_0x55ca2c(0x191)](this[_0x55ca2c(0x290)][_0x55ca2c(0x2be)](_0x1ac37f=>{const _0x14ad44=_0x55ca2c,_0x2d8b23=_0x1ac37f['params'];_0x2d8b23!=null&&this[_0x14ad44(0x34a)]&&_0x1ac37f['id']===W['SetTextSelectionsOperation']['id']&&_0x2d8b23[_0x14ad44(0x2bc)]===this[_0x14ad44(0x2c7)]&&_0x2d8b23[_0x14ad44(0x1ce)]===!0x1&&_0x2d8b23[_0x14ad44(0x249)][_0x14ad44(0x2a0)]>0x0&&this['_updateLocalCursor'](_0x2d8b23['ranges']);})),this[_0x55ca2c(0x32d)][_0x55ca2c(0x19f)][_0x55ca2c(0x37a)](d[_0x55ca2c(0x18e)](this[_0x55ca2c(0x194)]))[_0x55ca2c(0x21f)](_0x120065=>{const _0x4cb77a=_0x55ca2c;if((_0x120065==null?void 0x0:_0x120065[_0x4cb77a(0x2c7)])!==this[_0x4cb77a(0x2c7)])return;const _0x305612={'eventID':m[_0x4cb77a(0x344)][_0x4cb77a(0x22e)],'data':_0x120065};this[_0x4cb77a(0x145)](_0x305612);}),this[_0x55ca2c(0x191)](this[_0x55ca2c(0x290)][_0x55ca2c(0x2be)](_0x24ed10=>{const _0x281b7b=_0x55ca2c;if(_0x24ed10[_0x281b7b(0x16d)]==null)return;const _0x1bf554=_0x24ed10[_0x281b7b(0x16d)];if(_0x24ed10['id']!==W[_0x281b7b(0x2b4)]['id']||_0x1bf554[_0x281b7b(0x2bc)]!==this[_0x281b7b(0x2c7)])return;const _0x49ce45={'id':_0x281b7b(0x306),'params':_0x1bf554},_0x695aed=this[_0x281b7b(0x33e)];for(const [_0x436538,_0x34412c]of _0x695aed){const _0xf1c50f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x281b7b(0x2c7)],'actions':null,'textRanges':_0x34412c[_0x281b7b(0x249)]}},_0x4ab50b=this[_0x281b7b(0x2ae)][_0x281b7b(0x2cb)](_0x49ce45,_0xf1c50f,!0x1);if(m['isTransformMutationFailure'](_0x4ab50b))throw _0x4ab50b['error'];_0x695aed[_0x281b7b(0x2d0)](_0x436538,{..._0x34412c,'ranges':_0x4ab50b['m2Prime'][_0x281b7b(0x16d)][_0x281b7b(0x375)]});}queueMicrotask(()=>{const _0x373b80=_0x281b7b;this['_cursorInfo$'][_0x373b80(0x33d)](_0x695aed);});})));}[_0x581ecc(0x145)](_0x4d5684){const _0x421122=_0x581ecc;var _0x3376df,_0x6963e;const {memberID:_0x4defa4,selection:_0x3b1cf6}=_0x4d5684[_0x421122(0x17c)],_0xb0f28d=Je(_0x3b1cf6),_0xc066a9=(_0x6963e=(_0x3376df=this[_0x421122(0x19d)]['getMember'](this[_0x421122(0x2c7)],_0x4defa4))==null?void 0x0:_0x3376df[_0x421122(0x1a4)])!=null?_0x6963e:_0x421122(0x2f3),_0x285313={'color':this['_colorAssignService'][_0x421122(0x17e)](_0x4defa4),'name':_0xc066a9,'ranges':_0xb0f28d},_0x3a0e1b=this[_0x421122(0x33e)];_0x3a0e1b[_0x421122(0x2d0)](_0x4defa4,_0x285313),this[_0x421122(0x20e)][_0x421122(0x33d)](_0x3a0e1b);}[_0x581ecc(0x188)](_0x22297c){const _0x3b010b=_0x581ecc,{memberID:_0x40b86c}=_0x22297c[_0x3b010b(0x17c)],_0x5c0c39=this[_0x3b010b(0x33e)];_0x5c0c39['delete'](_0x40b86c),this[_0x3b010b(0x20e)][_0x3b010b(0x33d)](_0x5c0c39);}[_0x581ecc(0x30e)](){const _0x42ceac=_0x581ecc;var _0x2fa6ee;if(this['_online']=!0x0,((_0x2fa6ee=this['_univerInstanceService'][_0x42ceac(0x254)]())==null?void 0x0:_0x2fa6ee[_0x42ceac(0x274)]())!==this[_0x42ceac(0x2c7)])return;const _0x730ef6=this[_0x42ceac(0x27b)]['get'](W['DocSelectionManagerService'])[_0x42ceac(0x360)]();Array['isArray'](_0x730ef6)&&_0x730ef6[_0x42ceac(0x2a0)]>0x0&&this[_0x42ceac(0x337)](_0x730ef6);}[_0x581ecc(0x267)](){const _0x305770=_0x581ecc;this[_0x305770(0x34a)]=!0x1;}};fe=Qe([L(0x2,a[_0x581ecc(0x210)](a[_0x581ecc(0x255)])),L(0x3,a[_0x581ecc(0x210)](me)),L(0x4,a['Inject'](u[_0x581ecc(0x308)])),L(0x5,a['Inject'](Ce)),L(0x6,m[_0x581ecc(0x28b)]),L(0x7,a[_0x581ecc(0x2f9)]),L(0x8,a[_0x581ecc(0x353)])],fe);var st=Object[_0x581ecc(0x182)],it=(_0x291b35,_0x5da4f5,_0x3cd4a7,_0x5dd837)=>{for(var _0x390085=_0x5dd837>0x1?void 0x0:_0x5dd837?st(_0x5da4f5,_0x3cd4a7):_0x5da4f5,_0x3e96dc=_0x291b35['length']-0x1,_0x29a791;_0x3e96dc>=0x0;_0x3e96dc--)(_0x29a791=_0x291b35[_0x3e96dc])&&(_0x390085=_0x29a791(_0x390085)||_0x390085);return _0x390085;},A=(_0x2c9a5a,_0x5a5ada)=>(_0x2f0b4d,_0x2c0edf)=>_0x5a5ada(_0x2f0b4d,_0x2c0edf,_0x2c9a5a);const nt=0x12c,rt=0x64,ot=()=>{let _0x1fa30e=[],_0xf3c5de=!0x1;return _0x1a5ae4=>{const _0x1f81a7=_0x17f3;_0x1fa30e[_0x1f81a7(0x11e)](_0x1a5ae4),_0xf3c5de||(_0xf3c5de=!0x0,setTimeout(()=>{_0x1fa30e['forEach'](_0x416292=>_0x416292()),_0x1fa30e=[],_0xf3c5de=!0x1;}));};};let Se=class extends a[_0x581ecc(0x2e8)]{constructor(_0x529c9c,_0x5bac16,_0x465f05,_0x1504cc,_0x57ac31,_0x55569b,_0x54fad8,_0x1b8f78){const _0x4a066d=_0x581ecc;super(),h(this,_0x4a066d(0x34a),!0x1),h(this,_0x4a066d(0x1f1),!0x1),h(this,_0x4a066d(0x20e),new d[(_0x4a066d(0x205))](new Map())),h(this,_0x4a066d(0x22c),this[_0x4a066d(0x20e)][_0x4a066d(0x2ea)]()),h(this,'_roomMembers$',new d[(_0x4a066d(0x205))]([])),h(this,_0x4a066d(0x160),this['_roomMembers$'][_0x4a066d(0x37a)](d['debounceTime'](nt))),h(this,_0x4a066d(0x337),a[_0x4a066d(0x2c5)]((_0xcf166a,_0x535710)=>{const _0x5aef41=_0x4a066d,_0x2e0403={'eventID':m[_0x5aef41(0x344)][_0x5aef41(0x22e)],'data':{'unitID':this[_0x5aef41(0x2c7)],'memberID':this[_0x5aef41(0x38d)][_0x5aef41(0x363)](),'selection':Ee[_0x5aef41(0x1fd)](_0xcf166a,_0x535710['range'])}};this[_0x5aef41(0x38d)][_0x5aef41(0x339)](_0x2e0403,this[_0x5aef41(0x2c7)]);},rt)),(this[_0x4a066d(0x2c7)]=_0x529c9c,this[_0x4a066d(0x38d)]=_0x5bac16,this[_0x4a066d(0x27b)]=_0x465f05,this[_0x4a066d(0x1b3)]=_0x1504cc,this[_0x4a066d(0x19d)]=_0x57ac31,this[_0x4a066d(0x1a1)]=_0x55569b,this[_0x4a066d(0x290)]=_0x54fad8,this[_0x4a066d(0x29f)]=_0x1b8f78);}get[_0x581ecc(0x33e)](){const _0x51795f=_0x581ecc;return this['_cursorInfo$'][_0x51795f(0x242)]();}get['roomMembers'](){const _0x4175d6=_0x581ecc;return this[_0x4175d6(0x140)]['getValue']();}[_0x581ecc(0x1b0)](){const _0x1d24fe=_0x581ecc;super[_0x1d24fe(0x1b0)](),this[_0x1d24fe(0x20e)][_0x1d24fe(0x33d)](new Map()),this['_cursorInfo$'][_0x1d24fe(0x21e)](),this[_0x1d24fe(0x140)][_0x1d24fe(0x33d)]([]),this[_0x1d24fe(0x140)][_0x1d24fe(0x21e)]();}[_0x581ecc(0x21c)](){const _0x5971c9=_0x581ecc;this[_0x5971c9(0x1f1)]||(this[_0x5971c9(0x1f1)]=!0x0,this[_0x5971c9(0x38d)][_0x5971c9(0x2c0)][_0x5971c9(0x37a)](d[_0x5971c9(0x18e)](this[_0x5971c9(0x194)]))[_0x5971c9(0x21f)](_0x159886=>{const _0x466eb4=_0x5971c9;_0x159886===u['SessionStatus'][_0x466eb4(0x325)]?this[_0x466eb4(0x30e)]():this[_0x466eb4(0x267)]();}),this[_0x5971c9(0x38d)][_0x5971c9(0x2dc)][_0x5971c9(0x37a)](d[_0x5971c9(0x18e)](this[_0x5971c9(0x194)]))['subscribe'](_0x44227f=>{const _0x1b0d85=_0x5971c9,_0x28002f=_0x44227f['eventID'];_0x28002f===m[_0x1b0d85(0x344)][_0x1b0d85(0x22e)]&&this['_onCursorUpdate'](_0x44227f),_0x28002f===m[_0x1b0d85(0x344)][_0x1b0d85(0x2d7)]&&this['_onCursorDelete'](_0x44227f);}),this[_0x5971c9(0x167)](),this[_0x5971c9(0x191)](this[_0x5971c9(0x290)]['onCommandExecuted'](_0x176ad2=>{const _0x2e2594=_0x5971c9;if(this[_0x2e2594(0x34a)]&&_0x176ad2['id']===g[_0x2e2594(0x1f9)]['id']&&_0x176ad2[_0x2e2594(0x16d)][_0x2e2594(0x2bc)]===this[_0x2e2594(0x2c7)]){const _0x5c7426=_0x176ad2['params'];this[_0x2e2594(0x337)](_0x5c7426[_0x2e2594(0x376)],_0x5c7426[_0x2e2594(0x391)][0x0]);}})));}[_0x581ecc(0x145)](_0xab04cc){const _0x12333e=_0x581ecc;var _0x1d6d01,_0x3e1109;const {memberID:_0x2f7ec4,selection:_0x8e6f00}=_0xab04cc[_0x12333e(0x17c)],{sheetName:_0x5e27fb,range:_0x5d53e4}=Ee['deserializeRangeWithSheet'](_0x8e6f00),_0x227f25={'name':(_0x3e1109=(_0x1d6d01=this[_0x12333e(0x19d)][_0x12333e(0x2e1)](this['unitID'],_0x2f7ec4))==null?void 0x0:_0x1d6d01[_0x12333e(0x1a4)])!=null?_0x3e1109:_0x12333e(0x2f3),'range':this[_0x12333e(0x2a9)](_0x5e27fb,_0x5d53e4),'sheetID':_0x5e27fb,'color':this['_colorAssignService'][_0x12333e(0x17e)](_0x2f7ec4),'selection':_0x8e6f00},_0x5ed271=this[_0x12333e(0x33e)];_0x5ed271[_0x12333e(0x2d0)](_0x2f7ec4,_0x227f25),this[_0x12333e(0x20e)][_0x12333e(0x33d)](_0x5ed271);}['_onCursorDelete'](_0x509fa2){const _0x161c26=_0x581ecc,{memberID:_0x110163}=_0x509fa2[_0x161c26(0x17c)],_0x3cf6d2=this[_0x161c26(0x33e)];_0x3cf6d2[_0x161c26(0x29e)](_0x110163),this[_0x161c26(0x20e)]['next'](_0x3cf6d2);}['_getMergeRange'](_0x9cce65,_0x257867){const _0x3aed38=_0x581ecc;var _0x3da228,_0x2fed6a;const _0x318b99=(_0x2fed6a=(_0x3da228=this['_univerInstanceService'][_0x3aed38(0x2b7)](this[_0x3aed38(0x2c7)]))==null?void 0x0:_0x3da228[_0x3aed38(0x21a)](_0x9cce65))==null?void 0x0:_0x2fed6a[_0x3aed38(0x1bb)]();return(_0x318b99==null?void 0x0:_0x318b99['find'](_0x206810=>a[_0x3aed38(0x20a)]['contains'](_0x206810,_0x257867)))||_0x257867;}[_0x581ecc(0x167)](){const _0x3363ee=_0x581ecc,_0xce5a4d=new a[(_0x3363ee(0x1ee))](),_0x5dc9b0=ot(),_0x420890=()=>{const _0x209d35=_0x3363ee;_0xce5a4d[_0x209d35(0x1b0)]();const _0x49a8ab=(_0x45af99,_0xe06d03,_0x427a90,_0x423e81)=>{const _0xb94441=_0x209d35;let _0x1817a0=[];switch(_0x45af99['id']){case g[_0xb94441(0x34d)][_0xb94441(0x1e6)]:{_0x1817a0=g[_0xb94441(0x36b)](_0x45af99,_0x423e81);break;}case g[_0xb94441(0x34d)][_0xb94441(0x1d3)]:{_0x1817a0=g[_0xb94441(0x1d1)](_0x45af99,_0x423e81);break;}case g[_0xb94441(0x34d)][_0xb94441(0x204)]:{_0x1817a0=g[_0xb94441(0x35a)](_0x45af99,_0x423e81);break;}case g[_0xb94441(0x34d)]['InsertRangeMoveDownCommandId']:{_0x1817a0=g[_0xb94441(0x236)](_0x45af99,_0x423e81);break;}case g[_0xb94441(0x34d)]['InsertRangeMoveRightCommandId']:{_0x1817a0=g[_0xb94441(0x1b5)](_0x45af99,_0x423e81);break;}case g['EffectRefRangId'][_0xb94441(0x2f4)]:{_0x1817a0=g[_0xb94441(0x2ad)](_0x45af99,_0x423e81);break;}case g[_0xb94441(0x34d)]['MoveRangeCommandId']:{_0x1817a0=g[_0xb94441(0x2c6)](_0x45af99,_0x423e81);break;}case g['EffectRefRangId'][_0xb94441(0x1ab)]:{_0x1817a0=g['handleIRemoveCol'](_0x45af99,_0x423e81);break;}case g[_0xb94441(0x34d)][_0xb94441(0x15f)]:{_0x1817a0=g['handleIRemoveRow'](_0x45af99,_0x423e81);break;}}const _0x47a754=g[_0xb94441(0x15c)](_0x1817a0,_0x423e81),_0x730454=this[_0xb94441(0x33e)][_0xb94441(0x2b8)](_0xe06d03);if(_0x730454&&_0x47a754){const _0x32595a={..._0x730454,'range':_0x47a754};this[_0xb94441(0x33e)]['set'](_0xe06d03,_0x32595a),_0x5dc9b0(()=>{const _0x4dda2b=_0xb94441,_0x3d5c86=this[_0x4dda2b(0x29f)][_0x4dda2b(0x277)](_0x47a754,_0x195d34=>(_0x3d5c86[_0x4dda2b(0x1b0)](),_0x49a8ab(_0x195d34,_0xe06d03,_0x427a90,_0x47a754)));_0xce5a4d[_0x4dda2b(0x1db)](_0x3d5c86);});}return{'redos':[],'undos':[]};};this[_0x209d35(0x33e)][_0x209d35(0x1dd)]((_0x52d21f,_0x392eec)=>{const _0xc0342d=_0x209d35,{range:_0x4a0284,sheetID:_0x2ddc79}=_0x52d21f,_0x27ee7d=this['_refRangeService'][_0xc0342d(0x277)](_0x4a0284,_0xf9c5f4=>(_0x27ee7d[_0xc0342d(0x1b0)](),_0x49a8ab(_0xf9c5f4,_0x392eec,_0x2ddc79,_0x4a0284)));_0xce5a4d['add'](_0x27ee7d);});};this[_0x3363ee(0x191)](a[_0x3363ee(0x354)](this[_0x3363ee(0x20e)][_0x3363ee(0x21f)](()=>{_0x420890();})));}[_0x581ecc(0x30e)](){const _0x15ec58=_0x581ecc;var _0x286cda,_0x2aeeb7;if(this[_0x15ec58(0x34a)]=!0x0,((_0x286cda=this[_0x15ec58(0x1a1)][_0x15ec58(0x254)]())==null?void 0x0:_0x286cda[_0x15ec58(0x274)]())!==this[_0x15ec58(0x2c7)])return;const _0x20b606=(_0x2aeeb7=this[_0x15ec58(0x27b)][_0x15ec58(0x2b8)](g[_0x15ec58(0x36f)])[_0x15ec58(0x1c5)]())==null?void 0x0:_0x2aeeb7[0x0],_0x38baae=this[_0x15ec58(0x1a1)][_0x15ec58(0x36a)](a[_0x15ec58(0x1e1)][_0x15ec58(0x373)])[_0x15ec58(0x2b9)]();_0x20b606&&_0x38baae&&this[_0x15ec58(0x337)](_0x38baae['getSheetId'](),_0x20b606);}[_0x581ecc(0x267)](){const _0x102faa=_0x581ecc;this[_0x102faa(0x34a)]=!0x1;}};Se=it([A(0x2,a['Inject'](a[_0x581ecc(0x255)])),A(0x3,a['Inject'](me)),A(0x4,a[_0x581ecc(0x210)](u[_0x581ecc(0x308)])),A(0x5,a[_0x581ecc(0x2f9)]),A(0x6,a[_0x581ecc(0x353)]),A(0x7,a[_0x581ecc(0x210)](g[_0x581ecc(0x1b6)]))],Se);var at=Object[_0x581ecc(0x182)],ct=(_0x28b2d6,_0x4dd595,_0x53290d,_0x24958c)=>{const _0xc84921=_0x581ecc;for(var _0x2f3dc4=_0x24958c>0x1?void 0x0:_0x24958c?at(_0x4dd595,_0x53290d):_0x4dd595,_0xfe00c2=_0x28b2d6[_0xc84921(0x2a0)]-0x1,_0x1e1537;_0xfe00c2>=0x0;_0xfe00c2--)(_0x1e1537=_0x28b2d6[_0xfe00c2])&&(_0x2f3dc4=_0x1e1537(_0x2f3dc4)||_0x2f3dc4);return _0x2f3dc4;},ie=(_0x3e7c4f,_0x400b8c)=>(_0x497cb2,_0x1d458b)=>_0x400b8c(_0x497cb2,_0x1d458b,_0x3e7c4f);let x=class extends a['RxDisposable']{constructor(_0x3a43dc,_0x1cad4b,_0x5c89b2){const _0x212fb6=_0x581ecc;super(),h(this,_0x212fb6(0x31c),new Map()),h(this,_0x212fb6(0x143),new d[(_0x212fb6(0x239))]()),(this[_0x212fb6(0x1a1)]=_0x3a43dc,this[_0x212fb6(0x27b)]=_0x1cad4b,this[_0x212fb6(0x37e)]=_0x5c89b2,this[_0x212fb6(0x1f1)]());}[_0x581ecc(0x1b0)](){const _0x44fb68=_0x581ecc;super['dispose'](),this[_0x44fb68(0x143)][_0x44fb68(0x21e)](),this['_entities']['forEach'](_0x38e4b9=>_0x38e4b9['dispose']());}['getCollabCursors$'](_0x4d0cc7){const _0x4e8d18=_0x581ecc;return this[_0x4e8d18(0x31c)]['has'](_0x4d0cc7)?this['_entities'][_0x4e8d18(0x2b8)](_0x4d0cc7)['cursorInfo$']:this['_entityInit$'][_0x4e8d18(0x37a)](d['filter'](_0x155332=>_0x155332[_0x4e8d18(0x2c7)]===_0x4d0cc7),d['switchMap'](_0x1319b6=>_0x1319b6[_0x4e8d18(0x22c)]));}[_0x581ecc(0x1f1)](){const _0x103754=_0x581ecc;this['_univerInstanceService'][_0x103754(0x345)](a[_0x103754(0x1e1)][_0x103754(0x373)])[_0x103754(0x37a)](d[_0x103754(0x18e)](this[_0x103754(0x194)]))['subscribe'](async _0x703ed1=>{const _0x58edae=_0x103754,_0xbc03d4=_0x703ed1[_0x58edae(0x274)](),_0x12c42b=await this['_startSheetCollabCursor'](_0xbc03d4);this[_0x58edae(0x143)][_0x58edae(0x33d)](_0x12c42b),this[_0x58edae(0x31c)][_0x58edae(0x2d0)](_0xbc03d4,_0x12c42b);}),this[_0x103754(0x1a1)][_0x103754(0x345)](a[_0x103754(0x1e1)]['UNIVER_DOC'])[_0x103754(0x37a)](d[_0x103754(0x18e)](this['dispose$']))[_0x103754(0x37a)](d[_0x103754(0x260)](_0x31e26f=>!_0x31e26f['getUnitId']()[_0x103754(0x187)]('__')))['subscribe'](async _0x5a436a=>{const _0x154108=_0x103754,_0x8a16a5=_0x5a436a['getUnitId'](),_0x3c7388=await this[_0x154108(0x29d)](_0x8a16a5);this[_0x154108(0x143)]['next'](_0x3c7388),this['_entities'][_0x154108(0x2d0)](_0x8a16a5,_0x3c7388);}),d[_0x103754(0x19c)](this[_0x103754(0x1a1)][_0x103754(0x361)](a[_0x103754(0x1e1)][_0x103754(0x2fa)]),this[_0x103754(0x1a1)][_0x103754(0x361)](a[_0x103754(0x1e1)][_0x103754(0x373)]))[_0x103754(0x37a)](d[_0x103754(0x18e)](this[_0x103754(0x194)]))[_0x103754(0x21f)](_0x21cb89=>{const _0x1c5352=_0x103754,_0x4746c8=_0x21cb89[_0x1c5352(0x274)](),_0x9dc597=this['_entities'][_0x1c5352(0x2b8)](_0x4746c8);_0x9dc597&&(_0x9dc597[_0x1c5352(0x1b0)](),this[_0x1c5352(0x31c)][_0x1c5352(0x29e)](_0x4746c8));});}async[_0x581ecc(0x17d)](_0x55f000){const _0x2cea66=_0x581ecc,_0x1511ba=await this[_0x2cea66(0x37e)][_0x2cea66(0x114)](_0x55f000),_0x230996=this[_0x2cea66(0x27b)][_0x2cea66(0x18d)](Se,_0x55f000,_0x1511ba);return _0x230996['init'](),_0x230996;}async[_0x581ecc(0x29d)](_0x54158e){const _0x1e8caf=_0x581ecc,_0x4cc648=await this[_0x1e8caf(0x37e)]['requireSession'](_0x54158e),_0x9974a4=this[_0x1e8caf(0x27b)][_0x1e8caf(0x18d)](fe,_0x54158e,_0x4cc648);return _0x9974a4['init'](),_0x9974a4;}};x=ct([ie(0x0,a[_0x581ecc(0x2f9)]),ie(0x1,a[_0x581ecc(0x210)](a[_0x581ecc(0x255)])),ie(0x2,a['Inject'](u[_0x581ecc(0x362)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _0x3fa8(){const _0x3b7f6e=['bold\x2013px\x20Source\x20Han\x20Sans\x20CN','useRef','ONLINE','_handleLeaveEvent','saveTaskMap','_removeCollabCursors','updateOfflineData','@univerjs/sheets-ui','_registerRenderDependencies','createIdentifier','_syncEditingCollabCursorService','none','onPointerLeave$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RECT','_hovered','SYNCED','CollaborationController','_drawTextRange','endRow','_updateLocalCursor','Tooltip','send','function','react','stringify','next','cursorInfo','3422590cLMsTs','_status$','IImageIoService','replaceState','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationEvent','getTypeOfUnitAdded$','/run/','getParam','split','Rect','_online','CONFLICT','_eventUnsubscribe','EffectRefRangId','IUIPartsService','ENSURE_SNAPSHOT_EXECUTION','ColorKit','getItem','setItem','ICommandService','toDisposable','urlChange$','@univerjs/docs-ui','INTERNAL_ERROR','AWAITING_WITH_PENDING','searchParams','handleInsertCol','getOffsetConfig','collabStatus.syncing','post','1em','_drawRectRange','getDocRanges','getTypeOfUnitDisposed$','CollaborationSessionService','getMemberID','icon','_instanceService','collaboration.closeRoom','_initStatusListener','getLocalCacheKey','_cursors','getCurrentUnitForType','handleDeleteRangeMoveLeft','_initStatusComponent','startColumn','SNAPSHOT_HAS_BEEN_REMOVED','SheetsSelectionsService','LOGIN_FAILED','NOT_COLLAB','NO_OTHER_CLIENTS_EDITING','UNIVER_SHEET','getSheetId','textRanges','subUnitId','UNAUTHENTICATED','hasOwnProperty','DocCollaborationEntity','pipe','storage','exhaustSavingTask','createSocket','_collabSessionService','isActive','_config','useObservable','_localCacheService','url(#on-line-single_clip0_910_349)','INVITE_CODE_ALREADY_BOUND','rxjs/operators','mutations','SNAPSHOT_INVALID_SNAPSHOT','currentColor','collabStatus.offline','INVITE_CODE_REQUIRED','useCallback','eventID','_session','SheetCollabCursorShape','DesktopCollaborationStatusDisplayController','result','selections','_heartbeatTimer','session.collaboration-timeout','combineLatest','ISocketService','setTimeout','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_range','PERMISSION_DENIED','DocSkeletonManagerService','_docTransformStateCacheService','requireSession','_selfUnitIDs','restore','FromArray','fillStyle','clearInterval','addObject','_saveCache','path','SUBMIT_CHANGESET_TIMEOUT','push','beginPath','YUUMI_ASYNCIO_CANCELLED','type','trim','IBeforeCloseService','transformByState','labelPosition','BrowserCollaborationSocketService','_localStorageService','_docSyncEditingCollabCursorService','4515975PiGBnd','activeSheet$','#fff','executeCommand','size','random','LICENSE_MAX_UNITS_EXCEEDED','href','OnLineSingle','_uiPartsService','url(#off-line-single_clip0_910_343)','_unitStatus','getSkeleton','collab-rect-range-','setActiveRange','replaceDocRanges','moveTo','Plugin','getActiveRange','univerjs-icon\x20univerjs-icon-','_render','engine','Shape','_roomMembers$','_scene','_themeService','_entityInit$','CollaborationUIEventId','_onCursorUpdate','UniverCollaborationClientUIPlugin','className','registerRenderModule','entries','drawWith','INVITE_CODE_HAS_BEEN_UES','sheetId','unshift','1719944hBesYB','IRemoteInstanceService','APPLY_REVISION_CONFILICT','tag','DocIMEInputManagerService','_getScale','onTransformChange$','collabStatus.notCollab','resize','color','getRenderById','INVALID_INVITE_CODE','subunit','status$','runRefRangeMutations','lineTo','column','RemoveRowCommandId','roomMembers$','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','[RemoteUniscriptService]:\x20no\x20focused\x20unit','addEventListener','_cursor','attrs','_onRefRangeChange','getViewport','MUTATION','jsxs','text','_collabCursorController','params','toString','debug','clipPath','_anchorDot','Module','6ZhCmdG','onMouseMove','jiqing500','forwardRef','getUnitStatus$','black','show','assign','LICENSE_EXPORT_SIZE_EXCEEDED','data','_startSheetCollabCursor','assignAColorForMemberID','m1Prime','popstate','_scheduleClearOtherTimer','getOwnPropertyDescriptor','APPLY_PERMISSION_DENIED','Tools','registerComponent','ILogService','startsWith','_onCursorDelete','location','currentSkeleton$','HEADER_MENU','_id','createInstance','takeUntil','_colorIndex','onStarting','disposeWithMe','CollaborationStatus','children','dispose$','hide','url(#$1','colorChannel1','YUUMI_RATE_OVER_LIMIT','reconnect','sessionTicket','saveOfflineData','merge','_memberService','_docStateChangeManagerService','collabCursorState$','application/json','_univerInstanceService','SOCKET_FAILED','values','name','round','isArray','_updateSubUnitFromURLParams','SHEET_VIEWPORT_KEY','addObjects','990336MhKrmI','RemoveColCommandId','_cachedData','defs','unload','has','dispose','_backgroundColor','extend','_colorAssignService','ticket','handleInsertRangeMoveRight','RefRangeService','verdancy600','with','prototype','DependentOn','getMergeData','_unitOnClients','bottom','addClipboardHook','backgroundColor','_docSkeletonManagerService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','DOC_RANGE_TYPE','idSuffix','xlink:href','getCurrentSelections','disableLocalCache','5608145WxyeHC','_anchor','onRendered','save','code','_transformUndoRedoStack','_drawAnchor','isEditing','clsx','_hideTimer','handleDeleteRangeMoveUp','CollaborationDataLoaderController','DeleteRangeMoveUpCommandId','_removeClearOtherTimer','@univerjs/engine-formula','@univerjs/engine-render','transformRemoteChangeset','transformSelections','transformIMECache','CollaborationUIEventService','add','@univerjs/sheets','forEach','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2016\x2016','4yRbPpD','UniverInstanceType','blue400','collaboration-client.offline-data-not-saved','_handleEvent','HTTPService','DeleteRangeMoveLeftCommandId','LOCAL_CACHE_INTERVAL','height','_updateCollabCursors','map','_initEvent','setConfig','WebURLService','DisposableCollection','getColor','_httpService','_init','getCellPositionByOffset','entityInit$','_saveTaskMap','#FFF','COLORS','generateRandomId','selection','SetSelectionsOperation','executionId','getConfig','Disposable','serializeRangeWithSheet','YUUMI_UNABLE_LOAD_URL','top','max','_disabled','redoState','_configService','InsertColCommandId','BehaviorSubject','body','_transformHistoryAndStateStack','_shapes','actions','Rectangle','connectInjector','_lastPointer','_scheduleSaving','_cursorInfo$','_getSaveTimeout','Inject','runId','useDependency','_initResize','0\x200\x2017\x2016','_handleHeartbeatEvent','range','TEXT','memberID','displayName','getSheetBySheetId','@univerjs/drawing','init','subscribeEvent','complete','subscribe','focused$','univer-flex\x20univer-items-center','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','width','isTransformMutationsWithChangesetSuccess','_collaborationUIEventService','search','_transformPreviousActiveRange','ILocalStorageService','_updateURLWithCurrentState','_initEntityListener','WebSocketService','cursorInfo$','uni.network.url-service','UPDATE_CURSOR','measureText','use','_imageIoService','jsx','hovered','ILocalCacheService','onPointerEnter$','handleInsertRangeMoveDown','registerDependencies','RemoteUniscriptService','Subject','_refreshCollabCursors','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','row','UNRECOGNIZED','deepClone','BuiltInUIPart','_collabCursorState$','mask','getValue','getCoordByCell','_labelPosition','_docSkeleton','unsubscribe','univer-text-red-500','defIds','ranges','fill','div','on-line-single','collabStatus.fetchMiss','NodePositionConvertToCursor','_docTransformSelectionsService','removeParam','_createSocketURL','_getSheetObject','CONNECTOR_DATA_TOO_LARGE','getFocusedUnit','Injector','getRangePointData','PY_RUNTIME_SCRIPT_ERROR','IConfigService','translate(.97)','createElement','...','session.connection-failed','invokeId','_registerDependencies','skeleton','filter','_urlService','fromEvent','indexOf','pluginName','WECHAT_HAS_BEEN_BOUND','_assignedColors','_toggleOffline','CHANGESET_REVISION_CONFILICT','editingUnit','svg','_getAnchorBounding','YUUMI_SUBSCRIPTION_NOT_FOUND','ThemeService','permission.content','DocSelectionManagerService','concat','getCurrentRevOfUnit','m2Prime','JOIN_ROOM_FAILED','getUnitId','LICENSE_DISTRO_REJECTED','currentTheme$','registerRefRange','_setupSubUnitSync','_ensureSubject','collaboration.single-unit.warning','_injector','UniverIcon','addHandlerCallback','substring','_logService','NOT_FOUND','SOCKET_FAILED_RETRY','session.will-retry','Error','_renderManagerService','roomMembers','MOBILE_HAS_BEEN_BOUND','NodePositionConvertToRectRange','OFFLINE','_cursorShapes','rxjs','ITransformService','COMPLETION_FINISHED','syncEditingCollabCursor','off-line-single_clip0_910_343','isTransformMutationFailure','_commandService','univer-text-green-500','onLocalMutation','_sheetSkeletonManagerService','transform','getAncestorScale','_initDependencies','Warning','setShapeProps','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DataLoaderService','ISnapshotServerService','call','_startDocCollabCursor','delete','_refRangeService','length','mergeOverrideWithDependencies','_textBubble','@univerjs/ui','getStateCache','getSheetObject','UnitStatus','USER_NOT_INVITED_CODE','string','_getMergeRange','_initCommandExecutedListener','@univerjs-pro/collaboration-client','history','handleInsertRow','_transformService','_notificationService','arc','LocaleService','OffLineSingle','IDocClipboardService','RichTextEditingMutation','parse','on-line-single_clip0_910_349','getUniverSheetInstance','get','getActiveSheet','UNDEFINED','INVALID_ARGUMENT','unitId','IMessageService','onCommandExecuted','defineProperty','sessionStatus$','fillText','getCurrent','transformStateCache','_messageService','debounce','handleMoveRange','unitID','TEXT_RANGE_LAYER_INDEX','sheetID','rgba(255,\x20255,\x20255,\x200.01)','transformMutation','LOCAL_CACHE_INTERVAL_KEY','RevisionService','TOO_MANY_REQUESTS','collab-client.tooltip.reconnect','set','MessageType','then','_name','from','_scheduleHeartbeat','IURLService','USERS_LEAVE','replace','apply','DocStateChangeManagerService','setParam','event$','getVpScrollXYInfoByPosToVp','_send','_collaborationController','_dataLoaderService','getMember','pushState','transformMutationsWithChangeset','imageSourceType','gold400','@univerjs/core','APPLY_REJECT','RxDisposable','_setupBeforeClosingHandler','asObservable','switchMap','PENDING','min','toRgbString','ALREADY_EXISTS','IRenderManagerService','28fDjqkL','12894867NzqFKl','Unknown\x20user','InsertRowCommandId','_clearOtherTimers','docStateChange$','saveImage','_localeService','IUniverInstanceService','UNIVER_DOC','getUndoRedoMutationParamsCache','error','symbol','newValue','undoState','M0\x200H16V16H0z','_color','YUUMI_URL_COL_OUT_OF_RANGE','clearTimeout','all','_hover','doc.mutation.rich-text-editing','_beforeCloseService','MemberService','disposeUnit','777492QMvlCc','APPLY_DUPLICATED','makeDirty','ACTIVE_UNIT_EVENT_CHANNEL','_toggleOnline','throttleTime','WebBrowserSingleActiveUnitService','_context','unit','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','off-line-single','_getSessionTicket','_handleJoinEvent','findNodePositionByCharIndex','endColumn','getCollabCursors$','evenodd','includes','_entities','getRelativeToViewportCoord','_docTransformIMECacheService','SetWorksheetActivateCommand','_handleHover','[CollaborationDataLoaderController]','collab-text-anchor-'];_0x3fa8=function(){return _0x3b7f6e;};return _0x3fa8();}function _t(_0xca858a,_0x5017d9){const _0x38287c=_0x581ecc;let {radius:_0x1ccc73,width:_0x3d8526,height:_0x26ee76}=_0x5017d9;_0x1ccc73=_0x1ccc73!=null?_0x1ccc73:0x0,_0x3d8526=_0x3d8526!=null?_0x3d8526:0x1e,_0x26ee76=_0x26ee76!=null?_0x26ee76:0x1e;let _0x34b096=0x0,_0x495560=0x0,_0x53064c=0x0;_0x34b096=_0x495560=_0x53064c=Math['min'](_0x1ccc73,_0x3d8526/0x2,_0x26ee76/0x2),_0xca858a[_0x38287c(0x11f)](),_0xca858a[_0x38287c(0x139)](_0x34b096,0x0),_0xca858a[_0x38287c(0x15d)](_0x3d8526-_0x495560,0x0),_0xca858a[_0x38287c(0x2b0)](_0x3d8526-_0x495560,_0x495560,_0x495560,Math['PI']*0x3/0x2,0x0,!0x1),_0xca858a[_0x38287c(0x15d)](_0x3d8526,_0x26ee76-_0x53064c),_0xca858a[_0x38287c(0x2b0)](_0x3d8526-_0x53064c,_0x26ee76-_0x53064c,_0x53064c,0x0,Math['PI']/0x2,!0x1),_0xca858a[_0x38287c(0x15d)](0x0,_0x26ee76),_0xca858a[_0x38287c(0x15d)](0x0,_0x34b096),_0xca858a[_0x38287c(0x2b0)](_0x34b096,_0x34b096,_0x34b096,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xca858a['closePath'](),_0x5017d9[_0x38287c(0x24a)]&&(_0xca858a[_0x38287c(0x1ca)](),_0xca858a[_0x38287c(0x118)]=_0x5017d9['fill'],_0x5017d9['fillRule']===_0x38287c(0x31a)?_0xca858a[_0x38287c(0x24a)](_0x38287c(0x31a)):_0xca858a[_0x38287c(0x24a)](),_0xca858a[_0x38287c(0x116)]());}class ee extends p[_0x581ecc(0x13f)]{constructor(_0xf19a36,_0x9ffd8d){const _0x1bb7d6=_0x581ecc;super(_0xf19a36,_0x9ffd8d),h(this,_0x1bb7d6(0x157)),h(this,_0x1bb7d6(0x16b)),(this[_0x1bb7d6(0x157)]=_0x9ffd8d==null?void 0x0:_0x9ffd8d[_0x1bb7d6(0x157)],this[_0x1bb7d6(0x16b)]=_0x9ffd8d==null?void 0x0:_0x9ffd8d[_0x1bb7d6(0x16b)]);}static['drawWith'](_0x552092,_0x558d64){const _0x313a86=_0x581ecc,{text:_0xa0f9a5,color:_0x21b942}=_0x558d64;_0x552092[_0x313a86(0x1ca)](),_0x552092['font']=_0x313a86(0x323);const _0x4e9e57=_0x552092[_0x313a86(0x22f)](_0xa0f9a5)[_0x313a86(0x223)],_0x4bad66=Math[_0x313a86(0x2ed)](_0x4e9e57+0x2*ne,Re);_t(_0x552092,{'height':q,'radius':0x4,'width':_0x4bad66,'fill':_0x21b942}),_0x552092[_0x313a86(0x118)]=_0x313a86(0x1f5);const _0x152042=ne,_0x2ba989=q-lt,_0x3aa4a5=Re-0x2*ne;if(_0x4e9e57>_0x3aa4a5){let _0x49238a='',_0x5713e8=0x0;for(const _0x2b27f2 of _0xa0f9a5){const _0x3f3c61=_0x552092[_0x313a86(0x22f)](_0x2b27f2)[_0x313a86(0x223)];if(_0x5713e8+_0x3f3c61<=_0x3aa4a5-_0x552092[_0x313a86(0x22f)](_0x313a86(0x25b))[_0x313a86(0x223)])_0x49238a+=_0x2b27f2,_0x5713e8+=_0x3f3c61;else{_0x49238a+=_0x313a86(0x25b);break;}}_0x552092[_0x313a86(0x2c1)](_0x49238a,_0x152042,_0x2ba989);}else _0x552092[_0x313a86(0x2c1)](_0xa0f9a5,_0x152042,_0x2ba989);_0x552092[_0x313a86(0x116)]();}['_draw'](_0xfe6d3f){const _0x265963=_0x581ecc;ee[_0x265963(0x14a)](_0xfe6d3f,this);}}const re=_0x581ecc(0x322),ht='collab-text-range-',ut=_0x581ecc(0x136),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x581ecc(0x2ca);class De{constructor(_0x597cf7,_0x579e0b,_0x16747a,_0x128e18){const _0x556e92=_0x581ecc;h(this,_0x556e92(0x208),[]),h(this,_0x556e92(0x1c8),null),h(this,_0x556e92(0x2a2),null),h(this,_0x556e92(0x171),null),h(this,'_hideTimer',null),h(this,_0x556e92(0x34c),null),(this['_cursor']=_0x597cf7,this[_0x556e92(0x141)]=_0x579e0b,this[_0x556e92(0x245)]=_0x16747a,this['_document']=_0x128e18,this[_0x556e92(0x13d)]());}set['_hover'](_0x173f1b){const _0xd5a601=_0x581ecc;_0x173f1b?(this[_0xd5a601(0x171)]&&this[_0xd5a601(0x171)][_0xd5a601(0x195)](),this[_0xd5a601(0x2a2)]&&this[_0xd5a601(0x2a2)][_0xd5a601(0x179)]()):(this[_0xd5a601(0x171)]&&this['_anchorDot']['show'](),this[_0xd5a601(0x2a2)]&&this['_textBubble']['hide']());}[_0x581ecc(0x1b0)](){const _0x54fd01=_0x581ecc;for(const _0x38d1e9 of this[_0x54fd01(0x208)])_0x38d1e9[_0x54fd01(0x1b0)]();this['_textBubble']&&this['_textBubble'][_0x54fd01(0x1b0)](),this['_anchorDot']&&this[_0x54fd01(0x171)][_0x54fd01(0x1b0)](),this[_0x54fd01(0x1c8)]&&this['_anchor'][_0x54fd01(0x1b0)](),this[_0x54fd01(0x34c)]&&this['_eventUnsubscribe']();}['_render'](){const _0x3ac283=_0x581ecc;var _0x3defb6;const {_docSkeleton:_0xb5da2b,_document:_0x3519fd}=this,{color:_0x293c53,name:_0x2b2cc8,ranges:_0x383244}=this[_0x3ac283(0x165)],_0xd6d1fc=_0x3519fd[_0x3ac283(0x35b)](),{docsLeft:_0x434494,docsTop:_0x256200}=_0xd6d1fc,_0x35b77a=new b[(_0x3ac283(0x24e))](_0xd6d1fc,_0xb5da2b);for(const {startOffset:_0x8e1527,endOffset:_0xf85104,rangeType:_0x4bec33,segmentId:_0x2d8a51,segmentPage:_0x571756,collapsed:_0x28d022,isActive:_0x434ced}of _0x383244){const _0x74d5d8=_0xb5da2b[_0x3ac283(0x317)](_0x8e1527,!0x0,_0x2d8a51,_0x571756);let _0x574672=_0xb5da2b[_0x3ac283(0x317)](_0xf85104,!0x0,_0x2d8a51,_0x571756);if(_0x574672==null&&(_0x574672=_0xb5da2b[_0x3ac283(0x317)](_0xf85104-0x1,!0x1,_0x2d8a51,_0x571756)),_0x434ced){const {contentBoxPointGroup:_0x306edf}=_0x35b77a[_0x3ac283(0x256)](_0x574672,_0x574672);if(_0x306edf['length']===0x0)continue;this[_0x3ac283(0x1cd)](_0x293c53,_0x306edf,_0x434494,_0x256200,_0x2b2cc8),this[_0x3ac283(0x34c)]=this[_0x3ac283(0x320)]();}if(_0x74d5d8&&_0x574672){if(_0x4bec33===a[_0x3ac283(0x1c2)][_0x3ac283(0x331)]){const _0x572a7d=new b[(_0x3ac283(0x287))](_0xd6d1fc,_0xb5da2b),{pointGroup:_0x3f71ec}=(_0x3defb6=_0x572a7d[_0x3ac283(0x256)](_0x74d5d8,_0x574672))!=null?_0x3defb6:{};if(_0x3f71ec==null||_0x3f71ec[_0x3ac283(0x2a0)]===0x0)continue;this[_0x3ac283(0x35f)](_0x293c53,_0x3f71ec,_0x434494,_0x256200);}else{if(!_0x28d022){const {borderBoxPointGroup:_0x501465}=_0x35b77a[_0x3ac283(0x256)](_0x74d5d8,_0x574672);if(_0x501465[_0x3ac283(0x2a0)]===0x0)continue;this[_0x3ac283(0x335)](_0x293c53,_0x501465,_0x434494,_0x256200);}}}}}[_0x581ecc(0x1cd)](_0x48239d,_0x28d629,_0x32ead2,_0x2feefa,_0x515836){const _0x3b4fb7=_0x581ecc,_0xf7073f=this[_0x3b4fb7(0x26b)](_0x28d629),{left:_0x481cf3,top:_0x1f8231,height:_0x52ad63}=_0xf7073f,_0x1be168=this['_getScale'](),_0x15f5f8=ft/_0x1be168,_0x43800c=new p[(_0x3b4fb7(0x349))](re+a[_0x3b4fb7(0x184)][_0x3b4fb7(0x1f7)](k),{'left':_0x481cf3+_0x32ead2-_0x15f5f8,'top':_0x1f8231+_0x2feefa,'height':_0x52ad63,'width':dt,'fill':_0x48239d||p['getColor'](a[_0x3b4fb7(0x1f6)]['black'],0x0),'strokeWidth':_0x15f5f8,'stroke':St,'evented':!0x0});this[_0x3b4fb7(0x1c8)]=_0x43800c,this[_0x3b4fb7(0x141)][_0x3b4fb7(0x11a)](_0x43800c,b[_0x3b4fb7(0x2c8)]);const _0x1c400a=new p[(_0x3b4fb7(0x349))](re+a['Tools'][_0x3b4fb7(0x1f7)](k),{'left':_0x481cf3+_0x32ead2-_0x15f5f8,'top':_0x1f8231+_0x2feefa-oe/0x2,'height':oe,'width':oe,'fill':_0x48239d||p[_0x3b4fb7(0x1ef)](a[_0x3b4fb7(0x1f6)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x48239d||p[_0x3b4fb7(0x1ef)](a[_0x3b4fb7(0x1f6)][_0x3b4fb7(0x178)],0x0),'evented':!0x1});this[_0x3b4fb7(0x171)]=_0x1c400a,this[_0x3b4fb7(0x141)]['addObject'](_0x1c400a,b[_0x3b4fb7(0x2c8)]);const _0x3fea0d=new ee(re+a[_0x3b4fb7(0x184)][_0x3b4fb7(0x1f7)](k),{'left':_0x481cf3+_0x32ead2-_0x15f5f8,'top':_0x1f8231+_0x2feefa-q,'text':_0x515836,'color':_0x48239d});this['_textBubble']=_0x3fea0d,this[_0x3b4fb7(0x141)][_0x3b4fb7(0x11a)](_0x3fea0d,b[_0x3b4fb7(0x2c8)]),this['_hover']=!0x1;}[_0x581ecc(0x320)](){const _0x247d94=_0x581ecc,_0x12a95b=this[_0x247d94(0x1c8)][_0x247d94(0x235)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0xf84e6f=this['_anchor'][_0x247d94(0x32f)][_0x247d94(0x21d)](()=>{const _0x19eacc=_0x247d94;this[_0x19eacc(0x1d0)]&&clearTimeout(this[_0x19eacc(0x1d0)]),this['_hideTimer']=setTimeout(()=>{const _0x141af3=_0x19eacc;this[_0x141af3(0x305)]=!0x1;},0x7d0);});return()=>{const _0xc951df=_0x247d94;_0x12a95b['unsubscribe'](),_0xf84e6f[_0xc951df(0x246)]();};}[_0x581ecc(0x335)](_0x3e180e,_0x1c768d,_0x373932,_0x149b12){const _0x560af0=_0x581ecc,_0x2ee7f6=new a[(_0x560af0(0x350))](_0x3e180e)['setAlpha'](0.2)[_0x560af0(0x2ee)](),_0x26b633=new p['RegularPolygon'](ht+a['Tools'][_0x560af0(0x1f7)](k),{'pointsGroup':_0x1c768d,'fill':_0x2ee7f6||p['getColor'](a['COLORS'][_0x560af0(0x178)],0.2),'left':_0x373932,'top':_0x149b12,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x560af0(0x11e)](_0x26b633),this[_0x560af0(0x141)][_0x560af0(0x11a)](_0x26b633,b[_0x560af0(0x2c8)]);}[_0x581ecc(0x35f)](_0x4195f1,_0x336c57,_0x5a422b,_0x52ccc0){const _0x4075a2=_0x581ecc,_0x597cfb=new a[(_0x4075a2(0x350))](_0x4195f1)['setAlpha'](0.2)[_0x4075a2(0x2ee)](),_0x1778b7=new p['RegularPolygon'](ut+a[_0x4075a2(0x184)]['generateRandomId'](k),{'pointsGroup':_0x336c57,'fill':_0x597cfb||p[_0x4075a2(0x1ef)](a[_0x4075a2(0x1f6)][_0x4075a2(0x178)],0.2),'left':_0x5a422b,'top':_0x52ccc0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4075a2(0x11e)](_0x1778b7),this[_0x4075a2(0x141)][_0x4075a2(0x11a)](_0x1778b7,b[_0x4075a2(0x2c8)]);}['_getAnchorBounding'](_0x56da81){const _0x1838e6=_0x56da81[0x0],_0x2ce2d7=_0x1838e6[0x0],_0x3de174=_0x1838e6[0x2],{x:_0xbe6fc2,y:_0x34a76a}=_0x2ce2d7,{x:_0x1f2f20,y:_0x1d95c9}=_0x3de174;return{'left':_0xbe6fc2,'top':_0x34a76a,'width':_0x1f2f20-_0xbe6fc2,'height':_0x1d95c9-_0x34a76a};}[_0x581ecc(0x153)](){const _0x3f1664=_0x581ecc,{scaleX:_0x5ac6d5,scaleY:_0x581b59}=this[_0x3f1664(0x141)][_0x3f1664(0x295)]();return Math[_0x3f1664(0x200)](_0x5ac6d5,_0x581b59);}}var It=Object[_0x581ecc(0x182)],vt=(_0x29242a,_0x546695,_0x2edea4,_0x582b69)=>{const _0x294959=_0x581ecc;for(var _0x1e05c2=_0x582b69>0x1?void 0x0:_0x582b69?It(_0x546695,_0x2edea4):_0x546695,_0x4a3b84=_0x29242a[_0x294959(0x2a0)]-0x1,_0x2db6c3;_0x4a3b84>=0x0;_0x4a3b84--)(_0x2db6c3=_0x29242a[_0x4a3b84])&&(_0x1e05c2=_0x2db6c3(_0x1e05c2)||_0x1e05c2);return _0x1e05c2;},Y=(_0x50a69b,_0x3a2b9b)=>(_0x24a194,_0x326019)=>_0x3a2b9b(_0x24a194,_0x326019,_0x50a69b);let Ie=class extends a['RxDisposable']{constructor(_0x309662,_0xfeaca3,_0x344ca4,_0xf0bbc1,_0x5e1ae4){const _0x570566=_0x581ecc;super(),h(this,_0x570566(0x289),[]),h(this,_0x570566(0x369),[]),(this[_0x570566(0x311)]=_0x309662,this[_0x570566(0x1c0)]=_0xfeaca3,this[_0x570566(0x16c)]=_0x344ca4,this['_commandService']=_0xf0bbc1,this[_0x570566(0x142)]=_0x5e1ae4,this['_init']());}['_init'](){const _0x447372=_0x581ecc,_0x24235e=this[_0x447372(0x311)]['unitId'],_0x32fc5c=this[_0x447372(0x1c0)];this[_0x447372(0x191)](d[_0x447372(0x394)]([this[_0x447372(0x16c)][_0x447372(0x319)](_0x24235e),this[_0x447372(0x142)][_0x447372(0x276)]])['pipe']($[_0x447372(0x1ea)](([_0x11bd57,_0x4cee56])=>({'skeleton':_0x32fc5c[_0x447372(0x135)](),'cursors':[..._0x11bd57[_0x447372(0x1a3)]()]['flatMap'](_0x444e23=>({..._0x444e23,'color':_0x4cee56[_0x444e23[_0x447372(0x157)]]}))})))[_0x447372(0x21f)](_0xc030cd=>{const _0x221d2f=_0x447372;if(this[_0x221d2f(0x328)](),_0xc030cd){const {skeleton:_0x5eade0,cursors:_0x553c5b}=_0xc030cd;this[_0x221d2f(0x1e9)](_0x5eade0,_0x553c5b);}})),this[_0x447372(0x213)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3b9fcf,_0x26c418){const _0x5d6812=_0x581ecc,{scene:_0x3e6f44,mainComponent:_0xebf82e}=this['_context'],_0x1194d9=_0x26c418['map'](_0x3e8893=>new De(_0x3e8893,_0x3e6f44,_0x3b9fcf,_0xebf82e));this[_0x5d6812(0x289)]=_0x1194d9,this[_0x5d6812(0x369)]=_0x26c418;}[_0x581ecc(0x23a)](){const _0x34a5b4=_0x581ecc;this[_0x34a5b4(0x328)]();const {scene:_0x23e232,mainComponent:_0x2a3679}=this[_0x34a5b4(0x311)],_0x231c2d=this[_0x34a5b4(0x1c0)]['getSkeleton'](),_0x8949fa=this[_0x34a5b4(0x369)][_0x34a5b4(0x1ea)](_0x122a81=>new De(_0x122a81,_0x23e232,_0x231c2d,_0x2a3679));this[_0x34a5b4(0x289)]=_0x8949fa;}['_removeCollabCursors'](){const _0x16dd4c=_0x581ecc;this[_0x16dd4c(0x289)][_0x16dd4c(0x1dd)](_0x4e051f=>_0x4e051f[_0x16dd4c(0x1b0)]()),this['_cursorShapes']=[];}[_0x581ecc(0x2aa)](){const _0xa7da9=_0x581ecc,_0xa71f7e=[b['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0xa7da9(0x290)][_0xa7da9(0x2be)](_0x38575c=>{const _0x263998=_0xa7da9;_0xa71f7e[_0x263998(0x31b)](_0x38575c['id'])&&_0x38575c[_0x263998(0x16d)][_0x263998(0x2bc)]===this[_0x263998(0x311)][_0x263998(0x2bc)]&&this[_0x263998(0x23a)]();}));}[_0x581ecc(0x213)](){const _0x4354f6=_0x581ecc;this[_0x4354f6(0x191)](a['fromEventSubject'](this['_context'][_0x4354f6(0x13e)][_0x4354f6(0x154)])[_0x4354f6(0x37a)]($[_0x4354f6(0x260)](_0x1a311d=>_0x1a311d['type']===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4354f6(0x156)]),$[_0x4354f6(0x30f)](0x10))[_0x4354f6(0x21f)](()=>{const _0x2654d5=_0x4354f6;this[_0x2654d5(0x23a)]();}));}};Ie=vt([Y(0x1,a[_0x581ecc(0x210)](W[_0x581ecc(0x112)])),Y(0x2,a['Inject'](x)),Y(0x3,a[_0x581ecc(0x353)]),Y(0x4,a[_0x581ecc(0x210)](a[_0x581ecc(0x26d)]))],Ie);const gt=0x1,mt=1.5;class we extends p['Shape']{constructor(_0x462134,_0x2de7a4){const _0x4a66a4=_0x581ecc;super(_0x462134,_0x2de7a4),h(this,'_color'),h(this,'_hovered',!0x1),h(this,_0x4a66a4(0x110)),h(this,_0x4a66a4(0x2d3),''),h(this,_0x4a66a4(0x244),_0x4a66a4(0x1ff)),h(this,_0x4a66a4(0x1b1)),(_0x2de7a4&&this[_0x4a66a4(0x298)](_0x2de7a4),this[_0x4a66a4(0x235)][_0x4a66a4(0x21d)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4a66a4(0x32f)][_0x4a66a4(0x21d)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x423780){const _0x52c703=_0x581ecc;var _0x1030b2,_0x26b98c,_0xe837fc,_0x3183cf,_0x108014,_0x1567c6;this[_0x52c703(0x301)]=(_0x1030b2=_0x423780[_0x52c703(0x157)])!=null?_0x1030b2:this[_0x52c703(0x301)],this[_0x52c703(0x332)]=(_0x26b98c=_0x423780[_0x52c703(0x233)])!=null?_0x26b98c:this[_0x52c703(0x332)],this[_0x52c703(0x110)]=(_0xe837fc=_0x423780[_0x52c703(0x216)])!=null?_0xe837fc:this[_0x52c703(0x110)],this[_0x52c703(0x2d3)]=(_0x3183cf=_0x423780['name'])!=null?_0x3183cf:this[_0x52c703(0x2d3)],this[_0x52c703(0x244)]=(_0x108014=_0x423780[_0x52c703(0x125)])!=null?_0x108014:this['_labelPosition'],this['_backgroundColor']=(_0x1567c6=_0x423780[_0x52c703(0x1bf)])!=null?_0x1567c6:this['_backgroundColor'],this[_0x52c703(0x124)]({'width':_0x423780['width'],'height':_0x423780[_0x52c703(0x1e8)]});}[_0x581ecc(0x174)](_0x43b16b){const _0xa9e6fa=_0x581ecc,{row:_0x7e25f9,column:_0x1d20a8}=_0x43b16b;if(_0x7e25f9>=this[_0xa9e6fa(0x110)]['startRow']&&_0x7e25f9<=this[_0xa9e6fa(0x110)][_0xa9e6fa(0x336)]&&_0x1d20a8>=this[_0xa9e6fa(0x110)][_0xa9e6fa(0x36d)]&&_0x1d20a8<=this[_0xa9e6fa(0x110)][_0xa9e6fa(0x318)]){this[_0xa9e6fa(0x298)]({'hovered':!0x0});return;}this[_0xa9e6fa(0x298)]({'hovered':!0x1});}['triggerDblclick'](_0x2a6c02){return!0x1;}['_draw'](_0x374edd){const _0x4519f4=_0x581ecc;p['Rect'][_0x4519f4(0x14a)](_0x374edd,{'width':this[_0x4519f4(0x223)],'height':this['height'],'strokeWidth':mt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4519f4(0x1b1)]}),this[_0x4519f4(0x332)]&&(_0x374edd['save'](),_0x374edd[_0x4519f4(0x294)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x4519f4(0x1bd)?0x0:-0x14),ee['drawWith'](_0x374edd,{'text':this[_0x4519f4(0x2d3)],'color':this['_color']}),_0x374edd['restore']());}}var Ct=Object[_0x581ecc(0x182)],pt=(_0x4d149b,_0x141c88,_0x260131,_0x4ed5c0)=>{const _0xeb4751=_0x581ecc;for(var _0x2dd019=_0x4ed5c0>0x1?void 0x0:_0x4ed5c0?Ct(_0x141c88,_0x260131):_0x141c88,_0xa52cf=_0x4d149b[_0xeb4751(0x2a0)]-0x1,_0x4bc882;_0xa52cf>=0x0;_0xa52cf--)(_0x4bc882=_0x4d149b[_0xa52cf])&&(_0x2dd019=_0x4bc882(_0x2dd019)||_0x2dd019);return _0x2dd019;},ae=(_0x586cde,_0x3d5b4e)=>(_0x10e309,_0x508a91)=>_0x3d5b4e(_0x10e309,_0x508a91,_0x586cde);const bt=0x1389;let ve=class extends a[_0x581ecc(0x2e8)]{constructor(_0x21e10b,_0x42a9e8,_0x307f04,_0x43fa6b){const _0x4786e0=_0x581ecc;super(),h(this,'_cursors',new Set()),h(this,'_lastPointer',null),(this[_0x4786e0(0x311)]=_0x21e10b,this[_0x4786e0(0x293)]=_0x42a9e8,this[_0x4786e0(0x16c)]=_0x307f04,this[_0x4786e0(0x142)]=_0x43fa6b,this[_0x4786e0(0x1f1)]());}[_0x581ecc(0x1f1)](){const _0x117fbe=_0x581ecc;this[_0x117fbe(0x293)][_0x117fbe(0x18a)]['pipe']($[_0x117fbe(0x18e)](this['dispose$']),$[_0x117fbe(0x2eb)](_0x3985b3=>{const _0x2d23ea=_0x117fbe;if(_0x3985b3){const _0x5031dd=_0x3985b3[_0x2d23ea(0x14c)];return d[_0x2d23ea(0x394)](this[_0x2d23ea(0x16c)]['getCollabCursors$'](this[_0x2d23ea(0x311)][_0x2d23ea(0x2bc)]),this[_0x2d23ea(0x142)][_0x2d23ea(0x276)])[_0x2d23ea(0x37a)]($['map'](([_0x3bb3a5,_0x4d40e6])=>{const _0x2b4630=_0x2d23ea,_0x41c878=new Map();return _0x3bb3a5[_0x2b4630(0x1dd)]((_0x80a6b3,_0x5b269f)=>{const _0x297e96=_0x2b4630;if(_0x80a6b3[_0x297e96(0x2c9)]===_0x5031dd){const _0x119d54={..._0x80a6b3};_0x119d54[_0x297e96(0x157)]=_0x4d40e6[_0x80a6b3[_0x297e96(0x157)]],_0x41c878[_0x297e96(0x2d0)](_0x5b269f,_0x119d54);}}),{'skeleton':_0x3985b3,'cursors':_0x41c878};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x117fbe(0x21f)](({skeleton:_0x5b00f7,cursors:_0x4011e3})=>{const _0x4360a6=_0x117fbe;this[_0x4360a6(0x328)](),_0x5b00f7&&this[_0x4360a6(0x1e9)](_0x5b00f7,_0x4011e3);}),this['_sheetSkeletonManagerService'][_0x117fbe(0x18a)][_0x117fbe(0x21f)](_0x3a0c5b=>{const _0x5ceee8=_0x117fbe;if(_0x3a0c5b==null)return;const {skeleton:_0x4b99b4}=_0x3a0c5b,{scene:_0x13eaa2}=this[_0x5ceee8(0x311)];_0x13eaa2['onPointerMove$'][_0x5ceee8(0x21d)](a[_0x5ceee8(0x2c5)](_0x2ce4dc=>{const _0x2e3dc1=_0x5ceee8;var _0x3e7fe0,_0x5ee315;const {offsetX:_0x3fe511,offsetY:_0x351009}=_0x2ce4dc,{x:_0x5d0124,y:_0x37fcd2}=_0x13eaa2[_0x2e3dc1(0x31d)](p['Vector2']['FromArray']([_0x3fe511,_0x351009])),{scaleX:_0x1adec9,scaleY:_0x30b09c}=_0x13eaa2[_0x2e3dc1(0x295)](),_0x379ba2=_0x13eaa2[_0x2e3dc1(0x168)](p[_0x2e3dc1(0x1a8)]['VIEW_MAIN']),_0x215ba9=_0x13eaa2[_0x2e3dc1(0x2dd)](p['Vector2'][_0x2e3dc1(0x117)]([_0x5d0124,_0x37fcd2]),_0x379ba2),_0x536f3e=_0x4b99b4[_0x2e3dc1(0x1f2)](_0x3fe511,_0x351009,_0x1adec9,_0x30b09c,_0x215ba9);((_0x3e7fe0=this['_lastPointer'])==null?void 0x0:_0x3e7fe0[_0x2e3dc1(0x15e)])===_0x536f3e['column']&&((_0x5ee315=this[_0x2e3dc1(0x20c)])==null?void 0x0:_0x5ee315['row'])===_0x536f3e[_0x2e3dc1(0x23c)]||this[_0x2e3dc1(0x369)]['forEach'](_0xd84880=>{const _0x3d1351=_0x2e3dc1;_0xd84880[_0x3d1351(0x174)](_0x536f3e);});},0x64));});}['_updateCollabCursors'](_0x43a17b,_0x29d078){const _0x2b2e7a=_0x581ecc;var _0x2c7a91;const _0x3b7914=(_0x2c7a91=this[_0x2b2e7a(0x293)][_0x2b2e7a(0x2c2)]())==null?void 0x0:_0x2c7a91[_0x2b2e7a(0x25f)];if(!_0x3b7914)return;const _0x59fa03=this[_0x2b2e7a(0x252)]();if(!_0x59fa03)return;this['_cursors'][_0x2b2e7a(0x1dd)](_0x23c286=>{const _0xdd2bdc=_0x2b2e7a;_0x23c286[_0xdd2bdc(0x30c)]();});const {scene:_0x306795}=_0x59fa03,_0x2327f5=Et(Array[_0x2b2e7a(0x2d4)](_0x29d078[_0x2b2e7a(0x1a3)]()))['map'](_0x362edd=>{const _0x1f2065=_0x2b2e7a,{color:_0x36907e,range:_0x3d02e0,name:_0x4acd9a,selection:_0x13de88,sheetID:_0xe3d441}=_0x362edd,{startColumn:_0x27b33f,startRow:_0x327e1e,endColumn:_0x4bf51a,endRow:_0x310fd3}=_0x3d02e0,_0x240f47=X[_0x1f2065(0x243)](_0x327e1e,_0x27b33f,_0x306795,_0x3b7914),_0x206aed=X[_0x1f2065(0x243)](_0x310fd3,_0x4bf51a,_0x306795,_0x3b7914),{columnHeaderHeightAndMarginTop:_0x42b833}=_0x3b7914,{startX:_0x40b07b,startY:_0x11e6a8}=_0x240f47,{endX:_0x5d2eb8,endY:_0x2ca832}=_0x206aed,_0x4161a2=_0x5d2eb8-_0x40b07b,_0x3ceb08=_0x2ca832-_0x11e6a8,_0x30f3b3={'labelPosition':_0x11e6a8-_0x42b833>=q?_0x1f2065(0x1ff):_0x1f2065(0x1bd),'sheetID':_0xe3d441,'range':_0x3d02e0,'color':_0x36907e,'name':_0x4acd9a,'selection':_0x13de88,'left':_0x40b07b,'top':_0x11e6a8,'width':_0x4161a2,'height':_0x3ceb08,'evented':!0x1,'zIndex':bt};return new we(_0x4acd9a,_0x30f3b3);});_0x306795[_0x2b2e7a(0x1a9)](_0x2327f5,gt),this[_0x2b2e7a(0x369)]=new Set(_0x2327f5);}[_0x581ecc(0x328)](){const _0x400cc1=_0x581ecc;var _0x333180;(_0x333180=this[_0x400cc1(0x369)])==null||_0x333180[_0x400cc1(0x1dd)](_0x18717f=>_0x18717f[_0x400cc1(0x1b0)]());}[_0x581ecc(0x252)](){const _0x54ed6f=_0x581ecc;return X[_0x54ed6f(0x2a5)](this[_0x54ed6f(0x311)][_0x54ed6f(0x312)],this[_0x54ed6f(0x311)]);}};ve=pt([ae(0x1,a['Inject'](X['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x581ecc(0x210)](a['ThemeService']))],ve);function Et(_0x1df26c){const _0xc6846e=_0x581ecc,_0x9523a4=new Map();return _0x1df26c[_0xc6846e(0x1dd)](_0x153e86=>{const _0xd8cb3=_0xc6846e;if(_0x9523a4[_0xd8cb3(0x1af)](_0x153e86['selection'])){const _0x59808e=_0x9523a4[_0xd8cb3(0x2b8)](_0x153e86[_0xd8cb3(0x1f8)]);_0x59808e['name']+=',\x20'+_0x153e86[_0xd8cb3(0x1a4)];}else _0x9523a4[_0xd8cb3(0x2d0)](_0x153e86[_0xd8cb3(0x1f8)],_0x153e86);}),Array[_0xc6846e(0x2d4)](_0x9523a4['values']());}var E=function(){const _0x272a53=_0x581ecc;return E=Object[_0x272a53(0x17a)]||function(_0x59bcb1){const _0x2ac13b=_0x272a53;for(var _0x2965d6,_0x3218dc=0x1,_0x3f2561=arguments[_0x2ac13b(0x2a0)];_0x3218dc<_0x3f2561;_0x3218dc++){_0x2965d6=arguments[_0x3218dc];for(var _0x1ac72e in _0x2965d6)Object[_0x2ac13b(0x1b9)][_0x2ac13b(0x378)]['call'](_0x2965d6,_0x1ac72e)&&(_0x59bcb1[_0x1ac72e]=_0x2965d6[_0x1ac72e]);}return _0x59bcb1;},E[_0x272a53(0x2d9)](this,arguments);},Tt=function(_0x4e8dd1,_0xca19b5){const _0x394919=_0x581ecc;var _0x385eef={};for(var _0x33568d in _0x4e8dd1)Object['prototype'][_0x394919(0x378)]['call'](_0x4e8dd1,_0x33568d)&&_0xca19b5['indexOf'](_0x33568d)<0x0&&(_0x385eef[_0x33568d]=_0x4e8dd1[_0x33568d]);if(_0x4e8dd1!=null&&typeof Object['getOwnPropertySymbols']==_0x394919(0x33a)){for(var _0x1b1efe=0x0,_0x33568d=Object['getOwnPropertySymbols'](_0x4e8dd1);_0x1b1efe<_0x33568d[_0x394919(0x2a0)];_0x1b1efe++)_0xca19b5[_0x394919(0x263)](_0x33568d[_0x1b1efe])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x394919(0x29c)](_0x4e8dd1,_0x33568d[_0x1b1efe])&&(_0x385eef[_0x33568d[_0x1b1efe]]=_0x4e8dd1[_0x33568d[_0x1b1efe]]);}return _0x385eef;},pe=M[_0x581ecc(0x176)](function(_0xc9c903,_0x1bf031){const _0x2958f6=_0x581ecc;var _0x5bf8e6=_0xc9c903[_0x2958f6(0x364)],_0x4ff1ac=_0xc9c903['id'],_0x5ca773=_0xc9c903[_0x2958f6(0x147)],_0x4c6bc0=_0xc9c903[_0x2958f6(0x1b2)],_0x1ced2f=Tt(_0xc9c903,[_0x2958f6(0x364),'id',_0x2958f6(0x147),_0x2958f6(0x1b2)]),_0xa9a896=_0x2958f6(0x13c)[_0x2958f6(0x270)](_0x4ff1ac,'\x20')[_0x2958f6(0x270)](_0x5ca773||'')[_0x2958f6(0x122)](),_0x12b70b=M[_0x2958f6(0x324)]('_'[_0x2958f6(0x270)](Dt()));return Ae(_0x5bf8e6,''[_0x2958f6(0x270)](_0x4ff1ac),{'defIds':_0x5bf8e6[_0x2958f6(0x248)],'idSuffix':_0x12b70b['current']},E({'ref':_0x1bf031,'className':_0xa9a896},_0x1ced2f),_0x4c6bc0);});function Ae(_0xc52807,_0x1963c4,_0x48427c,_0x5a37c0,_0x2b8971){const _0x2aee3d=_0x581ecc;return M[_0x2aee3d(0x25a)](_0xc52807['tag'],E(E({'key':_0x1963c4},Ot(_0xc52807,_0x48427c,_0x2b8971)),_0x5a37c0),(Rt(_0xc52807,_0x48427c)[_0x2aee3d(0x193)]||[])[_0x2aee3d(0x1ea)](function(_0x4dff01,_0x4d7231){const _0x13094b=_0x2aee3d;return Ae(_0x4dff01,''[_0x13094b(0x270)](_0x1963c4,'-')[_0x13094b(0x270)](_0xc52807[_0x13094b(0x151)],'-')[_0x13094b(0x270)](_0x4d7231),_0x48427c,void 0x0,_0x2b8971);}));}function Ot(_0x2ba93c,_0x35d8b0,_0x144b4e){const _0x221ed0=_0x581ecc;var _0x2a4da0=E({},_0x2ba93c[_0x221ed0(0x166)]);_0x144b4e!=null&&_0x144b4e[_0x221ed0(0x197)]&&_0x2a4da0[_0x221ed0(0x24a)]===_0x221ed0(0x197)&&(_0x2a4da0[_0x221ed0(0x24a)]=_0x144b4e[_0x221ed0(0x197)]),_0x2ba93c['tag']===_0x221ed0(0x241)&&_0x2a4da0['id']&&(_0x2a4da0['id']=_0x2a4da0['id']+_0x35d8b0[_0x221ed0(0x1c3)]),Object[_0x221ed0(0x149)](_0x2a4da0)[_0x221ed0(0x1dd)](function(_0x32990d){const _0x17f6be=_0x221ed0;var _0x3311ce=_0x32990d[0x0],_0x17e048=_0x32990d[0x1];_0x3311ce===_0x17f6be(0x241)&&typeof _0x17e048=='string'&&(_0x2a4da0[_0x3311ce]=_0x17e048[_0x17f6be(0x2d8)](/url\(#(.*)\)/,_0x17f6be(0x196)[_0x17f6be(0x270)](_0x35d8b0[_0x17f6be(0x1c3)],')')));});var _0x13d7c6=_0x35d8b0[_0x221ed0(0x248)];return!_0x13d7c6||_0x13d7c6[_0x221ed0(0x2a0)]===0x0||(_0x2ba93c[_0x221ed0(0x151)]===_0x221ed0(0x230)&&_0x2a4da0[_0x221ed0(0x1c4)]&&(_0x2a4da0[_0x221ed0(0x1c4)]=_0x2a4da0[_0x221ed0(0x1c4)]+_0x35d8b0[_0x221ed0(0x1c3)]),Object[_0x221ed0(0x149)](_0x2a4da0)[_0x221ed0(0x1dd)](function(_0x73c1af){const _0x27e865=_0x221ed0;var _0x2d5e22=_0x73c1af[0x0],_0x3fd592=_0x73c1af[0x1];typeof _0x3fd592==_0x27e865(0x2a8)&&(_0x2a4da0[_0x2d5e22]=_0x3fd592[_0x27e865(0x2d8)](/url\(#(.*)\)/,_0x27e865(0x196)[_0x27e865(0x270)](_0x35d8b0[_0x27e865(0x1c3)],')')));})),_0x2a4da0;}function Rt(_0xc2df75,_0xbd3aec){const _0x11a90d=_0x581ecc;var _0x230e0f,_0xd1ff5=_0xbd3aec['defIds'];return!_0xd1ff5||_0xd1ff5['length']===0x0?_0xc2df75:_0xc2df75['tag']===_0x11a90d(0x1ad)&&(!((_0x230e0f=_0xc2df75['children'])===null||_0x230e0f===void 0x0)&&_0x230e0f[_0x11a90d(0x2a0)])?E(E({},_0xc2df75),{'children':_0xc2df75['children'][_0x11a90d(0x1ea)](function(_0x1971da){const _0x249650=_0x11a90d;return typeof _0x1971da['attrs']['id']=='string'&&_0xd1ff5&&_0xd1ff5[_0x249650(0x263)](_0x1971da['attrs']['id'])>-0x1?E(E({},_0x1971da),{'attrs':E(E({},_0x1971da['attrs']),{'id':_0x1971da[_0x249650(0x166)]['id']+_0xbd3aec[_0x249650(0x1c3)]})}):_0x1971da;})}):_0xc2df75;}function _0x17f3(_0x192835,_0x3fec4d){const _0x3fa894=_0x3fa8();return _0x17f3=function(_0x17f3cd,_0x2a2e58){_0x17f3cd=_0x17f3cd-0x10f;let _0x3714a7=_0x3fa894[_0x17f3cd];return _0x3714a7;},_0x17f3(_0x192835,_0x3fec4d);}function Dt(){const _0x593eda=_0x581ecc;return Math[_0x593eda(0x12e)]()[_0x593eda(0x16e)](0x24)[_0x593eda(0x27e)](0x2,0x8);}pe[_0x581ecc(0x219)]=_0x581ecc(0x27c);var Ut={'tag':_0x581ecc(0x26a),'attrs':{'fill':_0x581ecc(0x32e),'viewBox':_0x581ecc(0x1df),'width':_0x581ecc(0x35e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x581ecc(0x133)},'children':[{'tag':_0x581ecc(0x11c),'attrs':{'stroke':_0x581ecc(0x388),'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':_0x581ecc(0x1a5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x581ecc(0x1ad),'attrs':{},'children':[{'tag':_0x581ecc(0x170),'attrs':{'id':_0x581ecc(0x28e)},'children':[{'tag':_0x581ecc(0x11c),'attrs':{'fill':_0x581ecc(0x12b),'d':_0x581ecc(0x300)}}]}]}],'defIds':[_0x581ecc(0x28e)]},ye=M[_0x581ecc(0x176)](function(_0x36bf81,_0x4a25ec){const _0x4d99e1=_0x581ecc;return M[_0x4d99e1(0x25a)](pe,Object['assign']({},_0x36bf81,{'id':_0x4d99e1(0x314),'ref':_0x4a25ec,'icon':Ut}));});ye[_0x581ecc(0x219)]=_0x581ecc(0x2b2);var Nt={'tag':_0x581ecc(0x26a),'attrs':{'fill':_0x581ecc(0x32e),'viewBox':_0x581ecc(0x214),'width':_0x581ecc(0x35e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x581ecc(0x383)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x581ecc(0x313),'strokeLinecap':_0x581ecc(0x1a5),'strokeLinejoin':_0x581ecc(0x1a5),'strokeWidth':1.2}}]},{'tag':_0x581ecc(0x1ad),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x581ecc(0x2b6)},'children':[{'tag':_0x581ecc(0x11c),'attrs':{'fill':_0x581ecc(0x12b),'d':'M0\x200H16V16H0z','transform':_0x581ecc(0x259)}}]}]}],'defIds':[_0x581ecc(0x2b6)]},$e=M[_0x581ecc(0x176)](function(_0x15b53e,_0x5132e4){const _0x77417d=_0x581ecc;return M[_0x77417d(0x25a)](pe,Object[_0x77417d(0x17a)]({},_0x15b53e,{'id':_0x77417d(0x24c),'ref':_0x5132e4,'icon':Nt}));});$e['displayName']=_0x581ecc(0x131);function Mt(_0x5038d9){const _0x51f070=_0x581ecc;switch(_0x5038d9){case u['CollaborationStatus']['OFFLINE']:return _0x51f070(0x389);case u[_0x51f070(0x192)][_0x51f070(0x34b)]:return'collabStatus.conflict';case u[_0x51f070(0x192)]['FETCH_MISS']:return _0x51f070(0x24d);case u[_0x51f070(0x192)]['NOT_COLLAB']:return _0x51f070(0x155);case u[_0x51f070(0x192)]['AWAITING']:case u[_0x51f070(0x192)][_0x51f070(0x358)]:return _0x51f070(0x35c);case u[_0x51f070(0x192)][_0x51f070(0x333)]:case u[_0x51f070(0x192)][_0x51f070(0x2ec)]:return'collabStatus.synced';}}function xe(_0x25d699){const _0x4fbd62=_0x581ecc,{status$:_0x30fcc5}=_0x25d699,_0x4fcfaf=T[_0x4fbd62(0x381)](_0x30fcc5,u['CollaborationStatus']['NOT_COLLAB']),_0x45bfbc=T['useDependency'](a['LocaleService']),_0x4960b7=T[_0x4fbd62(0x212)](u['CollaborationSessionService']),_0x482fd4=_0x4fcfaf!==u['CollaborationStatus'][_0x4fbd62(0x288)],_0x12ff3d=_0x45bfbc['t'](Mt(_0x4fcfaf)),_0x4c9d33=_0x482fd4?P[_0x4fbd62(0x232)]($e,{}):P[_0x4fbd62(0x232)](ye,{}),_0x1f708e=M[_0x4fbd62(0x38b)](()=>{const _0x3354ca=_0x4fbd62;_0x482fd4||_0x4960b7[_0x3354ca(0x199)]();},[_0x482fd4,_0x4960b7]);function _0x5e9e6a(){const _0x437c97=_0x4fbd62;return P[_0x437c97(0x16a)](_0x437c97(0x24b),{'className':_0x437c97(0x221),'onClick':_0x1f708e,'children':[P['jsx']('div',{'className':D[_0x437c97(0x1cf)](_0x437c97(0x1c1),_0x482fd4?_0x437c97(0x291):_0x437c97(0x247)),'children':_0x4c9d33}),P['jsx'](_0x437c97(0x24b),{'className':_0x437c97(0x10f),'children':_0x12ff3d})]});}return _0x482fd4?_0x5e9e6a():P[_0x4fbd62(0x232)](D[_0x4fbd62(0x338)],{'title':_0x45bfbc['t'](_0x4fbd62(0x2cf)),'children':_0x5e9e6a()});}var Lt=Object[_0x581ecc(0x182)],Pt=(_0x1cb34e,_0xcf833f,_0x4b7180,_0x36e0ef)=>{const _0x16d9d4=_0x581ecc;for(var _0x27e22f=_0x36e0ef>0x1?void 0x0:_0x36e0ef?Lt(_0xcf833f,_0x4b7180):_0xcf833f,_0x1251d3=_0x1cb34e[_0x16d9d4(0x2a0)]-0x1,_0x2e4c09;_0x1251d3>=0x0;_0x1251d3--)(_0x2e4c09=_0x1cb34e[_0x1251d3])&&(_0x27e22f=_0x2e4c09(_0x27e22f)||_0x27e22f);return _0x27e22f;},V=(_0x55d72b,_0x3f2c87)=>(_0x89638,_0x3e8371)=>_0x3f2c87(_0x89638,_0x3e8371,_0x55d72b);exports[_0x581ecc(0x38f)]=class extends a[_0x581ecc(0x1fc)]{constructor(_0x2464fd,_0x512086,_0x151e72,_0xbd62b){const _0x385281=_0x581ecc;super(),h(this,_0x385281(0x340),new d[(_0x385281(0x205))](u[_0x385281(0x192)][_0x385281(0x371)])),(this['_univerInstanceService']=_0x2464fd,this['_injector']=_0x512086,this[_0x385281(0x2df)]=_0x151e72,this[_0x385281(0x132)]=_0xbd62b,this[_0x385281(0x36c)](),this[_0x385281(0x367)]());}[_0x581ecc(0x367)](){const _0x239e4f=_0x581ecc;this[_0x239e4f(0x191)](this[_0x239e4f(0x1a1)][_0x239e4f(0x220)][_0x239e4f(0x37a)](d[_0x239e4f(0x2eb)](()=>{const _0x1be3f9=_0x239e4f,_0x3fc4cb=this[_0x1be3f9(0x1a1)][_0x1be3f9(0x254)]();return _0x3fc4cb?this['_collaborationController']['getCollabEntity$'](_0x3fc4cb[_0x1be3f9(0x274)]()):d['of'](null);}),d[_0x239e4f(0x2eb)](_0x721a40=>_0x721a40?_0x721a40[_0x239e4f(0x15b)]:d['of'](u[_0x239e4f(0x192)]['NOT_COLLAB'])))[_0x239e4f(0x21f)](_0x255250=>{const _0x61248=_0x239e4f;this[_0x61248(0x340)][_0x61248(0x33d)](_0x255250);}));}['_initStatusComponent'](){const _0x246a46=_0x581ecc;this[_0x246a46(0x191)](this[_0x246a46(0x132)][_0x246a46(0x185)](T[_0x246a46(0x23f)][_0x246a46(0x18b)],()=>T[_0x246a46(0x20b)](wt({'status$':this[_0x246a46(0x340)][_0x246a46(0x2ea)]()}),this[_0x246a46(0x27b)])));}},exports[_0x581ecc(0x38f)]=Pt([V(0x0,a[_0x581ecc(0x2f9)]),V(0x1,a[_0x581ecc(0x210)](a['Injector'])),V(0x2,a['Inject'](u[_0x581ecc(0x334)])),V(0x3,T[_0x581ecc(0x34e)])],exports['DesktopCollaborationStatusDisplayController']);function wt(_0x2625b5){const {status$:_0x5d0cc2}=_0x2625b5;return function(){return P['jsx'](xe,{'status$':_0x5d0cc2});};}var At=Object[_0x581ecc(0x182)],yt=(_0x1b6dc2,_0x3e9d44,_0x9f51bd,_0x58ea54)=>{const _0x1df289=_0x581ecc;for(var _0x3f9810=_0x58ea54>0x1?void 0x0:_0x58ea54?At(_0x3e9d44,_0x9f51bd):_0x3e9d44,_0x4bebd7=_0x1b6dc2[_0x1df289(0x2a0)]-0x1,_0x27a759;_0x4bebd7>=0x0;_0x4bebd7--)(_0x27a759=_0x1b6dc2[_0x4bebd7])&&(_0x3f9810=_0x27a759(_0x3f9810)||_0x3f9810);return _0x3f9810;},y=(_0x13cc78,_0x4313f0)=>(_0x3366ef,_0x41c8a8)=>_0x4313f0(_0x3366ef,_0x41c8a8,_0x13cc78);let K=class extends a[_0x581ecc(0x1fc)]{constructor(_0x5d5cf4,_0x1f0973,_0x3ddcd1,_0x591964,_0x3fe8f2,_0xb9bbf8){const _0x990fe2=_0x581ecc;super(),this[_0x990fe2(0x307)]=_0x5d5cf4,this[_0x990fe2(0x382)]=_0x1f0973,this['_collaborationUIEventService']=_0x3ddcd1,this[_0x990fe2(0x2c4)]=_0x591964,this[_0x990fe2(0x2af)]=_0x3fe8f2,this['_localeService']=_0xb9bbf8,this['_setupBeforeClosingHandler'](),this[_0x990fe2(0x1eb)]();}[_0x581ecc(0x2e9)](){const _0x55e9a4=_0x581ecc;this['disposeWithMe'](this[_0x55e9a4(0x307)]['registerBeforeClose'](()=>{const _0x3abba2=_0x55e9a4;if(this['_localCacheService'][_0x3abba2(0x327)][_0x3abba2(0x12d)])return this[_0x3abba2(0x2f8)]['t'](_0x3abba2(0x1e3));}));}[_0x581ecc(0x1eb)](){const _0x4e07ec=_0x581ecc;this[_0x4e07ec(0x191)](this[_0x4e07ec(0x225)]['event$']['subscribe'](_0x3a578f=>{const _0x30e4b0=_0x4e07ec;_0x3a578f['id']===u[_0x30e4b0(0x144)]['OTHER_CLIENT_EDITING']&&this[_0x30e4b0(0x2c4)]['show']({'type':D[_0x30e4b0(0x2d1)][_0x30e4b0(0x297)],'content':this[_0x30e4b0(0x2f8)]['t'](_0x30e4b0(0x27a))}),_0x3a578f['id']===u[_0x30e4b0(0x144)]['CLOSE_ROOM']&&this['_messageService'][_0x30e4b0(0x179)]({'type':D[_0x30e4b0(0x2d1)]['Warning'],'content':this[_0x30e4b0(0x2f8)]['t'](_0x30e4b0(0x366))}),_0x3a578f['id']===u[_0x30e4b0(0x144)]['PERMISSION_DENIED']&&this[_0x30e4b0(0x2af)][_0x30e4b0(0x179)]({'title':this[_0x30e4b0(0x2f8)]['t']('permission.title'),'content':this['_localeService']['t'](_0x30e4b0(0x26e)),'type':'error','duration':0x0}),_0x3a578f['id']===u[_0x30e4b0(0x144)][_0x30e4b0(0x34b)]&&this['_messageService']['show']({'type':D[_0x30e4b0(0x2d1)][_0x30e4b0(0x283)],'content':this[_0x30e4b0(0x2f8)]['t'](_0x30e4b0(0x366))+'('+_0x3a578f[_0x30e4b0(0x17c)]+')'}),_0x3a578f['id']===u['CollaborationUIEventId'][_0x30e4b0(0x273)]&&this[_0x30e4b0(0x2c4)][_0x30e4b0(0x179)]({'type':D[_0x30e4b0(0x2d1)][_0x30e4b0(0x297)],'content':this[_0x30e4b0(0x2f8)]['t'](_0x3a578f['data']||'')}),_0x3a578f['id']===u[_0x30e4b0(0x144)][_0x30e4b0(0x281)]&&this[_0x30e4b0(0x2c4)][_0x30e4b0(0x179)]({'type':D['MessageType'][_0x30e4b0(0x297)],'content':this[_0x30e4b0(0x2f8)]['t'](_0x30e4b0(0x282))}),_0x3a578f['id']===u[_0x30e4b0(0x144)][_0x30e4b0(0x1a2)]&&this[_0x30e4b0(0x2c4)][_0x30e4b0(0x179)]({'type':D[_0x30e4b0(0x2d1)][_0x30e4b0(0x283)],'content':this[_0x30e4b0(0x2f8)]['t'](_0x30e4b0(0x25c))}),_0x3a578f['id']===u['CollaborationUIEventId'][_0x30e4b0(0x11d)]&&this[_0x30e4b0(0x2c4)][_0x30e4b0(0x179)]({'type':D[_0x30e4b0(0x2d1)][_0x30e4b0(0x283)],'content':this[_0x30e4b0(0x2f8)]['t'](_0x30e4b0(0x393))});}));}};K=yt([y(0x0,T[_0x581ecc(0x123)]),y(0x1,u[_0x581ecc(0x234)]),y(0x2,a[_0x581ecc(0x210)](u[_0x581ecc(0x1da)])),y(0x3,T[_0x581ecc(0x2bd)]),y(0x4,T['INotificationService']),y(0x5,a['Inject'](a[_0x581ecc(0x2b1)]))],K);const $t='collaboration-client-ui.config',Ue={},be=a[_0x581ecc(0x32c)](_0x581ecc(0x22d));var xt=Object[_0x581ecc(0x182)],jt=(_0x35f62c,_0x3f51ae,_0x360f80,_0x48a86e)=>{for(var _0x246310=_0x48a86e>0x1?void 0x0:_0x48a86e?xt(_0x3f51ae,_0x360f80):_0x3f51ae,_0x2264f5=_0x35f62c['length']-0x1,_0x2093f2;_0x2264f5>=0x0;_0x2264f5--)(_0x2093f2=_0x35f62c[_0x2264f5])&&(_0x246310=_0x2093f2(_0x246310)||_0x246310);return _0x246310;},H=(_0x541df5,_0xeadce5)=>(_0x5d9897,_0x380e85)=>_0xeadce5(_0x5d9897,_0x380e85,_0x541df5);exports[_0x581ecc(0x1d2)]=class extends a[_0x581ecc(0x2e8)]{constructor(_0x10c069,_0x401cc6,_0x52aac1,_0x212228,_0x21cfd9){const _0xd9121e=_0x581ecc;super(),this[_0xd9121e(0x261)]=_0x10c069,this[_0xd9121e(0x27f)]=_0x401cc6,this[_0xd9121e(0x290)]=_0x52aac1,this[_0xd9121e(0x2e0)]=_0x212228,_0x21cfd9?_0x21cfd9==null||_0x21cfd9['whenReady']()['then'](()=>this['_init']()):(this['_logService']['debug'](_0xd9121e(0x321),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xd9121e(0x1f1)]());}async[_0x581ecc(0x1f1)](){const _0x558120=_0x581ecc,_0x105d19=this[_0x558120(0x261)]['getParam'](_0x558120(0x312)),_0x2adc2f=this[_0x558120(0x261)][_0x558120(0x347)](_0x558120(0x121)),_0x1bd95=this['_urlService'][_0x558120(0x347)](_0x558120(0x15a));if(!_0x105d19||!_0x2adc2f){this[_0x558120(0x27f)][_0x558120(0x16f)](_0x558120(0x321),_0x558120(0x343));return;}const _0x82c75=await this['_dataLoaderService']['loadUnit'](_0x105d19,Number(_0x2adc2f),_0x1bd95);_0x82c75&&_0x82c75 instanceof a['Workbook']&&this['_setupSubUnitSync'](_0x82c75);}async[_0x581ecc(0x278)](_0x56e8b2){const _0x11a2ae=_0x581ecc;await this[_0x11a2ae(0x1a7)](_0x56e8b2),_0x56e8b2[_0x11a2ae(0x12a)]['pipe'](d[_0x11a2ae(0x18e)](this[_0x11a2ae(0x194)]))[_0x11a2ae(0x21f)](_0x2ceb41=>{const _0x4132f3=_0x11a2ae;_0x2ceb41&&this[_0x4132f3(0x229)](_0x2ceb41);}),this['_urlService'][_0x11a2ae(0x355)][_0x11a2ae(0x37a)](d[_0x11a2ae(0x18e)](this[_0x11a2ae(0x194)]))['subscribe'](()=>this[_0x11a2ae(0x1a7)](_0x56e8b2));}[_0x581ecc(0x229)](_0x21ba26,_0x183d8c=!0x1){const _0x4b468a=_0x581ecc,_0x129780=this['_urlService']['getParam']('subunit');_0x21ba26[_0x4b468a(0x374)]()!==_0x129780&&this['_urlService'][_0x4b468a(0x2db)](_0x4b468a(0x15a),_0x21ba26[_0x4b468a(0x374)](),_0x183d8c);}async[_0x581ecc(0x1a7)](_0x42a407){const _0xe1a5c7=_0x581ecc;var _0x18a8d6;const _0x5ea619=this[_0xe1a5c7(0x261)][_0xe1a5c7(0x347)](_0xe1a5c7(0x15a));if(!_0x5ea619||!_0x42a407[_0xe1a5c7(0x21a)](_0x5ea619)){const _0x2b2120=_0x42a407['getUnhiddenWorksheets']()[0x0],_0x3fa4ca=_0x42a407[_0xe1a5c7(0x21a)](_0x2b2120);if(!_0x3fa4ca)return;this[_0xe1a5c7(0x229)](_0x3fa4ca,!0x0),await this['_commandService'][_0xe1a5c7(0x12c)](g[_0xe1a5c7(0x31f)]['id'],{'unitId':_0x42a407[_0xe1a5c7(0x274)](),'subUnitId':_0x2b2120});return;}((_0x18a8d6=_0x42a407[_0xe1a5c7(0x2b9)]())==null?void 0x0:_0x18a8d6['getSheetId']())!==_0x5ea619&&await this[_0xe1a5c7(0x290)][_0xe1a5c7(0x12c)](g[_0xe1a5c7(0x31f)]['id'],{'unitId':_0x42a407[_0xe1a5c7(0x274)](),'subUnitId':_0x5ea619});}},exports['CollaborationDataLoaderController']=jt([H(0x0,be),H(0x1,a[_0x581ecc(0x186)]),H(0x2,a['ICommandService']),H(0x3,a['Inject'](u[_0x581ecc(0x29a)])),H(0x4,a['Optional'](qe[_0x581ecc(0x14f)]))],exports[_0x581ecc(0x1d2)]);var Bt=Object[_0x581ecc(0x182)],kt=(_0xf963ab,_0x110a31,_0x3701fd,_0x2a380f)=>{for(var _0x35ce5a=_0x2a380f>0x1?void 0x0:_0x2a380f?Bt(_0x110a31,_0x3701fd):_0x110a31,_0x4217b6=_0xf963ab['length']-0x1,_0x425c1d;_0x4217b6>=0x0;_0x4217b6--)(_0x425c1d=_0xf963ab[_0x4217b6])&&(_0x35ce5a=_0x425c1d(_0x35ce5a)||_0x35ce5a);return _0x35ce5a;},ce=(_0x313e89,_0x5e7e8d)=>(_0x55c74d,_0x503104)=>_0x5e7e8d(_0x55c74d,_0x503104,_0x313e89);let z=class{constructor(_0x3c4b49,_0x55fa54,_0x1aa957){const _0x186290=_0x581ecc;this[_0x186290(0x27b)]=_0x3c4b49,this[_0x186290(0x2ae)]=_0x55fa54,this[_0x186290(0x284)]=_0x1aa957;}['transformIMECache'](_0x220988){const _0x4a75f6=_0x581ecc;this[_0x4a75f6(0x1cc)](_0x220988),this[_0x4a75f6(0x227)](_0x220988);}[_0x581ecc(0x1d7)](_0xf88b30){const _0x2b8738=_0x581ecc,{unitID:_0x1cfbb1}=_0xf88b30,_0x46637c=this[_0x2b8738(0x284)][_0x2b8738(0x158)](_0x1cfbb1)['with'](b[_0x2b8738(0x152)]),{redoCache:_0x4d2428}=_0x46637c[_0x2b8738(0x2fb)]();if(_0x4d2428[_0x2b8738(0x2a0)]===0x0)return _0xf88b30;let _0x3abfae=a[_0x2b8738(0x184)][_0x2b8738(0x23e)](_0xf88b30[_0x2b8738(0x386)][0x0]);for(let _0x4dd56a=0x0;_0x4dd56a<_0x4d2428['length'];_0x4dd56a++){const _0x242ef7={'id':'doc.mutation.rich-text-editing','params':{..._0x4d2428[_0x4dd56a]}},_0x5ea840=this['_transformService']['transformMutation'](_0x3abfae,_0x242ef7,!0x1);if(m['isTransformMutationFailure'](_0x5ea840))throw _0x5ea840[_0x2b8738(0x2fc)];_0x3abfae=_0x5ea840['m1Prime'];}return{...a[_0x2b8738(0x184)][_0x2b8738(0x23e)](_0xf88b30),'mutations':[_0x3abfae]};}[_0x581ecc(0x1cc)](_0x3a2e32){const _0x590a37=_0x581ecc,{unitID:_0x3a6b1f}=_0x3a2e32,_0x10f5db=this[_0x590a37(0x284)][_0x590a37(0x158)](_0x3a6b1f)[_0x590a37(0x1b8)](b[_0x590a37(0x152)]),{undoCache:_0x5a5cdb,redoCache:_0x173b07}=_0x10f5db[_0x590a37(0x2fb)]();if(_0x5a5cdb['length']===0x0||_0x173b07[_0x590a37(0x2a0)]===0x0)return;const _0x1abc4d=[],_0x3f7b54=[];let _0x2f27c9=a[_0x590a37(0x184)][_0x590a37(0x23e)](_0x3a2e32['mutations'][0x0]),_0x288164=a[_0x590a37(0x184)][_0x590a37(0x23e)](_0x3a2e32[_0x590a37(0x386)][0x0]);for(let _0x4cee51=_0x5a5cdb[_0x590a37(0x2a0)]-0x1;_0x4cee51>=0x0;_0x4cee51--){const _0x4a95e3={'id':_0x590a37(0x306),'params':{..._0x5a5cdb[_0x4cee51]}},_0x56a688={'id':_0x590a37(0x306),'params':{..._0x173b07[_0x4cee51]}},_0x5b0daf=this['_transformService']['transformMutation'](_0x2f27c9,_0x4a95e3,!0x1),_0x13f4c8=this['_transformService'][_0x590a37(0x2cb)](_0x288164,_0x56a688,!0x1);if(m[_0x590a37(0x28f)](_0x5b0daf))throw _0x5b0daf[_0x590a37(0x2fc)];if(m['isTransformMutationFailure'](_0x13f4c8))throw _0x13f4c8[_0x590a37(0x2fc)];_0x1abc4d[_0x590a37(0x14d)](_0x5b0daf[_0x590a37(0x272)][_0x590a37(0x16d)]),_0x3f7b54[_0x590a37(0x14d)](_0x13f4c8[_0x590a37(0x272)]['params']),_0x2f27c9=_0x5b0daf[_0x590a37(0x17f)],_0x288164=_0x13f4c8[_0x590a37(0x17f)];}_0x10f5db['setUndoRedoMutationParamsCache']({'undoCache':_0x1abc4d,'redoCache':_0x3f7b54});}[_0x581ecc(0x227)](_0x3cb491){const _0x50be12=_0x581ecc,{unitID:_0x32fa8a}=_0x3cb491,_0x501e3b=this[_0x50be12(0x284)][_0x50be12(0x158)](_0x32fa8a)[_0x50be12(0x1b8)](b[_0x50be12(0x152)]),_0x77c2e9=_0x501e3b[_0x50be12(0x13b)]();if(_0x77c2e9==null)return;const _0xe8e22f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3cb491['unitID'],'actions':null,'textRanges':[_0x77c2e9]}}],_0x593fc2=this[_0x50be12(0x2ae)]['transformMutationsWithChangeset'](_0x3cb491,_0xe8e22f);if(!m['isTransformMutationsWithChangesetSuccess'](_0x593fc2))throw _0x593fc2[_0x50be12(0x2fc)];const _0x1b8bf5=_0x593fc2[_0x50be12(0x272)][0x0]['params'][_0x50be12(0x375)];Array['isArray'](_0x1b8bf5)&&_0x1b8bf5[_0x50be12(0x2a0)]&&_0x501e3b[_0x50be12(0x137)](_0x1b8bf5[0x0]);}};z=kt([ce(0x0,a[_0x581ecc(0x210)](a[_0x581ecc(0x255)])),ce(0x1,m['ITransformService']),ce(0x2,p[_0x581ecc(0x2f0)])],z);var Ht=Object[_0x581ecc(0x182)],Ft=(_0x32786b,_0x4d16ce,_0x462283,_0x305585)=>{const _0x3d2356=_0x581ecc;for(var _0x1c1c99=_0x305585>0x1?void 0x0:_0x305585?Ht(_0x4d16ce,_0x462283):_0x4d16ce,_0x455140=_0x32786b[_0x3d2356(0x2a0)]-0x1,_0x5b70ea;_0x455140>=0x0;_0x455140--)(_0x5b70ea=_0x32786b[_0x455140])&&(_0x1c1c99=_0x5b70ea(_0x1c1c99)||_0x1c1c99);return _0x1c1c99;},le=(_0x352611,_0x20dacd)=>(_0x16043e,_0x18d58e)=>_0x20dacd(_0x16043e,_0x18d58e,_0x352611);let J=class{constructor(_0x1c0c31,_0x548b5c,_0x4b2e6d){const _0x1312b3=_0x581ecc;this['_injector']=_0x1c0c31,this[_0x1312b3(0x2ae)]=_0x548b5c,this[_0x1312b3(0x19e)]=_0x4b2e6d;}[_0x581ecc(0x2c3)](_0x47d789){const _0x7f02c0=_0x581ecc;this[_0x7f02c0(0x207)](_0x47d789);}[_0x581ecc(0x1d7)](_0x5acd58){const _0x554601=_0x581ecc,{unitID:_0x3ae8}=_0x5acd58,{collaboration:_0x339a47}=this[_0x554601(0x19e)][_0x554601(0x2a4)](_0x3ae8);if(_0x339a47['length']===0x0)return _0x5acd58;let _0x2e32e0=a[_0x554601(0x184)]['deepClone'](_0x5acd58[_0x554601(0x386)][0x0]);for(let _0xb83182=0x0;_0xb83182<_0x339a47[_0x554601(0x2a0)];_0xb83182++){const _0x35673d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x339a47[_0xb83182][_0x554601(0x2bc)],..._0x339a47[_0xb83182]['redoState']}},_0x160281=this[_0x554601(0x2ae)][_0x554601(0x2cb)](_0x2e32e0,_0x35673d,!0x1);if(m[_0x554601(0x28f)](_0x160281))throw _0x160281[_0x554601(0x2fc)];_0x2e32e0=_0x160281['m1Prime'];}return{...a[_0x554601(0x184)][_0x554601(0x23e)](_0x5acd58),'mutations':[_0x2e32e0]};}['_transformHistoryAndStateStack'](_0x5466fe){const _0x5db56f=_0x581ecc,{unitID:_0x48ba3e}=_0x5466fe,{history:_0x2af0e1,collaboration:_0x2442be}=this[_0x5db56f(0x19e)][_0x5db56f(0x2a4)](_0x48ba3e);if(_0x2af0e1[_0x5db56f(0x2a0)]===0x0&&_0x2442be['length']===0x0)return;const _0x35c4c3=[],_0x300003=[];let _0x27141d=a['Tools'][_0x5db56f(0x23e)](_0x5466fe[_0x5db56f(0x386)][0x0]),_0x36e65e=a[_0x5db56f(0x184)][_0x5db56f(0x23e)](_0x5466fe[_0x5db56f(0x386)][0x0]);for(let _0x455070=_0x2af0e1[_0x5db56f(0x2a0)]-0x1;_0x455070>=0x0;_0x455070--){const _0x59de0e={'id':_0x5db56f(0x306),'params':{'unitId':_0x2af0e1[_0x455070][_0x5db56f(0x2bc)],..._0x2af0e1[_0x455070][_0x5db56f(0x2ff)]}},_0x333add={'id':_0x5db56f(0x306),'params':{'unitId':_0x2af0e1[_0x455070][_0x5db56f(0x2bc)],..._0x2af0e1[_0x455070]['redoState']}},_0x5288ca=this['_transformService'][_0x5db56f(0x2cb)](_0x27141d,_0x59de0e,!0x1),_0xbe85d9=this[_0x5db56f(0x2ae)][_0x5db56f(0x2cb)](_0x36e65e,_0x333add,!0x1);if(m[_0x5db56f(0x28f)](_0x5288ca))throw _0x5288ca['error'];if(m[_0x5db56f(0x28f)](_0xbe85d9))throw _0xbe85d9['error'];_0x35c4c3[_0x5db56f(0x14d)]({..._0x2af0e1[_0x455070],'undoState':_0x5288ca[_0x5db56f(0x272)][_0x5db56f(0x16d)],'redoState':_0xbe85d9[_0x5db56f(0x272)]['params']}),_0x27141d=_0x5288ca['m1Prime'],_0x36e65e=_0xbe85d9['m1Prime'];}_0x27141d=a[_0x5db56f(0x184)][_0x5db56f(0x23e)](_0x5466fe[_0x5db56f(0x386)][0x0]),_0x36e65e=a['Tools']['deepClone'](_0x5466fe[_0x5db56f(0x386)][0x0]);for(let _0x1ec7d7=_0x2442be['length']-0x1;_0x1ec7d7>=0x0;_0x1ec7d7--){const _0x12dcb1={'id':_0x5db56f(0x306),'params':{'unitId':_0x2442be[_0x1ec7d7][_0x5db56f(0x2bc)],..._0x2442be[_0x1ec7d7]['undoState']}},_0x2e0328={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2442be[_0x1ec7d7][_0x5db56f(0x2bc)],..._0x2442be[_0x1ec7d7][_0x5db56f(0x202)]}},_0xefd307=this['_transformService'][_0x5db56f(0x2cb)](_0x27141d,_0x12dcb1,!0x1),_0x45d373=this['_transformService']['transformMutation'](_0x36e65e,_0x2e0328,!0x1);if(m[_0x5db56f(0x28f)](_0xefd307))throw _0xefd307[_0x5db56f(0x2fc)];if(m['isTransformMutationFailure'](_0x45d373))throw _0x45d373[_0x5db56f(0x2fc)];_0x300003[_0x5db56f(0x14d)]({..._0x2442be[_0x1ec7d7],'undoState':_0xefd307[_0x5db56f(0x272)][_0x5db56f(0x16d)],'redoState':_0x45d373[_0x5db56f(0x272)][_0x5db56f(0x16d)]}),_0x27141d=_0xefd307[_0x5db56f(0x17f)],_0x36e65e=_0x45d373[_0x5db56f(0x17f)];}this[_0x5db56f(0x19e)]['setStateCache'](_0x48ba3e,{'history':_0x35c4c3,'collaboration':_0x300003});}};J=Ft([le(0x0,a[_0x581ecc(0x210)](a[_0x581ecc(0x255)])),le(0x1,m[_0x581ecc(0x28b)]),le(0x2,a[_0x581ecc(0x210)](b[_0x581ecc(0x2da)]))],J);var Wt=Object['getOwnPropertyDescriptor'],Yt=(_0x4a20b4,_0x3494b3,_0x487689,_0x5b8a74)=>{const _0x29dce1=_0x581ecc;for(var _0x2befe1=_0x5b8a74>0x1?void 0x0:_0x5b8a74?Wt(_0x3494b3,_0x487689):_0x3494b3,_0x5553b9=_0x4a20b4[_0x29dce1(0x2a0)]-0x1,_0x17384c;_0x5553b9>=0x0;_0x5553b9--)(_0x17384c=_0x4a20b4[_0x5553b9])&&(_0x2befe1=_0x17384c(_0x2befe1)||_0x2befe1);return _0x2befe1;},Ne=(_0x58dcbd,_0x5de607)=>(_0x377c18,_0x306ea2)=>_0x5de607(_0x377c18,_0x306ea2,_0x58dcbd);let Z=class{constructor(_0x1f758f,_0x1494b6){const _0x558945=_0x581ecc;this[_0x558945(0x27b)]=_0x1f758f,this[_0x558945(0x2ae)]=_0x1494b6;}['transformSelections'](_0x52789c){const _0x57de55=_0x581ecc;var _0x435a5d;const _0x41cdcd=this[_0x57de55(0x27b)]['get'](W[_0x57de55(0x26f)]),_0x5163b6=(_0x435a5d=_0x41cdcd[_0x57de55(0x360)]())!=null?_0x435a5d:[];if(_0x5163b6[_0x57de55(0x2a0)]===0x0)return;const _0x51e898=_0x52789c[_0x57de55(0x2c7)],_0xf1a3=[{'id':_0x57de55(0x306),'params':{'unitId':_0x51e898,'actions':null,'textRanges':_0x5163b6}}],_0x2b0645=this[_0x57de55(0x2ae)][_0x57de55(0x2e3)](_0x52789c,_0xf1a3);if(!m[_0x57de55(0x224)](_0x2b0645))throw _0x2b0645[_0x57de55(0x2fc)];const _0x56d72e=_0x2b0645[_0x57de55(0x272)][0x0][_0x57de55(0x16d)][_0x57de55(0x375)];Array[_0x57de55(0x1a6)](_0x56d72e)&&_0x56d72e['length']&&_0x41cdcd[_0x57de55(0x138)](_0x56d72e,{'unitId':_0x51e898,'subUnitId':_0x51e898},!0x1);}};Z=Yt([Ne(0x0,a[_0x581ecc(0x210)](a['Injector'])),Ne(0x1,m[_0x581ecc(0x28b)])],Z);var Vt=Object[_0x581ecc(0x182)],Xt=(_0x2ef5c5,_0x10dca5,_0x3ffa65,_0x45bdb6)=>{const _0x2b4b1f=_0x581ecc;for(var _0x1a7f3a=_0x45bdb6>0x1?void 0x0:_0x45bdb6?Vt(_0x10dca5,_0x3ffa65):_0x10dca5,_0x1e457c=_0x2ef5c5[_0x2b4b1f(0x2a0)]-0x1,_0x56541d;_0x1e457c>=0x0;_0x1e457c--)(_0x56541d=_0x2ef5c5[_0x1e457c])&&(_0x1a7f3a=_0x56541d(_0x1a7f3a)||_0x1a7f3a);return _0x1a7f3a;},N=(_0x3e3b7d,_0x288629)=>(_0x310616,_0x1b421e)=>_0x288629(_0x310616,_0x1b421e,_0x3e3b7d);let Q=class extends a[_0x581ecc(0x1fc)]{constructor(_0x2d32f8,_0x4ce551,_0x1fb48d,_0x4663c6,_0x608709,_0x5a9c22,_0x1dfca9,_0x3e259d){const _0x245eda=_0x581ecc;super(),h(this,_0x245eda(0x340),new d[(_0x245eda(0x205))](u[_0x245eda(0x192)][_0x245eda(0x371)])),(this['_docStateChangeManagerService']=_0x2d32f8,this[_0x245eda(0x2df)]=_0x4ce551,this[_0x245eda(0x31e)]=_0x1fb48d,this[_0x245eda(0x113)]=_0x4663c6,this[_0x245eda(0x24f)]=_0x608709,this[_0x245eda(0x128)]=_0x5a9c22,this['_messageService']=_0x1dfca9,this[_0x245eda(0x2f8)]=_0x3e259d,this[_0x245eda(0x22a)]());}[_0x581ecc(0x22a)](){const _0x5f6833=_0x581ecc;this[_0x5f6833(0x191)](this[_0x5f6833(0x2df)][_0x5f6833(0x1f3)]['subscribe'](_0x396488=>{const _0x166e7e=_0x5f6833,_0x5157ee=this[_0x166e7e(0x19e)][_0x166e7e(0x2f6)][_0x166e7e(0x21f)](_0x24f23c=>{const _0x1e3bb9=_0x166e7e;if(_0x24f23c==null)return;const {unitId:_0x834e22,redoState:_0x484d1c,commandId:_0xf431bc}=_0x24f23c;if(_0x834e22!==_0x396488[_0x1e3bb9(0x2c7)])return;const _0x2852c0={'id':_0xf431bc,'type':a['CommandType'][_0x1e3bb9(0x169)],'params':{'unitId':_0x834e22,'actions':_0x484d1c[_0x1e3bb9(0x209)],'textRanges':null}};_0x396488[_0x1e3bb9(0x292)](_0x2852c0);});if(_0x396488['disposeWithMe'](_0x5157ee),_0x396488 instanceof u[_0x166e7e(0x379)]){const _0x55983e={'onTransformIME':_0x1dcfc1=>this['_docTransformIMECacheService'][_0x166e7e(0x1d9)](_0x1dcfc1),'onTransformState':_0x3e872f=>this['_docTransformStateCacheService'][_0x166e7e(0x2c3)](_0x3e872f),'onTransformSelections':_0x4ee21d=>this[_0x166e7e(0x24f)][_0x166e7e(0x1d8)](_0x4ee21d),'onSyncEditingCollabCursor':_0x9c60da=>this[_0x166e7e(0x128)][_0x166e7e(0x28d)](_0x9c60da),'onTransformRemoteChangesetByIMECache':_0x12bce8=>this[_0x166e7e(0x31e)][_0x166e7e(0x1d7)](_0x12bce8),'onTransformRemoteChangesetByStateCache':_0x5f08b2=>this['_docTransformStateCacheService'][_0x166e7e(0x1d7)](_0x5f08b2)};_0x396488[_0x166e7e(0x27d)](_0x55983e);}}));}};Q=Xt([N(0x0,a['Inject'](b[_0x581ecc(0x2da)])),N(0x1,a[_0x581ecc(0x210)](u[_0x581ecc(0x334)])),N(0x2,a[_0x581ecc(0x210)](z)),N(0x3,a[_0x581ecc(0x210)](J)),N(0x4,a[_0x581ecc(0x210)](Z)),N(0x5,a[_0x581ecc(0x210)](Ce)),N(0x6,T[_0x581ecc(0x2bd)]),N(0x7,a[_0x581ecc(0x210)](a[_0x581ecc(0x2b1)]))],Q);var Gt=Object[_0x581ecc(0x182)],qt=(_0x2e49d5,_0x23a3a0,_0x21e7eb,_0x3621b7)=>{for(var _0xaf3aaa=_0x3621b7>0x1?void 0x0:_0x3621b7?Gt(_0x23a3a0,_0x21e7eb):_0x23a3a0,_0x54abfd=_0x2e49d5['length']-0x1,_0x3f8f9a;_0x54abfd>=0x0;_0x54abfd--)(_0x3f8f9a=_0x2e49d5[_0x54abfd])&&(_0xaf3aaa=_0x3f8f9a(_0xaf3aaa)||_0xaf3aaa);return _0xaf3aaa;},_e=(_0x443d43,_0x5c4af5)=>(_0x9fec3d,_0x4681fc)=>_0x5c4af5(_0x9fec3d,_0x4681fc,_0x443d43);let ge=class extends a[_0x581ecc(0x1fc)]{constructor(_0x5428f0,_0x2e8baf,_0x1f8dea){const _0x5927c6=_0x581ecc;super(),h(this,'_cachedData',new Map()),h(this,_0x5927c6(0x1f4),new Map()),h(this,_0x5927c6(0x201),!0x1),(this[_0x5927c6(0x203)]=_0x5428f0,this[_0x5927c6(0x127)]=_0x2e8baf,this['_revisionService']=_0x1f8dea);}[_0x581ecc(0x1c6)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x5675d9=_0x581ecc;this[_0x5675d9(0x201)]=!0x1;}get[_0x581ecc(0x327)](){const _0x37e3f0=_0x581ecc;return this[_0x37e3f0(0x1f4)];}[_0x581ecc(0x1b0)](){const _0xfa0e07=_0x581ecc;this[_0xfa0e07(0x37c)]()['then'](()=>super[_0xfa0e07(0x1b0)]());}async['loadOfflineData'](_0x292d69){const _0x3c040d=_0x581ecc;return this[_0x3c040d(0x201)]?null:this['_localStorageService'][_0x3c040d(0x351)](u['getLocalCacheKey'](_0x292d69));}async[_0x581ecc(0x19b)](_0x394bd4,_0x344f55){const _0x2c2b25=_0x581ecc;return!!this['_localStorageService'][_0x2c2b25(0x352)](_0x394bd4,_0x344f55);}[_0x581ecc(0x329)](_0x261a90,_0x27cc13,_0x5a4dab,_0x54efa6){const _0x327f8c=_0x581ecc,_0x1eb074=this['_revisionService'][_0x327f8c(0x271)](_0x261a90);this['_cachedData'][_0x327f8c(0x2d0)](_0x261a90,{'unitID':_0x261a90,'type':_0x27cc13,'awaitingChangeset':_0x5a4dab,'mutations':_0x54efa6,'rev':_0x1eb074}),this[_0x327f8c(0x1f4)][_0x327f8c(0x1af)](_0x261a90)||this[_0x327f8c(0x20d)](_0x261a90);}[_0x581ecc(0x20d)](_0x4ffd32){const _0x4bf138=_0x581ecc,_0x44a180=this[_0x4bf138(0x20f)]();_0x44a180===0x0?this[_0x4bf138(0x11b)](_0x4ffd32):this[_0x4bf138(0x1f4)][_0x4bf138(0x2d0)](_0x4ffd32,setTimeout(()=>this[_0x4bf138(0x11b)](_0x4ffd32),_0x44a180));}[_0x581ecc(0x20f)](){const _0x21666a=_0x581ecc;var _0x2c58b8;return(_0x2c58b8=this[_0x21666a(0x203)]['getConfig'](u[_0x21666a(0x2cc)]))!=null?_0x2c58b8:u[_0x21666a(0x1e7)];}[_0x581ecc(0x11b)](_0x976610){const _0x17687b=_0x581ecc,_0x130129=this['_saveTaskMap'][_0x17687b(0x2b8)](_0x976610);return _0x130129!==void 0x0&&window[_0x17687b(0x303)](_0x130129),this[_0x17687b(0x127)][_0x17687b(0x352)](u[_0x17687b(0x368)](_0x976610),this[_0x17687b(0x1ac)][_0x17687b(0x2b8)](_0x976610))[_0x17687b(0x2d2)](()=>this[_0x17687b(0x1f4)]['delete'](_0x976610));}async[_0x581ecc(0x37c)](){const _0x4061db=_0x581ecc,_0x1eda78=[];this[_0x4061db(0x1f4)][_0x4061db(0x1dd)]((_0x2db19c,_0x491c57)=>{const _0x2452d9=_0x4061db;window[_0x2452d9(0x303)](_0x2db19c),_0x1eda78[_0x2452d9(0x11e)](this[_0x2452d9(0x11b)](_0x491c57)[_0x2452d9(0x2d2)](()=>{const _0x173fcf=_0x2452d9;this[_0x173fcf(0x1f4)][_0x173fcf(0x29e)](_0x491c57);}));}),await Promise[_0x4061db(0x304)](_0x1eda78);}};ge=qt([_e(0x0,a[_0x581ecc(0x258)]),_e(0x1,a[_0x581ecc(0x228)]),_e(0x2,a[_0x581ecc(0x210)](m[_0x581ecc(0x2cd)]))],ge);class je extends a[_0x581ecc(0x2e8)]{constructor(){const _0x485ec8=_0x581ecc;super(),h(this,_0x485ec8(0x355)),this['urlChange$']=d['fromEvent'](window,_0x485ec8(0x180))[_0x485ec8(0x37a)](d[_0x485ec8(0x18e)](this[_0x485ec8(0x194)]),d['shareReplay'](0x1),d['mapTo'](void 0x0));}[_0x581ecc(0x2db)](_0x28dc08,_0x5c4596,_0x1a03bc=!0x1){const _0x35ceb5=_0x581ecc,_0x20e598=new URL(window['location'][_0x35ceb5(0x130)]);_0x20e598[_0x35ceb5(0x359)]['set'](_0x28dc08,_0x5c4596),_0x1a03bc?window[_0x35ceb5(0x2ac)][_0x35ceb5(0x342)]('','',_0x20e598['toString']()):window['history'][_0x35ceb5(0x2e2)]('','',_0x20e598[_0x35ceb5(0x16e)]());}[_0x581ecc(0x250)](_0x38379d,_0x13c81a=!0x1){const _0x1065d6=_0x581ecc,_0x5720c1=new URL(window['location']['href']);_0x5720c1[_0x1065d6(0x359)][_0x1065d6(0x29e)](_0x38379d),_0x13c81a?window[_0x1065d6(0x2ac)][_0x1065d6(0x342)]('','',_0x5720c1[_0x1065d6(0x16e)]()):window[_0x1065d6(0x2ac)][_0x1065d6(0x2e2)]('','',_0x5720c1[_0x1065d6(0x16e)]());}['getParam'](_0x5d47bb){const _0x101f32=_0x581ecc;var _0x4b3653;return(_0x4b3653=new URL(window[_0x101f32(0x189)][_0x101f32(0x130)])['searchParams']['get'](_0x5d47bb))!=null?_0x4b3653:void 0x0;}}var Kt=Object['defineProperty'],zt=Object[_0x581ecc(0x182)],Jt=(_0x5a53be,_0x285fbb,_0x2a933)=>_0x285fbb in _0x5a53be?Kt(_0x5a53be,_0x285fbb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a933}):_0x5a53be[_0x285fbb]=_0x2a933,Zt=(_0x2b458f,_0x4bdf73,_0x2b1e88,_0x3d43cc)=>{const _0x4e093a=_0x581ecc;for(var _0x1036e3=_0x3d43cc>0x1?void 0x0:_0x3d43cc?zt(_0x4bdf73,_0x2b1e88):_0x4bdf73,_0x56f99a=_0x2b458f[_0x4e093a(0x2a0)]-0x1,_0x31a138;_0x56f99a>=0x0;_0x56f99a--)(_0x31a138=_0x2b458f[_0x56f99a])&&(_0x1036e3=_0x31a138(_0x1036e3)||_0x1036e3);return _0x1036e3;},he=(_0x1489dd,_0x59ed2d)=>(_0x4fbc59,_0x408ff7)=>_0x59ed2d(_0x4fbc59,_0x408ff7,_0x1489dd),Qt=(_0x5455dc,_0x421ca1,_0x2b13fc)=>Jt(_0x5455dc,_0x421ca1+'',_0x2b13fc);const es=_0x581ecc(0x222);exports[_0x581ecc(0x146)]=class extends a[_0x581ecc(0x13a)]{constructor(_0x3b12b2=Ue,_0x556f8e,_0x4a7dcf,_0xf8ea81){const _0x3da8a0=_0x581ecc;super(),this[_0x3da8a0(0x380)]=_0x3b12b2,this[_0x3da8a0(0x284)]=_0x556f8e,this['_injector']=_0x4a7dcf,this[_0x3da8a0(0x203)]=_0xf8ea81;const {..._0x4e0b32}=a['merge']({},Ue,this[_0x3da8a0(0x380)]);this[_0x3da8a0(0x203)][_0x3da8a0(0x1ec)]($t,_0x4e0b32);}[_0x581ecc(0x190)](){const _0xb5808e=_0x581ecc;this[_0xb5808e(0x25e)](),this[_0xb5808e(0x296)]();}[_0x581ecc(0x1c9)](){this['_registerRenderDependencies']();}[_0x581ecc(0x25e)](){const _0x2f5fe8=_0x581ecc;var _0x3af9b9;const _0x504453=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x2f5fe8(0x395)],{'useClass':G[_0x2f5fe8(0x22b)]}],[u['ILocalCacheService'],{'useClass':ge}],[exports[_0x2f5fe8(0x38f)]],[Q],[K],[x],[de],[exports[_0x2f5fe8(0x1d2)]]];a[_0x2f5fe8(0x237)](this['_injector'],a[_0x2f5fe8(0x2a1)](_0x504453,(_0x3af9b9=this['_config'])==null?void 0x0:_0x3af9b9['override']));}[_0x581ecc(0x32b)](){const _0x5f5b60=_0x581ecc;this['disposeWithMe'](this[_0x5f5b60(0x284)][_0x5f5b60(0x148)](a['UniverInstanceType'][_0x5f5b60(0x2fa)],[Ie])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](a[_0x5f5b60(0x1e1)][_0x5f5b60(0x373)],[ve]));}[_0x581ecc(0x296)](){const _0x4c281f=_0x581ecc;a['touchDependencies'](this[_0x4c281f(0x27b)],[[x],[exports[_0x4c281f(0x38f)]],[Q],[K],[exports[_0x4c281f(0x1d2)]]]);}},Qt(exports[_0x581ecc(0x146)],_0x581ecc(0x264),es),exports[_0x581ecc(0x146)]=Zt([a[_0x581ecc(0x1ba)](u['UniverCollaborationClientPlugin']),he(0x1,p['IRenderManagerService']),he(0x2,a[_0x581ecc(0x210)](a[_0x581ecc(0x255)])),he(0x3,a['IConfigService'])],exports['UniverCollaborationClientUIPlugin']);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x14a5f2,_0x424796,_0x30abe1,_0x4f9385)=>{const _0x397a0c=_0x581ecc;for(var _0x36a7f6=_0x4f9385>0x1?void 0x0:_0x4f9385?ts(_0x424796,_0x30abe1):_0x424796,_0x36c5ed=_0x14a5f2[_0x397a0c(0x2a0)]-0x1,_0x1e10d1;_0x36c5ed>=0x0;_0x36c5ed--)(_0x1e10d1=_0x14a5f2[_0x36c5ed])&&(_0x36a7f6=_0x1e10d1(_0x36a7f6)||_0x36a7f6);return _0x36a7f6;},F=(_0x1cc040,_0x582e9f)=>(_0x26a756,_0x37ca57)=>_0x582e9f(_0x26a756,_0x37ca57,_0x1cc040);exports[_0x581ecc(0x126)]=class extends u['CollaborationSocketService']{constructor(_0x4f2997,_0x3d3d8c,_0x2bd126,_0x5df10b,_0x2a62c0){super(_0x4f2997,_0x3d3d8c,_0x2bd126,_0x5df10b,_0x2a62c0);}async[_0x581ecc(0x37d)](_0x309bc2){const _0x2d7966=_0x581ecc,_0xceda78=await this[_0x2d7966(0x315)](),_0xa7c8ef=this[_0x2d7966(0x251)](_0x309bc2,_0xceda78);return this['_doCreateSocket'](_0xa7c8ef);}['_createSocketURL'](_0x5ea886,_0x3b9de7){const _0x1fa4ba=_0x581ecc,_0x3c0866=typeof window>'u'?new URL(_0x5ea886):new URL(_0x5ea886,window[_0x1fa4ba(0x189)]['origin']);_0x3c0866[_0x1fa4ba(0x359)][_0x1fa4ba(0x2d0)](_0x1fa4ba(0x19a),_0x3b9de7);const _0x7c3fa2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1fa4ba(0x189)][_0x1fa4ba(0x226)]);return _0x7c3fa2[_0x1fa4ba(0x2b8)]('runId')&&_0x3c0866[_0x1fa4ba(0x359)][_0x1fa4ba(0x2d0)](_0x1fa4ba(0x211),_0x7c3fa2[_0x1fa4ba(0x2b8)]('runId')),_0x3c0866[_0x1fa4ba(0x16e)]();}async[_0x581ecc(0x315)](){const _0x55e522=_0x581ecc;var _0x103027,_0x3b59ec,_0x1ebb21;const _0x1ca812=this[_0x55e522(0x203)][_0x55e522(0x1fb)](u[_0x55e522(0x330)]),_0x5f58aa=(_0x103027=_0x1ca812==null?void 0x0:_0x1ca812['wsSessionTicketUrl'])!=null?_0x103027:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1ebb21=(_0x3b59ec=(await this[_0x55e522(0x1f0)][_0x55e522(0x2b8)](_0x5f58aa,{'headers':{'Content-Type':_0x55e522(0x1a0)}}))['body'])==null?void 0x0:_0x3b59ec[_0x55e522(0x1b4)])!=null?_0x1ebb21:'';}},exports['BrowserCollaborationSocketService']=ss([F(0x0,a['Inject'](a[_0x581ecc(0x255)])),F(0x1,a[_0x581ecc(0x210)](G[_0x581ecc(0x1e5)])),F(0x2,a['IConfigService']),F(0x3,a[_0x581ecc(0x186)]),F(0x4,m[_0x581ecc(0x29b)])],exports[_0x581ecc(0x126)]);const Me=0x7530,Le=_0x581ecc(0x30d);class is extends a[_0x581ecc(0x1fc)]{constructor(){const _0x1885ac=_0x581ecc;super(),h(this,_0x1885ac(0x18c),a[_0x1885ac(0x1f7)]()),h(this,_0x1885ac(0x115),new Set()),h(this,_0x1885ac(0x1bc),new Map()),h(this,_0x1885ac(0x392),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x1885ac(0x134),new Map()),this[_0x1885ac(0x1f1)]();}[_0x581ecc(0x1b0)](){const _0x272080=_0x581ecc;super[_0x272080(0x1b0)](),this[_0x272080(0x2f5)][_0x272080(0x1dd)]((_0x3dcd12,_0x11e62b)=>this[_0x272080(0x1d4)](_0x11e62b)),this['_heartbeatTimer']&&window[_0x272080(0x119)](this['_heartbeatTimer']);}[_0x581ecc(0x177)](_0x500ef5){const _0x29b4e0=_0x581ecc;return this[_0x29b4e0(0x279)](_0x500ef5)[_0x29b4e0(0x37a)](d['distinctUntilChanged']());}[_0x581ecc(0x269)](_0x38f293){const _0x332981=_0x581ecc;this[_0x332981(0x115)]['size']===0x0&&this[_0x332981(0x2d5)](),this[_0x332981(0x115)][_0x332981(0x1db)](_0x38f293),this[_0x332981(0x2de)]({'type':0x0,'memberID':this[_0x332981(0x18c)],'unitIDs':[_0x38f293],'isForwarded':!0x1});}[_0x581ecc(0x309)](_0x31d7cb){const _0x116663=_0x581ecc;this[_0x116663(0x115)][_0x116663(0x29e)](_0x31d7cb),this[_0x116663(0x115)]['size']===0x0&&this[_0x116663(0x392)]&&window[_0x116663(0x119)](this[_0x116663(0x392)]);}[_0x581ecc(0x1f1)](){const _0xd9c81f=_0x581ecc;this[_0xd9c81f(0x191)](a[_0xd9c81f(0x354)](d[_0xd9c81f(0x262)](window,_0xd9c81f(0x37b))[_0xd9c81f(0x21f)](_0x34a7db=>{const _0x459d39=_0xd9c81f;if(_0x34a7db['key']!==Le||!_0x34a7db['newValue'])return;const _0x24e8f8=JSON[_0x459d39(0x2b5)](_0x34a7db[_0x459d39(0x2fe)]);this[_0x459d39(0x1e4)](_0x24e8f8);}))),window[_0xd9c81f(0x164)](_0xd9c81f(0x1ae),()=>this[_0xd9c81f(0x2de)]({'type':0x1,'memberID':this[_0xd9c81f(0x18c)],'unitIDs':Array[_0xd9c81f(0x2d4)](this[_0xd9c81f(0x115)])}));}[_0x581ecc(0x1e4)](_0x1f959a){const _0x1146db=_0x581ecc;switch(_0x1f959a[_0x1146db(0x121)]){case 0x0:this[_0x1146db(0x316)](_0x1f959a);break;case 0x1:this[_0x1146db(0x326)](_0x1f959a);break;case 0x2:this[_0x1146db(0x215)](_0x1f959a);break;}}[_0x581ecc(0x316)](_0x5052f6){const _0xaa82f0=_0x581ecc,{unitIDs:_0x2fe2d2,memberID:_0xf6f340,isForwarded:_0x211b81}=_0x5052f6;_0x2fe2d2[_0xaa82f0(0x1dd)](_0x595cec=>{const _0x75391a=_0xaa82f0;if(!_0x211b81&&this[_0x75391a(0x1bc)]['has'](_0x595cec)&&this['_ensureSubject'](_0x595cec)['next'](u[_0x75391a(0x2a6)]['OTHER_CLIENTS_EDITING']),!this[_0x75391a(0x1bc)][_0x75391a(0x1af)](_0x595cec)||!this[_0x75391a(0x1bc)]['get'](_0x595cec)[_0x75391a(0x1af)](_0xf6f340)){const _0x2157f7=this['_unitOnClients'][_0x75391a(0x2b8)](_0x595cec)||new Set();_0x2157f7[_0x75391a(0x1db)](_0xf6f340),this[_0x75391a(0x1bc)][_0x75391a(0x2d0)](_0x595cec,_0x2157f7),this[_0x75391a(0x181)](_0xf6f340);}}),_0x211b81||this[_0xaa82f0(0x2de)]({'type':0x0,'memberID':this[_0xaa82f0(0x18c)],'unitIDs':[...this[_0xaa82f0(0x115)]],'isForwarded':!0x0});}[_0x581ecc(0x181)](_0x4f1e75){const _0x338409=_0x581ecc;this[_0x338409(0x1d4)](_0x4f1e75);const _0x53dbf7=window[_0x338409(0x396)](()=>{const _0x527ed6=_0x338409;this['_unitOnClients'][_0x527ed6(0x1dd)](_0x3fd798=>{const _0x2ae49c=_0x527ed6;_0x3fd798[_0x2ae49c(0x29e)](_0x4f1e75);});},Me*0x2);this['_clearOtherTimers'][_0x338409(0x2d0)](_0x4f1e75,_0x53dbf7);}[_0x581ecc(0x1d4)](_0x4f081d){const _0x262fe6=_0x581ecc;if(this[_0x262fe6(0x2f5)][_0x262fe6(0x1af)](_0x4f081d)){const _0x3256f3=this[_0x262fe6(0x2f5)][_0x262fe6(0x2b8)](_0x4f081d);_0x3256f3&&window['clearTimeout'](_0x3256f3),this[_0x262fe6(0x2f5)][_0x262fe6(0x2d0)](_0x4f081d,null);}}[_0x581ecc(0x326)](_0x458398){const _0x4db21d=_0x581ecc,{memberID:_0x6be2e2,unitIDs:_0x32c80c}=_0x458398;_0x32c80c['forEach'](_0x448a32=>{const _0x39220e=_0x17f3;var _0x1fe047;const _0x444c22=this['_unitOnClients'][_0x39220e(0x2b8)](_0x448a32);_0x444c22&&(_0x444c22[_0x39220e(0x29e)](_0x6be2e2),(_0x1fe047=this[_0x39220e(0x279)](_0x448a32))==null||_0x1fe047['next'](_0x444c22[_0x39220e(0x12d)]===0x0?u[_0x39220e(0x2a6)][_0x39220e(0x372)]:u[_0x39220e(0x2a6)]['OTHER_CLIENTS_EDITING']));}),this[_0x4db21d(0x1d4)](_0x6be2e2);}[_0x581ecc(0x215)](_0x1fd82b){const _0xe28d6=_0x581ecc;this['_scheduleClearOtherTimer'](_0x1fd82b[_0xe28d6(0x218)]);}[_0x581ecc(0x2de)](_0xdf5571){const _0x2fbd8b=_0x581ecc;localStorage['setItem'](Le,JSON[_0x2fbd8b(0x33c)](_0xdf5571));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x380eb9=_0x17f3;this[_0x380eb9(0x2de)]({'type':0x2,'memberID':this[_0x380eb9(0x18c)]});},Me);}[_0x581ecc(0x279)](_0x6e88e0){const _0xf1088a=_0x581ecc;return this[_0xf1088a(0x134)][_0xf1088a(0x1af)](_0x6e88e0)||this['_unitStatus']['set'](_0x6e88e0,new d['BehaviorSubject'](u[_0xf1088a(0x2a6)]['NO_OTHER_CLIENTS_EDITING'])),this[_0xf1088a(0x134)][_0xf1088a(0x2b8)](_0x6e88e0);}}var Be=(_0x30484d=>(_0x30484d[_0x30484d[_0x581ecc(0x2ba)]=0x0]=_0x581ecc(0x2ba),_0x30484d[_0x30484d['OK']=0x1]='OK',_0x30484d[_0x30484d[_0x581ecc(0x357)]=0x2]=_0x581ecc(0x357),_0x30484d[_0x30484d[_0x581ecc(0x111)]=0x3]='PERMISSION_DENIED',_0x30484d[_0x30484d[_0x581ecc(0x280)]=0x4]=_0x581ecc(0x280),_0x30484d[_0x30484d[_0x581ecc(0x377)]=0x5]=_0x581ecc(0x377),_0x30484d[_0x30484d[_0x581ecc(0x2ef)]=0x6]=_0x581ecc(0x2ef),_0x30484d[_0x30484d[_0x581ecc(0x2bb)]=0x7]='INVALID_ARGUMENT',_0x30484d[_0x30484d[_0x581ecc(0x2ce)]=0x8]='TOO_MANY_REQUESTS',_0x30484d[_0x30484d[_0x581ecc(0x28c)]=0x9]=_0x581ecc(0x28c),_0x30484d[_0x30484d[_0x581ecc(0x370)]=0xa]='LOGIN_FAILED',_0x30484d[_0x30484d[_0x581ecc(0x268)]=0x1389]=_0x581ecc(0x268),_0x30484d[_0x30484d[_0x581ecc(0x387)]=0x1771]=_0x581ecc(0x387),_0x30484d[_0x30484d[_0x581ecc(0x36e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x30484d[_0x30484d[_0x581ecc(0x34f)]=0x1773]=_0x581ecc(0x34f),_0x30484d[_0x30484d[_0x581ecc(0x2e7)]=0x1b59]='APPLY_REJECT',_0x30484d[_0x30484d[_0x581ecc(0x162)]=0x1b5a]=_0x581ecc(0x162),_0x30484d[_0x30484d[_0x581ecc(0x150)]=0x1b5b]=_0x581ecc(0x150),_0x30484d[_0x30484d[_0x581ecc(0x183)]=0x1b5c]=_0x581ecc(0x183),_0x30484d[_0x30484d[_0x581ecc(0x30b)]=0x1b5d]=_0x581ecc(0x30b),_0x30484d[_0x30484d[_0x581ecc(0x253)]=0x1f41]=_0x581ecc(0x253),_0x30484d[_0x30484d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x581ecc(0x12f),_0x30484d[_0x30484d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x581ecc(0x299),_0x30484d[_0x30484d[_0x581ecc(0x161)]=0x232b]=_0x581ecc(0x161),_0x30484d[_0x30484d[_0x581ecc(0x17b)]=0x232c]=_0x581ecc(0x17b),_0x30484d[_0x30484d[_0x581ecc(0x275)]=0x232d]=_0x581ecc(0x275),_0x30484d[_0x30484d[_0x581ecc(0x1fe)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x30484d[_0x30484d[_0x581ecc(0x302)]=0x2712]=_0x581ecc(0x302),_0x30484d[_0x30484d[_0x581ecc(0x198)]=0x2713]=_0x581ecc(0x198),_0x30484d[_0x30484d[_0x581ecc(0x26c)]=0x2714]=_0x581ecc(0x26c),_0x30484d[_0x30484d['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x581ecc(0x1de),_0x30484d[_0x30484d[_0x581ecc(0x120)]=0x271b]=_0x581ecc(0x120),_0x30484d[_0x30484d[_0x581ecc(0x257)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x30484d[_0x30484d[_0x581ecc(0x14b)]=0x2ee1]=_0x581ecc(0x14b),_0x30484d[_0x30484d[_0x581ecc(0x159)]=0x2ee2]=_0x581ecc(0x159),_0x30484d[_0x30484d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x581ecc(0x38a),_0x30484d[_0x30484d[_0x581ecc(0x2a7)]=0x2ee4]=_0x581ecc(0x2a7),_0x30484d[_0x30484d[_0x581ecc(0x384)]=0x2ee5]=_0x581ecc(0x384),_0x30484d[_0x30484d[_0x581ecc(0x265)]=0x32c9]=_0x581ecc(0x265),_0x30484d[_0x30484d['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x581ecc(0x286),_0x30484d[_0x30484d['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x30484d[_0x30484d['UNRECOGNIZED']=-0x1]=_0x581ecc(0x23d),_0x30484d))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x327e26,_0x5748f2,_0x1af564,_0x2034e2)=>{const _0x9ea957=_0x581ecc;for(var _0x43d11e=_0x2034e2>0x1?void 0x0:_0x2034e2?ns(_0x5748f2,_0x1af564):_0x5748f2,_0x5ea06e=_0x327e26[_0x9ea957(0x2a0)]-0x1,_0x35df26;_0x5ea06e>=0x0;_0x5ea06e--)(_0x35df26=_0x327e26[_0x5ea06e])&&(_0x43d11e=_0x35df26(_0x43d11e)||_0x43d11e);return _0x43d11e;},ue=(_0x266a0e,_0x23cc00)=>(_0x26463e,_0x50b454)=>_0x23cc00(_0x26463e,_0x50b454,_0x266a0e);exports[_0x581ecc(0x238)]=class extends a['Disposable']{constructor(_0x219d7d,_0x318c6e,_0x15876c){const _0x2692ff=_0x581ecc;super(),this[_0x2692ff(0x365)]=_0x219d7d,this[_0x2692ff(0x1f0)]=_0x318c6e,this['_configService']=_0x15876c;}async['runOnServer'](_0x44fa05,_0x2803b7,_0x4f2db0,..._0x3e50ea){const _0xa99bc9=_0x581ecc;var _0x255b63,_0x233d1f,_0x14e86b,_0x57618c;const _0x4f8345=this[_0xa99bc9(0x365)][_0xa99bc9(0x254)]();if(!_0x4f8345)throw new Error(_0xa99bc9(0x163));const _0xafea56=((_0x255b63=this[_0xa99bc9(0x203)][_0xa99bc9(0x1fb)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x255b63:u[_0xa99bc9(0x23b)])+'/'+_0x44fa05+_0xa99bc9(0x346)+_0x2803b7,_0x4b59a9=new URL(window[_0xa99bc9(0x189)][_0xa99bc9(0x130)]),_0x46f53d={'scriptId':_0x44fa05,'runId':(_0x233d1f=_0x4b59a9[_0xa99bc9(0x359)][_0xa99bc9(0x2b8)](_0xa99bc9(0x211)))!=null?_0x233d1f:'','function':_0x2803b7,'unitId':_0x4f8345[_0xa99bc9(0x274)](),'argsOfFunction':JSON['stringify'](_0x3e50ea),'invokeId':(_0x14e86b=_0x4f2db0[_0xa99bc9(0x25d)])!=null?_0x14e86b:'','executionId':(_0x57618c=_0x4f2db0[_0xa99bc9(0x1fa)])!=null?_0x57618c:''};try{const _0x50a983=await this['_httpService'][_0xa99bc9(0x35d)](_0xafea56,{'body':_0x46f53d});return _0x50a983[_0xa99bc9(0x206)][_0xa99bc9(0x2fc)]&&_0x50a983[_0xa99bc9(0x206)][_0xa99bc9(0x2fc)][_0xa99bc9(0x1cb)]!==Be['OK']?'Failed':_0x50a983[_0xa99bc9(0x206)][_0xa99bc9(0x390)];}catch{return'Failed';}}},exports[_0x581ecc(0x238)]=rs([ue(0x0,a[_0x581ecc(0x2f9)]),ue(0x1,a[_0x581ecc(0x210)](G[_0x581ecc(0x1e5)])),ue(0x2,a[_0x581ecc(0x258)])],exports[_0x581ecc(0x238)]),exports['CollaborationStatusDisplay']=xe,exports[_0x581ecc(0x2d6)]=be,exports[_0x581ecc(0x38e)]=we,exports[_0x581ecc(0x310)]=is,exports[_0x581ecc(0x1ed)]=je;
1
+ 'use strict';const _0x5db9f2=_0x5398;(function(_0x200ec2,_0x112c20){const _0x4c712b=_0x5398,_0x5948=_0x200ec2();while(!![]){try{const _0x55d4fe=parseInt(_0x4c712b(0x302))/0x1*(parseInt(_0x4c712b(0x3ba))/0x2)+parseInt(_0x4c712b(0x3f2))/0x3+-parseInt(_0x4c712b(0x2ed))/0x4+parseInt(_0x4c712b(0x1c5))/0x5*(parseInt(_0x4c712b(0x1be))/0x6)+parseInt(_0x4c712b(0x21c))/0x7+parseInt(_0x4c712b(0x21a))/0x8*(parseInt(_0x4c712b(0x212))/0x9)+-parseInt(_0x4c712b(0x194))/0xa*(parseInt(_0x4c712b(0x34c))/0xb);if(_0x55d4fe===_0x112c20)break;else _0x5948['push'](_0x5948['shift']());}catch(_0x1367d3){_0x5948['push'](_0x5948['shift']());}}}(_0x19b5,0xe38f5));var Ve=Object[_0x5db9f2(0x1a1)],Xe=(_0x4a4f82,_0x4ec37a,_0x361abf)=>_0x4ec37a in _0x4a4f82?Ve(_0x4a4f82,_0x4ec37a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x361abf}):_0x4a4f82[_0x4ec37a]=_0x361abf,h=(_0xd5291f,_0x1fcdd3,_0x41315d)=>Xe(_0xd5291f,typeof _0x1fcdd3!=_0x5db9f2(0x329)?_0x1fcdd3+'':_0x1fcdd3,_0x41315d);Object[_0x5db9f2(0x1a1)](exports,Symbol[_0x5db9f2(0x1b3)],{'value':_0x5db9f2(0x1e2)});const u=require(_0x5db9f2(0x3bb)),a=require(_0x5db9f2(0x2fc)),p=require(_0x5db9f2(0x191)),G=require('@univerjs/network'),b=require(_0x5db9f2(0x2f4)),Ge=require(_0x5db9f2(0x190)),d=require(_0x5db9f2(0x367)),W=require(_0x5db9f2(0x209)),m=require('@univerjs-pro/collaboration'),Ee=require(_0x5db9f2(0x378)),g=require(_0x5db9f2(0x224)),$=require(_0x5db9f2(0x2e9)),X=require(_0x5db9f2(0x391)),P=require(_0x5db9f2(0x322)),T=require(_0x5db9f2(0x236)),D=require(_0x5db9f2(0x33c)),M=require('react'),qe=require(_0x5db9f2(0x277));var Ke=Object['getOwnPropertyDescriptor'],ze=(_0x15f268,_0x1dd6d8,_0x5cb1dc,_0x201a47)=>{const _0x5e1728=_0x5db9f2;for(var _0x3a0005=_0x201a47>0x1?void 0x0:_0x201a47?Ke(_0x1dd6d8,_0x5cb1dc):_0x1dd6d8,_0x2e258c=_0x15f268[_0x5e1728(0x229)]-0x1,_0x542606;_0x2e258c>=0x0;_0x2e258c--)(_0x542606=_0x15f268[_0x2e258c])&&(_0x3a0005=_0x542606(_0x3a0005)||_0x3a0005);return _0x3a0005;},Te=(_0x30fd0f,_0x57b98d)=>(_0x3e66be,_0x254d2f)=>_0x57b98d(_0x3e66be,_0x254d2f,_0x30fd0f);let de=class extends a['RxDisposable']{constructor(_0x16d629,_0x1c7de3){const _0x5ed789=_0x5db9f2;super(),this['_docClipboardService']=_0x16d629,this[_0x5ed789(0x34b)]=_0x1c7de3,this['_init']();}[_0x5db9f2(0x16c)](){const _0x515244=_0x5db9f2,_0x595c96=this;this[_0x515244(0x2a4)](this[_0x515244(0x1ae)][_0x515244(0x350)]({'onBeforePasteImage':async _0xfa4ea5=>{const _0x2386f0=_0x515244,_0x4a4cb5=await _0x595c96[_0x2386f0(0x34b)][_0x2386f0(0x243)](_0xfa4ea5);return _0x4a4cb5?{'source':_0x4a4cb5['source'],'imageSourceType':_0x4a4cb5[_0x2386f0(0x2c3)]}:null;}}));}};de=ze([Te(0x0,b[_0x5db9f2(0x35c)]),Te(0x1,Ge[_0x5db9f2(0x3a1)])],de);const Oe=[_0x5db9f2(0x3b4),_0x5db9f2(0x2cd),_0x5db9f2(0x2b5),_0x5db9f2(0x27b),_0x5db9f2(0x1d5),_0x5db9f2(0x266)];class me extends a[_0x5db9f2(0x309)]{constructor(){const _0xf9d347=_0x5db9f2;super(...arguments),h(this,_0xf9d347(0x280),new Map()),h(this,'_colorIndex',0x0);}[_0x5db9f2(0x219)](_0x408218){const _0x3e39f5=_0x5db9f2;if(this['_assignedColors']['has'](_0x408218))return this[_0x3e39f5(0x280)]['get'](_0x408218);const _0x26de04=Oe[this[_0x3e39f5(0x2df)]];return this[_0x3e39f5(0x2df)]=(this[_0x3e39f5(0x2df)]+0x1)%Oe['length'],this['_assignedColors']['set'](_0x408218,_0x26de04),_0x26de04;}}function Pe(_0x3ab55b){let _0x19dfe7='';for(const _0x45a710 of _0x3ab55b){const {startOffset:_0x1e7429,endOffset:_0x187205,isActive:_0xe4205b,rangeType:_0x52e109,segmentId:_0x5d7f72,segmentPage:_0x21b24e}=_0x45a710;_0x19dfe7['length']&&(_0x19dfe7+=','),_0x19dfe7+=_0x1e7429+':'+_0x187205+':'+(_0xe4205b?'1':'0')+':'+_0x52e109+':'+_0x5d7f72+':'+_0x21b24e;}return _0x19dfe7;}function Je(_0x2654c6){const _0xc1a29a=_0x5db9f2,_0x320424=_0x2654c6[_0xc1a29a(0x3c5)](','),_0x16d1bd=[];for(const _0x33fcd7 of _0x320424){const [_0x475535,_0x142bfd,_0x358fc1,_0x2e80df,_0x46cb68,_0x226d6c]=_0x33fcd7[_0xc1a29a(0x3c5)](':');_0x16d1bd[_0xc1a29a(0x1e0)]({'startOffset':Number(_0x475535),'endOffset':Number(_0x142bfd),'collapsed':_0x475535===_0x142bfd,'isActive':_0x358fc1==='1','rangeType':_0x2e80df===a['DOC_RANGE_TYPE'][_0xc1a29a(0x37f)]?a[_0xc1a29a(0x3a9)]['TEXT']:a[_0xc1a29a(0x3a9)]['RECT'],'segmentId':typeof _0x46cb68==_0xc1a29a(0x3b2)?String(_0x46cb68):'','segmentPage':Number(_0x226d6c!=null?_0x226d6c:-0x1)});}return _0x16d1bd['some'](_0xc8de19=>_0xc8de19[_0xc1a29a(0x351)])||(_0x16d1bd[0x0][_0xc1a29a(0x351)]=!0x0),_0x16d1bd;}class Ce extends a['RxDisposable']{constructor(){const _0x3913ec=_0x5db9f2;super(...arguments),h(this,_0x3913ec(0x26b),new d['BehaviorSubject'](null)),h(this,_0x3913ec(0x2f1),this[_0x3913ec(0x26b)][_0x3913ec(0x2d2)]());}[_0x5db9f2(0x2d4)](_0x3bb008){const _0x398539=_0x5db9f2,{unitID:_0x11195a,memberID:_0x241c66,textRanges:_0x319acd}=_0x3bb008,_0x30c7f3=Pe(_0x319acd);if(_0x30c7f3==='')return;const _0x446a61={'unitID':_0x11195a,'memberID':_0x241c66,'selection':_0x30c7f3};this[_0x398539(0x26b)][_0x398539(0x1e5)](_0x446a61);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x49b73b,_0x4669a6,_0x169e14,_0x44e126)=>{for(var _0x5d7632=_0x44e126>0x1?void 0x0:_0x44e126?Ze(_0x4669a6,_0x169e14):_0x4669a6,_0x4e418c=_0x49b73b['length']-0x1,_0x306a0d;_0x4e418c>=0x0;_0x4e418c--)(_0x306a0d=_0x49b73b[_0x4e418c])&&(_0x5d7632=_0x306a0d(_0x5d7632)||_0x5d7632);return _0x5d7632;},L=(_0x53344a,_0x1f135d)=>(_0x39fbff,_0x4ba122)=>_0x1f135d(_0x39fbff,_0x4ba122,_0x53344a);const et=0x12c,tt=0x64;let fe=class extends a[_0x5db9f2(0x321)]{constructor(_0x21a8ed,_0x2e1ef2,_0x341b6d,_0x17bd1a,_0x2b8ffd,_0x45caac,_0x464675,_0x43baf5,_0x2fba2d){const _0x560b19=_0x5db9f2;super(),h(this,_0x560b19(0x38b),!0x1),h(this,_0x560b19(0x16c),!0x1),h(this,_0x560b19(0x3e4),new d['BehaviorSubject'](new Map())),h(this,_0x560b19(0x32d),this['_cursorInfo$'][_0x560b19(0x2d2)]()),h(this,_0x560b19(0x342),new d[(_0x560b19(0x3b3))]([])),h(this,_0x560b19(0x21d),this[_0x560b19(0x342)]['pipe'](d[_0x560b19(0x298)](et))),h(this,'_updateLocalCursor',a['debounce'](_0x41b0ad=>{const _0x141344=_0x560b19,_0x3cb654={'eventID':m[_0x141344(0x3f3)][_0x141344(0x2a1)],'data':{'unitID':this[_0x141344(0x1dc)],'memberID':this[_0x141344(0x2da)]['getMemberID'](),'selection':Pe(_0x41b0ad)}};this[_0x141344(0x2da)][_0x141344(0x3c6)](_0x3cb654,this[_0x141344(0x1dc)]);},tt)),(this[_0x560b19(0x1dc)]=_0x21a8ed,this[_0x560b19(0x2da)]=_0x2e1ef2,this[_0x560b19(0x17d)]=_0x341b6d,this[_0x560b19(0x1ce)]=_0x17bd1a,this['_memberService']=_0x2b8ffd,this['_syncEditingCollabCursorService']=_0x45caac,this['_transformService']=_0x464675,this[_0x560b19(0x3d8)]=_0x43baf5,this['_commandService']=_0x2fba2d);}get[_0x5db9f2(0x259)](){const _0x1f7cb7=_0x5db9f2;return this[_0x1f7cb7(0x3e4)][_0x1f7cb7(0x2bd)]();}get['roomMembers'](){const _0xadddcc=_0x5db9f2;return this[_0xadddcc(0x342)][_0xadddcc(0x2bd)]();}[_0x5db9f2(0x25e)](){const _0x484402=_0x5db9f2;super['dispose'](),this[_0x484402(0x3e4)][_0x484402(0x1e5)](new Map()),this['_cursorInfo$'][_0x484402(0x1c0)](),this['_roomMembers$'][_0x484402(0x1e5)]([]),this[_0x484402(0x342)]['complete']();}[_0x5db9f2(0x254)](){const _0x11cc56=_0x5db9f2;this['_init']||(this['_init']=!0x0,this[_0x11cc56(0x2da)][_0x11cc56(0x33b)][_0x11cc56(0x37b)](d[_0x11cc56(0x2a3)](this['dispose$']))[_0x11cc56(0x2dc)](_0x31b651=>{const _0x18c080=_0x11cc56;_0x31b651===u['SessionStatus']['ONLINE']?this[_0x18c080(0x1ec)]():this['_toggleOffline']();}),this[_0x11cc56(0x2da)]['event$'][_0x11cc56(0x37b)](d[_0x11cc56(0x2a3)](this[_0x11cc56(0x3c7)]))[_0x11cc56(0x2dc)](_0x108af4=>{const _0xdd3a43=_0x11cc56,_0xf2af08=_0x108af4[_0xdd3a43(0x2c6)];_0xf2af08===m[_0xdd3a43(0x3f3)][_0xdd3a43(0x2a1)]&&this[_0xdd3a43(0x389)](_0x108af4),_0xf2af08===m['CollaborationEvent'][_0xdd3a43(0x292)]&&this[_0xdd3a43(0x2d9)](_0x108af4);}),this['disposeWithMe'](this[_0x11cc56(0x1fe)][_0x11cc56(0x32c)](_0x3810b6=>{const _0x1078d7=_0x11cc56,_0x3a5ef9=_0x3810b6[_0x1078d7(0x33e)];_0x3a5ef9!=null&&this[_0x1078d7(0x38b)]&&_0x3810b6['id']===W[_0x1078d7(0x2ca)]['id']&&_0x3a5ef9['unitId']===this[_0x1078d7(0x1dc)]&&_0x3a5ef9[_0x1078d7(0x29d)]===!0x1&&_0x3a5ef9[_0x1078d7(0x263)]['length']>0x0&&this['_updateLocalCursor'](_0x3a5ef9[_0x1078d7(0x263)]);})),this[_0x11cc56(0x2f7)]['collabCursorState$'][_0x11cc56(0x37b)](d[_0x11cc56(0x2a3)](this[_0x11cc56(0x3c7)]))[_0x11cc56(0x2dc)](_0x110aa8=>{const _0x4b8d26=_0x11cc56;if((_0x110aa8==null?void 0x0:_0x110aa8[_0x4b8d26(0x1dc)])!==this[_0x4b8d26(0x1dc)])return;const _0x29a31f={'eventID':m[_0x4b8d26(0x3f3)]['UPDATE_CURSOR'],'data':_0x110aa8};this[_0x4b8d26(0x389)](_0x29a31f);}),this[_0x11cc56(0x2a4)](this[_0x11cc56(0x1fe)][_0x11cc56(0x32c)](_0x3bf9b7=>{const _0x2462a8=_0x11cc56;if(_0x3bf9b7[_0x2462a8(0x33e)]==null)return;const _0xe77f5a=_0x3bf9b7[_0x2462a8(0x33e)];if(_0x3bf9b7['id']!==W[_0x2462a8(0x1b4)]['id']||_0xe77f5a[_0x2462a8(0x1bd)]!==this['unitID'])return;const _0x1e62a3={'id':'doc.mutation.rich-text-editing','params':_0xe77f5a},_0x5523d1=this['cursorInfo'];for(const [_0x293bad,_0x43a21c]of _0x5523d1){const _0x463ae7={'id':_0x2462a8(0x356),'params':{'unitId':this[_0x2462a8(0x1dc)],'actions':null,'textRanges':_0x43a21c[_0x2462a8(0x263)]}},_0x4fbd0d=this[_0x2462a8(0x379)][_0x2462a8(0x369)](_0x1e62a3,_0x463ae7,!0x1);if(m[_0x2462a8(0x3db)](_0x4fbd0d))throw _0x4fbd0d[_0x2462a8(0x250)];_0x5523d1[_0x2462a8(0x335)](_0x293bad,{..._0x43a21c,'ranges':_0x4fbd0d['m2Prime'][_0x2462a8(0x33e)][_0x2462a8(0x2be)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x5523d1);});})));}['_onCursorUpdate'](_0x2f4c8f){const _0x74da61=_0x5db9f2;var _0x5714e7,_0x31a953;const {memberID:_0x18e2fa,selection:_0x25fdfc}=_0x2f4c8f[_0x74da61(0x33d)],_0x34ab68=Je(_0x25fdfc),_0xd91520=(_0x31a953=(_0x5714e7=this[_0x74da61(0x2c0)][_0x74da61(0x3ef)](this['unitID'],_0x18e2fa))==null?void 0x0:_0x5714e7[_0x74da61(0x2a0)])!=null?_0x31a953:_0x74da61(0x2ec),_0x2dfb0e={'color':this[_0x74da61(0x1ce)][_0x74da61(0x219)](_0x18e2fa),'name':_0xd91520,'ranges':_0x34ab68},_0x3c2812=this[_0x74da61(0x259)];_0x3c2812[_0x74da61(0x335)](_0x18e2fa,_0x2dfb0e),this[_0x74da61(0x3e4)][_0x74da61(0x1e5)](_0x3c2812);}['_onCursorDelete'](_0x2a4a91){const _0x4cad90=_0x5db9f2,{memberID:_0x290c0b}=_0x2a4a91['data'],_0xed979c=this[_0x4cad90(0x259)];_0xed979c[_0x4cad90(0x1aa)](_0x290c0b),this[_0x4cad90(0x3e4)][_0x4cad90(0x1e5)](_0xed979c);}[_0x5db9f2(0x1ec)](){const _0x51b4ae=_0x5db9f2;var _0x2b8458;if(this[_0x51b4ae(0x38b)]=!0x0,((_0x2b8458=this[_0x51b4ae(0x3d8)]['getFocusedUnit']())==null?void 0x0:_0x2b8458['getUnitId']())!==this[_0x51b4ae(0x1dc)])return;const _0x5085a1=this[_0x51b4ae(0x17d)][_0x51b4ae(0x1b2)](W['DocSelectionManagerService'])['getDocRanges']();Array['isArray'](_0x5085a1)&&_0x5085a1['length']>0x0&&this[_0x51b4ae(0x23d)](_0x5085a1);}[_0x5db9f2(0x2b9)](){const _0xf61536=_0x5db9f2;this[_0xf61536(0x38b)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a[_0x5db9f2(0x204)])),L(0x3,a[_0x5db9f2(0x319)](me)),L(0x4,a[_0x5db9f2(0x319)](u['MemberService'])),L(0x5,a[_0x5db9f2(0x319)](Ce)),L(0x6,m[_0x5db9f2(0x3bc)]),L(0x7,a[_0x5db9f2(0x24f)]),L(0x8,a[_0x5db9f2(0x3b8)])],fe);var st=Object['getOwnPropertyDescriptor'],it=(_0xdd3c37,_0x3df8f2,_0x594d25,_0x192ddd)=>{const _0x3d0e98=_0x5db9f2;for(var _0x1f335a=_0x192ddd>0x1?void 0x0:_0x192ddd?st(_0x3df8f2,_0x594d25):_0x3df8f2,_0x2126fe=_0xdd3c37[_0x3d0e98(0x229)]-0x1,_0x3f3669;_0x2126fe>=0x0;_0x2126fe--)(_0x3f3669=_0xdd3c37[_0x2126fe])&&(_0x1f335a=_0x3f3669(_0x1f335a)||_0x1f335a);return _0x1f335a;},A=(_0xc228d0,_0x18d79b)=>(_0xbfc39e,_0x1ad8cc)=>_0x18d79b(_0xbfc39e,_0x1ad8cc,_0xc228d0);const nt=0x12c,rt=0x64,ot=()=>{let _0x2c6319=[],_0x350aea=!0x1;return _0x442701=>{const _0x308e97=_0x5398;_0x2c6319[_0x308e97(0x1e0)](_0x442701),_0x350aea||(_0x350aea=!0x0,setTimeout(()=>{const _0x19164b=_0x308e97;_0x2c6319[_0x19164b(0x39e)](_0x342c8f=>_0x342c8f()),_0x2c6319=[],_0x350aea=!0x1;}));};};let Se=class extends a[_0x5db9f2(0x321)]{constructor(_0x3edb7b,_0x383b6a,_0x35fcde,_0x4a6053,_0x32ed53,_0x316a69,_0xc7aa3c,_0x21411a){const _0x481f17=_0x5db9f2;super(),h(this,_0x481f17(0x38b),!0x1),h(this,_0x481f17(0x16c),!0x1),h(this,_0x481f17(0x3e4),new d[(_0x481f17(0x3b3))](new Map())),h(this,'cursorInfo$',this['_cursorInfo$'][_0x481f17(0x2d2)]()),h(this,_0x481f17(0x342),new d[(_0x481f17(0x3b3))]([])),h(this,'roomMembers$',this[_0x481f17(0x342)][_0x481f17(0x37b)](d[_0x481f17(0x298)](nt))),h(this,_0x481f17(0x23d),a[_0x481f17(0x215)]((_0x50e143,_0x3ed0dd)=>{const _0x397fee=_0x481f17,_0x8f476b={'eventID':m['CollaborationEvent'][_0x397fee(0x2a1)],'data':{'unitID':this[_0x397fee(0x1dc)],'memberID':this[_0x397fee(0x2da)]['getMemberID'](),'selection':Ee['serializeRangeWithSheet'](_0x50e143,_0x3ed0dd[_0x397fee(0x1ba)])}};this[_0x397fee(0x2da)]['send'](_0x8f476b,this[_0x397fee(0x1dc)]);},rt)),(this[_0x481f17(0x1dc)]=_0x3edb7b,this[_0x481f17(0x2da)]=_0x383b6a,this['_injector']=_0x35fcde,this[_0x481f17(0x1ce)]=_0x4a6053,this[_0x481f17(0x2c0)]=_0x32ed53,this[_0x481f17(0x3d8)]=_0x316a69,this['_commandService']=_0xc7aa3c,this[_0x481f17(0x34a)]=_0x21411a);}get[_0x5db9f2(0x259)](){const _0x20d10a=_0x5db9f2;return this[_0x20d10a(0x3e4)][_0x20d10a(0x2bd)]();}get[_0x5db9f2(0x267)](){const _0x8c848d=_0x5db9f2;return this[_0x8c848d(0x342)][_0x8c848d(0x2bd)]();}[_0x5db9f2(0x25e)](){const _0x26a38d=_0x5db9f2;super[_0x26a38d(0x25e)](),this[_0x26a38d(0x3e4)]['next'](new Map()),this[_0x26a38d(0x3e4)][_0x26a38d(0x1c0)](),this[_0x26a38d(0x342)][_0x26a38d(0x1e5)]([]),this[_0x26a38d(0x342)][_0x26a38d(0x1c0)]();}[_0x5db9f2(0x254)](){const _0x249f46=_0x5db9f2;this['_init']||(this[_0x249f46(0x16c)]=!0x0,this[_0x249f46(0x2da)][_0x249f46(0x33b)][_0x249f46(0x37b)](d['takeUntil'](this['dispose$']))[_0x249f46(0x2dc)](_0x51736d=>{const _0x13108e=_0x249f46;_0x51736d===u['SessionStatus'][_0x13108e(0x16e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x249f46(0x2da)][_0x249f46(0x1df)][_0x249f46(0x37b)](d[_0x249f46(0x2a3)](this[_0x249f46(0x3c7)]))['subscribe'](_0x4020a0=>{const _0x30a893=_0x249f46,_0x23c797=_0x4020a0['eventID'];_0x23c797===m[_0x30a893(0x3f3)][_0x30a893(0x2a1)]&&this[_0x30a893(0x389)](_0x4020a0),_0x23c797===m[_0x30a893(0x3f3)]['USERS_LEAVE']&&this[_0x30a893(0x2d9)](_0x4020a0);}),this[_0x249f46(0x1ea)](),this[_0x249f46(0x2a4)](this['_commandService'][_0x249f46(0x32c)](_0x63cb57=>{const _0x14a9ee=_0x249f46;if(this[_0x14a9ee(0x38b)]&&_0x63cb57['id']===g[_0x14a9ee(0x373)]['id']&&_0x63cb57[_0x14a9ee(0x33e)][_0x14a9ee(0x1bd)]===this['unitID']){const _0x4d12cd=_0x63cb57[_0x14a9ee(0x33e)];this['_updateLocalCursor'](_0x4d12cd[_0x14a9ee(0x385)],_0x4d12cd[_0x14a9ee(0x1c1)][0x0]);}})));}[_0x5db9f2(0x389)](_0x48d50a){const _0x2ddd14=_0x5db9f2;var _0x2ababa,_0x4ea05c;const {memberID:_0x4824da,selection:_0x40ee19}=_0x48d50a[_0x2ddd14(0x33d)],{sheetName:_0x2cc5f8,range:_0x5e1d27}=Ee['deserializeRangeWithSheet'](_0x40ee19),_0x2365f8={'name':(_0x4ea05c=(_0x2ababa=this['_memberService'][_0x2ddd14(0x3ef)](this[_0x2ddd14(0x1dc)],_0x4824da))==null?void 0x0:_0x2ababa['name'])!=null?_0x4ea05c:_0x2ddd14(0x2ec),'range':this[_0x2ddd14(0x360)](_0x2cc5f8,_0x5e1d27),'sheetID':_0x2cc5f8,'color':this[_0x2ddd14(0x1ce)][_0x2ddd14(0x219)](_0x4824da),'selection':_0x40ee19},_0x5be068=this[_0x2ddd14(0x259)];_0x5be068[_0x2ddd14(0x335)](_0x4824da,_0x2365f8),this[_0x2ddd14(0x3e4)][_0x2ddd14(0x1e5)](_0x5be068);}[_0x5db9f2(0x2d9)](_0x516034){const _0x51892d=_0x5db9f2,{memberID:_0x416525}=_0x516034[_0x51892d(0x33d)],_0x23b4cb=this['cursorInfo'];_0x23b4cb[_0x51892d(0x1aa)](_0x416525),this[_0x51892d(0x3e4)][_0x51892d(0x1e5)](_0x23b4cb);}[_0x5db9f2(0x360)](_0x5b9b24,_0x3e9d92){const _0x34a3d3=_0x5db9f2;var _0x3c5d98,_0x4e0284;const _0x5c5770=(_0x4e0284=(_0x3c5d98=this[_0x34a3d3(0x3d8)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3c5d98[_0x34a3d3(0x2a9)](_0x5b9b24))==null?void 0x0:_0x4e0284[_0x34a3d3(0x248)]();return(_0x5c5770==null?void 0x0:_0x5c5770['find'](_0x1ac652=>a[_0x34a3d3(0x3d4)][_0x34a3d3(0x18d)](_0x1ac652,_0x3e9d92)))||_0x3e9d92;}['_onRefRangeChange'](){const _0x2f49bb=_0x5db9f2,_0x4141fa=new a[(_0x2f49bb(0x3f0))](),_0xd0ff20=ot(),_0x35110c=()=>{const _0x232d41=_0x2f49bb;_0x4141fa[_0x232d41(0x25e)]();const _0x8177f9=(_0x55030b,_0x5d3043,_0x2b0402,_0x2774bf)=>{const _0x3fc744=_0x232d41;let _0x5b13bc=[];switch(_0x55030b['id']){case g[_0x3fc744(0x2f5)][_0x3fc744(0x275)]:{_0x5b13bc=g[_0x3fc744(0x3b7)](_0x55030b,_0x2774bf);break;}case g[_0x3fc744(0x2f5)][_0x3fc744(0x1da)]:{_0x5b13bc=g[_0x3fc744(0x241)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x3ab)]:{_0x5b13bc=g[_0x3fc744(0x328)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x1fa)]:{_0x5b13bc=g['handleInsertRangeMoveDown'](_0x55030b,_0x2774bf);break;}case g[_0x3fc744(0x2f5)][_0x3fc744(0x2db)]:{_0x5b13bc=g[_0x3fc744(0x3aa)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x2ac)]:{_0x5b13bc=g[_0x3fc744(0x1a4)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x32f)]:{_0x5b13bc=g[_0x3fc744(0x3df)](_0x55030b,_0x2774bf);break;}case g[_0x3fc744(0x2f5)][_0x3fc744(0x1cc)]:{_0x5b13bc=g[_0x3fc744(0x364)](_0x55030b,_0x2774bf);break;}case g['EffectRefRangId'][_0x3fc744(0x2e4)]:{_0x5b13bc=g['handleIRemoveRow'](_0x55030b,_0x2774bf);break;}}const _0x529194=g['runRefRangeMutations'](_0x5b13bc,_0x2774bf),_0x27ee85=this[_0x3fc744(0x259)][_0x3fc744(0x1b2)](_0x5d3043);if(_0x27ee85&&_0x529194){const _0x41ed11={..._0x27ee85,'range':_0x529194};this[_0x3fc744(0x259)][_0x3fc744(0x335)](_0x5d3043,_0x41ed11),_0xd0ff20(()=>{const _0x310cc6=_0x3fc744,_0x9ace0e=this[_0x310cc6(0x34a)][_0x310cc6(0x22b)](_0x529194,_0x4b1e9e=>(_0x9ace0e[_0x310cc6(0x25e)](),_0x8177f9(_0x4b1e9e,_0x5d3043,_0x2b0402,_0x529194)));_0x4141fa[_0x310cc6(0x365)](_0x9ace0e);});}return{'redos':[],'undos':[]};};this[_0x232d41(0x259)]['forEach']((_0x1d01ba,_0x20814b)=>{const _0x5be53d=_0x232d41,{range:_0x5204fd,sheetID:_0xd377b4}=_0x1d01ba,_0x103510=this[_0x5be53d(0x34a)][_0x5be53d(0x22b)](_0x5204fd,_0x55c91f=>(_0x103510[_0x5be53d(0x25e)](),_0x8177f9(_0x55c91f,_0x20814b,_0xd377b4,_0x5204fd)));_0x4141fa['add'](_0x103510);});};this[_0x2f49bb(0x2a4)](a[_0x2f49bb(0x32a)](this[_0x2f49bb(0x3e4)][_0x2f49bb(0x2dc)](()=>{_0x35110c();})));}[_0x5db9f2(0x1ec)](){const _0x186cc8=_0x5db9f2;var _0x4be97d,_0x1ce7ec;if(this[_0x186cc8(0x38b)]=!0x0,((_0x4be97d=this['_univerInstanceService'][_0x186cc8(0x24e)]())==null?void 0x0:_0x4be97d[_0x186cc8(0x312)]())!==this['unitID'])return;const _0x170eaf=(_0x1ce7ec=this['_injector'][_0x186cc8(0x1b2)](g[_0x186cc8(0x3f1)])[_0x186cc8(0x2bb)]())==null?void 0x0:_0x1ce7ec[0x0],_0x35e9d3=this[_0x186cc8(0x3d8)][_0x186cc8(0x251)](a['UniverInstanceType'][_0x186cc8(0x178)])[_0x186cc8(0x3e2)]();_0x170eaf&&_0x35e9d3&&this['_updateLocalCursor'](_0x35e9d3[_0x186cc8(0x2e5)](),_0x170eaf);}['_toggleOffline'](){const _0x3e34a8=_0x5db9f2;this[_0x3e34a8(0x38b)]=!0x1;}};Se=it([A(0x2,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x204)])),A(0x3,a['Inject'](me)),A(0x4,a[_0x5db9f2(0x319)](u[_0x5db9f2(0x25d)])),A(0x5,a[_0x5db9f2(0x24f)]),A(0x6,a[_0x5db9f2(0x3b8)]),A(0x7,a['Inject'](g[_0x5db9f2(0x2de)]))],Se);var at=Object[_0x5db9f2(0x3ce)],ct=(_0x334519,_0x7f25c4,_0xd3debe,_0x2b8435)=>{const _0x20c83d=_0x5db9f2;for(var _0xdff6cf=_0x2b8435>0x1?void 0x0:_0x2b8435?at(_0x7f25c4,_0xd3debe):_0x7f25c4,_0x52e46a=_0x334519[_0x20c83d(0x229)]-0x1,_0x3f1452;_0x52e46a>=0x0;_0x52e46a--)(_0x3f1452=_0x334519[_0x52e46a])&&(_0xdff6cf=_0x3f1452(_0xdff6cf)||_0xdff6cf);return _0xdff6cf;},ie=(_0x48943b,_0x23a1f5)=>(_0x1f241d,_0x1844a7)=>_0x23a1f5(_0x1f241d,_0x1844a7,_0x48943b);let x=class extends a[_0x5db9f2(0x321)]{constructor(_0x4ede62,_0xd7b337,_0x23cf95){const _0x3393f2=_0x5db9f2;super(),h(this,_0x3393f2(0x1c6),new Map()),h(this,'_entityInit$',new d['Subject']()),(this[_0x3393f2(0x3d8)]=_0x4ede62,this[_0x3393f2(0x17d)]=_0xd7b337,this[_0x3393f2(0x2ab)]=_0x23cf95,this[_0x3393f2(0x16c)]());}[_0x5db9f2(0x25e)](){const _0x4bf06a=_0x5db9f2;super['dispose'](),this[_0x4bf06a(0x299)]['complete'](),this[_0x4bf06a(0x1c6)]['forEach'](_0x3e2d3b=>_0x3e2d3b[_0x4bf06a(0x25e)]());}[_0x5db9f2(0x216)](_0x51c8c4){const _0x175be5=_0x5db9f2;return this[_0x175be5(0x1c6)]['has'](_0x51c8c4)?this['_entities'][_0x175be5(0x1b2)](_0x51c8c4)[_0x175be5(0x32d)]:this[_0x175be5(0x299)][_0x175be5(0x37b)](d[_0x175be5(0x19e)](_0x35bfdd=>_0x35bfdd[_0x175be5(0x1dc)]===_0x51c8c4),d[_0x175be5(0x2ef)](_0x1a59ae=>_0x1a59ae[_0x175be5(0x32d)]));}[_0x5db9f2(0x16c)](){const _0x239e32=_0x5db9f2;this['_univerInstanceService'][_0x239e32(0x1e9)](a[_0x239e32(0x317)][_0x239e32(0x178)])['pipe'](d[_0x239e32(0x2a3)](this[_0x239e32(0x3c7)]))['subscribe'](async _0x177006=>{const _0x5bae1a=_0x239e32,_0x575d90=_0x177006[_0x5bae1a(0x312)](),_0x9115eb=await this[_0x5bae1a(0x2ae)](_0x575d90);this['_entityInit$']['next'](_0x9115eb),this[_0x5bae1a(0x1c6)][_0x5bae1a(0x335)](_0x575d90,_0x9115eb);}),this['_univerInstanceService'][_0x239e32(0x1e9)](a['UniverInstanceType'][_0x239e32(0x2c1)])[_0x239e32(0x37b)](d[_0x239e32(0x2a3)](this[_0x239e32(0x3c7)]))[_0x239e32(0x37b)](d[_0x239e32(0x19e)](_0x154817=>!_0x154817[_0x239e32(0x312)]()['startsWith']('__')))[_0x239e32(0x2dc)](async _0x5e3e0b=>{const _0x295ce2=_0x239e32,_0x308bed=_0x5e3e0b[_0x295ce2(0x312)](),_0x44cd6c=await this[_0x295ce2(0x355)](_0x308bed);this['_entityInit$'][_0x295ce2(0x1e5)](_0x44cd6c),this[_0x295ce2(0x1c6)]['set'](_0x308bed,_0x44cd6c);}),d[_0x239e32(0x347)](this[_0x239e32(0x3d8)][_0x239e32(0x274)](a[_0x239e32(0x317)][_0x239e32(0x2c1)]),this[_0x239e32(0x3d8)][_0x239e32(0x274)](a[_0x239e32(0x317)][_0x239e32(0x178)]))['pipe'](d['takeUntil'](this['dispose$']))['subscribe'](_0x342164=>{const _0x18a5be=_0x239e32,_0x52b94d=_0x342164[_0x18a5be(0x312)](),_0x3ce02b=this[_0x18a5be(0x1c6)][_0x18a5be(0x1b2)](_0x52b94d);_0x3ce02b&&(_0x3ce02b[_0x18a5be(0x25e)](),this[_0x18a5be(0x1c6)]['delete'](_0x52b94d));});}async[_0x5db9f2(0x2ae)](_0x289fed){const _0x3d2cdb=_0x5db9f2,_0x11b516=await this[_0x3d2cdb(0x2ab)][_0x3d2cdb(0x318)](_0x289fed),_0x36d6b0=this[_0x3d2cdb(0x17d)][_0x3d2cdb(0x28f)](Se,_0x289fed,_0x11b516);return _0x36d6b0[_0x3d2cdb(0x254)](),_0x36d6b0;}async['_startDocCollabCursor'](_0x48fb91){const _0x171707=_0x5db9f2,_0x17bfcf=await this['_collabSessionService'][_0x171707(0x318)](_0x48fb91),_0x349903=this[_0x171707(0x17d)][_0x171707(0x28f)](fe,_0x48fb91,_0x17bfcf);return _0x349903['init'](),_0x349903;}};x=ct([ie(0x0,a[_0x5db9f2(0x24f)]),ie(0x1,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x204)])),ie(0x2,a[_0x5db9f2(0x319)](u[_0x5db9f2(0x376)]))],x);const q=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x4617f6,_0x49a73f){const _0x2d18e7=_0x5db9f2;let {radius:_0x5545b9,width:_0x163d3e,height:_0x195018}=_0x49a73f;_0x5545b9=_0x5545b9!=null?_0x5545b9:0x0,_0x163d3e=_0x163d3e!=null?_0x163d3e:0x1e,_0x195018=_0x195018!=null?_0x195018:0x1e;let _0xa72bfd=0x0,_0x4071b9=0x0,_0x3b5ae9=0x0;_0xa72bfd=_0x4071b9=_0x3b5ae9=Math[_0x2d18e7(0x3d7)](_0x5545b9,_0x163d3e/0x2,_0x195018/0x2),_0x4617f6[_0x2d18e7(0x28c)](),_0x4617f6[_0x2d18e7(0x393)](_0xa72bfd,0x0),_0x4617f6[_0x2d18e7(0x1c4)](_0x163d3e-_0x4071b9,0x0),_0x4617f6[_0x2d18e7(0x32b)](_0x163d3e-_0x4071b9,_0x4071b9,_0x4071b9,Math['PI']*0x3/0x2,0x0,!0x1),_0x4617f6[_0x2d18e7(0x1c4)](_0x163d3e,_0x195018-_0x3b5ae9),_0x4617f6[_0x2d18e7(0x32b)](_0x163d3e-_0x3b5ae9,_0x195018-_0x3b5ae9,_0x3b5ae9,0x0,Math['PI']/0x2,!0x1),_0x4617f6[_0x2d18e7(0x1c4)](0x0,_0x195018),_0x4617f6[_0x2d18e7(0x1c4)](0x0,_0xa72bfd),_0x4617f6[_0x2d18e7(0x32b)](_0xa72bfd,_0xa72bfd,_0xa72bfd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4617f6[_0x2d18e7(0x29a)](),_0x49a73f[_0x2d18e7(0x294)]&&(_0x4617f6[_0x2d18e7(0x1f6)](),_0x4617f6[_0x2d18e7(0x381)]=_0x49a73f[_0x2d18e7(0x294)],_0x49a73f['fillRule']===_0x2d18e7(0x313)?_0x4617f6[_0x2d18e7(0x294)](_0x2d18e7(0x313)):_0x4617f6[_0x2d18e7(0x294)](),_0x4617f6['restore']());}class ee extends p['Shape']{constructor(_0x205322,_0x565650){const _0x442005=_0x5db9f2;super(_0x205322,_0x565650),h(this,'color'),h(this,_0x442005(0x245)),(this['color']=_0x565650==null?void 0x0:_0x565650[_0x442005(0x28e)],this[_0x442005(0x245)]=_0x565650==null?void 0x0:_0x565650[_0x442005(0x245)]);}static[_0x5db9f2(0x30f)](_0x30f2e9,_0x42476f){const _0x35dc3b=_0x5db9f2,{text:_0x524269,color:_0xae5690}=_0x42476f;_0x30f2e9[_0x35dc3b(0x1f6)](),_0x30f2e9[_0x35dc3b(0x2b4)]=_0x35dc3b(0x2f9);const _0x1a44c4=_0x30f2e9[_0x35dc3b(0x2fb)](_0x524269)[_0x35dc3b(0x197)],_0x528455=Math[_0x35dc3b(0x3d7)](_0x1a44c4+0x2*ne,Re);_t(_0x30f2e9,{'height':q,'radius':0x4,'width':_0x528455,'fill':_0xae5690}),_0x30f2e9['fillStyle']='#FFF';const _0x333338=ne,_0x266d3b=q-lt,_0x3263c8=Re-0x2*ne;if(_0x1a44c4>_0x3263c8){let _0x14701e='',_0x173e2b=0x0;for(const _0x27ac5b of _0x524269){const _0xab5da8=_0x30f2e9[_0x35dc3b(0x2fb)](_0x27ac5b)[_0x35dc3b(0x197)];if(_0x173e2b+_0xab5da8<=_0x3263c8-_0x30f2e9[_0x35dc3b(0x2fb)](_0x35dc3b(0x279))[_0x35dc3b(0x197)])_0x14701e+=_0x27ac5b,_0x173e2b+=_0xab5da8;else{_0x14701e+=_0x35dc3b(0x279);break;}}_0x30f2e9[_0x35dc3b(0x19b)](_0x14701e,_0x333338,_0x266d3b);}else _0x30f2e9['fillText'](_0x524269,_0x333338,_0x266d3b);_0x30f2e9[_0x35dc3b(0x38f)]();}['_draw'](_0x1c838b){const _0x3a960c=_0x5db9f2;ee[_0x3a960c(0x30f)](_0x1c838b,this);}}const re=_0x5db9f2(0x30e),ht=_0x5db9f2(0x21f),ut=_0x5db9f2(0x37c),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x5db9f2(0x18f);class De{constructor(_0x21d3f4,_0x3f3648,_0x3ba1f6,_0x592de5){const _0x5c8e02=_0x5db9f2;h(this,_0x5c8e02(0x2f0),[]),h(this,_0x5c8e02(0x233),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x5c8e02(0x281),null),h(this,_0x5c8e02(0x173),null),(this[_0x5c8e02(0x2ff)]=_0x21d3f4,this[_0x5c8e02(0x32e)]=_0x3f3648,this[_0x5c8e02(0x336)]=_0x3ba1f6,this['_document']=_0x592de5,this[_0x5c8e02(0x2a5)]());}set[_0x5db9f2(0x182)](_0x3969cc){const _0x2fe18b=_0x5db9f2;_0x3969cc?(this[_0x2fe18b(0x34d)]&&this[_0x2fe18b(0x34d)]['hide'](),this[_0x2fe18b(0x395)]&&this[_0x2fe18b(0x395)][_0x2fe18b(0x1a0)]()):(this[_0x2fe18b(0x34d)]&&this[_0x2fe18b(0x34d)][_0x2fe18b(0x1a0)](),this[_0x2fe18b(0x395)]&&this[_0x2fe18b(0x395)][_0x2fe18b(0x196)]());}[_0x5db9f2(0x25e)](){const _0x1fcb90=_0x5db9f2;for(const _0x4f3116 of this[_0x1fcb90(0x2f0)])_0x4f3116[_0x1fcb90(0x25e)]();this[_0x1fcb90(0x395)]&&this['_textBubble'][_0x1fcb90(0x25e)](),this[_0x1fcb90(0x34d)]&&this['_anchorDot'][_0x1fcb90(0x25e)](),this['_anchor']&&this[_0x1fcb90(0x233)][_0x1fcb90(0x25e)](),this[_0x1fcb90(0x173)]&&this[_0x1fcb90(0x173)]();}[_0x5db9f2(0x2a5)](){const _0x3067c1=_0x5db9f2;var _0x995887;const {_docSkeleton:_0xb8ca61,_document:_0x10930d}=this,{color:_0x55792e,name:_0x40376e,ranges:_0x19e5f9}=this[_0x3067c1(0x2ff)],_0x504f07=_0x10930d[_0x3067c1(0x337)](),{docsLeft:_0x1e847f,docsTop:_0x5097ab}=_0x504f07,_0x3f0200=new b[(_0x3067c1(0x3e5))](_0x504f07,_0xb8ca61);for(const {startOffset:_0x2613ee,endOffset:_0x575767,rangeType:_0x2a8dbc,segmentId:_0x24ebb8,segmentPage:_0x2c3717,collapsed:_0x2a4362,isActive:_0x11cdd2}of _0x19e5f9){const _0x31d9b7=_0xb8ca61[_0x3067c1(0x33a)](_0x2613ee,!0x0,_0x24ebb8,_0x2c3717);let _0x581abd=_0xb8ca61['findNodePositionByCharIndex'](_0x575767,!0x0,_0x24ebb8,_0x2c3717);if(_0x581abd==null&&(_0x581abd=_0xb8ca61[_0x3067c1(0x33a)](_0x575767-0x1,!0x1,_0x24ebb8,_0x2c3717)),_0x11cdd2){const {contentBoxPointGroup:_0x28f8fd}=_0x3f0200['getRangePointData'](_0x581abd,_0x581abd);if(_0x28f8fd[_0x3067c1(0x229)]===0x0)continue;this[_0x3067c1(0x2a7)](_0x55792e,_0x28f8fd,_0x1e847f,_0x5097ab,_0x40376e),this[_0x3067c1(0x173)]=this[_0x3067c1(0x19a)]();}if(_0x31d9b7&&_0x581abd){if(_0x2a8dbc===a['DOC_RANGE_TYPE'][_0x3067c1(0x273)]){const _0x482dac=new b['NodePositionConvertToRectRange'](_0x504f07,_0xb8ca61),{pointGroup:_0x2e64b0}=(_0x995887=_0x482dac[_0x3067c1(0x249)](_0x31d9b7,_0x581abd))!=null?_0x995887:{};if(_0x2e64b0==null||_0x2e64b0[_0x3067c1(0x229)]===0x0)continue;this[_0x3067c1(0x3d0)](_0x55792e,_0x2e64b0,_0x1e847f,_0x5097ab);}else{if(!_0x2a4362){const {borderBoxPointGroup:_0x39c5c7}=_0x3f0200['getRangePointData'](_0x31d9b7,_0x581abd);if(_0x39c5c7['length']===0x0)continue;this[_0x3067c1(0x208)](_0x55792e,_0x39c5c7,_0x1e847f,_0x5097ab);}}}}}[_0x5db9f2(0x2a7)](_0x255fb9,_0x2c1700,_0x3dc228,_0x354b00,_0x1b5643){const _0x533d54=_0x5db9f2,_0x56de1d=this['_getAnchorBounding'](_0x2c1700),{left:_0xdd4f2a,top:_0x25b104,height:_0x157b22}=_0x56de1d,_0x384f21=this[_0x533d54(0x17f)](),_0x83b57e=ft/_0x384f21,_0x2c2602=new p[(_0x533d54(0x1ee))](re+a[_0x533d54(0x1cf)][_0x533d54(0x202)](k),{'left':_0xdd4f2a+_0x3dc228-_0x83b57e,'top':_0x25b104+_0x354b00,'height':_0x157b22,'width':dt,'fill':_0x255fb9||p[_0x533d54(0x3e7)](a['COLORS'][_0x533d54(0x222)],0x0),'strokeWidth':_0x83b57e,'stroke':St,'evented':!0x0});this[_0x533d54(0x233)]=_0x2c2602,this[_0x533d54(0x32e)]['addObject'](_0x2c2602,b[_0x533d54(0x332)]);const _0x1426ce=new p['Rect'](re+a[_0x533d54(0x1cf)][_0x533d54(0x202)](k),{'left':_0xdd4f2a+_0x3dc228-_0x83b57e,'top':_0x25b104+_0x354b00-oe/0x2,'height':oe,'width':oe,'fill':_0x255fb9||p[_0x533d54(0x3e7)](a[_0x533d54(0x256)][_0x533d54(0x222)],0x0),'strokeWidth':0x0,'stroke':_0x255fb9||p[_0x533d54(0x3e7)](a['COLORS'][_0x533d54(0x222)],0x0),'evented':!0x1});this[_0x533d54(0x34d)]=_0x1426ce,this[_0x533d54(0x32e)][_0x533d54(0x346)](_0x1426ce,b[_0x533d54(0x332)]);const _0x1dcbf4=new ee(re+a[_0x533d54(0x1cf)]['generateRandomId'](k),{'left':_0xdd4f2a+_0x3dc228-_0x83b57e,'top':_0x25b104+_0x354b00-q,'text':_0x1b5643,'color':_0x255fb9});this[_0x533d54(0x395)]=_0x1dcbf4,this[_0x533d54(0x32e)][_0x533d54(0x346)](_0x1dcbf4,b[_0x533d54(0x332)]),this[_0x533d54(0x182)]=!0x1;}['_handleHover'](){const _0x3251ba=_0x5db9f2,_0x3cf58a=this[_0x3251ba(0x233)][_0x3251ba(0x1bc)][_0x3251ba(0x354)](()=>{const _0x5987ca=_0x3251ba;this[_0x5987ca(0x182)]=!0x0;}),_0x372112=this[_0x3251ba(0x233)][_0x3251ba(0x2ea)][_0x3251ba(0x354)](()=>{const _0x23da77=_0x3251ba;this['_hideTimer']&&clearTimeout(this[_0x23da77(0x281)]),this[_0x23da77(0x281)]=setTimeout(()=>{const _0x47121f=_0x23da77;this[_0x47121f(0x182)]=!0x1;},0x7d0);});return()=>{const _0x20f827=_0x3251ba;_0x3cf58a[_0x20f827(0x268)](),_0x372112[_0x20f827(0x268)]();};}[_0x5db9f2(0x208)](_0x262db6,_0xe33d49,_0x4f0567,_0x18853b){const _0x3db880=_0x5db9f2,_0x2f214e=new a[(_0x3db880(0x305))](_0x262db6)[_0x3db880(0x368)](0.2)['toRgbString'](),_0xc41697=new p[(_0x3db880(0x29b))](ht+a[_0x3db880(0x1cf)]['generateRandomId'](k),{'pointsGroup':_0xe33d49,'fill':_0x2f214e||p[_0x3db880(0x3e7)](a[_0x3db880(0x256)][_0x3db880(0x222)],0.2),'left':_0x4f0567,'top':_0x18853b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3db880(0x2f0)][_0x3db880(0x1e0)](_0xc41697),this[_0x3db880(0x32e)]['addObject'](_0xc41697,b[_0x3db880(0x332)]);}['_drawRectRange'](_0x17db64,_0x3d5e4b,_0x57a24f,_0x560ece){const _0x2bc9e9=_0x5db9f2,_0x3d52d8=new a[(_0x2bc9e9(0x305))](_0x17db64)['setAlpha'](0.2)[_0x2bc9e9(0x327)](),_0x13d270=new p[(_0x2bc9e9(0x29b))](ut+a[_0x2bc9e9(0x1cf)][_0x2bc9e9(0x202)](k),{'pointsGroup':_0x3d5e4b,'fill':_0x3d52d8||p['getColor'](a[_0x2bc9e9(0x256)][_0x2bc9e9(0x222)],0.2),'left':_0x57a24f,'top':_0x560ece,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2bc9e9(0x2f0)][_0x2bc9e9(0x1e0)](_0x13d270),this[_0x2bc9e9(0x32e)][_0x2bc9e9(0x346)](_0x13d270,b[_0x2bc9e9(0x332)]);}['_getAnchorBounding'](_0x4ba4a5){const _0x501cc8=_0x4ba4a5[0x0],_0x14efdc=_0x501cc8[0x0],_0x7c16ae=_0x501cc8[0x2],{x:_0x5b6ac6,y:_0x326871}=_0x14efdc,{x:_0x529309,y:_0x236673}=_0x7c16ae;return{'left':_0x5b6ac6,'top':_0x326871,'width':_0x529309-_0x5b6ac6,'height':_0x236673-_0x326871};}[_0x5db9f2(0x17f)](){const _0x30ce5c=_0x5db9f2,{scaleX:_0x2331f9,scaleY:_0x4f4b4c}=this[_0x30ce5c(0x32e)][_0x30ce5c(0x239)]();return Math[_0x30ce5c(0x31c)](_0x2331f9,_0x4f4b4c);}}var It=Object['getOwnPropertyDescriptor'],vt=(_0x521ea9,_0x2c22fc,_0x47efc2,_0x4b5194)=>{const _0x58290a=_0x5db9f2;for(var _0x3409a1=_0x4b5194>0x1?void 0x0:_0x4b5194?It(_0x2c22fc,_0x47efc2):_0x2c22fc,_0x36a846=_0x521ea9[_0x58290a(0x229)]-0x1,_0x1870ce;_0x36a846>=0x0;_0x36a846--)(_0x1870ce=_0x521ea9[_0x36a846])&&(_0x3409a1=_0x1870ce(_0x3409a1)||_0x3409a1);return _0x3409a1;},Y=(_0x70a9c0,_0x3ee978)=>(_0x3bbd41,_0x2c21ec)=>_0x3ee978(_0x3bbd41,_0x2c21ec,_0x70a9c0);let Ie=class extends a['RxDisposable']{constructor(_0x207ae4,_0x1c09ca,_0x515183,_0x15d34b,_0x278ad7){const _0x40cf75=_0x5db9f2;super(),h(this,'_cursorShapes',[]),h(this,_0x40cf75(0x1b8),[]),(this[_0x40cf75(0x353)]=_0x207ae4,this[_0x40cf75(0x207)]=_0x1c09ca,this[_0x40cf75(0x30c)]=_0x515183,this[_0x40cf75(0x1fe)]=_0x15d34b,this[_0x40cf75(0x2b8)]=_0x278ad7,this[_0x40cf75(0x16c)]());}[_0x5db9f2(0x16c)](){const _0x2e7d60=_0x5db9f2,_0x3c9a9e=this[_0x2e7d60(0x353)][_0x2e7d60(0x1bd)],_0xb0a3c0=this[_0x2e7d60(0x207)];this['disposeWithMe'](d[_0x2e7d60(0x258)]([this['_collabCursorController'][_0x2e7d60(0x216)](_0x3c9a9e),this[_0x2e7d60(0x2b8)][_0x2e7d60(0x1f2)]])[_0x2e7d60(0x37b)]($[_0x2e7d60(0x230)](([_0xc1d44d,_0x4fc0c3])=>({'skeleton':_0xb0a3c0[_0x2e7d60(0x29e)](),'cursors':[..._0xc1d44d[_0x2e7d60(0x308)]()]['flatMap'](_0x20b66e=>({..._0x20b66e,'color':_0x4fc0c3[_0x20b66e[_0x2e7d60(0x28e)]]}))})))[_0x2e7d60(0x2dc)](_0x259fef=>{const _0x5acae6=_0x2e7d60;if(this[_0x5acae6(0x36c)](),_0x259fef){const {skeleton:_0xbbcb30,cursors:_0x1e12be}=_0x259fef;this['_updateCollabCursors'](_0xbbcb30,_0x1e12be);}})),this['_initResize'](),this[_0x2e7d60(0x34e)]();}[_0x5db9f2(0x19d)](_0x308b11,_0x1de079){const _0x4d69ff=_0x5db9f2,{scene:_0x4fb621,mainComponent:_0x570382}=this[_0x4d69ff(0x353)],_0x3465b5=_0x1de079[_0x4d69ff(0x230)](_0x5e98e6=>new De(_0x5e98e6,_0x4fb621,_0x308b11,_0x570382));this[_0x4d69ff(0x307)]=_0x3465b5,this[_0x4d69ff(0x1b8)]=_0x1de079;}['_refreshCollabCursors'](){const _0x47243c=_0x5db9f2;this['_removeCollabCursors']();const {scene:_0x37716c,mainComponent:_0x304159}=this[_0x47243c(0x353)],_0x2e4c6c=this[_0x47243c(0x207)]['getSkeleton'](),_0x551a14=this['_cursors'][_0x47243c(0x230)](_0x250f94=>new De(_0x250f94,_0x37716c,_0x2e4c6c,_0x304159));this[_0x47243c(0x307)]=_0x551a14;}[_0x5db9f2(0x36c)](){const _0x5e47eb=_0x5db9f2;this[_0x5e47eb(0x307)][_0x5e47eb(0x39e)](_0x4fa33a=>_0x4fa33a[_0x5e47eb(0x25e)]()),this[_0x5e47eb(0x307)]=[];}[_0x5db9f2(0x34e)](){const _0x1b0e69=_0x5db9f2,_0x29757b=[b[_0x1b0e69(0x3d2)]['id']];this[_0x1b0e69(0x2a4)](this[_0x1b0e69(0x1fe)]['onCommandExecuted'](_0x5e3af5=>{const _0x304191=_0x1b0e69;_0x29757b[_0x304191(0x1d8)](_0x5e3af5['id'])&&_0x5e3af5[_0x304191(0x33e)]['unitId']===this[_0x304191(0x353)][_0x304191(0x1bd)]&&this['_refreshCollabCursors']();}));}[_0x5db9f2(0x2aa)](){const _0x53bd83=_0x5db9f2;this[_0x53bd83(0x2a4)](a[_0x53bd83(0x16d)](this[_0x53bd83(0x353)][_0x53bd83(0x2ee)][_0x53bd83(0x3da)])[_0x53bd83(0x37b)]($[_0x53bd83(0x19e)](_0x305b06=>_0x305b06['type']===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$[_0x53bd83(0x242)](0x10))[_0x53bd83(0x2dc)](()=>{const _0x1e0857=_0x53bd83;this[_0x1e0857(0x345)]();}));}};Ie=vt([Y(0x1,a[_0x5db9f2(0x319)](W[_0x5db9f2(0x358)])),Y(0x2,a[_0x5db9f2(0x319)](x)),Y(0x3,a[_0x5db9f2(0x3b8)]),Y(0x4,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x27d)]))],Ie);const gt=0x1,mt=1.5;class we extends p[_0x5db9f2(0x2f2)]{constructor(_0x537571,_0x299540){const _0x32fe5c=_0x5db9f2;super(_0x537571,_0x299540),h(this,'_color'),h(this,_0x32fe5c(0x3c3),!0x1),h(this,'_range'),h(this,'_name',''),h(this,_0x32fe5c(0x221),_0x32fe5c(0x22e)),h(this,_0x32fe5c(0x1e1)),(_0x299540&&this[_0x32fe5c(0x324)](_0x299540),this['onPointerEnter$'][_0x32fe5c(0x354)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x32fe5c(0x2ea)][_0x32fe5c(0x354)](()=>this[_0x32fe5c(0x324)]({'hovered':!0x1})));}[_0x5db9f2(0x324)](_0x3e324f){const _0xa34560=_0x5db9f2;var _0x58c1ce,_0x28a41d,_0x3eb6ab,_0x41b4e1,_0x5dfc4e,_0x4e3ebc;this[_0xa34560(0x1bb)]=(_0x58c1ce=_0x3e324f[_0xa34560(0x28e)])!=null?_0x58c1ce:this[_0xa34560(0x1bb)],this[_0xa34560(0x3c3)]=(_0x28a41d=_0x3e324f[_0xa34560(0x1f4)])!=null?_0x28a41d:this[_0xa34560(0x3c3)],this['_range']=(_0x3eb6ab=_0x3e324f[_0xa34560(0x1ba)])!=null?_0x3eb6ab:this[_0xa34560(0x1e6)],this['_name']=(_0x41b4e1=_0x3e324f[_0xa34560(0x2a0)])!=null?_0x41b4e1:this[_0xa34560(0x265)],this[_0xa34560(0x221)]=(_0x5dfc4e=_0x3e324f['labelPosition'])!=null?_0x5dfc4e:this[_0xa34560(0x221)],this[_0xa34560(0x1e1)]=(_0x4e3ebc=_0x3e324f[_0xa34560(0x21b)])!=null?_0x4e3ebc:this[_0xa34560(0x1e1)],this['transformByState']({'width':_0x3e324f[_0xa34560(0x197)],'height':_0x3e324f[_0xa34560(0x1ed)]});}[_0x5db9f2(0x362)](_0x5a0d63){const _0xcefa42=_0x5db9f2,{row:_0x114efb,column:_0x35ff85}=_0x5a0d63;if(_0x114efb>=this[_0xcefa42(0x1e6)][_0xcefa42(0x2cb)]&&_0x114efb<=this[_0xcefa42(0x1e6)][_0xcefa42(0x325)]&&_0x35ff85>=this[_0xcefa42(0x1e6)][_0xcefa42(0x31b)]&&_0x35ff85<=this[_0xcefa42(0x1e6)]['endColumn']){this[_0xcefa42(0x324)]({'hovered':!0x0});return;}this[_0xcefa42(0x324)]({'hovered':!0x1});}['triggerDblclick'](_0xf8e650){return!0x1;}[_0x5db9f2(0x3ec)](_0x522b88){const _0x206f34=_0x5db9f2;p[_0x206f34(0x1ee)]['drawWith'](_0x522b88,{'width':this[_0x206f34(0x197)],'height':this[_0x206f34(0x1ed)],'strokeWidth':mt,'stroke':this[_0x206f34(0x1bb)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x522b88[_0x206f34(0x1f6)](),_0x522b88[_0x206f34(0x1f0)](0x1,0x0,0x0,0x1,this[_0x206f34(0x197)],this['_labelPosition']===_0x206f34(0x199)?0x0:-0x14),ee[_0x206f34(0x30f)](_0x522b88,{'text':this['_name'],'color':this[_0x206f34(0x1bb)]}),_0x522b88[_0x206f34(0x38f)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x3347dd,_0x2008c1,_0x102ba9,_0x51ca5a)=>{const _0x408990=_0x5db9f2;for(var _0x4923c0=_0x51ca5a>0x1?void 0x0:_0x51ca5a?Ct(_0x2008c1,_0x102ba9):_0x2008c1,_0x28e1be=_0x3347dd[_0x408990(0x229)]-0x1,_0x5d7080;_0x28e1be>=0x0;_0x28e1be--)(_0x5d7080=_0x3347dd[_0x28e1be])&&(_0x4923c0=_0x5d7080(_0x4923c0)||_0x4923c0);return _0x4923c0;},ae=(_0x5de49a,_0x39d208)=>(_0x43d818,_0x51295d)=>_0x39d208(_0x43d818,_0x51295d,_0x5de49a);const bt=0x1389;let ve=class extends a[_0x5db9f2(0x321)]{constructor(_0x5e8e97,_0x443c10,_0x2663be,_0x4798a1){const _0x26d606=_0x5db9f2;super(),h(this,_0x26d606(0x1b8),new Set()),h(this,'_lastPointer',null),(this[_0x26d606(0x353)]=_0x5e8e97,this['_sheetSkeletonManagerService']=_0x443c10,this[_0x26d606(0x30c)]=_0x2663be,this[_0x26d606(0x2b8)]=_0x4798a1,this[_0x26d606(0x16c)]());}[_0x5db9f2(0x16c)](){const _0x2b466a=_0x5db9f2;this['_sheetSkeletonManagerService'][_0x2b466a(0x20d)][_0x2b466a(0x37b)]($[_0x2b466a(0x2a3)](this[_0x2b466a(0x3c7)]),$['switchMap'](_0x13393d=>{const _0x1cb2f6=_0x2b466a;if(_0x13393d){const _0x58151c=_0x13393d[_0x1cb2f6(0x38d)];return d[_0x1cb2f6(0x258)](this[_0x1cb2f6(0x30c)]['getCollabCursors$'](this[_0x1cb2f6(0x353)]['unitId']),this[_0x1cb2f6(0x2b8)][_0x1cb2f6(0x1f2)])['pipe']($[_0x1cb2f6(0x230)](([_0x447485,_0x1acefc])=>{const _0x17b8af=_0x1cb2f6,_0x3847c3=new Map();return _0x447485[_0x17b8af(0x39e)]((_0x5b70ec,_0x531cba)=>{const _0x18668c=_0x17b8af;if(_0x5b70ec[_0x18668c(0x255)]===_0x58151c){const _0x473a0f={..._0x5b70ec};_0x473a0f[_0x18668c(0x28e)]=_0x1acefc[_0x5b70ec['color']],_0x3847c3[_0x18668c(0x335)](_0x531cba,_0x473a0f);}}),{'skeleton':_0x13393d,'cursors':_0x3847c3};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x2b466a(0x2dc)](({skeleton:_0x1e3edb,cursors:_0x418230})=>{const _0x1dc906=_0x2b466a;this[_0x1dc906(0x36c)](),_0x1e3edb&&this[_0x1dc906(0x19d)](_0x1e3edb,_0x418230);}),this[_0x2b466a(0x387)][_0x2b466a(0x20d)]['subscribe'](_0x2fad0b=>{const _0x505ced=_0x2b466a;if(_0x2fad0b==null)return;const {skeleton:_0x5c0802}=_0x2fad0b,{scene:_0x19965d}=this[_0x505ced(0x353)];_0x19965d[_0x505ced(0x232)][_0x505ced(0x354)](a['debounce'](_0x12e00e=>{const _0x5e2183=_0x505ced;var _0x33031a,_0x50a6f2;const {offsetX:_0x516238,offsetY:_0xc0f9b7}=_0x12e00e,{x:_0x3bf9e6,y:_0xad0a29}=_0x19965d[_0x5e2183(0x3b0)](p[_0x5e2183(0x31d)][_0x5e2183(0x3b6)]([_0x516238,_0xc0f9b7])),{scaleX:_0x4c0e25,scaleY:_0x2ed7a6}=_0x19965d[_0x5e2183(0x239)](),_0x283be3=_0x19965d['getViewport'](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x580f84=_0x19965d[_0x5e2183(0x276)](p[_0x5e2183(0x31d)]['FromArray']([_0x3bf9e6,_0xad0a29]),_0x283be3),_0x398b13=_0x5c0802['getCellPositionByOffset'](_0x516238,_0xc0f9b7,_0x4c0e25,_0x2ed7a6,_0x580f84);((_0x33031a=this[_0x5e2183(0x17c)])==null?void 0x0:_0x33031a[_0x5e2183(0x1a7)])===_0x398b13[_0x5e2183(0x1a7)]&&((_0x50a6f2=this[_0x5e2183(0x17c)])==null?void 0x0:_0x50a6f2[_0x5e2183(0x39f)])===_0x398b13['row']||this['_cursors'][_0x5e2183(0x39e)](_0xe14f83=>{const _0x2ece76=_0x5e2183;_0xe14f83[_0x2ece76(0x362)](_0x398b13);});},0x64));});}[_0x5db9f2(0x19d)](_0x59e9fe,_0x436aa6){const _0x1327fb=_0x5db9f2;var _0x4907b3;const _0x5476cb=(_0x4907b3=this[_0x1327fb(0x387)][_0x1327fb(0x24a)]())==null?void 0x0:_0x4907b3[_0x1327fb(0x375)];if(!_0x5476cb)return;const _0x82e491=this['_getSheetObject']();if(!_0x82e491)return;this[_0x1327fb(0x1b8)][_0x1327fb(0x39e)](_0x5d395a=>{const _0x3e90b0=_0x1327fb;_0x5d395a[_0x3e90b0(0x272)]();});const {scene:_0x1e93e5}=_0x82e491,_0x2f314c=Et(Array[_0x1327fb(0x3d6)](_0x436aa6['values']()))[_0x1327fb(0x230)](_0x408b58=>{const _0x40696a=_0x1327fb,{color:_0x414839,range:_0x2144e0,name:_0xc0379b,selection:_0x10e77f,sheetID:_0x7ad0ac}=_0x408b58,{startColumn:_0x559951,startRow:_0x33b74b,endColumn:_0x54ec43,endRow:_0x3c75a2}=_0x2144e0,_0x4b2d80=X[_0x40696a(0x37d)](_0x33b74b,_0x559951,_0x1e93e5,_0x5476cb),_0x295cdc=X[_0x40696a(0x37d)](_0x3c75a2,_0x54ec43,_0x1e93e5,_0x5476cb),{columnHeaderHeightAndMarginTop:_0x38af5a}=_0x5476cb,{startX:_0x437002,startY:_0x176df8}=_0x4b2d80,{endX:_0x1e5d0f,endY:_0x629ef7}=_0x295cdc,_0x2b081c=_0x1e5d0f-_0x437002,_0x10c66b=_0x629ef7-_0x176df8,_0xf60a49={'labelPosition':_0x176df8-_0x38af5a>=q?_0x40696a(0x22e):_0x40696a(0x199),'sheetID':_0x7ad0ac,'range':_0x2144e0,'color':_0x414839,'name':_0xc0379b,'selection':_0x10e77f,'left':_0x437002,'top':_0x176df8,'width':_0x2b081c,'height':_0x10c66b,'evented':!0x1,'zIndex':bt};return new we(_0xc0379b,_0xf60a49);});_0x1e93e5['addObjects'](_0x2f314c,gt),this[_0x1327fb(0x1b8)]=new Set(_0x2f314c);}['_removeCollabCursors'](){const _0x4e509b=_0x5db9f2;var _0x1ae377;(_0x1ae377=this['_cursors'])==null||_0x1ae377[_0x4e509b(0x39e)](_0xd5d4f7=>_0xd5d4f7['dispose']());}[_0x5db9f2(0x24d)](){const _0x196c5=_0x5db9f2;return X[_0x196c5(0x3cf)](this[_0x196c5(0x353)][_0x196c5(0x2e3)],this[_0x196c5(0x353)]);}};ve=pt([ae(0x1,a[_0x5db9f2(0x319)](X[_0x5db9f2(0x23f)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x5db9f2(0x319)](a['ThemeService']))],ve);function Et(_0x4eb6b0){const _0xdb0eb4=_0x5db9f2,_0xdd69d8=new Map();return _0x4eb6b0[_0xdb0eb4(0x39e)](_0x11abff=>{const _0x2522d3=_0xdb0eb4;if(_0xdd69d8[_0x2522d3(0x2a6)](_0x11abff[_0x2522d3(0x1c9)])){const _0x5adcd4=_0xdd69d8[_0x2522d3(0x1b2)](_0x11abff[_0x2522d3(0x1c9)]);_0x5adcd4[_0x2522d3(0x2a0)]+=',\x20'+_0x11abff[_0x2522d3(0x2a0)];}else _0xdd69d8[_0x2522d3(0x335)](_0x11abff[_0x2522d3(0x1c9)],_0x11abff);}),Array[_0xdb0eb4(0x3d6)](_0xdd69d8[_0xdb0eb4(0x308)]());}var E=function(){const _0x4e85b8=_0x5db9f2;return E=Object[_0x4e85b8(0x334)]||function(_0x36a3a3){const _0x554fbd=_0x4e85b8;for(var _0x1950e4,_0x305d7c=0x1,_0x336c23=arguments[_0x554fbd(0x229)];_0x305d7c<_0x336c23;_0x305d7c++){_0x1950e4=arguments[_0x305d7c];for(var _0x5c0dd3 in _0x1950e4)Object['prototype']['hasOwnProperty'][_0x554fbd(0x2bf)](_0x1950e4,_0x5c0dd3)&&(_0x36a3a3[_0x5c0dd3]=_0x1950e4[_0x5c0dd3]);}return _0x36a3a3;},E[_0x4e85b8(0x304)](this,arguments);},Tt=function(_0x2afe3d,_0x58d00d){const _0x24d079=_0x5db9f2;var _0x10326a={};for(var _0x5bcf5a in _0x2afe3d)Object['prototype'][_0x24d079(0x210)][_0x24d079(0x2bf)](_0x2afe3d,_0x5bcf5a)&&_0x58d00d[_0x24d079(0x339)](_0x5bcf5a)<0x0&&(_0x10326a[_0x5bcf5a]=_0x2afe3d[_0x5bcf5a]);if(_0x2afe3d!=null&&typeof Object['getOwnPropertySymbols']==_0x24d079(0x174)){for(var _0x2fba65=0x0,_0x5bcf5a=Object[_0x24d079(0x3c8)](_0x2afe3d);_0x2fba65<_0x5bcf5a['length'];_0x2fba65++)_0x58d00d[_0x24d079(0x339)](_0x5bcf5a[_0x2fba65])<0x0&&Object[_0x24d079(0x27e)][_0x24d079(0x3e3)][_0x24d079(0x2bf)](_0x2afe3d,_0x5bcf5a[_0x2fba65])&&(_0x10326a[_0x5bcf5a[_0x2fba65]]=_0x2afe3d[_0x5bcf5a[_0x2fba65]]);}return _0x10326a;},pe=M[_0x5db9f2(0x2dd)](function(_0x33c756,_0x9a9577){const _0x5b9600=_0x5db9f2;var _0x149d49=_0x33c756[_0x5b9600(0x363)],_0x2dbf01=_0x33c756['id'],_0x2a5eed=_0x33c756[_0x5b9600(0x28b)],_0x4d1e4a=_0x33c756[_0x5b9600(0x186)],_0x573046=Tt(_0x33c756,[_0x5b9600(0x363),'id',_0x5b9600(0x28b),_0x5b9600(0x186)]),_0x3dc1f1=_0x5b9600(0x2e8)[_0x5b9600(0x293)](_0x2dbf01,'\x20')['concat'](_0x2a5eed||'')[_0x5b9600(0x2f8)](),_0x163df4=M[_0x5b9600(0x20c)]('_'[_0x5b9600(0x293)](Dt()));return Ae(_0x149d49,''[_0x5b9600(0x293)](_0x2dbf01),{'defIds':_0x149d49[_0x5b9600(0x1a3)],'idSuffix':_0x163df4[_0x5b9600(0x3d9)]},E({'ref':_0x9a9577,'className':_0x3dc1f1},_0x573046),_0x4d1e4a);});function Ae(_0x41592e,_0x4d22cd,_0x2b0b05,_0x593ebe,_0x106aa5){const _0x2e97a3=_0x5db9f2;return M[_0x2e97a3(0x2ce)](_0x41592e['tag'],E(E({'key':_0x4d22cd},Ot(_0x41592e,_0x2b0b05,_0x106aa5)),_0x593ebe),(Rt(_0x41592e,_0x2b0b05)[_0x2e97a3(0x36b)]||[])[_0x2e97a3(0x230)](function(_0x592fdb,_0x599ef8){const _0x5807a3=_0x2e97a3;return Ae(_0x592fdb,''[_0x5807a3(0x293)](_0x4d22cd,'-')[_0x5807a3(0x293)](_0x41592e[_0x5807a3(0x3e6)],'-')[_0x5807a3(0x293)](_0x599ef8),_0x2b0b05,void 0x0,_0x106aa5);}));}function Ot(_0x5408e6,_0x1da343,_0x253013){const _0x1c2d87=_0x5db9f2;var _0x21492e=E({},_0x5408e6[_0x1c2d87(0x231)]);_0x253013!=null&&_0x253013[_0x1c2d87(0x25c)]&&_0x21492e[_0x1c2d87(0x294)]===_0x1c2d87(0x25c)&&(_0x21492e[_0x1c2d87(0x294)]=_0x253013['colorChannel1']),_0x5408e6[_0x1c2d87(0x3e6)]===_0x1c2d87(0x260)&&_0x21492e['id']&&(_0x21492e['id']=_0x21492e['id']+_0x1da343[_0x1c2d87(0x394)]),Object[_0x1c2d87(0x31f)](_0x21492e)[_0x1c2d87(0x39e)](function(_0xd48a60){const _0x423823=_0x1c2d87;var _0x11f536=_0xd48a60[0x0],_0x1d20d2=_0xd48a60[0x1];_0x11f536==='mask'&&typeof _0x1d20d2==_0x423823(0x3b2)&&(_0x21492e[_0x11f536]=_0x1d20d2[_0x423823(0x22a)](/url\(#(.*)\)/,_0x423823(0x34f)[_0x423823(0x293)](_0x1da343[_0x423823(0x394)],')')));});var _0x86fd34=_0x1da343[_0x1c2d87(0x1a3)];return!_0x86fd34||_0x86fd34[_0x1c2d87(0x229)]===0x0||(_0x5408e6[_0x1c2d87(0x3e6)]===_0x1c2d87(0x1bf)&&_0x21492e[_0x1c2d87(0x349)]&&(_0x21492e[_0x1c2d87(0x349)]=_0x21492e[_0x1c2d87(0x349)]+_0x1da343['idSuffix']),Object[_0x1c2d87(0x31f)](_0x21492e)[_0x1c2d87(0x39e)](function(_0x28c59e){const _0x49db73=_0x1c2d87;var _0x3f39b3=_0x28c59e[0x0],_0x62843e=_0x28c59e[0x1];typeof _0x62843e=='string'&&(_0x21492e[_0x3f39b3]=_0x62843e['replace'](/url\(#(.*)\)/,_0x49db73(0x34f)[_0x49db73(0x293)](_0x1da343['idSuffix'],')')));})),_0x21492e;}function Rt(_0x17417d,_0x25a7b2){const _0x1255a5=_0x5db9f2;var _0x362390,_0x231004=_0x25a7b2['defIds'];return!_0x231004||_0x231004[_0x1255a5(0x229)]===0x0?_0x17417d:_0x17417d[_0x1255a5(0x3e6)]===_0x1255a5(0x228)&&(!((_0x362390=_0x17417d[_0x1255a5(0x36b)])===null||_0x362390===void 0x0)&&_0x362390[_0x1255a5(0x229)])?E(E({},_0x17417d),{'children':_0x17417d['children']['map'](function(_0x420331){const _0x54ff13=_0x1255a5;return typeof _0x420331['attrs']['id']==_0x54ff13(0x3b2)&&_0x231004&&_0x231004[_0x54ff13(0x339)](_0x420331[_0x54ff13(0x231)]['id'])>-0x1?E(E({},_0x420331),{'attrs':E(E({},_0x420331['attrs']),{'id':_0x420331[_0x54ff13(0x231)]['id']+_0x25a7b2['idSuffix']})}):_0x420331;})}):_0x17417d;}function Dt(){const _0x5e58d2=_0x5db9f2;return Math[_0x5e58d2(0x176)]()['toString'](0x24)[_0x5e58d2(0x170)](0x2,0x8);}function _0x5398(_0x1f2592,_0x21ac2b){const _0x19b5f7=_0x19b5();return _0x5398=function(_0x539849,_0x3349f6){_0x539849=_0x539849-0x16a;let _0x478bde=_0x19b5f7[_0x539849];return _0x478bde;},_0x5398(_0x1f2592,_0x21ac2b);}pe[_0x5db9f2(0x348)]=_0x5db9f2(0x235);var Ut={'tag':_0x5db9f2(0x38a),'attrs':{'fill':_0x5db9f2(0x36e),'viewBox':'0\x200\x2016\x2016','width':_0x5db9f2(0x193),'height':_0x5db9f2(0x193)},'children':[{'tag':'g','attrs':{'clipPath':_0x5db9f2(0x24b)},'children':[{'tag':'path','attrs':{'stroke':_0x5db9f2(0x2b3),'d':_0x5db9f2(0x1ab),'strokeLinecap':_0x5db9f2(0x1fc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5db9f2(0x228),'attrs':{},'children':[{'tag':_0x5db9f2(0x26e),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x5db9f2(0x311),'attrs':{'fill':'#fff','d':_0x5db9f2(0x2b1)}}]}]}],'defIds':[_0x5db9f2(0x38e)]},ye=M[_0x5db9f2(0x2dd)](function(_0x20c731,_0x26a142){const _0x23e526=_0x5db9f2;return M[_0x23e526(0x2ce)](pe,Object[_0x23e526(0x334)]({},_0x20c731,{'id':'off-line-single','ref':_0x26a142,'icon':Ut}));});ye[_0x5db9f2(0x348)]=_0x5db9f2(0x217);var Nt={'tag':_0x5db9f2(0x38a),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x5db9f2(0x193),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5db9f2(0x2d0)},'children':[{'tag':_0x5db9f2(0x311),'attrs':{'stroke':_0x5db9f2(0x2b3),'d':_0x5db9f2(0x3a5),'strokeLinecap':'round','strokeLinejoin':_0x5db9f2(0x1fc),'strokeWidth':1.2}}]},{'tag':_0x5db9f2(0x228),'attrs':{},'children':[{'tag':_0x5db9f2(0x26e),'attrs':{'id':_0x5db9f2(0x1fb)},'children':[{'tag':_0x5db9f2(0x311),'attrs':{'fill':_0x5db9f2(0x2c9),'d':'M0\x200H16V16H0z','transform':_0x5db9f2(0x1f5)}}]}]}],'defIds':['on-line-single_clip0_910_349']},$e=M[_0x5db9f2(0x2dd)](function(_0x517d83,_0x20975b){const _0x82df0=_0x5db9f2;return M[_0x82df0(0x2ce)](pe,Object[_0x82df0(0x334)]({},_0x517d83,{'id':_0x82df0(0x240),'ref':_0x20975b,'icon':Nt}));});$e['displayName']=_0x5db9f2(0x382);function Mt(_0x9e7e7){const _0x411573=_0x5db9f2;switch(_0x9e7e7){case u[_0x411573(0x257)][_0x411573(0x295)]:return _0x411573(0x1d4);case u[_0x411573(0x257)][_0x411573(0x287)]:return _0x411573(0x3a7);case u[_0x411573(0x257)][_0x411573(0x175)]:return _0x411573(0x22c);case u[_0x411573(0x257)][_0x411573(0x2f3)]:return _0x411573(0x352);case u[_0x411573(0x257)]['AWAITING']:case u[_0x411573(0x257)][_0x411573(0x1fd)]:return'collabStatus.syncing';case u[_0x411573(0x257)][_0x411573(0x2c7)]:case u[_0x411573(0x257)][_0x411573(0x357)]:return _0x411573(0x2a2);}}function xe(_0x46c2db){const _0x5db080=_0x5db9f2,{status$:_0x4e9d42}=_0x46c2db,_0x3cb527=T[_0x5db080(0x1c3)](_0x4e9d42,u['CollaborationStatus']['NOT_COLLAB']),_0x394b19=T['useDependency'](a[_0x5db080(0x2cf)]),_0x286f4a=T[_0x5db080(0x331)](u[_0x5db080(0x376)]),_0x24f591=_0x3cb527!==u['CollaborationStatus']['OFFLINE'],_0x754e5=_0x394b19['t'](Mt(_0x3cb527)),_0x32f0fa=_0x24f591?P[_0x5db080(0x16b)]($e,{}):P[_0x5db080(0x16b)](ye,{}),_0x13e8fc=M['useCallback'](()=>{_0x24f591||_0x286f4a['reconnect']();},[_0x24f591,_0x286f4a]);function _0x1aa0e3(){const _0x41ceec=_0x5db080;return P[_0x41ceec(0x3ca)](_0x41ceec(0x38c),{'className':_0x41ceec(0x3ea),'onClick':_0x13e8fc,'children':[P['jsx']('div',{'className':D['clsx'](_0x41ceec(0x3a4),_0x24f591?_0x41ceec(0x205):_0x41ceec(0x3d3)),'children':_0x32f0fa}),P[_0x41ceec(0x16b)](_0x41ceec(0x38c),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x754e5})]});}return _0x24f591?_0x1aa0e3():P[_0x5db080(0x16b)](D[_0x5db080(0x3e1)],{'title':_0x394b19['t'](_0x5db080(0x384)),'children':_0x1aa0e3()});}var Lt=Object['getOwnPropertyDescriptor'],Pt=(_0x25d92f,_0x4435ef,_0x185e9b,_0x2dde64)=>{const _0xb7561d=_0x5db9f2;for(var _0x2934ba=_0x2dde64>0x1?void 0x0:_0x2dde64?Lt(_0x4435ef,_0x185e9b):_0x4435ef,_0x48d8f1=_0x25d92f[_0xb7561d(0x229)]-0x1,_0x14d918;_0x48d8f1>=0x0;_0x48d8f1--)(_0x14d918=_0x25d92f[_0x48d8f1])&&(_0x2934ba=_0x14d918(_0x2934ba)||_0x2934ba);return _0x2934ba;},V=(_0x5047c1,_0xa8ee50)=>(_0x4fca67,_0x52bbdb)=>_0xa8ee50(_0x4fca67,_0x52bbdb,_0x5047c1);exports[_0x5db9f2(0x20a)]=class extends a[_0x5db9f2(0x309)]{constructor(_0x449a58,_0x5ef329,_0x653c0c,_0x437c61){const _0x17c8ff=_0x5db9f2;super(),h(this,_0x17c8ff(0x35a),new d[(_0x17c8ff(0x3b3))](u['CollaborationStatus'][_0x17c8ff(0x2f3)])),(this[_0x17c8ff(0x3d8)]=_0x449a58,this['_injector']=_0x5ef329,this[_0x17c8ff(0x282)]=_0x653c0c,this[_0x17c8ff(0x27f)]=_0x437c61,this[_0x17c8ff(0x271)](),this[_0x17c8ff(0x3b5)]());}['_initStatusListener'](){const _0x48e4c2=_0x5db9f2;this[_0x48e4c2(0x2a4)](this[_0x48e4c2(0x3d8)][_0x48e4c2(0x252)][_0x48e4c2(0x37b)](d[_0x48e4c2(0x2ef)](()=>{const _0x3713aa=_0x48e4c2,_0x377385=this['_univerInstanceService'][_0x3713aa(0x24e)]();return _0x377385?this[_0x3713aa(0x282)][_0x3713aa(0x344)](_0x377385['getUnitId']()):d['of'](null);}),d[_0x48e4c2(0x2ef)](_0x767421=>_0x767421?_0x767421['status$']:d['of'](u['CollaborationStatus'][_0x48e4c2(0x2f3)])))[_0x48e4c2(0x2dc)](_0x374fba=>{const _0x36e936=_0x48e4c2;this[_0x36e936(0x35a)][_0x36e936(0x1e5)](_0x374fba);}));}[_0x5db9f2(0x271)](){const _0x49cb=_0x5db9f2;this[_0x49cb(0x2a4)](this[_0x49cb(0x27f)][_0x49cb(0x396)](T[_0x49cb(0x226)][_0x49cb(0x2ba)],()=>T[_0x49cb(0x3dd)](wt({'status$':this[_0x49cb(0x35a)]['asObservable']()}),this[_0x49cb(0x17d)])));}},exports[_0x5db9f2(0x20a)]=Pt([V(0x0,a[_0x5db9f2(0x24f)]),V(0x1,a[_0x5db9f2(0x319)](a['Injector'])),V(0x2,a[_0x5db9f2(0x319)](u[_0x5db9f2(0x3ad)])),V(0x3,T[_0x5db9f2(0x3cb)])],exports[_0x5db9f2(0x20a)]);function wt(_0x224a0f){const {status$:_0x3c96d5}=_0x224a0f;return function(){const _0x4604dc=_0x5398;return P[_0x4604dc(0x16b)](xe,{'status$':_0x3c96d5});};}var At=Object[_0x5db9f2(0x3ce)],yt=(_0x153554,_0x5aa091,_0x2ec108,_0x1dd456)=>{const _0x19640f=_0x5db9f2;for(var _0x534265=_0x1dd456>0x1?void 0x0:_0x1dd456?At(_0x5aa091,_0x2ec108):_0x5aa091,_0x14b802=_0x153554[_0x19640f(0x229)]-0x1,_0x2529af;_0x14b802>=0x0;_0x14b802--)(_0x2529af=_0x153554[_0x14b802])&&(_0x534265=_0x2529af(_0x534265)||_0x534265);return _0x534265;},y=(_0x351516,_0x58241e)=>(_0x44cf20,_0x31493d)=>_0x58241e(_0x44cf20,_0x31493d,_0x351516);let K=class extends a[_0x5db9f2(0x309)]{constructor(_0x4f5120,_0x42bc75,_0x375c1c,_0x52bdab,_0x2d6811,_0x4a9adb){const _0x1b14d1=_0x5db9f2;super(),this['_beforeCloseService']=_0x4f5120,this['_localCacheService']=_0x42bc75,this[_0x1b14d1(0x1a2)]=_0x375c1c,this[_0x1b14d1(0x301)]=_0x52bdab,this['_notificationService']=_0x2d6811,this['_localeService']=_0x4a9adb,this[_0x1b14d1(0x20e)](),this[_0x1b14d1(0x1ff)]();}[_0x5db9f2(0x20e)](){const _0xfdcc0b=_0x5db9f2;this[_0xfdcc0b(0x2a4)](this[_0xfdcc0b(0x3d5)]['registerBeforeClose'](()=>{const _0x9cb48b=_0xfdcc0b;if(this['_localCacheService']['saveTaskMap'][_0x9cb48b(0x25b)])return this['_localeService']['t'](_0x9cb48b(0x3be));}));}[_0x5db9f2(0x1ff)](){const _0x5f051a=_0x5db9f2;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x5f051a(0x2dc)](_0x158899=>{const _0x56e13f=_0x5f051a;_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x1d9)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)]['Warning'],'content':this[_0x56e13f(0x17a)]['t']('collaboration.single-unit.warning')}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x3e9)]&&this['_messageService'][_0x56e13f(0x1a0)]({'type':D['MessageType'][_0x56e13f(0x39c)],'content':this[_0x56e13f(0x17a)]['t'](_0x56e13f(0x18b))}),_0x158899['id']===u[_0x56e13f(0x291)]['PERMISSION_DENIED']&&this[_0x56e13f(0x1cb)][_0x56e13f(0x1a0)]({'title':this[_0x56e13f(0x17a)]['t'](_0x56e13f(0x2d5)),'content':this['_localeService']['t'](_0x56e13f(0x18e)),'type':_0x56e13f(0x250),'duration':0x0}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x287)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)][_0x56e13f(0x2bc)],'content':this[_0x56e13f(0x17a)]['t']('collaboration.closeRoom')+'('+_0x158899[_0x56e13f(0x33d)]+')'}),_0x158899['id']===u[_0x56e13f(0x291)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)]['Warning'],'content':this[_0x56e13f(0x17a)]['t'](_0x158899[_0x56e13f(0x33d)]||'')}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x3c1)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)][_0x56e13f(0x39c)],'content':this[_0x56e13f(0x17a)]['t'](_0x56e13f(0x2e1))}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x341)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)]['Error'],'content':this[_0x56e13f(0x17a)]['t']('session.connection-failed')}),_0x158899['id']===u[_0x56e13f(0x291)][_0x56e13f(0x36d)]&&this[_0x56e13f(0x301)][_0x56e13f(0x1a0)]({'type':D[_0x56e13f(0x343)]['Error'],'content':this[_0x56e13f(0x17a)]['t'](_0x56e13f(0x2a8))});}));}};K=yt([y(0x0,T['IBeforeCloseService']),y(0x1,u['ILocalCacheService']),y(0x2,a[_0x5db9f2(0x319)](u['CollaborationUIEventService'])),y(0x3,T['IMessageService']),y(0x4,T[_0x5db9f2(0x340)]),y(0x5,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x2cf)]))],K);const $t='collaboration-client-ui.config',Ue={},be=a[_0x5db9f2(0x23b)]('uni.network.url-service');function _0x19b5(){const _0x1dff4a=['USERS_LEAVE','concat','fill','OFFLINE','CHANGESET_REVISION_CONFILICT','setItem','debounceTime','_entityInit$','closePath','RegularPolygon','addEventListener','isEditing','getSkeleton','key','name','UPDATE_CURSOR','collabStatus.synced','takeUntil','disposeWithMe','_render','has','_drawAnchor','session.collaboration-timeout','getSheetBySheetId','_initResize','_collabSessionService','InsertRowCommandId','distinctUntilChanged','_startSheetCollabCursor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','undoState','M0\x200H16V16H0z','_send','currentColor','font','verdancy600','transformSelections','_config','_themeService','_toggleOffline','HEADER_MENU','getCurrentSelections','Error','getValue','textRanges','call','_memberService','UNIVER_DOC','DocCollaborationEntity','imageSourceType','_dataLoaderService','ENSURE_SNAPSHOT_EXECUTION','eventID','SYNCED','href','#fff','SetTextSelectionsOperation','startRow','location','jiqing500','createElement','LocaleService','url(#on-line-single_clip0_910_349)','LICENSE_IMPORT_SIZE_EXCEEDED','asObservable','disposeUnit','syncEditingCollabCursor','permission.title','application/json','PY_RUNTIME_SCRIPT_ERROR','UNAUTHENTICATED','_onCursorDelete','_session','InsertRangeMoveRightCommandId','subscribe','forwardRef','RefRangeService','_colorIndex','IMessageService','session.will-retry','INVITE_CODE_ALREADY_BOUND','unit','RemoveRowCommandId','getSheetId','runId','search','univerjs-icon\x20univerjs-icon-','rxjs/operators','onPointerLeave$','_handleEvent','Unknown\x20user','6619496avkBvn','engine','switchMap','_shapes','collabCursorState$','Shape','NOT_COLLAB','@univerjs/docs-ui','EffectRefRangId','with','_syncEditingCollabCursorService','trim','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_registerDependencies','measureText','@univerjs/core','YUUMI_UNABLE_LOAD_URL','getStateCache','_cursor','saveOfflineData','_messageService','2287pSRmnN','WebSocketService','apply','ColorKit','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursorShapes','values','Disposable','CONNECTOR_DATA_TOO_LARGE','LOCAL_CACHE_INTERVAL','_collabCursorController','UNRECOGNIZED','collab-text-anchor-','drawWith','unload','path','getUnitId','evenodd','setInterval','clearTimeout','searchParams','UniverInstanceType','requireSession','Inject','APPLY_PERMISSION_DENIED','startColumn','max','Vector2','invokeId','entries','DataLoaderService','RxDisposable','react/jsx-runtime','PERMISSION_DENIED','setShapeProps','endRow','m2Prime','toRgbString','handleInsertCol','symbol','toDisposable','arc','onCommandExecuted','cursorInfo$','_scene','MoveRangeCommandId','fromEvent','useDependency','TEXT_RANGE_LAYER_INDEX','updateOfflineData','assign','set','_docSkeleton','getOffsetConfig','EMAIL_HAS_BEEN_BOUND','indexOf','findNodePositionByCharIndex','sessionStatus$','@univerjs/design','data','params','newValue','INotificationService','SOCKET_FAILED','_roomMembers$','MessageType','getCollabEntity$','_refreshCollabCursors','addObject','merge','displayName','xlink:href','_refRangeService','_imageIoService','11JRARzt','_anchorDot','_initCommandExecutedListener','url(#$1','addClipboardHook','isActive','collabStatus.notCollab','_context','subscribeEvent','_startDocCollabCursor','doc.mutation.rich-text-editing','PENDING','DocSkeletonManagerService','toString','_status$','setConfig','IDocClipboardService','getUndoRedoMutationParamsCache','_saveTaskMap','popstate','_getMergeRange','getParam','onMouseMove','icon','handleIRemoveCol','add','LICENSE_EXPORT_SIZE_EXCEEDED','rxjs','setAlpha','transformMutation','unshift','children','_removeCollabCursors','SUBMIT_CHANGESET_TIMEOUT','none','INVALID_ARGUMENT','redoState','YUUMI_RATE_OVER_LIMIT','getLocalCacheKey','SetSelectionsOperation','IConfigService','skeleton','CollaborationSessionService','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/engine-formula','_transformService','IRenderManagerService','pipe','collab-rect-range-','getCoordByCell','origin','TEXT','_id','fillStyle','OnLineSingle','DocSelectionManagerService','collab-client.tooltip.reconnect','subUnitId','LICENSE_DISTRO_REJECTED','_sheetSkeletonManagerService','transformIMECache','_onCursorUpdate','svg','_online','div','sheetId','off-line-single_clip0_910_343','restore','getItem','@univerjs/sheets-ui','createSocket','moveTo','idSuffix','_textBubble','registerComponent','_docStateChangeManagerService','_docTransformIMECacheService','MOBILE_HAS_BEEN_BOUND','actions','_disabled','Warning','OTHER_CLIENTS_EDITING','forEach','row','_scheduleClearOtherTimer','IImageIoService','loadOfflineData','RemoteUniscriptService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','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','onRendered','collabStatus.conflict','editingUnit','DOC_RANGE_TYPE','handleInsertRangeMoveRight','InsertColCommandId','_getSaveTimeout','CollaborationController','stringify','all','getRelativeToViewportCoord','_handleLeaveEvent','string','BehaviorSubject','purple300','_initStatusListener','FromArray','handleDeleteRangeMoveLeft','ICommandService','_unitStatus','32iIFQMH','@univerjs-pro/collaboration-client','ITransformService','COMPLETION_FINISHED','collaboration-client.offline-data-not-saved','Plugin','memberID','SOCKET_FAILED_RETRY','setUndoRedoMutationParamsCache','_hovered','APPLY_REVISION_CONFILICT','split','send','dispose$','getOwnPropertySymbols','getCurrentRevOfUnit','jsxs','IUIPartsService','history','Failed','getOwnPropertyDescriptor','getSheetObject','_drawRectRange','Optional','SetDocZoomRatioOperation','univer-text-red-500','Rectangle','_beforeCloseService','from','min','_univerInstanceService','current','onTransformChange$','isTransformMutationFailure','onStarting','connectInjector','_transformPreviousActiveRange','handleMoveRange','_setupSubUnitSync','Tooltip','getActiveSheet','propertyIsEnumerable','_cursorInfo$','NodePositionConvertToCursor','tag','getColor','DocStateChangeManagerService','CLOSE_ROOM','univer-flex\x20univer-items-center','INTERNAL_ERROR','_draw','getUnitStatus$','CollaborationSocketService','getMember','DisposableCollection','SheetsSelectionsService','2035059QthXUx','CollaborationEvent','addHandlerCallback','jsx','_init','fromEventSubject','ONLINE','_instanceService','substring','code','_docTransformSelectionsService','_eventUnsubscribe','function','FETCH_MISS','random','[CollaborationDataLoaderController]','UNIVER_SHEET','_removeClearOtherTimer','_localeService','NO_OTHER_CLIENTS_EDITING','_lastPointer','_injector','WebURLService','_getScale','ALREADY_EXISTS','APPLY_DUPLICATED','_hover','DocIMEInputManagerService','MUTATION','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','_renderManagerService','registerDependencies','m1Prime','APPLY_REJECT','collaboration.closeRoom','INVITE_CODE_REQUIRED','contains','permission.content','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/drawing','@univerjs/engine-render','replaceState','1em','5950190DIWNnb','urlChange$','hide','width','ILogService','bottom','_handleHover','fillText','docStateChange$','_updateCollabCursors','filter','SetWorksheetActivateCommand','show','defineProperty','_collaborationUIEventService','defIds','handleInsertRow','APPLY_NON_SEQUENTIAL_REVISION','USER_NOT_INVITED_CODE','column','replaceDocRanges','_scheduleHeartbeat','delete','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','UniverCollaborationClientUIPlugin','IURLService','_docClipboardService','_saveCache','_initDependencies','Workbook','get','toStringTag','RichTextEditingMutation','ILocalStorageService','touchDependencies','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursors','mutations','range','_color','onPointerEnter$','unitId','1331604rAMCyh','use','complete','selections','_docSyncEditingCollabCursorService','useObservable','lineTo','5FgKweb','_entities','transformMutationsWithChangeset','SNAPSHOT_INVALID_SNAPSHOT','selection','UNDEFINED','_notificationService','RemoveColCommandId','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','Tools','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','isTransformMutationsWithChangesetSuccess','_heartbeatTimer','then','collabStatus.offline','blue400','_transformUndoRedoStack','deepClone','includes','OTHER_CLIENT_EDITING','DeleteRangeMoveUpCommandId','_cachedData','unitID','_initEntityListener','NOT_FOUND','event$','push','_backgroundColor','Module','executeCommand','_logService','next','_range','_getSessionTicket','CommandType','getTypeOfUnitAdded$','_onRefRangeChange','setParam','_toggleOnline','height','Rect','ACTIVE_UNIT_EVENT_CHANNEL','transform','HTTPService','currentTheme$','RevisionService','hovered','translate(.97)','save','body','onLocalMutation','getConfig','InsertRangeMoveDownCommandId','on-line-single_clip0_910_349','round','AWAITING_WITH_PENDING','_commandService','_initEvent','setActiveRange','_configService','generateRandomId','INVITE_CODE_HAS_BEEN_UES','Injector','univer-text-green-500','LOCAL_CACHE_INTERVAL_KEY','_docSkeletonManagerService','_drawTextRange','@univerjs/docs','DesktopCollaborationStatusDisplayController','_localStorageService','useRef','currentSkeleton$','_setupBeforeClosingHandler','mergeOverrideWithDependencies','hasOwnProperty','_docTransformStateCacheService','189QrtrFC','_handleJoinEvent','TOO_MANY_REQUESTS','debounce','getCollabCursors$','OffLineSingle','registerRenderModule','assignAColorForMemberID','605504UWYuYO','backgroundColor','4589557XrcPQc','roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','collab-text-range-','YUUMI_URL_COL_OUT_OF_RANGE','_labelPosition','black','enableLocalCache','@univerjs/sheets','WECHAT_HAS_BEEN_BOUND','BuiltInUIPart','_unitOnClients','defs','length','replace','registerRefRange','collabStatus.fetchMiss','DEFAULT_WS_SESSION_TICKET_URL','top','saveTaskMap','map','attrs','onPointerMove$','_anchor','setTimeout','UniverIcon','@univerjs/ui','disableLocalCache','transformRemoteChangeset','getAncestorScale','transformStateCache','createIdentifier','_clearOtherTimers','_updateLocalCursor','LOGIN_FAILED','SheetSkeletonManagerService','on-line-single','handleDeleteRangeMoveUp','throttleTime','saveImage','runOnServer','text','getRenderById','_scheduleSaving','getMergeData','getRangePointData','getCurrent','url(#off-line-single_clip0_910_343)','sessionTicket','_getSheetObject','getFocusedUnit','IUniverInstanceService','error','getCurrentUnitForType','focused$','subunit','init','sheetID','COLORS','CollaborationStatus','combineLatest','cursorInfo','_handleHeartbeatEvent','size','colorChannel1','MemberService','dispose','_selfUnitIDs','mask','UnitStatus','CollaborationDataLoaderController','ranges','shareReplay','_name','gold400','roomMembers','unsubscribe','clearInterval','ISocketService','_collabCursorState$','exhaustSavingTask','YUUMI_ASYNCIO_CANCELLED','clipPath','isArray','_urlService','_initStatusComponent','makeDirty','RECT','getTypeOfUnitDisposed$','DeleteRangeMoveLeftCommandId','getVpScrollXYInfoByPosToVp','@univerjs/rpc','UniverCollaborationClientPlugin','...','INVALID_INVITE_CODE','red300','WebBrowserSingleActiveUnitService','ThemeService','prototype','_uiPartsService','_assignedColors','_hideTimer','_collaborationController','getUnhiddenWorksheets','ticket','pushState','_httpService','CONFLICT','_createSocketURL','_updateSubUnitFromURLParams','_transformHistoryAndStateStack','className','beginPath','BrowserCollaborationSocketService','color','createInstance','_ensureSubject','CollaborationUIEventId'];_0x19b5=function(){return _0x1dff4a;};return _0x19b5();}var xt=Object[_0x5db9f2(0x3ce)],jt=(_0x4c6730,_0x5f36c3,_0x151867,_0x333040)=>{const _0x1b5465=_0x5db9f2;for(var _0x346501=_0x333040>0x1?void 0x0:_0x333040?xt(_0x5f36c3,_0x151867):_0x5f36c3,_0x3d766f=_0x4c6730[_0x1b5465(0x229)]-0x1,_0x3d67da;_0x3d766f>=0x0;_0x3d766f--)(_0x3d67da=_0x4c6730[_0x3d766f])&&(_0x346501=_0x3d67da(_0x346501)||_0x346501);return _0x346501;},H=(_0x18c5e0,_0x592917)=>(_0x1d32f6,_0xd807c4)=>_0x592917(_0x1d32f6,_0xd807c4,_0x18c5e0);exports['CollaborationDataLoaderController']=class extends a[_0x5db9f2(0x321)]{constructor(_0x20e743,_0x28b736,_0x4737f2,_0x3faafd,_0x38499f){const _0x3e78f9=_0x5db9f2;super(),this[_0x3e78f9(0x270)]=_0x20e743,this[_0x3e78f9(0x1e4)]=_0x28b736,this[_0x3e78f9(0x1fe)]=_0x4737f2,this[_0x3e78f9(0x2c4)]=_0x3faafd,_0x38499f?_0x38499f==null||_0x38499f['whenReady']()[_0x3e78f9(0x1d3)](()=>this[_0x3e78f9(0x16c)]()):(this[_0x3e78f9(0x1e4)]['debug'](_0x3e78f9(0x177),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x5a72d6=_0x5db9f2,_0x19df2b=this['_urlService'][_0x5a72d6(0x361)]('unit'),_0x87af6e=this[_0x5a72d6(0x270)][_0x5a72d6(0x361)]('type'),_0x482d1c=this[_0x5a72d6(0x270)]['getParam'](_0x5a72d6(0x253));if(!_0x19df2b||!_0x87af6e){this[_0x5a72d6(0x1e4)]['debug'](_0x5a72d6(0x177),_0x5a72d6(0x1d0));return;}const _0x5c6272=await this[_0x5a72d6(0x2c4)]['loadUnit'](_0x19df2b,Number(_0x87af6e),_0x482d1c);_0x5c6272&&_0x5c6272 instanceof a[_0x5a72d6(0x1b1)]&&this[_0x5a72d6(0x3e0)](_0x5c6272);}async[_0x5db9f2(0x3e0)](_0x16937b){const _0x1ff289=_0x5db9f2;await this[_0x1ff289(0x289)](_0x16937b),_0x16937b['activeSheet$'][_0x1ff289(0x37b)](d[_0x1ff289(0x2a3)](this['dispose$']))[_0x1ff289(0x2dc)](_0x1c8b73=>{_0x1c8b73&&this['_updateURLWithCurrentState'](_0x1c8b73);}),this[_0x1ff289(0x270)]['urlChange$'][_0x1ff289(0x37b)](d[_0x1ff289(0x2a3)](this['dispose$']))[_0x1ff289(0x2dc)](()=>this[_0x1ff289(0x289)](_0x16937b));}['_updateURLWithCurrentState'](_0x37762a,_0x4e56b5=!0x1){const _0x503601=_0x5db9f2,_0x5a25c0=this[_0x503601(0x270)][_0x503601(0x361)](_0x503601(0x253));_0x37762a[_0x503601(0x2e5)]()!==_0x5a25c0&&this['_urlService']['setParam'](_0x503601(0x253),_0x37762a[_0x503601(0x2e5)](),_0x4e56b5);}async['_updateSubUnitFromURLParams'](_0x3b7186){const _0x1bfba5=_0x5db9f2;var _0x574a8d;const _0x58564c=this[_0x1bfba5(0x270)][_0x1bfba5(0x361)](_0x1bfba5(0x253));if(!_0x58564c||!_0x3b7186[_0x1bfba5(0x2a9)](_0x58564c)){const _0x154be6=_0x3b7186[_0x1bfba5(0x283)]()[0x0],_0x448d24=_0x3b7186[_0x1bfba5(0x2a9)](_0x154be6);if(!_0x448d24)return;this['_updateURLWithCurrentState'](_0x448d24,!0x0),await this['_commandService'][_0x1bfba5(0x1e3)](g[_0x1bfba5(0x19f)]['id'],{'unitId':_0x3b7186[_0x1bfba5(0x312)](),'subUnitId':_0x154be6});return;}((_0x574a8d=_0x3b7186['getActiveSheet']())==null?void 0x0:_0x574a8d[_0x1bfba5(0x2e5)]())!==_0x58564c&&await this[_0x1bfba5(0x1fe)][_0x1bfba5(0x1e3)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3b7186[_0x1bfba5(0x312)](),'subUnitId':_0x58564c});}},exports[_0x5db9f2(0x262)]=jt([H(0x0,be),H(0x1,a[_0x5db9f2(0x198)]),H(0x2,a['ICommandService']),H(0x3,a['Inject'](u[_0x5db9f2(0x320)])),H(0x4,a[_0x5db9f2(0x3d1)](qe['IRemoteInstanceService']))],exports[_0x5db9f2(0x262)]);var Bt=Object[_0x5db9f2(0x3ce)],kt=(_0x843323,_0x4f2bf6,_0x524d2d,_0x31eac9)=>{const _0x1a3557=_0x5db9f2;for(var _0x412b86=_0x31eac9>0x1?void 0x0:_0x31eac9?Bt(_0x4f2bf6,_0x524d2d):_0x4f2bf6,_0x3adc14=_0x843323[_0x1a3557(0x229)]-0x1,_0x47818e;_0x3adc14>=0x0;_0x3adc14--)(_0x47818e=_0x843323[_0x3adc14])&&(_0x412b86=_0x47818e(_0x412b86)||_0x412b86);return _0x412b86;},ce=(_0x373775,_0x145931)=>(_0x588342,_0x287b79)=>_0x145931(_0x588342,_0x287b79,_0x373775);let z=class{constructor(_0x114754,_0x20c265,_0x4afbce){const _0x12aba7=_0x5db9f2;this[_0x12aba7(0x17d)]=_0x114754,this[_0x12aba7(0x379)]=_0x20c265,this[_0x12aba7(0x187)]=_0x4afbce;}[_0x5db9f2(0x388)](_0x1bfee7){const _0x2312db=_0x5db9f2;this[_0x2312db(0x1d6)](_0x1bfee7),this['_transformPreviousActiveRange'](_0x1bfee7);}[_0x5db9f2(0x238)](_0x110b49){const _0x5ba33c=_0x5db9f2,{unitID:_0x1ff86c}=_0x110b49,_0x14c7f7=this[_0x5ba33c(0x187)][_0x5ba33c(0x246)](_0x1ff86c)[_0x5ba33c(0x2f6)](b[_0x5ba33c(0x183)]),{redoCache:_0x5236dd}=_0x14c7f7['getUndoRedoMutationParamsCache']();if(_0x5236dd['length']===0x0)return _0x110b49;let _0x4cd2d5=a[_0x5ba33c(0x1cf)]['deepClone'](_0x110b49[_0x5ba33c(0x1b9)][0x0]);for(let _0x937ba=0x0;_0x937ba<_0x5236dd[_0x5ba33c(0x229)];_0x937ba++){const _0x268657={'id':'doc.mutation.rich-text-editing','params':{..._0x5236dd[_0x937ba]}},_0x4590e0=this['_transformService']['transformMutation'](_0x4cd2d5,_0x268657,!0x1);if(m['isTransformMutationFailure'](_0x4590e0))throw _0x4590e0[_0x5ba33c(0x250)];_0x4cd2d5=_0x4590e0['m1Prime'];}return{...a['Tools'][_0x5ba33c(0x1d7)](_0x110b49),'mutations':[_0x4cd2d5]};}[_0x5db9f2(0x1d6)](_0x2910f3){const _0x2f0eeb=_0x5db9f2,{unitID:_0x149f45}=_0x2910f3,_0x39a62a=this[_0x2f0eeb(0x187)][_0x2f0eeb(0x246)](_0x149f45)['with'](b[_0x2f0eeb(0x183)]),{undoCache:_0x2da5c8,redoCache:_0x208eb5}=_0x39a62a[_0x2f0eeb(0x35d)]();if(_0x2da5c8[_0x2f0eeb(0x229)]===0x0||_0x208eb5[_0x2f0eeb(0x229)]===0x0)return;const _0x4654cf=[],_0x26f52b=[];let _0x4cf5c5=a[_0x2f0eeb(0x1cf)]['deepClone'](_0x2910f3[_0x2f0eeb(0x1b9)][0x0]),_0xa4dede=a[_0x2f0eeb(0x1cf)][_0x2f0eeb(0x1d7)](_0x2910f3[_0x2f0eeb(0x1b9)][0x0]);for(let _0x222d7c=_0x2da5c8['length']-0x1;_0x222d7c>=0x0;_0x222d7c--){const _0x35328c={'id':_0x2f0eeb(0x356),'params':{..._0x2da5c8[_0x222d7c]}},_0x27e28e={'id':_0x2f0eeb(0x356),'params':{..._0x208eb5[_0x222d7c]}},_0x1af628=this[_0x2f0eeb(0x379)][_0x2f0eeb(0x369)](_0x4cf5c5,_0x35328c,!0x1),_0x2e09e0=this[_0x2f0eeb(0x379)][_0x2f0eeb(0x369)](_0xa4dede,_0x27e28e,!0x1);if(m[_0x2f0eeb(0x3db)](_0x1af628))throw _0x1af628[_0x2f0eeb(0x250)];if(m['isTransformMutationFailure'](_0x2e09e0))throw _0x2e09e0[_0x2f0eeb(0x250)];_0x4654cf[_0x2f0eeb(0x36a)](_0x1af628[_0x2f0eeb(0x326)][_0x2f0eeb(0x33e)]),_0x26f52b['unshift'](_0x2e09e0['m2Prime'][_0x2f0eeb(0x33e)]),_0x4cf5c5=_0x1af628[_0x2f0eeb(0x189)],_0xa4dede=_0x2e09e0[_0x2f0eeb(0x189)];}_0x39a62a[_0x2f0eeb(0x3c2)]({'undoCache':_0x4654cf,'redoCache':_0x26f52b});}[_0x5db9f2(0x3de)](_0x36a868){const _0x141af2=_0x5db9f2,{unitID:_0x5b157e}=_0x36a868,_0x564248=this[_0x141af2(0x187)]['getRenderById'](_0x5b157e)[_0x141af2(0x2f6)](b[_0x141af2(0x183)]),_0x2f2366=_0x564248['getActiveRange']();if(_0x2f2366==null)return;const _0xb8a58b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a868['unitID'],'actions':null,'textRanges':[_0x2f2366]}}],_0x4ed556=this[_0x141af2(0x379)]['transformMutationsWithChangeset'](_0x36a868,_0xb8a58b);if(!m[_0x141af2(0x1d1)](_0x4ed556))throw _0x4ed556[_0x141af2(0x250)];const _0xc6fdc3=_0x4ed556[_0x141af2(0x326)][0x0][_0x141af2(0x33e)][_0x141af2(0x2be)];Array['isArray'](_0xc6fdc3)&&_0xc6fdc3[_0x141af2(0x229)]&&_0x564248[_0x141af2(0x200)](_0xc6fdc3[0x0]);}};z=kt([ce(0x0,a['Inject'](a[_0x5db9f2(0x204)])),ce(0x1,m[_0x5db9f2(0x3bc)]),ce(0x2,p['IRenderManagerService'])],z);var Ht=Object[_0x5db9f2(0x3ce)],Ft=(_0x39b147,_0x175893,_0x3ea71f,_0x1e9921)=>{const _0x47686b=_0x5db9f2;for(var _0x4b5267=_0x1e9921>0x1?void 0x0:_0x1e9921?Ht(_0x175893,_0x3ea71f):_0x175893,_0x11b968=_0x39b147[_0x47686b(0x229)]-0x1,_0x3acf00;_0x11b968>=0x0;_0x11b968--)(_0x3acf00=_0x39b147[_0x11b968])&&(_0x4b5267=_0x3acf00(_0x4b5267)||_0x4b5267);return _0x4b5267;},le=(_0x65dee1,_0x2cc0a9)=>(_0x58e603,_0x36276b)=>_0x2cc0a9(_0x58e603,_0x36276b,_0x65dee1);let J=class{constructor(_0x59cc8e,_0x197dc5,_0x17f320){const _0x539551=_0x5db9f2;this[_0x539551(0x17d)]=_0x59cc8e,this[_0x539551(0x379)]=_0x197dc5,this[_0x539551(0x397)]=_0x17f320;}['transformStateCache'](_0x8f8405){const _0x227cd5=_0x5db9f2;this[_0x227cd5(0x28a)](_0x8f8405);}[_0x5db9f2(0x238)](_0x46a951){const _0x3f085c=_0x5db9f2,{unitID:_0xb14d7f}=_0x46a951,{collaboration:_0xf62754}=this[_0x3f085c(0x397)][_0x3f085c(0x2fe)](_0xb14d7f);if(_0xf62754[_0x3f085c(0x229)]===0x0)return _0x46a951;let _0x2183ae=a[_0x3f085c(0x1cf)]['deepClone'](_0x46a951[_0x3f085c(0x1b9)][0x0]);for(let _0x5366fc=0x0;_0x5366fc<_0xf62754['length'];_0x5366fc++){const _0x4852d8={'id':_0x3f085c(0x356),'params':{'unitId':_0xf62754[_0x5366fc]['unitId'],..._0xf62754[_0x5366fc][_0x3f085c(0x370)]}},_0x506578=this['_transformService'][_0x3f085c(0x369)](_0x2183ae,_0x4852d8,!0x1);if(m[_0x3f085c(0x3db)](_0x506578))throw _0x506578['error'];_0x2183ae=_0x506578[_0x3f085c(0x189)];}return{...a[_0x3f085c(0x1cf)][_0x3f085c(0x1d7)](_0x46a951),'mutations':[_0x2183ae]};}[_0x5db9f2(0x28a)](_0x4dfcf6){const _0x473e44=_0x5db9f2,{unitID:_0x33c628}=_0x4dfcf6,{history:_0xa82619,collaboration:_0x1fb353}=this[_0x473e44(0x397)][_0x473e44(0x2fe)](_0x33c628);if(_0xa82619[_0x473e44(0x229)]===0x0&&_0x1fb353[_0x473e44(0x229)]===0x0)return;const _0x12a1e0=[],_0x272322=[];let _0x3ac84f=a[_0x473e44(0x1cf)][_0x473e44(0x1d7)](_0x4dfcf6[_0x473e44(0x1b9)][0x0]),_0x1ba24a=a[_0x473e44(0x1cf)][_0x473e44(0x1d7)](_0x4dfcf6[_0x473e44(0x1b9)][0x0]);for(let _0x3e424b=_0xa82619[_0x473e44(0x229)]-0x1;_0x3e424b>=0x0;_0x3e424b--){const _0x464349={'id':_0x473e44(0x356),'params':{'unitId':_0xa82619[_0x3e424b]['unitId'],..._0xa82619[_0x3e424b][_0x473e44(0x2b0)]}},_0x36d513={'id':_0x473e44(0x356),'params':{'unitId':_0xa82619[_0x3e424b][_0x473e44(0x1bd)],..._0xa82619[_0x3e424b][_0x473e44(0x370)]}},_0x500a30=this['_transformService'][_0x473e44(0x369)](_0x3ac84f,_0x464349,!0x1),_0x1cc1fb=this[_0x473e44(0x379)][_0x473e44(0x369)](_0x1ba24a,_0x36d513,!0x1);if(m[_0x473e44(0x3db)](_0x500a30))throw _0x500a30[_0x473e44(0x250)];if(m[_0x473e44(0x3db)](_0x1cc1fb))throw _0x1cc1fb[_0x473e44(0x250)];_0x12a1e0[_0x473e44(0x36a)]({..._0xa82619[_0x3e424b],'undoState':_0x500a30[_0x473e44(0x326)][_0x473e44(0x33e)],'redoState':_0x1cc1fb[_0x473e44(0x326)][_0x473e44(0x33e)]}),_0x3ac84f=_0x500a30[_0x473e44(0x189)],_0x1ba24a=_0x1cc1fb[_0x473e44(0x189)];}_0x3ac84f=a[_0x473e44(0x1cf)][_0x473e44(0x1d7)](_0x4dfcf6[_0x473e44(0x1b9)][0x0]),_0x1ba24a=a[_0x473e44(0x1cf)]['deepClone'](_0x4dfcf6['mutations'][0x0]);for(let _0x5f0121=_0x1fb353[_0x473e44(0x229)]-0x1;_0x5f0121>=0x0;_0x5f0121--){const _0x57f74f={'id':_0x473e44(0x356),'params':{'unitId':_0x1fb353[_0x5f0121]['unitId'],..._0x1fb353[_0x5f0121][_0x473e44(0x2b0)]}},_0x10de4e={'id':_0x473e44(0x356),'params':{'unitId':_0x1fb353[_0x5f0121]['unitId'],..._0x1fb353[_0x5f0121][_0x473e44(0x370)]}},_0x2ff040=this['_transformService'][_0x473e44(0x369)](_0x3ac84f,_0x57f74f,!0x1),_0x2d3dc4=this['_transformService'][_0x473e44(0x369)](_0x1ba24a,_0x10de4e,!0x1);if(m[_0x473e44(0x3db)](_0x2ff040))throw _0x2ff040[_0x473e44(0x250)];if(m[_0x473e44(0x3db)](_0x2d3dc4))throw _0x2d3dc4[_0x473e44(0x250)];_0x272322[_0x473e44(0x36a)]({..._0x1fb353[_0x5f0121],'undoState':_0x2ff040[_0x473e44(0x326)]['params'],'redoState':_0x2d3dc4[_0x473e44(0x326)][_0x473e44(0x33e)]}),_0x3ac84f=_0x2ff040[_0x473e44(0x189)],_0x1ba24a=_0x2d3dc4['m1Prime'];}this[_0x473e44(0x397)]['setStateCache'](_0x33c628,{'history':_0x12a1e0,'collaboration':_0x272322});}};J=Ft([le(0x0,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x204)])),le(0x1,m['ITransformService']),le(0x2,a[_0x5db9f2(0x319)](b['DocStateChangeManagerService']))],J);var Wt=Object[_0x5db9f2(0x3ce)],Yt=(_0x3d7cb4,_0x3c3e2f,_0x3ccd76,_0x4b4c4e)=>{const _0x1db520=_0x5db9f2;for(var _0x56d5db=_0x4b4c4e>0x1?void 0x0:_0x4b4c4e?Wt(_0x3c3e2f,_0x3ccd76):_0x3c3e2f,_0x4a3e43=_0x3d7cb4[_0x1db520(0x229)]-0x1,_0x19ecf9;_0x4a3e43>=0x0;_0x4a3e43--)(_0x19ecf9=_0x3d7cb4[_0x4a3e43])&&(_0x56d5db=_0x19ecf9(_0x56d5db)||_0x56d5db);return _0x56d5db;},Ne=(_0xe8e5ec,_0x5620b5)=>(_0x1eded0,_0x40f00b)=>_0x5620b5(_0x1eded0,_0x40f00b,_0xe8e5ec);let Z=class{constructor(_0x309138,_0x58c2b6){const _0x31eea6=_0x5db9f2;this[_0x31eea6(0x17d)]=_0x309138,this[_0x31eea6(0x379)]=_0x58c2b6;}[_0x5db9f2(0x2b6)](_0x40a804){const _0x288ffd=_0x5db9f2;var _0x2b424d;const _0x57480=this[_0x288ffd(0x17d)][_0x288ffd(0x1b2)](W[_0x288ffd(0x383)]),_0x4fb6e5=(_0x2b424d=_0x57480['getDocRanges']())!=null?_0x2b424d:[];if(_0x4fb6e5[_0x288ffd(0x229)]===0x0)return;const _0x1d4393=_0x40a804[_0x288ffd(0x1dc)],_0x53f8d6=[{'id':_0x288ffd(0x356),'params':{'unitId':_0x1d4393,'actions':null,'textRanges':_0x4fb6e5}}],_0x581f99=this[_0x288ffd(0x379)][_0x288ffd(0x1c7)](_0x40a804,_0x53f8d6);if(!m[_0x288ffd(0x1d1)](_0x581f99))throw _0x581f99['error'];const _0x44c28b=_0x581f99['m2Prime'][0x0][_0x288ffd(0x33e)][_0x288ffd(0x2be)];Array[_0x288ffd(0x26f)](_0x44c28b)&&_0x44c28b[_0x288ffd(0x229)]&&_0x57480[_0x288ffd(0x1a8)](_0x44c28b,{'unitId':_0x1d4393,'subUnitId':_0x1d4393},!0x1);}};Z=Yt([Ne(0x0,a[_0x5db9f2(0x319)](a[_0x5db9f2(0x204)])),Ne(0x1,m[_0x5db9f2(0x3bc)])],Z);var Vt=Object[_0x5db9f2(0x3ce)],Xt=(_0xdc01eb,_0x5e7589,_0x2faf16,_0x5621f3)=>{for(var _0x5d1e51=_0x5621f3>0x1?void 0x0:_0x5621f3?Vt(_0x5e7589,_0x2faf16):_0x5e7589,_0xee752a=_0xdc01eb['length']-0x1,_0x606f2e;_0xee752a>=0x0;_0xee752a--)(_0x606f2e=_0xdc01eb[_0xee752a])&&(_0x5d1e51=_0x606f2e(_0x5d1e51)||_0x5d1e51);return _0x5d1e51;},N=(_0x172f63,_0x4f3450)=>(_0x31e877,_0x4ef0df)=>_0x4f3450(_0x31e877,_0x4ef0df,_0x172f63);let Q=class extends a['Disposable']{constructor(_0xff17c9,_0x1aef2b,_0x1674e4,_0x170979,_0x5c3369,_0x3a93a3,_0x46e70a,_0x2d51fb){const _0x2988a9=_0x5db9f2;super(),h(this,_0x2988a9(0x35a),new d[(_0x2988a9(0x3b3))](u[_0x2988a9(0x257)][_0x2988a9(0x2f3)])),(this[_0x2988a9(0x397)]=_0xff17c9,this[_0x2988a9(0x282)]=_0x1aef2b,this['_docTransformIMECacheService']=_0x1674e4,this[_0x2988a9(0x211)]=_0x170979,this[_0x2988a9(0x172)]=_0x5c3369,this['_docSyncEditingCollabCursorService']=_0x3a93a3,this[_0x2988a9(0x301)]=_0x46e70a,this[_0x2988a9(0x17a)]=_0x2d51fb,this[_0x2988a9(0x1dd)]());}[_0x5db9f2(0x1dd)](){const _0x445096=_0x5db9f2;this[_0x445096(0x2a4)](this[_0x445096(0x282)]['entityInit$']['subscribe'](_0xdf089c=>{const _0x29819c=_0x445096,_0x26f110=this['_docStateChangeManagerService'][_0x29819c(0x19c)][_0x29819c(0x2dc)](_0x5b1cc4=>{const _0x519f61=_0x29819c;if(_0x5b1cc4==null)return;const {unitId:_0x445972,redoState:_0x2cb7cd,commandId:_0x1e450f}=_0x5b1cc4;if(_0x445972!==_0xdf089c['unitID'])return;const _0x15449f={'id':_0x1e450f,'type':a[_0x519f61(0x1e8)][_0x519f61(0x184)],'params':{'unitId':_0x445972,'actions':_0x2cb7cd[_0x519f61(0x39a)],'textRanges':null}};_0xdf089c[_0x519f61(0x1f8)](_0x15449f);});if(_0xdf089c[_0x29819c(0x2a4)](_0x26f110),_0xdf089c instanceof u[_0x29819c(0x2c2)]){const _0x2ef88c={'onTransformIME':_0x9fe936=>this[_0x29819c(0x398)]['transformIMECache'](_0x9fe936),'onTransformState':_0x4a1b67=>this[_0x29819c(0x211)][_0x29819c(0x23a)](_0x4a1b67),'onTransformSelections':_0x3258b0=>this['_docTransformSelectionsService'][_0x29819c(0x2b6)](_0x3258b0),'onSyncEditingCollabCursor':_0x1ee9e2=>this[_0x29819c(0x1c2)][_0x29819c(0x2d4)](_0x1ee9e2),'onTransformRemoteChangesetByIMECache':_0x41aab3=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x41aab3),'onTransformRemoteChangesetByStateCache':_0x2c9cfc=>this[_0x29819c(0x211)][_0x29819c(0x238)](_0x2c9cfc)};_0xdf089c[_0x29819c(0x16a)](_0x2ef88c);}}));}};Q=Xt([N(0x0,a[_0x5db9f2(0x319)](b[_0x5db9f2(0x3e8)])),N(0x1,a[_0x5db9f2(0x319)](u['CollaborationController'])),N(0x2,a[_0x5db9f2(0x319)](z)),N(0x3,a[_0x5db9f2(0x319)](J)),N(0x4,a[_0x5db9f2(0x319)](Z)),N(0x5,a[_0x5db9f2(0x319)](Ce)),N(0x6,T[_0x5db9f2(0x2e0)]),N(0x7,a['Inject'](a[_0x5db9f2(0x2cf)]))],Q);var Gt=Object[_0x5db9f2(0x3ce)],qt=(_0x150be0,_0x2b3cea,_0x12c632,_0x5461f2)=>{const _0x5cb7bc=_0x5db9f2;for(var _0x405aa8=_0x5461f2>0x1?void 0x0:_0x5461f2?Gt(_0x2b3cea,_0x12c632):_0x2b3cea,_0x34f1d2=_0x150be0[_0x5cb7bc(0x229)]-0x1,_0x6a403c;_0x34f1d2>=0x0;_0x34f1d2--)(_0x6a403c=_0x150be0[_0x34f1d2])&&(_0x405aa8=_0x6a403c(_0x405aa8)||_0x405aa8);return _0x405aa8;},_e=(_0x58a49f,_0xdbdcc1)=>(_0x3fc47b,_0x24ae22)=>_0xdbdcc1(_0x3fc47b,_0x24ae22,_0x58a49f);let ge=class extends a['Disposable']{constructor(_0x895c08,_0x579ccc,_0x500dba){const _0x572305=_0x5db9f2;super(),h(this,_0x572305(0x1db),new Map()),h(this,_0x572305(0x35e),new Map()),h(this,_0x572305(0x39b),!0x1),(this['_configService']=_0x895c08,this[_0x572305(0x20b)]=_0x579ccc,this['_revisionService']=_0x500dba);}[_0x5db9f2(0x237)](){this['_disabled']=!0x0;}[_0x5db9f2(0x223)](){const _0x1412d6=_0x5db9f2;this[_0x1412d6(0x39b)]=!0x1;}get[_0x5db9f2(0x22f)](){const _0x9a9c52=_0x5db9f2;return this[_0x9a9c52(0x35e)];}[_0x5db9f2(0x25e)](){const _0x3702a8=_0x5db9f2;this[_0x3702a8(0x26c)]()['then'](()=>super[_0x3702a8(0x25e)]());}async[_0x5db9f2(0x3a2)](_0x3deb4f){const _0x19cca2=_0x5db9f2;return this[_0x19cca2(0x39b)]?null:this[_0x19cca2(0x20b)][_0x19cca2(0x390)](u[_0x19cca2(0x372)](_0x3deb4f));}async[_0x5db9f2(0x300)](_0x4d5917,_0x363598){const _0x770de0=_0x5db9f2;return!!this[_0x770de0(0x20b)][_0x770de0(0x297)](_0x4d5917,_0x363598);}[_0x5db9f2(0x333)](_0x241192,_0x24cf10,_0xcdee30,_0x1170b8){const _0x40336d=_0x5db9f2,_0x34f9b3=this['_revisionService'][_0x40336d(0x3c9)](_0x241192);this['_cachedData'][_0x40336d(0x335)](_0x241192,{'unitID':_0x241192,'type':_0x24cf10,'awaitingChangeset':_0xcdee30,'mutations':_0x1170b8,'rev':_0x34f9b3}),this[_0x40336d(0x35e)][_0x40336d(0x2a6)](_0x241192)||this[_0x40336d(0x247)](_0x241192);}[_0x5db9f2(0x247)](_0x579a5e){const _0x1ea956=_0x5db9f2,_0x5801c3=this[_0x1ea956(0x3ac)]();_0x5801c3===0x0?this[_0x1ea956(0x1af)](_0x579a5e):this['_saveTaskMap']['set'](_0x579a5e,setTimeout(()=>this[_0x1ea956(0x1af)](_0x579a5e),_0x5801c3));}[_0x5db9f2(0x3ac)](){const _0x270758=_0x5db9f2;var _0x14038c;return(_0x14038c=this[_0x270758(0x201)][_0x270758(0x1f9)](u[_0x270758(0x206)]))!=null?_0x14038c:u[_0x270758(0x30b)];}['_saveCache'](_0x5e8c14){const _0x1d478b=_0x5db9f2,_0x409e0c=this[_0x1d478b(0x35e)][_0x1d478b(0x1b2)](_0x5e8c14);return _0x409e0c!==void 0x0&&window[_0x1d478b(0x315)](_0x409e0c),this[_0x1d478b(0x20b)][_0x1d478b(0x297)](u[_0x1d478b(0x372)](_0x5e8c14),this['_cachedData'][_0x1d478b(0x1b2)](_0x5e8c14))[_0x1d478b(0x1d3)](()=>this['_saveTaskMap'][_0x1d478b(0x1aa)](_0x5e8c14));}async['exhaustSavingTask'](){const _0x5dafa7=_0x5db9f2,_0x59cbe5=[];this[_0x5dafa7(0x35e)]['forEach']((_0x12d870,_0x119135)=>{const _0x44087e=_0x5dafa7;window[_0x44087e(0x315)](_0x12d870),_0x59cbe5[_0x44087e(0x1e0)](this[_0x44087e(0x1af)](_0x119135)[_0x44087e(0x1d3)](()=>{const _0x33c162=_0x44087e;this['_saveTaskMap'][_0x33c162(0x1aa)](_0x119135);}));}),await Promise[_0x5dafa7(0x3af)](_0x59cbe5);}};ge=qt([_e(0x0,a['IConfigService']),_e(0x1,a[_0x5db9f2(0x1b5)]),_e(0x2,a[_0x5db9f2(0x319)](m[_0x5db9f2(0x1f3)]))],ge);class je extends a[_0x5db9f2(0x321)]{constructor(){const _0x363511=_0x5db9f2;super(),h(this,_0x363511(0x195)),this[_0x363511(0x195)]=d['fromEvent'](window,_0x363511(0x35f))[_0x363511(0x37b)](d[_0x363511(0x2a3)](this[_0x363511(0x3c7)]),d[_0x363511(0x264)](0x1),d['mapTo'](void 0x0));}[_0x5db9f2(0x1eb)](_0x368206,_0x5abdd8,_0x3f62da=!0x1){const _0x436b9f=_0x5db9f2,_0x318ef0=new URL(window[_0x436b9f(0x2cc)][_0x436b9f(0x2c8)]);_0x318ef0['searchParams'][_0x436b9f(0x335)](_0x368206,_0x5abdd8),_0x3f62da?window[_0x436b9f(0x3cc)][_0x436b9f(0x192)]('','',_0x318ef0[_0x436b9f(0x359)]()):window[_0x436b9f(0x3cc)][_0x436b9f(0x285)]('','',_0x318ef0['toString']());}['removeParam'](_0x49628e,_0x4599dd=!0x1){const _0x3d921d=_0x5db9f2,_0x2f574c=new URL(window[_0x3d921d(0x2cc)][_0x3d921d(0x2c8)]);_0x2f574c[_0x3d921d(0x316)]['delete'](_0x49628e),_0x4599dd?window['history'][_0x3d921d(0x192)]('','',_0x2f574c[_0x3d921d(0x359)]()):window['history'][_0x3d921d(0x285)]('','',_0x2f574c['toString']());}['getParam'](_0x3b05c8){const _0x125500=_0x5db9f2;var _0xae0aaa;return(_0xae0aaa=new URL(window[_0x125500(0x2cc)][_0x125500(0x2c8)])['searchParams'][_0x125500(0x1b2)](_0x3b05c8))!=null?_0xae0aaa:void 0x0;}}var Kt=Object[_0x5db9f2(0x1a1)],zt=Object[_0x5db9f2(0x3ce)],Jt=(_0x391f53,_0x4c46b9,_0xb13e65)=>_0x4c46b9 in _0x391f53?Kt(_0x391f53,_0x4c46b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb13e65}):_0x391f53[_0x4c46b9]=_0xb13e65,Zt=(_0x308126,_0x11ee87,_0x27023a,_0x210c94)=>{const _0x141c17=_0x5db9f2;for(var _0x1f1e92=_0x210c94>0x1?void 0x0:_0x210c94?zt(_0x11ee87,_0x27023a):_0x11ee87,_0xd3c0eb=_0x308126[_0x141c17(0x229)]-0x1,_0x2c062f;_0xd3c0eb>=0x0;_0xd3c0eb--)(_0x2c062f=_0x308126[_0xd3c0eb])&&(_0x1f1e92=_0x2c062f(_0x1f1e92)||_0x1f1e92);return _0x1f1e92;},he=(_0x1ec8bd,_0x563e62)=>(_0x493d24,_0x4c6aff)=>_0x563e62(_0x493d24,_0x4c6aff,_0x1ec8bd),Qt=(_0x2e8bb7,_0x344a45,_0x57d88d)=>Jt(_0x2e8bb7,_0x344a45+'',_0x57d88d);const es=_0x5db9f2(0x1b7);exports[_0x5db9f2(0x1ac)]=class extends a[_0x5db9f2(0x3bf)]{constructor(_0x545bc3=Ue,_0x15bda8,_0x2de63e,_0x2f3b72){const _0x5d2c0b=_0x5db9f2;super(),this[_0x5d2c0b(0x2b7)]=_0x545bc3,this[_0x5d2c0b(0x187)]=_0x15bda8,this[_0x5d2c0b(0x17d)]=_0x2de63e,this['_configService']=_0x2f3b72;const {..._0x307579}=a[_0x5d2c0b(0x347)]({},Ue,this[_0x5d2c0b(0x2b7)]);this['_configService'][_0x5d2c0b(0x35b)]($t,_0x307579);}[_0x5db9f2(0x3dc)](){const _0x4108d1=_0x5db9f2;this['_registerDependencies'](),this[_0x4108d1(0x1b0)]();}[_0x5db9f2(0x3a6)](){this['_registerRenderDependencies']();}[_0x5db9f2(0x2fa)](){const _0x4262a1=_0x5db9f2;var _0x5778bd;const _0x3739d7=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x4262a1(0x26a)],{'useClass':G[_0x4262a1(0x303)]}],[u['ILocalCacheService'],{'useClass':ge}],[exports[_0x4262a1(0x20a)]],[Q],[K],[x],[de],[exports[_0x4262a1(0x262)]]];a[_0x4262a1(0x188)](this[_0x4262a1(0x17d)],a[_0x4262a1(0x20f)](_0x3739d7,(_0x5778bd=this[_0x4262a1(0x2b7)])==null?void 0x0:_0x5778bd['override']));}['_registerRenderDependencies'](){const _0x529a99=_0x5db9f2;this[_0x529a99(0x2a4)](this['_renderManagerService'][_0x529a99(0x218)](a['UniverInstanceType']['UNIVER_DOC'],[Ie])),this['disposeWithMe'](this[_0x529a99(0x187)][_0x529a99(0x218)](a[_0x529a99(0x317)]['UNIVER_SHEET'],[ve]));}['_initDependencies'](){const _0x43892e=_0x5db9f2;a[_0x43892e(0x1b6)](this[_0x43892e(0x17d)],[[x],[exports[_0x43892e(0x20a)]],[Q],[K],[exports[_0x43892e(0x262)]]]);}},Qt(exports[_0x5db9f2(0x1ac)],'pluginName',es),exports[_0x5db9f2(0x1ac)]=Zt([a['DependentOn'](u[_0x5db9f2(0x278)]),he(0x1,p[_0x5db9f2(0x37a)]),he(0x2,a[_0x5db9f2(0x319)](a['Injector'])),he(0x3,a[_0x5db9f2(0x374)])],exports[_0x5db9f2(0x1ac)]);var ts=Object[_0x5db9f2(0x3ce)],ss=(_0x45e2a3,_0x3c25bc,_0x42597b,_0x7c4c2b)=>{const _0x29d1f7=_0x5db9f2;for(var _0x19e4d1=_0x7c4c2b>0x1?void 0x0:_0x7c4c2b?ts(_0x3c25bc,_0x42597b):_0x3c25bc,_0x6f2a0f=_0x45e2a3[_0x29d1f7(0x229)]-0x1,_0x5f1f2a;_0x6f2a0f>=0x0;_0x6f2a0f--)(_0x5f1f2a=_0x45e2a3[_0x6f2a0f])&&(_0x19e4d1=_0x5f1f2a(_0x19e4d1)||_0x19e4d1);return _0x19e4d1;},F=(_0x454113,_0x9f16d0)=>(_0x59f90d,_0x4cea7e)=>_0x9f16d0(_0x59f90d,_0x4cea7e,_0x454113);exports[_0x5db9f2(0x28d)]=class extends u[_0x5db9f2(0x3ee)]{constructor(_0x5f3eec,_0x44a921,_0x21580a,_0x59fbf0,_0x31bf1c){super(_0x5f3eec,_0x44a921,_0x21580a,_0x59fbf0,_0x31bf1c);}async[_0x5db9f2(0x392)](_0x4fec7b){const _0x5cab79=_0x5db9f2,_0x26cf99=await this['_getSessionTicket'](),_0x28cf5e=this[_0x5cab79(0x288)](_0x4fec7b,_0x26cf99);return this['_doCreateSocket'](_0x28cf5e);}['_createSocketURL'](_0x163657,_0x2ab048){const _0x358051=_0x5db9f2,_0xa1ee44=typeof window>'u'?new URL(_0x163657):new URL(_0x163657,window[_0x358051(0x2cc)][_0x358051(0x37e)]);_0xa1ee44[_0x358051(0x316)][_0x358051(0x335)](_0x358051(0x24c),_0x2ab048);const _0x1f9427=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x358051(0x2e7)]);return _0x1f9427[_0x358051(0x1b2)]('runId')&&_0xa1ee44[_0x358051(0x316)][_0x358051(0x335)]('runId',_0x1f9427['get']('runId')),_0xa1ee44[_0x358051(0x359)]();}async[_0x5db9f2(0x1e7)](){const _0x2f8d17=_0x5db9f2;var _0x5913ce,_0x3933ae,_0x4712bd;const _0x5dc196=this['_configService'][_0x2f8d17(0x1f9)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x22af85=(_0x5913ce=_0x5dc196==null?void 0x0:_0x5dc196['wsSessionTicketUrl'])!=null?_0x5913ce:u[_0x2f8d17(0x22d)];return(_0x4712bd=(_0x3933ae=(await this[_0x2f8d17(0x286)][_0x2f8d17(0x1b2)](_0x22af85,{'headers':{'Content-Type':_0x2f8d17(0x2d6)}}))[_0x2f8d17(0x1f7)])==null?void 0x0:_0x3933ae[_0x2f8d17(0x284)])!=null?_0x4712bd:'';}},exports['BrowserCollaborationSocketService']=ss([F(0x0,a['Inject'](a[_0x5db9f2(0x204)])),F(0x1,a[_0x5db9f2(0x319)](G[_0x5db9f2(0x1f1)])),F(0x2,a['IConfigService']),F(0x3,a[_0x5db9f2(0x198)]),F(0x4,m['ISnapshotServerService'])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x5db9f2(0x1ef);class is extends a['Disposable']{constructor(){const _0x2fe047=_0x5db9f2;super(),h(this,_0x2fe047(0x380),a[_0x2fe047(0x202)]()),h(this,_0x2fe047(0x25f),new Set()),h(this,_0x2fe047(0x227),new Map()),h(this,_0x2fe047(0x1d2),null),h(this,_0x2fe047(0x23c),new Map()),h(this,_0x2fe047(0x3b9),new Map()),this[_0x2fe047(0x16c)]();}[_0x5db9f2(0x25e)](){const _0x22cdc0=_0x5db9f2;super[_0x22cdc0(0x25e)](),this['_clearOtherTimers'][_0x22cdc0(0x39e)]((_0x38588b,_0x4361ac)=>this[_0x22cdc0(0x179)](_0x4361ac)),this[_0x22cdc0(0x1d2)]&&window[_0x22cdc0(0x269)](this[_0x22cdc0(0x1d2)]);}[_0x5db9f2(0x3ed)](_0x517171){const _0x1cc846=_0x5db9f2;return this[_0x1cc846(0x290)](_0x517171)[_0x1cc846(0x37b)](d[_0x1cc846(0x2ad)]());}[_0x5db9f2(0x3a8)](_0x105290){const _0x4a3029=_0x5db9f2;this[_0x4a3029(0x25f)][_0x4a3029(0x25b)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4a3029(0x25f)][_0x4a3029(0x365)](_0x105290),this[_0x4a3029(0x2b2)]({'type':0x0,'memberID':this[_0x4a3029(0x380)],'unitIDs':[_0x105290],'isForwarded':!0x1});}[_0x5db9f2(0x2d3)](_0x5e9a59){const _0x52aca9=_0x5db9f2;this[_0x52aca9(0x25f)]['delete'](_0x5e9a59),this[_0x52aca9(0x25f)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x52aca9(0x269)](this[_0x52aca9(0x1d2)]);}[_0x5db9f2(0x16c)](){const _0x2f9d1e=_0x5db9f2;this[_0x2f9d1e(0x2a4)](a['toDisposable'](d[_0x2f9d1e(0x330)](window,'storage')[_0x2f9d1e(0x2dc)](_0x26b88a=>{const _0x2fb69d=_0x2f9d1e;if(_0x26b88a[_0x2fb69d(0x29f)]!==Le||!_0x26b88a[_0x2fb69d(0x33f)])return;const _0x5c9eaa=JSON['parse'](_0x26b88a['newValue']);this[_0x2fb69d(0x2eb)](_0x5c9eaa);}))),window[_0x2f9d1e(0x29c)](_0x2f9d1e(0x310),()=>this[_0x2f9d1e(0x2b2)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2f9d1e(0x3d6)](this[_0x2f9d1e(0x25f)])}));}[_0x5db9f2(0x2eb)](_0x99fcb5){const _0x34ef6d=_0x5db9f2;switch(_0x99fcb5['type']){case 0x0:this[_0x34ef6d(0x213)](_0x99fcb5);break;case 0x1:this[_0x34ef6d(0x3b1)](_0x99fcb5);break;case 0x2:this[_0x34ef6d(0x25a)](_0x99fcb5);break;}}[_0x5db9f2(0x213)](_0x21fa4b){const _0x13e2be=_0x5db9f2,{unitIDs:_0x42069f,memberID:_0x9857bf,isForwarded:_0x128f2e}=_0x21fa4b;_0x42069f[_0x13e2be(0x39e)](_0x3e9b06=>{const _0x4fa6bd=_0x13e2be;if(!_0x128f2e&&this[_0x4fa6bd(0x227)][_0x4fa6bd(0x2a6)](_0x3e9b06)&&this[_0x4fa6bd(0x290)](_0x3e9b06)['next'](u[_0x4fa6bd(0x261)][_0x4fa6bd(0x39d)]),!this[_0x4fa6bd(0x227)][_0x4fa6bd(0x2a6)](_0x3e9b06)||!this['_unitOnClients'][_0x4fa6bd(0x1b2)](_0x3e9b06)[_0x4fa6bd(0x2a6)](_0x9857bf)){const _0x123816=this['_unitOnClients']['get'](_0x3e9b06)||new Set();_0x123816[_0x4fa6bd(0x365)](_0x9857bf),this[_0x4fa6bd(0x227)]['set'](_0x3e9b06,_0x123816),this[_0x4fa6bd(0x3a0)](_0x9857bf);}}),_0x128f2e||this[_0x13e2be(0x2b2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x13e2be(0x25f)]],'isForwarded':!0x0});}[_0x5db9f2(0x3a0)](_0x9a88ee){const _0x4bd654=_0x5db9f2;this['_removeClearOtherTimer'](_0x9a88ee);const _0x296f1f=window[_0x4bd654(0x234)](()=>{const _0x4967fe=_0x4bd654;this[_0x4967fe(0x227)][_0x4967fe(0x39e)](_0x3d3e45=>{const _0xf28bd3=_0x4967fe;_0x3d3e45[_0xf28bd3(0x1aa)](_0x9a88ee);});},Me*0x2);this[_0x4bd654(0x23c)][_0x4bd654(0x335)](_0x9a88ee,_0x296f1f);}['_removeClearOtherTimer'](_0xaecf54){const _0x24449c=_0x5db9f2;if(this[_0x24449c(0x23c)][_0x24449c(0x2a6)](_0xaecf54)){const _0x3b02fb=this[_0x24449c(0x23c)][_0x24449c(0x1b2)](_0xaecf54);_0x3b02fb&&window[_0x24449c(0x315)](_0x3b02fb),this[_0x24449c(0x23c)][_0x24449c(0x335)](_0xaecf54,null);}}[_0x5db9f2(0x3b1)](_0x5be0a9){const _0x5c5370=_0x5db9f2,{memberID:_0x2cda5c,unitIDs:_0x3ec96a}=_0x5be0a9;_0x3ec96a[_0x5c5370(0x39e)](_0x4ca04b=>{const _0x30b152=_0x5c5370;var _0x296b08;const _0x3a5ed6=this[_0x30b152(0x227)]['get'](_0x4ca04b);_0x3a5ed6&&(_0x3a5ed6[_0x30b152(0x1aa)](_0x2cda5c),(_0x296b08=this[_0x30b152(0x290)](_0x4ca04b))==null||_0x296b08[_0x30b152(0x1e5)](_0x3a5ed6[_0x30b152(0x25b)]===0x0?u[_0x30b152(0x261)][_0x30b152(0x17b)]:u['UnitStatus'][_0x30b152(0x39d)]));}),this[_0x5c5370(0x179)](_0x2cda5c);}[_0x5db9f2(0x25a)](_0x2b9bd5){const _0x6cd971=_0x5db9f2;this['_scheduleClearOtherTimer'](_0x2b9bd5[_0x6cd971(0x3c0)]);}['_send'](_0x59335c){const _0x3d1963=_0x5db9f2;localStorage['setItem'](Le,JSON[_0x3d1963(0x3ae)](_0x59335c));}[_0x5db9f2(0x1a9)](){const _0x367319=_0x5db9f2;this[_0x367319(0x1d2)]=window[_0x367319(0x314)](()=>{const _0x178081=_0x367319;this[_0x178081(0x2b2)]({'type':0x2,'memberID':this[_0x178081(0x380)]});},Me);}['_ensureSubject'](_0x25fd81){const _0x26593b=_0x5db9f2;return this[_0x26593b(0x3b9)][_0x26593b(0x2a6)](_0x25fd81)||this[_0x26593b(0x3b9)][_0x26593b(0x335)](_0x25fd81,new d[(_0x26593b(0x3b3))](u[_0x26593b(0x261)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x26593b(0x3b9)][_0x26593b(0x1b2)](_0x25fd81);}}var Be=(_0xfbfddf=>(_0xfbfddf[_0xfbfddf['UNDEFINED']=0x0]=_0x5db9f2(0x1ca),_0xfbfddf[_0xfbfddf['OK']=0x1]='OK',_0xfbfddf[_0xfbfddf['INTERNAL_ERROR']=0x2]=_0x5db9f2(0x3eb),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x323)]=0x3]=_0x5db9f2(0x323),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x1de)]=0x4]=_0x5db9f2(0x1de),_0xfbfddf[_0xfbfddf['UNAUTHENTICATED']=0x5]=_0x5db9f2(0x2d8),_0xfbfddf[_0xfbfddf['ALREADY_EXISTS']=0x6]=_0x5db9f2(0x180),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x36f)]=0x7]=_0x5db9f2(0x36f),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x214)]=0x8]=_0x5db9f2(0x214),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x3bd)]=0x9]=_0x5db9f2(0x3bd),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x23e)]=0xa]=_0x5db9f2(0x23e),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x296)]=0x1389]=_0x5db9f2(0x296),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x1c8)]=0x1771]=_0x5db9f2(0x1c8),_0xfbfddf[_0xfbfddf['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5db9f2(0x21e),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x2c5)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x18a)]=0x1b59]=_0x5db9f2(0x18a),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x1a5)]=0x1b5a]=_0x5db9f2(0x1a5),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x3c4)]=0x1b5b]=_0x5db9f2(0x3c4),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x31a)]=0x1b5c]=_0x5db9f2(0x31a),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x181)]=0x1b5d]=_0x5db9f2(0x181),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x30a)]=0x1f41]=_0x5db9f2(0x30a),_0xfbfddf[_0xfbfddf['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5db9f2(0x1cd),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x185)]=0x232a]=_0x5db9f2(0x185),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x2d1)]=0x232b]=_0x5db9f2(0x2d1),_0xfbfddf[_0xfbfddf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5db9f2(0x366),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x386)]=0x232d]=_0x5db9f2(0x386),_0xfbfddf[_0xfbfddf['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5db9f2(0x2fd),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x220)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x371)]=0x2713]=_0x5db9f2(0x371),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x306)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xfbfddf[_0xfbfddf['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5db9f2(0x377),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x26d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x2d7)]=0x2af9]=_0x5db9f2(0x2d7),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x203)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x27a)]=0x2ee2]=_0x5db9f2(0x27a),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x18c)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x1a6)]=0x2ee4]=_0x5db9f2(0x1a6),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x2e2)]=0x2ee5]=_0x5db9f2(0x2e2),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x225)]=0x32c9]=_0x5db9f2(0x225),_0xfbfddf[_0xfbfddf[_0x5db9f2(0x399)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xfbfddf[_0xfbfddf[_0x5db9f2(0x338)]=0x32cb]=_0x5db9f2(0x338),_0xfbfddf[_0xfbfddf['UNRECOGNIZED']=-0x1]=_0x5db9f2(0x30d),_0xfbfddf))(Be||{}),ns=Object[_0x5db9f2(0x3ce)],rs=(_0x2f9ab0,_0x1e1bd9,_0x19d630,_0x4cd693)=>{const _0x23cce3=_0x5db9f2;for(var _0xaac6ec=_0x4cd693>0x1?void 0x0:_0x4cd693?ns(_0x1e1bd9,_0x19d630):_0x1e1bd9,_0x46a488=_0x2f9ab0[_0x23cce3(0x229)]-0x1,_0x55865e;_0x46a488>=0x0;_0x46a488--)(_0x55865e=_0x2f9ab0[_0x46a488])&&(_0xaac6ec=_0x55865e(_0xaac6ec)||_0xaac6ec);return _0xaac6ec;},ue=(_0x4f1662,_0x5e9bf2)=>(_0x39cec5,_0x1a735e)=>_0x5e9bf2(_0x39cec5,_0x1a735e,_0x4f1662);exports[_0x5db9f2(0x3a3)]=class extends a['Disposable']{constructor(_0x4ac71d,_0x1d2500,_0xd13ce0){const _0xca6d96=_0x5db9f2;super(),this[_0xca6d96(0x16f)]=_0x4ac71d,this[_0xca6d96(0x286)]=_0x1d2500,this['_configService']=_0xd13ce0;}async[_0x5db9f2(0x244)](_0x40f518,_0x20b325,_0xe07156,..._0x7b53e1){const _0x20e123=_0x5db9f2;var _0x2a6e74,_0x34fff2,_0xca56e9,_0x2b7408;const _0x21711b=this['_instanceService'][_0x20e123(0x24e)]();if(!_0x21711b)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d996b=((_0x2a6e74=this['_configService'][_0x20e123(0x1f9)](u[_0x20e123(0x2af)]))!=null?_0x2a6e74:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x40f518+'/run/'+_0x20b325,_0x5b578d=new URL(window[_0x20e123(0x2cc)][_0x20e123(0x2c8)]),_0x317f71={'scriptId':_0x40f518,'runId':(_0x34fff2=_0x5b578d[_0x20e123(0x316)]['get'](_0x20e123(0x2e6)))!=null?_0x34fff2:'','function':_0x20b325,'unitId':_0x21711b[_0x20e123(0x312)](),'argsOfFunction':JSON[_0x20e123(0x3ae)](_0x7b53e1),'invokeId':(_0xca56e9=_0xe07156[_0x20e123(0x31e)])!=null?_0xca56e9:'','executionId':(_0x2b7408=_0xe07156['executionId'])!=null?_0x2b7408:''};try{const _0x4ef283=await this['_httpService']['post'](_0x5d996b,{'body':_0x317f71});return _0x4ef283[_0x20e123(0x1f7)][_0x20e123(0x250)]&&_0x4ef283[_0x20e123(0x1f7)]['error'][_0x20e123(0x171)]!==Be['OK']?_0x20e123(0x3cd):_0x4ef283[_0x20e123(0x1f7)]['result'];}catch{return'Failed';}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x5db9f2(0x24f)]),ue(0x1,a[_0x5db9f2(0x319)](G[_0x5db9f2(0x1f1)])),ue(0x2,a[_0x5db9f2(0x374)])],exports[_0x5db9f2(0x3a3)]),exports['CollaborationStatusDisplay']=xe,exports[_0x5db9f2(0x1ad)]=be,exports['SheetCollabCursorShape']=we,exports[_0x5db9f2(0x27c)]=is,exports[_0x5db9f2(0x17e)]=je;
@@ -1 +1 @@
1
- 'use strict';function _0x19c6(){const _0x439c63=['125868buirCb','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','202632ElmwWt','Edit\x20conflicts','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2086215xQspff','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.','Click\x20to\x20Reconnect','301zeQaQq','Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20Conflict','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','632790wpgQqg','193697vzVQbz','exports','1096322ZgzGOk','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1031460TnXUXq'];_0x19c6=function(){return _0x439c63;};return _0x19c6();}const _0xfaa7f5=_0x58e1;function _0x58e1(_0x4f082a,_0x245b7d){const _0x19c628=_0x19c6();return _0x58e1=function(_0x58e1b1,_0x183138){_0x58e1b1=_0x58e1b1-0x158;let _0x5c6263=_0x19c628[_0x58e1b1];return _0x5c6263;},_0x58e1(_0x4f082a,_0x245b7d);}(function(_0x2d05d4,_0x22370c){const _0x2c990a=_0x58e1,_0x3909ab=_0x2d05d4();while(!![]){try{const _0x279e0a=-parseInt(_0x2c990a(0x166))/0x1+-parseInt(_0x2c990a(0x168))/0x2+parseInt(_0x2c990a(0x165))/0x3+parseInt(_0x2c990a(0x158))/0x4+-parseInt(_0x2c990a(0x15e))/0x5+parseInt(_0x2c990a(0x159))/0x6+-parseInt(_0x2c990a(0x161))/0x7*(-parseInt(_0x2c990a(0x15b))/0x8);if(_0x279e0a===_0x22370c)break;else _0x3909ab['push'](_0x3909ab['shift']());}catch(_0x3c279b){_0x3909ab['push'](_0x3909ab['shift']());}}}(_0x19c6,0x667eb));const e={'collab-client':{'tooltip':{'reconnect':_0xfaa7f5(0x160)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0xfaa7f5(0x15c),'notCollab':'Local\x20file','synced':'Synced','syncing':'Syncing...','offline':_0xfaa7f5(0x15a)},'session':{'connection-failed':_0xfaa7f5(0x162),'will-retry':_0xfaa7f5(0x164),'room-full':_0xfaa7f5(0x169),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xfaa7f5(0x163),'content':_0xfaa7f5(0x15f)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0xfaa7f5(0x15d)},'closeRoom':_0xfaa7f5(0x16a)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};module[_0xfaa7f5(0x167)]=e;
1
+ 'use strict';const _0x125c9b=_0x494d;function _0x494d(_0x34a6b8,_0x50bd66){const _0x55479f=_0x5547();return _0x494d=function(_0x494d1f,_0x3124e9){_0x494d1f=_0x494d1f-0x93;let _0x5d3571=_0x55479f[_0x494d1f];return _0x5d3571;},_0x494d(_0x34a6b8,_0x50bd66);}(function(_0x35ec19,_0x3e92f8){const _0x1ff3a0=_0x494d,_0x25d6b3=_0x35ec19();while(!![]){try{const _0x14e506=-parseInt(_0x1ff3a0(0x9b))/0x1+-parseInt(_0x1ff3a0(0x95))/0x2+-parseInt(_0x1ff3a0(0xa7))/0x3*(parseInt(_0x1ff3a0(0xa4))/0x4)+-parseInt(_0x1ff3a0(0x9d))/0x5*(-parseInt(_0x1ff3a0(0xa1))/0x6)+parseInt(_0x1ff3a0(0x94))/0x7*(parseInt(_0x1ff3a0(0x9a))/0x8)+-parseInt(_0x1ff3a0(0xa3))/0x9*(parseInt(_0x1ff3a0(0xa5))/0xa)+parseInt(_0x1ff3a0(0x9c))/0xb;if(_0x14e506===_0x3e92f8)break;else _0x25d6b3['push'](_0x25d6b3['shift']());}catch(_0x367af9){_0x25d6b3['push'](_0x25d6b3['shift']());}}}(_0x5547,0x692e8));function _0x5547(){const _0x5cce75=['990969FUQwMi','804878yGYvcM','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','32TleqWO','416853GgOvKH','11375276avdWDd','36020mFbNbI','Edit\x20conflicts','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\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','318rlbGoC','exports','96696NwCNBQ','12NaqiCp','590plnodr','Collaboration\x20Conflict','98184cNpllO','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Syncing...'];_0x5547=function(){return _0x5cce75;};return _0x5547();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x125c9b(0x96),'conflict':_0x125c9b(0x9e),'notCollab':'Local\x20file','synced':_0x125c9b(0x99),'syncing':_0x125c9b(0x93),'offline':_0x125c9b(0x98)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x125c9b(0xa8),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x125c9b(0xa6),'content':_0x125c9b(0x9f)},'permission':{'title':_0x125c9b(0xa9),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x125c9b(0x97)},'auth':{'needGotoLoginAlert':_0x125c9b(0xa0)}};module[_0x125c9b(0xa2)]=e;