@univerjs-pro/collaboration-client-ui 0.9.3 → 0.9.4-nightly.202507290713
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +0 -2
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2599d2,_0x41a234){const _0x57355d=_0x1efe,_0x46cbd5=_0x2599d2();while(!![]){try{const _0x4aff0e=parseInt(_0x57355d(0x365))/0x1+-parseInt(_0x57355d(0x409))/0x2*(-parseInt(_0x57355d(0x37f))/0x3)+-parseInt(_0x57355d(0x422))/0x4*(parseInt(_0x57355d(0x243))/0x5)+parseInt(_0x57355d(0x439))/0x6+parseInt(_0x57355d(0x3ad))/0x7+-parseInt(_0x57355d(0x3f4))/0x8+-parseInt(_0x57355d(0x1ac))/0x9*(parseInt(_0x57355d(0x33a))/0xa);if(_0x4aff0e===_0x41a234)break;else _0x46cbd5['push'](_0x46cbd5['shift']());}catch(_0x4f4d5d){_0x46cbd5['push'](_0x46cbd5['shift']());}}}(_0x55f2,0x36bac),function(_0x5ab966,_0x4f9d43){const _0xbb272a=_0x1efe;typeof exports==_0xbb272a(0x23c)&&typeof module<'u'?_0x4f9d43(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0xbb272a(0x28b)&&define[_0xbb272a(0x39e)]?define([_0xbb272a(0x445),_0xbb272a(0x31e),'@univerjs/core',_0xbb272a(0x2c0),'@univerjs/network','@univerjs/docs-ui',_0xbb272a(0x31a),_0xbb272a(0x35a),_0xbb272a(0x410),_0xbb272a(0x425),_0xbb272a(0x2b6),_0xbb272a(0x32c),_0xbb272a(0x434),_0xbb272a(0x314),'react/jsx-runtime',_0xbb272a(0x3b7),_0xbb272a(0x1fa),_0xbb272a(0x43f),_0xbb272a(0x3d5)],_0x4f9d43):(_0x5ab966=typeof globalThis<'u'?globalThis:_0x5ab966||self,_0x4f9d43(_0x5ab966['UniverProCollaborationClientUi']={},_0x5ab966[_0xbb272a(0x282)],_0x5ab966[_0xbb272a(0x1a7)],_0x5ab966[_0xbb272a(0x1fd)],_0x5ab966[_0xbb272a(0x38f)],_0x5ab966[_0xbb272a(0x423)],_0x5ab966[_0xbb272a(0x2e1)],_0x5ab966[_0xbb272a(0x35a)],_0x5ab966[_0xbb272a(0x276)],_0x5ab966['UniverDocs'],_0x5ab966[_0xbb272a(0x3de)],_0x5ab966[_0xbb272a(0x3c3)],_0x5ab966[_0xbb272a(0x35a)][_0xbb272a(0x348)],_0x5ab966[_0xbb272a(0x317)],_0x5ab966[_0xbb272a(0x38e)],_0x5ab966['UniverUi'],_0x5ab966[_0xbb272a(0x39f)],_0x5ab966[_0xbb272a(0x38e)],_0x5ab966['UniverRpc']));}(this,function(_0x5527a1,_0x5a7b55,_0x1f0a18,_0x1b328b,_0x254943,_0x4dd21f,_0x6b8129,_0x5900c2,_0x1cac3e,_0xb349ea,_0x512390,_0x5e0c6b,_0x58e73e,_0x2642d0,_0x35553a,_0x3835ea,_0x177c57,_0x35c730,_0x29d29a){'use strict';const _0x530ea4=_0x1efe;var _0x510b9e=Object[_0x530ea4(0x36e)],_0x1b2207=(_0xd62896,_0x1fca83,_0x5b1c30)=>_0x1fca83 in _0xd62896?_0x510b9e(_0xd62896,_0x1fca83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b1c30}):_0xd62896[_0x1fca83]=_0x5b1c30,_0x1b53be=(_0x13300a,_0x29f074,_0x451646)=>_0x1b2207(_0x13300a,typeof _0x29f074!='symbol'?_0x29f074+'':_0x29f074,_0x451646),_0x28f99e=Object[_0x530ea4(0x201)],_0x31b2c2=(_0xfdc19,_0x120328,_0x2f621f,_0x103084)=>{const _0x3c168d=_0x530ea4;for(var _0x151cf5=_0x103084>0x1?void 0x0:_0x103084?_0x28f99e(_0x120328,_0x2f621f):_0x120328,_0x5d0c21=_0xfdc19[_0x3c168d(0x2ee)]-0x1,_0x4b49b2;_0x5d0c21>=0x0;_0x5d0c21--)(_0x4b49b2=_0xfdc19[_0x5d0c21])&&(_0x151cf5=_0x4b49b2(_0x151cf5)||_0x151cf5);return _0x151cf5;},_0x54ae1a=(_0x45cb6c,_0x4d359e)=>(_0x3cee1c,_0x3cd7e7)=>_0x4d359e(_0x3cee1c,_0x3cd7e7,_0x45cb6c);let _0x25d763=class extends _0x1f0a18['RxDisposable']{constructor(_0x2b91a9,_0x58987f){const _0x365610=_0x530ea4;super(),this[_0x365610(0x3f3)]=_0x2b91a9,this[_0x365610(0x323)]=_0x58987f,this['_init']();}['_init'](){const _0x17f193=_0x530ea4,_0x229069=this;this[_0x17f193(0x3b8)](this[_0x17f193(0x3f3)][_0x17f193(0x26b)]({'onBeforePasteImage':async _0x3d3591=>{const _0x20f6ed=_0x17f193,_0x1ee4e7=await _0x229069[_0x20f6ed(0x323)][_0x20f6ed(0x2d3)](_0x3d3591);return _0x1ee4e7?{'source':_0x1ee4e7['source'],'imageSourceType':_0x1ee4e7[_0x20f6ed(0x41a)]}:null;}}));}};_0x25d763=_0x31b2c2([_0x54ae1a(0x0,_0x4dd21f[_0x530ea4(0x269)]),_0x54ae1a(0x1,_0x6b8129[_0x530ea4(0x205)])],_0x25d763);const _0x18bd82=[_0x530ea4(0x235),_0x530ea4(0x3d8),_0x530ea4(0x27d),_0x530ea4(0x21e),_0x530ea4(0x260),_0x530ea4(0x25a)];class _0x3e294f extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(){const _0x3a9312=_0x530ea4;super(...arguments),_0x1b53be(this,_0x3a9312(0x2ba),new Map()),_0x1b53be(this,_0x3a9312(0x3ef),0x0);}['assignAColorForMemberID'](_0xe8bb15){const _0x1f8b7d=_0x530ea4;if(this[_0x1f8b7d(0x2ba)][_0x1f8b7d(0x447)](_0xe8bb15))return this[_0x1f8b7d(0x2ba)][_0x1f8b7d(0x22f)](_0xe8bb15);const _0x5393e3=_0x18bd82[this['_colorIndex']];return this[_0x1f8b7d(0x3ef)]=(this['_colorIndex']+0x1)%_0x18bd82[_0x1f8b7d(0x2ee)],this[_0x1f8b7d(0x2ba)]['set'](_0xe8bb15,_0x5393e3),_0x5393e3;}}function _0x3ba1e2(_0x5915c8){const _0x409110=_0x530ea4;let _0x39317d='';for(const _0x58ace9 of _0x5915c8){const {startOffset:_0x1beb2e,endOffset:_0x1266ae,isActive:_0x34a347,rangeType:_0x21725f,segmentId:_0x5a9e5b,segmentPage:_0x1019a4}=_0x58ace9;_0x39317d[_0x409110(0x2ee)]&&(_0x39317d+=','),_0x39317d+=_0x1beb2e+':'+_0x1266ae+':'+(_0x34a347?'1':'0')+':'+_0x21725f+':'+_0x5a9e5b+':'+_0x1019a4;}return _0x39317d;}function _0x472396(_0x17cda6){const _0x4f3ee0=_0x530ea4,_0x3ff926=_0x17cda6[_0x4f3ee0(0x3b5)](','),_0x28ff1d=[];for(const _0x596123 of _0x3ff926){const [_0x537936,_0x283eca,_0x584889,_0x1fa993,_0x4566ce,_0x4c3f2c]=_0x596123['split'](':');_0x28ff1d[_0x4f3ee0(0x36a)]({'startOffset':Number(_0x537936),'endOffset':Number(_0x283eca),'collapsed':_0x537936===_0x283eca,'isActive':_0x584889==='1','rangeType':_0x1fa993===_0x1f0a18['DOC_RANGE_TYPE'][_0x4f3ee0(0x3db)]?_0x1f0a18[_0x4f3ee0(0x2df)][_0x4f3ee0(0x3db)]:_0x1f0a18[_0x4f3ee0(0x2df)][_0x4f3ee0(0x3c8)],'segmentId':typeof _0x4566ce==_0x4f3ee0(0x39b)?String(_0x4566ce):'','segmentPage':Number(_0x4c3f2c!=null?_0x4c3f2c:-0x1)});}return _0x28ff1d[_0x4f3ee0(0x263)](_0xd1f7c9=>_0xd1f7c9[_0x4f3ee0(0x431)])||(_0x28ff1d[0x0]['isActive']=!0x0),_0x28ff1d;}class _0x50ea68 extends _0x1f0a18['RxDisposable']{constructor(){const _0x2ff5a9=_0x530ea4;super(...arguments),_0x1b53be(this,_0x2ff5a9(0x2e3),new _0x5900c2['BehaviorSubject'](null)),_0x1b53be(this,_0x2ff5a9(0x3e1),this[_0x2ff5a9(0x2e3)]['asObservable']());}['syncEditingCollabCursor'](_0x10f8d2){const _0x2f2ef8=_0x530ea4,{unitID:_0x5d75b8,memberID:_0x11394d,textRanges:_0x37b6a7}=_0x10f8d2,_0x33aca9=_0x3ba1e2(_0x37b6a7);if(_0x33aca9==='')return;const _0x32b5c8={'unitID':_0x5d75b8,'memberID':_0x11394d,'selection':_0x33aca9};this['_collabCursorState$'][_0x2f2ef8(0x428)](_0x32b5c8);}}var _0x99c464=Object[_0x530ea4(0x201)],_0x4fd055=(_0x6ef960,_0x171d21,_0x449254,_0x38b92a)=>{const _0x4b3289=_0x530ea4;for(var _0x1adc76=_0x38b92a>0x1?void 0x0:_0x38b92a?_0x99c464(_0x171d21,_0x449254):_0x171d21,_0x4a6a7e=_0x6ef960[_0x4b3289(0x2ee)]-0x1,_0x29d958;_0x4a6a7e>=0x0;_0x4a6a7e--)(_0x29d958=_0x6ef960[_0x4a6a7e])&&(_0x1adc76=_0x29d958(_0x1adc76)||_0x1adc76);return _0x1adc76;},_0x2c9cff=(_0x59967d,_0x4e6205)=>(_0x2c0d3f,_0x52a473)=>_0x4e6205(_0x2c0d3f,_0x52a473,_0x59967d);const _0xbf49a1=0x12c,_0x3c0c1e=0x64;let _0x2ccc25=class extends _0x1f0a18['RxDisposable']{constructor(_0x4820a6,_0x1257bf,_0x2b7f6f,_0x26d71a,_0x3ace50,_0x29bf4a,_0x4680b9,_0x4aa67c,_0xf3003c){const _0xaff32f=_0x530ea4;super(),_0x1b53be(this,_0xaff32f(0x2dd),!0x1),_0x1b53be(this,_0xaff32f(0x30a),!0x1),_0x1b53be(this,_0xaff32f(0x30e),new _0x5900c2['BehaviorSubject'](new Map())),_0x1b53be(this,_0xaff32f(0x318),this['_cursorInfo$']['asObservable']()),_0x1b53be(this,'_roomMembers$',new _0x5900c2['BehaviorSubject']([])),_0x1b53be(this,_0xaff32f(0x22e),this[_0xaff32f(0x1d3)][_0xaff32f(0x420)](_0x5900c2['debounceTime'](_0xbf49a1))),_0x1b53be(this,_0xaff32f(0x1c1),_0x1f0a18[_0xaff32f(0x248)](_0x14144a=>{const _0x55affe=_0xaff32f,_0xac4197={'eventID':_0x1cac3e[_0x55affe(0x232)][_0x55affe(0x3bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x55affe(0x1aa)]['getMemberID'](),'selection':_0x3ba1e2(_0x14144a)}};this[_0x55affe(0x1aa)][_0x55affe(0x274)](_0xac4197,this[_0x55affe(0x275)]);},_0x3c0c1e)),(this[_0xaff32f(0x275)]=_0x4820a6,this[_0xaff32f(0x1aa)]=_0x1257bf,this['_injector']=_0x2b7f6f,this[_0xaff32f(0x1f5)]=_0x26d71a,this[_0xaff32f(0x3fd)]=_0x3ace50,this[_0xaff32f(0x3b4)]=_0x29bf4a,this[_0xaff32f(0x297)]=_0x4680b9,this[_0xaff32f(0x2cd)]=_0x4aa67c,this[_0xaff32f(0x3c2)]=_0xf3003c);}get[_0x530ea4(0x2eb)](){const _0xd3fc98=_0x530ea4;return this[_0xd3fc98(0x30e)][_0xd3fc98(0x1e4)]();}get[_0x530ea4(0x2e8)](){const _0x178d33=_0x530ea4;return this[_0x178d33(0x1d3)][_0x178d33(0x1e4)]();}['dispose'](){const _0x280420=_0x530ea4;super[_0x280420(0x342)](),this[_0x280420(0x30e)][_0x280420(0x428)](new Map()),this[_0x280420(0x30e)]['complete'](),this['_roomMembers$'][_0x280420(0x428)]([]),this['_roomMembers$'][_0x280420(0x361)]();}[_0x530ea4(0x29f)](){const _0x222d28=_0x530ea4;this['_init']||(this[_0x222d28(0x30a)]=!0x0,this[_0x222d28(0x1aa)]['sessionStatus$'][_0x222d28(0x420)](_0x5900c2['takeUntil'](this[_0x222d28(0x211)]))['subscribe'](_0x2da77c=>{const _0xb53f3d=_0x222d28;_0x2da77c===_0x5a7b55['SessionStatus'][_0xb53f3d(0x3ca)]?this[_0xb53f3d(0x25e)]():this[_0xb53f3d(0x344)]();}),this['_session'][_0x222d28(0x21d)][_0x222d28(0x420)](_0x5900c2[_0x222d28(0x24a)](this['dispose$']))[_0x222d28(0x272)](_0x326570=>{const _0x17f2e8=_0x222d28,_0x5f300f=_0x326570[_0x17f2e8(0x289)];_0x5f300f===_0x1cac3e[_0x17f2e8(0x232)][_0x17f2e8(0x3bc)]&&this['_onCursorUpdate'](_0x326570),_0x5f300f===_0x1cac3e[_0x17f2e8(0x232)][_0x17f2e8(0x2d5)]&&this['_onCursorDelete'](_0x326570);}),this[_0x222d28(0x3b8)](this[_0x222d28(0x3c2)]['onCommandExecuted'](_0x432522=>{const _0x4dc5d3=_0x222d28,_0x3e1efe=_0x432522['params'];_0x3e1efe!=null&&this[_0x4dc5d3(0x2dd)]&&_0x432522['id']===_0xb349ea['SetTextSelectionsOperation']['id']&&_0x3e1efe[_0x4dc5d3(0x3f0)]===this[_0x4dc5d3(0x275)]&&_0x3e1efe[_0x4dc5d3(0x1be)]===!0x1&&_0x3e1efe[_0x4dc5d3(0x28e)][_0x4dc5d3(0x2ee)]>0x0&&this[_0x4dc5d3(0x1c1)](_0x3e1efe['ranges']);})),this[_0x222d28(0x3b4)][_0x222d28(0x3e1)][_0x222d28(0x420)](_0x5900c2['takeUntil'](this['dispose$']))[_0x222d28(0x272)](_0x122a42=>{const _0x313469=_0x222d28;if((_0x122a42==null?void 0x0:_0x122a42[_0x313469(0x275)])!==this[_0x313469(0x275)])return;const _0x3dec95={'eventID':_0x1cac3e[_0x313469(0x232)][_0x313469(0x3bc)],'data':_0x122a42};this[_0x313469(0x356)](_0x3dec95);}),this[_0x222d28(0x3b8)](this[_0x222d28(0x3c2)][_0x222d28(0x3fb)](_0x4909b4=>{const _0x1f3adb=_0x222d28;if(_0x4909b4['params']==null)return;const _0x44c4d7=_0x4909b4[_0x1f3adb(0x357)];if(_0x4909b4['id']!==_0xb349ea[_0x1f3adb(0x36b)]['id']||_0x44c4d7['unitId']!==this[_0x1f3adb(0x275)])return;const _0x401919={'id':'doc.mutation.rich-text-editing','params':_0x44c4d7},_0x7065fb=this['cursorInfo'];for(const [_0x1e1d1c,_0x24988d]of _0x7065fb){const _0x272950={'id':_0x1f3adb(0x28f),'params':{'unitId':this[_0x1f3adb(0x275)],'actions':null,'textRanges':_0x24988d[_0x1f3adb(0x28e)]}},_0x2c45e8=this[_0x1f3adb(0x297)][_0x1f3adb(0x1d5)](_0x401919,_0x272950,!0x1);if(_0x1cac3e[_0x1f3adb(0x3da)](_0x2c45e8))throw _0x2c45e8[_0x1f3adb(0x31b)];_0x7065fb[_0x1f3adb(0x3ec)](_0x1e1d1c,{..._0x24988d,'ranges':_0x2c45e8[_0x1f3adb(0x1ab)][_0x1f3adb(0x357)][_0x1f3adb(0x2f4)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x7065fb);});})));}[_0x530ea4(0x356)](_0x253475){const _0x30ef6a=_0x530ea4;var _0x2a1203,_0x15b8ed;const {memberID:_0x216d8c,selection:_0x3b97fc}=_0x253475[_0x30ef6a(0x2b9)],_0x139957=_0x472396(_0x3b97fc),_0x263ce5=(_0x15b8ed=(_0x2a1203=this['_memberService']['getMember'](this[_0x30ef6a(0x275)],_0x216d8c))==null?void 0x0:_0x2a1203[_0x30ef6a(0x249)])!=null?_0x15b8ed:_0x30ef6a(0x39d),_0x189d15={'color':this[_0x30ef6a(0x1f5)][_0x30ef6a(0x343)](_0x216d8c),'name':_0x263ce5,'ranges':_0x139957},_0x54dcb9=this['cursorInfo'];_0x54dcb9[_0x30ef6a(0x3ec)](_0x216d8c,_0x189d15),this[_0x30ef6a(0x30e)][_0x30ef6a(0x428)](_0x54dcb9);}[_0x530ea4(0x2ab)](_0xd2de37){const _0xb65af2=_0x530ea4,{memberID:_0x2503c1}=_0xd2de37['data'],_0x15244d=this[_0xb65af2(0x2eb)];_0x15244d[_0xb65af2(0x222)](_0x2503c1),this[_0xb65af2(0x30e)][_0xb65af2(0x428)](_0x15244d);}[_0x530ea4(0x25e)](){const _0x3ead3d=_0x530ea4;var _0x3a377c;if(this[_0x3ead3d(0x2dd)]=!0x0,((_0x3a377c=this[_0x3ead3d(0x2cd)][_0x3ead3d(0x3d6)]())==null?void 0x0:_0x3a377c[_0x3ead3d(0x1e8)]())!==this['unitID'])return;const _0x210fa4=this['_injector'][_0x3ead3d(0x22f)](_0xb349ea[_0x3ead3d(0x3f6)])[_0x3ead3d(0x35f)]();Array[_0x3ead3d(0x307)](_0x210fa4)&&_0x210fa4[_0x3ead3d(0x2ee)]>0x0&&this[_0x3ead3d(0x1c1)](_0x210fa4);}['_toggleOffline'](){const _0x1564c2=_0x530ea4;this[_0x1564c2(0x2dd)]=!0x1;}};_0x2ccc25=_0x4fd055([_0x2c9cff(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x2c9cff(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x3e294f)),_0x2c9cff(0x4,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x3a3)])),_0x2c9cff(0x5,_0x1f0a18[_0x530ea4(0x41d)](_0x50ea68)),_0x2c9cff(0x6,_0x1cac3e[_0x530ea4(0x41e)]),_0x2c9cff(0x7,_0x1f0a18[_0x530ea4(0x2db)]),_0x2c9cff(0x8,_0x1f0a18[_0x530ea4(0x3d7)])],_0x2ccc25);var _0x207dcb=Object[_0x530ea4(0x201)],_0x1ee03d=(_0x5357ac,_0x578d5f,_0x1f618f,_0x561a26)=>{const _0x21fcc3=_0x530ea4;for(var _0x3cb56d=_0x561a26>0x1?void 0x0:_0x561a26?_0x207dcb(_0x578d5f,_0x1f618f):_0x578d5f,_0x18e4f7=_0x5357ac[_0x21fcc3(0x2ee)]-0x1,_0x43ce34;_0x18e4f7>=0x0;_0x18e4f7--)(_0x43ce34=_0x5357ac[_0x18e4f7])&&(_0x3cb56d=_0x43ce34(_0x3cb56d)||_0x3cb56d);return _0x3cb56d;},_0x1ef04f=(_0x5bd732,_0x524281)=>(_0x2a87dc,_0x464bd3)=>_0x524281(_0x2a87dc,_0x464bd3,_0x5bd732);const _0xb532ee=0x12c,_0x21482b=0x64,_0x1ffd99=()=>{let _0x422cc1=[],_0x31de6b=!0x1;return _0x589315=>{const _0x3e2f35=_0x1efe;_0x422cc1[_0x3e2f35(0x36a)](_0x589315),_0x31de6b||(_0x31de6b=!0x0,setTimeout(()=>{_0x422cc1['forEach'](_0x7bfae2=>_0x7bfae2()),_0x422cc1=[],_0x31de6b=!0x1;}));};};let _0x553a42=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x15be43,_0x12d922,_0xb65e2c,_0x2896af,_0x412cc3,_0x2f0726,_0x24537f,_0x429ae8){const _0x338e8b=_0x530ea4;super(),_0x1b53be(this,_0x338e8b(0x2dd),!0x1),_0x1b53be(this,_0x338e8b(0x30a),!0x1),_0x1b53be(this,_0x338e8b(0x30e),new _0x5900c2['BehaviorSubject'](new Map())),_0x1b53be(this,_0x338e8b(0x318),this[_0x338e8b(0x30e)][_0x338e8b(0x380)]()),_0x1b53be(this,_0x338e8b(0x1d3),new _0x5900c2['BehaviorSubject']([])),_0x1b53be(this,'roomMembers$',this['_roomMembers$'][_0x338e8b(0x420)](_0x5900c2[_0x338e8b(0x285)](_0xb532ee))),_0x1b53be(this,_0x338e8b(0x1c1),_0x1f0a18[_0x338e8b(0x248)]((_0x1fb4fc,_0x101536)=>{const _0x359fa5=_0x338e8b,_0x5b0686={'eventID':_0x1cac3e[_0x359fa5(0x232)][_0x359fa5(0x3bc)],'data':{'unitID':this[_0x359fa5(0x275)],'memberID':this[_0x359fa5(0x1aa)][_0x359fa5(0x27f)](),'selection':_0x512390['serializeRangeWithSheet'](_0x1fb4fc,_0x101536[_0x359fa5(0x1ef)])}};this[_0x359fa5(0x1aa)][_0x359fa5(0x274)](_0x5b0686,this[_0x359fa5(0x275)]);},_0x21482b)),(this[_0x338e8b(0x275)]=_0x15be43,this['_session']=_0x12d922,this[_0x338e8b(0x335)]=_0xb65e2c,this[_0x338e8b(0x1f5)]=_0x2896af,this[_0x338e8b(0x3fd)]=_0x412cc3,this[_0x338e8b(0x2cd)]=_0x2f0726,this[_0x338e8b(0x3c2)]=_0x24537f,this[_0x338e8b(0x25d)]=_0x429ae8);}get['cursorInfo'](){const _0x517a4b=_0x530ea4;return this[_0x517a4b(0x30e)][_0x517a4b(0x1e4)]();}get[_0x530ea4(0x2e8)](){const _0x2e8558=_0x530ea4;return this[_0x2e8558(0x1d3)][_0x2e8558(0x1e4)]();}[_0x530ea4(0x342)](){const _0x48ee86=_0x530ea4;super[_0x48ee86(0x342)](),this[_0x48ee86(0x30e)][_0x48ee86(0x428)](new Map()),this['_cursorInfo$'][_0x48ee86(0x361)](),this['_roomMembers$'][_0x48ee86(0x428)]([]),this['_roomMembers$'][_0x48ee86(0x361)]();}['init'](){const _0x5440a2=_0x530ea4;this[_0x5440a2(0x30a)]||(this[_0x5440a2(0x30a)]=!0x0,this[_0x5440a2(0x1aa)][_0x5440a2(0x333)][_0x5440a2(0x420)](_0x5900c2[_0x5440a2(0x24a)](this[_0x5440a2(0x211)]))['subscribe'](_0x1e4be1=>{const _0x3df592=_0x5440a2;_0x1e4be1===_0x5a7b55[_0x3df592(0x313)][_0x3df592(0x3ca)]?this['_toggleOnline']():this[_0x3df592(0x344)]();}),this['_session'][_0x5440a2(0x21d)][_0x5440a2(0x420)](_0x5900c2['takeUntil'](this['dispose$']))['subscribe'](_0x49de7f=>{const _0x33114d=_0x5440a2,_0x326b12=_0x49de7f['eventID'];_0x326b12===_0x1cac3e[_0x33114d(0x232)]['UPDATE_CURSOR']&&this[_0x33114d(0x356)](_0x49de7f),_0x326b12===_0x1cac3e[_0x33114d(0x232)][_0x33114d(0x2d5)]&&this[_0x33114d(0x2ab)](_0x49de7f);}),this[_0x5440a2(0x21f)](),this[_0x5440a2(0x3b8)](this[_0x5440a2(0x3c2)][_0x5440a2(0x3fb)](_0x3b3b19=>{const _0x3d95ca=_0x5440a2;if(this[_0x3d95ca(0x2dd)]&&_0x3b3b19['id']===_0x5e0c6b[_0x3d95ca(0x1bb)]['id']&&_0x3b3b19[_0x3d95ca(0x357)][_0x3d95ca(0x3f0)]===this[_0x3d95ca(0x275)]){const _0x52092f=_0x3b3b19[_0x3d95ca(0x357)];this['_updateLocalCursor'](_0x52092f[_0x3d95ca(0x2f8)],_0x52092f['selections'][0x0]);}})));}[_0x530ea4(0x356)](_0x3cc600){const _0x2b1c39=_0x530ea4;var _0xd37296,_0x3976bc;const {memberID:_0x1b2a8d,selection:_0xbf364}=_0x3cc600[_0x2b1c39(0x2b9)],{sheetName:_0x1fd41f,range:_0x401a68}=_0x512390[_0x2b1c39(0x30f)](_0xbf364),_0x262520={'name':(_0x3976bc=(_0xd37296=this[_0x2b1c39(0x3fd)][_0x2b1c39(0x405)](this['unitID'],_0x1b2a8d))==null?void 0x0:_0xd37296[_0x2b1c39(0x249)])!=null?_0x3976bc:_0x2b1c39(0x39d),'range':this[_0x2b1c39(0x39a)](_0x1fd41f,_0x401a68),'sheetID':_0x1fd41f,'color':this[_0x2b1c39(0x1f5)][_0x2b1c39(0x343)](_0x1b2a8d),'selection':_0xbf364},_0x25d3de=this[_0x2b1c39(0x2eb)];_0x25d3de[_0x2b1c39(0x3ec)](_0x1b2a8d,_0x262520),this[_0x2b1c39(0x30e)][_0x2b1c39(0x428)](_0x25d3de);}[_0x530ea4(0x2ab)](_0x3fd1b6){const _0x22ba72=_0x530ea4,{memberID:_0x20b203}=_0x3fd1b6[_0x22ba72(0x2b9)],_0x23681e=this['cursorInfo'];_0x23681e[_0x22ba72(0x222)](_0x20b203),this['_cursorInfo$'][_0x22ba72(0x428)](_0x23681e);}[_0x530ea4(0x39a)](_0x3415f9,_0x15dca6){const _0x3cd729=_0x530ea4;var _0x52a287,_0x28bb93;const _0x3de575=(_0x28bb93=(_0x52a287=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3cd729(0x275)]))==null?void 0x0:_0x52a287[_0x3cd729(0x3f8)](_0x3415f9))==null?void 0x0:_0x28bb93[_0x3cd729(0x3e2)]();return(_0x3de575==null?void 0x0:_0x3de575[_0x3cd729(0x2c8)](_0x15b28e=>_0x1f0a18[_0x3cd729(0x1b1)][_0x3cd729(0x2d1)](_0x15b28e,_0x15dca6)))||_0x15dca6;}['_onRefRangeChange'](){const _0x4f5939=_0x530ea4,_0x4ec81f=new _0x1f0a18[(_0x4f5939(0x2c5))](),_0x39a936=_0x1ffd99(),_0xba4d11=()=>{const _0x5872b8=_0x4f5939;_0x4ec81f[_0x5872b8(0x342)]();const _0x5e0a2d=(_0x310342,_0x3deac1,_0xb8ab2f,_0x3d34c7)=>{const _0x29b4f7=_0x5872b8;let _0x190fcd=[];switch(_0x310342['id']){case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x1ce)]:{_0x190fcd=_0x5e0c6b['handleDeleteRangeMoveLeft'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x190fcd=_0x5e0c6b['handleDeleteRangeMoveUp'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x352)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x247)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x345)]:{_0x190fcd=_0x5e0c6b['handleInsertRangeMoveDown'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x384)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x25b)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b['EffectRefRangId']['InsertRowCommandId']:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x337)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x364)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x40b)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x2b1)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x40d)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x3f9)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x349)](_0x310342,_0x3d34c7);break;}}const _0x42af65=_0x5e0c6b[_0x29b4f7(0x3a1)](_0x190fcd,_0x3d34c7),_0x308e54=this[_0x29b4f7(0x2eb)][_0x29b4f7(0x22f)](_0x3deac1);if(_0x308e54&&_0x42af65){const _0x5dcf61={..._0x308e54,'range':_0x42af65};this[_0x29b4f7(0x2eb)][_0x29b4f7(0x3ec)](_0x3deac1,_0x5dcf61),_0x39a936(()=>{const _0x251cdb=_0x29b4f7,_0x330bce=this[_0x251cdb(0x25d)][_0x251cdb(0x226)](_0x42af65,_0x121720=>(_0x330bce[_0x251cdb(0x342)](),_0x5e0a2d(_0x121720,_0x3deac1,_0xb8ab2f,_0x42af65)));_0x4ec81f[_0x251cdb(0x20b)](_0x330bce);});}return{'redos':[],'undos':[]};};this[_0x5872b8(0x2eb)]['forEach']((_0x399960,_0xca098a)=>{const _0x3c1315=_0x5872b8,{range:_0x4333e6,sheetID:_0x4032fd}=_0x399960,_0x4f0c1a=this[_0x3c1315(0x25d)][_0x3c1315(0x226)](_0x4333e6,_0x2efc6a=>(_0x4f0c1a['dispose'](),_0x5e0a2d(_0x2efc6a,_0xca098a,_0x4032fd,_0x4333e6)));_0x4ec81f[_0x3c1315(0x20b)](_0x4f0c1a);});};this[_0x4f5939(0x3b8)](_0x1f0a18[_0x4f5939(0x303)](this[_0x4f5939(0x30e)][_0x4f5939(0x272)](()=>{_0xba4d11();})));}[_0x530ea4(0x25e)](){const _0x496082=_0x530ea4;var _0x1f5992,_0x269c4b;if(this['_online']=!0x0,((_0x1f5992=this[_0x496082(0x2cd)][_0x496082(0x3d6)]())==null?void 0x0:_0x1f5992[_0x496082(0x1e8)]())!==this['unitID'])return;const _0x280020=(_0x269c4b=this[_0x496082(0x335)][_0x496082(0x22f)](_0x5e0c6b[_0x496082(0x350)])['getCurrentSelections']())==null?void 0x0:_0x269c4b[0x0],_0x308f31=this[_0x496082(0x2cd)][_0x496082(0x3e3)](_0x1f0a18[_0x496082(0x358)]['UNIVER_SHEET'])['getActiveSheet']();_0x280020&&_0x308f31&&this[_0x496082(0x1c1)](_0x308f31[_0x496082(0x1a9)](),_0x280020);}[_0x530ea4(0x344)](){const _0x50f126=_0x530ea4;this[_0x50f126(0x2dd)]=!0x1;}};_0x553a42=_0x1ee03d([_0x1ef04f(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x1ef04f(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x3e294f)),_0x1ef04f(0x4,_0x1f0a18['Inject'](_0x5a7b55[_0x530ea4(0x3a3)])),_0x1ef04f(0x5,_0x1f0a18[_0x530ea4(0x2db)]),_0x1ef04f(0x6,_0x1f0a18['ICommandService']),_0x1ef04f(0x7,_0x1f0a18[_0x530ea4(0x41d)](_0x5e0c6b[_0x530ea4(0x1e9)]))],_0x553a42);var _0x42a267=Object['getOwnPropertyDescriptor'],_0x4c0614=(_0x16d296,_0x29dfbd,_0x2caf5d,_0x103d13)=>{const _0x14f3cc=_0x530ea4;for(var _0xc3dbe4=_0x103d13>0x1?void 0x0:_0x103d13?_0x42a267(_0x29dfbd,_0x2caf5d):_0x29dfbd,_0x4fb40f=_0x16d296[_0x14f3cc(0x2ee)]-0x1,_0x4116f8;_0x4fb40f>=0x0;_0x4fb40f--)(_0x4116f8=_0x16d296[_0x4fb40f])&&(_0xc3dbe4=_0x4116f8(_0xc3dbe4)||_0xc3dbe4);return _0xc3dbe4;},_0x173ee3=(_0x4461a8,_0x293bd1)=>(_0x1128f,_0x3ca8d8)=>_0x293bd1(_0x1128f,_0x3ca8d8,_0x4461a8);let _0x201d0c=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x5f513a,_0x905e26,_0x228505){const _0x50cf57=_0x530ea4;super(),_0x1b53be(this,_0x50cf57(0x1dd),new Map()),_0x1b53be(this,_0x50cf57(0x227),new _0x5900c2[(_0x50cf57(0x1c7))]()),(this['_univerInstanceService']=_0x5f513a,this[_0x50cf57(0x335)]=_0x905e26,this[_0x50cf57(0x241)]=_0x228505,this['_init']());}[_0x530ea4(0x342)](){const _0x12f66f=_0x530ea4;super[_0x12f66f(0x342)](),this['_entityInit$'][_0x12f66f(0x361)](),this[_0x12f66f(0x1dd)][_0x12f66f(0x371)](_0x29c6fc=>_0x29c6fc[_0x12f66f(0x342)]());}[_0x530ea4(0x3be)](_0x19ad77){const _0x2d2aec=_0x530ea4;return this[_0x2d2aec(0x1dd)]['has'](_0x19ad77)?this['_entities'][_0x2d2aec(0x22f)](_0x19ad77)[_0x2d2aec(0x318)]:this[_0x2d2aec(0x227)][_0x2d2aec(0x420)](_0x5900c2[_0x2d2aec(0x26d)](_0x2c3a27=>_0x2c3a27['unitID']===_0x19ad77),_0x5900c2['switchMap'](_0xd72bae=>_0xd72bae[_0x2d2aec(0x318)]));}[_0x530ea4(0x30a)](){const _0x596cbb=_0x530ea4;this[_0x596cbb(0x2cd)][_0x596cbb(0x36c)](_0x1f0a18['UniverInstanceType'][_0x596cbb(0x1ff)])[_0x596cbb(0x420)](_0x5900c2['takeUntil'](this[_0x596cbb(0x211)]))[_0x596cbb(0x272)](async _0x1d966a=>{const _0x174efa=_0x596cbb,_0x29d88c=_0x1d966a['getUnitId'](),_0x54be56=await this[_0x174efa(0x2fd)](_0x29d88c);this[_0x174efa(0x227)]['next'](_0x54be56),this[_0x174efa(0x1dd)]['set'](_0x29d88c,_0x54be56);}),this['_univerInstanceService'][_0x596cbb(0x36c)](_0x1f0a18[_0x596cbb(0x358)][_0x596cbb(0x389)])[_0x596cbb(0x420)](_0x5900c2[_0x596cbb(0x24a)](this[_0x596cbb(0x211)]))[_0x596cbb(0x420)](_0x5900c2['filter'](_0x464db6=>!_0x464db6[_0x596cbb(0x1e8)]()[_0x596cbb(0x398)]('__')))[_0x596cbb(0x272)](async _0x12614b=>{const _0x5a5a1e=_0x596cbb,_0x35c7d7=_0x12614b['getUnitId'](),_0x2be09d=await this[_0x5a5a1e(0x34c)](_0x35c7d7);this[_0x5a5a1e(0x227)][_0x5a5a1e(0x428)](_0x2be09d),this[_0x5a5a1e(0x1dd)][_0x5a5a1e(0x3ec)](_0x35c7d7,_0x2be09d);}),_0x5900c2[_0x596cbb(0x35e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1f0a18[_0x596cbb(0x358)][_0x596cbb(0x389)]),this[_0x596cbb(0x2cd)]['getTypeOfUnitDisposed$'](_0x1f0a18[_0x596cbb(0x358)]['UNIVER_SHEET']))['pipe'](_0x5900c2['takeUntil'](this['dispose$']))[_0x596cbb(0x272)](_0x4b367c=>{const _0xe1ed70=_0x596cbb,_0x2ceaf5=_0x4b367c[_0xe1ed70(0x1e8)](),_0xd49afe=this[_0xe1ed70(0x1dd)][_0xe1ed70(0x22f)](_0x2ceaf5);_0xd49afe&&(_0xd49afe[_0xe1ed70(0x342)](),this[_0xe1ed70(0x1dd)][_0xe1ed70(0x222)](_0x2ceaf5));});}async[_0x530ea4(0x2fd)](_0xbf9f0a){const _0x439c39=_0x530ea4,_0x447fbe=await this['_collabSessionService'][_0x439c39(0x362)](_0xbf9f0a),_0x117cf8=this['_injector'][_0x439c39(0x2e9)](_0x553a42,_0xbf9f0a,_0x447fbe);return _0x117cf8['init'](),_0x117cf8;}async['_startDocCollabCursor'](_0x3b0dbd){const _0x28107e=_0x530ea4,_0x173837=await this[_0x28107e(0x241)]['requireSession'](_0x3b0dbd),_0x10e3c6=this[_0x28107e(0x335)][_0x28107e(0x2e9)](_0x2ccc25,_0x3b0dbd,_0x173837);return _0x10e3c6[_0x28107e(0x29f)](),_0x10e3c6;}};_0x201d0c=_0x4c0614([_0x173ee3(0x0,_0x1f0a18[_0x530ea4(0x2db)]),_0x173ee3(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x173ee3(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55['CollaborationSessionService']))],_0x201d0c);const _0x4c79ca=0x14,_0x1b2881=0xc8,_0x390ed3=0x4,_0x2afd1e=0x5;function _0x3874d2(_0x16719e,_0x5ae0fc){const _0x4c2eaa=_0x530ea4;let {radius:_0x3a55f7,width:_0x26ba28,height:_0x155093}=_0x5ae0fc;_0x3a55f7=_0x3a55f7!=null?_0x3a55f7:0x0,_0x26ba28=_0x26ba28!=null?_0x26ba28:0x1e,_0x155093=_0x155093!=null?_0x155093:0x1e;let _0x5c9d6b=0x0,_0x523f40=0x0,_0x27c517=0x0;_0x5c9d6b=_0x523f40=_0x27c517=Math[_0x4c2eaa(0x30d)](_0x3a55f7,_0x26ba28/0x2,_0x155093/0x2),_0x16719e[_0x4c2eaa(0x417)](),_0x16719e[_0x4c2eaa(0x402)](_0x5c9d6b,0x0),_0x16719e[_0x4c2eaa(0x1c2)](_0x26ba28-_0x523f40,0x0),_0x16719e[_0x4c2eaa(0x3af)](_0x26ba28-_0x523f40,_0x523f40,_0x523f40,Math['PI']*0x3/0x2,0x0,!0x1),_0x16719e[_0x4c2eaa(0x1c2)](_0x26ba28,_0x155093-_0x27c517),_0x16719e[_0x4c2eaa(0x3af)](_0x26ba28-_0x27c517,_0x155093-_0x27c517,_0x27c517,0x0,Math['PI']/0x2,!0x1),_0x16719e[_0x4c2eaa(0x1c2)](0x0,_0x155093),_0x16719e[_0x4c2eaa(0x1c2)](0x0,_0x5c9d6b),_0x16719e['arc'](_0x5c9d6b,_0x5c9d6b,_0x5c9d6b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16719e[_0x4c2eaa(0x33b)](),_0x5ae0fc['fill']&&(_0x16719e[_0x4c2eaa(0x412)](),_0x16719e[_0x4c2eaa(0x3a4)]=_0x5ae0fc['fill'],_0x5ae0fc[_0x4c2eaa(0x3e0)]===_0x4c2eaa(0x3c9)?_0x16719e[_0x4c2eaa(0x1c4)](_0x4c2eaa(0x3c9)):_0x16719e[_0x4c2eaa(0x1c4)](),_0x16719e['restore']());}class _0x2d6177 extends _0x1b328b[_0x530ea4(0x2aa)]{constructor(_0x54d587,_0x53d90e){const _0x378841=_0x530ea4;super(_0x54d587,_0x53d90e),_0x1b53be(this,_0x378841(0x1b4)),_0x1b53be(this,_0x378841(0x1b2)),(this[_0x378841(0x1b4)]=_0x53d90e==null?void 0x0:_0x53d90e[_0x378841(0x1b4)],this['text']=_0x53d90e==null?void 0x0:_0x53d90e['text']);}static[_0x530ea4(0x400)](_0x9e617a,_0x17e975){const _0x1bf4be=_0x530ea4,{text:_0x240dd2,color:_0x5d0905}=_0x17e975;_0x9e617a[_0x1bf4be(0x412)](),_0x9e617a['font']=_0x1bf4be(0x3fc);const _0x516dd8=_0x9e617a[_0x1bf4be(0x2ff)](_0x240dd2)[_0x1bf4be(0x25c)],_0x22fb3c=Math['min'](_0x516dd8+0x2*_0x390ed3,_0x1b2881);_0x3874d2(_0x9e617a,{'height':_0x4c79ca,'radius':0x4,'width':_0x22fb3c,'fill':_0x5d0905}),_0x9e617a[_0x1bf4be(0x3a4)]=_0x1bf4be(0x32d);const _0x525f34=_0x390ed3,_0x5949bf=_0x4c79ca-_0x2afd1e,_0x2a7a69=_0x1b2881-0x2*_0x390ed3;if(_0x516dd8>_0x2a7a69){let _0x35d5ae='',_0x582505=0x0;for(const _0x14357f of _0x240dd2){const _0x47207f=_0x9e617a[_0x1bf4be(0x2ff)](_0x14357f)[_0x1bf4be(0x25c)];if(_0x582505+_0x47207f<=_0x2a7a69-_0x9e617a['measureText']('...')[_0x1bf4be(0x25c)])_0x35d5ae+=_0x14357f,_0x582505+=_0x47207f;else{_0x35d5ae+=_0x1bf4be(0x340);break;}}_0x9e617a['fillText'](_0x35d5ae,_0x525f34,_0x5949bf);}else _0x9e617a[_0x1bf4be(0x1e6)](_0x240dd2,_0x525f34,_0x5949bf);_0x9e617a[_0x1bf4be(0x391)]();}['_draw'](_0x1a83d6){const _0x5ee558=_0x530ea4;_0x2d6177[_0x5ee558(0x400)](_0x1a83d6,this);}}const _0x2f287c=_0x530ea4(0x238),_0x383cc0=_0x530ea4(0x2f6),_0x46878b='collab-rect-range-',_0x49a11a=0x6,_0x4b20f8=1.5,_0x1f854d=0x4,_0x220ce7=1.5,_0xa7614='rgba(255,\x20255,\x20255,\x200.01)';class _0x2d8475{constructor(_0x3640ee,_0x108444,_0x15859a,_0x16d320){const _0x11edcf=_0x530ea4;_0x1b53be(this,_0x11edcf(0x429),[]),_0x1b53be(this,'_anchor',null),_0x1b53be(this,'_textBubble',null),_0x1b53be(this,'_anchorDot',null),_0x1b53be(this,_0x11edcf(0x230),null),_0x1b53be(this,_0x11edcf(0x270),null),(this[_0x11edcf(0x1e5)]=_0x3640ee,this[_0x11edcf(0x42f)]=_0x108444,this[_0x11edcf(0x2a8)]=_0x15859a,this[_0x11edcf(0x3a0)]=_0x16d320,this[_0x11edcf(0x291)]());}set['_hover'](_0x1f9e55){const _0x37f044=_0x530ea4;_0x1f9e55?(this[_0x37f044(0x265)]&&this[_0x37f044(0x265)][_0x37f044(0x3ce)](),this[_0x37f044(0x256)]&&this[_0x37f044(0x256)][_0x37f044(0x40a)]()):(this['_anchorDot']&&this[_0x37f044(0x265)]['show'](),this[_0x37f044(0x256)]&&this[_0x37f044(0x256)][_0x37f044(0x3ce)]());}[_0x530ea4(0x342)](){const _0x5f8f12=_0x530ea4;for(const _0x4ad786 of this[_0x5f8f12(0x429)])_0x4ad786['dispose']();this[_0x5f8f12(0x256)]&&this[_0x5f8f12(0x256)]['dispose'](),this[_0x5f8f12(0x265)]&&this[_0x5f8f12(0x265)]['dispose'](),this['_anchor']&&this[_0x5f8f12(0x406)][_0x5f8f12(0x342)](),this[_0x5f8f12(0x270)]&&this[_0x5f8f12(0x270)]();}[_0x530ea4(0x291)](){const _0x1ab197=_0x530ea4;var _0x53f058;const {_docSkeleton:_0x3763be,_document:_0x145b69}=this,{color:_0x5dbfd9,name:_0x39c00f,ranges:_0x3db144}=this[_0x1ab197(0x1e5)],_0x233d83=_0x145b69[_0x1ab197(0x3bf)](),{docsLeft:_0x87aba5,docsTop:_0xfc2c1e}=_0x233d83,_0x1e331a=new _0x4dd21f[(_0x1ab197(0x1ad))](_0x233d83,_0x3763be);for(const {startOffset:_0x261c86,endOffset:_0x326909,rangeType:_0x23c239,segmentId:_0x513c54,segmentPage:_0x5210c5,collapsed:_0x10c914,isActive:_0x4c59c7}of _0x3db144){const _0x117037=_0x3763be[_0x1ab197(0x2e7)](_0x261c86,!0x0,_0x513c54,_0x5210c5);let _0x318f94=_0x3763be[_0x1ab197(0x2e7)](_0x326909,!0x0,_0x513c54,_0x5210c5);if(_0x318f94==null&&(_0x318f94=_0x3763be[_0x1ab197(0x2e7)](_0x326909-0x1,!0x1,_0x513c54,_0x5210c5)),_0x4c59c7){const {contentBoxPointGroup:_0x35cfb7}=_0x1e331a[_0x1ab197(0x261)](_0x318f94,_0x318f94);if(_0x35cfb7[_0x1ab197(0x2ee)]===0x0)continue;this[_0x1ab197(0x2d9)](_0x5dbfd9,_0x35cfb7,_0x87aba5,_0xfc2c1e,_0x39c00f),this[_0x1ab197(0x270)]=this['_handleHover']();}if(_0x117037&&_0x318f94){if(_0x23c239===_0x1f0a18[_0x1ab197(0x2df)][_0x1ab197(0x3c8)]){const _0x6efb71=new _0x4dd21f[(_0x1ab197(0x39c))](_0x233d83,_0x3763be),{pointGroup:_0x4e0edc}=(_0x53f058=_0x6efb71[_0x1ab197(0x261)](_0x117037,_0x318f94))!=null?_0x53f058:{};if(_0x4e0edc==null||_0x4e0edc['length']===0x0)continue;this[_0x1ab197(0x403)](_0x5dbfd9,_0x4e0edc,_0x87aba5,_0xfc2c1e);}else{if(!_0x10c914){const {borderBoxPointGroup:_0xadacc2}=_0x1e331a[_0x1ab197(0x261)](_0x117037,_0x318f94);if(_0xadacc2['length']===0x0)continue;this[_0x1ab197(0x33d)](_0x5dbfd9,_0xadacc2,_0x87aba5,_0xfc2c1e);}}}}}[_0x530ea4(0x2d9)](_0x32d5a6,_0x123eaf,_0x9e78a4,_0x3a7d21,_0x24958a){const _0x41667c=_0x530ea4,_0x3cd718=this['_getAnchorBounding'](_0x123eaf),{left:_0x70a58a,top:_0x3f2e99,height:_0x3b146a}=_0x3cd718,_0x2c58a5=this[_0x41667c(0x386)](),_0x249acc=_0x220ce7/_0x2c58a5,_0x12af96=new _0x1b328b[(_0x41667c(0x311))](_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21,'height':_0x3b146a,'width':_0x4b20f8,'fill':_0x32d5a6||_0x1b328b[_0x41667c(0x1fb)](_0x1f0a18[_0x41667c(0x3c4)][_0x41667c(0x20e)],0x0),'strokeWidth':_0x249acc,'stroke':_0xa7614,'evented':!0x0});this['_anchor']=_0x12af96,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0x12af96,_0x4dd21f[_0x41667c(0x29e)]);const _0x2fa387=new _0x1b328b['Rect'](_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21-_0x1f854d/0x2,'height':_0x1f854d,'width':_0x1f854d,'fill':_0x32d5a6||_0x1b328b[_0x41667c(0x1fb)](_0x1f0a18['COLORS'][_0x41667c(0x20e)],0x0),'strokeWidth':0x0,'stroke':_0x32d5a6||_0x1b328b['getColor'](_0x1f0a18[_0x41667c(0x3c4)][_0x41667c(0x20e)],0x0),'evented':!0x1});this['_anchorDot']=_0x2fa387,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0x2fa387,_0x4dd21f[_0x41667c(0x29e)]);const _0xf09ed6=new _0x2d6177(_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21-_0x4c79ca,'text':_0x24958a,'color':_0x32d5a6});this[_0x41667c(0x256)]=_0xf09ed6,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0xf09ed6,_0x4dd21f['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x530ea4(0x327)](){const _0x33c784=_0x530ea4,_0x302cbd=this[_0x33c784(0x406)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x137b6e=this[_0x33c784(0x406)][_0x33c784(0x245)][_0x33c784(0x1df)](()=>{const _0x2b3b5a=_0x33c784;this[_0x2b3b5a(0x230)]&&clearTimeout(this[_0x2b3b5a(0x230)]),this['_hideTimer']=setTimeout(()=>{const _0x5ed067=_0x2b3b5a;this[_0x5ed067(0x2fb)]=!0x1;},0x7d0);});return()=>{const _0x50e411=_0x33c784;_0x302cbd[_0x50e411(0x2ea)](),_0x137b6e[_0x50e411(0x2ea)]();};}[_0x530ea4(0x33d)](_0x1def34,_0x3b3bb5,_0x321469,_0x3a457c){const _0x4f6961=_0x530ea4,_0x5a428b=new _0x1f0a18['ColorKit'](_0x1def34)[_0x4f6961(0x382)](0.2)[_0x4f6961(0x34b)](),_0x18202c=new _0x1b328b[(_0x4f6961(0x215))](_0x383cc0+_0x1f0a18[_0x4f6961(0x23b)](_0x49a11a),{'pointsGroup':_0x3b3bb5,'fill':_0x5a428b||_0x1b328b['getColor'](_0x1f0a18['COLORS']['black'],0.2),'left':_0x321469,'top':_0x3a457c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f6961(0x429)][_0x4f6961(0x36a)](_0x18202c),this['_scene'][_0x4f6961(0x3c0)](_0x18202c,_0x4dd21f[_0x4f6961(0x29e)]);}['_drawRectRange'](_0x4cb3ec,_0x38ef1b,_0x54c384,_0x2dbb09){const _0x2911f2=_0x530ea4,_0x531840=new _0x1f0a18[(_0x2911f2(0x3e6))](_0x4cb3ec)[_0x2911f2(0x382)](0.2)[_0x2911f2(0x34b)](),_0x4cf47a=new _0x1b328b[(_0x2911f2(0x215))](_0x46878b+_0x1f0a18[_0x2911f2(0x23b)](_0x49a11a),{'pointsGroup':_0x38ef1b,'fill':_0x531840||_0x1b328b[_0x2911f2(0x1fb)](_0x1f0a18[_0x2911f2(0x3c4)]['black'],0.2),'left':_0x54c384,'top':_0x2dbb09,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2911f2(0x429)][_0x2911f2(0x36a)](_0x4cf47a),this[_0x2911f2(0x42f)]['addObject'](_0x4cf47a,_0x4dd21f[_0x2911f2(0x29e)]);}[_0x530ea4(0x259)](_0x2d064f){const _0x29cbca=_0x2d064f[0x0],_0x115ac0=_0x29cbca[0x0],_0xdb5074=_0x29cbca[0x2],{x:_0x3ef336,y:_0x3fed42}=_0x115ac0,{x:_0x238388,y:_0x45bce5}=_0xdb5074;return{'left':_0x3ef336,'top':_0x3fed42,'width':_0x238388-_0x3ef336,'height':_0x45bce5-_0x3fed42};}[_0x530ea4(0x386)](){const _0x18afc1=_0x530ea4,{scaleX:_0x473a9c,scaleY:_0x3d2842}=this[_0x18afc1(0x42f)][_0x18afc1(0x24b)]();return Math[_0x18afc1(0x3d9)](_0x473a9c,_0x3d2842);}}var _0x1a6180=Object[_0x530ea4(0x201)],_0x41c84c=(_0x5aaa70,_0x542dc0,_0xa2a347,_0x5e2978)=>{const _0x484009=_0x530ea4;for(var _0x2c8391=_0x5e2978>0x1?void 0x0:_0x5e2978?_0x1a6180(_0x542dc0,_0xa2a347):_0x542dc0,_0x7dffe0=_0x5aaa70[_0x484009(0x2ee)]-0x1,_0x33777f;_0x7dffe0>=0x0;_0x7dffe0--)(_0x33777f=_0x5aaa70[_0x7dffe0])&&(_0x2c8391=_0x33777f(_0x2c8391)||_0x2c8391);return _0x2c8391;},_0x1e14ef=(_0x441141,_0xed53a5)=>(_0x412e67,_0x5630d3)=>_0xed53a5(_0x412e67,_0x5630d3,_0x441141);let _0x2d1851=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x18ac57,_0x1b72c0,_0x25c411,_0x59c7f7,_0x146f75){const _0x56af62=_0x530ea4;super(),_0x1b53be(this,_0x56af62(0x3ac),[]),_0x1b53be(this,_0x56af62(0x1fc),[]),(this[_0x56af62(0x3ee)]=_0x18ac57,this[_0x56af62(0x441)]=_0x1b72c0,this[_0x56af62(0x1d7)]=_0x25c411,this[_0x56af62(0x3c2)]=_0x59c7f7,this['_themeService']=_0x146f75,this[_0x56af62(0x30a)]());}[_0x530ea4(0x30a)](){const _0x5a5fae=_0x530ea4,_0x29235a=this['_context'][_0x5a5fae(0x3f0)],_0x423ab5=this[_0x5a5fae(0x441)];this[_0x5a5fae(0x3b8)](_0x5900c2[_0x5a5fae(0x421)]([this[_0x5a5fae(0x1d7)]['getCollabCursors$'](_0x29235a),this[_0x5a5fae(0x341)][_0x5a5fae(0x26c)]])[_0x5a5fae(0x420)](_0x58e73e[_0x5a5fae(0x203)](([_0x37fdd5,_0xf4f642])=>({'skeleton':_0x423ab5[_0x5a5fae(0x1c6)](),'cursors':[..._0x37fdd5[_0x5a5fae(0x310)]()]['flatMap'](_0x131a41=>({..._0x131a41,'color':this[_0x5a5fae(0x341)][_0x5a5fae(0x3e5)](_0x131a41[_0x5a5fae(0x1b4)])}))})))[_0x5a5fae(0x272)](_0x28aa34=>{const _0xddb216=_0x5a5fae;if(this['_removeCollabCursors'](),_0x28aa34){const {skeleton:_0x21b017,cursors:_0x266654}=_0x28aa34;this[_0xddb216(0x2c1)](_0x21b017,_0x266654);}})),this[_0x5a5fae(0x3f1)](),this[_0x5a5fae(0x41b)]();}[_0x530ea4(0x2c1)](_0x3b5d12,_0xb53446){const _0x86711f=_0x530ea4,{scene:_0x534f9a,mainComponent:_0x2836da}=this[_0x86711f(0x3ee)],_0x5ad020=_0xb53446[_0x86711f(0x203)](_0x298623=>new _0x2d8475(_0x298623,_0x534f9a,_0x3b5d12,_0x2836da));this[_0x86711f(0x3ac)]=_0x5ad020,this[_0x86711f(0x1fc)]=_0xb53446;}[_0x530ea4(0x3aa)](){const _0x40a7c9=_0x530ea4;this[_0x40a7c9(0x2f3)]();const {scene:_0x37ee97,mainComponent:_0x25e85a}=this[_0x40a7c9(0x3ee)],_0x3f5b4d=this[_0x40a7c9(0x441)][_0x40a7c9(0x1c6)](),_0x3d58be=this['_cursors'][_0x40a7c9(0x203)](_0xc6cceb=>new _0x2d8475(_0xc6cceb,_0x37ee97,_0x3f5b4d,_0x25e85a));this[_0x40a7c9(0x3ac)]=_0x3d58be;}['_removeCollabCursors'](){const _0x2c72eb=_0x530ea4;this[_0x2c72eb(0x3ac)][_0x2c72eb(0x371)](_0x23b210=>_0x23b210[_0x2c72eb(0x342)]()),this[_0x2c72eb(0x3ac)]=[];}['_initCommandExecutedListener'](){const _0xcc618d=_0x530ea4,_0x5ac53c=[_0x4dd21f[_0xcc618d(0x360)]['id']];this[_0xcc618d(0x3b8)](this[_0xcc618d(0x3c2)][_0xcc618d(0x3fb)](_0x6bafe2=>{const _0x28e174=_0xcc618d;_0x5ac53c[_0x28e174(0x1bc)](_0x6bafe2['id'])&&_0x6bafe2['params'][_0x28e174(0x3f0)]===this[_0x28e174(0x3ee)][_0x28e174(0x3f0)]&&this[_0x28e174(0x3aa)]();}));}[_0x530ea4(0x3f1)](){const _0x394e83=_0x530ea4;this[_0x394e83(0x3b8)](_0x1f0a18[_0x394e83(0x26a)](this[_0x394e83(0x3ee)][_0x394e83(0x3ed)][_0x394e83(0x44a)])['pipe'](_0x58e73e[_0x394e83(0x26d)](_0x32e786=>_0x32e786['type']===_0x1b328b[_0x394e83(0x40f)]['resize']),_0x58e73e[_0x394e83(0x20d)](0x10))['subscribe'](()=>{const _0x437b3a=_0x394e83;this[_0x437b3a(0x3aa)]();}));}};_0x2d1851=_0x41c84c([_0x1e14ef(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0xb349ea[_0x530ea4(0x3f2)])),_0x1e14ef(0x2,_0x1f0a18['Inject'](_0x201d0c)),_0x1e14ef(0x3,_0x1f0a18[_0x530ea4(0x3d7)]),_0x1e14ef(0x4,_0x1f0a18['Inject'](_0x1f0a18[_0x530ea4(0x2d0)]))],_0x2d1851);const _0x3153bd=0x1,_0xc43c77=1.5;class _0x4b5ae2 extends _0x1b328b[_0x530ea4(0x2aa)]{constructor(_0x1aa83f,_0x112422){const _0x540b92=_0x530ea4;super(_0x1aa83f,_0x112422),_0x1b53be(this,_0x540b92(0x32a)),_0x1b53be(this,_0x540b92(0x306),!0x1),_0x1b53be(this,'_range'),_0x1b53be(this,_0x540b92(0x328),''),_0x1b53be(this,'_labelPosition',_0x540b92(0x324)),_0x1b53be(this,'_backgroundColor'),(_0x112422&&this[_0x540b92(0x43a)](_0x112422),this[_0x540b92(0x1b0)]['subscribeEvent'](()=>this[_0x540b92(0x43a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x540b92(0x1df)](()=>this[_0x540b92(0x43a)]({'hovered':!0x1})));}[_0x530ea4(0x43a)](_0x32e4b4){const _0x154b5f=_0x530ea4;var _0x28233d,_0x2f5fcc,_0x2d440e,_0x5ea55c,_0xefa8f9,_0x59af01;this['_color']=(_0x28233d=_0x32e4b4[_0x154b5f(0x1b4)])!=null?_0x28233d:this['_color'],this[_0x154b5f(0x306)]=(_0x2f5fcc=_0x32e4b4['hovered'])!=null?_0x2f5fcc:this['_hovered'],this[_0x154b5f(0x2fe)]=(_0x2d440e=_0x32e4b4[_0x154b5f(0x1ef)])!=null?_0x2d440e:this[_0x154b5f(0x2fe)],this[_0x154b5f(0x328)]=(_0x5ea55c=_0x32e4b4[_0x154b5f(0x249)])!=null?_0x5ea55c:this['_name'],this['_labelPosition']=(_0xefa8f9=_0x32e4b4[_0x154b5f(0x2e4)])!=null?_0xefa8f9:this[_0x154b5f(0x3bb)],this[_0x154b5f(0x3df)]=(_0x59af01=_0x32e4b4[_0x154b5f(0x370)])!=null?_0x59af01:this[_0x154b5f(0x3df)],this[_0x154b5f(0x1ec)]({'width':_0x32e4b4[_0x154b5f(0x25c)],'height':_0x32e4b4[_0x154b5f(0x437)]});}[_0x530ea4(0x24f)](_0x9f0c26){const _0x3ed63f=_0x530ea4,{row:_0x3ad8b3,column:_0x31cdc9}=_0x9f0c26;if(_0x3ad8b3>=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x3eb)]&&_0x3ad8b3<=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x286)]&&_0x31cdc9>=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x1f1)]&&_0x31cdc9<=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x2fc)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x530ea4(0x1a6)](_0x22b168){return!0x1;}['_draw'](_0x27c962){const _0xab28ee=_0x530ea4;_0x1b328b[_0xab28ee(0x311)]['drawWith'](_0x27c962,{'width':this['width'],'height':this[_0xab28ee(0x437)],'strokeWidth':_0xc43c77,'stroke':this[_0xab28ee(0x32a)],'evented':!0x1,'fill':this[_0xab28ee(0x3df)]}),this[_0xab28ee(0x306)]&&(_0x27c962[_0xab28ee(0x412)](),_0x27c962[_0xab28ee(0x2b0)](0x1,0x0,0x0,0x1,this[_0xab28ee(0x25c)],this[_0xab28ee(0x3bb)]==='bottom'?0x0:-0x14),_0x2d6177[_0xab28ee(0x400)](_0x27c962,{'text':this[_0xab28ee(0x328)],'color':this[_0xab28ee(0x32a)]}),_0x27c962['restore']());}}var _0x4956ea=Object[_0x530ea4(0x201)],_0xe784c0=(_0x4072a7,_0x5c8b23,_0x399df2,_0x178752)=>{const _0x20d4cf=_0x530ea4;for(var _0x2ba05d=_0x178752>0x1?void 0x0:_0x178752?_0x4956ea(_0x5c8b23,_0x399df2):_0x5c8b23,_0xdb3c30=_0x4072a7[_0x20d4cf(0x2ee)]-0x1,_0x547bb8;_0xdb3c30>=0x0;_0xdb3c30--)(_0x547bb8=_0x4072a7[_0xdb3c30])&&(_0x2ba05d=_0x547bb8(_0x2ba05d)||_0x2ba05d);return _0x2ba05d;},_0x22eb72=(_0x1d337c,_0x355d92)=>(_0x1b3256,_0x336979)=>_0x355d92(_0x1b3256,_0x336979,_0x1d337c);const _0x1e60b2=0x1389;let _0xbcec20=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x16ff1a,_0x33810c,_0x1d0da5,_0x5a20c0){const _0x37b3f0=_0x530ea4;super(),_0x1b53be(this,'_cursors',new Set()),_0x1b53be(this,_0x37b3f0(0x257),null),(this['_context']=_0x16ff1a,this['_sheetSkeletonManagerService']=_0x33810c,this[_0x37b3f0(0x1d7)]=_0x1d0da5,this[_0x37b3f0(0x341)]=_0x5a20c0,this[_0x37b3f0(0x30a)]());}['_init'](){const _0x5ebfd1=_0x530ea4;this[_0x5ebfd1(0x1a8)][_0x5ebfd1(0x3ba)][_0x5ebfd1(0x420)](_0x58e73e[_0x5ebfd1(0x24a)](this['dispose$']),_0x58e73e[_0x5ebfd1(0x415)](_0xd4dedb=>{const _0x565ddf=_0x5ebfd1;if(_0xd4dedb){const _0x5bc7d6=_0xd4dedb[_0x565ddf(0x250)];return _0x5900c2[_0x565ddf(0x421)](this[_0x565ddf(0x1d7)][_0x565ddf(0x3be)](this[_0x565ddf(0x3ee)][_0x565ddf(0x3f0)]),this[_0x565ddf(0x341)][_0x565ddf(0x26c)])['pipe'](_0x58e73e[_0x565ddf(0x203)](([_0x30a347,_0x52d23c])=>{const _0x5c8ea8=_0x565ddf,_0x1c1738=new Map();return _0x30a347[_0x5c8ea8(0x371)]((_0x4e675f,_0x5d9243)=>{const _0x1ab4b2=_0x5c8ea8;if(_0x4e675f[_0x1ab4b2(0x315)]===_0x5bc7d6){const _0x453b81={..._0x4e675f};_0x453b81[_0x1ab4b2(0x1b4)]=this[_0x1ab4b2(0x341)][_0x1ab4b2(0x3e5)](_0x4e675f[_0x1ab4b2(0x1b4)]),_0x1c1738[_0x1ab4b2(0x3ec)](_0x5d9243,_0x453b81);}}),{'skeleton':_0xd4dedb,'cursors':_0x1c1738};}));}return _0x5900c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x5ebfd1(0x272)](({skeleton:_0x470d6e,cursors:_0x1d39c1})=>{const _0x3892a3=_0x5ebfd1;this['_removeCollabCursors'](),_0x470d6e&&this[_0x3892a3(0x2c1)](_0x470d6e,_0x1d39c1);}),this['_sheetSkeletonManagerService'][_0x5ebfd1(0x3ba)][_0x5ebfd1(0x272)](_0x4293d8=>{const _0x3e4fe5=_0x5ebfd1;if(_0x4293d8==null)return;const {skeleton:_0x472bc5}=_0x4293d8,{scene:_0xf60295}=this['_context'];_0xf60295[_0x3e4fe5(0x3cc)][_0x3e4fe5(0x1df)](_0x1f0a18[_0x3e4fe5(0x248)](_0x13475c=>{const _0x404bc0=_0x3e4fe5;var _0x153119,_0xfe1205;const {offsetX:_0x40b947,offsetY:_0x5e4806}=_0x13475c,{x:_0x275d22,y:_0xe11c83}=_0xf60295[_0x404bc0(0x390)](_0x1b328b[_0x404bc0(0x24d)][_0x404bc0(0x225)]([_0x40b947,_0x5e4806])),{scaleX:_0x3c5856,scaleY:_0x127d6d}=_0xf60295['getAncestorScale'](),_0xb3c753=_0xf60295['getViewport'](_0x1b328b[_0x404bc0(0x2c7)]['VIEW_MAIN']),_0x38747d=_0xf60295['getVpScrollXYInfoByPosToVp'](_0x1b328b[_0x404bc0(0x24d)][_0x404bc0(0x225)]([_0x275d22,_0xe11c83]),_0xb3c753),_0x515e1b=_0x472bc5[_0x404bc0(0x1d0)](_0x40b947,_0x5e4806,_0x3c5856,_0x127d6d,_0x38747d);((_0x153119=this[_0x404bc0(0x257)])==null?void 0x0:_0x153119['column'])===_0x515e1b[_0x404bc0(0x330)]&&((_0xfe1205=this['_lastPointer'])==null?void 0x0:_0xfe1205[_0x404bc0(0x2cc)])===_0x515e1b[_0x404bc0(0x2cc)]||this[_0x404bc0(0x1fc)][_0x404bc0(0x371)](_0x27e091=>{const _0x49c4f1=_0x404bc0;_0x27e091[_0x49c4f1(0x24f)](_0x515e1b);});},0x64));});}[_0x530ea4(0x2c1)](_0xdf8c64,_0x164c5a){const _0x4498ba=_0x530ea4;var _0x57bd3a;const _0x732c86=(_0x57bd3a=this['_sheetSkeletonManagerService'][_0x4498ba(0x223)]())==null?void 0x0:_0x57bd3a[_0x4498ba(0x3cf)];if(!_0x732c86)return;const _0x224dc6=this['_getSheetObject']();if(!_0x224dc6)return;this[_0x4498ba(0x1fc)][_0x4498ba(0x371)](_0x3ddca2=>{const _0x4a6639=_0x4498ba;_0x3ddca2[_0x4a6639(0x392)]();});const {scene:_0x2a7e02}=_0x224dc6,_0x28aaae=_0x438bcb(Array[_0x4498ba(0x1d2)](_0x164c5a[_0x4498ba(0x310)]()))[_0x4498ba(0x203)](_0x36ae4c=>{const _0x1f211d=_0x4498ba,{color:_0x55bf34,range:_0x369bc2,name:_0x2aa69c,selection:_0x5630ee,sheetID:_0x41aab5}=_0x36ae4c,{startColumn:_0x13300f,startRow:_0x4b0611,endColumn:_0x1b3878,endRow:_0x2f8cc1}=_0x369bc2,_0xc54e0a=_0x2642d0['getCoordByCell'](_0x4b0611,_0x13300f,_0x2a7e02,_0x732c86),_0x1d8f78=_0x2642d0[_0x1f211d(0x200)](_0x2f8cc1,_0x1b3878,_0x2a7e02,_0x732c86),{columnHeaderHeightAndMarginTop:_0x3ea990}=_0x732c86,{startX:_0x4a0534,startY:_0x8f5615}=_0xc54e0a,{endX:_0x30a493,endY:_0x45b342}=_0x1d8f78,_0x56c5fb=_0x30a493-_0x4a0534,_0x548788=_0x45b342-_0x8f5615,_0x4847c9={'labelPosition':_0x8f5615-_0x3ea990>=_0x4c79ca?'top':_0x1f211d(0x2b7),'sheetID':_0x41aab5,'range':_0x369bc2,'color':_0x55bf34,'name':_0x2aa69c,'selection':_0x5630ee,'left':_0x4a0534,'top':_0x8f5615,'width':_0x56c5fb,'height':_0x548788,'evented':!0x1,'zIndex':_0x1e60b2};return new _0x4b5ae2(_0x2aa69c,_0x4847c9);});_0x2a7e02['addObjects'](_0x28aaae,_0x3153bd),this['_cursors']=new Set(_0x28aaae);}['_removeCollabCursors'](){const _0x5b1c9a=_0x530ea4;var _0x2627ec;(_0x2627ec=this[_0x5b1c9a(0x1fc)])==null||_0x2627ec[_0x5b1c9a(0x371)](_0x283f51=>_0x283f51['dispose']());}[_0x530ea4(0x299)](){const _0x3bfb3b=_0x530ea4;return _0x2642d0[_0x3bfb3b(0x236)](this[_0x3bfb3b(0x3ee)][_0x3bfb3b(0x206)],this[_0x3bfb3b(0x3ee)]);}};_0xbcec20=_0xe784c0([_0x22eb72(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x2642d0[_0x530ea4(0x37c)])),_0x22eb72(0x2,_0x1f0a18['Inject'](_0x201d0c)),_0x22eb72(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18['ThemeService']))],_0xbcec20);function _0x438bcb(_0x41c0ea){const _0x10576f=_0x530ea4,_0x3f5352=new Map();return _0x41c0ea[_0x10576f(0x371)](_0x4e832e=>{const _0x5929ec=_0x10576f;if(_0x3f5352['has'](_0x4e832e[_0x5929ec(0x210)])){const _0x12b414=_0x3f5352['get'](_0x4e832e[_0x5929ec(0x210)]);_0x12b414[_0x5929ec(0x249)]+=',\x20'+_0x4e832e[_0x5929ec(0x249)];}else _0x3f5352[_0x5929ec(0x3ec)](_0x4e832e['selection'],_0x4e832e);}),Array[_0x10576f(0x1d2)](_0x3f5352[_0x10576f(0x310)]());}var _0x2e89f5=function(){const _0x44b43c=_0x530ea4;return _0x2e89f5=Object[_0x44b43c(0x292)]||function(_0x264735){const _0x1f44db=_0x44b43c;for(var _0x438c83,_0x4174d3=0x1,_0x27ea14=arguments[_0x1f44db(0x2ee)];_0x4174d3<_0x27ea14;_0x4174d3++){_0x438c83=arguments[_0x4174d3];for(var _0x4eb05e in _0x438c83)Object[_0x1f44db(0x37e)][_0x1f44db(0x1b6)][_0x1f44db(0x23e)](_0x438c83,_0x4eb05e)&&(_0x264735[_0x4eb05e]=_0x438c83[_0x4eb05e]);}return _0x264735;},_0x2e89f5[_0x44b43c(0x2d4)](this,arguments);},_0x553b71=function(_0x2d6968,_0x35f277){const _0x1bf01b=_0x530ea4;var _0x570d67={};for(var _0x1bca31 in _0x2d6968)Object[_0x1bf01b(0x37e)][_0x1bf01b(0x1b6)][_0x1bf01b(0x23e)](_0x2d6968,_0x1bca31)&&_0x35f277['indexOf'](_0x1bca31)<0x0&&(_0x570d67[_0x1bca31]=_0x2d6968[_0x1bca31]);if(_0x2d6968!=null&&typeof Object['getOwnPropertySymbols']==_0x1bf01b(0x28b)){for(var _0x26db9d=0x0,_0x1bca31=Object[_0x1bf01b(0x27b)](_0x2d6968);_0x26db9d<_0x1bca31[_0x1bf01b(0x2ee)];_0x26db9d++)_0x35f277[_0x1bf01b(0x320)](_0x1bca31[_0x26db9d])<0x0&&Object[_0x1bf01b(0x37e)][_0x1bf01b(0x1f7)][_0x1bf01b(0x23e)](_0x2d6968,_0x1bca31[_0x26db9d])&&(_0x570d67[_0x1bca31[_0x26db9d]]=_0x2d6968[_0x1bca31[_0x26db9d]]);}return _0x570d67;},_0x5cdc39=_0x35c730[_0x530ea4(0x2c6)](function(_0x373031,_0x128f3e){const _0x12b340=_0x530ea4;var _0x51c43f=_0x373031[_0x12b340(0x239)],_0x1fd067=_0x373031['id'],_0x405df5=_0x373031[_0x12b340(0x207)],_0x1dc810=_0x373031['extend'],_0x21b226=_0x553b71(_0x373031,['icon','id','className',_0x12b340(0x228)]),_0x3e1bfe=_0x12b340(0x1b5)[_0x12b340(0x251)](_0x1fd067,'\x20')[_0x12b340(0x251)](_0x405df5||'')[_0x12b340(0x43c)](),_0x5662af=_0x35c730[_0x12b340(0x1a4)]('_'[_0x12b340(0x251)](_0x5ef82d()));return _0x3f369a(_0x51c43f,''[_0x12b340(0x251)](_0x1fd067),{'defIds':_0x51c43f['defIds'],'idSuffix':_0x5662af[_0x12b340(0x1b7)]},_0x2e89f5({'ref':_0x128f3e,'className':_0x3e1bfe},_0x21b226),_0x1dc810);});function _0x3f369a(_0x3ccf3b,_0x5f030b,_0x455cda,_0x5826b5,_0x4ca939){const _0x26436b=_0x530ea4;return _0x35c730[_0x26436b(0x28c)](_0x3ccf3b[_0x26436b(0x3c1)],_0x2e89f5(_0x2e89f5({'key':_0x5f030b},_0x3ca25c(_0x3ccf3b,_0x455cda,_0x4ca939)),_0x5826b5),(_0x20bede(_0x3ccf3b,_0x455cda)[_0x26436b(0x240)]||[])[_0x26436b(0x203)](function(_0x347ea7,_0x1576af){const _0xbdd09f=_0x26436b;return _0x3f369a(_0x347ea7,''[_0xbdd09f(0x251)](_0x5f030b,'-')[_0xbdd09f(0x251)](_0x3ccf3b[_0xbdd09f(0x3c1)],'-')[_0xbdd09f(0x251)](_0x1576af),_0x455cda,void 0x0,_0x4ca939);}));}function _0x3ca25c(_0x22fa92,_0x8dbf43,_0xf159a0){const _0x58e4b0=_0x530ea4;var _0x5673fc=_0x2e89f5({},_0x22fa92[_0x58e4b0(0x1e2)]);_0xf159a0!=null&&_0xf159a0[_0x58e4b0(0x347)]&&_0x5673fc[_0x58e4b0(0x1c4)]===_0x58e4b0(0x347)&&(_0x5673fc[_0x58e4b0(0x1c4)]=_0xf159a0[_0x58e4b0(0x347)]),_0x22fa92[_0x58e4b0(0x3c1)]==='mask'&&_0x5673fc['id']&&(_0x5673fc['id']=_0x5673fc['id']+_0x8dbf43[_0x58e4b0(0x401)]),Object['entries'](_0x5673fc)['forEach'](function(_0x5717b6){const _0x505cf4=_0x58e4b0;var _0x59f72e=_0x5717b6[0x0],_0x33e5ec=_0x5717b6[0x1];_0x59f72e===_0x505cf4(0x1d8)&&typeof _0x33e5ec==_0x505cf4(0x39b)&&(_0x5673fc[_0x59f72e]=_0x33e5ec[_0x505cf4(0x3f7)](/url\(#(.*)\)/,_0x505cf4(0x3ff)[_0x505cf4(0x251)](_0x8dbf43[_0x505cf4(0x401)],')')));});var _0x324838=_0x8dbf43[_0x58e4b0(0x1a5)];return!_0x324838||_0x324838[_0x58e4b0(0x2ee)]===0x0||(_0x22fa92[_0x58e4b0(0x3c1)]===_0x58e4b0(0x278)&&_0x5673fc[_0x58e4b0(0x29c)]&&(_0x5673fc[_0x58e4b0(0x29c)]=_0x5673fc[_0x58e4b0(0x29c)]+_0x8dbf43['idSuffix']),Object['entries'](_0x5673fc)[_0x58e4b0(0x371)](function(_0x35abbb){const _0xd50326=_0x58e4b0;var _0x5e3170=_0x35abbb[0x0],_0x338e3f=_0x35abbb[0x1];typeof _0x338e3f==_0xd50326(0x39b)&&(_0x5673fc[_0x5e3170]=_0x338e3f[_0xd50326(0x3f7)](/url\(#(.*)\)/,_0xd50326(0x3ff)['concat'](_0x8dbf43[_0xd50326(0x401)],')')));})),_0x5673fc;}function _0x20bede(_0xf1584b,_0xdd1183){const _0x4e84e7=_0x530ea4;var _0x552ad7,_0xc8f4f1=_0xdd1183[_0x4e84e7(0x1a5)];return!_0xc8f4f1||_0xc8f4f1[_0x4e84e7(0x2ee)]===0x0?_0xf1584b:_0xf1584b[_0x4e84e7(0x3c1)]==='defs'&&(!((_0x552ad7=_0xf1584b['children'])===null||_0x552ad7===void 0x0)&&_0x552ad7[_0x4e84e7(0x2ee)])?_0x2e89f5(_0x2e89f5({},_0xf1584b),{'children':_0xf1584b[_0x4e84e7(0x240)][_0x4e84e7(0x203)](function(_0x2a6423){const _0x1d2dfe=_0x4e84e7;return typeof _0x2a6423[_0x1d2dfe(0x1e2)]['id']==_0x1d2dfe(0x39b)&&_0xc8f4f1&&_0xc8f4f1[_0x1d2dfe(0x1bc)](_0x2a6423['attrs']['id'])?_0x2e89f5(_0x2e89f5({},_0x2a6423),{'attrs':_0x2e89f5(_0x2e89f5({},_0x2a6423[_0x1d2dfe(0x1e2)]),{'id':_0x2a6423[_0x1d2dfe(0x1e2)]['id']+_0xdd1183[_0x1d2dfe(0x401)]})}):_0x2a6423;})}):_0xf1584b;}function _0x5ef82d(){const _0x55abf6=_0x530ea4;return Math[_0x55abf6(0x444)]()[_0x55abf6(0x418)](0x24)[_0x55abf6(0x281)](0x2,0x8);}_0x5cdc39[_0x530ea4(0x31c)]=_0x530ea4(0x375);var _0x577ab9={'tag':'svg','attrs':{'xmlns':_0x530ea4(0x3d2),'fill':_0x530ea4(0x231),'viewBox':_0x530ea4(0x1eb),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'stroke':_0x530ea4(0x354),'d':_0x530ea4(0x242),'strokeLinecap':_0x530ea4(0x438),'strokeLinejoin':_0x530ea4(0x438),'strokeWidth':1.2}}]},{'tag':_0x530ea4(0x1b9),'attrs':{},'children':[{'tag':_0x530ea4(0x26f),'attrs':{'id':_0x530ea4(0x331)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'fill':_0x530ea4(0x44b),'d':_0x530ea4(0x2de)}}]}]}],'defIds':[_0x530ea4(0x331)]},_0x431f29=_0x35c730['forwardRef'](function(_0x28c296,_0xf8f2df){const _0x2dcfd8=_0x530ea4;return _0x35c730['createElement'](_0x5cdc39,Object[_0x2dcfd8(0x292)]({},_0x28c296,{'id':_0x2dcfd8(0x3a6),'ref':_0xf8f2df,'icon':_0x577ab9}));});_0x431f29['displayName']=_0x530ea4(0x2ad);var _0x59e475={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x530ea4(0x231),'viewBox':_0x530ea4(0x2be),'width':'1em','height':_0x530ea4(0x254)},'children':[{'tag':'g','attrs':{'clipPath':_0x530ea4(0x2ca)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'stroke':_0x530ea4(0x354),'d':_0x530ea4(0x404),'strokeLinecap':_0x530ea4(0x438),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x530ea4(0x1b9),'attrs':{},'children':[{'tag':_0x530ea4(0x26f),'attrs':{'id':_0x530ea4(0x1ba)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'fill':'white','d':_0x530ea4(0x2de),'transform':_0x530ea4(0x24e)}}]}]}],'defIds':[_0x530ea4(0x1ba)]},_0x2a061d=_0x35c730[_0x530ea4(0x2c6)](function(_0x5c1fb9,_0xdff655){const _0x5041dc=_0x530ea4;return _0x35c730[_0x5041dc(0x28c)](_0x5cdc39,Object[_0x5041dc(0x292)]({},_0x5c1fb9,{'id':_0x5041dc(0x2bf),'ref':_0xdff655,'icon':_0x59e475}));});_0x2a061d[_0x530ea4(0x31c)]=_0x530ea4(0x1f4);function _0x4c2b2d(_0x12534d){const _0x34d2c4=_0x530ea4;switch(_0x12534d){case _0x5a7b55[_0x34d2c4(0x3d4)]['OFFLINE']:return _0x34d2c4(0x316);case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x244)]:return _0x34d2c4(0x3ab);case _0x5a7b55['CollaborationStatus'][_0x34d2c4(0x1cb)]:return'collabStatus.fetchMiss';case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x2f5)]:return'collabStatus.notCollab';case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x1fe)]:case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x1d6)]:return'collabStatus.syncing';case _0x5a7b55[_0x34d2c4(0x3d4)]['SYNCED']:case _0x5a7b55['CollaborationStatus']['PENDING']:return _0x34d2c4(0x385);}}function _0x4da86a(_0x38bf64){const _0x547488=_0x530ea4,{status$:_0x5a7b4b}=_0x38bf64,_0x47e343=_0x3835ea[_0x547488(0x1ea)](_0x5a7b4b,_0x5a7b55[_0x547488(0x3d4)][_0x547488(0x2f5)]),_0x23d4f0=_0x3835ea[_0x547488(0x442)](_0x1f0a18['LocaleService']),_0x3b9849=_0x3835ea[_0x547488(0x442)](_0x5a7b55[_0x547488(0x3a2)]),_0x314909=_0x47e343!==_0x5a7b55[_0x547488(0x3d4)][_0x547488(0x3b2)],_0x48245e=_0x23d4f0['t'](_0x4c2b2d(_0x47e343)),_0x195373=_0x314909?_0x35553a['jsx'](_0x2a061d,{}):_0x35553a[_0x547488(0x3c7)](_0x431f29,{}),_0x48bf5b=_0x35c730[_0x547488(0x1cf)](()=>{const _0x49bd8e=_0x547488;_0x314909||_0x3b9849[_0x49bd8e(0x2ae)]();},[_0x314909,_0x3b9849]);function _0x38a651(){const _0x537bc3=_0x547488;return _0x35553a[_0x537bc3(0x374)](_0x537bc3(0x394),{'className':_0x537bc3(0x1da),'onClick':_0x48bf5b,'children':[_0x35553a[_0x537bc3(0x3c7)](_0x537bc3(0x394),{'className':_0x177c57['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x314909,'univer-text-red-500':!_0x314909}),'children':_0x195373}),_0x35553a['jsx'](_0x537bc3(0x394),{'className':_0x537bc3(0x1de),'children':_0x48245e})]});}return _0x314909?_0x38a651():_0x35553a['jsx'](_0x177c57[_0x547488(0x2c2)],{'title':_0x23d4f0['t']('collab-client.tooltip.reconnect'),'children':_0x38a651()});}var _0x113af8=Object['getOwnPropertyDescriptor'],_0x252f67=(_0x257edc,_0x37b716,_0x2a6237,_0xa69aad)=>{for(var _0x303069=_0xa69aad>0x1?void 0x0:_0xa69aad?_0x113af8(_0x37b716,_0x2a6237):_0x37b716,_0x362f16=_0x257edc['length']-0x1,_0x21ed7f;_0x362f16>=0x0;_0x362f16--)(_0x21ed7f=_0x257edc[_0x362f16])&&(_0x303069=_0x21ed7f(_0x303069)||_0x303069);return _0x303069;},_0x583f9f=(_0x3fa159,_0x4ee090)=>(_0x315aff,_0x52ac5f)=>_0x4ee090(_0x315aff,_0x52ac5f,_0x3fa159);_0x5527a1[_0x530ea4(0x42a)]=class extends _0x1f0a18['Disposable']{constructor(_0x44986c,_0x43fe07,_0x44f583,_0x4f6417){const _0x38538e=_0x530ea4;super(),_0x1b53be(this,'_status$',new _0x5900c2[(_0x38538e(0x1d9))](_0x5a7b55[_0x38538e(0x3d4)][_0x38538e(0x2f5)])),(this[_0x38538e(0x2cd)]=_0x44986c,this[_0x38538e(0x335)]=_0x43fe07,this[_0x38538e(0x1bf)]=_0x44f583,this['_uiPartsService']=_0x4f6417,this[_0x38538e(0x304)](),this[_0x38538e(0x38a)]());}['_initStatusListener'](){const _0x19cef4=_0x530ea4;this[_0x19cef4(0x3b8)](this['_univerInstanceService']['focused$'][_0x19cef4(0x420)](_0x5900c2[_0x19cef4(0x415)](()=>{const _0x9a7f9f=_0x19cef4,_0x2de0e4=this[_0x9a7f9f(0x2cd)]['getFocusedUnit']();return _0x2de0e4?this['_collaborationController'][_0x9a7f9f(0x35c)](_0x2de0e4[_0x9a7f9f(0x1e8)]()):_0x5900c2['of'](null);}),_0x5900c2[_0x19cef4(0x415)](_0x5c9061=>_0x5c9061?_0x5c9061[_0x19cef4(0x1e7)]:_0x5900c2['of'](_0x5a7b55[_0x19cef4(0x3d4)][_0x19cef4(0x2f5)])))[_0x19cef4(0x272)](_0x575738=>{const _0x4b356b=_0x19cef4;this[_0x4b356b(0x3e8)]['next'](_0x575738);}));}[_0x530ea4(0x304)](){const _0x118582=_0x530ea4;this['disposeWithMe'](this[_0x118582(0x43b)]['registerComponent'](_0x3835ea['BuiltInUIPart'][_0x118582(0x379)],()=>_0x3835ea[_0x118582(0x436)](_0x383a83({'status$':this[_0x118582(0x3e8)][_0x118582(0x380)]()}),this[_0x118582(0x335)])));}},_0x5527a1['DesktopCollaborationStatusDisplayController']=_0x252f67([_0x583f9f(0x0,_0x1f0a18['IUniverInstanceService']),_0x583f9f(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x583f9f(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x2b4)])),_0x583f9f(0x3,_0x3835ea[_0x530ea4(0x3cb)])],_0x5527a1[_0x530ea4(0x42a)]);function _0x383a83(_0x2157ef){const {status$:_0x19b965}=_0x2157ef;return function(){const _0xb4ad0c=_0x1efe;return _0x35553a[_0xb4ad0c(0x3c7)](_0x4da86a,{'status$':_0x19b965});};}var _0x6a976d=Object[_0x530ea4(0x201)],_0x426b21=(_0x9aca3b,_0x1ba28f,_0x4eab83,_0x3da343)=>{const _0xd0cb2c=_0x530ea4;for(var _0x6874ad=_0x3da343>0x1?void 0x0:_0x3da343?_0x6a976d(_0x1ba28f,_0x4eab83):_0x1ba28f,_0x577cec=_0x9aca3b[_0xd0cb2c(0x2ee)]-0x1,_0x12f537;_0x577cec>=0x0;_0x577cec--)(_0x12f537=_0x9aca3b[_0x577cec])&&(_0x6874ad=_0x12f537(_0x6874ad)||_0x6874ad);return _0x6874ad;},_0x50cb98=(_0x20d80a,_0x547982)=>(_0x3bd4eb,_0x30aa5c)=>_0x547982(_0x3bd4eb,_0x30aa5c,_0x20d80a);let _0x257a98=class extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(_0x23efb0,_0x36384c,_0x7e336e,_0x1230d5,_0x1ebcfa,_0x50db18){const _0x2a0956=_0x530ea4;super(),this[_0x2a0956(0x378)]=_0x23efb0,this[_0x2a0956(0x29a)]=_0x36384c,this['_collaborationUIEventService']=_0x7e336e,this[_0x2a0956(0x1c9)]=_0x1230d5,this[_0x2a0956(0x34d)]=_0x1ebcfa,this['_localeService']=_0x50db18,this[_0x2a0956(0x1f8)](),this[_0x2a0956(0x346)]();}[_0x530ea4(0x1f8)](){const _0x3eb8cc=_0x530ea4;this[_0x3eb8cc(0x3b8)](this[_0x3eb8cc(0x378)][_0x3eb8cc(0x368)](()=>{const _0x4c81af=_0x3eb8cc;if(this[_0x4c81af(0x29a)][_0x4c81af(0x2c3)]['size'])return this[_0x4c81af(0x1ca)]['t'](_0x4c81af(0x1c5));}));}['_initEvent'](){const _0x459975=_0x530ea4;this[_0x459975(0x3b8)](this['_collaborationUIEventService'][_0x459975(0x21d)][_0x459975(0x272)](_0x21ce7e=>{const _0x3a383b=_0x459975;_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x2bc)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)]['Warning'],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x2da))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x218)]&&this[_0x3a383b(0x1c9)]['show']({'type':_0x177c57['MessageType'][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x430))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x1ed)]&&this['_notificationService'][_0x3a383b(0x40a)]({'title':this[_0x3a383b(0x1ca)]['t']('permission.title'),'content':this['_localeService']['t'](_0x3a383b(0x27c)),'type':_0x3a383b(0x31b),'duration':0x0}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x244)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)][_0x3a383b(0x42b)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x430))+'('+_0x21ce7e['data']+')'}),_0x21ce7e['id']===_0x5a7b55['CollaborationUIEventId'][_0x3a383b(0x288)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t'](_0x21ce7e[_0x3a383b(0x2b9)]||'')}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x3a383b(0x40a)]({'type':_0x177c57['MessageType'][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t']('session.will-retry')}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x435)]&&this['_messageService'][_0x3a383b(0x40a)]({'type':_0x177c57['MessageType']['Error'],'content':this['_localeService']['t'](_0x3a383b(0x2ef))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x332)]&&this[_0x3a383b(0x1c9)]['show']({'type':_0x177c57['MessageType'][_0x3a383b(0x42b)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x2d8))});}));}};_0x257a98=_0x426b21([_0x50cb98(0x0,_0x3835ea[_0x530ea4(0x283)]),_0x50cb98(0x1,_0x5a7b55[_0x530ea4(0x294)]),_0x50cb98(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55['CollaborationUIEventService'])),_0x50cb98(0x3,_0x3835ea[_0x530ea4(0x38d)]),_0x50cb98(0x4,_0x3835ea[_0x530ea4(0x2f2)]),_0x50cb98(0x5,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x338)]))],_0x257a98);const _0xcf2e1e='collaboration-client-ui.config',_0x2b46de={},_0x2d199b=_0x1f0a18[_0x530ea4(0x3c5)](_0x530ea4(0x3e9));var _0x539802=Object[_0x530ea4(0x201)],_0x2bd657=(_0x9273b1,_0x2d3d05,_0x2eb1dc,_0x51ebc3)=>{const _0x3ae053=_0x530ea4;for(var _0x1d6197=_0x51ebc3>0x1?void 0x0:_0x51ebc3?_0x539802(_0x2d3d05,_0x2eb1dc):_0x2d3d05,_0xd5133c=_0x9273b1[_0x3ae053(0x2ee)]-0x1,_0x1c3ab3;_0xd5133c>=0x0;_0xd5133c--)(_0x1c3ab3=_0x9273b1[_0xd5133c])&&(_0x1d6197=_0x1c3ab3(_0x1d6197)||_0x1d6197);return _0x1d6197;},_0x600337=(_0x53a190,_0x4fed4b)=>(_0x429788,_0x347c39)=>_0x4fed4b(_0x429788,_0x347c39,_0x53a190);_0x5527a1[_0x530ea4(0x37b)]=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x3b68c1,_0x3a326b,_0x41385d,_0x5b23ca,_0x35ad30){const _0x3bbab3=_0x530ea4;super(),this[_0x3bbab3(0x38b)]=_0x3b68c1,this[_0x3bbab3(0x1f3)]=_0x3a326b,this[_0x3bbab3(0x3c2)]=_0x41385d,this[_0x3bbab3(0x2d7)]=_0x5b23ca,_0x35ad30?_0x35ad30==null||_0x35ad30['whenReady']()[_0x3bbab3(0x424)](()=>this['_init']()):(this[_0x3bbab3(0x1f3)][_0x3bbab3(0x21a)](_0x3bbab3(0x213),_0x3bbab3(0x40c)),this[_0x3bbab3(0x30a)]());}async['_init'](){const _0x1c02e3=_0x530ea4,_0x348539=this[_0x1c02e3(0x38b)]['getParam'](_0x1c02e3(0x206)),_0x593398=this['_urlService'][_0x1c02e3(0x273)](_0x1c02e3(0x3b9)),_0x195840=this[_0x1c02e3(0x38b)]['getParam'](_0x1c02e3(0x35b));if(!_0x348539||!_0x593398){this['_logService'][_0x1c02e3(0x21a)]('[CollaborationDataLoaderController]',_0x1c02e3(0x1db));return;}const _0x4cd20f=await this['_dataLoaderService'][_0x1c02e3(0x212)](_0x348539,Number(_0x593398),_0x195840);_0x4cd20f&&_0x4cd20f instanceof _0x1f0a18[_0x1c02e3(0x264)]&&this['_setupSubUnitSync'](_0x4cd20f);}async['_setupSubUnitSync'](_0x4085e6){const _0x47bb84=_0x530ea4;await this[_0x47bb84(0x202)](_0x4085e6),_0x4085e6['activeSheet$']['pipe'](_0x5900c2[_0x47bb84(0x24a)](this['dispose$']))['subscribe'](_0x38b71b=>{const _0x16f044=_0x47bb84;_0x38b71b&&this[_0x16f044(0x2fa)](_0x38b71b);}),this[_0x47bb84(0x38b)][_0x47bb84(0x43d)][_0x47bb84(0x420)](_0x5900c2['takeUntil'](this[_0x47bb84(0x211)]))[_0x47bb84(0x272)](()=>this['_updateSubUnitFromURLParams'](_0x4085e6));}[_0x530ea4(0x2fa)](_0x3d4cc2,_0x2160de=!0x1){const _0x32cc7e=_0x530ea4,_0xbbe1b9=this[_0x32cc7e(0x38b)][_0x32cc7e(0x273)]('subunit');_0x3d4cc2[_0x32cc7e(0x1a9)]()!==_0xbbe1b9&&this[_0x32cc7e(0x38b)][_0x32cc7e(0x395)](_0x32cc7e(0x35b),_0x3d4cc2[_0x32cc7e(0x1a9)](),_0x2160de);}async[_0x530ea4(0x202)](_0x16c017){const _0x2c727b=_0x530ea4;var _0x5253f6;const _0x1d9489=this[_0x2c727b(0x38b)]['getParam'](_0x2c727b(0x35b));if(!_0x1d9489||!_0x16c017[_0x2c727b(0x3f8)](_0x1d9489)){const _0x56aef4=_0x16c017[_0x2c727b(0x3a5)]()[0x0],_0x878b59=_0x16c017[_0x2c727b(0x3f8)](_0x56aef4);if(!_0x878b59)return;this[_0x2c727b(0x2fa)](_0x878b59,!0x0),await this[_0x2c727b(0x3c2)][_0x2c727b(0x321)](_0x5e0c6b[_0x2c727b(0x3ea)]['id'],{'unitId':_0x16c017[_0x2c727b(0x1e8)](),'subUnitId':_0x56aef4});return;}((_0x5253f6=_0x16c017[_0x2c727b(0x42d)]())==null?void 0x0:_0x5253f6[_0x2c727b(0x1a9)]())!==_0x1d9489&&await this[_0x2c727b(0x3c2)][_0x2c727b(0x321)](_0x5e0c6b[_0x2c727b(0x3ea)]['id'],{'unitId':_0x16c017['getUnitId'](),'subUnitId':_0x1d9489});}},_0x5527a1[_0x530ea4(0x37b)]=_0x2bd657([_0x600337(0x0,_0x2d199b),_0x600337(0x1,_0x1f0a18[_0x530ea4(0x1ae)]),_0x600337(0x2,_0x1f0a18[_0x530ea4(0x3d7)]),_0x600337(0x3,_0x1f0a18['Inject'](_0x5a7b55[_0x530ea4(0x2cf)])),_0x600337(0x4,_0x1f0a18[_0x530ea4(0x432)](_0x29d29a['IRemoteInstanceService']))],_0x5527a1['CollaborationDataLoaderController']);var _0x11a66f=Object['getOwnPropertyDescriptor'],_0x1aad1b=(_0x3d5261,_0x25243f,_0x163244,_0x4bc43c)=>{const _0x2c5375=_0x530ea4;for(var _0x20a355=_0x4bc43c>0x1?void 0x0:_0x4bc43c?_0x11a66f(_0x25243f,_0x163244):_0x25243f,_0x205320=_0x3d5261[_0x2c5375(0x2ee)]-0x1,_0x12383d;_0x205320>=0x0;_0x205320--)(_0x12383d=_0x3d5261[_0x205320])&&(_0x20a355=_0x12383d(_0x20a355)||_0x20a355);return _0x20a355;},_0xe668b7=(_0x1a9e2c,_0x53633f)=>(_0xf19cd5,_0x2738a0)=>_0x53633f(_0xf19cd5,_0x2738a0,_0x1a9e2c);let _0x4e7530=class{constructor(_0x382c3e,_0xf12e3b,_0x5d43ac){const _0x93a42f=_0x530ea4;this['_injector']=_0x382c3e,this[_0x93a42f(0x297)]=_0xf12e3b,this[_0x93a42f(0x1c3)]=_0x5d43ac;}[_0x530ea4(0x367)](_0x532361){const _0x4e4243=_0x530ea4;this[_0x4e4243(0x267)](_0x532361),this[_0x4e4243(0x359)](_0x532361);}['transformRemoteChangeset'](_0x6bb7de){const _0x5abcba=_0x530ea4,{unitID:_0x1ff984}=_0x6bb7de,_0x4fda32=this['_renderManagerService'][_0x5abcba(0x30b)](_0x1ff984)['with'](_0x4dd21f[_0x5abcba(0x20f)]),{redoCache:_0x48ad85}=_0x4fda32[_0x5abcba(0x204)]();if(_0x48ad85['length']===0x0)return _0x6bb7de;let _0x448d11=_0x1f0a18['Tools']['deepClone'](_0x6bb7de[_0x5abcba(0x2a2)][0x0]);for(let _0x5d358c=0x0;_0x5d358c<_0x48ad85['length'];_0x5d358c++){const _0x45f470={'id':_0x5abcba(0x28f),'params':{..._0x48ad85[_0x5d358c]}},_0x178a2e=this[_0x5abcba(0x297)][_0x5abcba(0x1d5)](_0x448d11,_0x45f470,!0x1);if(_0x1cac3e[_0x5abcba(0x3da)](_0x178a2e))throw _0x178a2e[_0x5abcba(0x31b)];_0x448d11=_0x178a2e[_0x5abcba(0x2a3)];}return{..._0x1f0a18['Tools'][_0x5abcba(0x33e)](_0x6bb7de),'mutations':[_0x448d11]};}[_0x530ea4(0x267)](_0x1535fc){const _0x2c50a5=_0x530ea4,{unitID:_0x5f062d}=_0x1535fc,_0x3168df=this['_renderManagerService'][_0x2c50a5(0x30b)](_0x5f062d)[_0x2c50a5(0x334)](_0x4dd21f['DocIMEInputManagerService']),{undoCache:_0xd6d68c,redoCache:_0xb68f25}=_0x3168df[_0x2c50a5(0x204)]();if(_0xd6d68c['length']===0x0||_0xb68f25[_0x2c50a5(0x2ee)]===0x0)return;const _0x1d1f4f=[],_0x7b67c3=[];let _0x2d98e2=_0x1f0a18[_0x2c50a5(0x32f)]['deepClone'](_0x1535fc[_0x2c50a5(0x2a2)][0x0]),_0x1be476=_0x1f0a18[_0x2c50a5(0x32f)][_0x2c50a5(0x33e)](_0x1535fc[_0x2c50a5(0x2a2)][0x0]);for(let _0x5c4d10=_0xd6d68c[_0x2c50a5(0x2ee)]-0x1;_0x5c4d10>=0x0;_0x5c4d10--){const _0xd38f56={'id':'doc.mutation.rich-text-editing','params':{..._0xd6d68c[_0x5c4d10]}},_0x1e695e={'id':_0x2c50a5(0x28f),'params':{..._0xb68f25[_0x5c4d10]}},_0x1c4d5e=this[_0x2c50a5(0x297)][_0x2c50a5(0x1d5)](_0x2d98e2,_0xd38f56,!0x1),_0x32d172=this[_0x2c50a5(0x297)][_0x2c50a5(0x1d5)](_0x1be476,_0x1e695e,!0x1);if(_0x1cac3e['isTransformMutationFailure'](_0x1c4d5e))throw _0x1c4d5e[_0x2c50a5(0x31b)];if(_0x1cac3e[_0x2c50a5(0x3da)](_0x32d172))throw _0x32d172[_0x2c50a5(0x31b)];_0x1d1f4f['unshift'](_0x1c4d5e[_0x2c50a5(0x1ab)][_0x2c50a5(0x357)]),_0x7b67c3['unshift'](_0x32d172[_0x2c50a5(0x1ab)][_0x2c50a5(0x357)]),_0x2d98e2=_0x1c4d5e[_0x2c50a5(0x2a3)],_0x1be476=_0x32d172[_0x2c50a5(0x2a3)];}_0x3168df[_0x2c50a5(0x427)]({'undoCache':_0x1d1f4f,'redoCache':_0x7b67c3});}[_0x530ea4(0x359)](_0x225b04){const _0x244c48=_0x530ea4,{unitID:_0x359366}=_0x225b04,_0x7d641=this[_0x244c48(0x1c3)][_0x244c48(0x30b)](_0x359366)[_0x244c48(0x334)](_0x4dd21f['DocIMEInputManagerService']),_0x2de217=_0x7d641['getActiveRange']();if(_0x2de217==null)return;const _0x83baaa=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x225b04[_0x244c48(0x275)],'actions':null,'textRanges':[_0x2de217]}}],_0xeb3a43=this['_transformService'][_0x244c48(0x353)](_0x225b04,_0x83baaa);if(!_0x1cac3e[_0x244c48(0x3dc)](_0xeb3a43))throw _0xeb3a43[_0x244c48(0x31b)];const _0x2df287=_0xeb3a43[_0x244c48(0x1ab)][0x0][_0x244c48(0x357)]['textRanges'];Array['isArray'](_0x2df287)&&_0x2df287['length']&&_0x7d641[_0x244c48(0x326)](_0x2df287[0x0]);}};_0x4e7530=_0x1aad1b([_0xe668b7(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xe668b7(0x1,_0x1cac3e[_0x530ea4(0x41e)]),_0xe668b7(0x2,_0x1b328b['IRenderManagerService'])],_0x4e7530);var _0x5ef874=Object[_0x530ea4(0x201)],_0x58c3e0=(_0x52e859,_0x227e2c,_0x289f71,_0x22e0d8)=>{const _0x54acbb=_0x530ea4;for(var _0x3bca6e=_0x22e0d8>0x1?void 0x0:_0x22e0d8?_0x5ef874(_0x227e2c,_0x289f71):_0x227e2c,_0x3f36b8=_0x52e859[_0x54acbb(0x2ee)]-0x1,_0xac093;_0x3f36b8>=0x0;_0x3f36b8--)(_0xac093=_0x52e859[_0x3f36b8])&&(_0x3bca6e=_0xac093(_0x3bca6e)||_0x3bca6e);return _0x3bca6e;},_0x2ef681=(_0x9123da,_0xcbfbd1)=>(_0x5b873d,_0x4b2ef8)=>_0xcbfbd1(_0x5b873d,_0x4b2ef8,_0x9123da);let _0x2a5f6a=class{constructor(_0x3ef8f3,_0x19735f,_0xf7b0aa){const _0x4c2949=_0x530ea4;this[_0x4c2949(0x335)]=_0x3ef8f3,this[_0x4c2949(0x297)]=_0x19735f,this[_0x4c2949(0x277)]=_0xf7b0aa;}['transformStateCache'](_0x585be1){this['_transformHistoryAndStateStack'](_0x585be1);}[_0x530ea4(0x2a5)](_0x2a0c86){const _0x3e6fe7=_0x530ea4,{unitID:_0x5694d0}=_0x2a0c86,{collaboration:_0x47165a}=this['_docStateChangeManagerService'][_0x3e6fe7(0x387)](_0x5694d0);if(_0x47165a[_0x3e6fe7(0x2ee)]===0x0)return _0x2a0c86;let _0x12729d=_0x1f0a18[_0x3e6fe7(0x32f)][_0x3e6fe7(0x33e)](_0x2a0c86[_0x3e6fe7(0x2a2)][0x0]);for(let _0x3df425=0x0;_0x3df425<_0x47165a[_0x3e6fe7(0x2ee)];_0x3df425++){const _0x32e653={'id':_0x3e6fe7(0x28f),'params':{'unitId':_0x47165a[_0x3df425]['unitId'],..._0x47165a[_0x3df425][_0x3e6fe7(0x271)]}},_0x3dfe54=this[_0x3e6fe7(0x297)][_0x3e6fe7(0x1d5)](_0x12729d,_0x32e653,!0x1);if(_0x1cac3e[_0x3e6fe7(0x3da)](_0x3dfe54))throw _0x3dfe54[_0x3e6fe7(0x31b)];_0x12729d=_0x3dfe54[_0x3e6fe7(0x2a3)];}return{..._0x1f0a18[_0x3e6fe7(0x32f)]['deepClone'](_0x2a0c86),'mutations':[_0x12729d]};}[_0x530ea4(0x302)](_0x54b0ee){const _0x5b1c9f=_0x530ea4,{unitID:_0x50b842}=_0x54b0ee,{history:_0x142ec1,collaboration:_0x34af7a}=this[_0x5b1c9f(0x277)][_0x5b1c9f(0x387)](_0x50b842);if(_0x142ec1[_0x5b1c9f(0x2ee)]===0x0&&_0x34af7a[_0x5b1c9f(0x2ee)]===0x0)return;const _0x2ec4fa=[],_0x5426cf=[];let _0x2871ed=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee['mutations'][0x0]),_0x49361c=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]);for(let _0x328d6b=_0x142ec1[_0x5b1c9f(0x2ee)]-0x1;_0x328d6b>=0x0;_0x328d6b--){const _0x1eaec8={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x142ec1[_0x328d6b][_0x5b1c9f(0x3f0)],..._0x142ec1[_0x328d6b][_0x5b1c9f(0x1c8)]}},_0x23320c={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x142ec1[_0x328d6b][_0x5b1c9f(0x3f0)],..._0x142ec1[_0x328d6b][_0x5b1c9f(0x271)]}},_0x5a2a5f=this['_transformService'][_0x5b1c9f(0x1d5)](_0x2871ed,_0x1eaec8,!0x1),_0x58d6c7=this[_0x5b1c9f(0x297)][_0x5b1c9f(0x1d5)](_0x49361c,_0x23320c,!0x1);if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x5a2a5f))throw _0x5a2a5f[_0x5b1c9f(0x31b)];if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x58d6c7))throw _0x58d6c7[_0x5b1c9f(0x31b)];_0x2ec4fa[_0x5b1c9f(0x34a)]({..._0x142ec1[_0x328d6b],'undoState':_0x5a2a5f[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)],'redoState':_0x58d6c7['m2Prime'][_0x5b1c9f(0x357)]}),_0x2871ed=_0x5a2a5f[_0x5b1c9f(0x2a3)],_0x49361c=_0x58d6c7[_0x5b1c9f(0x2a3)];}_0x2871ed=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]),_0x49361c=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]);for(let _0x2b6bd3=_0x34af7a[_0x5b1c9f(0x2ee)]-0x1;_0x2b6bd3>=0x0;_0x2b6bd3--){const _0x2e8f7a={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x34af7a[_0x2b6bd3]['unitId'],..._0x34af7a[_0x2b6bd3]['undoState']}},_0x5eee53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34af7a[_0x2b6bd3]['unitId'],..._0x34af7a[_0x2b6bd3][_0x5b1c9f(0x271)]}},_0x3fec76=this[_0x5b1c9f(0x297)][_0x5b1c9f(0x1d5)](_0x2871ed,_0x2e8f7a,!0x1),_0x325dab=this[_0x5b1c9f(0x297)]['transformMutation'](_0x49361c,_0x5eee53,!0x1);if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x3fec76))throw _0x3fec76['error'];if(_0x1cac3e['isTransformMutationFailure'](_0x325dab))throw _0x325dab['error'];_0x5426cf[_0x5b1c9f(0x34a)]({..._0x34af7a[_0x2b6bd3],'undoState':_0x3fec76[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)],'redoState':_0x325dab[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)]}),_0x2871ed=_0x3fec76[_0x5b1c9f(0x2a3)],_0x49361c=_0x325dab['m1Prime'];}this['_docStateChangeManagerService'][_0x5b1c9f(0x3a9)](_0x50b842,{'history':_0x2ec4fa,'collaboration':_0x5426cf});}};_0x2a5f6a=_0x58c3e0([_0x2ef681(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x2ef681(0x1,_0x1cac3e[_0x530ea4(0x41e)]),_0x2ef681(0x2,_0x1f0a18['Inject'](_0x4dd21f[_0x530ea4(0x290)]))],_0x2a5f6a);var _0x35d293=Object['getOwnPropertyDescriptor'],_0x1335c1=(_0x400706,_0x34963e,_0x253838,_0x237bba)=>{const _0x386318=_0x530ea4;for(var _0x3c3b8a=_0x237bba>0x1?void 0x0:_0x237bba?_0x35d293(_0x34963e,_0x253838):_0x34963e,_0x3c33ae=_0x400706[_0x386318(0x2ee)]-0x1,_0x31dede;_0x3c33ae>=0x0;_0x3c33ae--)(_0x31dede=_0x400706[_0x3c33ae])&&(_0x3c3b8a=_0x31dede(_0x3c3b8a)||_0x3c3b8a);return _0x3c3b8a;},_0xc322e7=(_0x3e2644,_0x4ab04b)=>(_0x2c11df,_0xcabc16)=>_0x4ab04b(_0x2c11df,_0xcabc16,_0x3e2644);let _0x111326=class{constructor(_0x419f41,_0x43ee5c){const _0x4a7a78=_0x530ea4;this[_0x4a7a78(0x335)]=_0x419f41,this[_0x4a7a78(0x297)]=_0x43ee5c;}[_0x530ea4(0x237)](_0x2ad020){const _0x3027b7=_0x530ea4;var _0x5165ce;const _0xf00306=this[_0x3027b7(0x335)][_0x3027b7(0x22f)](_0xb349ea[_0x3027b7(0x3f6)]),_0x37bd53=(_0x5165ce=_0xf00306[_0x3027b7(0x35f)]())!=null?_0x5165ce:[];if(_0x37bd53['length']===0x0)return;const _0x40622e=_0x2ad020[_0x3027b7(0x275)],_0x4fdbe7=[{'id':_0x3027b7(0x28f),'params':{'unitId':_0x40622e,'actions':null,'textRanges':_0x37bd53}}],_0x449fb0=this['_transformService'][_0x3027b7(0x353)](_0x2ad020,_0x4fdbe7);if(!_0x1cac3e[_0x3027b7(0x3dc)](_0x449fb0))throw _0x449fb0[_0x3027b7(0x31b)];const _0x43ee5e=_0x449fb0['m2Prime'][0x0][_0x3027b7(0x357)][_0x3027b7(0x2f4)];Array[_0x3027b7(0x307)](_0x43ee5e)&&_0x43ee5e[_0x3027b7(0x2ee)]&&_0xf00306[_0x3027b7(0x1f2)](_0x43ee5e,{'unitId':_0x40622e,'subUnitId':_0x40622e},!0x1);}};_0x111326=_0x1335c1([_0xc322e7(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xc322e7(0x1,_0x1cac3e[_0x530ea4(0x41e)])],_0x111326);var _0x5b351d=Object[_0x530ea4(0x201)],_0x406447=(_0xe096c9,_0x3f8e82,_0xe21034,_0x451510)=>{const _0x52398a=_0x530ea4;for(var _0x381412=_0x451510>0x1?void 0x0:_0x451510?_0x5b351d(_0x3f8e82,_0xe21034):_0x3f8e82,_0x4f58ed=_0xe096c9[_0x52398a(0x2ee)]-0x1,_0x43fe76;_0x4f58ed>=0x0;_0x4f58ed--)(_0x43fe76=_0xe096c9[_0x4f58ed])&&(_0x381412=_0x43fe76(_0x381412)||_0x381412);return _0x381412;},_0x179726=(_0x4ef169,_0x69e861)=>(_0xb28538,_0x4e96cc)=>_0x69e861(_0xb28538,_0x4e96cc,_0x4ef169);let _0x282265=class extends _0x1f0a18['Disposable']{constructor(_0x42422f,_0x302016,_0x3a36c6,_0x45390d,_0x46e4b8,_0x31fcc2,_0x2c4717,_0x31b872){const _0x27873d=_0x530ea4;super(),_0x1b53be(this,_0x27873d(0x3e8),new _0x5900c2[(_0x27873d(0x1d9))](_0x5a7b55[_0x27873d(0x3d4)][_0x27873d(0x2f5)])),(this[_0x27873d(0x277)]=_0x42422f,this['_collaborationController']=_0x302016,this[_0x27873d(0x3b0)]=_0x3a36c6,this[_0x27873d(0x3ae)]=_0x45390d,this[_0x27873d(0x373)]=_0x46e4b8,this['_docSyncEditingCollabCursorService']=_0x31fcc2,this['_messageService']=_0x2c4717,this[_0x27873d(0x1ca)]=_0x31b872,this[_0x27873d(0x3e4)]());}[_0x530ea4(0x3e4)](){const _0xd727a0=_0x530ea4;this[_0xd727a0(0x3b8)](this[_0xd727a0(0x1bf)][_0xd727a0(0x2a1)][_0xd727a0(0x272)](_0xe63cd1=>{const _0x34d227=_0xd727a0,_0x22b4be=this[_0x34d227(0x277)][_0x34d227(0x300)]['subscribe'](_0xa91aef=>{const _0x24cedc=_0x34d227;if(_0xa91aef==null)return;const {unitId:_0x125e11,redoState:_0x2f0a31,commandId:_0x4a2d2d}=_0xa91aef;if(_0x125e11!==_0xe63cd1[_0x24cedc(0x275)])return;const _0x5c0620={'id':_0x4a2d2d,'type':_0x1f0a18[_0x24cedc(0x2b5)]['MUTATION'],'params':{'unitId':_0x125e11,'actions':_0x2f0a31[_0x24cedc(0x308)],'textRanges':null}};_0xe63cd1[_0x24cedc(0x258)](_0x5c0620);});if(_0xe63cd1[_0x34d227(0x3b8)](_0x22b4be),_0xe63cd1 instanceof _0x5a7b55[_0x34d227(0x2cb)]){const _0x3981e9={'onTransformIME':_0x8db98=>this[_0x34d227(0x3b0)]['transformIMECache'](_0x8db98),'onTransformState':_0x297d30=>this[_0x34d227(0x3ae)][_0x34d227(0x34e)](_0x297d30),'onTransformSelections':_0x18d676=>this[_0x34d227(0x373)][_0x34d227(0x237)](_0x18d676),'onSyncEditingCollabCursor':_0xe69e82=>this['_docSyncEditingCollabCursorService'][_0x34d227(0x1b3)](_0xe69e82),'onTransformRemoteChangesetByIMECache':_0xb6e2bb=>this[_0x34d227(0x3b0)][_0x34d227(0x2a5)](_0xb6e2bb),'onTransformRemoteChangesetByStateCache':_0x49f74a=>this[_0x34d227(0x3ae)]['transformRemoteChangeset'](_0x49f74a)};_0xe63cd1[_0x34d227(0x1a3)](_0x3981e9);}}));}};_0x282265=_0x406447([_0x179726(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x4dd21f['DocStateChangeManagerService'])),_0x179726(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x2b4)])),_0x179726(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x4e7530)),_0x179726(0x3,_0x1f0a18['Inject'](_0x2a5f6a)),_0x179726(0x4,_0x1f0a18['Inject'](_0x111326)),_0x179726(0x5,_0x1f0a18['Inject'](_0x50ea68)),_0x179726(0x6,_0x3835ea[_0x530ea4(0x38d)]),_0x179726(0x7,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x338)]))],_0x282265);var _0x15750a=Object[_0x530ea4(0x201)],_0x53d2a9=(_0x23d9be,_0x3101e8,_0x2d58c3,_0xa0d9ed)=>{for(var _0x1c8524=_0xa0d9ed>0x1?void 0x0:_0xa0d9ed?_0x15750a(_0x3101e8,_0x2d58c3):_0x3101e8,_0x585a06=_0x23d9be['length']-0x1,_0x54e5a3;_0x585a06>=0x0;_0x585a06--)(_0x54e5a3=_0x23d9be[_0x585a06])&&(_0x1c8524=_0x54e5a3(_0x1c8524)||_0x1c8524);return _0x1c8524;},_0x5ec6e1=(_0x36e138,_0x2abb65)=>(_0x3b41c9,_0x4b8064)=>_0x2abb65(_0x3b41c9,_0x4b8064,_0x36e138);let _0x35301a=class extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(_0x223b3c,_0x37d446,_0x4cc343){const _0x1b1aa9=_0x530ea4;super(),_0x1b53be(this,_0x1b1aa9(0x372),new Map()),_0x1b53be(this,_0x1b1aa9(0x30c),new Map()),_0x1b53be(this,_0x1b1aa9(0x32e),!0x1),(this['_configService']=_0x223b3c,this['_localStorageService']=_0x37d446,this[_0x1b1aa9(0x23f)]=_0x4cc343);}[_0x530ea4(0x1f9)](){this['_disabled']=!0x0;}[_0x530ea4(0x363)](){this['_disabled']=!0x1;}get[_0x530ea4(0x2c3)](){return this['_saveTaskMap'];}[_0x530ea4(0x342)](){const _0x51ee4c=_0x530ea4;this[_0x51ee4c(0x21b)]()[_0x51ee4c(0x424)](()=>super[_0x51ee4c(0x342)]());}async['loadOfflineData'](_0x114a61){const _0x3d2407=_0x530ea4;return this[_0x3d2407(0x32e)]?null:this[_0x3d2407(0x266)]['getItem'](_0x5a7b55[_0x3d2407(0x26e)](_0x114a61));}async[_0x530ea4(0x305)](_0x56d8a4,_0x1f0ea0){const _0x3da787=_0x530ea4;return!!this['_localStorageService'][_0x3da787(0x284)](_0x56d8a4,_0x1f0ea0);}['updateOfflineData'](_0x2db8f5,_0x2a2a08,_0x54ce74,_0x1c8eb4){const _0x3c6536=_0x530ea4,_0x4d001a=this['_revisionService'][_0x3c6536(0x268)](_0x2db8f5);this[_0x3c6536(0x372)]['set'](_0x2db8f5,{'unitID':_0x2db8f5,'type':_0x2a2a08,'awaitingChangeset':_0x54ce74,'mutations':_0x1c8eb4,'rev':_0x4d001a}),this[_0x3c6536(0x30c)][_0x3c6536(0x447)](_0x2db8f5)||this[_0x3c6536(0x21c)](_0x2db8f5);}['_scheduleSaving'](_0x3b1e7e){const _0x7bc496=_0x530ea4,_0x40098d=this[_0x7bc496(0x408)]();_0x40098d===0x0?this[_0x7bc496(0x312)](_0x3b1e7e):this[_0x7bc496(0x30c)][_0x7bc496(0x3ec)](_0x3b1e7e,setTimeout(()=>this[_0x7bc496(0x312)](_0x3b1e7e),_0x40098d));}[_0x530ea4(0x408)](){const _0x3eee52=_0x530ea4;var _0x5b482e;return(_0x5b482e=this['_configService'][_0x3eee52(0x2a0)](_0x5a7b55[_0x3eee52(0x24c)]))!=null?_0x5b482e:_0x5a7b55['LOCAL_CACHE_INTERVAL'];}[_0x530ea4(0x312)](_0x21c2a1){const _0x33845c=_0x530ea4,_0x208b7f=this[_0x33845c(0x30c)][_0x33845c(0x22f)](_0x21c2a1);return _0x208b7f!==void 0x0&&window['clearTimeout'](_0x208b7f),this[_0x33845c(0x266)][_0x33845c(0x284)](_0x5a7b55[_0x33845c(0x26e)](_0x21c2a1),this[_0x33845c(0x372)][_0x33845c(0x22f)](_0x21c2a1))['then'](()=>this[_0x33845c(0x30c)][_0x33845c(0x222)](_0x21c2a1));}async[_0x530ea4(0x21b)](){const _0x57d004=_0x530ea4,_0x1ddc44=[];this[_0x57d004(0x30c)][_0x57d004(0x371)]((_0x33fe4f,_0x239fb0)=>{const _0x5713bd=_0x57d004;window[_0x5713bd(0x221)](_0x33fe4f),_0x1ddc44[_0x5713bd(0x36a)](this[_0x5713bd(0x312)](_0x239fb0)['then'](()=>{const _0x9dae72=_0x5713bd;this[_0x9dae72(0x30c)][_0x9dae72(0x222)](_0x239fb0);}));}),await Promise[_0x57d004(0x3e7)](_0x1ddc44);}};_0x35301a=_0x53d2a9([_0x5ec6e1(0x0,_0x1f0a18[_0x530ea4(0x3fe)]),_0x5ec6e1(0x1,_0x1f0a18[_0x530ea4(0x355)]),_0x5ec6e1(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1cac3e['RevisionService']))],_0x35301a);class _0x5bd741 extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(){const _0x30a749=_0x530ea4;super(),_0x1b53be(this,_0x30a749(0x43d)),this[_0x30a749(0x43d)]=_0x5900c2[_0x30a749(0x2e5)](window,_0x30a749(0x22c))[_0x30a749(0x420)](_0x5900c2[_0x30a749(0x24a)](this[_0x30a749(0x211)]),_0x5900c2['shareReplay'](0x1),_0x5900c2[_0x30a749(0x40e)](void 0x0));}[_0x530ea4(0x395)](_0x4fd53e,_0x15ae5e,_0x31ef9e=!0x1){const _0x1f6937=_0x530ea4,_0x4f9baf=new URL(window['location'][_0x1f6937(0x208)]);_0x4f9baf[_0x1f6937(0x325)]['set'](_0x4fd53e,_0x15ae5e),_0x31ef9e?window['history'][_0x1f6937(0x1c0)]('','',_0x4f9baf[_0x1f6937(0x418)]()):window['history']['pushState']('','',_0x4f9baf['toString']());}[_0x530ea4(0x36d)](_0x4a7859,_0x57564a=!0x1){const _0x4707dd=_0x530ea4,_0x657216=new URL(window[_0x4707dd(0x23a)][_0x4707dd(0x208)]);_0x657216[_0x4707dd(0x325)][_0x4707dd(0x222)](_0x4a7859),_0x57564a?window[_0x4707dd(0x31f)][_0x4707dd(0x1c0)]('','',_0x657216[_0x4707dd(0x418)]()):window[_0x4707dd(0x31f)][_0x4707dd(0x3d1)]('','',_0x657216['toString']());}['getParam'](_0x602318){const _0x20863b=_0x530ea4;var _0x294cb1;return(_0x294cb1=new URL(window['location'][_0x20863b(0x208)])[_0x20863b(0x325)]['get'](_0x602318))!=null?_0x294cb1:void 0x0;}}var _0x59ebb7=Object[_0x530ea4(0x36e)],_0x27f288=Object['getOwnPropertyDescriptor'],_0xbce48=(_0x3449aa,_0x68d070,_0x1f8619)=>_0x68d070 in _0x3449aa?_0x59ebb7(_0x3449aa,_0x68d070,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f8619}):_0x3449aa[_0x68d070]=_0x1f8619,_0x5b73b2=(_0x6d6e4c,_0x1954be,_0xd9de4f,_0x1f1581)=>{const _0x53b41f=_0x530ea4;for(var _0x2cee3d=_0x1f1581>0x1?void 0x0:_0x1f1581?_0x27f288(_0x1954be,_0xd9de4f):_0x1954be,_0x11c923=_0x6d6e4c[_0x53b41f(0x2ee)]-0x1,_0xdd9bb8;_0x11c923>=0x0;_0x11c923--)(_0xdd9bb8=_0x6d6e4c[_0x11c923])&&(_0x2cee3d=_0xdd9bb8(_0x2cee3d)||_0x2cee3d);return _0x2cee3d;},_0xd6f6e0=(_0x415049,_0x27b84d)=>(_0x4a05d2,_0xb6d4b2)=>_0x27b84d(_0x4a05d2,_0xb6d4b2,_0x415049),_0x23c91e=(_0x316dd3,_0x5757cf,_0x261cf6)=>_0xbce48(_0x316dd3,_0x5757cf+'',_0x261cf6);const _0x39274e=_0x530ea4(0x2a4);_0x5527a1[_0x530ea4(0x42c)]=class extends _0x1f0a18['Plugin']{constructor(_0x57f292=_0x2b46de,_0x1f0ac0,_0x503312,_0x110867){const _0x278980=_0x530ea4;super(),this[_0x278980(0x293)]=_0x57f292,this[_0x278980(0x1c3)]=_0x1f0ac0,this[_0x278980(0x335)]=_0x503312,this[_0x278980(0x339)]=_0x110867;const {..._0x1e1ff3}=_0x1f0a18[_0x278980(0x35e)]({},_0x2b46de,this[_0x278980(0x293)]);this[_0x278980(0x339)][_0x278980(0x322)](_0xcf2e1e,_0x1e1ff3);}[_0x530ea4(0x209)](){const _0x57fefd=_0x530ea4;this[_0x57fefd(0x413)](),this[_0x57fefd(0x1ee)]();}[_0x530ea4(0x33f)](){const _0xb53f4e=_0x530ea4;this[_0xb53f4e(0x22a)]();}[_0x530ea4(0x413)](){const _0x4a1f94=_0x530ea4;var _0x4446ee;const _0x41a874=[[_0x3e294f],[_0x111326],[_0x4e7530],[_0x2a5f6a],[_0x50ea68],[_0x2d199b,{'useClass':_0x5bd741}],[_0x254943[_0x4a1f94(0x233)],{'useClass':_0x254943[_0x4a1f94(0x3c6)]}],[_0x5a7b55[_0x4a1f94(0x294)],{'useClass':_0x35301a}],[_0x5527a1[_0x4a1f94(0x42a)]],[_0x282265],[_0x257a98],[_0x201d0c],[_0x25d763],[_0x5527a1[_0x4a1f94(0x37b)]]];_0x1f0a18[_0x4a1f94(0x28a)](this[_0x4a1f94(0x335)],_0x1f0a18[_0x4a1f94(0x1f6)](_0x41a874,(_0x4446ee=this[_0x4a1f94(0x293)])==null?void 0x0:_0x4446ee['override']));}[_0x530ea4(0x22a)](){const _0x47b4d9=_0x530ea4;this[_0x47b4d9(0x3b8)](this[_0x47b4d9(0x1c3)][_0x47b4d9(0x216)](_0x1f0a18[_0x47b4d9(0x358)][_0x47b4d9(0x389)],[_0x2d1851])),this[_0x47b4d9(0x3b8)](this['_renderManagerService'][_0x47b4d9(0x216)](_0x1f0a18[_0x47b4d9(0x358)][_0x47b4d9(0x1ff)],[_0xbcec20]));}[_0x530ea4(0x1ee)](){const _0x264993=_0x530ea4;_0x1f0a18[_0x264993(0x426)](this[_0x264993(0x335)],[[_0x201d0c],[_0x5527a1[_0x264993(0x42a)]],[_0x282265],[_0x257a98],[_0x5527a1['CollaborationDataLoaderController']]]);}},_0x23c91e(_0x5527a1[_0x530ea4(0x42c)],_0x530ea4(0x29d),_0x39274e),_0x5527a1['UniverCollaborationClientUIPlugin']=_0x5b73b2([_0x1f0a18[_0x530ea4(0x3cd)](_0x5a7b55[_0x530ea4(0x411)]),_0xd6f6e0(0x1,_0x1b328b[_0x530ea4(0x2af)]),_0xd6f6e0(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xd6f6e0(0x3,_0x1f0a18[_0x530ea4(0x3fe)])],_0x5527a1['UniverCollaborationClientUIPlugin']);var _0x32d56=Object[_0x530ea4(0x201)],_0x29468d=(_0x420523,_0x1b0682,_0x42ac1f,_0x1ea4b7)=>{const _0x3f42c1=_0x530ea4;for(var _0x1856b5=_0x1ea4b7>0x1?void 0x0:_0x1ea4b7?_0x32d56(_0x1b0682,_0x42ac1f):_0x1b0682,_0x3232c5=_0x420523[_0x3f42c1(0x2ee)]-0x1,_0x21fad1;_0x3232c5>=0x0;_0x3232c5--)(_0x21fad1=_0x420523[_0x3232c5])&&(_0x1856b5=_0x21fad1(_0x1856b5)||_0x1856b5);return _0x1856b5;},_0x44494e=(_0x4f9eae,_0x1a80ff)=>(_0x1aa4dc,_0x2b6f49)=>_0x1a80ff(_0x1aa4dc,_0x2b6f49,_0x4f9eae);_0x5527a1[_0x530ea4(0x37a)]=class extends _0x5a7b55[_0x530ea4(0x296)]{constructor(_0x57edf6,_0x139775,_0x2554ae,_0x239847,_0x5843a3){super(_0x57edf6,_0x139775,_0x2554ae,_0x239847,_0x5843a3);}async[_0x530ea4(0x22b)](_0x2cd8f8){const _0x1d40b1=_0x530ea4,_0x2a6204=await this[_0x1d40b1(0x2c4)](),_0xfd03cc=this[_0x1d40b1(0x287)](_0x2cd8f8,_0x2a6204);return this[_0x1d40b1(0x2b2)](_0xfd03cc);}[_0x530ea4(0x287)](_0x418b69,_0x23afbb){const _0x2eddae=_0x530ea4,_0x27d61d=typeof window>'u'?new URL(_0x418b69):new URL(_0x418b69,window['location'][_0x2eddae(0x43e)]);_0x27d61d[_0x2eddae(0x325)][_0x2eddae(0x3ec)](_0x2eddae(0x3a8),_0x23afbb);const _0x8b1de2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2eddae(0x388)]);return _0x8b1de2[_0x2eddae(0x22f)]('runId')&&_0x27d61d[_0x2eddae(0x325)][_0x2eddae(0x3ec)](_0x2eddae(0x42e),_0x8b1de2['get'](_0x2eddae(0x42e))),_0x27d61d['toString']();}async[_0x530ea4(0x2c4)](){const _0xb8ea15=_0x530ea4;var _0x3ef86d,_0x79f613,_0x576c4b;const _0x25e884=this[_0xb8ea15(0x339)]['getConfig'](_0x5a7b55[_0xb8ea15(0x443)]),_0x11c523=(_0x3ef86d=_0x25e884==null?void 0x0:_0x25e884[_0xb8ea15(0x3d3)])!=null?_0x3ef86d:_0x5a7b55[_0xb8ea15(0x1f0)];return(_0x576c4b=(_0x79f613=(await this[_0xb8ea15(0x20c)][_0xb8ea15(0x22f)](_0x11c523,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x79f613['ticket'])!=null?_0x576c4b:'';}},_0x5527a1[_0x530ea4(0x37a)]=_0x29468d([_0x44494e(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18['Injector'])),_0x44494e(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x254943[_0x530ea4(0x2a6)])),_0x44494e(0x2,_0x1f0a18[_0x530ea4(0x3fe)]),_0x44494e(0x3,_0x1f0a18[_0x530ea4(0x1ae)]),_0x44494e(0x4,_0x1cac3e[_0x530ea4(0x2f1)])],_0x5527a1[_0x530ea4(0x37a)]);const _0x50c5fa=0x7530,_0x305c8d=_0x530ea4(0x2dc);class _0x58e646 extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(){const _0x7618cc=_0x530ea4;super(),_0x1b53be(this,_0x7618cc(0x246),_0x1f0a18['generateRandomId']()),_0x1b53be(this,'_selfUnitIDs',new Set()),_0x1b53be(this,_0x7618cc(0x279),new Map()),_0x1b53be(this,_0x7618cc(0x1dc),null),_0x1b53be(this,_0x7618cc(0x2c9),new Map()),_0x1b53be(this,_0x7618cc(0x224),new Map()),this[_0x7618cc(0x30a)]();}[_0x530ea4(0x342)](){const _0x475ccd=_0x530ea4;super[_0x475ccd(0x342)](),this[_0x475ccd(0x2c9)]['forEach']((_0x213fe6,_0x3832e3)=>this[_0x475ccd(0x309)](_0x3832e3)),this[_0x475ccd(0x1dc)]&&window['clearInterval'](this[_0x475ccd(0x1dc)]);}[_0x530ea4(0x3b3)](_0x4c9b40){const _0x2e6b02=_0x530ea4;return this[_0x2e6b02(0x449)](_0x4c9b40)[_0x2e6b02(0x420)](_0x5900c2['distinctUntilChanged']());}['editingUnit'](_0x36de5c){const _0x85b223=_0x530ea4;this[_0x85b223(0x20a)]['size']===0x0&&this[_0x85b223(0x295)](),this[_0x85b223(0x20a)]['add'](_0x36de5c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x36de5c],'isForwarded':!0x1});}[_0x530ea4(0x2ac)](_0x3528e9){const _0x1b110d=_0x530ea4;this[_0x1b110d(0x20a)][_0x1b110d(0x222)](_0x3528e9),this[_0x1b110d(0x20a)][_0x1b110d(0x383)]===0x0&&this[_0x1b110d(0x1dc)]&&window[_0x1b110d(0x3f5)](this[_0x1b110d(0x1dc)]);}[_0x530ea4(0x30a)](){const _0x12e1c8=_0x530ea4;this[_0x12e1c8(0x3b8)](_0x1f0a18['toDisposable'](_0x5900c2[_0x12e1c8(0x2e5)](window,_0x12e1c8(0x219))[_0x12e1c8(0x272)](_0x25a25a=>{const _0x50287b=_0x12e1c8;if(_0x25a25a['key']!==_0x305c8d||!_0x25a25a['newValue'])return;const _0x26f3b5=JSON['parse'](_0x25a25a[_0x50287b(0x36f)]);this['_handleEvent'](_0x26f3b5);}))),window[_0x12e1c8(0x1d1)](_0x12e1c8(0x252),()=>this[_0x12e1c8(0x2d6)]({'type':0x1,'memberID':this[_0x12e1c8(0x246)],'unitIDs':Array[_0x12e1c8(0x1d2)](this[_0x12e1c8(0x20a)])}));}['_handleEvent'](_0x182854){const _0x1a3096=_0x530ea4;switch(_0x182854[_0x1a3096(0x3b9)]){case 0x0:this[_0x1a3096(0x41f)](_0x182854);break;case 0x1:this[_0x1a3096(0x396)](_0x182854);break;case 0x2:this[_0x1a3096(0x366)](_0x182854);break;}}[_0x530ea4(0x41f)](_0x5c8559){const _0x1b929d=_0x530ea4,{unitIDs:_0x3086fd,memberID:_0x4a8b95,isForwarded:_0x1f3957}=_0x5c8559;_0x3086fd[_0x1b929d(0x371)](_0x4f052a=>{const _0x1bc0bd=_0x1b929d;if(!_0x1f3957&&this['_unitOnClients']['has'](_0x4f052a)&&this[_0x1bc0bd(0x449)](_0x4f052a)['next'](_0x5a7b55[_0x1bc0bd(0x433)][_0x1bc0bd(0x1cc)]),!this[_0x1bc0bd(0x279)][_0x1bc0bd(0x447)](_0x4f052a)||!this[_0x1bc0bd(0x279)]['get'](_0x4f052a)[_0x1bc0bd(0x447)](_0x4a8b95)){const _0x1ecf8b=this[_0x1bc0bd(0x279)][_0x1bc0bd(0x22f)](_0x4f052a)||new Set();_0x1ecf8b[_0x1bc0bd(0x20b)](_0x4a8b95),this['_unitOnClients'][_0x1bc0bd(0x3ec)](_0x4f052a,_0x1ecf8b),this[_0x1bc0bd(0x2b3)](_0x4a8b95);}}),_0x1f3957||this[_0x1b929d(0x2d6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1b929d(0x20a)]],'isForwarded':!0x0});}[_0x530ea4(0x2b3)](_0x30366a){const _0x2eb3a3=_0x530ea4;this[_0x2eb3a3(0x309)](_0x30366a);const _0x256938=window[_0x2eb3a3(0x2ec)](()=>{const _0x2b64ed=_0x2eb3a3;this[_0x2b64ed(0x279)][_0x2b64ed(0x371)](_0x2dc6c2=>{const _0x16db50=_0x2b64ed;_0x2dc6c2[_0x16db50(0x222)](_0x30366a);});},_0x50c5fa*0x2);this[_0x2eb3a3(0x2c9)][_0x2eb3a3(0x3ec)](_0x30366a,_0x256938);}[_0x530ea4(0x309)](_0x31663c){const _0x29954f=_0x530ea4;if(this['_clearOtherTimers'][_0x29954f(0x447)](_0x31663c)){const _0x4673ea=this['_clearOtherTimers'][_0x29954f(0x22f)](_0x31663c);_0x4673ea&&window['clearTimeout'](_0x4673ea),this[_0x29954f(0x2c9)][_0x29954f(0x3ec)](_0x31663c,null);}}[_0x530ea4(0x396)](_0x5b8982){const _0x5393a6=_0x530ea4,{memberID:_0x45ad55,unitIDs:_0x13ce30}=_0x5b8982;_0x13ce30['forEach'](_0x2dd6d9=>{const _0x47303e=_0x1efe;var _0xb2028f;const _0x57cf6b=this[_0x47303e(0x279)]['get'](_0x2dd6d9);_0x57cf6b&&(_0x57cf6b[_0x47303e(0x222)](_0x45ad55),(_0xb2028f=this[_0x47303e(0x449)](_0x2dd6d9))==null||_0xb2028f['next'](_0x57cf6b[_0x47303e(0x383)]===0x0?_0x5a7b55['UnitStatus'][_0x47303e(0x1cd)]:_0x5a7b55[_0x47303e(0x433)][_0x47303e(0x1cc)]));}),this[_0x5393a6(0x309)](_0x45ad55);}[_0x530ea4(0x366)](_0x56ce93){const _0x5e3ef1=_0x530ea4;this[_0x5e3ef1(0x2b3)](_0x56ce93[_0x5e3ef1(0x377)]);}[_0x530ea4(0x2d6)](_0x24a42e){const _0x4b98ef=_0x530ea4;localStorage[_0x4b98ef(0x284)](_0x305c8d,JSON[_0x4b98ef(0x33c)](_0x24a42e));}[_0x530ea4(0x295)](){const _0x27c3e6=_0x530ea4;this['_heartbeatTimer']=window[_0x27c3e6(0x2d2)](()=>{const _0x50eea4=_0x27c3e6;this[_0x50eea4(0x2d6)]({'type':0x2,'memberID':this[_0x50eea4(0x246)]});},_0x50c5fa);}['_ensureSubject'](_0x53f4f6){const _0x3ae2df=_0x530ea4;return this['_unitStatus'][_0x3ae2df(0x447)](_0x53f4f6)||this[_0x3ae2df(0x224)]['set'](_0x53f4f6,new _0x5900c2[(_0x3ae2df(0x1d9))](_0x5a7b55[_0x3ae2df(0x433)][_0x3ae2df(0x1cd)])),this[_0x3ae2df(0x224)][_0x3ae2df(0x22f)](_0x53f4f6);}}var _0x4cb49e=(_0x522874=>(_0x522874[_0x522874[_0x530ea4(0x3a7)]=0x0]=_0x530ea4(0x3a7),_0x522874[_0x522874['OK']=0x1]='OK',_0x522874[_0x522874['INTERNAL_ERROR']=0x2]=_0x530ea4(0x2a9),_0x522874[_0x522874[_0x530ea4(0x1ed)]=0x3]='PERMISSION_DENIED',_0x522874[_0x522874[_0x530ea4(0x29b)]=0x4]=_0x530ea4(0x29b),_0x522874[_0x522874['UNAUTHENTICATED']=0x5]=_0x530ea4(0x2ed),_0x522874[_0x522874[_0x530ea4(0x255)]=0x6]=_0x530ea4(0x255),_0x522874[_0x522874[_0x530ea4(0x448)]=0x7]=_0x530ea4(0x448),_0x522874[_0x522874[_0x530ea4(0x416)]=0x8]=_0x530ea4(0x416),_0x522874[_0x522874[_0x530ea4(0x2b8)]=0x9]=_0x530ea4(0x2b8),_0x522874[_0x522874[_0x530ea4(0x1d4)]=0xa]=_0x530ea4(0x1d4),_0x522874[_0x522874[_0x530ea4(0x2e0)]=0xb]=_0x530ea4(0x2e0),_0x522874[_0x522874['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x530ea4(0x2ce),_0x522874[_0x522874[_0x530ea4(0x234)]=0xd]=_0x530ea4(0x234),_0x522874[_0x522874[_0x530ea4(0x1a2)]=0xe]=_0x530ea4(0x1a2),_0x522874[_0x522874[_0x530ea4(0x1af)]=0x1389]=_0x530ea4(0x1af),_0x522874[_0x522874[_0x530ea4(0x3dd)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x522874[_0x522874[_0x530ea4(0x214)]=0x1772]=_0x530ea4(0x214),_0x522874[_0x522874[_0x530ea4(0x381)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x522874[_0x522874[_0x530ea4(0x28d)]=0x1b59]='APPLY_REJECT',_0x522874[_0x522874[_0x530ea4(0x2f0)]=0x1b5a]=_0x530ea4(0x2f0),_0x522874[_0x522874[_0x530ea4(0x23d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x522874[_0x522874[_0x530ea4(0x399)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x522874[_0x522874['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x522874[_0x522874[_0x530ea4(0x2e6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x522874[_0x522874[_0x530ea4(0x1bd)]=0x2329]=_0x530ea4(0x1bd),_0x522874[_0x522874[_0x530ea4(0x44d)]=0x232a]=_0x530ea4(0x44d),_0x522874[_0x522874[_0x530ea4(0x376)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x522874[_0x522874['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x530ea4(0x393),_0x522874[_0x522874['LICENSE_DISTRO_REJECTED']=0x232d]=_0x530ea4(0x44c),_0x522874[_0x522874[_0x530ea4(0x22d)]=0x2711]=_0x530ea4(0x22d),_0x522874[_0x522874[_0x530ea4(0x34f)]=0x2712]=_0x530ea4(0x34f),_0x522874[_0x522874[_0x530ea4(0x369)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x522874[_0x522874[_0x530ea4(0x41c)]=0x2714]=_0x530ea4(0x41c),_0x522874[_0x522874['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x530ea4(0x37d),_0x522874[_0x522874[_0x530ea4(0x2e2)]=0x271b]=_0x530ea4(0x2e2),_0x522874[_0x522874[_0x530ea4(0x220)]=0x271c]=_0x530ea4(0x220),_0x522874[_0x522874[_0x530ea4(0x397)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x522874[_0x522874[_0x530ea4(0x2f7)]=0x271e]=_0x530ea4(0x2f7),_0x522874[_0x522874[_0x530ea4(0x446)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x522874[_0x522874[_0x530ea4(0x329)]=0x2720]=_0x530ea4(0x329),_0x522874[_0x522874[_0x530ea4(0x25f)]=0x2af9]=_0x530ea4(0x25f),_0x522874[_0x522874[_0x530ea4(0x253)]=0x2ee1]=_0x530ea4(0x253),_0x522874[_0x522874[_0x530ea4(0x2a7)]=0x2ee2]=_0x530ea4(0x2a7),_0x522874[_0x522874[_0x530ea4(0x3fa)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x522874[_0x522874['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x522874[_0x522874[_0x530ea4(0x38c)]=0x2ee5]=_0x530ea4(0x38c),_0x522874[_0x522874[_0x530ea4(0x2bd)]=0x32c9]=_0x530ea4(0x2bd),_0x522874[_0x522874[_0x530ea4(0x301)]=0x32ca]=_0x530ea4(0x301),_0x522874[_0x522874[_0x530ea4(0x27e)]=0x32cb]=_0x530ea4(0x27e),_0x522874[_0x522874[_0x530ea4(0x1e3)]=-0x1]=_0x530ea4(0x1e3),_0x522874))(_0x4cb49e||{}),_0x1c9548=Object[_0x530ea4(0x201)],_0x5638ff=(_0x21f438,_0x4b63a7,_0x5d0c09,_0xcf8e6)=>{const _0x527d50=_0x530ea4;for(var _0x47cddc=_0xcf8e6>0x1?void 0x0:_0xcf8e6?_0x1c9548(_0x4b63a7,_0x5d0c09):_0x4b63a7,_0x50ba5e=_0x21f438[_0x527d50(0x2ee)]-0x1,_0x1a2f8a;_0x50ba5e>=0x0;_0x50ba5e--)(_0x1a2f8a=_0x21f438[_0x50ba5e])&&(_0x47cddc=_0x1a2f8a(_0x47cddc)||_0x47cddc);return _0x47cddc;},_0x246f37=(_0x4440ca,_0x16d64d)=>(_0x593eef,_0x41f47a)=>_0x16d64d(_0x593eef,_0x41f47a,_0x4440ca);_0x5527a1['RemoteUniscriptService']=class extends _0x1f0a18['Disposable']{constructor(_0x3e64a6,_0x53003c,_0x5e32c5){const _0x3b9d81=_0x530ea4;super(),this[_0x3b9d81(0x298)]=_0x3e64a6,this[_0x3b9d81(0x20c)]=_0x53003c,this[_0x3b9d81(0x339)]=_0x5e32c5;}async[_0x530ea4(0x407)](_0x205169,_0x4be83c,_0x520747,..._0x4448ae){const _0x85588b=_0x530ea4;var _0x1983d2,_0x4dc89a,_0x4c12c1,_0xd25412;const _0x2035cb=this['_instanceService'][_0x85588b(0x3d6)]();if(!_0x2035cb)throw new Error(_0x85588b(0x336));const _0x16f7b5=((_0x1983d2=this[_0x85588b(0x339)]['getConfig'](_0x5a7b55[_0x85588b(0x31d)]))!=null?_0x1983d2:_0x5a7b55[_0x85588b(0x3b6)])+'/'+_0x205169+_0x85588b(0x32b)+_0x4be83c,_0x58408b=new URL(window[_0x85588b(0x23a)]['href']),_0x275bbe={'scriptId':_0x205169,'runId':(_0x4dc89a=_0x58408b[_0x85588b(0x325)][_0x85588b(0x22f)](_0x85588b(0x42e)))!=null?_0x4dc89a:'','function':_0x4be83c,'unitId':_0x2035cb[_0x85588b(0x1e8)](),'argsOfFunction':JSON[_0x85588b(0x33c)](_0x4448ae),'invokeId':(_0x4c12c1=_0x520747[_0x85588b(0x229)])!=null?_0x4c12c1:'','executionId':(_0xd25412=_0x520747[_0x85588b(0x280)])!=null?_0xd25412:''};try{const _0x253163=await this['_httpService'][_0x85588b(0x319)](_0x16f7b5,{'body':_0x275bbe});return _0x253163[_0x85588b(0x414)][_0x85588b(0x31b)]&&_0x253163[_0x85588b(0x414)][_0x85588b(0x31b)]['code']!==_0x4cb49e['OK']?_0x85588b(0x35d):_0x253163[_0x85588b(0x414)]['result'];}catch{return _0x85588b(0x35d);}}},_0x5527a1[_0x530ea4(0x351)]=_0x5638ff([_0x246f37(0x0,_0x1f0a18[_0x530ea4(0x2db)]),_0x246f37(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x254943['HTTPService'])),_0x246f37(0x2,_0x1f0a18[_0x530ea4(0x3fe)])],_0x5527a1['RemoteUniscriptService']),_0x5527a1[_0x530ea4(0x440)]=_0x4da86a,_0x5527a1[_0x530ea4(0x419)]=_0x2d199b,_0x5527a1['SheetCollabCursorShape']=_0x4b5ae2,_0x5527a1[_0x530ea4(0x27a)]=_0x58e646,_0x5527a1[_0x530ea4(0x262)]=_0x5bd741,Object[_0x530ea4(0x36e)](_0x5527a1,Symbol[_0x530ea4(0x217)],{'value':'Module'});}));function _0x1efe(_0x520d97,_0x2fb2d2){const _0x55f24e=_0x55f2();return _0x1efe=function(_0x1efebe,_0x1b827c){_0x1efebe=_0x1efebe-0x1a2;let _0x23fe5e=_0x55f24e[_0x1efebe];return _0x23fe5e;},_0x1efe(_0x520d97,_0x2fb2d2);}function _0x55f2(){const _0x20240b=['INVALID_INVITE_CODE','_docSkeleton','INTERNAL_ERROR','Shape','_onCursorDelete','disposeUnit','OffLineIcon','reconnect','IRenderManagerService','transform','RemoveColCommandId','_doCreateSocket','_scheduleClearOtherTimer','CollaborationController','CommandType','@univerjs/engine-formula','bottom','COMPLETION_FINISHED','data','_assignedColors','RxDisposable','OTHER_CLIENT_EDITING','WECHAT_HAS_BEEN_BOUND','0\x200\x2017\x2016','on-line-icon','@univerjs/engine-render','_updateCollabCursors','Tooltip','saveTaskMap','_getSessionTicket','DisposableCollection','forwardRef','SHEET_VIEWPORT_KEY','find','_clearOtherTimers','url(#on-line-icon_clip0_910_349)','DocCollaborationEntity','row','_univerInstanceService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DataLoaderService','ThemeService','contains','setInterval','saveImage','apply','USERS_LEAVE','_send','_dataLoaderService','session.collaboration-timeout','_drawAnchor','collaboration.single-unit.warning','IUniverInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','_online','M0\x200H16V16H0z','DOC_RANGE_TYPE','MOBILE_VERIFY_CODE_MISMATCH','UniverDrawing','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','labelPosition','fromEvent','CONNECTOR_DATA_TOO_LARGE','findNodePositionByCharIndex','roomMembers','createInstance','unsubscribe','cursorInfo','setTimeout','UNAUTHENTICATED','length','session.connection-failed','APPLY_NON_SEQUENTIAL_REVISION','ISnapshotServerService','INotificationService','_removeCollabCursors','textRanges','NOT_COLLAB','collab-text-range-','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','subUnitId','EffectRefRangId','_updateURLWithCurrentState','_hover','endColumn','_startSheetCollabCursor','_range','measureText','docStateChange$','MOBILE_HAS_BEEN_BOUND','_transformHistoryAndStateStack','toDisposable','_initStatusComponent','saveOfflineData','_hovered','isArray','actions','_removeClearOtherTimer','_init','getRenderById','_saveTaskMap','min','_cursorInfo$','deserializeRangeWithSheet','values','Rect','_saveCache','SessionStatus','@univerjs/sheets-ui','sheetID','collabStatus.offline','UniverSheetsUi','cursorInfo$','post','@univerjs/drawing','error','displayName','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration-client','history','indexOf','executeCommand','setConfig','_imageIoService','top','searchParams','setActiveRange','_handleHover','_name','YUUMI_CONNECTOR_URL_NOT_FOUND','_color','/run/','@univerjs/sheets','#FFF','_disabled','Tools','column','off-line-icon_clip0_910_343','SUBMIT_CHANGESET_TIMEOUT','sessionStatus$','with','_injector','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleInsertRow','LocaleService','_configService','10xstveY','closePath','stringify','_drawTextRange','deepClone','onRendered','...','_themeService','dispose','assignAColorForMemberID','_toggleOffline','InsertRangeMoveDownCommandId','_initEvent','colorChannel1','operators','handleIRemoveRow','unshift','toRgbString','_startDocCollabCursor','_notificationService','transformStateCache','YUUMI_URL_COL_OUT_OF_RANGE','SheetsSelectionsService','RemoteUniscriptService','InsertColCommandId','transformMutationsWithChangeset','currentColor','ILocalStorageService','_onCursorUpdate','params','UniverInstanceType','_transformPreviousActiveRange','rxjs','subunit','getCollabEntity$','Failed','merge','getDocRanges','SetDocZoomRatioOperation','complete','requireSession','enableLocalCache','MoveRangeCommandId','132303hQPSJR','_handleHeartbeatEvent','transformIMECache','registerBeforeClose','YUUMI_RATE_OVER_LIMIT','push','RichTextEditingMutation','getTypeOfUnitAdded$','removeParam','defineProperty','newValue','backgroundColor','forEach','_cachedData','_docTransformSelectionsService','jsxs','UniverIcon','LICENSE_IMPORT_SIZE_EXCEEDED','memberID','_beforeCloseService','HEADER_MENU','BrowserCollaborationSocketService','CollaborationDataLoaderController','SheetSkeletonManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','prototype','3nifveG','asObservable','ENSURE_SNAPSHOT_EXECUTION','setAlpha','size','InsertRangeMoveRightCommandId','collabStatus.synced','_getScale','getStateCache','search','UNIVER_DOC','_initStatusListener','_urlService','INVITE_CODE_ALREADY_BOUND','IMessageService','React','UniverNetwork','getRelativeToViewportCoord','restore','makeDirty','LICENSE_EXPORT_SIZE_EXCEEDED','div','setParam','_handleLeaveEvent','YUUMI_ALL_TABLES_IS_INVALID','startsWith','APPLY_PERMISSION_DENIED','_getMergeRange','string','NodePositionConvertToRectRange','Unknown\x20user','amd','UniverDesign','_document','runRefRangeMutations','CollaborationSessionService','MemberService','fillStyle','getUnhiddenWorksheets','off-line-icon','UNDEFINED','sessionTicket','setStateCache','_refreshCollabCursors','collabStatus.conflict','_cursorShapes','310632sCcUDY','_docTransformStateCacheService','arc','_docTransformIMECacheService','CollaborationUIEventId','OFFLINE','getUnitStatus$','_syncEditingCollabCursorService','split','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs/ui','disposeWithMe','type','currentSkeleton$','_labelPosition','UPDATE_CURSOR','Disposable','getCollabCursors$','getOffsetConfig','addObject','tag','_commandService','UniverSheets','COLORS','createIdentifier','WebSocketService','jsx','RECT','evenodd','ONLINE','IUIPartsService','onPointerMove$','DependentOn','hide','skeleton','path','pushState','http://www.w3.org/2000/svg','wsSessionTicketUrl','CollaborationStatus','@univerjs/rpc','getFocusedUnit','ICommandService','jiqing.500','max','isTransformMutationFailure','TEXT','isTransformMutationsWithChangesetSuccess','SNAPSHOT_INVALID_SNAPSHOT','UniverEngineFormula','_backgroundColor','fillRule','collabCursorState$','getMergeData','getCurrentUnitForType','_initEntityListener','getColorFromTheme','ColorKit','all','_status$','uni.network.url-service','SetWorksheetActivateCommand','startRow','set','engine','_context','_colorIndex','unitId','_initResize','DocSkeletonManagerService','_docClipboardService','1544072jwLgsY','clearInterval','DocSelectionManagerService','replace','getSheetBySheetId','RemoveRowCommandId','INVITE_CODE_REQUIRED','onCommandExecuted','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_memberService','IConfigService','url(#$1','drawWith','idSuffix','moveTo','_drawRectRange','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','getMember','_anchor','runOnServer','_getSaveTimeout','593674jfJIoh','show','handleMoveRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleIRemoveCol','mapTo','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs-pro/collaboration','UniverCollaborationClientPlugin','save','_registerDependencies','body','switchMap','TOO_MANY_REQUESTS','beginPath','toString','IURLService','imageSourceType','_initCommandExecutedListener','YUUMI_SUBSCRIPTION_NOT_FOUND','Inject','ITransformService','_handleJoinEvent','pipe','combineLatest','188Stfalr','UniverDocsUi','then','@univerjs/docs','touchDependencies','setUndoRedoMutationParamsCache','next','_shapes','DesktopCollaborationStatusDisplayController','Error','UniverCollaborationClientUIPlugin','getActiveSheet','runId','_scene','collaboration.closeRoom','isActive','Optional','UnitStatus','rxjs/operators','SOCKET_FAILED','connectInjector','height','round','2647314dZdlgj','setShapeProps','_uiPartsService','trim','urlChange$','origin','react','CollaborationStatusDisplay','_docSkeletonManagerService','useDependency','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','random','exports','YUUMI_AI_RUN_FAILED','has','INVALID_ARGUMENT','_ensureSubject','onTransformChange$','white','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addHandlerCallback','useRef','defIds','triggerDblclick','UniverCore','_sheetSkeletonManagerService','getSheetId','_session','m2Prime','4025799MrTtcN','NodePositionConvertToCursor','ILogService','CHANGESET_REVISION_CONFILICT','onPointerEnter$','Rectangle','text','syncEditingCollabCursor','color','univerjs-icon\x20univerjs-icon-','hasOwnProperty','current','MessageType','defs','on-line-icon_clip0_910_349','SetSelectionsOperation','includes','LICENSE_MAX_UNITS_EXCEEDED','isEditing','_collaborationController','replaceState','_updateLocalCursor','lineTo','_renderManagerService','fill','collaboration-client.offline-data-not-saved','getSkeleton','Subject','undoState','_messageService','_localeService','FETCH_MISS','OTHER_CLIENTS_EDITING','NO_OTHER_CLIENTS_EDITING','DeleteRangeMoveLeftCommandId','useCallback','getCellPositionByOffset','addEventListener','from','_roomMembers$','LOGIN_FAILED','transformMutation','AWAITING_WITH_PENDING','_collabCursorController','mask','BehaviorSubject','univer-flex\x20univer-items-center','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_heartbeatTimer','_entities','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','subscribeEvent','Warning','Injector','attrs','UNRECOGNIZED','getValue','_cursor','fillText','status$','getUnitId','RefRangeService','useObservable','0\x200\x2016\x2016','transformByState','PERMISSION_DENIED','_initDependencies','range','DEFAULT_WS_SESSION_TICKET_URL','startColumn','replaceDocRanges','_logService','OnLineIcon','_colorAssignService','mergeOverrideWithDependencies','propertyIsEnumerable','_setupBeforeClosingHandler','disableLocalCache','@univerjs/design','getColor','_cursors','UniverEngineRender','AWAITING','UNIVER_SHEET','getCoordByCell','getOwnPropertyDescriptor','_updateSubUnitFromURLParams','map','getUndoRedoMutationParamsCache','IImageIoService','unit','className','href','onStarting','_selfUnitIDs','add','_httpService','throttleTime','black','DocIMEInputManagerService','selection','dispose$','loadUnit','[CollaborationDataLoaderController]','SNAPSHOT_HAS_BEEN_REMOVED','RegularPolygon','registerRenderModule','toStringTag','CLOSE_ROOM','storage','debug','exhaustSavingTask','_scheduleSaving','event$','red.300','_onRefRangeChange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','clearTimeout','delete','getCurrent','_unitStatus','FromArray','registerRefRange','_entityInit$','extend','invokeId','_registerRenderDependencies','createSocket','popstate','YUUMI_UNABLE_LOAD_URL','roomMembers$','get','_hideTimer','none','CollaborationEvent','ISocketService','EMAIL_VERIFY_CODE_MISMATCH','purple.300','getSheetObject','transformSelections','collab-text-anchor-','icon','location','generateRandomId','object','APPLY_REVISION_CONFILICT','call','_revisionService','children','_collabSessionService','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','5345EdxZPP','CONFLICT','onPointerLeave$','_id','handleInsertCol','debounce','name','takeUntil','getAncestorScale','LOCAL_CACHE_INTERVAL_KEY','Vector2','translate(.97)','onMouseMove','sheetId','concat','unload','INVITE_CODE_HAS_BEEN_UES','1em','ALREADY_EXISTS','_textBubble','_lastPointer','onLocalMutation','_getAnchorBounding','yellow.400','handleInsertRangeMoveRight','width','_refRangeService','_toggleOnline','PY_RUNTIME_SCRIPT_ERROR','blue.400','getRangePointData','WebURLService','some','Workbook','_anchorDot','_localStorageService','_transformUndoRedoStack','getCurrentRevOfUnit','IDocClipboardService','fromEventSubject','addClipboardHook','currentTheme$','filter','getLocalCacheKey','clipPath','_eventUnsubscribe','redoState','subscribe','getParam','send','unitID','UniverProCollaboration','_docStateChangeManagerService','use','_unitOnClients','WebBrowserSingleActiveUnitService','getOwnPropertySymbols','permission.content','green.600','EMAIL_HAS_BEEN_BOUND','getMemberID','executionId','substring','UniverProCollaborationClient','IBeforeCloseService','setItem','debounceTime','endRow','_createSocketURL','JOIN_ROOM_FAILED','eventID','registerDependencies','function','createElement','APPLY_REJECT','ranges','doc.mutation.rich-text-editing','DocStateChangeManagerService','_render','assign','_config','ILocalCacheService','_scheduleHeartbeat','CollaborationSocketService','_transformService','_instanceService','_getSheetObject','_localCacheService','NOT_FOUND','xlink:href','pluginName','TEXT_RANGE_LAYER_INDEX','init','getConfig','entityInit$','mutations','m1Prime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformRemoteChangeset','HTTPService'];_0x55f2=function(){return _0x20240b;};return _0x55f2();}
|
|
1
|
+
function _0xe876(){const _0x1ddcb4=['_cursor','_localStorageService','setShapeProps','selection','toDisposable','unit','_commandService','INVITE_CODE_REQUIRED','_imageIoService','YUUMI_CONNECTOR_URL_NOT_FOUND','svg','_localeService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','@univerjs/core','IDocClipboardService','_context','permission.title','CONNECTOR_DATA_TOO_LARGE','_transformHistoryAndStateStack','dispose','resize','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','_cursorInfo$','_roomMembers$','ILocalStorageService','collaboration.closeRoom','INVALID_ARGUMENT','all','BehaviorSubject','runId','createElement','uni.network.url-service','_color','_uiPartsService','cursorInfo$','collab-rect-range-','@univerjs/engine-formula','assign','imageSourceType','subscribe','defIds','_logService','length','row','icon','urlChange$','off-line-icon','application/json','ACTIVE_UNIT_EVENT_CHANNEL','_labelPosition','triggerDblclick','blue.400','registerBeforeClose','propertyIsEnumerable','TEXT_RANGE_LAYER_INDEX','getDocRanges','@univerjs-pro/collaboration-client','createInstance','searchParams','has','colorChannel1','@univerjs/rpc','_toggleOnline','transform','getCurrentUnitForType','hovered','activeSheet$','subUnitId','fromEventSubject','getOffsetConfig','event$','m2Prime','_httpService','onPointerMove$','OTHER_CLIENT_EDITING','UNAUTHENTICATED','session.connection-failed','disposeUnit','doc.mutation.rich-text-editing','path','_eventUnsubscribe','YUUMI_RATE_OVER_LIMIT','map','createSocket','Shape','syncEditingCollabCursor','BrowserCollaborationSocketService','UniverCollaborationClientUIPlugin','concat','jsx','_selfUnitIDs','next','univerjs-icon\x20univerjs-icon-','useObservable','_registerDependencies','get','@univerjs/sheets-ui','send','body','hasOwnProperty','UniverProCollaborationClientUi','USER_NOT_INVITED_CODE','Error','clsx','touchDependencies','onRendered','_draw','className','_backgroundColor','addClipboardHook','getOwnPropertySymbols','stringify','deserializeRangeWithSheet','_beforeCloseService','origin','_initDependencies','_hovered','OTHER_CLIENTS_EDITING','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endColumn','RemoteUniscriptService','UniverSheets','fill','RECT','handleInsertRangeMoveRight','Injector','_anchorDot','runOnServer','571249FEcOHE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','indexOf','sessionTicket','TOO_MANY_REQUESTS','permission.content','getSheetBySheetId','findNodePositionByCharIndex','_initResize','EffectRefRangId','SetTextSelectionsOperation','yellow.400','green.600','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','some','getViewport','isArray','_hover','drawWith','_document','_clearOtherTimers','current','_handleHover','executionId','_heartbeatTimer','M0\x200H16V16H0z','EMAIL_HAS_BEEN_BOUND','React','_doCreateSocket','off-line-icon_clip0_910_343','5161203ngZCod','requireSession','registerRenderModule','MessageType','_urlService','ICommandService','RevisionService','NO_OTHER_CLIENTS_EDITING','Disposable','UniverProCollaboration','font','undoState','whenReady','RemoveRowCommandId','_colorIndex','getActiveRange','onMouseMove','engine','YUUMI_NO_CUBOID_FOR_QUESTION','on-line-icon_clip0_910_349','name','getOwnPropertyDescriptor','_transformService','rxjs','LICENSE_DISTRO_REJECTED','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','exhaustSavingTask','MUTATION','OffLineIcon','DOC_RANGE_TYPE','_range','CollaborationController','debug','source','_handleJoinEvent','includes','62229aXscIv','@univerjs/design','getFocusedUnit','@univerjs/docs','Inject','[CollaborationDataLoaderController]','DocIMEInputManagerService','debounce','_configService','pluginName','INVITE_CODE_HAS_BEEN_UES','saveOfflineData','none','_localCacheService','addObjects','_injector','focused$','collaboration-client-ui.config','PERMISSION_DENIED','getRangePointData','EMAIL_VERIFY_CODE_MISMATCH','defineProperty','getUniverSheetInstance','exports','setParam','SetWorksheetActivateCommand','getCurrent','PY_RUNTIME_SCRIPT_ERROR','unitID','_docTransformSelectionsService','UniverCore','CLOSE_ROOM','COMPLETION_FINISHED','transformMutationsWithChangeset','1319232FCZrkR','subunit','_unitOnClients','_initEntityListener','ThemeService','generateRandomId','replaceDocRanges','_refreshCollabCursors','wsSessionTicketUrl','RegularPolygon','backgroundColor','_messageService','labelPosition','call','CollaborationSocketService','selections','UNIVER_SHEET','AWAITING_WITH_PENDING','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_ASYNCIO_CANCELLED','IUniverInstanceService','_colorAssignService','find','[RemoteUniscriptService]:\x20no\x20focused\x20unit','onTransformChange$','setInterval','evenodd','_ensureSubject','use','handleIRemoveCol','_config','UniverUi','OnLineIcon','throttleTime','black','onPointerLeave$','docStateChange$','mergeOverrideWithDependencies','_createSocketURL','getColor','setConfig','getMemberID','Unknown\x20user','isTransformMutationsWithChangesetSuccess','DocSelectionManagerService','_univerInstanceService','_collaborationController','skeleton','1em','clearInterval','APPLY_PERMISSION_DENIED','_getMergeRange','setAlpha','APPLY_NON_SEQUENTIAL_REVISION','closePath','_initCommandExecutedListener','startColumn','_collabSessionService','color','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveRightCommandId','session.collaboration-timeout','m1Prime','_instanceService','_docSkeletonManagerService','RefRangeService','SNAPSHOT_INVALID_SNAPSHOT','ILocalCacheService','_updateSubUnitFromURLParams','collabStatus.synced','switchMap','_saveTaskMap','/run/','SetSelectionsOperation','href','collaboration.single-unit.warning','INVITE_CODE_ALREADY_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','_handleHeartbeatEvent','RxDisposable','CollaborationEvent','replace','setTimeout','transformIMECache','NOT_FOUND','Subject','SHEET_VIEWPORT_KEY','_removeClearOtherTimer','UniverSheetsUi','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','executeCommand','Rect','string','idSuffix','init','location','handleIRemoveRow','isTransformMutationFailure','deepClone','forwardRef','_scene','defs','_send','0\x200\x2017\x2016','CollaborationSessionService','UnitStatus','_entityInit$','SOCKET_FAILED','_themeService','SheetCollabCursorShape','operators','FETCH_MISS','_collabCursorState$','PENDING','getMember','univer-flex\x20univer-items-center','MOBILE_VERIFY_CODE_MISMATCH','saveTaskMap','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','forEach','VIEW_MAIN','split','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Rectangle','bottom','CollaborationStatus','DesktopCollaborationStatusDisplayController','YUUMI_UNABLE_LOAD_URL','getParam','loadUnit','_unitStatus','updateOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','_shapes','xlink:href','clearTimeout','_docSkeleton','getTypeOfUnitDisposed$','LocaleService','with','mask','WECHAT_HAS_BEEN_BOUND','redoState','children','_saveCache','setStateCache','collabStatus.offline','getCollabCursors$','UNIVER_DOC','post','getAncestorScale','parse','registerRefRange','_updateURLWithCurrentState','currentColor','_name','distinctUntilChanged','LOCAL_CACHE_INTERVAL_KEY','width','result','getValue','params','_getSaveTimeout','_initEvent','IRemoteInstanceService','top','DeleteRangeMoveLeftCommandId','_dataLoaderService','UNDEFINED','transformStateCache','CollaborationUIEventId','sheetId','YUUMI_ALL_TABLES_IS_INVALID','subscribeEvent','removeParam','startRow','_status$','UniverEngineRender','isActive','_lastPointer','UniverNetwork','toString','react/jsx-runtime','APPLY_REVISION_CONFILICT','LICENSE_EXPORT_SIZE_EXCEEDED','796910yahQzw','#FFF','_scheduleClearOtherTimer','textRanges','COLORS','_renderManagerService','18FYWzEb','CollaborationDataLoaderController','SheetSkeletonManagerService','UPDATE_CURSOR','_docClipboardService','10ekomQJ','_onCursorDelete','getStateCache','addObject','ColorKit','unsubscribe','HTTPService','handleDeleteRangeMoveLeft','transformSelections','_render','beginPath','fillStyle','fillText','_revisionService','push','restore','range','attrs','clipPath','HEADER_MENU','translate(.97)','WebSocketService','ONLINE','Warning','_docSyncEditingCollabCursorService','12hxYYMm','_refRangeService','RichTextEditingMutation','_drawAnchor','collabStatus.fetchMiss','ALREADY_EXISTS','ENSURE_SNAPSHOT_EXECUTION','_startDocCollabCursor','setActiveRange','MemberService','http://www.w3.org/2000/svg','roomMembers$','APPLY_DUPLICATED','_cursorShapes','FromArray','entries','then','complete','ITransformService','onLocalMutation','replaceState','collabStatus.conflict','Tools','measureText','getColorFromTheme','Vector2','currentSkeleton$','setUndoRedoMutationParamsCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','moveTo','UniverDesign','UNRECOGNIZED','_hideTimer','UniverDocs','newValue','shareReplay','LOGIN_FAILED','_getScale','history','createIdentifier','setItem','unshift','_updateLocalCursor','assignAColorForMemberID','add','disposeWithMe','_docTransformIMECacheService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','APPLY_REJECT','connectInjector','serializeRangeWithSheet','data','amd','session.will-retry','LICENSE_MAX_UNITS_EXCEEDED','eventID','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','_textBubble','save','0\x200\x2016\x2016','getUndoRedoMutationParamsCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','@univerjs/docs-ui','div','IImageIoService','_memberService','values','_handleLeaveEvent','white','getRenderById','toStringTag','USERS_LEAVE','onCommandExecuted','INVALID_INVITE_CODE','_getSessionTicket','from','mutations','flatMap','SessionStatus','_notificationService','object','displayName','ISocketService','code','takeUntil','@univerjs/network','useDependency','DocStateChangeManagerService','mapTo','key','_collaborationUIEventService','currentTheme$','@univerjs-pro/collaboration','MOBILE_HAS_BEEN_BOUND','DependentOn','_online','_onRefRangeChange','lineTo','DeleteRangeMoveUpCommandId','getMergeData','OFFLINE','saveImage','UniverIcon','INTERNAL_ERROR','DocSkeletonManagerService','TEXT','text','max','set','handleDeleteRangeMoveUp','red.300','popstate','startsWith','CONFLICT','type','_collabCursorController','_disabled','getLocalCacheKey','on-line-icon','UniverDocsUi','fillRule','LOCAL_CACHE_INTERVAL','size','transformMutation','_updateCollabCursors','_cachedData','_handleEvent','column','registerComponent','ILogService','prototype','...','SUBMIT_CHANGESET_TIMEOUT','fromEvent','handleMoveRange','NOT_COLLAB','dispose$','asObservable','_sheetSkeletonManagerService','_entities','IBeforeCloseService','show','_cursors','getActiveSheet','editingUnit','_scheduleSaving','@univerjs/ui','_initStatusListener','_getSheetObject','cursorInfo','delete','merge','getVpScrollXYInfoByPosToVp','_session','roomMembers','_removeCollabCursors','_setupBeforeClosingHandler','combineLatest','AWAITING','tag','InsertColCommandId','_init','getItem','contains','YUUMI_AI_RUN_FAILED','sheetID','_assignedColors','getSheetId','error','trim','IRenderManagerService','addEventListener','round','arc','transformRemoteChangeset','_docTransformStateCacheService','197133SZarza','_drawTextRange','INotificationService','getSkeleton','symbol','height','WebURLService','unitId','handleInsertRangeMoveDown','enableLocalCache','sessionStatus$','getUnitId','getTypeOfUnitAdded$','ranges','_syncEditingCollabCursorService','_docStateChangeManagerService','_transformPreviousActiveRange','_scheduleHeartbeat','function','UniverInstanceType','actions','IMessageService','UniverRpc','_toggleOffline','url(#on-line-icon_clip0_910_349)','@univerjs/sheets','CollaborationUIEventService','IConfigService','getCoordByCell','handleInsertRow','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CommandType','pipe','getUnhiddenWorksheets','_anchor','getUnitStatus$','apply','DEFAULT_WS_SESSION_TICKET_URL','UniverDrawing','_initStatusComponent','Failed','_transformUndoRedoStack','_setupSubUnitSync','CHANGESET_REVISION_CONFILICT','getConfig','filter','325344TDAFpl','url(#$1'];_0xe876=function(){return _0x1ddcb4;};return _0xe876();}function _0x94a3(_0x3cc980,_0x172025){const _0xe87694=_0xe876();return _0x94a3=function(_0x94a34f,_0x16844c){_0x94a34f=_0x94a34f-0x1b2;let _0x349eb6=_0xe87694[_0x94a34f];return _0x349eb6;},_0x94a3(_0x3cc980,_0x172025);}(function(_0xf93f69,_0x2f4e05){const _0x109f81=_0x94a3,_0x17400d=_0xf93f69();while(!![]){try{const _0x50650c=-parseInt(_0x109f81(0x391))/0x1+-parseInt(_0x109f81(0x2c3))/0x2*(parseInt(_0x109f81(0x1e2))/0x3)+parseInt(_0x109f81(0x3bf))/0x4+parseInt(_0x109f81(0x2bd))/0x5+-parseInt(_0x109f81(0x2e1))/0x6*(parseInt(_0x109f81(0x441))/0x7)+-parseInt(_0x109f81(0x204))/0x8+-parseInt(_0x109f81(0x1bd))/0x9*(-parseInt(_0x109f81(0x2c8))/0xa);if(_0x50650c===_0x2f4e05)break;else _0x17400d['push'](_0x17400d['shift']());}catch(_0x41ae2c){_0x17400d['push'](_0x17400d['shift']());}}}(_0xe876,0x18f67),function(_0x4c877e,_0x12040d){const _0x405018=_0x94a3;typeof exports==_0x405018(0x331)&&typeof module<'u'?_0x12040d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x405018(0x3a3)&&define[_0x405018(0x315)]?define([_0x405018(0x1f9),_0x405018(0x3f9),_0x405018(0x3ce),'@univerjs/engine-render',_0x405018(0x336),_0x405018(0x31f),'@univerjs/drawing',_0x405018(0x1d4),_0x405018(0x33d),_0x405018(0x1e5),_0x405018(0x3e5),_0x405018(0x3aa),'rxjs/operators',_0x405018(0x421),_0x405018(0x2ba),_0x405018(0x373),_0x405018(0x1e3),'react',_0x405018(0x3fe)],_0x12040d):(_0x4c877e=typeof globalThis<'u'?globalThis:_0x4c877e||self,_0x12040d(_0x4c877e[_0x405018(0x425)]={},_0x4c877e['UniverProCollaborationClient'],_0x4c877e[_0x405018(0x200)],_0x4c877e[_0x405018(0x2b5)],_0x4c877e[_0x405018(0x2b8)],_0x4c877e[_0x405018(0x358)],_0x4c877e[_0x405018(0x3b7)],_0x4c877e[_0x405018(0x1d4)],_0x4c877e[_0x405018(0x1c6)],_0x4c877e[_0x405018(0x302)],_0x4c877e['UniverEngineFormula'],_0x4c877e[_0x405018(0x43a)],_0x4c877e['rxjs'][_0x405018(0x272)],_0x4c877e[_0x405018(0x25c)],_0x4c877e[_0x405018(0x1ba)],_0x4c877e[_0x405018(0x223)],_0x4c877e[_0x405018(0x2ff)],_0x4c877e[_0x405018(0x1ba)],_0x4c877e[_0x405018(0x3a7)]));}(this,function(_0x47440c,_0x7e6ef6,_0x4d81d1,_0x2c2228,_0xb1173c,_0xf7ba88,_0x275c5f,_0x2af810,_0x7bc020,_0x3422c5,_0x115541,_0x4a524b,_0x54dd64,_0x5d8437,_0x5c0380,_0x2a4dd8,_0x427b5c,_0x3174a9,_0x2f2e13){'use strict';const _0x449ba4=_0x94a3;var _0x293418=Object[_0x449ba4(0x1f7)],_0x509a7c=(_0x547445,_0x216392,_0x41ea1b)=>_0x216392 in _0x547445?_0x293418(_0x547445,_0x216392,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41ea1b}):_0x547445[_0x216392]=_0x41ea1b,_0xb1ba3a=(_0x1cd624,_0x36af3f,_0xc6918b)=>_0x509a7c(_0x1cd624,typeof _0x36af3f!=_0x449ba4(0x395)?_0x36af3f+'':_0x36af3f,_0xc6918b),_0x39b522=Object[_0x449ba4(0x1d2)],_0x37be7a=(_0x5e6fa2,_0x35790a,_0x50311e,_0x58a598)=>{const _0x1e6e7a=_0x449ba4;for(var _0xba340=_0x58a598>0x1?void 0x0:_0x58a598?_0x39b522(_0x35790a,_0x50311e):_0x35790a,_0xa320f7=_0x5e6fa2[_0x1e6e7a(0x3eb)]-0x1,_0x2335fe;_0xa320f7>=0x0;_0xa320f7--)(_0x2335fe=_0x5e6fa2[_0xa320f7])&&(_0xba340=_0x2335fe(_0xba340)||_0xba340);return _0xba340;},_0x46d10e=(_0x50502e,_0x2252ff)=>(_0x223e02,_0x276e5f)=>_0x2252ff(_0x223e02,_0x276e5f,_0x50502e);let _0x440470=class extends _0x4d81d1['RxDisposable']{constructor(_0xc1331b,_0x3b6561){const _0xee47c3=_0x449ba4;super(),this[_0xee47c3(0x2c7)]=_0xc1331b,this[_0xee47c3(0x3c9)]=_0x3b6561,this[_0xee47c3(0x382)]();}[_0x449ba4(0x382)](){const _0x73fa14=_0x449ba4,_0x191f33=this;this['disposeWithMe'](this[_0x73fa14(0x2c7)][_0x73fa14(0x42e)]({'onBeforePasteImage':async _0x157317=>{const _0x478da1=_0x73fa14,_0xf8b174=await _0x191f33[_0x478da1(0x3c9)][_0x478da1(0x346)](_0x157317);return _0xf8b174?{'source':_0xf8b174[_0x478da1(0x1df)],'imageSourceType':_0xf8b174[_0x478da1(0x3e7)]}:null;}}));}};_0x440470=_0x37be7a([_0x46d10e(0x0,_0xf7ba88[_0x449ba4(0x3cf)]),_0x46d10e(0x1,_0x275c5f[_0x449ba4(0x321)])],_0x440470);const _0x26787c=['purple.300','jiqing.500',_0x449ba4(0x44d),_0x449ba4(0x34f),_0x449ba4(0x3f4),_0x449ba4(0x44c)];class _0xd7451c extends _0x4d81d1['Disposable']{constructor(){const _0x4deb01=_0x449ba4;super(...arguments),_0xb1ba3a(this,_0x4deb01(0x387),new Map()),_0xb1ba3a(this,_0x4deb01(0x1cb),0x0);}[_0x449ba4(0x30c)](_0x384899){const _0x1390b9=_0x449ba4;if(this[_0x1390b9(0x387)][_0x1390b9(0x3fc)](_0x384899))return this[_0x1390b9(0x387)]['get'](_0x384899);const _0xbff318=_0x26787c[this[_0x1390b9(0x1cb)]];return this['_colorIndex']=(this[_0x1390b9(0x1cb)]+0x1)%_0x26787c[_0x1390b9(0x3eb)],this[_0x1390b9(0x387)][_0x1390b9(0x34d)](_0x384899,_0xbff318),_0xbff318;}}function _0x3c6de3(_0x5eb3d0){let _0x4f1fe0='';for(const _0x408b78 of _0x5eb3d0){const {startOffset:_0x48c3a4,endOffset:_0x182ab6,isActive:_0x42cada,rangeType:_0x37b9e6,segmentId:_0x10bf3e,segmentPage:_0x128f1d}=_0x408b78;_0x4f1fe0['length']&&(_0x4f1fe0+=','),_0x4f1fe0+=_0x48c3a4+':'+_0x182ab6+':'+(_0x42cada?'1':'0')+':'+_0x37b9e6+':'+_0x10bf3e+':'+_0x128f1d;}return _0x4f1fe0;}function _0x34d80c(_0x8a203a){const _0x3e858f=_0x449ba4,_0x24191c=_0x8a203a[_0x3e858f(0x27d)](','),_0x32cfac=[];for(const _0x1ebf01 of _0x24191c){const [_0x19d15d,_0x2f7d9a,_0x4f96df,_0x4e8170,_0x4e0396,_0x314132]=_0x1ebf01[_0x3e858f(0x27d)](':');_0x32cfac[_0x3e858f(0x2d6)]({'startOffset':Number(_0x19d15d),'endOffset':Number(_0x2f7d9a),'collapsed':_0x19d15d===_0x2f7d9a,'isActive':_0x4f96df==='1','rangeType':_0x4e8170===_0x4d81d1[_0x3e858f(0x1db)][_0x3e858f(0x34a)]?_0x4d81d1[_0x3e858f(0x1db)]['TEXT']:_0x4d81d1[_0x3e858f(0x1db)][_0x3e858f(0x43c)],'segmentId':typeof _0x4e0396=='string'?String(_0x4e0396):'','segmentPage':Number(_0x314132!=null?_0x314132:-0x1)});}return _0x32cfac[_0x3e858f(0x44f)](_0x1a99bf=>_0x1a99bf['isActive'])||(_0x32cfac[0x0][_0x3e858f(0x2b6)]=!0x0),_0x32cfac;}class _0x3944ef extends _0x4d81d1[_0x449ba4(0x253)]{constructor(){const _0x5a6409=_0x449ba4;super(...arguments),_0xb1ba3a(this,'_collabCursorState$',new _0x2af810[(_0x5a6409(0x3dd))](null)),_0xb1ba3a(this,'collabCursorState$',this[_0x5a6409(0x274)]['asObservable']());}[_0x449ba4(0x416)](_0xbe84f4){const _0x3f9c86=_0x449ba4,{unitID:_0x4a1f6e,memberID:_0x1ad5cb,textRanges:_0x3180fa}=_0xbe84f4,_0x4c94da=_0x3c6de3(_0x3180fa);if(_0x4c94da==='')return;const _0x5bb0c5={'unitID':_0x4a1f6e,'memberID':_0x1ad5cb,'selection':_0x4c94da};this['_collabCursorState$'][_0x3f9c86(0x41c)](_0x5bb0c5);}}var _0x58c742=Object[_0x449ba4(0x1d2)],_0x45f44f=(_0x1a4239,_0x1f297d,_0x39eef4,_0x56e938)=>{const _0x170139=_0x449ba4;for(var _0x4cbeb4=_0x56e938>0x1?void 0x0:_0x56e938?_0x58c742(_0x1f297d,_0x39eef4):_0x1f297d,_0x26f441=_0x1a4239[_0x170139(0x3eb)]-0x1,_0xa1517d;_0x26f441>=0x0;_0x26f441--)(_0xa1517d=_0x1a4239[_0x26f441])&&(_0x4cbeb4=_0xa1517d(_0x4cbeb4)||_0x4cbeb4);return _0x4cbeb4;},_0x5ac957=(_0x3a6d91,_0x5c9df9)=>(_0x22a216,_0x5af7a3)=>_0x5c9df9(_0x22a216,_0x5af7a3,_0x3a6d91);const _0x40c568=0x12c,_0x2a01fd=0x64;let _0x10bf29=class extends _0x4d81d1['RxDisposable']{constructor(_0x4fee1,_0x180eaa,_0x4bc913,_0x2fd0e6,_0x51da65,_0x153ec0,_0x58db53,_0x49d2d9,_0x57c585){const _0x1e09de=_0x449ba4;super(),_0xb1ba3a(this,_0x1e09de(0x340),!0x1),_0xb1ba3a(this,_0x1e09de(0x382),!0x1),_0xb1ba3a(this,'_cursorInfo$',new _0x2af810[(_0x1e09de(0x3dd))](new Map())),_0xb1ba3a(this,'cursorInfo$',this['_cursorInfo$'][_0x1e09de(0x36a)]()),_0xb1ba3a(this,_0x1e09de(0x3d8),new _0x2af810[(_0x1e09de(0x3dd))]([])),_0xb1ba3a(this,'roomMembers$',this[_0x1e09de(0x3d8)][_0x1e09de(0x3b1)](_0x2af810['debounceTime'](_0x40c568))),_0xb1ba3a(this,_0x1e09de(0x30b),_0x4d81d1['debounce'](_0x4d2b49=>{const _0x4911e0=_0x1e09de,_0x24c87e={'eventID':_0x7bc020[_0x4911e0(0x254)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4911e0(0x37a)][_0x4911e0(0x22d)](),'selection':_0x3c6de3(_0x4d2b49)}};this[_0x4911e0(0x37a)]['send'](_0x24c87e,this[_0x4911e0(0x1fe)]);},_0x2a01fd)),(this[_0x1e09de(0x1fe)]=_0x4fee1,this[_0x1e09de(0x37a)]=_0x180eaa,this['_injector']=_0x4bc913,this[_0x1e09de(0x219)]=_0x2fd0e6,this[_0x1e09de(0x322)]=_0x51da65,this[_0x1e09de(0x39f)]=_0x153ec0,this[_0x1e09de(0x1d3)]=_0x58db53,this[_0x1e09de(0x231)]=_0x49d2d9,this[_0x1e09de(0x3c7)]=_0x57c585);}get['cursorInfo'](){const _0x1e322f=_0x449ba4;return this[_0x1e322f(0x3d7)]['getValue']();}get[_0x449ba4(0x37b)](){const _0xda84cb=_0x449ba4;return this[_0xda84cb(0x3d8)][_0xda84cb(0x2a4)]();}[_0x449ba4(0x3d4)](){const _0x1c39c7=_0x449ba4;super['dispose'](),this[_0x1c39c7(0x3d7)][_0x1c39c7(0x41c)](new Map()),this['_cursorInfo$'][_0x1c39c7(0x2f2)](),this[_0x1c39c7(0x3d8)][_0x1c39c7(0x41c)]([]),this[_0x1c39c7(0x3d8)]['complete']();}[_0x449ba4(0x262)](){const _0x41b201=_0x449ba4;this[_0x41b201(0x382)]||(this['_init']=!0x0,this[_0x41b201(0x37a)][_0x41b201(0x39b)][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x4ee4cb=>{const _0x5d82ec=_0x41b201;_0x4ee4cb===_0x7e6ef6[_0x5d82ec(0x32f)]['ONLINE']?this['_toggleOnline']():this[_0x5d82ec(0x3a8)]();}),this['_session'][_0x41b201(0x407)][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x177785=>{const _0x507ee1=_0x41b201,_0x1362ea=_0x177785[_0x507ee1(0x318)];_0x1362ea===_0x7bc020[_0x507ee1(0x254)][_0x507ee1(0x2c6)]&&this[_0x507ee1(0x1d7)](_0x177785),_0x1362ea===_0x7bc020[_0x507ee1(0x254)][_0x507ee1(0x328)]&&this[_0x507ee1(0x2c9)](_0x177785);}),this[_0x41b201(0x30e)](this['_commandService'][_0x41b201(0x329)](_0x6b42e8=>{const _0x3c10be=_0x41b201,_0x159f67=_0x6b42e8[_0x3c10be(0x2a5)];_0x159f67!=null&&this[_0x3c10be(0x340)]&&_0x6b42e8['id']===_0x3422c5[_0x3c10be(0x44b)]['id']&&_0x159f67[_0x3c10be(0x398)]===this[_0x3c10be(0x1fe)]&&_0x159f67['isEditing']===!0x1&&_0x159f67['ranges'][_0x3c10be(0x3eb)]>0x0&&this[_0x3c10be(0x30b)](_0x159f67[_0x3c10be(0x39e)]);})),this[_0x41b201(0x39f)]['collabCursorState$'][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x383b17=>{const _0x10cfc6=_0x41b201;if((_0x383b17==null?void 0x0:_0x383b17[_0x10cfc6(0x1fe)])!==this[_0x10cfc6(0x1fe)])return;const _0xe8cc91={'eventID':_0x7bc020['CollaborationEvent'][_0x10cfc6(0x2c6)],'data':_0x383b17};this['_onCursorUpdate'](_0xe8cc91);}),this[_0x41b201(0x30e)](this[_0x41b201(0x3c7)]['onCommandExecuted'](_0x4f66c7=>{const _0x2710f4=_0x41b201;if(_0x4f66c7[_0x2710f4(0x2a5)]==null)return;const _0x1e6fa8=_0x4f66c7['params'];if(_0x4f66c7['id']!==_0x3422c5[_0x2710f4(0x2e3)]['id']||_0x1e6fa8[_0x2710f4(0x398)]!==this['unitID'])return;const _0x557c66={'id':'doc.mutation.rich-text-editing','params':_0x1e6fa8},_0x9cc58f=this[_0x2710f4(0x376)];for(const [_0x2644fd,_0x6322c9]of _0x9cc58f){const _0x4d4ca4={'id':_0x2710f4(0x40f),'params':{'unitId':this[_0x2710f4(0x1fe)],'actions':null,'textRanges':_0x6322c9[_0x2710f4(0x39e)]}},_0x4bcefb=this[_0x2710f4(0x1d3)]['transformMutation'](_0x557c66,_0x4d4ca4,!0x1);if(_0x7bc020[_0x2710f4(0x265)](_0x4bcefb))throw _0x4bcefb[_0x2710f4(0x389)];_0x9cc58f[_0x2710f4(0x34d)](_0x2644fd,{..._0x6322c9,'ranges':_0x4bcefb['m2Prime'][_0x2710f4(0x2a5)]['textRanges']});}queueMicrotask(()=>{const _0x47e3fa=_0x2710f4;this[_0x47e3fa(0x3d7)][_0x47e3fa(0x41c)](_0x9cc58f);});})));}[_0x449ba4(0x1d7)](_0x29e1ce){const _0x2b6e90=_0x449ba4;var _0x4a16e1,_0x1678ce;const {memberID:_0x322069,selection:_0x4c3807}=_0x29e1ce['data'],_0xc5feaa=_0x34d80c(_0x4c3807),_0x35c58d=(_0x1678ce=(_0x4a16e1=this[_0x2b6e90(0x322)][_0x2b6e90(0x276)](this[_0x2b6e90(0x1fe)],_0x322069))==null?void 0x0:_0x4a16e1['name'])!=null?_0x1678ce:'Unknown\x20user',_0x2709a1={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x322069),'name':_0x35c58d,'ranges':_0xc5feaa},_0x13abe1=this['cursorInfo'];_0x13abe1['set'](_0x322069,_0x2709a1),this[_0x2b6e90(0x3d7)][_0x2b6e90(0x41c)](_0x13abe1);}[_0x449ba4(0x2c9)](_0x344eec){const _0x5eb8f5=_0x449ba4,{memberID:_0x25682a}=_0x344eec[_0x5eb8f5(0x314)],_0x358ef9=this[_0x5eb8f5(0x376)];_0x358ef9[_0x5eb8f5(0x377)](_0x25682a),this['_cursorInfo$']['next'](_0x358ef9);}['_toggleOnline'](){const _0x2cbd85=_0x449ba4;var _0x4a9546;if(this[_0x2cbd85(0x340)]=!0x0,((_0x4a9546=this[_0x2cbd85(0x231)][_0x2cbd85(0x1e4)]())==null?void 0x0:_0x4a9546[_0x2cbd85(0x39c)]())!==this[_0x2cbd85(0x1fe)])return;const _0x48d79b=this[_0x2cbd85(0x1f1)][_0x2cbd85(0x420)](_0x3422c5[_0x2cbd85(0x230)])[_0x2cbd85(0x3f8)]();Array[_0x2cbd85(0x451)](_0x48d79b)&&_0x48d79b[_0x2cbd85(0x3eb)]>0x0&&this['_updateLocalCursor'](_0x48d79b);}['_toggleOffline'](){this['_online']=!0x1;}};_0x10bf29=_0x45f44f([_0x5ac957(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x5ac957(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0xd7451c)),_0x5ac957(0x4,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x2ea)])),_0x5ac957(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x3944ef)),_0x5ac957(0x6,_0x7bc020[_0x449ba4(0x2f3)]),_0x5ac957(0x7,_0x4d81d1[_0x449ba4(0x218)]),_0x5ac957(0x8,_0x4d81d1['ICommandService'])],_0x10bf29);var _0x54c64a=Object['getOwnPropertyDescriptor'],_0x38fc60=(_0x541b76,_0x455c32,_0x34689f,_0x4a77bd)=>{const _0x32b9fe=_0x449ba4;for(var _0x4805be=_0x4a77bd>0x1?void 0x0:_0x4a77bd?_0x54c64a(_0x455c32,_0x34689f):_0x455c32,_0x18a079=_0x541b76[_0x32b9fe(0x3eb)]-0x1,_0x1abac9;_0x18a079>=0x0;_0x18a079--)(_0x1abac9=_0x541b76[_0x18a079])&&(_0x4805be=_0x1abac9(_0x4805be)||_0x4805be);return _0x4805be;},_0x5f2320=(_0x10b584,_0x4342a0)=>(_0x3e22d5,_0x220936)=>_0x4342a0(_0x3e22d5,_0x220936,_0x10b584);const _0x14abab=0x12c,_0x35e139=0x64,_0x2cad77=()=>{let _0x52de9a=[],_0xdddd8c=!0x1;return _0x5b3285=>{_0x52de9a['push'](_0x5b3285),_0xdddd8c||(_0xdddd8c=!0x0,setTimeout(()=>{const _0x24f819=_0x94a3;_0x52de9a[_0x24f819(0x27b)](_0xa24fe6=>_0xa24fe6()),_0x52de9a=[],_0xdddd8c=!0x1;}));};};let _0x122cc3=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x509e8c,_0x20538f,_0x2fe270,_0x5db487,_0x438a0e,_0x19b6d0,_0x22954e,_0x21be2b){const _0xd17a6=_0x449ba4;super(),_0xb1ba3a(this,_0xd17a6(0x340),!0x1),_0xb1ba3a(this,_0xd17a6(0x382),!0x1),_0xb1ba3a(this,'_cursorInfo$',new _0x2af810[(_0xd17a6(0x3dd))](new Map())),_0xb1ba3a(this,_0xd17a6(0x3e3),this[_0xd17a6(0x3d7)][_0xd17a6(0x36a)]()),_0xb1ba3a(this,_0xd17a6(0x3d8),new _0x2af810[(_0xd17a6(0x3dd))]([])),_0xb1ba3a(this,_0xd17a6(0x2ec),this[_0xd17a6(0x3d8)]['pipe'](_0x2af810['debounceTime'](_0x14abab))),_0xb1ba3a(this,_0xd17a6(0x30b),_0x4d81d1[_0xd17a6(0x1e9)]((_0x3546c7,_0x406f30)=>{const _0x4348ec=_0xd17a6,_0x4de5d9={'eventID':_0x7bc020[_0x4348ec(0x254)][_0x4348ec(0x2c6)],'data':{'unitID':this[_0x4348ec(0x1fe)],'memberID':this[_0x4348ec(0x37a)]['getMemberID'](),'selection':_0x115541[_0x4348ec(0x313)](_0x3546c7,_0x406f30[_0x4348ec(0x2d8)])}};this['_session'][_0x4348ec(0x422)](_0x4de5d9,this[_0x4348ec(0x1fe)]);},_0x35e139)),(this[_0xd17a6(0x1fe)]=_0x509e8c,this[_0xd17a6(0x37a)]=_0x20538f,this[_0xd17a6(0x1f1)]=_0x2fe270,this[_0xd17a6(0x219)]=_0x5db487,this['_memberService']=_0x438a0e,this[_0xd17a6(0x231)]=_0x19b6d0,this[_0xd17a6(0x3c7)]=_0x22954e,this[_0xd17a6(0x2e2)]=_0x21be2b);}get[_0x449ba4(0x376)](){return this['_cursorInfo$']['getValue']();}get[_0x449ba4(0x37b)](){const _0x2d0431=_0x449ba4;return this[_0x2d0431(0x3d8)][_0x2d0431(0x2a4)]();}[_0x449ba4(0x3d4)](){const _0x13b1d3=_0x449ba4;super[_0x13b1d3(0x3d4)](),this[_0x13b1d3(0x3d7)][_0x13b1d3(0x41c)](new Map()),this[_0x13b1d3(0x3d7)][_0x13b1d3(0x2f2)](),this[_0x13b1d3(0x3d8)][_0x13b1d3(0x41c)]([]),this[_0x13b1d3(0x3d8)][_0x13b1d3(0x2f2)]();}[_0x449ba4(0x262)](){const _0x2ec93d=_0x449ba4;this[_0x2ec93d(0x382)]||(this[_0x2ec93d(0x382)]=!0x0,this[_0x2ec93d(0x37a)][_0x2ec93d(0x39b)][_0x2ec93d(0x3b1)](_0x2af810[_0x2ec93d(0x335)](this[_0x2ec93d(0x369)]))[_0x2ec93d(0x3e8)](_0x3f3d46=>{const _0x5414c4=_0x2ec93d;_0x3f3d46===_0x7e6ef6[_0x5414c4(0x32f)][_0x5414c4(0x2de)]?this[_0x5414c4(0x3ff)]():this[_0x5414c4(0x3a8)]();}),this[_0x2ec93d(0x37a)][_0x2ec93d(0x407)]['pipe'](_0x2af810['takeUntil'](this['dispose$']))['subscribe'](_0x4ee80e=>{const _0x48768c=_0x2ec93d,_0x5ac3ed=_0x4ee80e['eventID'];_0x5ac3ed===_0x7bc020[_0x48768c(0x254)][_0x48768c(0x2c6)]&&this[_0x48768c(0x1d7)](_0x4ee80e),_0x5ac3ed===_0x7bc020[_0x48768c(0x254)][_0x48768c(0x328)]&&this[_0x48768c(0x2c9)](_0x4ee80e);}),this[_0x2ec93d(0x341)](),this[_0x2ec93d(0x30e)](this[_0x2ec93d(0x3c7)][_0x2ec93d(0x329)](_0x2a99d5=>{const _0x4977c1=_0x2ec93d;if(this[_0x4977c1(0x340)]&&_0x2a99d5['id']===_0x4a524b[_0x4977c1(0x24d)]['id']&&_0x2a99d5[_0x4977c1(0x2a5)][_0x4977c1(0x398)]===this['unitID']){const _0x441051=_0x2a99d5[_0x4977c1(0x2a5)];this[_0x4977c1(0x30b)](_0x441051[_0x4977c1(0x404)],_0x441051[_0x4977c1(0x213)][0x0]);}})));}[_0x449ba4(0x1d7)](_0x12b961){const _0x343265=_0x449ba4;var _0x4412ea,_0xd44fdc;const {memberID:_0x29bc69,selection:_0x3ba2e1}=_0x12b961[_0x343265(0x314)],{sheetName:_0x182bc8,range:_0x4d5285}=_0x115541[_0x343265(0x431)](_0x3ba2e1),_0x18eef4={'name':(_0xd44fdc=(_0x4412ea=this[_0x343265(0x322)][_0x343265(0x276)](this[_0x343265(0x1fe)],_0x29bc69))==null?void 0x0:_0x4412ea['name'])!=null?_0xd44fdc:_0x343265(0x22e),'range':this[_0x343265(0x237)](_0x182bc8,_0x4d5285),'sheetID':_0x182bc8,'color':this[_0x343265(0x219)][_0x343265(0x30c)](_0x29bc69),'selection':_0x3ba2e1},_0x466b9b=this[_0x343265(0x376)];_0x466b9b['set'](_0x29bc69,_0x18eef4),this[_0x343265(0x3d7)][_0x343265(0x41c)](_0x466b9b);}['_onCursorDelete'](_0x2add56){const _0x438f7c=_0x449ba4,{memberID:_0x4e982b}=_0x2add56[_0x438f7c(0x314)],_0x2f6fe5=this[_0x438f7c(0x376)];_0x2f6fe5[_0x438f7c(0x377)](_0x4e982b),this[_0x438f7c(0x3d7)]['next'](_0x2f6fe5);}[_0x449ba4(0x237)](_0x3dc541,_0x20fb1b){const _0x39eed3=_0x449ba4;var _0x19b8a3,_0x168076;const _0x38e703=(_0x168076=(_0x19b8a3=this[_0x39eed3(0x231)][_0x39eed3(0x1f8)](this['unitID']))==null?void 0x0:_0x19b8a3[_0x39eed3(0x447)](_0x3dc541))==null?void 0x0:_0x168076[_0x39eed3(0x344)]();return(_0x38e703==null?void 0x0:_0x38e703[_0x39eed3(0x21a)](_0xdf78c5=>_0x4d81d1[_0x39eed3(0x27f)][_0x39eed3(0x384)](_0xdf78c5,_0x20fb1b)))||_0x20fb1b;}['_onRefRangeChange'](){const _0x2ac04a=_0x449ba4,_0x106fdd=new _0x4d81d1['DisposableCollection'](),_0x21c5b4=_0x2cad77(),_0x2bb6b2=()=>{const _0x31b6c9=_0x94a3;_0x106fdd[_0x31b6c9(0x3d4)]();const _0x85e2dd=(_0x47dbbb,_0x56ffbf,_0x15054b,_0xca2063)=>{const _0x1993b7=_0x31b6c9;let _0x193ad8=[];switch(_0x47dbbb['id']){case _0x4a524b['EffectRefRangId'][_0x1993b7(0x2aa)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x2cf)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x343)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x34e)](_0x47dbbb,_0xca2063);break;}case _0x4a524b['EffectRefRangId'][_0x1993b7(0x381)]:{_0x193ad8=_0x4a524b['handleInsertCol'](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['InsertRangeMoveDownCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x399)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x240)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x43d)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['InsertRowCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x3ae)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['MoveRangeCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x367)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['RemoveColCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x221)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x1ca)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x264)](_0x47dbbb,_0xca2063);break;}}const _0x4dcba1=_0x4a524b['runRefRangeMutations'](_0x193ad8,_0xca2063),_0x3329f4=this[_0x1993b7(0x376)][_0x1993b7(0x420)](_0x56ffbf);if(_0x3329f4&&_0x4dcba1){const _0x492a78={..._0x3329f4,'range':_0x4dcba1};this[_0x1993b7(0x376)]['set'](_0x56ffbf,_0x492a78),_0x21c5b4(()=>{const _0x2d05d3=_0x1993b7,_0x4c665f=this['_refRangeService'][_0x2d05d3(0x29c)](_0x4dcba1,_0x5826ac=>(_0x4c665f['dispose'](),_0x85e2dd(_0x5826ac,_0x56ffbf,_0x15054b,_0x4dcba1)));_0x106fdd[_0x2d05d3(0x30d)](_0x4c665f);});}return{'redos':[],'undos':[]};};this[_0x31b6c9(0x376)][_0x31b6c9(0x27b)]((_0x484648,_0x39b110)=>{const _0x36e064=_0x31b6c9,{range:_0x16ae8f,sheetID:_0x3a9ac3}=_0x484648,_0x466ac8=this[_0x36e064(0x2e2)]['registerRefRange'](_0x16ae8f,_0x454777=>(_0x466ac8[_0x36e064(0x3d4)](),_0x85e2dd(_0x454777,_0x39b110,_0x3a9ac3,_0x16ae8f)));_0x106fdd[_0x36e064(0x30d)](_0x466ac8);});};this[_0x2ac04a(0x30e)](_0x4d81d1[_0x2ac04a(0x3c5)](this[_0x2ac04a(0x3d7)][_0x2ac04a(0x3e8)](()=>{_0x2bb6b2();})));}[_0x449ba4(0x3ff)](){const _0x129d71=_0x449ba4;var _0x3ce70d,_0x4fdb3a;if(this[_0x129d71(0x340)]=!0x0,((_0x3ce70d=this[_0x129d71(0x231)]['getFocusedUnit']())==null?void 0x0:_0x3ce70d['getUnitId']())!==this[_0x129d71(0x1fe)])return;const _0x59e02e=(_0x4fdb3a=this[_0x129d71(0x1f1)]['get'](_0x4a524b['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x4fdb3a[0x0],_0x1f9b9a=this[_0x129d71(0x231)][_0x129d71(0x401)](_0x4d81d1['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x59e02e&&_0x1f9b9a&&this[_0x129d71(0x30b)](_0x1f9b9a[_0x129d71(0x388)](),_0x59e02e);}[_0x449ba4(0x3a8)](){const _0x4454c2=_0x449ba4;this[_0x4454c2(0x340)]=!0x1;}};_0x122cc3=_0x38fc60([_0x5f2320(0x2,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x43e)])),_0x5f2320(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0xd7451c)),_0x5f2320(0x4,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x2ea)])),_0x5f2320(0x5,_0x4d81d1[_0x449ba4(0x218)]),_0x5f2320(0x6,_0x4d81d1[_0x449ba4(0x1c2)]),_0x5f2320(0x7,_0x4d81d1['Inject'](_0x4a524b[_0x449ba4(0x245)]))],_0x122cc3);var _0x1d24dd=Object['getOwnPropertyDescriptor'],_0x11469d=(_0x51b2c2,_0x3eece4,_0x3ef57b,_0x4c3f20)=>{for(var _0x3e537a=_0x4c3f20>0x1?void 0x0:_0x4c3f20?_0x1d24dd(_0x3eece4,_0x3ef57b):_0x3eece4,_0x3c2f3b=_0x51b2c2['length']-0x1,_0x6588cb;_0x3c2f3b>=0x0;_0x3c2f3b--)(_0x6588cb=_0x51b2c2[_0x3c2f3b])&&(_0x3e537a=_0x6588cb(_0x3e537a)||_0x3e537a);return _0x3e537a;},_0x2cd55d=(_0x1a66d4,_0x5354db)=>(_0x58a0e6,_0x46e53f)=>_0x5354db(_0x58a0e6,_0x46e53f,_0x1a66d4);let _0x5f01b6=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x1709a8,_0x4cf1e6,_0x2d9959){const _0x12742e=_0x449ba4;super(),_0xb1ba3a(this,'_entities',new Map()),_0xb1ba3a(this,'_entityInit$',new _0x2af810[(_0x12742e(0x259))]()),(this[_0x12742e(0x231)]=_0x1709a8,this[_0x12742e(0x1f1)]=_0x4cf1e6,this[_0x12742e(0x23d)]=_0x2d9959,this['_init']());}['dispose'](){const _0x45e2e5=_0x449ba4;super['dispose'](),this[_0x45e2e5(0x26e)][_0x45e2e5(0x2f2)](),this['_entities'][_0x45e2e5(0x27b)](_0x5a9ca8=>_0x5a9ca8[_0x45e2e5(0x3d4)]());}[_0x449ba4(0x297)](_0x4a5e30){const _0x3a9b3f=_0x449ba4;return this[_0x3a9b3f(0x36c)][_0x3a9b3f(0x3fc)](_0x4a5e30)?this['_entities'][_0x3a9b3f(0x420)](_0x4a5e30)[_0x3a9b3f(0x3e3)]:this['_entityInit$'][_0x3a9b3f(0x3b1)](_0x2af810[_0x3a9b3f(0x3be)](_0x4b3855=>_0x4b3855['unitID']===_0x4a5e30),_0x2af810['switchMap'](_0x335275=>_0x335275[_0x3a9b3f(0x3e3)]));}[_0x449ba4(0x382)](){const _0x206d89=_0x449ba4;this['_univerInstanceService'][_0x206d89(0x39d)](_0x4d81d1[_0x206d89(0x3a4)]['UNIVER_SHEET'])[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this[_0x206d89(0x369)]))[_0x206d89(0x3e8)](async _0x12f9d6=>{const _0x43d916=_0x206d89,_0x3def15=_0x12f9d6['getUnitId'](),_0x5c7c27=await this['_startSheetCollabCursor'](_0x3def15);this[_0x43d916(0x26e)][_0x43d916(0x41c)](_0x5c7c27),this[_0x43d916(0x36c)][_0x43d916(0x34d)](_0x3def15,_0x5c7c27);}),this[_0x206d89(0x231)]['getTypeOfUnitAdded$'](_0x4d81d1[_0x206d89(0x3a4)]['UNIVER_DOC'])[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this['dispose$']))[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x3be)](_0x49f7c6=>!_0x49f7c6[_0x206d89(0x39c)]()[_0x206d89(0x351)]('__')))[_0x206d89(0x3e8)](async _0x278bc8=>{const _0x5418f4=_0x206d89,_0x101432=_0x278bc8[_0x5418f4(0x39c)](),_0x415da4=await this[_0x5418f4(0x2e8)](_0x101432);this[_0x5418f4(0x26e)]['next'](_0x415da4),this[_0x5418f4(0x36c)]['set'](_0x101432,_0x415da4);}),_0x2af810[_0x206d89(0x378)](this[_0x206d89(0x231)]['getTypeOfUnitDisposed$'](_0x4d81d1[_0x206d89(0x3a4)][_0x206d89(0x298)]),this[_0x206d89(0x231)][_0x206d89(0x28d)](_0x4d81d1[_0x206d89(0x3a4)][_0x206d89(0x214)]))[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this[_0x206d89(0x369)]))[_0x206d89(0x3e8)](_0x540462=>{const _0x7a8bf7=_0x206d89,_0x5002ff=_0x540462[_0x7a8bf7(0x39c)](),_0x5ede87=this[_0x7a8bf7(0x36c)][_0x7a8bf7(0x420)](_0x5002ff);_0x5ede87&&(_0x5ede87[_0x7a8bf7(0x3d4)](),this[_0x7a8bf7(0x36c)]['delete'](_0x5002ff));});}async['_startSheetCollabCursor'](_0x46e035){const _0x1280c5=_0x449ba4,_0x34d432=await this[_0x1280c5(0x23d)][_0x1280c5(0x1be)](_0x46e035),_0x3ad3f7=this[_0x1280c5(0x1f1)][_0x1280c5(0x3fa)](_0x122cc3,_0x46e035,_0x34d432);return _0x3ad3f7[_0x1280c5(0x262)](),_0x3ad3f7;}async[_0x449ba4(0x2e8)](_0x401a90){const _0x48d3ee=_0x449ba4,_0x1a61aa=await this[_0x48d3ee(0x23d)]['requireSession'](_0x401a90),_0x20fd74=this[_0x48d3ee(0x1f1)][_0x48d3ee(0x3fa)](_0x10bf29,_0x401a90,_0x1a61aa);return _0x20fd74['init'](),_0x20fd74;}};_0x5f01b6=_0x11469d([_0x2cd55d(0x0,_0x4d81d1['IUniverInstanceService']),_0x2cd55d(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x2cd55d(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['CollaborationSessionService']))],_0x5f01b6);const _0x21c66f=0x14,_0x26b89a=0xc8,_0x184191=0x4,_0x55a9e1=0x5;function _0x1d8026(_0x20f0f1,_0x245dd3){const _0x2d38e0=_0x449ba4;let {radius:_0x4535a7,width:_0x4f319c,height:_0x53805f}=_0x245dd3;_0x4535a7=_0x4535a7!=null?_0x4535a7:0x0,_0x4f319c=_0x4f319c!=null?_0x4f319c:0x1e,_0x53805f=_0x53805f!=null?_0x53805f:0x1e;let _0x56bebc=0x0,_0x9d3aab=0x0,_0x2d7eb5=0x0;_0x56bebc=_0x9d3aab=_0x2d7eb5=Math['min'](_0x4535a7,_0x4f319c/0x2,_0x53805f/0x2),_0x20f0f1[_0x2d38e0(0x2d2)](),_0x20f0f1[_0x2d38e0(0x2fe)](_0x56bebc,0x0),_0x20f0f1['lineTo'](_0x4f319c-_0x9d3aab,0x0),_0x20f0f1[_0x2d38e0(0x38e)](_0x4f319c-_0x9d3aab,_0x9d3aab,_0x9d3aab,Math['PI']*0x3/0x2,0x0,!0x1),_0x20f0f1[_0x2d38e0(0x342)](_0x4f319c,_0x53805f-_0x2d7eb5),_0x20f0f1['arc'](_0x4f319c-_0x2d7eb5,_0x53805f-_0x2d7eb5,_0x2d7eb5,0x0,Math['PI']/0x2,!0x1),_0x20f0f1['lineTo'](0x0,_0x53805f),_0x20f0f1[_0x2d38e0(0x342)](0x0,_0x56bebc),_0x20f0f1[_0x2d38e0(0x38e)](_0x56bebc,_0x56bebc,_0x56bebc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20f0f1[_0x2d38e0(0x23a)](),_0x245dd3[_0x2d38e0(0x43b)]&&(_0x20f0f1[_0x2d38e0(0x31b)](),_0x20f0f1[_0x2d38e0(0x2d3)]=_0x245dd3['fill'],_0x245dd3[_0x2d38e0(0x359)]===_0x2d38e0(0x21e)?_0x20f0f1['fill'](_0x2d38e0(0x21e)):_0x20f0f1[_0x2d38e0(0x43b)](),_0x20f0f1[_0x2d38e0(0x2d7)]());}class _0x51290c extends _0x2c2228[_0x449ba4(0x415)]{constructor(_0x5f0ab8,_0xd9748f){const _0x237a0b=_0x449ba4;super(_0x5f0ab8,_0xd9748f),_0xb1ba3a(this,_0x237a0b(0x23e)),_0xb1ba3a(this,_0x237a0b(0x34b)),(this[_0x237a0b(0x23e)]=_0xd9748f==null?void 0x0:_0xd9748f[_0x237a0b(0x23e)],this['text']=_0xd9748f==null?void 0x0:_0xd9748f[_0x237a0b(0x34b)]);}static['drawWith'](_0xd928db,_0x25b06c){const _0x1c7be0=_0x449ba4,{text:_0x37789a,color:_0x35e866}=_0x25b06c;_0xd928db[_0x1c7be0(0x31b)](),_0xd928db[_0x1c7be0(0x1c7)]=_0x1c7be0(0x25d);const _0x587fa8=_0xd928db['measureText'](_0x37789a)[_0x1c7be0(0x2a2)],_0x19cb1e=Math['min'](_0x587fa8+0x2*_0x184191,_0x26b89a);_0x1d8026(_0xd928db,{'height':_0x21c66f,'radius':0x4,'width':_0x19cb1e,'fill':_0x35e866}),_0xd928db[_0x1c7be0(0x2d3)]=_0x1c7be0(0x2be);const _0x13ee0e=_0x184191,_0xedc66=_0x21c66f-_0x55a9e1,_0x3aa9a1=_0x26b89a-0x2*_0x184191;if(_0x587fa8>_0x3aa9a1){let _0x591db7='',_0x4500e5=0x0;for(const _0x4cff56 of _0x37789a){const _0x9ccb6d=_0xd928db[_0x1c7be0(0x2f8)](_0x4cff56)[_0x1c7be0(0x2a2)];if(_0x4500e5+_0x9ccb6d<=_0x3aa9a1-_0xd928db['measureText'](_0x1c7be0(0x364))[_0x1c7be0(0x2a2)])_0x591db7+=_0x4cff56,_0x4500e5+=_0x9ccb6d;else{_0x591db7+=_0x1c7be0(0x364);break;}}_0xd928db[_0x1c7be0(0x2d4)](_0x591db7,_0x13ee0e,_0xedc66);}else _0xd928db[_0x1c7be0(0x2d4)](_0x37789a,_0x13ee0e,_0xedc66);_0xd928db['restore']();}[_0x449ba4(0x42b)](_0x1a9c78){const _0x14c197=_0x449ba4;_0x51290c[_0x14c197(0x453)](_0x1a9c78,this);}}const _0x5c7b6b='collab-text-anchor-',_0x2241a5='collab-text-range-',_0x13e03a=_0x449ba4(0x3e4),_0x104382=0x6,_0x194b59=1.5,_0x1d77e2=0x4,_0x22efe7=1.5,_0x1b3128='rgba(255,\x20255,\x20255,\x200.01)';class _0x1a0383{constructor(_0x3bb567,_0x3246ef,_0x5d26f5,_0x16ec5c){const _0x1b326b=_0x449ba4;_0xb1ba3a(this,_0x1b326b(0x289),[]),_0xb1ba3a(this,_0x1b326b(0x3b3),null),_0xb1ba3a(this,_0x1b326b(0x31a),null),_0xb1ba3a(this,_0x1b326b(0x43f),null),_0xb1ba3a(this,_0x1b326b(0x301),null),_0xb1ba3a(this,_0x1b326b(0x411),null),(this[_0x1b326b(0x3c1)]=_0x3bb567,this['_scene']=_0x3246ef,this[_0x1b326b(0x28c)]=_0x5d26f5,this[_0x1b326b(0x1b2)]=_0x16ec5c,this[_0x1b326b(0x2d1)]());}set[_0x449ba4(0x452)](_0x3f2917){const _0x54fc8c=_0x449ba4;_0x3f2917?(this['_anchorDot']&&this[_0x54fc8c(0x43f)]['hide'](),this[_0x54fc8c(0x31a)]&&this[_0x54fc8c(0x31a)][_0x54fc8c(0x36e)]()):(this[_0x54fc8c(0x43f)]&&this['_anchorDot'][_0x54fc8c(0x36e)](),this[_0x54fc8c(0x31a)]&&this[_0x54fc8c(0x31a)]['hide']());}[_0x449ba4(0x3d4)](){const _0x2fb17f=_0x449ba4;for(const _0x18ac60 of this['_shapes'])_0x18ac60[_0x2fb17f(0x3d4)]();this[_0x2fb17f(0x31a)]&&this[_0x2fb17f(0x31a)]['dispose'](),this[_0x2fb17f(0x43f)]&&this[_0x2fb17f(0x43f)][_0x2fb17f(0x3d4)](),this[_0x2fb17f(0x3b3)]&&this[_0x2fb17f(0x3b3)][_0x2fb17f(0x3d4)](),this[_0x2fb17f(0x411)]&&this[_0x2fb17f(0x411)]();}[_0x449ba4(0x2d1)](){const _0x453172=_0x449ba4;var _0x3608bb;const {_docSkeleton:_0x32dcd5,_document:_0x49d43b}=this,{color:_0x1d2327,name:_0x1af4ce,ranges:_0x408f8c}=this[_0x453172(0x3c1)],_0xf339d6=_0x49d43b[_0x453172(0x406)](),{docsLeft:_0x29f06e,docsTop:_0x2cb776}=_0xf339d6,_0x522eef=new _0xf7ba88['NodePositionConvertToCursor'](_0xf339d6,_0x32dcd5);for(const {startOffset:_0x59e2d4,endOffset:_0x58c425,rangeType:_0x6dd76,segmentId:_0x2ffe5d,segmentPage:_0x5af2fd,collapsed:_0x2c367a,isActive:_0x4e2ba7}of _0x408f8c){const _0x29ed45=_0x32dcd5[_0x453172(0x448)](_0x59e2d4,!0x0,_0x2ffe5d,_0x5af2fd);let _0x40854f=_0x32dcd5[_0x453172(0x448)](_0x58c425,!0x0,_0x2ffe5d,_0x5af2fd);if(_0x40854f==null&&(_0x40854f=_0x32dcd5[_0x453172(0x448)](_0x58c425-0x1,!0x1,_0x2ffe5d,_0x5af2fd)),_0x4e2ba7){const {contentBoxPointGroup:_0xe6da6e}=_0x522eef[_0x453172(0x1f5)](_0x40854f,_0x40854f);if(_0xe6da6e[_0x453172(0x3eb)]===0x0)continue;this[_0x453172(0x2e4)](_0x1d2327,_0xe6da6e,_0x29f06e,_0x2cb776,_0x1af4ce),this[_0x453172(0x411)]=this[_0x453172(0x1b5)]();}if(_0x29ed45&&_0x40854f){if(_0x6dd76===_0x4d81d1[_0x453172(0x1db)]['RECT']){const _0x2daae8=new _0xf7ba88['NodePositionConvertToRectRange'](_0xf339d6,_0x32dcd5),{pointGroup:_0xb3b942}=(_0x3608bb=_0x2daae8[_0x453172(0x1f5)](_0x29ed45,_0x40854f))!=null?_0x3608bb:{};if(_0xb3b942==null||_0xb3b942[_0x453172(0x3eb)]===0x0)continue;this['_drawRectRange'](_0x1d2327,_0xb3b942,_0x29f06e,_0x2cb776);}else{if(!_0x2c367a){const {borderBoxPointGroup:_0xc67a5d}=_0x522eef[_0x453172(0x1f5)](_0x29ed45,_0x40854f);if(_0xc67a5d[_0x453172(0x3eb)]===0x0)continue;this[_0x453172(0x392)](_0x1d2327,_0xc67a5d,_0x29f06e,_0x2cb776);}}}}}[_0x449ba4(0x2e4)](_0x51382e,_0x3dc76b,_0x459293,_0x162b30,_0x2e786d){const _0xa6d5f4=_0x449ba4,_0x5e1a69=this['_getAnchorBounding'](_0x3dc76b),{left:_0x2d8df3,top:_0x4a5646,height:_0x5db0c9}=_0x5e1a69,_0x3da785=this[_0xa6d5f4(0x306)](),_0x4da2fd=_0x22efe7/_0x3da785,_0x219d8a=new _0x2c2228[(_0xa6d5f4(0x25f))](_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30,'height':_0x5db0c9,'width':_0x194b59,'fill':_0x51382e||_0x2c2228[_0xa6d5f4(0x22b)](_0x4d81d1['COLORS'][_0xa6d5f4(0x226)],0x0),'strokeWidth':_0x4da2fd,'stroke':_0x1b3128,'evented':!0x0});this[_0xa6d5f4(0x3b3)]=_0x219d8a,this[_0xa6d5f4(0x268)][_0xa6d5f4(0x2cb)](_0x219d8a,_0xf7ba88[_0xa6d5f4(0x3f7)]);const _0x239111=new _0x2c2228['Rect'](_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30-_0x1d77e2/0x2,'height':_0x1d77e2,'width':_0x1d77e2,'fill':_0x51382e||_0x2c2228[_0xa6d5f4(0x22b)](_0x4d81d1[_0xa6d5f4(0x2c1)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x51382e||_0x2c2228['getColor'](_0x4d81d1[_0xa6d5f4(0x2c1)]['black'],0x0),'evented':!0x1});this[_0xa6d5f4(0x43f)]=_0x239111,this[_0xa6d5f4(0x268)][_0xa6d5f4(0x2cb)](_0x239111,_0xf7ba88[_0xa6d5f4(0x3f7)]);const _0x2ab9b1=new _0x51290c(_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30-_0x21c66f,'text':_0x2e786d,'color':_0x51382e});this[_0xa6d5f4(0x31a)]=_0x2ab9b1,this['_scene']['addObject'](_0x2ab9b1,_0xf7ba88[_0xa6d5f4(0x3f7)]),this[_0xa6d5f4(0x452)]=!0x1;}[_0x449ba4(0x1b5)](){const _0x594960=_0x449ba4,_0xfb9b9a=this[_0x594960(0x3b3)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x76d01f=this[_0x594960(0x3b3)]['onPointerLeave$'][_0x594960(0x2b1)](()=>{const _0x1793d2=_0x594960;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1793d2(0x301)]=setTimeout(()=>{const _0x4d79bd=_0x1793d2;this[_0x4d79bd(0x452)]=!0x1;},0x7d0);});return()=>{const _0xbfccd1=_0x594960;_0xfb9b9a['unsubscribe'](),_0x76d01f[_0xbfccd1(0x2cd)]();};}[_0x449ba4(0x392)](_0x5f053b,_0x171cc3,_0x13429c,_0x16d38e){const _0x176b55=_0x449ba4,_0x3f8679=new _0x4d81d1[(_0x176b55(0x2cc))](_0x5f053b)['setAlpha'](0.2)['toRgbString'](),_0x1db524=new _0x2c2228[(_0x176b55(0x20d))](_0x2241a5+_0x4d81d1['generateRandomId'](_0x104382),{'pointsGroup':_0x171cc3,'fill':_0x3f8679||_0x2c2228[_0x176b55(0x22b)](_0x4d81d1[_0x176b55(0x2c1)][_0x176b55(0x226)],0.2),'left':_0x13429c,'top':_0x16d38e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x176b55(0x289)][_0x176b55(0x2d6)](_0x1db524),this['_scene'][_0x176b55(0x2cb)](_0x1db524,_0xf7ba88[_0x176b55(0x3f7)]);}['_drawRectRange'](_0x56c436,_0x497817,_0x5014dd,_0x453851){const _0x3931f2=_0x449ba4,_0x320d8=new _0x4d81d1['ColorKit'](_0x56c436)[_0x3931f2(0x238)](0.2)['toRgbString'](),_0xc414a6=new _0x2c2228[(_0x3931f2(0x20d))](_0x13e03a+_0x4d81d1['generateRandomId'](_0x104382),{'pointsGroup':_0x497817,'fill':_0x320d8||_0x2c2228[_0x3931f2(0x22b)](_0x4d81d1['COLORS'][_0x3931f2(0x226)],0.2),'left':_0x5014dd,'top':_0x453851,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3931f2(0x289)][_0x3931f2(0x2d6)](_0xc414a6),this[_0x3931f2(0x268)][_0x3931f2(0x2cb)](_0xc414a6,_0xf7ba88[_0x3931f2(0x3f7)]);}['_getAnchorBounding'](_0x4cf446){const _0x5b0695=_0x4cf446[0x0],_0x37927b=_0x5b0695[0x0],_0x45bf7e=_0x5b0695[0x2],{x:_0x45b798,y:_0xade55d}=_0x37927b,{x:_0x3ca2c8,y:_0xce0006}=_0x45bf7e;return{'left':_0x45b798,'top':_0xade55d,'width':_0x3ca2c8-_0x45b798,'height':_0xce0006-_0xade55d};}[_0x449ba4(0x306)](){const _0x1d543e=_0x449ba4,{scaleX:_0x1d8d58,scaleY:_0x413bbd}=this[_0x1d543e(0x268)][_0x1d543e(0x29a)]();return Math[_0x1d543e(0x34c)](_0x1d8d58,_0x413bbd);}}var _0x4712d6=Object[_0x449ba4(0x1d2)],_0x2dd853=(_0x4a241c,_0x499fc4,_0x373c8f,_0x136f7e)=>{const _0x2954eb=_0x449ba4;for(var _0x43af02=_0x136f7e>0x1?void 0x0:_0x136f7e?_0x4712d6(_0x499fc4,_0x373c8f):_0x499fc4,_0x4851e4=_0x4a241c[_0x2954eb(0x3eb)]-0x1,_0x51c6da;_0x4851e4>=0x0;_0x4851e4--)(_0x51c6da=_0x4a241c[_0x4851e4])&&(_0x43af02=_0x51c6da(_0x43af02)||_0x43af02);return _0x43af02;},_0x264517=(_0x18ed68,_0x3a0c5a)=>(_0x252414,_0xf6fe04)=>_0x3a0c5a(_0x252414,_0xf6fe04,_0x18ed68);let _0x4c48c2=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x52fd64,_0x40d939,_0x1d844f,_0x248146,_0x54f513){const _0x593338=_0x449ba4;super(),_0xb1ba3a(this,'_cursorShapes',[]),_0xb1ba3a(this,_0x593338(0x36f),[]),(this['_context']=_0x52fd64,this[_0x593338(0x244)]=_0x40d939,this['_collabCursorController']=_0x1d844f,this[_0x593338(0x3c7)]=_0x248146,this['_themeService']=_0x54f513,this[_0x593338(0x382)]());}[_0x449ba4(0x382)](){const _0x5e8ed7=_0x449ba4,_0x47efd6=this['_context'][_0x5e8ed7(0x398)],_0x363c73=this[_0x5e8ed7(0x244)];this[_0x5e8ed7(0x30e)](_0x2af810['combineLatest']([this['_collabCursorController'][_0x5e8ed7(0x297)](_0x47efd6),this[_0x5e8ed7(0x270)][_0x5e8ed7(0x33c)]])['pipe'](_0x54dd64[_0x5e8ed7(0x413)](([_0x1b2165,_0x4f44e0])=>({'skeleton':_0x363c73['getSkeleton'](),'cursors':[..._0x1b2165[_0x5e8ed7(0x323)]()][_0x5e8ed7(0x32e)](_0x518ccb=>({..._0x518ccb,'color':this[_0x5e8ed7(0x270)][_0x5e8ed7(0x2f9)](_0x518ccb['color'])}))})))[_0x5e8ed7(0x3e8)](_0x2f9b13=>{const _0x12ecd4=_0x5e8ed7;if(this[_0x12ecd4(0x37c)](),_0x2f9b13){const {skeleton:_0x54c467,cursors:_0x57e5a7}=_0x2f9b13;this['_updateCollabCursors'](_0x54c467,_0x57e5a7);}})),this[_0x5e8ed7(0x449)](),this[_0x5e8ed7(0x23b)]();}['_updateCollabCursors'](_0x5d79a6,_0x585935){const _0x571cc7=_0x449ba4,{scene:_0x40febe,mainComponent:_0x1dd620}=this[_0x571cc7(0x3d0)],_0x15b9d1=_0x585935[_0x571cc7(0x413)](_0x4bf7c7=>new _0x1a0383(_0x4bf7c7,_0x40febe,_0x5d79a6,_0x1dd620));this[_0x571cc7(0x2ee)]=_0x15b9d1,this[_0x571cc7(0x36f)]=_0x585935;}[_0x449ba4(0x20b)](){const _0x3741c4=_0x449ba4;this[_0x3741c4(0x37c)]();const {scene:_0x42ab23,mainComponent:_0x4e7039}=this[_0x3741c4(0x3d0)],_0x15b75e=this[_0x3741c4(0x244)][_0x3741c4(0x394)](),_0x6ddb9c=this['_cursors']['map'](_0x5397a9=>new _0x1a0383(_0x5397a9,_0x42ab23,_0x15b75e,_0x4e7039));this[_0x3741c4(0x2ee)]=_0x6ddb9c;}['_removeCollabCursors'](){const _0x226c3f=_0x449ba4;this[_0x226c3f(0x2ee)]['forEach'](_0x47e3ae=>_0x47e3ae['dispose']()),this[_0x226c3f(0x2ee)]=[];}[_0x449ba4(0x23b)](){const _0x1ced8a=_0x449ba4,_0x4e51d4=[_0xf7ba88['SetDocZoomRatioOperation']['id']];this[_0x1ced8a(0x30e)](this[_0x1ced8a(0x3c7)][_0x1ced8a(0x329)](_0x2b1064=>{const _0xcc45c8=_0x1ced8a;_0x4e51d4['includes'](_0x2b1064['id'])&&_0x2b1064[_0xcc45c8(0x2a5)][_0xcc45c8(0x398)]===this['_context'][_0xcc45c8(0x398)]&&this[_0xcc45c8(0x20b)]();}));}['_initResize'](){const _0x2037e7=_0x449ba4;this[_0x2037e7(0x30e)](_0x4d81d1[_0x2037e7(0x405)](this[_0x2037e7(0x3d0)][_0x2037e7(0x1ce)][_0x2037e7(0x21c)])[_0x2037e7(0x3b1)](_0x54dd64['filter'](_0x22943b=>_0x22943b[_0x2037e7(0x353)]===_0x2c2228[_0x2037e7(0x310)][_0x2037e7(0x3d5)]),_0x54dd64[_0x2037e7(0x225)](0x10))[_0x2037e7(0x3e8)](()=>{const _0x59b788=_0x2037e7;this[_0x59b788(0x20b)]();}));}};_0x4c48c2=_0x2dd853([_0x264517(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0x3422c5[_0x449ba4(0x349)])),_0x264517(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x5f01b6)),_0x264517(0x3,_0x4d81d1[_0x449ba4(0x1c2)]),_0x264517(0x4,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x208)]))],_0x4c48c2);const _0x15db92=0x1,_0x5927ac=1.5;class _0x414759 extends _0x2c2228[_0x449ba4(0x415)]{constructor(_0x5a3415,_0x480a28){const _0x53708b=_0x449ba4;super(_0x5a3415,_0x480a28),_0xb1ba3a(this,_0x53708b(0x3e1)),_0xb1ba3a(this,_0x53708b(0x435),!0x1),_0xb1ba3a(this,'_range'),_0xb1ba3a(this,_0x53708b(0x29f),''),_0xb1ba3a(this,_0x53708b(0x3f2),_0x53708b(0x2a9)),_0xb1ba3a(this,_0x53708b(0x42d)),(_0x480a28&&this[_0x53708b(0x3c3)](_0x480a28),this['onPointerEnter$'][_0x53708b(0x2b1)](()=>this[_0x53708b(0x3c3)]({'hovered':!0x0})),this[_0x53708b(0x227)][_0x53708b(0x2b1)](()=>this[_0x53708b(0x3c3)]({'hovered':!0x1})));}[_0x449ba4(0x3c3)](_0x3b8c96){const _0x13502f=_0x449ba4;var _0x2b9c2a,_0x4aff76,_0xd45884,_0x374887,_0x5700d8,_0x4440b6;this['_color']=(_0x2b9c2a=_0x3b8c96[_0x13502f(0x23e)])!=null?_0x2b9c2a:this[_0x13502f(0x3e1)],this['_hovered']=(_0x4aff76=_0x3b8c96[_0x13502f(0x402)])!=null?_0x4aff76:this[_0x13502f(0x435)],this[_0x13502f(0x1dc)]=(_0xd45884=_0x3b8c96[_0x13502f(0x2d8)])!=null?_0xd45884:this[_0x13502f(0x1dc)],this[_0x13502f(0x29f)]=(_0x374887=_0x3b8c96[_0x13502f(0x1d1)])!=null?_0x374887:this[_0x13502f(0x29f)],this['_labelPosition']=(_0x5700d8=_0x3b8c96[_0x13502f(0x210)])!=null?_0x5700d8:this['_labelPosition'],this['_backgroundColor']=(_0x4440b6=_0x3b8c96[_0x13502f(0x20e)])!=null?_0x4440b6:this['_backgroundColor'],this['transformByState']({'width':_0x3b8c96[_0x13502f(0x2a2)],'height':_0x3b8c96[_0x13502f(0x396)]});}[_0x449ba4(0x1cd)](_0x1b3c69){const _0x31b388=_0x449ba4,{row:_0x72e170,column:_0x26f648}=_0x1b3c69;if(_0x72e170>=this['_range'][_0x31b388(0x2b3)]&&_0x72e170<=this[_0x31b388(0x1dc)]['endRow']&&_0x26f648>=this[_0x31b388(0x1dc)][_0x31b388(0x23c)]&&_0x26f648<=this['_range'][_0x31b388(0x438)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x449ba4(0x3f3)](_0x44fe3c){return!0x1;}['_draw'](_0x56dc61){const _0x4897b4=_0x449ba4;_0x2c2228['Rect'][_0x4897b4(0x453)](_0x56dc61,{'width':this[_0x4897b4(0x2a2)],'height':this['height'],'strokeWidth':_0x5927ac,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4897b4(0x42d)]}),this[_0x4897b4(0x435)]&&(_0x56dc61['save'](),_0x56dc61[_0x4897b4(0x400)](0x1,0x0,0x0,0x1,this[_0x4897b4(0x2a2)],this[_0x4897b4(0x3f2)]===_0x4897b4(0x280)?0x0:-_0x21c66f),_0x51290c['drawWith'](_0x56dc61,{'text':this['_name'],'color':this['_color']}),_0x56dc61['restore']());}}var _0x4179e8=Object[_0x449ba4(0x1d2)],_0x1f11f3=(_0x214961,_0x37a389,_0xf022e0,_0x2d8bfb)=>{const _0xc29053=_0x449ba4;for(var _0x5b6b7a=_0x2d8bfb>0x1?void 0x0:_0x2d8bfb?_0x4179e8(_0x37a389,_0xf022e0):_0x37a389,_0x234324=_0x214961[_0xc29053(0x3eb)]-0x1,_0x238786;_0x234324>=0x0;_0x234324--)(_0x238786=_0x214961[_0x234324])&&(_0x5b6b7a=_0x238786(_0x5b6b7a)||_0x5b6b7a);return _0x5b6b7a;},_0x144ecd=(_0x45a092,_0x3cbbf7)=>(_0x5e41ad,_0x154658)=>_0x3cbbf7(_0x5e41ad,_0x154658,_0x45a092);const _0x48ef02=0x1389;let _0x3cc75d=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x187ab6,_0x51d6a2,_0xd91d1b,_0x5a3cfd){const _0x57bb00=_0x449ba4;super(),_0xb1ba3a(this,'_cursors',new Set()),_0xb1ba3a(this,_0x57bb00(0x2b7),null),(this[_0x57bb00(0x3d0)]=_0x187ab6,this['_sheetSkeletonManagerService']=_0x51d6a2,this[_0x57bb00(0x354)]=_0xd91d1b,this[_0x57bb00(0x270)]=_0x5a3cfd,this[_0x57bb00(0x382)]());}[_0x449ba4(0x382)](){const _0x22ee6e=_0x449ba4;this[_0x22ee6e(0x36b)][_0x22ee6e(0x2fb)][_0x22ee6e(0x3b1)](_0x54dd64[_0x22ee6e(0x335)](this[_0x22ee6e(0x369)]),_0x54dd64[_0x22ee6e(0x24a)](_0x4715c2=>{const _0x28f121=_0x22ee6e;if(_0x4715c2){const _0x4e09a3=_0x4715c2[_0x28f121(0x2af)];return _0x2af810[_0x28f121(0x37e)](this[_0x28f121(0x354)][_0x28f121(0x297)](this[_0x28f121(0x3d0)][_0x28f121(0x398)]),this['_themeService'][_0x28f121(0x33c)])[_0x28f121(0x3b1)](_0x54dd64['map'](([_0x227e5a,_0x380d22])=>{const _0x306974=new Map();return _0x227e5a['forEach']((_0x1120f3,_0x391e17)=>{const _0xcc2af6=_0x94a3;if(_0x1120f3[_0xcc2af6(0x386)]===_0x4e09a3){const _0x4f91a5={..._0x1120f3};_0x4f91a5['color']=this[_0xcc2af6(0x270)]['getColorFromTheme'](_0x1120f3[_0xcc2af6(0x23e)]),_0x306974[_0xcc2af6(0x34d)](_0x391e17,_0x4f91a5);}}),{'skeleton':_0x4715c2,'cursors':_0x306974};}));}return _0x2af810['of']({'skeleton':null,'cursors':new Map()});}))[_0x22ee6e(0x3e8)](({skeleton:_0xbb8d8,cursors:_0x5d97ff})=>{const _0x513eee=_0x22ee6e;this[_0x513eee(0x37c)](),_0xbb8d8&&this['_updateCollabCursors'](_0xbb8d8,_0x5d97ff);}),this['_sheetSkeletonManagerService'][_0x22ee6e(0x2fb)][_0x22ee6e(0x3e8)](_0xaf8d4a=>{const _0x33fce1=_0x22ee6e;if(_0xaf8d4a==null)return;const {skeleton:_0x429ded}=_0xaf8d4a,{scene:_0x5c50f2}=this['_context'];_0x5c50f2[_0x33fce1(0x40a)][_0x33fce1(0x2b1)](_0x4d81d1['debounce'](_0x410e53=>{const _0x150818=_0x33fce1;var _0x873b0c,_0xa45ecd;const {offsetX:_0x316c9b,offsetY:_0x4be86b}=_0x410e53,{x:_0x4a4c22,y:_0x1a6d5e}=_0x5c50f2['getRelativeToViewportCoord'](_0x2c2228['Vector2'][_0x150818(0x2ef)]([_0x316c9b,_0x4be86b])),{scaleX:_0xf6925b,scaleY:_0x2e245e}=_0x5c50f2[_0x150818(0x29a)](),_0x39edbc=_0x5c50f2[_0x150818(0x450)](_0x2c2228[_0x150818(0x25a)][_0x150818(0x27c)]),_0x8aeb08=_0x5c50f2[_0x150818(0x379)](_0x2c2228[_0x150818(0x2fa)]['FromArray']([_0x4a4c22,_0x1a6d5e]),_0x39edbc),_0xf19f19=_0x429ded['getCellPositionByOffset'](_0x316c9b,_0x4be86b,_0xf6925b,_0x2e245e,_0x8aeb08);((_0x873b0c=this[_0x150818(0x2b7)])==null?void 0x0:_0x873b0c[_0x150818(0x360)])===_0xf19f19[_0x150818(0x360)]&&((_0xa45ecd=this[_0x150818(0x2b7)])==null?void 0x0:_0xa45ecd[_0x150818(0x3ec)])===_0xf19f19['row']||this[_0x150818(0x36f)][_0x150818(0x27b)](_0x279a73=>{_0x279a73['onMouseMove'](_0xf19f19);});},0x64));});}[_0x449ba4(0x35d)](_0x8e43ff,_0x4ba72b){const _0x4628e5=_0x449ba4;var _0x3cf985;const _0x5e3623=(_0x3cf985=this['_sheetSkeletonManagerService'][_0x4628e5(0x1fc)]())==null?void 0x0:_0x3cf985[_0x4628e5(0x233)];if(!_0x5e3623)return;const _0x1322c6=this[_0x4628e5(0x375)]();if(!_0x1322c6)return;this[_0x4628e5(0x36f)][_0x4628e5(0x27b)](_0x25159c=>{_0x25159c['makeDirty']();});const {scene:_0x475f23}=_0x1322c6,_0x3e5018=_0x437e7e(Array[_0x4628e5(0x32c)](_0x4ba72b[_0x4628e5(0x323)]()))[_0x4628e5(0x413)](_0x49232c=>{const _0x4d8286=_0x4628e5,{color:_0x5601da,range:_0x2ea4fd,name:_0x5364e5,selection:_0x55238e,sheetID:_0x4a80e5}=_0x49232c,{startColumn:_0x58cf04,startRow:_0x22a2d4,endColumn:_0x4b2ed5,endRow:_0x1397b1}=_0x2ea4fd,_0x5ab171=_0x5d8437[_0x4d8286(0x3ad)](_0x22a2d4,_0x58cf04,_0x475f23,_0x5e3623),_0x2398d5=_0x5d8437[_0x4d8286(0x3ad)](_0x1397b1,_0x4b2ed5,_0x475f23,_0x5e3623),{columnHeaderHeightAndMarginTop:_0x3d221b}=_0x5e3623,{startX:_0x5ef07b,startY:_0x5b6e22}=_0x5ab171,{endX:_0x1817e1,endY:_0x4599b9}=_0x2398d5,_0x42519a=_0x1817e1-_0x5ef07b,_0x29402a=_0x4599b9-_0x5b6e22,_0x5b4a39={'labelPosition':_0x5b6e22-_0x3d221b>=_0x21c66f?_0x4d8286(0x2a9):_0x4d8286(0x280),'sheetID':_0x4a80e5,'range':_0x2ea4fd,'color':_0x5601da,'name':_0x5364e5,'selection':_0x55238e,'left':_0x5ef07b,'top':_0x5b6e22,'width':_0x42519a,'height':_0x29402a,'evented':!0x1,'zIndex':_0x48ef02};return new _0x414759(_0x5364e5,_0x5b4a39);});_0x475f23[_0x4628e5(0x1f0)](_0x3e5018,_0x15db92),this[_0x4628e5(0x36f)]=new Set(_0x3e5018);}[_0x449ba4(0x37c)](){const _0x58380d=_0x449ba4;var _0x45373e;(_0x45373e=this[_0x58380d(0x36f)])==null||_0x45373e[_0x58380d(0x27b)](_0x353b8c=>_0x353b8c[_0x58380d(0x3d4)]());}['_getSheetObject'](){const _0x57740d=_0x449ba4;return _0x5d8437['getSheetObject'](this[_0x57740d(0x3d0)][_0x57740d(0x3c6)],this['_context']);}};_0x3cc75d=_0x1f11f3([_0x144ecd(0x1,_0x4d81d1['Inject'](_0x5d8437[_0x449ba4(0x2c5)])),_0x144ecd(0x2,_0x4d81d1['Inject'](_0x5f01b6)),_0x144ecd(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x208)]))],_0x3cc75d);function _0x437e7e(_0x49bb46){const _0x5c467a=_0x449ba4,_0x3279a1=new Map();return _0x49bb46[_0x5c467a(0x27b)](_0x314ab9=>{const _0x1ede2a=_0x5c467a;if(_0x3279a1[_0x1ede2a(0x3fc)](_0x314ab9[_0x1ede2a(0x3c4)])){const _0x47a63c=_0x3279a1['get'](_0x314ab9['selection']);_0x47a63c[_0x1ede2a(0x1d1)]+=',\x20'+_0x314ab9['name'];}else _0x3279a1['set'](_0x314ab9[_0x1ede2a(0x3c4)],_0x314ab9);}),Array[_0x5c467a(0x32c)](_0x3279a1[_0x5c467a(0x323)]());}var _0x1b1b01=function(){const _0x2bf94a=_0x449ba4;return _0x1b1b01=Object[_0x2bf94a(0x3e6)]||function(_0x1e9905){const _0x1770ef=_0x2bf94a;for(var _0x1e1b2a,_0x76f2e9=0x1,_0x200cba=arguments[_0x1770ef(0x3eb)];_0x76f2e9<_0x200cba;_0x76f2e9++){_0x1e1b2a=arguments[_0x76f2e9];for(var _0x571324 in _0x1e1b2a)Object['prototype'][_0x1770ef(0x424)][_0x1770ef(0x211)](_0x1e1b2a,_0x571324)&&(_0x1e9905[_0x571324]=_0x1e1b2a[_0x571324]);}return _0x1e9905;},_0x1b1b01[_0x2bf94a(0x3b5)](this,arguments);},_0x46653b=function(_0x35b3c1,_0x5d138b){const _0x4fbad4=_0x449ba4;var _0x355428={};for(var _0x5e0efe in _0x35b3c1)Object[_0x4fbad4(0x363)][_0x4fbad4(0x424)][_0x4fbad4(0x211)](_0x35b3c1,_0x5e0efe)&&_0x5d138b[_0x4fbad4(0x443)](_0x5e0efe)<0x0&&(_0x355428[_0x5e0efe]=_0x35b3c1[_0x5e0efe]);if(_0x35b3c1!=null&&typeof Object[_0x4fbad4(0x42f)]=='function'){for(var _0x5d1d1f=0x0,_0x5e0efe=Object['getOwnPropertySymbols'](_0x35b3c1);_0x5d1d1f<_0x5e0efe[_0x4fbad4(0x3eb)];_0x5d1d1f++)_0x5d138b[_0x4fbad4(0x443)](_0x5e0efe[_0x5d1d1f])<0x0&&Object['prototype'][_0x4fbad4(0x3f6)][_0x4fbad4(0x211)](_0x35b3c1,_0x5e0efe[_0x5d1d1f])&&(_0x355428[_0x5e0efe[_0x5d1d1f]]=_0x35b3c1[_0x5e0efe[_0x5d1d1f]]);}return _0x355428;},_0x55c776=_0x3174a9[_0x449ba4(0x267)](function(_0x4adea2,_0x6f280){const _0xf4d3f1=_0x449ba4;var _0x165d50=_0x4adea2[_0xf4d3f1(0x3ed)],_0x33017f=_0x4adea2['id'],_0x544f97=_0x4adea2['className'],_0x2d37a1=_0x4adea2['extend'],_0x38bcfe=_0x46653b(_0x4adea2,[_0xf4d3f1(0x3ed),'id',_0xf4d3f1(0x42c),'extend']),_0x2f110b=_0xf4d3f1(0x41d)[_0xf4d3f1(0x419)](_0x33017f,'\x20')[_0xf4d3f1(0x419)](_0x544f97||'')[_0xf4d3f1(0x38a)](),_0x29119c=_0x3174a9['useRef']('_'[_0xf4d3f1(0x419)](_0x326236()));return _0x1657e6(_0x165d50,''['concat'](_0x33017f),{'defIds':_0x165d50['defIds'],'idSuffix':_0x29119c[_0xf4d3f1(0x1b4)]},_0x1b1b01({'ref':_0x6f280,'className':_0x2f110b},_0x38bcfe),_0x2d37a1);});function _0x1657e6(_0x36614a,_0x254411,_0x54b297,_0x3ae5f9,_0x203f71){const _0x452237=_0x449ba4;return _0x3174a9[_0x452237(0x3df)](_0x36614a[_0x452237(0x380)],_0x1b1b01(_0x1b1b01({'key':_0x254411},_0x3fd6a6(_0x36614a,_0x54b297,_0x203f71)),_0x3ae5f9),(_0x5e5602(_0x36614a,_0x54b297)['children']||[])[_0x452237(0x413)](function(_0x4c9a04,_0x55d490){const _0x1f890d=_0x452237;return _0x1657e6(_0x4c9a04,''[_0x1f890d(0x419)](_0x254411,'-')[_0x1f890d(0x419)](_0x36614a[_0x1f890d(0x380)],'-')[_0x1f890d(0x419)](_0x55d490),_0x54b297,void 0x0,_0x203f71);}));}function _0x3fd6a6(_0x455200,_0xfb7f41,_0x5a8207){const _0x589363=_0x449ba4;var _0x40273b=_0x1b1b01({},_0x455200['attrs']);_0x5a8207!=null&&_0x5a8207[_0x589363(0x3fd)]&&_0x40273b[_0x589363(0x43b)]==='colorChannel1'&&(_0x40273b[_0x589363(0x43b)]=_0x5a8207[_0x589363(0x3fd)]),_0x455200['tag']===_0x589363(0x290)&&_0x40273b['id']&&(_0x40273b['id']=_0x40273b['id']+_0xfb7f41[_0x589363(0x261)]),Object[_0x589363(0x2f0)](_0x40273b)[_0x589363(0x27b)](function(_0x4edbd7){const _0x1eabbb=_0x589363;var _0x27ee17=_0x4edbd7[0x0],_0x114931=_0x4edbd7[0x1];_0x27ee17==='mask'&&typeof _0x114931==_0x1eabbb(0x260)&&(_0x40273b[_0x27ee17]=_0x114931[_0x1eabbb(0x255)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xfb7f41[_0x1eabbb(0x261)],')')));});var _0x2c31ff=_0xfb7f41['defIds'];return!_0x2c31ff||_0x2c31ff[_0x589363(0x3eb)]===0x0||(_0x455200['tag']===_0x589363(0x220)&&_0x40273b[_0x589363(0x28a)]&&(_0x40273b[_0x589363(0x28a)]=_0x40273b[_0x589363(0x28a)]+_0xfb7f41[_0x589363(0x261)]),Object[_0x589363(0x2f0)](_0x40273b)['forEach'](function(_0x277966){const _0x5efe77=_0x589363;var _0x5e4da6=_0x277966[0x0],_0x2c7d6b=_0x277966[0x1];typeof _0x2c7d6b=='string'&&(_0x40273b[_0x5e4da6]=_0x2c7d6b[_0x5efe77(0x255)](/url\(#(.*)\)/,_0x5efe77(0x3c0)[_0x5efe77(0x419)](_0xfb7f41[_0x5efe77(0x261)],')')));})),_0x40273b;}function _0x5e5602(_0x4d339e,_0x1cbdd3){const _0x1efd22=_0x449ba4;var _0x23a70a,_0x1aa64c=_0x1cbdd3[_0x1efd22(0x3e9)];return!_0x1aa64c||_0x1aa64c['length']===0x0?_0x4d339e:_0x4d339e[_0x1efd22(0x380)]==='defs'&&(!((_0x23a70a=_0x4d339e[_0x1efd22(0x293)])===null||_0x23a70a===void 0x0)&&_0x23a70a[_0x1efd22(0x3eb)])?_0x1b1b01(_0x1b1b01({},_0x4d339e),{'children':_0x4d339e['children'][_0x1efd22(0x413)](function(_0x2ff3e0){const _0x1a4746=_0x1efd22;return typeof _0x2ff3e0[_0x1a4746(0x2d9)]['id']=='string'&&_0x1aa64c&&_0x1aa64c[_0x1a4746(0x1e1)](_0x2ff3e0['attrs']['id'])?_0x1b1b01(_0x1b1b01({},_0x2ff3e0),{'attrs':_0x1b1b01(_0x1b1b01({},_0x2ff3e0[_0x1a4746(0x2d9)]),{'id':_0x2ff3e0['attrs']['id']+_0x1cbdd3[_0x1a4746(0x261)]})}):_0x2ff3e0;})}):_0x4d339e;}function _0x326236(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x55c776[_0x449ba4(0x332)]=_0x449ba4(0x347);var _0x2d7078={'tag':'svg','attrs':{'xmlns':_0x449ba4(0x2eb),'fill':_0x449ba4(0x1ee),'viewBox':_0x449ba4(0x31c),'width':_0x449ba4(0x234),'height':_0x449ba4(0x234)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x449ba4(0x410),'attrs':{'stroke':_0x449ba4(0x29e),'d':_0x449ba4(0x3d6),'strokeLinecap':_0x449ba4(0x38d),'strokeLinejoin':_0x449ba4(0x38d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x449ba4(0x2da),'attrs':{'id':_0x449ba4(0x1bc)},'children':[{'tag':_0x449ba4(0x410),'attrs':{'fill':_0x449ba4(0x325),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x1a9991=_0x3174a9['forwardRef'](function(_0x27fd97,_0x323538){const _0x2ccd4b=_0x449ba4;return _0x3174a9[_0x2ccd4b(0x3df)](_0x55c776,Object[_0x2ccd4b(0x3e6)]({},_0x27fd97,{'id':_0x2ccd4b(0x3ef),'ref':_0x323538,'icon':_0x2d7078}));});_0x1a9991[_0x449ba4(0x332)]=_0x449ba4(0x1da);var _0x3c67b6={'tag':_0x449ba4(0x3cb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x449ba4(0x1ee),'viewBox':_0x449ba4(0x26b),'width':_0x449ba4(0x234),'height':_0x449ba4(0x234)},'children':[{'tag':'g','attrs':{'clipPath':_0x449ba4(0x3a9)},'children':[{'tag':_0x449ba4(0x410),'attrs':{'stroke':_0x449ba4(0x29e),'d':_0x449ba4(0x319),'strokeLinecap':_0x449ba4(0x38d),'strokeLinejoin':_0x449ba4(0x38d),'strokeWidth':1.2}}]},{'tag':_0x449ba4(0x269),'attrs':{},'children':[{'tag':_0x449ba4(0x2da),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x449ba4(0x410),'attrs':{'fill':_0x449ba4(0x325),'d':_0x449ba4(0x1b8),'transform':_0x449ba4(0x2dc)}}]}]}],'defIds':[_0x449ba4(0x1d0)]},_0xa71daf=_0x3174a9['forwardRef'](function(_0x85506f,_0x18d1e3){const _0x2be614=_0x449ba4;return _0x3174a9[_0x2be614(0x3df)](_0x55c776,Object[_0x2be614(0x3e6)]({},_0x85506f,{'id':_0x2be614(0x357),'ref':_0x18d1e3,'icon':_0x3c67b6}));});_0xa71daf[_0x449ba4(0x332)]=_0x449ba4(0x224);function _0x5dbe16(_0x326b84){const _0x3f9e4b=_0x449ba4;switch(_0x326b84){case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x345)]:return _0x3f9e4b(0x296);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x352)]:return _0x3f9e4b(0x2f6);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x273)]:return _0x3f9e4b(0x2e5);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x368)]:return'collabStatus.notCollab';case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x37f)]:case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x215)]:return'collabStatus.syncing';case _0x7e6ef6[_0x3f9e4b(0x281)]['SYNCED']:case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x275)]:return _0x3f9e4b(0x249);}}function _0x1d0066(_0x168410){const _0x5cd0df=_0x449ba4,{status$:_0x3cd5a3}=_0x168410,_0x35fd67=_0x2a4dd8[_0x5cd0df(0x41e)](_0x3cd5a3,_0x7e6ef6[_0x5cd0df(0x281)][_0x5cd0df(0x368)]),_0x4003b5=_0x2a4dd8['useDependency'](_0x4d81d1['LocaleService']),_0x5c4948=_0x2a4dd8[_0x5cd0df(0x337)](_0x7e6ef6[_0x5cd0df(0x26c)]),_0x1f10f0=_0x35fd67!==_0x7e6ef6[_0x5cd0df(0x281)][_0x5cd0df(0x345)],_0x508db3=_0x4003b5['t'](_0x5dbe16(_0x35fd67)),_0x231a0d=_0x1f10f0?_0x5c0380[_0x5cd0df(0x41a)](_0xa71daf,{}):_0x5c0380[_0x5cd0df(0x41a)](_0x1a9991,{}),_0x2912b4=_0x3174a9['useCallback'](()=>{_0x1f10f0||_0x5c4948['reconnect']();},[_0x1f10f0,_0x5c4948]);function _0x27cbed(){const _0x17fd4b=_0x5cd0df;return _0x5c0380['jsxs'](_0x17fd4b(0x320),{'className':_0x17fd4b(0x277),'onClick':_0x2912b4,'children':[_0x5c0380[_0x17fd4b(0x41a)]('div',{'className':_0x427b5c[_0x17fd4b(0x428)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1f10f0,'univer-text-red-500':!_0x1f10f0}),'children':_0x231a0d}),_0x5c0380['jsx'](_0x17fd4b(0x320),{'className':_0x17fd4b(0x31e),'children':_0x508db3})]});}return _0x1f10f0?_0x27cbed():_0x5c0380[_0x5cd0df(0x41a)](_0x427b5c['Tooltip'],{'title':_0x4003b5['t']('collab-client.tooltip.reconnect'),'children':_0x27cbed()});}var _0x2d63d7=Object[_0x449ba4(0x1d2)],_0x3e6a56=(_0x512024,_0x241e34,_0x465037,_0x203946)=>{const _0x4ea3b4=_0x449ba4;for(var _0x3690b8=_0x203946>0x1?void 0x0:_0x203946?_0x2d63d7(_0x241e34,_0x465037):_0x241e34,_0x47551f=_0x512024[_0x4ea3b4(0x3eb)]-0x1,_0x41cb09;_0x47551f>=0x0;_0x47551f--)(_0x41cb09=_0x512024[_0x47551f])&&(_0x3690b8=_0x41cb09(_0x3690b8)||_0x3690b8);return _0x3690b8;},_0x44a562=(_0x11a42e,_0x247864)=>(_0x5ec855,_0x344f5f)=>_0x247864(_0x5ec855,_0x344f5f,_0x11a42e);_0x47440c[_0x449ba4(0x282)]=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x2bbcdf,_0xb55023,_0x1fc69a,_0x5d28a0){const _0x4cf8db=_0x449ba4;super(),_0xb1ba3a(this,_0x4cf8db(0x2b4),new _0x2af810['BehaviorSubject'](_0x7e6ef6[_0x4cf8db(0x281)][_0x4cf8db(0x368)])),(this[_0x4cf8db(0x231)]=_0x2bbcdf,this[_0x4cf8db(0x1f1)]=_0xb55023,this[_0x4cf8db(0x232)]=_0x1fc69a,this[_0x4cf8db(0x3e2)]=_0x5d28a0,this[_0x4cf8db(0x3b8)](),this['_initStatusListener']());}[_0x449ba4(0x374)](){const _0x1c811e=_0x449ba4;this[_0x1c811e(0x30e)](this[_0x1c811e(0x231)][_0x1c811e(0x1f2)][_0x1c811e(0x3b1)](_0x2af810[_0x1c811e(0x24a)](()=>{const _0x2367b9=_0x1c811e,_0x276404=this['_univerInstanceService']['getFocusedUnit']();return _0x276404?this[_0x2367b9(0x232)]['getCollabEntity$'](_0x276404[_0x2367b9(0x39c)]()):_0x2af810['of'](null);}),_0x2af810[_0x1c811e(0x24a)](_0x54c911=>_0x54c911?_0x54c911['status$']:_0x2af810['of'](_0x7e6ef6[_0x1c811e(0x281)][_0x1c811e(0x368)])))[_0x1c811e(0x3e8)](_0x45c6a1=>{this['_status$']['next'](_0x45c6a1);}));}['_initStatusComponent'](){const _0x324aae=_0x449ba4;this[_0x324aae(0x30e)](this[_0x324aae(0x3e2)][_0x324aae(0x361)](_0x2a4dd8['BuiltInUIPart'][_0x324aae(0x2db)],()=>_0x2a4dd8[_0x324aae(0x312)](_0xd9c979({'status$':this[_0x324aae(0x2b4)][_0x324aae(0x36a)]()}),this[_0x324aae(0x1f1)])));}},_0x47440c[_0x449ba4(0x282)]=_0x3e6a56([_0x44a562(0x0,_0x4d81d1[_0x449ba4(0x218)]),_0x44a562(0x1,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x43e)])),_0x44a562(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['CollaborationController'])),_0x44a562(0x3,_0x2a4dd8['IUIPartsService'])],_0x47440c[_0x449ba4(0x282)]);function _0xd9c979(_0x100dd9){const {status$:_0x37cc8b}=_0x100dd9;return function(){const _0x55df83=_0x94a3;return _0x5c0380[_0x55df83(0x41a)](_0x1d0066,{'status$':_0x37cc8b});};}var _0x4e3aef=Object[_0x449ba4(0x1d2)],_0x1d37e8=(_0x38acc3,_0x5335b4,_0x1e2ca6,_0x285c1a)=>{const _0x516ecc=_0x449ba4;for(var _0xb78d48=_0x285c1a>0x1?void 0x0:_0x285c1a?_0x4e3aef(_0x5335b4,_0x1e2ca6):_0x5335b4,_0x1e0b29=_0x38acc3[_0x516ecc(0x3eb)]-0x1,_0x1ebb9f;_0x1e0b29>=0x0;_0x1e0b29--)(_0x1ebb9f=_0x38acc3[_0x1e0b29])&&(_0xb78d48=_0x1ebb9f(_0xb78d48)||_0xb78d48);return _0xb78d48;},_0x52d21b=(_0x526cfd,_0x44e2c8)=>(_0x22266a,_0x2d7cf4)=>_0x44e2c8(_0x22266a,_0x2d7cf4,_0x526cfd);let _0xf23663=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x5e8295,_0x30cff7,_0x419c43,_0x19c029,_0x399d61,_0x39e0db){const _0x2a41a2=_0x449ba4;super(),this[_0x2a41a2(0x432)]=_0x5e8295,this[_0x2a41a2(0x1ef)]=_0x30cff7,this['_collaborationUIEventService']=_0x419c43,this[_0x2a41a2(0x20f)]=_0x19c029,this[_0x2a41a2(0x330)]=_0x399d61,this[_0x2a41a2(0x3cc)]=_0x39e0db,this[_0x2a41a2(0x37d)](),this[_0x2a41a2(0x2a7)]();}['_setupBeforeClosingHandler'](){const _0x2a9e42=_0x449ba4;this[_0x2a9e42(0x30e)](this['_beforeCloseService'][_0x2a9e42(0x3f5)](()=>{const _0x2c5f94=_0x2a9e42;if(this[_0x2c5f94(0x1ef)][_0x2c5f94(0x279)][_0x2c5f94(0x35b)])return this[_0x2c5f94(0x3cc)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x449ba4(0x2a7)](){const _0x364e67=_0x449ba4;this[_0x364e67(0x30e)](this[_0x364e67(0x33b)][_0x364e67(0x407)]['subscribe'](_0x2f65f6=>{const _0x443807=_0x364e67;_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x40b)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x24f))}),_0x2f65f6['id']===_0x7e6ef6['CollaborationUIEventId'][_0x443807(0x201)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c['MessageType']['Warning'],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x3da))}),_0x2f65f6['id']===_0x7e6ef6['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x443807(0x330)][_0x443807(0x36e)]({'title':this[_0x443807(0x3cc)]['t'](_0x443807(0x3d1)),'content':this['_localeService']['t'](_0x443807(0x446)),'type':'error','duration':0x0}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x352)]&&this[_0x443807(0x20f)]['show']({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this[_0x443807(0x3cc)]['t']('collaboration.closeRoom')+'('+_0x2f65f6[_0x443807(0x314)]+')'}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)]['JOIN_ROOM_FAILED']&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x2f65f6[_0x443807(0x314)]||'')}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)]['SOCKET_FAILED_RETRY']&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x316))}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x26f)]&&this['_messageService'][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this['_localeService']['t'](_0x443807(0x40d))}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x365)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x241))});}));}};_0xf23663=_0x1d37e8([_0x52d21b(0x0,_0x2a4dd8[_0x449ba4(0x36d)]),_0x52d21b(0x1,_0x7e6ef6[_0x449ba4(0x247)]),_0x52d21b(0x2,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x3ab)])),_0x52d21b(0x3,_0x2a4dd8[_0x449ba4(0x3a6)]),_0x52d21b(0x4,_0x2a4dd8[_0x449ba4(0x393)]),_0x52d21b(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x28e)]))],_0xf23663);const _0x5c6d95=_0x449ba4(0x1f3),_0x1e33a4={},_0x21e793=_0x4d81d1[_0x449ba4(0x308)](_0x449ba4(0x3e0));var _0xc1db85=Object[_0x449ba4(0x1d2)],_0x30e060=(_0x14c1b3,_0x352cc6,_0x3dcc1c,_0x30f01f)=>{for(var _0x5f0269=_0x30f01f>0x1?void 0x0:_0x30f01f?_0xc1db85(_0x352cc6,_0x3dcc1c):_0x352cc6,_0x2b9b08=_0x14c1b3['length']-0x1,_0x439db2;_0x2b9b08>=0x0;_0x2b9b08--)(_0x439db2=_0x14c1b3[_0x2b9b08])&&(_0x5f0269=_0x439db2(_0x5f0269)||_0x5f0269);return _0x5f0269;},_0x380ea5=(_0x13d609,_0x10564d)=>(_0x50dbfc,_0x495d43)=>_0x10564d(_0x50dbfc,_0x495d43,_0x13d609);_0x47440c[_0x449ba4(0x2c4)]=class extends _0x4d81d1['RxDisposable']{constructor(_0x2329b4,_0x48cec6,_0x4d0181,_0x3fb69e,_0x3f2a4b){const _0x3c0468=_0x449ba4;super(),this['_urlService']=_0x2329b4,this[_0x3c0468(0x3ea)]=_0x48cec6,this[_0x3c0468(0x3c7)]=_0x4d0181,this[_0x3c0468(0x2ab)]=_0x3fb69e,_0x3f2a4b?_0x3f2a4b==null||_0x3f2a4b[_0x3c0468(0x1c9)]()[_0x3c0468(0x2f1)](()=>this[_0x3c0468(0x382)]()):(this[_0x3c0468(0x3ea)]['debug'](_0x3c0468(0x1e7),_0x3c0468(0x3cd)),this[_0x3c0468(0x382)]());}async[_0x449ba4(0x382)](){const _0x49db2b=_0x449ba4,_0x4d6d80=this['_urlService'][_0x49db2b(0x284)]('unit'),_0x274975=this[_0x49db2b(0x1c1)]['getParam']('type'),_0x43f4b1=this['_urlService'][_0x49db2b(0x284)](_0x49db2b(0x205));if(!_0x4d6d80||!_0x274975){this[_0x49db2b(0x3ea)][_0x49db2b(0x1de)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2c704d=await this[_0x49db2b(0x2ab)][_0x49db2b(0x285)](_0x4d6d80,Number(_0x274975),_0x43f4b1);_0x2c704d&&_0x2c704d instanceof _0x4d81d1['Workbook']&&this[_0x49db2b(0x3bb)](_0x2c704d);}async[_0x449ba4(0x3bb)](_0x422c09){const _0x14d9d6=_0x449ba4;await this[_0x14d9d6(0x248)](_0x422c09),_0x422c09[_0x14d9d6(0x403)][_0x14d9d6(0x3b1)](_0x2af810['takeUntil'](this[_0x14d9d6(0x369)]))['subscribe'](_0x5253ed=>{const _0x4d026e=_0x14d9d6;_0x5253ed&&this[_0x4d026e(0x29d)](_0x5253ed);}),this['_urlService'][_0x14d9d6(0x3ee)][_0x14d9d6(0x3b1)](_0x2af810['takeUntil'](this[_0x14d9d6(0x369)]))['subscribe'](()=>this[_0x14d9d6(0x248)](_0x422c09));}['_updateURLWithCurrentState'](_0x4113d4,_0x3dafad=!0x1){const _0x4e1eb5=_0x449ba4,_0x2062f6=this[_0x4e1eb5(0x1c1)][_0x4e1eb5(0x284)]('subunit');_0x4113d4[_0x4e1eb5(0x388)]()!==_0x2062f6&&this[_0x4e1eb5(0x1c1)][_0x4e1eb5(0x1fa)](_0x4e1eb5(0x205),_0x4113d4[_0x4e1eb5(0x388)](),_0x3dafad);}async[_0x449ba4(0x248)](_0x3cc25d){const _0x30bc5f=_0x449ba4;var _0x4a9742;const _0xc16408=this[_0x30bc5f(0x1c1)][_0x30bc5f(0x284)](_0x30bc5f(0x205));if(!_0xc16408||!_0x3cc25d[_0x30bc5f(0x447)](_0xc16408)){const _0x1f2d1d=_0x3cc25d[_0x30bc5f(0x3b2)]()[0x0],_0x9bbe7a=_0x3cc25d[_0x30bc5f(0x447)](_0x1f2d1d);if(!_0x9bbe7a)return;this[_0x30bc5f(0x29d)](_0x9bbe7a,!0x0),await this[_0x30bc5f(0x3c7)][_0x30bc5f(0x25e)](_0x4a524b[_0x30bc5f(0x1fb)]['id'],{'unitId':_0x3cc25d[_0x30bc5f(0x39c)](),'subUnitId':_0x1f2d1d});return;}((_0x4a9742=_0x3cc25d[_0x30bc5f(0x370)]())==null?void 0x0:_0x4a9742['getSheetId']())!==_0xc16408&&await this[_0x30bc5f(0x3c7)][_0x30bc5f(0x25e)](_0x4a524b['SetWorksheetActivateCommand']['id'],{'unitId':_0x3cc25d[_0x30bc5f(0x39c)](),'subUnitId':_0xc16408});}},_0x47440c[_0x449ba4(0x2c4)]=_0x30e060([_0x380ea5(0x0,_0x21e793),_0x380ea5(0x1,_0x4d81d1[_0x449ba4(0x362)]),_0x380ea5(0x2,_0x4d81d1[_0x449ba4(0x1c2)]),_0x380ea5(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['DataLoaderService'])),_0x380ea5(0x4,_0x4d81d1['Optional'](_0x2f2e13[_0x449ba4(0x2a8)]))],_0x47440c['CollaborationDataLoaderController']);var _0x508fc7=Object[_0x449ba4(0x1d2)],_0x386c6c=(_0x212595,_0x15fac6,_0x3629e9,_0x4fcbea)=>{const _0x2eb97c=_0x449ba4;for(var _0x2cf1e1=_0x4fcbea>0x1?void 0x0:_0x4fcbea?_0x508fc7(_0x15fac6,_0x3629e9):_0x15fac6,_0x485f3d=_0x212595[_0x2eb97c(0x3eb)]-0x1,_0x46d911;_0x485f3d>=0x0;_0x485f3d--)(_0x46d911=_0x212595[_0x485f3d])&&(_0x2cf1e1=_0x46d911(_0x2cf1e1)||_0x2cf1e1);return _0x2cf1e1;},_0x5b8abc=(_0x13e5a7,_0x2080e1)=>(_0x9eae09,_0x30cbf3)=>_0x2080e1(_0x9eae09,_0x30cbf3,_0x13e5a7);let _0x2db2b8=class{constructor(_0x5d1a88,_0x5afb6e){const _0x50355d=_0x449ba4;this[_0x50355d(0x1d3)]=_0x5d1a88,this['_renderManagerService']=_0x5afb6e;}[_0x449ba4(0x257)](_0x2b5363){const _0x254f06=_0x449ba4;this['_transformUndoRedoStack'](_0x2b5363),this[_0x254f06(0x3a1)](_0x2b5363);}[_0x449ba4(0x38f)](_0x4b86cf){const _0x4d1930=_0x449ba4,{unitID:_0x539acb}=_0x4b86cf,_0x3574e6=this[_0x4d1930(0x2c2)]['getRenderById'](_0x539acb)[_0x4d1930(0x28f)](_0xf7ba88['DocIMEInputManagerService']),{redoCache:_0x15657c}=_0x3574e6['getUndoRedoMutationParamsCache']();if(_0x15657c['length']===0x0)return _0x4b86cf;let _0x1db029=_0x4d81d1[_0x4d1930(0x2f7)][_0x4d1930(0x266)](_0x4b86cf[_0x4d1930(0x32d)][0x0]);for(let _0x28e491=0x0;_0x28e491<_0x15657c['length'];_0x28e491++){const _0x43dc88={'id':'doc.mutation.rich-text-editing','params':{..._0x15657c[_0x28e491]}},_0x5d4085=this[_0x4d1930(0x1d3)][_0x4d1930(0x35c)](_0x1db029,_0x43dc88,!0x1);if(_0x7bc020['isTransformMutationFailure'](_0x5d4085))throw _0x5d4085[_0x4d1930(0x389)];_0x1db029=_0x5d4085[_0x4d1930(0x242)];}return{..._0x4d81d1[_0x4d1930(0x2f7)]['deepClone'](_0x4b86cf),'mutations':[_0x1db029]};}[_0x449ba4(0x3ba)](_0x434927){const _0x4e32fd=_0x449ba4,{unitID:_0x327f25}=_0x434927,_0x5590c2=this['_renderManagerService'][_0x4e32fd(0x326)](_0x327f25)[_0x4e32fd(0x28f)](_0xf7ba88['DocIMEInputManagerService']),{undoCache:_0x1432c5,redoCache:_0x2a3d52}=_0x5590c2[_0x4e32fd(0x31d)]();if(_0x1432c5[_0x4e32fd(0x3eb)]===0x0||_0x2a3d52[_0x4e32fd(0x3eb)]===0x0)return;const _0x10363b=[],_0x1c5970=[];let _0x5da0da=_0x4d81d1[_0x4e32fd(0x2f7)][_0x4e32fd(0x266)](_0x434927[_0x4e32fd(0x32d)][0x0]),_0x286d67=_0x4d81d1['Tools'][_0x4e32fd(0x266)](_0x434927[_0x4e32fd(0x32d)][0x0]);for(let _0x49a37c=_0x1432c5[_0x4e32fd(0x3eb)]-0x1;_0x49a37c>=0x0;_0x49a37c--){const _0x4dd1a3={'id':'doc.mutation.rich-text-editing','params':{..._0x1432c5[_0x49a37c]}},_0x19d059={'id':'doc.mutation.rich-text-editing','params':{..._0x2a3d52[_0x49a37c]}},_0x4a1af4=this[_0x4e32fd(0x1d3)][_0x4e32fd(0x35c)](_0x5da0da,_0x4dd1a3,!0x1),_0x2bb687=this[_0x4e32fd(0x1d3)][_0x4e32fd(0x35c)](_0x286d67,_0x19d059,!0x1);if(_0x7bc020[_0x4e32fd(0x265)](_0x4a1af4))throw _0x4a1af4[_0x4e32fd(0x389)];if(_0x7bc020[_0x4e32fd(0x265)](_0x2bb687))throw _0x2bb687[_0x4e32fd(0x389)];_0x10363b['unshift'](_0x4a1af4[_0x4e32fd(0x408)][_0x4e32fd(0x2a5)]),_0x1c5970[_0x4e32fd(0x30a)](_0x2bb687[_0x4e32fd(0x408)][_0x4e32fd(0x2a5)]),_0x5da0da=_0x4a1af4[_0x4e32fd(0x242)],_0x286d67=_0x2bb687[_0x4e32fd(0x242)];}_0x5590c2[_0x4e32fd(0x2fc)]({'undoCache':_0x10363b,'redoCache':_0x1c5970});}['_transformPreviousActiveRange'](_0x305200){const _0xc1e9ca=_0x449ba4,{unitID:_0x3233d9}=_0x305200,_0x2cd410=this['_renderManagerService'][_0xc1e9ca(0x326)](_0x3233d9)[_0xc1e9ca(0x28f)](_0xf7ba88[_0xc1e9ca(0x1e8)]),_0x42ead4=_0x2cd410[_0xc1e9ca(0x1cc)]();if(_0x42ead4==null)return;const _0x1933ff=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x305200[_0xc1e9ca(0x1fe)],'actions':null,'textRanges':[_0x42ead4]}}],_0x1b609f=this['_transformService'][_0xc1e9ca(0x203)](_0x305200,_0x1933ff);if(!_0x7bc020[_0xc1e9ca(0x22f)](_0x1b609f))throw _0x1b609f[_0xc1e9ca(0x389)];const _0x4a7321=_0x1b609f[_0xc1e9ca(0x408)][0x0]['params'][_0xc1e9ca(0x2c0)];Array[_0xc1e9ca(0x451)](_0x4a7321)&&_0x4a7321[_0xc1e9ca(0x3eb)]&&_0x2cd410[_0xc1e9ca(0x2e9)](_0x4a7321[0x0]);}};_0x2db2b8=_0x386c6c([_0x5b8abc(0x0,_0x7bc020[_0x449ba4(0x2f3)]),_0x5b8abc(0x1,_0x2c2228[_0x449ba4(0x38b)])],_0x2db2b8);var _0x454ea5=Object[_0x449ba4(0x1d2)],_0x2a845a=(_0x416efe,_0x27d436,_0x35311c,_0x1be741)=>{for(var _0x5b581e=_0x1be741>0x1?void 0x0:_0x1be741?_0x454ea5(_0x27d436,_0x35311c):_0x27d436,_0x1e1d34=_0x416efe['length']-0x1,_0x4e4e9a;_0x1e1d34>=0x0;_0x1e1d34--)(_0x4e4e9a=_0x416efe[_0x1e1d34])&&(_0x5b581e=_0x4e4e9a(_0x5b581e)||_0x5b581e);return _0x5b581e;},_0x3d57bb=(_0x208863,_0x534972)=>(_0x3b1da7,_0x4d5a13)=>_0x534972(_0x3b1da7,_0x4d5a13,_0x208863);let _0x3d42a1=class{constructor(_0x1907bc,_0x40743c,_0x43adb5){const _0x149e5d=_0x449ba4;this['_injector']=_0x1907bc,this[_0x149e5d(0x1d3)]=_0x40743c,this[_0x149e5d(0x3a0)]=_0x43adb5;}[_0x449ba4(0x2ad)](_0x5abbf3){this['_transformHistoryAndStateStack'](_0x5abbf3);}[_0x449ba4(0x38f)](_0x34fcef){const _0x4f9200=_0x449ba4,{unitID:_0x3274db}=_0x34fcef,{collaboration:_0x1f9cad}=this[_0x4f9200(0x3a0)][_0x4f9200(0x2ca)](_0x3274db);if(_0x1f9cad[_0x4f9200(0x3eb)]===0x0)return _0x34fcef;let _0x23aae9=_0x4d81d1[_0x4f9200(0x2f7)][_0x4f9200(0x266)](_0x34fcef['mutations'][0x0]);for(let _0x6d53bc=0x0;_0x6d53bc<_0x1f9cad[_0x4f9200(0x3eb)];_0x6d53bc++){const _0x3357bc={'id':_0x4f9200(0x40f),'params':{'unitId':_0x1f9cad[_0x6d53bc][_0x4f9200(0x398)],..._0x1f9cad[_0x6d53bc][_0x4f9200(0x292)]}},_0x4e9d39=this[_0x4f9200(0x1d3)][_0x4f9200(0x35c)](_0x23aae9,_0x3357bc,!0x1);if(_0x7bc020[_0x4f9200(0x265)](_0x4e9d39))throw _0x4e9d39[_0x4f9200(0x389)];_0x23aae9=_0x4e9d39[_0x4f9200(0x242)];}return{..._0x4d81d1['Tools'][_0x4f9200(0x266)](_0x34fcef),'mutations':[_0x23aae9]};}[_0x449ba4(0x3d3)](_0x22e37e){const _0x2e54f4=_0x449ba4,{unitID:_0x144871}=_0x22e37e,{history:_0x3bfe31,collaboration:_0x2f1b0e}=this[_0x2e54f4(0x3a0)][_0x2e54f4(0x2ca)](_0x144871);if(_0x3bfe31['length']===0x0&&_0x2f1b0e['length']===0x0)return;const _0x2bc72c=[],_0x131393=[];let _0x4e5215=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]),_0x2ae782=_0x4d81d1[_0x2e54f4(0x2f7)][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]);for(let _0x11791e=_0x3bfe31[_0x2e54f4(0x3eb)]-0x1;_0x11791e>=0x0;_0x11791e--){const _0x265efd={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x3bfe31[_0x11791e][_0x2e54f4(0x398)],..._0x3bfe31[_0x11791e][_0x2e54f4(0x1c8)]}},_0x3081e9={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x3bfe31[_0x11791e][_0x2e54f4(0x398)],..._0x3bfe31[_0x11791e][_0x2e54f4(0x292)]}},_0x2a56db=this[_0x2e54f4(0x1d3)][_0x2e54f4(0x35c)](_0x4e5215,_0x265efd,!0x1),_0xd6c7d4=this[_0x2e54f4(0x1d3)]['transformMutation'](_0x2ae782,_0x3081e9,!0x1);if(_0x7bc020[_0x2e54f4(0x265)](_0x2a56db))throw _0x2a56db[_0x2e54f4(0x389)];if(_0x7bc020['isTransformMutationFailure'](_0xd6c7d4))throw _0xd6c7d4[_0x2e54f4(0x389)];_0x2bc72c[_0x2e54f4(0x30a)]({..._0x3bfe31[_0x11791e],'undoState':_0x2a56db[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)],'redoState':_0xd6c7d4[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)]}),_0x4e5215=_0x2a56db[_0x2e54f4(0x242)],_0x2ae782=_0xd6c7d4[_0x2e54f4(0x242)];}_0x4e5215=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e['mutations'][0x0]),_0x2ae782=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]);for(let _0x340100=_0x2f1b0e[_0x2e54f4(0x3eb)]-0x1;_0x340100>=0x0;_0x340100--){const _0x529706={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f1b0e[_0x340100][_0x2e54f4(0x398)],..._0x2f1b0e[_0x340100][_0x2e54f4(0x1c8)]}},_0x58be10={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x2f1b0e[_0x340100][_0x2e54f4(0x398)],..._0x2f1b0e[_0x340100][_0x2e54f4(0x292)]}},_0x596172=this['_transformService'][_0x2e54f4(0x35c)](_0x4e5215,_0x529706,!0x1),_0xe54729=this[_0x2e54f4(0x1d3)][_0x2e54f4(0x35c)](_0x2ae782,_0x58be10,!0x1);if(_0x7bc020['isTransformMutationFailure'](_0x596172))throw _0x596172[_0x2e54f4(0x389)];if(_0x7bc020[_0x2e54f4(0x265)](_0xe54729))throw _0xe54729[_0x2e54f4(0x389)];_0x131393[_0x2e54f4(0x30a)]({..._0x2f1b0e[_0x340100],'undoState':_0x596172[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)],'redoState':_0xe54729[_0x2e54f4(0x408)]['params']}),_0x4e5215=_0x596172[_0x2e54f4(0x242)],_0x2ae782=_0xe54729[_0x2e54f4(0x242)];}this[_0x2e54f4(0x3a0)][_0x2e54f4(0x295)](_0x144871,{'history':_0x2bc72c,'collaboration':_0x131393});}};_0x3d42a1=_0x2a845a([_0x3d57bb(0x0,_0x4d81d1['Inject'](_0x4d81d1['Injector'])),_0x3d57bb(0x1,_0x7bc020[_0x449ba4(0x2f3)]),_0x3d57bb(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0xf7ba88[_0x449ba4(0x338)]))],_0x3d42a1);var _0x47cd49=Object[_0x449ba4(0x1d2)],_0x1f3d9c=(_0x1a6e64,_0x5bb612,_0x5ef310,_0x1ca5ef)=>{const _0x40476e=_0x449ba4;for(var _0x534c16=_0x1ca5ef>0x1?void 0x0:_0x1ca5ef?_0x47cd49(_0x5bb612,_0x5ef310):_0x5bb612,_0x1b5adb=_0x1a6e64[_0x40476e(0x3eb)]-0x1,_0x43df3b;_0x1b5adb>=0x0;_0x1b5adb--)(_0x43df3b=_0x1a6e64[_0x1b5adb])&&(_0x534c16=_0x43df3b(_0x534c16)||_0x534c16);return _0x534c16;},_0x21679e=(_0x1f1462,_0x41f26f)=>(_0x140348,_0x4a4e40)=>_0x41f26f(_0x140348,_0x4a4e40,_0x1f1462);let _0x17812d=class{constructor(_0x4230e0,_0x228ab9){const _0x243770=_0x449ba4;this[_0x243770(0x1f1)]=_0x4230e0,this[_0x243770(0x1d3)]=_0x228ab9;}[_0x449ba4(0x2d0)](_0x2a44e3){const _0xb75e9=_0x449ba4;var _0x3610be;const _0x28be98=this[_0xb75e9(0x1f1)]['get'](_0x3422c5['DocSelectionManagerService']),_0x4e43bd=(_0x3610be=_0x28be98[_0xb75e9(0x3f8)]())!=null?_0x3610be:[];if(_0x4e43bd[_0xb75e9(0x3eb)]===0x0)return;const _0x46bcf7=_0x2a44e3[_0xb75e9(0x1fe)],_0x1a4e9e=[{'id':_0xb75e9(0x40f),'params':{'unitId':_0x46bcf7,'actions':null,'textRanges':_0x4e43bd}}],_0x39c36e=this[_0xb75e9(0x1d3)][_0xb75e9(0x203)](_0x2a44e3,_0x1a4e9e);if(!_0x7bc020[_0xb75e9(0x22f)](_0x39c36e))throw _0x39c36e['error'];const _0x52990b=_0x39c36e[_0xb75e9(0x408)][0x0][_0xb75e9(0x2a5)][_0xb75e9(0x2c0)];Array[_0xb75e9(0x451)](_0x52990b)&&_0x52990b[_0xb75e9(0x3eb)]&&_0x28be98[_0xb75e9(0x20a)](_0x52990b,{'unitId':_0x46bcf7,'subUnitId':_0x46bcf7},!0x1);}};_0x17812d=_0x1f3d9c([_0x21679e(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x21679e(0x1,_0x7bc020[_0x449ba4(0x2f3)])],_0x17812d);var _0x1a4934=Object[_0x449ba4(0x1d2)],_0x51648d=(_0x38577c,_0x256282,_0x5acab6,_0x5ecf1f)=>{for(var _0x2b9fbc=_0x5ecf1f>0x1?void 0x0:_0x5ecf1f?_0x1a4934(_0x256282,_0x5acab6):_0x256282,_0x4d9b4a=_0x38577c['length']-0x1,_0x55505a;_0x4d9b4a>=0x0;_0x4d9b4a--)(_0x55505a=_0x38577c[_0x4d9b4a])&&(_0x2b9fbc=_0x55505a(_0x2b9fbc)||_0x2b9fbc);return _0x2b9fbc;},_0x4e1877=(_0x1ba3e9,_0x3b7655)=>(_0x36ad24,_0x22c506)=>_0x3b7655(_0x36ad24,_0x22c506,_0x1ba3e9);let _0xd05bc2=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x35e3c8,_0x3cd1b4,_0x5664a8,_0x42a459,_0x47ed69,_0x62fcad,_0xdde9c2,_0x54468e){const _0x895148=_0x449ba4;super(),_0xb1ba3a(this,_0x895148(0x2b4),new _0x2af810[(_0x895148(0x3dd))](_0x7e6ef6[_0x895148(0x281)]['NOT_COLLAB'])),(this[_0x895148(0x3a0)]=_0x35e3c8,this[_0x895148(0x232)]=_0x3cd1b4,this[_0x895148(0x30f)]=_0x5664a8,this[_0x895148(0x390)]=_0x42a459,this[_0x895148(0x1ff)]=_0x47ed69,this[_0x895148(0x2e0)]=_0x62fcad,this[_0x895148(0x20f)]=_0xdde9c2,this[_0x895148(0x3cc)]=_0x54468e,this[_0x895148(0x207)]());}[_0x449ba4(0x207)](){const _0x305721=_0x449ba4;this[_0x305721(0x30e)](this[_0x305721(0x232)]['entityInit$'][_0x305721(0x3e8)](_0x3086ac=>{const _0x1fa4ef=_0x305721,_0x487578=this[_0x1fa4ef(0x3a0)][_0x1fa4ef(0x228)]['subscribe'](_0x36c168=>{const _0x3733b2=_0x1fa4ef;if(_0x36c168==null)return;const {unitId:_0x48030e,redoState:_0x3aed86,commandId:_0x833aa5}=_0x36c168;if(_0x48030e!==_0x3086ac[_0x3733b2(0x1fe)])return;const _0x22dfe1={'id':_0x833aa5,'type':_0x4d81d1[_0x3733b2(0x3b0)][_0x3733b2(0x1d9)],'params':{'unitId':_0x48030e,'actions':_0x3aed86[_0x3733b2(0x3a5)],'textRanges':null}};_0x3086ac[_0x3733b2(0x2f4)](_0x22dfe1);});if(_0x3086ac[_0x1fa4ef(0x30e)](_0x487578),_0x3086ac instanceof _0x7e6ef6['DocCollaborationEntity']){const _0x28c485={'onTransformIME':_0x4d0328=>this[_0x1fa4ef(0x30f)]['transformIMECache'](_0x4d0328),'onTransformState':_0x40c9d8=>this[_0x1fa4ef(0x390)][_0x1fa4ef(0x2ad)](_0x40c9d8),'onTransformSelections':_0x58672d=>this[_0x1fa4ef(0x1ff)][_0x1fa4ef(0x2d0)](_0x58672d),'onSyncEditingCollabCursor':_0xb6c0f9=>this[_0x1fa4ef(0x2e0)][_0x1fa4ef(0x416)](_0xb6c0f9),'onTransformRemoteChangesetByIMECache':_0x23fe5a=>this[_0x1fa4ef(0x30f)]['transformRemoteChangeset'](_0x23fe5a),'onTransformRemoteChangesetByStateCache':_0x344a2e=>this[_0x1fa4ef(0x390)][_0x1fa4ef(0x38f)](_0x344a2e)};_0x3086ac['addHandlerCallback'](_0x28c485);}}));}};_0xd05bc2=_0x51648d([_0x4e1877(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0xf7ba88[_0x449ba4(0x338)])),_0x4e1877(0x1,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x1dd)])),_0x4e1877(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x2db2b8)),_0x4e1877(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x3d42a1)),_0x4e1877(0x4,_0x4d81d1[_0x449ba4(0x1e6)](_0x17812d)),_0x4e1877(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x3944ef)),_0x4e1877(0x6,_0x2a4dd8[_0x449ba4(0x3a6)]),_0x4e1877(0x7,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x28e)]))],_0xd05bc2);var _0x30894f=Object[_0x449ba4(0x1d2)],_0x26e083=(_0x2ae578,_0x5495a8,_0x561459,_0x4d0fd7)=>{const _0x360c38=_0x449ba4;for(var _0xe293d5=_0x4d0fd7>0x1?void 0x0:_0x4d0fd7?_0x30894f(_0x5495a8,_0x561459):_0x5495a8,_0x160f67=_0x2ae578[_0x360c38(0x3eb)]-0x1,_0x3077b4;_0x160f67>=0x0;_0x160f67--)(_0x3077b4=_0x2ae578[_0x160f67])&&(_0xe293d5=_0x3077b4(_0xe293d5)||_0xe293d5);return _0xe293d5;},_0x13b541=(_0x3c3fdf,_0x4e146b)=>(_0x4d96fe,_0x7610ec)=>_0x4e146b(_0x4d96fe,_0x7610ec,_0x3c3fdf);let _0x4cfcb5=class extends _0x4d81d1['Disposable']{constructor(_0x45c8da,_0x4c6a3e,_0x362943){const _0xb8387c=_0x449ba4;super(),_0xb1ba3a(this,_0xb8387c(0x35e),new Map()),_0xb1ba3a(this,_0xb8387c(0x24b),new Map()),_0xb1ba3a(this,_0xb8387c(0x355),!0x1),(this[_0xb8387c(0x1ea)]=_0x45c8da,this['_localStorageService']=_0x4c6a3e,this[_0xb8387c(0x2d5)]=_0x362943);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x449ba4(0x39a)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x2d6807=_0x449ba4;return this[_0x2d6807(0x24b)];}[_0x449ba4(0x3d4)](){const _0x1c419f=_0x449ba4;this[_0x1c419f(0x1d8)]()['then'](()=>super[_0x1c419f(0x3d4)]());}async['loadOfflineData'](_0x10d50b){const _0x36e92f=_0x449ba4;return this[_0x36e92f(0x355)]?null:this[_0x36e92f(0x3c2)][_0x36e92f(0x383)](_0x7e6ef6['getLocalCacheKey'](_0x10d50b));}async[_0x449ba4(0x1ed)](_0x2c9429,_0x396083){const _0x4a84d4=_0x449ba4;return!!this[_0x4a84d4(0x3c2)][_0x4a84d4(0x309)](_0x2c9429,_0x396083);}[_0x449ba4(0x287)](_0xcd9a29,_0x5486c1,_0x42f65e,_0x23541c){const _0x28a900=_0x449ba4,_0x440b7f=this[_0x28a900(0x2d5)]['getCurrentRevOfUnit'](_0xcd9a29);this[_0x28a900(0x35e)]['set'](_0xcd9a29,{'unitID':_0xcd9a29,'type':_0x5486c1,'awaitingChangeset':_0x42f65e,'mutations':_0x23541c,'rev':_0x440b7f}),this[_0x28a900(0x24b)]['has'](_0xcd9a29)||this[_0x28a900(0x372)](_0xcd9a29);}['_scheduleSaving'](_0x4186ee){const _0x238375=_0x449ba4,_0x2eb21e=this[_0x238375(0x2a6)]();_0x2eb21e===0x0?this[_0x238375(0x294)](_0x4186ee):this[_0x238375(0x24b)][_0x238375(0x34d)](_0x4186ee,setTimeout(()=>this[_0x238375(0x294)](_0x4186ee),_0x2eb21e));}[_0x449ba4(0x2a6)](){const _0x24be93=_0x449ba4;var _0x58daf7;return(_0x58daf7=this[_0x24be93(0x1ea)]['getConfig'](_0x7e6ef6[_0x24be93(0x2a1)]))!=null?_0x58daf7:_0x7e6ef6[_0x24be93(0x35a)];}[_0x449ba4(0x294)](_0x34422){const _0x2b1b95=_0x449ba4,_0xa40437=this['_saveTaskMap'][_0x2b1b95(0x420)](_0x34422);return _0xa40437!==void 0x0&&window['clearTimeout'](_0xa40437),this[_0x2b1b95(0x3c2)][_0x2b1b95(0x309)](_0x7e6ef6[_0x2b1b95(0x356)](_0x34422),this[_0x2b1b95(0x35e)][_0x2b1b95(0x420)](_0x34422))[_0x2b1b95(0x2f1)](()=>this[_0x2b1b95(0x24b)]['delete'](_0x34422));}async[_0x449ba4(0x1d8)](){const _0x1cccfc=_0x449ba4,_0x387d1c=[];this['_saveTaskMap']['forEach']((_0x5271de,_0x35e6eb)=>{const _0x2a706f=_0x94a3;window[_0x2a706f(0x28b)](_0x5271de),_0x387d1c[_0x2a706f(0x2d6)](this['_saveCache'](_0x35e6eb)[_0x2a706f(0x2f1)](()=>{const _0x1f2654=_0x2a706f;this[_0x1f2654(0x24b)][_0x1f2654(0x377)](_0x35e6eb);}));}),await Promise[_0x1cccfc(0x3dc)](_0x387d1c);}};_0x4cfcb5=_0x26e083([_0x13b541(0x0,_0x4d81d1[_0x449ba4(0x3ac)]),_0x13b541(0x1,_0x4d81d1[_0x449ba4(0x3d9)]),_0x13b541(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7bc020[_0x449ba4(0x1c3)]))],_0x4cfcb5);class _0x10be39 extends _0x4d81d1['RxDisposable']{constructor(){const _0xb2f0e4=_0x449ba4;super(),_0xb1ba3a(this,'urlChange$'),this[_0xb2f0e4(0x3ee)]=_0x2af810[_0xb2f0e4(0x366)](window,_0xb2f0e4(0x350))['pipe'](_0x2af810['takeUntil'](this[_0xb2f0e4(0x369)]),_0x2af810[_0xb2f0e4(0x304)](0x1),_0x2af810[_0xb2f0e4(0x339)](void 0x0));}[_0x449ba4(0x1fa)](_0x5f07d9,_0x1d7fc0,_0x17a7c9=!0x1){const _0x169e8e=_0x449ba4,_0x4e754c=new URL(window['location'][_0x169e8e(0x24e)]);_0x4e754c[_0x169e8e(0x3fb)][_0x169e8e(0x34d)](_0x5f07d9,_0x1d7fc0),_0x17a7c9?window['history'][_0x169e8e(0x2f5)]('','',_0x4e754c[_0x169e8e(0x2b9)]()):window[_0x169e8e(0x307)]['pushState']('','',_0x4e754c[_0x169e8e(0x2b9)]());}[_0x449ba4(0x2b2)](_0x5cd2e5,_0x20c4d6=!0x1){const _0x56e9b2=_0x449ba4,_0x374c5e=new URL(window[_0x56e9b2(0x263)][_0x56e9b2(0x24e)]);_0x374c5e[_0x56e9b2(0x3fb)][_0x56e9b2(0x377)](_0x5cd2e5),_0x20c4d6?window['history'][_0x56e9b2(0x2f5)]('','',_0x374c5e[_0x56e9b2(0x2b9)]()):window['history']['pushState']('','',_0x374c5e[_0x56e9b2(0x2b9)]());}[_0x449ba4(0x284)](_0x1b472c){const _0x3318e5=_0x449ba4;var _0x38919d;return(_0x38919d=new URL(window[_0x3318e5(0x263)][_0x3318e5(0x24e)])[_0x3318e5(0x3fb)][_0x3318e5(0x420)](_0x1b472c))!=null?_0x38919d:void 0x0;}}var _0x40e8de=Object[_0x449ba4(0x1f7)],_0x43e7fe=Object[_0x449ba4(0x1d2)],_0x452820=(_0x1dfb1e,_0x58f50c,_0x2b9553)=>_0x58f50c in _0x1dfb1e?_0x40e8de(_0x1dfb1e,_0x58f50c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b9553}):_0x1dfb1e[_0x58f50c]=_0x2b9553,_0x7e759e=(_0x2d1ce7,_0x4c99c1,_0x586f9c,_0x26a256)=>{const _0x529775=_0x449ba4;for(var _0x2d6f75=_0x26a256>0x1?void 0x0:_0x26a256?_0x43e7fe(_0x4c99c1,_0x586f9c):_0x4c99c1,_0x1611c3=_0x2d1ce7[_0x529775(0x3eb)]-0x1,_0x141820;_0x1611c3>=0x0;_0x1611c3--)(_0x141820=_0x2d1ce7[_0x1611c3])&&(_0x2d6f75=_0x141820(_0x2d6f75)||_0x2d6f75);return _0x2d6f75;},_0x5b5a7a=(_0x1932a9,_0x427cb3)=>(_0xb93249,_0x27dc05)=>_0x427cb3(_0xb93249,_0x27dc05,_0x1932a9),_0x36fe14=(_0x25620c,_0x33bdf8,_0x43dfed)=>_0x452820(_0x25620c,_0x33bdf8+'',_0x43dfed);const _0x5437bb=_0x449ba4(0x27a);_0x47440c[_0x449ba4(0x418)]=class extends _0x4d81d1['Plugin']{constructor(_0x2b95a6=_0x1e33a4,_0x7f82ae,_0x3fddf2,_0x1820cb){const _0x2c4bec=_0x449ba4;super(),this[_0x2c4bec(0x222)]=_0x2b95a6,this[_0x2c4bec(0x2c2)]=_0x7f82ae,this['_injector']=_0x3fddf2,this[_0x2c4bec(0x1ea)]=_0x1820cb;const {..._0x14ed38}=_0x4d81d1[_0x2c4bec(0x378)]({},_0x1e33a4,this[_0x2c4bec(0x222)]);this['_configService'][_0x2c4bec(0x22c)](_0x5c6d95,_0x14ed38);}['onStarting'](){const _0x23a8da=_0x449ba4;this['_registerDependencies'](),this[_0x23a8da(0x434)]();}[_0x449ba4(0x42a)](){this['_registerRenderDependencies']();}[_0x449ba4(0x41f)](){const _0x2d0bbe=_0x449ba4;var _0x1b905e;const _0x172cb8=[[_0xd7451c],[_0x17812d],[_0x2db2b8],[_0x3d42a1],[_0x3944ef],[_0x21e793,{'useClass':_0x10be39}],[_0xb1173c[_0x2d0bbe(0x333)],{'useClass':_0xb1173c[_0x2d0bbe(0x2dd)]}],[_0x7e6ef6[_0x2d0bbe(0x247)],{'useClass':_0x4cfcb5}],[_0x47440c[_0x2d0bbe(0x282)]],[_0xd05bc2],[_0xf23663],[_0x5f01b6],[_0x440470],[_0x47440c['CollaborationDataLoaderController']]];_0x4d81d1['registerDependencies'](this[_0x2d0bbe(0x1f1)],_0x4d81d1[_0x2d0bbe(0x229)](_0x172cb8,(_0x1b905e=this[_0x2d0bbe(0x222)])==null?void 0x0:_0x1b905e['override']));}['_registerRenderDependencies'](){const _0x4a3e08=_0x449ba4;this[_0x4a3e08(0x30e)](this['_renderManagerService']['registerRenderModule'](_0x4d81d1[_0x4a3e08(0x3a4)][_0x4a3e08(0x298)],[_0x4c48c2])),this['disposeWithMe'](this['_renderManagerService'][_0x4a3e08(0x1bf)](_0x4d81d1[_0x4a3e08(0x3a4)][_0x4a3e08(0x214)],[_0x3cc75d]));}[_0x449ba4(0x434)](){const _0x5df6ec=_0x449ba4;_0x4d81d1[_0x5df6ec(0x429)](this['_injector'],[[_0x5f01b6],[_0x47440c[_0x5df6ec(0x282)]],[_0xd05bc2],[_0xf23663],[_0x47440c['CollaborationDataLoaderController']]]);}},_0x36fe14(_0x47440c[_0x449ba4(0x418)],_0x449ba4(0x1eb),_0x5437bb),_0x47440c['UniverCollaborationClientUIPlugin']=_0x7e759e([_0x4d81d1[_0x449ba4(0x33f)](_0x7e6ef6['UniverCollaborationClientPlugin']),_0x5b5a7a(0x1,_0x2c2228['IRenderManagerService']),_0x5b5a7a(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x5b5a7a(0x3,_0x4d81d1[_0x449ba4(0x3ac)])],_0x47440c[_0x449ba4(0x418)]);var _0x229671=Object[_0x449ba4(0x1d2)],_0x24c319=(_0x253774,_0x1805dc,_0x3f48b3,_0x2f8b71)=>{for(var _0x26cd0b=_0x2f8b71>0x1?void 0x0:_0x2f8b71?_0x229671(_0x1805dc,_0x3f48b3):_0x1805dc,_0x2d2ba9=_0x253774['length']-0x1,_0x1460ba;_0x2d2ba9>=0x0;_0x2d2ba9--)(_0x1460ba=_0x253774[_0x2d2ba9])&&(_0x26cd0b=_0x1460ba(_0x26cd0b)||_0x26cd0b);return _0x26cd0b;},_0x567845=(_0x1e530f,_0x1edf27)=>(_0x185f4b,_0xa29011)=>_0x1edf27(_0x185f4b,_0xa29011,_0x1e530f);_0x47440c['BrowserCollaborationSocketService']=class extends _0x7e6ef6[_0x449ba4(0x212)]{constructor(_0x11a3c2,_0x49c02d,_0x24c4ef,_0x1a9da1,_0x3234ab){super(_0x11a3c2,_0x49c02d,_0x24c4ef,_0x1a9da1,_0x3234ab);}async[_0x449ba4(0x414)](_0x486a53){const _0x4e5488=_0x449ba4,_0x3feef5=await this[_0x4e5488(0x32b)](),_0x4c3f7c=this['_createSocketURL'](_0x486a53,_0x3feef5);return this[_0x4e5488(0x1bb)](_0x4c3f7c);}[_0x449ba4(0x22a)](_0x40f5c2,_0x4a8161){const _0xc0e86d=_0x449ba4,_0x4d4bd7=typeof window>'u'?new URL(_0x40f5c2):new URL(_0x40f5c2,window[_0xc0e86d(0x263)][_0xc0e86d(0x433)]);_0x4d4bd7['searchParams']['set'](_0xc0e86d(0x444),_0x4a8161);const _0x99a641=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc0e86d(0x263)]['search']);return _0x99a641[_0xc0e86d(0x420)](_0xc0e86d(0x3de))&&_0x4d4bd7[_0xc0e86d(0x3fb)]['set'](_0xc0e86d(0x3de),_0x99a641[_0xc0e86d(0x420)]('runId')),_0x4d4bd7[_0xc0e86d(0x2b9)]();}async[_0x449ba4(0x32b)](){const _0x292c74=_0x449ba4;var _0x3b186e,_0x3170af,_0x5e8789;const _0x1ac8ad=this['_configService'][_0x292c74(0x3bd)](_0x7e6ef6[_0x292c74(0x437)]),_0x40445b=(_0x3b186e=_0x1ac8ad==null?void 0x0:_0x1ac8ad[_0x292c74(0x20c)])!=null?_0x3b186e:_0x7e6ef6[_0x292c74(0x3b6)];return(_0x5e8789=(_0x3170af=(await this[_0x292c74(0x409)]['get'](_0x40445b,{'headers':{'Content-Type':_0x292c74(0x3f0)}}))['body'])==null?void 0x0:_0x3170af['ticket'])!=null?_0x5e8789:'';}},_0x47440c[_0x449ba4(0x417)]=_0x24c319([_0x567845(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x567845(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0xb1173c[_0x449ba4(0x2ce)])),_0x567845(0x2,_0x4d81d1[_0x449ba4(0x3ac)]),_0x567845(0x3,_0x4d81d1[_0x449ba4(0x362)]),_0x567845(0x4,_0x7bc020['ISnapshotServerService'])],_0x47440c[_0x449ba4(0x417)]);const _0x4868c6=0x7530,_0x58648e=_0x449ba4(0x3f1);class _0xf36b04 extends _0x4d81d1['Disposable']{constructor(){const _0x49d592=_0x449ba4;super(),_0xb1ba3a(this,'_id',_0x4d81d1[_0x49d592(0x209)]()),_0xb1ba3a(this,_0x49d592(0x41b),new Set()),_0xb1ba3a(this,_0x49d592(0x206),new Map()),_0xb1ba3a(this,_0x49d592(0x1b7),null),_0xb1ba3a(this,'_clearOtherTimers',new Map()),_0xb1ba3a(this,_0x49d592(0x286),new Map()),this[_0x49d592(0x382)]();}[_0x449ba4(0x3d4)](){const _0x530e2b=_0x449ba4;super[_0x530e2b(0x3d4)](),this[_0x530e2b(0x1b3)][_0x530e2b(0x27b)]((_0xd0208d,_0x3b24fb)=>this[_0x530e2b(0x25b)](_0x3b24fb)),this[_0x530e2b(0x1b7)]&&window[_0x530e2b(0x235)](this[_0x530e2b(0x1b7)]);}[_0x449ba4(0x3b4)](_0x2bf396){const _0x4b6c80=_0x449ba4;return this['_ensureSubject'](_0x2bf396)[_0x4b6c80(0x3b1)](_0x2af810[_0x4b6c80(0x2a0)]());}[_0x449ba4(0x371)](_0xbca97c){const _0x1b692b=_0x449ba4;this[_0x1b692b(0x41b)][_0x1b692b(0x35b)]===0x0&&this[_0x1b692b(0x3a2)](),this[_0x1b692b(0x41b)][_0x1b692b(0x30d)](_0xbca97c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xbca97c],'isForwarded':!0x1});}[_0x449ba4(0x40e)](_0x10c7ec){const _0xf4a61e=_0x449ba4;this[_0xf4a61e(0x41b)][_0xf4a61e(0x377)](_0x10c7ec),this[_0xf4a61e(0x41b)][_0xf4a61e(0x35b)]===0x0&&this['_heartbeatTimer']&&window[_0xf4a61e(0x235)](this['_heartbeatTimer']);}[_0x449ba4(0x382)](){const _0x134a5c=_0x449ba4;this[_0x134a5c(0x30e)](_0x4d81d1[_0x134a5c(0x3c5)](_0x2af810[_0x134a5c(0x366)](window,'storage')[_0x134a5c(0x3e8)](_0x2701ff=>{const _0x40654d=_0x134a5c;if(_0x2701ff[_0x40654d(0x33a)]!==_0x58648e||!_0x2701ff['newValue'])return;const _0x4a0347=JSON[_0x40654d(0x29b)](_0x2701ff[_0x40654d(0x303)]);this[_0x40654d(0x35f)](_0x4a0347);}))),window[_0x134a5c(0x38c)]('unload',()=>this[_0x134a5c(0x26a)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x134a5c(0x32c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x316449){const _0x596580=_0x449ba4;switch(_0x316449[_0x596580(0x353)]){case 0x0:this[_0x596580(0x1e0)](_0x316449);break;case 0x1:this[_0x596580(0x324)](_0x316449);break;case 0x2:this[_0x596580(0x252)](_0x316449);break;}}[_0x449ba4(0x1e0)](_0x39dd71){const _0x4bce2e=_0x449ba4,{unitIDs:_0x27b9b2,memberID:_0x34e024,isForwarded:_0x39cac6}=_0x39dd71;_0x27b9b2['forEach'](_0x1440ca=>{const _0xf668dc=_0x94a3;if(!_0x39cac6&&this[_0xf668dc(0x206)]['has'](_0x1440ca)&&this['_ensureSubject'](_0x1440ca)[_0xf668dc(0x41c)](_0x7e6ef6[_0xf668dc(0x26d)][_0xf668dc(0x436)]),!this[_0xf668dc(0x206)]['has'](_0x1440ca)||!this[_0xf668dc(0x206)][_0xf668dc(0x420)](_0x1440ca)[_0xf668dc(0x3fc)](_0x34e024)){const _0x92a9d4=this[_0xf668dc(0x206)][_0xf668dc(0x420)](_0x1440ca)||new Set();_0x92a9d4['add'](_0x34e024),this[_0xf668dc(0x206)]['set'](_0x1440ca,_0x92a9d4),this[_0xf668dc(0x2bf)](_0x34e024);}}),_0x39cac6||this[_0x4bce2e(0x26a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4bce2e(0x41b)]],'isForwarded':!0x0});}[_0x449ba4(0x2bf)](_0x3cf72d){const _0x4066f0=_0x449ba4;this[_0x4066f0(0x25b)](_0x3cf72d);const _0x3fc75b=window[_0x4066f0(0x256)](()=>{const _0x3f36bf=_0x4066f0;this[_0x3f36bf(0x206)]['forEach'](_0x24fb8d=>{const _0x2d0074=_0x3f36bf;_0x24fb8d[_0x2d0074(0x377)](_0x3cf72d);});},_0x4868c6*0x2);this[_0x4066f0(0x1b3)]['set'](_0x3cf72d,_0x3fc75b);}['_removeClearOtherTimer'](_0x43f413){const _0x583eea=_0x449ba4;if(this[_0x583eea(0x1b3)][_0x583eea(0x3fc)](_0x43f413)){const _0x3640a1=this[_0x583eea(0x1b3)]['get'](_0x43f413);_0x3640a1&&window[_0x583eea(0x28b)](_0x3640a1),this['_clearOtherTimers'][_0x583eea(0x34d)](_0x43f413,null);}}[_0x449ba4(0x324)](_0x3aa934){const _0x12ccec=_0x449ba4,{memberID:_0x247121,unitIDs:_0xd340be}=_0x3aa934;_0xd340be[_0x12ccec(0x27b)](_0x292af7=>{const _0x33158b=_0x12ccec;var _0x38122f;const _0x2e5bb7=this[_0x33158b(0x206)][_0x33158b(0x420)](_0x292af7);_0x2e5bb7&&(_0x2e5bb7[_0x33158b(0x377)](_0x247121),(_0x38122f=this['_ensureSubject'](_0x292af7))==null||_0x38122f[_0x33158b(0x41c)](_0x2e5bb7[_0x33158b(0x35b)]===0x0?_0x7e6ef6[_0x33158b(0x26d)][_0x33158b(0x1c4)]:_0x7e6ef6[_0x33158b(0x26d)]['OTHER_CLIENTS_EDITING']));}),this[_0x12ccec(0x25b)](_0x247121);}['_handleHeartbeatEvent'](_0x510411){const _0x4a1c4e=_0x449ba4;this[_0x4a1c4e(0x2bf)](_0x510411['memberID']);}[_0x449ba4(0x26a)](_0x5e342d){const _0x29d7ba=_0x449ba4;localStorage[_0x29d7ba(0x309)](_0x58648e,JSON[_0x29d7ba(0x430)](_0x5e342d));}[_0x449ba4(0x3a2)](){const _0x53ea2e=_0x449ba4;this[_0x53ea2e(0x1b7)]=window[_0x53ea2e(0x21d)](()=>{const _0x5e5db6=_0x53ea2e;this[_0x5e5db6(0x26a)]({'type':0x2,'memberID':this['_id']});},_0x4868c6);}[_0x449ba4(0x21f)](_0x5b24d0){const _0x11224e=_0x449ba4;return this[_0x11224e(0x286)][_0x11224e(0x3fc)](_0x5b24d0)||this[_0x11224e(0x286)][_0x11224e(0x34d)](_0x5b24d0,new _0x2af810[(_0x11224e(0x3dd))](_0x7e6ef6[_0x11224e(0x26d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x11224e(0x286)][_0x11224e(0x420)](_0x5b24d0);}}var _0x51acbe=(_0x39ae42=>(_0x39ae42[_0x39ae42[_0x449ba4(0x2ac)]=0x0]=_0x449ba4(0x2ac),_0x39ae42[_0x39ae42['OK']=0x1]='OK',_0x39ae42[_0x39ae42[_0x449ba4(0x348)]=0x2]=_0x449ba4(0x348),_0x39ae42[_0x39ae42[_0x449ba4(0x1f4)]=0x3]=_0x449ba4(0x1f4),_0x39ae42[_0x39ae42[_0x449ba4(0x258)]=0x4]=_0x449ba4(0x258),_0x39ae42[_0x39ae42[_0x449ba4(0x40c)]=0x5]=_0x449ba4(0x40c),_0x39ae42[_0x39ae42[_0x449ba4(0x2e6)]=0x6]=_0x449ba4(0x2e6),_0x39ae42[_0x39ae42[_0x449ba4(0x3db)]=0x7]='INVALID_ARGUMENT',_0x39ae42[_0x39ae42[_0x449ba4(0x445)]=0x8]=_0x449ba4(0x445),_0x39ae42[_0x39ae42['COMPLETION_FINISHED']=0x9]=_0x449ba4(0x202),_0x39ae42[_0x39ae42['LOGIN_FAILED']=0xa]=_0x449ba4(0x305),_0x39ae42[_0x39ae42[_0x449ba4(0x278)]=0xb]=_0x449ba4(0x278),_0x39ae42[_0x39ae42[_0x449ba4(0x44e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x39ae42[_0x39ae42[_0x449ba4(0x1f6)]=0xd]=_0x449ba4(0x1f6),_0x39ae42[_0x39ae42[_0x449ba4(0x23f)]=0xe]=_0x449ba4(0x23f),_0x39ae42[_0x39ae42[_0x449ba4(0x3bc)]=0x1389]=_0x449ba4(0x3bc),_0x39ae42[_0x39ae42[_0x449ba4(0x246)]=0x1771]=_0x449ba4(0x246),_0x39ae42[_0x39ae42[_0x449ba4(0x1d6)]=0x1772]=_0x449ba4(0x1d6),_0x39ae42[_0x39ae42[_0x449ba4(0x2e7)]=0x1773]=_0x449ba4(0x2e7),_0x39ae42[_0x39ae42[_0x449ba4(0x311)]=0x1b59]='APPLY_REJECT',_0x39ae42[_0x39ae42[_0x449ba4(0x239)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x39ae42[_0x39ae42[_0x449ba4(0x2bb)]=0x1b5b]=_0x449ba4(0x2bb),_0x39ae42[_0x39ae42[_0x449ba4(0x236)]=0x1b5c]=_0x449ba4(0x236),_0x39ae42[_0x39ae42[_0x449ba4(0x2ed)]=0x1b5d]=_0x449ba4(0x2ed),_0x39ae42[_0x39ae42[_0x449ba4(0x3d2)]=0x1f41]=_0x449ba4(0x3d2),_0x39ae42[_0x39ae42[_0x449ba4(0x317)]=0x2329]=_0x449ba4(0x317),_0x39ae42[_0x39ae42[_0x449ba4(0x442)]=0x232a]=_0x449ba4(0x442),_0x39ae42[_0x39ae42[_0x449ba4(0x288)]=0x232b]=_0x449ba4(0x288),_0x39ae42[_0x39ae42['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x449ba4(0x2bc),_0x39ae42[_0x39ae42['LICENSE_DISTRO_REJECTED']=0x232d]=_0x449ba4(0x1d5),_0x39ae42[_0x39ae42[_0x449ba4(0x283)]=0x2711]=_0x449ba4(0x283),_0x39ae42[_0x39ae42['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x449ba4(0x216),_0x39ae42[_0x39ae42[_0x449ba4(0x412)]=0x2713]=_0x449ba4(0x412),_0x39ae42[_0x39ae42[_0x449ba4(0x251)]=0x2714]=_0x449ba4(0x251),_0x39ae42[_0x39ae42[_0x449ba4(0x1cf)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x39ae42[_0x39ae42[_0x449ba4(0x217)]=0x271b]=_0x449ba4(0x217),_0x39ae42[_0x39ae42['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x39ae42[_0x39ae42[_0x449ba4(0x2b0)]=0x271d]=_0x449ba4(0x2b0),_0x39ae42[_0x39ae42[_0x449ba4(0x3af)]=0x271e]=_0x449ba4(0x3af),_0x39ae42[_0x39ae42['YUUMI_AI_RUN_FAILED']=0x271f]=_0x449ba4(0x385),_0x39ae42[_0x39ae42[_0x449ba4(0x3ca)]=0x2720]=_0x449ba4(0x3ca),_0x39ae42[_0x39ae42[_0x449ba4(0x1fd)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x39ae42[_0x39ae42[_0x449ba4(0x1ec)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x39ae42[_0x39ae42[_0x449ba4(0x32a)]=0x2ee2]=_0x449ba4(0x32a),_0x39ae42[_0x39ae42[_0x449ba4(0x3c8)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x39ae42[_0x39ae42['USER_NOT_INVITED_CODE']=0x2ee4]=_0x449ba4(0x426),_0x39ae42[_0x39ae42[_0x449ba4(0x250)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x39ae42[_0x39ae42['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x449ba4(0x291),_0x39ae42[_0x39ae42[_0x449ba4(0x33e)]=0x32ca]=_0x449ba4(0x33e),_0x39ae42[_0x39ae42[_0x449ba4(0x1b9)]=0x32cb]=_0x449ba4(0x1b9),_0x39ae42[_0x39ae42[_0x449ba4(0x300)]=-0x1]=_0x449ba4(0x300),_0x39ae42))(_0x51acbe||{}),_0x10bbaf=Object[_0x449ba4(0x1d2)],_0x23bce7=(_0x6cb130,_0x256dc4,_0x56ce2f,_0x3ad002)=>{for(var _0x71fd39=_0x3ad002>0x1?void 0x0:_0x3ad002?_0x10bbaf(_0x256dc4,_0x56ce2f):_0x256dc4,_0x134b50=_0x6cb130['length']-0x1,_0x595a96;_0x134b50>=0x0;_0x134b50--)(_0x595a96=_0x6cb130[_0x134b50])&&(_0x71fd39=_0x595a96(_0x71fd39)||_0x71fd39);return _0x71fd39;},_0x1fc3ad=(_0x5a8638,_0xd2b8d7)=>(_0x14b3a0,_0x39f1d3)=>_0xd2b8d7(_0x14b3a0,_0x39f1d3,_0x5a8638);_0x47440c[_0x449ba4(0x439)]=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x4bad44,_0x9ddf4d,_0x7a2578){const _0x35d49a=_0x449ba4;super(),this[_0x35d49a(0x243)]=_0x4bad44,this[_0x35d49a(0x409)]=_0x9ddf4d,this[_0x35d49a(0x1ea)]=_0x7a2578;}async[_0x449ba4(0x440)](_0x52a29b,_0x402c2d,_0x2d6ff,..._0x2457c5){const _0x40bc55=_0x449ba4;var _0x149263,_0x45db69,_0x280b14,_0x34eec7;const _0xda02d5=this[_0x40bc55(0x243)]['getFocusedUnit']();if(!_0xda02d5)throw new Error(_0x40bc55(0x21b));const _0x41998b=((_0x149263=this[_0x40bc55(0x1ea)][_0x40bc55(0x3bd)](_0x7e6ef6[_0x40bc55(0x2fd)]))!=null?_0x149263:_0x7e6ef6[_0x40bc55(0x27e)])+'/'+_0x52a29b+_0x40bc55(0x24c)+_0x402c2d,_0x343f6a=new URL(window['location']['href']),_0x1d7949={'scriptId':_0x52a29b,'runId':(_0x45db69=_0x343f6a[_0x40bc55(0x3fb)][_0x40bc55(0x420)](_0x40bc55(0x3de)))!=null?_0x45db69:'','function':_0x402c2d,'unitId':_0xda02d5['getUnitId'](),'argsOfFunction':JSON[_0x40bc55(0x430)](_0x2457c5),'invokeId':(_0x280b14=_0x2d6ff['invokeId'])!=null?_0x280b14:'','executionId':(_0x34eec7=_0x2d6ff[_0x40bc55(0x1b6)])!=null?_0x34eec7:''};try{const _0x37bd4e=await this[_0x40bc55(0x409)][_0x40bc55(0x299)](_0x41998b,{'body':_0x1d7949});return _0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x389)]&&_0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x389)][_0x40bc55(0x334)]!==_0x51acbe['OK']?'Failed':_0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x2a3)];}catch{return _0x40bc55(0x3b9);}}},_0x47440c[_0x449ba4(0x439)]=_0x23bce7([_0x1fc3ad(0x0,_0x4d81d1[_0x449ba4(0x218)]),_0x1fc3ad(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0xb1173c['HTTPService'])),_0x1fc3ad(0x2,_0x4d81d1['IConfigService'])],_0x47440c['RemoteUniscriptService']),_0x47440c['IURLService']=_0x21e793,_0x47440c[_0x449ba4(0x271)]=_0x414759,_0x47440c['WebBrowserSingleActiveUnitService']=_0xf36b04,_0x47440c[_0x449ba4(0x397)]=_0x10be39,Object[_0x449ba4(0x1f7)](_0x47440c,Symbol[_0x449ba4(0x327)],{'value':'Module'});}));
|